(()=>{var czo=Object.create;var dut=Object.defineProperty;var dzo=Object.getOwnPropertyDescriptor;var uzo=Object.getOwnPropertyNames;var pzo=Object.getPrototypeOf,mzo=Object.prototype.hasOwnProperty;var _h=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,i)=>(typeof require<"u"?require:e)[i]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var xe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),X4e=(t,e)=>{for(var i in e)dut(t,i,{get:e[i],enumerable:!0})},hzo=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of uzo(e))!mzo.call(t,r)&&r!==i&&dut(t,r,{get:()=>e[r],enumerable:!(o=dzo(e,r))||o.enumerable});return t};var L=(t,e,i)=>(i=t!=null?czo(pzo(t)):{},hzo(e||!t||!t.__esModule?dut(i,"default",{value:t,enumerable:!0}):i,t));var dZt=xe((Tcn,fzo)=>{fzo.exports="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/4hVJ/+IVa3/iFXy/4hV//+IVf//iFX//4hV//+IVf//iFX//4hV//+IVf//iFXy/4hVrf+IVScAAAAA/4hVKP+IVe//iFX//4hV//+IVf//iFX//4hV//+IVf//iFX//4hV//+IVf//iFX//4hV//+IVf//iFXv/4hVKP+IVa3/iFX//4hV//+IVf//iFX//4hV//+IVf//iFX//4hV//+IVf//iFX//4hV//+IVf//iFX//4hV//+IVa3/iFXx/4hV//+IVf//lGb//+PW///9/P//5dr//5Zo//+IVf//iFX//4hV//+IVf//iFX//4hV//+IVf//iFXz/4hV//+IVf//k2T//+HU///p3///o3z//+Xa///QvP//iFX//4hV//+dc///zLb//8Op//+geP//iFX//4hV//+IVf//nnX///j2///+/v//3c7//4lX///czv//9fH//6aA//+IVf//pH3//+LV///07////////7SU//+IVf//iFX//+PW///28v//roz///j2///9/P//+/n//+7m////////4tX//6aA//+IVf//jFv//+fc///z7v//iFX//4hV/////v//y7X//4hV//+PX///o3v//5Bh//+IVv//rYr//+nf///v6P//iVf//4hV///KtP///////4hV//+IVf//+PX//9jI//+IVf//iFX//4hV//+IVf//iFX//4hV//+IVv//lGb//4tZ//+lfv//9vL//+bb//+IVf//iFX//8y2////////xaz//592//+siP//iFX//4hV//+IVf//iFX//4hV///Eqv////////Tw//+edf//iFX//4hV//+MWv//18b//////////////////7ia//+IVf//iFX//4hV//+abv//9/P//+PX//+OXv//iFX//4hV//+IVf//iFX//4hV//+abv//rYr//+HU////////39H//8Ko///Puv//+vj///by//+ab///iFX//4hV//+IVf//iFXx/4hV//+IVf//iFX//4hV//+LWv//wqj///Hr////////+PX//9XD//+Wav//iFX//4hV//+IVf//iFXz/4hVrf+IVf//iFX//4hV//+IVf//iFX//4hV//+IVf//iFX//4hV//+IVf//iFX//4hV//+IVf//iFX//4hVrf+IVSf/iFXv/4hV//+IVf//iFX//4hV//+IVf//iFX//4hV//+IVf//iFX//4hV//+IVf//iFX//4hV7/+IVScAAAAA/4hVJf+IVa3/iFXx/4hV//+IVf//iFX//4hV//+IVf//iFX//4hV//+IVf//iFXx/4hVrf+IVSUAAAAAwAMAAIABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAQAAwAMAAA=="});var mZt=xe((Scn,pZt)=>{var uZt=[];uZt.push(`<!-- \u975E\u9996\u9875 \u5DE6\u4FA7\u9762\u677F -->
<div id="layoutLeft" class="left" style="position:relative;">
	<div id="leftTreeBox">
		<div id="leftTreeContainer" class="border-box">
			<div id="treeMyProject-container" style="position: absolute;left:0;top: 0;right: 0;bottom: 0;">
				<div class="treeWrap" style="margin-left: 26px; height: 100%;">
					<!-- \u5DE5\u7A0B\u6811\u90E8\u5206 -->
					<div id="project_list" class="left-panel-content" for-tabid="project_list" style="height: 100%;width: 100%;"></div>
					<!-- \u5DE5\u7A0B\u8BBE\u8BA1\u3001\u5E93\u8BBE\u8BA1 -->
					<div
						id="left-panel-projectAndLib-design"
						class="left-panel-content"
						style="height: 100%; display: none;"
						for-tabid="projectDesign libDesign"
					>
						<div id="left-panel-projectAndLib-design-tab" style="height:28px;margin-left:-2px;"></div>
						<div class="treeWrap" style="height: calc(100% - 28px);">
							<div id="schLeftTree" style="height: 100%;" class="hidden"></div>
							<div class="treeContent" id="treeMyDesignPage" for-tabid="pcbObject" style="display:none;margin-top: 6px"></div>
							<div class="treeContent" id="treeMyDesignNetPage" for-tabid="pcbNet" style="display:none;margin-top: 6px"></div>
							<div
								class="treeContent"
								id="treeMyDesignComponentPage"
								for-tabid="pcbComponent"
								style="display:none;margin-top: 6px"
							></div>

							<div
								id="panel-lib-left-meta"
								class="treeContent attrarea"
								for-tabid="panelAttr"
								style="display:none;margin-top: 8px;"
							></div>

							<div class="treeContent" for-tabid="panelObject" style="display:none;margin-top: 6px;">
								<div id="treePanelObjects-content" class="designTree-content" style="height:calc(100% - 16px);"></div>
							</div>
							<!-- \u7B26\u53F7\u9875 - \u5DE6\u4FA7\u5F15\u811A\u7BA1\u7406\u5668\u9762\u677F -->
							<div id="pin-manager-panel" class="treeContent" for-tabid="pin-manager" style="display: none;"></div>
							<!-- <div id="part-attr" class="treeContent attrarea" for-tabid="part-attr" style="display: none;"></div> -->
							<div
								id="symbol-property"
								class="treeContent attrarea"
								for-tabid="part-attr"
								style="height: 100%; overflow-y: auto;display: none;"
							></div>
							<div
								id="Sim-property"
								class="treeContent attrarea"
								for-tabid="sim-attr"
								style="height: 100%; overflow-y: auto;display: none;"
							></div>
							<!-- \u7B26\u53F7\u9875 - \u7B26\u53F7\u5411\u5BFC -->
							<div id="pin-wizard" class="treeContent" for-tabid="pin-wizard" style="display: none;height: 100%;overflow: auto;"></div>
							<div id="associated-device" class="treeContent" for-tabid="associated-device" style="height: 100%;display: none;"></div>
							<div class="treeContent" for-tabid="footprintProperty" style="width: 100%; height: 100%;display: none; overflow: auto;">
								<div id="leftAttributePanelContainer"></div>
							</div>
							<div class="treeContent" for-tabid="footprintPad" style="width: 100%; height: 100%;display: none;">
								<div id="leftPadListPanelContainer"></div>
							</div>
							<div class="treeContent" for-tabid="footprintWizard" style="width: 100%; height: 100%;display: none;">
								<div title="Wizard" id="leftFootprintWizard"></div>
							</div>
							<div class="treeContent" for-tabid="footprintDevices" style="width: 100%; height: 100%;display: none;">
								<div title="Devices" id="leftAssociatedDeviceContainer"></div>
							</div>
						</div>
					</div>
					<!-- \u57FA\u7840\u5E93\u90E8\u5206 -->
					<div id="basic-library" class="left-panel-content" for-tabid="basicLibrary" style="display: none;"></div>
					<!-- \u7F51\u8868\u5BF9\u6BD4\u90E8\u5206 -->
					<div id="netlist-comparsion" class="left-panel-content" for-tabid="netlist-comparsion" style="display: none;"></div>
				</div>
			</div>
			<div id="layout_toggler_part_symbol"></div>
		</div>
	</div>
</div>
`);pZt.exports=uZt.join("")});var gZt=xe((Mcn,fZt)=>{var hZt=[];hZt.push(`<div class="sch-attribute-manager">
	<div id="sch-attribute-tabs" class="attribute-tabs-containter">
		<!-- \u5C5E\u6027\u663E\u793A -->
		<div class="sch-attribute-property hidden" data-tab="sch-attr"></div>
		<div class="symbol-attribute-property hidden" style="width: 100%;" data-tab="sch-attr"></div>
		<!-- \u9009\u62E9\u8FC7\u6EE4 -->
		<div data-tab="sch-filter" style="width: 100%;" class="attribute-filter hidden">
			<div id="dlgSelectFilter" class="filter-panel">
				<!-- \u539F\u7406\u56FE -->
				<div for-working="3,5,12,14,15" class="element-main sch-attribute-filter" style="width: 100%;">
					<div class="element-main-content"></div>
				</div>
				<!-- \u7B26\u53F7 -->
				<div for-working="6,7,8,9,11,25,31" class="element-main symbol-attribute-filter" style="width: 100%;">
					<div class="element-main-content"></div>
				</div>
				<!-- \u56FE\u7EB8\u7B26\u53F7 -->
				<div for-working="10" class="element-main sheet-symbol-attribute-filter" style="width: 100%;">
					<div class="element-main-content"></div>
				</div>
			</div>
		</div>
	</div>
	<!-- \u5C5E\u6027\u8986\u76D6\u8BE6\u60C5 -->
	<div id="attr-cover-detail"></div>
</div>
`);fZt.exports=hZt.join("")});var wZt=xe((Icn,yZt)=>{var bZt=[];bZt.push(`<div class="simulation-attribute-manager">
	<div id="simulation-attribute-tabs" class="attribute-tabs-containter">
		<!-- \u5C5E\u6027\u663E\u793A -->
		<div class="ngspice-attribute-property" data-tab="simulation-attr"></div>
		<div class="simulide-attribute-property" style="width: 100%;" data-tab="simulation-attr"></div>
		<div class="waveform-attribute-property" data-tab="simulation-attr"></div>
		<!-- \u9009\u62E9\u8FC7\u6EE4 -->
		<div data-tab="sch-filter" style="width: 100%;" class="attribute-filter hidden">
			<div id="dlgSelectFilter" class="filter-panel">
				<!-- \u539F\u7406\u56FE -->
				<div for-working="3,5,12,14,15" class="element-main sch-attribute-filter" style="width: 100%;">
					<div class="element-main-content"></div>
				</div>
				<!-- \u7B26\u53F7 -->
				<div for-working="6,7,8,9,11,25,31" class="element-main symbol-attribute-filter" style="width: 100%;">
					<div class="element-main-content"></div>
				</div>
				<!-- \u56FE\u7EB8\u7B26\u53F7 -->
				<div for-working="10" class="element-main sheet-symbol-attribute-filter" style="width: 100%;">
					<div class="element-main-content"></div>
				</div>
			</div>
		</div>
		<!--\u4EFF\u771F\u7535\u8DEF\u8BBE\u7F6E -->
		<div class="simulide-config-property" style="width: 100%;" data-tab="simulation-config"></div>
	</div>
	<!-- \u5C5E\u6027\u8986\u76D6\u8BE6\u60C5 -->
	<div id="attr-cover-detail"></div>
</div>
`);yZt.exports=bZt.join("")});var TZt=xe((Lcn,xZt)=>{var CZt=[];CZt.push(`<div class="project-attribute-manager">
	<div id="project-attribute-tabs" class="attribute-tabs-containter">
		<!-- \u5C5E\u6027\u663E\u793A -->
		<div id="project-container-react" class="project-attribute-property hidden" data-tab="project-attr" style="width: 100%;"></div>
		<!-- \u6279\u6CE8 -->
		<!-- <div id="projectAnnotationPanel" data-tab=""></div> -->
	</div>
</div>
`);xZt.exports=CZt.join("")});var IZt=xe((vcn,MZt)=>{var SZt=[];SZt.push(`<div class="panel-attribute-manager" style="display: flex;flex-direction:column;">
	<!-- \u901A\u8FC7\u6B64\u7236\u5143\u7D20\u751F\u6210\u53F3\u4FA7\u5B50tabs -->
	<div id="panel-attribute-tabs">
		<div id="panel-layer" data-tab="panel-layer" style="width:100%;" class="hidden"></div>
		<!-- \u9009\u62E9\u8FC7\u6EE4 -->
		<div data-tab="panel-filter" style="width:100%; height: 100%;" class="attribute-filter hidden">
			<div id="dlgSelectFilter" class="filter-panel">
				<!-- \u9762\u677F -->
				<div for-working="26,29" class="element-main panel-attribute-filter" style="width: 100%;">
					<div class="element-main-content"></div>
				</div>
			</div>
		</div>
		<!-- \u5C5E\u6027\u663E\u793A -->
		<div class="panel-attribute-property hidden" data-tab="panel-attr">
			<div id="panel-attr-main-2d"></div>
		</div>
	</div>

	<!-- \u5750\u6807\u76F8\u5173 -->
	<!-- <div id="panel-coordinate-list" class="attrlist-table-notice" style="background-color: #eee;">
		<style>
			.flex-row {
				display: flex;
				height: 25px;
				border-bottom: 1px solid #d1d1d1;
			}
			.left-asd {
				width: 50%;
				align-items: center;
				display: flex;
				gap: 10px;
			}
			.left-asd > div:nth-child(1) {
				flex: 1;
				text-align: right;
			}
			.left-asd > div:nth-child(2) {
				flex: 1;
			}

			.right-asd {
				display: flex;
				align-items: center;
				gap: 10px;
			}
			.right-asd > div:nth-child(1) {
				text-align: right;
				flex: 1;
				width: 40px;
			}
		</style>
		<div class="flex-row">
			<div class="left-asd">
				<div class="">S</div>
				<div id="panel-attr-mouse-s"></div>
			</div>

			<div class="right-asd">
				<div class="">G</div>
				<div id="panel-attr-mouse-g"></div>
			</div>
		</div>

		<div class="flex-row">
			<div class="left-asd">
				<div class="">X</div>
				<div id="attr-mouse-x"></div>
			</div>

			<div class="right-asd">
				<div class="">dX</div>
				<div id="attr-mouse-dx"></div>
			</div>
		</div>

		<div class="flex-row">
			<div class="left-asd">
				<div class="">Y</div>
				<div id="attr-mouse-y"></div>
			</div>
			<div class="right-asd">
				<div class="">dY</div>
				<div id="attr-mouse-dy"></div>
			</div>
		</div>

		<div class="flex-row">
			<div class="left-asd">
				<div class="">abs-X</div>
				<div id="attr-mouse-x-abs"></div>
			</div>
			<div class="right-asd">
				<div class="">abs-Y</div>
				<div id="attr-mouse-y-abs"></div>
			</div>
		</div>
	</div> -->
</div>
`);MZt.exports=SZt.join("")});var DZt=xe((Dcn,vZt)=>{var LZt=[];LZt.push(`<!-- 
	\u5C5E\u6027\u9762\u677F\u7684 HTML View \u5C42\u6587\u4EF6
 -->

<!-- \u5C5E\u6027\u7BA1\u7406\u5668 -->
<section class="attribute-global-container" style="width: 100%; height: 100%;">
	<!-- \u5C5E\u6027\u6807\u7B7E\u5C42 -->
	<div id="attribute-tabs-containter" class="attribute-tabs-containter" style="width: 100%; height: 100%;position: relative;">
		<!-- \u6B64\u5904\u52A8\u6001\u586B\u5165\u5185\u5BB9 -->
	</div>
	<!-- /\u5C5E\u6027\u6807\u7B7E\u5C42 -->
</section>
<!-- /\u5C5E\u6027\u7BA1\u7406\u5668 -->

<!-- \u53F3\u952E\u83DC\u5355 -->
<div id="attribute-contextmenu-containter" style="position: fixed; left: 0; top: 0;">
	<!-- \u83DC\u5355\u9879 -->
</div>
<!-- \u53F3\u952E\u83DC\u5355 -->
`);vZt.exports=LZt.join("")});var NZt=xe((Ecn,AZt)=>{var EZt=[];EZt.push(`<div class="panel-attribute-manager">
	<!-- \u901A\u8FC7\u6B64\u7236\u5143\u7D20\u751F\u6210\u53F3\u4FA7\u5B50tabs -->
	<div id="panel-attribute-tabs-3d">
		<!-- \u56FE\u5C42 -->
		<div id="panel-layer-3d" data-tab="panel3d-layer" class="hidden"></div>

		<!-- \u5C5E\u6027\u663E\u793A -->
		<div class="panel-attribute-property hidden" data-tab="panel3d-attr">
			<div class="panel-attribute-tabs-containter">
				<div id="panel-attr-main-3d" class="attrarea"></div>
			</div>
		</div>
	</div>
</div>
`);AZt.exports=EZt.join("")});var PZt=xe((Acn,kZt)=>{var S6=[];S6.push(`<!-- \u975E\u9996\u9875 \u53F3\u4FA7\u9762\u677F -->
<div id="layoutRight" class="layoutRight left" un-for-working="1" style="padding-right: 28px;">
	<div id="sch-right-panel" class="attrlist-div">
		`);S6.push(gZt());S6.push(`
	</div>
	<div id="simulation-right-panel" class="attrlist-div">
		`);S6.push(wZt());S6.push(`
	</div>
	<div id="project-attribute">
		`);S6.push(TZt());S6.push(`
	</div>
	<div id="panel-attribute" class="attrlist-div">
		`);S6.push(IZt());S6.push(`
	</div>
	<div id="pcb-attribute-manager" class="attrlist-div" style="display: none;">
		`);S6.push(DZt());S6.push(`
	</div>
	<div id="pcb-2dview-attribute-manager" class="pcb2d-attribute-tabs-containter" style="display: none;">
		<div style="width: 100%; height: calc(100% - 86px);">
			<div class="pcb2d-attribute-tabs-wrapper" style="width: 100%; height: 100%;">
				<div data-tab="pcb2d-attr" style="width:100%" id="f2DAttributeOuterContainer" class="hidden"></div>
			</div>
		</div>
		<div
			id="f2DCoordinateOuterContainer"
			style="width: 100%; height:
                                            70px;"
		></div>
	</div>
	<div id="pcb-3dview-attribute-manager" class="pcb3d-attribute-tabs-containter" style="display: none;">
		<div style="width: 100%; height: calc(100%);">
			<div class="pcb3d-attribute-tabs-wrapper" style="width: 100%; height: 100%;">
				<div data-tab="pcb3d-attr" id="f3DAttributeOuterContainer" class="hidden"></div>
				<div data-tab="pcb3d-layer" id="f3DLayerOuterContainer" class="hidden"></div>
			</div>
		</div>
		<div id="f3DCoordinateOuterContainer" style="width: 100%; height:0px;"></div>
	</div>
	<div id="panel-attribute-3d" class="attrlist-div" style="display: none;">
		`);S6.push(NZt());S6.push(`
	</div>
	<div id="blank-attr"></div>
	<!-- \u6279\u6CE8 -->
	<div id="annotationPanel" data-tab="annotation" style="height:100%"></div>
	<div id="historicalRecordsPanel" data-tab="historical-records" style="height:100%;user-select:none"></div>
</div>
`);kZt.exports=S6.join("")});var _Zt=xe((Ncn,RZt)=>{var OZt=[];OZt.push(`<div id="bottomBarBox" style="width:100%;height:100%">
	<div style="height: 100%;">
		<div id="bottomBar" style="height: inherit;"></div>

		<!-- \u65E5\u5FD7 -->
		<div id="primaryLog" class="log-container" style="display:none">
			<!-- react\u7EC4\u4EF6 -->
		</div>

		<!-- \u539F\u7406\u56FEDRC\u65E5\u5FD7 -->
		<div id="schDrcPrimaryLog" class="log-container" style="display:none">
			<!-- react\u7EC4\u4EF6 -->
		</div>

		<!-- \u5668\u4EF6\u6807\u51C6\u5316\u5185\u5BB9 -->
		<div id="device-standardization" class="log-container" style="display: none;">
			<!-- react\u7EC4\u4EF6 -->
		</div>
		<!-- \u9762\u677FDRC\u65E5\u5FD7 -->
		<div id="panelDrcPrimaryLog" class="log-container" style="display:none">
			<!-- react\u7EC4\u4EF6 -->
		</div>

		<!-- \u4EFF\u771FERC\u65E5\u5FD7 -->
		<div id="simErcPrimaryLog" class="log-container" style="display:none">
			<!-- react\u7EC4\u4EF6 -->
		</div>

		<!-- \u67E5\u627E\u7ED3\u679C\u9762\u677F -->
		<div id="findObjContainer" style="display: none;">
			<div id="findObjTable"></div>
		</div>
		<!-- pcb\u547D\u4EE4 -->
		<div id="pcbCommand" style="display: none;">
			<!-- react\u7EC4\u4EF6 -->
		</div>

		<!-- sch\u67E5\u627E\u7ED3\u679C\u8868\u683C -->
		<div id="findTypeLog" style="display:none"></div>

		<!-- drc\u9762\u677F -->
		<div id="drcResult" style="display:none">
			<div class="leftSide">
				<div class="btns">
					<button class="i18n" id="checkDRC">Check DRC</button>
					<button class="i18n" id="clearErrors">Clear Errors</button>
				</div>
				<div id="treeMyDesignDRC-content"></div>
			</div>
			<div class="rightSide">
				<div id="drcTable" style="width: 100%;height: calc(100% - 30px);"></div>
			</div>
		</div>

		<!-- pcb\u5BF9\u6BD4\u7ED3\u679C\u9762\u677F -->
		<div id="pcb-comparison-result" style="display:none">
			<div class="leftSide">
				<div class="btns">
					<button class="i18n" id="open-pcb-comparison-btn">PCB Comparison</button>
					<button class="i18n" id="clear-pcb-comparison-btn">Clear Differences</button>
				</div>
				<div id="pcb-comparison-result-tree"></div>
			</div>
			<div class="rightSide">
				<div id="pcb-comparison-result-table" style="width: 100%;height: calc(100% - 30px);"></div>
			</div>
		</div>
		<!-- sch\u5BF9\u6BD4\u7ED3\u679C\u9762\u677F -->
		<div id="sch-comparison-result" style="display:none;width: 100%;height: calc(100% - 30px); "></div>

		<!-- \u539F\u7406\u56FE\u5C5E\u6027\u5217\u8868 -->
		<div id="schPropertyList" style="display:none">
			<!-- react\u7EC4\u4EF6 -->
		</div>
	</div>
</div>
`);RZt.exports=OZt.join("")});var zZt=xe((kcn,BZt)=>{var jZt=[];jZt.push(`<div class="opacity-selector-container">
	<style>
		.opacity-selector-container {
			padding: 4px;
			border: 1px solid var(--common-border-color);
		}
		.opacity-selector-container .opacity-selector {
			width: 310px;
			height: 310px;
		}
	</style>
	<div class="display-flex" style="justify-content: space-between;padding-bottom: 8px;">
		<span>X:<span class="i18n">Print Transparency</span>\uFF1A</span>
		<div>
			<input class="j-x" type="text" value="100" width="200" min="0" max="100" step="1" />
			<span>%</span>
		</div>
	</div>

	<div class="display-flex" style="justify-content: space-between;padding-bottom: 8px;">
		<span>Y: <span class="i18n">White Transparency</span>\uFF1A</span>
		<div>
			<input class="j-y" type="text" value="100" width="200" min="0" max="100" step="1" />
			<span>%</span>
		</div>
	</div>

	<div class="opacity-selector">
		<svg id="\u56FE\u5C42_1" data-name="\u56FE\u5C42 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 309.77 309.72">
			<defs>
				<pattern id="chess--" x="0" y="0" width="16" height="16" patternUnits="userSpaceOnUse">
					<rect x="0" y="0" width="8" height="8" fill="#fff"></rect>
					<rect x="8" y="0" width="8" height="8" fill="#eee"></rect>

					<rect x="0" y="8" width="8" height="8" fill="#eee"></rect>
					<rect x="8" y="8" width="8" height="8" fill="#fff"></rect>
				</pattern>

				<pattern id="slash-pattern--" x="0" y="0" width="16" height="16" patternUnits="userSpaceOnUse">
					<rect x="0" y="0" width="16" height="16" fill="#ccc" stroke="none" />
					<path d="M 8 0 L 16 0 0 16 0 8 Z M 8 16 L 16 8 16 16 Z" fill="#999" stroke="none" />
				</pattern>
			</defs>

			<rect
				id="opacity-selector-grid"
				fill="url(#slash-pattern--)"
				x="19.190000534057617"
				y="7.269999980926514"
				width="283.2900085449219"
				height="283.2900085449219"
			></rect>

			<defs>
				<style>
					.cls-1 {
						fill: var(--common-font-color);
					}
					.cls-2 {
						fill: none;
						stroke: #3750a0;
						stroke-miterlimit: 10;
						stroke-width: 0.5px;
					}
					.cls-3 {
						fill: url(#\u672A\u547D\u540D\u7684\u6E10\u53D8);
					}
					.cls-4,
					.cls-5 {
						opacity: 0.9;
					}
					.cls-4,
					.cls-5,
					.cls-6 {
						isolation: isolate;
					}
					.cls-4 {
						fill: url(#\u672A\u547D\u540D\u7684\u6E10\u53D8_2);
					}
					.cls-5 {
						fill: url(#\u672A\u547D\u540D\u7684\u6E10\u53D8_3);
					}
					.cls-6 {
						opacity: 0.05;
						fill: url(#\u672A\u547D\u540D\u7684\u6E10\u53D8_4);
					}
				</style>
				<linearGradient
					id="\u672A\u547D\u540D\u7684\u6E10\u53D8"
					x1="-489.82"
					y1="275.68"
					x2="-487.77"
					y2="554.73"
					gradientTransform="matrix(-1, 0, 0, 1, -327.94, -267.59)"
					gradientUnits="userSpaceOnUse"
				>
					<stop offset="0" stop-color="#fff" stop-opacity="0" />
					<stop offset="1" stop-color="#fff" />
				</linearGradient>
				<linearGradient
					id="\u672A\u547D\u540D\u7684\u6E10\u53D8_2"
					x1="-475.3"
					y1="248.71"
					x2="-485.94"
					y2="381.15"
					gradientTransform="matrix(-1, 0, 0, 1, -327.94, -267.59)"
					gradientUnits="userSpaceOnUse"
				>
					<stop offset="0.02" stop-color="#fff" stop-opacity="0" />
					<stop offset="0.16" stop-color="#fff" stop-opacity="0.14" />
					<stop offset="1" stop-color="#fff" />
				</linearGradient>
				<linearGradient
					id="\u672A\u547D\u540D\u7684\u6E10\u53D8_3"
					x1="-628.89"
					y1="387.17"
					x2="-337.99"
					y2="448.08"
					gradientTransform="matrix(-1, 0, 0, 1, -327.94, -267.59)"
					gradientUnits="userSpaceOnUse"
				>
					<stop offset="0" stop-color="#fff" stop-opacity="0" />
					<stop offset="0.42" stop-color="#8e8e8e" stop-opacity="0.42" />
					<stop offset="0.82" stop-color="#282828" stop-opacity="0.82" />
					<stop offset="1" />
				</linearGradient>
				<linearGradient
					id="\u672A\u547D\u540D\u7684\u6E10\u53D8_4"
					x1="-630.14"
					y1="402.98"
					x2="-509.52"
					y2="414.52"
					gradientTransform="matrix(-1, 0, 0, 1, -327.94, -267.59)"
					gradientUnits="userSpaceOnUse"
				>
					<stop offset="0.01" stop-color="#fff" stop-opacity="0" />
					<stop offset="0.02" stop-color="#f1f1f1" stop-opacity="0.03" />
					<stop offset="0.07" stop-color="#b9b9b9" stop-opacity="0.14" />
					<stop offset="0.13" stop-color="#888" stop-opacity="0.26" />
					<stop offset="0.18" stop-color="#5e5e5e" stop-opacity="0.37" />
					<stop offset="0.23" stop-color="#3c3c3c" stop-opacity="0.49" />
					<stop offset="0.28" stop-color="#222" stop-opacity="0.61" />
					<stop offset="0.34" stop-color="#0f0f0f" stop-opacity="0.73" />
					<stop offset="0.39" stop-color="#040404" stop-opacity="0.86" />
					<stop offset="0.45" />
				</linearGradient>
			</defs>
			<rect class="cls-1" x="18.68" y="291.07" width="0.3" height="8" />
			<rect class="cls-1" x="302.18" y="291.07" width="0.3" height="8" />
			<rect class="cls-1" x="273.83" y="291.07" width="0.3" height="8" />
			<rect class="cls-1" x="245.48" y="291.07" width="0.3" height="8" />
			<rect class="cls-1" x="217.13" y="291.07" width="0.3" height="8" />
			<rect class="cls-1" x="188.78" y="291.07" width="0.3" height="8" />
			<rect class="cls-1" x="160.43" y="291.07" width="0.3" height="8" />
			<rect class="cls-1" x="132.08" y="291.07" width="0.3" height="8" />
			<rect class="cls-1" x="103.73" y="291.07" width="0.3" height="8" />
			<rect class="cls-1" x="75.38" y="291.07" width="0.3" height="8" />
			<rect class="cls-1" x="47.03" y="291.07" width="0.3" height="8" />
			<rect class="cls-1" x="288.01" y="291.07" width="0.3" height="6" />
			<rect class="cls-1" x="259.66" y="291.07" width="0.3" height="6" />
			<rect class="cls-1" x="231.31" y="291.07" width="0.3" height="6" />
			<rect class="cls-1" x="202.96" y="291.07" width="0.3" height="6" />
			<rect class="cls-1" x="174.61" y="291.07" width="0.3" height="6" />
			<rect class="cls-1" x="146.26" y="291.07" width="0.3" height="6" />
			<rect class="cls-1" x="117.91" y="291.07" width="0.3" height="6" />
			<rect class="cls-1" x="89.56" y="291.07" width="0.3" height="6" />
			<rect class="cls-1" x="61.21" y="291.07" width="0.3" height="6" />
			<rect class="cls-1" x="32.86" y="291.07" width="0.3" height="6" />
			<path
				class="cls-1"
				d="M16.08,305.66a7.78,7.78,0,0,1,.3-2.3,2.59,2.59,0,0,1,.9-1.3,2.41,2.41,0,0,1,1.4-.5,2,2,0,0,1,1.1.3,2.7,2.7,0,0,1,.8.7,3.1,3.1,0,0,1,.5,1.2,8.64,8.64,0,0,1,.2,1.9,6.3,6.3,0,0,1-.3,2.2,2.53,2.53,0,0,1-.9,1.3,2.37,2.37,0,0,1-1.4.5,2.19,2.19,0,0,1-1.8-.8,5.15,5.15,0,0,1-.8-3.2Zm1,0a5,5,0,0,0,.5,2.6,1.31,1.31,0,0,0,1.81.39,1.21,1.21,0,0,0,.39-.39,7,7,0,0,0,0-5.2,1.31,1.31,0,0,0-2.2,0A5,5,0,0,0,17.08,305.66Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M46,309.56H45v-6.2a9,9,0,0,1-.9.7,8.48,8.48,0,0,1-1,.5v-.9c.5-.3,1-.6,1.4-.9a4.14,4.14,0,0,0,.9-1.1H46Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M47.28,305.66a7.78,7.78,0,0,1,.3-2.3,2.59,2.59,0,0,1,.9-1.3,2.41,2.41,0,0,1,1.4-.5,2,2,0,0,1,1.1.3,2.7,2.7,0,0,1,.8.7,3.1,3.1,0,0,1,.5,1.2,8.64,8.64,0,0,1,.2,1.9,6.3,6.3,0,0,1-.3,2.2,2.53,2.53,0,0,1-.9,1.3,2.37,2.37,0,0,1-1.4.5,2.19,2.19,0,0,1-1.8-.8,5.15,5.15,0,0,1-.8-3.2Zm1,0a5,5,0,0,0,.5,2.6,1.31,1.31,0,0,0,1.81.39,1.21,1.21,0,0,0,.39-.39,7,7,0,0,0,0-5.2,1.31,1.31,0,0,0-2.2,0A5,5,0,0,0,48.28,305.66Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M297.51,309.61h-1v-6.2a9,9,0,0,1-.9.7,8.48,8.48,0,0,1-1,.5v-.9c.5-.3,1-.6,1.4-.9a4.14,4.14,0,0,0,.9-1.1h.6Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M298.75,305.71a7.78,7.78,0,0,1,.3-2.3,2.59,2.59,0,0,1,.9-1.3,2.41,2.41,0,0,1,1.4-.5,2,2,0,0,1,1.1.3,2.7,2.7,0,0,1,.8.7,3.1,3.1,0,0,1,.5,1.2,8.64,8.64,0,0,1,.2,1.9,6.3,6.3,0,0,1-.3,2.2,2.53,2.53,0,0,1-.9,1.3,2.37,2.37,0,0,1-1.4.5,2.19,2.19,0,0,1-1.8-.8,5.15,5.15,0,0,1-.8-3.2Zm1,0a5,5,0,0,0,.5,2.6,1.31,1.31,0,0,0,1.81.39,1.21,1.21,0,0,0,.39-.39,7,7,0,0,0,0-5.2,1.31,1.31,0,0,0-2.2,0A5,5,0,0,0,299.75,305.71Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M304.56,305.61a7.78,7.78,0,0,1,.3-2.3,2.59,2.59,0,0,1,.9-1.3,2.41,2.41,0,0,1,1.4-.5,2,2,0,0,1,1.1.3,2.7,2.7,0,0,1,.8.7,3.1,3.1,0,0,1,.5,1.2,8.64,8.64,0,0,1,.2,1.9,6.3,6.3,0,0,1-.3,2.2,2.53,2.53,0,0,1-.9,1.3,2.37,2.37,0,0,1-1.4.5,2.19,2.19,0,0,1-1.8-.8,5.15,5.15,0,0,1-.8-3.2Zm1,0a5,5,0,0,0,.5,2.6,1.31,1.31,0,0,0,1.81.39,1.21,1.21,0,0,0,.39-.39,7,7,0,0,0,0-5.2,1.31,1.31,0,0,0-2.2,0A5,5,0,0,0,305.56,305.61Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M75.17,308.76v.9H70a1.83,1.83,0,0,1,.1-.7,3.11,3.11,0,0,1,.6-1.1c.3-.3.7-.7,1.3-1.2a8.56,8.56,0,0,0,1.7-1.7,2.08,2.08,0,0,0,.5-1.2,1.26,1.26,0,0,0-.4-1,1.72,1.72,0,0,0-2.2,0,1.64,1.64,0,0,0-.4,1.2l-1-.1a2.55,2.55,0,0,1,.8-1.7,3,3,0,0,1,3.6,0,2.16,2.16,0,0,1,.7,1.6,2.8,2.8,0,0,1-.2.9,3.64,3.64,0,0,1-.6,1c-.3.3-.8.8-1.5,1.4a6.5,6.5,0,0,0-1.1,1,2,2,0,0,0-.4.5h3.7v.2Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M75.63,305.66a7.78,7.78,0,0,1,.3-2.3,2.59,2.59,0,0,1,.9-1.3,2.41,2.41,0,0,1,1.4-.5,2,2,0,0,1,1.1.3,2.7,2.7,0,0,1,.8.7,3.1,3.1,0,0,1,.5,1.2,8.64,8.64,0,0,1,.2,1.9,6.3,6.3,0,0,1-.3,2.2,2.53,2.53,0,0,1-.9,1.3,2.37,2.37,0,0,1-1.4.5,2.19,2.19,0,0,1-1.8-.8,5.15,5.15,0,0,1-.8-3.2Zm1,0a5,5,0,0,0,.5,2.6,1.31,1.31,0,0,0,1.81.39,1.21,1.21,0,0,0,.39-.39,7,7,0,0,0,0-5.2,1.31,1.31,0,0,0-2.2,0A5,5,0,0,0,76.63,305.66Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M98.28,307.31l1-.1a2,2,0,0,0,.6,1.2,1.87,1.87,0,0,0,1,.4,1.83,1.83,0,0,0,1.2-.5,1.62,1.62,0,0,0,.5-1.2,1.38,1.38,0,0,0-1.25-1.5h-.25a2.12,2.12,0,0,0-.7.1l.1-.9h.2a2,2,0,0,0,1.1-.3,1.09,1.09,0,0,0,.5-1,1,1,0,0,0-.4-.9,1.49,1.49,0,0,0-.9-.4,1,1,0,0,0-.9.4,1.63,1.63,0,0,0-.5,1.1l-1-.2a2.24,2.24,0,0,1,.8-1.5,2.08,2.08,0,0,1,1.6-.5,2.63,2.63,0,0,1,1.2.3,1.53,1.53,0,0,1,.8.8,1.89,1.89,0,0,1,.3,1,1.34,1.34,0,0,1-.3.9,2.7,2.7,0,0,1-.8.7,1.61,1.61,0,0,1,1.1.7,1.81,1.81,0,0,1,.4,1.3,2.56,2.56,0,0,1-2.63,2.5H101a2.37,2.37,0,0,1-1.7-.6,2.27,2.27,0,0,1-1-1.8Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M104,305.66a7.78,7.78,0,0,1,.3-2.3,2.59,2.59,0,0,1,.9-1.3,2.41,2.41,0,0,1,1.4-.5,2,2,0,0,1,1.1.3,2.7,2.7,0,0,1,.8.7,3.1,3.1,0,0,1,.5,1.2,8.64,8.64,0,0,1,.2,1.9,6.3,6.3,0,0,1-.3,2.2,2.53,2.53,0,0,1-.9,1.3,2.37,2.37,0,0,1-1.4.5,2.19,2.19,0,0,1-1.8-.8,5.15,5.15,0,0,1-.8-3.2Zm1,0a5,5,0,0,0,.5,2.6,1.31,1.31,0,0,0,1.81.39,1.21,1.21,0,0,0,.39-.39,7,7,0,0,0,0-5.2,1.31,1.31,0,0,0-2.2,0A5,5,0,0,0,105,305.66Z"
				transform="translate(0 0)"
			/>
			<path class="cls-1" d="M129.93,309.56v-1.9h-3.4v-.9l3.6-5.1h.8v5.1H132v.9h-1.1v1.9Zm0-2.8v-3.6l-2.5,3.6Z" transform="translate(0 0)" />
			<path
				class="cls-1"
				d="M132.33,305.66a7.78,7.78,0,0,1,.3-2.3,2.59,2.59,0,0,1,.9-1.3,2.41,2.41,0,0,1,1.4-.5,2,2,0,0,1,1.1.3,2.7,2.7,0,0,1,.8.7,3.1,3.1,0,0,1,.5,1.2,8.64,8.64,0,0,1,.2,1.9,6.3,6.3,0,0,1-.3,2.2,2.53,2.53,0,0,1-.9,1.3,2.37,2.37,0,0,1-1.4.5,2.19,2.19,0,0,1-1.8-.8,5.15,5.15,0,0,1-.8-3.2Zm1,0a5,5,0,0,0,.5,2.6,1.31,1.31,0,0,0,1.81.39,1.21,1.21,0,0,0,.39-.39,7,7,0,0,0,0-5.2,1.31,1.31,0,0,0-2.2,0A5,5,0,0,0,133.33,305.66Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M155.23,307.36l1-.1a2.31,2.31,0,0,0,.5,1.1,1.3,1.3,0,0,0,1,.4,1.68,1.68,0,0,0,1.2-.5,2.11,2.11,0,0,0,.5-1.4,1.71,1.71,0,0,0-.5-1.3,1.68,1.68,0,0,0-1.2-.5,1.89,1.89,0,0,0-.8.2c-.3.1-.4.3-.6.6l-.9-.1.8-4.1h3.9v.9h-3.2l-.4,2.1a3,3,0,0,1,1.5-.5,2,2,0,0,1,1.7.7,2.39,2.39,0,0,1,.7,1.8,3.25,3.25,0,0,1-.6,1.9,2.64,2.64,0,0,1-2.1,1,2.79,2.79,0,0,1-1.8-.6,2.71,2.71,0,0,1-.7-1.6Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M160.68,305.66a7.78,7.78,0,0,1,.3-2.3,2.59,2.59,0,0,1,.9-1.3,2.41,2.41,0,0,1,1.4-.5,2,2,0,0,1,1.1.3,2.7,2.7,0,0,1,.8.7,3.1,3.1,0,0,1,.5,1.2,8.64,8.64,0,0,1,.2,1.9,6.3,6.3,0,0,1-.3,2.2,2.53,2.53,0,0,1-.9,1.3,2.37,2.37,0,0,1-1.4.5,2.19,2.19,0,0,1-1.8-.8,5.15,5.15,0,0,1-.8-3.2Zm1,0a5,5,0,0,0,.5,2.6,1.31,1.31,0,0,0,1.81.39,1.21,1.21,0,0,0,.39-.39,7,7,0,0,0,0-5.2,1.31,1.31,0,0,0-2.2,0A5,5,0,0,0,161.68,305.66Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M188.53,303.51l-1,.1c-.1-.4-.2-.7-.4-.8a1.28,1.28,0,0,0-1-.4,1.14,1.14,0,0,0-.8.3,2,2,0,0,0-.7,1,4.27,4.27,0,0,0-.3,1.8,1.8,1.8,0,0,1,.9-.8,2,2,0,0,1,1.1-.3,2.3,2.3,0,0,1,1.7.7,2.39,2.39,0,0,1,.7,1.8,3.1,3.1,0,0,1-.3,1.4,2.13,2.13,0,0,1-.9,1,2.79,2.79,0,0,1-1.3.3,2.53,2.53,0,0,1-2-.9,4.6,4.6,0,0,1-.8-2.9,5.77,5.77,0,0,1,.8-3.3,2.53,2.53,0,0,1,2-.9,2.46,2.46,0,0,1,1.5.5,1.82,1.82,0,0,1,.8,1.4Zm-4,3.4a3.78,3.78,0,0,0,.2,1,1.37,1.37,0,0,0,.6.7,1.2,1.2,0,0,0,.8.2,1.61,1.61,0,0,0,1.1-.5,2.29,2.29,0,0,0,0-2.6,1.46,1.46,0,0,0-2.06-.14l-.14.14a1.7,1.7,0,0,0-.5,1.2Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M189,305.66a7.78,7.78,0,0,1,.3-2.3,2.59,2.59,0,0,1,.9-1.3,2.41,2.41,0,0,1,1.4-.5,2,2,0,0,1,1.1.3,2.7,2.7,0,0,1,.8.7,3.1,3.1,0,0,1,.5,1.2,8.64,8.64,0,0,1,.2,1.9,6.3,6.3,0,0,1-.3,2.2,2.53,2.53,0,0,1-.9,1.3,2.37,2.37,0,0,1-1.4.5,2.19,2.19,0,0,1-1.8-.8,5.15,5.15,0,0,1-.8-3.2Zm1,0a5,5,0,0,0,.5,2.6,1.31,1.31,0,0,0,1.81.39,1.21,1.21,0,0,0,.39-.39,7,7,0,0,0,0-5.2,1.31,1.31,0,0,0-2.2,0A5,5,0,0,0,190,305.66Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M212,302.61v-.9h5.1v.8a10,10,0,0,0-1.5,2.1,10.43,10.43,0,0,0-1.1,2.7,14.93,14.93,0,0,0-.4,2.2h-1a7.51,7.51,0,0,1,.4-2.3,14.11,14.11,0,0,1,1-2.6,11.46,11.46,0,0,1,1.4-2.1l-3.9.1Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M217.38,305.66a7.78,7.78,0,0,1,.3-2.3,2.59,2.59,0,0,1,.9-1.3,2.41,2.41,0,0,1,1.4-.5,2,2,0,0,1,1.1.3,2.7,2.7,0,0,1,.8.7,3.1,3.1,0,0,1,.5,1.2,8.64,8.64,0,0,1,.2,1.9,6.3,6.3,0,0,1-.3,2.2,2.53,2.53,0,0,1-.9,1.3,2.37,2.37,0,0,1-1.4.5,2.19,2.19,0,0,1-1.8-.8,5.15,5.15,0,0,1-.8-3.2Zm1,0a5,5,0,0,0,.5,2.6,1.31,1.31,0,0,0,1.81.39,1.21,1.21,0,0,0,.39-.39,7,7,0,0,0,0-5.2,1.31,1.31,0,0,0-2.2,0A5,5,0,0,0,218.38,305.66Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M241.73,305.21a2,2,0,0,1-.9-.6,1.76,1.76,0,0,1-.3-1,2,2,0,0,1,.6-1.5,2.37,2.37,0,0,1,1.7-.6,2.51,2.51,0,0,1,1.7.6,2,2,0,0,1,.6,1.5,1.62,1.62,0,0,1-.3,1,1.44,1.44,0,0,1-.9.6,1.87,1.87,0,0,1,1.1.8,2,2,0,0,1,.4,1.3,2.19,2.19,0,0,1-.7,1.7,2.94,2.94,0,0,1-3.8,0,2.23,2.23,0,0,1-.7-1.7,2,2,0,0,1,.4-1.3,1.56,1.56,0,0,1,1.1-.8Zm-.2-1.6a1,1,0,0,0,.4.9,1.54,1.54,0,0,0,.9.4,1,1,0,0,0,.9-.4,1.46,1.46,0,0,0,.4-.9,1,1,0,0,0-.4-.9,1.49,1.49,0,0,0-.9-.4,1,1,0,0,0-.9.4A1.11,1.11,0,0,0,241.53,303.61Zm-.3,3.6a2.41,2.41,0,0,0,.2.8.92.92,0,0,0,.6.6,2.54,2.54,0,0,0,.8.2,1.35,1.35,0,0,0,1.1-.4,1.55,1.55,0,0,0,.5-1.1,1.7,1.7,0,0,0-1.7-1.7,1.46,1.46,0,0,0-1.1.5A1.53,1.53,0,0,0,241.23,307.21Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M245.73,305.61a7.78,7.78,0,0,1,.3-2.3,2.59,2.59,0,0,1,.9-1.3,2.41,2.41,0,0,1,1.4-.5,2,2,0,0,1,1.1.3,2.7,2.7,0,0,1,.8.7,3.1,3.1,0,0,1,.5,1.2,8.64,8.64,0,0,1,.2,1.9,6.3,6.3,0,0,1-.3,2.2,2.53,2.53,0,0,1-.9,1.3,2.37,2.37,0,0,1-1.4.5,2.19,2.19,0,0,1-1.8-.8,5.15,5.15,0,0,1-.8-3.2Zm1,0a5,5,0,0,0,.5,2.6,1.31,1.31,0,0,0,1.81.39,1.21,1.21,0,0,0,.39-.39,7,7,0,0,0,0-5.2,1.31,1.31,0,0,0-2.2,0A5,5,0,0,0,246.73,305.61Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M268.68,307.46l.9-.1a1.6,1.6,0,0,0,.5,1,1.21,1.21,0,0,0,.9.3,1.86,1.86,0,0,0,.8-.2,2.42,2.42,0,0,0,.6-.5,3.64,3.64,0,0,0,.4-.9,4.4,4.4,0,0,0,.1-1.2v-.2a2.9,2.9,0,0,1-.8.8,2,2,0,0,1-1.1.3,2.19,2.19,0,0,1-1.7-.7,2.94,2.94,0,0,1,0-3.8,2.42,2.42,0,0,1,1.8-.7,2.32,2.32,0,0,1,1.4.4,2.91,2.91,0,0,1,1,1.2,6.3,6.3,0,0,1,.3,2.2,7.5,7.5,0,0,1-.3,2.4,2.57,2.57,0,0,1-4,1.4,2.74,2.74,0,0,1-.8-1.7Zm3.9-3.5a1.67,1.67,0,0,0-.4-1.3,1.46,1.46,0,0,0-2.06-.14l-.14.14a2.22,2.22,0,0,0-.5,1.4,1.7,1.7,0,0,0,.5,1.2,1.66,1.66,0,0,0,1.1.5,1.43,1.43,0,0,0,1.1-.5,1.81,1.81,0,0,0,.4-1.3Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M274.08,305.66a7.78,7.78,0,0,1,.3-2.3,2.59,2.59,0,0,1,.9-1.3,2.41,2.41,0,0,1,1.4-.5,2,2,0,0,1,1.1.3,2.7,2.7,0,0,1,.8.7,3.1,3.1,0,0,1,.5,1.2,8.64,8.64,0,0,1,.2,1.9,6.3,6.3,0,0,1-.3,2.2,2.53,2.53,0,0,1-.9,1.3,2.37,2.37,0,0,1-1.4.5,2.19,2.19,0,0,1-1.8-.8,5.15,5.15,0,0,1-.8-3.2Zm1,0a5,5,0,0,0,.5,2.6,1.31,1.31,0,0,0,1.81.39,1.21,1.21,0,0,0,.39-.39,7,7,0,0,0,0-5.2,1.31,1.31,0,0,0-2.2,0A5,5,0,0,0,275.08,305.66Z"
				transform="translate(0 0)"
			/>
			<line class="cls-2" x1="18.69" y1="290.83" x2="302.48" y2="290.83" />
			<line class="cls-2" x1="18.94" y1="291.07" x2="18.94" y2="7.27" />
			<rect class="cls-1" x="10.69" y="290.77" width="8" height="0.3" />
			<rect class="cls-1" x="10.69" y="7.27" width="8" height="0.3" />
			<rect class="cls-1" x="10.69" y="35.62" width="8" height="0.3" />
			<rect class="cls-1" x="10.69" y="63.97" width="8" height="0.3" />
			<rect class="cls-1" x="10.69" y="92.32" width="8" height="0.3" />
			<rect class="cls-1" x="10.69" y="120.67" width="8" height="0.3" />
			<rect class="cls-1" x="10.69" y="149.02" width="8" height="0.3" />
			<rect class="cls-1" x="10.69" y="177.37" width="8" height="0.3" />
			<rect class="cls-1" x="10.69" y="205.72" width="8" height="0.3" />
			<rect class="cls-1" x="10.69" y="234.07" width="8" height="0.3" />
			<rect class="cls-1" x="10.69" y="262.42" width="8" height="0.3" />
			<rect class="cls-1" x="12.69" y="21.45" width="6" height="0.3" />
			<rect class="cls-1" x="12.69" y="49.8" width="6" height="0.3" />
			<rect class="cls-1" x="12.69" y="78.15" width="6" height="0.3" />
			<rect class="cls-1" x="12.69" y="106.5" width="6" height="0.3" />
			<rect class="cls-1" x="12.69" y="134.85" width="6" height="0.3" />
			<rect class="cls-1" x="12.69" y="163.2" width="6" height="0.3" />
			<rect class="cls-1" x="12.69" y="191.55" width="6" height="0.3" />
			<rect class="cls-1" x="12.69" y="219.9" width="6" height="0.3" />
			<rect class="cls-1" x="12.69" y="248.25" width="6" height="0.3" />
			<rect class="cls-1" x="12.69" y="276.6" width="6" height="0.3" />
			<path
				class="cls-1"
				d="M4.19,293.67a7.5,7.5,0,0,1-2.3-.3,2.57,2.57,0,0,1-1.3-.9,2.43,2.43,0,0,1-.5-1.4,2,2,0,0,1,.3-1.1,2.83,2.83,0,0,1,.7-.8,3.52,3.52,0,0,1,1.2-.5,9.36,9.36,0,0,1,1.9-.2,6.3,6.3,0,0,1,2.2.3,2.49,2.49,0,0,1,1.3.9,2.37,2.37,0,0,1,.5,1.4,2.17,2.17,0,0,1-.8,1.8,5.15,5.15,0,0,1-3.2.8Zm0-1a4.86,4.86,0,0,0,2.6-.5,1.31,1.31,0,0,0,.39-1.81,1.21,1.21,0,0,0-.39-.39,7,7,0,0,0-5.2,0,1.32,1.32,0,0,0-.39,1.81,1.45,1.45,0,0,0,.39.39A4.89,4.89,0,0,0,4.19,292.67Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M8.09,263.71v1H1.89a9.89,9.89,0,0,1,.7.9,7.77,7.77,0,0,1,.5,1h-.9c-.3-.5-.6-1-.9-1.4a4.17,4.17,0,0,0-1.1-.9v-.6Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M4.19,262.47a7.5,7.5,0,0,1-2.3-.3,2.57,2.57,0,0,1-1.3-.9,2.43,2.43,0,0,1-.5-1.4,2,2,0,0,1,.3-1.1,2.83,2.83,0,0,1,.7-.8,3.52,3.52,0,0,1,1.2-.5,9.36,9.36,0,0,1,1.9-.2,6.3,6.3,0,0,1,2.2.3,2.49,2.49,0,0,1,1.3.9,2.37,2.37,0,0,1,.5,1.4,2.17,2.17,0,0,1-.8,1.8,5.15,5.15,0,0,1-3.2.8Zm0-1a4.86,4.86,0,0,0,2.6-.5,1.31,1.31,0,0,0,.39-1.81,1.21,1.21,0,0,0-.39-.39,7,7,0,0,0-5.2,0,1.32,1.32,0,0,0-.39,1.81,1.45,1.45,0,0,0,.39.39A4.89,4.89,0,0,0,4.19,261.47Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M8.14,12.24v1H1.94a9.89,9.89,0,0,1,.7.9,7.77,7.77,0,0,1,.5,1h-.9c-.3-.5-.6-1-.9-1.4a4.17,4.17,0,0,0-1.1-.9v-.6Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M4.24,11a7.5,7.5,0,0,1-2.3-.3,2.57,2.57,0,0,1-1.3-.9,2.43,2.43,0,0,1-.5-1.4,2,2,0,0,1,.3-1.1,2.83,2.83,0,0,1,.7-.8A3.52,3.52,0,0,1,2.34,6a9.36,9.36,0,0,1,1.9-.2,6.3,6.3,0,0,1,2.2.3,2.49,2.49,0,0,1,1.3.9,2.37,2.37,0,0,1,.5,1.4,2.17,2.17,0,0,1-.8,1.8A5.15,5.15,0,0,1,4.24,11Zm0-1a4.86,4.86,0,0,0,2.6-.5,1.31,1.31,0,0,0,.39-1.81,1.21,1.21,0,0,0-.39-.39,7,7,0,0,0-5.2,0,1.32,1.32,0,0,0-.39,1.81,1.45,1.45,0,0,0,.39.39A4.89,4.89,0,0,0,4.24,10Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M4.14,5.2a7.5,7.5,0,0,1-2.3-.3A2.57,2.57,0,0,1,.54,4,2.43,2.43,0,0,1,0,2.6a2,2,0,0,1,.3-1.1A2.83,2.83,0,0,1,1,.7,3.52,3.52,0,0,1,2.24.2,9.36,9.36,0,0,1,4.14,0a6.3,6.3,0,0,1,2.2.3,2.49,2.49,0,0,1,1.3.9,2.37,2.37,0,0,1,.5,1.4,2.17,2.17,0,0,1-.8,1.8A5.15,5.15,0,0,1,4.14,5.2Zm0-1a4.86,4.86,0,0,0,2.6-.5,1.31,1.31,0,0,0,.39-1.81,1.21,1.21,0,0,0-.39-.39,7,7,0,0,0-5.2,0,1.32,1.32,0,0,0-.39,1.81,1.45,1.45,0,0,0,.39.39A4.89,4.89,0,0,0,4.14,4.2Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M7.29,234.59h.9v5.2a1.7,1.7,0,0,1-.7-.1,3,3,0,0,1-1.1-.6c-.3-.3-.7-.7-1.2-1.3a8.56,8.56,0,0,0-1.7-1.7,2,2,0,0,0-1.2-.5,1.3,1.3,0,0,0-1,.4,1.72,1.72,0,0,0,0,2.2,1.61,1.61,0,0,0,1.2.4l-.1,1a2.46,2.46,0,0,1-1.7-.8,3,3,0,0,1,0-3.6,2.19,2.19,0,0,1,1.6-.7,3,3,0,0,1,.9.2,3.75,3.75,0,0,1,1,.6c.3.3.8.8,1.4,1.5a6.17,6.17,0,0,0,1,1.1,1.76,1.76,0,0,0,.5.4v-3.7Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M4.19,234.12a7.5,7.5,0,0,1-2.3-.3,2.57,2.57,0,0,1-1.3-.9,2.43,2.43,0,0,1-.5-1.4,2,2,0,0,1,.3-1.1,2.83,2.83,0,0,1,.7-.8,3.52,3.52,0,0,1,1.2-.5,9.36,9.36,0,0,1,1.9-.2,6.3,6.3,0,0,1,2.2.3,2.49,2.49,0,0,1,1.3.9,2.37,2.37,0,0,1,.5,1.4,2.17,2.17,0,0,1-.8,1.8,5.15,5.15,0,0,1-3.2.8Zm0-1a4.86,4.86,0,0,0,2.6-.5,1.31,1.31,0,0,0,.39-1.81,1.21,1.21,0,0,0-.39-.39,7,7,0,0,0-5.2,0,1.32,1.32,0,0,0-.39,1.81,1.45,1.45,0,0,0,.39.39A4.89,4.89,0,0,0,4.19,233.12Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M5.84,211.47l-.1-1a2,2,0,0,0,1.2-.6,1.67,1.67,0,0,0,.4-1,1.8,1.8,0,0,0-.5-1.2,1.68,1.68,0,0,0-1.2-.5,1.38,1.38,0,0,0-1.5,1.25v.25a2.08,2.08,0,0,0,.1.7l-.9-.1v-.2A1.94,1.94,0,0,0,3,208a1.08,1.08,0,0,0-1-.5,1,1,0,0,0-.9.4,1.52,1.52,0,0,0-.4.9,1,1,0,0,0,.4.9,1.66,1.66,0,0,0,1.1.5l-.2,1a2.2,2.2,0,0,1-1.5-.8,2.12,2.12,0,0,1-.5-1.6,2.77,2.77,0,0,1,.3-1.2,1.6,1.6,0,0,1,.8-.8,2,2,0,0,1,1-.3,1.38,1.38,0,0,1,.9.3,2.55,2.55,0,0,1,.7.8,1.64,1.64,0,0,1,.7-1.1,1.85,1.85,0,0,1,1.3-.4,2.59,2.59,0,0,1,2.51,2.64v.06a2.32,2.32,0,0,1-.6,1.7,2.24,2.24,0,0,1-1.8,1Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M4.19,205.77a7.5,7.5,0,0,1-2.3-.3,2.57,2.57,0,0,1-1.3-.9,2.43,2.43,0,0,1-.5-1.4,2,2,0,0,1,.3-1.1,2.83,2.83,0,0,1,.7-.8,3.52,3.52,0,0,1,1.2-.5,9.36,9.36,0,0,1,1.9-.2,6.3,6.3,0,0,1,2.2.3,2.49,2.49,0,0,1,1.3.9,2.37,2.37,0,0,1,.5,1.4,2.17,2.17,0,0,1-.8,1.8,5.15,5.15,0,0,1-3.2.8Zm0-1a4.86,4.86,0,0,0,2.6-.5,1.31,1.31,0,0,0,.39-1.81,1.21,1.21,0,0,0-.39-.39,7,7,0,0,0-5.2,0,1.32,1.32,0,0,0-.39,1.81,1.45,1.45,0,0,0,.39.39A4.89,4.89,0,0,0,4.19,204.77Z"
				transform="translate(0 0)"
			/>
			<path class="cls-1" d="M8.09,179.82H6.19v3.4h-.9l-5.1-3.6v-.8h5.1v-1.1h.9v1.1h1.9Zm-2.8,0H1.69l3.6,2.5Z" transform="translate(0 0)" />
			<path
				class="cls-1"
				d="M4.19,177.42a7.5,7.5,0,0,1-2.3-.3,2.57,2.57,0,0,1-1.3-.9,2.43,2.43,0,0,1-.5-1.4,2,2,0,0,1,.3-1.1,2.83,2.83,0,0,1,.7-.8,3.52,3.52,0,0,1,1.2-.5,9.36,9.36,0,0,1,1.9-.2,6.3,6.3,0,0,1,2.2.3,2.49,2.49,0,0,1,1.3.9,2.37,2.37,0,0,1,.5,1.4,2.17,2.17,0,0,1-.8,1.8,5.15,5.15,0,0,1-3.2.8Zm0-1a4.86,4.86,0,0,0,2.6-.5,1.31,1.31,0,0,0,.39-1.81,1.21,1.21,0,0,0-.39-.39,7,7,0,0,0-5.2,0,1.32,1.32,0,0,0-.39,1.81,1.45,1.45,0,0,0,.39.39A4.89,4.89,0,0,0,4.19,176.42Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M5.89,154.52l-.1-1a2.22,2.22,0,0,0,1.1-.5,1.26,1.26,0,0,0,.4-1,1.62,1.62,0,0,0-.5-1.2,2.16,2.16,0,0,0-1.4-.5,1.76,1.76,0,0,0-1.3.5,1.7,1.7,0,0,0-.5,1.2,2,2,0,0,0,.2.8c.1.3.3.4.6.6l-.1.9-4.1-.8v-3.9h.9v3.2l2.1.4a3.08,3.08,0,0,1-.5-1.5,2.1,2.1,0,0,1,.7-1.7,2.42,2.42,0,0,1,1.8-.7,3.3,3.3,0,0,1,1.9.6,2.64,2.64,0,0,1,1,2.1,2.74,2.74,0,0,1-.6,1.8A2.65,2.65,0,0,1,5.89,154.52Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M4.19,149.07a7.5,7.5,0,0,1-2.3-.3,2.57,2.57,0,0,1-1.3-.9,2.43,2.43,0,0,1-.5-1.4,2,2,0,0,1,.3-1.1,2.83,2.83,0,0,1,.7-.8,3.52,3.52,0,0,1,1.2-.5,9.36,9.36,0,0,1,1.9-.2,6.3,6.3,0,0,1,2.2.3,2.49,2.49,0,0,1,1.3.9,2.37,2.37,0,0,1,.5,1.4,2.17,2.17,0,0,1-.8,1.8,5.15,5.15,0,0,1-3.2.8Zm0-1a4.86,4.86,0,0,0,2.6-.5,1.31,1.31,0,0,0,.39-1.81,1.21,1.21,0,0,0-.39-.39,7,7,0,0,0-5.2,0,1.32,1.32,0,0,0-.39,1.81,1.45,1.45,0,0,0,.39.39A4.89,4.89,0,0,0,4.19,148.07Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M2,121.22l.1,1c-.4.1-.7.2-.8.4a1.29,1.29,0,0,0-.4,1,1.17,1.17,0,0,0,.3.8,2.06,2.06,0,0,0,1,.7,4.27,4.27,0,0,0,1.8.3,1.85,1.85,0,0,1-.8-.9,2,2,0,0,1-.3-1.1,2.4,2.4,0,0,1,.7-1.7,2.42,2.42,0,0,1,1.8-.7,3.18,3.18,0,0,1,1.4.3,2.18,2.18,0,0,1,1,.9,2.67,2.67,0,0,1,.3,1.3,2.51,2.51,0,0,1-.9,2,4.52,4.52,0,0,1-2.9.8,5.73,5.73,0,0,1-3.3-.8,2.6,2.6,0,0,1-.4-3.5,1.85,1.85,0,0,1,1.4-.8Zm3.4,4a3.78,3.78,0,0,0,1-.2,1.29,1.29,0,0,0,.7-.6,1.19,1.19,0,0,0,.2-.8,1.55,1.55,0,0,0-.5-1.1,2.32,2.32,0,0,0-2.6,0,1.47,1.47,0,0,0-.14,2.06,1.85,1.85,0,0,0,.14.14A1.7,1.7,0,0,0,5.41,125.22Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M4.19,120.72a7.5,7.5,0,0,1-2.3-.3,2.57,2.57,0,0,1-1.3-.9,2.43,2.43,0,0,1-.5-1.4,2,2,0,0,1,.3-1.1,2.83,2.83,0,0,1,.7-.8,3.52,3.52,0,0,1,1.2-.5,9.36,9.36,0,0,1,1.9-.2,6.3,6.3,0,0,1,2.2.3,2.49,2.49,0,0,1,1.3.9,2.37,2.37,0,0,1,.5,1.4,2.17,2.17,0,0,1-.8,1.8,5.15,5.15,0,0,1-3.2.8Zm0-1a4.86,4.86,0,0,0,2.6-.5,1.31,1.31,0,0,0,.39-1.81,1.21,1.21,0,0,0-.39-.39,7,7,0,0,0-5.2,0,1.32,1.32,0,0,0-.39,1.81,1.45,1.45,0,0,0,.39.39A4.89,4.89,0,0,0,4.19,119.72Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M1.14,97.77H.24v-5.1H1a9.69,9.69,0,0,0,2.1,1.5,10.72,10.72,0,0,0,2.7,1.1,15.17,15.17,0,0,0,2.2.4v1a7.51,7.51,0,0,1-2.3-.4,14.39,14.39,0,0,1-2.6-1A10.82,10.82,0,0,1,1,93.87l.1,3.9Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M4.19,92.37a7.5,7.5,0,0,1-2.3-.3,2.57,2.57,0,0,1-1.3-.9,2.43,2.43,0,0,1-.5-1.4,2,2,0,0,1,.3-1.1,2.83,2.83,0,0,1,.7-.8,3.52,3.52,0,0,1,1.2-.5,9.36,9.36,0,0,1,1.9-.2,6.3,6.3,0,0,1,2.2.3,2.49,2.49,0,0,1,1.3.9,2.37,2.37,0,0,1,.5,1.4,2.17,2.17,0,0,1-.8,1.8,5.15,5.15,0,0,1-3.2.8Zm0-1a4.86,4.86,0,0,0,2.6-.5,1.31,1.31,0,0,0,.39-1.81,1.21,1.21,0,0,0-.39-.39,7,7,0,0,0-5.2,0,1.32,1.32,0,0,0-.39,1.81,1.45,1.45,0,0,0,.39.39A4.89,4.89,0,0,0,4.19,91.37Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M3.74,68a2,2,0,0,1-.6.9,1.68,1.68,0,0,1-1,.3,2,2,0,0,1-1.5-.6A2.38,2.38,0,0,1,0,67a2.56,2.56,0,0,1,.6-1.7,2,2,0,0,1,1.5-.6,1.68,1.68,0,0,1,1,.3,1.41,1.41,0,0,1,.6.9,1.9,1.9,0,0,1,.8-1.1,2,2,0,0,1,1.3-.4,2.17,2.17,0,0,1,1.7.7,2.91,2.91,0,0,1,0,3.8,2.17,2.17,0,0,1-1.7.7,2,2,0,0,1-1.3-.4,1.57,1.57,0,0,1-.8-1.1Zm-1.6.2a1,1,0,0,0,.9-.4,1.46,1.46,0,0,0,.4-.9A1,1,0,0,0,3,66a1.49,1.49,0,0,0-.9-.4,1,1,0,0,0-.9.4,1.52,1.52,0,0,0-.4.9,1,1,0,0,0,.4.9A1.09,1.09,0,0,0,2.14,68.22Zm3.6.3a2.41,2.41,0,0,0,.8-.2.88.88,0,0,0,.6-.6,2.19,2.19,0,0,0,.2-.8,1.37,1.37,0,0,0-.4-1.1,1.61,1.61,0,0,0-1.1-.5A1.72,1.72,0,0,0,4.14,67a1.44,1.44,0,0,0,.5,1.1A1.5,1.5,0,0,0,5.74,68.52Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M4.14,64a7.5,7.5,0,0,1-2.3-.3,2.57,2.57,0,0,1-1.3-.9,2.43,2.43,0,0,1-.5-1.4,2,2,0,0,1,.3-1.1,2.83,2.83,0,0,1,.7-.8,3.52,3.52,0,0,1,1.2-.5,9.36,9.36,0,0,1,1.9-.2,6.3,6.3,0,0,1,2.2.3,2.49,2.49,0,0,1,1.3.9,2.37,2.37,0,0,1,.5,1.4,2.17,2.17,0,0,1-.8,1.8,5.15,5.15,0,0,1-3.2.8Zm0-1a4.86,4.86,0,0,0,2.6-.5,1.31,1.31,0,0,0,.39-1.81,1.21,1.21,0,0,0-.39-.39,7,7,0,0,0-5.2,0,1.32,1.32,0,0,0-.39,1.81,1.45,1.45,0,0,0,.39.39A4.89,4.89,0,0,0,4.14,63Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M6,41.07l-.1-.9a1.58,1.58,0,0,0,1-.5,1.19,1.19,0,0,0,.3-.9A1.72,1.72,0,0,0,7,38a2.39,2.39,0,0,0-.5-.6,3.64,3.64,0,0,0-.9-.4,4.79,4.79,0,0,0-1.2-.1h-.2a2.9,2.9,0,0,1,.8.8,1.94,1.94,0,0,1,.3,1.1,2.19,2.19,0,0,1-.7,1.7,2.94,2.94,0,0,1-3.8,0,2.46,2.46,0,0,1-.7-1.8,2.32,2.32,0,0,1,.4-1.4,3,3,0,0,1,1.2-1,6.33,6.33,0,0,1,2.2-.3,7.79,7.79,0,0,1,2.4.3,2.57,2.57,0,0,1,1.81,3.15,2.4,2.4,0,0,1-.41.85,2.67,2.67,0,0,1-1.7.8Zm-3.5-3.9a1.71,1.71,0,0,0-1.3.4,1.47,1.47,0,0,0-.14,2.06l.14.14a2.18,2.18,0,0,0,1.4.5,1.68,1.68,0,0,0,1.2-.5,1.55,1.55,0,0,0,.5-1.1,1.41,1.41,0,0,0-.5-1.1,1.84,1.84,0,0,0-1.3-.4Z"
				transform="translate(0 0)"
			/>
			<path
				class="cls-1"
				d="M4.19,35.67a7.5,7.5,0,0,1-2.3-.3,2.57,2.57,0,0,1-1.3-.9,2.43,2.43,0,0,1-.5-1.4A2,2,0,0,1,.39,32a2.83,2.83,0,0,1,.7-.8,3.52,3.52,0,0,1,1.2-.5,9.36,9.36,0,0,1,1.9-.2,6.3,6.3,0,0,1,2.2.3,2.49,2.49,0,0,1,1.3.9,2.37,2.37,0,0,1,.5,1.4,2.17,2.17,0,0,1-.8,1.8A5.15,5.15,0,0,1,4.19,35.67Zm0-1a4.86,4.86,0,0,0,2.6-.5,1.31,1.31,0,0,0,.39-1.81A1.21,1.21,0,0,0,6.79,32a7,7,0,0,0-5.2,0,1.32,1.32,0,0,0-.39,1.81,1.45,1.45,0,0,0,.39.39A4.89,4.89,0,0,0,4.19,34.67Z"
				transform="translate(0 0)"
			/>
			<polygon id="\u989C\u8272" class="cls-3" points="19.19 7.27 302.48 7.27 302.48 290.56 19.19 290.56 19.19 7.27" />
			<polygon id="\u989C\u8272-2" class="cls-4" points="19.19 7.27 302.48 7.27 302.48 290.56 19.19 290.56 19.19 7.27" />
			<polygon id="\u989C\u8272-3" class="cls-5" points="19.19 7.27 302.48 7.27 302.48 290.56 19.19 290.56 19.19 7.27" />
			<polygon id="\u989C\u8272-4" class="cls-6" points="19.19 7.27 302.48 7.27 302.48 290.56 19.19 290.56 19.19 7.27" />

			<circle draggable="true" id="opacity-selector-flag" cx="19.190000534057617" cy="7.269999980926514" r="5" fill="#1890ff"></circle>

			<path
				id="triangle-y"
				d="M 19.190000534057617 7.269999980926514 l -5 -5 l 0 10 z"
				stroke="#1890ff"
				style="
    fill: #1890ff;
"
			></path>

			<path
				id="triangle-x"
				d="M 19.190000534057617 290.5600085258484 l -5 5 l 10 0 z"
				stroke="#1890ff"
				style="
    fill: #1890ff;
"
			></path>
		</svg>
	</div>
</div>
`);BZt.exports=jZt.join("")});var UZt=xe((Pcn,FZt)=>{var f8e=[];f8e.push(`<!-- \u7528\u6765\u5F15\u5165\u4E00\u4E9B HTML \u6A21\u677F\u6587\u4EF6 -->
<template id="opacity-selector-container">
	`);f8e.push(zZt());f8e.push(`
</template>
`);FZt.exports=f8e.join("")});var HZt=xe((Ocn,VZt)=>{var l8=[];l8.push(`<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="renderer" content="webkit|ie-stand" />
		<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
		<title></title>
		<meta name="description" content="eda" class="i18n" data-i18n-attr="content" />
		<meta name="keywords" content="eda" class="i18n" data-i18n-attr="content" />
		<link rel="icon" href="`);l8.push(dZt());l8.push(`" type="image/x-icon" />
		<meta
			name="viewport"
			content="width=device-width, user-scalable=0,
				initial-scale=1, minimum-scale=1, maximum-scale=1"
		/>
		<!--[if lte IE 8
			]><script>
				browserModeOld = true;
			<\/script><!
		[endif]-->
		<script>
			!(function(win, doc, loc) {
				doc.pageStartTime = new Date();
				if (navigator.userAgent.indexOf('Electron/') > 0 || !loc.host.match(/[a-z]/)) {
					return;
				}
				try {
					if (!doc.createElement('canvas').getContext) {
						return (loc.href = '/page/browser-not-support');
					}

					__INNERHTML_DESCRIPTOR = Object.getOwnPropertyDescriptor(Element.prototype, 'innerHTML');
					__TEXTCONTENT_DESCRIPTOR = Object.getOwnPropertyDescriptor(Node.prototype, 'textContent');
				} catch (err) {}
			})(window, document, location);
		<\/script>
		<meta name="google" content="notranslate" />
	</head>

	<body>
		<div class="modal" style="display: none;"></div>
		<div
			id="window-loading"
			style="position: absolute;display: table;left: 0;top: 0;width: 100%;height: 100%;margin: 0;padding: 0;overflow: hidden;background-color: #eff6fe;z-index: 9999;cursor: wait;"
		>
			<div style="text-align: center; height:100%;display:table-cell;vertical-align: middle;">
				<span class="rotation" style="display: inline-block;">
					<i class="icon-eda-loading" style="width:52px;height:52px"></i>
				</span>
			</div>
		</div>
		<div id="move-cross-icon-container" style="display:none;position: fixed;pointer-events: none;z-index: 2;">
			<svg style="width: 16px;height: 16px;">
				<use id="use" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#eda-sch-wire"></use>
			</svg>
			<div
				class="i18n"
				style="color:var(--common-font-color);border: 1px solid var(--common-border-color);background-color: var(--common-bg-color);padding:2px 10px;"
			></div>
		</div>

		<!-- \u65B9\u4FBF\u9884\u5148\u5904\u7406\u7684\u4E34\u65F6svg\u3001canvas\u5BB9\u5668 -->
		<svg width="150" height="30" id="svg-work-space" style="position: absolute;font:initial;"></svg>
		<canvas id="canvas-work-space" style="position: absolute"></canvas>

		<!-- \u9876\u90E8\u83DC\u5355\u533A\u57DF -->
		<div id="top-wrap" style="position: relative;"></div>

		<div id="sys-notice" class="hidden" style="position: relative;">
			<span class="header-title">
				<span class="content"></span>
				<span class="cancel-btn">
					<span class="icon-eda-clear"></span>
				</span>
			</span>
		</div>
		<!-- \u9876\u90E8\u5DE5\u5177\u680F -->
		<div id="toolbar-bottom" class="border-box"></div>
		<div id="spiceStatus" style="display:none;"></div>
		<div id="win-loading-messager" style="display:none">
			<div style="text-align:center;width:36px;height:36px;overflow:hidden;margin:0 auto;margin-top:35px;" class="rotation">
				<i class="icon-eda-loading" style="font-size:36px;color:rgb(38,44,50);"></i>
			</div>
		</div>
		<!-- \u4E3B\u4F53 -->
		<div id="main" class="home">
			<!-- \u5DE6\u4FA7\u9762\u677F -->
			`);l8.push(mZt());l8.push(`
			<!-- \u4E2D\u95F4\u90E8\u5206 -->
			<div id="editorTabbar" class="border-box left">
				<div
					id="editor-window-main"
					class="editorCanvas"
					style="display: flex;width: 100%;height: 100%;overflow: hidden;background-color: var(--bg-color-project-blank-page);"
				></div>
				<div id="tabbar_bodies" class="tabbar-bodies" style="width:100%;height:0px;">
					<!-- PCB \u547D\u4EE4\u8F93\u5165\u7A97\u53E3 -->
					<div id="commandWin">
						<div class="commandWin-body">
							<div class="commandHistory"></div>
							<div class="commandLineWrap">
								<div class="commandLine">
									<div class="weui-control-next-icon"></div>
									<input type="text" id="enterCommand" placeholder="Type a command(ESC key to exit)" data-i18n-attr="placeholder" />
								</div>
							</div>
							<div class="close">
								<i class="icon-eda-x-circle" style="font-size: 1.5rem;"></i>
							</div>
						</div>
					</div>
					<div id="exitSmartSizeTool"><span class="i18n">Exit Smart Size Mode</span><span class="exitBtn">X</span></div>
					<div id="exitPadShapeTool"><span class="i18n">Exit Edit Pad Shape Mode</span><span class="exitBtn">X</span></div>
					<!-- \u5DE5\u7A0B\u7A7A\u767D\u9875 -->
					<div
						id="project-blank-page"
						style="display: none;position: fixed;z-index: 2;background-color: var(--bg-color-project-blank-page);"
					></div>
					<!-- \u88C5\u914D\u53D8\u91CF\u9875 -->
					<div id="assembly-variant-page" style="display: none;position: fixed;z-index: 2;background-color: var(--common-bg-color);"></div>
				</div>
				<div id="floatingInfoPanel"></div>
				<div
					id="real-time-net-track-length"
					style="padding:0.5em;background:
											rgba(255,255,255,0.7);border-radius:5px;font-size:16px;display: none"
				></div>
			</div>
			<!-- \u975E\u9996\u9875 \u53F3\u4FA7\u9762\u677F -->
			`);l8.push(PZt());l8.push(`
			<!-- \u5E95\u90E8\u9762\u677F -->
			<div id="layoutBottom" class="left" style="min-height: 24px;border-top: 1px solid var(--common-border-color)">
				`);l8.push(_Zt());l8.push(`
			</div>
			<!-- \u9762\u677F\u7684\u4FA7\u8FB9\u680F -->
			<div id="layout_toggler_left" toggle_cmd="toolbar_toggle(leftbar)" class="layout-toggler left">
				<div class="toggle"></div>
			</div>
			<div id="layout_toggler_right" toggle_cmd="toolbar_toggle(rightbar)" class="layout-toggler right" un-for-working="1">
				<div class="toggle"></div>
			</div>
			<div id="layout_toggler_bottom" toggle_cmd="toolbar_toggle(bottombar)" class="layout-toggler bottom">
				<div class="toggle"></div>
			</div>
		</div>

		<div id="categorySelectMenu" class="popover" style="display: none;">
			<div>
				<input id="filterCategoryName" placeholder="Filter" data-i18n-attr="placeholder" />
			</div>
			<div id="selectCategoryName"></div>
		</div>
		<div id="pagemask"></div>

		<!-- PCB \u53F3\u952E\u83DC\u5355 -->
		<div
			id="main-pcb-contextmenu-containter"
			style="position: fixed;
			left: 0; top: 0; z-index: 999999; display: none;"
		></div>
		<div
			id="pcb-panel-contextmenu-containter"
			style="position: fixed;
			left: 0; top: 0; z-index: 999999; display: none;"
		></div>
		<!-- \u83DC\u5355\u9879 -->

		<!-- \u9876\u90E8\u6D88\u606F -->
		<div id="toast-messager-container" class="toast-messager-container">
			<div class="messager-panel template">
				<div class="panel">
					<div class="icon">
						<div class="messager-icon"></div>
					</div>
					<div class="msg"></div>
					<div class="btns">
						<div class="timer"></div>
						<div class="close"></div>
					</div>
				</div>
			</div>
		</div>
		<!-- \u57FA\u7840\u5E93iframe\u76D2\u5B50 -->
		<div class="basic-iframe-wrap preview-iframe-wrap"></div>
		<!-- \u9884\u89C8\u56FEiframe\u76D2\u5B50 -->
		<div class="preview-iframe-pcb-wrap preview-iframe-wrap"></div>
		<!-- \u9884\u89C8\u56FEiframe\u76D2\u5B50 -->
		<div class="preview-iframe-panel-wrap preview-iframe-wrap"></div>
		<div class="export-bom-iframe-wrap"></div>
		<!-- \u5229\u7528Dom\u8BA1\u7B97\u6570\u636E -->
		<div id="test-container-dom" class="hidden"></div>

		<!-- tab\u62D6\u62FD\u65F6\u751F\u6210\u6A21\u677F\u76D6\u4F4F\u753B\u5E03\u4EE5\u4F18\u5316\u4F53\u9A8C -->
		<div id="tabDragMask" class="hide"></div>
		<div id="waterMark-container"></div>

		`);l8.push(UZt());l8.push(`
	</body>
</html>
`);VZt.exports=l8.join("")});var uut=xe((Rcn,gzo)=>{gzo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/icomoon-AIWSOR64.eot"});var YZt=xe((_cn,bzo)=>{bzo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/icomoon-HQ2JFCHV.ttf"});var WZt=xe((jcn,yzo)=>{yzo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/icomoon-G2BEBX4O.woff"});var QZt=xe((Bcn,wzo)=>{wzo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/icomoon-CNWUUNJ5.svg"});var put=xe((zcn,Czo)=>{Czo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LDEwaC01Yy0wLjU1MiwwLTEsMC40NDgtMSwxdjNjMCwwLjU1MiwwLjQ0OCwxLDEsMWg1YzAuNTUyLDAsMS0wLjQ0OCwxLTF2LTNDMTYsMTAuNDQ4LDE1LjU1MiwxMCwxNSwxMHogTTE1LDE0aC01di0zaDUKCVYxNHoiLz4KPHBhdGggZD0iTTE1LDFoLTVDOS40NDgsMSw5LDEuNDQ4LDksMnYzYzAsMC41NTIsMC40NDgsMSwxLDFoNWMwLjU1MiwwLDEtMC40NDgsMS0xVjJDMTYsMS40NDgsMTUuNTUyLDEsMTUsMXogTTE1LDVoLTVWMmg1VjV6Ii8+CjxwYXRoIGQ9Ik02LjUsMTBoLTVDMS4yMjQsMTAsMSwxMC4yMjQsMSwxMC41QzEsMTAuNzc2LDEuMjI0LDExLDEuNSwxMWg1QzYuNzc2LDExLDcsMTAuNzc2LDcsMTAuNUM3LDEwLjIyNCw2Ljc3NiwxMCw2LjUsMTB6Ii8+CjxwYXRoIGQ9Ik02LjUsMWgtNUMxLjIyNCwxLDEsMS4yMjQsMSwxLjVDMSwxLjc3NiwxLjIyNCwyLDEuNSwyaDVDNi43NzYsMiw3LDEuNzc2LDcsMS41QzcsMS4yMjQsNi43NzYsMSw2LjUsMXoiLz4KPC9zdmc+Cg=="});var mut=xe((Fcn,xzo)=>{xzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNMTQuNzEsMy43MWwtMy40Mi0zLjQyQzExLjExLDAuMTEsMTAuODUsMCwxMC41OSwwSDNDMi40NSwwLDIsMC40NSwyLDF2MTNjMCwwLjU1LDAuNDUsMSwxLDFoNC41CgkJCUM3Ljc3NiwxNSw4LDE0Ljc3Niw4LDE0LjV2MEM4LDE0LjIyNCw3Ljc3NiwxNCw3LjUsMTRIM1YxaDd2M2MwLDAuNTUsMC40NSwxLDEsMWgzdjIuNUMxNCw3Ljc3NiwxNC4yMjQsOCwxNC41LDhoMAoJCQlDMTQuNzc2LDgsMTUsNy43NzYsMTUsNy41VjQuNDFDMTUsNC4xNSwxNC44OSwzLjg5LDE0LjcxLDMuNzF6IE0xMSw0VjEuNDFsMS4yOSwxLjNMMTMuNTksNEgxMXoiLz4KCQk8Zz4KCQkJPHBhdGggZD0iTTEzLjA3LDYuOTljLTAuMzEtMC4zNC0wLjgxLTAuNTItMS41MS0wLjUzYy0wLjQ2LDAtMC45MiwwLjA1LTEuMzcsMC4xM0M5Ljc1LDYuMTUsOS4zNyw1LjY1LDkuMDYsNS4xMQoJCQkJYzAuNC0xLjQzLDAuNC0yLjQxLTAuMDItMi45OUM4Ljc5LDEuNzksOC40MiwxLjYsOC4wNiwxLjZjLTAuNTItMC4wNi0xLDAuMi0xLjI0LDAuNjRDNi4zMywzLjA1LDYuNzMsNC4zMiw3LjIsNS4zCgkJCQlDNi45LDYuMiw2LjUyLDcuMDgsNi4wOCw3LjkyYy0yLjIyLDAuOTgtMi41MSwxLjctMi41MSwyLjIyYy0wLjAxLDAuNDcsMC4yNiwwLjkxLDAuNjQsMS4wOWMwLjE5LDAuMTEsMC40LDAuMTcsMC41OSwwLjE3CgkJCQljMC44MSwwLDEuNjMtMC42NywyLjQ4LTIuMTRDNy41Miw5LjE2LDcuNzYsOS4wNyw4LDguOTljMC41Ni0wLjIsMS4xNC0wLjM3LDEuNzEtMC41MWMwLjU3LDAuNDEsMS4yNSwwLjY1LDEuOTEsMC42OQoJCQkJYzAuMTUsMCwwLjMsMCwwLjQ0LTAuMDJjMC4zNS0wLjAzLDAuNjItMC4xMiwwLjgzLTAuMjljMC4yOC0wLjIxLDAuNDQtMC41MiwwLjQ3LTAuODZjMC4wMS0wLjA0LDAuMDEtMC4wOCwwLjAxLTAuMTIKCQkJCUMxMy4zOSw3LjU0LDEzLjI5LDcuMjMsMTMuMDcsNi45OXogTTQuODUsMTAuNGwtMC4xNC0wLjA1SDQuNjljLTAuMDctMC4wMy0wLjEzLTAuMTEtMC4xMi0wLjIxYzAtMC4wMiwwLjAyLTAuNDQsMS43Ni0xLjI0CgkJCQlDNS41LDEwLjI5LDQuOTksMTAuNCw0Ljg1LDEwLjR6IE03LjY4LDIuNzRDNy43MywyLjY1LDcuODIsMi42LDcuOTUsMi42SDhjMC4xLDAsMC4xOCwwLjA1LDAuMjMsMC4xMQoJCQkJYzAuMDYsMC4wOCwwLjMxLDAuNTUtMC4xNCwyLjE0QzcuNjUsMy45LDcuNDgsMy4wNyw3LjY4LDIuNzR6IE03LjAxLDguMjlDNy40Nyw3LjQyLDcuODUsNi41LDguMTYsNS41NgoJCQkJYzAuNCwwLjcxLDAuOSwxLjM1LDEuNSwxLjlDOC43Niw3LjY3LDcuODcsNy45NSw3LjAxLDguMjl6IE0xMi4yOSw4LjA2Yy0wLjA2LDAuMDUtMC4xNywwLjA4LTAuMzMsMC4xCgkJCQljLTAuMDksMC4wMS0wLjE5LDAuMDEtMC4yOSwwLjAxQzExLjQyLDguMTUsMTEuMTYsOC4xLDEwLjkxLDhjLTAuMjItMC4wOS0wLjQ0LTAuMi0wLjYzLTAuMzVjLTAuMDItMC4wMi0wLjAzLTAuMDMtMC4wNi0wLjA1CgkJCQljMC40NS0wLjA5LDAuOS0wLjE0LDEuMzQtMC4xNGMwLjU1LDAuMDEsMC43MywwLjE1LDAuNzcsMC4yYzAuMDEsMC4wMSwwLjA1LDAuMDUsMC4wNCwwLjE3YzAsMC4wNS0wLjAxLDAuMTItMC4wMywwLjE3CgkJCQlDMTIuMzMsOC4wMywxMi4zMSw4LjA1LDEyLjI5LDguMDZ6Ii8+CgkJPC9nPgoJPC9nPgo8L2c+CjxnPgoJPGc+CgkJPHBhdGggZD0iTTE0LjE0NiwxNC44NTRsLTIuMTIxLTIuMTIxYy0wLjE5NS0wLjE5NS0wLjE5NS0wLjUxMiwwLTAuNzA3bDAsMGMwLjE5NS0wLjE5NSwwLjUxMi0wLjE5NSwwLjcwNywwbDIuMTIxLDIuMTIxCgkJCWMwLjE5NSwwLjE5NSwwLjE5NSwwLjUxMiwwLDAuNzA3bDAsMEMxNC42NTgsMTUuMDQ5LDE0LjM0MiwxNS4wNDksMTQuMTQ2LDE0Ljg1NHoiLz4KCTwvZz4KCTxwb2x5Z29uIHBvaW50cz0iOS4zNjMsMTMuMjIxIDEzLjIyMSw5LjM2MyAxMi4zNjcsMTQuNzUyIDkuODksOS44OSAxNC43NTIsMTIuMzY3IAkiLz4KPC9nPgo8L3N2Zz4K"});var hut=xe((Ucn,Tzo)=>{Tzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTUsOUgyYy0wLjU1MiwwLTEsMC40NDgtMSwxdjVjMCwwLjU1MiwwLjQ0OCwxLDEsMWgzYzAuNTUyLDAsMS0wLjQ0OCwxLTF2LTVDNiw5LjQ0OCw1LjU1Miw5LDUsOXogTTUsMTVIMnYtNWgzVjE1eiIvPgo8cGF0aCBkPSJNMTQsOWgtM2MtMC41NTIsMC0xLDAuNDQ4LTEsMXY1YzAsMC41NTIsMC40NDgsMSwxLDFoM2MwLjU1MiwwLDEtMC40NDgsMS0xdi01QzE1LDkuNDQ4LDE0LjU1Miw5LDE0LDl6IE0xNCwxNWgtM3YtNWgzVjE1egoJIi8+CjxwYXRoIGQ9Ik0xLjUsN0MxLjc3Niw3LDIsNi43NzYsMiw2LjV2LTVDMiwxLjIyNCwxLjc3NiwxLDEuNSwxQzEuMjI0LDEsMSwxLjIyNCwxLDEuNXY1QzEsNi43NzYsMS4yMjQsNywxLjUsN3oiLz4KPHBhdGggZD0iTTEwLjUsN0MxMC43NzYsNywxMSw2Ljc3NiwxMSw2LjV2LTVDMTEsMS4yMjQsMTAuNzc2LDEsMTAuNSwxQzEwLjIyNCwxLDEwLDEuMjI0LDEwLDEuNXY1QzEwLDYuNzc2LDEwLjIyNCw3LDEwLjUsN3oiLz4KPC9zdmc+Cg=="});var fut=xe((Vcn,Szo)=>{Szo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTEyLDNIOC43NUM4LjM0LDMsOCwzLjM0LDgsMy43NXY4LjVDOCwxMi42Niw4LjM0LDEzLDguNzUsMTNIMTJjMi4yMSwwLDQtMS43OSw0LTRWN0MxNiw0Ljc5LDE0LjIxLDMsMTIsM3ogTTE1LDkKCWMwLDEuNjUtMS4zNSwzLTMsM0g5VjRoM2MxLjY1LDAsMywxLjM1LDMsM1Y5eiIvPgo8cGF0aCBkPSJNNS4zMyw4YzAuNzYtMC41NCwxLjI0LTEuNDUsMS4xNi0yLjQ2QzYuMzgsNC4wOCw1LjEsMywzLjY0LDNIMy41aC0zQzAuMjIsMywwLDMuMjIsMCwzLjVDMCwzLjc4LDAuMjIsNCwwLjUsNGgzaDAuMTkKCWMwLjgzLDAsMS42LDAuNTYsMS43NywxLjM3QzUuNyw2LjQ5LDQuODMsNy41LDMuNzUsNy41SDFDMC43Miw3LjUsMC41LDcuNzIsMC41LDhjMCwwLjI4LDAuMjIsMC41LDAuNSwwLjVoMi42OQoJYzAuODMsMCwxLjYsMC41NiwxLjc3LDEuMzdDNS43LDEwLjk5LDQuODMsMTIsMy43NSwxMkgzLjVoLTNDMC4yMiwxMiwwLDEyLjIyLDAsMTIuNUMwLDEyLjc4LDAuMjIsMTMsMC41LDEzaDNoMC4xNAoJYzEuNDYsMCwyLjc0LTEuMDgsMi44NS0yLjU0QzYuNTcsOS40NSw2LjA5LDguNTQsNS4zMyw4eiIvPgo8L3N2Zz4K"});var gut=xe((Hcn,Mzo)=>{Mzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZmlsbD0iIzAwMDBGRiIgZD0iTTEyLDNIOC43NUM4LjM0LDMsOCwzLjM0LDgsMy43NXY4LjVDOCwxMi42Niw4LjM0LDEzLDguNzUsMTNIMTJjMi4yMSwwLDQtMS43OSw0LTRWN0MxNiw0Ljc5LDE0LjIxLDMsMTIsM3ogTTE1LDkKCWMwLDEuNjUtMS4zNSwzLTMsM0g5VjRoM2MxLjY1LDAsMywxLjM1LDMsM1Y5eiIvPgo8cGF0aCBmaWxsPSIjMDAwMEZGIiBkPSJNNS4zMyw4YzAuNzYtMC41NCwxLjI0LTEuNDUsMS4xNi0yLjQ2QzYuMzgsNC4wOCw1LjEsMywzLjY0LDNIMy41aC0zQzAuMjIsMywwLDMuMjIsMCwzLjVDMCwzLjc4LDAuMjIsNCwwLjUsNGgzaDAuMTkKCWMwLjgzLDAsMS42LDAuNTYsMS43NywxLjM3QzUuNyw2LjQ5LDQuODMsNy41LDMuNzUsNy41SDFDMC43Miw3LjUsMC41LDcuNzIsMC41LDhjMCwwLjI4LDAuMjIsMC41LDAuNSwwLjVoMi42OQoJYzAuODMsMCwxLjYsMC41NiwxLjc3LDEuMzdDNS43LDEwLjk5LDQuODMsMTIsMy43NSwxMkgzLjVoLTNDMC4yMiwxMiwwLDEyLjIyLDAsMTIuNUMwLDEyLjc4LDAuMjIsMTMsMC41LDEzaDNoMC4xNAoJYzEuNDYsMCwyLjc0LTEuMDgsMi44NS0yLjU0QzYuNTcsOS40NSw2LjA5LDguNTQsNS4zMyw4eiIvPgo8L3N2Zz4K"});var but=xe((Gcn,Izo)=>{Izo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZmlsbD0iIzAwOTkwMCIgZD0iTTEyLDNIOC43NUM4LjM0LDMsOCwzLjM0LDgsMy43NXY4LjVDOCwxMi42Niw4LjM0LDEzLDguNzUsMTNIMTJjMi4yMSwwLDQtMS43OSw0LTRWN0MxNiw0Ljc5LDE0LjIxLDMsMTIsM3ogTTE1LDkKCWMwLDEuNjUtMS4zNSwzLTMsM0g5VjRoM2MxLjY1LDAsMywxLjM1LDMsM1Y5eiIvPgo8cGF0aCBmaWxsPSIjMDA5OTAwIiBkPSJNNS4zMyw4YzAuNzYtMC41NCwxLjI0LTEuNDUsMS4xNi0yLjQ2QzYuMzgsNC4wOCw1LjEsMywzLjY0LDNIMy41aC0zQzAuMjIsMywwLDMuMjIsMCwzLjVDMCwzLjc4LDAuMjIsNCwwLjUsNGgzaDAuMTkKCWMwLjgzLDAsMS42LDAuNTYsMS43NywxLjM3QzUuNyw2LjQ5LDQuODMsNy41LDMuNzUsNy41SDFDMC43Miw3LjUsMC41LDcuNzIsMC41LDhjMCwwLjI4LDAuMjIsMC41LDAuNSwwLjVoMi42OQoJYzAuODMsMCwxLjYsMC41NiwxLjc3LDEuMzdDNS43LDEwLjk5LDQuODMsMTIsMy43NSwxMkgzLjVoLTNDMC4yMiwxMiwwLDEyLjIyLDAsMTIuNUMwLDEyLjc4LDAuMjIsMTMsMC41LDEzaDNoMC4xNAoJYzEuNDYsMCwyLjc0LTEuMDgsMi44NS0yLjU0QzYuNTcsOS40NSw2LjA5LDguNTQsNS4zMyw4eiIvPgo8L3N2Zz4K"});var g8e=xe((Ycn,Lzo)=>{Lzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTE1LDJIMUMwLjQ0OCwyLDAsMi40NDgsMCwzdjEwYzAsMC41NTIsMC40NDgsMSwxLDFoMTRjMC41NTIsMCwxLTAuNDQ4LDEtMVYzQzE2LDIuNDQ4LDE1LjU1MiwyLDE1LDJ6IE0xNSwxM0gxVjNoMTRWMTN6IgoJCS8+Cgk8Y2lyY2xlIGN4PSIzIiBjeT0iNSIgcj0iMSIvPgoJPGNpcmNsZSBjeD0iMTMiIGN5PSI1IiByPSIxIi8+Cgk8Y2lyY2xlIGN4PSIzIiBjeT0iMTEiIHI9IjEiLz4KCTxjaXJjbGUgY3g9IjEzIiBjeT0iMTEiIHI9IjEiLz4KPC9nPgo8L3N2Zz4K"});var Qce=xe((Wcn,vzo)=>{vzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE0LjI0MywzLjc1N2MtMC4xOTUtMC4xOTUtMC41MTItMC4xOTUtMC43MDcsMGwtNy40MjUsNy40MjVMMi4yMjIsNy4yOTNjLTAuMTk1LTAuMTk1LTAuNTEyLTAuMTk1LTAuNzA3LDAKCVMxLjMyLDcuODA1LDEuNTE1LDhsNC4yNDIsNC4yNDNjMC4xOTUsMC4xOTUsMC41MTIsMC4xOTUsMC43MDcsMGMwLDAsMCwwLDAsMGMwLDAsMCwwLDAuMDAxLDBsNy43NzgtNy43NzgKCUMxNC40MzgsNC4yNjksMTQuNDM4LDMuOTUzLDE0LjI0MywzLjc1N3oiLz4KPC9zdmc+Cg=="});var b8e=xe((Qcn,Dzo)=>{Dzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgoJPHBhdGggZD0iTTExLDRjMi4yMDYsMCw0LDEuNzk0LDQsNHMtMS43OTQsNC00LDRINWMtMi4yMDYsMC00LTEuNzk0LTQtNGMwLTIuMjA2LDEuNzk0LTQsNC00SDExIE0xMSwzSDVDMi4yNSwzLDAsNS4yNSwwLDh2MAoJCWMwLDIuNzUsMi4yNSw1LDUsNWg2YzIuNzUsMCw1LTIuMjUsNS01djBDMTYsNS4yNSwxMy43NSwzLDExLDNMMTEsM3oiLz4KPC9nPgo8L3N2Zz4K"});var yut=xe((Kcn,Ezo)=>{Ezo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNMTEuNDk3LDAuMjA4Yy0wLjI1NiwwLTAuNTEyLDAuMDk4LTAuNzA3LDAuMjkzTDAuNTAxLDEwLjc4OWMtMC4zOTEsMC4zOTEtMC4zOTEsMS4wMjQsMCwxLjQxNGwzLjI5NSwzLjI5NQoJCQljMC4xOTUsMC4xOTUsMC40NTEsMC4yOTMsMC43MDcsMC4yOTNjMC4yNTYsMCwwLjUxMi0wLjA5OCwwLjcwNy0wLjI5M0wxNS40OTksNS4yMWMwLjM5MS0wLjM5MSwwLjM5MS0xLjAyNCwwLTEuNDE0bC0zLjI5NS0zLjI5NQoJCQlDMTIuMDA5LDAuMzA2LDExLjc1MywwLjIwOCwxMS40OTcsMC4yMDhMMTEuNDk3LDAuMjA4eiBNNC41MDMsMTQuNzkybC0zLjI5NS0zLjI5NUwxMS40OTcsMS4yMDhsMy4yOTUsMy4yOTVMNC41MDMsMTQuNzkyCgkJCUw0LjUwMywxNC43OTJ6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBkPSJNMy42MjEsMTAuNDU2Yy0wLjEyOCwwLTAuMjU2LDAuMDQ5LTAuMzU0LDAuMTQ2Yy0wLjE5NSwwLjE5NS0wLjE5NSwwLjUxMiwwLDAuNzA3bDEuNjAzLDEuNjAzCgkJCWMwLjA5OCwwLjA5OCwwLjIyNiwwLjE0NiwwLjM1NCwwLjE0NnMwLjI1Ni0wLjA0OSwwLjM1My0wLjE0NmMwLjE5NS0wLjE5NSwwLjE5NS0wLjUxMiwwLTAuNzA3bC0xLjYwMy0xLjYwMwoJCQlDMy44NzcsMTAuNTA0LDMuNzQ5LDEwLjQ1NiwzLjYyMSwxMC40NTZMMy42MjEsMTAuNDU2eiIvPgoJPC9nPgoJPGc+CgkJPHBhdGggZD0iTTYuMjU1LDkuNDI0QzYuMTI3LDkuNDI0LDYsOS40NzMsNS45MDIsOS41N2MtMC4xOTUsMC4xOTUtMC4xOTUsMC41MTIsMCwwLjcwN2wwLjgwMSwwLjgwMQoJCQljMC4wOTgsMC4wOTgsMC4yMjYsMC4xNDYsMC4zNTQsMC4xNDZzMC4yNTYtMC4wNDksMC4zNTQtMC4xNDZjMC4xOTUtMC4xOTUsMC4xOTUtMC41MTIsMC0wLjcwN0w2LjYwOSw5LjU3CgkJCUM2LjUxMSw5LjQ3Myw2LjM4Myw5LjQyNCw2LjI1NSw5LjQyNEw2LjI1NSw5LjQyNHoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik03LjI4Nyw2Ljc4OWMtMC4xMjgsMC0wLjI1NiwwLjA0OS0wLjM1NCwwLjE0NmMtMC4xOTUsMC4xOTUtMC4xOTUsMC41MTIsMCwwLjcwN2wxLjYwMywxLjYwMwoJCQlDOC42MzQsOS4zNDMsOC43NjIsOS4zOTIsOC44OSw5LjM5MmMwLjEyOCwwLDAuMjU2LTAuMDQ5LDAuMzU0LTAuMTQ2YzAuMTk1LTAuMTk1LDAuMTk1LTAuNTEyLDAtMC43MDdMNy42NDEsNi45MzUKCQkJQzcuNTQzLDYuODM4LDcuNDE1LDYuNzg5LDcuMjg3LDYuNzg5TDcuMjg3LDYuNzg5eiIvPgoJPC9nPgoJPGc+CgkJPHBhdGggZD0iTTkuOTIyLDUuNzU3Yy0wLjEyOCwwLTAuMjU2LDAuMDQ5LTAuMzU0LDAuMTQ2Yy0wLjE5NSwwLjE5NS0wLjE5NSwwLjUxMiwwLDAuNzA3bDAuODAxLDAuODAxCgkJCWMwLjA5OCwwLjA5OCwwLjIyNiwwLjE0NiwwLjM1NCwwLjE0NmMwLjEyOCwwLDAuMjU2LTAuMDQ5LDAuMzU0LTAuMTQ2YzAuMTk1LTAuMTk1LDAuMTk1LTAuNTEyLDAtMC43MDdsLTAuODAyLTAuODAxCgkJCUMxMC4xNzgsNS44MDYsMTAuMDUsNS43NTcsOS45MjIsNS43NTdMOS45MjIsNS43NTd6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBkPSJNMTAuOTU0LDMuMTIyYy0wLjEyOCwwLTAuMjU2LDAuMDQ5LTAuMzU0LDAuMTQ2Yy0wLjE5NSwwLjE5NS0wLjE5NSwwLjUxMiwwLDAuNzA3bDEuNjAzLDEuNjAzCgkJCWMwLjA5OCwwLjA5OCwwLjIyNiwwLjE0NiwwLjM1NCwwLjE0NnMwLjI1Ni0wLjA0OSwwLjM1NC0wLjE0NmMwLjE5NS0wLjE5NSwwLjE5NS0wLjUxMiwwLTAuNzA3bC0xLjYwMy0xLjYwMwoJCQlDMTEuMjEsMy4xNzEsMTEuMDgyLDMuMTIyLDEwLjk1NCwzLjEyMkwxMC45NTQsMy4xMjJ6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var y8e=xe((Zcn,Azo)=>{Azo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNNS43OTMsOC4wODZjLTAuMTk1LTAuMTk1LTAuNTEyLTAuMTk1LTAuNzA3LDBjLTAuMTk1LDAuMTk1LTAuMTk1LDAuNTEyLDAsMC43MDdMNS43OTMsOS41bC00LjMyNyw0LjMyN2wwLjI5NC0xLjA5NQoJCWMwLjA3MS0wLjI2Ny0wLjA4Ny0wLjU0MS0wLjM1NC0wLjYxMnMtMC41NDEsMC4wODctMC42MTIsMC4zNTRMMC4wMTcsMTUuMzdjLTAuMDAzLDAuMDEsMCwwLjAyLTAuMDAyLDAuMDMxCgkJYy0wLjAwNCwwLjAyMS0wLjAwNywwLjA0Mi0wLjAwOCwwLjA2M2MtMC4wMDIsMC4wMjQtMC4wMDIsMC4wNDcsMCwwLjA3MWMwLjAwMiwwLjAyMiwwLjAwNCwwLjA0MywwLjAwOSwwLjA2NAoJCWMwLjAwMiwwLjAxLTAuMDAxLDAuMDIsMC4wMDIsMC4wM2MwLjAwMywwLjAxLDAuMDEsMC4wMTcsMC4wMTMsMC4wMjZjMC4wMDcsMC4wMjEsMC4wMTYsMC4wNDEsMC4wMjYsMC4wNjIKCQljMC4wMSwwLjAyMSwwLjAyMSwwLjA0LDAuMDM0LDAuMDU5YzAuMDEyLDAuMDE4LDAuMDI0LDAuMDM1LDAuMDM5LDAuMDUxYzAuMDA3LDAuMDA4LDAuMDEsMC4wMTgsMC4wMTcsMC4wMjYKCQlzMC4wMTgsMC4wMSwwLjAyNiwwLjAxN2MwLjAxNiwwLjAxNCwwLjAzMywwLjAyNywwLjA1MSwwLjAzOWMwLjAxOSwwLjAxMywwLjAzOCwwLjAyNCwwLjA1OSwwLjAzNAoJCWMwLjAyMSwwLjAxLDAuMDQsMC4wMTksMC4wNjIsMC4wMjZjMC4wMDksMC4wMDMsMC4wMTYsMC4wMSwwLjAyNiwwLjAxM2MwLjAxLDAuMDAzLDAuMDIsMCwwLjAzLDAuMDAyCgkJYzAuMDIxLDAuMDA0LDAuMDQyLDAuMDA3LDAuMDY0LDAuMDA5YzAuMDI0LDAuMDAyLDAuMDQ3LDAuMDAyLDAuMDcxLDBjMC4wMjItMC4wMDIsMC4wNDItMC4wMDQsMC4wNjMtMC4wMDgKCQljMC4wMS0wLjAwMiwwLjAyLDAuMDAxLDAuMDMxLTAuMDAybDIuODk4LTAuNzc2YzAuMjY3LTAuMDcxLDAuNDI1LTAuMzQ2LDAuMzU0LTAuNjEycy0wLjM0Ni0wLjQyNS0wLjYxMi0wLjM1NGwtMS4wOTYsMC4yOTQKCQlMNi41LDEwLjIwN2wwLjcwNywwLjcwN2MwLjE5NSwwLjE5NSwwLjUxMiwwLjE5NSwwLjcwNywwYzAuMTk1LTAuMTk1LDAuMTk1LTAuNTEyLDAtMC43MDdMNS43OTMsOC4wODZ6Ii8+Cgk8cGF0aCBkPSJNMTUuOTkzLDAuNTM2YzAuMDAyLTAuMDI0LDAuMDAyLTAuMDQ3LDAtMC4wNzFjLTAuMDAyLTAuMDIyLTAuMDA0LTAuMDQzLTAuMDA5LTAuMDY0Yy0wLjAwMi0wLjAxLDAuMDAxLTAuMDItMC4wMDItMC4wMwoJCWMtMC4wMDMtMC4wMS0wLjAxLTAuMDE3LTAuMDEzLTAuMDI2Yy0wLjAwNy0wLjAyMi0wLjAxNi0wLjA0MS0wLjAyNi0wLjA2MmMtMC4wMS0wLjAyMS0wLjAyMS0wLjA0LTAuMDM0LTAuMDU5CgkJYy0wLjAxMi0wLjAxOC0wLjAyNS0wLjAzNS0wLjAzOS0wLjA1MWMtMC4wMDctMC4wMDgtMC4wMS0wLjAxOC0wLjAxNy0wLjAyNmMtMC4wMDgtMC4wMDgtMC4wMTgtMC4wMS0wLjAyNi0wLjAxNwoJCWMtMC4wMTYtMC4wMTQtMC4wMzMtMC4wMjYtMC4wNTEtMC4wMzljLTAuMDE5LTAuMDEzLTAuMDM4LTAuMDI0LTAuMDYtMC4wMzVjLTAuMDIxLTAuMDEtMC4wNC0wLjAxOS0wLjA2Mi0wLjAyNgoJCWMtMC4wMDktMC4wMDMtMC4wMTYtMC4wMS0wLjAyNi0wLjAxM2MtMC4wMS0wLjAwMy0wLjAyLDAtMC4wMy0wLjAwMmMtMC4wMjItMC4wMDUtMC4wNDItMC4wMDctMC4wNjUtMC4wMDkKCQljLTAuMDI0LTAuMDAyLTAuMDQ3LTAuMDAyLTAuMDcsMGMtMC4wMjIsMC4wMDItMC4wNDIsMC4wMDQtMC4wNjQsMC4wMDhjLTAuMDEsMC4wMDItMC4wMi0wLjAwMS0wLjAzLDAuMDAybC0yLjg5OCwwLjc3NgoJCWMtMC4yNjcsMC4wNzEtMC40MjUsMC4zNDYtMC4zNTQsMC42MTJjMC4wNzEsMC4yNjcsMC4zNDYsMC40MjUsMC42MTIsMC4zNTRsMS4wOTUtMC4yOTRMOS41LDUuNzkzTDguNzkzLDUuMDg2CgkJYy0wLjE5NS0wLjE5NS0wLjUxMi0wLjE5NS0wLjcwNywwYy0wLjE5NSwwLjE5NS0wLjE5NSwwLjUxMiwwLDAuNzA3bDIuMTIxLDIuMTIxYzAuMTk1LDAuMTk1LDAuNTEyLDAuMTk1LDAuNzA3LDAKCQljMC4xOTUtMC4xOTUsMC4xOTUtMC41MTIsMC0wLjcwN0wxMC4yMDcsNi41bDQuMzI3LTQuMzI3TDE0LjI0LDMuMjY5Yy0wLjA3MSwwLjI2NywwLjA4NywwLjU0MSwwLjM1NCwwLjYxMgoJCXMwLjU0MS0wLjA4NywwLjYxMi0wLjM1NGwwLjc3Ni0yLjg5OGMwLjAwMy0wLjAxLDAtMC4wMiwwLjAwMi0wLjAzMUMxNS45ODksMC41NzgsMTUuOTkxLDAuNTU3LDE1Ljk5MywwLjUzNnoiLz4KPC9nPgo8L3N2Zz4K"});var w8e=xe((Jcn,Nzo)=>{Nzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUsMmgtMy41QzExLjIyNCwyLDExLDIuMjI0LDExLDIuNUMxMSwyLjc3NiwxMS4yMjQsMywxMS41LDNIMTV2MTBIMVY5LjVDMSw5LjIyNCwwLjc3Niw5LDAuNSw5UzAsOS4yMjQsMCw5LjVWMTMKCQljMCwwLjU1LDAuNDUsMSwxLDFoMTRjMC41NSwwLDEtMC40NSwxLTFWM0MxNiwyLjQ1LDE1LjU1LDIsMTUsMnoiLz4KCTxwYXRoIGQ9Ik0wLjU5NiwzLjEyNUMyLjE4NCwyLjgxMywzLjcyMiwzLjA3LDUuMDQzLDMuODY3YzEuMTQ4LDAuNjkzLDIuMDEyLDEuNzc5LDIuNTIsMy4wNzFMNi4wNDcsNi4wMjMKCQlDNS44MTEsNS44OCw1LjUwMyw1Ljk1Niw1LjM2LDYuMTkzQzUuMjE4LDYuNDI5LDUuMjk0LDYuNzM3LDUuNTMsNi44NzlMOC4wOTgsOC40M2MwLjIzNiwwLjE0MywwLjU0NCwwLjA2NywwLjY4Ny0wLjE3CgkJbDEuNTUxLTIuNTY4YzAuMTQzLTAuMjM2LDAuMDY3LTAuNTQ0LTAuMTctMC42ODZjLTAuMjM2LTAuMTQzLTAuNTQ0LTAuMDY3LTAuNjg3LDAuMTdMOC41NjMsNi42OTIKCQlDNy45ODUsNS4xMzgsNi45MzcsMy44NDIsNS41NiwzLjAxMUM0LjA0NCwyLjA5NiwyLjIxMywxLjc4OCwwLjQwNCwyLjE0NEMwLjEzMiwyLjE5Ny0wLjA0NCwyLjQ2LDAuMDEsMi43MzEKCQlDMC4wNjMsMy4wMDMsMC4zMjYsMy4xNzksMC41OTYsMy4xMjV6Ii8+CjwvZz4KPC9zdmc+Cg=="});var wut=xe((qcn,kzo)=>{kzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+Cjx0aXRsZT5lZGEtcGNiLTHotYTmupAgMjwvdGl0bGU+CjxnPgoJPGcgaWQ9IiYjeDU2RkU7JiN4NUM0MjtfMS0yIj4KCQk8cmVjdCB4PSItMC4wMjUiIHk9IjAiIHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KCQk8cGF0aCBkPSJNMTMuNDc1LDExYy0xLjE2OSwwLjAyMy0yLjE2NiwwLjg1NC0yLjQsMmgtMi4xVjMuNWMwLTAuMjc2LTAuMjI0LTAuNS0wLjUtMC41aC0yLjZDNS41MDEsMS42NzEsNC4xMiwwLjg5NywyLjc5MSwxLjI3MgoJCQlDMS43NzYsMS41NTcsMS4wNSwyLjQ0OSwwLjk3NSwzLjVjMC4wOTgsMS4zNzcsMS4yOTQsMi40MTQsMi42NzIsMi4zMTZDNC42OTgsNS43NDEsNS41ODksNS4wMTQsNS44NzUsNGgyLjF2OS41CgkJCWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41aDIuNmMwLjI3NiwxLjM1MywxLjU5NywyLjIyNSwyLjk1LDEuOTQ5czIuMjI1LTEuNTk3LDEuOTQ5LTIuOTUKCQkJQzE1LjczMiwxMS44MTcsMTQuNjgxLDEwLjk3NiwxMy40NzUsMTF6IE0zLjQ3NSw1Yy0wLjgyOCwwLTEuNS0wLjY3Mi0xLjUtMS41UzIuNjQ3LDIsMy40NzUsMnMxLjUsMC42NzIsMS41LDEuNVM0LjMwMyw1LDMuNDc1LDUKCQkJeiBNMTMuNDc1LDE1Yy0wLjgyOCwwLTEuNS0wLjY3Mi0xLjUtMS41czAuNjcyLTEuNSwxLjUtMS41czEuNSwwLjY3MiwxLjUsMS41UzE0LjMwMywxNSwxMy40NzUsMTV6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var Cut=xe((Xcn,Pzo)=>{Pzo.exports="data:image/svg+xml;base64, "});var xut=xe(($cn,Ozo)=>{Ozo.exports="data:image/svg+xml;base64, "});var Tut=xe((edn,Rzo)=>{Rzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMS41LDFDMS4yMjQsMSwxLDEuMjEsMSwxLjQ2OXYxNC4wNjNDMSwxNS43OSwxLjIyNCwxNiwxLjUsMTZTMiwxNS43OSwyLDE1LjUzMVYxLjQ2OUMyLDEuMjEsMS43NzYsMSwxLjUsMXoiLz4KCTxwYXRoIGQ9Ik0xNCwzSDVDNC40NDgsMyw0LDMuNDQ4LDQsNHY5YzAsMC41NTIsMC40NDgsMSwxLDFoOWMwLjU1MiwwLDEtMC40NDgsMS0xVjRDMTUsMy40NDgsMTQuNTUyLDMsMTQsM3ogTTE0LDhoLTRWNGg0Vjh6IE05LDQKCQl2NEg1VjRIOXogTTUsOWg0djRINVY5eiBNMTAsMTNWOWg0djRIMTB6Ii8+CjwvZz4KPC9zdmc+Cg=="});var Sut=xe((tdn,_zo)=>{_zo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUuOTQ3LDEzLjA1OWwtMi4wMDktNC42MTVDMTMuODIyLDguMTc2LDEzLjUzMSw4LDEzLjIwNyw4SDIuNzkzQzIuNDY5LDgsMi4xNzgsOC4xNzYsMi4wNjIsOC40NDRsLTIuMDA5LDQuNjE1CgkJQy0wLjE0NCwxMy41MTMsMC4yMzQsMTQsMC43ODQsMTRoMTQuNDMyQzE1Ljc2NiwxNCwxNi4xNDQsMTMuNTEzLDE1Ljk0NywxMy4wNTl6IE0xLjE2OSwxM0wyLjkxLDlIMTMuMDlsMS43NDEsNEgxLjE2OXoiLz4KCTxwYXRoIGQ9Ik0zLjMzNiw1LjMzNmMxLjE4MS0xLjA3MiwyLjY2OS0xLjY2Myw0LjE5LTEuNjYzYzEuMzQyLDAsMi42NDMsMC40ODMsMy43NDUsMS4zMjdIMTAuNUMxMC4yMjQsNSwxMCw1LjIyNCwxMCw1LjUKCQlDMTAsNS43NzYsMTAuMjI0LDYsMTAuNSw2aDJDMTIuNzc2LDYsMTMsNS43NzYsMTMsNS41di0yQzEzLDMuMjI0LDEyLjc3NiwzLDEyLjUsM1MxMiwzLjIyNCwxMiwzLjV2MC43NzMKCQljLTEuMjk4LTEuMDMyLTIuODY2LTEuNTk5LTQuNDc0LTEuNTk5Yy0xLjc3LDAtMy40OTcsMC42ODMtNC44NjIsMS45MjNDMi40NTksNC43ODIsMi40NDQsNS4wOTgsMi42Myw1LjMwMgoJCUMyLjgxNiw1LjUwOCwzLjEzMiw1LjUyMiwzLjMzNiw1LjMzNnoiLz4KPC9nPgo8L3N2Zz4K"});var Mut=xe((idn,jzo)=>{jzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgoJPHBhdGggZD0iTTE1LjUsNUg4Ljk2QzguNzIsMy4zMSw3LjI2LDIsNS41LDJDMy41NywyLDIsMy41NywyLDUuNWMwLDEuNzYsMS4zMSwzLjIyLDMsMy40NnY2LjU0QzUsMTUuNzc2LDUuMjI0LDE2LDUuNSwxNgoJCVM2LDE1Ljc3Niw2LDE1LjVWOC45NkM3LjUzLDguNzQsOC43NCw3LjUzLDguOTYsNmg2LjU0QzE1Ljc3Niw2LDE2LDUuNzc2LDE2LDUuNUMxNiw1LjIyNCwxNS43NzYsNSwxNS41LDV6IE01LjUsOAoJCUM0LjEyLDgsMyw2Ljg4LDMsNS41UzQuMTIsMyw1LjUsM1M4LDQuMTIsOCw1LjVTNi44OCw4LDUuNSw4eiIvPgo8L2c+Cjwvc3ZnPgo="});var Iut=xe((odn,Bzo)=>{Bzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgoJPGc+CgkJPHBhdGggZD0iTTEyLjk1LDMuMDVDMTEuNTgsMS42OCw5Ljc5LDEsOCwxUzQuNDIsMS42OCwzLjA1LDMuMDVjLTIuNzMsMi43My0yLjczLDcuMTcsMCw5LjlDNC40MiwxNC4zMiw2LjIxLDE1LDgsMTUKCQkJczMuNTgtMC42OCw0Ljk1LTIuMDVDMTUuNjgsMTAuMjIsMTUuNjgsNS43OCwxMi45NSwzLjA1eiBNMTIuMjQsMTIuMjRDMTEuMTEsMTMuMzgsOS42LDE0LDgsMTRzLTMuMTEtMC42Mi00LjI0LTEuNzYKCQkJYy0yLjM0LTIuMzQtMi4zNC02LjE0LDAtOC40OEM0Ljg5LDIuNjIsNi40LDIsOCwyczMuMTEsMC42Miw0LjI0LDEuNzZDMTQuNTgsNi4xLDE0LjU4LDkuOSwxMi4yNCwxMi4yNHoiLz4KCQk8cGF0aCBkPSJNOCw0QzYuOTgsNCw1Ljk1LDQuMzksNS4xNyw1LjE3Yy0xLjU2LDEuNTYtMS41Niw0LjEsMCw1LjY2QzUuOTUsMTEuNjEsNi45OCwxMiw4LDEyczIuMDUtMC4zOSwyLjgzLTEuMTcKCQkJYzEuNTYtMS41NiwxLjU2LTQuMSwwLTUuNjZDMTAuMDUsNC4zOSw5LjAyLDQsOCw0eiBNMTAuMTIsMTAuMTJDOS41NSwxMC42OSw4LjgsMTEsOCwxMXMtMS41NS0wLjMxLTIuMTItMC44OAoJCQljLTEuMTctMS4xNy0xLjE3LTMuMDcsMC00LjI0QzYuNDUsNS4zMSw3LjIsNSw4LDVzMS41NSwwLjMxLDIuMTIsMC44OEMxMS4yOSw3LjA1LDExLjI5LDguOTUsMTAuMTIsMTAuMTJ6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var Lut=xe((rdn,zzo)=>{zzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgoJPGc+CgkJPHBhdGggZD0iTTgsNC41YzAuNTgsMCwxLjE1LTAuMjIsMS41OS0wLjY2YzAuODgtMC44OCwwLjg4LTIuMywwLTMuMThDOS4xNSwwLjIyLDguNTgsMCw4LDBTNi44NSwwLjIyLDYuNDEsMC42NgoJCQljLTAuODgsMC44OC0wLjg4LDIuMywwLDMuMThDNi44NSw0LjI4LDcuNDIsNC41LDgsNC41eiBNNy4xMiwxLjM3QzcuMzUsMS4xMyw3LjY3LDEsOCwxczAuNjUsMC4xMywwLjg4LDAuMzcKCQkJYzAuNDksMC40OCwwLjQ5LDEuMjgsMCwxLjc2QzguNjUsMy4zNyw4LjMzLDMuNSw4LDMuNVM3LjM1LDMuMzcsNy4xMiwzLjEzQzYuNjMsMi42NSw2LjYzLDEuODUsNy4xMiwxLjM3eiIvPgoJCTxwYXRoIGQ9Ik04LDUuNzVjLTAuNTgsMC0xLjE1LDAuMjItMS41OSwwLjY2Yy0wLjg4LDAuODgtMC44OCwyLjMsMCwzLjE4YzAuNDQsMC40NCwxLjAxLDAuNjYsMS41OSwwLjY2czEuMTUtMC4yMiwxLjU5LTAuNjYKCQkJYzAuODgtMC44OCwwLjg4LTIuMywwLTMuMThDOS4xNSw1Ljk3LDguNTgsNS43NSw4LDUuNzV6IE04Ljg4LDguODhDOC42NSw5LjEyLDguMzMsOS4yNSw4LDkuMjVTNy4zNSw5LjEyLDcuMTIsOC44OAoJCQljLTAuNDktMC40OC0wLjQ5LTEuMjgsMC0xLjc2QzcuMzUsNi44OCw3LjY3LDYuNzUsOCw2Ljc1czAuNjUsMC4xMywwLjg4LDAuMzdDOS4zNyw3LjYsOS4zNyw4LjQsOC44OCw4Ljg4eiIvPgoJCTxwYXRoIGQ9Ik04LDExLjVjLTAuNTgsMC0xLjE1LDAuMjItMS41OSwwLjY2Yy0wLjg4LDAuODgtMC44OCwyLjMsMCwzLjE4QzYuODUsMTUuNzgsNy40MiwxNiw4LDE2czEuMTUtMC4yMiwxLjU5LTAuNjYKCQkJYzAuODgtMC44OCwwLjg4LTIuMywwLTMuMThDOS4xNSwxMS43Miw4LjU4LDExLjUsOCwxMS41eiBNOC44OCwxNC42M0M4LjY1LDE0Ljg3LDguMzMsMTUsOCwxNXMtMC42NS0wLjEzLTAuODgtMC4zNwoJCQljLTAuNDktMC40OC0wLjQ5LTEuMjgsMC0xLjc2QzcuMzUsMTIuNjMsNy42NywxMi41LDgsMTIuNXMwLjY1LDAuMTMsMC44OCwwLjM3QzkuMzcsMTMuMzUsOS4zNywxNC4xNSw4Ljg4LDE0LjYzeiIvPgoJPC9nPgo8L2c+Cjwvc3ZnPgo="});var vut=xe((ndn,Fzo)=>{Fzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTMuNSwxMS4xQzMuMiwxMSwyLjksMTEsMi43LDExYy0xLjEsMC4yLTEuOCwxLjItMS42LDIuM2MwLjEsMC44LDAuNywxLjQsMS40LDEuNkMyLjgsMTUsMywxNSwzLjQsMTUKCQljMS4xLTAuMiwxLjgtMS4yLDEuNi0yLjNDNC44LDExLjksNC4yLDExLjMsMy41LDExLjF6IE0zLjIsMTRjLTAuMSwwLTAuMywwLTAuNCwwYy0wLjQtMC4xLTAuNy0wLjQtMC43LTAuOAoJCWMtMC4xLTAuNSwwLjMtMS4xLDAuOC0xLjJjMC4xLDAsMC4zLDAsMC40LDBjMC40LDAuMSwwLjcsMC40LDAuNywwLjhDNC4xLDEzLjQsMy43LDEzLjksMy4yLDE0eiIvPgoJPHBhdGggZD0iTTE0LjksOS4xYy0wLjktMC42LTEuMS0xLjgtMC41LTIuN2MwLDAsMCwwLDAtMC4xbDAuNC0wLjVjMC40LTAuNiwwLjYtMS40LDAuNC0yLjFjLTAuMS0wLjgtMC41LTEuNS0xLjItMgoJCWMtMC4zLTAuMi0wLjYtMC40LTAuOS0wLjRjLTEuMi0wLjMtMi41LDAuMS0zLjIsMS4ybDAsMGMwLDAsMCwwLDAsMGwwLDBMOC45LDEuOWwtMi44LDRsMCwxLjdMNC42LDkuOGMtMC4xLDAuMi0wLjEsMC41LDAsMC43CgkJYzAuMSwwLjEsMC4xLDAuMSwwLjIsMC4xYzAuMiwwLjEsMC40LDAsMC41LTAuMkw3LDguMmwwLDBsMS42LTAuNmwwLjEtMC4xbDAuNi0wLjlsMi4xLTNsLTAuOC0wLjZsMCwwbDAsMGMwLjUtMC43LDEuMy0xLDIuMi0wLjgKCQljMC4yLDAuMSwwLjQsMC4yLDAuNiwwLjNjMC40LDAuMywwLjcsMC44LDAuOCwxLjNjMC4xLDAuNSwwLDEtMC4zLDEuNWwtMC4zLDAuNWMwLDAsMCwwLDAsMGMtMC41LDAuNy0wLjYsMS41LTAuNSwyLjIKCQljMC4xLDAuNywwLjYsMS40LDEuMiwxLjljMC4xLDAuMSwwLjIsMC4xLDAuMiwwLjJjMC4zLDAuMiwwLjYsMCwwLjctMC4zdjBjMC4xLTAuMiwwLTAuNS0wLjItMC42QzE1LDkuMiwxNC45LDkuMSwxNC45LDkuMXoiLz4KPC9nPgo8L3N2Zz4K"});var Dut=xe((adn,Uzo)=>{Uzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8xIiBkYXRhLW5hbWU9IuWbvuWxgiAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogIzAwMDsKICAgICAgICBzdHJva2Utd2lkdGg6IDBweDsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPHBhdGggY2xhc3M9ImNscy0xIgogICAgZD0iTTE1LDN2MTFIMVYzaDE0TTE1LDJIMUMuNDUsMiwwLDIuNDUsMCwzdjExQzAsMTQuNTUuNDUsMTUsMSwxNWgxNGMuNTUsMCwxLS40NSwxLTFWM2MwLS41NS0uNDUtMS0xLTFoMFoiIC8+CiAgPHJlY3QgY2xhc3M9ImNscy0xIiB4PSI0IiB5PSI0IiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiAvPgogIDxyZWN0IGNsYXNzPSJjbHMtMSIgeD0iMyIgeT0iNSIgd2lkdGg9IjEiIGhlaWdodD0iMSIgLz4KICA8cmVjdCBjbGFzcz0iY2xzLTEiIHg9IjIiIHk9IjYiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIC8+CiAgPHJlY3QgY2xhc3M9ImNscy0xIiB4PSI0IiB5PSI1IiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiAvPgogIDxyZWN0IGNsYXNzPSJjbHMtMSIgeD0iNSIgeT0iNSIgd2lkdGg9IjEiIGhlaWdodD0iMSIgLz4KICA8cmVjdCBjbGFzcz0iY2xzLTEiIHg9IjMiIHk9IjYiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIC8+CiAgPHJlY3QgY2xhc3M9ImNscy0xIiB4PSI0IiB5PSI2IiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiAvPgogIDxyZWN0IGNsYXNzPSJjbHMtMSIgeD0iNSIgeT0iNiIgd2lkdGg9IjEiIGhlaWdodD0iMSIgLz4KICA8cmVjdCBjbGFzcz0iY2xzLTEiIHg9IjYiIHk9IjYiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIC8+Cjwvc3ZnPg=="});var Eut=xe((sdn,Vzo)=>{Vzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMTMsNy4yMzhjMCwwLjQxNiwwLjI1OCwwLjc4OSwwLjY0OCwwLjkzNmwxLjY3NiwwLjYzMUMxNS42NSw4LjkyOSwxNiw4LjY4NywxNiw4LjMzN3YtMC4wMQoJCWMwLTAuMjA5LTAuMTI5LTAuMzk1LTAuMzI1LTAuNDY5TDE0LDcuMjNWNC41YzAuMDItMC4zOC0wLjItMC43Ni0wLjYzLTAuOTJMOS4zOCwyLjA2QzkuMjcsMi4wMiw5LjE1LDIsOS4wMywyCgkJYy0wLjI1LDAtMC41LDAuMDktMC42OSwwLjI3bC04LjA1LDcuNjJjLTAuNSwwLjQ3LTAuMzMsMS4yOCwwLjM0LDEuNTNsMy45OSwxLjUyYzAuMDEsMCwwLjAzLDAuMDEsMC4wNCwwLjAxCgkJQzQuNzYsMTIuOTgsNC44NiwxMyw0Ljk3LDEzYzAuMDYsMCw2LjA3LTEuMDYsNi4wNy0xLjA2aDAuMDFsNC4yNzMsMS42MTRDMTUuNjUsMTMuNjc4LDE2LDEzLjQzNiwxNiwxMy4wODZ2MAoJCWMwLTAuMjA4LTAuMTI5LTAuMzk1LTAuMzI0LTAuNDY4bC00LjI2LTEuNjExYy0wLjE2OC0wLjA2My0wLjM1LTAuMDgxLTAuNTI2LTAuMDVMNi43NywxMS42OGwyLjgxLTIuNjZsNS43NDMsMi4xNjUKCQlDMTUuNjUsMTEuMzA4LDE2LDExLjA2NywxNiwxMC43MTd2LTAuMDFjMC0wLjIwOC0wLjEyOS0wLjM5NS0wLjMyNC0wLjQ2OEwxMC40LDguMjVMMTMsNS43OFY3LjIzOHogTTQuOTcsMTJsLTMuOS0xLjQ4TDkuMDMsMwoJCWwzLjksMS40OEw0Ljk3LDEyeiIvPgoJPGVsbGlwc2UgY3g9IjkiIGN5PSI1LjUiIHJ4PSIxIiByeT0iMC43NSIvPgoJPGVsbGlwc2UgY3g9IjUiIGN5PSI5LjUiIHJ4PSIxIiByeT0iMC43NSIvPgo8L2c+Cjwvc3ZnPgo="});var Aut=xe((ldn,Hzo)=>{Hzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMy4yNSwwQzIuNjcsMCwyLjEsMC4yMiwxLjY2LDAuNjZjLTAuODgsMC44OC0wLjg4LDIuMywwLDMuMThDMi4xLDQuMjgsMi42Nyw0LjUsMy4yNSw0LjVTNC40LDQuMjgsNC44NCwzLjg0CgkJYzAuODgtMC44OCwwLjg4LTIuMywwLTMuMThDNC40LDAuMjIsMy44MywwLDMuMjUsMHogTTQuMTMsMy4xM0MzLjksMy4zNywzLjU4LDMuNSwzLjI1LDMuNVMyLjYsMy4zNywyLjM3LDMuMTMKCQljLTAuNDktMC40OC0wLjQ5LTEuMjgsMC0xLjc2QzIuNiwxLjEzLDIuOTIsMSwzLjI1LDFTMy45LDEuMTMsNC4xMywxLjM3QzQuNjIsMS44NSw0LjYyLDIuNjUsNC4xMywzLjEzeiIvPgoJPHBhdGggZD0iTTMuMjUsNS43NWMtMC41OCwwLTEuMTUsMC4yMi0xLjU5LDAuNjZjLTAuODgsMC44OC0wLjg4LDIuMywwLDMuMThjMC40NCwwLjQ0LDEuMDEsMC42NiwxLjU5LDAuNjZzMS4xNS0wLjIyLDEuNTktMC42NgoJCWMwLjg4LTAuODgsMC44OC0yLjMsMC0zLjE4QzQuNCw1Ljk3LDMuODMsNS43NSwzLjI1LDUuNzV6IE00LjEzLDguODhDMy45LDkuMTIsMy41OCw5LjI1LDMuMjUsOS4yNVMyLjYsOS4xMiwyLjM3LDguODgKCQljLTAuNDktMC40OC0wLjQ5LTEuMjgsMC0xLjc2QzIuNiw2Ljg4LDIuOTIsNi43NSwzLjI1LDYuNzVTMy45LDYuODgsNC4xMyw3LjEyQzQuNjIsNy42LDQuNjIsOC40LDQuMTMsOC44OHoiLz4KCTxwYXRoIGQ9Ik0zLjI1LDExLjVjLTAuNTgsMC0xLjE1LDAuMjItMS41OSwwLjY2Yy0wLjg4LDAuODgtMC44OCwyLjMsMCwzLjE4QzIuMSwxNS43OCwyLjY3LDE2LDMuMjUsMTZzMS4xNS0wLjIyLDEuNTktMC42NgoJCWMwLjg4LTAuODgsMC44OC0yLjMsMC0zLjE4QzQuNCwxMS43MiwzLjgzLDExLjUsMy4yNSwxMS41eiBNNC4xMywxNC42M0MzLjksMTQuODcsMy41OCwxNSwzLjI1LDE1cy0wLjY1LTAuMTMtMC44OC0wLjM3CgkJYy0wLjQ5LTAuNDgtMC40OS0xLjI4LDAtMS43NmMwLjIzLTAuMjQsMC41NS0wLjM3LDAuODgtMC4zN3MwLjY1LDAuMTMsMC44OCwwLjM3QzQuNjIsMTMuMzUsNC42MiwxNC4xNSw0LjEzLDE0LjYzeiIvPgoJPHBhdGggZD0iTTEyLjc1LDQuNWMwLjU4LDAsMS4xNS0wLjIyLDEuNTktMC42NmMwLjg4LTAuODgsMC44OC0yLjMsMC0zLjE4QzEzLjksMC4yMiwxMy4zMywwLDEyLjc1LDBzLTEuMTUsMC4yMi0xLjU5LDAuNjYKCQljLTAuODgsMC44OC0wLjg4LDIuMywwLDMuMThDMTEuNiw0LjI4LDEyLjE3LDQuNSwxMi43NSw0LjV6IE0xMS44NywxLjM3QzEyLjEsMS4xMywxMi40MiwxLDEyLjc1LDFzMC42NSwwLjEzLDAuODgsMC4zNwoJCWMwLjQ5LDAuNDgsMC40OSwxLjI4LDAsMS43NkMxMy40LDMuMzcsMTMuMDgsMy41LDEyLjc1LDMuNXMtMC42NS0wLjEzLTAuODgtMC4zN0MxMS4zOCwyLjY1LDExLjM4LDEuODUsMTEuODcsMS4zN3oiLz4KCTxwYXRoIGQ9Ik0xMi43NSw1Ljc1Yy0wLjU4LDAtMS4xNSwwLjIyLTEuNTksMC42NmMtMC44OCwwLjg4LTAuODgsMi4zLDAsMy4xOGMwLjQ0LDAuNDQsMS4wMSwwLjY2LDEuNTksMC42NnMxLjE1LTAuMjIsMS41OS0wLjY2CgkJYzAuODgtMC44OCwwLjg4LTIuMywwLTMuMThDMTMuOSw1Ljk3LDEzLjMzLDUuNzUsMTIuNzUsNS43NXogTTEzLjYzLDguODhjLTAuMjMsMC4yNC0wLjU1LDAuMzctMC44OCwwLjM3cy0wLjY1LTAuMTMtMC44OC0wLjM3CgkJYy0wLjQ5LTAuNDgtMC40OS0xLjI4LDAtMS43NmMwLjIzLTAuMjQsMC41NS0wLjM3LDAuODgtMC4zN3MwLjY1LDAuMTMsMC44OCwwLjM3QzE0LjEyLDcuNiwxNC4xMiw4LjQsMTMuNjMsOC44OHoiLz4KCTxwYXRoIGQ9Ik0xMi43NSwxMS41Yy0wLjU4LDAtMS4xNSwwLjIyLTEuNTksMC42NmMtMC44OCwwLjg4LTAuODgsMi4zLDAsMy4xOEMxMS42LDE1Ljc4LDEyLjE3LDE2LDEyLjc1LDE2czEuMTUtMC4yMiwxLjU5LTAuNjYKCQljMC44OC0wLjg4LDAuODgtMi4zLDAtMy4xOEMxMy45LDExLjcyLDEzLjMzLDExLjUsMTIuNzUsMTEuNXogTTEzLjYzLDE0LjYzQzEzLjQsMTQuODcsMTMuMDgsMTUsMTIuNzUsMTVzLTAuNjUtMC4xMy0wLjg4LTAuMzcKCQljLTAuNDktMC40OC0wLjQ5LTEuMjgsMC0xLjc2YzAuMjMtMC4yNCwwLjU1LTAuMzcsMC44OC0wLjM3czAuNjUsMC4xMywwLjg4LDAuMzdDMTQuMTIsMTMuMzUsMTQuMTIsMTQuMTUsMTMuNjMsMTQuNjN6Ii8+CjwvZz4KPC9zdmc+Cg=="});var C8e=xe((cdn,Gzo)=>{Gzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1Ljk4NSwxMy41OTRjMC4wMDQtMC4wMjIsMC4wMDctMC4wNDIsMC4wMDktMC4wNjRDMTUuOTk1LDEzLjUxOSwxNiwxMy41MSwxNiwxMy41cy0wLjAwNS0wLjAxOS0wLjAwNi0wLjAzCgljLTAuMDAxLTAuMDIyLTAuMDA0LTAuMDQzLTAuMDA5LTAuMDY0Yy0wLjAwNC0wLjAyMy0wLjAxLTAuMDQ1LTAuMDE4LTAuMDY3Yy0wLjAwNy0wLjAyMS0wLjAxNS0wLjA0MS0wLjAyNS0wLjA2MQoJYy0wLjAwNS0wLjAwOS0wLjAwNC0wLjAxOS0wLjAxLTAuMDI4Yy0wLjAwNS0wLjAwOS0wLjAxNC0wLjAxNC0wLjAyLTAuMDIyYy0wLjAxMi0wLjAxOC0wLjAyNS0wLjAzNS0wLjA0LTAuMDUyCgljLTAuMDE2LTAuMDE4LTAuMDMyLTAuMDM0LTAuMDUtMC4wNWMtMC4wMTctMC4wMTQtMC4wMzMtMC4wMjctMC4wNTEtMC4wMzljLTAuMDA5LTAuMDA2LTAuMDE0LTAuMDE1LTAuMDIzLTAuMDJsLTIuNTk4LTEuNQoJYy0wLjIzOS0wLjEzOC0wLjU0NS0wLjA1Ni0wLjY4MywwLjE4M2MtMC4xMzgsMC4yMzktMC4wNTYsMC41NDUsMC4xODMsMC42ODNMMTMuNjM0LDEzSDMuOTA4QzMuNzU3LDEyLjU3NiwzLjQyNCwxMi4yNDMsMywxMi4wOTIKCVYyLjM2NmwwLjU2NywwLjk4MkMzLjcwNSwzLjU4Nyw0LjAxMSwzLjY2OSw0LjI1LDMuNTMxYzAuMjM5LTAuMTM4LDAuMzIxLTAuNDQ0LDAuMTgzLTAuNjgzbC0xLjUtMi41OTgKCUMyLjkyOCwwLjI0MSwyLjkxOSwwLjIzNiwyLjkxMywwLjIyN0MyLjkwMSwwLjIwOSwyLjg4OCwwLjE5MywyLjg3NCwwLjE3NkMyLjg1OCwwLjE1OCwyLjg0MywwLjE0MiwyLjgyNSwwLjEyNwoJYy0wLjAxNy0wLjAxNS0wLjAzNC0wLjAyOC0wLjA1Mi0wLjA0QzIuNzY0LDAuMDgxLDIuNzU5LDAuMDcyLDIuNzUsMC4wNjdDMi43NDEsMC4wNjIsMi43MzEsMC4wNjIsMi43MjIsMC4wNTgKCWMtMC4wMi0wLjAxLTAuMDM5LTAuMDE4LTAuMDYxLTAuMDI1QzIuNjM5LDAuMDI1LDIuNjE3LDAuMDE5LDIuNTk0LDAuMDE1QzIuNTcyLDAuMDEsMi41NTIsMC4wMDcsMi41MywwLjAwNgoJQzIuNTIsMC4wMDUsMi41MTEsMCwyLjUsMFMyLjQ4MSwwLjAwNSwyLjQ3LDAuMDA2QzIuNDQ4LDAuMDA3LDIuNDI4LDAuMDEsMi40MDYsMC4wMTVjLTAuMDIzLDAuMDA1LTAuMDQ1LDAuMDEtMC4wNjcsMC4wMTgKCUMyLjMxOCwwLjA0LDIuMjk4LDAuMDQ4LDIuMjc4LDAuMDU4QzIuMjY5LDAuMDYyLDIuMjU5LDAuMDYyLDIuMjUsMC4wNjdjLTAuMDA5LDAuMDA1LTAuMDE0LDAuMDE0LTAuMDIyLDAuMDIKCWMtMC4wMTksMC4wMTItMC4wMzUsMC4wMjUtMC4wNTIsMC4wNGMtMC4wMTgsMC4wMTYtMC4wMzQsMC4wMzItMC4wNDksMC4wNUMyLjExMiwwLjE5MywyLjA5OSwwLjIwOSwyLjA4NywwLjIyNwoJQzIuMDgyLDAuMjM2LDIuMDcyLDAuMjQxLDIuMDY3LDAuMjVsLTEuNSwyLjU5OEMwLjQyOSwzLjA4NywwLjUxMSwzLjM5MywwLjc1LDMuNTMxYzAuMjM5LDAuMTM4LDAuNTQ1LDAuMDU2LDAuNjgzLTAuMTgzTDIsMi4zNjYKCXY5LjcyNmMtMC41ODEsMC4yMDctMSwwLjc1Ni0xLDEuNDA4YzAsMCwwLDAsMCwwdjBjMCwwLDAsMCwwLDBDMSwxNC4zMjgsMS42NzIsMTUsMi41LDE1bDAsMGgwYzAsMCwwLDAsMCwwCgljMC42NTIsMCwxLjIwMS0wLjQxOSwxLjQwOC0xaDkuNzI2bC0wLjk4MiwwLjU2N2MtMC4yMzksMC4xMzgtMC4zMjEsMC40NDQtMC4xODMsMC42ODNjMC4xMzgsMC4yMzksMC40NDQsMC4zMjEsMC42ODMsMC4xODMKCWwyLjU5OC0xLjVjMC4wMDktMC4wMDUsMC4wMTQtMC4wMTUsMC4wMjMtMC4wMmMwLjAxOC0wLjAxMiwwLjAzNC0wLjAyNSwwLjA1MS0wLjAzOWMwLjAxOC0wLjAxNiwwLjAzNC0wLjAzMSwwLjA0OS0wLjA0OQoJYzAuMDE1LTAuMDE3LDAuMDI4LTAuMDMzLDAuMDQtMC4wNTJjMC4wMDYtMC4wMDksMC4wMTUtMC4wMTMsMC4wMi0wLjAyMmMwLjAwNS0wLjAwOSwwLjAwNS0wLjAxOSwwLjAxLTAuMDI4CgljMC4wMS0wLjAyLDAuMDE4LTAuMDM5LDAuMDI1LTAuMDYxQzE1Ljk3NSwxMy42MzksMTUuOTgxLDEzLjYxNywxNS45ODUsMTMuNTk0eiIvPgo8L3N2Zz4K"});var Nut=xe((ddn,Yzo)=>{Yzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNNy45NSw4LjA4M1Y2LjVjMC0wLjE4Mi0wLjExLTAuMzQ2LTAuMjc4LTAuNDE2QzcuNTA0LDYuMDEzLDcuMzExLDYuMDUzLDcuMTgyLDYuMTgybC0zLjUsMy41CgkJYy0wLjE3NiwwLjE3Ni0wLjE3NiwwLjQ2MSwwLDAuNjM3bDMuNSwzLjVDNy4yNjgsMTMuOTA0LDcuMzgzLDEzLjk1LDcuNSwxMy45NWMwLjA1OCwwLDAuMTE3LTAuMDExLDAuMTcyLTAuMDM1CgkJQzcuODQsMTMuODQ2LDcuOTUsMTMuNjgyLDcuOTUsMTMuNXYtMS41OThjMi44NTMtMC4yMyw0LjExMSwxLjc0Myw0LjE2NSwxLjgzMWMwLjEwNSwwLjE3MiwwLjMxMSwwLjI1NiwwLjUwNiwwLjE5OQoJCWMwLjE5NC0wLjA1NCwwLjMyOS0wLjIzLDAuMzI5LTAuNDMyQzEyLjk1LDkuMDQyLDkuMjU2LDguMjMsNy45NSw4LjA4M3ogTTcuNDM3LDExLjA1NUM3LjIxNSwxMS4wODYsNy4wNSwxMS4yNzYsNy4wNSwxMS41djAuOTE0CgkJTDQuNjM2LDEwTDcuMDUsNy41ODZWOC41YzAsMC4yNDksMC4yMDIsMC40NSwwLjQ1LDAuNDVjMC4xNjYsMCwzLjY1NiwwLjA0MSw0LjQwOCwzLjI0MkMxMS4wNDcsMTEuNDg2LDkuNTkyLDEwLjc0OCw3LjQzNywxMS4wNTV6CgkJIi8+Cgk8cGF0aCBkPSJNMTUsNFYzYzAtMC41NTItMC40NDgtMS0xLTFINi43TDUuOTkzLDEuMjkzQzUuODA1LDEuMTA1LDUuNTUxLDEsNS4yODYsMUg0LjNIMkMxLjQ1LDEsMSwxLjQ1LDEsMnYxM2MwLDAuNTUsMC40NSwxLDEsMQoJCWgxM2MwLjU1LDAsMS0wLjQ1LDEtMVY1QzE2LDQuNDQ4LDE1LjU1Miw0LDE1LDR6IE0xNC4wMSwyLjk5VjRIOC43TDcuNjksMi45OUgxNC4wMXogTTE1LDE1SDJWMmgzLjNsMC45OSwwLjk5bDEuMDksMS4wOQoJCWwwLjYxNywwLjYxN0M4LjE4NSw0Ljg4NSw4LjQzOSw0Ljk5LDguNzA0LDQuOTlIOS42OWg0LjMySDE1VjE1eiIvPgo8L2c+Cjwvc3ZnPgo="});var kut=xe((udn,Wzo)=>{Wzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTMuMywzLjRsLTMuMTgtMy4xOEM5Ljk3LDAuMDcsOS43OCwwLDkuNTksMEM5LjQsMCw5LjIsMC4wNyw5LjA2LDAuMjJMMC4yMiw5LjA2Yy0wLjI5LDAuMjktMC4yOSwwLjc3LDAsMS4wNkwzLjQsMTMuMwoJCWMwLjE1LDAuMTUsMC4zNCwwLjIyLDAuNTMsMC4yMmMwLjE5LDAsMC4zOS0wLjA3LDAuNTMtMC4yMmw4Ljg0LTguODRDMTMuNTksNC4xNywxMy41OSwzLjY5LDEzLjMsMy40eiBNMy45MywxMi40MkwxLjEsOS41OQoJCUw5LjU5LDEuMWwyLjgzLDIuODNMMy45MywxMi40MnoiLz4KCTxwYXRoIGQ9Ik0zLjkwOCw4LjcxN0MzLjgxMSw4LjYxOSwzLjY4Myw4LjU3LDMuNTU1LDguNTdjLTAuMTI4LDAtMC4yNTYsMC4wNDktMC4zNTQsMC4xNDZjLTAuMTk1LDAuMTk1LTAuMTk1LDAuNTEyLDAsMC43MDcKCQlsMC44MDEsMC44MDFjMC4wOTgsMC4wOTgsMC4yMjYsMC4xNDYsMC4zNTQsMC4xNDZjMC4xMjgsMCwwLjI1Ni0wLjA0OSwwLjM1NC0wLjE0NmMwLjE5NS0wLjE5NSwwLjE5NS0wLjUxMiwwLTAuNzA3TDMuOTA4LDguNzE3eiIKCQkvPgoJPHBhdGggZD0iTTYuMjcsNy40MDJDNi4xNzMsNy4zMDQsNi4wNDUsNy4yNTUsNS45MTcsNy4yNTVjLTAuMTI4LDAtMC4yNTYsMC4wNDktMC4zNTQsMC4xNDZjLTAuMTk1LDAuMTk1LTAuMTk1LDAuNTEyLDAsMC43MDcKCQlsMC4yNzgsMC4yNzhjMC4wOTgsMC4wOTgsMC4yMjYsMC4xNDYsMC4zNTQsMC4xNDZzMC4yNTYtMC4wNDksMC4zNTQtMC4xNDZjMC4xOTUtMC4xOTUsMC4xOTUtMC41MTIsMC0wLjcwN0w2LjI3LDcuNDAyeiIvPgoJPHBhdGggZD0iTTcuNTg1LDUuMDRDNy40ODgsNC45NDIsNy4zNiw0Ljg5Myw3LjIzMiw0Ljg5M1M2Ljk3Niw0Ljk0Miw2Ljg3OCw1LjA0Yy0wLjE5NSwwLjE5NS0wLjE5NSwwLjUxMiwwLDAuNzA3TDcuNjgsNi41NDgKCQljMC4wOTgsMC4wOTgsMC4yMjYsMC4xNDYsMC4zNTQsMC4xNDZzMC4yNTYtMC4wNDksMC4zNTQtMC4xNDZjMC4xOTUtMC4xOTUsMC4xOTUtMC41MTIsMC0wLjcwN0w3LjU4NSw1LjA0eiIvPgoJPHBhdGggZD0iTTkuMjQsNC40MzJMOS41MTgsNC43MWMwLjA5OCwwLjA5OCwwLjIyNiwwLjE0NiwwLjM1NCwwLjE0NmMwLjEyOCwwLDAuMjU2LTAuMDQ5LDAuMzU0LTAuMTQ2CgkJYzAuMTk1LTAuMTk1LDAuMTk1LTAuNTEyLDAtMC43MDdMOS45NDcsMy43MjVDOS44NSwzLjYyNyw5LjcyMiwzLjU3OCw5LjU5NCwzLjU3OFM5LjMzOCwzLjYyNyw5LjI0LDMuNzI1CgkJQzkuMDQ1LDMuOTIsOS4wNDUsNC4yMzcsOS4yNCw0LjQzMnoiLz4KCTxwYXRoIGQ9Ik0xNS44NTQsMTUuMTQ2bC0xLjQxNS0xLjQxNWMwLTAuMDAxLDAuMDAxLTAuMDAxLDAuMDAxLTAuMDAyYzAuODQtMS4xNywwLjczLTIuOC0wLjMyLTMuODVDMTMuNTQsOS4yOSwxMi43Nyw5LDEyLDkKCQlzLTEuNTQsMC4yOS0yLjEyLDAuODhjLTEuMTcsMS4xNy0xLjE3LDMuMDcsMCw0LjI0QzEwLjQ2LDE0LjcxLDExLjIzLDE1LDEyLDE1YzAuNjEsMCwxLjIzLTAuMTgsMS43NC0wLjU1CgkJYzAsMCwwLjAwMS0wLjAwMSwwLjAwMi0wLjAwMWwxLjQwNSwxLjQwNWMwLjE5NSwwLjE5NSwwLjUxMiwwLjE5NSwwLjcwNywwQzE2LjA0OSwxNS42NTgsMTYuMDQ5LDE1LjM0MiwxNS44NTQsMTUuMTQ2egoJCSBNMTAuNTksMTMuNDFjLTAuNzgtMC43OC0wLjc4LTIuMDQsMC0yLjgyQzEwLjk2LDEwLjIxLDExLjQ3LDEwLDEyLDEwczEuMDQsMC4yMSwxLjQxLDAuNTljMC43OCwwLjc4LDAuNzgsMi4wNCwwLDIuODIKCQlDMTMuMDQsMTMuNzksMTIuNTMsMTQsMTIsMTRTMTAuOTYsMTMuNzksMTAuNTksMTMuNDF6Ii8+CjwvZz4KPC9zdmc+Cg=="});var x8e=xe((pdn,Qzo)=>{Qzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgoJPHBhdGggZD0iTTE2LDhjMC00LjQxOC0zLjU4Mi04LTgtOEM1Ljk3MSwwLDQuMTI0LDAuNzYyLDIuNzE0LDIuMDA2TDIuNjk3LDEuOTlMMi4zNDMsMi4zNDNjMCwwLDAsMC0wLjAwMSwwLjAwMUwxLjk5LDIuNjk3CgkJbDAuMDE3LDAuMDE3QzAuNzYyLDQuMTI0LDAsNS45NzEsMCw4YzAsNC40MTgsMy41ODIsOCw4LDhjMi4wMjksMCwzLjg3Ni0wLjc2Miw1LjI4Ni0yLjAwNmwwLjAxNywwLjAxN2wwLjcwNy0wLjcwN2wtMC4wMTctMC4wMTcKCQlDMTUuMjM4LDExLjg3NiwxNiwxMC4wMjksMTYsOHogTTgsMWMzLjg2LDAsNywzLjE0LDcsN2MwLDEuNzUtMC42NSwzLjM0OC0xLjcxNiw0LjU3N0wzLjQyMywyLjcxNkM0LjY1MiwxLjY1LDYuMjUsMSw4LDF6IE04LDE1CgkJYy0zLjg2LDAtNy0zLjE0LTctN2MwLTEuNzUsMC42NS0zLjM0OCwxLjcxNi00LjU3N2w5Ljg2MSw5Ljg2MUMxMS4zNDgsMTQuMzUsOS43NSwxNSw4LDE1eiIvPgo8L2c+Cjwvc3ZnPgo="});var Put=xe((mdn,Kzo)=>{Kzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNOSwxSDJDMS40NSwxLDEsMS40NSwxLDJ2MTNjMCwwLjU1LDAuNDUsMSwxLDFoMTNjMC41NSwwLDEtMC40NSwxLTFWOGMwLTAuNTUyLTAuNDQ4LTEtMS0xaC01VjJDMTAsMS40NDgsOS41NTIsMSw5LDEKCQkJTDksMXogTTIsMTVWMmg3djVjMCwwLjU1LDAuNDUsMSwxLDFoNXY3SDJMMiwxNXoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik03LjYyMSw4Ljg3OWMtMC4xMjgsMC0wLjI1NiwwLjA0OS0wLjM1NCwwLjE0NkwzLjUsMTIuNzkzYy0wLjE5NSwwLjE5NS0wLjE5NSwwLjUxMiwwLDAuNzA3CgkJCWMwLjA5OCwwLjA5OCwwLjIyNiwwLjE0NiwwLjM1NCwwLjE0NnMwLjI1Ni0wLjA0OSwwLjM1NC0wLjE0NmwzLjc2OC0zLjc2OGMwLjE5NS0wLjE5NSwwLjE5NS0wLjUxMiwwLTAuNzA3CgkJCUM3Ljg3Nyw4LjkyNyw3Ljc0OSw4Ljg3OSw3LjYyMSw4Ljg3OUw3LjYyMSw4Ljg3OXoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik03LjE0NiwzLjM1NGMtMC4xMjgsMC0wLjI1NiwwLjA0OS0wLjM1NCwwLjE0NkwzLjUsNi43OTNDMy4zMDUsNi45ODgsMy4zMDUsNy4zMDUsMy41LDcuNQoJCQljMC4wOTgsMC4wOTgsMC4yMjYsMC4xNDYsMC4zNTQsMC4xNDZTNC4xMDksNy41OTgsNC4yMDcsNy41TDcuNSw0LjIwN2MwLjE5NS0wLjE5NSwwLjE5NS0wLjUxMiwwLTAuNzA3CgkJCUM3LjQwMiwzLjQwMiw3LjI3NCwzLjM1NCw3LjE0NiwzLjM1NEw3LjE0NiwzLjM1NHoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik0xMy4xNDYsOS4zNTRjLTAuMTI4LDAtMC4yNTYsMC4wNDktMC4zNTQsMC4xNDZMOS41LDEyLjc5M2MtMC4xOTUsMC4xOTUtMC4xOTUsMC41MTIsMCwwLjcwNwoJCQljMC4wOTgsMC4wOTgsMC4yMjYsMC4xNDYsMC4zNTQsMC4xNDZzMC4yNTYtMC4wNDksMC4zNTQtMC4xNDZsMy4yOTMtMy4yOTNjMC4xOTUtMC4xOTUsMC4xOTUtMC41MTIsMC0wLjcwNwoJCQlDMTMuNDAyLDkuNDAyLDEzLjI3NCw5LjM1NCwxMy4xNDYsOS4zNTRMMTMuMTQ2LDkuMzU0eiIvPgoJPC9nPgo8L2c+Cjwvc3ZnPgo="});var Out=xe((hdn,Zzo)=>{Zzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNNC43LDRMMy45OTMsMy4yOTNDMy44MDUsMy4xMDUsMy41NTEsMywzLjI4NiwzSDIuM0gwLjVDMC4yMjQsMywwLDMuMjI0LDAsMy41djBDMCwzLjc3NiwwLjIyNCw0LDAuNSw0aDIuOGw4LjcsOC43djIuOAoJCWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41aDBjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNXYtMS44di0wLjk4NmMwLTAuMjY1LTAuMTA1LTAuNTItMC4yOTMtMC43MDdMMTIsMTEuM0w0LjcsNHoiLz4KCTxwYXRoIGQ9Ik0xNS45OTMsMC41MzVjMC4wMDItMC4wMjQsMC4wMDItMC4wNDcsMC0wLjA3Yy0wLjAwMi0wLjAyMi0wLjAwNC0wLjA0My0wLjAwOC0wLjA2NGMtMC4wMDItMC4wMSwwLjAwMS0wLjAyLTAuMDAyLTAuMDMKCQljLTAuMDAzLTAuMDEtMC4wMS0wLjAxNy0wLjAxMy0wLjAyNmMtMC4wMDctMC4wMjEtMC4wMTYtMC4wNDEtMC4wMjYtMC4wNjFjLTAuMDEtMC4wMjEtMC4wMjEtMC4wNC0wLjAzNC0wLjA1OQoJCWMtMC4wMTItMC4wMTgtMC4wMjUtMC4wMzUtMC4wMzktMC4wNTJjLTAuMDA3LTAuMDA4LTAuMDA5LTAuMDE4LTAuMDE3LTAuMDI2Yy0wLjAwOC0wLjAwOC0wLjAxOC0wLjAxLTAuMDI2LTAuMDE3CgkJYy0wLjAxNi0wLjAxNC0wLjAzMy0wLjAyNy0wLjA1MS0wLjAzOWMtMC4wMTktMC4wMTMtMC4wMzktMC4wMjQtMC4wNi0wLjAzNWMtMC4wMi0wLjAxLTAuMDQtMC4wMTgtMC4wNjEtMC4wMjUKCQljLTAuMDEtMC4wMDMtMC4wMTctMC4wMS0wLjAyNi0wLjAxM2MtMC4wMS0wLjAwMy0wLjAyLDAtMC4wMy0wLjAwMmMtMC4wMjEtMC4wMDQtMC4wNDItMC4wMDctMC4wNjQtMC4wMDgKCQljLTAuMDI0LTAuMDAyLTAuMDQ2LTAuMDAyLTAuMDcsMGMtMC4wMjIsMC4wMDItMC4wNDMsMC4wMDQtMC4wNjUsMC4wMDhjLTAuMDEsMC4wMDItMC4wMi0wLjAwMS0wLjAzLDAuMDAybC0yLjg5OCwwLjc3NgoJCWMtMC4yNjcsMC4wNzEtMC40MjUsMC4zNDYtMC4zNTQsMC42MTJjMC4wNzEsMC4yNjcsMC4zNDYsMC40MjUsMC42MTIsMC4zNTRsMS4wOTUtMC4yOTNMOS41LDUuNzkzCgkJQzkuMzA1LDUuOTg4LDkuMzA1LDYuMzA1LDkuNSw2LjVjMC4xOTUsMC4xOTUsMC41MTIsMC4xOTUsMC43MDcsMGw0LjMyNy00LjMyN0wxNC4yNCwzLjI2OWMtMC4wNzEsMC4yNjcsMC4wODcsMC41NDEsMC4zNTQsMC42MTIKCQljMC4yNjcsMC4wNzEsMC41NDEtMC4wODcsMC42MTItMC4zNTRsMC43NzYtMi44OThjMC4wMDMtMC4wMSwwLTAuMDIsMC4wMDItMC4wM0MxNS45ODksMC41NzgsMTUuOTkxLDAuNTU3LDE1Ljk5MywwLjUzNXoiLz4KPC9nPgo8L3N2Zz4K"});var T8e=xe((fdn,Jzo)=>{Jzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgoJPHBhdGggZD0iTTExLjE2NywyaDFjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNWMwLTAuMjc2LTAuMjI0LTAuNS0wLjUtMC41aC0xYy0wLjI3NiwwLTAuNSwwLjIyNC0wLjUsMC41CgkJQzEwLjY2NywxLjc3NiwxMC44OTEsMiwxMS4xNjcsMnoiLz4KCTxwYXRoIGQ9Ik04LjgzMywxaC0xYy0wLjI3NiwwLTAuNSwwLjIyNC0wLjUsMC41YzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVoMWMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41CgkJQzkuMzMzLDEuMjI0LDkuMTA5LDEsOC44MzMsMXoiLz4KCTxwYXRoIGQ9Ik0xNS4yNSwxSDE0LjVDMTQuMjI0LDEsMTQsMS4yMjQsMTQsMS41QzE0LDEuNzc2LDE0LjIyNCwyLDE0LjUsMkgxNXYwLjVDMTUsMi43NzYsMTUuMjI0LDMsMTUuNSwzUzE2LDIuNzc2LDE2LDIuNVYxLjc1CgkJQzE2LDEuMzM3LDE1LjY2MiwxLDE1LjI1LDF6Ii8+Cgk8cGF0aCBkPSJNNS41LDFINC43NUM0LjMzNywxLDQsMS4zMzcsNCwxLjc1VjIuNUM0LDIuNzc2LDQuMjI0LDMsNC41LDNTNSwyLjc3Niw1LDIuNVYyaDAuNUM1Ljc3NiwyLDYsMS43NzYsNiwxLjUKCQlDNiwxLjIyNCw1Ljc3NiwxLDUuNSwxeiIvPgoJPHBhdGggZD0iTTE1LjUsNEMxNS4yMjQsNCwxNSw0LjIyNCwxNSw0LjV2MUMxNSw1Ljc3NiwxNS4yMjQsNiwxNS41LDZTMTYsNS43NzYsMTYsNS41di0xQzE2LDQuMjI0LDE1Ljc3Niw0LDE1LjUsNHoiLz4KCTxwYXRoIGQ9Ik00LjUsNEM0LjIyNCw0LDQsNC4yMjQsNCw0LjV2MUM0LDUuNzc2LDQuMjI0LDYsNC41LDZTNSw1Ljc3Niw1LDUuNXYtMUM1LDQuMjI0LDQuNzc2LDQsNC41LDR6Ii8+Cgk8cGF0aCBkPSJNOC41LDE1aC0xQzcuMjI0LDE1LDcsMTUuMjI0LDcsMTUuNUM3LDE1Ljc3Niw3LjIyNCwxNiw3LjUsMTZoMUM4Ljc3NiwxNiw5LDE1Ljc3Niw5LDE1LjVDOSwxNS4yMjQsOC43NzYsMTUsOC41LDE1eiIvPgoJPHBhdGggZD0iTTUsMTVINGMtMC4yNzYsMC0wLjUsMC4yMjQtMC41LDAuNUMzLjUsMTUuNzc2LDMuNzI0LDE2LDQsMTZoMWMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41QzUuNSwxNS4yMjQsNS4yNzYsMTUsNSwxNXoiLz4KCTxwYXRoIGQ9Ik0xLjUsMTVIMXYtMC41QzEsMTQuMjI0LDAuNzc2LDE0LDAuNSwxNFMwLDE0LjIyNCwwLDE0LjV2MC43NUMwLDE1LjY2MiwwLjMzNywxNiwwLjc1LDE2SDEuNUMxLjc3NiwxNiwyLDE1Ljc3NiwyLDE1LjUKCQlDMiwxNS4yMjQsMS43NzYsMTUsMS41LDE1eiIvPgoJPHBhdGggZD0iTTExLjUsMTRjLTAuMjc2LDAtMC41LDAuMjI0LTAuNSwwLjVWMTVoLTAuNWMtMC4yNzYsMC0wLjUsMC4yMjQtMC41LDAuNWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41aDAuNzUKCQljMC40MTIsMCwwLjc1LTAuMzM4LDAuNzUtMC43NVYxNC41QzEyLDE0LjIyNCwxMS43NzYsMTQsMTEuNSwxNHoiLz4KCTxwYXRoIGQ9Ik0xMS41LDEwYzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjVWOWgwLjVDMTIuNzc2LDksMTMsOC43NzYsMTMsOC41QzEzLDguMjI0LDEyLjc3Niw4LDEyLjUsOGgtMC43NQoJCUMxMS4zMzgsOCwxMSw4LjMzOCwxMSw4Ljc1VjkuNUMxMSw5Ljc3NiwxMS4yMjQsMTAsMTEuNSwxMHoiLz4KCTxwYXRoIGQ9Ik0xNS41LDdDMTUuMjI0LDcsMTUsNy4yMjQsMTUsNy41VjhoLTAuNUMxNC4yMjQsOCwxNCw4LjIyNCwxNCw4LjVDMTQsOC43NzYsMTQuMjI0LDksMTQuNSw5aDAuNzUKCQlDMTUuNjYyLDksMTYsOC42NjIsMTYsOC4yNVY3LjVDMTYsNy4yMjQsMTUuNzc2LDcsMTUuNSw3eiIvPgoJPHBhdGggZD0iTTAuNSwxM0MwLjc3NiwxMywxLDEyLjc3NiwxLDEyLjV2LTFDMSwxMS4yMjQsMC43NzYsMTEsMC41LDExUzAsMTEuMjI0LDAsMTEuNXYxQzAsMTIuNzc2LDAuMjI0LDEzLDAuNSwxM3oiLz4KCTxwYXRoIGQ9Ik0xMS41LDEzYzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjV2LTFjMC0wLjI3Ni0wLjIyNC0wLjUtMC41LTAuNVMxMSwxMS4yMjQsMTEsMTEuNXYxQzExLDEyLjc3NiwxMS4yMjQsMTMsMTEuNSwxM3oiLz4KCTxwYXRoIGQ9Ik0zLDguNUMzLDguMjI0LDMuMjI0LDgsMy41LDhINGMwLTAuMjc2LDAuMjI0LTAuNSwwLjUtMC41QzQuNzc2LDcuNSw1LDcuNzI0LDUsOHYwLjVDNSw4Ljc3Niw0Ljc3Niw5LDQuNSw5aC0xCgkJQzMuMjI0LDksMyw4Ljc3NiwzLDguNXoiLz4KCTxwYXRoIGQ9Ik00LjUsN0M0LjIyNCw3LDQsNy4yMjQsNCw3LjVWOEMzLjcyNCw4LDMuNSw4LjIyNCwzLjUsOC41QzMuNSw4Ljc3NiwzLjcyNCw5LDQsOWgwLjVDNC43NzYsOSw1LDguNzc2LDUsOC41di0xCgkJQzUsNy4yMjQsNC43NzYsNyw0LjUsN3oiLz4KCTxwYXRoIGQ9Ik0yLDguNUMyLDguNzc2LDEuNzc2LDksMS41LDlIMWMwLDAuMjc2LTAuMjI0LDAuNS0wLjUsMC41QzAuMjI0LDkuNSwwLDkuMjc2LDAsOWwwLTAuNUMwLDguMjI0LDAuMjI0LDgsMC41LDhoMQoJCUMxLjc3Niw4LDIsOC4yMjQsMiw4LjV6Ii8+Cgk8cGF0aCBkPSJNMC41LDEwQzAuNzc2LDEwLDEsOS43NzYsMSw5LjVWOWMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41QzEuNSw4LjIyNCwxLjI3Niw4LDEsOEgwLjVDMC4yMjQsOCwwLDguMjI0LDAsOC41djEKCQlDMCw5Ljc3NiwwLjIyNCwxMCwwLjUsMTB6Ii8+CjwvZz4KPC9zdmc+Cg=="});var Rut=xe((gdn,qzo)=>{qzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTIuNTAyLDVDMy4zMjgsNSw0LDUuNjcyLDQsNi40OTh2My4wMDRDNCwxMC4zMjgsMy4zMjgsMTEsMi41MDIsMTFIMVY1SDIuNTAyIE0yLjUwMiw0SDFDMC40NDgsNCwwLDQuNDQ4LDAsNXY2CgljMCwwLjU1MiwwLjQ0OCwxLDEsMWgxLjUwMkMzLjg4MiwxMiw1LDEwLjg4Miw1LDkuNTAyVjYuNDk4QzUsNS4xMTgsMy44ODIsNCwyLjUwMiw0TDIuNTAyLDR6Ii8+CjxwYXRoIGQ9Ik04LjkwNiw1QzkuNTA5LDUsMTAsNS40OTEsMTAsNi4wOTRTOS41MDksNy4xODgsOC45MDYsNy4xODhIN1Y1SDguOTA2IE04LjkwNiw0SDYuNTcxQzYuMjU2LDQsNiw0LjI1Niw2LDQuNTcxdjMuMDQ1CgljMCwwLjMxNSwwLjI1NiwwLjU3MSwwLjU3MSwwLjU3MWgyLjMzNUMxMC4wNjMsOC4xODgsMTEsNy4yNSwxMSw2LjA5NFMxMC4wNjMsNCw4LjkwNiw0TDguOTA2LDR6Ii8+CjxwYXRoIHN0eWxlPSJmaWxsOm5vbmU7c3Ryb2tlOiMwMDAwMDA7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEwOyIgZD0iTTYuNzYsNy42OQoJYzAuMzc5LDAuMDgsMS4wMTQsMC4wNDYsMS40LDAuMDZjMC4yNywwLjAxLDEuMDU2LTAuMTMxLDEuMjYsMC40NGMwLjQ0LDEuMjMsMS4wOTcsMy4zMDMsMS4wOTcsMy4zMDMiLz4KPHBhdGggZD0iTTYuNSwxMkw2LjUsMTJDNi4yMjQsMTIsNiwxMS43NzYsNiwxMS41di03QzYsNC4yMjQsNi4yMjQsNCw2LjUsNGgwQzYuNzc2LDQsNyw0LjIyNCw3LDQuNXY3QzcsMTEuNzc2LDYuNzc2LDEyLDYuNSwxMnoiLz4KPHBhdGggZD0iTTE2LDQuNUwxNiw0LjVDMTYsNC4yMjQsMTUuNzc2LDQsMTUuNSw0aC0xQzEzLjExOSw0LDEyLDUuMTE5LDEyLDYuNXYzYzAsMS4zODEsMS4xMTksMi41LDIuNSwyLjVoMQoJYzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjV2MGMwLTAuMjc2LTAuMjI0LTAuNS0wLjUtMC41aC0xLjAwNEMxMy42NywxMSwxMywxMC4zMywxMyw5LjUwNFY2LjQ5NkMxMyw1LjY3LDEzLjY3LDUsMTQuNDk2LDVIMTUuNQoJQzE1Ljc3Niw1LDE2LDQuNzc2LDE2LDQuNXoiLz4KPC9zdmc+Cg=="});var _ut=xe((bdn,Xzo)=>{Xzo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNOC42OTcsMTEuMTU2aDEuMzM5djEuNTg3Yy0wLjIzOCwwLjIxMS0wLjY1MSwwLjMzMS0xLjA2NCwwLjMzMWMtMS4zOTQsMC0yLjEzOC0wLjk4Mi0yLjEzOC0yLjU4NwoJCWMwLTEuNTg3LDAuODM1LTIuNTYsMi4wOTItMi41NmMwLjY1MSwwLDEuMDY0LDAuMjY2LDEuNDA0LDAuNjA1bDAuNTY5LTAuNjc5QzEwLjQ4Niw3LjQyMiw5Ljg0NCw3LDguODksNwoJCWMtMS43ODksMC0zLjE0NywxLjMyMS0zLjE0NywzLjUyM0M1Ljc0MywxMi43MzQsNy4wNjQsMTQsOC44NjIsMTRjMC45MjcsMCwxLjY4OC0wLjMzOSwyLjEzOC0wLjc4OXYtMi45MjdIOC42OTdWMTEuMTU2eiIvPgoJPHBhdGggZD0iTTE1LDRWM2MwLTAuNTUyLTAuNDQ4LTEtMS0xSDYuN0w1Ljk5MywxLjI5M0M1LjgwNSwxLjEwNSw1LjU1MSwxLDUuMjg2LDFINC4zSDJDMS40NSwxLDEsMS40NSwxLDJ2MTNjMCwwLjU1LDAuNDUsMSwxLDEKCQloMTNjMC41NSwwLDEtMC40NSwxLTFWNUMxNiw0LjQ0OCwxNS41NTIsNCwxNSw0eiBNMTQuMDEsMi45OVY0SDguN0w3LjY5LDIuOTlIMTQuMDF6IE0xNSwxNUgyVjJoMy4zbDAuOTksMC45OWwxLjA5LDEuMDkKCQlsMC42MTcsMC42MTdDOC4xODUsNC44ODUsOC40MzksNC45OSw4LjcwNCw0Ljk5SDkuNjloNC4zMkgxNVYxNXoiLz4KPC9nPgo8L3N2Zz4K"});var jut=xe((ydn,$zo)=>{$zo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMS41LDVDMS43NzYsNSwyLDQuNzc2LDIsNC41VjJoMi41QzQuNzc2LDIsNSwxLjc3Niw1LDEuNUM1LDEuMjI0LDQuNzc2LDEsNC41LDFoLTNDMS4yMjQsMSwxLDEuMjI0LDEsMS41djMKCQlDMSw0Ljc3NiwxLjIyNCw1LDEuNSw1eiIvPgoJPHBhdGggZD0iTTE1LjUsMWgtM0MxMi4yMjQsMSwxMiwxLjIyNCwxMiwxLjVDMTIsMS43NzYsMTIuMjI0LDIsMTIuNSwySDE1djIuNUMxNSw0Ljc3NiwxNS4yMjQsNSwxNS41LDVTMTYsNC43NzYsMTYsNC41di0zCgkJQzE2LDEuMjI0LDE1Ljc3NiwxLDE1LjUsMXoiLz4KCTxwYXRoIGQ9Ik0xNS41LDEyYy0wLjI3NiwwLTAuNSwwLjIyNC0wLjUsMC41VjE1aC0yLjVjLTAuMjc2LDAtMC41LDAuMjI0LTAuNSwwLjVjMCwwLjI3NiwwLjIyNCwwLjUsMC41LDAuNWgzCgkJYzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjV2LTNDMTYsMTIuMjI0LDE1Ljc3NiwxMiwxNS41LDEyeiIvPgoJPHBhdGggZD0iTTQuNSwxNUgydi0yLjVDMiwxMi4yMjQsMS43NzYsMTIsMS41LDEyUzEsMTIuMjI0LDEsMTIuNXYzQzEsMTUuNzc2LDEuMjI0LDE2LDEuNSwxNmgzQzQuNzc2LDE2LDUsMTUuNzc2LDUsMTUuNQoJCUM1LDE1LjIyNCw0Ljc3NiwxNSw0LjUsMTV6Ii8+Cgk8cGF0aCBkPSJNMTMsMTJWNWMwLTAuNTUyLTAuNDQ4LTEtMS0xSDVDNC40NDgsNCw0LDQuNDQ4LDQsNXY3YzAsMC41NTIsMC40NDgsMSwxLDFoN0MxMi41NTIsMTMsMTMsMTIuNTUyLDEzLDEyeiBNNSw1aDd2N0g1VjV6Ii8+CjwvZz4KPC9zdmc+Cg=="});var S8e=xe((wdn,eFo)=>{eFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LDFIOGgwQzcuNDQ4LDEsNywxLjQ0OCw3LDJ2MHY1SDJoMEMxLjQ0OCw3LDEsNy40NDgsMSw4djB2N2MwLDAuNTUsMC40NSwxLDEsMWgxM2MwLjU1LDAsMS0wLjQ1LDEtMVYyCglDMTYsMS40NSwxNS41NSwxLDE1LDF6IE0xNSwxNUgyVjhoNWMwLjU1LDAsMS0wLjQ1LDEtMVYyaDdWMTV6Ii8+Cjwvc3ZnPgo="});var KZt=xe((Cdn,tFo)=>{tFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTIsMTEuM0w0LjcsNEwzLjk5MywzLjI5M0MzLjgwNSwzLjEwNSwzLjU1MSwzLDMuMjg2LDNIMi4zSDAuNUMwLjIyNCwzLDAsMy4yMjQsMCwzLjVDMCwzLjc3NiwwLjIyNCw0LDAuNSw0aDIuOGw4LjcsOC43CgkJdjIuOGMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41czAuNS0wLjIyNCwwLjUtMC41di0xLjh2LTAuOTg2YzAtMC4yNjUtMC4xMDUtMC41Mi0wLjI5My0wLjcwN0wxMiwxMS4zeiIvPgoJPHBhdGggZD0iTTE2LDEuNDljLTAuMDEtMC4wMy0wLjAxLTAuMDctMC4wMi0wLjEyYy0wLjAyLTAuMDQtMC4wMy0wLjA4LTAuMDUtMC4xMmMtMC4wMTItMC4wMTgtMC4wMzItMC4wMzktMC4wNDgtMC4wNgoJCWMtMC4wMS0wLjAxNC0wLjAxNy0wLjAyOC0wLjAzMS0wLjA0MkwxNS44MSwxLjExOEwxNS43NSwxLjA3Yy0wLjA0LTAuMDItMC4wOC0wLjAzLTAuMTItMC4wNUMxNS41OCwxLjAxLDE1LjU0LDEuMDEsMTUuNTEsMQoJCWMtMC4wMDEsMC0wLjAwMiwwLTAuMDAyLDBjLTAuMDAxLDAtMC4wMDIsMC0wLjAwMywwYy0wLjA1NywwLTAuMTEzLDAuMDE0LTAuMTcsMC4wMjhsLTAuMDk5LDAuMDI4bC0wLjI1NSwwLjA3MWwtMi41MSwwLjY3MgoJCWMtMC4yNjksMC4wNzEtMC40MjQsMC4zMzktMC4zNTQsMC42MDhjMC4wMjEsMC4wOTIsMC4wNzEsMC4xNywwLjEyNywwLjIyNmMwLjEyLDAuMTIsMC4zMDQsMC4xNzcsMC40ODEsMC4xMjdsMS4wOTktMC4yOTYKCQlMMTEuMDUsNS4yNGMtMC41OSwwLjU5LTEuNTMsMC41OS0yLjEyLDBjLTAuNTktMC41OC0wLjU5LTEuNTMsMC0yLjEybDEuMjYzLTEuMjYzQzEwLjUwOSwxLjU0MSwxMC4yODUsMSw5LjgzOCwxCgkJQzkuNzA1LDEsOS41NzcsMS4wNTMsOS40ODMsMS4xNDdMOC4yMiwyLjQxYy0wLjk3LDAuOTgtMC45NywyLjU2LDAsMy41NGMwLjk4LDAuOTgsMi41NiwwLjk4LDMuNTQsMGwyLjc3NS0yLjc3NkwxNC4yNCw0LjI3NAoJCWMtMC4wNDksMC4xNzcsMC4wMDcsMC4zNjEsMC4xMjcsMC40ODFjMC4wNTcsMC4wNTcsMC4xMzQsMC4xMDYsMC4yMjYsMC4xMjdjMC4yNjksMC4wNzEsMC41MzctMC4wODUsMC42MDgtMC4zNTRsMC43NDMtMi43NjUKCQlsMC4wMjgtMC4wOTlsMC4wMDUtMC4wMjVsMC4wMDMtMC4wMWMwLjAwNi0wLjAyNSwwLjAwOS0wLjA1NywwLjAxMi0wLjA4N0MxNS45OTUsMS41MjYsMTYsMS41MSwxNiwxLjQ5NWMwLTAuMDAxLDAtMC4wMDIsMC0wLjAwMgoJCUMxNiwxLjQ5MiwxNiwxLjQ5MSwxNiwxLjQ5eiIvPgo8L2c+Cjwvc3ZnPgo="});var But=xe((xdn,iFo)=>{iFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8Y2lyY2xlIGN4PSI1IiBjeT0iMTQiIHI9IjEiLz4KCTxwYXRoIGQ9Ik0xNS45OTYsMy40ODJjLTAuMDAxLTAuMDI1LTAuMDEtMC4wNDctMC4wMTQtMC4wNzFDMTUuOTc0LDMuMzczLDE1Ljk3MSwzLjMzMywxNS45NiwzLjMKCQljLTAuMDAyLTAuMDA0LTAuMDA2LTAuMDA3LTAuMDA4LTAuMDExYy0wLjAyOC0wLjA2MS0wLjA2OC0wLjExNi0wLjExOS0wLjE2MWMtMC4wMDUtMC4wMDUtMC4wMDctMC4wMTMtMC4wMTMtMC4wMTgKCQljLTAuMDUtMC4wMy0wLjA5LTAuMDYtMC4xNS0wLjA4QzE1LjYxLDMuMDEsMTUuNTYsMywxNS41LDNIMy44MUwzLjcyLDIuNUwzLjU5OCwxLjgyM0MzLjUxMiwxLjM0NywzLjA5OCwxLDIuNjE0LDFIMi40M0gwLjc1CgkJQzAuMzM2LDEsMCwxLjMzNiwwLDEuNzVTMC4zMzYsMi41LDAuNzUsMi41SDIuN0wyLjc5LDNsMC4xNywxbDEuMjQsN2wwLjAyOCwwLjE2OEM0LjMxLDExLjY0OCw0LjcyNywxMiw1LjIxNCwxMkg1LjM5aDYuNDhoMC43MTkKCQljMC4yMTEsMCwwLjM5OS0wLjEzMiwwLjQ3LTAuMzMxQzEzLjE3NiwxMS4zNDQsMTIuOTM1LDExLDEyLjU4OSwxMUgxMi4yNEg1LjIyTDQuODYsOWg4LjExaDAuMzU3YzAuNDIyLDAsMC43OTgtMC4yNjUsMC45NDEtMC42NjEKCQlMMTQuMzksOGwxLjU2LTQuMjdsMC4wMDUtMC4wMTRjMC4wMDEtMC4wMDMsMC4wMDQtMC4wMDQsMC4wMDUtMC4wMDZsMC4wMS0wLjA0YzAuMDA1LTAuMDEzLDAuMDAyLTAuMDI2LDAuMDA2LTAuMDQKCQlDMTUuOTg5LDMuNTg2LDE2LDMuNTQ5LDE2LDMuNUMxNiwzLjQ5NCwxNS45OTcsMy40ODgsMTUuOTk2LDMuNDgyeiBNMTMuMzMsOEg0LjY5TDMuOTgsNGgxMC44MUwxMy4zMyw4eiIvPgoJPHBhdGggZD0iTTEyLjAxLDEzSDEyYy0wLjU1LDAtMSwwLjQ1LTEsMXMwLjQ1LDEsMSwxczEtMC40NSwxLTFjMC0wLjE3LTAuMDQtMC4zMy0wLjEyLTAuNDdDMTIuNzEsMTMuMjIsMTIuMzksMTMsMTIuMDEsMTN6Ii8+CjwvZz4KPC9zdmc+Cg=="});var M8e=xe((Tdn,oFo)=>{oFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Y2lyY2xlIGN4PSI2IiBjeT0iMTUiIHI9IjEiLz4KCTxjaXJjbGUgY3g9IjE0IiBjeT0iMTUiIHI9IjEiLz4KCTxwYXRoIGQ9Ik0xNS41LDEySDUuMTZMMy42NzksMy42MkMzLjYxNiwzLjI2MSwzLjMwNSwzLDIuOTQxLDNIMC43NUMwLjMzNiwzLDAsMy4zMzYsMCwzLjc1djBDMCw0LjE2NCwwLjMzNiw0LjUsMC43NSw0LjVoMi4wNwoJCWwxLjM1NCw3LjY3NEM0LjI1OSwxMi42NTIsNC42NzQsMTMsNS4xNTksMTNIMTUuNWMwLjI4LDAsMC41LTAuMjIsMC41LTAuNUMxNiwxMi4yMiwxNS43OCwxMiwxNS41LDEyeiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTE1LDJ2OEg3VjJIMTUgTTE1LDFIN0M2LjQ1LDEsNiwxLjQ1LDYsMnY4YzAsMC41NSwwLjQ1LDEsMSwxaDhjMC41NSwwLDEtMC40NSwxLTFWMkMxNiwxLjQ1LDE1LjU1LDEsMTUsMUwxNSwxeiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTE2LDNIOS43MDRjLTAuMjY1LDAtMC41MiwwLjEwNS0wLjcwNywwLjI5M0w2LDYuMjl2MS40Mkw5LjcxLDRIMTZWM0wxNiwzeiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTExLDZjMC41NTEsMCwxLDAuNDQ5LDEsMXMtMC40NDksMS0xLDFzLTEtMC40NDktMS0xUzEwLjQ0OSw2LDExLDYgTTExLDVDOS44OTUsNSw5LDUuODk1LDksN3MwLjg5NSwyLDIsMnMyLTAuODk1LDItMgoJCVMxMi4xMDUsNSwxMSw1TDExLDV6Ii8+CjwvZz4KPGc+Cgk8cG9seWdvbiBwb2ludHM9IjE2LDYuNSAxMiw2LjUgMTIsNy41IDE2LDcuNSAxNiw2LjUgCSIvPgo8L2c+Cjwvc3ZnPgo="});var zut=xe((Sdn,rFo)=>{rFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Y2lyY2xlIGN4PSI2IiBjeT0iMTUiIHI9IjEiLz4KCTxjaXJjbGUgY3g9IjE0IiBjeT0iMTUiIHI9IjEiLz4KCTxwYXRoIGQ9Ik0xNS41LDEySDUuMTZMMy42NzksMy42MkMzLjYxNiwzLjI2MSwzLjMwNSwzLDIuOTQxLDNIMC43NUMwLjMzNiwzLDAsMy4zMzYsMCwzLjc1djBDMCw0LjE2NCwwLjMzNiw0LjUsMC43NSw0LjVoMi4wNwoJCWwxLjM1NCw3LjY3NEM0LjI1OSwxMi42NTIsNC42NzQsMTMsNS4xNTksMTNIMTUuNWMwLjI4LDAsMC41LTAuMjIsMC41LTAuNUMxNiwxMi4yMiwxNS43OCwxMiwxNS41LDEyeiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTEzLDJ2OEg4VjJIMTMgTTEzLDFIOEM3LjQ0OCwxLDcsMS40NDgsNywydjhjMCwwLjU1MiwwLjQ0OCwxLDEsMWg1YzAuNTUyLDAsMS0wLjQ0OCwxLTFWMkMxNCwxLjQ0OCwxMy41NTIsMSwxMywxTDEzLDF6IgoJCS8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNNy41LDNoLTJDNS4yMjQsMyw1LDMuMjI0LDUsMy41UzUuMjI0LDQsNS41LDRoMkM3Ljc3Niw0LDgsMy43NzYsOCwzLjVTNy43NzYsMyw3LjUsM0w3LjUsM3oiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik03LjUsOGgtMkM1LjIyNCw4LDUsOC4yMjQsNSw4LjVTNS4yMjQsOSw1LjUsOWgyQzcuNzc2LDksOCw4Ljc3Niw4LDguNVM3Ljc3Niw4LDcuNSw4TDcuNSw4eiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTcuNSw1LjVoLTJDNS4yMjQsNS41LDUsNS43MjQsNSw2czAuMjI0LDAuNSwwLjUsMC41aDJDNy43NzYsNi41LDgsNi4yNzYsOCw2UzcuNzc2LDUuNSw3LjUsNS41TDcuNSw1LjV6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNMTUuNSwzaC0yQzEzLjIyNCwzLDEzLDMuMjI0LDEzLDMuNVMxMy4yMjQsNCwxMy41LDRoMkMxNS43NzYsNCwxNiwzLjc3NiwxNiwzLjVTMTUuNzc2LDMsMTUuNSwzTDE1LjUsM3oiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xNS41LDUuNWgtMkMxMy4yMjQsNS41LDEzLDUuNzI0LDEzLDZzMC4yMjQsMC41LDAuNSwwLjVoMkMxNS43NzYsNi41LDE2LDYuMjc2LDE2LDZTMTUuNzc2LDUuNSwxNS41LDUuNUwxNS41LDUuNXoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xNS41LDhoLTJDMTMuMjI0LDgsMTMsOC4yMjQsMTMsOC41UzEzLjIyNCw5LDEzLjUsOWgyQzE1Ljc3Niw5LDE2LDguNzc2LDE2LDguNVMxNS43NzYsOCwxNS41LDhMMTUuNSw4eiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTkuNSwyLjc1Yy0wLjQxNCwwLTAuNzUsMC4zMzYtMC43NSwwLjc1UzkuMDg2LDQuMjUsOS41LDQuMjVzMC43NS0wLjMzNiwwLjc1LTAuNzVTOS45MTQsMi43NSw5LjUsMi43NUw5LjUsMi43NXoiLz4KPC9nPgo8L3N2Zz4K"});var Fut=xe((Mdn,nFo)=>{nFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE0LDJIN0M1Ljc4LDIsNC42NCwyLjM2LDMuNjksM0MzLjYzLDMuMDQsMy41NiwzLjA4LDMuNSwzLjEzYy0wLjM3LDAuMjYtMC43LDAuNTctMSwwLjkxQzEuNTYsNS4wOSwxLDYuNDgsMSw4CgljMCwxLjUyLDAuNTYsMi45MSwxLjUsMy45NmMwLjMsMC4zNCwwLjYzLDAuNjUsMSwwLjkxYzAuMDYsMC4wNSwwLjEzLDAuMDksMC4xOSwwLjEzYzAuOTUsMC42NCwyLjA5LDEsMy4zMSwxaDdjMC41NSwwLDEtMC40NSwxLTEKCVYzQzE1LDIuNDUsMTQuNTUsMiwxNCwyeiBNMTQsMTNoLTMuNjlIN2MtMS4zNiwwLTIuNi0wLjU0LTMuNS0xLjQyYy0wLjQxLTAuNDEtMC43NS0wLjg4LTEtMS40QzIuMTgsOS41MiwyLDguNzgsMiw4CgljMC0wLjc4LDAuMTgtMS41MiwwLjUtMi4xOGMwLjI1LTAuNTIsMC41OS0wLjk5LDEtMS40QzQuNCwzLjU0LDUuNjQsMyw3LDNoMy4zMUgxNFYxM3oiLz4KPC9zdmc+Cg=="});var I8e=xe((Idn,aFo)=>{aFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTIsM0g4Ljc1QzguMzQsMyw4LDMuMzQsOCwzLjc1djguNUM4LDEyLjY2LDguMzQsMTMsOC43NSwxM0gxMmMyLjIxLDAsNC0xLjc5LDQtNFY3QzE2LDQuNzksMTQuMjEsMywxMiwzeiBNMTUsOQoJCWMwLDEuNjUtMS4zNSwzLTMsM0g5VjRoM2MxLjY1LDAsMywxLjM1LDMsM1Y5eiIvPgo8L2c+CjxwYXRoIGQ9Ik02LDEySDFjMC4wMy0wLjc2LDAuMjgtMS40NywwLjczLTIuMDFjMC4xLTAuMTIsMC4yLTAuMjIsMC4zMS0wLjMzYzAuMzgtMC4zNSwwLjgzLTAuNTcsMS4zOC0wLjgzCgljMC40NC0wLjIxLDEuMDktMC41NCwxLjY3LTFDNi4wMiw3LjA4LDYuNSw2LjI2LDYuNSw1LjRjMC0wLjcxLTAuMjItMS4yOS0wLjY2LTEuNzFDNS4xLDIuOTgsNC4wMywzLDQsM0gzLjVoLTMKCUMwLjIyLDMsMCwzLjIyLDAsMy41QzAsMy43OCwwLjIyLDQsMC41LDRoM2gwLjUxYzAuMDYsMCwwLjczLDAuMDEsMS4xNCwwLjQxQzUuMzgsNC42NCw1LjUsNC45Nyw1LjUsNS40YzAsMC41NC0wLjM1LDEuMS0xLjA0LDEuNjUKCWMtMC4zNywwLjMtMC44NCwwLjU4LTEuNDcsMC44OGMtMC40OSwwLjIzLTEuMTEsMC41Mi0xLjYzLDFDMS4yMiw5LjA2LDEuMDgsOS4yLDAuOTYsOS4zNWMtMC42NCwwLjc4LTAuOTksMS44MS0wLjk3LDIuOUwwLDEyLjQ1CgljMCwwLDAsMC4wMzIsMCwwLjA1QzAsMTIuNzc2LDAuMjI0LDEzLDAuNSwxM0g2YzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjVDNi41LDEyLjIyNCw2LjI3NiwxMiw2LDEyeiIvPgo8L3N2Zz4K"});var Uut=xe((Ldn,sFo)=>{sFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LDdjMC41NSwwLDEtMC40NSwxLTFWMmMwLTAuNTUtMC40NS0xLTEtMWgtNGMtMC41NSwwLTEsMC40NS0xLDF2MUg3VjJjMC0wLjU1LTAuNDUtMS0xLTFIMkMxLjQ1LDEsMSwxLjQ1LDEsMnY0CgljMCwwLjU1LDAuNDUsMSwxLDFoMXYzSDJjLTAuNTUsMC0xLDAuNDUtMSwxdjRjMCwwLjU1LDAuNDUsMSwxLDFoNGMwLjU1LDAsMS0wLjQ1LDEtMXYtMS41aDNWMTVjMCwwLjU1LDAuNDUsMSwxLDFoNAoJYzAuNTUsMCwxLTAuNDUsMS0xdi00YzAtMC41NS0wLjQ1LTEtMS0xaC0xLjVWN0gxNXogTTExLDJoNHY0aC0xLjVoLTFIMTFWNFYzVjJ6IE0yLDZWMmg0djF2MXYySDRIM0gyeiBNNiwxNUgydi00aDFoMWgydjEuNXYxVjE1egoJIE0xNSwxMXY0aC00di0xLjV2LTFWMTFoMS41aDFIMTV6IE0xMi41LDEwSDExYy0wLjU1LDAtMSwwLjQ1LTEsMXYxLjVIN1YxMWMwLTAuNTUtMC40NS0xLTEtMUg0VjdoMmMwLjU1LDAsMS0wLjQ1LDEtMVY0aDN2MgoJYzAsMC41NSwwLjQ1LDEsMSwxaDEuNVYxMHoiLz4KPC9zdmc+Cg=="});var Vut=xe((vdn,lFo)=>{lFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNNS41LDFoMUM2Ljc3NiwxLDcsMC43NzYsNywwLjV2MEM3LDAuMjI0LDYuNzc2LDAsNi41LDBoLTFDNS4yMjQsMCw1LDAuMjI0LDUsMC41djBDNSwwLjc3Niw1LjIyNCwxLDUuNSwxeiIvPgoJPHBhdGggZD0iTTkuNSwxaDFDMTAuNzc2LDEsMTEsMC43NzYsMTEsMC41djBDMTEsMC4yMjQsMTAuNzc2LDAsMTAuNSwwaC0xQzkuMjI0LDAsOSwwLjIyNCw5LDAuNXYwQzksMC43NzYsOS4yMjQsMSw5LjUsMXoiLz4KCTxwYXRoIGQ9Ik01LjUsMTZoMUM2Ljc3NiwxNiw3LDE1Ljc3Niw3LDE1LjV2MEM3LDE1LjIyNCw2Ljc3NiwxNSw2LjUsMTVoLTFDNS4yMjQsMTUsNSwxNS4yMjQsNSwxNS41djBDNSwxNS43NzYsNS4yMjQsMTYsNS41LDE2eiIKCQkvPgoJPHBhdGggZD0iTTkuNSwxNmgxYzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjV2MGMwLTAuMjc2LTAuMjI0LTAuNS0wLjUtMC41aC0xQzkuMjI0LDE1LDksMTUuMjI0LDksMTUuNXYwQzksMTUuNzc2LDkuMjI0LDE2LDkuNSwxNgoJCXoiLz4KCTxwYXRoIGQ9Ik0xNS41LDdMMTUuNSw3QzE1Ljc3Niw3LDE2LDYuNzc2LDE2LDYuNXYtMUMxNiw1LjIyNCwxNS43NzYsNSwxNS41LDVoMEMxNS4yMjQsNSwxNSw1LjIyNCwxNSw1LjV2MQoJCUMxNSw2Ljc3NiwxNS4yMjQsNywxNS41LDd6Ii8+Cgk8cGF0aCBkPSJNMTUuNSwxMUwxNS41LDExYzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjV2LTFDMTYsOS4yMjQsMTUuNzc2LDksMTUuNSw5aDBDMTUuMjI0LDksMTUsOS4yMjQsMTUsOS41djEKCQlDMTUsMTAuNzc2LDE1LjIyNCwxMSwxNS41LDExeiIvPgoJPHBhdGggZD0iTTAuNSw1TDAuNSw1QzAuMjI0LDUsMCw1LjIyNCwwLDUuNXYxQzAsNi43NzYsMC4yMjQsNywwLjUsN2gwQzAuNzc2LDcsMSw2Ljc3NiwxLDYuNXYtMUMxLDUuMjI0LDAuNzc2LDUsMC41LDV6Ii8+Cgk8cGF0aCBkPSJNMC41LDlMMC41LDlDMC4yMjQsOSwwLDkuMjI0LDAsOS41djFDMCwxMC43NzYsMC4yMjQsMTEsMC41LDExaDBDMC43NzYsMTEsMSwxMC43NzYsMSwxMC41di0xQzEsOS4yMjQsMC43NzYsOSwwLjUsOXoiLz4KCTxwYXRoIGQ9Ik0xLDBDMC40NDgsMCwwLDAuNDQ4LDAsMXYxLjVDMCwyLjc3NiwwLjIyNCwzLDAuNSwzaDBDMC43NzYsMywxLDIuNzc2LDEsMi41VjFoMS41QzIuNzc2LDEsMywwLjc3NiwzLDAuNXYwCgkJQzMsMC4yMjQsMi43NzYsMCwyLjUsMEgxeiIvPgoJPHBhdGggZD0iTTAuNSwxM0wwLjUsMTNDMC4yMjQsMTMsMCwxMy4yMjQsMCwxMy41VjE1YzAsMC41NTIsMC40NDgsMSwxLDFoMS41QzIuNzc2LDE2LDMsMTUuNzc2LDMsMTUuNXYwQzMsMTUuMjI0LDIuNzc2LDE1LDIuNSwxNQoJCUgxdi0xLjVDMSwxMy4yMjQsMC43NzYsMTMsMC41LDEzeiIvPgoJPHBhdGggZD0iTTE1LDE1aC0xLjVjLTAuMjc2LDAtMC41LDAuMjI0LTAuNSwwLjV2MGMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41SDE1YzAuNTUyLDAsMS0wLjQ0OCwxLTF2LTEuNQoJCWMwLTAuMjc2LTAuMjI0LTAuNS0wLjUtMC41aDBjLTAuMjc2LDAtMC41LDAuMjI0LTAuNSwwLjVWMTV6Ii8+Cgk8cGF0aCBkPSJNMTMsMC41TDEzLDAuNUMxMywwLjc3NiwxMy4yMjQsMSwxMy41LDFIMTV2MS41QzE1LDIuNzc2LDE1LjIyNCwzLDE1LjUsM2gwQzE1Ljc3NiwzLDE2LDIuNzc2LDE2LDIuNVYxCgkJYzAtMC41NTItMC40NDgtMS0xLTFoLTEuNUMxMy4yMjQsMCwxMywwLjIyNCwxMywwLjV6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNNywzdjJIM1YzSDcgTTcsMkgzQzIuNDQ4LDIsMiwyLjQ0OCwyLDN2MmMwLDAuNTUyLDAuNDQ4LDEsMSwxaDRjMC41NTIsMCwxLTAuNDQ4LDEtMVYzQzgsMi40NDgsNy41NTIsMiw3LDJMNywyeiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTEzLDN2NWgtMlYzSDEzIE0xMywyaC0yYy0wLjU1MiwwLTEsMC40NDgtMSwxdjVjMCwwLjU1MiwwLjQ0OCwxLDEsMWgyYzAuNTUyLDAsMS0wLjQ0OCwxLTFWM0MxNCwyLjQ0OCwxMy41NTIsMiwxMywyCgkJTDEzLDJ6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNMTMsMTF2Mkg2di0ySDEzIE0xMywxMEg2Yy0wLjU1MiwwLTEsMC40NDgtMSwxdjJjMCwwLjU1MiwwLjQ0OCwxLDEsMWg3YzAuNTUyLDAsMS0wLjQ0OCwxLTF2LTIKCQlDMTQsMTAuNDQ4LDEzLjU1MiwxMCwxMywxMEwxMywxMHoiLz4KPC9nPgo8L3N2Zz4K"});var Hut=xe((Ddn,cFo)=>{cFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNNSwwSDFDMC40NDgsMCwwLDAuNDQ4LDAsMXY0YzAsMC41NTIsMC40NDgsMSwxLDFoNGMwLjU1MiwwLDEtMC40NDgsMS0xVjFDNiwwLjQ0OCw1LjU1MiwwLDUsMHogTTUsNUgxVjFoNFY1eiIvPgoJPHBhdGggZD0iTTUsMTBIMWMtMC41NTIsMC0xLDAuNDQ4LTEsMXY0YzAsMC41NTIsMC40NDgsMSwxLDFoNGMwLjU1MiwwLDEtMC40NDgsMS0xdi00QzYsMTAuNDQ4LDUuNTUyLDEwLDUsMTB6IE01LDE1SDF2LTRoNFYxNXoiCgkJLz4KCTxwYXRoIGQ9Ik0xNSwwaC00Yy0wLjU1MiwwLTEsMC40NDgtMSwxdjRjMCwwLjU1MiwwLjQ0OCwxLDEsMWg0YzAuNTUyLDAsMS0wLjQ0OCwxLTFWMUMxNiwwLjQ0OCwxNS41NTIsMCwxNSwweiBNMTUsNWgtNFYxaDRWNXoiLz4KCTxwYXRoIGQ9Ik0xNSwxMGgtNGMtMC41NTIsMC0xLDAuNDQ4LTEsMXY0YzAsMC41NTIsMC40NDgsMSwxLDFoNGMwLjU1MiwwLDEtMC40NDgsMS0xdi00QzE2LDEwLjQ0OCwxNS41NTIsMTAsMTUsMTB6IE0xNSwxNWgtNHYtNAoJCWg0VjE1eiIvPgo8L2c+Cjwvc3ZnPgo="});var Gut=xe((Edn,dFo)=>{dFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMi42NDIsNS4zODZjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNVYzLjcyOGwyLjc3LDIuNzdMNS4yMDYsNy4yMDVDNS4wMSw3LjQsNS4wMSw3LjcxNyw1LjIwNiw3LjkxMgoJCWMwLjE5NSwwLjE5NSwwLjUxMiwwLjE5NSwwLjcwNywwbDIuMTIxLTIuMTIxYzAuMTk1LTAuMTk1LDAuMTk1LTAuNTEyLDAtMC43MDdzLTAuNTEyLTAuMTk1LTAuNzA3LDBMNi42Miw1Ljc5MUwyLjk5NiwyLjE2NwoJCUMyLjk1LDIuMTIxLDIuODk1LDIuMDg0LDIuODM0LDIuMDU5QzIuNzcyLDIuMDM0LDIuNzA4LDIuMDIxLDIuNjQyLDIuMDIxbDAsMGMtMC4wMDEsMC0wLjAwMSwwLTAuMDAyLDAKCQljLTAuMDY1LDAtMC4xMjksMC4wMTMtMC4xODksMC4wMzhjLTAuMTIyLDAuMDUxLTAuMjIsMC4xNDgtMC4yNywwLjI3QzIuMTU2LDIuMzkxLDIuMTQyLDIuNDU2LDIuMTQyLDIuNTIxdjIuMzY1CgkJQzIuMTQyLDUuMTYyLDIuMzY2LDUuMzg2LDIuNjQyLDUuMzg2eiIvPgoJPHBhdGggZD0iTTE0LDBjLTEuMTA1LDAtMiwwLjg5NS0yLDJjMCwwLjU1MiwwLjIyNCwxLjA1MiwwLjU4NiwxLjQxNGMtMC4wMDgtMC4wMDgtMC4wMTgtMC4wMS0wLjAyNi0wLjAxNwoJCWMtMC4wMTYtMC4wMTQtMC4wMzMtMC4wMjYtMC4wNTEtMC4wMzljLTAuMDE5LTAuMDEzLTAuMDM4LTAuMDI0LTAuMDU5LTAuMDM1Yy0wLjAyMS0wLjAxLTAuMDQtMC4wMTktMC4wNjItMC4wMjYKCQljLTAuMDEtMC4wMDMtMC4wMTYtMC4wMS0wLjAyNi0wLjAxM2MtMC4wMS0wLjAwMy0wLjAyLDAtMC4wMy0wLjAwMmMtMC4wMjItMC4wMDUtMC4wNDItMC4wMDctMC4wNjUtMC4wMDkKCQljLTAuMDI0LTAuMDAyLTAuMDQ3LTAuMDAyLTAuMDcsMGMtMC4wMjIsMC4wMDItMC4wNDIsMC4wMDQtMC4wNjQsMC4wMDhjLTAuMDEsMC4wMDItMC4wMi0wLjAwMS0wLjAzMSwwLjAwMkw5LjIwNSw0LjA2MQoJCUM4LjkzOCw0LjEzMyw4Ljc4LDQuNDA3LDguODUxLDQuNjc0QzguOTIzLDQuOTQsOS4xOTcsNS4wOTksOS40NjQsNS4wMjdsMS4wOTUtMC4yOTRMNy42MzYsNy42NTdMNC43MTMsMTAuNThsMC4yOTQtMS4wOTUKCQlDNS4wNzgsOS4yMTgsNC45Miw4Ljk0NCw0LjY1Myw4Ljg3MlM0LjExMiw4Ljk1OSw0LjA0MSw5LjIyNmwtMC43NzYsMi44OThjLTAuMDAzLDAuMDEsMCwwLjAyLTAuMDAyLDAuMDMxCgkJYy0wLjAwNCwwLjAyMS0wLjAwNywwLjA0Mi0wLjAwOCwwLjA2M2MtMC4wMDIsMC4wMjQtMC4wMDIsMC4wNDcsMCwwLjA3MWMwLjAwMiwwLjAyMiwwLjAwNCwwLjA0MywwLjAwOSwwLjA2NAoJCWMwLjAwMiwwLjAxLTAuMDAxLDAuMDIsMC4wMDIsMC4wM2MwLjAwMywwLjAxLDAuMDEsMC4wMTcsMC4wMTMsMC4wMjZjMC4wMDcsMC4wMjEsMC4wMTYsMC4wNDEsMC4wMjYsMC4wNjIKCQljMC4wMDUsMC4wMTEsMC4wMDYsMC4wMjMsMC4wMTIsMC4wMzRDMi45NjMsMTIuMTk0LDIuNTA2LDEyLDIsMTJjLTEuMTA1LDAtMiwwLjg5NS0yLDJzMC44OTUsMiwyLDJzMi0wLjg5NSwyLTIKCQljMC0wLjUwNi0wLjE5NC0wLjk2My0wLjUwNC0xLjMxNWMwLjAxLDAuMDA2LDAuMDIzLDAuMDA3LDAuMDM0LDAuMDEyYzAuMDIxLDAuMDEsMC4wNCwwLjAxOSwwLjA2MiwwLjAyNgoJCWMwLjAxLDAuMDAzLDAuMDE2LDAuMDEsMC4wMjYsMC4wMTNjMC4wMSwwLjAwMywwLjAyLDAsMC4wMywwLjAwMmMwLjAyMSwwLjAwNCwwLjA0MiwwLjAwNywwLjA2NCwwLjAwOQoJCWMwLjAyNCwwLjAwMiwwLjA0NywwLjAwMiwwLjA3MSwwYzAuMDIyLTAuMDAyLDAuMDQyLTAuMDA0LDAuMDYzLTAuMDA4YzAuMDEtMC4wMDIsMC4wMiwwLjAwMSwwLjAzMS0wLjAwMmwyLjg5OC0wLjc3NgoJCWMwLjI2Ny0wLjA3MSwwLjQyNS0wLjM0NiwwLjM1NC0wLjYxMnMtMC4zNDYtMC40MjUtMC42MTItMC4zNTRMNS40MiwxMS4yODdMOS43NDcsNi45NmwwLDBsMS41MTktMS41MTlsLTAuMjk0LDEuMDk2CgkJYy0wLjA3MSwwLjI2NywwLjA4NywwLjU0MSwwLjM1NCwwLjYxMmMwLjI2NywwLjA3MSwwLjU0MS0wLjA4NywwLjYxMi0wLjM1NGwwLjc3Ni0yLjg5OGMwLjAwMy0wLjAxLDAtMC4wMiwwLjAwMi0wLjAzMQoJCWMwLjAwNC0wLjAyMSwwLjAwNy0wLjA0MiwwLjAwOC0wLjA2M2MwLjAwMi0wLjAyNCwwLjAwMi0wLjA0NywwLTAuMDcxYy0wLjAwMS0wLjAyMi0wLjAwNC0wLjA0My0wLjAwOS0wLjA2NAoJCWMtMC4wMDItMC4wMSwwLjAwMS0wLjAyLTAuMDAyLTAuMDNjLTAuMDAzLTAuMDEtMC4wMS0wLjAxNy0wLjAxMy0wLjAyNmMtMC4wMDctMC4wMjItMC4wMTYtMC4wNDEtMC4wMjYtMC4wNjIKCQljLTAuMDEtMC4wMjEtMC4wMjEtMC4wNC0wLjAzNC0wLjA1OWMtMC4wMTItMC4wMTgtMC4wMjQtMC4wMzUtMC4wMzktMC4wNTFjLTAuMDA3LTAuMDA4LTAuMDEtMC4wMTgtMC4wMTctMC4wMjYKCQlDMTIuOTQ4LDMuNzc2LDEzLjQ0OCw0LDE0LDRjMS4xMDUsMCwyLTAuODk1LDItMlMxNS4xMDUsMCwxNCwweiBNMiwxNWMtMC41NTEsMC0xLTAuNDQ5LTEtMXMwLjQ0OS0xLDEtMXMxLDAuNDQ5LDEsMQoJCVMyLjU1MSwxNSwyLDE1eiBNMTQsM2MtMC41NTEsMC0xLTAuNDQ5LTEtMXMwLjQ0OS0xLDEtMXMxLDAuNDQ5LDEsMVMxNC41NTEsMywxNCwzeiIvPgo8L2c+Cjwvc3ZnPgo="});var $4e=xe((Adn,uFo)=>{uFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUsNFYzYzAtMC41NTItMC40NDgtMS0xLTFINi43TDUuOTkzLDEuMjkzQzUuODA1LDEuMTA1LDUuNTUxLDEsNS4yODYsMUg0LjNIMkMxLjQ1LDEsMSwxLjQ1LDEsMnYxM2MwLDAuNTUsMC40NSwxLDEsMQoJCWgxM2MwLjU1LDAsMS0wLjQ1LDEtMVY1QzE2LDQuNDQ4LDE1LjU1Miw0LDE1LDR6IE0xNC4wMSwyLjk5VjRIOC43TDcuNjksMi45OUgxNC4wMXogTTE1LDE1SDJWMmgzLjNsMC45OSwwLjk5bDEuMDksMS4wOQoJCWwwLjYxNywwLjYxN0M4LjE4NSw0Ljg4NSw4LjQzOSw0Ljk5LDguNzA0LDQuOTlIOS42OWg0LjMySDE1VjE1eiIvPgoJPGNpcmNsZSBjeD0iOC41IiBjeT0iMTAiIHI9IjEiLz4KCTxwYXRoIGQ9Ik0xMi41LDkuNWgtMC41NUMxMS43MjksNy45NzEsMTAuNTI5LDYuNzcxLDksNi41NVY2YzAtMC4yNzYtMC4yMjQtMC41LTAuNS0wLjVTOCw1LjcyNCw4LDZ2MC41NQoJCUM2LjQ3MSw2Ljc3MSw1LjI3MSw3Ljk3MSw1LjA1LDkuNUg0LjVDNC4yMjQsOS41LDQsOS43MjQsNCwxMGMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41aDAuNTVjMC4yMjEsMS41MjksMS40MiwyLjcyOSwyLjk1LDIuOTUKCQlWMTRjMCwwLjI3NiwwLjIyNCwwLjUsMC41LDAuNVM5LDE0LjI3Niw5LDE0di0wLjU1YzEuNTI5LTAuMjIxLDIuNzI5LTEuNDIsMi45NS0yLjk1aDAuNTVjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNQoJCUMxMyw5LjcyNCwxMi43NzYsOS41LDEyLjUsOS41eiBNOC41LDEyLjVDNy4xMjIsMTIuNSw2LDExLjM3OCw2LDEwYzAtMS4zNzksMS4xMjItMi41LDIuNS0yLjVTMTEsOC42MjEsMTEsMTAKCQlDMTEsMTEuMzc4LDkuODc4LDEyLjUsOC41LDEyLjV6Ii8+CjwvZz4KPC9zdmc+Cg=="});var ZZt=xe((Ndn,pFo)=>{pFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8cmVjdCBmaWxsPSJub25lIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KCTxnPgoJCTxyZWN0IHg9IjMiIHk9IjMiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSIzIiB5PSI0IiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iNCIgeT0iMyIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjgiIHk9IjMiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSIxMiIgeT0iMyIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjQiIHk9IjciIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSI4IiB5PSI3IiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iMTIiIHk9IjciIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSI0IiB5PSIxMSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjgiIHk9IjExIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iMTIiIHk9IjExIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iNyIgeT0iMyIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjciIHk9IjQiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSIxMSIgeT0iMyIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjExIiB5PSI0IiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iMyIgeT0iNyIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjMiIHk9IjgiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSI3IiB5PSI3IiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iNyIgeT0iOCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjExIiB5PSI3IiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iMTEiIHk9IjgiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSIzIiB5PSIxMSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjMiIHk9IjEyIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iNyIgeT0iMTEiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSI3IiB5PSIxMiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjExIiB5PSIxMSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjExIiB5PSIxMiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxnPgoJCQk8cGF0aCBkPSJNMTUsMXYxNEgxVjFIMTUgTTE1LDBIMUMwLjQ0OCwwLDAsMC40NDgsMCwxdjE0YzAsMC41NTIsMC40NDgsMSwxLDFoMTRjMC41NTIsMCwxLTAuNDQ4LDEtMVYxQzE2LDAuNDQ4LDE1LjU1MiwwLDE1LDAKCQkJCUwxNSwweiIvPgoJCTwvZz4KCTwvZz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var JZt=xe((kdn,mFo)=>{mFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LDFoLTRoLTFIN0g2SDJDMS40NDgsMSwxLDEuNDQ4LDEsMnY0djF2M3YxdjRjMCwwLjU1MiwwLjQ0OCwxLDEsMWg4aDFoNGMwLjU1MiwwLDEtMC40NDgsMS0xVjdWNlYyCglDMTYsMS40NDgsMTUuNTUyLDEsMTUsMXogTTEwLDJ2NEg3VjJIMTB6IE0xMCw3djNIN1Y3SDEweiBNMiwyaDR2NEgyVjJ6IE0yLDdoNHYzSDJWN3ogTTIsMTV2LTRoNHY0SDJ6IE03LDE1di00aDN2NEg3eiBNMTUsMTVoLTQKCXYtNGg0VjE1eiBNMTUsMTBoLTRWN2g0VjEweiBNMTEsNlYyaDR2NEgxMXoiLz4KPC9zdmc+Cg=="});var qZt=xe((Pdn,hFo)=>{hFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUsMUgyQzEuNDQ4LDEsMSwxLjQ0OCwxLDJ2MTNjMCwwLjU1MiwwLjQ0OCwxLDEsMWgxM2MwLjU1MiwwLDEtMC40NDgsMS0xVjJDMTYsMS40NDgsMTUuNTUyLDEsMTUsMXogTTE1LDE1SDJWMmgxM1YxNXoiCgkJLz4KCTxwYXRoIGQ9Ik0zLjgwNCw5Ljg1MmwxLjE0OC0xLjYzOEM0Ljk2Myw4LjE5OCw0Ljk2NSw4LjE3OCw0Ljk3NSw4LjE2QzUuNDkyLDguMzksNi4wMjcsOC41NjcsNi41NzksOC42OQoJCWMwLDAuMDAzLTAuMDAyLDAuMDA1LTAuMDAzLDAuMDA4bC0wLjIxMiwxLjk4OWMtMC4wMjksMC4yNzUsMC4xNywwLjUyMSwwLjQ0NCwwLjU1YzAuMjc1LDAuMDI5LDAuNTIxLTAuMTcsMC41NS0wLjQ0NGwwLjIwNy0xLjk0CgkJQzcuODc2LDguODg2LDguMTg0LDguOTI4LDguNSw4LjkyOGMwLjMwNSwwLDAuNjA1LTAuMDIxLDAuOTA0LTAuMDUxbDAuMjA1LDEuOTE3YzAuMDI5LDAuMjc1LDAuMjc2LDAuNDczLDAuNTUsMC40NDQKCQljMC4yNzUtMC4wMjksMC40NzMtMC4yNzYsMC40NDQtMC41NWwtMC4yMS0xLjk3YzAuNTU1LTAuMTIyLDEuMDk2LTAuMjk0LDEuNjE1LTAuNTIzYzAuMDA0LDAuMDA2LDAuMDA0LDAuMDEzLDAuMDA4LDAuMDE5CgkJbDEuMTQ4LDEuNjM4YzAuMTU4LDAuMjI2LDAuNDcsMC4yODEsMC42OTYsMC4xMjNjMC4yMjYtMC4xNTgsMC4yODEtMC40NywwLjEyMy0wLjY5NmwtMS4wODItMS41NDQKCQljMC4zLTAuMTc1LDAuNTk0LTAuMzYzLDAuODc1LTAuNTc2YzAuMjItMC4xNjYsMC4yNjQtMC40OCwwLjA5Ny0wLjdjLTAuMTY3LTAuMjItMC40OC0wLjI2NS0wLjctMC4wOTcKCQljLTEuMzU0LDEuMDI0LTIuOTcsMS41NjYtNC42NzMsMS41NjZjLTEuNjg3LDAtMy4yOS0wLjUzMi00LjYzNi0xLjUzOWMtMC4yMjItMC4xNjYtMC41MzUtMC4xMi0wLjcsMC4xMDEKCQljLTAuMTY2LDAuMjIyLTAuMTIsMC41MzUsMC4xMDEsMC43YzAuMjYyLDAuMTk2LDAuNTQyLDAuMzU0LDAuODIsMC41MTdMMi45ODQsOS4yNzhDMi44MjYsOS41MDUsMi44ODEsOS44MTYsMy4xMDcsOS45NzUKCQlDMy4zMzMsMTAuMTMzLDMuNjQ1LDEwLjA3OCwzLjgwNCw5Ljg1MnoiLz4KPC9nPgo8L3N2Zz4K"});var Yut=xe((Odn,fFo)=>{fFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNNy41LDFIMkMxLjQ1LDEsMSwxLjQ1LDEsMnYxM2MwLDAuNTUsMC40NSwxLDEsMWgxM2MwLjU1LDAsMS0wLjQ1LDEtMVY5LjVDMTYsOS4yMjQsMTUuNzc2LDksMTUuNSw5UzE1LDkuMjI0LDE1LDkuNVYxNQoJCQlIMlYyaDUuNUM3Ljc3NiwyLDgsMS43NzYsOCwxLjVDOCwxLjIyNCw3Ljc3NiwxLDcuNSwxTDcuNSwxeiIvPgoJPC9nPgoJPGc+CgkJPHBhdGggZD0iTTE0LjY0NiwxLjg1NGMtMC4xMjgsMC0wLjI1NiwwLjA0OS0wLjM1NCwwLjE0Nkw5LDcuMjkzVjQuNUM5LDQuMjI0LDguNzc2LDQsOC41LDRTOCw0LjIyNCw4LDQuNXY0CgkJCWMwLDAuMDAxLDAsMC4wMDEsMCwwLjAwMkM4LDguNTY2LDguMDE0LDguNjMsOC4wMzksOC42OTFjMC4wMjQsMC4wNTksMC4wNiwwLjExMiwwLjEwNCwwLjE1N0M4LjE0NCw4Ljg1LDguMTQ1LDguODUyLDguMTQ2LDguODU0CgkJCUM4LjE0OCw4Ljg1NSw4LjE0OSw4Ljg1NSw4LjE1LDguODU2YzAuMDQ1LDAuMDQ0LDAuMDk5LDAuMDgxLDAuMTU4LDAuMTA1QzguMzcsOC45ODcsOC40MzUsOSw4LjUsOWg0QzEyLjc3Niw5LDEzLDguNzc2LDEzLDguNQoJCQlDMTMsOC4yMjQsMTIuNzc2LDgsMTIuNSw4SDkuNzA3TDE1LDIuNzA3QzE1LjE5NSwyLjUxMiwxNS4xOTUsMi4xOTUsMTUsMkMxNC45MDIsMS45MDIsMTQuNzc0LDEuODU0LDE0LjY0NiwxLjg1NEwxNC42NDYsMS44NTR6IgoJCQkvPgoJPC9nPgo8L2c+Cjwvc3ZnPgo="});var Wut=xe((Rdn,gFo)=>{gFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTEwLjU5NCwxNi4wMzVjLTAuMDM0LDAtMC4wNjktMC4wMDMtMC4xMDQtMC4wMDljLTAuMjY0LTAuMDQ1LTAuNDYyLTAuMjU0LTAuNDkzLTAuNTJMOS4xNjIsOC41MQoJCUM5LjEzMyw4LjI3Miw5LjI0OCw4LjA0LDkuNDU3LDcuOTE5YzAuMjA2LTAuMTE5LDAuNDY3LTAuMTA0LDAuNjYsMC4wMzlsNS42NDIsNC4yMjFjMC4yMTMsMC4xNTksMC4yOTYsMC40MzUsMC4yMDQsMC42ODYKCQljLTAuMDkxLDAuMjUyLTAuMzIyLDAuNDIxLTAuNiwwLjM5NWwtMi42LTAuMTY4Yy0wLjE5LTAuMDE1LTAuMzkxLDAuMDk2LTAuNDgsMC4yNzdsLTEuMTUzLDIuMzMzCgkJQzExLjAyNywxNS45MDksMTAuODE5LDE2LjAzNSwxMC41OTQsMTYuMDM1eiBNMTAuMjY2LDkuMzE3bDAuNTYzLDQuNzM0bDAuNTU4LTEuMTI3YzAuMjY5LTAuNTQ0LDAuODQxLTAuODczLDEuNDQtMC44MzIKCQlsMS4yNTYsMC4wODFMMTAuMjY2LDkuMzE3eiBNMTUuMTU5LDEyLjk3OUMxNS4xNTksMTIuOTc5LDE1LjE2LDEyLjk3OSwxNS4xNTksMTIuOTc5TDE1LjE1OSwxMi45Nzl6IE0xMC4xNTQsOC4zODlsMC4wMDEsMC4wMDQKCQlDMTAuMTU0LDguMzkyLDEwLjE1NCw4LjM5LDEwLjE1NCw4LjM4OXoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xLjQzNiwxNi4wMzVjLTAuMDM0LDAtMC4wNjktMC4wMDMtMC4xMDQtMC4wMDljLTAuMjY0LTAuMDQ1LTAuNDYyLTAuMjU0LTAuNDkzLTAuNTJMMC4wMDUsOC41MQoJCUMtMC4wMjUsOC4yNzIsMC4wOSw4LjA0LDAuMjk5LDcuOTE5QzAuNTA1LDcuOCwwLjc2Niw3LjgxNCwwLjk2LDcuOTU4bDUuNjQyLDQuMjIxYzAuMjEzLDAuMTU5LDAuMjk2LDAuNDM1LDAuMjA0LDAuNjg2CgkJYy0wLjA5MSwwLjI1Mi0wLjMyMiwwLjQyMS0wLjYsMC4zOTVsLTIuNi0wLjE2OGMtMC4xOS0wLjAxNS0wLjM5MSwwLjA5Ni0wLjQ4LDAuMjc3bC0xLjE1MywyLjMzMwoJCUMxLjg3LDE1LjkwOSwxLjY2MiwxNi4wMzUsMS40MzYsMTYuMDM1eiBNMS4xMDgsOS4zMTdsMC41NjMsNC43MzRsMC41NTgtMS4xMjdjMC4yNjktMC41NDQsMC44NDEtMC44NzMsMS40NC0wLjgzMmwxLjI1NiwwLjA4MQoJCUwxLjEwOCw5LjMxN3ogTTYuMDAyLDEyLjk3OUM2LjAwMiwxMi45NzksNi4wMDMsMTIuOTc5LDYuMDAyLDEyLjk3OUw2LjAwMiwxMi45Nzl6IE0wLjk5Nyw4LjM4OWwwLjAwMSwwLjAwNAoJCUMwLjk5Nyw4LjM5MiwwLjk5Nyw4LjM5LDAuOTk3LDguMzg5eiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTUuNDM2LDguMTk2Yy0wLjAzNCwwLTAuMDY5LTAuMDAzLTAuMTA0LTAuMDA5QzUuMDY4LDguMTQzLDQuODcsNy45MzQsNC44MzgsNy42NjhMNC4wMDUsMC42NzEKCQlDMy45NzUsMC40MzQsNC4wOSwwLjIwMSw0LjI5OSwwLjA4YzAuMjA2LTAuMTE5LDAuNDY3LTAuMTA0LDAuNjYsMC4wMzlsNS42NDIsNC4yMjFjMC4yMTMsMC4xNTksMC4yOTYsMC40MzUsMC4yMDQsMC42ODYKCQljLTAuMDkxLDAuMjUyLTAuMzIyLDAuNDIxLTAuNiwwLjM5NWwtMi42LTAuMTY4Yy0wLjE5LTAuMDE1LTAuMzkxLDAuMDk2LTAuNDgsMC4yNzdMNS45NzIsNy44NjIKCQlDNS44Nyw4LjA3LDUuNjYyLDguMTk2LDUuNDM2LDguMTk2eiBNNS4xMDgsMS40NzhsMC41NjMsNC43MzRsMC41NTgtMS4xMjdDNi40OTgsNC41NDIsNy4wNyw0LjIxMyw3LjY3LDQuMjU0bDEuMjU2LDAuMDgxCgkJTDUuMTA4LDEuNDc4eiBNMTAuMDAyLDUuMTQxQzEwLjAwMiw1LjE0MSwxMC4wMDMsNS4xNDEsMTAuMDAyLDUuMTQxTDEwLjAwMiw1LjE0MXogTTQuOTk3LDAuNTVsMC4wMDEsMC4wMDQKCQlDNC45OTcsMC41NTMsNC45OTcsMC41NTEsNC45OTcsMC41NXoiLz4KPC9nPgo8L3N2Zz4K"});var L8e=xe((_dn,bFo)=>{bFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTcsMXYxMUgxVjFINyBNNywwSDFDMC40NDgsMCwwLDAuNDQ4LDAsMXYxMWMwLDAuNTUyLDAuNDQ4LDEsMSwxaDZjMC41NTIsMCwxLTAuNDQ4LDEtMVYxQzgsMC40NDgsNy41NTIsMCw3LDBMNywweiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTEwLjU5NCwxNi4wMzVjLTAuMDM0LDAtMC4wNjktMC4wMDMtMC4xMDQtMC4wMDljLTAuMjY0LTAuMDQ1LTAuNDYyLTAuMjU0LTAuNDkzLTAuNTJMOS4xNjIsOC41MQoJCUM5LjEzMyw4LjI3Miw5LjI0OCw4LjA0LDkuNDU3LDcuOTE5YzAuMjA2LTAuMTE5LDAuNDY3LTAuMTA0LDAuNjYsMC4wMzlsNS42NDIsNC4yMjFjMC4yMTMsMC4xNTksMC4yOTYsMC40MzUsMC4yMDQsMC42ODYKCQljLTAuMDkxLDAuMjUyLTAuMzIyLDAuNDIxLTAuNiwwLjM5NWwtMi42LTAuMTY4Yy0wLjE5LTAuMDE1LTAuMzkxLDAuMDk2LTAuNDgsMC4yNzdsLTEuMTUzLDIuMzMzCgkJQzExLjAyNywxNS45MDksMTAuODE5LDE2LjAzNSwxMC41OTQsMTYuMDM1eiBNMTAuMjY2LDkuMzE3bDAuNTYzLDQuNzM0bDAuNTU4LTEuMTI3YzAuMjY5LTAuNTQ0LDAuODQxLTAuODczLDEuNDQtMC44MzIKCQlsMS4yNTYsMC4wODFMMTAuMjY2LDkuMzE3eiBNMTUuMTU5LDEyLjk3OUMxNS4xNTksMTIuOTc5LDE1LjE2LDEyLjk3OSwxNS4xNTksMTIuOTc5TDE1LjE1OSwxMi45Nzl6IE0xMC4xNTQsOC4zODlsMC4wMDEsMC4wMDQKCQlDMTAuMTU0LDguMzkyLDEwLjE1NCw4LjM5LDEwLjE1NCw4LjM4OXoiLz4KPC9nPgo8L3N2Zz4K"});var v8e=xe((jdn,yFo)=>{yFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMTEsMEgzQzIuNDUsMCwyLDAuNDUsMiwxdjExYzAsMC41NSwwLjQ1LDEsMSwxaDMuNUM2Ljc3NiwxMyw3LDEyLjc3Niw3LDEyLjV2MEM3LDEyLjIyNCw2Ljc3NiwxMiw2LjUsMTJIM1YxaDh2NC41CgkJQzExLDUuNzc2LDExLjIyNCw2LDExLjUsNmgwQzExLjc3Niw2LDEyLDUuNzc2LDEyLDUuNVYxQzEyLDAuNDUsMTEuNTUsMCwxMSwweiIvPgoJPGc+CgkJPHBhdGggZD0iTTkuNTk0LDE2LjAzNWMtMC4wMzQsMC0wLjA2OS0wLjAwMy0wLjEwNC0wLjAwOWMtMC4yNjQtMC4wNDUtMC40NjItMC4yNTQtMC40OTMtMC41Mkw4LjE2Miw4LjUxCgkJCUM4LjEzMyw4LjI3Miw4LjI0OCw4LjA0LDguNDU3LDcuOTE5QzguNjYzLDcuOCw4LjkyNCw3LjgxNCw5LjExNyw3Ljk1OGw1LjY0Miw0LjIyMWMwLjIxMywwLjE1OSwwLjI5NiwwLjQzNSwwLjIwNCwwLjY4NgoJCQljLTAuMDkxLDAuMjUyLTAuMzIyLDAuNDIxLTAuNiwwLjM5NWwtMi42LTAuMTY4Yy0wLjE5LTAuMDE1LTAuMzkxLDAuMDk2LTAuNDgsMC4yNzdsLTEuMTUzLDIuMzMzCgkJCUMxMC4wMjcsMTUuOTA5LDkuODE5LDE2LjAzNSw5LjU5NCwxNi4wMzV6IE05LjI2Niw5LjMxN2wwLjU2Myw0LjczNGwwLjU1OC0xLjEyN2MwLjI2OS0wLjU0NCwwLjg0MS0wLjg3MywxLjQ0LTAuODMybDEuMjU2LDAuMDgxCgkJCUw5LjI2Niw5LjMxN3ogTTE0LjE1OSwxMi45NzlDMTQuMTU5LDEyLjk3OSwxNC4xNiwxMi45NzksMTQuMTU5LDEyLjk3OUwxNC4xNTksMTIuOTc5eiBNOS4xNTQsOC4zODlsMC4wMDEsMC4wMDQKCQkJQzkuMTU0LDguMzkyLDkuMTU0LDguMzksOS4xNTQsOC4zODl6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var Qut=xe((Bdn,wFo)=>{wFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTE1LDFINi43MUg1LjcwNGMtMC4yNjUsMC0wLjUyLDAuMTA1LTAuNzA3LDAuMjkzTDEuMjkzLDQuOTk3QzEuMTA1LDUuMTg1LDEsNS40MzksMSw1LjcwNFY2LjcxVjE1YzAsMC41NSwwLjQ1LDEsMSwxaDUuMwoJCWMwLjI2MiwwLDAuNTE0LTAuMTA0LDAuNy0wLjI5bDEuMTUtMS4xNWMwLjE5LTAuMTksMC4xOS0wLjUxLDAtMC43MWMtMC4xLTAuMDktMC4yMy0wLjE0LTAuMzYtMC4xNGMtMC4xMywwLTAuMjUsMC4wNS0wLjM1LDAuMTQKCQlMNy4yOSwxNUgyVjUuNzFMNS43MSwySDE1djUuMjlsLTEuMTUsMS4xNWMtMC4xOSwwLjE5LTAuMTksMC41MSwwLDAuN2MwLjEsMC4xLDAuMjMsMC4xNSwwLjM2LDAuMTVjMC4xMywwLDAuMjYtMC4wNSwwLjM1LTAuMTQKCQlMMTUuNzEsOEMxNS44OTYsNy44MTQsMTYsNy41NjIsMTYsNy4zVjJDMTYsMS40NSwxNS41NSwxLDE1LDF6Ii8+Cgk8cGF0aCBkPSJNMTUsMTEuNTdsLTAuMzktMC4yOWwtMS4yNy0wLjk1bC0wLjgxLTAuNjFsLTIuNDEtMS44Yy0wLjItMC4xNS0wLjQ2LTAuMTYtMC42Ni0wLjA0QzkuMjUsOCw5LjEzLDguMjMsOS4xNiw4LjQ3bDAuNSw0LjEyCgkJdjAuMDFsMC4wNCwwLjM1bDAuMTEsMC45MWwwLjA4LDAuN2wwLjA1LDAuNEwxMCwxNS40N2MwLjAzLDAuMjMsMC4xOSwwLjQyLDAuNDEsMC40OWMwLjAyLDAuMDIsMC4wNSwwLjAyLDAuMDgsMC4wMwoJCWMwLjAzLDAsMC4wNywwLjAxLDAuMSwwLjAxYzAuMDcsMCwwLjE0LTAuMDEsMC4yMS0wLjA0YzAuMTEtMC4wNCwwLjItMC4xMSwwLjI4LTAuMjFjMC4wMi0wLjAyLDAuMDMtMC4wNiwwLjA1LTAuMDlsMC4zNS0wLjcKCQlsMC4wNy0wLjE2bDAuNzMtMS40N2MwLjA5LTAuMTgsMC4yOS0wLjI5LDAuNDgtMC4yOEwxNSwxMy4ybDAuMzYsMC4wMmMwLjI4LDAuMDMsMC41MS0wLjE0LDAuNi0wLjRjMC4wMS0wLjA1LDAuMDMtMC4xLDAuMDQtMC4xNQoJCXYtMC4wNmMwLTAuMTgtMC4wOS0wLjM1LTAuMjQtMC40N0wxNSwxMS41N3ogTTEyLjgzLDEyLjA1Yy0wLjYtMC4wNC0xLjE3LDAuMjktMS40NCwwLjgzbC0wLjU2LDEuMTNsLTAuMTItMS4wNWwtMC4xNS0xLjI3CgkJbC0wLjI5LTIuNDFsMS41NCwxLjE2bDAuODIsMC42bDEuNDUsMS4wOUwxMi44MywxMi4wNXoiLz4KPC9nPgo8L3N2Zz4K"});var Kut=xe((zdn,CFo)=>{CFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik0xNSwxSDYuNzFINS43MDRjLTAuMjY1LDAtMC41MiwwLjEwNS0wLjcwNywwLjI5M0wxLjI5Myw0Ljk5N0MxLjEwNSw1LjE4NSwxLDUuNDM5LDEsNS43MDRWNi43MVYxNWMwLDAuNTUsMC40NSwxLDEsMWg1CgljMC41NSwwLDEtMC40NSwxLTFWN2g3YzAuNTUsMCwxLTAuNDUsMS0xVjJDMTYsMS40NSwxNS41NSwxLDE1LDF6IE0xNSw2SDhDNy40NSw2LDcsNi40NSw3LDd2OEgyVjUuNzFMNS43MSwySDE1VjZ6Ii8+CjxwYXRoIGQ9Ik0xNSwxMS41N2wtNC44OC0zLjY1Yy0wLjItMC4xNS0wLjQ2LTAuMTYtMC42Ni0wLjA0QzkuMjUsOCw5LjEzLDguMjMsOS4xNiw4LjQ3bDAuNzgsNi40OUwxMCwxNS40NwoJYzAuMDMsMC4yMywwLjE5LDAuNDIsMC40MSwwLjQ5YzAuMDIsMC4wMiwwLjA1LDAuMDIsMC4wOCwwLjAzYzAuMDMsMCwwLjA3LDAuMDEsMC4xLDAuMDFjMC4wNywwLDAuMTQtMC4wMSwwLjIxLTAuMDQKCWMwLjE0LTAuMDUsMC4yNi0wLjE2LDAuMzMtMC4zbDAuMzUtMC43bDAuOC0xLjYzYzAuMDktMC4xOCwwLjI5LTAuMjksMC40OC0wLjI4TDE1LDEzLjJsMC4zNiwwLjAyYzAuMjgsMC4wMywwLjUxLTAuMTQsMC42LTAuNAoJYzAuMDItMC4wNywwLjA0LTAuMTQsMC4wNC0wLjIxYzAtMC4xOC0wLjA5LTAuMzUtMC4yNC0wLjQ3TDE1LDExLjU3eiBNMTIuODMsMTIuMDVjLTAuNi0wLjA0LTEuMTcsMC4yOS0xLjQ0LDAuODNsLTAuNTYsMS4xMwoJbC0wLjU2LTQuNzNsMy44MSwyLjg1TDEyLjgzLDEyLjA1eiIvPgo8L3N2Zz4K"});var Zut=xe((Fdn,xFo)=>{xFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTE1Ljc2LDEyLjE0TDE1LDExLjU3bC00Ljg4LTMuNjVjLTAuMi0wLjE1LTAuNDYtMC4xNi0wLjY2LTAuMDRDOS4yNSw4LDkuMTMsOC4yMyw5LjE2LDguNDdsMC43OCw2LjQ5TDEwLDE1LjQ3CgkJYzAuMDMsMC4yMywwLjE5LDAuNDIsMC40MSwwLjQ5YzAuMDIsMC4wMiwwLjA1LDAuMDIsMC4wOCwwLjAzYzAuMDMsMCwwLjA3LDAuMDEsMC4xLDAuMDFjMC4wNywwLDAuMTQtMC4wMSwwLjIxLTAuMDQKCQljMC4xNC0wLjA1LDAuMjYtMC4xNiwwLjMzLTAuM2wwLjM1LTAuN2wwLjgtMS42M2MwLjA5LTAuMTgsMC4yOS0wLjI5LDAuNDgtMC4yOEwxNSwxMy4ybDAuMzYsMC4wMmMwLjI4LDAuMDMsMC41MS0wLjE0LDAuNi0wLjQKCQljMC4wMi0wLjA3LDAuMDQtMC4xNCwwLjA0LTAuMjFDMTYsMTIuNDMsMTUuOTEsMTIuMjYsMTUuNzYsMTIuMTR6IE0xMi44MywxMi4wNWMtMC42LTAuMDQtMS4xNywwLjI5LTEuNDQsMC44M2wtMC41NiwxLjEzCgkJbC0wLjU2LTQuNzNsMy44MSwyLjg1TDEyLjgzLDEyLjA1eiIvPgoJPHBhdGggZD0iTTExLjcxLDdMMTQsNC43bDAuNzA3LTAuNzA3QzE0Ljg5NSwzLjgwNSwxNSwzLjU1MSwxNSwzLjI4NlYyLjNWMC41QzE1LDAuMjI0LDE0Ljc3NiwwLDE0LjUsMGgwQzE0LjIyNCwwLDE0LDAuMjI0LDE0LDAuNQoJCXYyLjhsLTMsMi45OWMtMC4xLDAuMS0wLjE1LDAuMjMtMC4xNSwwLjM1QzEwLjg1LDYuNzcsMTAuOSw2LjksMTEsN0MxMS4yLDcuMiwxMS41MSw3LjIsMTEuNzEsN3oiLz4KCTxwYXRoIGQ9Ik03LjI5LDEwTDMuMywxNEgwLjVDMC4yMjQsMTQsMCwxNC4yMjQsMCwxNC41djBDMCwxNC43NzYsMC4yMjQsMTUsMC41LDE1aDEuOGgwLjk4NmMwLjI2NSwwLDAuNTItMC4xMDUsMC43MDctMC4yOTMKCQlMNC43LDE0TDgsMTAuNzFjMC4xLTAuMSwwLjE1LTAuMjMsMC4xNS0wLjM1QzguMTUsMTAuMjMsOC4xLDEwLjEsOCwxMEM3LjgsOS44LDcuNDksOS44LDcuMjksMTB6Ii8+CjwvZz4KPC9zdmc+Cg=="});var D8e=xe((Udn,TFo)=>{TFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE0LjUsN0g2Ljk1QzYuODQ4LDYuNDEzLDYuNTc1LDUuODUxLDYuMTIxLDUuMzk3QzUuNTM2LDQuODEyLDQuNzY4LDQuNTE5LDQsNC41MTlTMi40NjQsNC44MTIsMS44NzksNS4zOTcKCWMtMS4xNzIsMS4xNzItMS4xNzIsMy4wNzEsMCw0LjI0M0MyLjQ2NCwxMC4yMjYsMy4yMzIsMTAuNTE5LDQsMTAuNTE5czEuNTM2LTAuMjkzLDIuMTIxLTAuODc5QzYuNTg0LDkuMTc3LDYuODU3LDguNiw2Ljk1NCw4SDE0LjUKCUMxNC43NzYsOCwxNSw3Ljc3NiwxNSw3LjVTMTQuNzc2LDcsMTQuNSw3eiBNNS40MTQsOC45MzNDNS4wMzYsOS4zMTEsNC41MzQsOS41MTksNCw5LjUxOWMtMC41MzQsMC0xLjAzNi0wLjIwOC0xLjQxNC0wLjU4NgoJUzIsOC4wNTMsMiw3LjUxOWMwLTAuNTM0LDAuMjA4LTEuMDM2LDAuNTg2LTEuNDE0UzMuNDY2LDUuNTE5LDQsNS41MTljMC41MzQsMCwxLjAzNiwwLjIwOCwxLjQxNCwwLjU4NgoJQzUuNjY2LDYuMzU2LDUuODM0LDYuNjY1LDUuOTI0LDdINC4yNWMtMC4yNzYsMC0wLjUsMC4yMjQtMC41LDAuNWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41aDEuNjg1CglDNS44NDksOC4zNDksNS42NzUsOC42NzIsNS40MTQsOC45MzN6Ii8+Cjwvc3ZnPgo="});var Jut=xe((Vdn,SFo)=>{SFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMy4yNSwyLjA1YzAuOCwwLDEuNDUsMC42NSwxLjQ1LDEuNDVTNC4wNSw0Ljk1LDMuMjUsNC45NVMxLjgsNC4zLDEuOCwzLjVTMi40NSwyLjA1LDMuMjUsMi4wNSBNMy4yNSwxLjI1CgkJQzIuMDA3LDEuMjUsMSwyLjI1NywxLDMuNXMxLjAwNywyLjI1LDIuMjUsMi4yNVM1LjUsNC43NDMsNS41LDMuNVM0LjQ5MywxLjI1LDMuMjUsMS4yNUwzLjI1LDEuMjV6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNMy4yNSw3LjA1YzAuOCwwLDEuNDUsMC42NSwxLjQ1LDEuNDVTNC4wNSw5Ljk1LDMuMjUsOS45NVMxLjgsOS4yOTksMS44LDguNVMyLjQ1LDcuMDUsMy4yNSw3LjA1IE0zLjI1LDYuMjUKCQlDMi4wMDcsNi4yNSwxLDcuMjU3LDEsOC41czEuMDA3LDIuMjUsMi4yNSwyLjI1UzUuNSw5Ljc0Miw1LjUsOC41UzQuNDkzLDYuMjUsMy4yNSw2LjI1TDMuMjUsNi4yNXoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0zLjI1MiwxMi4wNDlMMy4yNTIsMTIuMDQ5YzAuNjQ5LDAsMS4yMjQsMC40MzgsMS4zOTYsMS4wNjVjMC4yMTIsMC43NzEtMC4yNDIsMS41NzEtMS4wMTMsMS43ODMKCQljLTAuMTI3LDAuMDM1LTAuMjU3LDAuMDUzLTAuMzg2LDAuMDUzYy0wLjY1LDAtMS4yMjQtMC40MzgtMS4zOTctMS4wNjVjLTAuMTAzLTAuMzczLTAuMDU0LTAuNzY1LDAuMTM3LTEuMTAxCgkJczAuNTAyLTAuNTc5LDAuODc2LTAuNjgyQzIuOTkyLDEyLjA2NywzLjEyMiwxMi4wNDksMy4yNTIsMTIuMDQ5IE0zLjI1MiwxMS4yNDljLTAuMTk4LDAtMC4zOTksMC4wMjYtMC41OTksMC4wODEKCQljLTEuMTk4LDAuMzMtMS45MDIsMS41NjktMS41NzIsMi43NjdjMC4yNzUsMC45OTgsMS4xODEsMS42NTMsMi4xNjgsMS42NTNjMC4xOTgsMCwwLjM5OS0wLjAyNiwwLjU5OS0wLjA4MQoJCWMxLjE5OC0wLjMzLDEuOTAyLTEuNTY5LDEuNTcyLTIuNzY3QzUuMTQ1LDExLjkwNCw0LjIzOSwxMS4yNDksMy4yNTIsMTEuMjQ5TDMuMjUyLDExLjI0OXoiLz4KPC9nPgo8cGF0aCBkPSJNMTQuNSw0aC0xMUMzLjIyNCw0LDMsMy43NzYsMywzLjV2MEMzLDMuMjI0LDMuMjI0LDMsMy41LDNoMTFDMTQuNzc2LDMsMTUsMy4yMjQsMTUsMy41djBDMTUsMy43NzYsMTQuNzc2LDQsMTQuNSw0eiIvPgo8cGF0aCBkPSJNMTQuNSw5aC0xMUMzLjIyNCw5LDMsOC43NzYsMyw4LjV2MEMzLDguMjI0LDMuMjI0LDgsMy41LDhoMTFDMTQuNzc2LDgsMTUsOC4yMjQsMTUsOC41djBDMTUsOC43NzYsMTQuNzc2LDksMTQuNSw5eiIvPgo8cGF0aCBkPSJNMTQuNSwxNGgtMTFDMy4yMjQsMTQsMywxMy43NzYsMywxMy41djBDMywxMy4yMjQsMy4yMjQsMTMsMy41LDEzaDExYzAuMjc2LDAsMC41LDAuMjI0LDAuNSwwLjV2MAoJQzE1LDEzLjc3NiwxNC43NzYsMTQsMTQuNSwxNHoiLz4KPC9zdmc+Cg=="});var qut=xe((Hdn,MFo)=>{MFo.exports="data:image/svg+xml;base64, "});var Sie=xe((Gdn,IFo)=>{IFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTkuMjA3LDguNWwyLjQ3NS0yLjQ3NWMwLjE5NS0wLjE5NSwwLjE5NS0wLjUxMiwwLTAuNzA3Yy0wLjE5NS0wLjE5NS0wLjUxMi0wLjE5NS0wLjcwNywwTDguNSw3Ljc5M0w2LjAyNSw1LjMxOAoJYy0wLjE5NS0wLjE5NS0wLjUxMi0wLjE5NS0wLjcwNywwYy0wLjE5NSwwLjE5NS0wLjE5NSwwLjUxMiwwLDAuNzA3TDcuNzkzLDguNWwtMi40NzUsMi40NzVjLTAuMTk1LDAuMTk1LTAuMTk1LDAuNTEyLDAsMC43MDcKCWMwLjE5NSwwLjE5NSwwLjUxMiwwLjE5NSwwLjcwNywwTDguNSw5LjIwN2wyLjQ3NSwyLjQ3NWMwLjE5NSwwLjE5NSwwLjUxMiwwLjE5NSwwLjcwNywwYzAuMTk1LTAuMTk1LDAuMTk1LTAuNTEyLDAtMC43MDcKCUw5LjIwNyw4LjV6Ii8+Cjwvc3ZnPgo="});var e3e=xe((Ydn,LFo)=>{LFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTMuODAzLDMuMTk3QzEyLjMzOSwxLjczMiwxMC40MTksMSw4LjUsMUM2LjU4MSwxLDQuNjYxLDEuNzMyLDMuMTk3LDMuMTk3Yy0yLjkyOSwyLjkyOS0yLjkyOSw3LjY3OCwwLDEwLjYwNwoJCUM0LjY2MSwxNS4yNjgsNi41ODEsMTYsOC41LDE2YzEuOTE5LDAsMy44MzktMC43MzIsNS4zMDMtMi4xOTdDMTYuNzMyLDEwLjg3NCwxNi43MzIsNi4xMjYsMTMuODAzLDMuMTk3eiBNMTMuMDk2LDEzLjA5NgoJCUMxMS44NjksMTQuMzI0LDEwLjIzNiwxNSw4LjUsMTVzLTMuMzY4LTAuNjc2LTQuNTk2LTEuOTA0Yy0yLjUzNC0yLjUzNC0yLjUzNC02LjY1OCwwLTkuMTkyQzUuMTMyLDIuNjc2LDYuNzY0LDIsOC41LDIKCQlzMy4zNjksMC42NzYsNC41OTYsMS45MDRDMTUuNjMxLDYuNDM4LDE1LjYzMSwxMC41NjIsMTMuMDk2LDEzLjA5NnoiLz4KCTxwYXRoIGQ9Ik0xMS42ODIsNS4zMThjLTAuMTk1LTAuMTk1LTAuNTEyLTAuMTk1LTAuNzA3LDBMOC41LDcuNzkzTDYuMDI1LDUuMzE4Yy0wLjE5NS0wLjE5NS0wLjUxMi0wLjE5NS0wLjcwNywwCgkJYy0wLjE5NSwwLjE5NS0wLjE5NSwwLjUxMiwwLDAuNzA3TDcuNzkzLDguNWwtMi40NzUsMi40NzVjLTAuMTk1LDAuMTk1LTAuMTk1LDAuNTEyLDAsMC43MDdjMC4xOTUsMC4xOTUsMC41MTIsMC4xOTUsMC43MDcsMAoJCUw4LjUsOS4yMDdsMi40NzUsMi40NzVjMC4xOTUsMC4xOTUsMC41MTIsMC4xOTUsMC43MDcsMGMwLjE5NS0wLjE5NSwwLjE5NS0wLjUxMiwwLTAuNzA3TDkuMjA3LDguNWwyLjQ3NS0yLjQ3NQoJCUMxMS44NzcsNS44MywxMS44NzcsNS41MTMsMTEuNjgyLDUuMzE4eiIvPgo8L2c+Cjwvc3ZnPgo="});var Xut=xe((Wdn,vFo)=>{vFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUuNSw3aC0xNEMxLjIyNCw3LDEsNy4yMjQsMSw3LjVDMSw3Ljc3NiwxLjIyNCw4LDEuNSw4aDZIOHY3LjVDOCwxNS43NzYsOC4yMjQsMTYsOC41LDE2UzksMTUuNzc2LDksMTUuNVY4aDYuNQoJCUMxNS43NzYsOCwxNiw3Ljc3NiwxNiw3LjVDMTYsNy4yMjQsMTUuNzc2LDcsMTUuNSw3eiIvPgoJPHBhdGggZD0iTTIuNDUyLDUuNTM2YzAuMDgsMC4yMjIsMC4yOTEsMC4zNjksMC41MjcsMC4zNjloMC42MzVjMC4yMzUsMCwwLjQ0Ni0wLjE0NywwLjUyNi0wLjM2OWwxLjQyNC0zLjkwOQoJCWMwLjEzMy0wLjM2NS0wLjEzNy0wLjc1Mi0wLjUyNi0wLjc1MmMtMC4yNDQsMC0wLjQ2LDAuMTU4LTAuNTM0LDAuMzkxTDMuODUzLDMuMzIyQzMuNjY3LDMuODc5LDMuNTMsNC4zODIsMy4zNDQsNC45NDZoLTAuMDQKCQljLTAuMTk0LTAuNTY0LTAuMzE1LTEuMDY3LTAuNS0xLjYyNEwyLjEzOCwxLjI2M2MtMC4wNzUtMC4yMzEtMC4yOS0wLjM4OC0wLjUzMy0wLjM4OEgxLjU2MWMtMC4zODksMC0wLjY1OSwwLjM4Ni0wLjUyNywwLjc1MQoJCUwyLjQ1Miw1LjUzNnoiLz4KCTxwYXRoIGQ9Ik05LjEwNSw2YzAuNTc1LDAsMS4wNzQtMC4xNDIsMS40OTQtMC40MTJjMC4yMzItMC4xNDksMC4yNTQtMC40ODQsMC4wNTgtMC42NzlsLTAuMDA0LTAuMDA0CgkJYy0wLjE1MS0wLjE1LTAuMzgzLTAuMTYzLTAuNTYzLTAuMDQ5QzkuODIzLDUuMDI0LDkuNTEyLDUuMTMsOS4xNDYsNS4xM0M4LjIwMSw1LjEzLDcuNCw0LjQ3MSw3LjQsMy4zNzYKCQljMC0xLjA4MSwwLjg2Ni0xLjczMywxLjc3LTEuNzMzYzAuMzE1LDAsMC41NzgsMC4wODYsMC44MSwwLjIyYzAuMTc5LDAuMTA0LDAuNDAzLDAuMDg0LDAuNTQ4LTAuMDY0CgkJYzAuMjA0LTAuMjA3LDAuMTYtMC41NTgtMC4wOTYtMC42OTZDMTAuMDgzLDAuOTE0LDkuNjQ4LDAuNzgsOS4xNDYsMC43OGMtMS41MDksMC0yLjc3NiwwLjk3Mi0yLjc3NiwyLjYzCgkJQzYuMzY5LDUuMDg5LDcuNTk2LDYsOS4xMDUsNnoiLz4KCTxwYXRoIGQ9Ik0xNC4zMTUsNmMwLjU3NSwwLDEuMDc0LTAuMTQyLDEuNDk0LTAuNDEyYzAuMjMyLTAuMTQ5LDAuMjU0LTAuNDg0LDAuMDU4LTAuNjc5bC0wLjAwNC0wLjAwNAoJCWMtMC4xNTEtMC4xNS0wLjM4My0wLjE2My0wLjU2My0wLjA0OWMtMC4yNjYsMC4xNjktMC41NzgsMC4yNzQtMC45NDQsMC4yNzRjLTAuOTQ0LDAtMS43NDUtMC42NTktMS43NDUtMS43NTQKCQljMC0xLjA4MSwwLjg2Ni0xLjczMywxLjc3LTEuNzMzYzAuMzE1LDAsMC41NzgsMC4wODYsMC44MSwwLjIyYzAuMTc5LDAuMTA0LDAuNDAzLDAuMDg0LDAuNTQ4LTAuMDY0CgkJYzAuMjA0LTAuMjA3LDAuMTYtMC41NTgtMC4wOTYtMC42OTZjLTAuMzQ5LTAuMTg5LTAuNzg0LTAuMzIzLTEuMjg3LTAuMzIzYy0xLjUwOSwwLTIuNzc2LDAuOTcyLTIuNzc2LDIuNjMKCQlDMTEuNTc5LDUuMDg5LDEyLjgwNiw2LDE0LjMxNSw2eiIvPgo8L2c+Cjwvc3ZnPgo="});var XZt=xe((Qdn,DFo)=>{DFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNNCwzLjVDNCwzLjc4LDMuNzgsNCwzLjUsNEgzdjFIMnYxSDFWMy41YzAsMCwwLDAsMC0wLjAxVjFoMXYxaDF2MWgwLjVDMy43OCwzLDQsMy4yMiw0LDMuNXoiLz4KCQk8cGF0aCBmaWxsPSIjNjY2NjY2IiBkPSJNMTUsOHY3SDZWOEgxNSBNMTUsN0g2QzUuNDQ4LDcsNSw3LjQ0OCw1LDh2N2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDljMC41NTIsMCwxLTAuNDQ4LDEtMVY4CgkJCUMxNiw3LjQ0OCwxNS41NTIsNywxNSw3TDE1LDd6Ii8+CgkJPGc+CgkJCTxwYXRoIGQ9Ik0xNSwxSDZDNS40NDgsMSw1LDEuNDQ4LDUsMnYzYzAsMC41NTIsMC40NDgsMSwxLDFoOWMwLjU1MiwwLDEtMC40NDgsMS0xVjJDMTYsMS40NDgsMTUuNTUyLDEsMTUsMUwxNSwxeiBNMTEsNVYyaDR2MwoJCQkJSDExTDExLDV6IE02LDVWMmg0djNINkw2LDV6Ii8+CgkJPC9nPgoJCTxnPgoJCQk8cG9seWdvbiBmaWxsPSIjOTk5OTk5IiBwb2ludHM9IjExLDggMTAsOCAxMCwxMSA2LDExIDYsMTIgMTAsMTIgMTAsMTUgMTEsMTUgMTEsMTIgMTUsMTIgMTUsMTEgMTEsMTEgMTEsOCAJCQkiLz4KCQk8L2c+Cgk8L2c+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIj4KPC9nPgo8L3N2Zz4K"});var $Zt=xe((Kdn,EFo)=>{EFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8cGF0aCBkPSJNNCwxMy41QzQsMTMuNzgsMy43OCwxNCwzLjUsMTRIM3YxSDJ2MUgxdi0yLjVjMCwwLDAsMCwwLTAuMDFWMTFoMXYxaDF2MWgwLjVDMy43OCwxMyw0LDEzLjIyLDQsMTMuNXoiLz4KCTxnPgoJCTxwYXRoIGQ9Ik0xNSwxMUg2Yy0wLjU1MiwwLTEsMC40NDgtMSwxdjNjMCwwLjU1MiwwLjQ0OCwxLDEsMWg5YzAuNTUyLDAsMS0wLjQ0OCwxLTF2LTNDMTYsMTEuNDQ4LDE1LjU1MiwxMSwxNSwxMUwxNSwxMXogTTExLDE1CgkJCXYtM2g0djNIMTFMMTEsMTV6IE02LDE1di0zaDR2M0g2TDYsMTV6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjNjY2NjY2IiBkPSJNMTUsMnY3SDZWMkgxNSBNMTUsMUg2QzUuNDQ4LDEsNSwxLjQ0OCw1LDJ2N2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDljMC41NTIsMCwxLTAuNDQ4LDEtMVYyCgkJCUMxNiwxLjQ0OCwxNS41NTIsMSwxNSwxTDE1LDF6Ii8+CgkJPGc+CgkJCTxwb2x5Z29uIGZpbGw9IiM5OTk5OTkiIHBvaW50cz0iMTEsMiAxMCwyIDEwLDUgNiw1IDYsNiAxMCw2IDEwLDkgMTEsOSAxMSw2IDE1LDYgMTUsNSAxMSw1IDExLDIgCQkJIi8+CgkJPC9nPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg=="});var eJt=xe((Zdn,AFo)=>{AFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNNiwxdjFINXYxSDR2MC41QzQsMy43OCwzLjc4LDQsMy41LDRTMywzLjc4LDMsMy41VjNIMlYySDFWMUg2eiIvPgoJCTxwYXRoIGQ9Ik01LDVIMkMxLjQ0Nyw1LDEsNS40NDgsMSw2djljMCwwLjU1MiwwLjQ0OCwxLDEsMWgzYzAuNTUyLDAsMS0wLjQ0OCwxLTFWNkM2LDUuNDQ4LDUuNTUyLDUsNSw1eiBNMiwxNXYtNGgzdi0xSDJWNmgzbDAsOQoJCQlIMnoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGZpbGw9IiM2NjY2NjYiIGQ9Ik0xNSw2bDAsOUg4VjZIMTUgTTE1LDVIOEM3LjQ0Nyw1LDcsNS40NDgsNyw2djljMCwwLjU1MiwwLjQ0OCwxLDEsMWg3YzAuNTUyLDAsMS0wLjQ0OCwxLTFWNgoJCQlDMTYsNS40NDgsMTUuNTUyLDUsMTUsNUwxNSw1eiIvPgoJCTxwb2x5Z29uIGZpbGw9IiM5OTk5OTkiIHBvaW50cz0iMTUsMTAgMTIsMTAgMTIsNiAxMSw2IDExLDEwIDgsMTAgOCwxMSAxMSwxMSAxMSwxNSAxMiwxNSAxMiwxMSAxNSwxMSAJCSIvPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg=="});var tJt=xe((Jdn,NFo)=>{NFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8cGF0aCBmaWxsPSIjNjY2NjY2IiBkPSJNOSw2bDAsOUgyVjZIOSBNOSw1SDJDMS40NDcsNSwxLDUuNDQ4LDEsNnY5YzAsMC41NTIsMC40NDgsMSwxLDFoN2MwLjU1MiwwLDEtMC40NDgsMS0xVjYKCQlDMTAsNS40NDgsOS41NTIsNSw5LDVMOSw1eiIvPgoJPGc+CgkJPHBhdGggZD0iTTE2LDF2MWgtMXYxaC0xdjAuNUMxNCwzLjc4LDEzLjc4LDQsMTMuNSw0UzEzLDMuNzgsMTMsMy41VjNoLTFWMmgtMVYxSDE2eiIvPgoJCTxwYXRoIGQ9Ik0xNSw1aC0zYy0wLjU1MiwwLTEsMC40NDgtMSwxdjljMCwwLjU1MiwwLjQ0OCwxLDEsMWgzYzAuNTUyLDAsMS0wLjQ0OCwxLTFWNkMxNiw1LjQ0OCwxNS41NTIsNSwxNSw1eiBNMTIsMTV2LTRoM3YtMWgtMwoJCQlWNmgzbDAsOUgxMnoiLz4KCTwvZz4KCTxwb2x5Z29uIGZpbGw9IiM5OTk5OTkiIHBvaW50cz0iOSwxMCA2LDEwIDYsNiA1LDYgNSwxMCAyLDEwIDIsMTEgNSwxMSA1LDE1IDYsMTUgNiwxMSA5LDExIAkiLz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var iJt=xe((qdn,kFo)=>{kFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjNjY2NjY2IiBkPSJNMTUsMTJINGMtMC41NTIsMC0xLDAuNDQ4LTEsMXYyYzAsMC41NTIsMC40NDgsMSwxLDFoMTFjMC41NTIsMCwxLTAuNDQ4LDEtMXYtMgoJCQlDMTYsMTIuNDQ4LDE1LjU1MiwxMiwxNSwxMnogTTE1LDE1SDR2LTJoMTFWMTV6Ii8+CgkJPHBhdGggZmlsbD0iIzY2NjY2NiIgZD0iTTE1LDFINEMzLjQ0OCwxLDMsMS40NDgsMywydjJjMCwwLjU1MiwwLjQ0OCwxLDEsMWgxMWMwLjU1MiwwLDEtMC40NDgsMS0xVjJDMTYsMS40NDgsMTUuNTUyLDEsMTUsMXoKCQkJIE0xNSw0SDRWMmgxMVY0eiIvPgoJPC9nPgoJPGc+CgkJPHJlY3QgeD0iOS4wMDEiIHk9IjEzLjAwMSIgZmlsbD0iIzk5OTk5OSIgd2lkdGg9IjEiIGhlaWdodD0iMiIvPgoJCTxyZWN0IHg9IjkiIHk9IjIiIGZpbGw9IiM5OTk5OTkiIHdpZHRoPSIxIiBoZWlnaHQ9IjIiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik0xNSw2SDhDNy40NDgsNiw3LDYuNDQ4LDcsN3YzYzAsMC41NTIsMC40NDgsMSwxLDFoN2MwLjU1MiwwLDEtMC40NDgsMS0xVjdDMTYsNi40NDgsMTUuNTUyLDYsMTUsNnogTTgsMTBWN2gzdjNIOHoKCQkJIE0xNSwxMGgtM1Y3aDNWMTB6Ii8+CgkJPHJlY3QgeD0iNSIgeT0iMTAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSI0IiB5PSI5IiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iMyIgeT0iOCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjIiIHk9IjciIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSIxIiB5PSI2IiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iMSIgeT0iMTAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSIyIiB5PSI5IiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iNCIgeT0iNyIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjUiIHk9IjYiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCTwvZz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var oJt=xe((Xdn,PFo)=>{PFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjNjY2NjY2IiBkPSJNNCwzSDJDMS40NDgsMywxLDMuNDQ4LDEsNHYxMWMwLDAuNTUyLDAuNDQ4LDEsMSwxaDJjMC41NTIsMCwxLTAuNDQ4LDEtMVY0QzUsMy40NDgsNC41NTIsMyw0LDN6IE00LDE1SDIKCQkJVjRoMlYxNXoiLz4KCQk8cGF0aCBmaWxsPSIjNjY2NjY2IiBkPSJNMTUsM2gtMmMtMC41NTIsMC0xLDAuNDQ4LTEsMXYxMWMwLDAuNTUyLDAuNDQ4LDEsMSwxaDJjMC41NTIsMCwxLTAuNDQ4LDEtMVY0QzE2LDMuNDQ4LDE1LjU1MiwzLDE1LDN6CgkJCSBNMTUsMTVoLTJWNGgyVjE1eiIvPgoJPC9nPgoJPGc+CgkJPHJlY3QgeD0iMS45OTkiIHk9IjkuMDAxIiBmaWxsPSIjOTk5OTk5IiB3aWR0aD0iMiIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iMTMiIHk9IjkiIGZpbGw9IiM5OTk5OTkiIHdpZHRoPSIyIiBoZWlnaHQ9IjEiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik0xMCw3SDdDNi40NDgsNyw2LDcuNDQ4LDYsOHY3YzAsMC41NTIsMC40NDgsMSwxLDFoM2MwLjU1MiwwLDEtMC40NDgsMS0xVjhDMTEsNy40NDgsMTAuNTUyLDcsMTAsN3ogTTEwLDE1SDd2LTNoM1YxNXoKCQkJIE0xMCwxMUg3VjhoM1YxMXoiLz4KCQk8cmVjdCB4PSI2IiB5PSI1IiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iNyIgeT0iNCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjgiIHk9IjMiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSI5IiB5PSIyIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iMTAiIHk9IjEiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSI2IiB5PSIxIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iNyIgeT0iMiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjkiIHk9IjQiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSIxMCIgeT0iNSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg=="});var rJt=xe(($dn,OFo)=>{OFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjNjY2NjY2IiBkPSJNMTUsMkgxQzAuNDQ4LDIsMCwyLjQ0OCwwLDN2M2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDE0YzAuNTUyLDAsMS0wLjQ0OCwxLTFWM0MxNiwyLjQ0OCwxNS41NTIsMiwxNSwyegoJCQkgTTE1LDZIMVYzaDE0VjZ6Ii8+CgkJPHBhdGggZmlsbD0iIzY2NjY2NiIgZD0iTTE1LDEwSDFjLTAuNTUyLDAtMSwwLjQ0OC0xLDF2M2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDE0YzAuNTUyLDAsMS0wLjQ0OCwxLTF2LTMKCQkJQzE2LDEwLjQ0OCwxNS41NTIsMTAsMTUsMTB6IE0xNSwxNEgxdi0zaDE0VjE0eiIvPgoJPC9nPgoJPGc+CgkJPHJlY3QgeD0iNSIgeT0iMyIgZmlsbD0iIzk5OTk5OSIgd2lkdGg9IjEiIGhlaWdodD0iMyIvPgoJCTxyZWN0IHg9IjUiIHk9IjExIiBmaWxsPSIjOTk5OTk5IiB3aWR0aD0iMSIgaGVpZ2h0PSIzIi8+CgkJPHJlY3QgeD0iMTAiIHk9IjMiIGZpbGw9IiM5OTk5OTkiIHdpZHRoPSIxIiBoZWlnaHQ9IjMiLz4KCQk8cmVjdCB4PSIxMCIgeT0iMTEiIGZpbGw9IiM5OTk5OTkiIHdpZHRoPSIxIiBoZWlnaHQ9IjMiLz4KCTwvZz4KCTxwYXRoIGQ9Ik0xNSw3djNIMVY3SDE1IE0xNiw2SDB2NWgxNlY2TDE2LDZ6Ii8+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIj4KPC9nPgo8L3N2Zz4K"});var nJt=xe((eun,RFo)=>{RFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjNjY2NjY2IiBkPSJNMTUsMkgxQzAuNDQ4LDIsMCwyLjQ0OCwwLDN2M2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDE0YzAuNTUyLDAsMS0wLjQ0OCwxLTFWM0MxNiwyLjQ0OCwxNS41NTIsMiwxNSwyegoJCQkgTTE1LDZIMVYzaDE0VjZ6Ii8+CgkJPHBhdGggZmlsbD0iIzY2NjY2NiIgZD0iTTE1LDEwSDFjLTAuNTUyLDAtMSwwLjQ0OC0xLDF2M2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDE0YzAuNTUyLDAsMS0wLjQ0OCwxLTF2LTMKCQkJQzE2LDEwLjQ0OCwxNS41NTIsMTAsMTUsMTB6IE0xNSwxNEgxdi0zaDE0VjE0eiIvPgoJPC9nPgoJPGc+CgkJPHJlY3QgeD0iNSIgeT0iMyIgZmlsbD0iIzk5OTk5OSIgd2lkdGg9IjEiIGhlaWdodD0iMyIvPgoJCTxyZWN0IHg9IjUiIHk9IjExIiBmaWxsPSIjOTk5OTk5IiB3aWR0aD0iMSIgaGVpZ2h0PSIzIi8+CgkJPHJlY3QgeD0iMTAiIHk9IjMiIGZpbGw9IiM5OTk5OTkiIHdpZHRoPSIxIiBoZWlnaHQ9IjMiLz4KCQk8cmVjdCB4PSIxMCIgeT0iMTEiIGZpbGw9IiM5OTk5OTkiIHdpZHRoPSIxIiBoZWlnaHQ9IjMiLz4KCTwvZz4KCTxwYXRoIGQ9Ik0wLDZ2NWgxNlY2SDB6IE0xLDEwVjdoNHYzSDF6IE02LDEwVjdoNHYzSDZ6IE0xNSwxMGgtNFY3aDRWMTB6Ii8+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIj4KPC9nPgo8L3N2Zz4K"});var aJt=xe((tun,_Fo)=>{_Fo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8cGF0aCBkPSJNMTUsMEgyQzEuNDUsMCwxLDAuNDUsMSwxdjExYzAsMC41NSwwLjQ1LDEsMSwxaDEzYzAuNTUsMCwxLTAuNDUsMS0xVjFDMTYsMC40NSwxNS41NSwwLDE1LDB6IE04LDEySDJWN2g2VjEyeiBNOCw2SDJWMWg2CgkJVjZ6IE0xNSwxMkg5VjdoNlYxMnogTTE1LDZIOVYxaDZWNnoiLz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var sJt=xe((iun,jFo)=>{jFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8Y2lyY2xlIGN4PSIxLjUiIGN5PSIwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjMuNSIgY3k9IjAuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iNS41IiBjeT0iMC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI3LjUiIGN5PSIwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjkuNSIgY3k9IjAuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMTEuNSIgY3k9IjAuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMTMuNSIgY3k9IjAuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMy41IiBjeT0iMTIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iNS41IiBjeT0iMTIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iNy41IiBjeT0iMTIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iOS41IiBjeT0iMTIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMTEuNSIgY3k9IjEyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjEzLjUiIGN5PSIxMi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxNS41IiBjeT0iMC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxLjUiIGN5PSIyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjE1LjUiIGN5PSIyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjEuNSIgY3k9IjQuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMTUuNSIgY3k9IjQuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMS41IiBjeT0iNi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxNS41IiBjeT0iNi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxLjUiIGN5PSI4LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjE1LjUiIGN5PSI4LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjEuNSIgY3k9IjEwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjE1LjUiIGN5PSIxMC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxLjUiIGN5PSIxMi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxNS41IiBjeT0iMTIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iOC41IiBjeT0iMi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIzLjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjUuNSIgY3k9IjYuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iNy41IiBjeT0iNi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI5LjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjExLjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjEzLjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjguNSIgY3k9IjQuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iOC41IiBjeT0iOC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI4LjUiIGN5PSIxMC41IiByPSIwLjUiLz4KCTwvZz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var lJt=xe((oun,BFo)=>{BFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUuNSwxMmgtMTRDMS4yMjQsMTIsMSwxMi4yMjQsMSwxMi41UzEuMjI0LDEzLDEuNSwxM2gxNGMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41UzE1Ljc3NiwxMiwxNS41LDEyeiIvPgoJCTxjaXJjbGUgY3g9IjEzLjUiIGN5PSIwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjExLjUiIGN5PSIwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjkuNSIgY3k9IjAuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iNy41IiBjeT0iMC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI1LjUiIGN5PSIwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjMuNSIgY3k9IjAuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMTUuNSIgY3k9IjEwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjEuNSIgY3k9IjEwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjE1LjUiIGN5PSI4LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjEuNSIgY3k9IjguNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMTUuNSIgY3k9IjYuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMS41IiBjeT0iNi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxNS41IiBjeT0iNC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxLjUiIGN5PSI0LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjE1LjUiIGN5PSIyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjEuNSIgY3k9IjIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMTUuNSIgY3k9IjAuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMS41IiBjeT0iMC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxMy41IiBjeT0iNi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxMS41IiBjeT0iNi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI5LjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjcuNSIgY3k9IjYuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iNS41IiBjeT0iNi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIzLjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjguNSIgY3k9IjEwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjguNSIgY3k9IjguNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iOC41IiBjeT0iNC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI4LjUiIGN5PSIyLjUiIHI9IjAuNSIvPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg=="});var cJt=xe((run,zFo)=>{zFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNMS41LDFoMTRDMTUuNzc2LDEsMTYsMC43NzYsMTYsMC41UzE1Ljc3NiwwLDE1LjUsMGgtMTRDMS4yMjQsMCwxLDAuMjI0LDEsMC41UzEuMjI0LDEsMS41LDF6Ii8+CgkJPGNpcmNsZSBjeD0iMy41IiBjeT0iMTIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iNS41IiBjeT0iMTIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iNy41IiBjeT0iMTIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iOS41IiBjeT0iMTIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMTEuNSIgY3k9IjEyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjEzLjUiIGN5PSIxMi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxLjUiIGN5PSIyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjE1LjUiIGN5PSIyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjEuNSIgY3k9IjQuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMTUuNSIgY3k9IjQuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMS41IiBjeT0iNi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxNS41IiBjeT0iNi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxLjUiIGN5PSI4LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjE1LjUiIGN5PSI4LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjEuNSIgY3k9IjEwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjE1LjUiIGN5PSIxMC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxLjUiIGN5PSIxMi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxNS41IiBjeT0iMTIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iOC41IiBjeT0iMi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIzLjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjUuNSIgY3k9IjYuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iNy41IiBjeT0iNi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI5LjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjExLjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjEzLjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjguNSIgY3k9IjQuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iOC41IiBjeT0iOC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI4LjUiIGN5PSIxMC41IiByPSIwLjUiLz4KCTwvZz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var dJt=xe((nun,FFo)=>{FFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNMS41LDBDMS4yMjQsMCwxLDAuMjI0LDEsMC41djEyQzEsMTIuNzc2LDEuMjI0LDEzLDEuNSwxM1MyLDEyLjc3NiwyLDEyLjV2LTEyQzIsMC4yMjQsMS43NzYsMCwxLjUsMHoiLz4KCQk8Y2lyY2xlIGN4PSIxNS41IiBjeT0iMTIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMTUuNSIgY3k9IjEwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjE1LjUiIGN5PSI4LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjE1LjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjE1LjUiIGN5PSI0LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjE1LjUiIGN5PSIyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjMuNSIgY3k9IjEyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjMuNSIgY3k9IjAuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iNS41IiBjeT0iMTIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iNS41IiBjeT0iMC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI3LjUiIGN5PSIxMi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI3LjUiIGN5PSIwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjkuNSIgY3k9IjEyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjkuNSIgY3k9IjAuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMTEuNSIgY3k9IjEyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjExLjUiIGN5PSIwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjEzLjUiIGN5PSIxMi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxMy41IiBjeT0iMC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxNS41IiBjeT0iMC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIzLjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjguNSIgY3k9IjEwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjguNSIgY3k9IjguNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iOC41IiBjeT0iNC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI4LjUiIGN5PSIyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjUuNSIgY3k9IjYuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iNy41IiBjeT0iNi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI5LjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjExLjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjEzLjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg=="});var uJt=xe((aun,UFo)=>{UFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUuNSwwQzE1LjIyNCwwLDE1LDAuMjI0LDE1LDAuNXYxMmMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41czAuNS0wLjIyNCwwLjUtMC41di0xMkMxNiwwLjIyNCwxNS43NzYsMCwxNS41LDB6Ii8+CgkJPGNpcmNsZSBjeD0iMS41IiBjeT0iMi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxLjUiIGN5PSI0LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjEuNSIgY3k9IjYuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMS41IiBjeT0iOC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxLjUiIGN5PSIxMC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxLjUiIGN5PSIxMi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxMy41IiBjeT0iMC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxMy41IiBjeT0iMTIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMTEuNSIgY3k9IjAuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMTEuNSIgY3k9IjEyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjkuNSIgY3k9IjAuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iOS41IiBjeT0iMTIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iNy41IiBjeT0iMC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI3LjUiIGN5PSIxMi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI1LjUiIGN5PSIwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjUuNSIgY3k9IjEyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjMuNSIgY3k9IjAuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMy41IiBjeT0iMTIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMS41IiBjeT0iMC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxMy41IiBjeT0iNi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI4LjUiIGN5PSIyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjguNSIgY3k9IjQuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iOC41IiBjeT0iOC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI4LjUiIGN5PSIxMC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxMS41IiBjeT0iNi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI5LjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjcuNSIgY3k9IjYuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iNS41IiBjeT0iNi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIzLjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg=="});var pJt=xe((sun,VFo)=>{VFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNMTMuNSw2SDlWMS41QzksMS4yMjQsOC43NzYsMSw4LjUsMVM4LDEuMjI0LDgsMS41VjZIMy41QzMuMjI0LDYsMyw2LjIyNCwzLDYuNVMzLjIyNCw3LDMuNSw3SDh2NC41CgkJCUM4LDExLjc3Niw4LjIyNCwxMiw4LjUsMTJTOSwxMS43NzYsOSwxMS41VjdoNC41QzEzLjc3Niw3LDE0LDYuNzc2LDE0LDYuNVMxMy43NzYsNiwxMy41LDZ6Ii8+CgkJPGNpcmNsZSBjeD0iMS41IiBjeT0iMC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIzLjUiIGN5PSIwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjUuNSIgY3k9IjAuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iNy41IiBjeT0iMC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI5LjUiIGN5PSIwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjExLjUiIGN5PSIwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjEzLjUiIGN5PSIwLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjMuNSIgY3k9IjEyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjUuNSIgY3k9IjEyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjcuNSIgY3k9IjEyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjkuNSIgY3k9IjEyLjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjExLjUiIGN5PSIxMi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxMy41IiBjeT0iMTIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMTUuNSIgY3k9IjAuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMS41IiBjeT0iMi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxNS41IiBjeT0iMi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxLjUiIGN5PSI0LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjE1LjUiIGN5PSI0LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjEuNSIgY3k9IjYuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMTUuNSIgY3k9IjYuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMS41IiBjeT0iOC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxNS41IiBjeT0iOC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxLjUiIGN5PSIxMC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIxNS41IiBjeT0iMTAuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMS41IiBjeT0iMTIuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iMTUuNSIgY3k9IjEyLjUiIHI9IjAuNSIvPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg=="});var mJt=xe((lun,HFo)=>{HFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUsMEgyQzEuNDUsMCwxLDAuNDUsMSwxdjExYzAsMC41NSwwLjQ1LDEsMSwxaDEzYzAuNTUsMCwxLTAuNDUsMS0xVjFDMTYsMC40NSwxNS41NSwwLDE1LDB6IE0xNSwxMkgyVjFoMTNWMTJ6Ii8+CgkJPGNpcmNsZSBjeD0iOC41IiBjeT0iMi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSIzLjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjUuNSIgY3k9IjYuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iNy41IiBjeT0iNi41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI5LjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjExLjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjEzLjUiIGN5PSI2LjUiIHI9IjAuNSIvPgoJCTxjaXJjbGUgY3g9IjguNSIgY3k9IjQuNSIgcj0iMC41Ii8+CgkJPGNpcmNsZSBjeD0iOC41IiBjeT0iOC41IiByPSIwLjUiLz4KCQk8Y2lyY2xlIGN4PSI4LjUiIGN5PSIxMC41IiByPSIwLjUiLz4KCTwvZz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var hJt=xe((cun,GFo)=>{GFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8cGF0aCBkPSJNMTQuNSw0aC0xMkMyLjIyNCw0LDIsMy43NzYsMiwzLjV2MEMyLDMuMjI0LDIuMjI0LDMsMi41LDNoMTJDMTQuNzc2LDMsMTUsMy4yMjQsMTUsMy41djBDMTUsMy43NzYsMTQuNzc2LDQsMTQuNSw0eiIvPgoJPHBhdGggZD0iTTguNSw5aC02QzIuMjI0LDksMiw4Ljc3NiwyLDguNXYwQzIsOC4yMjQsMi4yMjQsOCwyLjUsOGg2QzguNzc2LDgsOSw4LjIyNCw5LDguNXYwQzksOC43NzYsOC43NzYsOSw4LjUsOXoiLz4KCTxwYXRoIGQ9Ik0xNC41LDE0aC0xMkMyLjIyNCwxNCwyLDEzLjc3NiwyLDEzLjV2MEMyLDEzLjIyNCwyLjIyNCwxMywyLjUsMTNoMTJjMC4yNzYsMCwwLjUsMC4yMjQsMC41LDAuNXYwCgkJQzE1LDEzLjc3NiwxNC43NzYsMTQsMTQuNSwxNHoiLz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var fJt=xe((dun,YFo)=>{YFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8cGF0aCBkPSJNMi41LDEzaDEyYzAuMjc2LDAsMC41LDAuMjI0LDAuNSwwLjV2MGMwLDAuMjc2LTAuMjI0LDAuNS0wLjUsMC41aC0xMkMyLjIyNCwxNCwyLDEzLjc3NiwyLDEzLjV2MAoJCUMyLDEzLjIyNCwyLjIyNCwxMywyLjUsMTN6Ii8+Cgk8cGF0aCBkPSJNOC41LDhoNkMxNC43NzYsOCwxNSw4LjIyNCwxNSw4LjV2MEMxNSw4Ljc3NiwxNC43NzYsOSwxNC41LDloLTZDOC4yMjQsOSw4LDguNzc2LDgsOC41djBDOCw4LjIyNCw4LjIyNCw4LDguNSw4eiIvPgoJPHBhdGggZD0iTTIuNSwzaDEyQzE0Ljc3NiwzLDE1LDMuMjI0LDE1LDMuNXYwQzE1LDMuNzc2LDE0Ljc3Niw0LDE0LjUsNGgtMTJDMi4yMjQsNCwyLDMuNzc2LDIsMy41djBDMiwzLjIyNCwyLjIyNCwzLDIuNSwzeiIvPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg=="});var gJt=xe((uun,WFo)=>{WFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8cGF0aCBjbGFzcz0nYWxnbi10b3AnIGQ9Ik0zLjUsMmgxMEMxMy43NzYsMiwxNCwyLjIyNCwxNCwyLjV2MEMxNCwyLjc3NiwxMy43NzYsMywxMy41LDNoLTEwQzMuMjI0LDMsMywyLjc3NiwzLDIuNXYwQzMsMi4yMjQsMy4yMjQsMiwzLjUsMnoiLz4KCTxwYXRoIGNsYXNzPSdhbGduLXRvcCcgZD0iTTksNS41djlDOSwxNC43NzYsOC43NzYsMTUsOC41LDE1aDBDOC4yMjQsMTUsOCwxNC43NzYsOCwxNC41di05QzgsNS4yMjQsOC4yMjQsNSw4LjUsNWgwQzguNzc2LDUsOSw1LjIyNCw5LDUuNXoiLz4KCTxyZWN0IGNsYXNzPSdhbGduLXRvcCcgeD0iOSIgeT0iNiIgdHJhbnNmb3JtPSJtYXRyaXgoLTEgLTEuMTQzMDUzZS0wOCAxLjE0MzA1M2UtMDggLTEgMTkgMTMpIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCBjbGFzcz0nYWxnbi10b3AnIHg9IjEwIiB5PSI3IiB0cmFuc2Zvcm09Im1hdHJpeCgtMSAtMS4xNDMwNTNlLTA4IDEuMTQzMDUzZS0wOCAtMSAyMSAxNSkiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCTxyZWN0IGNsYXNzPSdhbGduLXRvcCcgeD0iMTEiIHk9IjgiIHRyYW5zZm9ybT0ibWF0cml4KC0xIC0xLjE0MzA1M2UtMDggMS4xNDMwNTNlLTA4IC0xIDIzIDE3KSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHJlY3QgY2xhc3M9J2FsZ24tdG9wJyB4PSIxMiIgeT0iOSIgdHJhbnNmb3JtPSJtYXRyaXgoLTEgLTEuMTQzMDUzZS0wOCAxLjE0MzA1M2UtMDggLTEgMjUgMTkpIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCBjbGFzcz0nYWxnbi10b3AnIHg9IjQiIHk9IjkiIHRyYW5zZm9ybT0ibWF0cml4KDUuNTcyMjQ3ZS0wNyAxIC0xIDUuNTcyMjQ3ZS0wNyAxNCA1KSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHJlY3QgY2xhc3M9J2FsZ24tdG9wJyB4PSI1IiB5PSI4IiB0cmFuc2Zvcm09Im1hdHJpeCg1LjU3MjI0N2UtMDcgMSAtMSA1LjU3MjI0N2UtMDcgMTQgMykiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCTxyZWN0IGNsYXNzPSdhbGduLXRvcCcgeD0iNiIgeT0iNyIgdHJhbnNmb3JtPSJtYXRyaXgoNS41NzIyNDdlLTA3IDEgLTEgNS41NzIyNDdlLTA3IDE0IDEpIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCBjbGFzcz0nYWxnbi10b3AnIHg9IjciIHk9IjYiIHRyYW5zZm9ybT0ibWF0cml4KDUuNTcyMjQ3ZS0wNyAxIC0xIDUuNTcyMjQ3ZS0wNyAxNCAtMSkiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var bJt=xe((pun,QFo)=>{QFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8cGF0aCBjbGFzcz0nYWxpZ24tYm90dG9tJyBkPSJNMTMuNSwxNWgtMTBDMy4yMjQsMTUsMywxNC43NzYsMywxNC41djBDMywxNC4yMjQsMy4yMjQsMTQsMy41LDE0aDEwYzAuMjc2LDAsMC41LDAuMjI0LDAuNSwwLjV2MCBDMTQsMTQuNzc2LDEzLjc3NiwxNSwxMy41LDE1eiIvPgoJPHBhdGggY2xhc3M9J2FsaWduLWJvdHRvbScgZD0iTTgsMTEuNXYtOUM4LDIuMjI0LDguMjI0LDIsOC41LDJoMEM4Ljc3NiwyLDksMi4yMjQsOSwyLjV2OUM5LDExLjc3Niw4Ljc3NiwxMiw4LjUsMTJoMEM4LjIyNCwxMiw4LDExLjc3Niw4LDExLjV6Ii8+Cgk8cmVjdCBjbGFzcz0nYWxpZ24tYm90dG9tJyB4PSI3IiB5PSIxMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHJlY3QgY2xhc3M9J2FsaWduLWJvdHRvbScgeD0iNiIgeT0iOSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHJlY3QgY2xhc3M9J2FsaWduLWJvdHRvbScgeD0iNSIgeT0iOCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHJlY3QgY2xhc3M9J2FsaWduLWJvdHRvbScgeD0iNCIgeT0iNyIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHJlY3QgY2xhc3M9J2FsaWduLWJvdHRvbScgeD0iMTIiIHk9IjciIHRyYW5zZm9ybT0ibWF0cml4KC01LjU3MjI0N2UtMDcgLTEgMSAtNS41NzIyNDdlLTA3IDUuMDAwMSAxOS45OTk5KSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHJlY3QgY2xhc3M9J2FsaWduLWJvdHRvbScgeD0iMTEiIHk9IjgiIHRyYW5zZm9ybT0ibWF0cml4KC01LjU3MjI0N2UtMDcgLTEgMSAtNS41NzIyNDdlLTA3IDMuMDAwMSAxOS45OTk5KSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHJlY3QgY2xhc3M9J2FsaWduLWJvdHRvbScgeD0iMTAiIHk9IjkiIHRyYW5zZm9ybT0ibWF0cml4KC01LjU3MjI0N2UtMDcgLTEgMSAtNS41NzIyNDdlLTA3IDEuMDAwMSAxOS45OTk5KSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHJlY3QgY2xhc3M9J2FsaWduLWJvdHRvbScgeD0iOSIgeT0iMTAiIHRyYW5zZm9ybT0ibWF0cml4KC01LjU3MjI0N2UtMDcgLTEgMSAtNS41NzIyNDdlLTA3IC0wLjk5OTkgMTkuOTk5OSkiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var yJt=xe((mun,KFo)=>{KFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8cmVjdCB4PSI2IiB5PSI0IiB0cmFuc2Zvcm09Im1hdHJpeCgtMSAtMS4xNDMwNTNlLTA4IDEuMTQzMDUzZS0wOCAtMSAxMyA5KSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHJlY3QgeD0iNyIgeT0iNSIgdHJhbnNmb3JtPSJtYXRyaXgoLTEgLTEuMTQzMDUzZS0wOCAxLjE0MzA1M2UtMDggLTEgMTUgMTEpIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCB4PSIxMCIgeT0iNCIgdHJhbnNmb3JtPSJtYXRyaXgoLTUuNTcyMjU2ZS0wNyAtMSAxIC01LjU3MjI1NmUtMDcgNiAxNSkiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCTxyZWN0IHg9IjkiIHk9IjUiIHRyYW5zZm9ybT0ibWF0cml4KC01LjU3MjI0N2UtMDcgLTEgMSAtNS41NzIyNDdlLTA3IDQgMTUpIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCB4PSIxMCIgeT0iMTIiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCTxyZWN0IHg9IjkiIHk9IjExIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCB4PSI2IiB5PSIxMiIgdHJhbnNmb3JtPSJtYXRyaXgoMS4xMTQ0NTFlLTA2IDEgLTEgMS4xMTQ0NTFlLTA2IDE5IDYpIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCB4PSI3IiB5PSIxMSIgdHJhbnNmb3JtPSJtYXRyaXgoMS4xMTQ0NTBlLTA2IDEgLTEgMS4xMTQ0NTBlLTA2IDE5IDQpIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cGF0aCBkPSJNMy41LDhoMTBDMTMuNzc2LDgsMTQsOC4yMjQsMTQsOC41djBDMTQsOC43NzYsMTMuNzc2LDksMTMuNSw5aC0xMEMzLjIyNCw5LDMsOC43NzYsMyw4LjV2MEMzLDguMjI0LDMuMjI0LDgsMy41LDh6Ii8+Cgk8cGF0aCBkPSJNOSwxMC41djVDOSwxNS43NzYsOC43NzYsMTYsOC41LDE2aDBDOC4yMjQsMTYsOCwxNS43NzYsOCwxNS41di01QzgsMTAuMjI0LDguMjI0LDEwLDguNSwxMGgwQzguNzc2LDEwLDksMTAuMjI0LDksMTAuNXoiCgkJLz4KCTxwYXRoIGQ9Ik04LDYuNXYtNUM4LDEuMjI0LDguMjI0LDEsOC41LDFoMEM4Ljc3NiwxLDksMS4yMjQsOSwxLjV2NUM5LDYuNzc2LDguNzc2LDcsOC41LDdoMEM4LjIyNCw3LDgsNi43NzYsOCw2LjV6Ii8+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIj4KPC9nPgo8L3N2Zz4K"});var wJt=xe((hun,ZFo)=>{ZFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8cGF0aCBkPSJNMi41LDE0aDEyYzAuMjc2LDAsMC41LDAuMjI0LDAuNSwwLjV2MGMwLDAuMjc2LTAuMjI0LDAuNS0wLjUsMC41aC0xMkMyLjIyNCwxNSwyLDE0Ljc3NiwyLDE0LjV2MAoJCUMyLDE0LjIyNCwyLjIyNCwxNCwyLjUsMTR6Ii8+Cgk8cGF0aCBkPSJNNS41LDhoNkMxMS43NzYsOCwxMiw4LjIyNCwxMiw4LjV2MEMxMiw4Ljc3NiwxMS43NzYsOSwxMS41LDloLTZDNS4yMjQsOSw1LDguNzc2LDUsOC41djBDNSw4LjIyNCw1LjIyNCw4LDUuNSw4eiIvPgoJPHBhdGggZD0iTTIuNSwzaDEyQzE0Ljc3NiwzLDE1LDMuMjI0LDE1LDMuNXYwQzE1LDMuNzc2LDE0Ljc3Niw0LDE0LjUsNGgtMTJDMi4yMjQsNCwyLDMuNzc2LDIsMy41djBDMiwzLjIyNCwyLjIyNCwzLDIuNSwzeiIvPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg=="});var E8e=xe((fun,JFo)=>{JFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUsMWgtMmMtMC41NTIsMC0xLDAuNDQ4LTEsMXYyYzAsMC41NTIsMC40NDgsMSwxLDFoMmMwLjU1MiwwLDEtMC40NDgsMS0xVjJDMTYsMS40NDgsMTUuNTUyLDEsMTUsMXogTTE1LDRoLTJWMmgyVjR6Ii8+Cgk8cGF0aCBkPSJNMTUsMTJoLTJWOGMwLTAuNTUyLTAuNDQ4LTEtMS0xaC0xVjVjMC0wLjU1Mi0wLjQ0OC0xLTEtMUg1VjJjMC0wLjU1Mi0wLjQ0OC0xLTEtMUgyQzEuNDQ4LDEsMSwxLjQ0OCwxLDJ2MgoJCWMwLDAuNTUyLDAuNDQ4LDEsMSwxaDJ2NWMwLDAuNTUyLDAuNDQ4LDEsMSwxaDJ2MWMwLDAuNTUyLDAuNDQ4LDEsMSwxaDR2MmMwLDAuNTUyLDAuNDQ4LDEsMSwxaDJjMC41NTIsMCwxLTAuNDQ4LDEtMXYtMgoJCUMxNiwxMi40NDgsMTUuNTUyLDEyLDE1LDEyeiBNMiw0VjJoMnYySDJ6IE01LDEwVjVoNXYySDhDNy40NDgsNyw3LDcuNDQ4LDcsOHYySDV6IE0xMCw4djJIOFY4SDEweiBNOCwxMnYtMWgyCgkJYzAuNTUyLDAsMS0wLjQ0OCwxLTFWOGgxdjRIOHogTTE1LDE1aC0ydi0yaDJWMTV6Ii8+Cgk8cGF0aCBkPSJNNCwxMkgyYy0wLjU1MiwwLTEsMC40NDgtMSwxdjJjMCwwLjU1MiwwLjQ0OCwxLDEsMWgyYzAuNTUyLDAsMS0wLjQ0OCwxLTF2LTJDNSwxMi40NDgsNC41NTIsMTIsNCwxMnogTTQsMTVIMnYtMmgyVjE1eiIKCQkvPgo8L2c+Cjwvc3ZnPgo="});var t3e=xe((gun,qFo)=>{qFo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik0xNSwxSDJDMS40NSwxLDEsMS40NSwxLDJ2Ny4yOXYxLjRWMTVjMCwwLjU1LDAuNDUsMSwxLDFoMTNjMC41NSwwLDEtMC40NSwxLTFWMkMxNiwxLjQ1LDE1LjU1LDEsMTUsMXogTTE1LDEwaC00LjA1CglDMTAuNzIsOC44Niw5LjcxLDgsOC41LDhDNy4xMiw4LDYsOS4xMiw2LDEwLjVTNy4xMiwxMyw4LjUsMTNjMS4yMSwwLDIuMjItMC44NiwyLjQ1LTJIMTV2NEgyVjkuNzFMNS43MSw2SDE1VjEweiBNOC41LDEyCglDNy42NywxMiw3LDExLjMzLDcsMTAuNUM3LDkuNjcsNy42Nyw5LDguNSw5UzEwLDkuNjcsMTAsMTAuNUMxMCwxMS4zMyw5LjMzLDEyLDguNSwxMnogTTE1LDVINi43MUg1LjcwNAoJYy0wLjI2NSwwLTAuNTIsMC4xMDUtMC43MDcsMC4yOTNMNC4yOSw2TDIsOC4yOVYyaDEzVjV6Ii8+Cjwvc3ZnPgo="});var i3e=xe((bun,XFo)=>{XFo.exports="data:image/svg+xml;base64, "});var A8e=xe((yun,$Fo)=>{$Fo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMTUsMkwxNSwydjEzTDIsMTVMMiwySDE1IE0xNSwxSDJDMS40NSwxLDEsMS40NSwxLDJ2MTNjMCwwLjU1LDAuNDUsMSwxLDFoMTNjMC41NSwwLDEtMC40NSwxLTFWMkMxNiwxLjQ1LDE1LjU1LDEsMTUsMQoJCUwxNSwxeiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTEzLDR2M2gtM1Y0SDEzIE0xMywzaC0zQzkuNDQ4LDMsOSwzLjQ0OCw5LDR2M2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDNjMC41NTIsMCwxLTAuNDQ4LDEtMVY0QzE0LDMuNDQ4LDEzLjU1MiwzLDEzLDNMMTMsMwoJCXoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik03LDEwdjNINHYtM0g3IE03LDlINGMtMC41NTIsMC0xLDAuNDQ4LTEsMXYzYzAsMC41NTIsMC40NDgsMSwxLDFoM2MwLjU1MiwwLDEtMC40NDgsMS0xdi0zQzgsOS40NDgsNy41NTIsOSw3LDlMNyw5eiIvPgo8L2c+Cjwvc3ZnPgo="});var $ut=xe((wun,eUo)=>{eUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTE1LDlWMmMwLTAuNTUtMC40NS0xLTEtMUgzQzIuNDUsMSwyLDEuNDUsMiwydjEzYzAsMC41NSwwLjQ1LDEsMSwxaDUuNUM4Ljc3NiwxNiw5LDE1Ljc3Niw5LDE1LjV2MAoJQzksMTUuMjI0LDguNzc2LDE1LDguNSwxNUg3di0yaDEuNUM4Ljc3NiwxMyw5LDEyLjc3Niw5LDEyLjV2MEM5LDEyLjIyNCw4Ljc3NiwxMiw4LjUsMTJIN3YtMmg3QzE0LjU1MiwxMCwxNSw5LjU1MiwxNSw5eiBNNiwxNUgzCgl2LTJoM1YxNXogTTYsMTJIM3YtMmgzVjEyeiBNMyw5VjJoMTF2N0gzeiIvPgo8cGF0aCBkPSJNMTQuNDk0LDEzSDEzdi0xLjQ5NGMwLTAuMjc2LTAuMjI0LTAuNS0wLjUtMC41cy0wLjUsMC4yMjQtMC41LDAuNVYxM2gtMS40OTRjLTAuMjc2LDAtMC41LDAuMjI0LTAuNSwwLjUKCWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41SDEydjEuNDk0YzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVzMC41LTAuMjI0LDAuNS0wLjVWMTRoMS40OTRjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNQoJQzE0Ljk5NCwxMy4yMjQsMTQuNzcxLDEzLDE0LjQ5NCwxM3oiLz4KPC9zdmc+Cg=="});var N8e=xe((Cun,tUo)=>{tUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LjUsM0gxMlYxYzAtMC41NS0wLjQ1LTEtMS0xSDVDNC40NSwwLDQsMC40NSw0LDF2MkgwLjVDMC4yMiwzLDAsMy4yMiwwLDMuNUMwLDMuNzgsMC4yMiw0LDAuNSw0aDE1CglDMTUuNzgsNCwxNiwzLjc4LDE2LDMuNUMxNiwzLjIyLDE1Ljc4LDMsMTUuNSwzeiBNMTEsM0g1VjFoNlYzeiIvPgo8cGF0aCBkPSJNNywxMi41di01QzcsNy4yMjQsNi43NzYsNyw2LjUsN1M2LDcuMjI0LDYsNy41djVDNiwxMi43NzYsNi4yMjQsMTMsNi41LDEzUzcsMTIuNzc2LDcsMTIuNXoiLz4KPHBhdGggZD0iTTEwLDEyLjV2LTVDMTAsNy4yMjQsOS43NzYsNyw5LjUsN1M5LDcuMjI0LDksNy41djVDOSwxMi43NzYsOS4yMjQsMTMsOS41LDEzUzEwLDEyLjc3NiwxMCwxMi41eiIvPgo8cGF0aCBkPSJNMTMsNS41VjE1YzAsMC41NS0wLjQ1LDEtMSwxSDRjLTAuNTUsMC0xLTAuNDUtMS0xVjUuNUMzLDUuMjIsMy4yMiw1LDMuNSw1UzQsNS4yMiw0LDUuNVYxNWg4VjUuNUMxMiw1LjIyLDEyLjIyLDUsMTIuNSw1CglTMTMsNS4yMiwxMyw1LjV6Ii8+CjxjaXJjbGUgY3g9IjAuNSIgY3k9IjMuNSIgcj0iMC41Ii8+CjxjaXJjbGUgY3g9IjE1LjUiIGN5PSIzLjUiIHI9IjAuNSIvPgo8L3N2Zz4K"});var k8e=xe((xun,iUo)=>{iUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE0LjEwOCw2Ljg3NWMtMC44NjEtMC42ODQtMi4zMzYtMS4wNzgtMy4zMTQtMC41NTZjLTAuMTQsMC4wNzQtMC4yNjEsMC4xNjYtMC4zNzEsMC4yNzYKCWMtMC4zNTcsMC4zNTctMC41MjYsMC44NzItMC40NDUsMS4zNzJjMC4wMjYsMC4yNzYsMC4yNjksMC40ODIsMC41NDgsMC40NmMwLjEyMS0wLjAxMSwwLjIzMi0wLjA2MywwLjMxNi0wLjE0NwoJQzEwLjk0OCw4LjE3NCwxMSw4LjAyNywxMC45ODksNy44NzZWNy44NjFjLTAuMDQ0LTAuMjA2LDAuMDE1LTAuNDEyLDAuMTYyLTAuNTU5YzAuMDM3LTAuMDM3LDAuMDc3LTAuMDcsMC4xMjUtMC4wOTYKCWMwLjUxMS0wLjI3NiwxLjU2LTAuMDU5LDIuMjAzLDAuNDUyYzAuMjg3LDAuMjI4LDAuNjAzLDAuNTk2LDAuNDc4LDEuMDY3YzAsMC0wLjAwNCwwLjAwNCwwLDAuMDA3CgljLTAuMDM3LDAuMTkxLTAuMTI5LDAuMzY0LTAuMjY1LDAuNWMtMC4wNjMsMC4wNjMtMC4xMzIsMC4xMTgtMC4yMSwwLjE1OGMtMC40ODYsMC4yNS0xLjIwMywwLjA0LTEuMzA2LTAuMDA0CgljLTAuMDA0LTAuMDA0LTAuMDExLTAuMDA0LTAuMDE1LTAuMDA3bC0xLjY2My0wLjU1OWMtMC4wMDQtMC4wMDQtMC4wMTEtMC4wMDQtMC4wMTUtMC4wMDdMOS4xNTMsOC4zNjVMNi43NzksMS4zNzEKCWMtMC4wNC0wLjEyOS0wLjEzNi0wLjIzMi0wLjI1Ny0wLjI5NEM2LjQsMS4wMTQsNi4yNjEsMS4wMDYsNi4xMzUsMS4wNTFjLTAuMDc3LDAuMDI2LTAuMTQsMC4wNjYtMC4xOTUsMC4xMjEKCUM1LjgwNCwxLjMwOCw1Ljc1NywxLjUxLDUuODE1LDEuNjk0bDIuMTI4LDYuMjdMMS42Nyw1Ljg0N0MxLjQ4Nyw1Ljc4OCwxLjI4OCw1LjgzMiwxLjE0OCw1Ljk3MgoJQzEuMDkzLDYuMDI3LDEuMDQ5LDYuMDk0LDEuMDI3LDYuMTY3Yy0wLjA0LDAuMTI5LTAuMDMzLDAuMjY5LDAuMDI2LDAuMzg2YzAuMDYzLDAuMTIxLDAuMTYyLDAuMjEzLDAuMjk0LDAuMjU4bDcuMDEyLDIuMzYzCglsMC40MzQsMS4yNzNjMC4wMDQsMC4wMTgsMC4wMDcsMC4wMjksMC4wMTEsMC4wNDhsMC41NzcsMS42ODFjMCwwLjAwNywwLjAwNCwwLjAxMSwwLjAwNywwLjAxNUM5LjQzMywxMi4yOTQsOS42NDYsMTMsOS4zOTYsMTMuNDc5CgljLTAuMDQsMC4wNzctMC4wOTYsMC4xNDctMC4xNTgsMC4yMWMtMC4xMzIsMC4xMzItMC4zMDUsMC4yMjQtMC40ODksMC4yNjFjMCwwLTAuMDA0LDAuMDA0LTAuMDA3LDAKCWMtMC4yNTQsMC4wNy0wLjY0NCwwLjA0LTEuMDUyLTAuNDcxYy0wLjUwOC0wLjY0LTAuNzI4LTEuNjc4LTAuNDU2LTIuMTc4YzAuMDI2LTAuMDQsMC4wNTUtMC4wODUsMC4wOTYtMC4xMjUKCWMwLjE0My0wLjE0MywwLjM1My0wLjIwNiwwLjU1Mi0wLjE2MmMwLjAwNywwLDAuMDExLDAuMDA0LDAuMDE4LDAuMDA0YzAuMTQsMC4wMDcsMC4yNzYtMC4wNDgsMC4zNzUtMC4xNDcKCWMwLjA4MS0wLjA4MSwwLjEyOS0wLjE4LDAuMTQzLTAuMjkxYzAuMDE1LTAuMTMyLTAuMDE4LTAuMjYxLTAuMDk5LTAuMzcyYy0wLjA4MS0wLjEwMy0wLjIwMi0wLjE3My0wLjMzMS0wLjE5MQoJYy0wLjQ5Ny0wLjA3Ny0xLjAwOCwwLjA4OC0xLjM2NSwwLjQ0NWMtMC4xMDcsMC4xMDctMC4xOTksMC4yMjgtMC4yNzIsMC4zNjFDNS44MzUsMTEuNzk0LDYuMjI1LDEzLjI1LDYuOTA2LDE0LjEKCWMwLjU3NywwLjcyNSwxLjM0MywxLjAxOSwyLjEsMC44MTNjMC4zNi0wLjA4OCwwLjY5NS0wLjI3NiwwLjk2NC0wLjUzN2MwLjEyNS0wLjEzMiwwLjIzMi0wLjI4MywwLjMxMy0wLjQ0NQoJYzAuNDQxLTAuODYxLDAuMTE4LTEuODg0LDAuMDQ0LTIuMDgybC0wLjU1OS0xLjYyNkw5Ljc1NiwxMC4xOUw5LjU1LDkuNTc5bDAuNiwwLjIwMmMwLjAwNywwLDAuMDExLDAuMDA0LDAuMDE4LDAuMDA0bDEuNjQsMC41NTIKCWMwLjIwMiwwLjA3LDEuMjQ3LDAuNDAxLDIuMTIyLTAuMDQ4YzAuMTY5LTAuMDg4LDAuMzI3LTAuMjAyLDAuNDYzLTAuMzM4bDAuMDA0LTAuMDA0YzAuMjU3LTAuMjY1LDAuNDQ1LTAuNTkyLDAuNTM3LTAuOTQ5CglDMTUuMTQxLDguMjMzLDE0Ljg0LDcuNDYsMTQuMTA4LDYuODc1TDE0LjEwOCw2Ljg3NXogTTkuNjIsMTIuOTNjMC4wMDQtMC4wNDgsMC0wLjA5Ni0wLjAwNC0wLjE0MwoJQzkuNjIsMTIuODM1LDkuNjIsMTIuODg2LDkuNjIsMTIuOTN6Ii8+Cjwvc3ZnPgo="});var Mie=xe((Tun,oUo)=>{oUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8Y2lyY2xlIGN4PSI2IiBjeT0iNCIgcj0iMSIvPgoJPHBhdGggZD0iTTE1LjUsN0MxNS43NzYsNywxNiw2Ljc3NiwxNiw2LjVDMTYsNi4yMjQsMTUuNzc2LDYsMTUuNSw2SDEzVjRoMi41QzE1Ljc3Niw0LDE2LDMuNzc2LDE2LDMuNUMxNiwzLjIyNCwxNS43NzYsMywxNS41LDMKCQlIMTNWMmMwLTAuNTUyLTAuNDQ4LTEtMS0xSDRDMy40NDgsMSwzLDEuNDQ4LDMsMnYxSDAuNUMwLjIyNCwzLDAsMy4yMjQsMCwzLjVDMCwzLjc3NiwwLjIyNCw0LDAuNSw0SDN2MkgwLjUKCQlDMC4yMjQsNiwwLDYuMjI0LDAsNi41QzAsNi43NzYsMC4yMjQsNywwLjUsN0gzdjJIMC41QzAuMjI0LDksMCw5LjIyNCwwLDkuNUMwLDkuNzc2LDAuMjI0LDEwLDAuNSwxMEgzdjJIMC41CgkJQzAuMjI0LDEyLDAsMTIuMjI0LDAsMTIuNUMwLDEyLjc3NiwwLjIyNCwxMywwLjUsMTNIM3YxYzAsMC41NTIsMC40NDgsMSwxLDFoOGMwLjU1MiwwLDEtMC40NDgsMS0xdi0xaDIuNQoJCWMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41YzAtMC4yNzYtMC4yMjQtMC41LTAuNS0wLjVIMTN2LTJoMi41YzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjVDMTYsOS4yMjQsMTUuNzc2LDksMTUuNSw5SDEzVjdIMTUuNXoKCQkgTTEyLDE0SDRWMmg4VjE0eiIvPgo8L2c+Cjwvc3ZnPgo="});var e0t=xe((Sun,rUo)=>{rUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNiAxNjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8Zz4KCTxwYXRoIGQ9Ik05LjUsMTNIMi45Yy0wLjItMC40LTAuNS0wLjgtMC45LTAuOVYyaDFWMUgyVjBIMXYxSDB2MWgxdjEwLjFjLTAuNiwwLjItMSwwLjgtMSwxLjRDMCwxNC4zLDAuNywxNSwxLjUsMTUKCQljMC43LDAsMS4yLTAuNCwxLjQtMWg2LjZjMC4zLDAsMC41LTAuMiwwLjUtMC41UzkuOCwxMyw5LjUsMTN6Ii8+Cgk8cGF0aCBkPSJNMTIuNCwxYzEsMCwxLjYsMSwxLjgsMS40QzE0LjcsMy40LDE1LDQuNiwxNSw2YzAsMC4zLDAuMiwwLjUsMC41LDAuNVMxNiw2LjMsMTYsNmMwLTEuNS0wLjMtMi45LTAuOS00LjEKCQljLTAuNy0xLjMtMS42LTItMi43LTEuOUMxMC44LDAuMSwxMCwxLjcsOS43LDIuNEM5LjEsMy42LDksNC45LDguOSw2LjJjMCwwLjMsMCwwLjYtMC4xLDAuOGMtMC4xLDEuNC0wLjQsMi44LTEuNCwzLjYKCQljLTAuMywwLjMtMC43LDAuNC0xLjEsMC4zYy0wLjUtMC4xLTEtMC40LTEuMy0wLjhDNC4zLDksNC4xLDcuNiw0LDYuNUw0LDZjMC0wLjMtMC4yLTAuNS0wLjUtMC41UzMsNS43LDMsNmwwLDAuNgoJCWMwLjEsMS43LDAuNSwzLjEsMS4zLDQuMmMwLjUsMC43LDEuMiwxLjEsMiwxLjJjMC4xLDAsMC4yLDAsMC4zLDBjMC42LDAsMS4xLTAuMiwxLjYtMC42YzEuMy0xLjEsMS42LTIuOCwxLjctNC4zCgkJYzAtMC4zLDAtMC42LDAuMS0wLjhDMTAsNSwxMC4xLDMuOSwxMC42LDIuOUMxMSwyLDExLjYsMSwxMi40LDF6Ii8+Cgk8cGF0aCBkPSJNMTUuNSwxMGMtMC4zLDAtMC41LDAuMi0wLjUsMC41djMuOGwtMi43LTQuMUMxMi4yLDEwLjEsMTIsMTAsMTEuOCwxMGgtMC4zYy0wLjMsMC0wLjUsMC4yLTAuNSwwLjV2NQoJCWMwLDAuMywwLjIsMC41LDAuNSwwLjVzMC41LTAuMiwwLjUtMC41di0zLjhsMi43LDQuMWMwLjEsMC4xLDAuMywwLjIsMC40LDAuMmgwLjNjMC4zLDAsMC41LTAuMiwwLjUtMC41di01CgkJQzE2LDEwLjIsMTUuOCwxMCwxNS41LDEweiIvPgo8L2c+Cjwvc3ZnPgo="});var t0t=xe((Mun,nUo)=>{nUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNiAxNjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8Zz4KCTxwYXRoIGQ9Ik05LjUsMTNIMi45Yy0wLjItMC40LTAuNS0wLjgtMC45LTAuOVYyaDFWMUgyVjBIMXYxSDB2MWgxdjEwLjFjLTAuNiwwLjItMSwwLjgtMSwxLjRDMCwxNC4zLDAuNywxNSwxLjUsMTUKCQljMC43LDAsMS4yLTAuNCwxLjQtMWg2LjZjMC4zLDAsMC41LTAuMiwwLjUtMC41UzkuOCwxMyw5LjUsMTN6Ii8+Cgk8cGF0aCBkPSJNMTIuNCwxYzEsMCwxLjYsMSwxLjgsMS40QzE0LjcsMy40LDE1LDQuNiwxNSw2YzAsMC4zLDAuMiwwLjUsMC41LDAuNVMxNiw2LjMsMTYsNmMwLTEuNS0wLjMtMi45LTAuOS00LjEKCQljLTAuNy0xLjMtMS42LTItMi43LTEuOUMxMC44LDAuMSwxMCwxLjcsOS43LDIuNEM5LjEsMy42LDksNC45LDguOSw2LjJjMCwwLjMsMCwwLjYtMC4xLDAuOGMtMC4xLDEuNC0wLjQsMi44LTEuNCwzLjYKCQljLTAuMywwLjMtMC43LDAuNC0xLjEsMC4zYy0wLjUtMC4xLTEtMC40LTEuMy0wLjhDNC4zLDksNC4xLDcuNiw0LDYuNUw0LDZjMC0wLjMtMC4yLTAuNS0wLjUtMC41UzMsNS43LDMsNmwwLDAuNgoJCWMwLjEsMS43LDAuNSwzLjEsMS4zLDQuMmMwLjUsMC43LDEuMiwxLjEsMiwxLjJjMC4xLDAsMC4yLDAsMC4zLDBjMC42LDAsMS4xLTAuMiwxLjYtMC42YzEuMy0xLjEsMS42LTIuOCwxLjctNC4zCgkJYzAtMC4zLDAtMC42LDAuMS0wLjhDMTAsNSwxMC4xLDMuOSwxMC42LDIuOUMxMSwyLDExLjYsMSwxMi40LDF6Ii8+Cgk8cGF0aCBkPSJNMTMsMTBoMi41YzAuMywwLDAuNS0wLjIsMC41LTAuNVMxNS44LDksMTUuNSw5SDEzYy0xLjEsMC0yLDAuOS0yLDJzMC45LDIsMiwyaDFjMC42LDAsMSwwLjQsMSwxcy0wLjQsMS0xLDFoLTIuNQoJCWMtMC4zLDAtMC41LDAuMi0wLjUsMC41czAuMiwwLjUsMC41LDAuNUgxNGMxLjEsMCwyLTAuOSwyLTJzLTAuOS0yLTItMmgtMWMtMC42LDAtMS0wLjQtMS0xUzEyLjQsMTAsMTMsMTB6Ii8+CjwvZz4KPC9zdmc+Cg=="});var i0t=xe((Iun,aUo)=>{aUo.exports="data:image/svg+xml;base64, "});var P8e=xe((Lun,sUo)=>{sUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8Y2lyY2xlIGN4PSI2IiBjeT0iNCIgcj0iMSIgZmlsbD0iIzk4NEIwMSIvPgoJPHBhdGggc3R5bGU9ImZpbGw6Izk4NEIwMSIgZD0iTTE1LjUsN0MxNS43NzYsNywxNiw2Ljc3NiwxNiw2LjVDMTYsNi4yMjQsMTUuNzc2LDYsMTUuNSw2SDEzVjRoMi41QzE1Ljc3Niw0LDE2LDMuNzc2LDE2LDMuNUMxNiwzLjIyNCwxNS43NzYsMywxNS41LDMKCQlIMTNWMmMwLTAuNTUyLTAuNDQ4LTEtMS0xSDRDMy40NDgsMSwzLDEuNDQ4LDMsMnYxSDAuNUMwLjIyNCwzLDAsMy4yMjQsMCwzLjVDMCwzLjc3NiwwLjIyNCw0LDAuNSw0SDN2MkgwLjUKCQlDMC4yMjQsNiwwLDYuMjI0LDAsNi41QzAsNi43NzYsMC4yMjQsNywwLjUsN0gzdjJIMC41QzAuMjI0LDksMCw5LjIyNCwwLDkuNUMwLDkuNzc2LDAuMjI0LDEwLDAuNSwxMEgzdjJIMC41CgkJQzAuMjI0LDEyLDAsMTIuMjI0LDAsMTIuNUMwLDEyLjc3NiwwLjIyNCwxMywwLjUsMTNIM3YxYzAsMC41NTIsMC40NDgsMSwxLDFoOGMwLjU1MiwwLDEtMC40NDgsMS0xdi0xaDIuNQoJCWMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41YzAtMC4yNzYtMC4yMjQtMC41LTAuNS0wLjVIMTN2LTJoMi41YzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjVDMTYsOS4yMjQsMTUuNzc2LDksMTUuNSw5SDEzVjdIMTUuNXoKCQkgTTEyLDE0SDRWMmg4VjE0eiIvPgo8L2c+Cjwvc3ZnPgo="});var CJt=xe((vun,lUo)=>{lUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMTIsNHY4SDRWNEgxMiBNMTIsM0g0QzMuNDQ4LDMsMywzLjQ0OCwzLDR2OGMwLDAuNTUyLDAuNDQ4LDEsMSwxaDhjMC41NTIsMCwxLTAuNDQ4LDEtMVY0QzEzLDMuNDQ4LDEyLjU1MiwzLDEyLDNMMTIsM3oiCgkJLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik02LDVDNS40NDgsNSw1LDUuNDQ4LDUsNnMwLjQ0OCwxLDEsMWMwLjU1MiwwLDEtMC40NDgsMS0xUzYuNTUyLDUsNiw1TDYsNXoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik02LjUsMEM2LjIyNCwwLDYsMC4yMjQsNiwwLjV2M0M2LDMuNzc2LDYuMjI0LDQsNi41LDRTNywzLjc3Niw3LDMuNXYtM0M3LDAuMjI0LDYuNzc2LDAsNi41LDBMNi41LDB6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNMTUuNSw2aC0zQzEyLjIyNCw2LDEyLDYuMjI0LDEyLDYuNVMxMi4yMjQsNywxMi41LDdoM0MxNS43NzYsNywxNiw2Ljc3NiwxNiw2LjVTMTUuNzc2LDYsMTUuNSw2TDE1LjUsNnoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik05LjUsMEM5LjIyNCwwLDksMC4yMjQsOSwwLjV2M0M5LDMuNzc2LDkuMjI0LDQsOS41LDRTMTAsMy43NzYsMTAsMy41di0zQzEwLDAuMjI0LDkuNzc2LDAsOS41LDBMOS41LDB6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNNi41LDEyQzYuMjI0LDEyLDYsMTIuMjI0LDYsMTIuNXYzQzYsMTUuNzc2LDYuMjI0LDE2LDYuNSwxNlM3LDE1Ljc3Niw3LDE1LjV2LTNDNywxMi4yMjQsNi43NzYsMTIsNi41LDEyTDYuNSwxMnoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik05LjUsMTJDOS4yMjQsMTIsOSwxMi4yMjQsOSwxMi41djNDOSwxNS43NzYsOS4yMjQsMTYsOS41LDE2czAuNS0wLjIyNCwwLjUtMC41di0zQzEwLDEyLjIyNCw5Ljc3NiwxMiw5LjUsMTJMOS41LDEyeiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTMuNSw2aC0zQzAuMjI0LDYsMCw2LjIyNCwwLDYuNVMwLjIyNCw3LDAuNSw3aDNDMy43NzYsNyw0LDYuNzc2LDQsNi41UzMuNzc2LDYsMy41LDZMMy41LDZ6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNMTUuNSw5aC0zQzEyLjIyNCw5LDEyLDkuMjI0LDEyLDkuNXMwLjIyNCwwLjUsMC41LDAuNWgzYzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjVTMTUuNzc2LDksMTUuNSw5TDE1LjUsOXoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0zLjUsOWgtM0MwLjIyNCw5LDAsOS4yMjQsMCw5LjVTMC4yMjQsMTAsMC41LDEwaDNDMy43NzYsMTAsNCw5Ljc3Niw0LDkuNVMzLjc3Niw5LDMuNSw5TDMuNSw5eiIvPgo8L2c+Cjwvc3ZnPgo="});var Kce=xe((Dun,cUo)=>{cUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LDJIMUMwLjQ0OCwyLDAsMi40NDgsMCwzdjN2MXYzdjF2M2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDE0YzAuNTUyLDAsMS0wLjQ0OCwxLTF2LTN2LTFWN1Y2VjNDMTYsMi40NDgsMTUuNTUyLDIsMTUsMnoKCSBNMSw3aDQuMDQydjNIMVY3eiBNNi4wNDIsMTBWN2gzLjkxN3YzSDYuMDQyeiBNOS45NTgsMTF2M0g2LjA0MnYtM0g5Ljk1OHogTTEsMTFoNC4wNDJ2M0gxVjExeiBNMTUsMTRoLTQuMDQydi0zSDE1VjE0eiBNMTUsMTAKCWgtNC4wNDJWN0gxNVYxMHogTTEwLjk1OCw2aC0xSDYuMDQyaC0xSDFWM2gxNHYzSDEwLjk1OHoiLz4KPC9zdmc+Cg=="});var o3e=xe((Eun,dUo)=>{dUo.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCI+CiAgPGRlZnM+CiAgICA8bGluZWFyR3JhZGllbnQgaWQ9ImxpbmVhci1ncmFkaWVudCIgeDE9IjAuMDIiIHkxPSIxIiB4Mj0iMSIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPgogICAgICA8c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiM4OGFiZmQiLz4KICAgICAgPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjNTM4NmZlIi8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogIDwvZGVmcz4KICA8ZyBpZD0i5paw5bu656ym5Y+3IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNjQ4IC00MDkpIj4KICAgIDxyZWN0IGlkPSLnn6nlvaJfMjkiIGRhdGEtbmFtZT0i55+p5b2iIDI5IiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHJ4PSI0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg2OTYgNDA5KSByb3RhdGUoOTApIiBmaWxsPSJ1cmwoI2xpbmVhci1ncmFkaWVudCkiLz4KICAgIDxnIGlkPSLnu4RfNTEiIGRhdGEtbmFtZT0i57uEIDUxIj4KICAgICAgPGNpcmNsZSBpZD0i5qSt5ZyGXzIiIGRhdGEtbmFtZT0i5qSt5ZyGIDIiIGN4PSIyIiBjeT0iMiIgcj0iMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNjY1IDQyMikiIGZpbGw9IiNmZmYiLz4KICAgICAgPHBhdGggaWQ9Iui3r+W+hF84MCIgZGF0YS1uYW1lPSLot6/lvoQgODAiIGQ9Ik0zNC43MjYsMTQuNDQyYTEuMTIsMS4xMiwwLDEsMCwwLTIuMjRoLTUuNlY3LjcyMWg1LjZhMS4xMiwxLjEyLDAsMSwwLDAtMi4yNGgtNS42VjMuMjRBMi4yNDEsMi4yNDEsMCwwLDAsMjYuODg1LDFIOC45NjJhMi4yNDEsMi4yNDEsMCwwLDAtMi4yNCwyLjI0djIuMjRIMS4xMmExLjEyLDEuMTIsMCwwLDAsMCwyLjI0aDUuNlYxMi4ySDEuMTJhMS4xMiwxLjEyLDAsMSwwLDAsMi4yNGg1LjZ2NC40ODFIMS4xMmExLjEyLDEuMTIsMCwxLDAsMCwyLjI0aDUuNnY0LjQ4MUgxLjEyYTEuMTIsMS4xMiwwLDEsMCwwLDIuMjRoNS42djIuMjRhMi4yNDEsMi4yNDEsMCwwLDAsMi4yNCwyLjI0SDI2Ljg4NWEyLjI0MSwyLjI0MSwwLDAsMCwyLjI0LTIuMjR2LTIuMjRoNS42YTEuMTIsMS4xMiwwLDEsMCwwLTIuMjRoLTUuNlYyMS4xNjNoNS42YTEuMTIsMS4xMiwwLDEsMCwwLTIuMjRoLTUuNlYxNC40NDJaTTI2Ljg4NSwzMC4xMjVIOC45NjJWMy4yNEgyNi44ODVaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg2NTQgNDE2LjM5NCkiIGZpbGw9IiNmZmYiLz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo="});var O8e=xe((Aun,uUo)=>{uUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUsNWgtNFYxYzAtMC41NS0wLjQ1LTEtMS0xSDFDMC40NSwwLDAsMC40NSwwLDF2OWMwLDAuNTUsMC40NSwxLDEsMWg0djRjMCwwLjU1LDAuNDUsMSwxLDFoOWMwLjU1LDAsMS0wLjQ1LDEtMVY2CgkJQzE2LDUuNDUsMTUuNTUsNSwxNSw1eiBNNSw2djRIMVYxaDl2NEg2QzUuNDUsNSw1LDUuNDUsNSw2eiBNMTUsMTVINnYtNHYtMVY2aDRoMWg0VjE1eiIvPgoJPHBhdGggZD0iTTExLDcuNDlDMTEsNy4yMiwxMC43OCw3LDEwLjUxLDdjLTAuMjgsMC0wLjUsMC4yMi0wLjUsMC40OXYyLjUySDcuNDljLTAuMjcsMC0wLjQ5LDAuMjItMC40OSwwLjUKCQlDNywxMC43OCw3LjIyLDExLDcuNDksMTFoMi41MnYydjAuNTFjMCwwLjI3LDAuMjIsMC40OSwwLjUsMC40OWMwLjI3LDAsMC40OS0wLjIyLDAuNDktMC40OVYxM3YtMmgyaDAuNTEKCQljMC4yNywwLDAuNDktMC4yMiwwLjQ5LTAuNDljMC0wLjI4LTAuMjItMC41LTAuNDktMC41SDEzaC0yVjcuNDl6Ii8+CjwvZz4KPC9zdmc+Cg=="});var o0t=xe((Nun,pUo)=>{pUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LDVoLTRWMWMwLTAuNTUtMC40NS0xLTEtMUgxQzAuNDUsMCwwLDAuNDUsMCwxdjljMCwwLjU1LDAuNDUsMSwxLDFoNHY0YzAsMC41NSwwLjQ1LDEsMSwxaDQuMjg2CgljMC4yNjUsMCwwLjUyLTAuMTA1LDAuNzA3LTAuMjkzbDQuNzE0LTQuNzE0QzE1Ljg5NSwxMC44MDUsMTYsMTAuNTUxLDE2LDEwLjI4NlY2QzE2LDUuNDUsMTUuNTUsNSwxNSw1eiBNNSw2djRIMVYxaDl2NEg2CglDNS40NSw1LDUsNS40NSw1LDZ6IE02LDZoOXY0aC00Yy0wLjU1LDAtMSwwLjQ1LTEsMXY0SDZWNnogTTE0LjMsMTFMMTEsMTQuM1YxMUgxNC4zeiIvPgo8L3N2Zz4K"});var r0t=xe((kun,mUo)=>{mUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTQuMTE5LDYuODc1Yy0wLjg2MS0wLjY4NC0yLjMzNi0xLjA3OC0zLjMxNC0wLjU1NWMtMC4xNCwwLjA3NC0wLjI2MSwwLjE2Ni0wLjM3MSwwLjI3NgoJCWMtMC4zNTcsMC4zNTctMC41MjYsMC44NzItMC40NDUsMS4zNzJjMC4wMjYsMC4yNzYsMC4yNjksMC40ODIsMC41NDgsMC40NmMwLjEyMS0wLjAxMSwwLjIzMi0wLjA2MywwLjMxNi0wLjE0NwoJCUMxMC45NTksOC4xNzQsMTEuMDExLDguMDI3LDExLDcuODc2VjcuODYxYy0wLjA0NC0wLjIwNiwwLjAxNS0wLjQxMiwwLjE2Mi0wLjU1OWMwLjAzNy0wLjAzNywwLjA3Ny0wLjA3LDAuMTI1LTAuMDk2CgkJYzAuNTExLTAuMjc2LDEuNTYtMC4wNTksMi4yMDMsMC40NTJjMC4yODcsMC4yMjgsMC42MDMsMC41OTYsMC40NzgsMS4wNjdjMCwwLTAuMDA0LDAuMDA0LDAsMC4wMDcKCQljLTAuMDM3LDAuMTkxLTAuMTI5LDAuMzY0LTAuMjY1LDAuNWMtMC4wNjMsMC4wNjMtMC4xMzIsMC4xMTgtMC4yMSwwLjE1OGMtMC40ODUsMC4yNS0xLjIwMywwLjA0LTEuMzA2LTAuMDA0CgkJYy0wLjAwNC0wLjAwNC0wLjAxMS0wLjAwNC0wLjAxNS0wLjAwN2wtMS42NjMtMC41NTljLTAuMDA0LTAuMDA0LTAuMDExLTAuMDA0LTAuMDE1LTAuMDA3TDkuMTY1LDguMzY1TDYuNzkxLDEuMzcxCgkJQzYuNzUsMS4yNDIsNi42NTUsMS4xMzksNi41MzMsMS4wNzZjLTAuMTIxLTAuMDYzLTAuMjYxLTAuMDctMC4zODYtMC4wMjZDNi4wNywxLjA3Niw2LjAwNywxLjExNyw1Ljk1MiwxLjE3MgoJCUM1LjgxNiwxLjMwOCw1Ljc2OCwxLjUxLDUuODI3LDEuNjk0bDIuMTI4LDYuMjdMMS42ODIsNS44NDdDMS40OTgsNS43ODgsMS4yOTksNS44MzIsMS4xNiw1Ljk3MgoJCUMxLjEwNCw2LjAyNywxLjA2LDYuMDk0LDEuMDM4LDYuMTY3QzAuOTk4LDYuMjk2LDEuMDA1LDYuNDM2LDEuMDY0LDYuNTU0YzAuMDYzLDAuMTIxLDAuMTYyLDAuMjEzLDAuMjk0LDAuMjU4TDguMzcsOS4xNzQKCQlsMC40MzQsMS4yNzNjMC4wMDQsMC4wMTgsMC4wMDcsMC4wMjksMC4wMTEsMC4wNDhsMC41NzcsMS42ODFjMCwwLjAwNywwLjAwNCwwLjAxMSwwLjAwNywwLjAxNQoJCUM5LjQ0NCwxMi4yOTQsOS42NTcsMTMsOS40MDcsMTMuNDc5Yy0wLjA0LDAuMDc3LTAuMDk2LDAuMTQ3LTAuMTU4LDAuMjFjLTAuMTMzLDAuMTMyLTAuMzA1LDAuMjI0LTAuNDg5LDAuMjYxCgkJYzAsMC0wLjAwNCwwLjAwNC0wLjAwNywwYy0wLjI1NCwwLjA3LTAuNjQ0LDAuMDQtMS4wNTItMC40NzFjLTAuNTA4LTAuNjQtMC43MjgtMS42NzctMC40NTYtMi4xNzgKCQlDNy4yNywxMS4yNiw3LjMsMTEuMjE2LDcuMzQsMTEuMTc2YzAuMTQzLTAuMTQzLDAuMzUzLTAuMjA2LDAuNTUyLTAuMTYyYzAuMDA3LDAsMC4wMTEsMC4wMDQsMC4wMTgsMC4wMDQKCQljMC4xNCwwLjAwNywwLjI3Ni0wLjA0OCwwLjM3NS0wLjE0N2MwLjA4MS0wLjA4MSwwLjEyOS0wLjE4LDAuMTQzLTAuMjkxYzAuMDE1LTAuMTMyLTAuMDE4LTAuMjYxLTAuMDk5LTAuMzcyCgkJYy0wLjA4MS0wLjEwMy0wLjIwMi0wLjE3My0wLjMzMS0wLjE5MWMtMC40OTYtMC4wNzctMS4wMDgsMC4wODgtMS4zNjUsMC40NDVjLTAuMTA3LDAuMTA3LTAuMTk5LDAuMjI4LTAuMjcyLDAuMzYxCgkJQzUuODQ3LDExLjc5NCw2LjIzNywxMy4yNSw2LjkxNywxNC4xYzAuNTc3LDAuNzI1LDEuMzQzLDEuMDE5LDIuMSwwLjgxM2MwLjM2LTAuMDg4LDAuNjk1LTAuMjc2LDAuOTY0LTAuNTM3CgkJYzAuMTI1LTAuMTMyLDAuMjMyLTAuMjgzLDAuMzEzLTAuNDQ1YzAuNDQxLTAuODYxLDAuMTE4LTEuODg0LDAuMDQ0LTIuMDgybC0wLjU1OS0xLjYyNkw5Ljc2OCwxMC4xOUw5LjU2Miw5LjU3OWwwLjYsMC4yMDIKCQljMC4wMDcsMCwwLjAxMSwwLjAwNCwwLjAxOCwwLjAwNGwxLjY0MSwwLjU1MmMwLjIwMiwwLjA3LDEuMjQ3LDAuNDAxLDIuMTIyLTAuMDQ4YzAuMTY5LTAuMDg4LDAuMzI3LTAuMjAyLDAuNDY0LTAuMzM4CgkJbDAuMDA0LTAuMDA0YzAuMjU3LTAuMjY1LDAuNDQ1LTAuNTkyLDAuNTM3LTAuOTQ5QzE1LjE1Myw4LjIzMywxNC44NTEsNy40NiwxNC4xMTksNi44NzV6Ii8+Cgk8cGF0aCBkPSJNMy4wMDYsMTEuMjg3bC0yLjg2LDIuODZjLTAuMTk1LDAuMTk1LTAuMTk1LDAuNTEyLDAsMC43MDdjMC4xOTUsMC4xOTUsMC41MTIsMC4xOTUsMC43MDcsMGwyLjg2LTIuODYKCQljMC4xOTUtMC4xOTUsMC4xOTUtMC41MTIsMC0wLjcwN1MzLjIwMiwxMS4wOTEsMy4wMDYsMTEuMjg3eiIvPgoJPHBhdGggZD0iTTExLjk5NCwzLjcxM2wyLjg2LTIuODZjMC4xOTUtMC4xOTUsMC4xOTUtMC41MTIsMC0wLjcwN3MtMC41MTItMC4xOTUtMC43MDcsMGwtMi44NiwyLjg2CgkJYy0wLjE5NSwwLjE5NS0wLjE5NSwwLjUxMiwwLDAuNzA3QzExLjQ4MiwzLjkwOSwxMS43OTgsMy45MDksMTEuOTk0LDMuNzEzeiIvPgo8L2c+Cjwvc3ZnPgo="});var xJt=xe((Pun,hUo)=>{hUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8xIiBkYXRhLW5hbWU9IuWbvuWxgiAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZD0iTTcsMnYxaC0xdi0xaDFNOCwxaC0zdjNoM1YxaDBaIiBmaWxsPSIjMDAwIiBzdHJva2Utd2lkdGg9IjAiLz4KICA8cGF0aCBkPSJNMyw2djFoLTF2LTFoMU00LDVIMXYzaDN2LTNoMFoiIGZpbGw9IiMwMDAiIHN0cm9rZS13aWR0aD0iMCIvPgogIDxwYXRoIGQ9Ik0zLDE0djFoLTF2LTFoMU00LDEzSDF2M2gzdi0zaDBaIiBmaWxsPSIjMDAwIiBzdHJva2Utd2lkdGg9IjAiLz4KICA8cGF0aCBkPSJNMTUsMnYxaC0xdi0xaDFNMTYsMWgtM3YzaDNWMWgwWiIgZmlsbD0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIwIi8+CiAgPHBvbHlnb24gcG9pbnRzPSIxMyAyIDggMiA4IDMgMTMgMyAxMyAyIDEzIDIiIGZpbGw9IiMwMDAiIHN0cm9rZS13aWR0aD0iMCIvPgogIDxwb2x5Z29uIHBvaW50cz0iMyA4IDIgOCAyIDEzIDMgMTMgMyA4IDMgOCIgZmlsbD0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIwIi8+CiAgPHBvbHlnb24gcG9pbnRzPSI1LjY1IDIuNjUgMy4xNSA1LjE1IDMuODUgNS44NSA2LjM1IDMuMzUgNS42NSAyLjY1IDUuNjUgMi42NSIgZmlsbD0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIwIi8+CiAgPHBhdGggZD0iTTksNy4zNHY3LjUzYzAsLjQyLjQ5LjY2LjgyLjM4bDEuMjMtMS4wMy41NiwxLjJjLjIzLjUuODMuNzIsMS4zMy40OGwuOTEtLjQyYy41LS4yMy43Mi0uODMuNDgtMS4zM2wtLjU2LTEuMiwxLjU5LS4yOGMuNDItLjA3LjU2LS42LjIzLS44OGwtNS43Ny00Ljg0Yy0uMzMtLjI3LS44Mi0uMDQtLjgyLjM4Wk0xMi45NiwxMi4wOWMtLjMyLjA2LS41LjQxLS4zNy43bC44MywxLjc5LS45MS40Mi0uODMtMS43OWMtLjE0LS4zLS41Mi0uMzgtLjc3LS4xN2wtLjkxLjc2di01LjM3czQuMTEsMy40NSw0LjExLDMuNDVsLTEuMTYuMjFaIiBmaWxsPSIjMDAwIiBzdHJva2Utd2lkdGg9IjAiLz4KICA8cmVjdCB4PSI0IiB5PSI2IiB3aWR0aD0iNiIgaGVpZ2h0PSIxIiBmaWxsPSIjMDAwIiBzdHJva2Utd2lkdGg9IjAiLz4KPC9zdmc+"});var JQ=xe((Oun,fUo)=>{fUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LjUsMi44bC0yLjMtMi4zbDAsMGMtMC4zODctMC4zODctMS4wMTMtMC4zODctMS40LDBsMCwwbC0xLjMsMS4zTDkuOCwyLjVMMi41LDkuOGwtMC4zMiwwLjMyCgljLTAuMDMsMC4wMi0wLjA2LDAuMDUtMC4wOCwwLjA4Yy0wLjAzLDAuMDQtMC4wNCwwLjA3LTAuMDYsMC4xMWwtMC4xMiwwLjMxbC0wLjY2LDEuNjRsLTEuMjIsMy4wNWMtMC4wOCwwLjE5LTAuMDQsMC40LDAuMTEsMC41NAoJQzAuMjQsMTUuOTUsMC4zNywxNiwwLjUsMTZjMC4wNiwwLDAuMTMtMC4wMSwwLjE5LTAuMDRsMy4wNS0xLjIybDEuNjQtMC42NmwwLjMxLTAuMTJjMC4wNC0wLjAyLDAuMDctMC4wMywwLjExLTAuMDYKCWMwLjAzLTAuMDIsMC4wNi0wLjA1LDAuMDgtMC4wOEw2LjIsMTMuNWw3LjMtNy4zbDAuNy0wLjdsMS4zLTEuM2wwLDBDMTUuODg3LDMuODEzLDE1Ljg4NywzLjE4NywxNS41LDIuOEwxNS41LDIuOHogTTIuNjgsMTEuMzkKCWwxLjkzLDEuOTNMMS40LDE0LjZMMi42OCwxMS4zOXogTTUuNSwxMi44bC0yLjMtMi4zbDcuMy03LjNsMi4zLDIuM0w1LjUsMTIuOHogTTEzLjUsNC44bC0yLjMtMi4zbDEuMy0xLjNsMi4zLDIuM0wxMy41LDQuOHoiLz4KPC9zdmc+Cg=="});var TJt=xe((Run,gUo)=>{gUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8xIiBkYXRhLW5hbWU9IuWbvuWxgiAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogIzAwMDsKICAgICAgICBzdHJva2Utd2lkdGg6IDBweDsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPHJlY3QgY2xhc3M9ImNscy0xIiB4PSIxMiIgeT0iNSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgogIDxyZWN0IGNsYXNzPSJjbHMtMSIgeD0iOSIgeT0iMiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgogIDxyZWN0IGNsYXNzPSJjbHMtMSIgeD0iOSIgeT0iMyIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgogIDxyZWN0IGNsYXNzPSJjbHMtMSIgeD0iOSIgeT0iNCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgogIDxyZWN0IGNsYXNzPSJjbHMtMSIgeD0iOCIgeT0iNSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgogIDxyZWN0IGNsYXNzPSJjbHMtMSIgeD0iOCIgeT0iNiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgogIDxyZWN0IGNsYXNzPSJjbHMtMSIgeD0iOCIgeT0iNyIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgogIDxyZWN0IGNsYXNzPSJjbHMtMSIgeD0iNyIgeT0iOCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgogIDxyZWN0IGNsYXNzPSJjbHMtMSIgeD0iNyIgeT0iOSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgogIDxyZWN0IGNsYXNzPSJjbHMtMSIgeD0iNyIgeT0iMTAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KICA8cmVjdCBjbGFzcz0iY2xzLTEiIHg9IjYiIHk9IjExIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CiAgPHJlY3QgY2xhc3M9ImNscy0xIiB4PSI2IiB5PSIxMiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgogIDxyZWN0IGNsYXNzPSJjbHMtMSIgeD0iNiIgeT0iMTMiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KICA8cmVjdCBjbGFzcz0iY2xzLTEiIHg9IjEzIiB5PSI2IiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CiAgPHJlY3QgY2xhc3M9ImNscy0xIiB4PSIxNCIgeT0iNyIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgogIDxyZWN0IGNsYXNzPSJjbHMtMSIgeD0iMTUiIHk9IjgiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KICA8cmVjdCBjbGFzcz0iY2xzLTEiIHg9IjE0IiB5PSI5IiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CiAgPHJlY3QgY2xhc3M9ImNscy0xIiB4PSIxMyIgeT0iMTAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KICA8cmVjdCBjbGFzcz0iY2xzLTEiIHg9IjEyIiB5PSIxMSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgogIDxyZWN0IGNsYXNzPSJjbHMtMSIgeD0iMyIgeT0iMTEiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDcgMjMpIHJvdGF0ZSgxODApIi8+CiAgPHJlY3QgY2xhc3M9ImNscy0xIiB4PSIyIiB5PSIxMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNSAyMSkgcm90YXRlKDE4MCkiLz4KICA8cmVjdCBjbGFzcz0iY2xzLTEiIHg9IjEiIHk9IjkiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDMgMTkpIHJvdGF0ZSgxODApIi8+CiAgPHJlY3QgY2xhc3M9ImNscy0xIiB5PSI4IiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDE3KSByb3RhdGUoMTgwKSIvPgogIDxyZWN0IGNsYXNzPSJjbHMtMSIgeD0iMSIgeT0iNyIgd2lkdGg9IjEiIGhlaWdodD0iMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMyAxNSkgcm90YXRlKDE4MCkiLz4KICA8cmVjdCBjbGFzcz0iY2xzLTEiIHg9IjIiIHk9IjYiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDUgMTMpIHJvdGF0ZSgxODApIi8+CiAgPHJlY3QgY2xhc3M9ImNscy0xIiB4PSIzIiB5PSI1IiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg3IDExKSByb3RhdGUoMTgwKSIvPgo8L3N2Zz4="});var R8e=xe((_un,bUo)=>{bUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgo8L2c+CjxnPgoJPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgo8L2c+CjxwYXRoIGQ9Ik0xNS4xNSw4LjVjLTAuMjUzLDAtMC40NTYsMC4xOTEtMC40OTEsMC40NDJjLTAuMjAyLDEuNDQzLTAuODU5LDIuNzg0LTEuOTEzLDMuODI4Yy0xLjI3LDEuMjgtMi45NywxLjk4LTQuNzcsMS45OAoJcy0zLjUtMC43LTQuNzctMS45OGMtMS4xNi0xLjE1LTEuODQtMi42Ni0xLjk2LTQuMjdjLTAuMDEtMC4xNy0wLjAyLTAuMzMtMC4wMi0wLjVjMC0wLjE3LDAuMDEtMC4zMywwLjAyLTAuNQoJYzAuMTItMS42MSwwLjgtMy4xMiwxLjk2LTQuMjdjMS42NDgtMS42NjEsNC4wMi0yLjM0NSw2LjM5Ni0xLjc5MWMxLjIzNCwwLjI4OCwyLjMzNCwwLjk1NywzLjIxOCwxLjg2NQoJQzEzLjAzMywzLjUyNCwxMy4yMzQsMy43NTgsMTMuMzk2LDRoLTEuOTJjLTAuMjgsMC0wLjUsMC4yMi0wLjUsMC41YzAsMC4yOCwwLjIyLDAuNSwwLjUsMC41aDIuNTRoMC40NmMwLjIzLDAsMC40Mi0wLjE1LDAuNDgtMC4zNgoJYzAuMDEtMC4wNCwwLjAyLTAuMDksMC4wMi0wLjE0di0zYzAtMC4yOC0wLjIyLTAuNS0wLjUtMC41cy0wLjUsMC4yMi0wLjUsMC41djEuNmMtMC4xNi0wLjItMC4zMy0wLjM5LTAuNTItMC41OAoJYy0xLjUxLTEuNTEtMy41LTIuMjctNS40OC0yLjI3cy0zLjk3LDAuNzYtNS40OCwyLjI3Yy0xLjM5LDEuMzktMi4xNCwzLjE3LTIuMjQsNC45OGMtMC4wNCwwLjMzLTAuMDQsMC42NywwLDEKCWMwLjEsMS44MSwwLjg1LDMuNTksMi4yNCw0Ljk4YzEuNTEsMS41MSwzLjUsMi4yNyw1LjQ4LDIuMjdzMy45Ny0wLjc2LDUuNDgtMi4yN2MxLjI0NC0xLjI0NCwxLjk3Ni0yLjgwMSwyLjE4Ny00LjQxMgoJQzE1LjY4Miw4Ljc2OCwxNS40NTIsOC41LDE1LjE1LDguNUwxNS4xNSw4LjV6Ii8+Cjwvc3ZnPgo="});var SJt=xe((jun,yUo)=>{yUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjQgMjQiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMjAuMjUsMTIuNWMtMC40MTQsMC0wLjc1LDAuMzM2LTAuNzUsMC43NXY3LjI1aC0xNnYtMTZoNy4yNWMwLjQxNCwwLDAuNzUtMC4zMzYsMC43NS0wLjc1QzExLjUsMy4zMzYsMTEuMTY0LDMsMTAuNzUsMwoJCUgzLjVDMi42NzIsMywyLDMuNjcyLDIsNC41djE2QzIsMjEuMzI4LDIuNjcyLDIyLDMuNSwyMmgxNmMwLjgyOCwwLDEuNS0wLjY3MiwxLjUtMS41di03LjI1QzIxLDEyLjgzNiwyMC42NjQsMTIuNSwyMC4yNSwxMi41eiIvPgoJPHBhdGggZD0iTTIxLjU2MSw0LjM3OWwtMS45NC0xLjk0Yy0wLjU4NS0wLjU4NS0xLjUzNS0wLjU4NS0yLjEyLDBsLTEuNDQsMS40NGwtMS4wNiwxLjA2bC01LjQyLDUuNDMKCQljLTAuMDUsMC4wNC0wLjA5LDAuMDgtMC4xMywwLjEzYy0wLjAzLDAuMDUtMC4wNywwLjEtMC4wOSwwLjE2bC0wLjc0LDEuODRsLTEuMjYsMy4xNmMtMC4xMSwwLjI4LTAuMDQsMC42LDAuMTcsMC44MQoJCWMwLjE0LDAuMTQsMC4zMywwLjIyLDAuNTMsMC4yMmMwLjA5LDAsMC4xOS0wLjAyLDAuMjgtMC4wNWwzLjE2LTEuMjZsMS44NC0wLjc0YzAuMDYtMC4wMiwwLjExLTAuMDYsMC4xNi0wLjA5CgkJYzAuMDQ1LTAuMDM2LDAuMDgxLTAuMDc0LDAuMTE3LTAuMTE4YzAuMDA2LTAuMDA3LDAuMDEzLTAuMDExLDAuMDE4LTAuMDE4bDUuNDI0LTUuNDE0bDEuMDYtMS4wNmwxLjQ0LTEuNDQKCQlDMjIuMTQ2LDUuOTE0LDIyLjE0Niw0Ljk2NCwyMS41NjEsNC4zNzl6IE05LjQxMSwxNC41ODlsMC45Mi0yLjMybDEuNCwxLjRMOS40MTEsMTQuNTg5eiBNMTMuMDYxLDEyLjg3OWwtMS45NC0xLjk0bDQuOTQtNC45NAoJCWwxLjk0LDEuOTRMMTMuMDYxLDEyLjg3OXogTTE5LjA2MSw2Ljg3OWwtMS45NC0xLjk0bDEuNDQtMS40NGwxLjk0LDEuOTRMMTkuMDYxLDYuODc5eiIvPgo8L2c+Cjwvc3ZnPgo="});var MJt=xe((Bun,wUo)=>{wUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjQgMjQiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGcgaWQ9IuiBlOezu+eUteivnS3mgqzmta4iPgoJPHBhdGggZD0iTTExLjk5OSwwLjk5OEM3LjYxNCwxLjA0MywzLjc5NCw0LjAwMSwyLjY1Myw4LjIzNmMtMS4wODMsMC43NDEtMS43MDYsMS45ODgtMS42NDksMy4yOTljMCwyLjEwOCwxLjI4MywzLjg0OCwzLjM5LDMuODQ4CgkJYzAuNDU0LDAuMDAyLDAuODIzLTAuMzY0LDAuODI1LTAuODE4YzAtMC4wMDIsMC0wLjAwNCwwLTAuMDA3VjguNjAzYy0wLjAxLTAuMzg2LTAuMjctMC43Mi0wLjY0MS0wLjgyNQoJCWMxLjIxNS0zLjA0OSw0LjE0LTUuMDcyLDcuNDIyLTUuMTMyYzMuMjgyLDAuMDYsNi4yMDcsMi4wODMsNy40MjIsNS4xMzJjLTAuMzg4LDAuMDc5LTAuNjYsMC40MjktMC42NDEsMC44MjV2NS45NTUKCQljLTAuMDAyLDAuNDU0LDAuMzY0LDAuODIzLDAuODE4LDAuODI1YzAuMDAyLDAsMC4wMDQsMCwwLjAwNywwYzAuMTg4LDAuMDE1LDAuMzc3LTAuMDE3LDAuNTUtMC4wOTEKCQljLTAuMjA4LDEuMzIxLTAuNzc5LDIuNTU4LTEuNjQ5LDMuNTc0Yy0wLjMyMiwwLjQ0LTAuNzI2LDAuODE0LTEuMTkxLDEuMWMtMC4xMzgsMC4wNjktMC4yNjIsMC4xNjItMC4zNjYsMC4yNzUKCQljLTAuMDkxLDAtMC4wOTEsMC0wLjA5MSwwLjA5MWgtMS41NTljLTAuMzk5LTEuMDAxLTEuMzk5LTEuNjMxLTIuNDc0LTEuNTU3Yy0xLjI4NS0wLjEwOS0yLjQyMywwLjgyNi0yLjU2NSwyLjEwOAoJCWMwLjExMiwxLjI3OCwxLjIzOSwyLjIyNCwyLjUxNywyLjExMmMwLjAxNi0wLjAwMSwwLjAzMy0wLjAwMywwLjA0OS0wLjAwNWMxLjA2OCwwLjA0NywyLjA1Mi0wLjU3MiwyLjQ3My0xLjU1NWgxLjY0OQoJCWMwLjE5OC0wLjAwNSwwLjM4OS0wLjA2OSwwLjU1LTAuMTg0YzAuMjAzLTAuMDksMC4zODktMC4yMTQsMC41NS0wLjM2N2MwLjUzNi0wLjM3MSwxLjAyOC0wLjgwMSwxLjQ2Ni0xLjI4MwoJCWMxLjEyLTEuMzUsMS43OTMtMy4wMTUsMS45MjQtNC43NjRjMS4wMzctMC43MjksMS42MjYtMS45NCwxLjU1OC0zLjIwNmMwLjA1Ny0xLjMxMS0wLjU2Ni0yLjU1OC0xLjY0OS0zLjI5OQoJCUMyMC4yNDYsNC4wNTQsMTYuNDE0LDEuMDQ4LDExLjk5OSwwLjk5OHoiLz4KPC9nPgo8L3N2Zz4K"});var IJt=xe((zun,CUo)=>{CUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjQgMjQiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMjEuNDMsMTkuNjU5QzIzLjA2OCwxOC40MTYsMjQsMTYuNjI2LDI0LDE0LjdjMC0zLjM4My0yLjkxLTYuMTc1LTYuNjI2LTYuNTA3QzE2LjY2Nyw0LjQ3OCwxMy4wNzksMS43NSw4Ljc1LDEuNzUKCQlDMy45MjUsMS43NSwwLDUuMjI3LDAsOS41YzAsMi4yNDMsMS4wNjgsNC4zMzgsMi45NDQsNS44TDEuOTcsMTcuODU0Yy0wLjE1NCwwLjQwNCwwLjI0MiwwLjc5OSwwLjY0NSwwLjY0NmwzLjg2OS0xLjQ3NQoJCWMwLjA0LTAuMDAzLDAuMDc4LTAuMDA2LDAuMTE4LTAuMDA4YzEuMDM5LDAuMjI5LDIuMDcyLDAuMjk4LDMuMjAyLDAuMTc1YzEuMTA3LDIuMzgsMy43NSw0LjA1OSw2LjgyNiw0LjA1OQoJCWMwLjUwOCwwLDEuMDAzLTAuMDQ1LDEuNDc0LTAuMTM1YzAuMDUyLTAuMDEsMC4wOTctMC4wMDYsMC4xMzQsMC4wMDdsMy4zNDcsMS4yNzhjMC40MDQsMC4xNTQsMC44LTAuMjQyLDAuNjQ1LTAuNjQ2TDIxLjQzLDE5LjY1OQoJCXogTTkuMzQxLDE1LjcyOGMtMC44MzgsMC4wNjItMS42MjEtMC4wMDItMi40MDktMC4xNzVjLTAuMzM0LTAuMDY5LTAuNjc0LTAuMDQ3LTAuOTgyLDAuMDdsLTEuNzgyLDAuNjhsMC4zMDEtMC43OTEKCQljMC4xNy0wLjQ0MywwLjAxNy0wLjk0Ni0wLjM3MS0xLjIyM0MyLjQ0NywxMy4xMDgsMS41LDExLjM2MywxLjUsOS41YzAtMy40NDYsMy4yNTItNi4yNSw3LjI1LTYuMjUKCQljMy40MjcsMCw2LjM3OSwyLjExNyw3LjA4OCw0Ljk0N0MxMi4xNCw4LjU0OSw5LjI1LDExLjMzMSw5LjI1LDE0LjdDOS4yNSwxNS4wNSw5LjI4MSwxNS4zOTMsOS4zNDEsMTUuNzI4eiBNMjAuMjkyLDE4LjYzMgoJCWMtMC40MDIsMC4yNzUtMC41NjIsMC43ODMtMC4zODksMS4yMzRsMC4xMjgsMC4zMzVsLTEuMjU3LTAuNDh2MC4wMDFjLTAuMjk5LTAuMTE0LTAuNjI3LTAuMTQzLTAuOTUxLTAuMDgKCQljLTAuMzc3LDAuMDcyLTAuNzc4LDAuMTA4LTEuMTkyLDAuMTA4Yy0zLjI0MiwwLTUuODgtMi4yNjYtNS44OC01LjA1YzAtMi43NzksMi42MzgtNS4wNCw1Ljg4LTUuMDRjMy4yMzcsMCw1Ljg3LDIuMjYxLDUuODcsNS4wNAoJCUMyMi41LDE2LjIzNSwyMS42OTUsMTcuNjY4LDIwLjI5MiwxOC42MzJ6Ii8+Cgk8Y2lyY2xlIGN4PSI1LjgzMyIgY3k9IjcuMjc4IiByPSIxLjI1Ii8+Cgk8Y2lyY2xlIGN4PSIxMS4xNzkiIGN5PSI3LjI3OCIgcj0iMS4yNSIvPgoJPGNpcmNsZSBjeD0iMTQuMjMyIiBjeT0iMTMuODE5IiByPSIxIi8+Cgk8Y2lyY2xlIGN4PSIxOC40NTciIGN5PSIxMy44MTkiIHI9IjEiLz4KPC9nPgo8L3N2Zz4K"});var LJt=xe((Fun,xUo)=>{xUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjQgMjQiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMTUuODQ5LDguMzkzbC01LjEyNiw1LjEyNmwtMi45NzItMi45NzJjLTAuMjkzLTAuMjkzLTAuNzY4LTAuMjkzLTEuMDYxLDBzLTAuMjkzLDAuNzY4LDAsMS4wNjFsMy4xNDgsMy4xNDgKCQljMC4yNDQsMC4yNDQsMC41NjQsMC4zNjUsMC44ODQsMC4zNjVjMC4zMiwwLDAuNjQtMC4xMjEsMC44ODQtMC4zNjVsNS4zMDMtNS4zMDNjMC4yOTMtMC4yOTMsMC4yOTMtMC43NjgsMC0xLjA2MQoJCVMxNi4xNDIsOC4xLDE1Ljg0OSw4LjM5M3oiLz4KCTxwYXRoIGQ9Ik0yMi43ODcsMTEuMTE2TDIwLjI1LDguNTc5VjVjMC0wLjY4OS0wLjU2MS0xLjI1LTEuMjUtMS4yNWgtMy41OGwtMi41MzctMi41MzdjLTAuNDg3LTAuNDg4LTEuMjgtMC40ODgtMS43NjgsMEw4LjU4LDMuNzUKCQlINUM0LjMxMSwzLjc1LDMuNzUsNC4zMTEsMy43NSw1djMuNTc5bC0yLjUzNywyLjUzN2MtMC40ODcsMC40ODctMC40ODcsMS4yOCwwLDEuNzY4bDIuNTM3LDIuNTM3VjE5YzAsMC42ODksMC41NjEsMS4yNSwxLjI1LDEuMjUKCQloMy41OGwyLjUzNywyLjUzN2MwLjI0NCwwLjI0NCwwLjU2MywwLjM2NSwwLjg4NCwwLjM2NXMwLjY0LTAuMTIxLDAuODg0LTAuMzY1bDIuNTM3LTIuNTM3SDE5YzAuNjg5LDAsMS4yNS0wLjU2MSwxLjI1LTEuMjUKCQl2LTMuNTc5bDIuNTM3LTIuNTM3QzIzLjI3NCwxMi4zOTYsMjMuMjc0LDExLjYwNCwyMi43ODcsMTEuMTE2eiBNMTkuMTE2LDE0LjQzNGMtMC4yMzYsMC4yMzYtMC4zNjYsMC41NS0wLjM2NiwwLjg4NHYzLjQzM2gtMy40MzMKCQljLTAuMzI5LDAtMC42NTEsMC4xMzQtMC44ODQsMC4zNjZMMTIsMjEuNTVsLTIuNDMzLTIuNDM0Yy0wLjIzMi0wLjIzMi0wLjU1NS0wLjM2Ni0wLjg4NC0wLjM2Nkg1LjI1di0zLjQzMwoJCWMwLTAuMzM0LTAuMTMtMC42NDctMC4zNjYtMC44ODRMMi40NTEsMTJsMi40MzMtMi40MzRDNS4xMiw5LjMzLDUuMjUsOS4wMTcsNS4yNSw4LjY4M1Y1LjI1aDMuNDMzCgkJYzAuMzI5LDAsMC42NTEtMC4xMzQsMC44ODQtMC4zNjZMMTIsMi40NWwyLjQzMywyLjQzNGMwLjIzMiwwLjIzMiwwLjU1NSwwLjM2NiwwLjg4NCwwLjM2NmgzLjQzM3YzLjQzMwoJCWMwLDAuMzM0LDAuMTMsMC42NDcsMC4zNjYsMC44ODRMMjEuNTQ5LDEyTDE5LjExNiwxNC40MzR6Ii8+CjwvZz4KPC9zdmc+Cg=="});var _8e=xe((Uun,TUo)=>{TUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNNCwzLjY3OWwzLjUwOSwxLjk3Nkw4LDUuOTMybDAuNTA5LDAuMjg3TDEyLjU2LDguNWwtNC4wNTEsMi4yODFMOCwxMS4wNjh2MGwtMC40OTEsMC4yNzZMNCwxMy4zMjFWMTF2LTFWNlY1VjMuNjc5CgkJIE04LjUsMUM4LjIyNCwxLDgsMS4yMjQsOCwxLjV2My4yODRMNC4xMTgsMi41OThDMy45OTksMi41MzEsMy44NzMsMi41LDMuNzUxLDIuNUMzLjM1OSwyLjUsMywyLjgxNCwzLDMuMjUxVjVIMC41CgkJQzAuMjI0LDUsMCw1LjIyNCwwLDUuNUMwLDUuNzc2LDAuMjI0LDYsMC41LDZIM3Y0SDAuNUMwLjIyNCwxMCwwLDEwLjIyNCwwLDEwLjVDMCwxMC43NzYsMC4yMjQsMTEsMC41LDExSDN2Mi43NDkKCQlDMywxNC4xODYsMy4zNTksMTQuNSwzLjc1MSwxNC41YzAuMTIyLDAsMC4yNDgtMC4wMzEsMC4zNjctMC4wOThMOCwxMi4yMTZWMTUuNUM4LDE1Ljc3Niw4LjIyNCwxNiw4LjUsMTZTOSwxNS43NzYsOSwxNS41di0zLjg0NwoJCUwxMy43MSw5YzAsMCwwLDAsMCwwaDEuNzlDMTUuNzc2LDksMTYsOC43NzYsMTYsOC41QzE2LDguMjI0LDE1Ljc3Niw4LDE1LjUsOGgtMS43OWMwLDAsMCwwLDAsMEw5LDUuMzQ3VjEuNQoJCUM5LDEuMjI0LDguNzc2LDEsOC41LDFMOC41LDF6Ii8+CjwvZz4KPC9zdmc+Cg=="});var n0t=xe((Vun,SUo)=>{SUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNMTMuNTA2LDExLjAwNmMtMC4yNzYsMC0wLjUsMC4yMjQtMC41LDAuNVYxM2gtMS40OTRjLTAuMjc2LDAtMC41LDAuMjI0LTAuNSwwLjVjMCwwLjI3NiwwLjIyNCwwLjUsMC41LDAuNWgxLjQ5NHYxLjQ5NAoJCQljMCwwLjI3NiwwLjIyNCwwLjUsMC41LDAuNXMwLjUtMC4yMjQsMC41LTAuNVYxNEgxNS41YzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjVjMC0wLjI3Ni0wLjIyNC0wLjUtMC41LTAuNWgtMS40OTR2LTEuNDk0CgkJCUMxNC4wMDYsMTEuMjI5LDEzLjc4MiwxMS4wMDYsMTMuNTA2LDExLjAwNkwxMy41MDYsMTEuMDA2eiIvPgoJPC9nPgoJPGc+CgkJPHBhdGggZD0iTTQsMy42NzlsMy41MDksMS45NzZMOCw1LjkzMmwwLjUwOSwwLjI4N0wxMi41Niw4LjVsLTQuMDUxLDIuMjgxTDgsMTEuMDY4djBsLTAuNDkxLDAuMjc2TDQsMTMuMzIxVjExdi0xVjZWNVYzLjY3OQoJCQkgTTguNSwxQzguMjI0LDEsOCwxLjIyNCw4LDEuNXYzLjI4NEw0LjExOCwyLjU5OEMzLjk5OSwyLjUzMSwzLjg3MywyLjUsMy43NTEsMi41QzMuMzU5LDIuNSwzLDIuODE0LDMsMy4yNTFWNUgwLjUKCQkJQzAuMjI0LDUsMCw1LjIyNCwwLDUuNUMwLDUuNzc2LDAuMjI0LDYsMC41LDZIM3Y0SDAuNUMwLjIyNCwxMCwwLDEwLjIyNCwwLDEwLjVDMCwxMC43NzYsMC4yMjQsMTEsMC41LDExSDN2Mi43NDkKCQkJQzMsMTQuMTg2LDMuMzU5LDE0LjUsMy43NTEsMTQuNWMwLjEyMiwwLDAuMjQ4LTAuMDMxLDAuMzY3LTAuMDk4TDgsMTIuMjE2VjE1LjVDOCwxNS43NzYsOC4yMjQsMTYsOC41LDE2UzksMTUuNzc2LDksMTUuNXYtMy44NDcKCQkJTDEzLjcxLDljMCwwLDAsMCwwLDBoMS43OUMxNS43NzYsOSwxNiw4Ljc3NiwxNiw4LjVDMTYsOC4yMjQsMTUuNzc2LDgsMTUuNSw4aC0xLjc5YzAsMCwwLDAsMCwwTDksNS4zNDdWMS41CgkJCUM5LDEuMjI0LDguNzc2LDEsOC41LDFMOC41LDF6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var r3e=xe((Hun,MUo)=>{MUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTEyLjUsOEg5VjQuNUM5LDQuMjI0LDguNzc2LDQsOC41LDRTOCw0LjIyNCw4LDQuNVY4SDQuNUM0LjIyNCw4LDQsOC4yMjQsNCw4LjVDNCw4Ljc3Niw0LjIyNCw5LDQuNSw5SDh2My41CglDOCwxMi43NzYsOC4yMjQsMTMsOC41LDEzUzksMTIuNzc2LDksMTIuNVY5aDMuNUMxMi43NzYsOSwxMyw4Ljc3NiwxMyw4LjVDMTMsOC4yMjQsMTIuNzc2LDgsMTIuNSw4eiIvPgo8L3N2Zz4K"});var n3e=xe((Gun,IUo)=>{IUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTExLjUsOWgtNkM1LjIyNCw5LDUsOC43NzYsNSw4LjV2MEM1LDguMjI0LDUuMjI0LDgsNS41LDhoNkMxMS43NzYsOCwxMiw4LjIyNCwxMiw4LjV2MEMxMiw4Ljc3NiwxMS43NzYsOSwxMS41LDl6Ii8+Cjwvc3ZnPgo="});var j8e=xe((Yun,LUo)=>{LUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1Ljg1NCwxNS4xNDZsLTMuNTY3LTMuNTY3QzEzLjM1MSwxMC4zNTEsMTQsOC43NTMsMTQsN2MwLTMuODY2LTMuMTM0LTctNy03QzMuMTM0LDAsMCwzLjEzNCwwLDdjMCwzLjg2NiwzLjEzNCw3LDcsNwoJYzEuNzUzLDAsMy4zNTEtMC42NDksNC41NzktMS43MTRsMy41NjcsMy41NjdjMC4xOTUsMC4xOTUsMC41MTIsMC4xOTUsMC43MDcsMEMxNi4wNDksMTUuNjU4LDE2LjA0OSwxNS4zNDIsMTUuODU0LDE1LjE0NnogTTcsMTMKCWMtMy4zMDgsMC02LTIuNjkyLTYtNnMyLjY5Mi02LDYtNnM2LDIuNjkyLDYsNlMxMC4zMDgsMTMsNywxM3oiLz4KPC9zdmc+Cg=="});var vJt=xe((Wun,vUo)=>{vUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNMTAuNSwyQzEwLjIyNCwyLDEwLDIuMjI0LDEwLDIuNXYxMmMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41czAuNS0wLjIyNCwwLjUtMC41di0xMkMxMSwyLjIyNCwxMC43NzYsMiwxMC41LDJMMTAuNSwyeiIKCQkJLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik0xMy42ODIsMTAuODE4Yy0wLjEyOCwwLTAuMjU2LDAuMDQ5LTAuMzU0LDAuMTQ2bC0zLjE4MiwzLjE4MmMtMC4xOTUsMC4xOTUtMC4xOTUsMC41MTIsMCwwLjcwNwoJCQlDMTAuMjQ0LDE0Ljk1MSwxMC4zNzIsMTUsMTAuNSwxNXMwLjI1Ni0wLjA0OSwwLjM1NC0wLjE0NmwzLjE4Mi0zLjE4MmMwLjE5NS0wLjE5NSwwLjE5NS0wLjUxMiwwLTAuNzA3CgkJCUMxMy45MzgsMTAuODY3LDEzLjgxLDEwLjgxOCwxMy42ODIsMTAuODE4TDEzLjY4MiwxMC44MTh6Ii8+Cgk8L2c+CjwvZz4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNNi41LDJDNi4yMjQsMiw2LDIuMjI0LDYsMi41djEyQzYsMTQuNzc2LDYuMjI0LDE1LDYuNSwxNVM3LDE0Ljc3Niw3LDE0LjV2LTEyQzcsMi4yMjQsNi43NzYsMiw2LjUsMkw2LjUsMnoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik02LjUsMkM2LjM3MiwyLDYuMjQ0LDIuMDQ5LDYuMTQ2LDIuMTQ2TDIuOTY0LDUuMzI4Yy0wLjE5NSwwLjE5NS0wLjE5NSwwLjUxMiwwLDAuNzA3CgkJCUMzLjA2Miw2LjEzMywzLjE5LDYuMTgyLDMuMzE4LDYuMTgyczAuMjU2LTAuMDQ5LDAuMzU0LTAuMTQ2bDMuMTgyLTMuMTgyYzAuMTk1LTAuMTk1LDAuMTk1LTAuNTEyLDAtMC43MDcKCQkJQzYuNzU2LDIuMDQ5LDYuNjI4LDIsNi41LDJMNi41LDJ6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var DJt=xe((Qun,DUo)=>{DUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNOC41LDJDOC4yMjQsMiw4LDIuMjI0LDgsMi41djEyQzgsMTQuNzc2LDguMjI0LDE1LDguNSwxNVM5LDE0Ljc3Niw5LDE0LjV2LTEyQzksMi4yMjQsOC43NzYsMiw4LjUsMkw4LjUsMnoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik04LjUsMkM4LjM3MiwyLDguMjQ0LDIuMDQ5LDguMTQ2LDIuMTQ2TDQuOTY0LDUuMzI4Yy0wLjE5NSwwLjE5NS0wLjE5NSwwLjUxMiwwLDAuNzA3CgkJCUM1LjA2Miw2LjEzMyw1LjE5LDYuMTgyLDUuMzE4LDYuMTgyczAuMjU2LTAuMDQ5LDAuMzU0LTAuMTQ2bDMuMTgyLTMuMTgyYzAuMTk1LTAuMTk1LDAuMTk1LTAuNTEyLDAtMC43MDcKCQkJQzguNzU2LDIuMDQ5LDguNjI4LDIsOC41LDJMOC41LDJ6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var EJt=xe((Kun,EUo)=>{EUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNNy41LDJDNy4yMjQsMiw3LDIuMjI0LDcsMi41djEyQzcsMTQuNzc2LDcuMjI0LDE1LDcuNSwxNVM4LDE0Ljc3Niw4LDE0LjV2LTEyQzgsMi4yMjQsNy43NzYsMiw3LjUsMkw3LjUsMnoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik0xMC42ODIsMTAuODE4Yy0wLjEyOCwwLTAuMjU2LDAuMDQ5LTAuMzU0LDAuMTQ2bC0zLjE4MiwzLjE4MmMtMC4xOTUsMC4xOTUtMC4xOTUsMC41MTIsMCwwLjcwNwoJCQlDNy4yNDQsMTQuOTUxLDcuMzcyLDE1LDcuNSwxNXMwLjI1Ni0wLjA0OSwwLjM1NC0wLjE0NmwzLjE4Mi0zLjE4MmMwLjE5NS0wLjE5NSwwLjE5NS0wLjUxMiwwLTAuNzA3CgkJCUMxMC45MzgsMTAuODY3LDEwLjgxLDEwLjgxOCwxMC42ODIsMTAuODE4TDEwLjY4MiwxMC44MTh6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var FR=xe((Zun,AUo)=>{AUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMS40MzksNi4zNzVDMS43MjcsNS4xNDEsMi4zOTcsNC4wNCwzLjMwNCwzLjE1N0MzLjUyMywyLjk0MywzLjc1OCwyLjc0Miw0LDIuNThWNC41QzQsNC43OCw0LjIyLDUsNC41LDUKCQlDNC43OCw1LDUsNC43OCw1LDQuNVYxLjk2VjEuNWMwLTAuMjMtMC4xNS0wLjQyLTAuMzUtMC40OEM0LjYsMS4wMSw0LjU1LDEsNC41LDFoLTNDMS4yMiwxLDEsMS4yMiwxLDEuNUMxLDEuNzgsMS4yMiwyLDEuNSwyaDEuNgoJCUMyLjksMi4xNiwyLjcxMSwyLjMyOSwyLjUyMSwyLjUxOUMwLjA4OSw0Ljk1LTAuNDk4LDguNzA2LDEuMTgyLDExLjcwNmMxLjI5NCwyLjMxMSwzLjQ3MSwzLjY1OCw1Ljc0NSwzLjk2CgkJYzAuMzAyLDAuMDQsMC41NzMtMC4xODcsMC41NzMtMC40OTJ2MGMwLTAuMjUzLTAuMTkxLTAuNDU3LTAuNDQyLTAuNDkyYy0xLjQ0My0wLjIwMi0yLjc4NC0wLjg1OS0zLjgyOC0xLjkxMwoJCUMxLjU2OSwxMS4xMjIsMC44ODUsOC43NSwxLjQzOSw2LjM3NXoiLz4KCTxwYXRoIGQ9Ik0xNC41LDE0aC0xLjZjMC4yLTAuMTYsMC4zODktMC4zMjksMC41NzktMC41MTljMi40MzItMi40MzIsMy4wMTktNi4xODgsMS4zMzgtOS4xODljLTEuMjk0LTIuMzEtMy40NzEtMy42NTctNS43NDQtMy45NTkKCQlDOC43NzEsMC4yOTQsOC41LDAuNTIxLDguNSwwLjgyNnYwYzAsMC4yNTMsMC4xOTEsMC40NTcsMC40NDIsMC40OTJjMS40NDMsMC4yMDIsMi43ODQsMC44NTksMy44MjgsMS45MTMKCQljMS42NiwxLjY0OCwyLjM0NSw0LjAxOSwxLjc5MSw2LjM5M2MtMC4yODgsMS4yMzQtMC45NTcsMi4zMzUtMS44NjUsMy4yMmMtMC4yMTksMC4yMTQtMC40NTQsMC40MTYtMC42OTYsMC41NzdWMTEuNQoJCWMwLTAuMjgtMC4yMi0wLjUtMC41LTAuNVMxMSwxMS4yMiwxMSwxMS41djIuNTR2MC40NmMwLDAuMjMsMC4xNSwwLjQyLDAuMzUsMC40OGgwLjAxQzExLjQsMTQuOTksMTEuNDUsMTUsMTEuNSwxNWgzCgkJYzAuMjgsMCwwLjUtMC4yMiwwLjUtMC41QzE1LDE0LjIyLDE0Ljc4LDE0LDE0LjUsMTR6Ii8+CjwvZz4KPC9zdmc+Cg=="});var B8e=xe((Jun,NUo)=>{NUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUsN0g5VjQuNUM5LDIuMDEsNi45OSwwLDQuNSwwUzAsMi4wMSwwLDQuNXYxQzAsNS43OCwwLjIyLDYsMC41LDZTMSw1Ljc4LDEsNS41di0xQzEsMi41NywyLjU3LDEsNC41LDFTOCwyLjU3LDgsNC41VjcKCQlINEMzLjQ1LDcsMyw3LjQ1LDMsOHY3YzAsMC41NSwwLjQ1LDEsMSwxaDExYzAuNTUsMCwxLTAuNDUsMS0xVjhDMTYsNy40NSwxNS41NSw3LDE1LDd6IE0xNSwxNUg0VjhoMTFWMTV6Ii8+Cgk8cGF0aCBkPSJNOCwxMC41YzAsMC4yMywwLjA1LDAuNDQsMC4xNSwwLjYzQzguMzEsMTEuNSw4LjYyLDExLjc4LDksMTEuOTF2MC43NGMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41czAuNS0wLjIyNCwwLjUtMC41di0wLjc0CgkJYzAuNTgtMC4yLDEtMC43NiwxLTEuNDFDMTEsOS42NywxMC4zMyw5LDkuNSw5QzkuMzEsOSw5LjEzLDkuMDQsOC45Niw5LjExQzguNCw5LjMyLDgsOS44Niw4LDEwLjV6Ii8+CjwvZz4KPC9zdmc+Cg=="});var AJt=xe((qun,kUo)=>{kUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8Zz4KCQkJPHBhdGggZD0iTTIuNjg2LDkuNjAyYy0wLjQxLDAuODA4LTAuMDg5LDEuODA0LDAuNzI1LDIuMjIzbDAuODgzLDAuNDVsMC43MjktMC44NjlMMy45MDksMTAuODQKCQkJCWMtMC4yNjktMC4xMzctMC4zODMtMC40NjUtMC4yMzctMC43NGMwLjA0OS0wLjA5MiwwLjExOC0wLjE3LDAuMjEzLTAuMjI1YzAuMTYyLTAuMDkzLDAuMzQ5LTAuMSwwLjUyNy0wLjAxMmwwLjg0NywwLjQzMgoJCQkJYzAuNDg4LDAuMjQ5LDEtMC4yOTEsMC43MjYtMC43NjVMMi40NTYsMy40MThDMi4zMDEsMy4xNSwyLjM3OSwyLjc3NywyLjY1MSwyLjYyOWMwLjI2NS0wLjE0NSwwLjU4OC0wLjA1NSwwLjczOSwwLjIwOAoJCQkJbDIuNTY4LDQuNDQ4YzAuMTQyLDAuMjQ1LDAuNDU2LDAuMzMsMC43MDEsMC4xODhsMC4wNjMtMC4wMzdjMC4yNDYtMC4xNDIsMC4zMy0wLjQ1NiwwLjE4OC0wLjcwMWwtMC41NS0wLjk1MwoJCQkJYy0wLjE1NS0wLjI2OS0wLjA3Ny0wLjY0MSwwLjE5NS0wLjc5YzAuMjY1LTAuMTQ1LDAuNTg4LTAuMDU1LDAuNzM5LDAuMjA4bDAuNTY4LDAuOTg0YzAuMTQyLDAuMjQ2LDAuNDU2LDAuMzMsMC43MDEsMC4xODgKCQkJCWwwLjA2NC0wLjAzN2MwLjI0Ni0wLjE0MiwwLjMzLTAuNDU2LDAuMTg4LTAuNzAxTDguNTQyLDUuMTU5QzguMzg3LDQuODksOC40NjQsNC41MTgsOC43MzcsNC4zNjkKCQkJCWMwLjI2NS0wLjE0NSwwLjU4OC0wLjA1NSwwLjczOSwwLjIwOGwwLjUyMSwwLjkwMmwxLjk0OS0yLjMyM2MtMC4zMjItMC4xMDgtMC42NjgtMC4xMy0xLjAwMy0wLjAyCgkJCQljLTAuMzM0LDAuMTEtMC42LDAuMzEyLTAuNzg2LDAuNTUzYy0wLjUwNC0wLjUyMi0xLjMxNS0wLjY1LTEuOTgyLTAuMjY1QzcuOTE4LDMuNTcyLDcuNzA4LDMuNzgxLDcuNTgsNC4wMjEKCQkJCWMtMC40NzktMC4yNTctMS4wOC0wLjI2NS0xLjU4NSwwLjAyNkM1LjgyMyw0LjE0Niw1LjY4Nyw0LjI2Miw1LjU2OCw0LjQwN0w0LjM3NywyLjM0NUMzLjkyNSwxLjU2MiwyLjkyNiwxLjIyOSwyLjEzLDEuNjYKCQkJCWMtMC44MjIsMC40NDUtMS4xMSwxLjQ3My0wLjY0NSwyLjI3N2wyLjc1NCw0Ljc2OUMzLjkyMiw4LjY4NSwzLjYxMSw4Ljc2MywzLjMzNSw4LjkyM0MzLjA2OCw5LjA3NywyLjgzNiw5LjMxMiwyLjY4Niw5LjYwMnoiLz4KCQkJPHBhdGggZD0iTTEzLjYxOSw1LjgyOGwtMC44MDYsMC45NmMwLjIwMywwLjYwNSwwLjQyOCwxLjIyMiwwLjU5MSwxLjg1MmMwLjExNywwLjQ1NCwwLjIsMC45MTQsMC4yMTgsMS4zODEKCQkJCWMwLjAxMywwLjM1MywwLjA3MiwxLjAxLTAuMjk2LDEuMjIzbC0zLjUyMiwyLjAzNGMtMC4zMjIsMC4xODYtMC43MTcsMC4xOTctMS4wNDksMC4wMjhsLTAuOTg4LTAuNTAzbC0wLjczLDAuODdsMS4yMTIsMC42MTcKCQkJCWMwLjY2NCwwLjMzOCwxLjQ1MywwLjMxOCwyLjA5OS0wLjA1NWwzLjUyOS0yLjAzN2MwLjM0My0wLjE5OCwwLjU5NC0wLjUzMywwLjczMy0wLjkzMWMwLjA4My0wLjI1MSwwLjEzNS0wLjUzNSwwLjEyNy0wLjgzNgoJCQkJYy0wLjAyNy0wLjk4Mi0wLjI0NC0xLjk0Ny0wLjUzMy0yLjg4MkMxNC4wMjUsNi45NzQsMTMuODE4LDYuNDAyLDEzLjYxOSw1LjgyOHoiLz4KCQk8L2c+CgkJPGc+CgkJCTxwYXRoIGQ9Ik0xNC4yMzUsMy45MjhsLTkuMzIsMTEuMTA4Yy0wLjI2NiwwLjMxNy0wLjczOSwwLjM1OS0xLjA1NywwLjA5MmwwLDBjLTAuMzE3LTAuMjY2LTAuMzU5LTAuNzM5LTAuMDkyLTEuMDU3bDkuMzItMTEuMTA4CgkJCQljMC4yNjYtMC4zMTcsMC43MzktMC4zNTksMS4wNTctMC4wOTJsMCwwQzE0LjQ2LDMuMTM4LDE0LjUwMSwzLjYxMSwxNC4yMzUsMy45Mjh6Ii8+CgkJPC9nPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg=="});var NJt=xe((Xun,PUo)=>{PUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8cGF0aCBkPSJNMTAuOTQzLDMuMTM2Yy0wLjMzNCwwLjExLTAuNiwwLjMxMi0wLjc4NiwwLjU1M2MtMC41MDQtMC41MjItMS4zMTUtMC42NS0xLjk4Mi0wLjI2NUM3LjkxOCwzLjU3Miw3LjcwOCwzLjc4MSw3LjU4LDQuMDIxCgkJYy0wLjQ3OS0wLjI1Ny0xLjA4LTAuMjY1LTEuNTg1LDAuMDI2QzUuODIzLDQuMTQ2LDUuNjg3LDQuMjYyLDUuNTY4LDQuNDA4TDQuMzc3LDIuMzQ1QzMuOTI1LDEuNTYyLDIuOTI2LDEuMjI5LDIuMTMsMS42NgoJCWMtMC44MjIsMC40NDUtMS4xMSwxLjQ3My0wLjY0NSwyLjI3N2wyLjc1Myw0Ljc2OWMtMC4zMTctMC4wMi0wLjYyNywwLjA1Ny0wLjkwNCwwLjIxN2MtMC4yNjcsMC4xNTQtMC40OTksMC4zOS0wLjY0OSwwLjY4CgkJYy0wLjQxLDAuODA4LTAuMDg5LDEuODA0LDAuNzI1LDIuMjIzbDQuODM4LDIuNDY1YzAuNjY0LDAuMzM4LDEuNDU0LDAuMzE3LDIuMDk5LTAuMDU1bDMuNTI5LTIuMDM3CgkJYzAuMzQzLTAuMTk4LDAuNTk0LTAuNTMzLDAuNzMzLTAuOTMxYzAuMDgzLTAuMjUxLDAuMTM1LTAuNTM1LDAuMTI3LTAuODM2Yy0wLjAyNy0wLjk4Mi0wLjI0NC0xLjk0Ny0wLjUzMy0yLjg4MgoJCWMtMC4yODUtMC45MjMtMC41OTQtMS44NTctMC45MzYtMi43NkMxMy4wODIsNC4zLDEyLjg1NCwzLjY3LDEyLjM5OSwzLjM2OEMxMS45NjksMy4wODQsMTEuNDQyLDIuOTcxLDEwLjk0MywzLjEzNnogTTEzLjQwNCw4LjY0MQoJCWMwLjExNywwLjQ1NCwwLjIsMC45MTQsMC4yMTgsMS4zODFjMC4wMTMsMC4zNTMsMC4wNzIsMS4wMS0wLjI5NiwxLjIyM2MwLDAtMy41MjIsMi4wMzQtMy41MjIsMi4wMzQKCQljLTAuMzIyLDAuMTg2LTAuNzE3LDAuMTk3LTEuMDQ5LDAuMDI4TDMuOTA4LDEwLjg0Yy0wLjI2OS0wLjEzNy0wLjM4My0wLjQ2NS0wLjIzNy0wLjc0YzAuMDQ5LTAuMDkyLDAuMTE4LTAuMTcsMC4yMTMtMC4yMjUKCQljMC4xNjItMC4wOTMsMC4zNDktMC4xLDAuNTI3LTAuMDEybDAuODQ3LDAuNDMxYzAuNDg4LDAuMjQ5LDEtMC4yOTEsMC43MjYtMC43NjVMMi40NTYsMy40MThDMi4zMDEsMy4xNSwyLjM3OSwyLjc3NywyLjY1MSwyLjYyOQoJCWMwLjI2NS0wLjE0NSwwLjU4OC0wLjA1NSwwLjczOSwwLjIwOGwyLjU2OCw0LjQ0OGMwLjE0MiwwLjI0NiwwLjQ1NiwwLjMzLDAuNzAxLDAuMTg4bDAuMDY0LTAuMDM3CgkJYzAuMjQ2LTAuMTQyLDAuMzMtMC40NTYsMC4xODgtMC43MDFsLTAuNTUtMC45NTNjLTAuMTU1LTAuMjY5LTAuMDc3LTAuNjQxLDAuMTk1LTAuNzljMC4yNjUtMC4xNDUsMC41ODgtMC4wNTUsMC43MzksMC4yMDgKCQlsMC41NjgsMC45ODRjMC4xNDIsMC4yNDYsMC40NTYsMC4zMywwLjcwMSwwLjE4OGwwLjA2NC0wLjAzN2MwLjI0Ni0wLjE0MiwwLjMzLTAuNDU2LDAuMTg4LTAuNzAxTDguNTQyLDUuMTU5CgkJQzguMzg3LDQuODksOC40NjQsNC41MTgsOC43MzcsNC4zNjljMC4yNjUtMC4xNDUsMC41ODgtMC4wNTUsMC43MzksMC4yMDhsMC41NjgsMC45ODRjMC4xNDIsMC4yNDYsMC40NTYsMC4zMywwLjcwMSwwLjE4OAoJCWwwLjA2NC0wLjAzN2MwLjI0Ni0wLjE0MiwwLjMzLTAuNDU2LDAuMTg4LTAuNzAxYy0wLjE1Ny0wLjI3My0wLjA4MS0wLjYzOSwwLjE5NS0wLjc5YzAuMzI5LTAuMTgsMC42MzUsMC4wMDQsMC43ODMsMC4zMTIKCQljMC4zMjUsMC42NzQsMC41NTIsMS4zODksMC43ODYsMi4wOThDMTIuOTc2LDcuMjg2LDEzLjIyOCw3Ljk1NiwxMy40MDQsOC42NDF6Ii8+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIj4KPC9nPgo8L3N2Zz4K"});var s3=xe(($un,OUo)=>{OUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgoJPHBhdGggZD0iTTE1LjQ0LDYuOTRDMTMuODIsNC41NiwxMS4wOSwzLDgsM1MyLjE4LDQuNTYsMC41Niw2Ljk0QzAuNDM4LDcuMTIxLDAuMzIxLDcuMzA0LDAuMjEyLDcuNDkyCgkJYy0wLjE4MywwLjMxNC0wLjE4MywwLjcwMywwLDEuMDE2QzAuMzIxLDguNjk2LDAuNDM4LDguODc5LDAuNTYsOS4wNkMyLjE4LDExLjQ0LDQuOTEsMTMsOCwxM3M1LjgyLTEuNTYsNy40NC0zLjk0CgkJYzAuMTIyLTAuMTgxLDAuMjM5LTAuMzY0LDAuMzQ4LTAuNTUyYzAuMTgzLTAuMzE0LDAuMTgzLTAuNzAzLDAtMS4wMTZDMTUuNjc5LDcuMzA0LDE1LjU2Miw3LjEyMSwxNS40NCw2Ljk0eiBNMTEsOAoJCWMwLDEuNjUtMS4zNSwzLTMsM1M1LDkuNjUsNSw4YzAtMS42NSwxLjM1LTMsMy0zUzExLDYuMzUsMTEsOHogTTEuMDgsOEMyLjQsNS43Miw0LjgxLDQuMTUsNy41OSw0LjAyQzUuNTcsNC4yMyw0LDUuOTMsNCw4CgkJczEuNTcsMy43NywzLjU5LDMuOThDNC44MSwxMS44NSwyLjQsMTAuMjgsMS4wOCw4eiBNOC40MSwxMS45OEMxMC40MywxMS43NywxMiwxMC4wNywxMiw4cy0xLjU3LTMuNzctMy41OS0zLjk4CgkJYzIuNzgsMC4xMyw1LjE5LDEuNyw2LjUxLDMuOThDMTMuNiwxMC4yOCwxMS4xOSwxMS44NSw4LjQxLDExLjk4eiIvPgo8L2c+Cjwvc3ZnPgo="});var a0t=xe((e0n,RUo)=>{RUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMy4wOTUsNS45NjlDMy43NTMsNi4wNzEsNC4zODgsNS45MTgsNC44OCw1LjU5TDUuMjksNmwwLjcwNywwLjcwN0M2LjE4NSw2Ljg5NSw2LjQzOSw3LDYuNzA0LDdINy43MWgxLjU4aDEuMDA2CgkJYzAuMjY1LDAsMC41Mi0wLjEwNSwwLjcwNy0wLjI5M0wxMS43MSw2bDAuNDEtMC40MWMwLjQ5MiwwLjMyOCwxLjEyNywwLjQ4MSwxLjc4NSwwLjM3OWMxLjE0OS0wLjE3OSwyLjAzNy0xLjE4NCwyLjA5My0yLjM0NQoJCWMwLjA3MS0xLjQ3Ny0xLjE0My0yLjY5MS0yLjYyLTIuNjJjLTEuMTYyLDAuMDU2LTIuMTY3LDAuOTQzLTIuMzQ2LDIuMDkyYy0wLjEwMiwwLjY1OCwwLjA1MSwxLjI5MywwLjM3OCwxLjc4NUwxMC4yOSw2SDYuNzEKCQlMNS41OSw0Ljg4YzAuMzI4LTAuNDkyLDAuNDgxLTEuMTI3LDAuMzc4LTEuNzg1QzUuNzksMS45NDYsNC43ODQsMS4wNTgsMy42MjMsMS4wMDNjLTEuNDc3LTAuMDcxLTIuNjkxLDEuMTQzLTIuNjIsMi42MgoJCUMxLjA1OSw0Ljc4NSwxLjk0Niw1Ljc5LDMuMDk1LDUuOTY5eiBNMTIsMy41QzEyLDIuNjcsMTIuNjcsMiwxMy41LDJDMTQuMzMsMiwxNSwyLjY3LDE1LDMuNUMxNSw0LjMzLDE0LjMzLDUsMTMuNSw1CgkJYy0wLjIzLDAtMC40NS0wLjA1LTAuNjQtMC4xNWMtMC4zMS0wLjE0LTAuNTctMC40LTAuNzEtMC43MUMxMi4wNSwzLjk1LDEyLDMuNzMsMTIsMy41eiBNMy41LDJDNC4zMywyLDUsMi42Nyw1LDMuNQoJCWMwLDAuMjMtMC4wNSwwLjQ1LTAuMTUsMC42NGMtMC4xNCwwLjMxLTAuNCwwLjU3LTAuNzEsMC43MUMzLjk1LDQuOTUsMy43Myw1LDMuNSw1QzIuNjcsNSwyLDQuMzMsMiwzLjVDMiwyLjY3LDIuNjcsMiwzLjUsMnoiLz4KCTxwYXRoIGQ9Ik0xMy45MDQsMTEuMDMxYy0wLjY1OC0wLjEwMi0xLjI5MiwwLjA1MS0xLjc4NCwwLjM3OWwwLDBsLTEuMTE3LTEuMTE3QzEwLjgxNSwxMC4xMDUsMTAuNTYxLDEwLDEwLjI5NiwxMEg5LjI5SDcuNzFINi43MDQKCQljLTAuMjY1LDAtMC41MiwwLjEwNS0wLjcwNywwLjI5M0w0Ljg4LDExLjQxbDAsMGMtMC40OTItMC4zMjgtMS4xMjYtMC40ODEtMS43ODQtMC4zNzljLTEuMTQ5LDAuMTc4LTIuMDM3LDEuMTgzLTIuMDkzLDIuMzQ0CgkJYy0wLjA3MiwxLjQ3NywxLjE0MiwyLjY5MiwyLjYxOSwyLjYyMWMxLjE2Mi0wLjA1NSwyLjE2OC0wLjk0MywyLjM0Ni0yLjA5MmMwLjEwMi0wLjY1OC0wLjA1MS0xLjI5My0wLjM3OC0xLjc4NUw2LjcxLDExaDMuNTgKCQlsMS4xMiwxLjEyYy0wLjMyOCwwLjQ5Mi0wLjQ4MSwxLjEyNy0wLjM3OCwxLjc4NWMwLjE3OSwxLjE0OSwxLjE4NCwyLjAzNywyLjM0NiwyLjA5MmMxLjQ3NywwLjA3MSwyLjY5MS0xLjE0NCwyLjYxOS0yLjYyMQoJCUMxNS45NDEsMTIuMjE0LDE1LjA1MywxMS4yMSwxMy45MDQsMTEuMDMxeiBNNSwxMy41QzUsMTQuMzMsNC4zMywxNSwzLjUsMTVTMiwxNC4zMywyLDEzLjVDMiwxMi42NywyLjY3LDEyLDMuNSwxMgoJCWMwLjIzLDAsMC40NSwwLjA1LDAuNjQsMC4xNWMwLjMxLDAuMTQsMC41NywwLjQsMC43MSwwLjcxQzQuOTUsMTMuMDUsNSwxMy4yNyw1LDEzLjV6IE0xMy41LDE1Yy0wLjgzLDAtMS41LTAuNjctMS41LTEuNQoJCWMwLTAuMjMsMC4wNS0wLjQ1LDAuMTUtMC42NGMwLjE0LTAuMzEsMC40LTAuNTcsMC43MS0wLjcxYzAuMTktMC4xLDAuNDEtMC4xNSwwLjY0LTAuMTVjMC44MywwLDEuNSwwLjY3LDEuNSwxLjUKCQlDMTUsMTQuMzMsMTQuMzMsMTUsMTMuNSwxNXoiLz4KPC9nPgo8L3N2Zz4K"});var s0t=xe((t0n,_Uo)=>{_Uo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LjUsOGgtMUMxMy4xMTksOCwxMiw5LjExOSwxMiwxMC41djJjMCwwLjgyOC0wLjY3MiwxLjUtMS41LDEuNWgwQzkuNjcyLDE0LDksMTMuMzI4LDksMTIuNXYtOEM5LDMuMTE5LDcuODgxLDIsNi41LDJoMAoJQzUuMTE5LDIsNCwzLjExOSw0LDQuNXYyQzQsNy4zMjgsMy4zMjgsOCwyLjUsOGgtMUMxLjIyNCw4LDEsOC4yMjQsMSw4LjV2MEMxLDguNzc2LDEuMjI0LDksMS41LDloMUMzLjg4MSw5LDUsNy44ODEsNSw2LjV2LTIKCUM1LDMuNjcyLDUuNjcyLDMsNi41LDNoMEM3LjMyOCwzLDgsMy42NzIsOCw0LjV2OGMwLDEuMzgxLDEuMTE5LDIuNSwyLjUsMi41aDBjMS4zODEsMCwyLjUtMS4xMTksMi41LTIuNXYtMgoJQzEzLDkuNjcyLDEzLjY3Miw5LDE0LjUsOWgxQzE1Ljc3Niw5LDE2LDguNzc2LDE2LDguNXYwQzE2LDguMjI0LDE1Ljc3Niw4LDE1LjUsOHoiLz4KPC9zdmc+Cg=="});var l0t=xe((i0n,jUo)=>{jUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTE0LjY1LDExLjg1bC0xLjUtMS41QzEzLjA1LDEwLjI2LDEzLDEwLjEzLDEzLDEwVjYuMjFMMTEuNzksNWgtMS41OEw5LDYuMjFWMTBjMCwwLjEzLTAuMDUsMC4yNi0wLjE1LDAuMzVsLTEuNSwxLjUKCUM3LjI2LDExLjk1LDcuMTMsMTIsNywxMkg1Yy0wLjEzLDAtMC4yNi0wLjA1LTAuMzUtMC4xNWwtMS41LTEuNUMzLjA1LDEwLjI2LDMsMTAuMTMsMywxMFY2LjIxTDEuNzksNUgwdjFoMS4zOEwyLDYuNjJWMTAKCWMwLDAuNCwwLjE2LDAuNzgsMC40NCwxLjA2bDEuNSwxLjVDNC4yMiwxMi44NCw0LjYsMTMsNSwxM2gyYzAuNCwwLDAuNzgtMC4xNiwxLjA2LTAuNDRsMS41LTEuNUM5Ljg0LDEwLjc4LDEwLDEwLjQsMTAsMTBWNi42MgoJTDEwLjYyLDZoMC43NkwxMiw2LjYyVjEwYzAsMC40LDAuMTYsMC43OCwwLjQ0LDEuMDZsMS41LDEuNUMxNC4yMiwxMi44NCwxNC42LDEzLDE1LDEzaDF2LTFoLTFDMTQuODcsMTIsMTQuNzQsMTEuOTUsMTQuNjUsMTEuODV6CgkgTTE1LjYyLDEwTDE1LDkuMzhWNmMwLTAuNC0wLjE2LTAuNzgtMC40NC0xLjA2bC0xLjUtMS41QzEyLjc4LDMuMTYsMTIuNCwzLDEyLDNoLTJDOS42LDMsOS4yMiwzLjE2LDguOTQsMy40NGwtMS41LDEuNQoJQzcuMTYsNS4yMiw3LDUuNiw3LDZ2My4zOEw2LjM4LDEwSDUuNjJMNSw5LjM4VjZjMC0wLjQtMC4xNi0wLjc4LTAuNDQtMS4wNmwtMS41LTEuNUMyLjc4LDMuMTYsMi40LDMsMiwzSDB2MWgyCgljMC4xMywwLDAuMjYsMC4wNSwwLjM1LDAuMTVsMS41LDEuNUMzLjk1LDUuNzQsNCw1Ljg3LDQsNnYzLjc5TDUuMjEsMTFoMS41OEw4LDkuNzlWNmMwLTAuMTMsMC4wNS0wLjI2LDAuMTUtMC4zNWwxLjUtMS41CglDOS43NCw0LjA1LDkuODcsNCwxMCw0aDJjMC4xMywwLDAuMjYsMC4wNSwwLjM1LDAuMTVsMS41LDEuNUMxMy45NSw1Ljc0LDE0LDUuODcsMTQsNnYzLjc5TDE1LjIxLDExSDE2di0xSDE1LjYyeiIvPgo8L3N2Zz4K"});var z8e=xe((o0n,BUo)=>{BUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTQsN2gtMVY0LjVDMTMsMi4wMSwxMC45OSwwLDguNSwwUzQsMi4wMSw0LDQuNVY3SDNDMi40NSw3LDIsNy40NSwyLDh2N2MwLDAuNTUsMC40NSwxLDEsMWgxMWMwLjU1LDAsMS0wLjQ1LDEtMVY4CgkJQzE1LDcuNDUsMTQuNTUsNywxNCw3eiBNNSw0LjVDNSwyLjU3LDYuNTcsMSw4LjUsMVMxMiwyLjU3LDEyLDQuNVY3SDVWNC41eiBNMTQsMTVIM1Y4aDFoMWg3aDFoMVYxNXoiLz4KCTxwYXRoIGQ9Ik04LjUsOUM3LjY3Miw5LDcsOS42NzIsNywxMC41YzAsMC42NTIsMC40MTksMS4yMDIsMSwxLjQwOHYwLjc0MmMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41UzksMTIuOTI2LDksMTIuNjV2LTAuNzQyCgkJYzAuNTgxLTAuMjA3LDEtMC43NTYsMS0xLjQwOEMxMCw5LjY3Miw5LjMyOCw5LDguNSw5eiIvPgo8L2c+Cjwvc3ZnPgo="});var c0t=xe((r0n,zUo)=>{zUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1Ljk3MSw2LjE2NkMxNS44OSw1LjkxOSwxNS42Niw1Ljc1MywxNS40LDUuNzUzaC01LjIxOEw4LjU3LDAuODI1QzguNDkxLDAuNTc5LDguMjYyLDAuNDEyLDgsMC40MTIKCWMtMC4yNTksMC0wLjQ5LDAuMTY2LTAuNTY5LDAuNDExbC0xLjYxNCw0LjkzSDAuNmMtMC4yNiwwLTAuNDksMC4xNjYtMC41NywwLjQxM2MtMC4wODEsMC4yNDUsMC4wMDgsMC41MTUsMC4yMTgsMC42NjZsNC4yMjIsMy4wNDUKCWwtMS42MTIsNC45MzFjLTAuMDgyLDAuMjQ1LDAuMDA3LDAuNTE0LDAuMjE4LDAuNjY2YzAuMjA4LDAuMTUxLDAuNDk1LDAuMTUxLDAuNzA0LDBMOCwxMi40MjdsNC4yMjIsMy4wNDcKCWMwLjEwNCwwLjA3NSwwLjIyNywwLjExNCwwLjM1MiwwLjExNGMwLjEyMywwLDAuMjQ4LTAuMDM5LDAuMzUyLTAuMTE0YzAuMjEtMC4xNTIsMC4yOTktMC40MiwwLjIxNy0wLjY2NmwtMS42MS00LjkzMWw0LjIxOS0zLjA0NQoJQzE1Ljk2Miw2LjY4MiwxNi4wNSw2LjQxMSwxNS45NzEsNi4xNjZ6Ii8+Cjwvc3ZnPgo="});var d0t=xe((n0n,FUo)=>{FUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTgsMi41NDdsMS4yMzIsMy43NjRMOS40NTcsN2gwLjcyNWgzLjk3MWwtMy4yMDUsMi4zMTNMMTAuMzU2LDkuNzRsMC4yMjcsMC42OTRsMS4yMjYsMy43NTVsLTMuMjIzLTIuMzI2TDgsMTEuNDQxCglsLTAuNTg1LDAuNDIybC0zLjIyMywyLjMyNmwxLjIyNy0zLjc1NUw1LjY0Niw5Ljc0TDUuMDU0LDkuMzEzTDEuODQ3LDdoMy45N2gwLjcyNWwwLjIyNi0wLjY4OUw4LDIuNTQ3IE04LDAuNjU5CgljLTAuMjU5LDAtMC40OSwwLjE2Ni0wLjU2OSwwLjQxMUw1LjgxNyw2SDAuNkMwLjM0LDYsMC4xMSw2LjE2NiwwLjAzLDYuNDEzYy0wLjA4MSwwLjI0NSwwLjAwOCwwLjUxNSwwLjIxOCwwLjY2Nmw0LjIyMiwzLjA0NQoJbC0xLjYxMiw0LjkzMUMyLjc3NSwxNS4zLDIuODY0LDE1LjU2OCwzLjA3NSwxNS43MmMwLjEwNCwwLjA3NiwwLjIyOCwwLjExNCwwLjM1MiwwLjExNHMwLjI0OC0wLjAzOCwwLjM1Mi0wLjExNEw4LDEyLjY3NAoJbDQuMjIyLDMuMDQ2YzAuMTA0LDAuMDc1LDAuMjI3LDAuMTE0LDAuMzUyLDAuMTE0YzAuMTIzLDAsMC4yNDgtMC4wMzksMC4zNTItMC4xMTRjMC4yMS0wLjE1MiwwLjI5OS0wLjQyLDAuMjE3LTAuNjY2bC0xLjYxLTQuOTMxCglsNC4yMTktMy4wNDVjMC4yMS0wLjE1MSwwLjI5OC0wLjQyMSwwLjIxOC0wLjY2NkMxNS44OSw2LjE2NiwxNS42Niw2LDE1LjQsNmgtNS4yMThMOC41NywxLjA3MkM4LjQ5MSwwLjgyNSw4LjI2MiwwLjY1OSw4LDAuNjU5CglMOCwwLjY1OXoiLz4KPC9zdmc+Cg=="});var ZF=xe((a0n,UUo)=>{UUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8cGF0aCBvcGFjaXR5PSIwLjc2IiBkPSJNMS41OTIsOS42MDhDMC43MTQsOS42MDgsMCw4Ljg5NCwwLDguMDE2YzAtMC44NzgsMC43MTQtMS41OTIsMS41OTItMS41OTIKCQljMC44NzgsMCwxLjU5MiwwLjcxNCwxLjU5MiwxLjU5MkMzLjE4NCw4Ljg5NCwyLjQ3LDkuNjA4LDEuNTkyLDkuNjA4eiIvPgoJPHBhdGggb3BhY2l0eT0iMC4yOCIgZD0iTTE0LjQwOCw2LjQzMUMxNS4yODYsNi40MzEsMTYsNy4xNDUsMTYsOC4wMjNjMCwwLjg3OC0wLjcxNCwxLjU5Mi0xLjU5MiwxLjU5MgoJCWMtMC44NzgsMC0xLjU5Mi0wLjcxNC0xLjU5Mi0xLjU5MkMxMi44MTYsNy4xNDUsMTMuNTMsNi40MzEsMTQuNDA4LDYuNDMxeiIvPgoJPHBhdGggb3BhY2l0eT0iMC4xNSIgZD0iTTExLjQyMSwyLjM2YzAuNjIxLTAuNjIxLDEuNjMxLTAuNjIxLDIuMjUyLDBjMC42MjEsMC42MjEsMC42MjEsMS42MzEsMCwyLjI1MgoJCWMtMC42MjEsMC42MjEtMS42MzEsMC42MjEtMi4yNTEsMEMxMC44LDMuOTksMTAuOCwyLjk4LDExLjQyMSwyLjM2eiIvPgoJPHBhdGggb3BhY2l0eT0iMC42NCIgZD0iTTQuNjA2LDEzLjY2OGMtMC42MjEsMC42MjEtMS42MzEsMC42MjEtMi4yNTIsMGMtMC42MjEtMC42MjEtMC42MjEtMS42MzEsMC0yLjI1MgoJCWMwLjYyMS0wLjYyMSwxLjYzMS0wLjYyMSwyLjI1MSwwQzUuMjI3LDEyLjAzNyw1LjIyNywxMy4wNDcsNC42MDYsMTMuNjY4eiIvPgoJPHBhdGggb3BhY2l0eT0iMC41MiIgZD0iTTkuNjA4LDE0LjQwOEM5LjYwOCwxNS4yODYsOC44OTQsMTYsOC4wMTYsMTZjLTAuODc4LDAtMS41OTItMC43MTQtMS41OTItMS41OTIKCQljMC0wLjg3OCwwLjcxNC0xLjU5MiwxLjU5Mi0xLjU5MkM4Ljg5NCwxMi44MTYsOS42MDgsMTMuNTMsOS42MDgsMTQuNDA4eiIvPgoJPHBhdGggZD0iTTYuNDMxLDEuNTkyQzYuNDMxLDAuNzE0LDcuMTQ1LDAsOC4wMjMsMGMwLjg3OCwwLDEuNTkyLDAuNzE0LDEuNTkyLDEuNTkyYzAsMC44NzgtMC43MTQsMS41OTItMS41OTIsMS41OTIKCQlDNy4xNDUsMy4xODQsNi40MzEsMi40Nyw2LjQzMSwxLjU5MnoiLz4KCTxwYXRoIG9wYWNpdHk9IjAuNCIgZD0iTTEzLjY2OCwxMS4zOTRjMC42MjEsMC42MjEsMC42MjEsMS42MzEsMCwyLjI1MmMtMC42MjEsMC42MjEtMS42MzEsMC42MjEtMi4yNTIsMAoJCWMtMC42MjEtMC42MjEtMC42MjEtMS42MzEsMC0yLjI1MUMxMi4wMzcsMTAuNzczLDEzLjA0NywxMC43NzMsMTMuNjY4LDExLjM5NHoiLz4KCTxwYXRoIG9wYWNpdHk9IjAuODgiIGQ9Ik0yLjM2LDQuNTc5Yy0wLjYyMS0wLjYyMS0wLjYyMS0xLjYzMSwwLTIuMjUyYzAuNjIxLTAuNjIxLDEuNjMxLTAuNjIxLDIuMjUyLDAKCQljMC42MjEsMC42MjEsMC42MjEsMS42MzEsMCwyLjI1MUMzLjk5LDUuMiwyLjk4LDUuMiwyLjM2LDQuNTc5eiIvPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg=="});var F8e=xe((s0n,VUo)=>{VUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNNiwxMmg0YzAuNTUyLDAsMS0wLjQ0OCwxLTFWNWMwLTAuNTUyLTAuNDQ4LTEtMS0xSDZDNS40NDgsNCw1LDQuNDQ4LDUsNXY2QzUsMTEuNTUyLDUuNDQ4LDEyLDYsMTJ6IE02LDVoNHY2SDZWNXoiLz4KCTxwYXRoIGQ9Ik0xNS41LDdDMTUuNzc2LDcsMTYsNi43NzYsMTYsNi41QzE2LDYuMjI0LDE1Ljc3Niw2LDE1LjUsNkgxM1Y0aDIuNUMxNS43NzYsNCwxNiwzLjc3NiwxNiwzLjVDMTYsMy4yMjQsMTUuNzc2LDMsMTUuNSwzCgkJSDEzVjJjMC0wLjU1Mi0wLjQ0OC0xLTEtMUg0QzMuNDQ4LDEsMywxLjQ0OCwzLDJ2MUgwLjVDMC4yMjQsMywwLDMuMjI0LDAsMy41QzAsMy43NzYsMC4yMjQsNCwwLjUsNEgzdjJIMC41CgkJQzAuMjI0LDYsMCw2LjIyNCwwLDYuNUMwLDYuNzc2LDAuMjI0LDcsMC41LDdIM3YySDAuNUMwLjIyNCw5LDAsOS4yMjQsMCw5LjVDMCw5Ljc3NiwwLjIyNCwxMCwwLjUsMTBIM3YySDAuNQoJCUMwLjIyNCwxMiwwLDEyLjIyNCwwLDEyLjVDMCwxMi43NzYsMC4yMjQsMTMsMC41LDEzSDN2MWMwLDAuNTUyLDAuNDQ4LDEsMSwxaDhjMC41NTIsMCwxLTAuNDQ4LDEtMXYtMWgyLjUKCQljMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNWMwLTAuMjc2LTAuMjI0LTAuNS0wLjUtMC41SDEzdi0yaDIuNWMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41QzE2LDkuMjI0LDE1Ljc3Niw5LDE1LjUsOUgxM1Y3SDE1LjV6CgkJIE0xMiwxNEg0VjJoOFYxNHoiLz4KPC9nPgo8L3N2Zz4K"});var U8e=xe((l0n,HUo)=>{HUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNNC41LDJoN0MxMS43NzYsMiwxMiwxLjc3NiwxMiwxLjVDMTIsMS4yMjQsMTEuNzc2LDEsMTEuNSwxaC03QzQuMjI0LDEsNCwxLjIyNCw0LDEuNUM0LDEuNzc2LDQuMjI0LDIsNC41LDJ6Ii8+Cgk8cGF0aCBkPSJNMTEuNSwxNGgtN0M0LjIyNCwxNCw0LDE0LjIyNCw0LDE0LjVDNCwxNC43NzYsNC4yMjQsMTUsNC41LDE1aDdjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNUMxMiwxNC4yMjQsMTEuNzc2LDE0LDExLjUsMTR6CgkJIi8+Cgk8cGF0aCBkPSJNMSw1aDNjMC41NTIsMCwxLTAuNDQ4LDEtMWMwLTAuNTUyLTAuNDQ4LTEtMS0xSDFDMC40NDgsMywwLDMuNDQ4LDAsNEMwLDQuNTUyLDAuNDQ4LDUsMSw1eiIvPgoJPHBhdGggZD0iTTEsOWgzYzAuNTUyLDAsMS0wLjQ0OCwxLTFjMC0wLjU1Mi0wLjQ0OC0xLTEtMUgxQzAuNDQ4LDcsMCw3LjQ0OCwwLDhDMCw4LjU1MiwwLjQ0OCw5LDEsOXoiLz4KCTxwYXRoIGQ9Ik01LDEyYzAtMC41NTItMC40NDgtMS0xLTFIMWMtMC41NTIsMC0xLDAuNDQ4LTEsMWMwLDAuNTUyLDAuNDQ4LDEsMSwxaDNDNC41NTIsMTMsNSwxMi41NTIsNSwxMnoiLz4KCTxwYXRoIGQ9Ik0xMSw0YzAsMC41NTIsMC40NDgsMSwxLDFoM2MwLjU1MiwwLDEtMC40NDgsMS0xYzAtMC41NTItMC40NDgtMS0xLTFoLTNDMTEuNDQ4LDMsMTEsMy40NDgsMTEsNHoiLz4KCTxwYXRoIGQ9Ik0xNSw3aC0zYy0wLjU1MiwwLTEsMC40NDgtMSwxYzAsMC41NTIsMC40NDgsMSwxLDFoM2MwLjU1MiwwLDEtMC40NDgsMS0xQzE2LDcuNDQ4LDE1LjU1Miw3LDE1LDd6Ii8+Cgk8cGF0aCBkPSJNMTUsMTFoLTNjLTAuNTUyLDAtMSwwLjQ0OC0xLDFjMCwwLjU1MiwwLjQ0OCwxLDEsMWgzYzAuNTUyLDAsMS0wLjQ0OCwxLTFDMTYsMTEuNDQ4LDE1LjU1MiwxMSwxNSwxMXoiLz4KCTxjaXJjbGUgY3g9IjEuNSIgY3k9IjEuNSIgcj0iMC43NSIvPgo8L2c+Cjwvc3ZnPgo="});var a3e=xe((c0n,GUo)=>{GUo.exports="data:image/svg+xml;base64, "});var u0t=xe((d0n,YUo)=>{YUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMC40OSw0LjIxOWw3LjI1MSwyLjczNEM3LjgyNSw2Ljk4NCw3LjkxMiw3LDgsN3MwLjE3NS0wLjAxNiwwLjI1OS0wLjA0N2w3LjI1MS0yLjczNGMwLjY1My0wLjI0NiwwLjY1My0xLjE5MiwwLTEuNDM4CgkJTDguMjU5LDAuMDQ3QzguMTc1LDAuMDE2LDguMDg4LDAsOCwwUzcuODI1LDAuMDE2LDcuNzQxLDAuMDQ3TDAuNDksMi43ODFDLTAuMTYzLDMuMDI3LTAuMTYzLDMuOTczLDAuNDksNC4yMTl6IE04LDEuMDE4CgkJTDE0LjU4MiwzLjVMOCw1Ljk4MkwxLjQxOCwzLjVMOCwxLjAxOHoiLz4KCTxwYXRoIGQ9Ik05LjMyOSwxMC41MThDOS42NTQsMTAuNjQsMTAsMTAuNCwxMCwxMC4wNTNjMC0wLjIwNi0wLjEyOC0wLjM5MS0wLjMyMS0wLjQ2NUw4LjI2LDkuMDVDOC4xOCw5LjAyLDguMDksOSw4LDkKCQlTNy44Miw5LjAyLDcuNzQsOS4wNWwtNy4yNSwyLjczYy0wLjY1LDAuMjUtMC42NSwxLjE5LDAsMS40NGw3LjI1LDIuNzNDNy44MiwxNS45OCw3LjkxLDE2LDgsMTZzMC4xOC0wLjAyLDAuMjYtMC4wNWwxLjQxOS0wLjUzOAoJCUM5Ljg3MiwxNS4zMzgsMTAsMTUuMTUzLDEwLDE0Ljk0N2MwLTAuMzQ3LTAuMzQ2LTAuNTg3LTAuNjcxLTAuNDY1TDgsMTQuOThMMS40MiwxMi41TDgsMTAuMDJMOS4zMjksMTAuNTE4eiIvPgoJPHBhdGggZD0iTTEzLjkzMyw3LjI1Yy0wLjAwNS0wLjAwOS0wLjAxNS0wLjAxNC0wLjAyLTAuMDIzYy0wLjAxMi0wLjAxOC0wLjAyNS0wLjAzNC0wLjAzOS0wLjA1MQoJCWMtMC4wMTYtMC4wMTgtMC4wMzEtMC4wMzQtMC4wNS0wLjA1Yy0wLjAxNy0wLjAxNS0wLjAzMy0wLjAyOC0wLjA1Mi0wLjA0Yy0wLjAwOS0wLjAwNi0wLjAxMy0wLjAxNS0wLjAyMi0wLjAyCgkJYy0wLjAwOS0wLjAwNS0wLjAxOS0wLjAwNS0wLjAyOC0wLjAwOWMtMC4wMi0wLjAxLTAuMDM5LTAuMDE4LTAuMDYxLTAuMDI1Yy0wLjAyMi0wLjAwOC0wLjA0NC0wLjAxMy0wLjA2Ny0wLjAxOAoJCWMtMC4wMjItMC4wMDQtMC4wNDItMC4wMDctMC4wNjQtMC4wMDlDMTMuNTE5LDcuMDA1LDEzLjUxLDcsMTMuNSw3cy0wLjAxOSwwLjAwNS0wLjAzLDAuMDA2Yy0wLjAyMiwwLjAwMS0wLjA0MiwwLjAwNC0wLjA2NCwwLjAwOQoJCWMtMC4wMjMsMC4wMDUtMC4wNDUsMC4wMS0wLjA2NywwLjAxOGMtMC4wMjEsMC4wMDctMC4wNDEsMC4wMTUtMC4wNjEsMC4wMjVjLTAuMDA5LDAuMDA1LTAuMDE5LDAuMDA0LTAuMDI4LDAuMDA5CgkJYy0wLjAwOSwwLjAwNS0wLjAxNCwwLjAxNC0wLjAyMiwwLjAyYy0wLjAxOSwwLjAxMi0wLjAzNSwwLjAyNS0wLjA1MiwwLjA0Yy0wLjAxOCwwLjAxNi0wLjAzNCwwLjAzMS0wLjA0OSwwLjA0OQoJCWMtMC4wMTQsMC4wMTctMC4wMjcsMC4wMzMtMC4wMzksMC4wNTFjLTAuMDA2LDAuMDA5LTAuMDE1LDAuMDE0LTAuMDIsMC4wMjNsLTEuNzUsMy4wMzFjLTAuMTM4LDAuMjM5LTAuMDU2LDAuNTQ1LDAuMTgzLDAuNjgzCgkJYzAuMjM5LDAuMTM4LDAuNTQ1LDAuMDU2LDAuNjgzLTAuMTgzTDEzLDkuMzY2VjE0LjVjMCwwLjI3NiwwLjIyNCwwLjUsMC41LDAuNXMwLjUtMC4yMjQsMC41LTAuNVY5LjM2NmwwLjgxNywxLjQxNQoJCWMwLjEzOCwwLjIzOSwwLjQ0NCwwLjMyMSwwLjY4MywwLjE4M2MwLjIzOS0wLjEzOCwwLjMyMS0wLjQ0NCwwLjE4My0wLjY4M0wxMy45MzMsNy4yNXoiLz4KPC9nPgo8L3N2Zz4K"});var s3e=xe((u0n,WUo)=>{WUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cmVjdCBmaWxsPSJub25lIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KCTxyZWN0IGZpbGw9Im5vbmUiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgoJPGc+CgkJPHBhdGggZD0iTTE1LDJIMUMwLjQ1LDIsMCwyLjQ1LDAsM3YxMGMwLDAuMSwwLjAyLDAuMjEsMC4wNSwwLjNjMC4xLDAuMzEsMC4zNCwwLjU1LDAuNjUsMC42NUMwLjc5LDEzLjk4LDAuOSwxNCwxLDE0aDE0CgkJCWMwLjU1LDAsMS0wLjQ1LDEtMVYzQzE2LDIuNDUsMTUuNTUsMiwxNSwyeiBNMSwzaDE0djYuM2wtMi40NC0yLjQ1Yy0wLjU4LTAuNTgtMS41NC0wLjU4LTIuMTIsMGwtMy41OSwzLjU5CgkJCWMtMC4xOSwwLjE5LTAuNTEsMC4xOS0wLjcsMEw1LjU2LDkuODVjLTAuNTctMC41Ni0xLjU1LTAuNTYtMi4xMiwwTDEsMTIuM1YzeiBNMTUsMTNIMS43bDIuNDUtMi40NGMwLjE5LTAuMTksMC41MS0wLjE5LDAuNywwCgkJCWwwLjU5LDAuNTljMC41OCwwLjU4LDEuNTQsMC41OCwyLjEyLDBsMy41OS0zLjU5YzAuMTktMC4xOSwwLjUxLTAuMTksMC43LDBMMTUsMTAuN1YxM3oiLz4KCQk8cGF0aCBkPSJNNi41LDYuMjVDNi41LDUuMDA3LDUuNDkzLDQsNC4yNSw0UzIsNS4wMDcsMiw2LjI1QzIsNy40OTMsMy4wMDcsOC41LDQuMjUsOC41UzYuNSw3LjQ5Myw2LjUsNi4yNXogTTMsNi4yNQoJCQlDMyw1LjU2MSwzLjU2MSw1LDQuMjUsNVM1LjUsNS41NjEsNS41LDYuMjVjMCwwLjY4OS0wLjU2MSwxLjI1LTEuMjUsMS4yNVMzLDYuOTM5LDMsNi4yNXoiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K"});var p0t=xe((p0n,QUo)=>{QUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIj4KCTxnPgoJCTxwYXRoIGQ9Ik0xNCwySDJDMS40NSwyLDEsMi40NSwxLDN2OGMwLDAuNTUsMC40NSwxLDEsMWg0di0xSDJWM2gxMnY4aC0zdjFoM2MwLjU1LDAsMS0wLjQ1LDEtMVYzQzE1LDIuNDUsMTQuNTUsMiwxNCwyeiIvPgoJCTxwYXRoIGQ9Ik03Ljk4LDE1YzAuMDA3LDAsMC4wMTMsMC4wMDQsMC4wMiwwLjAwNFM4LjAxMywxNSw4LjAyLDE1SDcuOTh6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBkPSJNMTEuNSw1aC03QzQuMjI0LDUsNCw1LjIyNCw0LDUuNVM0LjIyNCw2LDQuNSw2aDdDMTEuNzc2LDYsMTIsNS43NzYsMTIsNS41UzExLjc3Niw1LDExLjUsNUwxMS41LDV6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBkPSJNMTEuNSw4aC03QzQuMjI0LDgsNCw4LjIyNCw0LDguNVM0LjIyNCw5LDQuNSw5aDdDMTEuNzc2LDksMTIsOC43NzYsMTIsOC41UzExLjc3Niw4LDExLjUsOEwxMS41LDh6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cG9seWdvbiBwb2ludHM9IjcsMTIgNiwxMiA2LDEzIDcsMTMgNywxMiAJCSIvPgoJPC9nPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSI4LDEzIDcsMTMgNywxNCA4LDE0IDgsMTMgCQkiLz4KCTwvZz4KCTxnPgoJCTxwb2x5Z29uIHBvaW50cz0iOSwxNCA4LDE0IDgsMTUgOSwxNSA5LDE0IAkJIi8+Cgk8L2c+Cgk8Zz4KCQk8cG9seWdvbiBwb2ludHM9IjYsMTIgNSwxMiA1LDEzIDYsMTMgNiwxMiAJCSIvPgoJPC9nPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSI3LDEzIDYsMTMgNiwxNCA3LDE0IDcsMTMgCQkiLz4KCTwvZz4KCTxnPgoJCTxwb2x5Z29uIHBvaW50cz0iOCwxNCA3LDE0IDcsMTUgOCwxNSA4LDE0IAkJIi8+Cgk8L2c+Cgk8Zz4KCQk8cG9seWdvbiBwb2ludHM9IjEwLDEzIDksMTMgOSwxNCAxMCwxNCAxMCwxMyAJCSIvPgoJPC9nPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSIxMSwxMiAxMCwxMiAxMCwxMyAxMSwxMyAxMSwxMiAJCSIvPgoJPC9nPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSI5LDEzIDgsMTMgOCwxNCA5LDE0IDksMTMgCQkiLz4KCTwvZz4KCTxnPgoJCTxwb2x5Z29uIHBvaW50cz0iMTAsMTIgOSwxMiA5LDEzIDEwLDEzIDEwLDEyIAkJIi8+Cgk8L2c+Cgk8Zz4KCQk8cG9seWdvbiBwb2ludHM9IjExLDExIDEwLDExIDEwLDEyIDExLDEyIDExLDExIAkJIi8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var m0t=xe((m0n,KUo)=>{KUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTE1LDFINS4zM2MtMC4yMSwwLTAuNDIsMC4wNy0wLjYsMC4yTDEuNCwzLjdDMS4xNSwzLjg5LDEsNC4xOSwxLDQuNVYxNGMwLDAuMDQsMCwwLjA4LDAuMDEsMC4xMgoJYzAuMDQsMC4zNiwwLjI4LDAuNjYsMC42LDAuOEMxLjczLDE0Ljk3LDEuODYsMTUsMiwxNWg5LjY3YzAuMjEsMCwwLjQyLTAuMDcsMC42LTAuMmwzLjMzLTIuNWMwLjI1LTAuMTksMC40LTAuNDksMC40LTAuOFYyCglDMTYsMS40NSwxNS41NSwxLDE1LDF6IE00Ljk2LDIuMjhMNSwyLjI1TDUuMzMsMmg4Ljc0TDExLjQsNEgyLjY3TDQuOTYsMi4yOHogTTExLDE0SDJWNWg5VjE0eiBNMTUsMTEuNUwxNC4zMywxMkwxMiwxMy43NVY0LjgKCWwzLTIuMjVWMTEuNXoiLz4KPC9zdmc+Cg=="});var h0t=xe((h0n,ZUo)=>{ZUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMTMuMzAzLDIuNjk3QzExLjM1MiwwLjc0NSw4LjgyLDAuMTA5LDcuNjQ2LDEuMjgzTDEuMjgyLDcuNjQ2Yy0xLjE3NCwxLjE3NC0wLjUzNywzLjcwNSwxLjQxNCw1LjY1NwoJCXM0LjQ4MywyLjU4OCw1LjY1NywxLjQxNGw2LjM2NC02LjM2NEMxNS44OTEsNy4xOCwxNS4yNTUsNC42NDgsMTMuMzAzLDIuNjk3eiBNMTIuNTk2LDMuNDA0YzEuNjE5LDEuNjE5LDIuMDc5LDMuNTc4LDEuNDE0LDQuMjQzCgkJYy0wLjY2NSwwLjY2NS0yLjYyMywwLjIwNS00LjI0My0xLjQxNEM4LjE0OCw0LjYxMyw3LjY4OSwyLjY1NCw4LjM1NCwxLjk5QzkuMDE4LDEuMzI1LDEwLjk3NywxLjc4NSwxMi41OTYsMy40MDR6IE0zLjQwNCwxMi41OTYKCQlDMS43ODUsMTAuOTc3LDEuMzI1LDkuMDE4LDEuOTksOC4zNTRsMS4yNzMtMS4yNzNsMy44MTgtMy44MThjMC4xMjcsMS4xNiwwLjgyLDIuNTE3LDEuOTgsMy42NzdzMi41MTcsMS44NTMsMy42NzcsMS45OAoJCWwtMy44MTgsMy44MThMNy42NDYsMTQuMDFDNi45ODIsMTQuNjc1LDUuMDIzLDE0LjIxNiwzLjQwNCwxMi41OTZ6Ii8+Cgk8cGF0aCBkPSJNMTAuMzMzLDUuNjY3YzEuMTc0LDEuMTc0LDIuNTAzLDEuNzM5LDIuOTcsMS4yNzNjMC40NjctMC40NjctMC4wOTktMS43OTYtMS4yNzMtMi45N2MtMS4xNzQtMS4xNzQtMi41MDMtMS43NC0yLjk3LTEuMjczCgkJQzguNTk0LDMuMTYzLDkuMTYsNC40OTMsMTAuMzMzLDUuNjY3eiBNMTEuNDY1LDQuNTM1YzAuNzE0LDAuNzE0LDEuMDY4LDEuMzc5LDEuMTc0LDEuNzM5Yy0wLjM2MS0wLjEwNi0xLjAyNS0wLjQ2LTEuNzM5LTEuMTc0CgkJUzkuODMxLDMuNzIyLDkuNzI1LDMuMzYxQzEwLjA4NiwzLjQ2OCwxMC43NTEsMy44MjEsMTEuNDY1LDQuNTM1eiIvPgo8L2c+Cjwvc3ZnPgo="});var f0t=xe((f0n,JUo)=>{JUo.exports="data:image/svg+xml;base64, "});var g0t=xe((g0n,qUo)=>{qUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTE0LjcsMS44NWMtMC4wNS0wLjA1LTAuMS0wLjA5LTAuMTYtMC4xM0wxMi43LDAuMjljLTAuMDQtMC4wNS0wLjA5LTAuMDktMC4xNS0wLjEyQzEyLjM5LDAuMDYsMTIuMiwwLDEyLDAKCWMtMC4wOCwwLTAuMTYsMC4wMS0wLjI0LDAuMDNsLTAuNzUsMC4xOUwxLjc2LDIuNTNDMS43MiwyLjU0LDEuNjgsMi41NSwxLjY0LDIuNTdDMS4zLDIuNywxLjA3LDIuOTksMS4wMSwzLjM0QzEsMy4zOSwxLDMuNDUsMSwzLjUKCXY5LjE1djAuNzljMCwwLjI3LDAuMTEsMC41MSwwLjI5LDAuNjljMC4wMSwwLjAxLDAuMDIsMC4wMiwwLjAzLDAuMDNsMC4xNiwwLjEzYzAsMCwwLjAxLDAsMC4wMSwwLjAxYzAuMDEsMCwwLjAxLDAuMDEsMC4wMiwwLjAxCglsMS43OSwxLjRjMC4wNCwwLjA1LDAuMDksMC4wOSwwLjE1LDAuMTJjMC4xLDAuMDcsMC4yMiwwLjEyLDAuMzQsMC4xNUMzLjg2LDE1Ljk5LDMuOTMsMTYsNCwxNmMwLjA4LDAsMC4xNi0wLjAxLDAuMjQtMC4wM2wxMC0yLjUKCWMwLjA1LTAuMDEsMC4wOS0wLjAzLDAuMTMtMC4wNGMwLjMzLTAuMTMsMC41Ny0wLjQzLDAuNjItMC43OEMxNSwxMi42LDE1LDEyLjU1LDE1LDEyLjVWMy4zNFYyLjU2QzE1LDIuMjgsMTQuODgsMi4wMywxNC43LDEuODV6CgkgTTEyLDFsMSwwLjc4TDMuNzYsNC4wOUMzLjcxLDQuMSwzLjY3LDQuMTIsMy42Myw0LjEzTDIuNjIsMy4zNEwxMiwxeiBNMiw0LjEybDEuMDEsMC43OUMzLDQuOTYsMyw1LjAxLDMsNS4wNnY4LjEzdjEuMDNsLTEtMC43OAoJVjQuMTJ6IE0xNCwxMS44N3YwLjYzbC0wLjYyLDAuMTZMNCwxNXYtMS4wM3YtMS4wM1Y1LjY5VjUuMDZsMC42MS0wLjE1aDAuMDFMMTIsMy4wNmwxLTAuMjVsMS0wLjI1VjExLjg3eiIvPgo8Zz4KCTxwYXRoIGQ9Ik0xMS4xNDIsNi4xMzRMMTEuMTQyLDYuMTM0bDAsNC4yMjJsLTQuMjgzLDEuMDcxbDAtNC4yMjJMMTEuMTQyLDYuMTM0TDExLjE0Miw2LjEzNCBNMTEuMTQ0LDUuMTM0CgkJYy0wLjA4LDAtMC4xNjIsMC4wMS0wLjI0NSwwLjAzTDYuNjE2LDYuMjM1Yy0wLjQ0NSwwLjExMS0wLjc1NywwLjUxMS0wLjc1NywwLjk3djQuMjIyYzAsMC41NjYsMC40NjIsMSwwLjk5OCwxCgkJYzAuMDgsMCwwLjE2Mi0wLjAxLDAuMjQ0LTAuMDNsNC4yODMtMS4wNzFjMC40NDUtMC4xMTEsMC43NTctMC41MTEsMC43NTctMC45N1Y2LjEzNEMxMi4xNDIsNS41NjgsMTEuNjc5LDUuMTMzLDExLjE0NCw1LjEzNAoJCUwxMS4xNDQsNS4xMzR6Ii8+CjwvZz4KPC9zdmc+Cg=="});var b0t=xe((b0n,XUo)=>{XUo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTE1LjUsNi4xNEw4LjQ4LDIuMTNDOC4zMywyLjA0LDguMTcsMiw4LDJDNy44MywyLDcuNjcsMi4wNCw3LjUyLDIuMTNMMC41LDYuMTRDMC4xNiw2LjMzLDAsNi42NiwwLDd2MwoJYzAsMC4zNCwwLjE2LDAuNjcsMC41LDAuODZsNy4wMiw0LjAxQzcuNjcsMTQuOTYsNy44MywxNSw4LDE1YzAuMTcsMCwwLjMzLTAuMDQsMC40OC0wLjEzbDcuMDItNC4wMUMxNS44NCwxMC42NywxNiwxMC4zNCwxNiwxMFY3CglDMTYsNi42NiwxNS44NCw2LjMzLDE1LjUsNi4xNHogTTcuNSwxMy43MWwtNi41MS0zLjdMMSwxMFY4Ljg1di0wLjdMMS42Miw4LjVsMS4wMSwwLjU3bDQuODcsMi43OVYxMy43MXogTTE1LDguODV2MS4xM1YxMAoJbC02LjUsMy43MnYtMS44Nmw0Ljg5LTIuNzlsMC45OS0wLjU3TDE1LDguMTVWOC44NXogTTE1LDdsLTEuNjIsMC45M2wtMSwwLjU2TDguMDEsMTFMMy42Miw4LjUxTDIuNjEsNy45M0wxLDcuMDJWN2w3LTRsNy4wMSwzLjk5CglMMTUsN3oiLz4KPGc+Cgk8cGF0aCBkPSJNOCw1LjI1NkwxMS4wNTMsN0w4LDguNzQ0TDQuOTQ3LDdMOCw1LjI1NiBNOCw0LjE4OGMtMC4wOTQsMC0wLjE4NywwLjAyNC0wLjI3MSwwLjA3MkwzLjc4LDYuNTE1CgkJYy0wLjM3NCwwLjIxMy0wLjM3NCwwLjc1OCwwLDAuOTcxTDcuNzI5LDkuNzRDNy44MTMsOS43ODgsNy45MDYsOS44MTIsOCw5LjgxMlM4LjE4Nyw5Ljc4OCw4LjI3MSw5Ljc0bDMuOTQ4LTIuMjU1CgkJYzAuMzc0LTAuMjEzLDAuMzc0LTAuNzU4LDAtMC45NzFMOC4yNzEsNC4yNkM4LjE4Nyw0LjIxMiw4LjA5NCw0LjE4OCw4LDQuMTg4TDgsNC4xODh6Ii8+CjwvZz4KPC9zdmc+Cg=="});var y0t=xe((y0n,$Uo)=>{$Uo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTE0Ljg0LDguNTZjLTAuMDQtMC4wNC0wLjA5LTAuMDktMC4xNS0wLjEyTDE0LDcuOVYyLjU2YzAtMC4yOC0wLjEyLTAuNTMtMC4zLTAuNzFjLTAuMDUtMC4wNS0wLjEtMC4wOS0wLjE2LTAuMTMKCUwxMS43LDAuMjljLTAuMDQtMC4wNS0wLjA5LTAuMDktMC4xNS0wLjEyQzExLjM5LDAuMDYsMTEuMiwwLDExLDBjLTAuMDgsMC0wLjE2LDAuMDEtMC4yNCwwLjAzbC0wLjc1LDAuMTlMMC43NiwyLjUzCglDMC43MiwyLjU0LDAuNjgsMi41NSwwLjY0LDIuNTdDMC4zLDIuNywwLjA3LDIuOTksMC4wMSwzLjM0QzAsMy4zOSwwLDMuNDUsMCwzLjV2OS45NGMwLDAuMjcsMC4xMSwwLjUxLDAuMjksMC42OQoJYzAuMDEsMC4wMSwwLjAyLDAuMDIsMC4wMywwLjAzbDAuMTYsMC4xM2MwLDAsMC4wMSwwLDAuMDEsMC4wMWMwLjAxLDAsMC4wMSwwLjAxLDAuMDIsMC4wMWwxLjc5LDEuNGMwLjA0LDAuMDUsMC4wOSwwLjA5LDAuMTUsMC4xMgoJYzAuMSwwLjA3LDAuMjIsMC4xMiwwLjM0LDAuMTVDMi44NiwxNS45OSwyLjkzLDE2LDMsMTZjMC4wOCwwLDAuMTYtMC4wMSwwLjI0LTAuMDNsNS4xNi0xLjI5bDAuNzYsMC42CgljMC4wNCwwLjA1LDAuMDksMC4wOSwwLjE1LDAuMTJjMC4xNiwwLjExLDAuMzUsMC4xNywwLjU1LDAuMTdjMC4wOCwwLDAuMTYsMCwwLjI0LTAuMDNsMC40MS0wLjExaDAuMDJsMy44NS0wLjk2CgljMC40NS0wLjExLDAuNzYtMC41MSwwLjc2LTAuOTdWOS4yN0MxNS4xNCw4Ljk5LDE1LjAyLDguNzQsMTQuODQsOC41NnogTTEwLjE0LDkuMjR2MC4wMUw5LjYyLDkuMzhDOS41Nyw5LjM5LDkuNTMsOS40MSw5LjQ4LDkuNDMKCUw5LjQ3LDkuNDJjLTAuMDEsMC0wLjAxLDAtMC4wMSwwTDYuNDUsNy4wNWwzLjY5LTAuOTJsMSwwLjc5TDEzLDguMzh2MC4xNkwxMS4xNCw5VjguOTlMMTAuMTQsOS4yNHogTTguNjMsMTMuNmwtMS43Ny0xLjM5CglsLTAuOTktMC43OEg1Ljg2VjcuODZsMy4wMSwyLjM2djAuMDFjLTAuMDEsMC4wNC0wLjAxLDAuMDgtMC4wMSwwLjEydjMuMTlMOC42MywxMy42eiBNMiw1LjA2djkuMTZsLTEtMC43OFY0LjEybDEuMDEsMC43OQoJQzIsNC45NiwyLDUuMDEsMiw1LjA2eiBNMi43Niw0LjA5QzIuNzEsNC4xLDIuNjcsNC4xMiwyLjYzLDQuMTNMMS42MiwzLjM0TDExLDFsMSwwLjc4TDIuNzYsNC4wOXogTTMsMTVWNS4wNmwwLjYxLTAuMTVoMC4wMQoJTDExLDMuMDZsMi0wLjV2NC41NWwtMi4xNi0xLjY5Yy0wLjA0LTAuMDQtMC4wOS0wLjA5LTAuMTUtMC4xMmMtMC4xNi0wLjExLTAuMzUtMC4xNy0wLjU1LTAuMTdjLTAuMDYsMC0wLjExLDAuMDEtMC4xNywwLjAyCgljLTAuMDIsMC0wLjA1LDAtMC4wNywwLjAxTDUuNjIsNi4yM0M1LjE3LDYuMzUsNC44Niw2Ljc1LDQuODYsNy4ydjQuMjNjMCwwLjM1LDAuMTgsMC42NSwwLjQ1LDAuODNMNy40LDEzLjlMMywxNXogTTE0LjE0LDEzLjUKCWwtNC4yNywxLjA3bC0wLjAxLTAuMDF2LTAuMjR2LTEuMDN2LTIuOTRsMC4yOC0wLjA3bDAuMzEtMC4wOGwwLjY5LTAuMTdMMTMsOS41N2wxLTAuMjVsMC4xNC0wLjA0VjEzLjV6Ii8+Cjwvc3ZnPgo="});var w0t=xe((w0n,eVo)=>{eVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTE1LjUsNy4xNEwxMi40Niw1LjRWMy44MWMwLTAuMDUtMC4wMS0wLjA5LTAuMDItMC4xNGMtMC4wMS0wLjA1LTAuMDMtMC4wOS0wLjA1LTAuMTNjLTAuMDQtMC4xLTAuMTItMC4xOS0wLjIzLTAuMjYKCUw4LjMsMS4wOEM4LjIxLDEuMDMsOC4xLDEsOCwxQzcuOSwxLDcuNzksMS4wMyw3LjcsMS4wOGwtMy44NiwyLjJDMy43MywzLjM1LDMuNjUsMy40NCwzLjYxLDMuNTRDMy41OSwzLjU4LDMuNTcsMy42MiwzLjU2LDMuNjcKCUMzLjU1LDMuNzIsMy41NCwzLjc2LDMuNTQsMy44MVY1LjRMMC41LDcuMTRDMC4xNiw3LjMzLDAsNy42NiwwLDh2M2MwLDAuMzQsMC4xNiwwLjY3LDAuNSwwLjg2bDcuMDIsNC4wMUM3LjY3LDE1Ljk2LDcuODMsMTYsOCwxNgoJYzAuMTcsMCwwLjMzLTAuMDQsMC40OC0wLjEzbDcuMDItNC4wMUMxNS44NCwxMS42NywxNiwxMS4zNCwxNiwxMVY4QzE2LDcuNjYsMTUuODQsNy4zMywxNS41LDcuMTR6IE0xMS40Niw0LjczdjAuMXYxLjE0djEuOAoJTDExLjA1LDhMOC41LDkuNDVWNi40Mkw5LjQsNS45bDAuOTctMC41NWwxLTAuNTdMMTEuNDYsNC43M3ogTTgsMi4wNmwzLjA1LDEuNzRsLTAuNywwLjRsLTEsMC41N0w4LjM5LDUuMzJMOCw1LjU1TDcuNjEsNS4zMgoJTDYuNjUsNC43N2wtMS0wLjU3bC0wLjctMC40TDgsMi4wNnogTTQuNTQsNC43M2wwLjA5LDAuMDVsMSwwLjU3TDYuNiw1LjlsMC45LDAuNTJ2My4wM0w0Ljk1LDhMNC41NCw3Ljc3VjUuOThWNC44M1Y0LjczegoJIE03LjUsMTQuNzFsLTYuNTEtMy43TDEsMTFWOS4xNUwxLjYyLDkuNWwxLjAxLDAuNTdsNC44NywyLjc5VjE0LjcxeiBNMTUsMTFsLTYuNSwzLjcydi0xLjg2bDQuODktMi43OWwwLjk5LTAuNTdMMTUsOS4xNVYxMXoKCSBNMTUsOGwtMS42MiwwLjkzbC0xLDAuNTZMOC4wMSwxMkwzLjYyLDkuNTFMMi42MSw4LjkzTDEsOC4wMlY4bDIuNTQtMS40NVY4YzAsMC4xLDAuMDMsMC4yMSwwLjA5LDAuMwoJYzAuMDQsMC4wOSwwLjExLDAuMTYsMC4yMSwwLjIybDMuODYsMi4yMUM3Ljc5LDEwLjc4LDcuOSwxMC44LDgsMTAuOGMwLjEsMCwwLjIxLTAuMDIsMC4zLTAuMDdsMy44Ni0yLjIxCgljMC4xLTAuMDYsMC4xNy0wLjEzLDAuMjEtMC4yMmMwLjA2LTAuMDksMC4wOS0wLjIsMC4wOS0wLjNWNi41NGwyLjU1LDEuNDVMMTUsOHoiLz4KPC9zdmc+Cg=="});var kJt=xe((C0n,tVo)=>{tVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8cGF0aCBkPSJNMTIsNi41QzEyLDYuNzc2LDEyLjIyNCw3LDEyLjUsN1MxMyw2Ljc3NiwxMyw2LjV2LTNjMCwwLDAtMC4wMDEsMC0wLjAwMWMwLTAuMDg1LTAuMDI2LTAuMTYxLTAuMDYyLTAuMjMKCQljLTAuMDU2LTAuMTYxLTAuMTUtMC4zMS0wLjMyNS0wLjM5NUw2Ljc4NiwwLjA2NkM2LjY5NiwwLjAyMiw2LjU5OCwwLDYuNSwwUzYuMzA0LDAuMDIyLDYuMjE0LDAuMDY2TDAuMzg3LDIuODc0CgkJQzAuMTk1LDIuOTY3LDAuMDk5LDMuMTM1LDAuMDUsMy4zMTVDMC4wMzgsMy4zNDIsMC4wMzQsMy4zNzIsMC4wMjcsMy40MDFDMC4wMjEsMy40NDIsMC4wMDQsMy40NzksMC4wMDUsMy41MgoJCUMwLjAwNSwzLjUzMSwwLDMuNTM5LDAsMy41NXYzLjQxdjAuNzd2NC4wOHYwLjQ4NmMwLDAuMzgyLDAuMjE3LDAuNzMsMC41NiwwLjg5OEwxLDEzLjQxbDUuMjEsMi41MmMwLjAzLDAuMDIsMC4wNiwwLjAzLDAuMDksMC4wMwoJCUM2LjM2LDE1Ljk5LDYuNDMsMTYsNi41LDE2czAuMTQtMC4wMSwwLjItMC4wNEM2Ljg4LDE1Ljg5LDcsMTUuNzEsNywxNS41di0wLjc4di00LjQ0VjkuMTdWNi44MzFsNS0yLjQxVjYuNXogTTYsOXYwLjg2djQuODYKCQlMMSwxMi4zVjguMDlWNy4zVjQuNDIxbDUsMi40MVY5eiBNNi41LDUuOTYyTDEuMzkyLDMuNUw2LjUsMS4wMzhMMTEuNjA4LDMuNUw2LjUsNS45NjJ6Ii8+Cgk8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMTIuNSw4LjVsMywzLjA4OAoJCWwtMywyLjkxMnYtMmMwLDAtNCwwLTQtMy41YzAsMCwwLjkxMiwxLjk0MSw0LDEuNVY4LjV6Ii8+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIj4KPC9nPgo8L3N2Zz4K"});var C0t=xe((x0n,iVo)=>{iVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LDhoLTJWNWMwLTAuNTUtMC40NS0xLTEtMUg5VjJjMC0wLjU1LTAuNDUtMS0xLTFIMkMxLjQ1LDEsMSwxLjQ1LDEsMnY2YzAsMC41NSwwLjQ1LDEsMSwxaDJ2M2MwLDAuNTUsMC40NSwxLDEsMWgzdjIKCWMwLDAuNTUsMC40NSwxLDEsMWg2YzAuNTUsMCwxLTAuNDUsMS0xVjlDMTYsOC40NSwxNS41NSw4LDE1LDh6IE0xMiw1djNIOVY1SDEyeiBNMiw4VjJoNnYydjF2M0g1SDRIMnogTTUsMTJWOWgzdjNINXogTTE1LDE1SDl2LTIKCXYtMVY5aDNoMWgyVjE1eiIvPgo8L3N2Zz4K"});var x0t=xe((T0n,oVo)=>{oVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNMTYsNy4yODdjMCwwLjMyNy0wLjAzMywwLjYtMC4wOTgsMC44NTFjLTAuMDU1LDAuMjI5LTAuMTUzLDAuNDY5LTAuMjk1LDAuNzA5Yy0wLjEwOSwwLjE4NS0wLjI0LDAuMzYtMC4zODIsMC41MzUKCQkJYy0wLjE2NCwwLjE4NS0wLjM0OSwwLjM4Mi0wLjU1NiwwLjU4OWMtMC4xOTYsMC4xODUtMC4zNiwwLjM2LTAuNTAyLDAuNTEzYy0wLjE1MywwLjE2NC0wLjI3MywwLjMxNi0wLjM4MiwwLjQ1OAoJCQljLTAuMTg1LDAuMjg0LTAuMzI3LDAuNTc4LTAuNDA0LDAuODk1Yy0wLjA0NCwwLjE1My0wLjA3NiwwLjM0OS0wLjEwOSwwLjU4OWMtMC4wMjIsMC4yMjktMC4yMDcsMC4zOTMtMC40MzYsMC4zOTMKCQkJYy0wLjIyOSwwLTAuNDI1LTAuMTg2LTAuNDM2LTAuNDQ3di0wLjA5OGMwLjAxMS0wLjE3NSwwLjAzMy0wLjMzOCwwLjA2NS0wLjQ5MWwwLjA5OC0wLjMyN2MwLjA4Ny0wLjI5NSwwLjI0LTAuNTc4LDAuNDQ3LTAuODI5CgkJCWMwLjIxOC0wLjI3MywwLjQ0Ny0wLjUzNSwwLjY0NC0wLjc0MmMwLjA0NC0wLjAzMywwLjA3Ni0wLjA2NSwwLjA5OC0wLjA5OGwwLjA1NS0wLjA0NGMwLjMwNS0wLjMyNywwLjYtMC42NzYsMC44NTEtMS4wMzYKCQkJYzAuMjg0LTAuMzkzLDAuNDE0LTAuODQsMC40MTQtMS4zNTNjMC0wLjYzMy0wLjE4NS0xLjE1Ni0wLjU1Ni0xLjUzOGMtMC4zNzEtMC4zODItMC44NzMtMC41NjctMS40OTUtMC41NjcKCQkJYy0wLjgyOSwwLTEuNDA3LDAuMzA1LTEuNzI0LDAuOTA1Yy0wLjE4NSwwLjM3MS0wLjMyNywwLjc3NS0wLjQwNCwxLjIxMWwtMC4wMTEsMC4wNjVjLTAuMDU1LDAuMjA3LTAuMjI5LDAuMzQ5LTAuNDM2LDAuMzQ5CgkJCWMtMC4yNCwwLTAuNDM2LTAuMTk2LTAuNDQ3LTAuNDQ3YzAtMC4wNTUsMC0wLjA5OCwwLjAzMy0wLjE3NWMwLjEwOS0wLjc0MiwwLjM3MS0xLjM0MiwwLjc1My0xLjc4OQoJCQljMC41MzUtMC42MjIsMS4yNjUtMC45MTYsMi4yMzYtMC45MTZjMC45MjcsMCwxLjY1OCwwLjI1MSwyLjE4MiwwLjc2NEMxNS43MzgsNS43MjcsMTYsNi40MDQsMTYsNy4yODd6Ii8+CgkJPGNpcmNsZSBjeD0iMTIuODA0IiBjeT0iMTQuNDU1IiByPSIwLjU0NSIvPgoJPC9nPgoJPHBhdGggZD0iTTgsMi41bDAsNy44NzhjMCwxLjc3OS0xLjI3NSwzLjM2Ni0zLjAzOSwzLjU5MkMyLjgyNiwxNC4yNDQsMSwxMi41ODEsMSwxMC41di04QzEsMi4yMjQsMC43NzYsMiwwLjUsMmgwCgkJQzAuMjI0LDIsMCwyLjIyNCwwLDIuNWwwLDcuODUxYzAsMi40LDEuODE2LDQuNDkxLDQuMjExLDQuNjRDNi44MzIsMTUuMTU0LDksMTMuMDg2LDksMTAuNXYtOEM5LDIuMjI0LDguNzc2LDIsOC41LDJoMAoJCUM4LjIyNCwyLDgsMi4yMjQsOCwyLjV6Ii8+CjwvZz4KPC9zdmc+Cg=="});var T0t=xe((S0n,rVo)=>{rVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTMuNSw4QzEzLjIyNCw4LDEzLDguMjI0LDEzLDguNXY2YzAsMC4wNjYsMC4wMTMsMC4xMzEsMC4wMzksMC4xOTJjMC4wNTEsMC4xMjMsMC4xNSwwLjIyLDAuMjc0LDAuMjcKCQlDMTMuMzcyLDE0Ljk4NywxMy40MzYsMTUsMTMuNSwxNXMwLjEyOC0wLjAxMywwLjE4OC0wLjAzOGMwLjA3MS0wLjAyOSwwLjEzLTAuMDc1LDAuMTgtMC4xM2wxLjk4NC0xLjk3NQoJCUMxNS45NDcsMTIuNzYzLDE2LDEyLjYzNSwxNiwxMi41MDJDMTYsMTIuMiwxNS43NTMsMTIsMTUuNDk2LDEyYy0wLjEyMywwLTAuMjQ5LDAuMDQ2LTAuMzUxLDAuMTQ4TDE0LDEzLjI5N1Y4LjUKCQlDMTQsOC4yMjQsMTMuNzc2LDgsMTMuNSw4TDEzLjUsOHoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xMS41LDhjLTAuMDY0LDAtMC4xMjgsMC4wMTMtMC4xODgsMC4wMzhjLTAuMDcxLDAuMDI5LTAuMTMsMC4wNzQtMC4xOCwwLjEzbC0xLjk4NCwxLjk3NUM5LjA1MywxMC4yMzcsOSwxMC4zNjUsOSwxMC40OTgKCQlDOSwxMC44LDkuMjQ3LDExLDkuNTA0LDExYzAuMTIzLDAsMC4yNDktMC4wNDYsMC4zNTEtMC4xNDhMMTEsOS43MDNWMTQuNWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41czAuNS0wLjIyNCwwLjUtMC41di02CgkJYzAtMC4wNjYtMC4wMTMtMC4xMzEtMC4wMzktMC4xOTJjLTAuMDUxLTAuMTIzLTAuMTUtMC4yMi0wLjI3NC0wLjI3QzExLjYyOCw4LjAxMywxMS41NjQsOCwxMS41LDhMMTEuNSw4eiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTMuMjUsMi4wNWMwLjgsMCwxLjQ1LDAuNjUsMS40NSwxLjQ1UzQuMDUsNC45NSwzLjI1LDQuOTVTMS44LDQuMywxLjgsMy41UzIuNDUsMi4wNSwzLjI1LDIuMDUgTTMuMjUsMS4yNQoJCUMyLjAwNywxLjI1LDEsMi4yNTcsMSwzLjVzMS4wMDcsMi4yNSwyLjI1LDIuMjVTNS41LDQuNzQzLDUuNSwzLjVTNC40OTMsMS4yNSwzLjI1LDEuMjVMMy4yNSwxLjI1eiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTMuMjUsNy4wNWMwLjgsMCwxLjQ1LDAuNjUsMS40NSwxLjQ1UzQuMDUsOS45NSwzLjI1LDkuOTVTMS44LDkuMjk5LDEuOCw4LjVTMi40NSw3LjA1LDMuMjUsNy4wNSBNMy4yNSw2LjI1CgkJQzIuMDA3LDYuMjUsMSw3LjI1NywxLDguNXMxLjAwNywyLjI1LDIuMjUsMi4yNVM1LjUsOS43NDIsNS41LDguNVM0LjQ5Myw2LjI1LDMuMjUsNi4yNUwzLjI1LDYuMjV6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNMy4yNTIsMTIuMDQ5TDMuMjUyLDEyLjA0OWMwLjY0OSwwLDEuMjI0LDAuNDM4LDEuMzk2LDEuMDY1YzAuMjEyLDAuNzcxLTAuMjQyLDEuNTcxLTEuMDEzLDEuNzgzCgkJYy0wLjEyNywwLjAzNS0wLjI1NywwLjA1My0wLjM4NiwwLjA1M2MtMC42NSwwLTEuMjI0LTAuNDM4LTEuMzk3LTEuMDY1Yy0wLjEwMy0wLjM3My0wLjA1NC0wLjc2NCwwLjEzNy0xLjEwMQoJCWMwLjE5MS0wLjMzNywwLjUwMi0wLjU3OSwwLjg3Ni0wLjY4MkMyLjk5MiwxMi4wNjcsMy4xMjIsMTIuMDQ5LDMuMjUyLDEyLjA0OSBNMy4yNTIsMTEuMjQ5Yy0wLjE5OCwwLTAuMzk5LDAuMDI2LTAuNTk5LDAuMDgxCgkJYy0xLjE5OCwwLjMzLTEuOTAyLDEuNTY5LTEuNTcyLDIuNzY3YzAuMjc1LDAuOTk4LDEuMTgsMS42NTMsMi4xNjgsMS42NTNjMC4xOTgsMCwwLjM5OS0wLjAyNiwwLjU5OS0wLjA4MQoJCWMxLjE5OC0wLjMzLDEuOTAyLTEuNTY5LDEuNTcyLTIuNzY3QzUuMTQ1LDExLjkwNCw0LjIzOSwxMS4yNDksMy4yNTIsMTEuMjQ5TDMuMjUyLDExLjI0OXoiLz4KPC9nPgo8cGF0aCBkPSJNMTQuNSw0aC0xMUMzLjIyNCw0LDMsMy43NzYsMywzLjV2MEMzLDMuMjI0LDMuMjI0LDMsMy41LDNoMTFDMTQuNzc2LDMsMTUsMy4yMjQsMTUsMy41djBDMTUsMy43NzYsMTQuNzc2LDQsMTQuNSw0eiIvPgo8cGF0aCBkPSJNNy41LDloLTRDMy4yMjQsOSwzLDguNzc2LDMsOC41djBDMyw4LjIyNCwzLjIyNCw4LDMuNSw4aDRDNy43NzYsOCw4LDguMjI0LDgsOC41djBDOCw4Ljc3Niw3Ljc3Niw5LDcuNSw5eiIvPgo8cGF0aCBkPSJNNy41LDE0aC00QzMuMjI0LDE0LDMsMTMuNzc2LDMsMTMuNXYwQzMsMTMuMjI0LDMuMjI0LDEzLDMuNSwxM2g0QzcuNzc2LDEzLDgsMTMuMjI0LDgsMTMuNXYwQzgsMTMuNzc2LDcuNzc2LDE0LDcuNSwxNHoiCgkvPgo8L3N2Zz4K"});var S0t=xe((M0n,nVo)=>{nVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LDhoLTJWNWMwLTAuNTUtMC40NS0xLTEtMUg5VjJjMC0wLjU1LTAuNDUtMS0xLTFIMkMxLjQ1LDEsMSwxLjQ1LDEsMnY2YzAsMC41NSwwLjQ1LDEsMSwxaDJ2M2MwLDAuNTUsMC40NSwxLDEsMWgzdjIKCWMwLDAuNTUsMC40NSwxLDEsMWg2YzAuNTUsMCwxLTAuNDUsMS0xVjlDMTYsOC40NSwxNS41NSw4LDE1LDh6IE0yLDhWMmg2djJINUM0LjQ1LDQsNCw0LjQ1LDQsNXYzSDJ6IE01LDEyVjlWOFY1aDNoMWgzdjN2MXYzSDlIOAoJSDV6IE0xNSwxNUg5di0yaDNjMC41NSwwLDEtMC40NSwxLTFWOWgyVjE1eiIvPgo8L3N2Zz4K"});var PJt=xe((I0n,aVo)=>{aVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LDJIMUMwLjQ0OCwyLDAsMi40NDgsMCwzdjd2MXYzYzAsMC41NTIsMC40NDgsMSwxLDFoMTRjMC41NTIsMCwxLTAuNDQ4LDEtMXYtM3YtMVYzQzE2LDIuNDQ4LDE1LjU1MiwyLDE1LDJ6IE0xNSwxNEgxCgl2LTNoNXYwLjVDNiwxMS43NzYsNi4yMjQsMTIsNi41LDEyaDNjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNVYxMWg1VjE0eiBNMSwxMFYzaDE0djdIMXoiLz4KPC9zdmc+Cg=="});var OJt=xe((L0n,sVo)=>{sVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LDJINUg0SDFDMC40NDgsMiwwLDIuNDQ4LDAsM3YxMWMwLDAuNTUyLDAuNDQ4LDEsMSwxaDNoMWgxMGMwLjU1MiwwLDEtMC40NDgsMS0xVjNDMTYsMi40NDgsMTUuNTUyLDIsMTUsMnogTTEsMTRWM2gzCgl2My41SDMuNUMzLjIyNCw2LjUsMyw2LjcyNCwzLDd2M2MwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41SDRWMTRIMXogTTE1LDE0SDVWM2gxMFYxNHoiLz4KPC9zdmc+Cg=="});var RJt=xe((v0n,lVo)=>{lVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LjUsMWgtMTRDMS4yMjQsMSwxLDEuMjI0LDEsMS41djMuOTk4QzEsNS40OTksMSw1LjQ5OSwxLDUuNXMwLDAuMDAxLDAsMC4wMDJ2My45OThjMCwwLDAsMCwwLDAuMDAxczAsMCwwLDAuMDAxdjMuOTk4CgljMCwwLjAwMSwwLDAuMDAxLDAsMC4wMDJzMCwwLjAwMSwwLDAuMDAyVjE1LjVDMSwxNS43NzYsMS4yMjQsMTYsMS41LDE2UzIsMTUuNzc2LDIsMTUuNVYxNGgxLjVDMy43NzYsMTQsNCwxMy43NzYsNCwxMy41CglDNCwxMy4yMjQsMy43NzYsMTMsMy41LDEzSDJ2LTNoMi41QzQuNzc2LDEwLDUsOS43NzYsNSw5LjVDNSw5LjIyNCw0Ljc3Niw5LDQuNSw5SDJWNmgxLjVDMy43NzYsNiw0LDUuNzc2LDQsNS41CglDNCw1LjIyNCwzLjc3Niw1LDMuNSw1SDJWMmgzdjEuNUM1LDMuNzc2LDUuMjI0LDQsNS41LDRTNiwzLjc3Niw2LDMuNVYyaDN2Mi41QzksNC43NzYsOS4yMjQsNSw5LjUsNVMxMCw0Ljc3NiwxMCw0LjVWMmgzdjEuNQoJQzEzLDMuNzc2LDEzLjIyNCw0LDEzLjUsNFMxNCwzLjc3NiwxNCwzLjVWMmgxLjVDMTUuNzc2LDIsMTYsMS43NzYsMTYsMS41QzE2LDEuMjI0LDE1Ljc3NiwxLDE1LjUsMXoiLz4KPC9zdmc+Cg=="});var V8e=xe((D0n,cVo)=>{cVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUsMnYxMEgyVjJIMTUgTTE1LDFIMkMxLjQ0OCwxLDEsMS40NDgsMSwydjEwYzAsMC41NTIsMC40NDgsMSwxLDFoMTNjMC41NTIsMCwxLTAuNDQ4LDEtMVYyQzE2LDEuNDQ4LDE1LjU1MiwxLDE1LDEKCQkJTDE1LDF6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBkPSJNOC41LDEyQzguMjI0LDEyLDgsMTIuMjI0LDgsMTIuNXYzQzgsMTUuNzc2LDguMjI0LDE2LDguNSwxNkM4Ljc3NiwxNiw5LDE1Ljc3Niw5LDE1LjV2LTNDOSwxMi4yMjQsOC43NzYsMTIsOC41LDEyCgkJCUw4LjUsMTJ6Ii8+Cgk8L2c+Cgk8cGF0aCBkPSJNMTAsNC41djMuODRMNy4yNTgsNC4yMjNDNy4xNjYsNC4wODQsNy4wMDksNCw2Ljg0Miw0SDYuNUM2LjIyNCw0LDYsNC4yMjQsNiw0LjV2NUM2LDkuNzc2LDYuMjI0LDEwLDYuNSwxMGgwCgkJQzYuNzc2LDEwLDcsOS43NzYsNyw5LjVWNS42NmwyLjc0Miw0LjExN0M5LjgzNCw5LjkxNiw5Ljk5MSwxMCwxMC4xNTgsMTBIMTAuNWMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41di01CgkJQzExLDQuMjI0LDEwLjc3Niw0LDEwLjUsNGgwQzEwLjIyNCw0LDEwLDQuMjI0LDEwLDQuNXoiLz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var H8e=xe((E0n,dVo)=>{dVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LjUsN2gtMy4yODhMOC40MzcsNS4xMDRjLTAuMjc1LTAuMTM4LTAuNTk4LTAuMTM4LTAuODczLDBMMy43ODgsN0gwLjVDMC4yMjQsNywwLDcuMjI0LDAsNy41QzAsNy43NzYsMC4yMjQsOCwwLjUsOAoJaDMuMjg5bDMuNzc1LDEuODk2YzAuMjc1LDAuMTM4LDAuNTk4LDAuMTM4LDAuODczLDBMMTIuMjExLDhIMTUuNUMxNS43NzYsOCwxNiw3Ljc3NiwxNiw3LjVDMTYsNy4yMjQsMTUuNzc2LDcsMTUuNSw3eiIvPgo8L3N2Zz4K"});var G8e=xe((A0n,uVo)=>{uVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMiIgeTE9IjIiIHgyPSIxNCIgeTI9IjE0Ii8+Cgk8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMTQiIHkxPSIyIiB4Mj0iMiIgeTI9IjE0Ii8+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIj4KPC9nPgo8L3N2Zz4K"});var Y8e=xe((N0n,pVo)=>{pVo.exports="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTQgMTYiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48Zz4gPHBhdGggZD0iTTE2IC0wLjVMMCAtMC41TDAgMC41TDE2IDAuNUwxNiAtMC41WiIgc3Ryb2tlLWRhc2hhcnJheT0iIiBzdHJva2UtbGluZWNhcD0iYnV0dCIgc3Ryb2tlLWxpbmVqb2luPSJtaXRlciIgc3Ryb2tlLXdpZHRoPSIxIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiIgZmlsbD0iIzMzMzMzMyIgdHJhbnNmb3JtPSJtYXRyaXgoNi4xMjMyMzM5OTU3MzY3NjZlLTE3IDEgLTEgNi4xMjMyMzM5OTU3MzY3NjZlLTE3IDEuOTk5OTk5OTk5OTk5OTk5MSA3LjEwNTQyNzM1NzYwMTAwMmUtMTQpIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjwvcGF0aD4gPHBhdGggZD0iTTAgMEw4IDAiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiBmaWxsPSIjMzMzMzMzIiBzdHlsZT0iZmlsbC1ydWxlOmV2ZW5vZGQiIHRyYW5zZm9ybT0ibWF0cml4KDEgMCAwIDEgMiA4LjAwMDAwMDAwMDAwMDA3MSkiPjwvcGF0aD4gPHBhdGggZD0iTTggLTAuNUwwIC0wLjVMMCAwLjVMOCAwLjVMOCAtMC41WiIgc3Ryb2tlLWRhc2hhcnJheT0iIiBzdHJva2UtbGluZWNhcD0iYnV0dCIgc3Ryb2tlLWxpbmVqb2luPSJtaXRlciIgc3Ryb2tlLXdpZHRoPSIxIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiIgZmlsbD0iIzMzMzMzMyIgdHJhbnNmb3JtPSJtYXRyaXgoMSAwIDAgMSAyIDguMDAwMDAwMDAwMDAwMDcxKSIgZmlsbC1ydWxlPSJldmVub2RkIj48L3BhdGg+IDxwYXRoIGQ9Ik0yIDRDMy4xMDQ1NyA0IDQgMy4xMDQ1NyA0IDJDNCAwLjg5NTQzMSAzLjEwNDU3IDAgMiAwQzAuODk1NDMxIDAgMCAwLjg5NTQzMSAwIDJDMCAzLjEwNDU3IDAuODk1NDMxIDQgMiA0WiIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iIGZpbGw9IiMzMzMzMzMiIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZCIgdHJhbnNmb3JtPSJtYXRyaXgoMSAwIDAgMSAwIDYuMDAwMDAwMDAwMDAwMDcxKSI+PC9wYXRoPjwvZz48L3N2Zz4="});var l3e=xe((k0n,mVo)=>{mVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik04LjI5NiwxSDNDMi40NDgsMSwyLDEuNDQ4LDIsMnYxM2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDEwYzAuNTUyLDAsMS0wLjQ0OCwxLTFWNS43MDRjMC0wLjI2NS0wLjEwNS0wLjUyLTAuMjkzLTAuNzA3CgljLTAuMzYyLTAuMjg1LTAuNzI1LTAuNTcxLTEuMDg3LTAuODU2Yy0wLjcwNi0wLjU1Ni0xLjQxMi0xLjExMi0yLjExOC0xLjY2OGMtMC4zNjgtMC4yOS0wLjc0NC0wLjU3MS0xLjExLTAuODY0CglDOS4wNTcsMS4zNDIsOC43NTcsMSw4LjI5NiwxeiBNMTIuMjksNUg5VjIuNzFMMTIuMjksNXogTTMsMTVWMmg1djNjMCwwLjU1MiwwLjQ0OCwxLDEsMWg0djlIM3oiLz4KPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgo8cmVjdCBzdHlsZT0iZmlsbDpub25lOyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+Cjwvc3ZnPgo="});var c3e=xe((P0n,hVo)=>{hVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgo8cGF0aCBkPSJNMTUsNGgtMVYyYzAtMC41NS0wLjQ1LTEtMS0xSDRDMy40NSwxLDMsMS40NSwzLDJ2NEgxLjVDMS4yMiw2LDEsNi4yMiwxLDYuNUMxLDYuNzgsMS4yMiw3LDEuNSw3SDNoMWgxLjUKCUM1Ljc4LDcsNiw2Ljc4LDYsNi41QzYsNi4yMiw1Ljc4LDYsNS41LDZINFYyaDl2MmgtMWMtMC41NSwwLTEsMC40NS0xLDF2N2MwLDAuNTUsMC40NSwxLDEsMWgxdjJINHYtNGgxLjVDNS43OCwxMSw2LDEwLjc4LDYsMTAuNQoJQzYsMTAuMjIsNS43OCwxMCw1LjUsMTBINEgzSDEuNUMxLjIyLDEwLDEsMTAuMjIsMSwxMC41QzEsMTAuNzgsMS4yMiwxMSwxLjUsMTFIM3Y0YzAsMC41NSwwLjQ1LDEsMSwxaDljMC41NSwwLDEtMC40NSwxLTF2LTJoMQoJYzAuNTUsMCwxLTAuNDUsMS0xVjVDMTYsNC40NSwxNS41NSw0LDE1LDR6IE0xNSwxMmgtMWgtMWgtMVY1aDFoMWgxVjEyeiIvPgo8L3N2Zz4K"});var _Jt=xe((O0n,fVo)=>{fVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMiw0LjVDMiw0Ljc3NiwyLjIyNCw1LDIuNSw1UzMsNC43NzYsMyw0LjVWM2gxLjVDNC43NzYsMyw1LDIuNzc2LDUsMi41QzUsMi4yMjQsNC43NzYsMiw0LjUsMmgtMkMyLjIyNCwyLDIsMi4yMjQsMiwyLjUKCQlWNC41eiIvPgoJPHBhdGggZD0iTTQuNSwxNEgzdi0xLjVDMywxMi4yMjQsMi43NzYsMTIsMi41LDEyUzIsMTIuMjI0LDIsMTIuNXYyQzIsMTQuNzc2LDIuMjI0LDE1LDIuNSwxNWgyQzQuNzc2LDE1LDUsMTQuNzc2LDUsMTQuNQoJCUM1LDE0LjIyNCw0Ljc3NiwxNCw0LjUsMTR6Ii8+Cgk8cGF0aCBkPSJNMTIuNSwzSDE0djEuNUMxNCw0Ljc3NiwxNC4yMjQsNSwxNC41LDVTMTUsNC43NzYsMTUsNC41di0yQzE1LDIuMjI0LDE0Ljc3NiwyLDE0LjUsMmgtMkMxMi4yMjQsMiwxMiwyLjIyNCwxMiwyLjUKCQlDMTIsMi43NzYsMTIuMjI0LDMsMTIuNSwzeiIvPgoJPGNpcmNsZSBjeD0iMS4yNSIgY3k9IjEuMjUiIHI9IjAuNzUiLz4KCTxwYXRoIGQ9Ik03LDRjMC41NTIsMCwxLTAuNDQ4LDEtMVYxYzAtMC41NTItMC40NDgtMS0xLTFDNi40NDgsMCw2LDAuNDQ4LDYsMXYyQzYsMy41NTIsNi40NDgsNCw3LDR6Ii8+Cgk8cGF0aCBkPSJNMTAsNGMwLjU1MiwwLDEtMC40NDgsMS0xVjFjMC0wLjU1Mi0wLjQ0OC0xLTEtMUM5LjQ0OCwwLDksMC40NDgsOSwxdjJDOSwzLjU1Miw5LjQ0OCw0LDEwLDR6Ii8+Cgk8cGF0aCBkPSJNMSw4aDJjMC41NTIsMCwxLTAuNDQ4LDEtMWMwLTAuNTUyLTAuNDQ4LTEtMS0xSDFDMC40NDgsNiwwLDYuNDQ4LDAsN0MwLDcuNTUyLDAuNDQ4LDgsMSw4eiIvPgoJPHBhdGggZD0iTTQsMTBjMC0wLjU1Mi0wLjQ0OC0xLTEtMUgxYy0wLjU1MiwwLTEsMC40NDgtMSwxYzAsMC41NTIsMC40NDgsMSwxLDFoMkMzLjU1MiwxMSw0LDEwLjU1Miw0LDEweiIvPgoJPHBhdGggZD0iTTE1LjUsMTJIMTR2LTJoMS41YzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjVDMTYsOS4yMjQsMTUuNzc2LDksMTUuNSw5SDE0VjcuNTA0YzAtMC4yOTItMC4yNC0wLjUwMS0wLjUwMS0wLjUwMQoJCWMtMC4wODQsMC0wLjE3LDAuMDIyLTAuMjUxLDAuMDY5TDExLDguMzgyVjguMzhWNi41QzExLDYuMjIsMTAuNzgsNiwxMC41LDZTMTAsNi4yMiwxMCw2LjV2Mi40NjVMNy4zNjYsMTAuNUg1LjUKCQlDNS4yMjQsMTAuNSw1LDEwLjcyNCw1LDExYzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVoMS44NjJMMTAsMTMuMDM4VjE1LjVjMCwwLjI4LDAuMjIsMC41LDAuNSwwLjVzMC41LTAuMjIsMC41LTAuNXYtMS44NzkKCQlsMi4yNDgsMS4zMTFDMTMuMzI5LDE0Ljk3OCwxMy40MTUsMTUsMTMuNDk5LDE1QzEzLjc2LDE1LDE0LDE0Ljc5MSwxNCwxNC40OTlWMTNoMS41YzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjUKCQlDMTYsMTIuMjI0LDE1Ljc3NiwxMiwxNS41LDEyeiBNMTMsMTMuNjI5bC0yLTEuMTY2YzAtMC4wMDEsMC0wLjAwMiwwLTAuMDAzbC0wLjU4OS0wLjM0bC0xLjkxOS0xLjExOGwyLjQzMy0xLjQxOEwxMSw5LjU0CgkJYzAsMCwwLDAsMCwwbDItMS4xNjZWMTMuNjI5eiIvPgo8L2c+Cjwvc3ZnPgo="});var d3e=xe((R0n,gVo)=>{gVo.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCI+CiAgPGRlZnM+CiAgICA8bGluZWFyR3JhZGllbnQgaWQ9ImxpbmVhci1ncmFkaWVudCIgeDI9IjEiIHkyPSIxIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+CiAgICAgIDxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iIzZiZTI5YiIvPgogICAgICA8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM2YWJjOGMiLz4KICAgIDwvbGluZWFyR3JhZGllbnQ+CiAgPC9kZWZzPgogIDxnIGlkPSLmlrDlu7rlmajku7YiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01NTIgLTQwOSkiPgogICAgPHJlY3QgaWQ9IuefqeW9ol8yOSIgZGF0YS1uYW1lPSLnn6nlvaIgMjkiIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgcng9IjQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU1MiA0MDkpIiBmaWxsPSJ1cmwoI2xpbmVhci1ncmFkaWVudCkiLz4KICAgIDxnIGlkPSLnu4RfNTIiIGRhdGEtbmFtZT0i57uEIDUyIj4KICAgICAgPHBhdGggaWQ9Iui3r+W+hF83MCIgZGF0YS1uYW1lPSLot6/lvoQgNzAiIGQ9Ik0yLDcuNmExLjEyLDEuMTIsMCwxLDAsMi4yNCwwVjQuMjRINy42QTEuMTIsMS4xMiwwLDEsMCw3LjYsMkgzLjEyQTEuMTIxLDEuMTIxLDAsMCwwLDIsMy4xMloiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU2MC40ODEgNDE3LjYzNSkiIGZpbGw9IiNmZmYiLz4KICAgICAgPHBhdGggaWQ9Iui3r+W+hF83MSIgZGF0YS1uYW1lPSLot6/lvoQgNzEiIGQ9Ik03LjYsMTYuNDgxSDQuMjRWMTMuMTJhMS4xMiwxLjEyLDAsMSwwLTIuMjQsMFYxNy42YTEuMTIxLDEuMTIxLDAsMCwwLDEuMTIsMS4xMkg3LjZhMS4xMiwxLjEyLDAsMSwwLDAtMi4yNFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU2MC40ODEgNDMwLjAzOCkiIGZpbGw9IiNmZmYiLz4KICAgICAgPHBhdGggaWQ9Iui3r+W+hF83MiIgZGF0YS1uYW1lPSLot6/lvoQgNzIiIGQ9Ik0xMy4xMiw0LjI0aDMuMzYxVjcuNmExLjEyLDEuMTIsMCwxLDAsMi4yNCwwVjMuMTJBMS4xMjEsMS4xMjEsMCwwLDAsMTcuNiwySDEzLjEyYTEuMTIsMS4xMiwwLDEsMCwwLDIuMjRaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1NzIuODg1IDQxNy42MzUpIiBmaWxsPSIjZmZmIi8+CiAgICAgIDxjaXJjbGUgaWQ9IuakreWchl80IiBkYXRhLW5hbWU9IuakreWchiA0IiBjeD0iMS42OCIgY3k9IjEuNjgiIHI9IjEuNjgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU1OS4xMiA0MTYuMjc0KSIgZmlsbD0iI2ZmZiIvPgogICAgICA8cGF0aCBpZD0i6Lev5b6EXzczIiBkYXRhLW5hbWU9Iui3r+W+hCA3MyIgZD0iTTguMjQsOC45NjJhMi4yNDEsMi4yNDEsMCwwLDAsMi4yNC0yLjI0VjIuMjRBMi4yNCwyLjI0LDAsMSwwLDYsMi4yNFY2LjcyMUEyLjI0MSwyLjI0MSwwLDAsMCw4LjI0LDguOTYyWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTY1LjQ0MiA0MTUuMTU0KSIgZmlsbD0iI2ZmZiIvPgogICAgICA8cGF0aCBpZD0i6Lev5b6EXzc0IiBkYXRhLW5hbWU9Iui3r+W+hCA3NCIgZD0iTTExLjI0LDguOTYyYTIuMjQxLDIuMjQxLDAsMCwwLDIuMjQtMi4yNFYyLjI0QTIuMjQsMi4yNCwwLDEsMCw5LDIuMjRWNi43MjFBMi4yNDEsMi4yNDEsMCwwLDAsMTEuMjQsOC45NjJaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1NjkuMTYzIDQxNS4xNTQpIiBmaWxsPSIjZmZmIi8+CiAgICAgIDxwYXRoIGlkPSLot6/lvoRfNzUiIGRhdGEtbmFtZT0i6Lev5b6EIDc1IiBkPSJNMi4yNCwxMC40ODFINi43MjFBMi4yNCwyLjI0LDAsMSwwLDYuNzIxLDZIMi4yNGEyLjI0LDIuMjQsMCwxLDAsMCw0LjQ4MVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU1OCA0MjIuNTk2KSIgZmlsbD0iI2ZmZiIvPgogICAgICA8cGF0aCBpZD0i6Lev5b6EXzc2IiBkYXRhLW5hbWU9Iui3r+W+hCA3NiIgZD0iTTguOTYyLDExLjI0QTIuMjQxLDIuMjQxLDAsMCwwLDYuNzIxLDlIMi4yNGEyLjI0LDIuMjQsMCwxLDAsMCw0LjQ4MUg2LjcyMUEyLjI0MSwyLjI0MSwwLDAsMCw4Ljk2MiwxMS4yNFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU1OCA0MjYuMzE3KSIgZmlsbD0iI2ZmZiIvPgogICAgICA8cGF0aCBpZD0i6Lev5b6EXzc3IiBkYXRhLW5hbWU9Iui3r+W+hCA3NyIgZD0iTTI4LjUyNCwxOS40NDJIMjUuMTYzVjE0Ljk2MmgzLjM2MWExLjEyLDEuMTIsMCwxLDAsMC0yLjI0SDI1LjE2M1Y5LjM3QTEuMTE4LDEuMTE4LDAsMCwwLDIzLjQ3OSw4LjRsLTUuMDM2LDIuOTM1VjcuMTJhMS4xMiwxLjEyLDAsMSwwLTIuMjQsMHY1LjUyM2wtNS45LDMuNDM5SDYuMTJhMS4xMiwxLjEyLDAsMSwwLDAsMi4yNGg0LjE3Mmw1LjkxLDMuNDQ2djUuNTE2YTEuMTIsMS4xMiwwLDEsMCwyLjI0LDB2LTQuMjFsNS4wMzYsMi45MzdhMS4xMzYsMS4xMzYsMCwwLDAsLjU2Mi4xNTIsMS4xMjMsMS4xMjMsMCwwLDAsMS4xMjItMS4xMjJWMjEuNjgzaDMuMzYxYTEuMTIsMS4xMiwwLDEsMCwwLTIuMjRabS01LjYsMy42NUwxOC40NDIsMjAuNDh2LS4wMDdsLTEuMzItLjc2Mi00LjMtMi41LDUuNDUxLTMuMTc3LjE2OC0uMWgwbDQuNDgxLTIuNjEyWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTY0LjIwMiA0MjIuNTk2KSIgZmlsbD0iI2ZmZiIvPgogICAgPC9nPgogIDwvZz4KPC9zdmc+Cg=="});var M0t=xe((_0n,bVo)=>{bVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8cmVjdCBmaWxsPSJub25lIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KCTxwYXRoIGQ9Ik04LDBDNC4xMywwLDEsMS41NywxLDMuNXY4QzEsMTMuNDMsNC4xMywxNSw4LDE1czctMS41Nyw3LTMuNXYtOEMxNSwxLjU3LDExLjg3LDAsOCwweiBNOCwxYzMuNzIsMCw2LDEuNDYsNiwyLjV2MC4yMQoJCXYxLjU4VjUuNWMwLDAuMjctMC4xNiwwLjU4LTAuNDYsMC44N0MxMy4zMiw2LjU5LDEzLjAzLDYuOCwxMi42Nyw3QzExLjYzLDcuNTcsMTAuMDMsOCw4LDhTNC4zNyw3LjU3LDMuMzMsNwoJCUMyLjk3LDYuOCwyLjY4LDYuNTksMi40Niw2LjM3QzIuMTYsNi4wOCwyLDUuNzcsMiw1LjVWNS4yOVYzLjcxVjMuNUMyLDIuNDYsNC4yOCwxLDgsMXogTTE0LDguNWMwLDAuMjctMC4xNiwwLjU4LTAuNDYsMC44NwoJCUMxMy4zMiw5LjU5LDEzLjAzLDkuOCwxMi42NywxMGMtMS4wNCwwLjU3LTIuNjQsMS00LjY3LDFzLTMuNjMtMC40My00LjY3LTFDMi45Nyw5LjgsMi42OCw5LjU5LDIuNDYsOS4zN0MyLjE2LDkuMDgsMiw4Ljc3LDIsOC41CgkJVjcuMjljMC4xNCwwLjEzLDAuMjksMC4yNCwwLjQ2LDAuMzRDMi45OSw3Ljk4LDMuNjUsOC4yOCw0LjQxLDguNUM1LjQ1LDguODIsNi42OCw5LDgsOXMyLjU1LTAuMTgsMy41OS0wLjUKCQljMC43Ni0wLjIyLDEuNDItMC41MiwxLjk1LTAuODdjMC4xNy0wLjEsMC4zMi0wLjIxLDAuNDYtMC4zNFY4LjV6IE04LDE0Yy0zLjcyLDAtNi0xLjQ2LTYtMi41di0xLjIxCgkJYzAuMTQsMC4xMywwLjI5LDAuMjQsMC40NiwwLjM0QzMuNzQsMTEuNDcsNS43NCwxMiw4LDEyczQuMjYtMC41Myw1LjU0LTEuMzdjMC4xNy0wLjEsMC4zMi0wLjIxLDAuNDYtMC4zNHYxLjIxCgkJQzE0LDEyLjU0LDExLjcyLDE0LDgsMTR6Ii8+Cgk8Zz4KCQk8cGF0aCBkPSJNNSw2LjV2LTRDNSwyLjIyNCw1LjIyNCwyLDUuNSwyaDBDNS43NzYsMiw2LDIuMjI0LDYsMi41djRDNiw2Ljc3Niw1Ljc3Niw3LDUuNSw3aDBDNS4yMjQsNyw1LDYuNzc2LDUsNi41eiIvPgoJPC9nPgoJPGc+CgkJPHBhdGggZD0iTTEwLjQwNCw1LjEyNUw1LjMwNSwyLjk2QzUuMDUsMi44NTIsNC45MzIsMi41NTksNS4wNCwyLjMwNXYwQzUuMTQ4LDIuMDUsNS40NDEsMS45MzIsNS42OTUsMi4wNGw1LjA5OSwyLjE2NAoJCQljMC4yNTQsMC4xMDgsMC4zNzMsMC40MDEsMC4yNjUsMC42NTZ2MEMxMC45NTIsNS4xMTQsMTAuNjU4LDUuMjMzLDEwLjQwNCw1LjEyNXoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik01LjY5NSw2Ljk2bDUuMDk5LTIuMTY0YzAuMjU0LTAuMTA4LDAuMzczLTAuNDAxLDAuMjY1LTAuNjU2bDAsMGMtMC4xMDgtMC4yNTQtMC40MDEtMC4zNzMtMC42NTYtMC4yNjVMNS4zMDUsNi4wNAoJCQlDNS4wNSw2LjE0OCw0LjkzMiw2LjQ0MSw1LjA0LDYuNjk1bDAsMEM1LjE0OCw2Ljk0OSw1LjQ0MSw3LjA2OCw1LjY5NSw2Ljk2eiIvPgoJPC9nPgoJPGc+CgkJPHBhdGggZD0iTTEwLDYuNXYtNEMxMCwyLjIyNCwxMC4yMjQsMiwxMC41LDJoMEMxMC43NzYsMiwxMSwyLjIyNCwxMSwyLjV2NEMxMSw2Ljc3NiwxMC43NzYsNywxMC41LDdoMEMxMC4yMjQsNywxMCw2Ljc3NiwxMCw2LjV6CgkJCSIvPgoJPC9nPgoJPGc+CgkJPHBhdGggZD0iTTMuNSw0aDJDNS43NzYsNCw2LDQuMjI0LDYsNC41djBDNiw0Ljc3Niw1Ljc3Niw1LDUuNSw1aC0yQzMuMjI0LDUsMyw0Ljc3NiwzLDQuNXYwQzMsNC4yMjQsMy4yMjQsNCwzLjUsNHoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik0xMC41LDRoMkMxMi43NzYsNCwxMyw0LjIyNCwxMyw0LjV2MEMxMyw0Ljc3NiwxMi43NzYsNSwxMi41LDVoLTJDMTAuMjI0LDUsMTAsNC43NzYsMTAsNC41djBDMTAsNC4yMjQsMTAuMjI0LDQsMTAuNSw0egoJCQkiLz4KCTwvZz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var W8e=xe((j0n,yVo)=>{yVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LDExaC0zYy0wLjU1MiwwLTEsMC40NDgtMSwxdjFIOVYyLjVDOSwyLjIyNCw4Ljc3NiwyLDguNSwySDZWMWMwLTAuNTUyLTAuNDQ4LTEtMS0xSDJDMS40NDgsMCwxLDAuNDQ4LDEsMXYzCgljMCwwLjU1MiwwLjQ0OCwxLDEsMWgzYzAuNTUyLDAsMS0wLjQ0OCwxLTFWM2gydjEwLjVDOCwxMy43NzYsOC4yMjQsMTQsOC41LDE0SDExdjFjMCwwLjU1MiwwLjQ0OCwxLDEsMWgzYzAuNTUyLDAsMS0wLjQ0OCwxLTF2LTMKCUMxNiwxMS40NDgsMTUuNTUyLDExLDE1LDExeiBNNSw0SDJWMWgzVjR6IE0xNSwxNWgtM3YtM2gzVjE1eiIvPgo8L3N2Zz4K"});var I0t=xe((B0n,wVo)=>{wVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUuNjgzLDExLjI4MWwtMS43NS0zLjAzMWMtMC4wMDUtMC4wMDktMC4wMTUtMC4wMTQtMC4wMi0wLjAyM2MtMC4wMTItMC4wMTgtMC4wMjUtMC4wMzQtMC4wMzktMC4wNTEKCQljLTAuMDE2LTAuMDE4LTAuMDMxLTAuMDM0LTAuMDUtMC4wNWMtMC4wMTctMC4wMTUtMC4wMzMtMC4wMjgtMC4wNTItMC4wNGMtMC4wMDktMC4wMDYtMC4wMTMtMC4wMTUtMC4wMjItMC4wMgoJCWMtMC4wMDktMC4wMDUtMC4wMTktMC4wMDUtMC4wMjgtMC4wMDljLTAuMDItMC4wMS0wLjAzOS0wLjAxOC0wLjA2MS0wLjAyNWMtMC4wMjItMC4wMDgtMC4wNDQtMC4wMTMtMC4wNjctMC4wMTgKCQljLTAuMDIyLTAuMDA0LTAuMDQyLTAuMDA3LTAuMDY0LTAuMDA5QzEzLjUxOSw4LjAwNSwxMy41MSw4LDEzLjUsOHMtMC4wMTksMC4wMDUtMC4wMywwLjAwNmMtMC4wMjIsMC4wMDEtMC4wNDIsMC4wMDQtMC4wNjQsMC4wMDkKCQljLTAuMDIzLDAuMDA1LTAuMDQ1LDAuMDEtMC4wNjcsMC4wMThjLTAuMDIxLDAuMDA3LTAuMDQxLDAuMDE1LTAuMDYxLDAuMDI1Yy0wLjAwOSwwLjAwNS0wLjAxOSwwLjAwNC0wLjAyOCwwLjAwOQoJCWMtMC4wMDksMC4wMDUtMC4wMTQsMC4wMTQtMC4wMjIsMC4wMmMtMC4wMTksMC4wMTItMC4wMzUsMC4wMjUtMC4wNTIsMC4wNGMtMC4wMTgsMC4wMTYtMC4wMzQsMC4wMzEtMC4wNDksMC4wNDkKCQljLTAuMDE0LDAuMDE3LTAuMDI3LDAuMDMzLTAuMDM5LDAuMDUxYy0wLjAwNiwwLjAwOS0wLjAxNSwwLjAxNC0wLjAyLDAuMDIzbC0xLjc1LDMuMDMxYy0wLjEzOCwwLjIzOS0wLjA1NiwwLjU0NSwwLjE4MywwLjY4MwoJCWMwLjIzOSwwLjEzOCwwLjU0NSwwLjA1NiwwLjY4My0wLjE4M0wxMywxMC4zNjZWMTUuNWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41czAuNS0wLjIyNCwwLjUtMC41di01LjEzNGwwLjgxNywxLjQxNQoJCWMwLjEzOCwwLjIzOSwwLjQ0NCwwLjMyMSwwLjY4MywwLjE4M0MxNS43MzksMTEuODI2LDE1LjgyMSwxMS41MiwxNS42ODMsMTEuMjgxeiIvPgoJPHBhdGggZD0iTTkuNSw3aC00QzUuMjI0LDcsNSw3LjIyNCw1LDcuNUM1LDcuNzc2LDUuMjI0LDgsNS41LDhIN3Y0LjVDNywxMi43NzYsNy4yMjQsMTMsNy41LDEzUzgsMTIuNzc2LDgsMTIuNVY4aDEuNQoJCUM5Ljc3Niw4LDEwLDcuNzc2LDEwLDcuNUMxMCw3LjIyNCw5Ljc3Niw3LDkuNSw3eiIvPgoJPHBhdGggZD0iTTkuNSwxNUgzVjJoNXYzYzAsMC41NSwwLjQ1LDEsMSwxaDR2MC41QzEzLDYuNzgsMTMuMjIsNywxMy41LDdTMTQsNi43OCwxNCw2LjVWNS43YzAtMC4yNi0wLjExLTAuNTItMC4yOS0wLjcKCQljLTAuMzctMC4yOS0wLjczLTAuNTctMS4wOS0wLjg2Yy0wLjcxLTAuNTUtMS40MS0xLjExLTIuMTItMS42N0MxMC4xMywyLjE4LDkuNzYsMS45LDkuMzksMS42MUM5LjA2LDEuMzQsOC43NiwxLDguMywxSDMKCQlDMi40NSwxLDIsMS40NSwyLDJ2MTNjMCwwLjU1LDAuNDUsMSwxLDFoNi41YzAuMjgsMCwwLjUtMC4yMiwwLjUtMC41QzEwLDE1LjIyLDkuNzgsMTUsOS41LDE1eiBNOSwyLjcxTDEyLjI5LDVIOVYyLjcxeiIvPgo8L2c+Cjwvc3ZnPgo="});var jJt=xe((z0n,CVo)=>{CVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUuNSwxMGMtMC4xNjgsMC0wLjMwOSwwLjA4OC0wLjQsMC4yMTVsLTAuMDA3LTAuMDA1TDEzLDEzLjE0bC0yLjA5My0yLjkzTDEwLjksMTAuMjE1QzEwLjgwOSwxMC4wODgsMTAuNjY4LDEwLDEwLjUsMTAKCQljLTAuMjc2LDAtMC41LDAuMjI0LTAuNSwwLjV2NWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41czAuNS0wLjIyNCwwLjUtMC41di0zLjQ0bDEuNTQxLDIuMTU3CgkJYzAuMTA1LDAuMTQ4LDAuMjc3LDAuMjM3LDAuNDU5LDAuMjM3bDAuMzA5LTAuMDI3TDE1LDEyLjA2djMuNDRjMCwwLjI3NiwwLjIyNCwwLjUsMC41LDAuNXMwLjUtMC4yMjQsMC41LTAuNXYtNQoJCUMxNiwxMC4yMjQsMTUuNzc2LDEwLDE1LjUsMTB6Ii8+Cgk8cGF0aCBkPSJNOC41LDE1SDR2LTRoMS41QzUuNzgsMTEsNiwxMC43OCw2LDEwLjVDNiwxMC4yMiw1Ljc4LDEwLDUuNSwxMGgtNEMxLjIyLDEwLDEsMTAuMjIsMSwxMC41QzEsMTAuNzgsMS4yMiwxMSwxLjUsMTFIM3Y0CgkJYzAsMC41NSwwLjQ1LDEsMSwxaDQuNUM4Ljc3NiwxNiw5LDE1Ljc3Niw5LDE1LjVDOSwxNS4yMjQsOC43NzYsMTUsOC41LDE1eiIvPgoJPHBhdGggZD0iTTE1LDRoLTFWMmMwLTAuNTUtMC40NS0xLTEtMUg0QzMuNDUsMSwzLDEuNDUsMywydjRIMS41QzEuMjIsNiwxLDYuMjIsMSw2LjVDMSw2Ljc4LDEuMjIsNywxLjUsN2g0QzUuNzgsNyw2LDYuNzgsNiw2LjUKCQlDNiw2LjIyLDUuNzgsNiw1LjUsNkg0VjJoOXYyaC0xYy0wLjU1LDAtMSwwLjQ1LTEsMXYyLjVDMTEsNy43NzYsMTEuMjI0LDgsMTEuNSw4UzEyLDcuNzc2LDEyLDcuNVY1aDN2Mi41CgkJQzE1LDcuNzc2LDE1LjIyNCw4LDE1LjUsOFMxNiw3Ljc3NiwxNiw3LjVWNUMxNiw0LjQ1LDE1LjU1LDQsMTUsNHoiLz4KPC9nPgo8L3N2Zz4K"});var L0t=xe((F0n,xVo)=>{xVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1Ljk2LDcuNjk2QzE1Ljk4Niw3LjYzNSwxNiw3LjU2OSwxNiw3LjVzLTAuMDE0LTAuMTM1LTAuMDQtMC4xOTZWNy4zYy0wLjAxLTAuMDItMC4wMjYtMC4wMzItMC4wMzYtMC4wNDkKCWMtMC4wNDMtMC4wNzMtMC4xMDItMC4xMzEtMC4xNzQtMC4xNzRDMTUuNzMyLDcuMDY2LDE1LjcyLDcuMDUsMTUuNyw3LjA0aC0wLjAwNEMxNS42MzUsNy4wMTQsMTUuNTY5LDcsMTUuNSw3SDlWMC41CglDOSwwLjIyNCw4Ljc3NiwwLDguNSwwUzgsMC4yMjQsOCwwLjVWN0gxLjVDMS40MzEsNywxLjM2NSw3LjAxNCwxLjMwNCw3LjA0SDEuM0MxLjI4LDcuMDUsMS4yNjgsNy4wNjYsMS4yNSw3LjA3NwoJQzEuMTc4LDcuMTE5LDEuMTE5LDcuMTc4LDEuMDc3LDcuMjVDMS4wNjYsNy4yNjgsMS4wNSw3LjI4LDEuMDQsNy4zdjAuMDA0QzEuMDE0LDcuMzY1LDEsNy40MzEsMSw3LjVzMC4wMTQsMC4xMzUsMC4wNCwwLjE5NlY3LjcKCWMwLjAxLDAuMDIsMC4wMjYsMC4wMzIsMC4wMzcsMC4wNWMwLjAyNiwwLjA0NCwwLjA1NCwwLjA4NSwwLjA5MiwwLjExOEwxLjIyLDcuOTJsNi43NDksNi43NTljMC4yOTMsMC4yOTMsMC43NjgsMC4yOTMsMS4wNjEsMAoJTDE1Ljc4LDcuOTJsMC4wNTItMC4wNTJjMC4wMzgtMC4wMzQsMC4wNjYtMC4wNzUsMC4wOTItMC4xMTlDMTUuOTM0LDcuNzMyLDE1Ljk1LDcuNzIsMTUuOTYsNy43VjcuNjk2eiBNOC41LDEzLjc5TDIuNyw4aDExLjYKCUw4LjUsMTMuNzl6Ii8+Cjwvc3ZnPgo="});var Q8e=xe((U0n,TVo)=>{TVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTQuNSw4aC02VjEuNUM4LjUsMS4yMjQsOC4yNzYsMSw4LDFTNy41LDEuMjI0LDcuNSwxLjVWOGgtNkMxLjIyNCw4LDEsOC4yMjQsMSw4LjVDMSw4Ljc3NiwxLjIyNCw5LDEuNSw5aDEzCgkJQzE0Ljc3Niw5LDE1LDguNzc2LDE1LDguNUMxNSw4LjIyNCwxNC43NzYsOCwxNC41LDh6Ii8+Cgk8cGF0aCBkPSJNMTEuNSwxMWgtN0M0LjIyNCwxMSw0LDExLjIyNCw0LDExLjVDNCwxMS43NzYsNC4yMjQsMTIsNC41LDEyaDdjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNUMxMiwxMS4yMjQsMTEuNzc2LDExLDExLjUsMTF6CgkJIi8+Cgk8cGF0aCBkPSJNOC41LDE0aC0xQzcuMjI0LDE0LDcsMTQuMjI0LDcsMTQuNUM3LDE0Ljc3Niw3LjIyNCwxNSw3LjUsMTVoMUM4Ljc3NiwxNSw5LDE0Ljc3Niw5LDE0LjVDOSwxNC4yMjQsOC43NzYsMTQsOC41LDE0eiIvPgo8L2c+Cjwvc3ZnPgo="});var K8e=xe((V0n,SVo)=>{SVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBzdHlsZT0iZmlsbDojOTg0QjAxIiBkPSJNMTQuNSw4aC02VjEuNUM4LjUsMS4yMjQsOC4yNzYsMSw4LDFTNy41LDEuMjI0LDcuNSwxLjVWOGgtNkMxLjIyNCw4LDEsOC4yMjQsMSw4LjVDMSw4Ljc3NiwxLjIyNCw5LDEuNSw5aDEzCgkJQzE0Ljc3Niw5LDE1LDguNzc2LDE1LDguNUMxNSw4LjIyNCwxNC43NzYsOCwxNC41LDh6Ii8+Cgk8cGF0aCBzdHlsZT0iZmlsbDojOTg0QjAxIiBkPSJNMTEuNSwxMWgtN0M0LjIyNCwxMSw0LDExLjIyNCw0LDExLjVDNCwxMS43NzYsNC4yMjQsMTIsNC41LDEyaDdjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNUMxMiwxMS4yMjQsMTEuNzc2LDExLDExLjUsMTF6CgkJIi8+Cgk8cGF0aCBzdHlsZT0iZmlsbDojOTg0QjAxIiBkPSJNOC41LDE0aC0xQzcuMjI0LDE0LDcsMTQuMjI0LDcsMTQuNUM3LDE0Ljc3Niw3LjIyNCwxNSw3LjUsMTVoMUM4Ljc3NiwxNSw5LDE0Ljc3Niw5LDE0LjVDOSwxNC4yMjQsOC43NzYsMTQsOC41LDE0eiIvPgo8L2c+Cjwvc3ZnPgo="});var v0t=xe((H0n,MVo)=>{MVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTIuNSw4aC00VjNjMC0wLjI3Ni0wLjIyNC0wLjUtMC41LTAuNVM3LjUsMi43MjQsNy41LDN2NWgtNEMzLjIyNCw4LDMsOC4yMjQsMyw4LjVDMyw4Ljc3NiwzLjIyNCw5LDMuNSw5aDkKCQlDMTIuNzc2LDksMTMsOC43NzYsMTMsOC41QzEzLDguMjI0LDEyLjc3Niw4LDEyLjUsOHoiLz4KCTxwYXRoIGQ9Ik0xMC41LDEwaC01QzUuMjI0LDEwLDUsMTAuMjI0LDUsMTAuNUM1LDEwLjc3Niw1LjIyNCwxMSw1LjUsMTFoNWMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41QzExLDEwLjIyNCwxMC43NzYsMTAsMTAuNSwxMHoKCQkiLz4KCTxwYXRoIGQ9Ik04LjUsMTJoLTFDNy4yMjQsMTIsNywxMi4yMjQsNywxMi41QzcsMTIuNzc2LDcuMjI0LDEzLDcuNSwxM2gxQzguNzc2LDEzLDksMTIuNzc2LDksMTIuNUM5LDEyLjIyNCw4Ljc3NiwxMiw4LjUsMTJ6Ii8+Cgk8cGF0aCBkPSJNOCwwQzMuNTgyLDAsMCwzLjU4MiwwLDhzMy41ODIsOCw4LDhzOC0zLjU4Miw4LThTMTIuNDE4LDAsOCwweiBNOCwxNWMtMy44NiwwLTctMy4xNC03LTdzMy4xNC03LDctN3M3LDMuMTQsNyw3CgkJUzExLjg2LDE1LDgsMTV6Ii8+CjwvZz4KPC9zdmc+Cg=="});var Z8e=xe((G0n,IVo)=>{IVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LjUsOGgtMi42MjFjLTAuMDI3LTAuMDU5LTAuMDQ2LTAuMTIxLTAuMDgzLTAuMTc1bC0yLjMtMy4zODNDMTAuMzA3LDQuMTYzLDEwLjAxMyw0LDkuNzAyLDRIMUMwLjQ0OCw0LDAsNC41MDQsMCw1LjEyNQoJdjYuNzVDMCwxMi40OTYsMC40NDgsMTMsMSwxM2g4LjcwMmMwLjMxMiwwLDAuNjA1LTAuMTYzLDAuNzk0LTAuNDQybDIuMy0zLjM4M0MxMi44MzMsOS4xMjEsMTIuODUyLDkuMDU5LDEyLjg3OSw5SDE1LjUKCUMxNS43NzYsOSwxNiw4Ljc3NiwxNiw4LjVDMTYsOC4yMjQsMTUuNzc2LDgsMTUuNSw4eiBNMTEuOTY5LDguNjEzTDkuNzAyLDEybC04LjY1NiwwLjAxMkMxLjAzNiwxMi4wMDUsMSwxMS45NiwxLDExLjg3NXYtNi43NQoJQzEsNS4wNDgsMS4wMyw1LjAwNCwxLjAwOCw1aDguNjk0TDkuNjY5LDUuMDA0bDIuMywzLjM4M0MxMi4wMDksOC40NDYsMTIuMDA5LDguNTU0LDExLjk2OSw4LjYxM3oiLz4KPC9zdmc+Cg=="});var J8e=xe((Y0n,LVo)=>{LVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUuNSw3SDkuNzA3bC00LTRDNS41MTIsMi44MDUsNS4xOTUsMi44MDUsNSwzUzQuODA1LDMuNTEyLDUsMy43MDdMOC43OTMsNy41TDUsMTEuMjkzQzQuODA1LDExLjQ4OCw0LjgwNSwxMS44MDUsNSwxMgoJCXMwLjUxMiwwLjE5NSwwLjcwNywwbDQtNEgxNS41QzE1Ljc3Niw4LDE2LDcuNzc2LDE2LDcuNUMxNiw3LjIyNCwxNS43NzYsNywxNS41LDd6Ii8+Cgk8cGF0aCBkPSJNNSw3LjE0NkwwLjg1NCwzQzAuNjU4LDIuODA1LDAuMzQyLDIuODA1LDAuMTQ2LDNjLTAuMTk1LDAuMTk1LTAuMTk1LDAuNTEyLDAsMC43MDdMMy45MzksNy41bC0zLjc5MywzLjc5MwoJCWMtMC4xOTUsMC4xOTUtMC4xOTUsMC41MTIsMCwwLjcwN2MwLjE5NSwwLjE5NSwwLjUxMiwwLjE5NSwwLjcwNywwTDUsNy44NTRDNS4xOTUsNy42NTgsNS4xOTUsNy4zNDIsNSw3LjE0NnoiLz4KPC9nPgo8L3N2Zz4K"});var q8e=xe((W0n,vVo)=>{vVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTYgMTY7IgoJeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+Cgk8cmVjdCBzdHlsZT0iZmlsbDpub25lOyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiAvPgoJPGc+CgkJPHBhdGggZD0iTTE1Ljg1NCw3LjE0NkwxMS43MDcsM0MxMS41MTIsMi44MDUsMTEuMTk1LDIuODA1LDExLDNzLTAuMTk1LDAuNTEyLDAsMC43MDdMMTQuNzkzLDcuNUwxMSwxMS4yOTMKCQljLTAuMTk1LDAuMTk1LTAuMTk1LDAuNTEyLDAsMC43MDdzMC41MTIsMC4xOTUsMC43MDcsMGw0LjE0Ni00LjE0NkMxNi4wNDksNy42NTgsMTYuMDQ5LDcuMzQyLDE1Ljg1NCw3LjE0NnoiIC8+CgkJPHBhdGggZD0iTTExLDcuMTQ2TDYuODU0LDNDNi42NTgsMi44MDUsNi4zNDIsMi44MDUsNi4xNDYsM2MtMC4xOTUsMC4xOTUtMC4xOTUsMC41MTIsMCwwLjcwN0w5LjQzOSw3SDAuNUMwLjIyNCw3LDAsNy4yMjQsMCw3LjUKCQlDMCw3Ljc3NiwwLjIyNCw4LDAuNSw4aDguOTM5bC0zLjI5MywzLjI5M2MtMC4xOTUsMC4xOTUtMC4xOTUsMC41MTIsMCwwLjcwN2MwLjE5NSwwLjE5NSwwLjUxMiwwLjE5NSwwLjcwNywwTDExLDcuODU0CgkJQzExLjE5NSw3LjY1OCwxMS4xOTUsNy4zNDIsMTEsNy4xNDZ6IiAvPgoJPC9nPgo8L3N2Zz4="});var X8e=xe((Q0n,DVo)=>{DVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNOCwzQzcuODA1LDIuODA1LDcuNDg4LDIuODA1LDcuMjkzLDNsLTQsNEgwLjVDMC4yMjQsNywwLDcuMjI0LDAsNy41QzAsNy43NzYsMC4yMjQsOCwwLjUsOGgyLjc5M2w0LDQKCQlDNy40ODgsMTIuMTk1LDcuODA1LDEyLjE5NSw4LDEyczAuMTk1LTAuNTEyLDAtMC43MDdMNC43MDcsOEg3LjVDNy43NzYsOCw4LDcuNzc2LDgsNy41QzgsNy4yMjQsNy43NzYsNyw3LjUsN0g0LjcwN0w4LDMuNzA3CgkJQzguMTk1LDMuNTEyLDguMTk1LDMuMTk1LDgsM3oiLz4KCTxwYXRoIGQ9Ik0xNiw3LjVMMTYsNy41YzAtMC4wNjUtMC4wMTMtMC4xMy0wLjAzOS0wLjE5MWMtMC4wMjUtMC4wNjEtMC4wNjItMC4xMTYtMC4xMDgtMC4xNjJMMTEuNzA3LDMKCQlDMTEuNTEyLDIuODA1LDExLjE5NSwyLjgwNSwxMSwzcy0wLjE5NSwwLjUxMiwwLDAuNzA3TDE0LjI5Myw3SDEwLjVDMTAuMjI0LDcsMTAsNy4yMjQsMTAsNy41QzEwLDcuNzc2LDEwLjIyNCw4LDEwLjUsOGgzLjc5MwoJCUwxMSwxMS4yOTNjLTAuMTk1LDAuMTk1LTAuMTk1LDAuNTEyLDAsMC43MDdzMC41MTIsMC4xOTUsMC43MDcsMGw0LjE0Ni00LjE0NmMwLjA0Ni0wLjA0NiwwLjA4My0wLjEwMSwwLjEwOC0wLjE2MgoJCUMxNS45ODYsNy42MywxNiw3LjU2NiwxNiw3LjUwMkMxNiw3LjUwMSwxNiw3LjUwMSwxNiw3LjV6Ii8+CjwvZz4KPC9zdmc+Cg=="});var $8e=xe((K0n,EVo)=>{EVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUuNSw5aC0yLjhjLTAuMjYsMC0wLjUyLDAuMTEtMC43LDAuMjlMOS4yOSwxMkg2LjcxTDQsOS4yOUMzLjgyLDkuMTEsMy41Niw5LDMuMyw5SDAuNUMwLjIyNCw5LDAsOS4yMjQsMCw5LjUKCQkJUzAuMjI0LDEwLDAuNSwxMGgyLjc5TDYsMTIuNzFDNi4xOCwxMi44OSw2LjQ0LDEzLDYuNywxM2gyLjZjMC4yNiwwLDAuNTItMC4xMSwwLjctMC4yOUwxMi43MSwxMGgyLjc5YzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjUKCQkJUzE1Ljc3Niw5LDE1LjUsOUwxNS41LDl6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBkPSJNOS4zLDNINi43QzYuNDQsMyw2LjE4LDMuMTEsNiwzLjI5TDMuMjksNkgwLjVDMC4yMjQsNiwwLDYuMjI0LDAsNi41UzAuMjI0LDcsMC41LDdoMi44QzMuNTYsNywzLjgyLDYuODksNCw2LjcxTDYuNzEsNAoJCQloMi41OEwxMiw2LjcxQzEyLjE4LDYuODksMTIuNDQsNywxMi43LDdoMi44QzE1Ljc3Niw3LDE2LDYuNzc2LDE2LDYuNVMxNS43NzYsNiwxNS41LDZoLTIuNzlMMTAsMy4yOUM5LjgyLDMuMTEsOS41NiwzLDkuMywzCgkJCUw5LjMsM3oiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K"});var eAe=xe((Z0n,AVo)=>{AVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgl5PSIwcHgiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTYgMTYiIHhtbDpzcGFjZT0icHJlc2VydmUiPgoJPGc+CgkJPGc+CgkJCTxwYXRoIHN0eWxlPSJmaWxsOiM5ODRCMDEiIGQ9Ik0xNS41LDloLTIuOGMtMC4yNiwwLTAuNTIsMC4xMS0wLjcsMC4yOUw5LjI5LDEySDYuNzFMNCw5LjI5QzMuODIsOS4xMSwzLjU2LDksMy4zLDlIMC41QzAuMjI0LDksMCw5LjIyNCwwLDkuNQoJCQlTMC4yMjQsMTAsMC41LDEwaDIuNzlMNiwxMi43MUM2LjE4LDEyLjg5LDYuNDQsMTMsNi43LDEzaDIuNmMwLjI2LDAsMC41Mi0wLjExLDAuNy0wLjI5TDEyLjcxLDEwaDIuNzljMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNQoJCQlTMTUuNzc2LDksMTUuNSw5TDE1LjUsOXoiIC8+CgkJPC9nPgoJCTxnPgoJCQk8cGF0aCBzdHlsZT0iZmlsbDojOTg0QjAxIiBkPSJNOS4zLDNINi43QzYuNDQsMyw2LjE4LDMuMTEsNiwzLjI5TDMuMjksNkgwLjVDMC4yMjQsNiwwLDYuMjI0LDAsNi41UzAuMjI0LDcsMC41LDdoMi44QzMuNTYsNywzLjgyLDYuODksNCw2LjcxTDYuNzEsNAoJCQloMi41OEwxMiw2LjcxQzEyLjE4LDYuODksMTIuNDQsNywxMi43LDdoMi44QzE1Ljc3Niw3LDE2LDYuNzc2LDE2LDYuNVMxNS43NzYsNiwxNS41LDZoLTIuNzlMMTAsMy4yOUM5LjgyLDMuMTEsOS41NiwzLDkuMywzCgkJCUw5LjMsM3oiIC8+CgkJPC9nPgoJPC9nPgo8L3N2Zz4="});var tAe=xe((J0n,NVo)=>{NVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTEwLDcuM0w2Ljg1NSw0LjE0NmMtMC4xOTYtMC4xOTYtMC41MTMtMC4xOTYtMC43MDksMGwwLDBDNS45NDksNC4zNDEsNS45NSw0LjY1OSw2LjE0Niw0Ljg1NUw5LjMsOGwtMy4xNTQsMy4xNDUKCWMtMC4xOTYsMC4xOTYtMC4xOTYsMC41MTMtMC4wMDEsMC43MDlsMCwwYzAuMTk2LDAuMTk2LDAuNTE0LDAuMTk2LDAuNzA5LTAuMDAxTDEwLDguN2wwLjM0Ni0wLjM0NgoJYzAuMTk2LTAuMTk2LDAuMTk2LTAuNTEzLDAtMC43MDlMMTAsNy4zeiIvPgo8L3N2Zz4K"});var D0t=xe((q0n,kVo)=>{kVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgoJPGc+CgkJPHBhdGggZD0iTTkuNSwwaC0zYy0wLjU1LDAtMSwwLjQ1LTEsMXYxYy0wLjUyLDAuMjEtMSwwLjQ5LTEuNDQsMC44M2wtMC44Ny0wLjVDMy4wMywyLjI0LDIuODYsMi4yLDIuNjksMi4yCgkJCWMtMC4zNSwwLTAuNjgsMC4xOC0wLjg3LDAuNWwtMS41LDIuNkMwLjA1LDUuNzgsMC4yMSw2LjM5LDAuNjksNi42N2wwLjg3LDAuNUMxLjUyLDcuNDQsMS41LDcuNzIsMS41LDgKCQkJYzAsMC4yOCwwLjAyLDAuNTYsMC4wNiwwLjgzbC0wLjg3LDAuNWMtMC40OCwwLjI4LTAuNjQsMC44OS0wLjM3LDEuMzdsMS41LDIuNmMwLjE5LDAuMzIsMC41MiwwLjUsMC44NywwLjUKCQkJYzAuMTcsMCwwLjM0LTAuMDQsMC41LTAuMTNsMC44Ny0wLjVDNC41LDEzLjUxLDQuOTgsMTMuNzksNS41LDE0djFjMCwwLjU1LDAuNDUsMSwxLDFoM2MwLjU1LDAsMS0wLjQ1LDEtMXYtMQoJCQljMC41Mi0wLjIxLDEtMC40OSwxLjQ0LTAuODNsMC44NywwLjVjMC4xNiwwLjA5LDAuMzMsMC4xMywwLjUsMC4xM2MwLjM1LDAsMC42OC0wLjE4LDAuODctMC41bDEuNS0yLjYKCQkJYzAuMjctMC40OCwwLjExLTEuMDktMC4zNy0xLjM3bC0wLjg3LTAuNUMxNC40OCw4LjU2LDE0LjUsOC4yOCwxNC41LDhjMC0wLjI4LTAuMDItMC41Ni0wLjA2LTAuODNsMC44Ny0wLjUKCQkJYzAuNDgtMC4yOCwwLjY0LTAuODksMC4zNy0xLjM3bC0xLjUtMi42Yy0wLjE5LTAuMzItMC41Mi0wLjUtMC44Ny0wLjVjLTAuMTcsMC0wLjM0LDAuMDQtMC41LDAuMTNsLTAuODcsMC41CgkJCUMxMS41LDIuNDksMTEuMDIsMi4yMSwxMC41LDJWMUMxMC41LDAuNDUsMTAuMDUsMCw5LjUsMEw5LjUsMHogTTQuMDQ1LDMuODM2YzAuMjIxLDAsMC40NDMtMC4wNzQsMC42MjktMC4yMTIKCQkJQzQuNzg1LDMuNTQxLDQuOTAxLDMuNDYzLDUuMDIsMy4zOWMwLjE1LTAuMTEsMC4zMS0wLjIsMC40OC0wLjI4YzAuMTIyLTAuMDY1LDAuMjQ1LTAuMTIzLDAuMzctMC4xNzcKCQkJQzYuMjQ2LDIuNzcyLDYuNSwyLjQxNSw2LjUsMi4wMDVWMS42OFYxaDN2MC42OHYwLjMyNmMwLDAuNDA5LDAuMjU0LDAuNzY2LDAuNjMsMC45MjdjMC4xMjUsMC4wNTQsMC4yNDgsMC4xMTIsMC4zNywwLjE3NwoJCQljMC4xNywwLjA4LDAuMzMsMC4xNywwLjQ4LDAuMjhjMC4xMiwwLjA3MywwLjIzNSwwLjE1MSwwLjM0NiwwLjIzNGMwLjE4NywwLjEzOSwwLjQwOCwwLjIxMiwwLjYyOSwwLjIxMgoJCQljMC4xNjgsMCwwLjMzNi0wLjA0MiwwLjQ4OS0wLjEzMUwxMi43MywzLjU0bDAuNTgtMC4zNGwxLjUsMi42bC0wLjU4LDAuMzRsLTAuMjg3LDAuMTY2Yy0wLjM1NSwwLjIwNS0wLjUzNywwLjYwNS0wLjQ4OCwxLjAxMwoJCQljMC4wMTYsMC4xMzEsMC4wMjgsMC4yNjUsMC4wMzUsMC40MDFDMTMuNSw3LjgxLDEzLjUsNy45LDEzLjUsOGMwLDAuMSwwLDAuMTktMC4wMSwwLjI4Yy0wLjAwNywwLjEzNi0wLjAxOSwwLjI3LTAuMDM1LDAuNDAxCgkJCWMtMC4wNSwwLjQwOCwwLjEzMiwwLjgwNywwLjQ4OCwxLjAxM0wxNC4yMyw5Ljg2bDAuNTgsMC4zNGwtMS41LDIuNmwtMC41OC0wLjM0bC0wLjI4Ni0wLjE2NQoJCQljLTAuMTUzLTAuMDg4LTAuMzIxLTAuMTMxLTAuNDg5LTAuMTMxYy0wLjIyMSwwLTAuNDQzLDAuMDc0LTAuNjI5LDAuMjEyYy0wLjExMSwwLjA4My0wLjIyNiwwLjE2LTAuMzQ2LDAuMjM0CgkJCWMtMC4xNSwwLjExLTAuMzEsMC4yLTAuNDgsMC4yOGMtMC4xMjIsMC4wNjUtMC4yNDUsMC4xMjMtMC4zNywwLjE3N2MtMC4zNzYsMC4xNjEtMC42MywwLjUxOC0wLjYzLDAuOTI3djAuMzI2VjE1aC0zdi0wLjY4CgkJCXYtMC4zMjZjMC0wLjQwOS0wLjI1NC0wLjc2Ni0wLjYzLTAuOTI3Yy0wLjEyNS0wLjA1NC0wLjI0OC0wLjExMi0wLjM3LTAuMTc3Yy0wLjE3LTAuMDgtMC4zMy0wLjE3LTAuNDgtMC4yOAoJCQljLTAuMTItMC4wNzMtMC4yMzUtMC4xNTEtMC4zNDYtMC4yMzRjLTAuMTg3LTAuMTM5LTAuNDA4LTAuMjEyLTAuNjI5LTAuMjEyYy0wLjE2OCwwLTAuMzM2LDAuMDQyLTAuNDg5LDAuMTMxTDMuMjcsMTIuNDYKCQkJTDIuNjksMTIuOGwtMS41LTIuNmwwLjU4LTAuMzRsMC4yODctMC4xNjZjMC4zNTUtMC4yMDUsMC41MzctMC42MDUsMC40ODgtMS4wMTNDMi41MjksOC41NSwyLjUxNyw4LjQxNiwyLjUxLDguMjgKCQkJQzIuNSw4LjE5LDIuNSw4LjEsMi41LDhjMC0wLjEsMC0wLjE5LDAuMDEtMC4yOGMwLjAwNy0wLjEzNiwwLjAxOS0wLjI3LDAuMDM1LTAuNDAxYzAuMDUtMC40MDgtMC4xMzItMC44MDctMC40ODgtMS4wMTMKCQkJTDEuNzcsNi4xNEwxLjE5LDUuOGwxLjUtMi42bDAuNTgsMC4zNGwwLjI4NiwwLjE2NUMzLjcwOSwzLjc5NCwzLjg3NywzLjgzNiw0LjA0NSwzLjgzNkw0LjA0NSwzLjgzNnoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik04LDUuNWMxLjM3OSwwLDIuNSwxLjEyMSwyLjUsMi41UzkuMzc5LDEwLjUsOCwxMC41UzUuNSw5LjM3OSw1LjUsOFM2LjYyMSw1LjUsOCw1LjUgTTgsNC41QzYuMDY3LDQuNSw0LjUsNi4wNjcsNC41LDgKCQkJczEuNTY3LDMuNSwzLjUsMy41czMuNS0xLjU2NywzLjUtMy41UzkuOTMzLDQuNSw4LDQuNUw4LDQuNXoiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K"});var BJt=xe((X0n,PVo)=>{PVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik02LjA3MiwxMi45MjdsLTEuMTcxLTkuODJDNC44ODcsMi45ODQsNS4wMjYsMi45MDQsNS4xMjUsMi45NzgKCWw3LjkxOSw1LjkyNGMwLjExMiwwLjA4NCwwLjA0NiwwLjI2MS0wLjA5MywwLjI1Mkw5LjMwNSw4LjkxOUM4Ljc0LDguODgzLDguMjA4LDkuMTksNy45NTcsOS42OThsLTEuNjE5LDMuMjc0CglDNi4yNzYsMTMuMDk3LDYuMDg5LDEzLjA2NSw2LjA3MiwxMi45Mjd6Ii8+Cjwvc3ZnPgo="});var iAe=xe(($0n,OVo)=>{OVo.exports="data:image/svg+xml;base64, "});var oAe=xe((epn,RVo)=>{RVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTE0LjUsNGgtOUM1LjIyNCw0LDUsMy43NzYsNSwzLjV2MEM1LDMuMjI0LDUuMjI0LDMsNS41LDNoOUMxNC43NzYsMywxNSwzLjIyNCwxNSwzLjV2MEMxNSwzLjc3NiwxNC43NzYsNCwxNC41LDR6Ii8+CjxwYXRoIGQ9Ik0yLjUsNGgtMUMxLjIyNCw0LDEsMy43NzYsMSwzLjV2MEMxLDMuMjI0LDEuMjI0LDMsMS41LDNoMUMyLjc3NiwzLDMsMy4yMjQsMywzLjV2MEMzLDMuNzc2LDIuNzc2LDQsMi41LDR6Ii8+CjxwYXRoIGQ9Ik0yLjUsMTRoLTFDMS4yMjQsMTQsMSwxMy43NzYsMSwxMy41djBDMSwxMy4yMjQsMS4yMjQsMTMsMS41LDEzaDFDMi43NzYsMTMsMywxMy4yMjQsMywxMy41djBDMywxMy43NzYsMi43NzYsMTQsMi41LDE0eiIKCS8+CjxwYXRoIGQ9Ik0xNC41LDE0aC05QzUuMjI0LDE0LDUsMTMuNzc2LDUsMTMuNXYwQzUsMTMuMjI0LDUuMjI0LDEzLDUuNSwxM2g5YzAuMjc2LDAsMC41LDAuMjI0LDAuNSwwLjV2MAoJQzE1LDEzLjc3NiwxNC43NzYsMTQsMTQuNSwxNHoiLz4KPHBhdGggZD0iTTIuNSw5aC0xQzEuMjI0LDksMSw4Ljc3NiwxLDguNXYwQzEsOC4yMjQsMS4yMjQsOCwxLjUsOGgxQzIuNzc2LDgsMyw4LjIyNCwzLDguNXYwQzMsOC43NzYsMi43NzYsOSwyLjUsOXoiLz4KPHBhdGggZD0iTTE0LjUsOWgtOUM1LjIyNCw5LDUsOC43NzYsNSw4LjV2MEM1LDguMjI0LDUuMjI0LDgsNS41LDhoOUMxNC43NzYsOCwxNSw4LjIyNCwxNSw4LjV2MEMxNSw4Ljc3NiwxNC43NzYsOSwxNC41LDl6Ii8+Cjwvc3ZnPgo="});var rAe=xe((tpn,_Vo)=>{_Vo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMTUuNSw2aC0xNEMxLjIyLDYsMSw2LjIyLDEsNi41UzEuMjIsNywxLjUsN2gxNEMxNS43OCw3LDE2LDYuNzgsMTYsNi41UzE1Ljc4LDYsMTUuNSw2TDE1LjUsNnoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xMS41LDFoLTZDNS4yMjQsMSw1LDEuMjI0LDUsMS41UzUuMjI0LDIsNS41LDJoNkMxMS43NzYsMiwxMiwxLjc3NiwxMiwxLjVTMTEuNzc2LDEsMTEuNSwxTDExLjUsMXoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik01LjUsMUM1LjIyNCwxLDUsMS4yMjQsNSwxLjV2M0M1LDQuNzc2LDUuMjI0LDUsNS41LDVDNS43NzYsNSw2LDQuNzc2LDYsNC41di0zQzYsMS4yMjQsNS43NzYsMSw1LjUsMUw1LjUsMXoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xMS41LDFDMTEuMjI0LDEsMTEsMS4yMjQsMTEsMS41djNDMTEsNC43NzYsMTEuMjI0LDUsMTEuNSw1QzExLjc3Niw1LDEyLDQuNzc2LDEyLDQuNXYtM0MxMiwxLjIyNCwxMS43NzYsMSwxMS41LDEKCQlMMTEuNSwxeiIvPgo8L2c+CjxwYXRoIGQ9Ik0xMC4yMyw2SDguNWMwLjU1LDAsMSwwLjQ1LDEsMXMtMC40NSwxLTEsMXMtMS0wLjQ1LTEtMXMwLjQ1LTEsMS0xSDYuNzdDNi42LDYuMjksNi41LDYuNjQsNi41LDdjMCwxLjEsMC45LDIsMiwyCglzMi0wLjksMi0yQzEwLjUsNi42NCwxMC40LDYuMjksMTAuMjMsNnoiLz4KPGc+Cgk8cGF0aCBkPSJNMTUsNGwwLDEwTDIsMTRMMiw0SDE1IE0xNSwzSDJDMS40NDgsMywxLDMuNDQ4LDEsNFYxNGMwLDAuNTUyLDAuNDQ4LDEsMSwxSDE1YzAuNTUyLDAsMS0wLjQ0OCwxLTFWNAoJCUMxNiwzLjQ0OCwxNS41NTIsMywxNSwzTDE1LDN6Ii8+CjwvZz4KPC9zdmc+Cg=="});var E0t=xe((ipn,jVo)=>{jVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LjgsNy44MkwxNSw2LjY0TDEzLjg4LDVMMTMuNSw0LjQ0QzEzLjMxLDQuMTYsMTMuMDEsNCwxMi43LDRINi4zQzUuOTksNCw1LjY5LDQuMTYsNS41LDQuNDRMNS4xMiw1TDQsNi42NEwzLjIsNy44MgoJQzMuMTYsNy44OCwzLjEzLDcuOTQsMy4xLDhIM0gwLjVDMC4yMiw4LDAsOC4yMiwwLDguNUMwLDguNzgsMC4yMiw5LDAuNSw5SDNoMC4xYzAuMDMsMC4wNiwwLjA2LDAuMTIsMC4xLDAuMThMNCwxMC4zNmwxLjEyLDEuNjUKCWwwLjM4LDAuNTVDNS42OSwxMi44NCw1Ljk5LDEzLDYuMywxM2g2LjRjMC4zMSwwLDAuNjEtMC4xNiwwLjgtMC40NEwxMy44OCwxMkwxNSwxMC4zNmwwLjgtMS4xOEMxNS45NCw4Ljk4LDE2LDguNzQsMTYsOC41CglTMTUuOTQsOC4wMiwxNS44LDcuODJ6IE0xNC45Nyw4LjYxTDEyLjcsMTJINi4zM2wtMi4zLTMuMzlDNC4wMSw4LjU4LDQsOC41NCw0LDguNWMwLTAuMDQsMC4wMS0wLjA4LDAuMDMtMC4xMUw2LjMsNWg2LjM3bDIuMywzLjM5CglDMTQuOTksOC40MiwxNSw4LjQ2LDE1LDguNUMxNSw4LjU0LDE0Ljk5LDguNTgsMTQuOTcsOC42MXoiLz4KPC9zdmc+Cg=="});var nAe=xe((opn,BVo)=>{BVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1Ljc5Niw3LjgyNWwtMi4zLTMuMzgzQzEzLjMwNyw0LjE2MywxMy4wMTMsNCwxMi43MDIsNEg0QzMuNDQ4LDQsMyw0LjUwNCwzLDUuMTI1VjhIMC41QzAuMjI0LDgsMCw4LjIyNCwwLDguNQoJQzAsOC43NzYsMC4yMjQsOSwwLjUsOUgzdjIuODc1QzMsMTIuNDk2LDMuNDQ4LDEzLDQsMTNoOC43MDJjMC4zMTIsMCwwLjYwNS0wLjE2MywwLjc5NC0wLjQ0MmwyLjMtMy4zODMKCUMxNi4wNjcsOC43NzcsMTYuMDY3LDguMjIzLDE1Ljc5Niw3LjgyNXogTTE0Ljk2OSw4LjYxM0wxMi43MDIsMTJsLTguNjU2LDAuMDEyQzQuMDM2LDEyLjAwNSw0LDExLjk2LDQsMTEuODc1di02Ljc1CglDNCw1LjA0OCw0LjAzLDUuMDA0LDQuMDA4LDVoOC42OTRsLTAuMDMzLDAuMDA0bDIuMywzLjM4M0MxNS4wMDksOC40NDYsMTUuMDA5LDguNTU0LDE0Ljk2OSw4LjYxM3oiLz4KPC9zdmc+Cg=="});var aAe=xe((rpn,zVo)=>{zVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggc3R5bGU9ImZpbGw6Izk4NEIwMSIgZD0iTTE1Ljc5Niw3LjgyNWwtMi4zLTMuMzgzQzEzLjMwNyw0LjE2MywxMy4wMTMsNCwxMi43MDIsNEg0QzMuNDQ4LDQsMyw0LjUwNCwzLDUuMTI1VjhIMC41QzAuMjI0LDgsMCw4LjIyNCwwLDguNQoJQzAsOC43NzYsMC4yMjQsOSwwLjUsOUgzdjIuODc1QzMsMTIuNDk2LDMuNDQ4LDEzLDQsMTNoOC43MDJjMC4zMTIsMCwwLjYwNS0wLjE2MywwLjc5NC0wLjQ0MmwyLjMtMy4zODMKCUMxNi4wNjcsOC43NzcsMTYuMDY3LDguMjIzLDE1Ljc5Niw3LjgyNXogTTE0Ljk2OSw4LjYxM0wxMi43MDIsMTJsLTguNjU2LDAuMDEyQzQuMDM2LDEyLjAwNSw0LDExLjk2LDQsMTEuODc1di02Ljc1CglDNCw1LjA0OCw0LjAzLDUuMDA0LDQuMDA4LDVoOC42OTRsLTAuMDMzLDAuMDA0bDIuMywzLjM4M0MxNS4wMDksOC40NDYsMTUuMDA5LDguNTU0LDE0Ljk2OSw4LjYxM3oiLz4KPC9zdmc+Cg=="});var sAe=xe((npn,FVo)=>{FVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTUuOTk4LDcuMzAybDMuMTQ1LTMuMTU0YzAuMTk2LTAuMTk2LDAuNTEzLTAuMTk2LDAuNzA5LDBsMCwwYzAuMTk2LDAuMTk2LDAuMTk2LDAuNTE0LTAuMDAxLDAuNzA5TDYuNjk4LDguMDAyCglsMy4xNTQsMy4xNDVjMC4xOTYsMC4xOTYsMC4xOTYsMC41MTMsMC4wMDEsMC43MDlsMCwwYy0wLjE5NiwwLjE5Ni0wLjUxNCwwLjE5Ni0wLjcwOS0wLjAwMUw1Ljk5OCw4LjcwMkw1LjY1Myw4LjM1NgoJYy0wLjE5Ni0wLjE5Ni0wLjE5Ni0wLjUxMywwLTAuNzA5TDUuOTk4LDcuMzAyeiIvPgo8L3N2Zz4K"});var lAe=xe((apn,UVo)=>{UVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTAuMDE5LDEwLjI4OEMxMC4zMTUsOS45MzksMTAuNSw5LjQ5MywxMC41LDljMC0xLjEwNS0wLjg5NS0yLTItMkg2QzUuNDQ4LDcsNSw3LjQ0OCw1LDh2M2gwLjAxMQoJCUM1LjAxLDExLjAyLDUsMTEuMDM3LDUsMTEuMDU3djEuODg2QzUsMTMuNTI3LDUuNDczLDE0LDYuMDU3LDE0SDljMS4xMDUsMCwyLTAuODk1LDItMkMxMSwxMS4yNjksMTAuNjA0LDEwLjYzNiwxMC4wMTksMTAuMjg4egoJCSBNNiw4aDIuNWMwLjU1MSwwLDEsMC40NDksMSwxcy0wLjQ0OSwxLTEsMUg2LjA1N0g2Vjh6IE05LDEzSDYuMDU3QzYuMDI1LDEzLDYsMTIuOTc1LDYsMTIuOTQzdi0xLjg4NkM2LDExLjAyNSw2LjAyNSwxMSw2LjA1NywxMQoJCUg4LjVIOWMwLjU1MSwwLDEsMC40NDksMSwxUzkuNTUxLDEzLDksMTN6Ii8+Cgk8cGF0aCBkPSJNMTUsNFYzYzAtMC41NTItMC40NDgtMS0xLTFINi43TDUuOTkzLDEuMjkzQzUuODA1LDEuMTA1LDUuNTUxLDEsNS4yODYsMUg0LjNIMkMxLjQ1LDEsMSwxLjQ1LDEsMnYxM2MwLDAuNTUsMC40NSwxLDEsMQoJCWgxM2MwLjU1LDAsMS0wLjQ1LDEtMVY1QzE2LDQuNDQ4LDE1LjU1Miw0LDE1LDR6IE0xNC4wMSwyLjk5VjRIOC43TDcuNjksMi45OUgxNC4wMXogTTE1LDE1SDJWMmgzLjNsMC45OSwwLjk5bDEuMDksMS4wOQoJCWwwLjYxNywwLjYxN0M4LjE4NSw0Ljg4NSw4LjQzOSw0Ljk5LDguNzA0LDQuOTlIOS42OWg0LjMySDE1VjE1eiIvPgo8L2c+Cjwvc3ZnPgo="});var A0t=xe((spn,VVo)=>{VVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8xIiBkYXRhLW5hbWU9IuWbvuWxgiAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogIzAwMDsKICAgICAgICBzdHJva2Utd2lkdGg6IDBweDsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMTIsMkg0Yy0xLjEsMC0yLC45LTIsMnY4YzAsMS4xLjksMiwyLDJoOGMxLjEsMCwyLS45LDItMlY0YzAtMS4xLS45LTItMi0yWk0xMS43MSw4bC0uMjEuMjEtLjUuNS0uNS0uNS0uNS41LS41LS41LS41LjUtLjUtLjUtLjUuNS0uNS0uNS0uNS41LS41LS41LS41LjUtLjUtLjUtLjUuNS0uNS0uNS0uMjEtLjIxLS41LS41LjUtLjVoNy40MWwuNS41LS41LjVaIi8+Cjwvc3ZnPg=="});var N0t=xe((lpn,HVo)=>{HVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTQuOTQsMTQuNjNMOS45NzIsMC4zNzljLTAuMDgtMC4yMy0wLjI3My0wLjMzNi0wLjQ2Ni0wLjMzNkM5LjI1MywwLjA0Myw5LDAuMjI0LDksMC41NDN2MTQuNDM0CgkJQzksMTUuNTQyLDkuNDQyLDE2LDkuOTg3LDE2aDQuMDI0QzE0LjY5NiwxNiwxNS4xNzMsMTUuMjk3LDE0Ljk0LDE0LjYzeiBNMTAsMTQuOTc3VjMuNDk2TDE0LjAxMiwxNUwxMCwxNC45Nzd6Ii8+Cgk8cGF0aCBkPSJNNi40OTQsMC4wNDNjLTAuMTkzLDAtMC4zODYsMC4xMDYtMC40NjYsMC4zMzZMMS4wNiwxNC42M0MwLjgyNywxNS4yOTcsMS4zMDQsMTYsMS45ODgsMTZoNC4wMjQKCQlDNi41NTgsMTYsNywxNS41NDIsNywxNC45NzdWMC41NDNDNywwLjIyNCw2Ljc0NywwLjA0Myw2LjQ5NCwwLjA0M3ogTTYsMTQuOTc3TDEuOTg4LDE1TDYsMy40OTZWMTQuOTc3eiIvPgo8L2c+Cjwvc3ZnPgo="});var k0t=xe((cpn,GVo)=>{GVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMS4zOTIsMTQuOTYybDE0LjI1MS00Ljk2OGMwLjIzLTAuMDgsMC4zMzYtMC4yNzMsMC4zMzYtMC40NjZjMC0wLjI1My0wLjE4MS0wLjUwNi0wLjUtMC41MDZIMS4wNDQKCQljLTAuNTY1LDAtMS4wMjMsMC40NDItMS4wMjMsMC45ODd2NC4wMjRDMC4wMjEsMTQuNzE3LDAuNzI1LDE1LjE5NCwxLjM5MiwxNC45NjJ6IE0xLjA0NCwxMC4wMjFoMTEuNDgyTDEuMDIxLDE0LjAzM0wxLjA0NCwxMC4wMjEKCQl6Ii8+Cgk8cGF0aCBkPSJNMTUuOTc5LDYuNTE2YzAtMC4xOTMtMC4xMDYtMC4zODYtMC4zMzYtMC40NjZMMS4zOTIsMS4wODFjLTAuNjY3LTAuMjMyLTEuMzcsMC4yNDQtMS4zNywwLjkyOXY0LjAyNAoJCWMwLDAuNTQ1LDAuNDU4LDAuOTg3LDEuMDIzLDAuOTg3aDE0LjQzNEMxNS43OTgsNy4wMjEsMTUuOTc5LDYuNzY4LDE1Ljk3OSw2LjUxNnogTTEuMDQ0LDYuMDIxTDEuMDIxLDIuMDFsMTEuNTA0LDQuMDEySDEuMDQ0eiIvPgo8L2c+Cjwvc3ZnPgo="});var P0t=xe((dpn,YVo)=>{YVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNOCw2Yy0yLjIwOSwwLTQsMS43OTEtNCw0YzAsMi4yMDksMS43OTEsNCw0LDRzNC0xLjc5MSw0LTRDMTIsNy43OTEsMTAuMjA5LDYsOCw2eiBNOCwxM2MtMS42NTQsMC0zLTEuMzQ2LTMtMwoJCWMwLTEuNDgzLDEuMDg0LTIuNzEsMi41LTIuOTQ5VjEwYzAsMC4wMDEsMCwwLjAwMSwwLDAuMDAyYzAsMC4wNjUsMC4wMTMsMC4xMjksMC4wMzgsMC4xODljMC4wMjQsMC4wNTksMC4wNiwwLjExMiwwLjEwNCwwLjE1NwoJCWMwLjAwMiwwLjAwMiwwLjAwMiwwLjAwNCwwLjAwNCwwLjAwNmwxLjQxNCwxLjQxNGMwLjA5OCwwLjA5OCwwLjIyNiwwLjE0NiwwLjM1NCwwLjE0NmMwLjEyOCwwLDAuMjU2LTAuMDQ5LDAuMzU0LTAuMTQ2CgkJYzAuMTk1LTAuMTk1LDAuMTk1LTAuNTEyLDAtMC43MDdMOC41LDkuNzkzVjcuMDUxQzkuOTE2LDcuMjksMTEsOC41MTcsMTEsMTBDMTEsMTEuNjU0LDkuNjU0LDEzLDgsMTN6Ii8+Cgk8cGF0aCBkPSJNMTUsNFYzYzAtMC41NTItMC40NDgtMS0xLTFINi43TDUuOTkzLDEuMjkzQzUuODA1LDEuMTA1LDUuNTUxLDEsNS4yODYsMUg0LjNIMkMxLjQ1LDEsMSwxLjQ1LDEsMnYxM2MwLDAuNTUsMC40NSwxLDEsMQoJCWgxM2MwLjU1LDAsMS0wLjQ1LDEtMVY1QzE2LDQuNDQ4LDE1LjU1Miw0LDE1LDR6IE0xNC4wMSwyLjk5VjRIOC43TDcuNjksMi45OUgxNC4wMXogTTE1LDE1SDJWMmgzLjNsMC45OSwwLjk5bDEuMDksMS4wOQoJCWwwLjYxNywwLjYxN0M4LjE4NSw0Ljg4NSw4LjQzOSw0Ljk5LDguNzA0LDQuOTlIOS42OWg0LjMySDE1VjE1eiIvPgo8L2c+Cjwvc3ZnPgo="});var u3e=xe((upn,WVo)=>{WVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTE0LDFIM0MyLjQ0OCwxLDIsMS40NDgsMiwydjEwdjF2MmMwLDAuNTUyLDAuNDQ4LDEsMSwxaDExYzAuNTUyLDAsMS0wLjQ0OCwxLTFWMkMxNSwxLjQ0OCwxNC41NTIsMSwxNCwxeiBNMywxMGgzdjJIM1YxMHoKCSBNMTAsMTJIN3YtMmgzVjEyeiBNMywxNXYtMmgzdjJIM3ogTTcsMTV2LTJoM3YySDd6IE0xNCwxNWgtM3YtMmgzVjE1eiBNMTQsMTJoLTN2LTJoM1YxMnogTTE0LDlIM1YyaDExVjl6Ii8+Cjwvc3ZnPgo="});var zJt=xe((ppn,QVo)=>{QVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LDJoLTNoLTFIMUMwLjQ0OCwyLDAsMi40NDgsMCwzdjExYzAsMC41NTIsMC40NDgsMSwxLDFoMTBoMWgzYzAuNTUyLDAsMS0wLjQ0OCwxLTFWM0MxNiwyLjQ0OCwxNS41NTIsMiwxNSwyeiBNMSwxNFYzCgloMTB2MTFIMXogTTE1LDE0aC0zdi0zLjVoMC41YzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjVWN2MwLTAuMjc2LTAuMjI0LTAuNS0wLjUtMC41SDEyVjNoM1YxNHoiLz4KPC9zdmc+Cg=="});var O0t=xe((mpn,KVo)=>{KVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUsNFYzYzAtMC41NTItMC40NDgtMS0xLTFINi43TDUuOTkzLDEuMjkzQzUuODA1LDEuMTA1LDUuNTUxLDEsNS4yODYsMUg0LjNIMkMxLjQ1LDEsMSwxLjQ1LDEsMnYxM2MwLDAuNTUsMC40NSwxLDEsMQoJCWgxM2MwLjU1LDAsMS0wLjQ1LDEtMVY1QzE2LDQuNDQ4LDE1LjU1Miw0LDE1LDR6IE0xNC4wMSwyLjk5VjRIOC43TDcuNjksMi45OUgxNC4wMXogTTE1LDE1SDJWMmgzLjNsMC45OSwwLjk5bDEuMDksMS4wOQoJCWwwLjYxNywwLjYxN0M4LjE4NSw0Ljg4NSw4LjQzOSw0Ljk5LDguNzA0LDQuOTlIOS42OWg0LjMySDE1VjE1eiIvPgoJPHBhdGggZD0iTTEwLjUsN0MxMC4yMjQsNywxMCw3LjIyNCwxMCw3LjV2NC45NGwtMS0xLjRsLTItMi44TDYuMjY5LDcuMjExQzYuMTc2LDcuMDc4LDYuMDI0LDcsNS44NjIsN0g1LjVDNS4yMjQsNyw1LDcuMjI0LDUsNy41CgkJdjZDNSwxMy43NzYsNS4yMjQsMTQsNS41LDE0UzYsMTMuNzc2LDYsMTMuNVY4LjU2bDEsMS40bDIsMi44bDAuNzMxLDEuMDI5QzkuODI0LDEzLjkyMiw5Ljk3NiwxNCwxMC4xMzgsMTRIMTAuNQoJCWMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41di02QzExLDcuMjI0LDEwLjc3Niw3LDEwLjUsN3oiLz4KPC9nPgo8L3N2Zz4K"});var FJt=xe((hpn,ZVo)=>{ZVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LDFIMkMxLjY1LDEsMS4zNCwxLjE4LDEuMTYsMS40NUMxLjA2LDEuNjEsMSwxLjgsMSwydjAuNzFWMTVjMCwwLjU1LDAuNDUsMSwxLDFoMTNjMC4zNSwwLDAuNjYtMC4xOCwwLjg0LTAuNDUKCUMxNS45NCwxNS4zOSwxNiwxNS4yLDE2LDE1di0wLjcxVjJDMTYsMS40NSwxNS41NSwxLDE1LDF6IE0xMy4wMDMsMTEuMjkzQzEyLjgxNSwxMS4xMDUsMTIuNTYxLDExLDEyLjI5NiwxMUgxMS4yOUg3Ljk1CglDNy42NzMsOS42MjYsNi4yNjMsOC42NTksNC43MzUsOS4xMTRjLTAuNzg5LDAuMjM1LTEuNDIzLDAuODktMS42NCwxLjY4NUMyLjYzNywxMi40NzksMy44OTIsMTQsNS41LDE0YzEuMjEsMCwyLjIyLTAuODYsMi40NS0yCgloNC4zNEwxNSwxNC43MVYxNUgyVjMuNzFMMy4yOSw1bDAuNzA3LDAuNzA3QzQuMTg1LDUuODk1LDQuNDM5LDYsNC43MDQsNkg1LjcxaDMuMzRjMC4yNzcsMS4zNzQsMS42ODcsMi4zNDEsMy4yMTUsMS44ODYKCWMwLjc4OS0wLjIzNSwxLjQyMy0wLjg5LDEuNjQtMS42ODVDMTQuMzYzLDQuNTIxLDEzLjEwOCwzLDExLjUsM2MtMS4yMSwwLTIuMjIsMC44Ni0yLjQ1LDJINC43MUwyLDIuMjlWMmgxM3YxMS4yOUwxMy43MSwxMgoJTDEzLjAwMywxMS4yOTN6IE01LjUsMTNDNC42NywxMyw0LDEyLjMzLDQsMTEuNUM0LDEwLjY3LDQuNjcsMTAsNS41LDEwUzcsMTAuNjcsNywxMS41QzcsMTIuMzMsNi4zMywxMyw1LjUsMTN6IE0xMS41LDQKCUMxMi4zMyw0LDEzLDQuNjcsMTMsNS41QzEzLDYuMzMsMTIuMzMsNywxMS41LDdTMTAsNi4zMywxMCw1LjVDMTAsNC42NywxMC42Nyw0LDExLjUsNHoiLz4KPC9zdmc+Cg=="});var UJt=xe((fpn,JVo)=>{JVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNNi41LDlDNS4xMiw5LDQsMTAuMTIsNCwxMS41UzUuMTIsMTQsNi41LDE0UzksMTIuODgsOSwxMS41UzcuODgsOSw2LjUsOXogTTYuNSwxM0M1LjY3LDEzLDUsMTIuMzMsNSwxMS41CgkJQzUsMTAuNjcsNS42NywxMCw2LjUsMTBTOCwxMC42Nyw4LDExLjVDOCwxMi4zMyw3LjMzLDEzLDYuNSwxM3oiLz4KCTxwYXRoIGQ9Ik0xNSwxSDJDMS42NSwxLDEuMzQsMS4xOCwxLjE2LDEuNDVDMS4wNiwxLjYxLDEsMS44LDEsMnYxM2MwLDAuNTUsMC40NSwxLDEsMWg1LjVDNy43NzYsMTYsOCwxNS43NzYsOCwxNS41CgkJQzgsMTUuMjI0LDcuNzc2LDE1LDcuNSwxNUgyVjMuNzFMMy4yOSw1TDQsNS43MUM0LjE4LDUuODksNC40NCw2LDQuNyw2aDQuMzVjMC4yMywxLjE0LDEuMjUsMiwyLjQ2LDJjMC4yNCwwLDAuNDktMC4wMywwLjc1LTAuMTEKCQlDMTMuMDUsNy42NSwxMy42OSw3LDEzLjksNi4yQzE0LjM2LDQuNTIsMTMuMTEsMywxMS41LDNjLTEuMjEsMC0yLjIyLDAuODYtMi40NSwySDQuNzFMMiwyLjI5VjJoMTN2NS41QzE1LDcuNzc2LDE1LjIyNCw4LDE1LjUsOAoJCVMxNiw3Ljc3NiwxNiw3LjVWMkMxNiwxLjQ1LDE1LjU1LDEsMTUsMXogTTExLjUsNEMxMi4zMyw0LDEzLDQuNjcsMTMsNS41QzEzLDYuMzMsMTIuMzMsNywxMS41LDdTMTAsNi4zMywxMCw1LjUKCQlDMTAsNC42NywxMC42Nyw0LDExLjUsNHoiLz4KCTxwYXRoIGQ9Ik0xNS41LDEyaC0xLjQ5NHYtMS40OTRjMC0wLjI3Ni0wLjIyNC0wLjUtMC41LTAuNXMtMC41LDAuMjI0LTAuNSwwLjVWMTJoLTEuNDk0Yy0wLjI3NiwwLTAuNSwwLjIyNC0wLjUsMC41CgkJYzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVoMS40OTR2MS40OTRjMCwwLjI3NiwwLjIyNCwwLjUsMC41LDAuNXMwLjUtMC4yMjQsMC41LTAuNVYxM0gxNS41YzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjUKCQlDMTYsMTIuMjI0LDE1Ljc3NiwxMiwxNS41LDEyeiIvPgo8L2c+Cjwvc3ZnPgo="});var R0t=xe((gpn,qVo)=>{qVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNNy41LDE1SDN2LTRoMS41QzQuNzgsMTEsNSwxMC43OCw1LDEwLjVjMC0wLjA5LTAuMDItMC4xOC0wLjA2LTAuMjVDNC44NSwxMC4xLDQuNjksMTAsNC41LDEwaC00CgkJYy0wLjE5LDAtMC4zNSwwLjEtMC40MywwLjI1QzAuMDIsMTAuMzIsMCwxMC40MSwwLDEwLjVDMCwxMC43OCwwLjIyLDExLDAuNSwxMUgydjRjMCwwLjU1LDAuNDUsMSwxLDFoNC41QzcuNzgsMTYsOCwxNS43OCw4LDE1LjUKCQlDOCwxNS4yMiw3Ljc4LDE1LDcuNSwxNXoiLz4KCTxwYXRoIGQ9Ik0xNCw0aC0xVjJjMC0wLjU1LTAuNDUtMS0xLTFIM0MyLjQ1LDEsMiwxLjQ1LDIsMnY0SDAuNUMwLjMxLDYsMC4xNSw2LjEsMC4wNyw2LjI1QzAuMDIsNi4zMiwwLDYuNDEsMCw2LjUKCQlDMCw2Ljc4LDAuMjIsNywwLjUsN2g0QzQuNzgsNyw1LDYuNzgsNSw2LjVjMC0wLjA5LTAuMDItMC4xOC0wLjA2LTAuMjVDNC44NSw2LjEsNC42OSw2LDQuNSw2SDNWMmg5djJoLTFjLTAuNTUsMC0xLDAuNDUtMSwxdjMuNQoJCUMxMCw4Ljc4LDEwLjIyLDksMTAuNSw5UzExLDguNzgsMTEsOC41VjVoM3YzLjVDMTQsOC43OCwxNC4yMiw5LDE0LjUsOVMxNSw4Ljc4LDE1LDguNVY1QzE1LDQuNDUsMTQuNTUsNCwxNCw0eiIvPgoJPHBhdGggZD0iTTE0LjUsMTNoLTEuNDk0di0xLjQ5NGMwLTAuMjc2LTAuMjI0LTAuNS0wLjUtMC41cy0wLjUsMC4yMjQtMC41LDAuNVYxM2gtMS40OTRjLTAuMjc2LDAtMC41LDAuMjI0LTAuNSwwLjUKCQljMCwwLjI3NiwwLjIyNCwwLjUsMC41LDAuNWgxLjQ5NHYxLjQ5NGMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41czAuNS0wLjIyNCwwLjUtMC41VjE0SDE0LjVjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNQoJCUMxNSwxMy4yMjQsMTQuNzc2LDEzLDE0LjUsMTN6Ii8+CjwvZz4KPC9zdmc+Cg=="});var _0t=xe((bpn,XVo)=>{XVo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNOS41LDE1SDNWMmg1djNjMCwwLjU1LDAuNDUsMSwxLDFoNHYyLjVDMTMsOC43OCwxMy4yMiw5LDEzLjUsOVMxNCw4Ljc4LDE0LDguNVY1LjdjMC0wLjI2LTAuMTEtMC41Mi0wLjI5LTAuNwoJCWMtMC4zNy0wLjI5LTAuNzMtMC41Ny0xLjA5LTAuODZjLTAuNzEtMC41NS0xLjQxLTEuMTEtMi4xMi0xLjY3QzEwLjEzLDIuMTgsOS43NiwxLjksOS4zOSwxLjYxQzkuMDYsMS4zNCw4Ljc2LDEsOC4zLDFIMwoJCUMyLjQ1LDEsMiwxLjQ1LDIsMnYxM2MwLDAuNTUsMC40NSwxLDEsMWg2LjVjMC4yOCwwLDAuNS0wLjIyLDAuNS0wLjVDMTAsMTUuMjIsOS43OCwxNSw5LjUsMTV6IE05LDIuNzFMMTIuMjksNUg5VjIuNzF6Ii8+Cgk8cGF0aCBkPSJNMTUuNSwxM2gtMS40OTR2LTEuNDk0YzAtMC4yNzYtMC4yMjQtMC41LTAuNS0wLjVzLTAuNSwwLjIyNC0wLjUsMC41VjEzaC0xLjQ5NGMtMC4yNzYsMC0wLjUsMC4yMjQtMC41LDAuNQoJCWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41aDEuNDk0djEuNDk0YzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVzMC41LTAuMjI0LDAuNS0wLjVWMTRIMTUuNWMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41CgkJQzE2LDEzLjIyNCwxNS43NzYsMTMsMTUuNSwxM3oiLz4KPC9nPgo8L3N2Zz4K"});var j0t=xe((ypn,$Vo)=>{$Vo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik02LjQ5OSw4Ljk5N2MtMS4zODEtMC4wMDItMi41MDIsMS4xMTUtMi41MDQsMi40OTZjLTAuMDAyLDEuMzgxLDEuMTE2LDIuNTAyLDIuNDk2LDIuNTA0CgljMS4zODEsMC4wMDIsMi41MDItMS4xMTYsMi41MDQtMi40OTZDOC45OTgsMTAuMTIsNy44OCw4Ljk5OSw2LjQ5OSw4Ljk5N3ogTTYuNDkzLDEyLjk5N2MtMC44MjctMC4wMDEtMS40OTktMC42NzUtMS40OTgtMS41MDIKCWMwLjAwMS0wLjgyNywwLjY3NS0xLjQ5OSwxLjUwMi0xLjQ5OGMwLjgyNywwLjAwMSwxLjQ5OSwwLjY3NSwxLjQ5OCwxLjUwMkM3Ljk5NCwxMi4zMjYsNy4zMiwxMi45OTgsNi40OTMsMTIuOTk3eiIvPgo8cGF0aCBkPSJNMTUuNSwxMmgtMS40OTR2LTEuNDk0YzAtMC4yNzYtMC4yMjQtMC41LTAuNS0wLjVzLTAuNSwwLjIyNC0wLjUsMC41VjEyaC0xLjQ5NGMtMC4yNzYsMC0wLjUsMC4yMjQtMC41LDAuNQoJYzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVoMS40OTR2MS40OTRjMCwwLjI3NiwwLjIyNCwwLjUsMC41LDAuNXMwLjUtMC4yMjQsMC41LTAuNVYxM0gxNS41YzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjUKCUMxNiwxMi4yMjQsMTUuNzc2LDEyLDE1LjUsMTJ6Ii8+CjxwYXRoIGQ9Ik0xNSwxSDJDMS40NSwxLDEsMS40NSwxLDJ2MTNjMCwwLjU1LDAuNDUsMSwxLDFoNi41QzguNzgsMTYsOSwxNS43OCw5LDE1LjVDOSwxNS4yMiw4Ljc4LDE1LDguNSwxNUgyVjkuNzFMNS43MSw2SDE1djEuNQoJQzE1LDcuNzgsMTUuMjIsOCwxNS41LDhTMTYsNy43OCwxNiw3LjVWMkMxNiwxLjQ1LDE1LjU1LDEsMTUsMXogTTE1LDVINS43QzUuNDQsNSw1LjE4LDUuMTEsNSw1LjI5bC0zLDNWMmgxM1Y1eiIvPgo8L3N2Zz4K"});var B0t=xe((wpn,eHo)=>{eHo.exports="data:image/svg+xml;base64, "});var cAe=xe((Cpn,tHo)=>{tHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LjUwNiwxM0g5LjQ5NEM5LjIyMSwxMyw5LDEyLjc3OSw5LDEyLjUwNnYwYzAtMC4yNzMsMC4yMjEtMC40OTQsMC40OTQtMC40OTRoNi4wMTFjMC4yNzMsMCwwLjQ5NCwwLjIyMSwwLjQ5NCwwLjQ5NHYwCglDMTYsMTIuNzc5LDE1Ljc3OSwxMywxNS41MDYsMTN6Ii8+CjxwYXRoIGQ9Ik0xMi4wMTEsMTUuNTA2VjkuNDk0QzEyLjAxMSw5LjIyMSwxMi4yMzMsOSwxMi41MDYsOWgwQzEyLjc3OSw5LDEzLDkuMjIxLDEzLDkuNDk0djYuMDExQzEzLDE1Ljc3OSwxMi43NzksMTYsMTIuNTA2LDE2aDAKCUMxMi4yMzMsMTYsMTIuMDExLDE1Ljc3OSwxMi4wMTEsMTUuNTA2eiIvPgo8Zz4KCTxwYXRoIGQ9Ik0xNSw0VjNjMC0wLjU1LTAuNDUtMS0xLTFINi43TDUuOTksMS4yOUM1LjgxLDEuMTEsNS41NSwxLDUuMjksMUgyQzEuNDUsMSwxLDEuNDUsMSwydjEzYzAsMC41NSwwLjQ1LDEsMSwxaDUuNQoJCUM3Ljc3NiwxNiw4LDE1Ljc3Niw4LDE1LjVDOCwxNS4yMjQsNy43NzYsMTUsNy41LDE1SDJWMmgzLjNsMC45OSwwLjk5bDEuMDksMS4wOUw4LDQuN2MwLjE4LDAuMTgsMC40NCwwLjI5LDAuNywwLjI5SDE1VjcuNQoJCUMxNSw3Ljc3NiwxNS4yMjQsOCwxNS41LDhTMTYsNy43NzYsMTYsNy41VjVDMTYsNC40NSwxNS41NSw0LDE1LDR6IE0xNC4wMSw0SDguN0w3LjY5LDIuOTloNi4zMlY0eiIvPgoJPHBhdGggZD0iTTE1LjUwNiwxMi4wMTFIMTNWOS40OTRDMTMsOS4yMjEsMTIuNzc5LDksMTIuNTA2LDljLTAuMjczLDAtMC40OTQsMC4yMjEtMC40OTQsMC40OTR2Mi41MTdIOS40OTQKCQlDOS4yMjEsMTIuMDExLDksMTIuMjMzLDksMTIuNTA2QzksMTIuNzc5LDkuMjIxLDEzLDkuNDk0LDEzaDIuNTE3djIuNTA2YzAsMC4yNzMsMC4yMjEsMC40OTQsMC40OTQsMC40OTQKCQlDMTIuNzc5LDE2LDEzLDE1Ljc3OSwxMywxNS41MDZWMTNoMi41MDZDMTUuNzc5LDEzLDE2LDEyLjc3OSwxNiwxMi41MDZDMTYsMTIuMjMzLDE1Ljc3OSwxMi4wMTEsMTUuNTA2LDEyLjAxMXoiLz4KPC9nPgo8L3N2Zz4K"});var VJt=xe((xpn,iHo)=>{iHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHJlY3QgZmlsbD0ibm9uZSIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+CjxwYXRoIGQ9Ik0xMyw0VjNjMC0wLjU1LTAuNDUtMS0xLTFINi43TDUuOTksMS4yOUM1LjgxLDEuMTEsNS41NSwxLDUuMjksMUgyQzEuNDUsMSwxLDEuNDUsMSwydjEzYzAsMC40MiwwLjI2LDAuNzgsMC42MywwLjkyCglDMS43NSwxNS45NywxLjg4LDE2LDIuMDIsMTZIMTNjMC41NSwwLDEtMC40NSwxLTF2LTMuMDlMMTMuMjEsMTVIMlYyaDMuM2wwLjk5LDAuOTlsMS4wOSwxLjA5TDgsNC43YzAuMTgsMC4xOCwwLjQ0LDAuMjksMC43LDAuMjkKCUgxM1Y4aDFWNUMxNCw0LjQ1LDEzLjU1LDQsMTMsNHogTTEyLjAxLDRIOC43TDcuNjksMi45OWg0LjMyVjR6Ii8+CjxwYXRoIGQ9Ik0xNSw3SDMuODFDMy4zNiw3LDIuOTYsNy4zMSwyLjg0LDcuNzVMMiwxMS4wNWwtMC45NCwzLjdjLTAuMTMsMC40OSwwLjEzLDAuOTgsMC41NywxLjE3QzEuNzUsMTUuOTcsMS44OCwxNiwyLjAyLDE2aDExLjE5CgljMC40NiwwLDAuODYtMC4zMSwwLjk3LTAuNzVsMS43OS03QzE2LjEzLDcuNjIsMTUuNjUsNywxNSw3eiBNMTQsMTEuOTFMMTMuMjEsMTVIMi4wMmwxLjc5LTdIMTVMMTQsMTEuOTF6Ii8+Cjwvc3ZnPgo="});var dAe=xe((Tpn,oHo)=>{oHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNOCwwQzcuODY5LDAsNy43MzgsMC4wMjcsNy42MiwwLjA4MkwwLjQsMy40MzRjLTAuNTMzLDAuMjQ3LTAuNTMzLDAuODg1LDAsMS4xMzJsNy4yMiwzLjM1MkM3LjczOCw3Ljk3Myw3Ljg2OSw4LDgsOAoJCQlzMC4yNjItMC4wMjcsMC4zOC0wLjA4Mmw3LjIyLTMuMzUyYzAuNTMzLTAuMjQ3LDAuNTMzLTAuODg1LDAtMS4xMzJMOC4zOCwwLjA4MkM4LjI2MiwwLjAyNyw4LjEzMSwwLDgsMEw4LDB6IE04LDYuOTkyTDEuNTU1LDQKCQkJTDgsMS4wMDhMMTQuNDQ1LDRMOCw2Ljk5Mkw4LDYuOTkyeiIvPgoJPC9nPgoJPGc+CgkJPHBhdGggZD0iTTE1LjUxNyw3LjUzYy0wLjAxMiwwLTAuMDI0LDAtMC4wMzYsMC4wMDFjLTAuMTc4LDAuMDEzLTAuMzU0LDAuMTM1LTAuNTEzLDAuMjExYy0wLjE5NywwLjA5NC0wLjM5MywwLjE4OC0wLjU5LDAuMjgyCgkJCWMtMC41MzcsMC4yMy0xLjA2NiwwLjQ5My0xLjU5NCwwLjczOWMtMC44MjUsMC4zODQtMS42NSwwLjc2OC0yLjQ3NiwxLjE1M2MtMC42MzYsMC4yOTYtMS4yNzEsMC41OTItMS45MDcsMC44ODgKCQkJQzguMjY4LDEwLjg2NSw4LjEzNCwxMC45MjgsOCwxMC45OWMtMC44NjYtMC40MDMtMS43MzItMC44MDctMi41OTgtMS4yMUM0LjEsOS4xNzQsMi44LDguNTY0LDEuNDk3LDcuOTYKCQkJQzEuMjQ4LDcuODQ1LDEuMDAyLDcuNzI1LDAuNzU1LDcuNjA2QzAuNjY5LDcuNTY1LDAuNTc5LDcuNTQ1LDAuNDkzLDcuNTQ1QzAuMjMsNy41NDUsMCw3LjczLDAsOC4wNQoJCQljMCwwLjIxNCwwLjExNSwwLjM3MywwLjMwMywwLjQ2YzEuMjYzLDAuNTksMi41MjcsMS4xNzgsMy43OSwxLjc2N2MxLjEwNCwwLjUxNCwyLjIwOCwxLjAyOSwzLjMxMiwxLjU0MwoJCQljMC4wNywwLjAzMywwLjE0MSwwLjA3NiwwLjIxNSwwLjFDNy43NCwxMS45Nyw3Ljg3LDEyLDgsMTJzMC4yNi0wLjAzLDAuMzgtMC4wOGMwLDAsNy4xODktMy4zNSw3LjE5LTMuMzUKCQkJYzAuMDctMC4wMzIsMC4xNDMtMC4wNiwwLjIxLTAuMDk5YzAuMDY2LTAuMDM4LDAuMTEzLTAuMDksMC4xNTEtMC4xNTZjMC4wMzYtMC4wNjMsMC4wNTgtMC4xMzMsMC4wNjYtMC4yMDUKCQkJQzE1Ljk5OSw4LjA5LDE2LDguMDcsMTYsOC4wNWMwLTAuMTctMC4wOS0wLjMzOC0wLjIyOC0wLjQzN0MxNS42OSw3LjU1NCwxNS42MDQsNy41MywxNS41MTcsNy41M0wxNS41MTcsNy41M3oiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik0xNS41MTcsMTEuNTNjLTAuMDEyLDAtMC4wMjQsMC0wLjAzNiwwLjAwMWMtMC4xNzgsMC4wMTMtMC4zNTQsMC4xMzUtMC41MTMsMC4yMTFjLTAuMTk3LDAuMDk0LTAuMzkzLDAuMTg4LTAuNTksMC4yODIKCQkJYy0wLjUzNywwLjIzLTEuMDY2LDAuNDkzLTEuNTk0LDAuNzM5Yy0wLjgyNSwwLjM4NC0xLjY1LDAuNzY4LTIuNDc2LDEuMTUzYy0wLjYzNiwwLjI5Ni0xLjI3MSwwLjU5Mi0xLjkwNywwLjg4OAoJCQlDOC4yNjgsMTQuODY1LDguMTM0LDE0LjkyOCw4LDE0Ljk5Yy0wLjg2Ni0wLjQwMy0xLjczMi0wLjgwNy0yLjU5OC0xLjIxQzQuMSwxMy4xNzQsMi44LDEyLjU2NCwxLjQ5NywxMS45NgoJCQljLTAuMjQ5LTAuMTE1LTAuNDk1LTAuMjM1LTAuNzQyLTAuMzU0Yy0wLjA4Ni0wLjA0MS0wLjE3Ni0wLjA2MS0wLjI2Mi0wLjA2MUMwLjIzLDExLjU0NSwwLDExLjczLDAsMTIuMDUKCQkJYzAsMC4yMTQsMC4xMTUsMC4zNzMsMC4zMDMsMC40NmMxLjI2MywwLjU5LDIuNTI3LDEuMTc4LDMuNzksMS43NjdjMS4xMDQsMC41MTQsMi4yMDgsMS4wMjksMy4zMTIsMS41NDMKCQkJYzAuMDcsMC4wMzMsMC4xNDEsMC4wNzYsMC4yMTUsMC4xQzcuNzQsMTUuOTcsNy44NywxNiw4LDE2czAuMjYtMC4wMywwLjM4LTAuMDhjMCwwLDcuMTg5LTMuMzUsNy4xOS0zLjM1CgkJCWMwLjA3LTAuMDMyLDAuMTQzLTAuMDYsMC4yMS0wLjA5OWMwLjA2Ni0wLjAzOCwwLjExMy0wLjA5LDAuMTUxLTAuMTU2YzAuMDM2LTAuMDYzLDAuMDU4LTAuMTMzLDAuMDY2LTAuMjA1CgkJCUMxNS45OTksMTIuMDksMTYsMTIuMDcsMTYsMTIuMDVjMC0wLjE3LTAuMDktMC4zMzgtMC4yMjgtMC40MzdDMTUuNjksMTEuNTU0LDE1LjYwNCwxMS41MywxNS41MTcsMTEuNTNMMTUuNTE3LDExLjUzeiIvPgoJPC9nPgo8L2c+Cjwvc3ZnPgo="});var uAe=xe((Spn,rHo)=>{rHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LDRWM2MwLTAuNTUyLTAuNDQ4LTEtMS0xSDYuN0w1Ljk5MywxLjI5M0M1LjgwNSwxLjEwNSw1LjU1MSwxLDUuMjg2LDFINC4zSDJDMS40NSwxLDEsMS40NSwxLDJ2MTNjMCwwLjU1LDAuNDUsMSwxLDFoMTMKCWMwLjU1LDAsMS0wLjQ1LDEtMVY1QzE2LDQuNDQ4LDE1LjU1Miw0LDE1LDR6IE0xNC4wMSwyLjk5VjRIOC43TDcuNjksMi45OUgxNC4wMXogTTE1LDE1SDJWMmgzLjNsMC45OSwwLjk5bDEuMDksMS4wOWwwLjYxNywwLjYxNwoJQzguMTg1LDQuODg1LDguNDM5LDQuOTksOC43MDQsNC45OUg5LjY5aDQuMzJIMTVWMTV6Ii8+Cjwvc3ZnPgo="});var z0t=xe((Mpn,nHo)=>{nHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNNS40OTQsMC4wNDNjLTAuMTkzLDAtMC4zODYsMC4xMDYtMC40NjYsMC4zMzZMMC4wNiwxNC42M0MtMC4xNzMsMTUuMjk3LDAuMzA0LDE2LDAuOTg4LDE2aDQuMDI0CgkJQzUuNTU4LDE2LDYsMTUuNTQyLDYsMTQuOTc3VjAuNTQzQzYsMC4yMjQsNS43NDcsMC4wNDMsNS40OTQsMC4wNDN6IE0xLjAwNCwxNC45NTlsMy45OTktMTEuNDdMNS4wMTMsMTVMMS4wMDQsMTQuOTU5eiIvPgoJPHBhdGggZD0iTTE1Ljc0NCwxNC45MjlsLTYuOTYxLTQuNzMxQzguNTgyLDEwLjA2Miw4LjM2MywxMCw4LjE1LDEwQzcuNTU0LDEwLDcsMTAuNDgzLDcsMTEuMTcxdjMuNjZDNywxNS40NzcsNy41MTMsMTYsOC4xNDcsMTYKCQloNy4yNzlDMTUuOTkzLDE2LDE2LjIxNiwxNS4yNSwxNS43NDQsMTQuOTI5eiBNOC4xNDcsMTVDOC4wNjYsMTUsOCwxNC45MjQsOCwxNC44MzF2LTMuNjZDOCwxMS4wMjksOC4xMTgsMTEsOC4xNSwxMQoJCWMwLjAxNiwwLDAuMDM4LDAuMDAzLDAuMDcxLDAuMDI1TDE0LjA2OSwxNUg4LjE0N3oiLz4KCTxwYXRoIGQ9Ik05LjQ0OCw0Ljk0YzAuMTUxLDAuMjMxLDAuNDYxLDAuMjk3LDAuNjkyLDAuMTQ2YzAuMjMxLTAuMTUxLDAuMjk3LTAuNDYxLDAuMTQ2LTAuNjkyTDkuODY2LDMuNzQ4CgkJYzEuMzA5LDAuNDYzLDIuNDIzLDEuMjksMy4xNTYsMi40MTRjMC44MywxLjI3NCwxLjE0NywyLjg0NCwwLjg5Myw0LjQxOWMtMC4wNDQsMC4yNzIsMC4xNCwwLjUyOSwwLjQxNCwwLjU3MwoJCWMwLjI3MiwwLjA0NCwwLjUyOS0wLjE0MSwwLjU3My0wLjQxNGMwLjI5NC0xLjgyMS0wLjA3Ni0zLjY0LTEuMDQzLTUuMTIzYy0wLjg3OC0xLjM0OC0yLjIwOS0yLjM1MS0zLjc4Mi0yLjg3NmwwLjY0Ny0wLjQyMgoJCWMwLjIzMS0wLjE1MSwwLjI5Ny0wLjQ2MSwwLjE0Ni0wLjY5MmMtMC4xNTEtMC4yMzEtMC40Ni0wLjI5Ny0wLjY5Mi0wLjE0Nkw4LjUwMywyLjU3M0M4LjI3MSwyLjcyMyw4LjIwNiwzLjAzMyw4LjM1NywzLjI2NQoJCUw5LjQ0OCw0Ljk0eiIvPgo8L2c+Cjwvc3ZnPgo="});var F0t=xe((Ipn,aHo)=>{aHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUuOTQsMTQuNjNMMTAuOTcyLDAuMzc5Yy0wLjA4LTAuMjMtMC4yNzMtMC4zMzYtMC40NjYtMC4zMzZjLTAuMjUzLDAtMC41MDYsMC4xODEtMC41MDYsMC41djE0LjQzNAoJCUMxMCwxNS41NDIsMTAuNDQyLDE2LDEwLjk4NywxNmg0LjAyNEMxNS42OTYsMTYsMTYuMTczLDE1LjI5NywxNS45NCwxNC42M3ogTTExLDE0Ljk3N1YzLjQ5NkwxNS4wMTIsMTVMMTEsMTQuOTc3eiIvPgoJPHBhdGggZD0iTTcuODUsMTBjLTAuMjEzLDAtMC40MzIsMC4wNjItMC42MzMsMC4xOThsLTYuOTYxLDQuNzMxQy0wLjIxNiwxNS4yNSwwLjAwNywxNiwwLjU3NCwxNmg3LjI3OUM4LjQ4NywxNiw5LDE1LjQ3Nyw5LDE0LjgzMQoJCXYtMy42NkM5LDEwLjQ4Myw4LjQ0NiwxMCw3Ljg1LDEweiBNOCwxNC44MzFDOCwxNC45MjQsNy45MzQsMTUsNy44NTMsMTVIMS45MzFsNS44NDgtMy45NzVDNy44MTMsMTEuMDAzLDcuODM1LDExLDcuODUsMTEKCQlDNy44ODIsMTEsOCwxMS4wMjksOCwxMS4xNzFWMTQuODMxeiIvPgoJPHBhdGggZD0iTTEuNjcxLDExLjE1NGMwLjI3NC0wLjA0NCwwLjQ1OC0wLjMwMSwwLjQxNC0wLjU3M0MxLjgzMSw5LjAwNiwyLjE0OCw3LjQzNywyLjk3OSw2LjE2MgoJCWMwLjczMi0xLjEyNCwxLjg0Ny0xLjk1MSwzLjE1Ni0yLjQxNEw1LjcxNCw0LjM5NUM1LjU2Myw0LjYyNiw1LjYyOCw0LjkzNiw1Ljg2LDUuMDg2QzYuMDkxLDUuMjM3LDYuNDAxLDUuMTcyLDYuNTUyLDQuOTQKCQlsMS4wOTItMS42NzZjMC4xNTEtMC4yMzEsMC4wODUtMC41NDEtMC4xNDYtMC42OTJMNS44MjEsMS40ODFDNS41OSwxLjMzLDUuMjgsMS4zOTYsNS4xMywxLjYyNwoJCUM0Ljk3OSwxLjg1OCw1LjA0NCwyLjE2OCw1LjI3NiwyLjMxOWwwLjY0NywwLjQyMkM0LjM0OSwzLjI2NSwzLjAxOSw0LjI2OSwyLjE0MSw1LjYxN0MxLjE3NSw3LjEsMC44MDUsOC45MTksMS4wOTgsMTAuNzQKCQlDMS4xNDIsMTEuMDEzLDEuMzk5LDExLjE5OCwxLjY3MSwxMS4xNTR6Ii8+CjwvZz4KPC9zdmc+Cg=="});var U0t=xe((Lpn,sHo)=>{sHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMC4wMjgsMTAuNjQzYzAuMDI4LDAuMDk1LDAuMDc5LDAuMTc1LDAuMTUyLDAuMjM2YzAuMDE0LDAuMDEyLDAuMDI4LDAuMDE5LDAuMDQ0LDAuMDI5QzAuMzA0LDEwLjk2MSwwLjM5NSwxMSwwLjUsMTFIMQoJCWgzLjUyaDAuNDloMC41MWMwLjI4LDAsMC41LTAuMjIsMC41LTAuNWMwLTAuMjgtMC4yMi0wLjUtMC41LTAuNWgtMC41aC0wLjVIMS4wMUgwLjVjLTAuMTA0LDAtMC4xOTQsMC4wMzgtMC4yNzMsMC4wOQoJCWMtMC4wMTUsMC4wMS0wLjAyOCwwLjAxNi0wLjA0MSwwLjAyN0MwLjA3NCwxMC4yMDksMCwxMC4zNDIsMCwxMC41YzAsMC4wNSwwLjAxLDAuMDksMC4wMiwwLjEzCgkJQzAuMDIxLDEwLjYzNSwwLjAyNywxMC42MzgsMC4wMjgsMTAuNjQzeiIvPgoJPHBhdGggZD0iTTE0LjI5OSwxMy41OTJjMC0wLjAwMSwwLjAwMS0wLjAwMSwwLjAwMS0wLjAwMmMwLjQ0LTAuNTgsMC43LTEuMzEsMC43LTIuMDlDMTUsOS41NywxMy40Myw4LDExLjUsOFM4LDkuNTcsOCwxMS41CgkJUzkuNTcsMTUsMTEuNSwxNWMwLjc4LDAsMS41MS0wLjI2LDIuMDktMC43YzAsMCwwLjAwMS0wLjAwMSwwLjAwMS0wLjAwMWwxLjU1NSwxLjU1NUMxNS4yNDQsMTUuOTUxLDE1LjM3MiwxNiwxNS41LDE2CgkJczAuMjU2LTAuMDQ5LDAuMzU0LTAuMTQ2YzAuMTk1LTAuMTk1LDAuMTk1LTAuNTEyLDAtMC43MDdMMTQuMjk5LDEzLjU5MnogTTExLjUsMTRDMTAuMTIsMTQsOSwxMi44OCw5LDExLjVTMTAuMTIsOSwxMS41LDkKCQlzMi41LDEuMTIsMi41LDIuNVMxMi44OCwxNCwxMS41LDE0eiIvPgoJPHBhdGggZD0iTTAuNSwyaDE1QzE1Ljc3NiwyLDE2LDEuNzc2LDE2LDEuNUMxNiwxLjIyNCwxNS43NzYsMSwxNS41LDFoLTE1QzAuMjI0LDEsMCwxLjIyNCwwLDEuNUMwLDEuNzc2LDAuMjI0LDIsMC41LDJ6Ii8+Cgk8cGF0aCBkPSJNMC41LDZoMy4xNWgzLjdoNi4xNUMxMy43OCw2LDE0LDUuNzgsMTQsNS41QzE0LDUuMjIsMTMuNzgsNSwxMy41LDVoLTMuMTVoLTNoLTAuN0gwLjVDMC40MTEsNSwwLjMzMiw1LjAyOCwwLjI2MSw1LjA2OAoJCUMwLjI0LDUuMDc5LDAuMjIzLDUuMDkxLDAuMjA0LDUuMTA1QzAuMTQ5LDUuMTQ3LDAuMTAzLDUuMTk3LDAuMDY5LDUuMjU4QzAuMDY0LDUuMjY3LDAuMDU0LDUuMjcxLDAuMDUsNS4yOAoJCUMwLjA0OSw1LjI4MywwLjA0OSw1LjI4NywwLjA0OCw1LjI5QzAuMDE5LDUuMzU0LDAsNS40MjQsMCw1LjVDMCw1Ljc4LDAuMjIsNiwwLjUsNnoiLz4KCTxwYXRoIGQ9Ik03LjUsMTVINy4yNUg3LjA2SDAuNUMwLjIyLDE1LDAsMTUuMjIsMCwxNS41djAuMDRDMC4wMiwxNS44LDAuMjMsMTYsMC41LDE2aDAuMjVoNi4zMUg3LjVDNy43OCwxNiw4LDE1Ljc4LDgsMTUuNXYtMC4wNAoJCUM3Ljk4LDE1LjIsNy43NywxNSw3LjUsMTV6Ii8+CjwvZz4KPC9zdmc+Cg=="});var V0t=xe((vpn,lHo)=>{lHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cmVjdCB5PSIwIiBmaWxsPSJub25lIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KCTxnPgoJCTxwYXRoIGQ9Ik0xNS44NTQsMTQuMTQ2bC0xLjU1NS0xLjU1NWMwLDAsMC4wMDEtMC4wMDEsMC4wMDEtMC4wMDJjMC40NC0wLjU4LDAuNy0xLjMxLDAuNy0yLjA5QzE1LDguNTcsMTMuNDMsNywxMS41LDcKCQkJUzgsOC41Nyw4LDEwLjVTOS41NywxNCwxMS41LDE0YzAuNzgsMCwxLjUxLTAuMjYsMi4wOS0wLjdsMC4wMDEtMC4wMDFsMS41NTUsMS41NTVDMTUuMjQ0LDE0Ljk1MSwxNS4zNzIsMTUsMTUuNSwxNQoJCQlzMC4yNTYtMC4wNDksMC4zNTQtMC4xNDZDMTYuMDQ5LDE0LjY1OCwxNi4wNDksMTQuMzQyLDE1Ljg1NCwxNC4xNDZ6IE0xMS41LDEzQzEwLjEyLDEzLDksMTEuODgsOSwxMC41UzEwLjEyLDgsMTEuNSw4CgkJCVMxNCw5LjEyLDE0LDEwLjVTMTIuODgsMTMsMTEuNSwxM3oiLz4KCQk8cGF0aCBkPSJNNi41LDE0SDV2LTJ2LTFWNGg0aDFoM3YxLjVDMTMsNS43NzYsMTMuMjI0LDYsMTMuNSw2UzE0LDUuNzc2LDE0LDUuNVY0YzAtMC41NS0wLjQ1LTEtMS0xaC0zVjFjMC0wLjU1LTAuNDUtMS0xLTFIMQoJCQlDMC40NSwwLDAsMC40NSwwLDF2MTBjMCwwLjU1LDAuNDUsMSwxLDFoM3YyYzAsMC41NSwwLjQ1LDEsMSwxaDEuNUM2Ljc3NiwxNSw3LDE0Ljc3Niw3LDE0LjVTNi43NzYsMTQsNi41LDE0eiBNMSwxMVYxaDh2Mkg1CgkJCUM0LjQ1LDMsNCwzLjQ1LDQsNHY3SDF6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var H0t=xe((Dpn,cHo)=>{cHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwIgoJIHk9IjAiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPScyJyBmaWxsPSJub25lIj48L3JlY3Q+Cgk8cGF0aCBkPSJNMTIsM0g4aDBDNy40NDgsMyw3LDMuNDQ4LDcsNHYwdjNINGgwQzMuNDQ4LDcsMyw3LjQ0OCwzLDh2MHY0YzAsMC41NSwwLjQ1LDEsMSwxaDhjMC41NSwwLDEtMC40NSwxLTFWNAoJQzEzLDMuNDUsMTIuNTUsMywxMiwzeiBNMTIsMTJINFY4aDNjMC41NSwwLDEtMC40NSwxLTFWNGg0VjEyeiIvPgo8L3N2Zz4K"});var G0t=xe((Epn,dHo)=>{dHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUuODU0LDE1LjE0NmwtMi43MTQtMi43MTRDMTQuMjk1LDExLjExNCwxNSw5LjM5MSwxNSw3LjVDMTUsMy4zNTgsMTEuNjQyLDAsNy41LDBTMCwzLjM1OCwwLDcuNVMzLjM1OCwxNSw3LjUsMTUKCQljMS44OTEsMCwzLjYxNC0wLjcwNSw0LjkzMy0xLjg2bDIuNzE0LDIuNzE0YzAuMTk1LDAuMTk1LDAuNTEyLDAuMTk1LDAuNzA3LDBDMTYuMDQ5LDE1LjY1OCwxNi4wNDksMTUuMzQyLDE1Ljg1NCwxNS4xNDZ6IE03LjUsMTQKCQlDMy45MTYsMTQsMSwxMS4wODQsMSw3LjVTMy45MTYsMSw3LjUsMVMxNCwzLjkxNiwxNCw3LjVTMTEuMDg0LDE0LDcuNSwxNHoiLz4KCTxwYXRoIGQ9Ik0xMS41LDdIOFYzLjVDOCwzLjIyNCw3Ljc3NiwzLDcuNSwzUzcsMy4yMjQsNywzLjVWN0gzLjVDMy4yMjQsNywzLDcuMjI0LDMsNy41UzMuMjI0LDgsMy41LDhIN3YzLjUKCQlDNywxMS43NzYsNy4yMjQsMTIsNy41LDEyUzgsMTEuNzc2LDgsMTEuNVY4aDMuNUMxMS43NzYsOCwxMiw3Ljc3NiwxMiw3LjVTMTEuNzc2LDcsMTEuNSw3eiIvPgo8L2c+Cjwvc3ZnPgo="});var Y0t=xe((Apn,uHo)=>{uHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUuODU0LDE1LjE0NmwtMi43MTQtMi43MTRDMTQuMjk1LDExLjExNCwxNSw5LjM5MSwxNSw3LjVDMTUsMy4zNTgsMTEuNjQyLDAsNy41LDBTMCwzLjM1OCwwLDcuNVMzLjM1OCwxNSw3LjUsMTUKCQljMS44OTEsMCwzLjYxNC0wLjcwNSw0LjkzMy0xLjg2bDIuNzE0LDIuNzE0YzAuMTk1LDAuMTk1LDAuNTEyLDAuMTk1LDAuNzA3LDBDMTYuMDQ5LDE1LjY1OCwxNi4wNDksMTUuMzQyLDE1Ljg1NCwxNS4xNDZ6IE03LjUsMTQKCQlDMy45MTYsMTQsMSwxMS4wODQsMSw3LjVTMy45MTYsMSw3LjUsMVMxNCwzLjkxNiwxNCw3LjVTMTEuMDg0LDE0LDcuNSwxNHoiLz4KCTxwYXRoIGQ9Ik0xMC41LDdoLTZDNC4yMjQsNyw0LDcuMjI0LDQsNy41QzQsNy43NzYsNC4yMjQsOCw0LjUsOGg2QzEwLjc3Niw4LDExLDcuNzc2LDExLDcuNUMxMSw3LjIyNCwxMC43NzYsNywxMC41LDd6Ii8+CjwvZz4KPC9zdmc+Cg=="});var W0t=xe((Npn,pHo)=>{pHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTAsOWMwLDIuNzUsMi4yNSw1LDUsNWg5LjVjMC4yOCwwLDAuNS0wLjIyLDAuNS0wLjVjMC0wLjI4LTAuMjItMC41LTAuNS0wLjVINWMtMi4yMSwwLTQtMS43OS00LTRjMC0yLjIxLDEuNzktNCw0LTRoMTAuNQoJYzAuMDcsMCwwLjEzLTAuMDEsMC4xOS0wLjA0aDAuMDFjMC4xMi0wLjA1LDAuMjEtMC4xNCwwLjI2LTAuMjZWNC42OUMxNS45OSw0LjYzLDE2LDQuNTcsMTYsNC41cy0wLjAxLTAuMTMtMC4wNC0wLjE5VjQuMwoJYy0wLjAxLTAuMDMtMC4wMy0wLjA0LTAuMDUtMC4wNmMtMC4wMi0wLjAzLTAuMDMtMC4wNy0wLjA2LTAuMDlsLTIuMTItMi4xMmMtMC4xLTAuMS0wLjIyLTAuMTUtMC4zNS0wLjE1cy0wLjI2LDAuMDUtMC4zNSwwLjE1CgljLTAuMiwwLjE5LTAuMiwwLjUxLDAsMC43TDE0LjI5LDRINUMzLjg4LDQsMi44Niw0LjM3LDIuMDMsNUMwLjgsNS45LDAsNy4zNiwwLDl6Ii8+Cjwvc3ZnPgo="});var Q0t=xe((kpn,mHo)=>{mHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgo8Zz4KCTxnPgoJCTxwYXRoIGQ9Ik03LjUsMUgyQzEuNDUsMSwxLDEuNDUsMSwydjEzYzAsMC41NSwwLjQ1LDEsMSwxaDEzYzAuNTUsMCwxLTAuNDUsMS0xVjkuNUMxNiw5LjIyNCwxNS43NzYsOSwxNS41LDlTMTUsOS4yMjQsMTUsOS41VjE1CgkJCUgyVjJoNS41QzcuNzc2LDIsOCwxLjc3Niw4LDEuNUM4LDEuMjI0LDcuNzc2LDEsNy41LDFMNy41LDF6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUuNSwxaC00QzExLjIyNCwxLDExLDEuMjI0LDExLDEuNUMxMSwxLjc3NiwxMS4yMjQsMiwxMS41LDJoMi43OTNMOSw3LjI5M0M4LjgwNSw3LjQ4OCw4LjgwNSw3LjgwNSw5LDgKCQkJYzAuMDk4LDAuMDk4LDAuMjI2LDAuMTQ2LDAuMzU0LDAuMTQ2YzAuMTI4LDAsMC4yNTYtMC4wNDksMC4zNTQtMC4xNDZMMTUsMi43MDdWNS41QzE1LDUuNzc2LDE1LjIyNCw2LDE1LjUsNlMxNiw1Ljc3NiwxNiw1LjV2LTQKCQkJYzAtMC4wNjUtMC4wMTMtMC4xMy0wLjAzOS0wLjE5MWMtMC4wNTEtMC4xMjItMC4xNDgtMC4yMi0wLjI3LTAuMjdDMTUuNjMsMS4wMTMsMTUuNTY1LDEsMTUuNSwxTDE1LjUsMXoiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K"});var pAe=xe((Ppn,hHo)=>{hHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNNC41LDRDNC4yMjQsNCw0LDQuMjI0LDQsNC41djRDNCw4Ljc3Niw0LjIyNCw5LDQuNSw5QzQuNzc2LDksNSw4Ljc3Niw1LDguNXYtNEM1LDQuMjI0LDQuNzc2LDQsNC41LDR6Ii8+Cgk8cGF0aCBkPSJNMTUsNS4yOUwxMS43MSwybC0wLjcwNy0wLjcwN0MxMC44MTUsMS4xMDUsMTAuNTYxLDEsMTAuMjk2LDFIOS4yOUgyQzEuNDUsMSwxLDEuNDUsMSwydjEzYzAsMC41NSwwLjQ1LDEsMSwxaDNoN2gzCgkJYzAuNTUsMCwxLTAuNDUsMS0xVjcuNzFWNi43MDRjMC0wLjI2NS0wLjEwNS0wLjUyLTAuMjkzLTAuNzA3TDE1LDUuMjl6IE01LDE1di0zaDd2M0g1eiBNMTUsMTVoLTJ2LTNjMC0wLjU1LTAuNDUtMS0xLTFINQoJCWMtMC41NSwwLTEsMC40NS0xLDF2M0gyVjJoOC4yOUwxNSw2LjcxVjE1eiIvPgo8L2c+Cjwvc3ZnPgo="});var mAe=xe((Opn,fHo)=>{fHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8xIiBkYXRhLW5hbWU9IuWbvuWxgiAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogIzAwMDsKICAgICAgICBzdHJva2Utd2lkdGg6IDBweDsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMTEuMywySDNjLS41NSwwLTEsLjQ1LTEsMXYxMmMwLC41NS40NSwxLDEsMWgxMmMuNTUsMCwxLS40NSwxLTFWNi43YzAtLjI3LS4xMS0uNTItLjI5LS43MWwtMy43LTMuN2MtLjE5LS4xOS0uNDQtLjI5LS43MS0uMjlaTTE1LDE1SDNWM2g4LjI5bDMuNzEsMy43MXY4LjI5WiIvPgogIDxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTEwLDEsOS41LDBIMUMuNDUsMCwwLC40NSwwLDF2MTIuNWMwLC4yOC4yMi41LjUuNWgwYy4yOCwwLC41LS4yMi41LS41VjFoOC41Yy4yOCwwLC41LS4yMi41LS41aDBjMC0uMjgtLjIyLS41LS41LS41WiIvPgogIDxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTEyLDEydjNoLTZ2LTNoNk0xMiwxMWgtNmMtLjU1LDAtMSwuNDUtMSwxdjNjMCwuNTUuNDUsMSwxLDFoNmMuNTUsMCwxLS40NSwxLTF2LTNjMC0uNTUtLjQ1LTEtMS0xaDBaIi8+CiAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNS41LDVjLS4yOCwwLS41LjIyLS41LjV2M2MwLC4yOC4yMi41LjUuNXMuNS0uMjIuNS0uNXYtM2MwLS4yOC0uMjItLjUtLjUtLjVoMFoiLz4KPC9zdmc+"});var K0t=xe((Rpn,gHo)=>{gHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8xIiBkYXRhLW5hbWU9IuWbvuWxgiAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogIzAwMDsKICAgICAgICBzdHJva2Utd2lkdGg6IDBweDsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPHBhdGggY2xhc3M9ImNscy0xIgogICAgZD0iTTExLjMsMkgzYy0uNTUsMC0xLC40NS0xLDF2MTJjMCwuNTUuNDUsMSwxLDFoMTJjLjU1LDAsMS0uNDUsMS0xVjYuN2MwLS4yNy0uMTEtLjUyLS4yOS0uNzFsLTMuNy0zLjdjLS4xOS0uMTktLjQ0LS4yOS0uNzEtLjI5Wk0xNSwxNUgzVjNoOC4yOWwzLjcxLDMuNzF2OC4yOVoiIC8+CiAgPHBhdGggY2xhc3M9ImNscy0xIgogICAgZD0iTTEwLDEsOS41LDBIMUMuNDUsMCwwLC40NSwwLDF2MTIuNWMwLC4yOC4yMi41LjUuNWgwYy4yOCwwLC41LS4yMi41LS41VjFoOC41Yy4yOCwwLC41LS4yMi41LS41aDBjMC0uMjgtLjIyLS41LS41LS41WiIgLz4KICA8cGF0aCBjbGFzcz0iY2xzLTEiCiAgICBkPSJNMTIsMTJ2M2gtNnYtM2g2TTEyLDExaC02Yy0uNTUsMC0xLC40NS0xLDF2M2MwLC41NS40NSwxLDEsMWg2Yy41NSwwLDEtLjQ1LDEtMXYtM2MwLS41NS0uNDUtMS0xLTFoMFoiIC8+CiAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNS41LDVjLS4yOCwwLS41LjIyLS41LjV2M2MwLC4yOC4yMi41LjUuNXMuNS0uMjIuNS0uNXYtM2MwLS4yOC0uMjItLjUtLjUtLjVoMFoiIC8+Cjwvc3ZnPg=="});var Z0t=xe((_pn,bHo)=>{bHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE2LDljMCwyLjc1LTIuMjUsNS01LDVIMS41QzEuMjIsMTQsMSwxMy43OCwxLDEzLjVDMSwxMy4yMiwxLjIyLDEzLDEuNSwxM0gxMWMyLjIxLDAsNC0xLjc5LDQtNGMwLTIuMjEtMS43OS00LTQtNEgwLjUKCUMwLjQzLDUsMC4zNyw0Ljk5LDAuMzEsNC45NkgwLjNDMC4xOCw0LjkxLDAuMDksNC44MiwwLjA0LDQuN1Y0LjY5QzAuMDEsNC42MywwLDQuNTcsMCw0LjVzMC4wMS0wLjEzLDAuMDQtMC4xOVY0LjMKCWMwLjAxLTAuMDMsMC4wMy0wLjA0LDAuMDUtMC4wNmMwLjAyLTAuMDMsMC4wMy0wLjA3LDAuMDYtMC4wOWwyLjEyLTIuMTJjMC4xLTAuMSwwLjIyLTAuMTUsMC4zNS0wLjE1czAuMjYsMC4wNSwwLjM1LDAuMTUKCWMwLjIsMC4xOSwwLjIsMC41MSwwLDAuN0wxLjcxLDRIMTFjMS4xMiwwLDIuMTQsMC4zNywyLjk3LDFDMTUuMiw1LjksMTYsNy4zNiwxNiw5eiIvPgo8L3N2Zz4K"});var J0t=xe((jpn,yHo)=>{yHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUsMUgyQzEuNDUsMSwxLDEuNDUsMSwydjEzYzAsMC41NSwwLjQ1LDEsMSwxaDQuNUM2Ljc3NiwxNiw3LDE1Ljc3Niw3LDE1LjVDNywxNS4yMjQsNi43NzYsMTUsNi41LDE1SDJWMmgxM3Y0LjUKCQkJQzE1LDYuNzc2LDE1LjIyNCw3LDE1LjUsN1MxNiw2Ljc3NiwxNiw2LjVWMkMxNiwxLjQ1LDE1LjU1LDEsMTUsMUwxNSwxeiIvPgoJPC9nPgoJPGc+CgkJPHBhdGggZD0iTTExLjUsOWMxLjM3OSwwLDIuNSwxLjEyMiwyLjUsMi41YzAsMC41MzEtMC4xNzUsMS4wNDYtMC41MDYsMS40ODhsLTAuMjE3LDAuMjg5bC0wLjI4OSwwLjIxNgoJCQlDMTIuNTQ2LDEzLjgyNSwxMi4wMzEsMTQsMTEuNSwxNEMxMC4xMjEsMTQsOSwxMi44NzksOSwxMS41UzEwLjEyMSw5LDExLjUsOSBNMTEuNSw4QzkuNTY3LDgsOCw5LjU2Nyw4LDExLjUKCQkJYzAsMS45MzMsMS41NjcsMy41LDMuNSwzLjVjMC43ODYsMCwxLjUwMy0wLjI2OCwyLjA4Ny0wLjcwNmwxLjU1OSwxLjU1OUMxNS4yNDQsMTUuOTUxLDE1LjM3MiwxNiwxNS41LDE2CgkJCWMwLjEyOCwwLDAuMjU2LTAuMDQ5LDAuMzU0LTAuMTQ2YzAuMTk1LTAuMTk1LDAuMTk1LTAuNTEyLDAtMC43MDdsLTEuNTU5LTEuNTU5QzE0LjczMiwxMy4wMDMsMTUsMTIuMjg2LDE1LDExLjUKCQkJQzE1LDkuNTY3LDEzLjQzMyw4LDExLjUsOEwxMS41LDh6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var q0t=xe((Bpn,wHo)=>{wHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNMi41LDFIMkMxLjQ1LDEsMSwxLjQ1LDEsMnYwLjVDMSwyLjc3NiwxLjIyNCwzLDEuNSwzUzIsMi43NzYsMiwyLjVWMmgwLjVDMi43NzYsMiwzLDEuNzc2LDMsMS41QzMsMS4yMjQsMi43NzYsMSwyLjUsMQoJCQlMMi41LDF6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUsMWgtMC41QzE0LjIyNCwxLDE0LDEuMjI0LDE0LDEuNUMxNCwxLjc3NiwxNC4yMjQsMiwxNC41LDJIMTV2MC41QzE1LDIuNzc2LDE1LjIyNCwzLDE1LjUsM1MxNiwyLjc3NiwxNiwyLjVWMgoJCQlDMTYsMS40NSwxNS41NSwxLDE1LDFMMTUsMXoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik0xLjUsMTRDMS4yMjQsMTQsMSwxNC4yMjQsMSwxNC41VjE1YzAsMC41NSwwLjQ1LDEsMSwxaDAuNUMyLjc3NiwxNiwzLDE1Ljc3NiwzLDE1LjVDMywxNS4yMjQsMi43NzYsMTUsMi41LDE1SDJ2LTAuNQoJCQlDMiwxNC4yMjQsMS43NzYsMTQsMS41LDE0TDEuNSwxNHoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik0xNS41LDVDMTUuMjI0LDUsMTUsNS4yMjQsMTUsNS41VjdjMCwwLjI3NiwwLjIyNCwwLjUsMC41LDAuNVMxNiw3LjI3NiwxNiw3VjUuNUMxNiw1LjIyNCwxNS43NzYsNSwxNS41LDVMMTUuNSw1eiIvPgoJPC9nPgoJPGc+CgkJPHBhdGggZD0iTTEuNSw1QzEuMjI0LDUsMSw1LjIyNCwxLDUuNVY3YzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVTMiw3LjI3NiwyLDdWNS41QzIsNS4yMjQsMS43NzYsNSwxLjUsNUwxLjUsNXoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik0xLjUsOS41QzEuMjI0LDkuNSwxLDkuNzI0LDEsMTB2MS41QzEsMTEuNzc2LDEuMjI0LDEyLDEuNSwxMlMyLDExLjc3NiwyLDExLjVWMTBDMiw5LjcyNCwxLjc3Niw5LjUsMS41LDkuNUwxLjUsOS41eiIvPgoJPC9nPgoJPGc+CgkJPHBhdGggZD0iTTcsMTVINS41QzUuMjI0LDE1LDUsMTUuMjI0LDUsMTUuNUM1LDE1Ljc3Niw1LjIyNCwxNiw1LjUsMTZIN2MwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41QzcuNSwxNS4yMjQsNy4yNzYsMTUsNywxNUw3LDE1CgkJCXoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik0xMS41LDFIMTBDOS43MjQsMSw5LjUsMS4yMjQsOS41LDEuNUM5LjUsMS43NzYsOS43MjQsMiwxMCwyaDEuNUMxMS43NzYsMiwxMiwxLjc3NiwxMiwxLjVDMTIsMS4yMjQsMTEuNzc2LDEsMTEuNSwxCgkJCUwxMS41LDF6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBkPSJNNywxSDUuNUM1LjIyNCwxLDUsMS4yMjQsNSwxLjVDNSwxLjc3Niw1LjIyNCwyLDUuNSwySDdjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNUM3LjUsMS4yMjQsNy4yNzYsMSw3LDFMNywxeiIvPgoJPC9nPgoJPGc+CgkJPHBhdGggZD0iTTExLjUsOWMxLjM3OSwwLDIuNSwxLjEyMiwyLjUsMi41YzAsMC41MzEtMC4xNzUsMS4wNDYtMC41MDYsMS40ODhsLTAuMjE3LDAuMjg5bC0wLjI4OSwwLjIxNgoJCQlDMTIuNTQ2LDEzLjgyNSwxMi4wMzEsMTQsMTEuNSwxNEMxMC4xMjEsMTQsOSwxMi44NzksOSwxMS41UzEwLjEyMSw5LDExLjUsOSBNMTEuNSw4QzkuNTY3LDgsOCw5LjU2Nyw4LDExLjUKCQkJYzAsMS45MzMsMS41NjcsMy41LDMuNSwzLjVjMC43ODYsMCwxLjUwMy0wLjI2OCwyLjA4Ny0wLjcwNmwxLjU1OSwxLjU1OUMxNS4yNDQsMTUuOTUxLDE1LjM3MiwxNiwxNS41LDE2CgkJCWMwLjEyOCwwLDAuMjU2LTAuMDQ5LDAuMzU0LTAuMTQ2YzAuMTk1LTAuMTk1LDAuMTk1LTAuNTEyLDAtMC43MDdsLTEuNTU5LTEuNTU5QzE0LjczMiwxMy4wMDMsMTUsMTIuMjg2LDE1LDExLjUKCQkJQzE1LDkuNTY3LDEzLjQzMyw4LDExLjUsOEwxMS41LDh6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var hAe=xe((zpn,CHo)=>{CHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTMuNTY1LDFIMTMuNDdIMi41M0gyLjQzNWMtMC40NzQsMC0wLjc1MiwwLjUzMy0wLjQ4LDAuOTIyTDIuMDEsMkw2LDcuN3Y0LjU5NmMwLDAuMjY1LDAuMTA1LDAuNTIsMC4yOTMsMC43MDdMOSwxNS43MQoJCWMwLjExOSwwLjExOSwwLjI2NiwwLjE3MywwLjQxLDAuMTczYzAuMzAxLDAsMC41OS0wLjIzNCwwLjU5LTAuNTg3VjE1LjI5di0xLjg4di0xLjc1VjcuN0wxMy45OSwybDAuMDU1LTAuMDc4CgkJQzE0LjMxNiwxLjUzMywxNC4wMzksMSwxMy41NjUsMUwxMy41NjUsMXogTTksMTQuMjlsLTItMnYtMC4zMXYtMS43NXYtMS4xVjcuNjk1QzcsNy40OSw2LjkzNyw3LjI5LDYuODE5LDcuMTIyTDYsNS45NUwzLjIzLDIKCQloOS41NEwxMCw1Ljk1TDkuMTgxLDcuMTIyQzkuMDYzLDcuMjksOSw3LjQ5LDksNy42OTVWOS4xM3YxLjF2MS43NVYxNC4yOUw5LDE0LjI5eiIvPgo8L2c+Cjwvc3ZnPgo="});var X0t=xe((Fpn,xHo)=>{xHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTEyLDhoM2MwLjU1LDAsMS0wLjQ1LDEtMVY0YzAtMC41NS0wLjQ1LTEtMS0xaC0zYy0wLjU1LDAtMSwwLjQ1LTEsMXYxSDhWM3YwYzAtMC41NTItMC40NDgtMS0xLTFoMEg1VjFjMC0wLjU1LTAuNDUtMS0xLTEKCUgxQzAuNDUsMCwwLDAuNDUsMCwxdjNjMCwwLjU1LDAuNDUsMSwxLDFoM2MwLjU1LDAsMS0wLjQ1LDEtMVYzaDJ2MTIuNUM3LDE1Ljc4LDcuMjIsMTYsNy41LDE2UzgsMTUuNzgsOCwxNS41VjEzaDN2MQoJYzAsMC41NSwwLjQ1LDEsMSwxaDNjMC41NSwwLDEtMC40NSwxLTF2LTNjMC0wLjU1LTAuNDUtMS0xLTFoLTNjLTAuNTUsMC0xLDAuNDUtMSwxdjFIOFY2aDN2MUMxMSw3LjU1LDExLjQ1LDgsMTIsOHogTTQsNEgxVjFoM1Y0egoJIE0xMiwxMWgzdjNoLTN2LTF2LTFWMTF6IE0xMiw0aDN2M2gtM1Y2VjVWNHoiLz4KPC9zdmc+Cg=="});var p3e=xe((Upn,THo)=>{THo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LjUsMTBoLTQuNzg5TDcuNTYsOC41NjFDNy40Nyw4LjUyMSw3LjM3Miw4LjUsNy4yNzQsOC41Yy0wLjA5OCwwLTAuMTk2LDAuMDIxLTAuMjg2LDAuMDYxTDQsOS45MjZWNS4wNzRsMi45ODgsMS4zNjQKCUM3LjA3OCw2LjQ3OSw3LjE3Niw2LjUsNy4yNzQsNi41YzAuMDk4LDAsMC4xOTYtMC4wMjEsMC4yODYtMC4wNjJMMTAuNzExLDVIMTUuNUMxNS43NzYsNSwxNiw0Ljc3NiwxNiw0LjVTMTUuNzc2LDQsMTUuNSw0aC00Ljc4OQoJTDcuNTYsMi41NjFDNy40NywyLjUyMSw3LjM3MiwyLjUsNy4yNzQsMi41Yy0wLjA5OCwwLTAuMTk2LDAuMDIxLTAuMjg2LDAuMDYxTDQsMy45MjZWMWMwLTAuNTUyLTAuNDQ4LTEtMS0xSDAuNQoJQzAuMjI0LDAsMCwwLjIyNCwwLDAuNUMwLDAuNzc2LDAuMjI0LDEsMC41LDFIM3YxMy41QzMsMTQuNzc2LDMuMjI0LDE1LDMuNSwxNVM0LDE0Ljc3Niw0LDE0LjV2LTMuNDI2bDIuOTg4LDEuMzY0CgljMC4wOSwwLjA0MSwwLjE4OCwwLjA2MiwwLjI4NiwwLjA2MmMwLjA5OCwwLDAuMTk2LTAuMDIxLDAuMjg2LTAuMDYyTDEwLjcxMSwxMUgxNS41YzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjVTMTUuNzc2LDEwLDE1LjUsMTB6CgkgTTcuMjc0LDMuNTNMOS4zOTgsNC41TDcuMjc0LDUuNDdMNS4xNSw0LjVMNy4yNzQsMy41M3ogTTcuMjc0LDExLjQ3TDUuMTUsMTAuNWwyLjEyNC0wLjk3bDIuMTI0LDAuOTdMNy4yNzQsMTEuNDd6Ii8+Cjwvc3ZnPgo="});var m3e=xe((Vpn,SHo)=>{SHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgoJPHBhdGggZD0iTTE0LDEuNDljLTAuMjgsMC0wLjUsMC4yMi0wLjUsMC41VjJjMCwwLjE2LDAsMC4zMy0wLjAxLDAuNDljLTAuMDEsMC4yNi0wLjAzLDAuNTMtMC4wNiwwLjc4CgkJQzEyLjg0LDguNiw4LjYsMTIuODQsMy4yNywxMy40M2MtMC4yNSwwLjAzLTAuNTIsMC4wNS0wLjc4LDAuMDZDMi4zMywxMy41LDIuMTYsMTMuNSwyLDEzLjVIMS45OWMtMC4yOCwwLTAuNSwwLjIyLTAuNSwwLjUKCQljMCwwLjI4LDAuMjIsMC41LDAuNSwwLjVoMC4wNWMwLjE1LDAsMC4zLDAsMC40NS0wLjAyQzksMTQuMjQsMTQuMjQsOSwxNC40OCwyLjQ5YzAuMDItMC4xNSwwLjAyLTAuMywwLjAyLTAuNDVWMS45OQoJCUMxNC41LDEuNzEsMTQuMjgsMS40OSwxNCwxLjQ5eiIvPgo8L2c+Cjwvc3ZnPgo="});var Zce=xe((Hpn,MHo)=>{MHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LDJ2MTNIMlYySDE1IE0xNSwxSDJDMS40NDgsMSwxLDEuNDQ4LDEsMnYxM2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDEzYzAuNTUyLDAsMS0wLjQ0OCwxLTFWMkMxNiwxLjQ0OCwxNS41NTIsMSwxNSwxTDE1LDEKCXoiLz4KPC9zdmc+Cg=="});var $0t=xe((Gpn,IHo)=>{IHo.exports="data:image/svg+xml;base64, "});var fAe=xe((Ypn,LHo)=>{LHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTgsMWMzLjg2LDAsNywzLjE0LDcsN3MtMy4xNCw3LTcsN3MtNy0zLjE0LTctN1M0LjE0LDEsOCwxIE04LDBDMy41ODIsMCwwLDMuNTgyLDAsOHMzLjU4Miw4LDgsOHM4LTMuNTgyLDgtOFMxMi40MTgsMCw4LDAKCUw4LDB6Ii8+Cjwvc3ZnPgo="});var Jce=xe((Wpn,vHo)=>{vHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIj4KCTxnPgoJCTxwYXRoIGQ9Ik04LDRjMy43OTQsMCw3LDEuODMyLDcsNHMtMy4yMDYsNC03LDRzLTctMS44MzItNy00UzQuMjA2LDQsOCw0IE04LDNDMy41ODIsMywwLDUuMjM5LDAsOHMzLjU4Miw1LDgsNXM4LTIuMjM5LDgtNQoJCQlTMTIuNDE4LDMsOCwzTDgsM3oiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K"});var HJt=xe((Qpn,DHo)=>{DHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTIsNy41QzEyLDcuNzc2LDEyLjIyNCw4LDEyLjUsOFMxMyw3Ljc3NiwxMyw3LjV2LTRjMCwwLDAtMC4wMDEsMC0wLjAwMWMwLTAuMDg1LTAuMDI2LTAuMTYxLTAuMDYyLTAuMjMKCQljLTAuMDU2LTAuMTYxLTAuMTUtMC4zMS0wLjMyNS0wLjM5NUw2Ljc4NiwwLjA2NkM2LjY5NiwwLjAyMiw2LjU5OCwwLDYuNSwwUzYuMzA0LDAuMDIyLDYuMjE0LDAuMDY2TDAuMzg3LDIuODc0CgkJQzAuMTk1LDIuOTY3LDAuMDk5LDMuMTM1LDAuMDUsMy4zMTVDMC4wMzgsMy4zNDIsMC4wMzQsMy4zNzIsMC4wMjcsMy40MDFDMC4wMjEsMy40NDIsMC4wMDQsMy40NzksMC4wMDUsMy41MgoJCUMwLjAwNSwzLjUzMSwwLDMuNTM5LDAsMy41NXYzLjQxdjAuNzd2NC4wOHYwLjQ4NmMwLDAuMzgyLDAuMjE3LDAuNzMsMC41NiwwLjg5OEwxLDEzLjQxbDUuMjEsMi41MmMwLjAzLDAuMDIsMC4wNiwwLjAzLDAuMDksMC4wMwoJCUM2LjM2LDE1Ljk5LDYuNDMsMTYsNi41LDE2czAuMTQtMC4wMSwwLjItMC4wNEM2Ljg4LDE1Ljg5LDcsMTUuNzEsNywxNS41di0wLjc4di00LjQ0VjkuMTdWNi44MzFsNS0yLjQxVjcuNXogTTYsOXYwLjg2djQuODYKCQlMMSwxMi4zVjguMDlWNy4zVjQuNDIxbDUsMi40MVY5eiBNNi41LDUuOTYyTDEuMzkyLDMuNUw2LjUsMS4wMzhMMTEuNjA4LDMuNUw2LjUsNS45NjJ6Ii8+Cgk8cGF0aCBkPSJNMTQuNSwxMmgtMS40OTR2LTEuNDk0YzAtMC4yNzYtMC4yMjQtMC41LTAuNS0wLjVzLTAuNSwwLjIyNC0wLjUsMC41VjEyaC0xLjQ5NGMtMC4yNzYsMC0wLjUsMC4yMjQtMC41LDAuNQoJCWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41aDEuNDk0djEuNDk0YzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVzMC41LTAuMjI0LDAuNS0wLjVWMTNIMTQuNWMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41CgkJQzE1LDEyLjIyNCwxNC43NzYsMTIsMTQuNSwxMnoiLz4KPC9nPgo8L3N2Zz4K"});var ept=xe((Kpn,EHo)=>{EHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIHN0eWxlPSJmaWxsOm5vbmU7IiBkPSJNMTYsMHYxNkg2LjVjLTAuMDcsMC0wLjE0LTAuMDEtMC4yLTAuMDRjLTAuMDMsMC0wLjA2LTAuMDEtMC4wOS0wLjAzTDEsMTMuNDFsLTEtMC40OVYwSDE2eiIvPgo8Zz4KCTxwYXRoIGQ9Ik0xMiw2LjVDMTIsNi43NzYsMTIuMjI0LDcsMTIuNSw3UzEzLDYuNzc2LDEzLDYuNXYtM2MwLDAsMC0wLjAwMSwwLTAuMDAxYzAtMC4wODUtMC4wMjYtMC4xNjEtMC4wNjItMC4yMwoJCWMtMC4wNTYtMC4xNjEtMC4xNS0wLjMxLTAuMzI1LTAuMzk1TDYuNzg2LDAuMDY2QzYuNjk2LDAuMDIyLDYuNTk4LDAsNi41LDBTNi4zMDQsMC4wMjIsNi4yMTQsMC4wNjZMMC4zODcsMi44NzQKCQlDMC4xOTUsMi45NjcsMC4wOTksMy4xMzUsMC4wNSwzLjMxNUMwLjAzOCwzLjM0MiwwLjAzNCwzLjM3MiwwLjAyNywzLjQwMUMwLjAyMSwzLjQ0MiwwLjAwNCwzLjQ3OSwwLjAwNSwzLjUyCgkJQzAuMDA1LDMuNTMxLDAsMy41MzksMCwzLjU1djMuNDF2MC43N3Y0LjA4djAuNDg2YzAsMC4zODIsMC4yMTcsMC43MywwLjU2LDAuODk4TDEsMTMuNDFsNS4yMSwyLjUyYzAuMDMsMC4wMiwwLjA2LDAuMDMsMC4wOSwwLjAzCgkJQzYuMzYsMTUuOTksNi40MywxNiw2LjUsMTZzMC4xNC0wLjAxLDAuMi0wLjA0QzYuODgsMTUuODksNywxNS43MSw3LDE1LjV2LTAuNzh2LTQuNDRWOS4xN1Y2LjgzMWw1LTIuNDFWNi41eiBNNiw5djAuODZ2NC44NgoJCUwxLDEyLjNWOC4wOVY3LjNWNC40MjFsNSwyLjQxVjl6IE02LjUsNS45NjJMMS4zOTIsMy41TDYuNSwxLjAzOEwxMS42MDgsMy41TDYuNSw1Ljk2MnoiLz4KCTxwYXRoIGQ9Ik0xMiw4Yy0yLjIwOSwwLTQsMS43OTEtNCw0YzAsMi4yMDksMS43OTEsNCw0LDRjMi4yMDksMCw0LTEuNzkxLDQtNEMxNiw5Ljc5MSwxNC4yMDksOCwxMiw4eiBNMTIsMTVjLTEuNjU0LDAtMy0xLjM0Ni0zLTMKCQljMC0xLjY1NCwxLjM0Ni0zLDMtM2MxLjY1NCwwLDMsMS4zNDYsMywzQzE1LDEzLjY1NCwxMy42NTQsMTUsMTIsMTV6Ii8+Cgk8cGF0aCBkPSJNMTIuNTIyLDEwLjA2OWMtMC4yNjUtMC4wNzMtMC41NDEsMC4wODUtMC42MTMsMC4zNTNjLTAuMDcyLDAuMjY3LDAuMDg2LDAuNTQxLDAuMzUzLDAuNjEzCgkJYzAuMzMzLDAuMDksMC42LDAuMzUxLDAuNjk4LDAuNjgyYzAuMDY0LDAuMjE4LDAuMjYzLDAuMzU5LDAuNDc5LDAuMzU5YzAuMDQ2LDAsMC4wOTQtMC4wMDYsMC4xNDEtMC4wMjEKCQljMC4yNjUtMC4wNzgsMC40MTctMC4zNTYsMC4zMzgtMC42MjFDMTMuNzI0LDEwLjc3MiwxMy4xODksMTAuMjQ5LDEyLjUyMiwxMC4wNjl6Ii8+CjwvZz4KPC9zdmc+Cg=="});var gAe=xe((Zpn,AHo)=>{AHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIj4KCTxnPgoJCTxwb2x5Z29uIHBvaW50cz0iMTQsMiAxMywyIDEzLDMgMTQsMyAxNCwyIAkJIi8+Cgk8L2c+Cgk8Zz4KCQk8cG9seWdvbiBwb2ludHM9IjEzLDMgMTIsMyAxMiw0IDEzLDQgMTMsMyAJCSIvPgoJPC9nPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSIxMiw0IDExLDQgMTEsNSAxMiw1IDEyLDQgCQkiLz4KCTwvZz4KCTxnPgoJCTxwb2x5Z29uIHBvaW50cz0iMTEsNSAxMCw1IDEwLDYgMTEsNiAxMSw1IAkJIi8+Cgk8L2c+Cgk8Zz4KCQk8cG9seWdvbiBwb2ludHM9IjEwLDYgOSw2IDksNyAxMCw3IDEwLDYgCQkiLz4KCTwvZz4KCTxnPgoJCTxwb2x5Z29uIHBvaW50cz0iOSw3IDgsNyA4LDggOSw4IDksNyAJCSIvPgoJPC9nPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSI4LDggNyw4IDcsOSA4LDkgOCw4IAkJIi8+Cgk8L2c+Cgk8Zz4KCQk8cG9seWdvbiBwb2ludHM9IjcsOSA2LDkgNiwxMCA3LDEwIDcsOSAJCSIvPgoJPC9nPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSI2LDEwIDUsMTAgNSwxMSA2LDExIDYsMTAgCQkiLz4KCTwvZz4KCTxnPgoJCTxwb2x5Z29uIHBvaW50cz0iNSwxMSA0LDExIDQsMTIgNSwxMiA1LDExIAkJIi8+Cgk8L2c+Cgk8Zz4KCQk8cG9seWdvbiBwb2ludHM9IjQsMTIgMywxMiAzLDEzIDQsMTMgNCwxMiAJCSIvPgoJPC9nPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSIzLDEzIDIsMTMgMiwxNCAzLDE0IDMsMTMgCQkiLz4KCTwvZz4KCTxnPgoJCTxwb2x5Z29uIHBvaW50cz0iMTMsMiAxMiwyIDEyLDMgMTMsMyAxMywyIAkJIi8+Cgk8L2c+Cgk8Zz4KCQk8cG9seWdvbiBwb2ludHM9IjE1LDEgMTQsMSAxNCwyIDE1LDIgMTUsMSAJCSIvPgoJPC9nPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSIxNCwxIDEzLDEgMTMsMiAxNCwyIDE0LDEgCQkiLz4KCTwvZz4KCTxnPgoJCTxwb2x5Z29uIHBvaW50cz0iMTIsMyAxMSwzIDExLDQgMTIsNCAxMiwzIAkJIi8+Cgk8L2c+Cgk8Zz4KCQk8cG9seWdvbiBwb2ludHM9IjExLDQgMTAsNCAxMCw1IDExLDUgMTEsNCAJCSIvPgoJPC9nPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSIxMCw1IDksNSA5LDYgMTAsNiAxMCw1IAkJIi8+Cgk8L2c+Cgk8Zz4KCQk8cG9seWdvbiBwb2ludHM9IjksNiA4LDYgOCw3IDksNyA5LDYgCQkiLz4KCTwvZz4KCTxnPgoJCTxwb2x5Z29uIHBvaW50cz0iOCw3IDcsNyA3LDggOCw4IDgsNyAJCSIvPgoJPC9nPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSI3LDggNiw4IDYsOSA3LDkgNyw4IAkJIi8+Cgk8L2c+Cgk8Zz4KCQk8cG9seWdvbiBwb2ludHM9IjYsOSA1LDkgNSwxMCA2LDEwIDYsOSAJCSIvPgoJPC9nPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSI1LDEwIDQsMTAgNCwxMSA1LDExIDUsMTAgCQkiLz4KCTwvZz4KCTxnPgoJCTxwb2x5Z29uIHBvaW50cz0iNCwxMSAzLDExIDMsMTIgNCwxMiA0LDExIAkJIi8+Cgk8L2c+Cgk8Zz4KCQk8cG9seWdvbiBwb2ludHM9IjMsMTIgMiwxMiAyLDEzIDMsMTMgMywxMiAJCSIvPgoJPC9nPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSIyLDE0IDEsMTQgMSwxNSAyLDE1IDIsMTQgCQkiLz4KCTwvZz4KCTxnPgoJCTxwb2x5Z29uIHBvaW50cz0iMiwxMyAxLDEzIDEsMTQgMiwxNCAyLDEzIAkJIi8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var h3e=xe((Jpn,NHo)=>{NHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LjUsMWgtMTRDMS4yMjQsMSwxLDEuMjI0LDEsMS41djJDMSwzLjc3NiwxLjIyNCw0LDEuNSw0UzIsMy43NzYsMiwzLjVWMmg2djEzSDYuNUM2LjIyNCwxNSw2LDE1LjIyNCw2LDE1LjUKCVM2LjIyNCwxNiw2LjUsMTZoNGMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41UzEwLjc3NiwxNSwxMC41LDE1SDlWMmg2djEuNUMxNSwzLjc3NiwxNS4yMjQsNCwxNS41LDRTMTYsMy43NzYsMTYsMy41di0yCglDMTYsMS4yMjQsMTUuNzc2LDEsMTUuNSwxeiIvPgo8L3N2Zz4K"});var bAe=xe((qpn,kHo)=>{kHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTQuNSwxaC0xM0MxLjIyNCwxLDEsMS4yMjQsMSwxLjVDMSwxLjc3NiwxLjIyNCwyLDEuNSwyaDEzQzE0Ljc3NiwyLDE1LDEuNzc2LDE1LDEuNUMxNSwxLjIyNCwxNC43NzYsMSwxNC41LDF6Ii8+Cgk8cGF0aCBkPSJNNiw0SDNDMi40NDgsNCwyLDQuNDQ4LDIsNXYxMGMwLDAuNTUyLDAuNDQ4LDEsMSwxaDNjMC41NTIsMCwxLTAuNDQ4LDEtMVY1QzcsNC40NDgsNi41NTIsNCw2LDR6IE02LDE1SDNWNWgzVjE1eiIvPgoJPHBhdGggZD0iTTEzLDRoLTNDOS40NDgsNCw5LDQuNDQ4LDksNXY1YzAsMC41NTIsMC40NDgsMSwxLDFoM2MwLjU1MiwwLDEtMC40NDgsMS0xVjVDMTQsNC40NDgsMTMuNTUyLDQsMTMsNHogTTEzLDEwaC0zVjVoM1YxMHoiCgkJLz4KPC9nPgo8L3N2Zz4K"});var yAe=xe((Xpn,PHo)=>{PHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik0xNS41LDhIMTRWNmMwLTAuNTUtMC40NS0xLTEtMWgtM0M5LjQ1LDUsOSw1LjQ1LDksNnYySDdWM2MwLTAuNTUtMC40NS0xLTEtMUgzQzIuNDUsMiwyLDIuNDUsMiwzdjVIMC41CglDMC4yMiw4LDAsOC4yMiwwLDguNUMwLDguNzgsMC4yMiw5LDAuNSw5SDJ2NWMwLDAuNTUsMC40NSwxLDEsMWgzYzAuNTUsMCwxLTAuNDUsMS0xVjloMnYyYzAsMC41NSwwLjQ1LDEsMSwxaDNjMC41NSwwLDEtMC40NSwxLTEKCVY5aDEuNUMxNS43OCw5LDE2LDguNzgsMTYsOC41QzE2LDguMjIsMTUuNzgsOCwxNS41LDh6IE02LDE0SDNWOVY4VjNoM3Y1djFWMTR6IE0xMywxMWgtM1Y5VjhWNmgzdjJ2MVYxMXoiLz4KPC9zdmc+Cg=="});var wAe=xe(($pn,OHo)=>{OHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTQuNSwxNWgtMTNDMS4yMjQsMTUsMSwxNS4yMjQsMSwxNS41QzEsMTUuNzc2LDEuMjI0LDE2LDEuNSwxNmgxM2MwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41CgkJQzE1LDE1LjIyNCwxNC43NzYsMTUsMTQuNSwxNXoiLz4KCTxwYXRoIGQ9Ik0zLDEzaDNjMC41NTIsMCwxLTAuNDQ4LDEtMVYyYzAtMC41NTItMC40NDgtMS0xLTFIM0MyLjQ0OCwxLDIsMS40NDgsMiwydjEwQzIsMTIuNTUyLDIuNDQ4LDEzLDMsMTN6IE0zLDJoM3YxMEgzVjJ6Ii8+Cgk8cGF0aCBkPSJNMTAsMTNoM2MwLjU1MiwwLDEtMC40NDgsMS0xVjdjMC0wLjU1Mi0wLjQ0OC0xLTEtMWgtM0M5LjQ0OCw2LDksNi40NDgsOSw3djVDOSwxMi41NTIsOS40NDgsMTMsMTAsMTN6IE0xMCw3aDN2NWgtM1Y3eiIKCQkvPgo8L2c+Cjwvc3ZnPgo="});var CAe=xe((emn,RHo)=>{RHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMS41LDFDMS4yMjQsMSwxLDEuMjEsMSwxLjQ2OXYxNC4wNjNDMSwxNS43OSwxLjIyNCwxNiwxLjUsMTZTMiwxNS43OSwyLDE1LjUzMVYxLjQ2OUMyLDEuMjEsMS43NzYsMSwxLjUsMXoiLz4KCTxwYXRoIGQ9Ik0xNSw5SDVjLTAuNTUyLDAtMSwwLjQ0OC0xLDF2M2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDEwYzAuNTUyLDAsMS0wLjQ0OCwxLTF2LTNDMTYsOS40NDgsMTUuNTUyLDksMTUsOXogTTE1LDEzSDV2LTNoMTBWMTMKCQl6Ii8+Cgk8cGF0aCBkPSJNNSw3aDVjMC41NTIsMCwxLTAuNDQ4LDEtMVYzYzAtMC41NTItMC40NDgtMS0xLTFINUM0LjQ0OCwyLDQsMi40NDgsNCwzdjNDNCw2LjU1Miw0LjQ0OCw3LDUsN3ogTTUsM2g1djNINVYzeiIvPgo8L2c+Cjwvc3ZnPgo="});var xAe=xe((tmn,_Ho)=>{_Ho.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik04LDAuNVYySDZDNS40NSwyLDUsMi40NSw1LDN2M2MwLDAuNTUsMC40NSwxLDEsMWgydjJIM2MtMC41NSwwLTEsMC40NS0xLDF2M2MwLDAuNTUsMC40NSwxLDEsMWg1djEuNQoJQzgsMTUuNzgsOC4yMiwxNiw4LjUsMTZDOC43OCwxNiw5LDE1Ljc4LDksMTUuNVYxNGg1YzAuNTUsMCwxLTAuNDUsMS0xdi0zYzAtMC41NS0wLjQ1LTEtMS0xSDlWN2gyYzAuNTUsMCwxLTAuNDUsMS0xVjMKCWMwLTAuNTUtMC40NS0xLTEtMUg5VjAuNUM5LDAuMjIsOC43OCwwLDguNSwwQzguMjIsMCw4LDAuMjIsOCwwLjV6IE0xNCwxMHYzSDlIOEgzdi0zaDVoMUgxNHogTTExLDN2M0g5SDhINlYzaDJoMUgxMXoiLz4KPC9zdmc+Cg=="});var TAe=xe((imn,jHo)=>{jHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUuNSwxQzE1LjIyNCwxLDE1LDEuMjEsMTUsMS40Njl2MTQuMDYzQzE1LDE1Ljc5LDE1LjIyNCwxNiwxNS41LDE2YzAuMjc2LDAsMC41LTAuMjEsMC41LTAuNDY5VjEuNDY5CgkJQzE2LDEuMjEsMTUuNzc2LDEsMTUuNSwxeiIvPgoJPHBhdGggZD0iTTEyLDlIMmMtMC41NTIsMC0xLDAuNDQ4LTEsMXYzYzAsMC41NTIsMC40NDgsMSwxLDFoMTBjMC41NTIsMCwxLTAuNDQ4LDEtMXYtM0MxMyw5LjQ0OCwxMi41NTIsOSwxMiw5eiBNMTIsMTNIMnYtM2gxMFYxMwoJCXoiLz4KCTxwYXRoIGQ9Ik0xMiwySDdDNi40NDgsMiw2LDIuNDQ4LDYsM3YzYzAsMC41NTIsMC40NDgsMSwxLDFoNWMwLjU1MiwwLDEtMC40NDgsMS0xVjNDMTMsMi40NDgsMTIuNTUyLDIsMTIsMnogTTEyLDZIN1YzaDVWNnoiLz4KPC9nPgo8L3N2Zz4K"});var tpt=xe((omn,BHo)=>{BHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNNSw5SDJjLTAuNTUyLDAtMSwwLjQ0OC0xLDF2NWMwLDAuNTUyLDAuNDQ4LDEsMSwxaDNjMC41NTIsMCwxLTAuNDQ4LDEtMXYtNUM2LDkuNDQ4LDUuNTUyLDksNSw5eiBNNSwxNUgydi01aDNWMTV6Ii8+Cgk8cGF0aCBkPSJNMTQsOWgtM2MtMC41NTIsMC0xLDAuNDQ4LTEsMXY1YzAsMC41NTIsMC40NDgsMSwxLDFoM2MwLjU1MiwwLDEtMC40NDgsMS0xdi01QzE1LDkuNDQ4LDE0LjU1Miw5LDE0LDl6IE0xNCwxNWgtM3YtNWgzVjE1CgkJeiIvPgoJPHBhdGggZD0iTTUuNSwxQzUuMjI0LDEsNSwxLjIyNCw1LDEuNXY1QzUsNi43NzYsNS4yMjQsNyw1LjUsN0M1Ljc3Niw3LDYsNi43NzYsNiw2LjV2LTVDNiwxLjIyNCw1Ljc3NiwxLDUuNSwxeiIvPgoJPHBhdGggZD0iTTEwLjUsN0MxMC43NzYsNywxMSw2Ljc3NiwxMSw2LjV2LTVDMTEsMS4yMjQsMTAuNzc2LDEsMTAuNSwxQzEwLjIyNCwxLDEwLDEuMjI0LDEwLDEuNXY1QzEwLDYuNzc2LDEwLjIyNCw3LDEwLjUsN3oiLz4KPC9nPgo8L3N2Zz4K"});var ipt=xe((rmn,zHo)=>{zHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHJlY3QgZmlsbD0ibm9uZSIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+CjxwYXRoIGQ9Ik01LDlIMmMtMC41NTIsMC0xLDAuNDQ4LTEsMXY1YzAsMC41NTIsMC40NDgsMSwxLDFoM2MwLjU1MiwwLDEtMC40NDgsMS0xdi01QzYsOS40NDgsNS41NTIsOSw1LDl6IE01LDE1SDJ2LTVoM1YxNXoiLz4KPHBhdGggZD0iTTE0LDloLTNjLTAuNTUyLDAtMSwwLjQ0OC0xLDF2NWMwLDAuNTUyLDAuNDQ4LDEsMSwxaDNjMC41NTIsMCwxLTAuNDQ4LDEtMXYtNUMxNSw5LjQ0OCwxNC41NTIsOSwxNCw5eiBNMTQsMTVoLTN2LTVoM1YxNXoKCSIvPgo8cGF0aCBkPSJNNS41LDcuNUM1Ljc3Niw3LjUsNiw3LjI3Niw2LDdWNWg0djJjMCwwLjI3NiwwLjIyNCwwLjUsMC41LDAuNUMxMC43NzYsNy41LDExLDcuMjc2LDExLDdWMmMwLTAuMjc2LTAuMjI0LTAuNS0wLjUtMC41CglDMTAuMjI0LDEuNSwxMCwxLjcyNCwxMCwydjJINlYyYzAtMC4yNzYtMC4yMjQtMC41LTAuNS0wLjVDNS4yMjQsMS41LDUsMS43MjQsNSwydjVDNSw3LjI3Niw1LjIyNCw3LjUsNS41LDcuNXoiLz4KPC9zdmc+Cg=="});var opt=xe((nmn,FHo)=>{FHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHJlY3QgZmlsbD0ibm9uZSIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+CjxwYXRoIGQ9Ik01LDlIMmMtMC41NTIsMC0xLDAuNDQ4LTEsMXY1YzAsMC41NTIsMC40NDgsMSwxLDFoM2MwLjU1MiwwLDEtMC40NDgsMS0xdi01QzYsOS40NDgsNS41NTIsOSw1LDl6IE01LDE1SDJ2LTVoM1YxNXoiLz4KPHBhdGggZD0iTTE0LDloLTNjLTAuNTUyLDAtMSwwLjQ0OC0xLDF2NWMwLDAuNTUyLDAuNDQ4LDEsMSwxaDNjMC41NTIsMCwxLTAuNDQ4LDEtMXYtNUMxNSw5LjQ0OCwxNC41NTIsOSwxNCw5eiBNMTQsMTVoLTN2LTVoM1YxNXoKCSIvPgo8cGF0aCBkPSJNMy41LDcuNUMzLjc3Niw3LjUsNCw3LjI3Niw0LDdWNWg4djJjMCwwLjI3NiwwLjIyNCwwLjUsMC41LDAuNUMxMi43NzYsNy41LDEzLDcuMjc2LDEzLDdWMmMwLTAuMjc2LTAuMjI0LTAuNS0wLjUtMC41CglDMTIuMjI0LDEuNSwxMiwxLjcyNCwxMiwydjJINFYyYzAtMC4yNzYtMC4yMjQtMC41LTAuNS0wLjVDMy4yMjQsMS41LDMsMS43MjQsMywydjVDMyw3LjI3NiwzLjIyNCw3LjUsMy41LDcuNXoiLz4KPC9zdmc+Cg=="});var rpt=xe((amn,UHo)=>{UHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUsMTBoLTVjLTAuNTUyLDAtMSwwLjQ0OC0xLDF2M2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDVjMC41NTIsMCwxLTAuNDQ4LDEtMXYtM0MxNiwxMC40NDgsMTUuNTUyLDEwLDE1LDEweiBNMTUsMTRoLTV2LTMKCQloNVYxNHoiLz4KCTxwYXRoIGQ9Ik0xNSwxaC01QzkuNDQ4LDEsOSwxLjQ0OCw5LDJ2M2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDVjMC41NTIsMCwxLTAuNDQ4LDEtMVYyQzE2LDEuNDQ4LDE1LjU1MiwxLDE1LDF6IE0xNSw1aC01VjJoNVY1eiIvPgoJPHBhdGggZD0iTTYuNSwxMGgtNUMxLjIyNCwxMCwxLDEwLjIyNCwxLDEwLjVDMSwxMC43NzYsMS4yMjQsMTEsMS41LDExaDVDNi43NzYsMTEsNywxMC43NzYsNywxMC41QzcsMTAuMjI0LDYuNzc2LDEwLDYuNSwxMHoiLz4KCTxwYXRoIGQ9Ik02LjUsNWgtNUMxLjIyNCw1LDEsNS4yMjQsMSw1LjVDMSw1Ljc3NiwxLjIyNCw2LDEuNSw2aDVDNi43NzYsNiw3LDUuNzc2LDcsNS41QzcsNS4yMjQsNi43NzYsNSw2LjUsNXoiLz4KPC9nPgo8L3N2Zz4K"});var GJt=xe((smn,VHo)=>{VHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTEzLDEwYy0xLDAtMS44OCwwLjQ4LTIuNDIsMS4yM0w1Ljg3LDguODdDNS45NSw4LjYsNiw4LjMsNiw4UzUuOTUsNy40LDUuODcsNy4xM2w0LjcxLTIuMzZDMTEuMTIsNS41MiwxMiw2LDEzLDYKCWMxLjY2LDAsMy0xLjM0LDMtM2MwLTEuNjYtMS4zNC0zLTMtM3MtMywxLjM0LTMsM2MwLDAuMywwLjA1LDAuNiwwLjE0LDAuODdMNS40Miw2LjIzQzQuODgsNS40OCw0LDUsMyw1QzEuMzQsNSwwLDYuMzQsMCw4CgljMCwxLjY2LDEuMzQsMywzLDNjMSwwLDEuODgtMC40OCwyLjQyLTEuMjNsNC43MiwyLjM2QzEwLjA1LDEyLjQsMTAsMTIuNywxMCwxM2MwLDEuNjYsMS4zNCwzLDMsM3MzLTEuMzQsMy0zCglDMTYsMTEuMzQsMTQuNjYsMTAsMTMsMTB6IE0xMSwzYzAtMS4xLDAuOS0yLDItMnMyLDAuOSwyLDJjMCwxLjEtMC45LDItMiwyYy0wLjYsMC0xLjE0LTAuMjctMS41LTAuNjkKCWMtMC4yMy0wLjI1LTAuMzgtMC41NS0wLjQ2LTAuODlDMTEuMDIsMy4yOSwxMSwzLjE0LDExLDN6IE0zLDEwYy0xLjEsMC0yLTAuOS0yLTJjMC0xLjEsMC45LTIsMi0yYzAuNiwwLDEuMTQsMC4yNywxLjUsMC42OQoJYzAuMjMsMC4yNSwwLjM4LDAuNTUsMC40NiwwLjg5QzQuOTgsNy43MSw1LDcuODYsNSw4UzQuOTgsOC4yOSw0Ljk2LDguNDJDNC44OCw4Ljc2LDQuNzMsOS4wNiw0LjUsOS4zMUM0LjE0LDkuNzMsMy42LDEwLDMsMTB6CgkgTTEzLDE1Yy0xLjEsMC0yLTAuOS0yLTJjMC0wLjE0LDAuMDItMC4yOSwwLjA0LTAuNDJjMC4wOC0wLjM0LDAuMjMtMC42NCwwLjQ2LTAuODlDMTEuODYsMTEuMjcsMTIuNCwxMSwxMywxMWMxLjEsMCwyLDAuOSwyLDIKCUMxNSwxNC4xLDE0LjEsMTUsMTMsMTV6Ii8+Cjwvc3ZnPgo="});var YJt=xe((lmn,HHo)=>{HHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNNSw3LjVDNSw3Ljc3Niw1LjIyNCw4LDUuNSw4aDVDMTAuNzc2LDgsMTEsNy43NzYsMTEsNy41UzEwLjc3Niw3LDEwLjUsN2gtNUM1LjIyNCw3LDUsNy4yMjQsNSw3LjV6Ii8+Cgk8cGF0aCBkPSJNNS41LDExaDNDOC43NzYsMTEsOSwxMC43NzYsOSwxMC41UzguNzc2LDEwLDguNSwxMGgtM0M1LjIyNCwxMCw1LDEwLjIyNCw1LDEwLjVTNS4yMjQsMTEsNS41LDExeiIvPgoJPHBhdGggZD0iTTEwLjUsMTNoLTVDNS4yMjQsMTMsNSwxMy4yMjQsNSwxMy41UzUuMjI0LDE0LDUuNSwxNGg1YzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjVTMTAuNzc2LDEzLDEwLjUsMTN6Ii8+Cgk8cGF0aCBkPSJNMTMuNzA3LDQuOTk3Yy0wLjM2Mi0wLjI4NS0wLjcyNS0wLjU3MS0xLjA4Ny0wLjg1NmMtMC43MDYtMC41NTYtMS40MTItMS4xMTItMi4xMTgtMS42NjgKCQljLTAuMzY4LTAuMjktMC43NDQtMC41NzEtMS4xMS0wLjg2NEM5LjA1NywxLjM0Miw4Ljc1NywxLDguMjk2LDFIM0MyLjQ0OCwxLDIsMS40NDgsMiwydjEzYzAsMC41NTIsMC40NDgsMSwxLDFoMTAKCQljMC41NTIsMCwxLTAuNDQ4LDEtMVY1LjcwNEMxNCw1LjQzOSwxMy44OTUsNS4xODUsMTMuNzA3LDQuOTk3eiBNOSwyLjcxTDEyLjI5LDVIOVYyLjcxeiBNMTMsMTVIM1YyaDV2M2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDRWMTUKCQl6Ii8+CjwvZz4KPC9zdmc+Cg=="});var Jx=xe((cmn,GHo)=>{GHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBmaWxsPSJub25lIiBkPSJNOS4zLDQuMTFDOS4wMSw0LjA2LDguNzEsNC4wMyw4LjQxLDQuMDJDOC43LDQuMDUsOC45Nyw0LjExLDkuMjQsNC4xOUw4LjUyLDUuMDVDOC4zNSw1LjAyLDguMTgsNSw4LDUKCQlDNi4zNSw1LDUsNi4zNSw1LDhjMCwwLjM2LDAuMDYsMC43LDAuMTksMS4wMkw0LjQ3LDkuODdDNC4xNyw5LjMxLDQsOC42OCw0LDhjMC0yLjA3LDEuNTctMy43NywzLjU5LTMuOTgKCQlDNC44MSw0LjE1LDIuNCw1LjcyLDEuMDgsOGMwLjY1LDEuMTIsMS41NiwyLjA2LDIuNjUsMi43NmwtMC42NSwwLjc3Yy0wLjk5LTAuNjQtMS44NS0xLjQ5LTIuNTItMi40NwoJCUMwLjQ0LDguODgsMC4zMiw4LjcsMC4yMSw4LjUxYy0wLjE4LTAuMzItMC4xOC0wLjcsMC0xLjAyQzAuMzIsNy4zLDAuNDQsNy4xMiwwLjU2LDYuOTRDMi4xOCw0LjU2LDQuOTEsMyw4LDMKCQljMC43LDAsMS4zOCwwLjA4LDIuMDQsMC4yNEw5LjMsNC4xMXoiLz4KCTxwYXRoIGZpbGw9Im5vbmUiIGQ9Ik0xNS43OSw4LjUxYy0wLjExLDAuMTktMC4yMywwLjM3LTAuMzUsMC41NUMxMy44MiwxMS40NCwxMS4wOSwxMyw4LDEzYy0wLjcsMC0xLjM4LTAuMDgtMi4wNC0wLjI0bDAuNzQtMC44NwoJCWMwLjI5LDAuMDUsMC41OSwwLjA4LDAuODksMC4wOWMtMC4yOS0wLjAzLTAuNTYtMC4wOS0wLjgzLTAuMTdsMC43Mi0wLjg2QzcuNjUsMTAuOTgsNy44MiwxMSw4LDExYzEuNjUsMCwzLTEuMzUsMy0zCgkJYzAtMC4zNi0wLjA2LTAuNy0wLjE5LTEuMDJsMC43Mi0wLjg1QzExLjgzLDYuNjksMTIsNy4zMiwxMiw4YzAsMi4wNy0xLjU3LDMuNzctMy41OSwzLjk4YzIuNzgtMC4xMyw1LjE5LTEuNyw2LjUxLTMuOTgKCQljLTAuNjUtMS4xMi0xLjU2LTIuMDYtMi42NS0yLjc2bDAuNjUtMC43N2MwLjk5LDAuNjQsMS44NSwxLjQ5LDIuNTIsMi40N2MwLjEyLDAuMTgsMC4yNCwwLjM2LDAuMzUsMC41NQoJCUMxNS45Nyw3LjgxLDE1Ljk3LDguMTksMTUuNzksOC41MXoiLz4KCTxwYXRoIGQ9Ik0xNS43OSw3LjQ5Yy0wLjExLTAuMTktMC4yMy0wLjM3LTAuMzUtMC41NWMtMC42Ny0wLjk4LTEuNTMtMS44My0yLjUyLTIuNDdsLTAuNjUsMC43N2MxLjA5LDAuNywyLDEuNjQsMi42NSwyLjc2CgkJYy0xLjMyLDIuMjgtMy43MywzLjg1LTYuNTEsMy45OEMxMC40MywxMS43NywxMiwxMC4wNywxMiw4YzAtMC42OC0wLjE3LTEuMzEtMC40Ny0xLjg3bC0wLjcyLDAuODVDMTAuOTQsNy4zLDExLDcuNjQsMTEsOAoJCWMwLDEuNjUtMS4zNSwzLTMsM2MtMC4xOCwwLTAuMzUtMC4wMi0wLjUyLTAuMDVsLTAuNzIsMC44NmMwLjI3LDAuMDgsMC41NCwwLjE0LDAuODMsMC4xN2MtMC4zLTAuMDEtMC42LTAuMDQtMC44OS0wLjA5CgkJbC0wLjc0LDAuODdDNi42MiwxMi45Miw3LjMsMTMsOCwxM2MzLjA5LDAsNS44Mi0xLjU2LDcuNDQtMy45NGMwLjEyLTAuMTgsMC4yNC0wLjM2LDAuMzUtMC41NUMxNS45Nyw4LjE5LDE1Ljk3LDcuODEsMTUuNzksNy40OXoKCQkgTTEwLjA0LDMuMjRDOS4zOCwzLjA4LDguNywzLDgsM0M0LjkxLDMsMi4xOCw0LjU2LDAuNTYsNi45NEMwLjQ0LDcuMTIsMC4zMiw3LjMsMC4yMSw3LjQ5Yy0wLjE4LDAuMzItMC4xOCwwLjcsMCwxLjAyCgkJQzAuMzIsOC43LDAuNDQsOC44OCwwLjU2LDkuMDZjMC42NywwLjk4LDEuNTMsMS44MywyLjUyLDIuNDdsMC42NS0wLjc3Yy0xLjA5LTAuNy0yLTEuNjQtMi42NS0yLjc2QzIuNCw1LjcyLDQuODEsNC4xNSw3LjU5LDQuMDIKCQlDNS41Nyw0LjIzLDQsNS45Myw0LDhjMCwwLjY4LDAuMTcsMS4zMSwwLjQ3LDEuODdsMC43Mi0wLjg1QzUuMDYsOC43LDUsOC4zNiw1LDhjMC0xLjY1LDEuMzUtMywzLTNjMC4xOCwwLDAuMzUsMC4wMiwwLjUyLDAuMDUKCQlsMC43Mi0wLjg2QzguOTcsNC4xMSw4LjcsNC4wNSw4LjQxLDQuMDJjMC4zLDAuMDEsMC42LDAuMDQsMC44OSwwLjA5TDEwLjA0LDMuMjR6Ii8+CjwvZz4KPHBhdGggZD0iTTEzLjIzNSwyLjkyOGwtOS4zMiwxMS4xMDhjLTAuMjY2LDAuMzE3LTAuNzM5LDAuMzU5LTEuMDU3LDAuMDkybDAsMGMtMC4zMTctMC4yNjYtMC4zNTktMC43MzktMC4wOTItMS4wNTdsOS4zMi0xMS4xMDgKCWMwLjI2Ni0wLjMxNywwLjczOS0wLjM1OSwxLjA1Ny0wLjA5MmwwLDBDMTMuNDYsMi4xMzgsMTMuNTAxLDIuNjExLDEzLjIzNSwyLjkyOHoiLz4KPC9zdmc+Cg=="});var npt=xe((dmn,YHo)=>{YHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgo8Zz4KCTxwYXRoIGQ9Ik0xMSw1djdINFY1SDExIE0xMSw0SDRDMy40NDgsNCwzLDQuNDQ4LDMsNXY3YzAsMC41NTIsMC40NDgsMSwxLDFoN2MwLjU1MiwwLDEtMC40NDgsMS0xVjVDMTIsNC40NDgsMTEuNTUyLDQsMTEsNEwxMSw0eiIKCQkvPgo8L2c+CjxwYXRoIGQ9Ik05LjUwNiw5SDUuNDk0QzUuMjIxLDksNSw4Ljc3OSw1LDguNTA2djBjMC0wLjI3MywwLjIyMS0wLjQ5NCwwLjQ5NC0wLjQ5NGg0LjAxMUM5Ljc3OSw4LjAxMSwxMCw4LjIzMywxMCw4LjUwNnYwCglDMTAsOC43NzksOS43NzksOSw5LjUwNiw5eiIvPgo8cGF0aCBkPSJNNy45OTQsNi41djQuMDExYzAsMC4yNzMtMC4yMjEsMC40OTQtMC40OTQsMC40OTRoMGMtMC4yNzMsMC0wLjQ5NC0wLjIyMS0wLjQ5NC0wLjQ5NFY2LjVjMC0wLjI3MywwLjIyMS0wLjQ5NCwwLjQ5NC0wLjQ5NAoJaDBDNy43NzMsNi4wMDYsNy45OTQsNi4yMjcsNy45OTQsNi41eiIvPgo8Zz4KCTxwYXRoIGQ9Ik03LjUsMEM3LjIyNCwwLDcsMC4yMjQsNywwLjVTNy4yMjQsMSw3LjUsMVM4LDAuNzc2LDgsMC41UzcuNzc2LDAsNy41LDBMNy41LDB6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNNy41LDJDNy4yMjQsMiw3LDIuMjI0LDcsMi41UzcuMjI0LDMsNy41LDNTOCwyLjc3Niw4LDIuNVM3Ljc3NiwyLDcuNSwyTDcuNSwyeiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTEzLjUsOEMxMy4yMjQsOCwxMyw4LjIyNCwxMyw4LjVTMTMuMjI0LDksMTMuNSw5UzE0LDguNzc2LDE0LDguNVMxMy43NzYsOCwxMy41LDhMMTMuNSw4eiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTE1LjUsOEMxNS4yMjQsOCwxNSw4LjIyNCwxNSw4LjVTMTUuMjI0LDksMTUuNSw5UzE2LDguNzc2LDE2LDguNVMxNS43NzYsOCwxNS41LDhMMTUuNSw4eiIvPgo8L2c+Cjwvc3ZnPgo="});var apt=xe((umn,WHo)=>{WHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTEsNXY3SDRWNUgxMSBNMTEsNEg0QzMuNDQ4LDQsMyw0LjQ0OCwzLDV2N2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDdjMC41NTIsMCwxLTAuNDQ4LDEtMVY1QzEyLDQuNDQ4LDExLjU1Miw0LDExLDRMMTEsNHoiCgkJLz4KPC9nPgo8cGF0aCBkPSJNOS41MDYsOUg1LjQ5NEM1LjIyMSw5LDUsOC43NzksNSw4LjUwNnYwYzAtMC4yNzMsMC4yMjEtMC40OTQsMC40OTQtMC40OTRoNC4wMTFDOS43NzksOC4wMTEsMTAsOC4yMzMsMTAsOC41MDZ2MAoJQzEwLDguNzc5LDkuNzc5LDksOS41MDYsOXoiLz4KPGc+Cgk8cGF0aCBkPSJNNy41LDBDNy4yMjQsMCw3LDAuMjI0LDcsMC41UzcuMjI0LDEsNy41LDFTOCwwLjc3Niw4LDAuNVM3Ljc3NiwwLDcuNSwwTDcuNSwweiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTcuNSwyQzcuMjI0LDIsNywyLjIyNCw3LDIuNVM3LjIyNCwzLDcuNSwzUzgsMi43NzYsOCwyLjVTNy43NzYsMiw3LjUsMkw3LjUsMnoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xMy41LDhDMTMuMjI0LDgsMTMsOC4yMjQsMTMsOC41UzEzLjIyNCw5LDEzLjUsOVMxNCw4Ljc3NiwxNCw4LjVTMTMuNzc2LDgsMTMuNSw4TDEzLjUsOHoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xNS41LDhDMTUuMjI0LDgsMTUsOC4yMjQsMTUsOC41UzE1LjIyNCw5LDE1LjUsOVMxNiw4Ljc3NiwxNiw4LjVTMTUuNzc2LDgsMTUuNSw4TDE1LjUsOHoiLz4KPC9nPgo8L3N2Zz4K"});var Ow=xe((pmn,QHo)=>{QHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTEsNXY3SDRWNUgxMSBNMTEsNEg0QzMuNDQ4LDQsMyw0LjQ0OCwzLDV2N2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDdjMC41NTIsMCwxLTAuNDQ4LDEtMVY1QzEyLDQuNDQ4LDExLjU1Miw0LDExLDRMMTEsNHoiCgkJLz4KPC9nPgo8cGF0aCBkPSJNOS41MDYsOUg1LjQ5NEM1LjIyMSw5LDUsOC43NzksNSw4LjUwNnYwYzAtMC4yNzMsMC4yMjEtMC40OTQsMC40OTQtMC40OTRoNC4wMTFDOS43NzksOC4wMTEsMTAsOC4yMzMsMTAsOC41MDZ2MAoJQzEwLDguNzc5LDkuNzc5LDksOS41MDYsOXoiLz4KPGc+Cgk8cGF0aCBkPSJNNy41LDBDNy4yMjQsMCw3LDAuMjI0LDcsMC41UzcuMjI0LDEsNy41LDFTOCwwLjc3Niw4LDAuNVM3Ljc3NiwwLDcuNSwwTDcuNSwweiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTcuNSwyQzcuMjI0LDIsNywyLjIyNCw3LDIuNVM3LjIyNCwzLDcuNSwzUzgsMi43NzYsOCwyLjVTNy43NzYsMiw3LjUsMkw3LjUsMnoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik03LjUsMTRDNy4yMjQsMTQsNywxNC4yMjQsNywxNC41UzcuMjI0LDE1LDcuNSwxNVM4LDE0Ljc3Niw4LDE0LjVTNy43NzYsMTQsNy41LDE0TDcuNSwxNHoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xMy41LDhDMTMuMjI0LDgsMTMsOC4yMjQsMTMsOC41UzEzLjIyNCw5LDEzLjUsOVMxNCw4Ljc3NiwxNCw4LjVTMTMuNzc2LDgsMTMuNSw4TDEzLjUsOHoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xNS41LDhDMTUuMjI0LDgsMTUsOC4yMjQsMTUsOC41UzE1LjIyNCw5LDE1LjUsOVMxNiw4Ljc3NiwxNiw4LjVTMTUuNzc2LDgsMTUuNSw4TDE1LjUsOHoiLz4KPC9nPgo8L3N2Zz4K"});var SAe=xe((mmn,KHo)=>{KHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTEwLjk0Niw3LjA4OUw4LjEzNyw0LjA2MWMtMC4wNzUtMC4wODEtMC4xOTktMC4wODEtMC4yNzQsMEw1LjA1NCw3LjA4OUM0LjkzNyw3LjIxNiw1LjAyMyw3LjQyOSw1LjE5MSw3LjQyOWgxLjQ0NHY0LjI5NwoJQzYuNjM2LDExLjg3Nyw2Ljc1MywxMiw2Ljg5OCwxMmgyLjIwNWMwLjE0NSwwLDAuMjYyLTAuMTIzLDAuMjYyLTAuMjc0VjcuNDI5aDEuNDQ0QzEwLjk3Nyw3LjQyOSwxMS4wNjMsNy4yMTYsMTAuOTQ2LDcuMDg5eiIvPgo8L3N2Zz4K"});var spt=xe((hmn,ZHo)=>{ZHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTUuMDU0LDguOTExbDIuODA5LDMuMDI5YzAuMDc1LDAuMDgxLDAuMTk5LDAuMDgxLDAuMjc0LDBsMi44MDktMy4wMjljMC4xMTgtMC4xMjcsMC4wMzItMC4zMzktMC4xMzctMC4zMzlIOS4zNjRWNC4yNzQKCUM5LjM2NCw0LjEyMyw5LjI0Nyw0LDkuMTAyLDRINi44OThDNi43NTMsNCw2LjYzNiw0LjEyMyw2LjYzNiw0LjI3NHY0LjI5N0g1LjE5MUM1LjAyMyw4LjU3MSw0LjkzNyw4Ljc4NCw1LjA1NCw4LjkxMXoiLz4KPC9zdmc+Cg=="});var I2=xe((fmn,JHo)=>{JHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTcuMywxMC4wMDJMNC4xNDYsNi44NTZjLTAuMTk2LTAuMTk2LTAuMTk2LTAuNTEzLDAtMC43MDlsMCwwYzAuMTk2LTAuMTk2LDAuNTE0LTAuMTk2LDAuNzA5LDAuMDAxTDgsOS4zMDJsMy4xNDUtMy4xNTQKCWMwLjE5Ni0wLjE5NiwwLjUxMy0wLjE5NiwwLjcwOS0wLjAwMXYwYzAuMTk2LDAuMTk2LDAuMTk2LDAuNTE0LTAuMDAxLDAuNzA5TDguNywxMC4wMDJsLTAuMzQ2LDAuMzQ2CgljLTAuMTk2LDAuMTk2LTAuNTEzLDAuMTk2LTAuNzA5LDBMNy4zLDEwLjAwMnoiLz4KPC9zdmc+Cg=="});var f3e=xe((gmn,qHo)=>{qHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik05LDEuNXYxNEM5LDE1Ljc3Niw4Ljc3NiwxNiw4LjUsMTZoMEM4LjIyNCwxNiw4LDE1Ljc3Niw4LDE1LjV2LTE0QzgsMS4yMjQsOC4yMjQsMSw4LjUsMWgwQzguNzc2LDEsOSwxLjIyNCw5LDEuNXoiLz4KPHBhdGggZD0iTTEuNSw4aDE0QzE1Ljc3Niw4LDE2LDguMjI0LDE2LDguNXYwQzE2LDguNzc2LDE1Ljc3Niw5LDE1LjUsOWgtMTRDMS4yMjQsOSwxLDguNzc2LDEsOC41djBDMSw4LjIyNCwxLjIyNCw4LDEuNSw4eiIvPgo8Zz4KCTxwYXRoIGQ9Ik0xLjI1LDguOTMzbDIuNTk4LDEuNWMwLjIzOSwwLjEzOCwwLjU0NSwwLjA1NiwwLjY4My0wLjE4M2wwLDBjMC4xMzgtMC4yMzksMC4wNTYtMC41NDUtMC4xODMtMC42ODNsLTIuNTk4LTEuNQoJCUMxLjUxMSw3LjkyOSwxLjIwNSw4LjAxMSwxLjA2Nyw4LjI1bDAsMEMwLjkyOSw4LjQ4OSwxLjAxMSw4Ljc5NSwxLjI1LDguOTMzeiIvPgoJPHBhdGggZD0iTTEuMjUsOC4wNjdsMi41OTgtMS41QzQuMDg3LDYuNDI5LDQuMzkzLDYuNTExLDQuNTMxLDYuNzVsMCwwYzAuMTM4LDAuMjM5LDAuMDU2LDAuNTQ1LTAuMTgzLDAuNjgzbC0yLjU5OCwxLjUKCQlDMS41MTEsOS4wNzEsMS4yMDUsOC45ODksMS4wNjcsOC43NWwwLDBDMC45MjksOC41MTEsMS4wMTEsOC4yMDUsMS4yNSw4LjA2N3oiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xNS43NSw4LjA2N2wtMi41OTgtMS41Yy0wLjIzOS0wLjEzOC0wLjU0NS0wLjA1Ni0wLjY4MywwLjE4M2wwLDBjLTAuMTM4LDAuMjM5LTAuMDU2LDAuNTQ1LDAuMTgzLDAuNjgzbDIuNTk4LDEuNQoJCWMwLjIzOSwwLjEzOCwwLjU0NSwwLjA1NiwwLjY4My0wLjE4M3YwQzE2LjA3MSw4LjUxMSwxNS45ODksOC4yMDUsMTUuNzUsOC4wNjd6Ii8+Cgk8cGF0aCBkPSJNMTUuNzUsOC45MzNsLTIuNTk4LDEuNWMtMC4yMzksMC4xMzgtMC41NDUsMC4wNTYtMC42ODMtMC4xODNsMCwwYy0wLjEzOC0wLjIzOS0wLjA1Ni0wLjU0NSwwLjE4My0wLjY4M2wyLjU5OC0xLjUKCQljMC4yMzktMC4xMzgsMC41NDUtMC4wNTYsMC42ODMsMC4xODNsMCwwQzE2LjA3MSw4LjQ4OSwxNS45ODksOC43OTUsMTUuNzUsOC45MzN6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNOC45MzMsMTUuNzVsMS41LTIuNTk4YzAuMTM4LTAuMjM5LDAuMDU2LTAuNTQ1LTAuMTgzLTAuNjgzbDAsMGMtMC4yMzktMC4xMzgtMC41NDUtMC4wNTYtMC42ODMsMC4xODNsLTEuNSwyLjU5OAoJCWMtMC4xMzgsMC4yMzktMC4wNTYsMC41NDUsMC4xODMsMC42ODNoMEM4LjQ4OSwxNi4wNzEsOC43OTUsMTUuOTg5LDguOTMzLDE1Ljc1eiIvPgoJPHBhdGggZD0iTTguMDY3LDE1Ljc1bC0xLjUtMi41OThjLTAuMTM4LTAuMjM5LTAuMDU2LTAuNTQ1LDAuMTgzLTAuNjgzbDAsMGMwLjIzOS0wLjEzOCwwLjU0NS0wLjA1NiwwLjY4MywwLjE4M2wxLjUsMi41OTgKCQljMC4xMzgsMC4yMzksMC4wNTYsMC41NDUtMC4xODMsMC42ODNsMCwwQzguNTExLDE2LjA3MSw4LjIwNSwxNS45ODksOC4wNjcsMTUuNzV6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNOC4wNjcsMS4yNWwtMS41LDIuNTk4QzYuNDI5LDQuMDg3LDYuNTExLDQuMzkzLDYuNzUsNC41MzFsMCwwYzAuMjM5LDAuMTM4LDAuNTQ1LDAuMDU2LDAuNjgzLTAuMTgzbDEuNS0yLjU5OAoJCUM5LjA3MSwxLjUxMSw4Ljk4OSwxLjIwNSw4Ljc1LDEuMDY3bDAsMEM4LjUxMSwwLjkyOSw4LjIwNSwxLjAxMSw4LjA2NywxLjI1eiIvPgoJPHBhdGggZD0iTTguOTMzLDEuMjVsMS41LDIuNTk4YzAuMTM4LDAuMjM5LDAuMDU2LDAuNTQ1LTAuMTgzLDAuNjgzbDAsMGMtMC4yMzksMC4xMzgtMC41NDUsMC4wNTYtMC42ODMtMC4xODNsLTEuNS0yLjU5OAoJCUM3LjkyOSwxLjUxMSw4LjAxMSwxLjIwNSw4LjI1LDEuMDY3bDAsMEM4LjQ4OSwwLjkyOSw4Ljc5NSwxLjAxMSw4LjkzMywxLjI1eiIvPgo8L2c+Cjwvc3ZnPgo="});var lpt=xe((bmn,XHo)=>{XHo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMS41LDVDMS43NzYsNSwyLDQuNzc2LDIsNC41VjJoMi41QzQuNzc2LDIsNSwxLjc3Niw1LDEuNUM1LDEuMjI0LDQuNzc2LDEsNC41LDFoLTNDMS4yMjQsMSwxLDEuMjI0LDEsMS41djMKCQlDMSw0Ljc3NiwxLjIyNCw1LDEuNSw1eiIvPgoJPHBhdGggZD0iTTE1LjUsMWgtM0MxMi4yMjQsMSwxMiwxLjIyNCwxMiwxLjVDMTIsMS43NzYsMTIuMjI0LDIsMTIuNSwyaDEuNzkzTDIsMTQuMjkzVjEyLjVDMiwxMi4yMjQsMS43NzYsMTIsMS41LDEyCgkJUzEsMTIuMjI0LDEsMTIuNXYzQzEsMTUuNzc2LDEuMjI0LDE2LDEuNSwxNmgzQzQuNzc2LDE2LDUsMTUuNzc2LDUsMTUuNUM1LDE1LjIyNCw0Ljc3NiwxNSw0LjUsMTVIMi43MDdMMTUsMi43MDdWNC41CgkJQzE1LDQuNzc2LDE1LjIyNCw1LDE1LjUsNVMxNiw0Ljc3NiwxNiw0LjV2LTNDMTYsMS4yMjQsMTUuNzc2LDEsMTUuNSwxeiIvPgoJPHBhdGggZD0iTTE1LjUsMTJjLTAuMjc2LDAtMC41LDAuMjI0LTAuNSwwLjVWMTVoLTIuNWMtMC4yNzYsMC0wLjUsMC4yMjQtMC41LDAuNWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41aDMKCQljMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNXYtM0MxNiwxMi4yMjQsMTUuNzc2LDEyLDE1LjUsMTJ6Ii8+CjwvZz4KPC9zdmc+Cg=="});var cpt=xe((ymn,$Ho)=>{$Ho.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTMuNSwxMWMtMC41MDksMC0wLjk4MiwwLjE1NC0xLjM3NywwLjQxNmwtMC42NTgtMC42NThjLTAuMTk1LTAuMTk1LTAuNTEyLTAuMTk1LTAuNzA3LDAKCQljLTAuMTk1LDAuMTk1LTAuMTk1LDAuNTEyLDAsMC43MDdsMC42NTgsMC42NThDMTEuMTU0LDEyLjUxOCwxMSwxMi45OSwxMSwxMy41YzAsMS4zODEsMS4xMTksMi41LDIuNSwyLjVzMi41LTEuMTE5LDIuNS0yLjUKCQlDMTYsMTIuMTE5LDE0Ljg4MSwxMSwxMy41LDExeiBNMTMuNSwxNWMtMC44MjcsMC0xLjUtMC42NzMtMS41LTEuNWMwLTAuODI3LDAuNjczLTEuNSwxLjUtMS41czEuNSwwLjY3MywxLjUsMS41CgkJQzE1LDE0LjMyNywxNC4zMjcsMTUsMTMuNSwxNXoiLz4KCTxwYXRoIGQ9Ik05LjEzMiw4LjQyNWMtMC4xOTUtMC4xOTUtMC41MTItMC4xOTUtMC43MDcsMHMtMC4xOTUsMC41MTIsMCwwLjcwN2wwLjcwNywwLjcwN2MwLjA5OCwwLjA5OCwwLjIyNiwwLjE0NiwwLjM1NCwwLjE0NgoJCXMwLjI1Ni0wLjA0OSwwLjM1NC0wLjE0NmMwLjE5NS0wLjE5NSwwLjE5NS0wLjUxMiwwLTAuNzA3TDkuMTMyLDguNDI1eiIvPgoJPHBhdGggZD0iTTQuNTg0LDMuODc3QzQuODQ2LDMuNDgyLDUsMy4wMDksNSwyLjVDNSwxLjExOSwzLjg4MSwwLDIuNSwwUzAsMS4xMTksMCwyLjVDMCwzLjg4MSwxLjExOSw1LDIuNSw1CgkJYzAuNTA5LDAsMC45ODItMC4xNTQsMS4zNzctMC40MTZsMC41ODgsMC41ODhDNC41NjIsNS4yNyw0LjY5LDUuMzE4LDQuODE4LDUuMzE4UzUuMDc0LDUuMjcsNS4xNzIsNS4xNzIKCQljMC4xOTUtMC4xOTUsMC4xOTUtMC41MTIsMC0wLjcwN0w0LjU4NCwzLjg3N3ogTTIuNSw0QzEuNjczLDQsMSwzLjMyNywxLDIuNUMxLDEuNjczLDEuNjczLDEsMi41LDFTNCwxLjY3Myw0LDIuNQoJCUM0LDMuMzI3LDMuMzI3LDQsMi41LDR6Ii8+Cgk8cGF0aCBkPSJNNi43OTgsNi4wOTFjLTAuMTk1LTAuMTk1LTAuNTEyLTAuMTk1LTAuNzA3LDBzLTAuMTk1LDAuNTEyLDAsMC43MDdsMC43MDgsMC43MDhjMC4wOTgsMC4wOTgsMC4yMjYsMC4xNDYsMC4zNTQsMC4xNDYKCQlzMC4yNTYtMC4wNDksMC4zNTQtMC4xNDZjMC4xOTUtMC4xOTUsMC4xOTUtMC41MTIsMC0wLjcwN0w2Ljc5OCw2LjA5MXoiLz4KPC9nPgo8L3N2Zz4K"});var dpt=xe((wmn,eGo)=>{eGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgoJPHBhdGggZD0iTTE1LjUsMTFoLTEuNTVjLTAuMi0wLjk4LTAuOTctMS43NS0xLjk1LTEuOTV2LTIuMWMwLjk4LTAuMiwxLjc1LTAuOTcsMS45NS0xLjk1aDEuNTVDMTUuNzgsNSwxNiw0Ljc4LDE2LDQuNQoJCUMxNiw0LjIyLDE1Ljc4LDQsMTUuNSw0aC0xLjU1Yy0wLjItMC45OC0wLjk3LTEuNzUtMS45NS0xLjk1VjAuNUMxMiwwLjIyLDExLjc4LDAsMTEuNSwwUzExLDAuMjIsMTEsMC41djEuNTUKCQlDMTAuMDIsMi4yNSw5LjI1LDMuMDIsOS4wNSw0aC0yLjFDNi43NSwzLjAyLDUuOTgsMi4yNSw1LDIuMDVWMC41QzUsMC4yMiw0Ljc4LDAsNC41LDBTNCwwLjIyLDQsMC41djEuNTUKCQlDMy4wMiwyLjI1LDIuMjUsMy4wMiwyLjA1LDRIMC41QzAuMjIsNCwwLDQuMjIsMCw0LjVDMCw0Ljc4LDAuMjIsNSwwLjUsNWgxLjU1QzIuMjUsNS45OCwzLjAyLDYuNzUsNCw2Ljk1djIuMQoJCUMzLjAyLDkuMjUsMi4yNSwxMC4wMiwyLjA1LDExSDAuNUMwLjIyLDExLDAsMTEuMjIsMCwxMS41QzAsMTEuNzgsMC4yMiwxMiwwLjUsMTJoMS41NWMwLjIsMC45OCwwLjk3LDEuNzUsMS45NSwxLjk1djEuNTUKCQlDNCwxNS43OCw0LjIyLDE2LDQuNSwxNlM1LDE1Ljc4LDUsMTUuNXYtMS41NWMwLjk4LTAuMiwxLjc1LTAuOTcsMS45NS0xLjk1aDIuMWMwLjIsMC45OCwwLjk3LDEuNzUsMS45NSwxLjk1djEuNTUKCQljMCwwLjI4LDAuMjIsMC41LDAuNSwwLjVzMC41LTAuMjIsMC41LTAuNXYtMS41NWMwLjk4LTAuMiwxLjc1LTAuOTcsMS45NS0xLjk1aDEuNTVjMC4yOCwwLDAuNS0wLjIyLDAuNS0wLjUKCQlDMTYsMTEuMjIsMTUuNzgsMTEsMTUuNSwxMXogTTkuMDUsMTFoLTIuMUM2Ljc1LDEwLjAyLDUuOTgsOS4yNSw1LDkuMDV2LTIuMUM1Ljk4LDYuNzUsNi43NSw1Ljk4LDYuOTUsNWgyLjEKCQljMC4yLDAuOTgsMC45NywxLjc1LDEuOTUsMS45NXYyLjFDMTAuMDIsOS4yNSw5LjI1LDEwLjAyLDkuMDUsMTF6IE0xMSwzLjA5QzExLjE2LDMuMDMsMTEuMzIsMywxMS41LDNzMC4zNCwwLjAzLDAuNSwwLjA5CgkJYzAuNDMsMC4xNSwwLjc2LDAuNDgsMC45MSwwLjkxQzEyLjk3LDQuMTYsMTMsNC4zMiwxMyw0LjVTMTIuOTcsNC44NCwxMi45MSw1QzEyLjc2LDUuNDMsMTIuNDMsNS43NiwxMiw1LjkxCgkJQzExLjg0LDUuOTcsMTEuNjgsNiwxMS41LDZTMTEuMTYsNS45NywxMSw1LjkxQzEwLjU3LDUuNzYsMTAuMjQsNS40MywxMC4wOSw1QzEwLjAzLDQuODQsMTAsNC42OCwxMCw0LjVzMC4wMy0wLjM0LDAuMDktMC41CgkJQzEwLjI0LDMuNTcsMTAuNTcsMy4yNCwxMSwzLjA5eiBNMy4wOSw1QzMuMDMsNC44NCwzLDQuNjgsMyw0LjVTMy4wMyw0LjE2LDMuMDksNEMzLjI0LDMuNTcsMy41NywzLjI0LDQsMy4wOQoJCUM0LjE2LDMuMDMsNC4zMiwzLDQuNSwzUzQuODQsMy4wMyw1LDMuMDlDNS40MywzLjI0LDUuNzYsMy41Nyw1LjkxLDRDNS45Nyw0LjE2LDYsNC4zMiw2LDQuNVM1Ljk3LDQuODQsNS45MSw1CgkJQzUuNzYsNS40Myw1LjQzLDUuNzYsNSw1LjkxQzQuODQsNS45Nyw0LjY4LDYsNC41LDZTNC4xNiw1Ljk3LDQsNS45MUMzLjU3LDUuNzYsMy4yNCw1LjQzLDMuMDksNXogTTUsMTIuOTEKCQlDNC44NCwxMi45Nyw0LjY4LDEzLDQuNSwxM1M0LjE2LDEyLjk3LDQsMTIuOTFDMy41NywxMi43NiwzLjI0LDEyLjQzLDMuMDksMTJDMy4wMywxMS44NCwzLDExLjY4LDMsMTEuNXMwLjAzLTAuMzQsMC4wOS0wLjUKCQljMC4xNS0wLjQzLDAuNDgtMC43NiwwLjkxLTAuOTFDNC4xNiwxMC4wMyw0LjMyLDEwLDQuNSwxMHMwLjM0LDAuMDMsMC41LDAuMDljMC40MywwLjE1LDAuNzYsMC40OCwwLjkxLDAuOTEKCQlDNS45NywxMS4xNiw2LDExLjMyLDYsMTEuNVM1Ljk3LDExLjg0LDUuOTEsMTJDNS43NiwxMi40Myw1LjQzLDEyLjc2LDUsMTIuOTF6IE0xMiwxMi45MUMxMS44NCwxMi45NywxMS42OCwxMywxMS41LDEzCgkJcy0wLjM0LTAuMDMtMC41LTAuMDljLTAuNDMtMC4xNS0wLjc2LTAuNDgtMC45MS0wLjkxQzEwLjAzLDExLjg0LDEwLDExLjY4LDEwLDExLjVzMC4wMy0wLjM0LDAuMDktMC41CgkJYzAuMTUtMC40MywwLjQ4LTAuNzYsMC45MS0wLjkxYzAuMTYtMC4wNiwwLjMyLTAuMDksMC41LTAuMDlzMC4zNCwwLjAzLDAuNSwwLjA5YzAuNDMsMC4xNSwwLjc2LDAuNDgsMC45MSwwLjkxCgkJYzAuMDYsMC4xNiwwLjA5LDAuMzIsMC4wOSwwLjVzLTAuMDMsMC4zNC0wLjA5LDAuNUMxMi43NiwxMi40MywxMi40MywxMi43NiwxMiwxMi45MXoiLz4KPC9nPgo8L3N2Zz4K"});var WJt=xe((Cmn,tGo)=>{tGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTguOTA2LDVDOS41MDksNSwxMCw1LjQ5MSwxMCw2LjA5NFM5LjUwOSw3LjE4OCw4LjkwNiw3LjE4OEg3VjVIOC45MDYgTTguOTA2LDRINi41NzFDNi4yNTYsNCw2LDQuMjU2LDYsNC41NzF2My4wNDUKCWMwLDAuMzE1LDAuMjU2LDAuNTcxLDAuNTcxLDAuNTcxaDIuMzM1QzEwLjA2Myw4LjE4OCwxMSw3LjI1LDExLDYuMDk0UzEwLjA2Myw0LDguOTA2LDRMOC45MDYsNHoiLz4KPHBhdGggc3R5bGU9ImZpbGw6bm9uZTtzdHJva2U6IzAwMDAwMDtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTA7IiBkPSJNNi43Niw3LjY5CgljMC4zNzksMC4wOCwxLjAxNCwwLjA0NiwxLjQsMC4wNmMwLjI3LDAuMDEsMS4wNTYtMC4xMzEsMS4yNiwwLjQ0YzAuNDQsMS4yMywxLjA5NywzLjMwMywxLjA5NywzLjMwMyIvPgo8cGF0aCBkPSJNNi41LDEyTDYuNSwxMkM2LjIyNCwxMiw2LDExLjc3Niw2LDExLjV2LTdDNiw0LjIyNCw2LjIyNCw0LDYuNSw0aDBDNi43NzYsNCw3LDQuMjI0LDcsNC41djdDNywxMS43NzYsNi43NzYsMTIsNi41LDEyeiIvPgo8cGF0aCBkPSJNMTYsNC41TDE2LDQuNUMxNiw0LjIyNCwxNS43NzYsNCwxNS41LDRoLTFDMTMuMTE5LDQsMTIsNS4xMTksMTIsNi41djNjMCwxLjM4MSwxLjExOSwyLjUsMi41LDIuNWgxCgljMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNXYwYzAtMC4yNzYtMC4yMjQtMC41LTAuNS0wLjVoLTEuMDA0QzEzLjY3LDExLDEzLDEwLjMzLDEzLDkuNTA0VjYuNDk2QzEzLDUuNjcsMTMuNjcsNSwxNC40OTYsNUgxNS41CglDMTUuNzc2LDUsMTYsNC43NzYsMTYsNC41eiIvPgo8cGF0aCBkPSJNNSw0LjVMNSw0LjVDNSw0LjIyNCw0Ljc3Niw0LDQuNSw0SDFoMEMwLjQ0OCw0LDAsNC40NDgsMCw1djZjMCwwLjU1MiwwLjQ0OCwxLDEsMWgwaDMuNUM0Ljc3NiwxMiw1LDExLjc3Niw1LDExLjV2MAoJQzUsMTEuMjI0LDQuNzc2LDExLDQuNSwxMUgxVjguNWgyLjVDMy43NzYsOC41LDQsOC4yNzYsNCw4djBjMC0wLjI3Ni0wLjIyNC0wLjUtMC41LTAuNUgxVjVoMy41QzQuNzc2LDUsNSw0Ljc3Niw1LDQuNXoiLz4KPC9zdmc+Cg=="});var upt=xe((xmn,iGo)=>{iGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNNy42MjksOS43MjRjLTAuMDAzLTAuMDEtMC4wMS0wLjAxNy0wLjAxMy0wLjAyNkM3LjYwOSw5LjY3Nyw3LjYwMSw5LjY1Nyw3LjU5MSw5LjYzNmMtMC4wMS0wLjAyMS0wLjAyMi0wLjA0LTAuMDM1LTAuMDYKCQlDNy41NDQsOS41NTksNy41MzEsOS41NDIsNy41MTcsOS41MjZDNy41MSw5LjUxOCw3LjUwOCw5LjUwOCw3LjUsOS41UzcuNDgyLDkuNDksNy40NzQsOS40ODNDNy40NTgsOS40NjgsNy40NDEsOS40NTYsNy40MjMsOS40NDQKCQlDNy40MDQsOS40MzEsNy4zODUsOS40Miw3LjM2NCw5LjQwOWMtMC4wMjEtMC4wMS0wLjA0LTAuMDE5LTAuMDYyLTAuMDI2Yy0wLjAxLTAuMDAzLTAuMDE2LTAuMDEtMC4wMjYtMC4wMTMKCQljLTAuMDEtMC4wMDMtMC4wMiwwLTAuMDMtMC4wMDJDNy4yMjQsOS4zNjQsNy4yMDQsOS4zNjIsNy4xODIsOS4zNmMtMC4wMjQtMC4wMDItMC4wNDctMC4wMDItMC4wNzEsMAoJCUM3LjA4OSw5LjM2Miw3LjA2OSw5LjM2NCw3LjA0Nyw5LjM2OWMtMC4wMSwwLjAwMi0wLjAyLTAuMDAxLTAuMDMxLDAuMDAybC0yLjg5OCwwLjc3NmMtMC4yNjcsMC4wNzEtMC40MjUsMC4zNDYtMC4zNTQsMC42MTIKCQlzMC4zNDYsMC40MjUsMC42MTIsMC4zNTRsMS4wOTYtMC4yOTRsLTQuMzI3LDQuMzI3Yy0wLjE5NSwwLjE5NS0wLjE5NSwwLjUxMiwwLDAuNzA3YzAuMTk1LDAuMTk1LDAuNTEyLDAuMTk1LDAuNzA3LDBsNC4zMjctNC4zMjcKCQlsLTAuMjk0LDEuMDk1Yy0wLjA3MSwwLjI2NywwLjA4NywwLjU0MSwwLjM1NCwwLjYxMmMwLjI2NywwLjA3MSwwLjU0MS0wLjA4NywwLjYxMi0wLjM1NGwwLjc3Ni0yLjg5OAoJCWMwLjAwMy0wLjAxLDAtMC4wMiwwLjAwMi0wLjAzMUM3LjYzNiw5LjkzMSw3LjYzOCw5LjkxMSw3LjY0LDkuODg5YzAuMDAyLTAuMDI0LDAuMDAyLTAuMDQ3LDAtMC4wNwoJCUM3LjYzOCw5Ljc5Niw3LjYzNiw5Ljc3Niw3LjYzMSw5Ljc1NEM3LjYyOSw5Ljc0NCw3LjYzMiw5LjczNCw3LjYyOSw5LjcyNHoiLz4KCTxwYXRoIGQ9Ik0xNS43MDcsNS45OTdMMTUsNS4yOWwtMC4wOC0wLjA3bC0wLjAzLTAuMDRsLTAuMDctMC4wN2wtMC4wNC0wLjAzbC0yLjg2LTIuODZsLTAuMDMtMC4wNGwtMC4wNy0wLjA3bC0wLjA0LTAuMDNMMTEuNzEsMgoJCWwtMC43MDctMC43MDdDMTAuODE1LDEuMTA1LDEwLjU2MSwxLDEwLjI5NiwxSDkuMjlIMy43MUgyLjI5SDEuNUMxLjIyLDEsMSwxLjIyLDEsMS41QzEsMS43OCwxLjIyLDIsMS41LDJoMS43OWgxLjQyaDUuNThMMTEsMi43MQoJCWwxLDFMMTMuMjksNWwxLDFMMTUsNi43MXY0LjU4djEuNDJ2Mi43OWMwLDAuMjgsMC4yMiwwLjUsMC41LDAuNXMwLjUtMC4yMiwwLjUtMC41di0xLjc5di0xLjQyVjcuNzFWNi43MDQKCQlDMTYsNi40MzksMTUuODk1LDYuMTg1LDE1LjcwNyw1Ljk5N3oiLz4KCTxwYXRoIGQ9Ik0xMSw3LjI5TDkuNzEsNkw5LjAwMyw1LjI5M0M4LjgxNSw1LjEwNSw4LjU2MSw1LDguMjk2LDVINy4yOUgxLjVDMS4yMiw1LDEsNS4yMiwxLDUuNUMxLDUuNzgsMS4yMiw2LDEuNSw2aDYuNzlMMTEsOC43MQoJCXY2Ljc5YzAsMC4yOCwwLjIyLDAuNSwwLjUsMC41czAuNS0wLjIyLDAuNS0wLjVWOS43MVY4LjcwNGMwLTAuMjY1LTAuMTA1LTAuNTItMC4yOTMtMC43MDdMMTEsNy4yOXoiLz4KPC9nPgo8L3N2Zz4K"});var ppt=xe((Tmn,oGo)=>{oGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LjUsMTJoLTE1QzAuMjI0LDEyLDAsMTIuMjI0LDAsMTIuNUMwLDEyLjc3NiwwLjIyNCwxMywwLjUsMTNoMTVjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNUMxNiwxMi4yMjQsMTUuNzc2LDEyLDE1LjUsMTIKCXoiLz4KPGc+Cgk8cGF0aCBkPSJNMC41LDExYy0wLjE1MSwwLTAuMzAyLTAuMDY5LTAuNC0wLjJjLTAuMTY1LTAuMjIxLTAuMTItMC41MzQsMC4xMDEtMC43TDQuMzM0LDdMMC4yLDMuOQoJCWMtMC4yMjEtMC4xNjYtMC4yNjYtMC40NzktMC4xMDEtMC43YzAuMTY3LTAuMjIyLDAuNDgtMC4yNjUsMC43LTAuMWw0LjM5NCwzLjI5NmMwLjQwMywwLjMwMiwwLjQwMywwLjkwNywwLDEuMjA5TDAuOCwxMC45CgkJQzAuNzEsMTAuOTY4LDAuNjA0LDExLDAuNSwxMXoiLz4KPC9nPgo8L3N2Zz4K"});var mpt=xe((Smn,rGo)=>{rGo.exports="data:image/svg+xml;base64, "});var hpt=xe((Mmn,nGo)=>{nGo.exports="data:image/svg+xml;base64, "});var MAe=xe((Imn,aGo)=>{aGo.exports="data:image/svg+xml;base64, "});var fpt=xe((Lmn,sGo)=>{sGo.exports="data:image/svg+xml;base64, "});var gpt=xe((vmn,lGo)=>{lGo.exports="data:image/svg+xml;base64, "});var bpt=xe((Dmn,cGo)=>{cGo.exports="data:image/svg+xml;base64, "});var ypt=xe((Emn,dGo)=>{dGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTE1LjEsNC45bC0zLjcsNC40TDguNCw2LjdsNC45LTUuOWMwLjMtMC4zLDAtMC44LTAuNC0wLjhoMGMtMC4xLDAtMC4zLDAuMS0wLjQsMC4yTDcuNiw2LjFjLTAuNCwwLjQtMC4zLDEsMC4xLDEuNAoJCWwwLjQsMC40bC0yLjYsNC40Yy0wLjEsMC4zLTAuMSwwLjYsMC4xLDAuN2MwLjEsMC4xLDAuMiwwLjEsMC40LDAuMXMwLjMsMCwwLjQtMC4xbDMuOS0zLjRsMC40LDAuNGMwLjIsMC4xLDAuNCwwLjIsMC42LDAuMgoJCWMwLjMsMCwwLjYtMC4xLDAuOC0wLjRsMy43LTQuNEMxNiw1LjQsMTYsNS4zLDE2LDUuMkMxNiw0LjcsMTUuNCw0LjUsMTUuMSw0Ljl6IE04LjksOC41TDkuNiw5bC0xLjksMS43TDguOSw4LjV6Ii8+Cgk8cGF0aCBkPSJNMTAuNywxMS4xYy0wLjItMC4xLTAuNS0wLjEtMC43LDAuMmMtMC4xLDAuMi0wLjEsMC41LDAuMiwwLjdjMC4zLDAuMiwwLjksMC42LDAuOSwxLjFjMCwwLjktMi4xLDItNSwyYy0yLjksMC01LTEuMS01LTIKCQljMC0wLjgsMS40LTEuNywzLjktMS45YzAuMywwLDAuNS0wLjMsMC40LTAuNWMwLTAuMy0wLjMtMC41LTAuNS0wLjRDMS45LDEwLjMsMCwxMS41LDAsMTNjMCwxLjcsMi42LDMsNiwzYzMuNCwwLDYtMS4zLDYtMwoJCUMxMiwxMi41LDExLjgsMTEuNywxMC43LDExLjF6Ii8+CjwvZz4KPC9zdmc+Cg=="});var wpt=xe((Amn,uGo)=>{uGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNOCwwQzMuNTgsMCwwLDMuNTgsMCw4YzAsNC40MiwzLjU4LDgsOCw4czgtMy41OCw4LThDMTYsMy41OCwxMi40MiwwLDgsMHogTTgsMTVjLTMuODYsMC03LTMuMTQtNy03czMuMTQtNyw3LTcKCQlzNywzLjE0LDcsN1MxMS44NiwxNSw4LDE1eiIvPgoJPGNpcmNsZSBjeD0iOCIgY3k9IjQiIHI9IjEiLz4KCTxwYXRoIGQ9Ik05LjI1LDExaC0wLjVWNi41YzAtMC4yOC0wLjIyLTAuNS0wLjUtMC41aC0xYy0wLjI4LDAtMC41LDAuMjItMC41LDAuNWMwLDAuMjgsMC4yMiwwLjUsMC41LDAuNWgwLjV2NGgtMC41CgkJYy0wLjI4LDAtMC41LDAuMjItMC41LDAuNWMwLDAuMjgsMC4yMiwwLjUsMC41LDAuNWgyYzAuMjgsMCwwLjUtMC4yMiwwLjUtMC41QzkuNzUsMTEuMjIsOS41MywxMSw5LjI1LDExeiIvPgo8L2c+Cjwvc3ZnPgo="});var Cpt=xe((Nmn,pGo)=>{pGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LjU2LDEzLjQ0bC0zLjk1LTMuOTVsMi4zMS0wLjcyYzAuMzYtMC4xMSwwLjQ0LTAuNTksMC4xMy0wLjgxbC0zLjM2LTIuMzhsMC4wNS00LjExQzEwLjc1LDEuMTksMTAuNTIsMSwxMC4yOCwxCgljLTAuMDksMC0wLjE5LDAuMDMtMC4yNywwLjA5bC0zLjMsMi40NmwtMy45LTEuMzJjLTAuMDUtMC4wMi0wLjEtMC4wMi0wLjE1LTAuMDJjLTAuMjksMC0wLjUzLDAuMjktMC40MywwLjZsMS4zMiwzLjlsLTIuNDYsMy4zCgljLTAuMjIsMC4zLTAuMDEsMC43MywwLjM3LDAuNzNjMCwwLDAsMCwwLjAxLDBsNC4xMS0wLjA1bDIuMzgsMy4zNmMwLjA5LDAuMTMsMC4yMywwLjE5LDAuMzcsMC4xOWMwLjE5LDAsMC4zOC0wLjExLDAuNDQtMC4zMgoJbDAuNzItMi4zMWwzLjk1LDMuOTVDMTMuNzMsMTUuODUsMTQuMTIsMTYsMTQuNSwxNnMwLjc3LTAuMTUsMS4wNi0wLjQ0QzE2LjE1LDE0Ljk3LDE2LjE1LDE0LjAzLDE1LjU2LDEzLjQ0eiBNOC4xNCwxMi41OAoJTDYuNCwxMC4xMUw2LjA5LDkuNjhMNS41Nyw5LjY5TDIuNTUsOS43M2wxLjgtMi40MmwwLjMyLTAuNDJMNC41LDYuMzlMMy41MywzLjUzTDYuMzksNC41bDAuNSwwLjE3bDAuNDItMC4zMmwyLjQyLTEuOEw5LjY5LDUuNTcKCUw5LjY4LDYuMDlsMC40MywwLjMxbDIuNDcsMS43NGwtMS43NywwLjU1TDkuNzMsOS4wM0w5LjY5LDkuMDRsLTAuNSwwLjE1bC0wLjE1LDAuNUw5LjAzLDkuNzNsLTAuMzQsMS4wOEw4LjE0LDEyLjU4eiBNMTQuODUsMTQuODUKCUMxNC43MywxNC45OCwxNC41OCwxNSwxNC41LDE1cy0wLjIzLTAuMDItMC4zNS0wLjE1bC00LjMzLTQuMzN2MGwwLjE3LTAuNTNsMC41My0wLjE3bDQuMzMsNC4zM0MxNC45OCwxNC4yNywxNSwxNC40MiwxNSwxNC41CglDMTUsMTQuNTgsMTQuOTgsMTQuNzMsMTQuODUsMTQuODV6Ii8+Cjwvc3ZnPgo="});var xpt=xe((kmn,mGo)=>{mGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTUuMTQ1LDEyLjE0OEwxNCwxMy4yOTdWOC41QzE0LDguMjI0LDEzLjc3Niw4LDEzLjUsOFMxMyw4LjIyNCwxMyw4LjV2NmMwLDAuMDY2LDAuMDEzLDAuMTMxLDAuMDM5LDAuMTkyCgkJYzAuMDUxLDAuMTIzLDAuMTUsMC4yMiwwLjI3NCwwLjI3YzAuMTIsMC4wNSwwLjI1NiwwLjA1LDAuMzc1LDBjMC4wNzEtMC4wMjksMC4xMy0wLjA3NSwwLjE4LTAuMTNsMS45ODQtMS45NzUKCQlDMTUuOTQ3LDEyLjc2MywxNiwxMi42MzUsMTYsMTIuNTAyQzE2LDEyLjA1NSwxNS40NiwxMS44MzIsMTUuMTQ1LDEyLjE0OHoiLz4KCTxwYXRoIGQ9Ik0xMS42ODgsOC4wMzhjLTAuMTItMC4wNS0wLjI1Ni0wLjA1LTAuMzc1LDBjLTAuMDcxLDAuMDI5LTAuMTMsMC4wNzQtMC4xOCwwLjEzbC0xLjk4NCwxLjk3NQoJCUM5LjA1MywxMC4yMzcsOSwxMC4zNjUsOSwxMC40OThjMCwwLjQ0NywwLjU0LDAuNjcsMC44NTUsMC4zNTNMMTEsOS43MDNWMTQuNWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41czAuNS0wLjIyNCwwLjUtMC41di02CgkJYzAtMC4wNjYtMC4wMTMtMC4xMzEtMC4wMzktMC4xOTJDMTEuOTEsOC4xODUsMTEuODExLDguMDg4LDExLjY4OCw4LjAzOHoiLz4KCTxwYXRoIGQ9Ik0xMC41LDdDMTAuNzc2LDcsMTEsNi43NzYsMTEsNi41VjVjMC0wLjU1LTAuNDUtMS0xLTFINkM1LjQ1LDQsNSw0LjQ1LDUsNXY2YzAsMC41NSwwLjQ1LDEsMSwxaDEuNQoJCUM3Ljc3NiwxMiw4LDExLjc3Niw4LDExLjVDOCwxMS4yMjQsNy43NzYsMTEsNy41LDExSDZWNWg0djEuNUMxMCw2Ljc3NiwxMC4yMjQsNywxMC41LDd6Ii8+Cgk8cGF0aCBkPSJNMTUuNSw2SDEzVjRoMi41QzE1Ljc4LDQsMTYsMy43OCwxNiwzLjVDMTYsMy4yMiwxNS43OCwzLDE1LjUsM0gxM1YyYzAtMC41NS0wLjQ1LTEtMS0xSDRDMy40NSwxLDMsMS40NSwzLDJ2MUgwLjUKCQlDMC4yMiwzLDAsMy4yMiwwLDMuNUMwLDMuNzgsMC4yMiw0LDAuNSw0SDN2MkgwLjVDMC4yMiw2LDAsNi4yMiwwLDYuNUMwLDYuNzgsMC4yMiw3LDAuNSw3SDN2MkgwLjVDMC4yMiw5LDAsOS4yMiwwLDkuNQoJCUMwLDkuNzgsMC4yMiwxMCwwLjUsMTBIM3YySDAuNUMwLjIyLDEyLDAsMTIuMjIsMCwxMi41QzAsMTIuNzgsMC4yMiwxMywwLjUsMTNIM3YxYzAsMC41NSwwLjQ1LDEsMSwxaDMuNQoJCUM3Ljc3NiwxNSw4LDE0Ljc3Niw4LDE0LjVDOCwxNC4yMjQsNy43NzYsMTQsNy41LDE0SDRWMmg4djQuNUMxMiw2Ljc3NiwxMi4yMjQsNywxMi41LDdoM0MxNS43OCw3LDE2LDYuNzgsMTYsNi41CgkJQzE2LDYuMjIsMTUuNzgsNiwxNS41LDZ6Ii8+CjwvZz4KPC9zdmc+Cg=="});var Tpt=xe((Pmn,hGo)=>{hGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNNi41LDEwaC02QzAuMjI0LDEwLDAsMTAuMjI0LDAsMTAuNVMwLjIyNCwxMSwwLjUsMTFoNkM2Ljc3NiwxMSw3LDEwLjc3Niw3LDEwLjVTNi43NzYsMTAsNi41LDEwTDYuNSwxMHoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik02LjUsMTRoLTZDMC4yMjQsMTQsMCwxNC4yMjQsMCwxNC41QzAsMTQuNzc2LDAuMjI0LDE1LDAuNSwxNWg2QzYuNzc2LDE1LDcsMTQuNzc2LDcsMTQuNUM3LDE0LjIyNCw2Ljc3NiwxNCw2LjUsMTQKCQlMNi41LDE0eiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTEzLjUsOEMxMy4yMjQsOCwxMyw4LjIyNCwxMyw4LjV2NmMwLDAuMDY2LDAuMDEzLDAuMTMxLDAuMDM5LDAuMTkyYzAuMDUxLDAuMTIzLDAuMTUsMC4yMiwwLjI3NCwwLjI3CgkJQzEzLjM3MiwxNC45ODcsMTMuNDM2LDE1LDEzLjUsMTVzMC4xMjgtMC4wMTMsMC4xODgtMC4wMzhjMC4wNzEtMC4wMjksMC4xMy0wLjA3NSwwLjE4LTAuMTNsMS45ODQtMS45NzUKCQlDMTUuOTQ3LDEyLjc2MywxNiwxMi42MzUsMTYsMTIuNTAyQzE2LDEyLjIsMTUuNzUzLDEyLDE1LjQ5NiwxMmMtMC4xMjMsMC0wLjI0OSwwLjA0Ni0wLjM1MSwwLjE0OEwxNCwxMy4yOTdWOC41CgkJQzE0LDguMjI0LDEzLjc3Niw4LDEzLjUsOEwxMy41LDh6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNMTEuNSw4Yy0wLjA2NCwwLTAuMTI4LDAuMDEzLTAuMTg4LDAuMDM4Yy0wLjA3MSwwLjAyOS0wLjEzLDAuMDc0LTAuMTgsMC4xM2wtMS45ODQsMS45NzVDOS4wNTMsMTAuMjM3LDksMTAuMzY1LDksMTAuNDk4CgkJQzksMTAuOCw5LjI0NywxMSw5LjUwNCwxMWMwLjEyMywwLDAuMjQ5LTAuMDQ2LDAuMzUxLTAuMTQ4TDExLDkuNzAzVjE0LjVjMCwwLjI3NiwwLjIyNCwwLjUsMC41LDAuNXMwLjUtMC4yMjQsMC41LTAuNXYtNgoJCWMwLTAuMDY2LTAuMDEzLTAuMTMxLTAuMDM5LTAuMTkyYy0wLjA1MS0wLjEyMy0wLjE1LTAuMjItMC4yNzQtMC4yN0MxMS42MjgsOC4wMTMsMTEuNTY0LDgsMTEuNSw4TDExLjUsOHoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik01Ljk5MywzYzAuMDM1LDAsMC4wNiwwLjAwOSwwLjA2OSwwLjAxNEw4LjY1Niw0LjVMNi4wNjMsNS45ODZDNi4wNTMsNS45OTEsNi4wMjgsNiw1Ljk5Myw2SDFWM0g1Ljk5MyBNNS45OTMsMkgwLjcyNwoJCUMwLjMyNiwyLDAsMi4zMDUsMCwyLjY4MnYzLjYzNkMwLDYuNjk1LDAuMzI2LDcsMC43MjcsN2g1LjI2NmMwLjIwMiwwLDAuNC0wLjA1MSwwLjU2Ny0wLjE0N0wxMC42NjcsNC41TDYuNTU5LDIuMTQ3CgkJQzYuMzkzLDIuMDUxLDYuMTk1LDIsNS45OTMsMkw1Ljk5MywyeiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTE1LjUsNGgtNkM5LjIyNCw0LDksNC4yMjQsOSw0LjVTOS4yMjQsNSw5LjUsNWg2QzE1Ljc3Niw1LDE2LDQuNzc2LDE2LDQuNVMxNS43NzYsNCwxNS41LDRMMTUuNSw0eiIvPgo8L2c+Cjwvc3ZnPgo="});var IAe=xe((Omn,fGo)=>{fGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTEzLjY1NywzLjA1TDMuMDUsMTMuNjU3Yy0wLjE5NSwwLjE5NS0wLjUxMiwwLjE5NS0wLjcwNywwbDAsMGMtMC4xOTUtMC4xOTUtMC4xOTUtMC41MTIsMC0wLjcwN0wxMi45NSwyLjM0MwoJYzAuMTk1LTAuMTk1LDAuNTEyLTAuMTk1LDAuNzA3LDBsMCwwQzEzLjg1MiwyLjUzOCwxMy44NTIsMi44NTUsMTMuNjU3LDMuMDV6Ii8+CjxnPgoJPHBhdGggZD0iTTE1Ljg1MywzLjE0M2wtMi45OTYtMi45OTZDMTIuNzYzLDAuMDUzLDEyLjYzNSwwLDEyLjUwMiwwYy0wLjQ0NywwLTAuNjcxLDAuNTQxLTAuMzU1LDAuODU3bDEuNDEsMS40MQoJCWMtMC4wMjEtMC4wMTMtMC4wNDctMC4wMTctMC4wNy0wLjAyNmMtMC4wMTktMC4wMDgtMC4wMzQtMC4wMjItMC4wNTUtMC4wMjdjLTAuMDEtMC4wMDMtMC4wMiwwLTAuMDMtMC4wMDIKCQljLTAuMDMzLTAuMDA3LTAuMDY2LTAuMDA2LTAuMTAxLTAuMDA2Yy0wLjAzMywwLTAuMDY2LDAtMC4wOTgsMC4wMDZjLTAuMDEsMC4wMDItMC4wMi0wLjAwMS0wLjAzMSwwLjAwMkwxMC4yNzYsMi45OQoJCWMtMC4yNjcsMC4wNzEtMC40MjUsMC4zNDYtMC4zNTQsMC42MTJjMC4wNzIsMC4yNjcsMC4zNDYsMC40MjUsMC42MTIsMC4zNTRsMi4wNjEtMC41NTJsLTAuNTUyLDIuMDYxCgkJYy0wLjA3MiwwLjI2NywwLjA4NywwLjU0MSwwLjM1NCwwLjYxMmMwLjI2NywwLjA3MSwwLjU0MS0wLjA4NywwLjYxMi0wLjM1NGwwLjc3Ni0yLjg5OGMwLjAwMy0wLjAxLDAtMC4wMiwwLjAwMi0wLjAzMQoJCWMwLjAwNy0wLjAzMiwwLjAwNi0wLjA2NCwwLjAwNi0wLjA5OGMwLTAuMDM0LDAuMDAxLTAuMDY4LTAuMDA2LTAuMTAxYy0wLjAwMi0wLjAxLDAuMDAxLTAuMDItMC4wMDItMC4wMwoJCWMtMC4wMDUtMC4wMjEtMC4wMTktMC4wMzYtMC4wMjctMC4wNTVjLTAuMDEtMC4wMjMtMC4wMTMtMC4wNDgtMC4wMjYtMC4wN2wxLjQxLDEuNDFDMTUuNDU5LDQuMTY5LDE2LDMuOTQ1LDE2LDMuNDk4djAKCQlDMTYsMy4zNjUsMTUuOTQ3LDMuMjM3LDE1Ljg1MywzLjE0M3oiLz4KCTxwYXRoIGQ9Ik01LjQ2NSwxMi4wNDRsLTIuMDYxLDAuNTUybDAuNTUyLTIuMDYxYzAuMDcyLTAuMjY3LTAuMDg3LTAuNTQxLTAuMzU0LTAuNjEyYy0wLjI2Ny0wLjA3MS0wLjU0MSwwLjA4Ny0wLjYxMiwwLjM1NAoJCWwtMC43NzYsMi44OThjLTAuMDAzLDAuMDEsMCwwLjAyLTAuMDAyLDAuMDNjLTAuMDA3LDAuMDMyLTAuMDA2LDAuMDY1LTAuMDA2LDAuMDk4YzAsMC4wMzQtMC4wMDEsMC4wNjgsMC4wMDYsMC4xMDEKCQljMC4wMDIsMC4wMS0wLjAwMSwwLjAyLDAuMDAyLDAuMDNjMC4wMDUsMC4wMjEsMC4wMTksMC4wMzUsMC4wMjcsMC4wNTVjMC4wMSwwLjAyMywwLjAxMywwLjA0OCwwLjAyNiwwLjA3bC0xLjQxLTEuNDEKCQlDMC43NjMsMTIuMDUzLDAuNjM1LDEyLDAuNTAyLDEyYy0wLjQ0NywwLTAuNjcxLDAuNTQxLTAuMzU1LDAuODU3bDIuOTk2LDIuOTk2QzMuNDU5LDE2LjE2OSw0LDE1Ljk0NSw0LDE1LjQ5OHYwCgkJYzAtMC4xMzMtMC4wNTMtMC4yNjEtMC4xNDctMC4zNTVsLTEuNDExLTEuNDExYzAuMDIxLDAuMDEzLDAuMDQ3LDAuMDE3LDAuMDcsMC4wMjZjMC4wMTksMC4wMDgsMC4wMzUsMC4wMjIsMC4wNTUsMC4wMjcKCQljMC4wMSwwLjAwMywwLjAyLDAsMC4wMywwLjAwMmMwLjAzMywwLjAwNywwLjA2NiwwLjAwNiwwLjEwMSwwLjAwNmMwLjAzMywwLDAuMDY2LDAsMC4wOTgtMC4wMDYKCQljMC4wMS0wLjAwMiwwLjAyLDAuMDAxLDAuMDMxLTAuMDAybDIuODk4LTAuNzc2YzAuMjY3LTAuMDcxLDAuNDI1LTAuMzQ2LDAuMzU0LTAuNjEyQzYuMDA2LDEyLjEzMSw1LjczMiwxMS45NzIsNS40NjUsMTIuMDQ0eiIvPgo8L2c+Cjwvc3ZnPgo="});var LAe=xe((Rmn,gGo)=>{gGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LjUsMTJIOC40OGMtMC4xMS0xLjgzLTAuODQtMy41LTEuOTktNC43OWw0Ljg3LTQuODdjMC4yLTAuMTksMC4yLTAuNTEsMC0wLjdjLTAuMDktMC4xLTAuMjItMC4xNS0wLjM1LTAuMTUKCXMtMC4yNiwwLjA1LTAuMzUsMC4xNUw1LjA4LDcuMjJsLTQuODYsNC44NmwtMC4xNCwwLjE0QzAuMDMsMTIuMywwLDEyLjQsMCwxMi41QzAsMTIuNzgsMC4yMiwxMywwLjUsMTNoMC4yaDYuNzdoMS4wMWg3LjAyCgljMC4yOCwwLDAuNS0wLjIyLDAuNS0wLjVDMTYsMTIuMjIsMTUuNzgsMTIsMTUuNSwxMnogTTEuNywxMmw0LjA4LTQuMDhDNi43Niw5LjAzLDcuMzcsMTAuNDUsNy40NywxMkgxLjd6Ii8+Cjwvc3ZnPgo="});var vAe=xe((_mn,bGo)=>{bGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNOC44Myw5LjJjMC4yNzItMC4wNDgsMC40NTMtMC4zMDcsMC40MDYtMC41NzljMCwwLTAuNTY0LTMuMTk3LTAuNTY0LTMuMjAxYzAsMCwxLjM3Ny0wLjI0LDEuNTAyLTAuMjYyCgkJYzAuMjU0LTAuMDQ0LDAuNTA5LTAuMDg5LDAuNzYzLTAuMTM1YzAuMjg4LTAuMDUxLDAuNjE4LTAuMDY1LDAuODYyLDAuMTMyYzAuMjgyLDAuMjI4LDAuNDg1LDAuNTY4LDAuNzExLDAuODQ4CgkJYzAuMzg1LDAuNDc2LDAuNzYsMC45NTksMS4xMjksMS40NDdjMC4xMDgsMC4xNDIsMC4yMTUsMC4yODUsMC4zMjEsMC40MjljMC4xLDAuMTQsMC4yNSwwLjIxLDAuNCwwLjIxYzAuMTEsMCwwLjIxLTAuMDMsMC4zLTAuMQoJCWMwLjIyLTAuMTYsMC4yNy0wLjQ3LDAuMTEtMC43Yy0wLjYyLTAuODItMS43MS0yLjI1LTIuMTctMi43MmMwLjczLTAuNDMsMS4xNC0xLjI5LDAuOTktMi4xN2MtMC4xOC0xLjA0LTEuMDgtMS43Ni0yLjA5LTEuNzYKCQljLTAuMTMsMC0wLjI1LDAuMDEtMC4zNywwLjAzYy0wLjg4OCwwLjE1OC0xLjc3OCwwLjMwNy0yLjY2NCwwLjQ3MmMtMC4yNiwwLjA0OC0wLjUyLDAuMDk4LTAuNzgsMC4xNDcKCQlDNy41MDUsMS4zMjIsNy4zMjUsMS4zMTcsNy4xODQsMS40NTFjLTAuMTIxLDAuMTE1LTAuMTc4LDAuMjg2LTAuMTQ5LDAuNDVsMS4yMTYsNi44OTRDOC4yOTksOS4wNjYsOC41NTgsOS4yNDgsOC44Myw5LjJ6CgkJIE0xMS4zLDEuNjZjMC4wNy0wLjAyLDAuMTMtMC4wMiwwLjItMC4wMmMwLjU0LDAsMS4wMSwwLjM5LDEuMSwwLjkzYzAuMDUsMC4zLTAuMDEsMC41OS0wLjE4LDAuODRjLTAuMTgsMC4yNS0wLjQzLDAuNDEtMC43MywwLjQ2CgkJbC0wLjA1LDAuMDFMOC44LDQuMzlMOC41LDQuNDRMOC4xMSwyLjIyTDExLjMsMS42NnoiLz4KCTxwYXRoIGQ9Ik0xNS40MTYsOS44MTlMNS42LDExLjU1NWwtMC4wMDMsMGwxLjMyLTEuODg1YzAuMTU4LTAuMjI2LDAuMTAzLTAuNTM4LTAuMTIzLTAuNjk2QzYuNTY4LDguODE2LDYuMjU2LDguODcxLDYuMDk4LDkuMDk3CgkJTDQuMDksMTEuOTY0Yy0wLjA1NiwwLjA4LTAuMDc2LDAuMTctMC4wODEsMC4yNkM0LjAwOSwxMi4yMzUsNCwxMi4yNDUsNCwxMi4yNTVsMC4wMDgsMC4wNzdjMCwwLjAwMywwLDAuMDA1LDAuMDAxLDAuMDA4CgkJbDAuMDAxLDAuMDE1YzAuMDEsMC4wNiwwLjAzLDAuMTEsMC4wNiwwLjE2bDAuMTQsMC4xNWMwLjA1NywwLjAzNiwwLjEyLDAuMDYxLDAuMTg0LDAuMDc0YzAuMDE0LDAuMDAzLDAuMDI5LDAsMC4wNDMsMC4wMDEKCQljMC4wNDUsMC4wMDUsMC4wOSwwLjAxMiwwLjEzNCwwLjAwNWwwLjAxNS0wLjAwMmMwLjAwMSwwLDAuMDAxLDAsMC4wMDIsMGwwLjA2Mi0wLjAwOGwxMC45MzktMS45MzcKCQlDMTUuODI3LDEwLjc1NiwxNiwxMC41NDksMTYsMTAuMzA4QzE2LDkuOTk5LDE1LjcyMSw5Ljc2NSwxNS40MTYsOS44MTl6Ii8+Cgk8cGF0aCBkPSJNMC45MTcsNS41NzFDMC42MjgsNS4xNzQsMCw1LjM3NSwwLDUuODY2djBjMCwwLjEwNiwwLjAzNSwwLjIwOSwwLjA5OCwwLjI5NEMwLjkyMyw3LjI3OCwxLjU5OSw4LjUzMywyLjA5LDkuODgKCQljMC42NzcsMS44NDcsMC45NiwzLjc0NSwwLjkwNCw1LjYwMUMyLjk4NiwxNS43NjQsMy4yMDcsMTYsMy40OSwxNmMwLjI2OCwwLDAuNDkzLTAuMjExLDAuNTAyLTAuNDc5CgkJYzAuMDYyLTEuOTgtMC4yNC00LjAxLTAuOTYyLTUuOTgxQzIuNTA2LDguMDg2LDEuNzg1LDYuNzU2LDAuOTE3LDUuNTcxeiIvPgo8L2c+Cjwvc3ZnPgo="});var QJt=xe((jmn,yGo)=>{yGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTMuNSwyQzEyLjExOSwyLDExLDMuMTE5LDExLDQuNXYzYzAsMS4zODEsMS4xMTksMi41LDIuNSwyLjVTMTYsOC44ODEsMTYsNy41di0zQzE2LDMuMTE5LDE0Ljg4MSwyLDEzLjUsMnogTTE1LDcuNQoJCUMxNSw4LjMyNywxNC4zMjcsOSwxMy41LDlTMTIsOC4zMjcsMTIsNy41di0zQzEyLDMuNjczLDEyLjY3MywzLDEzLjUsM1MxNSwzLjY3MywxNSw0LjVWNy41eiIvPgoJPHBhdGggZD0iTTYuNSwyQzUuMTE5LDIsNCwzLjExOSw0LDQuNXYzQzQsOC44ODEsNS4xMTksMTAsNi41LDEwUzksOC44ODEsOSw3LjV2LTNDOSwzLjExOSw3Ljg4MSwyLDYuNSwyeiBNOCw3LjUKCQlDOCw4LjMyNyw3LjMyNyw5LDYuNSw5UzUsOC4zMjcsNSw3LjV2LTNDNSwzLjY3Myw1LjY3MywzLDYuNSwzUzgsMy42NzMsOCw0LjVWNy41eiIvPgoJPHBhdGggZD0iTTEwLjI1LDkuNWgtMC41Yy0wLjI3NSwwLTAuNSwwLjIyNS0wLjUsMC41djAuNWMwLDAuMjc1LDAuMjI1LDAuNSwwLjUsMC41SDEwYzAsMC4zMjUtMC4yMDUsMC41OTUtMC40OSwwLjcwNQoJCWMtMC4wMDUsMC0wLjAwNSwwLTAuMDEsMC4wMDVjLTAuMDE1LDAuMDA1LTAuMDMsMC4wMS0wLjA0NSwwLjAycy0wLjAzNSwwLjAyLTAuMDUsMC4wM2MtMC4wMzUsMC4wMjUtMC4wNjUsMC4wNTUtMC4wOSwwLjA5CgkJQzkuMywxMS44Nyw5LjI5LDExLjg5NCw5LjI4LDExLjkxNGMtMC4wMTUsMC4wNC0wLjAzLDAuMDg1LTAuMDMsMC4xM3YwLjAxNWMwLDAuMjA1LDAuMTcsMC4zNzUsMC4zNzUsMC4zNzUKCQljMC4wMjUsMCwwLjA1LTAuMDA1LDAuMDc1LTAuMDFjMC4wMy0wLjAwNSwwLjA1NS0wLjAxNSwwLjA4LTAuMDI1YzAuNTctMC4yMSwwLjk3LTAuNzU1LDAuOTctMS40di0xCgkJQzEwLjc1LDkuNzI0LDEwLjUyNSw5LjUsMTAuMjUsOS41eiIvPgoJPHBhdGggZD0iTTQuNSwxMUgzVjkuNUMzLDkuMjI0LDIuNzc2LDksMi41LDlTMiw5LjIyNCwyLDkuNVYxMUgwLjVDMC4yMjQsMTEsMCwxMS4yMjQsMCwxMS41QzAsMTEuNzc2LDAuMjI0LDEyLDAuNSwxMkgydjEuNQoJCUMyLDEzLjc3NiwyLjIyNCwxNCwyLjUsMTRTMywxMy43NzYsMywxMy41VjEyaDEuNUM0Ljc3NiwxMiw1LDExLjc3Niw1LDExLjVDNSwxMS4yMjQsNC43NzYsMTEsNC41LDExeiIvPgo8L2c+Cjwvc3ZnPgo="});var DAe=xe((Bmn,wGo)=>{wGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTE1Ljg0Niw3LjQ2OGMtMC4xMS0wLjE3Ny0wLjI0Ni0wLjI4NS0wLjQwOC0wLjM2NmMtMC4zMi0wLjE1LTAuNy0wLjEzLTEsMC4wNmMtMC4wNSwwLjA0LTAuMSwwLjA4LTAuMTUsMC4xMwoJCWMtMC4wNiwwLjA2LTAuMTIsMC4xMy0wLjE2LDAuMjFoLTAuNDYzYy0wLjI3NiwwLTAuNSwwLjIyNC0wLjUsMC41djBjMCwwLjI3NiwwLjIyNCwwLjUsMC41LDAuNWgwLjQ2MwoJCWMwLjA0LDAuMDgsMC4xLDAuMTUsMC4xNiwwLjIxYzAuMDUsMC4wNSwwLjEsMC4wOSwwLjE1LDAuMTNjLTAuNDMxLDMuMzUzLTMuNDM3LDUuOTExLTYuOTUsNS42NAoJCWMtMy4xNTEtMC4yNDMtNS43MjgtMi44Mi01Ljk3MS01Ljk3MmMtMC4yNy0zLjUxMywyLjI4Ny02LjUxOCw1LjY0LTYuOTQ5YzAuMDQsMC4wNSwwLjA4LDAuMSwwLjEzLDAuMTUKCQljMC4wNiwwLjA2LDAuMTMsMC4xMiwwLjIxLDAuMTZWMi40NmMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41aDBjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNVYxLjg3MmMwLjA4LTAuMDQsMC4xNS0wLjEsMC4yMS0wLjE2CgkJYzAuMDUtMC4wNSwwLjA5LTAuMSwwLjEzLTAuMTVjMC4xOS0wLjMsMC4yMS0wLjY4LDAuMDYtMUM4LjgxNiwwLjM5OSw4LjcwOCwwLjI2Myw4LjUzMSwwLjE1M2MtMC4zMjEtMC4xOTktMC43NDctMC4xOTktMS4wNjgsMAoJCWMtMC4xNzcsMC4xMS0wLjI4NSwwLjI0Ni0wLjM2NiwwLjQwOWMtMy45MTUsMC40NjMtNi45LDMuOTM5LTYuNTc2LDguMDVjMC4yODYsMy42MjYsMy4yNCw2LjU4MSw2Ljg2Nyw2Ljg2NwoJCWM0LjExMSwwLjMyNCw3LjU4Ny0yLjY2MSw4LjA1LTYuNTc2YzAuMTYzLTAuMDgxLDAuMjk5LTAuMTg5LDAuNDA4LTAuMzY2QzE2LjA0NSw4LjIxNSwxNi4wNDUsNy43ODksMTUuODQ2LDcuNDY4eiIvPgoJPHBhdGggZD0iTTcuNDk4LDcuMTU4QzcuNDI2LDcuMiw3LjM1Miw3LjIzNCw3LjI5LDcuMjk1QzYuOSw3LjY4Niw2LjksOC4zMTksNy4yOSw4LjcwOWMwLjM5MSwwLjM5MSwxLjAyNCwwLjM5MSwxLjQxNCwwCgkJQzguNzY2LDguNjQ4LDguOCw4LjU3Myw4Ljg0Miw4LjUwMmgwLjQ4OWMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41djBjMC0wLjI3Ni0wLjIyNC0wLjUtMC41LTAuNUg4Ljg0MgoJCUM4LjgsNy40MzEsOC43NjYsNy4zNTYsOC43MDUsNy4yOTVDOC42NDQsNy4yMzQsOC41NjksNy4yLDguNDk4LDcuMTU4VjYuNzk0YzAtMC4yNzYtMC4yMjQtMC41LTAuNS0wLjVoMAoJCWMtMC4yNzYsMC0wLjUsMC4yMjQtMC41LDAuNVY3LjE1OHoiLz4KCTxwYXRoIGQ9Ik03Ljk5OCwzLjk2TDcuOTk4LDMuOTZjLTAuMjc2LDAtMC41LDAuMjI0LTAuNSwwLjV2MC4zMzNjMCwwLjI3NiwwLjIyNCwwLjUsMC41LDAuNWgwYzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjVWNC40NgoJCUM4LjQ5OCw0LjE4NCw4LjI3NCwzLjk2LDcuOTk4LDMuOTZ6Ii8+Cgk8cGF0aCBkPSJNMTEuNjY0LDcuNTAyaC0wLjMzM2MtMC4yNzYsMC0wLjUsMC4yMjQtMC41LDAuNXYwYzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVoMC4zMzNjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNXYwCgkJQzEyLjE2NCw3LjcyNiwxMS45NCw3LjUwMiwxMS42NjQsNy41MDJ6Ii8+CjwvZz4KPC9zdmc+Cg=="});var EAe=xe((zmn,CGo)=>{CGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE1LjcwOCw0LjI4OWMtMC4wOC0wLjA4LTAuMTctMC4xNC0wLjI3LTAuMTljLTAuMzItMC4xNS0wLjctMC4xMy0xLDAuMDZjLTAuMDUsMC4wNC0wLjEsMC4wOC0wLjE1LDAuMTMKCWMtMC4zOSwwLjM5LTAuMzksMS4wMywwLDEuNDJjMC4wNSwwLjA1LDAuMSwwLjA5LDAuMTUsMC4xM2MtMC40MSwzLjE5LTMuMTUsNS42Ni02LjQ0LDUuNjZjLTMuMywwLTYuMDQtMi40OC02LjQ0LTUuNjcKCWMwLjA2LTAuMDUsMC4xMi0wLjEsMC4xOC0wLjE2YzAuMzctMC40MSwwLjM0LTEuMDQtMC4wNy0xLjQxYy0wLjAzLTAuMDMtMC4wNy0wLjA2LTAuMTEtMC4wOGMtMC4zLTAuMjEtMC42OC0wLjIzLTEtMC4wNwoJYy0wLjExLDAuMDUtMC4yMSwwLjEyLTAuMywwLjIyYy0wLjM3LDAuNDEtMC4zNCwxLjA0LDAuMDcsMS40MWMwLjA3LDAuMDYsMC4xNSwwLjExLDAuMjMsMC4xNWMwLjQzLDMuNzIsMy42LDYuNjEsNy40NCw2LjYxCglzNy0yLjg4LDcuNDQtNi42YzAuMS0wLjA1LDAuMTktMC4xMSwwLjI3LTAuMTlDMTYuMDk4LDUuMzE5LDE2LjA5OCw0LjY3OSwxNS43MDgsNC4yODl6Ii8+Cjwvc3ZnPgo="});var AAe=xe((Fmn,xGo)=>{xGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNOC41LDEwLjE1OVY5Ljk0OGMwLTAuMjc2LTAuMjI0LTAuNS0wLjUtMC41aDBjLTAuMjc2LDAtMC41LDAuMjI0LTAuNSwwLjV2MC4yMTFjLTAuMDcxLDAuMDQyLTAuMTQ2LDAuMDc2LTAuMjA3LDAuMTM4CgkJYy0wLjM5MSwwLjM5MS0wLjM5MSwxLjAyNCwwLDEuNDE0YzAuMzkxLDAuMzkxLDEuMDI0LDAuMzkxLDEuNDE0LDBjMC4zOTEtMC4zOTEsMC4zOTEtMS4wMjQsMC0xLjQxNAoJCUM4LjY0NiwxMC4yMzUsOC41NzEsMTAuMjAxLDguNSwxMC4xNTl6Ii8+Cgk8cGF0aCBkPSJNMTUuODQ5LDEwLjQ3MWMtMC4xMS0wLjE3OC0wLjI0Ni0wLjI4Ni0wLjQwOS0wLjM2OGMtMC40NC0zLjcyLTMuNi02LjYtNy40NC02LjZzLTcsMi44OC03LjQ0LDYuNgoJCWMtMC4xNjMsMC4wODItMC4zLDAuMTktMC40MDksMC4zNjhjLTAuMTk3LDAuMzE5LTAuMTk4LDAuNzQxLTAuMDAyLDEuMDZjMC4xMTEsMC4xODEsMC4yNDksMC4yOTEsMC40MTQsMC4zNzMKCQljMC4zNywwLjE4NSwwLjgwNSwwLjEyNCwxLjExMS0wLjE1NWMwLjAxOC0wLjAxNiwwLjAzNi0wLjAzMywwLjA1My0wLjA1MmMwLjM5LTAuNDA3LDAuMzczLTEuMDM0LTAuMDM2LTEuNDIzCgkJYy0wLjA0NC0wLjA0MS0wLjA4Ny0wLjA3Ni0wLjEzLTAuMTExYzAuMzktMy4wMiwyLjg3LTUuNCw1Ljk0LTUuNjR2MC41MzZjMCwwLjI3NiwwLjIyNCwwLjUsMC41LDAuNWgwYzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjUKCQlWNC41MjNjMy4wNywwLjI0LDUuNTUsMi42Miw1Ljk0LDUuNjRjLTAuMDQzLDAuMDM1LTAuMDg3LDAuMDctMC4xMywwLjExMWMtMC40MDksMC4zODgtMC40MjUsMS4wMTUtMC4wMzYsMS40MjMKCQljMC4wMTgsMC4wMTksMC4wMzYsMC4wMzYsMC4wNTMsMC4wNTJjMC4zMDYsMC4yNzksMC43NCwwLjM0LDEuMTExLDAuMTU1YzAuMTY1LTAuMDgyLDAuMzAzLTAuMTkxLDAuNDE0LTAuMzczCgkJQzE2LjA0NywxMS4yMTIsMTYuMDQ2LDEwLjc5LDE1Ljg0OSwxMC40NzF6Ii8+Cgk8cGF0aCBkPSJNOCw2LjcyNkw4LDYuNzI2Yy0wLjI3NiwwLTAuNSwwLjIyNC0wLjUsMC41djAuNTU2YzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVoMGMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41VjcuMjI2CgkJQzguNSw2Ljk0OSw4LjI3Niw2LjcyNiw4LDYuNzI2eiIvPgo8L2c+Cjwvc3ZnPgo="});var Spt=xe((Umn,TGo)=>{TGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNOCwwQzMuNTgyLDAsMCwzLjU4MiwwLDhzMy41ODIsOCw4LDhzOC0zLjU4Miw4LThTMTIuNDE4LDAsOCwweiBNOCwxNWMtMy44NiwwLTctMy4xNC03LTdzMy4xNC03LDctN3M3LDMuMTQsNyw3CgkJUzExLjg2LDE1LDgsMTV6Ii8+Cgk8cGF0aCBkPSJNOS45OTEsNC4xMzVDOS40NTYsMy43MTIsOC43MzIsMy41LDcuODIsMy41Yy0wLjk1OSwwLTEuNzA2LDAuMjU1LTIuMjQxLDAuNzYzQzUuMTksNC42MzQsNC45MzgsNS4xMiw0LjgyMyw1LjcyMQoJCWMtMC4wMiwwLjA1Mi0wLjAzMSwwLjEwNy0wLjAzMSwwLjE2NGMwLDAuMDA2LDAsMC4wMTIsMC4wMDEsMC4wMThjMC4wMTEsMC4yOTMsMC4zMDMsMC41MjgsMC42NjEsMC41MjgKCQljMC4zMTIsMCwwLjU3My0wLjE3OCwwLjY0My0wLjQxOEM2LjEwMyw1Ljk5Myw2LjEwOCw1Ljk3MSw2LjExMSw1Ljk1YzAuMDcxLTAuMzEzLDAuMTg3LTAuNTk4LDAuMzQ4LTAuODU2CgkJYzAuMjQyLTAuMzg2LDAuNjk2LTAuNTgsMS4zNjEtMC41OGMwLjQ5OSwwLDAuODk2LDAuMTI0LDEuMTg5LDAuMzcyczAuNDQsMC41ODksMC40NCwxLjAyMWMwLDAuMzQyLTAuMTEzLDAuNjQzLTAuMzM5LDAuOTA0CgkJYy0wLjIyNiwwLjI2LTAuNDc4LDAuNTEzLTAuNzU2LDAuNzU3QzguMzQsNy41NzYsOC4zMjMsNy41ODksOC4zMDgsNy42MDVDOC4yOTIsNy42MjEsOC4yNzYsNy42MzQsOC4yNiw3LjY0MgoJCUM4LjAzLDcuODM4LDcuODEzLDguMDQxLDcuNjA2LDguMjUzUzcuMjQ5LDguNjk3LDcuMTU1LDguOTQ5QzcuMTM5LDguOTk4LDcuMTIzLDkuMDQ1LDcuMTA3LDkuMDkKCQlDNy4wOTIsOS4xMzUsNy4wNzUsOS4xNzcsNy4wNiw5LjIxOEM3LjAyOCw5LjMzOSw3LjAwOSw5LjQ3MSw3LDkuNjE3djAuMDAxQzYuOTk1LDkuNjQ1LDYuOTkyLDkuNjc0LDYuOTkyLDkuNzAzCgkJYzAsMC4wMTMsMC4wMDEsMC4wMjcsMC4wMDIsMC4wNGMwLDAsMCwwLDAsMGMwLjAyNSwwLjI4LDAuMzA4LDAuNTAxLDAuNjU0LDAuNTAxYzAuMzM0LDAsMC42MDktMC4yMDUsMC42NS0wLjQ3MQoJCWMwLTAuMDAxLDAtMC4wMDIsMC0wLjAwMkM4LjI5OSw5Ljc2NCw4LjMsOS43NTksOC4zMDEsOS43NTNjMCwwLDAtMC4wMDEsMC0wLjAwMUM4LjMyMiw5LjU5NCw4LjM1LDkuNDU5LDguMzg1LDkuMzQ2CgkJYzAuMDY3LTAuMjE2LDAuMTgtMC40MTgsMC4zMzktMC42MDVjMC4wODctMC4xMDYsMC4xOTQtMC4yMTYsMC4zMjEtMC4zM2MwLjEyNy0wLjExNCwwLjI3OC0wLjI0LDAuNDUyLTAuMzc5CgkJQzkuNjk2LDcuODcsOS44Nyw3LjcxNywxMC4wMjEsNy41NzVjMC4xNS0wLjE0MywwLjI3Ny0wLjI4NywwLjM4LTAuNDM0YzAuMTQyLTAuMTk2LDAuMjQ0LTAuMzk1LDAuMzAzLTAuNTk5CgkJYzAuMDYtMC4yMDQsMC4wODktMC40MzEsMC4wODktMC42ODVDMTAuNzkzLDUuMTMzLDEwLjUyNiw0LjU1OSw5Ljk5MSw0LjEzNXoiLz4KCTxwYXRoIGQ9Ik03LjYxOCwxMS4yNjNjLTAuNDE0LDAtMC43NDksMC4yNzctMC43NDksMC42MTl2MGMwLDAuMzQyLDAuMzM2LDAuNjE5LDAuNzQ5LDAuNjE5YzAuNDE0LDAsMC43NDktMC4yNzcsMC43NDktMC42MTl2MAoJCUM4LjM2OCwxMS41NCw4LjAzMiwxMS4yNjMsNy42MTgsMTEuMjYzeiIvPgo8L2c+Cjwvc3ZnPgo="});var KJt=xe((Vmn,SGo)=>{SGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNOC41LDFDNC4zNTgsMSwxLDQuMzU4LDEsOC41UzQuMzU4LDE2LDguNSwxNlMxNiwxMi42NDIsMTYsOC41UzEyLjY0MiwxLDguNSwxeiBNOC41LDE1QzQuOTE2LDE1LDIsMTIuMDg0LDIsOC41CgkJUzQuOTE2LDIsOC41LDJTMTUsNC45MTYsMTUsOC41UzEyLjA4NCwxNSw4LjUsMTV6Ii8+Cgk8cGF0aCBkPSJNMTEuNSw4aC02QzUuMjI0LDgsNSw4LjIyNCw1LDguNUM1LDguNzc2LDUuMjI0LDksNS41LDloNkMxMS43NzYsOSwxMiw4Ljc3NiwxMiw4LjVDMTIsOC4yMjQsMTEuNzc2LDgsMTEuNSw4eiIvPgo8L2c+Cjwvc3ZnPgo="});var Iie=xe((Hmn,MGo)=>{MGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik0xMS4xNDYsMTEuODU0TDksOS43MDdDOC44MDUsOS41MTIsOC44MDUsOS4xOTUsOSw5aDBjMC4xOTUtMC4xOTUsMC41MTItMC4xOTUsMC43MDcsMGwyLjE0NiwyLjE0NgoJYzAuMTk1LDAuMTk1LDAuMTk1LDAuNTEyLDAsMC43MDd2MEMxMS42NTgsMTIuMDQ5LDExLjM0MiwxMi4wNDksMTEuMTQ2LDExLjg1NHoiLz4KPGc+Cgk8cGF0aCBkPSJNNS41LDFDNy45ODEsMSwxMCwzLjAxOSwxMCw1LjVTNy45ODEsMTAsNS41LDEwUzEsNy45ODEsMSw1LjVTMy4wMTksMSw1LjUsMSBNNS41LDBDMi40NjIsMCwwLDIuNDYyLDAsNS41CgkJUzIuNDYyLDExLDUuNSwxMVMxMSw4LjUzOCwxMSw1LjVTOC41MzgsMCw1LjUsMEw1LjUsMHoiLz4KPC9nPgo8L3N2Zz4K"});var ZJt=xe((Gmn,IGo)=>{IGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik0xMS42Myw0Ljk2QzEwLjM2LDMuMjMsOC4zMSwyLjExLDYsMi4xMVMxLjY0LDMuMjMsMC4zNyw0Ljk2QzAuMzU5LDQuOTc0LDAuMzQ5LDQuOTg4LDAuMzM4LDUuMDAyCgljLTAuNDM4LDAuNTg3LTAuNDM4LDEuNDA4LDAsMS45OTZDMC4zNDksNy4wMTIsMC4zNTksNy4wMjYsMC4zNyw3LjA0QzEuNjQsOC43NywzLjY5LDkuODksNiw5Ljg5czQuMzYtMS4xMiw1LjYzLTIuODUKCWMwLjAxMS0wLjAxNCwwLjAyMS0wLjAyOCwwLjAzMi0wLjA0MmMwLjQzOC0wLjU4NywwLjQzOC0xLjQwOCwwLTEuOTk2QzExLjY1MSw0Ljk4OCwxMS42NDEsNC45NzQsMTEuNjMsNC45NnogTTQsNmMwLTEuMSwwLjktMiwyLTIKCXMyLDAuOSwyLDJjMCwxLjEtMC45LDItMiwyUzQsNy4xLDQsNnogTTAuODgsNkMxLjc0LDQuNTYsMy4yLDMuNTIsNC45MSwzLjIxQzMuNzksMy42NCwzLDQuNzMsMyw2YzAsMS4yNywwLjc5LDIuMzYsMS45MSwyLjc5CglDMy4yLDguNDgsMS43NCw3LjQ0LDAuODgsNnogTTcuMDksOC43OUM4LjIxLDguMzYsOSw3LjI3LDksNmMwLTEuMjctMC43OS0yLjM2LTEuOTEtMi43OUM4LjgsMy41MiwxMC4yNiw0LjU2LDExLjEyLDYKCUMxMC4yNiw3LjQ0LDguOCw4LjQ4LDcuMDksOC43OXoiLz4KPC9zdmc+Cg=="});var JJt=xe((Ymn,LGo)=>{LGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHg9IjAiIHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTIiIGhlaWdodD0iMTIiLz4KPGc+Cgk8cGF0aCBkPSJNMTAuNTY1LDBIMTAuNDdIMS41M0gxLjQzNWMtMC40NzQsMC0wLjc1MiwwLjUzMy0wLjQ4LDAuOTIyTDEuMDEsMUw0LDUuMjd2Mi4wMnYxLjAwOWMwLDAuMjYzLDAuMTA1LDAuNTE2LDAuMjkxLDAuNzAyCgkJTDQuOTQsOS42NUw1LDkuNzFsMiwyYzAuMTE5LDAuMTE5LDAuMjY2LDAuMTczLDAuNDEsMC4xNzNjMC4zMDEsMCwwLjU5LTAuMjM0LDAuNTktMC41ODdWMTEuMjl2LTAuMzFWOS4yM1Y1LjI3TDEwLjk5LDEKCQlsMC4wNTUtMC4wNzhDMTEuMzE3LDAuNTMzLDExLjAzOSwwLDEwLjU2NSwwTDEwLjU2NSwweiBNNywxMC4yOUw1LjUyLDguODFMNSw4LjI5VjcuODFWNi43VjUuMTM1YzAtMC4xMi0wLjAzNy0wLjIzNy0wLjEwNi0wLjMzNgoJCUw0LDMuNTJMMi4yMywxaDcuNTRMOCwzLjUyTDcuMTA2LDQuNzk5QzcuMDM3LDQuODk3LDcsNS4wMTQsNyw1LjEzNVY2Ljd2MS4xMXYxLjc0VjEwLjI5TDcsMTAuMjl6Ii8+CjwvZz4KPC9zdmc+Cg=="});var qJt=xe((Wmn,vGo)=>{vGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTYsMWMyLjc1NywwLDUsMi4yNDMsNSw1cy0yLjI0Myw1LTUsNVMxLDguNzU3LDEsNlMzLjI0MywxLDYsMSBNNiwwQzIuNjg2LDAsMCwyLjY4NiwwLDZjMCwzLjMxNCwyLjY4Niw2LDYsNgoJCWMzLjMxNCwwLDYtMi42ODYsNi02QzEyLDIuNjg2LDkuMzE0LDAsNiwwTDYsMHoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik02LjI1LDRjLTAuMjc2LDAtMC41LDAuMjI0LTAuNSwwLjV2NGMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41czAuNS0wLjIyNCwwLjUtMC41di00QzYuNzUsNC4yMjQsNi41MjYsNCw2LjI1LDRMNi4yNSw0eiIKCQkvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTcsOEg1LjVDNS4yMjQsOCw1LDguMjI0LDUsOC41UzUuMjI0LDksNS41LDlIN2MwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41UzcuMjc2LDgsNyw4TDcsOHoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik02LjI1LDRINS41QzUuMjI0LDQsNSw0LjIyNCw1LDQuNUM1LDQuNzc2LDUuMjI0LDUsNS41LDVoMC43NWMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41QzYuNzUsNC4yMjQsNi41MjYsNCw2LjI1LDQKCQlMNi4yNSw0eiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTYsMkM1LjU4NiwyLDUuMjUsMi4zMzYsNS4yNSwyLjc1UzUuNTg2LDMuNSw2LDMuNXMwLjc1LTAuMzM2LDAuNzUtMC43NVM2LjQxNCwyLDYsMkw2LDJ6Ii8+CjwvZz4KPC9zdmc+Cg=="});var XJt=xe((Qmn,DGo)=>{DGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTEwLDVIOS4zOFYzLjM4QzkuMzgsMS41MSw3Ljg2LDAsNiwwUzIuNjIsMS41MSwyLjYyLDMuMzhWNUgyQzEuNDUsNSwxLDUuNDUsMSw2djVjMCwwLjU1LDAuNDUsMSwxLDFoOGMwLjU1LDAsMS0wLjQ1LDEtMQoJCVY2QzExLDUuNDUsMTAuNTUsNSwxMCw1eiBNMy42MiwzLjM4QzMuNjIsMi4wNyw0LjY5LDEsNiwxczIuMzgsMS4wNywyLjM4LDIuMzhWNUgzLjYyVjMuMzh6IE0xMCwxMUgyVjZoMC42MmgxaDQuNzZoMUgxMFYxMXoiLz4KCTxwYXRoIGQ9Ik02LDdDNS40NSw3LDUsNy40NSw1LDhjMCwwLjIzLDAuMDgsMC40NCwwLjIxLDAuNjFDNS4yOSw4LjcxLDUuMzksOC44LDUuNSw4Ljg2VjkuNWMwLDAuMDcsMC4wMiwwLjE0LDAuMDUsMC4yMQoJCUM1LjYyLDkuODgsNS43OSwxMCw2LDEwczAuMzgtMC4xMiwwLjQ1LTAuMjlDNi40OCw5LjY0LDYuNSw5LjU3LDYuNSw5LjVWOC44NkM2LjYxLDguOCw2LjcxLDguNzEsNi43OSw4LjYxQzYuOTIsOC40NCw3LDguMjMsNyw4CgkJQzcsNy40NSw2LjU1LDcsNiw3eiIvPgo8L2c+Cjwvc3ZnPgo="});var Mpt=xe((Kmn,EGo)=>{EGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHg9IjAiIHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTIiIGhlaWdodD0iMTIiLz4KPGc+Cgk8cGF0aCBkPSJNMS40MzMsNmMwLTEuMiwwLjQ3LTIuMzMsMS4zMi0zLjE4YzAuMDYtMC4wNiwwLjEyLTAuMTEsMC4xOC0wLjE2VjMuNWMwLDAuMjgsMC4yMiwwLjUsMC41LDAuNXMwLjUtMC4yMiwwLjUtMC41VjEuOTdWMS41CgkJYzAtMC4yMi0wLjE0LTAuNDEtMC4zNC0wLjQ3QzMuNTQzLDEuMDEsMy40OTMsMSwzLjQzMywxaC0yYy0wLjI4LDAtMC41LDAuMjItMC41LDAuNWMwLDAuMjgsMC4yMiwwLjUsMC41LDAuNWgwLjczCgkJQzIuMTQ2LDIuMDEzLDIuMTI5LDIuMDI3LDIuMTEyLDIuMDQzQzAuNjY1LDMuMzcyLTAuMDQxLDUuMzQyLDAuNTA3LDcuMjI4YzAuNzU3LDIuNjA1LDIuNzYzLDQuMDMxLDQuODcxLDQuMjQ0CgkJYzAuMjk2LDAuMDMsMC41NTUtMC4yMDIsMC41NTUtMC41djBjMC0wLjI1My0wLjE4OS0wLjQ2OS0wLjQ0MS0wLjQ5NEM0LjQ1OCwxMC4zNzgsMy40OTgsOS45MjUsMi43NTMsOS4xOAoJCUMxLjkwMyw4LjMzLDEuNDMzLDcuMiwxLjQzMyw2eiIvPgoJPHBhdGggZD0iTTEwLjQzMywxMGgtMC43M2MwLjAxOS0wLjAxNSwwLjAzOS0wLjAzMSwwLjA1OC0wLjA0OWMxLjQzOC0xLjM0MiwyLjE0Ni0zLjMxNSwxLjU5MS01LjIwMgoJCWMtMC43NjItMi41OS0yLjc2My00LjAwOC00Ljg2NC00LjIyYy0wLjI5Ni0wLjAzLTAuNTU1LDAuMjAyLTAuNTU1LDAuNXYwYzAsMC4yNTMsMC4xODksMC40NjksMC40NDEsMC40OTQKCQlDNy40MDgsMS42MjIsOC4zNjgsMi4wNzUsOS4xMTMsMi44MmMwLjg1LDAuODUsMS4zMiwxLjk4LDEuMzIsMy4xOHMtMC40NywyLjMzLTEuMzIsMy4xOGMtMC4wNiwwLjA2LTAuMTIsMC4xMS0wLjE4LDAuMTZWOC41CgkJYzAtMC4yOC0wLjIyLTAuNS0wLjUtMC41cy0wLjUsMC4yMi0wLjUsMC41djEuNTN2MC40N2MwLDAuMjIsMC4xNCwwLjQxLDAuMzQsMC40N2MwLjA1LDAuMDIsMC4xLDAuMDMsMC4xNiwwLjAzaDIKCQljMC4yOCwwLDAuNS0wLjIyLDAuNS0wLjVDMTAuOTMzLDEwLjIyLDEwLjcxMywxMCwxMC40MzMsMTB6Ii8+CjwvZz4KPC9zdmc+Cg=="});var $Jt=xe((Zmn,AGo)=>{AGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHJlY3QgeD0iMCIgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIvPgo8L2c+CjxnPgoJPHJlY3QgeD0iMCIgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIvPgo8L2c+CjxwYXRoIGQ9Ik0xMC45MDUsNmMtMC4yNTMsMC0wLjQ2OSwwLjE4OS0wLjQ5NCwwLjQ0MUMxMC4zMTEsNy40NzUsOS44NTgsOC40MzUsOS4xMTMsOS4xOGMtMC44NSwwLjg1LTEuOTgsMS4zMi0zLjE4LDEuMzIKCXMtMi4zMy0wLjQ3LTMuMTgtMS4zMkMxLjkwMyw4LjMzLDEuNDMzLDcuMiwxLjQzMyw2czAuNDctMi4zMywxLjMyLTMuMThjMC44NS0wLjg1LDEuOTgtMS4zMiwzLjE4LTEuMzJzMi4zMywwLjQ3LDMuMTgsMS4zMgoJYzAuMDYsMC4wNiwwLjExLDAuMTIsMC4xNiwwLjE4aC0wLjg0Yy0wLjI4LDAtMC41LDAuMjItMC41LDAuNWMwLDAuMjgsMC4yMiwwLjUsMC41LDAuNWgxLjUzaDAuNDdjMC4wNCwwLDAuMDcsMCwwLjExLTAuMDEKCWMwLjAzLTAuMDEsMC4wNS0wLjAyLDAuMDgtMC4wM2gwLjAxYzAuMDMtMC4wMiwwLjA3LTAuMDMsMC4xLTAuMDZjMC4wNC0wLjAyLDAuMDctMC4wNiwwLjEtMC4xYzAuMDMtMC4wNCwwLjA2LTAuMDksMC4wNy0wLjE0CgljMC4wMi0wLjA1LDAuMDMtMC4xLDAuMDMtMC4xNnYtMmMwLTAuMjgtMC4yMi0wLjUtMC41LTAuNXMtMC41LDAuMjItMC41LDAuNXYwLjczYy0wLjAzLTAuMDQtMC4wNy0wLjA4LTAuMTEtMC4xMgoJYy0xLjA3LTEuMDctMi40OC0xLjYxLTMuODktMS42MXMtMi44MiwwLjU0LTMuODksMS42MVMwLjQzMyw0LjU5LDAuNDMzLDZjMCwxLjQxLDAuNTQsMi44MiwxLjYxLDMuODkKCWMxLjA3LDEuMDcsMi40OCwxLjYxLDMuODksMS42MXMyLjgyLTAuNTQsMy44OS0xLjYxYzAuOTI5LTAuOTI5LDEuNDU4LTIuMTE0LDEuNTgyLTMuMzMzQzExLjQzNSw2LjI2LDExLjIwNCw2LDEwLjkwNSw2TDEwLjkwNSw2eiIKCS8+Cjwvc3ZnPgo="});var NAe=xe((Jmn,NGo)=>{NGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTIiIGhlaWdodD0iMTIiLz4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNNy41LDFDNy4yMjQsMSw3LDEuMjI0LDcsMS41djlDNywxMC43NzYsNy4yMjQsMTEsNy41LDExUzgsMTAuNzc2LDgsMTAuNXYtOUM4LDEuMjI0LDcuNzc2LDEsNy41LDFMNy41LDF6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBkPSJNOS45NzUsNy41MjVjLTAuMTI4LDAtMC4yNTYsMC4wNDktMC4zNTQsMC4xNDZsLTIuNDc1LDIuNDc1Yy0wLjE5NSwwLjE5NS0wLjE5NSwwLjUxMiwwLDAuNzA3bDAsMAoJCQlDNy4yNDQsMTAuOTUxLDcuMzcyLDExLDcuNSwxMXMwLjI1Ni0wLjA0OSwwLjM1NC0wLjE0NmwyLjQ3NS0yLjQ3NWMwLjE5NS0wLjE5NSwwLjE5NS0wLjUxMiwwLTAuNzA3CgkJCUMxMC4yMzEsNy41NzQsMTAuMTAzLDcuNTI1LDkuOTc1LDcuNTI1TDkuOTc1LDcuNTI1eiIvPgoJPC9nPgo8L2c+CjxnPgoJPGc+CgkJPHBhdGggZD0iTTQuNSwxQzQuMjI0LDEsNCwxLjIyNCw0LDEuNXY5QzQsMTAuNzc2LDQuMjI0LDExLDQuNSwxMVM1LDEwLjc3Niw1LDEwLjV2LTlDNSwxLjIyNCw0Ljc3NiwxLDQuNSwxTDQuNSwxeiIvPgoJPC9nPgoJPGc+CgkJPHBhdGggZD0iTTQuNSwxQzQuMzcyLDEsNC4yNDQsMS4wNDksNC4xNDYsMS4xNDZMMS42NzIsMy42MjFjLTAuMTk1LDAuMTk1LTAuMTk1LDAuNTEyLDAsMC43MDcKCQkJQzEuNzcsNC40MjYsMS44OTgsNC40NzQsMi4wMjYsNC40NzRTMi4yODIsNC40MjUsMi4zOCw0LjMyOGwyLjQ3NS0yLjQ3NWMwLjE5NS0wLjE5NSwwLjE5NS0wLjUxMiwwLTAuNzA3bDAsMAoJCQlDNC43NTYsMS4wNDksNC42MjgsMSw0LjUsMUw0LjUsMXoiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K"});var Ipt=xe((qmn,kGo)=>{kGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHg9IjAiIHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTIiIGhlaWdodD0iMTIiLz4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNNS41LDFDNS4yMjQsMSw1LDEuMjI0LDUsMS41djlDNSwxMC43NzYsNS4yMjQsMTEsNS41LDExUzYsMTAuNzc2LDYsMTAuNXYtOUM2LDEuMjI0LDUuNzc2LDEsNS41LDFMNS41LDF6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBkPSJNNy45NzUsNy41MjVjLTAuMTI4LDAtMC4yNTYsMC4wNDktMC4zNTQsMC4xNDZsLTIuNDc1LDIuNDc1Yy0wLjE5NSwwLjE5NS0wLjE5NSwwLjUxMiwwLDAuNzA3djAKCQkJQzUuMjQ0LDEwLjk1MSw1LjM3MiwxMSw1LjUsMTFjMC4xMjgsMCwwLjI1Ni0wLjA0OSwwLjM1NC0wLjE0NmwyLjQ3NS0yLjQ3NWMwLjE5NS0wLjE5NSwwLjE5NS0wLjUxMiwwLTAuNzA3CgkJCUM4LjIzMSw3LjU3NCw4LjEwMyw3LjUyNSw3Ljk3NSw3LjUyNUw3Ljk3NSw3LjUyNXoiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K"});var Lpt=xe((Xmn,PGo)=>{PGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTIiIGhlaWdodD0iMTIiLz4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNNi41LDFDNi4yMjQsMSw2LDEuMjI0LDYsMS41djlDNiwxMC43NzYsNi4yMjQsMTEsNi41LDExUzcsMTAuNzc2LDcsMTAuNXYtOUM3LDEuMjI0LDYuNzc2LDEsNi41LDFMNi41LDF6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBkPSJNNi41LDFDNi4zNzIsMSw2LjI0NCwxLjA0OSw2LjE0NiwxLjE0NkwzLjY3MiwzLjYyMWMtMC4xOTUsMC4xOTUtMC4xOTUsMC41MTIsMCwwLjcwNwoJCQlDMy43Nyw0LjQyNiwzLjg5OCw0LjQ3NCw0LjAyNiw0LjQ3NGMwLjEyOCwwLDAuMjU2LTAuMDQ5LDAuMzU0LTAuMTQ2bDIuNDc1LTIuNDc1YzAuMTk1LTAuMTk1LDAuMTk1LTAuNTEyLDAtMC43MDdsMCwwCgkJCUM2Ljc1NiwxLjA0OSw2LjYyOCwxLDYuNSwxTDYuNSwxeiIvPgoJPC9nPgo8L2c+Cjwvc3ZnPgo="});var eqt=xe(($mn,OGo)=>{OGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTExLDVINi43NVYzLjM4YzAtMi4wMTgtMS43NTgtMy42MTYtMy44MTYtMy4zNTFDMS4yMzEsMC4yNDgsMCwxLjc3OSwwLDMuNDk2TDAsMy41QzAsMy43NzYsMC4yMjQsNCwwLjUsNGgwCgkJQzAuNzc2LDQsMSwzLjc3NiwxLDMuNWwwLTAuMDQ4QzEsMi4zMzcsMS43MzcsMS4zMiwyLjgyMywxLjA2NUM0LjM1OSwwLjcwNSw1Ljc1LDEuODg3LDUuNzUsMy4zOFY1SDNDMi40NSw1LDIsNS40NSwyLDZ2Mi4zdjEuMTUKCQlWMTFjMCwwLjU1LDAuNDUsMSwxLDFoOGMwLjU1LDAsMS0wLjQ1LDEtMVY2QzEyLDUuNDUsMTEuNTUsNSwxMSw1eiBNMTEsMTFIM1Y5LjczVjguNzJWNmgyLjc1aDFIMTFWMTF6Ii8+Cgk8cGF0aCBkPSJNNiw4YzAsMC4xNCwwLjAzLDAuMjcsMC4wOCwwLjM5YzAuMDgsMC4yLDAuMjMsMC4zNywwLjQyLDAuNDdWOS41QzYuNSw5Ljc3Niw2LjcyNCwxMCw3LDEwczAuNS0wLjIyNCwwLjUtMC41VjguODYKCQlDNy44LDguNjksOCw4LjM3LDgsOGMwLTAuNTUtMC40NS0xLTEtMUM2Ljg5LDcsNi43OCw3LjAyLDYuNjgsNy4wNkM2LjI5LDcuMTksNiw3LjU2LDYsOHoiLz4KPC9nPgo8L3N2Zz4K"});var UR=xe((e1n,RGo)=>{RGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik03Ljc2OCw4LjQ3NUwzLjUyNSw0LjIzMmMtMC4xOTUtMC4xOTUtMC4xOTUtMC41MTIsMC0wLjcwN2wwLDBjMC4xOTUtMC4xOTUsMC41MTItMC4xOTUsMC43MDcsMGw0LjI0Myw0LjI0MwoJYzAuMTk1LDAuMTk1LDAuMTk1LDAuNTEyLDAsMC43MDd2MEM4LjI4LDguNjcsNy45NjMsOC42Nyw3Ljc2OCw4LjQ3NXoiLz4KPHBhdGggZD0iTTMuNTI1LDcuNzY4bDQuMjQzLTQuMjQzYzAuMTk1LTAuMTk1LDAuNTEyLTAuMTk1LDAuNzA3LDBsMCwwYzAuMTk1LDAuMTk1LDAuMTk1LDAuNTEyLDAsMC43MDdMNC4yMzIsOC40NzUKCWMtMC4xOTUsMC4xOTUtMC41MTIsMC4xOTUtMC43MDcsMGgwQzMuMzMsOC4yOCwzLjMzLDcuOTYzLDMuNTI1LDcuNzY4eiIvPgo8Zz4KCTxwYXRoIGQ9Ik02LDFjMi43NTcsMCw1LDIuMjQzLDUsNXMtMi4yNDMsNS01LDVTMSw4Ljc1NywxLDZTMy4yNDMsMSw2LDEgTTYsMEMyLjY4NiwwLDAsMi42ODYsMCw2czIuNjg2LDYsNiw2czYtMi42ODYsNi02CgkJUzkuMzE0LDAsNiwwTDYsMHoiLz4KPC9nPgo8L3N2Zz4K"});var vpt=xe((t1n,_Go)=>{_Go.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTIgMTIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyIDEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHJlY3QgaWQ9IuefqeW9ol8zOTRfMDAwMDAxMjA1NjAwNTE4NzU5MTc0OTMxNzAwMDAwMDEzMTM5NDU2MTU2ODQ1NDE4MzRfIiB4PSIyIiB5PSIxLjk5OSIgdHJhbnNmb3JtPSJtYXRyaXgoMC43MDcxIC0wLjcwNzEgMC43MDcxIDAuNzA3MSAtMi40ODQ1IDUuOTk5NykiIGZpbGw9Im5vbmUiIHdpZHRoPSI4IiBoZWlnaHQ9IjgiLz4KPHBhdGggZD0iTTUuNDg5LDcuNDYxbC0xLjY5LDAuMDE4QzMuMzg2LDcuMzE2LDMuNjA4LDYuODczLDMuNjA4LDYuODczbDAuODU0LTAuOTY1bDAuMjE3LTIuNzMxTDQuMjQ3LDIuNzQ1CglDMy44MTIsMi4zNzcsNC4zLDIsNC4zLDJsMy4xODEsMC4wMTdjMC43MSwwLjA2OCwwLjM1NiwwLjYsMC4zNTYsMC42bC0wLjUzNywwLjU5bDAuMTk5LDIuNzkzbDAuOTc0LDAuOTI0CgljMC4yNTUsMC4yOTktMC4yMSwwLjU2NS0wLjIxLDAuNTY1TDYuNDU1LDcuNDMzbC0wLjQ1MSwzLjk0TDUuNDg5LDcuNDYxeiIvPgo8L3N2Zz4K"});var Dpt=xe((i1n,jGo)=>{jGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHJlY3QgZmlsbD0ibm9uZSIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+CjxwYXRoIGQ9Ik0xNSwxMGgtNWMtMC41NTIsMC0xLDAuNDQ4LTEsMXYzYzAsMC41NTIsMC40NDgsMSwxLDFoNWMwLjU1MiwwLDEtMC40NDgsMS0xdi0zQzE2LDEwLjQ0OCwxNS41NTIsMTAsMTUsMTB6IE0xNSwxNGgtNXYtM2g1CglWMTR6Ii8+CjxwYXRoIGQ9Ik0xNSwxaC01QzkuNDQ4LDEsOSwxLjQ0OCw5LDJ2M2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDVjMC41NTIsMCwxLTAuNDQ4LDEtMVYyQzE2LDEuNDQ4LDE1LjU1MiwxLDE1LDF6IE0xNSw1aC01VjJoNVY1eiIvPgo8cGF0aCBkPSJNNyw2YzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjVDNy41LDUuMjI0LDcuMjc2LDUsNyw1SDJDMS43MjQsNSwxLjUsNS4yMjQsMS41LDUuNUMxLjUsNS43NzYsMS43MjQsNiwyLDZoMnY0SDIKCWMtMC4yNzYsMC0wLjUsMC4yMjQtMC41LDAuNUMxLjUsMTAuNzc2LDEuNzI0LDExLDIsMTFoNWMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41QzcuNSwxMC4yMjQsNy4yNzYsMTAsNywxMEg1VjZIN3oiLz4KPC9zdmc+Cg=="});var Ept=xe((o1n,BGo)=>{BGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHJlY3QgZmlsbD0ibm9uZSIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+CjxwYXRoIGQ9Ik0xNSwxMGgtNWMtMC41NTIsMC0xLDAuNDQ4LTEsMXYzYzAsMC41NTIsMC40NDgsMSwxLDFoNWMwLjU1MiwwLDEtMC40NDgsMS0xdi0zQzE2LDEwLjQ0OCwxNS41NTIsMTAsMTUsMTB6IE0xNSwxNGgtNXYtM2g1CglWMTR6Ii8+CjxwYXRoIGQ9Ik0xNSwxaC01QzkuNDQ4LDEsOSwxLjQ0OCw5LDJ2M2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDVjMC41NTIsMCwxLTAuNDQ4LDEtMVYyQzE2LDEuNDQ4LDE1LjU1MiwxLDE1LDF6IE0xNSw1aC01VjJoNVY1eiIvPgo8cGF0aCBkPSJNNyw0YzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjVDNy41LDMuMjI0LDcuMjc2LDMsNywzSDJDMS43MjQsMywxLjUsMy4yMjQsMS41LDMuNUMxLjUsMy43NzYsMS43MjQsNCwyLDRoMnY4SDIKCWMtMC4yNzYsMC0wLjUsMC4yMjQtMC41LDAuNUMxLjUsMTIuNzc2LDEuNzI0LDEzLDIsMTNoNWMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41QzcuNSwxMi4yMjQsNy4yNzYsMTIsNywxMkg1VjRIN3oiLz4KPC9zdmc+Cg=="});var tqt=xe((r1n,zGo)=>{zGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTYuNSwxNEgyVjNoNC41QzYuNzc2LDMsNywyLjc3Niw3LDIuNUM3LDIuMjI0LDYuNzc2LDIsNi41LDJIMkMxLjQ0OCwyLDEsMi40NDgsMSwzdjExYzAsMC41NTIsMC40NDgsMSwxLDFoNC41CglDNi43NzYsMTUsNywxNC43NzYsNywxNC41QzcsMTQuMjI0LDYuNzc2LDE0LDYuNSwxNHoiLz4KPHBhdGggZD0iTTE0Ljg5LDguMThsLTAuMTctMC4xN2wtMy4zNy0zLjM2QzExLjI2LDQuNTUsMTEuMTMsNC41LDExLDQuNXMtMC4yNiwwLjA1LTAuMzUsMC4xNWMtMC4yLDAuMTktMC4yLDAuNTEsMCwwLjdMMTMuMjkyLDgKCUg0LjVDNC4yMjQsOCw0LDguMjI0LDQsOC41QzQsOC43NzYsNC4yMjQsOSw0LjUsOWg4Ljc5MmwtMi42NDIsMi42NWMtMC4xLDAuMDktMC4xNSwwLjIyLTAuMTUsMC4zNXMwLjA1LDAuMjYsMC4xNSwwLjM1CgljMC4xOSwwLjIsMC41MSwwLjIsMC43LDBsMy4zNy0zLjM2bDAuMTctMC4xN2MwLjA4LTAuMDksMC4xMy0wLjIsMC4xMy0wLjMyUzE0Ljk3LDguMjcsMTQuODksOC4xOHoiLz4KPC9zdmc+Cg=="});var iqt=xe((n1n,FGo)=>{FGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMThweCIgaGVpZ2h0PSIxOHB4IiB2aWV3Qm94PSIwIDAgMTggMTgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE4IDE4OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHJlY3QgeT0iMCIgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIvPgo8L2c+CjxwYXRoIGQ9Ik0xNi45NiwxNC4zMVYxNC4zYy0wLjAzLTAuMDYtMC4wNi0wLjExLTAuMTEtMC4xNWwtMC4wNy0wLjA3TDE1LDEyLjNWOC41YzAtMi42LTEuNjgtNC44My00LjAxLTUuNjUKCUMxMC45MiwxLjgyLDEwLjA1LDEsOSwxUzcuMDgsMS44Miw3LjAxLDIuODVDNC42OCwzLjY3LDMsNS45LDMsOC41djMuOGwtMS43OCwxLjc4bC0wLjA3LDAuMDdjLTAuMDUsMC4wNC0wLjA4LDAuMDktMC4xMSwwLjE1djAuMDEKCUMxLjAxLDE0LjM3LDEsMTQuNDQsMSwxNC41czAuMDEsMC4xMywwLjA0LDAuMTl2MC4wMWMwLjAyLDAuMDMsMC4wMywwLjA2LDAuMDUsMC4wOGMwLjAxLDAuMDMsMC4wMywwLjA1LDAuMDYsMC4wNwoJYzAuMDIsMC4wMywwLjA0LDAuMDUsMC4wNywwLjA2YzAuMDIsMC4wMiwwLjA1LDAuMDMsMC4wOCwwLjA1aDAuMDFDMS4zNywxNC45OSwxLjQ0LDE1LDEuNSwxNWgyLjA2aDEuMTFoMS44OAoJYzAuMjMsMS4xNCwxLjI0LDIsMi40NSwyczIuMjItMC44NiwyLjQ1LTJoMS44OGgxLjExaDIuMDZjMC4wNiwwLDAuMTMtMC4wMSwwLjE5LTAuMDRoMC4wMWMwLjA2LTAuMDMsMC4xMS0wLjA2LDAuMTUtMC4xMQoJYzAuMDUtMC4wNCwwLjA4LTAuMDksMC4xMS0wLjE1di0wLjAxQzE2Ljk5LDE0LjYzLDE3LDE0LjU2LDE3LDE0LjVTMTYuOTksMTQuMzcsMTYuOTYsMTQuMzF6IE05LDJjMC40LDAsMC43NCwwLjIzLDAuOSwwLjU3CglDOS42MSwyLjUyLDkuMzEsMi41LDksMi41UzguMzksMi41Miw4LjEsMi41N0M4LjI2LDIuMjMsOC42LDIsOSwyeiBNOSwxNmMtMC42NSwwLTEuMjEtMC40Mi0xLjQxLTFoMi44MkMxMC4yMSwxNS41OCw5LjY1LDE2LDksMTZ6CgkgTTE0LjgsMTRoLTEuMDJoLTIuMzNoLTEuMDRINy41OUg2LjU1SDQuMjJIMy4ySDIuN2wwLjQtMC40bDAuNjEtMC42MWMwLjE4OS0wLjE4OSwwLjI5NS0wLjQ0NCwwLjI5My0wLjcxMUM0LDExLjg2OCw0LDExLjMsNCwxMS4zCglWOC41YzAtMi4xMiwxLjMyLTMuOTQsMy4xOS00LjY2YzAuMzItMC4xMywwLjY1LTAuMjIsMC45OS0wLjI3QzguNDUsMy41Miw4LjcyLDMuNSw5LDMuNXMwLjU1LDAuMDIsMC44MiwwLjA3CgljMC4zNCwwLjA1LDAuNjcsMC4xNCwwLjk5LDAuMjdDMTIuNjgsNC41NiwxNCw2LjM4LDE0LDguNXYyLjhjMCwwLDAsMC41NjgtMC4wMDMsMC45NzljLTAuMDAyLDAuMjY4LDAuMTA0LDAuNTIyLDAuMjkzLDAuNzExCglsMC42MSwwLjYxbDAuNCwwLjRIMTQuOHoiLz4KPC9zdmc+Cg=="});var Apt=xe((a1n,UGo)=>{UGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8Y2lyY2xlIGZpbGw9IiNGNTlCMTMiIGN4PSI4IiBjeT0iOCIgcj0iOCIvPgoJPC9nPgoJPGc+CgkJPGc+CgkJCTxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik00LjUsOEM0LjMwOCw4LDQuMTE2LDcuOTI3LDMuOTcsNy43OGMtMC4yOTMtMC4yOTMtMC4yOTMtMC43NjgsMC0xLjA2MWwzLjUtMy41CgkJCQljMC4yOTMtMC4yOTMsMC43NjgtMC4yOTMsMS4wNjEsMHMwLjI5MywwLjc2OCwwLDEuMDYxbC0zLjUsMy41QzQuODg0LDcuOTI3LDQuNjkyLDgsNC41LDh6Ii8+CgkJPC9nPgoJCTxnPgoJCQk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNOCwxM2MtMC40MTQsMC0wLjc1LTAuMzM2LTAuNzUtMC43NXYtOC41QzcuMjUsMy4zMzYsNy41ODYsMyw4LDNzMC43NSwwLjMzNiwwLjc1LDAuNzV2OC41CgkJCQlDOC43NSwxMi42NjQsOC40MTQsMTMsOCwxM3oiLz4KCQk8L2c+CgkJPGc+CgkJCTxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0xMS41LDhjLTAuMTkyLDAtMC4zODQtMC4wNzMtMC41My0wLjIybC0zLjUtMy41Yy0wLjI5My0wLjI5My0wLjI5My0wLjc2OCwwLTEuMDYxczAuNzY4LTAuMjkzLDEuMDYxLDAKCQkJCWwzLjUsMy41YzAuMjkzLDAuMjkzLDAuMjkzLDAuNzY4LDAsMS4wNjFDMTEuODg0LDcuOTI3LDExLjY5Miw4LDExLjUsOHoiLz4KCQk8L2c+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var oqt=xe((s1n,VGo)=>{VGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTggMTgiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE4IDE4IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTgsMTAuNTk5YzAsMS4xMy0wLjQyMiwyLjE1Ny0xLjExOSwyLjkzNEMxNi4wNzUsMTQuNDM1LDE0LjkwNSwxNSwxMy41OTksMTVINC45OAoJCWMtMS4zOTQsMC0yLjY1Mi0wLjU2MS0zLjU1NC0xLjQ2N0MwLjU0MywxMi42NDksMCwxMS40MzksMCwxMC4xMDRjMC0yLjM5MSwxLjc0Mi00LjM4Myw0LjA0OS00LjgxMgoJCWMwLjU2OC0yLjAxMywyLjQ1LTMuNDk1LDQuNjg3LTMuNDk1YzIuNTYsMCw0LjY1OCwxLjk0LDQuODQ4LDQuNDAxaDAuMDE1QzE2LjAzMSw2LjE5OCwxOCw4LjE2OCwxOCwxMC41OTl6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBmaWxsPSIjNTU4OEZGIiBkPSJNOC45NzMsNy41NDVMNy41NjgsNi4wM2MtMC4wMzctMC4wNC0wLjEtMC4wNC0wLjEzNywwTDYuMDI3LDcuNTQ1Yy0wLjA1OSwwLjA2My0wLjAxNiwwLjE3LDAuMDY5LDAuMTcKCQloMC43MjJ2Mi4xNDhDNi44MTgsOS45MzksNi44NzYsMTAsNi45NDksMTBoMS4xMDJjMC4wNzIsMCwwLjEzMS0wLjA2MSwwLjEzMS0wLjEzN1Y3LjcxNGgwLjcyMgoJCUM4Ljk4OSw3LjcxNCw5LjAzMiw3LjYwOCw4Ljk3Myw3LjU0NXoiLz4KCTxwYXRoIGZpbGw9IiM1NTg4RkYiIGQ9Ik05LjAyNywxMS40NTVsMS40MDQsMS41MTRjMC4wMzcsMC4wNCwwLjEsMC4wNCwwLjEzNywwbDEuNDA0LTEuNTE0YzAuMDU5LTAuMDYzLDAuMDE2LTAuMTctMC4wNjktMC4xNwoJCWgtMC43MjJWOS4xMzdDMTEuMTgyLDkuMDYxLDExLjEyNCw5LDExLjA1MSw5SDkuOTQ5QzkuODc2LDksOS44MTgsOS4wNjEsOS44MTgsOS4xMzd2Mi4xNDhIOS4wOTYKCQlDOS4wMTEsMTEuMjg2LDguOTY4LDExLjM5Miw5LjAyNywxMS40NTV6Ii8+CjwvZz4KPC9zdmc+Cg=="});var rqt=xe((l1n,HGo)=>{HGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTggMTgiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE4IDE4IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBmaWxsPSIjRkYwMDAwIiBkPSJNMTgsMTAuNTk5YzAsMS4xMy0wLjQyMiwyLjE1Ny0xLjExOSwyLjkzNEMxNi4wNzUsMTQuNDM1LDE0LjkwNSwxNSwxMy41OTksMTVINC45OAoJCWMtMS4zOTQsMC0yLjY1Mi0wLjU2MS0zLjU1NC0xLjQ2N0MwLjU0MywxMi42NDksMCwxMS40MzksMCwxMC4xMDRjMC0yLjM5MSwxLjc0Mi00LjM4Myw0LjA0OS00LjgxMgoJCWMwLjU2OC0yLjAxMywyLjQ1LTMuNDk1LDQuNjg3LTMuNDk1YzIuNTYsMCw0LjY1OCwxLjk0LDQuODQ4LDQuNDAxaDAuMDE1QzE2LjAzMSw2LjE5OCwxOCw4LjE2OCwxOCwxMC41OTl6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNOC45NzMsNy41NDVMNy41NjgsNi4wM2MtMC4wMzctMC4wNC0wLjEtMC4wNC0wLjEzNywwTDYuMDI3LDcuNTQ1Yy0wLjA1OSwwLjA2My0wLjAxNiwwLjE3LDAuMDY5LDAuMTcKCQloMC43MjJ2Mi4xNDhDNi44MTgsOS45MzksNi44NzYsMTAsNi45NDksMTBoMS4xMDJjMC4wNzIsMCwwLjEzMS0wLjA2MSwwLjEzMS0wLjEzN1Y3LjcxNGgwLjcyMgoJCUM4Ljk4OSw3LjcxNCw5LjAzMiw3LjYwOCw4Ljk3Myw3LjU0NXoiLz4KCTxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik05LjAyNywxMS40NTVsMS40MDQsMS41MTRjMC4wMzcsMC4wNCwwLjEsMC4wNCwwLjEzNywwbDEuNDA0LTEuNTE0YzAuMDU5LTAuMDYzLDAuMDE2LTAuMTctMC4wNjktMC4xNwoJCWgtMC43MjJWOS4xMzdDMTEuMTgyLDkuMDYxLDExLjEyNCw5LDExLjA1MSw5SDkuOTQ5QzkuODc2LDksOS44MTgsOS4wNjEsOS44MTgsOS4xMzd2Mi4xNDhIOS4wOTYKCQlDOS4wMTEsMTEuMjg2LDguOTY4LDExLjM5Miw5LjAyNywxMS40NTV6Ii8+CjwvZz4KPC9zdmc+Cg=="});var nqt=xe((c1n,GGo)=>{GGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE4IDE4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxOCAxODsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiNGRkZGRkY7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0xMS4xLDEzLjRMNi4yLDguNEM2LDguMiw2LDcuOSw2LjIsNy43bDAsMGMwLjItMC4yLDAuNS0wLjIsMC43LDBsNC45LDQuOWMwLjIsMC4yLDAuMiwwLjUsMCwwLjdsMCwwCgkJQzExLjYsMTMuNiwxMS4zLDEzLjYsMTEuMSwxMy40eiIvPgoJPHBhdGggY2xhc3M9InN0MCIgZD0iTTYuMiwxMi43bDQuOS00LjljMC4yLTAuMiwwLjUtMC4yLDAuNywwbDAsMGMwLjIsMC4yLDAuMiwwLjUsMCwwLjdsLTQuOSw0LjljLTAuMiwwLjItMC41LDAuMi0wLjcsMGgwCgkJQzYsMTMuMiw2LDEyLjksNi4yLDEyLjd6Ii8+CjwvZz4KPC9zdmc+Cg=="});var aqt=xe((d1n,YGo)=>{YGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE4IDE4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxOCAxODsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiNGRkZGRkY7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0xNCw2LjFDMTQsNi4xLDEzLjksNi4xLDE0LDYuMUMxMy41LDMuOCwxMS41LDIsOSwyQzYuOSwyLDUuMSwzLjMsNC40LDUuMWwwLDBjLTAuMSwwLTAuMiwwLTAuMywwLjEKCQlDMS43LDUuOCwwLDcuOSwwLDEwLjVDMCwxMi40LDAuOSwxNCwyLjMsMTVjMC45LDAuNiwyLDEsMy4yLDFIMTNjMS4xLDAsMi4yLTAuNCwzLTFjMS4yLTAuOSwyLTIuNCwyLTRDMTgsOC42LDE2LjMsNi42LDE0LDYuMXoKCQkgTTEzLDE1aC0zSDguN0g1LjVDMywxNSwxLDEzLDEsMTAuNWMwLTIsMS4zLTMuNiwzLTQuMmwwLDBjMC4xLDAsMC4yLTAuMSwwLjMtMC4xYzAuMSwwLDAuMSwwLDAuMiwwaDAuMUM0LjgsNi4xLDUsNiw1LjEsNgoJCWMwLjEtMC40LDAuMi0wLjcsMC40LTFjMC43LTEuMiwyLTIsMy41LTJjMiwwLDMuNywxLjUsNCwzLjVjMCwwLjIsMCwwLjMsMCwwLjVjMC4zLDAsMC42LDAsMC45LDAuMUgxNGMxLjcsMC40LDMsMiwzLDMuOQoJCUMxNywxMy4yLDE1LjIsMTUsMTMsMTV6Ii8+CjwvZz4KPC9zdmc+Cg=="});var sqt=xe((u1n,WGo)=>{WGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE4IDE4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxOCAxODsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiNkNzM4NDM7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0xNCw2LjFDMTQsNi4xLDEzLjksNi4xLDE0LDYuMUMxMy41LDMuOCwxMS41LDIsOSwyQzYuOSwyLDUuMSwzLjMsNC40LDUuMWwwLDBjLTAuMSwwLTAuMiwwLTAuMywwLjEKCQlDMS43LDUuOCwwLDcuOSwwLDEwLjVDMCwxMi40LDAuOSwxNCwyLjMsMTVjMC45LDAuNiwyLDEsMy4yLDFIMTNjMS4xLDAsMi4yLTAuNCwzLTFjMS4yLTAuOSwyLTIuNCwyLTRDMTgsOC42LDE2LjMsNi42LDE0LDYuMXoKCQkiLz4KPC9nPgo8L3N2Zz4K"});var lqt=xe((p1n,QGo)=>{QGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE4IDE4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxOCAxODsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiNGRkZGRkY7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0xMC44LDguMWwtMy4yLDMuMkw1LjksOS42Yy0wLjItMC4yLTAuNS0wLjItMC43LDBzLTAuMiwwLjUsMCwwLjdsMi4xLDIuMWMwLjIsMC4yLDAuNSwwLjIsMC43LDBsMCwwbDAsMAoJCWwzLjUtMy41YzAuMi0wLjIsMC4yLTAuNSwwLTAuN1MxMSw4LDEwLjgsOC4xeiIvPgo8L2c+Cjwvc3ZnPgo="});var cqt=xe((m1n,KGo)=>{KGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE4IDE4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxOCAxODsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiNGRkZGRkY7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0xMS4xLDguMmMwLTAuMS0wLjEtMC4xLTAuMS0wLjFDMTAuOSw4LDEwLjgsOCwxMC43LDhzLTAuMiwwLTAuMywwLjFsLTAuMSwwLjFjMCwwLjEtMC4xLDAuMi0wLjEsMC4zCgkJczAsMC4yLDAuMSwwLjNsMCwwbDAuMSwwLjFsMCwwYzAuNCwwLjUsMC42LDEsMC42LDEuNmMwLDAuNy0wLjMsMS4zLTAuNywxLjhDOS44LDEyLjcsOS4yLDEzLDguNSwxM3MtMS4zLTAuMy0xLjgtMC43CgkJQzYuMywxMS44LDYsMTEuMiw2LDEwLjVzMC4zLTEuMywwLjctMS44QzcsOC41LDcuMiw4LjMsNy41LDguMkw3LjMsOC41YzAsMC4xLTAuMSwwLjItMC4xLDAuM2MwLDAuMiwwLjEsMC40LDAuMywwLjQKCQlDNy43LDkuNCw4LDkuMyw4LjIsOWwwLjYtMWwwLjEtMC4zQzksNy43LDksNy42LDksNy41YzAtMC4yLTAuMS0wLjMtMC4zLTAuNEw4LjYsN0w3LjUsNi4zYy0wLjEsMC0wLjItMC4xLTAuMy0wLjEKCQlDNyw2LjIsNi45LDYuMyw2LjgsNi41QzYuNiw2LjcsNi43LDcsNyw3LjJsMC4yLDAuMUM2LjcsNy40LDYuNCw3LjcsNiw4Yy0xLjMsMS40LTEuMywzLjYsMCw1YzAuNywwLjcsMS42LDEsMi41LDFzMS44LTAuMywyLjUtMQoJCUMxMi4zLDExLjcsMTIuMyw5LjYsMTEuMSw4LjJMMTEuMSw4LjJ6Ii8+CjwvZz4KPC9zdmc+Cg=="});var qce=xe((h1n,ZGo)=>{ZGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNNS41OTYsMTMuOTUyYy0wLjA5LDAtMC4xODEtMC4wMDUtMC4yNzItMC4wMTVjLTAuNzY1LTAuMDg1LTEuNDkzLTAuNTIzLTEuOTk5LTEuMjAzYy0wLjc2Ny0xLjAzMi0xLjIyLTIuNDc1LTEuMzEtNC4xNzMKCQlDMi4wMDUsOC4zNzMsMiw4LjE4NywyLDhjMC0wLjI3NiwwLjIyNC0wLjUsMC41LTAuNVMzLDcuNzI0LDMsOGMwLDAuMTcxLDAuMDA1LDAuMzQsMC4wMTMsMC41MTEKCQljMC4wNTYsMS4wNDUsMC4yOTQsMi41MjMsMS4xMTQsMy42MjZjMC4zMzYsMC40NTEsMC44MjQsMC43NTMsMS4zMDcsMC44MDdjMC4zOTgsMC4wNDEsMC43NTUtMC4wNzIsMS4wNzItMC4zNDQKCQljMS4wMS0wLjg2OCwxLjIzLTIuMzI2LDEuMzU2LTMuNjI1YzAuMDI4LTAuMjgsMC4wNS0wLjU2MiwwLjA3MS0wLjg0NmMwLjA5Ni0xLjIyOSwwLjE5NC0yLjUwMSwwLjc0Ny0zLjY5MQoJCWMwLjUwNi0xLjA5MywxLjI3MS0yLjM1NywyLjcwMS0yLjQzNWMxLjA2Ni0wLjA0MSwyLjAzNSwwLjY1MSwyLjcxOCwxLjk0QzE0LjY4OCw1LjA2LDE1LDYuNDYzLDE1LDhjMCwwLjI3Ni0wLjIyNCwwLjUtMC41LDAuNQoJCVMxNCw4LjI3NiwxNCw4YzAtMS4zNzUtMC4yNzEtMi42MTctMC43ODUtMy41OWMtMC4yMzItMC40MzktMC44NDEtMS40NTktMS43NzktMS40MDlDMTAuNTQzLDMuMDUsMTAsMy45NjcsOS41ODgsNC44NTcKCQlDOS4xMTEsNS44ODUsOS4wMjMsNy4wMTMsOC45MzEsOC4yMDZjLTAuMDIyLDAuMjktMC4wNDUsMC41NzktMC4wNzIsMC44NjZjLTAuMTQ2LDEuNDkyLTAuNDEsMy4xNzctMS43LDQuMjg1CgkJQzYuNzAxLDEzLjc1LDYuMTY2LDEzLjk1Miw1LjU5NiwxMy45NTJ6Ii8+CjwvZz4KPC9zdmc+Cg=="});var kAe=xe((f1n,JGo)=>{JGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMS45OSw5LjA2MWw0Ljk1LDQuOTVjMC4xOTUsMC4xOTUsMC4xOTUsMC41MTIsMCwwLjcwN2wwLDBjLTAuMTk1LDAuMTk1LTAuNTEyLDAuMTk1LTAuNzA3LDBsLTQuOTUtNC45NQoJCWMtMC4xOTUtMC4xOTUtMC4xOTUtMC41MTIsMC0wLjcwN2gwQzEuNDc4LDguODY1LDEuNzk0LDguODY1LDEuOTksOS4wNjF6Ii8+Cgk8cGF0aCBkPSJNOS43NjgsMS4yODJsNC45NSw0Ljk1YzAuMTk1LDAuMTk1LDAuMTk1LDAuNTEyLDAsMC43MDd2MGMtMC4xOTUsMC4xOTUtMC41MTIsMC4xOTUtMC43MDcsMGwtNC45NS00Ljk1CgkJYy0wLjE5NS0wLjE5NS0wLjE5NS0wLjUxMiwwLTAuNzA3bDAsMEM5LjI1NiwxLjA4Nyw5LjU3MiwxLjA4Nyw5Ljc2OCwxLjI4MnoiLz4KCTxwYXRoIGQ9Ik0zLjQwNCw5Ljc2OGw2LjM2NC02LjM2NGMwLjE5NS0wLjE5NSwwLjUxMi0wLjE5NSwwLjcwNywwdjBjMC4xOTUsMC4xOTUsMC4xOTUsMC41MTIsMCwwLjcwN2wtNi4zNjQsNi4zNjQKCQljLTAuMTk1LDAuMTk1LTAuNTEyLDAuMTk1LTAuNzA3LDBsMCwwQzMuMjA4LDEwLjI4LDMuMjA4LDkuOTYzLDMuNDA0LDkuNzY4eiIvPgoJPGc+CgkJPHBhdGggZD0iTTMuODg3LDEwLjYwNGwyLjg5OC0wLjc3NkM3LjA1MSw5Ljc1Niw3LjIxLDkuNDgyLDcuMTM4LDkuMjE1bDAsMEM3LjA2Nyw4Ljk0OSw2Ljc5Myw4Ljc5LDYuNTI2LDguODYyTDMuNjI4LDkuNjM4CgkJCUMzLjM2MSw5LjcxLDMuMjAzLDkuOTg0LDMuMjc0LDEwLjI1MWwwLDBDMy4zNDYsMTAuNTE3LDMuNjIsMTAuNjc2LDMuODg3LDEwLjYwNHoiLz4KCQk8cGF0aCBkPSJNMy4yNzQsOS45OTJsMC43NzYtMi44OThDNC4xMjIsNi44MjcsNC4zOTYsNi42NjksNC42NjMsNi43NGwwLDBDNC45Myw2LjgxMiw1LjA4OCw3LjA4Niw1LjAxNyw3LjM1M0w0LjI0LDEwLjI1MQoJCQljLTAuMDcxLDAuMjY3LTAuMzQ2LDAuNDI1LTAuNjEyLDAuMzU0aDBDMy4zNjEsMTAuNTMzLDMuMjAzLDEwLjI1OSwzLjI3NCw5Ljk5MnoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik05Ljk5MiwzLjI3NEw3LjA5NCw0LjA1MUM2LjgyNyw0LjEyMiw2LjY2OSw0LjM5Niw2Ljc0LDQuNjYzbDAsMEM2LjgxMiw0LjkzLDcuMDg2LDUuMDg4LDcuMzUzLDUuMDE3bDIuODk4LTAuNzc2CgkJCWMwLjI2Ny0wLjA3MSwwLjQyNS0wLjM0NiwwLjM1NC0wLjYxMnYwQzEwLjUzMywzLjM2MSwxMC4yNTgsMy4yMDMsOS45OTIsMy4yNzR6Ii8+CgkJPHBhdGggZD0iTTEwLjYwNCwzLjg4N0w5LjgyOCw2Ljc4NUM5Ljc1Niw3LjA1MSw5LjQ4Miw3LjIxLDkuMjE1LDcuMTM4aDBDOC45NDksNy4wNjcsOC43OSw2Ljc5Myw4Ljg2Miw2LjUyNmwwLjc3Ni0yLjg5OAoJCQljMC4wNzEtMC4yNjcsMC4zNDYtMC40MjUsMC42MTItMC4zNTRsMCwwQzEwLjUxNywzLjM0NiwxMC42NzYsMy42MiwxMC42MDQsMy44ODd6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var g3e=xe((g1n,qGo)=>{qGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTE0LjAzNywxMi45ODdjLTAuMDc1LTAuMDYtMS44MjYtMS40NTctMy41MzItMC41NDFjLTIuMTQzLDEuMTU2LTQuMjExLDEuNjIyLTUuMjk4LDEuMjAyCgljLTAuNzQtMC4yODUtMS4yOTgtMC42NjEtMS42OTEtMC45NzZsNy4zNjYtMS45NTNjMC4yMTEtMC4wNiwwLjM2Mi0wLjIxLDAuNDIzLTAuNDIxbDEuMTYyLTQuMWMwLjA2LTAuMjEsMC0wLjQzNi0wLjE1MS0wLjU4NgoJTDkuMTMxLDIuNDQ0Yy0wLjE1MS0wLjE1LTAuMzc3LTAuMjEtMC41ODktMC4xNUw0LjQyMiwzLjQzNUM0LjIxLDMuNDk1LDQuMDU5LDMuNjYsMy45OTksMy44NTZsLTIuMjM0LDguMzY2djAuMDE1CgljMCwwLjAzLTAuMDE1LDAuMDQ1LTAuMDE1LDAuMDc1djAuMTM1YzAsMC4wMywwLjAxNSwwLjA2LDAuMDE1LDAuMDl2MC4wMTVjMC4wMTUsMC4wMywwLjAxNSwwLjA0NSwwLjAzLDAuMDc1CgljMC4wMTUsMCwwLjAxNSwwLjAxNSwwLjAxNSwwLjAxNWMwLjAxNSwwLjAzLDAuMDMsMC4wNDUsMC4wNDUsMC4wNzV2MC4wMTVjMC4wNzUsMC4xMDUsMS4wMTEsMS4yOTIsMi44OTgsMi4wMjgKCUM1LjE0NiwxNC45MSw1LjYyOSwxNSw2LjE1OCwxNWMxLjM1OSwwLDMuMDk0LTAuNTExLDQuOTA2LTEuNDg3YzAuOTk2LTAuNTQxLDIuMTg5LDAuNDA2LDIuMTg5LDAuNDA2CgljMC4yNTcsMC4yMSwwLjYzNCwwLjE2NSwwLjg0NS0wLjA5QzE0LjMyNCwxMy41NzMsMTQuMjk0LDEzLjE5OCwxNC4wMzcsMTIuOTg3eiBNNS4wODYsNC41MDFMOC41NDMsMy41NGwyLjY4NywyLjY3M2wtMC45ODEsMy40MzkKCWwtNS44ODcsMS41NjJsMi40OTEtMi40NzhjMC40MzgsMC4xMiwwLjkyMSwwLjAxNSwxLjI1My0wLjMxNWMwLjQ5OC0wLjQ5NiwwLjQ5OC0xLjI5MiwwLTEuNzg3QzcuNjEyLDYuMTQxLDYuODEsNi4xMzgsNi4zMTQsNi42MjkKCUM2LjMxMiw2LjYzMSw2LjMxLDYuNjMyLDYuMzA5LDYuNjM0QzUuOTYxLDYuOTgsNS44NTYsNy40Niw1Ljk5Miw3Ljg4MWwtMi40NzYsMi40NzhMNS4wODYsNC41MDF6IE0xMi43MzksNS4wMjcKCWMwLjEyMSwwLjEyLDAuMjcyLDAuMTgsMC40MjMsMC4xOGMwLjE1MSwwLDAuMzAyLTAuMDYsMC40MjMtMC4xOGMwLjI0Mi0wLjI0LDAuMjQyLTAuNjE2LDAtMC44NTZsLTMuMDE5LTMuMDA0CglDMTAuMzM5LDAuOTQyLDkuOTYyLDAuOTQyLDkuNzIsMS4xODJjLTAuMjQyLDAuMjQtMC4yNDIsMC42MTYsMCwwLjg1NkwxMi43MzksNS4wMjd6Ii8+Cjwvc3ZnPgo="});var b3e=xe((b1n,XGo)=>{XGo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggc3R5bGU9ImZpbGw6IzAwOTkwMDsiIGQ9Ik0xNSwxNkgyYy0wLjU1MiwwLTEtMC40NDgtMS0xVjJjMC0wLjU1MiwwLjQ0OC0xLDEtMWgxM2MwLjU1MiwwLDEsMC40NDgsMSwxdjEzCgkJQzE2LDE1LjU1MiwxNS41NTIsMTYsMTUsMTZ6Ii8+CjwvZz4KPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgo8cGF0aCBkPSJNMTUsMUgyQzEuNjUsMSwxLjM0LDEuMTgsMS4xNiwxLjQ1QzEuMDYsMS42MSwxLDEuOCwxLDJ2MC43MVYxNWMwLDAuNTUsMC40NSwxLDEsMWgxM2MwLjM1LDAsMC42Ni0wLjE4LDAuODQtMC40NQoJQzE1Ljk0LDE1LjM5LDE2LDE1LjIsMTYsMTV2LTAuNzFWMkMxNiwxLjQ1LDE1LjU1LDEsMTUsMXogTTEzLjAwMywxMS4yOTNDMTIuODE1LDExLjEwNSwxMi41NjEsMTEsMTIuMjk2LDExSDExLjI5SDcuOTUKCUM3LjY3Myw5LjYyNiw2LjI2Myw4LjY1OSw0LjczNSw5LjExNGMtMC43ODksMC4yMzUtMS40MjMsMC44OS0xLjY0LDEuNjg1QzIuNjM3LDEyLjQ3OSwzLjg5MiwxNCw1LjUsMTRjMS4yMSwwLDIuMjItMC44NiwyLjQ1LTIKCWg0LjM0TDE1LDE0LjcxVjE1SDJWMy43MUwzLjI5LDVsMC43MDcsMC43MDdDNC4xODUsNS44OTUsNC40MzksNiw0LjcwNCw2SDUuNzFoMy4zNGMwLjI3NywxLjM3NCwxLjY4NywyLjM0MSwzLjIxNSwxLjg4NgoJYzAuNzg5LTAuMjM1LDEuNDIzLTAuODksMS42NC0xLjY4NUMxNC4zNjMsNC41MjEsMTMuMTA4LDMsMTEuNSwzYy0xLjIxLDAtMi4yMiwwLjg2LTIuNDUsMkg0LjcxTDIsMi4yOVYyaDEzdjExLjI5TDEzLjcxLDEyCglMMTMuMDAzLDExLjI5M3ogTTUuNSwxM0M0LjY3LDEzLDQsMTIuMzMsNCwxMS41QzQsMTAuNjcsNC42NywxMCw1LjUsMTBTNywxMC42Nyw3LDExLjVDNywxMi4zMyw2LjMzLDEzLDUuNSwxM3ogTTExLjUsNAoJQzEyLjMzLDQsMTMsNC42NywxMyw1LjVDMTMsNi4zMywxMi4zMyw3LDExLjUsN1MxMCw2LjMzLDEwLDUuNUMxMCw0LjY3LDEwLjY3LDQsMTEuNSw0eiIvPgo8L3N2Zz4K"});var y3e=xe((y1n,$Go)=>{$Go.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBmaWxsPSIjMkI1NzlBIiBkPSJNMTMsMXYxNEgzVjFIMTMgTTEzLDBIM0MyLjQ0OCwwLDIsMC40NDgsMiwxdjE0YzAsMC41NTIsMC40NDgsMSwxLDFoMTBjMC41NTIsMCwxLTAuNDQ4LDEtMVYxCgkJQzE0LDAuNDQ4LDEzLjU1MiwwLDEzLDBMMTMsMHoiLz4KPC9nPgo8Zz4KCTxwYXRoIGZpbGw9IiMyQjU3OUEiIGQ9Ik0xMC41LDNoLTVDNS4yMjQsMyw1LDMuMjI0LDUsMy41UzUuMjI0LDQsNS41LDRoNUMxMC43NzYsNCwxMSwzLjc3NiwxMSwzLjVTMTAuNzc2LDMsMTAuNSwzTDEwLjUsM3oiLz4KPC9nPgo8Zz4KCTxwYXRoIGZpbGw9IiMyQjU3OUEiIGQ9Ik0xMC41LDVoLTVDNS4yMjQsNSw1LDUuMjI0LDUsNS41UzUuMjI0LDYsNS41LDZoNUMxMC43NzYsNiwxMSw1Ljc3NiwxMSw1LjVTMTAuNzc2LDUsMTAuNSw1TDEwLjUsNXoiLz4KPC9nPgo8Zz4KCTxwYXRoIGZpbGw9IiMyQjU3OUEiIGQ9Ik04LDljLTAuNTUyLDAtMSwwLjQ0OC0xLDFzMC40NDgsMSwxLDFzMS0wLjQ0OCwxLTFTOC41NTIsOSw4LDlMOCw5eiIvPgo8L2c+CjxnPgoJPHBhdGggZmlsbD0iIzJCNTc5QSIgZD0iTTgsMTJjLTAuNTUyLDAtMSwwLjQ0OC0xLDFzMC40NDgsMSwxLDFzMS0wLjQ0OCwxLTFTOC41NTIsMTIsOCwxMkw4LDEyeiIvPgo8L2c+Cjwvc3ZnPgo="});var Npt=xe((w1n,eYo)=>{eYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggc3R5bGU9ImZpbGw6IzAwOTkwMDsiIGQ9Ik0xNiwydjUuNUMxNiw3Ljc3NiwxNS43NzYsOCwxNS41LDhIMTJjLTEuNjU3LDAtMywxLjM0My0zLDN2NC41QzksMTUuNzc2LDguNzc2LDE2LDguNSwxNkgyCgkJYy0wLjU1LDAtMS0wLjQ1LTEtMVYyYzAtMC41NSwwLjQ1LTEsMS0xaDEzQzE1LjU1LDEsMTYsMS40NSwxNiwyeiIvPgo8L2c+CjxwYXRoIGQ9Ik01LjQ5OSw4Ljk5N2MtMS4zODEtMC4wMDItMi41MDIsMS4xMTUtMi41MDQsMi40OTZjLTAuMDAyLDEuMzgxLDEuMTE2LDIuNTAyLDIuNDk2LDIuNTA0CgljMS4zODEsMC4wMDIsMi41MDItMS4xMTYsMi41MDQtMi40OTZDNy45OTgsMTAuMTIsNi44OCw4Ljk5OSw1LjQ5OSw4Ljk5N3ogTTUuNDkzLDEyLjk5N2MtMC44MjctMC4wMDEtMS40OTktMC42NzUtMS40OTgtMS41MDIKCWMwLjAwMS0wLjgyNywwLjY3NS0xLjQ5OSwxLjUwMi0xLjQ5OGMwLjgyNywwLjAwMSwxLjQ5OSwwLjY3NSwxLjQ5OCwxLjUwMkM2Ljk5NCwxMi4zMjYsNi4zMiwxMi45OTgsNS40OTMsMTIuOTk3eiIvPgo8cGF0aCBkPSJNMTUuNDk0LDEySDE0di0xLjQ5NGMwLTAuMjc2LTAuMjI0LTAuNS0wLjUtMC41cy0wLjUsMC4yMjQtMC41LDAuNVYxMmgtMS40OTRjLTAuMjc2LDAtMC41LDAuMjI0LTAuNSwwLjUKCWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41SDEzdjEuNDk0YzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVzMC41LTAuMjI0LDAuNS0wLjVWMTNoMS40OTRjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNQoJQzE1Ljk5NCwxMi4yMjQsMTUuNzcxLDEyLDE1LjQ5NCwxMnoiLz4KPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgo8cGF0aCBkPSJNMTUsMUgyQzEuODUsMSwxLjcxLDEuMDMsMS41OCwxLjFDMS41NSwxLjExLDEuNTIsMS4xMiwxLjQ5LDEuMTVDMS40MywxLjE3LDEuMzcsMS4yMiwxLjMyLDEuMjcKCWMtMC4wNiwwLjA0LTAuMSwwLjEtMC4xNCwwLjE2QzEuMTcsMS40NCwxLjE2LDEuNDQsMS4xNiwxLjQ1QzEuMTMsMS41LDEuMSwxLjU1LDEuMDgsMS42MUMxLjA1LDEuNjcsMS4wNCwxLjczLDEuMDIsMS43OQoJQzEuMDEsMS44NiwxLDEuOTMsMSwydjEzYzAsMC41NSwwLjQ1LDEsMSwxaDYuNUM4Ljc4LDE2LDksMTUuNzgsOSwxNS41QzksMTUuMjIsOC43OCwxNSw4LjUsMTVIMlYzLjcxTDMuMjksNUw0LDUuNzEKCWMwLjEsMC4xLDAuMjIsMC4xOCwwLjM2LDAuMjJDNC40Nyw1Ljk4LDQuNTgsNiw0LjcsNmg0LjM1YzAuMjgsMS4zNywxLjY5LDIuMzQsMy4yMSwxLjg5QzEzLjA1LDcuNjUsMTMuNjksNywxMy45LDYuMgoJYzAuMDItMC4wNywwLjA0LTAuMTMsMC4wNC0wLjJjMC4wOC0wLjM1LDAuMDctMC42OSwwLjAxLTFjLTAuMjMtMS4xNC0xLjI0LTItMi40NS0yUzkuMjgsMy44Niw5LjA1LDVINC43MUwyLDIuMjlWMmgxM3Y1LjUKCUMxNSw3Ljc4LDE1LjIyLDgsMTUuNSw4UzE2LDcuNzgsMTYsNy41VjJDMTYsMS40NSwxNS41NSwxLDE1LDF6IE0xMS41LDRjMC42NSwwLDEuMjEsMC40MiwxLjQxLDFDMTIuOTcsNS4xNiwxMyw1LjMyLDEzLDUuNQoJUzEyLjk3LDUuODQsMTIuOTEsNmMtMC4yLDAuNTgtMC43NiwxLTEuNDEsMXMtMS4yMS0wLjQyLTEuNDEtMUMxMC4wMyw1Ljg0LDEwLDUuNjgsMTAsNS41czAuMDMtMC4zNCwwLjA5LTAuNQoJQzEwLjI5LDQuNDIsMTAuODUsNCwxMS41LDR6Ii8+Cjwvc3ZnPgo="});var kpt=xe((C1n,tYo)=>{tYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZmlsbD0iIzJCNTc5QSIgZD0iTTEzLDBIM0MyLjQ1LDAsMiwwLjQ1LDIsMXYxNGMwLDAuNTUsMC40NSwxLDEsMWg0LjVDNy43NzYsMTYsOCwxNS43NzYsOCwxNS41djBDOCwxNS4yMjQsNy43NzYsMTUsNy41LDE1SDMKCVYxaDEwdjcuNUMxMyw4Ljc3NiwxMy4yMjQsOSwxMy41LDloMEMxMy43NzYsOSwxNCw4Ljc3NiwxNCw4LjVWMUMxNCwwLjQ1LDEzLjU1LDAsMTMsMHoiLz4KPGc+Cgk8cGF0aCBmaWxsPSIjMkI1NzlBIiBkPSJNMTAuNSwzaC01QzUuMjI0LDMsNSwzLjIyNCw1LDMuNVM1LjIyNCw0LDUuNSw0aDVDMTAuNzc2LDQsMTEsMy43NzYsMTEsMy41UzEwLjc3NiwzLDEwLjUsM0wxMC41LDN6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBmaWxsPSIjMkI1NzlBIiBkPSJNMTAuNSw1aC01QzUuMjI0LDUsNSw1LjIyNCw1LDUuNVM1LjIyNCw2LDUuNSw2aDVDMTAuNzc2LDYsMTEsNS43NzYsMTEsNS41UzEwLjc3Niw1LDEwLjUsNUwxMC41LDV6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBmaWxsPSIjMkI1NzlBIiBkPSJNOCw5Yy0wLjU1MiwwLTEsMC40NDgtMSwxczAuNDQ4LDEsMSwxczEtMC40NDgsMS0xUzguNTUyLDksOCw5TDgsOXoiLz4KPC9nPgo8Zz4KCTxwYXRoIGZpbGw9IiMyQjU3OUEiIGQ9Ik04LDEyYy0wLjU1MiwwLTEsMC40NDgtMSwxczAuNDQ4LDEsMSwxczEtMC40NDgsMS0xUzguNTUyLDEyLDgsMTJMOCwxMnoiLz4KPC9nPgo8Zz4KCTxwYXRoIGZpbGw9IiMyQjU3OUEiIGQ9Ik0xNC40OTQsMTNIMTN2LTEuNDk0YzAtMC4yNzYtMC4yMjQtMC41LTAuNS0wLjVzLTAuNSwwLjIyNC0wLjUsMC41VjEzaC0xLjQ5NGMtMC4yNzYsMC0wLjUsMC4yMjQtMC41LDAuNQoJCWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41SDEydjEuNDk0YzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVzMC41LTAuMjI0LDAuNS0wLjVWMTRoMS40OTRjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNQoJCUMxNC45OTQsMTMuMjI0LDE0Ljc3MSwxMywxNC40OTQsMTN6Ii8+CjwvZz4KPC9zdmc+Cg=="});var Lie=xe((x1n,iYo)=>{iYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggc3R5bGU9ImZpbGw6I0Y5RjJCMTsiIGQ9Ik0xNSw0VjNjMC0wLjU1Mi0wLjQ0OC0xLTEtMUg2LjdMNS45OTMsMS4yOTNDNS44MDUsMS4xMDUsNS41NTEsMSw1LjI4NiwxSDQuM0gyQzEuNDUsMSwxLDEuNDUsMSwyCgl2MTNjMCwwLjU1LDAuNDUsMSwxLDFoMTNjMC41NSwwLDEtMC40NSwxLTFWNUMxNiw0LjQ0OCwxNS41NTIsNCwxNSw0eiIvPgo8cGF0aCBzdHlsZT0iZmlsbDojRDZCRjVFOyIgZD0iTTE1LDRWM2MwLTAuNTUyLTAuNDQ4LTEtMS0xSDYuN0w1Ljk5MywxLjI5M0M1LjgwNSwxLjEwNSw1LjU1MSwxLDUuMjg2LDFINC4zSDJDMS40NSwxLDEsMS40NSwxLDIKCXYxM2MwLDAuNTUsMC40NSwxLDEsMWgxM2MwLjU1LDAsMS0wLjQ1LDEtMVY1QzE2LDQuNDQ4LDE1LjU1Miw0LDE1LDR6IE0xNC4wMSwyLjk5VjRIOC43TDcuNjksMi45OUgxNC4wMXogTTE1LDE1SDJWMmgzLjMKCWwwLjk5LDAuOTlsMS4wOSwxLjA5bDAuNjE3LDAuNjE3QzguMTg1LDQuODg1LDguNDM5LDQuOTksOC43MDQsNC45OUg5LjY5aDQuMzJIMTVWMTV6Ii8+Cjwvc3ZnPgo="});var PAe=xe((T1n,oYo)=>{oYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cmVjdCBmaWxsPSJub25lIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KCQk8cGF0aCBmaWxsPSIjRjlGMkIxIiBkPSJNMTUsNFYzYzAtMC41NTItMC40NDgtMS0xLTFINi43TDUuOTkzLDEuMjkzQzUuODA1LDEuMTA1LDUuNTUxLDEsNS4yODYsMUg0LjNIMkMxLjQ1LDEsMSwxLjQ1LDEsMnYxMwoJCQljMCwwLjU1LDAuNDUsMSwxLDFoMTNjMC41NSwwLDEtMC40NSwxLTFWNUMxNiw0LjQ0OCwxNS41NTIsNCwxNSw0eiIvPgoJCTxwYXRoIGZpbGw9IiNENkJGNUUiIGQ9Ik0xNSw0VjNjMC0wLjU1Mi0wLjQ0OC0xLTEtMUg2LjdMNS45OTMsMS4yOTNDNS44MDUsMS4xMDUsNS41NTEsMSw1LjI4NiwxSDQuM0gyQzEuNDUsMSwxLDEuNDUsMSwydjEzCgkJCWMwLDAuNTUsMC40NSwxLDEsMWgxM2MwLjU1LDAsMS0wLjQ1LDEtMVY1QzE2LDQuNDQ4LDE1LjU1Miw0LDE1LDR6IE0xNC4wMSwyLjk5VjRIOC43TDcuNjksMi45OUgxNC4wMXogTTE1LDE1SDJWMmgzLjNsMC45OSwwLjk5CgkJCWwxLjA5LDEuMDlsMC42MTcsMC42MTdDOC4xODUsNC44ODUsOC40MzksNC45OSw4LjcwNCw0Ljk5SDkuNjloNC4zMkgxNVYxNXoiLz4KCTwvZz4KCTxnPgoJCTxwb2x5Z29uIGZpbGw9IiM1NTg4RkYiIHBvaW50cz0iNy44LDYuMzIyIDcuOCw5LjI2IDkuMiw5LjI2IDkuMiw3LjkzOCAxMC42LDguNzQ3IDEwLjYsMTIuNzkgMTIsMTEuOTgxIDEyLDcuOTQxIDguNSw1LjkxOSAJCSIvPgoJCTxwb2x5Z29uIGZpbGw9IiM1NTg4RkYiIHBvaW50cz0iNy44LDExLjk3OCA2LjQsMTEuMTY5IDYuNCw3LjEyOSA1LDcuOTM4IDUsMTEuOTc4IDguNSwxNCA5LjIsMTMuNTk3IDkuMiwxMC42NiA3LjgsMTAuNjYgCQkiLz4KCTwvZz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var Ppt=xe((S1n,rYo)=>{rYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNjc2MjY3NTUwODQzIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjYxMDUiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTczMS4xNSA3ODUuMTJINTEwLjQ3Yy0yOS45NSAwLTU0LjMxLTI0LjM2LTU0LjMxLTU0LjMxVjU2OC4xOEgyOTIuODVjLTI5Ljk1IDAtNTQuMzEtMjQuMzYtNTQuMzEtNTQuMzFWMjkzLjE5YzAtMjkuOTUgMjQuMzYtNTQuMzEgNTQuMzEtNTQuMzFoMjIwLjY4YzI5Ljk1IDAgNTQuMzEgMjQuMzYgNTQuMzEgNTQuMzF2MTYyLjYzaDE2My4zMWMyOS45NSAwIDU0LjMxIDI0LjM2IDU0LjMxIDU0LjMxdjIyMC42OGMwIDI5Ljk1LTI0LjM2IDU0LjMxLTU0LjMxIDU0LjMxeiBtLTE5OS4wNy03NS45M2gxNzcuNDVWNTMxLjc0SDUzMi4wOHYxNzcuNDV6IG0xOTkuMDctMTc3LjQ1eiBtLTQxNi42OC0zOS40OGgxNzcuNDVWMzE0LjgxSDMxNC40N3YxNzcuNDV6IiBmaWxsPSIjMmMyYzJjIiBwLWlkPSI2MTA2Ij48L3BhdGg+PHBhdGggZD0iTTg2Ny41OSA5NTkuNzlIMTU2LjQxYy01MC44NCAwLTkyLjItNDEuMzYtOTIuMi05Mi4yVjE1Ni40MWMwLTUwLjg0IDQxLjM2LTkyLjIgOTIuMi05Mi4yaDcxMS4xOGM1MC44NCAwIDkyLjIgNDEuMzYgOTIuMiA5Mi4ydjcxMS4xOGMwIDUwLjg0LTQxLjM2IDkyLjItOTIuMiA5Mi4yek0xNTYuNDEgMTQwLjE0Yy04LjgyIDAtMTYuMjcgNy40NS0xNi4yNyAxNi4yN3Y3MTEuMThjMCA4LjgyIDcuNDUgMTYuMjcgMTYuMjcgMTYuMjdoNzExLjE4YzguODIgMCAxNi4yNy03LjQ1IDE2LjI3LTE2LjI3VjE1Ni40MWMwLTguODItNy40NS0xNi4yNy0xNi4yNy0xNi4yN0gxNTYuNDF6IiBmaWxsPSIjMmMyYzJjIiBwLWlkPSI2MTA3Ij48L3BhdGg+PC9zdmc+"});var Opt=xe((M1n,nYo)=>{nYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMTIuNSw5aC04QzQuMjI0LDksNCw4Ljc3Niw0LDguNWwwLDBDNCw4LjIyNCw0LjIyNCw4LDQuNSw4aDhDMTIuNzc2LDgsMTMsOC4yMjQsMTMsOC41bDAsMEMxMyw4Ljc3NiwxMi43NzYsOSwxMi41LDl6Ii8+Cgk8cGF0aCBkPSJNMTIuNzUsOC45MzNsLTMuNDY0LDJjLTAuMjM5LDAuMTM4LTAuNTQ1LDAuMDU2LTAuNjgzLTAuMTgzbDAsMGMtMC4xMzgtMC4yMzktMC4wNTYtMC41NDUsMC4xODMtMC42ODNsMy40NjQtMgoJCWMwLjIzOS0wLjEzOCwwLjU0NS0wLjA1NiwwLjY4MywwLjE4M2wwLDBDMTMuMDcxLDguNDg5LDEyLjk4OSw4Ljc5NSwxMi43NSw4LjkzM3oiLz4KCTxwYXRoIGQ9Ik0xMi4yNSw4LjkzM2wtMy40NjQtMkM4LjU0Nyw2Ljc5NSw4LjQ2NSw2LjQ4OSw4LjYwMyw2LjI1bDAsMGMwLjEzOC0wLjIzOSwwLjQ0NC0wLjMyMSwwLjY4My0wLjE4M2wzLjQ2NCwyCgkJYzAuMjM5LDAuMTM4LDAuMzIxLDAuNDQ0LDAuMTgzLDAuNjgzbDAsMEMxMi43OTUsOC45ODksMTIuNDg5LDkuMDcxLDEyLjI1LDguOTMzeiIvPgoJPHBhdGggZD0iTTEwLDFIMkMxLjQ1LDEsMSwxLjQ1LDEsMnYxMWMwLDAuNTUsMC40NSwxLDEsMWg1di0xSDJWMmg4djJoMVYyQzExLDEuNDUsMTAuNTUsMSwxMCwxeiIvPgoJPHBhdGggZD0iTTE1LDNIN0M2LjQ1LDMsNiwzLjQ1LDYsNHYxLjVDNiw1Ljc3Niw2LjIyNCw2LDYuNSw2bDAsMEM2Ljc3Niw2LDcsNS43NzYsNyw1LjVWNGg4djExSDd2LTMuNUM3LDExLjIyNCw2Ljc3NiwxMSw2LjUsMTEKCQlsMCwwQzYuMjI0LDExLDYsMTEuMjI0LDYsMTEuNVYxNWMwLDAuNTUsMC40NSwxLDEsMWg4YzAuNTUsMCwxLTAuNDUsMS0xVjRDMTYsMy40NSwxNS41NSwzLDE1LDN6Ii8+CjwvZz4KPC9zdmc+Cg=="});var dqt=xe((I1n,aYo)=>{aYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTE0LjI0MywzLjc1N2MtMC4xOTUtMC4xOTUtMC41MTItMC4xOTUtMC43MDcsMGwtNy40MjUsNy40MjVMMi4yMjIsNy4yOTNjLTAuMTk1LTAuMTk1LTAuNTEyLTAuMTk1LTAuNzA3LDAKCVMxLjMyLDcuODA1LDEuNTE1LDhsNC4yNDIsNC4yNDNjMC4xOTUsMC4xOTUsMC41MTIsMC4xOTUsMC43MDcsMGMwLDAsMCwwLDAsMGMwLDAsMCwwLDAuMDAxLDBsNy43NzgtNy43NzgKCUMxNC40MzgsNC4yNjksMTQuNDM4LDMuOTUzLDE0LjI0MywzLjc1N3oiLz4KPC9zdmc+Cg=="});var Rpt=xe((L1n,sYo)=>{sYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMywxMS41QzMsMTIuODgsNC4xMiwxNCw1LjUsMTRTOCwxMi44OCw4LDExLjVTNi44OCw5LDUuNSw5UzMsMTAuMTIsMywxMS41eiBNNywxMS41QzcsMTIuMzMsNi4zMywxMyw1LjUsMTMKCQlTNCwxMi4zMyw0LDExLjVDNCwxMC42Nyw0LjY3LDEwLDUuNSwxMFM3LDEwLjY3LDcsMTEuNXoiLz4KCTxwYXRoIGQ9Ik0xNS4xNDUsMTMuMTQ4TDE0LDE0LjI5N1Y5LjVDMTQsOS4yMjQsMTMuNzc2LDksMTMuNSw5UzEzLDkuMjI0LDEzLDkuNXY2YzAsMC4wNjYsMC4wMTMsMC4xMzEsMC4wMzksMC4xOTIKCQljMC4wNTEsMC4xMjMsMC4xNSwwLjIyLDAuMjc0LDAuMjdjMC4xMiwwLjA1LDAuMjU2LDAuMDUsMC4zNzUsMGMwLjA3MS0wLjAyOSwwLjEzLTAuMDc1LDAuMTgtMC4xM2wxLjk4NC0xLjk3NQoJCUMxNS45NDcsMTMuNzYzLDE2LDEzLjYzNSwxNiwxMy41MDJDMTYsMTMuMDU1LDE1LjQ2LDEyLjgzMiwxNS4xNDUsMTMuMTQ4eiIvPgoJPHBhdGggZD0iTTExLjY4OCw5LjAzOGMtMC4xMi0wLjA1LTAuMjU2LTAuMDUtMC4zNzUsMGMtMC4wNzEsMC4wMjktMC4xMywwLjA3NC0wLjE4LDAuMTNsLTEuOTg0LDEuOTc1CgkJQzkuMDUzLDExLjIzNyw5LDExLjM2NSw5LDExLjQ5OGMwLDAuNDQ3LDAuNTQsMC42NywwLjg1NSwwLjM1M0wxMSwxMC43MDNWMTUuNWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41czAuNS0wLjIyNCwwLjUtMC41di02CgkJYzAtMC4wNjYtMC4wMTMtMC4xMzEtMC4wMzktMC4xOTJDMTEuOTEsOS4xODUsMTEuODExLDkuMDg4LDExLjY4OCw5LjAzOHoiLz4KCTxwYXRoIGQ9Ik0xNSwxSDJDMS42NSwxLDEuMzQsMS4xOCwxLjE2LDEuNDVDMS4wNiwxLjYxLDEsMS44LDEsMnYxM2MwLDAuNTUsMC40NSwxLDEsMWg1LjVDNy43NzYsMTYsOCwxNS43NzYsOCwxNS41CgkJQzgsMTUuMjI0LDcuNzc2LDE1LDcuNSwxNUgyVjMuNzFMMy4yOSw1TDQsNS43MUM0LjE4LDUuODksNC40NCw2LDQuNyw2aDQuMzVjMC4yMywxLjE0LDEuMjUsMiwyLjQ2LDJjMC4yNCwwLDAuNDktMC4wMywwLjc1LTAuMTEKCQlDMTMuMDUsNy42NSwxMy42OSw3LDEzLjksNi4yQzE0LjM2LDQuNTIsMTMuMTEsMywxMS41LDNjLTEuMjEsMC0yLjIyLDAuODYtMi40NSwySDQuNzFMMiwyLjI5VjJoMTN2NS41QzE1LDcuNzc2LDE1LjIyNCw4LDE1LjUsOAoJCVMxNiw3Ljc3NiwxNiw3LjVWMkMxNiwxLjQ1LDE1LjU1LDEsMTUsMXogTTExLjUsNEMxMi4zMyw0LDEzLDQuNjcsMTMsNS41QzEzLDYuMzMsMTIuMzMsNywxMS41LDdTMTAsNi4zMywxMCw1LjUKCQlDMTAsNC42NywxMC42Nyw0LDExLjUsNHoiLz4KPC9nPgo8L3N2Zz4K"});var _pt=xe((v1n,lYo)=>{lYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTkuMjc5LDMuMDE0bDAuNTc1LTAuNTc1YzAuMTk1LTAuMTk1LDAuMTk1LTAuNTEyLDAtMC43MDdjLTAuMTk1LTAuMTk1LTAuNTEyLTAuMTk1LTAuNzA3LDBMNy43MzIsMy4xNDYKCWMtMC4xOTUsMC4xOTUtMC4xOTUsMC41MTIsMCwwLjcwN2wxLjQxNCwxLjQxNGMwLjE5NSwwLjE5NSwwLjUxMiwwLjE5NSwwLjcwNywwYzAuMTk1LTAuMTk1LDAuMTk1LTAuNTEyLDAtMC43MDdMOS4zMDksNC4wMTYKCUMxMi4xOTgsNC4xNzcsMTQuNSw2LjU3MSwxNC41LDkuNWMwLDIuMjE1LTEuMzE5LDQuMjA0LTMuMzU5LDUuMDY3Yy0wLjI1NCwwLjEwOC0wLjM3MywwLjQwMS0wLjI2NiwwLjY1NgoJYzAuMDgxLDAuMTksMC4yNjYsMC4zMDUsMC40NiwwLjMwNWMwLjA2NSwwLDAuMTMxLTAuMDEzLDAuMTk1LTAuMDM5YzIuNDEyLTEuMDIxLDMuOTctMy4zNzIsMy45Ny01Ljk4OQoJQzE1LjUsNi4wMSwxMi43MzMsMy4xNjIsOS4yNzksMy4wMTR6Ii8+CjxjaXJjbGUgY3g9IjkuNSIgY3k9IjkuNSIgcj0iMS41Ii8+CjxwYXRoIGQ9Ik01LjQ5NCwwLjA0M2MtMC4xOTMsMC0wLjM4NiwwLjEwNi0wLjQ2NiwwLjMzNkwwLjA2LDE0LjYzQy0wLjE3MywxNS4yOTcsMC4zMDQsMTYsMC45ODgsMTZoNC4wMjQKCUM1LjU1OCwxNiw2LDE1LjU0Miw2LDE0Ljk3N1YwLjU0M0M2LDAuMjI0LDUuNzQ3LDAuMDQzLDUuNDk0LDAuMDQzeiBNMS4wMDQsMTQuOTU5bDMuOTk5LTExLjQ3TDUuMDEzLDE1TDEuMDA0LDE0Ljk1OXoiLz4KPC9zdmc+Cg=="});var OAe=xe((D1n,cYo)=>{cYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTEzLDh2N0g5VjhIMTMgTTEzLDdIOUM4LjQ0OCw3LDgsNy40NDgsOCw4djdjMCwwLjU1MiwwLjQ0OCwxLDEsMWg0YzAuNTUyLDAsMS0wLjQ0OCwxLTFWOEMxNCw3LjQ0OCwxMy41NTIsNywxMyw3TDEzLDd6IgoJCS8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNOC41LDloLTJDNi4yMjQsOSw2LDkuMjI0LDYsOS41UzYuMjI0LDEwLDYuNSwxMGgyQzguNzc2LDEwLDksOS43NzYsOSw5LjVTOC43NzYsOSw4LjUsOUw4LjUsOXoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik04LjUsMTFoLTJDNi4yMjQsMTEsNiwxMS4yMjQsNiwxMS41UzYuMjI0LDEyLDYuNSwxMmgyQzguNzc2LDEyLDksMTEuNzc2LDksMTEuNVM4Ljc3NiwxMSw4LjUsMTFMOC41LDExeiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTguNSwxM2gtMkM2LjIyNCwxMyw2LDEzLjIyNCw2LDEzLjVTNi4yMjQsMTQsNi41LDE0aDJDOC43NzYsMTQsOSwxMy43NzYsOSwxMy41UzguNzc2LDEzLDguNSwxM0w4LjUsMTN6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNMTUuNSw5aC0yQzEzLjIyNCw5LDEzLDkuMjI0LDEzLDkuNXMwLjIyNCwwLjUsMC41LDAuNWgyYzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjVTMTUuNzc2LDksMTUuNSw5TDE1LjUsOXoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xNS41LDExaC0yYy0wLjI3NiwwLTAuNSwwLjIyNC0wLjUsMC41czAuMjI0LDAuNSwwLjUsMC41aDJjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNVMxNS43NzYsMTEsMTUuNSwxMUwxNS41LDExeiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTE1LjUsMTNoLTJjLTAuMjc2LDAtMC41LDAuMjI0LTAuNSwwLjVzMC4yMjQsMC41LDAuNSwwLjVoMmMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41UzE1Ljc3NiwxMywxNS41LDEzTDE1LjUsMTN6Ii8+CjwvZz4KPHBhdGggZD0iTTQuNSwxNUgzdi00aDEuNUM0Ljc4LDExLDUsMTAuNzgsNSwxMC41QzUsMTAuMjIsNC43OCwxMCw0LjUsMTBoLTRDMC4yMiwxMCwwLDEwLjIyLDAsMTAuNUMwLDEwLjc4LDAuMjIsMTEsMC41LDExSDJ2NAoJYzAsMC41NSwwLjQ1LDEsMSwxaDEuNUM0Ljc3NiwxNiw1LDE1Ljc3Niw1LDE1LjVDNSwxNS4yMjQsNC43NzYsMTUsNC41LDE1eiIvPgo8cGF0aCBkPSJNMTQsNGgtMVYyYzAtMC41NS0wLjQ1LTEtMS0xSDNDMi40NSwxLDIsMS40NSwyLDJ2NEgwLjVDMC4yMiw2LDAsNi4yMiwwLDYuNUMwLDYuNzgsMC4yMiw3LDAuNSw3aDRDNC43OCw3LDUsNi43OCw1LDYuNQoJQzUsNi4yMiw0Ljc4LDYsNC41LDZIM1YyaDl2MmgtMWMtMC41NSwwLTEsMC40NS0xLDF2MC41QzEwLDUuNzc2LDEwLjIyNCw2LDEwLjUsNlMxMSw1Ljc3NiwxMSw1LjVWNWgzdjAuNQoJQzE0LDUuNzc2LDE0LjIyNCw2LDE0LjUsNlMxNSw1Ljc3NiwxNSw1LjVWNUMxNSw0LjQ1LDE0LjU1LDQsMTQsNHoiLz4KPC9zdmc+Cg=="});var jpt=xe((E1n,dYo)=>{dYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik0xNiwzLjVDMTYsMy43OCwxNS43OCw0LDE1LjUsNEgxM3YwLjVDMTMsNC43NzYsMTIuNzc2LDUsMTIuNSw1aDBDMTIuMjI0LDUsMTIsNC43NzYsMTIsNC41VjJINHYxMmgwLjUKCUM0Ljc3NiwxNCw1LDE0LjIyNCw1LDE0LjV2MEM1LDE0Ljc3Niw0Ljc3NiwxNSw0LjUsMTVINGMtMC41NSwwLTEtMC40NS0xLTF2LTFIMC41QzAuMjIsMTMsMCwxMi43OCwwLDEyLjVDMCwxMi4yMiwwLjIyLDEyLDAuNSwxMgoJSDN2LTJIMC41QzAuMjIsMTAsMCw5Ljc4LDAsOS41QzAsOS4yMiwwLjIyLDksMC41LDlIM1Y3SDAuNUMwLjIyLDcsMCw2Ljc4LDAsNi41QzAsNi4yMiwwLjIyLDYsMC41LDZIM1Y0SDAuNUMwLjIyLDQsMCwzLjc4LDAsMy41CglDMCwzLjIyLDAuMjIsMywwLjUsM0gzVjJjMC0wLjU1LDAuNDUtMSwxLTFoOGMwLjU1LDAsMSwwLjQ1LDEsMXYxaDIuNUMxNS43OCwzLDE2LDMuMjIsMTYsMy41eiIvPgo8cGF0aCBkPSJNOSw5LjVDOSw5Ljc4LDguNzgsMTAsOC41LDEwaC0yQzYuMjIsMTAsNiw5Ljc4LDYsOS41QzYsOS4yMiw2LjIyLDksNi41LDloMkM4Ljc4LDksOSw5LjIyLDksOS41eiIvPgo8cGF0aCBkPSJNOSwxMS41QzksMTEuNzgsOC43OCwxMiw4LjUsMTJoLTJDNi4yMiwxMiw2LDExLjc4LDYsMTEuNUM2LDExLjIyLDYuMjIsMTEsNi41LDExaDJDOC43OCwxMSw5LDExLjIyLDksMTEuNXoiLz4KPHBhdGggZD0iTTEzLDE0SDh2LTNIN3YzYzAsMC41NSwwLjQ1LDEsMSwxaDVjMC41NSwwLDEtMC40NSwxLTF2LTEuOGgtMVYxNHogTTEzLDZIOEM3LjQ1LDYsNyw2LjQ1LDcsN3YzaDFWN2g1djEuOGgxVjcKCUMxNCw2LjQ1LDEzLjU1LDYsMTMsNnoiLz4KPHBhdGggZD0iTTE0LjUsNy44aC0yYy0wLjI4LDAtMC41LDAuMjItMC41LDAuNXY0LjRjMCwwLjI4LDAuMjIsMC41LDAuNSwwLjVoMmMwLjI4LDAsMC41LTAuMjIsMC41LTAuNVY4LjMKCUMxNSw4LjAyLDE0Ljc4LDcuOCwxNC41LDcuOHogTTE0LDEyLjJoLTFWOC44aDFWMTIuMnoiLz4KPC9zdmc+Cg=="});var uqt=xe((A1n,uYo)=>{uYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik0xNSw0VjNjMC0wLjU1Mi0wLjQ0OC0xLTEtMUg2LjdMNS45OTMsMS4yOTNDNS44MDUsMS4xMDUsNS41NTEsMSw1LjI4NiwxSDQuM0gyQzEuNDUsMSwxLDEuNDUsMSwydjEzYzAsMC41NSwwLjQ1LDEsMSwxaDEzCgljMC41NSwwLDEtMC40NSwxLTFWNUMxNiw0LjQ0OCwxNS41NTIsNCwxNSw0eiBNMTQuMDEsMi45OVY0SDguN0w3LjY5LDIuOTlIMTQuMDF6IE0xNSwxNUgyVjJoMy4zbDAuOTksMC45OWwxLjA5LDEuMDlsMC42MTcsMC42MTcKCUM4LjE4NSw0Ljg4NSw4LjQzOSw0Ljk5LDguNzA0LDQuOTlIOS42OWg0LjMySDE1VjE1eiIvPgo8Zz4KCTxwYXRoIGQ9Ik01LDYuM2MwLjY2MiwwLDEuMiwwLjUzOCwxLjIsMS4yUzUuNjYyLDguNyw1LDguN1MzLjgsOC4xNjIsMy44LDcuNVM0LjMzOCw2LjMsNSw2LjMgTTUsNS41Yy0xLjEwNSwwLTIsMC44OTUtMiwyCgkJczAuODk1LDIsMiwyczItMC44OTUsMi0yUzYuMTA1LDUuNSw1LDUuNUw1LDUuNXoiLz4KPC9nPgo8cGF0aCBkPSJNOC41LDhIN0M2LjcyNCw4LDYuNSw3Ljc3Niw2LjUsNy41djBDNi41LDcuMjI0LDYuNzI0LDcsNyw3aDEuNUM4Ljc3Niw3LDksNy4yMjQsOSw3LjV2MEM5LDcuNzc2LDguNzc2LDgsOC41LDh6Ii8+CjxnPgoJPHBhdGggZD0iTTEyLDEwLjNjMC42NjIsMCwxLjIsMC41MzgsMS4yLDEuMnMtMC41MzgsMS4yLTEuMiwxLjJzLTEuMi0wLjUzOC0xLjItMS4yUzExLjMzOCwxMC4zLDEyLDEwLjMgTTEyLDkuNQoJCWMtMS4xMDUsMC0yLDAuODk1LTIsMnMwLjg5NSwyLDIsMnMyLTAuODk1LDItMlMxMy4xMDUsOS41LDEyLDkuNUwxMiw5LjV6Ii8+CjwvZz4KPHBhdGggZD0iTTguNSwxMUgxMGMwLjI3NiwwLDAuNSwwLjIyNCwwLjUsMC41djBjMCwwLjI3Ni0wLjIyNCwwLjUtMC41LDAuNUg4LjVDOC4yMjQsMTIsOCwxMS43NzYsOCwxMS41djAKCUM4LDExLjIyNCw4LjIyNCwxMSw4LjUsMTF6Ii8+CjxwYXRoIGQ9Ik05LDcuNXY0QzksMTEuNzc2LDguNzc2LDEyLDguNSwxMmgwQzguMjI0LDEyLDgsMTEuNzc2LDgsMTEuNXYtNEM4LDcuMjI0LDguMjI0LDcsOC41LDdoMEM4Ljc3Niw3LDksNy4yMjQsOSw3LjV6Ii8+Cjwvc3ZnPgo="});var RAe=xe((N1n,pYo)=>{pYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMThweCIgaGVpZ2h0PSIxOHB4IiB2aWV3Qm94PSIwIDAgMTggMTgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE4IDE4OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHJlY3QgeT0iMCIgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTQuMzksOC41M0w0LjUyLDguNWMwLjI3LTAuMDUsMC40NS0wLjMxLDAuNC0wLjU4QzQuODgsNy43Myw0Ljc0LDcuNTgsNC41NSw3LjUzYy0wLjgtMC4zMS0xLjMyLTEuMDUtMS4zNC0xLjg5CgkJQzMuMzMsNC42OSw0LDMuOTMsNC45LDMuNjljMC4xNi0wLjQyLDAuMzgtMC44LDAuNjYtMS4xM2MwLjAxLTAuMDIsMC4wMi0wLjAzLDAuMDMtMC4wNEg1LjUyYy0xLjc0LDAtMy4yLDEuMzctMy4yOCwzLjEyCgkJYzAuMDEsMC43OSwwLjMyLDEuNTMsMC44OCwyLjA4bDAuMTMsMC4xM0wzLjA5LDcuOTNjLTEuNzcsMC43OS0yLjkzLDIuNTUtMi45Nyw0LjQ5djFjMC4wMiwwLjMsMC4yNywwLjU0LDAuNTgsMC41MmgxLjE1CgkJYzAtMC4zLDAuMDQtMC42LDAuMS0wLjlIMS4wOXYtMC42M0MxLjE1LDEwLjQ5LDIuNSw4Ljg5LDQuMzksOC41M3oiLz4KCTxwYXRoIGQ9Ik0xMS4zMSw4LjI3bC0wLjItMC4wOGwwLjE3LTAuMTNjMC4yNC0wLjE5LDAuNDYtMC40LDAuNjQtMC42NGMwLjYyLTAuNzksMC44OS0xLjc3LDAuNzctMi43NnMtMC42Mi0xLjg3LTEuNDEtMi40OAoJCUMxMC42LDEuNjQsOS44LDEuMzksOSwxLjM5UzcuNCwxLjY0LDYuNzIsMi4xOEM1LjkzLDIuNzksNS40MywzLjY3LDUuMzEsNC42NnMwLjE1LDEuOTcsMC43NywyLjc2YzAuMTgsMC4yNCwwLjQsMC40NSwwLjY0LDAuNjQKCQlsMC4xNywwLjEzbC0wLjIsMC4wOGMtMi40MiwwLjk4LTMuOTgsMy4zLTMuOTcsNS45MXYxLjI5YzAsMC4yOSwwLjIzLDAuNTMsMC41MSwwLjUzSDloNS43N2MwLjI4LDAsMC41MS0wLjI0LDAuNTEtMC41M3YtMS4yOQoJCUMxNS4yOSwxMS41NywxMy43Myw5LjI1LDExLjMxLDguMjd6IE02LjM0LDUuMDljMC0wLjcxLDAuMjktMS4zOSwwLjgtMS44OUM3LjY0LDIuNzEsOC4zLDIuNDQsOSwyLjQzCgkJYzAuNywwLjAxLDEuMzYsMC4yOCwxLjg2LDAuNzdjMC41MSwwLjUsMC44LDEuMTgsMC44LDEuODljMC4wMSwxLjQ3LTEuMTksMi42OS0yLjY2LDIuN0M3LjUzLDcuNzgsNi4zMyw2LjU2LDYuMzQsNS4wOXoKCQkgTTE0LjEyLDE0LjkzSDlIMy44OHYtMC43NmMwLTIuODIsMi4yOS01LjEzLDUuMTItNS4xNGMyLjgzLDAuMDEsNS4xMiwyLjMyLDUuMTIsNS4xNFYxNC45M3oiLz4KCTxwYXRoIGQ9Ik0xNC45MSw3LjkzbC0wLjE2LTAuMDhsMC4xMy0wLjEzYzAuNTYtMC41NSwwLjg3LTEuMjksMC44OC0yLjA4Yy0wLjA4LTEuNzUtMS41NC0zLjEyLTMuMjgtMy4xMmgtMC4wNwoJCWMwLjAxLDAuMDEsMC4wMiwwLjAyLDAuMDMsMC4wNGMwLjI4LDAuMzMsMC41LDAuNzEsMC42NiwxLjEzYzAuOSwwLjI0LDEuNTcsMSwxLjY5LDEuOTVjLTAuMDIsMC44NC0wLjU0LDEuNTgtMS4zNCwxLjg5CgkJYy0wLjE5LDAuMDUtMC4zMywwLjItMC4zNywwLjM5Yy0wLjA1LDAuMjcsMC4xMywwLjUzLDAuNCwwLjU4bDAuMTMsMC4wM2MxLjg5LDAuMzYsMy4yNCwxLjk2LDMuMywzLjg4djAuNjNoLTAuODYKCQljMC4wNiwwLjMsMC4xLDAuNiwwLjEsMC45aDEuMTVjMC4zMSwwLjAyLDAuNTYtMC4yMiwwLjU4LTAuNTJ2LTFDMTcuODQsMTAuNDgsMTYuNjgsOC43MiwxNC45MSw3LjkzeiIvPgo8L2c+Cjwvc3ZnPgo="});var _Ae=xe((k1n,mYo)=>{mYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTEwLjMxLDguMjdsLTAuMi0wLjA4bDAuMTctMC4xM2MwLjI0LTAuMTksMC40Ni0wLjQsMC42NC0wLjY0YzAuNjItMC43OSwwLjg5LTEuNzcsMC43Ny0yLjc2cy0wLjYyLTEuODctMS40MS0yLjQ4CglDOS42LDEuNjQsOC44LDEuMzksOCwxLjM5UzYuNCwxLjY0LDUuNzIsMi4xOEM0LjkzLDIuNzksNC40MywzLjY3LDQuMzEsNC42NnMwLjE1LDEuOTcsMC43NywyLjc2YzAuMTgsMC4yNCwwLjQsMC40NSwwLjY0LDAuNjQKCWwwLjE3LDAuMTNsLTAuMiwwLjA4Yy0yLjQyLDAuOTgtMy45OCwzLjMtMy45Nyw1LjkxdjAuMjljMCwwLjI5LDAuMjMsMC41MywwLjUxLDAuNTNIOGg1Ljc3YzAuMjgsMCwwLjUxLTAuMjQsMC41MS0wLjUzdi0wLjI5CglDMTQuMjksMTEuNTcsMTIuNzMsOS4yNSwxMC4zMSw4LjI3eiBNNS4zNCw1LjA5YzAtMC43MSwwLjI5LTEuMzksMC44LTEuODlDNi42NCwyLjcxLDcuMywyLjQ0LDgsMi40M0M4LjcsMi40NCw5LjM2LDIuNzEsOS44NiwzLjIKCWMwLjUxLDAuNSwwLjgsMS4xOCwwLjgsMS44OUMxMC42Nyw2LjU2LDkuNDcsNy43OCw4LDcuNzlDNi41Myw3Ljc4LDUuMzMsNi41Niw1LjM0LDUuMDl6IE0xMy4xMiwxMy45M0g4SDIuODh2MC4yNAoJYzAtMi44MiwyLjI5LTUuMTMsNS4xMi01LjE0YzIuODMsMC4wMSw1LjEyLDIuMzIsNS4xMiw1LjE0VjEzLjkzeiIvPgo8L3N2Zz4K"});var w3e=xe((P1n,hYo)=>{hYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik01Ljk2LDExVjJoLTF2OS4xNUwyLDEzLjM3bC0wLjk5LDAuNzVjMC4wNCwwLjM2LDAuMjgsMC42NiwwLjYsMC44TDIuODMsMTRsMi42Ny0ySDE1di0xSDUuOTZ6Ii8+Cjxwb2x5Z29uIHN0eWxlPSJmaWxsOiM3N0JFREM7IiBwb2ludHM9IjUsMiAyLDQgMTIsNCAxNSwyICIvPgo8cGF0aCBkPSJNNi42NywxSDUuMzMzYy0wLjIxNiwwLTAuNDI3LDAuMDctMC42LDAuMkwxLjQsMy43QzEuMTQ4LDMuODg5LDEsNC4xODUsMSw0LjVWMTRjMCwwLjU1MiwwLjQ0OCwxLDEsMWg4LjMzaDEuMzM3CgljMC4yMTYsMCwwLjQyNy0wLjA3LDAuNi0wLjJsMy4zMzMtMi41YzAuMjUyLTAuMTg5LDAuNC0wLjQ4NSwwLjQtMC44VjJjMC0wLjU1Mi0wLjQ0OC0xLTEtMUg2LjY3eiBNNSwyLjI1TDUuMzM0LDJoOC43MzZMMTEuNCw0CglIMi42N0w1LDIuMjV6IE0yLDE0VjVoOC4wN0gxMXYwLjU1VjE0SDJ6IE0xMiwxMy43NVY0LjhsMy0yLjI1djguOTQ5TDE0LjMzLDEyTDEyLDEzLjc1eiIvPgo8L3N2Zz4K"});var C3e=xe((O1n,fYo)=>{fYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIHN0eWxlPSJmaWxsOiM3N0JFREM7IiBkPSJNMTUuNDMsMTFINS41NzNjLTAuMjE2LDAtMC40MjcsMC4wNy0wLjYsMC4yTDEuMjQsMTRoMTFsMy4zNTItMi41MTRDMTUuOCwxMS4zMywxNS42OSwxMSwxNS40MywxMXoiCgkvPgo8cGF0aCBkPSJNNi42NywxSDUuMzMzYy0wLjIxNiwwLTAuNDI3LDAuMDctMC42LDAuMkwxLjQsMy43QzEuMTQ4LDMuODg5LDEsNC4xODUsMSw0LjVWMTRjMCwwLjU1MiwwLjQ0OCwxLDEsMWg4LjMzaDEuMzM3CgljMC4yMTYsMCwwLjQyNy0wLjA3LDAuNi0wLjJsMy4zMzMtMi41YzAuMjUyLTAuMTg5LDAuNC0wLjQ4NSwwLjQtMC44VjJjMC0wLjU1Mi0wLjQ0OC0xLTEtMUg2LjY3eiBNNSwyLjI1TDUuMzM0LDJoOC43MzZMMTEuNCw0CglIMi42N0w1LDIuMjV6IE0yLDE0VjVoOC4wN0gxMXYwLjU1VjE0SDJ6IE0xMiwxMy43NVY0LjhsMy0yLjI1djguOTQ5TDE0LjMzLDEyTDEyLDEzLjc1eiIvPgo8cGF0aCBkPSJNNS45NiwxMVYyaC0xdjkuMTVMMiwxMy4zN2wtMC45OSwwLjc1YzAuMDQsMC4zNiwwLjI4LDAuNjYsMC42LDAuOEwyLjgzLDE0bDIuNjctMkgxNXYtMUg1Ljk2eiIvPgo8L3N2Zz4K"});var x3e=xe((R1n,gYo)=>{gYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik01Ljk2LDExVjJoLTF2OS4xNUwyLDEzLjM3bC0wLjk5LDAuNzVjMC4wNCwwLjM2LDAuMjgsMC42NiwwLjYsMC44TDIuODMsMTRsMi42Ny0ySDE1di0xSDUuOTZ6Ii8+Cjxwb2x5Z29uIHN0eWxlPSJmaWxsOiM3N0JFREM7IiBwb2ludHM9IjE1LDIgMTIsNCAxMiwxNCAxNS4wMzUsMTIgIi8+CjxwYXRoIGQ9Ik02LjY3LDFINS4zMzNjLTAuMjE2LDAtMC40MjcsMC4wNy0wLjYsMC4yTDEuNCwzLjdDMS4xNDgsMy44ODksMSw0LjE4NSwxLDQuNVYxNGMwLDAuNTUyLDAuNDQ4LDEsMSwxaDguMzNoMS4zMzcKCWMwLjIxNiwwLDAuNDI3LTAuMDcsMC42LTAuMmwzLjMzMy0yLjVjMC4yNTItMC4xODksMC40LTAuNDg1LDAuNC0wLjhWMmMwLTAuNTUyLTAuNDQ4LTEtMS0xSDYuNjd6IE01LDIuMjVMNS4zMzQsMmg4LjczNkwxMS40LDQKCUgyLjY3TDUsMi4yNXogTTIsMTRWNWg4LjA3SDExdjAuNTVWMTRIMnogTTEyLDEzLjc1VjQuOGwzLTIuMjV2OC45NDlMMTQuMzMsMTJMMTIsMTMuNzV6Ii8+Cjwvc3ZnPgo="});var T3e=xe((_1n,bYo)=>{bYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIHN0eWxlPSJmaWxsOiM3N0JFREM7IiBkPSJNMi44OTYsMTMuOTk4TDUuNiwxMS45N2MwLjI1Mi0wLjE4OSwwLjQtMC40ODUsMC40LTAuOFYxTDIsNHYxMGgwLjg5N0wyLjg5NiwxMy45OTh6Ii8+CjxwYXRoIGQ9Ik02LjY3LDFINS4zMzNjLTAuMjE2LDAtMC40MjcsMC4wNy0wLjYsMC4yTDEuNCwzLjdDMS4xNDgsMy44ODksMSw0LjE4NSwxLDQuNVYxNGMwLDAuNTUyLDAuNDQ4LDEsMSwxaDguMzNoMS4zMzcKCWMwLjIxNiwwLDAuNDI3LTAuMDcsMC42LTAuMmwzLjMzMy0yLjVjMC4yNTItMC4xODksMC40LTAuNDg1LDAuNC0wLjhWMmMwLTAuNTUyLTAuNDQ4LTEtMS0xSDYuNjd6IE01LDIuMjVMNS4zMzQsMmg4LjczNkwxMS40LDQKCUgyLjY3TDUsMi4yNXogTTIsMTRWNWg4LjA3SDExdjAuNTVWMTRIMnogTTEyLDEzLjc1VjQuOGwzLTIuMjV2OC45NDlMMTQuMzMsMTJMMTIsMTMuNzV6Ii8+CjxwYXRoIGQ9Ik01Ljk2LDExVjJoLTF2OS4xNUwyLDEzLjM3bC0wLjk5LDAuNzVjMC4wNCwwLjM2LDAuMjgsMC42NiwwLjYsMC44TDIuODMsMTRsMi42Ny0ySDE1di0xSDUuOTZ6Ii8+Cjwvc3ZnPgo="});var S3e=xe((j1n,yYo)=>{yYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik0xNSwxSDUuMzNjLTAuMjEsMC0wLjQyLDAuMDctMC42LDAuMkwxLjQsMy43QzEuMTUsMy44OSwxLDQuMTksMSw0LjVWMTRjMCwwLjA0LDAsMC4wOCwwLjAxLDAuMTIKCWMwLjA0LDAuMzYsMC4yOCwwLjY2LDAuNiwwLjhDMS43MywxNC45NywxLjg2LDE1LDIsMTVoOS42N2MwLjIxLDAsMC40Mi0wLjA3LDAuNi0wLjJsMy4zMy0yLjVjMC4yNS0wLjE5LDAuNC0wLjQ5LDAuNC0wLjhWMgoJQzE2LDEuNDUsMTUuNTUsMSwxNSwxeiBNNC45NiwyLjI4TDUsMi4yNUw1LjMzLDJoOC43NEwxMS40LDRIMi42N0w0Ljk2LDIuMjh6IE0xMSwxNEgyVjVoOVYxNHogTTE1LDExLjVMMTQuMzMsMTJMMTIsMTMuNzVWNC44CglsMy0yLjI1VjExLjV6Ii8+CjxwYXRoIGQ9Ik01Ljk2LDExVjJoLTF2OS4xNUwyLDEzLjM3bC0wLjk5LDAuNzVjMC4wNCwwLjM2LDAuMjgsMC42NiwwLjYsMC44TDIuODMsMTRsMi42Ny0ySDE1di0xSDUuOTZ6Ii8+CjxyZWN0IHg9IjIiIHk9IjUiIHN0eWxlPSJmaWxsOiM3N0JFREM7IiB3aWR0aD0iOSIgaGVpZ2h0PSI5Ii8+Cjwvc3ZnPgo="});var M3e=xe((B1n,wYo)=>{wYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHg9IjUiIHk9IjIiIHN0eWxlPSJmaWxsOiM3N0JFREM7IiB3aWR0aD0iMTAiIGhlaWdodD0iMTAiLz4KPHBhdGggZD0iTTE1LDFINS4zM2MtMC4yMSwwLTAuNDIsMC4wNy0wLjYsMC4yTDEuNCwzLjdDMS4xNSwzLjg5LDEsNC4xOSwxLDQuNVYxNGMwLDAuMDQsMCwwLjA4LDAuMDEsMC4xMgoJYzAuMDQsMC4zNiwwLjI4LDAuNjYsMC42LDAuOEMxLjczLDE0Ljk3LDEuODYsMTUsMiwxNWg5LjY3YzAuMjEsMCwwLjQyLTAuMDcsMC42LTAuMmwzLjMzLTIuNWMwLjI1LTAuMTksMC40LTAuNDksMC40LTAuOFYyCglDMTYsMS40NSwxNS41NSwxLDE1LDF6IE00Ljk2LDIuMjhMNSwyLjI1TDUuMzMsMmg4Ljc0TDExLjQsNEgyLjY3TDQuOTYsMi4yOHogTTExLDE0SDJWNWg5VjE0eiBNMTUsMTEuNUwxNC4zMywxMkwxMiwxMy43NVY0LjgKCWwzLTIuMjVWMTEuNXoiLz4KPHBhdGggZD0iTTUuOTYsMTFWMmgtMXY5LjE1TDIsMTMuMzdsLTAuOTksMC43NWMwLjA0LDAuMzYsMC4yOCwwLjY2LDAuNiwwLjhMMi44MywxNGwyLjY3LTJIMTV2LTFINS45NnoiLz4KPC9zdmc+Cg=="});var Bpt=xe((z1n,CYo)=>{CYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMTUuNjIsMi45NEw4LjM3LDAuMDdDOC4yNSwwLjAzLDguMTIsMCw4LDBTNy43NSwwLjAzLDcuNjMsMC4wN0wwLjM4LDIuOTRjLTAuNTEsMC4yLTAuNTEsMC45MiwwLDEuMTJsNC4yNywxLjY5CgkJbDEuMzYsMC41NGwxLjYyLDAuNjRDNy43NSw2Ljk3LDcuODgsNyw4LDdzMC4yNS0wLjAzLDAuMzctMC4wN2wxLjYyLTAuNjRsMS4zNi0wLjU0bDQuMjctMS42OUMxNi4xMywzLjg2LDE2LjEzLDMuMTQsMTUuNjIsMi45NHoiCgkJLz4KCTxwYXRoIGQ9Ik0xNS42Miw3LjQ2bC0yLjY4NS0xLjA2NmMtMC4xMTktMC4wNDctMC4yNTItMC4wNDctMC4zNzEsMGwwLDBjLTAuNDIyLDAuMTY4LTAuNDIyLDAuNzY1LDAsMC45MzJMMTQuMzEsOC4wMkw4LDEwLjUxOAoJCUwxLjY5LDguMDJsMS43NDUtMC42OTNjMC40MjItMC4xNjgsMC40MjItMC43NjUsMC0wLjkzMmwwLDBjLTAuMTE5LTAuMDQ3LTAuMjUyLTAuMDQ3LTAuMzcxLDBMMC4zOCw3LjQ2CgkJYy0wLjUxLDAuMi0wLjUxLDAuOTE5LDAsMS4xMTlsNy4yNSwyLjg2OGMwLjEyLDAuMDQsMC4yNSwwLjA3LDAuMzcsMC4wN2MwLjEyLDAsMC4yNS0wLjAzLDAuMzctMC4wN2w3LjI1LTIuODY4CgkJQzE2LjEzLDguMzc5LDE2LjEzLDcuNjYsMTUuNjIsNy40NnoiLz4KCTxwYXRoIGQ9Ik0xNS42MiwxMS45NDNsLTIuNjg1LTEuMDY2Yy0wLjExOS0wLjA0Ny0wLjI1Mi0wLjA0Ny0wLjM3MSwwaDBjLTAuNDIyLDAuMTY4LTAuNDIyLDAuNzY1LDAsMC45MzJsMS43NDUsMC42OTNMOCwxNS4wMDEKCQlsLTYuMzEtMi40OThsMS43NDUtMC42OTNjMC40MjItMC4xNjgsMC40MjItMC43NjUsMC0wLjkzMmgwYy0wLjExOS0wLjA0Ny0wLjI1Mi0wLjA0Ny0wLjM3MSwwTDAuMzgsMTEuOTQzCgkJYy0wLjUxLDAuMi0wLjUxLDAuOTE5LDAsMS4xMTlsNy4yNSwyLjg2OEM3Ljc1LDE1Ljk3LDcuODgsMTYsOCwxNmMwLjEyLDAsMC4yNS0wLjAzLDAuMzctMC4wN2w3LjI1LTIuODY4CgkJQzE2LjEzLDEyLjg2MiwxNi4xMywxMi4xNDMsMTUuNjIsMTEuOTQzeiIvPgo8L2c+Cjwvc3ZnPgo="});var Xce=xe((F1n,xYo)=>{xYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMi43MDcsMkg0LjVDNC43NzYsMiw1LDEuNzc2LDUsMS41QzUsMS4yMjQsNC43NzYsMSw0LjUsMWgtM0MxLjQzNSwxLDEuMzcsMS4wMTMsMS4zMDksMS4wMzkKCQlDMS4yNDksMS4wNjMsMS4xOTYsMS4wOTksMS4xNSwxLjE0NEMxLjE0OSwxLjE0NSwxLjE0OCwxLjE0NSwxLjE0NiwxLjE0NkMxLjE0NSwxLjE0OCwxLjE0NCwxLjE1MSwxLjE0MywxLjE1MgoJCUMxLjA5OSwxLjE5NywxLjA2MywxLjI1LDEuMDM5LDEuMzA5QzEuMDEzLDEuMzcsMSwxLjQzNSwxLDEuNXYzQzEsNC43NzYsMS4yMjQsNSwxLjUsNVMyLDQuNzc2LDIsNC41VjIuNzA3bDIuNjgyLDIuNjgyCgkJYzAuMTk1LDAuMTk1LDAuNTEyLDAuMTk1LDAuNzA3LDBjMC4xOTUtMC4xOTUsMC4xOTUtMC41MTIsMC0wLjcwN0wyLjcwNywyeiIvPgoJPHBhdGggZD0iTTE1Ljk2MSwxLjMwOWMtMC4wNTEtMC4xMjItMC4xNDgtMC4yMi0wLjI3LTAuMjdDMTUuNjMsMS4wMTMsMTUuNTY1LDEsMTUuNSwxaC0zQzEyLjIyNCwxLDEyLDEuMjI0LDEyLDEuNQoJCUMxMiwxLjc3NiwxMi4yMjQsMiwxMi41LDJoMS43OTNsLTIuNjgyLDIuNjgyYy0wLjE5NSwwLjE5NS0wLjE5NSwwLjUxMiwwLDAuNzA3YzAuMTk1LDAuMTk1LDAuNTEyLDAuMTk1LDAuNzA3LDBMMTUsMi43MDdWNC41CgkJQzE1LDQuNzc2LDE1LjIyNCw1LDE1LjUsNVMxNiw0Ljc3NiwxNiw0LjV2LTNDMTYsMS40MzUsMTUuOTg3LDEuMzcsMTUuOTYxLDEuMzA5eiIvPgoJPHBhdGggZD0iTTE1LjUsMTJjLTAuMjc2LDAtMC41LDAuMjI0LTAuNSwwLjV2MS43OTNsLTIuNjgyLTIuNjgyYy0wLjE5NS0wLjE5NS0wLjUxMi0wLjE5NS0wLjcwNywwCgkJYy0wLjE5NSwwLjE5NS0wLjE5NSwwLjUxMiwwLDAuNzA3TDE0LjI5MywxNUgxMi41Yy0wLjI3NiwwLTAuNSwwLjIyNC0wLjUsMC41YzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVoMwoJCWMwLjA2NSwwLDAuMTMtMC4wMTMsMC4xOTEtMC4wMzljMC4xMjItMC4wNTEsMC4yMTktMC4xNDgsMC4yNy0wLjI3QzE1Ljk4NiwxNS42MywxNiwxNS41NjYsMTYsMTUuNTAyYzAtMC4wMDEsMC0wLjAwMSwwLTAuMDAydi0zCgkJQzE2LDEyLjIyNCwxNS43NzYsMTIsMTUuNSwxMnoiLz4KCTxwYXRoIGQ9Ik00LjY4MiwxMS42MTFMMiwxNC4yOTNWMTIuNUMyLDEyLjIyNCwxLjc3NiwxMiwxLjUsMTJTMSwxMi4yMjQsMSwxMi41djNjMCwwLjAwMSwwLDAuMDAxLDAsMC4wMDIKCQljMCwwLjA2NSwwLjAxMywwLjEyOSwwLjAzOCwwLjE4OWMwLjAyNCwwLjA1OSwwLjA2LDAuMTEyLDAuMTA0LDAuMTU3YzAuMDAyLDAuMDAyLDAuMDAyLDAuMDA0LDAuMDA0LDAuMDA2CgkJYzAuMDAxLDAuMDAxLDAuMDAzLDAuMDAxLDAuMDA0LDAuMDAzYzAuMDQ1LDAuMDQ0LDAuMDk5LDAuMDgxLDAuMTU4LDAuMTA1QzEuMzcsMTUuOTg3LDEuNDM1LDE2LDEuNSwxNmgzCgkJQzQuNzc2LDE2LDUsMTUuNzc2LDUsMTUuNUM1LDE1LjIyNCw0Ljc3NiwxNSw0LjUsMTVIMi43MDdsMi42ODItMi42ODJjMC4xOTUtMC4xOTUsMC4xOTUtMC41MTIsMC0wLjcwNwoJCUM1LjE5NCwxMS40MTYsNC44NzcsMTEuNDE2LDQuNjgyLDExLjYxMXoiLz4KPC9nPgo8L3N2Zz4K"});var zpt=xe((U1n,TYo)=>{TYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cG9seWdvbiBwb2ludHM9IjMsMTAgOCw1IDEzLDEwIAkiLz4KPC9nPgo8L3N2Zz4K"});var Fpt=xe((V1n,SYo)=>{SYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cG9seWdvbiBwb2ludHM9IjgsMTAgMyw1IDEzLDUgCSIvPgo8L2c+Cjwvc3ZnPgo="});var Upt=xe((H1n,MYo)=>{MYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMTIuNTY1LDFIMTIuNDdIMS41M0gxLjQzNWMtMC40NzQsMC0wLjc1MiwwLjUzMy0wLjQ4LDAuOTIyTDEuMDEsMkw1LDcuN3Y0LjU5NmMwLDAuMjY1LDAuMTA1LDAuNTIsMC4yOTMsMC43MDdMOCwxNS43MXYwCgkJYzAuMTE5LDAuMTE5LDAuMjY2LDAuMTczLDAuNDEsMC4xNzNjMC4zMDEsMCwwLjU5LTAuMjM0LDAuNTktMC41ODdWMTUuMjl2LTEuODh2LTEuNzVWNy43TDEyLjk5LDJsMC4wNTUtMC4wNzgKCQlDMTMuMzE2LDEuNTMzLDEzLjAzOSwxLDEyLjU2NSwxTDEyLjU2NSwxeiBNOCwxNC4yOWwtMi0ydi0wLjMxdi0xLjc1di0xLjFWNy42OTVDNiw3LjQ5LDUuOTM3LDcuMjksNS44Miw3LjEyMkw1LDUuOTVMMi4yMywyaDkuNTQKCQlMOSw1Ljk1TDguMTgsNy4xMjJDOC4wNjMsNy4yOSw4LDcuNDksOCw3LjY5NVY5LjEzdjEuMXYxLjc1VjE0LjI5TDgsMTQuMjl6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNMTQuNSw4aC00QzEwLjIyNCw4LDEwLDguMjI0LDEwLDguNVMxMC4yMjQsOSwxMC41LDloNEMxNC43NzYsOSwxNSw4Ljc3NiwxNSw4LjVTMTQuNzc2LDgsMTQuNSw4TDE0LjUsOHoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xNC41LDExaC00Yy0wLjI3NiwwLTAuNSwwLjIyNC0wLjUsMC41czAuMjI0LDAuNSwwLjUsMC41aDRjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNVMxNC43NzYsMTEsMTQuNSwxMUwxNC41LDExeiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTE0LjUsMTRoLTRjLTAuMjc2LDAtMC41LDAuMjI0LTAuNSwwLjVzMC4yMjQsMC41LDAuNSwwLjVoNGMwLjI3NiwwLDAuNS0wLjIyNCwwLjUtMC41UzE0Ljc3NiwxNCwxNC41LDE0TDE0LjUsMTR6Ii8+CjwvZz4KPC9zdmc+Cg=="});var Vpt=xe((G1n,IYo)=>{IYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+Cjxwb2x5Z29uIHN0eWxlPSJmaWxsOiM3N0JFREM7IiBwb2ludHM9IjE1LDIgMTIsNCAxMiwxNCAxNS4wMzUsMTIgIi8+Cjxwb2x5Z29uIHN0eWxlPSJmaWxsOiM3N0JFREM7IiBwb2ludHM9IjUsMiAyLDQgMTIsNCAxNSwyICIvPgo8cGF0aCBkPSJNMTUsMUg1LjMzYy0wLjIxLDAtMC40MiwwLjA3LTAuNiwwLjJMMS40LDMuN0MxLjE1LDMuODksMSw0LjE5LDEsNC41VjE0YzAsMC4wNCwwLDAuMDgsMC4wMSwwLjEyCgljMC4wNCwwLjM2LDAuMjgsMC42NiwwLjYsMC44QzEuNzMsMTQuOTcsMS44NiwxNSwyLDE1aDkuNjdjMC4yMSwwLDAuNDItMC4wNywwLjYtMC4ybDMuMzMtMi41YzAuMjUtMC4xOSwwLjQtMC40OSwwLjQtMC44VjIKCUMxNiwxLjQ1LDE1LjU1LDEsMTUsMXogTTQuOTYsMi4yOEw1LDIuMjVMNS4zMywyaDguNzRMMTEuNCw0SDIuNjdMNC45NiwyLjI4eiBNMTEsMTRIMlY1aDlWMTR6IE0xNSwxMS41TDE0LjMzLDEyTDEyLDEzLjc1VjQuOAoJbDMtMi4yNVYxMS41eiIvPgo8cmVjdCB4PSIyIiB5PSI1IiBzdHlsZT0iZmlsbDojNzdCRURDOyIgd2lkdGg9IjkiIGhlaWdodD0iOSIvPgo8L3N2Zz4K"});var Hpt=xe((Y1n,LYo)=>{LYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik0xNSwxSDUuMzNjLTAuMjEsMC0wLjQyLDAuMDctMC42LDAuMkwxLjQsMy43QzEuMTUsMy44OSwxLDQuMTksMSw0LjVWMTRjMCwwLjA0LDAsMC4wOCwwLjAxLDAuMTIKCWMwLjA0LDAuMzYsMC4yOCwwLjY2LDAuNiwwLjhDMS43MywxNC45NywxLjg2LDE1LDIsMTVoOS42N2MwLjIxLDAsMC40Mi0wLjA3LDAuNi0wLjJsMy4zMy0yLjVjMC4yNS0wLjE5LDAuNC0wLjQ5LDAuNC0wLjhWMgoJQzE2LDEuNDUsMTUuNTUsMSwxNSwxeiBNNC45NiwyLjI4TDUsMi4yNUw1LjMzLDJoOC43NEwxMS40LDRIMi42N0w0Ljk2LDIuMjh6IE0xMSwxNEgyVjVoOVYxNHogTTE1LDExLjVMMTQuMzMsMTJMMTIsMTMuNzVWNC44CglsMy0yLjI1VjExLjV6Ii8+Cjwvc3ZnPgo="});var Gpt=xe((W1n,vYo)=>{vYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPGxpbmVhckdyYWRpZW50IGlkPSJTVkdJRF8xXyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIxMC42Nzg1IiB5MT0iMTUuMDkzNyIgeDI9IjIuMTYyIiB5Mj0iNS4yNDY0Ij4KCQk8c3RvcCAgb2Zmc2V0PSIwLjMxMDYiIHN0eWxlPSJzdG9wLWNvbG9yOiM4MUM2RTIiLz4KCQk8c3RvcCAgb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojNEI5MEIwIi8+Cgk8L2xpbmVhckdyYWRpZW50PgoJPHBhdGggc3R5bGU9ImZpbGw6dXJsKCNTVkdJRF8xXyk7IiBkPSJNMTEsNXYxMEgyYy0wLjE0LDAtMC4yNy0wLjAzLTAuMzktMC4wOGMtMC4zMi0wLjE0LTAuNTYtMC40NC0wLjYtMC44QzEsMTQuMDgsMSwxNC4wNCwxLDE0CgkJVjVIMTF6Ii8+Cgk8bGluZWFyR3JhZGllbnQgaWQ9IlNWR0lEXzJfIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjkuMzI3NSIgeTE9IjUuMDcyNiIgeDI9IjYuOTE3MyIgeTI9Ii0wLjQ1NzUiPgoJCTxzdG9wICBvZmZzZXQ9IjAuMjAyMSIgc3R5bGU9InN0b3AtY29sb3I6IzlCRDJFQSIvPgoJCTxzdG9wICBvZmZzZXQ9IjAuNzI0OSIgc3R5bGU9InN0b3AtY29sb3I6IzczQzNFMSIvPgoJPC9saW5lYXJHcmFkaWVudD4KCTxwYXRoIHN0eWxlPSJmaWxsOnVybCgjU1ZHSURfMl8pOyIgZD0iTTE1LjI4LDEuMDRMMTEuMzMsNEgxLjE1QzEuMiwzLjg4LDEuMjksMy43OCwxLjQsMy43bDMuMzMtMi41QzQuOTEsMS4wNyw1LjEyLDEsNS4zMywxSDE1CgkJQzE1LjEsMSwxNS4xOSwxLjAxLDE1LjI4LDEuMDR6Ii8+Cgk8bGluZWFyR3JhZGllbnQgaWQ9IlNWR0lEXzNfIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjExLjUzNDEiIHkxPSIzLjk4NTkiIHgyPSIxNi40ODY0IiB5Mj0iMTIuODE0MyI+CgkJPHN0b3AgIG9mZnNldD0iMC4xMDgyIiBzdHlsZT0ic3RvcC1jb2xvcjojNzVBRkNEIi8+CgkJPHN0b3AgIG9mZnNldD0iMC44ODY4IiBzdHlsZT0ic3RvcC1jb2xvcjojMzE2NDgyIi8+Cgk8L2xpbmVhckdyYWRpZW50PgoJPHBhdGggc3R5bGU9ImZpbGw6dXJsKCNTVkdJRF8zXyk7IiBkPSJNMTYsMnY5LjVjMCwwLjMxLTAuMTUsMC42MS0wLjQsMC44bC0zLjMzLDIuNWMtMC4wOCwwLjA2LTAuMTcsMC4xMS0wLjI3LDAuMTRWNC43NQoJCWwzLjk3LTIuOThDMTUuOTksMS44NCwxNiwxLjkyLDE2LDJ6Ii8+CjwvZz4KPC9zdmc+Cg=="});var pqt=xe((Q1n,DYo)=>{DYo.exports="data:image/svg+xml;base64, "});var mqt=xe((K1n,EYo)=>{EYo.exports="data:image/svg+xml;base64, "});var hqt=xe((Z1n,AYo)=>{AYo.exports="data:image/svg+xml;base64, "});var fqt=xe((J1n,NYo)=>{NYo.exports="data:image/svg+xml;base64, "});var gqt=xe((q1n,kYo)=>{kYo.exports="data:image/svg+xml;base64, "});var bqt=xe((X1n,PYo)=>{PYo.exports="data:image/svg+xml;base64, "});var Ypt=xe(($1n,OYo)=>{OYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMTUuNSw3aC0xNEMxLjIyNCw3LDEsNy4yMjQsMSw3LjVTMS4yMjQsOCwxLjUsOGg2SDh2Ny41QzgsMTUuNzc2LDguMjI0LDE2LDguNSwxNlM5LDE1Ljc3Niw5LDE1LjVWOGg2LjUKCQlDMTUuNzc2LDgsMTYsNy43NzYsMTYsNy41UzE1Ljc3Niw3LDE1LjUsN3oiLz4KCTxwYXRoIGQ9Ik0xMi44NTMsNS42MzFDMTIuOTM0LDUuODUyLDEzLjE0NCw2LDEzLjM4LDZoMC42MzVjMC4yMzUsMCwwLjQ0Ni0wLjE0NywwLjUyNi0wLjM2OWwxLjQyNC0zLjkwOQoJCWMwLjEzMy0wLjM2NS0wLjEzNy0wLjc1Mi0wLjUyNi0wLjc1MmMtMC4yNDQsMC0wLjQ2LDAuMTU4LTAuNTM0LDAuMzkxbC0wLjY1MSwyLjA1NmMtMC4xODYsMC41NTctMC4zMjMsMS4wNi0wLjUwOSwxLjYyNGgtMC4wNAoJCWMtMC4xOTQtMC41NjQtMC4zMTUtMS4wNjctMC41LTEuNjI0TDEyLjU0LDEuMzU4Yy0wLjA3NS0wLjIzMS0wLjI5LTAuMzg4LTAuNTMzLTAuMzg4aC0wLjA0NGMtMC4zODksMC0wLjY1OSwwLjM4Ni0wLjUyNywwLjc1MQoJCUwxMi44NTMsNS42MzF6Ii8+Cgk8Zz4KCQk8cGF0aCBkPSJNNi42ODIsNS40MzdMNi42ODIsNS40MzdjMC4xMjQtMC4xNjgsMC4zNi0wLjE5OSwwLjUyNi0wLjA3M2MwLjI4NywwLjIxOCwwLjYzNSwwLjM3OSwxLjA4OCwwLjM3OQoJCQljMC42NjQsMCwxLjE2Ny0wLjQ3MiwxLjE2Ny0xLjI1NmMwLTAuNzgzLTAuNDQ4LTEuMjMxLTEuMTItMS4yMzFjLTAuMywwLTAuNTAzLDAuMDcyLTAuNzQ4LDAuMjE0CgkJCUM3LjQ3NCwzLjU0MSw3LjMyMSwzLjUzOSw3LjIwMywzLjQ2MUw3LjEzMiwzLjQxNGMtMC4xMTEtMC4wNzMtMC4xNzQtMC4yLTAuMTY2LTAuMzMzbDAuMTM4LTIuMTkKCQkJYzAuMDE0LTAuMjE3LDAuMTk0LTAuMzg2LDAuNDExLTAuMzg2SDkuNzRjMC4yMDUsMCwwLjM3MSwwLjE2NiwwLjM3MSwwLjM3MVYwLjkxYzAsMC4yMDUtMC4xNjYsMC4zNzEtMC4zNzEsMC4zNzFINy45MjkKCQkJTDcuNzkzLDIuNzkzQzguMDQsMi42NjUsOC4yODEsMi41ODUsOC42LDIuNTg1YzAuOTg0LDAsMS43OTEsMC41ODMsMS43OTEsMS44NzFjMCwxLjMwMy0wLjk1MSwyLjAzOC0xLjk4MiwyLjAzOAoJCQljLTAuNzQ4LDAtMS4yNzItMC4yNDMtMS42NjUtMC41NTJDNi41OSw1LjgyMSw2LjU2Niw1LjU5Niw2LjY4Miw1LjQzN3oiLz4KCTwvZz4KCTxwYXRoIGQ9Ik01LjUsNGgtNEMxLjIyNCw0LDEsMy43NzYsMSwzLjVsMCwwQzEsMy4yMjQsMS4yMjQsMywxLjUsM2g0QzUuNzc2LDMsNiwzLjIyNCw2LDMuNWwwLDBDNiwzLjc3Niw1Ljc3Niw0LDUuNSw0eiIvPgoJPHBhdGggZD0iTTMsNS41di00QzMsMS4yMjQsMy4yMjQsMSwzLjUsMWwwLDBDMy43NzYsMSw0LDEuMjI0LDQsMS41djRDNCw1Ljc3NiwzLjc3Niw2LDMuNSw2bDAsMEMzLjIyNCw2LDMsNS43NzYsMyw1LjV6Ii8+CjwvZz4KPC9zdmc+Cg=="});var yqt=xe((ehn,RYo)=>{RYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8cGF0aCBkPSJNMTQuNSw3aC03QzcuMjI0LDcsNyw2Ljc3Niw3LDYuNXYwQzcsNi4yMjQsNy4yMjQsNiw3LjUsNmg3QzE0Ljc3Niw2LDE1LDYuMjI0LDE1LDYuNXYwQzE1LDYuNzc2LDE0Ljc3Niw3LDE0LjUsN3oiLz4KCTxwYXRoIGQ9Ik0xMS41LDRoLTRDNy4yMjQsNCw3LDMuNzc2LDcsMy41djBDNywzLjIyNCw3LjIyNCwzLDcuNSwzaDRDMTEuNzc2LDMsMTIsMy4yMjQsMTIsMy41djBDMTIsMy43NzYsMTEuNzc2LDQsMTEuNSw0eiIvPgoJPHBhdGggZD0iTTE0LjUsMTRsLTcsMEM3LjIyNCwxNCw3LDEzLjc3Niw3LDEzLjV2MEM3LDEzLjIyNCw3LjIyNCwxMyw3LjUsMTNoN2MwLjI3NiwwLDAuNSwwLjIyNCwwLjUsMC41djAKCQlDMTUsMTMuNzc2LDE0Ljc3NiwxNCwxNC41LDE0eiIvPgoJPHBhdGggZD0iTTExLjUsMTFoLTRDNy4yMjQsMTEsNywxMC43NzYsNywxMC41djBDNywxMC4yMjQsNy4yMjQsMTAsNy41LDEwaDRjMC4yNzYsMCwwLjUsMC4yMjQsMC41LDAuNXYwCgkJQzEyLDEwLjc3NiwxMS43NzYsMTEsMTEuNSwxMXoiLz4KCTxnPgoJCTxwYXRoIGQ9Ik01LDN2M0gyVjNINSBNNSwySDJDMS40NDgsMiwxLDIuNDQ4LDEsM3YzYzAsMC41NTIsMC40NDgsMSwxLDFoM2MwLjU1MiwwLDEtMC40NDgsMS0xVjNDNiwyLjQ0OCw1LjU1MiwyLDUsMkw1LDJ6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBkPSJNNSwxMHYzSDJ2LTNINSBNNSw5SDJjLTAuNTUyLDAtMSwwLjQ0OC0xLDF2M2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDNjMC41NTIsMCwxLTAuNDQ4LDEtMXYtM0M2LDkuNDQ4LDUuNTUyLDksNSw5TDUsOXoiLz4KCTwvZz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var wqt=xe((thn,_Yo)=>{_Yo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8cGF0aCBkPSJNMTQuNSw0aC05QzUuMjI0LDQsNSwzLjc3Niw1LDMuNXYwQzUsMy4yMjQsNS4yMjQsMyw1LjUsM2g5QzE0Ljc3NiwzLDE1LDMuMjI0LDE1LDMuNXYwQzE1LDMuNzc2LDE0Ljc3Niw0LDE0LjUsNHoiLz4KCTxwYXRoIGQ9Ik0yLjUsNGgtMUMxLjIyNCw0LDEsMy43NzYsMSwzLjV2MEMxLDMuMjI0LDEuMjI0LDMsMS41LDNoMUMyLjc3NiwzLDMsMy4yMjQsMywzLjV2MEMzLDMuNzc2LDIuNzc2LDQsMi41LDR6Ii8+Cgk8cGF0aCBkPSJNMi41LDE0aC0xQzEuMjI0LDE0LDEsMTMuNzc2LDEsMTMuNXYwQzEsMTMuMjI0LDEuMjI0LDEzLDEuNSwxM2gxQzIuNzc2LDEzLDMsMTMuMjI0LDMsMTMuNXYwQzMsMTMuNzc2LDIuNzc2LDE0LDIuNSwxNHoiCgkJLz4KCTxwYXRoIGQ9Ik0xNC41LDE0aC05QzUuMjI0LDE0LDUsMTMuNzc2LDUsMTMuNXYwQzUsMTMuMjI0LDUuMjI0LDEzLDUuNSwxM2g5YzAuMjc2LDAsMC41LDAuMjI0LDAuNSwwLjV2MAoJCUMxNSwxMy43NzYsMTQuNzc2LDE0LDE0LjUsMTR6Ii8+Cgk8cGF0aCBkPSJNMi41LDloLTFDMS4yMjQsOSwxLDguNzc2LDEsOC41djBDMSw4LjIyNCwxLjIyNCw4LDEuNSw4aDFDMi43NzYsOCwzLDguMjI0LDMsOC41djBDMyw4Ljc3NiwyLjc3Niw5LDIuNSw5eiIvPgoJPHBhdGggZD0iTTE0LjUsOWgtOUM1LjIyNCw5LDUsOC43NzYsNSw4LjV2MEM1LDguMjI0LDUuMjI0LDgsNS41LDhoOUMxNC43NzYsOCwxNSw4LjIyNCwxNSw4LjV2MEMxNSw4Ljc3NiwxNC43NzYsOSwxNC41LDl6Ii8+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIj4KPC9nPgo8L3N2Zz4K"});var Cqt=xe((ihn,jYo)=>{jYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTE0LjcsNC43bC0zLjQtMy40QzExLjEsMS4xLDEwLjksMSwxMC42LDFIMTBIM0MyLjQsMSwyLDEuNCwyLDJ2MTNjMCwwLjYsMC40LDEsMSwxaDExYzAuNiwwLDEtMC40LDEtMVY2VjUuNAoJCUMxNSw1LjEsMTQuOSw0LjksMTQuNyw0Ljd6IE0xMSwyLjRsMS4zLDEuM0wxMy42LDVIMTFWMi40eiBNMTQsMTVIM1YyaDd2M2MwLDAuNiwwLjQsMSwxLDFoM1YxNXoiLz4KCTxwYXRoIGQ9Ik05LjEsNy4xYzAuNC0xLjQsMC40LTIuNCwwLTNjLTAuMi0wLjMtMC42LTAuNS0xLTAuNWMtMC41LTAuMS0xLDAuMi0xLjIsMC42QzYuMyw1LjEsNi43LDYuMyw3LjIsNy4zCgkJQzYuOSw4LjIsNi41LDkuMSw2LjEsOS45Yy0yLjIsMS0yLjUsMS43LTIuNSwyLjJjMCwwLjUsMC4zLDAuOSwwLjYsMS4xYzAuMiwwLjEsMC40LDAuMiwwLjYsMC4yYzAuOCwwLDEuNi0wLjcsMi41LTIuMQoJCWMwLjgtMC4zLDEuNi0wLjYsMi40LTAuOGMwLjYsMC40LDEuMiwwLjcsMS45LDAuN2MwLjEsMCwwLjMsMCwwLjQsMGMwLjIsMCwwLjUtMC4xLDAuOC0wLjNjMC4zLTAuMiwwLjUtMC42LDAuNS0xCgkJYzAtMC4zLTAuMS0wLjYtMC4zLTAuOWMtMC4zLTAuMy0wLjgtMC41LTEuNS0wLjVjLTAuNSwwLTAuOSwwLjEtMS40LDAuMUM5LjcsOC4xLDkuNCw3LjcsOS4xLDcuMXogTTcuNyw0LjdjMC0wLjEsMC4xLTAuMSwwLjMtMC4xCgkJYzAsMCwwLDAsMCwwYzAuMSwwLDAuMiwwLDAuMiwwLjFjMC4xLDAuMSwwLjMsMC41LTAuMSwyLjFDNy42LDUuOSw3LjUsNS4xLDcuNyw0Ljd6IE00LjgsMTIuNGwtMC4xLTAuMWgwYy0wLjEsMC0wLjEtMC4xLTAuMS0wLjIKCQljMCwwLDAtMC40LDEuOC0xLjJDNS43LDEyLDUuMSwxMi40LDQuOCwxMi40eiBNNywxMC4zYzAuNS0wLjksMC44LTEuOCwxLjItMi43YzAuNCwwLjcsMC45LDEuMywxLjUsMS45QzguOCw5LjcsNy45LDEwLDcsMTAuM3oKCQkgTTExLjYsOS41YzAuNSwwLDAuNywwLjEsMC44LDAuMmMwLDAsMC4xLDAuMSwwLDAuMmMwLDAuMSwwLDAuMi0wLjEsMC4yYy0wLjEsMC0wLjIsMC4xLTAuMywwLjFjLTAuMSwwLTAuMiwwLTAuMywwbDAsMAoJCWMtMC41LDAtMS0wLjItMS40LTAuNWMwLDAsMCwwLTAuMS0wLjFDMTAuNyw5LjUsMTEuMSw5LjUsMTEuNiw5LjV6Ii8+CjwvZz4KPC9zdmc+Cg=="});var xqt=xe((ohn,BYo)=>{BYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIj4KCTxnPgoJCTxnPgoJCQk8cGF0aCBmaWxsPSIjRUEyQTJBIiBkPSJNMTEuMjkzLDEuMjkzQzExLjEwNSwxLjEwNSwxMC44NTEsMSwxMC41ODYsMUgxMEgzQzIuNDQ4LDEsMiwxLjQ0OCwyLDJ2MTNjMCwwLjU1MiwwLjQ0OCwxLDEsMWgxMQoJCQkJYzAuNTUyLDAsMS0wLjQ0OCwxLTFWNlY1LjQxNGMwLTAuMjY1LTAuMTA1LTAuNTItMC4yOTMtMC43MDdMMTEuMjkzLDEuMjkzeiBNMTIuMjksMy43MUwxMy41OSw1SDExVjIuNDFMMTIuMjksMy43MXogTTE0LDE1SDNWMgoJCQkJaDd2M2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDNWMTV6Ii8+CgkJCTxnPgoJCQkJPHBhdGggZmlsbD0iI0VBMkEyQSIgZD0iTTQuODAzLDEzLjQwNGMtMC4xOTcsMC0wLjQwNi0wLjA2MS0wLjU4OS0wLjE3N2MtMC4zNzktMC4xNzQtMC42NTUtMC42MTQtMC42NDgtMS4wOTIKCQkJCQljMC0wLjUxMywwLjI5LTEuMjMxLDIuNTEzLTIuMjIxQzYuNTIxLDkuMDc5LDYuODk3LDguMjAxLDcuMTk2LDcuM0M2LjczLDYuMzE2LDYuMzI4LDUuMDUsNi44MTYsNC4yMzUKCQkJCQljMC4yNDQtMC40MzMsMC43MjMtMC42OSwxLjIzOS0wLjYzMmMwLjM1OSwwLDAuNzM1LDAuMTg4LDAuOTgyLDAuNTE0YzAuNDIxLDAuNTgyLDAuNDI2LDEuNTYsMC4wMTgsMi45OTUKCQkJCQljMC4zMTEsMC41NDIsMC42OTEsMS4wMzYsMS4xMzUsMS40NzVjMC40NS0wLjA3OSwwLjkxMS0wLjEyNCwxLjM3NC0wLjEzMmMwLjY5OCwwLjAxNSwxLjE5NywwLjE5MywxLjUwMywwLjUzMQoJCQkJCWMwLjIyLDAuMjQzLDAuMzI2LDAuNTU5LDAuMywwLjg4OWMwLjAwMiwwLjM5My0wLjE2NywwLjc1OC0wLjQ3MywwLjk4OGMtMC4yMTUsMC4xNjItMC40ODYsMC4yNTYtMC44MywwLjI5CgkJCQkJYy0wLjE0NCwwLjAxNS0wLjI5NSwwLjAxOC0wLjQzOSwwLjAxMmwwLDBjLTAuNjY4LTAuMDMtMS4zNDUtMC4yNzMtMS45MS0wLjY4OGMtMC44MjcsMC4xOTktMS42NDcsMC40NjQtMi40MzgsMC43ODcKCQkJCQlDNi40MjcsMTIuNzI5LDUuNjEzLDEzLjQwMyw0LjgwMywxMy40MDR6IE00LjcwNiwxMi4zNTNsMC4xNDIsMC4wNTFjMC4xNDIsMCwwLjY1LTAuMTE0LDEuNDgzLTEuNTA1CgkJCQkJYy0xLjc0NCwwLjc5OS0xLjc2NiwxLjIyNi0xLjc2NiwxLjI0NGMtMC4wMDEsMC4wOTMsMC4wNSwwLjE3MywwLjEyOSwwLjIxMUw0LjcwNiwxMi4zNTN6IE04LjE2Miw3LjU2MwoJCQkJCUM3Ljg1NCw4LjUwMyw3LjQ2Nyw5LjQyLDcuMDEsMTAuMjk0QzcuODY3LDkuOTUsOC43NTgsOS42NzEsOS42NTksOS40NjNDOS4wNjQsOC45MDksOC41NjIsOC4yNzEsOC4xNjIsNy41NjN6IE0xMC4yMjQsOS41OTkKCQkJCQljMC4wMjEsMC4wMTgsMC4wNDEsMC4wMzYsMC4wNiwwLjA1M2MwLjQwOSwwLjMxLDAuOTAyLDAuNDkzLDEuMzg1LDAuNTE0bDAuMDAyLDAuMDAxYzAuMTAzLDAuMDA0LDAuMTk4LDAuMDAyLDAuMjk1LTAuMDA4CgkJCQkJYzAuMTU2LTAuMDE2LDAuMjY2LTAuMDQ3LDAuMzI4LTAuMDk0YzAuMDY2LTAuMDUsMC4wNzYtMC4xNjUsMC4wNzYtMC4yMjljMC4wMDgtMC4xMjEtMC4wMzEtMC4xNjQtMC4wNDQtMC4xNzkKCQkJCQljLTAuMDQtMC4wNDQtMC4yMTMtMC4xODktMC43NjMtMC4yMDFDMTEuMTIxLDkuNDYzLDEwLjY2Niw5LjUxMSwxMC4yMjQsOS41OTl6IE03Ljk1Miw0LjU5OWMtMC4xMzIsMC0wLjIyMywwLjA1My0wLjI3MSwwLjE0CgkJCQkJYy0wLjIwMSwwLjMzNS0wLjAzMywxLjE2NiwwLjQxLDIuMTEyYzAuNDUzLTEuNTk0LDAuMjAxLTIuMDU5LDAuMTQ0LTIuMTM4QzguMTg0LDQuNjQ2LDguMDk2LDQuNjAyLDgsNC42MDEKCQkJCQlDNy45ODMsNC41OTksNy45NjgsNC41OTksNy45NTIsNC41OTl6Ii8+CgkJCTwvZz4KCQk8L2c+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var Tqt=xe((rhn,zYo)=>{zYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNiAxNjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiNGRkZGRkY7fQo8L3N0eWxlPgo8cGF0aCBkPSJNMTEuMywxLjNDMTEuMSwxLjEsMTAuOSwxLDEwLjYsMUgzQzIuNSwxLDIsMS41LDIsMnYxM2MwLDAuNiwwLjUsMSwxLDFoMTFjMC42LDAsMS0wLjQsMS0xVjUuNGMwLTAuMy0wLjEtMC41LTAuMy0wLjcKCUwxMS4zLDEuM0wxMS4zLDEuM3oiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQuOCwxMy40Yy0wLjIsMC0wLjQtMC4xLTAuNi0wLjJjLTAuNC0wLjItMC43LTAuNi0wLjctMS4xYzAtMC41LDAuMy0xLjIsMi41LTIuMmMwLjQtMC44LDAuOC0xLjcsMS4xLTIuNgoJQzYuNyw2LjMsNi4zLDUsNi44LDQuMkM3LDMuOCw3LjUsMy41LDgsMy42YzAuNCwwLDAuNywwLjIsMSwwLjVjMC40LDAuNiwwLjQsMS42LDAsM2MwLjMsMC41LDAuNywxLDEuMSwxLjUKCWMwLjQtMC4xLDAuOS0wLjEsMS40LTAuMWMwLjcsMCwxLjIsMC4yLDEuNSwwLjVjMC4yLDAuMiwwLjMsMC42LDAuMywwLjljMCwwLjQtMC4yLDAuOC0wLjUsMWMtMC4yLDAuMi0wLjUsMC4zLTAuOCwwLjMKCWMtMC4xLDAtMC4zLDAtMC40LDBsMCwwYy0wLjcsMC0xLjMtMC4zLTEuOS0wLjdjLTAuOCwwLjItMS42LDAuNS0yLjQsMC44QzYuNCwxMi43LDUuNiwxMy40LDQuOCwxMy40TDQuOCwxMy40eiBNNC43LDEyLjRsMC4xLDAuMQoJYzAuMSwwLDAuNy0wLjEsMS41LTEuNWMtMS43LDAuOC0xLjgsMS4yLTEuOCwxLjJDNC42LDEyLjIsNC42LDEyLjMsNC43LDEyLjRMNC43LDEyLjRMNC43LDEyLjR6IE04LjIsNy42QzcuOCw4LjUsNy41LDkuNCw3LDEwLjMKCWMwLjktMC4zLDEuOC0wLjYsMi43LTAuOEM5LjEsOC45LDguNiw4LjMsOC4yLDcuNnogTTEwLjIsOS42QzEwLjIsOS42LDEwLjMsOS42LDEwLjIsOS42YzAuNSwwLjQsMSwwLjUsMS40LDAuNmwwLDAKCWMwLjEsMCwwLjIsMCwwLjMsMGMwLjIsMCwwLjMtMC4xLDAuMy0wLjFjMC4xLTAuMSwwLjEtMC4yLDAuMS0wLjJjMC0wLjEsMC0wLjIsMC0wLjJjMCwwLTAuMi0wLjItMC44LTAuMgoJQzExLjEsOS41LDEwLjcsOS41LDEwLjIsOS42eiBNNy45LDQuNmMtMC4xLDAtMC4yLDAuMS0wLjMsMC4xYy0wLjIsMC4zLDAsMS4yLDAuNCwyLjFjMC40LTEuNiwwLjItMi4xLDAuMS0yLjEKCUM4LjIsNC42LDguMSw0LjYsNy45LDQuNkM4LDQuNiw4LDQuNiw3LjksNC42eiIvPgo8cG9seWdvbiBjbGFzcz0ic3QwIiBwb2ludHM9IjEyLjMsMy43IDExLDIuNCAxMSw1IDEzLjYsNSAiLz4KPC9zdmc+Cg=="});var I3e=xe((nhn,FYo)=>{FYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNiAxNjsgZmlsbDojMzM5OUZGIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTcsNmg3YzAuNiwwLDEsMC40LDEsMXY3YzAsMC42LTAuNCwxLTEsMUg3Yy0wLjYsMC0xLTAuNC0xLTFWN0M2LDYuNCw2LjQsNiw3LDZ6Ii8+CjxwYXRoIGQ9Ik02LDVoNFYyYzAtMC41LTAuNC0xLTEtMUgyQzEuNSwxLDEsMS41LDEsMnY3YzAsMC42LDAuNSwxLDEsMWgzVjZDNSw1LjQsNS40LDUsNiw1eiIvPgo8L3N2Zz4K"});var Sqt=xe((ahn,UYo)=>{UYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNNS41LDExSDJjLTAuNTUyLDAtMS0wLjQ0OC0xLTFWNmMwLTAuNTUyLDAuNDQ4LTEsMS0xaDMuNUM1Ljc3Niw1LDYsNC43NzYsNiw0LjV2MEM2LDQuMjI0LDUuNzc2LDQsNS41LDRIMgoJCUMwLjg5NSw0LDAsNC44OTUsMCw2djRjMCwxLjEwNSwwLjg5NSwyLDIsMmgzLjVDNS43NzYsMTIsNiwxMS43NzYsNiwxMS41djBDNiwxMS4yMjQsNS43NzYsMTEsNS41LDExeiIvPgoJPHBhdGggZD0iTTE0LDRoLTMuNUMxMC4yMjQsNCwxMCw0LjIyNCwxMCw0LjV2MEMxMCw0Ljc3NiwxMC4yMjQsNSwxMC41LDVIMTRjMC41NTIsMCwxLDAuNDQ4LDEsMXY0YzAsMC41NTItMC40NDgsMS0xLDFoLTMuNQoJCWMtMC4yNzYsMC0wLjUsMC4yMjQtMC41LDAuNXYwYzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVIMTRjMS4xMDUsMCwyLTAuODk1LDItMlY2QzE2LDQuODk1LDE1LjEwNSw0LDE0LDR6Ii8+CjwvZz4KPGc+CgkKCQk8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjQuNSIgeTE9IjgiIHgyPSIxMS41IiB5Mj0iOCIvPgo8L2c+Cjwvc3ZnPgo="});var Mqt=xe((shn,VYo)=>{VYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGcgc3R5bGU9InN0cm9rZTogI2NjYzsiPgoJPHBhdGggZD0iTTUuNSwxMUgyYy0wLjU1MiwwLTEtMC40NDgtMS0xVjZjMC0wLjU1MiwwLjQ0OC0xLDEtMWgzLjVDNS43NzYsNSw2LDQuNzc2LDYsNC41djBDNiw0LjIyNCw1Ljc3Niw0LDUuNSw0SDIKCQlDMC44OTUsNCwwLDQuODk1LDAsNnY0YzAsMS4xMDUsMC44OTUsMiwyLDJoMy41QzUuNzc2LDEyLDYsMTEuNzc2LDYsMTEuNXYwQzYsMTEuMjI0LDUuNzc2LDExLDUuNSwxMXoiLz4KCTxwYXRoIGQ9Ik0xNCw0aC0zLjVDMTAuMjI0LDQsMTAsNC4yMjQsMTAsNC41djBDMTAsNC43NzYsMTAuMjI0LDUsMTAuNSw1SDE0YzAuNTUyLDAsMSwwLjQ0OCwxLDF2NGMwLDAuNTUyLTAuNDQ4LDEtMSwxaC0zLjUKCQljLTAuMjc2LDAtMC41LDAuMjI0LTAuNSwwLjV2MGMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41SDE0YzEuMTA1LDAsMi0wLjg5NSwyLTJWNkMxNiw0Ljg5NSwxNS4xMDUsNCwxNCw0eiIvPgo8L2c+CjxnPgoJCgkJPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjY2NjIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSI0LjUiIHkxPSI4IiB4Mj0iMTEuNSIgeTI9IjgiLz4KPC9nPgo8L3N2Zz4K"});var Iqt=xe((lhn,HYo)=>{HYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNNS41LDExSDJjLTAuNTUyLDAtMS0wLjQ0OC0xLTFWNmMwLTAuNTUyLDAuNDQ4LTEsMS0xaDMuNUM1Ljc3Niw1LDYsNC43NzYsNiw0LjV2MEM2LDQuMjI0LDUuNzc2LDQsNS41LDRIMgoJCQlDMC44OTUsNCwwLDQuODk1LDAsNnY0YzAsMS4xMDUsMC44OTUsMiwyLDJoMy41QzUuNzc2LDEyLDYsMTEuNzc2LDYsMTEuNXYwQzYsMTEuMjI0LDUuNzc2LDExLDUuNSwxMXoiLz4KCQk8cGF0aCBkPSJNMTQsNGgtMy41QzEwLjIyNCw0LDEwLDQuMjI0LDEwLDQuNXYwQzEwLDQuNzc2LDEwLjIyNCw1LDEwLjUsNUgxNGMwLjU1MiwwLDEsMC40NDgsMSwxdjRjMCwwLjU1Mi0wLjQ0OCwxLTEsMWgtMy41CgkJCWMtMC4yNzYsMC0wLjUsMC4yMjQtMC41LDAuNXYwYzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVIMTRjMS4xMDUsMCwyLTAuODk1LDItMlY2QzE2LDQuODk1LDE1LjEwNSw0LDE0LDR6Ii8+Cgk8L2c+CjwvZz4KPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjgiIHkxPSIwLjUiIHgyPSI4IiB5Mj0iMi41Ii8+CjxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIxMS4xNyIgeTE9IjEuMjAzIiB4Mj0iMTAuMzI0IiB5Mj0iMy4wMTUiLz4KPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjQuODMiIHkxPSIxLjIwMyIgeDI9IjUuNjc2IiB5Mj0iMy4wMTUiLz4KPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjgiIHkxPSIxNS41IiB4Mj0iOCIgeTI9IjEzLjUiLz4KPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjQuODMiIHkxPSIxNC43OTciIHgyPSI1LjY3NiIgeTI9IjEyLjk4NSIvPgo8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMTEuMTciIHkxPSIxNC43OTciIHgyPSIxMC4zMjQiIHkyPSIxMi45ODUiLz4KPC9zdmc+Cg=="});var Wpt=xe((chn,GYo)=>{GYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMTEsNXY2SDVWNUgxMSBNMTEsNEg1QzQuNDQ4LDQsNCw0LjQ0OCw0LDV2NmMwLDAuNTUyLDAuNDQ4LDEsMSwxaDZjMC41NTIsMCwxLTAuNDQ4LDEtMVY1QzEyLDQuNDQ4LDExLjU1Miw0LDExLDRMMTEsNHoiCgkJLz4KPC9nPgo8L3N2Zz4K"});var jAe=xe((dhn,YYo)=>{YYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNMTIsM0g2LjVDNi4yMjQsMyw2LDMuMjI0LDYsMy41UzYuMjI0LDQsNi41LDRIMTJ2NS41YzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVTMTMsOS43NzYsMTMsOS41VjQKCQkJQzEzLDMuNDQ4LDEyLjU1MiwzLDEyLDNMMTIsM3oiLz4KCTwvZz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xMCw2djVINVY2SDEwIE0xMCw1SDVDNC40NDgsNSw0LDUuNDQ4LDQsNnY1YzAsMC41NTIsMC40NDgsMSwxLDFoNWMwLjU1MiwwLDEtMC40NDgsMS0xVjZDMTEsNS40NDgsMTAuNTUyLDUsMTAsNUwxMCw1eiIKCQkvPgo8L2c+Cjwvc3ZnPgo="});var BAe=xe((uhn,WYo)=>{WYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTE1LDJIMUMwLjQ0OCwyLDAsMi40NDgsMCwzdjExYzAsMC41NTIsMC40NDgsMSwxLDFoMTRjMC41NTIsMCwxLTAuNDQ4LDEtMVYzQzE2LDIuNDQ4LDE1LjU1MiwyLDE1LDJ6IE02LDE0di0yaDR2Mkg2egoJIE02LDExVjloNHYySDZ6IE0xNSwxNGgtNHYtMmg0VjE0eiBNMTUsMTFoLTRWOWg0VjExeiBNNSw5djVIMVYzaDE0djVINkM1LjQ0OCw4LDUsOC40NDgsNSw5eiIvPgo8L3N2Zz4K"});var zAe=xe((phn,QYo)=>{QYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggc3R5bGU9ImZpbGw6Izk4NEIwMSIgZD0iTTE1LDJIMUMwLjQ0OCwyLDAsMi40NDgsMCwzdjExYzAsMC41NTIsMC40NDgsMSwxLDFoMTRjMC41NTIsMCwxLTAuNDQ4LDEtMVYzQzE2LDIuNDQ4LDE1LjU1MiwyLDE1LDJ6IE02LDE0di0yaDR2Mkg2egoJIE02LDExVjloNHYySDZ6IE0xNSwxNGgtNHYtMmg0VjE0eiBNMTUsMTFoLTRWOWg0VjExeiBNNSw5djVIMVYzaDE0djVINkM1LjQ0OCw4LDUsOC40NDgsNSw5eiIvPgo8L3N2Zz4K"});var FAe=xe((mhn,KYo)=>{KYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTE1LDJIMUMwLjQ0OCwyLDAsMi40NDgsMCwzdjExYzAsMC41NTIsMC40NDgsMSwxLDFoMTRjMC41NTIsMCwxLTAuNDQ4LDEtMVYzQzE2LDIuNDQ4LDE1LjU1MiwyLDE1LDJ6IE0xLDNoMTR2NEg3CglDNi40NDgsNyw2LDcuNDQ4LDYsOHY2SDFWM3ogTTcsMTRWOGg4djZIN3oiLz4KPHBvbHlnb24gcG9pbnRzPSIxMSw4IDkuMDUsMTQgMTQuMTU0LDEwLjI5MiA3Ljg0NiwxMC4yOTIgMTIuOTUsMTQgIi8+Cjwvc3ZnPgo="});var UAe=xe((hhn,ZYo)=>{ZYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggc3R5bGU9ImZpbGw6Izk4NEIwMSIgZD0iTTE1LDJIMUMwLjQ0OCwyLDAsMi40NDgsMCwzdjExYzAsMC41NTIsMC40NDgsMSwxLDFoMTRjMC41NTIsMCwxLTAuNDQ4LDEtMVYzQzE2LDIuNDQ4LDE1LjU1MiwyLDE1LDJ6IE0xLDNoMTR2NEg3CglDNi40NDgsNyw2LDcuNDQ4LDYsOHY2SDFWM3ogTTcsMTRWOGg4djZIN3oiLz4KPHBvbHlnb24gc3R5bGU9ImZpbGw6Izk4NEIwMSIgcG9pbnRzPSIxMSw4IDkuMDUsMTQgMTQuMTU0LDEwLjI5MiA3Ljg0NiwxMC4yOTIgMTIuOTUsMTQgIi8+Cjwvc3ZnPgo="});var Qpt=xe((fhn,JYo)=>{JYo.exports="data:image/svg+xml;base64,PHN2ZyB0PSIxNjYwMTE5OTEzMDgzIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjE3MzExIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTM5Ni44IDU3MC4xMTJsMzgyLjY1NiAzODAuNjcyYzEyLjAzMiAxMi4wMzIgMzEuNDg4IDEyLjAzMiA0My41MiAwIDEyLjAzMi0xMS45MDQgMTIuMDMyLTMxLjIzMiAwLTQzLjI2NEw0NTYuNTEyIDU0Mi45NzZsMzY2LjUyOC0zNjQuNDhjMTIuMDMyLTExLjk2OCAxMi4wMzItMzEuMjk2IDAtNDMuMjY0cy0zMS40ODgtMTEuOTY4LTQzLjUyIDBsLTM4Mi43MiAzODAuNzM2QzM4NS4wMjQgNTI2Ljk3NiAzODAuNzM2IDU1NC4xMTIgMzk2LjggNTcwLjExMnpNMjIyLjQgMTI4IDIyMi4yNzIgMTI4Yy0xNy43MjggMC0zMiAxNC4zMzYtMzIgMzJsMCA3NjhjMCAxNy43MjggMTQuMjcyIDMyIDMyIDMybDAuMTI4IDBjMTcuNzI4IDAgMzItMTQuMjcyIDMyLTMybDAtNzY4QzI1NC40IDE0Mi4zMzYgMjQwLjEyOCAxMjggMjIyLjQgMTI4eiIgcC1pZD0iMTczMTIiPjwvcGF0aD48L3N2Zz4="});var Kpt=xe((ghn,qYo)=>{qYo.exports="data:image/svg+xml;base64,PHN2ZyB0PSIxNjYzMDM5OTE5ODg4IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjU0NTEiIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48cGF0aCBkPSJNNjczLjkyIDc1Ny4xMkgxMTQuNTZhOTQuMDggOTQuMDggMCAwIDEtOTQuMDgtOTQuNzJWMTAzLjA0QTk0LjA4IDk0LjA4IDAgMCAxIDExNC41NiA4Ljk2aDU1OS4zNkE5NC4wOCA5NC4wOCAwIDAgMSA3NjggMTAzLjA0djU1OS4zNmE5NC43MiA5NC43MiAwIDAgMS05NC4wOCA5NC43MnpNMTE0LjU2IDcxLjY4YTMxLjM2IDMxLjM2IDAgMCAwLTMxLjM2IDMxLjM2djU1OS4zNmEzMS4zNiAzMS4zNiAwIDAgMCAzMS4zNiAzMS4zNmg1NTkuMzZhMzEuMzYgMzEuMzYgMCAwIDAgMzEuMzYtMzEuMzZWMTAzLjA0YTMxLjM2IDMxLjM2IDAgMCAwLTMxLjM2LTMxLjM2eiIgZmlsbD0iIzMzMzMzMyIgcC1pZD0iNTQ1MiI+PC9wYXRoPjxwYXRoIGQ9Ik05MTUuMiAxMDE2LjMySDM1NS44NGE5NC4wOCA5NC4wOCAwIDAgMS05NC4wOC05NC4wOFYzNjIuODhBOTQuMDggOTQuMDggMCAwIDEgMzU1Ljg0IDI2OC44aDU1OS4zNmE5NC4wOCA5NC4wOCAwIDAgMSA5NC4wOCA5NC4wOHY1NTkuMzZhOTQuMDggOTQuMDggMCAwIDEtOTQuMDggOTQuMDh6TTM1NS44NCAzMzEuNTJhMzEuMzYgMzEuMzYgMCAwIDAtMzEuMzYgMzEuMzZ2NTU5LjM2YTMxLjM2IDMxLjM2IDAgMCAwIDMxLjM2IDMxLjM2aDU1OS4zNmEzMS4zNiAzMS4zNiAwIDAgMCAzMS4zNi0zMS4zNlYzNjIuODhhMzEuMzYgMzEuMzYgMCAwIDAtMzEuMzYtMzEuMzZ6IiBmaWxsPSIjMzMzMzMzIiBwLWlkPSI1NDUzIj48L3BhdGg+PC9zdmc+"});var Zpt=xe((bhn,XYo)=>{XYo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMTIuNSwxMi41Yy0wLjIsMC0wLjM4MS0wLjExOS0wLjQ2LTAuMzAzTDkuNSw2LjI3bC0yLjU0LDUuOTI4Yy0wLjE1OCwwLjM2Ny0wLjc2MiwwLjM2Ny0wLjkyLDBMMy41LDYuMjdMMi40Niw4LjY5NwoJCUMyLjM4MSw4Ljg4MSwyLjIwMSw5LDIuMDAxLDlIMC41QzAuMjI0LDksMCw4Ljc3NiwwLDguNXYwQzAsOC4yMjQsMC4yMjQsOCwwLjUsOGgxLjE3bDEuMzctMy4xOTdjMC4xNTgtMC4zNjcsMC43NjItMC4zNjcsMC45MiwwCgkJTDYuNSwxMC43M2wyLjU0LTUuOTI4YzAuMTU4LTAuMzY3LDAuNzYyLTAuMzY3LDAuOTIsMGwyLjU0LDUuOTI4bDEuMDQtMi40MjhDMTMuNjE5LDguMTE5LDEzLjc5OSw4LDEzLjk5OSw4SDE1LjUKCQlDMTUuNzc2LDgsMTYsOC4yMjQsMTYsOC41djBDMTYsOC43NzYsMTUuNzc2LDksMTUuNSw5aC0xLjE3bC0xLjM3LDMuMTk3QzEyLjg4MSwxMi4zODEsMTIuNywxMi41LDEyLjUsMTIuNXoiLz4KPC9nPgo8L3N2Zz4K"});var Jpt=xe((yhn,$Yo)=>{$Yo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTYuNSwxM0w2LjUsMTNDNi4yMjQsMTMsNiwxMi43NzYsNiwxMi41di04QzYsNC4yMjQsNi4yMjQsNCw2LjUsNGgwQzYuNzc2LDQsNyw0LjIyNCw3LDQuNXY4QzcsMTIuNzc2LDYuNzc2LDEzLDYuNSwxM3oiLz4KPHBhdGggZD0iTTkuNSwxM0w5LjUsMTNDOS4yMjQsMTMsOSwxMi43NzYsOSwxMi41di04QzksNC4yMjQsOS4yMjQsNCw5LjUsNGgwQzkuNzc2LDQsMTAsNC4yMjQsMTAsNC41djhDMTAsMTIuNzc2LDkuNzc2LDEzLDkuNSwxM3oKCSIvPgo8cGF0aCBkPSJNOSw4LjVMOSw4LjVDOSw4LjIyNCw5LjIyNCw4LDkuNSw4aDZDMTUuNzc2LDgsMTYsOC4yMjQsMTYsOC41djBDMTYsOC43NzYsMTUuNzc2LDksMTUuNSw5aC02QzkuMjI0LDksOSw4Ljc3Niw5LDguNXoiLz4KPHBhdGggZD0iTTAsOC41TDAsOC41QzAsOC4yMjQsMC4yMjQsOCwwLjUsOGg2QzYuNzc2LDgsNyw4LjIyNCw3LDguNXYwQzcsOC43NzYsNi43NzYsOSw2LjUsOWgtNkMwLjIyNCw5LDAsOC43NzYsMCw4LjV6Ii8+Cjwvc3ZnPgo="});var qpt=xe((whn,eWo)=>{eWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUuNSw5aC0wLjU3NkMxNC42OSw5LDE0LjUsOC44MSwxNC41LDguNTc2djBjMC0wLjk0LTAuNjc2LTEuNzg0LTEuNjEtMS44OTNjLTEuMDM4LTAuMTIxLTEuOTMxLDAuNjI0LTIuMDQ4LDEuNjAxCgkJCUMxMC44MjgsOC40MDgsMTAuNzIyLDguNSwxMC41OTcsOC41aC0wLjUzM2MtMC4xMjUsMC0wLjIzMS0wLjA5My0wLjI0Ni0wLjIxN0M5LjcxLDcuMzc2LDguOTM1LDYuNjcsOCw2LjY3CgkJCVM2LjI5LDcuMzc2LDYuMTgzLDguMjgzQzYuMTY4LDguNDA3LDYuMDYyLDguNSw1LjkzNyw4LjVINS40MDNjLTAuMTI1LDAtMC4yMzEtMC4wOTItMC4yNDYtMC4yMTYKCQkJQzUuMDQxLDcuMzA2LDQuMTQ3LDYuNTYyLDMuMTEsNi42ODNDMi4xNzYsNi43OTEsMS41LDcuNjM2LDEuNSw4LjU3NnYwQzEuNSw4LjgxLDEuMzEsOSwxLjA3Niw5SDAuNUMwLjIyNCw5LDAsOC43NzYsMCw4LjV2MAoJCQlDMCw4LjIyNCwwLjIyNCw4LDAuNSw4aDAuMDQ0QzAuNzgxLDYuNjc3LDEuOTQsNS42NywzLjMzLDUuNjdjMC45NjksMCwxLjgyNiwwLjQ4NiwyLjMzOSwxLjIyN0M2LjE4LDYuMTU2LDcuMDM0LDUuNjcsOCw1LjY3CgkJCXMxLjgyLDAuNDg2LDIuMzMxLDEuMjI3YzAuNTEzLTAuNzQsMS4zNy0xLjIyNywyLjMzOS0xLjIyN2MxLjM5LDAsMi41NDksMS4wMDcsMi43ODYsMi4zM0gxNS41QzE1Ljc3Niw4LDE2LDguMjI0LDE2LDguNXYwCgkJCUMxNiw4Ljc3NiwxNS43NzYsOSwxNS41LDl6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var Xpt=xe((Chn,tWo)=>{tWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTQuNSw5aC00QzAuMjI0LDksMCw4Ljc3NiwwLDguNXYwQzAsOC4yMjQsMC4yMjQsOCwwLjUsOGg0QzQuNzc2LDgsNSw4LjIyNCw1LDguNXYwQzUsOC43NzYsNC43NzYsOSw0LjUsOXoiLz4KPHBhdGggZD0iTTQsMTIuNXYtOEM0LDQuMjI0LDQuMjI0LDQsNC41LDRoMEM0Ljc3Niw0LDUsNC4yMjQsNSw0LjV2OEM1LDEyLjc3Niw0Ljc3NiwxMyw0LjUsMTNoMEM0LjIyNCwxMyw0LDEyLjc3Niw0LDEyLjV6Ii8+CjxwYXRoIGQ9Ik0xMSwxMi41di04QzExLDQuMjI0LDExLjIyNCw0LDExLjUsNGgwQzExLjc3Niw0LDEyLDQuMjI0LDEyLDQuNXY4YzAsMC4yNzYtMC4yMjQsMC41LTAuNSwwLjVoMAoJQzExLjIyNCwxMywxMSwxMi43NzYsMTEsMTIuNXoiLz4KPHBhdGggZD0iTTE1LjUsOWgtNEMxMS4yMjQsOSwxMSw4Ljc3NiwxMSw4LjV2MEMxMSw4LjIyNCwxMS4yMjQsOCwxMS41LDhoNEMxNS43NzYsOCwxNiw4LjIyNCwxNiw4LjV2MEMxNiw4Ljc3NiwxNS43NzYsOSwxNS41LDl6IgoJLz4KPHBvbHlsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iNC41LDQuNSAKCTExLjUsOC41IDQuNSwxMi41ICIvPgo8L3N2Zz4K"});var Lqt=xe((xhn,iWo)=>{iWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUsM3YxMkgxVjNIMTUgTTE1LDJIMUMwLjQ0OCwyLDAsMi40NDgsMCwzdjEyYzAsMC41NTIsMC40NDgsMSwxLDFoMTRjMC41NTIsMCwxLTAuNDQ4LDEtMVYzQzE2LDIuNDQ4LDE1LjU1MiwyLDE1LDIKCQkJTDE1LDJ6Ii8+Cgk8L2c+Cgk8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNNSw2LjVIMy43NQoJCUMzLjA2LDYuNSwyLjUsNy4wNiwyLjUsNy43NWwwLDBDMi41LDguNDQsMy4wNiw5LDMuNzUsOWwwLDBDNC40NCw5LDUsOS41Niw1LDEwLjI1bDAsMGMwLDAuNjktMC41NiwxLjI1LTEuMjUsMS4yNUgyLjUiLz4KCTxwb2x5bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IjYuNSwxMS41IAoJCTYuNSw2LjUgOCwxMCA5LjUsNi41IDkuNSwxMS41IAkiLz4KCTxwYXRoIGQ9Ik0xNCw3aC0zYy0wLjI3NiwwLTAuNS0wLjIyNC0wLjUtMC41bDAsMEMxMC41LDYuMjI0LDEwLjcyNCw2LDExLDZoM2MwLjI3NiwwLDAuNSwwLjIyNCwwLjUsMC41bDAsMAoJCUMxNC41LDYuNzc2LDE0LjI3Niw3LDE0LDd6Ii8+Cgk8cGF0aCBkPSJNMTIsMTEuNXYtNUMxMiw2LjIyNCwxMi4yMjQsNiwxMi41LDZsMCwwQzEyLjc3Niw2LDEzLDYuMjI0LDEzLDYuNXY1YzAsMC4yNzYtMC4yMjQsMC41LTAuNSwwLjVsMCwwCgkJQzEyLjIyNCwxMiwxMiwxMS43NzYsMTIsMTEuNXoiLz4KPC9nPgo8L3N2Zz4K"});var vqt=xe((Thn,oWo)=>{oWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cG9seWdvbiBwb2ludHM9IjQsMyAyLDMgMiw1IDQsNSA0LDMgCSIvPgo8L2c+CjxnPgoJPHBvbHlnb24gcG9pbnRzPSI0LDExIDIsMTEgMiwxMyA0LDEzIDQsMTEgCSIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTksM2MyLjc1NywwLDUsMi4yNDMsNSw1cy0yLjI0Myw1LTUsNUgydi0yaDdjMS42NTQsMCwzLTEuMzQ2LDMtM3MtMS4zNDYtMy0zLTNIMlYzSDkgTTksMkgyQzEuNDQ4LDIsMSwyLjQ0OCwxLDN2MgoJCWMwLDAuNTUyLDAuNDQ4LDEsMSwxaDdjMS4xMDUsMCwyLDAuODk1LDIsMnMtMC44OTUsMi0yLDJIMmMtMC41NTIsMC0xLDAuNDQ4LTEsMXYyYzAsMC41NTIsMC40NDgsMSwxLDFoN2MzLjMxNCwwLDYtMi42ODYsNi02CgkJUzEyLjMxNCwyLDksMkw5LDJ6Ii8+CjwvZz4KPC9zdmc+Cg=="});var Dqt=xe((Shn,rWo)=>{rWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8Y2lyY2xlIGN4PSI2IiBjeT0iMTUiIHI9IjEiLz4KCQk8Y2lyY2xlIGN4PSIxNCIgY3k9IjE1IiByPSIxIi8+CgkJPHBhdGggZD0iTTE1LjUsMTJINS4xNkwzLjY3OSwzLjYyQzMuNjE2LDMuMjYxLDMuMzA1LDMsMi45NDEsM0gwLjc1QzAuMzM2LDMsMCwzLjMzNiwwLDMuNzVDMCw0LjE2NCwwLjMzNiw0LjUsMC43NSw0LjVoMi4wNwoJCQlsMS4zNTQsNy42NzRDNC4yNTksMTIuNjUyLDQuNjc0LDEzLDUuMTU5LDEzSDE1LjVjMC4yOCwwLDAuNS0wLjIyLDAuNS0wLjVTMTUuNzgsMTIsMTUuNSwxMnoiLz4KCTwvZz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xNSwzLjVMMTUsMy41QzE1LDMuMjI0LDE0Ljc3NiwzLDE0LjUsM2gtMUMxMi4xMTksMywxMSw0LjExOSwxMSw1LjV2MmMwLDEuMzgxLDEuMTE5LDIuNSwyLjUsMi41aDEKCQljMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNWwwLDBDMTUsOS4yMjQsMTQuNzc2LDksMTQuNSw5aC0xLjAwNEMxMi42Nyw5LDEyLDguMzMsMTIsNy41MDRWNS40OTZDMTIsNC42NywxMi42Nyw0LDEzLjQ5Niw0SDE0LjUKCQlDMTQuNzc2LDQsMTUsMy43NzYsMTUsMy41eiIvPgo8L2c+Cjxwb2x5bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IjYuNSwzLjUgCgk2LjUsOS41IDkuNSw5LjUgIi8+Cjwvc3ZnPgo="});var Eqt=xe((Mhn,nWo)=>{nWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTggMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE4IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8Zz4KCQkJPGNpcmNsZSBjeD0iNiIgY3k9IjE1IiByPSIxIi8+CgkJCTxjaXJjbGUgY3g9IjE0IiBjeT0iMTUiIHI9IjEiLz4KCQkJPHBhdGggZD0iTTE1LjUsMTJINS4xNkwzLjY3OSwzLjYyQzMuNjE2LDMuMjYxLDMuMzA1LDMsMi45NDEsM0gwLjc1QzAuMzM2LDMsMCwzLjMzNiwwLDMuNzVTMC4zMzYsNC41LDAuNzUsNC41aDIuMDdsMS4zNTQsNy42NzQKCQkJCUM0LjI1OSwxMi42NTIsNC42NzQsMTMsNS4xNTksMTNIMTUuNWMwLjI4LDAsMC41LTAuMjIsMC41LTAuNVMxNS43OCwxMiwxNS41LDEyeiIvPgoJCTwvZz4KCTwvZz4KCTxnPgoJCTxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik04LDMuNUg2Ljc1CgkJCUM2LjA2LDMuNSw1LjUsNC4wNiw1LjUsNC43NWwwLDBDNS41LDUuNDQsNi4wNiw2LDYuNzUsNmwwLDBDNy40NCw2LDgsNi41Niw4LDcuMjVsMCwwQzgsNy45NCw3LjQ0LDguNSw2Ljc1LDguNUg2Ii8+CgkJPHBvbHlsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iOS41LDguNSAKCQkJOS41LDMuNSAxMSw3IDEyLjUsMy41IDEyLjUsOC41IAkJIi8+CgkJPHBhdGggZD0iTTE3LDRoLTNjLTAuMjc2LDAtMC41LTAuMjI0LTAuNS0wLjVsMCwwQzEzLjUsMy4yMjQsMTMuNzI0LDMsMTQsM2gzYzAuMjc2LDAsMC41LDAuMjI0LDAuNSwwLjVsMCwwCgkJCUMxNy41LDMuNzc2LDE3LjI3Niw0LDE3LDR6Ii8+CgkJPHBhdGggZD0iTTE1LDguNXYtNUMxNSwzLjIyNCwxNS4yMjQsMywxNS41LDNsMCwwQzE1Ljc3NiwzLDE2LDMuMjI0LDE2LDMuNXY1QzE2LDguNzc2LDE1Ljc3Niw5LDE1LjUsOWwwLDAKCQkJQzE1LjIyNCw5LDE1LDguNzc2LDE1LDguNXoiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K"});var $pt=xe((Ihn,aWo)=>{aWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgNzUuMSA1NS4yIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA3NS4xIDU1LjI7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDojNTU4OEZGO30KPC9zdHlsZT4KPGc+Cgk8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNjMuNSwxNS40Yy0xLjMtMy41LTMuNS02LjctNi40LTkuM0M1Mi43LDIuMSw0NywwLDQxLjEsMEMzNiwwLDMxLjEsMS42LDI3LDQuNmMtMiwxLjUtMy43LDMuMi01LjEsNS4xCgkJQzIxLDkuNiwyMCw5LjYsMTkuMSw5LjZjLTUuMSwwLTkuOSwyLTEzLjUsNS42UzAsMjMuNiwwLDI4LjdjMCw0LjgsMS44LDkuMyw0LjksMTIuOGMyLjUsMi44LDUuOCw0LjgsOS40LDUuN2MxLjYsNC43LDYsOCwxMS4yLDgKCQljNi41LDAsMTEuOC01LjMsMTEuOC0xMS44YzAtMC40LDAtMC44LTAuMS0xLjFsMTYuNS04LjdsLTMuNi02LjNsLTE1LjgsOC4zYy0yLjItMi40LTUuMy00LTguOC00Yy01LjEsMC05LjUsMy4zLTExLjEsNy44CgkJYy00LjItMS44LTcuMS02LTcuMS0xMC44YzAtNi41LDUuMy0xMS44LDExLjgtMTEuOGMyLjMsMCw0LjQsMC43LDYuMywxLjhDMjcuNiwxMiwzMy44LDcuMiw0MS4xLDcuMmM4LjUsMCwxNS42LDYuNCwxNi41LDE0LjcKCQljMC4zLDAsMC42LDAsMC45LDBjNS4xLDAsOS4yLDQuMSw5LjIsOS4yYzAsNC44LTMuNyw4LjgtOC40LDkuMkg1NGMtMC4yLTAuMS0wLjUtMC4xLTAuNy0wLjFjLTIsMC0zLjcsMS43LTMuNywzLjcKCQljMCwxLjksMS41LDMuNSwzLjQsMy43bDAsMGg2LjNoMC4zaDAuM2M0LjEtMC40LDcuOS0yLjIsMTAuOC01LjNjMi44LTMuMSw0LjQtNy4xLDQuNC0xMS4yQzc1LjEsMjMuOCw3MC4yLDE3LjUsNjMuNSwxNS40egoJCSBNMjUuNSwzOC45YzIuNSwwLDQuNSwyLDQuNSw0LjVzLTIsNC41LTQuNSw0LjVDMjMsNDgsMjEsNDYsMjEsNDMuNVMyMywzOC45LDI1LjUsMzguOXoiLz4KPC9nPgo8L3N2Zz4K"});var VAe=xe((Lhn,sWo)=>{sWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgNzcgNjIuOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNzcgNjIuODsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiMxODcxRkY7fQoJLnN0MXtmaWxsOiNFRDkyMDA7fQo8L3N0eWxlPgo8Zz4KCTxwb2x5Z29uIGNsYXNzPSJzdDAiIHBvaW50cz0iMzcuMiwwIDI3LjYsMjUuMSA1MC42LDI1LjEgMTMuNCw2Mi44IDIyLjgsMzcuNyAwLDM3LjcgCSIvPgoJPHBhdGggY2xhc3M9InN0MCIgZD0iTTY4LjcsNDMuOUw2OC43LDQzLjlINDIuMmgtNC45TDI0LjgsNTYuNWg3YzQsMCw3LjQsMCwxMC4zLDBoMTMuNEM2Mi41LDU2LjUsNjguMyw1MC45LDY4LjcsNDMuOUw2OC43LDQzLjkKCQlMNjguNyw0My45eiIvPgoJPHBhdGggY2xhc3M9InN0MCIgZD0iTTc3LDYuM2gtNy4ybDAsMEgzOC42bC00LjgsMTIuNmg0LjNoMjMuN2gwLjNsMCwwaDEuNkM3MC44LDE4LjksNzYuNiwxMy4zLDc3LDYuM0w3Nyw2LjNMNzcsNi4zTDc3LDYuM3oiLz4KCTxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik02OCwyNS4xaC03LjJsMCwwaC01TDQzLjMsMzcuN2g5LjhsMCwwaDEuNmMwLDAsMCwwLDAuMSwwaDAuM2MwLjQsMCwwLjcsMCwxLjEtMC4xCgkJQzYyLjYsMzYuOSw2Ny42LDMxLjYsNjgsMjUuMUw2OCwyNS4xTDY4LDI1LjFMNjgsMjUuMXoiLz4KPC9nPgo8L3N2Zz4K"});var L3e=xe((vhn,lWo)=>{lWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNNSwxLjV2MTRDNSwxNS43NzYsNC43NzYsMTYsNC41LDE2aDBDNC4yMjQsMTYsNCwxNS43NzYsNCwxNS41di0xNEM0LDEuMjI0LDQuMjI0LDEsNC41LDFoMEM0Ljc3NiwxLDUsMS4yMjQsNSwxLjV6Ii8+Cgk8cGF0aCBkPSJNMTUuNSw1aC0xNEMxLjIyNCw1LDEsNC43NzYsMSw0LjV2MEMxLDQuMjI0LDEuMjI0LDQsMS41LDRoMTRDMTUuNzc2LDQsMTYsNC4yMjQsMTYsNC41djBDMTYsNC43NzYsMTUuNzc2LDUsMTUuNSw1eiIvPgo8L2c+Cjwvc3ZnPgo="});var v3e=xe((Dhn,cWo)=>{cWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTE0LjUsOWgtMTJDMi4yMjQsOSwyLDguNzc2LDIsOC41djBDMiw4LjIyNCwyLjIyNCw4LDIuNSw4aDEyQzE0Ljc3Niw4LDE1LDguMjI0LDE1LDguNXYwQzE1LDguNzc2LDE0Ljc3Niw5LDE0LjUsOXoiLz4KPC9zdmc+Cg=="});var D3e=xe((Ehn,dWo)=>{dWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTgsMTQuNXYtMTJDOCwyLjIyNCw4LjIyNCwyLDguNSwyaDBDOC43NzYsMiw5LDIuMjI0LDksMi41djEyQzksMTQuNzc2LDguNzc2LDE1LDguNSwxNWgwQzguMjI0LDE1LDgsMTQuNzc2LDgsMTQuNXoiLz4KPC9zdmc+Cg=="});var E3e=xe((Ahn,uWo)=>{uWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGNpcmNsZSBjeD0iOC41IiBjeT0iOC41IiByPSIxLjUiLz4KPC9zdmc+Cg=="});var Aqt=xe((Nhn,pWo)=>{pWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cmVjdCB4PSItMSIgeT0iOCIgdHJhbnNmb3JtPSJtYXRyaXgoMC43MDcxIC0wLjcwNzEgMC43MDcxIDAuNzA3MSAtMy41MjA4IDguNSkiIGZpbGw9IiNGRjAwMDAiIHdpZHRoPSIxOSIgaGVpZ2h0PSIxIi8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUsMnYxM0gyVjJIMTUgTTE1LDFIMkMxLjQ0OCwxLDEsMS40NDgsMSwydjEzYzAsMC41NTIsMC40NDgsMSwxLDFoMTNjMC41NTIsMCwxLTAuNDQ4LDEtMVYyQzE2LDEuNDQ4LDE1LjU1MiwxLDE1LDEKCQkJTDE1LDF6Ii8+Cgk8L2c+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIiBkaXNwbGF5PSJub25lIj4KPC9nPgo8L3N2Zz4K"});var Nqt=xe((khn,mWo)=>{mWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUsMTZIMmMtMC41NTIsMC0xLTAuNDQ4LTEtMVYyYzAtMC41NTIsMC40NDgtMSwxLTFoMTNjMC41NTIsMCwxLDAuNDQ4LDEsMXYxM0MxNiwxNS41NTIsMTUuNTUyLDE2LDE1LDE2eiIvPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiIgZGlzcGxheT0ibm9uZSI+CjwvZz4KPC9zdmc+Cg=="});var kqt=xe((Phn,hWo)=>{hWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUsMnYxM0gyVjJIMTUgTTE1LDFIMkMxLjQ0OCwxLDEsMS40NDgsMSwydjEzYzAsMC41NTIsMC40NDgsMSwxLDFoMTNjMC41NTIsMCwxLTAuNDQ4LDEtMVYyQzE2LDEuNDQ4LDE1LjU1MiwxLDE1LDEKCQkJTDE1LDF6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cmVjdCB4PSI4IiB5PSIyIiB3aWR0aD0iMSIgaGVpZ2h0PSIxMyIvPgoJPC9nPgoJPGc+CgkJPHJlY3QgeD0iMiIgeT0iOCIgd2lkdGg9IjEzIiBoZWlnaHQ9IjEiLz4KCTwvZz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiIGRpc3BsYXk9Im5vbmUiPgo8L2c+Cjwvc3ZnPgo="});var Pqt=xe((Ohn,fWo)=>{fWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUsMnYxM0gyVjJIMTUgTTE1LDFIMkMxLjQ0OCwxLDEsMS40NDgsMSwydjEzYzAsMC41NTIsMC40NDgsMSwxLDFoMTNjMC41NTIsMCwxLTAuNDQ4LDEtMVYyQzE2LDEuNDQ4LDE1LjU1MiwxLDE1LDEKCQkJTDE1LDF6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cmVjdCB4PSIyIiB5PSIxMSIgd2lkdGg9IjEzIiBoZWlnaHQ9IjEiLz4KCTwvZz4KCTxnPgoJCTxyZWN0IHg9IjIiIHk9IjUiIHdpZHRoPSIxMyIgaGVpZ2h0PSIxIi8+Cgk8L2c+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIiBkaXNwbGF5PSJub25lIj4KPC9nPgo8L3N2Zz4K"});var Oqt=xe((Rhn,gWo)=>{gWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUsMnYxM0gyVjJIMTUgTTE1LDFIMkMxLjQ0OCwxLDEsMS40NDgsMSwydjEzYzAsMC41NTIsMC40NDgsMSwxLDFoMTNjMC41NTIsMCwxLTAuNDQ4LDEtMVYyQzE2LDEuNDQ4LDE1LjU1MiwxLDE1LDEKCQkJTDE1LDF6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cmVjdCB4PSIxMSIgeT0iMiIgd2lkdGg9IjEiIGhlaWdodD0iMTMiLz4KCTwvZz4KCTxnPgoJCTxyZWN0IHg9IjUiIHk9IjIiIHdpZHRoPSIxIiBoZWlnaHQ9IjEzIi8+Cgk8L2c+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIiBkaXNwbGF5PSJub25lIj4KPC9nPgo8L3N2Zz4K"});var Rqt=xe((_hn,bWo)=>{bWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUsMnYxM0gyVjJIMTUgTTE1LDFIMkMxLjQ1LDEsMSwxLjQ1LDEsMnYxM2MwLDAuNTUsMC40NSwxLDEsMWgxM2MwLjU1LDAsMS0wLjQ1LDEtMVYyQzE2LDEuNDUsMTUuNTUsMSwxNSwxTDE1LDF6Ii8+Cgk8L2c+Cgk8Zz4KCQk8Zz4KCQkJPGc+CgkJCQk8cG9seWdvbiBwb2ludHM9IjEyLjQ3LDEgOS4yMSw0LjI2IDguNSw0Ljk3IDEsMTIuNDcgMSwxMS4wNSAxMS4wNSwxIAkJCQkiLz4KCQkJPC9nPgoJCQk8Zz4KCQkJCTxwb2x5Z29uIHBvaW50cz0iMy45OCwxIDEsMy45OCAxLDIuNTcgMi41NywxIAkJCQkiLz4KCQkJPC9nPgoJCQk8Zz4KCQkJCTxwb2x5Z29uIHBvaW50cz0iMTYsMTMuMDIgMTYsMTQuNDMgMTQuNDMsMTYgMTMuMDIsMTYgCQkJCSIvPgoJCQk8L2c+CgkJCTxnPgoJCQkJPHBvbHlnb24gcG9pbnRzPSIxNiw0LjUzIDE2LDUuOTUgMTMuNDUsOC41IDEyLjc0LDkuMjEgOS4yMSwxMi43NCA1Ljk1LDE2IDQuNTMsMTYgNy43OSwxMi43NCA4LjUsMTIuMDMgMTIuMDMsOC41IDEyLjc0LDcuNzkgCgkJCQkJCQkJCSIvPgoJCQk8L2c+CgkJPC9nPgoJCTxnPgoJCQk8cG9seWdvbiBwb2ludHM9IjE2LDExLjA1IDE2LDEyLjQ3IDguNSw0Ljk3IDcuNzksNC4yNiA0LjUzLDEgNS45NSwxIAkJCSIvPgoJCTwvZz4KCQk8Zz4KCQkJPHBvbHlnb24gcG9pbnRzPSIxNiwyLjU3IDE2LDMuOTggMTMuMDIsMSAxNC40MywxIAkJCSIvPgoJCTwvZz4KCQk8Zz4KCQkJPHBvbHlnb24gcG9pbnRzPSIxMi40NywxNiAxMS4wNSwxNiA3Ljc5LDEyLjc0IDQuMjYsOS4yMSAzLjU1LDguNSAxLDUuOTUgMSw0LjUzIDQuMjYsNy43OSA0Ljk3LDguNSA4LjUsMTIuMDMgOS4yMSwxMi43NCAJCQkiLz4KCQk8L2c+CgkJPGc+CgkJCTxwb2x5Z29uIHBvaW50cz0iMy45OCwxNiAyLjU3LDE2IDEsMTQuNDMgMSwxMy4wMiAJCQkiLz4KCQk8L2c+Cgk8L2c+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIiBkaXNwbGF5PSJub25lIj4KPC9nPgo8L3N2Zz4K"});var _qt=xe((jhn,yWo)=>{yWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUsMnYxM0gyVjJIMTUgTTE1LDFIMkMxLjQ1LDEsMSwxLjQ1LDEsMnYxM2MwLDAuNTUsMC40NSwxLDEsMWgxM2MwLjU1LDAsMS0wLjQ1LDEtMVYyQzE2LDEuNDUsMTUuNTUsMSwxNSwxTDE1LDF6Ii8+Cgk8L2c+Cgk8Zz4KCQk8Zz4KCQkJPGc+CgkJCQk8cG9seWdvbiBwb2ludHM9IjEyLjQ3LDEgOS4yMSw0LjI2IDguNSw0Ljk3IDEsMTIuNDcgMSwxMS4wNSAxMS4wNSwxIAkJCQkiLz4KCQkJPC9nPgoJCQk8Zz4KCQkJCTxwb2x5Z29uIHBvaW50cz0iMy45OCwxIDEsMy45OCAxLDIuNTcgMi41NywxIAkJCQkiLz4KCQkJPC9nPgoJCQk8Zz4KCQkJCTxwb2x5Z29uIHBvaW50cz0iMTYsMTMuMDIgMTYsMTQuNDMgMTQuNDMsMTYgMTMuMDIsMTYgCQkJCSIvPgoJCQk8L2c+CgkJCTxnPgoJCQkJPHBvbHlnb24gcG9pbnRzPSIxNiw0LjUzIDE2LDUuOTUgMTMuNDUsOC41IDEyLjc0LDkuMjEgOS4yMSwxMi43NCA1Ljk1LDE2IDQuNTMsMTYgNy43OSwxMi43NCA4LjUsMTIuMDMgMTIuMDMsOC41IDEyLjc0LDcuNzkgCgkJCQkJCQkJCSIvPgoJCQk8L2c+CgkJPC9nPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiIgZGlzcGxheT0ibm9uZSI+CjwvZz4KPC9zdmc+Cg=="});var jqt=xe((Bhn,wWo)=>{wWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUsMnYxM0gyVjJIMTUgTTE1LDFIMkMxLjQ1LDEsMSwxLjQ1LDEsMnYxM2MwLDAuNTUsMC40NSwxLDEsMWgxM2MwLjU1LDAsMS0wLjQ1LDEtMVYyQzE2LDEuNDUsMTUuNTUsMSwxNSwxTDE1LDF6Ii8+Cgk8L2c+Cgk8Zz4KCQk8Zz4KCQkJPHBvbHlnb24gcG9pbnRzPSIxNiwxMS4wNSAxNiwxMi40NyA4LjUsNC45NyA3Ljc5LDQuMjYgNC41MywxIDUuOTUsMSAJCQkiLz4KCQk8L2c+CgkJPGc+CgkJCTxwb2x5Z29uIHBvaW50cz0iMTYsMi41NyAxNiwzLjk4IDEzLjAyLDEgMTQuNDMsMSAJCQkiLz4KCQk8L2c+CgkJPGc+CgkJCTxwb2x5Z29uIHBvaW50cz0iMTIuNDcsMTYgMTEuMDUsMTYgNy43OSwxMi43NCA0LjI2LDkuMjEgMy41NSw4LjUgMSw1Ljk1IDEsNC41MyA0LjI2LDcuNzkgNC45Nyw4LjUgOC41LDEyLjAzIDkuMjEsMTIuNzQgCQkJIi8+CgkJPC9nPgoJCTxnPgoJCQk8cG9seWdvbiBwb2ludHM9IjMuOTgsMTYgMi41NywxNiAxLDE0LjQzIDEsMTMuMDIgCQkJIi8+CgkJPC9nPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiIgZGlzcGxheT0ibm9uZSI+CjwvZz4KPC9zdmc+Cg=="});var Bqt=xe((zhn,CWo)=>{CWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNiAxNjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiNEMzIwMEE7fQo8L3N0eWxlPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNOC41LDFDNC40LDEsMSw0LjQsMSw4LjVTNC40LDE2LDguNSwxNlMxNiwxMi42LDE2LDguNVMxMi42LDEsOC41LDF6IE04LjUsMTVDNC45LDE1LDIsMTIuMSwyLDguNVM0LjksMiw4LjUsMgoJUzE1LDQuOSwxNSw4LjVTMTIuMSwxNSw4LjUsMTV6Ii8+CjxyZWN0IHg9IjYiIHk9IjYiIGNsYXNzPSJzdDAiIHdpZHRoPSI1IiBoZWlnaHQ9IjUiLz4KPC9zdmc+Cg=="});var zqt=xe((Fhn,xWo)=>{xWo.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDBIM0MxLjM0MzE1IDAgMCAxLjM0MzE1IDAgM1YxM0MwIDE0LjY1NjkgMS4zNDMxNSAxNiAzIDE2SDEzQzE0LjY1NjkgMTYgMTYgMTQuNjU2OSAxNiAxM1YzQzE2IDEuMzQzMTUgMTQuNjU2OSAwIDEzIDBaIiBmaWxsPSIjRDdEN0Q3Ii8+Cjwvc3ZnPgo="});var Fqt=xe((Uhn,TWo)=>{TWo.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNyAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeD0iMC4yNjk1MzEiIHk9IjAuNjExODE2IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHJ4PSIzIiBmaWxsPSIjREM5QjA0Ii8+Cjwvc3ZnPgo="});var Uqt=xe((Vhn,SWo)=>{SWo.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNyAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeD0iMC4xMjUiIHk9IjAuNjEyMzA1IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHJ4PSIzIiBmaWxsPSIjRDkwMDFCIi8+Cjwvc3ZnPgo="});var Vqt=xe((Hhn,MWo)=>{MWo.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNyAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeD0iMC45ODA0NjkiIHk9IjAuNjEyMzA1IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHJ4PSIzIiBmaWxsPSIjOTkwMDE0Ii8+Cjwvc3ZnPgo="});var emt=xe((Ghn,IWo)=>{IWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8xIiBkYXRhLW5hbWU9IuWbvuWxgiAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZD0iTTguNSwxQzQuMzYsMSwxLDQuMzYsMSw4LjVzMy4zNiw3LjUsNy41LDcuNSw3LjUtMy4zNiw3LjUtNy41UzEyLjY0LDEsOC41LDFaTTguNSwxNWMtMy41OCwwLTYuNS0yLjkyLTYuNS02LjVzMi45Mi02LjUsNi41LTYuNSw2LjUsMi45Miw2LjUsNi41LTIuOTIsNi41LTYuNSw2LjVaIiBmaWxsPSIjMDAwIiBzdHJva2Utd2lkdGg9IjAiLz4KICA8cGF0aCBkPSJNNyw2bDQsMi41LTQsMi41di00Ljk5TTcsNWMtLjUyLDAtMSwuNDItMSwxdjVjMCwuNTkuNDgsMSwxLDEsLjE4LDAsLjM2LS4wNS41My0uMTVsNC0yLjVjLjYzLS4zOS42My0xLjMsMC0xLjdsLTQtMi41Yy0uMTctLjExLS4zNS0uMTUtLjUzLS4xNWgwWiIgZmlsbD0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIwIi8+Cjwvc3ZnPg=="});var tmt=xe((Yhn,LWo)=>{LWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8xIiBkYXRhLW5hbWU9IuWbvuWxgiAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZD0iTTguNSwxQzQuMzYsMSwxLDQuMzYsMSw4LjVzMy4zNiw3LjUsNy41LDcuNSw3LjUtMy4zNiw3LjUtNy41UzEyLjY0LDEsOC41LDFaTTguNSwxNWMtMy41OCwwLTYuNS0yLjkyLTYuNS02LjVzMi45Mi02LjUsNi41LTYuNSw2LjUsMi45Miw2LjUsNi41LTIuOTIsNi41LTYuNSw2LjVaIiBmaWxsPSIjMDAwIiBzdHJva2Utd2lkdGg9IjAiLz4KICA8cmVjdCB4PSI2IiB5PSI1IiB3aWR0aD0iMSIgaGVpZ2h0PSI3IiByeD0iLjUiIHJ5PSIuNSIgZmlsbD0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIwIi8+CiAgPHJlY3QgeD0iMTAiIHk9IjUiIHdpZHRoPSIxIiBoZWlnaHQ9IjciIHJ4PSIuNSIgcnk9Ii41IiBmaWxsPSIjMDAwIiBzdHJva2Utd2lkdGg9IjAiLz4KPC9zdmc+"});var imt=xe((Whn,vWo)=>{vWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8xIiBkYXRhLW5hbWU9IuWbvuWxgiAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZD0iTTguNSwxQzQuMzYsMSwxLDQuMzYsMSw4LjVzMy4zNiw3LjUsNy41LDcuNSw3LjUtMy4zNiw3LjUtNy41UzEyLjY0LDEsOC41LDFaTTguNSwxNWMtMy41OCwwLTYuNS0yLjkyLTYuNS02LjVzMi45Mi02LjUsNi41LTYuNSw2LjUsMi45Miw2LjUsNi41LTIuOTIsNi41LTYuNSw2LjVaIiBmaWxsPSIjMDAwIiBzdHJva2Utd2lkdGg9IjAiLz4KICA8cmVjdCB4PSI2IiB5PSI2IiB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjMDAwIiBzdHJva2Utd2lkdGg9IjAiLz4KPC9zdmc+"});var omt=xe((Qhn,DWo)=>{DWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNiAxNjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOm5vbmU7c3Ryb2tlOiMwMDAwMDA7c3Ryb2tlLW1pdGVybGltaXQ6MTA7fQo8L3N0eWxlPgo8cGF0aCBkPSJNMTYsMTN2LTFoLTEuMWMtMC4xLTAuMy0wLjItMC42LTAuNC0wLjlsMC43LTAuN2wtMC43LTAuN2wtMC43LDAuN2MtMC4zLTAuMi0wLjYtMC4zLTAuOS0wLjRWOWgtMXYxLjEKCWMtMC4zLDAuMS0wLjYsMC4yLTAuOSwwLjRsLTAuNy0wLjdsLTAuNywwLjdsMC43LDAuN2MtMC4yLDAuMy0wLjMsMC42LTAuNCwwLjlIOXYxaDEuMWMwLjEsMC4zLDAuMiwwLjYsMC40LDAuOWwtMC43LDAuN2wwLjcsMC43CglsMC43LTAuN2MwLjMsMC4yLDAuNiwwLjMsMC45LDAuNFYxNmgxdi0xLjFjMC4zLTAuMSwwLjYtMC4yLDAuOS0wLjRsMC43LDAuN2wwLjctMC43bC0wLjctMC43YzAuMi0wLjMsMC4zLTAuNiwwLjQtMC45TDE2LDEzTDE2LDEzCgl6IE0xMy45LDEzLjFjLTAuMSwwLjMtMC40LDAuNi0wLjcsMC43Yy0wLjEsMC0wLjEsMC4xLTAuMSwwLjFDMTIuOCwxNCwxMi43LDE0LDEyLjUsMTRzLTAuMywwLTAuNS0wLjFjLTAuMSwwLTAuMSwwLTAuMS0wLjEKCWMtMC4zLTAuMS0wLjYtMC40LTAuNy0wLjdjMC0wLjEtMC4xLTAuMS0wLjEtMC4xQzExLDEyLjgsMTEsMTIuNywxMSwxMi41czAtMC4zLDAuMS0wLjVjMC0wLjEsMC0wLjEsMC4xLTAuMQoJYzAuMS0wLjMsMC40LTAuNiwwLjctMC43YzAuMSwwLDAuMS0wLjEsMC4xLTAuMWMwLjItMC4xLDAuMy0wLjEsMC41LTAuMXMwLjMsMCwwLjUsMC4xYzAuMSwwLDAuMSwwLDAuMSwwLjEKCWMwLjMsMC4xLDAuNiwwLjQsMC43LDAuN2MwLDAuMSwwLjEsMC4xLDAuMSwwLjFjMC4xLDAuMiwwLjEsMC4zLDAuMSwwLjVzMCwwLjMtMC4xLDAuNUMxMy45LDEzLjEsMTMuOSwxMy4xLDEzLjksMTMuMXoiLz4KPGc+Cgk8cGF0aCBjbGFzcz0ic3QwIiBkPSJNMTMuMiwyLjhjLTAuMS0wLjEtMC4xLTAuMS0wLjIsMGwtMS45LDEuOWMtMC41LDAuNS0xLjMsMC41LTEuOCwwcy0wLjUtMS4zLDAtMS44bDItMS45CgkJYzAuMS0wLjEsMC4xLTAuMSwwLTAuMmMtMS40LTAuNi0zLTAuMy00LjEsMC44cy0xLjQsMi42LTAuOSw0TDEsMTAuOGMtMC42LDAuNi0wLjYsMS42LDAsMi4yYzAuNiwwLjYsMS42LDAuNiwyLjIsMGw1LjMtNS4zCgkJYzEuMywwLjUsMi45LDAuMiw0LTAuOUMxMy41LDUuOCwxMy44LDQuMSwxMy4yLDIuOHoiLz4KPC9nPgo8L3N2Zz4K"});var rmt=xe((Khn,EWo)=>{EWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8xIiBkYXRhLW5hbWU9IuWbvuWxgiAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZD0iTTEwLjg0LDcuODdsLjYzLDEuNTZoMS4yNWwtMi41NS02LjQ0aC0xLjM1bC0yLjU1LDYuNDRoMS4yNWwuNjMtMS41NmgyLjY5Wk05LjUsNGwxLjE3LDNoLTIuMzRsMS4xNy0zWiIgZmlsbD0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIwIi8+CiAgPHBhdGggZD0iTTkuNSwxYzMuMDMsMCw1LjUsMi40Nyw1LjUsNS41cy0yLjQ3LDUuNS01LjUsNS41LTUuNS0yLjQ3LTUuNS01LjVTNi40NywxLDkuNSwxTTkuNSwwQzUuOTEsMCwzLDIuOTEsMyw2LjVzMi45MSw2LjUsNi41LDYuNSw2LjUtMi45MSw2LjUtNi41UzEzLjA5LDAsOS41LDBoMFoiIGZpbGw9IiMwMDAiIHN0cm9rZS13aWR0aD0iMCIvPgogIDxwYXRoIGQ9Ik00Ljc2LDEyLjNsLTQuNzYsMy43LDMuNy00Ljc2Yy4zMS4zOS42Ny43NSwxLjA2LDEuMDZaIiBmaWxsPSIjMDAwIiBzdHJva2Utd2lkdGg9IjAiLz4KPC9zdmc+"});var nmt=xe((Zhn,AWo)=>{AWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8xIiBkYXRhLW5hbWU9IuWbvuWxgiAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBvbHlnb24gcG9pbnRzPSIxMS41NCAzLjU2IDkuNDkgOC45NyA3LjQ3IDMuNTYgNi4yOCAzLjU2IDguODcgMTAgMTAuMDMgMTAgMTIuNzIgMy41NiAxMS41NCAzLjU2IiBmaWxsPSIjMDAwIiBzdHJva2Utd2lkdGg9IjAiLz4KICA8cGF0aCBkPSJNOS41LDFjMy4wMywwLDUuNSwyLjQ3LDUuNSw1LjVzLTIuNDcsNS41LTUuNSw1LjUtNS41LTIuNDctNS41LTUuNVM2LjQ3LDEsOS41LDFNOS41LDBDNS45MSwwLDMsMi45MSwzLDYuNXMyLjkxLDYuNSw2LjUsNi41LDYuNS0yLjkxLDYuNS02LjVTMTMuMDksMCw5LjUsMGgwWiIgZmlsbD0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIwIi8+CiAgPHBhdGggZD0iTTQuNzYsMTIuM2wtNC43NiwzLjcsMy43LTQuNzZjLjMxLjM5LjY3Ljc1LDEuMDYsMS4wNloiIGZpbGw9IiMwMDAiIHN0cm9rZS13aWR0aD0iMCIvPgo8L3N2Zz4="});var amt=xe((Jhn,NWo)=>{NWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8xIiBkYXRhLW5hbWU9IuWbvuWxgiAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBvbHlnb24gcG9pbnRzPSIxMi4yMyAzLjI4IDEwLjk3IDMuMjggOS40OSA1LjY4IDguMTIgMy4yOCA2Ljg0IDMuMjggOC44NiA2LjQ3IDYuNzcgOS43MiA4IDkuNzIgOS40OSA3LjI0IDExLjAyIDkuNzIgMTIuMjMgOS43MiAxMC4xNSA2LjQ2IDEyLjIzIDMuMjgiIGZpbGw9IiMwMDAiIHN0cm9rZS13aWR0aD0iMCIvPgogIDxwYXRoIGQ9Ik05LjUsMWMzLjAzLDAsNS41LDIuNDcsNS41LDUuNXMtMi40Nyw1LjUtNS41LDUuNS01LjUtMi40Ny01LjUtNS41UzYuNDcsMSw5LjUsMU05LjUsMEM1LjkxLDAsMywyLjkxLDMsNi41czIuOTEsNi41LDYuNSw2LjUsNi41LTIuOTEsNi41LTYuNVMxMy4wOSwwLDkuNSwwaDBaIiBmaWxsPSIjMDAwIiBzdHJva2Utd2lkdGg9IjAiLz4KICA8cGF0aCBkPSJNNC43NiwxMi4zbC00Ljc2LDMuNywzLjctNC43NmMuMzEuMzkuNjcuNzUsMS4wNiwxLjA2WiIgZmlsbD0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIwIi8+Cjwvc3ZnPg=="});var Hqt=xe((qhn,kWo)=>{kWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNzM1MTExNDg5NTQ5IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjE0ODYxIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik02OTYuMzg0IDIzNC42NjY2NjdIMzI3LjYxNkMxNzAuMjQgMjM0LjY2NjY2NyA0Mi42NjY2NjcgMzYyLjI0IDQyLjY2NjY2NyA1MTkuNjE2czEyNy41NzMzMzMgMjg0Ljk0OTMzMyAyODQuOTQ5MzMzIDI4NC45NDkzMzNoMzY4Ljc2OEM4NTMuNzYgODA0LjU2NTMzMyA5ODEuMzMzMzMzIDY3Ni45OTIgOTgxLjMzMzMzMyA1MTkuNjE2Uzg1My43NiAyMzQuNjY2NjY3IDY5Ni4zODQgMjM0LjY2NjY2N3ogbS00LjU2NTMzMyA0OTIuMTgxMzMzYy0xMTQuNDUzMzMzIDAtMjA3LjIzMi05Mi43Nzg2NjctMjA3LjIzMi0yMDcuMjMyczkyLjc3ODY2Ny0yMDcuMjMyIDIwNy4yMzItMjA3LjIzMiAyMDcuMjMyIDkyLjc3ODY2NyAyMDcuMjMyIDIwNy4yMzItOTIuNzc4NjY3IDIwNy4yMzItMjA3LjIzMiAyMDcuMjMyeiIgZmlsbD0iIzE5NzFGRiIgcC1pZD0iMTQ4NjIiPjwvcGF0aD48L3N2Zz4="});var Gqt=xe((Xhn,PWo)=>{PWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNzM1MTc3NDU1NTIzIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjQyODQxIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0yODguMDAyMjQgMjI0Yy0xOS44NzIgMC0zOS4yNjQgMi4xMTItNTguMDE2IDYuMDE2YTI5NS42MTYgMjk1LjYxNiAwIDAgMC0yOCA2Ljk3NkEyOTAuMzM2IDI5MC4zMzYgMCAwIDAgMjMuMDQyMjQgNDAwYy0zLjY0OCA4LjY0LTcuMjY0IDE2Ljk5Mi0xMC4wMTYgMjYuMDE2QTI4My4xMzYgMjgzLjEzNiAwIDAgMCAwLjAwMjI0IDUxMmMwIDI5Ljc2IDQuNjQgNTguMDE2IDEyLjk5MiA4NC45OTIgMC4xMjggMC4yNTYtMC4xMjggMC43NjggMCAxLjAyNEEyOTAuMzM2IDI5MC4zMzYgMCAwIDAgMTc2LjAwMjI0IDc3Ni45NmM4LjY0IDMuNjQ4IDE2Ljk5MiA3LjI2NCAyNi4wMTYgMTAuMDE2IDI3LjIzMiA4LjY0IDU1Ljg3MiAxMi45OTIgODUuOTg0IDEyLjk5Mmg0NDhjMTU4LjYyNCAwIDI4OC0xMjkuMzc2IDI4OC0yODhzLTEyOS4zNzYtMjg4LTI4OC0yODh6IG0wIDY0YzEyNC4xMjggMCAyMjQgOTkuODcyIDIyNCAyMjRzLTk5Ljg3MiAyMjQtMjI0IDIyNC0yMjQtOTkuODcyLTIyNC0yMjRjMC03Ljc0NCAwLjI1Ni0xNS40ODggMC45OTItMjMuMDA4QTIyMy41MiAyMjMuNTIgMCAwIDEgMjg4LjAwMjI0IDI4OHogbTE4MCAwSDczNi4wMDIyNGMxMjQuMTI4IDAgMjI0IDk5Ljg3MiAyMjQgMjI0cy05OS44NzIgMjI0LTIyNCAyMjRoLTI2OEM1MzMuNjAyMjQgNjgzLjEzNiA1NzYuMDAyMjQgNjAyLjQ5NiA1NzYuMDAyMjQgNTEyYzAtOTAuNDk2LTQyLjM2OC0xNzEuMTM2LTEwOC0yMjR6IiBwLWlkPSI0Mjg0MiI+PC9wYXRoPjwvc3ZnPg=="});var Yqt=xe(($hn,OWo)=>{OWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNzQwOTkzMzcwODgzIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjQ2NjUiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTk4MS43NiAwSDYwNi43MmE0Mi4yNCA0Mi4yNCAwIDAgMC00Mi4yNCA0MS42djI2OC4xNkw0NDAuMzIgNTI1LjQ0aDEyNC4xNnY0MTQuNzJINDIuMjRhNDEuNiA0MS42IDAgMSAwIDAgODMuMmg1NjQuNDhhNDIuMjQgNDIuMjQgMCAwIDAgNDEuNi00MS42VjUyNS40NGgxMjQuMTZsLTEyNC4xNi0yMTUuNjhWODMuODRoMzMzLjQ0YTQxLjYgNDEuNiAwIDEgMCAwLTgzLjJ6IiBmaWxsPSIjMDQwMDAwIiBwLWlkPSI0NjY2Ij48L3BhdGg+PC9zdmc+"});var Wqt=xe((efn,RWo)=>{RWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNzQwOTkzMzk0ODgzIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjU3ODEiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTk4MS43NiAwSDQxNy4yOGE0MS42IDQxLjYgMCAwIDAtNDEuNiA0MS42djQ1Ni4zMkgyNTEuNTJsMTI0LjE2IDIxNS42OHYyMjUuMjhINDIuMjRhNDEuNiA0MS42IDAgMCAwLTQxLjYgNDEuNiA0Mi4yNCA0Mi4yNCAwIDAgMCA0MS42IDQzLjUyaDM3NS4wNGE0Mi44OCA0Mi44OCAwIDAgMCA0Mi4yNC00Mi4yNHYtMjY4LjE2bDEyNC4xNi0yMTUuNjhINDU5LjUyVjgzLjJoNTIyLjI0YTQxLjYgNDEuNiAwIDEgMCAwLTgzLjJ6IiBmaWxsPSIjMDQwMDAwIiBwLWlkPSI1NzgyIj48L3BhdGg+PC9zdmc+"});var smt=xe((tfn,_Wo)=>{_Wo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNiAxNjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cmVjdCB4PSIxIiB3aWR0aD0iMSIgaGVpZ2h0PSIxNCIvPgo8cmVjdCB5PSIxIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CjxyZWN0IHg9IjIiIHk9IjEiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KPHJlY3QgeD0iMiIgeT0iMTMiIHdpZHRoPSIxNCIgaGVpZ2h0PSIxIi8+CjxyZWN0IHg9IjE0IiB5PSIxMiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgo8cmVjdCB4PSIxNCIgeT0iMTQiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KPGNpcmNsZSBjeD0iMS41IiBjeT0iMTMuNSIgcj0iMS41Ii8+CjxnPgoJPHBhdGggZD0iTTYuNiwxMmMtMC4xLDAtMC4yLDAtMC4zLDBjLTAuOC0wLjEtMS41LTAuNS0yLTEuMkMzLjUsOS43LDMuMSw4LjMsMyw2LjZMMyw2YzAtMC4zLDAuMi0wLjUsMC41LTAuNVM0LDUuNyw0LDZsMCwwLjUKCQljMC4xLDEsMC4zLDIuNSwxLjEsMy42YzAuMywwLjQsMC44LDAuNywxLjMsMC44YzAuNCwwLDAuOC0wLjEsMS4xLTAuM2MxLTAuOSwxLjItMi4zLDEuNC0zLjZjMC0wLjMsMC0wLjUsMC4xLTAuOAoJCUM5LDQuOSw5LjEsMy42LDkuNywyLjRDMTAsMS43LDEwLjgsMC4xLDEyLjQsMGMxLjEsMCwyLDAuNywyLjcsMS45QzE1LjcsMy4xLDE2LDQuNSwxNiw2YzAsMC4zLTAuMiwwLjUtMC41LDAuNVMxNSw2LjMsMTUsNgoJCWMwLTEuNC0wLjMtMi42LTAuOC0zLjZDMTQsMiwxMy40LDEsMTIuNCwxYy0wLjksMC0xLjQsMS0xLjksMS45QzEwLjEsMy45LDEwLDUsOS45LDYuMmMwLDAuMywwLDAuNi0wLjEsMC44CgkJYy0wLjEsMS41LTAuNCwzLjItMS43LDQuM0M3LjcsMTEuOCw3LjIsMTIsNi42LDEyeiIvPgo8L2c+Cjwvc3ZnPgo="});var Qqt=xe((ifn,jWo)=>{jWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6Izk5MDAxNDt9Cgkuc3Qxe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU+CjxjaXJjbGUgY2xhc3M9InN0MCIgY3g9IjguNSIgY3k9IjguNSIgcj0iNy41Ii8+CjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0xMi42LDhINC40QzQuMiw4LDQsOC4yLDQsOC41UzQuMiw5LDQuNCw5aDguMkMxMi44LDksMTMsOC44LDEzLDguNVMxMi44LDgsMTIuNiw4eiIvPgo8L3N2Zz4K"});var Kqt=xe((ofn,BWo)=>{BWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6I0Q5MDAxQjt9Cgkuc3Qxe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU+CjxjaXJjbGUgY2xhc3M9InN0MCIgY3g9IjguNSIgY3k9IjguNSIgcj0iNy41Ii8+CjxnIGlkPSLlm77lsYJfMl8wMDAwMDAyNjg4NTk0MjQ2MTg5NzA3NzM1MDAwMDAxMDU5MjI1NDUxMTQ5MjU0MzQxNV8iPgo8L2c+CjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik04LjUsMTBMOC41LDEwQzguMiwxMCw4LDkuOCw4LDkuNXYtNUM4LDQuMiw4LjIsNCw4LjUsNGgwQzguOCw0LDksNC4yLDksNC41djVDOSw5LjgsOC44LDEwLDguNSwxMHoiLz4KPGNpcmNsZSBjbGFzcz0ic3QxIiBjeD0iOC41IiBjeT0iMTIuNSIgcj0iMC44Ii8+Cjwvc3ZnPgo="});var Zqt=xe((rfn,zWo)=>{zWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6I0RDOUIwNDt9Cgkuc3Qxe2ZpbGw6bm9uZTt9Cgkuc3Qye2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU+CjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0xNS45LDEzLjVsLTctMTJDOC43LDEuMSw4LjMsMSw4LDFDNy43LDEsNy4zLDEuMSw3LjEsMS41bC03LDEyQy0wLjMsMTQuMSwwLjIsMTUsMSwxNWgxNAoJQzE1LjgsMTUsMTYuMywxNC4xLDE1LjksMTMuNXoiLz4KPHJlY3QgY2xhc3M9InN0MSIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+CjxwYXRoIGNsYXNzPSJzdDIiIGQ9Ik03LjQsNi4xdjMuOGMwLDAuMywwLjMsMC42LDAuNiwwLjZsMCwwYzAuMywwLDAuNi0wLjMsMC42LTAuNlY2LjFjMC0wLjMtMC4zLTAuNi0wLjYtMC42bDAsMAoJQzcuNyw1LjUsNy40LDUuOCw3LjQsNi4xeiIvPgo8Y2lyY2xlIGNsYXNzPSJzdDIiIGN4PSI4IiBjeT0iMTIuMyIgcj0iMC43Ii8+Cjwvc3ZnPgo="});var Jqt=xe((nfn,FWo)=>{FWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNOCwwQzMuNTgsMCwwLDMuNTgsMCw4YzAsNC40MiwzLjU4LDgsOCw4czgtMy41OCw4LThDMTYsMy41OCwxMi40MiwwLDgsMHogTTgsMTVjLTMuODYsMC03LTMuMTQtNy03czMuMTQtNyw3LTcKCQkJczcsMy4xNCw3LDdTMTEuODYsMTUsOCwxNXoiLz4KCTwvZz4KCTxjaXJjbGUgY3g9IjgiIGN5PSI0IiByPSIwLjc1Ii8+Cgk8cGF0aCBkPSJNOCwxMkw4LDEyYy0wLjM0NSwwLTAuNjI1LTAuMjgtMC42MjUtMC42MjV2LTQuNzVDNy4zNzUsNi4yOCw3LjY1NSw2LDgsNmgwYzAuMzQ1LDAsMC42MjUsMC4yOCwwLjYyNSwwLjYyNXY0Ljc1CgkJQzguNjI1LDExLjcyLDguMzQ1LDEyLDgsMTJ6Ii8+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIj4KPC9nPgo8L3N2Zz4K"});var d9=xe((afn,UWo)=>{UWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNOCwxNmM0LjQyLDAsOC0zLjU4LDgtOGMwLTQuNDItMy41OC04LTgtOFMwLDMuNTgsMCw4QzAsMTIuNDIsMy41OCwxNiw4LDE2eiBNOCwxYzMuODYsMCw3LDMuMTQsNyw3cy0zLjE0LDctNyw3CgkJCXMtNy0zLjE0LTctN1M0LjE0LDEsOCwxeiIvPgoJPC9nPgoJPGNpcmNsZSBjeD0iOCIgY3k9IjExLjI1IiByPSIwLjc1Ii8+Cgk8cGF0aCBkPSJNOCwzTDgsM2MwLjM0NSwwLDAuNjI1LDAuMjgsMC42MjUsMC42MjV2NUM4LjYyNSw4Ljk3LDguMzQ1LDkuMjUsOCw5LjI1aDBjLTAuMzQ1LDAtMC42MjUtMC4yOC0wLjYyNS0wLjYyNXYtNQoJCUM3LjM3NSwzLjI4LDcuNjU1LDMsOCwzeiIvPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg=="});var qqt=xe((sfn,VWo)=>{VWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHJlY3QgZmlsbD0ibm9uZSIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+CjxwYXRoIGQ9Ik0xMy44MDMsMy4xOTdDMTIuMzM5LDEuNzMyLDEwLjQxOSwxLDguNSwxQzYuNTgxLDEsNC42NjEsMS43MzIsMy4xOTcsMy4xOTdjLTIuOTI5LDIuOTI5LTIuOTI5LDcuNjc4LDAsMTAuNjA3CglDNC42NjEsMTUuMjY4LDYuNTgxLDE2LDguNSwxNmMxLjkxOSwwLDMuODM5LTAuNzMyLDUuMzAzLTIuMTk3QzE2LjczMiwxMC44NzQsMTYuNzMyLDYuMTI2LDEzLjgwMywzLjE5N3ogTTEzLjA5NiwxMy4wOTYKCUMxMS44NjksMTQuMzI0LDEwLjIzNiwxNSw4LjUsMTVzLTMuMzY4LTAuNjc2LTQuNTk2LTEuOTA0Yy0yLjUzNC0yLjUzNC0yLjUzNC02LjY1OCwwLTkuMTkyQzUuMTMyLDIuNjc2LDYuNzY0LDIsOC41LDIKCXMzLjM2OSwwLjY3Niw0LjU5NiwxLjkwNEMxNS42MzEsNi40MzgsMTUuNjMxLDEwLjU2MiwxMy4wOTYsMTMuMDk2eiIvPgo8cGF0aCBkPSJNMTIuNzQzLDUuNjcyYy0wLjE5NS0wLjE5NS0wLjUxMi0wLjE5NS0wLjcwNywwbC00LjU5Niw0LjU5Nkw0Ljk2NCw3Ljc5M2MtMC4xOTUtMC4xOTUtMC41MTItMC4xOTUtMC43MDcsMAoJYy0wLjE5NSwwLjE5NS0wLjE5NSwwLjUxMiwwLDAuNzA3bDIuODI4LDIuODI4YzAuMDk4LDAuMDk4LDAuMjI2LDAuMTQ2LDAuMzU0LDAuMTQ2YzAuMDY0LDAsMC4xMjgtMC4wMTIsMC4xODgtMC4wMzcKCXMwLjExNy0wLjA2MSwwLjE2NS0wLjExYzAsMCwwLDAsMCwwbDQuOTUtNC45NUMxMi45MzgsNi4xODMsMTIuOTM4LDUuODY3LDEyLjc0Myw1LjY3MnoiLz4KPC9zdmc+Cg=="});var HAe=xe((lfn,HWo)=>{HWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBkPSJNOCwxNmM0LjQyLDAsOC0zLjU4LDgtOGMwLTQuNDItMy41OC04LTgtOFMwLDMuNTgsMCw4QzAsMTIuNDIsMy41OCwxNiw4LDE2eiBNOCwxYzMuODYsMCw3LDMuMTQsNyw3cy0zLjE0LDctNyw3CgkJCXMtNy0zLjE0LTctN1M0LjE0LDEsOCwxeiIvPgoJPC9nPgoJPGNpcmNsZSBjeD0iOCIgY3k9IjExLjI1IiByPSIwLjc1Ii8+Cgk8cGF0aCBkPSJNOCwzTDgsM2MwLjM0NSwwLDAuNjI1LDAuMjgsMC42MjUsMC42MjV2NUM4LjYyNSw4Ljk3LDguMzQ1LDkuMjUsOCw5LjI1aDBjLTAuMzQ1LDAtMC42MjUtMC4yOC0wLjYyNS0wLjYyNXYtNQoJCUM3LjM3NSwzLjI4LDcuNjU1LDMsOCwzeiIvPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg=="});var qx=xe((cfn,GWo)=>{GWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNMTEsNXY3SDRWNUgxMSBNMTEsNEg0QzMuNDQ4LDQsMyw0LjQ0OCwzLDV2N2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDdjMC41NTIsMCwxLTAuNDQ4LDEtMVY1QzEyLDQuNDQ4LDExLjU1Miw0LDExLDRMMTEsNHoiCgkJLz4KPC9nPgo8cGF0aCBkPSJNOS41MDYsOUg1LjQ5NEM1LjIyMSw5LDUsOC43NzksNSw4LjUwNnYwYzAtMC4yNzMsMC4yMjEtMC40OTQsMC40OTQtMC40OTRoNC4wMTFDOS43NzksOC4wMTEsMTAsOC4yMzMsMTAsOC41MDZ2MAoJQzEwLDguNzc5LDkuNzc5LDksOS41MDYsOXoiLz4KPHBhdGggZD0iTTcuOTk0LDYuNXY0LjAxMWMwLDAuMjczLTAuMjIxLDAuNDk0LTAuNDk0LDAuNDk0aDBjLTAuMjczLDAtMC40OTQtMC4yMjEtMC40OTQtMC40OTRWNi41YzAtMC4yNzMsMC4yMjEtMC40OTQsMC40OTQtMC40OTQKCWgwQzcuNzczLDYuMDA2LDcuOTk0LDYuMjI3LDcuOTk0LDYuNXoiLz4KPGc+Cgk8cGF0aCBkPSJNNy41LDBDNy4yMjQsMCw3LDAuMjI0LDcsMC41UzcuMjI0LDEsNy41LDFTOCwwLjc3Niw4LDAuNVM3Ljc3NiwwLDcuNSwwTDcuNSwweiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTcuNSwyQzcuMjI0LDIsNywyLjIyNCw3LDIuNVM3LjIyNCwzLDcuNSwzUzgsMi43NzYsOCwyLjVTNy43NzYsMiw3LjUsMkw3LjUsMnoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik03LjUsMTRDNy4yMjQsMTQsNywxNC4yMjQsNywxNC41UzcuMjI0LDE1LDcuNSwxNVM4LDE0Ljc3Niw4LDE0LjVTNy43NzYsMTQsNy41LDE0TDcuNSwxNHoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xMy41LDhDMTMuMjI0LDgsMTMsOC4yMjQsMTMsOC41UzEzLjIyNCw5LDEzLjUsOVMxNCw4Ljc3NiwxNCw4LjVTMTMuNzc2LDgsMTMuNSw4TDEzLjUsOHoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xNS41LDhDMTUuMjI0LDgsMTUsOC4yMjQsMTUsOC41UzE1LjIyNCw5LDE1LjUsOVMxNiw4Ljc3NiwxNiw4LjVTMTUuNzc2LDgsMTUuNSw4TDE1LjUsOHoiLz4KPC9nPgo8L3N2Zz4K"});var $ce=xe((dfn,YWo)=>{YWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iMC41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iMi41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iNC41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iNi41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iMTUuNSIgY3k9IjguNSIgcj0iMC41Ii8+CjxjaXJjbGUgY3g9IjEzLjUiIGN5PSI4LjUiIHI9IjAuNSIvPgo8Y2lyY2xlIGN4PSIxMS41IiBjeT0iOC41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iOS41IiBjeT0iOC41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iOC41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iMTAuNSIgcj0iMC41Ii8+CjxjaXJjbGUgY3g9IjcuNSIgY3k9IjEyLjUiIHI9IjAuNSIvPgo8Y2lyY2xlIGN4PSI3LjUiIGN5PSIxNC41IiByPSIwLjUiLz4KPC9zdmc+Cg=="});var GAe=xe((ufn,WWo)=>{WWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iMC41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iMi41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iNC41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iNi41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iMTUuNSIgY3k9IjguNSIgcj0iMC41Ii8+CjxjaXJjbGUgY3g9IjEzLjUiIGN5PSI4LjUiIHI9IjAuNSIvPgo8Y2lyY2xlIGN4PSIxMS41IiBjeT0iOC41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iOS41IiBjeT0iOC41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iOC41IiByPSIwLjUiLz4KPC9zdmc+Cg=="});var lmt=xe((pfn,QWo)=>{QWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iMC41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iMi41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iNC41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iNi41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iOC41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iMTAuNSIgcj0iMC41Ii8+CjxjaXJjbGUgY3g9IjcuNSIgY3k9IjEyLjUiIHI9IjAuNSIvPgo8Y2lyY2xlIGN4PSI3LjUiIGN5PSIxNC41IiByPSIwLjUiLz4KPC9zdmc+Cg=="});var A3e=xe((mfn,KWo)=>{KWo.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAABHGAAARxgBc4LeuQAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNAay06AAAAKLSURBVDiNjZNbSFMBGMf/52xeuugcXraz4TbXMnyIMBzDwEtoGFj0YEWZCE1tWIQFVkTP0UNv4uXFHuqhC0lB0G0VljYKFeyiYlN0Xqbb2ebWtnPm8eyc04Molnn54Hv54Pd9/+/j/0GSJGwnL55SWz5ctbJvLzS2rK0TkiRhq6irMuTa9lW8OaA05QQZVhyacz9scThsL4aHWXIrmCB0eVbjUYc5Iy8nsrgIIc6ThrS0Gmt+/j2CIGSbKrhzTW1KTwt9Hus5qGq2HANBcAixLDieR5RlMTA717ahgqbabNOJslBvQw2n2l/6BTftXfCHOQhCHLFYDDwfByljL/23QXM9ZbJV+3r26Dm1ewSorQTKSwdxu/slFsIcREHEeGhmfjQ8Ur5uhev11N7zJ4OfjHqOol2AWgH4xwEqGXhgB9735cGi0/h6aUfR477Yr78aNNdpcutOBz8adYsUPQWoUwDfBJAVB6ZpwCgHOvtJT8MTsVySpGEAkK/A7beI3Maz6M7WgvK6ACoVoCeATB6Y9gOqODAUlHlJJXlYkoTRFY4EAEthRarGUGCXEkwa96QclGJ5ciYPzPoAFQ9MRmTetp+JJdaOpVUYwLKRnj/rOlRWbHbIZSRC/YVI8rihEIAZH5DFA66IzNP2I6m4/RUz9u/B5QBgyFYeSU0hgHgIAy4tdEscAswCtIKIqajM2/o9uaTjdXQdvKogMNPXna5MLMXSAiSBQZgJIPj0Bjg/7b07uLu40x5xbuQXcucuZQFNe83YwQHibxBCAGTMg0F/wljrV2wKAwBxpenyI58/cKa6Uh8tMuv7nc7xnnm3+91x28A3SXQym8EAgNpzVYyWyrifLEfRdl97bf4BieNunvAT0yUAAAAASUVORK5CYII="});var Xqt=xe((hfn,ZWo)=>{ZWo.exports="data:image/svg+xml;base64, "});var $qt=xe((ffn,JWo)=>{JWo.exports="data:image/svg+xml;base64, "});var eXt=xe((gfn,qWo)=>{qWo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBmaWxsPSJub25lIiBkPSJNOS4zLDQuMTFDOS4wMSw0LjA2LDguNzEsNC4wMyw4LjQxLDQuMDJDOC43LDQuMDUsOC45Nyw0LjExLDkuMjQsNC4xOUw4LjUyLDUuMDVDOC4zNSw1LjAyLDguMTgsNSw4LDUKCQlDNi4zNSw1LDUsNi4zNSw1LDhjMCwwLjM2LDAuMDYsMC43LDAuMTksMS4wMkw0LjQ3LDkuODdDNC4xNyw5LjMxLDQsOC42OCw0LDhjMC0yLjA3LDEuNTctMy43NywzLjU5LTMuOTgKCQlDNC44MSw0LjE1LDIuNCw1LjcyLDEuMDgsOGMwLjY1LDEuMTIsMS41NiwyLjA2LDIuNjUsMi43NmwtMC42NSwwLjc3Yy0wLjk5LTAuNjQtMS44NS0xLjQ5LTIuNTItMi40NwoJCUMwLjQ0LDguODgsMC4zMiw4LjcsMC4yMSw4LjUxYy0wLjE4LTAuMzItMC4xOC0wLjcsMC0xLjAyQzAuMzIsNy4zLDAuNDQsNy4xMiwwLjU2LDYuOTRDMi4xOCw0LjU2LDQuOTEsMyw4LDMKCQljMC43LDAsMS4zOCwwLjA4LDIuMDQsMC4yNEw5LjMsNC4xMXoiLz4KCTxwYXRoIGZpbGw9Im5vbmUiIGQ9Ik0xNS43OSw4LjUxYy0wLjExLDAuMTktMC4yMywwLjM3LTAuMzUsMC41NUMxMy44MiwxMS40NCwxMS4wOSwxMyw4LDEzYy0wLjcsMC0xLjM4LTAuMDgtMi4wNC0wLjI0bDAuNzQtMC44NwoJCWMwLjI5LDAuMDUsMC41OSwwLjA4LDAuODksMC4wOWMtMC4yOS0wLjAzLTAuNTYtMC4wOS0wLjgzLTAuMTdsMC43Mi0wLjg2QzcuNjUsMTAuOTgsNy44MiwxMSw4LDExYzEuNjUsMCwzLTEuMzUsMy0zCgkJYzAtMC4zNi0wLjA2LTAuNy0wLjE5LTEuMDJsMC43Mi0wLjg1QzExLjgzLDYuNjksMTIsNy4zMiwxMiw4YzAsMi4wNy0xLjU3LDMuNzctMy41OSwzLjk4YzIuNzgtMC4xMyw1LjE5LTEuNyw2LjUxLTMuOTgKCQljLTAuNjUtMS4xMi0xLjU2LTIuMDYtMi42NS0yLjc2bDAuNjUtMC43N2MwLjk5LDAuNjQsMS44NSwxLjQ5LDIuNTIsMi40N2MwLjEyLDAuMTgsMC4yNCwwLjM2LDAuMzUsMC41NQoJCUMxNS45Nyw3LjgxLDE1Ljk3LDguMTksMTUuNzksOC41MXoiLz4KCTxwYXRoIGQ9Ik0xNS43OSw3LjQ5Yy0wLjExLTAuMTktMC4yMy0wLjM3LTAuMzUtMC41NWMtMC42Ny0wLjk4LTEuNTMtMS44My0yLjUyLTIuNDdsLTAuNjUsMC43N2MxLjA5LDAuNywyLDEuNjQsMi42NSwyLjc2CgkJYy0xLjMyLDIuMjgtMy43MywzLjg1LTYuNTEsMy45OEMxMC40MywxMS43NywxMiwxMC4wNywxMiw4YzAtMC42OC0wLjE3LTEuMzEtMC40Ny0xLjg3bC0wLjcyLDAuODVDMTAuOTQsNy4zLDExLDcuNjQsMTEsOAoJCWMwLDEuNjUtMS4zNSwzLTMsM2MtMC4xOCwwLTAuMzUtMC4wMi0wLjUyLTAuMDVsLTAuNzIsMC44NmMwLjI3LDAuMDgsMC41NCwwLjE0LDAuODMsMC4xN2MtMC4zLTAuMDEtMC42LTAuMDQtMC44OS0wLjA5CgkJbC0wLjc0LDAuODdDNi42MiwxMi45Miw3LjMsMTMsOCwxM2MzLjA5LDAsNS44Mi0xLjU2LDcuNDQtMy45NGMwLjEyLTAuMTgsMC4yNC0wLjM2LDAuMzUtMC41NUMxNS45Nyw4LjE5LDE1Ljk3LDcuODEsMTUuNzksNy40OXoKCQkgTTEwLjA0LDMuMjRDOS4zOCwzLjA4LDguNywzLDgsM0M0LjkxLDMsMi4xOCw0LjU2LDAuNTYsNi45NEMwLjQ0LDcuMTIsMC4zMiw3LjMsMC4yMSw3LjQ5Yy0wLjE4LDAuMzItMC4xOCwwLjcsMCwxLjAyCgkJQzAuMzIsOC43LDAuNDQsOC44OCwwLjU2LDkuMDZjMC42NywwLjk4LDEuNTMsMS44MywyLjUyLDIuNDdsMC42NS0wLjc3Yy0xLjA5LTAuNy0yLTEuNjQtMi42NS0yLjc2QzIuNCw1LjcyLDQuODEsNC4xNSw3LjU5LDQuMDIKCQlDNS41Nyw0LjIzLDQsNS45Myw0LDhjMCwwLjY4LDAuMTcsMS4zMSwwLjQ3LDEuODdsMC43Mi0wLjg1QzUuMDYsOC43LDUsOC4zNiw1LDhjMC0xLjY1LDEuMzUtMywzLTNjMC4xOCwwLDAuMzUsMC4wMiwwLjUyLDAuMDUKCQlsMC43Mi0wLjg2QzguOTcsNC4xMSw4LjcsNC4wNSw4LjQxLDQuMDJjMC4zLDAuMDEsMC42LDAuMDQsMC44OSwwLjA5TDEwLjA0LDMuMjR6Ii8+CjwvZz4KPHBhdGggZD0iTTEzLjIzNSwyLjkyOGwtOS4zMiwxMS4xMDhjLTAuMjY2LDAuMzE3LTAuNzM5LDAuMzU5LTEuMDU3LDAuMDkybDAsMGMtMC4zMTctMC4yNjYtMC4zNTktMC43MzktMC4wOTItMS4wNTdsOS4zMi0xMS4xMDgKCWMwLjI2Ni0wLjMxNywwLjczOS0wLjM1OSwxLjA1Ny0wLjA5MmwwLDBDMTMuNDYsMi4xMzgsMTMuNTAxLDIuNjExLDEzLjIzNSwyLjkyOHoiLz4KPC9zdmc+Cg=="});var cmt=xe((bfn,XWo)=>{XWo.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPGRlZnM+CiAgICAgICA8cGF0dGVybiBpZD0ic2xhc2hQYXR0ZXJuIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPgoJCQkJCTxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iI2NjYyIgc3Ryb2tlPSJub25lIiAvPgoJCQkJCTxwYXRoIGQ9Ik0gOCAwIEwgMTYgMCAwIDE2IDAgOCBaIE0gOCAxNiBMIDE2IDggMTYgMTYgWiIgZmlsbD0iIzk5OSIgc3Ryb2tlPSJub25lIiAvPgoJCQkJPC9wYXR0ZXJuPgogICAgPC9kZWZzPgogICAgPHJlY3Qgd2lkdGg9IjQ4IiBoZWlnaHQ9IjMyIiBmaWxsPSJ1cmwoI3NsYXNoUGF0dGVybikiPjwvcmVjdD4KPC9zdmc+"});var dmt=xe((yfn,$Wo)=>{$Wo.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHJlY3Qgd2lkdGg9IjQ4IiBoZWlnaHQ9IjMyIiBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMiI+PC9yZWN0Pgo8L3N2Zz4="});var umt=xe((wfn,eQo)=>{eQo.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPGRlZnM+CiAgICAgICAgPHBhdHRlcm4gaWQ9InRyYW5zcGFyZW50LXBhdHRlcm4iIHg9IjAiIHk9IjAiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CiAgICAgICAgICAgIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iI2ZmZiIgc3Ryb2tlPSJub25lIj48L3JlY3Q+CiAgICAgICAgICAgIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSI4IiBoZWlnaHQ9IjgiIGZpbGw9IiNkZmRmZGYiIHN0cm9rZT0ibm9uZSI+PC9yZWN0PgogICAgICAgICAgICA8cmVjdCB4PSI4IiB5PSI4IiB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSIjZGZkZmRmIiBzdHJva2U9Im5vbmUiPjwvcmVjdD4KICAgICAgICA8L3BhdHRlcm4+IAogICAgPC9kZWZzPgogICAgPHJlY3Qgd2lkdGg9IjQ4IiBoZWlnaHQ9IjMyIiBmaWxsPSJ1cmwoI3RyYW5zcGFyZW50LXBhdHRlcm4pIj48L3JlY3Q+Cjwvc3ZnPg=="});var pmt=xe((Cfn,tQo)=>{tQo.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPGRlZnM+CiAgICAgICAgPHBhdHRlcm4gaWQ9ImdyaWQtNDUtZGVncmVlIiB4PSIwIiB5PSIwIiB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KICAgICAgICAgICAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjgiIGhlaWdodD0iOCIgZmlsbD0iI2ZmZiI+PC9yZWN0PgogICAgICAgICAgICA8bGluZSB4MT0iMCIgeTE9IjAiIHgyPSI4IiB5Mj0iOCIgc3Ryb2tlPSIjY2NjIiBmaWxsPSJub25lIj48L2xpbmU+CiAgICAgICAgICAgIDxsaW5lIHgxPSI4IiB5MT0iMCIgeDI9IjAiIHkyPSI4IiBzdHJva2U9IiNjY2MiIGZpbGw9Im5vbmUiPjwvbGluZT4KICAgICAgICA8L3BhdHRlcm4+CiAgICA8L2RlZnM+CiAgICA8cmVjdCB3aWR0aD0iNDgiIGhlaWdodD0iMzIiIGZpbGw9InVybCgjZ3JpZC00NS1kZWdyZWUpIj48L3JlY3Q+Cjwvc3ZnPg=="});var tXt=xe((xfn,iQo)=>{iQo.exports="data:image/png;base64, "});var iXt=xe((Tfn,oQo)=>{oQo.exports="data:image/png;base64, "});var oXt=xe((Sfn,rQo)=>{rQo.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAABWCAYAAABvqhzBAAAACXBIWXMAAAsSAAALEgHS3X78AAAJHElEQVR4nO2dX2hbVRzHfyfVbl1d260zW/vSiA8y9mBEnE+yuCKKIquIbApqplD1YdgHLbo9rBPZtAhWBroWpVVBFBUz/PMgROuDDwrFTBj+QVny0nRhWdNtXbfO5sgv+93uLk1u7u29J8nJ/X3gkNybe8/9983v/M75nXOukFICw+hKgJ8cozMsYEZrWMCM1rCAGa1hATNawwJmtIYFzGgNC5jRGhYwozUsYEZrWMCM1rCAGa1hATNawwJmtIYFzGgNC5jRmhsqnbwQoqF6vEspRR2cBuMRFQUMDfTQG+3PyLALwWiOLQvcSKRD3X1dyemYcUljY2NJAOgpcYmp/v7+UPFK3r622xdTcVAnFruN4kKkQ92FixUtMtu0cSl688+Zb2p/VowbfOdCBN/LwPo95zs3Hjj7CUyJCZgS4To4LeaatXeE7yxw15fpUj+lZt/Y8OflE2vOykUx3JWcTlT/7PzN2NjYshD7+/tt681XFrjzcPadMj/1tOxcuD/Qnn8cAH6b2dr1TzrUHU2HujuqfIq+BMVriBY/zWKuhK8E3HzbYq7cb2u3X4LgsQxseusMrL370q2iRX4AALO5Jzc8WN2z9B/FFteJBfZdK0QlbrzlCnTsy0H+mUDg8q9rYM32y9/ClDgOABNwp4y5y53xGm4HLkOgNQ8t9y4UPgFgFwB8BVMiN/vYRnQxvsfmuHo8b7/BFtgZ7S07F8L5iwFYPNl838zWriwIeF9eFMe6ktOOa9CMe3xlgc991Oa6yQx95c7XsoXmuNaH5zsD6/IvA8Cpc/vad3tzlowTamaBhSi0v2IqjragJUtIKT1vypo/3rqr7alznuTVFFyC9bvPYwosnmyG5m2Ln8KUeLXgK1/1l8tWGBnvqLqAhRBRABii8OEcirVoExR1uxAihdtJKSfq/Xk3b1s0vt4OAG9jyty1+Wz+QmBWLojXASDWlZxmQSugagImixsj4X4IACPlrCxtOwAA40IIFHufVxY5/WhX4bN11/zxtqfOLeeZPdDZt/hn8+3F2xdvd/rpzQP5C4H24u2wjdncTJfPBV6RV8RGvIbuVHochNpY0OHDh6Gzs7PUTzXp41A1MBJnla5uYr2NjTzQ6uKXSXQZHOwXon1wIer2PBo5AUCEUpTcmBylIa+ve3R0NKniXo6OjjrWmvJKHLkM4wDwjpQyIqW0XVvHbXEf3JescVTt2eqLlHKS0oSUMkp//hEsyYQQCSrVXENRsh4n0TKlqLTA5M9KchfcWvERyivsd2vr8L6FqJ6Rc3vvDAtZ/OlVqkcLjD7vT1LKAbcZUR4/UZ6M/fuWJNcCP2NCiFX37zCFeFPgMORrk5TTHZT1RjO5Drc4cRsq5InW5BQA7NWhdaKeIOEWREwuRmNcl0IB482a9PpmCSFQuOhL167mqykqjEqtUeJCUIWhh/xWr8E8e7yqlPgJKrVS1ES5gmDvcDjYOzxkXh/sHR7AdcHe4RAtd5jWddC6CC2HzftVurWYZ7B3OGpaHjJ9jxrHtEKVD4w+15yKaBrlOUcVRMY5KOIVHZFIfGgcDprWDdG2OWrOBApC4fNF8cZIxCNUUYzBNfHa8bWNfY3jH8Q/g+k4FfNQJeCOEhE2L0mUCEEz9pgsFZDIxAcTmfhgpGg1WsdoJj6IIsuRyIx1A/QMHsDfMvFBFG+SBB21U/riMYGsOv0pUvRZ0JDxuxUqWyFUh05ZwOrpycQHDV85R4apPRMfNJ6t8VsHiTBE7kmMrLNhoa1IUGkaodIhQlbYlgFUKWDVw3G4+2J9MENWPUZW13BPRmhdJV940ogiZuKDQyTmsMllsYQ7tDNWpEwVsw6ywnOmyhV+JtGdIPfDiP6FaVs7RmaSXI6EaXnArgVW1ZknqbiSFabihnFOpFTAgIrtCFyrvE1QGkFXAMhnDfYO4zpscciReJO0D4o3jGImt6GPRF/JkibIJzee5ySNgKmpC5GgLpGei5jybLdbxDAriFaIZh4yvlCRHiMh9tG6AVNo2tyaYfi/QJW+Qr/uTHzQ0tCQP33IJGA83iGT720JBzJ8RCMGMjiU7BMaNZSsrBJnivp4KbRCnixeZ5B4J6nYd92xajVTQKnKV3UrBPpIO4QQrkPKlMeOUlEkxvK+GYMCQjSyZdXt86Y+wD1Fy15RasSHJUoFTGHfvQDwohsR074vkuvA85bZAK0uDccy7lfE7b0zT/tkng6qptjoEM1DivTouO7LIUVVGdSJPisOa6EmklNCCLuDOp8mP/oOLyyvMT8wVGFQ58yeLTiocw1+n3huH+zfv9/t6VtiMajTGAV+HW4HdZrch5oO6qz69Kp2h9WTcD0dVm8xvarnnN67+YK8Ik7jsPqv9w+N10VxW+esxi2p+rwQJMgJqlxESnTKmVA1sYkqaGITzP2EEcHa/PvMtcrS2Ni4LteiGzWbmYfahqvaHIbuAIUpXbOUaYKLP66DhR9a8ktnmgKtD8/vaTs691mZfB2P9WLs4avJ/ciXdSXgS7+uhflvWgtWF9+1gZP7AcCxtqNzZdswazrxR4PDs1M6Y+7CFzdl/5u+4V8AeHfLH2keIV1jWMBlyM8Hln3bQGt+eYLrTfG6PF3fwgIu4sqpGwsuwqVf1ublggi03LPwUMfHs9/V1Ukyy/iqQ/viX81lR4mgb5t5PghnXtqE4v1XLohnAWADi1c9xSFpJyFqfs3WVZS+ZguDAFyRs4Zfs2UTbP5CF2HpdNN5mub1DrhThjZ8fvaBLX+nn1D0jjjHnVT8Bok2VfeBjFqTeSFYaP66+P06ftVsnbGaUspXLsSRI0dkdPToI/yyb323X4GNXk6eTqFZy+T1dKAqe1lxspd4WD2jNbYEjG5EI6RsNlurZ8V9IRRR0QdmmHqGXQhGa1jAjNawgBmtYQEzWuMrAa9m4oxg77C0WlZ1XMYefrPA10V8VL2sr0S+3BdCEb7tD+xkBKzpvQ22MCYA4ZHI6vGlgI0ivYwFLhWDXzGvQlFeJS0sd6OsAn6KuZv7JNjtn3Dzzjel1bKXx+LkPPm2FcI8z5fXsPtQPfwm4Ov6JKgSWYl8uS+EIrgvBKM1HMhgtIYFzGgNC5jRGhYwoy8A8D+HfjBa1Qe2TwAAAABJRU5ErkJggg=="});var rXt=xe((Mfn,nQo)=>{nQo.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAABWCAYAAABvqhzBAAAACXBIWXMAAAsSAAALEgHS3X78AAAI2UlEQVR4nO2dTWwbRRTH3zhtmlBIHAzOxyVGSBQJUEyDgAOohlzg1CAkuLXuJVxA9aEyogg1VUWr5pTCKZEqAkIIJFBdqdeoqTgVKZIrQGpBqM6lbixCnUCbNlUy6G3fJlPHWe/GO7bH+37Syt717ux6/febN/PezAopJTCMqYT4l2NMhgXMGA0LmDEaFjBjNCxgxmhYwIzRsIAZo2EBM0bDAmaMhgXMGA0LmDEaFjBjNCxgxmhYwIzRsIAZo2EBM0azo9LFCyGaKuNdSika4DIYn6goYGiiH73Z/owMuxCM4biywM1EPtYX7s3dKNpfaXJyMgcA/WW+4tzIyEisdCPvX9/9S6k4qBOr3WZxIfKxPil2ycs91/KvNsDlMD4QOBdC3hOvzL/Q80kDXApTAlljTwTOAnd9fAvEDvnXrr33XoJBWXRxGFMDJicn14U4MjLiWm+BssCRkwtn2l6+C7v23nsaAGZgVlT0sRj9oHht0eKrKuZKBErArXtWVIs7AABZmBXDdbwkpozFZQvsns7VQss5dC3mn+/5MR/rY4tsGEEXMLREV8Hyi9vkOwBw/eYzvd+xkM0h8AJG0C+OThRC4Q+LEOpYex+FXBjsHm+AS2MqEKhAxtI3HfGOA0tbft7+xjIuoeWL7bB2O3QYZkUCAMatBt+g9NzFw+inbgIWQsQBAJfS6hqFkpVSZv0+5+3zu/c7CdgGhUxgQ+8r6+2suDJ/sDsGIcitLYUyVgMQINubu8HCriM1F7AQIgkAoxQ+XCQhqKCoO4UQc7iflHKqQe7VQFf6Fty93DZwP7dzYOX3VmtjPtYH7a8vfxZOFS/A4MafLh/rw+8Rxve9uRszdbzupqZmAiaLmyHhfo1V81ZWlvZNofUTQqDYh/2yyPl3e63X3ftvn+84sLRe5sKnkeGVq60Dpfur+7U+twK3xrpSa/+FOtV9ln9uP/HI23eeaAWB3XRF60/Z0nsBVmE3fR8/Lt2RkydPQiQSKbdLXXIcagZG4pyWB7s47+OiDLS60vIlAWIejovRMbiSrPY6mnkBgAQteK+n6I9UpFrM1+8+MTGR03EvJyYmPGtNey8EuQzoR56RUiakdN8Ywn3xGDyWrHFS79Wai5RyhpYpKWWS/vzYAE0JIbJUq1UNRcn6vUTLtKLTApM/K8ldqNaKj1NZ8aBbW4/3LUbtjGK19862kKWvfi2NaIHR570kpUxVWxCVcYnKZNzftxy5FviaEUKEt3vvlBDvHHgM+bpkzusB2rLRFNfhKS9uQ4Uy0ZpcB4BDDdQ7YQQkXEvE5GI0x/fSKGC8WTN+3ywhBAoXfWkO93pEh1GpN1pcCGow9JPf6jdYZr9fjZIgQbXWHHVRbiI6NBaPDo2NqtujQ2Mp3BYdGovReljZFqZtCVqPq8dVurVYZnRoLKmsjyrvk/Y5ndDlA6PPtagjmkZlLlIDkfEOinhTCimJD43DMWXbKO1bpO5MoCBUgoI0GRLxODUUM7AhXje+tn2sff5j+GdQzlOxDF0CDpeJsPlJtkwImnHHTLmARGE6nS1MpxMlm9E6JgvTaRRZkURmb0vRb/AWflaYTqN4cyTopJvaF88JZNXpTzFHr5aG7M+d0NkLoXu4DgtYP/2F6bTtKxfJMHUWptP2b2t/FiYRxsg9yZB1ti20E1mqTRNUOyTICrsygDoFvO3uGpdwEk1jcJOseoasru2ejNO2Sr7wjB1FLEynR0nMccVlcYTzgRkn5pSGWZis8KLSuMLXHLoT5H7Y0b847evGyMyQy5FV1lNuLbCuZJ6c5kZWnKobxjuJcgEDqrYTsNF4m6JlHF0BIJ81OjSG27DHoUjizdExKN44ipnchmESfSVLmiWf3P49cf/99XYhspQS6buIqcxOt1UMs4lkhWjmcfsNVekZEuIwbUspoWm1N8P2f4EafVZed2E67WhoyJ8+rggYz3dc8b0d4UBGgGjGQAaHkgNCs4aStTXilKiPn0KzymTxeoPEO0PVftWJVduZAkpXubp7IdBH2ieEqDqkTGXsKxdFYhzvmz0oIEYjW7bdP6/kAPeXrPtFuREfjmgVMIV9DwHA4WpETMceJtdBZ4SvaUCrS8Ox7PuVqPbeqdM+qdNB1RUXCdE8pMiMxPVADimqyaBO9FlxWAt1kVwXQrgd1HmQ/OgX/bC8OIWU/X47gzqR+YPdmwZ1Ak0cSHOvWYM68+9tDOqc+uAjOHr0aLWX74jDoE57FPhDVDuoU3Ef6jqos2ajkkmAMWVY/UEhxJbD6km4vvc29P6Ut9/up8Ui8vnCVoes74dD6dv3LcP93E6wh9UjOKy+dc/Ktw9NfrLa95odTo9EIhcbbYpar6Kr68hjB2o+LwQJcooaF4kySTlTuiY2qZIr/5x4/FnRLq+6mdikN3dj4/onJxvsqzQPdZuZh/qGa9odhu6AanW3AqeWggcz9FxZT0oZlMWeP7d9as9jvRh3BGpuNPJltxQwCvff7x9bW/27JdQSWT3TfuRO1X2m0MDVbzMQuKcUlePuL22wdLbDEq5olT8AwNHo7DynaxpA4AW8WmiBW6e7IPTo2jkAONLzR56FaxBBF/BiS3TVykXt/u0mC9dAApXQvnKtVR0lcsXqshuUGZ4itb6UhqS9hKj5MVs1AIMA3JBzhh+z5RL0d4tfhM/W+BlxnpNUggaJds5rfkXgBIyPmu3+9eapBrgUpoTt1FKBciFOnTolkxNfdvHDvs3dfxMuspx8nUKznovf04HqzLLixd3Cw+oZo3ElYHQjmmFZWNgy40w3nAuhiYo+MMM0MuxCMEbDAmaMhgXMGA0LmDGaQAl4OxNnRIfGpNO6rvMy7giaBX4o4qPrYX1lyuVcCE0ENh/Yy8QcynMbXGFPANIQE380OYEUsF2lb2GBy8XgN82rUFJWWQvLaZQ1IEgxdzUnwW1+wpNvnpZO636eixfvS2B7IdR5vvyG3YfaETQBP5SToEtkZcrlXAhNcC4EYzQcyGCMhgXMGA0LmDEaFjBjLgDwPym09lZ0JGykAAAAAElFTkSuQmCC"});var nXt=xe((Ifn,aQo)=>{aQo.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAABWCAYAAABvqhzBAAAACXBIWXMAAAsSAAALEgHS3X78AAAJ+UlEQVR4nO2df0xb1xXHz30GgwMBB4yLUVXcTWuytV2oIqFpWjRnNNM0TYJuf6yZttX7IZZ0m0abiXVoXcg0VQqaVjpNpTBtZf/0j0hVXO2Htqao7jJpWRUauoYm+6WaSrOJgWBICMZg3+mY88jDMvhhG3gXzke6st/jvcd773593rn3nnuekFICw6iKxjXHqAwLmFEaFjCjNCxgRmlYwIzSsIAZpWEBM0rDAmaUhgXMKA0LmFEaFjCjNCxgRmlYwIzSsIAZpWEBM0rDAmaUpiTXyQshVI94nwGAESpBLFLKmAXOiykCOWdkoICllEKlmy2E8BkWvVRw3Sdp3SsAEMDCYlYcFPB6ZXmT9bfZytLf3x8q5P8BQBsADOJ1AQCKtxsAnFa6Ri7mi1IWeGBgYOVk29vbCzonIYQTADpsACcHzpypXHI6jX8ea29v92b5/yEAaMxyON5+C7bPiioWuL+/X2b7LLSEGz3OyP76vnCjR14/5E7KSxCQl6BDXgJvuNGTLmwRrVuU6YXItLiFWmAdTygcq78WOQEA95Y3x0+Sr/wsALxX9tDCKH6O7/dExw94+iLehraIt8Fp7sjMRiBrvGG4G43whMKhqudnerHBl7qpXVl8rxRqfnRjj+tnk1DROldX+sHF4wBwzn4gEYThVY1EpkDINWw0uoimUcWFyHQlNrNMPOw6jC7F9GNOKS/BSkm+oaULLceSr2l/GD941/8iB+pfDTd6/Oxu5F+fmZ9mC1vgLLjOT1wAgCfmgw6Yf92xsoFWkUoXolpzpj5b9eXZhrIHF44Kh/y17m5MHq07bJVrsTqFuoY5BzJ2K55QuHf8Pk9z7JfOY6JCQnlzPOudcByZTxfUN7od8TfL68qb43+BYfE29jPPv+G4FvuF8wB+94TCI7v9vhYbFvA61P8r8qXxj3jet7mS3waAylzbl967mC7EQSwl9yyBzZVMJSdtp8Y/5IlDCVyQ8+IlTyg8uG0XtoNgAeeg/t3IUzAs/gQAr+ezPwra3R/VklEbJEbt5fE3y48u/qf0SOo126e1famzOLQd+YInvS32iGzdle0MWMBmOCSDyfMlL8ASHLe5k3kdAvdzuFfcDbzvx6hA+cfiN+IXy2uuf7T+7dSsFmB3wzzciDPJ5JOu9yeerJOpueLfsurHZ2r2/WAaHIfnD9pcyacB4PLEJ9zvwLAwNxq1i2ELbJLUTa1PlMin535f4dj7xZtFPTb2bGAjEUvV12fT7gYAPIC9GjAsxtDNiJ5wfzg1q70l4+LPuMzuxjIsYJOgYCLehp5bZytP3Tq73J6rfWbqOfv+xIqQEv+0O6e6ar+X7YgVrXOvVH11diSfbZHUtPaoXBTNAHC8YSyCwRxbdekzehgqBkFZLnqPBzK4rFHvPip+it6L6dF7VqpXtsBMVqSUQcP6QT16D4sQAkNS/VLKbW9ociOOMQW6DlJKjJ1uou2DQoim7b57Kgp4zALnsGuRUobItcDPAFnmYpBXve7IKUXM5kPCDdG0LP923XJ2IZi8oN4I9IkfE2L7+qstI2B3S0+Tu6WnO2NdB65zt/R4adlpWOekdT5abjLutw2XsOuQUg7So3/D9xvr1N3S4zcsdxu++/U6z4UlBEziw2DyU4Z13TQBM0Z9kEATMNH/QvEGSMS9NGU+AHfEy7Mmto5BqqeNotedXv+n0BjRMbrN1qElBBwd6hyJDnVmznLAX6c/OtSJFxmji9TXddBU+c/g36JDnSjeEAnar98YZksIrjExM2edAz1VySiN0Sfi1P+eCyv7wI3RoU59nlSMfpHV0aFOfSRI/5uTboKXHmUBss66hWasywh1y/nIkvvICpvuX1a9ETdOFiBAVld/lPXSOvaFrU1QH/GLDnXqfcxNBpcxJ1YW8JihYeYkKzxjcO7xM4TuBLkfXhJuE22b1yxXZksJksunW9wgGR3TFtgSQ8n02PDBncbbIJVedAWAfCZ3Sw+uwx6HGIk3RPugeJtQzOQ2tJHoTf+SmbzxFTC4NEL+sz47BeurVWUX4rT+hR4pARJiG63Tf52xjJav7v8CNfpQ2Ngw5Gk7m49f7wHaKNSeOW0QMB7ntKHtkxMeiWPyRgiB4n0Rk8LQEPOWwwJm8oKHkvMk3xRETPEg8QbJlStKT89uSi214U5zpnhQ3EOQ2h1tRZyhkVe9cjAPYwq0ukKIbkMPgc8KAe08I4PJiiHLvZ7dfmWQiALbLQELeANEvA3dxoCjrZzUOf5o/VNyUZTh98FvfRe6urq26rL1SZ3dVpzUyQI2CeYFFiWys+Lzc2CYVr9KgPb9CfC8HFnrgK1Ucm6bjNpasVASlfS0epsr+W5y2vZ3nFZfW1t7jnuGlmEBm0Tbmzohl0R5xefmin5sTJaSGLVD4oodkwNCcsIGJXcvXal7buIrcGjZz6z7m2GHgYGin4OqsIBN4vr55D2wBMKQXrVozDxfnU4tpVWlVlJL1f01ul4DiecFEixgMwwLn60GjhdyCErul7awS+GSRG331MvavtSrKNb4xfL0Nnf9Y9yUf2n6BSi7ABZwDq4/WP/Dmh+XdpV+YDGv/TFn8PSZfWm3QJTKuHDIi6lZ7bfaw8mVOA0PD83kDQt4Hcbv87wkE9qx5KQNzAiYElzDniO3MRslJrgOLrxVdiU5YbsbLW39vyOccbLIsIDXIOJt6AAQx5zfia2ZnR3BVxCgaBfeKUvJeaEJh5xauFz2CL2mACoPAVQ+s73XspPhkbgs0DsunnX4VvL5psHeAmN61VRM++PMb6qnE9fsQTkvvoFRWfVXIy5dvExuMt9MtNE3FSkXjYYXWKx3xGVlWDhTN7ULiav2B9Dy6m5Buptr1A72+xNXa38y9Tgmvd60c8gBBr7spIZcIW9gZQtMRLwN3ltde7+JIYLa3lRavDd+WnN78vsumPtdxdTif0tfAIBHEqP2j2+neIkdFdBEoh3LxzApI+BCHzVrgSNs+BZOTCZ9+/yeX9Gw6RMA8NDC5bL7dbcA3+bpCYUDnFh6c8j3icIv+wY42dfXVym1Vb9lS7+8W3ejdtvLx7OiYILrUCH7U1QV9sFKPWGzakmzOcn3naKcD2zml4mhgIbixzhWIQTms0XRnqOJol/DUEErhQYyG8dUPzBVvKrMUBD2COWNCGYJCVQttoBjIYicPjDDWBnuRmOUhgXMKA0LmFEaFjCjNCzgTUiW4m7pkestFwond7kDC3iZVaNBxRqmLhZZzoeTuxAcD5xBsaLdDO97KBgaNt7cKDxFYQEb0B/NeVjgbGP3a47wrRMDkPP8eD5cBrt9LF1mxBYUI86g7lNn5HrLVjjHnVLYB85Af1xb6ZzYfVgbFvAyq2ILrCaWLOfDsRAEx0IwSsMWmFEaFjCjNCxgRmlYwIy6AMD/ARsGE9IWY3o3AAAAAElFTkSuQmCC"});var aXt=xe((Lfn,sQo)=>{sQo.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAABWCAYAAABvqhzBAAAACXBIWXMAAAsSAAALEgHS3X78AAAJiklEQVR4nO2df2wjRxXH36yTXHK5NCbOL/sP4hbUaxFIKalU/gBhCIiCKl0KqFAJgYES7g4qQosCTXu9HBItjVQ4BLo0ERUBQSUKFTnpVIqqKEYVEkgY/EehPYmqG4Rsn/Pj7OZyziWxB73kTbJxnXhjO85O/D7SyPF6vZnd/frtm5k3b4SUEhhGVwy+c4zOsIAZrWEBM1rDAma0hgXMaA0LmNEaFjCjNSxgRmtYwIzWsIAZrWEBM1rDAma0hgXMaA0LmNEaFjCjNSxgRmtqClVeCKF7xHsKACJUQliklEkH1IspAwVnZKCApZRCp4sthAhY3vqp4LYP07aLADCJhcWsOSjg3crGLrvvU8kyNjZmlvL/AKAPACbwvAAAxTsMAG4nnSMX+0UrCzw+Pr5Z2f7+/pLqJIRwA8CAC+Dh8ZGnGtea3dbjzfT39/vz/H8TALryHI73r8D+edHFAo+Njcl8r6WWaJfXHTveORrt8srEB9r+wdZPr6JNL0SuxS3VAiu8ZjTZ+XrsFADcfOSOG7+CsIhAWAQhvG6hmQpB1njPcDca4TWj5k0XUuexsZddNB6+8fcj/4v5ffLKezt/H/P7uh1RyUMKuYZdVhfRLizgXHpkcuEHLacXnmxprLttBVytmc8AwD/jt3v/E/P7gs6qrP6gaNXTFF/3KmIWcB5aX559BQC+vfJ6HTTeswSe789D/V3L7xIN8tnMizWPsHtRPkp1DVnAO+A1o+hO/DL5MzdklwxwP5iEzl/HDVdH5gkAuAphMXn18y3PxW/zjrKLcXAUHImrZrxmNBh/jzfuas18AwCO5VyKE/V3LsPqG7WQWXadjN/unQcJv5PLYsxrRiPVfu0qBQu4AJ3/jn0PwuIlAJjO3bPhI+n1svpmLaz8q86Tnm446WrP3Ath8cP1YeseyULeZ1jAduiRoczLNc/AGqBA3/aF2ptX1wv6ywDQAQA/Xv8gLFJXvtJRK68LQzTIv2bfMv6Mwvaa0ZDjzlFT2Ae2ydxDrf+dfahNoj+8B5pbziwcbfrCYv2R998IuFozZ9CSpx5wvwRh0QdhsT7ahD50zO+zN/LEbIMtsE2yi8aoqJFnli41NjR9btH295R1Jgz6AXyCCmT+WAPiSNuavCFqYn4fGMeyJhiQMpqyj7X9JXFJfZEaiqr3I4IDMBW/CA6EBWwTFEzM7xu59vyxs9ee32jPeZ6Y/0nd8ZVNIa1crnPPD3m+le+IjSeWLt70xbciRmM2376b9yF7zfDX+NcuN923eA+ExZ0UcBQBl/cSZKAR9/HNxDCYo1KnnlJhqBgE5bjoPV1iIXJjIrjsb6HwUyxBit5Lqug9J91XtsBMXqSU1obmhIrewyKEwJDUoJQH38vCjTjGFug6SCkxdloN2oSEEAc+gKOjgGccUIeqRUppkmuBr5NkmctBUff1UE4pYvYfEq5J07IOLMiJXQimKKg3An3iLwkhDqwP2zECbu8d6W7vHRnO2TaA29p7R/z03m3Z5qZtAXrfbf3eAZxC1SGlnKBH/56vN97T9t6RoOX9sOXvoLrnhXCEgEl8GP111rJtmCZgJqkPEmgCZoA69CdJxOdpyvwkbImXwx0rxwTdp72i7p26/2fRGNExhu3eQ0cIODE1GElMDQZyNuOvM5iYGsSTTNJJqm0DNFX+bvwsMTWI4jVJ0EF1YZiKENphYmbBew70VCWjNEOviFt9Xggn+8BdialBNU8qSb/I5sTUoBoJUp+56SL46VE2SdZZWWjGuUSoWy5AljxAVth2/7Lujbg4WYBJsrrqUXaetrEv7GxCasQvMTWo+pi7LS5jQZws4BlLw8xNVjhlce7x1UR3gtwPPwm3m/YtapYrU1FC5PIpixsio2PbAjtiKJkeGwHYarxNUDmPrgCQz9TeO4LbsMchSeI16Tso3m4UM7kNfSR6jrvdfwIlDC5FyH+eoPd4v07o7EKcU3/QI2WShNhH29SvM5nT8lX+L1CjD4WNDcOJfP+EKStB1QO0V6g9c84iYDzOOUvbpyA8EscUjRACxfsLTApDQ8wVhwXMFAUPJRdJsSmImPJB4g2RK1eWnp5qSi21505zpnxQ3EOI2h19ZZyhUdR95WAexhZodYUQw5YegoATAtp5RgaTF0uWe5XdfnOQiALbHQELeA/E/L5ha8BRMZM67exLkzpD9Xctx9Wkzth9W5M6J77+IAwNDVXqtNWkzmEnTupkAdsk5ve5RY0cbPz0Elim1W8TYN3xFfC+ENvpgNhBfwKn1ePMZLVvJuGC2YGNafW4E06rzy4Yy4u/abpUfzq9Oa0eMr4Pqggtj8czzT1DG7CAbWI0ZU/JNVFP2XdsQ2mnNl5frctm5lzG0Y9d/1PzqdQzaFldn1wz5an1nA9JzFG803G35VsbH3fCJXEELGCbtP5o7p2wBkLldbBJav5Rz1HIQsaaWqr558ltQ9xFJAPkeYEEC9gOYRFwtcDJnfZUVjY93QCu9syVd3z36mZyv87L5a+O7QVQqgAWcAGuvK/zkZbHa4dqb1l9244o2MXfNkFm1gWiQa6nV101a8c4K2XlYAHvQvxW73Nyxbg/M+eCPAK+mH6lAXOmYattrPO1GIv2AGAB70DM7xsAEPe7v5lc7zVI/tQNy3+rz7Y9PfuYqyMzimtptFx0ZNWrCh6Jy8Pcx9s+hDl+cZEXdBHmH/egeN+QafFV16fWnkTxOq7SmpK7qAsv8lIqYeFueXThQvPXUmlc5EWmxQsAcEfna7F3e82oI+KLD1NAk3VlIuuKRXZhAROYYPraUNMD2HtgNGWfPnr3dZ/XjIqOV+OfdeCaF4cqoIlEO1PM4pXaCLjUR81O4AgbrjQEAG+mpxtOQ4/shh45wW5CZSm2a7DqF/uuEfCdCxdGG6Wx7bfs6MW71aO22hYfz4uGCa7NEhM399EcLKkSNuuWNJuTfG8V7XxgO79MDAW0lCDGsQohMJ8tivYPFBTzZQwVdFJoILN3bPUD043XlRQFYUcob0QoT0igbrEFHAtBFPSBGcbJcDcaozUsYEZrWMCM1rCAGa1hAe9DbEF774jc7X2pcHKXLVjAG2wbDSrXMHW5yFMfTu5CcDxwDsVEROXDst5DyaiIrXLU67DBAragHs1FWOB8Y/c7jvDtEgNQsH48Hy6Hah9LlzmxBeWIM2j76FNyt/dOqONhKewD52ANsHYK7D7sDAt4g22xBU4TS576cCwEwbEQjNawBWa0hgXMaA0LmNEaFjCjLwDwfwFJ9oyf5xpyAAAAAElFTkSuQmCC"});var sXt=xe((vfn,lQo)=>{lQo.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAABWCAYAAABvqhzBAAAACXBIWXMAAAsSAAALEgHS3X78AAAIkElEQVR4nO2dQYhbRRjHZ7JdimzbRBez3YJuqOC1gRY8KZFcPAiNKAgebLzsnmT3lJu4i9BDEEmPWS+rgjcxBa/BgCfBpduroE0Utm2kNt26SKmbkS/5Jp3NviQveW/eezPv+8EjyUvezBvmn+99M/PNDBdCMIIwlQTVHGEyJGDCaEjAhNGQgAmjIQETRkMCJoyGBEwYDQmYMBoSMGE0JOAxcM4znPMK57zJORdDxx5+l4lsAWIACdgBznkKxMkYu8MYKzDGaoyxN4eOBn53B4WcilxBYgDFQgzBOc8yxnYYY2BZN4QQOxN+X2SMgdibjLGiEGIvjPuOKyRgBXQH9lCMOSFEx+V1KbTIcH1WCNEM6p7jDglYAfxa/ORavBJFxEwIkdV7p4SEfGCEc77JGLuEbsBU4mV90cI14E5cwrSIACAL/Mx6wmO/IoTwJD4U7wa4E7P8EYjpIAvcB3oTktgY80oF0yqEXKZYQBa4bzWhmwzcAF9E53d6xGjIAvfJYV+vX9QwTUIzJOA+SfSB/aKJaRKaIQE/gxpcBkI+cN9nFUIIHvU0iZOQBSaMhgRMGA0JmDCaU3GvvruZC9rCIL+sVv8QnL/EGGutrq6eiBve3t6G3ooVh0tD+b2JxLoRB+Llp8XP4gl/dbm572uD627mguCnxa/iCX9tubkfag8HCNkWwQ4TaxcCxDt3/ugVXelD2pCHrvTdsL29DRZqBV+tI74C3uXZhbcPVxY/ezCnKwtIG/KAvHTlMQ4Q7erqau/JAq82ijieAu4LqnH2g8enEwtdtnD18KbfWUCakDbk0YsTDkHEUrzg8w59toZYCRh83oOPk+9j4PlgqPfchwe+TwMaShPyakDeOhuNo7DV/2VxErBssP23f+qbkOIUkpA33EMYIraVWAhYihcaVan1znxY9wF5y4ZdECJO58ub4z7bgPUCVsULjSrwS4e5f21pw+98ndKEvOEeAhTxpxM+G4/1Ak6c634/TrxA95+E7y7FqDRVEcO9+Z1v3LB7JG6XZ1/4ZP7K3NLRSPGGgRTx0f25K73eicv61pJI58uNyBRcA/YKGLvK5i8+PROBuzkBiDhxsXsGu9hyGkWs+r0/asojNKwTMPiV8GgGyxtV8Q6RfPr7/E9/f3T+l+5B4h2/h53b9dLAAqfzZT+TjgRW+cCywZZ4vvv63NKRCeLtAfcK90xdbNNjjYDd9DaMQtdInNvfauyd2Jrw2XisiEbzIl5ki132tqDJCXZ7C5xM1W3VPUywB58sHh3dm/stClFsJmCFBX7ujX/f8yDeyKBaYiiTsQUJEPMFvMuzqfXO5y9+8ZfR4pVAGaAsUCa/AoAwsN1KzBYwdpV5jW0IaiRuSpJeo9iU8MmVoc/WYKQPLH1eiLXFcEVv6b27zHTMyFj+7q7ndB5/e/bJ4Q8LrVl9YlW0FE4ZAdQG28LVQ8/ijTpQRi+9Eyjalo3iZV4sMC5JWsAjF2SI4v7K8uA9dFepsbfw6HaKQ5j0Ox0WWL5PnOk+Wvrq/mDly4Ovz2UPby5cHb5m0u8utLxbdDdcv36dLS4uDn4phPhzbW3t5eFLdU9KdcNMAlbWwAUB3MTF7JpYWKvH3m2Hcy4XJcygcYI/0CM/1k6W+DnJdCoB4x4SNVzJfAsLRX2VFoNP2g3s074NovayB4jvPjkI2M0Bm5fgAnh7uJGJ62v9PKrVajOsvMM+wiw71v8eamCm+q9Wq8Lp1cvhqhGH/8IdZfeeMLeScvKh4kJoZcc6z6EGdmbZF0/HJFO3vRCb6BNNvXsPYQ9Y9znUwsz+sJ+TTCcKGP3eddz0j8Qbc1AD4BOvR2GbXTfxwHCzrUk7VhLxAbSg9EQNRhzT+TL4yYV2vbSpnIPvey5ou15qpvPlFG5HBq+Vdr3USefLObnNQ7te2pPXteuliZvuuHEh/N4/grCDY/uAoHgragQezoIuYMNPdq9u4nUg4BoKuoINxBo7LvqJuBHwpYgJuBWBewiLKJVddqf2AMvZrpeGN7YBS1tES9pBkctzG+hLvwXfteul3liCYqFdbXlm3FCyzavMTMLAsq+A24DvO2hVk+A24Dn5XQqFm0GXpIbWWVrokdAC10TY3EP3ooZWV+6tV8FzY6P6SMCETlroNjC0vmB5H6XzZfkkgdcmuBPofmRQuHLQbOKIn5teiNv4r6AYB0KlgNroofQkyMbbDh4VcAUY+snpfBnObabz5Q6Kt4nXgHizIGZ0Gwoo+rG6c2OBG7TvL+HAKKM2mDiK3Wk1FGIBz20oQ9KqrqT/y7DRB8KGhuH47lsXY+CQMLwpxj0egMo+0EQRNZEJ+14mWmCMPLoBj4JZxr81QLEQIYIaAAt5w0tUml9MEwsBN9uIiIiJEMC6b6AWZo6F8HOSqSsB4/h3Ed0JEHEoez4Q4YF13kANFGeJi9ExydR1NxqG00nh3oKxcLLG9gN1jHEPt7Cw2VnDadWNZtQNaLwwVT8w+DxCiCy2NKHF+JBzXuOcF2EqijIdhTAUWY9Yp9CD8BDregvq3qvf6/ck05lWp4S5UZzzijKpsyIndXKud/IrTDiEneC1ZhJRgiq7w6TOg7W1tRM+r5dJnUPuQ7CTOgkiKtBQMmE0JGDCaEjAhNGQgAmjMU7AQS8VCrv8pPPlAr6vYDRVL/oq6B2AbF4mdVZMtMDHum0CWDJUHcDJKfPAcvidNhzKFuc4EEeMdiH8Gs2ZAFjZrDK1pYOxqxndMdLqyBXhjLHbbMnHqc8V7NShLi2wanFzeG6azv2Z8XMxPNswVsBQoUFYYFzLgCkB3DIQO6NMWDx2X37mj2Uk8Y7AaBciwEcsWN5rKOAGvte+PlxALpLRmCjgY2sjBFTBINYWWFycEn47iDmCDmWL85oYjlAsBGE0NJBBGA0JmDAaEjBhNCRgwlwYY/8D8P6nnVrc80wAAAAASUVORK5CYII="});var lXt=xe((Dfn,cQo)=>{cQo.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAABWCAYAAABvqhzBAAAACXBIWXMAAAsSAAALEgHS3X78AAAIs0lEQVR4nO2dTWgbRxTH3zhxksZJJJqiVO7BWwiU0oMFgTaQi4LatIdCBDkEcmhEoYZCwT6JQg+1L0nRoSin1j65vSQ9hCrQSz9EdczFRD6UHiNfrERtiZ3EqR2nnvKkt8pYWUur1X5odt8PFn3uzKz2r7dvZ96bEVJKYBhdGeEzx+gMC5jRGhYwozUsYEZrWMCM1rCAGa1hATNawwJmtIYFzGgNC7gLQghDCFEUQtSEELJjq9JnxtAeQARgAVsghIijOAHgLgBkAaAEAGc7tgp9dpeEHB+6A4kAHAvRgRAiBQCLAICWdUZKudjj+zkAQLHXACAnpawG0e6owgJWIHegSmJMSynXbO4XJ4uM+6eklDW/2hx1WMAK6NfSK9viNVFEDFLKlLctZUzYByaEELMAMEluQF/ihZZocR90JyapLMYH2AI/t5542S9KKQcSH4l3Bt0JJ38Epj/YArfA3oQY3YwNSpHKygZ8TJGALXDLamI3GboBrojO7fKYvWEL3CJNfb1uUaIyGY9hAbeIkQ/sFjUqk/EYFvBz+IZLQ9gHbvmsUkophr1M5kXYAjNawwJmtIYFzGgN+8Ae+cBXr16Vx48fx6crU1NTL8QMLywsYE/FhMWugXxfVyIv4Loxjv21vydrq64KuG6M4w97NllbrbhZrhNQzGESrQq7ECFnYWEB/0gT9Bg6WMAhBkU7NTXVvLLgYxhFzAIGqB5+98nPbhdKZQaanWGKF/3ejtehIfI+MCw1U4iycGqwMEqLcmebMRGnOMXIS9gCext0wwE9HsMCbmVR6Fh2TxKZwq6rSufrMBBpAd97M/nLxk9jk/cvn5hxu2wsE8vGOtwuuw++7Phq52vtiayA68a4If8V742+vg07j0dcD33EMvcl/gOsA+tyu3ymxf6o/g7ioLwxenIbDrz11LM6Dr29CaPGNjyr778BAKc9q6gLiUwh8IEUL4mkBa4b41m5Jd45evGR53Ud+/ghYF1Yp+eVWTOrbKEjcha4bozHxai8fvjcE0+trwnWgZZ4687B63VjPJmsrfoaON8o59sWOJEp+Fm1L0TOAu9/7dlXI7GdA0cuPvatzthn64B1Yt2+VRoRomWBl0T85S/2XRJH5MjI2E777bHzG7fcrorKPI/Psa5Xvv57RD4Wl2BJfA6nfJsvYq7Ha+2JzkjcUnvqp0mLT+c8Gomz6rZabg5w+CfiUBN6FwJ93r/OJL6lTGEr8foNtqGGbcK2DUF7tCbUAsY7fzEq63JLfDJkae4xbBO2zY/eCQpuDyWhFDAOHNx7I3kbAH48dGbzEPqf3b7v1Uhct8+xTdg2bCO21YvBDiV8cqLjdWgInQ+MQ7c4+oXdV9jPa6errH4hCV5kZCRv1nt+7+kfB+DRD0ebj+Il+eurf9bPudkOVbQcTjkEkN+ozr9bTd6sGxT5lcP4Axwe7qePN0gBm6CAt++OwtiHG8s0Q3ylfiFZU4/VaXpSmFOKHAuYpiTN0pb208dcnUi2n2PgeOzT9dvma7x0W8U2YLfWsY8eVvf6nkc5cU1Gjuysn/jufnvmy4ffH0tt3Bo737lP5/fWv4mdfvLb4ffN1+Mr9v8QTrly5QpQMmqTzc3Nf6anp092ThXrdVKqXRwJWJkDFwVwiyaza94oSClDPfYedoQQZgyzQcYJ/2jrbsydbOLmFaEvAdMaEiXqCpqjg+L+zBBDV9oZ6tNG9yY7yBogrvvkKGA7G/lia5TnlbK7n9vb/Px8Lai6g96CPHY6/1XSgKPzPz8/L60eB9lsdaPRv3BRWb0nyDwvKz8qKgR27HTO06SBRSfr4nmRZGq3H3iWfKK+V+9hwgOd+zRpwbE/7GaPSE8Bk987TYv+sXgjDmkAfeLpYVhm1040GjZ2pdeKlUx0QC0oPVHtEcdEptCcoqBRzs8q7+HnTRe0Uc7XEplCnBJp8bHYKOfXEplC2lzmoVHOV839GuV8z0V37LgQbq8fwYSDXeuAkHiLagQeZUFn6cbP7F6dpf1QwCUSdJFuEEuwW/Q9sSPgySET8MoQtCEohunYS2p0H1rORjnfOQ8GWtocWdI1Ern53gz50h/gZ41yvjmWoFhoW0ueaRfME9YhUTtoeOwT6DbQ8zWyqjF0G+g987M4Cdcgl6RE1tm00HvCE5swQXOP3IsSWV0zvLRI73WN6mMBM16yQm4DkPVFy7ueyBTMKwk+1tCdIPfDIOGag2Y9R/zs9EIs07+CYxwYlSxpo4nSk2DevC3SVkRXAMhPTmQK+N5sIlNYI/HWaB8UbwrFTG5DlkTfVXd2LHCF1/1lLNjLqLUTR6k7rURCzNJ7M8qQtKor0/8FuulDYeONYffuWxtj4FgwPslFPR6Aj72tiRxpwgi6LT0tMEUeXcNLgZPxbw/gWIgAIQ2ghbw2SFSaW/QTC4GNrQyJiJkAoHNfIS04joVwM8nUloBp/DtH7gSKOGVjNyZE0DmvkAZyTuJivEgytd2NRuF0pnDv4Fg4W+Pwg+eY4h7u0MGmnIbTqgvNqAvQDEJf/cDo80gpU3SniXeMD4QQJSFEDlNRlHQURlPM80jnFHsQHtC5nsNzP6jfS6JdcStD2tHcaJgbJYQoKkmdRTOpUwhvM7cx6RBX1vS0kiHFj2P3K6lTcR/8T+pkmGGBh5IZrWEBM1rDAma0hgXMaI12AvZ7qlBc5SeRKWTpeZGiqZrRV36vABTmaVKdoqMF3tV148OUoeoATlrJA0t7vZi3xbFFOQ7EEq1dCLdGc3qAVjalpLasUeyq4XWMtDpyxVij7SIv5uXU5RNs1aluWmDV4qbpvRcCWrp08DsmzNOjDoq2AsYT6ocFprkMQAngNgOxDSVhcVe73KyfjpHFuwdauxA+XmLR8l4mAVfouefzw/nkImmNjgLeNTeCTycYxbqCFpdSwpf9yBG0OLYoz4lhCcdCMFrDAxmM1rCAGa1hATNawwJm9AUA/gcE0YFTHxdZxwAAAABJRU5ErkJggg=="});var qQ=xe((Efn,dQo)=>{dQo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTEuNSw2QzEuNzc2LDYsMiw1Ljc3NiwyLDUuNVYyaDMuNUM1Ljc3NiwyLDYsMS43NzYsNiwxLjVDNiwxLjIyNCw1Ljc3NiwxLDUuNSwxaC00QzEuMjI0LDEsMSwxLjIyNCwxLDEuNXY0CglDMSw1Ljc3NiwxLjIyNCw2LDEuNSw2eiIvPgo8cGF0aCBkPSJNMTUuNSwxMWMtMC4yNzYsMC0wLjUsMC4yMjQtMC41LDAuNVYxNWgtMy41Yy0wLjI3NiwwLTAuNSwwLjIyNC0wLjUsMC41YzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVoNAoJYzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjV2LTRDMTYsMTEuMjI0LDE1Ljc3NiwxMSwxNS41LDExeiIvPgo8Zz4KCTxwYXRoIGQ9Ik0xMSwxLjVDMTEsMS43NzYsMTEuMjI0LDIsMTEuNSwySDE1djMuNUMxNSw1Ljc3NiwxNS4yMjQsNiwxNS41LDZDMTUuNzc2LDYsMTYsNS43NzYsMTYsNS41di00QzE2LDEuMjI0LDE1Ljc3NiwxLDE1LjUsMQoJCWgtNEMxMS4yMjQsMSwxMSwxLjIyNCwxMSwxLjV6Ii8+Cgk8cGF0aCBkPSJNMTAuMTQ2LDYuODU0TDEwLjE0Niw2Ljg1NGMtMC4xOTQtMC4xOTQtMC4xOTQtMC41MTMsMC0wLjcwN0wxNC4yOTMsMkMxNC40ODcsMS44MDYsMTQuODA2LDEuODA2LDE1LDJsMCwwCgkJYzAuMTk0LDAuMTk0LDAuMTk0LDAuNTEzLDAsMC43MDdsLTQuMTQ3LDQuMTQ3QzEwLjY1OCw3LjA0OSwxMC4zNCw3LjA0OSwxMC4xNDYsNi44NTR6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNNiwxNS41QzYsMTUuMjI0LDUuNzc2LDE1LDUuNSwxNUgydi0zLjVDMiwxMS4yMjQsMS43NzYsMTEsMS41LDExQzEuMjI0LDExLDEsMTEuMjI0LDEsMTEuNXY0QzEsMTUuNzc2LDEuMjI0LDE2LDEuNSwxNmg0CgkJQzUuNzc2LDE2LDYsMTUuNzc2LDYsMTUuNXoiLz4KCTxwYXRoIGQ9Ik02Ljg1NCwxMC4xNDZMNi44NTQsMTAuMTQ2YzAuMTk0LDAuMTk0LDAuMTk0LDAuNTEzLDAsMC43MDdMMi43MDcsMTVDMi41MTMsMTUuMTk0LDIuMTk0LDE1LjE5NCwyLDE1bDAsMAoJCWMtMC4xOTQtMC4xOTQtMC4xOTQtMC41MTMsMC0wLjcwN2w0LjE0Ny00LjE0N0M2LjM0Miw5Ljk1MSw2LjY2LDkuOTUxLDYuODU0LDEwLjE0NnoiLz4KPC9nPgo8L3N2Zz4K"});var XQ=xe((Afn,uQo)=>{uQo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTEuNSw2QzEuNzc2LDYsMiw1Ljc3NiwyLDUuNVYyaDMuNUM1Ljc3NiwyLDYsMS43NzYsNiwxLjVDNiwxLjIyNCw1Ljc3NiwxLDUuNSwxaC00QzEuMjI0LDEsMSwxLjIyNCwxLDEuNXY0CglDMSw1Ljc3NiwxLjIyNCw2LDEuNSw2eiIvPgo8cGF0aCBkPSJNMTUuNSwxMWMtMC4yNzYsMC0wLjUsMC4yMjQtMC41LDAuNVYxNWgtMy41Yy0wLjI3NiwwLTAuNSwwLjIyNC0wLjUsMC41YzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVoNAoJYzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjV2LTRDMTYsMTEuMjI0LDE1Ljc3NiwxMSwxNS41LDExeiIvPgo8Zz4KCTxwYXRoIGQ9Ik0xNSw2LjVDMTUsNi4yMjQsMTQuNzc2LDYsMTQuNSw2SDExVjIuNUMxMSwyLjIyNCwxMC43NzYsMiwxMC41LDJDMTAuMjI0LDIsMTAsMi4yMjQsMTAsMi41djRDMTAsNi43NzYsMTAuMjI0LDcsMTAuNSw3aDQKCQlDMTQuNzc2LDcsMTUsNi43NzYsMTUsNi41eiIvPgoJPHBhdGggZD0iTTE1Ljg1NCwxLjE0NkwxNS44NTQsMS4xNDZjMC4xOTQsMC4xOTQsMC4xOTQsMC41MTMsMCwwLjcwN0wxMS43MDcsNkMxMS41MTMsNi4xOTQsMTEuMTk0LDYuMTk0LDExLDZsMCwwCgkJYy0wLjE5NC0wLjE5NC0wLjE5NC0wLjUxMywwLTAuNzA3bDQuMTQ3LTQuMTQ3QzE1LjM0MiwwLjk1MSwxNS42NiwwLjk1MSwxNS44NTQsMS4xNDZ6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNMiwxMC41QzIsMTAuNzc2LDIuMjI0LDExLDIuNSwxMUg2djMuNUM2LDE0Ljc3Niw2LjIyNCwxNSw2LjUsMTVDNi43NzYsMTUsNywxNC43NzYsNywxNC41di00QzcsMTAuMjI0LDYuNzc2LDEwLDYuNSwxMAoJCWgtNEMyLjIyNCwxMCwyLDEwLjIyNCwyLDEwLjV6Ii8+Cgk8cGF0aCBkPSJNMS4xNDYsMTUuODU0TDEuMTQ2LDE1Ljg1NGMtMC4xOTQtMC4xOTQtMC4xOTQtMC41MTMsMC0wLjcwN0w1LjI5MywxMUM1LjQ4NywxMC44MDYsNS44MDYsMTAuODA2LDYsMTFsMCwwCgkJYzAuMTk0LDAuMTk0LDAuMTk0LDAuNTEzLDAsMC43MDdsLTQuMTQ3LDQuMTQ3QzEuNjU4LDE2LjA0OSwxLjM0LDE2LjA0OSwxLjE0NiwxNS44NTR6Ii8+CjwvZz4KPC9zdmc+Cg=="});var cXt=xe((Nfn,pQo)=>{pQo.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiIHZpZXdCb3g9IjAgMCA4IDgiPgogIDxnIGlkPSLnu4RfNTY3IiBkYXRhLW5hbWU9Iue7hCA1NjciIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNTg2LjkwNyAtMTcyLjc1NCkiPgogICAgPHJlY3QgaWQ9IuefqeW9ol8zOTQiIGRhdGEtbmFtZT0i55+p5b2iIDM5NCIgd2lkdGg9IjgiIGhlaWdodD0iOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTU4Ni45MDcgMTcyLjc1NCkiIGZpbGw9Im5vbmUiLz4KICAgIDxwYXRoIGlkPSLot6/lvoRfMTA2MCIgZGF0YS1uYW1lPSLot6/lvoQgMTA2MCIgZD0iTTE4Ny44NCwyMTUuN2wzLjE3MS0yLjUxOSwxLjI2NSwxLjM0NXMuNTI4LjE0NC41Ni0uMjU2TDE5Mi44LDIxMi45bDEuODczLTIuMTYxLjgxNC0uMDM4cy42NC0uMTI4LjE3Ni0uNjlsLTIuMjg1LTIuMzA5cy0uNjI0LS4wOC0uNTc2LjV2LjYyNGwtMi4xMjksMS44MTUtMS4zMTMuMDhzLS40OC4xNi0uMy41NzZsMS4yMzMsMS4yMDdaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMzk5LjA2NyAtMzQuOTQzKSIgZmlsbD0iZ3JheSIvPgogIDwvZz4KPC9zdmc+Cg=="});var mmt=xe((kfn,mQo)=>{mQo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNOC41LDFDNC4zNTgsMSwxLDQuMzU4LDEsOC41UzQuMzU4LDE2LDguNSwxNlMxNiwxMi42NDIsMTYsOC41UzEyLjY0MiwxLDguNSwxeiBNOC41LDE1QzQuOTE2LDE1LDIsMTIuMDg0LDIsOC41CgkJUzQuOTE2LDIsOC41LDJTMTUsNC45MTYsMTUsOC41UzEyLjA4NCwxNSw4LjUsMTV6Ii8+Cgk8cGF0aCBkPSJNMTIuNSw4SDlWNC41QzksNC4yMjQsOC43NzYsNCw4LjUsNFM4LDQuMjI0LDgsNC41VjhINC41QzQuMjI0LDgsNCw4LjIyNCw0LDguNUM0LDguNzc2LDQuMjI0LDksNC41LDlIOHYzLjUKCQlDOCwxMi43NzYsOC4yMjQsMTMsOC41LDEzUzksMTIuNzc2LDksMTIuNVY5aDMuNUMxMi43NzYsOSwxMyw4Ljc3NiwxMyw4LjVDMTMsOC4yMjQsMTIuNzc2LDgsMTIuNSw4eiIvPgo8L2c+Cjwvc3ZnPgo="});var ede=xe((Pfn,hQo)=>{hQo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNjAzODg2NDk4NTMzIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjIyODAiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiPjxkZWZzPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+PC9zdHlsZT48L2RlZnM+PHBhdGggZD0iTTgzNy45IDQ4NS40bC0zMDMuMS0zNTNjLTEyLTEzLjktMzMuNS0xMy45LTQ1LjUgMGwtMzAzLjIgMzUzYy0xNi43IDE5LjUtMi45IDQ5LjUgMjIuOCA0OS41SDM1MnYzMDMuM2MwIDM1LjMgMjguNyA2NCA2NCA2NGgxOTJjMzUuMyAwIDY0LTI4LjcgNjQtNjRWNTM1aDE0My4yYzI1LjYgMCAzOS40LTMwLjEgMjIuNy00OS42eiIgcC1pZD0iMjI4MSIgZmlsbD0iIzMzOTlmZiI+PC9wYXRoPjwvc3ZnPg=="});var N3e=xe((Ofn,fQo)=>{fQo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNjAzODg2NDk4NTMzIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjIyODAiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiPjxkZWZzPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+PC9zdHlsZT48L2RlZnM+PHBhdGggZD0iTTgzNy45IDQ4NS40bC0zMDMuMS0zNTNjLTEyLTEzLjktMzMuNS0xMy45LTQ1LjUgMGwtMzAzLjIgMzUzYy0xNi43IDE5LjUtMi45IDQ5LjUgMjIuOCA0OS41SDM1MnYzMDMuM2MwIDM1LjMgMjguNyA2NCA2NCA2NGgxOTJjMzUuMyAwIDY0LTI4LjcgNjQtNjRWNTM1aDE0My4yYzI1LjYgMCAzOS40LTMwLjEgMjIuNy00OS42eiIgcC1pZD0iMjI4MSIgZmlsbD0iI0MyRTFmZiI+PC9wYXRoPjwvc3ZnPg=="});var dXt=xe((Rfn,gQo)=>{gQo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTggMTgiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE4IDE4IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMi43ODYsNS4yN0MyLjc2Miw1LjM0MywyLjc1LDUuNDE1LDIuNzUsNS41YzAsMC40MjMsMC4zMjcsMC43NSwwLjc1LDAuNzVjMC4yMTgsMCwwLjQyMy0wLjA5NywwLjU1Ni0wLjI0MgoJCUM0LjE3Nyw1Ljg3NSw0LjI1LDUuNzA2LDQuMjUsNS41YzAtMC40MjMtMC4zMjctMC43NS0wLjc1LTAuNzVDMy4xNjEsNC43NSwyLjg4Myw0Ljk2OCwyLjc4Niw1LjI3eiIvPgoJPHBhdGggZD0iTTcuNzg2LDEwLjI3QzcuNzYyLDEwLjM0Myw3Ljc1LDEwLjQxNSw3Ljc1LDEwLjVjMCwwLjQyMywwLjMyNywwLjc1LDAuNzUsMC43NWMwLjIxOCwwLDAuNDIzLTAuMDk3LDAuNTU2LTAuMjQyCgkJQzkuMTc3LDEwLjg3NSw5LjI1LDEwLjcwNiw5LjI1LDEwLjVjMC0wLjQyMy0wLjMyNy0wLjc1LTAuNzUtMC43NUM4LjE2MSw5Ljc1LDcuODgzLDkuOTY4LDcuNzg2LDEwLjI3eiIvPgoJPHBhdGggZD0iTTEwLjc4NiwxMC4yN2MtMC4wMjQsMC4wNzMtMC4wMzYsMC4xNDUtMC4wMzYsMC4yM2MwLDAuNDIzLDAuMzI3LDAuNzUsMC43NSwwLjc1YzAuMjE4LDAsMC40MjMtMC4wOTcsMC41NTYtMC4yNDIKCQljMC4xMjEtMC4xMzMsMC4xOTQtMC4zMDIsMC4xOTQtMC41MDhjMC0wLjQyMy0wLjMyNy0wLjc1LTAuNzUtMC43NUMxMS4xNjEsOS43NSwxMC44ODMsOS45NjgsMTAuNzg2LDEwLjI3eiIvPgoJPHBhdGggZD0iTTEzLjc4NiwxMC4yN2MtMC4wMjQsMC4wNzMtMC4wMzYsMC4xNDUtMC4wMzYsMC4yM2MwLDAuNDIzLDAuMzI3LDAuNzUsMC43NSwwLjc1YzAuMjE4LDAsMC40MjMtMC4wOTcsMC41NTYtMC4yNDIKCQljMC4xMjEtMC4xMzMsMC4xOTQtMC4zMDIsMC4xOTQtMC41MDhjMC0wLjQyMy0wLjMyNy0wLjc1LTAuNzUtMC43NUMxNC4xNjEsOS43NSwxMy44ODMsOS45NjgsMTMuNzg2LDEwLjI3eiIvPgoJPHBhdGggZD0iTTE3LDZINkM1LjQ1LDYsNSw2LjQ1LDUsN3Y3YzAsMC41NSwwLjQ1LDEsMSwxaDYuNzhsMS43MywxbDEuNTksMC45MmMwLjEsMC4wNSwwLjIsMC4wOCwwLjMsMC4wOGMwLjMxLDAsMC42LTAuMjUsMC42LTAuNgoJCVYxNWMwLjU1LDAsMS0wLjQ1LDEtMVY3QzE4LDYuNDUsMTcuNTUsNiwxNyw2eiBNMTcsMTRMMTcsMTRjLTAuNTUyLDAtMSwwLjQ0OC0xLDF2MHYwLjcxTDE0Ljc3LDE1bC0xLjQ5OC0wLjg2NgoJCUMxMy4xMiwxNC4wNDYsMTIuOTQ3LDE0LDEyLjc3MiwxNEgxMS4yNEg2VjdoMTFWMTR6Ii8+Cgk8cGF0aCBkPSJNMiwxMC43MVYxMHYwYzAtMC41NTItMC40NDgtMS0xLTFoMFYzaDEwdjEuNUMxMSw0Ljc3NiwxMS4yMjQsNSwxMS41LDVoMEMxMS43NzYsNSwxMiw0Ljc3NiwxMiw0LjVWM2MwLTAuNTUtMC40NS0xLTEtMUgxCgkJQzAuNDUsMiwwLDIuNDUsMCwzdjZjMCwwLjU1LDAuNDUsMSwxLDF2MS40QzEsMTEuNzUsMS4yOSwxMiwxLjYsMTJjMC4xLDAsMC4yLTAuMDMsMC4zLTAuMDhsMS44NDktMS4wNjUKCQlDMy45MDQsMTAuNzY1LDQsMTAuNiw0LDEwLjQydjBjMC0wLjM4Ni0wLjQxOS0wLjYyNy0wLjc1My0wLjQzNEwyLDEwLjcxeiIvPgo8L2c+Cjwvc3ZnPgo="});var tde=xe((_fn,bQo)=>{bQo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNjAzODg2NTI5NjMzIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjEzNzYiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiPjxkZWZzPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+PC9zdHlsZT48L2RlZnM+PHBhdGggZD0iTTgzNy45IDUzOC44TDUzNC44IDg5MS45Yy0xMiAxMy45LTMzLjUgMTMuOS00NS41IDBMMTg2LjEgNTM4LjhjLTE2LjctMTkuNS0yLjktNDkuNSAyMi44LTQ5LjVIMzUyVjE4NS45YzAtMzUuMyAyOC43LTY0IDY0LTY0aDE5MmMzNS4zIDAgNjQgMjguNyA2NCA2NHYzMDMuM2gxNDMuMmMyNS42IDAuMSAzOS40IDMwLjIgMjIuNyA0OS42eiIgcC1pZD0iMTM3NyIgZmlsbD0iIzMzOTlmZgoiPjwvcGF0aD48L3N2Zz4="});var k3e=xe((jfn,yQo)=>{yQo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNjAzODg2NTI5NjMzIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjEzNzYiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiPjxkZWZzPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+PC9zdHlsZT48L2RlZnM+PHBhdGggZD0iTTgzNy45IDUzOC44TDUzNC44IDg5MS45Yy0xMiAxMy45LTMzLjUgMTMuOS00NS41IDBMMTg2LjEgNTM4LjhjLTE2LjctMTkuNS0yLjktNDkuNSAyMi44LTQ5LjVIMzUyVjE4NS45YzAtMzUuMyAyOC43LTY0IDY0LTY0aDE5MmMzNS4zIDAgNjQgMjguNyA2NCA2NHYzMDMuM2gxNDMuMmMyNS42IDAuMSAzOS40IDMwLjIgMjIuNyA0OS42eiIgcC1pZD0iMTM3NyIgZmlsbD0iI0MyRTFmZiI+PC9wYXRoPjwvc3ZnPg=="});var u9=xe((Bfn,wQo)=>{wQo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNjAzODg2NDE5Njc1IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjM3NTkiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiPjxkZWZzPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+PC9zdHlsZT48L2RlZnM+PHBhdGggZD0iTTU3NiA0MjYuNjY2NjY3aDIxMy4zMzMzMzNhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMSA0Mi42NjY2NjcgNDIuNjY2NjY2djQyLjY2NjY2N2E0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxLTQyLjY2NjY2NyA0Mi42NjY2NjdINTc2djIxMy4zMzMzMzNhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMS00Mi42NjY2NjcgNDIuNjY2NjY3aC00Mi42NjY2NjZhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMS00Mi42NjY2NjctNDIuNjY2NjY3VjU1NC42NjY2NjdIMjM0LjY2NjY2N2E0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxLTQyLjY2NjY2Ny00Mi42NjY2Njd2LTQyLjY2NjY2N2E0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxIDQyLjY2NjY2Ny00Mi42NjY2NjZoMjEzLjMzMzMzM1YyMTMuMzMzMzMzYTQyLjY2NjY2NyA0Mi42NjY2NjcgMCAwIDEgNDIuNjY2NjY3LTQyLjY2NjY2Nmg0Mi42NjY2NjZhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMSA0Mi42NjY2NjcgNDIuNjY2NjY2djIxMy4zMzMzMzR6IiBmaWxsPSIjMDA5OTAwIiBwLWlkPSIzNzYwIj48L3BhdGg+PC9zdmc+"});var VR=xe((zfn,CQo)=>{CQo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNjAzODg2NDE5Njc1IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjM3NTkiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiPjxkZWZzPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+PC9zdHlsZT48L2RlZnM+PHBhdGggZD0iTTU3NiA0MjYuNjY2NjY3aDIxMy4zMzMzMzNhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMSA0Mi42NjY2NjcgNDIuNjY2NjY2djQyLjY2NjY2N2E0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxLTQyLjY2NjY2NyA0Mi42NjY2NjdINTc2djIxMy4zMzMzMzNhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMS00Mi42NjY2NjcgNDIuNjY2NjY3aC00Mi42NjY2NjZhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMS00Mi42NjY2NjctNDIuNjY2NjY3VjU1NC42NjY2NjdIMjM0LjY2NjY2N2E0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxLTQyLjY2NjY2Ny00Mi42NjY2Njd2LTQyLjY2NjY2N2E0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxIDQyLjY2NjY2Ny00Mi42NjY2NjZoMjEzLjMzMzMzM1YyMTMuMzMzMzMzYTQyLjY2NjY2NyA0Mi42NjY2NjcgMCAwIDEgNDIuNjY2NjY3LTQyLjY2NjY2Nmg0Mi42NjY2NjZhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMSA0Mi42NjY2NjcgNDIuNjY2NjY2djIxMy4zMzMzMzR6IiBmaWxsPSIjQjNFMUIzIiBwLWlkPSIzNzYwIj48L3BhdGg+PC9zdmc+"});var YAe=xe((Ffn,xQo)=>{xQo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNiAxNjsgZmlsbDojQzJFMUZGIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTcsNmg3YzAuNiwwLDEsMC40LDEsMXY3YzAsMC42LTAuNCwxLTEsMUg3Yy0wLjYsMC0xLTAuNC0xLTFWN0M2LDYuNCw2LjQsNiw3LDZ6Ii8+CjxwYXRoIGQ9Ik02LDVoNFYyYzAtMC41LTAuNC0xLTEtMUgyQzEuNSwxLDEsMS41LDEsMnY3YzAsMC42LDAuNSwxLDEsMWgzVjZDNSw1LjQsNS40LDUsNiw1eiIvPgo8L3N2Zz4K"});var p9=xe((Ufn,TQo)=>{TQo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNjAzODg2Mzg3ODE2IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjM2MTYiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiPjxkZWZzPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+PC9zdHlsZT48L2RlZnM+PHBhdGggZD0iTTYwMi41MTczMzMgNDkwLjY2NjY2N2wxNTAuODI2NjY3IDE1MC44NDhhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMSAwIDYwLjMzMDY2Nkw3MjMuMiA3MzIuMDMyYTQyLjY2NjY2NyA0Mi42NjY2NjcgMCAwIDEtNjAuMzMwNjY3IDBMNTEyIDU4MS4xODRsLTE1MC44NDggMTUwLjgyNjY2N2E0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxLTYwLjMzMDY2NyAwTDI3MC42MzQ2NjcgNzAxLjg2NjY2N2E0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxIDAtNjAuMzMwNjY3TDQyMS40ODI2NjcgNDkwLjY2NjY2N2wtMTUwLjgyNjY2Ny0xNTAuODQ4YTQyLjY2NjY2NyA0Mi42NjY2NjcgMCAwIDEgMC02MC4zMzA2NjdsMzAuMTY1MzMzLTMwLjE4NjY2N2E0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxIDYwLjMzMDY2NyAwTDUxMiA0MDAuMTQ5MzMzbDE1MC44NDgtMTUwLjgyNjY2NmE0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxIDYwLjMzMDY2NyAwbDMwLjE4NjY2NiAzMC4xNjUzMzNhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMSAwIDYwLjMzMDY2N0w2MDIuNTE3MzMzIDQ5MC42NjY2Njd6IiBmaWxsPSIjZmYwMDAwIiBwLWlkPSIzNjE3Ij48L3BhdGg+PC9zdmc+"});var m9=xe((Vfn,SQo)=>{SQo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNjAzODg2Mzg3ODE2IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjM2MTYiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiPjxkZWZzPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+PC9zdHlsZT48L2RlZnM+PHBhdGggZD0iTTYwMi41MTczMzMgNDkwLjY2NjY2N2wxNTAuODI2NjY3IDE1MC44NDhhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMSAwIDYwLjMzMDY2Nkw3MjMuMiA3MzIuMDMyYTQyLjY2NjY2NyA0Mi42NjY2NjcgMCAwIDEtNjAuMzMwNjY3IDBMNTEyIDU4MS4xODRsLTE1MC44NDggMTUwLjgyNjY2N2E0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxLTYwLjMzMDY2NyAwTDI3MC42MzQ2NjcgNzAxLjg2NjY2N2E0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxIDAtNjAuMzMwNjY3TDQyMS40ODI2NjcgNDkwLjY2NjY2N2wtMTUwLjgyNjY2Ny0xNTAuODQ4YTQyLjY2NjY2NyA0Mi42NjY2NjcgMCAwIDEgMC02MC4zMzA2NjdsMzAuMTY1MzMzLTMwLjE4NjY2N2E0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxIDYwLjMzMDY2NyAwTDUxMiA0MDAuMTQ5MzMzbDE1MC44NDgtMTUwLjgyNjY2NmE0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxIDYwLjMzMDY2NyAwbDMwLjE4NjY2NiAzMC4xNjUzMzNhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMSAwIDYwLjMzMDY2N0w2MDIuNTE3MzMzIDQ5MC42NjY2Njd6IiBmaWxsPSIjRkZCM0IzIiBwLWlkPSIzNjE3Ij48L3BhdGg+PC9zdmc+"});var WAe=xe((Hfn,MQo)=>{MQo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNjYwMjg2MzAwMTIxIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjY1MDAiIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+PC9zdHlsZT48L2RlZnM+PHBhdGggZD0iTTQzMy42NjQgMjUwLjg4TDc3My4xMiA1OTAuMzM2IDU5OS40NjY2NjcgODM3LjE2MjY2N2E0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxLTY1LjA2NjY2NyA1LjYzMmwtNjEuMzMzMzMzLTYxLjMzMzMzNHYtMTMwLjg4aC0xMzAuODU4NjY3TDE4MS4yMDUzMzMgNDg5LjZhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMSA1LjYzMi02NS4wNjY2NjdsMjQ2LjgyNjY2Ny0xNzMuNjMyeiBtMzguMzc4NjY3LTI2Ljk4NjY2N2w2Ni4xMzMzMzMtNDYuNTI4YTQyLjY2NjY2NyA0Mi42NjY2NjcgMCAwIDEgNTQuNzIgNC43MTQ2NjdsODkuMTMwNjY3IDg5LjE1MiA5My43ODEzMzMtOTMuNzgxMzMzYTIxLjMzMzMzMyAyMS4zMzMzMzMgMCAwIDEgMzAuMTY1MzMzIDBsMzUuMiAzNS4yYTIxLjMzMzMzMyAyMS4zMzMzMzMgMCAwIDEgMCAzMC4xODY2NjZsLTkzLjc2IDkzLjc2IDk0LjUwNjY2NyA5NC41MDY2NjdhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMSA0LjcxNDY2NyA1NC43MmwtNDYuNTA2NjY3IDY2LjEzMzMzMy0zMjguMTA2NjY3LTMyOC4wNjR6IiBmaWxsPSIjZTA2MjBkIiBwLWlkPSI2NTAxIj48L3BhdGg+PC9zdmc+"});var QAe=xe((Gfn,IQo)=>{IQo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNjYwMjg2MzAwMTIxIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjY1MDAiIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+PC9zdHlsZT48L2RlZnM+PHBhdGggZD0iTTQzMy42NjQgMjUwLjg4TDc3My4xMiA1OTAuMzM2IDU5OS40NjY2NjcgODM3LjE2MjY2N2E0Mi42NjY2NjcgNDIuNjY2NjY3IDAgMCAxLTY1LjA2NjY2NyA1LjYzMmwtNjEuMzMzMzMzLTYxLjMzMzMzNHYtMTMwLjg4aC0xMzAuODU4NjY3TDE4MS4yMDUzMzMgNDg5LjZhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMSA1LjYzMi02NS4wNjY2NjdsMjQ2LjgyNjY2Ny0xNzMuNjMyeiBtMzguMzc4NjY3LTI2Ljk4NjY2N2w2Ni4xMzMzMzMtNDYuNTI4YTQyLjY2NjY2NyA0Mi42NjY2NjcgMCAwIDEgNTQuNzIgNC43MTQ2NjdsODkuMTMwNjY3IDg5LjE1MiA5My43ODEzMzMtOTMuNzgxMzMzYTIxLjMzMzMzMyAyMS4zMzMzMzMgMCAwIDEgMzAuMTY1MzMzIDBsMzUuMiAzNS4yYTIxLjMzMzMzMyAyMS4zMzMzMzMgMCAwIDEgMCAzMC4xODY2NjZsLTkzLjc2IDkzLjc2IDk0LjUwNjY2NyA5NC41MDY2NjdhNDIuNjY2NjY3IDQyLjY2NjY2NyAwIDAgMSA0LjcxNDY2NyA1NC43MmwtNDYuNTA2NjY3IDY2LjEzMzMzMy0zMjguMTA2NjY3LTMyOC4wNjR6IiBmaWxsPSIjZWViMTczIiBwLWlkPSI2NTAxIj48L3BhdGg+PC9zdmc+"});var uXt=xe((Yfn,LQo)=>{LQo.exports="data:image/gif;base64,R0lGODlhEAAQAMQAAP7y9P7k6vt+of24y/6+z/7A0P3X4f7f5/pymft1nPt2nPt6n/uDpf2ivPyivPyjvf64zf7C1P3B0/zF1f7J2f/f6v7j7P/w9f7+/v///wAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJBAAZACwAAAAAEAAQAAAFQGAmjmRpnmiqkkBVAWs2CcIUQwgC3fluBhJJIIPTnSSLhYTYOxV3T2czmjE0GgamkUpQKAhaaDNMpkbPY/S2GQIAIfkECQQAGQAsAAAAABAAEAAABTxgJo5kaZ5oqq6pFUUWKy2LxEIIAt35bhoOhyGD050IiQSB2BMFCoUA01j0zWrTXVW07Taz4G24KfZSmyEAIfkECQQAGQAsAAAAABAAEAAABT5gJo5kaZ5oqq5sazSNwRJJQrAQgkC4zmeASgWQoTAYlExuJ5oIBJPMQDdQ+kRLXtbK5GqvW684vC1fx+BrCAAh+QQJBAAZACwAAAAAEAAQAAAFOmAmjmRpnmiqrmzrihTDUCyEIFB951k8Z5fD4ZKx4USD2yAzEQgmxZ3ImKNGj9eq1Jrtcq1gqXcrDQEAIfkECQQAGQAsAAAAABAAEAAABUBgJo5kaZ5oqq5s64rAcQDsJAiTaDiOYUIIBERESCQIv+AwAxRmAhJJgKkUNYeSxUJCdXaH16+1Gg6Ly9UzuRoCACH5BAkEABkALAAAAAAQABAAAAU8YCaOZGmeaKqubOuigSQFZjyL0rJIZr6LEAQCYgoOgUJiyahkZgyNhiHjpCYzBIWCYD12ic5q+Comm48hACH5BAkEABkALAAAAAAQABAAAAU/YCaOZGmeaKqubGtex3GxkyBMLIQgkGk8D4NIxzMREgnCcNcLSCSBDLEnZWYki4WkWuT2pt5lEQwOk61mKzgEACH5BAUEABkALAAAAAAQABAAAAU7YCaOZGmeaKquLIlhLcUwFAshCGTj+nrnmcvhcMnIaKKfbiIQTDID3CDJyyitVSzwetXquFnwNlwV60IAIfkECQQAGQAsAQAFAA4ABgAABR+g4ThGZp4okSQE6r5wLKMUw1DZdRyXOyCIQWYiEExCACH5BAkEABkALAAAAAAQABAAAAU8YCaOZGmeaKqqgSQFayYtixRDCALd+b7iuozh8TCcgDtCIkE49jLITOslikZnterT+oRuv0FvkBsm76IhACH5BAkEABkALAAAAAAQABAAAAVBYCaOZGmeaEoCVQWo4iQIE5xBCALZuM7nu4BEEjj1dpLFQmIE3pym49MXdUoNjYZBJJUSFAoC10qmdsu76e7sCwEAIfkECQQAGQAsAAAAABAAEAAABT9gJo5kaZ5oqqqBJAVrJi2LFEMIAmXXcVwnnC4zEQgmwdxOuDMxM0+nEjptvUTP56yGnWan1OF3GF56wWPzMAQAIfkECQQAGQAsAAAAABAAEAAABUJgJo5kaZ5oqq7saDiOIWIYSiQJkVEMQ50QBAKSCQ6BQqKRaFoWk5nL4XAROZ0TgWBihV6hz+P3GFZ6wWMzOV3OhAAAIfkECQQAGQAsAAAAABAAEAAABT9gJo5kaZ5oqq4siWGi4TjGSTEMlRFJQpwQBAKSCQ6BQqKRaFoWk5lbTuR0DoQDKrQKfR65R69y2wWPw2ZxJgQAIfkECQQAGQAsAAAAABAAEAAABUJgJo5kaZ5oqq5kIEkBKy2LdF7HcWUQgkCniUAw4fmApt7PuDQ8HgaREjjNEBIJgvTIpHK74GqYK66av+dlmcxehgAAIfkECQQAGQAsAAAAABAAEAAABT1gJo5kaZ5omgJVBajiJAgTnEEIAtm4fgYSSeCW2wGFIsliISH6lExRbzd17qzYaraI3fq01TDXSx2Lv9wQACH5BAkEABkALAAAAAAQABAAAAVCYCaOZGmeaKquZCBJASsti8RCCAJlwHEAJ5wuMxEIJiKDw2HICHdPESGRIDhzUKwoytVeh93hNwv2hsm7sTq61kZDACH5BAkEABkALAAAAAAQABAAAAU7YCaOZGmeaKquLGo4jsESSUJkFMNQJ4QgkIwP2PsFh0GcjocUGkWD38BJbFKPT2tz+7x6tdkw8SsOhgAAIfkECQQAGQAsAAAAABAAEAAABT5gJo5kaZ5oqq5sazSNcVIMQ2VEkhAnhCCQjA/Y+wWHwQygUgEIjU9iZiIQTKJHKHaLFHW/WjCxy4WSxVliCAAh+QQFBAAZACwAAAAAEAAQAAAFPWAmjmRpnmiqrqkVRRYrLYt0XsdxZRCCQKeJQDDh+YCm3s+4TB6ZyEChEIBaM7OaVYnkbp/fpTcMHHvPzxAAOw=="});var pXt=xe((Wfn,vQo)=>{vQo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGNpcmNsZSBjeD0iNiIgY3k9IjMiIHI9IjEiLz4KPGNpcmNsZSBjeD0iNiIgY3k9IjgiIHI9IjEiLz4KPGNpcmNsZSBjeD0iNiIgY3k9IjEzIiByPSIxIi8+CjxjaXJjbGUgY3g9IjEwIiBjeT0iMyIgcj0iMSIvPgo8Y2lyY2xlIGN4PSIxMCIgY3k9IjgiIHI9IjEiLz4KPGNpcmNsZSBjeD0iMTAiIGN5PSIxMyIgcj0iMSIvPgo8L3N2Zz4K"});var hmt=xe((Qfn,DQo)=>{DQo.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIGZpbGw9JyNmZmYnIHZpZXdCb3g9JzAgMCA4IDgnPjxwYXRoIGQ9J00yLjc1IDBsLTEuNSAxLjVMMy43NSA0bC0yLjUgMi41TDIuNzUgOGw0LTQtNC00eicvPjwvc3ZnPg=="});var fmt=xe((Kfn,EQo)=>{EQo.exports="data:image/png;base64, "});var gmt=xe((Zfn,AQo)=>{AQo.exports="data:image/png;base64, "});var bmt=xe((Jfn,NQo)=>{NQo.exports="data:image/png;base64, "});var ymt=xe((qfn,kQo)=>{kQo.exports="data:image/png;base64, "});var wmt=xe((Xfn,PQo)=>{PQo.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoyNzY5NDdmZi1lNzRjLTM4NGMtYTgwOC02MmRlOWVjMTc2NWMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDk2Nzc3QzRFOTQ5MTFFNzg5QkZFMDlDODk2NkJCOTUiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDk2Nzc3QzNFOTQ5MTFFNzg5QkZFMDlDODk2NkJCOTUiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6OTg5YTdmN2ItNDIzYy02ZjQzLWE4NTEtZmZkYmQ2ZGRmYjVjIiBzdFJlZjpkb2N1bWVudElEPSJhZG9iZTpkb2NpZDpwaG90b3Nob3A6MDc5MGM0ZWUtZDY0Ni0xMWU3LWFkNDMtYzllNTgwMTVkYzZiIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+sUKjzwAAAEdJREFUeNpi/P//PwM+wAIiVq9eDVLFiCT+PzQ0FMxnAhHe3t4oupD5YAVbt25F1o3CZ2IgAGAK0F36H0UBPjcwEvImQIABAHo0FM2097hoAAAAAElFTkSuQmCC"});var Cmt=xe(($fn,OQo)=>{OQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/eda-panel-layer-56G7RL2Q.svg"});var xmt=xe((egn,RQo)=>{RQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/eda-panel-layer-en-2V33EURZ.svg"});var Tmt=xe((tgn,_Qo)=>{_Qo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/axial-6OYKRGUV.svg"});var Smt=xe((ign,jQo)=>{jQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/bga-3ROUUR3U.svg"});var Mmt=xe((ogn,BQo)=>{BQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/chip-AIR6PNHK.svg"});var Imt=xe((rgn,zQo)=>{zQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/chip-array-ZUVI6ULB.svg"});var Lmt=xe((ngn,FQo)=>{FQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/radial-VAPRZTX7.svg"});var vmt=xe((agn,UQo)=>{UQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/dfn-4-U76B5G4P.svg"});var Dmt=xe((sgn,VQo)=>{VQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/dip-PN7BI5M6.svg"});var Emt=xe((lgn,HQo)=>{HQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/e-cap-65HF6YTD.svg"});var Amt=xe((cgn,GQo)=>{GQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/header-h-LY4RIH3Y.svg"});var Nmt=xe((dgn,YQo)=>{YQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/header-v-MSA36EUM.svg"});var kmt=xe((ugn,WQo)=>{WQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/qfn-3QAE6FNF.svg"});var Pmt=xe((pgn,QQo)=>{QQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/qfp-T3NWDOSM.svg"});var Omt=xe((mgn,KQo)=>{KQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/sod-IHLJJAVW.svg"});var Rmt=xe((hgn,ZQo)=>{ZQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/sop-EW6KCBKT.svg"});var _mt=xe((fgn,JQo)=>{JQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/sot23-YGY4T6QG.svg"});var jmt=xe((ggn,qQo)=>{qQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/sot223-MGVP4LVJ.svg"});var Bmt=xe((bgn,XQo)=>{XQo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/to-dpak-7NJOKJQX.svg"});var zmt=xe((ygn,$Qo)=>{$Qo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/axial-marked-KWLO3SJL.svg"});var Fmt=xe((wgn,eKo)=>{eKo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/bga-marked-O3AF7Q3C.svg"});var Umt=xe((Cgn,tKo)=>{tKo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/chip-marked-NQU7NV35.svg"});var Vmt=xe((xgn,iKo)=>{iKo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/chip-array-marked-E4SP2EXB.svg"});var Hmt=xe((Tgn,oKo)=>{oKo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/radial-marked-DO6R2SJK.svg"});var Gmt=xe((Sgn,rKo)=>{rKo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/dfn-4-marked-K6S2NYRE.svg"});var Ymt=xe((Mgn,nKo)=>{nKo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/dip-marked-AXKQNPBM.svg"});var Wmt=xe((Ign,aKo)=>{aKo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/e-cap-marked-VIVLPSUZ.svg"});var Qmt=xe((Lgn,sKo)=>{sKo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/header-h-marked-KHTBDPHQ.svg"});var Kmt=xe((vgn,lKo)=>{lKo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/header-v-marked-62FSWSX2.svg"});var Zmt=xe((Dgn,cKo)=>{cKo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/qfn-marked-6R5JLXN2.svg"});var Jmt=xe((Egn,dKo)=>{dKo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/qfp-marked-K7L3MY7B.svg"});var qmt=xe((Agn,uKo)=>{uKo.exports="data:image/svg+xml;base64, "});var Xmt=xe((Ngn,pKo)=>{pKo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/sop-marked-ZL6FSJKK.svg"});var $mt=xe((kgn,mKo)=>{mKo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/sot23-marked-PSUNW7HO.svg"});var e1t=xe((Pgn,hKo)=>{hKo.exports="data:image/svg+xml;base64, "});var t1t=xe((Ogn,fKo)=>{fKo.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/to-dpak-marked-IC6N6CSK.svg"});var mXt=xe((Rgn,gKo)=>{gKo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTExLjUsNy45NGMwLjYwNi0wLjYxNSwwLjk4Mi0xLjQ1MSwwLjk5OS0yLjM3NUMxMi41MzUsMy42MDQsMTAuODEzLDIsOC44NTEsMkwzLjc1LDJDMy4zMzYsMiwzLDIuMzM2LDMsMi43NXYwCglDMywzLjE2NCwzLjMzNiwzLjUsMy43NSwzLjVINHY0Vjl2NC41SDMuNzVDMy4zMzYsMTMuNSwzLDEzLjgzNiwzLDE0LjI1djBDMywxNC42NjQsMy4zMzYsMTUsMy43NSwxNWg1Ljg3MgoJYzEuOTc0LDAsMy43MDgtMS40NzEsMy44NjYtMy40MzlDMTMuNjE0LDkuOTksMTIuNzc1LDguNjE1LDExLjUsNy45NHogTTUuNSwzLjVIOWMxLjEsMCwyLDAuOSwyLDJjMCwxLjEtMC45LDItMiwySDUuNVYzLjV6CgkgTTkuNzUsMTMuNUg1LjVWOWg0LjI1QzEwLjk5LDksMTIsMTAuMDEsMTIsMTEuMjVTMTAuOTksMTMuNSw5Ljc1LDEzLjV6Ii8+Cjwvc3ZnPgo="});var hXt=xe((_gn,bKo)=>{bKo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTEwLjUsMmgtM0M3LjIyLDIsNywyLjIyLDcsMi41UzcuMjIsMyw3LjUsM2gwLjQ1TDYuMDIsMTRINS41QzUuMjIsMTQsNSwxNC4yMiw1LDE0LjVTNS4yMiwxNSw1LjUsMTVoMwoJQzguNzgsMTUsOSwxNC43OCw5LDE0LjVTOC43OCwxNCw4LjUsMTRIOC4wNUw5Ljk4LDNoMC41MkMxMC43OCwzLDExLDIuNzgsMTEsMi41UzEwLjc4LDIsMTAuNSwyeiIvPgo8L3N2Zz4K"});var fXt=xe((jgn,yKo)=>{yKo.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTEyLjUsMTVoLTlDMy4yMjQsMTUsMywxNC43NzYsMywxNC41djBDMywxNC4yMjQsMy4yMjQsMTQsMy41LDE0aDljMC4yNzYsMCwwLjUsMC4yMjQsMC41LDAuNXYwCglDMTMsMTQuNzc2LDEyLjc3NiwxNSwxMi41LDE1eiIvPgo8cGF0aCBkPSJNMTEuNSwyLjc1bDAsNS4xNWMwLDEuNjctMS4xMjksMy4xOS0yLjc2NSwzLjUyNUM2LjQ4NSwxMS44ODUsNC41LDEwLjE3LDQuNSw4VjIuNzVDNC41LDIuMzM2LDQuMTY0LDIsMy43NSwyaDAKCUMzLjMzNiwyLDMsMi4zMzYsMywyLjc1bDAsNS4wMzNjMCwyLjYxMSwxLjkwNyw0Ljk0NCw0LjUwNiw1LjE5NEMxMC40ODgsMTMuMjYzLDEzLDEwLjkyMywxMyw4VjIuNzVDMTMsMi4zMzYsMTIuNjY0LDIsMTIuMjUsMmgwCglDMTEuODM2LDIsMTEuNSwyLjMzNiwxMS41LDIuNzV6Ii8+Cjwvc3ZnPgo="});var yXt=xe((Bgn,bXt)=>{var W=[];W.push(".box_shadow{border:1px solid #d1d1d1;border-radius:4px;box-shadow:-1px -1px 6px #d1d1d1}.common-title{font-size:14px}#recent_lists li{color:#00e;cursor:pointer;text-decoration:underline}#sys-notice{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background:rgba(236,242,22,.471);background-size:cover;color:#333;font-size:14px;height:30px}#sys-notice .cancel-btn{cursor:pointer;font-size:18px;padding:12px;position:absolute;right:16px;top:-10px}#sys-notice .to-exam{color:#39f;font-size:12px;font-weight:700}#sys-notice .to-exam:hover{cursor:pointer}#editor_start_page_img{width:340px}#start_page_to_edu{color:#60a1fd}#start_page_change_mode{background-color:#599dfd;border-radius:5px;color:#fff!important;font-size:14px;font-weight:700;height:30px;line-height:31px;padding:7px 10px;text-decoration:none}#new_lists{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;list-style:none;padding-left:10px;text-align:center}#new_lists>li{background:#fff;border:1px solid #599dfd;color:#2c74db;cursor:pointer;margin:0 5px;overflow:hidden;padding:5px 7px;text-overflow:ellipsis;white-space:nowrap}#new_lists>li:hover{background:#2dc09b;border:1px solid #2dc09b;color:#fff}#use_page_more_help{border-top:1px solid #ccc;margin:25px 20px 20px}#use_page_more_help .weui-grids{margin-left:-20px;width:238px}#use_page_more_help .weui-grid{width:50%}#float-share{height:59px;top:1px}#float-share ul{font-size:16px!important;height:100%}#float-share li{font-size:20px;margin:0;padding:0 10px}#start_page_message_list .title{cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-box-flex:1;-webkit-flex:1 0 70%;-moz-box-flex:1;flex:1 0 70%}#start_page_message_list .title a{color:#000}#start_page_message_list .date{-webkit-box-flex:1;-webkit-flex:1 0 30%;-moz-box-flex:1;flex:1 0 30%;text-align:right}#start_page_message_list div.head{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}#start_page_message_list ul{list-style:none;margin-left:15px}#Home .home-layout-left{border-bottom:1px solid #9bd;-moz-box-sizing:border-box;box-sizing:border-box;height:-webkit-calc(100% - 250px);height:-moz-calc(100% - 250px);height:calc(100% - 250px);overflow:hidden}@font-face{font-display:block;font-family:icomoon;font-style:normal;font-weight:400;src:");W.push("url(");W.push(JSON.stringify(uut()));W.push(")");W.push(";src:");W.push("url(");W.push(JSON.stringify(uut()));W.push(")");W.push(' format("embedded-opentype"),');W.push("url(");W.push(JSON.stringify(YZt()));W.push(")");W.push(' format("truetype"),');W.push("url(");W.push(JSON.stringify(WZt()));W.push(")");W.push(' format("woff"),');W.push("url(");W.push(JSON.stringify(QZt()));W.push(")");W.push(' format("svg")}[class*=" icon-"],[class^=icon-]{font-family:icomoon!important;speak:never;-webkit-font-feature-settings:normal;-moz-font-feature-settings:normal;font-feature-settings:normal;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bSizeTopMenu{background-repeat:no-repeat;background-size:16px 16px}.bSizeBottomMenu{background-repeat:no-repeat;background-size:12px 12px}.icon-eda-distribute-top-edges{background-image:');W.push("url(");W.push(JSON.stringify(put()));W.push(")");W.push("}.icon-eda-datasheet,.icon-eda-distribute-top-edges{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-datasheet{background-image:");W.push("url(");W.push(JSON.stringify(mut()));W.push(")");W.push("}.icon-eda-distribute-left-edges{background-image:");W.push("url(");W.push(JSON.stringify(hut()));W.push(")");W.push("}.icon-eda-distribute-left-edges,.icon-eda-preview-3d{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-preview-3d{background-image:");W.push("url(");W.push(JSON.stringify(fut()));W.push(")");W.push("}.icon-eda-preview-3d-blue{background-image:");W.push("url(");W.push(JSON.stringify(gut()));W.push(")");W.push("}.icon-eda-preview-3d-blue,.icon-eda-preview-3d-green{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-preview-3d-green{background-image:");W.push("url(");W.push(JSON.stringify(but()));W.push(")");W.push("}.icon-eda-board-outline{background-image:");W.push("url(");W.push(JSON.stringify(g8e()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-checked,.icon-eda-v-tick{background-image:");W.push("url(");W.push(JSON.stringify(Qce()));W.push(")");W.push("}.icon-checked,.icon-eda-region-slot,.icon-eda-v-tick{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-region-slot{background-image:");W.push("url(");W.push(JSON.stringify(b8e()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-measure{background-image:");W.push("url(");W.push(JSON.stringify(yut()));W.push(")");W.push("}.icon-eda-dimension,.icon-eda-measure{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-dimension{background-image:");W.push("url(");W.push(JSON.stringify(y8e()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-changes-import{background-image:");W.push("url(");W.push(JSON.stringify(w8e()));W.push(")");W.push("}.icon-eda-changes-import,.icon-eda-routing-single{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--icon-color-pcb);filter:var(--icon-color-pcb)}.icon-eda-routing-single{background-image:");W.push("url(");W.push(JSON.stringify(wut()));W.push(")");W.push("}.icon-eda-routing-auto{background-image:");W.push("url(");W.push(JSON.stringify(Cut()));W.push(")");W.push("}.icon-eda-routing-auto,.icon-eda-routing-multiple{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-routing-multiple{background-image:");W.push("url(");W.push(JSON.stringify(xut()));W.push(")");W.push("}.icon-eda-align-grid{background-image:");W.push("url(");W.push(JSON.stringify(Tut()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-align-grid,.icon-eda-flip-board{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-flip-board{background-image:");W.push("url(");W.push(JSON.stringify(Sut()));W.push(")");W.push("}.icon-eda-via{background-image:");W.push("url(");W.push(JSON.stringify(Mut()));W.push(")");W.push("}.icon-eda-pad,.icon-eda-via{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-pad{background-image:");W.push("url(");W.push(JSON.stringify(Iut()));W.push(")");W.push("}.icon-eda-pad-line{background-image:");W.push("url(");W.push(JSON.stringify(Lut()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-point-test{background-image:");W.push("url(");W.push(JSON.stringify(vut()));W.push(")");W.push("}.icon-eda-place-mask-region,.icon-eda-point-test{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-place-mask-region{background-image:");W.push("url(");W.push(JSON.stringify(Dut()));W.push(")");W.push("}.icon-eda-fpc-stiffener{background-image:");W.push("url(");W.push(JSON.stringify(Eut()));W.push(")");W.push("}.icon-eda-fpc-stiffener,.icon-eda-pad-rectangle{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-pad-rectangle{background-image:");W.push("url(");W.push(JSON.stringify(Aut()));W.push(")");W.push("}.icon-eda-canvas-origin{background-image:");W.push("url(");W.push(JSON.stringify(C8e()));W.push(")");W.push("}.icon-eda-canvas-origin,.icon-eda-recovery{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-recovery{background-image:");W.push("url(");W.push(JSON.stringify(Nut()));W.push(")");W.push("}.icon-eda-dimension-check{background-image:");W.push("url(");W.push(JSON.stringify(kut()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-region-prohibited{background-image:");W.push("url(");W.push(JSON.stringify(x8e()));W.push(")");W.push("}.icon-eda-region-constraint,.icon-eda-region-prohibited{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-region-constraint{background-image:");W.push("url(");W.push(JSON.stringify(Put()));W.push(")");W.push("}.icon-eda-routing-stretch{background-image:");W.push("url(");W.push(JSON.stringify(Out()));W.push(")");W.push("}.icon-eda-region-copper,.icon-eda-routing-stretch{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-region-copper{background-image:");W.push("url(");W.push(JSON.stringify(T8e()));W.push(")");W.push("}.icon-eda-check-drc{background-image:");W.push("url(");W.push(JSON.stringify(Rut()));W.push(")");W.push("}.icon-eda-check-drc,.icon-eda-gerber{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-gerber{background-image:");W.push("url(");W.push(JSON.stringify(_ut()));W.push(")");W.push("}.icon-eda-view-fit-board-outline{background-image:");W.push("url(");W.push(JSON.stringify(jut()));W.push(")");W.push("}.icon-eda-region-fill,.icon-eda-view-fit-board-outline{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-region-fill{background-image:");W.push("url(");W.push(JSON.stringify(S8e()));W.push(")");W.push("}.icon-eda-routing-push-stretch{background-image:");W.push("url(");W.push(JSON.stringify(KZt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-cart,.icon-eda-routing-push-stretch{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-cart{background-image:");W.push("url(");W.push(JSON.stringify(But()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-cart-panel,.icon-eda-cart-pcb{background-image:");W.push("url(");W.push(JSON.stringify(M8e()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-cart-symbol{background-image:");W.push("url(");W.push(JSON.stringify(zut()));W.push(")");W.push(";-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree)}.icon-eda-cart-symbol,.icon-eda-pad-polygon{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-pad-polygon{background-image:");W.push("url(");W.push(JSON.stringify(Fut()));W.push(")");W.push("}.icon-eda-preview-2d{background-image:");W.push("url(");W.push(JSON.stringify(I8e()));W.push(")");W.push(";-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree)}.icon-eda-distribute-array,.icon-eda-preview-2d{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-distribute-array{background-image:");W.push("url(");W.push(JSON.stringify(Uut()));W.push(")");W.push("}.icon-eda-distribute-region{background-image:");W.push("url(");W.push(JSON.stringify(Vut()));W.push(")");W.push("}.icon-eda-array,.icon-eda-distribute-region{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-array{background-image:");W.push("url(");W.push(JSON.stringify(Hut()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-dimension-smart{background-image:");W.push("url(");W.push(JSON.stringify(Gut()));W.push(")");W.push("}.icon-eda-dimension-smart,.icon-eda-position{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-position{background-image:");W.push("url(");W.push(JSON.stringify($4e()));W.push(")");W.push("}.icon-eda-grid-dot{background-image:");W.push("url(");W.push(JSON.stringify(ZZt()));W.push(")");W.push("}.icon-eda-grid-dot,.icon-eda-grid-line{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-grid-line{background-image:");W.push("url(");W.push(JSON.stringify(JZt()));W.push(")");W.push("}.icon-eda-grid-not{background-image:");W.push("url(");W.push(JSON.stringify(qZt()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon--64:before{content:"\\e9e4"}.icon-eda-import{background-image:');W.push("url(");W.push(JSON.stringify(Yut()));W.push(")");W.push("}.eda-selection-continuous,.icon-eda-import{background-repeat:no-repeat;background-size:16px 16px}.eda-selection-continuous{background-image:");W.push("url(");W.push(JSON.stringify(Wut()));W.push(")");W.push("}.eda-selection-rectangle-outside{background-image:");W.push("url(");W.push(JSON.stringify(L8e()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.eda-selection-rectangle-inside{background-image:");W.push("url(");W.push(JSON.stringify(v8e()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.eda-selection-polygon-inside{background-image:");W.push("url(");W.push(JSON.stringify(Qut()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.eda-selection-polygon-outside{background-image:");W.push("url(");W.push(JSON.stringify(Kut()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.eda-selection-line-touched{background-image:");W.push("url(");W.push(JSON.stringify(Zut()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px}.icon-eda-kongjian:before{color:#858585;content:"\\e9a1"}.icon-eda-qq2:before{color:#858585;content:"\\e9a2"}.icon-float-share:before{color:#666;content:"\\e998"}.icon-eda-qq:before{color:#666;content:"\\e99a"}.icon-eda-tel:before{color:var(--font-color-float-bar-tel);content:"\\e99b"}.icon-eda-wx:before{color:var(--font-color-float-bar-wx);content:"\\e99c"}.icon-eda-qqqun:before{color:#666;content:"\\e99d"}.icon-eda-wxpublic:before{color:var(--font-color-float-bar-wxpublic);content:"\\e99e"}.icon-eda-point:before{content:"\\e996"}.icon-eda-message:before{content:"\\e997"}.icon-eda-crash:before{content:"\\e915"}.icon-eda-smt:before{content:"\\e98b"}.icon-eda-up:before{content:"\\e988"}.icon-eda-down:before{content:"\\e989"}.icon-eda-redo1:before{content:"\\e984"}.icon-eda-csv:before{content:"\\e921"}.icon-eda-pdf:before{content:"\\e985"}.icon-eda-plus:before{content:"\\e986"}.icon-eda-minus:before{content:"\\e987"}.icon-eda-convert:before{content:"\\e922"}.icon-eda-solid:before{content:"\\e902"}.icon-eda-origin:before{content:"\\e904"}.icon-eda-conect:before{content:"\\e90f"}.icon-eda-pin{background-image:');W.push("url(");W.push(JSON.stringify(D8e()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-pin,.icon-eda-pin-line{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-pin-line{background-image:");W.push("url(");W.push(JSON.stringify(Jut()));W.push(")");W.push("}.icon-eda-pin-rect{background-image:");W.push("url(");W.push(JSON.stringify(qut()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px}.icon-arc_center:before{content:"\\e91a"}.icon-eda-probe:before{content:"\\e91b"}.icon-eda-copper:before{content:"\\e925"}.icon-eda-hole:before{content:"\\e930"}.icon-eda-drag:before{content:"\\e933"}.icon-eda-sheet:before{content:"\\e947"}.icon-eda-rect:before{content:"\\e948"}.icon-eda-draw:before{content:"\\e949"}.icon-eda-pie:before{content:"\\e94a"}.icon-eda-arrow:before{content:"\\e94b"}.icon-eda-polygon:before{content:"\\e94c"}.icon-eda-bezier:before{content:"\\e94d"}.icon-eda-x,.icon-eda-x-success{background-image:');W.push("url(");W.push(JSON.stringify(Sie()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-x-success{-webkit-filter:invert(50%) sepia(32%) saturate(4376%) hue-rotate(72deg) brightness(93%) contrast(92%);filter:invert(50%) sepia(32%) saturate(4376%) hue-rotate(72deg) brightness(93%) contrast(92%)}.icon-eda-x-warn{-webkit-filter:invert(32%) sepia(100%) saturate(759%) hue-rotate(10deg) brightness(97%) contrast(99%);filter:invert(32%) sepia(100%) saturate(759%) hue-rotate(10deg) brightness(97%) contrast(99%)}.icon-eda-x-question,.icon-eda-x-warn{background-image:");W.push("url(");W.push(JSON.stringify(Sie()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-x-question{-webkit-filter:invert(28%) sepia(94%) saturate(1583%) hue-rotate(214deg) brightness(81%) contrast(98%);filter:invert(28%) sepia(94%) saturate(1583%) hue-rotate(214deg) brightness(81%) contrast(98%)}.icon-eda-x-info{-webkit-filter:invert(33%) sepia(28%) saturate(364%) hue-rotate(170deg) brightness(97%) contrast(96%);filter:invert(33%) sepia(28%) saturate(364%) hue-rotate(170deg) brightness(97%) contrast(96%)}.icon-eda-x-error,.icon-eda-x-info{background-image:");W.push("url(");W.push(JSON.stringify(Sie()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-x-error{-webkit-filter:invert(30%) sepia(84%) saturate(1524%) hue-rotate(331deg) brightness(91%) contrast(99%);filter:invert(30%) sepia(84%) saturate(1524%) hue-rotate(331deg) brightness(91%) contrast(99%)}.icon-eda-x-circle{background-image:");W.push("url(");W.push(JSON.stringify(e3e()));W.push(")");W.push(';background-position:50%;background-repeat:no-repeat;background-size:12px 12px;display:inline-block;-webkit-filter:var(--common-icon-color-1);filter:var(--common-icon-color-1);height:18px;position:relative;top:1px;width:18px}.icon-eda-lock2:before{content:"\\e950"}.icon-eda-netflag5v:before{content:"\\e953"}.icon-eda-netflag-vcc{background-image:');W.push("url(");W.push(JSON.stringify(Xut()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-add-row-above{background-image:");W.push("url(");W.push(JSON.stringify(XZt()));W.push(")");W.push("}.icon-eda-add-row-above,.icon-eda-add-row-below{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--icon-color-sch-table);filter:var(--icon-color-sch-table)}.icon-eda-add-row-below{background-image:");W.push("url(");W.push(JSON.stringify($Zt()));W.push(")");W.push("}.icon-eda-add-column-left{background-image:");W.push("url(");W.push(JSON.stringify(eJt()));W.push(")");W.push("}.icon-eda-add-column-left,.icon-eda-add-column-right{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--icon-color-sch-table);filter:var(--icon-color-sch-table)}.icon-eda-add-column-right{background-image:");W.push("url(");W.push(JSON.stringify(tJt()));W.push(")");W.push("}.icon-eda-delete-row{background-image:");W.push("url(");W.push(JSON.stringify(iJt()));W.push(")");W.push("}.icon-eda-delete-column,.icon-eda-delete-row{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--icon-color-sch-table);filter:var(--icon-color-sch-table)}.icon-eda-delete-column{background-image:");W.push("url(");W.push(JSON.stringify(oJt()));W.push(")");W.push("}.icon-eda-merge-cell{background-image:");W.push("url(");W.push(JSON.stringify(rJt()));W.push(")");W.push(";-webkit-filter:var(--icon-color-sch-table);filter:var(--icon-color-sch-table)}.icon-eda-merge-cell,.icon-eda-split-cell{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-split-cell{background-image:");W.push("url(");W.push(JSON.stringify(nJt()));W.push(")");W.push("}.icon-eda-full-border{-webkit-mask:");W.push("url(");W.push(JSON.stringify(aJt()));W.push(")");W.push(" no-repeat center/18px}.icon-eda-full-border,.icon-eda-no-border{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-no-border{-webkit-mask:");W.push("url(");W.push(JSON.stringify(sJt()));W.push(")");W.push(" no-repeat center/18px}.icon-eda-bottom-border{-webkit-mask:");W.push("url(");W.push(JSON.stringify(lJt()));W.push(")");W.push(" no-repeat center/18px}.icon-eda-bottom-border,.icon-eda-top-border{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-top-border{-webkit-mask:");W.push("url(");W.push(JSON.stringify(cJt()));W.push(")");W.push(" no-repeat center/18px}.icon-eda-left-border{-webkit-mask:");W.push("url(");W.push(JSON.stringify(dJt()));W.push(")");W.push(" no-repeat center/18px}.icon-eda-left-border,.icon-eda-right-border{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-right-border{-webkit-mask:");W.push("url(");W.push(JSON.stringify(uJt()));W.push(")");W.push(" no-repeat center/18px}.icon-eda-inner-border{-webkit-mask:");W.push("url(");W.push(JSON.stringify(pJt()));W.push(")");W.push(" no-repeat center/18px}.icon-eda-inner-border,.icon-eda-outer-border{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-outer-border{-webkit-mask:");W.push("url(");W.push(JSON.stringify(mJt()));W.push(")");W.push(" no-repeat center/18px}.icon-eda-text-align-left{background-image:");W.push("url(");W.push(JSON.stringify(hJt()));W.push(")");W.push(";background-position:50%;background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-text-align-left.selected{border:1px solid #1890ff;-webkit-filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%);filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%)}.icon-eda-text-align-right{background-image:");W.push("url(");W.push(JSON.stringify(fJt()));W.push(")");W.push(";background-position:50%;background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-text-align-right.selected{border:1px solid #1890ff;-webkit-filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%);filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%)}.icon-eda-text-align-top{background-image:");W.push("url(");W.push(JSON.stringify(gJt()));W.push(")");W.push(";background-position:50%;background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-text-align-top.selected{border:1px solid #1890ff;-webkit-filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%);filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%)}.icon-eda-text-align-bottom{background-image:");W.push("url(");W.push(JSON.stringify(bJt()));W.push(")");W.push(";background-position:50%;background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-text-align-bottom.selected{border:1px solid #1890ff;-webkit-filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%);filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%)}.icon-eda-text-align-vertical-center{background-image:");W.push("url(");W.push(JSON.stringify(yJt()));W.push(")");W.push(";background-position:50%;background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-text-align-vertical-center.selected{border:1px solid #1890ff;-webkit-filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%);filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%)}.icon-eda-text-align-horizontal-center{background-image:");W.push("url(");W.push(JSON.stringify(wJt()));W.push(")");W.push(";background-position:50%;background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-text-align-horizontal-center.selected{border:1px solid #1890ff;-webkit-filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%);filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%)}.icon-eda-group{background-image:");W.push("url(");W.push(JSON.stringify(E8e()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-netflaggnd2:before{content:"\\e956"}.icon-eda-netflaggnd1:before{content:"\\e957"}.icon-eda-netlabel:before{content:"\\e958"}.icon-eda-busentry:before{content:"\\e959"}.icon-eda-netport:before{content:"\\e95a"}.icon-eda-protractor:before{content:"\\e960"}.icon-eda-any_angle:before{content:"\\e962"}.icon-eda-undo2:before{content:"\\e963"}.icon-eda-redo2:before{content:"\\e964"}.icon-eda-jlc:before{content:"\\e965"}.icon-eda-pcb{background-image:');W.push("url(");W.push(JSON.stringify(t3e()));W.push(")");W.push("}.icon-ecad-pcb,.icon-eda-pcb{background-repeat:no-repeat;background-size:16px 16px}.icon-ecad-pcb{background-image:");W.push("url(");W.push(JSON.stringify(i3e()));W.push(")");W.push("}.icon-eda-partition{background-image:");W.push("url(");W.push(JSON.stringify(A8e()));W.push(")");W.push("}.icon-eda-panel-new,.icon-eda-partition{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-panel-new{background-image:");W.push("url(");W.push(JSON.stringify($ut()));W.push(")");W.push('}.icon-eda-help2:before{content:"\\e967"}.icon-eda-scale:before{content:"\\e972"}.icon-eda-narrow:before{content:"\\e97b"}.icon-eda-arrowup:before{content:"\\e97e"}.icon-eda-arrowdown:before{content:"\\e980"}.icon-eda-data:before{content:"\\e981"}.icon-eda-route:before{content:"\\e982"}.icon-eda-check:before{content:"\\e900"}.icon-eda-delete-trash{background-image:');W.push("url(");W.push(JSON.stringify(N8e()));W.push(")");W.push("}.icon-eda-cut,.icon-eda-delete-trash{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-cut{background-image:");W.push("url(");W.push(JSON.stringify(k8e()));W.push(")");W.push(';-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-rotate:before{content:"\\e908"}.icon-eda-symbol{background-image:');W.push("url(");W.push(JSON.stringify(Mie()));W.push(")");W.push("}.icon-eda-ngspice,.icon-eda-symbol{background-repeat:no-repeat;background-size:16px 16px;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-ngspice{background-image:");W.push("url(");W.push(JSON.stringify(e0t()));W.push(")");W.push("}.icon-eda-simulide{background-image:");W.push("url(");W.push(JSON.stringify(t0t()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-simulide,.icon-eda-waveform{background-repeat:no-repeat;background-size:16px 16px;display:inline-block}.icon-eda-waveform{background-image:");W.push("url(");W.push(JSON.stringify(i0t()));W.push(")");W.push("}.icon-eda-symbol-brown{background-image:");W.push("url(");W.push(JSON.stringify(P8e()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-symbol-28{background-image:");W.push("url(");W.push(JSON.stringify(Mie()));W.push(")");W.push("}.icon-eda-qfn-28,.icon-eda-symbol-28{background-repeat:no-repeat;background-size:28px;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-qfn-28{background-image:");W.push("url(");W.push(JSON.stringify(CJt()));W.push(")");W.push("}.icon-eda-table-28{background-image:");W.push("url(");W.push(JSON.stringify(Kce()));W.push(")");W.push(";background-size:28px}.coloricon-eda-symbol,.icon-eda-table-28{background-repeat:no-repeat;display:inline-block}.coloricon-eda-symbol{background-image:");W.push("url(");W.push(JSON.stringify(o3e()));W.push(")");W.push(';background-size:16px 16px}.icon-eda-new:before{content:"\\e90a"}.icon-eda-theme:before{content:"\\e90d"}.icon-eda-tool:before{content:"\\e911"}.icon-eda-sch:before{content:"\\e912"}.icon-eda-fullscreen:before{content:"\\e913"}.icon-eda-fitinscreen:before{content:"\\e914"}.icon-eda-open:before{content:"\\e916"}.icon-eda-copy{background-image:');W.push("url(");W.push(JSON.stringify(O8e()));W.push(")");W.push("}.icon-eda-copy,.icon-eda-paste{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-paste{background-image:");W.push("url(");W.push(JSON.stringify(o0t()));W.push(")");W.push("}.icon-eda-split{background-image:");W.push("url(");W.push(JSON.stringify(r0t()));W.push(")");W.push("}.icon-eda-edit-outline,.icon-eda-split{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-edit-outline{background-image:");W.push("url(");W.push(JSON.stringify(xJt()));W.push(")");W.push('}.icon-eda-an:before{content:"\\e91d"}.icon-eda-cancel:before{content:"\\e91f"}.icon-eda-cancel-border:before{content:"\\e91f";position:relative;top:-3px}.icon-eda-document:before{content:"\\e923"}.icon-eda-edit{background-image:');W.push("url(");W.push(JSON.stringify(JQ()));W.push(")");W.push("}.icon-eda-code,.icon-eda-edit{background-repeat:no-repeat;background-size:16px 16px;cursor:pointer}.icon-eda-code{background-image:");W.push("url(");W.push(JSON.stringify(TJt()));W.push(")");W.push("}.icon-eda-refresh-2{background-image:");W.push("url(");W.push(JSON.stringify(R8e()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.eda-start-feedback2,.icon-eda-refresh-2{background-repeat:no-repeat;background-size:16px 16px;cursor:pointer}.eda-start-feedback2{background-image:");W.push("url(");W.push(JSON.stringify(SJt()));W.push(")");W.push("}.eda-start-phone{background-image:");W.push("url(");W.push(JSON.stringify(MJt()));W.push(")");W.push("}.eda-start-phone,.eda-start-wechat{background-repeat:no-repeat;background-size:16px 16px;cursor:pointer}.eda-start-wechat{background-image:");W.push("url(");W.push(JSON.stringify(IJt()));W.push(")");W.push("}.eda-start-public{background-image:");W.push("url(");W.push(JSON.stringify(LJt()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px;cursor:pointer}.icon-eda-eelib:before{content:"\\e926"}.icon-eda-download:before{content:"\\e927"}.icon-eda-fold:before{content:"\\e928"}.icon-eda-help:before{content:"\\e92a"}.icon-eda-info1:before{content:"\\e92b"}.icon-eda-lcsc:before{content:"\\e92c"}.icon-eda-list:before{content:"\\e92e"}.icon-eda-menu:before{content:"\\e92f"}.icon-eda-part{background-image:');W.push("url(");W.push(JSON.stringify(_8e()));W.push(")");W.push("}.icon-eda-part,.icon-eda-part-new{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-part-new{background-image:");W.push("url(");W.push(JSON.stringify(n0t()));W.push(")");W.push('}.icon-eda-photo:before{content:"\\e932"}.icon-eda-place:before{content:"\\e934"}.icon-eda-add{background-image:');W.push("url(");W.push(JSON.stringify(r3e()));W.push(")");W.push("}.icon-eda-add,.icon-eda-remove{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-remove{background-image:");W.push("url(");W.push(JSON.stringify(n3e()));W.push(")");W.push("}.icon-eda-zoom{background-image:");W.push("url(");W.push(JSON.stringify(j8e()));W.push(")");W.push(";background-repeat:no-repeat;display:inline-block;height:16px;width:16px}.icon-eda-sort-bi-side,.icon-eda-zoom{background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-sort-bi-side{background-image:");W.push("url(");W.push(JSON.stringify(vJt()));W.push(")");W.push(";cursor:pointer}.icon-eda-sort-up-side{background-image:");W.push("url(");W.push(JSON.stringify(DJt()));W.push(")");W.push(";background-size:100% 100%}.icon-eda-sort-down-side{background-image:");W.push("url(");W.push(JSON.stringify(EJt()));W.push(")");W.push(';background-size:100% 100%}.icon-eda-route2:before{content:"\\e937"}.icon-eda-tag:before{content:"\\e939"}.icon-eda-fork:before{content:"\\e93a"}.icon-eda-team:before{content:"\\e93b"}.icon-eda-create:before{content:"\\e93d"}.icon-eda-alignleft:before{content:"\\e93f"}.icon-eda-security:before{content:"\\e940"}.icon-eda-refresh{-webkit-filter:var(--icon-color-pcb);filter:var(--icon-color-pcb)}.icon-eda-refresh,.icon-eda-refresh-white{background-image:');W.push("url(");W.push(JSON.stringify(FR()));W.push(")");W.push(';background-repeat:no-repeat;background-size:100% 100%}.icon-eda-refresh-white{-webkit-filter:invert(100%) sepia(0) saturate(294%) hue-rotate(179deg) brightness(117%) contrast(100%);filter:invert(100%) sepia(0) saturate(294%) hue-rotate(179deg) brightness(117%) contrast(100%)}.icon-eda-follow:before{content:"\\e943"}.icon-eda-addperson:before{content:"\\e944"}.icon-eda-unlock{background-image:');W.push("url(");W.push(JSON.stringify(B8e()));W.push(")");W.push("}.icon-eda-forbidden,.icon-eda-unlock{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-forbidden{background-image:");W.push("url(");W.push(JSON.stringify(AJt()));W.push(")");W.push("}.icon-eda-operational{background-image:");W.push("url(");W.push(JSON.stringify(NJt()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-stock:before{content:"\\e95c"}.icon-eda-eye{background-image:');W.push("url(");W.push(JSON.stringify(s3()));W.push(")");W.push("}.icon-eda-eye,.icon-eda-routing-differential{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-routing-differential{background-image:");W.push("url(");W.push(JSON.stringify(a0t()));W.push(")");W.push("}.icon-eda-routing-tuning{background-image:");W.push("url(");W.push(JSON.stringify(s0t()));W.push(")");W.push("}.icon-eda-routing-differential-tunning,.icon-eda-routing-tuning{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-routing-differential-tunning{background-image:");W.push("url(");W.push(JSON.stringify(l0t()));W.push(")");W.push('}.icon-eda-module:before{content:"\\e95e"}.icon-eda-comment:before{content:"\\e95f"}.icon-eda-menu2:before{content:"\\e968"}.icon-eda-lock{background-image:');W.push("url(");W.push(JSON.stringify(z8e()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-config:before{content:"\\e96a"}.icon-eda-unstar:before{content:"\\e96b"}.icon-eda-star-fill{background-image:');W.push("url(");W.push(JSON.stringify(c0t()));W.push(")");W.push(";background-size:10px 10px}.icon-eda-star{background-image:");W.push("url(");W.push(JSON.stringify(d0t()));W.push(")");W.push(';background-size:10px 10px}.icon-eda-mobile:before{content:"\\e96d"}.icon-eda-book:before{content:"\\e96e"}.icon-eda-e:before{content:"\\e96f"}.icon-eda-sound:before{content:"\\e970"}.icon-eda-platform:before{content:"\\e974"}.icon-eda-like:before{content:"\\e975"}.icon-eda-email:before{content:"\\e976"}.icon-eda-account:before{content:"\\e978"}.icon-eda-logout:before{content:"\\e979"}.icon-eda-share2:before{content:"\\e903"}.icon-eda-info2:before{content:"\\e977"}.icon-eda-load1:before{content:"\\e97c"}.icon-eda-loading,.icon-eda-loading-white{background-image:');W.push("url(");W.push(JSON.stringify(ZF()));W.push(")");W.push(';background-repeat:no-repeat;background-size:100%;display:block;height:100%;width:100%}.icon-eda-loading-white{-webkit-filter:invert(99%) sepia(2%) saturate(428%) hue-rotate(313deg) brightness(117%) contrast(100%);filter:invert(99%) sepia(2%) saturate(428%) hue-rotate(313deg) brightness(117%) contrast(100%)}.icon-eda-wave:before{content:"\\e995"}.icon-eda-circleminus:before{content:"\\e98d"}.icon-eda-circleplus:before{content:"\\e98e"}.icon-eda-location:before{content:"\\e98f"}.icon-eda-left:before{content:"\\ea21"}.icon-eda-symbol-block{background-image:');W.push("url(");W.push(JSON.stringify(F8e()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-footprint,.icon-eda-symbol-block{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-footprint{background-image:");W.push("url(");W.push(JSON.stringify(U8e()));W.push(")");W.push("}.coloricon-eda-footprint{background-image:");W.push("url(");W.push(JSON.stringify(a3e()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px}.icon-eda-star-fill1:before{color:#666;content:"\\ea76"}.icon-eda-paste1:before{color:#666;content:"\\ea75"}.icon-eda-net-dot1:before{color:#666;content:"\\ea74"}.icon-eda-net-not1:before{color:#666;content:"\\ea73"}.icon-eda-back-to-upper{background-image:');W.push("url(");W.push(JSON.stringify(u0t()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-back-to-upper,.icon-eda-update-block-symbol,.icon-eda-update-netport{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-image{background-image:");W.push("url(");W.push(JSON.stringify(s3e()));W.push(")");W.push("}.icon-eda-annotation,.icon-eda-image{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-annotation{background-image:");W.push("url(");W.push(JSON.stringify(p0t()));W.push(")");W.push("}.icon-eda-3dshell-outline{background-image:");W.push("url(");W.push(JSON.stringify(m0t()));W.push(")");W.push("}.icon-eda-3dshell-outline,.icon-eda-3dshell-screw-pillar{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-3dshell-screw-pillar{background-image:");W.push("url(");W.push(JSON.stringify(h0t()));W.push(")");W.push("}.icon-eda-3dshell-datum-line{background-image:");W.push("url(");W.push(JSON.stringify(f0t()));W.push(")");W.push("}.icon-eda-3dshell-datum-line,.icon-eda-3dshell-side-region-slot{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-3dshell-side-region-slot{background-image:");W.push("url(");W.push(JSON.stringify(g0t()));W.push(")");W.push("}.icon-eda-3dshell-top-region-slot{background-image:");W.push("url(");W.push(JSON.stringify(b0t()));W.push(")");W.push("}.icon-eda-3dshell-side-entity,.icon-eda-3dshell-top-region-slot{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-3dshell-side-entity{background-image:");W.push("url(");W.push(JSON.stringify(y0t()));W.push(")");W.push("}.icon-eda-3dshell-top-entity{background-image:");W.push("url(");W.push(JSON.stringify(w0t()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-3dshell-top-entity,.icon-eda-export-3d{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-export-3d{background-image:");W.push("url(");W.push(JSON.stringify(kJt()));W.push(")");W.push("}.icon-eda-distribute-vertically{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-send-to-back{background-image:");W.push("url(");W.push(JSON.stringify(C0t()));W.push(")");W.push("}.icon-eda-designator,.icon-eda-send-to-back{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-designator{background-image:");W.push("url(");W.push(JSON.stringify(x0t()));W.push(")");W.push('}.icon-eda-tool-link:before{color:#666;content:"\\ea36"}.icon-eda-lock1:before{color:#666;content:"\\ea32"}.icon-eda-pin1:before{color:#666;content:"\\ea2b"}.icon-eda-update-pins{background-image:');W.push("url(");W.push(JSON.stringify(T0t()));W.push(")");W.push("}.icon-eda-bring-to-front,.icon-eda-update-pins{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-bring-to-front{background-image:");W.push("url(");W.push(JSON.stringify(S0t()));W.push(")");W.push(';-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-trash-2:before{color:#666;content:"\\ea81"}.icon-eda-cut1:before{color:#666;content:"\\ea82"}.icon-eda-copy1:before{color:#666;content:"\\ea8b"}.icon-eda-unstar1:before{color:#666;content:"\\ea68"}.icon-eda-loading1:before{content:"\\ea67"}.icon-eda-undo1:before{content:"\\ea6a"}.icon-eda-panel-bottom{background-image:');W.push("url(");W.push(JSON.stringify(PJt()));W.push(")");W.push("}.icon-eda-panel-bottom,.icon-eda-panel-left{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-panel-left{background-image:");W.push("url(");W.push(JSON.stringify(OJt()));W.push(")");W.push('}.icon-eda-add-2:before{color:#999;content:"\\ea35"}.icon-eda-arrow-down:before{color:#999;content:"\\ea31"}.icon-eda-clock .path1:before{color:#d9d9d9;content:"\\ea30"}.icon-eda-clock .path2:before{color:#1890ff;content:"\\eaaf";margin-left:-1em}.icon-eda-clock .path3:before{color:#1890ff;content:"\\eab0";margin-left:-1em}.icon-eda-clock .path4:before{color:#1890ff;content:"\\eab1";margin-left:-1em}.icon-eda-delete1:before{color:#999;content:"\\ea2a"}.icon-eda-help1:before{color:#fff;content:"\\ea23"}.icon-eda-italics:before{color:#666;content:"\\ea79"}.icon-eda-menu1:before{color:#fff;content:"\\ea80"}.icon-eda-sort:before{color:#999;content:"\\ea83"}.icon-eda-scale-ruler{background-image:');W.push("url(");W.push(JSON.stringify(RJt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-net-label{background-image:");W.push("url(");W.push(JSON.stringify(V8e()));W.push(")");W.push("}.icon-eda-net-label,.icon-eda-symbol-short{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-symbol-short{background-image:");W.push("url(");W.push(JSON.stringify(H8e()));W.push(")");W.push("}.icon-eda-no-connect-flag{background-image:");W.push("url(");W.push(JSON.stringify(G8e()));W.push(")");W.push("}.icon-eda-junction-flag,.icon-eda-no-connect-flag{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-junction-flag{background-image:");W.push("url(");W.push(JSON.stringify(Y8e()));W.push(")");W.push('}.icon-eda-fold1 .path1:before{color:#d48806;content:"\\eaac"}.icon-eda-fold1 .path2:before{color:var(--common-font-color);content:"\\eab2";margin-left:-1em}.icon-eda-fold1 .path3:before{color:#ffc53d;content:"\\eab3";margin-left:-1em}.icon-eda-news:before{color:#1890ff;content:"\\ea64"}.icon-eda-serve:before{color:#1890ff;content:"\\ea65"}.icon-eda-quick-start:before{color:#1890ff;content:"\\ea66"}.icon-eda-cancel-3:before{content:"\\ea4e"}.icon-eda-page{background-image:');W.push("url(");W.push(JSON.stringify(l3e()));W.push(")");W.push("}.icon-eda-page,.icon-eda-schematic{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-schematic{background-image:");W.push("url(");W.push(JSON.stringify(c3e()));W.push(")");W.push("}.icon-eda-device{background-image:");W.push("url(");W.push(JSON.stringify(_Jt()));W.push(")");W.push("}.coloricon-eda-device,.icon-eda-device{background-repeat:no-repeat;background-size:16px 16px}.coloricon-eda-device{background-image:");W.push("url(");W.push(JSON.stringify(d3e()));W.push(")");W.push("}.icon-eda-library{background-image:");W.push("url(");W.push(JSON.stringify(M0t()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-wire{background-image:");W.push("url(");W.push(JSON.stringify(W8e()));W.push(")");W.push("}.icon-eda-add-circle,.icon-eda-back-to-template,.icon-eda-wire{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-back-to-template{background-image:");W.push("url(");W.push(JSON.stringify(I0t()));W.push(")");W.push("}.icon-eda-module-schematic{background-image:");W.push("url(");W.push(JSON.stringify(jJt()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px}.icon-eda-add1:before{content:"\\ea7a"}.icon-eda-arrow-right-3:before{content:"\\ea7f"}.icon-eda-arrow-down-2:before{content:"\\ea84"}.icon-eda-blod:before{content:"\\ea89"}.icon-eda-box:before{content:"\\ea8e"}.icon-eda-circle-2:before{content:"\\ea93"}.icon-eda-clear:before{color:#333;content:"\\ea94"}.icon-eda-delete-trash-circle:before{content:"\\ea99"}.icon-eda-edit1:before{content:"\\ea9a"}.icon-eda-export1:before{content:"\\ea9f"}.icon-eda-exsit:before{content:"\\eaa0"}.icon-eda-filter-2:before{content:"\\eaa1"}.icon-eda-netflag-agnd{background-image:');W.push("url(");W.push(JSON.stringify(L0t()));W.push(")");W.push("}.icon-eda-netflag-agnd,.icon-eda-netflag-gnd{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-netflag-gnd{background-image:");W.push("url(");W.push(JSON.stringify(Q8e()));W.push(")");W.push("}.icon-eda-netflag-gnd-brown{background-image:");W.push("url(");W.push(JSON.stringify(K8e()));W.push(")");W.push("}.icon-eda-netflag-gnd-brown,.icon-eda-netflag-pgnd{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-netflag-pgnd{background-image:");W.push("url(");W.push(JSON.stringify(v0t()));W.push(")");W.push(';-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-help11:before{content:"\\ea27"}.icon-eda-impacted:before{content:"\\ea26"}.icon-eda-netport-in{background-image:');W.push("url(");W.push(JSON.stringify(Z8e()));W.push(")");W.push("}.icon-eda-netport-in,.icon-eda-offPageConnector-in{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-offPageConnector-in{background-image:");W.push("url(");W.push(JSON.stringify(J8e()));W.push(")");W.push("}.icon-eda-offPageConnector-out{background-image:");W.push("url(");W.push(JSON.stringify(q8e()));W.push(")");W.push("}.icon-eda-offPageConnector-bi,.icon-eda-offPageConnector-out{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-offPageConnector-bi{background-image:");W.push("url(");W.push(JSON.stringify(X8e()));W.push(")");W.push("}.icon-eda-differential{background-image:");W.push("url(");W.push(JSON.stringify($8e()));W.push(")");W.push("}.icon-eda-differential,.icon-eda-differential-brown{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-differential-brown{background-image:");W.push("url(");W.push(JSON.stringify(eAe()));W.push(")");W.push('}.icon-eda-increase:before{content:"\\ea7e"}.icon-eda-key:before{content:"\\ea85"}.icon-eda-negative-pulse:before{content:"\\ea88"}.icon-eda-move-right-line{background-image:');W.push("url(");W.push(JSON.stringify(tAe()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px}.icon-eda-offsheet:before{content:"\\ea92"}.icon-eda-onsheet:before{content:"\\ea95"}.icon-eda-positive-pulse:before{content:"\\ea98"}.icon-eda-post:before{content:"\\ea9b"}.icon-eda-rect-2:before{content:"\\ea9e"}.icon-eda-refresh1:before{content:"\\eaa3"}.icon-eda-setting-2:before{content:"\\eaa2"}.icon-eda-setting{background-image:');W.push("url(");W.push(JSON.stringify(D0t()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-setting1:before{content:"\\ea3c"}.icon-eda-click-to-select{background-image:');W.push("url(");W.push(JSON.stringify(BJt()));W.push(")");W.push("}.icon-eda-click-to-select,.icon-eda-team-join{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-team-join{background-image:");W.push("url(");W.push(JSON.stringify(iAe()));W.push(")");W.push("}.icon-eda-join{background-image:");W.push("url(");W.push(JSON.stringify(oAe()));W.push(")");W.push("}.icon-eda-folder-2,.icon-eda-join{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-folder-2{background-image:");W.push("url(");W.push(JSON.stringify(rAe()));W.push(")");W.push('}.icon-eda-sine-wave:before{content:"\\ea4c"}.icon-eda-target:before{content:"\\ea2c"}.icon-eda-team1:before{content:"\\ea2d"}.icon-eda-trash:before{content:"\\ea2e"}.icon-eda-triangle-right:before{content:"\\ea7c"}.icon-eda-underline:before{content:"\\ea7d"}.icon-eda-wave1:before{content:"\\ea86"}.icon-eda-netport-bi{background-image:');W.push("url(");W.push(JSON.stringify(E0t()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-bisheet:before{content:"\\ea90"}.icon-eda-netport-out{background-image:');W.push("url(");W.push(JSON.stringify(nAe()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-netport-out,.icon-eda-netport-out-brown{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-netport-out-brown{background-image:");W.push("url(");W.push(JSON.stringify(aAe()));W.push(")");W.push("}.icon-eda-move-left-line{background-image:");W.push("url(");W.push(JSON.stringify(sAe()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px}.icon-eda-pulse:before{content:"\\ea97"}.icon-eda-more:before{content:"\\ea9c"}.icon-eda-arc1:before{content:"\\ea4a"}.icon-eda-arrow-left-1:before{content:"\\ea4b"}.icon-eda-bom{background-image:');W.push("url(");W.push(JSON.stringify(lAe()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-bom,.icon-eda-checkbox-indeterminate{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-checkbox-indeterminate{background-image:");W.push("url(");W.push(JSON.stringify(A0t()));W.push(")");W.push('}.icon-eda-block1:before{content:"\\ea40"}.icon-eda-book1:before{content:"\\ea41"}.icon-eda-bus1:before{content:"\\ea42"}.icon-eda-clock1:before{content:"\\ea44"}.icon-eda-file1:before{content:"\\ea45"}.icon-eda-filter1:before{content:"\\ea46"}.icon-eda-flip-horizontally{background-image:');W.push("url(");W.push(JSON.stringify(N0t()));W.push(")");W.push("}.icon-eda-flip-horizontally,.icon-eda-flip-vertically{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-flip-vertically{background-image:");W.push("url(");W.push(JSON.stringify(k0t()));W.push(")");W.push('}.icon-eda-net-line1:before{content:"\\ea49"}.icon-eda-hand:before{content:"\\eaa6"}.icon-eda-backup{background-image:');W.push("url(");W.push(JSON.stringify(P0t()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-import1:before{content:"\\eaa8"}.icon-eda-tree-2:before{content:"\\eaaa"}.icon-eda-panel{background-image:');W.push("url(");W.push(JSON.stringify(u3e()));W.push(")");W.push("}.icon-eda-panel,.icon-eda-panel-right{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-panel-right{background-image:");W.push("url(");W.push(JSON.stringify(zJt()));W.push(")");W.push(';-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-list1:before{content:"\\ea51"}.icon-eda-netlist{background-image:');W.push("url(");W.push(JSON.stringify(O0t()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-board,.icon-eda-netlist{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-board{background-image:");W.push("url(");W.push(JSON.stringify(FJt()));W.push(")");W.push("}.icon-eda-board-new{background-image:");W.push("url(");W.push(JSON.stringify(UJt()));W.push(")");W.push("}.icon-eda-board-new,.icon-eda-schematic-new{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-schematic-new{background-image:");W.push("url(");W.push(JSON.stringify(R0t()));W.push(")");W.push("}.icon-eda-page-new{background-image:");W.push("url(");W.push(JSON.stringify(_0t()));W.push(")");W.push("}.icon-eda-page-new,.icon-eda-pcb-new{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-pcb-new{background-image:");W.push("url(");W.push(JSON.stringify(j0t()));W.push(")");W.push("}.icon-ecad-pcb-new{background-image:");W.push("url(");W.push(JSON.stringify(B0t()));W.push(")");W.push("}.icon-ecad-pcb-new,.icon-eda-folder-new{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-folder-new{background-image:");W.push("url(");W.push(JSON.stringify(cAe()));W.push(")");W.push("}.icon-eda-folder-open{background-image:");W.push("url(");W.push(JSON.stringify(VJt()));W.push(")");W.push("}.icon-eda-folder-open,.icon-eda-project{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-project{background-image:");W.push("url(");W.push(JSON.stringify(dAe()));W.push(")");W.push("}.icon-eda-folder{background-image:");W.push("url(");W.push(JSON.stringify(uAe()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px}.icon-eda-rect1:before{content:"\\ea55"}.icon-eda-redo4:before{content:"\\ea56"}.icon-eda-rotate-left{background-image:');W.push("url(");W.push(JSON.stringify(z0t()));W.push(")");W.push("}.icon-eda-rotate-left,.icon-eda-rotate-right{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-rotate-right{background-image:");W.push("url(");W.push(JSON.stringify(F0t()));W.push(")");W.push("}.icon-eda-find{background-image:");W.push("url(");W.push(JSON.stringify(U0t()));W.push(")");W.push("}.icon-eda-find,.icon-eda-similar{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-similar{background-image:");W.push("url(");W.push(JSON.stringify(V0t()));W.push(")");W.push("}.icon-eda-cutout{background-image:");W.push("url(");W.push(JSON.stringify(H0t()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px}.icon-eda-table1:before{content:"\\ea5b"}.icon-eda-tag1:before{content:"\\ea5c"}.icon-eda-text1:before{content:"\\ea5d"}.icon-eda-view:before{content:"\\ea5f"}.icon-eda-wire1:before{content:"\\ea60"}.icon-eda-zoom-in{background-image:');W.push("url(");W.push(JSON.stringify(G0t()));W.push(")");W.push("}.icon-eda-zoom-in,.icon-eda-zoom-out{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-zoom-out{background-image:");W.push("url(");W.push(JSON.stringify(Y0t()));W.push(")");W.push("}.icon-eda-table{background-image:");W.push("url(");W.push(JSON.stringify(Kce()));W.push(")");W.push("}.icon-eda-redo,.icon-eda-table{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-redo{background-image:");W.push("url(");W.push(JSON.stringify(W0t()));W.push(")");W.push("}.icon-eda-export{background-image:");W.push("url(");W.push(JSON.stringify(Q0t()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px}.icon-eda-print:before{content:"\\e9a7"}.icon-eda-bom2:before{content:"\\e9a8"}.icon-eda-save{background-image:');W.push("url(");W.push(JSON.stringify(pAe()));W.push(")");W.push("}.icon-eda-save,.icon-eda-save-all{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-save-all{background-image:");W.push("url(");W.push(JSON.stringify(mAe()));W.push(")");W.push("}.icon-eda-save-as{background-image:");W.push("url(");W.push(JSON.stringify(K0t()));W.push(")");W.push("}.icon-eda-save-as,.icon-eda-undo{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-undo{background-image:");W.push("url(");W.push(JSON.stringify(Z0t()));W.push(")");W.push(';-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-redo3:before{content:"\\e9ae"}.icon-eda-view-fit-all{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-view-fit-selection{background-image:');W.push("url(");W.push(JSON.stringify(J0t()));W.push(")");W.push("}.icon-eda-view-fit-area-selection,.icon-eda-view-fit-selection{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-view-fit-area-selection{background-image:");W.push("url(");W.push(JSON.stringify(q0t()));W.push(")");W.push('}.icon-eda-adapte-view:before{content:"\\e9b3"}.icon-eda-filter{background-image:');W.push("url(");W.push(JSON.stringify(hAe()));W.push(")");W.push(";background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-tree{background-image:");W.push("url(");W.push(JSON.stringify(X0t()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px}.icon-eda-info3:before{content:"\\e9b6"}.icon-eda-bottom-tool:before{content:"\\e9b7"}.icon--23:before{content:"\\e9bb"}.icon-eda-select:before{content:"\\e9bc"}.icon-eda-bus{background-image:');W.push("url(");W.push(JSON.stringify(p3e()));W.push(")");W.push("}.icon-eda-arc,.icon-eda-bus{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-arc{background-image:");W.push("url(");W.push(JSON.stringify(m3e()));W.push(")");W.push("}.icon-eda-rectangle{background-image:");W.push("url(");W.push(JSON.stringify(Zce()));W.push(")");W.push("}.icon-eda-rectangle,.icon-eda-teardrop{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-teardrop{background-image:");W.push("url(");W.push(JSON.stringify($0t()));W.push(")");W.push("}.icon-eda-circle{background-image:");W.push("url(");W.push(JSON.stringify(fAe()));W.push(")");W.push("}.icon-eda-circle,.icon-eda-ellipse{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-ellipse{background-image:");W.push("url(");W.push(JSON.stringify(Jce()));W.push(")");W.push("}.icon-eda-3d-model-new{background-image:");W.push("url(");W.push(JSON.stringify(HJt()));W.push(")");W.push("}.icon-eda-3d-model,.icon-eda-3d-model-new{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-3d-model{background-image:");W.push("url(");W.push(JSON.stringify(ept()));W.push(")");W.push("}.icon-eda-line{background-image:");W.push("url(");W.push(JSON.stringify(gAe()));W.push(")");W.push("}.icon-eda-line,.icon-eda-text{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-text{background-image:");W.push("url(");W.push(JSON.stringify(h3e()));W.push(")");W.push("}.icon-eda-align-top{background-image:");W.push("url(");W.push(JSON.stringify(bAe()));W.push(")");W.push("}.icon-eda-align-top,.icon-eda-align-vertical-center{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-align-vertical-center{background-image:");W.push("url(");W.push(JSON.stringify(yAe()));W.push(")");W.push("}.icon-eda-align-bottom{background-image:");W.push("url(");W.push(JSON.stringify(wAe()));W.push(")");W.push("}.icon-eda-align-bottom,.icon-eda-align-left{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-align-left{background-image:");W.push("url(");W.push(JSON.stringify(CAe()));W.push(")");W.push("}.icon-eda-align-horizontal-center{background-image:");W.push("url(");W.push(JSON.stringify(xAe()));W.push(")");W.push("}.icon-eda-align-horizontal-center,.icon-eda-align-right{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-align-right{background-image:");W.push("url(");W.push(JSON.stringify(TAe()));W.push(")");W.push("}.icon-eda-distribute-horizontally{background-image:");W.push("url(");W.push(JSON.stringify(tpt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-distribute-horizontally-by-distance{background-image:");W.push("url(");W.push(JSON.stringify(ipt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-distribute-horizontally-by-center-distance{background-image:");W.push("url(");W.push(JSON.stringify(opt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-distribute-vertically{background-image:");W.push("url(");W.push(JSON.stringify(rpt()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px}.icon-eda-h-flip:before{content:"\\e9d1"}.icon-eda-v-flip:before{content:"\\e9d2"}.icon-eda-rotate2:before{content:"\\e9d3"}.icon-eda-reverse:before{content:"\\e9d4"}.icon-eda-fileRecovery:before{content:"\\e9d5"}.icon-eda-share{background-image:');W.push("url(");W.push(JSON.stringify(GJt()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px}.icon-eda-wire2:before{content:"\\e9e2"}.icon-eda-expend:before{content:"\\e9a3"}.icon-service:before{content:"\\e9a5"}.icon-quick_start:before{content:"\\e9a4"}.icon-warning:before{content:"\\e993"}.icon-heart:before{content:"\\e999"}.icon-heart-broken:before{content:"\\e994"}.icon-eda-pinlocation:before{content:"\\e98c"}.icon-eda-help3:before{content:"\\e98a"}.icon-eda-file{background-image:');W.push("url(");W.push(JSON.stringify(YJt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.layer-panel-table .layer-panel-row .visible-eye-tag{background-image:");W.push("url(");W.push(JSON.stringify(s3()));W.push(")");W.push("}.layer-panel-table .layer-panel-row .hidden-eye-tag,.layer-panel-table .layer-panel-row .visible-eye-tag{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);position:relative}.layer-panel-table .layer-panel-row .hidden-eye-tag{background-image:");W.push("url(");W.push(JSON.stringify(Jx()));W.push(")");W.push(";opacity:.25}.icon-eda-tree-fold-1{background-image:");W.push("url(");W.push(JSON.stringify(npt()));W.push(")");W.push("}.icon-eda-tree-fold-1,.icon-eda-tree-unfold-1{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-tree-unfold-1{background-image:");W.push("url(");W.push(JSON.stringify(apt()));W.push(")");W.push("}.icon-eda-tree-unfold-2{background-image:");W.push("url(");W.push(JSON.stringify(Ow()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-move-up,.icon-eda-tree-unfold-2{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-move-up{background-image:");W.push("url(");W.push(JSON.stringify(SAe()));W.push(")");W.push("}.icon-eda-move-down{background-image:");W.push("url(");W.push(JSON.stringify(spt()));W.push(")");W.push("}.icon-eda-move-down,.icon-eda-move-down-line{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-move-down-line{background-image:");W.push("url(");W.push(JSON.stringify(I2()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-move{background-image:");W.push("url(");W.push(JSON.stringify(f3e()));W.push(")");W.push("}.icon-eda-move,.icon-eda-view-full-screen{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-view-full-screen{background-image:");W.push("url(");W.push(JSON.stringify(lpt()));W.push(")");W.push("}.icon-eda-ratline{background-image:");W.push("url(");W.push(JSON.stringify(cpt()));W.push(")");W.push("}.icon-eda-ratline,.icon-eda-vias-suture{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-vias-suture{background-image:");W.push("url(");W.push(JSON.stringify(dpt()));W.push(")");W.push("}.icon-eda-check-erc{background-image:");W.push("url(");W.push(JSON.stringify(WJt()));W.push(")");W.push("}.icon-eda-check-erc,.icon-eda-routing-push{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-routing-push{background-image:");W.push("url(");W.push(JSON.stringify(upt()));W.push(")");W.push("}.icon-eda-command{background-image:");W.push("url(");W.push(JSON.stringify(ppt()));W.push(")");W.push("}.icon-eda-command,.icon-eda-manager-footprint{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-manager-footprint{background-image:");W.push("url(");W.push(JSON.stringify(mpt()));W.push(")");W.push("}.icon-eda-manager-device{background-image:");W.push("url(");W.push(JSON.stringify(hpt()));W.push(")");W.push("}.icon-eda-manager-device,.icon-eda-manager-layer{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-manager-layer{background-image:");W.push("url(");W.push(JSON.stringify(MAe()));W.push(")");W.push("}.icon-eda-manager-copper{background-image:");W.push("url(");W.push(JSON.stringify(fpt()));W.push(")");W.push("}.icon-eda-manager-3d-model,.icon-eda-manager-copper{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-manager-3d-model{background-image:");W.push("url(");W.push(JSON.stringify(gpt()));W.push(")");W.push("}.icon-eda-bom-matching{background-image:");W.push("url(");W.push(JSON.stringify(bpt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-soldering-assistance{background-image:");W.push("url(");W.push(JSON.stringify(ypt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-position-file{background-image:");W.push("url(");W.push(JSON.stringify($4e()));W.push(")");W.push("}.icon-eda-info,.icon-eda-position-file{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-info{background-image:");W.push("url(");W.push(JSON.stringify(wpt()));W.push(")");W.push("}.icon-eda-wizard{background-image:");W.push("url(");W.push(JSON.stringify(Cpt()));W.push(")");W.push("}.icon-eda-update-block-symbol,.icon-eda-wizard{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-update-block-symbol{background-image:");W.push("url(");W.push(JSON.stringify(xpt()));W.push(")");W.push("}.icon-eda-update-netport{background-image:");W.push("url(");W.push(JSON.stringify(Tpt()));W.push(")");W.push("}.icon-eda-dimension-length,.icon-eda-update-netport{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-dimension-length{background-image:");W.push("url(");W.push(JSON.stringify(IAe()));W.push(")");W.push("}.icon-eda-dimension-degree{background-image:");W.push("url(");W.push(JSON.stringify(LAe()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-dimension-radius{background-image:");W.push("url(");W.push(JSON.stringify(vAe()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-dimension-coordinate{background-image:");W.push("url(");W.push(JSON.stringify(QJt()));W.push(")");W.push("}.icon-eda-arc-center,.icon-eda-dimension-coordinate{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-arc-center{background-image:");W.push("url(");W.push(JSON.stringify(DAe()));W.push(")");W.push("}.icon-eda-arc-two-points{background-image:");W.push("url(");W.push(JSON.stringify(EAe()));W.push(")");W.push("}.icon-eda-arc-three-points,.icon-eda-arc-two-points{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-arc-three-points{background-image:");W.push("url(");W.push(JSON.stringify(AAe()));W.push(")");W.push("}.icon-eda-ask-question{background-image:");W.push("url(");W.push(JSON.stringify(Spt()));W.push(")");W.push(";background-position:50%;background-repeat:no-repeat;background-size:16px 16px;background-size:cover;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-remove-circle{background-image:");W.push("url(");W.push(JSON.stringify(KJt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-zoom-small{background-image:");W.push("url(");W.push(JSON.stringify(Iie()));W.push(")");W.push(";display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:12px;width:12px}.icon-eda-eye-small,.icon-eda-zoom-small{background-repeat:no-repeat;background-size:12px 12px}.icon-eda-eye-small{background-image:");W.push("url(");W.push(JSON.stringify(ZJt()));W.push(")");W.push("}.icon-eda-filter-small{background-image:");W.push("url(");W.push(JSON.stringify(JJt()));W.push(")");W.push("}.icon-eda-filter-small,.icon-eda-info-small{background-repeat:no-repeat;background-size:12px 12px}.icon-eda-info-small{background-image:");W.push("url(");W.push(JSON.stringify(qJt()));W.push(")");W.push("}.icon-eda-lock-small{background-image:");W.push("url(");W.push(JSON.stringify(XJt()));W.push(")");W.push("}.icon-eda-lock-small,.icon-eda-refresh-small{background-repeat:no-repeat;background-size:12px 12px}.icon-eda-refresh-small{background-image:");W.push("url(");W.push(JSON.stringify(Mpt()));W.push(")");W.push("}.icon-eda-refresh-1-small{background-image:");W.push("url(");W.push(JSON.stringify($Jt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:12px 12px}.icon-eda-sort-bi-side-small{background-image:");W.push("url(");W.push(JSON.stringify(NAe()));W.push(")");W.push(";background-repeat:no-repeat;background-size:12px 12px}.icon-eda-sort-down-side-small{background-image:");W.push("url(");W.push(JSON.stringify(Ipt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:12px 12px}.icon-eda-sort-up-side-small{background-image:");W.push("url(");W.push(JSON.stringify(Lpt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:12px 12px}.icon-eda-unlock-side-small{background-image:");W.push("url(");W.push(JSON.stringify(eqt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:12px 12px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-x-circle-small{background-image:");W.push("url(");W.push(JSON.stringify(UR()));W.push(")");W.push(";background-position:50%;-webkit-filter:var(--common-icon-color-1);filter:var(--common-icon-color-1);position:relative;top:1px}.icon-eda-no-fixed,.icon-eda-x-circle-small{background-repeat:no-repeat;background-size:12px 12px;display:inline-block;height:12px;width:12px}.icon-eda-no-fixed{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);transform:rotate(90deg)}.icon-eda-fixed,.icon-eda-no-fixed{background-image:");W.push("url(");W.push(JSON.stringify(vpt()));W.push(")");W.push("}.icon-eda-fixed{background-repeat:no-repeat;background-size:12px 12px;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:12px;width:12px}.icon-eda-distribute-vertically-by-distance{background-image:");W.push("url(");W.push(JSON.stringify(Dpt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-distribute-vertically-by-center-distance{background-image:");W.push("url(");W.push(JSON.stringify(Ept()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-exit-quit{background-image:");W.push("url(");W.push(JSON.stringify(tqt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-bell{background-image:");W.push("url(");W.push(JSON.stringify(iqt()));W.push(")");W.push("}.icon-eda-bell,.icon-eda-update{background-repeat:no-repeat;background-size:18px 18px}.icon-eda-update{background-image:");W.push("url(");W.push(JSON.stringify(Apt()));W.push(")");W.push("}.icon-eda-upload{background-image:");W.push("url(");W.push(JSON.stringify(oqt()));W.push(")");W.push("}.icon-eda-upload,.icon-eda-uploading{background-repeat:no-repeat;background-size:18px 18px}.icon-eda-uploading{background-image:");W.push("url(");W.push(JSON.stringify(rqt()));W.push(")");W.push("}.icon-eda-sync-fail{background-image:");W.push("url(");W.push(JSON.stringify(nqt()));W.push(")");W.push("}.icon-eda-sync-cloud,.icon-eda-sync-fail{background-repeat:no-repeat;background-size:18px 18px}.icon-eda-sync-cloud{background-image:");W.push("url(");W.push(JSON.stringify(aqt()));W.push(")");W.push("}.icon-eda-sync-cloud-fill-dangerous{background-image:");W.push("url(");W.push(JSON.stringify(sqt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:18px 18px}.icon-eda-sync-finish{background-image:");W.push("url(");W.push(JSON.stringify(lqt()));W.push(")");W.push("}.icon-eda-sync-finish,.icon-eda-sync-rotate{background-repeat:no-repeat;background-size:18px 18px}.icon-eda-sync-rotate{background-image:");W.push("url(");W.push(JSON.stringify(cqt()));W.push(")");W.push("}.icon-eda-bezier-2{background-image:");W.push("url(");W.push(JSON.stringify(qce()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-dimension-smart-panel,.icon-eda-bezier-2{background-repeat:no-repeat;background-size:16px 16px}.icon-dimension-smart-panel{background-image:");W.push("url(");W.push(JSON.stringify(kAe()));W.push(")");W.push("}.icon-pen-tool{background-image:");W.push("url(");W.push(JSON.stringify(g3e()));W.push(")");W.push("}.icon-eda-board-fill,.icon-pen-tool{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-board-fill{background-image:");W.push("url(");W.push(JSON.stringify(b3e()));W.push(")");W.push("}.icon-ecad-board-fill{background-image:");W.push("url(");W.push(JSON.stringify(y3e()));W.push(")");W.push("}.icon-ecad-board-fill,.icon-eda-board-new-fill{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-board-new-fill{background-image:");W.push("url(");W.push(JSON.stringify(Npt()));W.push(")");W.push("}.icon-ecad-board-new-fill{background-image:");W.push("url(");W.push(JSON.stringify(kpt()));W.push(")");W.push("}.icon-ecad-board-new-fill,.icon-eda-project-fill{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-project-fill{background-image:");W.push("url(");W.push(JSON.stringify(Lie()));W.push(")");W.push("}.icon-eda-project-open-source{background-image:");W.push("url(");W.push(JSON.stringify(PAe()));W.push(")");W.push("}.icon-eda-combination,.icon-eda-project-open-source{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-combination{background-image:");W.push("url(");W.push(JSON.stringify(Ppt()));W.push(")");W.push("}.icon-eda-standard-edition-migration{background-image:");W.push("url(");W.push(JSON.stringify(Opt()));W.push(")");W.push("}.icon-eda-standard-edition-migration,.icon-ok{background-repeat:no-repeat;background-size:16px 16px}.icon-ok{background-image:");W.push("url(");W.push(JSON.stringify(dqt()));W.push(")");W.push("}.icon-eda-update-to-pcb{background-image:");W.push("url(");W.push(JSON.stringify(Rpt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-rotate-by-reference{background-image:");W.push("url(");W.push(JSON.stringify(_pt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-schematic-block{background-image:");W.push("url(");W.push(JSON.stringify(OAe()));W.push(")");W.push("}.icon-eda-reuse-block,.icon-eda-schematic-block{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-reuse-block{background-image:");W.push("url(");W.push(JSON.stringify(jpt()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-class-track{background-image:");W.push("url(");W.push(JSON.stringify(uqt()));W.push(")");W.push("}.icon-eda-class-track,.icon-eda-member{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-member{background-image:");W.push("url(");W.push(JSON.stringify(RAe()));W.push(")");W.push(";-webkit-filter:var(--icon-color-drop-down-menuItem);filter:var(--icon-color-drop-down-menuItem)}.icon-eda-person{background-image:");W.push("url(");W.push(JSON.stringify(_Ae()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-3d-preview-top{background-image:");W.push("url(");W.push(JSON.stringify(w3e()));W.push(")");W.push("}.icon-eda-3d-preview-bottom,.icon-eda-3d-preview-top{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--icon-color-pcb);filter:var(--icon-color-pcb)}.icon-eda-3d-preview-bottom{background-image:");W.push("url(");W.push(JSON.stringify(C3e()));W.push(")");W.push("}.icon-eda-3d-preview-right{background-image:");W.push("url(");W.push(JSON.stringify(x3e()));W.push(")");W.push("}.icon-eda-3d-preview-left,.icon-eda-3d-preview-right{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--icon-color-pcb);filter:var(--icon-color-pcb)}.icon-eda-3d-preview-left{background-image:");W.push("url(");W.push(JSON.stringify(T3e()));W.push(")");W.push("}.icon-eda-3d-preview-front{background-image:");W.push("url(");W.push(JSON.stringify(S3e()));W.push(")");W.push("}.icon-eda-3d-preview-back,.icon-eda-3d-preview-front{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--icon-color-pcb);filter:var(--icon-color-pcb)}.icon-eda-3d-preview-back{background-image:");W.push("url(");W.push(JSON.stringify(M3e()));W.push(")");W.push("}.icon-eda-3d-preview-explode{background-image:");W.push("url(");W.push(JSON.stringify(Bpt()));W.push(")");W.push("}.icon-eda-3d-preview-explode,.icon-eda-view-fit-all{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--icon-color-pcb);filter:var(--icon-color-pcb)}.icon-eda-view-fit-all{background-image:");W.push("url(");W.push(JSON.stringify(Xce()));W.push(")");W.push("}.eda-sort-up-arrow{background-image:");W.push("url(");W.push(JSON.stringify(zpt()));W.push(")");W.push("}.eda-sort-down-arrow,.eda-sort-up-arrow{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.eda-sort-down-arrow{background-image:");W.push("url(");W.push(JSON.stringify(Fpt()));W.push(")");W.push("}.eda-filter-pixel{background-image:");W.push("url(");W.push(JSON.stringify(Upt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-3d-preview-normalview{background-image:");W.push("url(");W.push(JSON.stringify(Vpt()));W.push(")");W.push("}.icon-eda-3d-preview-normalview,.icon-eda-3d-preview-outlineview{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--icon-color-pcb);filter:var(--icon-color-pcb)}.icon-eda-3d-preview-outlineview{background-image:");W.push("url(");W.push(JSON.stringify(Hpt()));W.push(")");W.push("}.icon-eda-3d-preview-gerberview{background-image:");W.push("url(");W.push(JSON.stringify(Gpt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--icon-color-pcb);filter:var(--icon-color-pcb)}.icon-eda-equal-length-line45-centered{background-image:");W.push("url(");W.push(JSON.stringify(pqt()));W.push(")");W.push("}.icon-eda-equal-length-line45-not-centered{background-image:");W.push("url(");W.push(JSON.stringify(mqt()));W.push(")");W.push("}.icon-eda-equal-length-line90-centered{background-image:");W.push("url(");W.push(JSON.stringify(hqt()));W.push(")");W.push("}.icon-eda-equal-length-line90-not-centered{background-image:");W.push("url(");W.push(JSON.stringify(fqt()));W.push(")");W.push("}.icon-eda-equal-length-arc90-centered{background-image:");W.push("url(");W.push(JSON.stringify(gqt()));W.push(")");W.push("}.icon-eda-equal-length-arc90-not-centered{background-image:");W.push("url(");W.push(JSON.stringify(bqt()));W.push(")");W.push("}.icon-eda-netflag-5V{background-image:");W.push("url(");W.push(JSON.stringify(Ypt()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-list-detail,.icon-eda-netflag-5V{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-list-detail{background-image:");W.push("url(");W.push(JSON.stringify(yqt()));W.push(")");W.push("}.icon-eda-list-grid{background-image:");W.push("url(");W.push(JSON.stringify(wqt()));W.push(")");W.push("}.icon-eda-list-grid,.icon-eda-pdf1{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-pdf1{background-image:");W.push("url(");W.push(JSON.stringify(Cqt()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-pdf-1{background-image:");W.push("url(");W.push(JSON.stringify(xqt()));W.push(")");W.push("}.icon-eda-pdf-1,.icon-eda-pdf-2{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-pdf-2{background-image:");W.push("url(");W.push(JSON.stringify(Tqt()));W.push(")");W.push("}.icon-eda-duplicate-1{background-image:");W.push("url(");W.push(JSON.stringify(I3e()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-link{background-image:");W.push("url(");W.push(JSON.stringify(Sqt()));W.push(")");W.push("}.icon-eda-link,.icon-eda-link.off{cursor:pointer;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-link.off{background-image:");W.push("url(");W.push(JSON.stringify(Mqt()));W.push(")");W.push("}.icon-eda-unlink{background-image:");W.push("url(");W.push(JSON.stringify(Iqt()));W.push(")");W.push(";cursor:pointer}.icon-eda-refresh-1,.icon-eda-unlink{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-refresh-1{background-image:");W.push("url(");W.push(JSON.stringify(R8e()));W.push(")");W.push("}.icon-eda-refresh-1,.icon-eda-restore{background-repeat:no-repeat;background-size:12px 12px}.icon-eda-restore{background-image:");W.push("url(");W.push(JSON.stringify(Wpt()));W.push(")");W.push("}.icon-eda-maximize{background-image:");W.push("url(");W.push(JSON.stringify(jAe()));W.push(")");W.push(";background-repeat:no-repeat;background-size:12px 12px}.icon-eda-drawing{background-image:");W.push("url(");W.push(JSON.stringify(BAe()));W.push(")");W.push("}.icon-eda-drawing,.icon-eda-drawing-brown{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-drawing-brown{background-image:");W.push("url(");W.push(JSON.stringify(zAe()));W.push(")");W.push("}.icon-eda-non-electronic-flag{background-image:");W.push("url(");W.push(JSON.stringify(FAe()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-non-electronic-flag-brown{background-image:");W.push("url(");W.push(JSON.stringify(UAe()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-fold-up{background-image:");W.push("url(");W.push(JSON.stringify(Qpt()));W.push(")");W.push("}.icon-eda-fold-up,.icon-eda-pop-up{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-pop-up{background-image:");W.push("url(");W.push(JSON.stringify(Kpt()));W.push(")");W.push("}.icon-eda-symbol-resistor{background-image:");W.push("url(");W.push(JSON.stringify(Zpt()));W.push(")");W.push("}.icon-eda-symbol-capacitor,.icon-eda-symbol-resistor{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-symbol-capacitor{background-image:");W.push("url(");W.push(JSON.stringify(Jpt()));W.push(")");W.push("}.icon-eda-symbol-inductor{background-image:");W.push("url(");W.push(JSON.stringify(qpt()));W.push(")");W.push("}.icon-eda-symbol-diode,.icon-eda-symbol-inductor{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-symbol-diode{background-image:");W.push("url(");W.push(JSON.stringify(Xpt()));W.push(")");W.push("}.icon-eda-smt-patch{background-image:");W.push("url(");W.push(JSON.stringify(Lqt()));W.push(")");W.push("}.icon-eda-smt-patch,.icon-eda-snap{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-snap{background-image:");W.push("url(");W.push(JSON.stringify(vqt()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-in-stock-lcsc{background-image:");W.push("url(");W.push(JSON.stringify(Dqt()));W.push(")");W.push("}.icon-eda-in-stock-lcsc,.icon-eda-in-stock-smt{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-in-stock-smt{background-image:");W.push("url(");W.push(JSON.stringify(Eqt()));W.push(")");W.push("}.icon-eda-logo{background-image:");W.push("url(");W.push(JSON.stringify($pt()));W.push(")");W.push(";-webkit-filter:none!important;filter:none!important}.icon-ecad-logo,.icon-eda-logo{background-repeat:no-repeat;background-size:16px 16px}.icon-ecad-logo{background-image:");W.push("url(");W.push(JSON.stringify(VAe()));W.push(")");W.push("}.icon-eda-auxiliary{background-image:");W.push("url(");W.push(JSON.stringify(L3e()));W.push(")");W.push("}.icon-eda-auxiliary,.icon-eda-auxiliary-horizontal{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-auxiliary-horizontal{background-image:");W.push("url(");W.push(JSON.stringify(v3e()));W.push(")");W.push("}.icon-eda-auxiliary-vertical{background-image:");W.push("url(");W.push(JSON.stringify(D3e()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-auxiliary-point{background-image:");W.push("url(");W.push(JSON.stringify(E3e()));W.push(")");W.push("}.icon-eda-auxiliary-point,.icon-eda-filler-none{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-filler-none{background-image:");W.push("url(");W.push(JSON.stringify(Aqt()));W.push(")");W.push("}.icon-eda-filler-solid{background-image:");W.push("url(");W.push(JSON.stringify(Nqt()));W.push(")");W.push("}.icon-eda-filler-grid,.icon-eda-filler-solid{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-filler-grid{background-image:");W.push("url(");W.push(JSON.stringify(kqt()));W.push(")");W.push("}.icon-eda-filler-horizontal{background-image:");W.push("url(");W.push(JSON.stringify(Pqt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-filler-vertical{background-image:");W.push("url(");W.push(JSON.stringify(Oqt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-filler-rhombic-grid{background-image:");W.push("url(");W.push(JSON.stringify(Rqt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-filler-left-slash{background-image:");W.push("url(");W.push(JSON.stringify(_qt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-filler-right-slash{background-image:");W.push("url(");W.push(JSON.stringify(jqt()));W.push(")");W.push("}.icon-eda-capture-stop,.icon-eda-filler-right-slash{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-capture-stop{background-image:");W.push("url(");W.push(JSON.stringify(Bqt()));W.push(")");W.push("}.icon-eda-connect-ignore{background-image:");W.push("url(");W.push(JSON.stringify(zqt()));W.push(")");W.push("}.icon-eda-connect-ignore,.icon-eda-connect-warning{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:none!important;filter:none!important}.icon-eda-connect-warning{background-image:");W.push("url(");W.push(JSON.stringify(Fqt()));W.push(")");W.push("}.icon-eda-connect-error{background-image:");W.push("url(");W.push(JSON.stringify(Uqt()));W.push(")");W.push("}.icon-eda-connect-error,.icon-eda-connect-fatal-error{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:none!important;filter:none!important}.icon-eda-connect-fatal-error{background-image:");W.push("url(");W.push(JSON.stringify(Vqt()));W.push(")");W.push("}.icon-eda-sim-start{background-image:");W.push("url(");W.push(JSON.stringify(emt()));W.push(")");W.push("}.icon-eda-sim-pause,.icon-eda-sim-start{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-sim-pause{background-image:");W.push("url(");W.push(JSON.stringify(tmt()));W.push(")");W.push("}.icon-eda-sim-stop{background-image:");W.push("url(");W.push(JSON.stringify(imt()));W.push(")");W.push("}.icon-eda-sim-setting,.icon-eda-sim-stop{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-sim-setting{background-image:");W.push("url(");W.push(JSON.stringify(omt()));W.push(")");W.push("}.icon-eda-sim-probe-current{background-image:");W.push("url(");W.push(JSON.stringify(rmt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-sim-probe-voltage{background-image:");W.push("url(");W.push(JSON.stringify(nmt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-sim-probe-digital{background-image:");W.push("url(");W.push(JSON.stringify(amt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-sim-toggleButton-on{background-image:");W.push("url(");W.push(JSON.stringify(Hqt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--icon-color-selected-toolbar);filter:var(--icon-color-selected-toolbar)}.icon-eda-sim-toggleButton-off{background-image:");W.push("url(");W.push(JSON.stringify(Gqt()));W.push(")");W.push("}.icon-eda-sim-rising-edge,.icon-eda-sim-toggleButton-off{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-sim-rising-edge{background-image:");W.push("url(");W.push(JSON.stringify(Yqt()));W.push(")");W.push("}.icon-eda-sim-falling-edge{background-image:");W.push("url(");W.push(JSON.stringify(Wqt()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-sim-falling-edge,.icon-eda-sim-new{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-sim-new{background-image:");W.push("url(");W.push(JSON.stringify(smt()));W.push(")");W.push("}.eda-sort-sim-up-arrow{background-image:");W.push("url(");W.push(JSON.stringify(zpt()));W.push(")");W.push("}.eda-sort-sim-down-arrow,.eda-sort-sim-up-arrow{background-repeat:no-repeat;background-size:16px 16px}.eda-sort-sim-down-arrow{background-image:");W.push("url(");W.push(JSON.stringify(Fpt()));W.push(")");W.push("}.combo{border:1px solid #a4bed4;display:inline-block;margin:0;white-space:nowrap}.combo,.combo-text{font-size:12px;padding:0}.combo-text{border:0;height:20px;*height:18px;_height:18px;line-height:20px;*line-height:18px;_line-height:18px}.combo-arrow{background:#e0ecf9 ");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhDgANAKIAAAAAAP///9HV2U5RU////wAAAAAAAAAAACH5BAEAAAQALAAAAAAOAA0AAAMXSLrc/hCO0Wa1atJLtdTbF0ZjZJ5oyiQAOw=="');W.push(")");W.push(" no-repeat 3px 4px;cursor:pointer;display:inline-block;filter:alpha(opacity=60);height:20px;opacity:.6;overflow:hidden;vertical-align:top;width:18px}.combo-arrow-hover{filter:alpha(opacity=100);opacity:1}.combo-panel{background:#fff;overflow:auto}.combobox-item,.comboboxdrop-item{font-size:12px;padding:3px 0 3px 3px}.combobox-item-hover,.comboboxdrop-item-hover{background:#fafafa}.combobox-item-selected,.comboboxdrop-item-selected{background:#fbec88}.datagrid .panel-body{overflow:hidden}.datagrid-view,.datagrid-wrap{position:relative}.datagrid-view{overflow:hidden}.datagrid-view1{left:0;border-right1:1px solid #ccc}.datagrid-view1,.datagrid-view2{overflow:hidden;position:absolute;top:0}.datagrid-view2{left:210px}.datagrid-mask{background:#ccc;display:none;filter:alpha(opacity=30);left:0;opacity:.3;position:absolute;top:0}.datagrid-mask-msg,.panel-loading,.tree-loading{background:");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhEAAQAPYAAOfn5xhFjMPL15CiwGWBrkttok5vo3GLs5urxcvR2p2txjRbmDhemT5inENnn0psoW2Isa+7zi5WlXSNtNfa39nc4LXA0YecvFh3p2SArbK9z8HJ1kZpoClTk4mdvaGwyGJ/rHyTt8/U3ISZuyJNkGyGsJanw2qFr6u4zFBwpCBLj6e1ypGkwSpTkxxIjdTX3t3f4nmRtoOZu9/h44GXuqCvx+Pk5eXl5rO+0LvF0+Hi5MXM2KWzytvd4cLJ1tHW3czR2r/I1bnD0rC7zs3T28fO2N3f4snP2XqRtqm3y6i1ylV1p1p4qGB9q2eDrk1vo0hqoLfB0XePtUBkndXZ3zpfmoufvl99qzthmzBXlpmqxFZ1pyZQkoabvGiDrkJlnrrD0r3G1NPX3q26zX6UuI6hv5ipw117qoyfvlRzplJypTJZl56txiROkSBLj6OyyRpGjJWnwzZcmShRkkRnn3aOtTxhmx5JjnKLszFZl1x6qW+Jsn+WuQAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAAHjYAAgoOEhYUbIykthoUIHCQqLoI2OjeFCgsdJSsvgjcwPTaDAgYSHoY2FBSWAAMLE4wAPT89ggQMEbEzQD+CBQ0UsQA7RYIGDhWxN0E+ggcPFrEUQjuCCAYXsT5DRIIJEBgfhjsrFkaDERkgJhswMwk4CDzdhBohJwcxNB4sPAmMIlCwkOGhRo5gwhIGAgAh+QQJCgAAACwAAAAAEAAQAAAHjIAAgoOEhYU7A1dYDFtdG4YAPBhVC1ktXCRfJoVKT1NIERRUSl4qXIRHBFCbhTKFCgYjkII3g0hLUbMAOjaCBEw9ukZGgidNxLMUFYIXTkGzOmLLAEkQCLNUQMEAPxdSGoYvAkS9gjkyNEkJOjovRWAb04NBJlYsWh9KQ2FUkFQ5SWqsEJIAhq6DAAIBACH5BAkKAAAALAAAAAAQABAAAAeJgACCg4SFhQkKE2kGXiwChgBDB0sGDw4NDGpshTheZ2hRFRVDUmsMCIMiZE48hmgtUBuCYxBmkAAQbV2CLBM+t0puaoIySDC3VC4tgh40M7eFNRdH0IRgZUO3NjqDFB9mv4U6Pc+DRzUfQVQ3NzAULxU2hUBDKENCQTtAL9yGRgkbcvggEq9atUAAIfkECQoAAAAsAAAAABAAEAAAB4+AAIKDhIWFPygeEE4hbEeGADkXBycZZ1tqTkqFQSNIbBtGPUJdD088g1QmMjiGZl9MO4I5ViiQAEgMA4JKLAm3EWtXgmxmOrcUElWCb2zHkFQdcoIWPGK3Sm1LgkcoPrdOKiOCRmA4IpBwDUGDL2A5IjCCN/QAcYUURQIJIlQ9MzZu6aAgRgwFGAFvKRwUCAAh+QQJCgAAACwAAAAAEAAQAAAHjIAAgoOEhYUUYW9lHiYRP4YACStxZRc0SBMyFoVEPAoWQDMzAgolEBqDRjg8O4ZKIBNAgkBjG5AAZVtsgj44VLdCanWCYUI3txUPS7xBx5AVDgazAjC3Q3ZeghUJv5B1cgOCNmI/1YUeWSkCgzNUFDODKydzCwqFNkYwOoIubnQIt244MzDC1q2DggIBACH5BAkKAAAALAAAAAAQABAAAAeJgACCg4SFhTBAOSgrEUEUhgBUQThjSh8IcQo+hRUbYEdUNjoiGlZWQYM2QD4vhkI0ZWKCPQmtkG9SEYJURDOQAD4HaLuyv0ZeB4IVj8ZNJ4IwRje/QkxkgjYz05BdamyDN9uFJg9OR4YEK1RUYzFTT0qGdnduXC1Zchg8kEEjaQsMzpTZ8avgoEAAIfkECQoAAAAsAAAAABAAEAAAB4iAAIKDhIWFNz0/Oz47IjCGADpURAkCQUI4USKFNhUvFTMANxU7KElAhDA9OoZHH0oVgjczrJBRZkGyNpCCRCw8vIUzHmXBhDM0HoIGLsCQAjEmgjIqXrxaBxGCGw5cF4Y8TnybglprLXhjFBUWVnpeOIUIT3lydg4PantDz2UZDwYOIEhgzFggACH5BAkKAAAALAAAAAAQABAAAAeLgACCg4SFhjc6RhUVRjaGgzYzRhRiREQ9hSaGOhRFOxSDQQ0uj1RBPjOCIypOjwAJFkSCSyQrrhRDOYILXFSuNkpjggwtvo86H7YAZ1korkRaEYJlC3WuESxBggJLWHGGFhcIxgBvUHQyUT1GQWwhFxuFKyBPakxNXgceYY9HCDEZTlxA8cOVwUGBAAA7AAAAAAAAAAAA"');W.push(")");W.push(" no-repeat}.datagrid-mask-msg{background-position:5px;border:2px solid #6593cf;color:#222;display:none;height:16px;left:100px;padding:12px 5px 10px 30px;position:absolute;top:50px;width:auto}.datagrid-title{background:");W.push("url(");W.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAgCAIAAABch4VNAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAsSAAALEgHS3X78AAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAAEJJREFUCJk9xzEKwDAQxECt/P/XBpzKt2mCC8GI562ALR5qW9vYweF3ayc23AcEnODemPQvhnGxrMdFBEyi4RrGJB/F8SYPwMGwywAAAABJRU5ErkJggg=="');W.push(")");W.push(" repeat-x;border-bottom:1px solid #8db2e3;border-top:1px solid #fff;padding:5px 0;position:relative}.datagrid-title-text{color:#15428b;font-weight:700;padding-left:5px}.datagrid-title-with-icon{padding-left:22px}.datagrid-title-icon{height:16px;left:3px;position:absolute;top:4px!important;top:6px;width:16px}.datagrid-sort-desc .datagrid-sort-icon{background:");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhDQAFAJEAAOPu+2GQzf///wAAACH5BAEHAAIALAAAAAANAAUAAAIPRI4Bwmy5WntKWhOtzLYAADs="');W.push(")");W.push(" no-repeat 50%;padding:2px 13px 3px 0}.datagrid-sort-asc .datagrid-sort-icon{background:");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhDQAFAJEAAOPu+2GQzf///wAAACH5BAEHAAIALAAAAAANAAUAAAINlBWnGr3c3It0gYuxKgA7"');W.push(")");W.push(" no-repeat 50%;padding:2px 13px 3px 0}.datagrid-sort-no .datagrid-sort-icon{background:");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhDQAFAJEAAOPu+2GQzf///wAAACH5BAEHAAIALAAAAAANAAUAAAINlBWnGr3c3It0gYuxKgA7"');W.push(")");W.push(" no-repeat center 30%,");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhDQAFAJEAAOPu+2GQzf///wAAACH5BAEHAAIALAAAAAANAAUAAAIPRI4Bwmy5WntKWhOtzLYAADs="');W.push(")");W.push(" no-repeat center 75%;padding:2px 13px 3px 0}.datagrid-toolbar{background:#efefef;border-bottom:1px solid #ccc;height:28px;padding:1px 2px}.datagrid-btn-separator{border-left:1px solid #ccc;border-right:1px solid #fff;float:left;height:24px;margin:2px 1px}.datagrid-pager{background:#efefef;border-top:1px solid #ccc;position:relative}.datagrid-header{border-bottom:1px solid #ccc;margin-bottom:1px;overflow:hidden}.datagrid-header-inner{float:left;margin-bottom:-1px;padding-right:20px}.datagrid-header td{border-bottom:1px dotted #ccc;border-right:1px dotted #ccc;border-top:1px dotted #fff;font-size:12px;font-weight:400}.datagrid-header td.datagrid-header-over{background:#ebf3fd}.datagrid-header .datagrid-cell{padding:3px 4px}.datagrid-header .datagrid-cell,.datagrid-header .datagrid-cell-group{margin:0;white-space:nowrap;word-wrap:normal;overflow:hidden;text-align:center}.datagrid-header .datagrid-cell-group{padding:4px 2px 4px 4px}.datagrid-cell-rownumber,.datagrid-header-rownumber{margin:0;padding:3px 0;text-align:center;width:25px}.datagrid-body{margin:0;overflow:auto;padding:0;zoom:1}.datagrid-view1 .datagrid-body-inner{padding-bottom:20px}.datagrid-footer,.datagrid-view1 .datagrid-body{overflow:hidden}.datagrid-footer-inner{border-top:1px solid #ccc;float:left;width:10000px}.datagrid-body td,.datagrid-footer td{border-bottom:1px dotted #ccc;border-right:1px dotted #ccc;font-size:12px;margin:0;overflow:hidden;padding:0}.datagrid-body .datagrid-cell,.datagrid-footer .datagrid-cell{margin:0;overflow:hidden;padding:3px 4px;white-space:nowrap;word-wrap:normal}.datagrid-header-check{padding:3px 6px}.datagrid-cell-check{font-size:1px;overflow:hidden;padding:3px 6px}.datagrid-cell-check input,.datagrid-header-check input{height:15px;margin:0;padding:0;width:15px}.datagrid-row-collapse{background:");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhCgAKAKIAADMzM//M/93d3WZmZv///wAAAAAAAAAAACH5BAEHAAEALAAAAAAKAAoAAAMVGLrc/mrISQe5+ErBOx9AKI5QaS4JADs="');W.push(")");W.push(" no-repeat 50%}.datagrid-row-expand{background:");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhCgAKAKIAADMzM//M/93d3WZmZv///wAAAAAAAAAAACH5BAEHAAEALAAAAAAKAAoAAAMgGDo8+mEQ4mAUosaGG5sEBjJYWQ5ACmAq8AyddWVy+yQAOw=="');W.push(")");W.push(" no-repeat 50%}.datagrid-row-alt{background:#eef}.datagrid-row-over{background:#e6f7ff;cursor:default}.datagrid-row-selected{background:#e6f7ff;color:#1890ff}.datagrid-resize-proxy{background:red;cursor:e-resize;display:none;height:10000px;position:absolute;top:0;width:1px}.datagrid-body .datagrid-editable{padding:0}.datagrid-body .datagrid-editable table{height:100%;width:100%}.datagrid-body .datagrid-editable td{border:0;padding:0}.datagrid-body .datagrid-editable .datagrid-editable-input{border:1px solid #a4bed4;font-size:12px;padding:3px 2px;width:100%}.dialog-content{overflow:auto}.dialog-toolbar{background:#fafafa;border-bottom:1px solid #eee;padding:2px 5px}.dialog-tool-separator{border-left:1px solid #ccc;border-right:1px solid #fff;float:left;height:24px;margin:2px 1px}.dialog-button{height:28px;margin-top:16px;overflow:hidden;text-align:right}.dialog-button a.l-btn{-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:0}.dialog-button .l-btn{margin-left:8px}.dialog-button .l-btn.left:first-child{margin-left:0}a.l-btn{color:#444;cursor:pointer;display:inline-block;font-size:12px;outline:none;text-decoration:none;zoom:1}a.l-btn-plain{background:transparent;border:1px solid transparent;_border:0 solid #efefef;padding-right:5px;_padding:1px 6px 1px 1px}a.l-btn-disabled{color:#ccc;cursor:default}a.l-btn-disabled span{-webkit-filter:invert(.9);filter:invert(.9)}a.l-btn span.l-btn-left{display:block;line-height:16px;padding:6px 0 4px}a.l-btn-plain span.l-btn-left{background:transparent;padding-left:5px}a.l-btn span span.l-btn-text{display:inline-block;height:16px;line-height:16px;padding:0}a.l-btn span span span.l-btn-empty{display:inline-block;padding:0;width:16px}a:hover.l-btn{background-position:100% 100%;outline:none}a:hover.l-btn span.l-btn-left{background-position:0 100%}a:hover.l-btn-plain{_padding:0 5px 0 0}a:hover.l-btn-disabled{background-position:100% 0}a:hover.l-btn-disabled span.l-btn-left{background-position:0 0}.progressbar{border:1px solid #d3d3d3;border-radius:5px 5px 5px 5px;overflow:hidden;position:relative}.progressbar-text{color:#000;text-align:center}.progressbar-value{background-color:#096dd9;border-radius:5px 0 0 5px;left:0;overflow:hidden;position:absolute;top:0;width:0}.progressbar-value .progressbar-text{color:#fff}.viewDatasheet,.viewProductDetail{background-color:transparent;color:transparent;display:block;height:24px;left:0;position:absolute;text-decoration:none;top:0;width:100%}.m-btn-downarrow{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #333;display:inline-block}.messager-body{padding:5px 10px}.messager-body .content{min-height:100px}.messager-button{float:right;height:28px;overflow:hidden;padding-top:14px}.messager-button .l-btn{margin-left:5px}.messager-button .l-btn:first-child{margin-left:0}.messager-icon{background-position:top;background-repeat:no-repeat;background-size:auto 100%;height:20px;position:absolute;width:20px}.messager-icon+div{line-height:20px;min-height:100px;padding-left:25px}.messager-icon.messager-error+div{max-height:100px;overflow-y:auto}.messager-error{background-image:");W.push("url(");W.push(JSON.stringify(e3e()));W.push(")");W.push(";-webkit-filter:invert(30%) sepia(84%) saturate(1524%) hue-rotate(331deg) brightness(91%) contrast(99%);filter:invert(30%) sepia(84%) saturate(1524%) hue-rotate(331deg) brightness(91%) contrast(99%)}.icon-eda-fatal-error{background-image:");W.push("url(");W.push(JSON.stringify(Qqt()));W.push(")");W.push(";background-repeat:no-repeat}.icon-eda-error-1{background-image:");W.push("url(");W.push(JSON.stringify(Kqt()));W.push(")");W.push(";background-repeat:no-repeat}.icon-eda-warning-2{background-image:");W.push("url(");W.push(JSON.stringify(Zqt()));W.push(")");W.push(";background-repeat:no-repeat}.messager-error2{background-image:");W.push("url(");W.push(JSON.stringify(e3e()));W.push(")");W.push(";-webkit-filter:invert(21%) sepia(36%) saturate(5476%) hue-rotate(345deg) brightness(109%) contrast(101%);filter:invert(21%) sepia(36%) saturate(5476%) hue-rotate(345deg) brightness(109%) contrast(101%)}.messager-info{-webkit-filter:invert(28%) sepia(94%) saturate(1583%) hue-rotate(210deg) brightness(81%) contrast(98%);filter:invert(28%) sepia(94%) saturate(1583%) hue-rotate(210deg) brightness(81%) contrast(98%)}.messager-info,.messager-info2{background-image:");W.push("url(");W.push(JSON.stringify(Jqt()));W.push(")");W.push("}.messager-info2{-webkit-filter:invert(45%) sepia(43%) saturate(5169%) hue-rotate(193deg) brightness(91%) contrast(103%);filter:invert(45%) sepia(43%) saturate(5169%) hue-rotate(193deg) brightness(91%) contrast(103%)}.messager-question{background-image:");W.push("url(");W.push(JSON.stringify(Spt()));W.push(")");W.push(";-webkit-filter:invert(13%) sepia(78%) saturate(3822%) hue-rotate(246deg) brightness(87%) contrast(98%);filter:invert(13%) sepia(78%) saturate(3822%) hue-rotate(246deg) brightness(87%) contrast(98%)}.messager-warning{-webkit-filter:invert(63%) sepia(81%) saturate(2292%) hue-rotate(14deg) brightness(113%) contrast(103%);filter:invert(63%) sepia(81%) saturate(2292%) hue-rotate(14deg) brightness(113%) contrast(103%)}.messager-warning,.messager-warning2{background-image:");W.push("url(");W.push(JSON.stringify(d9()));W.push(")");W.push("}.messager-warning2{-webkit-filter:invert(35%) sepia(92%) saturate(543%) hue-rotate(345deg) brightness(92%) contrast(87%);filter:invert(35%) sepia(92%) saturate(543%) hue-rotate(345deg) brightness(92%) contrast(87%)}.messager-success{background-image:");W.push("url(");W.push(JSON.stringify(qqt()));W.push(")");W.push(";-webkit-filter:invert(50%) sepia(97%) saturate(355%) hue-rotate(114deg) brightness(88%) contrast(90%);filter:invert(50%) sepia(97%) saturate(355%) hue-rotate(114deg) brightness(88%) contrast(90%)}.icon-eda-warning-1{background-image:");W.push("url(");W.push(JSON.stringify(HAe()));W.push(")");W.push(";background-repeat:no-repeat;padding-left:16px}.messager-input{border:1px solid #ccc;font-size:14px;width:350px}.panel{font-size:12px;overflow:hidden}.panel.window{border-radius:2px;overflow:visible;overflow:initial}.panel-header{background:#f1f1f1;border-bottom:none;font-family:Microsoft YaHei;font-size:12px;line-height:16px;padding:8px 16px;position:relative}.panel-header-noborder{border-width:0}.panel-body{border-top-width:0;overflow-x:hidden;overflow-y:auto}.hasborder .panel-body.dialog-content{border:1px solid #e9e9e9}.hasborder .dialog-content.panel-body{-moz-box-sizing:border-box;box-sizing:border-box;padding:9px 16px}.single-message{margin-left:0!important;margin-right:0!important;margin-top:16px!important;padding-bottom:50px!important}.window .panel-body.window-body{background:#fff;-moz-box-sizing:border-box;box-sizing:border-box;padding:16px}.panel-body-noheader{border-top-width:1px}.panel-body-noborder{border-width:0}.panel-with-icon{padding-left:0}.panel-icon{height:16px;left:5px;position:absolute;top:4px;width:16px}.panel-tool{position:absolute;right:5px;top:6px}.panel-tool div{display:block;filter:alpha(opacity=60);float:right;height:16px;margin-left:6px;opacity:.6;width:16px}.panel-tool div.panel-tool-over{filter:alpha(opacity=100);opacity:1}.panel-tool a{display:block;height:16px;width:16px}.panel-tool-close,.panel-tool-max,.panel-tool-min,.panel-tool-restore{background:");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhIAAgANUAAB1ZrGyf6q0sCsXf/mCS05A2HFmIysRPHI/f8PNgINZNGqfL/2trazd2xedRG322/nyn2v///7ZEGKpsKPqKLYW6/HWs9aNYIoey5JxUUmma2CJjtZTG/91gH3yw8r3e/ZO86EZ11Gqe4bnZ/XKo7iVpuYWp3JW08mKY4GCPzPyUMXui6Mvi/P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEHAC0ALAAAAAAgACAAAAb/wFarsSkajaWGUJgROJ/QzLIEYg0+o6x2BCkJBR0VZUwmdwRDzGjBabs5lTaqkelQEvi8PqHIlNYVgQ+DgxWEJQJ3DgoKDo6LjY4CG3CGhJeFGwJ4ChEREo4Sno0JkxUemKkemh2Lnp+io5IbHqiphLWajA6xr5+NCpMeFha3D8SrApG8vqCQwsXGyLqRvZ+OCme0FiQiGt/gIiQWyQeM1p4SjAeTJCQavr4aJOUKvRL3CuwbAQEE8a8IkMCwocCBA7HU2Ut3cBKKhykMSJyYQgQEggXwaZRwcOOBCQUahNCAQoTJkyYhmEhBJ+OFjRovXJhwQcoGAxBy6sxpAoKB/g1CCsicQLRo0QsFljQAwLRp0w1KljAoQLWqVQZLhpQ4ciRJViJckURtUQKDFSxbsnQRQsVKWi1rG2D4wOZNmzgc5sila/eunAZ/OLwDR5jEoBKBESAYXPhwCTjwAEbQ8KBCETiKI8urXOTEA83xKK/a4DkzQNFFaoGWl4uWB8aEJ7ceBm/ixMnkUltYPRn3aNoRDBAjZsC3bt6eNOTeVpsbcePMIwy3MHnecne1bRefNxp7hHHjJrujV6QfcvEE+QXgPc9d+oewC18s8hAF4W/jV5iAOrIkypMqsSQSSf8BuJISN+20U08/CZGggjz5BJQQSznlFFRfWXhhVEEAADs="');W.push(")");W.push(" no-repeat 0 0}.panel-tool-max{background-position:0 -16px}.panel-tool-close{background-position:-16px 0}.panel-tool-restore{background-position:-16px -16px}.panel-tool-collapse{background:");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhEAAQAMQAAAAAAP///0Z11Gyf6oWp3KfL/x1ZrGKY4FmIymqe4WCPzHKo7iJjtSVpuTd2xWma2H22/nyw8oW6/Hyn2sXf/pTG/4ey5JO86LnZ/cvi/L3e/f///wAAAAAAAAAAAAAAACH5BAEAABsALAAAAAAQABAAAAVz4LY5TGmajSNuzZVRGibP2NSMFlZUfF9JvIOjoZMYIUikJNlg/JbJqLJkrFqtkVJkyw0EuFwt2OsFZxljcjmM3qrV7IV8Tp+fB/i8Pm8pHfaAA30OAg8HCYiJiBMECioMCBOSk5IEEwgMKw4GnJ2dDCobIQA7"');W.push(")");W.push(" no-repeat}.panel-tool-expand{background:");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhEAAQAMQAAAAAAP///0Z11Gyf6oWp3KfL/x1ZrGKY4FmIymqe4WCPzHKo7iJjtSVpuTd2xWma2H22/nyw8oW6/Hyn2sXf/pTG/4ey5JO86LnZ/cvi/L3e/f///wAAAAAAAAAAAAAAACH5BAEAABsALAAAAAAQABAAAAV04LY5TGmajSNuzZVRGibP2NSMFlZUfF9JvIOjoZMYIUikJNlg/JbJqLJkrFqtkVJky+12tduAeCzmgsPkwJfhJXtLi7hcLI9nGYO8fq+3lA58gQN+DgIPBwmJiokTBAoqDAgTk5STBBMIDCsOBp2engwqGyEAOw=="');W.push(")");W.push(" no-repeat}.panel-loading{background-position:10px;padding:11px 0 10px 30px}.spinner{border:1px solid #a4bed4;display:inline-block;margin:0;white-space:nowrap}.spinner,.spinner-text{font-size:12px;padding:0}.spinner-text{border:0;height:20px;*height:18px;_height:18px;line-height:20px;*line-height:18px;_line-height:18px}.spinner-arrow{display:inline-block;margin:0;padding:0;vertical-align:top}.spinner-arrow-down,.spinner-arrow-up{background:#e0ecf9 ");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhCQAFAIABAE1hhf///yH5BAEAAAEALAAAAAAJAAUAAAIMjAOnwIrcDHxpSlYAADs="');W.push(")");W.push(" no-repeat 5px 2px;display:block;font-size:1px;height:10px;width:18px}.spinner-arrow-down{background:#e0ecf9 ");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhCQAFAIABAE1hhf///yH5BAEAAAEALAAAAAAJAAUAAAIMhIMGoXypFoJyJlsAADs="');W.push(")");W.push(" no-repeat 5px 3px}.spinner-arrow-hover{background-color:#ecf9f9}.s-btn-downarrow{background:");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhEAAEAIAAAP///wAAACH5BAEHAAAALAAAAAAQAAQAAAIMjB+gy5gM1YkUvKoKADs="');W.push(")");W.push(" no-repeat 9px;display:inline-block;width:16px}a.s-btn-active{background-position:100% 100%}a.s-btn-active span.l-btn-left{background-position:0 100%}a.s-btn-active .s-btn-downarrow,a.s-btn-plain-active .s-btn-downarrow,a:hover.l-btn .s-btn-downarrow{background:");W.push("url(");W.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAyCAMAAABiSatuAAAABGdBTUEAANbY1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAJUExURYCAgAAAAP///z6loLUAAAADdFJOU///ANfKDUEAAAAnSURBVHjaYmBgQgUMowKDR4ARApBUwPlwLTA+wgzG0SAcQAGAAAMAoQUFzduCtIkAAAAASUVORK5CYII="');W.push(")");W.push(" no-repeat 4px -18px}a.s-btn-plain-active{background:transparent;border:1px solid #7eabcd;-moz-border-radius:3px;-webkit-border-radius:3px;_padding:0 5px 0 0}.tabs-container{background:#fff;overflow:hidden}.tabs-header{background:#e0ecff;border:1px solid #8db2e3;border-bottom:0;overflow:hidden;padding:0;position:relative}.tabs-header-left{float:left;height:100%;padding:0;width:30px}.tabs-header-noborder{border:0}.tabs-header-plain{background:transparent;border:0}.tabs-scroller-left{background:#e0ecff ");W.push("url(");W.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAEXSURBVDjLY/j//z8DJZiBLgZkz37Ynjrz4ReyDEideb89afrDf5ET7v4n2YCEqXf7qpY9/T9r76v/Xu03STMgasLteaVLHv+fufvl/6k7X/y3qrlCvAHBvTeXFC54ANbctv7p/95Nz/5rFZ0nzoCAzpuPsuc++D91x4v/jasf/y9aeP9/89rH/6VTTxJngGPDtc3xU+/879789H/5kgf/02fd+V+17OF/yZhjxBmgVXCaRT3v7BqP1mv/a1Y+/J824/b/woX3/osHHSAtECVjjqy0Lb/wP2/+3f+Zs+/8F3XfS3o0inntXWSeffJ/0tRb/0Ucdv4nKyEJW25ZYBh/5L+w5fb/ZCdlQYMNs4WMt/wfuMyEDwMA0Irn/pDRT58AAAAASUVORK5CYII="');W.push(")");W.push(" no-repeat 1px 5px;left:0}.tabs-scroller-left,.tabs-scroller-right{border:1px solid #8db2e3;cursor:pointer;display:none;font-size:1px;height:28px!important;height:30px;position:absolute;top:-1px;width:18px}.tabs-scroller-right{background:#e0ecff ");W.push("url(");W.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAEdSURBVDjLY/j//z8DJZiB6gY0rH7xpW7li3YKDHj1v2bli38lix61k2VA5fJn/9eeeP+/fcOL/wlT7/aRbEDegkf/Vxx/93/xobf/S5c8/u/ecm0eSQYkTX/4f+HBN/8nbX/xf+bul/8Tp9/9r1N0dgnRBgT33QZqfPW/YdXj/42rH//v2vjkv3fHtf9SScceEWWAc8u1/xO2Pv9fsvjB//IlD4CGPPrvXH/5v2Tksc1EGWBaful/+/on/4sW3gfGxsP/9lUX/ksEH1gj6rqdhSgDlPPO/q9b8fB/5bIH/23LL/wXD9i7kqRAlEo6+b908f3/NiXn/4t57V1EcjRKRB75b1145r+o684FZCUkMb8D/0Uct88euMxEKgYA7Ojrv4CgE7EAAAAASUVORK5CYII="');W.push(")");W.push(' no-repeat 2px 5px;right:0}.tabs-tool{background:#e0ecff;border:1px solid #8db2e3;overflow:hidden;padding:1px;position:absolute;top:-1px}.tabs-header-plain .tabs-scroller-left,.tabs-header-plain .tabs-scroller-right{height:25px!important;height:27px;top:2px}.tabs-header-plain .tabs-tool{padding-top:0;top:2px}.tabs-scroller-over{background-color:#ecf9f9}.tabs-wrap{left:0;margin:0;overflow:hidden;padding:0;position:relative;width:100%}.tabs-header-left>.tabs-wrap{height:100%}.tabs-scrolling{margin-left:18px;margin-right:18px}.tabs{border-bottom:1px solid #d1d1d1;-moz-box-sizing:border-box;box-sizing:border-box;font-size:12px;height:26px;list-style-type:none;margin:0;padding:0;width:5000px}.tabs-header-left .tabs{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:25px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;padding:0;-webkit-writing-mode:horizontal-tb;writing-mode:horizontal-tb}.tabs li{background:#f0f0f0;border:1px solid #d1d1d1;border-bottom:none;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;float:left;height:25px;line-height:25px;padding:0 24px;position:relative}.tabs li a.tabs-inner{background:transparent;border-bottom:none;outline:none}.tabs-header .tabs-wrap .tabs li.disabled{cursor:not-allowed;pointer-events:none}.tabs-header .tabs-wrap .tabs li.disabled a.tabs-inner span.tabs-title{color:#bfbfbf}.tabs li a.tabs-inner{color:#333;display:inline-block;margin:0;padding:0 10px;text-align:center;text-decoration:none;white-space:nowrap}.tabs-header-left .tabs li a.tabs-inner{background:#fff;border:none;bottom:0;-moz-box-sizing:border-box;box-sizing:border-box;height:100%;left:0;padding:0;position:absolute;right:0;text-align:center;top:0;white-space:pre-wrap;width:100%;-webkit-writing-mode:vertical-lr;writing-mode:vertical-lr}.tabs-header-left .tabs li{height:auto;padding:0 8px;width:100%;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;border:none;flex-grow:1;margin:0;position:relative}.tabs-header-left .tabs li:after{background:#d1d1d1;bottom:0;content:"";height:1px;left:50%;margin-left:-9px;position:absolute;width:18px}.tabs li.tabs-selected{background:#fff;-moz-box-sizing:border-box;box-sizing:border-box}.tabs li.tabs-selected a.tabs-inner span.tabs-title{color:#1890ff;font-weight:bolder}.tabs-header-left .tabs li.tabs-selected{border:none;border-right:2px solid #1890ff;-moz-box-sizing:border-box;box-sizing:border-box}.tabs-header-left .tabs li.tabs-selected a.tabs-inner span.tabs-title{color:#1890ff;font-weight:bolder}.tabs li.tabs-selected a:hover{cursor:default;pointer:default}.tabs-with-icon{padding-left:18px}.tabs-icon{height:16px;left:10px;position:absolute;top:5px;width:16px}.tabs-closable{padding-right:8px}.tabs li a.tabs-close{background:');W.push("url(");W.push('"data:image/gif;base64,R0lGODlhBwAHAJEAAITB/xowbf///wAAACH5BAEHAAIALAAAAAAHAAcAAAINDIRgJnrOUmzrMXhkAQA7"');W.push(")");W.push(" no-repeat 2px 2px;display:block;filter:alpha(opacity=60);font-size:1px;height:11px;opacity:.6;padding:0;position:absolute;right:5px;top:7px;width:11px}.tabs li a:hover.tabs-close{background-color:#8db2e3;cursor:hand;cursor:pointer;filter:alpha(opacity=100);opacity:1}.tabs-panels{border:1px solid #d9d9d9;border-top:0;margin:0;overflow:hidden;padding:0}.tabs-panels-right{float:right;height:100%;width:-webkit-calc(100% - 32px);width:-moz-calc(100% - 32px);width:calc(100% - 32px)}.tabs-panels-right.tabs-panels-noborder{width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px)}.tabs-panels-right>.panel{height:100%}.tabs-panels-noborder{border:0}.tree{font-size:12px;list-style-type:none;margin:0;padding:0}.tree li{min-height:22px;white-space:nowrap}.tree li ul{list-style-type:none;margin:0;padding:0}.tree-node{cursor:pointer;height:20px;white-space:nowrap}.tree-indent{display:inline-block;height:16px;vertical-align:middle;width:16px}.tree-hit{cursor:pointer}.tree-collapsed,.tree-collapsed-hover,.tree-expanded,.tree-expanded-hover{position:relative}.tree-collapsed-hover:before,.tree-collapsed:before,.tree-expanded-hover:before,.tree-expanded:before{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #aaa;display:inline-block;left:3px;position:absolute;top:7px;transform:rotate(-90deg);-webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-ms-transform:rotate(-90deg);-o-transform:rotate(-90deg);vertical-align:middle}.tree-expanded-hover:before,.tree-expanded:before{transform:rotate(-45deg);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg)}.tree-collapsed,.tree-expanded{display:inline-block;height:16px;vertical-align:middle;width:16px}.tree-hit,.tree-indent{background-size:100% 100%;height:16px;vertical-align:middle;width:16px}.tree-expanded{background-image:");W.push("url(");W.push(JSON.stringify(Ow()));W.push(")");W.push("}.tree-expanded,.tree-expanded-bottom{-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree)}.tree-expanded-bottom{background-image:");W.push("url(");W.push(JSON.stringify(apt()));W.push(")");W.push("}.tree-collapsed{background-image:");W.push("url(");W.push(JSON.stringify(qx()));W.push(")");W.push("}.tree-collapsed,.tree-collapsed-bottom{-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree)}.tree-collapsed-bottom{background-image:");W.push("url(");W.push(JSON.stringify(npt()));W.push(")");W.push("}.tree-join{background-image:");W.push("url(");W.push(JSON.stringify($ce()));W.push(")");W.push("}.tree-join,.tree-join-bottom{-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree)}.tree-join-bottom{background-image:");W.push("url(");W.push(JSON.stringify(GAe()));W.push(")");W.push("}.tree-line{background-image:");W.push("url(");W.push(JSON.stringify(lmt()));W.push(")");W.push(";-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree)}.tree-folder{background:");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhEAAQANUAAP//////uv//mf//nP/4k//vif/kf//bdf/Ub9u3cdu3UsyZNMuYM8mWMciVMMeUL8WSLcKPKsCNKL2KJbqHIreEH7WCHbOBG7B+GK58Fqx6FKt5E6h2EKd1D6VzDaNxC6BuCJ5sBpxqBJpoAplnAf///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEHACUALAAAAAAQABAAAAZxwJJwSCwaj8eFstFACheAaCAQQS4Simw2MaFUKheMkBEtm8saYUMwaLvfg47wIajb7/WPECIg+P+AAiBCEQIFh4iJAiFCEgIGkJGSAiJCEwIHmZqbAiNCFAIIoqOkAiRDFhYYGBscHh4gICKnTrW2Q0EAOw=="');W.push(")");W.push(" no-repeat;display:inline-block;height:16px;vertical-align:middle;width:16px}.tree-folder-open{background:");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhEAAQANUAAP////r7/P//pf//mf//nP/4k//viffwif/rhP/kf/Dkev/bdf/XhP3VcOLBUNq/bNe4QOKzQ8+iJsmgIcyZNMuYM8aaGsaaGcmWMciVMMKPKr2KJbqHIreEH7WCHbOBG7B+GKx6FKd1D6VzDaRyDKNxC6JwCqBuCJ5sBpxqBJpoAplnAf///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEHACwALAAAAAAQABAAAAZxQJZwSCwaj0eKEoNBCimAaCCgQUIJWCxgw+l0PiBhBZAtR6MhIQZQaLvfBBHrQq/b6Q5EaT4o+x8XDCd8A29uBAcXDShCFwMGkJGQAhMRKY0DAwmbnAkCEBIqQ44LpaalChYroyOtriYmKCiiTrW2Q0EAOw=="');W.push(")");W.push(" no-repeat}.tree-folder-stick .tree-folder{background:");W.push("url(");W.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKTWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQWaIQkgBhhBASQMWFiApWFBURnEhVxILVCkidiOKgKLhnQYqIWotVXDjuH9yntX167+3t+9f7vOec5/zOec8PgBESJpHmomoAOVKFPDrYH49PSMTJvYACFUjgBCAQ5svCZwXFAADwA3l4fnSwP/wBr28AAgBw1S4kEsfh/4O6UCZXACCRAOAiEucLAZBSAMguVMgUAMgYALBTs2QKAJQAAGx5fEIiAKoNAOz0ST4FANipk9wXANiiHKkIAI0BAJkoRyQCQLsAYFWBUiwCwMIAoKxAIi4EwK4BgFm2MkcCgL0FAHaOWJAPQGAAgJlCLMwAIDgCAEMeE80DIEwDoDDSv+CpX3CFuEgBAMDLlc2XS9IzFLiV0Bp38vDg4iHiwmyxQmEXKRBmCeQinJebIxNI5wNMzgwAABr50cH+OD+Q5+bk4eZm52zv9MWi/mvwbyI+IfHf/ryMAgQAEE7P79pf5eXWA3DHAbB1v2upWwDaVgBo3/ldM9sJoFoK0Hr5i3k4/EAenqFQyDwdHAoLC+0lYqG9MOOLPv8z4W/gi372/EAe/tt68ABxmkCZrcCjg/1xYW52rlKO58sEQjFu9+cj/seFf/2OKdHiNLFcLBWK8ViJuFAiTcd5uVKRRCHJleIS6X8y8R+W/QmTdw0ArIZPwE62B7XLbMB+7gECiw5Y0nYAQH7zLYwaC5EAEGc0Mnn3AACTv/mPQCsBAM2XpOMAALzoGFyolBdMxggAAESggSqwQQcMwRSswA6cwR28wBcCYQZEQAwkwDwQQgbkgBwKoRiWQRlUwDrYBLWwAxqgEZrhELTBMTgN5+ASXIHrcBcGYBiewhi8hgkEQcgIE2EhOogRYo7YIs4IF5mOBCJhSDSSgKQg6YgUUSLFyHKkAqlCapFdSCPyLXIUOY1cQPqQ28ggMor8irxHMZSBslED1AJ1QLmoHxqKxqBz0XQ0D12AlqJr0Rq0Hj2AtqKn0UvodXQAfYqOY4DRMQ5mjNlhXIyHRWCJWBomxxZj5Vg1Vo81Yx1YN3YVG8CeYe8IJAKLgBPsCF6EEMJsgpCQR1hMWEOoJewjtBK6CFcJg4Qxwicik6hPtCV6EvnEeGI6sZBYRqwm7iEeIZ4lXicOE1+TSCQOyZLkTgohJZAySQtJa0jbSC2kU6Q+0hBpnEwm65Btyd7kCLKArCCXkbeQD5BPkvvJw+S3FDrFiOJMCaIkUqSUEko1ZT/lBKWfMkKZoKpRzame1AiqiDqfWkltoHZQL1OHqRM0dZolzZsWQ8ukLaPV0JppZ2n3aC/pdLoJ3YMeRZfQl9Jr6Afp5+mD9HcMDYYNg8dIYigZaxl7GacYtxkvmUymBdOXmchUMNcyG5lnmA+Yb1VYKvYqfBWRyhKVOpVWlX6V56pUVXNVP9V5qgtUq1UPq15WfaZGVbNQ46kJ1Bar1akdVbupNq7OUndSj1DPUV+jvl/9gvpjDbKGhUaghkijVGO3xhmNIRbGMmXxWELWclYD6yxrmE1iW7L57Ex2Bfsbdi97TFNDc6pmrGaRZp3mcc0BDsax4PA52ZxKziHODc57LQMtPy2x1mqtZq1+rTfaetq+2mLtcu0W7eva73VwnUCdLJ31Om0693UJuja6UbqFutt1z+o+02PreekJ9cr1Dund0Uf1bfSj9Rfq79bv0R83MDQINpAZbDE4Y/DMkGPoa5hpuNHwhOGoEctoupHEaKPRSaMnuCbuh2fjNXgXPmasbxxirDTeZdxrPGFiaTLbpMSkxeS+Kc2Ua5pmutG003TMzMgs3KzYrMnsjjnVnGueYb7ZvNv8jYWlRZzFSos2i8eW2pZ8ywWWTZb3rJhWPlZ5VvVW16xJ1lzrLOtt1ldsUBtXmwybOpvLtqitm63Edptt3xTiFI8p0in1U27aMez87ArsmuwG7Tn2YfYl9m32zx3MHBId1jt0O3xydHXMdmxwvOuk4TTDqcSpw+lXZxtnoXOd8zUXpkuQyxKXdpcXU22niqdun3rLleUa7rrStdP1o5u7m9yt2W3U3cw9xX2r+00umxvJXcM970H08PdY4nHM452nm6fC85DnL152Xlle+70eT7OcJp7WMG3I28Rb4L3Le2A6Pj1l+s7pAz7GPgKfep+Hvqa+It89viN+1n6Zfgf8nvs7+sv9j/i/4XnyFvFOBWABwQHlAb2BGoGzA2sDHwSZBKUHNQWNBbsGLww+FUIMCQ1ZH3KTb8AX8hv5YzPcZyya0RXKCJ0VWhv6MMwmTB7WEY6GzwjfEH5vpvlM6cy2CIjgR2yIuB9pGZkX+X0UKSoyqi7qUbRTdHF09yzWrORZ+2e9jvGPqYy5O9tqtnJ2Z6xqbFJsY+ybuIC4qriBeIf4RfGXEnQTJAntieTE2MQ9ieNzAudsmjOc5JpUlnRjruXcorkX5unOy553PFk1WZB8OIWYEpeyP+WDIEJQLxhP5aduTR0T8oSbhU9FvqKNolGxt7hKPJLmnVaV9jjdO31D+miGT0Z1xjMJT1IreZEZkrkj801WRNberM/ZcdktOZSclJyjUg1plrQr1zC3KLdPZisrkw3keeZtyhuTh8r35CP5c/PbFWyFTNGjtFKuUA4WTC+oK3hbGFt4uEi9SFrUM99m/ur5IwuCFny9kLBQuLCz2Lh4WfHgIr9FuxYji1MXdy4xXVK6ZHhp8NJ9y2jLspb9UOJYUlXyannc8o5Sg9KlpUMrglc0lamUycturvRauWMVYZVkVe9ql9VbVn8qF5VfrHCsqK74sEa45uJXTl/VfPV5bdra3kq3yu3rSOuk626s91m/r0q9akHV0IbwDa0b8Y3lG19tSt50oXpq9Y7NtM3KzQM1YTXtW8y2rNvyoTaj9nqdf13LVv2tq7e+2Sba1r/dd3vzDoMdFTve75TsvLUreFdrvUV99W7S7oLdjxpiG7q/5n7duEd3T8Wej3ulewf2Re/ranRvbNyvv7+yCW1SNo0eSDpw5ZuAb9qb7Zp3tXBaKg7CQeXBJ9+mfHvjUOihzsPcw83fmX+39QjrSHkr0jq/dawto22gPaG97+iMo50dXh1Hvrf/fu8x42N1xzWPV56gnSg98fnkgpPjp2Snnp1OPz3Umdx590z8mWtdUV29Z0PPnj8XdO5Mt1/3yfPe549d8Lxw9CL3Ytslt0utPa49R35w/eFIr1tv62X3y+1XPK509E3rO9Hv03/6asDVc9f41y5dn3m978bsG7duJt0cuCW69fh29u0XdwruTNxdeo94r/y+2v3qB/oP6n+0/rFlwG3g+GDAYM/DWQ/vDgmHnv6U/9OH4dJHzEfVI0YjjY+dHx8bDRq98mTOk+GnsqcTz8p+Vv9563Or59/94vtLz1j82PAL+YvPv655qfNy76uprzrHI8cfvM55PfGm/K3O233vuO+638e9H5ko/ED+UPPR+mPHp9BP9z7nfP78L/eE8/sl0p8zAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAADsSURBVHjaxJMxTsNAEEXfRkaJlIaOwmlokDgBp0hLTcENEKJN6z4lygG4QVrukBPQQgMycZidHYr12lKcSLZSZJrRavY/ff3ZdWbGKTXixMoA7ot4uL6iseM19o9P3DHx20sNSOLioR3+VrE/rbCvn+OQLIlvZ/C67l64u4H3Dea1dSVqqCqQOcyM55UNrvlia2YWHWiA73JYeCICTOIWNAxP33vfZpAAO+knHl9QZ1ADUjjbv/6AEELXQVn1A1xO9wCNA+mfwUHAbgAg/aEMoBLc4zI+45SuiKCqTVhxbXGuquR57gDc2X/j/wCmcqfVXG+UPgAAAABJRU5ErkJggg=="');W.push(")");W.push(" no-repeat}.tree-folder-stick .tree-folder-open{background:");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhEAAQANUAAPr7//H0/+rv//L1/9bh/93m/97n/+Hp/1mK/12N/3Gb/3ig/5e1/5i2/6W//8zb/8/d/ztu5Tpt5D1w5z9y6UF060N27UR37kZ58Eh78k2A91GE+1SH/mGQ/2iV/3Kc/3We/3af/32k/8bX/83c/////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAACYALAAAAAAQABAAAAZwQJNwSCwaj8eQ8vNBCkOlKADgQUIDWGypk0AgOBshqJQtR6Ma4ackaLvfgYxJQa/b6Y7CZV7uBxwKDxV8AW9uAQYKIxRCCgEHkJGQAwsNE41YBJqbBAMMIhFDjiSkpaQQChKiGKytFhYUFKFOtLVDQQA7"');W.push(")");W.push(" no-repeat}.tree-folder-owner{font-size:15px;height:22px;margin:5px 0}.tree-folder-owner .tree-icon{display:none}.tree-folder-owner .tree-collapsed{-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree);height:18px;width:18px}.tree-file{display:inline-block;height:16px;width:16px}.tree-loading{background-position:0 0}.tree-title{color:var(--font-color-tree);display:inline-block;padding:4px 2px;text-decoration:none;vertical-align:middle;white-space:nowrap}.tree-node-hover{background:var(--bg-color-hover-tree)}.tree-node-selected{background:var(--bg-color-selected-tree);color:var(--font-color-selected-tree)}.tree-checkbox{display:inline-block;height:16px;vertical-align:middle;width:16px}.tree-checkbox0{background:");W.push("url(");W.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAIAAACQKrqGAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAEXRFWHRTb2Z0d2FyZQBTbmlwYXN0ZV0Xzt0AAABPSURBVCiR7dKhEcAwDENRJ0zce3j/DUQ9h80FW1pSX0hZP34npCUpMyXZewAiwkhW1TVWVSS3JHcfJs3M3SXtGT376UcUQHfPqLsBrPO73LX5RfebGZ/gAAAAAElFTkSuQmCC"');W.push(")");W.push(" no-repeat}.tree-checkbox1{background:");W.push("url(");W.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAIAAACQKrqGAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAEXRFWHRTb2Z0d2FyZQBTbmlwYXN0ZV0Xzt0AAADHSURBVCiRjdKxCoIAFIXhX5dAB0HIGtwaQ+gJ2twaggZpaGxW6EWac3QyEBoaAjcfQgJpCzSEoKGgyYYCsUi92718HM5whfOtmGzJ7tRMV8KfIhibIn/Uuff0ZcQ2DsjuiK0gQC1dzkhtIrORjljpcGUcNtG1gQK+11jAxFJJYpzGrsEAnnhh5VjSyCZdfFoOOyQnXP5Q7wwqxxlrA+UnskLdAP+KomOp3PLvSEDUpHJxPBIADsG368kIcV7Md1xq30WT2Fu8APdTN4xe593qAAAAAElFTkSuQmCC"');W.push(")");W.push(" no-repeat}.tree-checkbox2{background:");W.push("url(");W.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAIAAACQKrqGAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAEXRFWHRTb2Z0d2FyZQBTbmlwYXN0ZV0Xzt0AAAA2SURBVCiRY5SY8J+BOMBEpDqaKWVBMA0Ybtgz8CPJ3b7GYLeb1g4YcKVIIXCBQeMC/R1AglIAeqoHjxHifDQAAAAASUVORK5CYII="');W.push(")");W.push(" no-repeat}.tree-node-proxy{background:#fafafa;border:1px solid #ccc;font-size:12px;padding:1px 2px 1px 18px}.tree-dnd-yes{background:");W.push("url(");W.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAANCAIAAAAv2XlzAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAF+SURBVHjaYvz//z8DIbDg1GxuNp5Qg0ggm4UI1bPOvTr59++//7//h5lGsRBUffblSWV5hW/ff26/s+nXz19M+FSfnHX62TFFWfk///7euX/3/r2HoeaRUA0331098uQAsur5J2eden5MXl7+z/+/167fuHf74c6yA+ys7CAn3X1/e+6FGSwsjN+/f3VV9QapPjETqFpBXu7f/383b96+e/vB7sqDQNUgT197e3nRxVkCPDwcLByLzs7//fvvmy+vTz4/Ki8n//ffvxs3bz28+3hP1SE2FjaIzYw/f//I2pooxCskJSrx9du3Z6+fszCyiIqKMDAx3Lxx+/69J/uQVIM0AOPh558fSaujhPgEZSVl/jP8/fnnN8hXN+88vPtkb/UhiEtQNACpH79/RM4PFBYSkpeT+fP/363rdx7df7qv5jCaaoQGiJ6AqV4iwkK///x+fO/pgfpjyC7BogEIgP5x7bT/++vfgdojrBhmY9EAsYeZkYkVm9kQABBgANQ/yi2CIJq6AAAAAElFTkSuQmCC"');W.push(")");W.push(" no-repeat 0}.tree-dnd-no{background:");W.push("url(");W.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAIAAAC0tAIdAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHvSURBVHjafJDPaxNBFMffTDa7a7KbTaxIJKRaElr0It5FPYvovyB4FKQgtUpLvYhUbP8FvfWioFTFqyLqQVEr8aQH7e5md5NgVq3ZX7MzviZpmyr4eDDzZj7vy3tfIoSA/4aIIyIrgzsZ0t0uRBGUy3+jVlM0GmS8So4cxlIaoreWsI1MX4ID5RHUjheuE1XlEzVF10i1SqHrw+ISyAq+itvL4LjbqvH8QiavyWNj5FODvXkPXFDQNJEkPE1gj8pVld24CXaTo+rcPNHzUsEIzPXQ9aSzp4GS/txxkl6eQW1aMFLfZ93vgrGMrmcNRK2o5RmrD4iijGyZxPHFaarK0t4SMA4cMw0sK2p3io8egizv9mSzIemdv5A7NAHfvkKaQqXir60ZT1bJFopBdxxwPUoAWIJtwBgOAwS4aY8aOtQWphVevSbltKyu9cfgAByX6zmOcfdOpl7boTmiV2YRlY1C4DTDdhtdkgtFrVIOXHfDsksrK9JkfZNO181wZjabz6MqKoXtTunpYxDQOn4iVyrqB8d7tvPLtvbdu5+ZqlPwfSFSzKCJaAtRNIuoyv6XL3573o/PXwjaTGnqdfrLCcE+fPx55lzn5CkeRWIkeBiatSnv6LHw2evBCwyO5O07/BP/BA+C6Pmr7fKPAAMACEs9OzTvSOcAAAAASUVORK5CYII="');W.push(")");W.push(" no-repeat 0}.tree-node-top{border-top:1px dotted red}.tree-node-bottom{border-bottom:1px dotted red}.tree-node-append .tree-title{border:1px dotted red}.tree-editor{border:1px solid #ccc;font-size:12px;line-height:16px;position:absolute;top:0;width:80px}.validatebox-invalid{background:#ffe ");W.push("url(");W.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAKqSURBVDiNbZNNaFNZFMd/7+Yl97V96XtJaxJbk2hqGlvrRnDEtiiMOH4tdDoRGcT5QlfStQrKLIYZGGapS8HFuHS2A4K4cOvGDwZXWsi0Wp2qTZqPZ95797pIxHbMhcO5HC6///8ezjFu8fnRnTS/bWfp99uVpafX1uoHBNR7PCUy16MYgj20NfvX/ps33WStuvnek38iK3BXAf8PobuKHyPs5Ivj5XIqmiuw+8uDHE8454F0LwdiPa0LsIcL+Qv5I0dQzxeIOS7ffrEnmYPLPQHr1VWn9vPE1ycTscQwolQEO87uyUlOus4PQOozQNi1HQIejA5vy/+Yn57Fj5jcr1RYiseJ2XHmCludEbjaE6CAABCGcXni+LEhMzPCsiWZn5/nTqUCxRLTjsuJuP0dUNwA4NPfs6NTU9/n982C6yBTKYJGAyklzMwQNSVnEu5g3jA2uBAf1SPR6JXiWMY23y1DNkfScSiOjZF2HCgUCHaUKLRbHB6054AsgLEOMJrJjZxJVh6y+mYJ4nFMIZjatYt0qtO32qlvqIQBh/pjA3khftvgICatP8Y3yQEt+/DnzuIpBVpzqlwml82ilMKcmYWvjpKuVjncb5UFTAIIH8Y35zInkn6N6tHTeNsnUBpeV6vc+PMWDx49RgiBj8D+6Ryem2C/gZUzjF80IOTAwK9jm6z+oFZnrVCivrjI6mKF5sp/JPsseN9i5dVL3i48p51IspbZgttoclDGjgnYa/xdzLems9Jq/fsCL70F33ZRoUIZEfosm3qrRa3pESiD955H/dkCsuXxRsa41GjeNp+t1tvJQWk1+1KEL94Resu0Q4UfhIRK4QeKoHsPFCgpMaNRlto+vjaGjFE4HTej50PDMDWoDculdXfEOwuutEZpjdBEPK0ab+H6B+AJB3pFaMGVAAAAAElFTkSuQmCC"');W.push(")");W.push(" no-repeat right 1px}.validatebox-tip{display:none;height:auto;position:absolute;width:200px;z-index:9900000}.validatebox-tip-content{background:#ffc;border:1px solid #c93;display:inline-block;font-size:12px;left:10px;padding:3px 5px;position:absolute;top:0;z-index:9900001}.validatebox-tip-pointer{background:");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhCgATAJEDAO3bl8yZM///zDNmmSH5BAEAAAMALAAAAAAKABMAAAIjnH+BGLDWxIuSAYEtzvDuSn1D+JGiyaGJt2mtW7nPeM20PRYAOw=="');W.push(")");W.push(' no-repeat 0 0;display:inline-block;height:19px;left:1px;position:absolute;top:0;width:10px;z-index:9900002}.easyui-combobox-select-droplist,.easyui-comboboxdrop-select-droplist{background:#fff;box-shadow:0 2px 2px #999;display:block;list-style:none;margin:0;max-height:300px;overflow-x:auto;overflow-y:auto;padding:0 0 6px;position:fixed;z-index:999}.easyui-combobox-select-droplist>li,.easyui-comboboxdrop-select-droplist-ul>li{cursor:pointer;height:14px;padding:3px;white-space:nowrap}.easyui-combobox-select-droplist>li:hover,.easyui-comboboxdrop-select-droplist-ul>li:hover{background:#3875d7;color:#fff}.easyui-combobox-select-droplist-button,.easyui-comboboxdrop-select-droplist-button{cursor:pointer;display:inline-block;font-weight:600;height:12px;margin-left:-12px;margin-top:6px;position:absolute;width:12px}.easyui-combobox-select-droplist-button .icon-eda-move-down-line,.easyui-comboboxdrop-select-droplist-button .icon-eda-move-down-line{background-size:12px 12px;display:inline-block;height:12px;margin-left:-7px;width:12px}.easyui-combobox-select-droplist-button .icon-eda-move-down-line.rotate,.easyui-comboboxdrop-select-droplist-button .icon-eda-move-down-line.rotate{display:inline-block;-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);transform:rotate(180deg)}.easyui-combobox-select-droplist{padding:10px 0}.easyui-combobox-select-droplist>li{margin:0 10px}.easyui-comboboxdrop:hover{cursor:pointer}.easyui-comboboxdrop-select-droplist-ul{list-style:none;padding:0 10px}.easyui-comboboxdrop-select-droplist-input{background:#fff;border:1px solid #ccc;border-radius:2px;box-shadow:none;height:25px;margin:10px;padding:0 5px;width:-webkit-calc(100% - 20px);width:-moz-calc(100% - 20px);width:calc(100% - 20px)}.easyui-comboboxdrop-select-droplist-clear-button{cursor:pointer;display:inline-block;height:16px;margin-left:-30px;margin-top:15px;position:absolute;width:16px}.window{background:#f9f9f9;border:1px solid #d1d1d1;border-radius:4px 4px 0 0;font-size:12px;text-align:left}.window,.window-shadow{box-shadow:2px 2px 3px rgba(0,0,0,.2);-moz-box-shadow:2px 2px 3px rgba(0,0,0,.2);-webkit-box-shadow:2px 2px 3px rgba(0,0,0,.2);position:absolute}.window-shadow{background-color:#ddd;-moz-border-radius:5px;-webkit-border-radius:5px;filter:progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2)}.window .window-header{-moz-box-sizing:border-box;box-sizing:border-box;padding:6px 10px 6px 16px}.window .window-body{background:#f9f9f9}.window .window-header .panel-icon{left:8px;top:5px}.window .window-header .panel-with-icon{padding-left:0}.window .window-header .panel-tool{right:16px;top:5px}.window-proxy{border:1px dashed #15428b}.window-mask,.window-proxy{overflow:hidden;position:absolute}.window-mask{background:#000;filter:alpha(opacity=20);height:100%;left:0;opacity:.2;top:0;width:100%;display1:none;font-size:1px;*zoom:1}ul.input_filter_drop_list{border:1px solid #d1d1d1;border-radius:5px;box-shadow:-1px 3px 6px #d1d1d1;list-style:none;margin:0;min-height:30px;overflow:auto;padding:0}.input_filter_drop_list>li{padding:10px;white-space:nowrap}.input_filter_drop_list>li:hover{background:#dadce0;cursor:pointer}.input_filter_icon{cursor:pointer;font-size:16px;position:absolute;right:12px;top:6px;visibility:hidden}.input_filter_input:valid~.input_filter_icon{visibility:visible}.f12{font-size:12px}.f14{font-size:14px}.f16{font-size:16px}.f18{font-size:18px}.f20{font-size:20px}.f22{font-size:22px}.bg-white{background:#fff}.bg-black{background:#000}.bg-blue{background:#cbdafd}.bg-light-blue{background:#eff6fe}.blue{color:#0093e6}.f-white{color:#fff}.f-black{color:#444}.f-weight{background-color:var(--common-bg-color-panel-header);font-weight:700}.f-gray{color:#ccc}.radius{border-radius:3px}.w100{width:100%}.w50{width:50%}.h100{height:100%}.h50{height:50%}.t-left{text-align:left}.t-right{text-align:right}.t-center{text-align:center}.t-middle{display:table-cell;vertical-align:middle}.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.t-break{word-break:break-all}.clear{clear:both}.t-overflow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gray-dialog-border{border:1px solid var(--common-border-color)}.gray-border{border:1px solid #ccc}.gray-left-border{border-left:1px solid #ccc}.gray-right-border{border-right:1px solid #ccc}.gray-top-border{border-top:1px solid #ccc}.gray-bottom-border{border-bottom:1px solid #ccc}.blue-border{border:1px solid #9bd}.blue-left-border{border-left:1px solid #9bd}.blue-right-border{border-right:1px solid #9bd}.blue-top-border{border-top:1px solid #9bd}.blue-bottom-border{border-bottom:1px solid #9bd}.light-blue-border{border:1px solid #dae4fd}.light-blue-left-border{border-left:1px solid #dae4fd}.light-blue-right-border{border-right:1px solid #dae4fd}.light-blue-top-border{border-top:1px solid #dae4fd}.light-blue-bottom-border{border-bottom:1px solid #dae4fd}.center-middle,.middle-center{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%)}.overflow{overflow:hidden}.hidden{display:none!important}.visibility_h{visibility:hidden}.clear:after{clear:both;content:"";display:block}.inline-block{display:inline-block}.left{float:left}.right{float:right}.center{float:none;margin:0 auto;text-align:center}input,option,textarea{font-size:12px}.selectable,input:not([type]),input[type=number],input[type=text],textarea{-moz-user-select:text;-webkit-user-select:text;user-select:text}text,tspan{-webkit-text-size-adjust:none}ul{margin:0}textarea{resize:none;-moz-tab-size:4;tab-size:4}optgroup{font-style:normal}input[type=text]::-ms-clear{display:none}input,textarea{-moz-box-sizing:border-box;box-sizing:border-box}@supports (scrollbar-width:thin){*{scrollbar-color:var(--bg-scrollbar-thumb) var(--bg-scrollbar-track);scrollbar-width:thin}}@supports not (scrollbar-width:thin){::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track:hover{background:#d9d9d9}::-webkit-scrollbar-thumb:hover{background:#999}}button{background:#fff;border:1px solid #d9d9d9;border-radius:2px;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}button:active,button:hover{border-color:#1890ff}button:active{background-color:var(--bg-color-active-button)}button.disabled,button.l-btn-disabled,button[disabled]{background-color:#f1f1f1;border-color:#d9d9d9;color:#bfbfbf;cursor:not-allowed}button.small{height:22px}button.medium,button.small{border-radius:2px;font-size:12px;min-width:72px;text-align:center}button.medium{height:28px;padding:0 8px}button.self-adaption{height:auto;padding:4px 8px;width:auto}button.icon-btn,button.self-adaption{border-radius:2px;font-size:12px;min-width:0;text-align:center}button.icon-btn{height:26px;width:26px}button.primary{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}button.primary:hover{border-color:#1890ff}button.primary:active{background-color:var(--bg-color-active-button);border-color:#1890ff}button.primary.disabled,button.primary.l-btn-disabled,button.primary[disabled]{background-color:#f1f1f1;border-color:#d9d9d9;color:#bfbfbf;cursor:not-allowed}button.fill{background:#1890ff;border:1px solid #1890ff;color:#fff;outline:none}button.fill:active,button.fill:hover{background-color:#40a9ff;border-color:#40a9ff}button.fill.disabled,button.fill.l-btn-disabled,button.fill[disabled]{background-color:#d9d9d9;border:1px solid #d9d9d9;color:#fff;cursor:not-allowed}button.confirm{background:#fff;border:1px solid #40a9ff;color:#40a9ff;height:24px;min-width:60px;outline:none}button.confirm:hover{background:#40a9ff;color:#fff}.dialog-button a.center{position:relative;right:50%;-webkit-transform:translateX(50%);-moz-transform:translateX(50%);transform:translateX(50%)}.dialog-button a.l-btn:not(.l-btn-plain),.messager-button a.l-btn:not(.l-btn-plain){background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.dialog-button a.l-btn:not(.l-btn-plain):active,.dialog-button a.l-btn:not(.l-btn-plain):hover,.messager-button a.l-btn:not(.l-btn-plain):active,.messager-button a.l-btn:not(.l-btn-plain):hover{background-color:#40a9ff;border-color:#40a9ff}.dialog-button a.l-btn:not(.l-btn-plain).disabled,.dialog-button a.l-btn:not(.l-btn-plain).l-btn-disabled,.dialog-button a.l-btn:not(.l-btn-plain)[disabled],.messager-button a.l-btn:not(.l-btn-plain).disabled,.messager-button a.l-btn:not(.l-btn-plain).l-btn-disabled,.messager-button a.l-btn:not(.l-btn-plain)[disabled]{background-color:#d9d9d9;border:1px solid #d9d9d9;color:#fff;cursor:not-allowed}.dialog-button a.l-btn:not(.l-btn-plain).cancel,.dialog-button a.l-btn:not(.l-btn-plain)[cmd=dialog-close],.messager-button a.l-btn:not(.l-btn-plain).cancel,.messager-button a.l-btn:not(.l-btn-plain)[cmd=dialog-close]{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.dialog-button a.l-btn:not(.l-btn-plain).cancel:hover,.dialog-button a.l-btn:not(.l-btn-plain)[cmd=dialog-close]:hover,.messager-button a.l-btn:not(.l-btn-plain).cancel:hover,.messager-button a.l-btn:not(.l-btn-plain)[cmd=dialog-close]:hover{border-color:#1890ff}.dialog-button a.l-btn:not(.l-btn-plain).cancel:active,.dialog-button a.l-btn:not(.l-btn-plain)[cmd=dialog-close]:active,.messager-button a.l-btn:not(.l-btn-plain).cancel:active,.messager-button a.l-btn:not(.l-btn-plain)[cmd=dialog-close]:active{background-color:var(--bg-color-active-button);border-color:#1890ff}.dialog-button a.l-btn:not(.l-btn-plain).cancel.disabled,.dialog-button a.l-btn:not(.l-btn-plain).cancel.l-btn-disabled,.dialog-button a.l-btn:not(.l-btn-plain).cancel[disabled],.dialog-button a.l-btn:not(.l-btn-plain)[cmd=dialog-close].disabled,.dialog-button a.l-btn:not(.l-btn-plain)[cmd=dialog-close].l-btn-disabled,.dialog-button a.l-btn:not(.l-btn-plain)[cmd=dialog-close][disabled],.messager-button a.l-btn:not(.l-btn-plain).cancel.disabled,.messager-button a.l-btn:not(.l-btn-plain).cancel.l-btn-disabled,.messager-button a.l-btn:not(.l-btn-plain).cancel[disabled],.messager-button a.l-btn:not(.l-btn-plain)[cmd=dialog-close].disabled,.messager-button a.l-btn:not(.l-btn-plain)[cmd=dialog-close].l-btn-disabled,.messager-button a.l-btn:not(.l-btn-plain)[cmd=dialog-close][disabled]{background-color:#f1f1f1;border-color:#d9d9d9;color:#bfbfbf;cursor:not-allowed}.dialog-button a.l-btn:not(.l-btn-plain).self-adaption,.messager-button a.l-btn:not(.l-btn-plain).self-adaption{border-radius:2px;font-size:12px;height:auto;min-width:0;padding:4px 8px;text-align:center;width:auto}.dialog-button a.l-btn:not(.l-btn-plain).primary,.messager-button a.l-btn:not(.l-btn-plain).primary{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.dialog-button a.l-btn:not(.l-btn-plain).primary:hover,.messager-button a.l-btn:not(.l-btn-plain).primary:hover{border-color:#1890ff}.dialog-button a.l-btn:not(.l-btn-plain).primary:active,.messager-button a.l-btn:not(.l-btn-plain).primary:active{background-color:var(--bg-color-active-button);border-color:#1890ff}.dialog-button a.l-btn:not(.l-btn-plain).primary.disabled,.dialog-button a.l-btn:not(.l-btn-plain).primary.l-btn-disabled,.dialog-button a.l-btn:not(.l-btn-plain).primary[disabled],.messager-button a.l-btn:not(.l-btn-plain).primary.disabled,.messager-button a.l-btn:not(.l-btn-plain).primary.l-btn-disabled,.messager-button a.l-btn:not(.l-btn-plain).primary[disabled]{background-color:#f1f1f1;border-color:#d9d9d9;color:#bfbfbf;cursor:not-allowed}.dialog-button a.l-btn.dangerous{background:#d73843;border:1px solid #d73843;color:#fff;outline:none}.dialog-button a.l-btn.dangerous:hover{background:#fd7978;border-color:#fd7978}.dialog-button a.l-btn.dangerous.disabled,.dialog-button a.l-btn.dangerous.l-btn-disabled,.dialog-button a.l-btn.dangerous[disabled]{background-color:#f1f1f1;border-color:#d9d9d9;color:#bfbfbf;cursor:not-allowed}.dialog-button a.l-btn span.l-btn-left,.messager-button a.l-btn span.l-btn-left{padding:6px 0 4px}.dialog-button a.l-btn.l-btn-help span.l-btn-left,.messager-button a.l-btn.l-btn-help span.l-btn-left{padding-left:2px}.dialog-button a.l-btn .l-btn-text>.l-btn-empty{font-size:12px}.default-pagination>*{vertical-align:middle}.default-pagination select{height:18px!important;margin-right:4px}.default-pagination select[name=page_size_config]{width:90px!important}.default-pagination button.toPrevious{margin-left:4px}.default-pagination button.toNext,.default-pagination button.toPrevious{height:18px;padding:0;width:18px}.default-pagination span.pageSize-box{margin-right:10px}.default-pagination span.currentPage-box{-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;height:18px;line-height:18px;overflow-x:auto;padding:0 4px;text-align:center;white-space:nowrap;width:22px}.default-pagination span.currentPage-box .rotation{height:14px;margin-top:2px;width:14px}.default-pagination span.currentPage-box::-webkit-scrollbar{height:0;width:0}.default-pagination span.currentPage-box[contenteditable=true]{border:1px solid #d9d9d9;border-radius:2px;line-height:16px;margin:0 3px;min-width:30px;outline:none;width:-webkit-max-content;width:-moz-max-content;width:max-content}.default-pagination span.currentPage-box[contenteditable=true]:focus{border-color:#1890ff}.default-pagination span.pageNumber-box{padding:0 4px}.default-check-menu li{-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:24px;padding:4px 12px}.default-check-menu li>:first-child{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.table{border-collapse:collapse;display:table}.table td{border:1px solid #dae4fd;height:24px;padding:3px}table{border:none}.flex{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.hide{display:none}input[type=color],input[type=email],input[type=number],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;border:1px solid #d9d9d9;border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:#333;font-family:Microsoft YaHei;font-size:12px;height:22px;padding:0 8px}input[type=color]>div.form-item,input[type=email]>div.form-item,input[type=number]>div.form-item,input[type=telephone]>div.form-item,input[type=text]>div.form-item,select>div.form-item,textarea>div.form-item{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin:8px 0;min-height:24px}input[type=color]>div.form-item input,input[type=email]>div.form-item input,input[type=number]>div.form-item input,input[type=telephone]>div.form-item input,input[type=text]>div.form-item input,select>div.form-item input,textarea>div.form-item input{height:24px;line-height:24px;width:100%}input[type=color]>div.form-item .label,input[type=email]>div.form-item .label,input[type=number]>div.form-item .label,input[type=telephone]>div.form-item .label,input[type=text]>div.form-item .label,select>div.form-item .label,textarea>div.form-item .label{-webkit-box-flex:0;-webkit-flex:0 0 80px;-moz-box-flex:0;flex:0 0 80px;margin-right:8px}input[type=color]>div.form-item .origin,input[type=email]>div.form-item .origin,input[type=number]>div.form-item .origin,input[type=telephone]>div.form-item .origin,input[type=text]>div.form-item .origin,select>div.form-item .origin,textarea>div.form-item .origin{-webkit-box-flex:0;-webkit-flex:0 0 60px;-moz-box-flex:0;flex:0 0 60px}input[type=color]>div.form-item .box,input[type=email]>div.form-item .box,input[type=number]>div.form-item .box,input[type=telephone]>div.form-item .box,input[type=text]>div.form-item .box,select>div.form-item .box,textarea>div.form-item .box{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}input[type=color]>div.form-item .box .radio-item,input[type=email]>div.form-item .box .radio-item,input[type=number]>div.form-item .box .radio-item,input[type=telephone]>div.form-item .box .radio-item,input[type=text]>div.form-item .box .radio-item,select>div.form-item .box .radio-item,textarea>div.form-item .box .radio-item{display:inline-block}input[type=color]>div.form-item .box .radio-item:first-child,input[type=email]>div.form-item .box .radio-item:first-child,input[type=number]>div.form-item .box .radio-item:first-child,input[type=telephone]>div.form-item .box .radio-item:first-child,input[type=text]>div.form-item .box .radio-item:first-child,select>div.form-item .box .radio-item:first-child,textarea>div.form-item .box .radio-item:first-child{margin-right:20px}input[type=color]>div.form-item .box .radio-item input[type=radio],input[type=email]>div.form-item .box .radio-item input[type=radio],input[type=number]>div.form-item .box .radio-item input[type=radio],input[type=telephone]>div.form-item .box .radio-item input[type=radio],input[type=text]>div.form-item .box .radio-item input[type=radio],select>div.form-item .box .radio-item input[type=radio],textarea>div.form-item .box .radio-item input[type=radio]{margin-right:14px}input[type=color]>div.form-item .radios,input[type=email]>div.form-item .radios,input[type=number]>div.form-item .radios,input[type=telephone]>div.form-item .radios,input[type=text]>div.form-item .radios,select>div.form-item .radios,textarea>div.form-item .radios{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}input[type=color]>div.form-item .radios>label:not(:last-child),input[type=email]>div.form-item .radios>label:not(:last-child),input[type=number]>div.form-item .radios>label:not(:last-child),input[type=telephone]>div.form-item .radios>label:not(:last-child),input[type=text]>div.form-item .radios>label:not(:last-child),select>div.form-item .radios>label:not(:last-child),textarea>div.form-item .radios>label:not(:last-child){display:inline-block;margin-bottom:8px}input[type=color]>div.form-item .radios .radio-item,input[type=email]>div.form-item .radios .radio-item,input[type=number]>div.form-item .radios .radio-item,input[type=telephone]>div.form-item .radios .radio-item,input[type=text]>div.form-item .radios .radio-item,select>div.form-item .radios .radio-item,textarea>div.form-item .radios .radio-item{margin:8px 0}input[type=color]>div.form-item.align-top,input[type=email]>div.form-item.align-top,input[type=number]>div.form-item.align-top,input[type=telephone]>div.form-item.align-top,input[type=text]>div.form-item.align-top,select>div.form-item.align-top,textarea>div.form-item.align-top{-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;align-items:flex-start}select{padding-right:30px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{border-color:#1890ff;color:#333;outline:0}input[type=color][disabled],input[type=email][disabled],input[type=number][disabled],input[type=telephone][disabled],input[type=text][disabled],select[disabled],textarea[disabled]{background-color:var(--bg-color-disabled-input);color:var(--font-color-disabled-input)}input:disabled::-webkit-input-placeholder{color:var(--font-color-disabled-input)!important}input:disabled:-moz-placeholder,input:disabled::-moz-placeholder{color:var(--font-color-disabled-input)!important}input:disabled::placeholder{color:var(--font-color-disabled-input)!important}input[type=radio]{cursor:pointer;opacity:0;position:absolute}input[type=radio]+:before{background:#fff;border:1px solid #bfbfbf;border-radius:2px;border-radius:100%;-moz-box-sizing:border-box;box-sizing:border-box;content:"";display:inline-block;height:14px;margin-right:4px;text-align:center;vertical-align:middle;width:14px}input[type=radio]:checked+:before{background-color:#1890ff;border-color:#1890ff;box-shadow:inset 0 0 0 4px #fff}input[type=radio]:focus+:before{border-color:#096dd9;outline:none}input[type=radio]:checked:disabled+:before,input[type=radio]:disabled+:before{background:#bfbfbf;border-color:#bfbfbf;color:#bfbfbf}input[type=checkbox]{cursor:pointer;opacity:0;position:absolute}input[type=checkbox][disabled]{cursor:default}input[type=checkbox]+:before{background:#fff;border:1px solid #bfbfbf;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;content:"";display:inline-block;height:14px;margin-right:4px;text-align:center;vertical-align:middle;width:14px}input[type=checkbox]:checked+:before{background-color:#1890ff;border-color:#1890ff;color:#fff;content:"\\2714";font-size:12px;line-height:15px}input[type=checkbox][data-halfchecked=true]+:before{background-color:#1890ff;background:');W.push("url(");W.push(JSON.stringify(A0t()));W.push(")");W.push(' no-repeat;background-position:50%;background-size:16px 16px;border-color:#1890ff;-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%)}input[type=checkbox]:focus+:before{border-color:#096dd9;outline:none}input[type=checkbox]:disabled+:before{background:#bfbfbf;border-color:#bfbfbf;color:#bfbfbf}input[type=checkbox]:disabled:checked+:before{background:#bfbfbf;border-color:#bfbfbf;color:#fff;content:"\\2714";font-size:12px;line-height:15px}input[visibility=hidden]+:before{visibility:hidden}select[size]{height:auto}@-moz-document url-prefix(){select{padding-left:4px}}select{appearance:none;-webkit-appearance:none;background:');W.push("url(");W.push(JSON.stringify(I2()));W.push(")");W.push(" no-repeat -webkit-calc(100% - 6px) 50%;background:");W.push("url(");W.push(JSON.stringify(I2()));W.push(")");W.push(" no-repeat -moz-calc(100% - 6px) 50%;background:");W.push("url(");W.push(JSON.stringify(I2()));W.push(")");W.push(" no-repeat calc(100% - 6px);background-size:12px 12px;height:22px}select.primary{height:22px;width:150px}select.medium{height:28px}input[type=color]{padding:0}textarea{height:auto;padding:4px 8px}:-moz-placeholder,:-ms-input-placeholder,::-moz-placeholder,::-webkit-input-placeholder{color:#999}.search-input{display:inline-block;position:relative}.search-input input{padding-right:26px;width:149px}.search-input button{border:0;font-size:12px;height:14px;outline:none;padding:0;position:absolute;right:8px;top:4px;width:12px}.search-input button:active{background:inherit}.filter-input{position:relative;width:100%}.filter-input input{padding-right:32px;width:100%}.filter-input:after{background-image:");W.push("url(");W.push(JSON.stringify(Iie()));W.push(")");W.push(';-webkit-filter:invert(.4);filter:invert(.4);right:5px}.filter-input.clear:before,.filter-input:after{background-repeat:no-repeat;background-size:12px 12px;content:"";cursor:pointer;display:inline-block;height:12px;position:absolute;top:5px;width:12px}.filter-input.clear:before{background-image:');W.push("url(");W.push(JSON.stringify(UR()));W.push(")");W.push(";-webkit-filter:var(--common-icon-color-1);filter:var(--common-icon-color-1);right:20px}.panel-tool div{cursor:pointer;filter:alpha(opacity=100);height:12px;margin-top:2px;opacity:1;width:12px}.panel-tool-close,.panel-tool-max,.panel-tool-min,.panel-tool-restore{background-image:");W.push("url(");W.push(JSON.stringify(Sie()));W.push(")");W.push(";background-position:50%;background-repeat:no-repeat;background-size:20px 20px}.easyui-combobox-select-droplist>li,.easyui-comboboxdrop-select-droplist-ul>li{-moz-box-sizing:border-box;box-sizing:border-box;font-size:12px;height:auto;padding:4px 6px;word-break:keep-all}.easyui-combobox-select-droplist>li:hover,.easyui-comboboxdrop-select-droplist-ul>li:hover{background:#e6f7ff;color:#2094ff}.easyui-comboboxdrop-select-droplist-input:focus{outline:none}.easyui-comboboxdrop-select-droplist-input:focus:focus{border-color:#1890ff}.easyui-comboboxdrop-select-droplist-clear-button span.icon-eda-clear{color:#999}.easyui-comboboxdrop-select-droplist-input{margin:8px}.easyui-combobox:focus+.easyui-combobox-select-droplist-button>span{display:inline-block;-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);transform:rotate(180deg)}.easyui-combobox-select-droplist{border:1px solid #ccc;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;margin-top:1px;padding:0}.easyui-combobox-select-droplist>li{margin:0}.m-form{-moz-appearance:textfield;border:1px solid #d9d9d9;font-family:Microsoft YaHei;font-size:12px;padding:8px}.m-form>div.form-item{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin:8px 0;min-height:24px}.m-form>div.form-item input{height:24px;line-height:24px;width:100%}.m-form>div.form-item .label{-webkit-box-flex:0;-webkit-flex:0 0 80px;-moz-box-flex:0;flex:0 0 80px;margin-right:8px}.m-form>div.form-item .origin{-webkit-box-flex:0;-webkit-flex:0 0 60px;-moz-box-flex:0;flex:0 0 60px}.m-form>div.form-item .box{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.m-form>div.form-item .box .radio-item{display:inline-block}.m-form>div.form-item .box .radio-item:first-child{margin-right:20px}.m-form>div.form-item .box .radio-item input[type=radio]{margin-right:14px}.m-form>div.form-item .radios{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.m-form>div.form-item .radios>label:not(:last-child){display:inline-block;margin-bottom:8px}.m-form>div.form-item .radios .radio-item{margin:8px 0}.m-form>div.form-item.align-top{-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;align-items:flex-start}.selection-disabled,.selection-disabled *{-webkit-user-select:none;-moz-user-select:none;user-select:none}.pencil3-icon{background-image:");W.push("url(");W.push(JSON.stringify(A3e()));W.push(")");W.push(";background-position:50%;background-repeat:no-repeat}.drcerror-style-sa{background-image:");W.push("url(");W.push(JSON.stringify(Xqt()));W.push(")");W.push("}.drcerror-style-sa,.drcerror-style-sb{background-position:4px;background-repeat:no-repeat;background-size:18px 18px;cursor:pointer;display:block;height:40px;width:40px}.drcerror-style-sb{background-image:");W.push("url(");W.push(JSON.stringify($qt()));W.push(")");W.push("}.icon-eda-x-circle.clear-input-circle{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.q-grid{display:grid;grid-template-rows:minmax(10px,auto);overflow:hidden}.q-grid.header .cell input[type=text]{text-align:left;width:100%}.q-grid .cell{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:start;-moz-box-pack:start;background-color:var(--bg-color-table-row);border-radius:0;color:var(--font-color-table);font-size:1em;justify-content:start;overflow:hidden;padding:3px 8px;position:relative;word-break:break-all}.q-grid .cell.bg-gray{background:var(--bg-color-1-table-row)}.q-grid .cell .clear{background-image:");W.push("url(");W.push(JSON.stringify(UR()));W.push(")");W.push(';background-repeat:no-repeat;background-size:12px 12px;content:"";cursor:pointer;display:none;-webkit-filter:var(--common-icon-color-1);filter:var(--common-icon-color-1);height:12px;position:absolute;right:12px;top:30%;width:12px}.q-grid .cell input[type=text]{border-radius:0;height:100%!important;text-align:center;width:100%}.q-grid .cell input[type=text].filter{padding-right:20px}.q-grid .cell[data-row-index=filterRow]{background-color:var(--bg-color-table-row)}.q-grid .cell.checkbox{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;padding:0}.q-grid .cell.checkbox:after{background:red;content:"";height:100%;opacity:0;position:absolute;width:100%}.q-grid .cell .filter-cancel{cursor:pointer;height:12px;position:absolute;right:12px;top:6px;width:12px}.q-grid input[type=checkbox]{height:15px;width:15px}.q-grid .ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.q-grid .contents{display:contents}.q-grid.body .cell{-moz-box-sizing:border-box;box-sizing:border-box;cursor:default;min-height:24px;overflow:hidden}.q-grid.body .cell.selected{background-color:var(--common-selected-bg-color);color:var(--font-color-selected-tr)}.q-grid.body .cell.draging{background-color:#ff0!important}.q-grid.body .cell .filter-cancel{cursor:pointer;height:12px;position:absolute;right:8px;width:12px}.q-grid.body .cell .filter-cancel:hover:after,.q-grid.body .cell .filter-cancel:hover:before{border-top:1px solid red}.q-grid.body .cell .filter-cancel:after,.q-grid.body .cell .filter-cancel:before{border-top:1px solid #ccc;content:"";position:absolute;top:5px;width:100%}.q-grid.body .cell .filter-cancel:before{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.q-grid.body .cell .filter-cancel:after{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}.q-grid.body .pages{font-size:14px}.q-grid.body .pages a{border:1px solid #ddd;color:#bf6d6d;cursor:pointer;margin:3px;padding:0 5px;text-decoration:none}.q-grid.body .pages a.no-link{color:#ccc;cursor:default}.q-grid.body .pages b{color:red}.q-grid.body .pages span.act{background:#ccc;border:1px solid #ddd;color:#fff;padding:0 5px}.q-grid .sort-icon{background-image:');W.push("url(");W.push(JSON.stringify(NAe()));W.push(")");W.push(";background-position:100%;background-repeat:no-repeat;background-size:12px 12px;-webkit-filter:invert(.5);filter:invert(.5);height:18px;position:absolute;right:4px!important;width:18px}.q-grid .cell.sort-1 .sort-icon{background-image:");W.push("url(");W.push(JSON.stringify(Lpt()));W.push(")");W.push(";background-size:12px 12px}.q-grid .cell.sort-2 .sort-icon{background-image:");W.push("url(");W.push(JSON.stringify(Ipt()));W.push(")");W.push(";background-size:12px 12px}header.q-grid .cell{background-color:var(--bg-color-table-header);position:relative}header.q-grid .cell .search-icon{background-position:0;background-repeat:no-repeat;cursor:pointer;display:inline-block;-webkit-filter:invert(.4);filter:invert(.4);height:18px;margin-left:4px;min-width:18px;width:18px}header.q-grid .cell .search-icon.active{-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%)}header.q-grid .cell .resizebar{background:#04ff52;cursor:col-resize;height:100%;opacity:0;position:absolute;right:-2px;width:4px;z-index:2}header.q-grid .cell .resizebar.isDraging,header.q-grid .cell .resizebar:hover{opacity:.3}.q-grid-box{position:relative;width:100%}.q-grid-box .resize-tip-line{border-left:2px dotted #8bc34a;height:100%;position:absolute;top:0;width:1px}.icon.clearIcon{background-image:");W.push("url(");W.push(JSON.stringify(UR()));W.push(")");W.push(';background-repeat:no-repeat;background-size:12px 12px;content:"";cursor:pointer;display:inline-block;-webkit-filter:var(--common-icon-color-1);filter:var(--common-icon-color-1);height:12px;position:absolute;width:12px}#q-select-box{color:#444;text-align:left}#q-select-box .q-select-virtual{background:#fff;border:1px solid #ccc;border-bottom:none;-moz-box-sizing:border-box;box-sizing:border-box;max-width:400px}#q-select-box .q-select-virtual span{background:#ddd;color:green;display:block;float:left;font-size:.5em;margin:2px 2px 0 0;padding:1px 10px 1px 3px;position:relative}#q-select-box .q-select-virtual span i{cursor:pointer;height:8px;position:absolute;right:1px;top:6px;width:8px}#q-select-box .q-select-virtual span i:hover{-webkit-transform:rotate(1turn);-moz-transform:rotate(1turn);transform:rotate(1turn);-webkit-transition:.5s;-moz-transition:.5s;transition:.5s}#q-select-box .q-select-virtual span i:after,#q-select-box .q-select-virtual span i:before{background:red;content:"";height:1px;left:0;position:absolute;top:3px;width:8px}#q-select-box .q-select-virtual span i:before{transform:rotate(45deg);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg)}#q-select-box .q-select-virtual span i:after{transform:rotate(-45deg);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg)}#q-select-box .q-select-list{background:#fff;border:1px solid #ccc;box-shadow:0 0 3px #a9a7a7;margin-top:2px;overflow:hidden;width:100%}#q-select-box .q-select-list .q-search-input{border:1px solid #d9d9d9;border-radius:2px;display:inline-block;height:22px;margin:5px;outline:0;padding-left:2px;padding-right:19px;width:-webkit-calc(100% - 10px);width:-moz-calc(100% - 10px);width:calc(100% - 10px)}#q-select-box .q-select-list .clear{cursor:pointer;height:12px;position:absolute;right:10%;top:10px;width:12px}#q-select-box .q-select-list .optgroup .item{padding-left:2em}#q-select-box .q-select-list .item{-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;font-size:12px;min-height:22px;overflow:hidden;padding:4px 6px;text-overflow:ellipsis;width:100%;word-break:keep-all}#q-select-box .q-select-list .item.selected,#q-select-box .q-select-list .item:hover{background:#e6f7ff;color:#2094ff}#q-select-box .q-select-list .item[disabled]{color:#ccc;pointer-events:none}#q-select-box .q-select-list .label{-moz-box-sizing:border-box;box-sizing:border-box;font-size:12px;font-weight:700;padding:2px 6px;pointer-events:none;word-break:keep-all}#q-select-box .q-select-input-box{position:relative}#q-select-box .q-select-input-box .q-select-input{background:#fff;-moz-box-sizing:border-box;box-sizing:border-box;cursor:default;display:block;outline:none;overflow:hidden;padding-left:4px;padding-right:16px;text-overflow:ellipsis;white-space:normal;width:100%}#q-select-box .q-select-input-box span.icon{border-left:1px solid #58a1c3;border-top:1px solid #58a1c3;cursor:pointer;height:4px;position:absolute;transform:rotate(45deg);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);width:4px}#layoutBottom{background:#fff;height:400px}#layoutBottom .datagrid-header{background:#dedede}#layoutBottom [class*=tab-msgs]{height:16px;width:16px}#drcResult,#pcb-comparison-result{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;position:relative;width:100%}#drcResult .leftSide,#pcb-comparison-result .leftSide{height:100%;min-width:210px}#drcResult .rightSide,#pcb-comparison-result .rightSide{border-left:1px solid var(--common-border-color-1);height:100%;overflow:auto;width:-webkit-calc(100% - 210px);width:-moz-calc(100% - 210px);width:calc(100% - 210px)}#drcResult .btns,#pcb-comparison-result .btns{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;padding:5px}#drcResult .btns button,#pcb-comparison-result .btns button{background-color:var(--bg-color-button);border-color:var(--border-color-button);color:var(--font-color-button);width:98px}#drcResult .btns button:hover,#pcb-comparison-result .btns button:hover{border-color:var(--border-color-hover-button)}#drcResult .btns button[disabled],#pcb-comparison-result .btns button[disabled]{background-color:var(--bg-color-disabled-primary-button);border-color:#d9d9d9;color:var(--font-color-disabled-primary-button)}#drcResult #drcTable .icon-eda-eye,#pcb-comparison-result #drcTable .icon-eda-eye,#pcb-comparison-result .icon-eda-eye{display:block;height:16px;width:16px}#pcb-comparison-result-tree,#treeMyDesignDRC-content{background:var(--bg-color-panel);border:1px solid var(--common-border-color-1);height:-webkit-calc(100% - 72px);height:-moz-calc(100% - 72px);height:calc(100% - 72px);margin-left:5px;min-width:198px;overflow-y:auto;position:absolute;top:38px}#pcb-comparison-result-tree .tree-icon,#treeMyDesignDRC-content .tree-icon{height:16px;margin:0 2px 0 4px;width:16px}#treeMyDesignDRC-phantom{left:0;position:absolute;right:0;top:0;z-index:-1}#treeMyDesignDRC{bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}#treeMyDesignDRC .tree-node{height:22px}#treeMyDesignDRC .tree-title{padding:2px}#commandWindow{font-size:14px;height:-webkit-calc(100% - 47px);height:-moz-calc(100% - 47px);height:calc(100% - 47px);overflow:auto;padding:10px;position:relative}#commandWindow #showCommand>div{height:18px!important;line-height:18px}#commandWindow #enterCommand{border:none;font-size:13px;height:18px;padding:0;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px)}.libType .tabs>li:last-child{margin-right:0}.libType .tabs{width:auto}#libFrom,.libType .tabs{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}#libFrom{margin-left:10px;margin-top:5px;overflow:hidden}#libFrom>div{margin-right:10px}#libFrom .libFrom:hover{color:#58f;cursor:pointer}#libFrom .libFrom.active{color:#58f}#libFrom .splitLine{background:#aaa;width:1px}#dlgLibs-middle{border-bottom:1px solid #ddd;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-calc(100% - 68px);height:-moz-calc(100% - 68px);height:calc(100% - 68px);margin-top:5px;overflow:hidden}#dlgLibs-middle>div{height:100%}#dlgLibs-middle .toggle-type{border-right:none;float:left;overflow:auto;scroll-behavior:smooth;width:100%}.dlgLibs-categories-wrap .dlgLibs-categories{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-flow:wrap;flex-flow:wrap;width:-webkit-calc(100% - 25px);width:-moz-calc(100% - 25px);width:calc(100% - 25px)}.dlgLibs-categories-wrap .categoryAddBtn{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;cursor:pointer;margin-bottom:5px;margin-left:5px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.dlgLibs-categories-wrap .categoryAddBtn .m-btn-downarrow{border-top-color:#1890ff;margin-left:4px}.dlgLibs-categories-wrap .categoryExpandBtn{font-size:16px;height:16px;margin-right:10px;-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);transform:rotate(90deg);width:16px}#showBiggerPreview{bottom:0;display:none;height:100%;position:absolute;right:0;z-index:9}#showBiggerPreview img{height:100%}.inputWrap{border:1px solid #e2e2e2;border-radius:2px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;width:160px}.inputWrap:hover{border-color:#1890ff}.inputWrap .icon-eda-x-circle-small{display:none;margin-top:-2px}.inputWrap .icon-eda-x-circle-small:hover{color:#1890ff}.inputWrap input{border:none;height:20px;line-height:20px;margin-left:5px;width:-webkit-calc(100% - 20px);width:-moz-calc(100% - 20px);width:calc(100% - 20px)}.dlgLibs-category{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:5px;margin-left:5px}.dlgLibs-category .inputWrap{border:none;margin-left:4px;position:relative;width:110px}.dlgLibs-category .inputWrap .categorySelectMask{background:transparent;height:100%;left:0;padding-left:10px;position:absolute;top:0;width:100%;z-index:9}.dlgLibs-category>.icon-eda-x-circle{background-size:16px 16px;margin-left:4px;top:0}.dlgLibs-category div,.dlgLibs-category input{line-height:20px}.dlgLibs-category select{width:100%}.bottomBar-left{-webkit-flex-shrink:0;flex-shrink:0;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.bottomBar-left .pageNumber{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.bottomBar-left .pageNumber>div{line-height:24px;margin-right:10px}.bottomBar-left .pageNumber .nextPage,.bottomBar-left .pageNumber .previousPage{cursor:pointer}.bottomBar-left .pageNumber .nextPage .disabled,.bottomBar-left .pageNumber .previousPage .disabled{color:#eee;cursor:auto;pointer-events:none}.bottomBar-left #refreshLibList{margin-right:10px}.bottomBar-left .dlgLibs-searchform-wrap{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:-webkit-calc(100% - 170px);width:-moz-calc(100% - 170px);width:calc(100% - 170px);-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.bottomBar-left .dlgLibs-searchform-wrap .dlgLibs-searchform-container{border-bottom:1px solid #d1d1d1}.bottomBar-left .dlgLibs-searchform-wrap #dlgLibs-keyword{border:none;box-shadow:none;font-size:16px;padding:5px 8px;vertical-align:middle;width:400px}#categorySelectMenu{background:#fff;border:1px solid #ddd;display:none;left:0;max-height:200px;position:absolute;top:0;width:200px;z-index:9999}#categorySelectMenu #filterCategoryName{border:1px solid #e2e2e2;border-radius:2px;height:22px;margin-left:10px;margin-top:10px;padding:0 5px;width:-webkit-calc(100% - 20px);width:-moz-calc(100% - 20px);width:calc(100% - 20px)}#categorySelectMenu #selectCategoryName{max-height:140px;overflow-y:auto;padding:5px}.optionItem{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:10px;position:relative}.optionItem input{margin-right:5px}.optionItem .itemName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#bottomBar{height:100%!important}#bottomBar .bottomBar-splitLine{border:none;cursor:col-resize;-webkit-flex-shrink:0;flex-shrink:0;font-size:1px;height:100%;margin:0;overflow:hidden;padding:0;position:relative;width:5px;z-index:99999}#bottomBar .bottomBar-splitLine.close,#bottomBar .bottomBar-splitLine.close>div.toggle{overflow:visible}#bottomBar .bottomBar-splitLine.close>div.toggle:before{content:"";display:block;height:100%;left:-3px;position:relative;width:3px}.bottom-table-wrap{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-moz-box-sizing:border-box;box-sizing:border-box;flex-direction:column;height:100%;overflow:hidden;width:100%}.bottom-table-wrap .libTable{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}#dlgLibs-tags{background:#fff;height:100%;overflow-x:hidden;overflow-y:auto;width:210px}#dlgLibs-tags .treefilter{border-radius:0;display:block;margin:0 auto 5px;padding-right:25px;width:97%}#dlgLibs-tags .treefilterclear{top:5px}#dlgLibs-tags #dlgLibs-source{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-bottom:10px;margin-left:10px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}#dlgLibs-tags #dlgLibs-source #dlgLibs-source-select{font-size:12px;height:27px;width:100px}#filterTr td{color:#d1d1d1}#filterTr td.hasData,.fixedTableFilter>div.hasData{color:#333}#filterTr input,.fixedTableFilter input{border:none;height:100%;width:100%}#dlgLibs-filter,#dlgLibs-search{background:none;border:none;height:20px;min-width:auto;vertical-align:middle;width:20px}#dlgLibs-categories-classes,#dlgLibs-categories-types{margin-bottom:8px;position:relative}.dlgLibs-categories-tags-container-tag-box{padding:10px;white-space:normal}div.icon-component-decorator{display:inline-block;float:right}i.dlgLibs-liblist-icon-canbuy{background-image:');W.push("url(");W.push('"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NjAgNDYwIj48cGF0aCBkPSJNMTcgNTUuMjMxaDQ4LjczM2w2OS40MTcgMjUxLjAzM2MxLjk4MyA3LjM2NyA4Ljc4MyAxMi40NjcgMTYuNDMzIDEyLjQ2N2gyMTMuMzVjNi44IDAgMTIuNzUtMy45NjcgMTUuNTgzLTEwLjJsNzcuNjMzLTE3OC41YzIuMjY3LTUuMzgzIDEuNy0xMS4zMzMtMS40MTctMTYuMTVzLTguNS03LjY1LTE0LjE2Ny03LjY1SDIwNi44MzNjLTkuMzUgMC0xNyA3LjY1LTE3IDE3czcuNjUgMTcgMTcgMTdINDE2LjVsLTYyLjkgMTQ0LjVIMTY0LjMzM0w5NC45MTcgMzMuNjk4Yy0xLjk4My03LjM2Ny04Ljc4My0xMi40NjctMTYuNDMzLTEyLjQ2N0gxN2MtOS4zNSAwLTE3IDcuNjUtMTcgMTdzNy42NSAxNyAxNyAxN00xMzUuNDMzIDQzOC4yOThjMjEuMjUgMCAzOC41MzMtMTcuMjgzIDM4LjUzMy0zOC41MzNzLTE3LjI4My0zOC41MzMtMzguNTMzLTM4LjUzM1M5Ni45IDM3OC41MTQgOTYuOSAzOTkuNzY0czE3LjI4MyAzOC41MzQgMzguNTMzIDM4LjUzNE0zNzYuMjY3IDQzOC4yOThoMi44MzNjMTAuMi0uODUgMTkuNTUtNS4zODMgMjYuMzUtMTMuMzE3IDYuOC03LjY1IDkuOTE3LTE3LjU2NyA5LjM1LTI4LjA1LTEuNDE3LTIwLjk2Ny0xOS44MzMtMzcuMTE3LTQxLjA4My0zNS43cy0zNy4xMTcgMjAuMTE3LTM1LjcgNDEuMDgzYzEuNDE2IDIwLjExNyAxOC4xMzMgMzUuOTg0IDM4LjI1IDM1Ljk4NCIvPjwvc3ZnPg=="');W.push(")");W.push("}#dlgLibs-liblist{overflow:auto;position:relative;vertical-align:top;width:100%}#dlgLibs-liblist table{border:0;border-collapse:collapse;border-spacing:0;width:100%}#dlgLibs-liblist table thead tr{background-color:#ddd;height:24px}#dlgLibs-liblist table tbody tr [data-uuid]{cursor:pointer}#dlgLibs-liblist table tbody tr [data-uuid]:hover:not(.selected){background:#f5f5f5}#dlgLibs-liblist table tbody tr.selected{background:#58f;color:#fff}#dlgLibs-liblist table tbody tr.selected .hightlight{color:#000}#dlgLibs-liblist table tbody tr td.subpart{padding-left:32px}#dlgLibs-liblist table tfoot tr{height:32px;text-align:center}#dlgLibs-liblist #fixedTableHeaderWrapper{display:none;left:0;position:fixed;top:0}#dlgLibs-liblist #fixedTableHeaderWrapper .fixedTableFilter{background:#fff;color:#d1d1d1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}#dlgLibs-liblist #fixedTableHeaderWrapper .fixedTableFilter>div{border-bottom:1px solid #eee;border-right:1px solid #eee;padding:4px}#dlgLibs-liblist .fixedTableHeader>div,#dlgLibs-liblist table tr>*{border-bottom:1px solid #eee;-moz-box-sizing:border-box;box-sizing:border-box;padding:4px}#dlgLibs-liblist .fixedTableHeader>div:not(:last-child),#dlgLibs-liblist table tr>:not(:last-child){border-right:1px solid #eee}#dlgLibs-liblist .fixedTableHeader>div{background-color:#ddd;border-bottom:initial!important;cursor:pointer;display:inline-block;font-size:14px;font-weight:700;height:30px;position:relative;text-align:center;text-transform:capitalize}#dlgLibs-liblist .fixedTableHeader>div>span{position:absolute;right:0}#dlgLibs-liblist .fixedTableHeader>div .dlgLibs-liblist-sort-asc .dlgLibs-liblist-sort-icon{background:");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhDQAFAJEAAOPu+2GQzf///wAAACH5BAEHAAIALAAAAAANAAUAAAINlBWnGr3c3It0gYuxKgA7"');W.push(")");W.push(" no-repeat 50%;float:right;padding:2px 13px 0 0}#dlgLibs-liblist .fixedTableHeader>div .dlgLibs-liblist-sort-desc .dlgLibs-liblist-sort-icon{background:");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhDQAFAJEAAOPu+2GQzf///wAAACH5BAEHAAIALAAAAAANAAUAAAIPRI4Bwmy5WntKWhOtzLYAADs="');W.push(")");W.push(' no-repeat 50%;float:right;padding:2px 13px 0 0}.bottomBar-preview{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;text-align:center;width:300px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;background-color:#fff;flex-direction:column;position:relative;z-index:99999}.bottomBar-preview svg{height:100px;left:-200px;position:absolute;top:-200px;visibility:hidden;width:100px}.bottomBar-preview[data-subpart="1"] [cmd=clone]{display:none}.bottomBar-preview .btns{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:4px 4px 0}.bottomBar-preview .btns .placeBtn{overflow:hidden;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.bottomBar-preview .btns .placeBtn.emphasize-btn{background-color:#1890ff;border-color:#1890ff;color:#fff}.bottomBar-preview .btns .placeBtn.emphasize-btn:hover{background:#41a9ff;border-color:#41a9ff}.bottomBar-preview .btns .placeBtn.emphasize-btn[disabled]{background:#d9d9d9;border-color:#d9d9d9}.bottomBar-preview .btns>button{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:26px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.bottomBar-preview .btns>button.selected{background:#fff;border:1px solid #1890ff;color:#1890ff;outline:none}.bottomBar-preview .btns>button.selected:hover{background:#fff;border-color:#1890ff}.bottomBar-preview .btns button+button{margin-left:5px}.bottomBar-preview .previewBox{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;height:10px;padding:3px}.bottomBar-preview .previewBox>div{background:#e2e2e2;border:1px solid #fff;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;float:left;height:100%;position:relative;width:100%}.bottomBar-preview .previewBox>div>img{height:100%;width:100%}.bottomBar-preview .previewBox .thumb-loading{background-color:#e2e2e2;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;left:0;position:absolute;top:0;width:100%;z-index:999;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.bottomBar-preview .previewBox .thumb-loading>.icon-eda-loading{background-image:');W.push("url(");W.push(JSON.stringify(ZF()));W.push(")");W.push(";background-position:50%;background-size:auto;display:none;height:50%;width:50%}.bottomBar-preview .previewBox .thumb-content{height:100%;width:100%}.bottomBar-preview .previewBox.preview-layout.preview2>div{height:100%;width:50%}.bottomBar-preview .previewBox.preview-layout.preview3>div,.bottomBar-preview .previewBox.preview-layout.preview4>div{height:50%;width:50%}.bottomBar-preview .previewBox.preview-layout .fullHeight{height:100%!important}.bottomBar-preview .previewBox .symbolPreviewBox{overflow:hidden}.bottomBar-preview .previewBox .symbolPreviewBox>img{left:0;position:absolute;top:0}.bottomBar-preview .previewSelect{padding:0 4px 4px}.bottomBar-preview .previewSelect select{font-size:12px;width:100%!important}[data-content-type=cbb],[data-content-type=device],[data-content-type=footprint],[data-content-type=model3D],[data-content-type=symbol]{height:100%;width:100%}[data-content-type=cbb] .default-pagination,[data-content-type=device] .default-pagination,[data-content-type=footprint] .default-pagination,[data-content-type=model3D] .default-pagination,[data-content-type=symbol] .default-pagination{position:absolute;right:5px}[data-content-type=cbb] .panel.datagrid,[data-content-type=device] .panel.datagrid,[data-content-type=footprint] .panel.datagrid,[data-content-type=model3D] .panel.datagrid,[data-content-type=symbol] .panel.datagrid{height:-webkit-calc(100% - 57px)!important;height:-moz-calc(100% - 57px)!important;height:calc(100% - 57px)!important}[data-content-type=cbb].no-form-box .panel.datagrid,[data-content-type=device].no-form-box .panel.datagrid,[data-content-type=footprint].no-form-box .panel.datagrid,[data-content-type=model3D].no-form-box .panel.datagrid,[data-content-type=symbol].no-form-box .panel.datagrid{height:-webkit-calc(100% - 30px)!important;height:-moz-calc(100% - 30px)!important;height:calc(100% - 30px)!important}[data-content-type=cbb] .datagrid-header,[data-content-type=device] .datagrid-header,[data-content-type=footprint] .datagrid-header,[data-content-type=model3D] .datagrid-header,[data-content-type=symbol] .datagrid-header{height:23px!important;width:100%!important}[data-content-type=cbb] .datagrid-view2 .datagrid-body,[data-content-type=device] .datagrid-view2 .datagrid-body,[data-content-type=footprint] .datagrid-view2 .datagrid-body,[data-content-type=model3D] .datagrid-view2 .datagrid-body,[data-content-type=symbol] .datagrid-view2 .datagrid-body{height:-webkit-calc(100% - 25px)!important;height:-moz-calc(100% - 25px)!important;height:calc(100% - 25px)!important;width:100%!important}[data-content-type=cbb] .datagrid-footer,[data-content-type=cbb] .datagrid-view2,[data-content-type=device] .datagrid-footer,[data-content-type=device] .datagrid-view2,[data-content-type=footprint] .datagrid-footer,[data-content-type=footprint] .datagrid-view2,[data-content-type=model3D] .datagrid-footer,[data-content-type=model3D] .datagrid-view2,[data-content-type=symbol] .datagrid-footer,[data-content-type=symbol] .datagrid-view2{width:100%!important}[data-content-type=cbb] .datagrid-view,[data-content-type=cbb] .datagrid-view2,[data-content-type=cbb] .panel,[data-content-type=cbb] .panel-body,[data-content-type=device] .datagrid-view,[data-content-type=device] .datagrid-view2,[data-content-type=device] .panel,[data-content-type=device] .panel-body,[data-content-type=footprint] .datagrid-view,[data-content-type=footprint] .datagrid-view2,[data-content-type=footprint] .panel,[data-content-type=footprint] .panel-body,[data-content-type=model3D] .datagrid-view,[data-content-type=model3D] .datagrid-view2,[data-content-type=model3D] .panel,[data-content-type=model3D] .panel-body,[data-content-type=symbol] .datagrid-view,[data-content-type=symbol] .datagrid-view2,[data-content-type=symbol] .panel,[data-content-type=symbol] .panel-body{height:100%!important;width:100%!important}.dlgbtmbar-content-wrap{height:100%;width:100%}.dlgbtmbar-classification-wrap-main{height:-webkit-calc(100% - 55px);height:-moz-calc(100% - 55px);height:calc(100% - 55px);overflow:auto}.dlgbtmbar-classification-wrap-main ul{min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content;width:100%}.dlgbtmbar-classification-wrap-main ul li.comm-list-item{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;font-family:Arial Regular,Arial,Microsoft YaHei,serif}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef{background-color:#efefef}.comm-btn-confirm{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel:hover{border:1px solid #40a9ff!important}.opacity-none,.pointer-events-none{cursor:default;pointer-events:none!important}.opacity-none{opacity:0}.attr-prohibit,.display-block{display:block}.display-none{display:none!important}.display-flex{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important{color:#000!important}.color-white-important{color:#fff!important}.bgcolor-red-important{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.attribute-global-container{background-color:var(--bg-color-panel-tabs);height:100%;overflow-y:hidden}.attribute-tabs-containter{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);margin:0;outline:0;padding:0}.attribute-tabs-containter .left{float:left}.attribute-tabs-containter .right{float:right}.attribute-tabs-containter .clear{clear:both}.layer-panel-table{border-collapse:collapse;overflow-x:hidden;width:100%}.layer-panel-table .layer-panel-row{height:24px}.layer-panel-table .layer-panel-row .active-toggle-btn{position:relative;width:35px;-webkit-box-flex:0;-webkit-flex:0 0 35px;-moz-box-flex:0;cursor:pointer;flex:0 0 35px;height:inherit;line-height:24px;text-indent:1em}.layer-panel-table .layer-panel-row .locked-toggle-btn,.layer-panel-table .layer-panel-row .unlock-toggle-btn,.layer-panel-table .layer-panel-row .visible-toggle-btn{width:32px;-webkit-box-flex:0;-webkit-flex:0 0 32px;-moz-box-flex:0;cursor:pointer;flex:0 0 32px;height:inherit;text-align:center}.layer-panel-table .layer-panel-row .layer-content-show{cursor:pointer;display:block;height:24px;line-height:24px;overflow:hidden;padding:0 4px 0 0;position:relative;text-overflow:ellipsis;white-space:nowrap;width:100%}.layer-panel-table .layer-panel-row .unlock-toggle-btn .icon-eda-unlock{position:relative;top:6px}.layer-panel-table .layer-panel-row .locked-toggle-btn .icon-eda-lock{font-weight:bolder;position:relative;top:6px}.layer-panel-table .layer-panel-row-active{background-color:var(--bg-color-selected-layer-panel-tab)}#pcb-attribute-manager .layer-panel-table .layer-panel-row-active .active-toggle-btn{background-image:");W.push("url(");W.push(JSON.stringify(A3e()));W.push(")");W.push(';background-position:50%;background-repeat:no-repeat}.layer-panel-table .layer-panel-row .group-slider:before{transform:rotate(-45deg);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);width:0}.layer-panel-table .layer-panel-row .group-slider-collapsed:before,.layer-panel-table .layer-panel-row .group-slider:before{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--border-color-layout_toggler);content:"";display:inline-block;position:absolute;right:0;top:10px;vertical-align:middle}.layer-panel-table .layer-panel-row .group-slider-collapsed:before{margin-top:-3px;transform:rotate(-90deg);-webkit-transform:rotate(-90deg);-o-transform:rotate(-90deg);-moz-transform:rotate(-90deg)}.layer-content-list .layer-content-show:hover{background-color:var(--bg-color-hover-layer-panel-tab)!important}.element-main .display-block{width:20px;-webkit-box-flex:0;-webkit-flex:0 0 20px;-moz-box-flex:0;background:#bfbfbf;flex:0 0 20px;margin-right:4px;pointer-events:none}.element-main .filter-primitive-visible{background:transparent;background-image:');W.push("url(");W.push(JSON.stringify(s3()));W.push(")");W.push(";background-position:50%;background-repeat:no-repeat;background-size:100% 100%;cursor:pointer;pointer-events:auto;position:relative}.element-main .filter-primitive-hidden{background:transparent;background-image:");W.push("url(");W.push(JSON.stringify(Jx()));W.push(")");W.push(';background-position:50%;background-repeat:no-repeat;background-size:100% 100%;cursor:pointer;opacity:.25;pointer-events:auto;position:relative}.element-main .double-column{-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.element-main .double-column>div{overflow:hidden;text-overflow:ellipsis;width:50%}.attr-main{background:var(--bg-color-panel);overflow:auto;width:100%}.attr-main,.element-main{height:100%;position:relative}.attr-main .attr-main-select-content{width:100%}.attr-main .attrlist-selected-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:30px;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;padding:0 8px}.attr-main .attrlist-selected-wrapper .flex-content{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;line-height:30px}.attr-main .attrlist-selected-wrapper .flex-content .name{margin-right:8px}.attr-main .title,.element-main .title{background:var(--common-bg-color-panel-header);-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;font-size:12px;font-weight:400;height:25px;line-height:12px;overflow:hidden;padding:6px;text-overflow:ellipsis;white-space:nowrap;width:100%}.attr-main .title{margin-bottom:8px}.attr-main .title:before,.element-main .title:before{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #ccc;content:"";display:inline-block;transform:rotate(-45deg);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-webkit-transition:all .2s;-moz-transition:all .2s;transition:all .2s;vertical-align:middle}.attr-main .title.collapsed:before,.element-main .title.collapsed:before{margin-top:-3px;transform:rotate(-90deg);-webkit-transform:rotate(-90deg);-o-transform:rotate(-90deg);-moz-transform:rotate(-90deg)}.attr-main .txt_title{width:100px;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;font-size:12px;line-height:24px;overflow:hidden;padding:0 0 0 22px;position:relative;text-overflow:ellipsis;top:-4px;white-space:nowrap}.attr-main .txt_value{border-radius:3px;-moz-box-sizing:border-box;box-sizing:border-box;margin:0 8px 8px 0;position:relative;text-align:left;width:100%}.attr-main .txt_value input,.attr-main .txt_value select{border-radius:2px;height:24px;width:100%}.attr-main .q-select-list{text-align:left!important}.attribute-tabs-containter{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%!important;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;flex-direction:row-reverse}.attribute-tabs-containter .panel,.attribute-tabs-containter .panel-body,.attribute-tabs-containter .panels{height:100%!important;width:100%!important}.attribute-tabs-containter .tabs-panels{border:0;height:100%!important}.attribute-tabs-containter,.attribute-tabs-containter .panel,.attribute-tabs-containter .panel-body:not(.attribute-filter),.attribute-tabs-containter .panels,.attribute-tabs-containter .tabs-panels{background-color:var(--bg-color-panel)!important;overflow-x:hidden;width:100%!important}.attribute-tabs-containter>.tabs-header{border:0!important;width:28px!important;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;flex:0 0 28px;height:100%!important}.attribute-tabs-containter>.tabs-header .tabs-wrap{background-color:var(--common-bg-color-panel-header);-moz-box-sizing:border-box;box-sizing:border-box;height:100%!important;margin-left:0!important;margin-right:0!important;width:100%!important}.attribute-tabs-containter>.tabs-header .tabs-wrap .tabs{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%!important;width:24px!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;border-bottom:0;border-left:1px solid var(--border-color-panel-divider);justify-content:flex-start;padding:0}.attribute-tabs-containter>.tabs-header .tabs-wrap .tabs li{border-left:0;line-height:20px;margin-left:0!important;text-align:center;-webkit-writing-mode:vertical-lr;writing-mode:vertical-lr}.attribute-tabs-containter>.tabs-header .tabs-wrap .tabs li:last-child{border-bottom:1px solid var(--border-color-panel-divider)}.attribute-tabs-containter>.tabs-header .tabs-wrap .tabs li:first-child{border-top:1px solid #d1d1d1;margin-top:4px}.attribute-tabs-containter>.tabs-header .tabs-wrap .tabs li.tabs-selected{line-height:21px;margin-left:-1px!important;width:24px!important}.attribute-tabs-containter>.tabs-header .tabs-wrap .tabs li a{padding:0 1px 0 0}.attribute-tabs-containter .tabs-scroller-left,.attribute-tabs-containter .tabs-scroller-right{display:none!important}.attribute-tabs-containter .tabs{-moz-box-sizing:border-box;box-sizing:border-box;padding-left:5px;width:100%!important}.attribute-tabs-containter .tabs li{min-height:72px;padding:0;text-align:center;width:100%!important}.attribute-tabs-containter .tabs li.tabs-selected{min-height:72px}.layer-main-content .tabs-header{background-color:var(--common-bg-color-panel-header)!important;border:0;width:100%!important}.layer-main-content,.layer-main-content .panel,.layer-main-content .panel-body,.layer-main-content .panels{height:100%!important;padding:0!important}.layer-main-content .tabs-panels{background-color:var(--bg-color-panel)!important;height:-webkit-calc(100% - 57px)!important;height:-moz-calc(100% - 57px)!important;height:calc(100% - 57px)!important}.layer-main-content,.layer-main-content .panel,.layer-main-content .panel-body,.layer-main-content .panels,.layer-main-content .tabs-panels{border-left:0;width:100%!important}.layer-main-content .tabs-wrap{margin-left:0!important;padding-top:30px;width:100%!important}.layer-main-content .tabs-wrap ul.tabs{display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex}.element-main-content,.element-main-content .panel,.element-main-content .panel-body,.element-main-content .panels{height:100%!important}.element-main-content .tabs-panels{border:0!important;height:100%!important}.element-main-content,.element-main-content .panel,.element-main-content .panel-body,.element-main-content .panels,.element-main-content .tabs-panels{width:100%!important}.usereasyui-tabs-li-disabled,.usereasyui-tabs-li-disabled a{cursor:not-allowed;pointer-events:none}.usereasyui-tabs-li-disabled a{background-color:#bcbcbc}.attribute-coordinate-containter{border-top:1px solid var(--common-border-color-2);overflow:hidden}.attribute-coordinate-containter *{-moz-box-sizing:border-box;box-sizing:border-box}.attribute-coordinate-containter .line{border-bottom:1px solid var(--border-color-layout_toggler);overflow:hidden}.attribute-coordinate-containter .line-left{width:45%}.attribute-coordinate-containter .line-right{width:55%}.attribute-coordinate-containter .line div{background:var(--bg-color-panel);line-height:23px;padding:0 5px}.attribute-coordinate-containter .line .name{padding:0 5px 0 0;text-align:right;width:25%}.attribute-coordinate-containter .line .value{padding:0 5px;text-align:left;width:75%}.footprint-attribute-containter .panel,.footprint-attribute-containter .panel-body,.footprint-attribute-containter .panels,.footprint-attribute-containter>.tabs-container{height:100%!important}.footprint-attribute-containter,.footprint-attribute-containter .panel,.footprint-attribute-containter .panel-body,.footprint-attribute-containter .panels,.footprint-attribute-containter .tabs-header,.footprint-attribute-containter .tabs-panels{background-color:var(--bg-color-panel)!important;width:100%!important}.footprint-attribute-containter .tabs-header{border:0!important}.footprint-attribute-containter .tabs-scroller-left,.footprint-attribute-containter .tabs-scroller-right{display:none!important}.footprint-attribute-containter #q-select-box .item{padding:0 6px}.footprint-attribute-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%!important;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row}.footprint-attribute-wrapper>.tabs-header{border:0!important;width:28px!important;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;background-color:#f0f0f0;flex:0 0 28px;height:100%!important}.footprint-attribute-wrapper>.tabs-header .tabs{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%!important;width:24px!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-align:end;-webkit-align-items:flex-end;-moz-box-align:end;-webkit-align-content:flex-end;align-content:flex-end;align-items:flex-end;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;border-bottom:0;border-right:1px solid var(--border-color-panel-divider);justify-content:flex-start;margin-left:4px;padding:0}.footprint-attribute-wrapper>.tabs-header .tabs-wrap{background-color:#f0f0f0;height:100%!important;margin-left:0!important;width:100%!important}.footprint-attribute-wrapper>.tabs-header .tabs-wrap .tabs li{border-left:1px solid var(--border-color-panel-divider);border-right:0;line-height:20px;margin-left:0!important;min-height:72px;text-align:center;width:23px;-webkit-writing-mode:vertical-lr;writing-mode:vertical-lr}.footprint-attribute-wrapper>.tabs-header .tabs-wrap .tabs li:last-child{border-bottom:1px solid var(--border-color-panel-divider)}.footprint-attribute-wrapper>.tabs-header .tabs-wrap .tabs li:first-child{border-top:1px solid #d1d1d1;margin-top:4px}.footprint-attribute-wrapper>.tabs-header .tabs-wrap .tabs li.tabs-selected{line-height:21px;margin-right:-1px!important;width:24px!important}.footprint-attribute-wrapper>.tabs-header .tabs-wrap .tabs li a{padding:0 1px 0 0}.footprint-attribute-wrapper>.tabs-header .tabs-scroller-left,.footprint-attribute-wrapper>.tabs-header .tabs-scroller-right{display:none!important}.footprint-attribute-wrapper>.tabs-panels{border:0!important}.pcb2d-attribute-tabs-containter *{-moz-box-sizing:border-box;box-sizing:border-box}.pcb2d-attribute-tabs-containter{height:100%!important}.pcb2d-attribute-tabs-containter>div>.tabs-container{height:100%!important;width:100%!important}.pcb2d-attribute-tabs-containter .tabs-header{background:#fff;border:0!important;height:30px}.pcb2d-attribute-tabs-containter .tabs-header,.pcb2d-attribute-tabs-containter .tabs-header .tabs-wrap,.pcb2d-attribute-tabs-containter .tabs-header .tabs-wrap .tabs{width:100%!important}.pcb2d-attribute-tabs-containter .tabs-header .tabs-wrap{margin-top:3px}.pcb2d-attribute-tabs-containter ul{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.pcb2d-attribute-tabs-containter ul li{text-align:center;width:-webkit-calc(100% - 20px)!important;width:-moz-calc(100% - 20px)!important;width:calc(100% - 20px)!important}.pcb2d-attribute-tabs-containter ul li.tabs-selected{border-bottom:0;margin-top:1px}.pcb2d-attribute-tabs-containter .tabs-panels,.pcb2d-attribute-tabs-containter .tabs-panels .panel,.pcb2d-attribute-tabs-containter .tabs-panels .panel-body{height:100%!important;width:100%!important}.pcb2d-attribute-tabs-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%!important;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;flex-direction:row-reverse}.pcb2d-attribute-tabs-wrapper>.tabs-header{border:0!important;width:28px!important;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;background-color:#f0f0f0;flex:0 0 28px;height:100%!important}.pcb2d-attribute-tabs-wrapper>.tabs-header .tabs{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%!important;width:24px!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;border-bottom:0;border-left:1px solid var(--border-color-panel-divider);justify-content:flex-start;padding:0}.pcb2d-attribute-tabs-wrapper>.tabs-header .tabs-wrap .tabs li{border-left:0;line-height:20px;margin-left:0!important;min-height:72px;padding:0;text-align:center;-webkit-writing-mode:vertical-lr;writing-mode:vertical-lr}.pcb2d-attribute-tabs-wrapper>.tabs-header .tabs-wrap .tabs li:last-child{border-bottom:1px solid var(--border-color-panel-divider)}.pcb2d-attribute-tabs-wrapper>.tabs-header .tabs-wrap .tabs li:first-child{border-top:1px solid #d1d1d1;margin-top:4px}.pcb2d-attribute-tabs-wrapper>.tabs-header .tabs-wrap .tabs li.tabs-selected{line-height:21px;margin-left:-1px!important;width:24px!important}.pcb2d-attribute-tabs-wrapper>.tabs-header .tabs-wrap .tabs li a{padding:0 1px 0 0}.pcb2d-attribute-tabs-wrapper>.tabs-header .tabs-scroller-left,.pcb2d-attribute-tabs-wrapper>.tabs-header .tabs-scroller-right{display:none!important}.pcb2d-attribute-tabs-wrapper>.tabs-panels{border:0!important}#f3DLayerOuterContainer{height:100%;overflow-y:auto}.pcb3d-attribute-tabs-containter *{-moz-box-sizing:border-box;box-sizing:border-box}.pcb3d-attribute-tabs-containter{height:100%!important}.pcb3d-attribute-tabs-containter>div>.tabs-container{height:100%!important;width:100%!important}.pcb3d-attribute-tabs-containter .tabs-header{background:#fff;border:0!important;height:30px}.pcb3d-attribute-tabs-containter .tabs-header,.pcb3d-attribute-tabs-containter .tabs-header .tabs-wrap{width:100%!important}.pcb3d-attribute-tabs-containter .tabs-header .tabs-wrap{height:100%!important;margin:0!important}.pcb3d-attribute-tabs-containter ul{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.pcb3d-attribute-tabs-containter ul li{min-height:72px;padding:0;text-align:center;width:100%!important}.pcb3d-attribute-tabs-containter .tabs-panels,.pcb3d-attribute-tabs-containter .tabs-panels .panel,.pcb3d-attribute-tabs-containter .tabs-panels .panel-body{height:100%!important;width:100%!important}.pcb3d-attribute-tabs-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%!important;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;flex-direction:row-reverse}.pcb3d-attribute-tabs-wrapper>.tabs-header{border:0!important;width:28px!important;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;background-color:#f0f0f0;flex:0 0 28px;height:100%!important}.pcb3d-attribute-tabs-wrapper>.tabs-header .tabs{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%!important;width:24px!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;border-bottom:0;border-left:1px solid var(--border-color-panel-divider);justify-content:flex-start;padding:0}.pcb3d-attribute-tabs-wrapper>.tabs-header .tabs-wrap .tabs li{border-left:0;line-height:20px;margin-left:0!important;text-align:center;-webkit-writing-mode:vertical-lr;writing-mode:vertical-lr}.pcb3d-attribute-tabs-wrapper>.tabs-header .tabs-wrap .tabs li:last-child{border-bottom:1px solid var(--border-color-panel-divider)}.pcb3d-attribute-tabs-wrapper>.tabs-header .tabs-wrap .tabs li:first-child{border-top:1px solid #d1d1d1;margin-top:4px}.pcb3d-attribute-tabs-wrapper>.tabs-header .tabs-wrap .tabs li.tabs-selected{line-height:21px;margin-left:-1px!important;width:24px!important}.pcb3d-attribute-tabs-wrapper>.tabs-header .tabs-wrap .tabs li a{padding:0 1px 0 0}.pcb3d-attribute-tabs-wrapper>.tabs-header .tabs-scroller-left,.pcb3d-attribute-tabs-wrapper>.tabs-header .tabs-scroller-right{display:none!important}.pcb3d-attribute-tabs-wrapper>.tabs-panels{border:0!important}#f3DAttributeOuterContainer .attrHeader{background:#eee;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;font-size:14px;font-weight:400;height:30px;line-height:14px;margin-bottom:8px;overflow:hidden;padding:8px 8px 8px 16px;position:relative;text-overflow:ellipsis;white-space:nowrap;width:100%}#f3DAttributeOuterContainer .group-slider:before{transform:rotate(-45deg);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);width:0}#f3DAttributeOuterContainer .group-slider-collapsed:before,#f3DAttributeOuterContainer .group-slider:before{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #ccc;content:"";display:inline-block;left:3px;position:absolute;top:12px;vertical-align:middle}#f3DAttributeOuterContainer .group-slider-collapsed:before{margin-top:-3px;transform:rotate(-90deg);-webkit-transform:rotate(-90deg);-o-transform:rotate(-90deg);-moz-transform:rotate(-90deg)}#f3DAttributeOuterContainer #thicknessTable{width:100%}.filter-panel hr{background-color:var(--common-border-color);border:none;height:1px}.filter-panel .cursor-pointer{cursor:pointer}.filter-panel input[type=checkbox].hideInput+:before{opacity:0}.filter-panel .element-main-content{position:relative;width:100%}.filter-panel .element-main-content input.pick-all-els{left:34px;z-index:-1}.filter-panel .element-main-content .item-container{position:relative}.filter-panel .element-main-content .item-container input{z-index:-1}.filter-panel .element-main-content .flex-nowrap{-moz-box-sizing:border-box;box-sizing:border-box;margin:3px 0;padding:4px 10px}.filter-panel .group-slider{background-color:#eee;height:20px;line-height:20px;padding:6px 10px 0 16px}.filter-panel .group-slider:before{transform:rotate(-45deg);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);width:0}.filter-panel .group-slider-collapsed:before,.filter-panel .group-slider:before{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #ccc;content:"";display:inline-block;left:3px;position:absolute;top:12px;vertical-align:middle}.filter-panel .group-slider-collapsed:before{margin-top:-3px;transform:rotate(-90deg);-webkit-transform:rotate(-90deg);-o-transform:rotate(-90deg);-moz-transform:rotate(-90deg)}.filter-panel .filter-primitive-visible{background:transparent;background-image:');W.push("url(");W.push(JSON.stringify(s3()));W.push(")");W.push(";background-position:50%;background-repeat:no-repeat;background-size:100% 100%;cursor:pointer;pointer-events:auto;position:relative}.filter-panel .filter-primitive-hidden{background:transparent;background-image:");W.push("url(");W.push(JSON.stringify(eXt()));W.push(")");W.push(";background-position:50%;background-repeat:no-repeat;background-size:100% 100%;cursor:pointer;opacity:1;opacity:.25;pointer-events:auto;position:relative}#panel-layer-main-3d .layer-pattern-background{background-position:50%;background-size:100% 100%;height:20px;width:38px}#panel-layer-main-3d .layer-pattern-background.opacity-layer{background-image:");W.push("url(");W.push(JSON.stringify(cmt()));W.push(")");W.push("}#panel-layer-main-3d .layer-pattern-background.board-layer{background-image:");W.push("url(");W.push(JSON.stringify(dmt()));W.push(")");W.push("}#panel-layer-main-3d .layer-pattern-background.boardhole-layer{background-image:");W.push("url(");W.push(JSON.stringify(umt()));W.push(")");W.push("}#panel-layer-main-3d .layer-pattern-background.gluehole-layer{background-image:");W.push("url(");W.push(JSON.stringify(pmt()));W.push(")");W.push("}#panel-layer-main-3d [data-controlitem=toggle-name]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;text-indent:1em}#panel-layer-main-3d [data-controlitem=toggle-locked]{width:32px}#panel-layer-main-3d .current-toggle-btn{cursor:pointer;height:100%;width:24px}#panel-layer-main-3d .layer-panel-row-editing .current-toggle-btn{background-image:");W.push("url(");W.push(JSON.stringify(A3e()));W.push(")");W.push(";background-position:50%;background-repeat:no-repeat}.teardrop-circular-padvia-icon{background-image:");W.push("url(");W.push(JSON.stringify(tXt()));W.push(")");W.push("}.teardrop-circular-padvia-arc-icon,.teardrop-circular-padvia-icon{background-position:0 0;background-size:100% 100%;height:86px;width:176px}.teardrop-circular-padvia-arc-icon{background-image:");W.push("url(");W.push(JSON.stringify(iXt()));W.push(")");W.push(";-webkit-filter:var(--icon-color-pcb);filter:var(--icon-color-pcb)}.teardrop-not-circular-padvia-icon{background-image:");W.push("url(");W.push(JSON.stringify(oXt()));W.push(")");W.push(";background-position:0 0;background-size:100% 100%;height:86px;width:176px}.teardrop-not-circular-padvia-arc-icon{background-image:");W.push("url(");W.push(JSON.stringify(rXt()));W.push(")");W.push(";-webkit-filter:var(--icon-color-pcb);filter:var(--icon-color-pcb)}.teardrop-not-circular-padvia-arc-icon,.teardrop-routing-line-icon{background-position:0 0;background-size:100% 100%;height:86px;width:176px}.teardrop-routing-line-icon{background-image:");W.push("url(");W.push(JSON.stringify(nXt()));W.push(")");W.push("}.teardrop-routing-arc-icon{background-image:");W.push("url(");W.push(JSON.stringify(aXt()));W.push(")");W.push(";-webkit-filter:var(--icon-color-pcb);filter:var(--icon-color-pcb)}.teardrop-routing-arc-icon,.teardrop-t_connection-line-icon{background-position:0 0;background-size:100% 100%;height:86px;width:176px}.teardrop-t_connection-line-icon{background-image:");W.push("url(");W.push(JSON.stringify(sXt()));W.push(")");W.push("}.teardrop-t_connection-arc-icon{background-image:");W.push("url(");W.push(JSON.stringify(lXt()));W.push(")");W.push(";background-position:0 0;background-size:100% 100%;-webkit-filter:var(--icon-color-pcb);filter:var(--icon-color-pcb);height:86px;width:176px}.snap-box{padding:0 25px}.snap-box>*{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;line-height:24px;margin:0 0 16px;text-align:left}.snap-box .snap-header h3{width:100px}.snap-box .snap-content{-webkit-flex-wrap:wrap;flex-wrap:wrap}.snap-box .snap-content>*{height:24px;width:210px}.snap-box .snap-cfg label{margin-right:8px}.snap-box .snap-cfg input{margin-top:-3px;width:75px}.d3-op-ulists{background-color:#fff;border:1px solid var(--border-color-panel-divider);height:-webkit-max-content;height:-moz-max-content;height:max-content;padding:0 2px 0 0;position:absolute;right:5px;top:5px;z-index:999}.d3-op-ulists .d3-op-item{border-left:0;-moz-box-sizing:border-box;box-sizing:border-box;float:left;list-style:none;overflow:hidden;text-align:center}.d3-op-ulists .d3-op-item div{background-color:#fff;cursor:pointer;height:18px;line-height:26px;width:18px}.bigger-icon-size .d3-op-item div{height:28px;width:28px}.d3-op-ulists .d3-op-item .d3-op-hover:hover{background-color:#efefef}.d3-op-ulists .d3-op-item .d3-op-preview-top{background-image:");W.push("url(");W.push(JSON.stringify(w3e()));W.push(")");W.push("}.d3-op-ulists .d3-op-item .d3-op-preview-bottom,.d3-op-ulists .d3-op-item .d3-op-preview-top{background-position:0 0;background-position:50%;background-repeat:no-repeat;background-size:16px 16px}.d3-op-ulists .d3-op-item .d3-op-preview-bottom{background-image:");W.push("url(");W.push(JSON.stringify(C3e()));W.push(")");W.push("}.d3-op-ulists .d3-op-item .d3-op-preview-right{background-image:");W.push("url(");W.push(JSON.stringify(x3e()));W.push(")");W.push("}.d3-op-ulists .d3-op-item .d3-op-preview-left,.d3-op-ulists .d3-op-item .d3-op-preview-right{background-position:0 0;background-position:50%;background-repeat:no-repeat;background-size:16px 16px}.d3-op-ulists .d3-op-item .d3-op-preview-left{background-image:");W.push("url(");W.push(JSON.stringify(T3e()));W.push(")");W.push("}.d3-op-ulists .d3-op-item .d3-op-preview-front{background-image:");W.push("url(");W.push(JSON.stringify(S3e()));W.push(")");W.push("}.d3-op-ulists .d3-op-item .d3-op-preview-back,.d3-op-ulists .d3-op-item .d3-op-preview-front{background-position:0 0;background-position:50%;background-repeat:no-repeat;background-size:16px 16px}.d3-op-ulists .d3-op-item .d3-op-preview-back{background-image:");W.push("url(");W.push(JSON.stringify(M3e()));W.push(")");W.push("}.d3-op-ulists .d3-op-item .d3-op-preview-refresh{background-image:");W.push("url(");W.push(JSON.stringify(FR()));W.push(")");W.push("}.d3-op-ulists .d3-op-item .d3-op-preview-adaptall,.d3-op-ulists .d3-op-item .d3-op-preview-refresh{background-position:0 0;background-position:50%;background-repeat:no-repeat;background-size:16px 16px}.d3-op-ulists .d3-op-item .d3-op-preview-adaptall{background-image:");W.push("url(");W.push(JSON.stringify(Xce()));W.push(")");W.push("}.d3-op-ulists .d3-op-item .d3-op-spline{background-color:#dcdcdc;margin:0 3px;width:1px}.d3-op-resize{left:5px;position:absolute;top:5px}.d3-op-resize div{cursor:pointer;height:18px;text-align:center;width:18px}.bigger-icon-size div{height:28px;width:28px}.d3-op-resize-normal{background-image:");W.push("url(");W.push(JSON.stringify(qQ()));W.push(")");W.push("}.d3-op-resize-full,.d3-op-resize-normal{background-position:0 0;background-size:100% 100%}.d3-op-resize-full{background-image:");W.push("url(");W.push(JSON.stringify(XQ()));W.push(")");W.push("}.d3-op-tips{background-color:hsla(0,0%,100%,.75);color:#666;display:none;font-size:12px;left:50px;line-height:16px;padding:5px;position:absolute;top:5px;width:65%}.ftp-op-resize{background-color:hsla(0,0%,50%,.75);left:5px;padding:3px;position:absolute;top:32px}.ftp-op-resize div{cursor:pointer;height:25px;text-align:center;width:25px}.ftp-op-resize-normal{background-image:");W.push("url(");W.push(JSON.stringify(qQ()));W.push(")");W.push("}.ftp-op-resize-full,.ftp-op-resize-normal{background-position:0 0;background-size:100% 100%}.ftp-op-resize-full{background-image:");W.push("url(");W.push(JSON.stringify(XQ()));W.push(")");W.push("}.ftp-op-edit{background-color:hsla(0,0%,50%,.75);left:40px;padding:3px;position:absolute;top:32px}.ftp-op-edit div{cursor:pointer;height:25px;text-align:center;width:25px}.ftp-op-edit-normal{background-image:");W.push("url(");W.push(JSON.stringify(JQ()));W.push(")");W.push(";background-position:50%;background-size:100% 100%}.sys-commsize-fixed-cell{background-image:");W.push("url(");W.push(JSON.stringify(cXt()));W.push(")");W.push("!important;background-position:0 0!important;background-repeat:no-repeat!important}.circle-refresh-btn{cursor:pointer;display:block;height:12px!important;margin:5px 8px 0 5px;width:12px!important}.circle-refresh-btn-loading{-webkit-animation:elementRotate 1s linear 0s infinite alternate;-moz-animation:elementRotate 1s linear 0s infinite alternate;animation:elementRotate 1s linear 0s infinite alternate;cursor:default;pointer-events:none}.input-wrapper-line{height:24px;overflow-x:hidden;overflow-y:hidden}.der-netnet-row{width:100%}.der-netnet-row:hover{background-color:#f9f9f9}.der-netnet-row-active{background-color:#efefef!important}.der-netnet-row-highlight,.der-netnet-row-highlight select{color:red}.der-net-row,.der-netclass-row{cursor:pointer;margin-bottom:3px;min-height:30px;width:100%}.net-rule-table section:hover{background-color:var(--bg-color-hover-design-rules)}.der-nets-row-active{background-color:var(--bg-color-selected-design-rules)!important}.icon-eda-add-circle{background-image:");W.push("url(");W.push(JSON.stringify(mmt()));W.push(")");W.push(";background-position:0 0;background-size:100% 100%}.arr-icon{background:");W.push("url(");W.push(JSON.stringify(I2()));W.push(")");W.push(" no-repeat 50%;background-size:12px 12px;-webkit-filter:var(--icon-color-input);filter:var(--icon-color-input);height:20px;width:16px}#panelFabricationFileDlg,#panelPreview,#panelProductionOrderDlg{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}#panelFabricationFileDlg .panel,#panelPreview .panel,#panelProductionOrderDlg .panel{width:100%!important;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}#panelFabricationFileDlg .panel .dialog-content,#panelPreview .panel .dialog-content,#panelProductionOrderDlg .panel .dialog-content{height:100%!important;overflow:hidden;width:100%!important}#panelFabricationFileDlg .preview-content .switch-bar a:last-child,#panelPreview .preview-content .switch-bar a:last-child,#panelProductionOrderDlg .preview-content .switch-bar a:last-child{border-right:initial!important}#panelFabricationFileDlg .switch-bar,#panelPreview .switch-bar,#panelProductionOrderDlg .switch-bar{margin-bottom:8px}#panelFabricationFileDlg .switch-bar a:last-child,#panelPreview .switch-bar a:last-child,#panelProductionOrderDlg .switch-bar a:last-child{border-right:1px solid #d9d9d9!important}#panelFabricationFileDlg .panel-tips,#panelPreview .panel-tips,#panelProductionOrderDlg .panel-tips{margin-bottom:16px}#panelFabricationFileDlg .preview-content,#panelPreview .preview-content,#panelProductionOrderDlg .preview-content{border:1px solid var(--common-border-color-1);height:-webkit-calc(100% - 34px);height:-moz-calc(100% - 34px);height:calc(100% - 34px);padding:16px}#panelFabricationFileDlg .preview-content .preview-content-flex,#panelPreview .preview-content .preview-content-flex,#panelProductionOrderDlg .preview-content .preview-content-flex{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-calc(100% - 32px);height:-moz-calc(100% - 32px);height:calc(100% - 32px)}#panelFabricationFileDlg .preview-content .preview-box,#panelPreview .preview-content .preview-box,#panelProductionOrderDlg .preview-content .preview-box{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;flex:1;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;background-image:");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhEAAQAIAAAP///9/f3yH5BAAHAP8ALAAAAAAQABAAAAIfjG+gq4jM3IFLJgpswNly/XkcBpIiVaInlLJr9FZWAQA7"');W.push(")");W.push(";height:100%;justify-content:center;overflow:hidden;position:relative}#panelFabricationFileDlg .preview-content .preview-box svg,#panelPreview .preview-content .preview-box svg,#panelProductionOrderDlg .preview-content .preview-box svg{position:absolute}#panelFabricationFileDlg .preview-content .preview-box svg #cover *,#panelPreview .preview-content .preview-box svg #cover *,#panelProductionOrderDlg .preview-content .preview-box svg #cover *{fill:#fff}#panelFabricationFileDlg .preview-content .preview-box svg #print,#panelPreview .preview-content .preview-box svg #print,#panelProductionOrderDlg .preview-content .preview-box svg #print{opacity:.5}#panelFabricationFileDlg .preview-content .preview-operate,#panelPreview .preview-content .preview-operate,#panelProductionOrderDlg .preview-content .preview-operate{display:inline;display:initial;margin-right:8px;min-width:90px}#panelFabricationFileDlg .preview-content .preview-operate a,#panelPreview .preview-content .preview-operate a,#panelProductionOrderDlg .preview-content .preview-operate a{background:var(--common-bg-color);border:initial;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;text-align:left;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:var(--common-font-color)}#panelFabricationFileDlg .preview-content .preview-operate a:first-child,#panelPreview .preview-content .preview-operate a:first-child,#panelProductionOrderDlg .preview-content .preview-operate a:first-child{border-bottom:1px solid var(--common-border-color-1)}#panelFabricationFileDlg .preview-content .preview-operate a span,#panelPreview .preview-content .preview-operate a span,#panelProductionOrderDlg .preview-content .preview-operate a span{background-image:");W.push("url(");W.push(JSON.stringify(Jx()));W.push(")");W.push(";background-repeat:no-repeat;background-size:16px 16px;display:inline-block;height:16px;margin-right:8px;opacity:.25;width:16px}#panelFabricationFileDlg .preview-content .preview-operate a.selected span,#panelPreview .preview-content .preview-operate a.selected span,#panelProductionOrderDlg .preview-content .preview-operate a.selected span{background-image:");W.push("url(");W.push(JSON.stringify(s3()));W.push(")");W.push(';background-repeat:no-repeat;background-size:16px 16px;opacity:1}#panelFabricationFileDlg .icon-eda-loading,#panelPreview .icon-eda-loading,#panelProductionOrderDlg .icon-eda-loading{display:none;height:30px;left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:30px}#panelFabricationFileDlg .loading .icon-eda-loading,#panelPreview .loading .icon-eda-loading,#panelProductionOrderDlg .loading .icon-eda-loading{display:block}#panelFabricationFileDlg .loading .preview-box,#panelPreview .loading .preview-box,#panelProductionOrderDlg .loading .preview-box{background:none}#panelFabricationFileDlg .form,#panelPreview .form,#panelProductionOrderDlg .form{margin-bottom:8px;width:74%}#panelFabricationFileDlg .form .form-label,#panelPreview .form .form-label,#panelProductionOrderDlg .form .form-label{margin-left:8px;margin-right:0;text-align:left}#panelFabricationFileDlg .form .form-item,#panelPreview .form .form-item,#panelProductionOrderDlg .form .form-item{padding-top:0}#panelFabricationFileDlg .form .form-box,#panelPreview .form .form-box,#panelProductionOrderDlg .form .form-box{border-radius:2px 0 0 2px}#panelFabricationFileDlg .form span,#panelPreview .form span,#panelProductionOrderDlg .form span{border:1px solid var(--common-border-color-1);border-left:initial;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;height:22px;line-height:22px;padding:0 4px}#panelPreview .preview-content .preview-content-flex{height:100%}#colorpanel span.btn span{position:relative;top:-2px}#colorpanel #CT{border:1px solid #000;width:253px}.pcb3dview-iframe{height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:1}.pcb3dview-container{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100vh;width:315px;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;flex-direction:row-reverse;opacity:0;position:absolute;right:0;top:0;-webkit-transform:translate3d(315px,0,10px);-moz-transform:translate3d(315px,0,10px);transform:translate3d(315px,0,10px);z-index:99}.pcb3dview-container-show{opacity:1;-webkit-transform:translateZ(10px);-moz-transform:translateZ(10px);transform:translateZ(10px)}.style-transition{-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.pcb3dview-rightpanel-container{background-color:#fff;width:100%}.pcb3dview-rightpanel-container .layout-toggler{left:-5px;z-index:999}.pcb3d-attribute-containter .comm-tab-container{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;flex-direction:row-reverse}.pcb3d-attribute-containter .comm-tab-container .comm-tab-header{width:28px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;background-color:var(--bg-color-panel-tab);border-left:1px solid var(--border-color-panel-divider);flex-direction:column}.pcb3d-attribute-containter .comm-tab-container .comm-tab-header .comm-tab-header-item{border-left:0;line-height:28px;min-height:72px;text-align:center;width:24px;-webkit-writing-mode:vertical-lr;writing-mode:vertical-lr}.pcb3d-attribute-containter .comm-tab-container .comm-tab-header .comm-tab-header-item:first-child{border-right:1px solid var(--border-color-panel-divider)!important;border-top:1px solid var(--border-color-panel-divider)!important;margin-top:3px}.pcb3d-attribute-containter .comm-tab-container .comm-tab-header .comm-tab-header-item:last-child{border-bottom:1px solid var(--border-color-panel-divider)!important}.pcb3d-attribute-containter .comm-tab-container .comm-tab-header .comm-tab-header-item-active{border-top:0;margin-left:-1px;width:25px}.pcb3d-attribute-containter .comm-tab-container .comm-tab-content{width:100%}.pcb3d-attribute-containter .comm-tab-container .comm-tab-content .comm-tab-content-item{padding-left:0!important;padding-right:0!important}@-webkit-keyframes elementRotate{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@-moz-keyframes elementRotate{0%{-moz-transform:rotate(0deg);transform:rotate(0deg)}to{-moz-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes elementRotate{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);-moz-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes switchChecked{0%{background-color:#ccc;width:50%}to{background-color:#1890ff;width:100%}}@-moz-keyframes switchChecked{0%{background-color:#ccc;width:50%}to{background-color:#1890ff;width:100%}}@keyframes switchChecked{0%{background-color:#ccc;width:50%}to{background-color:#1890ff;width:100%}}table.common-table-wrpper{background-color:var(--bg-color-table-header);border:1px dashed var(--border-color-table-header);border-collapse:collapse;font-size:12px;table-layout:fixed;text-align:left}table.common-table-wrpper thead{background-color:var(--common-bg-color)}table.common-table-wrpper thead th{border:1px solid var(--border-color-table-body);padding:3px 6px;word-break:break-all;word-wrap:break-word;background-color:var(--bg-color-table-header);overflow:hidden;text-overflow:ellipsis;white-space:normal}table.common-table-wrpper tbody{width:100%}table.common-table-wrpper tbody tr{background-color:var(--bg-color-table-row);border-collapse:collapse;line-height:20px}table.common-table-wrpper tbody tr td{border:1px solid var(--border-color-table-body);padding:3px 6px;word-break:break-all;word-wrap:break-word;overflow:hidden;text-overflow:ellipsis;white-space:normal}table.common-table-wrpper tbody tr td input{border:0}table.common-table-wrpper tbody tr:hover{background-color:var(--bg-color-hover-tr)}table.common-table-wrpper tbody tr.active-row{background-color:var(--common-selected-bg-color)!important}table.common-table-wrpper tbody tr.table-tr-cursor-pointer{cursor:pointer}table.common-table-wrpper tbody tr.table-tr-selected{background-color:var(--bg-color-selected-tr)}table.common-table-wrpper tfoot tr td{border:1px solid var(--border-color-table-body);padding:3px 6px;word-break:break-all;word-wrap:break-word;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:normal}.comm-btn{background-color:#fff;background-image:none;border:1px solid #efefef;border-radius:2px;color:#666;cursor:pointer;display:inline-block;font-size:12px;font-weight:400;line-height:1;margin-bottom:0;padding:8px 18px;text-align:center;text-decoration:none;touch-action:manipulation;-webkit-touch-action:manipulation;-moz-touch-action:manipulation;user-select:none;-moz-user-select:none;-webkit-user-select:none;white-space:nowrap;z-index:1}.comm-btn,.comm-btn>span{vertical-align:middle}.commn-btn-forbidden{background-color:#c4c4c5!important;border-color:#c4c4c5!important;color:#fff!important;cursor:default!important;pointer-events:none!important}.commn-btn-hide{display:none}.comm-btn-default{background-color:#fff;border:1px solid #999;color:#444}.comm-btn-border{border-color:#40a9ff!important}.comm-btn-default:hover{background-color:#efefef;border-color:#bababa;color:#111}.comm-btn-default-disabled{background-color:#d4d3d3!important;border:1px solid #adadad!important;color:#444!important;cursor:default!important}.comm-btn-primary{background-color:#1890ff;border:1px solid #1890ff;color:#fff}.comm-btn-primary:hover{background-color:#3b71f1;border-color:#3b71f1;color:#fff}.comm-btn-primary-disabled{background-color:#8caefd!important;border:1px solid #7a9df1!important;color:#fff!important;cursor:default!important}.comm-btn-warning{background-color:#f0ad4e;border:1px solid #eea236;color:#fff}.comm-btn-warning:hover{background-color:#f3ab46;border-color:#f1a02f;color:#fff}.comm-btn-warning-disabled{background-color:#f7ba65!important;border:1px solid #f5ac47!important;color:#fff!important;cursor:default!important}.comm-btn-danger{background-color:#d9534f;border:1px solid #d43f3a;color:#fff}.comm-btn-danger:hover{background-color:#d6403b;border-color:#bd3530;color:#fff}.comm-btn-danger-disabled{background-color:#eb6e6a!important;border:1px solid #e6544f!important;color:#fff!important;cursor:default!important}.comm-btn-text{background-image:none;border:0;color:#52ace5;cursor:pointer;font-size:14px;font-weight:400;line-height:1;margin-bottom:0;padding:8.5px 12px;text-align:center;touch-action:manipulation;-webkit-touch-action:manipulation;-moz-touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap;z-index:1}.comm-btn-text:hover{color:#4db7ad}.comm-btn-text-disabled{color:#444!important;cursor:default!important}.commTabHeaderItem{background-color:var(--bg-color-panel-tab);border:1px solid var(--border-color-panel-tab);border-right:0;bottom:-1px;color:var(--font-color-panel-tab);max-width:135px;padding:4px 0;position:relative;text-align:center;width:100%}.commTabHeaderItemLastItem{border-right:1px solid var(--border-color-panel-divider)}.commTabHeaderItemActive{background-color:var(--bg-color-selected-panel-tab);border-bottom:0;color:var(--font-color-selected-panel-tab);font-weight:bolder;z-index:1001}.comm-tab-container{height:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.comm-tab-container,.comm-tab-container .comm-tab-header{display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;width:100%}.comm-tab-container .comm-tab-header{-webkit-box-pack:start;-moz-box-pack:start;border-bottom:1px solid var(--border-color-panel-divider);justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.comm-tab-container .comm-tab-header .comm-tab-header-item{background-color:var(--bg-color-panel-tab);border:1px solid var(--border-color-panel-tab);border-right:0;bottom:-1px;color:var(--font-color-panel-tab);cursor:pointer;max-width:135px;padding:4px 0;position:relative;text-align:center;width:100%}.comm-tab-container .comm-tab-header .comm-tab-header-item:last-child{border-right:1px solid var(--border-color-panel-divider)}.comm-tab-container .comm-tab-header .comm-tab-header-item-active{background-color:var(--bg-color-selected-panel-tab);border-bottom:0;color:var(--font-color-selected-panel-tab);font-weight:bolder;z-index:1001}.comm-tab-container .comm-tab-header.border-col{border-color:#e9e9e9}.comm-tab-container .comm-tab-header.border-col .comm-tab-header-item{border-color:#e9e9e9;padding:3px 0}.comm-tab-container .comm-tab-content{background-color:var(--common-bg-color);height:100%;overflow:hidden;position:relative;z-index:1000}.comm-tab-container .comm-tab-content .comm-tab-content-item{display:none;height:100%}.comm-tab-container .comm-tab-content .comm-tab-content-item-active{display:block}.comm-ulist{border:0;margin:0;outline:0;padding:0}.comm-ulist .comm-list-item{display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;margin:0;position:relative;width:inherit;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center;color:#666;cursor:pointer;font-size:12px;padding:4px 10px;user-select:none;-webkit-user-select:none;-moz-user-select:none}.comm-ulist .comm-list-item:hover{background-color:#ebf4f9;color:#444}.comm-ulist .comm-list-item-active{background-color:#e6f7ff;color:#1890ff}.comm-ulist .comm-list-item-disabled{background-color:#afafaf!important;color:#666!important}.comm-ulist .comm-dark-list-item{display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;margin:0;position:relative;width:inherit;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center;color:#fff;cursor:pointer;font-size:12px;padding:4px 10px;user-select:none;-webkit-user-select:none;-moz-user-select:none}.comm-ulist .comm-dark-list-item-active,.comm-ulist .comm-dark-list-item:hover{background-color:#212020;color:#fff}.comm-ulist .comm-dark-list-item-disabled{background-color:#212020!important;color:#999!important}.tree-menu-wrapper{width:auto}.tree-menu-wrapper *{-moz-box-sizing:border-box;box-sizing:border-box;position:relative}.tree-menu-wrapper * li,.tree-menu-wrapper * ul{border:0;list-style:none;outline:0;padding:0}.tree-menu-wrapper * .tr-menu-ulist{overflow:hidden}.tree-menu-wrapper * .tr-menu-ulist .tr-menu-item{font-size:12px;margin:0;min-width:135px;position:relative}.tree-menu-wrapper * .tr-menu-ulist .tr-menu-item-paving{float:left;max-width:150px;min-width:100px;width:-webkit-min-content;width:-moz-min-content;width:min-content}.tr-menu-item-folder{display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center;padding:0;user-select:none;-webkit-user-select:none;-moz-user-select:none}.tr-menu-item-folder-selected,.tr-menu-item-folder:hover{background-color:#e6f7ff}.tr-menu-item-folder-border{border-bottom:1px solid var(--border-color-panel-divider)}.tr-menu-item-folder .tr-menu-item-folder-text{cursor:pointer;padding:4px 0;width:100%}.tr-menu-item-extend{margin-top:2px;width:auto}.tr-menu-item-leaf{display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;width:100%;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center;cursor:pointer;padding:4px 0 4px 16px;user-select:none;-webkit-user-select:none;-moz-user-select:none}.tr-menu-item-leaf-hover,.tr-menu-item-leaf:hover{background-color:#e6f7ff;color:#444}.tr-menu-item-leaf-selected,.tr-menu-item-leaf-selected:hover{background-color:#e6f7ff!important;color:#1890ff!important}.tr-menu-item-leaf-disabled,.tr-menu-item-leaf-disabled:hover{color:#999!important;cursor:default!important}.tr-menu-item-leaf .tr-menu-item-text{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;line-height:16px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%}.tr-menu-item-leaf>.tr-menu-item-text-tag{color:red;display:none;font-size:14px;font-weight:bolder;left:2px;position:absolute;top:6px}.tr-menu-folder-exticon-wrapper{display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:15px;width:15px;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none}.tr-menu-folder-exticon{border:5px dashed transparent;border-left:5px solid #666;height:0;overflow:hidden;transform:rotate(90deg) translate3d(2px,1px,0);-moz-transform:rotate(90deg) translate3d(2px,1px,0);-webkit-transform:rotate(90deg) translate3d(2px,1px,0);width:0}.tr-menu-folder-exticon-close{transform:rotate(0deg) translate3d(2px,1px,0);-moz-transform:rotate(0deg) translate3d(2px,1px,0);-webkit-transform:rotate(0deg) translate3d(2px,1px,0)}.tr-menu-item-add-icon{border-radius:50%;cursor:pointer;display:none;font-style:normal;height:16px;position:absolute;right:0;text-align:center;top:7px;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:16px}.tr-menu-item-add-icon-show{display:inline-block}.tr-menu-item-display-input,.tr-menu-item-display-input:active,.tr-menu-item-display-input:focus{background-color:transparent!important;border:0;cursor:pointer;outline:0}.system-setting-menu{padding:2px 4px}.system-setting-menu .tr-menu-item-folder-border{border-bottom:0!important}.comm-fittinginput-container{height:100%;width:100%}.comm-fittinginput-container .comm-fittinginput-wrapper{border:1px solid var(--common-border-color);border-radius:2px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;box-align:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;box-pack:justify;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;background-color:var(--bg-color-input);-webkit-flex-wrap:nowrap!important;flex-wrap:nowrap!important;height:24px;justify-content:space-between;overflow:hidden}.comm-fittinginput-container .comm-fittinginput-wrapper:focus-within{background-color:var(--bg-color-focus-input)!important;border-color:var(--border-color-focus-input)}.comm-fittinginput-container .comm-fittinginput-wrapper .comm-fittinginput-input{border:0;line-height:24px;margin:0;min-width:50px;outline:0;padding:0 5px 0 10px;width:100%}.comm-fittinginput-container .comm-fittinginput-wrapper .comm-fittinginput-clear{cursor:pointer;padding:1px 5px 0 0}.comm-fittinginput-container .comm-fittinginput-wrapper .comm-fittinginput-clear-hidden{display:none}.comm-fittinginput-container .comm-fittinginput-wrapper .comm-fittinginput-clear:hover{color:#1890ff}.comm-fittinginput-container .comm-fittinginput-wrapper .comm-fittinginput-search{cursor:pointer;padding:4px 5px 0 0}.comm-fittinginput-container .comm-fittinginput-wrapper .comm-fittinginput-search-hidden{display:none}.comm-fittinginput-container .comm-fittinginput-wrapper .comm-fittinginput-search:hover{color:#1890ff}.comm-fittinginput-container .comm-fittinginput-wrapper .comm-fittinginput-last{height:22px}.comm-fittinginput-container .comm-fittinginput-wrapper .comm-fittinginput-last .last{background-position:50%;cursor:pointer;display:inline-block;height:22px;width:22px}.comm-fittinginput-container .comm-fittinginput-wrapper .disable{-webkit-filter:invert(55%) sepia(0) saturate(7448%) hue-rotate(101deg) brightness(138%) contrast(99%);filter:invert(55%) sepia(0) saturate(7448%) hue-rotate(101deg) brightness(138%) contrast(99%)}.comm-fittinginput-container .comm-fittinginput-wrapper .disable i{cursor:not-allowed!important}.comm-fittinginput-container .comm-fittinginput-wrapper .comm-fittinginput-next{height:22px}.comm-fittinginput-container .comm-fittinginput-wrapper .comm-fittinginput-next .next{background-position:50%;cursor:pointer;display:inline-block;height:22px;width:22px}.comm-fittinginput-container .filter-search{width:-webkit-calc(100% - 52px);width:-moz-calc(100% - 52px);width:calc(100% - 52px)}.comm-fittinginput-container .active{background-color:#e6f7ff}.comm-fittinginput-container .icon{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;border:1px solid var(--border-color-panel-divider);border-right:none;cursor:pointer;display:inline-block;-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);height:24px;width:24px}.comm-fittinginput-container .icon-eda-filter{border-radius:0 2px 2px 0;border-right:1px solid var(--border-color-panel-divider)}.comm-fittinginput-container .icon-eda-zoom{border-radius:2px 0 0 2px}.comm-fittinginput-container .comm-fittinginput-wrapper-active{border:1px solid #1890ff}.comm-fittinginput-container-panel{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.searchable-select-hide{display:none}.searchable-select{color:#555;display:inline-block;font-size:14px;line-height:1.42857143;margin:3.5px 0;outline:none;position:relative;vertical-align:middle;width:85%}.searchable-select-caret{border:5px solid transparent;border-top-color:#000;bottom:0;-moz-box-sizing:border-box;box-sizing:border-box;height:0;margin:auto;position:absolute;right:10px;top:3px;width:0}.searchable-select-dropdown{background-color:#fff;border:1px solid #ccc;border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-top:none;left:0;padding:4px;position:absolute;right:0;top:25px;z-index:9}.searchable-select-input{border:1px solid #ccc;-moz-box-sizing:border-box;box-sizing:border-box;margin:0!important;margin-top:5px;outline:none;padding:4px;width:100%!important;width:100%}.searchable-select-holder{border:1px solid #d9d9d9;height:25px;line-height:22px;text-align:left;white-space:nowrap;word-break:break-all}.searchable-scroll{margin-top:4px;position:relative}.searchable-scroll.has-privious{padding-top:16px}.searchable-scroll.has-next{padding-bottom:16px}.searchable-has-privious{top:0}.searchable-has-next{bottom:0}.searchable-has-next,.searchable-has-privious{background-color:#fff;cursor:pointer;height:16px;left:0;line-height:8px;position:absolute;right:0;text-align:center;z-index:10}.searchable-select-items{max-height:150px;overflow-y:scroll;position:relative}.searchable-select-items::-webkit-scrollbar{display:none}.searchable-select-item{cursor:pointer;font-size:12px;padding:2px 5px;text-align:left;word-break:break-all;word-wrap:none;-moz-box-sizing:border-box;box-sizing:border-box}.searchable-select-item.hover{background:#dcdcdc;color:#333}.searchable-select-item.selected{background:#28a4c9;color:#fff}.pop-content-container:not(.oneLineOneInputDlg){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container:not(.oneLineOneInputDlg) .pop-content-wrapper{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container:not(.oneLineOneInputDlg) .pop-content-wrapper>div{overflow:auto;width:100%}.pop-content-container:not(.oneLineOneInputDlg) .pop-content-wrapper .comm-btn-operate-link{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container:not(.oneLineOneInputDlg) .pop-content-wrapper .comm-btn-height{height:22px}.pop-content-container:not(.oneLineOneInputDlg) .pop-content-wrapper .comm-btn-text{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container:not(.oneLineOneInputDlg) .pop-content-wrapper .margin-btn{margin-bottom:16px}.pop-content-container:not(.oneLineOneInputDlg) .pop-content-wrapper .margin-top{margin-top:16px}.pop-content-container:not(.oneLineOneInputDlg) .pop-content-wrapper input.dialog-input{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container:not(.oneLineOneInputDlg) .pop-content-wrapper input.dialog-input:not([disabled]){color:var(--font-color-input)}.pop-content-container:not(.oneLineOneInputDlg) .pop-content-wrapper select.dialog-input{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container:not(.oneLineOneInputDlg) .pop-content-wrapper select.dialog-input:not([disabled]){color:var(--font-color-input)}.pop-content-container:not(.oneLineOneInputDlg) .pop-content-wrapper textarea.dialog-input{height:64px;padding:4px;resize:none;width:100%}.pop-content-container:not(.oneLineOneInputDlg) .pop-content-wrapper .device-property-key{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container:not(.oneLineOneInputDlg) .pop-content-wrapper .attrs-select-wrap{padding-left:8px}.pop-content-container:not(.oneLineOneInputDlg) .pop-footer-wrapper{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container:not(.oneLineOneInputDlg) .pop-footer-wrapper .comm-btn{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container:not(.oneLineOneInputDlg) .pop-footer-wrapper .comm-btn:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container:not(.oneLineOneInputDlg) .pop-footer-wrapper .comm-btn.comm-btn-default{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container:not(.oneLineOneInputDlg) .pop-footer-wrapper .comm-btn.comm-btn-default:hover{border-color:#1890ff}.pop-content-container:not(.oneLineOneInputDlg) .pop-footer-wrapper .comm-btn .l-btn-left{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container:not(.oneLineOneInputDlg) .pop-footer-wrapper .comm-btn-left{left:28px;position:absolute}.pop-content-container:not(.oneLineOneInputDlg) .pop-footer-wrapper .grid-export .comm-btn:last-child{margin-left:8px}.pop-content-container *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container label{position:relative}.pop-content-wrapper a.route-link,.pop-content-wrapper a.route-link:active,.pop-content-wrapper a.route-link:visited{color:#00e}div[user-resizable] .window-body>.panel,div[user-resizable] .window-header{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body>.panel{height:100%!important}div[user-resizable] .window-body .dialog-content{height:100%!important;width:100%!important}.contextmenu-wrapper{background-color:#fff;border:1px solid #d9d9d9;box-shadow:2px 2px 5px hsla(0,0%,50%,.35)}.contextmenu-wrapper *{-moz-box-sizing:border-box;box-sizing:border-box;position:relative}.contextmenu-wrapper * li,.contextmenu-wrapper * ul{border:0;list-style:none;outline:0}.ctxmenu-ulist{margin:0;padding:4px 0}.ctxmenu-ulist>.ctxmenu-item{background-color:#fff;font-size:12px;height:31px;margin:0;padding:0 2px;position:relative}.ctxmenu-ulist>.ctxmenu-item:last-child{margin-bottom:0}.ctxmenu-ulist>.ctxmenu-item-separate{margin-bottom:1px}.ctxmenu-ulist>.ctxmenu-item-separate:after{background-color:#d9d9d9;content:" ";display:block;height:1px;width:100%}.ctxmenu-ulist>.ctxmenu-item-separate:last-child:after{display:none}.ctxmenu-item-extend{position:fixed;z-index:999999}.ctxmenu-item-extend-icon{border:5px dashed transparent;border-left:5px solid #666;height:0;overflow:hidden;position:absolute;right:6px;top:10px;width:0}.ctxmenu-item-content{display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;width:100%;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center;cursor:pointer;height:31px;padding:2.5px 8px;user-select:none;-webkit-user-select:none;-moz-user-select:none}.ctxmenu-item-content .ctxmenu-item-tag{width:24px;-webkit-box-flex:0;-webkit-flex:0 0 24px;-moz-box-flex:0;flex:0 0 24px;text-align:left}.ctxmenu-item-content .ctxmenu-item-tips-extend{text-align:right;-webkit-box-flex:0;-webkit-flex:0 0 30px;-moz-box-flex:0;flex:0 0 30px;padding-right:13px;position:relative;top:1px}.ctxmenu-item-content .ctxmenu-item-tips{-webkit-box-flex:0;-webkit-flex:0 0 30px;-moz-box-flex:0;flex:0 0 30px;-webkit-flex-basis:content;flex-basis:content;text-align:right}.ctxmenu-item-content .ctxmenu-item-text{overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%}.ctxmenu-item-content .ctxmenu-item-text[data-subhotkey]:after{content:attr(data-subhotkey);display:inline}.ctxmenu-item-content .ctxmenu-item-icon-tag{display:inline-block;transform:scale(.7);-webkit-transform:scale(.7);-moz-transform:scale(.7)}.ctxmenu-item-content .ctxmenu-item-tips,.ctxmenu-item-content [ctxmenu-item-tips]{padding-right:13px;top:1px}.ctxmenu-item-content-hover{background-color:#e6f7ff!important;color:#1890ff!important}.ctxmenu-item-content-disabled{background-color:#fff;color:#999!important;cursor:default!important}.ctxmenu-item-tag-selected{border-color:#093;border-style:solid;border-width:0 2px 2px 0;height:12px;-webkit-transform:rotate(45deg) translate3d(4px,-4px,0);-moz-transform:rotate(45deg) translate3d(4px,-4px,0);transform:rotate(45deg) translate3d(4px,-4px,0);width:6px}.ctxmenu-item-tag-viewshow{background-image:');W.push("url(");W.push(JSON.stringify(s3()));W.push(")");W.push(';background-position:50%;background-repeat:no-repeat;height:10px;width:100%}.numberInput-container{display:inline-block;position:relative;width:-webkit-max-content;width:-moz-max-content;width:max-content}.numberInput-container .numberInput-valueAdded{top:5px}.numberInput-container .numberInput-valueAdded,.numberInput-container .numberInput-valueRm{cursor:pointer;display:inline-block;height:16px;margin-top:-4px;padding:2px;position:absolute;right:0;text-align:center;vertical-align:middle;width:16px}.numberInput-container .numberInput-valueRm{top:14px}.numberInput-container input{border:1px solid #d9d9d9;border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:#333;font-family:Microsoft Yahei;font-size:12px;height:22px;padding:0 8px}.switch-bar{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;height:24px;line-height:24px}.switch-bar a{border:1px solid #d9d9d9;border-right:1px solid transparent!important;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;height:100%;min-width:72px;padding:0 8px;text-align:center;white-space:nowrap}.switch-bar a:first-child{border-radius:2px 0 0 2px;border-right:initial}.switch-bar a:last-child{margin-right:-1px}.switch-bar a.selected{background:#e6f7ff;color:#1890ff}.switch-bar a.disabled{background:#d9d9d9;border-color:#d9d9d9;color:#fff;cursor:pointer}#project-attribute{background:#fff;height:100%;width:100%}#project-attribute input{text-overflow:ellipsis}#project-attribute .project-attribute-manager{height:100%}#project-attribute .attribute-tabs-containter{height:100%!important}#global-products{border-bottom:1px solid var(--common-border-color);overflow:hidden;padding-bottom:0}#global-products .span-flex{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;height:100%;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:#999;font-size:16px;min-height:138px}#global-products .select-resize{background:0 0;border:0;color:inherit;float:left;font-size:100%;height:18px;letter-spacing:normal;margin-top:80px;min-width:0;min-width:auto;outline:0;padding:0;text-indent:0;text-shadow:none;text-transform:none;vertical-align:baseline;width:18px;word-spacing:normal}#global-products .select-resize span{border:1px solid var(--common-border-color);display:block;font-size:14px;height:100%;margin-left:5px;width:100%}#global-products .select-wrap{margin-left:25px;min-height:138px;overflow-x:auto;overflow-y:hidden;position:relative;white-space:nowrap}#global-products .select-wrap .select{color:#666;display:inline-block;margin-left:3px;margin-right:3px;min-width:23%}#global-products .select-wrap .select h2{color:#444;font-size:12px;margin:0;overflow-x:hidden;padding:8px 0;text-overflow:clip;white-space:nowrap}#global-products .select-wrap .select .sea-wrap{position:relative}#global-products .select-wrap .select .sea-wrap input{background-color:#fff;border:1px solid #e6e6e6;border-radius:0;-moz-box-sizing:border-box;box-sizing:border-box;color:#57657a;height:20px;outline:0;padding:5px 22px 5px 5px;width:100%}#global-products .select-wrap .select .sea-wrap span.sea-icon{height:18px;position:absolute;right:4px;top:4px;width:18px}#global-products .select-wrap .select div.name-scroll{border:1px solid #e7e7e7;border-top:0;height:100px;overflow-x:hidden;overflow-y:auto}#global-products .select-wrap .select div.name-scroll,#global-products .select-wrap .select div.name-scroll.longer{-webkit-transition-delay:0s;-moz-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:height;-moz-transition-property:height;transition-property:height;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}#global-products .select-wrap .select div.name-scroll.longer{height:200px}#global-products .select-wrap .select ul.name{background:#fcfcfc;min-height:100%;padding:0}#global-products .select-wrap .select ul li{-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:block;height:20px;padding:2px 20px 2px 4px;white-space:nowrap}#global-products .select-wrap .select ul li.disabled{background:#fff;color:#b1b1b1!important}#global-products .select-wrap .select ul li:hover{color:#0093e6}#global-products .select-wrap .select ul li.active{background:#0093e6;color:#fff}#global-products .key-word{margin:0 0 10px;overflow:hidden;padding-left:28px;position:relative}#global-products .key-word .key-word-wp{display:block;font-size:12px;margin-bottom:5px;margin-right:100px;padding:5px 5px 5px 0;white-space:normal;zoom:normal}#global-products .key-word .key-word-wp>span{background-color:#fff;border:1px solid #e3e3e3;cursor:default;display:inline-block;height:24px;line-height:24px;margin-bottom:3px;margin-right:3px;padding:0 16px 0 10px;position:relative}#global-products .key-word .key-word-wp>span:hover{border:1px solid #0093e6}#global-products .key-word .key-word-wp>span .clear-one{background:#ddd;color:#fff;cursor:pointer;display:block;height:12px;position:absolute;right:0;top:0;width:11px}#global-products .key-word .clear-btn,#global-products .key-word .make-sure-btn{border:0;-moz-box-sizing:border-box;box-sizing:border-box;font-size:12px;height:25px;line-height:25px;-webkit-transition:all .3s;-moz-transition:all .3s;transition:all .3s}#global-products .key-word .clear-btn{background:#e1f6fe;border:1px solid #0093e6;color:#1890ff;margin-right:10px}#global-products .key-word .make-sure-btn{background:#ff7800;border:1px solid #ff7800;color:#fff}#global-products .key-word .results{left:20px;position:relative;top:0}#global-products .key-word .results .num{color:#ff7800;font-size:16px}.item-pattern .span-flex{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;height:100%;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:#999;font-size:16px}#shop_list{height:100%}#shop_list.active .inside{box-shadow:0 0 1px 2px var(--common-border-color);z-index:1}#shop_list .eda-product .three_nr .ccd{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}#shop_list .inside{background:var(--common-bg-color);border-bottom:1px solid #e9e9e9;padding:10px 0;position:relative}#shop_list .inside:hover{box-shadow:0 0 1px 2px var(--common-border-color);z-index:1}#shop_list .inside td{-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:top}#shop_list .one{padding-left:15px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}#shop_list .one img{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;float:left;height:130px;overflow:hidden;width:130px}#shop_list .two{min-width:378px;padding-left:18px}#shop_list .two-tit{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-size:14px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:#0093e6}#shop_list .two-tit .product-name-link{display:block;float:left;width:180px}#shop_list .two-tit .catalog{background:#f9f9f9;color:#979797;display:inline-block;font-size:12px;height:19px;margin-left:4px;max-width:100px;padding:2px 10px}#shop_list .two-tit .smt-flag{background:#fff5eb;color:#ff7800;display:inline-block;font-size:12px;height:22px;line-height:22px;margin-left:6px;padding:0 8px;text-align:center;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}#shop_list .ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}#shop_list .multi-ellipsis{display:-webkit-box;height:36px;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;position:relative}#shop_list .c9a9a9a{color:#9a9a9a}#shop_list .two_01{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-top:10px;overflow:hidden;width:100%}#shop_list .two_01 ul li{-moz-box-sizing:border-box;box-sizing:border-box;height:26px;max-width:205px;overflow:hidden;padding-right:8px;text-overflow:ellipsis;white-space:nowrap;width:100%}#shop_list .two_01 ul li.description-wrap{height:36px;line-height:19px;max-width:none;overflow:visible;overflow:initial;white-space:normal;width:152%}#shop_list .l02_zb{width:54%}#shop_list .l02_yb{margin-left:-12px;width:40%}#shop_list .data-sheet-btn a{display:block;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;position:relative;top:-7px}#shop_list .data-sheet-btn span{background-position:50%;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;height:20px;margin-right:4px;position:relative;top:4px;width:20px}#shop_list .data-sheet-btn span:last-child{top:7px}#shop_list ul{padding:0}#shop_list .blue{color:#0093e6}#shop_list .lower{width:100%}#shop_list .lower .tag-wrapper{margin-top:14px}#shop_list .lower .tag-wrapper>span{border:1px solid;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;padding:2px 10px}#shop_list .three{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-right:30px;min-width:120px}#shop_list .three_nr{float:left;width:100%}#shop_list .three_nr li{height:26px;list-style:none}#shop_list .three_nr li p{float:left;margin:0;text-align:right;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}#shop_list .three_nr .ccd{color:#ff7900;float:left;width:40%}#shop_list .three_nr .price-warp{line-height:26px;text-align:center;width:auto}#shop_list .three_nr .price-warp .ppbbz-p{margin-right:4px;width:50px}#shop_list .three_nr .price-warp .ccd-ppbbz{float:right}#shop_list .ffour{padding-right:10px}#shop_list .product-btn{text-align:center;vertical-align:middle!important;width:18%}#shop_list .pan{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:135px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}#shop_list .pan .pan_list{display:block;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;float:right;height:26px;line-height:26px;min-width:125px;position:relative;width:auto}#shop_list .goldenrod{color:#ff7800;max-width:100px;overflow:hidden;text-overflow:ellipsis}#shop_list .text-flex-shrink{-webkit-flex-shrink:0;flex-shrink:0}#fan-out-netlabel-dlg .fanout-netlabel-content{border:1px solid var(--common-border-color-1);max-width:100%;overflow:auto;padding:16px;position:relative}#fan-out-netlabel-dlg .fanout-netlabel-content em{font-style:normal}#fan-out-netlabel-dlg .fanout-netlabel-content ul{list-style-type:none}#fan-out-netlabel-dlg .fanout-netlabel-content ul,#fan-out-netlabel-dlg .fanout-netlabel-content ul li{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}#fan-out-netlabel-dlg .fanout-netlabel-content ul li{padding-right:16px}#fan-out-netlabel-dlg .fanout-netlabel-content .item-layer{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;padding-bottom:20px}#fan-out-netlabel-dlg .fanout-netlabel-content .item-layer em{min-width:120px}#fan-out-netlabel-dlg .fanout-netlabel-content button.add-pinname-to-netname{line-height:1.4;padding:0 8px}#fan-out-netlabel-dlg .fanout-netlabel-content .main-table{margin-top:20px;max-height:375px;min-height:100px}#fan-out-netlabel-dlg .fanout-netlbael-footer{display:flow-root;width:100%}#fan-out-netlabel-dlg .fanout-netlbael-footer .export-btn,#fan-out-netlabel-dlg .fanout-netlbael-footer .import-btn{float:left}#fan-out-netlabel-dlg .fanout-netlbael-footer .cancel-btn,#fan-out-netlabel-dlg .fanout-netlbael-footer .confirm-btn{float:right}#fan-out-netlabel-dlg .fanout-netlbael-footer .confirm-btn,#fan-out-netlabel-dlg .fanout-netlbael-footer .import-btn{margin-right:8px}#netlabel-tab-dlg .more-setting{color:#1890ff;cursor:pointer;display:block;font-size:12px;line-height:1;text-decoration:underline}#netlabel-tab-dlg .more-setting i,#netlabel-tab-dlg .more-setting span{vertical-align:middle}#netlabel-tab-dlg .more-setting i{border-color:currentcolor currentcolor transparent transparent;border-style:solid;border-width:1.5px;display:inline-block;height:.5em;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg);width:.5em}#netlabel-tab-dlg .more-setting.advanced i{margin-left:.5em;margin-top:.3em;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}#table-property-dlg em{font-style:normal}#table-property-dlg .border{border:1px solid var(--common-border-color)}#table-property-dlg .div-layer{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding:16px 16px 0;width:100%}#table-property-dlg .list-layer{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:12px}#table-property-dlg .list-layer:last-of-type{margin-bottom:16px}#table-property-dlg .list-layer .list-title{font-size:13px;width:82px}#table-property-dlg .list-layer .list-title:not(.list-title-null):after{content:":"}#table-property-dlg .list-layer .list-content{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}#table-property-dlg .more-setting{color:#1890ff;cursor:pointer;display:block;font-size:13px;line-height:2.6}#table-property-dlg .more-setting i,#table-property-dlg .more-setting span{vertical-align:middle}#table-property-dlg .more-setting i{border-color:currentcolor currentcolor transparent transparent;border-style:solid;border-width:1.5px;display:inline-block;height:.5em;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg);width:.5em}#table-property-dlg .more-setting.advanced i{margin-left:.5em;margin-top:.3em;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}#table-property-dlg .fidldset-item{position:relative}#table-property-dlg .fidldset-item:not(:last-of-type){margin-bottom:20px;margin-top:10px}#table-property-dlg .fidldset-item .fidldset-legend{background-color:var(--bg-color-pop-up-content);left:1em;padding:0 1em;position:absolute;top:0;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);transform:translateY(-50%)}#table-property-dlg .fidldset-item .layer-main{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;width:100%}#table-property-dlg .fidldset-item .layer-main>div{-moz-box-sizing:border-box;box-sizing:border-box;width:50%}#table-property-dlg .fidldset-item .layer-main>div:nth-of-type(2n -1){padding-right:14px}#table-property-dlg .reset-btn{float:left}#device-standardization{height:100%}#device-standardization .device-standardization-container{color:var(--common-font-color);font-size:12px;min-height:100%;min-width:100%}#device-standardization .device-standardization-container .device-standardization-header{color:var(--common-font-color);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:4px}#device-standardization .device-standardization-container .device-standardization-header .tab-content{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-flex-wrap:wrap;flex-wrap:wrap;list-style:none;margin:0;min-height:24px;min-width:225px}#device-standardization .device-standardization-container .device-standardization-header .tab-content li{border-right:1px solid var(--common-border-color);cursor:pointer;height:16px;padding:0 8px;white-space:nowrap}#device-standardization .device-standardization-container .device-standardization-header .tab-content li:last-child{border-right:none}#device-standardization .device-standardization-container .device-standardization-header .device-standardization-header_right{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-top:4px}#device-standardization .device-standardization-container .device-standardization-header .device-standardization-header_right .search{position:relative;width:120px}#device-standardization .device-standardization-container .device-standardization-header .device-standardization-header_right .search .search-input{width:100%}#device-standardization .device-standardization-container .device-standardization-header .device-standardization-header_right .search .search-clear,#device-standardization .device-standardization-container .device-standardization-header .device-standardization-header_right .search .search-icon{position:absolute;right:4px;top:4px}#device-standardization .device-standardization-container .device-standardization-header .device-standardization-header_right .search .search-clear-hidden{display:none}#device-standardization .device-standardization-container .device-standardization-header .device-standardization-header_right .designator-aggregation,#device-standardization .device-standardization-container .device-standardization-header .device-standardization-header_right .show-recommendations{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-left:8px;white-space:nowrap}#device-standardization .device-standardization-container .btn-list{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-left:4px;margin-top:4px;white-space:nowrap}#device-standardization .device-standardization-container .btn-list .btn-list-item-icon{background-position-y:1px;display:inline-block;height:12px;margin-right:4px;width:12px}#device-standardization .device-standardization-container .designator-col{color:#1890ff;padding:1px}#device-standardization .device-standardization-container .designator-col:hover{cursor:pointer}#device-standardization .device-standardization-container .stock-patch-col,#device-standardization .device-standardization-container .stock-patch-col .stock-patch-col-icon{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}#device-standardization .device-standardization-container .stock-patch-col .stock-patch-col-icon{height:18px;width:27px}#device-standardization .device-standardization-container .stock-patch-col .stock-patch-col-icon-item{height:100%;margin:0 2px;width:100%}#new3DModelDlg .dialog-button .l-btn{min-width:96px}#dlgFind #condition{overflow:hidden;padding-top:8px}#dlgFind #condition .input{float:left;max-height:200px;overflow:auto}#dlgFind #search-range{background:#fff;border:1px solid #ccc;margin-top:16px;padding:0 16px}#dlgFind #search-range .line{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}#dlgFind #search-range .line .input{float:left}#dlgFind #search-range .line select[name=find-range]{float:left;width:160px}#dlgFind #search-range .line .objs{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}#dlgFind #search-range .line .objs label.obj-items{width:88px}#dlgFind #switch-search-content .tab{border:1px solid #ccc;cursor:pointer;left:-1px;overflow:hidden;padding:5px 0;position:absolute;text-align:center;top:-28px;width:80px}#dlgFind #switch-search-content .tab.active{background:#fff;border-bottom:none;color:#1890ff;padding-bottom:6px}#dlgFind #switch-search-content .search-content{background:#fff;border:1px solid #ccc;margin-top:24px;padding:0 16px 10px;position:relative}#dlgFind #switch-search-content .search-content span.tab:not(.active){background:#f1f1f1}#dlgFind #switch-search-content .replace-as{float:right;padding-right:8px}#dlgFind #switch-search-content .replace-as span:first-child{margin-right:4px}#dlgFind #switch-search-content .input-type input,#dlgFind #switch-search-content .input-type select,#dlgFind #switch-search-content .replace-input input,#dlgFind #switch-search-content .replace-input select{width:240px!important}#dlgFind #switch-search-content .input-type input,#dlgFind #switch-search-content .input-type select{float:left}#dlgFind .line{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin:16px 0}#dlgFind .line .title{float:left;margin:0 8px 0 0;width:60px}#dlgFind .group{margin-bottom:5px}#dlgFind .group select{float:left;width:100px}#dlgFind .input-type input[type=text]{float:left}#dlgFind input[type=checkbox],#dlgFind input[type=radio]{float:left;margin:0 3px 0 0}#dlgFind .input,#dlgFind label{display:inline-block}#dlgFind .icon-eda-minus,#dlgFind .icon-eda-plus{cursor:pointer;float:right;font-size:20px;margin-top:3px;vertical-align:sub}#findDialogContainer .dialog-button .find-all{border:initial}#findDialogContainer .border{border:1px solid var(--common-border-color);padding:10px 20px}#findDialogContainer .ranges{margin-bottom:20px}#findDialogContainer .conditions{max-height:400px;overflow:auto}#findDialogContainer .conditions>.title{bottom:480px}#findDialogContainer .conditions,#findDialogContainer .group-attr,#findDialogContainer .para-attr,#findDialogContainer .reuse-block-attr{padding:8px 20px}#findDialogContainer .conditions>.title,#findDialogContainer .group-attr>.title,#findDialogContainer .para-attr>.title,#findDialogContainer .reuse-block-attr>.title{background:var(--common-bg-color);padding:3px 6px;position:absolute;z-index:2}#findDialogContainer .group-attr,#findDialogContainer .para-attr,#findDialogContainer .reuse-block-attr{border-top:1px solid var(--common-border-color);margin-top:15px;padding:15px 0 8px;position:relative}#findDialogContainer .group-attr>.title,#findDialogContainer .para-attr>.title,#findDialogContainer .reuse-block-attr>.title{left:30px;top:-8px}#findDialogContainer .row{display:grid;margin:5px 0}#findDialogContainer .row>div{-webkit-box-pack:start;-webkit-justify-content:start;-moz-box-pack:start;border-radius:0;color:var(--common-font-color);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-size:1em;justify-content:start;padding:5px 10px;position:relative;word-break:break-all}#findDialogContainer .row>div:first-child{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}#findDialogContainer .row>div.title span{-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;line-height:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#findDialogContainer .row>div .ellipsis-help{top:7px}#findDialogContainer .row>div input,#findDialogContainer .row>div select{width:100%}#findDialogContainer .column2{grid-template-columns:20% auto}#findDialogContainer .column4{grid-template-columns:20% 20% 40% 20%}#findDialogContainer .column3{grid-template-columns:20% 20% 40% auto}.dlgModifyHotkey{width:100%}.dlgModifyHotkey .name{max-width:120px;min-width:88px;overflow:hidden;padding-right:16px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.dlgModifyHotkey .line{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:8px 0;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;position:relative}.dlgModifyHotkey .line,.dlgModifyHotkey .value{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.dlgModifyHotkey .usedHotkey{cursor:pointer}.dlgModifyHotkey .label{display:inline-block;height:24px;position:relative;width:-webkit-calc(100% - 40px);width:-moz-calc(100% - 40px);width:calc(100% - 40px)}.dlgModifyHotkey .filetype{-moz-box-sizing:border-box;box-sizing:border-box;height:24px;overflow:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:100%}.dlgModifyHotkey .width{width:-webkit-calc(100% - 64px);width:-moz-calc(100% - 64px);width:calc(100% - 64px)}.dlgModifyHotkey .borderOut{padding:16px}.dlgModifyHotkey .border,.dlgModifyHotkey .borderOut{border:1px solid var(--common-border-color)}.dlgModifyHotkey .text{display:inline-block;height:24px;line-height:24px;padding:0 8px}.dlgModifyHotkey .clearIcon{right:5px;top:6px}.dlgModifyHotkey .icon-eda-refresh-1-small{background-repeat:no-repeat;background-size:18px 18px;content:"";cursor:pointer;display:inline-block;-webkit-filter:invert(.4);filter:invert(.4);height:18px;margin:0 0 3px 5px;vertical-align:bottom;width:18px}.dlgModifyHotkey .tips{color:#39f;padding:0 0 8px}.dlgModifyHotkey .error{color:red}.dlgModifyHotkey .editDisable{background-color:#ddd!important}#drawing-attr-Text-new{-moz-box-sizing:border-box;box-sizing:border-box;padding:16px}#drawing-attr-Text-new .cell{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-bottom:12px}#drawing-attr-Text-new .cell .left{-webkit-flex:0 0 16%;flex:0 0 16%;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;padding-right:16px}#drawing-attr-Text-new .cell .left,#drawing-attr-Text-new .cell .right{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:0;-moz-box-flex:0}#drawing-attr-Text-new .cell .right{-webkit-flex:0 0 75%;flex:0 0 75%}#drawing-attr-Text-new .cell .right .list .item{margin-right:0}#drawing-attr-Text-new .cell .right .item{height:24px;margin-right:10px}#drawing-attr-Text-new .cell .right .item.style-icon{background:#fff;border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;height:24px;width:24px}#drawing-attr-Text-new .cell .right .item.style-icon .icon{background-color:transparent;background-color:initial;border:none;display:inline-block;-webkit-filter:invert(0) sepia(0) saturate(6391%) hue-rotate(145deg) brightness(110%) contrast(60%);filter:invert(0) sepia(0) saturate(6391%) hue-rotate(145deg) brightness(110%) contrast(60%);height:22px;width:22px}#drawing-attr-Text-new .cell .right .item.style-icon.default.active{background:#e6f7ff;border:1px solid #1890ff}#drawing-attr-Text-new .cell .right .item.style-icon.default.active .icon{-webkit-filter:invert(0) sepia(0) saturate(6391%) hue-rotate(145deg) brightness(110%) contrast(60%);filter:invert(0) sepia(0) saturate(6391%) hue-rotate(145deg) brightness(110%) contrast(60%)}#drawing-attr-Text-new .cell .right .item.style-icon.active{background:#e6f7ff;border:1px solid #1890ff}#drawing-attr-Text-new .cell .right .item.style-icon.active .icon{-webkit-filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%);filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%)}#drawing-attr-Text-new .cell .right .item .attr-color-text{margin-left:6px;width:348px}#drawing-attr-Text-new .cell .right .item .font-family{height:24px;width:184px}#drawing-attr-Text-new .cell .right .item .font-size{height:24px;width:186px}#drawing-attr-Text-new .cell .right .item.active{background-color:#e6f7ff}#drawing-attr-Text-new .cell .right .tip{color:#978e8e;margin-left:1px}#drawing-attr-Text-new .cell .cloumn{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}#drawing-attr-Text-new .cell .cloumn .item:not(:last-child){margin-bottom:16px}#drawing-attr-Text-new .cell .origin-area{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:50px;width:50px;-webkit-box-flex:0;-webkit-flex:none;-moz-box-flex:0;flex:none}#drawing-attr-Text-new .cell .origin-area,#drawing-attr-Text-new .cell .origin-area .square-wrap{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}#drawing-attr-Text-new .cell .origin-area .square-wrap .square{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;height:15px!important;width:15px!important}#drawing-attr-Text-new .cell .origin-area .square-wrap .square.active{background-color:#1890ff;border:1px solid #1890ff}#drawing-attr-Text-new .cell .origin-area .square-wrap .square.active.default{background-color:#e6f7ff;border:1px solid #1890ff}#drawing-attr-Text-new .cell .origin-area .square-wrap .square.default{background-color:none}#drawing-attr-Text-new .btn-reset-default{background:none;color:#1890ff;float:left;margin:0}#drawing-attr-Text-new.isPanel .cell .right .item.style-icon{background:#fff;border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;height:24px;width:24px}#drawing-attr-Text-new.isPanel .cell .right .item.style-icon .icon{background-color:transparent;background-color:initial;border:none;display:inline-block;-webkit-filter:invert(0) sepia(0) saturate(6391%) hue-rotate(145deg) brightness(110%) contrast(60%);filter:invert(0) sepia(0) saturate(6391%) hue-rotate(145deg) brightness(110%) contrast(60%);height:22px;width:22px}#drawing-attr-Text-new.isPanel .cell .right .item.style-icon.active{background:#e6f7ff;border:1px solid #1890ff}#drawing-attr-Text-new.isPanel .cell .right .item.style-icon.active .icon{-webkit-filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%);filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%)}#drawing-attr-Text-new.isPanel .cell .origin-area .square.active.default{background-color:#1890ff;border:1px solid #1890ff}#prePassBomStandradCheck .dialog-button .maxWidthBtn{max-width:140px}#prePassBomStandradCheck .dialog-button .maxWidthBtn .l-btn-text{max-width:116px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#place-symbol-tab-dlg .l-btn[data-test=Place]{min-width:96px}[data-theme=light]{--common-icon-color:invert(17%) sepia(6%) saturate(13%) hue-rotate(5deg) brightness(93%) contrast(88%);--common-icon-color-1:invert(0.4);--common-icon-color-disabled:invert(73%) sepia(10%) saturate(4%) hue-rotate(353deg) brightness(92%) contrast(87%);--common-icon-color-disabled-1:invert(92%) sepia(0%) saturate(5%) hue-rotate(168deg) brightness(92%) contrast(83%);--common-font-color:#333;--common-hover-font-color:#1890ff;--common-hover-bg-color:#e6f7ff;--common-selected-bg-color:#e6f7ff;--common-selected-font-color:#1890ff;--common-bg-color:#fff;--common-bg-color-1:#f1f1f1;--common-bg-color-highLight-item:#ff0;--common-bg-color-panel-header:#efefef;--common-border-color:#e9e9e9;--common-border-color-1:#d9d9d9;--common-border-color-2:#d1d1d1;--common-box-shadow-color:#999;--bg-color-startPage:#fff;--bg-color-floatBar:#fff;--border-color-language:#fff;--ruler-bg-color:#fff;--ruler-string-color:hsla(0,0%,40%,.8);--bg-color-top-bar:#58f;--bg-color-hover-top-bar:#7aa2ff;--bg-color-selected-top-bar:#7aa2ff;--font-color-top-bar:#fff;--font-color-hover-top-bar:#fff;--font-color-selected-top-bar:#fff;--bg-color-top-bar-more:#b7c1d1;--border-color-top-bar-menu-more:#58f;--bg-color-top-search:#58f;--bg-color-toolbar:#fff;--bg-toolbar-icon-hover:#e6f7ff;--bg-toolbar-icon-selected:#e6f7ff;--bg-color-toolbar-divider:#cacaca;--has-bottom-border-toolbar:1;--border-bottom-color-toolbar:#d1d1d1;--icon-color-toolbar:invert(17%) sepia(6%) saturate(13%) hue-rotate(5deg) brightness(93%) contrast(88%);--icon-color-hover-toolbar:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-hover-toolbar1:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-selected-toolbar:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-selected-toolbar1:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-disabled-toolbar:invert(92%) sepia(0%) saturate(5%) hue-rotate(168deg) brightness(92%) contrast(83%);--font-color-toolbar:#222;--bg-color-tabs:#ddd;--border-bottom-color-tabs:#d1d1d1;--bg-color-tab:#eee;--bg-color-hover-tab:#e6f7ff;--border-color-tab:#d1d1d1;--icon-color-tab-symbol-footprint:invert(0%) sepia(87%) saturate(7475%) hue-rotate(126deg) brightness(103%) contrast(93%);--icon-color-tab-device:none;--font-color-tab:#333;--font-color-hover-tab:#1890ff;--font-color-selected-tab:#1890ff;--bg-color-drop-down-menu:#fff;--has-shadow-drop-down-menu:1;--border-color-drop-down-menu:#d9d9d9;--bg-color-drop-down-menuItem:#fff;--bg-color-hover-drop-down-menuItem:#e6f7ff;--bg-color-selected-drop-down-menuItem:#e6f7ff;--icon-color-drop-down-menuItem:invert(17%) sepia(6%) saturate(13%) hue-rotate(5deg) brightness(93%) contrast(88%);--icon-color-hover-drop-down-menuItem:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-selected-drop-down-menuItem:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-disabled-drop-down-menuItem:invert(56%) sepia(10%) saturate(18%) hue-rotate(330deg) brightness(92%) contrast(83%);--font-color-drop-down-menuItem:#333;--font-color-hover-drop-down-menuItem:#1890ff;--font-color-selected-down-menuItem:#1890ff;--font-color-disabled-drop-down-menuItem:#868686;--separator-color-drop-down-menu:#d9d9d9;--icon-color-refresh:invert(0.5);--shadow-color-right-menu:#999;--bg-color-table-header:#ebebeb;--border-color-table-header:#e1e1e1;--icon-color-table-header:#ccc;--icon-color-table-th-cell:invert(17%) sepia(6%) saturate(13%) hue-rotate(5deg) brightness(93%) contrast(88%);--font-color-table:#444;--bg-color-table-row:#fff;--bg-color-1-table-row:#f5f5f5;--border-color-table-body:#e3e3e3;--icon-color-table-body:invert(17%) sepia(6%) saturate(13%) hue-rotate(5deg) brightness(93%) contrast(88%);--bg-color-hover-tr:#e6f7ff;--bg-color-selected-tr:#e6f7ff;--border-color-hover-tr:initial;--border-color-selected-tr:initial;--font-color-hover-tr:#1890ff;--font-color-selected-tr:#1890ff;--icon-color-hover-tr:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-selected-tr:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--bg-color-hover-td:#e6f7ff;--bg-color-selected-td:#e6f7ff;--bg-color-disabled-td:#e9e9e9;--bg-color-disabled-hotkey-table-td:#ddd;--border-color-hover-td:#1890ff;--border-color-selected-td:#1890ff;--icon-color-hover-td:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-selected-td:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-disabled-td:invert(56%) sepia(10%) saturate(18%) hue-rotate(330deg) brightness(92%) contrast(83%);--font-color-disabled-td:#868686;--bg-color-panel-tabs:#f0f0f0;--bg-color-panel-tabs-bottom:#f0f0f0;--bg-color-panel-tab:#f0f0f0;--bg-color-hover-panel-tab:#fff;--bg-color-selected-panel-tab:#fff;--border-color-panel-tab:#d1d1d1;--border-color-hover-panel-tab:#1890ff;--border-color-selected-panel-tab:#1890ff;--font-color-panel-tab:#333;--font-color-hover-panel-tab:#1890ff;--font-color-selected-panel-tab:#1890ff;--bg-color-panel:#fff;--bg-color-selected-tab:#e6f7ff;--bg-color-hover-layer-panel-tab:#efefef;--bg-color-selected-layer-panel-tab:#faebd7;--icon-color-panel-content:initial;--font-color-panel-content:#555;--border-color-layout_toggler:#d1d1d1;--bg-color-input:#fff;--border-color-input:#d9d9d9;--icon-color-input:invert(17%) sepia(6%) saturate(13%) hue-rotate(5deg) brightness(93%) contrast(88%);--font-color-input:#333;--font-color-input-placeholder:#a9a9a9;--range-current-background:#1890ff;--range-background:#f1f1f1;--bg-color-hover-input:#fff;--border-color-hover-input:#1890ff;--font-color-hover-input:#333;--bg-color-focus-input:#fff;--border-color-focus-input:#1890ff;--font-color-focus-input:#333;--bg-color-disabled-input:#f1f1f1;--border-color-disabled-input:#d9d9d9;--font-color-disabled-input:#bfbfbf;--bg-color-pop-up-title:#f1f1f1;--bg-color-pop-up-content:#fff;--bg-color-pop-up-sep:#ddd;--font-color-pop-up:initial;--has-border-dialog:0;--bg-color-button:#fff;--border-color-button:#d9d9d9;--font-color-button:#1890ff;--bg-color-hover-button:#fff;--border-color-hover-button:#1890ff;--font-color-hover-button:#1890ff;--bg-color-active-button:#e6f7ff;--border-color-active-button:#1890ff;--font-color-active-button:#1890ff;--bg-color-disabled-button:#fff;--border-color-disabled-button:#d9d9d9;--font-color-disabled-button:#c0c4cc;--bg-color-disabled-primary-button:#d9d9d9;--font-color-disabled-primary-button:#fff;--font-color-disabled-link-button:#d9d9d9;--border-color-panel-divider:#d1d1d1;--bg-color-tree:#e6f7ff;--font-color-tree:#333;--icon-color-tree:invert(17%) sepia(6%) saturate(13%) hue-rotate(5deg) brightness(93%) contrast(88%);--bg-color-hover-tree:#e6f7ff;--icon-color-hover-tree:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--font-color-hover-tree:#1890ff;--bg-color-selected-tree:#e6f7ff;--icon-color-selected-tree:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--font-color-selected-tree:#1890ff;--icon-color-disabled-tree:invert(92%) sepia(0%) saturate(5%) hue-rotate(168deg) brightness(92%) contrast(83%);--bg-color-active-leftTreeSearch:#e6f7ff;--icon-color-active-leftTreeSearch:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);--font-color-hover-projectTree:#40a9ff;--bg-color-libary-hover:#f5f5f5;--bg-color-version-extension:#bcbcbc;--bg-scrollbar-thumb:#bfbfbf;--bg-scrollbar-track:#f1f1f1;--bg-scrollbar-thumb-hover:#8b8b8c;--bg-scrollbar-thumb-selected:#8b8b8c;--bg-color-canvas-info:#ddd;--border-color-canvas-info:#ddd;--font-color-float-bar-wxpublic:#666;--font-color-float-bar-wx:#858585;--font-color-float-bar-tel:#666;--bg-color-tooltip:#404040;--icon-color-pcb:initial;--bg-color-project-blank-page:#ccc;--bg-color-data-thumb:#e2e2e2;--bg-color-footprint-wizard:#ccc;--bg-color-hover-footprint-wizard:#f1f1ce;--bg-color-selected-footprint-wizard-reference:#aad8d3;--bg-color-hover-footprint-wizard-reference:#d0d0cc;--bg-color-selected-design-rules:#efefef;--bg-color-hover-design-rules:#f9f9f9;--border-color-color-button:#ccc;--icon-color--selected-text-style:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-Annotions:#000;--bg-color-version-node:#fff6e4;--font-color-version-node:#ffa23a;--border-color-version-node:#ffdbb0;--icon-color-sch-table:initial;--icon-color-sch-table-disabled:invert(0.85);--bg-color-reuseTab:#fff;--language-list-shadow:1px 1px 6px 0 rgba(38,44,50,.2);--bg-color-table-waitDetermined:#fffbe6;--bg-color-table-waitDistribution:#fff2f0;--bg-color-table-notCheck:#e6f7ff;--bg-color-table-perfetchMatch:#f6ffed;--border-color-assembly_black:#000;--bg-color-choose-device-dialog-hover:#e6f7ff}[data-theme=dark]{--common-icon-color:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--common-icon-color-1:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--common-icon-color-disabled:invert(59%) sepia(2%) saturate(91%) hue-rotate(2deg) brightness(95%) contrast(84%);--common-icon-color-disabled-1:invert(59%) sepia(0%) saturate(29%) hue-rotate(204deg) brightness(97%) contrast(100%);--common-font-color:#e5e5e5;--common-hover-font-color:#e5e5e5;--common-hover-bg-color:#6283a2;--common-selected-font-color:#e5e5e5;--common-selected-bg-color:#6283a2;--common-bg-color:#404040;--common-bg-color-1:#404040;--common-bg-color-highLight-item:#06c;--common-bg-color-panel-header:#404040;--common-border-color:#222;--common-border-color-1:#222;--common-border-color-2:#222;--common-box-shadow-color:#222;--bg-color-startPage:#353535;--bg-color-floatBar:#282828;--border-color-language:#ccc;--ruler-bg-color:#353535;--ruler-string-color:#e5e5e5;--bg-color-top-bar:#404040;--bg-color-hover-top-bar:#6283a2;--bg-color-selected-top-bar:#6283a2;--font-color-top-bar:#e5e5e5;--font-color-hover-top-bar:#e5e5e5;--font-color-selected-top-bar:#e5e5e5;--bg-color-top-bar-more:#2e2e2e;--border-color-top-bar-menu-more:#2e2e2e;--bg-color-top-search:#404040;--bg-color-toolbar:#404040;--bg-toolbar-icon-hover:#6283a2;--bg-toolbar-icon-selected:#6283a2;--bg-color-toolbar-divider:#222;--has-bottom-border-toolbar:1;--border-bottom-color-toolbar:#222;--icon-color-toolbar:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--icon-color-hover-toolbar:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--icon-color-hover-toolbar1:initial;--icon-color-selected-toolbar:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--icon-color-selected-toolbar1:initial;--icon-color-disabled-toolbar:invert(59%) sepia(0%) saturate(29%) hue-rotate(204deg) brightness(97%) contrast(100%);--font-color-toolbar:#e5e5e5;--bg-color-tabs:#353535;--border-bottom-color-tabs:#222;--bg-color-tab:#353535;--bg-color-hover-tab:#4e4e4e;--bg-color-selected-tab:#6283a2;--border-color-tab:#222;--icon-color-tab-symbol-footprint:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--icon-color-tab-device:invert(74%) sepia(41%) saturate(2851%) hue-rotate(333deg) brightness(100%) contrast(101%);--font-color-tab:#e5e5e5;--font-color-hover-tab:#e5e5e5;--font-color-selected-tab:#e5e5e5;--bg-color-drop-down-menu:#404040;--border-color-drop-down-menu:#222;--has-shadow-drop-down-menu:0;--bg-color-drop-down-menuItem:#404040;--bg-color-hover-drop-down-menuItem:#6283a2;--bg-color-selected-drop-down-menuItem:#6283a2;--icon-color-drop-down-menuItem:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--icon-color-hover-drop-down-menuItem:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--icon-color-selected-drop-down-menuItem:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--icon-color-disabled-drop-down-menuItem:invert(59%) sepia(2%) saturate(91%) hue-rotate(2deg) brightness(95%) contrast(84%);--font-color-drop-down-menuItem:#e5e5e5;--font-color-hover-drop-down-menuItem:#e5e5e5;--font-color-selected-down-menuItem:#e5e5e5;--font-color-disabled-drop-down-menuItem:#8d8d8d;--separator-color-drop-down-menu:#222;--icon-color-refresh:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--shadow-color-right-menu:#222;--bg-color-table-header:#5e5e5e;--border-color-table-header:#222;--icon-color-table-header:#e5e5e5;--icon-color-table-th-cell:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--font-color-table:#e5e5e5;--bg-color-table-row:#3b3b3b;--bg-color-1-table-row:#4e4e4e;--border-color-table-body:#222;--icon-color-table-body:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--bg-color-hover-tr:#434950;--bg-color-selected-tr:#434950;--font-color-hover-tr:#e5e5e5;--font-color-selected-tr:#e5e5e5;--border-color-hover-tr:#222;--border-color-selected-tr:#222;--icon-color-hover-tr:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--icon-color-selected-tr:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--bg-color-hover-td:#6283a2;--bg-color-selected-td:#6283a2;--bg-color-disabled-td:#484848;--bg-color-disabled-hotkey-table-td:#484848;--border-color-hover-td:#222;--border-color-selected-td:#1890ff;--icon-color-hover-td:invert(96%) sepia(0%) saturate(0%) hue-rotate(134deg) brightness(105%) contrast(104%);--icon-color-selected-td:invert(96%) sepia(0%) saturate(0%) hue-rotate(134deg) brightness(105%) contrast(104%);--icon-color-disabled-td:invert(60%) sepia(95%) saturate(3%) hue-rotate(321deg) brightness(97%) contrast(89%);--font-color-disabled-td:#aeaeae;--bg-color-panel-tabs:#404040;--bg-color-panel-tabs-bottom:#2e2e2e;--bg-color-selected-tab:#4e4e4e;--bg-color-panel-tab:#2e2e2e;--bg-color-hover-panel-tab:#4e4e4e;--bg-color-selected-panel-tab:#4e4e4e;--border-color-panel-tab:#222;--border-color-hover-panel-tab:#222;--border-color-selected-panel-tab:#222;--font-color-panel-tab:#e5e5e5;--font-color-hover-panel-tab:#e5e5e5;--font-color-selected-panel-tab:#e5e5e5;--bg-color-panel:#353535;--bg-color-hover-layer-panel-tab:#6283a2;--bg-color-selected-layer-panel-tab:#4e4e4e;--icon-color-panel-content:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--font-color-panel-content:#e5e5e5;--border-color-layout_toggler:#404040;--bg-color-input:#4e4e4e;--border-color-input:#222;--icon-color-input:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--font-color-input:#e5e5e5;--font-color-input-placeholder:#e5e5e5;--range-current-background:#a2d2fd;--range-background:#4e4e4e;--bg-color-hover-input:#2e2e2e;--border-color-hover-input:#a2d2fd;--icon-color-hover-input:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--font-color-hover-input:#e5e5e5;--bg-color-focus-input:#2e2e2e;--border-color-focus-input:#a2d2fd;--icon-color-focus-input:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--font-color-focus-input:#e5e5e5;--bg-color-disabled-input:#2e2e2e;--border-color-disabled-input:#222;--icon-color-disabled-input:invert(59%) sepia(2%) saturate(91%) hue-rotate(2deg) brightness(95%) contrast(84%);--font-color-disabled-input:#8d8d8d;--bg-color-pop-up-title:#505050;--bg-color-pop-up-content:#404040;--bg-color-pop-up-sep:#404040;--font-color-pop-up:#e5e5e5;--has-border-dialog:1;--bg-color-button:#4e4e4e;--border-color-button:#222;--font-color-button:#e5e5e5;--bg-color-hover-button:#4e4e4e;--border-color-hover-button:#1890ff;--font-color-hover-button:#e5e5e5;--bg-color-active-button:#353535;--border-color-active-button:#1890ff;--font-color-active-button:#e5e5e5;--bg-color-disabled-button:#2e2e2e;--border-color-disabled-button:#222;--icon-color-disabled-button:invert(59%) sepia(2%) saturate(91%) hue-rotate(2deg) brightness(95%) contrast(84%);--font-color-disabled-button:#8d8d8d;--bg-color-disabled-primary-button:#8d8d8d;--font-color-disabled-primary-button:#e5e5e5;--font-color-disabled-link-button:#8d8d8d;--border-color-panel-divider:#222;--bg-color-tree:#6283a2;--font-color-tree:#e5e5e5;--icon-color-tree:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--bg-color-hover-tree:#6283a2;--icon-color-hover-tree:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--font-color-hover-tree:#e5e5e5;--bg-color-selected-tree:#6283a2;--icon-color-selected-tree:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--font-color-selected-tree:#e5e5e5;--icon-color-disabled-tree:invert(59%) sepia(0%) saturate(29%) hue-rotate(204deg) brightness(97%) contrast(100%);--font-color-hover-projectTree:#e5e5e5;--font-color-sch-leftTree:#e5e5e5;--bg-color-active-leftTreeSearch:#6283a2;--icon-color-active-leftTreeSearch:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--bg-color-libary-hover:#6283a2;--bg-color-version-extension:#2e2e2e;--bg-scrollbar-thumb:#868686;--bg-scrollbar-track:transparent;--bg-scrollbar-thumb-hover:#5d5d5e;--bg-scrollbar-thumb-selected:#5d5d5e;--bg-color-canvas-info:#353535;--border-color-canvas-info:#353535;--font-color-float-bar-wxpublic:#e5e5e5;--font-color-float-bar-wx:#e5e5e5;--font-color-float-bar-tel:#e5e5e5;--bg-color-tooltip:#505050;--icon-color-pcb:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--bg-color-project-blank-page:#404040;--bg-color-data-thumb:#4e4e4e;--bg-color-footprint-wizard:#4e4e4e;--bg-color-hover-footprint-wizard:#6283a2;--bg-color-selected-footprint-wizard-reference:#1890ff;--bg-color-hover-footprint-wizard-reference:#d0d0cc;--bg-color-selected-design-rules:#6283a2;--bg-color-hover-design-rules:#6283a2;--border-color-color-button:#222;--icon-color--selected-text-style:none;--icon-color-Annotions:#e5e5e5;--bg-color-version-node:#d4c6ac;--font-color-version-node:#f0a040;--border-color-version-node:#e3b768;--icon-color-sch-table:invert(0.85);--icon-color-sch-table-disabled:invert(0.35);--bg-color-reuseTab:#404040;--language-list-shadow:3px 3px 6px 0 rgba(38,44,50,.8);--bg-color-table-waitDetermined:#474720;--bg-color-table-waitDistribution:#452d2d;--bg-color-table-notCheck:#2e2e49;--bg-color-table-perfetchMatch:#2c422c;--shadow-color-table-head:#222;--border-color-assembly_black:#e5e5e5;--bg-color-choose-device-dialog-hover:#434950}body,html{background:#fff;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei;font-size:12px;height:100%;margin:0;overflow:hidden;padding:0}body .modal,html .modal{display:none;height:100%;left:0;opacity:0;position:absolute;right:0;width:100%;z-index:10000}.unselectable{-moz-user-select:none;-webkit-user-select:none;user-select:none}select{padding:0 20px 0 0!important;-webkit-padding-end:20px!important;-webkit-padding-start:4px!important;-moz-padding-end:20px!important;-moz-padding-start:4px!important;width:100%}.ellipsis,select{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}button:hover{cursor:pointer}button::-moz-focus-inner{border:0}button.shiny-blue{background:#3883dc;border:1px solid #3883dc;border-radius:2px;box-shadow:inset 0 0 2px 0 rgba(57,140,255,.8);color:#fff;font-family:helvetica neue,helvetica,arial,sans-serif}button.shiny-blue:active{border-color:#1b4db3 #174299 #133780;border-style:solid;border-width:1px;box-shadow:inset 0 0 5px 2px #1a47a0,0 1px 0 #eee}.icon_operate{background-repeat:no-repeat;background-size:100%;cursor:pointer;display:inline-block;height:16px;margin:0 4px;width:16px}.icon_operate_up{background-image:');W.push("url(");W.push(JSON.stringify(ede()));W.push(")");W.push("}.icon_operate_up.disabled{background-image:");W.push("url(");W.push(JSON.stringify(N3e()));W.push(")");W.push("}.icon-eda-chat{background-image:");W.push("url(");W.push(JSON.stringify(dXt()));W.push(")");W.push(";background-repeat:no-repeat;background-size:100%;cursor:pointer;display:inline-block;-webkit-filter:invert(99%) sepia(1%) saturate(2679%) hue-rotate(174deg) brightness(109%) contrast(101%);filter:invert(99%) sepia(1%) saturate(2679%) hue-rotate(174deg) brightness(109%) contrast(101%);height:16px;margin:auto 10px auto 0;width:16px}.icon_operate_down{background-image:");W.push("url(");W.push(JSON.stringify(tde()));W.push(")");W.push(";background-position-y:1px}.icon_operate_down.disabled{background-image:");W.push("url(");W.push(JSON.stringify(k3e()));W.push(")");W.push(";background-position-y:1px}.icon_operate_add{background-image:");W.push("url(");W.push(JSON.stringify(u9()));W.push(")");W.push(";background-position:50%;background-size:130%}.icon_operate_add.disabled{background-image:");W.push("url(");W.push(JSON.stringify(VR()));W.push(")");W.push(";background-position:50%;background-size:130%}.icon_operate_copy{background-image:");W.push("url(");W.push(JSON.stringify(I3e()));W.push(")");W.push(";background-position:50%;background-size:130%}.icon_operate_copy.disabled{background-image:");W.push("url(");W.push(JSON.stringify(YAe()));W.push(")");W.push(";background-position:50%;background-size:130%}.icon_operate_delete{background-image:");W.push("url(");W.push(JSON.stringify(p9()));W.push(")");W.push(";background-position:50%;background-size:130%}.icon_operate_delete.disabled{background-image:");W.push("url(");W.push(JSON.stringify(m9()));W.push(")");W.push(";background-position:center -2px;background-size:140%}.icon_operate_clear{background-image:");W.push("url(");W.push(JSON.stringify(WAe()));W.push(")");W.push(";background-position:50%;background-size:130%}.icon_operate_clear.disabled{background-image:");W.push("url(");W.push(JSON.stringify(QAe()));W.push(")");W.push(";background-position:50%;background-size:130%}.icon-live-teaching{background-image:");W.push("url(");W.push(JSON.stringify(uXt()));W.push(")");W.push(";background-position:center -3px;margin-right:4px}.icon-live-teaching,.icon_operate_movedrag{background-repeat:no-repeat;display:inline-block;height:16px;vertical-align:middle;width:16px}.icon_operate_movedrag{background-image:");W.push("url(");W.push(JSON.stringify(pXt()));W.push(")");W.push(';background-position:50%;background-size:contain;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.attr_setting_btn{display:inline-block;height:16px;margin-left:9px;width:16px}.box-shadow{box-shadow:0 0 12px #666}.row{display:block;width:100%}.thinborder{border:1px solid #d1d1d1}.border-box,.border-box *{-moz-box-sizing:border-box;box-sizing:border-box}.nowrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:keep-all}.s-drop-down{border-left:1px solid #aaa;border-top:1px solid #aaa;display:block;height:8px;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg);width:8px}.s-drop-down:hover{border-left:1px solid #444;border-top:1px solid #444}#main{border-top:calc(var(--has-bottom-border-toolbar)*1px) solid var(--border-bottom-color-toolbar);position:relative}#main.home{background-color:var(--common-bg-color);height:-webkit-calc(100% - 64px);height:-moz-calc(100% - 64px);height:calc(100% - 64px)}#main.home_notice{height:-webkit-calc(100% - 94px);height:-moz-calc(100% - 94px);height:calc(100% - 94px)}#main.working{height:-webkit-calc(100% - 64px);height:-moz-calc(100% - 64px);height:calc(100% - 64px)}#main.working.home_notice{height:-webkit-calc(100% - 94px);height:-moz-calc(100% - 94px);height:calc(100% - 94px)}.remove-filter span{-webkit-filter:none!important;filter:none!important}#layoutLeft{background-color:var(--bg-color-panel);-moz-box-sizing:border-box;box-sizing:border-box;height:-webkit-calc(100% - 250px);height:-moz-calc(100% - 250px);height:calc(100% - 250px);overflow:hidden}#layoutLeft select,#layoutLeft>input{border-radius:3px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;padding:0 4px;width:100%}#layoutLeft #recentProjects{border:1px solid #ff0;-moz-box-sizing:border-box;box-sizing:border-box;height:50%;overflow:hidden;padding:8px 16px;width:100%}#layoutLeft #recentProjects *{margin:0;padding:0}#layoutLeft #recentProjects .project_item{border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;display:block;height:100%;width:100%}#layoutLeft #recentProjects .project_item .item_header{font-size:14px;height:20px;line-height:20px;margin:0 0 8px}#layoutLeft #recentProjects .project_item .item_header>a{color:#000;text-decoration:none}#layoutLeft #recentProjects .project_item .item_body{overflow:hidden;width:100%!important}#layoutLeft #recentProjects .project_item #recentProjectTabs{height:100%!important}#layoutLeft #recentProjects .project_item #recentProjectTabs .tabs-header{background:#fff;border:none}#layoutLeft #recentProjects .project_item #recentProjectTabs .tabs-header .tabs{background:#fff;border-bottom:0}#layoutLeft #recentProjects .project_item #recentProjectTabs .tabs-header .tabs-wrap{border-bottom:1px solid #ccc}#layoutLeft #recentProjects .project_item #recentProjectTabs .tabs-header .tabs li{background:#fff;border:none;height:auto;margin-right:20px;padding:0 0 6px}#layoutLeft #recentProjects .project_item #recentProjectTabs .tabs-header .tabs li.tabs-selected{border:none;border-bottom:2px solid #1890ff;-moz-box-sizing:border-box;box-sizing:border-box}#layoutLeft #recentProjects .project_item #recentProjectTabs .tabs-header .tabs li.tabs-selected a.tabs-inner span.tabs-title{color:#1890ff;font-weight:bolder}#layoutLeft #recentProjects .project_item #recentProjectTabs .panel,#layoutLeft #recentProjects .project_item #recentProjectTabs .panel-body,#layoutLeft #recentProjects .project_item #recentProjectTabs .tabs-header,#layoutLeft #recentProjects .project_item #recentProjectTabs .tabs-panels{width:100%!important}#layoutLeft #recentProjects .project_item #recentProjectTabs .panel,#layoutLeft #recentProjects .project_item #recentProjectTabs .panel-body,#layoutLeft #recentProjects .project_item #recentProjectTabs .tabs-panels{height:100%!important}#layoutLeft #recentProjects .project_item #recentProjectTabs .w60{width:60%}#layoutLeft #recentProjects .project_item #recentProjectTabs .w40{width:37%}#layoutLeft #recentProjects .project_item #recentProjectTabs .prj_header{background:#eee;line-height:30px}#layoutLeft #recentProjects .project_item #recentProjectTabs .prj_header .project_info,#layoutLeft #recentProjects .project_item #recentProjectTabs .prj_header .project_name{display:inline-block}#layoutLeft #recentProjects .project_item #recentProjectTabs .prj_container>.project_item{cursor:pointer;line-height:28px;list-style:none}#layoutLeft #recentProjects .project_item #recentProjectTabs .prj_container>.project_item .name{color:#1890ff;display:inline-block}#layoutLeft #recentProjects .project_item #recentProjectTabs .prj_container>.project_item .time{color:#666;display:inline-block}#layoutBottom{background-color:var(--bg-color-panel);height:244px;margin-top:2px;width:100%;z-index:11}.defaultPagination{bottom:0;margin:6px;position:absolute;right:0}#findObjContainer{height:-webkit-calc(100% - 24px);height:-moz-calc(100% - 24px);height:calc(100% - 24px);position:relative;width:100%}#findObjContainer #findObjTable{height:-webkit-calc(100% - 3px);height:-moz-calc(100% - 3px);height:calc(100% - 3px);min-height:30px}#findObjContainer .default-pagination{bottom:0;bottom:-28px;margin:6px;position:absolute;right:0}#drcResult{position:relative}#drcResult .default-pagination{bottom:0;margin:6px;position:absolute;right:0}.tree-icon-small{height:12px;width:12px}.left-search-input{margin:0 0 15px;padding-left:8px;width:100%}.left-search-input,.left-tree-title{-moz-box-sizing:border-box;box-sizing:border-box;position:relative}.left-tree-title{border-bottom:1px solid #ccc;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-size:14px;height:24px;line-height:24px}.left-tree-tab.tabbar{background:#f0f0f0;overflow:hidden;position:relative;width:100%}.left-tree-tab span{background:#fff;border-bottom:1px solid #ccc;display:inline-block;height:25px;line-height:25px;text-align:center;width:70px}#leftTreeSearch{background:var(--common-bg-color);border:none;height:25px;margin:4px 5px}#leftTreeSearch,#leftTreeSearch .search-input{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}#leftTreeSearch .search-input{border:1px solid var(--border-color-panel-divider);border-radius:2px;height:24px;margin:0 4px}#leftTreeSearch .search-input,#leftTreeSearch .search-input input{-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-webkit-align-self:center;align-self:center;flex:1 1 auto}#leftTreeSearch .search-input input{border:none;color:var(--font-color-tree);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:22px;outline:none;padding:0 0 0 8px;width:100%}#leftTreeSearch span{-webkit-box-flex:0;-webkit-flex:0 0 auto;-moz-box-flex:0;-webkit-align-self:center;align-self:center;background-position:50%;cursor:pointer;flex:0 0 auto;height:18px;line-height:18px;padding:0 4px;width:22px}#leftTreeSearch span.number{font-size:12px;height:12px;line-height:12px}#leftTreeSearch span.icon{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;border:1px solid var(--border-color-panel-divider);border-radius:2px;border-right:none;display:inline-block;height:24px;width:24px}#leftTreeSearch span.icon.icon-eda-filter,#leftTreeSearch span.icon.icon-eda-zoom{-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%)}#leftTreeSearch span.next.active i.icon-eda-move-left-line,#leftTreeSearch span.next.active i.icon-eda-move-right-line,#leftTreeSearch span.prev.active i.icon-eda-move-left-line,#leftTreeSearch span.prev.active i.icon-eda-move-right-line{color:#bfbfbf;-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%)}#leftTreeSearch span.next.disable,#leftTreeSearch span.prev.disable{cursor:not-allowed;-webkit-filter:invert(55%) sepia(0) saturate(7448%) hue-rotate(101deg) brightness(138%) contrast(99%);filter:invert(55%) sepia(0) saturate(7448%) hue-rotate(101deg) brightness(138%) contrast(99%)}#leftTreeSearch span i.icon-eda-move-left-line,#leftTreeSearch span i.icon-eda-move-right-line{background-position:-1px 2px;display:inline-block;-webkit-filter:invert(89%) sepia(0) saturate(855%) hue-rotate(315deg) brightness(95%) contrast(72%);filter:invert(89%) sepia(0) saturate(855%) hue-rotate(315deg) brightness(95%) contrast(72%);height:100%;width:100%}#leftTreeSearch span.icon-eda-x-circle-small{background-size:12px 12px;border:none;height:12px;top:0;width:12px}#leftTreeSearch .icon-wrap{display:inline-block;height:24px;padding:initial;width:24px}#leftTreeSearch .icon-wrap .icon-eda-filter{border-radius:0 2px 2px 0;border-right:1px solid var(--border-color-panel-divider)}#leftTreeSearch .icon-wrap .icon-eda-zoom{border-radius:2px 0 0 2px}#leftTreeSearch .icon-wrap.active{background-color:#e6f7ff}#componentClassification{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-justify-content:space-around;justify-content:space-around;padding:6px 0;width:100%}#componentClassification>div.split-line{background:#dcdcdc;height:16px;width:1px}#componentClassification>div:hover{color:#1890ff;cursor:pointer}#componentClassification>div.active{color:#1890ff;font-weight:700}.icon-eda-refresh-small{cursor:pointer}#componentType,#netClassification,#netType{border-bottom:none}#componentType>span,#netClassification>span,#netType>span{border-right:1px solid var(--border-color-panel-divider);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;line-height:16px;margin:7px 0 5px;padding:0 12px;text-align:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:var(--common-font-color)}#componentType>span>span,#netClassification>span>span,#netType>span>span{-webkit-flex-shrink:0;flex-shrink:0}#componentType>span:last-child,#netClassification>span:last-child,#netType>span:last-child{border:none}#componentType>span.active,#netClassification>span.active,#netType>span.active{color:#1890ff;font-weight:bolder}#componentType>span .count,#netClassification>span .count,#netType>span .count{margin-left:4px}#leftTreeContainer{height:100%;-moz-user-select:none;-webkit-user-select:none;user-select:none;width:100%}#leftTreeContainer .tree-icon{background-size:100% 100%;font-size:12px;height:16px;margin-left:2px;margin-right:2px;position:relative;top:0;width:16px}#leftTreeContainer .tree-icon.tree-folder{position:relative}#leftTreeContainer .tree-indent{width:16px}#leftTreeContainer .tree-node{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;min-height:22px;position:relative;width:100%}#leftTreeContainer .tree-node>*{-webkit-flex-shrink:0;flex-shrink:0}#leftTreeContainer .tree-node .tab_new_parttree{background-size:100% 100%;font-size:15px;height:16px;position:relative;right:0;width:16px}#leftTreeContainer .tree-node.share>.tree-icon.tree-folder:after{content:"";display:inline-block;height:16px;left:-2px;position:absolute;top:6px;width:16px}#leftTreeContainer>ul.tree{color:var(--font-color-tree)}#leftTreeContainer>ul.tree .tree-node:hover{background:var(--bg-color-hover-tree);color:var(--font-color-hover-tree)}#leftTreeContainer>ul.tree .tree-node:hover .tree-title{background:var(--bg-color-tree)}#leftTreeContainer>ul.tree .tree-node-selected:hover{background:var(--bg-color-selected-tree);color:var(--font-color-selected-tree)}#leftTreeContainer>ul.tree .tree-node-selected:hover .tree-title{background:var(--bg-color-tree)}#leftTreeContainer .tree-node-hover{background:#e6f7ff}#treePanelObjects .tree-icon.icon-eda-bezier{font-size:20px;font-weight:700;text-indent:-2px}#treePanelObjects .icon-wrap{border:1px solid #e7e7e7;border-bottom:none;border-right:none;-moz-box-sizing:content-box;box-sizing:content-box;display:inline-block;height:22px;width:22px}#treePanelObjects .lock-wrap{border-right:1px solid #e7e7e7}#treePanelObjects .lock-content{background-position:50%;display:inline-block;height:22px;width:22px}#treePanelObjects li:last-child .icon-wrap{border-bottom:1px solid #e7e7e7}#treePanelObjects .eye-content{height:22px;margin-left:0!important;width:22px}#treePanelObjects .eye-hidden{opacity:1}#treePanelObjects .eye-hidden,#treePanelObjects .icon-eda-lock{-webkit-filter:invert(24%) sepia(53%) saturate(6676%) hue-rotate(352deg) brightness(97%) contrast(131%);filter:invert(24%) sepia(53%) saturate(6676%) hue-rotate(352deg) brightness(97%) contrast(131%)}#treeMyProject .number{display:inline-block;padding:1px 2px;text-decoration:none;vertical-align:middle;white-space:nowrap}.treeContent .designTree-content{overflow-x:overlay;overflow-y:hidden;overscroll-behavior:contain;position:absolute;scrollbar-width:thin;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px)}.treeContent .easyui-tree .tree-title{vertical-align:baseline}.treeContent .easyui-tree .icon-eda-refresh-small{display:inline-block;-webkit-filter:invert(.5);filter:invert(.5);height:12px;margin-left:4px;position:relative;top:1px;width:12px}.treeContent .locateContainer{margin:8px 0}.treeContent .locateContainer span{border-right:1px solid #d9d9d9;cursor:pointer;display:inline-block;text-align:center;width:50px}.treeContent .locateContainer .active{color:#1890ff}#tipForCommand{border:#d9d9d9;border-radius:2px;padding:6px}#tipForCommand div[class*=eda-menu-item]{padding:0 10px!important}#tipForCommand div[class*=eda-menu-item] div[class*=eda-menu-item-text]{color:var(--common-font-color);font-size:14px}#tipForCommand div[class*=eda-menu-item] div[class*=eda-menu-item-icon]{display:none}#tipForCommand div[class*=eda-menu-item]:hover{background:var(--bg-color-hover-drop-down-menuItem)}.bg-transparent{background:transparent!important}#commandWin{background:none!important;height:auto;overflow:hidden;padding-left:18px;padding-top:9px;position:fixed;-webkit-transform:translateY(-100%);-moz-transform:translateY(-100%);transform:translateY(-100%);visibility:hidden;z-index:99}#commandWin .commandWin-body{background:rgba(0,0,0,.5);border-radius:2px;height:auto;position:relative;width:330px}#commandWin .commandLineWrap{background:rgba(0,0,0,.8);height:50px;padding-left:10px;width:100%}#commandWin .commandLineWrap,#commandWin .commandLineWrap .commandLine{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}#commandWin .commandLineWrap .commandLine{border-bottom:1px solid #fff;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;height:40px;justify-content:center;width:310px}#commandWin .commandLineWrap .commandLine .weui-control-next-icon{background:');W.push("url(");W.push(JSON.stringify(hmt()));W.push(")");W.push(";height:10px;width:10px}#commandWin .commandLineWrap .commandLine input{background:inherit;border:none;color:#fff;display:block;font-size:14px;width:280px}#commandWin .commandHistory div{color:#fff;font-size:14px;margin:10px}#commandWin .close{cursor:pointer;position:absolute;right:0;top:-9px}#commandWin .close .icon-eda-x-circle{-webkit-filter:invert(.7);filter:invert(.7)}#leftTreeBox{width:100%}#leftTreeBox .icon-eda-tabsch{background:none;color:#0159e3;font-size:16px}#leftTreeBox .icon-eda-block{color:green}#leftTreeBox .icon-eda-eye{font-size:16px!important}.l-btn.cancel.hideBtn{display:none!important}.eye-hidden{background:");W.push("url(");W.push(JSON.stringify(Jx()));W.push(")");W.push(";background-position:50%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);opacity:.25}.eye-hidden.icon-color-orange{opacity:.5}.eye-opacity{opacity:.3!important}.icon-warning{color:#eabf0f!important}#treeMyProject .tree-indent{width:16px}#treeMyProject .tree-node.move{cursor:move}#treeMyProject .tree-node.not-allowed{cursor:not-allowed}#treePanelObjects .tree-node.move{cursor:move}#treePanelObjects .tree-node.not-allowed,#treePanelObjects.not-allowed{cursor:not-allowed!important}#treePanelObjects .edit-combination-line{background-color:#1890ff;height:2px;position:absolute;z-index:999}.icon16{display:inline-block;height:16px;margin-right:2px;vertical-align:middle;width:16px}.icon16.icon-shareuser{background-image:");W.push("url(");W.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAABNUlEQVQ4T32SgU3DMBBF/zkDYCYAJiBRFmCEbgALtLgTkA1w2wXoBh0hC0QJG2QDzADxITt2uapRLUWKdPfuvr8/QRzdGw3v38FYEaEMJWYMIJyg1M5V1uV2yj+6W78BaOKnilNumodNoWZCzdWHr8BEMEEGqniRU6/VTC0AG2BKEweoohRbSkzTZwSLYusqO8QF8/bYS7rbNACPWUJSMBLoId4RGF29fxJXMgBp0t06TLiQeN9tWMr8qff/XsxbWwpNshCAW2CuL4JBBYGeZ6n87epDfJp8wuBFqbo3JXnfR1CpKpsjDGqvzNG9eYT3rzS/aTCngVJHV9kxGZfMERbDe0PAh5SV/9OA3fk5cgCIYUF0twQJ2AG8jQGQkbsJM/8ywVxE7gzPITcAr6SrAIWQWxnHP0mXty1qWnwzAAAAAElFTkSuQmCC"');W.push(")");W.push(';background-position:50%;background-repeat:no-repeat;background-size:contain;height:14px;width:14px}div.layoutRight{background-color:var(--bg-color-panel);-moz-box-sizing:border-box;box-sizing:border-box;height:-webkit-calc(100% - 250px);height:-moz-calc(100% - 250px);height:calc(100% - 250px);overflow:hidden;position:relative;width:240px;z-index:11}div.layoutRight.right-panel-hide #attribute-coordinate-containter,div.layoutRight.right-panel-hide .attribute-coordinate-containter,div.layoutRight.right-panel-hide .attrlist-table-notice{display:none}div.layoutRight.right-panel-hide .pcb2d-attribute-tabs-containter>div{height:100%!important}body.none-docs #layoutRight,body.none-docs #layout_toggler_right,body.none-docs #supermenuButton,body.none-docs #tabbar_bodies{display:none}#tabbar_bodies>div[uuid]>iframe.un_ruler{height:100%;left:0!important;position:absolute;top:0;width:100%!important}#tabbar_bodies>div[uuid]>iframe.ruler{height:-webkit-calc(100% - 46px);height:-moz-calc(100% - 46px);height:calc(100% - 46px);left:4px!important;position:relative;top:-26px!important;width:-webkit-calc(100% - 22px);width:-moz-calc(100% - 22px);width:calc(100% - 22px)}#tabbar_bodies>div[uuid]>iframe[pcb-canvas=true]{height:100%!important}#tabbar_bodies .sub_tabs::-webkit-scrollbar{height:1px}.layout-toggler{-moz-box-sizing:border-box;box-sizing:border-box;cursor:col-resize;height:100%;margin:0;overflow:hidden;padding:0;position:absolute;top:0;z-index:10}.layout-toggler.left{left:220px;-webkit-transform:translateX(-2px);-moz-transform:translateX(-2px);transform:translateX(-2px);width:5px}.layout-toggler.left .toggle{background-color:var(--border-color-panel-divider);height:100%;-webkit-transform:translateX(2px);-moz-transform:translateX(2px);transform:translateX(2px);width:1px}.layout-toggler.left.close{left:24px!important;width:0}.layout-toggler.right{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;right:200px;width:5px;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.layout-toggler.right .toggle{background-color:var(--border-color-panel-divider);height:100%;-webkit-transform:translateX(-1px);-moz-transform:translateX(-1px);transform:translateX(-1px);width:1px}.layout-toggler.right.close{border:none;right:24px!important;width:0}.layout-toggler.bottom{bottom:200px;cursor:row-resize;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:5px;top:auto;width:100%;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:end;-webkit-align-items:flex-end;-moz-box-align:end;align-items:flex-end}.layout-toggler.bottom .toggle{height:1px;width:100%}.layout-toggler.bottom.close{height:0}.layout-toggler.close,.layout-toggler.dragging,.layout-toggler:hover{visibility:visible}.layout-toggler.left,.layout-toggler.right{height:-webkit-calc(100% - 250px);height:-moz-calc(100% - 250px);height:calc(100% - 250px)}.divider-toggler{background:#e0e0e0}.divider-toggler .divider-hightlight{background:#39f!important}#browser{border:1px solid #666;overflow:auto;width:200px}.filetree li span{cursor:pointer;font-size:12px;line-height:18px}.filetree li span:hover{background-color:#ffe2a5}.filetree li span.selected{background-color:#9bbeff;color:#fff}.tree.simpleTree li div{cursor:pointer}.tree.simpleTree li li>div{padding-left:24px}.tree.simpleTree div span[class^=icon-]{display:inline-block;height:18px;vertical-align:middle;width:16px}.tree.simpleTree div span:last-child{display:inline-block;padding:1px 2px;vertical-align:middle;white-space:nowrap}#menuContainer,#menuContainer>div{display:none}#editorTabbar{background:#ccc;height:-webkit-calc(100% - 250px);height:-moz-calc(100% - 250px);height:calc(100% - 250px)}#editorTabbar,#editorTabbar .editorCanvas{-moz-box-sizing:border-box;box-sizing:border-box;position:relative}#editorTabbar .editorCanvas{height:100%;width:100%}svg.ic32{border:0;display:inline-block;height:32px;width:32px}svg.ic32 use:not([fill]){fill:#000}.l-btn-disabled svg use{fill:#ccc}.tree-icon{background-position:50%;background-repeat:no-repeat;background-size:16px 16px!important;display:inline-block;font-size:16px}#attrlist-table-selected,.attrlist-table-selected{background:var(--bg-color-panel);height:30px;line-height:30px}#attrlist-table-selected .line>div,.attrlist-table-selected .line>div{padding:0 10px}.rulerhc{display:inline-block;height:18px;overflow:hidden;position:relative;top:2px;width:-webkit-calc(100% - 21px);width:-moz-calc(100% - 21px);width:calc(100% - 21px)}.rulerhc .ruler-auxiliary-box{-webkit-writing-mode:horizontal-tb;writing-mode:horizontal-tb}.rulerhc .ruler-auxiliary-box div{height:18px;width:1px}.rulervc{display:inline-block;height:-webkit-calc(100% - 21px);height:-moz-calc(100% - 21px);height:calc(100% - 21px);left:4px;overflow:hidden;position:relative;width:18px}.rulervc .ruler-auxiliary-box{-webkit-writing-mode:vertical-lr;writing-mode:vertical-lr}.rulervc .ruler-auxiliary-box div{height:1px;width:18px}.ruler-theme{background-color:var(--ruler-bg-color);color:var(--ruler-string-color)}.ruler-auxiliary-box{left:0;position:absolute;top:0}.ruler-auxiliary-box div{background-color:#06c;color:#06c;font-size:10px;position:absolute}.rulerdot{background-color:#999;height:1px;left:21px;overflow:hidden;position:absolute;top:21px;width:1px}.ruler-origin{display:inline-block;height:21px;left:0;top:0;width:21px}canvas.rulerh,canvas.rulerv{left:0;top:0}.ruler-cursor-x{height:18px;width:1px;-webkit-writing-mode:horizontal-tb;writing-mode:horizontal-tb}.ruler-cursor-x,.ruler-cursor-y{background-color:#06c;color:#06c;font-size:10px;left:0;overflow:visible;position:absolute;top:0}.ruler-cursor-y{height:1px;width:18px;-webkit-writing-mode:vertical-lr;writing-mode:vertical-lr}#toolbar-preview{bottom:54px;height:133px;left:180px;top:auto;width:133px}#attrlist-table-notice{border-top:1px solid #d1d1d1;overflow:hidden}#attrlist-table-notice .line{border-bottom:1px solid #d1d1d1;-moz-box-sizing:border-box;box-sizing:border-box;width:50%}#attrlist-table-notice .line>div{background:#eee;-moz-box-sizing:border-box;box-sizing:border-box;height:25px;line-height:25px}#attrlist-table-notice .line .name{display:inline-block;line-height:26px;padding:0 5px 0 0;text-align:right;width:25%}#attrlist-table-notice .line .value{-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;overflow:hidden;width:75%}#attrlist-table-notice input{background:#eee;border:none;color:#333!important;height:25px;line-height:25px}.eda-input-selection{position:relative}.eda-input-selection .eda-input-option{background:#fff;box-shadow:0 0 4px #9b9b9b;font-size:12px;left:0;max-height:192px;overflow:auto;position:absolute;top:-webkit-calc(100% + 2px);top:-moz-calc(100% + 2px);top:calc(100% + 2px);width:100%;z-index:10}.eda-input-selection .eda-input-option .option-item{cursor:pointer;height:24px;line-height:24px;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.eda-input-selection .eda-input-option .option-item.select{background:#e6f7ff;color:#096dd9}#eda-input-select1{background:#fff;border:1px solid #ccc;box-shadow:0 0 5px #a7a7a7;margin-top:2px;overflow:hidden;padding:4px}#eda-input-select1 .eda-input-option{box-shadow:none;position:relative}.panel-attribute-manager,.sch-attribute-manager,.simulation-attribute-manager{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;background-color:#f0f0f0;flex-direction:column;height:100%;width:100%}.panel-attribute-manager #panel-attribute-tabs-3d,.sch-attribute-manager #panel-attribute-tabs-3d,.simulation-attribute-manager #panel-attribute-tabs-3d{background:var(--bg-color-panel);color:var(--font-color-panel-tab);height:100%;width:100%}.panel-attribute-manager #panel-attribute-tabs,.sch-attribute-manager #panel-attribute-tabs,.simulation-attribute-manager #panel-attribute-tabs{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;background-color:var(--bg-color-panel);color:var(--font-color-panel-tab);flex:1;overflow-y:auto}.panel-attribute-manager .tabs-header .tabs,.sch-attribute-manager .tabs-header .tabs,.simulation-attribute-manager .tabs-header .tabs{padding-left:5px}.panel-attribute-manager .tabs-header .tabs li.tabs-selected,.sch-attribute-manager .tabs-header .tabs li.tabs-selected,.simulation-attribute-manager .tabs-header .tabs li.tabs-selected{height:26px}.panel-attribute-manager .wire-name-line,.sch-attribute-manager .wire-name-line,.simulation-attribute-manager .wire-name-line{position:relative;width:100%}#sch-attribute-tabs,#simulation-attribute-tabs{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;background-color:#fff;flex:1;overflow-y:auto}#sch-attribute-tabs .tabs-header,#sch-attribute-tabs .tabs-panels,#simulation-attribute-tabs .tabs-header,#simulation-attribute-tabs .tabs-panels{width:100%!important}#sch-attribute-tabs .tabs-header,#simulation-attribute-tabs .tabs-header{border:none!important;width:28px!important;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;background-color:#f0f0f0;flex:0 0 28px}#sch-attribute-tabs .tabs-header .tabs-wrap,#simulation-attribute-tabs .tabs-header .tabs-wrap{width:100%!important}#sch-attribute-tabs .header-common,#simulation-attribute-tabs .header-common{background:var(--bg-color-panel);-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;font-size:14px;font-weight:400;height:30px;line-height:14px;overflow:hidden;padding:8px;text-overflow:ellipsis;white-space:nowrap}#sch-attribute-tabs .tabs-panels,#simulation-attribute-tabs .tabs-panels{height:100%!important;overflow:auto!important}#sch-attribute-tabs .tabs-panels .panel,#sch-attribute-tabs .tabs-panels .panel #attribute-tabs-containter,#simulation-attribute-tabs .tabs-panels .panel,#simulation-attribute-tabs .tabs-panels .panel #attribute-tabs-containter{height:100%!important}#sch-attribute-tabs .tabs-panels .ngspice-attribute-property,#sch-attribute-tabs .tabs-panels .panel-attribute-property,#sch-attribute-tabs .tabs-panels .sch-attribute-property,#sch-attribute-tabs .tabs-panels .simulide-attribute-property,#sch-attribute-tabs .tabs-panels .simulide-config-property,#sch-attribute-tabs .tabs-panels .waveform-attribute-property,#simulation-attribute-tabs .tabs-panels .ngspice-attribute-property,#simulation-attribute-tabs .tabs-panels .panel-attribute-property,#simulation-attribute-tabs .tabs-panels .sch-attribute-property,#simulation-attribute-tabs .tabs-panels .simulide-attribute-property,#simulation-attribute-tabs .tabs-panels .simulide-config-property,#simulation-attribute-tabs .tabs-panels .waveform-attribute-property{width:100%}#sch-attribute-tabs .tabs-panels .tabs,#simulation-attribute-tabs .tabs-panels .tabs{border-left:1px solid #d1d1d1}#sch-attribute-tabs .tabs-panels .tabs li+li,#simulation-attribute-tabs .tabs-panels .tabs li+li{margin-left:-1px}#sch-attribute-tabs .tabs-panels #attrlist-group-filter .title,#simulation-attribute-tabs .tabs-panels #attrlist-group-filter .title{background:var(--bg-color-panel);-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;font-size:14px;font-weight:400;height:30px;line-height:14px;overflow:hidden;padding:8px;text-overflow:ellipsis;white-space:nowrap}#sch-attribute-tabs .tabs-panels #attrlist-group-filter ul.group-filter,#simulation-attribute-tabs .tabs-panels #attrlist-group-filter ul.group-filter{overflow:hidden;padding:8px}#sch-attribute-tabs .tabs-panels #attrlist-group-filter ul.group-filter>li,#simulation-attribute-tabs .tabs-panels #attrlist-group-filter ul.group-filter>li{float:left;line-height:27px;list-style:none;margin-right:8px;position:relative}#sch-attribute-tabs .tabs-panels #attrlist-group-filter ul.group-filter>li input,#simulation-attribute-tabs .tabs-panels #attrlist-group-filter ul.group-filter>li input{top:8px}#sch-attribute-tabs .ngspice-attribute-property,#sch-attribute-tabs .panel-attribute-property,#sch-attribute-tabs .sch-attribute-property,#sch-attribute-tabs .simulide-attribute-property,#sch-attribute-tabs .simulide-config-property,#sch-attribute-tabs .waveform-attribute-property,#simulation-attribute-tabs .ngspice-attribute-property,#simulation-attribute-tabs .panel-attribute-property,#simulation-attribute-tabs .sch-attribute-property,#simulation-attribute-tabs .simulide-attribute-property,#simulation-attribute-tabs .simulide-config-property,#simulation-attribute-tabs .waveform-attribute-property{width:100%}#sch-attribute-tabs .tabs,#simulation-attribute-tabs .tabs{border-bottom:0;border-left:1px solid #d1d1d1}#sch-attribute-tabs .tabs li+li,#simulation-attribute-tabs .tabs li+li{margin-left:-1px}#part-attr .tags:hover .clear{display:inline-block}#leftAttributePanelContainer{color:var(--common-font-color);min-width:205px;padding-top:4px}#leftAttributePanelContainer .tags:hover .clear{display:inline-block}.attr-panel-textarea{-moz-box-sizing:border-box!important;box-sizing:border-box!important;height:72px;padding:5px;resize:none;width:100%}.attrarea{margin-right:1px;width:100%}.attrarea[data-doctype="1"] input:disabled{color:#bfbfbf!important}.attrarea[data-doctype="1"] input:not(:disabled),.attrarea[data-doctype="1"] select,.attrarea[data-doctype="1"] textarea{color:#333}.attrarea[data-doctype="1"] .template-color input,.attrarea[data-doctype="1"] .template-color select,.attrarea[data-doctype="1"] input.template-color,.attrarea[data-doctype="1"] select.template-color{color:#39f}.attrarea *{-moz-box-sizing:content-box;box-sizing:content-box}.attrarea .center{text-align:center}.attrarea .title{background:var(--bg-color-panel);-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;font-size:12px;font-weight:400;height:25px;line-height:14px;margin-bottom:8px;overflow:hidden;padding:6px;text-overflow:ellipsis;white-space:nowrap}.attrarea .title.collapsed{margin-bottom:0}.attrarea .line{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:8px}.attrarea .line .txt_title{padding-left:4px;width:100%}.attrarea .line .attr_title,.attrarea .line .txt_title{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attrarea .line .attr_title{height:22px;width:88px}.attrarea .line .center{text-align:center}.attrarea .line .title{background:var(--bg-color-panel);-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;font-size:14px;font-weight:400;height:30px;line-height:14px;overflow:hidden;padding:8px;text-overflow:ellipsis;white-space:nowrap}.attrarea .line .txt_value{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-left:4px;text-align:left;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-moz-box-sizing:border-box;box-sizing:border-box;flex:1;padding-right:8px;position:relative}.attrarea .line .txt_value:hover .comm-fittinginput-clear{display:inline}.attrarea .line .txt_value span:first-child{display:inline-block;padding-right:4px}.attrarea .line .txt_value span:first-child:not(.hightlight){width:13px}.attrarea .line .txt_value span.comm-fittinginput-clear{cursor:pointer;display:none}.attrarea .line .txt_value input:not(.checkbox),.attrarea .line .txt_value select{width:100%}.attrarea .line .txt_value input,.attrarea .line .txt_value select{border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px}.attrarea .line .color-content-cn{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;width:100%}.attrarea .line .color-content-cn .color-content{border:1px solid #d9d9d9;color:transparent!important;cursor:pointer;display:inline-block;-webkit-flex-shrink:0;flex-shrink:0;height:24px!important;margin-right:2px;outline:none;vertical-align:middle;width:24px!important}.attrarea .current .txt_title{font-weight:700}.attrarea .basic{position:relative}.attrarea .txt-wrap{-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;flex:0 0 100px;overflow:hidden;position:relative}.attrarea .left-check{padding-left:8px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:13px}.attrarea .attr-reset{background-position:50%;background-size:10px 10px;cursor:pointer;display:inline-block;-webkit-flex-shrink:0;flex-shrink:0;height:18px;line-height:18px;text-align:center;vertical-align:middle;width:18px}.attrarea .attr-reset-text{position:absolute;right:5px;-webkit-transform:translateY(-100%);-moz-transform:translateY(-100%);transform:translateY(-100%)}.attrarea .attr-reset-image,.attrarea .attr-reset-text{background-size:13px 13px;height:16px}.attrarea .c_para .left.txt_value{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.attrarea .c_para .left.txt_value>input.instance{background:red}.attrarea .c_para select[name=addParamKey]{-moz-box-sizing:border-box;box-sizing:border-box;height:24px;margin:0 8px;width:100%}#part-attr .basic{padding-top:8px}#part-attr .basic:first-child{padding-top:0}#part-attr .basic .tips-div{color:red;line-height:20px;margin-bottom:8px;padding-left:8px;padding-right:8px}#part-attr .basic .tips-div span{display:block}#part-attr header.title.symbol{display:none}#part-attr{height:100%;overflow-y:auto}#part-attr>.line:first-child{margin-top:8px}#colorpanel .btn input{float:left;margin-left:5px}#colorpanel span.btn{border:1px solid transparent;cursor:pointer;display:inline-block;height:16px;padding:1px 0;text-align:center;width:32px}#colorpanel span.btn:hover{background-color:#ddd;border:1px solid #666}#colorpanel span.btn span{display:inline-block;height:16px;width:16px}#sch-attr-main .icon.comm-fittinginput-clear{cursor:pointer;height:12px;width:12px}#sch-attr-main .sheetSymbol{position:relative}#sch-attr-main .sheetSymbol .icon.comm-fittinginput-clear{background:#fff;position:absolute;right:11px;width:16px}#sch-attr-main .sheetSymbol .icon.comm-fittinginput-clear.no-sheet{right:16px}#sch-attr-main .icon.comm-fittinginput-clear.comm-fittinginput-clear-hidden{display:none}#panel-attr-main .title:before,#panel-attr-main-3d .title:before,#part-attr .title:before,#partManager .tab-title:before,#sch-attr-main .title:before,.accordion:before{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #ccc;content:"";display:inline-block;transform:rotate(-45deg);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);vertical-align:middle}#panel-attr-main .title.collapsed:before,#part-attr .title.collapsed:before,#partManager .tab-title.collapsed:before,#sch-attr-main .title.collapsed:before,.accordion.collapsed:before{transform:rotate(-90deg);-webkit-transform:rotate(-90deg);-ms--moz-transform:rotate(-90deg);margin-top:-3px;-o-transform:rotate(-90deg);-moz-transform:rotate(-90deg)}#attr_dialog .easyui-linkbutton,#panel-attr-main .easyui-linkbutton,#part-attr .easyui-linkbutton,#sch-attr-main .easyui-linkbutton{margin:5px 8px}.attrarea .icon-eda-remove{cursor:pointer}.attrarea .icon-eda-remove:hover{color:blue}.attrarea .c_para a[name=link]{float:right;text-align:left;width:95%}.attrarea .icon-eda-add,.attrarea .icon-eda-remove{color:#119711;font-size:16px}.attrarea .reset-button{height:24px;margin:8px;width:100%}kbd{background:#ebf4ed none repeat scroll 0;border-color:#d6e6f9 #bbd3ef #a0c0e6 #c5dcf7;border-style:solid;border-width:2px 4px 5px 3px;bottom:1px;color:#000;font-family:Arial Regular,Arial,helvetica,sans-serif;font-size:90%;padding:1px;white-space:nowrap}.tabbar,kbd{position:relative}.tabbar{background:#ddd;border-bottom:1px solid #d1d1d1;color:#333;font-size:12px;height:30px}.tabbar .tabbar-tab .panel-tool{background:inherit;display:none}.tabbar .tabbar-tab:hover:not(.pinned) .panel-tool{display:block}.tabbar .tabbar-tab .panel-tool{position:absolute;right:5px;top:3px}.tabbar .tabbar-icon{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;color:#1890ff;display:inline-block;font-size:12px;height:18px;margin-right:5px;margin-top:5px;vertical-align:text-top;width:18px}.tabbar .tabbar-icon.instance{color:red}.tabbar .tabbar-notsave{font-family:verdana,serif;margin-top:2px}.tabbar.hidden~.tabbar-bodies{height:100%}.tabbar-bottom{display:block;height:0;position:absolute;width:100%}.tabbar-lastline,.tabbar-leftline,.tabbar-rightline,.tabbar-tab{height:100%;overflow:hidden}.tabbar-tab{border-right:1px solid #d1d1d1;-moz-box-sizing:border-box;box-sizing:border-box;float:left;position:relative;width:115px}.tabbar-tab.on-drag{position:absolute;z-index:2}.tabbar-tab.pinned{min-width:66px;width:auto!important}.tabbar-tab:hover .panel-tool div:hover{opacity:1}.tabbar-tab .tabbar-label{float:left;font-size:12px;font-weight:400;line-height:30px;padding-left:8px}.tabbar-tab .tabbar-label .input{height:20px;margin-top:2px;width:-webkit-calc(100% - 9px);width:-moz-calc(100% - 9px);width:calc(100% - 9px)}.tabbar-tab .tabbar-label .input:focus{border:none;box-shadow:none}.tabbar-tab:not(.pinned) .tabbar-label{max-width:-webkit-calc(100% - 5px);max-width:-moz-calc(100% - 5px);max-width:calc(100% - 5px)}#tabDragMask{height:100%;left:0;position:fixed;top:0;width:100%}@-webkit-keyframes bellshake{0%{-webkit-transform:rotate(0deg)}5%{-webkit-transform:rotate(18deg)}15%{-webkit-transform:rotate(-15deg)}25%{-webkit-transform:rotate(12deg)}35%{-webkit-transform:rotate(-9deg)}45%{-webkit-transform:rotate(6deg)}55%{-webkit-transform:rotate(-3deg)}60%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(0deg)}}@-moz-keyframes bellshake{0%{-moz-transform:rotate(0deg)}5%{-moz-transform:rotate(18deg)}15%{-moz-transform:rotate(-15deg)}25%{-moz-transform:rotate(12deg)}35%{-moz-transform:rotate(-9deg)}45%{-moz-transform:rotate(6deg)}55%{-moz-transform:rotate(-3deg)}60%{-moz-transform:rotate(0deg)}to{-moz-transform:rotate(0deg)}}@keyframes bellshake{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}5%{-webkit-transform:rotate(18deg);-moz-transform:rotate(18deg);transform:rotate(18deg)}15%{-webkit-transform:rotate(-15deg);-moz-transform:rotate(-15deg);transform:rotate(-15deg)}25%{-webkit-transform:rotate(12deg);-moz-transform:rotate(12deg);transform:rotate(12deg)}35%{-webkit-transform:rotate(-9deg);-moz-transform:rotate(-9deg);transform:rotate(-9deg)}45%{-webkit-transform:rotate(6deg);-moz-transform:rotate(6deg);transform:rotate(6deg)}55%{-webkit-transform:rotate(-3deg);-moz-transform:rotate(-3deg);transform:rotate(-3deg)}60%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@-webkit-keyframes blink{50%{opacity:.01}}@-moz-keyframes blink{50%{opacity:.01}}@keyframes blink{50%{opacity:.01}}.rotation{animation:rotation 1.4s linear infinite;-moz-animation:rotation 1.4s linear infinite;-webkit-animation:rotation 1.4s linear infinite;-o-animation:rotation 1.4s linear infinite;-webkit-transform:rotate(1turn)}.tabbar-leftline{float:left}.tabbar-rightline{float:right}.tabbar-lastline{float:left}.tabbar-bodies{border-top:none;height:100%;overflow:hidden}.tabbar-bodies>div{height:100%;width:100%}.tabbar-bodies>div>.editframe{border:0;overflow:hidden;position:relative}.tabbar-body-page-section{background:#f9f9f9;border:1px solid #d1d1d1;display:inline-block;font-size:14px;margin:0 10px 10px 0;min-height:40px;min-width:100px;overflow:auto;padding:10px;vertical-align:top}.md-content{font-size:1.3em;line-height:120%}.md-content a:not([class]){color:#1890ff;text-decoration:none}.md-content a:not([class]):hover{color:#1c51cd}.md-content li{margin-bottom:.2em;margin-top:.2em}.md-content img{max-width:-webkit-calc(100% - 20px);max-width:-moz-calc(100% - 20px);max-width:calc(100% - 20px)}.md-content blockquote{background-color:#fff;border:1px solid #ccc;border-left:.3em solid #bbb;margin:2px 2px 10px 30px;opacity:.8;padding:5px 10px}.md-content blockquote blockquote{margin-left:20px}.md-content code{padding:0 .5em}.md-content code,.md-content pre{background-color:hsla(0,0%,94%,.7)}.md-content pre{margin:1em 1.5em 1em 0;padding:.5em}.md-content pre code{padding:0}.md-content table{border:0;border-collapse:collapse;border-spacing:0;font:inherit;margin:1.2em 0;padding:0}.md-content tbody,.md-content tr{border:0;margin:0;padding:0}.md-content tr{background-color:#fff;border-top:1px solid #ccc}.md-content tr:nth-child(2n){background-color:#f8f8f8}.md-content th{background-color:#f0f0f0;font-weight:700}.md-content td[align=right]{text-align:right}.md-content td[align=left]{text-align:left}.md-content td[align=center]{text-align:center}.md-content td,.md-content th{border:1px solid #ccc;font-size:1em;margin:0;padding:.5em 1em}input.treefilter{background-color:transparent;border:1px solid #9bd;margin-top:0;vertical-align:middle;width:86px}input.short{width:100px}i.treefilterclear{border:0;cursor:pointer;display:none;font-size:16px;height:12px;position:absolute;right:8px;top:13px;vertical-align:middle;width:12px}i.treefilterclear:hover{color:#999;font-weight:700}#dlgHotkey kbd,.keyboard-key{background-color:#f9f9f9;background-image:-moz-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:-webkit-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:linear-gradient(top,#eee,#f9f9f9,#eee);border:1px solid #aaa;border-radius:2px;box-shadow:1px 2px 2px #ddd;font-family:monospace,Courier;font-size:12px;padding:1px 3px;white-space:nowrap}#dlgHotkey tr[datagrid-row-index="0"]{background:#ddd;pointer-events:none}#dlgHotkey tr[datagrid-row-index="0"] kbd{background:#ddd}.datagrid-body .datagrid-cell{white-space:normal}.openid image{border:0}#pagemask{background-color:rgba(0,0,0,.01);display:none;height:100%;left:0;position:absolute;top:0;width:100%;z-index:9999999}svg.logo,svg.logo use{border:0;height:33px;width:96px}#spiceStatus{background:');W.push("url(");W.push(JSON.stringify(ZF()));W.push(")");W.push(' no-repeat;background-size:100px 100px;cursor:wait;height:100px;left:100px;overflow:hidden;position:absolute;top:100px;width:100px;z-index:9999}a.l-btn{border-radius:3px;height:28px}a.l-btn .l-btn-left{padding:3px 0 4px 17px}a.l-btn:not(.l-btn-plain){background:#fff;border:1px solid #2dc09b;color:#2dc09b}a.l-btn:not(.l-btn-plain) .m-btn-downarrow{border-top:4px solid #fff;margin:0 0 0 5px;-webkit-transform:translateY(-2px);-moz-transform:translateY(-2px);transform:translateY(-2px)}a.l-btn:not(.l-btn-plain):hover{background:#2dc09b;color:#fff}a.l-btn:focus{border-color:#f90}a.l-btn span.l-btn-left{background-image:none;padding:3px 0 4px 17px}a.l-btn span span span.l-btn-empty{height:16px;line-height:14px}a.l-btn .l-btn-text>.l-btn-empty{float:left;font-size:16px;margin-right:5px}a.dlg-help-btn.l-btn{background:none!important}#layoutRight a.l-btn,.dialog-content a.l-btn{height:22px}#versionUpdate{cursor:pointer;display:inline-block;height:100%;margin-right:16px;position:relative;text-align:center}#versionUpdate .icon-eda-update{display:inline-block;height:18px;position:relative;top:8px;width:18px}.menu,.toolbar{border:1px solid #d9d9d9;box-shadow:0 1px 6px rgba(0,0,0,.2)}.tbs-item{padding:2px 8px}.tbs-item:not(.selected):hover{background-color:#a8c5ff;color:#fff}.tbs-item.selected{background-color:#69f;color:#fff}.tbs-item .ic32{-moz-box-sizing:border-box;box-sizing:border-box;font-size:22px;height:32px;margin-right:2px;padding-top:5px;width:32px}.tbs-item .ic16,.tbs-item .ic32{display:inline-block;vertical-align:middle}.tbs-item .ic16{height:16px;margin-right:4px;width:16px}.export-row-container{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:16px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.export-row-container>:not(:first-child):not(label){-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.export-row-container .export-column-container{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.export-row-container .export-column-container>span{display:inline-block;padding-right:8px;width:60px}.export-row-container .export-column-container input[type=number]{width:50px}.export-row-container fieldset{-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}#pageGerberCtrl,#pagePDFCtrl{margin-right:8px;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;flex-grow:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}#pageGerberCtrl>*,#pagePDFCtrl>*{-webkit-box-align:start;-webkit-align-items:start;-moz-box-align:start;align-items:start}#pageGerberCtrl .form-box,#pagePDFCtrl .form-box{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;margin-top:14px}#pageGerberCtrl .form-box>:not(:last-child),#pagePDFCtrl .form-box>:not(:last-child){margin-bottom:8px;-webkit-user-select:none;-moz-user-select:none;user-select:none}#dlgExport .dialog-button span[class*=" icon-"]{background-size:12px 12px;-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%)}#exportGerber,#importGerber{display:none}.NPTH,.PTH,.drillTableInfo{cursor:pointer}.export-column-container-right{text-align:left}.export-table{text-align:center;width:100%}.export-table tr>td:first-child{text-align:left}.export-table tr>th,.export-table-center{text-align:center}.dialog-button a.un-btn:hover,.dialog-button a.un-btn:not(.l-btn-plain){background:none!important;color:#00e;height:26px;padding-right:8px}.show-hide{display:none!important}.pin .l-btn-left{padding-left:0!important}.dialog-button a.l-btn:not(.un-btn) .l-btn-text>.l-btn-empty,.messager-button a.l-btn .l-btn-text>.l-btn-empty{margin-top:2px}.dialog-button a.l-btn.l-btn-help,.messager-button a.l-btn.l-btn-help{background:none;padding-right:2px}.dialog-button a.l-btn,.messager-button a.l-btn{overflow:hidden}.dialog-button .l-btn-help .l-btn-left,.messager-button .l-btn-help .l-btn-left{padding:4px 0 4px 2px}.filterMode .libgroupcaption{display:none}#renumberPadsDlg .v2H{background-image:');W.push("url(");W.push(JSON.stringify(fmt()));W.push(")");W.push("}#renumberPadsDlg .h2V,#renumberPadsDlg .v2H{background-position:50%;background-repeat:no-repeat;height:90%;width:90%}#renumberPadsDlg .h2V{background-image:");W.push("url(");W.push(JSON.stringify(gmt()));W.push(")");W.push("}#renumberPadsDlg .anti_clockwise{background-image:");W.push("url(");W.push(JSON.stringify(bmt()));W.push(")");W.push("}#renumberPadsDlg .anti_clockwise,#renumberPadsDlg .custom_path{background-position:50%;background-repeat:no-repeat;height:90%;width:90%}#renumberPadsDlg .custom_path{background-image:");W.push("url(");W.push(JSON.stringify(ymt()));W.push(")");W.push('}#renumberPadsDlg .dialog-button{bottom:16px;position:absolute;right:16px}#hotkeyTopTool{margin-bottom:8px;overflow:hidden}#hotkeyTopTool>div{float:left}#hotkeyTopTool .hotkeySearch{margin-left:8px;position:relative}#hotkeyTopTool .hotkeySearch .searchIcon{cursor:pointer;position:absolute;right:5px;top:4px!important}#hotkeyTopTool .hotkeySearch input{padding-right:40px;width:160px}#hotkeyTopTool .hotkeySearch .clearIcon{cursor:pointer;display:none;right:27px;top:6px!important}#hotkey-container{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%}#hotkey-container .hotkey-menu{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;border:1px solid #d9d9d9;border-right:0;flex:1;height:460px}#hotkey-container .hotkey-menu .all{margin:6px;text-indent:1em}#hotkey-container .hotkey-menu .all span{margin-left:1em}#hotkey-container .hotkey-editor{overflow:hidden;-webkit-box-flex:7;-webkit-flex:7;-moz-box-flex:7;flex:7;height:444px}#hotkey-container .hotkey-editor #hotkey-table-container{height:100%;width:100%}#hotkey-container .hotkey-editor #hotkey-table-container .q-grid-box .header+div{max-height:-webkit-calc(100% - 32px)!important;max-height:-moz-calc(100% - 32px)!important;max-height:calc(100% - 32px)!important;overflow-y:auto;overflow-y:overlay}#hotkey-container .hotkey-editor #hotkey-table-container td{padding:6px 0;width:112px}#hotkey-container .hotkey-editor #hotkey-table-container .table-content td,#hotkey-container .hotkey-editor #hotkey-table-container .table-title td{border:1px dotted #ccc}#hotkey-container .hotkey-editor #hotkey-table-container .cell{display:inline-block;height:24px;line-height:24px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}#hotkey-container .hotkey-editor #hotkey-table-container .cell.editDisable{background-color:#ddd!important}#hotkey-container .hotkey-editor #hotkey-table-container .cell.partiallyEditable input{text-align:center;width:100%}#hotkey-container .hotkey-editor #hotkey-table-container .cell.partiallyEditable .editDisabledContent{background-color:#ddd}.tips{height:20px;line-height:20px}.menu{min-width:150px;overscroll-behavior:contain;padding:4px 0 0;scrollbar-width:thin;width:auto}.menu.basic-lib-part-menu{max-height:300px;overflow:auto}.menu .menu-item{font-size:12px;height:28px;line-height:28px;padding:0 12px 0 32px;white-space:nowrap}.menu .menu-item .menu-icon[class*=icon-]{background-size:16px 16px}.menu .menu-item[data-date]:after,.menu .menu-item[data-hotkey]:after{display:block;font-family:arial,serif;font-size:12px;position:absolute;right:12px;top:0;white-space:nowrap}.menu .menu-item[data-hotkey]>.menu-text{padding-right:96px}.menu .menu-item[data-hotkey]:after{content:attr(data-hotkey)}.menu .menu-item[data-date]>.menu-text{padding-right:140px}.menu .menu-item[data-date]:after{content:attr(data-date)}.menu .menu-item .menu-text{margin:0;padding:0 20px 0 0;position:static;white-space:nowrap}.menu .menu-item .menu-icon{left:8px;position:absolute;top:6px}.menu .menu-rightarrow-left[data-hotkey]:after{right:22px}.menu .group-hotkey[cmd]:after{content:attr(data-hotkey);padding-right:14px}.easyui-menubutton[data-hotkey]:after{content:attr(data-hotkey);display:inline-block;font-family:arial,serif;font-size:14px;height:22px;line-height:22px;vertical-align:top;white-space:nowrap}.menu-item>.menu-text>span[data-subhotkey]:after{content:attr(data-subhotkey);display:inline}.menu-rightarrow{top:10px}.tree-node-selected.tree-node-hover{background:var(--font-color-hover-tree)!important}.tree-node-selected .tree-collapsed:before,.tree-node-selected .tree-expanded:before{border-top:4px solid #fff}.messager-input{height:22px;padding:0 4px}.ext-item{border-bottom:1px solid #ccc;margin:0 0 5px;min-height:40px;padding:2px;position:relative}.ext-item.ext-disabled{background-color:#eee}.ext-item.ext-disabled a[cmd=ext-disable]{display:none}.ext-item.ext-disabled .ext-state{display:inline-block;margin-left:10px}.ext-item:not(.ext-disabled) .ext-state,.ext-item:not(.ext-disabled) a[cmd=ext-enable]{display:none}.ext-disabled .ext-desc,.ext-disabled .ext-name-state{color:#999}.ext-icon{height:32px;left:2px;position:absolute;top:2px;width:32px}.ext-name-state{font-size:18px;font-weight:700;margin:auto 0 0 40px}.ext-name{display:inline-block}.ext-cmd{position:absolute;right:2px;top:0}.ext-cmd a{margin-left:4px}.ext-desc{margin:auto 0 0 40px}.ext-tip{padding-left:6px}#treeMyProject a.l-btn,#treeSharedWithMeProject a.l-btn{margin-left:10px;white-space:nowrap}.prp-filter{margin:10px auto;position:relative;width:90%}.uppercase{text-transform:uppercase}[fill=none]{fill:none!important}[stroke=none]{stroke:none}g[c_partid=part_via]>*+circle:nth-of-type(2){fill:silver}[stroke-width="1"]{stroke-width:1}line,path,polygon,polyline{stroke-linecap:round}path[type=solid][d]:not([drawing]){stroke:none}path[type=solid][d][drawing]{vector-effect:non-scaling-stroke}path[type=npth][d]:not([drawing]){stroke:none}path[type=cutout][d],path[type=npth][d][drawing]{vector-effect:non-scaling-stroke}path[type=cutout][d]{fill:#000!important;fill-opacity:0}line.active,line.hover-active,path.hover-active{stroke:blue!important}circle.pindot{fill:none;shape-rendering:optimizeSpeed;stroke:#333;stroke-opacity:.5;stroke-width:.3}#gNets>text{font-family:Consolas,Courier,Monospace,serif;text-anchor:middle}#gNets>text:not([fill]){fill:#fff}#gNets>text:not(stroke){stroke:#000}#attr_dialog .line,#drawing-attr .line,.offsetDlg .line{margin:10px 0}#drawing-attr,.offsetDlg{padding:0 20px}#attr_dialog .basic header.title{font-size:16px}#attr_dialog .img_container{min-height:150px;padding:30px}#attr_dialog .container{-moz-box-sizing:border-box;box-sizing:border-box;padding:20px;position:relative}#attr_dialog input[name],#attr_dialog select[name]{width:150px}#attr_dialog .line .txt_title,#drawing-attr .line .txt_title,.offsetDlg .line .txt_title{line-height:16px;margin-right:4px;min-width:120px;padding-top:6px}#cloud-prj-path-pre,#path-pre,#prj-path-pre{background:#e7e7e7;border:1px solid #dae4fd;border-radius:3px 0 0 3px;-moz-box-sizing:border-box;box-sizing:border-box;color:#929292;display:inline-block;float:left;height:28px;line-height:20px;padding:3px 5px}#cloud-prj-path-pre,#prj-path-pre{height:24px;line-height:18px;max-width:60%;overflow:hidden;text-overflow:ellipsis}.site-logo{margin-top:8px}.add-new-param{background:#fff;display:block;line-height:30px;padding-left:10px;text-align:center}.add-new-param .text{background:#fff;border:1px solid #2dc09b;border-radius:2px;color:#2dc09b;cursor:pointer;padding:3px 10px}.add-new-param .text:hover{background:#2dc09b;border:1px solid #2dc09b;color:#fff}.window .window-header .panel-icon{font-size:16px}.tree-file:not([class*=icon-]){background:');W.push("url(");W.push('"data:image/gif;base64,R0lGODlhEAAQAKIEAIaGhv//mf/////MmQAAAAAAAAAAAAAAACH5BAEAAAQALAAAAAAQABAAAAM7SLrcCzBGR0AQN0Nng//AADQWZgYS00kfqmYn+KLS+p6Y/Hi1veMf0aw3cP1ggaJwF0wml4pej0JdJAAAOw=="');W.push(")");W.push("}.tree-file.chooseLibs-tree-icon{position:relative;top:4px}.icon-heart,.icon-heart-broken{color:#f75e5e}.tree-icon.icon-eda-eelib,.tree-icon.icon-eda-sch{color:#0159e3}to{-webkit-transform:rotate(1turn)}.attrarea .custom .line>div:first-child,.tree-icon.icon-eda-eelib,.tree-icon.icon-eda-sch{background:none}.window input:focus,.window select:focus{background:#fff}#editSymbol{margin:5px 0}.one-time-tip{background:rgba(0,0,0,.6);color:#fff;display:block;left:450px;padding:10px;position:absolute;text-align:center;top:120px;z-index:4}.one-time-tip em{color:#ff0;font-size:20px}.one-time-tip .panel-tool{opacity:.6}.one-time-tip .panel-tool:hover{opacity:1}.one-time-tip .btn+div,.one-time-tip .btns{bottom:-8px;position:relative}label.label{cursor:pointer;display:inline-block;overflow:hidden}label.label>input{float:left;margin-right:5px;margin-top:0}label.label>span{float:left}#symbol-wizard-dlg .pin-wizard-content{padding-left:0}#symbol-wizard-dlg .pin-wizard-content .gray-dialog-border{padding:16px;position:relative}#symbol-wizard-dlg .pin-wizard-content .content-layer{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;padding-bottom:16px}#symbol-wizard-dlg .pin-wizard-content .content-layer .layer-title{margin-right:12px}#symbol-wizard-dlg .pin-wizard-content .content-layer .layer-input{display:inline-block;min-height:14px;min-width:14px;position:relative}#symbol-wizard-dlg .pin-wizard-content .content-layer .layer-desc{text-indent:4px}#symbol-wizard-dlg #pin-wizard-table{min-height:130px;overflow:hidden;width:100%}#symbol-wizard-dlg #pin-wizard-table .contents input{padding-right:20px}#symbol-wizard-dlg .img{height:100px;margin-right:50px}#symbol-wizard-dlg .img img{height:100%}.dialog-button a.dlg-help-btn.l-btn,.messager-button a.dlg-help-btn.l-btn,.messager-button a.l-btn-help.l-btn{color:#2875ec;padding-right:5px}.dialog-button .icon-eda-help3,.messager-button .icon-eda-help3{font-size:20px!important}.dialog-button a.dlg-help-btn span.l-btn-left,.messager-button a.dlg-help-btn span.l-btn-left{padding-left:5px}#floatingInfoPanel{background:hsla(0,0%,100%,.5);border-radius:5px;display:none;font-size:15px;padding:20px;position:absolute}#floatingInfoPanel span.bold{font-weight:700}#editor-start-page a.btn-disabled,.common-btn-disabled{background:#ddd!important;border-color:#d1d1d1!important;color:#ada9a9!important;cursor:default}.layout-toggler-manager{background:#e0e0e0 ");W.push("url(");W.push(JSON.stringify(wmt()));W.push(")");W.push(";border:none;cursor:row-resize;font-size:1px;height:4px;margin:0;overflow:hidden;padding:0;position:relative;width:100%;z-index:1}.layout-toggler-manager>div{background:#eee;border:1px solid #796c6c;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;height:3px;left:50%;margin-left:-25px;overflow:hidden;padding:0;position:absolute;width:50px;z-index:1}.layout-toggler-manager.close,.layout-toggler-manager.dragging,.layout-toggler-manager:hover{background:#d1d1d1 ");W.push("url(");W.push(JSON.stringify(wmt()));W.push(")");W.push(';visibility:visible}.layout-toggler-manager.close>div,.layout-toggler-manager:hover>div{display:block}#footprint_r_g text{fill:#fff}.tab[show-to],.tab[show-to].active{background:#dae4fd}.panel.window .toggle-size{background:#cc876d;border-radius:3px;color:#fff;cursor:pointer;font-size:16px}.panel.window .toggle-size:hover{background:#d64d1a}#net-choose-dialog{position:relative}#net-choose-dialog li{font-size:12px;list-style:none}#net-choose-dialog li+li{margin-top:16px}#net-choose-dialog li .title{margin:0 0 10px;word-break:break-all}#net-choose-dialog li .net-v{word-break:break-all}#net-choose-dialog li .merge-option-layer{display:flow-root}#net-choose-dialog li .merge-option-layer .label-item{float:left;line-height:1;margin-bottom:5px;margin-right:16px}#net-choose-dialog .dialog-tip{padding-bottom:8px}.hightlight{background:var(--common-bg-color-highLight-item)}@-webkit-keyframes background-blink{0%,to{background-color:var(--common-bg-color-highLight-item)}50%{background-color:transparent}}@-moz-keyframes background-blink{0%,to{background-color:var(--common-bg-color-highLight-item)}50%{background-color:transparent}}@keyframes background-blink{0%,to{background-color:var(--common-bg-color-highLight-item)}50%{background-color:transparent}}.blinking-background{-webkit-animation:background-blink .8s ease-in-out 3;-moz-animation:background-blink .8s ease-in-out 3;animation:background-blink .8s ease-in-out 3;display:inline-block}.disabled,button[disabled]{cursor:not-allowed!important}#bottomBar,#bottomBarBox{height:100%!important;overflow:hidden}#bottomBar .type-list,#bottomBarBox .type-list{border:1px solid var(--common-border-color-1);height:-webkit-calc(100% - 34px);height:-moz-calc(100% - 34px);height:calc(100% - 34px)}#bottomBar .type-list .cell.checkbox,#bottomBarBox .type-list .cell.checkbox{-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end}#bottomBar .switch-bar,#bottomBarBox .switch-bar{padding-bottom:1px}#bottomBar #findTypeLog,#bottomBarBox #findTypeLog{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding:5px 0 0 5px;position:relative}#bottomBar #findTypeLog #find-grid-parent,#bottomBarBox #findTypeLog #find-grid-parent{float:left;height:-webkit-calc(100% - 35px);height:-moz-calc(100% - 35px);height:calc(100% - 35px);overflow:auto;overflow-y:hidden;width:-webkit-calc(100% - 220px);width:-moz-calc(100% - 220px);width:calc(100% - 220px)}#bottomBar #findTypeLog #find-grid-parent #find-grid,#bottomBarBox #findTypeLog #find-grid-parent #find-grid{height:100%}#bottomBar #findTypeLog .left-choose,#bottomBarBox #findTypeLog .left-choose{float:left;height:-webkit-calc(100% - 33px);height:-moz-calc(100% - 33px);height:calc(100% - 33px);margin-right:10px;position:relative;width:200px}#bottomBar #findTypeLog .left-choose:after,#bottomBarBox #findTypeLog .left-choose:after{border-right:1px solid var(--common-border-color-1);content:"";display:block;height:101%;position:absolute;right:-5px;top:0;width:1px}#bottomBar #findTypeLog .left-choose button,#bottomBarBox #findTypeLog .left-choose button{margin-bottom:5px;width:100%}#bottomBar #findTypeLog .left-choose ul,#bottomBarBox #findTypeLog .left-choose ul{border:1px solid #d9d9d9;height:-webkit-calc(100% - 35px);height:-moz-calc(100% - 35px);height:calc(100% - 35px);list-style:none}#bottomBar #findTypeLog .left-choose ul li,#bottomBarBox #findTypeLog .left-choose ul li{cursor:pointer;padding:5px 10px}#bottomBar #findTypeLog .left-choose ul li.active,#bottomBarBox #findTypeLog .left-choose ul li.active{background-color:#e6f7ff;color:#1890ff}#bottomBar .q-grid-box .header+div,#bottomBarBox .q-grid-box .header+div{max-height:-webkit-calc(100% - 25px)!important;max-height:-moz-calc(100% - 25px)!important;max-height:calc(100% - 25px)!important}#bottomBar .box,#bottomBarBox .box{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;-webkit-justify-content:space-around;justify-content:space-around}#bottomBar .box,#bottomBar .box *,#bottomBarBox .box,#bottomBarBox .box *{-moz-box-sizing:border-box;box-sizing:border-box}#bottomBar .box .tabs,#bottomBar .box .tabs li.tabs-selected,#bottomBarBox .box .tabs,#bottomBarBox .box .tabs li.tabs-selected{-moz-box-sizing:content-box;box-sizing:content-box}#bottomBar .box .tabs-header,#bottomBar .box .tabs-panels,#bottomBar .box .tabs-wrap,#bottomBarBox .box .tabs-header,#bottomBarBox .box .tabs-panels,#bottomBarBox .box .tabs-wrap{width:100%!important}#bottomBar .box>.box-item-left,#bottomBarBox .box>.box-item-left{-webkit-flex-shrink:0;flex-shrink:0;padding:20px;width:240px}#bottomBar .box>.box-item-center,#bottomBarBox .box>.box-item-center{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;margin-left:10px;margin-top:8px;overflow:auto;position:relative}#bottomBar .box>.box-item-center .q-grid-box,#bottomBarBox .box>.box-item-center .q-grid-box{-webkit-user-select:initial;-moz-user-select:initial;user-select:auto}#bottomBar .box>.box-item-center div.datagrid-header,#bottomBarBox .box>.box-item-center div.datagrid-header{background:#ddd}#bottomBar .box>.box-item-center>.tabs-form,#bottomBarBox .box>.box-item-center>.tabs-form{height:33px;left:0;padding:4px 0 0;position:absolute;top:-4px}#bottomBar .box>.box-item-center>.tabs-form>*,#bottomBarBox .box>.box-item-center>.tabs-form>*{vertical-align:middle}#bottomBar .box>.box-item-center>.tabs-form.left,#bottomBarBox .box>.box-item-center>.tabs-form.left{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding-top:2px;top:-6px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;border-bottom:1px solid #d1d1d1}#bottomBar .box>.box-item-center>.tabs-form.left label,#bottomBarBox .box>.box-item-center>.tabs-form.left label{margin-right:8px}#bottomBar .box>.box-item-center>.tabs-form.right,#bottomBarBox .box>.box-item-center>.tabs-form.right{left:auto;right:3px}#bottomBar .box>.box-item-center>.tabs-form.right button,#bottomBarBox .box>.box-item-center>.tabs-form.right button{padding:2px 8px}#bottomBar .box>.box-item-center.no-belong-box .belong-box,#bottomBar .box>.box-item-center.no-form-box .form-box,#bottomBarBox .box>.box-item-center.no-belong-box .belong-box,#bottomBarBox .box>.box-item-center.no-form-box .form-box{display:none}#bottomBar .box>.box-item-center .form-box,#bottomBarBox .box>.box-item-center .form-box{margin:8px 8px 0 0;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}#bottomBar .box>.box-item-center .form-box>*,#bottomBarBox .box>.box-item-center .form-box>*{float:left;vertical-align:middle}#bottomBar .box>.box-item-center .form-box>:not(.belong-box),#bottomBarBox .box>.box-item-center .form-box>:not(.belong-box){margin-bottom:10px}#bottomBar .box>.box-item-center .form-box label,#bottomBarBox .box>.box-item-center .form-box label{line-height:22px;margin:0 8px 10px 10px}#bottomBar .box>.box-item-center .form-box label:first-child,#bottomBarBox .box>.box-item-center .form-box label:first-child{margin-left:0}#bottomBar .box>.box-item-center .form-box:after,#bottomBarBox .box>.box-item-center .form-box:after{clear:both;content:"";display:block}#bottomBar .box>.box-item-center .tabs-header,#bottomBarBox .box>.box-item-center .tabs-header{padding-left:240px}#bottomBar .box>.box-item-center .tabs-panels,#bottomBarBox .box>.box-item-center .tabs-panels{height:-webkit-calc(100% - 27px)!important;height:-moz-calc(100% - 27px)!important;height:calc(100% - 27px)!important;position:relative;width:100%!important}#bottomBar .box>.box-item-center .datagrid-view2 .datagrid-body,#bottomBarBox .box>.box-item-center .datagrid-view2 .datagrid-body{height:-webkit-calc(100% - 24px)!important;height:-moz-calc(100% - 24px)!important;height:calc(100% - 24px)!important}#bottomBar .box>.box-item-center>.tabs-form select[name=FOLDER],#bottomBar .box>.box-item-center>.tabs-form select[name=LIBTYPE],#bottomBarBox .box>.box-item-center>.tabs-form select[name=FOLDER],#bottomBarBox .box>.box-item-center>.tabs-form select[name=LIBTYPE]{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}#bottomBar .box>.box-item-center .datagrid-body,#bottomBar .box>.box-item-center .datagrid-footer,#bottomBar .box>.box-item-center .datagrid-header,#bottomBar .box>.box-item-center .datagrid-view2,#bottomBarBox .box>.box-item-center .datagrid-body,#bottomBarBox .box>.box-item-center .datagrid-footer,#bottomBarBox .box>.box-item-center .datagrid-header,#bottomBarBox .box>.box-item-center .datagrid-view2{width:100%!important}#bottomBar .box>.box-item-center .datagrid-view,#bottomBar .box>.box-item-center .datagrid-view2,#bottomBar .box>.box-item-center .panel,#bottomBar .box>.box-item-center .panel-body,#bottomBarBox .box>.box-item-center .datagrid-view,#bottomBarBox .box>.box-item-center .datagrid-view2,#bottomBarBox .box>.box-item-center .panel,#bottomBarBox .box>.box-item-center .panel-body{height:100%!important;width:100%!important}#bottomBar .box>.box-item-center .panel-body,#bottomBarBox .box>.box-item-center .panel-body{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}#bottomBar .box>.box-item-center .panel-body .panel.datagrid,#bottomBarBox .box>.box-item-center .panel-body .panel.datagrid{max-height:-webkit-calc(100% - 40px);max-height:-moz-calc(100% - 40px);max-height:calc(100% - 40px)}#bottomBar .box>.box-item-center .panel-body .flex-box,#bottomBarBox .box>.box-item-center .panel-body .flex-box{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}#bottomBar .box>.box-item-right,#bottomBarBox .box>.box-item-right{-moz-box-sizing:border-box;box-sizing:border-box;-webkit-flex-shrink:0;flex-shrink:0;height:100%;overflow-y:auto;padding:5px;position:relative;width:320px}#bottomBar .box>.box-item-right .loading,#bottomBarBox .box>.box-item-right .loading{display:none;font-size:24px;left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}#bottomBar .box>.box-item-right.loading-box>:not(.loading),#bottomBarBox .box>.box-item-right.loading-box>:not(.loading){display:none}#bottomBar .box>.box-item-right.loading-box>.loading,#bottomBarBox .box>.box-item-right.loading-box>.loading{display:block}#bottomBar .box>.box-item-right.loading:after,#bottomBarBox .box>.box-item-right.loading:after{content:"\\e97f"}#bottomBar .box.log-box,#bottomBarBox .box.log-box{display:block}#bottomBar .input-item,#bottomBarBox .input-item{margin-bottom:20px;margin-right:5px}#bottomBar .input-item input,#bottomBarBox .input-item input{margin-top:0;vertical-align:middle}#bottomBar .input-item select,#bottomBarBox .input-item select{min-width:75px}#bottomBar .input-item button,#bottomBarBox .input-item button{height:28px}#bottomBar .input-item>.input-block,#bottomBarBox .input-item>.input-block{display:block;margin-top:5px}#bottomBar .input-item>.input-block>input,#bottomBar .input-item>.input-block>select,#bottomBarBox .input-item>.input-block>input,#bottomBarBox .input-item>.input-block>select{width:158px}#bottomBar .datagrid-view *,#bottomBarBox .datagrid-view *{-moz-box-sizing:content-box;box-sizing:content-box}#bottomBar .datagrid-body .datagrid-cell,#bottomBarBox .datagrid-body .datagrid-cell{text-overflow:ellipsis;white-space:nowrap}#bottomBar .primary-btn,#bottomBarBox .primary-btn{background:#1890ff;border:none;border-radius:2px;color:#fff;display:inline-block}#bottomBar .primary-btn:hover,#bottomBarBox .primary-btn:hover{background:#557ddb}#bottomBar .blue-btn,#bottomBarBox .blue-btn{border:none;color:inherit;display:inline-block;outline:none}#bottomBar .blue-btn:active,#bottomBarBox .blue-btn:active{background:inherit}#bottomBar a.link,#bottomBarBox a.link{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;display:inline-block;font-size:12px;line-height:20px;min-width:72px;padding:0 8px;text-align:center;text-decoration:none}#bottomBar a.link:hover,#bottomBarBox a.link:hover{border:1px solid #1890ff;color:#096dd9}#bottomBar .empty-table-content,#bottomBarBox .empty-table-content{height:100%}#bottomBar .easyui-tabs,#bottomBarBox .easyui-tabs{height:100%!important;width:100%!important}#bottomBar td[field=isFavorite],#bottomBarBox td[field=isFavorite]{cursor:pointer}#bottomBar .box-item-right,#bottomBarBox .box-item-right{-moz-box-sizing:border-box;box-sizing:border-box;-webkit-flex-shrink:0;flex-shrink:0;height:100%;overflow-y:auto;padding:5px;position:relative;width:320px}#bottomBar .box-item-right .loading,#bottomBarBox .box-item-right .loading{display:none;font-size:24px;left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}#bottomBar .box-item-right.loading-box>.loading,#bottomBarBox .box-item-right.loading-box>.loading{display:block}#bottomBar .box-item-right.loading-box>:not(.loading),#bottomBar .box-item-right.only-s-view [data-title=D2],#bottomBar .box-item-right.only-s-view [data-title=D3],#bottomBarBox .box-item-right.loading-box>:not(.loading),#bottomBarBox .box-item-right.only-s-view [data-title=D2],#bottomBarBox .box-item-right.only-s-view [data-title=D3]{display:none}#bottomBar .box-item-right>.item-top,#bottomBarBox .box-item-right>.item-top{margin:0 0 5px}#bottomBar .box-item-right>.item-top button,#bottomBarBox .box-item-right>.item-top button{height:28px}#bottomBar .box-item-right>.item-top button:first-child,#bottomBarBox .box-item-right>.item-top button:first-child{width:200px}#bottomBar .box-item-right>.item-top button.selected,#bottomBarBox .box-item-right>.item-top button.selected{background:#1890ff;border-color:#1890ff;color:#fff}#bottomBar .box-item-right.only-s-view>.item-top button:first-child,#bottomBarBox .box-item-right.only-s-view>.item-top button:first-child{width:260px}#bottomBar .box-item-right>.item-bottom,#bottomBarBox .box-item-right>.item-bottom{height:26px;margin:5px 0 0;width:100%}#bottomBar .box-item-right .item-view,#bottomBarBox .box-item-right .item-view{border:1px solid #ccc;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-calc(100% - 66px);height:-moz-calc(100% - 66px);height:calc(100% - 66px);overflow:hidden;width:100%}#bottomBar .box-item-right .item-view .view,#bottomBarBox .box-item-right .item-view .view{width:50%;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;display:none;flex-grow:1;position:relative}#bottomBar .box-item-right .item-view .view img,#bottomBarBox .box-item-right .item-view .view img{background-color:#000;height:100%;position:absolute;width:100%}#bottomBar .box-item-right .item-view .view.show,#bottomBarBox .box-item-right .item-view .view.show{display:block}#bottomBar .box-item-right:not(.no-img) .item-view .view.show,#bottomBarBox .box-item-right:not(.no-img) .item-view .view.show{cursor:move}#bottomBar .box-item-right.no-img .item-view .view[data-title=S],#bottomBarBox .box-item-right.no-img .item-view .view[data-title=S]{background:#ccc!important}#bottomBar .box-item-right.no-img .item-view .view[data-title=D2],#bottomBarBox .box-item-right.no-img .item-view .view[data-title=D2]{background:#deb887!important}#bottomBar .box-item-right.no-img .item-view .view[data-title=D3],#bottomBarBox .box-item-right.no-img .item-view .view[data-title=D3]{background:#639!important}#bottomBar .box-item-right.no-img .item-view .view img,#bottomBarBox .box-item-right.no-img .item-view .view img{display:none}#bottomBar .disabled,#bottomBar button[disabled],#bottomBarBox .disabled,#bottomBarBox button[disabled]{cursor:not-allowed}#bottomBar .pagination-box,#bottomBarBox .pagination-box{-moz-box-sizing:border-box;box-sizing:border-box;height:32px;padding:6px;position:relative}#bottomBar .default-pagination,#bottomBarBox .default-pagination{-webkit-align-self:center;align-self:center;-webkit-flex-shrink:0;flex-shrink:0;z-index:9999}#bottomBar select[name],#bottomBarBox select[name]{height:22px;width:154px}#bottomBar button.icon-btn.icon-eda-refresh,#bottomBarBox button.icon-btn.icon-eda-refresh{font-size:16px;margin:0 8px;padding:0}#bottomBar .tr-menu-item-extend,#bottomBarBox .tr-menu-item-extend{margin:0}#bottomBar .comm-list-item,#bottomBar .tr-menu-item-folder,#bottomBar .tr-menu-item-leaf,#bottomBarBox .comm-list-item,#bottomBarBox .tr-menu-item-folder,#bottomBarBox .tr-menu-item-leaf{height:24px;white-space:nowrap}#bottomBar .tr-menu-folder-exticon-wrapper,#bottomBarBox .tr-menu-folder-exticon-wrapper{-webkit-flex-shrink:0;flex-shrink:0}#personalCBBTable,#personalComponentTable{margin-top:10px}.log-box{-moz-box-sizing:border-box;box-sizing:border-box;height:-webkit-calc(100% - 5px);height:-moz-calc(100% - 5px);height:calc(100% - 5px);overflow:auto;padding:0 10px;position:relative;top:5px;-webkit-user-select:text;-moz-user-select:text;user-select:text;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.log-box>.easyui-tabs{padding-top:8px}.log-box>.easyui-tabs>.tabs-header{padding-left:10px;position:relative}.log-box>.easyui-tabs>.tabs-header:before{border-bottom:1px solid #d1d1d1;content:"";display:inline-block;height:24px;left:0;position:absolute;width:10px}.log-box>.easyui-tabs>.tabs-panels{height:-webkit-calc(100% - 27px)!important;height:-moz-calc(100% - 27px)!important;height:calc(100% - 27px)!important}.log-box>.easyui-tabs>.tabs-panels .panel,.log-box>.easyui-tabs>.tabs-panels .panel-body{height:100%!important;width:100%!important}.log-box>.easyui-tabs>.tabs-panels .panel-body{padding:0 5px}.log-box .log-show{height:0;min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content}.log-box .log-scroll{padding:0 5px}.log-container{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-calc(100% - 31px);height:-moz-calc(100% - 31px);height:calc(100% - 31px)}.log-container .log-container-left{border-right:thin solid var(--common-border-color-1);-webkit-flex-shrink:0;flex-shrink:0;min-width:150px}.log-container .log-container-left button:first-child{margin-right:5px}.log-container .log-container-left button{width:96px}.log-container .log-btns{padding:5px}.log-container .log-category{border:thin solid var(--border-color-layout_toggler);border-bottom:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);height:-webkit-calc(100% - 42px);height:-moz-calc(100% - 42px);height:calc(100% - 42px);margin:0 5px;min-width:160px;overflow:auto}.log-container .log-category .tr-menu-item-content{width:100%;-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;justify-content:normal}.log-container .log-category .tr-menu-item-content .tr-menu-item-text{width:auto}.log-container .log-box{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.log{cursor:text;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;align-items:flex-start;height:16px;line-height:16px;padding:5px 0;white-space:nowrap;word-break:break-all}.log.grey-bg{background-color:var(--common-bg-color-1);color:var(--common-font-color)}.log.error,.log.fatalError{color:red}.log.warn{color:orange}.log.openProject{color:#39f}.log.info i{color:#888}.log.find .timestamp,.log.replace .timestamp{visibility:hidden}.log .timestamp{color:grey;font-size:12px;margin-right:5px;width:120px;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;-webkit-flex-shrink:0;flex-shrink:0}.log .content{width:-webkit-calc(100% - 120px);width:-moz-calc(100% - 120px);width:calc(100% - 120px)}.log .link{color:#39f;cursor:pointer;display:inline-block;max-width:30rem;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.log .link.clicked{color:#f0f;text-decoration:underline;text-decoration:#f0f underline}.log .link:hover{color:#096dd9;text-decoration:underline;text-decoration:#096dd9 underline}#organization{display:inline-block;max-width:160px;overflow:hidden;position:relative;text-overflow:ellipsis;top:2px;white-space:nowrap;width:100%}iframe.for3dview{pointer-events:none}.for3dviewdiv>.icon-eda-refresh{bottom:0;cursor:pointer;font-size:20px;left:0;position:absolute}#settingLanguage{border:1px solid #d9d9d9;-moz-box-sizing:border-box;box-sizing:border-box;height:100%;list-style:none;overflow:auto;padding-left:0}#settingLanguage li{line-height:22px;margin-bottom:8px;padding-left:8px}#settingLanguage li:hover{background:#bde}#settingLanguage li:not(.selected){cursor:pointer}#settingLanguage li.selected{background:#1890ff;color:#fff}#theme-tbody select{border-radius:2px;height:25px;width:85%}#theme-tbody tr:first-child{width:20%}#theme-tbody .td-color{cursor:pointer}#theme-tbody .td-color span{vertical-align:middle}#theme-tbody td{position:relative}#theme-tbody td span{font-family:icomoon!important;line-height:22px}#theme-tbody td.active:before{color:#40a9ff;position:absolute;right:2px;top:4px}.dialog-theme-tab{background:#f9f9f9;-moz-box-sizing:border-box;box-sizing:border-box;display:none;height:100%;left:0;padding:24px;position:absolute;top:0;width:100%;z-index:1}.system-layout .btn{font-size:14px;height:50px;line-height:50px;width:100%}.system-layout .btn .btnText{display:inline-block;margin-right:30px;text-align:right;width:90px}.system-save{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding:16px}.system-save fieldset{border:0}.system-save .line-h{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.system-save .line-h input{width:83px}.system-save .line-h .input-wrap>input{max-width:128px}.input-wrap{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:22px;line-height:20px;min-width:150px}.input-wrap>input{-webkit-flex-shrink:1;flex-shrink:1;min-width:60px;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.input-wrap>:not(:first-child){border-bottom-left-radius:0!important;border-top-left-radius:0!important}.input-wrap>:not(:last-child){border-bottom-right-radius:0!important;border-top-right-radius:0!important}.input-wrap>.input-addon{background-color:#f1f1f1;border:1px solid #d9d9d9;border-left:none;border-radius:2px;color:#bfbfbf;-webkit-flex-shrink:0;flex-shrink:0;padding:0 10px;text-align:center}.btn .selectedBtn{height:16px;width:16px}.btn .bText{margin-left:3px;margin-right:50px}#panelThemeColorTable tr>td,#themeColorTable tr>td,.system-setting-table tr>td{cursor:pointer}#panelThemeColorTable tr th,#themeColorTable tr th,.system-setting-table tr th{background:var(--bg-color-table-header)}#panelThemeColorTable td,#panelThemeColorTable th,#themeColorTable td,#themeColorTable th,.system-setting-table td,.system-setting-table th{border:1px solid var(--border-color-table-body);height:24px;padding:0 6px}#panelThemeColorTable .not-allowed,#themeColorTable .not-allowed,.system-setting-table .not-allowed{background:#f1f1f1;background-clip:padding-box;cursor:not-allowed}.theme-color{border:1px solid #ccc;border-radius:4px;color:transparent!important;height:16px;margin-left:8px;outline:none;vertical-align:middle;width:18px}#canvas-primitive-table th,#themeColorTable tr th{border-bottom:initial;border-top:initial;position:sticky;top:0;z-index:9}#themeColorTable tr th:before{top:0}#themeColorTable tr th:after,#themeColorTable tr th:before{background-color:#e3e3e3;content:"";display:block;height:1px;left:0;position:absolute;right:0}#themeColorTable tr th:after{bottom:0}#themeColorTable #theme-tbody tr:first-child td{border-top:initial}.setThemeStyle{-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.setThemeStyle div.txt_title{text-align:right}.setThemeStyle div.font-item{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.setThemeStyle select.font-style-select{vertical-align:center;width:100%}.setThemeStyle .fs-item{border:1px solid transparent;cursor:pointer;display:inline-block;font-size:16px;line-height:20px;margin-right:8px;text-align:center;width:20px}.setThemeStyle .fs-item.selected{border-color:#1890ff}.setThemeStyle .fs-item.selected:before{color:#1890ff}.setThemeStyle .fs-item:hover{border-color:#1890ff}#setThemeFontStyle .font-item+.font-item{margin-top:10px}#setThemeFontStyle .txt_value,#setThemeLineStyle .txt_value{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}#setThemeFontStyle .txt_value input,#setThemeFontStyle .txt_value select,#setThemeLineStyle .txt_value input,#setThemeLineStyle .txt_value select{width:100%}#optionsArea{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-flow:row wrap;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-flow:row wrap;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-top:8px}#optionsArea .optionBlock{margin:8px 8px 8px 0;width:30%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;flex:0 1 auto}#selectArea{padding:16px}#selectArea .optionBlock input{top:2px}#theme-tbody .not-allowed{background:#f1f1f1;background-clip:padding-box;cursor:not-allowed}.system-hotkey #dlgHotkey{border:1px solid #ccc;overflow-x:hidden;padding-bottom:4px}.openProjectDialog,.projectSaveAsLocalDialog{padding:0 20px 20px;width:600px}.failBlockSymbolDiv,.failPageDiv,.failSchematicDiv,.failSymbolDiv{display:none}.openProjectDialog button{margin-top:20px}.blankIframeDiv{visibility:hidden}#sheet_template_refresh{cursor:pointer;font-size:18px;font-weight:700}.newProjectPath{display:none}.projectSaveAsLocalDialog{background-color:#fff}.projectSaveAsLocalDialog .saveProjectInfo{padding:11px}.projectSaveAsLocalDialog table{max-height:100px;overflow:auto;width:100%}.projectSaveAsLocalDialog input{width:100%}.projectSaveAsLocalDialog tr>td:first-child{padding-right:10px;text-align:right;width:46px}.projectSaveAsLocalDialog tr>td:nth-child(2){width:470px}.projectSaveAsLocalDialog .choosePathNtn{font-size:12px;left:572px;margin:0;padding:3px 0;position:absolute;top:109px;width:80px}.projectSaveAsLocalDialog .fileExtension{background-color:#ddd;border-bottom-right-radius:5px;border-top-right-radius:5px;height:24px;line-height:24px;padding:0 6px;text-align:center}.projectSaveAsLocalDialog .saveAsLocalFileName{border-bottom-right-radius:0;border-top-right-radius:0;height:24px}.projectSaveAsLocalDialog .saveProjectFooter{text-align:right}#dlgArrayAttribute .inputRow{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:16px}#dlgArrayAttribute .inputRow span{-webkit-flex-basis:130px;flex-basis:130px;text-align:right}#dlgArrayAttribute .inputRow input[type=text]{margin-left:16px}#dlgArrayAttribute .inputRow:last-child{margin-bottom:0}.system-save,.system-schematic{height:100%;padding:8px 16px;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;overflow-y:auto}.system-save,.system-save .line-h,.system-schematic,.system-schematic .line-h{-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.system-save .line-h,.system-schematic .line-h{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;line-height:24px!important;margin-bottom:16px;width:100%}.system-save .line-h .input-wrap .input-addon,.system-schematic .line-h .input-wrap .input-addon{display:inline-block;height:24px}.line-h .test-title{display:inline-block;margin-right:16px;text-align:left;width:184px}.line-h .radio-box{display:inline-block;margin-right:30px;text-align:left;width:80px}.line-h .company{background:#f1f1f1;color:#bfbfbf;display:inline-block;text-align:center;width:30px}.line-h .drop-down-box{border:1px solid #d9d9d9;border-radius:3px;display:inline-block;height:22px;line-height:22px}.line-h .drop-down-box .drop-down{border:0;border-right:1px solid #d9d9d9;float:left;opacity:1;width:50px}#SystemItems{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;overflow:hidden;padding-left:16px;position:relative;width:100%}.attr-reset{background-position:50%;background-size:10px 10px;cursor:pointer;display:inline-block;-webkit-flex-shrink:0;flex-shrink:0;height:18px;line-height:18px;text-align:center;vertical-align:middle;width:18px}.attr-reset:before{color:#000;font-weight:700}.wrapDlg{padding:16px}.wrapDlg .inpBtn{display:inline-block;margin-right:50px;width:130px}.wrapDlg .inpText{display:inline-block}.wrapDlg .des,.wrapDlg .inpText,.wrapDlg .rule{-moz-box-sizing:border-box;box-sizing:border-box}.wrapDlg .rule{border-style:solid;border-width:1px;margin:20px 0 0;padding-left:30px}.wrapDlg .moduleLine{-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:8px}.wrapDlg .inpEnter{border-radius:3px;display:inline-block;width:-webkit-calc(100% - 111px);width:-moz-calc(100% - 111px);width:calc(100% - 111px)}.wrapDlg .inpEnter input{border-radius:3px;height:28px;width:100%}.wrapDlg .moduleInfo{color:#000}#partManager{max-height:100%;min-height:100%;overflow:auto;padding:5px}#partManager .tab-title{cursor:pointer;font-size:14px}#partManager.close{height:50%!important}#sch-right-panel,#simulation-right-panel{height:100%;overflow-x:hidden;overflow-y:hidden}.attrlist-div{height:100%;overflow-x:hidden;overflow-y:auto}.accordion{cursor:pointer}#customToolbarDialog .wrap p{margin:0;padding:8px 0}#customToolbarDialog .toolbar-item{border:1px solid #e9e9e9;height:496px;padding:0 16px}#customToolbarDialog .toolbar-item legend{padding:0 4px}#customToolbarDialog .content{border:1px solid var(--common-border-color);border-top:none;height:492px;padding:8px 16px;width:100%}#customToolbarDialog .content .options-container{display:inline-block;vertical-align:top;width:45%}#customToolbarDialog .content .options-container .options-show{height:397px;overflow:auto;width:100%}#customToolbarDialog .content .middle-buttons-panel{display:inline-block;height:437px;width:9%}#customToolbarDialog .content .middle-buttons-panel .middle-button-container{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;margin-top:41px}#customToolbarDialog .content .middle-buttons-panel .middle-button-container img{margin:15px auto;width:12px}#customToolbarDialog .content .right-panel{display:inline-block;vertical-align:top;width:45%}#customToolbarDialog .content .right-panel .preview{height:397px;overflow-y:auto;width:100%}#customToolbarDialog .content .right-panel .order-button-group{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:27px}#customToolbarDialog .content .right-panel .order-button-group img{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}#customToolbarDialog .content .right-panel .order-button-group .arrow{border:1px solid #39f;border-radius:3px;display:inline-block;height:24px;position:relative;width:24px}#customToolbarDialog .content .drop-down-box{height:27px;width:100%}#customToolbarDialog .content .drop-down-box select{height:100%;width:100%}#customToolbarDialog .fieldset{border:1px solid var(--common-border-color);border-radius:2px;font-size:12px;line-height:22px;margin:4px 0;padding:8px 8px 16px 16px}#schematic_editor{border-bottom:1px solid #e9e9e9;font-size:0}#schematic_editor div[type]{background:#f1f1f1;border:1px solid #e9e9e9;border-bottom:none;bottom:-1px;-moz-box-sizing:content-box;box-sizing:content-box;cursor:pointer;display:inline-block;font-size:12px;line-height:24px;padding:0 24px;position:relative}#schematic_editor div[type]:not(:last-of-type){border-right:none}#schematic_editor div[type]>div{width:182px}#schematic_editor div.active{background:#fff;border-bottom:none;color:#39f;font-weight:700}#schematic_editor .tabs-wrap .tabs{width:100%}#exportBOMDlg li{list-style:none}#exportBOMDlg .tabs-header{background:none;border:none}#exportBOMDlg .tabs{width:100%}#exportBOMDlg input[name=filename]{border-bottom-left-radius:3px;border-top-left-radius:3px}#exportBOMDlg .container{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-size:12px;height:100%}#exportBOMDlg .attrs,#exportBOMDlg .normal{border:1px solid #d9d9d9;-moz-box-sizing:border-box;box-sizing:border-box}#exportBOMDlg .form .form-box{overflow:auto}#exportBOMDlg .attrs{border-left:none}#exportBOMDlg .attrs,#exportBOMDlg .normal{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}#exportBOMDlg .normal{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding:8px 8px 0 0}#exportBOMDlg .rule-container{height:-webkit-calc(100% - 50px);height:-moz-calc(100% - 50px);height:calc(100% - 50px);overflow:auto;padding:4px 0 0}#exportBOMDlg .rule-container>ul{overflow-x:auto}#exportBOMDlg .rule-container>ul li{padding:4px 0;position:relative;white-space:nowrap;width:100%}#exportBOMDlg .rule-container>ul li input,#exportBOMDlg .rule-container>ul li span{display:inline-block;top:10px}#exportBOMDlg .rule-container>ul li input[name=content],#exportBOMDlg .rule-container>ul li select[name=content],#exportBOMDlg .rule-container>ul li select[name=rule-list]{width:120px}#exportBOMDlg .rule-container>ul li select[name=rule-list]{margin-right:4px}#exportBOMDlg .rule-container>ul li.selected{background:#c5edfc!important}#exportBOMDlg .dialog-button>.import{margin-left:0}#exportBOMDlg span[class*=" icon-"]{background-size:12px 12px;-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%)}#altium-export-dlg div{line-height:20px}#altium-export-dlg .panel{-moz-box-sizing:border-box;box-sizing:border-box;font-size:12px;height:100%;overflow-x:hidden}.form .form-item{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:4px 0;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.form .form-label{margin-left:8px;max-width:110px;min-width:80px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.form .form-box{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;display:inline-block;flex-grow:1}.form .form-box#exportBOM{text-overflow:ellipsis;width:100%}#Convention table label.label{margin:0 6px 12px 0}#Advanced,#dlgCustomDeviceHead{height:518px}#Advanced .no-empty,#dlgCustomDeviceHead .no-empty{-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;-webkit-justify-content:space-around;justify-content:space-around;padding:8px}#Advanced .keys-filter,#dlgCustomDeviceHead .keys-filter{width:157px}#Advanced #attrKeys,#Advanced #headKeys,#dlgCustomDeviceHead #attrKeys,#dlgCustomDeviceHead #headKeys{border:1px solid #e7e7e7;-moz-box-sizing:border-box;box-sizing:border-box;height:100%;margin-top:10px;overflow-y:auto;width:157px}#Advanced #attrKeys li,#Advanced #headKeys li,#dlgCustomDeviceHead #attrKeys li,#dlgCustomDeviceHead #headKeys li{cursor:pointer;height:24px;line-height:24px;list-style:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#Advanced #attrKeys li.selected,#Advanced #headKeys li.selected,#dlgCustomDeviceHead #attrKeys li.selected,#dlgCustomDeviceHead #headKeys li.selected{background:#c5edfc}#Advanced .attrkeys-filter,#dlgCustomDeviceHead .attrkeys-filter{height:24px;position:relative;width:100%}#Advanced .attrkeys-filter p:first-child,#dlgCustomDeviceHead .attrkeys-filter p:first-child{height:inherit;left:0;position:absolute;top:0;width:inherit!important}#Advanced .attrkeys-filter p:first-child input:focus+span.icon,#dlgCustomDeviceHead .attrkeys-filter p:first-child input:focus+span.icon{color:#1890ff}#Advanced .attrkeys-filter p:first-child span.icon,#dlgCustomDeviceHead .attrkeys-filter p:first-child span.icon{position:absolute;right:8px;top:4px}#Advanced .attrkeys-filter .attrkeys-filter-main,#dlgCustomDeviceHead .attrkeys-filter .attrkeys-filter-main{background:#fff;border:1px solid #d9d9d9;display:none;left:0;padding:0;position:absolute;top:30px;width:100%;z-index:2}#Advanced .attrkeys-filter .attrkeys-filter-main li,#dlgCustomDeviceHead .attrkeys-filter .attrkeys-filter-main li{-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;line-height:22px;list-style:none;padding:0 8px;width:100%}#Advanced .attrkeys-filter .attrkeys-filter-main li:hover,#dlgCustomDeviceHead .attrkeys-filter .attrkeys-filter-main li:hover{background:#1890ff;color:#fff}#Advanced .operate,#dlgCustomDeviceHead .operate{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;padding:0 10px}#Advanced .operate p,#dlgCustomDeviceHead .operate p{border:1px solid #d9d9d9;border-radius:2px;height:16px;width:16px}#Advanced .operate p:first-child,#dlgCustomDeviceHead .operate p:first-child{margin-bottom:16px}#Advanced .operate #addAttrs,#Advanced .operate #addHeads,#Advanced .operate #reduceAttrs,#Advanced .operate #reduceHeads,#dlgCustomDeviceHead .operate #addAttrs,#dlgCustomDeviceHead .operate #addHeads,#dlgCustomDeviceHead .operate #reduceAttrs,#dlgCustomDeviceHead .operate #reduceHeads{text-align:center}#Advanced .operate #addAttrs span,#Advanced .operate #addHeads span,#dlgCustomDeviceHead .operate #addAttrs span,#dlgCustomDeviceHead .operate #addHeads span{display:inline-block;-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);transform:rotate(270deg)}#Advanced .operate #addAttrs span.disabled,#Advanced .operate #addHeads span.disabled,#dlgCustomDeviceHead .operate #addAttrs span.disabled,#dlgCustomDeviceHead .operate #addHeads span.disabled{-webkit-filter:invert(98%) sepia(5%) saturate(8%) hue-rotate(274deg) brightness(112%) contrast(70%);filter:invert(98%) sepia(5%) saturate(8%) hue-rotate(274deg) brightness(112%) contrast(70%)}#Advanced .operate #reduceAttrs span,#Advanced .operate #reduceHeads span,#dlgCustomDeviceHead .operate #reduceAttrs span,#dlgCustomDeviceHead .operate #reduceHeads span{display:inline-block;-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);transform:rotate(90deg)}#Advanced .operate #reduceAttrs span.disabled,#Advanced .operate #reduceHeads span.disabled,#dlgCustomDeviceHead .operate #reduceAttrs span.disabled,#dlgCustomDeviceHead .operate #reduceHeads span.disabled{-webkit-filter:invert(98%) sepia(5%) saturate(8%) hue-rotate(274deg) brightness(112%) contrast(70%);filter:invert(98%) sepia(5%) saturate(8%) hue-rotate(274deg) brightness(112%) contrast(70%)}#Advanced .operate span[class*=icon-],#dlgCustomDeviceHead .operate span[class*=icon-]{cursor:pointer;display:block;-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);font-size:14px;height:16px;width:16px}#Advanced .setting,#dlgCustomDeviceHead .setting{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;overflow:hidden}#Advanced .setting .setting-header,#dlgCustomDeviceHead .setting .setting-header{height:24px;line-height:24px;margin-bottom:8px}#Advanced .setting .setting-header span,#dlgCustomDeviceHead .setting .setting-header span{height:16px;vertical-align:middle;width:16px}#Advanced .setting .table-container,#dlgCustomDeviceHead .setting .table-container{height:-webkit-calc(100% - 30px);height:-moz-calc(100% - 30px);height:calc(100% - 30px);min-height:0!important;min-height:auto!important}#Advanced .setting .table-container .q-grid-scroll,#dlgCustomDeviceHead .setting .table-container .q-grid-scroll{max-height:-webkit-calc(100% - 25px)!important;max-height:-moz-calc(100% - 25px)!important;max-height:calc(100% - 25px)!important;overflow-y:auto;overflow-y:overlay}#Advanced .setting .table-container .header,#dlgCustomDeviceHead .setting .table-container .header{background:#d5dfe6!important}#Advanced .setting .table-container .header>th:not(:last-child),#dlgCustomDeviceHead .setting .table-container .header>th:not(:last-child){border-right:1px solid #fff}#Advanced .setting .table-container td,#Advanced .setting .table-container th,#dlgCustomDeviceHead .setting .table-container td,#dlgCustomDeviceHead .setting .table-container th{cursor:pointer;height:24px;line-height:24px;max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#Advanced .setting .table-container td tr>td[data-value=Number]~td,#Advanced .setting .table-container td tr>td[data-value=Quantity]+td,#dlgCustomDeviceHead .setting .table-container td tr>td[data-value=Number]~td,#dlgCustomDeviceHead .setting .table-container td tr>td[data-value=Quantity]+td{background:#bfbfbf;cursor:pointer}#Advanced .setting .table-container thead>td,#dlgCustomDeviceHead .setting .table-container thead>td{background:#f1f1f1}#Advanced .setting .table-container thead tr,#dlgCustomDeviceHead .setting .table-container thead tr{border-bottom:1px solid #e3e3e3}#Advanced .setting .table-container thead tr span,#dlgCustomDeviceHead .setting .table-container thead tr span{border-right:1px solid #e3e3e3;display:inline-block;height:18px;width:100%}#Advanced .setting .table-container tr:nth-child(odd),#dlgCustomDeviceHead .setting .table-container tr:nth-child(odd){background:#fff}#Advanced .setting .table-container tr:nth-child(2n),#dlgCustomDeviceHead .setting .table-container tr:nth-child(2n){background:#f5f7fa}#Advanced .setting .table-container input,#Advanced .setting .table-container select,#dlgCustomDeviceHead .setting .table-container input,#dlgCustomDeviceHead .setting .table-container select{border:1px solid #1890ff;-moz-box-sizing:border-box;box-sizing:border-box;height:22px}#Advanced .setting .table-container th:last-child>span,#dlgCustomDeviceHead .setting .table-container th:last-child>span{border-right:none}#Advanced .setting .table-container .disabled,#dlgCustomDeviceHead .setting .table-container .disabled{color:#bfbfbf;pointer-events:none}#Advanced table,#dlgCustomDeviceHead table{text-align:center}#Advanced .advanced-operate,#dlgCustomDeviceHead .advanced-operate{background:#ccc;display:inline-block;height:20px;line-height:20px;margin:0 4px;text-align:center;vertical-align:middle;width:20px}#Advanced .main select.selected,#Advanced .main tr.selected,#dlgCustomDeviceHead .main select.selected,#dlgCustomDeviceHead .main tr.selected{background:#c5edfc!important}#Advanced fieldset,#dlgCustomDeviceHead fieldset{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;overflow:hidden;padding:8px}#Advanced fieldset legend,#dlgCustomDeviceHead fieldset legend{padding:0 8px}#exportBOMDlg{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}#exportBOMDlg .panel{height:-webkit-calc(100% - 42px)!important;height:-moz-calc(100% - 42px)!important;height:calc(100% - 42px)!important;width:100%!important}#exportBOMDlg #Advanced{height:100%}#exportBOMDlg .dialog-content{height:100%!important;overflow:hidden;width:100%!important}#exportBOMDlg .form{height:100%;overflow:hidden}#exportBOMDlg .form .form-item{padding:0 0 16px}#exportBOMDlg .show{display:inline-block!important}#exportBOMDlg .hide{display:none!important}#exportBOMDlg .no-empty{padding:8px 8px 0}#exportBOMDlg #attrKeys{height:-webkit-calc(93% - 4px);height:-moz-calc(93% - 4px);height:calc(93% - 4px);margin-top:6px;width:160px}#exportBOMDlg #attrKeys .noResultText{padding:8px}#exportBOMDlg #attrKeys .attrTitle{font-size:14px;font-weight:700;height:24px;line-height:24px;padding:0 4px}#exportBOMDlg #attrKeys li{padding:0 16px;position:relative}#exportBOMDlg #attrKeys li input[type=checkbox]{top:5px}#exportBOMDlg .gray-dialog-border{border:initial;padding:0}#exportBOMDlg .attrTitle{font-size:14px;font-weight:700;height:24px;line-height:24px;padding:0 4px}#exportBOMDlg .setting #bom_table header{height:24px}#exportBOMDlg .setting #bom_table div[data-id=title]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#exportBOMDlg .setting #bom_table input,#exportBOMDlg .setting #bom_table select{-moz-box-sizing:border-box;box-sizing:border-box;height:20px;position:relative;top:1px}#exportBOMDlg .operate{padding:0 8px}#exportBOMDlg .operate p{-moz-box-sizing:border-box;box-sizing:border-box}#exportBOMDlg .operate span{left:-1px;position:relative;top:-1px}#exportBOMDlg .operate #reduceHeads span{top:-2px}#exportBOMDlg .form .form-box{position:relative}#dlgCustomDeviceHead{border:1px solid #e7e7e7;-moz-box-sizing:border-box;box-sizing:border-box}#dlgCustomDeviceHead .head-keys-wrap{border:1px solid #e7e7e7;height:395px;margin-top:8px;max-height:450px;overflow-x:auto;width:157px}#dlgCustomDeviceHead .head-keys-wrap #headKeys{border:initial;height:auto;margin-top:0;overflow-x:auto;width:100%}#dlgCustomDeviceHead .head-keys-wrap #headKeys li{height:26px;line-height:26px}#dlgCustomDeviceHead .operate{padding:initial;width:16px}#dlgCustomDeviceHead .no-empty{padding:12px 8px 8px 12px}#dlgCustomDeviceHead .setting{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-right:4px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}#dlgCustomDeviceHead .setting .table-container .q-grid-scroll{max-height:-webkit-calc(100% - 22px)!important;max-height:-moz-calc(100% - 22px)!important;max-height:calc(100% - 22px)!important;overflow-y:auto;overflow-y:overlay}#dlgCustomDeviceHead .dialog-content{border:1px solid #e7e7e7}#dlgCustomDeviceHead .q-grid-box .cell{border-bottom:2px solid #e7e7e7!important}#dlgCustomDeviceHead .q-grid-box .cell:last-child{border-bottom:1px solid #e7e7e7!important}#dlgCustomDeviceHead .q-grid-box .header{border-bottom:0 solid #e7e7e7!important}#dlgCustomDeviceHead .q-grid.body .cell:last-child{border-bottom:1px solid #e7e7e7!important}#dlgCustomDeviceHead #headTable{border:1px solid #e7e7e7;margin-right:4px;max-height:395px}.scopeWrap .easyui-combobox-select-droplist{max-height:170px}.triangle{border-color:#39f #39f transparent transparent;border-style:solid;border-width:5px;height:0;margin-left:-10px;margin-top:-12px;right:11px;top:0;width:0}#newPanelDlg .betaTip{color:red;left:16px;position:absolute;top:42px}#newPanelDlg .panel-table{border-collapse:collapse;border-spacing:0}#newPanelDlg .dlg-panel-type{-moz-box-sizing:border-box;box-sizing:border-box;max-width:380px;width:100%}#newPanelDlg .dlg-panel-type td{padding:8px 0}#newPanelDlg .dlg-panel-type td:last-of-type{padding-left:8px;padding-right:88px}#newPanelDlg .dlg-panel-type input,#newPanelDlg .dlg-panel-type select{height:24px}#newPanelDlg .dlg-panel-type input,#newPanelDlg .dlg-panel-type select,#newPanelDlg .dlg-panel-type textarea{margin:0 auto;width:100%}#newPanelDlg .dlg-panel-type textarea{height:64px}#newPanelDlg .dlg-panel-type textarea:-moz-placeholder,#newPanelDlg .dlg-panel-type textarea::-moz-placeholder{color:#777!important}#newPanelDlg .dlg-panel-type textarea::-moz-placeholder,#newPanelDlg .dlg-panel-type textarea::placeholder{color:#777!important}#newPanelDlg .newPanelDlg-table-label{max-width:110px;min-width:80px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.wrapper-ul{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.wrapper-ul em{font-style:normal}.wrapper-ul .content-layer{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.wrapper-ul .content-layer:not(:last-of-type){margin-bottom:14px}.wrapper-ul .content-layer input,.wrapper-ul .content-layer>select{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.wrapper-ul .content-layer .layer-title{font-weight:500;margin-right:14px;white-space:nowrap}.wrapper-ul .content-layer .attr-title{text-align:right;width:76px}.wrapper-ul .content-layer .key-title{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.wrapper-ul .content-layer .layer-main,.wrapper-ul .content-layer .layer-main .inline-content{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.wrapper-ul .content-layer .layer-main .inline-content{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.wrapper-ul .content-layer .layer-main .inline-content:not(:last-of-type){margin-bottom:14px}.wrapper-ul .content-layer .layer-main .inline-content .inline-layer{overflow:hidden;width:-webkit-calc(50% - 7px);width:-moz-calc(50% - 7px);width:calc(50% - 7px)}.wrapper-ul .content-layer .layer-main .inline-content .inline-layer:not(:last-of-type){margin-right:14px}.wrapper-ul .content-layer .layer-main .inline-content .inline-layer input{width:100%}.composition-info-dlg .composition-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;min-height:72px}.composition-info-dlg .wrapper-ul-advanced{display:none}.composition-info-dlg .wrapper-ul-common{display:block}.composition-info-dlg .mode-switch-btn{height:22px;margin-left:8px;max-width:120px;min-width:72px;padding:0}.composition-info-dlg .mode-switch-btn:after{content:"+"}.composition-info-dlg.composition-mode-advanced .wrapper-ul-common{display:none}.composition-info-dlg.composition-mode-advanced .wrapper-ul-advanced{display:block;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.composition-info-dlg.composition-mode-advanced .mode-switch-btn:after{content:"-"}#editor_start_use_page .content_tab .content{height:305px;min-height:305px;overflow:auto}#dlgUpdateComponent{padding:16px}#dlgUpdateComponent .panel,#dlgUpdateComponent .panel .dialog-content{width:100%!important}#dlgUpdateComponent .panel{height:-webkit-calc(100% - 44px);height:-moz-calc(100% - 44px);height:calc(100% - 44px)}#dlgUpdateComponent .panel .dialog-content{height:100%!important}#dlgUpdateComponent .panel .topTool{overflow:hidden}#dlgUpdateComponent .panel .topTool>div{float:left}#dlgUpdateComponent .panel .topTool .filterEl{display:inline-block;position:relative}#dlgUpdateComponent .panel .topTool .filterEl input,#dlgUpdateComponent .panel .topTool .filterEl select{width:124px}#dlgUpdateComponent .panel .topTool .filterEl .icon.searchIcon{cursor:pointer;height:12px;position:absolute;right:8px;top:5px;width:12px}#dlgUpdateComponent .panel .topTool .filterEl .icon.comm-fittinginput-clear{cursor:pointer;height:12px;position:absolute;right:25px;top:4px;width:12px}#dlgUpdateComponent .panel .topTool .filterEl .icon.comm-fittinginput-clear.comm-fittinginput-clear-hidden{display:none}#dlgUpdateComponent .panel .topTool .filterEl.el1,#dlgUpdateComponent .panel .topTool .filterEl.el2{margin-right:8px}#dlgUpdateComponent .panel .tabContainer{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-calc(100% - 22px);height:-moz-calc(100% - 22px);height:calc(100% - 22px);overflow:auto}#dlgUpdateComponent .panel .tabContainer .leftContent{-webkit-box-flex:2.5;-webkit-flex:2.5;-moz-box-flex:2.5;border:1px solid #d9d9d9;flex:2.5;margin-top:8px}#dlgUpdateComponent .panel .tabContainer .leftContent .filterOps{bottom:23px;position:absolute}#dlgUpdateComponent .panel .tabContainer .leftContent .filterOps div{display:inline-block}#dlgUpdateComponent .panel .tabContainer .leftContent .noticeSwitchContainer{bottom:23px;position:absolute;right:200px}#dlgUpdateComponent .panel .tabContainer .leftContent .noticeSwitchContainer.hidden{display:none}#dlgUpdateComponent .panel .tabContainer .leftContent #updateComponentTable{border-spacing:0;height:100%;max-height:100%;overflow-y:hidden!important}#dlgUpdateComponent .panel .tabContainer .leftContent #updateComponentTable .q-grid-box{border-top:none!important;overflow-y:visible!important;overflow-y:initial!important}#dlgUpdateComponent .panel .tabContainer .leftContent #updateComponentTable .q-grid-box div[data-cell-index="0"]{border-left:none!important}#dlgUpdateComponent .panel .tabContainer .leftContent #updateComponentTable .q-grid-box div[data-cell-index="9"]{border-right:none!important}#dlgUpdateComponent .panel .tabContainer .leftContent #updateComponentTable .q-grid-box .q-grid.body div.cell{margin-left:0!important}#dlgUpdateComponent .panel .tabContainer .leftContent #updateComponentTable .q-grid-box .q-grid.body div.cell:not(:first-child){border-left:none!important}#dlgUpdateComponent .panel .tabContainer .leftContent #updateComponentTable .q-grid-box .q-grid-scroll{height:-webkit-calc(100% - 24px);height:-moz-calc(100% - 24px);height:calc(100% - 24px);overflow-y:overlay}#dlgUpdateComponent .panel .tabContainer .leftContent #updateComponentTable .cell{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#dlgUpdateComponent .panel .tabContainer .leftContent #updateComponentTable .cell:not(.checkbox){display:inline-block}#dlgUpdateComponent .panel .tabContainer .rightContent{-webkit-box-flex:2;-webkit-flex:2;-moz-box-flex:2;flex:2}#dlgUpdateComponent .panel .tabContainer .rightContent #compareDeviceDataTable,#dlgUpdateComponent .panel .tabContainer .rightContent #compareFootprintDataTable,#dlgUpdateComponent .panel .tabContainer .rightContent #compareSymbolDataTable{border-spacing:0;height:100%;max-height:100%;overflow-y:hidden!important}#dlgUpdateComponent .panel .tabContainer .rightContent #compareDeviceDataTable .q-grid-box,#dlgUpdateComponent .panel .tabContainer .rightContent #compareFootprintDataTable .q-grid-box,#dlgUpdateComponent .panel .tabContainer .rightContent #compareSymbolDataTable .q-grid-box{border-top:none!important;overflow-y:visible!important;overflow-y:initial!important}#dlgUpdateComponent .panel .tabContainer .rightContent #compareDeviceDataTable .q-grid-box div[data-cell-index="1"],#dlgUpdateComponent .panel .tabContainer .rightContent #compareFootprintDataTable .q-grid-box div[data-cell-index="1"],#dlgUpdateComponent .panel .tabContainer .rightContent #compareSymbolDataTable .q-grid-box div[data-cell-index="1"]{border-left:none!important}#dlgUpdateComponent .panel .tabContainer .rightContent #compareDeviceDataTable .q-grid-box div[data-cell-index="0"],#dlgUpdateComponent .panel .tabContainer .rightContent #compareFootprintDataTable .q-grid-box div[data-cell-index="0"],#dlgUpdateComponent .panel .tabContainer .rightContent #compareSymbolDataTable .q-grid-box div[data-cell-index="0"]{border:none!important}#dlgUpdateComponent .panel .tabContainer .rightContent #compareDeviceDataTable .q-grid-box div[data-cell-index="3"],#dlgUpdateComponent .panel .tabContainer .rightContent #compareFootprintDataTable .q-grid-box div[data-cell-index="3"],#dlgUpdateComponent .panel .tabContainer .rightContent #compareSymbolDataTable .q-grid-box div[data-cell-index="3"]{border-right:none!important}#dlgUpdateComponent .panel .tabContainer .rightContent #compareDeviceDataTable .q-grid-box div[data-cell-index="4"],#dlgUpdateComponent .panel .tabContainer .rightContent #compareFootprintDataTable .q-grid-box div[data-cell-index="4"],#dlgUpdateComponent .panel .tabContainer .rightContent #compareSymbolDataTable .q-grid-box div[data-cell-index="4"]{margin-left:0!important}#dlgUpdateComponent .panel .tabContainer .rightContent #compareDeviceDataTable .q-grid-box .q-grid-scroll,#dlgUpdateComponent .panel .tabContainer .rightContent #compareFootprintDataTable .q-grid-box .q-grid-scroll,#dlgUpdateComponent .panel .tabContainer .rightContent #compareSymbolDataTable .q-grid-box .q-grid-scroll{height:-webkit-calc(100% - 24px);height:-moz-calc(100% - 24px);height:calc(100% - 24px);overflow-y:overlay}#dlgUpdateComponent .panel .tabContainer .rightContent #compareDeviceDataTable .cell,#dlgUpdateComponent .panel .tabContainer .rightContent #compareFootprintDataTable .cell,#dlgUpdateComponent .panel .tabContainer .rightContent #compareSymbolDataTable .cell{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#dlgUpdateComponent .panel .tabContainer .rightContent #compareDeviceDataTable .cell:not(.checkbox),#dlgUpdateComponent .panel .tabContainer .rightContent #compareFootprintDataTable .cell:not(.checkbox),#dlgUpdateComponent .panel .tabContainer .rightContent #compareSymbolDataTable .cell:not(.checkbox){display:inline-block}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:-webkit-calc(100% - 8px);height:-moz-calc(100% - 8px);height:calc(100% - 8px);margin-top:8px;overflow:hidden}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview{width:100%;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;flex:1}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion{border:1px solid #d9d9d9;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;float:left;margin-bottom:8px;margin-left:8px;min-height:45%;position:relative;width:47%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-flow:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-flow:column}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion .group-wrap,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion .group-wrap,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion .group-wrap,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion .group-wrap,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion .group-wrap,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion .group-wrap{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background-color:#f1f1f1}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion .title,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion .title,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion .title,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion .title,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion .title,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion .title{height:23px;line-height:23px;padding-left:22px}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion .ftp-op-resize,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion .ftp-op-resize,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion .ftp-op-resize,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion .ftp-op-resize,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion .ftp-op-resize,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion .ftp-op-resize{background-color:transparent;left:0;top:0}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion .ftp-op-resize div,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion .ftp-op-resize div,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion .ftp-op-resize div,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion .ftp-op-resize div,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion .ftp-op-resize div,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion .ftp-op-resize div{height:16px;width:16px}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion .ntnGroup,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion .ntnGroup,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion .ntnGroup,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion .ntnGroup,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion .ntnGroup,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion .ntnGroup{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:1px 3px 0 0;z-index:100}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion .ntnGroup button,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion .ntnGroup button,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion .ntnGroup button,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion .ntnGroup button,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion .ntnGroup button,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion .ntnGroup button{height:22px;min-width:22px;width:auto;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;padding:4px}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion .ntnGroup button.selected,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion .ntnGroup button.selected,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion .ntnGroup button.selected,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion .ntnGroup button.selected,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion .ntnGroup button.selected,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion .ntnGroup button.selected{background:#fff;border:1px solid #1890ff;color:#1890ff;outline:none}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion .ntnGroup button.selected:hover,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion .ntnGroup button.selected:hover,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion .ntnGroup button.selected:hover,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion .ntnGroup button.selected:hover,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion .ntnGroup button.selected:hover,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion .ntnGroup button.selected:hover{background:#fff;border-color:#1890ff}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion .ntnGroup button+button,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion .ntnGroup button+button,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion .ntnGroup button+button,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion .ntnGroup button+button,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion .ntnGroup button+button,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion .ntnGroup button+button{margin-left:1px}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion .content,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion .content,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion .content,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion .content,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion .content,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion .content{margin:3px;overflow:hidden}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion .content .view,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion .content .view,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion .content .view,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion .content .view,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion .content .view,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion .content .view{background-color:#e2e2e2;border:1px solid #d9d9d9;float:left;height:99%;overflow:hidden;position:relative;width:99%}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion .content .view img,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion .content .view img,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion .content .view img,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion .content .view img,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion .content .view img,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion .content .view img{position:absolute}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion .content .view .view-item,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion .content .view .view-item,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion .content .view .view-item,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion .content .view .view-item,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion .content .view .view-item,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion .content .view .view-item{height:100%}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion select,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion select,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion select,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion select,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion select,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion select{margin-bottom:3px;margin-left:3px;width:98%}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion #q-select-box .list>div,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion #q-select-box .list>div,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion #q-select-box .list>div,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion #q-select-box .list>div,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion #q-select-box .list>div,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion #q-select-box .list>div{overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .differentData,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .differentData,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .differentData{margin-left:8px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;border:1px solid #d9d9d9;flex:1;overflow:hidden;width:96%}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .differentData table,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .differentData table,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .differentData table{width:100%}#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion{height:95%}#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .curVersion .content,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview .lastVersion .content{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview.zoonInPreview{background-color:#fff;height:89%;left:0;position:absolute;top:36px;z-index:1}#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview.zoonInPreview .curVersion,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview.zoonInPreview .lastVersion{height:99%;width:49%}#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview.zoonInPreview .curVersion .ntnGroup,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview.zoonInPreview .lastVersion .ntnGroup{left:507px}#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview.zoonInPreview .curVersion .content,#dlgUpdateComponent .panel .tabContainer .rightContent .symbolCompareData .comparePreview.zoonInPreview .lastVersion .content{height:92%}#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion{height:97%}#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .curVersion .content,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview .lastVersion .content{height:91%}#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview.zoonInPreview{background-color:#fff;height:89%;left:0;position:absolute;top:36px;z-index:1}#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview.zoonInPreview .curVersion,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview.zoonInPreview .lastVersion{height:99%;width:49%}#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview.zoonInPreview .curVersion .ntnGroup,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview.zoonInPreview .lastVersion .ntnGroup{left:507px}#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview.zoonInPreview .curVersion .content,#dlgUpdateComponent .panel .tabContainer .rightContent .footprintCompareData .comparePreview.zoonInPreview .lastVersion .content{height:96%}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion{height:95%}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .curVersion .content,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview .lastVersion .content{height:83%}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview.zoonInPreview{background-color:#fff;height:89%;left:0;position:absolute;top:36px;z-index:1}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview.zoonInPreview .curVersion,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview.zoonInPreview .lastVersion{height:99%;width:49%}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview.zoonInPreview .curVersion .ntnGroup,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview.zoonInPreview .lastVersion .ntnGroup{left:507px}#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview.zoonInPreview .curVersion .content,#dlgUpdateComponent .panel .tabContainer .rightContent .deviceCompareData .comparePreview.zoonInPreview .lastVersion .content{height:92%}#dlgUpdateComponent .panel .rightContent .symbolCompareData .comparePreview .curVersion,#dlgUpdateComponent .panel .rightContent .symbolCompareData .comparePreview .lastVersion{width:47%}#dlgUpdateComponent .panel .rightContent .symbolCompareData .comparePreview .curVersion .content,#dlgUpdateComponent .panel .rightContent .symbolCompareData .comparePreview .lastVersion .content{height:74%}#dlgRepalceSymbol .form-container{padding:16px}#dlgRepalceSymbol fieldset{border:1px solid #e9e9e9;padding:9px 16px 16px}#dlgRepalceSymbol .symbol{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}#dlgRepalceSymbol .symbol input{width:360px}#dlgRepalceSymbol .symbol span{-webkit-flex-basis:64px;flex-basis:64px}#dlgRepalceSymbol .symbol button.choose-btn{margin-left:16px;width:60px}#dlgRepalceSymbol .title{display:inline-block;padding:6px 0;width:34px}#dlgRepalceSymbol .radio{line-height:30px}#dlgRepalceSymbol .radio .radio-odd{width:200px}#dlgRepalceSymbol .radio input{margin-top:0;vertical-align:middle}#dlgRepalceSymbol .radio label{display:inline-block;vertical-align:middle;width:100px}#dlgRepalceSymbol .attribute{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}#dlgRepalceSymbol .attribute .radio{margin-left:3px}#dlgRepalceSymbol .attribute label{width:400px}#dlgSelectFilter{height:100%}#dlgSelectFilter table tr{display:block;margin:4px 0}#dlgSelectFilter table tr:first-child{border-bottom:1px solid #d9d9d9;padding-bottom:4px}#dlgExportEDIF .container{padding:8px 16px}#dlgExportEDIF .container .form-item{margin:0;padding:8px 0}#dlgExportEDIF .container .form-item .form-title{float:left;line-height:2;width:70px}#dlgExportEDIF .container .form-item select[name=range]{width:76%}#dlgExportEDIF .input{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}#dlgExportEDIF .filename{border-bottom-right-radius:0;border-top-right-radius:0;height:30px;width:100%}#dlgExportEDIF table{max-height:100px;overflow:auto;width:100%}#dlgExportEDIF .fileExtension{background-color:#ddd;border-bottom-right-radius:5px;border-top-right-radius:5px;height:30px;line-height:30px;padding:0 6px;text-align:center}#dlgExportEDIF .dialog-button{height:30px!important;line-height:1}#dlgExportEDIF .choosePathNtn{height:30px}#split-net-dialog label.change{display:inline-block}#split-net-dialog .split-net-item,#split-net-dialog label.change{margin-top:16px}#split-net-dialog label.label-item{margin:0 8px}.editor-progress .panel-header{padding:0}.editor-progress .panel-header .panel-tool{right:-17px;top:-3px}.editor-progress .messager-body{padding:0!important}.editor-progress .messager-body .progressbar .progressbar-value{border:0;border-radius:0}.editor-progress .messager-body .progressbar .progressbar-text{height:8px;line-height:8px}.red-star:before{color:red;content:"*";margin-right:5px}.menu-scroll-box{max-height:360px;overflow-y:auto}#dlgImport_pcb{height:auto;padding:16px;width:600px}#dlgImport_pcb .name{max-width:120px;min-width:88px;overflow:hidden;padding-right:16px;text-align:left;text-overflow:ellipsis;white-space:nowrap}#dlgImport_pcb .line{padding:8px 0}#dlgImport_pcb .fileOperate{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-top:8px}#dlgImport_pcb .fileOperate .radio{margin-top:2px}#dlgImport_pcb .options{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-top:8px}#dlgImport_pcb .options .radio{margin-top:2px}#dlgImport_pcb .filetype{width:-webkit-calc(100% - 80px)!important;width:-moz-calc(100% - 80px)!important;width:calc(100% - 80px)!important}#dlgImport_pcb .value{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}#dlgImport_pcb .omit{position:relative}#dlgImport_pcb .omit .dot{cursor:pointer;display:block;font-weight:700;left:-webkit-calc(100% - 100px);left:-moz-calc(100% - 100px);left:calc(100% - 100px);position:absolute;top:6px}#dlgImport_pcb .omit .text{color:#bfbfbf;cursor:pointer;display:block;left:8px;position:absolute;top:4px}#dlgImport_pcb #import_file_button_pcb{background:transparent;border-bottom-left-radius:0;border-left:0;border-color:#d9d9d9!important;border-top-left-radius:0;height:24px;margin-left:-4px;text-align:right;width:72px}#dlgImport_pcb #import_file_button_pcb .l-btn-text{color:#333;font-weight:700}#dlgImport_pcb .border{border:1px solid var(--common-border-color);padding:16px}#dlgImport_pcb input.import_file_area{border-bottom-right-radius:0;border-color:#d9d9d9!important;border-top-right-radius:0;cursor:pointer;padding-right:22px;position:relative;width:-webkit-calc(100% - 80px);width:-moz-calc(100% - 80px);width:calc(100% - 80px)}#dlgImport_pcb .radio .label{display:block;padding:6px 0;position:relative}#dlgImport_pcb .radio .label:first-of-type{padding-top:0}#importdataTable{border:0;overflow:auto;table-layout:fixed}#importdataTable tr.line:hover{background:#eee}#importdataTable td,#importdataTable th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#importdataTable tbody{display:block;overflow-x:hidden;overflow-y:auto}#importdataTable tbody tr,#importdataTable thead{display:table;table-layout:fixed;text-align:left;width:100%}#importdataTable thead{background-color:#d9d9d9;width:-webkit-calc(100% - 1em);width:-moz-calc(100% - 1em);width:calc(100% - 1em)}#importdataTable tr td:first-child,#importdataTable tr th:first-child{width:120px}#importdataTable tr td:nth-child(2),#importdataTable tr th:nth-child(2){width:138px}#importdataTable tr td:nth-child(3),#importdataTable tr th:nth-child(3){width:153px}#importdataTable tr td:nth-child(4),#importdataTable tr th:nth-child(4){width:192px}#importdataTable tr td:nth-child(5),#importdataTable tr th:nth-child(5){width:230px}#importdataTables{height:388px;overflow-x:hidden;overflow-y:auto}#importdataTables.pcb{height:370px}#importdataTables .tree-title>span{display:inline-block;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}#importdataTables .tree-title>span:first-child{text-align:left;width:72px}#importdataTables>li>div.tree-node .tree-title>span:first-child{width:88px}#importdataTables .tree-title>span:nth-child(2){width:138px}#importdataTables .tree-title>span:nth-child(3){width:153px}#importdataTables .tree-title>span:nth-child(4),#importdataTables .tree-title>span:nth-child(5){width:193px}#dlgShowImportChanges div.dialog-content.panel-body{overflow:hidden}#dlgShowImportChanges div.dialog-content.panel-body .tree-expanded{background:');W.push("url(");W.push(JSON.stringify(Ow()));W.push(")");W.push(" no-repeat;height:16px;vertical-align:middle;width:16px}#dlgShowImportChanges div.dialog-content.panel-body .tree-collapsed{background:");W.push("url(");W.push(JSON.stringify(qx()));W.push(")");W.push(' no-repeat;-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree);height:16px;vertical-align:middle;width:16px}#dlgShowImportChanges div.dialog-content.panel-body .tree-icon{display:none}#dlgShowImportChanges .easyui-comboboxdrop-select-droplist-clear-button{margin-top:11px}#dlgShowImportChanges .dialog-button .dlg-help-btn{border:none;margin:0;min-width:38px;padding:0}#dlgShowImportChanges .dialog-button .dlg-help-btn .l-btn-left{padding:4px 0}#dlgShowImportChanges .tree-node{height:25px}#setGridSize .line{margin:6px 0}.oneLineOneInputDlg .line{margin:15px}.oneLineOneInputDlg .line,.oneLineOneInputDlg .txt_title{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.oneLineOneInputDlg .txt_title{margin-right:10px;min-width:60px;text-align:left;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.oneLineOneInputDlg .dialog-button{border-top:none}.oneLineOneInputDlg .box{background:var(--common-bg-color);border:1px solid var(--common-border-color)}#new3DModelDlg .panel{border:1px solid #d9d9d9;-moz-box-sizing:border-box;box-sizing:border-box;padding:16px}#new3DModelDlg .panel .panel-body{overflow:hidden}#new3DModelDlg tr{vertical-align:top}#new3DModelDlg .selectFileTip{display:inline-block;padding-top:4px}#new3DModelDlg .new3DModelDlg-table-label{max-width:120px;min-width:80px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}#new3DModelDlg .new3DModelDlg-table-content{width:500px}#new3DModelDlg .new3DModelDlg-table-content .icon-eda-x-circle{top:-3px}#new3DModelDlg .readOnlyInput,#new3DModelDlg .selectModelUnit{width:78%}#new3DModelDlg .file{background-color:#39f;border-radius:2px;color:#333;color:#fff;display:inline-block;font-size:13px;line-height:14px;margin-top:-3px;overflow:hidden;padding:4px 20px;position:relative;text-decoration:none;text-indent:0;vertical-align:middle}#new3DModelDlg .file:hover{background-color:#41a9ff}#new3DModelDlg .model3DFiles .pointBtn{position:absolute;right:140px;top:146px}#new3DModelDlg .model3DFiles .model3DFilesInput{cursor:pointer;display:none;font-size:100px;height:100%;position:absolute;right:0;top:0;width:100%}#new3DModelDlg .modelListContainer{border:1px solid #d9d9d9;height:100px;margin-top:5px;overflow:auto;padding-top:3px;width:383px}#new3DModelDlg .modelListContainer .modelListItme{display:block;height:18px}#new3DModelDlg .tags div:hover .clear{display:inline-block}#new3DModelDlg .tags div .clear{border-radius:50%;color:#444;cursor:pointer;display:none;height:12px;line-height:22px;position:absolute;right:25px;text-align:center;top:5px;width:12px}#export3DFile .container{border:1px solid var(--common-border-color-1)}#export3DFile .export3DFileRow{margin-bottom:16px}#export3DFile .export3DFileRow input{height:24px;line-height:24px}#export3DFile .export3DFileRow:first-child{margin-top:16px}#export3DFile .leftLable,#export3DFile .rightContent{display:inline-block}#export3DFile .leftLable{margin-right:8px;max-width:110px;min-width:80px;overflow:hidden;padding-left:16px;text-align:left;text-overflow:ellipsis;white-space:nowrap}#export3DFile .rightContent{width:75%}#export3DFile .fileNameInput{width:80%}#export3DFile .radioLabel{margin-right:16px}#export3DFile .tip{margin-bottom:8px}.findDlg .icon-eda-minus,.findDlg .icon-eda-plus{cursor:pointer;font-size:20px;margin-left:0}.findDlg .line .input{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;position:relative}.findDlg .line .input.template{display:none}.findDlg .line .input>*{margin-right:8px}.findDlg .txt_title{margin-right:8px;width:60px}.findDlg .searchable-select-wrap .searchable-select{width:100%}.findDlg .pop-content-wrapper{margin-bottom:10px;max-height:500px;overflow:auto}.findDlg .oneLineOneInputDlg .line{margin:16px}.insertMenuItem{display:none}.dividingline-tabs ul.tabs{border:none}.dividingline-tabs ul.tabs li{background:transparent;border:0;height:auto!important;line-height:normal!important;padding:5px 0;width:auto!important}.dividingline-tabs ul.tabs li a.tabs-inner{border-right:1px solid var(--border-color-panel-divider);color:#555;padding:0 12px}.dividingline-tabs ul.tabs li.tabs-selected:after{background:#1890ff;color:#1890ff}.dividingline-tabs ul.tabs li:last-child a{border-right:0}.dividingline-tabs ul.tabs li.disabled{pointer-events:none}.dividingline-tabs ul.tabs li.disabled span{color:#acacac!important}.dividingline-tabs .panel{padding-top:10px}.upper-notch--tabs{border-bottom:0;border-top:1px solid var(--border-color-panel-divider);display:inline-block;padding-left:5px!important}.upper-notch--tabs,.upper-notch--tabs li{-moz-box-sizing:border-box;box-sizing:border-box;position:relative}.upper-notch--tabs li{border-bottom:1px solid var(--border-color-panel-divider)!important;border-top:0!important;top:0}.upper-notch--tabs li.tabs-selected{border-top:0;height:26px!important;line-height:28px;top:-2px}.button-tab-container ul.tabs{border:none;height:auto}.button-tab-container ul.tabs li{background-color:#fff;border:0;border-right:1px solid #999;color:#1890ff;margin:0 3px;padding:0 12px}.button-tab-container ul.tabs li a span{color:#666!important}.button-tab-container ul.tabs li:last-child{border-right:0}.button-tab-container ul.tabs li.tabs-selected{background-color:#fff}.button-tab-container ul.tabs li.tabs-selected a span{color:#1890ff!important}#dlgUpdateComponent .tabs-header .tabs li.tabs-selected{height:26px}#layerManagerHeader{width:100%}#layerManagerHeader .tabs-selected{height:-webkit-calc(100% + 1px);height:-moz-calc(100% + 1px);height:calc(100% + 1px)}#dlgLayerOptionsSetLayerSelectContainer{padding-bottom:8px}.dlgLayerOptionsSetTableContainer{height:392px;overflow:auto}.dlgLayerOptionsSetTableContainer #dlgLayerOptionsSetTable{overflow:hidden;width:100%}.icon-ecad-pcb,.icon-eda-partition,.icon-eda-pcb{color:green!important;font-size:14px!important}.icon-green{color:green!important}.h-100{height:100%}#dlgArchive table.reg-tab tr>td,#dlgChooseLibs table.reg-tab tr>td{padding-bottom:12px}#dlgArchive .grid-area,#dlgChooseLibs .grid-area{display:grid}#dlgArchive .grid-area>span,#dlgChooseLibs .grid-area>span{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:start;-moz-box-pack:start;justify-content:start}#dlgChooseLibs table.reg-tab #editorLibrary>td{padding:8px}#dlgChooseLibs table.reg-tab #editorLibrary>td:first-child{padding-right:0}#dlgChooseLibs table.reg-tab #editorLibrary>td:last-child{padding-left:0}#searchSymbolDialogContainer .q-grid.body .cell{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#sysSetDialogContainer #sysSetDialogContainerContent{height:100%}#sysSetDialogContainer #sysSetDialogContainerContent span[class*=" icon-"]{top:2px}#sysSetDialogContainer #sysSetDialogContainerContent span.filter-cancel,#sysSetDialogContainer #sysSetDialogContainerContent span[class*=" icon-"]{background-position:50%;-moz-box-sizing:content-box;box-sizing:content-box;display:inline-block;height:16px;margin-right:8px;position:relative;width:16px}#sysSetDialogContainer #sysSetDialogContainerContent span.filter-cancel{right:18px;top:0}#sysSetDialogContainer #sysSetDialogContainerContent input[type=checkbox]+:before{margin-right:8px}#sysSetDialogContainer #sysSetDialogContainerContent table{width:100%}#sysSetDialogContainer #sysSetDialogContainerContent .datagrid-header-inner{padding-right:8px;width:100%}#sysSetDialogContainer #sysSetDialogContainerContent .datagrid-header-inner [field=property] .datagrid-cell{width:153px!important}#sysSetDialogContainer #sysSetDialogContainerContent .datagrid-header-inner [field=object] .datagrid-cell{width:262px!important}#sysSetDialogContainer #sysSetDialogContainerContent .line-h .drop-down-box{border:1px solid #d9d9d9;border-radius:3px;display:inline-block;height:24px;line-height:24px;margin-left:104px}#sysSetDialogContainer #sysSetDialogContainerContent .line-h .drop-down-box .drop-down{width:60px}#sysSetDialogContainer #sysSetDialogContainerContent .line-h .drop-down-box .company{background:#f1f1f1;border-bottom:1px solid #d9d9d9;color:#bfbfbf;display:inline-block;height:23px;text-align:center;width:30px}#sysSetDialogContainer #sysSetDialogContainerContent .line-h .drop-down-box select{padding-right:0}#sysSetDialogContainer #sysSetDialogContainerContent .icon_operate{margin:0 7px 0 9px}#sysSetDialogContainer #sysSetDialogContainerContent input:not(.theme-color),#sysSetDialogContainer #sysSetDialogContainerContent select{height:24px}#sysSetDialogContainer #sysSetDialogContainerContent .cell{height:25px}#sysSetDialogContainer #sysSetDialogContainerContent #base-library-table,#sysSetDialogContainer #sysSetDialogContainerContent #base-library-table input:not(.theme-color),#sysSetDialogContainer #sysSetDialogContainerContent #base-library-table select,#sysSetDialogContainer #sysSetDialogContainerContent .q-select-list .q-search-input{height:20px}#sysSetDialogContainer #sysSetDialogContainerContent .q-select-list .clear{cursor:pointer;height:12px;position:absolute;right:10%;top:10px;width:12px}#sysSetDialogContainer .pop-content-container .pop-footer-wrapper .comm-btn{margin-left:8px}#noticeCompVUpdatedDlg .container,#promptToOpen3DVWDialog .container{min-height:100px;width:400px}#noticeCompVUpdatedDlg .noticeSwitchContainer,#promptToOpen3DVWDialog .noticeSwitchContainer{bottom:22px;position:absolute}#tearDrapDialogContainer .padding-btn{padding:10px 0}#tearDrapDialogContainer .pop-content-wrapper{padding-bottom:6px}#tearDrapDialogContainer .tip{color:red}.inputWithCancel{border:1px solid #e2e2e2;border-radius:2px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.inputWithCancel .icon-eda-cancel{display:none}.inputWithCancel input{border:none;height:20px;line-height:20px;margin-left:5px;width:-webkit-calc(100% - 20px);width:-moz-calc(100% - 20px);width:calc(100% - 20px)}.revert .icon-eda-back-to-upper{margin-left:-4px;margin-top:-4px;-webkit-transform:rotate(.5turn);-moz-transform:rotate(.5turn);transform:rotate(.5turn)}#setAttrShowStatus #pcb_status,#setAttrShowStatus #sch_status,#setAttrShowStatus #tip_msg{margin:15px 0 15px 10px}#setAttrShowStatus #pcb_status label,#setAttrShowStatus #sch_status label,#setAttrShowStatus #tip_msg label{display:inline-block;margin-right:15px;margin-top:10px}#bottomBarMenu .menu-item .menu-icon[class*=icon-]{background-position:50%;background-repeat:no-repeat;background-size:12px 12px;top:3px}.default-pagination button span[class*=icon-]{display:inline-block;-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);height:18px;width:18px}.default-pagination button[disabled] span[class*=icon-]{-webkit-filter:invert(.7);filter:invert(.7)}#dlgbtmbarContentWrap .q-grid.header .cell:nth-child(2) .search-icon{display:none}#pcb-attribute-manager .locked-toggle-btn span,#pcb-attribute-manager .unlock-toggle-btn span,.panel-attribute-manager .locked-toggle-btn span,.panel-attribute-manager .unlock-toggle-btn span{height:16px;width:16px}#pcb-attribute-manager .locked-toggle-btn span[class^=icon-],.panel-attribute-manager .locked-toggle-btn span[class^=icon-]{-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%)}#pcb-attribute-manager .unlock-toggle-btn span[class^=icon-],.panel-attribute-manager .unlock-toggle-btn span[class^=icon-]{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}#pcb-attribute-manager .dlgbtmbar-content-wrap .q-grid-box,.panel-attribute-manager .dlgbtmbar-content-wrap .q-grid-box{position:relative;z-index:10}#pcb-attribute-manager .icon-eda-manager-layer,.panel-attribute-manager .icon-eda-manager-layer{background-position:4px;background-size:18px 18px}#pcb-attribute-manager .icon.comm-fittinginput-clear,.panel-attribute-manager .icon.comm-fittinginput-clear{cursor:pointer;height:12px;width:12px}#pcb-attribute-manager .comm-fittinginput-clear-hidden,.panel-attribute-manager .comm-fittinginput-clear-hidden{display:none}#net-property-set-dialog-container.show-prop-conf #net-property-set-dialog{display:block}#net-property-set-dialog-container.show-prop-conf .netline-tab-moreset{display:block;position:relative}#net-property-set-dialog-container.show-prop-conf .netline-tab-moreset:after{margin-bottom:2px;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}#net-property-set-dialog-container .netline-tab-moreset{bottom:0;color:#1890ff;cursor:pointer;padding:10px 0;position:absolute;-webkit-transform-origin:right bottom;-moz-transform-origin:right bottom;transform-origin:right bottom;z-index:10000}#net-property-set-dialog-container .netline-tab-moreset:after{border-color:transparent #1890ff #1890ff transparent;border-style:solid;border-width:1px;content:"";display:inline-block;height:4px;margin-left:10px;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg);width:4px}#net-property-set-dialog-container #net-property-set-dialog{display:none}#net-property-set-dialog label{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:24px;line-height:24px;margin:0 0 16px;width:33.33%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}#net-property-set-dialog label:nth-last-of-type(3-n){margin:0}#net-property-set-dialog .row-item{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:0 0 16px}#net-property-set-dialog .row-item:last-child{margin:0}#net-property-set-dialog .left-col{display:inline-block;margin-right:16px;text-align:right;width:60px}#net-property-set-dialog .icon .row-item,#net-property-set-dialog .row-item label .icon{display:block;height:16px;margin-left:4px;padding-right:8px;width:16px}#net-property-set-dialog input[type=text],#net-property-set-dialog select{height:24px}#net-property-set-dialog .reset{background-position:50%;background-size:10px 10px;cursor:pointer;display:inline-block;height:18px;line-height:18px;width:18px}#sheet-wizard{border:0}#sheet-wizard #generateSheet{width:100%}#sheet-wizard input[name=height],#sheet-wizard input[name=width]{width:80%}#sheet-wizard .orientation{position:relative}#sheet-wizard .orientation .rever-icon{background-image:');W.push("url(");W.push(JSON.stringify(NAe()));W.push(")");W.push(';background-position:100%;background-repeat:no-repeat;background-size:24px 24px;display:inline-block;-webkit-filter:invert(.5);filter:invert(.5);height:24px;left:-webkit-calc(80% + 25px);left:-moz-calc(80% + 25px);left:calc(80% + 25px);position:absolute;top:16px;width:24px}.icon-color-green{-webkit-filter:invert(29%) sepia(93%) saturate(1905%) hue-rotate(97deg) brightness(96%) contrast(111%)!important;filter:invert(29%) sepia(93%) saturate(1905%) hue-rotate(97deg) brightness(96%) contrast(111%)!important}.icon-color-orange{-webkit-filter:invert(75%) sepia(62%) saturate(2371%) hue-rotate(332deg) brightness(99%) contrast(104%);filter:invert(75%) sepia(62%) saturate(2371%) hue-rotate(332deg) brightness(99%) contrast(104%)}.icon-color-blue{-webkit-filter:invert(48%) sepia(54%) saturate(930%) hue-rotate(178deg) brightness(101%) contrast(102%)!important;filter:invert(48%) sepia(54%) saturate(930%) hue-rotate(178deg) brightness(101%) contrast(102%)!important}.icon-color-black{-webkit-filter:invert(16%) sepia(1%) saturate(2%) hue-rotate(24deg) brightness(93%) contrast(86%);filter:invert(16%) sepia(1%) saturate(2%) hue-rotate(24deg) brightness(93%) contrast(86%)}.icon-color-red{-webkit-filter:invert(18%) sepia(94%) saturate(6819%) hue-rotate(356deg) brightness(91%) contrast(123%)!important;filter:invert(18%) sepia(94%) saturate(6819%) hue-rotate(356deg) brightness(91%) contrast(123%)!important}.icon-color-primaryblue{-webkit-filter:invert(10%) sepia(99%) saturate(6389%) hue-rotate(247deg) brightness(89%) contrast(148%)!important;filter:invert(10%) sepia(99%) saturate(6389%) hue-rotate(247deg) brightness(89%) contrast(148%)!important}.icon-color-blue-purple{-webkit-filter:invert(30%) sepia(100%) saturate(1800%) hue-rotate(235deg) brightness(110%) contrast(100%)!important;filter:invert(30%) sepia(100%) saturate(1800%) hue-rotate(235deg) brightness(110%) contrast(100%)!important}.easyui-dialog a.emphasize-btn{background-color:#39f;border-color:#39f;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;line-height:22px;margin-left:8px;min-width:72px;padding:0 8px;text-align:center}.easyui-dialog a.emphasize-btn:hover{background-color:#41a9ff;border-color:#41a9ff}.easyui-dialog a.emphasize-btn:active{background-color:#06f;border-color:#06f}.easyui-dialog a.emphasize-btn span.l-btn-left{line-height:22px;padding:initial}#drawing-attr-Text div.tip{color:#978e8e;margin-left:1px}#drawing-attr-Text div.moreSetting{bottom:22px;color:#06f;cursor:pointer;left:18px;position:absolute}#drawing-attr-Text .dialog-button a.l-btn{min-width:96px}.import-input-common{margin:10px}.import-input-common .line{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;flex:1;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}#attrForPlaceSutViaDialogContainer input,#attrForPlaceSutViaDialogContainer select{width:150px}.commonButton-item{line-height:24px}#exitSmartSizeTool{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;visibility:hidden;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background:transparent;color:#ddd;font-size:16px;height:auto;position:absolute;right:20px;top:40px;width:auto;z-index:11}#exitSmartSizeTool .exitBtn{cursor:pointer;font-size:25px;margin-left:10px}#exitSmartSizeTool:hover{color:#fff}#exitPadShapeTool{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;visibility:hidden;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background:transparent;color:#ddd;font-size:16px;height:auto;position:absolute;right:20px;top:40px;width:auto;z-index:11}#exitPadShapeTool .exitBtn{cursor:pointer;font-size:25px;margin-left:10px}#exitPadShapeTool:hover{color:#fff}#toolbar-3d-preview{background:var(--common-bg-color);border-radius:0;position:absolute;right:30px!important;top:60px!important}#toolbar-3d-preview .titlebar{display:none}#toolbar-3d-preview .btns{padding:0}#toolbar-3d-preview .btns .toolbarbutton{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;border:none;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;-webkit-font-feature-settings:normal;-moz-font-feature-settings:normal;font-feature-settings:normal;font-style:normal;font-variant:normal;font-weight:400;height:28px;justify-content:center;line-height:1;position:relative;text-align:center;text-transform:none;width:28px;-webkit-font-smoothing:antialiased;border-radius:3px;font-family:icomoon!important}#toolbar-3d-preview .btns .toolbarbutton:hover{background-color:var(--bg-toolbar-icon-hover)}#toolbar-3d-preview .btns .toolbarbutton.hoverItem.selected,#toolbar-3d-preview .btns .toolbarbutton.independentSelect.selected{background-color:var(--bg-toolbar-icon-selected)}#toolbar-3d-preview .btns .toolbarbutton-icon{background-position:50%;background-repeat:no-repeat;background-size:contain;-webkit-filter:var(--icon-color-pcb);filter:var(--icon-color-pcb);height:16px;width:16px}#toolbar-3d-preview div.breakline-after[cmd]{margin-right:6px;position:relative}#toolbar-3d-preview div.breakline-after[cmd]:after{background:var(--bg-color-toolbar-divider);content:"";height:28px;position:absolute;right:-4px;top:0;width:1px}#toolbar-3d-preview div.breakline-before[cmd]{margin-left:6px;position:relative}#toolbar-3d-preview div.breakline-before[cmd]:before{background:var(--bg-color-toolbar-divider);content:"";height:28px;left:-3px;position:absolute;top:0;width:1px}.footprint-attr-select .txt_title{padding:0 8px;width:100%;-webkit-box-flex:initial!important;-webkit-flex:initial!important;-moz-box-flex:initial!important;flex:initial!important}.pcb-attr-select{padding:0 8px!important}.noneselect{-moz-user-select:none;-webkit-user-select:none;user-select:none}.custom-head-item{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;position:relative;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.custom-head-item input{height:13px;margin-left:15px;margin-right:-15px;position:relative;width:13px}.custom-head-item span{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.bottom-line{border-bottom:1px solid #d1d1d1}.route-length-head-container{border:1px solid #ddd;margin-bottom:16px;padding:15px}.route-length-head-container:last-child{margin-bottom:0}.route-length-type-img{background-repeat:no-repeat;background-size:100% 100%;height:115px;width:210px}#placeIndependentVia .formWrap{border:1px solid #d9d9d9;margin-bottom:10px;padding:8px}#placeIndependentVia .form-label{min-width:90px}#dlgChooseLibs .panel-body{overflow:hidden}#chooseDeviceDialogContainer .mask-wrap,#chooseDeviceDialogContainer .update-3d-preview,#searchDeviceDialogContainer .mask-wrap,#searchDeviceDialogContainer .update-3d-preview{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;position:absolute;width:96%;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background:#e0e0e0;z-index:1000}#chooseDeviceDialogContainer .q-grid .cell,#searchDeviceDialogContainer .q-grid .cell{margin-left:0!important}#dlgbtmbarCommBtnsWrap button{margin-right:10px;padding:0 8px}#dlgbtmbarCommBtnsWrap button:last-child{margin-right:0}#dlgbtmbarCommBtnsWrap button[data-operation=batchDeleteConfirm]{background:#fd4f54;border:initial;color:#fff}#dlgbtmbarCommBtnsWrap button[data-operation=batchDeleteConfirm]:hover{background:#fd7978}#dlgbtmbarCommBtnsWrap button[data-operation=batchDeleteConfirm]:active{background:#d73843}#dlgbtmbarCommBtnsWrap button[data-operation=batchModifyCategoryConfirm]{background-color:#1890ff;border-color:#1890ff;color:#fff}#dlgbtmbarCommBtnsWrap button[data-operation=batchModifyCategoryConfirm]:hover{background:#41a9ff;border-color:#41a9ff}#dlgbtmbarCommBtnsWrap button[data-operation=batchModifyCategoryConfirm][disabled]{background:#d9d9d9;border-color:#d9d9d9}#dlgbtmbarCommBtnsWrap button[data-operation=batchExportLocalConfirm]{background-color:#1890ff;border-color:#1890ff;color:#fff}#dlgbtmbarCommBtnsWrap button[data-operation=batchExportLocalConfirm]:hover{background:#41a9ff;border-color:#41a9ff}#dlgbtmbarCommBtnsWrap button[data-operation=batchExportLocalConfirm][disabled]{background:#d9d9d9;border-color:#d9d9d9}@media (max-width:1650px){#bottomBar .comm-fittinginput-container{width:100%!important}}.middle-buttons{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;padding:0 16px}.middle-buttons>div{border:1px solid var(--common-border-color);border-radius:2px;height:14px;text-align:center;width:14px}.middle-buttons>div:hover{border-color:#40a9ff}.middle-buttons>div:first-child{margin-bottom:20px}.middle-buttons>div>.icon-eda-move-down-line{background-position:50%;cursor:pointer;display:inline-block;-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);height:14px;width:14px}.middle-buttons>div>.icon-eda-move-down-line.toLeft{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);transform:rotate(90deg)}.middle-buttons>div>.icon-eda-move-down-line.toRight{-webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);transform:rotate(-90deg)}.cursorMsg{background:transparent;display:none;left:0;padding:5px 10px;pointer-events:none;position:absolute;top:0;z-index:10}.cursorMsg .cursorMsgInnerBox{border:1px solid #fff;border-bottom:none}.cursorMsg .cursorMsgInnerBox>div>div{border-bottom:1px solid #fff;white-space:nowrap}.cursorMsg .indicatorBarTip{background:#000;color:#fff;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.cursorMsg .indicatorBarTip>div{border-left:1px solid #fff;text-align:center;width:33.3%}.cursorMsg .indicatorBarTip>div:first-child{border-left:none}.cursorMsg .indicatorBar{background:#000;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:10px;position:relative}.cursorMsg .indicatorBar .barSpliter{background:var(--common-bg-color);height:100%;left:33.3%;position:absolute;top:0;width:1px;z-index:9}.cursorMsg .indicatorBar .barSpliter.barSpliter2{left:66.7%}.cursorMsg .indicatorBar>.currentDrcPointer{background:red;height:100%;left:1px;position:absolute;top:0;z-index:1}#system-grid-size-setting{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-bottom:16px}#system-grid-size-setting .grid-inch-title{width:184px}#system-grid-size-setting .grid-inch-content{-webkit-box-flex:0;-webkit-flex:0 0 450px;-moz-box-flex:0;flex:0 0 450px;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-webkit-flex-wrap:wrap;flex-wrap:wrap;justify-content:space-between}#system-grid-size-setting .grid-inch-content,#system-grid-size-setting .grid-inch-content .grid-inch-item{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}#system-grid-size-setting .grid-inch-content .grid-inch-item{width:50%}#system-grid-size-setting .grid-inch-content .grid-inch-item:nth-of-type(n+3){padding-top:16px}#system-grid-size-setting .grid-inch-content .grid-inch-item .inch-fortype{max-width:125px;min-width:50px}#system-grid-size-setting .grid-inch-content .grid-inch-item .inch-ash{background:#f1f1f1;border:1px solid #d9d9d9;border-left:none;color:#bfbfbf;height:24px;padding:3px 4px}#system-grid-size-setting .grid-inch-tip{color:red}.footprint-associate-devices #addAssociateDevice{margin-left:9px}.footprint-associate-devices .icon-eda-link{-webkit-filter:invert(29%) sepia(62%) saturate(2801%) hue-rotate(108deg) brightness(96%) contrast(107%);filter:invert(29%) sepia(62%) saturate(2801%) hue-rotate(108deg) brightness(96%) contrast(107%)}.footprint-associate-devices .icon-eda-unlink{-webkit-filter:invert(24%) sepia(70%) saturate(4941%) hue-rotate(346deg) brightness(91%) contrast(104%);filter:invert(24%) sepia(70%) saturate(4941%) hue-rotate(346deg) brightness(91%) contrast(104%)}.footprint-associate-devices .icon-eda-unlink.disabled{-webkit-filter:invert(97%) sepia(100%) saturate(5323%) hue-rotate(290deg) brightness(98%) contrast(120%);filter:invert(97%) sepia(100%) saturate(5323%) hue-rotate(290deg) brightness(98%) contrast(120%)}.footprint-attribute-containter .tabs{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:0 5px;text-align:center;width:100%}.footprint-attribute-containter .tabs li{padding:0}#findDialogContainer .conditions{height:400px}#switchProductPattern{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}#switchProductPattern .applyNewPartsBtn{height:24px}#switchProductPattern .icon-border-wrap{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:24px;width:24px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-moz-box-sizing:border-box;box-sizing:border-box}#switchProductPattern .icon-border-wrap:first-child{margin-left:4px}#switchProductPattern .icon-border-wrap.active{border:1px solid #1890ff;border-radius:3px}#switchProductPattern .icon-border-wrap.active span{-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%)}#switchProductPattern span{cursor:pointer;display:inline-block;height:16px;width:16px}#switchProductPattern span:hover{-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%)}#switchProductPattern .disabled{pointer-events:none}.messager-button .uploadChipManagerOkBtn+a{display:none}.div-fieldset{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;font-size:12px;margin-top:10px;padding:16px;position:relative;text-align:left}.div-fieldset .title{background-color:var(--common-bg-color);left:12px;line-height:2em;padding:0 4px;position:absolute;top:-13px}.toast-messager-container{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;left:-webkit-calc(50% - 229px);left:-moz-calc(50% - 229px);left:calc(50% - 229px);margin:0 auto;pointer-events:none;position:absolute;top:100px;-webkit-transform:translate3d(-webkit-calc(229px - 50%),0,0);-moz-transform:translate3d(-moz-calc(229px - 50%),0,0);transform:translate3d(calc(229px - 50%),0,0);z-index:99999;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.toast-messager-container.on-ruler{top:118px}.toast-messager-container.on-ruler2{top:121px}.toast-messager-container.on-home{top:37px}.toast-messager-container .messager-panel{-webkit-transition:opacity .1s,height .2s ease-out,-webkit-transform .1s ease-out;transition:opacity .1s,height .2s ease-out,-webkit-transform .1s ease-out;-moz-transition:opacity .1s,transform .1s ease-out,height .2s ease-out,-moz-transform .1s ease-out;transition:opacity .1s,transform .1s ease-out,height .2s ease-out;transition:opacity .1s,transform .1s ease-out,height .2s ease-out,-webkit-transform .1s ease-out,-moz-transform .1s ease-out}.toast-messager-container .messager-panel.line1{height:38px}.toast-messager-container .messager-panel.line2{height:61px}.toast-messager-container .messager-panel.line3{height:83px}.toast-messager-container .messager-panel.template{display:none}.toast-messager-container .messager-panel.info>.panel{background:#e6f7ff;border-color:#499df2}.toast-messager-container .messager-panel.error>.panel{background:#fff2f0;border-color:#ff4c4c}.toast-messager-container .messager-panel.warn>.panel{background:#fffbe6;border-color:#ff8935}.toast-messager-container .messager-panel.success>.panel{background:#f5fcfa;border-color:#3dcaa6}.toast-messager-container .messager-panel.question>.panel{background:#dae3ff;border-color:#8776ff}.toast-messager-container .messager-panel.enter-in{height:0!important;opacity:0;-webkit-transform:translateY(-16px) scale(.8);-moz-transform:translateY(-16px) scale(.8);transform:translateY(-16px) scale(.8)}.toast-messager-container .messager-panel.leave-to{height:0!important;opacity:0;-webkit-transform:scale(.8);-moz-transform:scale(.8);transform:scale(.8)}.toast-messager-container .messager-panel .panel{background:#24b47e;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;pointer-events:all;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;border:1px solid;border-radius:2px;font-size:14px;line-height:20px;margin-bottom:6px;max-width:550px;padding:6px 0}.toast-messager-container .messager-panel .panel>div{margin:0 8px}.toast-messager-container .messager-panel .panel .menu-icon,.toast-messager-container .messager-panel .panel .messager-icon{position:relative;top:0}.toast-messager-container .messager-panel .panel .msg{color:#000;margin:0;-webkit-box-flex:1;-webkit-flex:auto;-moz-box-flex:1;flex:auto;max-height:42px;overflow:hidden;overflow-y:auto;padding:0 1px;text-overflow:ellipsis;-ms-overflow-style:none;overflow:-moz-scrollbars-none}.toast-messager-container .messager-panel .panel .msg::-webkit-scrollbar{width:0!important}.toast-messager-container .messager-panel .panel .msg a[call-info-index]{color:#2fc572}.toast-messager-container .messager-panel .panel .msg .space-btn{margin-left:8px}.toast-messager-container .messager-panel .panel .msg .space-btn-blue[call-info-index]{color:#1890ff;margin-left:2px;text-decoration:none}.toast-messager-container .messager-panel .panel .msg.auto-height{max-height:none}.toast-messager-container .messager-panel .panel .btns{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-justify-content:space-around;justify-content:space-around}.toast-messager-container .messager-panel .panel .btns .timer{display:none}.toast-messager-container .messager-panel .panel .btns .close{background-size:contain;cursor:pointer;display:none;height:18px;top:0;width:18px}#customDRCConfigGrid .mergeCell,#designRuleCalibration .mergeCell{background:#fff!important;border-bottom:none!important;border-top:none!important}#customDRCConfigGrid .unMergeCell,#designRuleCalibration .unMergeCell{background:#fff!important;border-top:1px solid #d9d9d9!important}#slideBar{border-radius:0;display:none;height:30px;position:absolute;right:30px;top:92px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:200px}#slideBar>div{-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;height:100%;justify-content:space-between;width:100%}#slideBar .step,#slideBar>div{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}#slideBar .step{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;cursor:pointer}#slideBar .step>i{height:16px;width:16px}#slideBar .line{border-radius:2px;height:4px;position:absolute;top:14px}#slideBar .line.line1{background:var(--range-background);width:160px}#slideBar .line.line2{background:var(--range-current-background);width:0}#slideBar .ball{background:var(--common-bg-color);border:2px solid var(--range-current-background);border-radius:50%;position:absolute;top:9px;z-index:9}.find-all{background:#39f!important;color:#fff!important}.preview-iframe-wrap{height:0;position:absolute;visibility:hidden;width:0}.checkbox-text-wrap{bottom:20px;left:16px;position:absolute}.attr-main-attrs-content .ellipsis-help{top:3px;z-index:9}.ellipsis-help{cursor:pointer;font-weight:700;height:20px;padding-left:4px;position:absolute;right:14px;top:2px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.ellipsis-help+input[data-deviceattr-input="3D Model Title"]{padding-right:21px}#app-window-controls{-webkit-app-region:no-drag;background-color:var(--bg-color-top-bar);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;position:fixed;right:0;top:0;z-index:99999}@font-face{font-display:block;font-family:icon;font-style:normal;font-weight:400;src:');W.push("url(");W.push('"data:font/truetype;base64,AAEAAAALAIAAAwAwT1MvMg8SBdkAAAC8AAAAYGNtYXAXVtKLAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZvxRvH0AAAF4AAADqGhlYWQfFE1SAAAFIAAAADZoaGVhB8ADygAABVgAAAAkaG10eBoAAdwAAAV8AAAAJGxvY2EBJgKiAAAFoAAAABRtYXhwAA4A0gAABbQAAAAgbmFtZVA88dwAAAXUAAABYnBvc3QAAwAAAAAHOAAAACAAAwOrAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBAPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QT//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAIBnQP+AeMADgAAEyEyFhUUBiMhIiY1NDYzJQO2EhEREvxKEhEREgHjERISERESEhEAAgBrACsDlgNWAAMAFgAAAREhESUhIgYVERQWMyEyNjURNCYjOAEDVv1UArD9TBgjIxgCtBkjIxkDFv1VAqtAIxn9TBgjIxgCtBkjAAMAQABAA8ADQAAHAAsAEQAAARUjESE1MxEBIREhEyMRITUhAQDAAsDA/wD9wAJAwID+QAJAA0DA/cDAAkD9QAHA/wABQIAAAAEA1QCVAysC6wAQAAABFxUjJwcjNTcnNTMXNzMVBwI+7T/s7D/t7T/s7D/tAcDsP+3tP+zsP+3tP+wAAAQAWgAAA6YDeQBoAKsAtwDPAAABJz4BNTQmJzc+AS8BLgEvAS4BDwEuAS8BLgEnIyYiByMOAQ8BDgEHJyYGDwEOAQ8BBhYfAQ4BFRQWFwcOAR8BHgEfAR4BPwEeAR8BHgEfAR4BMzI2PwE+AT8BPgE3FxY2PwE+AT8BNiYnHgEVFAYPARcOAQcnBw4BDwIGIi8CLgEvAQcuASc3Jy4BNTQ2PwEnPgE3Fzc+AT8CNjIfAh4BHwE3HgEXBxclIgYVFBYzMjY1NCYXDgEjIiYnLgE1NDY3PgEzMhYXHgEVFAYDnUIDAgIDQgcFAwENKBsBBxMJUhYyGxACDgoDJ1EnAgoOAhAbMhZSCRMHAhooDQEEBQhCAgICAkIIBQQBDSgaAgcTCVIWMhsQAg4KAhQoFBQoEwMKDgIQGzIWUgkTBwEbKA0BAwWQAgICAgZKCBUNXR8SKBYmEhUrFRIlFicSH14NFQhLBgICAgIGSwgVDV4fEicWJhEVKxUSJhYoEh9dDRUISgb+7ElnZ0lJZ2cGECkWFikQEBEREBApFhYpEBAREQFOOA8dDg8dDjgGFAkDJkUfAgcFAx0THQpVCg4CBwcCDgpVCx0SHQMFBwIfRiUDCRQGOQ4cDw4dDjkGEwoCJkUfAggFAx0SHQpWCQ4CAQMEBAMBAg4JVQsdEh0DBQgCH0UmAgoTpgsXDAwXCyhAFCURIRoOFwgPYQICYg4IFw8aIhIlE0EoCxcLCxcMKEAUJBIiGg8XCA5iAgJhDwgXDxkgESUTQCiMZ0lJZ2dJSWf/EBEREBApFhYpEBARERAQKRYWKQAAAAABAAAAAQAA1DBLjV8PPPUACwQAAAAAAN38BG4AAAAA3fwEbgAAAAAD/gN5AAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAP+AAEAAAAAAAAAAAAAAAAAAAAJBAAAAAAAAAAAAAAAAgAAAAQAAAIEAABrBAAAQAQAANUEAABaAAAAAAAKABQAHgA4AF4AggCgAdQAAQAAAAkA0AAEAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAQAAAABAAAAAAACAAcARQABAAAAAAADAAQALQABAAAAAAAEAAQAWgABAAAAAAAFAAsADAABAAAAAAAGAAQAOQABAAAAAAAKABoAZgADAAEECQABAAgABAADAAEECQACAA4ATAADAAEECQADAAgAMQADAAEECQAEAAgAXgADAAEECQAFABYAFwADAAEECQAGAAgAPQADAAEECQAKADQAgGljb24AaQBjAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb24AaQBjAG8Abmljb24AaQBjAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb24AaQBjAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="');W.push(")");W.push(' format("truetype")}#app-window-controls button{font-family:icon!important;-webkit-font-feature-settings:normal;-moz-font-feature-settings:normal;font-feature-settings:normal;font-size:18px;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:transparent;border:0;color:#fff;cursor:pointer;height:32px!important;margin:0;min-width:50px!important;vertical-align:middle;width:50px!important;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}#app-window-controls button:hover{background-color:hsla(0,0%,100%,.5)}#app-window-controls button[cmd=_min]:before{content:"\\e900"}#app-window-controls button[cmd=_max]:before{content:"\\e901"}#app-window-controls button[cmd=_restore]:before{content:"\\e902"}#app-window-controls button[cmd=_close]:before,#app-window-controls button[data-cmd=_close]:before{content:"\\e903"}#app-window-controls button[cmd=_settings]:before{content:"\\e904"}#app-window-controls button[cmd=_close]:hover{background-color:red}#ascloudprj-owner,#device-owner,#ft-owner,#new-3D-owner,#prj-owner{-moz-box-sizing:border-box;box-sizing:border-box;line-height:24px;overflow:hidden;padding-left:5px;padding-right:20px;text-overflow:ellipsis;white-space:nowrap;word-break:keep-all}#ascloudprj-owner .select-icon,#device-owner .select-icon,#ft-owner .select-icon,#new-3D-owner .select-icon,#prj-owner .select-icon{display:inline-block;height:16px;margin:0 2px 0 4px;vertical-align:middle;width:16px}#_3D-tree-owner,#ascloudprj-tree-owner,#device-tree-owner,#ft-tree-owner,#prj-tree-owner{border:1px solid var(--border-color-panel-divider);box-shadow:0 2px 2px #999;display:none;left:0;max-height:400px;max-width:320px;overflow-x:auto;overflow-y:auto;padding:8px 16px;position:fixed;top:24px;z-index:999}#_3D-tree-owner .tree-icon,#ascloudprj-tree-owner .tree-icon,#device-tree-owner .tree-icon,#ft-tree-owner .tree-icon,#prj-tree-owner .tree-icon{height:16px;margin:0 2px 0 4px;vertical-align:middle;width:16px}#device-owner.disabled{background-color:#f1f1f1;color:#bfbfbf}#device-owner.disabled,.arrow.disabled{cursor:default!important}.color-content-cn{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.color-content-cn .color-content{border:1px solid #d9d9d9;color:transparent!important;cursor:pointer;display:inline-block;-webkit-flex-shrink:0;flex-shrink:0;height:24px!important;margin-right:2px;outline:none;vertical-align:middle;width:24px!important}.manager-category{display:inline-block;margin-left:10px;max-width:72px;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.panel-select-overlap{background-color:rgba(0,0,0,.85);border:1px solid rgba(80,80,80,.5);box-shadow:0 0 10px 5px rgba(0,0,0,.2);-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:14px;font-weight:700;height:auto;list-style:none;max-height:300px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto;padding:.5em;position:fixed}.panel-select-overlap li{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:.5em;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.panel-select-overlap li span{overflow:hidden;pointer-events:none;text-overflow:ellipsis;white-space:nowrap}.panel-select-overlap li:hover{background-color:#333}.keep-width-height-ratio{background-repeat:no-repeat;background-size:16px 16px;bottom:0;cursor:pointer;height:16px;position:absolute;right:0;top:20px;-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);transform:rotate(90deg);width:16px}.input-width-height{width:-webkit-calc(100% - 34px)!important;width:-moz-calc(100% - 34px)!important;width:calc(100% - 34px)!important}.input-width-height-text{width:-webkit-calc(100% - 53px)!important;width:-moz-calc(100% - 53px)!important;width:calc(100% - 53px)!important}.link-btn{cursor:pointer;display:inline-block;height:16px;position:absolute;right:5px;-webkit-transform:translateY(-100%) rotate(90deg);-moz-transform:translateY(-100%) rotate(90deg);transform:translateY(-100%) rotate(90deg);width:16px}.rotateIcon{-webkit-animation:rotateIcon .5s infinite;-moz-animation:rotateIcon .5s infinite;animation:rotateIcon .5s infinite}@-webkit-keyframes rotateIcon{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-moz-keyframes rotateIcon{0%{-moz-transform:rotate(0deg);transform:rotate(0deg)}25%{-moz-transform:rotate(90deg);transform:rotate(90deg)}50%{-moz-transform:rotate(180deg);transform:rotate(180deg)}75%{-moz-transform:rotate(270deg);transform:rotate(270deg)}to{-moz-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotateIcon{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);transform:rotate(270deg)}to{-webkit-transform:rotate(1turn);-moz-transform:rotate(1turn);transform:rotate(1turn)}}.text-align-left-item{max-width:120px;min-width:80px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}#system-grid-size-setting.panel-grid-size-wrap .eda-input-selection .eda-input-option{left:1px}#system-grid-size-setting.panel-grid-size-wrap .grid-inch-content{-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;justify-content:normal}#system-grid-size-setting.panel-grid-size-wrap .grid-inch-item{-webkit-box-align:initial;-webkit-align-items:initial;-moz-box-align:initial;align-items:normal}#system-grid-size-setting.panel-grid-size-wrap .grid-inch-item .wire-name-input{height:24px;width:104px}#system-grid-size-setting.panel-grid-size-wrap .grid-inch-item .inch-fortype{height:24px;line-height:24px}#system-grid-size-setting.panel-grid-size-wrap .grid-inch-item .eda-input-option{display:none}#sch-attribute-tabs .arr-icon,#system-grid-size-setting .eda-input-selection .arr-icon,.panel-grid-select-wrap .arr-icon,.simulation-attribute-tabs .arr-icon{background:');W.push("url(");W.push(JSON.stringify(I2()));W.push(")");W.push(' no-repeat 50%;background-size:12px 12px;-webkit-filter:var(--icon-color-input);filter:var(--icon-color-input);height:20px;left:32px;position:absolute;top:1px;width:16px}#sch-attribute-tabs .select-arr-icon,#system-grid-size-setting .eda-input-selection .select-arr-icon,.panel-grid-select-wrap .select-arr-icon,.simulation-attribute-tabs .select-arr-icon{height:20px;left:38px;position:absolute;top:10px;width:16px}#sch-attribute-tabs .select-arr-icon:after,#system-grid-size-setting .eda-input-selection .select-arr-icon:after,.panel-grid-select-wrap .select-arr-icon:after,.simulation-attribute-tabs .select-arr-icon:after{border-left:1px solid #58a1c3;border-top:1px solid #58a1c3;content:"";height:4px;left:0;position:absolute;top:0;transform:rotate(45deg);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);width:4px}#systemSchematic #system-grid-size-setting .eda-input-selection .arr-icon,#systemSchematic .panel-grid-size-wrap .arr-icon{left:85px;top:2px}#systemSchematic #system-grid-size-setting .eda-input-selection .select-arr-icon,#systemSchematic .panel-grid-size-wrap .select-arr-icon{left:91px;top:12px}#systemSchematic #system-grid-size-setting .eda-input-selection .wire-name-input,#systemSchematic .panel-grid-size-wrap .wire-name-input{padding-right:18px}.zh-hans #panel-layer-intro-dialog img{content:');W.push("url(");W.push(JSON.stringify(Cmt()));W.push(")");W.push(";height:100%;width:100%}#panel-layer-intro-dialog img{content:");W.push("url(");W.push(JSON.stringify(xmt()));W.push(")");W.push(";height:100%;width:100%}#exportPcbPageGrid .q-grid .cell{-webkit-box-pack:left;-webkit-justify-content:left;-moz-box-pack:left;justify-content:left;padding-left:5px}#move-cross-icon-container{z-index:1}.bottom-del-confirm .blue-color{color:#1890ff}.bottom-del-confirm .hide{display:none}.bottom-del-confirm .show{display:inline-block}.bottom-del-confirm .project-del-check-wrap p{margin-top:8px;position:relative}.bottom-del-confirm .project-del-check-wrap .black-color span{color:#333!important}.toolbar{background-color:#f9f9f9;border:1px solid #d1d1d1;border-radius:4px 4px 0 0;box-sizing:content-box;-moz-box-sizing:content-box;-o-box-sizing:content-box;-safari-box-sizing:content-box;-webkit-box-sizing:content-box;overflow:hidden;position:absolute;z-index:9}.toolbar.collapsed{height:23px!important}.toolbar .titlebar{background:#d9d9d9;border-bottom:1px solid #d9d9d9;-moz-box-sizing:border-box;box-sizing:border-box;color:#333;cursor:default;height:10px;line-height:18px;overflow:hidden;padding-left:20px;padding-right:4px;position:relative;text-align:center;text-overflow:ellipsis;white-space:nowrap}.toolbar .titlebar [class*=icon-eda-]:hover{color:#999}.toolbar .close{background:transparent ");W.push("url(");W.push('"data:image/gif;base64,R0lGODlhDgANAIAAAAAAAP///yH5BAEHAAEALAAAAAAOAA0AAAIajI+pawDqUjxTvlChuwxztn1WI5JI5mndyhYAOw=="');W.push(")");W.push(" no-repeat scroll 50%;cursor:pointer;height:15px;position:absolute;right:2px;top:2px;width:15px}.toolbar .close:hover{background-color:#9bd}.toolbar .icon-eda-config{right:18px;top:3px}.toolbar .icon-eda-pinlocation{font-size:17px;right:40px;top:1px}.toolbar .icon-eda-pinlocation.ding{color:#1890ff!important}.toolbar .btns{font-size:0;line-height:0;overflow:hidden;padding:8px 5px}.toolbar .toolbarbutton{background-position:50%;background-size:16px 16px;border:none;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;font-size:18px;height:28px;text-align:center;width:28px}.toolbar .toolbarbutton:hover{color:#1890ff}.toolbar .toolbarbutton:before{display:inline-block;height:18px;width:18px}.toolbar.collapsed .btns,.toolbar.collapsed .resize-rb{display:none}.toolbar .collapse,.toolbar .icon-eda-config,.toolbar .icon-eda-pinlocation{-moz-box-sizing:border-box;box-sizing:border-box;color:#666;cursor:pointer;font-size:14px;font-weight:700;height:16px;padding-top:2px;position:absolute;right:2px;text-align:center;text-decoration:none;top:2px;width:16px}#leftFootprintWizard{height:-webkit-calc(100% - 25px);height:-moz-calc(100% - 25px);height:calc(100% - 25px)}#leftFootprintWizard .container{height:100%;overflow:auto}#leftFootprintWizard .selection{display:grid;grid-template-columns:repeat(2,50%);grid-template-rows:auto;height:100%;margin:10px}#leftFootprintWizard .selection .item{background-color:#ccc;background-position:50%;background-repeat:no-repeat;background-size:135px auto;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:1px;text-align:center;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse;height:120px}#leftFootprintWizard .selection .item .modelname{font-weight:700;padding-bottom:10px}#leftFootprintWizard .selection .item:hover{background-color:#f1f1ce}#leftFootprintWizard .selection .item.current{background-color:#aad8d3}#leftFootprintWizard .selection .item.axial{background-image:");W.push("url(");W.push(JSON.stringify(Tmt()));W.push(")");W.push("}#leftFootprintWizard .selection .item.bga{background-image:");W.push("url(");W.push(JSON.stringify(Smt()));W.push(")");W.push("}#leftFootprintWizard .selection .item.chip{background-image:");W.push("url(");W.push(JSON.stringify(Mmt()));W.push(")");W.push("}#leftFootprintWizard .selection .item.chiparray{background-image:");W.push("url(");W.push(JSON.stringify(Imt()));W.push(")");W.push("}#leftFootprintWizard .selection .item.cylindrical{background-image:");W.push("url(");W.push(JSON.stringify(Lmt()));W.push(")");W.push("}#leftFootprintWizard .selection .item.dfn_4{background-image:");W.push("url(");W.push(JSON.stringify(vmt()));W.push(")");W.push("}#leftFootprintWizard .selection .item.dip{background-image:");W.push("url(");W.push(JSON.stringify(Dmt()));W.push(")");W.push("}#leftFootprintWizard .selection .item.e_cap{background-image:");W.push("url(");W.push(JSON.stringify(Emt()));W.push(")");W.push("}#leftFootprintWizard .selection .item.header_h{background-image:");W.push("url(");W.push(JSON.stringify(Amt()));W.push(")");W.push("}#leftFootprintWizard .selection .item.header_v{background-image:");W.push("url(");W.push(JSON.stringify(Nmt()));W.push(")");W.push("}#leftFootprintWizard .selection .item.qfn{background-image:");W.push("url(");W.push(JSON.stringify(kmt()));W.push(")");W.push("}#leftFootprintWizard .selection .item.qfp{background-image:");W.push("url(");W.push(JSON.stringify(Pmt()));W.push(")");W.push("}#leftFootprintWizard .selection .item.sod{background-image:");W.push("url(");W.push(JSON.stringify(Omt()));W.push(")");W.push("}#leftFootprintWizard .selection .item.soic_sop{background-image:");W.push("url(");W.push(JSON.stringify(Rmt()));W.push(")");W.push("}#leftFootprintWizard .selection .item.sot23{background-image:");W.push("url(");W.push(JSON.stringify(_mt()));W.push(")");W.push("}#leftFootprintWizard .selection .item.sot223{background-image:");W.push("url(");W.push(JSON.stringify(jmt()));W.push(")");W.push("}#leftFootprintWizard .selection .item.to_dpak{background-image:");W.push("url(");W.push(JSON.stringify(Bmt()));W.push(")");W.push("}#leftFootprintWizard .options{height:100%;-webkit-box-flex:5;-webkit-flex:5;-moz-box-flex:5;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;flex:5;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}#leftFootprintWizard .options .nav{margin:8px 8px 0}#leftFootprintWizard .options .nav .back{color:#1890ff;cursor:pointer}#leftFootprintWizard .options .nav .blank{margin:0 4px}#leftFootprintWizard .options .reference{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;background-color:#d0d0cc;background-position:50%;background-repeat:no-repeat;background-size:220px auto;cursor:pointer;flex:1;margin:8px;text-align:center}#leftFootprintWizard .options .reference .content{height:150px}#leftFootprintWizard .options .reference.axial{background-image:");W.push("url(");W.push(JSON.stringify(zmt()));W.push(")");W.push("}#leftFootprintWizard .options .reference.bga{background-image:");W.push("url(");W.push(JSON.stringify(Fmt()));W.push(")");W.push("}#leftFootprintWizard .options .reference.chip{background-image:");W.push("url(");W.push(JSON.stringify(Umt()));W.push(")");W.push("}#leftFootprintWizard .options .reference.chiparray{background-image:");W.push("url(");W.push(JSON.stringify(Vmt()));W.push(")");W.push("}#leftFootprintWizard .options .reference.cylindrical{background-image:");W.push("url(");W.push(JSON.stringify(Hmt()));W.push(")");W.push("}#leftFootprintWizard .options .reference.dfn_4{background-image:");W.push("url(");W.push(JSON.stringify(Gmt()));W.push(")");W.push("}#leftFootprintWizard .options .reference.dip{background-image:");W.push("url(");W.push(JSON.stringify(Ymt()));W.push(")");W.push("}#leftFootprintWizard .options .reference.e_cap{background-image:");W.push("url(");W.push(JSON.stringify(Wmt()));W.push(")");W.push("}#leftFootprintWizard .options .reference.header_h{background-image:");W.push("url(");W.push(JSON.stringify(Qmt()));W.push(")");W.push("}#leftFootprintWizard .options .reference.header_v{background-image:");W.push("url(");W.push(JSON.stringify(Kmt()));W.push(")");W.push("}#leftFootprintWizard .options .reference.qfn{background-image:");W.push("url(");W.push(JSON.stringify(Zmt()));W.push(")");W.push("}#leftFootprintWizard .options .reference.qfp{background-image:");W.push("url(");W.push(JSON.stringify(Jmt()));W.push(")");W.push("}#leftFootprintWizard .options .reference.sod{background-image:");W.push("url(");W.push(JSON.stringify(qmt()));W.push(")");W.push("}#leftFootprintWizard .options .reference.soic_sop{background-image:");W.push("url(");W.push(JSON.stringify(Xmt()));W.push(")");W.push("}#leftFootprintWizard .options .reference.sot23{background-image:");W.push("url(");W.push(JSON.stringify($mt()));W.push(")");W.push("}#leftFootprintWizard .options .reference.sot223{background-image:");W.push("url(");W.push(JSON.stringify(e1t()));W.push(")");W.push("}#leftFootprintWizard .options .reference.to_dpak{background-image:");W.push("url(");W.push(JSON.stringify(t1t()));W.push(")");W.push("}#leftFootprintWizard .options .params{-webkit-box-flex:5;-webkit-flex:5;-moz-box-flex:5;border:1px solid #aac;flex:5;margin:10px;overflow:auto;padding:5px}#leftFootprintWizard .options .params .multi-span{cursor:pointer}#leftFootprintWizard .options .params .line .txt_title{font-size:12px;margin-left:10px;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:88px}#leftFootprintWizard .options .params .line .txt_value{-moz-box-sizing:border-box;box-sizing:border-box;padding-right:10px;text-align:right;width:-webkit-calc(100% - 100px);width:-moz-calc(100% - 100px);width:calc(100% - 100px)}#leftFootprintWizard .options .params .line .q-select-list{text-align:left}#leftFootprintWizard .options .params .line .txt_value input,#leftFootprintWizard .options .params .line .txt_value select{border-radius:2px;height:25px;margin:3px 0 2px;width:-webkit-calc(100% - 16px);width:-moz-calc(100% - 16px);width:calc(100% - 16px)}#leftFootprintWizard .options .params .line .txt_value input.short{width:-webkit-calc(50% - 15px);width:-moz-calc(50% - 15px);width:calc(50% - 15px)}#leftFootprintWizard .options .params .line .txt_value span.short{display:inline-block;text-align:center;width:14px}#leftFootprintWizard .options .params .btn{bottom:54px;left:-webkit-calc(15% + 13px);left:-moz-calc(15% + 13px);left:calc(15% + 13px);margin-top:6px;position:absolute}#leftFootprintWizard .options .params select{font-size:12px}#leftFootprintWizard .options .btns{margin-bottom:10px;padding:0 10px}#leftFootprintWizard .options .btns button{background:#1890ff;border:1px solid #1890ff;color:#fff;display:block;outline:none;width:100%}#leftFootprintWizard .options .btns button:hover{background-color:#40a9ff;border-color:#40a9ff;cursor:pointer}#leftFootprintWizard .options .notice{margin-bottom:10px;padding:0 10px}#leftFootprintWizard .options .notice>div{background-color:#fff3cd;color:#856404;padding:.75rem 1.25rem}#leftFootprintWizard #q-select-box .item{padding:4px 6px}#schDrcPrimaryLog .check-drc-btn{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}#schDrcPrimaryLog .check-drc-btn button{background:#1890ff;border:1px solid #1890ff;color:#fff;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;margin-bottom:5px}#schDrcPrimaryLog .check-drc-btn .openDesignRulesDlg{cursor:pointer;display:block;height:16px;position:relative;top:-2px;width:16px}.dlgbtmbar-comm-btns-wrap{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;min-width:55px;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;position:relative}.dlgbtmbar-comm-btns-wrap,.dlgbtmbar-comm-btns-wrap .btns-tile{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%}.dlgbtmbar-comm-btns-wrap .btns-tile{overflow:hidden;white-space:nowrap}.dlgbtmbar-comm-btns-wrap .btns-tile>div{padding:0 8px 0 0}.dlgbtmbar-comm-btns-wrap .btns-tile>div:first-child{padding-left:0}.dlgbtmbar-comm-btns-wrap .btns-tile>div:last-child{padding-right:8px}.dlgbtmbar-comm-btns-wrap .btns-tile button{height:24px;line-height:24px}.dlgbtmbar-comm-btns-wrap .btns-extend-btn{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:24px;-webkit-box-flex:0;-webkit-flex:0 0 24px;-moz-box-flex:0;flex:0 0 24px}.dlgbtmbar-comm-btns-wrap .btns-extend-btn div{border:1px solid #d9d9d9;border-radius:3px;color:#1890ff;cursor:pointer;height:20px;line-height:22px;text-align:center;width:20px}.dlgbtmbar-comm-btns-wrap .btns-extend-btn div:hover{border:1px solid #1890ff;color:#1890ff}.dlgbtmbar-comm-btns-wrap .btns-extend{background-color:#fff;border:1px solid var(--border-color-panel-divider);border-radius:3px;box-shadow:0 1px 6px rgba(0,0,0,.2);display:none;position:absolute;right:1px;top:23px;width:105px;z-index:9999}.dlgbtmbar-comm-btns-wrap .btns-extend button:first-child{margin-top:2.5px}.dlgbtmbar-comm-btns-wrap .btns-extend button:last-child{margin-bottom:2.5px}.dlgbtmbar-comm-btns-wrap .btns-extend button{color:#1890ff;height:24px;line-height:24px;overflow:hidden;padding:0 8px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.dlgbtmbar-comm-btns-wrap .btns-extend button:hover{background-color:#e6f7ff;color:#096dd9!important}.apply-new-parts-wrapper{width:100%;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;margin-top:8px}.apply-new-parts-wrap,.apply-new-parts-wrapper{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.apply-new-parts-wrap{margin-left:4px;margin-right:4px}#chooseDeviceDialogContainer #q-select-box .q-select-list .item{text-align:left}#chooseDeviceDialogContainer .applyNewPartsBtn{height:24px}#chooseDeviceDialogContainer #switchProductPattern .icon-border-wrap:first-child{margin-left:0}#mm-common-place.menu .menu-item[iconcls=icon-eda-netflag-vcc][data-hotkey]:after{right:24px}.bottom-del-confirm{overflow:auto}.bottom-del-confirm .project-info-wrap p,.bottom-del-confirm label{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;white-space:nowrap}.bottom-del-confirm label .text-content{-webkit-flex-shrink:0;flex-shrink:0}#treeMyProject-content.no-hover .tree-node-hover{background:none;color:var(--font-color-hover-tree)}#treeMyProject-content.no-hover .tree-node-selected{color:var(--font-color-selected-tree)!important}#treeMyProject-content.no-hover .tree-node-auto-hover,#treePanelObjects-content.no-hover .tree-node-auto-hover{background:var(--bg-color-selected-tree)!important}#treePanelObjects-content.no-hover .tree-node-hover{background:none;color:var(--font-color-hover-tree)}#treePanelObjects-content.no-hover .tree-node-selected{color:var(--font-color-selected-tree)!important}#orc-wizard-dlg .pop-content-container{height:100%}#orc-wizard-dlg .pop-content-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}#orc-wizard-dlg .pop-content-wrapper .preview{-webkit-box-flex:0.5;-webkit-flex:0.5;-moz-box-flex:0.5;flex:0.5;height:100%;margin-right:10px}#orc-wizard-dlg .pop-content-wrapper .preview fieldset{border:1px solid var(--common-border-color);padding:15px}#orc-wizard-dlg .pop-content-wrapper .preview fieldset .image-preview{display:table-cell;height:380px;overflow:hidden;text-align:center;vertical-align:middle;width:360px}#orc-wizard-dlg .pop-content-wrapper .preview fieldset .image-preview.previewing{display:block;float:left;position:relative}#orc-wizard-dlg .pop-content-wrapper .preview fieldset .image-preview .static-tips{position:relative;top:-webkit-calc(-50% + 18px);top:-moz-calc(-50% + 18px);top:calc(-50% + 18px)}#orc-wizard-dlg .pop-content-wrapper .preview fieldset .image-preview.draging{border:3px dashed #bbb}#orc-wizard-dlg .pop-content-wrapper .preview fieldset .image-preview .view{position:absolute}#orc-wizard-dlg .pop-content-wrapper .preview fieldset .image-preview .tips kbd{margin:0 1em}#orc-wizard-dlg .pop-content-wrapper .preview fieldset .image-preview .tips .icon-line{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-top:5px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}#orc-wizard-dlg .pop-content-wrapper .preview fieldset .image-preview .tips .icon-line .icon{height:16px;margin-right:3px;margin-top:-2px;width:16px}#orc-wizard-dlg .pop-content-wrapper .preview fieldset .image-preview .loading{background:#fff;height:100%;width:100%}#orc-wizard-dlg .pop-content-wrapper .preview fieldset .image-preview .loading .rotation{height:50px;position:absolute;right:-webkit-calc(50% + 175px);right:-moz-calc(50% + 175px);right:calc(50% + 175px);top:50%;width:50px}#orc-wizard-dlg .pop-content-wrapper .preview fieldset .image-preview.i18n-en .static-tips{top:-webkit-calc(-50% + 24px);top:-moz-calc(-50% + 24px);top:calc(-50% + 24px)}#orc-wizard-dlg .pop-content-wrapper .preview .fieldset-image-type{height:68px}#orc-wizard-dlg .pop-content-wrapper .preview .fieldset-image-type .image-types{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-justify-content:space-around;justify-content:space-around}#orc-wizard-dlg .pop-content-wrapper .preview .fieldset-image-type .image-types label{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;cursor:pointer;width:20%}#orc-wizard-dlg .pop-content-wrapper .preview .fieldset-image-type .image-types label .icon{-webkit-filter:invert(47%) sepia(0) saturate(0) hue-rotate(263deg) brightness(87%) contrast(85%);filter:invert(47%) sepia(0) saturate(0) hue-rotate(263deg) brightness(87%) contrast(85%);height:28px;width:28px}#orc-wizard-dlg .pop-content-wrapper .preview .fieldset-image-type .image-types label input{pointer-events:none}#orc-wizard-dlg .pop-content-wrapper .preview .fieldset-preview{height:428px}#orc-wizard-dlg .pop-content-wrapper .pininfo{-webkit-box-flex:0.5;-webkit-flex:0.5;-moz-box-flex:0.5;flex:0.5}#orc-wizard-dlg .pop-content-wrapper .pininfo fieldset{border:1px solid var(--common-border-color);height:100%;padding:15px}#orc-wizard-dlg .pop-content-wrapper .pininfo fieldset .table-panel{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:333px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}#orc-wizard-dlg .pop-content-wrapper .pininfo fieldset .table-panel .pininfo-table{border:1px solid #e9e9e9;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;margin-top:5px}.font-style-icon-wrap{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:80px;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.icon-span{border:1px solid var(--common-border-color)!important;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);font-size:20px;height:24px!important;line-height:22px;text-align:center;width:24px!important}.reference-point-box{display:grid;grid-template-columns:repeat(3,15px);grid-template-rows:repeat(3,15px);grid-gap:2px}.reference-point-box div{border:1px solid #d9d9d9;border-radius:2px;cursor:pointer}.reference-point-box .active{background-color:#1890ff;border:1px solid #1890ff}.origin-area{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:50px;width:50px}.origin-area,.origin-area .square-wrap{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.origin-area .square-wrap .square{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;height:15px!important;width:15px!important}.origin-area .square-wrap .square.default{background-color:#e6f7ff;border:1px solid #1890ff}.origin-area .square-wrap .square.true{background-color:#1890ff;border:1px solid #1890ff}.icon-eda-text-bold{background-image:");W.push("url(");W.push(JSON.stringify(mXt()));W.push(")");W.push(";background-position:50%;background-repeat:no-repeat;background-size:16px;border:1px solid #d9d9d9}.icon-eda-text-bold.default{background-color:#e6f7ff;border:1px solid #1890ff!important}.icon-eda-text-bold.selected,.icon-eda-text-bold.true{border:1px solid #1890ff;-webkit-filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%);filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%)}.icon-eda-text-bold.default-false,.icon-eda-text-bold.false,.icon-eda-text-italic{border:1px solid #d9d9d9}.icon-eda-text-italic{background-image:");W.push("url(");W.push(JSON.stringify(hXt()));W.push(")");W.push(";background-position:50%;background-repeat:no-repeat;background-size:16px}.icon-eda-text-italic.default{background-color:#e6f7ff;border:1px solid #1890ff!important}.icon-eda-text-italic.selected,.icon-eda-text-italic.true{border:1px solid #1890ff;-webkit-filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%);filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%)}.icon-eda-text-italic.default-false,.icon-eda-text-italic.false{border:1px solid #d9d9d9}.active-div{background-color:#e6f7ff}.icon-eda-text-underline{background-image:");W.push("url(");W.push(JSON.stringify(fXt()));W.push(")");W.push(";background-position:50%;background-repeat:no-repeat;background-size:16px;border:1px solid #d9d9d9}.icon-eda-text-underline.default{background-color:#e6f7ff;border:1px solid #1890ff!important}.icon-eda-text-underline.selected,.icon-eda-text-underline.true{border:1px solid #1890ff;-webkit-filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%);filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%)}.icon-eda-text-underline.default-false,.icon-eda-text-underline.false{border:1px solid #d9d9d9}.place-part-info input[type=text]{height:24px}#search3DModelDialogContainer .device-table-wrap{overflow:visible!important;overflow:initial!important}#cnc-editor-panel .box,#cnc-editor-panel .box .preview-2d{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}#cnc-editor-panel .box .preview-2d{-webkit-box-flex:0.5;-webkit-flex:0.5;-moz-box-flex:0.5;flex:0.5;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;margin-right:15px}#cnc-editor-panel .box .preview-2d .preview-panel{background-color:#000;height:300px}#cnc-editor-panel .box .preview-2d .loading{background:#000;height:100%;width:100%}#cnc-editor-panel .box .preview-2d .loading .rotation{height:50px;position:absolute;right:-webkit-calc(50% + 220px);right:-moz-calc(50% + 220px);right:calc(50% + 220px);top:-webkit-calc(50% - 150px);top:-moz-calc(50% - 150px);top:calc(50% - 150px);width:50px}#cnc-editor-panel .box .preview-2d .param-panel{border:1px solid #ccc;height:300px;margin-top:10px;overflow-x:hidden;overflow-y:auto;padding:10px}#cnc-editor-panel .box .preview-2d .param-panel .fileName{-webkit-align-self:center;align-self:center;color:#1890ff;font-style:italic;margin-left:5px}#cnc-editor-panel .box .preview-2d .param-panel .params{border:1px solid #ccc;margin:10px 0;padding:5px}#cnc-editor-panel .box .preview-2d .param-panel .line{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-top:10px;width:100%}#cnc-editor-panel .box .preview-2d .param-panel .line .key{-webkit-flex-basis:100px;flex-basis:100px;font-weight:700}#cnc-editor-panel .box .preview-2d .param-panel .line .value{-webkit-flex-basis:1;flex-basis:1}#cnc-editor-panel .box .preview-2d .param-panel .bottons a.disabled{background:#ccc;pointer-events:none}#cnc-editor-panel .box .preview-3d{-webkit-box-flex:0.5;-webkit-flex:0.5;-moz-box-flex:0.5;flex:0.5}#cnc-editor-panel .box .preview-3d .preview-panel{background:#ccc;height:100%}.marginBottom16{margin-bottom:16px}.table-row-hidden{opacity:0}.table-row-hidden *{border-left:0!important;border-right:0!important}.drag-transparent-image{left:0;pointer-events:none;position:fixed;top:0;z-index:999}.box-shadow{box-shadow:1px 1px 4px rgba(0,0,0,.2)}.border1px{border:1px solid var(--border-color-panel-divider)}.draging-fragment-table{height:35px;pointer-events:none;position:fixed;top:0;width:793px;z-index:999999}.attr-combination .eda-input-option{left:18px;width:96.5%;z-index:100}.user-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-none{-webkit-box-flex:0!important;-webkit-flex:none!important;-moz-box-flex:0!important;flex:none!important}#waterMark-container{left:0;pointer-events:none;position:fixed;top:0;z-index:999999}.timePadding{top:20px!important}#textBoxContainer{background-color:var(--bg-color-input);-o-box-shadow:0 0 10px 5px #666;box-shadow:0 0 10px 5px #666;font-size:12px;overflow:auto;padding:2px;position:absolute}#textBoxContainer div.tip{color:#978e8e;margin-left:1px}#schPropertyList{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-calc(100% - 31px);height:-moz-calc(100% - 31px);height:calc(100% - 31px)}");W=W.join("");function gXt(){let t=document.createElement("style");t.innerHTML=W,document.head.appendChild(t)}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",gXt):gXt();bXt.exports={box_shadow:"box_shadow","common-title":"common-title",recent_lists:"recent_lists","sys-notice":"sys-notice","cancel-btn":"cancel-btn","to-exam":"to-exam",editor_start_page_img:"editor_start_page_img",start_page_to_edu:"start_page_to_edu",start_page_change_mode:"start_page_change_mode",new_lists:"new_lists",use_page_more_help:"use_page_more_help","weui-grids":"weui-grids","weui-grid":"weui-grid","float-share":"float-share",start_page_message_list:"start_page_message_list",title:"title",date:"date",head:"head",Home:"Home","home-layout-left":"home-layout-left",bSizeTopMenu:"bSizeTopMenu",bSizeBottomMenu:"bSizeBottomMenu","icon-eda-distribute-top-edges":"icon-eda-distribute-top-edges","icon-eda-datasheet":"icon-eda-datasheet","icon-eda-distribute-left-edges":"icon-eda-distribute-left-edges","icon-eda-preview-3d":"icon-eda-preview-3d","icon-eda-preview-3d-blue":"icon-eda-preview-3d-blue","icon-eda-preview-3d-green":"icon-eda-preview-3d-green","icon-eda-board-outline":"icon-eda-board-outline","icon-checked":"icon-checked","icon-eda-v-tick":"icon-eda-v-tick","icon-eda-region-slot":"icon-eda-region-slot","icon-eda-measure":"icon-eda-measure","icon-eda-dimension":"icon-eda-dimension","icon-eda-changes-import":"icon-eda-changes-import","icon-eda-routing-single":"icon-eda-routing-single","icon-eda-routing-auto":"icon-eda-routing-auto","icon-eda-routing-multiple":"icon-eda-routing-multiple","icon-eda-align-grid":"icon-eda-align-grid","icon-eda-flip-board":"icon-eda-flip-board","icon-eda-via":"icon-eda-via","icon-eda-pad":"icon-eda-pad","icon-eda-pad-line":"icon-eda-pad-line","icon-eda-point-test":"icon-eda-point-test","icon-eda-place-mask-region":"icon-eda-place-mask-region","icon-eda-fpc-stiffener":"icon-eda-fpc-stiffener","icon-eda-pad-rectangle":"icon-eda-pad-rectangle","icon-eda-canvas-origin":"icon-eda-canvas-origin","icon-eda-recovery":"icon-eda-recovery","icon-eda-dimension-check":"icon-eda-dimension-check","icon-eda-region-prohibited":"icon-eda-region-prohibited","icon-eda-region-constraint":"icon-eda-region-constraint","icon-eda-routing-stretch":"icon-eda-routing-stretch","icon-eda-region-copper":"icon-eda-region-copper","icon-eda-check-drc":"icon-eda-check-drc","icon-eda-gerber":"icon-eda-gerber","icon-eda-view-fit-board-outline":"icon-eda-view-fit-board-outline","icon-eda-region-fill":"icon-eda-region-fill","icon-eda-routing-push-stretch":"icon-eda-routing-push-stretch","icon-eda-cart":"icon-eda-cart","icon-eda-cart-panel":"icon-eda-cart-panel","icon-eda-cart-pcb":"icon-eda-cart-pcb","icon-eda-cart-symbol":"icon-eda-cart-symbol","icon-eda-pad-polygon":"icon-eda-pad-polygon","icon-eda-preview-2d":"icon-eda-preview-2d","icon-eda-distribute-array":"icon-eda-distribute-array","icon-eda-distribute-region":"icon-eda-distribute-region","icon-eda-array":"icon-eda-array","icon-eda-dimension-smart":"icon-eda-dimension-smart","icon-eda-position":"icon-eda-position","icon-eda-grid-dot":"icon-eda-grid-dot","icon-eda-grid-line":"icon-eda-grid-line","icon-eda-grid-not":"icon-eda-grid-not","icon--64":"icon--64","icon-eda-import":"icon-eda-import","eda-selection-continuous":"eda-selection-continuous","eda-selection-rectangle-outside":"eda-selection-rectangle-outside","eda-selection-rectangle-inside":"eda-selection-rectangle-inside","eda-selection-polygon-inside":"eda-selection-polygon-inside","eda-selection-polygon-outside":"eda-selection-polygon-outside","eda-selection-line-touched":"eda-selection-line-touched","icon-eda-kongjian":"icon-eda-kongjian","icon-eda-qq2":"icon-eda-qq2","icon-float-share":"icon-float-share","icon-eda-qq":"icon-eda-qq","icon-eda-tel":"icon-eda-tel","icon-eda-wx":"icon-eda-wx","icon-eda-qqqun":"icon-eda-qqqun","icon-eda-wxpublic":"icon-eda-wxpublic","icon-eda-point":"icon-eda-point","icon-eda-message":"icon-eda-message","icon-eda-crash":"icon-eda-crash","icon-eda-smt":"icon-eda-smt","icon-eda-up":"icon-eda-up","icon-eda-down":"icon-eda-down","icon-eda-redo1":"icon-eda-redo1","icon-eda-csv":"icon-eda-csv","icon-eda-pdf":"icon-eda-pdf","icon-eda-plus":"icon-eda-plus","icon-eda-minus":"icon-eda-minus","icon-eda-convert":"icon-eda-convert","icon-eda-solid":"icon-eda-solid","icon-eda-origin":"icon-eda-origin","icon-eda-conect":"icon-eda-conect","icon-eda-pin":"icon-eda-pin","icon-eda-pin-line":"icon-eda-pin-line","icon-eda-pin-rect":"icon-eda-pin-rect","icon-arc_center":"icon-arc_center","icon-eda-probe":"icon-eda-probe","icon-eda-copper":"icon-eda-copper","icon-eda-hole":"icon-eda-hole","icon-eda-drag":"icon-eda-drag","icon-eda-sheet":"icon-eda-sheet","icon-eda-rect":"icon-eda-rect","icon-eda-draw":"icon-eda-draw","icon-eda-pie":"icon-eda-pie","icon-eda-arrow":"icon-eda-arrow","icon-eda-polygon":"icon-eda-polygon","icon-eda-bezier":"icon-eda-bezier","icon-eda-x":"icon-eda-x","icon-eda-x-success":"icon-eda-x-success","icon-eda-x-warn":"icon-eda-x-warn","icon-eda-x-question":"icon-eda-x-question","icon-eda-x-info":"icon-eda-x-info","icon-eda-x-error":"icon-eda-x-error","icon-eda-x-circle":"icon-eda-x-circle","icon-eda-lock2":"icon-eda-lock2","icon-eda-netflag5v":"icon-eda-netflag5v","icon-eda-netflag-vcc":"icon-eda-netflag-vcc","icon-eda-add-row-above":"icon-eda-add-row-above","icon-eda-add-row-below":"icon-eda-add-row-below","icon-eda-add-column-left":"icon-eda-add-column-left","icon-eda-add-column-right":"icon-eda-add-column-right","icon-eda-delete-row":"icon-eda-delete-row","icon-eda-delete-column":"icon-eda-delete-column","icon-eda-merge-cell":"icon-eda-merge-cell","icon-eda-split-cell":"icon-eda-split-cell","icon-eda-full-border":"icon-eda-full-border","icon-eda-no-border":"icon-eda-no-border","icon-eda-bottom-border":"icon-eda-bottom-border","icon-eda-top-border":"icon-eda-top-border","icon-eda-left-border":"icon-eda-left-border","icon-eda-right-border":"icon-eda-right-border","icon-eda-inner-border":"icon-eda-inner-border","icon-eda-outer-border":"icon-eda-outer-border","icon-eda-text-align-left":"icon-eda-text-align-left",selected:"selected","icon-eda-text-align-right":"icon-eda-text-align-right","icon-eda-text-align-top":"icon-eda-text-align-top","icon-eda-text-align-bottom":"icon-eda-text-align-bottom","icon-eda-text-align-vertical-center":"icon-eda-text-align-vertical-center","icon-eda-text-align-horizontal-center":"icon-eda-text-align-horizontal-center","icon-eda-group":"icon-eda-group","icon-eda-netflaggnd2":"icon-eda-netflaggnd2","icon-eda-netflaggnd1":"icon-eda-netflaggnd1","icon-eda-netlabel":"icon-eda-netlabel","icon-eda-busentry":"icon-eda-busentry","icon-eda-netport":"icon-eda-netport","icon-eda-protractor":"icon-eda-protractor","icon-eda-any_angle":"icon-eda-any_angle","icon-eda-undo2":"icon-eda-undo2","icon-eda-redo2":"icon-eda-redo2","icon-eda-jlc":"icon-eda-jlc","icon-eda-pcb":"icon-eda-pcb","icon-ecad-pcb":"icon-ecad-pcb","icon-eda-partition":"icon-eda-partition","icon-eda-panel-new":"icon-eda-panel-new","icon-eda-help2":"icon-eda-help2","icon-eda-scale":"icon-eda-scale","icon-eda-narrow":"icon-eda-narrow","icon-eda-arrowup":"icon-eda-arrowup","icon-eda-arrowdown":"icon-eda-arrowdown","icon-eda-data":"icon-eda-data","icon-eda-route":"icon-eda-route","icon-eda-check":"icon-eda-check","icon-eda-delete-trash":"icon-eda-delete-trash","icon-eda-cut":"icon-eda-cut","icon-eda-rotate":"icon-eda-rotate","icon-eda-symbol":"icon-eda-symbol","icon-eda-ngspice":"icon-eda-ngspice","icon-eda-simulide":"icon-eda-simulide","icon-eda-waveform":"icon-eda-waveform","icon-eda-symbol-brown":"icon-eda-symbol-brown","icon-eda-symbol-28":"icon-eda-symbol-28","icon-eda-qfn-28":"icon-eda-qfn-28","icon-eda-table-28":"icon-eda-table-28","coloricon-eda-symbol":"coloricon-eda-symbol","icon-eda-new":"icon-eda-new","icon-eda-theme":"icon-eda-theme","icon-eda-tool":"icon-eda-tool","icon-eda-sch":"icon-eda-sch","icon-eda-fullscreen":"icon-eda-fullscreen","icon-eda-fitinscreen":"icon-eda-fitinscreen","icon-eda-open":"icon-eda-open","icon-eda-copy":"icon-eda-copy","icon-eda-paste":"icon-eda-paste","icon-eda-split":"icon-eda-split","icon-eda-edit-outline":"icon-eda-edit-outline","icon-eda-an":"icon-eda-an","icon-eda-cancel":"icon-eda-cancel","icon-eda-cancel-border":"icon-eda-cancel-border","icon-eda-document":"icon-eda-document","icon-eda-edit":"icon-eda-edit","icon-eda-code":"icon-eda-code","icon-eda-refresh-2":"icon-eda-refresh-2","eda-start-feedback2":"eda-start-feedback2","eda-start-phone":"eda-start-phone","eda-start-wechat":"eda-start-wechat","eda-start-public":"eda-start-public","icon-eda-eelib":"icon-eda-eelib","icon-eda-download":"icon-eda-download","icon-eda-fold":"icon-eda-fold","icon-eda-help":"icon-eda-help","icon-eda-info1":"icon-eda-info1","icon-eda-lcsc":"icon-eda-lcsc","icon-eda-list":"icon-eda-list","icon-eda-menu":"icon-eda-menu","icon-eda-part":"icon-eda-part","icon-eda-part-new":"icon-eda-part-new","icon-eda-photo":"icon-eda-photo","icon-eda-place":"icon-eda-place","icon-eda-add":"icon-eda-add","icon-eda-remove":"icon-eda-remove","icon-eda-zoom":"icon-eda-zoom","icon-eda-sort-bi-side":"icon-eda-sort-bi-side","icon-eda-sort-up-side":"icon-eda-sort-up-side","icon-eda-sort-down-side":"icon-eda-sort-down-side","icon-eda-route2":"icon-eda-route2","icon-eda-tag":"icon-eda-tag","icon-eda-fork":"icon-eda-fork","icon-eda-team":"icon-eda-team","icon-eda-create":"icon-eda-create","icon-eda-alignleft":"icon-eda-alignleft","icon-eda-security":"icon-eda-security","icon-eda-refresh":"icon-eda-refresh","icon-eda-refresh-white":"icon-eda-refresh-white","icon-eda-follow":"icon-eda-follow","icon-eda-addperson":"icon-eda-addperson","icon-eda-unlock":"icon-eda-unlock","icon-eda-forbidden":"icon-eda-forbidden","icon-eda-operational":"icon-eda-operational","icon-eda-stock":"icon-eda-stock","icon-eda-eye":"icon-eda-eye","icon-eda-routing-differential":"icon-eda-routing-differential","icon-eda-routing-tuning":"icon-eda-routing-tuning","icon-eda-routing-differential-tunning":"icon-eda-routing-differential-tunning","icon-eda-module":"icon-eda-module","icon-eda-comment":"icon-eda-comment","icon-eda-menu2":"icon-eda-menu2","icon-eda-lock":"icon-eda-lock","icon-eda-config":"icon-eda-config","icon-eda-unstar":"icon-eda-unstar","icon-eda-star-fill":"icon-eda-star-fill","icon-eda-star":"icon-eda-star","icon-eda-mobile":"icon-eda-mobile","icon-eda-book":"icon-eda-book","icon-eda-e":"icon-eda-e","icon-eda-sound":"icon-eda-sound","icon-eda-platform":"icon-eda-platform","icon-eda-like":"icon-eda-like","icon-eda-email":"icon-eda-email","icon-eda-account":"icon-eda-account","icon-eda-logout":"icon-eda-logout","icon-eda-share2":"icon-eda-share2","icon-eda-info2":"icon-eda-info2","icon-eda-load1":"icon-eda-load1","icon-eda-loading":"icon-eda-loading","icon-eda-loading-white":"icon-eda-loading-white","icon-eda-wave":"icon-eda-wave","icon-eda-circleminus":"icon-eda-circleminus","icon-eda-circleplus":"icon-eda-circleplus","icon-eda-location":"icon-eda-location","icon-eda-left":"icon-eda-left","icon-eda-symbol-block":"icon-eda-symbol-block","icon-eda-footprint":"icon-eda-footprint","coloricon-eda-footprint":"coloricon-eda-footprint","icon-eda-star-fill1":"icon-eda-star-fill1","icon-eda-paste1":"icon-eda-paste1","icon-eda-net-dot1":"icon-eda-net-dot1","icon-eda-net-not1":"icon-eda-net-not1","icon-eda-back-to-upper":"icon-eda-back-to-upper","icon-eda-update-block-symbol":"icon-eda-update-block-symbol","icon-eda-update-netport":"icon-eda-update-netport","icon-eda-image":"icon-eda-image","icon-eda-annotation":"icon-eda-annotation","icon-eda-3dshell-outline":"icon-eda-3dshell-outline","icon-eda-3dshell-screw-pillar":"icon-eda-3dshell-screw-pillar","icon-eda-3dshell-datum-line":"icon-eda-3dshell-datum-line","icon-eda-3dshell-side-region-slot":"icon-eda-3dshell-side-region-slot","icon-eda-3dshell-top-region-slot":"icon-eda-3dshell-top-region-slot","icon-eda-3dshell-side-entity":"icon-eda-3dshell-side-entity","icon-eda-3dshell-top-entity":"icon-eda-3dshell-top-entity","icon-eda-export-3d":"icon-eda-export-3d","icon-eda-distribute-vertically":"icon-eda-distribute-vertically","icon-eda-send-to-back":"icon-eda-send-to-back","icon-eda-designator":"icon-eda-designator","icon-eda-tool-link":"icon-eda-tool-link","icon-eda-lock1":"icon-eda-lock1","icon-eda-pin1":"icon-eda-pin1","icon-eda-update-pins":"icon-eda-update-pins","icon-eda-bring-to-front":"icon-eda-bring-to-front","icon-eda-trash-2":"icon-eda-trash-2","icon-eda-cut1":"icon-eda-cut1","icon-eda-copy1":"icon-eda-copy1","icon-eda-unstar1":"icon-eda-unstar1","icon-eda-loading1":"icon-eda-loading1","icon-eda-undo1":"icon-eda-undo1","icon-eda-panel-bottom":"icon-eda-panel-bottom","icon-eda-panel-left":"icon-eda-panel-left","icon-eda-add-2":"icon-eda-add-2","icon-eda-arrow-down":"icon-eda-arrow-down","icon-eda-clock":"icon-eda-clock",path1:"path1",path2:"path2",path3:"path3",path4:"path4","icon-eda-delete1":"icon-eda-delete1","icon-eda-help1":"icon-eda-help1","icon-eda-italics":"icon-eda-italics","icon-eda-menu1":"icon-eda-menu1","icon-eda-sort":"icon-eda-sort","icon-eda-scale-ruler":"icon-eda-scale-ruler","icon-eda-net-label":"icon-eda-net-label","icon-eda-symbol-short":"icon-eda-symbol-short","icon-eda-no-connect-flag":"icon-eda-no-connect-flag","icon-eda-junction-flag":"icon-eda-junction-flag","icon-eda-fold1":"icon-eda-fold1","icon-eda-news":"icon-eda-news","icon-eda-serve":"icon-eda-serve","icon-eda-quick-start":"icon-eda-quick-start","icon-eda-cancel-3":"icon-eda-cancel-3","icon-eda-page":"icon-eda-page","icon-eda-schematic":"icon-eda-schematic","icon-eda-device":"icon-eda-device","coloricon-eda-device":"coloricon-eda-device","icon-eda-library":"icon-eda-library","icon-eda-wire":"icon-eda-wire","icon-eda-add-circle":"icon-eda-add-circle","icon-eda-back-to-template":"icon-eda-back-to-template","icon-eda-module-schematic":"icon-eda-module-schematic","icon-eda-add1":"icon-eda-add1","icon-eda-arrow-right-3":"icon-eda-arrow-right-3","icon-eda-arrow-down-2":"icon-eda-arrow-down-2","icon-eda-blod":"icon-eda-blod","icon-eda-box":"icon-eda-box","icon-eda-circle-2":"icon-eda-circle-2","icon-eda-clear":"icon-eda-clear","icon-eda-delete-trash-circle":"icon-eda-delete-trash-circle","icon-eda-edit1":"icon-eda-edit1","icon-eda-export1":"icon-eda-export1","icon-eda-exsit":"icon-eda-exsit","icon-eda-filter-2":"icon-eda-filter-2","icon-eda-netflag-agnd":"icon-eda-netflag-agnd","icon-eda-netflag-gnd":"icon-eda-netflag-gnd","icon-eda-netflag-gnd-brown":"icon-eda-netflag-gnd-brown","icon-eda-netflag-pgnd":"icon-eda-netflag-pgnd","icon-eda-help11":"icon-eda-help11","icon-eda-impacted":"icon-eda-impacted","icon-eda-netport-in":"icon-eda-netport-in","icon-eda-offPageConnector-in":"icon-eda-offPageConnector-in","icon-eda-offPageConnector-out":"icon-eda-offPageConnector-out","icon-eda-offPageConnector-bi":"icon-eda-offPageConnector-bi","icon-eda-differential":"icon-eda-differential","icon-eda-differential-brown":"icon-eda-differential-brown","icon-eda-increase":"icon-eda-increase","icon-eda-key":"icon-eda-key","icon-eda-negative-pulse":"icon-eda-negative-pulse","icon-eda-move-right-line":"icon-eda-move-right-line","icon-eda-offsheet":"icon-eda-offsheet","icon-eda-onsheet":"icon-eda-onsheet","icon-eda-positive-pulse":"icon-eda-positive-pulse","icon-eda-post":"icon-eda-post","icon-eda-rect-2":"icon-eda-rect-2","icon-eda-refresh1":"icon-eda-refresh1","icon-eda-setting-2":"icon-eda-setting-2","icon-eda-setting":"icon-eda-setting","icon-eda-setting1":"icon-eda-setting1","icon-eda-click-to-select":"icon-eda-click-to-select","icon-eda-team-join":"icon-eda-team-join","icon-eda-join":"icon-eda-join","icon-eda-folder-2":"icon-eda-folder-2","icon-eda-sine-wave":"icon-eda-sine-wave","icon-eda-target":"icon-eda-target","icon-eda-team1":"icon-eda-team1","icon-eda-trash":"icon-eda-trash","icon-eda-triangle-right":"icon-eda-triangle-right","icon-eda-underline":"icon-eda-underline","icon-eda-wave1":"icon-eda-wave1","icon-eda-netport-bi":"icon-eda-netport-bi","icon-eda-bisheet":"icon-eda-bisheet","icon-eda-netport-out":"icon-eda-netport-out","icon-eda-netport-out-brown":"icon-eda-netport-out-brown","icon-eda-move-left-line":"icon-eda-move-left-line","icon-eda-pulse":"icon-eda-pulse","icon-eda-more":"icon-eda-more","icon-eda-arc1":"icon-eda-arc1","icon-eda-arrow-left-1":"icon-eda-arrow-left-1","icon-eda-bom":"icon-eda-bom","icon-eda-checkbox-indeterminate":"icon-eda-checkbox-indeterminate","icon-eda-block1":"icon-eda-block1","icon-eda-book1":"icon-eda-book1","icon-eda-bus1":"icon-eda-bus1","icon-eda-clock1":"icon-eda-clock1","icon-eda-file1":"icon-eda-file1","icon-eda-filter1":"icon-eda-filter1","icon-eda-flip-horizontally":"icon-eda-flip-horizontally","icon-eda-flip-vertically":"icon-eda-flip-vertically","icon-eda-net-line1":"icon-eda-net-line1","icon-eda-hand":"icon-eda-hand","icon-eda-backup":"icon-eda-backup","icon-eda-import1":"icon-eda-import1","icon-eda-tree-2":"icon-eda-tree-2","icon-eda-panel":"icon-eda-panel","icon-eda-panel-right":"icon-eda-panel-right","icon-eda-list1":"icon-eda-list1","icon-eda-netlist":"icon-eda-netlist","icon-eda-board":"icon-eda-board","icon-eda-board-new":"icon-eda-board-new","icon-eda-schematic-new":"icon-eda-schematic-new","icon-eda-page-new":"icon-eda-page-new","icon-eda-pcb-new":"icon-eda-pcb-new","icon-ecad-pcb-new":"icon-ecad-pcb-new","icon-eda-folder-new":"icon-eda-folder-new","icon-eda-folder-open":"icon-eda-folder-open","icon-eda-project":"icon-eda-project","icon-eda-folder":"icon-eda-folder","icon-eda-rect1":"icon-eda-rect1","icon-eda-redo4":"icon-eda-redo4","icon-eda-rotate-left":"icon-eda-rotate-left","icon-eda-rotate-right":"icon-eda-rotate-right","icon-eda-find":"icon-eda-find","icon-eda-similar":"icon-eda-similar","icon-eda-cutout":"icon-eda-cutout","icon-eda-table1":"icon-eda-table1","icon-eda-tag1":"icon-eda-tag1","icon-eda-text1":"icon-eda-text1","icon-eda-view":"icon-eda-view","icon-eda-wire1":"icon-eda-wire1","icon-eda-zoom-in":"icon-eda-zoom-in","icon-eda-zoom-out":"icon-eda-zoom-out","icon-eda-table":"icon-eda-table","icon-eda-redo":"icon-eda-redo","icon-eda-export":"icon-eda-export","icon-eda-print":"icon-eda-print","icon-eda-bom2":"icon-eda-bom2","icon-eda-save":"icon-eda-save","icon-eda-save-all":"icon-eda-save-all","icon-eda-save-as":"icon-eda-save-as","icon-eda-undo":"icon-eda-undo","icon-eda-redo3":"icon-eda-redo3","icon-eda-view-fit-all":"icon-eda-view-fit-all","icon-eda-view-fit-selection":"icon-eda-view-fit-selection","icon-eda-view-fit-area-selection":"icon-eda-view-fit-area-selection","icon-eda-adapte-view":"icon-eda-adapte-view","icon-eda-filter":"icon-eda-filter","icon-eda-tree":"icon-eda-tree","icon-eda-info3":"icon-eda-info3","icon-eda-bottom-tool":"icon-eda-bottom-tool","icon--23":"icon--23","icon-eda-select":"icon-eda-select","icon-eda-bus":"icon-eda-bus","icon-eda-arc":"icon-eda-arc","icon-eda-rectangle":"icon-eda-rectangle","icon-eda-teardrop":"icon-eda-teardrop","icon-eda-circle":"icon-eda-circle","icon-eda-ellipse":"icon-eda-ellipse","icon-eda-3d-model-new":"icon-eda-3d-model-new","icon-eda-3d-model":"icon-eda-3d-model","icon-eda-line":"icon-eda-line","icon-eda-text":"icon-eda-text","icon-eda-align-top":"icon-eda-align-top","icon-eda-align-vertical-center":"icon-eda-align-vertical-center","icon-eda-align-bottom":"icon-eda-align-bottom","icon-eda-align-left":"icon-eda-align-left","icon-eda-align-horizontal-center":"icon-eda-align-horizontal-center","icon-eda-align-right":"icon-eda-align-right","icon-eda-distribute-horizontally":"icon-eda-distribute-horizontally","icon-eda-distribute-horizontally-by-distance":"icon-eda-distribute-horizontally-by-distance","icon-eda-distribute-horizontally-by-center-distance":"icon-eda-distribute-horizontally-by-center-distance","icon-eda-h-flip":"icon-eda-h-flip","icon-eda-v-flip":"icon-eda-v-flip","icon-eda-rotate2":"icon-eda-rotate2","icon-eda-reverse":"icon-eda-reverse","icon-eda-fileRecovery":"icon-eda-fileRecovery","icon-eda-share":"icon-eda-share","icon-eda-wire2":"icon-eda-wire2","icon-eda-expend":"icon-eda-expend","icon-service":"icon-service","icon-quick_start":"icon-quick_start","icon-warning":"icon-warning","icon-heart":"icon-heart","icon-heart-broken":"icon-heart-broken","icon-eda-pinlocation":"icon-eda-pinlocation","icon-eda-help3":"icon-eda-help3","icon-eda-file":"icon-eda-file","layer-panel-table":"layer-panel-table","layer-panel-row":"layer-panel-row","visible-eye-tag":"visible-eye-tag","hidden-eye-tag":"hidden-eye-tag","icon-eda-tree-fold-1":"icon-eda-tree-fold-1","icon-eda-tree-unfold-1":"icon-eda-tree-unfold-1","icon-eda-tree-unfold-2":"icon-eda-tree-unfold-2","icon-eda-move-up":"icon-eda-move-up","icon-eda-move-down":"icon-eda-move-down","icon-eda-move-down-line":"icon-eda-move-down-line","icon-eda-move":"icon-eda-move","icon-eda-view-full-screen":"icon-eda-view-full-screen","icon-eda-ratline":"icon-eda-ratline","icon-eda-vias-suture":"icon-eda-vias-suture","icon-eda-check-erc":"icon-eda-check-erc","icon-eda-routing-push":"icon-eda-routing-push","icon-eda-command":"icon-eda-command","icon-eda-manager-footprint":"icon-eda-manager-footprint","icon-eda-manager-device":"icon-eda-manager-device","icon-eda-manager-layer":"icon-eda-manager-layer","icon-eda-manager-copper":"icon-eda-manager-copper","icon-eda-manager-3d-model":"icon-eda-manager-3d-model","icon-eda-bom-matching":"icon-eda-bom-matching","icon-eda-soldering-assistance":"icon-eda-soldering-assistance","icon-eda-position-file":"icon-eda-position-file","icon-eda-info":"icon-eda-info","icon-eda-wizard":"icon-eda-wizard","icon-eda-dimension-length":"icon-eda-dimension-length","icon-eda-dimension-degree":"icon-eda-dimension-degree","icon-eda-dimension-radius":"icon-eda-dimension-radius","icon-eda-dimension-coordinate":"icon-eda-dimension-coordinate","icon-eda-arc-center":"icon-eda-arc-center","icon-eda-arc-two-points":"icon-eda-arc-two-points","icon-eda-arc-three-points":"icon-eda-arc-three-points","icon-eda-ask-question":"icon-eda-ask-question","icon-eda-remove-circle":"icon-eda-remove-circle","icon-eda-zoom-small":"icon-eda-zoom-small","icon-eda-eye-small":"icon-eda-eye-small","icon-eda-filter-small":"icon-eda-filter-small","icon-eda-info-small":"icon-eda-info-small","icon-eda-lock-small":"icon-eda-lock-small","icon-eda-refresh-small":"icon-eda-refresh-small","icon-eda-refresh-1-small":"icon-eda-refresh-1-small","icon-eda-sort-bi-side-small":"icon-eda-sort-bi-side-small","icon-eda-sort-down-side-small":"icon-eda-sort-down-side-small","icon-eda-sort-up-side-small":"icon-eda-sort-up-side-small","icon-eda-unlock-side-small":"icon-eda-unlock-side-small","icon-eda-x-circle-small":"icon-eda-x-circle-small","icon-eda-no-fixed":"icon-eda-no-fixed","icon-eda-fixed":"icon-eda-fixed","icon-eda-distribute-vertically-by-distance":"icon-eda-distribute-vertically-by-distance","icon-eda-distribute-vertically-by-center-distance":"icon-eda-distribute-vertically-by-center-distance","icon-eda-exit-quit":"icon-eda-exit-quit","icon-eda-bell":"icon-eda-bell","icon-eda-update":"icon-eda-update","icon-eda-upload":"icon-eda-upload","icon-eda-uploading":"icon-eda-uploading","icon-eda-sync-fail":"icon-eda-sync-fail","icon-eda-sync-cloud":"icon-eda-sync-cloud","icon-eda-sync-cloud-fill-dangerous":"icon-eda-sync-cloud-fill-dangerous","icon-eda-sync-finish":"icon-eda-sync-finish","icon-eda-sync-rotate":"icon-eda-sync-rotate","icon-eda-bezier-2":"icon-eda-bezier-2","icon-dimension-smart-panel":"icon-dimension-smart-panel","icon-pen-tool":"icon-pen-tool","icon-eda-board-fill":"icon-eda-board-fill","icon-ecad-board-fill":"icon-ecad-board-fill","icon-eda-board-new-fill":"icon-eda-board-new-fill","icon-ecad-board-new-fill":"icon-ecad-board-new-fill","icon-eda-project-fill":"icon-eda-project-fill","icon-eda-project-open-source":"icon-eda-project-open-source","icon-eda-combination":"icon-eda-combination","icon-eda-standard-edition-migration":"icon-eda-standard-edition-migration","icon-ok":"icon-ok","icon-eda-update-to-pcb":"icon-eda-update-to-pcb","icon-eda-rotate-by-reference":"icon-eda-rotate-by-reference","icon-eda-schematic-block":"icon-eda-schematic-block","icon-eda-reuse-block":"icon-eda-reuse-block","icon-eda-class-track":"icon-eda-class-track","icon-eda-member":"icon-eda-member","icon-eda-person":"icon-eda-person","icon-eda-3d-preview-top":"icon-eda-3d-preview-top","icon-eda-3d-preview-bottom":"icon-eda-3d-preview-bottom","icon-eda-3d-preview-right":"icon-eda-3d-preview-right","icon-eda-3d-preview-left":"icon-eda-3d-preview-left","icon-eda-3d-preview-front":"icon-eda-3d-preview-front","icon-eda-3d-preview-back":"icon-eda-3d-preview-back","icon-eda-3d-preview-explode":"icon-eda-3d-preview-explode","eda-sort-up-arrow":"eda-sort-up-arrow","eda-sort-down-arrow":"eda-sort-down-arrow","eda-filter-pixel":"eda-filter-pixel","icon-eda-3d-preview-normalview":"icon-eda-3d-preview-normalview","icon-eda-3d-preview-outlineview":"icon-eda-3d-preview-outlineview","icon-eda-3d-preview-gerberview":"icon-eda-3d-preview-gerberview","icon-eda-equal-length-line45-centered":"icon-eda-equal-length-line45-centered","icon-eda-equal-length-line45-not-centered":"icon-eda-equal-length-line45-not-centered","icon-eda-equal-length-line90-centered":"icon-eda-equal-length-line90-centered","icon-eda-equal-length-line90-not-centered":"icon-eda-equal-length-line90-not-centered","icon-eda-equal-length-arc90-centered":"icon-eda-equal-length-arc90-centered","icon-eda-equal-length-arc90-not-centered":"icon-eda-equal-length-arc90-not-centered","icon-eda-netflag-5V":"icon-eda-netflag-5V","icon-eda-list-detail":"icon-eda-list-detail","icon-eda-list-grid":"icon-eda-list-grid","icon-eda-pdf1":"icon-eda-pdf1","icon-eda-pdf-1":"icon-eda-pdf-1","icon-eda-pdf-2":"icon-eda-pdf-2","icon-eda-duplicate-1":"icon-eda-duplicate-1","icon-eda-link":"icon-eda-link",off:"off","icon-eda-unlink":"icon-eda-unlink","icon-eda-refresh-1":"icon-eda-refresh-1","icon-eda-restore":"icon-eda-restore","icon-eda-maximize":"icon-eda-maximize","icon-eda-drawing":"icon-eda-drawing","icon-eda-drawing-brown":"icon-eda-drawing-brown","icon-eda-non-electronic-flag":"icon-eda-non-electronic-flag","icon-eda-non-electronic-flag-brown":"icon-eda-non-electronic-flag-brown","icon-eda-fold-up":"icon-eda-fold-up","icon-eda-pop-up":"icon-eda-pop-up","icon-eda-symbol-resistor":"icon-eda-symbol-resistor","icon-eda-symbol-capacitor":"icon-eda-symbol-capacitor","icon-eda-symbol-inductor":"icon-eda-symbol-inductor","icon-eda-symbol-diode":"icon-eda-symbol-diode","icon-eda-smt-patch":"icon-eda-smt-patch","icon-eda-snap":"icon-eda-snap","icon-eda-in-stock-lcsc":"icon-eda-in-stock-lcsc","icon-eda-in-stock-smt":"icon-eda-in-stock-smt","icon-eda-logo":"icon-eda-logo","icon-ecad-logo":"icon-ecad-logo","icon-eda-auxiliary":"icon-eda-auxiliary","icon-eda-auxiliary-horizontal":"icon-eda-auxiliary-horizontal","icon-eda-auxiliary-vertical":"icon-eda-auxiliary-vertical","icon-eda-auxiliary-point":"icon-eda-auxiliary-point","icon-eda-filler-none":"icon-eda-filler-none","icon-eda-filler-solid":"icon-eda-filler-solid","icon-eda-filler-grid":"icon-eda-filler-grid","icon-eda-filler-horizontal":"icon-eda-filler-horizontal","icon-eda-filler-vertical":"icon-eda-filler-vertical","icon-eda-filler-rhombic-grid":"icon-eda-filler-rhombic-grid","icon-eda-filler-left-slash":"icon-eda-filler-left-slash","icon-eda-filler-right-slash":"icon-eda-filler-right-slash","icon-eda-capture-stop":"icon-eda-capture-stop","icon-eda-connect-ignore":"icon-eda-connect-ignore","icon-eda-connect-warning":"icon-eda-connect-warning","icon-eda-connect-error":"icon-eda-connect-error","icon-eda-connect-fatal-error":"icon-eda-connect-fatal-error","icon-eda-sim-start":"icon-eda-sim-start","icon-eda-sim-pause":"icon-eda-sim-pause","icon-eda-sim-stop":"icon-eda-sim-stop","icon-eda-sim-setting":"icon-eda-sim-setting","icon-eda-sim-probe-current":"icon-eda-sim-probe-current","icon-eda-sim-probe-voltage":"icon-eda-sim-probe-voltage","icon-eda-sim-probe-digital":"icon-eda-sim-probe-digital","icon-eda-sim-toggleButton-on":"icon-eda-sim-toggleButton-on","icon-eda-sim-toggleButton-off":"icon-eda-sim-toggleButton-off","icon-eda-sim-rising-edge":"icon-eda-sim-rising-edge","icon-eda-sim-falling-edge":"icon-eda-sim-falling-edge","icon-eda-sim-new":"icon-eda-sim-new","eda-sort-sim-up-arrow":"eda-sort-sim-up-arrow","eda-sort-sim-down-arrow":"eda-sort-sim-down-arrow",combo:"combo","combo-text":"combo-text","combo-arrow":"combo-arrow","combo-arrow-hover":"combo-arrow-hover","combo-panel":"combo-panel","combobox-item":"combobox-item","comboboxdrop-item":"comboboxdrop-item","combobox-item-hover":"combobox-item-hover","comboboxdrop-item-hover":"comboboxdrop-item-hover","combobox-item-selected":"combobox-item-selected","comboboxdrop-item-selected":"comboboxdrop-item-selected",datagrid:"datagrid","panel-body":"panel-body","datagrid-view":"datagrid-view","datagrid-wrap":"datagrid-wrap","datagrid-view1":"datagrid-view1","datagrid-view2":"datagrid-view2","datagrid-mask":"datagrid-mask","datagrid-mask-msg":"datagrid-mask-msg","panel-loading":"panel-loading","tree-loading":"tree-loading","datagrid-title":"datagrid-title","datagrid-title-text":"datagrid-title-text","datagrid-title-with-icon":"datagrid-title-with-icon","datagrid-title-icon":"datagrid-title-icon","datagrid-sort-desc":"datagrid-sort-desc","datagrid-sort-icon":"datagrid-sort-icon","datagrid-sort-asc":"datagrid-sort-asc","datagrid-sort-no":"datagrid-sort-no","datagrid-toolbar":"datagrid-toolbar","datagrid-btn-separator":"datagrid-btn-separator","datagrid-pager":"datagrid-pager","datagrid-header":"datagrid-header","datagrid-header-inner":"datagrid-header-inner","datagrid-header-over":"datagrid-header-over","datagrid-cell":"datagrid-cell","datagrid-cell-group":"datagrid-cell-group","datagrid-cell-rownumber":"datagrid-cell-rownumber","datagrid-header-rownumber":"datagrid-header-rownumber","datagrid-body":"datagrid-body","datagrid-body-inner":"datagrid-body-inner","datagrid-footer":"datagrid-footer","datagrid-footer-inner":"datagrid-footer-inner","datagrid-header-check":"datagrid-header-check","datagrid-cell-check":"datagrid-cell-check","datagrid-row-collapse":"datagrid-row-collapse","datagrid-row-expand":"datagrid-row-expand","datagrid-row-alt":"datagrid-row-alt","datagrid-row-over":"datagrid-row-over","datagrid-row-selected":"datagrid-row-selected","datagrid-resize-proxy":"datagrid-resize-proxy","datagrid-editable":"datagrid-editable","datagrid-editable-input":"datagrid-editable-input","dialog-content":"dialog-content","dialog-toolbar":"dialog-toolbar","dialog-tool-separator":"dialog-tool-separator","dialog-button":"dialog-button","l-btn":"l-btn",left:"left","l-btn-plain":"l-btn-plain","l-btn-disabled":"l-btn-disabled","l-btn-left":"l-btn-left","l-btn-text":"l-btn-text","l-btn-empty":"l-btn-empty",progressbar:"progressbar","progressbar-text":"progressbar-text","progressbar-value":"progressbar-value",viewDatasheet:"viewDatasheet",viewProductDetail:"viewProductDetail","m-btn-downarrow":"m-btn-downarrow","messager-body":"messager-body",content:"content","messager-button":"messager-button","messager-icon":"messager-icon","messager-error":"messager-error","icon-eda-fatal-error":"icon-eda-fatal-error","icon-eda-error-1":"icon-eda-error-1","icon-eda-warning-2":"icon-eda-warning-2","messager-error2":"messager-error2","messager-info":"messager-info","messager-info2":"messager-info2","messager-question":"messager-question","messager-warning":"messager-warning","messager-warning2":"messager-warning2","messager-success":"messager-success","icon-eda-warning-1":"icon-eda-warning-1","messager-input":"messager-input",panel:"panel",window:"window","panel-header":"panel-header","panel-header-noborder":"panel-header-noborder",hasborder:"hasborder","single-message":"single-message","window-body":"window-body","panel-body-noheader":"panel-body-noheader","panel-body-noborder":"panel-body-noborder","panel-with-icon":"panel-with-icon","panel-icon":"panel-icon","panel-tool":"panel-tool","panel-tool-over":"panel-tool-over","panel-tool-close":"panel-tool-close","panel-tool-max":"panel-tool-max","panel-tool-min":"panel-tool-min","panel-tool-restore":"panel-tool-restore","panel-tool-collapse":"panel-tool-collapse","panel-tool-expand":"panel-tool-expand",spinner:"spinner","spinner-text":"spinner-text","spinner-arrow":"spinner-arrow","spinner-arrow-down":"spinner-arrow-down","spinner-arrow-up":"spinner-arrow-up","spinner-arrow-hover":"spinner-arrow-hover","s-btn-downarrow":"s-btn-downarrow","s-btn-active":"s-btn-active","s-btn-plain-active":"s-btn-plain-active","tabs-container":"tabs-container","tabs-header":"tabs-header","tabs-header-left":"tabs-header-left","tabs-header-noborder":"tabs-header-noborder","tabs-header-plain":"tabs-header-plain","tabs-scroller-left":"tabs-scroller-left","tabs-scroller-right":"tabs-scroller-right","tabs-tool":"tabs-tool","tabs-scroller-over":"tabs-scroller-over","tabs-wrap":"tabs-wrap","tabs-scrolling":"tabs-scrolling",tabs:"tabs","tabs-inner":"tabs-inner",disabled:"disabled","tabs-title":"tabs-title","tabs-selected":"tabs-selected","tabs-with-icon":"tabs-with-icon","tabs-icon":"tabs-icon","tabs-closable":"tabs-closable","tabs-close":"tabs-close","tabs-panels":"tabs-panels","tabs-panels-right":"tabs-panels-right","tabs-panels-noborder":"tabs-panels-noborder",tree:"tree","tree-node":"tree-node","tree-indent":"tree-indent","tree-hit":"tree-hit","tree-collapsed":"tree-collapsed","tree-collapsed-hover":"tree-collapsed-hover","tree-expanded":"tree-expanded","tree-expanded-hover":"tree-expanded-hover","tree-expanded-bottom":"tree-expanded-bottom","tree-collapsed-bottom":"tree-collapsed-bottom","tree-join":"tree-join","tree-join-bottom":"tree-join-bottom","tree-line":"tree-line","tree-folder":"tree-folder","tree-folder-open":"tree-folder-open","tree-folder-stick":"tree-folder-stick","tree-folder-owner":"tree-folder-owner","tree-icon":"tree-icon","tree-file":"tree-file","tree-title":"tree-title","tree-node-hover":"tree-node-hover","tree-node-selected":"tree-node-selected","tree-checkbox":"tree-checkbox","tree-checkbox0":"tree-checkbox0","tree-checkbox1":"tree-checkbox1","tree-checkbox2":"tree-checkbox2","tree-node-proxy":"tree-node-proxy","tree-dnd-yes":"tree-dnd-yes","tree-dnd-no":"tree-dnd-no","tree-node-top":"tree-node-top","tree-node-bottom":"tree-node-bottom","tree-node-append":"tree-node-append","tree-editor":"tree-editor","validatebox-invalid":"validatebox-invalid","validatebox-tip":"validatebox-tip","validatebox-tip-content":"validatebox-tip-content","validatebox-tip-pointer":"validatebox-tip-pointer","easyui-combobox-select-droplist":"easyui-combobox-select-droplist","easyui-comboboxdrop-select-droplist":"easyui-comboboxdrop-select-droplist","easyui-comboboxdrop-select-droplist-ul":"easyui-comboboxdrop-select-droplist-ul","easyui-combobox-select-droplist-button":"easyui-combobox-select-droplist-button","easyui-comboboxdrop-select-droplist-button":"easyui-comboboxdrop-select-droplist-button",rotate:"rotate","easyui-comboboxdrop":"easyui-comboboxdrop","easyui-comboboxdrop-select-droplist-input":"easyui-comboboxdrop-select-droplist-input","easyui-comboboxdrop-select-droplist-clear-button":"easyui-comboboxdrop-select-droplist-clear-button","window-shadow":"window-shadow","window-header":"window-header","window-proxy":"window-proxy","window-mask":"window-mask",input_filter_drop_list:"input_filter_drop_list",input_filter_icon:"input_filter_icon",input_filter_input:"input_filter_input",f12:"f12",f14:"f14",f16:"f16",f18:"f18",f20:"f20",f22:"f22","bg-white":"bg-white","bg-black":"bg-black","bg-blue":"bg-blue","bg-light-blue":"bg-light-blue",blue:"blue","f-white":"f-white","f-black":"f-black","f-weight":"f-weight","f-gray":"f-gray",radius:"radius",w100:"w100",w50:"w50",h100:"h100",h50:"h50","t-left":"t-left","t-right":"t-right","t-center":"t-center","t-middle":"t-middle",relative:"relative",absolute:"absolute",fixed:"fixed","t-break":"t-break",clear:"clear","t-overflow":"t-overflow","gray-dialog-border":"gray-dialog-border","gray-border":"gray-border","gray-left-border":"gray-left-border","gray-right-border":"gray-right-border","gray-top-border":"gray-top-border","gray-bottom-border":"gray-bottom-border","blue-border":"blue-border","blue-left-border":"blue-left-border","blue-right-border":"blue-right-border","blue-top-border":"blue-top-border","blue-bottom-border":"blue-bottom-border","light-blue-border":"light-blue-border","light-blue-left-border":"light-blue-left-border","light-blue-right-border":"light-blue-right-border","light-blue-top-border":"light-blue-top-border","light-blue-bottom-border":"light-blue-bottom-border","center-middle":"center-middle","middle-center":"middle-center",overflow:"overflow",hidden:"hidden",visibility_h:"visibility_h","inline-block":"inline-block",right:"right",center:"center",selectable:"selectable",small:"small",medium:"medium","self-adaption":"self-adaption","icon-btn":"icon-btn",primary:"primary",fill:"fill",confirm:"confirm",cancel:"cancel",dangerous:"dangerous","l-btn-help":"l-btn-help","default-pagination":"default-pagination",toPrevious:"toPrevious",toNext:"toNext","pageSize-box":"pageSize-box","currentPage-box":"currentPage-box",rotation:"rotation","pageNumber-box":"pageNumber-box","default-check-menu":"default-check-menu",table:"table",flex:"flex",hide:"hide","form-item":"form-item",label:"label",origin:"origin",box:"box","radio-item":"radio-item",radios:"radios","align-top":"align-top","search-input":"search-input","filter-input":"filter-input","easyui-combobox":"easyui-combobox","m-form":"m-form","selection-disabled":"selection-disabled","pencil3-icon":"pencil3-icon","drcerror-style-sa":"drcerror-style-sa","drcerror-style-sb":"drcerror-style-sb","clear-input-circle":"clear-input-circle","q-grid":"q-grid",header:"header",cell:"cell","bg-gray":"bg-gray",filter:"filter",checkbox:"checkbox","filter-cancel":"filter-cancel",ellipsis:"ellipsis",contents:"contents",body:"body",draging:"draging",pages:"pages","no-link":"no-link",act:"act","sort-icon":"sort-icon","sort-1":"sort-1","sort-2":"sort-2","search-icon":"search-icon",active:"active",resizebar:"resizebar",isDraging:"isDraging","q-grid-box":"q-grid-box","resize-tip-line":"resize-tip-line",icon:"icon",clearIcon:"clearIcon","q-select-box":"q-select-box","q-select-virtual":"q-select-virtual","q-select-list":"q-select-list","q-search-input":"q-search-input",optgroup:"optgroup",item:"item","q-select-input-box":"q-select-input-box","q-select-input":"q-select-input",layoutBottom:"layoutBottom",drcResult:"drcResult","pcb-comparison-result":"pcb-comparison-result",leftSide:"leftSide",rightSide:"rightSide",btns:"btns",drcTable:"drcTable","pcb-comparison-result-tree":"pcb-comparison-result-tree","treeMyDesignDRC-content":"treeMyDesignDRC-content","treeMyDesignDRC-phantom":"treeMyDesignDRC-phantom",treeMyDesignDRC:"treeMyDesignDRC",commandWindow:"commandWindow",showCommand:"showCommand",enterCommand:"enterCommand",libType:"libType",libFrom:"libFrom",splitLine:"splitLine","dlgLibs-middle":"dlgLibs-middle","toggle-type":"toggle-type","dlgLibs-categories-wrap":"dlgLibs-categories-wrap","dlgLibs-categories":"dlgLibs-categories",categoryAddBtn:"categoryAddBtn",categoryExpandBtn:"categoryExpandBtn",showBiggerPreview:"showBiggerPreview",inputWrap:"inputWrap","dlgLibs-category":"dlgLibs-category",categorySelectMask:"categorySelectMask","bottomBar-left":"bottomBar-left",pageNumber:"pageNumber",nextPage:"nextPage",previousPage:"previousPage",refreshLibList:"refreshLibList","dlgLibs-searchform-wrap":"dlgLibs-searchform-wrap","dlgLibs-searchform-container":"dlgLibs-searchform-container","dlgLibs-keyword":"dlgLibs-keyword",categorySelectMenu:"categorySelectMenu",filterCategoryName:"filterCategoryName",selectCategoryName:"selectCategoryName",optionItem:"optionItem",itemName:"itemName",bottomBar:"bottomBar","bottomBar-splitLine":"bottomBar-splitLine",close:"close",toggle:"toggle","bottom-table-wrap":"bottom-table-wrap",libTable:"libTable","dlgLibs-tags":"dlgLibs-tags",treefilter:"treefilter",treefilterclear:"treefilterclear","dlgLibs-source":"dlgLibs-source","dlgLibs-source-select":"dlgLibs-source-select",filterTr:"filterTr",hasData:"hasData",fixedTableFilter:"fixedTableFilter","dlgLibs-filter":"dlgLibs-filter","dlgLibs-search":"dlgLibs-search","dlgLibs-categories-classes":"dlgLibs-categories-classes","dlgLibs-categories-types":"dlgLibs-categories-types","dlgLibs-categories-tags-container-tag-box":"dlgLibs-categories-tags-container-tag-box","icon-component-decorator":"icon-component-decorator","dlgLibs-liblist-icon-canbuy":"dlgLibs-liblist-icon-canbuy","dlgLibs-liblist":"dlgLibs-liblist",hightlight:"hightlight",subpart:"subpart",fixedTableHeaderWrapper:"fixedTableHeaderWrapper",fixedTableHeader:"fixedTableHeader","dlgLibs-liblist-sort-asc":"dlgLibs-liblist-sort-asc","dlgLibs-liblist-sort-icon":"dlgLibs-liblist-sort-icon","dlgLibs-liblist-sort-desc":"dlgLibs-liblist-sort-desc","bottomBar-preview":"bottomBar-preview",placeBtn:"placeBtn","emphasize-btn":"emphasize-btn",previewBox:"previewBox","thumb-loading":"thumb-loading","thumb-content":"thumb-content","preview-layout":"preview-layout",preview2:"preview2",preview3:"preview3",preview4:"preview4",fullHeight:"fullHeight",symbolPreviewBox:"symbolPreviewBox",previewSelect:"previewSelect","no-form-box":"no-form-box","dlgbtmbar-content-wrap":"dlgbtmbar-content-wrap","dlgbtmbar-classification-wrap-main":"dlgbtmbar-classification-wrap-main","comm-list-item":"comm-list-item","comm-icon-add":"comm-icon-add","comm-background-color-efefef":"comm-background-color-efefef","comm-btn-confirm":"comm-btn-confirm","comm-btn-cancel":"comm-btn-cancel","opacity-none":"opacity-none","pointer-events-none":"pointer-events-none","attr-prohibit":"attr-prohibit","display-block":"display-block","display-none":"display-none","display-flex":"display-flex","display-inline-flex":"display-inline-flex","flex-lateral-axis-center":"flex-lateral-axis-center","flex-lateral-axis-start":"flex-lateral-axis-start","flex-lateral-axis-end":"flex-lateral-axis-end","flex-lateral-axis-stretch":"flex-lateral-axis-stretch","flex-main-axis-center":"flex-main-axis-center","flex-main-axis-start":"flex-main-axis-start","flex-main-axis-end":"flex-main-axis-end","flex-main-axis-around":"flex-main-axis-around","flex-main-axis-between":"flex-main-axis-between","flex-nowrap":"flex-nowrap","flex-wrap":"flex-wrap","flex-direct-row":"flex-direct-row","flex-direct-rerow":"flex-direct-rerow","flex-direct-column":"flex-direct-column","flex-direct-recolumn":"flex-direct-recolumn","color-black-important":"color-black-important","color-white-important":"color-white-important","bgcolor-red-important":"bgcolor-red-important","attribute-global-container":"attribute-global-container","attribute-tabs-containter":"attribute-tabs-containter","active-toggle-btn":"active-toggle-btn","locked-toggle-btn":"locked-toggle-btn","unlock-toggle-btn":"unlock-toggle-btn","visible-toggle-btn":"visible-toggle-btn","layer-content-show":"layer-content-show","layer-panel-row-active":"layer-panel-row-active","pcb-attribute-manager":"pcb-attribute-manager","group-slider":"group-slider","group-slider-collapsed":"group-slider-collapsed","layer-content-list":"layer-content-list","element-main":"element-main","filter-primitive-visible":"filter-primitive-visible","filter-primitive-hidden":"filter-primitive-hidden","double-column":"double-column","attr-main":"attr-main","attr-main-select-content":"attr-main-select-content","attrlist-selected-wrapper":"attrlist-selected-wrapper","flex-content":"flex-content",name:"name",collapsed:"collapsed",txt_title:"txt_title",txt_value:"txt_value",panels:"panels","attribute-filter":"attribute-filter","layer-main-content":"layer-main-content","element-main-content":"element-main-content","usereasyui-tabs-li-disabled":"usereasyui-tabs-li-disabled","attribute-coordinate-containter":"attribute-coordinate-containter",line:"line","line-left":"line-left","line-right":"line-right",value:"value","footprint-attribute-containter":"footprint-attribute-containter","footprint-attribute-wrapper":"footprint-attribute-wrapper","pcb2d-attribute-tabs-containter":"pcb2d-attribute-tabs-containter","pcb2d-attribute-tabs-wrapper":"pcb2d-attribute-tabs-wrapper",f3DLayerOuterContainer:"f3DLayerOuterContainer","pcb3d-attribute-tabs-containter":"pcb3d-attribute-tabs-containter","pcb3d-attribute-tabs-wrapper":"pcb3d-attribute-tabs-wrapper",f3DAttributeOuterContainer:"f3DAttributeOuterContainer",attrHeader:"attrHeader",thicknessTable:"thicknessTable","filter-panel":"filter-panel","cursor-pointer":"cursor-pointer",hideInput:"hideInput","pick-all-els":"pick-all-els","item-container":"item-container","panel-layer-main-3d":"panel-layer-main-3d","layer-pattern-background":"layer-pattern-background","opacity-layer":"opacity-layer","board-layer":"board-layer","boardhole-layer":"boardhole-layer","gluehole-layer":"gluehole-layer","current-toggle-btn":"current-toggle-btn","layer-panel-row-editing":"layer-panel-row-editing","teardrop-circular-padvia-icon":"teardrop-circular-padvia-icon","teardrop-circular-padvia-arc-icon":"teardrop-circular-padvia-arc-icon","teardrop-not-circular-padvia-icon":"teardrop-not-circular-padvia-icon","teardrop-not-circular-padvia-arc-icon":"teardrop-not-circular-padvia-arc-icon","teardrop-routing-line-icon":"teardrop-routing-line-icon","teardrop-routing-arc-icon":"teardrop-routing-arc-icon","teardrop-t_connection-line-icon":"teardrop-t_connection-line-icon","teardrop-t_connection-arc-icon":"teardrop-t_connection-arc-icon","snap-box":"snap-box","snap-header":"snap-header","snap-content":"snap-content","snap-cfg":"snap-cfg","d3-op-ulists":"d3-op-ulists","d3-op-item":"d3-op-item","bigger-icon-size":"bigger-icon-size","d3-op-hover":"d3-op-hover","d3-op-preview-top":"d3-op-preview-top","d3-op-preview-bottom":"d3-op-preview-bottom","d3-op-preview-right":"d3-op-preview-right","d3-op-preview-left":"d3-op-preview-left","d3-op-preview-front":"d3-op-preview-front","d3-op-preview-back":"d3-op-preview-back","d3-op-preview-refresh":"d3-op-preview-refresh","d3-op-preview-adaptall":"d3-op-preview-adaptall","d3-op-spline":"d3-op-spline","d3-op-resize":"d3-op-resize","d3-op-resize-normal":"d3-op-resize-normal","d3-op-resize-full":"d3-op-resize-full","d3-op-tips":"d3-op-tips","ftp-op-resize":"ftp-op-resize","ftp-op-resize-normal":"ftp-op-resize-normal","ftp-op-resize-full":"ftp-op-resize-full","ftp-op-edit":"ftp-op-edit","ftp-op-edit-normal":"ftp-op-edit-normal","sys-commsize-fixed-cell":"sys-commsize-fixed-cell","circle-refresh-btn":"circle-refresh-btn","circle-refresh-btn-loading":"circle-refresh-btn-loading",elementRotate:"elementRotate","input-wrapper-line":"input-wrapper-line","der-netnet-row":"der-netnet-row","der-netnet-row-active":"der-netnet-row-active","der-netnet-row-highlight":"der-netnet-row-highlight","der-net-row":"der-net-row","der-netclass-row":"der-netclass-row","net-rule-table":"net-rule-table","der-nets-row-active":"der-nets-row-active","arr-icon":"arr-icon",panelFabricationFileDlg:"panelFabricationFileDlg",panelPreview:"panelPreview",panelProductionOrderDlg:"panelProductionOrderDlg","preview-content":"preview-content","switch-bar":"switch-bar","panel-tips":"panel-tips","preview-content-flex":"preview-content-flex","preview-box":"preview-box",cover:"cover",print:"print","preview-operate":"preview-operate",loading:"loading",form:"form","form-label":"form-label","form-box":"form-box",colorpanel:"colorpanel",btn:"btn",CT:"CT","pcb3dview-iframe":"pcb3dview-iframe","pcb3dview-container":"pcb3dview-container","pcb3dview-container-show":"pcb3dview-container-show","style-transition":"style-transition","pcb3dview-rightpanel-container":"pcb3dview-rightpanel-container","layout-toggler":"layout-toggler","pcb3d-attribute-containter":"pcb3d-attribute-containter","comm-tab-container":"comm-tab-container","comm-tab-header":"comm-tab-header","comm-tab-header-item":"comm-tab-header-item","comm-tab-header-item-active":"comm-tab-header-item-active","comm-tab-content":"comm-tab-content","comm-tab-content-item":"comm-tab-content-item","common-table-wrpper":"common-table-wrpper","active-row":"active-row","table-tr-cursor-pointer":"table-tr-cursor-pointer","table-tr-selected":"table-tr-selected","comm-btn":"comm-btn","commn-btn-forbidden":"commn-btn-forbidden","commn-btn-hide":"commn-btn-hide","comm-btn-default":"comm-btn-default","comm-btn-border":"comm-btn-border","comm-btn-default-disabled":"comm-btn-default-disabled","comm-btn-primary":"comm-btn-primary","comm-btn-primary-disabled":"comm-btn-primary-disabled","comm-btn-warning":"comm-btn-warning","comm-btn-warning-disabled":"comm-btn-warning-disabled","comm-btn-danger":"comm-btn-danger","comm-btn-danger-disabled":"comm-btn-danger-disabled","comm-btn-text":"comm-btn-text","comm-btn-text-disabled":"comm-btn-text-disabled",commTabHeaderItem:"commTabHeaderItem",commTabHeaderItemLastItem:"commTabHeaderItemLastItem",commTabHeaderItemActive:"commTabHeaderItemActive","border-col":"border-col","comm-tab-content-item-active":"comm-tab-content-item-active","comm-ulist":"comm-ulist","comm-list-item-active":"comm-list-item-active","comm-list-item-disabled":"comm-list-item-disabled","comm-dark-list-item":"comm-dark-list-item","comm-dark-list-item-active":"comm-dark-list-item-active","comm-dark-list-item-disabled":"comm-dark-list-item-disabled","tree-menu-wrapper":"tree-menu-wrapper","tr-menu-ulist":"tr-menu-ulist","tr-menu-item":"tr-menu-item","tr-menu-item-paving":"tr-menu-item-paving","tr-menu-item-folder":"tr-menu-item-folder","tr-menu-item-folder-selected":"tr-menu-item-folder-selected","tr-menu-item-folder-border":"tr-menu-item-folder-border","tr-menu-item-folder-text":"tr-menu-item-folder-text","tr-menu-item-extend":"tr-menu-item-extend","tr-menu-item-leaf":"tr-menu-item-leaf","tr-menu-item-leaf-hover":"tr-menu-item-leaf-hover","tr-menu-item-leaf-selected":"tr-menu-item-leaf-selected","tr-menu-item-leaf-disabled":"tr-menu-item-leaf-disabled","tr-menu-item-text":"tr-menu-item-text","tr-menu-item-text-tag":"tr-menu-item-text-tag","tr-menu-folder-exticon-wrapper":"tr-menu-folder-exticon-wrapper","tr-menu-folder-exticon":"tr-menu-folder-exticon","tr-menu-folder-exticon-close":"tr-menu-folder-exticon-close","tr-menu-item-add-icon":"tr-menu-item-add-icon","tr-menu-item-add-icon-show":"tr-menu-item-add-icon-show","tr-menu-item-display-input":"tr-menu-item-display-input","system-setting-menu":"system-setting-menu","comm-fittinginput-container":"comm-fittinginput-container","comm-fittinginput-wrapper":"comm-fittinginput-wrapper","comm-fittinginput-input":"comm-fittinginput-input","comm-fittinginput-clear":"comm-fittinginput-clear","comm-fittinginput-clear-hidden":"comm-fittinginput-clear-hidden","comm-fittinginput-search":"comm-fittinginput-search","comm-fittinginput-search-hidden":"comm-fittinginput-search-hidden","comm-fittinginput-last":"comm-fittinginput-last",last:"last",disable:"disable","comm-fittinginput-next":"comm-fittinginput-next",next:"next","filter-search":"filter-search","comm-fittinginput-wrapper-active":"comm-fittinginput-wrapper-active","comm-fittinginput-container-panel":"comm-fittinginput-container-panel","searchable-select-hide":"searchable-select-hide","searchable-select":"searchable-select","searchable-select-caret":"searchable-select-caret","searchable-select-dropdown":"searchable-select-dropdown","searchable-select-input":"searchable-select-input","searchable-select-holder":"searchable-select-holder","searchable-scroll":"searchable-scroll","has-privious":"has-privious","has-next":"has-next","searchable-has-privious":"searchable-has-privious","searchable-has-next":"searchable-has-next","searchable-select-items":"searchable-select-items","searchable-select-item":"searchable-select-item",hover:"hover","pop-content-container":"pop-content-container",oneLineOneInputDlg:"oneLineOneInputDlg","pop-content-wrapper":"pop-content-wrapper","comm-btn-operate-link":"comm-btn-operate-link","comm-btn-height":"comm-btn-height","margin-btn":"margin-btn","margin-top":"margin-top","dialog-input":"dialog-input","device-property-key":"device-property-key","attrs-select-wrap":"attrs-select-wrap","pop-footer-wrapper":"pop-footer-wrapper","comm-btn-left":"comm-btn-left","grid-export":"grid-export","route-link":"route-link","contextmenu-wrapper":"contextmenu-wrapper","ctxmenu-ulist":"ctxmenu-ulist","ctxmenu-item":"ctxmenu-item","ctxmenu-item-separate":"ctxmenu-item-separate","ctxmenu-item-extend":"ctxmenu-item-extend","ctxmenu-item-extend-icon":"ctxmenu-item-extend-icon","ctxmenu-item-content":"ctxmenu-item-content","ctxmenu-item-tag":"ctxmenu-item-tag","ctxmenu-item-tips-extend":"ctxmenu-item-tips-extend","ctxmenu-item-tips":"ctxmenu-item-tips","ctxmenu-item-text":"ctxmenu-item-text","ctxmenu-item-icon-tag":"ctxmenu-item-icon-tag","ctxmenu-item-content-hover":"ctxmenu-item-content-hover","ctxmenu-item-content-disabled":"ctxmenu-item-content-disabled","ctxmenu-item-tag-selected":"ctxmenu-item-tag-selected","ctxmenu-item-tag-viewshow":"ctxmenu-item-tag-viewshow","numberInput-container":"numberInput-container","numberInput-valueAdded":"numberInput-valueAdded","numberInput-valueRm":"numberInput-valueRm","project-attribute":"project-attribute","project-attribute-manager":"project-attribute-manager","global-products":"global-products","span-flex":"span-flex","select-resize":"select-resize","select-wrap":"select-wrap",select:"select","sea-wrap":"sea-wrap","sea-icon":"sea-icon","name-scroll":"name-scroll",longer:"longer","key-word":"key-word","key-word-wp":"key-word-wp","clear-one":"clear-one","clear-btn":"clear-btn","make-sure-btn":"make-sure-btn",results:"results",num:"num","item-pattern":"item-pattern",shop_list:"shop_list",inside:"inside","eda-product":"eda-product",three_nr:"three_nr",ccd:"ccd",one:"one",two:"two","two-tit":"two-tit","product-name-link":"product-name-link",catalog:"catalog","smt-flag":"smt-flag","multi-ellipsis":"multi-ellipsis",c9a9a9a:"c9a9a9a",two_01:"two_01","description-wrap":"description-wrap",l02_zb:"l02_zb",l02_yb:"l02_yb","data-sheet-btn":"data-sheet-btn",lower:"lower","tag-wrapper":"tag-wrapper",three:"three","price-warp":"price-warp","ppbbz-p":"ppbbz-p","ccd-ppbbz":"ccd-ppbbz",ffour:"ffour","product-btn":"product-btn",pan:"pan",pan_list:"pan_list",goldenrod:"goldenrod","text-flex-shrink":"text-flex-shrink","fan-out-netlabel-dlg":"fan-out-netlabel-dlg","fanout-netlabel-content":"fanout-netlabel-content","item-layer":"item-layer","add-pinname-to-netname":"add-pinname-to-netname","main-table":"main-table","fanout-netlbael-footer":"fanout-netlbael-footer","export-btn":"export-btn","import-btn":"import-btn","confirm-btn":"confirm-btn","netlabel-tab-dlg":"netlabel-tab-dlg","more-setting":"more-setting",advanced:"advanced","table-property-dlg":"table-property-dlg",border:"border","div-layer":"div-layer","list-layer":"list-layer","list-title":"list-title","list-title-null":"list-title-null","list-content":"list-content","fidldset-item":"fidldset-item","fidldset-legend":"fidldset-legend","layer-main":"layer-main","reset-btn":"reset-btn","device-standardization":"device-standardization","device-standardization-container":"device-standardization-container","device-standardization-header":"device-standardization-header","tab-content":"tab-content","device-standardization-header_right":"device-standardization-header_right",search:"search","search-clear":"search-clear","search-clear-hidden":"search-clear-hidden","designator-aggregation":"designator-aggregation","show-recommendations":"show-recommendations","btn-list":"btn-list","btn-list-item-icon":"btn-list-item-icon","designator-col":"designator-col","stock-patch-col":"stock-patch-col","stock-patch-col-icon":"stock-patch-col-icon","stock-patch-col-icon-item":"stock-patch-col-icon-item",new3DModelDlg:"new3DModelDlg",dlgFind:"dlgFind",condition:"condition",input:"input","search-range":"search-range",objs:"objs","obj-items":"obj-items","switch-search-content":"switch-search-content",tab:"tab","search-content":"search-content","replace-as":"replace-as","input-type":"input-type","replace-input":"replace-input",group:"group",findDialogContainer:"findDialogContainer","find-all":"find-all",ranges:"ranges",conditions:"conditions","group-attr":"group-attr","para-attr":"para-attr","reuse-block-attr":"reuse-block-attr",row:"row","ellipsis-help":"ellipsis-help",column2:"column2",column4:"column4",column3:"column3",dlgModifyHotkey:"dlgModifyHotkey",usedHotkey:"usedHotkey",filetype:"filetype",width:"width",borderOut:"borderOut",text:"text",tips:"tips",error:"error",editDisable:"editDisable","drawing-attr-Text-new":"drawing-attr-Text-new",list:"list","style-icon":"style-icon",default:"default","attr-color-text":"attr-color-text","font-family":"font-family","font-size":"font-size",tip:"tip",cloumn:"cloumn","origin-area":"origin-area","square-wrap":"square-wrap",square:"square","btn-reset-default":"btn-reset-default",isPanel:"isPanel",prePassBomStandradCheck:"prePassBomStandradCheck",maxWidthBtn:"maxWidthBtn","place-symbol-tab-dlg":"place-symbol-tab-dlg",modal:"modal",unselectable:"unselectable","shiny-blue":"shiny-blue",icon_operate:"icon_operate",icon_operate_up:"icon_operate_up","icon-eda-chat":"icon-eda-chat",icon_operate_down:"icon_operate_down",icon_operate_add:"icon_operate_add",icon_operate_copy:"icon_operate_copy",icon_operate_delete:"icon_operate_delete",icon_operate_clear:"icon_operate_clear","icon-live-teaching":"icon-live-teaching",icon_operate_movedrag:"icon_operate_movedrag",attr_setting_btn:"attr_setting_btn","box-shadow":"box-shadow",thinborder:"thinborder","border-box":"border-box",nowrap:"nowrap","s-drop-down":"s-drop-down",main:"main",home:"home",home_notice:"home_notice",working:"working","remove-filter":"remove-filter",layoutLeft:"layoutLeft",recentProjects:"recentProjects",project_item:"project_item",item_header:"item_header",item_body:"item_body",recentProjectTabs:"recentProjectTabs",w60:"w60",w40:"w40",prj_header:"prj_header",project_info:"project_info",project_name:"project_name",prj_container:"prj_container",time:"time",defaultPagination:"defaultPagination",findObjContainer:"findObjContainer",findObjTable:"findObjTable","tree-icon-small":"tree-icon-small","left-search-input":"left-search-input","left-tree-title":"left-tree-title","left-tree-tab":"left-tree-tab",tabbar:"tabbar",leftTreeSearch:"leftTreeSearch",number:"number",prev:"prev","icon-wrap":"icon-wrap",componentClassification:"componentClassification","split-line":"split-line",componentType:"componentType",netClassification:"netClassification",netType:"netType",count:"count",leftTreeContainer:"leftTreeContainer",tab_new_parttree:"tab_new_parttree",share:"share",treePanelObjects:"treePanelObjects","lock-wrap":"lock-wrap","lock-content":"lock-content","eye-content":"eye-content","eye-hidden":"eye-hidden",treeMyProject:"treeMyProject",treeContent:"treeContent","designTree-content":"designTree-content","easyui-tree":"easyui-tree",locateContainer:"locateContainer",tipForCommand:"tipForCommand","bg-transparent":"bg-transparent",commandWin:"commandWin","commandWin-body":"commandWin-body",commandLineWrap:"commandLineWrap",commandLine:"commandLine","weui-control-next-icon":"weui-control-next-icon",commandHistory:"commandHistory",leftTreeBox:"leftTreeBox","icon-eda-tabsch":"icon-eda-tabsch","icon-eda-block":"icon-eda-block",hideBtn:"hideBtn","icon-color-orange":"icon-color-orange","eye-opacity":"eye-opacity",move:"move","not-allowed":"not-allowed","edit-combination-line":"edit-combination-line",icon16:"icon16","icon-shareuser":"icon-shareuser",layoutRight:"layoutRight","right-panel-hide":"right-panel-hide","attrlist-table-notice":"attrlist-table-notice","none-docs":"none-docs",layout_toggler_right:"layout_toggler_right",supermenuButton:"supermenuButton",tabbar_bodies:"tabbar_bodies",un_ruler:"un_ruler",ruler:"ruler",sub_tabs:"sub_tabs",bottom:"bottom",dragging:"dragging","divider-toggler":"divider-toggler","divider-hightlight":"divider-hightlight",browser:"browser",filetree:"filetree",simpleTree:"simpleTree",menuContainer:"menuContainer",editorTabbar:"editorTabbar",editorCanvas:"editorCanvas",ic32:"ic32","attrlist-table-selected":"attrlist-table-selected",rulerhc:"rulerhc","ruler-auxiliary-box":"ruler-auxiliary-box",rulervc:"rulervc","ruler-theme":"ruler-theme",rulerdot:"rulerdot","ruler-origin":"ruler-origin",rulerh:"rulerh",rulerv:"rulerv","ruler-cursor-x":"ruler-cursor-x","ruler-cursor-y":"ruler-cursor-y","toolbar-preview":"toolbar-preview","eda-input-selection":"eda-input-selection","eda-input-option":"eda-input-option","option-item":"option-item","eda-input-select1":"eda-input-select1","panel-attribute-manager":"panel-attribute-manager","sch-attribute-manager":"sch-attribute-manager","simulation-attribute-manager":"simulation-attribute-manager","panel-attribute-tabs-3d":"panel-attribute-tabs-3d","panel-attribute-tabs":"panel-attribute-tabs","wire-name-line":"wire-name-line","sch-attribute-tabs":"sch-attribute-tabs","simulation-attribute-tabs":"simulation-attribute-tabs","header-common":"header-common","ngspice-attribute-property":"ngspice-attribute-property","panel-attribute-property":"panel-attribute-property","sch-attribute-property":"sch-attribute-property","simulide-attribute-property":"simulide-attribute-property","simulide-config-property":"simulide-config-property","waveform-attribute-property":"waveform-attribute-property","attrlist-group-filter":"attrlist-group-filter","group-filter":"group-filter","part-attr":"part-attr",tags:"tags",leftAttributePanelContainer:"leftAttributePanelContainer","attr-panel-textarea":"attr-panel-textarea",attrarea:"attrarea","template-color":"template-color",attr_title:"attr_title","color-content-cn":"color-content-cn","color-content":"color-content",current:"current",basic:"basic","txt-wrap":"txt-wrap","left-check":"left-check","attr-reset":"attr-reset","attr-reset-text":"attr-reset-text","attr-reset-image":"attr-reset-image",c_para:"c_para",instance:"instance","tips-div":"tips-div",symbol:"symbol","sch-attr-main":"sch-attr-main",sheetSymbol:"sheetSymbol","no-sheet":"no-sheet","panel-attr-main":"panel-attr-main","panel-attr-main-3d":"panel-attr-main-3d",partManager:"partManager","tab-title":"tab-title",accordion:"accordion",attr_dialog:"attr_dialog","easyui-linkbutton":"easyui-linkbutton","reset-button":"reset-button","tabbar-tab":"tabbar-tab",pinned:"pinned","tabbar-icon":"tabbar-icon","tabbar-notsave":"tabbar-notsave","tabbar-bodies":"tabbar-bodies","tabbar-bottom":"tabbar-bottom","tabbar-lastline":"tabbar-lastline","tabbar-leftline":"tabbar-leftline","tabbar-rightline":"tabbar-rightline","on-drag":"on-drag","tabbar-label":"tabbar-label",tabDragMask:"tabDragMask",editframe:"editframe","tabbar-body-page-section":"tabbar-body-page-section","md-content":"md-content",short:"short",dlgHotkey:"dlgHotkey","keyboard-key":"keyboard-key",openid:"openid",pagemask:"pagemask",logo:"logo",spiceStatus:"spiceStatus","dlg-help-btn":"dlg-help-btn",versionUpdate:"versionUpdate",menu:"menu",toolbar:"toolbar","tbs-item":"tbs-item",ic16:"ic16","export-row-container":"export-row-container","export-column-container":"export-column-container",pageGerberCtrl:"pageGerberCtrl",pagePDFCtrl:"pagePDFCtrl",dlgExport:"dlgExport",exportGerber:"exportGerber",importGerber:"importGerber",NPTH:"NPTH",PTH:"PTH",drillTableInfo:"drillTableInfo","export-column-container-right":"export-column-container-right","export-table":"export-table","export-table-center":"export-table-center","un-btn":"un-btn","show-hide":"show-hide",pin:"pin",filterMode:"filterMode",libgroupcaption:"libgroupcaption",renumberPadsDlg:"renumberPadsDlg",v2H:"v2H",h2V:"h2V",anti_clockwise:"anti_clockwise",custom_path:"custom_path",hotkeyTopTool:"hotkeyTopTool",hotkeySearch:"hotkeySearch",searchIcon:"searchIcon","hotkey-container":"hotkey-container","hotkey-menu":"hotkey-menu",all:"all","hotkey-editor":"hotkey-editor","hotkey-table-container":"hotkey-table-container","table-content":"table-content","table-title":"table-title",partiallyEditable:"partiallyEditable",editDisabledContent:"editDisabledContent","basic-lib-part-menu":"basic-lib-part-menu","menu-item":"menu-item","menu-icon":"menu-icon","menu-text":"menu-text","menu-rightarrow-left":"menu-rightarrow-left","group-hotkey":"group-hotkey","easyui-menubutton":"easyui-menubutton","menu-rightarrow":"menu-rightarrow","ext-item":"ext-item","ext-disabled":"ext-disabled","ext-state":"ext-state","ext-desc":"ext-desc","ext-name-state":"ext-name-state","ext-icon":"ext-icon","ext-name":"ext-name","ext-cmd":"ext-cmd","ext-tip":"ext-tip",treeSharedWithMeProject:"treeSharedWithMeProject","prp-filter":"prp-filter",uppercase:"uppercase","hover-active":"hover-active",pindot:"pindot",gNets:"gNets","drawing-attr":"drawing-attr",offsetDlg:"offsetDlg",img_container:"img_container",container:"container","cloud-prj-path-pre":"cloud-prj-path-pre","path-pre":"path-pre","prj-path-pre":"prj-path-pre","site-logo":"site-logo","add-new-param":"add-new-param","chooseLibs-tree-icon":"chooseLibs-tree-icon",custom:"custom",editSymbol:"editSymbol","one-time-tip":"one-time-tip","symbol-wizard-dlg":"symbol-wizard-dlg","pin-wizard-content":"pin-wizard-content","content-layer":"content-layer","layer-title":"layer-title","layer-input":"layer-input","layer-desc":"layer-desc","pin-wizard-table":"pin-wizard-table",img:"img",floatingInfoPanel:"floatingInfoPanel",bold:"bold","editor-start-page":"editor-start-page","btn-disabled":"btn-disabled","common-btn-disabled":"common-btn-disabled","layout-toggler-manager":"layout-toggler-manager",footprint_r_g:"footprint_r_g","toggle-size":"toggle-size","net-choose-dialog":"net-choose-dialog","net-v":"net-v","merge-option-layer":"merge-option-layer","label-item":"label-item","dialog-tip":"dialog-tip","blinking-background":"blinking-background","background-blink":"background-blink",bottomBarBox:"bottomBarBox","type-list":"type-list",findTypeLog:"findTypeLog","find-grid-parent":"find-grid-parent","find-grid":"find-grid","left-choose":"left-choose","box-item-left":"box-item-left","box-item-center":"box-item-center","tabs-form":"tabs-form","no-belong-box":"no-belong-box","belong-box":"belong-box","flex-box":"flex-box","box-item-right":"box-item-right","loading-box":"loading-box","log-box":"log-box","input-item":"input-item","input-block":"input-block","primary-btn":"primary-btn","blue-btn":"blue-btn",link:"link","empty-table-content":"empty-table-content","easyui-tabs":"easyui-tabs","only-s-view":"only-s-view","item-top":"item-top","item-bottom":"item-bottom","item-view":"item-view",view:"view",show:"show","no-img":"no-img","pagination-box":"pagination-box",personalCBBTable:"personalCBBTable",personalComponentTable:"personalComponentTable","log-show":"log-show","log-scroll":"log-scroll","log-container":"log-container","log-container-left":"log-container-left","log-btns":"log-btns","log-category":"log-category","tr-menu-item-content":"tr-menu-item-content",log:"log","grey-bg":"grey-bg",fatalError:"fatalError",warn:"warn",openProject:"openProject",info:"info",find:"find",timestamp:"timestamp",replace:"replace",clicked:"clicked",organization:"organization",for3dview:"for3dview",for3dviewdiv:"for3dviewdiv",settingLanguage:"settingLanguage","theme-tbody":"theme-tbody","td-color":"td-color","dialog-theme-tab":"dialog-theme-tab","system-layout":"system-layout",btnText:"btnText","system-save":"system-save","line-h":"line-h","input-wrap":"input-wrap","input-addon":"input-addon",selectedBtn:"selectedBtn",bText:"bText",panelThemeColorTable:"panelThemeColorTable",themeColorTable:"themeColorTable","system-setting-table":"system-setting-table","theme-color":"theme-color","canvas-primitive-table":"canvas-primitive-table",setThemeStyle:"setThemeStyle","font-item":"font-item","font-style-select":"font-style-select","fs-item":"fs-item",setThemeFontStyle:"setThemeFontStyle",setThemeLineStyle:"setThemeLineStyle",optionsArea:"optionsArea",optionBlock:"optionBlock",selectArea:"selectArea","system-hotkey":"system-hotkey",openProjectDialog:"openProjectDialog",projectSaveAsLocalDialog:"projectSaveAsLocalDialog",failBlockSymbolDiv:"failBlockSymbolDiv",failPageDiv:"failPageDiv",failSchematicDiv:"failSchematicDiv",failSymbolDiv:"failSymbolDiv",blankIframeDiv:"blankIframeDiv",sheet_template_refresh:"sheet_template_refresh",newProjectPath:"newProjectPath",saveProjectInfo:"saveProjectInfo",choosePathNtn:"choosePathNtn",fileExtension:"fileExtension",saveAsLocalFileName:"saveAsLocalFileName",saveProjectFooter:"saveProjectFooter",dlgArrayAttribute:"dlgArrayAttribute",inputRow:"inputRow","system-schematic":"system-schematic","test-title":"test-title","radio-box":"radio-box",company:"company","drop-down-box":"drop-down-box","drop-down":"drop-down",SystemItems:"SystemItems",wrapDlg:"wrapDlg",inpBtn:"inpBtn",inpText:"inpText",des:"des",rule:"rule",moduleLine:"moduleLine",inpEnter:"inpEnter",moduleInfo:"moduleInfo","sch-right-panel":"sch-right-panel","simulation-right-panel":"simulation-right-panel","attrlist-div":"attrlist-div",customToolbarDialog:"customToolbarDialog",wrap:"wrap","toolbar-item":"toolbar-item","options-container":"options-container","options-show":"options-show","middle-buttons-panel":"middle-buttons-panel","middle-button-container":"middle-button-container","right-panel":"right-panel",preview:"preview","order-button-group":"order-button-group",arrow:"arrow",fieldset:"fieldset",schematic_editor:"schematic_editor",exportBOMDlg:"exportBOMDlg",attrs:"attrs",normal:"normal","rule-container":"rule-container",import:"import","altium-export-dlg":"altium-export-dlg",exportBOM:"exportBOM",Convention:"Convention",Advanced:"Advanced",dlgCustomDeviceHead:"dlgCustomDeviceHead","no-empty":"no-empty","keys-filter":"keys-filter",attrKeys:"attrKeys",headKeys:"headKeys","attrkeys-filter":"attrkeys-filter","attrkeys-filter-main":"attrkeys-filter-main",operate:"operate",addAttrs:"addAttrs",addHeads:"addHeads",reduceAttrs:"reduceAttrs",reduceHeads:"reduceHeads",setting:"setting","setting-header":"setting-header","table-container":"table-container","q-grid-scroll":"q-grid-scroll","advanced-operate":"advanced-operate",noResultText:"noResultText",attrTitle:"attrTitle",bom_table:"bom_table","head-keys-wrap":"head-keys-wrap",headTable:"headTable",scopeWrap:"scopeWrap",triangle:"triangle",newPanelDlg:"newPanelDlg",betaTip:"betaTip","panel-table":"panel-table","dlg-panel-type":"dlg-panel-type","newPanelDlg-table-label":"newPanelDlg-table-label","wrapper-ul":"wrapper-ul","attr-title":"attr-title","key-title":"key-title","inline-content":"inline-content","inline-layer":"inline-layer","composition-info-dlg":"composition-info-dlg","composition-wrapper":"composition-wrapper","wrapper-ul-advanced":"wrapper-ul-advanced","wrapper-ul-common":"wrapper-ul-common","mode-switch-btn":"mode-switch-btn","composition-mode-advanced":"composition-mode-advanced",editor_start_use_page:"editor_start_use_page",content_tab:"content_tab",dlgUpdateComponent:"dlgUpdateComponent",topTool:"topTool",filterEl:"filterEl",el1:"el1",el2:"el2",tabContainer:"tabContainer",leftContent:"leftContent",filterOps:"filterOps",noticeSwitchContainer:"noticeSwitchContainer",updateComponentTable:"updateComponentTable",rightContent:"rightContent",compareDeviceDataTable:"compareDeviceDataTable",compareFootprintDataTable:"compareFootprintDataTable",compareSymbolDataTable:"compareSymbolDataTable",deviceCompareData:"deviceCompareData",footprintCompareData:"footprintCompareData",symbolCompareData:"symbolCompareData",comparePreview:"comparePreview",curVersion:"curVersion",lastVersion:"lastVersion","group-wrap":"group-wrap",ntnGroup:"ntnGroup","view-item":"view-item",differentData:"differentData",zoonInPreview:"zoonInPreview",dlgRepalceSymbol:"dlgRepalceSymbol","form-container":"form-container","choose-btn":"choose-btn",radio:"radio","radio-odd":"radio-odd",attribute:"attribute",dlgSelectFilter:"dlgSelectFilter",dlgExportEDIF:"dlgExportEDIF","form-title":"form-title",filename:"filename","split-net-dialog":"split-net-dialog",change:"change","split-net-item":"split-net-item","editor-progress":"editor-progress","red-star":"red-star","menu-scroll-box":"menu-scroll-box",dlgImport_pcb:"dlgImport_pcb",fileOperate:"fileOperate",options:"options",omit:"omit",dot:"dot",import_file_button_pcb:"import_file_button_pcb",import_file_area:"import_file_area",importdataTable:"importdataTable",importdataTables:"importdataTables",pcb:"pcb",dlgShowImportChanges:"dlgShowImportChanges",setGridSize:"setGridSize",selectFileTip:"selectFileTip","new3DModelDlg-table-label":"new3DModelDlg-table-label","new3DModelDlg-table-content":"new3DModelDlg-table-content",readOnlyInput:"readOnlyInput",selectModelUnit:"selectModelUnit",file:"file",model3DFiles:"model3DFiles",pointBtn:"pointBtn",model3DFilesInput:"model3DFilesInput",modelListContainer:"modelListContainer",modelListItme:"modelListItme",export3DFile:"export3DFile",export3DFileRow:"export3DFileRow",leftLable:"leftLable",fileNameInput:"fileNameInput",radioLabel:"radioLabel",findDlg:"findDlg",template:"template","searchable-select-wrap":"searchable-select-wrap",insertMenuItem:"insertMenuItem","dividingline-tabs":"dividingline-tabs","upper-notch--tabs":"upper-notch--tabs","button-tab-container":"button-tab-container",layerManagerHeader:"layerManagerHeader",dlgLayerOptionsSetLayerSelectContainer:"dlgLayerOptionsSetLayerSelectContainer",dlgLayerOptionsSetTableContainer:"dlgLayerOptionsSetTableContainer",dlgLayerOptionsSetTable:"dlgLayerOptionsSetTable","icon-green":"icon-green","h-100":"h-100",dlgArchive:"dlgArchive","reg-tab":"reg-tab",dlgChooseLibs:"dlgChooseLibs","grid-area":"grid-area",editorLibrary:"editorLibrary",searchSymbolDialogContainer:"searchSymbolDialogContainer",sysSetDialogContainer:"sysSetDialogContainer",sysSetDialogContainerContent:"sysSetDialogContainerContent","base-library-table":"base-library-table",noticeCompVUpdatedDlg:"noticeCompVUpdatedDlg",promptToOpen3DVWDialog:"promptToOpen3DVWDialog",tearDrapDialogContainer:"tearDrapDialogContainer","padding-btn":"padding-btn",inputWithCancel:"inputWithCancel",revert:"revert",setAttrShowStatus:"setAttrShowStatus",pcb_status:"pcb_status",sch_status:"sch_status",tip_msg:"tip_msg",bottomBarMenu:"bottomBarMenu",dlgbtmbarContentWrap:"dlgbtmbarContentWrap","net-property-set-dialog-container":"net-property-set-dialog-container","show-prop-conf":"show-prop-conf","net-property-set-dialog":"net-property-set-dialog","netline-tab-moreset":"netline-tab-moreset","row-item":"row-item","left-col":"left-col",reset:"reset","sheet-wizard":"sheet-wizard",generateSheet:"generateSheet",orientation:"orientation","rever-icon":"rever-icon","icon-color-green":"icon-color-green","icon-color-blue":"icon-color-blue","icon-color-black":"icon-color-black","icon-color-red":"icon-color-red","icon-color-primaryblue":"icon-color-primaryblue","icon-color-blue-purple":"icon-color-blue-purple","easyui-dialog":"easyui-dialog","drawing-attr-Text":"drawing-attr-Text",moreSetting:"moreSetting","import-input-common":"import-input-common",attrForPlaceSutViaDialogContainer:"attrForPlaceSutViaDialogContainer","commonButton-item":"commonButton-item",exitSmartSizeTool:"exitSmartSizeTool",exitBtn:"exitBtn",exitPadShapeTool:"exitPadShapeTool","toolbar-3d-preview":"toolbar-3d-preview",titlebar:"titlebar",toolbarbutton:"toolbarbutton",hoverItem:"hoverItem",independentSelect:"independentSelect","toolbarbutton-icon":"toolbarbutton-icon","breakline-after":"breakline-after","breakline-before":"breakline-before","footprint-attr-select":"footprint-attr-select","pcb-attr-select":"pcb-attr-select",noneselect:"noneselect","custom-head-item":"custom-head-item","bottom-line":"bottom-line","route-length-head-container":"route-length-head-container","route-length-type-img":"route-length-type-img",placeIndependentVia:"placeIndependentVia",formWrap:"formWrap",chooseDeviceDialogContainer:"chooseDeviceDialogContainer","mask-wrap":"mask-wrap","update-3d-preview":"update-3d-preview",searchDeviceDialogContainer:"searchDeviceDialogContainer",dlgbtmbarCommBtnsWrap:"dlgbtmbarCommBtnsWrap","middle-buttons":"middle-buttons",toLeft:"toLeft",toRight:"toRight",cursorMsg:"cursorMsg",cursorMsgInnerBox:"cursorMsgInnerBox",indicatorBarTip:"indicatorBarTip",indicatorBar:"indicatorBar",barSpliter:"barSpliter",barSpliter2:"barSpliter2",currentDrcPointer:"currentDrcPointer","system-grid-size-setting":"system-grid-size-setting","grid-inch-title":"grid-inch-title","grid-inch-content":"grid-inch-content","grid-inch-item":"grid-inch-item","inch-fortype":"inch-fortype","inch-ash":"inch-ash","grid-inch-tip":"grid-inch-tip","footprint-associate-devices":"footprint-associate-devices",addAssociateDevice:"addAssociateDevice",switchProductPattern:"switchProductPattern",applyNewPartsBtn:"applyNewPartsBtn","icon-border-wrap":"icon-border-wrap",uploadChipManagerOkBtn:"uploadChipManagerOkBtn","div-fieldset":"div-fieldset","toast-messager-container":"toast-messager-container","on-ruler":"on-ruler","on-ruler2":"on-ruler2","on-home":"on-home","messager-panel":"messager-panel",line1:"line1",line2:"line2",line3:"line3",success:"success",question:"question","enter-in":"enter-in","leave-to":"leave-to",msg:"msg","space-btn":"space-btn","space-btn-blue":"space-btn-blue","auto-height":"auto-height",timer:"timer",customDRCConfigGrid:"customDRCConfigGrid",mergeCell:"mergeCell",designRuleCalibration:"designRuleCalibration",unMergeCell:"unMergeCell",slideBar:"slideBar",step:"step",ball:"ball","preview-iframe-wrap":"preview-iframe-wrap","checkbox-text-wrap":"checkbox-text-wrap","attr-main-attrs-content":"attr-main-attrs-content","app-window-controls":"app-window-controls","ascloudprj-owner":"ascloudprj-owner","device-owner":"device-owner","ft-owner":"ft-owner","new-3D-owner":"new-3D-owner","prj-owner":"prj-owner","select-icon":"select-icon","_3D-tree-owner":"_3D-tree-owner","ascloudprj-tree-owner":"ascloudprj-tree-owner","device-tree-owner":"device-tree-owner","ft-tree-owner":"ft-tree-owner","prj-tree-owner":"prj-tree-owner","manager-category":"manager-category","panel-select-overlap":"panel-select-overlap","keep-width-height-ratio":"keep-width-height-ratio","input-width-height":"input-width-height","input-width-height-text":"input-width-height-text","link-btn":"link-btn",rotateIcon:"rotateIcon","text-align-left-item":"text-align-left-item","panel-grid-size-wrap":"panel-grid-size-wrap","wire-name-input":"wire-name-input","panel-grid-select-wrap":"panel-grid-select-wrap","select-arr-icon":"select-arr-icon",systemSchematic:"systemSchematic","zh-hans":"zh-hans","panel-layer-intro-dialog":"panel-layer-intro-dialog",exportPcbPageGrid:"exportPcbPageGrid","move-cross-icon-container":"move-cross-icon-container","bottom-del-confirm":"bottom-del-confirm","blue-color":"blue-color","project-del-check-wrap":"project-del-check-wrap","black-color":"black-color",ding:"ding","resize-rb":"resize-rb",collapse:"collapse",leftFootprintWizard:"leftFootprintWizard",selection:"selection",modelname:"modelname",axial:"axial",bga:"bga",chip:"chip",chiparray:"chiparray",cylindrical:"cylindrical",dfn_4:"dfn_4",dip:"dip",e_cap:"e_cap",header_h:"header_h",header_v:"header_v",qfn:"qfn",qfp:"qfp",sod:"sod",soic_sop:"soic_sop",sot23:"sot23",sot223:"sot223",to_dpak:"to_dpak",nav:"nav",back:"back",blank:"blank",reference:"reference",params:"params","multi-span":"multi-span",notice:"notice",schDrcPrimaryLog:"schDrcPrimaryLog","check-drc-btn":"check-drc-btn",openDesignRulesDlg:"openDesignRulesDlg","dlgbtmbar-comm-btns-wrap":"dlgbtmbar-comm-btns-wrap","btns-tile":"btns-tile","btns-extend-btn":"btns-extend-btn","btns-extend":"btns-extend","apply-new-parts-wrapper":"apply-new-parts-wrapper","apply-new-parts-wrap":"apply-new-parts-wrap","mm-common-place":"mm-common-place","project-info-wrap":"project-info-wrap","text-content":"text-content","treeMyProject-content":"treeMyProject-content","no-hover":"no-hover","tree-node-auto-hover":"tree-node-auto-hover","treePanelObjects-content":"treePanelObjects-content","orc-wizard-dlg":"orc-wizard-dlg","image-preview":"image-preview",previewing:"previewing","static-tips":"static-tips","icon-line":"icon-line","i18n-en":"i18n-en","fieldset-image-type":"fieldset-image-type","image-types":"image-types","fieldset-preview":"fieldset-preview",pininfo:"pininfo","table-panel":"table-panel","pininfo-table":"pininfo-table","font-style-icon-wrap":"font-style-icon-wrap","icon-span":"icon-span","reference-point-box":"reference-point-box",true:"true","icon-eda-text-bold":"icon-eda-text-bold","default-false":"default-false",false:"false","icon-eda-text-italic":"icon-eda-text-italic","active-div":"active-div","icon-eda-text-underline":"icon-eda-text-underline","place-part-info":"place-part-info",search3DModelDialogContainer:"search3DModelDialogContainer","device-table-wrap":"device-table-wrap","cnc-editor-panel":"cnc-editor-panel","preview-2d":"preview-2d","preview-panel":"preview-panel","param-panel":"param-panel",fileName:"fileName",key:"key",bottons:"bottons","preview-3d":"preview-3d",marginBottom16:"marginBottom16","table-row-hidden":"table-row-hidden","drag-transparent-image":"drag-transparent-image",border1px:"border1px","draging-fragment-table":"draging-fragment-table","attr-combination":"attr-combination","user-select-none":"user-select-none","flex-none":"flex-none","waterMark-container":"waterMark-container",timePadding:"timePadding",textBoxContainer:"textBoxContainer",schPropertyList:"schPropertyList",switchChecked:"switchChecked",bellshake:"bellshake",blink:"blink"}});var Vi=xe((wXt,KAe)=>{(function(t,e){"use strict";typeof KAe=="object"&&typeof KAe.exports=="object"?KAe.exports=t.document?e(t,!0):function(i){if(!i.document)throw new Error("jQuery requires a window with a document");return e(i)}:e(t)})(typeof window<"u"?window:wXt,function(t,e){"use strict";var i=[],o=Object.getPrototypeOf,r=i.slice,n=i.flat?function(ge){return i.flat.call(ge)}:function(ge){return i.concat.apply([],ge)},a=i.push,s=i.indexOf,l={},c=l.toString,d=l.hasOwnProperty,u=d.toString,p=u.call(Object),m={},h=function(Ie){return typeof Ie=="function"&&typeof Ie.nodeType!="number"&&typeof Ie.item!="function"},f=function(Ie){return Ie!=null&&Ie===Ie.window},g=t.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function y(ge,Ie,Fe){Fe=Fe||g;var We,nt,at=Fe.createElement("script");if(at.text=ge,Ie)for(We in b)nt=Ie[We]||Ie.getAttribute&&Ie.getAttribute(We),nt&&at.setAttribute(We,nt);Fe.head.appendChild(at).parentNode.removeChild(at)}function w(ge){return ge==null?ge+"":typeof ge=="object"||typeof ge=="function"?l[c.call(ge)]||"object":typeof ge}var x="3.7.1",S=/HTML$/i,T=function(ge,Ie){return new T.fn.init(ge,Ie)};T.fn=T.prototype={jquery:x,constructor:T,length:0,toArray:function(){return r.call(this)},get:function(ge){return ge==null?r.call(this):ge<0?this[ge+this.length]:this[ge]},pushStack:function(ge){var Ie=T.merge(this.constructor(),ge);return Ie.prevObject=this,Ie},each:function(ge){return T.each(this,ge)},map:function(ge){return this.pushStack(T.map(this,function(Ie,Fe){return ge.call(Ie,Fe,Ie)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,function(ge,Ie){return(Ie+1)%2}))},odd:function(){return this.pushStack(T.grep(this,function(ge,Ie){return Ie%2}))},eq:function(ge){var Ie=this.length,Fe=+ge+(ge<0?Ie:0);return this.pushStack(Fe>=0&&Fe<Ie?[this[Fe]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:i.sort,splice:i.splice},T.extend=T.fn.extend=function(){var ge,Ie,Fe,We,nt,at,ft=arguments[0]||{},ai=1,Zt=arguments.length,vi=!1;for(typeof ft=="boolean"&&(vi=ft,ft=arguments[ai]||{},ai++),typeof ft!="object"&&!h(ft)&&(ft={}),ai===Zt&&(ft=this,ai--);ai<Zt;ai++)if((ge=arguments[ai])!=null)for(Ie in ge)We=ge[Ie],!(Ie==="__proto__"||ft===We)&&(vi&&We&&(T.isPlainObject(We)||(nt=Array.isArray(We)))?(Fe=ft[Ie],nt&&!Array.isArray(Fe)?at=[]:!nt&&!T.isPlainObject(Fe)?at={}:at=Fe,nt=!1,ft[Ie]=T.extend(vi,at,We)):We!==void 0&&(ft[Ie]=We));return ft},T.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(ge){throw new Error(ge)},noop:function(){},isPlainObject:function(ge){var Ie,Fe;return!ge||c.call(ge)!=="[object Object]"?!1:(Ie=o(ge),Ie?(Fe=d.call(Ie,"constructor")&&Ie.constructor,typeof Fe=="function"&&u.call(Fe)===p):!0)},isEmptyObject:function(ge){var Ie;for(Ie in ge)return!1;return!0},globalEval:function(ge,Ie,Fe){y(ge,{nonce:Ie&&Ie.nonce},Fe)},each:function(ge,Ie){var Fe,We=0;if(M(ge))for(Fe=ge.length;We<Fe&&Ie.call(ge[We],We,ge[We])!==!1;We++);else for(We in ge)if(Ie.call(ge[We],We,ge[We])===!1)break;return ge},text:function(ge){var Ie,Fe="",We=0,nt=ge.nodeType;if(!nt)for(;Ie=ge[We++];)Fe+=T.text(Ie);return nt===1||nt===11?ge.textContent:nt===9?ge.documentElement.textContent:nt===3||nt===4?ge.nodeValue:Fe},makeArray:function(ge,Ie){var Fe=Ie||[];return ge!=null&&(M(Object(ge))?T.merge(Fe,typeof ge=="string"?[ge]:ge):a.call(Fe,ge)),Fe},inArray:function(ge,Ie,Fe){return Ie==null?-1:s.call(Ie,ge,Fe)},isXMLDoc:function(ge){var Ie=ge&&ge.namespaceURI,Fe=ge&&(ge.ownerDocument||ge).documentElement;return!S.test(Ie||Fe&&Fe.nodeName||"HTML")},merge:function(ge,Ie){for(var Fe=+Ie.length,We=0,nt=ge.length;We<Fe;We++)ge[nt++]=Ie[We];return ge.length=nt,ge},grep:function(ge,Ie,Fe){for(var We,nt=[],at=0,ft=ge.length,ai=!Fe;at<ft;at++)We=!Ie(ge[at],at),We!==ai&&nt.push(ge[at]);return nt},map:function(ge,Ie,Fe){var We,nt,at=0,ft=[];if(M(ge))for(We=ge.length;at<We;at++)nt=Ie(ge[at],at,Fe),nt!=null&&ft.push(nt);else for(at in ge)nt=Ie(ge[at],at,Fe),nt!=null&&ft.push(nt);return n(ft)},guid:1,support:m}),typeof Symbol=="function"&&(T.fn[Symbol.iterator]=i[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(ge,Ie){l["[object "+Ie+"]"]=Ie.toLowerCase()});function M(ge){var Ie=!!ge&&"length"in ge&&ge.length,Fe=w(ge);return h(ge)||f(ge)?!1:Fe==="array"||Ie===0||typeof Ie=="number"&&Ie>0&&Ie-1 in ge}function I(ge,Ie){return ge.nodeName&&ge.nodeName.toLowerCase()===Ie.toLowerCase()}var A=i.pop,D=i.sort,E=i.splice,N="[\\x20\\t\\r\\n\\f]",R=new RegExp("^"+N+"+|((?:^|[^\\\\])(?:\\\\.)*)"+N+"+$","g");T.contains=function(ge,Ie){var Fe=Ie&&Ie.parentNode;return ge===Fe||!!(Fe&&Fe.nodeType===1&&(ge.contains?ge.contains(Fe):ge.compareDocumentPosition&&ge.compareDocumentPosition(Fe)&16))};var v=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function k(ge,Ie){return Ie?ge==="\0"?"\uFFFD":ge.slice(0,-1)+"\\"+ge.charCodeAt(ge.length-1).toString(16)+" ":"\\"+ge}T.escapeSelector=function(ge){return(ge+"").replace(v,k)};var P=g,O=a;(function(){var ge,Ie,Fe,We,nt,at=O,ft,ai,Zt,vi,so,To=T.expando,Hi=0,Jo=0,Us=Gce(),Nd=Gce(),nc=Gce(),Df=Gce(),M2=function(Vt,bi){return Vt===bi&&(nt=!0),0},i8="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",o8="(?:\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",td="\\["+N+"*("+o8+")(?:"+N+"*([*^$|!~]?=)"+N+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+o8+"))|)"+N+"*\\]",WF=":("+o8+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+td+")*)|.*)\\)|)",iu=new RegExp(N+"+","g"),K1=new RegExp("^"+N+"*,"+N+"*"),wie=new RegExp("^"+N+"*([>+~]|"+N+")"+N+"*"),J4e=new RegExp(N+"|>"),r8=new RegExp(WF),Cie=new RegExp("^"+o8+"$"),n8={ID:new RegExp("^#("+o8+")"),CLASS:new RegExp("^\\.("+o8+")"),TAG:new RegExp("^("+o8+"|[*])"),ATTR:new RegExp("^"+td),PSEUDO:new RegExp("^"+WF),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+i8+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},jR=/^(?:input|select|textarea|button)$/i,l9=/^h\d$/i,lS=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,q4e=/[+~]/,c9=new RegExp("\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\([^\\r\\n\\f])","g"),a8=function(Vt,bi){var Ui="0x"+Vt.slice(1)-65536;return bi||(Ui<0?String.fromCharCode(Ui+65536):String.fromCharCode(Ui>>10|55296,Ui&1023|56320))},m8e=function(){BR()},sut=Ki(function(Vt){return Vt.disabled===!0&&I(Vt,"fieldset")},{dir:"parentNode",next:"legend"});function lut(){try{return ft.activeElement}catch{}}try{at.apply(i=r.call(P.childNodes),P.childNodes),i[P.childNodes.length].nodeType}catch{at={apply:function(bi,Ui){O.apply(bi,r.call(Ui))},call:function(bi){O.apply(bi,r.call(arguments,1))}}}function I0(Vt,bi,Ui,Gi){var uo,Ar,In,Ia,Ln,hd,qs,El=bi&&bi.ownerDocument,fd=bi?bi.nodeType:9;if(Ui=Ui||[],typeof Vt!="string"||!Vt||fd!==1&&fd!==9&&fd!==11)return Ui;if(!Gi&&(BR(bi),bi=bi||ft,Zt)){if(fd!==11&&(Ln=lS.exec(Vt)))if(uo=Ln[1]){if(fd===9)if(In=bi.getElementById(uo)){if(In.id===uo)return at.call(Ui,In),Ui}else return Ui;else if(El&&(In=El.getElementById(uo))&&I0.contains(bi,In)&&In.id===uo)return at.call(Ui,In),Ui}else{if(Ln[2])return at.apply(Ui,bi.getElementsByTagName(Vt)),Ui;if((uo=Ln[3])&&bi.getElementsByClassName)return at.apply(Ui,bi.getElementsByClassName(uo)),Ui}if(!Df[Vt+" "]&&(!vi||!vi.test(Vt))){if(qs=Vt,El=bi,fd===1&&(J4e.test(Vt)||wie.test(Vt))){for(El=q4e.test(Vt)&&xie(bi.parentNode)||bi,(El!=bi||!m.scope)&&((Ia=bi.getAttribute("id"))?Ia=T.escapeSelector(Ia):bi.setAttribute("id",Ia=To)),hd=oi(Vt),Ar=hd.length;Ar--;)hd[Ar]=(Ia?"#"+Ia:":scope")+" "+Di(hd[Ar]);qs=hd.join(",")}try{return at.apply(Ui,El.querySelectorAll(qs)),Ui}catch{Df(Vt,!0)}finally{Ia===To&&bi.removeAttribute("id")}}}return Tie(Vt.replace(R,"$1"),bi,Ui,Gi)}function Gce(){var Vt=[];function bi(Ui,Gi){return Vt.push(Ui+" ")>Ie.cacheLength&&delete bi[Vt.shift()],bi[Ui+" "]=Gi}return bi}function x6(Vt){return Vt[To]=!0,Vt}function QF(Vt){var bi=ft.createElement("fieldset");try{return!!Vt(bi)}catch{return!1}finally{bi.parentNode&&bi.parentNode.removeChild(bi),bi=null}}function cut(Vt){return function(bi){return I(bi,"input")&&bi.type===Vt}}function Yce(Vt){return function(bi){return(I(bi,"input")||I(bi,"button"))&&bi.type===Vt}}function h8e(Vt){return function(bi){return"form"in bi?bi.parentNode&&bi.disabled===!1?"label"in bi?"label"in bi.parentNode?bi.parentNode.disabled===Vt:bi.disabled===Vt:bi.isDisabled===Vt||bi.isDisabled!==!Vt&&sut(bi)===Vt:bi.disabled===Vt:"label"in bi?bi.disabled===Vt:!1}}function KF(Vt){return x6(function(bi){return bi=+bi,x6(function(Ui,Gi){for(var uo,Ar=Vt([],Ui.length,bi),In=Ar.length;In--;)Ui[uo=Ar[In]]&&(Ui[uo]=!(Gi[uo]=Ui[uo]))})})}function xie(Vt){return Vt&&typeof Vt.getElementsByTagName<"u"&&Vt}function BR(Vt){var bi,Ui=Vt?Vt.ownerDocument||Vt:P;return Ui==ft||Ui.nodeType!==9||!Ui.documentElement||(ft=Ui,ai=ft.documentElement,Zt=!T.isXMLDoc(ft),so=ai.matches||ai.webkitMatchesSelector||ai.msMatchesSelector,ai.msMatchesSelector&&P!=ft&&(bi=ft.defaultView)&&bi.top!==bi&&bi.addEventListener("unload",m8e),m.getById=QF(function(Gi){return ai.appendChild(Gi).id=T.expando,!ft.getElementsByName||!ft.getElementsByName(T.expando).length}),m.disconnectedMatch=QF(function(Gi){return so.call(Gi,"*")}),m.scope=QF(function(){return ft.querySelectorAll(":scope")}),m.cssHas=QF(function(){try{return ft.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),m.getById?(Ie.filter.ID=function(Gi){var uo=Gi.replace(c9,a8);return function(Ar){return Ar.getAttribute("id")===uo}},Ie.find.ID=function(Gi,uo){if(typeof uo.getElementById<"u"&&Zt){var Ar=uo.getElementById(Gi);return Ar?[Ar]:[]}}):(Ie.filter.ID=function(Gi){var uo=Gi.replace(c9,a8);return function(Ar){var In=typeof Ar.getAttributeNode<"u"&&Ar.getAttributeNode("id");return In&&In.value===uo}},Ie.find.ID=function(Gi,uo){if(typeof uo.getElementById<"u"&&Zt){var Ar,In,Ia,Ln=uo.getElementById(Gi);if(Ln){if(Ar=Ln.getAttributeNode("id"),Ar&&Ar.value===Gi)return[Ln];for(Ia=uo.getElementsByName(Gi),In=0;Ln=Ia[In++];)if(Ar=Ln.getAttributeNode("id"),Ar&&Ar.value===Gi)return[Ln]}return[]}}),Ie.find.TAG=function(Gi,uo){return typeof uo.getElementsByTagName<"u"?uo.getElementsByTagName(Gi):uo.querySelectorAll(Gi)},Ie.find.CLASS=function(Gi,uo){if(typeof uo.getElementsByClassName<"u"&&Zt)return uo.getElementsByClassName(Gi)},vi=[],QF(function(Gi){var uo;ai.appendChild(Gi).innerHTML="<a id='"+To+"' href='' disabled='disabled'></a><select id='"+To+"-\r\\' disabled='disabled'><option selected=''></option></select>",Gi.querySelectorAll("[selected]").length||vi.push("\\["+N+"*(?:value|"+i8+")"),Gi.querySelectorAll("[id~="+To+"-]").length||vi.push("~="),Gi.querySelectorAll("a#"+To+"+*").length||vi.push(".#.+[+~]"),Gi.querySelectorAll(":checked").length||vi.push(":checked"),uo=ft.createElement("input"),uo.setAttribute("type","hidden"),Gi.appendChild(uo).setAttribute("name","D"),ai.appendChild(Gi).disabled=!0,Gi.querySelectorAll(":disabled").length!==2&&vi.push(":enabled",":disabled"),uo=ft.createElement("input"),uo.setAttribute("name",""),Gi.appendChild(uo),Gi.querySelectorAll("[name='']").length||vi.push("\\["+N+"*name"+N+"*="+N+`*(?:''|"")`)}),m.cssHas||vi.push(":has"),vi=vi.length&&new RegExp(vi.join("|")),M2=function(Gi,uo){if(Gi===uo)return nt=!0,0;var Ar=!Gi.compareDocumentPosition-!uo.compareDocumentPosition;return Ar||(Ar=(Gi.ownerDocument||Gi)==(uo.ownerDocument||uo)?Gi.compareDocumentPosition(uo):1,Ar&1||!m.sortDetached&&uo.compareDocumentPosition(Gi)===Ar?Gi===ft||Gi.ownerDocument==P&&I0.contains(P,Gi)?-1:uo===ft||uo.ownerDocument==P&&I0.contains(P,uo)?1:We?s.call(We,Gi)-s.call(We,uo):0:Ar&4?-1:1)}),ft}I0.matches=function(Vt,bi){return I0(Vt,null,null,bi)},I0.matchesSelector=function(Vt,bi){if(BR(Vt),Zt&&!Df[bi+" "]&&(!vi||!vi.test(bi)))try{var Ui=so.call(Vt,bi);if(Ui||m.disconnectedMatch||Vt.document&&Vt.document.nodeType!==11)return Ui}catch{Df(bi,!0)}return I0(bi,ft,null,[Vt]).length>0},I0.contains=function(Vt,bi){return(Vt.ownerDocument||Vt)!=ft&&BR(Vt),T.contains(Vt,bi)},I0.attr=function(Vt,bi){(Vt.ownerDocument||Vt)!=ft&&BR(Vt);var Ui=Ie.attrHandle[bi.toLowerCase()],Gi=Ui&&d.call(Ie.attrHandle,bi.toLowerCase())?Ui(Vt,bi,!Zt):void 0;return Gi!==void 0?Gi:Vt.getAttribute(bi)},I0.error=function(Vt){throw new Error("Syntax error, unrecognized expression: "+Vt)},T.uniqueSort=function(Vt){var bi,Ui=[],Gi=0,uo=0;if(nt=!m.sortStable,We=!m.sortStable&&r.call(Vt,0),D.call(Vt,M2),nt){for(;bi=Vt[uo++];)bi===Vt[uo]&&(Gi=Ui.push(uo));for(;Gi--;)E.call(Vt,Ui[Gi],1)}return We=null,Vt},T.fn.uniqueSort=function(){return this.pushStack(T.uniqueSort(r.apply(this)))},Ie=T.expr={cacheLength:50,createPseudo:x6,match:n8,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(Vt){return Vt[1]=Vt[1].replace(c9,a8),Vt[3]=(Vt[3]||Vt[4]||Vt[5]||"").replace(c9,a8),Vt[2]==="~="&&(Vt[3]=" "+Vt[3]+" "),Vt.slice(0,4)},CHILD:function(Vt){return Vt[1]=Vt[1].toLowerCase(),Vt[1].slice(0,3)==="nth"?(Vt[3]||I0.error(Vt[0]),Vt[4]=+(Vt[4]?Vt[5]+(Vt[6]||1):2*(Vt[3]==="even"||Vt[3]==="odd")),Vt[5]=+(Vt[7]+Vt[8]||Vt[3]==="odd")):Vt[3]&&I0.error(Vt[0]),Vt},PSEUDO:function(Vt){var bi,Ui=!Vt[6]&&Vt[2];return n8.CHILD.test(Vt[0])?null:(Vt[3]?Vt[2]=Vt[4]||Vt[5]||"":Ui&&r8.test(Ui)&&(bi=oi(Ui,!0))&&(bi=Ui.indexOf(")",Ui.length-bi)-Ui.length)&&(Vt[0]=Vt[0].slice(0,bi),Vt[2]=Ui.slice(0,bi)),Vt.slice(0,3))}},filter:{TAG:function(Vt){var bi=Vt.replace(c9,a8).toLowerCase();return Vt==="*"?function(){return!0}:function(Ui){return I(Ui,bi)}},CLASS:function(Vt){var bi=Us[Vt+" "];return bi||(bi=new RegExp("(^|"+N+")"+Vt+"("+N+"|$)"))&&Us(Vt,function(Ui){return bi.test(typeof Ui.className=="string"&&Ui.className||typeof Ui.getAttribute<"u"&&Ui.getAttribute("class")||"")})},ATTR:function(Vt,bi,Ui){return function(Gi){var uo=I0.attr(Gi,Vt);return uo==null?bi==="!=":bi?(uo+="",bi==="="?uo===Ui:bi==="!="?uo!==Ui:bi==="^="?Ui&&uo.indexOf(Ui)===0:bi==="*="?Ui&&uo.indexOf(Ui)>-1:bi==="$="?Ui&&uo.slice(-Ui.length)===Ui:bi==="~="?(" "+uo.replace(iu," ")+" ").indexOf(Ui)>-1:bi==="|="?uo===Ui||uo.slice(0,Ui.length+1)===Ui+"-":!1):!0}},CHILD:function(Vt,bi,Ui,Gi,uo){var Ar=Vt.slice(0,3)!=="nth",In=Vt.slice(-4)!=="last",Ia=bi==="of-type";return Gi===1&&uo===0?function(Ln){return!!Ln.parentNode}:function(Ln,hd,qs){var El,fd,bs,u1,T6,Zx=Ar!==In?"nextSibling":"previousSibling",s8=Ln.parentNode,zR=Ia&&Ln.nodeName.toLowerCase(),Wce=!qs&&!Ia,cS=!1;if(s8){if(Ar){for(;Zx;){for(bs=Ln;bs=bs[Zx];)if(Ia?I(bs,zR):bs.nodeType===1)return!1;T6=Zx=Vt==="only"&&!T6&&"nextSibling"}return!0}if(T6=[In?s8.firstChild:s8.lastChild],In&&Wce){for(fd=s8[To]||(s8[To]={}),El=fd[Vt]||[],u1=El[0]===Hi&&El[1],cS=u1&&El[2],bs=u1&&s8.childNodes[u1];bs=++u1&&bs&&bs[Zx]||(cS=u1=0)||T6.pop();)if(bs.nodeType===1&&++cS&&bs===Ln){fd[Vt]=[Hi,u1,cS];break}}else if(Wce&&(fd=Ln[To]||(Ln[To]={}),El=fd[Vt]||[],u1=El[0]===Hi&&El[1],cS=u1),cS===!1)for(;(bs=++u1&&bs&&bs[Zx]||(cS=u1=0)||T6.pop())&&!((Ia?I(bs,zR):bs.nodeType===1)&&++cS&&(Wce&&(fd=bs[To]||(bs[To]={}),fd[Vt]=[Hi,cS]),bs===Ln)););return cS-=uo,cS===Gi||cS%Gi===0&&cS/Gi>=0}}},PSEUDO:function(Vt,bi){var Ui,Gi=Ie.pseudos[Vt]||Ie.setFilters[Vt.toLowerCase()]||I0.error("unsupported pseudo: "+Vt);return Gi[To]?Gi(bi):Gi.length>1?(Ui=[Vt,Vt,"",bi],Ie.setFilters.hasOwnProperty(Vt.toLowerCase())?x6(function(uo,Ar){for(var In,Ia=Gi(uo,bi),Ln=Ia.length;Ln--;)In=s.call(uo,Ia[Ln]),uo[In]=!(Ar[In]=Ia[Ln])}):function(uo){return Gi(uo,0,Ui)}):Gi}},pseudos:{not:x6(function(Vt){var bi=[],Ui=[],Gi=Z1(Vt.replace(R,"$1"));return Gi[To]?x6(function(uo,Ar,In,Ia){for(var Ln,hd=Gi(uo,null,Ia,[]),qs=uo.length;qs--;)(Ln=hd[qs])&&(uo[qs]=!(Ar[qs]=Ln))}):function(uo,Ar,In){return bi[0]=uo,Gi(bi,null,In,Ui),bi[0]=null,!Ui.pop()}}),has:x6(function(Vt){return function(bi){return I0(Vt,bi).length>0}}),contains:x6(function(Vt){return Vt=Vt.replace(c9,a8),function(bi){return(bi.textContent||T.text(bi)).indexOf(Vt)>-1}}),lang:x6(function(Vt){return Cie.test(Vt||"")||I0.error("unsupported lang: "+Vt),Vt=Vt.replace(c9,a8).toLowerCase(),function(bi){var Ui;do if(Ui=Zt?bi.lang:bi.getAttribute("xml:lang")||bi.getAttribute("lang"))return Ui=Ui.toLowerCase(),Ui===Vt||Ui.indexOf(Vt+"-")===0;while((bi=bi.parentNode)&&bi.nodeType===1);return!1}}),target:function(Vt){var bi=t.location&&t.location.hash;return bi&&bi.slice(1)===Vt.id},root:function(Vt){return Vt===ai},focus:function(Vt){return Vt===lut()&&ft.hasFocus()&&!!(Vt.type||Vt.href||~Vt.tabIndex)},enabled:h8e(!1),disabled:h8e(!0),checked:function(Vt){return I(Vt,"input")&&!!Vt.checked||I(Vt,"option")&&!!Vt.selected},selected:function(Vt){return Vt.parentNode&&Vt.parentNode.selectedIndex,Vt.selected===!0},empty:function(Vt){for(Vt=Vt.firstChild;Vt;Vt=Vt.nextSibling)if(Vt.nodeType<6)return!1;return!0},parent:function(Vt){return!Ie.pseudos.empty(Vt)},header:function(Vt){return l9.test(Vt.nodeName)},input:function(Vt){return jR.test(Vt.nodeName)},button:function(Vt){return I(Vt,"input")&&Vt.type==="button"||I(Vt,"button")},text:function(Vt){var bi;return I(Vt,"input")&&Vt.type==="text"&&((bi=Vt.getAttribute("type"))==null||bi.toLowerCase()==="text")},first:KF(function(){return[0]}),last:KF(function(Vt,bi){return[bi-1]}),eq:KF(function(Vt,bi,Ui){return[Ui<0?Ui+bi:Ui]}),even:KF(function(Vt,bi){for(var Ui=0;Ui<bi;Ui+=2)Vt.push(Ui);return Vt}),odd:KF(function(Vt,bi){for(var Ui=1;Ui<bi;Ui+=2)Vt.push(Ui);return Vt}),lt:KF(function(Vt,bi,Ui){var Gi;for(Ui<0?Gi=Ui+bi:Ui>bi?Gi=bi:Gi=Ui;--Gi>=0;)Vt.push(Gi);return Vt}),gt:KF(function(Vt,bi,Ui){for(var Gi=Ui<0?Ui+bi:Ui;++Gi<bi;)Vt.push(Gi);return Vt})}},Ie.pseudos.nth=Ie.pseudos.eq;for(ge in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})Ie.pseudos[ge]=cut(ge);for(ge in{submit:!0,reset:!0})Ie.pseudos[ge]=Yce(ge);function Wt(){}Wt.prototype=Ie.filters=Ie.pseudos,Ie.setFilters=new Wt;function oi(Vt,bi){var Ui,Gi,uo,Ar,In,Ia,Ln,hd=Nd[Vt+" "];if(hd)return bi?0:hd.slice(0);for(In=Vt,Ia=[],Ln=Ie.preFilter;In;){(!Ui||(Gi=K1.exec(In)))&&(Gi&&(In=In.slice(Gi[0].length)||In),Ia.push(uo=[])),Ui=!1,(Gi=wie.exec(In))&&(Ui=Gi.shift(),uo.push({value:Ui,type:Gi[0].replace(R," ")}),In=In.slice(Ui.length));for(Ar in Ie.filter)(Gi=n8[Ar].exec(In))&&(!Ln[Ar]||(Gi=Ln[Ar](Gi)))&&(Ui=Gi.shift(),uo.push({value:Ui,type:Ar,matches:Gi}),In=In.slice(Ui.length));if(!Ui)break}return bi?In.length:In?I0.error(Vt):Nd(Vt,Ia).slice(0)}function Di(Vt){for(var bi=0,Ui=Vt.length,Gi="";bi<Ui;bi++)Gi+=Vt[bi].value;return Gi}function Ki(Vt,bi,Ui){var Gi=bi.dir,uo=bi.next,Ar=uo||Gi,In=Ui&&Ar==="parentNode",Ia=Jo++;return bi.first?function(Ln,hd,qs){for(;Ln=Ln[Gi];)if(Ln.nodeType===1||In)return Vt(Ln,hd,qs);return!1}:function(Ln,hd,qs){var El,fd,bs=[Hi,Ia];if(qs){for(;Ln=Ln[Gi];)if((Ln.nodeType===1||In)&&Vt(Ln,hd,qs))return!0}else for(;Ln=Ln[Gi];)if(Ln.nodeType===1||In)if(fd=Ln[To]||(Ln[To]={}),uo&&I(Ln,uo))Ln=Ln[Gi]||Ln;else{if((El=fd[Ar])&&El[0]===Hi&&El[1]===Ia)return bs[2]=El[2];if(fd[Ar]=bs,bs[2]=Vt(Ln,hd,qs))return!0}return!1}}function Bo(Vt){return Vt.length>1?function(bi,Ui,Gi){for(var uo=Vt.length;uo--;)if(!Vt[uo](bi,Ui,Gi))return!1;return!0}:Vt[0]}function tn(Vt,bi,Ui){for(var Gi=0,uo=bi.length;Gi<uo;Gi++)I0(Vt,bi[Gi],Ui);return Ui}function on(Vt,bi,Ui,Gi,uo){for(var Ar,In=[],Ia=0,Ln=Vt.length,hd=bi!=null;Ia<Ln;Ia++)(Ar=Vt[Ia])&&(!Ui||Ui(Ar,Gi,uo))&&(In.push(Ar),hd&&bi.push(Ia));return In}function L0(Vt,bi,Ui,Gi,uo,Ar){return Gi&&!Gi[To]&&(Gi=L0(Gi)),uo&&!uo[To]&&(uo=L0(uo,Ar)),x6(function(In,Ia,Ln,hd){var qs,El,fd,bs,u1=[],T6=[],Zx=Ia.length,s8=In||tn(bi||"*",Ln.nodeType?[Ln]:Ln,[]),zR=Vt&&(In||!bi)?on(s8,u1,Vt,Ln,hd):s8;if(Ui?(bs=uo||(In?Vt:Zx||Gi)?[]:Ia,Ui(zR,bs,Ln,hd)):bs=zR,Gi)for(qs=on(bs,T6),Gi(qs,[],Ln,hd),El=qs.length;El--;)(fd=qs[El])&&(bs[T6[El]]=!(zR[T6[El]]=fd));if(In){if(uo||Vt){if(uo){for(qs=[],El=bs.length;El--;)(fd=bs[El])&&qs.push(zR[El]=fd);uo(null,bs=[],qs,hd)}for(El=bs.length;El--;)(fd=bs[El])&&(qs=uo?s.call(In,fd):u1[El])>-1&&(In[qs]=!(Ia[qs]=fd))}}else bs=on(bs===Ia?bs.splice(Zx,bs.length):bs),uo?uo(null,Ia,bs,hd):at.apply(Ia,bs)})}function Vu(Vt){for(var bi,Ui,Gi,uo=Vt.length,Ar=Ie.relative[Vt[0].type],In=Ar||Ie.relative[" "],Ia=Ar?1:0,Ln=Ki(function(El){return El===bi},In,!0),hd=Ki(function(El){return s.call(bi,El)>-1},In,!0),qs=[function(El,fd,bs){var u1=!Ar&&(bs||fd!=Fe)||((bi=fd).nodeType?Ln(El,fd,bs):hd(El,fd,bs));return bi=null,u1}];Ia<uo;Ia++)if(Ui=Ie.relative[Vt[Ia].type])qs=[Ki(Bo(qs),Ui)];else{if(Ui=Ie.filter[Vt[Ia].type].apply(null,Vt[Ia].matches),Ui[To]){for(Gi=++Ia;Gi<uo&&!Ie.relative[Vt[Gi].type];Gi++);return L0(Ia>1&&Bo(qs),Ia>1&&Di(Vt.slice(0,Ia-1).concat({value:Vt[Ia-2].type===" "?"*":""})).replace(R,"$1"),Ui,Ia<Gi&&Vu(Vt.slice(Ia,Gi)),Gi<uo&&Vu(Vt=Vt.slice(Gi)),Gi<uo&&Di(Vt))}qs.push(Ui)}return Bo(qs)}function Rh(Vt,bi){var Ui=bi.length>0,Gi=Vt.length>0,uo=function(Ar,In,Ia,Ln,hd){var qs,El,fd,bs=0,u1="0",T6=Ar&&[],Zx=[],s8=Fe,zR=Ar||Gi&&Ie.find.TAG("*",hd),Wce=Hi+=s8==null?1:Math.random()||.1,cS=zR.length;for(hd&&(Fe=In==ft||In||hd);u1!==cS&&(qs=zR[u1])!=null;u1++){if(Gi&&qs){for(El=0,!In&&qs.ownerDocument!=ft&&(BR(qs),Ia=!Zt);fd=Vt[El++];)if(fd(qs,In||ft,Ia)){at.call(Ln,qs);break}hd&&(Hi=Wce)}Ui&&((qs=!fd&&qs)&&bs--,Ar&&T6.push(qs))}if(bs+=u1,Ui&&u1!==bs){for(El=0;fd=bi[El++];)fd(T6,Zx,In,Ia);if(Ar){if(bs>0)for(;u1--;)T6[u1]||Zx[u1]||(Zx[u1]=A.call(Ln));Zx=on(Zx)}at.apply(Ln,Zx),hd&&!Ar&&Zx.length>0&&bs+bi.length>1&&T.uniqueSort(Ln)}return hd&&(Hi=Wce,Fe=s8),T6};return Ui?x6(uo):uo}function Z1(Vt,bi){var Ui,Gi=[],uo=[],Ar=nc[Vt+" "];if(!Ar){for(bi||(bi=oi(Vt)),Ui=bi.length;Ui--;)Ar=Vu(bi[Ui]),Ar[To]?Gi.push(Ar):uo.push(Ar);Ar=nc(Vt,Rh(uo,Gi)),Ar.selector=Vt}return Ar}function Tie(Vt,bi,Ui,Gi){var uo,Ar,In,Ia,Ln,hd=typeof Vt=="function"&&Vt,qs=!Gi&&oi(Vt=hd.selector||Vt);if(Ui=Ui||[],qs.length===1){if(Ar=qs[0]=qs[0].slice(0),Ar.length>2&&(In=Ar[0]).type==="ID"&&bi.nodeType===9&&Zt&&Ie.relative[Ar[1].type]){if(bi=(Ie.find.ID(In.matches[0].replace(c9,a8),bi)||[])[0],bi)hd&&(bi=bi.parentNode);else return Ui;Vt=Vt.slice(Ar.shift().value.length)}for(uo=n8.needsContext.test(Vt)?0:Ar.length;uo--&&(In=Ar[uo],!Ie.relative[Ia=In.type]);)if((Ln=Ie.find[Ia])&&(Gi=Ln(In.matches[0].replace(c9,a8),q4e.test(Ar[0].type)&&xie(bi.parentNode)||bi))){if(Ar.splice(uo,1),Vt=Gi.length&&Di(Ar),!Vt)return at.apply(Ui,Gi),Ui;break}}return(hd||Z1(Vt,qs))(Gi,bi,!Zt,Ui,!bi||q4e.test(Vt)&&xie(bi.parentNode)||bi),Ui}m.sortStable=To.split("").sort(M2).join("")===To,BR(),m.sortDetached=QF(function(Vt){return Vt.compareDocumentPosition(ft.createElement("fieldset"))&1}),T.find=I0,T.expr[":"]=T.expr.pseudos,T.unique=T.uniqueSort,I0.compile=Z1,I0.select=Tie,I0.setDocument=BR,I0.tokenize=oi,I0.escape=T.escapeSelector,I0.getText=T.text,I0.isXML=T.isXMLDoc,I0.selectors=T.expr,I0.support=T.support,I0.uniqueSort=T.uniqueSort})();var _=function(ge,Ie,Fe){for(var We=[],nt=Fe!==void 0;(ge=ge[Ie])&&ge.nodeType!==9;)if(ge.nodeType===1){if(nt&&T(ge).is(Fe))break;We.push(ge)}return We},j=function(ge,Ie){for(var Fe=[];ge;ge=ge.nextSibling)ge.nodeType===1&&ge!==Ie&&Fe.push(ge);return Fe},B=T.expr.match.needsContext,V=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function G(ge,Ie,Fe){return h(Ie)?T.grep(ge,function(We,nt){return!!Ie.call(We,nt,We)!==Fe}):Ie.nodeType?T.grep(ge,function(We){return We===Ie!==Fe}):typeof Ie!="string"?T.grep(ge,function(We){return s.call(Ie,We)>-1!==Fe}):T.filter(Ie,ge,Fe)}T.filter=function(ge,Ie,Fe){var We=Ie[0];return Fe&&(ge=":not("+ge+")"),Ie.length===1&&We.nodeType===1?T.find.matchesSelector(We,ge)?[We]:[]:T.find.matches(ge,T.grep(Ie,function(nt){return nt.nodeType===1}))},T.fn.extend({find:function(ge){var Ie,Fe,We=this.length,nt=this;if(typeof ge!="string")return this.pushStack(T(ge).filter(function(){for(Ie=0;Ie<We;Ie++)if(T.contains(nt[Ie],this))return!0}));for(Fe=this.pushStack([]),Ie=0;Ie<We;Ie++)T.find(ge,nt[Ie],Fe);return We>1?T.uniqueSort(Fe):Fe},filter:function(ge){return this.pushStack(G(this,ge||[],!1))},not:function(ge){return this.pushStack(G(this,ge||[],!0))},is:function(ge){return!!G(this,typeof ge=="string"&&B.test(ge)?T(ge):ge||[],!1).length}});var Q,H=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,q=T.fn.init=function(ge,Ie,Fe){var We,nt;if(!ge)return this;if(Fe=Fe||Q,typeof ge=="string")if(ge[0]==="<"&&ge[ge.length-1]===">"&&ge.length>=3?We=[null,ge,null]:We=H.exec(ge),We&&(We[1]||!Ie))if(We[1]){if(Ie=Ie instanceof T?Ie[0]:Ie,T.merge(this,T.parseHTML(We[1],Ie&&Ie.nodeType?Ie.ownerDocument||Ie:g,!0)),V.test(We[1])&&T.isPlainObject(Ie))for(We in Ie)h(this[We])?this[We](Ie[We]):this.attr(We,Ie[We]);return this}else return nt=g.getElementById(We[2]),nt&&(this[0]=nt,this.length=1),this;else return!Ie||Ie.jquery?(Ie||Fe).find(ge):this.constructor(Ie).find(ge);else{if(ge.nodeType)return this[0]=ge,this.length=1,this;if(h(ge))return Fe.ready!==void 0?Fe.ready(ge):ge(T)}return T.makeArray(ge,this)};q.prototype=T.fn,Q=T(g);var U=/^(?:parents|prev(?:Until|All))/,F={children:!0,contents:!0,next:!0,prev:!0};T.fn.extend({has:function(ge){var Ie=T(ge,this),Fe=Ie.length;return this.filter(function(){for(var We=0;We<Fe;We++)if(T.contains(this,Ie[We]))return!0})},closest:function(ge,Ie){var Fe,We=0,nt=this.length,at=[],ft=typeof ge!="string"&&T(ge);if(!B.test(ge)){for(;We<nt;We++)for(Fe=this[We];Fe&&Fe!==Ie;Fe=Fe.parentNode)if(Fe.nodeType<11&&(ft?ft.index(Fe)>-1:Fe.nodeType===1&&T.find.matchesSelector(Fe,ge))){at.push(Fe);break}}return this.pushStack(at.length>1?T.uniqueSort(at):at)},index:function(ge){return ge?typeof ge=="string"?s.call(T(ge),this[0]):s.call(this,ge.jquery?ge[0]:ge):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(ge,Ie){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(ge,Ie))))},addBack:function(ge){return this.add(ge==null?this.prevObject:this.prevObject.filter(ge))}});function K(ge,Ie){for(;(ge=ge[Ie])&&ge.nodeType!==1;);return ge}T.each({parent:function(ge){var Ie=ge.parentNode;return Ie&&Ie.nodeType!==11?Ie:null},parents:function(ge){return _(ge,"parentNode")},parentsUntil:function(ge,Ie,Fe){return _(ge,"parentNode",Fe)},next:function(ge){return K(ge,"nextSibling")},prev:function(ge){return K(ge,"previousSibling")},nextAll:function(ge){return _(ge,"nextSibling")},prevAll:function(ge){return _(ge,"previousSibling")},nextUntil:function(ge,Ie,Fe){return _(ge,"nextSibling",Fe)},prevUntil:function(ge,Ie,Fe){return _(ge,"previousSibling",Fe)},siblings:function(ge){return j((ge.parentNode||{}).firstChild,ge)},children:function(ge){return j(ge.firstChild)},contents:function(ge){return ge.contentDocument!=null&&o(ge.contentDocument)?ge.contentDocument:(I(ge,"template")&&(ge=ge.content||ge),T.merge([],ge.childNodes))}},function(ge,Ie){T.fn[ge]=function(Fe,We){var nt=T.map(this,Ie,Fe);return ge.slice(-5)!=="Until"&&(We=Fe),We&&typeof We=="string"&&(nt=T.filter(We,nt)),this.length>1&&(F[ge]||T.uniqueSort(nt),U.test(ge)&&nt.reverse()),this.pushStack(nt)}});var te=/[^\x20\t\r\n\f]+/g;function ae(ge){var Ie={};return T.each(ge.match(te)||[],function(Fe,We){Ie[We]=!0}),Ie}T.Callbacks=function(ge){ge=typeof ge=="string"?ae(ge):T.extend({},ge);var Ie,Fe,We,nt,at=[],ft=[],ai=-1,Zt=function(){for(nt=nt||ge.once,We=Ie=!0;ft.length;ai=-1)for(Fe=ft.shift();++ai<at.length;)at[ai].apply(Fe[0],Fe[1])===!1&&ge.stopOnFalse&&(ai=at.length,Fe=!1);ge.memory||(Fe=!1),Ie=!1,nt&&(Fe?at=[]:at="")},vi={add:function(){return at&&(Fe&&!Ie&&(ai=at.length-1,ft.push(Fe)),(function so(To){T.each(To,function(Hi,Jo){h(Jo)?(!ge.unique||!vi.has(Jo))&&at.push(Jo):Jo&&Jo.length&&w(Jo)!=="string"&&so(Jo)})})(arguments),Fe&&!Ie&&Zt()),this},remove:function(){return T.each(arguments,function(so,To){for(var Hi;(Hi=T.inArray(To,at,Hi))>-1;)at.splice(Hi,1),Hi<=ai&&ai--}),this},has:function(so){return so?T.inArray(so,at)>-1:at.length>0},empty:function(){return at&&(at=[]),this},disable:function(){return nt=ft=[],at=Fe="",this},disabled:function(){return!at},lock:function(){return nt=ft=[],!Fe&&!Ie&&(at=Fe=""),this},locked:function(){return!!nt},fireWith:function(so,To){return nt||(To=To||[],To=[so,To.slice?To.slice():To],ft.push(To),Ie||Zt()),this},fire:function(){return vi.fireWith(this,arguments),this},fired:function(){return!!We}};return vi};function pe(ge){return ge}function Z(ge){throw ge}function ee(ge,Ie,Fe,We){var nt;try{ge&&h(nt=ge.promise)?nt.call(ge).done(Ie).fail(Fe):ge&&h(nt=ge.then)?nt.call(ge,Ie,Fe):Ie.apply(void 0,[ge].slice(We))}catch(at){Fe.apply(void 0,[at])}}T.extend({Deferred:function(ge){var Ie=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],Fe="pending",We={state:function(){return Fe},always:function(){return nt.done(arguments).fail(arguments),this},catch:function(at){return We.then(null,at)},pipe:function(){var at=arguments;return T.Deferred(function(ft){T.each(Ie,function(ai,Zt){var vi=h(at[Zt[4]])&&at[Zt[4]];nt[Zt[1]](function(){var so=vi&&vi.apply(this,arguments);so&&h(so.promise)?so.promise().progress(ft.notify).done(ft.resolve).fail(ft.reject):ft[Zt[0]+"With"](this,vi?[so]:arguments)})}),at=null}).promise()},then:function(at,ft,ai){var Zt=0;function vi(so,To,Hi,Jo){return function(){var Us=this,Nd=arguments,nc=function(){var M2,i8;if(!(so<Zt)){if(M2=Hi.apply(Us,Nd),M2===To.promise())throw new TypeError("Thenable self-resolution");i8=M2&&(typeof M2=="object"||typeof M2=="function")&&M2.then,h(i8)?Jo?i8.call(M2,vi(Zt,To,pe,Jo),vi(Zt,To,Z,Jo)):(Zt++,i8.call(M2,vi(Zt,To,pe,Jo),vi(Zt,To,Z,Jo),vi(Zt,To,pe,To.notifyWith))):(Hi!==pe&&(Us=void 0,Nd=[M2]),(Jo||To.resolveWith)(Us,Nd))}},Df=Jo?nc:function(){try{nc()}catch(M2){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(M2,Df.error),so+1>=Zt&&(Hi!==Z&&(Us=void 0,Nd=[M2]),To.rejectWith(Us,Nd))}};so?Df():(T.Deferred.getErrorHook?Df.error=T.Deferred.getErrorHook():T.Deferred.getStackHook&&(Df.error=T.Deferred.getStackHook()),t.setTimeout(Df))}}return T.Deferred(function(so){Ie[0][3].add(vi(0,so,h(ai)?ai:pe,so.notifyWith)),Ie[1][3].add(vi(0,so,h(at)?at:pe)),Ie[2][3].add(vi(0,so,h(ft)?ft:Z))}).promise()},promise:function(at){return at!=null?T.extend(at,We):We}},nt={};return T.each(Ie,function(at,ft){var ai=ft[2],Zt=ft[5];We[ft[1]]=ai.add,Zt&&ai.add(function(){Fe=Zt},Ie[3-at][2].disable,Ie[3-at][3].disable,Ie[0][2].lock,Ie[0][3].lock),ai.add(ft[3].fire),nt[ft[0]]=function(){return nt[ft[0]+"With"](this===nt?void 0:this,arguments),this},nt[ft[0]+"With"]=ai.fireWith}),We.promise(nt),ge&&ge.call(nt,nt),nt},when:function(ge){var Ie=arguments.length,Fe=Ie,We=Array(Fe),nt=r.call(arguments),at=T.Deferred(),ft=function(ai){return function(Zt){We[ai]=this,nt[ai]=arguments.length>1?r.call(arguments):Zt,--Ie||at.resolveWith(We,nt)}};if(Ie<=1&&(ee(ge,at.done(ft(Fe)).resolve,at.reject,!Ie),at.state()==="pending"||h(nt[Fe]&&nt[Fe].then)))return at.then();for(;Fe--;)ee(nt[Fe],ft(Fe),at.reject);return at.promise()}});var ce=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(ge,Ie){t.console&&t.console.warn&&ge&&ce.test(ge.name)&&t.console.warn("jQuery.Deferred exception: "+ge.message,ge.stack,Ie)},T.readyException=function(ge){t.setTimeout(function(){throw ge})};var ne=T.Deferred();T.fn.ready=function(ge){return ne.then(ge).catch(function(Ie){T.readyException(Ie)}),this},T.extend({isReady:!1,readyWait:1,ready:function(ge){(ge===!0?--T.readyWait:T.isReady)||(T.isReady=!0,!(ge!==!0&&--T.readyWait>0)&&ne.resolveWith(g,[T]))}}),T.ready.then=ne.then;function oe(){g.removeEventListener("DOMContentLoaded",oe),t.removeEventListener("load",oe),T.ready()}g.readyState==="complete"||g.readyState!=="loading"&&!g.documentElement.doScroll?t.setTimeout(T.ready):(g.addEventListener("DOMContentLoaded",oe),t.addEventListener("load",oe));var re=function(ge,Ie,Fe,We,nt,at,ft){var ai=0,Zt=ge.length,vi=Fe==null;if(w(Fe)==="object"){nt=!0;for(ai in Fe)re(ge,Ie,ai,Fe[ai],!0,at,ft)}else if(We!==void 0&&(nt=!0,h(We)||(ft=!0),vi&&(ft?(Ie.call(ge,We),Ie=null):(vi=Ie,Ie=function(so,To,Hi){return vi.call(T(so),Hi)})),Ie))for(;ai<Zt;ai++)Ie(ge[ai],Fe,ft?We:We.call(ge[ai],ai,Ie(ge[ai],Fe)));return nt?ge:vi?Ie.call(ge):Zt?Ie(ge[0],Fe):at},Y=/^-ms-/,X=/-([a-z])/g;function ie(ge,Ie){return Ie.toUpperCase()}function de(ge){return ge.replace(Y,"ms-").replace(X,ie)}var fe=function(ge){return ge.nodeType===1||ge.nodeType===9||!+ge.nodeType};function ye(){this.expando=T.expando+ye.uid++}ye.uid=1,ye.prototype={cache:function(ge){var Ie=ge[this.expando];return Ie||(Ie={},fe(ge)&&(ge.nodeType?ge[this.expando]=Ie:Object.defineProperty(ge,this.expando,{value:Ie,configurable:!0}))),Ie},set:function(ge,Ie,Fe){var We,nt=this.cache(ge);if(typeof Ie=="string")nt[de(Ie)]=Fe;else for(We in Ie)nt[de(We)]=Ie[We];return nt},get:function(ge,Ie){return Ie===void 0?this.cache(ge):ge[this.expando]&&ge[this.expando][de(Ie)]},access:function(ge,Ie,Fe){return Ie===void 0||Ie&&typeof Ie=="string"&&Fe===void 0?this.get(ge,Ie):(this.set(ge,Ie,Fe),Fe!==void 0?Fe:Ie)},remove:function(ge,Ie){var Fe,We=ge[this.expando];if(We!==void 0){if(Ie!==void 0)for(Array.isArray(Ie)?Ie=Ie.map(de):(Ie=de(Ie),Ie=Ie in We?[Ie]:Ie.match(te)||[]),Fe=Ie.length;Fe--;)delete We[Ie[Fe]];(Ie===void 0||T.isEmptyObject(We))&&(ge.nodeType?ge[this.expando]=void 0:delete ge[this.expando])}},hasData:function(ge){var Ie=ge[this.expando];return Ie!==void 0&&!T.isEmptyObject(Ie)}};var Le=new ye,Re=new ye,Ne=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Te=/[A-Z]/g;function Pe(ge){return ge==="true"?!0:ge==="false"?!1:ge==="null"?null:ge===+ge+""?+ge:Ne.test(ge)?JSON.parse(ge):ge}function Oe(ge,Ie,Fe){var We;if(Fe===void 0&&ge.nodeType===1)if(We="data-"+Ie.replace(Te,"-$&").toLowerCase(),Fe=ge.getAttribute(We),typeof Fe=="string"){try{Fe=Pe(Fe)}catch{}Re.set(ge,Ie,Fe)}else Fe=void 0;return Fe}T.extend({hasData:function(ge){return Re.hasData(ge)||Le.hasData(ge)},data:function(ge,Ie,Fe){return Re.access(ge,Ie,Fe)},removeData:function(ge,Ie){Re.remove(ge,Ie)},_data:function(ge,Ie,Fe){return Le.access(ge,Ie,Fe)},_removeData:function(ge,Ie){Le.remove(ge,Ie)}}),T.fn.extend({data:function(ge,Ie){var Fe,We,nt,at=this[0],ft=at&&at.attributes;if(ge===void 0){if(this.length&&(nt=Re.get(at),at.nodeType===1&&!Le.get(at,"hasDataAttrs"))){for(Fe=ft.length;Fe--;)ft[Fe]&&(We=ft[Fe].name,We.indexOf("data-")===0&&(We=de(We.slice(5)),Oe(at,We,nt[We])));Le.set(at,"hasDataAttrs",!0)}return nt}return typeof ge=="object"?this.each(function(){Re.set(this,ge)}):re(this,function(ai){var Zt;if(at&&ai===void 0)return Zt=Re.get(at,ge),Zt!==void 0||(Zt=Oe(at,ge),Zt!==void 0)?Zt:void 0;this.each(function(){Re.set(this,ge,ai)})},null,Ie,arguments.length>1,null,!0)},removeData:function(ge){return this.each(function(){Re.remove(this,ge)})}}),T.extend({queue:function(ge,Ie,Fe){var We;if(ge)return Ie=(Ie||"fx")+"queue",We=Le.get(ge,Ie),Fe&&(!We||Array.isArray(Fe)?We=Le.access(ge,Ie,T.makeArray(Fe)):We.push(Fe)),We||[]},dequeue:function(ge,Ie){Ie=Ie||"fx";var Fe=T.queue(ge,Ie),We=Fe.length,nt=Fe.shift(),at=T._queueHooks(ge,Ie),ft=function(){T.dequeue(ge,Ie)};nt==="inprogress"&&(nt=Fe.shift(),We--),nt&&(Ie==="fx"&&Fe.unshift("inprogress"),delete at.stop,nt.call(ge,ft,at)),!We&&at&&at.empty.fire()},_queueHooks:function(ge,Ie){var Fe=Ie+"queueHooks";return Le.get(ge,Fe)||Le.access(ge,Fe,{empty:T.Callbacks("once memory").add(function(){Le.remove(ge,[Ie+"queue",Fe])})})}}),T.fn.extend({queue:function(ge,Ie){var Fe=2;return typeof ge!="string"&&(Ie=ge,ge="fx",Fe--),arguments.length<Fe?T.queue(this[0],ge):Ie===void 0?this:this.each(function(){var We=T.queue(this,ge,Ie);T._queueHooks(this,ge),ge==="fx"&&We[0]!=="inprogress"&&T.dequeue(this,ge)})},dequeue:function(ge){return this.each(function(){T.dequeue(this,ge)})},clearQueue:function(ge){return this.queue(ge||"fx",[])},promise:function(ge,Ie){var Fe,We=1,nt=T.Deferred(),at=this,ft=this.length,ai=function(){--We||nt.resolveWith(at,[at])};for(typeof ge!="string"&&(Ie=ge,ge=void 0),ge=ge||"fx";ft--;)Fe=Le.get(at[ft],ge+"queueHooks"),Fe&&Fe.empty&&(We++,Fe.empty.add(ai));return ai(),nt.promise(Ie)}});var Ue=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ve=new RegExp("^(?:([+-])=|)("+Ue+")([a-z%]*)$","i"),ze=["Top","Right","Bottom","Left"],He=g.documentElement,Ye=function(ge){return T.contains(ge.ownerDocument,ge)},ke={composed:!0};He.getRootNode&&(Ye=function(ge){return T.contains(ge.ownerDocument,ge)||ge.getRootNode(ke)===ge.ownerDocument});var Be=function(ge,Ie){return ge=Ie||ge,ge.style.display==="none"||ge.style.display===""&&Ye(ge)&&T.css(ge,"display")==="none"};function Xe(ge,Ie,Fe,We){var nt,at,ft=20,ai=We?function(){return We.cur()}:function(){return T.css(ge,Ie,"")},Zt=ai(),vi=Fe&&Fe[3]||(T.cssNumber[Ie]?"":"px"),so=ge.nodeType&&(T.cssNumber[Ie]||vi!=="px"&&+Zt)&&Ve.exec(T.css(ge,Ie));if(so&&so[3]!==vi){for(Zt=Zt/2,vi=vi||so[3],so=+Zt||1;ft--;)T.style(ge,Ie,so+vi),(1-at)*(1-(at=ai()/Zt||.5))<=0&&(ft=0),so=so/at;so=so*2,T.style(ge,Ie,so+vi),Fe=Fe||[]}return Fe&&(so=+so||+Zt||0,nt=Fe[1]?so+(Fe[1]+1)*Fe[2]:+Fe[2],We&&(We.unit=vi,We.start=so,We.end=nt)),nt}var Ge={};function Ke(ge){var Ie,Fe=ge.ownerDocument,We=ge.nodeName,nt=Ge[We];return nt||(Ie=Fe.body.appendChild(Fe.createElement(We)),nt=T.css(Ie,"display"),Ie.parentNode.removeChild(Ie),nt==="none"&&(nt="block"),Ge[We]=nt,nt)}function pt(ge,Ie){for(var Fe,We,nt=[],at=0,ft=ge.length;at<ft;at++)We=ge[at],We.style&&(Fe=We.style.display,Ie?(Fe==="none"&&(nt[at]=Le.get(We,"display")||null,nt[at]||(We.style.display="")),We.style.display===""&&Be(We)&&(nt[at]=Ke(We))):Fe!=="none"&&(nt[at]="none",Le.set(We,"display",Fe)));for(at=0;at<ft;at++)nt[at]!=null&&(ge[at].style.display=nt[at]);return ge}T.fn.extend({show:function(){return pt(this,!0)},hide:function(){return pt(this)},toggle:function(ge){return typeof ge=="boolean"?ge?this.show():this.hide():this.each(function(){Be(this)?T(this).show():T(this).hide()})}});var ot=/^(?:checkbox|radio)$/i,Qe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ut=/^$|^module$|\/(?:java|ecma)script/i;(function(){var ge=g.createDocumentFragment(),Ie=ge.appendChild(g.createElement("div")),Fe=g.createElement("input");Fe.setAttribute("type","radio"),Fe.setAttribute("checked","checked"),Fe.setAttribute("name","t"),Ie.appendChild(Fe),m.checkClone=Ie.cloneNode(!0).cloneNode(!0).lastChild.checked,Ie.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!Ie.cloneNode(!0).lastChild.defaultValue,Ie.innerHTML="<option></option>",m.option=!!Ie.lastChild})();var rt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};rt.tbody=rt.tfoot=rt.colgroup=rt.caption=rt.thead,rt.th=rt.td,m.option||(rt.optgroup=rt.option=[1,"<select multiple='multiple'>","</select>"]);function ht(ge,Ie){var Fe;return typeof ge.getElementsByTagName<"u"?Fe=ge.getElementsByTagName(Ie||"*"):typeof ge.querySelectorAll<"u"?Fe=ge.querySelectorAll(Ie||"*"):Fe=[],Ie===void 0||Ie&&I(ge,Ie)?T.merge([ge],Fe):Fe}function ct(ge,Ie){for(var Fe=0,We=ge.length;Fe<We;Fe++)Le.set(ge[Fe],"globalEval",!Ie||Le.get(Ie[Fe],"globalEval"))}var wt=/<|&#?\w+;/;function zt(ge,Ie,Fe,We,nt){for(var at,ft,ai,Zt,vi,so,To=Ie.createDocumentFragment(),Hi=[],Jo=0,Us=ge.length;Jo<Us;Jo++)if(at=ge[Jo],at||at===0)if(w(at)==="object")T.merge(Hi,at.nodeType?[at]:at);else if(!wt.test(at))Hi.push(Ie.createTextNode(at));else{for(ft=ft||To.appendChild(Ie.createElement("div")),ai=(Qe.exec(at)||["",""])[1].toLowerCase(),Zt=rt[ai]||rt._default,ft.innerHTML=Zt[1]+T.htmlPrefilter(at)+Zt[2],so=Zt[0];so--;)ft=ft.lastChild;T.merge(Hi,ft.childNodes),ft=To.firstChild,ft.textContent=""}for(To.textContent="",Jo=0;at=Hi[Jo++];){if(We&&T.inArray(at,We)>-1){nt&&nt.push(at);continue}if(vi=Ye(at),ft=ht(To.appendChild(at),"script"),vi&&ct(ft),Fe)for(so=0;at=ft[so++];)ut.test(at.type||"")&&Fe.push(at)}return To}var gt=/^([^.]*)(?:\.(.+)|)/;function Qt(){return!0}function yt(){return!1}function jt(ge,Ie,Fe,We,nt,at){var ft,ai;if(typeof Ie=="object"){typeof Fe!="string"&&(We=We||Fe,Fe=void 0);for(ai in Ie)jt(ge,ai,Fe,We,Ie[ai],at);return ge}if(We==null&&nt==null?(nt=Fe,We=Fe=void 0):nt==null&&(typeof Fe=="string"?(nt=We,We=void 0):(nt=We,We=Fe,Fe=void 0)),nt===!1)nt=yt;else if(!nt)return ge;return at===1&&(ft=nt,nt=function(Zt){return T().off(Zt),ft.apply(this,arguments)},nt.guid=ft.guid||(ft.guid=T.guid++)),ge.each(function(){T.event.add(this,Ie,nt,We,Fe)})}T.event={global:{},add:function(ge,Ie,Fe,We,nt){var at,ft,ai,Zt,vi,so,To,Hi,Jo,Us,Nd,nc=Le.get(ge);if(fe(ge))for(Fe.handler&&(at=Fe,Fe=at.handler,nt=at.selector),nt&&T.find.matchesSelector(He,nt),Fe.guid||(Fe.guid=T.guid++),(Zt=nc.events)||(Zt=nc.events=Object.create(null)),(ft=nc.handle)||(ft=nc.handle=function(Df){return typeof T<"u"&&T.event.triggered!==Df.type?T.event.dispatch.apply(ge,arguments):void 0}),Ie=(Ie||"").match(te)||[""],vi=Ie.length;vi--;)ai=gt.exec(Ie[vi])||[],Jo=Nd=ai[1],Us=(ai[2]||"").split(".").sort(),Jo&&(To=T.event.special[Jo]||{},Jo=(nt?To.delegateType:To.bindType)||Jo,To=T.event.special[Jo]||{},so=T.extend({type:Jo,origType:Nd,data:We,handler:Fe,guid:Fe.guid,selector:nt,needsContext:nt&&T.expr.match.needsContext.test(nt),namespace:Us.join(".")},at),(Hi=Zt[Jo])||(Hi=Zt[Jo]=[],Hi.delegateCount=0,(!To.setup||To.setup.call(ge,We,Us,ft)===!1)&&ge.addEventListener&&ge.addEventListener(Jo,ft)),To.add&&(To.add.call(ge,so),so.handler.guid||(so.handler.guid=Fe.guid)),nt?Hi.splice(Hi.delegateCount++,0,so):Hi.push(so),T.event.global[Jo]=!0)},remove:function(ge,Ie,Fe,We,nt){var at,ft,ai,Zt,vi,so,To,Hi,Jo,Us,Nd,nc=Le.hasData(ge)&&Le.get(ge);if(!(!nc||!(Zt=nc.events))){for(Ie=(Ie||"").match(te)||[""],vi=Ie.length;vi--;){if(ai=gt.exec(Ie[vi])||[],Jo=Nd=ai[1],Us=(ai[2]||"").split(".").sort(),!Jo){for(Jo in Zt)T.event.remove(ge,Jo+Ie[vi],Fe,We,!0);continue}for(To=T.event.special[Jo]||{},Jo=(We?To.delegateType:To.bindType)||Jo,Hi=Zt[Jo]||[],ai=ai[2]&&new RegExp("(^|\\.)"+Us.join("\\.(?:.*\\.|)")+"(\\.|$)"),ft=at=Hi.length;at--;)so=Hi[at],(nt||Nd===so.origType)&&(!Fe||Fe.guid===so.guid)&&(!ai||ai.test(so.namespace))&&(!We||We===so.selector||We==="**"&&so.selector)&&(Hi.splice(at,1),so.selector&&Hi.delegateCount--,To.remove&&To.remove.call(ge,so));ft&&!Hi.length&&((!To.teardown||To.teardown.call(ge,Us,nc.handle)===!1)&&T.removeEvent(ge,Jo,nc.handle),delete Zt[Jo])}T.isEmptyObject(Zt)&&Le.remove(ge,"handle events")}},dispatch:function(ge){var Ie,Fe,We,nt,at,ft,ai=new Array(arguments.length),Zt=T.event.fix(ge),vi=(Le.get(this,"events")||Object.create(null))[Zt.type]||[],so=T.event.special[Zt.type]||{};for(ai[0]=Zt,Ie=1;Ie<arguments.length;Ie++)ai[Ie]=arguments[Ie];if(Zt.delegateTarget=this,!(so.preDispatch&&so.preDispatch.call(this,Zt)===!1)){for(ft=T.event.handlers.call(this,Zt,vi),Ie=0;(nt=ft[Ie++])&&!Zt.isPropagationStopped();)for(Zt.currentTarget=nt.elem,Fe=0;(at=nt.handlers[Fe++])&&!Zt.isImmediatePropagationStopped();)(!Zt.rnamespace||at.namespace===!1||Zt.rnamespace.test(at.namespace))&&(Zt.handleObj=at,Zt.data=at.data,We=((T.event.special[at.origType]||{}).handle||at.handler).apply(nt.elem,ai),We!==void 0&&(Zt.result=We)===!1&&(Zt.preventDefault(),Zt.stopPropagation()));return so.postDispatch&&so.postDispatch.call(this,Zt),Zt.result}},handlers:function(ge,Ie){var Fe,We,nt,at,ft,ai=[],Zt=Ie.delegateCount,vi=ge.target;if(Zt&&vi.nodeType&&!(ge.type==="click"&&ge.button>=1)){for(;vi!==this;vi=vi.parentNode||this)if(vi.nodeType===1&&!(ge.type==="click"&&vi.disabled===!0)){for(at=[],ft={},Fe=0;Fe<Zt;Fe++)We=Ie[Fe],nt=We.selector+" ",ft[nt]===void 0&&(ft[nt]=We.needsContext?T(nt,this).index(vi)>-1:T.find(nt,this,null,[vi]).length),ft[nt]&&at.push(We);at.length&&ai.push({elem:vi,handlers:at})}}return vi=this,Zt<Ie.length&&ai.push({elem:vi,handlers:Ie.slice(Zt)}),ai},addProp:function(ge,Ie){Object.defineProperty(T.Event.prototype,ge,{enumerable:!0,configurable:!0,get:h(Ie)?function(){if(this.originalEvent)return Ie(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[ge]},set:function(Fe){Object.defineProperty(this,ge,{enumerable:!0,configurable:!0,writable:!0,value:Fe})}})},fix:function(ge){return ge[T.expando]?ge:new T.Event(ge)},special:{load:{noBubble:!0},click:{setup:function(ge){var Ie=this||ge;return ot.test(Ie.type)&&Ie.click&&I(Ie,"input")&&ni(Ie,"click",!0),!1},trigger:function(ge){var Ie=this||ge;return ot.test(Ie.type)&&Ie.click&&I(Ie,"input")&&ni(Ie,"click"),!0},_default:function(ge){var Ie=ge.target;return ot.test(Ie.type)&&Ie.click&&I(Ie,"input")&&Le.get(Ie,"click")||I(Ie,"a")}},beforeunload:{postDispatch:function(ge){ge.result!==void 0&&ge.originalEvent&&(ge.originalEvent.returnValue=ge.result)}}}};function ni(ge,Ie,Fe){if(!Fe){Le.get(ge,Ie)===void 0&&T.event.add(ge,Ie,Qt);return}Le.set(ge,Ie,!1),T.event.add(ge,Ie,{namespace:!1,handler:function(We){var nt,at=Le.get(this,Ie);if(We.isTrigger&1&&this[Ie]){if(at)(T.event.special[Ie]||{}).delegateType&&We.stopPropagation();else if(at=r.call(arguments),Le.set(this,Ie,at),this[Ie](),nt=Le.get(this,Ie),Le.set(this,Ie,!1),at!==nt)return We.stopImmediatePropagation(),We.preventDefault(),nt}else at&&(Le.set(this,Ie,T.event.trigger(at[0],at.slice(1),this)),We.stopPropagation(),We.isImmediatePropagationStopped=Qt)}})}T.removeEvent=function(ge,Ie,Fe){ge.removeEventListener&&ge.removeEventListener(Ie,Fe)},T.Event=function(ge,Ie){if(!(this instanceof T.Event))return new T.Event(ge,Ie);ge&&ge.type?(this.originalEvent=ge,this.type=ge.type,this.isDefaultPrevented=ge.defaultPrevented||ge.defaultPrevented===void 0&&ge.returnValue===!1?Qt:yt,this.target=ge.target&&ge.target.nodeType===3?ge.target.parentNode:ge.target,this.currentTarget=ge.currentTarget,this.relatedTarget=ge.relatedTarget):this.type=ge,Ie&&T.extend(this,Ie),this.timeStamp=ge&&ge.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:yt,isPropagationStopped:yt,isImmediatePropagationStopped:yt,isSimulated:!1,preventDefault:function(){var ge=this.originalEvent;this.isDefaultPrevented=Qt,ge&&!this.isSimulated&&ge.preventDefault()},stopPropagation:function(){var ge=this.originalEvent;this.isPropagationStopped=Qt,ge&&!this.isSimulated&&ge.stopPropagation()},stopImmediatePropagation:function(){var ge=this.originalEvent;this.isImmediatePropagationStopped=Qt,ge&&!this.isSimulated&&ge.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},function(ge,Ie){function Fe(We){if(g.documentMode){var nt=Le.get(this,"handle"),at=T.event.fix(We);at.type=We.type==="focusin"?"focus":"blur",at.isSimulated=!0,nt(We),at.target===at.currentTarget&&nt(at)}else T.event.simulate(Ie,We.target,T.event.fix(We))}T.event.special[ge]={setup:function(){var We;if(ni(this,ge,!0),g.documentMode)We=Le.get(this,Ie),We||this.addEventListener(Ie,Fe),Le.set(this,Ie,(We||0)+1);else return!1},trigger:function(){return ni(this,ge),!0},teardown:function(){var We;if(g.documentMode)We=Le.get(this,Ie)-1,We?Le.set(this,Ie,We):(this.removeEventListener(Ie,Fe),Le.remove(this,Ie));else return!1},_default:function(We){return Le.get(We.target,ge)},delegateType:Ie},T.event.special[Ie]={setup:function(){var We=this.ownerDocument||this.document||this,nt=g.documentMode?this:We,at=Le.get(nt,Ie);at||(g.documentMode?this.addEventListener(Ie,Fe):We.addEventListener(ge,Fe,!0)),Le.set(nt,Ie,(at||0)+1)},teardown:function(){var We=this.ownerDocument||this.document||this,nt=g.documentMode?this:We,at=Le.get(nt,Ie)-1;at?Le.set(nt,Ie,at):(g.documentMode?this.removeEventListener(Ie,Fe):We.removeEventListener(ge,Fe,!0),Le.remove(nt,Ie))}}}),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(ge,Ie){T.event.special[ge]={delegateType:Ie,bindType:Ie,handle:function(Fe){var We,nt=this,at=Fe.relatedTarget,ft=Fe.handleObj;return(!at||at!==nt&&!T.contains(nt,at))&&(Fe.type=ft.origType,We=ft.handler.apply(this,arguments),Fe.type=Ie),We}}}),T.fn.extend({on:function(ge,Ie,Fe,We){return jt(this,ge,Ie,Fe,We)},one:function(ge,Ie,Fe,We){return jt(this,ge,Ie,Fe,We,1)},off:function(ge,Ie,Fe){var We,nt;if(ge&&ge.preventDefault&&ge.handleObj)return We=ge.handleObj,T(ge.delegateTarget).off(We.namespace?We.origType+"."+We.namespace:We.origType,We.selector,We.handler),this;if(typeof ge=="object"){for(nt in ge)this.off(nt,Ie,ge[nt]);return this}return(Ie===!1||typeof Ie=="function")&&(Fe=Ie,Ie=void 0),Fe===!1&&(Fe=yt),this.each(function(){T.event.remove(this,ge,Fe,Ie)})}});var Ii=/<script|<style|<link/i,Mo=/checked\s*(?:[^=]|=\s*.checked.)/i,_i=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function So(ge,Ie){return I(ge,"table")&&I(Ie.nodeType!==11?Ie:Ie.firstChild,"tr")&&T(ge).children("tbody")[0]||ge}function nr(ge){return ge.type=(ge.getAttribute("type")!==null)+"/"+ge.type,ge}function Do(ge){return(ge.type||"").slice(0,5)==="true/"?ge.type=ge.type.slice(5):ge.removeAttribute("type"),ge}function go(ge,Ie){var Fe,We,nt,at,ft,ai,Zt;if(Ie.nodeType===1){if(Le.hasData(ge)&&(at=Le.get(ge),Zt=at.events,Zt)){Le.remove(Ie,"handle events");for(nt in Zt)for(Fe=0,We=Zt[nt].length;Fe<We;Fe++)T.event.add(Ie,nt,Zt[nt][Fe])}Re.hasData(ge)&&(ft=Re.access(ge),ai=T.extend({},ft),Re.set(Ie,ai))}}function Dr(ge,Ie){var Fe=Ie.nodeName.toLowerCase();Fe==="input"&&ot.test(ge.type)?Ie.checked=ge.checked:(Fe==="input"||Fe==="textarea")&&(Ie.defaultValue=ge.defaultValue)}function cr(ge,Ie,Fe,We){Ie=n(Ie);var nt,at,ft,ai,Zt,vi,so=0,To=ge.length,Hi=To-1,Jo=Ie[0],Us=h(Jo);if(Us||To>1&&typeof Jo=="string"&&!m.checkClone&&Mo.test(Jo))return ge.each(function(Nd){var nc=ge.eq(Nd);Us&&(Ie[0]=Jo.call(this,Nd,nc.html())),cr(nc,Ie,Fe,We)});if(To&&(nt=zt(Ie,ge[0].ownerDocument,!1,ge,We),at=nt.firstChild,nt.childNodes.length===1&&(nt=at),at||We)){for(ft=T.map(ht(nt,"script"),nr),ai=ft.length;so<To;so++)Zt=nt,so!==Hi&&(Zt=T.clone(Zt,!0,!0),ai&&T.merge(ft,ht(Zt,"script"))),Fe.call(ge[so],Zt,so);if(ai)for(vi=ft[ft.length-1].ownerDocument,T.map(ft,Do),so=0;so<ai;so++)Zt=ft[so],ut.test(Zt.type||"")&&!Le.access(Zt,"globalEval")&&T.contains(vi,Zt)&&(Zt.src&&(Zt.type||"").toLowerCase()!=="module"?T._evalUrl&&!Zt.noModule&&T._evalUrl(Zt.src,{nonce:Zt.nonce||Zt.getAttribute("nonce")},vi):y(Zt.textContent.replace(_i,""),Zt,vi))}return ge}function Zn(ge,Ie,Fe){for(var We,nt=Ie?T.filter(Ie,ge):ge,at=0;(We=nt[at])!=null;at++)!Fe&&We.nodeType===1&&T.cleanData(ht(We)),We.parentNode&&(Fe&&Ye(We)&&ct(ht(We,"script")),We.parentNode.removeChild(We));return ge}T.extend({htmlPrefilter:function(ge){return ge},clone:function(ge,Ie,Fe){var We,nt,at,ft,ai=ge.cloneNode(!0),Zt=Ye(ge);if(!m.noCloneChecked&&(ge.nodeType===1||ge.nodeType===11)&&!T.isXMLDoc(ge))for(ft=ht(ai),at=ht(ge),We=0,nt=at.length;We<nt;We++)Dr(at[We],ft[We]);if(Ie)if(Fe)for(at=at||ht(ge),ft=ft||ht(ai),We=0,nt=at.length;We<nt;We++)go(at[We],ft[We]);else go(ge,ai);return ft=ht(ai,"script"),ft.length>0&&ct(ft,!Zt&&ht(ge,"script")),ai},cleanData:function(ge){for(var Ie,Fe,We,nt=T.event.special,at=0;(Fe=ge[at])!==void 0;at++)if(fe(Fe)){if(Ie=Fe[Le.expando]){if(Ie.events)for(We in Ie.events)nt[We]?T.event.remove(Fe,We):T.removeEvent(Fe,We,Ie.handle);Fe[Le.expando]=void 0}Fe[Re.expando]&&(Fe[Re.expando]=void 0)}}}),T.fn.extend({detach:function(ge){return Zn(this,ge,!0)},remove:function(ge){return Zn(this,ge)},text:function(ge){return re(this,function(Ie){return Ie===void 0?T.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=Ie)})},null,ge,arguments.length)},append:function(){return cr(this,arguments,function(ge){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var Ie=So(this,ge);Ie.appendChild(ge)}})},prepend:function(){return cr(this,arguments,function(ge){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var Ie=So(this,ge);Ie.insertBefore(ge,Ie.firstChild)}})},before:function(){return cr(this,arguments,function(ge){this.parentNode&&this.parentNode.insertBefore(ge,this)})},after:function(){return cr(this,arguments,function(ge){this.parentNode&&this.parentNode.insertBefore(ge,this.nextSibling)})},empty:function(){for(var ge,Ie=0;(ge=this[Ie])!=null;Ie++)ge.nodeType===1&&(T.cleanData(ht(ge,!1)),ge.textContent="");return this},clone:function(ge,Ie){return ge=ge==null?!1:ge,Ie=Ie==null?ge:Ie,this.map(function(){return T.clone(this,ge,Ie)})},html:function(ge){return re(this,function(Ie){var Fe=this[0]||{},We=0,nt=this.length;if(Ie===void 0&&Fe.nodeType===1)return Fe.innerHTML;if(typeof Ie=="string"&&!Ii.test(Ie)&&!rt[(Qe.exec(Ie)||["",""])[1].toLowerCase()]){Ie=T.htmlPrefilter(Ie);try{for(;We<nt;We++)Fe=this[We]||{},Fe.nodeType===1&&(T.cleanData(ht(Fe,!1)),Fe.innerHTML=Ie);Fe=0}catch{}}Fe&&this.empty().append(Ie)},null,ge,arguments.length)},replaceWith:function(){var ge=[];return cr(this,arguments,function(Ie){var Fe=this.parentNode;T.inArray(this,ge)<0&&(T.cleanData(ht(this)),Fe&&Fe.replaceChild(Ie,this))},ge)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(ge,Ie){T.fn[ge]=function(Fe){for(var We,nt=[],at=T(Fe),ft=at.length-1,ai=0;ai<=ft;ai++)We=ai===ft?this:this.clone(!0),T(at[ai])[Ie](We),a.apply(nt,We.get());return this.pushStack(nt)}});var Sa=new RegExp("^("+Ue+")(?!px)[a-z%]+$","i"),es=/^--/,tu=function(ge){var Ie=ge.ownerDocument.defaultView;return(!Ie||!Ie.opener)&&(Ie=t),Ie.getComputedStyle(ge)},Mi=function(ge,Ie,Fe){var We,nt,at={};for(nt in Ie)at[nt]=ge.style[nt],ge.style[nt]=Ie[nt];We=Fe.call(ge);for(nt in Ie)ge.style[nt]=at[nt];return We},qi=new RegExp(ze.join("|"),"i");(function(){function ge(){if(vi){Zt.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",vi.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",He.appendChild(Zt).appendChild(vi);var so=t.getComputedStyle(vi);Fe=so.top!=="1%",ai=Ie(so.marginLeft)===12,vi.style.right="60%",at=Ie(so.right)===36,We=Ie(so.width)===36,vi.style.position="absolute",nt=Ie(vi.offsetWidth/3)===12,He.removeChild(Zt),vi=null}}function Ie(so){return Math.round(parseFloat(so))}var Fe,We,nt,at,ft,ai,Zt=g.createElement("div"),vi=g.createElement("div");vi.style&&(vi.style.backgroundClip="content-box",vi.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle=vi.style.backgroundClip==="content-box",T.extend(m,{boxSizingReliable:function(){return ge(),We},pixelBoxStyles:function(){return ge(),at},pixelPosition:function(){return ge(),Fe},reliableMarginLeft:function(){return ge(),ai},scrollboxSize:function(){return ge(),nt},reliableTrDimensions:function(){var so,To,Hi,Jo;return ft==null&&(so=g.createElement("table"),To=g.createElement("tr"),Hi=g.createElement("div"),so.style.cssText="position:absolute;left:-11111px;border-collapse:separate",To.style.cssText="box-sizing:content-box;border:1px solid",To.style.height="1px",Hi.style.height="9px",Hi.style.display="block",He.appendChild(so).appendChild(To).appendChild(Hi),Jo=t.getComputedStyle(To),ft=parseInt(Jo.height,10)+parseInt(Jo.borderTopWidth,10)+parseInt(Jo.borderBottomWidth,10)===To.offsetHeight,He.removeChild(so)),ft}}))})();function Eo(ge,Ie,Fe){var We,nt,at,ft,ai=es.test(Ie),Zt=ge.style;return Fe=Fe||tu(ge),Fe&&(ft=Fe.getPropertyValue(Ie)||Fe[Ie],ai&&ft&&(ft=ft.replace(R,"$1")||void 0),ft===""&&!Ye(ge)&&(ft=T.style(ge,Ie)),!m.pixelBoxStyles()&&Sa.test(ft)&&qi.test(Ie)&&(We=Zt.width,nt=Zt.minWidth,at=Zt.maxWidth,Zt.minWidth=Zt.maxWidth=Zt.width=ft,ft=Fe.width,Zt.width=We,Zt.minWidth=nt,Zt.maxWidth=at)),ft!==void 0?ft+"":ft}function Ct(ge,Ie){return{get:function(){if(ge()){delete this.get;return}return(this.get=Ie).apply(this,arguments)}}}var ti=["Webkit","Moz","ms"],hi=g.createElement("div").style,ki={};function eo(ge){for(var Ie=ge[0].toUpperCase()+ge.slice(1),Fe=ti.length;Fe--;)if(ge=ti[Fe]+Ie,ge in hi)return ge}function Qo(ge){var Ie=T.cssProps[ge]||ki[ge];return Ie||(ge in hi?ge:ki[ge]=eo(ge)||ge)}var dr=/^(none|table(?!-c[ea]).+)/,sa={position:"absolute",visibility:"hidden",display:"block"},Vn={letterSpacing:"0",fontWeight:"400"};function Cn(ge,Ie,Fe){var We=Ve.exec(Ie);return We?Math.max(0,We[2]-(Fe||0))+(We[3]||"px"):Ie}function fa(ge,Ie,Fe,We,nt,at){var ft=Ie==="width"?1:0,ai=0,Zt=0,vi=0;if(Fe===(We?"border":"content"))return 0;for(;ft<4;ft+=2)Fe==="margin"&&(vi+=T.css(ge,Fe+ze[ft],!0,nt)),We?(Fe==="content"&&(Zt-=T.css(ge,"padding"+ze[ft],!0,nt)),Fe!=="margin"&&(Zt-=T.css(ge,"border"+ze[ft]+"Width",!0,nt))):(Zt+=T.css(ge,"padding"+ze[ft],!0,nt),Fe!=="padding"?Zt+=T.css(ge,"border"+ze[ft]+"Width",!0,nt):ai+=T.css(ge,"border"+ze[ft]+"Width",!0,nt));return!We&&at>=0&&(Zt+=Math.max(0,Math.ceil(ge["offset"+Ie[0].toUpperCase()+Ie.slice(1)]-at-Zt-ai-.5))||0),Zt+vi}function Ac(ge,Ie,Fe){var We=tu(ge),nt=!m.boxSizingReliable()||Fe,at=nt&&T.css(ge,"boxSizing",!1,We)==="border-box",ft=at,ai=Eo(ge,Ie,We),Zt="offset"+Ie[0].toUpperCase()+Ie.slice(1);if(Sa.test(ai)){if(!Fe)return ai;ai="auto"}return(!m.boxSizingReliable()&&at||!m.reliableTrDimensions()&&I(ge,"tr")||ai==="auto"||!parseFloat(ai)&&T.css(ge,"display",!1,We)==="inline")&&ge.getClientRects().length&&(at=T.css(ge,"boxSizing",!1,We)==="border-box",ft=Zt in ge,ft&&(ai=ge[Zt])),ai=parseFloat(ai)||0,ai+fa(ge,Ie,Fe||(at?"border":"content"),ft,We,ai)+"px"}T.extend({cssHooks:{opacity:{get:function(ge,Ie){if(Ie){var Fe=Eo(ge,"opacity");return Fe===""?"1":Fe}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(ge,Ie,Fe,We){if(!(!ge||ge.nodeType===3||ge.nodeType===8||!ge.style)){var nt,at,ft,ai=de(Ie),Zt=es.test(Ie),vi=ge.style;if(Zt||(Ie=Qo(ai)),ft=T.cssHooks[Ie]||T.cssHooks[ai],Fe!==void 0){if(at=typeof Fe,at==="string"&&(nt=Ve.exec(Fe))&&nt[1]&&(Fe=Xe(ge,Ie,nt),at="number"),Fe==null||Fe!==Fe)return;at==="number"&&!Zt&&(Fe+=nt&&nt[3]||(T.cssNumber[ai]?"":"px")),!m.clearCloneStyle&&Fe===""&&Ie.indexOf("background")===0&&(vi[Ie]="inherit"),(!ft||!("set"in ft)||(Fe=ft.set(ge,Fe,We))!==void 0)&&(Zt?vi.setProperty(Ie,Fe):vi[Ie]=Fe)}else return ft&&"get"in ft&&(nt=ft.get(ge,!1,We))!==void 0?nt:vi[Ie]}},css:function(ge,Ie,Fe,We){var nt,at,ft,ai=de(Ie),Zt=es.test(Ie);return Zt||(Ie=Qo(ai)),ft=T.cssHooks[Ie]||T.cssHooks[ai],ft&&"get"in ft&&(nt=ft.get(ge,!0,Fe)),nt===void 0&&(nt=Eo(ge,Ie,We)),nt==="normal"&&Ie in Vn&&(nt=Vn[Ie]),Fe===""||Fe?(at=parseFloat(nt),Fe===!0||isFinite(at)?at||0:nt):nt}}),T.each(["height","width"],function(ge,Ie){T.cssHooks[Ie]={get:function(Fe,We,nt){if(We)return dr.test(T.css(Fe,"display"))&&(!Fe.getClientRects().length||!Fe.getBoundingClientRect().width)?Mi(Fe,sa,function(){return Ac(Fe,Ie,nt)}):Ac(Fe,Ie,nt)},set:function(Fe,We,nt){var at,ft=tu(Fe),ai=!m.scrollboxSize()&&ft.position==="absolute",Zt=ai||nt,vi=Zt&&T.css(Fe,"boxSizing",!1,ft)==="border-box",so=nt?fa(Fe,Ie,nt,vi,ft):0;return vi&&ai&&(so-=Math.ceil(Fe["offset"+Ie[0].toUpperCase()+Ie.slice(1)]-parseFloat(ft[Ie])-fa(Fe,Ie,"border",!1,ft)-.5)),so&&(at=Ve.exec(We))&&(at[3]||"px")!=="px"&&(Fe.style[Ie]=We,We=T.css(Fe,Ie)),Cn(Fe,We,so)}}}),T.cssHooks.marginLeft=Ct(m.reliableMarginLeft,function(ge,Ie){if(Ie)return(parseFloat(Eo(ge,"marginLeft"))||ge.getBoundingClientRect().left-Mi(ge,{marginLeft:0},function(){return ge.getBoundingClientRect().left}))+"px"}),T.each({margin:"",padding:"",border:"Width"},function(ge,Ie){T.cssHooks[ge+Ie]={expand:function(Fe){for(var We=0,nt={},at=typeof Fe=="string"?Fe.split(" "):[Fe];We<4;We++)nt[ge+ze[We]+Ie]=at[We]||at[We-2]||at[0];return nt}},ge!=="margin"&&(T.cssHooks[ge+Ie].set=Cn)}),T.fn.extend({css:function(ge,Ie){return re(this,function(Fe,We,nt){var at,ft,ai={},Zt=0;if(Array.isArray(We)){for(at=tu(Fe),ft=We.length;Zt<ft;Zt++)ai[We[Zt]]=T.css(Fe,We[Zt],!1,at);return ai}return nt!==void 0?T.style(Fe,We,nt):T.css(Fe,We)},ge,Ie,arguments.length>1)}});function Uo(ge,Ie,Fe,We,nt){return new Uo.prototype.init(ge,Ie,Fe,We,nt)}T.Tween=Uo,Uo.prototype={constructor:Uo,init:function(ge,Ie,Fe,We,nt,at){this.elem=ge,this.prop=Fe,this.easing=nt||T.easing._default,this.options=Ie,this.start=this.now=this.cur(),this.end=We,this.unit=at||(T.cssNumber[Fe]?"":"px")},cur:function(){var ge=Uo.propHooks[this.prop];return ge&&ge.get?ge.get(this):Uo.propHooks._default.get(this)},run:function(ge){var Ie,Fe=Uo.propHooks[this.prop];return this.options.duration?this.pos=Ie=T.easing[this.easing](ge,this.options.duration*ge,0,1,this.options.duration):this.pos=Ie=ge,this.now=(this.end-this.start)*Ie+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),Fe&&Fe.set?Fe.set(this):Uo.propHooks._default.set(this),this}},Uo.prototype.init.prototype=Uo.prototype,Uo.propHooks={_default:{get:function(ge){var Ie;return ge.elem.nodeType!==1||ge.elem[ge.prop]!=null&&ge.elem.style[ge.prop]==null?ge.elem[ge.prop]:(Ie=T.css(ge.elem,ge.prop,""),!Ie||Ie==="auto"?0:Ie)},set:function(ge){T.fx.step[ge.prop]?T.fx.step[ge.prop](ge):ge.elem.nodeType===1&&(T.cssHooks[ge.prop]||ge.elem.style[Qo(ge.prop)]!=null)?T.style(ge.elem,ge.prop,ge.now+ge.unit):ge.elem[ge.prop]=ge.now}}},Uo.propHooks.scrollTop=Uo.propHooks.scrollLeft={set:function(ge){ge.elem.nodeType&&ge.elem.parentNode&&(ge.elem[ge.prop]=ge.now)}},T.easing={linear:function(ge){return ge},swing:function(ge){return .5-Math.cos(ge*Math.PI)/2},_default:"swing"},T.fx=Uo.prototype.init,T.fx.step={};var $t,ui,fi=/^(?:toggle|show|hide)$/,to=/queueHooks$/;function no(){ui&&(g.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(no):t.setTimeout(no,T.fx.interval),T.fx.tick())}function Lr(){return t.setTimeout(function(){$t=void 0}),$t=Date.now()}function Pa(ge,Ie){var Fe,We=0,nt={height:ge};for(Ie=Ie?1:0;We<4;We+=2-Ie)Fe=ze[We],nt["margin"+Fe]=nt["padding"+Fe]=ge;return Ie&&(nt.opacity=nt.width=ge),nt}function Ss(ge,Ie,Fe){for(var We,nt=(dn.tweeners[Ie]||[]).concat(dn.tweeners["*"]),at=0,ft=nt.length;at<ft;at++)if(We=nt[at].call(Fe,Ie,ge))return We}function Ms(ge,Ie,Fe){var We,nt,at,ft,ai,Zt,vi,so,To="width"in Ie||"height"in Ie,Hi=this,Jo={},Us=ge.style,Nd=ge.nodeType&&Be(ge),nc=Le.get(ge,"fxshow");Fe.queue||(ft=T._queueHooks(ge,"fx"),ft.unqueued==null&&(ft.unqueued=0,ai=ft.empty.fire,ft.empty.fire=function(){ft.unqueued||ai()}),ft.unqueued++,Hi.always(function(){Hi.always(function(){ft.unqueued--,T.queue(ge,"fx").length||ft.empty.fire()})}));for(We in Ie)if(nt=Ie[We],fi.test(nt)){if(delete Ie[We],at=at||nt==="toggle",nt===(Nd?"hide":"show"))if(nt==="show"&&nc&&nc[We]!==void 0)Nd=!0;else continue;Jo[We]=nc&&nc[We]||T.style(ge,We)}if(Zt=!T.isEmptyObject(Ie),!(!Zt&&T.isEmptyObject(Jo))){To&&ge.nodeType===1&&(Fe.overflow=[Us.overflow,Us.overflowX,Us.overflowY],vi=nc&&nc.display,vi==null&&(vi=Le.get(ge,"display")),so=T.css(ge,"display"),so==="none"&&(vi?so=vi:(pt([ge],!0),vi=ge.style.display||vi,so=T.css(ge,"display"),pt([ge]))),(so==="inline"||so==="inline-block"&&vi!=null)&&T.css(ge,"float")==="none"&&(Zt||(Hi.done(function(){Us.display=vi}),vi==null&&(so=Us.display,vi=so==="none"?"":so)),Us.display="inline-block")),Fe.overflow&&(Us.overflow="hidden",Hi.always(function(){Us.overflow=Fe.overflow[0],Us.overflowX=Fe.overflow[1],Us.overflowY=Fe.overflow[2]})),Zt=!1;for(We in Jo)Zt||(nc?"hidden"in nc&&(Nd=nc.hidden):nc=Le.access(ge,"fxshow",{display:vi}),at&&(nc.hidden=!Nd),Nd&&pt([ge],!0),Hi.done(function(){Nd||pt([ge]),Le.remove(ge,"fxshow");for(We in Jo)T.style(ge,We,Jo[We])})),Zt=Ss(Nd?nc[We]:0,We,Hi),We in nc||(nc[We]=Zt.start,Nd&&(Zt.end=Zt.start,Zt.start=0))}}function zr(ge,Ie){var Fe,We,nt,at,ft;for(Fe in ge)if(We=de(Fe),nt=Ie[We],at=ge[Fe],Array.isArray(at)&&(nt=at[1],at=ge[Fe]=at[0]),Fe!==We&&(ge[We]=at,delete ge[Fe]),ft=T.cssHooks[We],ft&&"expand"in ft){at=ft.expand(at),delete ge[We];for(Fe in at)Fe in ge||(ge[Fe]=at[Fe],Ie[Fe]=nt)}else Ie[We]=nt}function dn(ge,Ie,Fe){var We,nt,at=0,ft=dn.prefilters.length,ai=T.Deferred().always(function(){delete Zt.elem}),Zt=function(){if(nt)return!1;for(var To=$t||Lr(),Hi=Math.max(0,vi.startTime+vi.duration-To),Jo=Hi/vi.duration||0,Us=1-Jo,Nd=0,nc=vi.tweens.length;Nd<nc;Nd++)vi.tweens[Nd].run(Us);return ai.notifyWith(ge,[vi,Us,Hi]),Us<1&&nc?Hi:(nc||ai.notifyWith(ge,[vi,1,0]),ai.resolveWith(ge,[vi]),!1)},vi=ai.promise({elem:ge,props:T.extend({},Ie),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},Fe),originalProperties:Ie,originalOptions:Fe,startTime:$t||Lr(),duration:Fe.duration,tweens:[],createTween:function(To,Hi){var Jo=T.Tween(ge,vi.opts,To,Hi,vi.opts.specialEasing[To]||vi.opts.easing);return vi.tweens.push(Jo),Jo},stop:function(To){var Hi=0,Jo=To?vi.tweens.length:0;if(nt)return this;for(nt=!0;Hi<Jo;Hi++)vi.tweens[Hi].run(1);return To?(ai.notifyWith(ge,[vi,1,0]),ai.resolveWith(ge,[vi,To])):ai.rejectWith(ge,[vi,To]),this}}),so=vi.props;for(zr(so,vi.opts.specialEasing);at<ft;at++)if(We=dn.prefilters[at].call(vi,ge,so,vi.opts),We)return h(We.stop)&&(T._queueHooks(vi.elem,vi.opts.queue).stop=We.stop.bind(We)),We;return T.map(so,Ss,vi),h(vi.opts.start)&&vi.opts.start.call(ge,vi),vi.progress(vi.opts.progress).done(vi.opts.done,vi.opts.complete).fail(vi.opts.fail).always(vi.opts.always),T.fx.timer(T.extend(Zt,{elem:ge,anim:vi,queue:vi.opts.queue})),vi}T.Animation=T.extend(dn,{tweeners:{"*":[function(ge,Ie){var Fe=this.createTween(ge,Ie);return Xe(Fe.elem,ge,Ve.exec(Ie),Fe),Fe}]},tweener:function(ge,Ie){h(ge)?(Ie=ge,ge=["*"]):ge=ge.match(te);for(var Fe,We=0,nt=ge.length;We<nt;We++)Fe=ge[We],dn.tweeners[Fe]=dn.tweeners[Fe]||[],dn.tweeners[Fe].unshift(Ie)},prefilters:[Ms],prefilter:function(ge,Ie){Ie?dn.prefilters.unshift(ge):dn.prefilters.push(ge)}}),T.speed=function(ge,Ie,Fe){var We=ge&&typeof ge=="object"?T.extend({},ge):{complete:Fe||!Fe&&Ie||h(ge)&&ge,duration:ge,easing:Fe&&Ie||Ie&&!h(Ie)&&Ie};return T.fx.off?We.duration=0:typeof We.duration!="number"&&(We.duration in T.fx.speeds?We.duration=T.fx.speeds[We.duration]:We.duration=T.fx.speeds._default),(We.queue==null||We.queue===!0)&&(We.queue="fx"),We.old=We.complete,We.complete=function(){h(We.old)&&We.old.call(this),We.queue&&T.dequeue(this,We.queue)},We},T.fn.extend({fadeTo:function(ge,Ie,Fe,We){return this.filter(Be).css("opacity",0).show().end().animate({opacity:Ie},ge,Fe,We)},animate:function(ge,Ie,Fe,We){var nt=T.isEmptyObject(ge),at=T.speed(Ie,Fe,We),ft=function(){var ai=dn(this,T.extend({},ge),at);(nt||Le.get(this,"finish"))&&ai.stop(!0)};return ft.finish=ft,nt||at.queue===!1?this.each(ft):this.queue(at.queue,ft)},stop:function(ge,Ie,Fe){var We=function(nt){var at=nt.stop;delete nt.stop,at(Fe)};return typeof ge!="string"&&(Fe=Ie,Ie=ge,ge=void 0),Ie&&this.queue(ge||"fx",[]),this.each(function(){var nt=!0,at=ge!=null&&ge+"queueHooks",ft=T.timers,ai=Le.get(this);if(at)ai[at]&&ai[at].stop&&We(ai[at]);else for(at in ai)ai[at]&&ai[at].stop&&to.test(at)&&We(ai[at]);for(at=ft.length;at--;)ft[at].elem===this&&(ge==null||ft[at].queue===ge)&&(ft[at].anim.stop(Fe),nt=!1,ft.splice(at,1));(nt||!Fe)&&T.dequeue(this,ge)})},finish:function(ge){return ge!==!1&&(ge=ge||"fx"),this.each(function(){var Ie,Fe=Le.get(this),We=Fe[ge+"queue"],nt=Fe[ge+"queueHooks"],at=T.timers,ft=We?We.length:0;for(Fe.finish=!0,T.queue(this,ge,[]),nt&&nt.stop&&nt.stop.call(this,!0),Ie=at.length;Ie--;)at[Ie].elem===this&&at[Ie].queue===ge&&(at[Ie].anim.stop(!0),at.splice(Ie,1));for(Ie=0;Ie<ft;Ie++)We[Ie]&&We[Ie].finish&&We[Ie].finish.call(this);delete Fe.finish})}}),T.each(["toggle","show","hide"],function(ge,Ie){var Fe=T.fn[Ie];T.fn[Ie]=function(We,nt,at){return We==null||typeof We=="boolean"?Fe.apply(this,arguments):this.animate(Pa(Ie,!0),We,nt,at)}}),T.each({slideDown:Pa("show"),slideUp:Pa("hide"),slideToggle:Pa("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(ge,Ie){T.fn[ge]=function(Fe,We,nt){return this.animate(Ie,Fe,We,nt)}}),T.timers=[],T.fx.tick=function(){var ge,Ie=0,Fe=T.timers;for($t=Date.now();Ie<Fe.length;Ie++)ge=Fe[Ie],!ge()&&Fe[Ie]===ge&&Fe.splice(Ie--,1);Fe.length||T.fx.stop(),$t=void 0},T.fx.timer=function(ge){T.timers.push(ge),T.fx.start()},T.fx.interval=13,T.fx.start=function(){ui||(ui=!0,no())},T.fx.stop=function(){ui=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(ge,Ie){return ge=T.fx&&T.fx.speeds[ge]||ge,Ie=Ie||"fx",this.queue(Ie,function(Fe,We){var nt=t.setTimeout(Fe,ge);We.stop=function(){t.clearTimeout(nt)}})},(function(){var ge=g.createElement("input"),Ie=g.createElement("select"),Fe=Ie.appendChild(g.createElement("option"));ge.type="checkbox",m.checkOn=ge.value!=="",m.optSelected=Fe.selected,ge=g.createElement("input"),ge.value="t",ge.type="radio",m.radioValue=ge.value==="t"})();var Kp,a0=T.expr.attrHandle;T.fn.extend({attr:function(ge,Ie){return re(this,T.attr,ge,Ie,arguments.length>1)},removeAttr:function(ge){return this.each(function(){T.removeAttr(this,ge)})}}),T.extend({attr:function(ge,Ie,Fe){var We,nt,at=ge.nodeType;if(!(at===3||at===8||at===2)){if(typeof ge.getAttribute>"u")return T.prop(ge,Ie,Fe);if((at!==1||!T.isXMLDoc(ge))&&(nt=T.attrHooks[Ie.toLowerCase()]||(T.expr.match.bool.test(Ie)?Kp:void 0)),Fe!==void 0){if(Fe===null){T.removeAttr(ge,Ie);return}return nt&&"set"in nt&&(We=nt.set(ge,Fe,Ie))!==void 0?We:(ge.setAttribute(Ie,Fe+""),Fe)}return nt&&"get"in nt&&(We=nt.get(ge,Ie))!==null?We:(We=T.find.attr(ge,Ie),We==null?void 0:We)}},attrHooks:{type:{set:function(ge,Ie){if(!m.radioValue&&Ie==="radio"&&I(ge,"input")){var Fe=ge.value;return ge.setAttribute("type",Ie),Fe&&(ge.value=Fe),Ie}}}},removeAttr:function(ge,Ie){var Fe,We=0,nt=Ie&&Ie.match(te);if(nt&&ge.nodeType===1)for(;Fe=nt[We++];)ge.removeAttribute(Fe)}}),Kp={set:function(ge,Ie,Fe){return Ie===!1?T.removeAttr(ge,Fe):ge.setAttribute(Fe,Fe),Fe}},T.each(T.expr.match.bool.source.match(/\w+/g),function(ge,Ie){var Fe=a0[Ie]||T.find.attr;a0[Ie]=function(We,nt,at){var ft,ai,Zt=nt.toLowerCase();return at||(ai=a0[Zt],a0[Zt]=ft,ft=Fe(We,nt,at)!=null?Zt:null,a0[Zt]=ai),ft}});var op=/^(?:input|select|textarea|button)$/i,xp=/^(?:a|area)$/i;T.fn.extend({prop:function(ge,Ie){return re(this,T.prop,ge,Ie,arguments.length>1)},removeProp:function(ge){return this.each(function(){delete this[T.propFix[ge]||ge]})}}),T.extend({prop:function(ge,Ie,Fe){var We,nt,at=ge.nodeType;if(!(at===3||at===8||at===2))return(at!==1||!T.isXMLDoc(ge))&&(Ie=T.propFix[Ie]||Ie,nt=T.propHooks[Ie]),Fe!==void 0?nt&&"set"in nt&&(We=nt.set(ge,Fe,Ie))!==void 0?We:ge[Ie]=Fe:nt&&"get"in nt&&(We=nt.get(ge,Ie))!==null?We:ge[Ie]},propHooks:{tabIndex:{get:function(ge){var Ie=T.find.attr(ge,"tabindex");return Ie?parseInt(Ie,10):op.test(ge.nodeName)||xp.test(ge.nodeName)&&ge.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(T.propHooks.selected={get:function(ge){var Ie=ge.parentNode;return Ie&&Ie.parentNode&&Ie.parentNode.selectedIndex,null},set:function(ge){var Ie=ge.parentNode;Ie&&(Ie.selectedIndex,Ie.parentNode&&Ie.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this});function Q1(ge){var Ie=ge.match(te)||[];return Ie.join(" ")}function Zp(ge){return ge.getAttribute&&ge.getAttribute("class")||""}function Ma(ge){return Array.isArray(ge)?ge:typeof ge=="string"?ge.match(te)||[]:[]}T.fn.extend({addClass:function(ge){var Ie,Fe,We,nt,at,ft;return h(ge)?this.each(function(ai){T(this).addClass(ge.call(this,ai,Zp(this)))}):(Ie=Ma(ge),Ie.length?this.each(function(){if(We=Zp(this),Fe=this.nodeType===1&&" "+Q1(We)+" ",Fe){for(at=0;at<Ie.length;at++)nt=Ie[at],Fe.indexOf(" "+nt+" ")<0&&(Fe+=nt+" ");ft=Q1(Fe),We!==ft&&this.setAttribute("class",ft)}}):this)},removeClass:function(ge){var Ie,Fe,We,nt,at,ft;return h(ge)?this.each(function(ai){T(this).removeClass(ge.call(this,ai,Zp(this)))}):arguments.length?(Ie=Ma(ge),Ie.length?this.each(function(){if(We=Zp(this),Fe=this.nodeType===1&&" "+Q1(We)+" ",Fe){for(at=0;at<Ie.length;at++)for(nt=Ie[at];Fe.indexOf(" "+nt+" ")>-1;)Fe=Fe.replace(" "+nt+" "," ");ft=Q1(Fe),We!==ft&&this.setAttribute("class",ft)}}):this):this.attr("class","")},toggleClass:function(ge,Ie){var Fe,We,nt,at,ft=typeof ge,ai=ft==="string"||Array.isArray(ge);return h(ge)?this.each(function(Zt){T(this).toggleClass(ge.call(this,Zt,Zp(this),Ie),Ie)}):typeof Ie=="boolean"&&ai?Ie?this.addClass(ge):this.removeClass(ge):(Fe=Ma(ge),this.each(function(){if(ai)for(at=T(this),nt=0;nt<Fe.length;nt++)We=Fe[nt],at.hasClass(We)?at.removeClass(We):at.addClass(We);else(ge===void 0||ft==="boolean")&&(We=Zp(this),We&&Le.set(this,"__className__",We),this.setAttribute&&this.setAttribute("class",We||ge===!1?"":Le.get(this,"__className__")||""))}))},hasClass:function(ge){var Ie,Fe,We=0;for(Ie=" "+ge+" ";Fe=this[We++];)if(Fe.nodeType===1&&(" "+Q1(Zp(Fe))+" ").indexOf(Ie)>-1)return!0;return!1}});var Ag=/\r/g;T.fn.extend({val:function(ge){var Ie,Fe,We,nt=this[0];return arguments.length?(We=h(ge),this.each(function(at){var ft;this.nodeType===1&&(We?ft=ge.call(this,at,T(this).val()):ft=ge,ft==null?ft="":typeof ft=="number"?ft+="":Array.isArray(ft)&&(ft=T.map(ft,function(ai){return ai==null?"":ai+""})),Ie=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()],(!Ie||!("set"in Ie)||Ie.set(this,ft,"value")===void 0)&&(this.value=ft))})):nt?(Ie=T.valHooks[nt.type]||T.valHooks[nt.nodeName.toLowerCase()],Ie&&"get"in Ie&&(Fe=Ie.get(nt,"value"))!==void 0?Fe:(Fe=nt.value,typeof Fe=="string"?Fe.replace(Ag,""):Fe==null?"":Fe)):void 0}}),T.extend({valHooks:{option:{get:function(ge){var Ie=T.find.attr(ge,"value");return Ie!=null?Ie:Q1(T.text(ge))}},select:{get:function(ge){var Ie,Fe,We,nt=ge.options,at=ge.selectedIndex,ft=ge.type==="select-one",ai=ft?null:[],Zt=ft?at+1:nt.length;for(at<0?We=Zt:We=ft?at:0;We<Zt;We++)if(Fe=nt[We],(Fe.selected||We===at)&&!Fe.disabled&&(!Fe.parentNode.disabled||!I(Fe.parentNode,"optgroup"))){if(Ie=T(Fe).val(),ft)return Ie;ai.push(Ie)}return ai},set:function(ge,Ie){for(var Fe,We,nt=ge.options,at=T.makeArray(Ie),ft=nt.length;ft--;)We=nt[ft],(We.selected=T.inArray(T.valHooks.option.get(We),at)>-1)&&(Fe=!0);return Fe||(ge.selectedIndex=-1),at}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(ge,Ie){if(Array.isArray(Ie))return ge.checked=T.inArray(T(ge).val(),Ie)>-1}},m.checkOn||(T.valHooks[this].get=function(ge){return ge.getAttribute("value")===null?"on":ge.value})});var d1=t.location,T2={guid:Date.now()},sS=/\?/;T.parseXML=function(ge){var Ie,Fe;if(!ge||typeof ge!="string")return null;try{Ie=new t.DOMParser().parseFromString(ge,"text/xml")}catch{}return Fe=Ie&&Ie.getElementsByTagName("parsererror")[0],(!Ie||Fe)&&T.error("Invalid XML: "+(Fe?T.map(Fe.childNodes,function(We){return We.textContent}).join(`
`):ge)),Ie};var a3=/^(?:focusinfocus|focusoutblur)$/,Ng=function(ge){ge.stopPropagation()};T.extend(T.event,{trigger:function(ge,Ie,Fe,We){var nt,at,ft,ai,Zt,vi,so,To,Hi=[Fe||g],Jo=d.call(ge,"type")?ge.type:ge,Us=d.call(ge,"namespace")?ge.namespace.split("."):[];if(at=To=ft=Fe=Fe||g,!(Fe.nodeType===3||Fe.nodeType===8)&&!a3.test(Jo+T.event.triggered)&&(Jo.indexOf(".")>-1&&(Us=Jo.split("."),Jo=Us.shift(),Us.sort()),Zt=Jo.indexOf(":")<0&&"on"+Jo,ge=ge[T.expando]?ge:new T.Event(Jo,typeof ge=="object"&&ge),ge.isTrigger=We?2:3,ge.namespace=Us.join("."),ge.rnamespace=ge.namespace?new RegExp("(^|\\.)"+Us.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,ge.result=void 0,ge.target||(ge.target=Fe),Ie=Ie==null?[ge]:T.makeArray(Ie,[ge]),so=T.event.special[Jo]||{},!(!We&&so.trigger&&so.trigger.apply(Fe,Ie)===!1))){if(!We&&!so.noBubble&&!f(Fe)){for(ai=so.delegateType||Jo,a3.test(ai+Jo)||(at=at.parentNode);at;at=at.parentNode)Hi.push(at),ft=at;ft===(Fe.ownerDocument||g)&&Hi.push(ft.defaultView||ft.parentWindow||t)}for(nt=0;(at=Hi[nt++])&&!ge.isPropagationStopped();)To=at,ge.type=nt>1?ai:so.bindType||Jo,vi=(Le.get(at,"events")||Object.create(null))[ge.type]&&Le.get(at,"handle"),vi&&vi.apply(at,Ie),vi=Zt&&at[Zt],vi&&vi.apply&&fe(at)&&(ge.result=vi.apply(at,Ie),ge.result===!1&&ge.preventDefault());return ge.type=Jo,!We&&!ge.isDefaultPrevented()&&(!so._default||so._default.apply(Hi.pop(),Ie)===!1)&&fe(Fe)&&Zt&&h(Fe[Jo])&&!f(Fe)&&(ft=Fe[Zt],ft&&(Fe[Zt]=null),T.event.triggered=Jo,ge.isPropagationStopped()&&To.addEventListener(Jo,Ng),Fe[Jo](),ge.isPropagationStopped()&&To.removeEventListener(Jo,Ng),T.event.triggered=void 0,ft&&(Fe[Zt]=ft)),ge.result}},simulate:function(ge,Ie,Fe){var We=T.extend(new T.Event,Fe,{type:ge,isSimulated:!0});T.event.trigger(We,null,Ie)}}),T.fn.extend({trigger:function(ge,Ie){return this.each(function(){T.event.trigger(ge,Ie,this)})},triggerHandler:function(ge,Ie){var Fe=this[0];if(Fe)return T.event.trigger(ge,Ie,Fe,!0)}});var S2=/\[\]$/,Hn=/\r?\n/g,Qx=/^(?:submit|button|image|reset|file)$/i,Kx=/^(?:input|select|textarea|keygen)/i;function C6(ge,Ie,Fe,We){var nt;if(Array.isArray(Ie))T.each(Ie,function(at,ft){Fe||S2.test(ge)?We(ge,ft):C6(ge+"["+(typeof ft=="object"&&ft!=null?at:"")+"]",ft,Fe,We)});else if(!Fe&&w(Ie)==="object")for(nt in Ie)C6(ge+"["+nt+"]",Ie[nt],Fe,We);else We(ge,Ie)}T.param=function(ge,Ie){var Fe,We=[],nt=function(at,ft){var ai=h(ft)?ft():ft;We[We.length]=encodeURIComponent(at)+"="+encodeURIComponent(ai==null?"":ai)};if(ge==null)return"";if(Array.isArray(ge)||ge.jquery&&!T.isPlainObject(ge))T.each(ge,function(){nt(this.name,this.value)});else for(Fe in ge)C6(Fe,ge[Fe],Ie,nt);return We.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var ge=T.prop(this,"elements");return ge?T.makeArray(ge):this}).filter(function(){var ge=this.type;return this.name&&!T(this).is(":disabled")&&Kx.test(this.nodeName)&&!Qx.test(ge)&&(this.checked||!ot.test(ge))}).map(function(ge,Ie){var Fe=T(this).val();return Fe==null?null:Array.isArray(Fe)?T.map(Fe,function(We){return{name:Ie.name,value:We.replace(Hn,`\r
`)}}):{name:Ie.name,value:Fe.replace(Hn,`\r
`)}}).get()}});var Es=/%20/g,e8=/#.*$/,rut=/([?&])_=[^&]*/,YF=/^(.*?):[ \t]*([^\r\n]*)$/mg,nut=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,aut=/^(?:GET|HEAD)$/,t8=/^\/\//,G4e={},l8e={},Y4e="*/".concat("*"),Hce=g.createElement("a");Hce.href=d1.href;function c8e(ge){return function(Ie,Fe){typeof Ie!="string"&&(Fe=Ie,Ie="*");var We,nt=0,at=Ie.toLowerCase().match(te)||[];if(h(Fe))for(;We=at[nt++];)We[0]==="+"?(We=We.slice(1)||"*",(ge[We]=ge[We]||[]).unshift(Fe)):(ge[We]=ge[We]||[]).push(Fe)}}function d8e(ge,Ie,Fe,We){var nt={},at=ge===l8e;function ft(ai){var Zt;return nt[ai]=!0,T.each(ge[ai]||[],function(vi,so){var To=so(Ie,Fe,We);if(typeof To=="string"&&!at&&!nt[To])return Ie.dataTypes.unshift(To),ft(To),!1;if(at)return!(Zt=To)}),Zt}return ft(Ie.dataTypes[0])||!nt["*"]&&ft("*")}function W4e(ge,Ie){var Fe,We,nt=T.ajaxSettings.flatOptions||{};for(Fe in Ie)Ie[Fe]!==void 0&&((nt[Fe]?ge:We||(We={}))[Fe]=Ie[Fe]);return We&&T.extend(!0,ge,We),ge}function Q4e(ge,Ie,Fe){for(var We,nt,at,ft,ai=ge.contents,Zt=ge.dataTypes;Zt[0]==="*";)Zt.shift(),We===void 0&&(We=ge.mimeType||Ie.getResponseHeader("Content-Type"));if(We){for(nt in ai)if(ai[nt]&&ai[nt].test(We)){Zt.unshift(nt);break}}if(Zt[0]in Fe)at=Zt[0];else{for(nt in Fe){if(!Zt[0]||ge.converters[nt+" "+Zt[0]]){at=nt;break}ft||(ft=nt)}at=at||ft}if(at)return at!==Zt[0]&&Zt.unshift(at),Fe[at]}function K4e(ge,Ie,Fe,We){var nt,at,ft,ai,Zt,vi={},so=ge.dataTypes.slice();if(so[1])for(ft in ge.converters)vi[ft.toLowerCase()]=ge.converters[ft];for(at=so.shift();at;)if(ge.responseFields[at]&&(Fe[ge.responseFields[at]]=Ie),!Zt&&We&&ge.dataFilter&&(Ie=ge.dataFilter(Ie,ge.dataType)),Zt=at,at=so.shift(),at){if(at==="*")at=Zt;else if(Zt!=="*"&&Zt!==at){if(ft=vi[Zt+" "+at]||vi["* "+at],!ft){for(nt in vi)if(ai=nt.split(" "),ai[1]===at&&(ft=vi[Zt+" "+ai[0]]||vi["* "+ai[0]],ft)){ft===!0?ft=vi[nt]:vi[nt]!==!0&&(at=ai[0],so.unshift(ai[1]));break}}if(ft!==!0)if(ft&&ge.throws)Ie=ft(Ie);else try{Ie=ft(Ie)}catch(To){return{state:"parsererror",error:ft?To:"No conversion from "+Zt+" to "+at}}}}return{state:"success",data:Ie}}T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:d1.href,type:"GET",isLocal:nut.test(d1.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Y4e,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(ge,Ie){return Ie?W4e(W4e(ge,T.ajaxSettings),Ie):W4e(T.ajaxSettings,ge)},ajaxPrefilter:c8e(G4e),ajaxTransport:c8e(l8e),ajax:function(ge,Ie){typeof ge=="object"&&(Ie=ge,ge=void 0),Ie=Ie||{};var Fe,We,nt,at,ft,ai,Zt,vi,so,To,Hi=T.ajaxSetup({},Ie),Jo=Hi.context||Hi,Us=Hi.context&&(Jo.nodeType||Jo.jquery)?T(Jo):T.event,Nd=T.Deferred(),nc=T.Callbacks("once memory"),Df=Hi.statusCode||{},M2={},i8={},o8="canceled",td={readyState:0,getResponseHeader:function(iu){var K1;if(Zt){if(!at)for(at={};K1=YF.exec(nt);)at[K1[1].toLowerCase()+" "]=(at[K1[1].toLowerCase()+" "]||[]).concat(K1[2]);K1=at[iu.toLowerCase()+" "]}return K1==null?null:K1.join(", ")},getAllResponseHeaders:function(){return Zt?nt:null},setRequestHeader:function(iu,K1){return Zt==null&&(iu=i8[iu.toLowerCase()]=i8[iu.toLowerCase()]||iu,M2[iu]=K1),this},overrideMimeType:function(iu){return Zt==null&&(Hi.mimeType=iu),this},statusCode:function(iu){var K1;if(iu)if(Zt)td.always(iu[td.status]);else for(K1 in iu)Df[K1]=[Df[K1],iu[K1]];return this},abort:function(iu){var K1=iu||o8;return Fe&&Fe.abort(K1),WF(0,K1),this}};if(Nd.promise(td),Hi.url=((ge||Hi.url||d1.href)+"").replace(t8,d1.protocol+"//"),Hi.type=Ie.method||Ie.type||Hi.method||Hi.type,Hi.dataTypes=(Hi.dataType||"*").toLowerCase().match(te)||[""],Hi.crossDomain==null){ai=g.createElement("a");try{ai.href=Hi.url,ai.href=ai.href,Hi.crossDomain=Hce.protocol+"//"+Hce.host!=ai.protocol+"//"+ai.host}catch{Hi.crossDomain=!0}}if(Hi.data&&Hi.processData&&typeof Hi.data!="string"&&(Hi.data=T.param(Hi.data,Hi.traditional)),d8e(G4e,Hi,Ie,td),Zt)return td;vi=T.event&&Hi.global,vi&&T.active++===0&&T.event.trigger("ajaxStart"),Hi.type=Hi.type.toUpperCase(),Hi.hasContent=!aut.test(Hi.type),We=Hi.url.replace(e8,""),Hi.hasContent?Hi.data&&Hi.processData&&(Hi.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(Hi.data=Hi.data.replace(Es,"+")):(To=Hi.url.slice(We.length),Hi.data&&(Hi.processData||typeof Hi.data=="string")&&(We+=(sS.test(We)?"&":"?")+Hi.data,delete Hi.data),Hi.cache===!1&&(We=We.replace(rut,"$1"),To=(sS.test(We)?"&":"?")+"_="+T2.guid+++To),Hi.url=We+To),Hi.ifModified&&(T.lastModified[We]&&td.setRequestHeader("If-Modified-Since",T.lastModified[We]),T.etag[We]&&td.setRequestHeader("If-None-Match",T.etag[We])),(Hi.data&&Hi.hasContent&&Hi.contentType!==!1||Ie.contentType)&&td.setRequestHeader("Content-Type",Hi.contentType),td.setRequestHeader("Accept",Hi.dataTypes[0]&&Hi.accepts[Hi.dataTypes[0]]?Hi.accepts[Hi.dataTypes[0]]+(Hi.dataTypes[0]!=="*"?", "+Y4e+"; q=0.01":""):Hi.accepts["*"]);for(so in Hi.headers)td.setRequestHeader(so,Hi.headers[so]);if(Hi.beforeSend&&(Hi.beforeSend.call(Jo,td,Hi)===!1||Zt))return td.abort();if(o8="abort",nc.add(Hi.complete),td.done(Hi.success),td.fail(Hi.error),Fe=d8e(l8e,Hi,Ie,td),!Fe)WF(-1,"No Transport");else{if(td.readyState=1,vi&&Us.trigger("ajaxSend",[td,Hi]),Zt)return td;Hi.async&&Hi.timeout>0&&(ft=t.setTimeout(function(){td.abort("timeout")},Hi.timeout));try{Zt=!1,Fe.send(M2,WF)}catch(iu){if(Zt)throw iu;WF(-1,iu)}}function WF(iu,K1,wie,J4e){var r8,Cie,n8,jR,l9,lS=K1;Zt||(Zt=!0,ft&&t.clearTimeout(ft),Fe=void 0,nt=J4e||"",td.readyState=iu>0?4:0,r8=iu>=200&&iu<300||iu===304,wie&&(jR=Q4e(Hi,td,wie)),!r8&&T.inArray("script",Hi.dataTypes)>-1&&T.inArray("json",Hi.dataTypes)<0&&(Hi.converters["text script"]=function(){}),jR=K4e(Hi,jR,td,r8),r8?(Hi.ifModified&&(l9=td.getResponseHeader("Last-Modified"),l9&&(T.lastModified[We]=l9),l9=td.getResponseHeader("etag"),l9&&(T.etag[We]=l9)),iu===204||Hi.type==="HEAD"?lS="nocontent":iu===304?lS="notmodified":(lS=jR.state,Cie=jR.data,n8=jR.error,r8=!n8)):(n8=lS,(iu||!lS)&&(lS="error",iu<0&&(iu=0))),td.status=iu,td.statusText=(K1||lS)+"",r8?Nd.resolveWith(Jo,[Cie,lS,td]):Nd.rejectWith(Jo,[td,lS,n8]),td.statusCode(Df),Df=void 0,vi&&Us.trigger(r8?"ajaxSuccess":"ajaxError",[td,Hi,r8?Cie:n8]),nc.fireWith(Jo,[td,lS]),vi&&(Us.trigger("ajaxComplete",[td,Hi]),--T.active||T.event.trigger("ajaxStop")))}return td},getJSON:function(ge,Ie,Fe){return T.get(ge,Ie,Fe,"json")},getScript:function(ge,Ie){return T.get(ge,void 0,Ie,"script")}}),T.each(["get","post"],function(ge,Ie){T[Ie]=function(Fe,We,nt,at){return h(We)&&(at=at||nt,nt=We,We=void 0),T.ajax(T.extend({url:Fe,type:Ie,dataType:at,data:We,success:nt},T.isPlainObject(Fe)&&Fe))}}),T.ajaxPrefilter(function(ge){var Ie;for(Ie in ge.headers)Ie.toLowerCase()==="content-type"&&(ge.contentType=ge.headers[Ie]||"")}),T._evalUrl=function(ge,Ie,Fe){return T.ajax({url:ge,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(We){T.globalEval(We,Ie,Fe)}})},T.fn.extend({wrapAll:function(ge){var Ie;return this[0]&&(h(ge)&&(ge=ge.call(this[0])),Ie=T(ge,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&Ie.insertBefore(this[0]),Ie.map(function(){for(var Fe=this;Fe.firstElementChild;)Fe=Fe.firstElementChild;return Fe}).append(this)),this},wrapInner:function(ge){return h(ge)?this.each(function(Ie){T(this).wrapInner(ge.call(this,Ie))}):this.each(function(){var Ie=T(this),Fe=Ie.contents();Fe.length?Fe.wrapAll(ge):Ie.append(ge)})},wrap:function(ge){var Ie=h(ge);return this.each(function(Fe){T(this).wrapAll(Ie?ge.call(this,Fe):ge)})},unwrap:function(ge){return this.parent(ge).not("body").each(function(){T(this).replaceWith(this.childNodes)}),this}}),T.expr.pseudos.hidden=function(ge){return!T.expr.pseudos.visible(ge)},T.expr.pseudos.visible=function(ge){return!!(ge.offsetWidth||ge.offsetHeight||ge.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Z4e={0:200,1223:204},bie=T.ajaxSettings.xhr();m.cors=!!bie&&"withCredentials"in bie,m.ajax=bie=!!bie,T.ajaxTransport(function(ge){var Ie,Fe;if(m.cors||bie&&!ge.crossDomain)return{send:function(We,nt){var at,ft=ge.xhr();if(ft.open(ge.type,ge.url,ge.async,ge.username,ge.password),ge.xhrFields)for(at in ge.xhrFields)ft[at]=ge.xhrFields[at];ge.mimeType&&ft.overrideMimeType&&ft.overrideMimeType(ge.mimeType),!ge.crossDomain&&!We["X-Requested-With"]&&(We["X-Requested-With"]="XMLHttpRequest");for(at in We)ft.setRequestHeader(at,We[at]);Ie=function(ai){return function(){Ie&&(Ie=Fe=ft.onload=ft.onerror=ft.onabort=ft.ontimeout=ft.onreadystatechange=null,ai==="abort"?ft.abort():ai==="error"?typeof ft.status!="number"?nt(0,"error"):nt(ft.status,ft.statusText):nt(Z4e[ft.status]||ft.status,ft.statusText,(ft.responseType||"text")!=="text"||typeof ft.responseText!="string"?{binary:ft.response}:{text:ft.responseText},ft.getAllResponseHeaders()))}},ft.onload=Ie(),Fe=ft.onerror=ft.ontimeout=Ie("error"),ft.onabort!==void 0?ft.onabort=Fe:ft.onreadystatechange=function(){ft.readyState===4&&t.setTimeout(function(){Ie&&Fe()})},Ie=Ie("abort");try{ft.send(ge.hasContent&&ge.data||null)}catch(ai){if(Ie)throw ai}},abort:function(){Ie&&Ie()}}}),T.ajaxPrefilter(function(ge){ge.crossDomain&&(ge.contents.script=!1)}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(ge){return T.globalEval(ge),ge}}}),T.ajaxPrefilter("script",function(ge){ge.cache===void 0&&(ge.cache=!1),ge.crossDomain&&(ge.type="GET")}),T.ajaxTransport("script",function(ge){if(ge.crossDomain||ge.scriptAttrs){var Ie,Fe;return{send:function(We,nt){Ie=T("<script>").attr(ge.scriptAttrs||{}).prop({charset:ge.scriptCharset,src:ge.url}).on("load error",Fe=function(at){Ie.remove(),Fe=null,at&&nt(at.type==="error"?404:200,at.type)}),g.head.appendChild(Ie[0])},abort:function(){Fe&&Fe()}}}});var ZQ=[],yie=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var ge=ZQ.pop()||T.expando+"_"+T2.guid++;return this[ge]=!0,ge}}),T.ajaxPrefilter("json jsonp",function(ge,Ie,Fe){var We,nt,at,ft=ge.jsonp!==!1&&(yie.test(ge.url)?"url":typeof ge.data=="string"&&(ge.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&yie.test(ge.data)&&"data");if(ft||ge.dataTypes[0]==="jsonp")return We=ge.jsonpCallback=h(ge.jsonpCallback)?ge.jsonpCallback():ge.jsonpCallback,ft?ge[ft]=ge[ft].replace(yie,"$1"+We):ge.jsonp!==!1&&(ge.url+=(sS.test(ge.url)?"&":"?")+ge.jsonp+"="+We),ge.converters["script json"]=function(){return at||T.error(We+" was not called"),at[0]},ge.dataTypes[0]="json",nt=t[We],t[We]=function(){at=arguments},Fe.always(function(){nt===void 0?T(t).removeProp(We):t[We]=nt,ge[We]&&(ge.jsonpCallback=Ie.jsonpCallback,ZQ.push(We)),at&&h(nt)&&nt(at[0]),at=nt=void 0}),"script"}),m.createHTMLDocument=(function(){var ge=g.implementation.createHTMLDocument("").body;return ge.innerHTML="<form></form><form></form>",ge.childNodes.length===2})(),T.parseHTML=function(ge,Ie,Fe){if(typeof ge!="string")return[];typeof Ie=="boolean"&&(Fe=Ie,Ie=!1);var We,nt,at;return Ie||(m.createHTMLDocument?(Ie=g.implementation.createHTMLDocument(""),We=Ie.createElement("base"),We.href=g.location.href,Ie.head.appendChild(We)):Ie=g),nt=V.exec(ge),at=!Fe&&[],nt?[Ie.createElement(nt[1])]:(nt=zt([ge],Ie,at),at&&at.length&&T(at).remove(),T.merge([],nt.childNodes))},T.fn.load=function(ge,Ie,Fe){var We,nt,at,ft=this,ai=ge.indexOf(" ");return ai>-1&&(We=Q1(ge.slice(ai)),ge=ge.slice(0,ai)),h(Ie)?(Fe=Ie,Ie=void 0):Ie&&typeof Ie=="object"&&(nt="POST"),ft.length>0&&T.ajax({url:ge,type:nt||"GET",dataType:"html",data:Ie}).done(function(Zt){at=arguments,ft.html(We?T("<div>").append(T.parseHTML(Zt)).find(We):Zt)}).always(Fe&&function(Zt,vi){ft.each(function(){Fe.apply(this,at||[Zt.responseText,vi,Zt])})}),this},T.expr.pseudos.animated=function(ge){return T.grep(T.timers,function(Ie){return ge===Ie.elem}).length},T.offset={setOffset:function(ge,Ie,Fe){var We,nt,at,ft,ai,Zt,vi,so=T.css(ge,"position"),To=T(ge),Hi={};so==="static"&&(ge.style.position="relative"),ai=To.offset(),at=T.css(ge,"top"),Zt=T.css(ge,"left"),vi=(so==="absolute"||so==="fixed")&&(at+Zt).indexOf("auto")>-1,vi?(We=To.position(),ft=We.top,nt=We.left):(ft=parseFloat(at)||0,nt=parseFloat(Zt)||0),h(Ie)&&(Ie=Ie.call(ge,Fe,T.extend({},ai))),Ie.top!=null&&(Hi.top=Ie.top-ai.top+ft),Ie.left!=null&&(Hi.left=Ie.left-ai.left+nt),"using"in Ie?Ie.using.call(ge,Hi):To.css(Hi)}},T.fn.extend({offset:function(ge){if(arguments.length)return ge===void 0?this:this.each(function(nt){T.offset.setOffset(this,ge,nt)});var Ie,Fe,We=this[0];if(We)return We.getClientRects().length?(Ie=We.getBoundingClientRect(),Fe=We.ownerDocument.defaultView,{top:Ie.top+Fe.pageYOffset,left:Ie.left+Fe.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var ge,Ie,Fe,We=this[0],nt={top:0,left:0};if(T.css(We,"position")==="fixed")Ie=We.getBoundingClientRect();else{for(Ie=this.offset(),Fe=We.ownerDocument,ge=We.offsetParent||Fe.documentElement;ge&&(ge===Fe.body||ge===Fe.documentElement)&&T.css(ge,"position")==="static";)ge=ge.parentNode;ge&&ge!==We&&ge.nodeType===1&&(nt=T(ge).offset(),nt.top+=T.css(ge,"borderTopWidth",!0),nt.left+=T.css(ge,"borderLeftWidth",!0))}return{top:Ie.top-nt.top-T.css(We,"marginTop",!0),left:Ie.left-nt.left-T.css(We,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var ge=this.offsetParent;ge&&T.css(ge,"position")==="static";)ge=ge.offsetParent;return ge||He})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(ge,Ie){var Fe=Ie==="pageYOffset";T.fn[ge]=function(We){return re(this,function(nt,at,ft){var ai;if(f(nt)?ai=nt:nt.nodeType===9&&(ai=nt.defaultView),ft===void 0)return ai?ai[Ie]:nt[at];ai?ai.scrollTo(Fe?ai.pageXOffset:ft,Fe?ft:ai.pageYOffset):nt[at]=ft},ge,We,arguments.length)}}),T.each(["top","left"],function(ge,Ie){T.cssHooks[Ie]=Ct(m.pixelPosition,function(Fe,We){if(We)return We=Eo(Fe,Ie),Sa.test(We)?T(Fe).position()[Ie]+"px":We})}),T.each({Height:"height",Width:"width"},function(ge,Ie){T.each({padding:"inner"+ge,content:Ie,"":"outer"+ge},function(Fe,We){T.fn[We]=function(nt,at){var ft=arguments.length&&(Fe||typeof nt!="boolean"),ai=Fe||(nt===!0||at===!0?"margin":"border");return re(this,function(Zt,vi,so){var To;return f(Zt)?We.indexOf("outer")===0?Zt["inner"+ge]:Zt.document.documentElement["client"+ge]:Zt.nodeType===9?(To=Zt.documentElement,Math.max(Zt.body["scroll"+ge],To["scroll"+ge],Zt.body["offset"+ge],To["offset"+ge],To["client"+ge])):so===void 0?T.css(Zt,vi,ai):T.style(Zt,vi,so,ai)},Ie,ft?nt:void 0,ft)}})}),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(ge,Ie){T.fn[Ie]=function(Fe){return this.on(Ie,Fe)}}),T.fn.extend({bind:function(ge,Ie,Fe){return this.on(ge,null,Ie,Fe)},unbind:function(ge,Ie){return this.off(ge,null,Ie)},delegate:function(ge,Ie,Fe,We){return this.on(Ie,ge,Fe,We)},undelegate:function(ge,Ie,Fe){return arguments.length===1?this.off(ge,"**"):this.off(Ie,ge||"**",Fe)},hover:function(ge,Ie){return this.on("mouseenter",ge).on("mouseleave",Ie||ge)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(ge,Ie){T.fn[Ie]=function(Fe,We){return arguments.length>0?this.on(Ie,null,Fe,We):this.trigger(Ie)}});var Ri=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;T.proxy=function(ge,Ie){var Fe,We,nt;if(typeof Ie=="string"&&(Fe=ge[Ie],Ie=ge,ge=Fe),!!h(ge))return We=r.call(arguments,2),nt=function(){return ge.apply(Ie||this,We.concat(r.call(arguments)))},nt.guid=ge.guid=ge.guid||T.guid++,nt},T.holdReady=function(ge){ge?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=I,T.isFunction=h,T.isWindow=f,T.camelCase=de,T.type=w,T.now=Date.now,T.isNumeric=function(ge){var Ie=T.type(ge);return(Ie==="number"||Ie==="string")&&!isNaN(ge-parseFloat(ge))},T.trim=function(ge){return ge==null?"":(ge+"").replace(Ri,"$1")},typeof define=="function"&&define.amd&&define("jquery",[],function(){return T});var u8e=t.jQuery,p8e=t.$;return T.noConflict=function(ge){return t.$===T&&(t.$=p8e),ge&&t.jQuery===T&&(t.jQuery=u8e),T},typeof e>"u"&&(t.jQuery=t.$=T),T})});var uri=xe(Od=>{"use strict";var Awe=Symbol.for("react.element"),urr=Symbol.for("react.portal"),prr=Symbol.for("react.fragment"),mrr=Symbol.for("react.strict_mode"),hrr=Symbol.for("react.profiler"),frr=Symbol.for("react.provider"),grr=Symbol.for("react.context"),brr=Symbol.for("react.forward_ref"),yrr=Symbol.for("react.suspense"),wrr=Symbol.for("react.memo"),Crr=Symbol.for("react.lazy"),tri=Symbol.iterator;function xrr(t){return t===null||typeof t!="object"?null:(t=tri&&t[tri]||t["@@iterator"],typeof t=="function"?t:null)}var rri={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},nri=Object.assign,ari={};function Jde(t,e,i){this.props=t,this.context=e,this.refs=ari,this.updater=i||rri}Jde.prototype.isReactComponent={};Jde.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};Jde.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function sri(){}sri.prototype=Jde.prototype;function nft(t,e,i){this.props=t,this.context=e,this.refs=ari,this.updater=i||rri}var aft=nft.prototype=new sri;aft.constructor=nft;nri(aft,Jde.prototype);aft.isPureReactComponent=!0;var iri=Array.isArray,lri=Object.prototype.hasOwnProperty,sft={current:null},cri={key:!0,ref:!0,__self:!0,__source:!0};function dri(t,e,i){var o,r={},n=null,a=null;if(e!=null)for(o in e.ref!==void 0&&(a=e.ref),e.key!==void 0&&(n=""+e.key),e)lri.call(e,o)&&!cri.hasOwnProperty(o)&&(r[o]=e[o]);var s=arguments.length-2;if(s===1)r.children=i;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];r.children=l}if(t&&t.defaultProps)for(o in s=t.defaultProps,s)r[o]===void 0&&(r[o]=s[o]);return{$$typeof:Awe,type:t,key:n,ref:a,props:r,_owner:sft.current}}function Trr(t,e){return{$$typeof:Awe,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function lft(t){return typeof t=="object"&&t!==null&&t.$$typeof===Awe}function Srr(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(i){return e[i]})}var ori=/\/+/g;function rft(t,e){return typeof t=="object"&&t!==null&&t.key!=null?Srr(""+t.key):e.toString(36)}function x7e(t,e,i,o,r){var n=typeof t;(n==="undefined"||n==="boolean")&&(t=null);var a=!1;if(t===null)a=!0;else switch(n){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case Awe:case urr:a=!0}}if(a)return a=t,r=r(a),t=o===""?"."+rft(a,0):o,iri(r)?(i="",t!=null&&(i=t.replace(ori,"$&/")+"/"),x7e(r,e,i,"",function(c){return c})):r!=null&&(lft(r)&&(r=Trr(r,i+(!r.key||a&&a.key===r.key?"":(""+r.key).replace(ori,"$&/")+"/")+t)),e.push(r)),1;if(a=0,o=o===""?".":o+":",iri(t))for(var s=0;s<t.length;s++){n=t[s];var l=o+rft(n,s);a+=x7e(n,e,i,l,r)}else if(l=xrr(t),typeof l=="function")for(t=l.call(t),s=0;!(n=t.next()).done;)n=n.value,l=o+rft(n,s++),a+=x7e(n,e,i,l,r);else if(n==="object")throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return a}function C7e(t,e,i){if(t==null)return t;var o=[],r=0;return x7e(t,o,"","",function(n){return e.call(i,n,r++)}),o}function Mrr(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(i){(t._status===0||t._status===-1)&&(t._status=1,t._result=i)},function(i){(t._status===0||t._status===-1)&&(t._status=2,t._result=i)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var mS={current:null},T7e={transition:null},Irr={ReactCurrentDispatcher:mS,ReactCurrentBatchConfig:T7e,ReactCurrentOwner:sft};Od.Children={map:C7e,forEach:function(t,e,i){C7e(t,function(){e.apply(this,arguments)},i)},count:function(t){var e=0;return C7e(t,function(){e++}),e},toArray:function(t){return C7e(t,function(e){return e})||[]},only:function(t){if(!lft(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Od.Component=Jde;Od.Fragment=prr;Od.Profiler=hrr;Od.PureComponent=nft;Od.StrictMode=mrr;Od.Suspense=yrr;Od.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Irr;Od.cloneElement=function(t,e,i){if(t==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=nri({},t.props),r=t.key,n=t.ref,a=t._owner;if(e!=null){if(e.ref!==void 0&&(n=e.ref,a=sft.current),e.key!==void 0&&(r=""+e.key),t.type&&t.type.defaultProps)var s=t.type.defaultProps;for(l in e)lri.call(e,l)&&!cri.hasOwnProperty(l)&&(o[l]=e[l]===void 0&&s!==void 0?s[l]:e[l])}var l=arguments.length-2;if(l===1)o.children=i;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:Awe,type:t.type,key:r,ref:n,props:o,_owner:a}};Od.createContext=function(t){return t={$$typeof:grr,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},t.Provider={$$typeof:frr,_context:t},t.Consumer=t};Od.createElement=dri;Od.createFactory=function(t){var e=dri.bind(null,t);return e.type=t,e};Od.createRef=function(){return{current:null}};Od.forwardRef=function(t){return{$$typeof:brr,render:t}};Od.isValidElement=lft;Od.lazy=function(t){return{$$typeof:Crr,_payload:{_status:-1,_result:t},_init:Mrr}};Od.memo=function(t,e){return{$$typeof:wrr,type:t,compare:e===void 0?null:e}};Od.startTransition=function(t){var e=T7e.transition;T7e.transition={};try{t()}finally{T7e.transition=e}};Od.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};Od.useCallback=function(t,e){return mS.current.useCallback(t,e)};Od.useContext=function(t){return mS.current.useContext(t)};Od.useDebugValue=function(){};Od.useDeferredValue=function(t){return mS.current.useDeferredValue(t)};Od.useEffect=function(t,e){return mS.current.useEffect(t,e)};Od.useId=function(){return mS.current.useId()};Od.useImperativeHandle=function(t,e,i){return mS.current.useImperativeHandle(t,e,i)};Od.useInsertionEffect=function(t,e){return mS.current.useInsertionEffect(t,e)};Od.useLayoutEffect=function(t,e){return mS.current.useLayoutEffect(t,e)};Od.useMemo=function(t,e){return mS.current.useMemo(t,e)};Od.useReducer=function(t,e,i){return mS.current.useReducer(t,e,i)};Od.useRef=function(t){return mS.current.useRef(t)};Od.useState=function(t){return mS.current.useState(t)};Od.useSyncExternalStore=function(t,e,i){return mS.current.useSyncExternalStore(t,e,i)};Od.useTransition=function(){return mS.current.useTransition()};Od.version="18.2.0"});var Se=xe((fwn,pri)=>{"use strict";pri.exports=uri()});var hU=xe((Vwn,Sri)=>{"use strict";var fft=Object.defineProperty,vrr=Object.getOwnPropertyDescriptor,Drr=Object.getOwnPropertyNames,Err=Object.prototype.hasOwnProperty,Arr=(t,e)=>{for(var i in e)fft(t,i,{get:e[i],enumerable:!0})},Nrr=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of Drr(e))!Err.call(t,r)&&r!==i&&fft(t,r,{get:()=>e[r],enumerable:!(o=vrr(e,r))||o.enumerable});return t},krr=t=>Nrr(fft({},"__esModule",{value:!0}),t),fri={};Arr(fri,{BroadcastChannelMessageBus:()=>Zrr,MessageBus:()=>Grr,MessageBus2:()=>Qrr,MessageBusTask:()=>mft,MessageBusTask2:()=>Nwe,WindowMessageBridge:()=>Hrr,WorkerMessageBridge:()=>Vrr,createBroadcastP2PStream:()=>xri,createBufferedByteBufferStream:()=>Cri,createBufferedStream:()=>yft,createBufferedStringStream:()=>wri,dropP2PStream:()=>Jrr,flowRead:()=>Xrr,flowWrite:()=>qrr});Sri.exports=krr(fri);var I7e=class{constructor(t=1.5){this.growthFactor=t,this.capacity=10,this.buffer=new Array(this.capacity),this.head=0,this.tail=0,this.count=0}enqueue(t){if(this.count===this.capacity){let e=Math.floor(this.capacity*this.growthFactor);console.log("grow",this.capacity,e);let i=new Array(e);for(let o=0;o<this.count;o++)i[o]=this.buffer[(this.head+o)%this.capacity];this.buffer=i,this.head=0,this.tail=this.count,this.capacity=e}this.buffer[this.tail]=t,this.tail=(this.tail+1)%this.capacity,this.count++}dequeue(){if(this.isEmpty())return;let t=this.buffer[this.head];return this.head=(this.head+1)%this.capacity,this.count--,t}peek(){return this.buffer[this.head]}isEmpty(){return this.count===0}clear(){this.buffer.length=0,this.head=0,this.tail=0,this.count=0}},gft=new ArrayBuffer(8),zwn=new Float64Array(gft),Fwn=new Uint32Array(gft),Uwn=new Uint16Array(gft),pft=ArrayBuffer;try{pft=self.HTMLImageElement||pft}catch{}var Prr=typeof SharedArrayBuffer<"u";function L7e(t){if(typeof t!="object"||t===null||t instanceof Date||t instanceof ArrayBuffer||Prr&&t instanceof SharedArrayBuffer||t instanceof Blob||t instanceof FormData||t instanceof Function||t instanceof Uint8ClampedArray||t instanceof pft)return t;if(Array.isArray(t))return t.map(L7e);{let e={};for(let i in t)Object.hasOwnProperty.call(t,i)&&(e[i]=L7e(t[i]));return e}}function uft(t,e){return Orr(t,e,()=>[])}function Orr(t,e,i){let o=t[e];return o!==void 0||(o=i(e),t[e]=o),o}var Rrr=class{constructor(t){this.maxResources=t,this.idle=new I7e,this.isClosed=!1,this.resources=t}acquire(t){this.isClosed?Promise.resolve(!1).then(t):this.resources>0?(this.resources--,Promise.resolve(!0).then(t)):this.idle.enqueue(t)}acquireSync(){return new Promise(t=>{this.acquire(t)})}release(){if(!this.isClosed){let t=this.idle.dequeue();t?Promise.resolve(!0).then(t):this.resources++}}close(){if(!this.isClosed)for(this.isClosed=!0;!this.idle.isEmpty();){let t=this.idle.dequeue();Promise.resolve(!1).then(t)}}};function _rr(){if(typeof window<"u")return window;if(typeof self<"u")return self;if(typeof globalThis<"u")return globalThis;if(typeof global<"u")return global}function jrr(t,e){let i=0,o=t.length;for(let r=0;r<o;r++)t[r]===e&&(t.splice(r,1),r--,o--,i++);return i}var Brr=_rr(),zrr=Brr.WeakRef||(t=>t);function Kie(t){if(t!=null){if(typeof t=="object")return new zrr(t);console.error(t,t instanceof Object,typeof t);return}}function xK(t){return t==null?void 0:t.deref()}var Frr="_MSG_BUS_RPC_",bft=300*1e3,Urr=(t=>(t.PUBLISH="publish",t.SUBSCRIBE="subscribe",t.PUSH="push",t.PULL="pull",t))(Urr||{}),gri=class{constructor(t){this.bus=t}processRemoteMessage(t,e){let i=Kie(e),o=t.topic,r=t.type,n=t.message;switch(r){case"pull":this.bus.pull(o,a=>{this.push(o,a,xK(i))});break;case"subscribe":this.bus.subscribe(o,a=>{this.publish(o,a,xK(i))});break;case"publish":this.bus.publish(o,n,this,xK(i));break;case"push":this.bus.push(o,n,this,xK(i));break;default:console.debug("unknown message type "+r)}}rpcCall(t,e,i,o=bft){let r=Kie(i),n=new Promise(a=>{let s=this.bus.uniqueRpcTopic(t);this.publish(t,{message:e,reply:s},xK(r)),this.bus.pull(s,(l,c,d)=>{a({message:l,bridge:c,source:Kie(d)})})});return o>0?Promise.race([n,new Promise((a,s)=>{setTimeout(s,o)})]):n}},Vrr=class extends gri{constructor(t,e){super(t),this.worker=e,e.onmessage=i=>{this.processRemoteMessage(i.data,void 0)}}publish(t,e){this.postMessage(t,"publish",e)}subscribe(t){this.postMessage(t,"subscribe",null)}push(t,e){this.postMessage(t,"push",e)}pull(t){this.postMessage(t,"pull",null)}rpcCall(t,e,i=bft){return super.rpcCall(t,e,void 0,i)}postMessage(t,e,i){let o={topic:t,type:e,message:i};this.worker.postMessage(o)}discard(){this.worker.terminate()}},Hrr=class extends gri{constructor(t){super(t),window.addEventListener("message",e=>{this.processRemoteMessage(e.data,e.source)},!1)}publish(t,e,i){this.postMessage(t,"publish",e,i)}subscribe(t,e){if(e===window)throw new Error("regist remote subscribe from current window is not permitted");this.postMessage(t,"subscribe",null,e)}push(t,e,i){this.postMessage(t,"push",e,i)}pull(t,e){if(e===window)throw new Error("regist remote pull from current window is not permitted");this.postMessage(t,"pull",null,e)}postMessage(t,e,i,o){let r={topic:t,type:e,message:i};o&&o.postMessage(r,"*")}},mft=class{constructor(t){this.isRunning=!0,this.callback=t}cancel(){this.callback=null,this.isRunning=!1}running(){return this.isRunning}execute(t,e,i,o){try{t=o?t:L7e(t),this.callback(t,e,i)}catch(r){console.error(r)}}},Grr=class{constructor(t=!1){this.subscribed={},this.pulled={},this.pushed={},this.uuid=crypto.randomUUID().replace(/-/g,""),this.rpcTicket=0,this.unsafe=t}uniqueRpcTopic(t){return`${Frr}-${t}-${this.uuid}-${this.rpcTicket++}`}publish(t,e,i,o){let r=this.subscribed[t];if(r){let n;for(let a of r)a.running()?a.execute(e,i,o,this.unsafe):(n=n||new Array,n.push(a));if(n)for(let a of n)jrr(r,a)}else console.debug("no sub on topic: "+t)}subscribe(t,e){let i=new mft(e);return uft(this.subscribed,t).push(i),i}push(t,e,i,o){let r=!1,n=this.pulled[t];if(n){for(;n.length>0;){let a=n.shift();if(a.running()){a.execute(e,i,o,this.unsafe),r=!0;break}}n.length===0&&delete this.pulled[t]}r||uft(this.pushed,t).push({message:e,bridge:i,source:Kie(o)})}pull(t,e){let i=new mft(e),o=this.pushed[t];if(o){let r=o.shift();i.execute(r.message,r.bridge,xK(r.source),this.unsafe),o.length===0&&delete this.pushed[t]}else uft(this.pulled,t).push(i);return i}pullA(t){return new Promise(e=>{this.pull(t,(i,o,r)=>{e({message:i,bridge:o,source:Kie(r)})})})}rpcService(t,e){this.subscribe(t,(i,o,r)=>{let{message:n,reply:a}=i;try{let s=e(n);if(s instanceof Promise){let l=Kie(r);s.then(c=>{this.rpcReply(c,a,o,xK(l))},c=>{console.error(c),this.rpcReply(void 0,a,o,xK(l))})}else this.rpcReply(s,a,o,r)}catch(s){console.error(s),this.rpcReply(void 0,a,o,r)}})}rpcCall(t,e,i=bft){let o=new Promise(r=>{let n=this.uniqueRpcTopic(t);this.publish(t,{message:e,reply:n}),this.pull(n,(a,s,l)=>{r({message:a,bridge:s,source:Kie(l)})})});return i>0?Promise.race([o,new Promise((r,n)=>{setTimeout(n,i)})]):o}rpcReply(t,e,i,o){i?i.push(e,t,o):this.push(e,t)}},Yrr="_MSG_BUS_RPC_";function hft(t,e){let i=0,o=t.length;for(let r=0;r<o;r++)t[r]===e&&(t.splice(r,1),r--,o--,i++);return i}function qde(t,e){return Wrr(t,e,()=>[])}function Wrr(t,e,i){let o=t[e];return o!==void 0||(o=i(e),t[e]=o),o}var Nwe=class{constructor(t,e){this.callback=t,this.unsafe=e,this.isRunning=!0}cancel(){this.callback=null,this.isRunning=!1}running(){return this.isRunning}async execute(t){try{t=this.unsafe?t:L7e(t),this.callback(t)}catch(e){console.error(e)}}},bri=class{constructor(t=crypto.randomUUID()){this.uuid=t,this.rpcTicket=0}subscribeOnce(t,e){let i=this.subscribe(t,o=>{i.cancel(),e(o)});return i}pullA(t){return new Promise(e=>{this.pull(t,e)})}rpcService(t,e){let i=o=>{try{let{message:r,replyTopic:n}=o;try{let a=e(r);a instanceof Promise?a.then(s=>{this.publish(n,{success:!0,result:s})}).catch(s=>{console.error(s),this.publish(n,{success:!1,err:String(s)})}):this.publish(n,{success:!0,result:a})}catch(a){this.publish(n,{success:!1,err:String(a)})}}finally{this.pull(t,i)}};this.pull(t,i)}rpcCall(t,e,i=0){let o=new Promise((r,n)=>{let a=`${Yrr}-${t}-${this.uuid}-${this.rpcTicket++}`;this.subscribeOnce(a,s=>{s.success?r(s.result):n(new Error(s.err))}),this.push(t,{message:e,replyTopic:a})});return i>0?Promise.race([o,new Promise((r,n)=>{setTimeout(n,i)})]):o}},Qrr=class extends bri{constructor(t=!1){super(),this.unsafe=t,this.subscribed={},this.pulled={},this.pushed={}}publish(t,e){let i=this.subscribed[t];if(i){let o;for(let r of i)r.running()?r.execute(e):(o=o||new Array,o.push(r));if(o)for(let r of o)hft(i,r)}}subscribe(t,e){let i=new Nwe(e,this.unsafe);return qde(this.subscribed,t).push(i),i}push(t,e){let i=!1,o=this.pulled[t];if(o){for(;o.length>0;){let r=o.shift();if(r&&r.running()){r.execute(e),i=!0;break}}o.length===0&&delete this.pulled[t]}i||qde(this.pushed,t).push(e)}pull(t,e){let i=new Nwe(e,this.unsafe);return this.repull(t,i),i}repull(t,e){let i=this.pushed[t];if(i){let o=i.shift();o&&(e.execute(o),i.length===0&&delete this.pushed[t])}else qde(this.pulled,t).push(e)}},Krr=class extends bri{constructor(t=crypto.randomUUID()){super(t),this.subscribed={},this.pushed={},this.pulled={},this.pushCnt=0}publish(t,e){console.debug("BC",this.uuid,"PUBLISH",t,e),this.broadcastPublish(t,e)}subscribe(t,e){console.debug("BC",this.uuid,"SUBSCRIBE",t);let i=new Nwe(e,!0);return qde(this.subscribed,t).push(i),i}push(t,e){let i=this.pushCnt++;console.debug("BC",this.uuid,"PUSH",t,`(${i})`,e),qde(this.pushed,t).push({id:i,message:e}),this.broadcastPushedHeadMessage(t)}pull(t,e){console.debug("BC",this.uuid,"PULL",t);let i=new Nwe(e,!0);return qde(this.pulled,t).push(i),this.broadcastWhoHas(t),i}broadcastPushedHeadMessage(t){let e=this.pushed[t];e&&e[0]&&this.broadcastIHave(t,e[0].id)}onReceivedPublish(t,e,i){console.debug("BCMSG(",this.uuid,")","from",t,"PUBLISH",e,"message",i);let o=this.subscribed[e];if(o){let r;for(let n of o)n.running()?n.execute(i):(r=r||new Array,r.push(n));if(r)for(let n of r)hft(o,n);o.length===0&&delete this.subscribed[e]}}onReceivedWhoHas(t,e){console.debug("BCMSG(",this.uuid,")","from",t,"WHOHAS",e),this.broadcastPushedHeadMessage(e)}onReceivedIHave(t,e,i){console.debug("BCMSG(",this.uuid,")","from",t,"IHAVE",e,"id",i);let o=this.pulled[e];if(o){let r;for(let n of o)if(n.running()){this.broadcastINeed(e,t,i);break}else r=r||new Array,r.push(n);if(r)for(let n of r)hft(o,n);o.length===0&&delete this.pulled[e]}}onReceivedINeed(t,e,i,o){if(console.debug("BCMSG(",this.uuid,")","from",t,"INEED",e,"source",i,"id",o),this.uuid===i){let r=this.pushed[e];if(r&&r[0]&&r[0].id===o){let{message:n}=r.shift();this.broadcastIGive(e,o,t,n),this.broadcastPushedHeadMessage(e),r.length===0&&delete this.pushed[e]}}}onReceivedIGive(t,e,i,o,r){console.debug("BCMSG(",this.uuid,")","from",t,"IGIVE",e,"id",i,"target",o,"message",r);let n=this.pulled[e];if(n&&this.uuid===o){let a=!1;for(;n.length>0;){let s=n.shift();if(s.running()){s.execute(r),a=!0;break}}a||this.push(e,r),n.length===0&&delete this.pulled[e]}}},Zrr=class extends Krr{constructor(t,e=crypto.randomUUID()){super(e),this.bc=new BroadcastChannel(t),this.bc.onmessage=i=>{this.onMessage(i.data)}}onMessage(t){let{type:e,uuid:i,topic:o}=t;switch(e){case"PUBLISH":{let{message:r}=t;this.onReceivedPublish(i,o,r);break}case"WHOHAS":{this.onReceivedWhoHas(i,o);break}case"IHAVE":{let{id:r}=t;this.onReceivedIHave(i,o,r);break}case"INEED":{let{source:r,id:n}=t;this.onReceivedINeed(i,o,r,n);break}case"IGIVE":{let{target:r,id:n,message:a}=t;this.onReceivedIGive(i,o,n,r,a);break}default:console.warn("unsupported",t)}}broadcastPublish(t,e){this.post({type:"PUBLISH",uuid:this.uuid,topic:t,message:e})}broadcastWhoHas(t){this.post({type:"WHOHAS",uuid:this.uuid,topic:t})}broadcastIHave(t,e){this.post({type:"IHAVE",uuid:this.uuid,topic:t,id:e})}broadcastINeed(t,e,i){this.post({type:"INEED",uuid:this.uuid,topic:t,source:e,id:i})}broadcastIGive(t,e,i,o){this.post({type:"IGIVE",uuid:this.uuid,topic:t,id:e,target:i,message:o})}post(t){this.bc.postMessage(t),Promise.resolve().then(()=>{this.onMessage(t)})}},Xde=Symbol("BLOCKING_QUEUE_RESET"),yri=class{constructor(t,e=()=>1){if(this.maxSize=t,this.itemSizeOf=e,this.queue=new I7e,this.waitingConsumers=new I7e,this.waitingProducers=new I7e,this.queueSize=0,this.closePromise=null,this.closeResolve=null,t<=0)throw new Error("Max size must be greater than 0")}enqueue(t){return this.closePromise?!1:this.isFull()?(async()=>{console.debug("queue is full",this.queueSize,this.maxSize);let e=await new Promise(i=>{this.waitingProducers.enqueue(i)});return console.debug("queue is not full",this.size(),e),e?(this.innerEnqueue(t),!0):!1})():(this.innerEnqueue(t),!0)}innerEnqueue(t){if(this.waitingConsumers.isEmpty())this.queue.enqueue(t),this.queueSize+=this.itemSizeOf(t),console.debug("queue pushed",t,"size",this.queueSize);else{let e=this.waitingConsumers.dequeue();Promise.resolve(t).then(e),console.debug("queue direct",t,"size",this.queueSize)}}dequeue(){if(this.queue.isEmpty())if(this.closePromise){for(;!this.waitingConsumers.isEmpty();){let t=this.waitingConsumers.dequeue();Promise.resolve(Xde).then(t)}return setTimeout(()=>this.closeResolve(),0),Xde}else return new Promise(t=>{this.waitingConsumers.enqueue(t)});else{let t=this.queue.dequeue();if(this.queueSize-=this.itemSizeOf(t),!this.waitingProducers.isEmpty()){let e=this.waitingProducers.dequeue();Promise.resolve(!0).then(e)}return t}}size(){return this.queueSize}isEmpty(){return this.queueSize===0}isFull(){return this.queueSize>=this.maxSize}close(){return this.closePromise||(this.closePromise=new Promise(t=>{for(this.closeResolve=t;!this.waitingProducers.isEmpty();){let e=this.waitingProducers.dequeue();Promise.resolve(!1).then(e)}if(this.queueSize===0){for(;!this.waitingConsumers.isEmpty();){let e=this.waitingConsumers.dequeue();Promise.resolve(Xde).then(e)}t()}})),this.closePromise}};function yft(t,e,i=Number.MAX_SAFE_INTEGER){let o=new yri(i,e),r=new ReadableStream({pull(a){let s=!0,l=(async()=>{let c=new Array;do{let d=o.dequeue();if(d instanceof Promise){s=!1;let u=await d;u===Xde?a.close():c.push(u)}else{let u=d;u===Xde?a.close():c.push(u)}}while(o.size()>0);if(c.length>0){let d=t(c);a.enqueue(d)}})();if(!s)return console.debug("read stream stucked --------------------------------------"),l},async cancel(){console.debug("buffered readable cancel"),await o.close()}}),n=new WritableStream({write(a,s){let l=!0,c=(async()=>{let d=o.enqueue(a);typeof d=="boolean"?d||s.error(new Error("Write stream closed")):(l=!1,await d||s.error(new Error("Write stream closed")))})();if(!l)return console.debug("read stream stucked >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"),c},async close(){console.debug("buffered writable closing",o.size()),await o.close(),console.debug("buffered writable closed",o.size())},async abort(){console.debug("buffered writable aborting",o.size()),await o.close(),console.debug("buffered writable aborted",o.size())}});return{readable:r,writable:n}}function wri(t=Number.MAX_SAFE_INTEGER){return yft(e=>e.join(""),e=>e.length,t)}function Cri(t=Number.MAX_SAFE_INTEGER){return yft(e=>{let i=new Uint8Array(e.reduce((r,n)=>r+n.byteLength,0)),o=0;return e.forEach(r=>{i.set(r,o),o+=r.byteLength}),i},e=>e.byteLength,t)}function xri(t){return new Promise((e,i)=>{let o=new BroadcastChannel(t),r=new yri(1),n=new Rrr(1),a=null,s=!1,l=!1,c=!1;o.onmessage=d=>{let u=d.data,{type:p}=u;if(console.debug("p2p",t,"type",p,"data",p==="DATA"&&u.data),p==="DATA")r.enqueue(u.data);else if(p==="HI"){if(!a){o.postMessage({type:"HI"});let g=0;a={rs:new ReadableStream({async pull(b){let y=await r.dequeue();y===Xde?(await h(),b.close()):(b.enqueue(y),o.postMessage({type:"ACK"}))},cancel(){return h()}}),ws:new WritableStream({async write(b,y){await n.acquireSync()?o.postMessage({type:"DATA",id:g++,data:b}):(m(),y.error(new Error("Write stream closed")))},close(){m()},abort(){m()}})},e(a)}}else p==="REND"?a?n.close():f("REND1"):p==="WEND"?a?r.close():f("WEND1"):p==="ACK"&&n.release();function m(){s||(s=!0,console.debug(t,"p2p write stream closed"),n.close(),o.postMessage({type:"WEND"}),l&&(console.debug(t,"p2p channel closed on ws"),o.close()))}async function h(){l||(l=!0,console.debug(t,"p2p read stream closed"),o.postMessage({type:"REND"}),await r.close(),s&&(console.debug(t,"p2p channel closed on rs"),o.close()))}async function f(g){c||(c=!0,console.debug(t,"p2p channel connection released on",g),n.close(),r.close(),a?(a.rs.locked||(console.debug(t,"p2p unlocked read stream direct cancel"),a.rs.cancel()),a.ws.locked||(console.debug(t,"p2p unlocked write stream direct close"),a.ws.close())):(o.postMessage({type:"HI"}),o.close()),i(new Error("p2p channel connection released")))}},o.postMessage({type:"HI"})})}function Jrr(t){return new Promise(e=>{let i=new BroadcastChannel(t);i.onmessage=o=>{let r=o.data,{type:n}=r;n==="HI"&&(i.postMessage({type:"REND"}),i.close(),e())},i.postMessage({type:"REND"})})}async function Tri(t){try{return await xri(t)}catch(e){e.message!=="p2p channel connection released"&&console.error(e)}}async function qrr(t,e,i=10*1024*1024,o=!0){let r=await Tri(t);if(!r)return!1;let n=!1;try{let a,s=l=>{if(!a)if(!o)a=r.ws.getWriter();else if(typeof l=="string"){let c=wri(i);c.readable.pipeTo(r.ws),a=c.writable.getWriter()}else{let c=Cri(i);c.readable.pipeTo(r.ws),a=c.writable.getWriter()}return a.write(l)};if(Array.isArray(e))for(let l of e)await s(l);else await e({write:s,get desiredSize(){return((a==null?void 0:a.desiredSize)||0)+10}});a&&await a.close(),n=!0}catch(a){console.error(a)}finally{return r.rs.cancel(),n}}async function Xrr(t,e){var o,r;let i=await Tri(t);if(i)try{let n=i.rs.getReader();for((o=e.start)==null?void 0:o.call(e);;){let{value:a,done:s}=await n.read();if(a!==void 0){let l;if(e.update instanceof Promise?l=await e.update(a):l=e.update(a),l){await n.cancel();break}}if(s){(r=e.end)==null||r.call(e);break}}}catch(n){console.error(n)}finally{i.ws.close()}}});var Iri=xe((iCn,Mri)=>{(function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={rotl:function(i,o){return i<<o|i>>>32-o},rotr:function(i,o){return i<<32-o|i>>>o},endian:function(i){if(i.constructor==Number)return e.rotl(i,8)&16711935|e.rotl(i,24)&4278255360;for(var o=0;o<i.length;o++)i[o]=e.endian(i[o]);return i},randomBytes:function(i){for(var o=[];i>0;i--)o.push(Math.floor(Math.random()*256));return o},bytesToWords:function(i){for(var o=[],r=0,n=0;r<i.length;r++,n+=8)o[n>>>5]|=i[r]<<24-n%32;return o},wordsToBytes:function(i){for(var o=[],r=0;r<i.length*32;r+=8)o.push(i[r>>>5]>>>24-r%32&255);return o},bytesToHex:function(i){for(var o=[],r=0;r<i.length;r++)o.push((i[r]>>>4).toString(16)),o.push((i[r]&15).toString(16));return o.join("")},hexToBytes:function(i){for(var o=[],r=0;r<i.length;r+=2)o.push(parseInt(i.substr(r,2),16));return o},bytesToBase64:function(i){for(var o=[],r=0;r<i.length;r+=3)for(var n=i[r]<<16|i[r+1]<<8|i[r+2],a=0;a<4;a++)r*8+a*6<=i.length*8?o.push(t.charAt(n>>>6*(3-a)&63)):o.push("=");return o.join("")},base64ToBytes:function(i){i=i.replace(/[^A-Z0-9+\/]/ig,"");for(var o=[],r=0,n=0;r<i.length;n=++r%4)n!=0&&o.push((t.indexOf(i.charAt(r-1))&Math.pow(2,-2*n+8)-1)<<n*2|t.indexOf(i.charAt(r))>>>6-n*2);return o}};Mri.exports=e})()});var Cft=xe((oCn,Lri)=>{var wft={utf8:{stringToBytes:function(t){return wft.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(wft.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],i=0;i<t.length;i++)e.push(t.charCodeAt(i)&255);return e},bytesToString:function(t){for(var e=[],i=0;i<t.length;i++)e.push(String.fromCharCode(t[i]));return e.join("")}}};Lri.exports=wft});var Eri=xe((rCn,Dri)=>{Dri.exports=function(t){return t!=null&&(vri(t)||$rr(t)||!!t._isBuffer)};function vri(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function $rr(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&vri(t.slice(0,0))}});var $de=xe((nCn,Ari)=>{(function(){var t=Iri(),e=Cft().utf8,i=Eri(),o=Cft().bin,r=function(n,a){n.constructor==String?a&&a.encoding==="binary"?n=o.stringToBytes(n):n=e.stringToBytes(n):i(n)?n=Array.prototype.slice.call(n,0):!Array.isArray(n)&&n.constructor!==Uint8Array&&(n=n.toString());for(var s=t.bytesToWords(n),l=n.length*8,c=1732584193,d=-271733879,u=-1732584194,p=271733878,m=0;m<s.length;m++)s[m]=(s[m]<<8|s[m]>>>24)&16711935|(s[m]<<24|s[m]>>>8)&4278255360;s[l>>>5]|=128<<l%32,s[(l+64>>>9<<4)+14]=l;for(var h=r._ff,f=r._gg,g=r._hh,b=r._ii,m=0;m<s.length;m+=16){var y=c,w=d,x=u,S=p;c=h(c,d,u,p,s[m+0],7,-680876936),p=h(p,c,d,u,s[m+1],12,-389564586),u=h(u,p,c,d,s[m+2],17,606105819),d=h(d,u,p,c,s[m+3],22,-1044525330),c=h(c,d,u,p,s[m+4],7,-176418897),p=h(p,c,d,u,s[m+5],12,1200080426),u=h(u,p,c,d,s[m+6],17,-1473231341),d=h(d,u,p,c,s[m+7],22,-45705983),c=h(c,d,u,p,s[m+8],7,1770035416),p=h(p,c,d,u,s[m+9],12,-1958414417),u=h(u,p,c,d,s[m+10],17,-42063),d=h(d,u,p,c,s[m+11],22,-1990404162),c=h(c,d,u,p,s[m+12],7,1804603682),p=h(p,c,d,u,s[m+13],12,-40341101),u=h(u,p,c,d,s[m+14],17,-1502002290),d=h(d,u,p,c,s[m+15],22,1236535329),c=f(c,d,u,p,s[m+1],5,-165796510),p=f(p,c,d,u,s[m+6],9,-1069501632),u=f(u,p,c,d,s[m+11],14,643717713),d=f(d,u,p,c,s[m+0],20,-373897302),c=f(c,d,u,p,s[m+5],5,-701558691),p=f(p,c,d,u,s[m+10],9,38016083),u=f(u,p,c,d,s[m+15],14,-660478335),d=f(d,u,p,c,s[m+4],20,-405537848),c=f(c,d,u,p,s[m+9],5,568446438),p=f(p,c,d,u,s[m+14],9,-1019803690),u=f(u,p,c,d,s[m+3],14,-187363961),d=f(d,u,p,c,s[m+8],20,1163531501),c=f(c,d,u,p,s[m+13],5,-1444681467),p=f(p,c,d,u,s[m+2],9,-51403784),u=f(u,p,c,d,s[m+7],14,1735328473),d=f(d,u,p,c,s[m+12],20,-1926607734),c=g(c,d,u,p,s[m+5],4,-378558),p=g(p,c,d,u,s[m+8],11,-2022574463),u=g(u,p,c,d,s[m+11],16,1839030562),d=g(d,u,p,c,s[m+14],23,-35309556),c=g(c,d,u,p,s[m+1],4,-1530992060),p=g(p,c,d,u,s[m+4],11,1272893353),u=g(u,p,c,d,s[m+7],16,-155497632),d=g(d,u,p,c,s[m+10],23,-1094730640),c=g(c,d,u,p,s[m+13],4,681279174),p=g(p,c,d,u,s[m+0],11,-358537222),u=g(u,p,c,d,s[m+3],16,-722521979),d=g(d,u,p,c,s[m+6],23,76029189),c=g(c,d,u,p,s[m+9],4,-640364487),p=g(p,c,d,u,s[m+12],11,-421815835),u=g(u,p,c,d,s[m+15],16,530742520),d=g(d,u,p,c,s[m+2],23,-995338651),c=b(c,d,u,p,s[m+0],6,-198630844),p=b(p,c,d,u,s[m+7],10,1126891415),u=b(u,p,c,d,s[m+14],15,-1416354905),d=b(d,u,p,c,s[m+5],21,-57434055),c=b(c,d,u,p,s[m+12],6,1700485571),p=b(p,c,d,u,s[m+3],10,-1894986606),u=b(u,p,c,d,s[m+10],15,-1051523),d=b(d,u,p,c,s[m+1],21,-2054922799),c=b(c,d,u,p,s[m+8],6,1873313359),p=b(p,c,d,u,s[m+15],10,-30611744),u=b(u,p,c,d,s[m+6],15,-1560198380),d=b(d,u,p,c,s[m+13],21,1309151649),c=b(c,d,u,p,s[m+4],6,-145523070),p=b(p,c,d,u,s[m+11],10,-1120210379),u=b(u,p,c,d,s[m+2],15,718787259),d=b(d,u,p,c,s[m+9],21,-343485551),c=c+y>>>0,d=d+w>>>0,u=u+x>>>0,p=p+S>>>0}return t.endian([c,d,u,p])};r._ff=function(n,a,s,l,c,d,u){var p=n+(a&s|~a&l)+(c>>>0)+u;return(p<<d|p>>>32-d)+a},r._gg=function(n,a,s,l,c,d,u){var p=n+(a&l|s&~l)+(c>>>0)+u;return(p<<d|p>>>32-d)+a},r._hh=function(n,a,s,l,c,d,u){var p=n+(a^s^l)+(c>>>0)+u;return(p<<d|p>>>32-d)+a},r._ii=function(n,a,s,l,c,d,u){var p=n+(s^(a|~l))+(c>>>0)+u;return(p<<d|p>>>32-d)+a},r._blocksize=16,r._digestsize=16,Ari.exports=function(n,a){if(n==null)throw new Error("Illegal argument "+n);var s=t.wordsToBytes(r(n,a));return a&&a.asBytes?s:a&&a.asString?o.bytesToString(s):t.bytesToHex(s)}})()});var hS=xe((Xri,Oft)=>{(function(t){typeof Xri=="object"&&typeof Oft<"u"?Oft.exports=t():typeof define=="function"&&define.amd?define([],t):(typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this).JSZip=t()})(function(){return(function t(e,i,o){function r(s,l){if(!i[s]){if(!e[s]){var c=typeof _h=="function"&&_h;if(!l&&c)return c(s,!0);if(n)return n(s,!0);var d=new Error("Cannot find module '"+s+"'");throw d.code="MODULE_NOT_FOUND",d}var u=i[s]={exports:{}};e[s][0].call(u.exports,function(p){var m=e[s][1][p];return r(m||p)},u,u.exports,t,e,i,o)}return i[s].exports}for(var n=typeof _h=="function"&&_h,a=0;a<o.length;a++)r(o[a]);return r})({1:[function(t,e,i){"use strict";var o=t("./utils"),r=t("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(a){for(var s,l,c,d,u,p,m,h=[],f=0,g=a.length,b=g,y=o.getTypeOf(a)!=="string";f<a.length;)b=g-f,c=y?(s=a[f++],l=f<g?a[f++]:0,f<g?a[f++]:0):(s=a.charCodeAt(f++),l=f<g?a.charCodeAt(f++):0,f<g?a.charCodeAt(f++):0),d=s>>2,u=(3&s)<<4|l>>4,p=1<b?(15&l)<<2|c>>6:64,m=2<b?63&c:64,h.push(n.charAt(d)+n.charAt(u)+n.charAt(p)+n.charAt(m));return h.join("")},i.decode=function(a){var s,l,c,d,u,p,m=0,h=0,f="data:";if(a.substr(0,f.length)===f)throw new Error("Invalid base64 input, it looks like a data url.");var g,b=3*(a=a.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(a.charAt(a.length-1)===n.charAt(64)&&b--,a.charAt(a.length-2)===n.charAt(64)&&b--,b%1!=0)throw new Error("Invalid base64 input, bad content length.");for(g=r.uint8array?new Uint8Array(0|b):new Array(0|b);m<a.length;)s=n.indexOf(a.charAt(m++))<<2|(d=n.indexOf(a.charAt(m++)))>>4,l=(15&d)<<4|(u=n.indexOf(a.charAt(m++)))>>2,c=(3&u)<<6|(p=n.indexOf(a.charAt(m++))),g[h++]=s,u!==64&&(g[h++]=l),p!==64&&(g[h++]=c);return g}},{"./support":30,"./utils":32}],2:[function(t,e,i){"use strict";var o=t("./external"),r=t("./stream/DataWorker"),n=t("./stream/Crc32Probe"),a=t("./stream/DataLengthProbe");function s(l,c,d,u,p){this.compressedSize=l,this.uncompressedSize=c,this.crc32=d,this.compression=u,this.compressedContent=p}s.prototype={getContentWorker:function(){var l=new r(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),c=this;return l.on("end",function(){if(this.streamInfo.data_length!==c.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),l},getCompressedWorker:function(){return new r(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(l,c,d){return l.pipe(new n).pipe(new a("uncompressedSize")).pipe(c.compressWorker(d)).pipe(new a("compressedSize")).withStreamInfo("compression",c)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,i){"use strict";var o=t("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},i.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,i){"use strict";var o=t("./utils"),r=(function(){for(var n,a=[],s=0;s<256;s++){n=s;for(var l=0;l<8;l++)n=1&n?3988292384^n>>>1:n>>>1;a[s]=n}return a})();e.exports=function(n,a){return n!==void 0&&n.length?o.getTypeOf(n)!=="string"?(function(s,l,c,d){var u=r,p=d+c;s^=-1;for(var m=d;m<p;m++)s=s>>>8^u[255&(s^l[m])];return-1^s})(0|a,n,n.length,0):(function(s,l,c,d){var u=r,p=d+c;s^=-1;for(var m=d;m<p;m++)s=s>>>8^u[255&(s^l.charCodeAt(m))];return-1^s})(0|a,n,n.length,0):0}},{"./utils":32}],5:[function(t,e,i){"use strict";i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(t,e,i){"use strict";var o=null;o=typeof Promise<"u"?Promise:t("lie"),e.exports={Promise:o}},{lie:37}],7:[function(t,e,i){"use strict";var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",r=t("pako"),n=t("./utils"),a=t("./stream/GenericWorker"),s=o?"uint8array":"array";function l(c,d){a.call(this,"FlateWorker/"+c),this._pako=null,this._pakoAction=c,this._pakoOptions=d,this.meta={}}i.magic="\b\0",n.inherits(l,a),l.prototype.processChunk=function(c){this.meta=c.meta,this._pako===null&&this._createPako(),this._pako.push(n.transformTo(s,c.data),!1)},l.prototype.flush=function(){a.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new r[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var c=this;this._pako.onData=function(d){c.push({data:d,meta:c.meta})}},i.compressWorker=function(c){return new l("Deflate",c)},i.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,i){"use strict";function o(u,p){var m,h="";for(m=0;m<p;m++)h+=String.fromCharCode(255&u),u>>>=8;return h}function r(u,p,m,h,f,g){var b,y,w=u.file,x=u.compression,S=g!==s.utf8encode,T=n.transformTo("string",g(w.name)),M=n.transformTo("string",s.utf8encode(w.name)),I=w.comment,A=n.transformTo("string",g(I)),D=n.transformTo("string",s.utf8encode(I)),E=M.length!==w.name.length,N=D.length!==I.length,R="",v="",k="",P=w.dir,O=w.date,_={crc32:0,compressedSize:0,uncompressedSize:0};p&&!m||(_.crc32=u.crc32,_.compressedSize=u.compressedSize,_.uncompressedSize=u.uncompressedSize);var j=0;p&&(j|=8),S||!E&&!N||(j|=2048);var B=0,V=0;P&&(B|=16),f==="UNIX"?(V=798,B|=(function(Q,H){var q=Q;return Q||(q=H?16893:33204),(65535&q)<<16})(w.unixPermissions,P)):(V=20,B|=(function(Q){return 63&(Q||0)})(w.dosPermissions)),b=O.getUTCHours(),b<<=6,b|=O.getUTCMinutes(),b<<=5,b|=O.getUTCSeconds()/2,y=O.getUTCFullYear()-1980,y<<=4,y|=O.getUTCMonth()+1,y<<=5,y|=O.getUTCDate(),E&&(v=o(1,1)+o(l(T),4)+M,R+="up"+o(v.length,2)+v),N&&(k=o(1,1)+o(l(A),4)+D,R+="uc"+o(k.length,2)+k);var G="";return G+=`
\0`,G+=o(j,2),G+=x.magic,G+=o(b,2),G+=o(y,2),G+=o(_.crc32,4),G+=o(_.compressedSize,4),G+=o(_.uncompressedSize,4),G+=o(T.length,2),G+=o(R.length,2),{fileRecord:c.LOCAL_FILE_HEADER+G+T+R,dirRecord:c.CENTRAL_FILE_HEADER+o(V,2)+G+o(A.length,2)+"\0\0\0\0"+o(B,4)+o(h,4)+T+R+A}}var n=t("../utils"),a=t("../stream/GenericWorker"),s=t("../utf8"),l=t("../crc32"),c=t("../signature");function d(u,p,m,h){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=p,this.zipPlatform=m,this.encodeFileName=h,this.streamFiles=u,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(d,a),d.prototype.push=function(u){var p=u.meta.percent||0,m=this.entriesCount,h=this._sources.length;this.accumulate?this.contentBuffer.push(u):(this.bytesWritten+=u.data.length,a.prototype.push.call(this,{data:u.data,meta:{currentFile:this.currentFile,percent:m?(p+100*(m-h-1))/m:100}}))},d.prototype.openedSource=function(u){this.currentSourceOffset=this.bytesWritten,this.currentFile=u.file.name;var p=this.streamFiles&&!u.file.dir;if(p){var m=r(u,p,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:m.fileRecord,meta:{percent:0}})}else this.accumulate=!0},d.prototype.closedSource=function(u){this.accumulate=!1;var p=this.streamFiles&&!u.file.dir,m=r(u,p,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(m.dirRecord),p)this.push({data:(function(h){return c.DATA_DESCRIPTOR+o(h.crc32,4)+o(h.compressedSize,4)+o(h.uncompressedSize,4)})(u),meta:{percent:100}});else for(this.push({data:m.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){for(var u=this.bytesWritten,p=0;p<this.dirRecords.length;p++)this.push({data:this.dirRecords[p],meta:{percent:100}});var m=this.bytesWritten-u,h=(function(f,g,b,y,w){var x=n.transformTo("string",w(y));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(f,2)+o(f,2)+o(g,4)+o(b,4)+o(x.length,2)+x})(this.dirRecords.length,m,u,this.zipComment,this.encodeFileName);this.push({data:h,meta:{percent:100}})},d.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},d.prototype.registerPrevious=function(u){this._sources.push(u);var p=this;return u.on("data",function(m){p.processChunk(m)}),u.on("end",function(){p.closedSource(p.previous.streamInfo),p._sources.length?p.prepareNextSource():p.end()}),u.on("error",function(m){p.error(m)}),this},d.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},d.prototype.error=function(u){var p=this._sources;if(!a.prototype.error.call(this,u))return!1;for(var m=0;m<p.length;m++)try{p[m].error(u)}catch{}return!0},d.prototype.lock=function(){a.prototype.lock.call(this);for(var u=this._sources,p=0;p<u.length;p++)u[p].lock()},e.exports=d},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,e,i){"use strict";var o=t("../compressions"),r=t("./ZipFileWorker");i.generateWorker=function(n,a,s){var l=new r(a.streamFiles,s,a.platform,a.encodeFileName),c=0;try{n.forEach(function(d,u){c++;var p=(function(g,b){var y=g||b,w=o[y];if(!w)throw new Error(y+" is not a valid compression method !");return w})(u.options.compression,a.compression),m=u.options.compressionOptions||a.compressionOptions||{},h=u.dir,f=u.date;u._compressWorker(p,m).withStreamInfo("file",{name:d,dir:h,date:f,comment:u.comment||"",unixPermissions:u.unixPermissions,dosPermissions:u.dosPermissions}).pipe(l)}),l.entriesCount=c}catch(d){l.error(d)}return l}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,e,i){"use strict";function o(){if(!(this instanceof o))return new o;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var r=new o;for(var n in this)typeof this[n]!="function"&&(r[n]=this[n]);return r}}(o.prototype=t("./object")).loadAsync=t("./load"),o.support=t("./support"),o.defaults=t("./defaults"),o.version="3.10.1",o.loadAsync=function(r,n){return new o().loadAsync(r,n)},o.external=t("./external"),e.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,e,i){"use strict";var o=t("./utils"),r=t("./external"),n=t("./utf8"),a=t("./zipEntries"),s=t("./stream/Crc32Probe"),l=t("./nodejsUtils");function c(d){return new r.Promise(function(u,p){var m=d.decompressed.getContentWorker().pipe(new s);m.on("error",function(h){p(h)}).on("end",function(){m.streamInfo.crc32!==d.decompressed.crc32?p(new Error("Corrupted zip : CRC32 mismatch")):u()}).resume()})}e.exports=function(d,u){var p=this;return u=o.extend(u||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),l.isNode&&l.isStream(d)?r.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",d,!0,u.optimizedBinaryString,u.base64).then(function(m){var h=new a(u);return h.load(m),h}).then(function(m){var h=[r.Promise.resolve(m)],f=m.files;if(u.checkCRC32)for(var g=0;g<f.length;g++)h.push(c(f[g]));return r.Promise.all(h)}).then(function(m){for(var h=m.shift(),f=h.files,g=0;g<f.length;g++){var b=f[g],y=b.fileNameStr,w=o.resolve(b.fileNameStr);p.file(w,b.decompressed,{binary:!0,optimizedBinaryString:!0,date:b.date,dir:b.dir,comment:b.fileCommentStr.length?b.fileCommentStr:null,unixPermissions:b.unixPermissions,dosPermissions:b.dosPermissions,createFolders:u.createFolders}),b.dir||(p.file(w).unsafeOriginalName=y)}return h.zipComment.length&&(p.comment=h.zipComment),p})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,e,i){"use strict";var o=t("../utils"),r=t("../stream/GenericWorker");function n(a,s){r.call(this,"Nodejs stream input adapter for "+a),this._upstreamEnded=!1,this._bindStream(s)}o.inherits(n,r),n.prototype._bindStream=function(a){var s=this;(this._stream=a).pause(),a.on("data",function(l){s.push({data:l,meta:{percent:0}})}).on("error",function(l){s.isPaused?this.generatedError=l:s.error(l)}).on("end",function(){s.isPaused?s._upstreamEnded=!0:s.end()})},n.prototype.pause=function(){return!!r.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,e,i){"use strict";var o=t("readable-stream").Readable;function r(n,a,s){o.call(this,a),this._helper=n;var l=this;n.on("data",function(c,d){l.push(c)||l._helper.pause(),s&&s(d)}).on("error",function(c){l.emit("error",c)}).on("end",function(){l.push(null)})}t("../utils").inherits(r,o),r.prototype._read=function(){this._helper.resume()},e.exports=r},{"../utils":32,"readable-stream":16}],14:[function(t,e,i){"use strict";e.exports={isNode:typeof Buffer<"u",newBufferFrom:function(o,r){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(o,r);if(typeof o=="number")throw new Error('The "data" argument must not be a number');return new Buffer(o,r)},allocBuffer:function(o){if(Buffer.alloc)return Buffer.alloc(o);var r=new Buffer(o);return r.fill(0),r},isBuffer:function(o){return Buffer.isBuffer(o)},isStream:function(o){return o&&typeof o.on=="function"&&typeof o.pause=="function"&&typeof o.resume=="function"}}},{}],15:[function(t,e,i){"use strict";function o(w,x,S){var T,M=n.getTypeOf(x),I=n.extend(S||{},l);I.date=I.date||new Date,I.compression!==null&&(I.compression=I.compression.toUpperCase()),typeof I.unixPermissions=="string"&&(I.unixPermissions=parseInt(I.unixPermissions,8)),I.unixPermissions&&16384&I.unixPermissions&&(I.dir=!0),I.dosPermissions&&16&I.dosPermissions&&(I.dir=!0),I.dir&&(w=f(w)),I.createFolders&&(T=h(w))&&g.call(this,T,!0);var A=M==="string"&&I.binary===!1&&I.base64===!1;S&&S.binary!==void 0||(I.binary=!A),(x instanceof c&&x.uncompressedSize===0||I.dir||!x||x.length===0)&&(I.base64=!1,I.binary=!0,x="",I.compression="STORE",M="string");var D=null;D=x instanceof c||x instanceof a?x:p.isNode&&p.isStream(x)?new m(w,x):n.prepareContent(w,x,I.binary,I.optimizedBinaryString,I.base64);var E=new d(w,D,I);this.files[w]=E}var r=t("./utf8"),n=t("./utils"),a=t("./stream/GenericWorker"),s=t("./stream/StreamHelper"),l=t("./defaults"),c=t("./compressedObject"),d=t("./zipObject"),u=t("./generate"),p=t("./nodejsUtils"),m=t("./nodejs/NodejsStreamInputAdapter"),h=function(w){w.slice(-1)==="/"&&(w=w.substring(0,w.length-1));var x=w.lastIndexOf("/");return 0<x?w.substring(0,x):""},f=function(w){return w.slice(-1)!=="/"&&(w+="/"),w},g=function(w,x){return x=x!==void 0?x:l.createFolders,w=f(w),this.files[w]||o.call(this,w,null,{dir:!0,createFolders:x}),this.files[w]};function b(w){return Object.prototype.toString.call(w)==="[object RegExp]"}var y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(w){var x,S,T;for(x in this.files)T=this.files[x],(S=x.slice(this.root.length,x.length))&&x.slice(0,this.root.length)===this.root&&w(S,T)},filter:function(w){var x=[];return this.forEach(function(S,T){w(S,T)&&x.push(T)}),x},file:function(w,x,S){if(arguments.length!==1)return w=this.root+w,o.call(this,w,x,S),this;if(b(w)){var T=w;return this.filter(function(I,A){return!A.dir&&T.test(I)})}var M=this.files[this.root+w];return M&&!M.dir?M:null},folder:function(w){if(!w)return this;if(b(w))return this.filter(function(M,I){return I.dir&&w.test(M)});var x=this.root+w,S=g.call(this,x),T=this.clone();return T.root=S.name,T},remove:function(w){w=this.root+w;var x=this.files[w];if(x||(w.slice(-1)!=="/"&&(w+="/"),x=this.files[w]),x&&!x.dir)delete this.files[w];else for(var S=this.filter(function(M,I){return I.name.slice(0,w.length)===w}),T=0;T<S.length;T++)delete this.files[S[T].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(w){var x,S={};try{if((S=n.extend(w||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:r.utf8encode})).type=S.type.toLowerCase(),S.compression=S.compression.toUpperCase(),S.type==="binarystring"&&(S.type="string"),!S.type)throw new Error("No output type specified.");n.checkSupport(S.type),S.platform!=="darwin"&&S.platform!=="freebsd"&&S.platform!=="linux"&&S.platform!=="sunos"||(S.platform="UNIX"),S.platform==="win32"&&(S.platform="DOS");var T=S.comment||this.comment||"";x=u.generateWorker(this,S,T)}catch(M){(x=new a("error")).error(M)}return new s(x,S.type||"string",S.mimeType)},generateAsync:function(w,x){return this.generateInternalStream(w).accumulate(x)},generateNodeStream:function(w,x){return(w=w||{}).type||(w.type="nodebuffer"),this.generateInternalStream(w).toNodejsStream(x)}};e.exports=y},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(t,e,i){"use strict";e.exports=t("stream")},{stream:void 0}],17:[function(t,e,i){"use strict";var o=t("./DataReader");function r(n){o.call(this,n);for(var a=0;a<this.data.length;a++)n[a]=255&n[a]}t("../utils").inherits(r,o),r.prototype.byteAt=function(n){return this.data[this.zero+n]},r.prototype.lastIndexOfSignature=function(n){for(var a=n.charCodeAt(0),s=n.charCodeAt(1),l=n.charCodeAt(2),c=n.charCodeAt(3),d=this.length-4;0<=d;--d)if(this.data[d]===a&&this.data[d+1]===s&&this.data[d+2]===l&&this.data[d+3]===c)return d-this.zero;return-1},r.prototype.readAndCheckSignature=function(n){var a=n.charCodeAt(0),s=n.charCodeAt(1),l=n.charCodeAt(2),c=n.charCodeAt(3),d=this.readData(4);return a===d[0]&&s===d[1]&&l===d[2]&&c===d[3]},r.prototype.readData=function(n){if(this.checkOffset(n),n===0)return[];var a=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,a},e.exports=r},{"../utils":32,"./DataReader":18}],18:[function(t,e,i){"use strict";var o=t("../utils");function r(n){this.data=n,this.length=n.length,this.index=0,this.zero=0}r.prototype={checkOffset:function(n){this.checkIndex(this.index+n)},checkIndex:function(n){if(this.length<this.zero+n||n<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+n+"). Corrupted zip ?")},setIndex:function(n){this.checkIndex(n),this.index=n},skip:function(n){this.setIndex(this.index+n)},byteAt:function(){},readInt:function(n){var a,s=0;for(this.checkOffset(n),a=this.index+n-1;a>=this.index;a--)s=(s<<8)+this.byteAt(a);return this.index+=n,s},readString:function(n){return o.transformTo("string",this.readData(n))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var n=this.readInt(4);return new Date(Date.UTC(1980+(n>>25&127),(n>>21&15)-1,n>>16&31,n>>11&31,n>>5&63,(31&n)<<1))}},e.exports=r},{"../utils":32}],19:[function(t,e,i){"use strict";var o=t("./Uint8ArrayReader");function r(n){o.call(this,n)}t("../utils").inherits(r,o),r.prototype.readData=function(n){this.checkOffset(n);var a=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,a},e.exports=r},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,i){"use strict";var o=t("./DataReader");function r(n){o.call(this,n)}t("../utils").inherits(r,o),r.prototype.byteAt=function(n){return this.data.charCodeAt(this.zero+n)},r.prototype.lastIndexOfSignature=function(n){return this.data.lastIndexOf(n)-this.zero},r.prototype.readAndCheckSignature=function(n){return n===this.readData(4)},r.prototype.readData=function(n){this.checkOffset(n);var a=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,a},e.exports=r},{"../utils":32,"./DataReader":18}],21:[function(t,e,i){"use strict";var o=t("./ArrayReader");function r(n){o.call(this,n)}t("../utils").inherits(r,o),r.prototype.readData=function(n){if(this.checkOffset(n),n===0)return new Uint8Array(0);var a=this.data.subarray(this.zero+this.index,this.zero+this.index+n);return this.index+=n,a},e.exports=r},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,i){"use strict";var o=t("../utils"),r=t("../support"),n=t("./ArrayReader"),a=t("./StringReader"),s=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(c){var d=o.getTypeOf(c);return o.checkSupport(d),d!=="string"||r.uint8array?d==="nodebuffer"?new s(c):r.uint8array?new l(o.transformTo("uint8array",c)):new n(o.transformTo("array",c)):new a(c)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,i){"use strict";i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(t,e,i){"use strict";var o=t("./GenericWorker"),r=t("../utils");function n(a){o.call(this,"ConvertWorker to "+a),this.destType=a}r.inherits(n,o),n.prototype.processChunk=function(a){this.push({data:r.transformTo(this.destType,a.data),meta:a.meta})},e.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,i){"use strict";var o=t("./GenericWorker"),r=t("../crc32");function n(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(n,o),n.prototype.processChunk=function(a){this.streamInfo.crc32=r(a.data,this.streamInfo.crc32||0),this.push(a)},e.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,i){"use strict";var o=t("../utils"),r=t("./GenericWorker");function n(a){r.call(this,"DataLengthProbe for "+a),this.propName=a,this.withStreamInfo(a,0)}o.inherits(n,r),n.prototype.processChunk=function(a){if(a){var s=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=s+a.data.length}r.prototype.processChunk.call(this,a)},e.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,i){"use strict";var o=t("../utils"),r=t("./GenericWorker");function n(a){r.call(this,"DataWorker");var s=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,a.then(function(l){s.dataIsReady=!0,s.data=l,s.max=l&&l.length||0,s.type=o.getTypeOf(l),s.isPaused||s._tickAndRepeat()},function(l){s.error(l)})}o.inherits(n,r),n.prototype.cleanUp=function(){r.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var a=null,s=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":a=this.data.substring(this.index,s);break;case"uint8array":a=this.data.subarray(this.index,s);break;case"array":case"nodebuffer":a=this.data.slice(this.index,s)}return this.index=s,this.push({data:a,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,i){"use strict";function o(r){this.name=r||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(r){this.emit("data",r)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(r){this.emit("error",r)}return!0},error:function(r){return!this.isFinished&&(this.isPaused?this.generatedError=r:(this.isFinished=!0,this.emit("error",r),this.previous&&this.previous.error(r),this.cleanUp()),!0)},on:function(r,n){return this._listeners[r].push(n),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(r,n){if(this._listeners[r])for(var a=0;a<this._listeners[r].length;a++)this._listeners[r][a].call(this,n)},pipe:function(r){return r.registerPrevious(this)},registerPrevious:function(r){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=r.streamInfo,this.mergeStreamInfo(),this.previous=r;var n=this;return r.on("data",function(a){n.processChunk(a)}),r.on("end",function(){n.end()}),r.on("error",function(a){n.error(a)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var r=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),r=!0),this.previous&&this.previous.resume(),!r},flush:function(){},processChunk:function(r){this.push(r)},withStreamInfo:function(r,n){return this.extraStreamInfo[r]=n,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var r in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,r)&&(this.streamInfo[r]=this.extraStreamInfo[r])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var r="Worker "+this.name;return this.previous?this.previous+" -> "+r:r}},e.exports=o},{}],29:[function(t,e,i){"use strict";var o=t("../utils"),r=t("./ConvertWorker"),n=t("./GenericWorker"),a=t("../base64"),s=t("../support"),l=t("../external"),c=null;if(s.nodestream)try{c=t("../nodejs/NodejsStreamOutputAdapter")}catch{}function d(p,m){return new l.Promise(function(h,f){var g=[],b=p._internalType,y=p._outputType,w=p._mimeType;p.on("data",function(x,S){g.push(x),m&&m(S)}).on("error",function(x){g=[],f(x)}).on("end",function(){try{var x=(function(S,T,M){switch(S){case"blob":return o.newBlob(o.transformTo("arraybuffer",T),M);case"base64":return a.encode(T);default:return o.transformTo(S,T)}})(y,(function(S,T){var M,I=0,A=null,D=0;for(M=0;M<T.length;M++)D+=T[M].length;switch(S){case"string":return T.join("");case"array":return Array.prototype.concat.apply([],T);case"uint8array":for(A=new Uint8Array(D),M=0;M<T.length;M++)A.set(T[M],I),I+=T[M].length;return A;case"nodebuffer":return Buffer.concat(T);default:throw new Error("concat : unsupported type '"+S+"'")}})(b,g),w);h(x)}catch(S){f(S)}g=[]}).resume()})}function u(p,m,h){var f=m;switch(m){case"blob":case"arraybuffer":f="uint8array";break;case"base64":f="string"}try{this._internalType=f,this._outputType=m,this._mimeType=h,o.checkSupport(f),this._worker=p.pipe(new r(f)),p.lock()}catch(g){this._worker=new n("error"),this._worker.error(g)}}u.prototype={accumulate:function(p){return d(this,p)},on:function(p,m){var h=this;return p==="data"?this._worker.on(p,function(f){m.call(h,f.data,f.meta)}):this._worker.on(p,function(){o.delay(m,arguments,h)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(p){if(o.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:this._outputType!=="nodebuffer"},p)}},e.exports=u},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,e,i){"use strict";if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",i.nodebuffer=typeof Buffer<"u",i.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")i.blob=!1;else{var o=new ArrayBuffer(0);try{i.blob=new Blob([o],{type:"application/zip"}).size===0}catch{try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);r.append(o),i.blob=r.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!t("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(t,e,i){"use strict";for(var o=t("./utils"),r=t("./support"),n=t("./nodejsUtils"),a=t("./stream/GenericWorker"),s=new Array(256),l=0;l<256;l++)s[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;s[254]=s[254]=1;function c(){a.call(this,"utf-8 decode"),this.leftOver=null}function d(){a.call(this,"utf-8 encode")}i.utf8encode=function(u){return r.nodebuffer?n.newBufferFrom(u,"utf-8"):(function(p){var m,h,f,g,b,y=p.length,w=0;for(g=0;g<y;g++)(64512&(h=p.charCodeAt(g)))==55296&&g+1<y&&(64512&(f=p.charCodeAt(g+1)))==56320&&(h=65536+(h-55296<<10)+(f-56320),g++),w+=h<128?1:h<2048?2:h<65536?3:4;for(m=r.uint8array?new Uint8Array(w):new Array(w),g=b=0;b<w;g++)(64512&(h=p.charCodeAt(g)))==55296&&g+1<y&&(64512&(f=p.charCodeAt(g+1)))==56320&&(h=65536+(h-55296<<10)+(f-56320),g++),h<128?m[b++]=h:(h<2048?m[b++]=192|h>>>6:(h<65536?m[b++]=224|h>>>12:(m[b++]=240|h>>>18,m[b++]=128|h>>>12&63),m[b++]=128|h>>>6&63),m[b++]=128|63&h);return m})(u)},i.utf8decode=function(u){return r.nodebuffer?o.transformTo("nodebuffer",u).toString("utf-8"):(function(p){var m,h,f,g,b=p.length,y=new Array(2*b);for(m=h=0;m<b;)if((f=p[m++])<128)y[h++]=f;else if(4<(g=s[f]))y[h++]=65533,m+=g-1;else{for(f&=g===2?31:g===3?15:7;1<g&&m<b;)f=f<<6|63&p[m++],g--;1<g?y[h++]=65533:f<65536?y[h++]=f:(f-=65536,y[h++]=55296|f>>10&1023,y[h++]=56320|1023&f)}return y.length!==h&&(y.subarray?y=y.subarray(0,h):y.length=h),o.applyFromCharCode(y)})(u=o.transformTo(r.uint8array?"uint8array":"array",u))},o.inherits(c,a),c.prototype.processChunk=function(u){var p=o.transformTo(r.uint8array?"uint8array":"array",u.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var m=p;(p=new Uint8Array(m.length+this.leftOver.length)).set(this.leftOver,0),p.set(m,this.leftOver.length)}else p=this.leftOver.concat(p);this.leftOver=null}var h=(function(g,b){var y;for((b=b||g.length)>g.length&&(b=g.length),y=b-1;0<=y&&(192&g[y])==128;)y--;return y<0||y===0?b:y+s[g[y]]>b?y:b})(p),f=p;h!==p.length&&(r.uint8array?(f=p.subarray(0,h),this.leftOver=p.subarray(h,p.length)):(f=p.slice(0,h),this.leftOver=p.slice(h,p.length))),this.push({data:i.utf8decode(f),meta:u.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=c,o.inherits(d,a),d.prototype.processChunk=function(u){this.push({data:i.utf8encode(u.data),meta:u.meta})},i.Utf8EncodeWorker=d},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,i){"use strict";var o=t("./support"),r=t("./base64"),n=t("./nodejsUtils"),a=t("./external");function s(m){return m}function l(m,h){for(var f=0;f<m.length;++f)h[f]=255&m.charCodeAt(f);return h}t("setimmediate"),i.newBlob=function(m,h){i.checkSupport("blob");try{return new Blob([m],{type:h})}catch{try{var f=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return f.append(m),f.getBlob(h)}catch{throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(m,h,f){var g=[],b=0,y=m.length;if(y<=f)return String.fromCharCode.apply(null,m);for(;b<y;)h==="array"||h==="nodebuffer"?g.push(String.fromCharCode.apply(null,m.slice(b,Math.min(b+f,y)))):g.push(String.fromCharCode.apply(null,m.subarray(b,Math.min(b+f,y)))),b+=f;return g.join("")},stringifyByChar:function(m){for(var h="",f=0;f<m.length;f++)h+=String.fromCharCode(m[f]);return h},applyCanBeUsed:{uint8array:(function(){try{return o.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return o.nodebuffer&&String.fromCharCode.apply(null,n.allocBuffer(1)).length===1}catch{return!1}})()}};function d(m){var h=65536,f=i.getTypeOf(m),g=!0;if(f==="uint8array"?g=c.applyCanBeUsed.uint8array:f==="nodebuffer"&&(g=c.applyCanBeUsed.nodebuffer),g)for(;1<h;)try{return c.stringifyByChunk(m,f,h)}catch{h=Math.floor(h/2)}return c.stringifyByChar(m)}function u(m,h){for(var f=0;f<m.length;f++)h[f]=m[f];return h}i.applyFromCharCode=d;var p={};p.string={string:s,array:function(m){return l(m,new Array(m.length))},arraybuffer:function(m){return p.string.uint8array(m).buffer},uint8array:function(m){return l(m,new Uint8Array(m.length))},nodebuffer:function(m){return l(m,n.allocBuffer(m.length))}},p.array={string:d,array:s,arraybuffer:function(m){return new Uint8Array(m).buffer},uint8array:function(m){return new Uint8Array(m)},nodebuffer:function(m){return n.newBufferFrom(m)}},p.arraybuffer={string:function(m){return d(new Uint8Array(m))},array:function(m){return u(new Uint8Array(m),new Array(m.byteLength))},arraybuffer:s,uint8array:function(m){return new Uint8Array(m)},nodebuffer:function(m){return n.newBufferFrom(new Uint8Array(m))}},p.uint8array={string:d,array:function(m){return u(m,new Array(m.length))},arraybuffer:function(m){return m.buffer},uint8array:s,nodebuffer:function(m){return n.newBufferFrom(m)}},p.nodebuffer={string:d,array:function(m){return u(m,new Array(m.length))},arraybuffer:function(m){return p.nodebuffer.uint8array(m).buffer},uint8array:function(m){return u(m,new Uint8Array(m.length))},nodebuffer:s},i.transformTo=function(m,h){if(h=h||"",!m)return h;i.checkSupport(m);var f=i.getTypeOf(h);return p[f][m](h)},i.resolve=function(m){for(var h=m.split("/"),f=[],g=0;g<h.length;g++){var b=h[g];b==="."||b===""&&g!==0&&g!==h.length-1||(b===".."?f.pop():f.push(b))}return f.join("/")},i.getTypeOf=function(m){return typeof m=="string"?"string":Object.prototype.toString.call(m)==="[object Array]"?"array":o.nodebuffer&&n.isBuffer(m)?"nodebuffer":o.uint8array&&m instanceof Uint8Array?"uint8array":o.arraybuffer&&m instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(m){if(!o[m.toLowerCase()])throw new Error(m+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(m){var h,f,g="";for(f=0;f<(m||"").length;f++)g+="\\x"+((h=m.charCodeAt(f))<16?"0":"")+h.toString(16).toUpperCase();return g},i.delay=function(m,h,f){setImmediate(function(){m.apply(f||null,h||[])})},i.inherits=function(m,h){function f(){}f.prototype=h.prototype,m.prototype=new f},i.extend=function(){var m,h,f={};for(m=0;m<arguments.length;m++)for(h in arguments[m])Object.prototype.hasOwnProperty.call(arguments[m],h)&&f[h]===void 0&&(f[h]=arguments[m][h]);return f},i.prepareContent=function(m,h,f,g,b){return a.Promise.resolve(h).then(function(y){return o.blob&&(y instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(y))!==-1)&&typeof FileReader<"u"?new a.Promise(function(w,x){var S=new FileReader;S.onload=function(T){w(T.target.result)},S.onerror=function(T){x(T.target.error)},S.readAsArrayBuffer(y)}):y}).then(function(y){var w=i.getTypeOf(y);return w?(w==="arraybuffer"?y=i.transformTo("uint8array",y):w==="string"&&(b?y=r.decode(y):f&&g!==!0&&(y=(function(x){return l(x,o.uint8array?new Uint8Array(x.length):new Array(x.length))})(y))),y):a.Promise.reject(new Error("Can't read the data of '"+m+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(t,e,i){"use strict";var o=t("./reader/readerFor"),r=t("./utils"),n=t("./signature"),a=t("./zipEntry"),s=t("./support");function l(c){this.files=[],this.loadOptions=c}l.prototype={checkSignature:function(c){if(!this.reader.readAndCheckSignature(c)){this.reader.index-=4;var d=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+r.pretty(d)+", expected "+r.pretty(c)+")")}},isSignature:function(c,d){var u=this.reader.index;this.reader.setIndex(c);var p=this.reader.readString(4)===d;return this.reader.setIndex(u),p},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var c=this.reader.readData(this.zipCommentLength),d=s.uint8array?"uint8array":"array",u=r.transformTo(d,c);this.zipComment=this.loadOptions.decodeFileName(u)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var c,d,u,p=this.zip64EndOfCentralSize-44;0<p;)c=this.reader.readInt(2),d=this.reader.readInt(4),u=this.reader.readData(d),this.zip64ExtensibleData[c]={id:c,length:d,value:u}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var c,d;for(c=0;c<this.files.length;c++)d=this.files[c],this.reader.setIndex(d.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),d.readLocalPart(this.reader),d.handleUTF8(),d.processAttributes()},readCentralDir:function(){var c;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(c=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(c);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var c=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(c<0)throw this.isSignature(0,n.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(c);var d=c;if(this.checkSignature(n.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===r.MAX_VALUE_16BITS||this.diskWithCentralDirStart===r.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===r.MAX_VALUE_16BITS||this.centralDirRecords===r.MAX_VALUE_16BITS||this.centralDirSize===r.MAX_VALUE_32BITS||this.centralDirOffset===r.MAX_VALUE_32BITS){if(this.zip64=!0,(c=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(c),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var u=this.centralDirOffset+this.centralDirSize;this.zip64&&(u+=20,u+=12+this.zip64EndOfCentralSize);var p=d-u;if(0<p)this.isSignature(d,n.CENTRAL_FILE_HEADER)||(this.reader.zero=p);else if(p<0)throw new Error("Corrupted zip: missing "+Math.abs(p)+" bytes.")},prepareReader:function(c){this.reader=o(c)},load:function(c){this.prepareReader(c),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(t,e,i){"use strict";var o=t("./reader/readerFor"),r=t("./utils"),n=t("./compressedObject"),a=t("./crc32"),s=t("./utf8"),l=t("./compressions"),c=t("./support");function d(u,p){this.options=u,this.loadOptions=p}d.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(u){var p,m;if(u.skip(22),this.fileNameLength=u.readInt(2),m=u.readInt(2),this.fileName=u.readData(this.fileNameLength),u.skip(m),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((p=(function(h){for(var f in l)if(Object.prototype.hasOwnProperty.call(l,f)&&l[f].magic===h)return l[f];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+r.pretty(this.compressionMethod)+" unknown (inner file : "+r.transformTo("string",this.fileName)+")");this.decompressed=new n(this.compressedSize,this.uncompressedSize,this.crc32,p,u.readData(this.compressedSize))},readCentralPart:function(u){this.versionMadeBy=u.readInt(2),u.skip(2),this.bitFlag=u.readInt(2),this.compressionMethod=u.readString(2),this.date=u.readDate(),this.crc32=u.readInt(4),this.compressedSize=u.readInt(4),this.uncompressedSize=u.readInt(4);var p=u.readInt(2);if(this.extraFieldsLength=u.readInt(2),this.fileCommentLength=u.readInt(2),this.diskNumberStart=u.readInt(2),this.internalFileAttributes=u.readInt(2),this.externalFileAttributes=u.readInt(4),this.localHeaderOffset=u.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");u.skip(p),this.readExtraFields(u),this.parseZIP64ExtraField(u),this.fileComment=u.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var u=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),u==0&&(this.dosPermissions=63&this.externalFileAttributes),u==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var u=o(this.extraFields[1].value);this.uncompressedSize===r.MAX_VALUE_32BITS&&(this.uncompressedSize=u.readInt(8)),this.compressedSize===r.MAX_VALUE_32BITS&&(this.compressedSize=u.readInt(8)),this.localHeaderOffset===r.MAX_VALUE_32BITS&&(this.localHeaderOffset=u.readInt(8)),this.diskNumberStart===r.MAX_VALUE_32BITS&&(this.diskNumberStart=u.readInt(4))}},readExtraFields:function(u){var p,m,h,f=u.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});u.index+4<f;)p=u.readInt(2),m=u.readInt(2),h=u.readData(m),this.extraFields[p]={id:p,length:m,value:h};u.setIndex(f)},handleUTF8:function(){var u=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var p=this.findExtraFieldUnicodePath();if(p!==null)this.fileNameStr=p;else{var m=r.transformTo(u,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(m)}var h=this.findExtraFieldUnicodeComment();if(h!==null)this.fileCommentStr=h;else{var f=r.transformTo(u,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(f)}}},findExtraFieldUnicodePath:function(){var u=this.extraFields[28789];if(u){var p=o(u.value);return p.readInt(1)!==1||a(this.fileName)!==p.readInt(4)?null:s.utf8decode(p.readData(u.length-5))}return null},findExtraFieldUnicodeComment:function(){var u=this.extraFields[25461];if(u){var p=o(u.value);return p.readInt(1)!==1||a(this.fileComment)!==p.readInt(4)?null:s.utf8decode(p.readData(u.length-5))}return null}},e.exports=d},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,e,i){"use strict";function o(p,m,h){this.name=p,this.dir=h.dir,this.date=h.date,this.comment=h.comment,this.unixPermissions=h.unixPermissions,this.dosPermissions=h.dosPermissions,this._data=m,this._dataBinary=h.binary,this.options={compression:h.compression,compressionOptions:h.compressionOptions}}var r=t("./stream/StreamHelper"),n=t("./stream/DataWorker"),a=t("./utf8"),s=t("./compressedObject"),l=t("./stream/GenericWorker");o.prototype={internalStream:function(p){var m=null,h="string";try{if(!p)throw new Error("No output type specified.");var f=(h=p.toLowerCase())==="string"||h==="text";h!=="binarystring"&&h!=="text"||(h="string"),m=this._decompressWorker();var g=!this._dataBinary;g&&!f&&(m=m.pipe(new a.Utf8EncodeWorker)),!g&&f&&(m=m.pipe(new a.Utf8DecodeWorker))}catch(b){(m=new l("error")).error(b)}return new r(m,h,"")},async:function(p,m){return this.internalStream(p).accumulate(m)},nodeStream:function(p,m){return this.internalStream(p||"nodebuffer").toNodejsStream(m)},_compressWorker:function(p,m){if(this._data instanceof s&&this._data.compression.magic===p.magic)return this._data.getCompressedWorker();var h=this._decompressWorker();return this._dataBinary||(h=h.pipe(new a.Utf8EncodeWorker)),s.createWorkerFrom(h,p,m)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof l?this._data:new n(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],d=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},u=0;u<c.length;u++)o.prototype[c[u]]=d;e.exports=o},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,e,i){(function(o){"use strict";var r,n,a=o.MutationObserver||o.WebKitMutationObserver;if(a){var s=0,l=new a(p),c=o.document.createTextNode("");l.observe(c,{characterData:!0}),r=function(){c.data=s=++s%2}}else if(o.setImmediate||o.MessageChannel===void 0)r="document"in o&&"onreadystatechange"in o.document.createElement("script")?function(){var m=o.document.createElement("script");m.onreadystatechange=function(){p(),m.onreadystatechange=null,m.parentNode.removeChild(m),m=null},o.document.documentElement.appendChild(m)}:function(){setTimeout(p,0)};else{var d=new o.MessageChannel;d.port1.onmessage=p,r=function(){d.port2.postMessage(0)}}var u=[];function p(){var m,h;n=!0;for(var f=u.length;f;){for(h=u,u=[],m=-1;++m<f;)h[m]();f=u.length}n=!1}e.exports=function(m){u.push(m)!==1||n||r()}}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(t,e,i){"use strict";var o=t("immediate");function r(){}var n={},a=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function c(f){if(typeof f!="function")throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,f!==r&&m(this,f)}function d(f,g,b){this.promise=f,typeof g=="function"&&(this.onFulfilled=g,this.callFulfilled=this.otherCallFulfilled),typeof b=="function"&&(this.onRejected=b,this.callRejected=this.otherCallRejected)}function u(f,g,b){o(function(){var y;try{y=g(b)}catch(w){return n.reject(f,w)}y===f?n.reject(f,new TypeError("Cannot resolve promise with itself")):n.resolve(f,y)})}function p(f){var g=f&&f.then;if(f&&(typeof f=="object"||typeof f=="function")&&typeof g=="function")return function(){g.apply(f,arguments)}}function m(f,g){var b=!1;function y(S){b||(b=!0,n.reject(f,S))}function w(S){b||(b=!0,n.resolve(f,S))}var x=h(function(){g(w,y)});x.status==="error"&&y(x.value)}function h(f,g){var b={};try{b.value=f(g),b.status="success"}catch(y){b.status="error",b.value=y}return b}(e.exports=c).prototype.finally=function(f){if(typeof f!="function")return this;var g=this.constructor;return this.then(function(b){return g.resolve(f()).then(function(){return b})},function(b){return g.resolve(f()).then(function(){throw b})})},c.prototype.catch=function(f){return this.then(null,f)},c.prototype.then=function(f,g){if(typeof f!="function"&&this.state===s||typeof g!="function"&&this.state===a)return this;var b=new this.constructor(r);return this.state!==l?u(b,this.state===s?f:g,this.outcome):this.queue.push(new d(b,f,g)),b},d.prototype.callFulfilled=function(f){n.resolve(this.promise,f)},d.prototype.otherCallFulfilled=function(f){u(this.promise,this.onFulfilled,f)},d.prototype.callRejected=function(f){n.reject(this.promise,f)},d.prototype.otherCallRejected=function(f){u(this.promise,this.onRejected,f)},n.resolve=function(f,g){var b=h(p,g);if(b.status==="error")return n.reject(f,b.value);var y=b.value;if(y)m(f,y);else{f.state=s,f.outcome=g;for(var w=-1,x=f.queue.length;++w<x;)f.queue[w].callFulfilled(g)}return f},n.reject=function(f,g){f.state=a,f.outcome=g;for(var b=-1,y=f.queue.length;++b<y;)f.queue[b].callRejected(g);return f},c.resolve=function(f){return f instanceof this?f:n.resolve(new this(r),f)},c.reject=function(f){var g=new this(r);return n.reject(g,f)},c.all=function(f){var g=this;if(Object.prototype.toString.call(f)!=="[object Array]")return this.reject(new TypeError("must be an array"));var b=f.length,y=!1;if(!b)return this.resolve([]);for(var w=new Array(b),x=0,S=-1,T=new this(r);++S<b;)M(f[S],S);return T;function M(I,A){g.resolve(I).then(function(D){w[A]=D,++x!==b||y||(y=!0,n.resolve(T,w))},function(D){y||(y=!0,n.reject(T,D))})}},c.race=function(f){var g=this;if(Object.prototype.toString.call(f)!=="[object Array]")return this.reject(new TypeError("must be an array"));var b=f.length,y=!1;if(!b)return this.resolve([]);for(var w=-1,x=new this(r);++w<b;)S=f[w],g.resolve(S).then(function(T){y||(y=!0,n.resolve(x,T))},function(T){y||(y=!0,n.reject(x,T))});var S;return x}},{immediate:36}],38:[function(t,e,i){"use strict";var o={};(0,t("./lib/utils/common").assign)(o,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,e,i){"use strict";var o=t("./zlib/deflate"),r=t("./utils/common"),n=t("./utils/strings"),a=t("./zlib/messages"),s=t("./zlib/zstream"),l=Object.prototype.toString,c=0,d=-1,u=0,p=8;function m(f){if(!(this instanceof m))return new m(f);this.options=r.assign({level:d,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:u,to:""},f||{});var g=this.options;g.raw&&0<g.windowBits?g.windowBits=-g.windowBits:g.gzip&&0<g.windowBits&&g.windowBits<16&&(g.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var b=o.deflateInit2(this.strm,g.level,g.method,g.windowBits,g.memLevel,g.strategy);if(b!==c)throw new Error(a[b]);if(g.header&&o.deflateSetHeader(this.strm,g.header),g.dictionary){var y;if(y=typeof g.dictionary=="string"?n.string2buf(g.dictionary):l.call(g.dictionary)==="[object ArrayBuffer]"?new Uint8Array(g.dictionary):g.dictionary,(b=o.deflateSetDictionary(this.strm,y))!==c)throw new Error(a[b]);this._dict_set=!0}}function h(f,g){var b=new m(g);if(b.push(f,!0),b.err)throw b.msg||a[b.err];return b.result}m.prototype.push=function(f,g){var b,y,w=this.strm,x=this.options.chunkSize;if(this.ended)return!1;y=g===~~g?g:g===!0?4:0,typeof f=="string"?w.input=n.string2buf(f):l.call(f)==="[object ArrayBuffer]"?w.input=new Uint8Array(f):w.input=f,w.next_in=0,w.avail_in=w.input.length;do{if(w.avail_out===0&&(w.output=new r.Buf8(x),w.next_out=0,w.avail_out=x),(b=o.deflate(w,y))!==1&&b!==c)return this.onEnd(b),!(this.ended=!0);w.avail_out!==0&&(w.avail_in!==0||y!==4&&y!==2)||(this.options.to==="string"?this.onData(n.buf2binstring(r.shrinkBuf(w.output,w.next_out))):this.onData(r.shrinkBuf(w.output,w.next_out)))}while((0<w.avail_in||w.avail_out===0)&&b!==1);return y===4?(b=o.deflateEnd(this.strm),this.onEnd(b),this.ended=!0,b===c):y!==2||(this.onEnd(c),!(w.avail_out=0))},m.prototype.onData=function(f){this.chunks.push(f)},m.prototype.onEnd=function(f){f===c&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=f,this.msg=this.strm.msg},i.Deflate=m,i.deflate=h,i.deflateRaw=function(f,g){return(g=g||{}).raw=!0,h(f,g)},i.gzip=function(f,g){return(g=g||{}).gzip=!0,h(f,g)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,e,i){"use strict";var o=t("./zlib/inflate"),r=t("./utils/common"),n=t("./utils/strings"),a=t("./zlib/constants"),s=t("./zlib/messages"),l=t("./zlib/zstream"),c=t("./zlib/gzheader"),d=Object.prototype.toString;function u(m){if(!(this instanceof u))return new u(m);this.options=r.assign({chunkSize:16384,windowBits:0,to:""},m||{});var h=this.options;h.raw&&0<=h.windowBits&&h.windowBits<16&&(h.windowBits=-h.windowBits,h.windowBits===0&&(h.windowBits=-15)),!(0<=h.windowBits&&h.windowBits<16)||m&&m.windowBits||(h.windowBits+=32),15<h.windowBits&&h.windowBits<48&&(15&h.windowBits)==0&&(h.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var f=o.inflateInit2(this.strm,h.windowBits);if(f!==a.Z_OK)throw new Error(s[f]);this.header=new c,o.inflateGetHeader(this.strm,this.header)}function p(m,h){var f=new u(h);if(f.push(m,!0),f.err)throw f.msg||s[f.err];return f.result}u.prototype.push=function(m,h){var f,g,b,y,w,x,S=this.strm,T=this.options.chunkSize,M=this.options.dictionary,I=!1;if(this.ended)return!1;g=h===~~h?h:h===!0?a.Z_FINISH:a.Z_NO_FLUSH,typeof m=="string"?S.input=n.binstring2buf(m):d.call(m)==="[object ArrayBuffer]"?S.input=new Uint8Array(m):S.input=m,S.next_in=0,S.avail_in=S.input.length;do{if(S.avail_out===0&&(S.output=new r.Buf8(T),S.next_out=0,S.avail_out=T),(f=o.inflate(S,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&M&&(x=typeof M=="string"?n.string2buf(M):d.call(M)==="[object ArrayBuffer]"?new Uint8Array(M):M,f=o.inflateSetDictionary(this.strm,x)),f===a.Z_BUF_ERROR&&I===!0&&(f=a.Z_OK,I=!1),f!==a.Z_STREAM_END&&f!==a.Z_OK)return this.onEnd(f),!(this.ended=!0);S.next_out&&(S.avail_out!==0&&f!==a.Z_STREAM_END&&(S.avail_in!==0||g!==a.Z_FINISH&&g!==a.Z_SYNC_FLUSH)||(this.options.to==="string"?(b=n.utf8border(S.output,S.next_out),y=S.next_out-b,w=n.buf2string(S.output,b),S.next_out=y,S.avail_out=T-y,y&&r.arraySet(S.output,S.output,b,y,0),this.onData(w)):this.onData(r.shrinkBuf(S.output,S.next_out)))),S.avail_in===0&&S.avail_out===0&&(I=!0)}while((0<S.avail_in||S.avail_out===0)&&f!==a.Z_STREAM_END);return f===a.Z_STREAM_END&&(g=a.Z_FINISH),g===a.Z_FINISH?(f=o.inflateEnd(this.strm),this.onEnd(f),this.ended=!0,f===a.Z_OK):g!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(S.avail_out=0))},u.prototype.onData=function(m){this.chunks.push(m)},u.prototype.onEnd=function(m){m===a.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=m,this.msg=this.strm.msg},i.Inflate=u,i.inflate=p,i.inflateRaw=function(m,h){return(h=h||{}).raw=!0,p(m,h)},i.ungzip=p},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,e,i){"use strict";var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";i.assign=function(a){for(var s=Array.prototype.slice.call(arguments,1);s.length;){var l=s.shift();if(l){if(typeof l!="object")throw new TypeError(l+"must be non-object");for(var c in l)l.hasOwnProperty(c)&&(a[c]=l[c])}}return a},i.shrinkBuf=function(a,s){return a.length===s?a:a.subarray?a.subarray(0,s):(a.length=s,a)};var r={arraySet:function(a,s,l,c,d){if(s.subarray&&a.subarray)a.set(s.subarray(l,l+c),d);else for(var u=0;u<c;u++)a[d+u]=s[l+u]},flattenChunks:function(a){var s,l,c,d,u,p;for(s=c=0,l=a.length;s<l;s++)c+=a[s].length;for(p=new Uint8Array(c),s=d=0,l=a.length;s<l;s++)u=a[s],p.set(u,d),d+=u.length;return p}},n={arraySet:function(a,s,l,c,d){for(var u=0;u<c;u++)a[d+u]=s[l+u]},flattenChunks:function(a){return[].concat.apply([],a)}};i.setTyped=function(a){a?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,r)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,n))},i.setTyped(o)},{}],42:[function(t,e,i){"use strict";var o=t("./common"),r=!0,n=!0;try{String.fromCharCode.apply(null,[0])}catch{r=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{n=!1}for(var a=new o.Buf8(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(c,d){if(d<65537&&(c.subarray&&n||!c.subarray&&r))return String.fromCharCode.apply(null,o.shrinkBuf(c,d));for(var u="",p=0;p<d;p++)u+=String.fromCharCode(c[p]);return u}a[254]=a[254]=1,i.string2buf=function(c){var d,u,p,m,h,f=c.length,g=0;for(m=0;m<f;m++)(64512&(u=c.charCodeAt(m)))==55296&&m+1<f&&(64512&(p=c.charCodeAt(m+1)))==56320&&(u=65536+(u-55296<<10)+(p-56320),m++),g+=u<128?1:u<2048?2:u<65536?3:4;for(d=new o.Buf8(g),m=h=0;h<g;m++)(64512&(u=c.charCodeAt(m)))==55296&&m+1<f&&(64512&(p=c.charCodeAt(m+1)))==56320&&(u=65536+(u-55296<<10)+(p-56320),m++),u<128?d[h++]=u:(u<2048?d[h++]=192|u>>>6:(u<65536?d[h++]=224|u>>>12:(d[h++]=240|u>>>18,d[h++]=128|u>>>12&63),d[h++]=128|u>>>6&63),d[h++]=128|63&u);return d},i.buf2binstring=function(c){return l(c,c.length)},i.binstring2buf=function(c){for(var d=new o.Buf8(c.length),u=0,p=d.length;u<p;u++)d[u]=c.charCodeAt(u);return d},i.buf2string=function(c,d){var u,p,m,h,f=d||c.length,g=new Array(2*f);for(u=p=0;u<f;)if((m=c[u++])<128)g[p++]=m;else if(4<(h=a[m]))g[p++]=65533,u+=h-1;else{for(m&=h===2?31:h===3?15:7;1<h&&u<f;)m=m<<6|63&c[u++],h--;1<h?g[p++]=65533:m<65536?g[p++]=m:(m-=65536,g[p++]=55296|m>>10&1023,g[p++]=56320|1023&m)}return l(g,p)},i.utf8border=function(c,d){var u;for((d=d||c.length)>c.length&&(d=c.length),u=d-1;0<=u&&(192&c[u])==128;)u--;return u<0||u===0?d:u+a[c[u]]>d?u:d}},{"./common":41}],43:[function(t,e,i){"use strict";e.exports=function(o,r,n,a){for(var s=65535&o|0,l=o>>>16&65535|0,c=0;n!==0;){for(n-=c=2e3<n?2e3:n;l=l+(s=s+r[a++]|0)|0,--c;);s%=65521,l%=65521}return s|l<<16|0}},{}],44:[function(t,e,i){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(t,e,i){"use strict";var o=(function(){for(var r,n=[],a=0;a<256;a++){r=a;for(var s=0;s<8;s++)r=1&r?3988292384^r>>>1:r>>>1;n[a]=r}return n})();e.exports=function(r,n,a,s){var l=o,c=s+a;r^=-1;for(var d=s;d<c;d++)r=r>>>8^l[255&(r^n[d])];return-1^r}},{}],46:[function(t,e,i){"use strict";var o,r=t("../utils/common"),n=t("./trees"),a=t("./adler32"),s=t("./crc32"),l=t("./messages"),c=0,d=4,u=0,p=-2,m=-1,h=4,f=2,g=8,b=9,y=286,w=30,x=19,S=2*y+1,T=15,M=3,I=258,A=I+M+1,D=42,E=113,N=1,R=2,v=3,k=4;function P(Z,ee){return Z.msg=l[ee],ee}function O(Z){return(Z<<1)-(4<Z?9:0)}function _(Z){for(var ee=Z.length;0<=--ee;)Z[ee]=0}function j(Z){var ee=Z.state,ce=ee.pending;ce>Z.avail_out&&(ce=Z.avail_out),ce!==0&&(r.arraySet(Z.output,ee.pending_buf,ee.pending_out,ce,Z.next_out),Z.next_out+=ce,ee.pending_out+=ce,Z.total_out+=ce,Z.avail_out-=ce,ee.pending-=ce,ee.pending===0&&(ee.pending_out=0))}function B(Z,ee){n._tr_flush_block(Z,0<=Z.block_start?Z.block_start:-1,Z.strstart-Z.block_start,ee),Z.block_start=Z.strstart,j(Z.strm)}function V(Z,ee){Z.pending_buf[Z.pending++]=ee}function G(Z,ee){Z.pending_buf[Z.pending++]=ee>>>8&255,Z.pending_buf[Z.pending++]=255&ee}function Q(Z,ee){var ce,ne,oe=Z.max_chain_length,re=Z.strstart,Y=Z.prev_length,X=Z.nice_match,ie=Z.strstart>Z.w_size-A?Z.strstart-(Z.w_size-A):0,de=Z.window,fe=Z.w_mask,ye=Z.prev,Le=Z.strstart+I,Re=de[re+Y-1],Ne=de[re+Y];Z.prev_length>=Z.good_match&&(oe>>=2),X>Z.lookahead&&(X=Z.lookahead);do if(de[(ce=ee)+Y]===Ne&&de[ce+Y-1]===Re&&de[ce]===de[re]&&de[++ce]===de[re+1]){re+=2,ce++;do;while(de[++re]===de[++ce]&&de[++re]===de[++ce]&&de[++re]===de[++ce]&&de[++re]===de[++ce]&&de[++re]===de[++ce]&&de[++re]===de[++ce]&&de[++re]===de[++ce]&&de[++re]===de[++ce]&&re<Le);if(ne=I-(Le-re),re=Le-I,Y<ne){if(Z.match_start=ee,X<=(Y=ne))break;Re=de[re+Y-1],Ne=de[re+Y]}}while((ee=ye[ee&fe])>ie&&--oe!=0);return Y<=Z.lookahead?Y:Z.lookahead}function H(Z){var ee,ce,ne,oe,re,Y,X,ie,de,fe,ye=Z.w_size;do{if(oe=Z.window_size-Z.lookahead-Z.strstart,Z.strstart>=ye+(ye-A)){for(r.arraySet(Z.window,Z.window,ye,ye,0),Z.match_start-=ye,Z.strstart-=ye,Z.block_start-=ye,ee=ce=Z.hash_size;ne=Z.head[--ee],Z.head[ee]=ye<=ne?ne-ye:0,--ce;);for(ee=ce=ye;ne=Z.prev[--ee],Z.prev[ee]=ye<=ne?ne-ye:0,--ce;);oe+=ye}if(Z.strm.avail_in===0)break;if(Y=Z.strm,X=Z.window,ie=Z.strstart+Z.lookahead,de=oe,fe=void 0,fe=Y.avail_in,de<fe&&(fe=de),ce=fe===0?0:(Y.avail_in-=fe,r.arraySet(X,Y.input,Y.next_in,fe,ie),Y.state.wrap===1?Y.adler=a(Y.adler,X,fe,ie):Y.state.wrap===2&&(Y.adler=s(Y.adler,X,fe,ie)),Y.next_in+=fe,Y.total_in+=fe,fe),Z.lookahead+=ce,Z.lookahead+Z.insert>=M)for(re=Z.strstart-Z.insert,Z.ins_h=Z.window[re],Z.ins_h=(Z.ins_h<<Z.hash_shift^Z.window[re+1])&Z.hash_mask;Z.insert&&(Z.ins_h=(Z.ins_h<<Z.hash_shift^Z.window[re+M-1])&Z.hash_mask,Z.prev[re&Z.w_mask]=Z.head[Z.ins_h],Z.head[Z.ins_h]=re,re++,Z.insert--,!(Z.lookahead+Z.insert<M)););}while(Z.lookahead<A&&Z.strm.avail_in!==0)}function q(Z,ee){for(var ce,ne;;){if(Z.lookahead<A){if(H(Z),Z.lookahead<A&&ee===c)return N;if(Z.lookahead===0)break}if(ce=0,Z.lookahead>=M&&(Z.ins_h=(Z.ins_h<<Z.hash_shift^Z.window[Z.strstart+M-1])&Z.hash_mask,ce=Z.prev[Z.strstart&Z.w_mask]=Z.head[Z.ins_h],Z.head[Z.ins_h]=Z.strstart),ce!==0&&Z.strstart-ce<=Z.w_size-A&&(Z.match_length=Q(Z,ce)),Z.match_length>=M)if(ne=n._tr_tally(Z,Z.strstart-Z.match_start,Z.match_length-M),Z.lookahead-=Z.match_length,Z.match_length<=Z.max_lazy_match&&Z.lookahead>=M){for(Z.match_length--;Z.strstart++,Z.ins_h=(Z.ins_h<<Z.hash_shift^Z.window[Z.strstart+M-1])&Z.hash_mask,ce=Z.prev[Z.strstart&Z.w_mask]=Z.head[Z.ins_h],Z.head[Z.ins_h]=Z.strstart,--Z.match_length!=0;);Z.strstart++}else Z.strstart+=Z.match_length,Z.match_length=0,Z.ins_h=Z.window[Z.strstart],Z.ins_h=(Z.ins_h<<Z.hash_shift^Z.window[Z.strstart+1])&Z.hash_mask;else ne=n._tr_tally(Z,0,Z.window[Z.strstart]),Z.lookahead--,Z.strstart++;if(ne&&(B(Z,!1),Z.strm.avail_out===0))return N}return Z.insert=Z.strstart<M-1?Z.strstart:M-1,ee===d?(B(Z,!0),Z.strm.avail_out===0?v:k):Z.last_lit&&(B(Z,!1),Z.strm.avail_out===0)?N:R}function U(Z,ee){for(var ce,ne,oe;;){if(Z.lookahead<A){if(H(Z),Z.lookahead<A&&ee===c)return N;if(Z.lookahead===0)break}if(ce=0,Z.lookahead>=M&&(Z.ins_h=(Z.ins_h<<Z.hash_shift^Z.window[Z.strstart+M-1])&Z.hash_mask,ce=Z.prev[Z.strstart&Z.w_mask]=Z.head[Z.ins_h],Z.head[Z.ins_h]=Z.strstart),Z.prev_length=Z.match_length,Z.prev_match=Z.match_start,Z.match_length=M-1,ce!==0&&Z.prev_length<Z.max_lazy_match&&Z.strstart-ce<=Z.w_size-A&&(Z.match_length=Q(Z,ce),Z.match_length<=5&&(Z.strategy===1||Z.match_length===M&&4096<Z.strstart-Z.match_start)&&(Z.match_length=M-1)),Z.prev_length>=M&&Z.match_length<=Z.prev_length){for(oe=Z.strstart+Z.lookahead-M,ne=n._tr_tally(Z,Z.strstart-1-Z.prev_match,Z.prev_length-M),Z.lookahead-=Z.prev_length-1,Z.prev_length-=2;++Z.strstart<=oe&&(Z.ins_h=(Z.ins_h<<Z.hash_shift^Z.window[Z.strstart+M-1])&Z.hash_mask,ce=Z.prev[Z.strstart&Z.w_mask]=Z.head[Z.ins_h],Z.head[Z.ins_h]=Z.strstart),--Z.prev_length!=0;);if(Z.match_available=0,Z.match_length=M-1,Z.strstart++,ne&&(B(Z,!1),Z.strm.avail_out===0))return N}else if(Z.match_available){if((ne=n._tr_tally(Z,0,Z.window[Z.strstart-1]))&&B(Z,!1),Z.strstart++,Z.lookahead--,Z.strm.avail_out===0)return N}else Z.match_available=1,Z.strstart++,Z.lookahead--}return Z.match_available&&(ne=n._tr_tally(Z,0,Z.window[Z.strstart-1]),Z.match_available=0),Z.insert=Z.strstart<M-1?Z.strstart:M-1,ee===d?(B(Z,!0),Z.strm.avail_out===0?v:k):Z.last_lit&&(B(Z,!1),Z.strm.avail_out===0)?N:R}function F(Z,ee,ce,ne,oe){this.good_length=Z,this.max_lazy=ee,this.nice_length=ce,this.max_chain=ne,this.func=oe}function K(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=g,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new r.Buf16(2*S),this.dyn_dtree=new r.Buf16(2*(2*w+1)),this.bl_tree=new r.Buf16(2*(2*x+1)),_(this.dyn_ltree),_(this.dyn_dtree),_(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new r.Buf16(T+1),this.heap=new r.Buf16(2*y+1),_(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new r.Buf16(2*y+1),_(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function te(Z){var ee;return Z&&Z.state?(Z.total_in=Z.total_out=0,Z.data_type=f,(ee=Z.state).pending=0,ee.pending_out=0,ee.wrap<0&&(ee.wrap=-ee.wrap),ee.status=ee.wrap?D:E,Z.adler=ee.wrap===2?0:1,ee.last_flush=c,n._tr_init(ee),u):P(Z,p)}function ae(Z){var ee=te(Z);return ee===u&&(function(ce){ce.window_size=2*ce.w_size,_(ce.head),ce.max_lazy_match=o[ce.level].max_lazy,ce.good_match=o[ce.level].good_length,ce.nice_match=o[ce.level].nice_length,ce.max_chain_length=o[ce.level].max_chain,ce.strstart=0,ce.block_start=0,ce.lookahead=0,ce.insert=0,ce.match_length=ce.prev_length=M-1,ce.match_available=0,ce.ins_h=0})(Z.state),ee}function pe(Z,ee,ce,ne,oe,re){if(!Z)return p;var Y=1;if(ee===m&&(ee=6),ne<0?(Y=0,ne=-ne):15<ne&&(Y=2,ne-=16),oe<1||b<oe||ce!==g||ne<8||15<ne||ee<0||9<ee||re<0||h<re)return P(Z,p);ne===8&&(ne=9);var X=new K;return(Z.state=X).strm=Z,X.wrap=Y,X.gzhead=null,X.w_bits=ne,X.w_size=1<<X.w_bits,X.w_mask=X.w_size-1,X.hash_bits=oe+7,X.hash_size=1<<X.hash_bits,X.hash_mask=X.hash_size-1,X.hash_shift=~~((X.hash_bits+M-1)/M),X.window=new r.Buf8(2*X.w_size),X.head=new r.Buf16(X.hash_size),X.prev=new r.Buf16(X.w_size),X.lit_bufsize=1<<oe+6,X.pending_buf_size=4*X.lit_bufsize,X.pending_buf=new r.Buf8(X.pending_buf_size),X.d_buf=1*X.lit_bufsize,X.l_buf=3*X.lit_bufsize,X.level=ee,X.strategy=re,X.method=ce,ae(Z)}o=[new F(0,0,0,0,function(Z,ee){var ce=65535;for(ce>Z.pending_buf_size-5&&(ce=Z.pending_buf_size-5);;){if(Z.lookahead<=1){if(H(Z),Z.lookahead===0&&ee===c)return N;if(Z.lookahead===0)break}Z.strstart+=Z.lookahead,Z.lookahead=0;var ne=Z.block_start+ce;if((Z.strstart===0||Z.strstart>=ne)&&(Z.lookahead=Z.strstart-ne,Z.strstart=ne,B(Z,!1),Z.strm.avail_out===0)||Z.strstart-Z.block_start>=Z.w_size-A&&(B(Z,!1),Z.strm.avail_out===0))return N}return Z.insert=0,ee===d?(B(Z,!0),Z.strm.avail_out===0?v:k):(Z.strstart>Z.block_start&&(B(Z,!1),Z.strm.avail_out),N)}),new F(4,4,8,4,q),new F(4,5,16,8,q),new F(4,6,32,32,q),new F(4,4,16,16,U),new F(8,16,32,32,U),new F(8,16,128,128,U),new F(8,32,128,256,U),new F(32,128,258,1024,U),new F(32,258,258,4096,U)],i.deflateInit=function(Z,ee){return pe(Z,ee,g,15,8,0)},i.deflateInit2=pe,i.deflateReset=ae,i.deflateResetKeep=te,i.deflateSetHeader=function(Z,ee){return Z&&Z.state?Z.state.wrap!==2?p:(Z.state.gzhead=ee,u):p},i.deflate=function(Z,ee){var ce,ne,oe,re;if(!Z||!Z.state||5<ee||ee<0)return Z?P(Z,p):p;if(ne=Z.state,!Z.output||!Z.input&&Z.avail_in!==0||ne.status===666&&ee!==d)return P(Z,Z.avail_out===0?-5:p);if(ne.strm=Z,ce=ne.last_flush,ne.last_flush=ee,ne.status===D)if(ne.wrap===2)Z.adler=0,V(ne,31),V(ne,139),V(ne,8),ne.gzhead?(V(ne,(ne.gzhead.text?1:0)+(ne.gzhead.hcrc?2:0)+(ne.gzhead.extra?4:0)+(ne.gzhead.name?8:0)+(ne.gzhead.comment?16:0)),V(ne,255&ne.gzhead.time),V(ne,ne.gzhead.time>>8&255),V(ne,ne.gzhead.time>>16&255),V(ne,ne.gzhead.time>>24&255),V(ne,ne.level===9?2:2<=ne.strategy||ne.level<2?4:0),V(ne,255&ne.gzhead.os),ne.gzhead.extra&&ne.gzhead.extra.length&&(V(ne,255&ne.gzhead.extra.length),V(ne,ne.gzhead.extra.length>>8&255)),ne.gzhead.hcrc&&(Z.adler=s(Z.adler,ne.pending_buf,ne.pending,0)),ne.gzindex=0,ne.status=69):(V(ne,0),V(ne,0),V(ne,0),V(ne,0),V(ne,0),V(ne,ne.level===9?2:2<=ne.strategy||ne.level<2?4:0),V(ne,3),ne.status=E);else{var Y=g+(ne.w_bits-8<<4)<<8;Y|=(2<=ne.strategy||ne.level<2?0:ne.level<6?1:ne.level===6?2:3)<<6,ne.strstart!==0&&(Y|=32),Y+=31-Y%31,ne.status=E,G(ne,Y),ne.strstart!==0&&(G(ne,Z.adler>>>16),G(ne,65535&Z.adler)),Z.adler=1}if(ne.status===69)if(ne.gzhead.extra){for(oe=ne.pending;ne.gzindex<(65535&ne.gzhead.extra.length)&&(ne.pending!==ne.pending_buf_size||(ne.gzhead.hcrc&&ne.pending>oe&&(Z.adler=s(Z.adler,ne.pending_buf,ne.pending-oe,oe)),j(Z),oe=ne.pending,ne.pending!==ne.pending_buf_size));)V(ne,255&ne.gzhead.extra[ne.gzindex]),ne.gzindex++;ne.gzhead.hcrc&&ne.pending>oe&&(Z.adler=s(Z.adler,ne.pending_buf,ne.pending-oe,oe)),ne.gzindex===ne.gzhead.extra.length&&(ne.gzindex=0,ne.status=73)}else ne.status=73;if(ne.status===73)if(ne.gzhead.name){oe=ne.pending;do{if(ne.pending===ne.pending_buf_size&&(ne.gzhead.hcrc&&ne.pending>oe&&(Z.adler=s(Z.adler,ne.pending_buf,ne.pending-oe,oe)),j(Z),oe=ne.pending,ne.pending===ne.pending_buf_size)){re=1;break}re=ne.gzindex<ne.gzhead.name.length?255&ne.gzhead.name.charCodeAt(ne.gzindex++):0,V(ne,re)}while(re!==0);ne.gzhead.hcrc&&ne.pending>oe&&(Z.adler=s(Z.adler,ne.pending_buf,ne.pending-oe,oe)),re===0&&(ne.gzindex=0,ne.status=91)}else ne.status=91;if(ne.status===91)if(ne.gzhead.comment){oe=ne.pending;do{if(ne.pending===ne.pending_buf_size&&(ne.gzhead.hcrc&&ne.pending>oe&&(Z.adler=s(Z.adler,ne.pending_buf,ne.pending-oe,oe)),j(Z),oe=ne.pending,ne.pending===ne.pending_buf_size)){re=1;break}re=ne.gzindex<ne.gzhead.comment.length?255&ne.gzhead.comment.charCodeAt(ne.gzindex++):0,V(ne,re)}while(re!==0);ne.gzhead.hcrc&&ne.pending>oe&&(Z.adler=s(Z.adler,ne.pending_buf,ne.pending-oe,oe)),re===0&&(ne.status=103)}else ne.status=103;if(ne.status===103&&(ne.gzhead.hcrc?(ne.pending+2>ne.pending_buf_size&&j(Z),ne.pending+2<=ne.pending_buf_size&&(V(ne,255&Z.adler),V(ne,Z.adler>>8&255),Z.adler=0,ne.status=E)):ne.status=E),ne.pending!==0){if(j(Z),Z.avail_out===0)return ne.last_flush=-1,u}else if(Z.avail_in===0&&O(ee)<=O(ce)&&ee!==d)return P(Z,-5);if(ne.status===666&&Z.avail_in!==0)return P(Z,-5);if(Z.avail_in!==0||ne.lookahead!==0||ee!==c&&ne.status!==666){var X=ne.strategy===2?(function(ie,de){for(var fe;;){if(ie.lookahead===0&&(H(ie),ie.lookahead===0)){if(de===c)return N;break}if(ie.match_length=0,fe=n._tr_tally(ie,0,ie.window[ie.strstart]),ie.lookahead--,ie.strstart++,fe&&(B(ie,!1),ie.strm.avail_out===0))return N}return ie.insert=0,de===d?(B(ie,!0),ie.strm.avail_out===0?v:k):ie.last_lit&&(B(ie,!1),ie.strm.avail_out===0)?N:R})(ne,ee):ne.strategy===3?(function(ie,de){for(var fe,ye,Le,Re,Ne=ie.window;;){if(ie.lookahead<=I){if(H(ie),ie.lookahead<=I&&de===c)return N;if(ie.lookahead===0)break}if(ie.match_length=0,ie.lookahead>=M&&0<ie.strstart&&(ye=Ne[Le=ie.strstart-1])===Ne[++Le]&&ye===Ne[++Le]&&ye===Ne[++Le]){Re=ie.strstart+I;do;while(ye===Ne[++Le]&&ye===Ne[++Le]&&ye===Ne[++Le]&&ye===Ne[++Le]&&ye===Ne[++Le]&&ye===Ne[++Le]&&ye===Ne[++Le]&&ye===Ne[++Le]&&Le<Re);ie.match_length=I-(Re-Le),ie.match_length>ie.lookahead&&(ie.match_length=ie.lookahead)}if(ie.match_length>=M?(fe=n._tr_tally(ie,1,ie.match_length-M),ie.lookahead-=ie.match_length,ie.strstart+=ie.match_length,ie.match_length=0):(fe=n._tr_tally(ie,0,ie.window[ie.strstart]),ie.lookahead--,ie.strstart++),fe&&(B(ie,!1),ie.strm.avail_out===0))return N}return ie.insert=0,de===d?(B(ie,!0),ie.strm.avail_out===0?v:k):ie.last_lit&&(B(ie,!1),ie.strm.avail_out===0)?N:R})(ne,ee):o[ne.level].func(ne,ee);if(X!==v&&X!==k||(ne.status=666),X===N||X===v)return Z.avail_out===0&&(ne.last_flush=-1),u;if(X===R&&(ee===1?n._tr_align(ne):ee!==5&&(n._tr_stored_block(ne,0,0,!1),ee===3&&(_(ne.head),ne.lookahead===0&&(ne.strstart=0,ne.block_start=0,ne.insert=0))),j(Z),Z.avail_out===0))return ne.last_flush=-1,u}return ee!==d?u:ne.wrap<=0?1:(ne.wrap===2?(V(ne,255&Z.adler),V(ne,Z.adler>>8&255),V(ne,Z.adler>>16&255),V(ne,Z.adler>>24&255),V(ne,255&Z.total_in),V(ne,Z.total_in>>8&255),V(ne,Z.total_in>>16&255),V(ne,Z.total_in>>24&255)):(G(ne,Z.adler>>>16),G(ne,65535&Z.adler)),j(Z),0<ne.wrap&&(ne.wrap=-ne.wrap),ne.pending!==0?u:1)},i.deflateEnd=function(Z){var ee;return Z&&Z.state?(ee=Z.state.status)!==D&&ee!==69&&ee!==73&&ee!==91&&ee!==103&&ee!==E&&ee!==666?P(Z,p):(Z.state=null,ee===E?P(Z,-3):u):p},i.deflateSetDictionary=function(Z,ee){var ce,ne,oe,re,Y,X,ie,de,fe=ee.length;if(!Z||!Z.state||(re=(ce=Z.state).wrap)===2||re===1&&ce.status!==D||ce.lookahead)return p;for(re===1&&(Z.adler=a(Z.adler,ee,fe,0)),ce.wrap=0,fe>=ce.w_size&&(re===0&&(_(ce.head),ce.strstart=0,ce.block_start=0,ce.insert=0),de=new r.Buf8(ce.w_size),r.arraySet(de,ee,fe-ce.w_size,ce.w_size,0),ee=de,fe=ce.w_size),Y=Z.avail_in,X=Z.next_in,ie=Z.input,Z.avail_in=fe,Z.next_in=0,Z.input=ee,H(ce);ce.lookahead>=M;){for(ne=ce.strstart,oe=ce.lookahead-(M-1);ce.ins_h=(ce.ins_h<<ce.hash_shift^ce.window[ne+M-1])&ce.hash_mask,ce.prev[ne&ce.w_mask]=ce.head[ce.ins_h],ce.head[ce.ins_h]=ne,ne++,--oe;);ce.strstart=ne,ce.lookahead=M-1,H(ce)}return ce.strstart+=ce.lookahead,ce.block_start=ce.strstart,ce.insert=ce.lookahead,ce.lookahead=0,ce.match_length=ce.prev_length=M-1,ce.match_available=0,Z.next_in=X,Z.input=ie,Z.avail_in=Y,ce.wrap=re,u},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,e,i){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(t,e,i){"use strict";e.exports=function(o,r){var n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M,I,A,D,E,N,R;n=o.state,a=o.next_in,N=o.input,s=a+(o.avail_in-5),l=o.next_out,R=o.output,c=l-(r-o.avail_out),d=l+(o.avail_out-257),u=n.dmax,p=n.wsize,m=n.whave,h=n.wnext,f=n.window,g=n.hold,b=n.bits,y=n.lencode,w=n.distcode,x=(1<<n.lenbits)-1,S=(1<<n.distbits)-1;e:do{b<15&&(g+=N[a++]<<b,b+=8,g+=N[a++]<<b,b+=8),T=y[g&x];t:for(;;){if(g>>>=M=T>>>24,b-=M,(M=T>>>16&255)===0)R[l++]=65535&T;else{if(!(16&M)){if((64&M)==0){T=y[(65535&T)+(g&(1<<M)-1)];continue t}if(32&M){n.mode=12;break e}o.msg="invalid literal/length code",n.mode=30;break e}I=65535&T,(M&=15)&&(b<M&&(g+=N[a++]<<b,b+=8),I+=g&(1<<M)-1,g>>>=M,b-=M),b<15&&(g+=N[a++]<<b,b+=8,g+=N[a++]<<b,b+=8),T=w[g&S];i:for(;;){if(g>>>=M=T>>>24,b-=M,!(16&(M=T>>>16&255))){if((64&M)==0){T=w[(65535&T)+(g&(1<<M)-1)];continue i}o.msg="invalid distance code",n.mode=30;break e}if(A=65535&T,b<(M&=15)&&(g+=N[a++]<<b,(b+=8)<M&&(g+=N[a++]<<b,b+=8)),u<(A+=g&(1<<M)-1)){o.msg="invalid distance too far back",n.mode=30;break e}if(g>>>=M,b-=M,(M=l-c)<A){if(m<(M=A-M)&&n.sane){o.msg="invalid distance too far back",n.mode=30;break e}if(E=f,(D=0)===h){if(D+=p-M,M<I){for(I-=M;R[l++]=f[D++],--M;);D=l-A,E=R}}else if(h<M){if(D+=p+h-M,(M-=h)<I){for(I-=M;R[l++]=f[D++],--M;);if(D=0,h<I){for(I-=M=h;R[l++]=f[D++],--M;);D=l-A,E=R}}}else if(D+=h-M,M<I){for(I-=M;R[l++]=f[D++],--M;);D=l-A,E=R}for(;2<I;)R[l++]=E[D++],R[l++]=E[D++],R[l++]=E[D++],I-=3;I&&(R[l++]=E[D++],1<I&&(R[l++]=E[D++]))}else{for(D=l-A;R[l++]=R[D++],R[l++]=R[D++],R[l++]=R[D++],2<(I-=3););I&&(R[l++]=R[D++],1<I&&(R[l++]=R[D++]))}break}}break}}while(a<s&&l<d);a-=I=b>>3,g&=(1<<(b-=I<<3))-1,o.next_in=a,o.next_out=l,o.avail_in=a<s?s-a+5:5-(a-s),o.avail_out=l<d?d-l+257:257-(l-d),n.hold=g,n.bits=b}},{}],49:[function(t,e,i){"use strict";var o=t("../utils/common"),r=t("./adler32"),n=t("./crc32"),a=t("./inffast"),s=t("./inftrees"),l=1,c=2,d=0,u=-2,p=1,m=852,h=592;function f(D){return(D>>>24&255)+(D>>>8&65280)+((65280&D)<<8)+((255&D)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function b(D){var E;return D&&D.state?(E=D.state,D.total_in=D.total_out=E.total=0,D.msg="",E.wrap&&(D.adler=1&E.wrap),E.mode=p,E.last=0,E.havedict=0,E.dmax=32768,E.head=null,E.hold=0,E.bits=0,E.lencode=E.lendyn=new o.Buf32(m),E.distcode=E.distdyn=new o.Buf32(h),E.sane=1,E.back=-1,d):u}function y(D){var E;return D&&D.state?((E=D.state).wsize=0,E.whave=0,E.wnext=0,b(D)):u}function w(D,E){var N,R;return D&&D.state?(R=D.state,E<0?(N=0,E=-E):(N=1+(E>>4),E<48&&(E&=15)),E&&(E<8||15<E)?u:(R.window!==null&&R.wbits!==E&&(R.window=null),R.wrap=N,R.wbits=E,y(D))):u}function x(D,E){var N,R;return D?(R=new g,(D.state=R).window=null,(N=w(D,E))!==d&&(D.state=null),N):u}var S,T,M=!0;function I(D){if(M){var E;for(S=new o.Buf32(512),T=new o.Buf32(32),E=0;E<144;)D.lens[E++]=8;for(;E<256;)D.lens[E++]=9;for(;E<280;)D.lens[E++]=7;for(;E<288;)D.lens[E++]=8;for(s(l,D.lens,0,288,S,0,D.work,{bits:9}),E=0;E<32;)D.lens[E++]=5;s(c,D.lens,0,32,T,0,D.work,{bits:5}),M=!1}D.lencode=S,D.lenbits=9,D.distcode=T,D.distbits=5}function A(D,E,N,R){var v,k=D.state;return k.window===null&&(k.wsize=1<<k.wbits,k.wnext=0,k.whave=0,k.window=new o.Buf8(k.wsize)),R>=k.wsize?(o.arraySet(k.window,E,N-k.wsize,k.wsize,0),k.wnext=0,k.whave=k.wsize):(R<(v=k.wsize-k.wnext)&&(v=R),o.arraySet(k.window,E,N-R,v,k.wnext),(R-=v)?(o.arraySet(k.window,E,N-R,R,0),k.wnext=R,k.whave=k.wsize):(k.wnext+=v,k.wnext===k.wsize&&(k.wnext=0),k.whave<k.wsize&&(k.whave+=v))),0}i.inflateReset=y,i.inflateReset2=w,i.inflateResetKeep=b,i.inflateInit=function(D){return x(D,15)},i.inflateInit2=x,i.inflate=function(D,E){var N,R,v,k,P,O,_,j,B,V,G,Q,H,q,U,F,K,te,ae,pe,Z,ee,ce,ne,oe=0,re=new o.Buf8(4),Y=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!D||!D.state||!D.output||!D.input&&D.avail_in!==0)return u;(N=D.state).mode===12&&(N.mode=13),P=D.next_out,v=D.output,_=D.avail_out,k=D.next_in,R=D.input,O=D.avail_in,j=N.hold,B=N.bits,V=O,G=_,ee=d;e:for(;;)switch(N.mode){case p:if(N.wrap===0){N.mode=13;break}for(;B<16;){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}if(2&N.wrap&&j===35615){re[N.check=0]=255&j,re[1]=j>>>8&255,N.check=n(N.check,re,2,0),B=j=0,N.mode=2;break}if(N.flags=0,N.head&&(N.head.done=!1),!(1&N.wrap)||(((255&j)<<8)+(j>>8))%31){D.msg="incorrect header check",N.mode=30;break}if((15&j)!=8){D.msg="unknown compression method",N.mode=30;break}if(B-=4,Z=8+(15&(j>>>=4)),N.wbits===0)N.wbits=Z;else if(Z>N.wbits){D.msg="invalid window size",N.mode=30;break}N.dmax=1<<Z,D.adler=N.check=1,N.mode=512&j?10:12,B=j=0;break;case 2:for(;B<16;){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}if(N.flags=j,(255&N.flags)!=8){D.msg="unknown compression method",N.mode=30;break}if(57344&N.flags){D.msg="unknown header flags set",N.mode=30;break}N.head&&(N.head.text=j>>8&1),512&N.flags&&(re[0]=255&j,re[1]=j>>>8&255,N.check=n(N.check,re,2,0)),B=j=0,N.mode=3;case 3:for(;B<32;){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}N.head&&(N.head.time=j),512&N.flags&&(re[0]=255&j,re[1]=j>>>8&255,re[2]=j>>>16&255,re[3]=j>>>24&255,N.check=n(N.check,re,4,0)),B=j=0,N.mode=4;case 4:for(;B<16;){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}N.head&&(N.head.xflags=255&j,N.head.os=j>>8),512&N.flags&&(re[0]=255&j,re[1]=j>>>8&255,N.check=n(N.check,re,2,0)),B=j=0,N.mode=5;case 5:if(1024&N.flags){for(;B<16;){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}N.length=j,N.head&&(N.head.extra_len=j),512&N.flags&&(re[0]=255&j,re[1]=j>>>8&255,N.check=n(N.check,re,2,0)),B=j=0}else N.head&&(N.head.extra=null);N.mode=6;case 6:if(1024&N.flags&&(O<(Q=N.length)&&(Q=O),Q&&(N.head&&(Z=N.head.extra_len-N.length,N.head.extra||(N.head.extra=new Array(N.head.extra_len)),o.arraySet(N.head.extra,R,k,Q,Z)),512&N.flags&&(N.check=n(N.check,R,Q,k)),O-=Q,k+=Q,N.length-=Q),N.length))break e;N.length=0,N.mode=7;case 7:if(2048&N.flags){if(O===0)break e;for(Q=0;Z=R[k+Q++],N.head&&Z&&N.length<65536&&(N.head.name+=String.fromCharCode(Z)),Z&&Q<O;);if(512&N.flags&&(N.check=n(N.check,R,Q,k)),O-=Q,k+=Q,Z)break e}else N.head&&(N.head.name=null);N.length=0,N.mode=8;case 8:if(4096&N.flags){if(O===0)break e;for(Q=0;Z=R[k+Q++],N.head&&Z&&N.length<65536&&(N.head.comment+=String.fromCharCode(Z)),Z&&Q<O;);if(512&N.flags&&(N.check=n(N.check,R,Q,k)),O-=Q,k+=Q,Z)break e}else N.head&&(N.head.comment=null);N.mode=9;case 9:if(512&N.flags){for(;B<16;){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}if(j!==(65535&N.check)){D.msg="header crc mismatch",N.mode=30;break}B=j=0}N.head&&(N.head.hcrc=N.flags>>9&1,N.head.done=!0),D.adler=N.check=0,N.mode=12;break;case 10:for(;B<32;){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}D.adler=N.check=f(j),B=j=0,N.mode=11;case 11:if(N.havedict===0)return D.next_out=P,D.avail_out=_,D.next_in=k,D.avail_in=O,N.hold=j,N.bits=B,2;D.adler=N.check=1,N.mode=12;case 12:if(E===5||E===6)break e;case 13:if(N.last){j>>>=7&B,B-=7&B,N.mode=27;break}for(;B<3;){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}switch(N.last=1&j,B-=1,3&(j>>>=1)){case 0:N.mode=14;break;case 1:if(I(N),N.mode=20,E!==6)break;j>>>=2,B-=2;break e;case 2:N.mode=17;break;case 3:D.msg="invalid block type",N.mode=30}j>>>=2,B-=2;break;case 14:for(j>>>=7&B,B-=7&B;B<32;){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}if((65535&j)!=(j>>>16^65535)){D.msg="invalid stored block lengths",N.mode=30;break}if(N.length=65535&j,B=j=0,N.mode=15,E===6)break e;case 15:N.mode=16;case 16:if(Q=N.length){if(O<Q&&(Q=O),_<Q&&(Q=_),Q===0)break e;o.arraySet(v,R,k,Q,P),O-=Q,k+=Q,_-=Q,P+=Q,N.length-=Q;break}N.mode=12;break;case 17:for(;B<14;){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}if(N.nlen=257+(31&j),j>>>=5,B-=5,N.ndist=1+(31&j),j>>>=5,B-=5,N.ncode=4+(15&j),j>>>=4,B-=4,286<N.nlen||30<N.ndist){D.msg="too many length or distance symbols",N.mode=30;break}N.have=0,N.mode=18;case 18:for(;N.have<N.ncode;){for(;B<3;){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}N.lens[Y[N.have++]]=7&j,j>>>=3,B-=3}for(;N.have<19;)N.lens[Y[N.have++]]=0;if(N.lencode=N.lendyn,N.lenbits=7,ce={bits:N.lenbits},ee=s(0,N.lens,0,19,N.lencode,0,N.work,ce),N.lenbits=ce.bits,ee){D.msg="invalid code lengths set",N.mode=30;break}N.have=0,N.mode=19;case 19:for(;N.have<N.nlen+N.ndist;){for(;F=(oe=N.lencode[j&(1<<N.lenbits)-1])>>>16&255,K=65535&oe,!((U=oe>>>24)<=B);){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}if(K<16)j>>>=U,B-=U,N.lens[N.have++]=K;else{if(K===16){for(ne=U+2;B<ne;){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}if(j>>>=U,B-=U,N.have===0){D.msg="invalid bit length repeat",N.mode=30;break}Z=N.lens[N.have-1],Q=3+(3&j),j>>>=2,B-=2}else if(K===17){for(ne=U+3;B<ne;){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}B-=U,Z=0,Q=3+(7&(j>>>=U)),j>>>=3,B-=3}else{for(ne=U+7;B<ne;){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}B-=U,Z=0,Q=11+(127&(j>>>=U)),j>>>=7,B-=7}if(N.have+Q>N.nlen+N.ndist){D.msg="invalid bit length repeat",N.mode=30;break}for(;Q--;)N.lens[N.have++]=Z}}if(N.mode===30)break;if(N.lens[256]===0){D.msg="invalid code -- missing end-of-block",N.mode=30;break}if(N.lenbits=9,ce={bits:N.lenbits},ee=s(l,N.lens,0,N.nlen,N.lencode,0,N.work,ce),N.lenbits=ce.bits,ee){D.msg="invalid literal/lengths set",N.mode=30;break}if(N.distbits=6,N.distcode=N.distdyn,ce={bits:N.distbits},ee=s(c,N.lens,N.nlen,N.ndist,N.distcode,0,N.work,ce),N.distbits=ce.bits,ee){D.msg="invalid distances set",N.mode=30;break}if(N.mode=20,E===6)break e;case 20:N.mode=21;case 21:if(6<=O&&258<=_){D.next_out=P,D.avail_out=_,D.next_in=k,D.avail_in=O,N.hold=j,N.bits=B,a(D,G),P=D.next_out,v=D.output,_=D.avail_out,k=D.next_in,R=D.input,O=D.avail_in,j=N.hold,B=N.bits,N.mode===12&&(N.back=-1);break}for(N.back=0;F=(oe=N.lencode[j&(1<<N.lenbits)-1])>>>16&255,K=65535&oe,!((U=oe>>>24)<=B);){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}if(F&&(240&F)==0){for(te=U,ae=F,pe=K;F=(oe=N.lencode[pe+((j&(1<<te+ae)-1)>>te)])>>>16&255,K=65535&oe,!(te+(U=oe>>>24)<=B);){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}j>>>=te,B-=te,N.back+=te}if(j>>>=U,B-=U,N.back+=U,N.length=K,F===0){N.mode=26;break}if(32&F){N.back=-1,N.mode=12;break}if(64&F){D.msg="invalid literal/length code",N.mode=30;break}N.extra=15&F,N.mode=22;case 22:if(N.extra){for(ne=N.extra;B<ne;){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}N.length+=j&(1<<N.extra)-1,j>>>=N.extra,B-=N.extra,N.back+=N.extra}N.was=N.length,N.mode=23;case 23:for(;F=(oe=N.distcode[j&(1<<N.distbits)-1])>>>16&255,K=65535&oe,!((U=oe>>>24)<=B);){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}if((240&F)==0){for(te=U,ae=F,pe=K;F=(oe=N.distcode[pe+((j&(1<<te+ae)-1)>>te)])>>>16&255,K=65535&oe,!(te+(U=oe>>>24)<=B);){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}j>>>=te,B-=te,N.back+=te}if(j>>>=U,B-=U,N.back+=U,64&F){D.msg="invalid distance code",N.mode=30;break}N.offset=K,N.extra=15&F,N.mode=24;case 24:if(N.extra){for(ne=N.extra;B<ne;){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}N.offset+=j&(1<<N.extra)-1,j>>>=N.extra,B-=N.extra,N.back+=N.extra}if(N.offset>N.dmax){D.msg="invalid distance too far back",N.mode=30;break}N.mode=25;case 25:if(_===0)break e;if(Q=G-_,N.offset>Q){if((Q=N.offset-Q)>N.whave&&N.sane){D.msg="invalid distance too far back",N.mode=30;break}H=Q>N.wnext?(Q-=N.wnext,N.wsize-Q):N.wnext-Q,Q>N.length&&(Q=N.length),q=N.window}else q=v,H=P-N.offset,Q=N.length;for(_<Q&&(Q=_),_-=Q,N.length-=Q;v[P++]=q[H++],--Q;);N.length===0&&(N.mode=21);break;case 26:if(_===0)break e;v[P++]=N.length,_--,N.mode=21;break;case 27:if(N.wrap){for(;B<32;){if(O===0)break e;O--,j|=R[k++]<<B,B+=8}if(G-=_,D.total_out+=G,N.total+=G,G&&(D.adler=N.check=N.flags?n(N.check,v,G,P-G):r(N.check,v,G,P-G)),G=_,(N.flags?j:f(j))!==N.check){D.msg="incorrect data check",N.mode=30;break}B=j=0}N.mode=28;case 28:if(N.wrap&&N.flags){for(;B<32;){if(O===0)break e;O--,j+=R[k++]<<B,B+=8}if(j!==(4294967295&N.total)){D.msg="incorrect length check",N.mode=30;break}B=j=0}N.mode=29;case 29:ee=1;break e;case 30:ee=-3;break e;case 31:return-4;case 32:default:return u}return D.next_out=P,D.avail_out=_,D.next_in=k,D.avail_in=O,N.hold=j,N.bits=B,(N.wsize||G!==D.avail_out&&N.mode<30&&(N.mode<27||E!==4))&&A(D,D.output,D.next_out,G-D.avail_out)?(N.mode=31,-4):(V-=D.avail_in,G-=D.avail_out,D.total_in+=V,D.total_out+=G,N.total+=G,N.wrap&&G&&(D.adler=N.check=N.flags?n(N.check,v,G,D.next_out-G):r(N.check,v,G,D.next_out-G)),D.data_type=N.bits+(N.last?64:0)+(N.mode===12?128:0)+(N.mode===20||N.mode===15?256:0),(V==0&&G===0||E===4)&&ee===d&&(ee=-5),ee)},i.inflateEnd=function(D){if(!D||!D.state)return u;var E=D.state;return E.window&&(E.window=null),D.state=null,d},i.inflateGetHeader=function(D,E){var N;return D&&D.state?(2&(N=D.state).wrap)==0?u:((N.head=E).done=!1,d):u},i.inflateSetDictionary=function(D,E){var N,R=E.length;return D&&D.state?(N=D.state).wrap!==0&&N.mode!==11?u:N.mode===11&&r(1,E,R,0)!==N.check?-3:A(D,E,R,R)?(N.mode=31,-4):(N.havedict=1,d):u},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,e,i){"use strict";var o=t("../utils/common"),r=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],n=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(l,c,d,u,p,m,h,f){var g,b,y,w,x,S,T,M,I,A=f.bits,D=0,E=0,N=0,R=0,v=0,k=0,P=0,O=0,_=0,j=0,B=null,V=0,G=new o.Buf16(16),Q=new o.Buf16(16),H=null,q=0;for(D=0;D<=15;D++)G[D]=0;for(E=0;E<u;E++)G[c[d+E]]++;for(v=A,R=15;1<=R&&G[R]===0;R--);if(R<v&&(v=R),R===0)return p[m++]=20971520,p[m++]=20971520,f.bits=1,0;for(N=1;N<R&&G[N]===0;N++);for(v<N&&(v=N),D=O=1;D<=15;D++)if(O<<=1,(O-=G[D])<0)return-1;if(0<O&&(l===0||R!==1))return-1;for(Q[1]=0,D=1;D<15;D++)Q[D+1]=Q[D]+G[D];for(E=0;E<u;E++)c[d+E]!==0&&(h[Q[c[d+E]]++]=E);if(S=l===0?(B=H=h,19):l===1?(B=r,V-=257,H=n,q-=257,256):(B=a,H=s,-1),D=N,x=m,P=E=j=0,y=-1,w=(_=1<<(k=v))-1,l===1&&852<_||l===2&&592<_)return 1;for(;;){for(T=D-P,I=h[E]<S?(M=0,h[E]):h[E]>S?(M=H[q+h[E]],B[V+h[E]]):(M=96,0),g=1<<D-P,N=b=1<<k;p[x+(j>>P)+(b-=g)]=T<<24|M<<16|I|0,b!==0;);for(g=1<<D-1;j&g;)g>>=1;if(g!==0?(j&=g-1,j+=g):j=0,E++,--G[D]==0){if(D===R)break;D=c[d+h[E]]}if(v<D&&(j&w)!==y){for(P===0&&(P=v),x+=N,O=1<<(k=D-P);k+P<R&&!((O-=G[k+P])<=0);)k++,O<<=1;if(_+=1<<k,l===1&&852<_||l===2&&592<_)return 1;p[y=j&w]=v<<24|k<<16|x-m|0}}return j!==0&&(p[x+j]=D-P<<24|64<<16|0),f.bits=v,0}},{"../utils/common":41}],51:[function(t,e,i){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(t,e,i){"use strict";var o=t("../utils/common"),r=0,n=1;function a(oe){for(var re=oe.length;0<=--re;)oe[re]=0}var s=0,l=29,c=256,d=c+1+l,u=30,p=19,m=2*d+1,h=15,f=16,g=7,b=256,y=16,w=17,x=18,S=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],T=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],M=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],I=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],A=new Array(2*(d+2));a(A);var D=new Array(2*u);a(D);var E=new Array(512);a(E);var N=new Array(256);a(N);var R=new Array(l);a(R);var v,k,P,O=new Array(u);function _(oe,re,Y,X,ie){this.static_tree=oe,this.extra_bits=re,this.extra_base=Y,this.elems=X,this.max_length=ie,this.has_stree=oe&&oe.length}function j(oe,re){this.dyn_tree=oe,this.max_code=0,this.stat_desc=re}function B(oe){return oe<256?E[oe]:E[256+(oe>>>7)]}function V(oe,re){oe.pending_buf[oe.pending++]=255&re,oe.pending_buf[oe.pending++]=re>>>8&255}function G(oe,re,Y){oe.bi_valid>f-Y?(oe.bi_buf|=re<<oe.bi_valid&65535,V(oe,oe.bi_buf),oe.bi_buf=re>>f-oe.bi_valid,oe.bi_valid+=Y-f):(oe.bi_buf|=re<<oe.bi_valid&65535,oe.bi_valid+=Y)}function Q(oe,re,Y){G(oe,Y[2*re],Y[2*re+1])}function H(oe,re){for(var Y=0;Y|=1&oe,oe>>>=1,Y<<=1,0<--re;);return Y>>>1}function q(oe,re,Y){var X,ie,de=new Array(h+1),fe=0;for(X=1;X<=h;X++)de[X]=fe=fe+Y[X-1]<<1;for(ie=0;ie<=re;ie++){var ye=oe[2*ie+1];ye!==0&&(oe[2*ie]=H(de[ye]++,ye))}}function U(oe){var re;for(re=0;re<d;re++)oe.dyn_ltree[2*re]=0;for(re=0;re<u;re++)oe.dyn_dtree[2*re]=0;for(re=0;re<p;re++)oe.bl_tree[2*re]=0;oe.dyn_ltree[2*b]=1,oe.opt_len=oe.static_len=0,oe.last_lit=oe.matches=0}function F(oe){8<oe.bi_valid?V(oe,oe.bi_buf):0<oe.bi_valid&&(oe.pending_buf[oe.pending++]=oe.bi_buf),oe.bi_buf=0,oe.bi_valid=0}function K(oe,re,Y,X){var ie=2*re,de=2*Y;return oe[ie]<oe[de]||oe[ie]===oe[de]&&X[re]<=X[Y]}function te(oe,re,Y){for(var X=oe.heap[Y],ie=Y<<1;ie<=oe.heap_len&&(ie<oe.heap_len&&K(re,oe.heap[ie+1],oe.heap[ie],oe.depth)&&ie++,!K(re,X,oe.heap[ie],oe.depth));)oe.heap[Y]=oe.heap[ie],Y=ie,ie<<=1;oe.heap[Y]=X}function ae(oe,re,Y){var X,ie,de,fe,ye=0;if(oe.last_lit!==0)for(;X=oe.pending_buf[oe.d_buf+2*ye]<<8|oe.pending_buf[oe.d_buf+2*ye+1],ie=oe.pending_buf[oe.l_buf+ye],ye++,X===0?Q(oe,ie,re):(Q(oe,(de=N[ie])+c+1,re),(fe=S[de])!==0&&G(oe,ie-=R[de],fe),Q(oe,de=B(--X),Y),(fe=T[de])!==0&&G(oe,X-=O[de],fe)),ye<oe.last_lit;);Q(oe,b,re)}function pe(oe,re){var Y,X,ie,de=re.dyn_tree,fe=re.stat_desc.static_tree,ye=re.stat_desc.has_stree,Le=re.stat_desc.elems,Re=-1;for(oe.heap_len=0,oe.heap_max=m,Y=0;Y<Le;Y++)de[2*Y]!==0?(oe.heap[++oe.heap_len]=Re=Y,oe.depth[Y]=0):de[2*Y+1]=0;for(;oe.heap_len<2;)de[2*(ie=oe.heap[++oe.heap_len]=Re<2?++Re:0)]=1,oe.depth[ie]=0,oe.opt_len--,ye&&(oe.static_len-=fe[2*ie+1]);for(re.max_code=Re,Y=oe.heap_len>>1;1<=Y;Y--)te(oe,de,Y);for(ie=Le;Y=oe.heap[1],oe.heap[1]=oe.heap[oe.heap_len--],te(oe,de,1),X=oe.heap[1],oe.heap[--oe.heap_max]=Y,oe.heap[--oe.heap_max]=X,de[2*ie]=de[2*Y]+de[2*X],oe.depth[ie]=(oe.depth[Y]>=oe.depth[X]?oe.depth[Y]:oe.depth[X])+1,de[2*Y+1]=de[2*X+1]=ie,oe.heap[1]=ie++,te(oe,de,1),2<=oe.heap_len;);oe.heap[--oe.heap_max]=oe.heap[1],(function(Ne,Te){var Pe,Oe,Ue,Ve,ze,He,Ye=Te.dyn_tree,ke=Te.max_code,Be=Te.stat_desc.static_tree,Xe=Te.stat_desc.has_stree,Ge=Te.stat_desc.extra_bits,Ke=Te.stat_desc.extra_base,pt=Te.stat_desc.max_length,ot=0;for(Ve=0;Ve<=h;Ve++)Ne.bl_count[Ve]=0;for(Ye[2*Ne.heap[Ne.heap_max]+1]=0,Pe=Ne.heap_max+1;Pe<m;Pe++)pt<(Ve=Ye[2*Ye[2*(Oe=Ne.heap[Pe])+1]+1]+1)&&(Ve=pt,ot++),Ye[2*Oe+1]=Ve,ke<Oe||(Ne.bl_count[Ve]++,ze=0,Ke<=Oe&&(ze=Ge[Oe-Ke]),He=Ye[2*Oe],Ne.opt_len+=He*(Ve+ze),Xe&&(Ne.static_len+=He*(Be[2*Oe+1]+ze)));if(ot!==0){do{for(Ve=pt-1;Ne.bl_count[Ve]===0;)Ve--;Ne.bl_count[Ve]--,Ne.bl_count[Ve+1]+=2,Ne.bl_count[pt]--,ot-=2}while(0<ot);for(Ve=pt;Ve!==0;Ve--)for(Oe=Ne.bl_count[Ve];Oe!==0;)ke<(Ue=Ne.heap[--Pe])||(Ye[2*Ue+1]!==Ve&&(Ne.opt_len+=(Ve-Ye[2*Ue+1])*Ye[2*Ue],Ye[2*Ue+1]=Ve),Oe--)}})(oe,re),q(de,Re,oe.bl_count)}function Z(oe,re,Y){var X,ie,de=-1,fe=re[1],ye=0,Le=7,Re=4;for(fe===0&&(Le=138,Re=3),re[2*(Y+1)+1]=65535,X=0;X<=Y;X++)ie=fe,fe=re[2*(X+1)+1],++ye<Le&&ie===fe||(ye<Re?oe.bl_tree[2*ie]+=ye:ie!==0?(ie!==de&&oe.bl_tree[2*ie]++,oe.bl_tree[2*y]++):ye<=10?oe.bl_tree[2*w]++:oe.bl_tree[2*x]++,de=ie,Re=(ye=0)===fe?(Le=138,3):ie===fe?(Le=6,3):(Le=7,4))}function ee(oe,re,Y){var X,ie,de=-1,fe=re[1],ye=0,Le=7,Re=4;for(fe===0&&(Le=138,Re=3),X=0;X<=Y;X++)if(ie=fe,fe=re[2*(X+1)+1],!(++ye<Le&&ie===fe)){if(ye<Re)for(;Q(oe,ie,oe.bl_tree),--ye!=0;);else ie!==0?(ie!==de&&(Q(oe,ie,oe.bl_tree),ye--),Q(oe,y,oe.bl_tree),G(oe,ye-3,2)):ye<=10?(Q(oe,w,oe.bl_tree),G(oe,ye-3,3)):(Q(oe,x,oe.bl_tree),G(oe,ye-11,7));de=ie,Re=(ye=0)===fe?(Le=138,3):ie===fe?(Le=6,3):(Le=7,4)}}a(O);var ce=!1;function ne(oe,re,Y,X){G(oe,(s<<1)+(X?1:0),3),(function(ie,de,fe,ye){F(ie),ye&&(V(ie,fe),V(ie,~fe)),o.arraySet(ie.pending_buf,ie.window,de,fe,ie.pending),ie.pending+=fe})(oe,re,Y,!0)}i._tr_init=function(oe){ce||((function(){var re,Y,X,ie,de,fe=new Array(h+1);for(ie=X=0;ie<l-1;ie++)for(R[ie]=X,re=0;re<1<<S[ie];re++)N[X++]=ie;for(N[X-1]=ie,ie=de=0;ie<16;ie++)for(O[ie]=de,re=0;re<1<<T[ie];re++)E[de++]=ie;for(de>>=7;ie<u;ie++)for(O[ie]=de<<7,re=0;re<1<<T[ie]-7;re++)E[256+de++]=ie;for(Y=0;Y<=h;Y++)fe[Y]=0;for(re=0;re<=143;)A[2*re+1]=8,re++,fe[8]++;for(;re<=255;)A[2*re+1]=9,re++,fe[9]++;for(;re<=279;)A[2*re+1]=7,re++,fe[7]++;for(;re<=287;)A[2*re+1]=8,re++,fe[8]++;for(q(A,d+1,fe),re=0;re<u;re++)D[2*re+1]=5,D[2*re]=H(re,5);v=new _(A,S,c+1,d,h),k=new _(D,T,0,u,h),P=new _(new Array(0),M,0,p,g)})(),ce=!0),oe.l_desc=new j(oe.dyn_ltree,v),oe.d_desc=new j(oe.dyn_dtree,k),oe.bl_desc=new j(oe.bl_tree,P),oe.bi_buf=0,oe.bi_valid=0,U(oe)},i._tr_stored_block=ne,i._tr_flush_block=function(oe,re,Y,X){var ie,de,fe=0;0<oe.level?(oe.strm.data_type===2&&(oe.strm.data_type=(function(ye){var Le,Re=4093624447;for(Le=0;Le<=31;Le++,Re>>>=1)if(1&Re&&ye.dyn_ltree[2*Le]!==0)return r;if(ye.dyn_ltree[18]!==0||ye.dyn_ltree[20]!==0||ye.dyn_ltree[26]!==0)return n;for(Le=32;Le<c;Le++)if(ye.dyn_ltree[2*Le]!==0)return n;return r})(oe)),pe(oe,oe.l_desc),pe(oe,oe.d_desc),fe=(function(ye){var Le;for(Z(ye,ye.dyn_ltree,ye.l_desc.max_code),Z(ye,ye.dyn_dtree,ye.d_desc.max_code),pe(ye,ye.bl_desc),Le=p-1;3<=Le&&ye.bl_tree[2*I[Le]+1]===0;Le--);return ye.opt_len+=3*(Le+1)+5+5+4,Le})(oe),ie=oe.opt_len+3+7>>>3,(de=oe.static_len+3+7>>>3)<=ie&&(ie=de)):ie=de=Y+5,Y+4<=ie&&re!==-1?ne(oe,re,Y,X):oe.strategy===4||de===ie?(G(oe,2+(X?1:0),3),ae(oe,A,D)):(G(oe,4+(X?1:0),3),(function(ye,Le,Re,Ne){var Te;for(G(ye,Le-257,5),G(ye,Re-1,5),G(ye,Ne-4,4),Te=0;Te<Ne;Te++)G(ye,ye.bl_tree[2*I[Te]+1],3);ee(ye,ye.dyn_ltree,Le-1),ee(ye,ye.dyn_dtree,Re-1)})(oe,oe.l_desc.max_code+1,oe.d_desc.max_code+1,fe+1),ae(oe,oe.dyn_ltree,oe.dyn_dtree)),U(oe),X&&F(oe)},i._tr_tally=function(oe,re,Y){return oe.pending_buf[oe.d_buf+2*oe.last_lit]=re>>>8&255,oe.pending_buf[oe.d_buf+2*oe.last_lit+1]=255&re,oe.pending_buf[oe.l_buf+oe.last_lit]=255&Y,oe.last_lit++,re===0?oe.dyn_ltree[2*Y]++:(oe.matches++,re--,oe.dyn_ltree[2*(N[Y]+c+1)]++,oe.dyn_dtree[2*B(re)]++),oe.last_lit===oe.lit_bufsize-1},i._tr_align=function(oe){G(oe,2,3),Q(oe,b,A),(function(re){re.bi_valid===16?(V(re,re.bi_buf),re.bi_buf=0,re.bi_valid=0):8<=re.bi_valid&&(re.pending_buf[re.pending++]=255&re.bi_buf,re.bi_buf>>=8,re.bi_valid-=8)})(oe)}},{"../utils/common":41}],53:[function(t,e,i){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,i){(function(o){(function(r,n){"use strict";if(!r.setImmediate){var a,s,l,c,d=1,u={},p=!1,m=r.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(r);h=h&&h.setTimeout?h:r,a={}.toString.call(r.process)==="[object process]"?function(y){process.nextTick(function(){g(y)})}:(function(){if(r.postMessage&&!r.importScripts){var y=!0,w=r.onmessage;return r.onmessage=function(){y=!1},r.postMessage("","*"),r.onmessage=w,y}})()?(c="setImmediate$"+Math.random()+"$",r.addEventListener?r.addEventListener("message",b,!1):r.attachEvent("onmessage",b),function(y){r.postMessage(c+y,"*")}):r.MessageChannel?((l=new MessageChannel).port1.onmessage=function(y){g(y.data)},function(y){l.port2.postMessage(y)}):m&&"onreadystatechange"in m.createElement("script")?(s=m.documentElement,function(y){var w=m.createElement("script");w.onreadystatechange=function(){g(y),w.onreadystatechange=null,s.removeChild(w),w=null},s.appendChild(w)}):function(y){setTimeout(g,0,y)},h.setImmediate=function(y){typeof y!="function"&&(y=new Function(""+y));for(var w=new Array(arguments.length-1),x=0;x<w.length;x++)w[x]=arguments[x+1];var S={callback:y,args:w};return u[d]=S,a(d),d++},h.clearImmediate=f}function f(y){delete u[y]}function g(y){if(p)setTimeout(g,0,y);else{var w=u[y];if(w){p=!0;try{(function(x){var S=x.callback,T=x.args;switch(T.length){case 0:S();break;case 1:S(T[0]);break;case 2:S(T[0],T[1]);break;case 3:S(T[0],T[1],T[2]);break;default:S.apply(n,T)}})(w)}finally{f(y),p=!1}}}}function b(y){y.source===r&&typeof y.data=="string"&&y.data.indexOf(c)===0&&g(+y.data.slice(c.length))}})(typeof self>"u"?o===void 0?this:o:self)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})});var z7e=xe((Exn,ani)=>{var B7e=[];B7e.push(".eda-menu_Evt3D{background:var(--bg-color-drop-down-menu);border:1px solid var(--border-color-drop-down-menu);box-shadow:0 1px 6px rgba(0,0,0,-webkit-calc(var(--has-shadow-drop-down-menu)*0.2));box-shadow:0 1px 6px rgba(0,0,0,-moz-calc(var(--has-shadow-drop-down-menu)*0.2));box-shadow:0 1px 6px rgba(0,0,0,calc(var(--has-shadow-drop-down-menu)*.2));margin:0;min-width:150px;outline:none;overscroll-behavior:contain;scrollbar-width:thin;width:auto}.eda-menu_Evt3D .eda-menu-item_g86Ag{color:var(--font-color-drop-down-menuItem);cursor:pointer;font-size:12px;height:28px;line-height:28px;margin:0;padding:0 12px 0 32px;position:relative;white-space:nowrap}.eda-menu_Evt3D .eda-menu-item_g86Ag>.eda-menu-item-icon_6FFpi{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:16px;left:8px;position:absolute;top:6px;width:16px}.eda-menu_Evt3D .eda-menu-item_g86Ag>.eda-menu-item-text_ClFKm{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;position:static;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;color:var(--font-color-drop-down-menuItem);justify-content:space-between;margin:0;white-space:nowrap}.eda-menu_Evt3D .eda-menu-item_g86Ag>.eda-menu-item-text_ClFKm .hotkey-text_B8VUa{min-width:96px}.eda-menu_Evt3D .eda-menu-item_g86Ag>.eda-menu-item-text_ClFKm .customHotkey-text_0p-KD,.eda-menu_Evt3D .eda-menu-item_g86Ag>.eda-menu-item-text_ClFKm .hotkey-text_B8VUa{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;-moz-box-sizing:border-box;box-sizing:border-box;justify-content:flex-end;padding-left:16px}.eda-menu_Evt3D .eda-menu-item_g86Ag>.eda-menu-item-text_ClFKm .customHotkey-text_0p-KD{min-width:66px}.eda-menu_Evt3D .eda-menu-item_g86Ag>.eda-menu-item-arrow_C-20B{border-bottom:4px solid transparent;border-left:4px solid var(--font-color-drop-down-menuItem);border-top:4px solid transparent;height:0;position:absolute;right:14px;top:10px;width:0}.eda-menu_Evt3D .eda-menu-item_g86Ag[data-hotkey]:after{content:attr(data-hotkey);display:block;font-family:Arial Regular,Arial,serif;font-size:12px;position:absolute;right:12px;top:0;white-space:nowrap}.eda-menu_Evt3D .eda-menu-item_g86Ag.eda-menu-left-arrow_Ny0g6[data-hotkey]:after{right:22px}.eda-menu_Evt3D .eda-menu-item_g86Ag.eda-menu-item-disable_MZoXe{cursor:default}.eda-menu_Evt3D .eda-menu-item_g86Ag.eda-menu-item-disable_MZoXe,.eda-menu_Evt3D .eda-menu-item_g86Ag.eda-menu-item-disable_MZoXe>.eda-menu-item-text_ClFKm{color:var(--font-color-disabled-drop-down-menuItem)}.eda-menu_Evt3D .eda-menu-item_g86Ag.eda-menu-item-disable_MZoXe>.eda-menu-item-icon_6FFpi{-webkit-filter:gray;filter:gray;opacity:.5}.eda-menu_Evt3D .eda-menu-item_g86Ag.eda-menu-item-disable_MZoXe>.eda-menu-item-arrow_C-20B{border-left:4px solid var(--font-color-disabled-drop-down-menuItem)}.eda-menu_Evt3D .eda-menu-item_g86Ag.eda-menu-item-active_Ao9Xy{background:var(--bg-color-hover-drop-down-menuItem)}.eda-menu_Evt3D .eda-menu-item_g86Ag.eda-menu-item-active_Ao9Xy,.eda-menu_Evt3D .eda-menu-item_g86Ag.eda-menu-item-active_Ao9Xy>.eda-menu-item-text_ClFKm{color:var(--font-color-hover-drop-down-menuItem)}.eda-menu_Evt3D .eda-menu-item_g86Ag.eda-menu-item-active_Ao9Xy>.eda-menu-item-arrow_C-20B{border-left:4px solid var(--font-color-hover-drop-down-menuItem)}.eda-menu_Evt3D .eda-menu-item_g86Ag.eda-menu-item-disable-active_Ud0Y2{background-color:var(--bg-color-hover-drop-down-menuItem)}.eda-menu_Evt3D .eda-menu-sep_PJRst{border-bottom:1px solid var(--separator-color-drop-down-menu);font-size:2px;height:0}");B7e=B7e.join("");ani.exports={uuid:"d4555bf2-f476-4dc4-87e1-a821b4c4fab8",locals:{"eda-menu":"eda-menu_Evt3D","eda-menu-item":"eda-menu-item_g86Ag","eda-menu-item-icon":"eda-menu-item-icon_6FFpi","eda-menu-item-text":"eda-menu-item-text_ClFKm","hotkey-text":"hotkey-text_B8VUa","customHotkey-text":"customHotkey-text_0p-KD","eda-menu-item-arrow":"eda-menu-item-arrow_C-20B","eda-menu-left-arrow":"eda-menu-left-arrow_Ny0g6","eda-menu-item-disable":"eda-menu-item-disable_MZoXe","eda-menu-item-active":"eda-menu-item-active_Ao9Xy","eda-menu-item-disable-active":"eda-menu-item-disable-active_Ud0Y2","eda-menu-sep":"eda-menu-sep_PJRst"},toString(){return B7e}}});var gni=xe(h1=>{"use strict";function Uft(t,e){var i=t.length;t.push(e);e:for(;0<i;){var o=i-1>>>1,r=t[o];if(0<F7e(r,e))t[o]=e,t[i]=r,i=o;else break e}}function v9(t){return t.length===0?null:t[0]}function V7e(t){if(t.length===0)return null;var e=t[0],i=t.pop();if(i!==e){t[0]=i;e:for(var o=0,r=t.length,n=r>>>1;o<n;){var a=2*(o+1)-1,s=t[a],l=a+1,c=t[l];if(0>F7e(s,i))l<r&&0>F7e(c,s)?(t[o]=c,t[l]=i,o=l):(t[o]=s,t[a]=i,o=a);else if(l<r&&0>F7e(c,i))t[o]=c,t[l]=i,o=l;else break e}}return e}function F7e(t,e){var i=t.sortIndex-e.sortIndex;return i!==0?i:t.id-e.id}typeof performance=="object"&&typeof performance.now=="function"?(sni=performance,h1.unstable_now=function(){return sni.now()}):(Bft=Date,lni=Bft.now(),h1.unstable_now=function(){return Bft.now()-lni});var sni,Bft,lni,$R=[],IK=[],cnr=1,w8=null,aT=3,H7e=!1,Jie=!1,zwe=!1,uni=typeof setTimeout=="function"?setTimeout:null,pni=typeof clearTimeout=="function"?clearTimeout:null,cni=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Vft(t){for(var e=v9(IK);e!==null;){if(e.callback===null)V7e(IK);else if(e.startTime<=t)V7e(IK),e.sortIndex=e.expirationTime,Uft($R,e);else break;e=v9(IK)}}function Hft(t){if(zwe=!1,Vft(t),!Jie)if(v9($R)!==null)Jie=!0,Yft(Gft);else{var e=v9(IK);e!==null&&Wft(Hft,e.startTime-t)}}function Gft(t,e){Jie=!1,zwe&&(zwe=!1,pni(Fwe),Fwe=-1),H7e=!0;var i=aT;try{for(Vft(e),w8=v9($R);w8!==null&&(!(w8.expirationTime>e)||t&&!fni());){var o=w8.callback;if(typeof o=="function"){w8.callback=null,aT=w8.priorityLevel;var r=o(w8.expirationTime<=e);e=h1.unstable_now(),typeof r=="function"?w8.callback=r:w8===v9($R)&&V7e($R),Vft(e)}else V7e($R);w8=v9($R)}if(w8!==null)var n=!0;else{var a=v9(IK);a!==null&&Wft(Hft,a.startTime-e),n=!1}return n}finally{w8=null,aT=i,H7e=!1}}var G7e=!1,U7e=null,Fwe=-1,mni=5,hni=-1;function fni(){return!(h1.unstable_now()-hni<mni)}function zft(){if(U7e!==null){var t=h1.unstable_now();hni=t;var e=!0;try{e=U7e(!0,t)}finally{e?Bwe():(G7e=!1,U7e=null)}}else G7e=!1}var Bwe;typeof cni=="function"?Bwe=function(){cni(zft)}:typeof MessageChannel<"u"?(Fft=new MessageChannel,dni=Fft.port2,Fft.port1.onmessage=zft,Bwe=function(){dni.postMessage(null)}):Bwe=function(){uni(zft,0)};var Fft,dni;function Yft(t){U7e=t,G7e||(G7e=!0,Bwe())}function Wft(t,e){Fwe=uni(function(){t(h1.unstable_now())},e)}h1.unstable_IdlePriority=5;h1.unstable_ImmediatePriority=1;h1.unstable_LowPriority=4;h1.unstable_NormalPriority=3;h1.unstable_Profiling=null;h1.unstable_UserBlockingPriority=2;h1.unstable_cancelCallback=function(t){t.callback=null};h1.unstable_continueExecution=function(){Jie||H7e||(Jie=!0,Yft(Gft))};h1.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):mni=0<t?Math.floor(1e3/t):5};h1.unstable_getCurrentPriorityLevel=function(){return aT};h1.unstable_getFirstCallbackNode=function(){return v9($R)};h1.unstable_next=function(t){switch(aT){case 1:case 2:case 3:var e=3;break;default:e=aT}var i=aT;aT=e;try{return t()}finally{aT=i}};h1.unstable_pauseExecution=function(){};h1.unstable_requestPaint=function(){};h1.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var i=aT;aT=t;try{return e()}finally{aT=i}};h1.unstable_scheduleCallback=function(t,e,i){var o=h1.unstable_now();switch(typeof i=="object"&&i!==null?(i=i.delay,i=typeof i=="number"&&0<i?o+i:o):i=o,t){case 1:var r=-1;break;case 2:r=250;break;case 5:r=1073741823;break;case 4:r=1e4;break;default:r=5e3}return r=i+r,t={id:cnr++,callback:e,priorityLevel:t,startTime:i,expirationTime:r,sortIndex:-1},i>o?(t.sortIndex=i,Uft(IK,t),v9($R)===null&&t===v9(IK)&&(zwe?(pni(Fwe),Fwe=-1):zwe=!0,Wft(Hft,i-o))):(t.sortIndex=r,Uft($R,t),Jie||H7e||(Jie=!0,Yft(Gft))),t};h1.unstable_shouldYield=fni;h1.unstable_wrapCallback=function(t){var e=aT;return function(){var i=aT;aT=e;try{return t.apply(this,arguments)}finally{aT=i}}}});var yni=xe((Nxn,bni)=>{"use strict";bni.exports=gni()});var Mli=xe(nv=>{"use strict";var Iai=Se(),ov=yni();function mr(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,i=1;i<arguments.length;i++)e+="&args[]="+encodeURIComponent(arguments[i]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Lai=new Set,lCe={};function coe(t,e){Eue(t,e),Eue(t+"Capture",e)}function Eue(t,e){for(lCe[t]=e,t=0;t<e.length;t++)Lai.add(e[t])}var MU=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fgt=Object.prototype.hasOwnProperty,dnr=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,wni={},Cni={};function unr(t){return fgt.call(Cni,t)?!0:fgt.call(wni,t)?!1:dnr.test(t)?Cni[t]=!0:(wni[t]=!0,!1)}function pnr(t,e,i,o){if(i!==null&&i.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return o?!1:i!==null?!i.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function mnr(t,e,i,o){if(e===null||typeof e>"u"||pnr(t,e,i,o))return!0;if(o)return!1;if(i!==null)switch(i.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function bS(t,e,i,o,r,n,a){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=o,this.attributeNamespace=r,this.mustUseProperty=i,this.propertyName=t,this.type=e,this.sanitizeURL=n,this.removeEmptyString=a}var Kw={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){Kw[t]=new bS(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];Kw[e]=new bS(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){Kw[t]=new bS(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){Kw[t]=new bS(t,2,!1,t,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){Kw[t]=new bS(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){Kw[t]=new bS(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){Kw[t]=new bS(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){Kw[t]=new bS(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){Kw[t]=new bS(t,5,!1,t.toLowerCase(),null,!1,!1)});var s2t=/[\-:]([a-z])/g;function l2t(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace(s2t,l2t);Kw[e]=new bS(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(s2t,l2t);Kw[e]=new bS(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(s2t,l2t);Kw[e]=new bS(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){Kw[t]=new bS(t,1,!1,t.toLowerCase(),null,!1,!1)});Kw.xlinkHref=new bS("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){Kw[t]=new bS(t,1,!1,t.toLowerCase(),null,!0,!0)});function c2t(t,e,i,o){var r=Kw.hasOwnProperty(e)?Kw[e]:null;(r!==null?r.type!==0:o||!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(mnr(e,i,r,o)&&(i=null),o||r===null?unr(e)&&(i===null?t.removeAttribute(e):t.setAttribute(e,""+i)):r.mustUseProperty?t[r.propertyName]=i===null?r.type===3?!1:"":i:(e=r.attributeName,o=r.attributeNamespace,i===null?t.removeAttribute(e):(r=r.type,i=r===3||r===4&&i===!0?"":""+i,o?t.setAttributeNS(o,e,i):t.setAttribute(e,i))))}var DU=Iai.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Y7e=Symbol.for("react.element"),uue=Symbol.for("react.portal"),pue=Symbol.for("react.fragment"),d2t=Symbol.for("react.strict_mode"),ggt=Symbol.for("react.profiler"),vai=Symbol.for("react.provider"),Dai=Symbol.for("react.context"),u2t=Symbol.for("react.forward_ref"),bgt=Symbol.for("react.suspense"),ygt=Symbol.for("react.suspense_list"),p2t=Symbol.for("react.memo"),vK=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var Eai=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var xni=Symbol.iterator;function Uwe(t){return t===null||typeof t!="object"?null:(t=xni&&t[xni]||t["@@iterator"],typeof t=="function"?t:null)}var Of=Object.assign,Qft;function Zwe(t){if(Qft===void 0)try{throw Error()}catch(i){var e=i.stack.trim().match(/\n( *(at )?)/);Qft=e&&e[1]||""}return`
`+Qft+t}var Kft=!1;function Zft(t,e){if(!t||Kft)return"";Kft=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(e,[])}catch(c){var o=c}Reflect.construct(t,[],e)}else{try{e.call()}catch(c){o=c}t.call(e.prototype)}else{try{throw Error()}catch(c){o=c}t()}}catch(c){if(c&&o&&typeof c.stack=="string"){for(var r=c.stack.split(`
`),n=o.stack.split(`
`),a=r.length-1,s=n.length-1;1<=a&&0<=s&&r[a]!==n[s];)s--;for(;1<=a&&0<=s;a--,s--)if(r[a]!==n[s]){if(a!==1||s!==1)do if(a--,s--,0>s||r[a]!==n[s]){var l=`
`+r[a].replace(" at new "," at ");return t.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",t.displayName)),l}while(1<=a&&0<=s);break}}}finally{Kft=!1,Error.prepareStackTrace=i}return(t=t?t.displayName||t.name:"")?Zwe(t):""}function hnr(t){switch(t.tag){case 5:return Zwe(t.type);case 16:return Zwe("Lazy");case 13:return Zwe("Suspense");case 19:return Zwe("SuspenseList");case 0:case 2:case 15:return t=Zft(t.type,!1),t;case 11:return t=Zft(t.type.render,!1),t;case 1:return t=Zft(t.type,!0),t;default:return""}}function wgt(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case pue:return"Fragment";case uue:return"Portal";case ggt:return"Profiler";case d2t:return"StrictMode";case bgt:return"Suspense";case ygt:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case Dai:return(t.displayName||"Context")+".Consumer";case vai:return(t._context.displayName||"Context")+".Provider";case u2t:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case p2t:return e=t.displayName||null,e!==null?e:wgt(t.type)||"Memo";case vK:e=t._payload,t=t._init;try{return wgt(t(e))}catch{}}return null}function fnr(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return wgt(e);case 8:return e===d2t?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function UK(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Aai(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function gnr(t){var e=Aai(t)?"checked":"value",i=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),o=""+t[e];if(!t.hasOwnProperty(e)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var r=i.get,n=i.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return r.call(this)},set:function(a){o=""+a,n.call(this,a)}}),Object.defineProperty(t,e,{enumerable:i.enumerable}),{getValue:function(){return o},setValue:function(a){o=""+a},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function W7e(t){t._valueTracker||(t._valueTracker=gnr(t))}function Nai(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var i=e.getValue(),o="";return t&&(o=Aai(t)?t.checked?"true":"false":t.value),t=o,t!==i?(e.setValue(t),!0):!1}function Cke(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Cgt(t,e){var i=e.checked;return Of({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i!=null?i:t._wrapperState.initialChecked})}function Tni(t,e){var i=e.defaultValue==null?"":e.defaultValue,o=e.checked!=null?e.checked:e.defaultChecked;i=UK(e.value!=null?e.value:i),t._wrapperState={initialChecked:o,initialValue:i,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function kai(t,e){e=e.checked,e!=null&&c2t(t,"checked",e,!1)}function xgt(t,e){kai(t,e);var i=UK(e.value),o=e.type;if(i!=null)o==="number"?(i===0&&t.value===""||t.value!=i)&&(t.value=""+i):t.value!==""+i&&(t.value=""+i);else if(o==="submit"||o==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?Tgt(t,e.type,i):e.hasOwnProperty("defaultValue")&&Tgt(t,e.type,UK(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function Sni(t,e,i){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var o=e.type;if(!(o!=="submit"&&o!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,i||e===t.value||(t.value=e),t.defaultValue=e}i=t.name,i!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,i!==""&&(t.name=i)}function Tgt(t,e,i){(e!=="number"||Cke(t.ownerDocument)!==t)&&(i==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+i&&(t.defaultValue=""+i))}var Jwe=Array.isArray;function Sue(t,e,i,o){if(t=t.options,e){e={};for(var r=0;r<i.length;r++)e["$"+i[r]]=!0;for(i=0;i<t.length;i++)r=e.hasOwnProperty("$"+t[i].value),t[i].selected!==r&&(t[i].selected=r),r&&o&&(t[i].defaultSelected=!0)}else{for(i=""+UK(i),e=null,r=0;r<t.length;r++){if(t[r].value===i){t[r].selected=!0,o&&(t[r].defaultSelected=!0);return}e!==null||t[r].disabled||(e=t[r])}e!==null&&(e.selected=!0)}}function Sgt(t,e){if(e.dangerouslySetInnerHTML!=null)throw Error(mr(91));return Of({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Mni(t,e){var i=e.value;if(i==null){if(i=e.children,e=e.defaultValue,i!=null){if(e!=null)throw Error(mr(92));if(Jwe(i)){if(1<i.length)throw Error(mr(93));i=i[0]}e=i}e==null&&(e=""),i=e}t._wrapperState={initialValue:UK(i)}}function Pai(t,e){var i=UK(e.value),o=UK(e.defaultValue);i!=null&&(i=""+i,i!==t.value&&(t.value=i),e.defaultValue==null&&t.defaultValue!==i&&(t.defaultValue=i)),o!=null&&(t.defaultValue=""+o)}function Ini(t){var e=t.textContent;e===t._wrapperState.initialValue&&e!==""&&e!==null&&(t.value=e)}function Oai(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Mgt(t,e){return t==null||t==="http://www.w3.org/1999/xhtml"?Oai(e):t==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var Q7e,Rai=(function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,i,o,r){MSApp.execUnsafeLocalFunction(function(){return t(e,i,o,r)})}:t})(function(t,e){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=e;else{for(Q7e=Q7e||document.createElement("div"),Q7e.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=Q7e.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function cCe(t,e){if(e){var i=t.firstChild;if(i&&i===t.lastChild&&i.nodeType===3){i.nodeValue=e;return}}t.textContent=e}var $we={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},bnr=["Webkit","ms","Moz","O"];Object.keys($we).forEach(function(t){bnr.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),$we[e]=$we[t]})});function _ai(t,e,i){return e==null||typeof e=="boolean"||e===""?"":i||typeof e!="number"||e===0||$we.hasOwnProperty(t)&&$we[t]?(""+e).trim():e+"px"}function jai(t,e){t=t.style;for(var i in e)if(e.hasOwnProperty(i)){var o=i.indexOf("--")===0,r=_ai(i,e[i],o);i==="float"&&(i="cssFloat"),o?t.setProperty(i,r):t[i]=r}}var ynr=Of({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Igt(t,e){if(e){if(ynr[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(mr(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(mr(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(mr(61))}if(e.style!=null&&typeof e.style!="object")throw Error(mr(62))}}function Lgt(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var vgt=null;function m2t(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Dgt=null,Mue=null,Iue=null;function Lni(t){if(t=vCe(t)){if(typeof Dgt!="function")throw Error(mr(280));var e=t.stateNode;e&&(e=Kke(e),Dgt(t.stateNode,t.type,e))}}function Bai(t){Mue?Iue?Iue.push(t):Iue=[t]:Mue=t}function zai(){if(Mue){var t=Mue,e=Iue;if(Iue=Mue=null,Lni(t),e)for(t=0;t<e.length;t++)Lni(e[t])}}function Fai(t,e){return t(e)}function Uai(){}var Jft=!1;function Vai(t,e,i){if(Jft)return t(e,i);Jft=!0;try{return Fai(t,e,i)}finally{Jft=!1,(Mue!==null||Iue!==null)&&(Uai(),zai())}}function dCe(t,e){var i=t.stateNode;if(i===null)return null;var o=Kke(i);if(o===null)return null;i=o[e];e:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(t=t.type,o=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!o;break e;default:t=!1}if(t)return null;if(i&&typeof i!="function")throw Error(mr(231,e,typeof i));return i}var Egt=!1;if(MU)try{cue={},Object.defineProperty(cue,"passive",{get:function(){Egt=!0}}),window.addEventListener("test",cue,cue),window.removeEventListener("test",cue,cue)}catch{Egt=!1}var cue;function wnr(t,e,i,o,r,n,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{e.apply(i,c)}catch(d){this.onError(d)}}var eCe=!1,xke=null,Tke=!1,Agt=null,Cnr={onError:function(t){eCe=!0,xke=t}};function xnr(t,e,i,o,r,n,a,s,l){eCe=!1,xke=null,wnr.apply(Cnr,arguments)}function Tnr(t,e,i,o,r,n,a,s,l){if(xnr.apply(this,arguments),eCe){if(eCe){var c=xke;eCe=!1,xke=null}else throw Error(mr(198));Tke||(Tke=!0,Agt=c)}}function doe(t){var e=t,i=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(i=e.return),t=e.return;while(t)}return e.tag===3?i:null}function Hai(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function vni(t){if(doe(t)!==t)throw Error(mr(188))}function Snr(t){var e=t.alternate;if(!e){if(e=doe(t),e===null)throw Error(mr(188));return e!==t?null:t}for(var i=t,o=e;;){var r=i.return;if(r===null)break;var n=r.alternate;if(n===null){if(o=r.return,o!==null){i=o;continue}break}if(r.child===n.child){for(n=r.child;n;){if(n===i)return vni(r),t;if(n===o)return vni(r),e;n=n.sibling}throw Error(mr(188))}if(i.return!==o.return)i=r,o=n;else{for(var a=!1,s=r.child;s;){if(s===i){a=!0,i=r,o=n;break}if(s===o){a=!0,o=r,i=n;break}s=s.sibling}if(!a){for(s=n.child;s;){if(s===i){a=!0,i=n,o=r;break}if(s===o){a=!0,o=n,i=r;break}s=s.sibling}if(!a)throw Error(mr(189))}}if(i.alternate!==o)throw Error(mr(190))}if(i.tag!==3)throw Error(mr(188));return i.stateNode.current===i?t:e}function Gai(t){return t=Snr(t),t!==null?Yai(t):null}function Yai(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var e=Yai(t);if(e!==null)return e;t=t.sibling}return null}var Wai=ov.unstable_scheduleCallback,Dni=ov.unstable_cancelCallback,Mnr=ov.unstable_shouldYield,Inr=ov.unstable_requestPaint,P2=ov.unstable_now,Lnr=ov.unstable_getCurrentPriorityLevel,h2t=ov.unstable_ImmediatePriority,Qai=ov.unstable_UserBlockingPriority,Ske=ov.unstable_NormalPriority,vnr=ov.unstable_LowPriority,Kai=ov.unstable_IdlePriority,Gke=null,o_=null;function Dnr(t){if(o_&&typeof o_.onCommitFiberRoot=="function")try{o_.onCommitFiberRoot(Gke,t,void 0,(t.current.flags&128)===128)}catch{}}var k9=Math.clz32?Math.clz32:Nnr,Enr=Math.log,Anr=Math.LN2;function Nnr(t){return t>>>=0,t===0?32:31-(Enr(t)/Anr|0)|0}var K7e=64,Z7e=4194304;function qwe(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function Mke(t,e){var i=t.pendingLanes;if(i===0)return 0;var o=0,r=t.suspendedLanes,n=t.pingedLanes,a=i&268435455;if(a!==0){var s=a&~r;s!==0?o=qwe(s):(n&=a,n!==0&&(o=qwe(n)))}else a=i&~r,a!==0?o=qwe(a):n!==0&&(o=qwe(n));if(o===0)return 0;if(e!==0&&e!==o&&(e&r)===0&&(r=o&-o,n=e&-e,r>=n||r===16&&(n&4194240)!==0))return e;if((o&4)!==0&&(o|=i&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=o;0<e;)i=31-k9(e),r=1<<i,o|=t[i],e&=~r;return o}function knr(t,e){switch(t){case 1:case 2:case 4:return e+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Pnr(t,e){for(var i=t.suspendedLanes,o=t.pingedLanes,r=t.expirationTimes,n=t.pendingLanes;0<n;){var a=31-k9(n),s=1<<a,l=r[a];l===-1?((s&i)===0||(s&o)!==0)&&(r[a]=knr(s,e)):l<=e&&(t.expiredLanes|=s),n&=~s}}function Ngt(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function Zai(){var t=K7e;return K7e<<=1,(K7e&4194240)===0&&(K7e=64),t}function qft(t){for(var e=[],i=0;31>i;i++)e.push(t);return e}function ICe(t,e,i){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-k9(e),t[e]=i}function Onr(t,e){var i=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var o=t.eventTimes;for(t=t.expirationTimes;0<i;){var r=31-k9(i),n=1<<r;e[r]=0,o[r]=-1,t[r]=-1,i&=~n}}function f2t(t,e){var i=t.entangledLanes|=e;for(t=t.entanglements;i;){var o=31-k9(i),r=1<<o;r&e|t[o]&e&&(t[o]|=e),i&=~r}}var Ip=0;function Jai(t){return t&=-t,1<t?4<t?(t&268435455)!==0?16:536870912:4:1}var qai,g2t,Xai,$ai,esi,kgt=!1,J7e=[],PK=null,OK=null,RK=null,uCe=new Map,pCe=new Map,EK=[],Rnr="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Eni(t,e){switch(t){case"focusin":case"focusout":PK=null;break;case"dragenter":case"dragleave":OK=null;break;case"mouseover":case"mouseout":RK=null;break;case"pointerover":case"pointerout":uCe.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":pCe.delete(e.pointerId)}}function Vwe(t,e,i,o,r,n){return t===null||t.nativeEvent!==n?(t={blockedOn:e,domEventName:i,eventSystemFlags:o,nativeEvent:n,targetContainers:[r]},e!==null&&(e=vCe(e),e!==null&&g2t(e)),t):(t.eventSystemFlags|=o,e=t.targetContainers,r!==null&&e.indexOf(r)===-1&&e.push(r),t)}function _nr(t,e,i,o,r){switch(e){case"focusin":return PK=Vwe(PK,t,e,i,o,r),!0;case"dragenter":return OK=Vwe(OK,t,e,i,o,r),!0;case"mouseover":return RK=Vwe(RK,t,e,i,o,r),!0;case"pointerover":var n=r.pointerId;return uCe.set(n,Vwe(uCe.get(n)||null,t,e,i,o,r)),!0;case"gotpointercapture":return n=r.pointerId,pCe.set(n,Vwe(pCe.get(n)||null,t,e,i,o,r)),!0}return!1}function tsi(t){var e=$ie(t.target);if(e!==null){var i=doe(e);if(i!==null){if(e=i.tag,e===13){if(e=Hai(i),e!==null){t.blockedOn=e,esi(t.priority,function(){Xai(i)});return}}else if(e===3&&i.stateNode.current.memoizedState.isDehydrated){t.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}t.blockedOn=null}function dke(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var i=Pgt(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(i===null){i=t.nativeEvent;var o=new i.constructor(i.type,i);vgt=o,i.target.dispatchEvent(o),vgt=null}else return e=vCe(i),e!==null&&g2t(e),t.blockedOn=i,!1;e.shift()}return!0}function Ani(t,e,i){dke(t)&&i.delete(e)}function jnr(){kgt=!1,PK!==null&&dke(PK)&&(PK=null),OK!==null&&dke(OK)&&(OK=null),RK!==null&&dke(RK)&&(RK=null),uCe.forEach(Ani),pCe.forEach(Ani)}function Hwe(t,e){t.blockedOn===e&&(t.blockedOn=null,kgt||(kgt=!0,ov.unstable_scheduleCallback(ov.unstable_NormalPriority,jnr)))}function mCe(t){function e(r){return Hwe(r,t)}if(0<J7e.length){Hwe(J7e[0],t);for(var i=1;i<J7e.length;i++){var o=J7e[i];o.blockedOn===t&&(o.blockedOn=null)}}for(PK!==null&&Hwe(PK,t),OK!==null&&Hwe(OK,t),RK!==null&&Hwe(RK,t),uCe.forEach(e),pCe.forEach(e),i=0;i<EK.length;i++)o=EK[i],o.blockedOn===t&&(o.blockedOn=null);for(;0<EK.length&&(i=EK[0],i.blockedOn===null);)tsi(i),i.blockedOn===null&&EK.shift()}var Lue=DU.ReactCurrentBatchConfig,Ike=!0;function Bnr(t,e,i,o){var r=Ip,n=Lue.transition;Lue.transition=null;try{Ip=1,b2t(t,e,i,o)}finally{Ip=r,Lue.transition=n}}function znr(t,e,i,o){var r=Ip,n=Lue.transition;Lue.transition=null;try{Ip=4,b2t(t,e,i,o)}finally{Ip=r,Lue.transition=n}}function b2t(t,e,i,o){if(Ike){var r=Pgt(t,e,i,o);if(r===null)rgt(t,e,o,Lke,i),Eni(t,o);else if(_nr(r,t,e,i,o))o.stopPropagation();else if(Eni(t,o),e&4&&-1<Rnr.indexOf(t)){for(;r!==null;){var n=vCe(r);if(n!==null&&qai(n),n=Pgt(t,e,i,o),n===null&&rgt(t,e,o,Lke,i),n===r)break;r=n}r!==null&&o.stopPropagation()}else rgt(t,e,o,null,i)}}var Lke=null;function Pgt(t,e,i,o){if(Lke=null,t=m2t(o),t=$ie(t),t!==null)if(e=doe(t),e===null)t=null;else if(i=e.tag,i===13){if(t=Hai(e),t!==null)return t;t=null}else if(i===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return Lke=t,null}function isi(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Lnr()){case h2t:return 1;case Qai:return 4;case Ske:case vnr:return 16;case Kai:return 536870912;default:return 16}default:return 16}}var NK=null,y2t=null,uke=null;function osi(){if(uke)return uke;var t,e=y2t,i=e.length,o,r="value"in NK?NK.value:NK.textContent,n=r.length;for(t=0;t<i&&e[t]===r[t];t++);var a=i-t;for(o=1;o<=a&&e[i-o]===r[n-o];o++);return uke=r.slice(t,1<o?1-o:void 0)}function pke(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function q7e(){return!0}function Nni(){return!1}function rv(t){function e(i,o,r,n,a){this._reactName=i,this._targetInst=r,this.type=o,this.nativeEvent=n,this.target=a,this.currentTarget=null;for(var s in t)t.hasOwnProperty(s)&&(i=t[s],this[s]=i?i(n):n[s]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?q7e:Nni,this.isPropagationStopped=Nni,this}return Of(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=q7e)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=q7e)},persist:function(){},isPersistent:q7e}),e}var _ue={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},w2t=rv(_ue),LCe=Of({},_ue,{view:0,detail:0}),Fnr=rv(LCe),Xft,$ft,Gwe,Yke=Of({},LCe,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:C2t,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Gwe&&(Gwe&&t.type==="mousemove"?(Xft=t.screenX-Gwe.screenX,$ft=t.screenY-Gwe.screenY):$ft=Xft=0,Gwe=t),Xft)},movementY:function(t){return"movementY"in t?t.movementY:$ft}}),kni=rv(Yke),Unr=Of({},Yke,{dataTransfer:0}),Vnr=rv(Unr),Hnr=Of({},LCe,{relatedTarget:0}),egt=rv(Hnr),Gnr=Of({},_ue,{animationName:0,elapsedTime:0,pseudoElement:0}),Ynr=rv(Gnr),Wnr=Of({},_ue,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Qnr=rv(Wnr),Knr=Of({},_ue,{data:0}),Pni=rv(Knr),Znr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Jnr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},qnr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Xnr(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=qnr[t])?!!e[t]:!1}function C2t(){return Xnr}var $nr=Of({},LCe,{key:function(t){if(t.key){var e=Znr[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=pke(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Jnr[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:C2t,charCode:function(t){return t.type==="keypress"?pke(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?pke(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),ear=rv($nr),tar=Of({},Yke,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Oni=rv(tar),iar=Of({},LCe,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:C2t}),oar=rv(iar),rar=Of({},_ue,{propertyName:0,elapsedTime:0,pseudoElement:0}),nar=rv(rar),aar=Of({},Yke,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),sar=rv(aar),lar=[9,13,27,32],x2t=MU&&"CompositionEvent"in window,tCe=null;MU&&"documentMode"in document&&(tCe=document.documentMode);var car=MU&&"TextEvent"in window&&!tCe,rsi=MU&&(!x2t||tCe&&8<tCe&&11>=tCe),Rni=" ",_ni=!1;function nsi(t,e){switch(t){case"keyup":return lar.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function asi(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var mue=!1;function dar(t,e){switch(t){case"compositionend":return asi(e);case"keypress":return e.which!==32?null:(_ni=!0,Rni);case"textInput":return t=e.data,t===Rni&&_ni?null:t;default:return null}}function uar(t,e){if(mue)return t==="compositionend"||!x2t&&nsi(t,e)?(t=osi(),uke=y2t=NK=null,mue=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return rsi&&e.locale!=="ko"?null:e.data;default:return null}}var par={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function jni(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!par[t.type]:e==="textarea"}function ssi(t,e,i,o){Bai(o),e=vke(e,"onChange"),0<e.length&&(i=new w2t("onChange","change",null,i,o),t.push({event:i,listeners:e}))}var iCe=null,hCe=null;function mar(t){ysi(t,0)}function Wke(t){var e=gue(t);if(Nai(e))return t}function har(t,e){if(t==="change")return e}var lsi=!1;MU&&(MU?($7e="oninput"in document,$7e||(tgt=document.createElement("div"),tgt.setAttribute("oninput","return;"),$7e=typeof tgt.oninput=="function"),X7e=$7e):X7e=!1,lsi=X7e&&(!document.documentMode||9<document.documentMode));var X7e,$7e,tgt;function Bni(){iCe&&(iCe.detachEvent("onpropertychange",csi),hCe=iCe=null)}function csi(t){if(t.propertyName==="value"&&Wke(hCe)){var e=[];ssi(e,hCe,t,m2t(t)),Vai(mar,e)}}function far(t,e,i){t==="focusin"?(Bni(),iCe=e,hCe=i,iCe.attachEvent("onpropertychange",csi)):t==="focusout"&&Bni()}function gar(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Wke(hCe)}function bar(t,e){if(t==="click")return Wke(e)}function yar(t,e){if(t==="input"||t==="change")return Wke(e)}function war(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var O9=typeof Object.is=="function"?Object.is:war;function fCe(t,e){if(O9(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var i=Object.keys(t),o=Object.keys(e);if(i.length!==o.length)return!1;for(o=0;o<i.length;o++){var r=i[o];if(!fgt.call(e,r)||!O9(t[r],e[r]))return!1}return!0}function zni(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Fni(t,e){var i=zni(t);t=0;for(var o;i;){if(i.nodeType===3){if(o=t+i.textContent.length,t<=e&&o>=e)return{node:i,offset:e-t};t=o}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=zni(i)}}function dsi(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?dsi(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function usi(){for(var t=window,e=Cke();e instanceof t.HTMLIFrameElement;){try{var i=typeof e.contentWindow.location.href=="string"}catch{i=!1}if(i)t=e.contentWindow;else break;e=Cke(t.document)}return e}function T2t(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function Car(t){var e=usi(),i=t.focusedElem,o=t.selectionRange;if(e!==i&&i&&i.ownerDocument&&dsi(i.ownerDocument.documentElement,i)){if(o!==null&&T2t(i)){if(e=o.start,t=o.end,t===void 0&&(t=e),"selectionStart"in i)i.selectionStart=e,i.selectionEnd=Math.min(t,i.value.length);else if(t=(e=i.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var r=i.textContent.length,n=Math.min(o.start,r);o=o.end===void 0?n:Math.min(o.end,r),!t.extend&&n>o&&(r=o,o=n,n=r),r=Fni(i,n);var a=Fni(i,o);r&&a&&(t.rangeCount!==1||t.anchorNode!==r.node||t.anchorOffset!==r.offset||t.focusNode!==a.node||t.focusOffset!==a.offset)&&(e=e.createRange(),e.setStart(r.node,r.offset),t.removeAllRanges(),n>o?(t.addRange(e),t.extend(a.node,a.offset)):(e.setEnd(a.node,a.offset),t.addRange(e)))}}for(e=[],t=i;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<e.length;i++)t=e[i],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var xar=MU&&"documentMode"in document&&11>=document.documentMode,hue=null,Ogt=null,oCe=null,Rgt=!1;function Uni(t,e,i){var o=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Rgt||hue==null||hue!==Cke(o)||(o=hue,"selectionStart"in o&&T2t(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),oCe&&fCe(oCe,o)||(oCe=o,o=vke(Ogt,"onSelect"),0<o.length&&(e=new w2t("onSelect","select",null,e,i),t.push({event:e,listeners:o}),e.target=hue)))}function eke(t,e){var i={};return i[t.toLowerCase()]=e.toLowerCase(),i["Webkit"+t]="webkit"+e,i["Moz"+t]="moz"+e,i}var fue={animationend:eke("Animation","AnimationEnd"),animationiteration:eke("Animation","AnimationIteration"),animationstart:eke("Animation","AnimationStart"),transitionend:eke("Transition","TransitionEnd")},igt={},psi={};MU&&(psi=document.createElement("div").style,"AnimationEvent"in window||(delete fue.animationend.animation,delete fue.animationiteration.animation,delete fue.animationstart.animation),"TransitionEvent"in window||delete fue.transitionend.transition);function Qke(t){if(igt[t])return igt[t];if(!fue[t])return t;var e=fue[t],i;for(i in e)if(e.hasOwnProperty(i)&&i in psi)return igt[t]=e[i];return t}var msi=Qke("animationend"),hsi=Qke("animationiteration"),fsi=Qke("animationstart"),gsi=Qke("transitionend"),bsi=new Map,Vni="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function HK(t,e){bsi.set(t,e),coe(e,[t])}for(tke=0;tke<Vni.length;tke++)ike=Vni[tke],Hni=ike.toLowerCase(),Gni=ike[0].toUpperCase()+ike.slice(1),HK(Hni,"on"+Gni);var ike,Hni,Gni,tke;HK(msi,"onAnimationEnd");HK(hsi,"onAnimationIteration");HK(fsi,"onAnimationStart");HK("dblclick","onDoubleClick");HK("focusin","onFocus");HK("focusout","onBlur");HK(gsi,"onTransitionEnd");Eue("onMouseEnter",["mouseout","mouseover"]);Eue("onMouseLeave",["mouseout","mouseover"]);Eue("onPointerEnter",["pointerout","pointerover"]);Eue("onPointerLeave",["pointerout","pointerover"]);coe("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));coe("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));coe("onBeforeInput",["compositionend","keypress","textInput","paste"]);coe("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));coe("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));coe("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xwe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Tar=new Set("cancel close invalid load scroll toggle".split(" ").concat(Xwe));function Yni(t,e,i){var o=t.type||"unknown-event";t.currentTarget=i,Tnr(o,e,void 0,t),t.currentTarget=null}function ysi(t,e){e=(e&4)!==0;for(var i=0;i<t.length;i++){var o=t[i],r=o.event;o=o.listeners;e:{var n=void 0;if(e)for(var a=o.length-1;0<=a;a--){var s=o[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==n&&r.isPropagationStopped())break e;Yni(r,s,c),n=l}else for(a=0;a<o.length;a++){if(s=o[a],l=s.instance,c=s.currentTarget,s=s.listener,l!==n&&r.isPropagationStopped())break e;Yni(r,s,c),n=l}}}if(Tke)throw t=Agt,Tke=!1,Agt=null,t}function th(t,e){var i=e[Fgt];i===void 0&&(i=e[Fgt]=new Set);var o=t+"__bubble";i.has(o)||(wsi(e,t,2,!1),i.add(o))}function ogt(t,e,i){var o=0;e&&(o|=4),wsi(i,t,o,e)}var oke="_reactListening"+Math.random().toString(36).slice(2);function gCe(t){if(!t[oke]){t[oke]=!0,Lai.forEach(function(i){i!=="selectionchange"&&(Tar.has(i)||ogt(i,!1,t),ogt(i,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[oke]||(e[oke]=!0,ogt("selectionchange",!1,e))}}function wsi(t,e,i,o){switch(isi(e)){case 1:var r=Bnr;break;case 4:r=znr;break;default:r=b2t}i=r.bind(null,e,i,t),r=void 0,!Egt||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(r=!0),o?r!==void 0?t.addEventListener(e,i,{capture:!0,passive:r}):t.addEventListener(e,i,!0):r!==void 0?t.addEventListener(e,i,{passive:r}):t.addEventListener(e,i,!1)}function rgt(t,e,i,o,r){var n=o;if((e&1)===0&&(e&2)===0&&o!==null)e:for(;;){if(o===null)return;var a=o.tag;if(a===3||a===4){var s=o.stateNode.containerInfo;if(s===r||s.nodeType===8&&s.parentNode===r)break;if(a===4)for(a=o.return;a!==null;){var l=a.tag;if((l===3||l===4)&&(l=a.stateNode.containerInfo,l===r||l.nodeType===8&&l.parentNode===r))return;a=a.return}for(;s!==null;){if(a=$ie(s),a===null)return;if(l=a.tag,l===5||l===6){o=n=a;continue e}s=s.parentNode}}o=o.return}Vai(function(){var c=n,d=m2t(i),u=[];e:{var p=bsi.get(t);if(p!==void 0){var m=w2t,h=t;switch(t){case"keypress":if(pke(i)===0)break e;case"keydown":case"keyup":m=ear;break;case"focusin":h="focus",m=egt;break;case"focusout":h="blur",m=egt;break;case"beforeblur":case"afterblur":m=egt;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=kni;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=Vnr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=oar;break;case msi:case hsi:case fsi:m=Ynr;break;case gsi:m=nar;break;case"scroll":m=Fnr;break;case"wheel":m=sar;break;case"copy":case"cut":case"paste":m=Qnr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=Oni}var f=(e&4)!==0,g=!f&&t==="scroll",b=f?p!==null?p+"Capture":null:p;f=[];for(var y=c,w;y!==null;){w=y;var x=w.stateNode;if(w.tag===5&&x!==null&&(w=x,b!==null&&(x=dCe(y,b),x!=null&&f.push(bCe(y,x,w)))),g)break;y=y.return}0<f.length&&(p=new m(p,h,null,i,d),u.push({event:p,listeners:f}))}}if((e&7)===0){e:{if(p=t==="mouseover"||t==="pointerover",m=t==="mouseout"||t==="pointerout",p&&i!==vgt&&(h=i.relatedTarget||i.fromElement)&&($ie(h)||h[IU]))break e;if((m||p)&&(p=d.window===d?d:(p=d.ownerDocument)?p.defaultView||p.parentWindow:window,m?(h=i.relatedTarget||i.toElement,m=c,h=h?$ie(h):null,h!==null&&(g=doe(h),h!==g||h.tag!==5&&h.tag!==6)&&(h=null)):(m=null,h=c),m!==h)){if(f=kni,x="onMouseLeave",b="onMouseEnter",y="mouse",(t==="pointerout"||t==="pointerover")&&(f=Oni,x="onPointerLeave",b="onPointerEnter",y="pointer"),g=m==null?p:gue(m),w=h==null?p:gue(h),p=new f(x,y+"leave",m,i,d),p.target=g,p.relatedTarget=w,x=null,$ie(d)===c&&(f=new f(b,y+"enter",h,i,d),f.target=w,f.relatedTarget=g,x=f),g=x,m&&h)t:{for(f=m,b=h,y=0,w=f;w;w=due(w))y++;for(w=0,x=b;x;x=due(x))w++;for(;0<y-w;)f=due(f),y--;for(;0<w-y;)b=due(b),w--;for(;y--;){if(f===b||b!==null&&f===b.alternate)break t;f=due(f),b=due(b)}f=null}else f=null;m!==null&&Wni(u,p,m,f,!1),h!==null&&g!==null&&Wni(u,g,h,f,!0)}}e:{if(p=c?gue(c):window,m=p.nodeName&&p.nodeName.toLowerCase(),m==="select"||m==="input"&&p.type==="file")var S=har;else if(jni(p))if(lsi)S=yar;else{S=gar;var T=far}else(m=p.nodeName)&&m.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(S=bar);if(S&&(S=S(t,c))){ssi(u,S,i,d);break e}T&&T(t,p,c),t==="focusout"&&(T=p._wrapperState)&&T.controlled&&p.type==="number"&&Tgt(p,"number",p.value)}switch(T=c?gue(c):window,t){case"focusin":(jni(T)||T.contentEditable==="true")&&(hue=T,Ogt=c,oCe=null);break;case"focusout":oCe=Ogt=hue=null;break;case"mousedown":Rgt=!0;break;case"contextmenu":case"mouseup":case"dragend":Rgt=!1,Uni(u,i,d);break;case"selectionchange":if(xar)break;case"keydown":case"keyup":Uni(u,i,d)}var M;if(x2t)e:{switch(t){case"compositionstart":var I="onCompositionStart";break e;case"compositionend":I="onCompositionEnd";break e;case"compositionupdate":I="onCompositionUpdate";break e}I=void 0}else mue?nsi(t,i)&&(I="onCompositionEnd"):t==="keydown"&&i.keyCode===229&&(I="onCompositionStart");I&&(rsi&&i.locale!=="ko"&&(mue||I!=="onCompositionStart"?I==="onCompositionEnd"&&mue&&(M=osi()):(NK=d,y2t="value"in NK?NK.value:NK.textContent,mue=!0)),T=vke(c,I),0<T.length&&(I=new Pni(I,t,null,i,d),u.push({event:I,listeners:T}),M?I.data=M:(M=asi(i),M!==null&&(I.data=M)))),(M=car?dar(t,i):uar(t,i))&&(c=vke(c,"onBeforeInput"),0<c.length&&(d=new Pni("onBeforeInput","beforeinput",null,i,d),u.push({event:d,listeners:c}),d.data=M))}ysi(u,e)})}function bCe(t,e,i){return{instance:t,listener:e,currentTarget:i}}function vke(t,e){for(var i=e+"Capture",o=[];t!==null;){var r=t,n=r.stateNode;r.tag===5&&n!==null&&(r=n,n=dCe(t,i),n!=null&&o.unshift(bCe(t,n,r)),n=dCe(t,e),n!=null&&o.push(bCe(t,n,r))),t=t.return}return o}function due(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function Wni(t,e,i,o,r){for(var n=e._reactName,a=[];i!==null&&i!==o;){var s=i,l=s.alternate,c=s.stateNode;if(l!==null&&l===o)break;s.tag===5&&c!==null&&(s=c,r?(l=dCe(i,n),l!=null&&a.unshift(bCe(i,l,s))):r||(l=dCe(i,n),l!=null&&a.push(bCe(i,l,s)))),i=i.return}a.length!==0&&t.push({event:e,listeners:a})}var Sar=/\r\n?/g,Mar=/\u0000|\uFFFD/g;function Qni(t){return(typeof t=="string"?t:""+t).replace(Sar,`
`).replace(Mar,"")}function rke(t,e,i){if(e=Qni(e),Qni(t)!==e&&i)throw Error(mr(425))}function Dke(){}var _gt=null,jgt=null;function Bgt(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var zgt=typeof setTimeout=="function"?setTimeout:void 0,Iar=typeof clearTimeout=="function"?clearTimeout:void 0,Kni=typeof Promise=="function"?Promise:void 0,Lar=typeof queueMicrotask=="function"?queueMicrotask:typeof Kni<"u"?function(t){return Kni.resolve(null).then(t).catch(Dar)}:zgt;function Dar(t){setTimeout(function(){throw t})}function ngt(t,e){var i=e,o=0;do{var r=i.nextSibling;if(t.removeChild(i),r&&r.nodeType===8)if(i=r.data,i==="/$"){if(o===0){t.removeChild(r),mCe(e);return}o--}else i!=="$"&&i!=="$?"&&i!=="$!"||o++;i=r}while(i);mCe(e)}function _K(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return t}function Zni(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var i=t.data;if(i==="$"||i==="$!"||i==="$?"){if(e===0)return t;e--}else i==="/$"&&e++}t=t.previousSibling}return null}var jue=Math.random().toString(36).slice(2),i_="__reactFiber$"+jue,yCe="__reactProps$"+jue,IU="__reactContainer$"+jue,Fgt="__reactEvents$"+jue,Ear="__reactListeners$"+jue,Aar="__reactHandles$"+jue;function $ie(t){var e=t[i_];if(e)return e;for(var i=t.parentNode;i;){if(e=i[IU]||i[i_]){if(i=e.alternate,e.child!==null||i!==null&&i.child!==null)for(t=Zni(t);t!==null;){if(i=t[i_])return i;t=Zni(t)}return e}t=i,i=t.parentNode}return null}function vCe(t){return t=t[i_]||t[IU],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function gue(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(mr(33))}function Kke(t){return t[yCe]||null}var Ugt=[],bue=-1;function GK(t){return{current:t}}function ih(t){0>bue||(t.current=Ugt[bue],Ugt[bue]=null,bue--)}function f1(t,e){bue++,Ugt[bue]=t.current,t.current=e}var VK={},dT=GK(VK),N6=GK(!1),roe=VK;function Aue(t,e){var i=t.type.contextTypes;if(!i)return VK;var o=t.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===e)return o.__reactInternalMemoizedMaskedChildContext;var r={},n;for(n in i)r[n]=e[n];return o&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=r),r}function k6(t){return t=t.childContextTypes,t!=null}function Eke(){ih(N6),ih(dT)}function Jni(t,e,i){if(dT.current!==VK)throw Error(mr(168));f1(dT,e),f1(N6,i)}function Csi(t,e,i){var o=t.stateNode;if(e=e.childContextTypes,typeof o.getChildContext!="function")return i;o=o.getChildContext();for(var r in o)if(!(r in e))throw Error(mr(108,fnr(t)||"Unknown",r));return Of({},i,o)}function Ake(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||VK,roe=dT.current,f1(dT,t),f1(N6,N6.current),!0}function qni(t,e,i){var o=t.stateNode;if(!o)throw Error(mr(169));i?(t=Csi(t,e,roe),o.__reactInternalMemoizedMergedChildContext=t,ih(N6),ih(dT),f1(dT,t)):ih(N6),f1(N6,i)}var CU=null,Zke=!1,agt=!1;function xsi(t){CU===null?CU=[t]:CU.push(t)}function Nar(t){Zke=!0,xsi(t)}function YK(){if(!agt&&CU!==null){agt=!0;var t=0,e=Ip;try{var i=CU;for(Ip=1;t<i.length;t++){var o=i[t];do o=o(!0);while(o!==null)}CU=null,Zke=!1}catch(r){throw CU!==null&&(CU=CU.slice(t+1)),Wai(h2t,YK),r}finally{Ip=e,agt=!1}}return null}var yue=[],wue=0,Nke=null,kke=0,C8=[],x8=0,noe=null,xU=1,TU="";function qie(t,e){yue[wue++]=kke,yue[wue++]=Nke,Nke=t,kke=e}function Tsi(t,e,i){C8[x8++]=xU,C8[x8++]=TU,C8[x8++]=noe,noe=t;var o=xU;t=TU;var r=32-k9(o)-1;o&=~(1<<r),i+=1;var n=32-k9(e)+r;if(30<n){var a=r-r%5;n=(o&(1<<a)-1).toString(32),o>>=a,r-=a,xU=1<<32-k9(e)+r|i<<r|o,TU=n+t}else xU=1<<n|i<<r|o,TU=t}function S2t(t){t.return!==null&&(qie(t,1),Tsi(t,1,0))}function M2t(t){for(;t===Nke;)Nke=yue[--wue],yue[wue]=null,kke=yue[--wue],yue[wue]=null;for(;t===noe;)noe=C8[--x8],C8[x8]=null,TU=C8[--x8],C8[x8]=null,xU=C8[--x8],C8[x8]=null}var iv=null,tv=null,Uh=!1,N9=null;function Ssi(t,e){var i=T8(5,null,null,0);i.elementType="DELETED",i.stateNode=e,i.return=t,e=t.deletions,e===null?(t.deletions=[i],t.flags|=16):e.push(i)}function Xni(t,e){switch(t.tag){case 5:var i=t.type;return e=e.nodeType!==1||i.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(t.stateNode=e,iv=t,tv=_K(e.firstChild),!0):!1;case 6:return e=t.pendingProps===""||e.nodeType!==3?null:e,e!==null?(t.stateNode=e,iv=t,tv=null,!0):!1;case 13:return e=e.nodeType!==8?null:e,e!==null?(i=noe!==null?{id:xU,overflow:TU}:null,t.memoizedState={dehydrated:e,treeContext:i,retryLane:1073741824},i=T8(18,null,null,0),i.stateNode=e,i.return=t,t.child=i,iv=t,tv=null,!0):!1;default:return!1}}function Vgt(t){return(t.mode&1)!==0&&(t.flags&128)===0}function Hgt(t){if(Uh){var e=tv;if(e){var i=e;if(!Xni(t,e)){if(Vgt(t))throw Error(mr(418));e=_K(i.nextSibling);var o=iv;e&&Xni(t,e)?Ssi(o,i):(t.flags=t.flags&-4097|2,Uh=!1,iv=t)}}else{if(Vgt(t))throw Error(mr(418));t.flags=t.flags&-4097|2,Uh=!1,iv=t}}}function $ni(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;iv=t}function nke(t){if(t!==iv)return!1;if(!Uh)return $ni(t),Uh=!0,!1;var e;if((e=t.tag!==3)&&!(e=t.tag!==5)&&(e=t.type,e=e!=="head"&&e!=="body"&&!Bgt(t.type,t.memoizedProps)),e&&(e=tv)){if(Vgt(t))throw Msi(),Error(mr(418));for(;e;)Ssi(t,e),e=_K(e.nextSibling)}if($ni(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(mr(317));e:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8){var i=t.data;if(i==="/$"){if(e===0){tv=_K(t.nextSibling);break e}e--}else i!=="$"&&i!=="$!"&&i!=="$?"||e++}t=t.nextSibling}tv=null}}else tv=iv?_K(t.stateNode.nextSibling):null;return!0}function Msi(){for(var t=tv;t;)t=_K(t.nextSibling)}function Nue(){tv=iv=null,Uh=!1}function I2t(t){N9===null?N9=[t]:N9.push(t)}var kar=DU.ReactCurrentBatchConfig;function E9(t,e){if(t&&t.defaultProps){e=Of({},e),t=t.defaultProps;for(var i in t)e[i]===void 0&&(e[i]=t[i]);return e}return e}var Pke=GK(null),Oke=null,Cue=null,L2t=null;function v2t(){L2t=Cue=Oke=null}function D2t(t){var e=Pke.current;ih(Pke),t._currentValue=e}function Ggt(t,e,i){for(;t!==null;){var o=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,o!==null&&(o.childLanes|=e)):o!==null&&(o.childLanes&e)!==e&&(o.childLanes|=e),t===i)break;t=t.return}}function vue(t,e){Oke=t,L2t=Cue=null,t=t.dependencies,t!==null&&t.firstContext!==null&&((t.lanes&e)!==0&&(A6=!0),t.firstContext=null)}function M8(t){var e=t._currentValue;if(L2t!==t)if(t={context:t,memoizedValue:e,next:null},Cue===null){if(Oke===null)throw Error(mr(308));Cue=t,Oke.dependencies={lanes:0,firstContext:t}}else Cue=Cue.next=t;return e}var eoe=null;function E2t(t){eoe===null?eoe=[t]:eoe.push(t)}function Isi(t,e,i,o){var r=e.interleaved;return r===null?(i.next=i,E2t(e)):(i.next=r.next,r.next=i),e.interleaved=i,LU(t,o)}function LU(t,e){t.lanes|=e;var i=t.alternate;for(i!==null&&(i.lanes|=e),i=t,t=t.return;t!==null;)t.childLanes|=e,i=t.alternate,i!==null&&(i.childLanes|=e),i=t,t=t.return;return i.tag===3?i.stateNode:null}var DK=!1;function A2t(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Lsi(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function SU(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function jK(t,e,i){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,(Hu&2)!==0){var r=o.pending;return r===null?e.next=e:(e.next=r.next,r.next=e),o.pending=e,LU(t,i)}return r=o.interleaved,r===null?(e.next=e,E2t(o)):(e.next=r.next,r.next=e),o.interleaved=e,LU(t,i)}function mke(t,e,i){if(e=e.updateQueue,e!==null&&(e=e.shared,(i&4194240)!==0)){var o=e.lanes;o&=t.pendingLanes,i|=o,e.lanes=i,f2t(t,i)}}function eai(t,e){var i=t.updateQueue,o=t.alternate;if(o!==null&&(o=o.updateQueue,i===o)){var r=null,n=null;if(i=i.firstBaseUpdate,i!==null){do{var a={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};n===null?r=n=a:n=n.next=a,i=i.next}while(i!==null);n===null?r=n=e:n=n.next=e}else r=n=e;i={baseState:o.baseState,firstBaseUpdate:r,lastBaseUpdate:n,shared:o.shared,effects:o.effects},t.updateQueue=i;return}t=i.lastBaseUpdate,t===null?i.firstBaseUpdate=e:t.next=e,i.lastBaseUpdate=e}function Rke(t,e,i,o){var r=t.updateQueue;DK=!1;var n=r.firstBaseUpdate,a=r.lastBaseUpdate,s=r.shared.pending;if(s!==null){r.shared.pending=null;var l=s,c=l.next;l.next=null,a===null?n=c:a.next=c,a=l;var d=t.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==a&&(s===null?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=l))}if(n!==null){var u=r.baseState;a=0,d=c=l=null,s=n;do{var p=s.lane,m=s.eventTime;if((o&p)===p){d!==null&&(d=d.next={eventTime:m,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=t,f=s;switch(p=e,m=i,f.tag){case 1:if(h=f.payload,typeof h=="function"){u=h.call(m,u,p);break e}u=h;break e;case 3:h.flags=h.flags&-65537|128;case 0:if(h=f.payload,p=typeof h=="function"?h.call(m,u,p):h,p==null)break e;u=Of({},u,p);break e;case 2:DK=!0}}s.callback!==null&&s.lane!==0&&(t.flags|=64,p=r.effects,p===null?r.effects=[s]:p.push(s))}else m={eventTime:m,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(c=d=m,l=u):d=d.next=m,a|=p;if(s=s.next,s===null){if(s=r.shared.pending,s===null)break;p=s,s=p.next,p.next=null,r.lastBaseUpdate=p,r.shared.pending=null}}while(!0);if(d===null&&(l=u),r.baseState=l,r.firstBaseUpdate=c,r.lastBaseUpdate=d,e=r.shared.interleaved,e!==null){r=e;do a|=r.lane,r=r.next;while(r!==e)}else n===null&&(r.shared.lanes=0);soe|=a,t.lanes=a,t.memoizedState=u}}function tai(t,e,i){if(t=e.effects,e.effects=null,t!==null)for(e=0;e<t.length;e++){var o=t[e],r=o.callback;if(r!==null){if(o.callback=null,o=i,typeof r!="function")throw Error(mr(191,r));r.call(o)}}}var vsi=new Iai.Component().refs;function Ygt(t,e,i,o){e=t.memoizedState,i=i(o,e),i=i==null?e:Of({},e,i),t.memoizedState=i,t.lanes===0&&(t.updateQueue.baseState=i)}var Jke={isMounted:function(t){return(t=t._reactInternals)?doe(t)===t:!1},enqueueSetState:function(t,e,i){t=t._reactInternals;var o=gS(),r=zK(t),n=SU(o,r);n.payload=e,i!=null&&(n.callback=i),e=jK(t,n,r),e!==null&&(P9(e,t,r,o),mke(e,t,r))},enqueueReplaceState:function(t,e,i){t=t._reactInternals;var o=gS(),r=zK(t),n=SU(o,r);n.tag=1,n.payload=e,i!=null&&(n.callback=i),e=jK(t,n,r),e!==null&&(P9(e,t,r,o),mke(e,t,r))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var i=gS(),o=zK(t),r=SU(i,o);r.tag=2,e!=null&&(r.callback=e),e=jK(t,r,o),e!==null&&(P9(e,t,o,i),mke(e,t,o))}};function iai(t,e,i,o,r,n,a){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(o,n,a):e.prototype&&e.prototype.isPureReactComponent?!fCe(i,o)||!fCe(r,n):!0}function Dsi(t,e,i){var o=!1,r=VK,n=e.contextType;return typeof n=="object"&&n!==null?n=M8(n):(r=k6(e)?roe:dT.current,o=e.contextTypes,n=(o=o!=null)?Aue(t,r):VK),e=new e(i,n),t.memoizedState=e.state!==null&&e.state!==void 0?e.state:null,e.updater=Jke,t.stateNode=e,e._reactInternals=t,o&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=r,t.__reactInternalMemoizedMaskedChildContext=n),e}function oai(t,e,i,o){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(i,o),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(i,o),e.state!==t&&Jke.enqueueReplaceState(e,e.state,null)}function Wgt(t,e,i,o){var r=t.stateNode;r.props=i,r.state=t.memoizedState,r.refs=vsi,A2t(t);var n=e.contextType;typeof n=="object"&&n!==null?r.context=M8(n):(n=k6(e)?roe:dT.current,r.context=Aue(t,n)),r.state=t.memoizedState,n=e.getDerivedStateFromProps,typeof n=="function"&&(Ygt(t,e,n,i),r.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(e=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),e!==r.state&&Jke.enqueueReplaceState(r,r.state,null),Rke(t,i,r,o),r.state=t.memoizedState),typeof r.componentDidMount=="function"&&(t.flags|=4194308)}function Ywe(t,e,i){if(t=i.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(i._owner){if(i=i._owner,i){if(i.tag!==1)throw Error(mr(309));var o=i.stateNode}if(!o)throw Error(mr(147,t));var r=o,n=""+t;return e!==null&&e.ref!==null&&typeof e.ref=="function"&&e.ref._stringRef===n?e.ref:(e=function(a){var s=r.refs;s===vsi&&(s=r.refs={}),a===null?delete s[n]:s[n]=a},e._stringRef=n,e)}if(typeof t!="string")throw Error(mr(284));if(!i._owner)throw Error(mr(290,t))}return t}function ake(t,e){throw t=Object.prototype.toString.call(e),Error(mr(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function rai(t){var e=t._init;return e(t._payload)}function Esi(t){function e(b,y){if(t){var w=b.deletions;w===null?(b.deletions=[y],b.flags|=16):w.push(y)}}function i(b,y){if(!t)return null;for(;y!==null;)e(b,y),y=y.sibling;return null}function o(b,y){for(b=new Map;y!==null;)y.key!==null?b.set(y.key,y):b.set(y.index,y),y=y.sibling;return b}function r(b,y){return b=FK(b,y),b.index=0,b.sibling=null,b}function n(b,y,w){return b.index=w,t?(w=b.alternate,w!==null?(w=w.index,w<y?(b.flags|=2,y):w):(b.flags|=2,y)):(b.flags|=1048576,y)}function a(b){return t&&b.alternate===null&&(b.flags|=2),b}function s(b,y,w,x){return y===null||y.tag!==6?(y=mgt(w,b.mode,x),y.return=b,y):(y=r(y,w),y.return=b,y)}function l(b,y,w,x){var S=w.type;return S===pue?d(b,y,w.props.children,x,w.key):y!==null&&(y.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===vK&&rai(S)===y.type)?(x=r(y,w.props),x.ref=Ywe(b,y,w),x.return=b,x):(x=wke(w.type,w.key,w.props,null,b.mode,x),x.ref=Ywe(b,y,w),x.return=b,x)}function c(b,y,w,x){return y===null||y.tag!==4||y.stateNode.containerInfo!==w.containerInfo||y.stateNode.implementation!==w.implementation?(y=hgt(w,b.mode,x),y.return=b,y):(y=r(y,w.children||[]),y.return=b,y)}function d(b,y,w,x,S){return y===null||y.tag!==7?(y=ooe(w,b.mode,x,S),y.return=b,y):(y=r(y,w),y.return=b,y)}function u(b,y,w){if(typeof y=="string"&&y!==""||typeof y=="number")return y=mgt(""+y,b.mode,w),y.return=b,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Y7e:return w=wke(y.type,y.key,y.props,null,b.mode,w),w.ref=Ywe(b,null,y),w.return=b,w;case uue:return y=hgt(y,b.mode,w),y.return=b,y;case vK:var x=y._init;return u(b,x(y._payload),w)}if(Jwe(y)||Uwe(y))return y=ooe(y,b.mode,w,null),y.return=b,y;ake(b,y)}return null}function p(b,y,w,x){var S=y!==null?y.key:null;if(typeof w=="string"&&w!==""||typeof w=="number")return S!==null?null:s(b,y,""+w,x);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Y7e:return w.key===S?l(b,y,w,x):null;case uue:return w.key===S?c(b,y,w,x):null;case vK:return S=w._init,p(b,y,S(w._payload),x)}if(Jwe(w)||Uwe(w))return S!==null?null:d(b,y,w,x,null);ake(b,w)}return null}function m(b,y,w,x,S){if(typeof x=="string"&&x!==""||typeof x=="number")return b=b.get(w)||null,s(y,b,""+x,S);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Y7e:return b=b.get(x.key===null?w:x.key)||null,l(y,b,x,S);case uue:return b=b.get(x.key===null?w:x.key)||null,c(y,b,x,S);case vK:var T=x._init;return m(b,y,w,T(x._payload),S)}if(Jwe(x)||Uwe(x))return b=b.get(w)||null,d(y,b,x,S,null);ake(y,x)}return null}function h(b,y,w,x){for(var S=null,T=null,M=y,I=y=0,A=null;M!==null&&I<w.length;I++){M.index>I?(A=M,M=null):A=M.sibling;var D=p(b,M,w[I],x);if(D===null){M===null&&(M=A);break}t&&M&&D.alternate===null&&e(b,M),y=n(D,y,I),T===null?S=D:T.sibling=D,T=D,M=A}if(I===w.length)return i(b,M),Uh&&qie(b,I),S;if(M===null){for(;I<w.length;I++)M=u(b,w[I],x),M!==null&&(y=n(M,y,I),T===null?S=M:T.sibling=M,T=M);return Uh&&qie(b,I),S}for(M=o(b,M);I<w.length;I++)A=m(M,b,I,w[I],x),A!==null&&(t&&A.alternate!==null&&M.delete(A.key===null?I:A.key),y=n(A,y,I),T===null?S=A:T.sibling=A,T=A);return t&&M.forEach(function(E){return e(b,E)}),Uh&&qie(b,I),S}function f(b,y,w,x){var S=Uwe(w);if(typeof S!="function")throw Error(mr(150));if(w=S.call(w),w==null)throw Error(mr(151));for(var T=S=null,M=y,I=y=0,A=null,D=w.next();M!==null&&!D.done;I++,D=w.next()){M.index>I?(A=M,M=null):A=M.sibling;var E=p(b,M,D.value,x);if(E===null){M===null&&(M=A);break}t&&M&&E.alternate===null&&e(b,M),y=n(E,y,I),T===null?S=E:T.sibling=E,T=E,M=A}if(D.done)return i(b,M),Uh&&qie(b,I),S;if(M===null){for(;!D.done;I++,D=w.next())D=u(b,D.value,x),D!==null&&(y=n(D,y,I),T===null?S=D:T.sibling=D,T=D);return Uh&&qie(b,I),S}for(M=o(b,M);!D.done;I++,D=w.next())D=m(M,b,I,D.value,x),D!==null&&(t&&D.alternate!==null&&M.delete(D.key===null?I:D.key),y=n(D,y,I),T===null?S=D:T.sibling=D,T=D);return t&&M.forEach(function(N){return e(b,N)}),Uh&&qie(b,I),S}function g(b,y,w,x){if(typeof w=="object"&&w!==null&&w.type===pue&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Y7e:e:{for(var S=w.key,T=y;T!==null;){if(T.key===S){if(S=w.type,S===pue){if(T.tag===7){i(b,T.sibling),y=r(T,w.props.children),y.return=b,b=y;break e}}else if(T.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===vK&&rai(S)===T.type){i(b,T.sibling),y=r(T,w.props),y.ref=Ywe(b,T,w),y.return=b,b=y;break e}i(b,T);break}else e(b,T);T=T.sibling}w.type===pue?(y=ooe(w.props.children,b.mode,x,w.key),y.return=b,b=y):(x=wke(w.type,w.key,w.props,null,b.mode,x),x.ref=Ywe(b,y,w),x.return=b,b=x)}return a(b);case uue:e:{for(T=w.key;y!==null;){if(y.key===T)if(y.tag===4&&y.stateNode.containerInfo===w.containerInfo&&y.stateNode.implementation===w.implementation){i(b,y.sibling),y=r(y,w.children||[]),y.return=b,b=y;break e}else{i(b,y);break}else e(b,y);y=y.sibling}y=hgt(w,b.mode,x),y.return=b,b=y}return a(b);case vK:return T=w._init,g(b,y,T(w._payload),x)}if(Jwe(w))return h(b,y,w,x);if(Uwe(w))return f(b,y,w,x);ake(b,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,y!==null&&y.tag===6?(i(b,y.sibling),y=r(y,w),y.return=b,b=y):(i(b,y),y=mgt(w,b.mode,x),y.return=b,b=y),a(b)):i(b,y)}return g}var kue=Esi(!0),Asi=Esi(!1),DCe={},r_=GK(DCe),wCe=GK(DCe),CCe=GK(DCe);function toe(t){if(t===DCe)throw Error(mr(174));return t}function N2t(t,e){switch(f1(CCe,e),f1(wCe,t),f1(r_,DCe),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Mgt(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=Mgt(e,t)}ih(r_),f1(r_,e)}function Pue(){ih(r_),ih(wCe),ih(CCe)}function Nsi(t){toe(CCe.current);var e=toe(r_.current),i=Mgt(e,t.type);e!==i&&(f1(wCe,t),f1(r_,i))}function k2t(t){wCe.current===t&&(ih(r_),ih(wCe))}var kf=GK(0);function _ke(t){for(var e=t;e!==null;){if(e.tag===13){var i=e.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var sgt=[];function P2t(){for(var t=0;t<sgt.length;t++)sgt[t]._workInProgressVersionPrimary=null;sgt.length=0}var hke=DU.ReactCurrentDispatcher,lgt=DU.ReactCurrentBatchConfig,aoe=0,Pf=null,$y=null,h3=null,jke=!1,rCe=!1,xCe=0,Par=0;function sT(){throw Error(mr(321))}function O2t(t,e){if(e===null)return!1;for(var i=0;i<e.length&&i<t.length;i++)if(!O9(t[i],e[i]))return!1;return!0}function R2t(t,e,i,o,r,n){if(aoe=n,Pf=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,hke.current=t===null||t.memoizedState===null?jar:Bar,t=i(o,r),rCe){n=0;do{if(rCe=!1,xCe=0,25<=n)throw Error(mr(301));n+=1,h3=$y=null,e.updateQueue=null,hke.current=zar,t=i(o,r)}while(rCe)}if(hke.current=Bke,e=$y!==null&&$y.next!==null,aoe=0,h3=$y=Pf=null,jke=!1,e)throw Error(mr(300));return t}function _2t(){var t=xCe!==0;return xCe=0,t}function t_(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return h3===null?Pf.memoizedState=h3=t:h3=h3.next=t,h3}function I8(){if($y===null){var t=Pf.alternate;t=t!==null?t.memoizedState:null}else t=$y.next;var e=h3===null?Pf.memoizedState:h3.next;if(e!==null)h3=e,$y=t;else{if(t===null)throw Error(mr(310));$y=t,t={memoizedState:$y.memoizedState,baseState:$y.baseState,baseQueue:$y.baseQueue,queue:$y.queue,next:null},h3===null?Pf.memoizedState=h3=t:h3=h3.next=t}return h3}function TCe(t,e){return typeof e=="function"?e(t):e}function cgt(t){var e=I8(),i=e.queue;if(i===null)throw Error(mr(311));i.lastRenderedReducer=t;var o=$y,r=o.baseQueue,n=i.pending;if(n!==null){if(r!==null){var a=r.next;r.next=n.next,n.next=a}o.baseQueue=r=n,i.pending=null}if(r!==null){n=r.next,o=o.baseState;var s=a=null,l=null,c=n;do{var d=c.lane;if((aoe&d)===d)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),o=c.hasEagerState?c.eagerState:t(o,c.action);else{var u={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(s=l=u,a=o):l=l.next=u,Pf.lanes|=d,soe|=d}c=c.next}while(c!==null&&c!==n);l===null?a=o:l.next=s,O9(o,e.memoizedState)||(A6=!0),e.memoizedState=o,e.baseState=a,e.baseQueue=l,i.lastRenderedState=o}if(t=i.interleaved,t!==null){r=t;do n=r.lane,Pf.lanes|=n,soe|=n,r=r.next;while(r!==t)}else r===null&&(i.lanes=0);return[e.memoizedState,i.dispatch]}function dgt(t){var e=I8(),i=e.queue;if(i===null)throw Error(mr(311));i.lastRenderedReducer=t;var o=i.dispatch,r=i.pending,n=e.memoizedState;if(r!==null){i.pending=null;var a=r=r.next;do n=t(n,a.action),a=a.next;while(a!==r);O9(n,e.memoizedState)||(A6=!0),e.memoizedState=n,e.baseQueue===null&&(e.baseState=n),i.lastRenderedState=n}return[n,o]}function ksi(){}function Psi(t,e){var i=Pf,o=I8(),r=e(),n=!O9(o.memoizedState,r);if(n&&(o.memoizedState=r,A6=!0),o=o.queue,j2t(_si.bind(null,i,o,t),[t]),o.getSnapshot!==e||n||h3!==null&&h3.memoizedState.tag&1){if(i.flags|=2048,SCe(9,Rsi.bind(null,i,o,r,e),void 0,null),f3===null)throw Error(mr(349));(aoe&30)!==0||Osi(i,e,r)}return r}function Osi(t,e,i){t.flags|=16384,t={getSnapshot:e,value:i},e=Pf.updateQueue,e===null?(e={lastEffect:null,stores:null},Pf.updateQueue=e,e.stores=[t]):(i=e.stores,i===null?e.stores=[t]:i.push(t))}function Rsi(t,e,i,o){e.value=i,e.getSnapshot=o,jsi(e)&&Bsi(t)}function _si(t,e,i){return i(function(){jsi(e)&&Bsi(t)})}function jsi(t){var e=t.getSnapshot;t=t.value;try{var i=e();return!O9(t,i)}catch{return!0}}function Bsi(t){var e=LU(t,1);e!==null&&P9(e,t,1,-1)}function nai(t){var e=t_();return typeof t=="function"&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:TCe,lastRenderedState:t},e.queue=t,t=t.dispatch=_ar.bind(null,Pf,t),[e.memoizedState,t]}function SCe(t,e,i,o){return t={tag:t,create:e,destroy:i,deps:o,next:null},e=Pf.updateQueue,e===null?(e={lastEffect:null,stores:null},Pf.updateQueue=e,e.lastEffect=t.next=t):(i=e.lastEffect,i===null?e.lastEffect=t.next=t:(o=i.next,i.next=t,t.next=o,e.lastEffect=t)),t}function zsi(){return I8().memoizedState}function fke(t,e,i,o){var r=t_();Pf.flags|=t,r.memoizedState=SCe(1|e,i,void 0,o===void 0?null:o)}function qke(t,e,i,o){var r=I8();o=o===void 0?null:o;var n=void 0;if($y!==null){var a=$y.memoizedState;if(n=a.destroy,o!==null&&O2t(o,a.deps)){r.memoizedState=SCe(e,i,n,o);return}}Pf.flags|=t,r.memoizedState=SCe(1|e,i,n,o)}function aai(t,e){return fke(8390656,8,t,e)}function j2t(t,e){return qke(2048,8,t,e)}function Fsi(t,e){return qke(4,2,t,e)}function Usi(t,e){return qke(4,4,t,e)}function Vsi(t,e){if(typeof e=="function")return t=t(),e(t),function(){e(null)};if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Hsi(t,e,i){return i=i!=null?i.concat([t]):null,qke(4,4,Vsi.bind(null,e,t),i)}function B2t(){}function Gsi(t,e){var i=I8();e=e===void 0?null:e;var o=i.memoizedState;return o!==null&&e!==null&&O2t(e,o[1])?o[0]:(i.memoizedState=[t,e],t)}function Ysi(t,e){var i=I8();e=e===void 0?null:e;var o=i.memoizedState;return o!==null&&e!==null&&O2t(e,o[1])?o[0]:(t=t(),i.memoizedState=[t,e],t)}function Wsi(t,e,i){return(aoe&21)===0?(t.baseState&&(t.baseState=!1,A6=!0),t.memoizedState=i):(O9(i,e)||(i=Zai(),Pf.lanes|=i,soe|=i,t.baseState=!0),e)}function Oar(t,e){var i=Ip;Ip=i!==0&&4>i?i:4,t(!0);var o=lgt.transition;lgt.transition={};try{t(!1),e()}finally{Ip=i,lgt.transition=o}}function Qsi(){return I8().memoizedState}function Rar(t,e,i){var o=zK(t);if(i={lane:o,action:i,hasEagerState:!1,eagerState:null,next:null},Ksi(t))Zsi(e,i);else if(i=Isi(t,e,i,o),i!==null){var r=gS();P9(i,t,o,r),Jsi(i,e,o)}}function _ar(t,e,i){var o=zK(t),r={lane:o,action:i,hasEagerState:!1,eagerState:null,next:null};if(Ksi(t))Zsi(e,r);else{var n=t.alternate;if(t.lanes===0&&(n===null||n.lanes===0)&&(n=e.lastRenderedReducer,n!==null))try{var a=e.lastRenderedState,s=n(a,i);if(r.hasEagerState=!0,r.eagerState=s,O9(s,a)){var l=e.interleaved;l===null?(r.next=r,E2t(e)):(r.next=l.next,l.next=r),e.interleaved=r;return}}catch{}finally{}i=Isi(t,e,r,o),i!==null&&(r=gS(),P9(i,t,o,r),Jsi(i,e,o))}}function Ksi(t){var e=t.alternate;return t===Pf||e!==null&&e===Pf}function Zsi(t,e){rCe=jke=!0;var i=t.pending;i===null?e.next=e:(e.next=i.next,i.next=e),t.pending=e}function Jsi(t,e,i){if((i&4194240)!==0){var o=e.lanes;o&=t.pendingLanes,i|=o,e.lanes=i,f2t(t,i)}}var Bke={readContext:M8,useCallback:sT,useContext:sT,useEffect:sT,useImperativeHandle:sT,useInsertionEffect:sT,useLayoutEffect:sT,useMemo:sT,useReducer:sT,useRef:sT,useState:sT,useDebugValue:sT,useDeferredValue:sT,useTransition:sT,useMutableSource:sT,useSyncExternalStore:sT,useId:sT,unstable_isNewReconciler:!1},jar={readContext:M8,useCallback:function(t,e){return t_().memoizedState=[t,e===void 0?null:e],t},useContext:M8,useEffect:aai,useImperativeHandle:function(t,e,i){return i=i!=null?i.concat([t]):null,fke(4194308,4,Vsi.bind(null,e,t),i)},useLayoutEffect:function(t,e){return fke(4194308,4,t,e)},useInsertionEffect:function(t,e){return fke(4,2,t,e)},useMemo:function(t,e){var i=t_();return e=e===void 0?null:e,t=t(),i.memoizedState=[t,e],t},useReducer:function(t,e,i){var o=t_();return e=i!==void 0?i(e):e,o.memoizedState=o.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},o.queue=t,t=t.dispatch=Rar.bind(null,Pf,t),[o.memoizedState,t]},useRef:function(t){var e=t_();return t={current:t},e.memoizedState=t},useState:nai,useDebugValue:B2t,useDeferredValue:function(t){return t_().memoizedState=t},useTransition:function(){var t=nai(!1),e=t[0];return t=Oar.bind(null,t[1]),t_().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,i){var o=Pf,r=t_();if(Uh){if(i===void 0)throw Error(mr(407));i=i()}else{if(i=e(),f3===null)throw Error(mr(349));(aoe&30)!==0||Osi(o,e,i)}r.memoizedState=i;var n={value:i,getSnapshot:e};return r.queue=n,aai(_si.bind(null,o,n,t),[t]),o.flags|=2048,SCe(9,Rsi.bind(null,o,n,i,e),void 0,null),i},useId:function(){var t=t_(),e=f3.identifierPrefix;if(Uh){var i=TU,o=xU;i=(o&~(1<<32-k9(o)-1)).toString(32)+i,e=":"+e+"R"+i,i=xCe++,0<i&&(e+="H"+i.toString(32)),e+=":"}else i=Par++,e=":"+e+"r"+i.toString(32)+":";return t.memoizedState=e},unstable_isNewReconciler:!1},Bar={readContext:M8,useCallback:Gsi,useContext:M8,useEffect:j2t,useImperativeHandle:Hsi,useInsertionEffect:Fsi,useLayoutEffect:Usi,useMemo:Ysi,useReducer:cgt,useRef:zsi,useState:function(){return cgt(TCe)},useDebugValue:B2t,useDeferredValue:function(t){var e=I8();return Wsi(e,$y.memoizedState,t)},useTransition:function(){var t=cgt(TCe)[0],e=I8().memoizedState;return[t,e]},useMutableSource:ksi,useSyncExternalStore:Psi,useId:Qsi,unstable_isNewReconciler:!1},zar={readContext:M8,useCallback:Gsi,useContext:M8,useEffect:j2t,useImperativeHandle:Hsi,useInsertionEffect:Fsi,useLayoutEffect:Usi,useMemo:Ysi,useReducer:dgt,useRef:zsi,useState:function(){return dgt(TCe)},useDebugValue:B2t,useDeferredValue:function(t){var e=I8();return $y===null?e.memoizedState=t:Wsi(e,$y.memoizedState,t)},useTransition:function(){var t=dgt(TCe)[0],e=I8().memoizedState;return[t,e]},useMutableSource:ksi,useSyncExternalStore:Psi,useId:Qsi,unstable_isNewReconciler:!1};function Oue(t,e){try{var i="",o=e;do i+=hnr(o),o=o.return;while(o);var r=i}catch(n){r=`
Error generating stack: `+n.message+`
`+n.stack}return{value:t,source:e,stack:r,digest:null}}function ugt(t,e,i){return{value:t,source:null,stack:i!=null?i:null,digest:e!=null?e:null}}function Qgt(t,e){try{console.error(e.value)}catch(i){setTimeout(function(){throw i})}}var Far=typeof WeakMap=="function"?WeakMap:Map;function qsi(t,e,i){i=SU(-1,i),i.tag=3,i.payload={element:null};var o=e.value;return i.callback=function(){Fke||(Fke=!0,o2t=o),Qgt(t,e)},i}function Xsi(t,e,i){i=SU(-1,i),i.tag=3;var o=t.type.getDerivedStateFromError;if(typeof o=="function"){var r=e.value;i.payload=function(){return o(r)},i.callback=function(){Qgt(t,e)}}var n=t.stateNode;return n!==null&&typeof n.componentDidCatch=="function"&&(i.callback=function(){Qgt(t,e),typeof o!="function"&&(BK===null?BK=new Set([this]):BK.add(this));var a=e.stack;this.componentDidCatch(e.value,{componentStack:a!==null?a:""})}),i}function sai(t,e,i){var o=t.pingCache;if(o===null){o=t.pingCache=new Far;var r=new Set;o.set(e,r)}else r=o.get(e),r===void 0&&(r=new Set,o.set(e,r));r.has(i)||(r.add(i),t=esr.bind(null,t,e,i),e.then(t,t))}function lai(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function cai(t,e,i,o,r){return(t.mode&1)===0?(t===e?t.flags|=65536:(t.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(e=SU(-1,1),e.tag=2,jK(i,e,1))),i.lanes|=1),t):(t.flags|=65536,t.lanes=r,t)}var Uar=DU.ReactCurrentOwner,A6=!1;function fS(t,e,i,o){e.child=t===null?Asi(e,null,i,o):kue(e,t.child,i,o)}function dai(t,e,i,o,r){i=i.render;var n=e.ref;return vue(e,r),o=R2t(t,e,i,o,n,r),i=_2t(),t!==null&&!A6?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~r,vU(t,e,r)):(Uh&&i&&S2t(e),e.flags|=1,fS(t,e,o,r),e.child)}function uai(t,e,i,o,r){if(t===null){var n=i.type;return typeof n=="function"&&!W2t(n)&&n.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(e.tag=15,e.type=n,$si(t,e,n,o,r)):(t=wke(i.type,null,o,e,e.mode,r),t.ref=e.ref,t.return=e,e.child=t)}if(n=t.child,(t.lanes&r)===0){var a=n.memoizedProps;if(i=i.compare,i=i!==null?i:fCe,i(a,o)&&t.ref===e.ref)return vU(t,e,r)}return e.flags|=1,t=FK(n,o),t.ref=e.ref,t.return=e,e.child=t}function $si(t,e,i,o,r){if(t!==null){var n=t.memoizedProps;if(fCe(n,o)&&t.ref===e.ref)if(A6=!1,e.pendingProps=o=n,(t.lanes&r)!==0)(t.flags&131072)!==0&&(A6=!0);else return e.lanes=t.lanes,vU(t,e,r)}return Kgt(t,e,i,o,r)}function eli(t,e,i){var o=e.pendingProps,r=o.children,n=t!==null?t.memoizedState:null;if(o.mode==="hidden")if((e.mode&1)===0)e.memoizedState={baseLanes:0,cachePool:null,transitions:null},f1(Tue,ev),ev|=i;else{if((i&1073741824)===0)return t=n!==null?n.baseLanes|i:i,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,f1(Tue,ev),ev|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=n!==null?n.baseLanes:i,f1(Tue,ev),ev|=o}else n!==null?(o=n.baseLanes|i,e.memoizedState=null):o=i,f1(Tue,ev),ev|=o;return fS(t,e,r,i),e.child}function tli(t,e){var i=e.ref;(t===null&&i!==null||t!==null&&t.ref!==i)&&(e.flags|=512,e.flags|=2097152)}function Kgt(t,e,i,o,r){var n=k6(i)?roe:dT.current;return n=Aue(e,n),vue(e,r),i=R2t(t,e,i,o,n,r),o=_2t(),t!==null&&!A6?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~r,vU(t,e,r)):(Uh&&o&&S2t(e),e.flags|=1,fS(t,e,i,r),e.child)}function pai(t,e,i,o,r){if(k6(i)){var n=!0;Ake(e)}else n=!1;if(vue(e,r),e.stateNode===null)gke(t,e),Dsi(e,i,o),Wgt(e,i,o,r),o=!0;else if(t===null){var a=e.stateNode,s=e.memoizedProps;a.props=s;var l=a.context,c=i.contextType;typeof c=="object"&&c!==null?c=M8(c):(c=k6(i)?roe:dT.current,c=Aue(e,c));var d=i.getDerivedStateFromProps,u=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function";u||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==o||l!==c)&&oai(e,a,o,c),DK=!1;var p=e.memoizedState;a.state=p,Rke(e,o,a,r),l=e.memoizedState,s!==o||p!==l||N6.current||DK?(typeof d=="function"&&(Ygt(e,i,d,o),l=e.memoizedState),(s=DK||iai(e,i,s,o,p,l,c))?(u||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(e.flags|=4194308)):(typeof a.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=o,e.memoizedState=l),a.props=o,a.state=l,a.context=c,o=s):(typeof a.componentDidMount=="function"&&(e.flags|=4194308),o=!1)}else{a=e.stateNode,Lsi(t,e),s=e.memoizedProps,c=e.type===e.elementType?s:E9(e.type,s),a.props=c,u=e.pendingProps,p=a.context,l=i.contextType,typeof l=="object"&&l!==null?l=M8(l):(l=k6(i)?roe:dT.current,l=Aue(e,l));var m=i.getDerivedStateFromProps;(d=typeof m=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==u||p!==l)&&oai(e,a,o,l),DK=!1,p=e.memoizedState,a.state=p,Rke(e,o,a,r);var h=e.memoizedState;s!==u||p!==h||N6.current||DK?(typeof m=="function"&&(Ygt(e,i,m,o),h=e.memoizedState),(c=DK||iai(e,i,c,o,p,h,l)||!1)?(d||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(o,h,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(o,h,l)),typeof a.componentDidUpdate=="function"&&(e.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===t.memoizedProps&&p===t.memoizedState||(e.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===t.memoizedProps&&p===t.memoizedState||(e.flags|=1024),e.memoizedProps=o,e.memoizedState=h),a.props=o,a.state=h,a.context=l,o=c):(typeof a.componentDidUpdate!="function"||s===t.memoizedProps&&p===t.memoizedState||(e.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===t.memoizedProps&&p===t.memoizedState||(e.flags|=1024),o=!1)}return Zgt(t,e,i,o,n,r)}function Zgt(t,e,i,o,r,n){tli(t,e);var a=(e.flags&128)!==0;if(!o&&!a)return r&&qni(e,i,!1),vU(t,e,n);o=e.stateNode,Uar.current=e;var s=a&&typeof i.getDerivedStateFromError!="function"?null:o.render();return e.flags|=1,t!==null&&a?(e.child=kue(e,t.child,null,n),e.child=kue(e,null,s,n)):fS(t,e,s,n),e.memoizedState=o.state,r&&qni(e,i,!0),e.child}function ili(t){var e=t.stateNode;e.pendingContext?Jni(t,e.pendingContext,e.pendingContext!==e.context):e.context&&Jni(t,e.context,!1),N2t(t,e.containerInfo)}function mai(t,e,i,o,r){return Nue(),I2t(r),e.flags|=256,fS(t,e,i,o),e.child}var Jgt={dehydrated:null,treeContext:null,retryLane:0};function qgt(t){return{baseLanes:t,cachePool:null,transitions:null}}function oli(t,e,i){var o=e.pendingProps,r=kf.current,n=!1,a=(e.flags&128)!==0,s;if((s=a)||(s=t!==null&&t.memoizedState===null?!1:(r&2)!==0),s?(n=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(r|=1),f1(kf,r&1),t===null)return Hgt(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?((e.mode&1)===0?e.lanes=1:t.data==="$!"?e.lanes=8:e.lanes=1073741824,null):(a=o.children,t=o.fallback,n?(o=e.mode,n=e.child,a={mode:"hidden",children:a},(o&1)===0&&n!==null?(n.childLanes=0,n.pendingProps=a):n=e9e(a,o,0,null),t=ooe(t,o,i,null),n.return=e,t.return=e,n.sibling=t,e.child=n,e.child.memoizedState=qgt(i),e.memoizedState=Jgt,t):z2t(e,a));if(r=t.memoizedState,r!==null&&(s=r.dehydrated,s!==null))return Var(t,e,a,o,s,r,i);if(n){n=o.fallback,a=e.mode,r=t.child,s=r.sibling;var l={mode:"hidden",children:o.children};return(a&1)===0&&e.child!==r?(o=e.child,o.childLanes=0,o.pendingProps=l,e.deletions=null):(o=FK(r,l),o.subtreeFlags=r.subtreeFlags&14680064),s!==null?n=FK(s,n):(n=ooe(n,a,i,null),n.flags|=2),n.return=e,o.return=e,o.sibling=n,e.child=o,o=n,n=e.child,a=t.child.memoizedState,a=a===null?qgt(i):{baseLanes:a.baseLanes|i,cachePool:null,transitions:a.transitions},n.memoizedState=a,n.childLanes=t.childLanes&~i,e.memoizedState=Jgt,o}return n=t.child,t=n.sibling,o=FK(n,{mode:"visible",children:o.children}),(e.mode&1)===0&&(o.lanes=i),o.return=e,o.sibling=null,t!==null&&(i=e.deletions,i===null?(e.deletions=[t],e.flags|=16):i.push(t)),e.child=o,e.memoizedState=null,o}function z2t(t,e){return e=e9e({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function ske(t,e,i,o){return o!==null&&I2t(o),kue(e,t.child,null,i),t=z2t(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Var(t,e,i,o,r,n,a){if(i)return e.flags&256?(e.flags&=-257,o=ugt(Error(mr(422))),ske(t,e,a,o)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(n=o.fallback,r=e.mode,o=e9e({mode:"visible",children:o.children},r,0,null),n=ooe(n,r,a,null),n.flags|=2,o.return=e,n.return=e,o.sibling=n,e.child=o,(e.mode&1)!==0&&kue(e,t.child,null,a),e.child.memoizedState=qgt(a),e.memoizedState=Jgt,n);if((e.mode&1)===0)return ske(t,e,a,null);if(r.data==="$!"){if(o=r.nextSibling&&r.nextSibling.dataset,o)var s=o.dgst;return o=s,n=Error(mr(419)),o=ugt(n,o,void 0),ske(t,e,a,o)}if(s=(a&t.childLanes)!==0,A6||s){if(o=f3,o!==null){switch(a&-a){case 4:r=2;break;case 16:r=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:r=32;break;case 536870912:r=268435456;break;default:r=0}r=(r&(o.suspendedLanes|a))!==0?0:r,r!==0&&r!==n.retryLane&&(n.retryLane=r,LU(t,r),P9(o,t,r,-1))}return Y2t(),o=ugt(Error(mr(421))),ske(t,e,a,o)}return r.data==="$?"?(e.flags|=128,e.child=t.child,e=tsr.bind(null,t),r._reactRetry=e,null):(t=n.treeContext,tv=_K(r.nextSibling),iv=e,Uh=!0,N9=null,t!==null&&(C8[x8++]=xU,C8[x8++]=TU,C8[x8++]=noe,xU=t.id,TU=t.overflow,noe=e),e=z2t(e,o.children),e.flags|=4096,e)}function hai(t,e,i){t.lanes|=e;var o=t.alternate;o!==null&&(o.lanes|=e),Ggt(t.return,e,i)}function pgt(t,e,i,o,r){var n=t.memoizedState;n===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:o,tail:i,tailMode:r}:(n.isBackwards=e,n.rendering=null,n.renderingStartTime=0,n.last=o,n.tail=i,n.tailMode=r)}function rli(t,e,i){var o=e.pendingProps,r=o.revealOrder,n=o.tail;if(fS(t,e,o.children,i),o=kf.current,(o&2)!==0)o=o&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&hai(t,i,e);else if(t.tag===19)hai(t,i,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}o&=1}if(f1(kf,o),(e.mode&1)===0)e.memoizedState=null;else switch(r){case"forwards":for(i=e.child,r=null;i!==null;)t=i.alternate,t!==null&&_ke(t)===null&&(r=i),i=i.sibling;i=r,i===null?(r=e.child,e.child=null):(r=i.sibling,i.sibling=null),pgt(e,!1,r,i,n);break;case"backwards":for(i=null,r=e.child,e.child=null;r!==null;){if(t=r.alternate,t!==null&&_ke(t)===null){e.child=r;break}t=r.sibling,r.sibling=i,i=r,r=t}pgt(e,!0,i,null,n);break;case"together":pgt(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function gke(t,e){(e.mode&1)===0&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function vU(t,e,i){if(t!==null&&(e.dependencies=t.dependencies),soe|=e.lanes,(i&e.childLanes)===0)return null;if(t!==null&&e.child!==t.child)throw Error(mr(153));if(e.child!==null){for(t=e.child,i=FK(t,t.pendingProps),e.child=i,i.return=e;t.sibling!==null;)t=t.sibling,i=i.sibling=FK(t,t.pendingProps),i.return=e;i.sibling=null}return e.child}function Har(t,e,i){switch(e.tag){case 3:ili(e),Nue();break;case 5:Nsi(e);break;case 1:k6(e.type)&&Ake(e);break;case 4:N2t(e,e.stateNode.containerInfo);break;case 10:var o=e.type._context,r=e.memoizedProps.value;f1(Pke,o._currentValue),o._currentValue=r;break;case 13:if(o=e.memoizedState,o!==null)return o.dehydrated!==null?(f1(kf,kf.current&1),e.flags|=128,null):(i&e.child.childLanes)!==0?oli(t,e,i):(f1(kf,kf.current&1),t=vU(t,e,i),t!==null?t.sibling:null);f1(kf,kf.current&1);break;case 19:if(o=(i&e.childLanes)!==0,(t.flags&128)!==0){if(o)return rli(t,e,i);e.flags|=128}if(r=e.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),f1(kf,kf.current),o)break;return null;case 22:case 23:return e.lanes=0,eli(t,e,i)}return vU(t,e,i)}var nli,Xgt,ali,sli;nli=function(t,e){for(var i=e.child;i!==null;){if(i.tag===5||i.tag===6)t.appendChild(i.stateNode);else if(i.tag!==4&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break;for(;i.sibling===null;){if(i.return===null||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}};Xgt=function(){};ali=function(t,e,i,o){var r=t.memoizedProps;if(r!==o){t=e.stateNode,toe(r_.current);var n=null;switch(i){case"input":r=Cgt(t,r),o=Cgt(t,o),n=[];break;case"select":r=Of({},r,{value:void 0}),o=Of({},o,{value:void 0}),n=[];break;case"textarea":r=Sgt(t,r),o=Sgt(t,o),n=[];break;default:typeof r.onClick!="function"&&typeof o.onClick=="function"&&(t.onclick=Dke)}Igt(i,o);var a;i=null;for(c in r)if(!o.hasOwnProperty(c)&&r.hasOwnProperty(c)&&r[c]!=null)if(c==="style"){var s=r[c];for(a in s)s.hasOwnProperty(a)&&(i||(i={}),i[a]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(lCe.hasOwnProperty(c)?n||(n=[]):(n=n||[]).push(c,null));for(c in o){var l=o[c];if(s=r!=null?r[c]:void 0,o.hasOwnProperty(c)&&l!==s&&(l!=null||s!=null))if(c==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(i||(i={}),i[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(i||(i={}),i[a]=l[a])}else i||(n||(n=[]),n.push(c,i)),i=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(n=n||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(n=n||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(lCe.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&th("scroll",t),n||s===l||(n=[])):(n=n||[]).push(c,l))}i&&(n=n||[]).push("style",i);var c=n;(e.updateQueue=c)&&(e.flags|=4)}};sli=function(t,e,i,o){i!==o&&(e.flags|=4)};function Wwe(t,e){if(!Uh)switch(t.tailMode){case"hidden":e=t.tail;for(var i=null;e!==null;)e.alternate!==null&&(i=e),e=e.sibling;i===null?t.tail=null:i.sibling=null;break;case"collapsed":i=t.tail;for(var o=null;i!==null;)i.alternate!==null&&(o=i),i=i.sibling;o===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:o.sibling=null}}function lT(t){var e=t.alternate!==null&&t.alternate.child===t.child,i=0,o=0;if(e)for(var r=t.child;r!==null;)i|=r.lanes|r.childLanes,o|=r.subtreeFlags&14680064,o|=r.flags&14680064,r.return=t,r=r.sibling;else for(r=t.child;r!==null;)i|=r.lanes|r.childLanes,o|=r.subtreeFlags,o|=r.flags,r.return=t,r=r.sibling;return t.subtreeFlags|=o,t.childLanes=i,e}function Gar(t,e,i){var o=e.pendingProps;switch(M2t(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return lT(e),null;case 1:return k6(e.type)&&Eke(),lT(e),null;case 3:return o=e.stateNode,Pue(),ih(N6),ih(dT),P2t(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(t===null||t.child===null)&&(nke(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,N9!==null&&(a2t(N9),N9=null))),Xgt(t,e),lT(e),null;case 5:k2t(e);var r=toe(CCe.current);if(i=e.type,t!==null&&e.stateNode!=null)ali(t,e,i,o,r),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!o){if(e.stateNode===null)throw Error(mr(166));return lT(e),null}if(t=toe(r_.current),nke(e)){o=e.stateNode,i=e.type;var n=e.memoizedProps;switch(o[i_]=e,o[yCe]=n,t=(e.mode&1)!==0,i){case"dialog":th("cancel",o),th("close",o);break;case"iframe":case"object":case"embed":th("load",o);break;case"video":case"audio":for(r=0;r<Xwe.length;r++)th(Xwe[r],o);break;case"source":th("error",o);break;case"img":case"image":case"link":th("error",o),th("load",o);break;case"details":th("toggle",o);break;case"input":Tni(o,n),th("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!n.multiple},th("invalid",o);break;case"textarea":Mni(o,n),th("invalid",o)}Igt(i,n),r=null;for(var a in n)if(n.hasOwnProperty(a)){var s=n[a];a==="children"?typeof s=="string"?o.textContent!==s&&(n.suppressHydrationWarning!==!0&&rke(o.textContent,s,t),r=["children",s]):typeof s=="number"&&o.textContent!==""+s&&(n.suppressHydrationWarning!==!0&&rke(o.textContent,s,t),r=["children",""+s]):lCe.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&th("scroll",o)}switch(i){case"input":W7e(o),Sni(o,n,!0);break;case"textarea":W7e(o),Ini(o);break;case"select":case"option":break;default:typeof n.onClick=="function"&&(o.onclick=Dke)}o=r,e.updateQueue=o,o!==null&&(e.flags|=4)}else{a=r.nodeType===9?r:r.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=Oai(i)),t==="http://www.w3.org/1999/xhtml"?i==="script"?(t=a.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof o.is=="string"?t=a.createElement(i,{is:o.is}):(t=a.createElement(i),i==="select"&&(a=t,o.multiple?a.multiple=!0:o.size&&(a.size=o.size))):t=a.createElementNS(t,i),t[i_]=e,t[yCe]=o,nli(t,e,!1,!1),e.stateNode=t;e:{switch(a=Lgt(i,o),i){case"dialog":th("cancel",t),th("close",t),r=o;break;case"iframe":case"object":case"embed":th("load",t),r=o;break;case"video":case"audio":for(r=0;r<Xwe.length;r++)th(Xwe[r],t);r=o;break;case"source":th("error",t),r=o;break;case"img":case"image":case"link":th("error",t),th("load",t),r=o;break;case"details":th("toggle",t),r=o;break;case"input":Tni(t,o),r=Cgt(t,o),th("invalid",t);break;case"option":r=o;break;case"select":t._wrapperState={wasMultiple:!!o.multiple},r=Of({},o,{value:void 0}),th("invalid",t);break;case"textarea":Mni(t,o),r=Sgt(t,o),th("invalid",t);break;default:r=o}Igt(i,r),s=r;for(n in s)if(s.hasOwnProperty(n)){var l=s[n];n==="style"?jai(t,l):n==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Rai(t,l)):n==="children"?typeof l=="string"?(i!=="textarea"||l!=="")&&cCe(t,l):typeof l=="number"&&cCe(t,""+l):n!=="suppressContentEditableWarning"&&n!=="suppressHydrationWarning"&&n!=="autoFocus"&&(lCe.hasOwnProperty(n)?l!=null&&n==="onScroll"&&th("scroll",t):l!=null&&c2t(t,n,l,a))}switch(i){case"input":W7e(t),Sni(t,o,!1);break;case"textarea":W7e(t),Ini(t);break;case"option":o.value!=null&&t.setAttribute("value",""+UK(o.value));break;case"select":t.multiple=!!o.multiple,n=o.value,n!=null?Sue(t,!!o.multiple,n,!1):o.defaultValue!=null&&Sue(t,!!o.multiple,o.defaultValue,!0);break;default:typeof r.onClick=="function"&&(t.onclick=Dke)}switch(i){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return lT(e),null;case 6:if(t&&e.stateNode!=null)sli(t,e,t.memoizedProps,o);else{if(typeof o!="string"&&e.stateNode===null)throw Error(mr(166));if(i=toe(CCe.current),toe(r_.current),nke(e)){if(o=e.stateNode,i=e.memoizedProps,o[i_]=e,(n=o.nodeValue!==i)&&(t=iv,t!==null))switch(t.tag){case 3:rke(o.nodeValue,i,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&rke(o.nodeValue,i,(t.mode&1)!==0)}n&&(e.flags|=4)}else o=(i.nodeType===9?i:i.ownerDocument).createTextNode(o),o[i_]=e,e.stateNode=o}return lT(e),null;case 13:if(ih(kf),o=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(Uh&&tv!==null&&(e.mode&1)!==0&&(e.flags&128)===0)Msi(),Nue(),e.flags|=98560,n=!1;else if(n=nke(e),o!==null&&o.dehydrated!==null){if(t===null){if(!n)throw Error(mr(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(mr(317));n[i_]=e}else Nue(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;lT(e),n=!1}else N9!==null&&(a2t(N9),N9=null),n=!0;if(!n)return e.flags&65536?e:null}return(e.flags&128)!==0?(e.lanes=i,e):(o=o!==null,o!==(t!==null&&t.memoizedState!==null)&&o&&(e.child.flags|=8192,(e.mode&1)!==0&&(t===null||(kf.current&1)!==0?e4===0&&(e4=3):Y2t())),e.updateQueue!==null&&(e.flags|=4),lT(e),null);case 4:return Pue(),Xgt(t,e),t===null&&gCe(e.stateNode.containerInfo),lT(e),null;case 10:return D2t(e.type._context),lT(e),null;case 17:return k6(e.type)&&Eke(),lT(e),null;case 19:if(ih(kf),n=e.memoizedState,n===null)return lT(e),null;if(o=(e.flags&128)!==0,a=n.rendering,a===null)if(o)Wwe(n,!1);else{if(e4!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(a=_ke(t),a!==null){for(e.flags|=128,Wwe(n,!1),o=a.updateQueue,o!==null&&(e.updateQueue=o,e.flags|=4),e.subtreeFlags=0,o=i,i=e.child;i!==null;)n=i,t=o,n.flags&=14680066,a=n.alternate,a===null?(n.childLanes=0,n.lanes=t,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=a.childLanes,n.lanes=a.lanes,n.child=a.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=a.memoizedProps,n.memoizedState=a.memoizedState,n.updateQueue=a.updateQueue,n.type=a.type,t=a.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),i=i.sibling;return f1(kf,kf.current&1|2),e.child}t=t.sibling}n.tail!==null&&P2()>Rue&&(e.flags|=128,o=!0,Wwe(n,!1),e.lanes=4194304)}else{if(!o)if(t=_ke(a),t!==null){if(e.flags|=128,o=!0,i=t.updateQueue,i!==null&&(e.updateQueue=i,e.flags|=4),Wwe(n,!0),n.tail===null&&n.tailMode==="hidden"&&!a.alternate&&!Uh)return lT(e),null}else 2*P2()-n.renderingStartTime>Rue&&i!==1073741824&&(e.flags|=128,o=!0,Wwe(n,!1),e.lanes=4194304);n.isBackwards?(a.sibling=e.child,e.child=a):(i=n.last,i!==null?i.sibling=a:e.child=a,n.last=a)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=P2(),e.sibling=null,i=kf.current,f1(kf,o?i&1|2:i&1),e):(lT(e),null);case 22:case 23:return G2t(),o=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==o&&(e.flags|=8192),o&&(e.mode&1)!==0?(ev&1073741824)!==0&&(lT(e),e.subtreeFlags&6&&(e.flags|=8192)):lT(e),null;case 24:return null;case 25:return null}throw Error(mr(156,e.tag))}function Yar(t,e){switch(M2t(e),e.tag){case 1:return k6(e.type)&&Eke(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Pue(),ih(N6),ih(dT),P2t(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 5:return k2t(e),null;case 13:if(ih(kf),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(mr(340));Nue()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return ih(kf),null;case 4:return Pue(),null;case 10:return D2t(e.type._context),null;case 22:case 23:return G2t(),null;case 24:return null;default:return null}}var lke=!1,cT=!1,War=typeof WeakSet=="function"?WeakSet:Set,Gn=null;function xue(t,e){var i=t.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(o){_g(t,e,o)}else i.current=null}function $gt(t,e,i){try{i()}catch(o){_g(t,e,o)}}var fai=!1;function Qar(t,e){if(_gt=Ike,t=usi(),T2t(t)){if("selectionStart"in t)var i={start:t.selectionStart,end:t.selectionEnd};else e:{i=(i=t.ownerDocument)&&i.defaultView||window;var o=i.getSelection&&i.getSelection();if(o&&o.rangeCount!==0){i=o.anchorNode;var r=o.anchorOffset,n=o.focusNode;o=o.focusOffset;try{i.nodeType,n.nodeType}catch{i=null;break e}var a=0,s=-1,l=-1,c=0,d=0,u=t,p=null;t:for(;;){for(var m;u!==i||r!==0&&u.nodeType!==3||(s=a+r),u!==n||o!==0&&u.nodeType!==3||(l=a+o),u.nodeType===3&&(a+=u.nodeValue.length),(m=u.firstChild)!==null;)p=u,u=m;for(;;){if(u===t)break t;if(p===i&&++c===r&&(s=a),p===n&&++d===o&&(l=a),(m=u.nextSibling)!==null)break;u=p,p=u.parentNode}u=m}i=s===-1||l===-1?null:{start:s,end:l}}else i=null}i=i||{start:0,end:0}}else i=null;for(jgt={focusedElem:t,selectionRange:i},Ike=!1,Gn=e;Gn!==null;)if(e=Gn,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Gn=t;else for(;Gn!==null;){e=Gn;try{var h=e.alternate;if((e.flags&1024)!==0)switch(e.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var f=h.memoizedProps,g=h.memoizedState,b=e.stateNode,y=b.getSnapshotBeforeUpdate(e.elementType===e.type?f:E9(e.type,f),g);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var w=e.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(mr(163))}}catch(x){_g(e,e.return,x)}if(t=e.sibling,t!==null){t.return=e.return,Gn=t;break}Gn=e.return}return h=fai,fai=!1,h}function nCe(t,e,i){var o=e.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var r=o=o.next;do{if((r.tag&t)===t){var n=r.destroy;r.destroy=void 0,n!==void 0&&$gt(e,i,n)}r=r.next}while(r!==o)}}function Xke(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var i=e=e.next;do{if((i.tag&t)===t){var o=i.create;i.destroy=o()}i=i.next}while(i!==e)}}function e2t(t){var e=t.ref;if(e!==null){var i=t.stateNode;switch(t.tag){case 5:t=i;break;default:t=i}typeof e=="function"?e(t):e.current=t}}function lli(t){var e=t.alternate;e!==null&&(t.alternate=null,lli(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[i_],delete e[yCe],delete e[Fgt],delete e[Ear],delete e[Aar])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function cli(t){return t.tag===5||t.tag===3||t.tag===4}function gai(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||cli(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function t2t(t,e,i){var o=t.tag;if(o===5||o===6)t=t.stateNode,e?i.nodeType===8?i.parentNode.insertBefore(t,e):i.insertBefore(t,e):(i.nodeType===8?(e=i.parentNode,e.insertBefore(t,i)):(e=i,e.appendChild(t)),i=i._reactRootContainer,i!=null||e.onclick!==null||(e.onclick=Dke));else if(o!==4&&(t=t.child,t!==null))for(t2t(t,e,i),t=t.sibling;t!==null;)t2t(t,e,i),t=t.sibling}function i2t(t,e,i){var o=t.tag;if(o===5||o===6)t=t.stateNode,e?i.insertBefore(t,e):i.appendChild(t);else if(o!==4&&(t=t.child,t!==null))for(i2t(t,e,i),t=t.sibling;t!==null;)i2t(t,e,i),t=t.sibling}var Ww=null,A9=!1;function LK(t,e,i){for(i=i.child;i!==null;)dli(t,e,i),i=i.sibling}function dli(t,e,i){if(o_&&typeof o_.onCommitFiberUnmount=="function")try{o_.onCommitFiberUnmount(Gke,i)}catch{}switch(i.tag){case 5:cT||xue(i,e);case 6:var o=Ww,r=A9;Ww=null,LK(t,e,i),Ww=o,A9=r,Ww!==null&&(A9?(t=Ww,i=i.stateNode,t.nodeType===8?t.parentNode.removeChild(i):t.removeChild(i)):Ww.removeChild(i.stateNode));break;case 18:Ww!==null&&(A9?(t=Ww,i=i.stateNode,t.nodeType===8?ngt(t.parentNode,i):t.nodeType===1&&ngt(t,i),mCe(t)):ngt(Ww,i.stateNode));break;case 4:o=Ww,r=A9,Ww=i.stateNode.containerInfo,A9=!0,LK(t,e,i),Ww=o,A9=r;break;case 0:case 11:case 14:case 15:if(!cT&&(o=i.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){r=o=o.next;do{var n=r,a=n.destroy;n=n.tag,a!==void 0&&((n&2)!==0||(n&4)!==0)&&$gt(i,e,a),r=r.next}while(r!==o)}LK(t,e,i);break;case 1:if(!cT&&(xue(i,e),o=i.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=i.memoizedProps,o.state=i.memoizedState,o.componentWillUnmount()}catch(s){_g(i,e,s)}LK(t,e,i);break;case 21:LK(t,e,i);break;case 22:i.mode&1?(cT=(o=cT)||i.memoizedState!==null,LK(t,e,i),cT=o):LK(t,e,i);break;default:LK(t,e,i)}}function bai(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var i=t.stateNode;i===null&&(i=t.stateNode=new War),e.forEach(function(o){var r=isr.bind(null,t,o);i.has(o)||(i.add(o),o.then(r,r))})}}function D9(t,e){var i=e.deletions;if(i!==null)for(var o=0;o<i.length;o++){var r=i[o];try{var n=t,a=e,s=a;e:for(;s!==null;){switch(s.tag){case 5:Ww=s.stateNode,A9=!1;break e;case 3:Ww=s.stateNode.containerInfo,A9=!0;break e;case 4:Ww=s.stateNode.containerInfo,A9=!0;break e}s=s.return}if(Ww===null)throw Error(mr(160));dli(n,a,r),Ww=null,A9=!1;var l=r.alternate;l!==null&&(l.return=null),r.return=null}catch(c){_g(r,e,c)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)uli(e,t),e=e.sibling}function uli(t,e){var i=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(D9(e,t),e_(t),o&4){try{nCe(3,t,t.return),Xke(3,t)}catch(f){_g(t,t.return,f)}try{nCe(5,t,t.return)}catch(f){_g(t,t.return,f)}}break;case 1:D9(e,t),e_(t),o&512&&i!==null&&xue(i,i.return);break;case 5:if(D9(e,t),e_(t),o&512&&i!==null&&xue(i,i.return),t.flags&32){var r=t.stateNode;try{cCe(r,"")}catch(f){_g(t,t.return,f)}}if(o&4&&(r=t.stateNode,r!=null)){var n=t.memoizedProps,a=i!==null?i.memoizedProps:n,s=t.type,l=t.updateQueue;if(t.updateQueue=null,l!==null)try{s==="input"&&n.type==="radio"&&n.name!=null&&kai(r,n),Lgt(s,a);var c=Lgt(s,n);for(a=0;a<l.length;a+=2){var d=l[a],u=l[a+1];d==="style"?jai(r,u):d==="dangerouslySetInnerHTML"?Rai(r,u):d==="children"?cCe(r,u):c2t(r,d,u,c)}switch(s){case"input":xgt(r,n);break;case"textarea":Pai(r,n);break;case"select":var p=r._wrapperState.wasMultiple;r._wrapperState.wasMultiple=!!n.multiple;var m=n.value;m!=null?Sue(r,!!n.multiple,m,!1):p!==!!n.multiple&&(n.defaultValue!=null?Sue(r,!!n.multiple,n.defaultValue,!0):Sue(r,!!n.multiple,n.multiple?[]:"",!1))}r[yCe]=n}catch(f){_g(t,t.return,f)}}break;case 6:if(D9(e,t),e_(t),o&4){if(t.stateNode===null)throw Error(mr(162));r=t.stateNode,n=t.memoizedProps;try{r.nodeValue=n}catch(f){_g(t,t.return,f)}}break;case 3:if(D9(e,t),e_(t),o&4&&i!==null&&i.memoizedState.isDehydrated)try{mCe(e.containerInfo)}catch(f){_g(t,t.return,f)}break;case 4:D9(e,t),e_(t);break;case 13:D9(e,t),e_(t),r=t.child,r.flags&8192&&(n=r.memoizedState!==null,r.stateNode.isHidden=n,!n||r.alternate!==null&&r.alternate.memoizedState!==null||(V2t=P2())),o&4&&bai(t);break;case 22:if(d=i!==null&&i.memoizedState!==null,t.mode&1?(cT=(c=cT)||d,D9(e,t),cT=c):D9(e,t),e_(t),o&8192){if(c=t.memoizedState!==null,(t.stateNode.isHidden=c)&&!d&&(t.mode&1)!==0)for(Gn=t,d=t.child;d!==null;){for(u=Gn=d;Gn!==null;){switch(p=Gn,m=p.child,p.tag){case 0:case 11:case 14:case 15:nCe(4,p,p.return);break;case 1:xue(p,p.return);var h=p.stateNode;if(typeof h.componentWillUnmount=="function"){o=p,i=p.return;try{e=o,h.props=e.memoizedProps,h.state=e.memoizedState,h.componentWillUnmount()}catch(f){_g(o,i,f)}}break;case 5:xue(p,p.return);break;case 22:if(p.memoizedState!==null){wai(u);continue}}m!==null?(m.return=p,Gn=m):wai(u)}d=d.sibling}e:for(d=null,u=t;;){if(u.tag===5){if(d===null){d=u;try{r=u.stateNode,c?(n=r.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none"):(s=u.stateNode,l=u.memoizedProps.style,a=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=_ai("display",a))}catch(f){_g(t,t.return,f)}}}else if(u.tag===6){if(d===null)try{u.stateNode.nodeValue=c?"":u.memoizedProps}catch(f){_g(t,t.return,f)}}else if((u.tag!==22&&u.tag!==23||u.memoizedState===null||u===t)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)break e;for(;u.sibling===null;){if(u.return===null||u.return===t)break e;d===u&&(d=null),u=u.return}d===u&&(d=null),u.sibling.return=u.return,u=u.sibling}}break;case 19:D9(e,t),e_(t),o&4&&bai(t);break;case 21:break;default:D9(e,t),e_(t)}}function e_(t){var e=t.flags;if(e&2){try{e:{for(var i=t.return;i!==null;){if(cli(i)){var o=i;break e}i=i.return}throw Error(mr(160))}switch(o.tag){case 5:var r=o.stateNode;o.flags&32&&(cCe(r,""),o.flags&=-33);var n=gai(t);i2t(t,n,r);break;case 3:case 4:var a=o.stateNode.containerInfo,s=gai(t);t2t(t,s,a);break;default:throw Error(mr(161))}}catch(l){_g(t,t.return,l)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Kar(t,e,i){Gn=t,pli(t,e,i)}function pli(t,e,i){for(var o=(t.mode&1)!==0;Gn!==null;){var r=Gn,n=r.child;if(r.tag===22&&o){var a=r.memoizedState!==null||lke;if(!a){var s=r.alternate,l=s!==null&&s.memoizedState!==null||cT;s=lke;var c=cT;if(lke=a,(cT=l)&&!c)for(Gn=r;Gn!==null;)a=Gn,l=a.child,a.tag===22&&a.memoizedState!==null?Cai(r):l!==null?(l.return=a,Gn=l):Cai(r);for(;n!==null;)Gn=n,pli(n,e,i),n=n.sibling;Gn=r,lke=s,cT=c}yai(t,e,i)}else(r.subtreeFlags&8772)!==0&&n!==null?(n.return=r,Gn=n):yai(t,e,i)}}function yai(t){for(;Gn!==null;){var e=Gn;if((e.flags&8772)!==0){var i=e.alternate;try{if((e.flags&8772)!==0)switch(e.tag){case 0:case 11:case 15:cT||Xke(5,e);break;case 1:var o=e.stateNode;if(e.flags&4&&!cT)if(i===null)o.componentDidMount();else{var r=e.elementType===e.type?i.memoizedProps:E9(e.type,i.memoizedProps);o.componentDidUpdate(r,i.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var n=e.updateQueue;n!==null&&tai(e,n,o);break;case 3:var a=e.updateQueue;if(a!==null){if(i=null,e.child!==null)switch(e.child.tag){case 5:i=e.child.stateNode;break;case 1:i=e.child.stateNode}tai(e,a,i)}break;case 5:var s=e.stateNode;if(i===null&&e.flags&4){i=s;var l=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&i.focus();break;case"img":l.src&&(i.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var c=e.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var u=d.dehydrated;u!==null&&mCe(u)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(mr(163))}cT||e.flags&512&&e2t(e)}catch(p){_g(e,e.return,p)}}if(e===t){Gn=null;break}if(i=e.sibling,i!==null){i.return=e.return,Gn=i;break}Gn=e.return}}function wai(t){for(;Gn!==null;){var e=Gn;if(e===t){Gn=null;break}var i=e.sibling;if(i!==null){i.return=e.return,Gn=i;break}Gn=e.return}}function Cai(t){for(;Gn!==null;){var e=Gn;try{switch(e.tag){case 0:case 11:case 15:var i=e.return;try{Xke(4,e)}catch(l){_g(e,i,l)}break;case 1:var o=e.stateNode;if(typeof o.componentDidMount=="function"){var r=e.return;try{o.componentDidMount()}catch(l){_g(e,r,l)}}var n=e.return;try{e2t(e)}catch(l){_g(e,n,l)}break;case 5:var a=e.return;try{e2t(e)}catch(l){_g(e,a,l)}}}catch(l){_g(e,e.return,l)}if(e===t){Gn=null;break}var s=e.sibling;if(s!==null){s.return=e.return,Gn=s;break}Gn=e.return}}var Zar=Math.ceil,zke=DU.ReactCurrentDispatcher,F2t=DU.ReactCurrentOwner,S8=DU.ReactCurrentBatchConfig,Hu=0,f3=null,Ib=null,Qw=0,ev=0,Tue=GK(0),e4=0,MCe=null,soe=0,$ke=0,U2t=0,aCe=null,E6=null,V2t=0,Rue=1/0,wU=null,Fke=!1,o2t=null,BK=null,cke=!1,kK=null,Uke=0,sCe=0,r2t=null,bke=-1,yke=0;function gS(){return(Hu&6)!==0?P2():bke!==-1?bke:bke=P2()}function zK(t){return(t.mode&1)===0?1:(Hu&2)!==0&&Qw!==0?Qw&-Qw:kar.transition!==null?(yke===0&&(yke=Zai()),yke):(t=Ip,t!==0||(t=window.event,t=t===void 0?16:isi(t.type)),t)}function P9(t,e,i,o){if(50<sCe)throw sCe=0,r2t=null,Error(mr(185));ICe(t,i,o),((Hu&2)===0||t!==f3)&&(t===f3&&((Hu&2)===0&&($ke|=i),e4===4&&AK(t,Qw)),P6(t,o),i===1&&Hu===0&&(e.mode&1)===0&&(Rue=P2()+500,Zke&&YK()))}function P6(t,e){var i=t.callbackNode;Pnr(t,e);var o=Mke(t,t===f3?Qw:0);if(o===0)i!==null&&Dni(i),t.callbackNode=null,t.callbackPriority=0;else if(e=o&-o,t.callbackPriority!==e){if(i!=null&&Dni(i),e===1)t.tag===0?Nar(xai.bind(null,t)):xsi(xai.bind(null,t)),Lar(function(){(Hu&6)===0&&YK()}),i=null;else{switch(Jai(o)){case 1:i=h2t;break;case 4:i=Qai;break;case 16:i=Ske;break;case 536870912:i=Kai;break;default:i=Ske}i=Cli(i,mli.bind(null,t))}t.callbackPriority=e,t.callbackNode=i}}function mli(t,e){if(bke=-1,yke=0,(Hu&6)!==0)throw Error(mr(327));var i=t.callbackNode;if(Due()&&t.callbackNode!==i)return null;var o=Mke(t,t===f3?Qw:0);if(o===0)return null;if((o&30)!==0||(o&t.expiredLanes)!==0||e)e=Vke(t,o);else{e=o;var r=Hu;Hu|=2;var n=fli();(f3!==t||Qw!==e)&&(wU=null,Rue=P2()+500,ioe(t,e));do try{Xar();break}catch(s){hli(t,s)}while(!0);v2t(),zke.current=n,Hu=r,Ib!==null?e=0:(f3=null,Qw=0,e=e4)}if(e!==0){if(e===2&&(r=Ngt(t),r!==0&&(o=r,e=n2t(t,r))),e===1)throw i=MCe,ioe(t,0),AK(t,o),P6(t,P2()),i;if(e===6)AK(t,o);else{if(r=t.current.alternate,(o&30)===0&&!Jar(r)&&(e=Vke(t,o),e===2&&(n=Ngt(t),n!==0&&(o=n,e=n2t(t,n))),e===1))throw i=MCe,ioe(t,0),AK(t,o),P6(t,P2()),i;switch(t.finishedWork=r,t.finishedLanes=o,e){case 0:case 1:throw Error(mr(345));case 2:Xie(t,E6,wU);break;case 3:if(AK(t,o),(o&130023424)===o&&(e=V2t+500-P2(),10<e)){if(Mke(t,0)!==0)break;if(r=t.suspendedLanes,(r&o)!==o){gS(),t.pingedLanes|=t.suspendedLanes&r;break}t.timeoutHandle=zgt(Xie.bind(null,t,E6,wU),e);break}Xie(t,E6,wU);break;case 4:if(AK(t,o),(o&4194240)===o)break;for(e=t.eventTimes,r=-1;0<o;){var a=31-k9(o);n=1<<a,a=e[a],a>r&&(r=a),o&=~n}if(o=r,o=P2()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*Zar(o/1960))-o,10<o){t.timeoutHandle=zgt(Xie.bind(null,t,E6,wU),o);break}Xie(t,E6,wU);break;case 5:Xie(t,E6,wU);break;default:throw Error(mr(329))}}}return P6(t,P2()),t.callbackNode===i?mli.bind(null,t):null}function n2t(t,e){var i=aCe;return t.current.memoizedState.isDehydrated&&(ioe(t,e).flags|=256),t=Vke(t,e),t!==2&&(e=E6,E6=i,e!==null&&a2t(e)),t}function a2t(t){E6===null?E6=t:E6.push.apply(E6,t)}function Jar(t){for(var e=t;;){if(e.flags&16384){var i=e.updateQueue;if(i!==null&&(i=i.stores,i!==null))for(var o=0;o<i.length;o++){var r=i[o],n=r.getSnapshot;r=r.value;try{if(!O9(n(),r))return!1}catch{return!1}}}if(i=e.child,e.subtreeFlags&16384&&i!==null)i.return=e,e=i;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function AK(t,e){for(e&=~U2t,e&=~$ke,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var i=31-k9(e),o=1<<i;t[i]=-1,e&=~o}}function xai(t){if((Hu&6)!==0)throw Error(mr(327));Due();var e=Mke(t,0);if((e&1)===0)return P6(t,P2()),null;var i=Vke(t,e);if(t.tag!==0&&i===2){var o=Ngt(t);o!==0&&(e=o,i=n2t(t,o))}if(i===1)throw i=MCe,ioe(t,0),AK(t,e),P6(t,P2()),i;if(i===6)throw Error(mr(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,Xie(t,E6,wU),P6(t,P2()),null}function H2t(t,e){var i=Hu;Hu|=1;try{return t(e)}finally{Hu=i,Hu===0&&(Rue=P2()+500,Zke&&YK())}}function loe(t){kK!==null&&kK.tag===0&&(Hu&6)===0&&Due();var e=Hu;Hu|=1;var i=S8.transition,o=Ip;try{if(S8.transition=null,Ip=1,t)return t()}finally{Ip=o,S8.transition=i,Hu=e,(Hu&6)===0&&YK()}}function G2t(){ev=Tue.current,ih(Tue)}function ioe(t,e){t.finishedWork=null,t.finishedLanes=0;var i=t.timeoutHandle;if(i!==-1&&(t.timeoutHandle=-1,Iar(i)),Ib!==null)for(i=Ib.return;i!==null;){var o=i;switch(M2t(o),o.tag){case 1:o=o.type.childContextTypes,o!=null&&Eke();break;case 3:Pue(),ih(N6),ih(dT),P2t();break;case 5:k2t(o);break;case 4:Pue();break;case 13:ih(kf);break;case 19:ih(kf);break;case 10:D2t(o.type._context);break;case 22:case 23:G2t()}i=i.return}if(f3=t,Ib=t=FK(t.current,null),Qw=ev=e,e4=0,MCe=null,U2t=$ke=soe=0,E6=aCe=null,eoe!==null){for(e=0;e<eoe.length;e++)if(i=eoe[e],o=i.interleaved,o!==null){i.interleaved=null;var r=o.next,n=i.pending;if(n!==null){var a=n.next;n.next=r,o.next=a}i.pending=o}eoe=null}return t}function hli(t,e){do{var i=Ib;try{if(v2t(),hke.current=Bke,jke){for(var o=Pf.memoizedState;o!==null;){var r=o.queue;r!==null&&(r.pending=null),o=o.next}jke=!1}if(aoe=0,h3=$y=Pf=null,rCe=!1,xCe=0,F2t.current=null,i===null||i.return===null){e4=1,MCe=e,Ib=null;break}e:{var n=t,a=i.return,s=i,l=e;if(e=Qw,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,d=s,u=d.tag;if((d.mode&1)===0&&(u===0||u===11||u===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=lai(a);if(m!==null){m.flags&=-257,cai(m,a,s,n,e),m.mode&1&&sai(n,c,e),e=m,l=c;var h=e.updateQueue;if(h===null){var f=new Set;f.add(l),e.updateQueue=f}else h.add(l);break e}else{if((e&1)===0){sai(n,c,e),Y2t();break e}l=Error(mr(426))}}else if(Uh&&s.mode&1){var g=lai(a);if(g!==null){(g.flags&65536)===0&&(g.flags|=256),cai(g,a,s,n,e),I2t(Oue(l,s));break e}}n=l=Oue(l,s),e4!==4&&(e4=2),aCe===null?aCe=[n]:aCe.push(n),n=a;do{switch(n.tag){case 3:n.flags|=65536,e&=-e,n.lanes|=e;var b=qsi(n,l,e);eai(n,b);break e;case 1:s=l;var y=n.type,w=n.stateNode;if((n.flags&128)===0&&(typeof y.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(BK===null||!BK.has(w)))){n.flags|=65536,e&=-e,n.lanes|=e;var x=Xsi(n,s,e);eai(n,x);break e}}n=n.return}while(n!==null)}bli(i)}catch(S){e=S,Ib===i&&i!==null&&(Ib=i=i.return);continue}break}while(!0)}function fli(){var t=zke.current;return zke.current=Bke,t===null?Bke:t}function Y2t(){(e4===0||e4===3||e4===2)&&(e4=4),f3===null||(soe&268435455)===0&&($ke&268435455)===0||AK(f3,Qw)}function Vke(t,e){var i=Hu;Hu|=2;var o=fli();(f3!==t||Qw!==e)&&(wU=null,ioe(t,e));do try{qar();break}catch(r){hli(t,r)}while(!0);if(v2t(),Hu=i,zke.current=o,Ib!==null)throw Error(mr(261));return f3=null,Qw=0,e4}function qar(){for(;Ib!==null;)gli(Ib)}function Xar(){for(;Ib!==null&&!Mnr();)gli(Ib)}function gli(t){var e=wli(t.alternate,t,ev);t.memoizedProps=t.pendingProps,e===null?bli(t):Ib=e,F2t.current=null}function bli(t){var e=t;do{var i=e.alternate;if(t=e.return,(e.flags&32768)===0){if(i=Gar(i,e,ev),i!==null){Ib=i;return}}else{if(i=Yar(i,e),i!==null){i.flags&=32767,Ib=i;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{e4=6,Ib=null;return}}if(e=e.sibling,e!==null){Ib=e;return}Ib=e=t}while(e!==null);e4===0&&(e4=5)}function Xie(t,e,i){var o=Ip,r=S8.transition;try{S8.transition=null,Ip=1,$ar(t,e,i,o)}finally{S8.transition=r,Ip=o}return null}function $ar(t,e,i,o){do Due();while(kK!==null);if((Hu&6)!==0)throw Error(mr(327));i=t.finishedWork;var r=t.finishedLanes;if(i===null)return null;if(t.finishedWork=null,t.finishedLanes=0,i===t.current)throw Error(mr(177));t.callbackNode=null,t.callbackPriority=0;var n=i.lanes|i.childLanes;if(Onr(t,n),t===f3&&(Ib=f3=null,Qw=0),(i.subtreeFlags&2064)===0&&(i.flags&2064)===0||cke||(cke=!0,Cli(Ske,function(){return Due(),null})),n=(i.flags&15990)!==0,(i.subtreeFlags&15990)!==0||n){n=S8.transition,S8.transition=null;var a=Ip;Ip=1;var s=Hu;Hu|=4,F2t.current=null,Qar(t,i),uli(i,t),Car(jgt),Ike=!!_gt,jgt=_gt=null,t.current=i,Kar(i,t,r),Inr(),Hu=s,Ip=a,S8.transition=n}else t.current=i;if(cke&&(cke=!1,kK=t,Uke=r),n=t.pendingLanes,n===0&&(BK=null),Dnr(i.stateNode,o),P6(t,P2()),e!==null)for(o=t.onRecoverableError,i=0;i<e.length;i++)r=e[i],o(r.value,{componentStack:r.stack,digest:r.digest});if(Fke)throw Fke=!1,t=o2t,o2t=null,t;return(Uke&1)!==0&&t.tag!==0&&Due(),n=t.pendingLanes,(n&1)!==0?t===r2t?sCe++:(sCe=0,r2t=t):sCe=0,YK(),null}function Due(){if(kK!==null){var t=Jai(Uke),e=S8.transition,i=Ip;try{if(S8.transition=null,Ip=16>t?16:t,kK===null)var o=!1;else{if(t=kK,kK=null,Uke=0,(Hu&6)!==0)throw Error(mr(331));var r=Hu;for(Hu|=4,Gn=t.current;Gn!==null;){var n=Gn,a=n.child;if((Gn.flags&16)!==0){var s=n.deletions;if(s!==null){for(var l=0;l<s.length;l++){var c=s[l];for(Gn=c;Gn!==null;){var d=Gn;switch(d.tag){case 0:case 11:case 15:nCe(8,d,n)}var u=d.child;if(u!==null)u.return=d,Gn=u;else for(;Gn!==null;){d=Gn;var p=d.sibling,m=d.return;if(lli(d),d===c){Gn=null;break}if(p!==null){p.return=m,Gn=p;break}Gn=m}}}var h=n.alternate;if(h!==null){var f=h.child;if(f!==null){h.child=null;do{var g=f.sibling;f.sibling=null,f=g}while(f!==null)}}Gn=n}}if((n.subtreeFlags&2064)!==0&&a!==null)a.return=n,Gn=a;else e:for(;Gn!==null;){if(n=Gn,(n.flags&2048)!==0)switch(n.tag){case 0:case 11:case 15:nCe(9,n,n.return)}var b=n.sibling;if(b!==null){b.return=n.return,Gn=b;break e}Gn=n.return}}var y=t.current;for(Gn=y;Gn!==null;){a=Gn;var w=a.child;if((a.subtreeFlags&2064)!==0&&w!==null)w.return=a,Gn=w;else e:for(a=y;Gn!==null;){if(s=Gn,(s.flags&2048)!==0)try{switch(s.tag){case 0:case 11:case 15:Xke(9,s)}}catch(S){_g(s,s.return,S)}if(s===a){Gn=null;break e}var x=s.sibling;if(x!==null){x.return=s.return,Gn=x;break e}Gn=s.return}}if(Hu=r,YK(),o_&&typeof o_.onPostCommitFiberRoot=="function")try{o_.onPostCommitFiberRoot(Gke,t)}catch{}o=!0}return o}finally{Ip=i,S8.transition=e}}return!1}function Tai(t,e,i){e=Oue(i,e),e=qsi(t,e,1),t=jK(t,e,1),e=gS(),t!==null&&(ICe(t,1,e),P6(t,e))}function _g(t,e,i){if(t.tag===3)Tai(t,t,i);else for(;e!==null;){if(e.tag===3){Tai(e,t,i);break}else if(e.tag===1){var o=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(BK===null||!BK.has(o))){t=Oue(i,t),t=Xsi(e,t,1),e=jK(e,t,1),t=gS(),e!==null&&(ICe(e,1,t),P6(e,t));break}}e=e.return}}function esr(t,e,i){var o=t.pingCache;o!==null&&o.delete(e),e=gS(),t.pingedLanes|=t.suspendedLanes&i,f3===t&&(Qw&i)===i&&(e4===4||e4===3&&(Qw&130023424)===Qw&&500>P2()-V2t?ioe(t,0):U2t|=i),P6(t,e)}function yli(t,e){e===0&&((t.mode&1)===0?e=1:(e=Z7e,Z7e<<=1,(Z7e&130023424)===0&&(Z7e=4194304)));var i=gS();t=LU(t,e),t!==null&&(ICe(t,e,i),P6(t,i))}function tsr(t){var e=t.memoizedState,i=0;e!==null&&(i=e.retryLane),yli(t,i)}function isr(t,e){var i=0;switch(t.tag){case 13:var o=t.stateNode,r=t.memoizedState;r!==null&&(i=r.retryLane);break;case 19:o=t.stateNode;break;default:throw Error(mr(314))}o!==null&&o.delete(e),yli(t,i)}var wli;wli=function(t,e,i){if(t!==null)if(t.memoizedProps!==e.pendingProps||N6.current)A6=!0;else{if((t.lanes&i)===0&&(e.flags&128)===0)return A6=!1,Har(t,e,i);A6=(t.flags&131072)!==0}else A6=!1,Uh&&(e.flags&1048576)!==0&&Tsi(e,kke,e.index);switch(e.lanes=0,e.tag){case 2:var o=e.type;gke(t,e),t=e.pendingProps;var r=Aue(e,dT.current);vue(e,i),r=R2t(null,e,o,t,r,i);var n=_2t();return e.flags|=1,typeof r=="object"&&r!==null&&typeof r.render=="function"&&r.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,k6(o)?(n=!0,Ake(e)):n=!1,e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,A2t(e),r.updater=Jke,e.stateNode=r,r._reactInternals=e,Wgt(e,o,t,i),e=Zgt(null,e,o,!0,n,i)):(e.tag=0,Uh&&n&&S2t(e),fS(null,e,r,i),e=e.child),e;case 16:o=e.elementType;e:{switch(gke(t,e),t=e.pendingProps,r=o._init,o=r(o._payload),e.type=o,r=e.tag=rsr(o),t=E9(o,t),r){case 0:e=Kgt(null,e,o,t,i);break e;case 1:e=pai(null,e,o,t,i);break e;case 11:e=dai(null,e,o,t,i);break e;case 14:e=uai(null,e,o,E9(o.type,t),i);break e}throw Error(mr(306,o,""))}return e;case 0:return o=e.type,r=e.pendingProps,r=e.elementType===o?r:E9(o,r),Kgt(t,e,o,r,i);case 1:return o=e.type,r=e.pendingProps,r=e.elementType===o?r:E9(o,r),pai(t,e,o,r,i);case 3:e:{if(ili(e),t===null)throw Error(mr(387));o=e.pendingProps,n=e.memoizedState,r=n.element,Lsi(t,e),Rke(e,o,null,i);var a=e.memoizedState;if(o=a.element,n.isDehydrated)if(n={element:o,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},e.updateQueue.baseState=n,e.memoizedState=n,e.flags&256){r=Oue(Error(mr(423)),e),e=mai(t,e,o,i,r);break e}else if(o!==r){r=Oue(Error(mr(424)),e),e=mai(t,e,o,i,r);break e}else for(tv=_K(e.stateNode.containerInfo.firstChild),iv=e,Uh=!0,N9=null,i=Asi(e,null,o,i),e.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(Nue(),o===r){e=vU(t,e,i);break e}fS(t,e,o,i)}e=e.child}return e;case 5:return Nsi(e),t===null&&Hgt(e),o=e.type,r=e.pendingProps,n=t!==null?t.memoizedProps:null,a=r.children,Bgt(o,r)?a=null:n!==null&&Bgt(o,n)&&(e.flags|=32),tli(t,e),fS(t,e,a,i),e.child;case 6:return t===null&&Hgt(e),null;case 13:return oli(t,e,i);case 4:return N2t(e,e.stateNode.containerInfo),o=e.pendingProps,t===null?e.child=kue(e,null,o,i):fS(t,e,o,i),e.child;case 11:return o=e.type,r=e.pendingProps,r=e.elementType===o?r:E9(o,r),dai(t,e,o,r,i);case 7:return fS(t,e,e.pendingProps,i),e.child;case 8:return fS(t,e,e.pendingProps.children,i),e.child;case 12:return fS(t,e,e.pendingProps.children,i),e.child;case 10:e:{if(o=e.type._context,r=e.pendingProps,n=e.memoizedProps,a=r.value,f1(Pke,o._currentValue),o._currentValue=a,n!==null)if(O9(n.value,a)){if(n.children===r.children&&!N6.current){e=vU(t,e,i);break e}}else for(n=e.child,n!==null&&(n.return=e);n!==null;){var s=n.dependencies;if(s!==null){a=n.child;for(var l=s.firstContext;l!==null;){if(l.context===o){if(n.tag===1){l=SU(-1,i&-i),l.tag=2;var c=n.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}n.lanes|=i,l=n.alternate,l!==null&&(l.lanes|=i),Ggt(n.return,i,e),s.lanes|=i;break}l=l.next}}else if(n.tag===10)a=n.type===e.type?null:n.child;else if(n.tag===18){if(a=n.return,a===null)throw Error(mr(341));a.lanes|=i,s=a.alternate,s!==null&&(s.lanes|=i),Ggt(a,i,e),a=n.sibling}else a=n.child;if(a!==null)a.return=n;else for(a=n;a!==null;){if(a===e){a=null;break}if(n=a.sibling,n!==null){n.return=a.return,a=n;break}a=a.return}n=a}fS(t,e,r.children,i),e=e.child}return e;case 9:return r=e.type,o=e.pendingProps.children,vue(e,i),r=M8(r),o=o(r),e.flags|=1,fS(t,e,o,i),e.child;case 14:return o=e.type,r=E9(o,e.pendingProps),r=E9(o.type,r),uai(t,e,o,r,i);case 15:return $si(t,e,e.type,e.pendingProps,i);case 17:return o=e.type,r=e.pendingProps,r=e.elementType===o?r:E9(o,r),gke(t,e),e.tag=1,k6(o)?(t=!0,Ake(e)):t=!1,vue(e,i),Dsi(e,o,r),Wgt(e,o,r,i),Zgt(null,e,o,!0,t,i);case 19:return rli(t,e,i);case 22:return eli(t,e,i)}throw Error(mr(156,e.tag))};function Cli(t,e){return Wai(t,e)}function osr(t,e,i,o){this.tag=t,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function T8(t,e,i,o){return new osr(t,e,i,o)}function W2t(t){return t=t.prototype,!(!t||!t.isReactComponent)}function rsr(t){if(typeof t=="function")return W2t(t)?1:0;if(t!=null){if(t=t.$$typeof,t===u2t)return 11;if(t===p2t)return 14}return 2}function FK(t,e){var i=t.alternate;return i===null?(i=T8(t.tag,e,t.key,t.mode),i.elementType=t.elementType,i.type=t.type,i.stateNode=t.stateNode,i.alternate=t,t.alternate=i):(i.pendingProps=e,i.type=t.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=t.flags&14680064,i.childLanes=t.childLanes,i.lanes=t.lanes,i.child=t.child,i.memoizedProps=t.memoizedProps,i.memoizedState=t.memoizedState,i.updateQueue=t.updateQueue,e=t.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},i.sibling=t.sibling,i.index=t.index,i.ref=t.ref,i}function wke(t,e,i,o,r,n){var a=2;if(o=t,typeof t=="function")W2t(t)&&(a=1);else if(typeof t=="string")a=5;else e:switch(t){case pue:return ooe(i.children,r,n,e);case d2t:a=8,r|=8;break;case ggt:return t=T8(12,i,e,r|2),t.elementType=ggt,t.lanes=n,t;case bgt:return t=T8(13,i,e,r),t.elementType=bgt,t.lanes=n,t;case ygt:return t=T8(19,i,e,r),t.elementType=ygt,t.lanes=n,t;case Eai:return e9e(i,r,n,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case vai:a=10;break e;case Dai:a=9;break e;case u2t:a=11;break e;case p2t:a=14;break e;case vK:a=16,o=null;break e}throw Error(mr(130,t==null?t:typeof t,""))}return e=T8(a,i,e,r),e.elementType=t,e.type=o,e.lanes=n,e}function ooe(t,e,i,o){return t=T8(7,t,o,e),t.lanes=i,t}function e9e(t,e,i,o){return t=T8(22,t,o,e),t.elementType=Eai,t.lanes=i,t.stateNode={isHidden:!1},t}function mgt(t,e,i){return t=T8(6,t,null,e),t.lanes=i,t}function hgt(t,e,i){return e=T8(4,t.children!==null?t.children:[],t.key,e),e.lanes=i,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function nsr(t,e,i,o,r){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=qft(0),this.expirationTimes=qft(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qft(0),this.identifierPrefix=o,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function Q2t(t,e,i,o,r,n,a,s,l){return t=new nsr(t,e,i,s,l),e===1?(e=1,n===!0&&(e|=8)):e=0,n=T8(3,null,null,e),t.current=n,n.stateNode=t,n.memoizedState={element:o,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},A2t(n),t}function asr(t,e,i){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:uue,key:o==null?null:""+o,children:t,containerInfo:e,implementation:i}}function xli(t){if(!t)return VK;t=t._reactInternals;e:{if(doe(t)!==t||t.tag!==1)throw Error(mr(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break e;case 1:if(k6(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break e}}e=e.return}while(e!==null);throw Error(mr(171))}if(t.tag===1){var i=t.type;if(k6(i))return Csi(t,i,e)}return e}function Tli(t,e,i,o,r,n,a,s,l){return t=Q2t(i,o,!0,t,r,n,a,s,l),t.context=xli(null),i=t.current,o=gS(),r=zK(i),n=SU(o,r),n.callback=e!=null?e:null,jK(i,n,r),t.current.lanes=r,ICe(t,r,o),P6(t,o),t}function t9e(t,e,i,o){var r=e.current,n=gS(),a=zK(r);return i=xli(i),e.context===null?e.context=i:e.pendingContext=i,e=SU(n,a),e.payload={element:t},o=o===void 0?null:o,o!==null&&(e.callback=o),t=jK(r,e,a),t!==null&&(P9(t,r,a,n),mke(t,r,a)),a}function Hke(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function Sai(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var i=t.retryLane;t.retryLane=i!==0&&i<e?i:e}}function K2t(t,e){Sai(t,e),(t=t.alternate)&&Sai(t,e)}function ssr(){return null}var Sli=typeof reportError=="function"?reportError:function(t){console.error(t)};function Z2t(t){this._internalRoot=t}i9e.prototype.render=Z2t.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(mr(409));t9e(t,e,null,null)};i9e.prototype.unmount=Z2t.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;loe(function(){t9e(null,t,null,null)}),e[IU]=null}};function i9e(t){this._internalRoot=t}i9e.prototype.unstable_scheduleHydration=function(t){if(t){var e=$ai();t={blockedOn:null,target:t,priority:e};for(var i=0;i<EK.length&&e!==0&&e<EK[i].priority;i++);EK.splice(i,0,t),i===0&&tsi(t)}};function J2t(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function o9e(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function Mai(){}function lsr(t,e,i,o,r){if(r){if(typeof o=="function"){var n=o;o=function(){var c=Hke(a);n.call(c)}}var a=Tli(e,o,t,0,null,!1,!1,"",Mai);return t._reactRootContainer=a,t[IU]=a.current,gCe(t.nodeType===8?t.parentNode:t),loe(),a}for(;r=t.lastChild;)t.removeChild(r);if(typeof o=="function"){var s=o;o=function(){var c=Hke(l);s.call(c)}}var l=Q2t(t,0,!1,null,null,!1,!1,"",Mai);return t._reactRootContainer=l,t[IU]=l.current,gCe(t.nodeType===8?t.parentNode:t),loe(function(){t9e(e,l,i,o)}),l}function r9e(t,e,i,o,r){var n=i._reactRootContainer;if(n){var a=n;if(typeof r=="function"){var s=r;r=function(){var l=Hke(a);s.call(l)}}t9e(e,a,t,r)}else a=lsr(i,e,t,r,o);return Hke(a)}qai=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var i=qwe(e.pendingLanes);i!==0&&(f2t(e,i|1),P6(e,P2()),(Hu&6)===0&&(Rue=P2()+500,YK()))}break;case 13:loe(function(){var o=LU(t,1);if(o!==null){var r=gS();P9(o,t,1,r)}}),K2t(t,1)}};g2t=function(t){if(t.tag===13){var e=LU(t,134217728);if(e!==null){var i=gS();P9(e,t,134217728,i)}K2t(t,134217728)}};Xai=function(t){if(t.tag===13){var e=zK(t),i=LU(t,e);if(i!==null){var o=gS();P9(i,t,e,o)}K2t(t,e)}};$ai=function(){return Ip};esi=function(t,e){var i=Ip;try{return Ip=t,e()}finally{Ip=i}};Dgt=function(t,e,i){switch(e){case"input":if(xgt(t,i),e=i.name,i.type==="radio"&&e!=null){for(i=t;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<i.length;e++){var o=i[e];if(o!==t&&o.form===t.form){var r=Kke(o);if(!r)throw Error(mr(90));Nai(o),xgt(o,r)}}}break;case"textarea":Pai(t,i);break;case"select":e=i.value,e!=null&&Sue(t,!!i.multiple,e,!1)}};Fai=H2t;Uai=loe;var csr={usingClientEntryPoint:!1,Events:[vCe,gue,Kke,Bai,zai,H2t]},Qwe={findFiberByHostInstance:$ie,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},dsr={bundleType:Qwe.bundleType,version:Qwe.version,rendererPackageName:Qwe.rendererPackageName,rendererConfig:Qwe.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:DU.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=Gai(t),t===null?null:t.stateNode},findFiberByHostInstance:Qwe.findFiberByHostInstance||ssr,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Kwe=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Kwe.isDisabled&&Kwe.supportsFiber))try{Gke=Kwe.inject(dsr),o_=Kwe}catch{}var Kwe;nv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=csr;nv.createPortal=function(t,e){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!J2t(e))throw Error(mr(200));return asr(t,e,null,i)};nv.createRoot=function(t,e){if(!J2t(t))throw Error(mr(299));var i=!1,o="",r=Sli;return e!=null&&(e.unstable_strictMode===!0&&(i=!0),e.identifierPrefix!==void 0&&(o=e.identifierPrefix),e.onRecoverableError!==void 0&&(r=e.onRecoverableError)),e=Q2t(t,1,!1,null,null,i,!1,o,r),t[IU]=e.current,gCe(t.nodeType===8?t.parentNode:t),new Z2t(e)};nv.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(mr(188)):(t=Object.keys(t).join(","),Error(mr(268,t)));return t=Gai(e),t=t===null?null:t.stateNode,t};nv.flushSync=function(t){return loe(t)};nv.hydrate=function(t,e,i){if(!o9e(e))throw Error(mr(200));return r9e(null,t,e,!0,i)};nv.hydrateRoot=function(t,e,i){if(!J2t(t))throw Error(mr(405));var o=i!=null&&i.hydratedSources||null,r=!1,n="",a=Sli;if(i!=null&&(i.unstable_strictMode===!0&&(r=!0),i.identifierPrefix!==void 0&&(n=i.identifierPrefix),i.onRecoverableError!==void 0&&(a=i.onRecoverableError)),e=Tli(e,null,t,1,i!=null?i:null,r,!1,n,a),t[IU]=e.current,gCe(t),o)for(t=0;t<o.length;t++)i=o[t],r=i._getVersion,r=r(i._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[i,r]:e.mutableSourceEagerHydrationData.push(i,r);return new i9e(e)};nv.render=function(t,e,i){if(!o9e(e))throw Error(mr(200));return r9e(null,t,e,!1,i)};nv.unmountComponentAtNode=function(t){if(!o9e(t))throw Error(mr(40));return t._reactRootContainer?(loe(function(){r9e(null,null,t,!1,function(){t._reactRootContainer=null,t[IU]=null})}),!0):!1};nv.unstable_batchedUpdates=H2t;nv.unstable_renderSubtreeIntoContainer=function(t,e,i,o){if(!o9e(i))throw Error(mr(200));if(t==null||t._reactInternals===void 0)throw Error(mr(38));return r9e(t,e,i,!1,o)};nv.version="18.2.0-next-9e3b772b8-20220608"});var uT=xe((Pxn,Lli)=>{"use strict";function Ili(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ili)}catch(t){console.error(t)}}Ili(),Lli.exports=Mli()});var Hr=xe(q2t=>{"use strict";var vli=uT();q2t.createRoot=vli.createRoot,q2t.hydrateRoot=vli.hydrateRoot;var Oxn});var tbt=xe((Jxn,Nli)=>{var Lb=[];Lb.push('.lc_modal_RVdjQ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-moz-box-sizing:border-box;box-sizing:border-box;justify-content:center;z-index:9999}.lc_modal_RVdjQ,.lc_modal_mask_e-kyk{height:100vh;left:0;position:fixed;top:0;width:100vw}.lc_modal_mask_e-kyk{background-color:#000;opacity:.2;z-index:10000}.lc_modal_proxy_Clc6J{border:1px dashed var(--common-border-color)!important;border-radius:2px;display:block;position:fixed;z-index:20000}.lc_modal_proxy_sub_PjL-2{height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:19999}.lc_modal_dialog_zvEgQ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:auto;max-height:-webkit-calc(100vh - 32px);max-height:-moz-calc(100vh - 32px);max-height:calc(100vh - 32px);max-width:-webkit-calc(100vw - 32px);max-width:-moz-calc(100vw - 32px);max-width:calc(100vw - 32px);width:400px;z-index:10001;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;background-color:var(--bg-color-pop-up-content);border:calc(var(--has-border-dialog)*1px) solid #222;border-radius:4px;flex-direction:column;overflow:hidden;position:relative}.lc_modal_dialog_box_5wCN6{box-shadow:0 0 15px rgba(50,50,50,.3);opacity:1;z-index:10001}.lc_modal_dialog__header_HB6Bb{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:28px;padding-left:16px;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background-color:var(--bg-color-pop-up-title);-moz-box-sizing:border-box;box-sizing:border-box;cursor:move}.lc_modal_dialog__header_HB6Bb .header_left_0eE3m{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.lc_modal_dialog__header_HB6Bb .header_left_title_Hlg2C{color:var(--font-color-pop-up);font-size:12px;line-height:16px}.lc_modal_dialog__header_HB6Bb .header_right_0VxmO{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex}.lc_modal_dialog__header_HB6Bb .header_right_0VxmO,.lc_modal_dialog__header_HB6Bb .header_right_close_o8Wlu{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.lc_modal_dialog__header_HB6Bb .header_right_close_o8Wlu{cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:28px;width:36px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.lc_modal_dialog__header_HB6Bb .header_right_close_o8Wlu:hover{background-color:#e81123}.lc_modal_dialog__header_HB6Bb .header_right_close_o8Wlu:hover i:after,.lc_modal_dialog__header_HB6Bb .header_right_close_o8Wlu:hover i:before{background-color:#fff}.lc_modal_dialog__header_HB6Bb .header_right_close_o8Wlu i{height:16px;position:relative;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg);width:16px}.lc_modal_dialog__header_HB6Bb .header_right_close_o8Wlu i:before{height:1px;width:12px}.lc_modal_dialog__header_HB6Bb .header_right_close_o8Wlu i:after,.lc_modal_dialog__header_HB6Bb .header_right_close_o8Wlu i:before{background-color:var(--common-font-color);content:"";left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.lc_modal_dialog__header_HB6Bb .header_right_close_o8Wlu i:after{height:12px;width:1px}.lc_modal_dialog__header_HB6Bb .icon_pop_up_MKlZg{cursor:pointer;display:inline-block;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:28px;width:36px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;background-image:');Lb.push("url(");Lb.push(JSON.stringify(Kpt()));Lb.push(")");Lb.push(";background-position:50%;background-repeat:no-repeat;background-size:12px 12px;justify-content:center}.lc_modal_dialog__header_HB6Bb .icon_pop_up_MKlZg:hover{background-color:#d0d2d5}.lc_modal_dialog__header_HB6Bb .icon_maximize_6oLov{background-image:");Lb.push("url(");Lb.push(JSON.stringify(jAe()));Lb.push(")");Lb.push(";background-position:50%;background-repeat:no-repeat;background-size:20px 20px;cursor:pointer;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:28px;width:36px}.lc_modal_dialog__header_HB6Bb .icon_maximize_6oLov:hover{background-color:#d0d2d5}.lc_modal_dialog__header_HB6Bb .icon_initialization_oO-8b{background-image:");Lb.push("url(");Lb.push(JSON.stringify(Zce()));Lb.push(")");Lb.push(";background-position:50%;background-repeat:no-repeat;background-size:12px 12px;cursor:pointer;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:28px;width:36px}.lc_modal_dialog__header_HB6Bb .icon_initialization_oO-8b:hover{background-color:#d0d2d5}.lc_modal_dialog__header_HB6Bb .icon_fold_up_ElKpP{background-image:");Lb.push("url(");Lb.push(JSON.stringify(Qpt()));Lb.push(")");Lb.push(";background-position:50%;background-repeat:no-repeat;background-size:12px 12px;cursor:pointer;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:36px;-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);transform:rotate(90deg);width:28px}.lc_modal_dialog__header_HB6Bb .icon_fold_up_ElKpP:hover{background-color:#d0d2d5}.lc_modal_dialog__body_3-SF9{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;background-color:var(--bg-color-pop-up-content);border:var(--common-border-color);color:var(--font-color-pop-up);flex:1;overflow:auto;padding:16px}.lc_modal_dialog__body_3-SF9,.lc_modal_dialog__footer_T5iZR{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.lc_modal_dialog__footer_T5iZR{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:0 16px 16px;position:relative;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;gap:8px;justify-content:flex-end}.e-resize_47QgH{cursor:e-resize;height:100%;position:absolute;right:0;top:0;width:8px;z-index:20000}.s-resize_f9bh1{bottom:0;cursor:s-resize;height:8px;width:100%}.s-resize_f9bh1,.w-resize_3WUA6{left:0;position:absolute;z-index:20000}.w-resize_3WUA6{cursor:w-resize;height:100%;top:0;width:8px}.n-resize_6V-oT{cursor:n-resize;width:100%}.n-resize_6V-oT,.nw-resize_znovQ{height:8px;left:0;position:absolute;top:0;z-index:20000}.nw-resize_znovQ{cursor:nw-resize;width:8px}.ne-resize_CMG1C{cursor:ne-resize;top:0}.ne-resize_CMG1C,.se-resize_OjZiL{height:8px;position:absolute;right:0;width:8px;z-index:20000}.se-resize_OjZiL{bottom:0;cursor:se-resize}.sw-resize_gVvNl{bottom:0;cursor:sw-resize;height:8px;left:0;position:absolute;width:8px;z-index:20000}.transition_q-d8j{-webkit-transition:opacity .1s ease-in,transform .1s ease-in;-moz-transition:opacity .1s ease-in,transform .1s ease-in;-webkit-transition:opacity .1s ease-in,-webkit-transform .1s ease-in;transition:opacity .1s ease-in,-webkit-transform .1s ease-in;-moz-transition:opacity .1s ease-in,transform .1s ease-in,-moz-transform .1s ease-in;transition:opacity .1s ease-in,transform .1s ease-in;transition:opacity .1s ease-in,transform .1s ease-in,-webkit-transform .1s ease-in,-moz-transform .1s ease-in}.entry-end_bnz-V{-webkit-transform:translateZ(5px) scale(1);-moz-transform:translateZ(5px) scale(1);transform:translateZ(5px) scale(1)}.entry-start_kegGV{opacity:0!important;-webkit-transform:translateZ(5px) scale(.8)!important;-moz-transform:translateZ(5px) scale(.8)!important;transform:translateZ(5px) scale(.8)!important}.border_PH72A{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;height:100%;overflow:auto;padding:16px}");Lb=Lb.join("");Nli.exports={uuid:"683e45e2-5c25-4bd9-ad01-16f9f449f8db",locals:{lc_modal:"lc_modal_RVdjQ",lc_modal_mask:"lc_modal_mask_e-kyk",lc_modal_proxy:"lc_modal_proxy_Clc6J",lc_modal_proxy_sub:"lc_modal_proxy_sub_PjL-2",lc_modal_dialog:"lc_modal_dialog_zvEgQ",lc_modal_dialog_box:"lc_modal_dialog_box_5wCN6",lc_modal_dialog__header:"lc_modal_dialog__header_HB6Bb",header_left:"header_left_0eE3m",header_left_title:"header_left_title_Hlg2C",header_right:"header_right_0VxmO",header_right_close:"header_right_close_o8Wlu",icon_pop_up:"icon_pop_up_MKlZg",icon_maximize:"icon_maximize_6oLov",icon_initialization:"icon_initialization_oO-8b",icon_fold_up:"icon_fold_up_ElKpP",lc_modal_dialog__body:"lc_modal_dialog__body_3-SF9",lc_modal_dialog__footer:"lc_modal_dialog__footer_T5iZR","e-resize":"e-resize_47QgH","s-resize":"s-resize_f9bh1","w-resize":"w-resize_3WUA6","n-resize":"n-resize_6V-oT","nw-resize":"nw-resize_znovQ","ne-resize":"ne-resize_CMG1C","se-resize":"se-resize_OjZiL","sw-resize":"sw-resize_gVvNl",transition:"transition_q-d8j","entry-end":"entry-end_bnz-V","entry-start":"entry-start_kegGV",border:"border_PH72A"},toString(){return Lb}}});var Pli=xe((Xxn,kli)=>{var d9e=[];d9e.push(".lc_btn_hCDak{border:1px solid transparent;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px;height:28px;line-height:28px;min-width:96px;outline:none;padding:0 10px;text-align:center;text-decoration:none}.lc_btn__type_text_AQxOR{background-color:transparent;border:0;color:#40a9ff;outline:0}.lc_btn__type_text_AQxOR:hover{color:#1890ff}.lc_btn__type_default_1e9FJ{background-color:var(--bg-color-button);border-color:var(--border-color-button);color:var(--font-color-button)}.lc_btn__type_default_1e9FJ:hover{background-color:var(--bg-color-hover-button);border-color:var(--border-color-hover-button)}.lc_btn__type_default_1e9FJ:active{background-color:var(--bg-color-active-button);border-color:var(--border-color-active-button);color:var(--font-color-active-button)}.lc_btn__type_default_disabled_zWib3{background-color:var(--bg-color-disabled-button);color:var(--font-color-disabled-button)!important;cursor:not-allowed!important;pointer-events:none!important}.lc_btn__type_default_readonly_5bj3M{color:#c0c4cc!important;cursor:default!important;pointer-events:none!important}.lc_btn__type_primary_sIPu0{background-color:#1890ff;border-color:#1890ff;color:#fff}.lc_btn__type_primary_sIPu0:hover{background-color:#40a9ff;border-color:#40a9ff}.lc_btn__type_primary_disabled_rjDZo{background-color:var(--bg-color-disabled-primary-button)!important;border:1px solid var(--bg-color-disabled-primary-button)!important;color:var(--font-color-disabled-primary-button)!important;cursor:not-allowed!important}.lc_btn__type_primary_disabled_rjDZo:hover{background-color:var(--bg-color-disabled-primary-button);border-color:var(--bg-color-disabled-primary-button)}.lc_btn__type_primary_readonly_00LoZ{color:#c0c4cc!important;cursor:default!important;pointer-events:none!important}.lc_btn__type_danger_gkXRv{background-color:#fd4f54;border-color:#fd4f54;color:#fff}.lc_btn__type_danger_gkXRv:hover{background-color:#fd7978;border-color:#fd7978}.lc_btn__type_danger_disabled_jGcWp{background-color:#d9d9d9!important;border-color:#d9d9d9!important;color:#bfbfbf!important;cursor:default!important}.lc_btn__type_danger_readonly_1Goq6{color:#c0c4cc!important}.lc_btn__type_danger_readonly_1Goq6,.lc_btn__type_forbidden_HIA83{cursor:default!important;pointer-events:none!important}.lc_btn__type_forbidden_HIA83{background-color:#c4c4c5!important;border-color:#c4c4c5!important;color:#fff!important}");d9e=d9e.join("");kli.exports={uuid:"f770d371-5ce3-48e4-ad98-50d962a7b690",locals:{lc_btn:"lc_btn_hCDak",lc_btn__type_text:"lc_btn__type_text_AQxOR",lc_btn__type_default:"lc_btn__type_default_1e9FJ",lc_btn__type_default_disabled:"lc_btn__type_default_disabled_zWib3",lc_btn__type_default_readonly:"lc_btn__type_default_readonly_5bj3M",lc_btn__type_primary:"lc_btn__type_primary_sIPu0",lc_btn__type_primary_disabled:"lc_btn__type_primary_disabled_rjDZo",lc_btn__type_primary_readonly:"lc_btn__type_primary_readonly_00LoZ",lc_btn__type_danger:"lc_btn__type_danger_gkXRv",lc_btn__type_danger_disabled:"lc_btn__type_danger_disabled_jGcWp",lc_btn__type_danger_readonly:"lc_btn__type_danger_readonly_1Goq6",lc_btn__type_forbidden:"lc_btn__type_forbidden_HIA83"},toString(){return d9e}}});var Rli=xe(u9e=>{"use strict";var psr=Se(),msr=Symbol.for("react.element"),hsr=Symbol.for("react.fragment"),fsr=Object.prototype.hasOwnProperty,gsr=psr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,bsr={key:!0,ref:!0,__self:!0,__source:!0};function Oli(t,e,i){var o,r={},n=null,a=null;i!==void 0&&(n=""+i),e.key!==void 0&&(n=""+e.key),e.ref!==void 0&&(a=e.ref);for(o in e)fsr.call(e,o)&&!bsr.hasOwnProperty(o)&&(r[o]=e[o]);if(t&&t.defaultProps)for(o in e=t.defaultProps,e)r[o]===void 0&&(r[o]=e[o]);return{$$typeof:msr,type:t,key:n,ref:a,props:r,_owner:gsr.current}}u9e.Fragment=hsr;u9e.jsx=Oli;u9e.jsxs=Oli});var z=xe((eTn,_li)=>{"use strict";_li.exports=Rli()});var Uli=xe((uTn,Fli)=>{var p9e=[];p9e.push(".lc-tips-modal_-fWlM{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;position:relative}.lc-tips-modal-content-body_HoRAU{line-height:20px;min-height:0!important;min-height:auto!important}.lc-tips-modal-footer_YkBHo{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;gap:8px;margin-top:16px}.lc-tips-modal_-fWlM a{color:#1890ff}.lc-tips-modal_-fWlM a:hover{color:#40a9ff}.lc-tips-modal_-fWlM a:visited{color:#1890ff}");p9e=p9e.join("");Fli.exports={uuid:"e06e2209-ffa8-4e49-8c27-9a05dfa5016f",locals:{"lc-tips-modal":"lc-tips-modal_-fWlM","lc-tips-modal-content-body":"lc-tips-modal-content-body_HoRAU","lc-tips-modal-footer":"lc-tips-modal-footer_YkBHo"},toString(){return p9e}}});var Hli=xe((pTn,Vli)=>{var m9e=[];m9e.push(".checkbox-label_GGx-t{-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;line-height:24px;position:relative;vertical-align:middle}.checkbox-label_GGx-t .input_8fWTL{left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.checkbox-label_GGx-t .checkbox-inner_219TS:before{margin-right:0}.checkbox-label_GGx-t .checkbox-text_QCEgC{color:var(--font-color-pop-up);display:inline-block;vertical-align:middle}.checkbox-label_GGx-t .checkbox-text_QCEgC:nth-child(3){margin-left:8px}");m9e=m9e.join("");Vli.exports={uuid:"aafd4436-50ae-449c-96cd-1a323f7ac4db",locals:{"checkbox-label":"checkbox-label_GGx-t",input:"input_8fWTL","checkbox-inner":"checkbox-inner_219TS","checkbox-text":"checkbox-text_QCEgC"},toString(){return m9e}}});var AU=xe((A5n,fci)=>{var T9e=[];T9e.push("li,ul{list-style:none;margin:0;outline:0;padding:0}.ctxmenu-container_EAjFS{font-size:12px;left:0;position:absolute;top:0;-webkit-transform:translateZ(5px);-moz-transform:translateZ(5px);transform:translateZ(5px);z-index:999999}.ctxmenu-container_EAjFS,.ctxmenu-container_EAjFS *{-moz-box-sizing:border-box;box-sizing:border-box}.ctxmenu-container_EAjFS *{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ctxmenu-container_EAjFS:focus{outline:0}.ctxmenu-container_EAjFS:focus-visible{outline:0}.ctxmenu-wrapper_QLNII{background-color:var(--bg-color-drop-down-menu);border:1px solid var(--border-color-panel-divider);border-radius:2px;box-shadow:1px 1px 4px rgba(0,0,0,-webkit-calc(var(--has-shadow-drop-down-menu)*0.2));box-shadow:1px 1px 4px rgba(0,0,0,-moz-calc(var(--has-shadow-drop-down-menu)*0.2));box-shadow:1px 1px 4px rgba(0,0,0,calc(var(--has-shadow-drop-down-menu)*.2));display:none;left:0;max-width:285px;min-width:185px;opacity:0;overflow-x:hidden;overflow-y:auto;overflow:hidden auto;padding:0;position:fixed;top:0;-webkit-transition-delay:.15s;-moz-transition-delay:.15s;transition-delay:.15s;-webkit-transition-duration:.3s;-moz-transition-duration:.3s;transition-duration:.3s;-webkit-transition-property:opacity,visibility;-moz-transition-property:opacity,visibility;transition-property:opacity,visibility;visibility:hidden}.ctxmenu-ulist_SfMxp{height:100%;width:100%}.ctxmenu-item_BAsxx{cursor:pointer;display:block;position:relative;white-space:nowrap}.ctxmenu-item-disabled_Evgyu{color:var(--font-color-disabled-drop-down-menuItem)!important;cursor:default!important}.ctxmenu-item-hover_sviV3{background-color:var(--bg-color-hover-drop-down-menuItem)}.ctxmenu-item-hover_sviV3 .content-text_YPWqC,.ctxmenu-item-hover_sviV3 .content-tips_3vJDg{color:var(--font-color-hover-drop-down-menuItem)!important}.ctxmenu-item_BAsxx .ctxmenu-content_FYoN-{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;font-size:12px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;line-height:28px;min-height:28px;overflow:hidden;padding:0 2px;text-align:left;white-space:nowrap;width:100%}.ctxmenu-item_BAsxx .ctxmenu-content_FYoN-::-moz-focus-inner{border:0;padding:0}.ctxmenu-item_BAsxx .ctxmenu-content_FYoN- .content-text_YPWqC{font-size:12px;min-width:100px;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.ctxmenu-item_BAsxx .ctxmenu-content_FYoN- .content-text-inns_jjdWX{overflow:hidden;text-overflow:ellipsis;-webkit-transform:translateY(1px);-moz-transform:translateY(1px);transform:translateY(1px);width:100%}.ctxmenu-item_BAsxx .ctxmenu-content_FYoN- .content-pretags_yTVpS{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;height:100%;width:28px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;justify-content:center}.ctxmenu-item_BAsxx .ctxmenu-content_FYoN- .content-tips_3vJDg{-webkit-flex-shrink:0;flex-shrink:0;font-size:12px;height:100%;min-width:55px;padding:0 5px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end}.ctxmenu-item_BAsxx .ctxmenu-content_FYoN- .content-tips-inns_5P42P{overflow:hidden;text-align:right;text-overflow:ellipsis;width:100%}.ctxmenu-item_BAsxx .ctxmenu-content_FYoN- .content-exts_--18c{-webkit-flex-shrink:0;flex-shrink:0;height:100%;width:15px}.ctxmenu-separator_RoAqN{background-color:var(--separator-color-drop-down-menu);display:block;height:1px;margin:0 2px}.ctxmenu-exts-icon_QaI2G{border:5px solid transparent;border-left:5px solid var(--font-color-drop-down-menuItem);display:inline-block;height:0;position:relative;width:0}.ctxmenu-checktags-icon_Bgylq{height:19px;overflow:hidden;width:19px}.ctxmenu-prep-icon_Uq0Ot{background-position:50%;background-repeat:no-repeat;background-size:13px 13px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:18px;image-rendering:optimizespeed;overflow:hidden;width:18px}.ctxmenu-setting-bottom_cbjg9{bottom:0}.ctxmenu-setting-right_koKon{right:0}.ctxmenu-setting-left_RSYVP{left:0}.ctxmenu-setting-top_N91uE{top:0}.ctxmenu-show-menu_qLN9Y{display:block;opacity:1;pointer-events:auto;visibility:visible;z-index:999}");T9e=T9e.join("");fci.exports={uuid:"1f967f1b-67d4-42f8-bc85-1d79b97b165b",locals:{"ctxmenu-container":"ctxmenu-container_EAjFS","ctxmenu-wrapper":"ctxmenu-wrapper_QLNII","ctxmenu-ulist":"ctxmenu-ulist_SfMxp","ctxmenu-item":"ctxmenu-item_BAsxx","ctxmenu-item-disabled":"ctxmenu-item-disabled_Evgyu","ctxmenu-item-hover":"ctxmenu-item-hover_sviV3","content-text":"content-text_YPWqC","content-tips":"content-tips_3vJDg","ctxmenu-content":"ctxmenu-content_FYoN-","content-text-inns":"content-text-inns_jjdWX","content-pretags":"content-pretags_yTVpS","content-tips-inns":"content-tips-inns_5P42P","content-exts":"content-exts_--18c","ctxmenu-separator":"ctxmenu-separator_RoAqN","ctxmenu-exts-icon":"ctxmenu-exts-icon_QaI2G","ctxmenu-checktags-icon":"ctxmenu-checktags-icon_Bgylq","ctxmenu-prep-icon":"ctxmenu-prep-icon_Uq0Ot","ctxmenu-setting-bottom":"ctxmenu-setting-bottom_cbjg9","ctxmenu-setting-right":"ctxmenu-setting-right_koKon","ctxmenu-setting-left":"ctxmenu-setting-left_RSYVP","ctxmenu-setting-top":"ctxmenu-setting-top_N91uE","ctxmenu-show-menu":"ctxmenu-show-menu_qLN9Y"},toString(){return T9e}}});var _Ce=xe((oSn,Eci)=>{var M9e=[];M9e.push('#basic-library{height:100%}#basicLibrarySearch_wuItV{padding:4px 4px 0}#basic-library_OuV7i{height:100%}.basic-library-wrapper_8Ow3U{color:var(--common-font-color);height:100%}@-webkit-keyframes rotation_-Uw0P{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@-moz-keyframes rotation_-Uw0P{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes rotation_-Uw0P{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}.basic-library-wrapper_8Ow3U .rotate_hStFG{-webkit-animation:rotation_-Uw0P .8s linear infinite;-moz-animation:rotation_-Uw0P .8s linear infinite;animation:rotation_-Uw0P .8s linear infinite;-webkit-transform:rotate(1turn);-moz-transform:rotate(1turn);transform:rotate(1turn)}.basic-library-wrapper_8Ow3U .flex_JK9NL{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.basic-library-wrapper_8Ow3U .basic-context-wrap_eQAdN{display:none;height:-webkit-calc(100% - 92px);height:-moz-calc(100% - 92px);height:calc(100% - 92px)}.basic-library-wrapper_8Ow3U .basic-context-wrap_eQAdN.show_FOFif{display:block}.basic-library-wrapper_8Ow3U .libType-context-wrap_58CDx{border-top:1px solid var(--border-color-panel-tab);height:100%;overflow:auto}.basic-library-wrapper_8Ow3U .libType-tab-wrap_uomJK{background:var(--bg-color-panel-tab);border-bottom:1px solid var(--border-color-panel-tab);margin-left:-3px;margin-top:-1px}.basic-library-wrapper_8Ow3U .basic-lib-wrap_xy4sh{-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;padding:4px 6px}.basic-library-wrapper_8Ow3U .basic-lib-wrap_xy4sh .tabbar_aeTxQ a{cursor:pointer}.basic-library-wrapper_8Ow3U .basic-lib-wrap_xy4sh .basic-lib-page-size_7oaEr{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.basic-library-wrapper_8Ow3U .basic-lib-wrap_xy4sh .basic-lib-page-size_7oaEr select{margin:0 4px;width:40px!important}.basic-library-wrapper_8Ow3U .basic-lib-wrap_xy4sh .basic-lib-page-size_7oaEr .refresh-basic-library_bHUzY{background-position:50%;background-size:14px 14px;cursor:pointer;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:16px;margin:0 4px;width:16px}.basic-library-wrapper_8Ow3U .basic-lib-wrap_xy4sh .basic-lib-page-size_7oaEr .open-basic-setting_eqhUn{cursor:pointer;height:16px;margin-left:4px;width:16px}.basic-library-wrapper_8Ow3U .libitems_5HzHl{border-top:1px solid var(--border-color-drop-down-menu);font-size:0;height:-webkit-calc(100% - 68px);height:-moz-calc(100% - 68px);height:calc(100% - 68px);list-style:none;margin:0;overflow:auto;padding:0}.basic-library-wrapper_8Ow3U .libgroupcaption_oKR29{border-bottom:1px solid var(--border-color-drop-down-menu);border-top:1px solid var(--border-color-drop-down-menu);display:block;font-size:10pt;margin-top:-1px;overflow:hidden;padding:5px 10px;text-overflow:ellipsis;white-space:nowrap;width:100%}.basic-library-wrapper_8Ow3U .libitem_m7as-{border-bottom:1px solid var(--common-border-color-2);border-right:1px solid var(--common-border-color-2);cursor:pointer;display:inline-block;font-size:10pt;margin:0;padding-bottom:calc(50% - 1px);position:relative;width:50%}.basic-library-wrapper_8Ow3U .libitem_m7as-:hover{background-color:var(--bg-color-libary-hover)}.basic-library-wrapper_8Ow3U .libitem_m7as-.filterHide_hnqxS{display:none}.basic-library-wrapper_8Ow3U .libitem_m7as- select{padding:0 20px 0 0!important;-webkit-padding-end:20px!important;-webkit-padding-start:4px!important;-moz-padding-end:20px!important;-moz-padding-start:4px!important;border-bottom:initial!important;border-left:initial!important;border-radius:0!important;border-radius:initial!important;border-right:initial!important;overflow:hidden;text-overflow:Ellipsis;white-space:nowrap;width:100%}.basic-library-wrapper_8Ow3U .libitem_m7as- select:nth-child(2n){margin-left:-1px}.basic-library-wrapper_8Ow3U .libitem_m7as- select.isOnlyOneOption_1iN1i{background:transparent none repeat 0 0/auto auto padding-box border-box scroll;background:initial;padding-right:8px!important}.basic-library-wrapper_8Ow3U .libitem_m7as- .title_-IwfV{border-top:1px solid var(--common-border-color-1);font-size:12px;height:24px;line-height:24px;overflow:hidden;padding:0 8px 0 4px!important;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%}.basic-library-wrapper_8Ow3U .libitem_m7as- .content_cmV7m{height:100%;overflow:hidden;text-overflow:ellipsis;width:100%}.basic-library-wrapper_8Ow3U .libitem_m7as- .content_cmV7m.content_cmV7m{cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-webkit-flex-flow:wrap;flex-flow:wrap;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;position:absolute}.basic-library-wrapper_8Ow3U .libitem_m7as- .content_cmV7m.content_cmV7m img:not([src]),.basic-library-wrapper_8Ow3U .libitem_m7as- .content_cmV7m.content_cmV7m img[src=""]{opacity:0}.basic-library-wrapper_8Ow3U .libitem_m7as- .content_cmV7m.title_-IwfV{visibility:hidden}.basic-library-wrapper_8Ow3U .dropdown-wrap_YNezQ .dropdown_ZKped{background:#fff;background:#cfddff;border:1px solid #58f;border-radius:2px;bottom:31px;display:block;height:15px;position:absolute;right:6px;width:15px;z-index:99}.basic-library-wrapper_8Ow3U .dropdown-wrap_YNezQ .dropdown_ZKped:hover :after{border-top:4px solid #fff}.basic-library-wrapper_8Ow3U .dropdown-wrap_YNezQ .dropdown_ZKped:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #58f;content:"";left:50%;margin-left:-4px;margin-top:-1px;position:absolute;top:50%}.basic-library-wrapper_8Ow3U .libitem_m7as-:hover>div.dropdown_ZKped{display:block}.basic-library-wrapper_8Ow3U .libitem_m7as->div>img,.basic-library-wrapper_8Ow3U .libitem_m7as->div>svg{height:-webkit-calc(100% - 25px);height:-moz-calc(100% - 25px);height:calc(100% - 25px);object-fit:contain;width:100%;z-index:99}.basic-library-wrapper_8Ow3U .libitem_m7as-.last_eB-pT span.title_-IwfV{margin-top:-16px}.basic-library-wrapper_8Ow3U li span.title_-IwfV{text-overflow:ellipsis;white-space:nowrap}.basic-library-wrapper_8Ow3U .lib-loading-wrap_D3rKY{background:#fff;display:none;height:100%;height:-webkit-calc(100% - 40px);height:-moz-calc(100% - 40px);height:calc(100% - 40px);overflow:hidden;position:absolute;top:60px;width:100%;z-index:99}.basic-library-wrapper_8Ow3U .lib-loading-wrap_D3rKY span{bottom:0;display:block;height:100px;left:0;margin:auto;position:absolute;right:0;top:0;width:100px}');M9e=M9e.join("");Eci.exports={uuid:"75c4ab5a-2409-4cf9-a710-4b8c9bbf8f12",locals:{basicLibrarySearch:"basicLibrarySearch_wuItV","basic-library":"basic-library_OuV7i","basic-library-wrapper":"basic-library-wrapper_8Ow3U",rotate:"rotate_hStFG",rotation:"rotation_-Uw0P",flex:"flex_JK9NL","basic-context-wrap":"basic-context-wrap_eQAdN",show:"show_FOFif","libType-context-wrap":"libType-context-wrap_58CDx","libType-tab-wrap":"libType-tab-wrap_uomJK","basic-lib-wrap":"basic-lib-wrap_xy4sh",tabbar:"tabbar_aeTxQ","basic-lib-page-size":"basic-lib-page-size_7oaEr","refresh-basic-library":"refresh-basic-library_bHUzY","open-basic-setting":"open-basic-setting_eqhUn",libitems:"libitems_5HzHl",libgroupcaption:"libgroupcaption_oKR29",libitem:"libitem_m7as-",filterHide:"filterHide_hnqxS",isOnlyOneOption:"isOnlyOneOption_1iN1i",title:"title_-IwfV",content:"content_cmV7m","dropdown-wrap":"dropdown-wrap_YNezQ",dropdown:"dropdown_ZKped",last:"last_eB-pT","lib-loading-wrap":"lib-loading-wrap_D3rKY"},toString(){return M9e}}});var Wbt=xe((fSn,Aci)=>{var G9e=[];G9e.push('.tabsWrap_vqNPl{z-index:9}.tabsWrap_vqNPl,.tabsWrap_vqNPl .tabItem_IKRIi{-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;position:relative}.tabsWrap_vqNPl .tabItem_IKRIi{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;cursor:pointer;justify-content:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tabsWrap_vqNPl .icon_ZXvzw{display:inline-block;height:18px;width:18px}.tabsWrap_vqNPl.bottom_nZYHG,.tabsWrap_vqNPl.top_uIWvr{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row}.tabsWrap_vqNPl.bottom_nZYHG.tail_PO9sP,.tabsWrap_vqNPl.top_uIWvr.tail_PO9sP{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;flex-direction:row-reverse}.tabsWrap_vqNPl.bottom_nZYHG.head_6IZRW,.tabsWrap_vqNPl.top_uIWvr.head_6IZRW{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row}.tabsWrap_vqNPl.left_pTa21,.tabsWrap_vqNPl.right_QOcFj{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.tabsWrap_vqNPl.left_pTa21.tail_PO9sP,.tabsWrap_vqNPl.right_QOcFj.tail_PO9sP{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.tabsWrap_vqNPl.left_pTa21.head_6IZRW,.tabsWrap_vqNPl.right_QOcFj.head_6IZRW{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.tabsWrap_vqNPl.tabBtn_7dKEc{height:24px;line-height:24px}.tabsWrap_vqNPl.tabBtn_7dKEc .tabItem_IKRIi{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);cursor:pointer;height:100%;padding:0 8px;text-align:center;white-space:nowrap}.tabsWrap_vqNPl.tabBtn_7dKEc .tabItem_IKRIi:first-child{border-radius:2px 0 0 2px}.tabsWrap_vqNPl.tabBtn_7dKEc .tabItem_IKRIi.active_GBEcy{background:var(--bg-color-selected-panel-tab);color:#1890ff}.tabsWrap_vqNPl.tabCard_GmPpZ{margin-bottom:-1px}.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi{background-color:var(--bg-color-tab);border:1px solid var(--border-color-panel-tab);color:var(--font-color-tab);cursor:pointer;font-size:12px;min-width:72px;padding:3px 0;text-align:center}.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.active_GBEcy{background-color:var(--bg-color-selected-panel-tab);color:var(--font-color-selected-tab);font-weight:bolder}.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.top_uIWvr{margin-right:-1px}.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.top_uIWvr.active_GBEcy{border-bottom:0}.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.top_uIWvr.show-line_V3tWy:before{border-top:3px solid #1890ff;content:"";height:0;left:0;position:absolute;top:0;width:100%}.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.bottom_nZYHG{margin-right:-1px}.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.bottom_nZYHG.active_GBEcy{border-top:0}.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.left_pTa21,.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.right_QOcFj{letter-spacing:1px;min-width:0;min-width:auto;width:24px}.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.left_pTa21,.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.left_pTa21 .title_5EUXA,.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.right_QOcFj,.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.right_QOcFj .title_5EUXA{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.left_pTa21 .title_5EUXA,.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.right_QOcFj .title_5EUXA{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.left_pTa21{margin-bottom:-1px;margin-right:0;padding:8px 2px 8px 0}.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.left_pTa21.active_GBEcy{border-right:0}.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.right_QOcFj{margin-bottom:-1px;margin-right:0;padding:8px 2px 8px 0}.tabsWrap_vqNPl.tabCard_GmPpZ .tabItem_IKRIi.right_QOcFj.active_GBEcy{border-left:0}.tabsWrap_vqNPl.tabPanel_mOJir{height:100%;width:100%}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi{background-color:var(--bg-color-panel-tab);border:1px solid var(--border-color-panel-tab);color:var(--common-font-color);cursor:pointer;font-size:12px;padding:3px 18px;text-align:center}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi .title_5EUXA{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi .icon-del_X8V4i{cursor:pointer;display:none;height:12px;position:absolute;width:12px}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi .icon-del_X8V4i:before{content:"\\ea4e"}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi:hover{background-color:var(--bg-color-hover-panel-tab);color:var(--font-color-hover-panel-tab)}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi:hover .icon-del_X8V4i{display:inline-block!important}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.active_GBEcy{background-color:var(--bg-color-selected-panel-tab);color:var(--font-color-selected-panel-tab);font-weight:bolder;letter-spacing:.5px}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.top_uIWvr{border-bottom:none;border-top:none;height:100%;margin-right:-1px;padding:0 8px;position:relative}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.top_uIWvr:first-child{border-left:none}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.top_uIWvr.active_GBEcy{height:-webkit-calc(100% + 1px);height:-moz-calc(100% + 1px);height:calc(100% + 1px);padding-bottom:1px}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.top_uIWvr.show-line_V3tWy:before{border-top:3px solid #1890ff;content:"";height:0;left:0;position:absolute;top:0;width:100%}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.bottom_nZYHG{border-top:none;height:100%;margin-right:-1px;padding:0 18px;position:relative}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.bottom_nZYHG.active_GBEcy{height:-webkit-calc(100% + 1px);height:-moz-calc(100% + 1px);height:calc(100% + 1px);margin-top:-1px}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.bottom_nZYHG.show-line_V3tWy:before{border-bottom:3px solid #1890ff;bottom:0;content:"";height:0;left:0;position:absolute;width:100%}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.left_pTa21,.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.right_QOcFj{margin-bottom:-1px;min-width:0;min-width:auto;width:100%}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.left_pTa21,.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.left_pTa21 .title_5EUXA,.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.right_QOcFj,.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.right_QOcFj .title_5EUXA{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.left_pTa21 .title_5EUXA,.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.right_QOcFj .title_5EUXA{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.left_pTa21{border-right:none;padding:8px 0;position:relative}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.left_pTa21.active_GBEcy{padding-right:1px;width:-webkit-calc(100% + 1px);width:-moz-calc(100% + 1px);width:calc(100% + 1px)}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.left_pTa21.show-line_V3tWy:before{border-left:3px solid #1890ff;content:"";height:100%;left:0;position:absolute;top:0;width:0}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.right_QOcFj{border-left:none;margin-right:0;padding:8px 4px 8px 0;position:relative}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.right_QOcFj.active_GBEcy{margin-left:-1px;width:-webkit-calc(100% + 1px);width:-moz-calc(100% + 1px);width:calc(100% + 1px)}.tabsWrap_vqNPl.tabPanel_mOJir .tabItem_IKRIi.right_QOcFj.show-line_V3tWy:before{border-right:3px solid #1890ff;content:"";height:100%;position:absolute;right:0;top:0;width:0}.tabsWrap_vqNPl.tabPanel_mOJir.top_uIWvr{border-bottom:1px solid var(--border-color-panel-tab)}.tabsWrap_vqNPl.tabPanel_mOJir.top_uIWvr .tabItem_IKRIi .title_5EUXA.delete_Mx3R2{width:-webkit-calc(100% - 23px);width:-moz-calc(100% - 23px);width:calc(100% - 23px)}.tabsWrap_vqNPl.tabPanel_mOJir.top_uIWvr .tabItem_IKRIi .icon_ZXvzw{margin-right:5px}.tabsWrap_vqNPl.tabPanel_mOJir.top_uIWvr .tabItem_IKRIi .icon-del_X8V4i{right:5px;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);transform:translateY(-50%)}.tabsWrap_vqNPl.tabPanel_mOJir.bottom_nZYHG{background-color:var(--bg-color-panel-tabs-bottom);border-top:1px solid var(--border-color-panel-tab);padding:0 4px 4px}.tabsWrap_vqNPl.tabPanel_mOJir.bottom_nZYHG .tabItem_IKRIi .icon_ZXvzw{margin-right:5px}.tabsWrap_vqNPl.tabPanel_mOJir.bottom_nZYHG .tabItem_IKRIi .icon-del_X8V4i{right:5px;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);transform:translateY(-50%)}.tabsWrap_vqNPl.tabPanel_mOJir.bottom_nZYHG .tabItem_IKRIi[data-tab-key=comparison-result] .icon-del_X8V4i{right:0}.tabsWrap_vqNPl.tabPanel_mOJir.left_pTa21{border-right:1px solid var(--border-color-panel-tab);padding:4px 0 4px 4px}.tabsWrap_vqNPl.tabPanel_mOJir.left_pTa21 .tabItem_IKRIi .title_5EUXA{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.tabsWrap_vqNPl.tabPanel_mOJir.left_pTa21 .tabItem_IKRIi .icon_ZXvzw{margin-bottom:5px}.tabsWrap_vqNPl.tabPanel_mOJir.left_pTa21 .tabItem_IKRIi .icon-del_X8V4i{bottom:0;left:50%;-webkit-transform:translate(-50%);-moz-transform:translate(-50%);transform:translate(-50%)}.tabsWrap_vqNPl.tabPanel_mOJir.right_QOcFj{border-left:1px solid var(--border-color-panel-tab);padding:4px 4px 4px 0}.tabsWrap_vqNPl.tabPanel_mOJir.right_QOcFj .tabItem_IKRIi .title_5EUXA{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.tabsWrap_vqNPl.tabPanel_mOJir.right_QOcFj .tabItem_IKRIi .icon_ZXvzw{margin-bottom:5px}.tabsWrap_vqNPl.tabPanel_mOJir.right_QOcFj .tabItem_IKRIi .icon-del_X8V4i{bottom:5px;left:50%;-webkit-transform:translate(-50%);-moz-transform:translate(-50%);transform:translate(-50%)}.tabsWrap_vqNPl.tabPage_Bfhk4{position:relative}.tabsWrap_vqNPl.tabPage_Bfhk4 .tabItem_IKRIi{background:var(--bg-color-tab);color:var(--font-color-tab);cursor:default;-webkit-flex-shrink:1;flex-shrink:1;font-size:12px;font-weight:400;line-height:30px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tabsWrap_vqNPl.tabPage_Bfhk4 .tabItem_IKRIi .title_5EUXA{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:keep-all}.tabsWrap_vqNPl.tabPage_Bfhk4 .tabItem_IKRIi:hover{background-color:var(--bg-color-hover-tab);color:var(--font-color-hover-tab)}.tabsWrap_vqNPl.tabPage_Bfhk4 .tabItem_IKRIi:hover .icon-del_X8V4i{display:inline-block!important}.tabsWrap_vqNPl.tabPage_Bfhk4 .tabItem_IKRIi.active_GBEcy{background:var(--common-bg-color)}.tabsWrap_vqNPl.tabPage_Bfhk4 .tabItem_IKRIi.active_GBEcy .title_5EUXA{color:var(--common-selected-font-color)}.tabsWrap_vqNPl.tabPage_Bfhk4 .tabItem_IKRIi.high-light_eefIY{background-color:var(--bg-color-selected-panel-tab)!important}.tabsWrap_vqNPl.tabPage_Bfhk4 .tabItem_IKRIi .notSave_bVypT{font-family:verdana,serif}.tabsWrap_vqNPl.tabPage_Bfhk4 .tabItem_IKRIi .icon-del_X8V4i{cursor:pointer;display:none;height:12px;position:absolute;width:12px}.tabsWrap_vqNPl.tabPage_Bfhk4 .tabItem_IKRIi .icon-del_X8V4i:before{content:"\\ea4e"}.tabsWrap_vqNPl.tabPage_Bfhk4.bottom_nZYHG,.tabsWrap_vqNPl.tabPage_Bfhk4.top_uIWvr{height:100%;width:100%}.tabsWrap_vqNPl.tabPage_Bfhk4.bottom_nZYHG .tabItem_IKRIi,.tabsWrap_vqNPl.tabPage_Bfhk4.top_uIWvr .tabItem_IKRIi{min-width:80px;padding:0 8px;width:160px;-webkit-box-pack:normal;-webkit-justify-content:normal;-moz-box-pack:normal;border-right:1px solid var(--border-color-tab);justify-content:normal}.tabsWrap_vqNPl.tabPage_Bfhk4.bottom_nZYHG .tabItem_IKRIi .title_5EUXA,.tabsWrap_vqNPl.tabPage_Bfhk4.top_uIWvr .tabItem_IKRIi .title_5EUXA{width:-webkit-calc(100% - 23px);width:-moz-calc(100% - 23px);width:calc(100% - 23px)}.tabsWrap_vqNPl.tabPage_Bfhk4.bottom_nZYHG .tabItem_IKRIi .icon_ZXvzw,.tabsWrap_vqNPl.tabPage_Bfhk4.top_uIWvr .tabItem_IKRIi .icon_ZXvzw{margin-right:5px}.tabsWrap_vqNPl.tabPage_Bfhk4.bottom_nZYHG .tabItem_IKRIi .icon-del_X8V4i,.tabsWrap_vqNPl.tabPage_Bfhk4.top_uIWvr .tabItem_IKRIi .icon-del_X8V4i{right:5px;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);transform:translateY(-50%)}.tabsWrap_vqNPl.tabPage_Bfhk4.bottom_nZYHG.top_uIWvr,.tabsWrap_vqNPl.tabPage_Bfhk4.top_uIWvr.top_uIWvr{border-bottom:1px solid var(--border-bottom-color-tabs)}.tabsWrap_vqNPl.tabPage_Bfhk4.bottom_nZYHG.bottom_nZYHG,.tabsWrap_vqNPl.tabPage_Bfhk4.top_uIWvr.bottom_nZYHG{border-top:1px solid var(--border-bottom-color-tabs)}.tabsWrap_vqNPl.tabPage_Bfhk4.left_pTa21,.tabsWrap_vqNPl.tabPage_Bfhk4.right_QOcFj{height:100%;width:100%}.tabsWrap_vqNPl.tabPage_Bfhk4.left_pTa21 .tabItem_IKRIi,.tabsWrap_vqNPl.tabPage_Bfhk4.right_QOcFj .tabItem_IKRIi{height:160px;min-height:80px;padding:8px 0;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;border-bottom:1px solid var(--border-color-panel-tab);justify-content:center}.tabsWrap_vqNPl.tabPage_Bfhk4.left_pTa21 .tabItem_IKRIi,.tabsWrap_vqNPl.tabPage_Bfhk4.left_pTa21 .tabItem_IKRIi .title_5EUXA,.tabsWrap_vqNPl.tabPage_Bfhk4.right_QOcFj .tabItem_IKRIi,.tabsWrap_vqNPl.tabPage_Bfhk4.right_QOcFj .tabItem_IKRIi .title_5EUXA{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.tabsWrap_vqNPl.tabPage_Bfhk4.left_pTa21 .tabItem_IKRIi .title_5EUXA,.tabsWrap_vqNPl.tabPage_Bfhk4.right_QOcFj .tabItem_IKRIi .title_5EUXA{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-calc(100% - 23px);height:-moz-calc(100% - 23px);height:calc(100% - 23px)}.tabsWrap_vqNPl.tabPage_Bfhk4.left_pTa21 .tabItem_IKRIi .icon_ZXvzw,.tabsWrap_vqNPl.tabPage_Bfhk4.right_QOcFj .tabItem_IKRIi .icon_ZXvzw{margin-bottom:5px}.tabsWrap_vqNPl.tabPage_Bfhk4.left_pTa21 .tabItem_IKRIi .icon-del_X8V4i,.tabsWrap_vqNPl.tabPage_Bfhk4.right_QOcFj .tabItem_IKRIi .icon-del_X8V4i{bottom:5px;left:50%;-webkit-transform:translate(-50%);-moz-transform:translate(-50%);transform:translate(-50%)}.tabsWrap_vqNPl.tabPage_Bfhk4.left_pTa21.left_pTa21,.tabsWrap_vqNPl.tabPage_Bfhk4.right_QOcFj.left_pTa21{border-right:1px solid var(--border-color-panel-tab)}.tabsWrap_vqNPl.tabPage_Bfhk4.left_pTa21.right_QOcFj,.tabsWrap_vqNPl.tabPage_Bfhk4.right_QOcFj.right_QOcFj{border-left:1px solid var(--border-color-panel-tab)}.tabsWrap_vqNPl.tabNormal_RGtbK .tabItem_IKRIi{border-right:1px solid var(--border-color-panel-divider);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;line-height:16px;margin:7px 0 5px;padding:0 12px;text-align:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:var(--common-font-color);text-decoration:none}.tabsWrap_vqNPl.tabNormal_RGtbK .tabItem_IKRIi.active_GBEcy{color:#1890ff;font-weight:bolder}.tabsWrap_vqNPl.tabNormal_RGtbK .tabItem_IKRIi:last-child{border:none}.tabsWrap_vqNPl .drag-border-left_HpkDm{position:relative}.tabsWrap_vqNPl .drag-border-left_HpkDm:before{left:-1.5px}.tabsWrap_vqNPl .drag-border-left_HpkDm:before,.tabsWrap_vqNPl .drag-border-right_5Dmce:before{background-color:#1890ff;content:"";height:100%;position:absolute;top:0;width:3px}.tabsWrap_vqNPl .drag-border-right_5Dmce:before{right:-1px}.tabsWrap_vqNPl .drag-border-top_tJAAF:before{top:-1.5px}.tabsWrap_vqNPl .drag-border-bottom_WPz7w:before,.tabsWrap_vqNPl .drag-border-top_tJAAF:before{background-color:#1890ff;content:"";height:3px;left:0;position:absolute;width:100%}.tabsWrap_vqNPl .drag-border-bottom_WPz7w:before{bottom:-1px}');G9e=G9e.join("");Aci.exports={uuid:"227ce333-2469-4b8d-b948-3d6ae4d74ce5",locals:{tabsWrap:"tabsWrap_vqNPl",tabItem:"tabItem_IKRIi",icon:"icon_ZXvzw",bottom:"bottom_nZYHG",top:"top_uIWvr",tail:"tail_PO9sP",head:"head_6IZRW",left:"left_pTa21",right:"right_QOcFj",tabBtn:"tabBtn_7dKEc",active:"active_GBEcy",tabCard:"tabCard_GmPpZ","show-line":"show-line_V3tWy",title:"title_5EUXA",tabPanel:"tabPanel_mOJir","icon-del":"icon-del_X8V4i",delete:"delete_Mx3R2",tabPage:"tabPage_Bfhk4","high-light":"high-light_eefIY",notSave:"notSave_bVypT",tabNormal:"tabNormal_RGtbK","drag-border-left":"drag-border-left_HpkDm","drag-border-right":"drag-border-right_5Dmce","drag-border-top":"drag-border-top_tJAAF","drag-border-bottom":"drag-border-bottom_WPz7w"},toString(){return G9e}}});var Rci=xe((kSn,Oci)=>{var Y9e=[];Y9e.push(".input_LMIeb{-moz-appearance:textfield;border:1px solid #d9d9d9;border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:#333;font-family:Microsoft YaHei;font-size:12px;height:24px;padding:0 8px;-webkit-user-select:text;-moz-user-select:text;user-select:text;width:100%}.input_LMIeb:focus{border-color:#1890ff;color:#333;outline:0}");Y9e=Y9e.join("");Oci.exports={uuid:"63d40da6-636c-4c80-9d7d-a3e0818be4bb",locals:{input:"input_LMIeb"},toString(){return Y9e}}});var Uci=xe((GSn,Fci)=>{var W9e=[];W9e.push(".list_mrl7M{max-width:100%;overflow-x:hidden;overflow-y:auto;position:relative;white-space:nowrap}.list_mrl7M li{color:var(--font-color-panel-tab);cursor:pointer;line-height:16px;overflow:hidden;padding:4px;text-overflow:ellipsis}.list_mrl7M li.selected_Ajsnn{background-color:var(--bg-color-selected-drop-down-menuItem);color:var(--font-color-selected-panel-tab)}");W9e=W9e.join("");Fci.exports={uuid:"550403a5-5f80-46a3-ad2c-01f063d9c444",locals:{list:"list_mrl7M",selected:"selected_Ajsnn"},toString(){return W9e}}});var Hci=xe((eMn,Vci)=>{var xs=[];xs.push(".list_operator_buttons_lYFvy .icon_operate_Bbj68{background-repeat:no-repeat;background-size:100%;cursor:pointer;display:inline-block;height:16px;margin:0 4px;width:16px}.list_operator_buttons_lYFvy .icon_operate_Bbj68:first-child{margin-left:0}.list_operator_buttons_lYFvy .disabled_Js3zx{cursor:not-allowed}.list_operator_buttons_lYFvy .icon_operate_add_Lkr6Q{background-image:");xs.push("url(");xs.push(JSON.stringify(u9()));xs.push(")");xs.push(";background-position:50%;background-size:130%}.list_operator_buttons_lYFvy .icon_operate_add_Lkr6Q.disabled_Js3zx{background-image:");xs.push("url(");xs.push(JSON.stringify(VR()));xs.push(")");xs.push(";background-position:50%;background-size:130%}.list_operator_buttons_lYFvy .icon_operate_copy_aCfVQ{background-image:");xs.push("url(");xs.push(JSON.stringify(I3e()));xs.push(")");xs.push(";background-position:50%;background-size:130%}.list_operator_buttons_lYFvy .icon_operate_copy_aCfVQ.disabled_Js3zx{background-image:");xs.push("url(");xs.push(JSON.stringify(YAe()));xs.push(")");xs.push(";background-position:50%;background-size:130%}.list_operator_buttons_lYFvy .icon_operate_up_WPCaJ{background-image:");xs.push("url(");xs.push(JSON.stringify(ede()));xs.push(")");xs.push("}.list_operator_buttons_lYFvy .icon_operate_up_WPCaJ.disabled_Js3zx{background-image:");xs.push("url(");xs.push(JSON.stringify(N3e()));xs.push(")");xs.push("}.list_operator_buttons_lYFvy .icon_operate_down_fL9O5{background-image:");xs.push("url(");xs.push(JSON.stringify(tde()));xs.push(")");xs.push(";background-position-y:1px}.list_operator_buttons_lYFvy .icon_operate_down_fL9O5.disabled_Js3zx{background-image:");xs.push("url(");xs.push(JSON.stringify(k3e()));xs.push(")");xs.push(";background-position-y:1px}.list_operator_buttons_lYFvy .icon_operate_delete_OpLVY{background-image:");xs.push("url(");xs.push(JSON.stringify(p9()));xs.push(")");xs.push(";background-position:50%;background-size:130%}.list_operator_buttons_lYFvy .icon_operate_delete_OpLVY.disabled_Js3zx{background-image:");xs.push("url(");xs.push(JSON.stringify(m9()));xs.push(")");xs.push(";background-position:center -2px;background-size:140%}.list_operator_buttons_lYFvy .icon_operate_clear_g8Rzk{background-image:");xs.push("url(");xs.push(JSON.stringify(WAe()));xs.push(")");xs.push(";background-position:50%;background-size:130%}.list_operator_buttons_lYFvy .icon_operate_clear_g8Rzk.disabled_Js3zx{background-image:");xs.push("url(");xs.push(JSON.stringify(QAe()));xs.push(")");xs.push(";background-position:center -2px;background-size:140%}");xs=xs.join("");Vci.exports={uuid:"91910d45-3166-4fd5-aa6a-a5b214bbc2d4",locals:{list_operator_buttons:"list_operator_buttons_lYFvy",icon_operate:"icon_operate_Bbj68",disabled:"disabled_Js3zx",icon_operate_add:"icon_operate_add_Lkr6Q",icon_operate_copy:"icon_operate_copy_aCfVQ",icon_operate_up:"icon_operate_up_WPCaJ",icon_operate_down:"icon_operate_down_fL9O5",icon_operate_delete:"icon_operate_delete_OpLVY",icon_operate_clear:"icon_operate_clear_g8Rzk"},toString(){return xs}}});var eyt=xe((sMn,Wci)=>{var K9e=[];K9e.push(".content_yOHau{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.content_yOHau .list_gpn6B{width:20%;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;border:1px solid var(--common-border-color);border-right:none;border-top:none;display:inline-block;flex:1;position:relative}.content_yOHau .list_gpn6B .all_SY38h{cursor:pointer;display:block;height:24px;line-height:16px;padding:4px;text-overflow:ellipsis}.content_yOHau .table_-KU48{border:1px solid var(--common-border-color);display:inline-block;height:495px;padding:0 16px;width:80%}");K9e=K9e.join("");Wci.exports={uuid:"41011b78-47d8-4658-80a1-5fadc2d3c7bb",locals:{content:"content_yOHau",list:"list_gpn6B",all:"all_SY38h",table:"table_-KU48"},toString(){return K9e}}});var E8=xe((SMn,Jci)=>{var Z9e=[];Z9e.push('.main-container_USTHK{min-height:480px}.liblist-section_uaTJO{margin-right:5px;overflow:auto;width:-webkit-calc(50% - 5px);width:-moz-calc(50% - 5px);width:calc(50% - 5px)}.category-section_wsRg1,.liblist-section_uaTJO{-webkit-flex-shrink:0;flex-shrink:0}.category-section_wsRg1{height:100%;overflow:hidden;position:relative;width:50%}.component-search-section_Naa5q{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:30px;padding:0 0 5px;width:100%}.filter-section_NaNP-{min-height:239px;width:100%}.detail-section_Fr8Ag,.table-section_dP4ul{width:100%;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;overflow:hidden;position:relative}.detail-section_Fr8Ag{padding-left:5px}.component-preview-section_1j777{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:237px;padding-top:8px;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 237px;-moz-box-flex:0;flex:0 0 237px}@media (max-height:760px){.component-preview-section_1j777{height:150px;-webkit-box-flex:0;-webkit-flex:0 0 150px;-moz-box-flex:0;flex:0 0 150px}}.deviceDetailList-wrapper_-W6fj{height:100%;overflow-x:auto;overflow-y:auto;width:100%}.preview-3d-wrap_5QS0g{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;position:absolute;width:100%;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background:var(--bg-color-drop-down-menu);cursor:pointer;z-index:1000}.preview-3d-wrap_5QS0g p{cursor:pointer}.apply_new_parts_4w-u5{height:24px;line-height:24px;margin:0 0 0 4px}.search-engine-wrap_2Mwoj{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:24px;line-height:24px}.search-engine-wrap_2Mwoj .search-engin-item_rY-nT{border:1px solid var(--border-color-panel-tab);border-radius:2px 0 0 2px;border-right:initial;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;height:100%;min-width:72px;padding:0 8px;text-align:center;white-space:nowrap}.search-engine-wrap_2Mwoj .search-engin-item_rY-nT.active_LMyao{background-color:var(--common-selected-bg-color);color:var(--font-color-selected-tab)}.search-engine-wrap_2Mwoj .search-engin-item_rY-nT:last-child{border-radius:0;border-radius:initial}.input-border-radius-reset_DfVBL div[class*=fittinginput-wrapper]{border-left:1px solid var(--common-border-color-1);border-radius:0 2px 2px 0!important}.input-border-radius-reset_DfVBL div[class*=fittinginput-wrapper-active]{border-left:1px solid var(--border-color-focus-input)!important}.top-part-wrap_vsEgb{position:relative}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF-{bottom:8px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;line-height:36px;margin-left:16px;position:absolute;width:68%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}@media (max-width:1200px){.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF-{overflow:auto}}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .tab-sort_n2xpx{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-left:16px}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .tab-sort_n2xpx .tab-item_fdn8n{background:var(--bg-color-drop-down-menu);border:1px solid var(--common-border-color);cursor:pointer;height:23px;line-height:23px;margin:8px -1px 8px 0;padding:0;position:relative;text-align:center;width:70px}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .tab-sort_n2xpx .tab-item_fdn8n.tab-sales_Aq2lf .desc-icon_-xFVQ:before{top:8px!important}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .tab-sort_n2xpx .tab-item_fdn8n .sort-triangle_mG7UZ{display:block;position:absolute;right:4px;top:0}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .tab-sort_n2xpx .tab-item_fdn8n .sort-triangle_mG7UZ i{cursor:pointer;display:block;height:10px;position:relative;width:12px}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .tab-sort_n2xpx .tab-item_fdn8n .sort-triangle_mG7UZ .asc-icon_-3gGm.hidden_7NVqf{display:none}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .tab-sort_n2xpx .tab-item_fdn8n .sort-triangle_mG7UZ .asc-icon_-3gGm:before{border:6px solid transparent;border-bottom:6px solid var(--icon-color-table-header);bottom:1px;content:"";height:0;left:0;position:absolute;width:0}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .tab-sort_n2xpx .tab-item_fdn8n .sort-triangle_mG7UZ .asc-icon_-3gGm.selected_mE4W8:before{border-bottom-color:#80d2ff!important}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .tab-sort_n2xpx .tab-item_fdn8n .sort-triangle_mG7UZ .desc-icon_-xFVQ:before{border:6px solid transparent;border-top:6px solid var(--icon-color-table-header);content:"";height:0;left:0;position:absolute;top:1px;width:0}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .tab-sort_n2xpx .tab-item_fdn8n .sort-triangle_mG7UZ .desc-icon_-xFVQ.selected_mE4W8:before{border-top-color:#80d2ff!important}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .tab-sort_n2xpx .tab-item_fdn8n.tab-selected_qU2QQ{background:var(--bg-color-selected-drop-down-menuItem);border:1px solid #0093e6;color:var(--font-color-selected-down-menuItem);position:relative}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .tab-sort_n2xpx .tab-item_fdn8n.tab-selected_qU2QQ .sort-triangle_mG7UZ i.asc-icon_-3gGm:before{border-bottom-color:#fff}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .tab-sort_n2xpx .tab-item_fdn8n.tab-selected_qU2QQ .sort-triangle_mG7UZ i.desc-icon_-xFVQ:before{border-top-color:#fff}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .price-wrap_mmRXS{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:0 15px;padding:6px;position:relative;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .price-wrap_mmRXS .separation-icon_xVdpV{margin:0 4px}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .price-wrap_mmRXS .hover-price_TB-bC{display:none}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .price-wrap_mmRXS .input-wrap_pow2M{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .price-wrap_mmRXS:hover .hover-price_TB-bC{background:var(--bg-color-hover-drop-down-menuItem);border:1px solid #e9e9e9;box-shadow:0 2px 4px 1px rgba(0,0,0,.1);display:block;left:0;padding:4px;position:absolute;top:0;z-index:99}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .price-wrap_mmRXS .search-price-btn_BGAPu{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .price-wrap_mmRXS .search-price-btn_BGAPu .clear-btn_ElU0z{cursor:pointer;display:block;margin-left:16px;width:30px}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .price-wrap_mmRXS .search-price-btn_BGAPu .search-btn_vycW8{border:1px solid #999;cursor:pointer;display:block;height:24px;line-height:22px;margin-right:8px;text-align:center;width:47px}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .check-wrap_igq4P{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-top:2px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content}.top-part-wrap_vsEgb .comprehensive-sort-section_pgBF- .check-wrap_igq4P label{margin-right:15px}.cbb-table-section_vV9VH{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;overflow:hidden;position:relative;width:100%}.cbb-preview-section_4QXgS{height:288px;padding-top:6px;width:100%}.cbb-grey-preview-wrap_YIdLX{background-color:var(--bg-color-data-thumb);display:block;height:-webkit-calc(100% - 28px);height:-moz-calc(100% - 28px);height:calc(100% - 28px);margin-bottom:4px;width:100%}.cbb-grey-preview-wrap_YIdLX p{text-align:center}.cbb-grey-preview-wrap_YIdLX a{color:#1890ff;display:block;margin-top:8px;text-decoration:none}.devicePreview_dUbkc{height:237px;padding-top:8px}@media (max-height:760px){.devicePreview_dUbkc{height:156px}}');Z9e=Z9e.join("");Jci.exports={uuid:"1539f014-7ada-4adb-9282-20f54d52bd29",locals:{"main-container":"main-container_USTHK","liblist-section":"liblist-section_uaTJO","category-section":"category-section_wsRg1","component-search-section":"component-search-section_Naa5q","filter-section":"filter-section_NaNP-","detail-section":"detail-section_Fr8Ag","table-section":"table-section_dP4ul","component-preview-section":"component-preview-section_1j777","deviceDetailList-wrapper":"deviceDetailList-wrapper_-W6fj","preview-3d-wrap":"preview-3d-wrap_5QS0g",apply_new_parts:"apply_new_parts_4w-u5","search-engine-wrap":"search-engine-wrap_2Mwoj","search-engin-item":"search-engin-item_rY-nT",active:"active_LMyao","input-border-radius-reset":"input-border-radius-reset_DfVBL","top-part-wrap":"top-part-wrap_vsEgb","comprehensive-sort-section":"comprehensive-sort-section_pgBF-","tab-sort":"tab-sort_n2xpx","tab-item":"tab-item_fdn8n","tab-sales":"tab-sales_Aq2lf","desc-icon":"desc-icon_-xFVQ","sort-triangle":"sort-triangle_mG7UZ","asc-icon":"asc-icon_-3gGm",hidden:"hidden_7NVqf",selected:"selected_mE4W8","tab-selected":"tab-selected_qU2QQ","price-wrap":"price-wrap_mmRXS","separation-icon":"separation-icon_xVdpV","hover-price":"hover-price_TB-bC","input-wrap":"input-wrap_pow2M","search-price-btn":"search-price-btn_BGAPu","clear-btn":"clear-btn_ElU0z","search-btn":"search-btn_vycW8","check-wrap":"check-wrap_igq4P","cbb-table-section":"cbb-table-section_vV9VH","cbb-preview-section":"cbb-preview-section_4QXgS","cbb-grey-preview-wrap":"cbb-grey-preview-wrap_YIdLX",devicePreview:"devicePreview_dUbkc"},toString(){return Z9e}}});var Bdi=xe((iIn,jdi)=>{var mPe=[];mPe.push('.container_oaJ87{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;gap:4px;vertical-align:middle}.checkbox_5JRDx{background-color:#fff;border:1px solid #bfbfbf;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;height:14px;position:relative;width:14px}.icon-css_oVmsN:before{border-color:#fff;border-style:solid;border-width:0 0 2px 2px;content:"";height:3px;left:1px;position:absolute;top:3px;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg);width:8px}.active_KFYkF{background-color:#1890ff;border:1px solid #1890ff}.active_KFYkF:before{border-color:#fff;border-style:solid;border-width:0 0 2px 2px;content:"";height:3px;left:1px;position:absolute;top:3px;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg);width:8px}.disabled_KnNOx{background-color:#bfbfbf;border:1px solid #bfbfbf;cursor:not-allowed}');mPe=mPe.join("");jdi.exports={uuid:"f8c2bfba-8c48-41e7-ad87-234929dcbd8c",locals:{container:"container_oaJ87",checkbox:"checkbox_5JRDx","icon-css":"icon-css_oVmsN",active:"active_KFYkF",disabled:"disabled_KnNOx"},toString(){return mPe}}});var Fdi=xe((lIn,zdi)=>{var P8=[];P8.push(".container_h6Evt{background-color:var(--bg-color-input);border:1px solid var(--border-color-drop-down-menu);border-radius:2px;box-shadow:none;color:var(--font-color-input);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-family:Microsoft YaHei;font-size:12px;height:24px;overflow:hidden;position:relative;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;cursor:pointer;padding:0 20px 0 4px}.container_h6Evt,.container_h6Evt *{-moz-box-sizing:border-box;box-sizing:border-box}.container_h6Evt .text_HpHUx{display:inline-block;margin-left:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.container_h6Evt.disabled_R2Rky .icon_XeWiU{-webkit-filter:var(--icon-color-disabled-drop-down-menuItem)!important;filter:var(--icon-color-disabled-drop-down-menuItem)!important}.option-wrap-body_YEVBV{background-color:var(--bg-color-input);border:1px solid var(--border-color-drop-down-menu);border-radius:2px;box-shadow:0 0 15px rgba(50,50,50,.3);-moz-box-sizing:content-box;box-sizing:content-box;position:fixed;z-index:90000}.option-wrap-body_YEVBV *{-moz-box-sizing:border-box;box-sizing:border-box}.filter_Tmjbv{padding:4px}.option-list_HRBga{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;background-color:var(--bg-color-drop-down-menu);flex-direction:column;overflow:auto;position:relative}.option-list_HRBga,.option-list-item_uhJ3E{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.option-list-item_uhJ3E{height:24px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:var(--font-color-drop-down-menuItem);cursor:pointer;padding:0 7px}.option-list-item-text_sboqR{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.block_fBH--{left:0;top:0;width:100%;z-index:-1}.block_fBH--,.icon_XeWiU{position:absolute}.icon_XeWiU{background:");P8.push("url(");P8.push(JSON.stringify(I2()));P8.push(")");P8.push(" no-repeat 0;background-size:12px 12px;-webkit-filter:var(--icon-color-drop-down-menuItem);filter:var(--icon-color-drop-down-menuItem);height:20px;right:1px;top:-webkit-calc(50% - 10px);top:-moz-calc(50% - 10px);top:calc(50% - 10px);width:16px}.option-list_HRBga .selected_pPdb7{background-color:var(--bg-color-selected-drop-down-menuItem);color:var(--font-color-selected-down-menuItem)!important}.option-list_HRBga .hovered_3UQGD{background-color:var(--bg-color-hover-drop-down-menuItem);color:var(--font-color-hover-drop-down-menuItem)}.active_71b9D{background:");P8.push("url(");P8.push(JSON.stringify(I2()));P8.push(")");P8.push(" no-repeat 100%;background-size:12px 12px;-webkit-filter:var(--icon-color-selected-drop-down-menuItem);filter:var(--icon-color-selected-drop-down-menuItem);height:20px;position:absolute;right:1px;top:-webkit-calc(50% - 10px);top:-moz-calc(50% - 10px);top:calc(50% - 10px);-webkit-transform:rotate(-180deg);-moz-transform:rotate(-180deg);transform:rotate(-180deg);width:16px}.containerActive_QsiNO{background-color:var(--bg-color-focus-input);border-color:var(--border-color-focus-input)}.select-item-disabled_kZOPo{color:var(--font-color-disabled-drop-down-menuItem)!important;pointer-events:none}.disabled_R2Rky{background-color:var(--bg-color-disabled-input)!important;color:var(--font-color-disabled-input);pointer-events:none}.icon-pre_WT4nc{background-position:50%;background-size:14px 14px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:18px;margin-left:2px;width:18px}");P8=P8.join("");zdi.exports={uuid:"8d907a2f-a38d-4fa0-8a77-d9c6f52e6395",locals:{container:"container_h6Evt",text:"text_HpHUx",disabled:"disabled_R2Rky",icon:"icon_XeWiU","option-wrap-body":"option-wrap-body_YEVBV",filter:"filter_Tmjbv","option-list":"option-list_HRBga","option-list-item":"option-list-item_uhJ3E","option-list-item-text":"option-list-item-text_sboqR",block:"block_fBH--",selected:"selected_pPdb7",hovered:"hovered_3UQGD",active:"active_71b9D",containerActive:"containerActive_QsiNO","select-item-disabled":"select-item-disabled_kZOPo","icon-pre":"icon-pre_WT4nc"},toString(){return P8}}});var c0e=xe((cIn,glr)=>{glr.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPHBhdGggZD0iTTcuMyw1Ljk5OEw0LjE0Niw5LjE0NGMtMC4xOTYsMC4xOTYtMC4xOTYsMC41MTMsMCwwLjcwOWwwLDBjMC4xOTYsMC4xOTYsMC41MTQsMC4xOTYsMC43MDktMC4wMDFMOCw2LjY5OGwzLjE0NSwzLjE1NAoJYzAuMTk2LDAuMTk2LDAuNTEzLDAuMTk2LDAuNzA5LDAuMDAxbDAsMGMwLjE5Ni0wLjE5NiwwLjE5Ni0wLjUxNC0wLjAwMS0wLjcwOUw4LjcsNS45OThMOC4zNTQsNS42NTMKCWMtMC4xOTYtMC4xOTYtMC41MTMtMC4xOTYtMC43MDksMEw3LjMsNS45OTh6Ii8+Cjwvc3ZnPgo="});var Vdi=xe((dIn,Udi)=>{var em=[];em.push('.input_container_thUWf{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:24px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background-color:var(--bg-color-input);border:1px solid #d1d1d1;border-radius:2px;gap:8px;padding:0 8px;position:"relative"}.input_container_thUWf:focus{border-color:#1890ff;color:#333;outline:0}.bSizeTopMenu_tBUs-{background-repeat:no-repeat;background-size:16px 16px}.input_0IVQb{-moz-appearance:textfield;border:1px solid #d9d9d9;border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:#333;font-family:Microsoft YaHei;font-size:12px;height:100%;-webkit-user-select:text;-moz-user-select:text;user-select:text;width:100%}.clear_0jPmU{background-image:');em.push("url(");em.push(JSON.stringify(UR()));em.push(")");em.push(';background-repeat:no-repeat;background-size:12px 12px;content:"";cursor:pointer;display:inline-block;-webkit-filter:var(--common-icon-color-1);filter:var(--common-icon-color-1);height:12px;min-width:12px;width:12px}.arrow-to-top_DLxm1{background-image:');em.push("url(");em.push(JSON.stringify(c0e()));em.push(")");em.push("}.arrow-to-bottom_0rOY3,.arrow-to-top_DLxm1{background-repeat:no-repeat;background-size:12px 12px;cursor:pointer;-webkit-filter:var(--icon-color-drop-down-menuItem);filter:var(--icon-color-drop-down-menuItem);height:12px;width:12px}.arrow-to-bottom_0rOY3{background-image:");em.push("url(");em.push(JSON.stringify(I2()));em.push(")");em.push("}.zoom_kLf9B{background-image:");em.push("url(");em.push(JSON.stringify(Iie()));em.push(")");em.push(";background-repeat:no-repeat;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:13px;min-width:13px}.filterResult_g2mdR{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.filterResult_g2mdR span{display:inline-block;-webkit-box-flex:0;-webkit-flex:0 0 auto;-moz-box-flex:0;-webkit-align-self:center;align-self:center;background-position:50%;cursor:pointer;flex:0 0 auto;height:18px;line-height:18px;padding:0 2px;width:18px}.filterResult_g2mdR span.disable_qfMOw{cursor:not-allowed;-webkit-filter:invert(55%) sepia(0) saturate(7448%) hue-rotate(101deg) brightness(138%) contrast(99%);filter:invert(55%) sepia(0) saturate(7448%) hue-rotate(101deg) brightness(138%) contrast(99%)}.icon-eda-move-right-line_0xrZq{background-image:");em.push("url(");em.push(JSON.stringify(tAe()));em.push(")");em.push("}.icon-eda-move-left-line_Cm4Rg,.icon-eda-move-right-line_0xrZq{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-move-left-line_Cm4Rg{background-image:");em.push("url(");em.push(JSON.stringify(sAe()));em.push(")");em.push("}");em=em.join("");Udi.exports={uuid:"cfaeac14-9d6b-4276-a9a1-1492d3fa7f54",locals:{input_container:"input_container_thUWf",bSizeTopMenu:"bSizeTopMenu_tBUs-",input:"input_0IVQb",clear:"clear_0jPmU","arrow-to-top":"arrow-to-top_DLxm1","arrow-to-bottom":"arrow-to-bottom_0rOY3",zoom:"zoom_kLf9B",filterResult:"filterResult_g2mdR",disable:"disable_qfMOw","icon-eda-move-right-line":"icon-eda-move-right-line_0xrZq","icon-eda-move-left-line":"icon-eda-move-left-line_Cm4Rg"},toString(){return em}}});var $di=xe(Yyt=>{"use strict";Object.defineProperty(Yyt,"__esModule",{value:!0});Yyt.default=()=>{throw new Error("File system is not available")}});var yoe=xe(Wyt=>{"use strict";Object.defineProperty(Wyt,"__esModule",{value:!0});Wyt.default=(t,e,i)=>({confidence:i,name:e.name(t),lang:e.language?e.language():void 0})});var tui=xe(JCe=>{"use strict";var Slr=JCe&&JCe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(JCe,"__esModule",{value:!0});var eui=Slr(yoe()),Qyt=class{name(){return"ASCII"}match(e){let i=e.rawInput;for(let o=0;o<e.rawLen;o++){let r=i[o];if(r<32||r>126)return(0,eui.default)(e,this,0)}return(0,eui.default)(e,this,100)}};JCe.default=Qyt});var iui=xe(qCe=>{"use strict";var Mlr=qCe&&qCe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(qCe,"__esModule",{value:!0});var Ilr=Mlr(yoe()),Kyt=class{name(){return"UTF-8"}match(e){let i=!1,o=0,r=0,n=0,a,s=e.rawInput;e.rawLen>=3&&(s[0]&255)==239&&(s[1]&255)==187&&(s[2]&255)==191&&(i=!0);for(let l=0;l<e.rawLen;l++){let c=s[l];if((c&128)!=0){if((c&224)==192)n=1;else if((c&240)==224)n=2;else if((c&248)==240)n=3;else{if(r++,r>5)break;n=0}for(;l++,!(l>=e.rawLen);){if((s[l]&192)!=128){r++;break}if(--n==0){o++;break}}}}if(a=0,i&&r==0)a=100;else if(i&&o>r*10)a=80;else if(o>3&&r==0)a=100;else if(o>0&&r==0)a=80;else if(o==0&&r==0)a=10;else if(o>r*10)a=25;else return null;return(0,Ilr.default)(e,this,a)}};qCe.default=Kyt});var oui=xe(O8=>{"use strict";var Llr=O8&&O8.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(O8,"__esModule",{value:!0});O8.UTF_32LE=O8.UTF_32BE=O8.UTF_16LE=O8.UTF_16BE=void 0;var $yt=Llr(yoe()),Zyt=class{name(){return"UTF-16BE"}match(e){let i=e.rawInput;return i.length>=2&&(i[0]&255)==254&&(i[1]&255)==255?(0,$yt.default)(e,this,100):null}};O8.UTF_16BE=Zyt;var Jyt=class{name(){return"UTF-16LE"}match(e){let i=e.rawInput;return i.length>=2&&(i[0]&255)==255&&(i[1]&255)==254?i.length>=4&&i[2]==0&&i[3]==0?null:(0,$yt.default)(e,this,100):null}};O8.UTF_16LE=Jyt;var SPe=class{name(){return"UTF-32"}getChar(e,i){return-1}match(e){let i=0,o=0,r=!1,n=0,a=e.rawLen/4*4,s=e.rawInput;if(a==0)return null;this.getChar(s,0)==65279&&(r=!0);for(let l=0;l<a;l+=4){let c=this.getChar(s,l);c<0||c>=1114111||c>=55296&&c<=57343?o+=1:i+=1}return r&&o==0?n=100:r&&i>o*10?n=80:i>3&&o==0?n=100:i>0&&o==0?n=80:i>o*10&&(n=25),n==0?null:(0,$yt.default)(e,this,n)}},qyt=class extends SPe{name(){return"UTF-32BE"}getChar(e,i){return(e[i+0]&255)<<24|(e[i+1]&255)<<16|(e[i+2]&255)<<8|e[i+3]&255}};O8.UTF_32BE=qyt;var Xyt=class extends SPe{name(){return"UTF-32LE"}getChar(e,i){return(e[i+3]&255)<<24|(e[i+2]&255)<<16|(e[i+1]&255)<<8|e[i+0]&255}};O8.UTF_32LE=Xyt});var nui=xe(B6=>{"use strict";var vlr=B6&&B6.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(B6,"__esModule",{value:!0});B6.gb_18030=B6.euc_kr=B6.euc_jp=B6.big5=B6.sjis=void 0;var Dlr=vlr(yoe());function Elr(t,e){let i=(o,r,n,a)=>{if(a<n)return-1;let s=Math.floor(n+a>>>1);return r>o[s]?i(o,r,s+1,a):r<o[s]?i(o,r,n,s-1):s};return i(t,e,0,t.length-1)}var e4t=class{constructor(){this.charValue=0,this.index=0,this.nextIndex=0,this.error=!1,this.done=!1}reset(){this.charValue=0,this.index=-1,this.nextIndex=0,this.error=!1,this.done=!1}nextByte(e){return this.nextIndex>=e.rawLen?(this.done=!0,-1):e.rawInput[this.nextIndex++]&255}},woe=class{constructor(){this.commonChars=[]}name(){return"mbcs"}match(e){let i=0,o=0,r=0,n=0,a=0,s=new e4t;e:{for(s.reset();this.nextChar(s,e);){if(n++,s.error)r++;else{let l=s.charValue&4294967295;l>255&&(i++,this.commonChars!=null&&Elr(this.commonChars,l)>=0&&o++)}if(r>=2&&r*5>=i)break e}if(i<=10&&r==0){i==0&&n<10?a=0:a=10;break e}if(i<20*r){a=0;break e}if(this.commonChars==null)a=30+i-20*r,a>100&&(a=100);else{let c=90/Math.log(i/4);a=Math.floor(Math.log(o+1)*c+10),a=Math.min(a,100)}}return a==0?null:(0,Dlr.default)(e,this,a)}nextChar(e,i){return!0}},t4t=class extends woe{constructor(){super(...arguments),this.commonChars=[33088,33089,33090,33093,33115,33129,33130,33141,33142,33440,33442,33444,33449,33450,33451,33453,33455,33457,33459,33461,33463,33469,33470,33473,33476,33477,33478,33480,33481,33484,33485,33500,33504,33511,33512,33513,33514,33520,33521,33601,33603,33614,33615,33624,33630,33634,33639,33653,33654,33673,33674,33675,33677,33683,36502,37882,38314]}name(){return"Shift_JIS"}language(){return"ja"}nextChar(e,i){e.index=e.nextIndex,e.error=!1;let o=e.charValue=e.nextByte(i);if(o<0)return!1;if(o<=127||o>160&&o<=223)return!0;let r=e.nextByte(i);return r<0?!1:(e.charValue=o<<8|r,r>=64&&r<=127||r>=128&&r<=255||(e.error=!0),!0)}};B6.sjis=t4t;var i4t=class extends woe{constructor(){super(...arguments),this.commonChars=[41280,41281,41282,41283,41287,41289,41333,41334,42048,42054,42055,42056,42065,42068,42071,42084,42090,42092,42103,42147,42148,42151,42177,42190,42193,42207,42216,42237,42304,42312,42328,42345,42445,42471,42583,42593,42594,42600,42608,42664,42675,42681,42707,42715,42726,42738,42816,42833,42841,42970,43171,43173,43181,43217,43219,43236,43260,43456,43474,43507,43627,43706,43710,43724,43772,44103,44111,44208,44242,44377,44745,45024,45290,45423,45747,45764,45935,46156,46158,46412,46501,46525,46544,46552,46705,47085,47207,47428,47832,47940,48033,48593,49860,50105,50240,50271]}name(){return"Big5"}language(){return"zh"}nextChar(e,i){e.index=e.nextIndex,e.error=!1;let o=e.charValue=e.nextByte(i);if(o<0)return!1;if(o<=127||o==255)return!0;let r=e.nextByte(i);return r<0?!1:(e.charValue=e.charValue<<8|r,(r<64||r==127||r==255)&&(e.error=!0),!0)}};B6.big5=i4t;function rui(t,e){t.index=t.nextIndex,t.error=!1;let i=0,o=0,r=0;e:{if(i=t.charValue=t.nextByte(e),i<0){t.done=!0;break e}if(i<=141)break e;if(o=t.nextByte(e),t.charValue=t.charValue<<8|o,i>=161&&i<=254){o<161&&(t.error=!0);break e}if(i==142){o<161&&(t.error=!0);break e}i==143&&(r=t.nextByte(e),t.charValue=t.charValue<<8|r,r<161&&(t.error=!0))}return t.done==!1}var o4t=class extends woe{constructor(){super(...arguments),this.commonChars=[41377,41378,41379,41382,41404,41418,41419,41430,41431,42146,42148,42150,42152,42154,42155,42156,42157,42159,42161,42163,42165,42167,42169,42171,42173,42175,42176,42177,42179,42180,42182,42183,42184,42185,42186,42187,42190,42191,42192,42206,42207,42209,42210,42212,42216,42217,42218,42219,42220,42223,42226,42227,42402,42403,42404,42406,42407,42410,42413,42415,42416,42419,42421,42423,42424,42425,42431,42435,42438,42439,42440,42441,42443,42448,42453,42454,42455,42462,42464,42465,42469,42473,42474,42475,42476,42477,42483,47273,47572,47854,48072,48880,49079,50410,50940,51133,51896,51955,52188,52689],this.nextChar=rui}name(){return"EUC-JP"}language(){return"ja"}};B6.euc_jp=o4t;var r4t=class extends woe{constructor(){super(...arguments),this.commonChars=[45217,45235,45253,45261,45268,45286,45293,45304,45306,45308,45496,45497,45511,45527,45538,45994,46011,46274,46287,46297,46315,46501,46517,46527,46535,46569,46835,47023,47042,47054,47270,47278,47286,47288,47291,47337,47531,47534,47564,47566,47613,47800,47822,47824,47857,48103,48115,48125,48301,48314,48338,48374,48570,48576,48579,48581,48838,48840,48863,48878,48888,48890,49057,49065,49088,49124,49131,49132,49144,49319,49327,49336,49338,49339,49341,49351,49356,49358,49359,49366,49370,49381,49403,49404,49572,49574,49590,49622,49631,49654,49656,50337,50637,50862,51151,51153,51154,51160,51173,51373],this.nextChar=rui}name(){return"EUC-KR"}language(){return"ko"}};B6.euc_kr=r4t;var n4t=class extends woe{constructor(){super(...arguments),this.commonChars=[41377,41378,41379,41380,41392,41393,41457,41459,41889,41900,41914,45480,45496,45502,45755,46025,46070,46323,46525,46532,46563,46767,46804,46816,47010,47016,47037,47062,47069,47284,47327,47350,47531,47561,47576,47610,47613,47821,48039,48086,48097,48122,48316,48347,48382,48588,48845,48861,49076,49094,49097,49332,49389,49611,49883,50119,50396,50410,50636,50935,51192,51371,51403,51413,51431,51663,51706,51889,51893,51911,51920,51926,51957,51965,52460,52728,52906,52932,52946,52965,53173,53186,53206,53442,53445,53456,53460,53671,53930,53938,53941,53947,53972,54211,54224,54269,54466,54490,54754,54992]}name(){return"GB18030"}language(){return"zh"}nextChar(e,i){e.index=e.nextIndex,e.error=!1;let o=0,r=0,n=0,a=0;e:{if(o=e.charValue=e.nextByte(i),o<0){e.done=!0;break e}if(o<=128)break e;if(r=e.nextByte(i),e.charValue=e.charValue<<8|r,o>=129&&o<=254){if(r>=64&&r<=126||r>=80&&r<=254)break e;if(r>=48&&r<=57&&(n=e.nextByte(i),n>=129&&n<=254&&(a=e.nextByte(i),a>=48&&a<=57))){e.charValue=e.charValue<<16|n<<8|a;break e}e.error=!0;break e}}return e.done==!1}};B6.gb_18030=n4t});var sui=xe(Gh=>{"use strict";var Alr=Gh&&Gh.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Gh,"__esModule",{value:!0});Gh.KOI8_R=Gh.windows_1256=Gh.windows_1251=Gh.ISO_8859_9=Gh.ISO_8859_8=Gh.ISO_8859_7=Gh.ISO_8859_6=Gh.ISO_8859_5=Gh.ISO_8859_2=Gh.ISO_8859_1=void 0;var aui=Alr(yoe()),Nlr=16777215,MPe=class{constructor(e,i){this.byteIndex=0,this.ngram=0,this.ngramCount=0,this.hitCount=0,this.spaceChar=32,this.ngramList=e,this.byteMap=i}search(e,i){let o=0;return e[o+32]<=i&&(o+=32),e[o+16]<=i&&(o+=16),e[o+8]<=i&&(o+=8),e[o+4]<=i&&(o+=4),e[o+2]<=i&&(o+=2),e[o+1]<=i&&(o+=1),e[o]>i&&(o-=1),o<0||e[o]!=i?-1:o}lookup(e){this.ngramCount+=1,this.search(this.ngramList,e)>=0&&(this.hitCount+=1)}addByte(e){this.ngram=(this.ngram<<8)+(e&255)&Nlr,this.lookup(this.ngram)}nextByte(e){return this.byteIndex>=e.inputLen?-1:e.inputBytes[this.byteIndex++]&255}parse(e,i){let o,r=!1;for(this.spaceChar=i;(o=this.nextByte(e))>=0;){let a=this.byteMap[o];a!=0&&(a==this.spaceChar&&r||this.addByte(a),r=a==this.spaceChar)}this.addByte(this.spaceChar);let n=this.hitCount/this.ngramCount;return n>.33?98:Math.floor(n*300)}},y3=class{constructor(e,i){this.fLang=e,this.fNGrams=i}},klr=t=>Array.isArray(t)&&isFinite(t[0]),R8=class{constructor(){this.spaceChar=32,this.nGramLang=void 0}ngrams(){return[]}byteMap(){return[]}name(e){return"sbcs"}language(){return this.nGramLang}match(e){this.nGramLang=void 0;let i=this.ngrams();if(klr(i)){let n=new MPe(i,this.byteMap()).parse(e,this.spaceChar);return n<=0?null:(0,aui.default)(e,this,n)}let o=-1;for(let r=i.length-1;r>=0;r--){let n=i[r],s=new MPe(n.fNGrams,this.byteMap()).parse(e,this.spaceChar);s>o&&(o=s,this.nGramLang=n.fLang)}return o<=0?null:(0,aui.default)(e,this,o)}},a4t=class extends R8{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,186,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,255]}ngrams(){return[new y3("da",[2122086,2122100,2122853,2123118,2123122,2123375,2123873,2124064,2125157,2125671,2126053,2126697,2126708,2126953,2127465,6383136,6385184,6385252,6386208,6386720,6579488,6579566,6579570,6579572,6627443,6644768,6644837,6647328,6647396,6648352,6648421,6648608,6648864,6713202,6776096,6776174,6776178,6907749,6908960,6909543,7038240,7039845,7103858,7104871,7105637,7169380,7234661,7234848,7235360,7235429,7300896,7302432,7303712,7398688,7479396,7479397,7479411,7496992,7566437,7610483,7628064,7628146,7629164,7759218]),new y3("de",[2122094,2122101,2122341,2122849,2122853,2122857,2123113,2123621,2123873,2124142,2125161,2126691,2126693,2127214,2127461,2127471,2127717,2128501,6448498,6514720,6514789,6514804,6578547,6579566,6579570,6580581,6627428,6627443,6646126,6646132,6647328,6648352,6648608,6776174,6841710,6845472,6906728,6907168,6909472,6909541,6911008,7104867,7105637,7217249,7217252,7217267,7234592,7234661,7234848,7235360,7235429,7238757,7479396,7496805,7497065,7562088,7566437,7610468,7628064,7628142,7628146,7695972,7695975,7759218]),new y3("en",[2122016,2122094,2122341,2122607,2123375,2123873,2123877,2124142,2125153,2125670,2125938,2126437,2126689,2126708,2126952,2126959,2127720,6383972,6384672,6385184,6385252,6386464,6386720,6386789,6386793,6561889,6561908,6627425,6627443,6627444,6644768,6647412,6648352,6648608,6713202,6840692,6841632,6841714,6906912,6909472,6909543,6909806,6910752,7217249,7217268,7234592,7235360,7238688,7300640,7302688,7303712,7496992,7500576,7544929,7544948,7561577,7566368,7610484,7628146,7628897,7628901,7629167,7630624,7631648]),new y3("es",[2122016,2122593,2122607,2122853,2123116,2123118,2123123,2124142,2124897,2124911,2125921,2125935,2125938,2126197,2126437,2126693,2127214,2128160,6365283,6365284,6365285,6365292,6365296,6382441,6382703,6384672,6386208,6386464,6515187,6516590,6579488,6579564,6582048,6627428,6627429,6627436,6646816,6647328,6647412,6648608,6648692,6907246,6943598,7102752,7106419,7217253,7238757,7282788,7282789,7302688,7303712,7303968,7364978,7435621,7495968,7497075,7544932,7544933,7544944,7562528,7628064,7630624,7693600,15953440]),new y3("fr",[2122101,2122607,2122849,2122853,2122869,2123118,2123124,2124897,2124901,2125921,2125935,2125938,2126197,2126693,2126703,2127214,2154528,6385268,6386793,6513952,6516590,6579488,6579571,6583584,6627425,6627427,6627428,6627429,6627436,6627440,6627443,6647328,6647412,6648352,6648608,6648864,6649202,6909806,6910752,6911008,7102752,7103776,7103859,7169390,7217252,7234848,7238432,7238688,7302688,7302772,7304562,7435621,7479404,7496992,7544929,7544932,7544933,7544940,7544944,7610468,7628064,7629167,7693600,7696928]),new y3("it",[2122092,2122600,2122607,2122853,2122857,2123040,2124140,2124142,2124897,2125925,2125938,2127214,6365283,6365284,6365296,6365299,6386799,6514789,6516590,6579564,6580512,6627425,6627427,6627428,6627433,6627436,6627440,6627443,6646816,6646892,6647412,6648352,6841632,6889569,6889571,6889572,6889587,6906144,6908960,6909472,6909806,7102752,7103776,7104800,7105633,7234848,7235872,7237408,7238757,7282785,7282788,7282793,7282803,7302688,7302757,7366002,7495968,7496992,7563552,7627040,7628064,7629088,7630624,8022383]),new y3("nl",[2122092,2122341,2122849,2122853,2122857,2123109,2123118,2123621,2123877,2124142,2125153,2125157,2125680,2126949,2127457,2127461,2127471,2127717,2128489,6381934,6381938,6385184,6385252,6386208,6386720,6514804,6579488,6579566,6579570,6627426,6627446,6645102,6645106,6647328,6648352,6648435,6648864,6776174,6841716,6907168,6909472,6909543,6910752,7217250,7217252,7217253,7217256,7217263,7217270,7234661,7235360,7302756,7303026,7303200,7303712,7562088,7566437,7610468,7628064,7628142,7628146,7758190,7759218,7761775]),new y3("no",[2122100,2122102,2122853,2123118,2123122,2123375,2123873,2124064,2125157,2125671,2126053,2126693,2126699,2126703,2126708,2126953,2127465,2155808,6385252,6386208,6386720,6579488,6579566,6579572,6627443,6644768,6647328,6647397,6648352,6648421,6648864,6648948,6713202,6776174,6908779,6908960,6909543,7038240,7039845,7103776,7105637,7169380,7169390,7217267,7234848,7235360,7235429,7237221,7300896,7302432,7303712,7398688,7479411,7496992,7565165,7566437,7610483,7628064,7628142,7628146,7629164,7631904,7631973,7759218]),new y3("pt",[2122016,2122607,2122849,2122853,2122863,2123040,2123123,2125153,2125423,2125600,2125921,2125935,2125938,2126197,2126437,2126693,2127213,6365281,6365283,6365284,6365296,6382693,6382703,6384672,6386208,6386273,6386464,6516589,6516590,6578464,6579488,6582048,6582131,6627425,6627428,6647072,6647412,6648608,6648692,6906144,6906721,7169390,7238757,7238767,7282785,7282787,7282788,7282789,7282800,7303968,7364978,7435621,7495968,7497075,7544929,7544932,7544933,7544944,7566433,7628064,7630624,7693600,14905120,15197039]),new y3("sv",[2122100,2122102,2122853,2123118,2123510,2123873,2124064,2124142,2124655,2125157,2125667,2126053,2126699,2126703,2126708,2126953,2127457,2127465,2155634,6382693,6385184,6385252,6386208,6386804,6514720,6579488,6579566,6579570,6579572,6644768,6647328,6648352,6648864,6747762,6776174,6909036,6909543,7037216,7105568,7169380,7217267,7233824,7234661,7235360,7235429,7235950,7299944,7302432,7302688,7398688,7479393,7479411,7495968,7564129,7565165,7610483,7627040,7628064,7628146,7629164,7631904,7758194,14971424,16151072])]}name(e){return e&&e.c1Bytes?"windows-1252":"ISO-8859-1"}};Gh.ISO_8859_1=a4t;var s4t=class extends R8{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,177,32,179,32,181,182,32,32,185,186,187,188,32,190,191,32,177,32,179,32,181,182,183,32,185,186,187,188,32,190,191,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,32]}ngrams(){return[new y3("cs",[2122016,2122361,2122863,2124389,2125409,2125413,2125600,2125668,2125935,2125938,2126072,2126447,2126693,2126703,2126708,2126959,2127392,2127481,2128481,6365296,6513952,6514720,6627440,6627443,6627446,6647072,6647533,6844192,6844260,6910836,6972704,7042149,7103776,7104800,7233824,7268640,7269408,7269664,7282800,7300206,7301737,7304052,7304480,7304801,7368548,7368554,7369327,7403621,7562528,7565173,7566433,7566441,7566446,7628146,7630573,7630624,7676016,12477728,14773997,15296623,15540336,15540339,15559968,16278884]),new y3("hu",[2122016,2122106,2122341,2123111,2123116,2123365,2123873,2123887,2124147,2124645,2124649,2124790,2124901,2125153,2125157,2125161,2125413,2126714,2126949,2156915,6365281,6365291,6365293,6365299,6384416,6385184,6388256,6447470,6448494,6645625,6646560,6646816,6646885,6647072,6647328,6648421,6648864,6648933,6648948,6781216,6844263,6909556,6910752,7020641,7075450,7169383,7170414,7217249,7233899,7234923,7234925,7238688,7300985,7544929,7567973,7567988,7568097,7596391,7610465,7631904,7659891,8021362,14773792,15299360]),new y3("pl",[2122618,2122863,2124064,2124389,2124655,2125153,2125161,2125409,2125417,2125668,2125935,2125938,2126697,2127648,2127721,2127737,2128416,2128481,6365296,6365303,6385257,6514720,6519397,6519417,6582048,6584937,6627440,6627443,6627447,6627450,6645615,6646304,6647072,6647401,6778656,6906144,6907168,6907242,7037216,7039264,7039333,7170405,7233824,7235937,7235941,7282800,7305057,7305065,7368556,7369313,7369327,7369338,7502437,7502457,7563754,7564137,7566433,7825765,7955304,7957792,8021280,8022373,8026400,15955744]),new y3("ro",[2122016,2122083,2122593,2122597,2122607,2122613,2122853,2122857,2124897,2125153,2125925,2125938,2126693,2126819,2127214,2144873,2158190,6365283,6365284,6386277,6386720,6386789,6386976,6513010,6516590,6518048,6546208,6579488,6627425,6627427,6627428,6627440,6627443,6644e3,6646048,6646885,6647412,6648692,6889569,6889571,6889572,6889584,6907168,6908192,6909472,7102752,7103776,7106418,7107945,7234848,7238770,7303712,7365998,7496992,7497057,7501088,7594784,7628064,7631477,7660320,7694624,7695392,12216608,15625760])]}name(e){return e&&e.c1Bytes?"windows-1250":"ISO-8859-2"}};Gh.ISO_8859_2=s4t;var l4t=class extends R8{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,241,242,243,244,245,246,247,248,249,250,251,252,32,254,255,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,32,241,242,243,244,245,246,247,248,249,250,251,252,32,254,255]}ngrams(){return[2150944,2151134,2151646,2152400,2152480,2153168,2153182,2153936,2153941,2154193,2154462,2154464,2154704,2154974,2154978,2155230,2156514,2158050,13688280,13689580,13884960,14015468,14015960,14016994,14017056,14164191,14210336,14211104,14216992,14407133,14407712,14413021,14536736,14538016,14538965,14538991,14540320,14540498,14557394,14557407,14557409,14602784,14602960,14603230,14604576,14605292,14605344,14606818,14671579,14672085,14672088,14672094,14733522,14734804,14803664,14803666,14803672,14806816,14865883,14868e3,14868192,14871584,15196894,15459616]}name(){return"ISO-8859-5"}language(){return"ru"}};Gh.ISO_8859_5=l4t;var c4t=class extends R8{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]}ngrams(){return[2148324,2148326,2148551,2152932,2154986,2155748,2156006,2156743,13050055,13091104,13093408,13095200,13100064,13100227,13100231,13100232,13100234,13100236,13100237,13100239,13100243,13100249,13100258,13100261,13100264,13100266,13100320,13100576,13100746,13115591,13181127,13181153,13181156,13181157,13181160,13246663,13574343,13617440,13705415,13748512,13836487,14229703,14279913,14805536,14950599,14993696,15001888,15002144,15016135,15058720,15059232,15066656,15081671,15147207,15189792,15255524,15263264,15278279,15343815,15343845,15343848,15386912,15388960,15394336]}name(){return"ISO-8859-6"}language(){return"ar"}};Gh.ISO_8859_6=c4t;var d4t=class extends R8{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,161,162,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,220,32,221,222,223,32,252,32,253,254,192,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,32,243,244,245,246,247,248,249,250,251,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,32]}ngrams(){return[2154989,2154992,2155497,2155753,2156016,2156320,2157281,2157797,2158049,2158368,2158817,2158831,2158833,2159604,2159605,2159847,2159855,14672160,14754017,14754036,14805280,14806304,14807292,14807584,14936545,15067424,15069728,15147252,15199520,15200800,15278324,15327520,15330014,15331872,15393257,15393268,15525152,15540449,15540453,15540464,15589664,15725088,15725856,15790069,15790575,15793184,15868129,15868133,15868138,15868144,15868148,15983904,15984416,15987951,16048416,16048617,16050157,16050162,16050666,16052e3,16052213,16054765,16379168,16706848]}name(e){return e&&e.c1Bytes?"windows-1253":"ISO-8859-7"}language(){return"el"}};Gh.ISO_8859_7=d4t;var u4t=class extends R8{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,32,32,32,32,32]}ngrams(){return[new y3("he",[2154725,2154727,2154729,2154746,2154985,2154990,2155744,2155749,2155753,2155758,2155762,2155769,2155770,2157792,2157796,2158304,2159340,2161132,14744096,14950624,14950625,14950628,14950636,14950638,14950649,15001056,15065120,15068448,15068960,15071264,15071776,15278308,15328288,15328762,15329773,15330592,15331104,15333408,15333920,15474912,15474916,15523872,15524896,15540448,15540449,15540452,15540460,15540462,15540473,15655968,15671524,15787040,15788320,15788525,15920160,16261348,16312813,16378912,16392416,16392417,16392420,16392428,16392430,16392441]),new y3("he",[2154725,2154732,2155753,2155756,2155758,2155760,2157040,2157810,2157817,2158053,2158057,2158565,2158569,2160869,2160873,2161376,2161381,2161385,14688484,14688492,14688493,14688506,14738464,14738916,14740512,14741024,14754020,14754029,14754042,14950628,14950633,14950636,14950637,14950639,14950648,14950650,15002656,15065120,15066144,15196192,15327264,15327520,15328288,15474916,15474925,15474938,15528480,15530272,15591913,15591920,15591928,15605988,15605997,15606010,15655200,15655968,15918112,16326884,16326893,16326906,16376864,16441376,16442400,16442857])]}name(e){return e&&e.c1Bytes?"windows-1255":"ISO-8859-8"}language(){return"he"}};Gh.ISO_8859_8=u4t;var p4t=class extends R8{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,186,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,105,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,255]}ngrams(){return[2122337,2122345,2122357,2122849,2122853,2123621,2123873,2124140,2124641,2124655,2125153,2125676,2126689,2126945,2127461,2128225,6365282,6384416,6384737,6384993,6385184,6385405,6386208,6386273,6386429,6386685,6388065,6449522,6578464,6579488,6580512,6627426,6627435,6644841,6647328,6648352,6648425,6648681,6909029,6909472,6909545,6910496,7102830,7102834,7103776,7103858,7217249,7217250,7217259,7234657,7234661,7234848,7235872,7235950,7273760,7498094,7535982,7759136,7954720,7958386,16608800,16608868,16609021,16642301]}name(e){return e&&e.c1Bytes?"windows-1254":"ISO-8859-9"}language(){return"tr"}};Gh.ISO_8859_9=p4t;var m4t=class extends R8{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,144,131,32,131,32,32,32,32,32,32,154,32,156,157,158,159,144,32,32,32,32,32,32,32,32,32,154,32,156,157,158,159,32,162,162,188,32,180,32,32,184,32,186,32,32,32,32,191,32,32,179,179,180,181,32,32,184,32,186,32,188,190,190,191,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255]}ngrams(){return[2155040,2155246,2155758,2156512,2156576,2157280,2157294,2158048,2158053,2158305,2158574,2158576,2158816,2159086,2159090,2159342,2160626,2162162,14740968,14742268,14937632,15068156,15068648,15069682,15069728,15212783,15263008,15263776,15269664,15459821,15460384,15465709,15589408,15590688,15591653,15591679,15592992,15593186,15605986,15605999,15606001,15655456,15655648,15655918,15657248,15657980,15658016,15659506,15724267,15724773,15724776,15724782,15786210,15787492,15856352,15856354,15856360,15859488,15918571,15920672,15920880,15924256,16249582,16512288]}name(){return"windows-1251"}language(){return"ru"}};Gh.windows_1251=m4t;var h4t=class extends R8{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,129,32,131,32,32,32,32,136,32,138,32,156,141,142,143,144,32,32,32,32,32,32,32,152,32,154,32,156,32,32,159,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,32,32,32,32,32,32,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,32,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,32,32,32,32,244,32,32,32,32,249,32,251,252,32,32,255]}ngrams(){return[2148321,2148324,2148551,2153185,2153965,2154977,2155492,2156231,13050055,13091104,13093408,13095200,13099296,13099459,13099463,13099464,13099466,13099468,13099469,13099471,13099475,13099482,13099486,13099491,13099494,13099501,13099808,13100064,13100234,13115591,13181127,13181149,13181153,13181155,13181158,13246663,13574343,13617440,13705415,13748512,13836487,14295239,14344684,14544160,14753991,14797088,14806048,14806304,14885063,14927648,14928160,14935072,14950599,15016135,15058720,15124449,15131680,15474887,15540423,15540451,15540454,15583520,15585568,15590432]}name(){return"windows-1256"}language(){return"ar"}};Gh.windows_1256=h4t;var f4t=class extends R8{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,163,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,163,32,32,32,32,32,32,32,32,32,32,32,32,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223]}ngrams(){return[2147535,2148640,2149313,2149327,2150081,2150085,2150338,2150607,2150610,2151105,2151375,2151380,2151631,2152224,2152399,2153153,2153684,2154196,12701385,12702936,12963032,12963529,12964820,12964896,13094688,13181136,13223200,13224224,13226272,13419982,13420832,13424846,13549856,13550880,13552069,13552081,13553440,13553623,13574352,13574355,13574359,13617103,13617696,13618392,13618464,13620180,13621024,13621185,13684684,13685445,13685449,13685455,13812183,13813188,13881632,13882561,13882569,13882583,13944268,13946656,13946834,13948960,14272544,14603471]}name(){return"KOI8-R"}language(){return"ru"}};Gh.KOI8_R=f4t});var lui=xe(b_=>{"use strict";var Plr=b_&&b_.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(b_,"__esModule",{value:!0});b_.ISO_2022_CN=b_.ISO_2022_KR=b_.ISO_2022_JP=void 0;var Olr=Plr(yoe()),XCe=class{constructor(){this.escapeSequences=[]}name(){return"ISO_2022"}match(e){let i,o,r,n=0,a=0,s=0,l,c=e.inputBytes,d=e.inputLen;e:for(i=0;i<d;i++){if(c[i]==27){t:for(r=0;r<this.escapeSequences.length;r++){let u=this.escapeSequences[r];if(d-i<u.length)continue t;for(o=1;o<u.length;o++)if(u[o]!=c[i+o])continue t;n++,i+=u.length-1;continue e}a++}(c[i]==14||c[i]==15)&&s++}return n==0?null:(l=(100*n-100*a)/(n+a),n+s<5&&(l-=(5-(n+s))*10),l<=0?null:(0,Olr.default)(e,this,l))}},g4t=class extends XCe{constructor(){super(...arguments),this.escapeSequences=[[27,36,40,67],[27,36,40,68],[27,36,64],[27,36,65],[27,36,66],[27,38,64],[27,40,66],[27,40,72],[27,40,73],[27,40,74],[27,46,65],[27,46,70]]}name(){return"ISO-2022-JP"}language(){return"ja"}};b_.ISO_2022_JP=g4t;var b4t=class extends XCe{constructor(){super(...arguments),this.escapeSequences=[[27,36,41,67]]}name(){return"ISO-2022-KR"}language(){return"kr"}};b_.ISO_2022_KR=b4t;var y4t=class extends XCe{constructor(){super(...arguments),this.escapeSequences=[[27,36,41,65],[27,36,41,71],[27,36,42,72],[27,36,41,69],[27,36,43,73],[27,36,43,74],[27,36,43,75],[27,36,43,76],[27,36,43,77],[27,78],[27,79]]}name(){return"ISO-2022-CN"}language(){return"zh"}};b_.ISO_2022_CN=y4t});var cui=xe(IPe=>{"use strict";Object.defineProperty(IPe,"__esModule",{value:!0});IPe.isByteArray=void 0;var Rlr=t=>t==null||typeof t!="object"?!1:isFinite(t.length)&&t.length>=0;IPe.isByteArray=Rlr});var uui=xe(jm=>{"use strict";var _lr=jm&&jm.__createBinding||(Object.create?(function(t,e,i,o){o===void 0&&(o=i);var r=Object.getOwnPropertyDescriptor(e,i);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(t,o,r)}):(function(t,e,i,o){o===void 0&&(o=i),t[o]=e[i]})),jlr=jm&&jm.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),vPe=jm&&jm.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i in t)i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)&&_lr(e,t,i);return jlr(e,t),e},C4t=jm&&jm.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(jm,"__esModule",{value:!0});jm.detectFileSync=jm.detectFile=jm.analyse=jm.detect=void 0;var dui=C4t($di()),Blr=C4t(tui()),zlr=C4t(iui()),LPe=vPe(oui()),$Ce=vPe(nui()),y_=vPe(sui()),w4t=vPe(lui()),Flr=cui(),Ulr=[new zlr.default,new LPe.UTF_16BE,new LPe.UTF_16LE,new LPe.UTF_32BE,new LPe.UTF_32LE,new $Ce.sjis,new $Ce.big5,new $Ce.euc_jp,new $Ce.euc_kr,new $Ce.gb_18030,new w4t.ISO_2022_JP,new w4t.ISO_2022_KR,new w4t.ISO_2022_CN,new y_.ISO_8859_1,new y_.ISO_8859_2,new y_.ISO_8859_5,new y_.ISO_8859_6,new y_.ISO_8859_7,new y_.ISO_8859_8,new y_.ISO_8859_9,new y_.windows_1251,new y_.windows_1256,new y_.KOI8_R,new Blr.default],Vlr=t=>{let e=(0,jm.analyse)(t);return e.length>0?e[0].name:null};jm.detect=Vlr;var Hlr=t=>{if(!(0,Flr.isByteArray)(t))throw new Error("Input must be a byte array, e.g. Buffer or Uint8Array");let e=[];for(let n=0;n<256;n++)e[n]=0;for(let n=t.length-1;n>=0;n--)e[t[n]&255]++;let i=!1;for(let n=128;n<=159;n+=1)if(e[n]!==0){i=!0;break}let o={byteStats:e,c1Bytes:i,rawInput:t,rawLen:t.length,inputBytes:t,inputLen:t.length};return Ulr.map(n=>n.match(o)).filter(n=>!!n).sort((n,a)=>a.confidence-n.confidence)};jm.analyse=Hlr;var Glr=(t,e={})=>new Promise((i,o)=>{let r,n=(0,dui.default)(),a=(s,l)=>{r&&n.closeSync(r),s?o(s):i((0,jm.detect)(l))};if(e&&e.sampleSize){r=n.openSync(t,"r");let s=Buffer.allocUnsafe(e.sampleSize);n.read(r,s,0,e.sampleSize,e.offset,l=>{a(l,s)});return}n.readFile(t,a)});jm.detectFile=Glr;var Ylr=(t,e={})=>{let i=(0,dui.default)();if(e&&e.sampleSize){let o=i.openSync(t,"r"),r=Buffer.allocUnsafe(e.sampleSize);return i.readSync(o,r,0,e.sampleSize,e.offset),i.closeSync(o),(0,jm.detect)(r)}return(0,jm.detect)(i.readFileSync(t))};jm.detectFileSync=Ylr;jm.default={analyse:jm.analyse,detect:jm.detect,detectFileSync:jm.detectFileSync,detectFile:jm.detectFile}});var hui=xe(DPe=>{"use strict";DPe.byteLength=Qlr;DPe.toByteArray=Zlr;DPe.fromByteArray=Xlr;var w_=[],_8=[],Wlr=typeof Uint8Array<"u"?Uint8Array:Array,x4t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Coe=0,pui=x4t.length;Coe<pui;++Coe)w_[Coe]=x4t[Coe],_8[x4t.charCodeAt(Coe)]=Coe;var Coe,pui;_8[45]=62;_8[95]=63;function mui(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");i===-1&&(i=e);var o=i===e?0:4-i%4;return[i,o]}function Qlr(t){var e=mui(t),i=e[0],o=e[1];return(i+o)*3/4-o}function Klr(t,e,i){return(e+i)*3/4-i}function Zlr(t){var e,i=mui(t),o=i[0],r=i[1],n=new Wlr(Klr(t,o,r)),a=0,s=r>0?o-4:o,l;for(l=0;l<s;l+=4)e=_8[t.charCodeAt(l)]<<18|_8[t.charCodeAt(l+1)]<<12|_8[t.charCodeAt(l+2)]<<6|_8[t.charCodeAt(l+3)],n[a++]=e>>16&255,n[a++]=e>>8&255,n[a++]=e&255;return r===2&&(e=_8[t.charCodeAt(l)]<<2|_8[t.charCodeAt(l+1)]>>4,n[a++]=e&255),r===1&&(e=_8[t.charCodeAt(l)]<<10|_8[t.charCodeAt(l+1)]<<4|_8[t.charCodeAt(l+2)]>>2,n[a++]=e>>8&255,n[a++]=e&255),n}function Jlr(t){return w_[t>>18&63]+w_[t>>12&63]+w_[t>>6&63]+w_[t&63]}function qlr(t,e,i){for(var o,r=[],n=e;n<i;n+=3)o=(t[n]<<16&16711680)+(t[n+1]<<8&65280)+(t[n+2]&255),r.push(Jlr(o));return r.join("")}function Xlr(t){for(var e,i=t.length,o=i%3,r=[],n=16383,a=0,s=i-o;a<s;a+=n)r.push(qlr(t,a,a+n>s?s:a+n));return o===1?(e=t[i-1],r.push(w_[e>>2]+w_[e<<4&63]+"==")):o===2&&(e=(t[i-2]<<8)+t[i-1],r.push(w_[e>>10]+w_[e>>4&63]+w_[e<<2&63]+"=")),r.join("")}});var fui=xe(T4t=>{T4t.read=function(t,e,i,o,r){var n,a,s=r*8-o-1,l=(1<<s)-1,c=l>>1,d=-7,u=i?r-1:0,p=i?-1:1,m=t[e+u];for(u+=p,n=m&(1<<-d)-1,m>>=-d,d+=s;d>0;n=n*256+t[e+u],u+=p,d-=8);for(a=n&(1<<-d)-1,n>>=-d,d+=o;d>0;a=a*256+t[e+u],u+=p,d-=8);if(n===0)n=1-c;else{if(n===l)return a?NaN:(m?-1:1)*(1/0);a=a+Math.pow(2,o),n=n-c}return(m?-1:1)*a*Math.pow(2,n-o)};T4t.write=function(t,e,i,o,r,n){var a,s,l,c=n*8-r-1,d=(1<<c)-1,u=d>>1,p=r===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=o?0:n-1,h=o?1:-1,f=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=d):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+u>=1?e+=p/l:e+=p*Math.pow(2,1-u),e*l>=2&&(a++,l/=2),a+u>=d?(s=0,a=d):a+u>=1?(s=(e*l-1)*Math.pow(2,r),a=a+u):(s=e*Math.pow(2,u-1)*Math.pow(2,r),a=0));r>=8;t[i+m]=s&255,m+=h,s/=256,r-=8);for(a=a<<r|s,c+=r;c>0;t[i+m]=a&255,m+=h,a/=256,c-=8);t[i+m-h]|=f*128}});var txe=xe(m0e=>{"use strict";var S4t=hui(),u0e=fui(),gui=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;m0e.Buffer=Co;m0e.SlowBuffer=rcr;m0e.INSPECT_MAX_BYTES=50;var EPe=2147483647;m0e.kMaxLength=EPe;Co.TYPED_ARRAY_SUPPORT=$lr();!Co.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function $lr(){try{let t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch{return!1}}Object.defineProperty(Co.prototype,"parent",{enumerable:!0,get:function(){if(Co.isBuffer(this))return this.buffer}});Object.defineProperty(Co.prototype,"offset",{enumerable:!0,get:function(){if(Co.isBuffer(this))return this.byteOffset}});function GU(t){if(t>EPe)throw new RangeError('The value "'+t+'" is invalid for option "size"');let e=new Uint8Array(t);return Object.setPrototypeOf(e,Co.prototype),e}function Co(t,e,i){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return v4t(t)}return Cui(t,e,i)}Co.poolSize=8192;function Cui(t,e,i){if(typeof t=="string")return tcr(t,e);if(ArrayBuffer.isView(t))return icr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(C_(t,ArrayBuffer)||t&&C_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(C_(t,SharedArrayBuffer)||t&&C_(t.buffer,SharedArrayBuffer)))return I4t(t,e,i);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let o=t.valueOf&&t.valueOf();if(o!=null&&o!==t)return Co.from(o,e,i);let r=ocr(t);if(r)return r;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return Co.from(t[Symbol.toPrimitive]("string"),e,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}Co.from=function(t,e,i){return Cui(t,e,i)};Object.setPrototypeOf(Co.prototype,Uint8Array.prototype);Object.setPrototypeOf(Co,Uint8Array);function xui(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function ecr(t,e,i){return xui(t),t<=0?GU(t):e!==void 0?typeof i=="string"?GU(t).fill(e,i):GU(t).fill(e):GU(t)}Co.alloc=function(t,e,i){return ecr(t,e,i)};function v4t(t){return xui(t),GU(t<0?0:D4t(t)|0)}Co.allocUnsafe=function(t){return v4t(t)};Co.allocUnsafeSlow=function(t){return v4t(t)};function tcr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!Co.isEncoding(e))throw new TypeError("Unknown encoding: "+e);let i=Tui(t,e)|0,o=GU(i),r=o.write(t,e);return r!==i&&(o=o.slice(0,r)),o}function M4t(t){let e=t.length<0?0:D4t(t.length)|0,i=GU(e);for(let o=0;o<e;o+=1)i[o]=t[o]&255;return i}function icr(t){if(C_(t,Uint8Array)){let e=new Uint8Array(t);return I4t(e.buffer,e.byteOffset,e.byteLength)}return M4t(t)}function I4t(t,e,i){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(i||0))throw new RangeError('"length" is outside of buffer bounds');let o;return e===void 0&&i===void 0?o=new Uint8Array(t):i===void 0?o=new Uint8Array(t,e):o=new Uint8Array(t,e,i),Object.setPrototypeOf(o,Co.prototype),o}function ocr(t){if(Co.isBuffer(t)){let e=D4t(t.length)|0,i=GU(e);return i.length===0||t.copy(i,0,0,e),i}if(t.length!==void 0)return typeof t.length!="number"||A4t(t.length)?GU(0):M4t(t);if(t.type==="Buffer"&&Array.isArray(t.data))return M4t(t.data)}function D4t(t){if(t>=EPe)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+EPe.toString(16)+" bytes");return t|0}function rcr(t){return+t!=t&&(t=0),Co.alloc(+t)}Co.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==Co.prototype};Co.compare=function(e,i){if(C_(e,Uint8Array)&&(e=Co.from(e,e.offset,e.byteLength)),C_(i,Uint8Array)&&(i=Co.from(i,i.offset,i.byteLength)),!Co.isBuffer(e)||!Co.isBuffer(i))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===i)return 0;let o=e.length,r=i.length;for(let n=0,a=Math.min(o,r);n<a;++n)if(e[n]!==i[n]){o=e[n],r=i[n];break}return o<r?-1:r<o?1:0};Co.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};Co.concat=function(e,i){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return Co.alloc(0);let o;if(i===void 0)for(i=0,o=0;o<e.length;++o)i+=e[o].length;let r=Co.allocUnsafe(i),n=0;for(o=0;o<e.length;++o){let a=e[o];if(C_(a,Uint8Array))n+a.length>r.length?(Co.isBuffer(a)||(a=Co.from(a)),a.copy(r,n)):Uint8Array.prototype.set.call(r,a,n);else if(Co.isBuffer(a))a.copy(r,n);else throw new TypeError('"list" argument must be an Array of Buffers');n+=a.length}return r};function Tui(t,e){if(Co.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||C_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);let i=t.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&i===0)return 0;let r=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return L4t(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i*2;case"hex":return i>>>1;case"base64":return Nui(t).length;default:if(r)return o?-1:L4t(t).length;e=(""+e).toLowerCase(),r=!0}}Co.byteLength=Tui;function ncr(t,e,i){let o=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((i===void 0||i>this.length)&&(i=this.length),i<=0)||(i>>>=0,e>>>=0,i<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return fcr(this,e,i);case"utf8":case"utf-8":return Mui(this,e,i);case"ascii":return mcr(this,e,i);case"latin1":case"binary":return hcr(this,e,i);case"base64":return ucr(this,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gcr(this,e,i);default:if(o)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),o=!0}}Co.prototype._isBuffer=!0;function xoe(t,e,i){let o=t[e];t[e]=t[i],t[i]=o}Co.prototype.swap16=function(){let e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let i=0;i<e;i+=2)xoe(this,i,i+1);return this};Co.prototype.swap32=function(){let e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let i=0;i<e;i+=4)xoe(this,i,i+3),xoe(this,i+1,i+2);return this};Co.prototype.swap64=function(){let e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let i=0;i<e;i+=8)xoe(this,i,i+7),xoe(this,i+1,i+6),xoe(this,i+2,i+5),xoe(this,i+3,i+4);return this};Co.prototype.toString=function(){let e=this.length;return e===0?"":arguments.length===0?Mui(this,0,e):ncr.apply(this,arguments)};Co.prototype.toLocaleString=Co.prototype.toString;Co.prototype.equals=function(e){if(!Co.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:Co.compare(this,e)===0};Co.prototype.inspect=function(){let e="",i=m0e.INSPECT_MAX_BYTES;return e=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(e+=" ... "),"<Buffer "+e+">"};gui&&(Co.prototype[gui]=Co.prototype.inspect);Co.prototype.compare=function(e,i,o,r,n){if(C_(e,Uint8Array)&&(e=Co.from(e,e.offset,e.byteLength)),!Co.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(i===void 0&&(i=0),o===void 0&&(o=e?e.length:0),r===void 0&&(r=0),n===void 0&&(n=this.length),i<0||o>e.length||r<0||n>this.length)throw new RangeError("out of range index");if(r>=n&&i>=o)return 0;if(r>=n)return-1;if(i>=o)return 1;if(i>>>=0,o>>>=0,r>>>=0,n>>>=0,this===e)return 0;let a=n-r,s=o-i,l=Math.min(a,s),c=this.slice(r,n),d=e.slice(i,o);for(let u=0;u<l;++u)if(c[u]!==d[u]){a=c[u],s=d[u];break}return a<s?-1:s<a?1:0};function Sui(t,e,i,o,r){if(t.length===0)return-1;if(typeof i=="string"?(o=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,A4t(i)&&(i=r?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(r)return-1;i=t.length-1}else if(i<0)if(r)i=0;else return-1;if(typeof e=="string"&&(e=Co.from(e,o)),Co.isBuffer(e))return e.length===0?-1:bui(t,e,i,o,r);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?r?Uint8Array.prototype.indexOf.call(t,e,i):Uint8Array.prototype.lastIndexOf.call(t,e,i):bui(t,[e],i,o,r);throw new TypeError("val must be string, number or Buffer")}function bui(t,e,i,o,r){let n=1,a=t.length,s=e.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(t.length<2||e.length<2)return-1;n=2,a/=2,s/=2,i/=2}function l(d,u){return n===1?d[u]:d.readUInt16BE(u*n)}let c;if(r){let d=-1;for(c=i;c<a;c++)if(l(t,c)===l(e,d===-1?0:c-d)){if(d===-1&&(d=c),c-d+1===s)return d*n}else d!==-1&&(c-=c-d),d=-1}else for(i+s>a&&(i=a-s),c=i;c>=0;c--){let d=!0;for(let u=0;u<s;u++)if(l(t,c+u)!==l(e,u)){d=!1;break}if(d)return c}return-1}Co.prototype.includes=function(e,i,o){return this.indexOf(e,i,o)!==-1};Co.prototype.indexOf=function(e,i,o){return Sui(this,e,i,o,!0)};Co.prototype.lastIndexOf=function(e,i,o){return Sui(this,e,i,o,!1)};function acr(t,e,i,o){i=Number(i)||0;let r=t.length-i;o?(o=Number(o),o>r&&(o=r)):o=r;let n=e.length;o>n/2&&(o=n/2);let a;for(a=0;a<o;++a){let s=parseInt(e.substr(a*2,2),16);if(A4t(s))return a;t[i+a]=s}return a}function scr(t,e,i,o){return APe(L4t(e,t.length-i),t,i,o)}function lcr(t,e,i,o){return APe(Ccr(e),t,i,o)}function ccr(t,e,i,o){return APe(Nui(e),t,i,o)}function dcr(t,e,i,o){return APe(xcr(e,t.length-i),t,i,o)}Co.prototype.write=function(e,i,o,r){if(i===void 0)r="utf8",o=this.length,i=0;else if(o===void 0&&typeof i=="string")r=i,o=this.length,i=0;else if(isFinite(i))i=i>>>0,isFinite(o)?(o=o>>>0,r===void 0&&(r="utf8")):(r=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let n=this.length-i;if((o===void 0||o>n)&&(o=n),e.length>0&&(o<0||i<0)||i>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let a=!1;for(;;)switch(r){case"hex":return acr(this,e,i,o);case"utf8":case"utf-8":return scr(this,e,i,o);case"ascii":case"latin1":case"binary":return lcr(this,e,i,o);case"base64":return ccr(this,e,i,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return dcr(this,e,i,o);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}};Co.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ucr(t,e,i){return e===0&&i===t.length?S4t.fromByteArray(t):S4t.fromByteArray(t.slice(e,i))}function Mui(t,e,i){i=Math.min(t.length,i);let o=[],r=e;for(;r<i;){let n=t[r],a=null,s=n>239?4:n>223?3:n>191?2:1;if(r+s<=i){let l,c,d,u;switch(s){case 1:n<128&&(a=n);break;case 2:l=t[r+1],(l&192)===128&&(u=(n&31)<<6|l&63,u>127&&(a=u));break;case 3:l=t[r+1],c=t[r+2],(l&192)===128&&(c&192)===128&&(u=(n&15)<<12|(l&63)<<6|c&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:l=t[r+1],c=t[r+2],d=t[r+3],(l&192)===128&&(c&192)===128&&(d&192)===128&&(u=(n&15)<<18|(l&63)<<12|(c&63)<<6|d&63,u>65535&&u<1114112&&(a=u))}}a===null?(a=65533,s=1):a>65535&&(a-=65536,o.push(a>>>10&1023|55296),a=56320|a&1023),o.push(a),r+=s}return pcr(o)}var yui=4096;function pcr(t){let e=t.length;if(e<=yui)return String.fromCharCode.apply(String,t);let i="",o=0;for(;o<e;)i+=String.fromCharCode.apply(String,t.slice(o,o+=yui));return i}function mcr(t,e,i){let o="";i=Math.min(t.length,i);for(let r=e;r<i;++r)o+=String.fromCharCode(t[r]&127);return o}function hcr(t,e,i){let o="";i=Math.min(t.length,i);for(let r=e;r<i;++r)o+=String.fromCharCode(t[r]);return o}function fcr(t,e,i){let o=t.length;(!e||e<0)&&(e=0),(!i||i<0||i>o)&&(i=o);let r="";for(let n=e;n<i;++n)r+=Tcr[t[n]];return r}function gcr(t,e,i){let o=t.slice(e,i),r="";for(let n=0;n<o.length-1;n+=2)r+=String.fromCharCode(o[n]+o[n+1]*256);return r}Co.prototype.slice=function(e,i){let o=this.length;e=~~e,i=i===void 0?o:~~i,e<0?(e+=o,e<0&&(e=0)):e>o&&(e=o),i<0?(i+=o,i<0&&(i=0)):i>o&&(i=o),i<e&&(i=e);let r=this.subarray(e,i);return Object.setPrototypeOf(r,Co.prototype),r};function w3(t,e,i){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>i)throw new RangeError("Trying to access beyond buffer length")}Co.prototype.readUintLE=Co.prototype.readUIntLE=function(e,i,o){e=e>>>0,i=i>>>0,o||w3(e,i,this.length);let r=this[e],n=1,a=0;for(;++a<i&&(n*=256);)r+=this[e+a]*n;return r};Co.prototype.readUintBE=Co.prototype.readUIntBE=function(e,i,o){e=e>>>0,i=i>>>0,o||w3(e,i,this.length);let r=this[e+--i],n=1;for(;i>0&&(n*=256);)r+=this[e+--i]*n;return r};Co.prototype.readUint8=Co.prototype.readUInt8=function(e,i){return e=e>>>0,i||w3(e,1,this.length),this[e]};Co.prototype.readUint16LE=Co.prototype.readUInt16LE=function(e,i){return e=e>>>0,i||w3(e,2,this.length),this[e]|this[e+1]<<8};Co.prototype.readUint16BE=Co.prototype.readUInt16BE=function(e,i){return e=e>>>0,i||w3(e,2,this.length),this[e]<<8|this[e+1]};Co.prototype.readUint32LE=Co.prototype.readUInt32LE=function(e,i){return e=e>>>0,i||w3(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};Co.prototype.readUint32BE=Co.prototype.readUInt32BE=function(e,i){return e=e>>>0,i||w3(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};Co.prototype.readBigUInt64LE=XK(function(e){e=e>>>0,p0e(e,"offset");let i=this[e],o=this[e+7];(i===void 0||o===void 0)&&exe(e,this.length-8);let r=i+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,n=this[++e]+this[++e]*2**8+this[++e]*2**16+o*2**24;return BigInt(r)+(BigInt(n)<<BigInt(32))});Co.prototype.readBigUInt64BE=XK(function(e){e=e>>>0,p0e(e,"offset");let i=this[e],o=this[e+7];(i===void 0||o===void 0)&&exe(e,this.length-8);let r=i*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],n=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+o;return(BigInt(r)<<BigInt(32))+BigInt(n)});Co.prototype.readIntLE=function(e,i,o){e=e>>>0,i=i>>>0,o||w3(e,i,this.length);let r=this[e],n=1,a=0;for(;++a<i&&(n*=256);)r+=this[e+a]*n;return n*=128,r>=n&&(r-=Math.pow(2,8*i)),r};Co.prototype.readIntBE=function(e,i,o){e=e>>>0,i=i>>>0,o||w3(e,i,this.length);let r=i,n=1,a=this[e+--r];for(;r>0&&(n*=256);)a+=this[e+--r]*n;return n*=128,a>=n&&(a-=Math.pow(2,8*i)),a};Co.prototype.readInt8=function(e,i){return e=e>>>0,i||w3(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};Co.prototype.readInt16LE=function(e,i){e=e>>>0,i||w3(e,2,this.length);let o=this[e]|this[e+1]<<8;return o&32768?o|4294901760:o};Co.prototype.readInt16BE=function(e,i){e=e>>>0,i||w3(e,2,this.length);let o=this[e+1]|this[e]<<8;return o&32768?o|4294901760:o};Co.prototype.readInt32LE=function(e,i){return e=e>>>0,i||w3(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};Co.prototype.readInt32BE=function(e,i){return e=e>>>0,i||w3(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};Co.prototype.readBigInt64LE=XK(function(e){e=e>>>0,p0e(e,"offset");let i=this[e],o=this[e+7];(i===void 0||o===void 0)&&exe(e,this.length-8);let r=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(o<<24);return(BigInt(r)<<BigInt(32))+BigInt(i+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24)});Co.prototype.readBigInt64BE=XK(function(e){e=e>>>0,p0e(e,"offset");let i=this[e],o=this[e+7];(i===void 0||o===void 0)&&exe(e,this.length-8);let r=(i<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+o)});Co.prototype.readFloatLE=function(e,i){return e=e>>>0,i||w3(e,4,this.length),u0e.read(this,e,!0,23,4)};Co.prototype.readFloatBE=function(e,i){return e=e>>>0,i||w3(e,4,this.length),u0e.read(this,e,!1,23,4)};Co.prototype.readDoubleLE=function(e,i){return e=e>>>0,i||w3(e,8,this.length),u0e.read(this,e,!0,52,8)};Co.prototype.readDoubleBE=function(e,i){return e=e>>>0,i||w3(e,8,this.length),u0e.read(this,e,!1,52,8)};function z6(t,e,i,o,r,n){if(!Co.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<n)throw new RangeError('"value" argument is out of bounds');if(i+o>t.length)throw new RangeError("Index out of range")}Co.prototype.writeUintLE=Co.prototype.writeUIntLE=function(e,i,o,r){if(e=+e,i=i>>>0,o=o>>>0,!r){let s=Math.pow(2,8*o)-1;z6(this,e,i,o,s,0)}let n=1,a=0;for(this[i]=e&255;++a<o&&(n*=256);)this[i+a]=e/n&255;return i+o};Co.prototype.writeUintBE=Co.prototype.writeUIntBE=function(e,i,o,r){if(e=+e,i=i>>>0,o=o>>>0,!r){let s=Math.pow(2,8*o)-1;z6(this,e,i,o,s,0)}let n=o-1,a=1;for(this[i+n]=e&255;--n>=0&&(a*=256);)this[i+n]=e/a&255;return i+o};Co.prototype.writeUint8=Co.prototype.writeUInt8=function(e,i,o){return e=+e,i=i>>>0,o||z6(this,e,i,1,255,0),this[i]=e&255,i+1};Co.prototype.writeUint16LE=Co.prototype.writeUInt16LE=function(e,i,o){return e=+e,i=i>>>0,o||z6(this,e,i,2,65535,0),this[i]=e&255,this[i+1]=e>>>8,i+2};Co.prototype.writeUint16BE=Co.prototype.writeUInt16BE=function(e,i,o){return e=+e,i=i>>>0,o||z6(this,e,i,2,65535,0),this[i]=e>>>8,this[i+1]=e&255,i+2};Co.prototype.writeUint32LE=Co.prototype.writeUInt32LE=function(e,i,o){return e=+e,i=i>>>0,o||z6(this,e,i,4,4294967295,0),this[i+3]=e>>>24,this[i+2]=e>>>16,this[i+1]=e>>>8,this[i]=e&255,i+4};Co.prototype.writeUint32BE=Co.prototype.writeUInt32BE=function(e,i,o){return e=+e,i=i>>>0,o||z6(this,e,i,4,4294967295,0),this[i]=e>>>24,this[i+1]=e>>>16,this[i+2]=e>>>8,this[i+3]=e&255,i+4};function Iui(t,e,i,o,r){Aui(e,o,r,t,i,7);let n=Number(e&BigInt(4294967295));t[i++]=n,n=n>>8,t[i++]=n,n=n>>8,t[i++]=n,n=n>>8,t[i++]=n;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[i++]=a,a=a>>8,t[i++]=a,a=a>>8,t[i++]=a,a=a>>8,t[i++]=a,i}function Lui(t,e,i,o,r){Aui(e,o,r,t,i,7);let n=Number(e&BigInt(4294967295));t[i+7]=n,n=n>>8,t[i+6]=n,n=n>>8,t[i+5]=n,n=n>>8,t[i+4]=n;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[i+3]=a,a=a>>8,t[i+2]=a,a=a>>8,t[i+1]=a,a=a>>8,t[i]=a,i+8}Co.prototype.writeBigUInt64LE=XK(function(e,i=0){return Iui(this,e,i,BigInt(0),BigInt("0xffffffffffffffff"))});Co.prototype.writeBigUInt64BE=XK(function(e,i=0){return Lui(this,e,i,BigInt(0),BigInt("0xffffffffffffffff"))});Co.prototype.writeIntLE=function(e,i,o,r){if(e=+e,i=i>>>0,!r){let l=Math.pow(2,8*o-1);z6(this,e,i,o,l-1,-l)}let n=0,a=1,s=0;for(this[i]=e&255;++n<o&&(a*=256);)e<0&&s===0&&this[i+n-1]!==0&&(s=1),this[i+n]=(e/a>>0)-s&255;return i+o};Co.prototype.writeIntBE=function(e,i,o,r){if(e=+e,i=i>>>0,!r){let l=Math.pow(2,8*o-1);z6(this,e,i,o,l-1,-l)}let n=o-1,a=1,s=0;for(this[i+n]=e&255;--n>=0&&(a*=256);)e<0&&s===0&&this[i+n+1]!==0&&(s=1),this[i+n]=(e/a>>0)-s&255;return i+o};Co.prototype.writeInt8=function(e,i,o){return e=+e,i=i>>>0,o||z6(this,e,i,1,127,-128),e<0&&(e=255+e+1),this[i]=e&255,i+1};Co.prototype.writeInt16LE=function(e,i,o){return e=+e,i=i>>>0,o||z6(this,e,i,2,32767,-32768),this[i]=e&255,this[i+1]=e>>>8,i+2};Co.prototype.writeInt16BE=function(e,i,o){return e=+e,i=i>>>0,o||z6(this,e,i,2,32767,-32768),this[i]=e>>>8,this[i+1]=e&255,i+2};Co.prototype.writeInt32LE=function(e,i,o){return e=+e,i=i>>>0,o||z6(this,e,i,4,2147483647,-2147483648),this[i]=e&255,this[i+1]=e>>>8,this[i+2]=e>>>16,this[i+3]=e>>>24,i+4};Co.prototype.writeInt32BE=function(e,i,o){return e=+e,i=i>>>0,o||z6(this,e,i,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[i]=e>>>24,this[i+1]=e>>>16,this[i+2]=e>>>8,this[i+3]=e&255,i+4};Co.prototype.writeBigInt64LE=XK(function(e,i=0){return Iui(this,e,i,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});Co.prototype.writeBigInt64BE=XK(function(e,i=0){return Lui(this,e,i,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function vui(t,e,i,o,r,n){if(i+o>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function Dui(t,e,i,o,r){return e=+e,i=i>>>0,r||vui(t,e,i,4,34028234663852886e22,-34028234663852886e22),u0e.write(t,e,i,o,23,4),i+4}Co.prototype.writeFloatLE=function(e,i,o){return Dui(this,e,i,!0,o)};Co.prototype.writeFloatBE=function(e,i,o){return Dui(this,e,i,!1,o)};function Eui(t,e,i,o,r){return e=+e,i=i>>>0,r||vui(t,e,i,8,17976931348623157e292,-17976931348623157e292),u0e.write(t,e,i,o,52,8),i+8}Co.prototype.writeDoubleLE=function(e,i,o){return Eui(this,e,i,!0,o)};Co.prototype.writeDoubleBE=function(e,i,o){return Eui(this,e,i,!1,o)};Co.prototype.copy=function(e,i,o,r){if(!Co.isBuffer(e))throw new TypeError("argument should be a Buffer");if(o||(o=0),!r&&r!==0&&(r=this.length),i>=e.length&&(i=e.length),i||(i=0),r>0&&r<o&&(r=o),r===o||e.length===0||this.length===0)return 0;if(i<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-i<r-o&&(r=e.length-i+o);let n=r-o;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(i,o,r):Uint8Array.prototype.set.call(e,this.subarray(o,r),i),n};Co.prototype.fill=function(e,i,o,r){if(typeof e=="string"){if(typeof i=="string"?(r=i,i=0,o=this.length):typeof o=="string"&&(r=o,o=this.length),r!==void 0&&typeof r!="string")throw new TypeError("encoding must be a string");if(typeof r=="string"&&!Co.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(e.length===1){let a=e.charCodeAt(0);(r==="utf8"&&a<128||r==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(i<0||this.length<i||this.length<o)throw new RangeError("Out of range index");if(o<=i)return this;i=i>>>0,o=o===void 0?this.length:o>>>0,e||(e=0);let n;if(typeof e=="number")for(n=i;n<o;++n)this[n]=e;else{let a=Co.isBuffer(e)?e:Co.from(e,r),s=a.length;if(s===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(n=0;n<o-i;++n)this[n+i]=a[n%s]}return this};var d0e={};function E4t(t,e,i){d0e[t]=class extends i{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(r){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:r,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}E4t("ERR_BUFFER_OUT_OF_BOUNDS",function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError);E4t("ERR_INVALID_ARG_TYPE",function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`},TypeError);E4t("ERR_OUT_OF_RANGE",function(t,e,i){let o=`The value of "${t}" is out of range.`,r=i;return Number.isInteger(i)&&Math.abs(i)>2**32?r=wui(String(i)):typeof i=="bigint"&&(r=String(i),(i>BigInt(2)**BigInt(32)||i<-(BigInt(2)**BigInt(32)))&&(r=wui(r)),r+="n"),o+=` It must be ${e}. Received ${r}`,o},RangeError);function wui(t){let e="",i=t.length,o=t[0]==="-"?1:0;for(;i>=o+4;i-=3)e=`_${t.slice(i-3,i)}${e}`;return`${t.slice(0,i)}${e}`}function bcr(t,e,i){p0e(e,"offset"),(t[e]===void 0||t[e+i]===void 0)&&exe(e,t.length-(i+1))}function Aui(t,e,i,o,r,n){if(t>i||t<e){let a=typeof e=="bigint"?"n":"",s;throw n>3?e===0||e===BigInt(0)?s=`>= 0${a} and < 2${a} ** ${(n+1)*8}${a}`:s=`>= -(2${a} ** ${(n+1)*8-1}${a}) and < 2 ** ${(n+1)*8-1}${a}`:s=`>= ${e}${a} and <= ${i}${a}`,new d0e.ERR_OUT_OF_RANGE("value",s,t)}bcr(o,r,n)}function p0e(t,e){if(typeof t!="number")throw new d0e.ERR_INVALID_ARG_TYPE(e,"number",t)}function exe(t,e,i){throw Math.floor(t)!==t?(p0e(t,i),new d0e.ERR_OUT_OF_RANGE(i||"offset","an integer",t)):e<0?new d0e.ERR_BUFFER_OUT_OF_BOUNDS:new d0e.ERR_OUT_OF_RANGE(i||"offset",`>= ${i?1:0} and <= ${e}`,t)}var ycr=/[^+/0-9A-Za-z-_]/g;function wcr(t){if(t=t.split("=")[0],t=t.trim().replace(ycr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function L4t(t,e){e=e||1/0;let i,o=t.length,r=null,n=[];for(let a=0;a<o;++a){if(i=t.charCodeAt(a),i>55295&&i<57344){if(!r){if(i>56319){(e-=3)>-1&&n.push(239,191,189);continue}else if(a+1===o){(e-=3)>-1&&n.push(239,191,189);continue}r=i;continue}if(i<56320){(e-=3)>-1&&n.push(239,191,189),r=i;continue}i=(r-55296<<10|i-56320)+65536}else r&&(e-=3)>-1&&n.push(239,191,189);if(r=null,i<128){if((e-=1)<0)break;n.push(i)}else if(i<2048){if((e-=2)<0)break;n.push(i>>6|192,i&63|128)}else if(i<65536){if((e-=3)<0)break;n.push(i>>12|224,i>>6&63|128,i&63|128)}else if(i<1114112){if((e-=4)<0)break;n.push(i>>18|240,i>>12&63|128,i>>6&63|128,i&63|128)}else throw new Error("Invalid code point")}return n}function Ccr(t){let e=[];for(let i=0;i<t.length;++i)e.push(t.charCodeAt(i)&255);return e}function xcr(t,e){let i,o,r,n=[];for(let a=0;a<t.length&&!((e-=2)<0);++a)i=t.charCodeAt(a),o=i>>8,r=i%256,n.push(r),n.push(o);return n}function Nui(t){return S4t.toByteArray(wcr(t))}function APe(t,e,i,o){let r;for(r=0;r<o&&!(r+i>=e.length||r>=t.length);++r)e[r+i]=t[r];return r}function C_(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function A4t(t){return t!==t}var Tcr=(function(){let t="0123456789abcdef",e=new Array(256);for(let i=0;i<16;++i){let o=i*16;for(let r=0;r<16;++r)e[o+r]=t[i]+t[r]}return e})();function XK(t){return typeof BigInt>"u"?Scr:t}function Scr(){throw new Error("BigInt not supported")}});var Qui=xe((Tvn,Wui)=>{var VPe=[];VPe.push(".container_5uGzJ{gap:16px;height:100%;overflow:hidden}.container_5uGzJ,.content_ZgWXw{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.content_ZgWXw{border:1px solid var(--common-border-color);height:-webkit-calc(100% - 44px);height:-moz-calc(100% - 44px);height:calc(100% - 44px);overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll}.layer_7J41N{padding:15px 15px 0}.layer_7J41N:last-child{padding-bottom:15px}.footer_AIYJ8{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;gap:8px;justify-content:flex-end}");VPe=VPe.join("");Wui.exports={uuid:"1bfc778a-0ac3-4166-8845-9c8105be76fb",locals:{container:"container_5uGzJ",content:"content_ZgWXw",layer:"layer_7J41N",footer:"footer_AIYJ8"},toString(){return VPe}}});var Xui=xe((_vn,qui)=>{var HPe=[];HPe.push(".fontSelector_Ndpty{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:8px}");HPe=HPe.join("");qui.exports={uuid:"691a07e1-9415-4f1d-8e61-d1b59e7d016d",locals:{fontSelector:"fontSelector_Ndpty"},toString(){return HPe}}});var e0i=xe((jvn,$ui)=>{var j8=[];j8.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_ncoki{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_MyH3h{background-color:#efefef}.comm-btn-confirm_i0eQH{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_i0eQH:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_HsezZ{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_HsezZ:hover{border:1px solid #40a9ff!important}.opacity-none_sK8-M,.pointer-events-none_uFAcX{cursor:default;pointer-events:none!important}.opacity-none_sK8-M{opacity:0}.attr-prohibit_RI75r,.display-block_4qGtx{display:block}.display-none_gHHem{display:none!important}.display-flex_ULdqB{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_Cd3VS{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_XvZlY{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_45-lT{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_SvPQf{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_Wh5v2{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_NADRn{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_9M6wc{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_hdLI-{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_nAsy4{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_s7HMM{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_fDDVQ{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_EMLvY{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_-QS4I{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_YlK7d{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_IX4MI{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_kvJ2Y{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_AzqDE{color:#000!important}.color-white-important_3U6Cj{color:#fff!important}.bgcolor-red-important_zevsp{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.input-wrap_rqI3c{-moz-box-sizing:border-box;box-sizing:border-box;position:relative;width:100%}.input-wrap_rqI3c .input_qcJQX{padding-right:18px}.input-wrap_rqI3c .input_qcJQX.clear_Nm2tn{padding-right:34px}.input-wrap_rqI3c .input-icon_sMvE7{height:100%;position:absolute;right:2px;top:0}.input-wrap_rqI3c .input-icon_sMvE7 .icon-clear_JNnqc{background-position:50%;cursor:pointer;height:100%;margin-right:-1px;position:relative;top:-.5px}.input-wrap_rqI3c .input-icon_sMvE7 .arr-icon-down_gouHS,.input-wrap_rqI3c .input-icon_sMvE7 .icon-clear_JNnqc{display:block;-webkit-filter:var(--icon-color-drop-down-menuItem);filter:var(--icon-color-drop-down-menuItem)}.input-wrap_rqI3c .input-icon_sMvE7 .arr-icon-down_gouHS{background:");j8.push("url(");j8.push(JSON.stringify(I2()));j8.push(")");j8.push(" no-repeat 50%;background-size:12px 12px;height:20px;width:16px}.input-wrap_rqI3c .input-icon_sMvE7 .arr-icon-up_rTUV3{background:");j8.push("url(");j8.push(JSON.stringify(c0e()));j8.push(")");j8.push(" no-repeat 50%;background-size:12px 12px;display:block;-webkit-filter:var(--icon-color-drop-down-menuItem);filter:var(--icon-color-drop-down-menuItem);height:20px;width:16px}.hover-highlight_9D5g7:hover{background:var(--bg-color-hover-drop-down-menuItem);color:var(--font-color-hover-drop-down-menuItem)}.virtual-scroll-wrap_SiujY{overflow:auto;position:relative;width:inherit}.virtual-scroll-wrap_SiujY .block_9Wzq5{left:0;position:absolute;top:0;width:100%;z-index:-1}.virtual-scroll-wrap_SiujY .auto-width-padding_tC5vz{height:0;opacity:0;white-space:nowrap}");j8=j8.join("");$ui.exports={uuid:"57d6ad3b-7f48-459d-aa01-10c433f0f220",locals:{"comm-icon-add":"comm-icon-add_ncoki","comm-background-color-efefef":"comm-background-color-efefef_MyH3h","comm-btn-confirm":"comm-btn-confirm_i0eQH","comm-btn-cancel":"comm-btn-cancel_HsezZ","opacity-none":"opacity-none_sK8-M","pointer-events-none":"pointer-events-none_uFAcX","attr-prohibit":"attr-prohibit_RI75r","display-block":"display-block_4qGtx","display-none":"display-none_gHHem","display-flex":"display-flex_ULdqB","display-inline-flex":"display-inline-flex_Cd3VS","flex-lateral-axis-center":"flex-lateral-axis-center_XvZlY","flex-lateral-axis-start":"flex-lateral-axis-start_45-lT","flex-lateral-axis-end":"flex-lateral-axis-end_SvPQf","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_Wh5v2","flex-main-axis-center":"flex-main-axis-center_NADRn","flex-main-axis-start":"flex-main-axis-start_9M6wc","flex-main-axis-end":"flex-main-axis-end_hdLI-","flex-main-axis-around":"flex-main-axis-around_nAsy4","flex-main-axis-between":"flex-main-axis-between_s7HMM","flex-nowrap":"flex-nowrap_fDDVQ","flex-wrap":"flex-wrap_EMLvY","flex-direct-row":"flex-direct-row_-QS4I","flex-direct-rerow":"flex-direct-rerow_YlK7d","flex-direct-column":"flex-direct-column_IX4MI","flex-direct-recolumn":"flex-direct-recolumn_kvJ2Y","color-black-important":"color-black-important_AzqDE","color-white-important":"color-white-important_3U6Cj","bgcolor-red-important":"bgcolor-red-important_zevsp","input-wrap":"input-wrap_rqI3c",input:"input_qcJQX",clear:"clear_Nm2tn","input-icon":"input-icon_sMvE7","icon-clear":"icon-clear_JNnqc","arr-icon-down":"arr-icon-down_gouHS","arr-icon-up":"arr-icon-up_rTUV3","hover-highlight":"hover-highlight_9D5g7","virtual-scroll-wrap":"virtual-scroll-wrap_SiujY",block:"block_9Wzq5","auto-width-padding":"auto-width-padding_tC5vz"},toString(){return j8}}});var m0i=xe((zDn,p0i)=>{var JPe=[];JPe.push(".modify-pcb-text-suspension-container_cI2Hn{background-color:var(--common-bg-color);box-shadow:0 0 10px 5px #666;left:0;overflow:auto;padding:2px;position:absolute;top:0}.modify-pcb-text-suspension-container_cI2Hn .textarea_0XKR5{border:1px solid var(--border-color-focus-input);height:144px;line-height:16px;padding:5px;resize:auto;width:255px}.modify-pcb-text-suspension-container_cI2Hn .bottom-tip_V25ui{color:var(--font-color-input);margin-left:1px}");JPe=JPe.join("");p0i.exports={uuid:"435f1260-a9ab-42c8-88c4-fcc259a3206a",locals:{"modify-pcb-text-suspension-container":"modify-pcb-text-suspension-container_cI2Hn",textarea:"textarea_0XKR5","bottom-tip":"bottom-tip_V25ui"},toString(){return JPe}}});var D0i=xe((MEn,v0i)=>{var oOe=[];oOe.push(".icon-eda-x-circle_AqkaB.clear-input-circle_49zrh{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.log-container-left_aPwu-{border-right:thin solid var(--common-border-color-1);-webkit-flex-shrink:0;flex-shrink:0;min-width:150px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;padding:5px}.log-container-left_aPwu-,.log-container-left_aPwu- .log-btns_VQ4Fk{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;gap:5px}.log-container-left_aPwu- .log-category_nERmo{border:thin solid var(--common-border-color-1);height:100%;min-width:160px;padding:8px}.log-container-content_6ql46,.log-container-left_aPwu- .log-category_nERmo{-moz-box-sizing:border-box;box-sizing:border-box;overflow:auto}.log-container-content_6ql46{color:var(--common-font-color);height:-webkit-calc(100% - 5px);height:-moz-calc(100% - 5px);height:calc(100% - 5px);padding:0 10px;position:relative;top:5px;-webkit-user-select:text;-moz-user-select:text;user-select:text;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.log-container-content_6ql46 .log-show_ftmkb{height:0;min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content}");oOe=oOe.join("");v0i.exports={uuid:"b502d495-733e-4a9c-b619-fda3d76e2716",locals:{"icon-eda-x-circle":"icon-eda-x-circle_AqkaB","clear-input-circle":"clear-input-circle_49zrh","log-container-left":"log-container-left_aPwu-","log-btns":"log-btns_VQ4Fk","log-category":"log-category_nERmo","log-container-content":"log-container-content_6ql46","log-show":"log-show_ftmkb"},toString(){return oOe}}});var A0i=xe((IEn,E0i)=>{var rOe=[];rOe.push(".check-menu-container_pZ6pF{width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.check-menu-container_pZ6pF,.check-menu-container_pZ6pF .check-menu-row_vbM9f{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.check-menu-container_pZ6pF .check-menu-row_vbM9f{color:var(--font-color-panel-tab);line-height:24px}");rOe=rOe.join("");E0i.exports={uuid:"fa5c0db2-c8e0-48c4-b7bc-2329a5f88afa",locals:{"check-menu-container":"check-menu-container_pZ6pF","check-menu-row":"check-menu-row_vbM9f"},toString(){return rOe}}});var opi=xe((x8n,ipi)=>{var sOe=[];sOe.push(".icon-eda-x-circle_8vaCm.clear-input-circle_IOOJa{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.log-container-left_IW-nZ{border-right:thin solid var(--common-border-color-1);-webkit-flex-shrink:0;flex-shrink:0;min-width:150px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;padding:5px}.log-container-left_IW-nZ,.log-container-left_IW-nZ .check-drc-btn_INn6l{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;gap:5px}.log-container-left_IW-nZ .check-drc-btn_INn6l{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.log-container-left_IW-nZ .check-drc-btn_INn6l .openDesignRulesDlg_RQWUl{cursor:pointer;height:16px;width:16px}.log-container-left_IW-nZ .log-btns_gu3d4{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;gap:5px}.log-container-left_IW-nZ .log-category_5WaUi{border:thin solid var(--common-border-color-1);height:100%;min-width:160px;padding:8px}.log-container-content_nJ6RV,.log-container-left_IW-nZ .log-category_5WaUi{-moz-box-sizing:border-box;box-sizing:border-box;overflow:auto}.log-container-content_nJ6RV{color:var(--common-font-color);height:-webkit-calc(100% - 5px);height:-moz-calc(100% - 5px);height:calc(100% - 5px);padding:0 10px;position:relative;top:5px;-webkit-user-select:text;-moz-user-select:text;user-select:text;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.log-container-content_nJ6RV .log-show_pmaU6{height:0;min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content}");sOe=sOe.join("");ipi.exports={uuid:"d36202c9-489d-4316-aa41-c512fc214cc1",locals:{"icon-eda-x-circle":"icon-eda-x-circle_8vaCm","clear-input-circle":"clear-input-circle_IOOJa","log-container-left":"log-container-left_IW-nZ","check-drc-btn":"check-drc-btn_INn6l",openDesignRulesDlg:"openDesignRulesDlg_RQWUl","log-btns":"log-btns_gu3d4","log-category":"log-category_5WaUi","log-container-content":"log-container-content_nJ6RV","log-show":"log-show_pmaU6"},toString(){return sOe}}});var api=xe((j8n,npi)=>{var lOe=[];lOe.push(".icon-eda-x-circle_GsBqS.clear-input-circle_G6SIo{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.log-container-left_5yqI8{border-right:thin solid var(--common-border-color-1);-webkit-flex-shrink:0;flex-shrink:0;min-width:150px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;padding:5px}.log-container-left_5yqI8,.log-container-left_5yqI8 .check-drc-btn_VXPxe{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;gap:5px}.log-container-left_5yqI8 .check-drc-btn_VXPxe{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.log-container-left_5yqI8 .check-drc-btn_VXPxe .openDesignRulesDlg_EBv0g{cursor:pointer;height:16px;width:16px}.log-container-left_5yqI8 .log-btns_XCqqS{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;gap:5px}.log-container-left_5yqI8 .log-category_FVMgP{border:thin solid var(--common-border-color-1);height:100%;min-width:160px;padding:8px}.log-container-content_dfBjt,.log-container-left_5yqI8 .log-category_FVMgP{-moz-box-sizing:border-box;box-sizing:border-box;overflow:auto}.log-container-content_dfBjt{color:var(--common-font-color);height:-webkit-calc(100% - 5px);height:-moz-calc(100% - 5px);height:calc(100% - 5px);padding:0 10px;position:relative;top:5px;-webkit-user-select:text;-moz-user-select:text;user-select:text;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.log-container-content_dfBjt .log-show_WSHBv{height:0;min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content}");lOe=lOe.join("");npi.exports={uuid:"144a26ad-11c2-482d-b2a3-3f5eeb7d0df8",locals:{"icon-eda-x-circle":"icon-eda-x-circle_GsBqS","clear-input-circle":"clear-input-circle_G6SIo","log-container-left":"log-container-left_5yqI8","check-drc-btn":"check-drc-btn_VXPxe",openDesignRulesDlg:"openDesignRulesDlg_EBv0g","log-btns":"log-btns_XCqqS","log-category":"log-category_FVMgP","log-container-content":"log-container-content_dfBjt","log-show":"log-show_WSHBv"},toString(){return lOe}}});var hpi=xe((tAn,mpi)=>{var cOe=[];cOe.push(".icon-eda-x-circle_qMrFw.clear-input-circle_mFYvD{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.log-container-left_c-hNr{border-right:thin solid var(--common-border-color-1);-webkit-flex-shrink:0;flex-shrink:0;min-width:150px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;padding:5px}.log-container-left_c-hNr,.log-container-left_c-hNr .check-erc-btn_X1gCg{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;gap:5px}.log-container-left_c-hNr .check-erc-btn_X1gCg{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.log-container-left_c-hNr .check-erc-btn_X1gCg .openDesignRulesDlg_ETw04{cursor:pointer;height:16px;width:16px}.log-container-left_c-hNr .log-btns_Tk0s-{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;gap:5px}.log-container-left_c-hNr .log-category_0L2hW{border:thin solid var(--common-border-color-1);height:100%;min-width:160px;padding:8px}.log-container-content_3lHf3,.log-container-left_c-hNr .log-category_0L2hW{-moz-box-sizing:border-box;box-sizing:border-box;overflow:auto}.log-container-content_3lHf3{color:var(--common-font-color);height:-webkit-calc(100% - 5px);height:-moz-calc(100% - 5px);height:calc(100% - 5px);padding:0 10px;position:relative;top:5px;-webkit-user-select:text;-moz-user-select:text;user-select:text;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.log-container-content_3lHf3 .log-show_NglUX{height:0;min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content}");cOe=cOe.join("");mpi.exports={uuid:"95cb94b6-6d6a-4008-898d-a58e6b3bde41",locals:{"icon-eda-x-circle":"icon-eda-x-circle_qMrFw","clear-input-circle":"clear-input-circle_mFYvD","log-container-left":"log-container-left_c-hNr","check-erc-btn":"check-erc-btn_X1gCg",openDesignRulesDlg:"openDesignRulesDlg_ETw04","log-btns":"log-btns_Tk0s-","log-category":"log-category_0L2hW","log-container-content":"log-container-content_3lHf3","log-show":"log-show_NglUX"},toString(){return cOe}}});var kpi=xe((lNn,Npi)=>{var Y8=[];Y8.push(".fittinginput-container_Plcdl{height:100%;width:100%}.fittinginput-wrapper_5QrD2{background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;box-align:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;box-pack:justify;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-webkit-flex-wrap:nowrap!important;flex-wrap:nowrap!important;height:24px;justify-content:space-between;overflow:hidden}.fittinginput-wrapper-active_LNVBo{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);position:relative;z-index:999}.fittinginput-input_MQuJh{border:0!important;line-height:24px;margin:0!important;min-width:50px;outline:0!important;padding:0 5px 0 10px!important;width:100%}.fittinginput-clear_oMqmK{cursor:pointer;-webkit-filter:var(--icon-color-input);filter:var(--icon-color-input);padding:3px 5px 0 0}.fittinginput-clear-hidden_VE8kt{display:none}.fittinginput-clear_oMqmK:hover{color:#1890ff}.fittinginput-search_tFsMI{cursor:pointer;padding:4px 5px 0 0}.fittinginput-search-hidden_ljU5m{display:none}.fittinginput-search_tFsMI:hover{color:#1890ff}.fittinginput-arrow-to-top_tWIYK{background:");Y8.push("url(");Y8.push(JSON.stringify(c0e()));Y8.push(")");Y8.push(" no-repeat 0;background-size:12px 12px}.fittinginput-arrow-to-bottom_AZDAQ,.fittinginput-arrow-to-top_tWIYK{cursor:pointer;-webkit-filter:var(--icon-color-drop-down-menuItem);filter:var(--icon-color-drop-down-menuItem);height:12px;padding:0 8px;width:12px}.fittinginput-arrow-to-bottom_AZDAQ{background:");Y8.push("url(");Y8.push(JSON.stringify(I2()));Y8.push(")");Y8.push(" no-repeat 0;background-size:12px 12px}");Y8=Y8.join("");Npi.exports={uuid:"268aa765-45b2-4e69-a7dd-9073ad294d39",locals:{"fittinginput-container":"fittinginput-container_Plcdl","fittinginput-wrapper":"fittinginput-wrapper_5QrD2","fittinginput-wrapper-active":"fittinginput-wrapper-active_LNVBo","fittinginput-input":"fittinginput-input_MQuJh","fittinginput-clear":"fittinginput-clear_oMqmK","fittinginput-clear-hidden":"fittinginput-clear-hidden_VE8kt","fittinginput-search":"fittinginput-search_tFsMI","fittinginput-search-hidden":"fittinginput-search-hidden_ljU5m","fittinginput-arrow-to-top":"fittinginput-arrow-to-top_tWIYK","fittinginput-arrow-to-bottom":"fittinginput-arrow-to-bottom_AZDAQ"},toString(){return Y8}}});var q4t=xe((cNn,ndr)=>{ndr.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgoJeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTYgMTY7IgoJeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+Cgk8cmVjdCBzdHlsZT0iZmlsbDpub25lOyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiAvPgoJPGc+CgkJPHBhdGggc3R5bGU9ImZpbGw6Izk4NEIwMSIgZD0iTTE1Ljg1NCw3LjE0NkwxMS43MDcsM0MxMS41MTIsMi44MDUsMTEuMTk1LDIuODA1LDExLDNzLTAuMTk1LDAuNTEyLDAsMC43MDdMMTQuNzkzLDcuNUwxMSwxMS4yOTMKCQljLTAuMTk1LDAuMTk1LTAuMTk1LDAuNTEyLDAsMC43MDdzMC41MTIsMC4xOTUsMC43MDcsMGw0LjE0Ni00LjE0NkMxNi4wNDksNy42NTgsMTYuMDQ5LDcuMzQyLDE1Ljg1NCw3LjE0NnoiIC8+CgkJPHBhdGggc3R5bGU9ImZpbGw6Izk4NEIwMSIgZD0iTTExLDcuMTQ2TDYuODU0LDNDNi42NTgsMi44MDUsNi4zNDIsMi44MDUsNi4xNDYsM2MtMC4xOTUsMC4xOTUtMC4xOTUsMC41MTIsMCwwLjcwN0w5LjQzOSw3SDAuNUMwLjIyNCw3LDAsNy4yMjQsMCw3LjUKCQlDMCw3Ljc3NiwwLjIyNCw4LDAuNSw4aDguOTM5bC0zLjI5MywzLjI5M2MtMC4xOTUsMC4xOTUtMC4xOTUsMC41MTIsMCwwLjcwN2MwLjE5NSwwLjE5NSwwLjUxMiwwLjE5NSwwLjcwNywwTDExLDcuODU0CgkJQzExLjE5NSw3LjY1OCwxMS4xOTUsNy4zNDIsMTEsNy4xNDZ6IiAvPgoJPC9nPgo8L3N2Zz4="});var Ppi=xe((dNn,adr)=>{adr.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjRkY4OTM1IiBkPSJNMTQsMTZIMmMtMS4xMDUsMC0yLTAuODk1LTItMlYyYzAtMS4xMDUsMC44OTUtMiwyLTJoMTJjMS4xMDUsMCwyLDAuODk1LDIsMnYxMgoJCQlDMTYsMTUuMTA1LDE1LjEwNSwxNiwxNCwxNnoiLz4KCQk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTEuNzQ2LDYuNTA3aC0wLjc0OXYtMS41MUMxMC45OTcsMy4zMzUsOS42NjIsMiw4LDJTNS4wMDMsMy4zMzUsNS4wMDMsNC45OTd2MS41MUg0LjI1NAoJCQljLTAuODIsMC0xLjQ4NywwLjY2Ny0xLjQ4NywxLjQ4N3Y0LjQ5NmMtMC4wMTIsMC44MiwwLjY1NiwxLjQ4NywxLjQ3NSwxLjUxaDcuNTA0YzAuODIsMCwxLjQ4Ny0wLjY2NywxLjQ4Ny0xLjQ4N1Y3Ljk5NAoJCQlDMTMuMjQ1LDcuMTc1LDEyLjU3OCw2LjUwNywxMS43NDYsNi41MDd6IE04LjY1NiwxMC44MDR2MC44NDNjMCwwLjM2My0wLjI5MywwLjY1Ni0wLjY1NiwwLjY1NnMtMC42NTYtMC4yOTMtMC42NTYtMC42NTZ2LTAuODQzCgkJCWMtMC40MS0wLjIyMi0wLjY1Ni0wLjY1Ni0wLjY1Ni0xLjExMkM2LjcxMiw4Ljk4OSw3LjI5OCw4LjQwNCw4LDguNDA0YzAuNzAyLDAsMS4yODgsMC41ODUsMS4zMTEsMS4yODgKCQkJQzkuMzExLDEwLjE0OCw5LjA2NSwxMC41ODEsOC42NTYsMTAuODA0eiBNOS44MTUsNi41MDdINi4xODVWNS4xNzNjMC0xLjEsMC44Mi0xLjk5LDEuODE1LTEuOTlzMS44MTUsMC44OSwxLjgxNSwxLjk5VjYuNTA3eiIvPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg=="});var Opi=xe((uNn,sdr)=>{sdr.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjMkNDNTY2IiBkPSJNMTQsMTZIMmMtMS4xMDUsMC0yLTAuODk1LTItMlYyYzAtMS4xMDUsMC44OTUtMiwyLTJoMTJjMS4xMDUsMCwyLDAuODk1LDIsMnYxMgoJCQlDMTYsMTUuMTA1LDE1LjEwNSwxNiwxNCwxNnoiLz4KCQk8Zz4KCQkJPHBvbHlnb24gZmlsbD0iI0ZGRkZGRiIgcG9pbnRzPSIzLjMwMiwxMy4yMDYgNC4zMjcsOS42NjggNi44NjUsMTIuMTkzIAkJCSIvPgoJCQk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTMuMjQzLDUuODQ0bDAuNTYtMC41NTFjMC4yNzUtMC4yNjIsMC4yODctMC43LDAuMDI1LTAuOTc1TDEyLjI0LDIuNzQzCgkJCQljLTAuMjUtMC4yNjMtMC43LTAuMjUtMC45ODgsMC4wMjVMMTAuNzEsMy4zMTFMMTMuMjQzLDUuODQ0eiIvPgoJCQk8cG9seWdvbiBmaWxsPSIjRkZGRkZGIiBwb2ludHM9IjcuNTc4LDExLjQ5MyAxMi41MzQsNi41NDkgOS45OTYsNC4wMTEgNS4wNDEsOC45NTYgCQkJIi8+CgkJPC9nPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg=="});var eC=xe((pNn,Rpi)=>{var Lt=[];Lt.push(".icon-eda-x-circle_1gUZ6.clear-input-circle_7-9HK{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.bSizeTopMenu_GlYUH{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-refresh_R4rDa{background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-refresh_R4rDa,.icon-eda-refresh-small_9qKDx{background-image:");Lt.push("url(");Lt.push(JSON.stringify(Mpt()));Lt.push(")");Lt.push(";background-position:50%;background-repeat:no-repeat;display:inline-block;height:16px;width:16px}.icon-eda-refresh-small_9qKDx{background-size:12px 12px}.icon-eda-edit_LqaVN{background-image:");Lt.push("url(");Lt.push(JSON.stringify(JQ()));Lt.push(")");Lt.push("}.icon-eda-delete-trash_lRcFo,.icon-eda-edit_LqaVN{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;display:inline-block;height:16px;width:16px}.icon-eda-delete-trash_lRcFo{background-image:");Lt.push("url(");Lt.push(JSON.stringify(N8e()));Lt.push(")");Lt.push("}.icon-eda-save_UJg45{background-image:");Lt.push("url(");Lt.push(JSON.stringify(pAe()));Lt.push(")");Lt.push("}.icon-eda-save_UJg45,.icon-eda-save-all_gtIj0{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;display:inline-block;height:16px;width:16px}.icon-eda-save-all_gtIj0{background-image:");Lt.push("url(");Lt.push(JSON.stringify(mAe()));Lt.push(")");Lt.push("}.icon-eda-save-as_64p7S{background-image:");Lt.push("url(");Lt.push(JSON.stringify(K0t()));Lt.push(")");Lt.push("}.icon-eda-save-as_64p7S,.icon-eda-star-fill_wA-DX{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;display:inline-block;height:16px;width:16px}.icon-eda-star-fill_wA-DX{background-image:");Lt.push("url(");Lt.push(JSON.stringify(c0t()));Lt.push(")");Lt.push("}.icon-eda-star_0CL1-{background-image:");Lt.push("url(");Lt.push(JSON.stringify(d0t()));Lt.push(")");Lt.push(";background-position:50%;background-size:16px 16px;height:16px;width:16px}.icon-eda-loading_-CaHs,.icon-eda-star_0CL1-{background-repeat:no-repeat;display:inline-block}.icon-eda-loading_-CaHs{background-image:");Lt.push("url(");Lt.push(JSON.stringify(ZF()));Lt.push(")");Lt.push(";background-size:100%;height:100%;width:100%}.icon-eda-x-circle_1gUZ6{background-size:16px 16px;-webkit-filter:var(--common-icon-color-1);filter:var(--common-icon-color-1)}.icon-eda-x-circle_1gUZ6,.icon-eda-x-circle-small_6v0ZL{background-image:");Lt.push("url(");Lt.push(JSON.stringify(e3e()));Lt.push(")");Lt.push(";background-position:50%;background-repeat:no-repeat;cursor:pointer;display:inline-block;height:16px;width:16px}.icon-eda-x-circle-small_6v0ZL{background-size:12px 12px}.icon-eda-zoom_mnpxH{background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-zoom_mnpxH,.icon-eda-zoom-small_bWpvj{background-image:");Lt.push("url(");Lt.push(JSON.stringify(Iie()));Lt.push(")");Lt.push(";background-position:50%;background-repeat:no-repeat;display:inline-block;height:16px;width:16px}.icon-eda-zoom-small_bWpvj{background-size:12px 12px;-webkit-filter:var(--common-icon-color-1);filter:var(--common-icon-color-1)}.icon-eda-movedrag_3d-ww{background-image:");Lt.push("url(");Lt.push(JSON.stringify(f3e()));Lt.push(")");Lt.push(";background-position:50%;background-repeat:no-repeat;background-size:16px 16px;display:inline-block;height:16px;width:16px}.icon-eda-move-up_okbZI{background-image:");Lt.push("url(");Lt.push(JSON.stringify(SAe()));Lt.push(")");Lt.push(";-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);height:16px;width:16px}.icon-eda-v-tick_K7MMw{background-image:");Lt.push("url(");Lt.push(JSON.stringify(Qce()));Lt.push(")");Lt.push(";background-position:50%;display:inline-block;height:16px;width:16px}.icon-eda-v-tick_K7MMw,.icon-eda-wire_tUE5V{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-wire_tUE5V{background-image:");Lt.push("url(");Lt.push(JSON.stringify(W8e()));Lt.push(")");Lt.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-project-fill_gNjBe{background-image:");Lt.push("url(");Lt.push(JSON.stringify(Lie()));Lt.push(")");Lt.push("}.icon-eda-project-fill_gNjBe,.icon-eda-project-open-source_O8MUx{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-project-open-source_O8MUx{background-image:");Lt.push("url(");Lt.push(JSON.stringify(PAe()));Lt.push(")");Lt.push("}.icon-eda-board-fill_FOrQ3{background-image:");Lt.push("url(");Lt.push(JSON.stringify(b3e()));Lt.push(")");Lt.push("}.icon-ecad-board-fill_hicXI,.icon-eda-board-fill_FOrQ3{background-repeat:no-repeat;background-size:16px 16px}.icon-ecad-board-fill_hicXI{background-image:");Lt.push("url(");Lt.push(JSON.stringify(y3e()));Lt.push(")");Lt.push("}.icon-eda-pcb_7Fyae{background-image:");Lt.push("url(");Lt.push(JSON.stringify(t3e()));Lt.push(")");Lt.push("}.icon-ecad-pcb_2dfC5,.icon-eda-pcb_7Fyae{background-repeat:no-repeat;background-size:16px 16px}.icon-ecad-pcb_2dfC5{background-image:");Lt.push("url(");Lt.push(JSON.stringify(i3e()));Lt.push(")");Lt.push("}.icon-eda-partition_WARE4{background-image:");Lt.push("url(");Lt.push(JSON.stringify(A8e()));Lt.push(")");Lt.push("}.icon-eda-panel_306Qj,.icon-eda-partition_WARE4{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-panel_306Qj{background-image:");Lt.push("url(");Lt.push(JSON.stringify(u3e()));Lt.push(")");Lt.push("}.icon-eda-page_BVpNy{background-image:");Lt.push("url(");Lt.push(JSON.stringify(l3e()));Lt.push(")");Lt.push("}.icon-eda-page_BVpNy,.icon-eda-schematic_9DZwC{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-schematic_9DZwC{background-image:");Lt.push("url(");Lt.push(JSON.stringify(c3e()));Lt.push(")");Lt.push("}.icon-eda-preview-2d_LCTbv{background-image:");Lt.push("url(");Lt.push(JSON.stringify(I8e()));Lt.push(")");Lt.push("}.icon-eda-preview-2d_LCTbv,.icon-eda-preview-3d-green_dcQZR{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-preview-3d-green_dcQZR{background-image:");Lt.push("url(");Lt.push(JSON.stringify(but()));Lt.push(")");Lt.push("}.icon-eda-preview-3d-blue_yArFE{background-image:");Lt.push("url(");Lt.push(JSON.stringify(gut()));Lt.push(")");Lt.push("}.coloricon-eda-device_H54cv,.icon-eda-preview-3d-blue_yArFE{background-repeat:no-repeat;background-size:16px 16px}.coloricon-eda-device_H54cv{background-image:");Lt.push("url(");Lt.push(JSON.stringify(d3e()));Lt.push(")");Lt.push("}.icon-eda-project_dlse9{background-image:");Lt.push("url(");Lt.push(JSON.stringify(dAe()));Lt.push(")");Lt.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-symbol_KMb6S{background-image:");Lt.push("url(");Lt.push(JSON.stringify(Mie()));Lt.push(")");Lt.push("}.icon-eda-ngspice_qnZtd,.icon-eda-symbol_KMb6S{background-repeat:no-repeat;background-size:16px 16px;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-ngspice_qnZtd{background-image:");Lt.push("url(");Lt.push(JSON.stringify(e0t()));Lt.push(")");Lt.push("}.icon-eda-simulide_6WuU8{background-image:");Lt.push("url(");Lt.push(JSON.stringify(t0t()));Lt.push(")");Lt.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-simulide_6WuU8,.icon-eda-waveform_kWgHn{background-repeat:no-repeat;background-size:16px 16px;display:inline-block}.icon-eda-waveform_kWgHn{background-image:");Lt.push("url(");Lt.push(JSON.stringify(i0t()));Lt.push(")");Lt.push("}.icon-eda-symbol-brown_o6uFV{background-image:");Lt.push("url(");Lt.push(JSON.stringify(P8e()));Lt.push(")");Lt.push(";background-repeat:no-repeat;background-size:16px 16px;display:inline-block}.theme-symbol-icon-filter_ozmDf{-webkit-filter:var(--icon-color-tab-symbol-footprint);filter:var(--icon-color-tab-symbol-footprint)}.coloricon-eda-symbol_gDi5Y{background-image:");Lt.push("url(");Lt.push(JSON.stringify(o3e()));Lt.push(")");Lt.push(";display:inline-block}.coloricon-eda-symbol_gDi5Y,.icon-eda-footprint_rPDVo{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-footprint_rPDVo{background-image:");Lt.push("url(");Lt.push(JSON.stringify(U8e()));Lt.push(")");Lt.push("}.coloricon-eda-footprint_Ijrky{background-image:");Lt.push("url(");Lt.push(JSON.stringify(a3e()));Lt.push(")");Lt.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-bus_RQh0j{background-image:");Lt.push("url(");Lt.push(JSON.stringify(p3e()));Lt.push(")");Lt.push("}.icon-eda-bus_RQh0j,.icon-eda-tree_PahHX{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-tree_PahHX{background-image:");Lt.push("url(");Lt.push(JSON.stringify(X0t()));Lt.push(")");Lt.push("}.icon-eda-net-label_LIiv0{background-image:");Lt.push("url(");Lt.push(JSON.stringify(V8e()));Lt.push(")");Lt.push("}.icon-eda-net-label_LIiv0,.icon-eda-symbol-short_KvjlC{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-symbol-short_KvjlC{background-image:");Lt.push("url(");Lt.push(JSON.stringify(H8e()));Lt.push(")");Lt.push("}.icon-eda-no-connect-flag_wAnbQ{background-image:");Lt.push("url(");Lt.push(JSON.stringify(G8e()));Lt.push(")");Lt.push("}.icon-eda-junction-flag_V-k9A,.icon-eda-no-connect-flag_wAnbQ{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-junction-flag_V-k9A{background-image:");Lt.push("url(");Lt.push(JSON.stringify(Y8e()));Lt.push(")");Lt.push("}.icon-eda-symbol-block_7N05X{background-image:");Lt.push("url(");Lt.push(JSON.stringify(F8e()));Lt.push(")");Lt.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-netport-in_myN0d,.icon-eda-symbol-block_7N05X{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-netport-in_myN0d{background-image:");Lt.push("url(");Lt.push(JSON.stringify(Z8e()));Lt.push(")");Lt.push("}.icon-eda-offPageConnector-in_dTkja{background-image:");Lt.push("url(");Lt.push(JSON.stringify(J8e()));Lt.push(")");Lt.push("}.icon-eda-offPageConnector-in_dTkja,.icon-eda-offPageConnector-out_IC7O9{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-offPageConnector-out_IC7O9{background-image:");Lt.push("url(");Lt.push(JSON.stringify(q8e()));Lt.push(")");Lt.push("}.icon-eda-offPageConnector-out-brown_NFiEW{background-image:");Lt.push("url(");Lt.push(JSON.stringify(q4t()));Lt.push(")");Lt.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-offPageConnector-bi_DM-hK{background-image:");Lt.push("url(");Lt.push(JSON.stringify(X8e()));Lt.push(")");Lt.push("}.icon-eda-differential_NXey5,.icon-eda-offPageConnector-bi_DM-hK{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-differential_NXey5{background-image:");Lt.push("url(");Lt.push(JSON.stringify($8e()));Lt.push(")");Lt.push("}.icon-eda-differential-brown_-0lGi{background-image:");Lt.push("url(");Lt.push(JSON.stringify(eAe()));Lt.push(")");Lt.push("}.icon-eda-differential-brown_-0lGi,.icon-eda-pin_369Ws{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-pin_369Ws{background-image:");Lt.push("url(");Lt.push(JSON.stringify(D8e()));Lt.push(")");Lt.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-schematic-block_OePMC{background-image:");Lt.push("url(");Lt.push(JSON.stringify(OAe()));Lt.push(")");Lt.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-reuse-block_7Shht{background-image:");Lt.push("url(");Lt.push(JSON.stringify(jpt()));Lt.push(")");Lt.push("}.icon-eda-part_Oi3j7,.icon-eda-reuse-block_7Shht{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-part_Oi3j7{background-image:");Lt.push("url(");Lt.push(JSON.stringify(_8e()));Lt.push(")");Lt.push("}.icon-eda-line_MiLzS{background-image:");Lt.push("url(");Lt.push(JSON.stringify(gAe()));Lt.push(")");Lt.push("}.icon-eda-line_MiLzS,.icon-eda-text_13ufT{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-text_13ufT{background-image:");Lt.push("url(");Lt.push(JSON.stringify(h3e()));Lt.push(")");Lt.push("}.icon-eda-circle_eGHY9{background-image:");Lt.push("url(");Lt.push(JSON.stringify(fAe()));Lt.push(")");Lt.push(";background-repeat:no-repeat;background-size:16px 16px}.icon-eda-circle_eGHY9,.icon-eda-ellipse_MLx9y{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-arc_Iz-VF{background-image:");Lt.push("url(");Lt.push(JSON.stringify(m3e()));Lt.push(")");Lt.push("}.icon-eda-arc_Iz-VF,.icon-eda-rectangle_tm6c-{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-rectangle_tm6c-{background-image:");Lt.push("url(");Lt.push(JSON.stringify(Zce()));Lt.push(")");Lt.push("}.icon-eda-image_jk-wN{background-image:");Lt.push("url(");Lt.push(JSON.stringify(s3e()));Lt.push(")");Lt.push("}.icon-eda-image_jk-wN,.icon-eda-table_7HYcy{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-table_7HYcy{background-image:");Lt.push("url(");Lt.push(JSON.stringify(Kce()));Lt.push(")");Lt.push("}.icon-eda-bezier-2_6XWPe{background-image:");Lt.push("url(");Lt.push(JSON.stringify(qce()));Lt.push(")");Lt.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-bezier-2_6XWPe,.icon-eda-ellipse_MLx9y{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-ellipse_MLx9y{background-image:");Lt.push("url(");Lt.push(JSON.stringify(Jce()));Lt.push(")");Lt.push("}.icon-eda-folder_DMQbi{background-image:");Lt.push("url(");Lt.push(JSON.stringify(uAe()));Lt.push(")");Lt.push("}.icon-eda-folder_DMQbi,.icon-eda-non-electronic-flag_7FtrV{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-non-electronic-flag_7FtrV{background-image:");Lt.push("url(");Lt.push(JSON.stringify(FAe()));Lt.push(")");Lt.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-non-electronic-flag-brown_anXju{background-image:");Lt.push("url(");Lt.push(JSON.stringify(UAe()));Lt.push(")");Lt.push("}.icon-eda-group_RYc2v,.icon-eda-non-electronic-flag-brown_anXju{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-group_RYc2v{background-image:");Lt.push("url(");Lt.push(JSON.stringify(E8e()));Lt.push(")");Lt.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-checked-out_KUcwV{background-image:");Lt.push("url(");Lt.push(JSON.stringify(Ppi()));Lt.push(")");Lt.push("}.icon-eda-check-out_G21Jc,.icon-eda-checked-out_KUcwV{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-check-out_G21Jc{background-image:");Lt.push("url(");Lt.push(JSON.stringify(Opi()));Lt.push(")");Lt.push("}.icon-eda-drawing_2aVN3{background-image:");Lt.push("url(");Lt.push(JSON.stringify(BAe()));Lt.push(")");Lt.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-drawing_2aVN3,.icon-eda-drawing-brown_kwXMY{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-drawing-brown_kwXMY{background-image:");Lt.push("url(");Lt.push(JSON.stringify(zAe()));Lt.push(")");Lt.push("}.icon-eda-netflag-gnd_dy8I4{background-image:");Lt.push("url(");Lt.push(JSON.stringify(Q8e()));Lt.push(")");Lt.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-netflag-gnd_dy8I4,.icon-eda-netflag-gnd-brown_7gGRR{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-netflag-gnd-brown_7gGRR{background-image:");Lt.push("url(");Lt.push(JSON.stringify(K8e()));Lt.push(")");Lt.push("}.icon-eda-netport-out_Q9nf0{background-image:");Lt.push("url(");Lt.push(JSON.stringify(nAe()));Lt.push(")");Lt.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-netport-out_Q9nf0,.icon-eda-netport-out-brown_QJ4FT{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-netport-out-brown_QJ4FT{background-image:");Lt.push("url(");Lt.push(JSON.stringify(aAe()));Lt.push(")");Lt.push("}.icon-eda-logo_hBBLL{background-image:");Lt.push("url(");Lt.push(JSON.stringify($pt()));Lt.push(")");Lt.push(";-webkit-filter:none!important;filter:none!important}.icon-ecad_logo_8lYsu,.icon-eda-logo_hBBLL{background-repeat:no-repeat;background-size:16px 16px}.icon-ecad_logo_8lYsu{background-image:");Lt.push("url(");Lt.push(JSON.stringify(VAe()));Lt.push(")");Lt.push("}.icon-color-green_e13Mx{-webkit-filter:invert(29%) sepia(93%) saturate(1905%) hue-rotate(97deg) brightness(96%) contrast(111%)!important;filter:invert(29%) sepia(93%) saturate(1905%) hue-rotate(97deg) brightness(96%) contrast(111%)!important}.icon-color-orange_1Ig-7{-webkit-filter:invert(75%) sepia(62%) saturate(2371%) hue-rotate(332deg) brightness(99%) contrast(104%);filter:invert(75%) sepia(62%) saturate(2371%) hue-rotate(332deg) brightness(99%) contrast(104%)}.icon-color-blue_gzqqW{-webkit-filter:invert(48%) sepia(54%) saturate(930%) hue-rotate(178deg) brightness(101%) contrast(102%)!important;filter:invert(48%) sepia(54%) saturate(930%) hue-rotate(178deg) brightness(101%) contrast(102%)!important}.icon-color-black_SUwl4{-webkit-filter:invert(16%) sepia(1%) saturate(2%) hue-rotate(24deg) brightness(93%) contrast(86%);filter:invert(16%) sepia(1%) saturate(2%) hue-rotate(24deg) brightness(93%) contrast(86%)}.icon-color-red_7-2Wq{-webkit-filter:invert(18%) sepia(94%) saturate(6819%) hue-rotate(356deg) brightness(91%) contrast(123%)!important;filter:invert(18%) sepia(94%) saturate(6819%) hue-rotate(356deg) brightness(91%) contrast(123%)!important}.icon-color-primaryblue_eVqSG{-webkit-filter:invert(10%) sepia(99%) saturate(6389%) hue-rotate(247deg) brightness(89%) contrast(148%)!important;filter:invert(10%) sepia(99%) saturate(6389%) hue-rotate(247deg) brightness(89%) contrast(148%)!important}.icon-color-blue-purple_Aj9j8{-webkit-filter:invert(30%) sepia(100%) saturate(1800%) hue-rotate(235deg) brightness(110%) contrast(100%)!important;filter:invert(30%) sepia(100%) saturate(1800%) hue-rotate(235deg) brightness(110%) contrast(100%)!important}.icon-eda-warning_tuXB0{background-image:");Lt.push("url(");Lt.push(JSON.stringify(d9()));Lt.push(")");Lt.push(";background-position:top;background-repeat:no-repeat;background-size:auto 100%;-webkit-filter:invert(63%) sepia(81%) saturate(2292%) hue-rotate(14deg) brightness(113%) contrast(103%);filter:invert(63%) sepia(81%) saturate(2292%) hue-rotate(14deg) brightness(113%) contrast(103%);height:20px;width:20px}.icon-eda-folder-new_6ZFQ-{background-image:");Lt.push("url(");Lt.push(JSON.stringify(cAe()));Lt.push(")");Lt.push(";background-repeat:no-repeat;background-size:16px 16px}");Lt=Lt.join("");Rpi.exports={uuid:"d6274895-93bc-45e8-836b-941e181f4d4b",locals:{"icon-eda-x-circle":"icon-eda-x-circle_1gUZ6","clear-input-circle":"clear-input-circle_7-9HK",bSizeTopMenu:"bSizeTopMenu_GlYUH","icon-eda-refresh":"icon-eda-refresh_R4rDa","icon-eda-refresh-small":"icon-eda-refresh-small_9qKDx","icon-eda-edit":"icon-eda-edit_LqaVN","icon-eda-delete-trash":"icon-eda-delete-trash_lRcFo","icon-eda-save":"icon-eda-save_UJg45","icon-eda-save-all":"icon-eda-save-all_gtIj0","icon-eda-save-as":"icon-eda-save-as_64p7S","icon-eda-star-fill":"icon-eda-star-fill_wA-DX","icon-eda-star":"icon-eda-star_0CL1-","icon-eda-loading":"icon-eda-loading_-CaHs","icon-eda-x-circle-small":"icon-eda-x-circle-small_6v0ZL","icon-eda-zoom":"icon-eda-zoom_mnpxH","icon-eda-zoom-small":"icon-eda-zoom-small_bWpvj","icon-eda-movedrag":"icon-eda-movedrag_3d-ww","icon-eda-move-up":"icon-eda-move-up_okbZI","icon-eda-v-tick":"icon-eda-v-tick_K7MMw","icon-eda-wire":"icon-eda-wire_tUE5V","icon-eda-project-fill":"icon-eda-project-fill_gNjBe","icon-eda-project-open-source":"icon-eda-project-open-source_O8MUx","icon-eda-board-fill":"icon-eda-board-fill_FOrQ3","icon-ecad-board-fill":"icon-ecad-board-fill_hicXI","icon-eda-pcb":"icon-eda-pcb_7Fyae","icon-ecad-pcb":"icon-ecad-pcb_2dfC5","icon-eda-partition":"icon-eda-partition_WARE4","icon-eda-panel":"icon-eda-panel_306Qj","icon-eda-page":"icon-eda-page_BVpNy","icon-eda-schematic":"icon-eda-schematic_9DZwC","icon-eda-preview-2d":"icon-eda-preview-2d_LCTbv","icon-eda-preview-3d-green":"icon-eda-preview-3d-green_dcQZR","icon-eda-preview-3d-blue":"icon-eda-preview-3d-blue_yArFE","coloricon-eda-device":"coloricon-eda-device_H54cv","icon-eda-project":"icon-eda-project_dlse9","icon-eda-symbol":"icon-eda-symbol_KMb6S","icon-eda-ngspice":"icon-eda-ngspice_qnZtd","icon-eda-simulide":"icon-eda-simulide_6WuU8","icon-eda-waveform":"icon-eda-waveform_kWgHn","icon-eda-symbol-brown":"icon-eda-symbol-brown_o6uFV","theme-symbol-icon-filter":"theme-symbol-icon-filter_ozmDf","coloricon-eda-symbol":"coloricon-eda-symbol_gDi5Y","icon-eda-footprint":"icon-eda-footprint_rPDVo","coloricon-eda-footprint":"coloricon-eda-footprint_Ijrky","icon-eda-bus":"icon-eda-bus_RQh0j","icon-eda-tree":"icon-eda-tree_PahHX","icon-eda-net-label":"icon-eda-net-label_LIiv0","icon-eda-symbol-short":"icon-eda-symbol-short_KvjlC","icon-eda-no-connect-flag":"icon-eda-no-connect-flag_wAnbQ","icon-eda-junction-flag":"icon-eda-junction-flag_V-k9A","icon-eda-symbol-block":"icon-eda-symbol-block_7N05X","icon-eda-netport-in":"icon-eda-netport-in_myN0d","icon-eda-offPageConnector-in":"icon-eda-offPageConnector-in_dTkja","icon-eda-offPageConnector-out":"icon-eda-offPageConnector-out_IC7O9","icon-eda-offPageConnector-out-brown":"icon-eda-offPageConnector-out-brown_NFiEW","icon-eda-offPageConnector-bi":"icon-eda-offPageConnector-bi_DM-hK","icon-eda-differential":"icon-eda-differential_NXey5","icon-eda-differential-brown":"icon-eda-differential-brown_-0lGi","icon-eda-pin":"icon-eda-pin_369Ws","icon-eda-schematic-block":"icon-eda-schematic-block_OePMC","icon-eda-reuse-block":"icon-eda-reuse-block_7Shht","icon-eda-part":"icon-eda-part_Oi3j7","icon-eda-line":"icon-eda-line_MiLzS","icon-eda-text":"icon-eda-text_13ufT","icon-eda-circle":"icon-eda-circle_eGHY9","icon-eda-ellipse":"icon-eda-ellipse_MLx9y","icon-eda-arc":"icon-eda-arc_Iz-VF","icon-eda-rectangle":"icon-eda-rectangle_tm6c-","icon-eda-image":"icon-eda-image_jk-wN","icon-eda-table":"icon-eda-table_7HYcy","icon-eda-bezier-2":"icon-eda-bezier-2_6XWPe","icon-eda-folder":"icon-eda-folder_DMQbi","icon-eda-non-electronic-flag":"icon-eda-non-electronic-flag_7FtrV","icon-eda-non-electronic-flag-brown":"icon-eda-non-electronic-flag-brown_anXju","icon-eda-group":"icon-eda-group_RYc2v","icon-eda-checked-out":"icon-eda-checked-out_KUcwV","icon-eda-check-out":"icon-eda-check-out_G21Jc","icon-eda-drawing":"icon-eda-drawing_2aVN3","icon-eda-drawing-brown":"icon-eda-drawing-brown_kwXMY","icon-eda-netflag-gnd":"icon-eda-netflag-gnd_dy8I4","icon-eda-netflag-gnd-brown":"icon-eda-netflag-gnd-brown_7gGRR","icon-eda-netport-out":"icon-eda-netport-out_Q9nf0","icon-eda-netport-out-brown":"icon-eda-netport-out-brown_QJ4FT","icon-eda-logo":"icon-eda-logo_hBBLL","icon-ecad_logo":"icon-ecad_logo_8lYsu","icon-color-green":"icon-color-green_e13Mx","icon-color-orange":"icon-color-orange_1Ig-7","icon-color-blue":"icon-color-blue_gzqqW","icon-color-black":"icon-color-black_SUwl4","icon-color-red":"icon-color-red_7-2Wq","icon-color-primaryblue":"icon-color-primaryblue_eVqSG","icon-color-blue-purple":"icon-color-blue-purple_Aj9j8","icon-eda-warning":"icon-eda-warning_tuXB0","icon-eda-folder-new":"icon-eda-folder-new_6ZFQ-"},toString(){return Lt}}});var Vpi=xe((UNn,Upi)=>{var yOe=[];yOe.push(".icon-eda-x-circle_kg5nk.clear-input-circle_eolNU{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.container_itcH3 *{-moz-box-sizing:border-box;box-sizing:border-box}.tab-wrap_6SoV8{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:26px;list-style-type:none;width:-webkit-max-content;width:-moz-max-content;width:max-content;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;justify-content:normal}.tab-wrap_6SoV8 li>span{border-right:1px solid var(--border-color-panel-divider);color:var(--font-color-panel-content);cursor:pointer;font-size:12px;padding:0 12px}.tab-wrap_6SoV8 li:last-child>span{border-right:initial}.tab-wrap_6SoV8 .active_HeJ6i{color:#1890ff;font-weight:bolder}");yOe=yOe.join("");Upi.exports={uuid:"554b2f37-6e6c-4555-8081-8aa4261b49bc",locals:{"icon-eda-x-circle":"icon-eda-x-circle_kg5nk","clear-input-circle":"clear-input-circle_eolNU",container:"container_itcH3","tab-wrap":"tab-wrap_6SoV8",active:"active_HeJ6i"},toString(){return yOe}}});var omi=xe((jkn,imi)=>{var TOe=[];TOe.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_5ONYX{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_hNB9c{background-color:#efefef}.comm-btn-confirm_998S-{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_998S-:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_8iWmh{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_8iWmh:hover{border:1px solid #40a9ff!important}.opacity-none_ABHMx,.pointer-events-none_M-sOM{cursor:default;pointer-events:none!important}.opacity-none_ABHMx{opacity:0}.attr-prohibit_fVat6,.display-block_mjgsL{display:block}.display-none_6SPMq{display:none!important}.display-flex_hg9Gz{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_3VpSP{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_GnS90{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_VHCku{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_kyrTU{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_O-z1p{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_ZvRTI{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_91u-X{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_V4HrH{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_alqjs{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_epI-k{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_vZIuA{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_H-v6p{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_yrI7X{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_FuQUb{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_b4rh-{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_8ea6d{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_KB31-{color:#000!important}.color-white-important_dUByD{color:#fff!important}.bgcolor-red-important_YG3QS{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}");TOe=TOe.join("");imi.exports={uuid:"7b536d06-ff30-4841-83dc-0f1499fddb12",locals:{"comm-icon-add":"comm-icon-add_5ONYX","comm-background-color-efefef":"comm-background-color-efefef_hNB9c","comm-btn-confirm":"comm-btn-confirm_998S-","comm-btn-cancel":"comm-btn-cancel_8iWmh","opacity-none":"opacity-none_ABHMx","pointer-events-none":"pointer-events-none_M-sOM","attr-prohibit":"attr-prohibit_fVat6","display-block":"display-block_mjgsL","display-none":"display-none_6SPMq","display-flex":"display-flex_hg9Gz","display-inline-flex":"display-inline-flex_3VpSP","flex-lateral-axis-center":"flex-lateral-axis-center_GnS90","flex-lateral-axis-start":"flex-lateral-axis-start_VHCku","flex-lateral-axis-end":"flex-lateral-axis-end_kyrTU","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_O-z1p","flex-main-axis-center":"flex-main-axis-center_ZvRTI","flex-main-axis-start":"flex-main-axis-start_91u-X","flex-main-axis-end":"flex-main-axis-end_V4HrH","flex-main-axis-around":"flex-main-axis-around_alqjs","flex-main-axis-between":"flex-main-axis-between_epI-k","flex-nowrap":"flex-nowrap_vZIuA","flex-wrap":"flex-wrap_H-v6p","flex-direct-row":"flex-direct-row_yrI7X","flex-direct-rerow":"flex-direct-rerow_FuQUb","flex-direct-column":"flex-direct-column_b4rh-","flex-direct-recolumn":"flex-direct-recolumn_8ea6d","color-black-important":"color-black-important_KB31-","color-white-important":"color-white-important_dUByD","bgcolor-red-important":"bgcolor-red-important_YG3QS"},toString(){return TOe}}});var nmi=xe((Bkn,rmi)=>{var SOe=[];SOe.push(".container_jGENL{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;gap:8px;justify-content:normal;padding-right:8px;width:-webkit-max-content;width:-moz-max-content;width:max-content}.more-btn_MZH-K{border:1px solid var(--border-color-button);border-radius:2px;cursor:pointer;height:24px;line-height:24px;position:relative;text-align:center;width:32px}.more-btn_MZH-K:hover{border-color:var(--border-color-hover-button)}.more-btn_MZH-K:hover div{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.more-btn_MZH-K>span{color:var(--font-color-button);display:inline-block;width:100%}.more-btn_MZH-K>div{background-color:var(--common-bg-color);border:1px solid var(--border-color-drop-down-menu);border-radius:2px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;display:none;min-width:92px;padding:4px 0;position:fixed;-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;z-index:9999}.more-btn_MZH-K>div,.more-btn_MZH-K>div>div{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-align:initial;-webkit-align-items:initial;-moz-box-align:initial;align-items:normal;-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;justify-content:normal}.more-btn_MZH-K>div>div{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:-10px;padding:10px}.more-btn_MZH-K>div>div>span{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;height:28px;padding:0 8px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:#1890fe;cursor:pointer}.more-btn_MZH-K>div>div>span:hover{background-color:var(--bg-color-hover-drop-down-menuItem);color:#096dd9}@supports (scrollbar-width:thin){*{scrollbar-color:var(--bg-scrollbar-thumb) var(--bg-scrollbar-track);scrollbar-width:thin}}");SOe=SOe.join("");rmi.exports={uuid:"4b1d18aa-d0f1-40b2-87a2-cf3f1f8a3a82",locals:{container:"container_jGENL","more-btn":"more-btn_MZH-K"},toString(){return SOe}}});var r3t=xe((Fkn,lmi)=>{var MOe=[];MOe.push('.tree-container_WkZGq{width:100%}.tree-rowline_H7JRq{color:currentColor;color:var(--font-color-tree);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content;position:relative}.tree-rowline_H7JRq.a_2B6Km{outline:none;text-decoration:none}.tree-rowline_H7JRq .tree-content_aBzr7{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;white-space:nowrap;word-break:break-all;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;font-size:12px;padding:3px 0 3px 3px}.tree-rowline_H7JRq .tree-content-selected_20qGy{background-color:var(--bg-color-selected-drop-down-menuItem);color:var(--font-color-selected-down-menuItem)}.tree-rowline_H7JRq .tree-content-disabled_xMPHx{color:var(--font-color-disabled-drop-down-menuItem);pointer-events:none}.tree-rowline_H7JRq .tree-content-underline_O9etT{border-bottom:1px solid #dcdcdc}.tree-rowline-selected_zSIcQ{background-color:var(--bg-color-selected-drop-down-menuItem);color:var(--font-color-selected-down-menuItem)}.tree-rowline-can-hover_UnZVT:hover,.tree-rowline-hover_dqmHa{background-color:var(--bg-color-hover-drop-down-menuItem)}.tree-rowline_H7JRq .tree-blank_qPStw,.tree-rowline_H7JRq .tree-extends_2nQhT,.tree-rowline_H7JRq .tree-usertips-line_o6XBC,.tree-rowline_H7JRq .tree-usertips-line-fork_-5ae3,.tree-rowline_H7JRq .tree-usertips-line-middle_ouPtI,.tree-rowline_H7JRq .tree-usertips-line-turn_Srue-{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-webkit-flex-shrink:0;flex-shrink:0;height:auto;justify-content:center;padding:0;width:var(--tree-widget-item-width)}.tree-rowline_H7JRq .tree-usertips-line-middle_ouPtI{width:-webkit-calc(var(--tree-widget-item-width)*0.5);width:-moz-calc(var(--tree-widget-item-width)*0.5);width:calc(var(--tree-widget-item-width)*.5)}.tree-rowline_H7JRq .tree-usertips-line-fork_-5ae3:after,.tree-rowline_H7JRq .tree-usertips-line-fork_-5ae3:before,.tree-rowline_H7JRq .tree-usertips-line-middle_ouPtI:before,.tree-rowline_H7JRq .tree-usertips-line-turn_Srue-:after,.tree-rowline_H7JRq .tree-usertips-line-turn_Srue-:before,.tree-rowline_H7JRq .tree-usertips-line_o6XBC:before{background-color:var(--font-color-tree);content:"";display:inline-block;opacity:.45}.tree-rowline_H7JRq .tree-usertips-line_o6XBC:before{height:100%;width:1px}.tree-rowline_H7JRq .tree-usertips-line-middle_ouPtI:before{height:1px;width:100%}.tree-rowline_H7JRq .tree-usertips-line-turn_Srue-{position:relative}.tree-rowline_H7JRq .tree-usertips-line-turn_Srue-:before{height:50%;left:-webkit-calc(50% - .5px);left:-moz-calc(50% - .5px);left:calc(50% - .5px);position:absolute;top:0;width:1px}.tree-rowline_H7JRq .tree-usertips-line-turn_Srue-:after{height:1px;left:50%;position:absolute;top:-webkit-calc(50% - .5px);top:-moz-calc(50% - .5px);top:calc(50% - .5px);width:50%}.tree-rowline_H7JRq .tree-usertips-line-fork_-5ae3{position:relative}.tree-rowline_H7JRq .tree-usertips-line-fork_-5ae3:before{height:100%;left:-webkit-calc(50% - .5px);left:-moz-calc(50% - .5px);left:calc(50% - .5px);position:absolute;top:0;width:1px}.tree-rowline_H7JRq .tree-usertips-line-fork_-5ae3:after{height:1px;left:50%;position:absolute;top:-webkit-calc(50% - .5px);top:-moz-calc(50% - .5px);top:calc(50% - .5px);width:50%}.tree-extends-icon_1ULhu{cursor:pointer;-webkit-filter:var(--icon-color-drop-down-menuItem);filter:var(--icon-color-drop-down-menuItem)}.tree-extends-box_ipMRU{border:1px solid rgba(0,0,0,.4);-moz-box-sizing:border-box;box-sizing:border-box;height:14px;position:relative;width:14px}.tree-extends-box_ipMRU:after,.tree-extends-box_ipMRU:before{background-color:rgba(0,0,0,.4);content:"";left:50%;line-height:100%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-moz-transition:transform .3s,-moz-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s,-moz-transform .3s}.tree-extends-box_ipMRU:before{height:1px;width:60%}.tree-extends-box_ipMRU:after{height:60%;width:1px}.tree-extends-box-active_3NDlX:after{-webkit-transform:translate(-50%,-50%) rotate(90deg);-moz-transform:translate(-50%,-50%) rotate(90deg);transform:translate(-50%,-50%) rotate(90deg)}.tree-extends-triangle_q-yOv{-moz-box-sizing:border-box;box-sizing:border-box;height:14px;position:relative;width:14px}.tree-extends-triangle_q-yOv:before{border:5px solid transparent;border-left-color:rgba(0,0,0,.4);content:"";left:50%;line-height:100%;position:absolute;top:50%;-webkit-transform:translateY(-45%) scale(1.25);-moz-transform:translateY(-45%) scale(1.25);transform:translateY(-45%) scale(1.25);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-moz-transition:transform .3s,-moz-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s,-moz-transform .3s}.tree-extends-triangle-active_wilMy:before{-webkit-transform:translate(-50%,-20%) rotate(90deg) scale(1.25);-moz-transform:translate(-50%,-20%) rotate(90deg) scale(1.25);transform:translate(-50%,-20%) rotate(90deg) scale(1.25)}');MOe=MOe.join("");lmi.exports={uuid:"1d53c034-63d4-4309-be97-1f2c42f33c7b",locals:{"tree-container":"tree-container_WkZGq","tree-rowline":"tree-rowline_H7JRq",a:"a_2B6Km","tree-content":"tree-content_aBzr7","tree-content-selected":"tree-content-selected_20qGy","tree-content-disabled":"tree-content-disabled_xMPHx","tree-content-underline":"tree-content-underline_O9etT","tree-rowline-selected":"tree-rowline-selected_zSIcQ","tree-rowline-can-hover":"tree-rowline-can-hover_UnZVT","tree-rowline-hover":"tree-rowline-hover_dqmHa","tree-blank":"tree-blank_qPStw","tree-extends":"tree-extends_2nQhT","tree-usertips-line":"tree-usertips-line_o6XBC","tree-usertips-line-fork":"tree-usertips-line-fork_-5ae3","tree-usertips-line-middle":"tree-usertips-line-middle_ouPtI","tree-usertips-line-turn":"tree-usertips-line-turn_Srue-","tree-extends-icon":"tree-extends-icon_1ULhu","tree-extends-box":"tree-extends-box_ipMRU","tree-extends-box-active":"tree-extends-box-active_3NDlX","tree-extends-triangle":"tree-extends-triangle_q-yOv","tree-extends-triangle-active":"tree-extends-triangle-active_wilMy"},toString(){return MOe}}});var ymi=xe((O9n,bmi)=>{var LOe=[];LOe.push(".category-container_ddrWn{border:1px solid var(--border-color-panel-divider);-webkit-flex-shrink:0;flex-shrink:0;height:100%;overflow:hidden;padding:5px;position:relative;width:100%}.category-container_ddrWn,.category-container_ddrWn *{-moz-box-sizing:border-box;box-sizing:border-box}.category-container_ddrWn .hightlight_rXuvh{background:var(--common-bg-color-highLight-item)}.lock-layer_uOWgB{background-color:hsla(0,0%,100%,.25);bottom:0;display:none;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:9999}.lock-layer-show_q6CZd{display:block}");LOe=LOe.join("");bmi.exports={uuid:"29d59621-d17f-4e7e-b73b-0d1b64c06c97",locals:{"category-container":"category-container_ddrWn",hightlight:"hightlight_rXuvh","lock-layer":"lock-layer_uOWgB","lock-layer-show":"lock-layer-show_q6CZd"},toString(){return LOe}}});var No=xe((cjn,Phi)=>{var xRe=[];xRe.push(".main-container_abvkn{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;height:520px;min-height:520px;width:100%;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:stretch;-webkit-align-items:stretch;-moz-box-align:stretch;-webkit-align-content:stretch;align-content:stretch;align-items:stretch;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;margin-bottom:16px}.main-container_abvkn *{list-style:none;outline:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.menu-wrapper_TmS4b{border:1px solid var(--common-border-color);-webkit-flex-shrink:0;flex-shrink:0;padding:8px 2px;width:200px}.content-wrapper_BF-x4,.menu-wrapper_TmS4b{color:var(--font-color-pop-up);overflow:hidden}.content-wrapper_BF-x4{padding-left:16px;width:100%}.content-sub-wrapper_F0S6S,.content-wrapper_BF-x4 .list_r8ysM{border:1px solid var(--common-border-color)}.content-sub-wrapper_F0S6S{height:100%;overflow:auto;padding:8px 16px}.dialog-btns-wrapper_kZvc- [data-tagitem=presetmgr-wrapper]{height:26px}.profileline-wrapper_3aBNd{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;line-height:24px;margin:0 0 16px;overflow:hidden;width:100%}.profileline-label-wrapper_NmlRo{-webkit-box-flex:0;-webkit-flex:0 0 184px;-moz-box-flex:0;flex:0 0 184px;text-align:left;word-break:break-word}.profileline-content-wrapper_VHEtV{color:var(--font-color-pop-up);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;padding-left:16px;width:-webkit-calc(100% - 184px);width:-moz-calc(100% - 184px);width:calc(100% - 184px)}.profileline-content-item-wrapper_BBDGx{min-width:125px;padding-left:16px;position:relative;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.profileline-content-item-wrapper_BBDGx:first-child{padding-left:0}.profileline-wrapper2_ANCNV{color:var(--font-color-pop-up);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start;line-height:24px;margin:0 0 16px;overflow:hidden;width:100%}.profileline-label-wrapper2_8NPWz{-webkit-box-flex:0;-webkit-flex:0 0 184px;-moz-box-flex:0;flex:0 0 184px;text-align:left;word-break:break-word}.profileline-content-wrapper2_4B8s6{color:var(--font-color-pop-up);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;padding-left:16px;width:-webkit-calc(100% - 184px);width:-moz-calc(100% - 184px);width:calc(100% - 184px);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.profileline-content-item-wrapper2_5VFKD{min-width:125px;padding-bottom:8px;position:relative;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.profileline-content-item-wrapper2_5VFKD:last-child{padding-bottom:0}.profile-input-checkbox_L9WYY,.profile-input-radio_Z6uDM{cursor:pointer;vertical-align:middle}.profile-input-text_Xm9Ax{cursor:text;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;vertical-align:middle}.profile-input-tips_nTeAt{cursor:pointer;vertical-align:middle}.filter-icon_6Ovql{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.view-loading-wrapper_20sBp{height:520px;left:0;position:relative;top:0;width:100%}.view-loading_zVRdM{background-color:var(--common-bg-color);height:-webkit-calc(100% - 2px);height:-moz-calc(100% - 2px);height:calc(100% - 2px);left:1px;position:absolute;top:1px;width:-webkit-calc(100% - 2px);width:-moz-calc(100% - 2px);width:calc(100% - 2px);z-index:9999}.view-loading-rotation_LE9ry{height:36px;left:45%;position:absolute;top:40%;width:36px}.catogory-container_sfVOT{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;width:100%}.category-lib-container_fOnhU{-webkit-flex-shrink:0;flex-shrink:0;height:100%;width:120px}.category-content-container_HJH07{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;padding-left:8px;width:-webkit-calc(100% - 120px);width:-moz-calc(100% - 120px);width:calc(100% - 120px)}");xRe=xRe.join("");Phi.exports={uuid:"ecd27d74-f83f-4746-8965-d049d8d8a59b",locals:{"main-container":"main-container_abvkn","menu-wrapper":"menu-wrapper_TmS4b","content-wrapper":"content-wrapper_BF-x4","content-sub-wrapper":"content-sub-wrapper_F0S6S",list:"list_r8ysM","dialog-btns-wrapper":"dialog-btns-wrapper_kZvc-","profileline-wrapper":"profileline-wrapper_3aBNd","profileline-label-wrapper":"profileline-label-wrapper_NmlRo","profileline-content-wrapper":"profileline-content-wrapper_VHEtV","profileline-content-item-wrapper":"profileline-content-item-wrapper_BBDGx","profileline-wrapper2":"profileline-wrapper2_ANCNV","profileline-label-wrapper2":"profileline-label-wrapper2_8NPWz","profileline-content-wrapper2":"profileline-content-wrapper2_4B8s6","profileline-content-item-wrapper2":"profileline-content-item-wrapper2_5VFKD","profile-input-checkbox":"profile-input-checkbox_L9WYY","profile-input-radio":"profile-input-radio_Z6uDM","profile-input-text":"profile-input-text_Xm9Ax","profile-input-tips":"profile-input-tips_nTeAt","filter-icon":"filter-icon_6Ovql","view-loading-wrapper":"view-loading-wrapper_20sBp","view-loading":"view-loading_zVRdM","view-loading-rotation":"view-loading-rotation_LE9ry","catogory-container":"catogory-container_sfVOT","category-lib-container":"category-lib-container_fOnhU","category-content-container":"category-content-container_HJH07"},toString(){return xRe}}});var Fhi=xe((Sjn,zhi)=>{var TRe=[];TRe.push(".container_13Apz{height:100%;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-moz-box-sizing:border-box;box-sizing:border-box;flex-direction:column;overflow-y:auto}.container_13Apz,.line_CWHGT{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.line_CWHGT{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;line-height:24px;margin-bottom:16px;width:100%}.title_wrg7k{display:inline-block;margin-right:16px;text-align:left;width:184px}.input_wrap_oSbcN{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:22px;line-height:20px;min-width:150px}.input_addon_JKoQT{background-color:var(--bg-color-disabled-input);border:1px solid var(--border-color-disabled-input);border-left:none;border-radius:0 2px 2px 0;color:var(--font-color-disabled-input);-webkit-flex-shrink:0;flex-shrink:0;height:24px;padding:0 10px;text-align:center}");TRe=TRe.join("");zhi.exports={uuid:"c659ec66-058a-41ec-9bc6-d5c9ed0e6f50",locals:{container:"container_13Apz",line:"line_CWHGT",title:"title_wrg7k",input_wrap:"input_wrap_oSbcN",input_addon:"input_addon_JKoQT"},toString(){return TRe}}});var Vhi=xe((Mjn,Uhi)=>{var SRe=[];SRe.push(".radio-group_TwCtQ{-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;vertical-align:middle}.radio-group_TwCtQ.layout-vertical_qpW4Y{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.radio-group_TwCtQ.layout-vertical_qpW4Y .radio_syqxi{float:left;-webkit-writing-mode:initial;writing-mode:initial}");SRe=SRe.join("");Uhi.exports={uuid:"181c4ca0-f3a0-43eb-9eee-351b17082657",locals:{"radio-group":"radio-group_TwCtQ","layout-vertical":"layout-vertical_qpW4Y",radio:"radio_syqxi"},toString(){return SRe}}});var Khi=xe((Qjn,Qhi)=>{var vRe=[];vRe.push(".scrollX_yHAZz{background-color:var(--bg-scrollbar-thumb);border-radius:5px;height:8px;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:8px;z-index:2}.scrollX_yHAZz:hover{background-color:var(--bg-scrollbar-thumb-hover)}.scrollX_click_c7Ril{background-color:var(--bg-scrollbar-thumb-selected)}.scrollX_track_--B61{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:8px;position:absolute;width:100%;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background-color:var(--bg-scrollbar-track)}.scrollX_track_--B61 .arrow-left_h3p-O{border-right:4px solid #999}.scrollX_track_--B61 .arrow-left_h3p-O,.scrollX_track_--B61 .arrow-right_n7SRh{border-bottom:3px solid transparent;border-top:3px solid transparent;display:inline-block;height:0;width:0}.scrollX_track_--B61 .arrow-right_n7SRh{border-left:4px solid #999}");vRe=vRe.join("");Qhi.exports={uuid:"f2b36a1d-02de-42f0-bd0b-b3e5c8d4e4ac",locals:{scrollX:"scrollX_yHAZz",scrollX_click:"scrollX_click_c7Ril",scrollX_track:"scrollX_track_--B61","arrow-left":"arrow-left_h3p-O","arrow-right":"arrow-right_n7SRh"},toString(){return vRe}}});var Jxe=xe((sBn,ifi)=>{var ARe=[];ARe.push('table{border-width:0;-webkit-border-horizontal-spacing:0;-webkit-border-vertical-spacing:0}.text-ellipsis_-QdVy{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lc-table_RqTIK{border-collapse:separate;border-spacing:0;display:inline-table;table-layout:fixed;width:100%}.lc-table-container_ZxvXv{height:100%;overflow-x:hidden;overflow-y:hidden;position:relative;width:100%}.lc-table-container_ZxvXv *{-moz-box-sizing:border-box;box-sizing:border-box}.lc-table-fixed-left_7N1ik{left:0;position:absolute;top:0;z-index:1}.lc-table-fixed-left-shadow_WWkSI{box-shadow:4px 0 8px #bfbfbf}.lc-table_RqTIK thead{background-color:#f1f1f1}.lc-table_RqTIK td,.lc-table_RqTIK th{color:var(--font-color-table);font-size:1rem;font-weight:400;padding:0 6px;text-align:left;-webkit-user-select:text;-moz-user-select:text;user-select:text}.lc-table_RqTIK th{background-color:var(--bg-color-table-header);position:relative}.lc-table_RqTIK th .resize_iTM1L{cursor:col-resize;position:absolute;right:0;top:0;width:4px}.lc-table-box_dIxZE{overflow:hidden;width:100%}.lc-table-header_IMJpL{height:25px;overflow-x:hidden;overflow-y:hidden}.lc-table-header--fixed_FOSGl{position:sticky;top:0}.lc-table-header--border_E1XuM{border-bottom:1px solid var(--border-color-table-header)}.lc-table-header--border_E1XuM th{background-color:var(--bg-color-table-header)!important;border-top:1px solid var(--border-color-table-header)}.lc-table-body_uoDkx{max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content;overflow-x:hidden;overflow-y:auto;position:relative}.lc-table-body--border_OM-KU tr td{border-bottom:1px solid var(--border-color-table-body)}.lc-table-row_LKX3a{background-color:var(--bg-color-table-row)}.lc-table-row_LKX3a td{overflow:hidden}.lc-table-row--hoverBgColor_JifPS:hover{background-color:var(--bg-color-hover-tr)!important;color:var(--font-color-hover-tr)}.lc-table-row--even_ARBso{background-color:var(--bg-color-1-table-row)}.lc-table-row--selected_Ext1-{background-color:var(--bg-color-selected-tr)!important}.lc-table-row--selected_Ext1- td{color:var(--font-color-selected-tr)!important}.lc-table-row--selected2_h1wEb td{color:#1890ff!important}.lc-table-row--disabled_U-Qam{background-color:var(--bg-color-disabled-td)}.lc-table-row--disabled_U-Qam td{color:var(--font-color-disabled-td)!important}.lc-table--border_PeStY td,.lc-table--border_PeStY th{border-right:1px solid var(--border-color-table-header)}.lc-table--border_PeStY td:first-child,.lc-table--border_PeStY th:first-child{border-left:1px solid var(--border-color-table-header)}.lc-table_RqTIK .th-cell_sSliD{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:25px;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.lc-table_RqTIK .th-cell__left_iHIxu{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lc-table_RqTIK .th-cell__left-title_vBUN3{font-size:inherit}.lc-table_RqTIK .th-cell__left-icon_M0FKl{cursor:pointer;display:inline-block;-webkit-filter:var(--icon-color-table-th-cell);filter:var(--icon-color-table-th-cell);height:12px;left:2px;position:relative;top:3px;width:12px}.lc-table_RqTIK .th-cell__left-icon--active_BbnJe{-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%)}.lc-table_RqTIK .th-cell__sort_JKXk9{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:20px;width:20px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.lc-table_RqTIK .th-cell__sort--asc_Lun0M{cursor:pointer;height:10px;position:relative;width:12px}.lc-table_RqTIK .th-cell__sort--asc_Lun0M:before{border:6px solid transparent;border-bottom:6px solid var(--icon-color-table-header);bottom:1px;content:"";height:0;left:0;position:absolute;width:0}.lc-table_RqTIK .th-cell__sort--asc-status_95575:before{border-bottom-color:#1890ff}.lc-table_RqTIK .th-cell__sort--desc_CHVe4{cursor:pointer;height:10px;position:relative;width:12px}.lc-table_RqTIK .th-cell__sort--desc_CHVe4:before{border:6px solid transparent;border-top:6px solid var(--icon-color-table-header);content:"";height:0;left:0;position:absolute;top:1px;width:0}.lc-table_RqTIK .th-cell__sort--desc-status_UrKlL:before{border-top-color:#1890ff}.lc-table-checkbox_PuftR{height:15px;opacity:1!important;position:static!important;vertical-align:middle;width:15px}.lc-table-text-ellipsis_OQp6d{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lc-table-col-resize-line_O3e7f{cursor:col-resize;height:0;left:0;position:fixed;top:0;width:0;z-index:11000}.lc-table-col-resize-line_O3e7f:before{border-right:2px dotted #8bc34a;content:"";height:100%;left:0;margin:auto;position:absolute;right:0;width:0}.th-cell-content-menu_WWJqg{left:0;position:fixed;top:0;width:auto;z-index:11001}.hightlight_C-mXN{background:var(--common-bg-color-highLight-item)}.tips-wrap_jAQop{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.fixed_UcNZU{border-right:1px solid #e3e3e3;position:sticky!important;z-index:1}.shadow_cS-hp{box-shadow:3px 0 4px #333;height:inherit;position:absolute;top:0;width:1px;z-index:3}');ARe=ARe.join("");ifi.exports={uuid:"0d4038a9-d350-4627-84a3-31d084174cf0",locals:{"text-ellipsis":"text-ellipsis_-QdVy","lc-table":"lc-table_RqTIK","lc-table-container":"lc-table-container_ZxvXv","lc-table-fixed-left":"lc-table-fixed-left_7N1ik","lc-table-fixed-left-shadow":"lc-table-fixed-left-shadow_WWkSI",resize:"resize_iTM1L","lc-table-box":"lc-table-box_dIxZE","lc-table-header":"lc-table-header_IMJpL","lc-table-header--fixed":"lc-table-header--fixed_FOSGl","lc-table-header--border":"lc-table-header--border_E1XuM","lc-table-body":"lc-table-body_uoDkx","lc-table-body--border":"lc-table-body--border_OM-KU","lc-table-row":"lc-table-row_LKX3a","lc-table-row--hoverBgColor":"lc-table-row--hoverBgColor_JifPS","lc-table-row--even":"lc-table-row--even_ARBso","lc-table-row--selected":"lc-table-row--selected_Ext1-","lc-table-row--selected2":"lc-table-row--selected2_h1wEb","lc-table-row--disabled":"lc-table-row--disabled_U-Qam","lc-table--border":"lc-table--border_PeStY","th-cell":"th-cell_sSliD","th-cell__left":"th-cell__left_iHIxu","th-cell__left-title":"th-cell__left-title_vBUN3","th-cell__left-icon":"th-cell__left-icon_M0FKl","th-cell__left-icon--active":"th-cell__left-icon--active_BbnJe","th-cell__sort":"th-cell__sort_JKXk9","th-cell__sort--asc":"th-cell__sort--asc_Lun0M","th-cell__sort--asc-status":"th-cell__sort--asc-status_95575","th-cell__sort--desc":"th-cell__sort--desc_CHVe4","th-cell__sort--desc-status":"th-cell__sort--desc-status_UrKlL","lc-table-checkbox":"lc-table-checkbox_PuftR","lc-table-text-ellipsis":"lc-table-text-ellipsis_OQp6d","lc-table-col-resize-line":"lc-table-col-resize-line_O3e7f","th-cell-content-menu":"th-cell-content-menu_WWJqg",hightlight:"hightlight_C-mXN","tips-wrap":"tips-wrap_jAQop",fixed:"fixed_UcNZU",shadow:"shadow_cS-hp"},toString(){return ARe}}});var ufi=xe((BBn,dfi)=>{var _Re=[];_Re.push(".container_rCVdm{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.body-box_m4q1Y,.container_rCVdm{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.body-box_m4q1Y{border:1px solid var(--common-border-color);gap:20px;padding:8px}.left-wrap_nioHR{width:150px}.left-wrap_nioHR .keys-list_vAgSb{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;margin-top:8px;min-height:395px;overflow:hidden}.left-wrap_nioHR .keys-list_vAgSb .key-li_Vt3r-{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;gap:4px;padding:0 15px}.left-wrap_nioHR .keys-list_vAgSb .key-li_Vt3r- *{line-height:26px!important}.left-wrap_nioHR .keys-list_vAgSb .key-li_Vt3r->span{line-height:26px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.left-wrap_nioHR .keys-list_vAgSb .selected_S6kdu{background-color:var(--common-hover-bg-color)}.right-wrap_GWIXO{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:-webkit-calc(100% - 170px);width:-moz-calc(100% - 170px);width:calc(100% - 170px);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.right-wrap_GWIXO .table-container_y-0vn{border:1px solid var(--common-border-color);height:100%;margin-top:7px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.right-wrap_GWIXO .setting-header_1dMHm{height:24px;line-height:24px}.footer-box_30ViQ,.right-wrap_GWIXO .setting-header_1dMHm{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.footer-box_30ViQ{gap:8px;margin-top:16px;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end}");_Re=_Re.join("");dfi.exports={uuid:"b36bac85-62f8-4c00-8402-78bc480cca99",locals:{container:"container_rCVdm","body-box":"body-box_m4q1Y","left-wrap":"left-wrap_nioHR","keys-list":"keys-list_vAgSb","key-li":"key-li_Vt3r-",selected:"selected_S6kdu","right-wrap":"right-wrap_GWIXO","table-container":"table-container_y-0vn","setting-header":"setting-header_1dMHm","footer-box":"footer-box_30ViQ"},toString(){return _Re}}});var gfi=xe((Mzn,ffi)=>{var Rb=[];Rb.push(".pin-manager-operate_HPHue{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:4px 0}.pin-select_FIOPU{border-radius:2px;height:24px;margin:0 8px 0 4px}.pin-manager-btn_k-pqH{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;padding-left:6px}.operate-btn-common_5HhfO{background-position:50%;background-repeat:no-repeat;background-size:130%;cursor:pointer;height:16px;margin:0 4px;width:16px}.operate-btn-common_5HhfO[data-disabled=true]{pointer-events:none}.icon-operate-add_LhXq7{background-image:");Rb.push("url(");Rb.push(JSON.stringify(u9()));Rb.push(")");Rb.push(";background-position:50%;background-repeat:no-repeat;background-size:130%;cursor:pointer;height:16px;margin:0 4px;width:16px}.icon-operate-add_LhXq7[data-disabled=true]{background-image:");Rb.push("url(");Rb.push(JSON.stringify(VR()));Rb.push(")");Rb.push(";background-position:50%;background-size:130%;pointer-events:none}.icon-operate-delete_3RVVk{background-image:");Rb.push("url(");Rb.push(JSON.stringify(p9()));Rb.push(")");Rb.push(";background-position:50%;background-repeat:no-repeat;background-size:130%;cursor:pointer;height:16px;margin:0 4px;width:16px}.icon-operate-delete_3RVVk[data-disabled=true]{background-image:");Rb.push("url(");Rb.push(JSON.stringify(m9()));Rb.push(")");Rb.push(";background-position:center -2px;background-size:140%;pointer-events:none}.pin-data-table_AAGi1{height:-webkit-calc(100% - 30px);height:-moz-calc(100% - 30px);height:calc(100% - 30px);overflow-x:auto;overflow-y:hidden;overflow:auto hidden}");Rb=Rb.join("");ffi.exports={uuid:"460cae34-3987-45ee-ba8a-89e1b81e4ced",locals:{"pin-manager-operate":"pin-manager-operate_HPHue","pin-select":"pin-select_FIOPU","pin-manager-btn":"pin-manager-btn_k-pqH","operate-btn-common":"operate-btn-common_5HhfO","icon-operate-add":"icon-operate-add_LhXq7","icon-operate-delete":"icon-operate-delete_3RVVk","pin-data-table":"pin-data-table_AAGi1"},toString(){return Rb}}});var Iwt=xe((Izn,bfi)=>{var Fd=[];Fd.push(".tree-expand_ZGDQ-{background:");Fd.push("url(");Fd.push(JSON.stringify(Ow()));Fd.push(")");Fd.push(" no-repeat;height:16px;width:16px}.tree-collapse_MAC0b{background:");Fd.push("url(");Fd.push(JSON.stringify(qx()));Fd.push(")");Fd.push(" no-repeat;height:16px;width:16px}.icon-eda-add-circle_bFhej{background-image:");Fd.push("url(");Fd.push(JSON.stringify(mmt()));Fd.push(")");Fd.push(";background-position:100% 0}.icon-eda-add-circle_bFhej,.icon-eda-symbol_5ngn6{background-repeat:no-repeat;height:16px;width:16px}.icon-eda-symbol_5ngn6{background-image:");Fd.push("url(");Fd.push(JSON.stringify(Mie()));Fd.push(")");Fd.push("}.icon-eda-part_zkIA2,.icon-eda-symbol_5ngn6{background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-part_zkIA2{background-image:");Fd.push("url(");Fd.push(JSON.stringify(_8e()));Fd.push(")");Fd.push(";background-repeat:no-repeat;height:16px;width:16px}.tree-line-custom_CF5Lg{position:relative;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.part-sub-tabbar_gpb7g,.tree-line-custom_CF5Lg{-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%}.part-sub-tabbar_gpb7g{background-color:var(--bg-color-canvas-info);border-bottom:1px solid var(--common-border-color-2);color:#333;font-size:12px;height:24px}.part-sub-tabbar_gpb7g .operate-btn-wrap_9o7-T{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;padding:0 8px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.part-sub-tabbar_gpb7g .operate-btn-wrap_9o7-T .p-icon_EOXtu{background-color:var(--common-bg-color);background-position:50%;background-repeat:no-repeat;background-size:16px 16px;border:1px solid #1890ff;cursor:pointer;display:block;height:18px;width:18px}.part-sub-tabbar_gpb7g .operate-btn-wrap_9o7-T .p-icon_EOXtu.add-btn-icon_hEZBT{background-image:");Fd.push("url(");Fd.push(JSON.stringify(u9()));Fd.push(")");Fd.push(";margin-right:4px}.part-sub-tabbar_gpb7g .operate-btn-wrap_9o7-T .p-icon_EOXtu.delete-btn-icon_-aMnh{background-image:");Fd.push("url(");Fd.push(JSON.stringify(p9()));Fd.push(")");Fd.push("}.part-sub-tabbar_gpb7g .operate-btn-wrap_9o7-T .p-icon_EOXtu.icon_operate_delete-disabled_wv8PC{background-image:");Fd.push("url(");Fd.push(JSON.stringify(m9()));Fd.push(")");Fd.push(";cursor:not-allowed}.part-sub-tabbar_gpb7g .tab-box_hm8aa{height:100%;overflow:hidden}.part-sub-tabbar_gpb7g .tab-box_hm8aa .scroll-tabs-wrap_TDXeT{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;overflow-x:auto;overflow-y:hidden}.part-sub-tabbar_gpb7g .tab-box_hm8aa .scroll-tabs-wrap_TDXeT::-webkit-scrollbar{height:1px}.part-sub-tabbar_gpb7g .tab-box_hm8aa .tab-container_MPIvn{height:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.delete-tip-modal-footer_8-F5r{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}");Fd=Fd.join("");bfi.exports={uuid:"d50b8d0e-c8f4-4a48-a0f1-d9d336b8270b",locals:{"tree-expand":"tree-expand_ZGDQ-","tree-collapse":"tree-collapse_MAC0b","icon-eda-add-circle":"icon-eda-add-circle_bFhej","icon-eda-symbol":"icon-eda-symbol_5ngn6","icon-eda-part":"icon-eda-part_zkIA2","tree-line-custom":"tree-line-custom_CF5Lg","part-sub-tabbar":"part-sub-tabbar_gpb7g","operate-btn-wrap":"operate-btn-wrap_9o7-T","p-icon":"p-icon_EOXtu","add-btn-icon":"add-btn-icon_hEZBT","delete-btn-icon":"delete-btn-icon_-aMnh","icon_operate_delete-disabled":"icon_operate_delete-disabled_wv8PC","tab-box":"tab-box_hm8aa","scroll-tabs-wrap":"scroll-tabs-wrap_TDXeT","tab-container":"tab-container_MPIvn","delete-tip-modal-footer":"delete-tip-modal-footer_8-F5r"},toString(){return Fd}}});var wfi=xe((Lzn,yfi)=>{var URe=[];URe.push('.buttons_09fwv{display:none;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;padding-left:8px}.buttons_09fwv .arrow_div_honpm{background:#fff;border:1px solid #1890ff;border-radius:2px;cursor:pointer;height:18px;margin-right:4px;position:relative;width:18px}.buttons_09fwv .left_arrow_icon_8wTad{left:9px;-webkit-transform:scaleX(.75) scaleY(.75) translateY(0) rotate(180deg);-moz-transform:scaleX(.75) scaleY(.75) translateY(0) rotate(180deg);transform:scaleX(.75) scaleY(.75) translateY(0) rotate(180deg);-webkit-transform-origin:left center;-moz-transform-origin:left center;transform-origin:left center}.buttons_09fwv .left_arrow_icon_8wTad,.buttons_09fwv .right_arrow_icon_HHoQB{border:5px solid transparent;border-left-color:#1890ff;content:"";position:absolute;top:3px}.buttons_09fwv .right_arrow_icon_HHoQB{left:7px;-webkit-transform:scaleX(.75) scaleY(.75) translateY(0) translateY(0);-moz-transform:scaleX(.75) scaleY(.75) translateY(0) translateY(0);transform:scaleX(.75) scaleY(.75) translateY(0) translateY(0);-webkit-transform-origin:left center;-moz-transform-origin:left center;transform-origin:left center}.buttons_09fwv .menu_wrap_Tka5P{background:var(--bg-color-reuseTab);border:1px solid var(--common-border-color-2);border-radius:2px;cursor:pointer;height:18px;width:18px}.buttons_09fwv .menu_wrap_Tka5P span{display:inline-block;height:100%;width:100%}.buttons_09fwv .menu_wrap_Tka5P:hover{border-color:var(--border-color-hover-button)}');URe=URe.join("");yfi.exports={uuid:"917de175-a10c-44d7-a612-f85d79f35290",locals:{buttons:"buttons_09fwv",arrow_div:"arrow_div_honpm",left_arrow_icon:"left_arrow_icon_8wTad",right_arrow_icon:"right_arrow_icon_HHoQB",menu_wrap:"menu_wrap_Tka5P"},toString(){return URe}}});var Dfi=xe((SFn,vfi)=>{var GRe=[];GRe.push(".line_Esabv{-webkit-column-gap:8px;-moz-column-gap:8px;column-gap:8px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.line_Esabv label{text-align:right;width:72px}.line_Esabv input{height:22px!important}");GRe=GRe.join("");vfi.exports={uuid:"41b0e939-d7e1-494e-b468-3990c5d46928",locals:{line:"line_Esabv"},toString(){return GRe}}});var Gfi=xe((JUn,Hfi)=>{var WRe=[];WRe.push(".content-menu_MSGvG{background-color:var(--bg-color-table-row);border-radius:2px;box-shadow:0 0 5px var(--shadow-color-right-menu);padding:4px 0;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.content-menu_MSGvG,.content-menu_MSGvG .wrap_uoNOW{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.content-menu_MSGvG .item_4m-DC{cursor:pointer;display:inline-block;height:24px;line-height:24px;padding:0 32px}.content-menu_MSGvG .item_4m-DC:hover{background-color:var(--bg-color-hover-drop-down-menuItem);color:var(--common-hover-font-color)}");WRe=WRe.join("");Hfi.exports={uuid:"4e9e71ab-eab0-4435-ba63-e1b059f47e1a",locals:{"content-menu":"content-menu_MSGvG",wrap:"wrap_uoNOW",item:"item_4m-DC"},toString(){return WRe}}});var tgi=xe((gHn,egi)=>{var KRe=[];KRe.push(".disabled_cell_4BKSp{background:#f1f1f1;background-clip:padding-box;height:100%;width:100%}");KRe=KRe.join("");egi.exports={uuid:"ed7828d2-40bf-436f-a286-a111a0966494",locals:{disabled_cell:"disabled_cell_4BKSp"},toString(){return KRe}}});var ogi=xe((bHn,igi)=>{var ZRe=[];ZRe.push(".label_K7inx{margin-left:4px}.option_area_qNYgz{width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-flow:row wrap;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-flow:row wrap;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start}.option_area_qNYgz,.option_area_qNYgz .option_block_iucpE{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.option_area_qNYgz .option_block_iucpE{margin:8px 8px 8px 0;width:30%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;flex:0 1 auto}");ZRe=ZRe.join("");igi.exports={uuid:"1edb1d92-f555-40b6-8f0e-52930977518c",locals:{label:"label_K7inx",option_area:"option_area_qNYgz",option_block:"option_block_iucpE"},toString(){return ZRe}}});var lgi=xe((MHn,sgi)=>{var qRe=[];qRe.push(".title_KMlSL{margin:15px 0 15px 10px}.status_ggFev{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.label_MkeYI{margin-left:4px}.item_Gqubq{margin-right:15px;margin-top:10px}");qRe=qRe.join("");sgi.exports={uuid:"53414bed-76d4-414c-a6b0-f9a68f85271a",locals:{title:"title_KMlSL",status:"status_ggFev",label:"label_MkeYI",item:"item_Gqubq"},toString(){return qRe}}});var t_e=xe((KHn,fgi)=>{var oA=[];oA.push(".color-button_V-QcN{border:1px solid var(--border-color-color-button);border-radius:4px;color:transparent;cursor:pointer;height:16px;outline:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:16px}.color-picker_FUznp{height:174px;opacity:0;pointer-events:none;position:absolute;width:252px;z-index:-1}.color-picker_FUznp *{-moz-box-sizing:border-box;box-sizing:border-box}.color-picker-header_6sVVn{height:30px;width:100%;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;background-color:#ccc;border-left:1px solid #333;border-right:1px solid #333;border-top:1px solid #333;justify-content:space-between}.color-picker-header_6sVVn,.color-picker-header_6sVVn .left_PhwCU{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.color-picker-header_6sVVn .left_PhwCU{gap:4px}.color-picker-header_6sVVn .left_PhwCU .show_IjFV6{border:1px solid #333;border-radius:2px;height:20px;margin-left:4px;width:40px}.color-picker-header_6sVVn .left_PhwCU .value_ncM0A{border:1px solid #d9d9d9;border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:#333;color:var(--common-font-color);font-family:Microsoft YaHei;font-size:12px;height:20px;max-width:64px;padding:0 4px}.color-picker-header_6sVVn .left_PhwCU .none_81C1k{background-image:");oA.push("url(");oA.push('"data:image/gif;base64,R0lGODlhFAAUAIAAAP///2ZmZiH5BAAHAP8ALAAAAAAUABQAAAIrDI6paLZ/HJCQKQpxrLPqzWnfQo2PY2apyp1g+3aw2I5m+q2yBe960uhdCgA7"');oA.push(")");oA.push(';cursor:pointer;height:20px;width:20px}.color-picker-header_6sVVn .left_PhwCU .default_p5B7w{background-color:#fff;border-radius:2px;color:#2e88d6;cursor:pointer;font-size:12px;height:20px;line-height:20px;min-width:48px;text-align:center}.color-picker-header_6sVVn .right_AcNwW{height:30px}.color-picker-header_6sVVn .right_AcNwW i{cursor:pointer;display:inline-block;height:30px;position:relative;width:30px}.color-picker-header_6sVVn .right_AcNwW i:hover{background-color:rgba(0,0,0,.1)}.color-picker-header_6sVVn .right_AcNwW .confirm_mRRlj:before{border-bottom:1px solid #333;border-left:1px solid #333;content:"";height:5px;left:10px;position:absolute;top:10px;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg);width:10px}.color-picker-header_6sVVn .right_AcNwW .cancel_uXtOW:before{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.color-picker-header_6sVVn .right_AcNwW .cancel_uXtOW:after,.color-picker-header_6sVVn .right_AcNwW .cancel_uXtOW:before{border-bottom:1px solid #333;bottom:14px;content:"";height:0;left:7px;position:absolute;width:14px}.color-picker-header_6sVVn .right_AcNwW .cancel_uXtOW:after{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}.color-picker-body_hYg2d{display:grid;height:144px;width:100%;grid-gap:0;grid-template-columns:repeat(21,12px);grid-template-rows:repeat(12,12px)}.color-picker-body-item_eCxtH{border-bottom:1px solid #333;border-right:1px solid #333;height:12px;width:12px}.color-picker-body-item_eCxtH:first-child{border-left:1px solid #333}.color-picker-body-item_eCxtH:nth-child(-n+21){border-top:1px solid #333}.color-picker-body_hYg2d:hover{box-shadow:inset 0 0 0 1px #333}.hidden_szHWn{display:none}.border_l6Oxd{box-shadow:inset 0 0 0 1px #333}.option_onm3i{background-color:transparent;background-color:initial;background-image:');oA.push("url(");oA.push('"data:image/gif;base64,R0lGODlhEAAQAIAAAP///9/f3yH5BAAHAP8ALAAAAAAQABAAAAIfjG+gq4jM3IFLJgpswNly/XkcBpIiVaInlLJr9FZWAQA7"');oA.push(")");oA.push(";color:var(--common-bg-color)}");oA=oA.join("");fgi.exports={uuid:"70cc0c7e-e336-482e-979e-8540f80318d1",locals:{"color-button":"color-button_V-QcN","color-picker":"color-picker_FUznp","color-picker-header":"color-picker-header_6sVVn",left:"left_PhwCU",show:"show_IjFV6",value:"value_ncM0A",none:"none_81C1k",default:"default_p5B7w",right:"right_AcNwW",confirm:"confirm_mRRlj",cancel:"cancel_uXtOW","color-picker-body":"color-picker-body_hYg2d","color-picker-body-item":"color-picker-body-item_eCxtH",hidden:"hidden_szHWn",border:"border_l6Oxd",option:"option_onm3i"},toString(){return oA}}});var Xwt=xe((CGn,xgi)=>{var s_e=[];s_e.push(".border-style_rWJKD{-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.border-style_rWJKD .font-item_ZtZ-p{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.border-style_rWJKD .txt_title_y1IG1{text-align:right}.border-style_rWJKD .has-border_Xy95L{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;padding:9px 16px}");s_e=s_e.join("");xgi.exports={uuid:"27f21c35-edc0-410e-a22d-026774dff9c5",locals:{"border-style":"border-style_rWJKD","font-item":"font-item_ZtZ-p",txt_title:"txt_title_y1IG1","has-border":"has-border_Xy95L"},toString(){return s_e}}});var d_e=xe((DGn,Mgi)=>{var c_e=[];c_e.push(".pcb-theme-container_7dXJp{height:100%;min-height:inherit;width:100%}.pcb-theme-container_7dXJp .comm-tab-content-item_VRngR{height:100%}.pcb-theme-container_7dXJp .cell-disabled_fYvpr{background:var(--bg-color-1-table-row);background-clip:padding-box;cursor:not-allowed;height:100%;margin-left:-6px;width:-webkit-calc(100% + 12px);width:-moz-calc(100% + 12px);width:calc(100% + 12px)}.pcb-theme-container_7dXJp .cell-item_1dnjP{cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.pcb-theme-container_7dXJp .cell-item_1dnjP .text_ed--j{cursor:pointer;margin-left:2px}.pcb-theme-container_7dXJp .layer-content_ULoFY .controls_UR02a{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding-bottom:8px;padding-top:16px}.pcb-theme-container_7dXJp .layer-content_ULoFY .controls_UR02a .control-item_7ZpLD{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.pcb-theme-container_7dXJp .layer-content_ULoFY .controls_UR02a .inactive-layer-transparency_tk6NY{padding-left:15px}.pcb-theme-container_7dXJp .layer-content_ULoFY .controls_UR02a .inactive-layer-transparency_tk6NY input{margin:0 2px;width:64px!important}");c_e=c_e.join("");Mgi.exports={uuid:"14c94358-1bda-487e-8572-24857dc07d3c",locals:{"pcb-theme-container":"pcb-theme-container_7dXJp","comm-tab-content-item":"comm-tab-content-item_VRngR","cell-disabled":"cell-disabled_fYvpr","cell-item":"cell-item_1dnjP",text:"text_ed--j","layer-content":"layer-content_ULoFY",controls:"controls_UR02a","control-item":"control-item_7ZpLD","inactive-layer-transparency":"inactive-layer-transparency_tk6NY"},toString(){return c_e}}});var eCt=xe((iYn,vgi)=>{var b_e=[];b_e.push(".input-value_BEQL0{-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.input-value_BEQL0 .font-item_CD9IN{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.input-value_BEQL0 .txt_title_QQzdh{text-align:right}.input-value_BEQL0 .has-border_hveBX{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;padding:9px 16px}");b_e=b_e.join("");vgi.exports={uuid:"d408d56f-0806-4bf4-a38d-bfd727cbdf64",locals:{"input-value":"input-value_BEQL0","font-item":"font-item_CD9IN",txt_title:"txt_title_QQzdh","has-border":"has-border_hveBX"},toString(){return b_e}}});var _gi=xe((GYn,Rgi)=>{var S_e=[];S_e.push(".drawing-presetting_9vcCA{width:100%}.drawing-presetting_9vcCA .tips-panel_VATiA{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;color:red;flex-direction:column}.drawing-presetting_9vcCA .presetting-panel_P0ctM .current_sheet_jtKIF{background-color:var(--common-bg-color);position:relative;width:100%}.drawing-presetting_9vcCA .presetting-panel_P0ctM .current_sheet_jtKIF .label-title_3pFzi{color:var(--common-font-color);margin-left:30px}.drawing-presetting_9vcCA .presetting-panel_P0ctM .current_sheet_jtKIF .input_feK2g{background:var(--bg-color-input);border:1px solid var(--border-color-focus-input);border-radius:2px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:0 8px;width:-webkit-calc(100% - 171px);width:-moz-calc(100% - 171px);width:calc(100% - 171px);-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.drawing-presetting_9vcCA .presetting-panel_P0ctM .current_sheet_jtKIF .input_feK2g input{border:0;cursor:pointer;height:22px;padding:0;width:96%}.drawing-presetting_9vcCA .presetting-panel_P0ctM .current_sheet_jtKIF .input_feK2g .dialog-input-extend_0zXt4{cursor:pointer;font-weight:bolder;height:100%}.drawing-presetting_9vcCA .presetting-panel_P0ctM .current_sheet_jtKIF .input_feK2g.not-project_njF0B{width:100%}.drawing-presetting_9vcCA .attributes-panel_V-SEI .disabled_lyFkk{background-color:#f1f1f1;color:#dfdfdf;cursor:not-allowed;height:100%;padding-left:6px}.drawing-presetting_9vcCA .attributes-panel_V-SEI .disabled_lyFkk,.drawing-presetting_9vcCA .attributes-panel_V-SEI input.td-input_2nTaE{margin-left:-6px;width:-webkit-calc(100% + 12px);width:-moz-calc(100% + 12px);width:calc(100% + 12px)}.drawing-presetting_9vcCA .attributes-panel_V-SEI input.td-input_2nTaE{border:none}.drawing-presetting_9vcCA .fieldset_9SmTY{border:1px solid var(--common-border-color);border-radius:2px;color:var(--font-color-pop-up);font-size:12px;line-height:22px;margin:4px 0;overflow:auto;padding:8px 8px 16px 16px}");S_e=S_e.join("");Rgi.exports={uuid:"e08bdf10-349d-4c0a-8f5e-2aebb46fcfbb",locals:{"drawing-presetting":"drawing-presetting_9vcCA","tips-panel":"tips-panel_VATiA","presetting-panel":"presetting-panel_P0ctM",current_sheet:"current_sheet_jtKIF","label-title":"label-title_3pFzi",input:"input_feK2g","dialog-input-extend":"dialog-input-extend_0zXt4","not-project":"not-project_njF0B","attributes-panel":"attributes-panel_V-SEI",disabled:"disabled_lyFkk","td-input":"td-input_2nTaE",fieldset:"fieldset_9SmTY"},toString(){return S_e}}});var zgi=xe((JYn,Bgi)=>{var I_e=[];I_e.push(".input_open_dialog_zPmec{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:24px;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:3px;color:var(--common-font-color)}.input_open_dialog_zPmec:focus-within{background-color:var(--bg-color-focus-input);border-color:var(--border-color-focus-input)}.input_open_dialog_zPmec .clear_R8ngM{border-radius:50%;cursor:pointer;display:none;line-height:22px;margin-right:4px;position:static;text-align:center}.input_open_dialog_zPmec .add_oPrWN{color:var(--icon-color-input);font-weight:bolder;margin-right:6px}.input_open_dialog_zPmec>div{width:100%}.input_open_dialog_zPmec:hover .clear_R8ngM{display:block;-webkit-flex-shrink:0.1;flex-shrink:0.1}");I_e=I_e.join("");Bgi.exports={uuid:"e0c8fede-b152-4090-9056-8d09af12baba",locals:{input_open_dialog:"input_open_dialog_zPmec",clear:"clear_R8ngM",add:"add_oPrWN"},toString(){return I_e}}});var Ugi=xe((nWn,Fgi)=>{var L_e=[];L_e.push(".refresh_button_PinEL{background-position:50%;background-size:16px 16px;cursor:pointer;display:inline-block;-webkit-flex-shrink:0;flex-shrink:0;height:24px;line-height:24px;text-align:center;vertical-align:middle;width:24px}");L_e=L_e.join("");Fgi.exports={uuid:"928ed2ae-36d6-48d9-a7a2-31bb8eb5ea62",locals:{refresh_button:"refresh_button_PinEL"},toString(){return L_e}}});var Hgi=xe((cWn,Vgi)=>{var nA=[];nA.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_PtK10{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_R4JxH{background-color:#efefef}.comm-btn-confirm_KzCP3{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_KzCP3:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_XIVTE{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_XIVTE:hover{border:1px solid #40a9ff!important}.opacity-none_Hu1-w,.pointer-events-none_9nGD2{cursor:default;pointer-events:none!important}.opacity-none_Hu1-w{opacity:0}.attr-prohibit_i5Xyu,.display-block_C155b{display:block}.display-none_qllKU{display:none!important}.display-flex_XUIPO{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_Ls7-3{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_xbkXz{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_YDy5g{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_mMRDF{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_yrsJ0{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_XCGDq{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_-6P9o{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_yQJb4{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_w75pS{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_Rvzde{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_LqkKy{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_T4Byj{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_5Bgyg{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_frmRO{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_tsEsj{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_t0UIz{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_dvRuV{color:#000!important}.color-white-important_WLtQQ{color:#fff!important}.bgcolor-red-important_5Qx74{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.icon-eda-x-circle_h-B4u.clear-input-circle_bBYkd{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.input-wrap_-K8At{-moz-box-sizing:border-box;box-sizing:border-box;position:relative;width:100%}.input-wrap_-K8At .input_sA77M{padding-right:18px}.input-wrap_-K8At .input_sA77M.clear_NMU9R{padding-right:34px}.input-wrap_-K8At .input-icon_sWa7V{height:100%;position:absolute;right:2px;top:0}.input-wrap_-K8At .input-icon_sWa7V .icon-clear_EsLMl{background-position:50%;cursor:pointer;height:100%;margin-right:-1px;position:relative;top:-.5px}.input-wrap_-K8At .input-icon_sWa7V .arr-icon_kY4Bn,.input-wrap_-K8At .input-icon_sWa7V .icon-clear_EsLMl{display:block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.input-wrap_-K8At .input-icon_sWa7V .arr-icon_kY4Bn{background:");nA.push("url(");nA.push(JSON.stringify(I2()));nA.push(")");nA.push(" no-repeat 50%;background-size:12px 12px;height:20px;width:16px}.input-wrap_-K8At .input-icon_sWa7V .arr-icon-disable_iKD2D{-webkit-filter:var(--common-icon-color-disabled);filter:var(--common-icon-color-disabled)}.input-wrap_-K8At .input-icon_sWa7V .active_CI16Y{background:");nA.push("url(");nA.push(JSON.stringify(c0e()));nA.push(")");nA.push(" no-repeat 50%;background-size:12px 12px;display:block;-webkit-filter:var(--icon-color-selected-toolbar);filter:var(--icon-color-selected-toolbar);height:20px;width:16px}");nA=nA.join("");Vgi.exports={uuid:"57c46f1d-25c0-4ba2-8be2-c1dfc57bb157",locals:{"comm-icon-add":"comm-icon-add_PtK10","comm-background-color-efefef":"comm-background-color-efefef_R4JxH","comm-btn-confirm":"comm-btn-confirm_KzCP3","comm-btn-cancel":"comm-btn-cancel_XIVTE","opacity-none":"opacity-none_Hu1-w","pointer-events-none":"pointer-events-none_9nGD2","attr-prohibit":"attr-prohibit_i5Xyu","display-block":"display-block_C155b","display-none":"display-none_qllKU","display-flex":"display-flex_XUIPO","display-inline-flex":"display-inline-flex_Ls7-3","flex-lateral-axis-center":"flex-lateral-axis-center_xbkXz","flex-lateral-axis-start":"flex-lateral-axis-start_YDy5g","flex-lateral-axis-end":"flex-lateral-axis-end_mMRDF","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_yrsJ0","flex-main-axis-center":"flex-main-axis-center_XCGDq","flex-main-axis-start":"flex-main-axis-start_-6P9o","flex-main-axis-end":"flex-main-axis-end_yQJb4","flex-main-axis-around":"flex-main-axis-around_w75pS","flex-main-axis-between":"flex-main-axis-between_Rvzde","flex-nowrap":"flex-nowrap_LqkKy","flex-wrap":"flex-wrap_T4Byj","flex-direct-row":"flex-direct-row_5Bgyg","flex-direct-rerow":"flex-direct-rerow_frmRO","flex-direct-column":"flex-direct-column_tsEsj","flex-direct-recolumn":"flex-direct-recolumn_t0UIz","color-black-important":"color-black-important_dvRuV","color-white-important":"color-white-important_WLtQQ","bgcolor-red-important":"bgcolor-red-important_5Qx74","icon-eda-x-circle":"icon-eda-x-circle_h-B4u","clear-input-circle":"clear-input-circle_bBYkd","input-wrap":"input-wrap_-K8At",input:"input_sA77M",clear:"clear_NMU9R","input-icon":"input-icon_sWa7V","icon-clear":"icon-clear_EsLMl","arr-icon":"arr-icon_kY4Bn","arr-icon-disable":"arr-icon-disable_iKD2D",active:"active_CI16Y"},toString(){return nA}}});var Jgi=xe((LWn,Zgi)=>{var E_e=[];E_e.push(".color_picker_lCbQM{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}");E_e=E_e.join("");Zgi.exports={uuid:"9b4879d3-44b0-4c12-bf4f-9857609d4785",locals:{color_picker:"color_picker_lCbQM"},toString(){return E_e}}});var $gi=xe((PWn,Xgi)=>{var A_e=[];A_e.push(".font_style_icon_wrap_cZSCE{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:80px;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.font_style_icon_wrap_cZSCE .box_rVRZ6{border:1px solid var(--common-border-color-1);border-radius:2px;height:24px}.font_style_icon_wrap_cZSCE .active_x7iN9{background-color:#e6f7ff;border:1px solid #1890ff;border-radius:2px;height:24px}.font_style_icon_wrap_cZSCE .icon_xNS5c{background-color:transparent;background-color:initial;border:none;cursor:pointer;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:22px;width:22px}.font_style_icon_wrap_cZSCE .selected_00mmJ{-webkit-filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%);filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%)}.font_style_icon_wrap_cZSCE .active_default_jqFYk{-webkit-filter:invert(0) sepia(0) saturate(6391%) hue-rotate(145deg) brightness(110%) contrast(60%);filter:invert(0) sepia(0) saturate(6391%) hue-rotate(145deg) brightness(110%) contrast(60%)}");A_e=A_e.join("");Xgi.exports={uuid:"b7fe3805-7a5d-4f25-891e-056bf349196d",locals:{font_style_icon_wrap:"font_style_icon_wrap_cZSCE",box:"box_rVRZ6",active:"active_x7iN9",icon:"icon_xNS5c",selected:"selected_00mmJ",active_default:"active_default_jqFYk"},toString(){return A_e}}});var t2i=xe((BWn,e2i)=>{var TZ=[];TZ.push(".box_RZPT6{width:100%}.box_RZPT6,.box_RZPT6 .cointainer_KrBQ-{position:relative}.box_RZPT6 .cointainer_KrBQ- .cointainer-input_3b6yS{height:24px;padding-right:35px;width:100%}.box_RZPT6 .cointainer_KrBQ- .cointainer-clear_8RexI{cursor:pointer;display:block;right:15px;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);transform:translateY(-50%)}.box_RZPT6 .cointainer_KrBQ- .cointainer-clear_8RexI,.box_RZPT6 .cointainer_KrBQ- .cointainer-down_U4pAj{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);position:absolute}.box_RZPT6 .cointainer_KrBQ- .cointainer-down_U4pAj{background:");TZ.push("url(");TZ.push(`"data:image/svg+xml;utf8,<svg version='1.1' id='&%23x56FE;&%23x5C42;_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='16px' height='16px' viewBox='0 0 16 16' style='enable-background:new 0 0 16 16;' xml:space='preserve'><rect style='fill:none;' width='16' height='16'/><path d='M7.3,10.002L4.146,6.856c-0.196-0.196-0.196-0.513,0-0.709l0,0c0.196-0.196,0.514-0.196,0.709,0.001L8,9.302l3.145-3.154 c0.196-0.196,0.513-0.196,0.709-0.001v0c0.196,0.196,0.196,0.514-0.001,0.709L8.7,10.002l-0.346,0.346 c-0.196,0.196-0.513,0.196-0.709,0L7.3,10.002z'/></svg>"`);TZ.push(")");TZ.push(" no-repeat 50%;background-size:12px 12px;height:24px;right:0;width:16px}.box_RZPT6 .cointainer-ul_I6SOj{background:var(--common-bg-color);border:1px solid var(--border-color-drop-down-menu);box-shadow:0 0 4px var(--common-box-shadow-color);font-size:12px;list-style-type:none;max-height:192px;overflow:auto;position:absolute;top:-webkit-calc(100% + 2px);top:-moz-calc(100% + 2px);top:calc(100% + 2px);-webkit-user-select:none;-moz-user-select:none;user-select:none;width:inherit;z-index:10}.box_RZPT6 .cointainer-ul_I6SOj li{cursor:pointer;height:24px;line-height:24px;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.box_RZPT6 .cointainer-ul_I6SOj li:hover{background-color:var(--bg-toolbar-icon-hover)}");TZ=TZ.join("");e2i.exports={uuid:"eb711e46-2ea8-4941-a4f4-b13171f666e5",locals:{box:"box_RZPT6",cointainer:"cointainer_KrBQ-","cointainer-input":"cointainer-input_3b6yS","cointainer-clear":"cointainer-clear_8RexI","cointainer-down":"cointainer-down_U4pAj","cointainer-ul":"cointainer-ul_I6SOj"},toString(){return TZ}}});var r2i=xe((VWn,o2i)=>{var k_e=[];k_e.push(".container_Vfutq{background:var(--bg-color-drop-down-menu);border:1px solid var(--border-color-drop-down-menu);box-shadow:0 0 5px -webkit-calc(var(--has-shadow-drop-down-menu)*0.2);box-shadow:0 0 5px -moz-calc(var(--has-shadow-drop-down-menu)*0.2);box-shadow:0 0 5px calc(var(--has-shadow-drop-down-menu)*.2);-moz-box-sizing:border-box;box-sizing:border-box;margin-top:2px;overflow:hidden;padding:4px}");k_e=k_e.join("");o2i.exports={uuid:"d13dc3f6-9aa2-46c0-b888-f2bc8884ec43",locals:{container:"container_Vfutq"},toString(){return k_e}}});var l2i=xe((gQn,s2i)=>{var R_e=[];R_e.push(".main_42kHW{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;text-align:left;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-moz-box-sizing:border-box;box-sizing:border-box;flex:1;position:relative}.main_42kHW .textarea_7vWwb{-moz-box-sizing:border-box!important;box-sizing:border-box!important;color:var(--font-color-input);height:72px;padding:5px;resize:none;width:100%;word-break:break-all}.main_42kHW .tip_63kdG{color:#978e8e}");R_e=R_e.join("");s2i.exports={uuid:"d6dc0583-9bac-4db1-b443-7af86a0e2d39",locals:{main:"main_42kHW",textarea:"textarea_7vWwb",tip:"tip_63kdG"},toString(){return R_e}}});var u2i=xe((CQn,d2i)=>{var __e=[];__e.push(".origin_area_0eoMH{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:50px;width:50px}.origin_area_0eoMH,.origin_area_0eoMH .square_wrap_THf3r{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.origin_area_0eoMH .square_wrap_THf3r .square_RkcEK{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;height:15px!important;width:15px!important}.origin_area_0eoMH .square_wrap_THf3r .active_ev6rx{background-color:#1890ff;border:1px solid #1890ff}.origin_area_0eoMH .square_wrap_THf3r .active_default_GDKZm{background-color:#e6f7ff}");__e=__e.join("");d2i.exports={uuid:"ec9d16f4-4fbe-45cb-a272-cb2aaed9d0d9",locals:{origin_area:"origin_area_0eoMH",square_wrap:"square_wrap_THf3r",square:"square_RkcEK",active:"active_ev6rx",active_default:"active_default_GDKZm"},toString(){return __e}}});var h2i=xe((EQn,m2i)=>{var j_e=[];j_e.push(".main_DVvXN{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;text-align:left;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-moz-box-sizing:border-box;box-sizing:border-box;flex:1;position:relative;width:100%}.main_DVvXN .textarea_p6Bqr{border:1px solid var(--common-border-color-1);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box!important;box-sizing:border-box!important;color:var(--common-font-color);min-height:72px;outline:0;overflow:hidden;padding:5px;resize:vertical;width:100%;word-break:break-all;word-wrap:break-word;background-color:var(--common-bg-color-1);overflow-y:scroll}.main_DVvXN .textarea_p6Bqr p{margin:0}.main_DVvXN .textarea_p6Bqr .item_5Y4th{color:#39f;cursor:pointer;text-overflow:ellipsis;white-space:nowrap}.main_DVvXN .textarea_p6Bqr .item_5Y4th :hover{color:#096dd9;text-decoration:underline;text-decoration:#096dd9 underline}");j_e=j_e.join("");m2i.exports={uuid:"3fb95e1d-eef5-443b-b2d8-d7c0b8d726af",locals:{main:"main_DVvXN",textarea:"textarea_p6Bqr",item:"item_5Y4th"},toString(){return j_e}}});var C2i=xe((XQn,w2i)=>{var B_e=[];B_e.push(".drag_button_UUr8v{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #ccc;cursor:col-resize;height:0;left:-6px;position:absolute;top:-8px;width:0;z-index:98}");B_e=B_e.join("");w2i.exports={uuid:"08719d88-9738-4cf4-a3ef-6867e02a0ccb",locals:{drag_button:"drag_button_UUr8v"},toString(){return B_e}}});var I2i=xe((cKn,M2i)=>{var z_e=[];z_e.push(".property_6MCf8{margin:0 8px 8px;min-height:24px}.property_6MCf8,.property_6MCf8 .key_section_0u0Ra{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.property_6MCf8 .key_section_0u0Ra{height:100%;overflow-x:hidden;width:50%}.property_6MCf8 .key_section_0u0Ra .key_checkbox_pufNv{float:left;height:100%;margin-right:4px;max-width:14px;min-height:15px;min-width:14px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.property_6MCf8 .key_section_0u0Ra .key_text_t5fFL{color:var(--common-font-color);font-size:12px;height:24px;line-height:26px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.property_6MCf8 .key_section_0u0Ra .key_text_t5fFL,.property_6MCf8 .value_section_vhzfM{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.property_6MCf8 .value_section_vhzfM{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;text-align:left;width:50%;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-moz-box-sizing:border-box;box-sizing:border-box;flex:1;position:relative}.property_6MCf8 .value_section_vhzfM .value_checkbox_qyxHa{display:inline-block;height:100%;margin-right:4px;max-width:14px;min-width:14px}.property_6MCf8 .value_section_vhzfM .content_YnLzw{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:-webkit-calc(100% - 18px);width:-moz-calc(100% - 18px);width:calc(100% - 18px);-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}");z_e=z_e.join("");M2i.exports={uuid:"1b7962a6-8b4f-44ba-8b55-2f844995d352",locals:{property:"property_6MCf8",key_section:"key_section_0u0Ra",key_checkbox:"key_checkbox_pufNv",key_text:"key_text_t5fFL",value_section:"value_section_vhzfM",value_checkbox:"value_checkbox_qyxHa",content:"content_YnLzw"},toString(){return z_e}}});var E2i=xe((DKn,D2i)=>{var F_e=[];F_e.push('.icon-eda-x-circle_sscn-.clear-input-circle_Z-h5r{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.lc-collapse-box_r7km1{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-align:initial;-webkit-align-items:initial;-moz-box-align:initial;align-items:normal;-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;justify-content:normal}.lc-collapse-box_r7km1,.lc-collapse-box_r7km1 *{-moz-box-sizing:border-box;box-sizing:border-box}.lc-collapse-header_ABr06{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;color:var(--common-font-color);cursor:pointer;height:24px;justify-content:normal;padding-left:7px}.lc-collapse-header_ABr06 i{display:inline-block;height:15px;position:relative;width:15px}.lc-collapse-header_ABr06 i:before{border:5px solid transparent;content:"";height:0;position:absolute;width:0}.lc-collapse-header_ABr06 .icon-open_rAkgx:before{border-top-color:#666;left:0;top:5px}.lc-collapse-header_ABr06 .icon-close_ejLM8:before{border-left-color:#666;left:4px;top:2px}.lc-collapse-header_ABr06 span{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lc-collapse-body_rf3C1{background-color:var(--bg-color-panel);margin-top:-1px;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-box-orient:vertical;flex-direction:column;-webkit-box-align:initial;-webkit-align-items:initial;-moz-box-align:initial;align-items:normal}.lc-collapse-body_rf3C1,.lc-collapse-item_oFyfs{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;justify-content:normal}.lc-collapse-item_oFyfs{height:24px;-webkit-box-orient:horizontal;-webkit-flex-direction:row;-moz-box-orient:horizontal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;cursor:pointer}.lc-collapse-item_oFyfs:hover{background-color:var(--common-bg-color-panel-header)}.lc-collapse-item_oFyfs>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mb-8_s2-kS{margin-bottom:8px}.mb-8_s2-kS:last-child{margin-bottom:0}.bg-color_Uw3Iz{padding:0 6px}.hover-bg-color_QrVDF:hover{background-color:var(--common-bg-color-panel-header)}');F_e=F_e.join("");D2i.exports={uuid:"6f1091fb-e9b2-4d7d-916a-83a068b6fa1f",locals:{"icon-eda-x-circle":"icon-eda-x-circle_sscn-","clear-input-circle":"clear-input-circle_Z-h5r","lc-collapse-box":"lc-collapse-box_r7km1","lc-collapse-header":"lc-collapse-header_ABr06","icon-open":"icon-open_rAkgx","icon-close":"icon-close_ejLM8","lc-collapse-body":"lc-collapse-body_rf3C1","lc-collapse-item":"lc-collapse-item_oFyfs","mb-8":"mb-8_s2-kS","bg-color":"bg-color_Uw3Iz","hover-bg-color":"hover-bg-color_QrVDF"},toString(){return F_e}}});var P2i=xe((YKn,k2i)=>{var V_e=[];V_e.push(".head_XoeTK{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:30px;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background-color:var(--bg-color-panel);padding:0 8px}.head_XoeTK .type_fbcSp{display:block}.head_XoeTK .select_num_aFa2k{padding:0 10px}");V_e=V_e.join("");k2i.exports={uuid:"b0885f4f-2b5d-4f78-a420-a3e1557581f6",locals:{head:"head_XoeTK",type:"type_fbcSp",select_num:"select_num_aFa2k"},toString(){return V_e}}});var _2i=xe((rZn,R2i)=>{var H_e=[];H_e.push("");H_e=H_e.join("");R2i.exports={uuid:"7bed0da2-ad26-47c0-a9df-1d551d601564",locals:{},toString(){return H_e}}});var U2i=xe((pZn,F2i)=>{var Y_e=[];Y_e.push(".pcb_property_panel_HjwtC{overflow-x:hidden!important}");Y_e=Y_e.join("");F2i.exports={uuid:"865dbdce-a572-45b0-8e80-528686a88e61",locals:{pcb_property_panel:"pcb_property_panel_HjwtC"},toString(){return Y_e}}});var zCt=xe((mZn,V2i)=>{var W_e=[];W_e.push(".select_obj_W8b-k{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;padding:8px}.select_obj_W8b-k .radio_6NvKG{line-height:27px;list-style:none;margin-right:8px}");W_e=W_e.join("");V2i.exports={uuid:"25a4e92f-8d21-4a08-8257-16d32ab3d935",locals:{select_obj:"select_obj_W8b-k",radio:"radio_6NvKG"},toString(){return W_e}}});var obi=xe((nqn,ibi)=>{var Z_e=[];Z_e.push(".addParamSelector_IKY4A{background-color:var(--bg-color-panel);padding-bottom:8px;padding-right:16px}.addParamSelector_IKY4A,.addParamSelector_button_K6qiq{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.addParamSelector_button_K6qiq{height:24px;width:24px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;cursor:pointer;justify-content:center}");Z_e=Z_e.join("");ibi.exports={uuid:"8340c003-811d-45a7-83d1-577d1748f1fc",locals:{addParamSelector:"addParamSelector_IKY4A",addParamSelector_button:"addParamSelector_button_K6qiq"},toString(){return Z_e}}});var pbi=xe((vXn,ubi)=>{var NZ=[];NZ.push(".window-mask_eRd-8{background:#000;font-size:1px;height:100%;opacity:.2;top:0}.progress_pS--j,.window-mask_eRd-8{display:block;left:0;position:absolute;width:100%}.progress_pS--j{background:#f9f9f9;border:1px solid #d1d1d1;border-radius:0;bottom:0;box-shadow:none;font-size:12px;overflow:visible;overflow:initial;text-align:left;top:auto}.progress_pS--j .progress-header_ohS7F{background:#f1f1f1;border-bottom:none;border-width:0;font-family:Microsoft YaHei;font-size:12px;line-height:16px;position:relative;width:-webkit-calc(100% - 20px);width:-moz-calc(100% - 20px);width:calc(100% - 20px)}.progress_pS--j .progress-header_ohS7F .progress-tool_F7-ob{position:absolute;right:-17px;top:-3px}.progress_pS--j .progress-header_ohS7F .progress-tool_F7-ob .progress-tool-close_RAYUM{background-image:");NZ.push("url(");NZ.push(JSON.stringify(Sie()));NZ.push(")");NZ.push(";background-position:50%;background-repeat:no-repeat;background-size:20px 20px;cursor:pointer;display:block;float:right;height:12px;margin-top:2px;opacity:1;width:12px}.progress_pS--j .progress-body_yCOSP{background:#fff;border-width:0;-moz-box-sizing:border-box;box-sizing:border-box;height:auto;overflow-x:hidden;overflow-y:auto;width:-webkit-calc(100% - 20px);width:-moz-calc(100% - 20px);width:calc(100% - 20px)}.progress_pS--j .progress-body_yCOSP .progress-message_wTJ2L .message-p-bar_VFpA1{border:1px solid #d3d3d3;border-radius:5px 5px 5px 5px;height:12px;overflow:hidden;position:relative}.progress_pS--j .progress-body_yCOSP .progress-message_wTJ2L .message-p-bar_VFpA1 .progressbar-text_GbWjM{color:#000;left:50%;line-height:12px;position:absolute;top:0;-webkit-transform:translate(-50%);-moz-transform:translate(-50%);transform:translate(-50%);z-index:2}.progress_pS--j .progress-body_yCOSP .progress-message_wTJ2L .message-p-bar_VFpA1 .progressbar-value_Sqb7Y{background-color:#096dd9;border:0;border-radius:0;height:12px;left:0;line-height:12px;overflow:hidden;position:absolute;top:0}");NZ=NZ.join("");ubi.exports={uuid:"7fc2c522-6188-4241-9159-e2a1a2257b0b",locals:{"window-mask":"window-mask_eRd-8",progress:"progress_pS--j","progress-header":"progress-header_ohS7F","progress-tool":"progress-tool_F7-ob","progress-tool-close":"progress-tool-close_RAYUM","progress-body":"progress-body_yCOSP","progress-message":"progress-message_wTJ2L","message-p-bar":"message-p-bar_VFpA1","progressbar-text":"progressbar-text_GbWjM","progressbar-value":"progressbar-value_Sqb7Y"},toString(){return NZ}}});var XCt=xe((r$n,Cbi)=>{var lm=[];lm.push(".eda-select-drop-down-box_ss9h-{background-color:var(--bg-color-input);border:1px solid var(--border-color-input);color:var(--font-color-drop-down-menuItem);font-size:12px;outline:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.eda-select-drop-down-box_ss9h- .select-content-show_uCt6g{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;height:100%;overflow:hidden;padding:0 20px 0 5px;position:relative;text-overflow:ellipsis;white-space:nowrap;width:100%;word-break:keep-all}.eda-select-drop-down-box_ss9h- .select-content-show_uCt6g.not-select_XNY5A:after{background:");lm.push("url(");lm.push(`"data:image/svg+xml;utf8,<svg version='1.1' id='&%23x56FE;&%23x5C42;_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='16px' height='16px' viewBox='0 0 16 16' style='enable-background:new 0 0 16 16;' xml:space='preserve'><rect style='fill:none;' width='16' height='16'/><path d='M7.3,10.002L4.146,6.856c-0.196-0.196-0.196-0.513,0-0.709l0,0c0.196-0.196,0.514-0.196,0.709,0.001L8,9.302l3.145-3.154 c0.196-0.196,0.513-0.196,0.709-0.001v0c0.196,0.196,0.196,0.514-0.001,0.709L8.7,10.002l-0.346,0.346 c-0.196,0.196-0.513,0.196-0.709,0L7.3,10.002z'/></svg>"`);lm.push(")");lm.push(" no-repeat -webkit-calc(100% - 6px) 50%;background:");lm.push("url(");lm.push(`"data:image/svg+xml;utf8,<svg version='1.1' id='&%23x56FE;&%23x5C42;_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='16px' height='16px' viewBox='0 0 16 16' style='enable-background:new 0 0 16 16;' xml:space='preserve'><rect style='fill:none;' width='16' height='16'/><path d='M7.3,10.002L4.146,6.856c-0.196-0.196-0.196-0.513,0-0.709l0,0c0.196-0.196,0.514-0.196,0.709,0.001L8,9.302l3.145-3.154 c0.196-0.196,0.513-0.196,0.709-0.001v0c0.196,0.196,0.196,0.514-0.001,0.709L8.7,10.002l-0.346,0.346 c-0.196,0.196-0.513,0.196-0.709,0L7.3,10.002z'/></svg>"`);lm.push(")");lm.push(" no-repeat -moz-calc(100% - 6px) 50%;background:");lm.push("url(");lm.push(`"data:image/svg+xml;utf8,<svg version='1.1' id='&%23x56FE;&%23x5C42;_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='16px' height='16px' viewBox='0 0 16 16' style='enable-background:new 0 0 16 16;' xml:space='preserve'><rect style='fill:none;' width='16' height='16'/><path d='M7.3,10.002L4.146,6.856c-0.196-0.196-0.196-0.513,0-0.709l0,0c0.196-0.196,0.514-0.196,0.709,0.001L8,9.302l3.145-3.154 c0.196-0.196,0.513-0.196,0.709-0.001v0c0.196,0.196,0.196,0.514-0.001,0.709L8.7,10.002l-0.346,0.346 c-0.196,0.196-0.513,0.196-0.709,0L7.3,10.002z'/></svg>"`);lm.push(")");lm.push(' no-repeat calc(100% - 6px);background-size:12px 12px;content:"";display:inline-block;-webkit-filter:var(--icon-color-drop-down-menuItem);filter:var(--icon-color-drop-down-menuItem);height:20px;margin-left:2px;position:absolute;right:1px;width:18px}.eda-select-drop-down-box_ss9h- .select-content-show-text_LboBM{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.eda-select-drop-down-box_ss9h- .select-content-show_uCt6g .select-right-icon_h-zvV{background:');lm.push("url(");lm.push(`"data:image/svg+xml;utf8,<svg version='1.1' id='&%23x56FE;&%23x5C42;_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='16px' height='16px' viewBox='0 0 16 16' style='enable-background:new 0 0 16 16;' xml:space='preserve'><rect style='fill:none;' width='16' height='16'/><path d='M7.3,10.002L4.146,6.856c-0.196-0.196-0.196-0.513,0-0.709l0,0c0.196-0.196,0.514-0.196,0.709,0.001L8,9.302l3.145-3.154 c0.196-0.196,0.513-0.196,0.709-0.001v0c0.196,0.196,0.196,0.514-0.001,0.709L8.7,10.002l-0.346,0.346 c-0.196,0.196-0.513,0.196-0.709,0L7.3,10.002z'/></svg>"`);lm.push(")");lm.push(" no-repeat -webkit-calc(100% - 6px) 50%;background:");lm.push("url(");lm.push(`"data:image/svg+xml;utf8,<svg version='1.1' id='&%23x56FE;&%23x5C42;_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='16px' height='16px' viewBox='0 0 16 16' style='enable-background:new 0 0 16 16;' xml:space='preserve'><rect style='fill:none;' width='16' height='16'/><path d='M7.3,10.002L4.146,6.856c-0.196-0.196-0.196-0.513,0-0.709l0,0c0.196-0.196,0.514-0.196,0.709,0.001L8,9.302l3.145-3.154 c0.196-0.196,0.513-0.196,0.709-0.001v0c0.196,0.196,0.196,0.514-0.001,0.709L8.7,10.002l-0.346,0.346 c-0.196,0.196-0.513,0.196-0.709,0L7.3,10.002z'/></svg>"`);lm.push(")");lm.push(" no-repeat -moz-calc(100% - 6px) 50%;background:");lm.push("url(");lm.push(`"data:image/svg+xml;utf8,<svg version='1.1' id='&%23x56FE;&%23x5C42;_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='16px' height='16px' viewBox='0 0 16 16' style='enable-background:new 0 0 16 16;' xml:space='preserve'><rect style='fill:none;' width='16' height='16'/><path d='M7.3,10.002L4.146,6.856c-0.196-0.196-0.196-0.513,0-0.709l0,0c0.196-0.196,0.514-0.196,0.709,0.001L8,9.302l3.145-3.154 c0.196-0.196,0.513-0.196,0.709-0.001v0c0.196,0.196,0.196,0.514-0.001,0.709L8.7,10.002l-0.346,0.346 c-0.196,0.196-0.513,0.196-0.709,0L7.3,10.002z'/></svg>"`);lm.push(")");lm.push(' no-repeat calc(100% - 6px);background-size:12px 12px;content:"";display:inline-block;-webkit-filter:var(--icon-color-selected-drop-down-menuItem);filter:var(--icon-color-selected-drop-down-menuItem);height:20px;position:absolute;right:6px;rotate:-180deg;width:18px}.eda-select-drop-down-box_ss9h- .select-content-show_uCt6g.disabled_IOg9V{background-color:var(--bg-color-disabled-input);color:var(--font-color-disabled-input);cursor:not-allowed!important}.eda-select-drop-down-box_ss9h- .select-content-show_uCt6g.disabled_IOg9V:after{-webkit-filter:var(--icon-color-disabled-drop-down-menuItem)!important;filter:var(--icon-color-disabled-drop-down-menuItem)!important}.eda-select-drop-down-box_ss9h- input{background-color:#fff;background-image:none;-moz-box-sizing:border-box;box-sizing:border-box;color:#606266;display:inline-block;font-size:inherit;outline:0;padding:0 15px;width:100%}.eda-select-drop-down-box_ss9h->input{cursor:pointer}.eda-select-drop-down-box_ss9h- .eda-select-right-icon_SJuyw{color:#c0c4cc;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;position:absolute;text-align:center;top:0;-webkit-transition:all .3s;-moz-transition:all .3s;transition:all .3s;width:25px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;cursor:pointer;height:100%;justify-content:center;z-index:99}.eda-select-drop-down-box_ss9h- .eda-select-right-icon_SJuyw.right-icon__suffix_XUGdi{right:5px}.eda-select-drop-down-box_ss9h- .eda-select-right-icon_SJuyw.is-reverse-new_zleWV,.eda-select-drop-down-box_ss9h- .eda-select-right-icon_SJuyw.is-reverse-top-new_TJP1s{-webkit-transform:rotate(-180deg);-moz-transform:rotate(-180deg);transform:rotate(-180deg);-webkit-transition:0s;-moz-transition:0s;transition:0s}@-webkit-keyframes show_E6dsJ{0%{max-height:0}to{max-height:380px}}@-moz-keyframes show_E6dsJ{0%{max-height:0}to{max-height:380px}}@keyframes show_E6dsJ{0%{max-height:0}to{max-height:380px}}.eda-new-select-dropdown_aVebt{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;outline:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;background-color:var(--bg-color-drop-down-menu);border:1px solid var(--border-color-drop-down-menu);border-radius:2px;box-shadow:0 0 5px rgba(0,0,0,-webkit-calc(var(--has-shadow-drop-down-menu)*0.2));box-shadow:0 0 5px rgba(0,0,0,-moz-calc(var(--has-shadow-drop-down-menu)*0.2));box-shadow:0 0 5px rgba(0,0,0,calc(var(--has-shadow-drop-down-menu)*.2));-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-drop-down-menuItem);flex-direction:column;left:0;margin-top:2px;overflow:hidden;position:absolute;top:0;visibility:hidden;z-index:101;z-index:999}.eda-new-select-dropdown_aVebt input{background-color:#fff;background-image:none;-moz-box-sizing:border-box;box-sizing:border-box;color:#606266;display:inline-block;font-size:inherit;outline:0;padding:0 15px;width:100%}.eda-new-select-dropdown_aVebt>input{cursor:pointer}.eda-new-select-dropdown_aVebt .eda-new-select-dropdown-search-input_f44Vd{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:8px 4px;position:relative}.eda-new-select-dropdown_aVebt .eda-new-select-dropdown-search-input_f44Vd>input{padding-right:24px}.eda-new-select-dropdown_aVebt .eda-new-select-dropdown-search-input_f44Vd>svg{color:#d9d9d9;fill:currentColor;font-size:12px;height:12px;position:absolute;right:18px;top:24px;width:12px}.eda-new-select-dropdown_aVebt:before{border:5px solid transparent;content:" ";display:block;height:0;left:15%;position:absolute;top:-10px;-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%);z-index:556}.eda-new-select-dropdown_aVebt.is-reverse-new_zleWV{visibility:visible}.eda-new-select-dropdown_aVebt.is-reverse-new_zleWV:before{border-bottom:5px solid #f9f9f9}.eda-new-select-dropdown_aVebt.is-reverse-top-new_TJP1s{-webkit-transform:translateY(-webkit-calc(-100% - 4px));-moz-transform:translateY(-moz-calc(-100% - 4px));transform:translateY(calc(-100% - 4px));visibility:visible;z-index:999}.eda-new-select-dropdown_aVebt li{list-style:none}.eda-new-select-dropdown_aVebt .eda-new-option__empty-block_7u8VC{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;min-height:60px;text-align:center;width:100%;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;border-bottom:1px solid var(--border-color-drop-down-menu)}.eda-new-select-dropdown_aVebt .eda-new-option__empty-block_7u8VC .eda-new-option__empty-text_yK-AR{color:var(--font-color-drop-down-menuItem);line-height:60px;width:50%}.eda-new-select-dropdown_aVebt .eda-new-select-dropdown-list_l7mv4{-moz-box-sizing:border-box;box-sizing:border-box;list-style:none;margin:0;overflow:auto}.eda-new-select-dropdown_aVebt .eda-new-select-dropdown__item_S6uRz{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-drop-down-menuItem);cursor:pointer;font-size:12px;min-height:22px;min-width:100%;overflow:hidden;padding:0 4px;position:relative;text-overflow:ellipsis;vertical-align:center;white-space:nowrap}.eda-new-select-dropdown_aVebt .eda-new-select-dropdown__item_S6uRz:hover{background-color:var(--bg-color-hover-drop-down-menuItem);color:var(--font-color-hover-drop-down-menuItem)}.eda-new-select-dropdown_aVebt .eda-new-select-dropdown__item_S6uRz.eda-new-select-option_yg99z{background-color:var(--bg-color-selected-drop-down-menuItem);color:var(--font-color-selected-down-menuItem)}.active_lvyPm{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input)}');lm=lm.join("");Cbi.exports={uuid:"376a6a26-382b-47e7-8775-a9af3de7ab33",locals:{"eda-select-drop-down-box":"eda-select-drop-down-box_ss9h-","select-content-show":"select-content-show_uCt6g","not-select":"not-select_XNY5A","select-content-show-text":"select-content-show-text_LboBM","select-right-icon":"select-right-icon_h-zvV",disabled:"disabled_IOg9V","eda-select-right-icon":"eda-select-right-icon_SJuyw","right-icon__suffix":"right-icon__suffix_XUGdi","is-reverse-new":"is-reverse-new_zleWV","is-reverse-top-new":"is-reverse-top-new_TJP1s","eda-new-select-dropdown":"eda-new-select-dropdown_aVebt","eda-new-select-dropdown-search-input":"eda-new-select-dropdown-search-input_f44Vd","eda-new-option__empty-block":"eda-new-option__empty-block_7u8VC","eda-new-option__empty-text":"eda-new-option__empty-text_yK-AR","eda-new-select-dropdown-list":"eda-new-select-dropdown-list_l7mv4","eda-new-select-dropdown__item":"eda-new-select-dropdown__item_S6uRz","eda-new-select-option":"eda-new-select-option_yg99z",active:"active_lvyPm",show:"show_E6dsJ"},toString(){return lm}}});var CTe=xe((A$n,Ibi)=>{var kZ=[];kZ.push(".toolbar-bottom-item_MNZ--{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;border-radius:3px;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;height:27px;justify-content:center;text-align:center;width:27px}.toolbar-bottom-item_MNZ-->span{display:inline-block;-webkit-filter:var(--icon-color-toolbar);filter:var(--icon-color-toolbar);font-size:16px;height:16px;padding:0;width:16px}.toolbar-bottom-item_MNZ--:hover{background-color:var(--bg-toolbar-icon-hover);border:none;height:30px}.toolbar-bottom-item_MNZ--:hover span[class*=icon-]{-webkit-filter:var(--icon-color-hover-toolbar);filter:var(--icon-color-hover-toolbar)}.toolbar-bottom-item_MNZ--.toolbar-button-disable_LAD9n{cursor:default}.toolbar-bottom-item_MNZ--.toolbar-button-disable_LAD9n span[class*=icon-]{-webkit-filter:var(--icon-color-disabled-toolbar);filter:var(--icon-color-disabled-toolbar)}.toolbar-bottom-item_MNZ--.toolbar-bottom-light-high_OtLRG,.toolbar-bottom-item_MNZ--.toolbar-bottom-light-high2_9a-Nr{background-color:var(--bg-toolbar-icon-selected);color:#1890ff;height:30px}.toolbar-bottom-item_MNZ--.toolbar-bottom-light-high_OtLRG span[class*=icon-],.toolbar-bottom-item_MNZ--.toolbar-bottom-light-high2_9a-Nr span[class*=icon-]{-webkit-filter:var(--icon-color-selected-toolbar);filter:var(--icon-color-selected-toolbar)}.toolbar-bottom-selected-wrap_g1Imb{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:var(--font-color-toolbar);height:22px;position:relative}.toolbar-bottom-selected-wrap_g1Imb .panel-grid-select-wrap_Z-awo{-moz-box-sizing:border-box;box-sizing:border-box;position:relative;width:57px}.toolbar-bottom-selected-wrap_g1Imb .panel-grid-select-wrap_Z-awo .wire-name-input_lq6Re{padding-right:16px;width:57px}.toolbar-bottom-selected-wrap_g1Imb .panel-grid-select-wrap_Z-awo .arr-icon_DxYUV{background:");kZ.push("url(");kZ.push(JSON.stringify(I2()));kZ.push(")");kZ.push(' no-repeat 50%;background-size:12px 12px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:20px;left:38px;position:absolute;top:2px;width:16px}.toolbar-bottom-selected-wrap_g1Imb .panel-grid-select-wrap_Z-awo .select-arr-icon_MMITw{height:20px;left:38px;position:absolute;top:2px;width:16px}.toolbar-bottom-selected-wrap_g1Imb .panel-grid-select-wrap_Z-awo .select-arr-icon_MMITw:after{border-left:1px solid #58a1c3;border-top:1px solid #58a1c3;content:"";-webkit-filter:var(--icon-color-selected-toolbar);filter:var(--icon-color-selected-toolbar);height:4px;left:-webkit-calc(50% - 2px);left:-moz-calc(50% - 2px);left:calc(50% - 2px);position:absolute;top:-webkit-calc(50% - 2px);top:-moz-calc(50% - 2px);top:calc(50% - 2px);transform:rotate(45deg);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);width:4px}.tool-bottom-container_lUlY0{background:none;border:0;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-size:0;height:32px;left:0;padding:2px 0;position:relative;white-space:nowrap;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background-color:var(--bg-color-toolbar)}.tool-bottom-container_lUlY0>div:not(.tool-bottom-menu-more_H8A1s){padding-right:4px}.tool-bottom-container_lUlY0>div:not(.tool-bottom-menu-more_H8A1s).tool-bottom-menu-vlink_w2vaD{padding:0 6px 0 2px}.tool-bottom-container_lUlY0 .tool-bottom-menu-more_H8A1s{cursor:pointer;display:inline-block;font-size:20px;height:30px;line-height:30px;text-align:center;width:32px}.tool-bottom-container_lUlY0 .tool-bottom-menu-more_H8A1s .icon-eda-move-down-line_4oTPM{background-position:50%;background-repeat:no-repeat;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:100%;width:100%}.tool-bottom-container_lUlY0 .tool-bottom-menu-more_H8A1s .tool-bottom-menu-more-container_mX0Bb{background:var(--bg-color-toolbar);border:calc(var(--has-bottom-border-toolbar)*1px) solid var(--border-bottom-color-toolbar);box-shadow:0 1px 6px rgba(0,0,0,.2);cursor:default;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:30px;padding:0 10px;position:absolute;right:-8px;top:30px;z-index:900;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;line-height:15px}.tool-bottom-container_lUlY0 .tool-bottom-menu-more_H8A1s .tool-bottom-menu-more-container_mX0Bb>div:not(:last-child){padding-right:4px}.tool-bottom-container_lUlY0 .tool-bottom-menu-more_H8A1s .tool-bottom-menu-more-container_mX0Bb>div:not(:last-child).tool-bottom-menu-vlink_w2vaD{padding:0 6px 0 2px}.tool-bottom-container_lUlY0 .toolbar-bottom-item-menu_h1pLe{height:30px;position:relative}.tool-bottom-container_lUlY0 .toolbar-bottom-item-menu_h1pLe,.tool-bottom-container_lUlY0 .toolbar-bottom-item-menu-icon_X0M9i{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-moz-box-sizing:border-box;box-sizing:border-box}.tool-bottom-container_lUlY0 .toolbar-bottom-item-menu-icon_X0M9i{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;border-radius:3px;cursor:pointer;height:27px;justify-content:center;width:27px}.tool-bottom-container_lUlY0 .toolbar-bottom-item-menu-icon_X0M9i>span{background-repeat:no-repeat;background-size:16px 16px;display:inline-block;-webkit-filter:var(--icon-color-toolbar);filter:var(--icon-color-toolbar);font-size:16px;height:16px;padding:0;width:16px}.tool-bottom-container_lUlY0 .toolbar-bottom-item-menu-icon_X0M9i.toolbar-button-disable_LAD9n{cursor:default}.tool-bottom-container_lUlY0 .toolbar-bottom-item-menu-icon_X0M9i.toolbar-button-disable_LAD9n>span{-webkit-filter:var(--icon-color-disabled-toolbar);filter:var(--icon-color-disabled-toolbar)}.tool-bottom-container_lUlY0 .toolbar-bottom-item-menu_h1pLe.toolbar-button-disable_LAD9n{cursor:default}.tool-bottom-container_lUlY0 .toolbar-bottom-item-menu_h1pLe.toolbar-button-disable_LAD9n .toolbar-bottom-item-menu-icon_X0M9i span{-webkit-filter:var(--icon-color-disabled-toolbar);filter:var(--icon-color-disabled-toolbar)}.tool-bottom-container_lUlY0 .toolbar-bottom-item-menu_h1pLe>div[class*=eda-menu-btn]>span[class*=eda-menu-btn-top]{margin-left:-5px;padding:0}.tool-bottom-container_lUlY0 .toolbar-bottom-item-menu_h1pLe:hover{background-color:var(--bg-toolbar-icon-hover);border-radius:3px}.tool-bottom-container_lUlY0 .toolbar-bottom-item-menu_h1pLe:hover .toolbar-bottom-item-menu-icon_X0M9i span{-webkit-filter:var(--icon-color-hover-toolbar)!important;filter:var(--icon-color-hover-toolbar)!important}.tool-bottom-container_lUlY0 .toolbar-bottom-item-menu_h1pLe:hover>div[class*=eda-menu-btn]>span[class*=eda-menu-btn-top]{-webkit-filter:var(--icon-color-hover-toolbar1)!important;filter:var(--icon-color-hover-toolbar1)!important}.tool-bottom-container_lUlY0 .toolbar-bottom-item-light-high_ARbGl{background-color:var(--bg-toolbar-icon-selected);border-radius:3px}.tool-bottom-container_lUlY0 .toolbar-bottom-item-light-high_ARbGl .toolbar-bottom-item-menu-icon_X0M9i span{-webkit-filter:var(--icon-color-selected-toolbar)!important;filter:var(--icon-color-selected-toolbar)!important}.tool-bottom-container_lUlY0 .toolbar-bottom-item-light-high_ARbGl>div[class*=eda-menu-btn]>span[class*=eda-menu-btn-top]{-webkit-filter:var(--icon-color-selected-toolbar1)!important;filter:var(--icon-color-selected-toolbar1)!important}.tool-bottom-container_lUlY0 .tool-bottom-menu-vlink_w2vaD:before{border-left:1px solid var(--bg-color-toolbar-divider);content:"";display:inline-block;height:28px}.tool-bottom-container_lUlY0.viewerMode_IMSXJ{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.tool-bottom-simulation-cirtime_1KhMY{color:var(--font-color-toolbar);height:27px;width:70px}.tool-bottom-simulation-cirtime_1KhMY,.tool-bottom-simulation-cirtime_1KhMY>span{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.tool-bottom-simulation-cirtime_1KhMY>span{font-size:14px;height:100%;width:100%;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.tool-bottom-simulation-cirtime_1KhMY.tool-bottom-simulation-cirtime-disable_UViz8{cursor:default}.tool-bottom-simulation-cirtime_1KhMY.tool-bottom-simulation-cirtime-disable_UViz8>span{-webkit-filter:var(--icon-color-disabled-toolbar);filter:var(--icon-color-disabled-toolbar)}@-webkit-keyframes blink-animation_p5R9V{0%{opacity:1}50%{opacity:.2}to{opacity:1}}@-moz-keyframes blink-animation_p5R9V{0%{opacity:1}50%{opacity:.2}to{opacity:1}}@keyframes blink-animation_p5R9V{0%{opacity:1}50%{opacity:.2}to{opacity:1}}.blink_GuZ-a>span{-webkit-animation:blink-animation_p5R9V 2s infinite;-moz-animation:blink-animation_p5R9V 2s infinite;animation:blink-animation_p5R9V 2s infinite}.eda-input-option_nWzmH{background:var(--bg-color-drop-down-menu);box-shadow:0 0 4px rgba(0,0,0,-webkit-calc(var(--has-shadow-drop-down-menu)*0.2));box-shadow:0 0 4px rgba(0,0,0,-moz-calc(var(--has-shadow-drop-down-menu)*0.2));box-shadow:0 0 4px rgba(0,0,0,calc(var(--has-shadow-drop-down-menu)*.2));font-size:12px;max-height:192px;overflow:auto;position:fixed;z-index:99}.eda-input-option_nWzmH .option-item_GXG95{cursor:pointer;height:24px;line-height:24px;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.eda-input-option_nWzmH .option-item_GXG95.select_XEciO{background:var(--bg-color-selected-drop-down-menuItem);color:var(--font-color-selected-down-menuItem)}.eda-input-option_nWzmH .option-item_GXG95 .hightlight_oeJ6f{background:var(--common-bg-color-highLight-item)}.select-filter-tick-icon_hdgFp{background-position:50%;background-size:16px 16px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:16px;left:8px;position:absolute;top:6px;width:16px}');kZ=kZ.join("");Ibi.exports={uuid:"76fcfee2-0072-4560-9458-1bfc0519e64d",locals:{"toolbar-bottom-item":"toolbar-bottom-item_MNZ--","toolbar-button-disable":"toolbar-button-disable_LAD9n","toolbar-bottom-light-high":"toolbar-bottom-light-high_OtLRG","toolbar-bottom-light-high2":"toolbar-bottom-light-high2_9a-Nr","toolbar-bottom-selected-wrap":"toolbar-bottom-selected-wrap_g1Imb","panel-grid-select-wrap":"panel-grid-select-wrap_Z-awo","wire-name-input":"wire-name-input_lq6Re","arr-icon":"arr-icon_DxYUV","select-arr-icon":"select-arr-icon_MMITw","tool-bottom-container":"tool-bottom-container_lUlY0","tool-bottom-menu-more":"tool-bottom-menu-more_H8A1s","tool-bottom-menu-vlink":"tool-bottom-menu-vlink_w2vaD","icon-eda-move-down-line":"icon-eda-move-down-line_4oTPM","tool-bottom-menu-more-container":"tool-bottom-menu-more-container_mX0Bb","toolbar-bottom-item-menu":"toolbar-bottom-item-menu_h1pLe","toolbar-bottom-item-menu-icon":"toolbar-bottom-item-menu-icon_X0M9i","toolbar-bottom-item-light-high":"toolbar-bottom-item-light-high_ARbGl",viewerMode:"viewerMode_IMSXJ","tool-bottom-simulation-cirtime":"tool-bottom-simulation-cirtime_1KhMY","tool-bottom-simulation-cirtime-disable":"tool-bottom-simulation-cirtime-disable_UViz8",blink:"blink_GuZ-a","blink-animation":"blink-animation_p5R9V","eda-input-option":"eda-input-option_nWzmH","option-item":"option-item_GXG95",select:"select_XEciO",hightlight:"hightlight_oeJ6f","select-filter-tick-icon":"select-filter-tick-icon_hdgFp"},toString(){return kZ}}});var pxt=xe((Vea,Obi)=>{var Wl=[];Wl.push(".all-project-body_sjr8J{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.all-project-body_sjr8J .all-project-input_UArOK input{border-color:#9bd}.all-project-body_sjr8J .all-project-input_UArOK input:focus{border-color:#1890ff}.all-project-body_sjr8J .projectTreeDiv_q4811{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-tree);flex-direction:column;height:100%;width:100%}.all-project-body_sjr8J .projectTreeDiv_q4811 div[data-tagitem=fixed-height-list-scrolling]{-moz-box-sizing:border-box;box-sizing:border-box;overflow-x:scroll!important;overflow-x:overlay!important;padding-bottom:22px}.all-project-body_sjr8J .projectTreeDiv_q4811 a:hover{color:var(--font-color-hover-projectTree)}.all-project-body_sjr8J .projectTreeDiv_q4811 .tree-expand_W3d55{background:");Wl.push("url(");Wl.push(JSON.stringify(Ow()));Wl.push(")");Wl.push(" no-repeat;-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree);height:16px;width:16px}.all-project-body_sjr8J .projectTreeDiv_q4811 .tree-collapse_l4lH2{background:");Wl.push("url(");Wl.push(JSON.stringify(qx()));Wl.push(")");Wl.push(" no-repeat;-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree);height:16px;width:16px}.all-project-body_sjr8J .projectTreeDiv_q4811 .tree-tag_-84po{background-color:#ecf5ff;border:1px solid #d9ecff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#409eff;display:inline-block;font-size:12px;margin:0 4px;padding:0 4px;white-space:nowrap}.all-project-body_sjr8J .projectTreeDiv_q4811 .tree-tag-success_tP7q8{background-color:#f0f9eb;border-color:#e1f3d8;color:#67c23a}.all-project-body_sjr8J .projectTreeDiv_q4811 .tree-node-selected_yuQHB .tree-title_6Z7RL{color:#1890ff}.all-project-body_sjr8J .projectTreeDiv_q4811 .hightlight_S8bXL{background:var(--common-bg-color-highLight-item)}.bSizeTopMenu_E-67B,.icon-eda-refresh_4GTjD{background-repeat:no-repeat;background-size:100% 100%}.icon-eda-refresh_4GTjD{background-image:");Wl.push("url(");Wl.push(JSON.stringify(FR()));Wl.push(")");Wl.push("}.icon-eda-person_5VHrK{background-image:");Wl.push("url(");Wl.push(JSON.stringify(_Ae()));Wl.push(")");Wl.push(";-webkit-filter:var(--icon-color-drop-down-menuItem);filter:var(--icon-color-drop-down-menuItem)}.icon-eda-join_J8ee6,.icon-eda-person_5VHrK{background-repeat:no-repeat;background-size:100% 100%}.icon-eda-join_J8ee6{background-image:");Wl.push("url(");Wl.push(JSON.stringify(oAe()));Wl.push(")");Wl.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-project-open-source_pWyuS{background-image:");Wl.push("url(");Wl.push(JSON.stringify(PAe()));Wl.push(")");Wl.push("}.icon-eda-project-fill_zd6wn,.icon-eda-project-open-source_pWyuS{background-repeat:no-repeat;background-size:100% 100%}.icon-eda-project-fill_zd6wn{background-image:");Wl.push("url(");Wl.push(JSON.stringify(Lie()));Wl.push(")");Wl.push("}.icon-eda-member_SWQTj{background-image:");Wl.push("url(");Wl.push(JSON.stringify(RAe()));Wl.push(")");Wl.push("}.icon-eda-member_SWQTj,.icon-eda-team-join_TKhZs{background-repeat:no-repeat;background-size:100% 100%;-webkit-filter:var(--icon-color-drop-down-menuItem);filter:var(--icon-color-drop-down-menuItem)}.icon-eda-team-join_TKhZs{background-image:");Wl.push("url(");Wl.push(JSON.stringify(iAe()));Wl.push(")");Wl.push("}.icon-eda-folder-2_I7dse{background-image:");Wl.push("url(");Wl.push(JSON.stringify(rAe()));Wl.push(")");Wl.push(";background-repeat:no-repeat;background-size:100% 100%;-webkit-filter:var(--icon-color-drop-down-menuItem);filter:var(--icon-color-drop-down-menuItem)}");Wl=Wl.join("");Obi.exports={uuid:"29e5857c-5eac-49e8-b108-fb581efa011f",locals:{"all-project-body":"all-project-body_sjr8J","all-project-input":"all-project-input_UArOK",projectTreeDiv:"projectTreeDiv_q4811","tree-expand":"tree-expand_W3d55","tree-collapse":"tree-collapse_l4lH2","tree-tag":"tree-tag_-84po","tree-tag-success":"tree-tag-success_tP7q8","tree-node-selected":"tree-node-selected_yuQHB","tree-title":"tree-title_6Z7RL",hightlight:"hightlight_S8bXL",bSizeTopMenu:"bSizeTopMenu_E-67B","icon-eda-refresh":"icon-eda-refresh_4GTjD","icon-eda-person":"icon-eda-person_5VHrK","icon-eda-join":"icon-eda-join_J8ee6","icon-eda-project-open-source":"icon-eda-project-open-source_pWyuS","icon-eda-project-fill":"icon-eda-project-fill_zd6wn","icon-eda-member":"icon-eda-member_SWQTj","icon-eda-team-join":"icon-eda-team-join_TKhZs","icon-eda-folder-2":"icon-eda-folder-2_I7dse"},toString(){return Wl}}});var _bi=xe((Hea,Rbi)=>{var fje=[];fje.push(".txt_title_huVVq{float:left;font-size:12px;overflow:hidden;padding-left:21px;text-overflow:ellipsis;white-space:nowrap;width:100%}.txt_value_u32z1{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-left:4px;text-align:left;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-moz-box-sizing:border-box;box-sizing:border-box;flex:1;float:left;padding-right:8px;position:relative}.txt_value_u32z1 input{width:100%}.left_u-Ypa{float:left}.txt-wrap_GF9jM{-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;min-width:69px;overflow:hidden;position:relative}.line_y5Vz2,.txt-wrap_GF9jM{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.line_y5Vz2{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:8px}.members-basic_awUPR{position:relative}.title_Q-dQW{background:var(--common-bg-color-panel-header);-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-panel-content);cursor:pointer;font-size:12px;font-weight:400;height:25px;line-height:14px;margin-bottom:8px;overflow:hidden;padding:6px;text-overflow:ellipsis;white-space:nowrap}.project-function-buttons_cqsBj{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;position:absolute;right:0;top:4px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.project-attribute-tabs-containter_AUQqz{height:100%;overflow:hidden}#project-attribute_wB14n{background:#fff;display:none;height:100%;left:0;position:absolute;top:0;width:100%;z-index:99}#project-attribute_wB14n input{text-overflow:ellipsis}#project-attribute_wB14n .project-attribute-manager_SvofA{height:100%}.project-attr-main_t6ney{height:-webkit-calc(100% - 30px);height:-moz-calc(100% - 30px);height:calc(100% - 30px);overflow:auto}.setting-icon_3nj4O{background-size:14px 14px;cursor:pointer;display:block;height:14px;margin-right:8px;width:14px}.project-basic_F53-t{position:relative}.project-attrlist-table-selected_5GyW0{background:var(--bg-color-panel);height:30px;line-height:30px}.project-attrlist-table-selected_5GyW0 div{padding:0 10px}");fje=fje.join("");Rbi.exports={uuid:"de60f528-ee41-483f-8820-342fc0185f52",locals:{txt_title:"txt_title_huVVq",txt_value:"txt_value_u32z1",left:"left_u-Ypa","txt-wrap":"txt-wrap_GF9jM",line:"line_y5Vz2","members-basic":"members-basic_awUPR",title:"title_Q-dQW","project-function-buttons":"project-function-buttons_cqsBj","project-attribute-tabs-containter":"project-attribute-tabs-containter_AUQqz","project-attribute":"project-attribute_wB14n","project-attribute-manager":"project-attribute-manager_SvofA","project-attr-main":"project-attr-main_t6ney","setting-icon":"setting-icon_3nj4O","project-basic":"project-basic_F53-t","project-attrlist-table-selected":"project-attrlist-table-selected_5GyW0"},toString(){return fje}}});var ITe=xe((gta,Wbi)=>{var aa=[];aa.push(".pcb3d-toolbar-container_aDakH{border-radius:0;overflow:hidden;z-index:11}.pcb3d-toolbar-container_aDakH,.pcb3d-toolbar-container_aDakH *{-moz-box-sizing:border-box;box-sizing:border-box}.pcb3d-toolbar-btns-wrapper_-RMFw{font-size:0;line-height:0;overflow:hidden;padding:0}.pcb3d-toolbar-btn-container_Y-1HS{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;border:none;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;-webkit-font-feature-settings:normal;-moz-font-feature-settings:normal;font-feature-settings:normal;font-style:normal;font-variant:normal;font-weight:400;height:28px;justify-content:center;line-height:1;position:relative;text-align:center;text-transform:none;width:28px;-webkit-font-smoothing:antialiased;border-radius:3px;font-family:icomoon!important}.pcb3d-toolbar-btn-container_Y-1HS:hover{background-color:var(--bg-toolbar-icon-hover)}.pcb3d-toolbar-btn-container_Y-1HS.pcb3d-toolbar-btn-selected_zKLhE{background-color:var(--bg-toolbar-icon-selected)}.pcb3d-toolbar-btn-icon_FuakZ{background-position:50%;background-repeat:no-repeat;background-size:contain;-webkit-filter:var(--icon-color-pcb);filter:var(--icon-color-pcb);height:16px;width:16px}.pcb3d-toolbar-splitline_BaNDc{background-color:#aeaeae;display:inline-block;height:18px;margin:0 5px;-webkit-transform:scaleY(.65);-moz-transform:scaleY(.65);transform:scaleY(.65);width:1px}.pcb3d-range-container_2rKDT{border:1px solid var(--common-border-color-1);border-radius:0;box-shadow:0 1px 6px rgba(0,0,0,.2);height:30px;margin-left:160px;overflow:hidden;position:relative;width:200px;z-index:11}.pcb3d-range-container_2rKDT,.pcb3d-range-container_2rKDT *{-moz-box-sizing:border-box;box-sizing:border-box}.pcb3d-range-wrapper_6ppud{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;width:100%}.pcb3d-range-addstep_wXaFP,.pcb3d-range-minstep_Cfl5O{cursor:pointer;height:16px;width:16px}.pcb3d-range-addstep_wXaFP,.pcb3d-range-minstep_Cfl5O,.pcb3d-range-process_IyK44{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.pcb3d-range-process_IyK44{height:inherit;position:relative;width:-webkit-calc(100% - 48px);width:-moz-calc(100% - 48px);width:calc(100% - 48px);-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-webkit-align-content:center;align-content:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;justify-content:space-between}.pcb3d-range-track_IFHTs{background:#d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:4px;left:0;position:absolute;width:100%}.pcb3d-range-bar_-f-i5{background:#fff;border:2px solid #40a9ff;border-radius:50%;cursor:pointer;height:14px;left:-7px;position:absolute;top:7px;width:14px;z-index:9}.pcb3d-range-rateline_JJ11g{background:#d9d9d9;background-color:#40a9ff;border-radius:2px;height:4px;left:0;position:absolute;width:0}.pcb3d-range-icon_IUgw5,.pcb3d-range-rateline_JJ11g{-moz-box-sizing:border-box;box-sizing:border-box}.pcb3d-range-icon_IUgw5{height:16px;width:16px}.icon-normalview_e5-Sr{background-image:");aa.push("url(");aa.push(JSON.stringify(Vpt()));aa.push(")");aa.push("}.icon-outlineview_iSMPi{background-image:");aa.push("url(");aa.push(JSON.stringify(Hpt()));aa.push(")");aa.push("}.icon-gerberview_JQ5wH{background-image:");aa.push("url(");aa.push(JSON.stringify(Gpt()));aa.push(")");aa.push("}.icon-topview_zVoaH{background-image:");aa.push("url(");aa.push(JSON.stringify(w3e()));aa.push(")");aa.push("}.icon-bottomview_Yc91k{background-image:");aa.push("url(");aa.push(JSON.stringify(C3e()));aa.push(")");aa.push("}.icon-leftview_gK7ft{background-image:");aa.push("url(");aa.push(JSON.stringify(T3e()));aa.push(")");aa.push("}.icon-rightview_RrSEM{background-image:");aa.push("url(");aa.push(JSON.stringify(x3e()));aa.push(")");aa.push("}.icon-frontview_2e34M{background-image:");aa.push("url(");aa.push(JSON.stringify(S3e()));aa.push(")");aa.push("}.icon-backview_P08-Q{background-image:");aa.push("url(");aa.push(JSON.stringify(M3e()));aa.push(")");aa.push("}.icon-expode_QQCqt{background-image:");aa.push("url(");aa.push(JSON.stringify(Bpt()));aa.push(")");aa.push("}.icon-fitall_MFW4p{background-image:");aa.push("url(");aa.push(JSON.stringify(Xce()));aa.push(")");aa.push("}.icon-importchanges_GXme4{background-image:");aa.push("url(");aa.push(JSON.stringify(w8e()));aa.push(")");aa.push("}.icon-refresh_IIqnG{background-image:");aa.push("url(");aa.push(JSON.stringify(FR()));aa.push(")");aa.push("}.icon-min_4xoEN{background-image:");aa.push("url(");aa.push(JSON.stringify(n3e()));aa.push(")");aa.push("}.icon-add_uG0Nb,.icon-min_4xoEN{background-repeat:no-repeat;height:16px;width:16px}.icon-add_uG0Nb{background-image:");aa.push("url(");aa.push(JSON.stringify(r3e()));aa.push(")");aa.push("}");aa=aa.join("");Wbi.exports={uuid:"9ef457ee-89e6-4f25-814e-ce2415b8332d",locals:{"pcb3d-toolbar-container":"pcb3d-toolbar-container_aDakH","pcb3d-toolbar-btns-wrapper":"pcb3d-toolbar-btns-wrapper_-RMFw","pcb3d-toolbar-btn-container":"pcb3d-toolbar-btn-container_Y-1HS","pcb3d-toolbar-btn-selected":"pcb3d-toolbar-btn-selected_zKLhE","pcb3d-toolbar-btn-icon":"pcb3d-toolbar-btn-icon_FuakZ","pcb3d-toolbar-splitline":"pcb3d-toolbar-splitline_BaNDc","pcb3d-range-container":"pcb3d-range-container_2rKDT","pcb3d-range-wrapper":"pcb3d-range-wrapper_6ppud","pcb3d-range-addstep":"pcb3d-range-addstep_wXaFP","pcb3d-range-minstep":"pcb3d-range-minstep_Cfl5O","pcb3d-range-process":"pcb3d-range-process_IyK44","pcb3d-range-track":"pcb3d-range-track_IFHTs","pcb3d-range-bar":"pcb3d-range-bar_-f-i5","pcb3d-range-rateline":"pcb3d-range-rateline_JJ11g","pcb3d-range-icon":"pcb3d-range-icon_IUgw5","icon-normalview":"icon-normalview_e5-Sr","icon-outlineview":"icon-outlineview_iSMPi","icon-gerberview":"icon-gerberview_JQ5wH","icon-topview":"icon-topview_zVoaH","icon-bottomview":"icon-bottomview_Yc91k","icon-leftview":"icon-leftview_gK7ft","icon-rightview":"icon-rightview_RrSEM","icon-frontview":"icon-frontview_2e34M","icon-backview":"icon-backview_P08-Q","icon-expode":"icon-expode_QQCqt","icon-fitall":"icon-fitall_MFW4p","icon-importchanges":"icon-importchanges_GXme4","icon-refresh":"icon-refresh_IIqnG","icon-min":"icon-min_4xoEN","icon-add":"icon-add_uG0Nb"},toString(){return aa}}});var iyi=xe((Fta,tyi)=>{var DT=[];DT.push(".float-toolbar_DgaWS{position:fixed;-webkit-app-region:no-drag;background-color:var(--common-bg-color);border:1px solid var(--common-border-color-2);border-radius:4px 4px 0 0;box-shadow:0 1px 6px rgba(0,0,0,.2);-moz-box-sizing:border-box;box-sizing:border-box;right:0;top:0;-webkit-user-select:none;user-select:none;-moz-user-select:none}.float-toolbar-hidden_tUHdm{-webkit-clip-path:polygon(0 0);clip-path:polygon(0 0)}.float-toolbar-header_5z9aT{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;overflow:hidden;position:relative;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;background:var(--bg-color-pop-up-title);-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);cursor:default;height:20px;justify-content:space-between;line-height:20px;padding-left:8px;padding-right:0;text-align:center;text-overflow:ellipsis;white-space:nowrap}.float-toolbar-header-title_M8Bov{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;text-align:left}.float-toolbar-header-functions_pT7mh{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-collapsible_rSAvl{background-image:");DT.push("url(");DT.push(JSON.stringify(jAe()));DT.push(")");DT.push("}.icon-collapsible_rSAvl,.icon-expand_G6jo5{background-position:50%;background-size:16px 16px;cursor:pointer;display:inline-block;height:18px;width:18px}.icon-expand_G6jo5{background-image:");DT.push("url(");DT.push(JSON.stringify(Wpt()));DT.push(")");DT.push("!important;margin-top:1px}.icon-closeable_DCBGz{background-image:");DT.push("url(");DT.push(JSON.stringify(Sie()));DT.push(")");DT.push(";background-size:18px 18px;cursor:pointer;display:inline-block;height:18px;width:18px}.float-toolbar-main_UJyao{padding:8px 5px}");DT=DT.join("");tyi.exports={uuid:"e06513ae-e7b7-4ef7-bcc5-fa0be2ad7fba",locals:{"float-toolbar":"float-toolbar_DgaWS","float-toolbar-hidden":"float-toolbar-hidden_tUHdm","float-toolbar-header":"float-toolbar-header_5z9aT","float-toolbar-header-title":"float-toolbar-header-title_M8Bov","float-toolbar-header-functions":"float-toolbar-header-functions_pT7mh","icon-collapsible":"icon-collapsible_rSAvl","icon-expand":"icon-expand_G6jo5","icon-closeable":"icon-closeable_DCBGz","float-toolbar-main":"float-toolbar-main_UJyao"},toString(){return DT}}});var uyi=xe((Gia,dyi)=>{var wje=[];wje.push(".switch-version_mVYUk{margin-bottom:16px}.switch-version_mVYUk div[type]{max-height:260px;overflow:hidden}.switch-version_mVYUk .q-grid_GzsuF.body_4XzEN{max-height:235px;overflow:auto}.switch-version_mVYUk .tabs_-lYxy{border-bottom:none}");wje=wje.join("");dyi.exports={uuid:"2af9563f-61a8-4637-b0e9-44d9d60f428e",locals:{"switch-version":"switch-version_mVYUk","q-grid":"q-grid_GzsuF",body:"body_4XzEN",tabs:"tabs_-lYxy"},toString(){return wje}}});var byi=xe((goa,gyi)=>{var Tje=[];Tje.push(".manageGategories_Ocxdo{color:#1890ff;cursor:pointer;margin:4px 0 0 8px;max-width:72px;outline:none;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.manageGategories_Ocxdo:hover{color:#40a9ff}");Tje=Tje.join("");gyi.exports={uuid:"7202ce5a-8736-4fe2-a706-918ee9f62dc4",locals:{manageGategories:"manageGategories_Ocxdo"},toString(){return Tje}}});var wyi=xe((Ooa,yyi)=>{var p0=[];p0.push(".tree-expand_4mPZS{background:");p0.push("url(");p0.push(JSON.stringify(Ow()));p0.push(")");p0.push(" no-repeat;height:16px;width:16px}.tree-collapse_QBq7S{background:");p0.push("url(");p0.push(JSON.stringify(qx()));p0.push(")");p0.push(" no-repeat;height:16px;width:16px}.hightlight_Cjfxa{background:var(--common-bg-color-highLight-item)}.tree-node-icon_kpZxj{display:inline-block;height:16px;margin:0 2px 0 4px;vertical-align:middle;width:16px}.bSizeTopMenu_gh-mf,.icon-eda-person_IsGni{background-repeat:no-repeat;background-size:100% 100%}.icon-eda-person_IsGni{background-image:");p0.push("url(");p0.push(JSON.stringify(_Ae()));p0.push(")");p0.push(";-webkit-filter:var(--icon-color-drop-down-menuItem);filter:var(--icon-color-drop-down-menuItem)}.icon-eda-join_UheSG{background-image:");p0.push("url(");p0.push(JSON.stringify(oAe()));p0.push(")");p0.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-join_UheSG,.icon-eda-member_yRIqW{background-repeat:no-repeat;background-size:100% 100%}.icon-eda-member_yRIqW{background-image:");p0.push("url(");p0.push(JSON.stringify(RAe()));p0.push(")");p0.push(";-webkit-filter:var(--icon-color-drop-down-menuItem);filter:var(--icon-color-drop-down-menuItem)}.icon-eda-team-join_NQT3Z{background-image:");p0.push("url(");p0.push(JSON.stringify(iAe()));p0.push(")");p0.push("}.icon-eda-folder-2_hCw-p,.icon-eda-team-join_NQT3Z{background-repeat:no-repeat;background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-folder-2_hCw-p{background-image:");p0.push("url(");p0.push(JSON.stringify(rAe()));p0.push(")");p0.push("}");p0=p0.join("");yyi.exports={uuid:"0e537870-a7bc-48f0-a0bf-17689b9d5a8b",locals:{"tree-expand":"tree-expand_4mPZS","tree-collapse":"tree-collapse_QBq7S",hightlight:"hightlight_Cjfxa","tree-node-icon":"tree-node-icon_kpZxj",bSizeTopMenu:"bSizeTopMenu_gh-mf","icon-eda-person":"icon-eda-person_IsGni","icon-eda-join":"icon-eda-join_UheSG","icon-eda-member":"icon-eda-member_yRIqW","icon-eda-team-join":"icon-eda-team-join_NQT3Z","icon-eda-folder-2":"icon-eda-folder-2_hCw-p"},toString(){return p0}}});var Iyi=xe((dra,Myi)=>{var FZ=[];FZ.push(".owner-select-container_mPupt{color:var(--font-color-pop-up);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.owner-select-container_mPupt .rotateIcon_PNuYr{-webkit-animation:rotateIcon_PNuYr .5s infinite;-moz-animation:rotateIcon_PNuYr .5s infinite;animation:rotateIcon_PNuYr .5s infinite}.owner-select-container_mPupt .create-team-link_33CDA{color:#1890ff;outline:none}.owner-select-container_mPupt .create-team-link_33CDA:visited{color:#1890ff}.owner-select-container_mPupt .create-team-link_33CDA:hover{color:#40a9ff}.owner-select-container_mPupt .icon-eda-refresh_-OOCM{background-image:");FZ.push("url(");FZ.push(JSON.stringify(FR()));FZ.push(")");FZ.push(";background-repeat:no-repeat;background-size:100% 100%;-webkit-filter:var(--icon-color-input);filter:var(--icon-color-input)}@-webkit-keyframes rotateIcon_PNuYr{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-moz-keyframes rotateIcon_PNuYr{0%{-moz-transform:rotate(0deg);transform:rotate(0deg)}25%{-moz-transform:rotate(90deg);transform:rotate(90deg)}50%{-moz-transform:rotate(180deg);transform:rotate(180deg)}75%{-moz-transform:rotate(270deg);transform:rotate(270deg)}to{-moz-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotateIcon_PNuYr{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);transform:rotate(270deg)}to{-webkit-transform:rotate(1turn);-moz-transform:rotate(1turn);transform:rotate(1turn)}}");FZ=FZ.join("");Myi.exports={uuid:"5ea4e2ab-55ef-4bca-8648-00e6d2247665",locals:{"owner-select-container":"owner-select-container_mPupt",rotateIcon:"rotateIcon_PNuYr","create-team-link":"create-team-link_33CDA","icon-eda-refresh":"icon-eda-refresh_-OOCM"},toString(){return FZ}}});var vyi=xe((Mra,Lyi)=>{var Ije=[];Ije.push(".table_wmnZT{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;padding:9px 16px;width:-webkit-calc(100% - 32px);width:-moz-calc(100% - 32px);width:calc(100% - 32px)}");Ije=Ije.join("");Lyi.exports={uuid:"5cde8442-1ec7-4094-b3e4-37da2f92de8f",locals:{table:"table_wmnZT"},toString(){return Ije}}});var Ext=xe((Qra,Ayi)=>{var Lje=[];Lje.push(".project-link-container_tcolk{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.project-link-container_tcolk .prj-link-pre_xtzl4{background:var(--bg-color-disabled-input);border:1px solid var(--border-color-disabled-input);border-radius:3px 0 0 3px;-moz-box-sizing:border-box;box-sizing:border-box;color:#929292;display:inline-block;height:24px;line-height:18px;max-width:60%;overflow:hidden;padding:3px 5px;text-overflow:ellipsis}.client-project-path-container_ccL6E{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;position:relative}.client-project-path-container_ccL6E .project-path-input_9awrm{cursor:pointer;height:24px;position:absolute;width:-webkit-calc(100% - 24px);width:-moz-calc(100% - 24px);width:calc(100% - 24px);z-index:9999}.client-project-path-container_ccL6E .opendirtoryDlgSub_61z4j{color:#b9b9b9;cursor:pointer;font-size:20px;line-height:12px;position:absolute;right:4px;-webkit-transition:all .2s;-moz-transition:all .2s;transition:all .2s}.client-project-path-container_ccL6E .opendirtoryDlgSub_61z4j:hover{color:#696969}");Lje=Lje.join("");Ayi.exports={uuid:"197f4498-a426-4a5a-ae08-acd056b65c3b",locals:{"project-link-container":"project-link-container_tcolk","prj-link-pre":"prj-link-pre_xtzl4","client-project-path-container":"client-project-path-container_ccL6E","project-path-input":"project-path-input_9awrm",opendirtoryDlgSub:"opendirtoryDlgSub_61z4j"},toString(){return Lje}}});var VZ=xe((Una,zyi)=>{var Dje=[];Dje.push(".main-container_bO3ye{min-height:-webkit-fit-content;min-height:-moz-fit-content;min-height:fit-content}.view-loading-wrapper_KgKhZ{height:665px;left:0;position:relative;top:0;width:100%}.view-loading_ozon5{background-color:var(--common-bg-color);height:-webkit-calc(100% - 2px);height:-moz-calc(100% - 2px);height:calc(100% - 2px);left:1px;position:absolute;top:1px;width:-webkit-calc(100% - 2px);width:-moz-calc(100% - 2px);width:calc(100% - 2px);z-index:9999}.view-loading-rotation_8T5--{height:36px;left:45%;position:absolute;top:40%;width:36px}.liblist-section_tBVW4{margin-right:5px;overflow:auto}.category-section_9KDaY,.liblist-section_tBVW4{-webkit-flex-shrink:0;flex-shrink:0;width:100%}.category-section_9KDaY{height:100%;overflow:hidden;position:relative}.component-search-section_YPP4-{display:block;height:30px;padding:0 0 5px;width:100%}.table-section_yLbuR{height:100%}.symboltype-wrapper_cDHd6,.table-section_yLbuR{overflow:hidden;position:relative;width:100%}.reuse-option-section_5E53r{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:5px;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;background-color:var(--common-bg-color);border:1px solid var(--common-border-color);border-radius:3px;flex-direction:column;margin-top:5px}");Dje=Dje.join("");zyi.exports={uuid:"687b677d-78f2-49a9-b29c-c2d57e3862ae",locals:{"main-container":"main-container_bO3ye","view-loading-wrapper":"view-loading-wrapper_KgKhZ","view-loading":"view-loading_ozon5","view-loading-rotation":"view-loading-rotation_8T5--","liblist-section":"liblist-section_tBVW4","category-section":"category-section_9KDaY","component-search-section":"component-search-section_YPP4-","table-section":"table-section_yLbuR","symboltype-wrapper":"symboltype-wrapper_cDHd6","reuse-option-section":"reuse-option-section_5E53r"},toString(){return Dje}}});var r4i=xe((Rla,o4i)=>{var il=[];il.push(".icon-eda-x-circle_wGObx.clear-input-circle_lmX--{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.icon_4fNO2{background-position:50%;background-repeat:no-repeat;background-size:16px 16px!important;font-size:12px;margin-left:2px;margin-right:2px;position:relative;top:4px}.icon_4fNO2,.tree-collapsed_Ztf9d{display:inline-block;height:16px;width:16px}.tree-collapsed_Ztf9d{background:");il.push("url(");il.push(JSON.stringify(qx()));il.push(")");il.push(" no-repeat;-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree);vertical-align:middle}.tree-expanded_x-H8-{background:");il.push("url(");il.push(JSON.stringify(Ow()));il.push(")");il.push(" no-repeat}.tree-expanded_x-H8-,.tree-join_4VQMh{display:inline-block;-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree);height:16px;vertical-align:middle;width:16px}.tree-join_4VQMh{background:");il.push("url(");il.push(JSON.stringify($ce()));il.push(")");il.push(" no-repeat}.bSizeTopMenu_omMGr,.icon-eda-project-fill_ZuSnc{background-repeat:no-repeat;background-size:16px 16px}.icon-eda-project-fill_ZuSnc{background-image:");il.push("url(");il.push(JSON.stringify(Lie()));il.push(")");il.push("}.icon-eda-board-fill_QUJZh{background-image:");il.push("url(");il.push(JSON.stringify(b3e()));il.push(")");il.push("}.icon-ecad-board-fill_vBSMi,.icon-eda-board-fill_QUJZh{background-repeat:no-repeat;background-size:16px 16px}.icon-ecad-board-fill_vBSMi{background-image:");il.push("url(");il.push(JSON.stringify(y3e()));il.push(")");il.push("}.icon-eda-schematic-block_dnXj2{background-image:");il.push("url(");il.push(JSON.stringify(OAe()));il.push(")");il.push("}.icon-eda-schematic_TB2KH,.icon-eda-schematic-block_dnXj2{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:invert(48%) sepia(54%) saturate(930%) hue-rotate(178deg) brightness(101%) contrast(102%);filter:invert(48%) sepia(54%) saturate(930%) hue-rotate(178deg) brightness(101%) contrast(102%)}.icon-eda-schematic_TB2KH{background-image:");il.push("url(");il.push(JSON.stringify(c3e()));il.push(")");il.push("}.icon-eda-pcb_aNNPp{background-image:");il.push("url(");il.push(JSON.stringify(t3e()));il.push(")");il.push("}.icon-ecad-pcb_cblAi,.icon-eda-pcb_aNNPp{background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:invert(29%) sepia(93%) saturate(1905%) hue-rotate(97deg) brightness(96%) contrast(111%);filter:invert(29%) sepia(93%) saturate(1905%) hue-rotate(97deg) brightness(96%) contrast(111%)}.icon-ecad-pcb_cblAi{background-image:");il.push("url(");il.push(JSON.stringify(i3e()));il.push(")");il.push("}.icon-eda-page_VCiPg{background-image:");il.push("url(");il.push(JSON.stringify(l3e()));il.push(")");il.push(";background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:invert(48%) sepia(54%) saturate(930%) hue-rotate(178deg) brightness(101%) contrast(102%);filter:invert(48%) sepia(54%) saturate(930%) hue-rotate(178deg) brightness(101%) contrast(102%)}");il=il.join("");o4i.exports={uuid:"1982c325-a841-4a67-9de3-93e37e6eeb0b",locals:{"icon-eda-x-circle":"icon-eda-x-circle_wGObx","clear-input-circle":"clear-input-circle_lmX--",icon:"icon_4fNO2","tree-collapsed":"tree-collapsed_Ztf9d","tree-expanded":"tree-expanded_x-H8-","tree-join":"tree-join_4VQMh",bSizeTopMenu:"bSizeTopMenu_omMGr","icon-eda-project-fill":"icon-eda-project-fill_ZuSnc","icon-eda-board-fill":"icon-eda-board-fill_QUJZh","icon-ecad-board-fill":"icon-ecad-board-fill_vBSMi","icon-eda-schematic-block":"icon-eda-schematic-block_dnXj2","icon-eda-schematic":"icon-eda-schematic_TB2KH","icon-eda-pcb":"icon-eda-pcb_aNNPp","icon-ecad-pcb":"icon-ecad-pcb_cblAi","icon-eda-page":"icon-eda-page_VCiPg"},toString(){return il}}});var C4i=xe((Rda,w4i)=>{var Wje=[];Wje.push(".container_1AeYn,.viewcontent-container_4TiNF{height:100%;position:relative;width:100%}.viewcontent-wrapper_9MDQt{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;left:0;overflow:hidden;position:relative;top:0;width:100%;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.areawindow-loading_4oi7f{background-color:var(--common-bg-color);display:none;height:100%;left:0;position:absolute;top:0;width:100%;z-index:999}.areawindow-loading-show_bo-wV{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.areawindow-loading-content_9c054{height:36px;width:36px}.select-wrapper-top_sT6k-{padding-bottom:5px}.select-wrapper-bottom_PJWNq,.select-wrapper-top_sT6k-{width:100%;z-index:1000}.gray-mask-wrapper_2dTZx{background-color:#e0e0e0;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;position:absolute;width:100%;z-index:1001;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.mask-hide_MbuiZ{display:none}.mask-show_nOJp0{color:var(--common-font-color);display:block}.gray-mask-tips_2-QFd{color:#1890ff;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:10px;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}");Wje=Wje.join("");w4i.exports={uuid:"ba41632d-39af-400a-9c6f-e3df030bb6d8",locals:{container:"container_1AeYn","viewcontent-container":"viewcontent-container_4TiNF","viewcontent-wrapper":"viewcontent-wrapper_9MDQt","areawindow-loading":"areawindow-loading_4oi7f","areawindow-loading-show":"areawindow-loading-show_bo-wV","areawindow-loading-content":"areawindow-loading-content_9c054","select-wrapper-top":"select-wrapper-top_sT6k-","select-wrapper-bottom":"select-wrapper-bottom_PJWNq","gray-mask-wrapper":"gray-mask-wrapper_2dTZx","mask-hide":"mask-hide_MbuiZ","mask-show":"mask-show_nOJp0","gray-mask-tips":"gray-mask-tips_2-QFd"},toString(){return Wje}}});var qTe=xe((bua,P4i)=>{var Jje=[];Jje.push("input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none}input[type=number]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.pagination-container_VnQpQ *{-moz-box-sizing:border-box;box-sizing:border-box}.pagination-g-disabled_6Lmc8{opacity:.75;pointer-events:none}.pagination-container_VnQpQ{-moz-box-sizing:border-box;box-sizing:border-box;font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;height:25px;justify-content:flex-start;list-style:none}.pagination-container_VnQpQ,.pagination-container_VnQpQ .page-item-wrapper_2akm0,.pagination-container_VnQpQ .page-jump-wrapper_IsY6S{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.pagination-container_VnQpQ .page-item-wrapper_2akm0,.pagination-container_VnQpQ .page-jump-wrapper_IsY6S{color:var(--font-color-input);cursor:pointer;height:100%;min-width:30px;padding:0 5px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.pagination-container_VnQpQ .page-item-wrapper_2akm0 .page-content_rEX8h,.pagination-container_VnQpQ .page-jump-wrapper_IsY6S .page-content_rEX8h{display:inline-block}.pagination-container_VnQpQ .page-item-wrapper_2akm0 .page-svg_QTGfn,.pagination-container_VnQpQ .page-jump-wrapper_IsY6S .page-svg_QTGfn{background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;height:18px;width:18px}.pagination-container_VnQpQ .page-jump-wrapper_IsY6S{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content;padding:0}.pagination-container_VnQpQ .page-jump-wrapper_IsY6S .page-svg_QTGfn{opacity:1}.pagination-container_VnQpQ .page-jump-wrapper-disabled_NVsta{cursor:default;pointer-events:none}.pagination-container_VnQpQ .page-jump-wrapper-disabled_NVsta .page-svg_QTGfn{opacity:.55}.pagination-container_VnQpQ .page-jump-wrapper_IsY6S:hover .page-svg_QTGfn{font-weight:bolder}.pagination-container_VnQpQ .page-prevjump-wrapper_RbAZg .page-svg_QTGfn{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);transform:rotate(180deg)}.pagination-container_VnQpQ .page-nextjump-wrapper_QzfcW .page-svg_QTGfn{-webkit-transform:rotate(0);-moz-transform:rotate(0);transform:rotate(0)}.pagination-container_VnQpQ .page-item-wrapper-selected_LtTXJ .page-content_rEX8h{font-weight:bolder}.pagination-container_VnQpQ .page-item-wrapper_2akm0:hover .page-content_rEX8h{text-decoration:underline}.pagination-container_VnQpQ .page-break-wrapper_Pb-f1{height:100%;min-width:30px;pointer-events:none;text-align:center}.pagination-container_VnQpQ .page-break-wrapper_Pb-f1 .page-content_rEX8h{color:var(--font-color-input);-webkit-transform:scale(.85);-moz-transform:scale(.85);transform:scale(.85)}.pagination-container_VnQpQ .page-input-wrapper_aix7O{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;margin:0 5px}.pagination-container_VnQpQ .page-input-wrapper_aix7O .page-number-input_S9oVy{background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;height:18px;margin:0;padding:0;text-align:center;width:40px}.pagination-container_VnQpQ .page-input-wrapper_aix7O .page-number-input_S9oVy:active,.pagination-container_VnQpQ .page-input-wrapper_aix7O .page-number-input_S9oVy:focus{border:1px solid #1890ff;outline:0}.pagination-container_VnQpQ .page-input-wrapper_aix7O .page-number-input_S9oVy:hover{border:1px solid #1890ff}.pagination-container_VnQpQ .page-input-wrapper_aix7O .page-number-text_1iGai{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;background-color:var(--bg-color-disabled-input);border:1px solid var(--border-color-input);border-radius:2px;color:var(--font-color-input);height:18px;justify-content:center;width:40px}.pagination-container_VnQpQ .page-input-wrapper_aix7O .page-number-input-simp_sxV-p{height:18px;width:30px}.pagination-container_VnQpQ .page-totalcount-wrapper_r9xJ0{color:var(--common-font-color);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding-left:10px;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.pagination-container_VnQpQ .page-totalcount-wrapper_r9xJ0 .page-total-content_fDXOG{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:keep-all}.pagination-container_VnQpQ .page-totalcount-wrapper_r9xJ0 .page-total-content-lengthen_NuuBD{max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.pagination-container_VnQpQ .page-select-wrapper_z5C03{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding-left:5px;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.pagination-container_VnQpQ .page-select-wrapper_z5C03 select{border:1px solid #999;border-radius:2px;height:20px}.pagination-container_VnQpQ .page-select-wrapper_z5C03 select:active,.pagination-container_VnQpQ .page-select-wrapper_z5C03 select:focus{border:1px solid #1890ff;outline:0}.pagination-container_VnQpQ .page-select-wrapper_z5C03 select:hover{border:1px solid #1890ff}");Jje=Jje.join("");P4i.exports={uuid:"1f6636db-8443-4fc8-bfd9-688f3ee68e7f",locals:{"pagination-container":"pagination-container_VnQpQ","pagination-g-disabled":"pagination-g-disabled_6Lmc8","page-item-wrapper":"page-item-wrapper_2akm0","page-jump-wrapper":"page-jump-wrapper_IsY6S","page-content":"page-content_rEX8h","page-svg":"page-svg_QTGfn","page-jump-wrapper-disabled":"page-jump-wrapper-disabled_NVsta","page-prevjump-wrapper":"page-prevjump-wrapper_RbAZg","page-nextjump-wrapper":"page-nextjump-wrapper_QzfcW","page-item-wrapper-selected":"page-item-wrapper-selected_LtTXJ","page-break-wrapper":"page-break-wrapper_Pb-f1","page-input-wrapper":"page-input-wrapper_aix7O","page-number-input":"page-number-input_S9oVy","page-number-text":"page-number-text_1iGai","page-number-input-simp":"page-number-input-simp_sxV-p","page-totalcount-wrapper":"page-totalcount-wrapper_r9xJ0","page-total-content":"page-total-content_fDXOG","page-total-content-lengthen":"page-total-content-lengthen_NuuBD","page-select-wrapper":"page-select-wrapper_z5C03"},toString(){return Jje}}});var p3i=xe((m1a,u3i)=>{var PT=[];PT.push(".pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-content-wrapper_Ynays{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-content-wrapper_Ynays>div{overflow:auto;width:100%}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-content-wrapper_Ynays .comm-btn-operate-link_ytDDW{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-content-wrapper_Ynays .comm-btn-height_5UVEV{height:22px}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-content-wrapper_Ynays .comm-btn-text_PUxEO{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-content-wrapper_Ynays .margin-btn_OFXTU{margin-bottom:16px}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-content-wrapper_Ynays .margin-top_bGcNQ{margin-top:16px}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-content-wrapper_Ynays input.dialog-input_OMG1X{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-content-wrapper_Ynays input.dialog-input_OMG1X:not([disabled]){color:var(--font-color-input)}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-content-wrapper_Ynays select.dialog-input_OMG1X{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-content-wrapper_Ynays select.dialog-input_OMG1X:not([disabled]){color:var(--font-color-input)}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-content-wrapper_Ynays textarea.dialog-input_OMG1X{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-content-wrapper_Ynays .device-property-key_AQFdD{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-content-wrapper_Ynays .attrs-select-wrap_Np3NF{padding-left:8px}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-footer-wrapper_VxV0h{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-footer-wrapper_VxV0h .comm-btn_kVr-Y{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-footer-wrapper_VxV0h .comm-btn_kVr-Y:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-footer-wrapper_VxV0h .comm-btn_kVr-Y.comm-btn-default_Kg8qS{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-footer-wrapper_VxV0h .comm-btn_kVr-Y.comm-btn-default_Kg8qS:hover{border-color:#1890ff}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-footer-wrapper_VxV0h .comm-btn_kVr-Y .l-btn-left_wJJGW{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-footer-wrapper_VxV0h .comm-btn-left_QtzYz{left:28px;position:absolute}.pop-content-container_rrxrN:not(.oneLineOneInputDlg_o94M3) .pop-footer-wrapper_VxV0h .grid-export_4xjaY .comm-btn_kVr-Y:last-child{margin-left:8px}.pop-content-container_rrxrN *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_rrxrN label{position:relative}.pop-content-wrapper_Ynays a.route-link_n6aAJ,.pop-content-wrapper_Ynays a.route-link_n6aAJ:active,.pop-content-wrapper_Ynays a.route-link_n6aAJ:visited{color:#00e}div[user-resizable] .window-body_2jwDY>.panel_u5BJK,div[user-resizable] .window-header_k8Iz4{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_2jwDY>.panel_u5BJK{height:100%!important}div[user-resizable] .window-body_2jwDY .dialog-content_-jiVS{height:100%!important;width:100%!important}.line_zFnH4{padding:8px}.line_zFnH4 .name_UijZ6{display:inline-block;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:80px}.line_zFnH4 .name_UijZ6,.line_zFnH4 .value_j11LB{-moz-box-sizing:border-box;box-sizing:border-box}.line_zFnH4 .value_j11LB{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%}.line_zFnH4 .value_j11LB .selectValue_DMvzb{display:inline-block}.line_zFnH4 .value_j11LB .importSelect_TA4dB{width:184px}.bSizeTopMenu_s9qC-,.coloricon-eda-footprint_ZlSwQ{background-repeat:no-repeat;background-size:100% 100%}.coloricon-eda-footprint_ZlSwQ{background-image:");PT.push("url(");PT.push(JSON.stringify(a3e()));PT.push(")");PT.push("}.coloricon-eda-device_INSjk{background-image:");PT.push("url(");PT.push(JSON.stringify(d3e()));PT.push(")");PT.push("}.coloricon-eda-device_INSjk,.coloricon-eda-symbol_xOy5v{background-repeat:no-repeat;background-size:100% 100%}.coloricon-eda-symbol_xOy5v{background-image:");PT.push("url(");PT.push(JSON.stringify(o3e()));PT.push(")");PT.push(';display:inline-block}.tree-icon_GAD-B{background-position:50%;background-repeat:no-repeat;background-size:16px 16px!important;display:inline-block;font-size:16px}.tree-file_1Q8YD{display:inline-block;height:16px;vertical-align:middle;width:16px}.l-btn-left_wJJGW{display:block;line-height:10px;padding:4px 0}.l-btn-text_syytg{line-height:16px}.l-btn-empty_2qO64,.l-btn-text_syytg{display:inline-block;height:16px;padding:0}.l-btn-empty_2qO64{line-height:14px;margin-top:2px;width:16px}.icon-eda-help3_9wxeB:before{content:"\\e98a";vertical-align:middle}.fieldset_Nl5Oo{border:1px solid var(--common-border-color-1);border-radius:2px;color:var(--common-font-color);font-size:12px;line-height:22px;margin:4px 0;overflow:auto;padding:8px 8px 16px 16px}.checkbox_UwQ9W{margin-right:50px}.link_VewS5{text-decoration:none}');PT=PT.join("");u3i.exports={uuid:"679ed9bd-7e7a-4a80-bf22-b4066590d0bd",locals:{"pop-content-container":"pop-content-container_rrxrN",oneLineOneInputDlg:"oneLineOneInputDlg_o94M3","pop-content-wrapper":"pop-content-wrapper_Ynays","comm-btn-operate-link":"comm-btn-operate-link_ytDDW","comm-btn-height":"comm-btn-height_5UVEV","comm-btn-text":"comm-btn-text_PUxEO","margin-btn":"margin-btn_OFXTU","margin-top":"margin-top_bGcNQ","dialog-input":"dialog-input_OMG1X","device-property-key":"device-property-key_AQFdD","attrs-select-wrap":"attrs-select-wrap_Np3NF","pop-footer-wrapper":"pop-footer-wrapper_VxV0h","comm-btn":"comm-btn_kVr-Y","comm-btn-default":"comm-btn-default_Kg8qS","l-btn-left":"l-btn-left_wJJGW","comm-btn-left":"comm-btn-left_QtzYz","grid-export":"grid-export_4xjaY","route-link":"route-link_n6aAJ","window-body":"window-body_2jwDY",panel:"panel_u5BJK","window-header":"window-header_k8Iz4","dialog-content":"dialog-content_-jiVS",line:"line_zFnH4",name:"name_UijZ6",value:"value_j11LB",selectValue:"selectValue_DMvzb",importSelect:"importSelect_TA4dB",bSizeTopMenu:"bSizeTopMenu_s9qC-","coloricon-eda-footprint":"coloricon-eda-footprint_ZlSwQ","coloricon-eda-device":"coloricon-eda-device_INSjk","coloricon-eda-symbol":"coloricon-eda-symbol_xOy5v","tree-icon":"tree-icon_GAD-B","tree-file":"tree-file_1Q8YD","l-btn-text":"l-btn-text_syytg","l-btn-empty":"l-btn-empty_2qO64","icon-eda-help3":"icon-eda-help3_9wxeB",fieldset:"fieldset_Nl5Oo",checkbox:"checkbox_UwQ9W",link:"link_VewS5"},toString(){return PT}}});var XTe=xe((Ffa,S3i)=>{var dA=[];dA.push("input[type=password]::-ms-reveal{display:none}.main-container_ihwv8{margin-bottom:0!important}.profile-input-checkbox_gwJIM,.profile-input-radio_wsUw2{cursor:pointer;vertical-align:middle}.profile-input-text_EslCl{cursor:text;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;vertical-align:middle}.profile-input-tips_GX7MM{color:var(--font-color-pop-up);cursor:pointer;vertical-align:middle;white-space:nowrap;word-break:keep-all}.display-none_PSKbs{display:none!important}.view-loading-wrapper_whheK{height:80px;left:0;position:relative;top:0;width:100%}.view-loading_nSiVb{background-color:var(--common-bg-color);height:-webkit-calc(100% - 2px);height:-moz-calc(100% - 2px);height:calc(100% - 2px);left:1px;position:absolute;top:1px;width:-webkit-calc(100% - 2px);width:-moz-calc(100% - 2px);width:calc(100% - 2px);z-index:9999}.view-loading-rotation_rgkw7{height:36px;left:45%;position:absolute;top:40%;width:36px}.basecontent-wrapper_PMMDt,.main-container_ihwv8{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:100%;width:100%}.basecontent-wrapper_PMMDt{-webkit-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden}.section-area-wrapper_qQaFi{-webkit-flex-shrink:0;flex-shrink:0;height:100%;width:100%}.section-area_zRw02{height:100%;position:relative;width:100%}.profileline-container_UpuZ5{margin:0;padding:0}.profileline-item-container_vExLT{overflow:hidden}.profileline-item-container-select_cQ-BJ{background-color:var(--bg-color-selected-drop-down-menuItem)}.profileline-wrapper_6-Zd6{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start;line-height:24px;width:100%}.profileline-label-wrapper_Swvz4,.profileline-wrapper_6-Zd6{-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden}.profileline-label-wrapper_Swvz4{max-width:142px;min-width:85px;padding:0 8px 0 0;text-align:right;text-overflow:ellipsis;white-space:nowrap;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;word-break:break-word}.profileline-content-wrapper_ouX0o{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:1;flex-shrink:1;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;padding:0}.profileline-content-item-wrapper_S8iIc{min-width:125px;padding-left:16px}.profileline-content-item-wrapper_S8iIc:first-child{padding-left:0}.profileline-tips-wrapper_D3D7s{cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;width:30px}.icon-eda-eye_Cz-gN{background:");dA.push("url(");dA.push(JSON.stringify(s3()));dA.push(")");dA.push(";background-position:50%;background-repeat:no-repeat}.icon-eda-eye_Cz-gN,.icon-eda-no-eye_kkhCh{display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:20px;width:20px}.icon-eda-no-eye_kkhCh{background:");dA.push("url(");dA.push(JSON.stringify(Jx()));dA.push(")");dA.push(";background-position:50%;background-repeat:no-repeat;opacity:.25}");dA=dA.join("");S3i.exports={uuid:"a89a1d23-8730-4861-a44f-73278412523e",locals:{"main-container":"main-container_ihwv8","profile-input-checkbox":"profile-input-checkbox_gwJIM","profile-input-radio":"profile-input-radio_wsUw2","profile-input-text":"profile-input-text_EslCl","profile-input-tips":"profile-input-tips_GX7MM","display-none":"display-none_PSKbs","view-loading-wrapper":"view-loading-wrapper_whheK","view-loading":"view-loading_nSiVb","view-loading-rotation":"view-loading-rotation_rgkw7","basecontent-wrapper":"basecontent-wrapper_PMMDt","section-area-wrapper":"section-area-wrapper_qQaFi","section-area":"section-area_zRw02","profileline-container":"profileline-container_UpuZ5","profileline-item-container":"profileline-item-container_vExLT","profileline-item-container-select":"profileline-item-container-select_cQ-BJ","profileline-wrapper":"profileline-wrapper_6-Zd6","profileline-label-wrapper":"profileline-label-wrapper_Swvz4","profileline-content-wrapper":"profileline-content-wrapper_ouX0o","profileline-content-item-wrapper":"profileline-content-item-wrapper_S8iIc","profileline-tips-wrapper":"profileline-tips-wrapper_D3D7s","icon-eda-eye":"icon-eda-eye_Cz-gN","icon-eda-no-eye":"icon-eda-no-eye_kkhCh"},toString(){return dA}}});var fA=xe((Xga,j3i)=>{var gBe=[];gBe.push(".main-container_34aGE{margin-bottom:0!important}.profile-input-checkbox_TNu77,.profile-input-radio_W6Vdg{cursor:pointer;vertical-align:middle}.profile-input-text_eHW-v{cursor:text;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;vertical-align:middle}.profile-input-tips_SleK-{color:var(--font-color-pop-up);cursor:pointer;vertical-align:middle;white-space:nowrap;word-break:keep-all}.display-none_4WX6H{display:none!important}.view-loading-wrapper_AovXW{height:425px;left:0;position:relative;top:0;width:100%}.view-loading_zf0PA{background-color:var(--common-bg-color);height:-webkit-calc(100% - 2px);height:-moz-calc(100% - 2px);height:calc(100% - 2px);left:1px;position:absolute;top:1px;width:-webkit-calc(100% - 2px);width:-moz-calc(100% - 2px);width:calc(100% - 2px);z-index:9999}.view-loading-rotation_H93G0{height:36px;left:45%;position:absolute;top:40%;width:36px}.main-container_34aGE{border:1px solid var(--common-border-color);border-radius:3px}.basecontent-wrapper_Segwj,.main-container_34aGE{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:100%;width:100%}.basecontent-wrapper_Segwj{-webkit-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden;padding-top:10px}.section-area-wrapper_1r7xu{-webkit-flex-shrink:0;flex-shrink:0;height:100%;width:100%}.section-area_oFtd8{height:100%;position:relative;width:100%}.profileline-container_OiYki{margin:0;padding:0}.profileline-item-container_RJXQP{overflow:hidden}.profileline-item-container-select_B6bqd{background-color:var(--bg-color-selected-drop-down-menuItem)}.profileline-wrapper_GKt2j{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start;line-height:24px;padding:4px 0;width:100%}.profileline-label-wrapper_pTKE1,.profileline-wrapper_GKt2j{-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden}.profileline-label-wrapper_pTKE1{padding:0 8px 0 16px;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:120px;word-break:break-word}.profileline-content-wrapper_5zn5q{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:1;flex-shrink:1;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;padding:0 40px 0 0}.profileline-content-item-wrapper_g-VPV{min-width:125px;padding-left:16px}.profileline-content-item-wrapper_g-VPV:first-child{padding-left:0}.profileline-tips-wrapper_GO87L{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;padding-left:8px;width:135px}");gBe=gBe.join("");j3i.exports={uuid:"b0ab6556-9ff1-4e19-a240-9cf49d6f13ac",locals:{"main-container":"main-container_34aGE","profile-input-checkbox":"profile-input-checkbox_TNu77","profile-input-radio":"profile-input-radio_W6Vdg","profile-input-text":"profile-input-text_eHW-v","profile-input-tips":"profile-input-tips_SleK-","display-none":"display-none_4WX6H","view-loading-wrapper":"view-loading-wrapper_AovXW","view-loading":"view-loading_zf0PA","view-loading-rotation":"view-loading-rotation_H93G0","basecontent-wrapper":"basecontent-wrapper_Segwj","section-area-wrapper":"section-area-wrapper_1r7xu","section-area":"section-area_oFtd8","profileline-container":"profileline-container_OiYki","profileline-item-container":"profileline-item-container_RJXQP","profileline-item-container-select":"profileline-item-container-select_B6bqd","profileline-wrapper":"profileline-wrapper_GKt2j","profileline-label-wrapper":"profileline-label-wrapper_pTKE1","profileline-content-wrapper":"profileline-content-wrapper_5zn5q","profileline-content-item-wrapper":"profileline-content-item-wrapper_g-VPV","profileline-tips-wrapper":"profileline-tips-wrapper_GO87L"},toString(){return gBe}}});var Sj=xe((I3a,Nwi)=>{var jBe=[];jBe.push(".main-container_GVA7V{height:665px;margin-bottom:0!important;min-height:480px}.profile-input-checkbox_JAy9e,.profile-input-radio_DegEh{cursor:pointer;vertical-align:middle}.profile-input-text_gkX56{cursor:text;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;vertical-align:middle}.profile-input-tips_MecAg{color:var(--font-color-pop-up);cursor:pointer;vertical-align:middle;white-space:nowrap;word-break:keep-all}.display-none_XNiFE{display:none!important}.view-loading-wrapper_GuFhQ{height:665px;left:0;position:relative;top:0;width:100%}.view-loading_AE-K1{background-color:var(--common-bg-color);height:-webkit-calc(100% - 2px);height:-moz-calc(100% - 2px);height:calc(100% - 2px);left:1px;position:absolute;top:1px;width:-webkit-calc(100% - 2px);width:-moz-calc(100% - 2px);width:calc(100% - 2px);z-index:9999}.view-loading-rotation_7lm88{height:36px;left:45%;position:absolute;top:40%;width:36px}.basecontent-wrapper_Nm7dR,.container_n-qcz{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:100%;width:100%}.basecontent-wrapper_Nm7dR{-webkit-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden;padding-top:10px}.section-area_ARiQe{height:100%;position:relative;width:100%}.section-area-label_-Xu0M{background-color:var(--bg-color-pop-up-content);left:15px;padding:4px 10px;position:absolute;top:-11px;z-index:999}.section-area-content_4fa1-{overflow:auto;padding:15px 10px 10px;position:relative}.componentlist-section_EIPNS,.section-area-content_4fa1-{border:1px solid var(--common-border-color);border-radius:3px;height:100%}.profileline-container_Ked8C{margin:0;padding:0}.profileline-item-container_wo-bi{overflow:hidden}.profileline-item-container-select_T8UcH{background-color:var(--bg-color-selected-drop-down-menuItem)}.profileline-wrapper_n9fOY{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;line-height:24px;margin:4px 0;overflow:hidden;padding:4px 0;width:100%}.profileline-label-wrapper_sx1hI{-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;text-align:right;word-break:break-word}.profileline-content-wrapper_ZjayN{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:1;flex-shrink:1;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;padding-left:1px;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.profileline-content-item-wrapper_LxxKq{min-width:125px;padding-left:16px}.profileline-content-item-wrapper_LxxKq:first-child{padding-left:0}.profileline-tips-wrapper_tTYLG{-webkit-flex-shrink:0;flex-shrink:0;padding-left:8px;width:135px}.profileline-tips-wrapper_tTYLG,.treeline-item_UcyeZ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.treeline-item_UcyeZ{-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;width:100%}.treeline-item_UcyeZ input{position:static}.hightlight_p6NWl{background:var(--common-bg-color-highLight-item)}");jBe=jBe.join("");Nwi.exports={uuid:"a5966909-7258-4755-a4e1-af1f89a6c0f0",locals:{"main-container":"main-container_GVA7V","profile-input-checkbox":"profile-input-checkbox_JAy9e","profile-input-radio":"profile-input-radio_DegEh","profile-input-text":"profile-input-text_gkX56","profile-input-tips":"profile-input-tips_MecAg","display-none":"display-none_XNiFE","view-loading-wrapper":"view-loading-wrapper_GuFhQ","view-loading":"view-loading_AE-K1","view-loading-rotation":"view-loading-rotation_7lm88","basecontent-wrapper":"basecontent-wrapper_Nm7dR",container:"container_n-qcz","section-area":"section-area_ARiQe","section-area-label":"section-area-label_-Xu0M","section-area-content":"section-area-content_4fa1-","componentlist-section":"componentlist-section_EIPNS","profileline-container":"profileline-container_Ked8C","profileline-item-container":"profileline-item-container_wo-bi","profileline-item-container-select":"profileline-item-container-select_T8UcH","profileline-wrapper":"profileline-wrapper_n9fOY","profileline-label-wrapper":"profileline-label-wrapper_sx1hI","profileline-content-wrapper":"profileline-content-wrapper_ZjayN","profileline-content-item-wrapper":"profileline-content-item-wrapper_LxxKq","profileline-tips-wrapper":"profileline-tips-wrapper_tTYLG","treeline-item":"treeline-item_UcyeZ",hightlight:"hightlight_p6NWl"},toString(){return jBe}}});var rI=xe((hTa,tCi)=>{var KBe=[];KBe.push(".main-container_hWch5{margin-bottom:0!important}.profile-input-checkbox_yZLCq,.profile-input-radio_Yl3IO{cursor:pointer;vertical-align:middle}.profile-input-text_f1kCY{cursor:text;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;vertical-align:middle}.profile-input-tips_1M5hN{color:var(--font-color-pop-up);cursor:pointer;vertical-align:middle;white-space:nowrap;word-break:keep-all}.display-none_UksZT{display:none!important}.view-loading-wrapper_aMsei{height:425px;left:0;position:relative;top:0;width:100%}.view-loading_tXRL6{background-color:var(--common-bg-color);height:-webkit-calc(100% - 2px);height:-moz-calc(100% - 2px);height:calc(100% - 2px);left:1px;position:absolute;top:1px;width:-webkit-calc(100% - 2px);width:-moz-calc(100% - 2px);width:calc(100% - 2px);z-index:9999}.view-loading-rotation_X7f9e{height:36px;left:45%;position:absolute;top:40%;width:36px}.main-container_hWch5{border:1px solid var(--common-border-color);border-radius:3px}.basecontent-wrapper_HJWid,.main-container_hWch5{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:100%;width:100%}.basecontent-wrapper_HJWid{-webkit-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden;padding-top:16px}.section-area-wrapper_JzcQ6{-webkit-flex-shrink:0;flex-shrink:0;height:100%;width:100%}.section-area_GgYNq{height:100%;position:relative;width:100%}.profileline-container_DUw-p{margin:0;padding:0}.profileline-item-container_y1Zbm{overflow:hidden}.profileline-item-container-select_qa1Qu{background-color:var(--bg-color-selected-drop-down-menuItem)}.profileline-wrapper_JIMYd{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;overflow:visible;overflow:initial;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start;line-height:24px;margin:4px 0;padding:6px 0;width:100%}.profileline-label-wrapper_f-g-g,.profileline-wrapper_JIMYd{-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.profileline-label-wrapper_f-g-g{overflow:hidden;padding:0 8px 0 16px;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:120px;word-break:break-word}.profileline-content-wrapper_vS7YE{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:1;flex-shrink:1;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;padding:0 10px 0 0}.profileline-content-item-wrapper_cZyAd{min-width:85px;padding-left:16px}.profileline-content-item-wrapper_cZyAd:first-child{padding-left:0}.profileline-tips-wrapper_TusPz{padding-left:8px;width:105px}.clientProjectPath-wrapper_XqlKe,.profileline-tips-wrapper_TusPz{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.clientProjectPath-wrapper_XqlKe{overflow:visible;overflow:initial;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start;line-height:24px;margin:4px 0;padding:6px 0;width:100%}.clientProjectPath-label-wrapper_V76gT{-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden;padding:0 8px 0 16px;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:120px;word-break:break-word}.clientProjectPath-content-wrapper_SjxAj{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:1;flex-shrink:1;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;padding:0 10px 0 0;position:relative}.clientProjectPath-content-wrapper_SjxAj .project-path-select_-rcEI{position:absolute;width:-webkit-calc(82% - 24px);width:-moz-calc(82% - 24px);width:calc(82% - 24px)}.clientProjectPath-content-wrapper_SjxAj .project-path-input_tvrIp{cursor:pointer;height:24px;position:absolute;width:-webkit-calc(78% - 24px);width:-moz-calc(78% - 24px);width:calc(78% - 24px);z-index:9999}.clientProjectPath-content-wrapper_SjxAj .opendirtoryDlgSub_Nce9-{color:#b9b9b9;cursor:pointer;font-size:20px;line-height:12px;position:absolute;right:4px;-webkit-transition:all .2s;-moz-transition:all .2s;transition:all .2s}.clientProjectPath-content-wrapper_SjxAj .opendirtoryDlgSub_Nce9-:hover{color:#696969}");KBe=KBe.join("");tCi.exports={uuid:"92efd8a1-e03a-4604-a60c-f64d3ca93651",locals:{"main-container":"main-container_hWch5","profile-input-checkbox":"profile-input-checkbox_yZLCq","profile-input-radio":"profile-input-radio_Yl3IO","profile-input-text":"profile-input-text_f1kCY","profile-input-tips":"profile-input-tips_1M5hN","display-none":"display-none_UksZT","view-loading-wrapper":"view-loading-wrapper_aMsei","view-loading":"view-loading_tXRL6","view-loading-rotation":"view-loading-rotation_X7f9e","basecontent-wrapper":"basecontent-wrapper_HJWid","section-area-wrapper":"section-area-wrapper_JzcQ6","section-area":"section-area_GgYNq","profileline-container":"profileline-container_DUw-p","profileline-item-container":"profileline-item-container_y1Zbm","profileline-item-container-select":"profileline-item-container-select_qa1Qu","profileline-wrapper":"profileline-wrapper_JIMYd","profileline-label-wrapper":"profileline-label-wrapper_f-g-g","profileline-content-wrapper":"profileline-content-wrapper_vS7YE","profileline-content-item-wrapper":"profileline-content-item-wrapper_cZyAd","profileline-tips-wrapper":"profileline-tips-wrapper_TusPz","clientProjectPath-wrapper":"clientProjectPath-wrapper_XqlKe","clientProjectPath-label-wrapper":"clientProjectPath-label-wrapper_V76gT","clientProjectPath-content-wrapper":"clientProjectPath-content-wrapper_SjxAj","project-path-select":"project-path-select_-rcEI","project-path-input":"project-path-input_tvrIp",opendirtoryDlgSub:"opendirtoryDlgSub_Nce9-"},toString(){return KBe}}});var kre=xe((BDa,GCi)=>{var fze=[];fze.push(".main-container_xcIBv{min-height:480px}.liblist-section_6vN76{margin-right:5px;overflow:auto;width:-webkit-calc(50% - 5px);width:-moz-calc(50% - 5px);width:calc(50% - 5px)}.category-section_Fe0Dh,.liblist-section_6vN76{-webkit-flex-shrink:0;flex-shrink:0}.category-section_Fe0Dh{height:100%;overflow:hidden;position:relative;width:50%}.component-search-section_25APJ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:30px;padding:0 0 5px;width:100%}.filter-section_JMLb8{min-height:216px;width:100%}.table-section_AtwH6{width:100%;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;overflow:hidden;position:relative}.component-preview-section_CNbJ9{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:237px;padding-top:8px;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 237px;-moz-box-flex:0;flex:0 0 237px}@media (max-height:760px){.component-preview-section_CNbJ9{height:150px;-webkit-box-flex:0;-webkit-flex:0 0 150px;-moz-box-flex:0;flex:0 0 150px}}.preview-3d-wrap_R0xfP{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;position:absolute;width:100%;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background:#e0e0e0;cursor:pointer;z-index:1000}.preview-3d-wrap_R0xfP p{cursor:pointer}");fze=fze.join("");GCi.exports={uuid:"ad00d05c-527b-4c8f-9d22-0263581eb6f5",locals:{"main-container":"main-container_xcIBv","liblist-section":"liblist-section_6vN76","category-section":"category-section_Fe0Dh","component-search-section":"component-search-section_25APJ","filter-section":"filter-section_JMLb8","table-section":"table-section_AtwH6","component-preview-section":"component-preview-section_CNbJ9","preview-3d-wrap":"preview-3d-wrap_R0xfP"},toString(){return fze}}});var $Ci=xe((P8a,XCi)=>{var Sze=[];Sze.push(".lib-container_5SLxM{border:1px solid var(--border-color-panel-divider);-webkit-flex-shrink:0;flex-shrink:0;height:100%;overflow:hidden;padding:5px;position:relative;width:100%}.lib-container_5SLxM,.lib-container_5SLxM *{-moz-box-sizing:border-box;box-sizing:border-box}.lock-layer_6wMu8{background-color:hsla(0,0%,100%,.25);bottom:0;display:none;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:9999}.lock-layer-show_5kMUH{display:block}");Sze=Sze.join("");XCi.exports={uuid:"c89f2b3c-f2e1-4321-8052-8ec1221de26e",locals:{"lib-container":"lib-container_5SLxM","lock-layer":"lock-layer_6wMu8","lock-layer-show":"lock-layer-show_5kMUH"},toString(){return Sze}}});var lxi=xe((mAa,sxi)=>{var Ql=[];Ql.push(".dm-container_R1jsz{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;height:100%;justify-content:center;position:relative;width:100%}.dm-container_R1jsz .dm-tips-wrapper_yXbZ-{background-color:hsla(0,0%,100%,.75);color:#666;display:none;font-size:12px;left:50px;line-height:16px;padding:5px;position:absolute;top:5px;width:65%}.dm-container_R1jsz .dm-tips-wrapper-show_0whlo{display:block}.dm-container_R1jsz .dm-thumb-wrapper_lIR65{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;height:100%;justify-content:center;position:relative;width:100%}.dm-container_R1jsz .dm-thumb-wrapper_lIR65 .dm-thumb-content-wrapper_0ystc{background-color:#e0e0e0;border-left:1px solid var(--border-color-panel-divider);height:100%;overflow:hidden;width:100%}.dm-container_R1jsz .dm-opulists-wrapper_KZnFr{background-color:#fff;border:1px solid var(--border-color-panel-divider);display:none;height:-webkit-max-content;height:-moz-max-content;height:max-content;padding:0 2px 0 0;position:absolute;right:5px;top:5px;z-index:999}.dm-container_R1jsz .dm-opulists-wrapper_KZnFr .dm-op-item_NXrJe{border-left:0;-moz-box-sizing:border-box;box-sizing:border-box;float:left;list-style:none;overflow:hidden;text-align:center}.dm-container_R1jsz .dm-opulists-wrapper_KZnFr .dm-op-item_NXrJe .dm-op-hover_Zx5Ju{cursor:pointer;display:block;height:28px;width:28px}.dm-container_R1jsz .dm-opulists-wrapper_KZnFr .dm-op-item_NXrJe .dm-op-hover_Zx5Ju:hover{background-color:#efefef}.dm-container_R1jsz .dm-opulists-wrapper_KZnFr .dm-op-item_NXrJe.dm-op-item-mini_YblqP .dm-op-hover_Zx5Ju{height:18px;width:18px}.dm-container_R1jsz .dm-opulists-wrapper_KZnFr .dm-op-spline_H6iBk{background-color:#dcdcdc;margin:0 3px;width:1px!important}.dm-container_R1jsz .dm-opulists-wrapper_KZnFr .dm-op-preview-top_yL4SX{background-image:");Ql.push("url(");Ql.push(JSON.stringify(w3e()));Ql.push(")");Ql.push(";background-position:0 0;background-position:50%;background-repeat:no-repeat;background-size:16px 16px}.dm-container_R1jsz .dm-opulists-wrapper_KZnFr .dm-op-preview-bottom_d9SLl{background-image:");Ql.push("url(");Ql.push(JSON.stringify(C3e()));Ql.push(")");Ql.push(";background-position:0 0;background-position:50%;background-repeat:no-repeat;background-size:16px 16px}.dm-container_R1jsz .dm-opulists-wrapper_KZnFr .dm-op-preview-right_ymimL{background-image:");Ql.push("url(");Ql.push(JSON.stringify(x3e()));Ql.push(")");Ql.push(";background-position:0 0;background-position:50%;background-repeat:no-repeat;background-size:16px 16px}.dm-container_R1jsz .dm-opulists-wrapper_KZnFr .dm-op-preview-left_My4F0{background-image:");Ql.push("url(");Ql.push(JSON.stringify(T3e()));Ql.push(")");Ql.push(";background-position:0 0;background-position:50%;background-repeat:no-repeat;background-size:16px 16px}.dm-container_R1jsz .dm-opulists-wrapper_KZnFr .dm-op-preview-front_9LTeS{background-image:");Ql.push("url(");Ql.push(JSON.stringify(S3e()));Ql.push(")");Ql.push(";background-position:0 0;background-position:50%;background-repeat:no-repeat;background-size:16px 16px}.dm-container_R1jsz .dm-opulists-wrapper_KZnFr .dm-op-preview-back_hCou2{background-image:");Ql.push("url(");Ql.push(JSON.stringify(M3e()));Ql.push(")");Ql.push(";background-position:0 0;background-position:50%;background-repeat:no-repeat;background-size:16px 16px}.dm-container_R1jsz .dm-opulists-wrapper_KZnFr .dm-op-preview-adaptall_f-pGh{background-image:");Ql.push("url(");Ql.push(JSON.stringify(Xce()));Ql.push(")");Ql.push(";background-position:0 0;background-position:50%;background-repeat:no-repeat;background-size:16px 16px}.dm-container_R1jsz .dm-opulists-wrapper_KZnFr .dm-op-preview-refresh_-wMe-{background-image:");Ql.push("url(");Ql.push(JSON.stringify(FR()));Ql.push(")");Ql.push(";background-position:0 0;background-position:50%;background-repeat:no-repeat;background-size:16px 16px}.dm-container_R1jsz .dm-opulists-wrapper-show_1wSjP{display:block}.dm-container_R1jsz .dm-opresize-wrapper_17Id7{cursor:pointer;display:none;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);left:5px;padding:3px;position:absolute;top:5px}.dm-container_R1jsz .dm-opresize-wrapper_17Id7 .dm-op-resize-itemnormal_J-OGZ{background-image:");Ql.push("url(");Ql.push(JSON.stringify(XQ()));Ql.push(")");Ql.push(";background-position:0 0;background-size:100% 100%;height:25px;width:25px}.dm-container_R1jsz .dm-opresize-wrapper_17Id7 .dm-op-resize-itemfull_CxVDE{background-image:");Ql.push("url(");Ql.push(JSON.stringify(qQ()));Ql.push(")");Ql.push(";background-position:0 0;background-size:100% 100%;height:25px;width:25px}.dm-container_R1jsz .dm-opresize-wrapper-show_gYUsb{display:block}.areawindow-loading_FqNbZ{background-color:var(--common-bg-color);display:none;height:100%;left:0;position:absolute;top:0;width:100%;z-index:9000}.areawindow-loading-show_WsCXl{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.areawindow-loading-content_hy20s{height:36px;width:36px}.gray-mask-wrapper_PtnEl{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;z-index:1001;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.gray-mask-wrapper_PtnEl,.gray-mask-wrapper2_JvlDt{background-color:#e0e0e0;height:100%;position:absolute;width:100%}.gray-mask-wrapper2_JvlDt{z-index:1011}.mask-hide_qgGy2{display:none}.mask-show_2tj59{color:#333;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}");Ql=Ql.join("");sxi.exports={uuid:"ab5f5844-6171-4a20-bcc6-7ff127bb81ee",locals:{"dm-container":"dm-container_R1jsz","dm-tips-wrapper":"dm-tips-wrapper_yXbZ-","dm-tips-wrapper-show":"dm-tips-wrapper-show_0whlo","dm-thumb-wrapper":"dm-thumb-wrapper_lIR65","dm-thumb-content-wrapper":"dm-thumb-content-wrapper_0ystc","dm-opulists-wrapper":"dm-opulists-wrapper_KZnFr","dm-op-item":"dm-op-item_NXrJe","dm-op-hover":"dm-op-hover_Zx5Ju","dm-op-item-mini":"dm-op-item-mini_YblqP","dm-op-spline":"dm-op-spline_H6iBk","dm-op-preview-top":"dm-op-preview-top_yL4SX","dm-op-preview-bottom":"dm-op-preview-bottom_d9SLl","dm-op-preview-right":"dm-op-preview-right_ymimL","dm-op-preview-left":"dm-op-preview-left_My4F0","dm-op-preview-front":"dm-op-preview-front_9LTeS","dm-op-preview-back":"dm-op-preview-back_hCou2","dm-op-preview-adaptall":"dm-op-preview-adaptall_f-pGh","dm-op-preview-refresh":"dm-op-preview-refresh_-wMe-","dm-opulists-wrapper-show":"dm-opulists-wrapper-show_1wSjP","dm-opresize-wrapper":"dm-opresize-wrapper_17Id7","dm-op-resize-itemnormal":"dm-op-resize-itemnormal_J-OGZ","dm-op-resize-itemfull":"dm-op-resize-itemfull_CxVDE","dm-opresize-wrapper-show":"dm-opresize-wrapper-show_gYUsb","areawindow-loading":"areawindow-loading_FqNbZ","areawindow-loading-show":"areawindow-loading-show_WsCXl","areawindow-loading-content":"areawindow-loading-content_hy20s","gray-mask-wrapper":"gray-mask-wrapper_PtnEl","gray-mask-wrapper2":"gray-mask-wrapper2_JvlDt","mask-hide":"mask-hide_qgGy2","mask-show":"mask-show_2tj59"},toString(){return Ql}}});var mxi=xe((PAa,pxi)=>{var FT=[];FT.push(".fv-container_Pn2U7{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:100%;overflow:hidden;position:relative;width:100%}.fv-container_Pn2U7,.fv-container_Pn2U7 .fv-useform-wrapper_z1ifc{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.fv-container_Pn2U7 .fv-useform-wrapper_z1ifc{-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:30px}.fv-container_Pn2U7 .fv-useform-wrapper_z1ifc .check-footprintsize-btn_Q1-nv{padding:4px 8px;width:60%;-webkit-box-flex:0;-webkit-flex:0 0 60%;-moz-box-flex:0;display:none;flex:0 0 60%;margin-bottom:5px}.fv-container_Pn2U7 .fv-useform-wrapper_z1ifc .check-footprintsize-btn-show_k3x-w{display:inline-block}.fv-container_Pn2U7 .fv-useform-wrapper_z1ifc .unit-toggle-selector_IdDmx{display:none;margin-bottom:5px}.fv-container_Pn2U7 .fv-useform-wrapper_z1ifc .unit-toggle-selector-show_EXEl-{display:inline-block}.fv-container_Pn2U7 .fv-thumb-wrapper_IJWvu{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;height:-webkit-calc(100% - 30px);height:-moz-calc(100% - 30px);height:calc(100% - 30px);justify-content:center;position:relative;width:100%}.fv-container_Pn2U7 .fv-thumb-wrapper_IJWvu .fv-thumb-content-wrapper_gN6BL{background-color:#e0e0e0;border-left:1px solid var(--border-color-panel-divider);height:100%;overflow:hidden;width:100%}.fv-container_Pn2U7 .fv-opresize-wrapper_-9NQ8{background-color:hsla(0,0%,50%,.75);cursor:pointer;display:none;left:5px;padding:3px;position:absolute;top:32px}.fv-container_Pn2U7 .fv-opresize-wrapper_-9NQ8 .fv-op-resize-itemnormal_jf7l-{background-image:");FT.push("url(");FT.push(JSON.stringify(qQ()));FT.push(")");FT.push(";background-position:0 0;background-size:100% 100%;height:25px;width:25px}.fv-container_Pn2U7 .fv-opresize-wrapper_-9NQ8 .fv-op-resize-itemfull_ukKhs{background-image:");FT.push("url(");FT.push(JSON.stringify(XQ()));FT.push(")");FT.push(";background-position:0 0;background-size:100% 100%;height:25px;width:25px}.fv-container_Pn2U7 .fv-opresize-wrapper-show_lqHik{display:block}.fv-container_Pn2U7 .fv-opedit-wrapper_JH2Vx{background-color:hsla(0,0%,50%,.75);cursor:pointer;display:none;left:40px;padding:3px;position:absolute;top:32px}.fv-container_Pn2U7 .fv-opedit-wrapper_JH2Vx .fv-op-edit-itemnormal_-MYHI{background-image:");FT.push("url(");FT.push(JSON.stringify(JQ()));FT.push(")");FT.push(";background-position:50%;background-size:100% 100%;height:25px;width:25px}.fv-container_Pn2U7 .fv-opedit-wrapper-show_-yr9d{display:block}.areawindow-loading_7hCVh{background-color:var(--common-bg-color);display:none;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1002}.areawindow-loading-show_60rQT{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.areawindow-loading-content_wPeNi{height:36px;width:36px}.gray-mask-wrapper_i6TMb{width:101%;z-index:1001}.gray-mask-wrapper_i6TMb,.gray-mask-wrapper2_1V5Ra{background-color:#e0e0e0;height:100%;position:absolute}.gray-mask-wrapper2_1V5Ra{width:100%;z-index:1011}.mask-hide_td5Nd{display:none}.mask-show_tUSEM{color:var(--common-font-color);display:block}");FT=FT.join("");pxi.exports={uuid:"f9ccffdf-ab31-4b28-9a75-c9bd53634726",locals:{"fv-container":"fv-container_Pn2U7","fv-useform-wrapper":"fv-useform-wrapper_z1ifc","check-footprintsize-btn":"check-footprintsize-btn_Q1-nv","check-footprintsize-btn-show":"check-footprintsize-btn-show_k3x-w","unit-toggle-selector":"unit-toggle-selector_IdDmx","unit-toggle-selector-show":"unit-toggle-selector-show_EXEl-","fv-thumb-wrapper":"fv-thumb-wrapper_IJWvu","fv-thumb-content-wrapper":"fv-thumb-content-wrapper_gN6BL","fv-opresize-wrapper":"fv-opresize-wrapper_-9NQ8","fv-op-resize-itemnormal":"fv-op-resize-itemnormal_jf7l-","fv-op-resize-itemfull":"fv-op-resize-itemfull_ukKhs","fv-opresize-wrapper-show":"fv-opresize-wrapper-show_lqHik","fv-opedit-wrapper":"fv-opedit-wrapper_JH2Vx","fv-op-edit-itemnormal":"fv-op-edit-itemnormal_-MYHI","fv-opedit-wrapper-show":"fv-opedit-wrapper-show_-yr9d","areawindow-loading":"areawindow-loading_7hCVh","areawindow-loading-show":"areawindow-loading-show_60rQT","areawindow-loading-content":"areawindow-loading-content_wPeNi","gray-mask-wrapper":"gray-mask-wrapper_i6TMb","gray-mask-wrapper2":"gray-mask-wrapper2_1V5Ra","mask-hide":"mask-hide_td5Nd","mask-show":"mask-show_tUSEM"},toString(){return FT}}});var Mxi=xe((cNa,Sxi)=>{var Eze=[];Eze.push(".image-warp_vafvs,.view-content-container_Azt0-{height:100%;position:relative;width:100%}.view-content-container_Azt0-{background-color:#e0e0e0}.view-content-container_Azt0- img{display:block;height:100%;width:100%}.gray-mask-wrapper_0jtZp{background-color:#e0e0e0;height:100%;position:absolute;width:100%;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;cursor:pointer;z-index:9001}.mask-hide_Jrs88{display:none}");Eze=Eze.join("");Sxi.exports={uuid:"be78ce87-fee7-45ce-b3d0-d6e61fddf1cb",locals:{"image-warp":"image-warp_vafvs","view-content-container":"view-content-container_Azt0-","gray-mask-wrapper":"gray-mask-wrapper_0jtZp","mask-hide":"mask-hide_Jrs88"},toString(){return Eze}}});var Lxi=xe((mNa,Ixi)=>{var Nze=[];Nze.push(".container_P8zZ8,.viewcontent-container_eHjl4{height:100%;position:relative;width:100%}.viewcontent-container_eHjl4{background-color:var(--common-bg-color)}.viewcontent-wrapper_ptcp-{height:100%;left:0;overflow:hidden;position:relative;top:0;width:100%}.areawindow-loading_WX3AG{background-color:var(--common-bg-color);display:none;height:100%;left:0;position:absolute;top:0;width:100%;z-index:999}.areawindow-loading-show_B5ryM{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.areawindow-loading-content_zRaID{height:36px;width:36px}.select-wrapper-top_764UT{padding-bottom:5px}.select-wrapper-bottom_n4VtA,.select-wrapper-top_764UT{width:100%;z-index:1000}.gray-mask-wrapper_0hRAp{background-color:#e0e0e0;height:100%;position:absolute;width:100%;z-index:1001}.mask-hide_VHAt8{display:none}.mask-show_dejn5{color:var(--common-font-color);display:block}");Nze=Nze.join("");Ixi.exports={uuid:"adfa8f12-43c6-4e58-b6a1-599ede722aeb",locals:{container:"container_P8zZ8","viewcontent-container":"viewcontent-container_eHjl4","viewcontent-wrapper":"viewcontent-wrapper_ptcp-","areawindow-loading":"areawindow-loading_WX3AG","areawindow-loading-show":"areawindow-loading-show_B5ryM","areawindow-loading-content":"areawindow-loading-content_zRaID","select-wrapper-top":"select-wrapper-top_764UT","select-wrapper-bottom":"select-wrapper-bottom_n4VtA","gray-mask-wrapper":"gray-mask-wrapper_0hRAp","mask-hide":"mask-hide_VHAt8","mask-show":"mask-show_dejn5"},toString(){return Nze}}});var Wxi=xe((C7a,Yxi)=>{var _ze=[];_ze.push(".search-history-item_0SfUu{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;padding:0 7px}.search-history-item_0SfUu>:first-child{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;cursor:pointer;flex-grow:1;height:100%;max-width:-webkit-calc(100% - 16px);max-width:-moz-calc(100% - 16px);max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-history-item_0SfUu>:last-child{cursor:pointer;display:none;padding:0}.search-history-item_0SfUu:hover{background-color:var(--bg-color-selected-drop-down-menuItem);color:var(--font-color-selected-down-menuItem)}.search-history-item_0SfUu:hover>:last-child{display:block}");_ze=_ze.join("");Yxi.exports={uuid:"91a8d7f8-7a3a-4769-ac1b-1c8a2209b4c4",locals:{"search-history-item":"search-history-item_0SfUu"},toString(){return _ze}}});var G5t=xe((oOa,Yyr)=>{Yyr.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwLjgzOTcgOC40NTk5NlYxMi4yQzIwLjgzOTcgMTQuMTQgMTkuMjU5NyAxNS43MiAxNy4zMTk3IDE1LjcySDEyLjczOTdDMTAuNzk5NyAxNS43MiA5LjIxOTczIDE3LjMgOS4yMTk3MyAxOS4yNFYyMi4wMyIgc3Ryb2tlPSIjMjAyRDQwIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIvPgo8cGF0aCBkPSJNMTIuNDYgMjUuMjZDMTIuNDYgMjYuODIgMTEuMzUgMjguMTMgOS44OCAyOC40M0M5LjY3IDI4LjQ3IDkuNDUgMjguNSA5LjIzIDI4LjVDNy40NCAyOC41IDYgMjcuMDUgNiAyNS4yN0M2IDIzLjQ5IDcuNDUgMjIuMDQgOS4yMyAyMi4wNEMxMS4wMSAyMi4wNCAxMi40NiAyMy40OSAxMi40NiAyNS4yN1YyNS4yNloiIHN0cm9rZT0iIzIwMkQ0MCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiLz4KPHBhdGggZD0iTTI0LjA3MDQgNS4yMkMyNC4wNzA0IDYuNzggMjIuOTYwNCA4LjA5IDIxLjQ5MDQgOC4zOUMyMS4yODA0IDguNDMgMjEuMDYwNCA4LjQ2IDIwLjg0MDQgOC40NkMxOS4wNTA0IDguNDYgMTcuNjEwNCA3LjAxIDE3LjYxMDQgNS4yM0MxNy42MTA0IDMuNDUgMTkuMDYwNCAyIDIwLjg0MDQgMkMyMi42MjA0IDIgMjQuMDcwNCAzLjQ1IDI0LjA3MDQgNS4yM1Y1LjIyWiIgc3Ryb2tlPSIjMjAyRDQwIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIvPgo8cGF0aCBkPSJNOS4yMzA0NyA4LjQ1OTk2VjIyLjczIiBzdHJva2U9IiMyMDJENDAiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+CjxwYXRoIGQ9Ik0xMi40NiA1LjIyQzEyLjQ2IDYuNzggMTEuMzUgOC4wOSA5Ljg4IDguMzlDOS42NyA4LjQzIDkuNDUgOC40NiA5LjIzIDguNDZDNy40NCA4LjQ2IDYgNy4wMSA2IDUuMjNDNiAzLjQ1IDcuNDUgMiA5LjIzIDJDMTEuMDEgMiAxMi40NiAzLjQ1IDEyLjQ2IDUuMjNWNS4yMloiIHN0cm9rZT0iIzIwMkQ0MCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiLz4KPHBhdGggZD0iTTIwLjUwNjggMjlMMjAuNTA2OCAxOCIgc3Ryb2tlPSIjMjAyRDQwIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIvPgo8cGF0aCBkPSJNMTUgMjMuNUwyNiAyMy41IiBzdHJva2U9IiMyMDJENDAiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+Cjwvc3ZnPgo="});var Y5t=xe((rOa,Wyr)=>{Wyr.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzIwNTBfMzEyIiBzdHlsZT0ibWFzay10eXBlOmx1bWluYW5jZSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIj4KPHBhdGggZD0iTTMxLjA5IDBIMFYzMS4wOUgzMS4wOVYwWiIgZmlsbD0id2hpdGUiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzIwNTBfMzEyKSI+CjxwYXRoIGQ9Ik0xMS42Nzk3IDguNTI5NzlIMjcuNzk5NyIgc3Ryb2tlPSIjMjAyRDQwIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIvPgo8cGF0aCBkPSJNOC40MTAxNiAxMS43NTk4VjI4LjYxOTgiIHN0cm9rZT0iIzIwMkQ0MCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiLz4KPHBhdGggZD0iTTExLjgyIDguNDFDMTEuODIgMTAuMDYgMTAuNjUgMTEuNDMgOS4xIDExLjc1QzguODggMTEuOCA4LjY1IDExLjgyIDguNDEgMTEuODJDNi41MyAxMS44MiA1IDEwLjI5IDUgOC40MUM1IDYuNTMgNi41MyA1IDguNDEgNUMxMC4yOSA1IDExLjgyIDYuNTMgMTEuODIgOC40MVoiIHN0cm9rZT0iIzIwMkQ0MCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiLz4KPC9nPgo8cGF0aCBkPSJNMjIuNTA2OCAyOUwyMi41MDY4IDE4IiBzdHJva2U9IiMyMDJENDAiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+CjxwYXRoIGQ9Ik0xNyAyMy41TDI4IDIzLjUiIHN0cm9rZT0iIzIwMkQ0MCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiLz4KPC9zdmc+Cg=="});var A5e=xe((UOa,P6i)=>{var Gze=[];Gze.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_Vs24s{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_FLcKx{background-color:#efefef}.comm-btn-confirm_usYBD{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_usYBD:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_KSctf{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_KSctf:hover{border:1px solid #40a9ff!important}.opacity-none_1OBBF,.pointer-events-none_7pD3L{cursor:default;pointer-events:none!important}.opacity-none_1OBBF{opacity:0}.attr-prohibit_6f-MN,.display-block_nX-iX{display:block}.display-none_vjA40{display:none!important}.display-flex_t8qv-{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_iZpnL{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_-xJuW{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_ulCIx{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_XvOVZ{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_N6Rkb{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_kx9LJ{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_e0h2V{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_NoTsI{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_ZL7yl{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_t9ZOe{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_wJ-hq{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_jYK97{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_DIJPP{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_egCJ8{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_mVxCk{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_oJuYG{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_Wjgbs{color:#000!important}.color-white-important_p3Awz{color:#fff!important}.bgcolor-red-important_CjIEe{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-content-wrapper_thQQp{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-content-wrapper_thQQp>div{overflow:auto;width:100%}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-content-wrapper_thQQp .comm-btn-operate-link_ILKjL{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-content-wrapper_thQQp .comm-btn-height_xH3RP{height:22px}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-content-wrapper_thQQp .comm-btn-text_IXIKv{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-content-wrapper_thQQp .margin-btn_andTq{margin-bottom:16px}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-content-wrapper_thQQp .margin-top_DzHsr{margin-top:16px}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-content-wrapper_thQQp input.dialog-input_XK-NV{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-content-wrapper_thQQp input.dialog-input_XK-NV:not([disabled]){color:var(--font-color-input)}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-content-wrapper_thQQp select.dialog-input_XK-NV{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-content-wrapper_thQQp select.dialog-input_XK-NV:not([disabled]){color:var(--font-color-input)}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-content-wrapper_thQQp textarea.dialog-input_XK-NV{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-content-wrapper_thQQp .device-property-key_PgMW7{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-content-wrapper_thQQp .attrs-select-wrap_sFi0U{padding-left:8px}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-footer-wrapper_K2tyc{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-footer-wrapper_K2tyc .comm-btn_ncKcu{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-footer-wrapper_K2tyc .comm-btn_ncKcu:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-footer-wrapper_K2tyc .comm-btn_ncKcu.comm-btn-default_Y0Epe{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-footer-wrapper_K2tyc .comm-btn_ncKcu.comm-btn-default_Y0Epe:hover{border-color:#1890ff}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-footer-wrapper_K2tyc .comm-btn_ncKcu .l-btn-left_ghCdi{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-footer-wrapper_K2tyc .comm-btn-left_uBYdi{left:28px;position:absolute}.pop-content-container_lTJVH:not(.oneLineOneInputDlg_4Qcx7) .pop-footer-wrapper_K2tyc .grid-export_4wvyf .comm-btn_ncKcu:last-child{margin-left:8px}.pop-content-container_lTJVH *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_lTJVH label{position:relative}.pop-content-wrapper_thQQp a.route-link_o1plc,.pop-content-wrapper_thQQp a.route-link_o1plc:active,.pop-content-wrapper_thQQp a.route-link_o1plc:visited{color:#00e}div[user-resizable] .window-body_Vq9Ba>.panel_IS9Ps,div[user-resizable] .window-header_fvidd{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_Vq9Ba>.panel_IS9Ps{height:100%!important}div[user-resizable] .window-body_Vq9Ba .dialog-content_Jwt64{height:100%!important;width:100%!important}.pop-content-container_lTJVH .content-wrapper_ld8J5{height:100%;width:100%;-webkit-box-flex:1;-webkit-flex:1 1 0%;-moz-box-flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;flex:1 1 0%}.pop-content-container_lTJVH .selector-container_9glkA{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;border:1px solid var(--common-border-color);flex-direction:column;width:103px}.pop-content-container_lTJVH .selector-container_9glkA,.pop-content-container_lTJVH .selector-container_9glkA .selector-box_nOroZ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.pop-content-container_lTJVH .selector-container_9glkA .selector-box_nOroZ{cursor:pointer;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;padding:8px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100px}.pop-content-container_lTJVH .selector-container_9glkA .selected_y6h8X{background-color:var(--bg-color-selected-tab);color:#1890ff}.pop-content-container_lTJVH .main-content_AslAo{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;border:1px solid var(--common-border-color);border-left:0;flex:1;padding:0 16px}.pop-content-container_lTJVH .main-content_AslAo .runMode-container_-7D1D{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:330px;position:relative}.pop-content-container_lTJVH .main-content_AslAo .runMode-container_-7D1D .tip-container_s-4Wy{bottom:-88px;left:0;position:absolute}.pop-content-container_lTJVH .main-content_AslAo .tp-content_qT3fl .password_mW0oJ{-moz-appearance:textfield;border:1px solid var(--common-border-color-1);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;font-family:Microsoft YaHei;font-size:12px;height:24px;padding:0 8px;-webkit-user-select:text;-moz-user-select:text;user-select:text;width:60%;-webkit-text-security:disc}.pop-content-container_lTJVH .main-content_AslAo .tp-content_qT3fl .password_mW0oJ:focus{border-color:var(--border-color-focus-input);outline:0}");Gze=Gze.join("");P6i.exports={uuid:"6010a1a3-9f3b-4485-be53-0ad2e707f82c",locals:{"comm-icon-add":"comm-icon-add_Vs24s","comm-background-color-efefef":"comm-background-color-efefef_FLcKx","comm-btn-confirm":"comm-btn-confirm_usYBD","comm-btn-cancel":"comm-btn-cancel_KSctf","opacity-none":"opacity-none_1OBBF","pointer-events-none":"pointer-events-none_7pD3L","attr-prohibit":"attr-prohibit_6f-MN","display-block":"display-block_nX-iX","display-none":"display-none_vjA40","display-flex":"display-flex_t8qv-","display-inline-flex":"display-inline-flex_iZpnL","flex-lateral-axis-center":"flex-lateral-axis-center_-xJuW","flex-lateral-axis-start":"flex-lateral-axis-start_ulCIx","flex-lateral-axis-end":"flex-lateral-axis-end_XvOVZ","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_N6Rkb","flex-main-axis-center":"flex-main-axis-center_kx9LJ","flex-main-axis-start":"flex-main-axis-start_e0h2V","flex-main-axis-end":"flex-main-axis-end_NoTsI","flex-main-axis-around":"flex-main-axis-around_ZL7yl","flex-main-axis-between":"flex-main-axis-between_t9ZOe","flex-nowrap":"flex-nowrap_wJ-hq","flex-wrap":"flex-wrap_jYK97","flex-direct-row":"flex-direct-row_DIJPP","flex-direct-rerow":"flex-direct-rerow_egCJ8","flex-direct-column":"flex-direct-column_mVxCk","flex-direct-recolumn":"flex-direct-recolumn_oJuYG","color-black-important":"color-black-important_Wjgbs","color-white-important":"color-white-important_p3Awz","bgcolor-red-important":"bgcolor-red-important_CjIEe","pop-content-container":"pop-content-container_lTJVH",oneLineOneInputDlg:"oneLineOneInputDlg_4Qcx7","pop-content-wrapper":"pop-content-wrapper_thQQp","comm-btn-operate-link":"comm-btn-operate-link_ILKjL","comm-btn-height":"comm-btn-height_xH3RP","comm-btn-text":"comm-btn-text_IXIKv","margin-btn":"margin-btn_andTq","margin-top":"margin-top_DzHsr","dialog-input":"dialog-input_XK-NV","device-property-key":"device-property-key_PgMW7","attrs-select-wrap":"attrs-select-wrap_sFi0U","pop-footer-wrapper":"pop-footer-wrapper_K2tyc","comm-btn":"comm-btn_ncKcu","comm-btn-default":"comm-btn-default_Y0Epe","l-btn-left":"l-btn-left_ghCdi","comm-btn-left":"comm-btn-left_uBYdi","grid-export":"grid-export_4wvyf","route-link":"route-link_o1plc","window-body":"window-body_Vq9Ba",panel:"panel_IS9Ps","window-header":"window-header_fvidd","dialog-content":"dialog-content_Jwt64","content-wrapper":"content-wrapper_ld8J5","selector-container":"selector-container_9glkA","selector-box":"selector-box_nOroZ",selected:"selected_y6h8X","main-content":"main-content_AslAo","runMode-container":"runMode-container_-7D1D","tip-container":"tip-container_s-4Wy","tp-content":"tp-content_qT3fl",password:"password_mW0oJ"},toString(){return Gze}}});var W5t=xe((VOa,O6i)=>{var Yze=[];Yze.push(".fieldset_a4kGx{-moz-box-sizing:border-box;box-sizing:border-box;height:auto;overflow:hidden;padding:7px 0 10px;width:100%}.fieldset_a4kGx.no-title_1Ili-{padding:0 0 10px}.fieldset_a4kGx.no-title_1Ili- .fieldset-content_mjQaH{padding-bottom:0;padding-top:0}.fieldset_a4kGx:last-child{padding-bottom:0}.fieldset_a4kGx .fieldset-title_XnRGx{background-color:var(--bg-color-pop-up-content);left:9px;line-height:20px;padding:0 8px;position:absolute;top:-10px}.fieldset_a4kGx .fieldset-content_mjQaH{border:1px solid var(--common-border-color);border-radius:0 0 2px 2px;padding:10px 16px;position:relative}.form-item_Cjk2e{-moz-box-sizing:border-box;box-sizing:border-box;height:auto;margin:16px 0}.form-item_Cjk2e:last-child{padding-bottom:0}.form-item_Cjk2e .form-item-wrap_IzQcI{-webkit-align-content:center;align-content:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.form-item_Cjk2e .form-title-wrap_UBY6i{-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;flex-grow:0;-webkit-flex-shrink:0;flex-shrink:0;max-width:65%;overflow:hidden;padding-right:5px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.form-item_Cjk2e .form-title-wrap_UBY6i .form-title_-bbiY{max-width:100%}.form-item_Cjk2e .form-content-wrap_stHF-{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;flex-grow:1;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;overflow:hidden}");Yze=Yze.join("");O6i.exports={uuid:"a213b96f-976a-4c18-99db-000e69e1ac78",locals:{fieldset:"fieldset_a4kGx","no-title":"no-title_1Ili-","fieldset-content":"fieldset-content_mjQaH","fieldset-title":"fieldset-title_XnRGx","form-item":"form-item_Cjk2e","form-item-wrap":"form-item-wrap_IzQcI","form-title-wrap":"form-title-wrap_UBY6i","form-title":"form-title_-bbiY","form-content-wrap":"form-content-wrap_stHF-"},toString(){return Yze}}});var Bj=xe((ZOa,R6i)=>{var Wze=[];Wze.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_VQfPy{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_i4TDZ{background-color:#efefef}.comm-btn-confirm_Q4QWb{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_Q4QWb:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_cGDbX{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_cGDbX:hover{border:1px solid #40a9ff!important}.opacity-none_Wtg-j,.pointer-events-none_BDld-{cursor:default;pointer-events:none!important}.opacity-none_Wtg-j{opacity:0}.attr-prohibit_2adIQ,.display-block_NV-x4{display:block}.display-none_kVaBX{display:none!important}.display-flex_a8iV-{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_aHDP5{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_P4EFO{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_TyoHT{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_ps-uU{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_8Y2bm{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_HnoGb{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_7AMCv{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_U1wyN{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_jYAnE{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_LS8HH{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_UnhJr{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_JQgXW{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_xdsWD{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_yc6tb{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_jaA6-{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_B4Saz{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_KDkrO{color:#000!important}.color-white-important_Hy0Cu{color:#fff!important}.bgcolor-red-important_UVlML{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-content-wrapper_Ee5ql{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-content-wrapper_Ee5ql>div{overflow:auto;width:100%}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-content-wrapper_Ee5ql .comm-btn-operate-link_sWgvb{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-content-wrapper_Ee5ql .comm-btn-height_i36-5{height:22px}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-content-wrapper_Ee5ql .comm-btn-text_1Sh8R{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-content-wrapper_Ee5ql .margin-btn_aCsoR{margin-bottom:16px}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-content-wrapper_Ee5ql .margin-top_GqgYh{margin-top:16px}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-content-wrapper_Ee5ql input.dialog-input_z4JUi{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-content-wrapper_Ee5ql input.dialog-input_z4JUi:not([disabled]){color:var(--font-color-input)}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-content-wrapper_Ee5ql select.dialog-input_z4JUi{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-content-wrapper_Ee5ql select.dialog-input_z4JUi:not([disabled]){color:var(--font-color-input)}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-content-wrapper_Ee5ql textarea.dialog-input_z4JUi{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-content-wrapper_Ee5ql .device-property-key_0imUn{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-content-wrapper_Ee5ql .attrs-select-wrap_hC7wi{padding-left:8px}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-footer-wrapper_jsXT9{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-footer-wrapper_jsXT9 .comm-btn_ZTg7v{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-footer-wrapper_jsXT9 .comm-btn_ZTg7v:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-footer-wrapper_jsXT9 .comm-btn_ZTg7v.comm-btn-default_Oy8Aq{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-footer-wrapper_jsXT9 .comm-btn_ZTg7v.comm-btn-default_Oy8Aq:hover{border-color:#1890ff}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-footer-wrapper_jsXT9 .comm-btn_ZTg7v .l-btn-left_2fJi-{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-footer-wrapper_jsXT9 .comm-btn-left_Dwot6{left:28px;position:absolute}.pop-content-container_fieot:not(.oneLineOneInputDlg_0LGDy) .pop-footer-wrapper_jsXT9 .grid-export_-x1Cp .comm-btn_ZTg7v:last-child{margin-left:8px}.pop-content-container_fieot *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_fieot label{position:relative}.pop-content-wrapper_Ee5ql a.route-link_Mbxrz,.pop-content-wrapper_Ee5ql a.route-link_Mbxrz:active,.pop-content-wrapper_Ee5ql a.route-link_Mbxrz:visited{color:#00e}div[user-resizable] .window-body_ruq59>.panel_t8BKJ,div[user-resizable] .window-header_xrreI{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_ruq59>.panel_t8BKJ{height:100%!important}div[user-resizable] .window-body_ruq59 .dialog-content_29ZTv{height:100%!important;width:100%!important}.client-path-list_tELX3{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.client-path-list_tELX3 .client-path-ul_Azme5{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;height:133px;line-height:30px;overflow-y:auto}.client-path-list_tELX3 .client-path_26gK5{cursor:default;padding-left:5px;position:relative}.client-path-list_tELX3 .client-path_26gK5.selected_8zJzt{background-color:var(--bg-color-selected-tab);color:#1890ff}.client-path-list_tELX3 .client-path_26gK5 .client-path-input_b-gzB{background:transparent;border:0;border-radius:0;color:inherit;cursor:pointer;width:92%}.client-path-list_tELX3 .client-path_26gK5 .input-three-dot_-CVeZ{cursor:pointer;font-weight:bolder;height:100%;margin-right:8px;position:absolute;right:0;top:-1px}");Wze=Wze.join("");R6i.exports={uuid:"a3c49299-a5de-42e4-ae5a-323936cf51a0",locals:{"comm-icon-add":"comm-icon-add_VQfPy","comm-background-color-efefef":"comm-background-color-efefef_i4TDZ","comm-btn-confirm":"comm-btn-confirm_Q4QWb","comm-btn-cancel":"comm-btn-cancel_cGDbX","opacity-none":"opacity-none_Wtg-j","pointer-events-none":"pointer-events-none_BDld-","attr-prohibit":"attr-prohibit_2adIQ","display-block":"display-block_NV-x4","display-none":"display-none_kVaBX","display-flex":"display-flex_a8iV-","display-inline-flex":"display-inline-flex_aHDP5","flex-lateral-axis-center":"flex-lateral-axis-center_P4EFO","flex-lateral-axis-start":"flex-lateral-axis-start_TyoHT","flex-lateral-axis-end":"flex-lateral-axis-end_ps-uU","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_8Y2bm","flex-main-axis-center":"flex-main-axis-center_HnoGb","flex-main-axis-start":"flex-main-axis-start_7AMCv","flex-main-axis-end":"flex-main-axis-end_U1wyN","flex-main-axis-around":"flex-main-axis-around_jYAnE","flex-main-axis-between":"flex-main-axis-between_LS8HH","flex-nowrap":"flex-nowrap_UnhJr","flex-wrap":"flex-wrap_JQgXW","flex-direct-row":"flex-direct-row_xdsWD","flex-direct-rerow":"flex-direct-rerow_yc6tb","flex-direct-column":"flex-direct-column_jaA6-","flex-direct-recolumn":"flex-direct-recolumn_B4Saz","color-black-important":"color-black-important_KDkrO","color-white-important":"color-white-important_Hy0Cu","bgcolor-red-important":"bgcolor-red-important_UVlML","pop-content-container":"pop-content-container_fieot",oneLineOneInputDlg:"oneLineOneInputDlg_0LGDy","pop-content-wrapper":"pop-content-wrapper_Ee5ql","comm-btn-operate-link":"comm-btn-operate-link_sWgvb","comm-btn-height":"comm-btn-height_i36-5","comm-btn-text":"comm-btn-text_1Sh8R","margin-btn":"margin-btn_aCsoR","margin-top":"margin-top_GqgYh","dialog-input":"dialog-input_z4JUi","device-property-key":"device-property-key_0imUn","attrs-select-wrap":"attrs-select-wrap_hC7wi","pop-footer-wrapper":"pop-footer-wrapper_jsXT9","comm-btn":"comm-btn_ZTg7v","comm-btn-default":"comm-btn-default_Oy8Aq","l-btn-left":"l-btn-left_2fJi-","comm-btn-left":"comm-btn-left_Dwot6","grid-export":"grid-export_-x1Cp","route-link":"route-link_Mbxrz","window-body":"window-body_ruq59",panel:"panel_t8BKJ","window-header":"window-header_xrreI","dialog-content":"dialog-content_29ZTv","client-path-list":"client-path-list_tELX3","client-path-ul":"client-path-ul_Azme5","client-path":"client-path_26gK5",selected:"selected_8zJzt","client-path-input":"client-path-input_b-gzB","input-three-dot":"input-three-dot_-CVeZ"},toString(){return Wze}}});var UIi=xe((ZFa,e3r)=>{e3r.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIGZpbGw9JyNmZmYnIHZpZXdCb3g9JzAgMCA4IDgnPjxwYXRoIGQ9J001LjI1IDBsLTQgNCA0IDQgMS41LTEuNUw0LjI1IDRsMi41LTIuNUw1LjI1IDB6Jy8+PC9zdmc+"});var VIi=xe((JFa,t3r)=>{t3r.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCI+CiAgPGRlZnM+CiAgICA8bGluZWFyR3JhZGllbnQgaWQ9ImxpbmVhci1ncmFkaWVudCIgeTE9IjAuMDMyIiB4Mj0iMC45NzYiIHkyPSIwLjk3NCIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPgogICAgICA8c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNmZmNkMmMiLz4KICAgICAgPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjY2U5ZjA2Ii8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogIDwvZGVmcz4KICA8ZyBpZD0i5paw5bu65bel56iLIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDU2IC00MDkpIj4KICAgIDxyZWN0IGlkPSLnn6nlvaJfNTEiIGRhdGEtbmFtZT0i55+p5b2iIDUxIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHJ4PSI0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0NTYgNDA5KSIgZmlsbD0idXJsKCNsaW5lYXItZ3JhZGllbnQpIi8+CiAgICA8cGF0aCBpZD0i6Lev5b6EXzEyMCIgZGF0YS1uYW1lPSLot6/lvoQgMTIwIiBkPSJNMzcsMTVWMTNhMywzLDAsMCwwLTMtM0gxOC45N0wxNy44NDksOC44NzlBMywzLDAsMCwwLDE1LjcyNyw4SDExYTMsMywwLDAsMC0zLDNWMzdhMywzLDAsMCwwLDMsM0gzN2EzLDMsMCwwLDAsMy0zVjE4YTMsMywwLDAsMC0zLTNabS0zLTJ2MkgyMy45NmwtMi0yWm0zLDI0SDExVjExaDQuNzNsNi4xMTEsNi4xMmEzLDMsMCwwLDAsMi4xMjMuODhIMzdaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0NTYgNDA5KSIgZmlsbD0iI2ZmZiIvPgogIDwvZz4KPC9zdmc+Cg=="});var HIi=xe((qFa,i3r)=>{i3r.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDQ4IDQ4IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA0OCA0OCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+CgkKCQk8bGluZWFyR3JhZGllbnQgaWQ9IlNWR0lEXzFfIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAuNDc1OSIgeTE9Ii0xNTkwLjQ3NTgiIHgyPSI0Ny43NzQ0IiB5Mj0iLTE2MzcuNzc0NCIgZ3JhZGllbnRUcmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAtMSAwIC0xNTkwKSI+CgkJPHN0b3AgIG9mZnNldD0iMCIgc3R5bGU9InN0b3AtY29sb3I6Izg4QUJGRCIvPgoJCTxzdG9wICBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiM1Mzg2RkUiLz4KCTwvbGluZWFyR3JhZGllbnQ+Cgk8cGF0aCBmaWxsPSJ1cmwoI1NWR0lEXzFfKSIgZD0iTTQ0LDQ4SDRjLTIuMjA5LDAtNC0xLjc5MS00LTRWNGMwLTIuMjA5LDEuNzkxLTQsNC00aDQwYzIuMjA5LDAsNCwxLjc5MSw0LDR2NDAKCQlDNDgsNDYuMjA5LDQ2LjIwOSw0OCw0NCw0OHoiLz4KCTxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0zNywxNXYtMmMwLTEuNjU3LTEuMzQzLTMtMy0zSDE4Ljk3bC0xLjEyMy0xLjEyM0MxNy4yODUsOC4zMTUsMTYuNTI0LDgsMTUuNzMsOEgxMWMtMS42NTcsMC0zLDEuMzQzLTMsMwoJCXYyNmMwLDEuNjU3LDEuMzQzLDMsMywzaDEwLjVjMC44MjgsMCwxLjUtMC42NzIsMS41LTEuNWwwLDBjMC0wLjgyOC0wLjY3Mi0xLjUtMS41LTEuNUgxMVYxMWg0LjczbDYuMTEsNi4xMgoJCWMwLjU2MiwwLjU2MywxLjMyNiwwLjg4LDIuMTIyLDAuODhIMzd2Mi41YzAsMC44MjgsMC42NzIsMS41LDEuNSwxLjVsMCwwYzAuODI4LDAsMS41LTAuNjcyLDEuNS0xLjVWMThDNDAsMTYuMzQsMzguNjYsMTUsMzcsMTV6CgkJIE0zNCwxNUgyMy45NmwtMi0ySDM0VjE1eiIvPgoJPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTM4LjUsMzRoLTExYy0wLjgyOCwwLTEuNS0wLjY3Mi0xLjUtMS41bDAsMGMwLTAuODI4LDAuNjcyLTEuNSwxLjUtMS41aDExYzAuODI4LDAsMS41LDAuNjcyLDEuNSwxLjVsMCwwCgkJQzQwLDMzLjMyOCwzOS4zMjgsMzQsMzguNSwzNHoiLz4KCTxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0zMS41LDM4VjI3YzAtMC44MjgsMC42NzItMS41LDEuNS0xLjVsMCwwYzAuODI4LDAsMS41LDAuNjcyLDEuNSwxLjV2MTFjMCwwLjgyOC0wLjY3MiwxLjUtMS41LDEuNWwwLDAKCQlDMzIuMTcyLDM5LjUsMzEuNSwzOC44MjgsMzEuNSwzOHoiLz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var GIi=xe((XFa,o3r)=>{o3r.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCI+CiAgPGRlZnM+CiAgICA8bGluZWFyR3JhZGllbnQgaWQ9ImxpbmVhci1ncmFkaWVudCIgeTE9IjAuMDMyIiB4Mj0iMC45NzYiIHkyPSIwLjk3NCIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPgogICAgICA8c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNmZmNkMmMiLz4KICAgICAgPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjY2U5ZjA2Ii8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogIDwvZGVmcz4KICA8ZyBpZD0i5paw5bu65bel56iLIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDU2IC00MDkpIj4KICAgIDxyZWN0IGlkPSLnn6nlvaJfNTEiIGRhdGEtbmFtZT0i55+p5b2iIDUxIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHJ4PSI0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0NTYgNDA5KSIgZmlsbD0idXJsKCNsaW5lYXItZ3JhZGllbnQpIi8+CiAgICA8cGF0aCBpZD0i6Lev5b6EXzEyMCIgZGF0YS1uYW1lPSLot6/lvoQgMTIwIiBkPSJNMzcsMTVWMTNhMywzLDAsMCwwLTMtM0gxOC45N0wxNy44NDksOC44NzlBMywzLDAsMCwwLDE1LjcyNyw4SDExYTMsMywwLDAsMC0zLDNWMzdhMywzLDAsMCwwLDMsM0gzN2EzLDMsMCwwLDAsMy0zVjE4YTMsMywwLDAsMC0zLTNabS0zLTJ2MkgyMy45NmwtMi0yWm0zLDI0SDExVjExaDQuNzNsNi4xMTEsNi4xMmEzLDMsMCwwLDAsMi4xMjMuODhIMzdaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0NTYgNDA5KSIgZmlsbD0iI2ZmZiIvPgogIDwvZz4KPC9zdmc+Cg=="});var YIi=xe(($Fa,r3r)=>{r3r.exports="data:image/svg+xml;base64, "});var WIi=xe((eUa,n3r)=>{n3r.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCI+CiAgPGRlZnM+CiAgICA8bGluZWFyR3JhZGllbnQgaWQ9ImxpbmVhci1ncmFkaWVudCIgeDE9Ii0wLjA1NCIgeTE9Ii0wLjA1MyIgeDI9IjEiIHkyPSIxIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+CiAgICAgIDxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI2NkZTg4ZCIvPgogICAgICA8c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNkN2EzNzYiLz4KICAgICAgPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjZmZiNzcyIi8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogIDwvZGVmcz4KICA8ZyBpZD0i5paw5bu65aSN55So5Z2XIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtODQwIC00MDkpIj4KICAgIDxyZWN0IGlkPSLnn6nlvaJfMzMiIGRhdGEtbmFtZT0i55+p5b2iIDMzIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHJ4PSI0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4NDAgNDA5KSIgZmlsbD0idXJsKCNsaW5lYXItZ3JhZGllbnQpIi8+CiAgICA8ZyBpZD0i57uEXzQ5IiBkYXRhLW5hbWU9Iue7hCA0OSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMS4zOTQpIj4KICAgICAgPHBhdGggaWQ9Iui3r+W+hF83OCIgZGF0YS1uYW1lPSLot6/lvoQgNzgiIGQ9Ik03LjI0LDIxLjkyM0gxNi4yYTIuMjQxLDIuMjQxLDAsMCwwLDIuMjQtMi4yNFY2LjI0QTIuMjQxLDIuMjQxLDAsMCwwLDE2LjIsNEg3LjI0QTIuMjQxLDIuMjQxLDAsMCwwLDUsNi4yNFYxOS42ODNBMi4yNDEsMi4yNDEsMCwwLDAsNy4yNCwyMS45MjNabTAtMTUuNjgzSDE2LjJWMTkuNjgzSDcuMjRaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4NTIuMjAyIDQyMS4xMTUpIiBmaWxsPSIjZmZmIi8+CiAgICAgIDxwYXRoIGlkPSLot6/lvoRfNzkiIGRhdGEtbmFtZT0i6Lev5b6EIDc5IiBkPSJNMzQuNzI2LDE0LjQ0MmExLjEyLDEuMTIsMCwxLDAsMC0yLjI0aC01LjZWNy43MjFoNS42YTEuMTIsMS4xMiwwLDEsMCwwLTIuMjRoLTUuNlYzLjI0QTIuMjQxLDIuMjQxLDAsMCwwLDI2Ljg4NSwxSDguOTYyYTIuMjQxLDIuMjQxLDAsMCwwLTIuMjQsMi4yNHYyLjI0SDEuMTJhMS4xMiwxLjEyLDAsMCwwLDAsMi4yNGg1LjZWMTIuMkgxLjEyYTEuMTIsMS4xMiwwLDEsMCwwLDIuMjRoNS42djQuNDgxSDEuMTJhMS4xMiwxLjEyLDAsMSwwLDAsMi4yNGg1LjZ2NC40ODFIMS4xMmExLjEyLDEuMTIsMCwxLDAsMCwyLjI0aDUuNnYyLjI0YTIuMjQxLDIuMjQxLDAsMCwwLDIuMjQsMi4yNEgyNi44ODVhMi4yNDEsMi4yNDEsMCwwLDAsMi4yNC0yLjI0di0yLjI0aDUuNmExLjEyLDEuMTIsMCwxLDAsMC0yLjI0aC01LjZWMjEuMTYzaDUuNmExLjEyLDEuMTIsMCwxLDAsMC0yLjI0aC01LjZWMTQuNDQyWk0yNi44ODUsMzAuMTI1SDguOTYyVjMuMjRIMjYuODg1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoODQ2IDQxNy4zOTQpIiBmaWxsPSIjZmZmIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K"});var QIi=xe((tUa,a3r)=>{a3r.exports="data:image/svg+xml;base64, "});var KIi=xe((iUa,s3r)=>{s3r.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDQ4IDQ4IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA0OCA0OCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+CgkKCQk8bGluZWFyR3JhZGllbnQgaWQ9IuefqeW9ol81XzE4XyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSItMTQ4Ni42MjUiIHkxPSItMTE5NC41NDE2IiB4Mj0iLTE0ODUuNjI1IiB5Mj0iLTExOTMuNTQxNiIgZ3JhZGllbnRUcmFuc2Zvcm09Im1hdHJpeCg0OCAwIDAgNDggNzEzNTggNTczMzgpIj4KCQk8c3RvcCAgb2Zmc2V0PSIwIiBzdHlsZT0ic3RvcC1jb2xvcjojOENBRUZDIi8+CgkJPHN0b3AgIG9mZnNldD0iMSIgc3R5bGU9InN0b3AtY29sb3I6IzREODJGRiIvPgoJPC9saW5lYXJHcmFkaWVudD4KCTxwYXRoIGlkPSLnn6nlvaJfNV8xN18iIGZpbGw9InVybCgj55+p5b2iXzVfMThfKSIgZD0iTTQsMGg0MGMyLjIsMCw0LDEuOCw0LDR2NDBjMCwyLjItMS44LDQtNCw0SDRjLTIuMiwwLTQtMS44LTQtNFY0CgkJQzAsMS44LDEuOCwwLDQsMHoiLz4KCTxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0zMy4wNjIsMjcuMzc1bC0yLjAyNS0zLjUwNmwtOC44NCw0LjY0M2MtMi4zOTgtMi43MzUtNi41NTktMy4wMDgtOS4yOTQtMC42MQoJCWMtMC44NDMsMC43MzktMS40ODQsMS42ODItMS44NjEsMi43MzhjLTMuMzQyLTEuNDY3LTQuODYyLTUuMzY1LTMuMzk1LTguNzA3YzEuNDY3LTMuMzQyLDUuMzY1LTQuODYyLDguNzA3LTMuMzk1CgkJYzAuMjkyLDAuMTI4LDAuNTc0LDAuMjc3LDAuODQ0LDAuNDQ2YzEuNjItNC44NjQsNi44NzYtNy40OTQsMTEuNzQtNS44NzRjMy40MjYsMS4xNDEsNS44NzksNC4xNjUsNi4yOSw3Ljc1MwoJCWMwLjE2Ni0wLjAxNywwLjMzMy0wLjAyNCwwLjUwMS0wLjAyMWMyLjg1OCwwLjAxOSw1LjE2LDIuMzUyLDUuMTQxLDUuMjFjLTAuMDExLDEuNTg2LTAuNzQ3LDMuMDAyLTEuODkzLDMuOTQ4aDUuMTE0CgkJYzAuNjg4LTEuNDQyLDEuMDIxLTMuMDc1LDAuODczLTQuNzgyYy0wLjMyMy0zLjczMi0yLjg1OC02LjkwNC02LjQyNy04LjA0MWMtMi42MzMtNi45MTItMTAuMzctMTAuMzg0LTE3LjI4NS03Ljc1MwoJCWMtMi40MDYsMC45MTUtNC40OTgsMi41MDQtNi4wMjQsNC41NzdjLTUuODU0LTAuODQtMTEuMjgxLDMuMjI1LTEyLjEyLDkuMDhjLTAuNDUyLDMuMTUxLDAuNTIxLDYuMzM5LDIuNjU2LDguNzAxCgkJYzEuNDA1LDEuNTUyLDMuMjMzLDIuNjU4LDUuMjU5LDMuMTgyYzEuMTU3LDMuNDQ3LDQuODg5LDUuMzAzLDguMzM2LDQuMTQ2YzIuNjg0LTAuOTAxLDQuNDkxLTMuNDE2LDQuNDg5LTYuMjQ3CgkJYzAtMC4yMDgtMC4wMTEtMC40MjgtMC4wMzItMC42MzZMMzMuMDYyLDI3LjM3NXogTTE3LjI3MywzNS40MTNjLTEuNDA2LDAtMi41NDYtMS4xNC0yLjU0Ni0yLjU0NgoJCWMwLjAwMi0xLjQwNiwxLjE0MS0yLjU0NSwyLjU0Ny0yLjU0NmMxLjQwNiwwLDIuNTQ1LDEuMTQsMi41NDUsMi41NDZDMTkuODE5LDM0LjI3MywxOC42NzksMzUuNDEzLDE3LjI3MywzNS40MTN6Ii8+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMjYuMjYzLDMxLjkyaDIuNDI5YzEuNjQsMCwyLjg5OCwwLjU2OSwyLjg5OCwyLjMxOGMwLDEuNjg5LTEuMjcsMi40NDgtMi44NTgsMi40NDhoLTAuOTg5djIuNjI5aC0xLjQ3OQoJCQlWMzEuOTJ6IE0yOC42MzIsMzUuNTE3YzEuMDIsMCwxLjUwOS0wLjQzLDEuNTA5LTEuMjc5YzAtMC44NTktMC41MzktMS4xNDktMS41NTktMS4xNDloLTAuODR2Mi40MjlIMjguNjMyeiIvPgoJCTxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0zNi40NjEsMzkuMzE1bC0xLjUyLTIuNzk5aC0xLjAyOXYyLjc5OWgtMS40NzlWMzEuOTJoMi41NzljMS41NDksMCwyLjc3OCwwLjUzOSwyLjc3OCwyLjIzOAoJCQljMCwxLjEwOS0wLjU2LDEuNzk5LTEuNDA5LDIuMTI5bDEuNzI5LDMuMDI4SDM2LjQ2MXogTTMzLjkxMiwzNS4zNDdoMC45NmMwLjk0OSwwLDEuNDY5LTAuMzk5LDEuNDY5LTEuMTg5CgkJCWMwLTAuOC0wLjUyLTEuMDY5LTEuNDY5LTEuMDY5aC0wLjk2VjM1LjM0N3oiLz4KCQk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMzguMzg0LDM1LjU4OGMwLTIuNDA5LDEuMzQ5LTMuODA5LDMuMzA4LTMuODA5UzQ1LDMzLjE4OCw0NSwzNS41ODhjMCwyLjM5OC0xLjM1LDMuODY3LTMuMzA5LDMuODY3CgkJCVMzOC4zODQsMzcuOTg2LDM4LjM4NCwzNS41ODh6IE00My40OSwzNS41ODhjMC0xLjU5LTAuNjk5LTIuNTM5LTEuNzk5LTIuNTM5cy0xLjc5OSwwLjk0OS0xLjc5OSwyLjUzOQoJCQljMCwxLjU3OSwwLjY5OSwyLjU4OCwxLjc5OSwyLjU4OFM0My40OSwzNy4xNjcsNDMuNDksMzUuNTg4eiIvPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg=="});var ZIi=xe((oUa,l3r)=>{l3r.exports="data:image/svg+xml;base64, "});var JIi=xe((rUa,c3r)=>{c3r.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDQ4IDQ4IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA0OCA0OCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8ZyBpZD0i55+p5b2iXzVfMjBfIj4KCQk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNNCw0Ny4zNzVjLTEuODYxLDAtMy4zNzUtMS41MTQtMy4zNzUtMy4zNzVWNGMwLTEuODYxLDEuNTE0LTMuMzc1LDMuMzc1LTMuMzc1aDQwCgkJCWMxLjg2MSwwLDMuMzc1LDEuNTE0LDMuMzc1LDMuMzc1djQwYzAsMS44NjEtMS41MTQsMy4zNzUtMy4zNzUsMy4zNzVINHoiLz4KCQk8cGF0aCBmaWxsPSIjNTU4OEZGIiBkPSJNNDQsMS4yNWMxLjUxNiwwLDIuNzUsMS4yMzQsMi43NSwyLjc1djQwYzAsMS41MTYtMS4yMzQsMi43NS0yLjc1LDIuNzVINGMtMS41MTYsMC0yLjc1LTEuMjM0LTIuNzUtMi43NQoJCQlWNGMwLTEuNTE2LDEuMjM0LTIuNzUsMi43NS0yLjc1SDQ0IE00NCwwSDRDMS44LDAsMCwxLjgsMCw0djQwYzAsMi4yLDEuOCw0LDQsNGg0MGMyLjIsMCw0LTEuOCw0LTRWNEM0OCwxLjgsNDYuMiwwLDQ0LDBMNDQsMHoiCgkJCS8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjNTU4OEZGIiBkPSJNMjYuNTYzLDM4LjM3NmwwLjg1LTEuMDJjMC41MjksMC40OSwxLjIyOSwwLjgxOSwxLjg3OSwwLjgxOWMwLjc3LDAsMS4xNzktMC4zMjksMS4xNzktMC44NQoJCQljMC0wLjU1LTAuNDQ5LTAuNzItMS4xMDktMC45OTlsLTAuOTg5LTAuNDJjLTAuNzQ5LTAuMzEtMS40OTktMC45MDktMS40OTktMS45ODljMC0xLjIwOSwxLjA2LTIuMTM5LDIuNTU5LTIuMTM5CgkJCWMwLjg1OSwwLDEuNzE5LDAuMzQsMi4zMTgsMC45NWwtMC43NDksMC45MjljLTAuNDctMC4zOS0wLjk2LTAuNjA5LTEuNTY5LTAuNjA5Yy0wLjY0OSwwLTEuMDY5LDAuMjktMS4wNjksMC43NzkKCQkJYzAsMC41MywwLjUyOSwwLjcyLDEuMTU5LDAuOTdsMC45NywwLjQxYzAuODk5LDAuMzY5LDEuNDg5LDAuOTM5LDEuNDg5LDIuMDA5YzAsMS4yMDktMS4wMSwyLjIzOC0yLjcxOSwyLjIzOAoJCQlDMjguMjcyLDM5LjQ1NSwyNy4yODMsMzkuMDY1LDI2LjU2MywzOC4zNzZ6Ii8+CgkJPHBhdGggZmlsbD0iIzU1ODhGRiIgZD0iTTM0LjUzMiwzMy4xNDhoLTIuMDc5VjMxLjkyaDUuNjU3djEuMjI5aC0yLjF2Ni4xNjdoLTEuNDc5VjMzLjE0OHoiLz4KCQk8cGF0aCBmaWxsPSIjNTU4OEZGIiBkPSJNMzkuMzEzLDMxLjkyaDIuMDI5YzIuMjU5LDAsMy42NTgsMS4xNjksMy42NTgsMy42NjhjMCwyLjQ4OC0xLjM5OSwzLjcyOC0zLjU3OCwzLjcyOGgtMi4xMDlWMzEuOTJ6CgkJCSBNNDEuMjUyLDM4LjEyNmMxLjM3OSwwLDIuMjM4LTAuNzM5LDIuMjM4LTIuNTM4YzAtMS44MS0wLjg1OS0yLjQ4OS0yLjIzOC0yLjQ4OWgtMC40NnY1LjAyN0g0MS4yNTJ6Ii8+Cgk8L2c+Cgk8bGluZWFyR3JhZGllbnQgaWQ9IlNWR0lEXzFfIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjMiIHkxPSIyNCIgeDI9IjQ0Ljk5OTQiIHkyPSIyNCI+CgkJPHN0b3AgIG9mZnNldD0iMCIgc3R5bGU9InN0b3AtY29sb3I6IzU1ODhGRiIvPgoJCTxzdG9wICBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiM0RDgyRkYiLz4KCTwvbGluZWFyR3JhZGllbnQ+Cgk8cGF0aCBmaWxsPSJ1cmwoI1NWR0lEXzFfKSIgZD0iTTMzLjA2MiwyNy4zNzVsLTIuMDI1LTMuNTA2bC04Ljg0LDQuNjQzYy0yLjM5OC0yLjczNS02LjU1OS0zLjAwOC05LjI5NC0wLjYxCgkJYy0wLjg0MywwLjczOS0xLjQ4NCwxLjY4Mi0xLjg2MSwyLjczOGMtMy4zNDItMS40NjctNC44NjItNS4zNjUtMy4zOTUtOC43MDdjMS40NjctMy4zNDIsNS4zNjUtNC44NjIsOC43MDctMy4zOTUKCQljMC4yOTIsMC4xMjgsMC41NzQsMC4yNzcsMC44NDQsMC40NDZjMS42Mi00Ljg2NCw2Ljg3Ni03LjQ5NCwxMS43NC01Ljg3NGMzLjQyNiwxLjE0MSw1Ljg3OSw0LjE2NSw2LjI5LDcuNzUzCgkJYzAuMTY2LTAuMDE3LDAuMzMzLTAuMDI0LDAuNTAxLTAuMDIxYzIuODU4LDAuMDE5LDUuMTYsMi4zNTIsNS4xNDEsNS4yMWMtMC4wMTEsMS41ODYtMC43NDcsMy4wMDItMS44OTMsMy45NDhoNS4xMTQKCQljMC42ODgtMS40NDIsMS4wMjEtMy4wNzUsMC44NzMtNC43ODJjLTAuMzIzLTMuNzMyLTIuODU4LTYuOTA0LTYuNDI3LTguMDQxYy0yLjYzMy02LjkxMi0xMC4zNy0xMC4zODQtMTcuMjg1LTcuNzUzCgkJYy0yLjQwNiwwLjkxNS00LjQ5OCwyLjUwNC02LjAyNCw0LjU3N2MtNS44NTQtMC44NC0xMS4yODEsMy4yMjUtMTIuMTIsOS4wOGMtMC40NTIsMy4xNTEsMC41MjEsNi4zMzksMi42NTYsOC43MDEKCQljMS40MDUsMS41NTIsMy4yMzMsMi42NTgsNS4yNTksMy4xODJjMS4xNTcsMy40NDcsNC44ODksNS4zMDMsOC4zMzYsNC4xNDZjMi42ODQtMC45MDEsNC40OTEtMy40MTYsNC40ODktNi4yNDcKCQljMC0wLjIwOC0wLjAxMS0wLjQyOC0wLjAzMi0wLjYzNiBNMTcuMjczLDM1LjQxM2MtMS40MDYsMC0yLjU0Ni0xLjE0LTIuNTQ2LTIuNTQ2YzAuMDAyLTEuNDA2LDEuMTQxLTIuNTQ1LDIuNTQ3LTIuNTQ2CgkJYzEuNDA2LDAsMi41NDUsMS4xNCwyLjU0NSwyLjU0NkMxOS44MTksMzQuMjczLDE4LjY3OSwzNS40MTMsMTcuMjczLDM1LjQxM3oiLz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var qIi=xe((nUa,d3r)=>{d3r.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgNDggNDgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ4IDQ4OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6dXJsKCPnn6nlvaJfNV8xXyk7fQoJLnN0MXtmaWxsOiNGRkZGRkY7fQo8L3N0eWxlPgo8ZyBpZD0i5a+85YWlQURfaWNvbiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTMzOCAtNDE0KSI+CgkKCQk8bGluZWFyR3JhZGllbnQgaWQ9IuefqeW9ol81XzFfIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9Ii0xMjcuMDg4NyIgeTE9IjkyOS4xMDM2IiB4Mj0iLTEyNi4xMTg3IiB5Mj0iOTI4LjEwMzYiIGdyYWRpZW50VHJhbnNmb3JtPSJtYXRyaXgoNDggMCAwIC00OCA2NDM5IDQ1MDExKSI+CgkJPHN0b3AgIG9mZnNldD0iMCIgc3R5bGU9InN0b3AtY29sb3I6I0NDQjU3OSIvPgoJCTxzdG9wICBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiM5RDg3NEQiLz4KCTwvbGluZWFyR3JhZGllbnQ+Cgk8cGF0aCBpZD0i55+p5b2iXzUiIGNsYXNzPSJzdDAiIGQ9Ik0zNDIsNDE0aDQwYzIuMiwwLDQsMS44LDQsNHY0MGMwLDIuMi0xLjgsNC00LDRoLTQwYy0yLjIsMC00LTEuOC00LTR2LTQwCgkJQzMzOCw0MTUuOCwzMzkuOCw0MTQsMzQyLDQxNHoiLz4KCTxnIGlkPSLnu4RfMjQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMzEzLjczOCAyMjYuODA1KSI+CgkJPHBhdGggaWQ9Iui3r+W+hF8zNyIgY2xhc3M9InN0MSIgZD0iTTE2NzkuNywxOTYuN2g0LjNsNC42LDI4LjVoLTcuNmwtMC43LTYuMWgtMTEuMmwtMiwzLjVjLTAuOSwxLjYtMi41LDIuNS00LjMsMi41aC01LjEKCQkJbDE0LjItMjRDMTY3My42LDE5OC40LDE2NzYuNSwxOTYuNywxNjc5LjcsMTk2Ljd6IE0xNjc4LjEsMjAyLjhsLTUuOCwxMC42Yy0wLjEsMC4xLDAsMC4yLDAuMSwwLjNjMCwwLDAuMSwwLDAuMSwwaDcuMQoJCQljMC4xLDAsMC4yLTAuMSwwLjItMC4yYzAsMCwwLDAsMCwwbC0xLjMtMTAuNmMwLTAuMS0wLjEtMC4yLTAuMi0wLjJDMTY3OC4xLDIwMi43LDE2NzguMSwyMDIuOCwxNjc4LjEsMjAyLjhMMTY3OC4xLDIwMi44eiIvPgoJPC9nPgo8L2c+Cjwvc3ZnPgo="});var XIi=xe((aUa,u3r)=>{u3r.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCI+CiAgPGRlZnM+CiAgICA8bGluZWFyR3JhZGllbnQgaWQ9ImxpbmVhci1ncmFkaWVudCIgeDE9IjAuMDE2IiB4Mj0iMC45ODYiIHkyPSIxIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+CiAgICAgIDxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iIzMwNGNiMCIvPgogICAgICA8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMxYzJiNjIiLz4KICAgIDwvbGluZWFyR3JhZGllbnQ+CiAgPC9kZWZzPgogIDxnIGlkPSLnu4RfMjgzIiBkYXRhLW5hbWU9Iue7hCAyODMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yODgpIj4KICAgIDxyZWN0IGlkPSLnn6nlvaJfNjIiIGRhdGEtbmFtZT0i55+p5b2iIDYyIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHJ4PSI0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyODgpIiBmaWxsPSJ1cmwoI2xpbmVhci1ncmFkaWVudCkiLz4KICAgIDxnIGlkPSLnu4RfMjkyIiBkYXRhLW5hbWU9Iue7hCAyOTIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI4Ny41MjEgMC4wNDcpIj4KICAgICAgPHBhdGggaWQ9Iui3r+W+hF8xNDAiIGRhdGEtbmFtZT0i6Lev5b6EIDE0MCIgZD0iTTI5Ljg0NCwxMy40NzVIMjIuNDY3TDE1LjU5LDIzLjMxMVYxMy40NzVIOS40NzlWMzcuOTUzSDE1LjU5di0xMC4ybDcuMjIsMTAuMmg3Ljc0TDIwLjg3NywyNS4xNzlaIiBmaWxsPSIjZmZmIi8+CiAgICAgIDxyZWN0IGlkPSLnn6nlvaJfNjMiIGRhdGEtbmFtZT0i55+p5b2iIDYzIiB3aWR0aD0iNi4yMTciIGhlaWdodD0iMTcuOTU2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzMS42NTIgMTkuOTk3KSIgZmlsbD0iI2ZmZiIvPgogICAgICA8Y2lyY2xlIGlkPSLmpK3lnIZfNyIgZGF0YS1uYW1lPSLmpK3lnIYgNyIgY3g9IjMuNzYxIiBjeT0iMy43NjEiIHI9IjMuNzYxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzMSA2Ljk1MykiIGZpbGw9IiNmZmYiLz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo="});var $Ii=xe((sUa,p3r)=>{p3r.exports="data:image/svg+xml;base64, "});var eLi=xe((lUa,m3r)=>{m3r.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgNDggNDgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ4IDQ4OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6dXJsKCPnn6nlvaJfMzlfMV8pO30KCS5zdDF7ZmlsbDojRkZGRkZGO30KPC9zdHlsZT4KPGcgaWQ9Iuiuvue9rl9pY29uIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDU2IC02MTMpIj4KCQoJCTxsaW5lYXJHcmFkaWVudCBpZD0i55+p5b2iXzM5XzFfIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9Ii05LjEwNDIiIHkxPSIxMTI4LjEwNDEiIHgyPSItOC4xMDQyIiB5Mj0iMTEyNy4xMDQxIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDQ4IDAgMCAtNDggODkzIDU0NzYyKSI+CgkJPHN0b3AgIG9mZnNldD0iMCIgc3R5bGU9InN0b3AtY29sb3I6IzhDQUVGQyIvPgoJCTxzdG9wICBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiM0RDgyRkYiLz4KCTwvbGluZWFyR3JhZGllbnQ+Cgk8cGF0aCBpZD0i55+p5b2iXzM5IiBjbGFzcz0ic3QwIiBkPSJNNDYwLDYxM2g0MGMyLjIsMCw0LDEuOCw0LDR2NDBjMCwyLjItMS44LDQtNCw0aC00MGMtMi4yLDAtNC0xLjgtNC00di00MAoJCUM0NTYsNjE0LjgsNDU3LjgsNjEzLDQ2MCw2MTN6Ii8+Cgk8ZyBpZD0i57uEXzEyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjA3IDMuMDcpIj4KCQk8cGF0aCBpZD0i5YeP5Y67XzEiIGNsYXNzPSJzdDEiIGQ9Ik00NzIuOCw2NDkuOUw0NzIuOCw2NDkuOWMtMS41LTAuNC0zLTEtNC4zLTEuOGMwLjctMS43LDAuNC0zLjYtMC45LTQuOQoJCQljLTAuOC0wLjgtMS45LTEuMy0zLjEtMS4zYy0wLjYsMC0xLjIsMC4xLTEuOCwwLjRjLTAuOC0xLjQtMS40LTIuOC0xLjgtNC4zYzEuNy0wLjYsMi44LTIuMywyLjgtNC4xYzAtMS44LTEuMS0zLjQtMi44LTQuMQoJCQljMC40LTEuNSwxLTMsMS44LTQuM2MwLjYsMC4zLDEuMiwwLjQsMS44LDAuNGMyLjQsMCw0LjQtMiw0LjQtNC40YzAtMC42LTAuMS0xLjItMC40LTEuOGMxLjQtMC44LDIuOC0xLjQsNC4zLTEuOAoJCQljMC42LDEuNywyLjMsMi44LDQuMSwyLjhjMS44LDAsMy40LTEuMSw0LjEtMi44YzEuNSwwLjQsMywxLDQuMywxLjhjLTAuNywxLjctMC40LDMuNiwwLjksNC45YzAuOCwwLjgsMS45LDEuMywzLjEsMS4zCgkJCWMwLjYsMCwxLjItMC4xLDEuOC0wLjRjMC44LDEuNCwxLjQsMi44LDEuOCw0LjNjLTIuMywwLjktMy40LDMuNC0yLjUsNS42YzAuNCwxLjIsMS40LDIuMSwyLjUsMi41Yy0wLjQsMS41LTEsMy0xLjgsNC4zCgkJCWMtMC42LTAuMy0xLjItMC40LTEuOC0wLjRjLTIuNCwwLTQuNCwyLTQuNCw0LjRjMCwwLjYsMC4xLDEuMiwwLjQsMS44Yy0xLjMsMC44LTIuOCwxLjQtNC4zLDEuOGMtMC45LTIuMy0zLjQtMy40LTUuNi0yLjUKCQkJQzQ3NC4yLDY0Ny44LDQ3My4zLDY0OC44LDQ3Mi44LDY0OS45TDQ3Mi44LDY0OS45eiBNNDc2LjksNjI3LjdjLTMuNCwwLTYuMiwyLjgtNi4yLDYuMmMwLDMuNCwyLjgsNi4yLDYuMiw2LjIKCQkJYzMuNCwwLDYuMi0yLjgsNi4yLTYuMkM0ODMuMSw2MzAuNSw0ODAuNCw2MjcuNyw0NzYuOSw2MjcuN3oiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K"});var tLi=xe((cUa,h3r)=>{h3r.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgNDggNDgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ4IDQ4OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6dXJsKCPnn6nlvaJfNDBfMV8pO30KCS5zdDF7ZmlsbDojRkZGRkZGO30KPC9zdHlsZT4KPGcgaWQ9IuWFs+S6jl9pY29uIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTUyIC02MTMpIj4KCQoJCTxsaW5lYXJHcmFkaWVudCBpZD0i55+p5b2iXzQwXzFfIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9Ijg2Ljg5NTgiIHkxPSIxMTI4LjEwNDEiIHgyPSI4Ny44OTU4IiB5Mj0iMTEyNy4xMDQxIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDQ4IDAgMCAtNDggLTM2MTkgNTQ3NjIpIj4KCQk8c3RvcCAgb2Zmc2V0PSIwIiBzdHlsZT0ic3RvcC1jb2xvcjojOENBRUZDIi8+CgkJPHN0b3AgIG9mZnNldD0iMSIgc3R5bGU9InN0b3AtY29sb3I6IzREODJGRiIvPgoJPC9saW5lYXJHcmFkaWVudD4KCTxwYXRoIGlkPSLnn6nlvaJfNDAiIGNsYXNzPSJzdDAiIGQ9Ik01NTYsNjEzaDQwYzIuMiwwLDQsMS44LDQsNHY0MGMwLDIuMi0xLjgsNC00LDRoLTQwYy0yLjIsMC00LTEuOC00LTR2LTQwCgkJQzU1Miw2MTQuOCw1NTMuOCw2MTMsNTU2LDYxM3oiLz4KCTxnIGlkPSLnu4RfMjkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC03OTEuMTYyIDc0OC4zNzIpIj4KCQk8cGF0aCBpZD0i6Lev5b6EXzQyIiBjbGFzcz0ic3QxIiBkPSJNMTM3My45LTEwMC41Yy02LDUuMi00LjItMy45LTMuOS01LjJzNC4yLTkuMiwxLjMtMTAuNXMtMTEuOCw1LjItMTEuOCw1LjJzLTEuNSwxLjEtMS4zLDEuMwoJCQljMSwxLjcsNS4yLTEuMyw1LjItMS4zczEuNS0xLjIsMS4zLDBjLTEuMyw1LjItMi4yLDEwLjQtMi42LDE1LjdjMC42LDMuNSw2LjEsMiwxMC40LTIuNlMxMzczLjktMTAwLjUsMTM3My45LTEwMC41eiIvPgoJCTxwYXRoIGlkPSLot6/lvoRfNDMiIGNsYXNzPSJzdDEiIGQ9Ik0xMzcwLjQtMTIwLjJjMS42LDAuMSwzLjItMC43LDQuMS0yLjFjMC45LTEuNCwxLTMuMSwwLjItNC42Yy0wLjctMS41LTIuMi0yLjQtMy44LTIuNQoJCQljLTEuNi0wLjEtMy4yLDAuNy00LjEsMi4xYy0wLjksMS40LTEsMy4xLTAuMiw0LjZDMTM2Ny4zLTEyMS4zLDEzNjguNy0xMjAuMywxMzcwLjQtMTIwLjJ6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=="});var iLi=xe((dUa,f3r)=>{f3r.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgdmlld0JveD0iMCAwIDQ4IDQ4Ij4KICA8ZyBpZD0i57uEXzI3NCIgZGF0YS1uYW1lPSLnu4QgMjc0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtODQwIC00MjAuMDE0KSI+CiAgICA8cmVjdCBpZD0i55+p5b2iXzUyIiBkYXRhLW5hbWU9IuefqeW9oiA1MiIgd2lkdGg9IjQ4IiBoZWlnaHQ9IjQ4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4NDAgNDIwLjAxNCkiIGZpbGw9Im5vbmUiLz4KICAgIDxnIGlkPSLmm7TlpJrmt7vliqAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDc4MCAzNjMuMDcyKSI+CiAgICAgIDxwYXRoIGlkPSLot6/lvoRfMjMiIGRhdGEtbmFtZT0i6Lev5b6EIDIzIiBkPSJNOTcuMjgsNjAuOTI4SDcwLjcyQTYuNzE2LDYuNzE2LDAsMCwwLDY0LDY3LjY0OHYyNi43MmE2LjUxNiw2LjUxNiwwLDAsMCw2LjcyLDYuNTgzSDk3LjI4YTYuNzE2LDYuNzE2LDAsMCwwLDYuNzItNi43MlY2Ny42MjVBNi43LDYuNywwLDAsMCw5Ny4yOCw2MC45MjhabTMuNDI5LDMzLjQxN2EzLjQ4NCwzLjQ4NCwwLDAsMS0zLjQyOSwzLjQyOUg3MC43MmEzLjQ4NCwzLjQ4NCwwLDAsMS0zLjQyOS0zLjQyOVY2Ny43ODVhMy40ODQsMy40ODQsMCwwLDEsMy40MjktMy40Mjl2LS4xMzdIOTcuMjhhMy40ODQsMy40ODQsMCwwLDEsMy40MjksMy40MjlaIiBmaWxsPSIjOTk5Ii8+CiAgICAgIDxwYXRoIGlkPSLot6/lvoRfMjQiIGRhdGEtbmFtZT0i6Lev5b6EIDI0IiBkPSJNMjUwLjU2NSw0NjMuODcyaDIxLjk4OWEuNjYuNjYsMCwwLDEsLjcwOS43MDl2Mi44NTdhLjY2LjY2LDAsMCwxLS43MDkuNzA5SDI1MC41NjVhLjY3Mi42NzIsMCwwLDEtLjcwOS0uNzA5VjQ2NC42QS42NzguNjc4LDAsMCwxLDI1MC41NjUsNDYzLjg3MloiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNzcuNTU5IC0zODQuOTU1KSIgZmlsbD0iIzk5OSIvPgogICAgICA8cGF0aCBpZD0i6Lev5b6EXzI1IiBkYXRhLW5hbWU9Iui3r+W+hCAyNSIgZD0iTTQ2My44NzIsMjY5LjEyOVYyNDYuOTgxYS42Ni42NiwwLDAsMSwuNzA5LS43MDloMi44NTdhLjY2LjY2LDAsMCwxLC43MDkuNzA5djIxLjk4OWEuNjcyLjY3MiwwLDAsMS0uNzA5LjcwOUg0NjQuNkM0NjQuMzA2LDI2OS43LDQ2My44NzIsMjY5LjQyNiw0NjMuODcyLDI2OS4xMjlaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzgyLjAyMSAtMTc3LjA3KSIgZmlsbD0iIzk5OSIvPgogICAgPC9nPgogIDwvZz4KPC9zdmc+Cg=="});var LJ=xe((uUa,oLi)=>{var hr=[];hr.push(".icon-eda-x-circle_6cxg0.clear-input-circle_2fcWe{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.start-page-container_N-nfN{min-height:100%}.start-page-container_N-nfN,.start-page-container_N-nfN .start_left_page_KyUqw{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.start-page-container_N-nfN .start_left_page_KyUqw{width:-webkit-calc(80% - 8px);width:-moz-calc(80% - 8px);width:calc(80% - 8px);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui{height:auto;overflow:hidden;padding-bottom:25%;position:relative;width:100%}.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-img_5zr-K{height:100%;position:absolute}.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-img_5zr-K>a{display:inline-block;height:100%;overflow:hidden}.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-img_5zr-K>a img{height:100%;width:100%}.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-pagination_a4UCh{bottom:14px;position:absolute;text-align:center;width:100%}.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-pagination_a4UCh span.carousel-chart-pagination-dot_j5x5r{background:#fff;border-radius:50%;cursor:pointer;display:inline-block;height:8px;margin-right:12px;width:8px}.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-pagination_a4UCh span.carousel-chart-pagination-dot_j5x5r:hover{background:#40a9ff}.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-pagination_a4UCh span.carousel-chart-pagination-dot_j5x5r.active_YLzbY{background:#1890ff}.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-next_8q1wB,.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-prev_xTe9v{bottom:0;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;position:absolute;top:0;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;color:#fff;cursor:pointer;justify-content:center;opacity:.5;text-align:center;-webkit-transition:opacity .15s ease;-moz-transition:opacity .15s ease;transition:opacity .15s ease;width:15%}.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-next_8q1wB:focus,.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-next_8q1wB:hover,.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-prev_xTe9v:focus,.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-prev_xTe9v:hover{color:#fff;opacity:.9;outline:0;text-decoration:none}.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-next-icon_s4Xqs,.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-prev-icon_JVeHU{background:no-repeat 50%/100% 100%;display:inline-block;height:20px;width:20px}.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-prev_xTe9v{left:0}.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-next_8q1wB{right:0}.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-prev-icon_JVeHU{background:");hr.push("url(");hr.push(JSON.stringify(UIi()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .carousel-chart_cjoui .carousel-chart-next-icon_s4Xqs{background:");hr.push("url(");hr.push(JSON.stringify(hmt()));hr.push(")");hr.push('}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;overflow-x:auto;overflow-y:hidden;padding:10px 0}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG{-webkit-box-flex:0;-webkit-flex:0 1 50%;-moz-box-flex:0;color:var(--common-font-color);flex:0 1 50%;min-width:190px;padding:8px;vertical-align:top}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG>div{overflow:auto;padding-top:8px}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG h3{margin:0}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .import-list_CKDyg.item_qIsDM,.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .new-list_1sNcF.item_qIsDM,.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .other-list_VuJh7.item_qIsDM{background-position:center 8px;background-repeat:no-repeat;background-size:36px;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;float:left;margin-bottom:6px;padding:54px 6px 4px;position:relative;text-align:center;width:80px}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .import-list_CKDyg.item_qIsDM:after,.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .new-list_1sNcF.item_qIsDM:after,.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .other-list_VuJh7.item_qIsDM:after{background:var(--common-border-color-1);content:"";display:block;height:1px;left:50%;margin-left:-40%;position:absolute;top:50px;width:80%}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .import-list_CKDyg.item_qIsDM .content_gQMrJ,.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .new-list_1sNcF.item_qIsDM .content_gQMrJ,.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .other-list_VuJh7.item_qIsDM .content_gQMrJ{padding-top:16px}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .import-list_CKDyg.item_qIsDM.around_Hj-rO,.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .new-list_1sNcF.item_qIsDM.around_Hj-rO,.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .other-list_VuJh7.item_qIsDM.around_Hj-rO{-webkit-justify-content:space-around;justify-content:space-around}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .import-list_CKDyg.item_qIsDM .item_s_j81cj,.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .new-list_1sNcF.item_qIsDM .item_s_j81cj,.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .other-list_VuJh7.item_qIsDM .item_s_j81cj{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin:0;padding:8px 0;width:68%}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .import-list_CKDyg.item_qIsDM .item_s_j81cj img,.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .new-list_1sNcF.item_qIsDM .item_s_j81cj img,.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .other-list_VuJh7.item_qIsDM .item_s_j81cj img{height:auto;width:70%}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .import-list_CKDyg.item_qIsDM .item_s_j81cj:not(:last-child),.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .new-list_1sNcF.item_qIsDM .item_s_j81cj:not(:last-child),.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .other-list_VuJh7.item_qIsDM .item_s_j81cj:not(:last-child){border-bottom:1px solid #d9d9d9}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .import-list_CKDyg.item_qIsDM .item_s_j81cj .a_link_asHlZ,.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .new-list_1sNcF.item_qIsDM .item_s_j81cj .a_link_asHlZ,.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .other-list_VuJh7.item_qIsDM .item_s_j81cj .a_link_asHlZ{color:#1890ff;font-weight:bolder;text-decoration:underline}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.item_qIsDM:not(:last-child){margin-right:6px}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .item_qIsDM{box-shadow:1px 1px 6px var(--common-border-color-1)}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .item_qIsDM span{display:block}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG .item_qIsDM span img{height:auto;width:100%}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.new_schematic_4WVtn{background-image:');hr.push("url(");hr.push(JSON.stringify(VIi()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.new_schematic_4WVtn.is_client_P-9-o{background-image:");hr.push("url(");hr.push(JSON.stringify(HIi()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.client_start_project_pLCgl{background-image:");hr.push("url(");hr.push(JSON.stringify(GIi()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.new_library_KrkNt{background-image:");hr.push("url(");hr.push(JSON.stringify(YIi()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.new_symbol_Y-d5N{background-image:");hr.push("url(");hr.push(JSON.stringify(o3e()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.new_cbb_tFcdr{background-image:");hr.push("url(");hr.push(JSON.stringify(WIi()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.new_device_Os2dp{background-image:");hr.push("url(");hr.push(JSON.stringify(d3e()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.new_package_PFkan{background-image:");hr.push("url(");hr.push(JSON.stringify(a3e()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.new_3dmodel_cLRYW{background-image:");hr.push("url(");hr.push(JSON.stringify(QIi()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.import_profession_Rs79l{background-image:");hr.push("url(");hr.push(JSON.stringify(KIi()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.import_ecad_XW2Ry{background-image:");hr.push("url(");hr.push(JSON.stringify(VAe()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.standard_edition_migration_aDJcI{background-image:");hr.push("url(");hr.push(JSON.stringify(ZIi()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.import_standard_DwHh6{background-image:");hr.push("url(");hr.push(JSON.stringify(JIi()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.import_altium_POZ9E{background-image:");hr.push("url(");hr.push(JSON.stringify(qIi()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.import_kicad_fxgWc{background-image:");hr.push("url(");hr.push(JSON.stringify(XIi()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.import_other_4KoMM{background-image:");hr.push("url(");hr.push(JSON.stringify($Ii()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.setting_FtMjV{background-image:");hr.push("url(");hr.push(JSON.stringify(eLi()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div.about_nOQSl{background-image:");hr.push("url(");hr.push(JSON.stringify(tLi()));hr.push(")");hr.push("}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .use_page_quick_start_N-reG div>div:hover{background-color:var(--common-hover-bg-color);border-radius:2px}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .editor_start_service_page_s-lcp{-webkit-box-flex:0;-webkit-flex:0 1 50%;-moz-box-flex:0;flex:0 1 50%;margin-left:8px;padding:8px;vertical-align:top}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .editor_start_service_page_s-lcp .tool-grid_HN--v{display:inline-block;margin-bottom:6px;padding-top:8px;width:80px}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .editor_start_service_page_s-lcp .service-tool-grids_uZkLO{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-top:8px}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .editor_start_service_page_s-lcp .service-tool-grids_uZkLO>a{cursor:pointer}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .editor_start_service_page_s-lcp .service-tool-grids_uZkLO .tool-grid__icon_8gevs img{height:40px;width:40px}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .editor_start_service_page_s-lcp .service-tool-grids_uZkLO>a.tool-grid_HN--v:not(.addService_4ItLi){position:relative}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .editor_start_service_page_s-lcp .service-tool-grids_uZkLO>a.tool-grid_HN--v:not(.addService_4ItLi):hover{background:var(--common-hover-bg-color);border-radius:2px}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .editor_start_service_page_s-lcp .service-tool-grids_uZkLO>a.tool-grid_HN--v:not(.addService_4ItLi):hover span.edit_FCmls{visibility:visible}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .editor_start_service_page_s-lcp .service-tool-grids_uZkLO>a.tool-grid_HN--v:not(.addService_4ItLi) span.edit_FCmls{background-image:");hr.push("url(");hr.push(JSON.stringify(JQ()));hr.push(")");hr.push(";background-repeat:no-repeat;background-size:100% 100%;color:#1890ff;-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);height:12px;position:absolute;right:4px;top:0;visibility:hidden;width:12px;z-index:10}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .editor_start_service_page_s-lcp .service-tool-grids_uZkLO .addService_4ItLi{margin-top:-10px;padding-top:0}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .editor_start_service_page_s-lcp .service-tool-grids_uZkLO .add_RaEr3{background-image:");hr.push("url(");hr.push(JSON.stringify(iLi()));hr.push(")");hr.push(';background-position:50%;background-size:35px 35px;margin-top:5px}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .editor_start_service_page_s-lcp .tool-grid__icon_8gevs{height:40px;margin:0 auto;width:40px}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .editor_start_service_page_s-lcp .tool-grid__icon_8gevs+.tool-grid__label_MWHVJ{margin-top:4px}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .editor_start_service_page_s-lcp .tool-grid__icon_8gevs img{display:block;height:100%;width:100%}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .editor_start_service_page_s-lcp .tool-grid__label_MWHVJ{color:var(--common-font-color);display:block;font-size:14px;min-height:22px;overflow:hidden;padding:0 4px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_use_page_ZZJRz .start_page_mode_name_Zbucl{color:var(--common-font-color);display:inline-block}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA{color:var(--common-font-color);height:25vh;min-height:100px;overflow:hidden;padding:8px 10px 0}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA .header_Gp-rv{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:20px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA .header_Gp-rv .label_pmRYh{display:inline-block;font-weight:700;line-height:20px;min-width:20px;overflow:hidden;padding-right:16px;text-overflow:ellipsis;white-space:nowrap}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA .header_Gp-rv ul{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA .header_Gp-rv ul li{color:#999;cursor:pointer;float:left;list-style:none;overflow:hidden;padding:0 8px;text-overflow:ellipsis;white-space:nowrap}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA .header_Gp-rv ul li.active_YLzbY{color:#40a9ff}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA .header_Gp-rv ul li:not(:last-child){border-right:1px solid #ccc}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA .header_Gp-rv ul li:focus{color:#40a9ff}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA .header_Gp-rv>p{font-size:14px}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA .header_Gp-rv p,.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA .header_Gp-rv ul{vertical-align:middle}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA #recentPrjTable{height:-webkit-calc(100% - 28px);height:-moz-calc(100% - 28px);height:calc(100% - 28px);margin-top:8px}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA #recentPrjTable .t_header_fD7dD{background:var(--bg-color-table-header)}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA #recentPrjTable .prj_no_GFuo1{text-align:center}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA #recentPrjTable .prj_item_ktEqs{display:grid;grid-template-columns:1fr 21fr 4fr 4fr 4fr}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA #recentPrjTable .prj_item_ktEqs>span{line-height:24px;vertical-align:middle}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA #recentPrjTable .prj_item_ktEqs:not(.t_header_fD7dD) .prj_name_7ZHBU{color:#1890ff}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA #recentPrjTable .prj_item_ktEqs:focus{background:#f1f1f1}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA #recentPrjTable #prj_list{height:-webkit-calc(100% - 24px);height:-moz-calc(100% - 24px);height:calc(100% - 24px);overflow-y:auto;overflow-y:overlay}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA #recentPrjTable #prj_list .prj_item_ktEqs{cursor:pointer}.start-page-container_N-nfN .start_left_page_KyUqw .editor_start_project_page_R5mrA #recentPrjTable #prj_list .tips_qHZAj{margin-top:50px;text-align:center}.start-page-container_N-nfN .start_right_page_UIHEU{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;background:var(--bg-color-startPage);flex-direction:column;margin-left:10px;overflow:auto;width:-webkit-calc(20% - 2px);width:-moz-calc(20% - 2px);width:calc(20% - 2px)}.start-page-container_N-nfN .start_right_page_UIHEU ul{padding:0}.start-page-container_N-nfN .start_right_page_UIHEU .notice-introduction_xbf1m{border:1px solid var(--common-border-color-2);height:auto;overflow:hidden;padding-bottom:100%;position:relative;width:100%}.start-page-container_N-nfN .start_right_page_UIHEU .notice-introduction_xbf1m>ul{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;left:0;position:absolute;top:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:100%;overflow:hidden;width:100%}.start-page-container_N-nfN .start_right_page_UIHEU .notice-introduction_xbf1m>ul .introduction-item_jKMGV{list-style:none;overflow:hidden}.start-page-container_N-nfN .start_right_page_UIHEU .notice-introduction_xbf1m>ul .introduction-item_jKMGV>a{border-radius:4px;display:block;height:100%;overflow:hidden}.start-page-container_N-nfN .start_right_page_UIHEU .notice-introduction_xbf1m>ul .introduction-item_jKMGV img{max-height:100%;width:100%}.start-page-container_N-nfN .start_right_page_UIHEU .notice-introduction_xbf1m>ul li.introduction-item_jKMGV+li.introduction-item_jKMGV{margin-top:8px}.start-page-container_N-nfN .start_right_page_UIHEU .notice-tools_7UZOc{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;color:var(--common-font-color);flex-grow:1;margin-top:10px;padding:10px}.start-page-container_N-nfN .start_right_page_UIHEU .notice-tools_7UZOc h3{margin-bottom:8px}.start-page-container_N-nfN .start_right_page_UIHEU .notice-tools_7UZOc li{list-style:none;margin-right:10px}.start-page-container_N-nfN .start_right_page_UIHEU .notice-tools_7UZOc li.active span{color:red}.start-page-container_N-nfN .start_right_page_UIHEU .notice-tools_7UZOc li.active2 span{color:gray}.start-page-container_N-nfN .start_right_page_UIHEU .notice-tools_7UZOc li.active3 span{color:green}.start-page-container_N-nfN .start_right_page_UIHEU .notice-tools_7UZOc li *{color:#504c4c}.start-page-container_N-nfN .start_right_page_UIHEU a.fire_6yWjt:after{padding-bottom:3px}.start-page-container_N-nfN .nowrap_tOAWO{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:keep-all}.start-page-container_N-nfN .box_shadow_bIxGf{border:1px solid var(--common-border-color-2);border-radius:4px;box-shadow:-1px -1px 6px var(--common-border-color-2)}.start-page-container_N-nfN .img_I1ZaR{background-repeat:no-repeat;background-size:100% 100%;-moz-background-size:100% 100%}.start-page-container_N-nfN h3{font-size:14px}.start-page-container_N-nfN a{text-decoration:none}.start-page-container_N-nfN a:not(.start-page-ad-img-wrapper_YzzUp):hover{border-bottom:none!important}.dlgEditServiceReact_cHZ-h .form_b6Qot{border:1px solid var(--common-border-color);padding:8px}.dlgEditServiceReact_cHZ-h .form_b6Qot .form-item_Mg5nC{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:16px 0;padding:4px 0;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.dlgEditServiceReact_cHZ-h .form_b6Qot .form-item_Mg5nC .form-label_DkHwq{font-size:14px;margin-left:8px;margin-right:8px;max-width:110px;min-width:80px;overflow:hidden;position:relative;text-align:right;text-overflow:ellipsis;white-space:nowrap;width:80px}.dlgEditServiceReact_cHZ-h .form_b6Qot .form-item_Mg5nC input,.dlgEditServiceReact_cHZ-h .form_b6Qot .form-item_Mg5nC select{height:28px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.dlgEditServiceReact_cHZ-h .form_b6Qot .form-item_Mg5nC .tips_qHZAj{color:#ccc;display:inline-block;height:20px;line-height:20px;margin-top:8px}.dlgEditServiceReact_cHZ-h .form_b6Qot .form-item_Mg5nC .upload-area_ecygF{display:inline-block;margin:0}.dlgEditServiceReact_cHZ-h .form_b6Qot .form-item_Mg5nC .upload-area_ecygF img{height:48px;width:48px}.dlgEditServiceReact_cHZ-h .form_b6Qot .form-item_Mg5nC[required]>.label_pmRYh:after{color:red;content:"*";display:inline-block;left:0;position:absolute;top:0}.dlgEditServiceReact_cHZ-h .form_b6Qot .form-item_Mg5nC .link_C16Iw{color:#1890ff;cursor:pointer;margin-right:8px;text-decoration:underline}.dlgEditServiceReact_cHZ-h .form_b6Qot .align-center_eRMUW{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.dlgEditServiceReact_cHZ-h .footer-wrapper_OIT0k{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;margin-top:16px}.float-bar_XZfap{bottom:20%;display:block;height:auto;position:absolute;right:34px;width:62px}.float-bar_XZfap .float-ul_veQ-7{border:1px solid var(--common-border-color-2);border-bottom:0}.float-bar_XZfap .float-ul_veQ-7 li{background:var(--bg-color-floatBar);border-bottom:1px solid var(--common-border-color-2);height:60px;margin:0;text-align:center}.float-bar_XZfap .float-ul_veQ-7 li a{height:100%}.float-bar_XZfap .float-ul_veQ-7 li a span.icon_HT-ii{background-position:50%;background-size:28px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);width:100%;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;opacity:.7}.float-bar_XZfap .float-ul_veQ-7 li a span.label_pmRYh{color:var(--common-font-color);height:22px;margin-top:-5px;width:50px}.float-bar_XZfap .flex_center_-oYP-{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.float-bar_XZfap .float-ul_veQ-7 a.flex_center_-oYP-{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.float-bar_XZfap .float-ul_veQ-7 span.icon_HT-ii{font-size:25px;padding-top:19px}.float-bar_XZfap .float-ul_veQ-7 li:hover span.i18n_45lok{display:block}.float-bar_XZfap .float-ul_veQ-7 li:hover{background:#58f}.float-bar_XZfap .float-ul_veQ-7 li:hover a,.float-bar_XZfap .float-ul_veQ-7 li:hover a .icon_HT-ii:before{color:#fff}.float-bar_XZfap div.item_qIsDM{background:var(--bg-color-floatBar);border-right:0;border:1px solid var(--common-border-color-2);color:var(--common-font-color);position:absolute;right:62px;width:136px}.float-bar_XZfap div.item_qIsDM>div{padding-left:10px}.float-bar_XZfap div.item_qIsDM .num_info_S0-IJ{color:#599dfd;padding-left:14px}.float-bar_XZfap .show-wrap_ulWM0 .qq_P-SaJ{height:145px;top:1px;width:245px}.float-bar_XZfap .show-wrap_ulWM0 .ecad-qq_yuT8O{width:122px}.float-bar_XZfap .show-wrap_ulWM0 .weixin_t7n-R{height:145px;top:60px}.float-bar_XZfap div.item_qIsDM:not(.unafter_n85Rc):after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid var(--common-border-color);content:"";height:0;position:absolute;right:-7px;top:28px;-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);transform:rotate(270deg);width:0}.float-bar_XZfap a{color:#504c4c;text-decoration:none}.float-bar_XZfap li{list-style-type:none}.float-bar_XZfap .float-qq-qun_GewCn,.float-bar_XZfap .float-wx-public_nSYTN{right:199px!important}.float-bar_XZfap .float-tel_b8IZ9{right:62px!important;top:120px!important}');hr=hr.join("");oLi.exports={uuid:"11f6eec7-6318-407d-96c2-d87daf854a9d",locals:{"icon-eda-x-circle":"icon-eda-x-circle_6cxg0","clear-input-circle":"clear-input-circle_2fcWe","start-page-container":"start-page-container_N-nfN",start_left_page:"start_left_page_KyUqw","carousel-chart":"carousel-chart_cjoui","carousel-chart-img":"carousel-chart-img_5zr-K","carousel-chart-pagination":"carousel-chart-pagination_a4UCh","carousel-chart-pagination-dot":"carousel-chart-pagination-dot_j5x5r",active:"active_YLzbY","carousel-chart-next":"carousel-chart-next_8q1wB","carousel-chart-prev":"carousel-chart-prev_xTe9v","carousel-chart-next-icon":"carousel-chart-next-icon_s4Xqs","carousel-chart-prev-icon":"carousel-chart-prev-icon_JVeHU",editor_start_use_page:"editor_start_use_page_ZZJRz",use_page_quick_start:"use_page_quick_start_N-reG","import-list":"import-list_CKDyg",item:"item_qIsDM","new-list":"new-list_1sNcF","other-list":"other-list_VuJh7",content:"content_gQMrJ",around:"around_Hj-rO",item_s:"item_s_j81cj",a_link:"a_link_asHlZ",new_schematic:"new_schematic_4WVtn",is_client:"is_client_P-9-o",client_start_project:"client_start_project_pLCgl",new_library:"new_library_KrkNt",new_symbol:"new_symbol_Y-d5N",new_cbb:"new_cbb_tFcdr",new_device:"new_device_Os2dp",new_package:"new_package_PFkan",new_3dmodel:"new_3dmodel_cLRYW",import_profession:"import_profession_Rs79l",import_ecad:"import_ecad_XW2Ry",standard_edition_migration:"standard_edition_migration_aDJcI",import_standard:"import_standard_DwHh6",import_altium:"import_altium_POZ9E",import_kicad:"import_kicad_fxgWc",import_other:"import_other_4KoMM",setting:"setting_FtMjV",about:"about_nOQSl",editor_start_service_page:"editor_start_service_page_s-lcp","tool-grid":"tool-grid_HN--v","service-tool-grids":"service-tool-grids_uZkLO","tool-grid__icon":"tool-grid__icon_8gevs",addService:"addService_4ItLi",edit:"edit_FCmls",add:"add_RaEr3","tool-grid__label":"tool-grid__label_MWHVJ",start_page_mode_name:"start_page_mode_name_Zbucl",editor_start_project_page:"editor_start_project_page_R5mrA",header:"header_Gp-rv",label:"label_pmRYh",t_header:"t_header_fD7dD",prj_no:"prj_no_GFuo1",prj_item:"prj_item_ktEqs",prj_name:"prj_name_7ZHBU",tips:"tips_qHZAj",start_right_page:"start_right_page_UIHEU","notice-introduction":"notice-introduction_xbf1m","introduction-item":"introduction-item_jKMGV","notice-tools":"notice-tools_7UZOc",fire:"fire_6yWjt",nowrap:"nowrap_tOAWO",box_shadow:"box_shadow_bIxGf",img:"img_I1ZaR","start-page-ad-img-wrapper":"start-page-ad-img-wrapper_YzzUp",dlgEditServiceReact:"dlgEditServiceReact_cHZ-h",form:"form_b6Qot","form-item":"form-item_Mg5nC","form-label":"form-label_DkHwq","upload-area":"upload-area_ecygF",link:"link_C16Iw","align-center":"align-center_eRMUW","footer-wrapper":"footer-wrapper_OIT0k","float-bar":"float-bar_XZfap","float-ul":"float-ul_veQ-7",icon:"icon_HT-ii",flex_center:"flex_center_-oYP-",i18n:"i18n_45lok",num_info:"num_info_S0-IJ","show-wrap":"show-wrap_ulWM0",qq:"qq_P-SaJ","ecad-qq":"ecad-qq_yuT8O",weixin:"weixin_t7n-R",unafter:"unafter_n85Rc","float-qq-qun":"float-qq-qun_GewCn","float-wx-public":"float-wx-public_nSYTN","float-tel":"float-tel_b8IZ9"},toString(){return hr}}});var OLi=xe((jGa,z3r)=>{z3r.exports="data:image/svg+xml;base64, "});var LSt=xe((BGa,RLi)=>{var DJ=[];DJ.push('.icon-eda-x-circle_BANGn.clear-input-circle_wcG2J{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.toolbar-common_51-3M{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:32px;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.toolbar-common_51-3M svg.logo_sRIM1{border:0;height:33px;width:96px}.toolbar-common_51-3M a#modelogo{border:0;display:block;height:33px;padding:0 7px;width:108px}.toolbar-common_51-3M .top-bar-menu-container_IKePh{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.toolbar-common_51-3M .top-bar-menu-container_IKePh .top-bar-menu_JIQpX{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-flex-shrink:0;flex-shrink:0}.toolbar-common_51-3M .top-bar-menu-container_IKePh .top-bar-menu_JIQpX div[class*=eda-menu-btn]{color:var(--font-color-top-bar);height:22px;line-height:30px;margin-right:4px;vertical-align:middle}.toolbar-common_51-3M .top-bar-menu-container_IKePh .top-bar-menu_JIQpX div[class*=eda-menu-btn].overflow_BgFQd{display:none}.toolbar-common_51-3M .top-bar-menu-container_IKePh .top-bar-menu_JIQpX div[class*=eda-menu-btn]>span[class*=eda-menu-btn-active]{background:var(--bg-color-selected-top-bar);color:var(--font-color-selected-top-bar);text-shadow:1px 0 0 currentColor}.toolbar-common_51-3M .top-bar-menu-container_IKePh .top-bar-menu_JIQpX div[class*=eda-menu-btn]>span[class*=eda-menu-btn-top]{border-radius:2px;color:var(--font-color-top-bar);padding:0 8px}.toolbar-common_51-3M .top-bar-menu-container_IKePh .top-bar-menu_JIQpX div[class*=eda-menu-btn]>span[class*=eda-menu-btn-top]:hover{background:var(--bg-color-hover-top-bar);color:var(--font-color-hover-top-bar);text-shadow:1px 0 0 currentColor}.toolbar-common_51-3M .top-bar-menu-container_IKePh .top-bar-menu_JIQpX .LiveQOrA_bpT13{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:#fff;cursor:pointer;font-size:14px;height:22px;line-height:22px;margin-right:4px;padding:0 8px}.toolbar-common_51-3M .top-bar-menu-container_IKePh .top-bar-menu_JIQpX .LiveQOrA_bpT13:hover{background:var(--bg-color-hover-top-bar);color:var(--font-color-hover-top-bar);text-shadow:1px 0 0 currentColor}.toolbar-common_51-3M .top-bar-menu-container_IKePh .top-bar-menu_JIQpX .eda-menu-btn-active_PqZjh{background:var(--bg-color-selected-top-bar);color:var(--font-color-selected-top-bar);text-shadow:1px 0 0 currentColor}.toolbar-common_51-3M .top-bar-menu-container_IKePh .top-bar-menu_JIQpX .tool-bottom-menu-more_SoDfO{cursor:pointer;display:inline-block;font-size:20px;height:30px;position:relative;width:32px}.toolbar-common_51-3M .top-bar-menu-container_IKePh .top-bar-menu_JIQpX .tool-bottom-menu-more_SoDfO .icon-eda-move-down-line_HRGVM{background-position:50%;background-repeat:no-repeat;display:inline-block;-webkit-filter:invert(99%) sepia(56%) saturate(63%) hue-rotate(135deg) brightness(118%) contrast(100%);filter:invert(99%) sepia(56%) saturate(63%) hue-rotate(135deg) brightness(118%) contrast(100%);height:100%;width:100%}.toolbar-common_51-3M .top-bar-menu-container_IKePh .top-bar-menu_JIQpX .tool-bottom-menu-more_SoDfO .tool-bottom-menu-more-container_NmJv7{-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background:var(--bg-color-top-bar);border:1px solid var(--border-color-top-bar-menu-more);box-shadow:0 1px 6px rgba(0,0,0,.2);cursor:default;min-height:32px;padding:4px 8px;position:fixed;z-index:1100}.toolbar-common_51-3M .top-bar-menu-container_IKePh .top-bar-menu_JIQpX .tool-bottom-menu-more_SoDfO .tool-bottom-menu-more-container_NmJv7>div{-webkit-flex-shrink:0;flex-shrink:0}.toolbar-common_51-3M .top-bar-menu-container_IKePh .client-drag-area_lTrGv{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;-webkit-app-region:drag;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toolbar-common_51-3M #mm-common-recentProjects>div[class*=eda-menu-item]>div[class*=eda-menu-item-text]>span[data-subhotkey]{max-width:540px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toolbar-common_51-3M .icon-eda-arrowup_0stOa:before{content:"\\e97e"}.toolbar-common_51-3M .icon-eda-arrowdown_srA5h:before{content:"\\e980"}.ecad-logo_v7JDT{background-image:');DJ.push("url(");DJ.push(JSON.stringify(OLi()));DJ.push(")");DJ.push(";background-position:50%;background-repeat:no-repeat;cursor:auto;height:33px;width:108px}");DJ=DJ.join("");RLi.exports={uuid:"fe117a07-a0aa-4b0d-964c-d91766428e43",locals:{"icon-eda-x-circle":"icon-eda-x-circle_BANGn","clear-input-circle":"clear-input-circle_wcG2J","toolbar-common":"toolbar-common_51-3M",logo:"logo_sRIM1","top-bar-menu-container":"top-bar-menu-container_IKePh","top-bar-menu":"top-bar-menu_JIQpX",overflow:"overflow_BgFQd",LiveQOrA:"LiveQOrA_bpT13","eda-menu-btn-active":"eda-menu-btn-active_PqZjh","tool-bottom-menu-more":"tool-bottom-menu-more_SoDfO","icon-eda-move-down-line":"icon-eda-move-down-line_HRGVM","tool-bottom-menu-more-container":"tool-bottom-menu-more-container_NmJv7","client-drag-area":"client-drag-area_lTrGv","icon-eda-arrowup":"icon-eda-arrowup_0stOa","icon-eda-arrowdown":"icon-eda-arrowdown_srA5h","ecad-logo":"ecad-logo_v7JDT"},toString(){return DJ}}});var cvi=xe((gKa,lvi)=>{var EA=[];EA.push(".icon-eda-x-circle_6ncoW.clear-input-circle_mbYeO{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.eda_eye_PRzmF{background:transparent;background-image:");EA.push("url(");EA.push(JSON.stringify(s3()));EA.push(")");EA.push(";background-position:50%;background-repeat:no-repeat;background-size:100% 100%;min-width:20px}.eda_eye_PRzmF,.eda_no_eyes_Lirja{cursor:pointer;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:16px;margin-left:4px;pointer-events:auto;position:relative;width:20px}.eda_no_eyes_Lirja,.eda_no_eyes_panel_ZKcY2{background:transparent;background-image:");EA.push("url(");EA.push(JSON.stringify(Jx()));EA.push(")");EA.push(";background-position:50%;background-repeat:no-repeat;background-size:100% 100%;opacity:.25}.eda_no_eyes_panel_ZKcY2{cursor:pointer;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);-webkit-filter:invert(18%) sepia(94%) saturate(6819%) hue-rotate(356deg) brightness(91%) contrast(123%);filter:invert(18%) sepia(94%) saturate(6819%) hue-rotate(356deg) brightness(91%) contrast(123%);opacity:1;pointer-events:auto;position:relative}.block_xzpAD,.eda_no_eyes_panel_ZKcY2{height:16px;margin-left:4px;width:20px}.block_xzpAD{-webkit-box-flex:0;-webkit-flex:0 0 20px;-moz-box-flex:0;background:#bfbfbf;flex:0 0 20px;margin-right:4px;pointer-events:none}.hr_EMoX-{background-color:var(--common-border-color);border:none;height:1px;width:100%}.filter_item_K-xqk{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:3px 0;padding:0 10px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-moz-box-sizing:border-box;box-sizing:border-box}");EA=EA.join("");lvi.exports={uuid:"667cb9fa-6de7-4f35-bf97-0d93941ab1f0",locals:{"icon-eda-x-circle":"icon-eda-x-circle_6ncoW","clear-input-circle":"clear-input-circle_mbYeO",eda_eye:"eda_eye_PRzmF",eda_no_eyes:"eda_no_eyes_Lirja",eda_no_eyes_panel:"eda_no_eyes_panel_ZKcY2",block:"block_xzpAD",hr:"hr_EMoX-",filter_item:"filter_item_K-xqk"},toString(){return EA}}});var mvi=xe((IKa,pvi)=>{var yFe=[];yFe.push(".list_m4RlK{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}");yFe=yFe.join("");pvi.exports={uuid:"d93308e0-32dd-42d2-896c-4746fcad8a4d",locals:{list:"list_m4RlK"},toString(){return yFe}}});var gvi=xe((EKa,fvi)=>{var wFe=[];wFe.push(".filter_selector_main_naXmJ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;height:40px}");wFe=wFe.join("");fvi.exports={uuid:"0cc4e669-07e5-41f2-9f21-b0b4cb6999d9",locals:{filter_selector_main:"filter_selector_main_naXmJ"},toString(){return wFe}}});var JV=xe((KZa,Dvi)=>{var SFe=[];SFe.push(".container_fWiyJ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background-color:var(--bg-color-canvas-info);-moz-box-sizing:border-box;box-sizing:border-box;height:24px;padding-left:4px;width:100%}.container-left_Qal7F{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;height:100%}.container-right_at8wc{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end}.container-right_at8wc,.mousecoordination-container_VhoRF{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background-color:var(--bg-color-canvas-info);color:var(--common-font-color);height:100%}.mousecoordination-container_VhoRF{padding-left:2px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mousecoordination-container-display-number_DmoNW{display:inline-block;min-width:48px;text-align:center}.canvas-scale-container_IG1wX{background-color:transparent!important;background-color:initial!important;border-right:1px solid var(--common-border-color);height:100%;width:80px}.canvas-scale-container_IG1wX .canvas-scale_p5thD{-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;height:100%;width:100%}.canvas-scale-input_uuruJ{height:100%}.canvas-scale-input_uuruJ,.pcb-canvas-scale-input_i2h1b{background-color:transparent!important;background-color:initial!important;border:none!important;cursor:pointer}.pcb-canvas-scale-input_i2h1b{height:24px!important}.canvas-unit-container_KlxAK{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;border-right:1px solid var(--common-border-color);height:100%;width:58px}.canvas-unit-container_KlxAK .canvas-unit-container-select_1PDaE{background-color:transparent!important;background-color:initial!important;border:none}.canvas-grid-style-container_7uP4w{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;border-right:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;height:24px;justify-content:center;width:24px}.canvas-grid-style-container_7uP4w span{display:inline-block;height:16px;width:16px}.canvas-grid-size-container_e-PM-{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;border-right:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;height:22px;width:58px}.pcb-canvas-grid-size-container_tNndq{width:80px}.pcb-canvas-grid-size-container_tNndq input{background-color:transparent!important;background-color:initial!important;height:24px!important}.canvas-alt-grid-size-container_81LyU{border-right:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;height:100%;width:58px}.canvas-alt-grid-size-container_81LyU input{background-color:transparent!important;background-color:initial!important}.canvas-snap-container_CrV-N{-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;height:100%;width:24px}.canvas-snap-container_CrV-N.canvas-snap-select_SKjnS{background:var(--bg-toolbar-icon-selected);color:#1890ff}.canvas-snap-container_CrV-N.canvas-snap-select_SKjnS span{-webkit-filter:var(--icon-color-selected-toolbar);filter:var(--icon-color-selected-toolbar)}.canvas-snap-container_CrV-N .canvas-snap-icon_VCsOx{background-position:50% 50%;display:inline-block;height:100%;width:100%}");SFe=SFe.join("");Dvi.exports={uuid:"c4a77faa-6700-49ee-af9f-81c7749280c9",locals:{container:"container_fWiyJ","container-left":"container-left_Qal7F","container-right":"container-right_at8wc","mousecoordination-container":"mousecoordination-container_VhoRF","mousecoordination-container-display-number":"mousecoordination-container-display-number_DmoNW","canvas-scale-container":"canvas-scale-container_IG1wX","canvas-scale":"canvas-scale_p5thD","canvas-scale-input":"canvas-scale-input_uuruJ","pcb-canvas-scale-input":"pcb-canvas-scale-input_i2h1b","canvas-unit-container":"canvas-unit-container_KlxAK","canvas-unit-container-select":"canvas-unit-container-select_1PDaE","canvas-grid-style-container":"canvas-grid-style-container_7uP4w","canvas-grid-size-container":"canvas-grid-size-container_e-PM-","pcb-canvas-grid-size-container":"pcb-canvas-grid-size-container_tNndq","canvas-alt-grid-size-container":"canvas-alt-grid-size-container_81LyU","canvas-snap-container":"canvas-snap-container_CrV-N","canvas-snap-select":"canvas-snap-select_SKjnS","canvas-snap-icon":"canvas-snap-icon_VCsOx"},toString(){return SFe}}});var rDi=xe((kXa,oDi)=>{var RFe=[];RFe.push(".eda-menu-btn-top_hO0Dg{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:#444;cursor:pointer;font-size:14px;height:22px;line-height:22px;padding:0 4px}.eda-menu-btn-top-text_QOuH2[data-hotkey]:after{content:attr(data-hotkey);display:inline-block;font-family:Arial Regular,Arial,serif;font-size:14px;height:22px;line-height:22px;vertical-align:top;white-space:nowrap}.eda-menu-btn-top-arrow_fZXnz{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid var(--common-font-color);margin-left:4px;margin-top:3px}.eda-menu-btn_YzjIq .eda-menu-btn-active_hodO2{border-radius:2px}");RFe=RFe.join("");oDi.exports={uuid:"4928b812-2e4f-4223-a598-71d3b60fc37e",locals:{"eda-menu-btn-top":"eda-menu-btn-top_hO0Dg","eda-menu-btn-top-text":"eda-menu-btn-top-text_QOuH2","eda-menu-btn-top-arrow":"eda-menu-btn-top-arrow_fZXnz","eda-menu-btn":"eda-menu-btn_YzjIq","eda-menu-btn-active":"eda-menu-btn-active_hodO2"},toString(){return RFe}}});var Ure=xe((jDi,hMt)=>{(function(t){typeof jDi=="object"&&typeof hMt<"u"?hMt.exports=t():typeof define=="function"&&define.amd?define([],t):(typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this).ExcelJS=t()})((function(){return(function t(e,i,o){function r(s,l){if(!i[s]){if(!e[s]){var c=typeof _h=="function"&&_h;if(!l&&c)return c(s,!0);if(n)return n(s,!0);var d=new Error("Cannot find module '"+s+"'");throw d.code="MODULE_NOT_FOUND",d}var u=i[s]={exports:{}};e[s][0].call(u.exports,(function(p){return r(e[s][1][p]||p)}),u,u.exports,t,e,i,o)}return i[s].exports}for(var n=typeof _h=="function"&&_h,a=0;a<o.length;a++)r(o[a]);return r})({1:[function(t,e,i){"use strict";let o=t("fs"),r=t("fast-csv"),n=t("dayjs/plugin/customParseFormat"),a=t("dayjs/plugin/utc"),s=t("dayjs").extend(n).extend(a),l=t("../utils/stream-buf"),{fs:{exists:c}}=t("../utils/utils"),d={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}};e.exports=class{constructor(u){this.workbook=u,this.worksheet=null}async readFile(u,p){if(p=p||{},!await c(u))throw new Error("File not found: "+u);let m=o.createReadStream(u),h=await this.read(m,p);return m.close(),h}read(u,p){return p=p||{},new Promise((m,h)=>{let f=this.workbook.addWorksheet(p.sheetName),g=p.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],b=p.map||function(w){if(w==="")return null;let x=Number(w);if(!Number.isNaN(x)&&x!==1/0)return x;let S=g.reduce((M,I)=>{if(M)return M;let A=s(w,I,!0);return A.isValid()?A:null},null);if(S)return new Date(S.valueOf());let T=d[w];return T!==void 0?T:w},y=r.parse(p.parserOptions).on("data",w=>{f.addRow(w.map(b))}).on("end",()=>{y.emit("worksheet",f)});y.on("worksheet",m).on("error",h),u.pipe(y)})}createInputStream(){throw new Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}write(u,p){return new Promise((m,h)=>{p=p||{};let f=this.workbook.getWorksheet(p.sheetName||p.sheetId),g=r.format(p.formatterOptions);u.on("finish",()=>{m()}),g.on("error",h),g.pipe(u);let{dateFormat:b,dateUTC:y}=p,w=p.map||(T=>{if(T){if(T.text||T.hyperlink)return T.hyperlink||T.text||"";if(T.formula||T.result)return T.result||"";if(T instanceof Date)return b?y?s.utc(T).format(b):s(T).format(b):y?s.utc(T).format():s(T).format();if(T.error)return T.error;if(typeof T=="object")return JSON.stringify(T)}return T}),x=p.includeEmptyRows===void 0||p.includeEmptyRows,S=1;f&&f.eachRow((T,M)=>{if(x)for(;S++<M-1;)g.write([]);let{values:I}=T;I.shift(),g.write(I.map(w)),S=M}),g.end()})}writeFile(u,p){let m={encoding:(p=p||{}).encoding||"utf8"},h=o.createWriteStream(u,m);return this.write(h,p)}async writeBuffer(u){let p=new l;return await this.write(p,u),p.read()}}},{"../utils/stream-buf":24,"../utils/utils":27,dayjs:391,"dayjs/plugin/customParseFormat":392,"dayjs/plugin/utc":393,"fast-csv":424,fs:216}],2:[function(t,e,i){"use strict";let o=t("../utils/col-cache");class r{constructor(a,s){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(this.worksheet=a,s)if(typeof s=="string"){let c=o.decodeAddress(s);this.nativeCol=c.col+l,this.nativeColOff=0,this.nativeRow=c.row+l,this.nativeRowOff=0}else s.nativeCol!==void 0?(this.nativeCol=s.nativeCol||0,this.nativeColOff=s.nativeColOff||0,this.nativeRow=s.nativeRow||0,this.nativeRowOff=s.nativeRowOff||0):s.col!==void 0?(this.col=s.col+l,this.row=s.row+l):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance(a){return a instanceof r||a==null?a:new r(a)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col(a){this.nativeCol=Math.floor(a),this.nativeColOff=Math.floor((a-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row(a){this.nativeRow=Math.floor(a),this.nativeRowOff=Math.floor((a-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}get rowHeight(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model(a){this.nativeCol=a.nativeCol,this.nativeColOff=a.nativeColOff,this.nativeRow=a.nativeRow,this.nativeRowOff=a.nativeRowOff}}e.exports=r},{"../utils/col-cache":19}],3:[function(t,e,i){"use strict";let o=t("../utils/col-cache"),r=t("../utils/under-dash"),n=t("./enums"),{slideFormula:a}=t("../utils/shared-formula"),s=t("./note");class l{constructor(u,p,m){if(!u||!p)throw new Error("A Cell needs a Row");this._row=u,this._column=p,o.validateAddress(m),this._address=m,this._value=c.create(l.Types.Null,this),this.style=this._mergeStyle(u.style,p.style,{}),this._mergeCount=0}get worksheet(){return this._row.worksheet}get workbook(){return this._row.worksheet.workbook}destroy(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}get numFmt(){return this.style.numFmt}set numFmt(u){this.style.numFmt=u}get font(){return this.style.font}set font(u){this.style.font=u}get alignment(){return this.style.alignment}set alignment(u){this.style.alignment=u}get border(){return this.style.border}set border(u){this.style.border=u}get fill(){return this.style.fill}set fill(u){this.style.fill=u}get protection(){return this.style.protection}set protection(u){this.style.protection=u}_mergeStyle(u,p,m){let h=u&&u.numFmt||p&&p.numFmt;h&&(m.numFmt=h);let f=u&&u.font||p&&p.font;f&&(m.font=f);let g=u&&u.alignment||p&&p.alignment;g&&(m.alignment=g);let b=u&&u.border||p&&p.border;b&&(m.border=b);let y=u&&u.fill||p&&p.fill;y&&(m.fill=y);let w=u&&u.protection||p&&p.protection;return w&&(m.protection=w),m}get address(){return this._address}get row(){return this._row.number}get col(){return this._column.number}get $col$row(){return`$${this._column.letter}$${this.row}`}get type(){return this._value.type}get effectiveType(){return this._value.effectiveType}toCsvString(){return this._value.toCsvString()}addMergeRef(){this._mergeCount++}releaseMergeRef(){this._mergeCount--}get isMerged(){return this._mergeCount>0||this.type===l.Types.Merge}merge(u,p){this._value.release(),this._value=c.create(l.Types.Merge,this,u),p||(this.style=u.style)}unmerge(){this.type===l.Types.Merge&&(this._value.release(),this._value=c.create(l.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{}))}isMergedTo(u){return this._value.type===l.Types.Merge&&this._value.isMergedTo(u)}get master(){return this.type===l.Types.Merge?this._value.master:this}get isHyperlink(){return this._value.type===l.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value(u){this.type!==l.Types.Merge?(this._value.release(),this._value=c.create(c.getType(u),this,u)):this._value.master.value=u}get note(){return this._comment&&this._comment.note}set note(u){this._comment=new s(u)}get text(){return this._value.toString()}get html(){return r.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink(u){this.type===l.Types.String&&(this._value=c.create(l.Types.Hyperlink,this,{text:this._value.value,hyperlink:u}))}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){let{worksheet:u}=this._row;return{sheetName:u.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name(u){this.names=[u]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names(u){let{definedNames:p}=this.workbook;p.removeAllNames(this.fullAddress),u.forEach(m=>{p.addEx(this.fullAddress,m)})}addName(u){this.workbook.definedNames.addEx(this.fullAddress,u)}removeName(u){this.workbook.definedNames.removeEx(this.fullAddress,u)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation(u){this._dataValidations.add(this.address,u)}get model(){let{model:u}=this._value;return u.style=this.style,this._comment&&(u.comment=this._comment.model),u}set model(u){if(this._value.release(),this._value=c.create(u.type,this),this._value.model=u,u.comment)switch(u.comment.type){case"note":this._comment=s.fromModel(u.comment)}u.style?this.style=u.style:this.style={}}}l.Types=n.ValueType;let c={getType:d=>d==null?l.Types.Null:d instanceof String||typeof d=="string"?l.Types.String:typeof d=="number"?l.Types.Number:typeof d=="boolean"?l.Types.Boolean:d instanceof Date?l.Types.Date:d.text&&d.hyperlink?l.Types.Hyperlink:d.formula||d.sharedFormula?l.Types.Formula:d.richText?l.Types.RichText:d.sharedString?l.Types.SharedString:d.error?l.Types.Error:l.Types.JSON,types:[{t:l.Types.Null,f:class{constructor(d){this.model={address:d.address,type:l.Types.Null}}get value(){return null}set value(d){}get type(){return l.Types.Null}get effectiveType(){return l.Types.Null}get address(){return this.model.address}set address(d){this.model.address=d}toCsvString(){return""}release(){}toString(){return""}}},{t:l.Types.Number,f:class{constructor(d,u){this.model={address:d.address,type:l.Types.Number,value:u}}get value(){return this.model.value}set value(d){this.model.value=d}get type(){return l.Types.Number}get effectiveType(){return l.Types.Number}get address(){return this.model.address}set address(d){this.model.address=d}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:l.Types.String,f:class{constructor(d,u){this.model={address:d.address,type:l.Types.String,value:u}}get value(){return this.model.value}set value(d){this.model.value=d}get type(){return l.Types.String}get effectiveType(){return l.Types.String}get address(){return this.model.address}set address(d){this.model.address=d}toCsvString(){return`"${this.model.value.replace(/"/g,'""')}"`}release(){}toString(){return this.model.value}}},{t:l.Types.Date,f:class{constructor(d,u){this.model={address:d.address,type:l.Types.Date,value:u}}get value(){return this.model.value}set value(d){this.model.value=d}get type(){return l.Types.Date}get effectiveType(){return l.Types.Date}get address(){return this.model.address}set address(d){this.model.address=d}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}},{t:l.Types.Hyperlink,f:class{constructor(d,u){this.model={address:d.address,type:l.Types.Hyperlink,text:u?u.text:void 0,hyperlink:u?u.hyperlink:void 0},u&&u.tooltip&&(this.model.tooltip=u.tooltip)}get value(){let d={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&&(d.tooltip=this.model.tooltip),d}set value(d){this.model={text:d.text,hyperlink:d.hyperlink},d.tooltip&&(this.model.tooltip=d.tooltip)}get text(){return this.model.text}set text(d){this.model.text=d}get hyperlink(){return this.model.hyperlink}set hyperlink(d){this.model.hyperlink=d}get type(){return l.Types.Hyperlink}get effectiveType(){return l.Types.Hyperlink}get address(){return this.model.address}set address(d){this.model.address=d}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}},{t:l.Types.Formula,f:class{constructor(d,u){this.cell=d,this.model={address:d.address,type:l.Types.Formula,shareType:u?u.shareType:void 0,ref:u?u.ref:void 0,formula:u?u.formula:void 0,sharedFormula:u?u.sharedFormula:void 0,result:u?u.result:void 0}}_copyModel(d){let u={},p=m=>{let h=d[m];h&&(u[m]=h)};return p("formula"),p("result"),p("ref"),p("shareType"),p("sharedFormula"),u}get value(){return this._copyModel(this.model)}set value(d){this.model=this._copyModel(d)}validate(d){switch(c.getType(d)){case l.Types.Null:case l.Types.String:case l.Types.Number:case l.Types.Date:break;case l.Types.Hyperlink:case l.Types.Formula:default:throw new Error("Cannot process that type of result value")}}get dependencies(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula(d){this.model.formula=d}get formulaType(){return this.model.formula?n.FormulaType.Master:this.model.sharedFormula?n.FormulaType.Shared:n.FormulaType.None}get result(){return this.model.result}set result(d){this.model.result=d}get type(){return l.Types.Formula}get effectiveType(){let d=this.model.result;return d==null?n.ValueType.Null:d instanceof String||typeof d=="string"?n.ValueType.String:typeof d=="number"?n.ValueType.Number:d instanceof Date?n.ValueType.Date:d.text&&d.hyperlink?n.ValueType.Hyperlink:d.formula?n.ValueType.Formula:n.ValueType.Null}get address(){return this.model.address}set address(d){this.model.address=d}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){let{worksheet:d}=this.cell,u=d.findCell(this.model.sharedFormula);this._translatedFormula=u&&a(u.formula,u.address,this.model.address)}return this._translatedFormula}toCsvString(){return""+(this.model.result||"")}release(){}toString(){return this.model.result?this.model.result.toString():""}}},{t:l.Types.Merge,f:class{constructor(d,u){this.model={address:d.address,type:l.Types.Merge,master:u?u.address:void 0},this._master=u,u&&u.addMergeRef()}get value(){return this._master.value}set value(d){d instanceof l?(this._master&&this._master.releaseMergeRef(),d.addMergeRef(),this._master=d):this._master.value=d}isMergedTo(d){return d===this._master}get master(){return this._master}get type(){return l.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address(d){this.model.address=d}toCsvString(){return""}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}},{t:l.Types.JSON,f:class{constructor(d,u){this.model={address:d.address,type:l.Types.String,value:JSON.stringify(u),rawValue:u}}get value(){return this.model.rawValue}set value(d){this.model.rawValue=d,this.model.value=JSON.stringify(d)}get type(){return l.Types.String}get effectiveType(){return l.Types.String}get address(){return this.model.address}set address(d){this.model.address=d}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}},{t:l.Types.SharedString,f:class{constructor(d,u){this.model={address:d.address,type:l.Types.SharedString,value:u}}get value(){return this.model.value}set value(d){this.model.value=d}get type(){return l.Types.SharedString}get effectiveType(){return l.Types.SharedString}get address(){return this.model.address}set address(d){this.model.address=d}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:l.Types.RichText,f:class{constructor(d,u){this.model={address:d.address,type:l.Types.String,value:u}}get value(){return this.model.value}set value(d){this.model.value=d}toString(){return this.model.value.richText.map(d=>d.text).join("")}get type(){return l.Types.RichText}get effectiveType(){return l.Types.RichText}get address(){return this.model.address}set address(d){this.model.address=d}toCsvString(){return`"${this.text.replace(/"/g,'""')}"`}release(){}}},{t:l.Types.Boolean,f:class{constructor(d,u){this.model={address:d.address,type:l.Types.Boolean,value:u}}get value(){return this.model.value}set value(d){this.model.value=d}get type(){return l.Types.Boolean}get effectiveType(){return l.Types.Boolean}get address(){return this.model.address}set address(d){this.model.address=d}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}},{t:l.Types.Error,f:class{constructor(d,u){this.model={address:d.address,type:l.Types.Error,value:u}}get value(){return this.model.value}set value(d){this.model.value=d}get type(){return l.Types.Error}get effectiveType(){return l.Types.Error}get address(){return this.model.address}set address(d){this.model.address=d}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}}].reduce((d,u)=>(d[u.t]=u.f,d),[]),create(d,u,p){let m=this.types[d];if(!m)throw new Error("Could not create Value of type "+d);return new m(u,p)}};e.exports=l},{"../utils/col-cache":19,"../utils/shared-formula":23,"../utils/under-dash":26,"./enums":7,"./note":9}],4:[function(t,e,i){"use strict";let o=t("../utils/under-dash"),r=t("./enums"),n=t("../utils/col-cache");class a{constructor(l,c,d){this._worksheet=l,this._number=c,d!==!1&&(this.defn=d)}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return n.n2l(this._number)}get isCustomWidth(){return this.width!==void 0&&this.width!==9}get defn(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}}set defn(l){l?(this.key=l.key,this.width=l.width!==void 0?l.width:9,this.outlineLevel=l.outlineLevel,l.style?this.style=l.style:this.style={},this.header=l.header,this._hidden=!!l.hidden):(delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0)}get headers(){return this._header&&this._header instanceof Array?this._header:[this._header]}get header(){return this._header}set header(l){l!==void 0?(this._header=l,this.headers.forEach((c,d)=>{this._worksheet.getCell(d+1,this.number).value=c})):this._header=void 0}get key(){return this._key}set key(l){(this._key&&this._worksheet.getColumnKey(this._key))===this&&this._worksheet.deleteColumnKey(this._key),this._key=l,l&&this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden(l){this._hidden=l}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(l){this._outlineLevel=l}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}toString(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}equivalentTo(l){return this.width===l.width&&this.hidden===l.hidden&&this.outlineLevel===l.outlineLevel&&o.isEqual(this.style,l.style)}get isDefault(){if(this.isCustomWidth||this.hidden||this.outlineLevel)return!1;let l=this.style;return!l||!(l.font||l.numFmt||l.alignment||l.border||l.fill||l.protection)}get headerCount(){return this.headers.length}eachCell(l,c){let d=this.number;c||(c=l,l=null),this._worksheet.eachRow(l,(u,p)=>{c(u.getCell(d),p)})}get values(){let l=[];return this.eachCell((c,d)=>{c&&c.type!==r.ValueType.Null&&(l[d]=c.value)}),l}set values(l){if(!l)return;let c=this.number,d=0;l.hasOwnProperty("0")&&(d=1),l.forEach((u,p)=>{this._worksheet.getCell(p+d,c).value=u})}_applyStyle(l,c){return this.style[l]=c,this.eachCell(d=>{d[l]=c}),c}get numFmt(){return this.style.numFmt}set numFmt(l){this._applyStyle("numFmt",l)}get font(){return this.style.font}set font(l){this._applyStyle("font",l)}get alignment(){return this.style.alignment}set alignment(l){this._applyStyle("alignment",l)}get protection(){return this.style.protection}set protection(l){this._applyStyle("protection",l)}get border(){return this.style.border}set border(l){this._applyStyle("border",l)}get fill(){return this.style.fill}set fill(l){this._applyStyle("fill",l)}static toModel(l){let c=[],d=null;return l&&l.forEach((u,p)=>{u.isDefault?d&&(d=null):d&&u.equivalentTo(d)?d.max=p+1:(d={min:p+1,max:p+1,width:u.width!==void 0?u.width:9,style:u.style,isCustomWidth:u.isCustomWidth,hidden:u.hidden,outlineLevel:u.outlineLevel,collapsed:u.collapsed},c.push(d))}),c.length?c:void 0}static fromModel(l,c){let d=[],u=1,p=0;for(c=(c=c||[]).sort((function(m,h){return m.min-h.min}));p<c.length;){let m=c[p++];for(;u<m.min;)d.push(new a(l,u++));for(;u<=m.max;)d.push(new a(l,u++,m))}return d.length?d:null}}e.exports=a},{"../utils/col-cache":19,"../utils/under-dash":26,"./enums":7}],5:[function(t,e,i){"use strict";e.exports=class{constructor(o){this.model=o||{}}add(o,r){return this.model[o]=r}find(o){return this.model[o]}remove(o){this.model[o]=void 0}}},{}],6:[function(t,e,i){"use strict";let o=t("../utils/under-dash"),r=t("../utils/col-cache"),n=t("../utils/cell-matrix"),a=t("./range"),s=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/;e.exports=class{constructor(){this.matrixMap={}}getMatrix(l){return this.matrixMap[l]||(this.matrixMap[l]=new n)}add(l,c){let d=r.decodeEx(l);this.addEx(d,c)}addEx(l,c){let d=this.getMatrix(c);if(l.top)for(let u=l.left;u<=l.right;u++)for(let p=l.top;p<=l.bottom;p++){let m={sheetName:l.sheetName,address:r.n2l(u)+p,row:p,col:u};d.addCellEx(m)}else d.addCellEx(l)}remove(l,c){let d=r.decodeEx(l);this.removeEx(d,c)}removeEx(l,c){this.getMatrix(c).removeCellEx(l)}removeAllNames(l){o.each(this.matrixMap,c=>{c.removeCellEx(l)})}forEach(l){o.each(this.matrixMap,(c,d)=>{c.forEach(u=>{l(d,u)})})}getNames(l){return this.getNamesEx(r.decodeEx(l))}getNamesEx(l){return o.map(this.matrixMap,(c,d)=>c.findCellEx(l)&&d).filter(Boolean)}_explore(l,c){c.mark=!1;let{sheetName:d}=c,u=new a(c.row,c.col,c.row,c.col,d),p,m;function h(g,b){let y=l.findCellAt(d,g,c.col);return!(!y||!y.mark)&&(u[b]=g,y.mark=!1,!0)}for(m=c.row-1;h(m,"top");m--);for(m=c.row+1;h(m,"bottom");m++);function f(g,b){let y=[];for(m=u.top;m<=u.bottom;m++){let w=l.findCellAt(d,m,g);if(!w||!w.mark)return!1;y.push(w)}u[b]=g;for(let w=0;w<y.length;w++)y[w].mark=!1;return!0}for(p=c.col-1;f(p,"left");p--);for(p=c.col+1;f(p,"right");p++);return u}getRanges(l,c){return(c=c||this.matrixMap[l])?(c.forEach(d=>{d.mark=!0}),{name:l,ranges:c.map(d=>d.mark&&this._explore(c,d)).filter(Boolean).map(d=>d.$shortRange)}):{name:l,ranges:[]}}normaliseMatrix(l,c){l.forEachInSheet(c,(d,u,p)=>{d&&(d.row===u&&d.col===p||(d.row=u,d.col=p,d.address=r.n2l(p)+u))})}spliceRows(l,c,d,u){o.each(this.matrixMap,p=>{p.spliceRows(l,c,d,u),this.normaliseMatrix(p,l)})}spliceColumns(l,c,d,u){o.each(this.matrixMap,p=>{p.spliceColumns(l,c,d,u),this.normaliseMatrix(p,l)})}get model(){return o.map(this.matrixMap,(l,c)=>this.getRanges(c,l)).filter(l=>l.ranges.length)}set model(l){let c=this.matrixMap={};l.forEach(d=>{let u=c[d.name]=new n;d.ranges.forEach(p=>{s.test(p.split("!").pop()||"")&&u.addCell(p)})})}}},{"../utils/cell-matrix":18,"../utils/col-cache":19,"../utils/under-dash":26,"./range":10}],7:[function(t,e,i){"use strict";e.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}},{}],8:[function(t,e,i){"use strict";let o=t("../utils/col-cache"),r=t("./anchor");e.exports=class{constructor(n,a){this.worksheet=n,this.model=a}get model(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw new Error("Invalid Image Type")}}set model(n){let{type:a,imageId:s,range:l,hyperlinks:c}=n;if(this.type=a,this.imageId=s,a==="image")if(typeof l=="string"){let d=o.decode(l);this.range={tl:new r(this.worksheet,{col:d.left,row:d.top},-1),br:new r(this.worksheet,{col:d.right,row:d.bottom},0),editAs:"oneCell"}}else this.range={tl:new r(this.worksheet,l.tl,0),br:l.br&&new r(this.worksheet,l.br,0),ext:l.ext,editAs:l.editAs,hyperlinks:c||l.hyperlinks}}}},{"../utils/col-cache":19,"./anchor":2}],9:[function(t,e,i){"use strict";let o=t("../utils/under-dash");class r{constructor(a){this.note=a}get model(){let a=null;switch(typeof this.note){case"string":a={type:"note",note:{texts:[{text:this.note}]}};break;default:a={type:"note",note:this.note}}return o.deepMerge({},r.DEFAULT_CONFIGS,a)}set model(a){let{note:s}=a,{texts:l}=s;l.length===1&&Object.keys(l[0]).length===1?this.note=l[0].text:this.note=s}static fromModel(a){let s=new r;return s.model=a,s}}r.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[.13,.13,.25,.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}},e.exports=r},{"../utils/under-dash":26}],10:[function(t,e,i){"use strict";let o=t("../utils/col-cache");class r{constructor(){this.decode(arguments)}setTLBR(a,s,l,c,d){if(arguments.length<4){let u=o.decodeAddress(a),p=o.decodeAddress(s);this.model={top:Math.min(u.row,p.row),left:Math.min(u.col,p.col),bottom:Math.max(u.row,p.row),right:Math.max(u.col,p.col),sheetName:l},this.setTLBR(u.row,u.col,p.row,p.col,d)}else this.model={top:Math.min(a,l),left:Math.min(s,c),bottom:Math.max(a,l),right:Math.max(s,c),sheetName:d}}decode(a){switch(a.length){case 5:this.setTLBR(a[0],a[1],a[2],a[3],a[4]);break;case 4:this.setTLBR(a[0],a[1],a[2],a[3]);break;case 3:this.setTLBR(a[0],a[1],a[2]);break;case 2:this.setTLBR(a[0],a[1]);break;case 1:{let s=a[0];if(s instanceof r)this.model={top:s.model.top,left:s.model.left,bottom:s.model.bottom,right:s.model.right,sheetName:s.sheetName};else if(s instanceof Array)this.decode(s);else if(s.top&&s.left&&s.bottom&&s.right)this.model={top:s.top,left:s.left,bottom:s.bottom,right:s.right,sheetName:s.sheetName};else{let l=o.decodeEx(s);l.top?this.model={top:l.top,left:l.left,bottom:l.bottom,right:l.right,sheetName:l.sheetName}:this.model={top:l.row,left:l.col,bottom:l.row,right:l.col,sheetName:l.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw new Error("Invalid number of arguments to _getDimensions() - "+a.length)}}get top(){return this.model.top||1}set top(a){this.model.top=a}get left(){return this.model.left||1}set left(a){this.model.left=a}get bottom(){return this.model.bottom||1}set bottom(a){this.model.bottom=a}get right(){return this.model.right||1}set right(a){this.model.right=a}get sheetName(){return this.model.sheetName}set sheetName(a){this.model.sheetName=a}get _serialisedSheetName(){let{sheetName:a}=this.model;return a?/^[a-zA-Z0-9]*$/.test(a)?a+"!":`'${a}'!`:""}expand(a,s,l,c){(!this.model.top||a<this.top)&&(this.top=a),(!this.model.left||s<this.left)&&(this.left=s),(!this.model.bottom||l>this.bottom)&&(this.bottom=l),(!this.model.right||c>this.right)&&(this.right=c)}expandRow(a){if(a){let{dimensions:s,number:l}=a;s&&this.expand(l,s.min,l,s.max)}}expandToAddress(a){let s=o.decodeEx(a);this.expand(s.row,s.col,s.row,s.col)}get tl(){return o.n2l(this.left)+this.top}get $t$l(){return`$${o.n2l(this.left)}$${this.top}`}get br(){return o.n2l(this.right)+this.bottom}get $b$r(){return`$${o.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count>1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects(a){return(!a.sheetName||!this.sheetName||a.sheetName===this.sheetName)&&!(a.bottom<this.top)&&!(a.top>this.bottom)&&!(a.right<this.left)&&!(a.left>this.right)}contains(a){let s=o.decodeEx(a);return this.containsEx(s)}containsEx(a){return(!a.sheetName||!this.sheetName||a.sheetName===this.sheetName)&&a.row>=this.top&&a.row<=this.bottom&&a.col>=this.left&&a.col<=this.right}forEachAddress(a){for(let s=this.left;s<=this.right;s++)for(let l=this.top;l<=this.bottom;l++)a(o.encodeAddress(l,s),l,s)}}e.exports=r},{"../utils/col-cache":19}],11:[function(t,e,i){"use strict";let o=t("../utils/under-dash"),r=t("./enums"),n=t("../utils/col-cache"),a=t("./cell");e.exports=class{constructor(s,l){this._worksheet=s,this._number=l,this._cells=[],this.style={},this.outlineLevel=0}get number(){return this._number}get worksheet(){return this._worksheet}commit(){this._worksheet._commitRow(this)}destroy(){delete this._worksheet,delete this._cells,delete this.style}findCell(s){return this._cells[s-1]}getCellEx(s){let l=this._cells[s.col-1];if(!l){let c=this._worksheet.getColumn(s.col);l=new a(this,c,s.address),this._cells[s.col-1]=l}return l}getCell(s){if(typeof s=="string"){let l=this._worksheet.getColumnKey(s);s=l?l.number:n.l2n(s)}return this._cells[s-1]||this.getCellEx({address:n.encodeAddress(this._number,s),row:this._number,col:s})}splice(s,l){let c=s+l;for(var d=arguments.length,u=new Array(d>2?d-2:0),p=2;p<d;p++)u[p-2]=arguments[p];let m=u.length-l,h=this._cells.length,f,g,b;if(m<0)for(f=s+u.length;f<=h;f++)b=this._cells[f-1],g=this._cells[f-m-1],g?(b=this.getCell(f),b.value=g.value,b.style=g.style,b._comment=g._comment):b&&(b.value=null,b.style={},b._comment=void 0);else if(m>0)for(f=h;f>=c;f--)g=this._cells[f-1],g?(b=this.getCell(f+m),b.value=g.value,b.style=g.style,b._comment=g._comment):this._cells[f+m-1]=void 0;for(f=0;f<u.length;f++)b=this.getCell(s+f),b.value=u[f],b.style={},b._comment=void 0}eachCell(s,l){if(l||(l=s,s=null),s&&s.includeEmpty){let c=this._cells.length;for(let d=1;d<=c;d++)l(this.getCell(d),d)}else this._cells.forEach((c,d)=>{c&&c.type!==r.ValueType.Null&&l(c,d+1)})}addPageBreak(s,l){let c=this._worksheet,d=Math.max(0,s-1)||0,u=Math.max(0,l-1)||16838,p={id:this._number,max:u,man:1};d&&(p.min=d),c.rowBreaks.push(p)}get values(){let s=[];return this._cells.forEach(l=>{l&&l.type!==r.ValueType.Null&&(s[l.col]=l.value)}),s}set values(s){if(this._cells=[],s)if(s instanceof Array){let l=0;s.hasOwnProperty("0")&&(l=1),s.forEach((c,d)=>{c!==void 0&&(this.getCellEx({address:n.encodeAddress(this._number,d+l),row:this._number,col:d+l}).value=c)})}else this._worksheet.eachColumnKey((l,c)=>{s[c]!==void 0&&(this.getCellEx({address:n.encodeAddress(this._number,l.number),row:this._number,col:l.number}).value=s[c])})}get hasValues(){return o.some(this._cells,s=>s&&s.type!==r.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let s=0;return this.eachCell(()=>{s++}),s}get dimensions(){let s=0,l=0;return this._cells.forEach(c=>{c&&c.type!==r.ValueType.Null&&((!s||s>c.col)&&(s=c.col),l<c.col&&(l=c.col))}),s>0?{min:s,max:l}:null}_applyStyle(s,l){return this.style[s]=l,this._cells.forEach(c=>{c&&(c[s]=l)}),l}get numFmt(){return this.style.numFmt}set numFmt(s){this._applyStyle("numFmt",s)}get font(){return this.style.font}set font(s){this._applyStyle("font",s)}get alignment(){return this.style.alignment}set alignment(s){this._applyStyle("alignment",s)}get protection(){return this.style.protection}set protection(s){this._applyStyle("protection",s)}get border(){return this.style.border}set border(s){this._applyStyle("border",s)}get fill(){return this.style.fill}set fill(s){this._applyStyle("fill",s)}get hidden(){return!!this._hidden}set hidden(s){this._hidden=s}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(s){this._outlineLevel=s}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}get model(){let s=[],l=0,c=0;return this._cells.forEach(d=>{if(d){let u=d.model;u&&((!l||l>d.col)&&(l=d.col),c<d.col&&(c=d.col),s.push(u))}}),this.height||s.length?{cells:s,number:this.number,min:l,max:c,height:this.height,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel,collapsed:this.collapsed}:null}set model(s){if(s.number!==this._number)throw new Error("Invalid row number in model");let l;this._cells=[],s.cells.forEach(c=>{switch(c.type){case a.Types.Merge:break;default:{let d;if(c.address)d=n.decodeAddress(c.address);else if(l){let{row:u}=l,p=l.col+1;d={row:u,col:p,address:n.encodeAddress(u,p),$col$row:`$${n.n2l(p)}$${u}`}}l=d,this.getCellEx(d).model=c;break}}}),s.height?this.height=s.height:delete this.height,this.hidden=s.hidden,this.outlineLevel=s.outlineLevel||0,this.style=s.style&&JSON.parse(JSON.stringify(s.style))||{}}}},{"../utils/col-cache":19,"../utils/under-dash":26,"./cell":3,"./enums":7}],12:[function(t,e,i){"use strict";let o=t("../utils/col-cache");class r{constructor(a,s,l){this.table=a,this.column=s,this.index=l}_set(a,s){this.table.cacheState(),this.column[a]=s}get name(){return this.column.name}set name(a){this._set("name",a)}get filterButton(){return this.column.filterButton}set filterButton(a){this.column.filterButton=a}get style(){return this.column.style}set style(a){this.column.style=a}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel(a){this._set("totalsRowLabel",a)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction(a){this._set("totalsRowFunction",a)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult(a){this._set("totalsRowResult",a)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula(a){this._set("totalsRowFormula",a)}}e.exports=class{constructor(n,a){this.worksheet=n,a&&(this.table=a,this.validate(),this.store())}getFormula(n){switch(n.totalsRowFunction){case"none":return null;case"average":return`SUBTOTAL(101,${this.table.name}[${n.name}])`;case"countNums":return`SUBTOTAL(102,${this.table.name}[${n.name}])`;case"count":return`SUBTOTAL(103,${this.table.name}[${n.name}])`;case"max":return`SUBTOTAL(104,${this.table.name}[${n.name}])`;case"min":return`SUBTOTAL(105,${this.table.name}[${n.name}])`;case"stdDev":return`SUBTOTAL(106,${this.table.name}[${n.name}])`;case"var":return`SUBTOTAL(107,${this.table.name}[${n.name}])`;case"sum":return`SUBTOTAL(109,${this.table.name}[${n.name}])`;case"custom":return n.totalsRowFormula;default:throw new Error("Invalid Totals Row Function: "+n.totalsRowFunction)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){let{table:n}=this,a=(m,h,f)=>{m[h]===void 0&&(m[h]=f)};a(n,"headerRow",!0),a(n,"totalsRow",!1),a(n,"style",{}),a(n.style,"theme","TableStyleMedium2"),a(n.style,"showFirstColumn",!1),a(n.style,"showLastColumn",!1),a(n.style,"showRowStripes",!1),a(n.style,"showColumnStripes",!1);let s=(m,h)=>{if(!m)throw new Error(h)};s(n.ref,"Table must have ref"),s(n.columns,"Table must have column definitions"),s(n.rows,"Table must have row definitions"),n.tl=o.decodeAddress(n.ref);let{row:l,col:c}=n.tl;s(l>0,"Table must be on valid row"),s(c>0,"Table must be on valid col");let{width:d,filterHeight:u,tableHeight:p}=this;n.autoFilterRef=o.encode(l,c,l+u-1,c+d-1),n.tableRef=o.encode(l,c,l+p-1,c+d-1),n.columns.forEach((m,h)=>{s(m.name,`Column ${h} must have a name`),h===0?a(m,"totalsRowLabel","Total"):(a(m,"totalsRowFunction","none"),m.totalsRowFormula=this.getFormula(m))})}store(){let n=(u,p)=>{p&&Object.keys(p).forEach(m=>{u[m]=p[m]})},{worksheet:a,table:s}=this,{row:l,col:c}=s.tl,d=0;if(s.headerRow){let u=a.getRow(l+d++);s.columns.forEach((p,m)=>{let{style:h,name:f}=p,g=u.getCell(c+m);g.value=f,n(g,h)})}if(s.rows.forEach(u=>{let p=a.getRow(l+d++);u.forEach((m,h)=>{let f=p.getCell(c+h);f.value=m,n(f,s.columns[h].style)})}),s.totalsRow){let u=a.getRow(l+d++);s.columns.forEach((p,m)=>{let h=u.getCell(c+m);if(m===0)h.value=p.totalsRowLabel;else{let f=this.getFormula(p);h.value=f?{formula:p.totalsRowFormula,result:p.totalsRowResult}:null}n(h,p.style)})}}load(n){let{table:a}=this,{row:s,col:l}=a.tl,c=0;if(a.headerRow){let d=n.getRow(s+c++);a.columns.forEach((u,p)=>{d.getCell(l+p).value=u.name})}if(a.rows.forEach(d=>{let u=n.getRow(s+c++);d.forEach((p,m)=>{u.getCell(l+m).value=p})}),a.totalsRow){let d=n.getRow(s+c++);a.columns.forEach((u,p)=>{let m=d.getCell(l+p);p===0?m.value=u.totalsRowLabel:this.getFormula(u)&&(m.value={formula:u.totalsRowFormula,result:u.totalsRowResult})})}}get model(){return this.table}set model(n){this.table=n}cacheState(){this._cache||(this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight})}commit(){if(!this._cache)return;this.validate();let n=o.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let a=0;a<this._cache.tableHeight;a++){let s=this.worksheet.getRow(n.row+a);for(let l=0;l<this._cache.width;l++)s.getCell(n.col+l).value=null}else{for(let a=this.tableHeight;a<this._cache.tableHeight;a++){let s=this.worksheet.getRow(n.row+a);for(let l=0;l<this._cache.width;l++)s.getCell(n.col+l).value=null}for(let a=0;a<this.tableHeight;a++){let s=this.worksheet.getRow(n.row+a);for(let l=this.width;l<this._cache.width;l++)s.getCell(n.col+l).value=null}}this.store()}addRow(n,a){this.cacheState(),a===void 0?this.table.rows.push(n):this.table.rows.splice(a,0,n)}removeRows(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.rows.splice(n,a)}getColumn(n){let a=this.table.columns[n];return new r(this,a,n)}addColumn(n,a,s){this.cacheState(),s===void 0?(this.table.columns.push(n),this.table.rows.forEach((l,c)=>{l.push(a[c])})):(this.table.columns.splice(s,0,n),this.table.rows.forEach((l,c)=>{l.splice(s,0,a[c])}))}removeColumns(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.columns.splice(n,a),this.table.rows.forEach(s=>{s.splice(n,a)})}_assign(n,a,s){this.cacheState(),n[a]=s}get ref(){return this.table.ref}set ref(n){this._assign(this.table,"ref",n)}get name(){return this.table.name}set name(n){this.table.name=n}get displayName(){return this.table.displyName||this.table.name}set displayNamename(n){this.table.displayName=n}get headerRow(){return this.table.headerRow}set headerRow(n){this._assign(this.table,"headerRow",n)}get totalsRow(){return this.table.totalsRow}set totalsRow(n){this._assign(this.table,"totalsRow",n)}get theme(){return this.table.style.name}set theme(n){this.table.style.name=n}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn(n){this.table.style.showFirstColumn=n}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn(n){this.table.style.showLastColumn=n}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes(n){this.table.style.showRowStripes=n}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes(n){this.table.style.showColumnStripes=n}}},{"../utils/col-cache":19}],13:[function(t,e,i){"use strict";let o=t("./worksheet"),r=t("./defined-names"),n=t("../xlsx/xlsx"),a=t("../csv/csv");e.exports=class{constructor(){this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new r}get xlsx(){return this._xlsx||(this._xlsx=new n(this)),this._xlsx}get csv(){return this._csv||(this._csv=new a(this)),this._csv}get nextId(){for(let s=1;s<this._worksheets.length;s++)if(!this._worksheets[s])return s;return this._worksheets.length||1}addWorksheet(s,l){let c=this.nextId;l&&(typeof l=="string"?(console.trace('tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: "rbg value" } }'),l={properties:{tabColor:{argb:l}}}):(l.argb||l.theme||l.indexed)&&(console.trace("tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }"),l={properties:{tabColor:l}}));let d=this._worksheets.reduce((m,h)=>(h&&h.orderNo)>m?h.orderNo:m,0),u=Object.assign({},l,{id:c,name:s,orderNo:d+1,workbook:this}),p=new o(u);return this._worksheets[c]=p,p}removeWorksheetEx(s){delete this._worksheets[s.id]}removeWorksheet(s){let l=this.getWorksheet(s);l&&l.destroy()}getWorksheet(s){return s===void 0?this._worksheets.find(Boolean):typeof s=="number"?this._worksheets[s]:typeof s=="string"?this._worksheets.find(l=>l&&l.name===s):void 0}get worksheets(){return this._worksheets.slice(1).sort((s,l)=>s.orderNo-l.orderNo).filter(Boolean)}eachSheet(s){this.worksheets.forEach(l=>{s(l,l.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage(s){let l=this.media.length;return this.media.push(Object.assign({},s,{type:"image"})),l}getImage(s){return this.media[s]}get model(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(s=>s.model),sheets:this.worksheets.map(s=>s.model).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}}set model(s){this.creator=s.creator,this.lastModifiedBy=s.lastModifiedBy,this.lastPrinted=s.lastPrinted,this.created=s.created,this.modified=s.modified,this.company=s.company,this.manager=s.manager,this.title=s.title,this.subject=s.subject,this.keywords=s.keywords,this.category=s.category,this.description=s.description,this.language=s.language,this.revision=s.revision,this.contentStatus=s.contentStatus,this.properties=s.properties,this.calcProperties=s.calcProperties,this._worksheets=[],s.worksheets.forEach(l=>{let{id:c,name:d,state:u}=l,p=s.sheets&&s.sheets.findIndex(m=>m.id===c);(this._worksheets[c]=new o({id:c,name:d,orderNo:p,state:u,workbook:this})).model=l}),this._definedNames.model=s.definedNames,this.views=s.views,this._themes=s.themes,this.media=s.media||[]}}},{"../csv/csv":1,"../xlsx/xlsx":144,"./defined-names":6,"./worksheet":14}],14:[function(t,e,i){"use strict";let o=t("../utils/under-dash"),r=t("../utils/col-cache"),n=t("./range"),a=t("./row"),s=t("./column"),l=t("./enums"),c=t("./image"),d=t("./table"),u=t("./data-validations"),p=t("../utils/encryptor"),{copyStyle:m}=t("../utils/copy-style");e.exports=class{constructor(h){h=h||{},this._workbook=h.workbook,this.id=h.id,this.orderNo=h.orderNo,this.name=h.name,this.state=h.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},h.properties),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!(!h.pageSetup||!h.pageSetup.fitToWidth&&!h.pageSetup.fitToHeight||h.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},h.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},h.headerFooter),this.dataValidations=new u,this.views=h.views||[],this.autoFilter=h.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name(h){if(h===void 0&&(h="sheet"+this.id),this._name!==h){if(typeof h!="string")throw new Error("The name has to be a string.");if(h==="")throw new Error("The name can't be empty.");if(h==="History")throw new Error('The name "History" is protected. Please use a different name.');if(/[*?:/\\[\]]/.test(h))throw new Error(`Worksheet name ${h} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^')|('$)/.test(h))throw new Error("The first or last character of worksheet name cannot be a single quotation mark: "+h);if(h&&h.length>31&&(console.warn(`Worksheet name ${h} exceeds 31 chars. This will be truncated`),h=h.substring(0,31)),this._workbook._worksheets.find(f=>f&&f.name.toLowerCase()===h.toLowerCase()))throw new Error("Worksheet name already exists: "+h);this._name=h}}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){let h=new n;return this._rows.forEach(f=>{if(f){let g=f.dimensions;g&&h.expand(f.number,g.min,f.number,g.max)}}),h}get columns(){return this._columns}set columns(h){this._headerRowCount=h.reduce((b,y)=>{let w=(y.header?1:y.headers&&y.headers.length)||0;return Math.max(b,w)},0);let f=1,g=this._columns=[];h.forEach(b=>{let y=new s(this,f++,!1);g.push(y),y.defn=b})}getColumnKey(h){return this._keys[h]}setColumnKey(h,f){this._keys[h]=f}deleteColumnKey(h){delete this._keys[h]}eachColumnKey(h){o.each(this._keys,h)}getColumn(h){if(typeof h=="string"){let f=this._keys[h];if(f)return f;h=r.l2n(h)}if(this._columns||(this._columns=[]),h>this._columns.length){let f=this._columns.length+1;for(;f<=h;)this._columns.push(new s(this,f++))}return this._columns[h-1]}spliceColumns(h,f){let g=this._rows.length;for(var b=arguments.length,y=new Array(b>2?b-2:0),w=2;w<b;w++)y[w-2]=arguments[w];if(y.length>0)for(let M=0;M<g;M++){let I=[h,f];y.forEach(D=>{I.push(D[M]||null)});let A=this.getRow(M+1);A.splice.apply(A,I)}else this._rows.forEach(M=>{M&&M.splice(h,f)});let x=y.length-f,S=h+f,T=this._columns.length;if(x<0)for(let M=h+y.length;M<=T;M++)this.getColumn(M).defn=this.getColumn(M-x).defn;else if(x>0)for(let M=T;M>=S;M--)this.getColumn(M+x).defn=this.getColumn(M).defn;for(let M=h;M<h+y.length;M++)this.getColumn(M).defn=null;this.workbook.definedNames.spliceColumns(this.name,h,f,y.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let h=0;return this.eachRow(f=>{h=Math.max(h,f.cellCount)}),h}get actualColumnCount(){let h=[],f=0;return this.eachRow(g=>{g.eachCell(b=>{let{col:y}=b;h[y]||(h[y]=!0,f++)})}),f}_commitRow(){}get _lastRowNumber(){let h=this._rows,f=h.length;for(;f>0&&h[f-1]===void 0;)f--;return f}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1]}findRow(h){return this._rows[h-1]}findRows(h,f){return this._rows.slice(h-1,h-1+f)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let h=0;return this.eachRow(()=>{h++}),h}getRow(h){let f=this._rows[h-1];return f||(f=this._rows[h-1]=new a(this,h)),f}getRows(h,f){if(f<1)return;let g=[];for(let b=h;b<h+f;b++)g.push(this.getRow(b));return g}addRow(h){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n",g=this._nextRow,b=this.getRow(g);return b.values=h,this._setStyleOption(g,f[0]==="i"?f:"n"),b}addRows(h){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n",g=[];return h.forEach(b=>{g.push(this.addRow(b,f))}),g}insertRow(h,f){let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"n";return this.spliceRows(h,0,f),this._setStyleOption(h,g),this.getRow(h)}insertRows(h,f){let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"n";if(this.spliceRows(h,0,...f),g!=="n")for(let b=0;b<f.length;b++)g[0]==="o"&&this.findRow(f.length+h+b)!==void 0?this._copyStyle(f.length+h+b,h+b,g[1]==="+"):g[0]==="i"&&this.findRow(h-1)!==void 0&&this._copyStyle(h-1,h+b,g[1]==="+");return this.getRows(h,f.length)}_setStyleOption(h){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n";f[0]==="o"&&this.findRow(h+1)!==void 0?this._copyStyle(h+1,h,f[1]==="+"):f[0]==="i"&&this.findRow(h-1)!==void 0&&this._copyStyle(h-1,h,f[1]==="+")}_copyStyle(h,f){let g=arguments.length>2&&arguments[2]!==void 0&&arguments[2],b=this.getRow(h),y=this.getRow(f);y.style=m(b.style),b.eachCell({includeEmpty:g},(w,x)=>{y.getCell(x).style=m(w.style)}),y.height=b.height}duplicateRow(h,f){let g=arguments.length>2&&arguments[2]!==void 0&&arguments[2],b=this._rows[h-1],y=new Array(f).fill(b.values);this.spliceRows(h+1,g?0:f,...y);for(let w=0;w<f;w++){let x=this._rows[h+w];x.style=b.style,x.height=b.height,b.eachCell({includeEmpty:!0},(S,T)=>{x.getCell(T).style=S.style})}}spliceRows(h,f){let g=h+f;for(var b=arguments.length,y=new Array(b>2?b-2:0),w=2;w<b;w++)y[w-2]=arguments[w];let x=y.length,S=x-f,T=this._rows.length,M,I;if(S<0)for(h===T&&(this._rows[T-1]=void 0),M=g;M<=T;M++)if(I=this._rows[M-1],I){let A=this.getRow(M+S);A.values=I.values,A.style=I.style,A.height=I.height,I.eachCell({includeEmpty:!0},(D,E)=>{A.getCell(E).style=D.style}),this._rows[M-1]=void 0}else this._rows[M+S-1]=void 0;else if(S>0)for(M=T;M>=g;M--)if(I=this._rows[M-1],I){let A=this.getRow(M+S);A.values=I.values,A.style=I.style,A.height=I.height,I.eachCell({includeEmpty:!0},(D,E)=>{if(A.getCell(E).style=D.style,D._value.constructor.name==="MergeValue"){let N=this.getRow(D._row._number+x).getCell(E),R=D._value._master,v=this.getRow(R._row._number+x).getCell(R._column._number);N.merge(v)}})}else this._rows[M+S-1]=void 0;for(M=0;M<x;M++){let A=this.getRow(h+M);A.style={},A.values=y[M]}this.workbook.definedNames.spliceRows(this.name,h,f,x)}eachRow(h,f){if(f||(f=h,h=void 0),h&&h.includeEmpty){let g=this._rows.length;for(let b=1;b<=g;b++)f(this.getRow(b),b)}else this._rows.forEach(g=>{g&&g.hasValues&&f(g,g.number)})}getSheetValues(){let h=[];return this._rows.forEach(f=>{f&&(h[f.number]=f.values)}),h}findCell(h,f){let g=r.getAddress(h,f),b=this._rows[g.row-1];return b?b.findCell(g.col):void 0}getCell(h,f){let g=r.getAddress(h,f);return this.getRow(g.row).getCellEx(g)}mergeCells(){for(var h=arguments.length,f=new Array(h),g=0;g<h;g++)f[g]=arguments[g];let b=new n(f);this._mergeCellsInternal(b)}mergeCellsWithoutStyle(){for(var h=arguments.length,f=new Array(h),g=0;g<h;g++)f[g]=arguments[g];let b=new n(f);this._mergeCellsInternal(b,!0)}_mergeCellsInternal(h,f){o.each(this._merges,b=>{if(b.intersects(h))throw new Error("Cannot merge already merged cells")});let g=this.getCell(h.top,h.left);for(let b=h.top;b<=h.bottom;b++)for(let y=h.left;y<=h.right;y++)(b>h.top||y>h.left)&&this.getCell(b,y).merge(g,f);this._merges[g.address]=h}_unMergeMaster(h){let f=this._merges[h.address];if(f){for(let g=f.top;g<=f.bottom;g++)for(let b=f.left;b<=f.right;b++)this.getCell(g,b).unmerge();delete this._merges[h.address]}}get hasMerges(){return o.some(this._merges,Boolean)}unMergeCells(){for(var h=arguments.length,f=new Array(h),g=0;g<h;g++)f[g]=arguments[g];let b=new n(f);for(let y=b.top;y<=b.bottom;y++)for(let w=b.left;w<=b.right;w++){let x=this.findCell(y,w);x&&(x.type===l.ValueType.Merge?this._unMergeMaster(x.master):this._merges[x.address]&&this._unMergeMaster(x))}}fillFormula(h,f,g){let b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"shared",y=r.decode(h),{top:w,left:x,bottom:S,right:T}=y,M=T-x+1,I=r.encodeAddress(w,x),A=b==="shared",D;D=typeof g=="function"?g:Array.isArray(g)?Array.isArray(g[0])?(N,R)=>g[N-w][R-x]:(N,R)=>g[(N-w)*M+(R-x)]:()=>{};let E=!0;for(let N=w;N<=S;N++)for(let R=x;R<=T;R++)E?(this.getCell(N,R).value={shareType:b,formula:f,ref:h,result:D(N,R)},E=!1):this.getCell(N,R).value=A?{sharedFormula:I,result:D(N,R)}:D(N,R)}addImage(h,f){let g={type:"image",imageId:h,range:f};this._media.push(new c(this,g))}getImages(){return this._media.filter(h=>h.type==="image")}addBackgroundImage(h){let f={type:"background",imageId:h};this._media.push(new c(this,f))}getBackgroundImageId(){let h=this._media.find(f=>f.type==="background");return h&&h.imageId}protect(h,f){return new Promise(g=>{this.sheetProtection={sheet:!0},f&&"spinCount"in f&&(f.spinCount=Number.isFinite(f.spinCount)?Math.round(Math.max(0,f.spinCount)):1e5),h&&(this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=p.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=f&&"spinCount"in f?f.spinCount:1e5,this.sheetProtection.hashValue=p.convertPasswordToHash(h,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount)),f&&(this.sheetProtection=Object.assign(this.sheetProtection,f),!h&&"spinCount"in f&&delete this.sheetProtection.spinCount),g()})}unprotect(){this.sheetProtection=null}addTable(h){let f=new d(this,h);return this.tables[h.name]=f,f}getTable(h){return this.tables[h]}removeTable(h){delete this.tables[h]}getTables(){return Object.values(this.tables)}addConditionalFormatting(h){this.conditionalFormattings.push(h)}removeConditionalFormatting(h){typeof h=="number"?this.conditionalFormattings.splice(h,1):this.conditionalFormattings=h instanceof Function?this.conditionalFormattings.filter(h):[]}get tabColor(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor}set tabColor(h){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=h}get model(){let h={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map(b=>b.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map(b=>b.model),conditionalFormattings:this.conditionalFormattings};h.cols=s.toModel(this.columns);let f=h.rows=[],g=h.dimensions=new n;return this._rows.forEach(b=>{let y=b&&b.model;y&&(g.expand(y.number,y.min,y.number,y.max),f.push(y))}),h.merges=[],o.each(this._merges,b=>{h.merges.push(b.range)}),h}_parseRows(h){this._rows=[],h.rows.forEach(f=>{let g=new a(this,f.number);this._rows[g.number-1]=g,g.model=f})}_parseMergeCells(h){o.each(h.mergeCells,f=>{this.mergeCellsWithoutStyle(f)})}set model(h){this.name=h.name,this._columns=s.fromModel(this,h.cols),this._parseRows(h),this._parseMergeCells(h),this.dataValidations=new u(h.dataValidations),this.properties=h.properties,this.pageSetup=h.pageSetup,this.headerFooter=h.headerFooter,this.views=h.views,this.autoFilter=h.autoFilter,this._media=h.media.map(f=>new c(this,f)),this.sheetProtection=h.sheetProtection,this.tables=h.tables.reduce((f,g)=>{let b=new d;return b.model=g,f[g.name]=b,f},{}),this.conditionalFormattings=h.conditionalFormattings}}},{"../utils/col-cache":19,"../utils/copy-style":20,"../utils/encryptor":21,"../utils/under-dash":26,"./column":4,"./data-validations":5,"./enums":7,"./image":8,"./range":10,"./row":11,"./table":12}],15:[function(t,e,i){"use strict";t("core-js/modules/es.promise"),t("core-js/modules/es.promise.finally"),t("core-js/modules/es.object.assign"),t("core-js/modules/es.object.keys"),t("core-js/modules/es.object.values"),t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.async-iterator"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.includes"),t("core-js/modules/es.array.find-index"),t("core-js/modules/es.array.find"),t("core-js/modules/es.string.from-code-point"),t("core-js/modules/es.string.includes"),t("core-js/modules/es.number.is-nan"),t("regenerator-runtime/runtime");let o={Workbook:t("./doc/workbook")},r=t("./doc/enums");Object.keys(r).forEach(n=>{o[n]=r[n]}),e.exports=o},{"./doc/enums":7,"./doc/workbook":13,"core-js/modules/es.array.find":359,"core-js/modules/es.array.find-index":358,"core-js/modules/es.array.includes":360,"core-js/modules/es.array.iterator":361,"core-js/modules/es.number.is-nan":363,"core-js/modules/es.object.assign":364,"core-js/modules/es.object.keys":366,"core-js/modules/es.object.values":367,"core-js/modules/es.promise":372,"core-js/modules/es.promise.finally":371,"core-js/modules/es.string.from-code-point":376,"core-js/modules/es.string.includes":377,"core-js/modules/es.symbol":381,"core-js/modules/es.symbol.async-iterator":378,"regenerator-runtime/runtime":492}],16:[function(t,e,i){"use strict";let o=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");i.bufferToString=function(r){return typeof r=="string"?r:o?o.decode(r):r.toString()}},{}],17:[function(t,e,i){"use strict";let o=typeof TextEncoder>"u"?null:new TextEncoder("utf-8"),{Buffer:r}=t("buffer");i.stringToBuffer=function(n){return typeof n!="string"?n:o?r.from(o.encode(n).buffer):r.from(n)}},{buffer:220}],18:[function(t,e,i){"use strict";let o=t("./under-dash"),r=t("./col-cache");e.exports=class{constructor(n){this.template=n,this.sheets={}}addCell(n){this.addCellEx(r.decodeEx(n))}getCell(n){return this.findCellEx(r.decodeEx(n),!0)}findCell(n){return this.findCellEx(r.decodeEx(n),!1)}findCellAt(n,a,s){let l=this.sheets[n],c=l&&l[a];return c&&c[s]}addCellEx(n){if(n.top)for(let a=n.top;a<=n.bottom;a++)for(let s=n.left;s<=n.right;s++)this.getCellAt(n.sheetName,a,s);else this.findCellEx(n,!0)}getCellEx(n){return this.findCellEx(n,!0)}findCellEx(n,a){let s=this.findSheet(n,a),l=this.findSheetRow(s,n,a);return this.findRowCell(l,n,a)}getCellAt(n,a,s){let l=this.sheets[n]||(this.sheets[n]=[]),c=l[a]||(l[a]=[]);return c[s]||(c[s]={sheetName:n,address:r.n2l(s)+a,row:a,col:s})}removeCellEx(n){let a=this.findSheet(n);if(!a)return;let s=this.findSheetRow(a,n);s&&delete s[n.col]}forEachInSheet(n,a){let s=this.sheets[n];s&&s.forEach((l,c)=>{l&&l.forEach((d,u)=>{d&&a(d,c,u)})})}forEach(n){o.each(this.sheets,(a,s)=>{this.forEachInSheet(s,n)})}map(n){let a=[];return this.forEach(s=>{a.push(n(s))}),a}findSheet(n,a){let s=n.sheetName;return this.sheets[s]?this.sheets[s]:a?this.sheets[s]=[]:void 0}findSheetRow(n,a,s){let{row:l}=a;return n&&n[l]?n[l]:s?n[l]=[]:void 0}findRowCell(n,a,s){let{col:l}=a;return n&&n[l]?n[l]:s?n[l]=this.template?Object.assign(a,JSON.parse(JSON.stringify(this.template))):a:void 0}spliceRows(n,a,s,l){let c=this.sheets[n];if(c){let d=[];for(let u=0;u<l;u++)d.push([]);c.splice(a,s,...d)}}spliceColumns(n,a,s,l){let c=this.sheets[n];if(c){let d=[];for(let u=0;u<l;u++)d.push(null);o.each(c,u=>{u.splice(a,s,...d)})}}}},{"./col-cache":19,"./under-dash":26}],19:[function(t,e,i){"use strict";let o=/^[A-Z]+\d+$/,r={_dictionary:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],_l2nFill:0,_l2n:{},_n2l:[],_level:n=>n<=26?1:n<=676?2:3,_fill(n){let a,s,l,c,d,u=1;if(n>=4)throw new Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&n>=1){for(;u<=26;)a=this._dictionary[u-1],this._n2l[u]=a,this._l2n[a]=u,u++;this._l2nFill=1}if(this._l2nFill<2&&n>=2){for(u=27;u<=702;)s=u-27,l=s%26,c=Math.floor(s/26),a=this._dictionary[c]+this._dictionary[l],this._n2l[u]=a,this._l2n[a]=u,u++;this._l2nFill=2}if(this._l2nFill<3&&n>=3){for(u=703;u<=16384;)s=u-703,l=s%26,c=Math.floor(s/26)%26,d=Math.floor(s/676),a=this._dictionary[d]+this._dictionary[c]+this._dictionary[l],this._n2l[u]=a,this._l2n[a]=u,u++;this._l2nFill=3}},l2n(n){if(this._l2n[n]||this._fill(n.length),!this._l2n[n])throw new Error("Out of bounds. Invalid column letter: "+n);return this._l2n[n]},n2l(n){if(n<1||n>16384)throw new Error(n+" is out of bounds. Excel supports columns from 1 to 16384");return this._n2l[n]||this._fill(this._level(n)),this._n2l[n]},_hash:{},validateAddress(n){if(!o.test(n))throw new Error("Invalid Address: "+n);return!0},decodeAddress(n){let a=n.length<5&&this._hash[n];if(a)return a;let s=!1,l="",c=0,d=!1,u="",p=0;for(let h,f=0;f<n.length;f++)if(h=n.charCodeAt(f),!d&&h>=65&&h<=90)s=!0,l+=n[f],c=26*c+h-64;else if(h>=48&&h<=57)d=!0,u+=n[f],p=10*p+h-48;else if(d&&s&&h!==36)break;if(s){if(c>16384)throw new Error("Out of bounds. Invalid column letter: "+l)}else c=void 0;d||(p=void 0);let m={address:n=l+u,col:c,row:p,$col$row:`$${l}$${u}`};return c<=100&&p<=100&&(this._hash[n]=m,this._hash[m.$col$row]=m),m},getAddress(n,a){if(a){let s=this.n2l(a)+n;return this.decodeAddress(s)}return this.decodeAddress(n)},decode(n){let a=n.split(":");if(a.length===2){let s=this.decodeAddress(a[0]),l=this.decodeAddress(a[1]),c={top:Math.min(s.row,l.row),left:Math.min(s.col,l.col),bottom:Math.max(s.row,l.row),right:Math.max(s.col,l.col)};return c.tl=this.n2l(c.left)+c.top,c.br=this.n2l(c.right)+c.bottom,c.dimensions=`${c.tl}:${c.br}`,c}return this.decodeAddress(n)},decodeEx(n){let a=n.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),s=a[1]||a[2],l=a[3],c=l.split(":");if(c.length>1){let u=this.decodeAddress(c[0]),p=this.decodeAddress(c[1]),m=Math.min(u.row,p.row),h=Math.min(u.col,p.col),f=Math.max(u.row,p.row),g=Math.max(u.col,p.col);return u=this.n2l(h)+m,p=this.n2l(g)+f,{top:m,left:h,bottom:f,right:g,sheetName:s,tl:{address:u,col:h,row:m,$col$row:`$${this.n2l(h)}$${m}`,sheetName:s},br:{address:p,col:g,row:f,$col$row:`$${this.n2l(g)}$${f}`,sheetName:s},dimensions:`${u}:${p}`}}if(l.startsWith("#"))return s?{sheetName:s,error:l}:{error:l};let d=this.decodeAddress(l);return s?{sheetName:s,...d}:d},encodeAddress:(n,a)=>r.n2l(a)+n,encode(){switch(arguments.length){case 2:return r.encodeAddress(arguments[0],arguments[1]);case 4:return`${r.encodeAddress(arguments[0],arguments[1])}:${r.encodeAddress(arguments[2],arguments[3])}`;default:throw new Error("Can only encode with 2 or 4 arguments")}},inRange(n,a){let[s,l,,c,d]=n,[u,p]=a;return u>=s&&u<=c&&p>=l&&p<=d}};e.exports=r},{}],20:[function(t,e,i){"use strict";let o=(n,a)=>({...n,...a.reduce((s,l)=>(n[l]&&(s[l]={...n[l]}),s),{})}),r=function(n,a,s){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[];n[s]&&(a[s]=o(n[s],l))};i.copyStyle=n=>{if(!n)return n;if(a=n,Object.keys(a).length===0)return{};var a;let s={...n};return r(n,s,"font",["color"]),r(n,s,"alignment"),r(n,s,"protection"),n.border&&(r(n,s,"border"),r(n.border,s.border,"top",["color"]),r(n.border,s.border,"left",["color"]),r(n.border,s.border,"bottom",["color"]),r(n.border,s.border,"right",["color"]),r(n.border,s.border,"diagonal",["color"])),n.fill&&(r(n,s,"fill",["fgColor","bgColor","center"]),n.fill.stops&&(s.fill.stops=n.fill.stops.map(l=>o(l,["color"])))),s}},{}],21:[function(t,e,i){(function(o){(function(){"use strict";let r=t("crypto"),n={hash(a){let s=r.createHash(a);for(var l=arguments.length,c=new Array(l>1?l-1:0),d=1;d<l;d++)c[d-1]=arguments[d];return s.update(o.concat(c)),s.digest()},convertPasswordToHash(a,s,l,c){if(s=s.toLowerCase(),r.getHashes().indexOf(s)<0)throw new Error(`Hash algorithm '${s}' not supported!`);let d=o.from(a,"utf16le"),u=this.hash(s,o.from(l,"base64"),d);for(let p=0;p<c;p++){let m=o.alloc(4);m.writeUInt32LE(p,0),u=this.hash(s,u,m)}return u.toString("base64")},randomBytes:a=>r.randomBytes(a)};e.exports=n}).call(this)}).call(this,t("buffer").Buffer)},{buffer:220,crypto:390}],22:[function(t,e,i){"use strict";let{SaxesParser:o}=t("saxes"),{PassThrough:r}=t("readable-stream"),{bufferToString:n}=t("./browser-buffer-decode");e.exports=async function*(a){a.pipe&&!a[Symbol.asyncIterator]&&(a=a.pipe(new r));let s=new o,l;s.on("error",d=>{l=d});let c=[];s.on("opentag",d=>c.push({eventType:"opentag",value:d})),s.on("text",d=>c.push({eventType:"text",value:d})),s.on("closetag",d=>c.push({eventType:"closetag",value:d}));for await(let d of a){if(s.write(n(d)),l)throw l;yield c,c=[]}}},{"./browser-buffer-decode":16,"readable-stream":491,saxes:496}],23:[function(t,e,i){"use strict";let o=t("./col-cache"),r=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,n=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;e.exports={slideFormula:function(a,s,l){let c=o.decode(s),d=o.decode(l);return a.replace(r,(u,p,m,h,f)=>{if(f)return u;let g=n.exec(h);if(g){let b=g[1],y=g[2].toUpperCase(),w=g[3],x=g[4];if(y.length>3||y.length===3&&y>"XFD")return u;let S=o.l2n(y),T=parseInt(x,10);return b||(S+=d.col-c.col),w||(T+=d.row-c.row),(p||"")+(b||"")+o.n2l(S)+(w||"")+T}return u})}}},{"./col-cache":19}],24:[function(t,e,i){(function(o,r){(function(){"use strict";let n=t("readable-stream"),a=t("./utils"),s=t("./string-buf");class l{constructor(h,f){this._data=h,this._encoding=f}get length(){return this.toBuffer().length}copy(h,f,g,b){return this.toBuffer().copy(h,f,g,b)}toBuffer(){return this._buffer||(this._buffer=r.from(this._data,this._encoding)),this._buffer}}class c{constructor(h){this._data=h}get length(){return this._data.length}copy(h,f,g,b){return this._data._buf.copy(h,f,g,b)}toBuffer(){return this._data.toBuffer()}}class d{constructor(h){this._data=h}get length(){return this._data.length}copy(h,f,g,b){this._data.copy(h,f,g,b)}toBuffer(){return this._data}}class u{constructor(h){this.size=h,this.buffer=r.alloc(h),this.iRead=0,this.iWrite=0}toBuffer(){if(this.iRead===0&&this.iWrite===this.size)return this.buffer;let h=r.alloc(this.iWrite-this.iRead);return this.buffer.copy(h,0,this.iRead,this.iWrite),h}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read(h){let f;return h===0?null:h===void 0||h>=this.length?(f=this.toBuffer(),this.iRead=this.iWrite,f):(f=r.alloc(h),this.buffer.copy(f,0,this.iRead,h),this.iRead+=h,f)}write(h,f,g){let b=Math.min(g,this.size-this.iWrite);return h.copy(this.buffer,this.iWrite,f,f+b),this.iWrite+=b,b}}let p=function(m){m=m||{},this.bufSize=m.bufSize||1048576,this.buffers=[],this.batch=m.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};a.inherits(p,n.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return r.concat(this.buffers.map(m=>m.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){let h=this.buffers[this.buffers.length-1];if(!h.full)return h}let m=new u(this.bufSize);return this.buffers.push(m),m},async _pipe(m){await Promise.all(this.pipes.map((function(h){return new Promise(f=>{h.write(m.toBuffer(),()=>{f()})})})))},_writeToBuffers(m){let h=0,f=m.length;for(;h<f;)h+=this._getWritableBuffer().write(m,h,f-h)},async write(m,h,f){let g;if(h instanceof Function&&(f=h,h="utf8"),f=f||a.nop,m instanceof s)g=new c(m);else if(m instanceof r)g=new d(m);else{if(!(typeof m=="string"||m instanceof String||m instanceof ArrayBuffer))throw new Error("Chunk must be one of type String, Buffer or StringBuf.");g=new l(m,h)}if(this.pipes.length)if(this.batch)for(this._writeToBuffers(g);!this.corked&&this.buffers.length>1;)this._pipe(this.buffers.shift());else this.corked?(this._writeToBuffers(g),o.nextTick(f)):(await this._pipe(g),f());else this.paused||this.emit("data",g.toBuffer()),this._writeToBuffers(g),this.emit("readable");return!0},cork(){this.corked=!0},_flush(){if(this.pipes.length)for(;this.buffers.length;)this._pipe(this.buffers.shift())},uncork(){this.corked=!1,this._flush()},end(m,h,f){let g=b=>{b?f(b):(this._flush(),this.pipes.forEach(y=>{y.end()}),this.emit("finish"))};m?this.write(m,h,g):g()},read(m){let h;if(m){for(h=[];m&&this.buffers.length&&!this.buffers[0].eod;){let f=this.buffers[0],g=f.read(m);m-=g.length,h.push(g),f.eod&&f.full&&this.buffers.shift()}return r.concat(h)}return h=this.buffers.map(f=>f.toBuffer()).filter(Boolean),this.buffers=[],r.concat(h)},setEncoding(m){this.encoding=m},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe(m){this.pipes.push(m),!this.paused&&this.buffers.length&&this.end()},unpipe(m){this.pipes=this.pipes.filter(h=>h!==m)},unshift(){throw new Error("Not Implemented")},wrap(){throw new Error("Not Implemented")}}),e.exports=p}).call(this)}).call(this,t("_process"),t("buffer").Buffer)},{"./string-buf":25,"./utils":27,_process:467,buffer:220,"readable-stream":491}],25:[function(t,e,i){(function(o){(function(){"use strict";e.exports=class{constructor(r){this._buf=o.alloc(r&&r.size||16384),this._encoding=r&&r.encoding||"utf8",this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){return this._buffer||(this._buffer=o.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length)),this._buffer}reset(r){r=r||0,this._buffer=void 0,this._inPos=r}_grow(r){let n=2*this._buf.length;for(;n<r;)n*=2;let a=o.alloc(n);this._buf.copy(a,0),this._buf=a}addText(r){this._buffer=void 0;let n=this._inPos+this._buf.write(r,this._inPos,this._encoding);for(;n>=this._buf.length-4;)this._grow(this._inPos+r.length),n=this._inPos+this._buf.write(r,this._inPos,this._encoding);this._inPos=n}addStringBuf(r){r.length&&(this._buffer=void 0,this.length+r.length>this.capacity&&this._grow(this.length+r.length),r._buf.copy(this._buf,this._inPos,0,r.length),this._inPos+=r.length)}}}).call(this)}).call(this,t("buffer").Buffer)},{buffer:220}],26:[function(t,e,i){"use strict";let{toString:o}=Object.prototype,r=/["&<>]/,n={each:function(a,s){a&&(Array.isArray(a)?a.forEach(s):Object.keys(a).forEach(l=>{s(a[l],l)}))},some:function(a,s){return!!a&&(Array.isArray(a)?a.some(s):Object.keys(a).some(l=>s(a[l],l)))},every:function(a,s){return!a||(Array.isArray(a)?a.every(s):Object.keys(a).every(l=>s(a[l],l)))},map:function(a,s){return a?Array.isArray(a)?a.map(s):Object.keys(a).map(l=>s(a[l],l)):[]},keyBy:(a,s)=>a.reduce((l,c)=>(l[c[s]]=c,l),{}),isEqual:function(a,s){let l=typeof a,c=typeof s,d=Array.isArray(a),u=Array.isArray(s),p;if(l!==c)return!1;switch(typeof a){case"object":if(d||u)return!(!d||!u)&&a.length===s.length&&a.every((m,h)=>{let f=s[h];return n.isEqual(m,f)});if(a===null||s===null)return a===s;if(p=Object.keys(a),Object.keys(s).length!==p.length)return!1;for(let m of p)if(!s.hasOwnProperty(m))return!1;return n.every(a,(m,h)=>{let f=s[h];return n.isEqual(m,f)});default:return a===s}},escapeHtml(a){let s=r.exec(a);if(!s)return a;let l="",c="",d=0,u=s.index;for(;u<a.length;u++){switch(a.charAt(u)){case'"':c="&quot;";break;case"&":c="&amp;";break;case"'":c="&apos;";break;case"<":c="&lt;";break;case">":c="&gt;";break;default:continue}d!==u&&(l+=a.substring(d,u)),d=u+1,l+=c}return d!==u?l+a.substring(d,u):l},strcmp:(a,s)=>a<s?-1:a>s?1:0,isUndefined:a=>o.call(a)==="[object Undefined]",isObject:a=>o.call(a)==="[object Object]",deepMerge(){let a=arguments[0]||{},{length:s}=arguments,l,c,d;function u(p,m){l=a[m],d=Array.isArray(p),n.isObject(p)||d?(d?(d=!1,c=l&&Array.isArray(l)?l:[]):c=l&&n.isObject(l)?l:{},a[m]=n.deepMerge(c,p)):n.isUndefined(p)||(a[m]=p)}for(let p=0;p<s;p++)n.each(arguments[p],u);return a}};e.exports=n},{}],27:[function(t,e,i){(function(o,r){(function(){"use strict";let n=t("fs"),a=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,s={nop(){},promiseImmediate:l=>new Promise(c=>{o.setImmediate?r(()=>{c(l)}):setTimeout(()=>{c(l)},1)}),inherits:function(l,c,d,u){l.super_=c,u||(u=d,d=null),d&&Object.keys(d).forEach(m=>{Object.defineProperty(l,m,Object.getOwnPropertyDescriptor(d,m))});let p={constructor:{value:l,enumerable:!1,writable:!1,configurable:!0}};u&&Object.keys(u).forEach(m=>{p[m]=Object.getOwnPropertyDescriptor(u,m)}),l.prototype=Object.create(c.prototype,p)},dateToExcel:(l,c)=>25569+l.getTime()/864e5-(c?1462:0),excelToDate(l,c){let d=Math.round(24*(l-25569+(c?1462:0))*3600*1e3);return new Date(d)},parsePath(l){let c=l.lastIndexOf("/");return{path:l.substring(0,c),name:l.substring(c+1)}},getRelsPath(l){let c=s.parsePath(l);return`${c.path}/_rels/${c.name}.rels`},xmlEncode(l){let c=a.exec(l);if(!c)return l;let d="",u="",p=0,m=c.index;for(;m<l.length;m++){let h=l.charCodeAt(m);switch(h){case 34:u="&quot;";break;case 38:u="&amp;";break;case 39:u="&apos;";break;case 60:u="&lt;";break;case 62:u="&gt;";break;case 127:u="";break;default:if(h<=31&&(h<=8||h>=11&&h!==13)){u="";break}continue}p!==m&&(d+=l.substring(p,m)),p=m+1,u&&(d+=u)}return p!==m?d+l.substring(p,m):d},xmlDecode:l=>l.replace(/&([a-z]*);/g,c=>{switch(c){case"&lt;":return"<";case"&gt;":return">";case"&amp;":return"&";case"&apos;":return"'";case"&quot;":return'"';default:return c}}),validInt(l){let c=parseInt(l,10);return Number.isNaN(c)?0:c},isDateFmt(l){return l?(l=(l=l.replace(/\[[^\]]*]/g,"")).replace(/"[^"]*"/g,"")).match(/[ymdhMsb]+/)!==null:!1},fs:{exists:l=>new Promise(c=>{n.access(l,n.constants.F_OK,d=>{c(!d)})})},toIsoDateString:l=>l.toIsoString().subsstr(0,10),parseBoolean:l=>l===!0||l==="true"||l===1||l==="1"};e.exports=s}).call(this)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},t("timers").setImmediate)},{fs:216,timers:523}],28:[function(t,e,i){"use strict";let o=t("./under-dash"),r=t("./utils");function n(l,c,d){l.push(` ${c}="${r.xmlEncode(d.toString())}"`)}function a(l,c){if(c){let d=[];o.each(c,(u,p)=>{u!==void 0&&n(d,p,u)}),l.push(d.join(""))}}class s{constructor(){this._xml=[],this._stack=[],this._rollbacks=[]}get tos(){return this._stack.length?this._stack[this._stack.length-1]:void 0}get cursor(){return this._xml.length}openXml(c){let d=this._xml;d.push("<?xml"),a(d,c),d.push(`?>
`)}openNode(c,d){let u=this.tos,p=this._xml;u&&this.open&&p.push(">"),this._stack.push(c),p.push("<"),p.push(c),a(p,d),this.leaf=!0,this.open=!0}addAttribute(c,d){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");d!==void 0&&n(this._xml,c,d)}addAttributes(c){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");a(this._xml,c)}writeText(c){let d=this._xml;this.open&&(d.push(">"),this.open=!1),this.leaf=!1,d.push(r.xmlEncode(c.toString()))}writeXml(c){this.open&&(this._xml.push(">"),this.open=!1),this.leaf=!1,this._xml.push(c)}closeNode(){let c=this._stack.pop(),d=this._xml;this.leaf?d.push("/>"):(d.push("</"),d.push(c),d.push(">")),this.open=!1,this.leaf=!1}leafNode(c,d,u){this.openNode(c,d),u!==void 0&&this.writeText(u),this.closeNode()}closeAll(){for(;this._stack.length;)this.closeNode()}addRollback(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}commit(){this._rollbacks.pop()}rollback(){let c=this._rollbacks.pop();this._xml.length>c.xml&&this._xml.splice(c.xml,this._xml.length-c.xml),this._stack.length>c.stack&&this._stack.splice(c.stack,this._stack.length-c.stack),this.leaf=c.leaf,this.open=c.open}get xml(){return this.closeAll(),this._xml.join("")}}s.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"},e.exports=s},{"./under-dash":26,"./utils":27}],29:[function(t,e,i){(function(o){(function(){"use strict";let r=t("events"),n=t("jszip"),a=t("./stream-buf"),{stringToBuffer:s}=t("./browser-buffer-encode");class l extends r.EventEmitter{constructor(d){super(),this.options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},d),this.zip=new n,this.stream=new a}append(d,u){u.hasOwnProperty("base64")&&u.base64?this.zip.file(u.name,d,{base64:!0}):(o.browser&&typeof d=="string"&&(d=s(d)),this.zip.file(u.name,d))}async finalize(){let d=await this.zip.generateAsync(this.options);this.stream.end(d),this.emit("finish")}read(d){return this.stream.read(d)}setEncoding(d){return this.stream.setEncoding(d)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe(d,u){return this.stream.pipe(d,u)}unpipe(d){return this.stream.unpipe(d)}unshift(d){return this.stream.unshift(d)}wrap(d){return this.stream.wrap(d)}}e.exports={ZipWriter:l}}).call(this)}).call(this,t("_process"))},{"./browser-buffer-encode":17,"./stream-buf":24,_process:467,events:422,jszip:441}],30:[function(t,e,i){"use strict";e.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5E74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5E74" mm"\u6708" dd"\u65E5"'},28:{"zh-tw":'[$-404]e"\u5E74"m"\u6708"d"\u65E5"',"zh-cn":'m"\u6708"d"\u65E5"',"ja-jp":'[$-411]ggge"\u5E74"m"\u6708"d"\u65E5"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"\u5E74"m"\u6708"d"\u65E5"',"zh-cn":'m"\u6708"d"\u65E5"',"ja-jp":'[$-411]ggge"\u5E74"m"\u6708"d"\u65E5"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"\u5E74"m"\u6708"d"\u65E5"',"zh-cn":'yyyy"\u5E74"m"\u6708"d"\u65E5"',"ja-jp":'yyyy"\u5E74"m"\u6708"d"\u65E5"',"ko-kr":'yyyy"\uB144" mm"\uC6D4" dd"\uC77C"'},32:{"zh-tw":'hh"\u6642"mm"\u5206"',"zh-cn":'h"\u65F6"mm"\u5206"',"ja-jp":'h"\u6642"mm"\u5206"',"ko-kr":'h"\uC2DC" mm"\uBD84"'},33:{"zh-tw":'hh"\u6642"mm"\u5206"ss"\u79D2"',"zh-cn":'h"\u65F6"mm"\u5206"ss"\u79D2"',"ja-jp":'h"\u6642"mm"\u5206"ss"\u79D2"',"ko-kr":'h"\uC2DC" mm"\uBD84" ss"\uCD08"'},34:{"zh-tw":'\u4E0A\u5348/\u4E0B\u5348 hh"\u6642"mm"\u5206"',"zh-cn":'\u4E0A\u5348/\u4E0B\u5348 h"\u65F6"mm"\u5206"',"ja-jp":'yyyy"\u5E74"m"\u6708"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'\u4E0A\u5348/\u4E0B\u5348 hh"\u6642"mm"\u5206"ss"\u79D2"',"zh-cn":'\u4E0A\u5348/\u4E0B\u5348 h"\u65F6"mm"\u5206"ss"\u79D2"',"ja-jp":'m"\u6708"d"\u65E5"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5E74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5E74" mm"\u6708" dd"\u65E5"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5E74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5E74" mm"\u6708" dd"\u65E5"'},51:{"zh-tw":'[$-404]e"\u5E74"m"\u6708"d"\u65E5"',"zh-cn":'m"\u6708"d"\u65E5"',"ja-jp":'[$-411]ggge"\u5E74"m"\u6708"d"\u65E5"',"ko-kr":"mm-dd"},52:{"zh-tw":'\u4E0A\u5348/\u4E0B\u5348 hh"\u6642"mm"\u5206"',"zh-cn":'yyyy"\u5E74"m"\u6708"',"ja-jp":'yyyy"\u5E74"m"\u6708"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'\u4E0A\u5348/\u4E0B\u5348 hh"\u6642"mm"\u5206"ss"\u79D2"',"zh-cn":'m"\u6708"d"\u65E5"',"ja-jp":'m"\u6708"d"\u65E5"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"\u5E74"m"\u6708"d"\u65E5"',"zh-cn":'m"\u6708"d"\u65E5"',"ja-jp":'[$-411]ggge"\u5E74"m"\u6708"d"\u65E5"',"ko-kr":"mm-dd"},55:{"zh-tw":'\u4E0A\u5348/\u4E0B\u5348 hh"\u6642"mm"\u5206"',"zh-cn":'\u4E0A\u5348/\u4E0B\u5348 h"\u65F6"mm"\u5206"',"ja-jp":'yyyy"\u5E74"m"\u6708"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'\u4E0A\u5348/\u4E0B\u5348 hh"\u6642"mm"\u5206"ss"\u79D2"',"zh-cn":'\u4E0A\u5348/\u4E0B\u5348 h"\u65F6"mm"\u5206"ss"\u79D2"',"ja-jp":'m"\u6708"d"\u65E5"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5E74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5E74" mm"\u6708" dd"\u65E5"'},58:{"zh-tw":'[$-404]e"\u5E74"m"\u6708"d"\u65E5"',"zh-cn":'m"\u6708"d"\u65E5"',"ja-jp":'[$-411]ggge"\u5E74"m"\u6708"d"\u65E5"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}},{}],31:[function(t,e,i){"use strict";e.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}},{}],32:[function(t,e,i){"use strict";let o=t("../../utils/parse-sax"),r=t("../../utils/xml-stream");class n{prepare(){}render(){}parseOpen(s){}parseText(s){}parseClose(s){}reconcile(s,l){}reset(){this.model=null,this.map&&Object.values(this.map).forEach(s=>{s instanceof n?s.reset():s.xform&&s.xform.reset()})}mergeModel(s){this.model=Object.assign(this.model||{},s)}async parse(s){for await(let l of s)for(let{eventType:c,value:d}of l)if(c==="opentag")this.parseOpen(d);else if(c==="text")this.parseText(d);else if(c==="closetag"&&!this.parseClose(d.name))return this.model;return this.model}async parseStream(s){return this.parse(o(s))}get xml(){return this.toXml(this.model)}toXml(s){let l=new r;return this.render(l,s),l.xml}static toAttribute(s,l){let c=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(s===void 0){if(c)return l}else if(c||s!==l)return s.toString()}static toStringAttribute(s,l){let c=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return n.toAttribute(s,l,c)}static toStringValue(s,l){return s===void 0?l:s}static toBoolAttribute(s,l){let c=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(s===void 0){if(c)return l}else if(c||s!==l)return s?"1":"0"}static toBoolValue(s,l){return s===void 0?l:s==="1"}static toIntAttribute(s,l){let c=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return n.toAttribute(s,l,c)}static toIntValue(s,l){return s===void 0?l:parseInt(s,10)}static toFloatAttribute(s,l){let c=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return n.toAttribute(s,l,c)}static toFloatValue(s,l){return s===void 0?l:parseFloat(s)}}e.exports=n},{"../../utils/parse-sax":22,"../../utils/xml-stream":28}],33:[function(t,e,i){"use strict";let o=t("../base-xform"),r=t("../../../utils/col-cache");function n(s){try{return r.decodeEx(s),!0}catch{return!1}}function a(s){let l=[],c=!1,d="";return s.split(",").forEach(u=>{if(!u)return;let p=(u.match(/'/g)||[]).length;if(!p)return void(c?d+=u+",":n(u)&&l.push(u));let m=p%2==0;!c&&m&&n(u)?l.push(u):c&&!m?(c=!1,n(d+u)&&l.push(d+u),d=""):(c=!0,d+=u+",")}),l}e.exports=class extends o{render(s,l){s.openNode("definedName",{name:l.name,localSheetId:l.localSheetId}),s.writeText(l.ranges.join(",")),s.closeNode()}parseOpen(s){switch(s.name){case"definedName":return this._parsedName=s.attributes.name,this._parsedLocalSheetId=s.attributes.localSheetId,this._parsedText=[],!0;default:return!1}}parseText(s){this._parsedText.push(s)}parseClose(){return this.model={name:this._parsedName,ranges:a(this._parsedText.join(""))},this._parsedLocalSheetId!==void 0&&(this.model.localSheetId=parseInt(this._parsedLocalSheetId,10)),!1}}},{"../../../utils/col-cache":19,"../base-xform":32}],34:[function(t,e,i){"use strict";let o=t("../../../utils/utils"),r=t("../base-xform");e.exports=class extends r{render(n,a){n.leafNode("sheet",{sheetId:a.id,name:a.name,state:a.state,"r:id":a.rId})}parseOpen(n){return n.name==="sheet"&&(this.model={name:o.xmlDecode(n.attributes.name),id:parseInt(n.attributes.sheetId,10),state:n.attributes.state,rId:n.attributes["r:id"]},!0)}parseText(){}parseClose(){return!1}}},{"../../../utils/utils":27,"../base-xform":32}],35:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{render(r,n){r.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:n.fullCalcOnLoad?1:void 0})}parseOpen(r){return r.name==="calcPr"&&(this.model={},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],36:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{render(r,n){r.leafNode("workbookPr",{date1904:n.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}parseOpen(r){return r.name==="workbookPr"&&(this.model={date1904:r.attributes.date1904==="1"},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],37:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{render(r,n){let a={xWindow:n.x||0,yWindow:n.y||0,windowWidth:n.width||12e3,windowHeight:n.height||24e3,firstSheet:n.firstSheet,activeTab:n.activeTab};n.visibility&&n.visibility!=="visible"&&(a.visibility=n.visibility),r.leafNode("workbookView",a)}parseOpen(r){if(r.name==="workbookView"){let n=this.model={},a=function(l,c,d){let u=c!==void 0?n[l]=c:d;u!==void 0&&(n[l]=u)},s=function(l,c,d){let u=c!==void 0?n[l]=parseInt(c,10):d;u!==void 0&&(n[l]=u)};return s("x",r.attributes.xWindow,0),s("y",r.attributes.yWindow,0),s("width",r.attributes.windowWidth,25e3),s("height",r.attributes.windowHeight,1e4),a("visibility",r.attributes.visibility,"visible"),s("activeTab",r.attributes.activeTab,void 0),s("firstSheet",r.attributes.firstSheet,void 0),!0}return!1}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],38:[function(t,e,i){"use strict";let o=t("../../../utils/under-dash"),r=t("../../../utils/col-cache"),n=t("../../../utils/xml-stream"),a=t("../base-xform"),s=t("../static-xform"),l=t("../list-xform"),c=t("./defined-name-xform"),d=t("./sheet-xform"),u=t("./workbook-view-xform"),p=t("./workbook-properties-xform"),m=t("./workbook-calc-properties-xform");class h extends a{constructor(){super(),this.map={fileVersion:h.STATIC_XFORMS.fileVersion,workbookPr:new p,bookViews:new l({tag:"bookViews",count:!1,childXform:new u}),sheets:new l({tag:"sheets",count:!1,childXform:new d}),definedNames:new l({tag:"definedNames",count:!1,childXform:new c}),calcPr:new m}}prepare(g){g.sheets=g.worksheets;let b=[],y=0;g.sheets.forEach(w=>{if(w.pageSetup&&w.pageSetup.printArea&&w.pageSetup.printArea.split("&&").forEach(x=>{let S=x.split(":"),T={name:"_xlnm.Print_Area",ranges:[`'${w.name}'!$${S[0]}:$${S[1]}`],localSheetId:y};b.push(T)}),w.pageSetup&&(w.pageSetup.printTitlesRow||w.pageSetup.printTitlesColumn)){let x=[];if(w.pageSetup.printTitlesColumn){let T=w.pageSetup.printTitlesColumn.split(":");x.push(`'${w.name}'!$${T[0]}:$${T[1]}`)}if(w.pageSetup.printTitlesRow){let T=w.pageSetup.printTitlesRow.split(":");x.push(`'${w.name}'!$${T[0]}:$${T[1]}`)}let S={name:"_xlnm.Print_Titles",ranges:x,localSheetId:y};b.push(S)}y++}),b.length&&(g.definedNames=g.definedNames.concat(b)),(g.media||[]).forEach((w,x)=>{w.name=w.type+(x+1)})}render(g,b){g.openXml(n.StdDocAttributes),g.openNode("workbook",h.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render(g),this.map.workbookPr.render(g,b.properties),this.map.bookViews.render(g,b.views),this.map.sheets.render(g,b.sheets),this.map.definedNames.render(g,b.definedNames),this.map.calcPr.render(g,b.calcProperties),g.closeNode()}parseOpen(g){if(this.parser)return this.parser.parseOpen(g),!0;switch(g.name){case"workbook":return!0;default:return this.parser=this.map[g.name],this.parser&&this.parser.parseOpen(g),!0}}parseText(g){this.parser&&this.parser.parseText(g)}parseClose(g){if(this.parser)return this.parser.parseClose(g)||(this.parser=void 0),!0;switch(g){case"workbook":return this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model&&(this.model.definedNames=this.map.definedNames.model),!1;default:return!0}}reconcile(g){let b=(g.workbookRels||[]).reduce((T,M)=>(T[M.Id]=M,T),{}),y=[],w,x=0;(g.sheets||[]).forEach(T=>{let M=b[T.rId];M&&(w=g.worksheetHash["xl/"+M.Target.replace(/^(\s|\/xl\/)+/,"")],w&&(w.name=T.name,w.id=T.id,w.state=T.state,y[x++]=w))});let S=[];o.each(g.definedNames,T=>{if(T.name==="_xlnm.Print_Area"){if(w=y[T.localSheetId],w){w.pageSetup||(w.pageSetup={});let M=r.decodeEx(T.ranges[0]);w.pageSetup.printArea=w.pageSetup.printArea?`${w.pageSetup.printArea}&&${M.dimensions}`:M.dimensions}}else if(T.name==="_xlnm.Print_Titles"){if(w=y[T.localSheetId],w){w.pageSetup||(w.pageSetup={});let M=T.ranges.join(","),I=/\$/g,A=/\$\d+:\$\d+/,D=M.match(A);if(D&&D.length){let R=D[0];w.pageSetup.printTitlesRow=R.replace(I,"")}let E=/\$[A-Z]+:\$[A-Z]+/,N=M.match(E);if(N&&N.length){let R=N[0];w.pageSetup.printTitlesColumn=R.replace(I,"")}}}else S.push(T)}),g.definedNames=S,g.media.forEach((T,M)=>{T.index=M})}}h.WORKBOOK_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x15","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},h.STATIC_XFORMS={fileVersion:new s({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})},e.exports=h},{"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"../static-xform":120,"./defined-name-xform":33,"./sheet-xform":34,"./workbook-calc-properties-xform":35,"./workbook-properties-xform":36,"./workbook-view-xform":37}],39:[function(t,e,i){"use strict";let o=t("../strings/rich-text-xform"),r=t("../../../utils/utils"),n=t("../base-xform"),a=e.exports=function(s){this.model=s};r.inherits(a,n,{get tag(){return"r"},get richTextXform(){return this._richTextXform||(this._richTextXform=new o),this._richTextXform},render(s,l){l=l||this.model,s.openNode("comment",{ref:l.ref,authorId:0}),s.openNode("text"),l&&l.note&&l.note.texts&&l.note.texts.forEach(c=>{this.richTextXform.render(s,c)}),s.closeNode(),s.closeNode()},parseOpen(s){if(this.parser)return this.parser.parseOpen(s),!0;switch(s.name){case"comment":return this.model={type:"note",note:{texts:[]},...s.attributes},!0;case"r":return this.parser=this.richTextXform,this.parser.parseOpen(s),!0;default:return!1}},parseText(s){this.parser&&this.parser.parseText(s)},parseClose(s){switch(s){case"comment":return!1;case"r":return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(s),!0}}})},{"../../../utils/utils":27,"../base-xform":32,"../strings/rich-text-xform":122}],40:[function(t,e,i){"use strict";let o=t("../../../utils/xml-stream"),r=t("../../../utils/utils"),n=t("../base-xform"),a=t("./comment-xform"),s=e.exports=function(){this.map={comment:new a}};r.inherits(s,n,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render(l,c){c=c||this.model,l.openXml(o.StdDocAttributes),l.openNode("comments",s.COMMENTS_ATTRIBUTES),l.openNode("authors"),l.leafNode("author",null,"Author"),l.closeNode(),l.openNode("commentList"),c.comments.forEach(d=>{this.map.comment.render(l,d)}),l.closeNode(),l.closeNode()},parseOpen(l){if(this.parser)return this.parser.parseOpen(l),!0;switch(l.name){case"commentList":return this.model={comments:[]},!0;case"comment":return this.parser=this.map.comment,this.parser.parseOpen(l),!0;default:return!1}},parseText(l){this.parser&&this.parser.parseText(l)},parseClose(l){switch(l){case"commentList":return!1;case"comment":return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(l),!0}}})},{"../../../utils/utils":27,"../../../utils/xml-stream":28,"../base-xform":32,"./comment-xform":39}],41:[function(t,e,i){"use strict";let o=t("../../base-xform");e.exports=class extends o{constructor(r){super(),this._model=r}get tag(){return this._model&&this._model.tag}render(r,n,a){(n===a[2]||this.tag==="x:SizeWithCells"&&n===a[1])&&r.leafNode(this.tag)}parseOpen(r){switch(r.name){case this.tag:return this.model={},this.model[this.tag]=!0,!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../base-xform":32}],42:[function(t,e,i){"use strict";let o=t("../../base-xform");e.exports=class extends o{constructor(r){super(),this._model=r}get tag(){return this._model&&this._model.tag}render(r,n){r.leafNode(this.tag,null,n)}parseOpen(r){switch(r.name){case this.tag:return this.text="",!0;default:return!1}}parseText(r){this.text=r}parseClose(){return!1}}},{"../../base-xform":32}],43:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"x:Anchor"}getAnchorRect(r){let n=Math.floor(r.left),a=Math.floor(68*(r.left-n)),s=Math.floor(r.top),l=Math.floor(18*(r.top-s)),c=Math.floor(r.right),d=Math.floor(68*(r.right-c)),u=Math.floor(r.bottom);return[n,a,s,l,c,d,u,Math.floor(18*(r.bottom-u))]}getDefaultRect(r){let n=r.col,a=Math.max(r.row-2,0);return[n,6,a,14,n+2,2,a+4,16]}render(r,n){let a=n.anchor?this.getAnchorRect(n.anchor):this.getDefaultRect(n.refAddress);r.leafNode("x:Anchor",null,a.join(", "))}parseOpen(r){switch(r.name){case this.tag:return this.text="",!0;default:return!1}}parseText(r){this.text=r}parseClose(){return!1}}},{"../base-xform":32}],44:[function(t,e,i){"use strict";let o=t("../base-xform"),r=t("./vml-anchor-xform"),n=t("./style/vml-protection-xform"),a=t("./style/vml-position-xform"),s=["twoCells","oneCells","absolute"];e.exports=class extends o{constructor(){super(),this.map={"x:Anchor":new r,"x:Locked":new n({tag:"x:Locked"}),"x:LockText":new n({tag:"x:LockText"}),"x:SizeWithCells":new a({tag:"x:SizeWithCells"}),"x:MoveWithCells":new a({tag:"x:MoveWithCells"})}}get tag(){return"x:ClientData"}render(l,c){let{protection:d,editAs:u}=c.note;l.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render(l,u,s),this.map["x:SizeWithCells"].render(l,u,s),this.map["x:Anchor"].render(l,c),this.map["x:Locked"].render(l,d.locked),l.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render(l,d.lockText),l.leafNode("x:Row",null,c.refAddress.row-1),l.leafNode("x:Column",null,c.refAddress.col-1),l.closeNode()}parseOpen(l){switch(l.name){case this.tag:this.reset(),this.model={anchor:[],protection:{},editAs:""};break;default:this.parser=this.map[l.name],this.parser&&this.parser.parseOpen(l)}return!0}parseText(l){this.parser&&this.parser.parseText(l)}parseClose(l){if(this.parser)return this.parser.parseClose(l)||(this.parser=void 0),!0;switch(l){case this.tag:return this.normalizeModel(),!1;default:return!0}}normalizeModel(){let l=Object.assign({},this.map["x:MoveWithCells"].model,this.map["x:SizeWithCells"].model),c=Object.keys(l).length;this.model.editAs=s[c],this.model.anchor=this.map["x:Anchor"].text,this.model.protection.locked=this.map["x:Locked"].text,this.model.protection.lockText=this.map["x:LockText"].text}}},{"../base-xform":32,"./style/vml-position-xform":41,"./style/vml-protection-xform":42,"./vml-anchor-xform":43}],45:[function(t,e,i){"use strict";let o=t("../../../utils/xml-stream"),r=t("../base-xform"),n=t("./vml-shape-xform");class a extends r{constructor(){super(),this.map={"v:shape":new n}}get tag(){return"xml"}render(l,c){l.openXml(o.StdDocAttributes),l.openNode(this.tag,a.DRAWING_ATTRIBUTES),l.openNode("o:shapelayout",{"v:ext":"edit"}),l.leafNode("o:idmap",{"v:ext":"edit",data:1}),l.closeNode(),l.openNode("v:shapetype",{id:"_x0000_t202",coordsize:"21600,21600","o:spt":202,path:"m,l,21600r21600,l21600,xe"}),l.leafNode("v:stroke",{joinstyle:"miter"}),l.leafNode("v:path",{gradientshapeok:"t","o:connecttype":"rect"}),l.closeNode(),c.comments.forEach((d,u)=>{this.map["v:shape"].render(l,d,u)}),l.closeNode()}parseOpen(l){if(this.parser)return this.parser.parseOpen(l),!0;switch(l.name){case this.tag:this.reset(),this.model={comments:[]};break;default:this.parser=this.map[l.name],this.parser&&this.parser.parseOpen(l)}return!0}parseText(l){this.parser&&this.parser.parseText(l)}parseClose(l){if(this.parser)return this.parser.parseClose(l)||(this.model.comments.push(this.parser.model),this.parser=void 0),!0;switch(l){case this.tag:return!1;default:return!0}}reconcile(l,c){l.anchors.forEach(d=>{d.br?this.map["xdr:twoCellAnchor"].reconcile(d,c):this.map["xdr:oneCellAnchor"].reconcile(d,c)})}}a.DRAWING_ATTRIBUTES={"xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:x":"urn:schemas-microsoft-com:office:excel"},e.exports=a},{"../../../utils/xml-stream":28,"../base-xform":32,"./vml-shape-xform":46}],46:[function(t,e,i){"use strict";let o=t("../base-xform"),r=t("./vml-textbox-xform"),n=t("./vml-client-data-xform");class a extends o{constructor(){super(),this.map={"v:textbox":new r,"x:ClientData":new n}}get tag(){return"v:shape"}render(l,c,d){l.openNode("v:shape",a.V_SHAPE_ATTRIBUTES(c,d)),l.leafNode("v:fill",{color2:"infoBackground [80]"}),l.leafNode("v:shadow",{color:"none [81]",obscured:"t"}),l.leafNode("v:path",{"o:connecttype":"none"}),this.map["v:textbox"].render(l,c),this.map["x:ClientData"].render(l,c),l.closeNode()}parseOpen(l){if(this.parser)return this.parser.parseOpen(l),!0;switch(l.name){case this.tag:this.reset(),this.model={margins:{insetmode:l.attributes["o:insetmode"]},anchor:"",editAs:"",protection:{}};break;default:this.parser=this.map[l.name],this.parser&&this.parser.parseOpen(l)}return!0}parseText(l){this.parser&&this.parser.parseText(l)}parseClose(l){if(this.parser)return this.parser.parseClose(l)||(this.parser=void 0),!0;switch(l){case this.tag:return this.model.margins.inset=this.map["v:textbox"].model&&this.map["v:textbox"].model.inset,this.model.protection=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.protection,this.model.anchor=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.anchor,this.model.editAs=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.editAs,!1;default:return!0}}}a.V_SHAPE_ATTRIBUTES=(s,l)=>({id:"_x0000_s"+(1025+l),type:"#_x0000_t202",style:"position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden",fillcolor:"infoBackground [80]",strokecolor:"none [81]","o:insetmode":s.note.margins&&s.note.margins.insetmode}),e.exports=a},{"../base-xform":32,"./vml-client-data-xform":44,"./vml-textbox-xform":47}],47:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"v:textbox"}conversionUnit(r,n,a){return`${parseFloat(r)*n.toFixed(2)}${a}`}reverseConversionUnit(r){return(r||"").split(",").map(n=>Number(parseFloat(this.conversionUnit(parseFloat(n),.1,"")).toFixed(2)))}render(r,n){let a={style:"mso-direction-alt:auto"};if(n&&n.note){let{inset:s}=n.note&&n.note.margins;Array.isArray(s)&&(s=s.map(l=>this.conversionUnit(l,10,"mm")).join(",")),s&&(a.inset=s)}r.openNode("v:textbox",a),r.leafNode("div",{style:"text-align:left"}),r.closeNode()}parseOpen(r){switch(r.name){case this.tag:return this.model={inset:this.reverseConversionUnit(r.attributes.inset)},!0;default:return!0}}parseText(){}parseClose(r){switch(r){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],48:[function(t,e,i){"use strict";let o=t("./base-xform");e.exports=class extends o{createNewModel(r){return{}}parseOpen(r){return this.parser=this.parser||this.map[r.name],this.parser?(this.parser.parseOpen(r),!0):r.name===this.tag&&(this.model=this.createNewModel(r),!0)}parseText(r){this.parser&&this.parser.parseText(r)}onParserClose(r,n){this.model[r]=n.model}parseClose(r){return this.parser?(this.parser.parseClose(r)||(this.onParserClose(r,this.parser),this.parser=void 0),!0):r!==this.tag}}},{"./base-xform":32}],49:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{render(r,n){r.openNode("HeadingPairs"),r.openNode("vt:vector",{size:2,baseType:"variant"}),r.openNode("vt:variant"),r.leafNode("vt:lpstr",void 0,"Worksheets"),r.closeNode(),r.openNode("vt:variant"),r.leafNode("vt:i4",void 0,n.length),r.closeNode(),r.closeNode(),r.closeNode()}parseOpen(r){return r.name==="HeadingPairs"}parseText(){}parseClose(r){return r!=="HeadingPairs"}}},{"../base-xform":32}],50:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{render(r,n){r.openNode("TitlesOfParts"),r.openNode("vt:vector",{size:n.length,baseType:"lpstr"}),n.forEach(a=>{r.leafNode("vt:lpstr",void 0,a.name)}),r.closeNode(),r.closeNode()}parseOpen(r){return r.name==="TitlesOfParts"}parseText(){}parseClose(r){return r!=="TitlesOfParts"}}},{"../base-xform":32}],51:[function(t,e,i){"use strict";let o=t("../../../utils/xml-stream"),r=t("../base-xform"),n=t("../simple/string-xform"),a=t("./app-heading-pairs-xform"),s=t("./app-titles-of-parts-xform");class l extends r{constructor(){super(),this.map={Company:new n({tag:"Company"}),Manager:new n({tag:"Manager"}),HeadingPairs:new a,TitleOfParts:new s}}render(d,u){d.openXml(o.StdDocAttributes),d.openNode("Properties",l.PROPERTY_ATTRIBUTES),d.leafNode("Application",void 0,"Microsoft Excel"),d.leafNode("DocSecurity",void 0,"0"),d.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render(d,u.worksheets),this.map.TitleOfParts.render(d,u.worksheets),this.map.Company.render(d,u.company||""),this.map.Manager.render(d,u.manager),d.leafNode("LinksUpToDate",void 0,"false"),d.leafNode("SharedDoc",void 0,"false"),d.leafNode("HyperlinksChanged",void 0,"false"),d.leafNode("AppVersion",void 0,"16.0300"),d.closeNode()}parseOpen(d){if(this.parser)return this.parser.parseOpen(d),!0;switch(d.name){case"Properties":return!0;default:return this.parser=this.map[d.name],!!this.parser&&(this.parser.parseOpen(d),!0)}}parseText(d){this.parser&&this.parser.parseText(d)}parseClose(d){if(this.parser)return this.parser.parseClose(d)||(this.parser=void 0),!0;switch(d){case"Properties":return this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1;default:return!0}}}l.DateFormat=function(c){return c.toISOString().replace(/[.]\d{3,6}/,"")},l.DateAttrs={"xsi:type":"dcterms:W3CDTF"},l.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"},e.exports=l},{"../../../utils/xml-stream":28,"../base-xform":32,"../simple/string-xform":119,"./app-heading-pairs-xform":49,"./app-titles-of-parts-xform":50}],52:[function(t,e,i){"use strict";let o=t("../../../utils/xml-stream"),r=t("../base-xform");class n extends r{render(s,l){s.openXml(o.StdDocAttributes),s.openNode("Types",n.PROPERTY_ATTRIBUTES);let c={};(l.media||[]).forEach(d=>{if(d.type==="image"){let u=d.extension;c[u]||(c[u]=!0,s.leafNode("Default",{Extension:u,ContentType:"image/"+u}))}}),s.leafNode("Default",{Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"}),s.leafNode("Default",{Extension:"xml",ContentType:"application/xml"}),s.leafNode("Override",{PartName:"/xl/workbook.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),l.worksheets.forEach(d=>{let u=`/xl/worksheets/sheet${d.id}.xml`;s.leafNode("Override",{PartName:u,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"})}),s.leafNode("Override",{PartName:"/xl/theme/theme1.xml",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml"}),s.leafNode("Override",{PartName:"/xl/styles.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}),l.sharedStrings&&l.sharedStrings.count&&s.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"}),l.tables&&l.tables.forEach(d=>{s.leafNode("Override",{PartName:"/xl/tables/"+d.target,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})}),l.drawings&&l.drawings.forEach(d=>{s.leafNode("Override",{PartName:`/xl/drawings/${d.name}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})}),l.commentRefs&&(s.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),l.commentRefs.forEach(d=>{let{commentName:u}=d;s.leafNode("Override",{PartName:`/xl/${u}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"})})),s.leafNode("Override",{PartName:"/docProps/core.xml",ContentType:"application/vnd.openxmlformats-package.core-properties+xml"}),s.leafNode("Override",{PartName:"/docProps/app.xml",ContentType:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}),s.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}}n.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"},e.exports=n},{"../../../utils/xml-stream":28,"../base-xform":32}],53:[function(t,e,i){"use strict";let o=t("../../../utils/xml-stream"),r=t("../base-xform"),n=t("../simple/date-xform"),a=t("../simple/string-xform"),s=t("../simple/integer-xform");class l extends r{constructor(){super(),this.map={"dc:creator":new a({tag:"dc:creator"}),"dc:title":new a({tag:"dc:title"}),"dc:subject":new a({tag:"dc:subject"}),"dc:description":new a({tag:"dc:description"}),"dc:identifier":new a({tag:"dc:identifier"}),"dc:language":new a({tag:"dc:language"}),"cp:keywords":new a({tag:"cp:keywords"}),"cp:category":new a({tag:"cp:category"}),"cp:lastModifiedBy":new a({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new n({tag:"cp:lastPrinted",format:l.DateFormat}),"cp:revision":new s({tag:"cp:revision"}),"cp:version":new a({tag:"cp:version"}),"cp:contentStatus":new a({tag:"cp:contentStatus"}),"cp:contentType":new a({tag:"cp:contentType"}),"dcterms:created":new n({tag:"dcterms:created",attrs:l.DateAttrs,format:l.DateFormat}),"dcterms:modified":new n({tag:"dcterms:modified",attrs:l.DateAttrs,format:l.DateFormat})}}render(d,u){d.openXml(o.StdDocAttributes),d.openNode("cp:coreProperties",l.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render(d,u.creator),this.map["dc:title"].render(d,u.title),this.map["dc:subject"].render(d,u.subject),this.map["dc:description"].render(d,u.description),this.map["dc:identifier"].render(d,u.identifier),this.map["dc:language"].render(d,u.language),this.map["cp:keywords"].render(d,u.keywords),this.map["cp:category"].render(d,u.category),this.map["cp:lastModifiedBy"].render(d,u.lastModifiedBy),this.map["cp:lastPrinted"].render(d,u.lastPrinted),this.map["cp:revision"].render(d,u.revision),this.map["cp:version"].render(d,u.version),this.map["cp:contentStatus"].render(d,u.contentStatus),this.map["cp:contentType"].render(d,u.contentType),this.map["dcterms:created"].render(d,u.created),this.map["dcterms:modified"].render(d,u.modified),d.closeNode()}parseOpen(d){if(this.parser)return this.parser.parseOpen(d),!0;switch(d.name){case"cp:coreProperties":case"coreProperties":return!0;default:if(this.parser=this.map[d.name],this.parser)return this.parser.parseOpen(d),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(d))}}parseText(d){this.parser&&this.parser.parseText(d)}parseClose(d){if(this.parser)return this.parser.parseClose(d)||(this.parser=void 0),!0;switch(d){case"cp:coreProperties":case"coreProperties":return this.model={creator:this.map["dc:creator"].model,title:this.map["dc:title"].model,subject:this.map["dc:subject"].model,description:this.map["dc:description"].model,identifier:this.map["dc:identifier"].model,language:this.map["dc:language"].model,keywords:this.map["cp:keywords"].model,category:this.map["cp:category"].model,lastModifiedBy:this.map["cp:lastModifiedBy"].model,lastPrinted:this.map["cp:lastPrinted"].model,revision:this.map["cp:revision"].model,contentStatus:this.map["cp:contentStatus"].model,contentType:this.map["cp:contentType"].model,created:this.map["dcterms:created"].model,modified:this.map["dcterms:modified"].model},!1;default:throw new Error("Unexpected xml node in parseClose: "+d)}}}l.DateFormat=function(c){return c.toISOString().replace(/[.]\d{3}/,"")},l.DateAttrs={"xsi:type":"dcterms:W3CDTF"},l.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":"http://schemas.openxmlformats.org/package/2006/metadata/core-properties","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:dcterms":"http://purl.org/dc/terms/","xmlns:dcmitype":"http://purl.org/dc/dcmitype/","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},e.exports=l},{"../../../utils/xml-stream":28,"../base-xform":32,"../simple/date-xform":117,"../simple/integer-xform":118,"../simple/string-xform":119}],54:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{render(r,n){r.leafNode("Relationship",n)}parseOpen(r){switch(r.name){case"Relationship":return this.model=r.attributes,!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],55:[function(t,e,i){"use strict";let o=t("../../../utils/xml-stream"),r=t("../base-xform"),n=t("./relationship-xform");class a extends r{constructor(){super(),this.map={Relationship:new n}}render(l,c){c=c||this._values,l.openXml(o.StdDocAttributes),l.openNode("Relationships",a.RELATIONSHIPS_ATTRIBUTES),c.forEach(d=>{this.map.Relationship.render(l,d)}),l.closeNode()}parseOpen(l){if(this.parser)return this.parser.parseOpen(l),!0;switch(l.name){case"Relationships":return this.model=[],!0;default:if(this.parser=this.map[l.name],this.parser)return this.parser.parseOpen(l),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(l))}}parseText(l){this.parser&&this.parser.parseText(l)}parseClose(l){if(this.parser)return this.parser.parseClose(l)||(this.model.push(this.parser.model),this.parser=void 0),!0;switch(l){case"Relationships":return!1;default:throw new Error("Unexpected xml node in parseClose: "+l)}}}a.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"},e.exports=a},{"../../../utils/xml-stream":28,"../base-xform":32,"./relationship-xform":54}],56:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{parseOpen(r){if(this.parser)return this.parser.parseOpen(r),!0;switch(r.name){case this.tag:this.reset(),this.model={range:{editAs:r.attributes.editAs||"oneCell"}};break;default:this.parser=this.map[r.name],this.parser&&this.parser.parseOpen(r)}return!0}parseText(r){this.parser&&this.parser.parseText(r)}reconcilePicture(r,n){if(r&&r.rId){let a=n.rels[r.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(a){let s=a[1],l=n.mediaIndex[s];return n.media[l]}}}}},{"../base-xform":32}],57:[function(t,e,i){"use strict";let o=t("../base-xform"),r=t("./blip-xform");e.exports=class extends o{constructor(){super(),this.map={"a:blip":new r}}get tag(){return"xdr:blipFill"}render(n,a){n.openNode(this.tag),this.map["a:blip"].render(n,a),n.openNode("a:stretch"),n.leafNode("a:fillRect"),n.closeNode(),n.closeNode()}parseOpen(n){if(this.parser)return this.parser.parseOpen(n),!0;switch(n.name){case this.tag:this.reset();break;default:this.parser=this.map[n.name],this.parser&&this.parser.parseOpen(n)}return!0}parseText(){}parseClose(n){if(this.parser)return this.parser.parseClose(n)||(this.parser=void 0),!0;switch(n){case this.tag:return this.model=this.map["a:blip"].model,!1;default:return!0}}}},{"../base-xform":32,"./blip-xform":58}],58:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"a:blip"}render(r,n){r.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":n.rId,cstate:"print"})}parseOpen(r){switch(r.name){case this.tag:return this.model={rId:r.attributes["r:embed"]},!0;default:return!0}}parseText(){}parseClose(r){switch(r){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],59:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"xdr:cNvPicPr"}render(r){r.openNode(this.tag),r.leafNode("a:picLocks",{noChangeAspect:"1"}),r.closeNode()}parseOpen(r){switch(r.name){case this.tag:default:return!0}}parseText(){}parseClose(r){switch(r){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],60:[function(t,e,i){"use strict";let o=t("../base-xform"),r=t("./hlink-click-xform"),n=t("./ext-lst-xform");e.exports=class extends o{constructor(){super(),this.map={"a:hlinkClick":new r,"a:extLst":new n}}get tag(){return"xdr:cNvPr"}render(a,s){a.openNode(this.tag,{id:s.index,name:"Picture "+s.index}),this.map["a:hlinkClick"].render(a,s),this.map["a:extLst"].render(a,s),a.closeNode()}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;switch(a.name){case this.tag:this.reset();break;default:this.parser=this.map[a.name],this.parser&&this.parser.parseOpen(a)}return!0}parseText(){}parseClose(a){if(this.parser)return this.parser.parseClose(a)||(this.parser=void 0),!0;switch(a){case this.tag:return this.model=this.map["a:hlinkClick"].model,!1;default:return!0}}}},{"../base-xform":32,"./ext-lst-xform":63,"./hlink-click-xform":65}],61:[function(t,e,i){"use strict";let o=t("../base-xform"),r=t("../simple/integer-xform");e.exports=class extends o{constructor(n){super(),this.tag=n.tag,this.map={"xdr:col":new r({tag:"xdr:col",zero:!0}),"xdr:colOff":new r({tag:"xdr:colOff",zero:!0}),"xdr:row":new r({tag:"xdr:row",zero:!0}),"xdr:rowOff":new r({tag:"xdr:rowOff",zero:!0})}}render(n,a){n.openNode(this.tag),this.map["xdr:col"].render(n,a.nativeCol),this.map["xdr:colOff"].render(n,a.nativeColOff),this.map["xdr:row"].render(n,a.nativeRow),this.map["xdr:rowOff"].render(n,a.nativeRowOff),n.closeNode()}parseOpen(n){if(this.parser)return this.parser.parseOpen(n),!0;switch(n.name){case this.tag:this.reset();break;default:this.parser=this.map[n.name],this.parser&&this.parser.parseOpen(n)}return!0}parseText(n){this.parser&&this.parser.parseText(n)}parseClose(n){if(this.parser)return this.parser.parseClose(n)||(this.parser=void 0),!0;switch(n){case this.tag:return this.model={nativeCol:this.map["xdr:col"].model,nativeColOff:this.map["xdr:colOff"].model,nativeRow:this.map["xdr:row"].model,nativeRowOff:this.map["xdr:rowOff"].model},!1;default:return!0}}}},{"../base-xform":32,"../simple/integer-xform":118}],62:[function(t,e,i){"use strict";let o=t("../../../utils/col-cache"),r=t("../../../utils/xml-stream"),n=t("../base-xform"),a=t("./two-cell-anchor-xform"),s=t("./one-cell-anchor-xform");class l extends n{constructor(){super(),this.map={"xdr:twoCellAnchor":new a,"xdr:oneCellAnchor":new s}}prepare(d){d.anchors.forEach((u,p)=>{u.anchorType=(function(m){return(typeof m.range=="string"?o.decode(m.range):m.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"})(u),this.map[u.anchorType].prepare(u,{index:p})})}get tag(){return"xdr:wsDr"}render(d,u){d.openXml(r.StdDocAttributes),d.openNode(this.tag,l.DRAWING_ATTRIBUTES),u.anchors.forEach(p=>{this.map[p.anchorType].render(d,p)}),d.closeNode()}parseOpen(d){if(this.parser)return this.parser.parseOpen(d),!0;switch(d.name){case this.tag:this.reset(),this.model={anchors:[]};break;default:this.parser=this.map[d.name],this.parser&&this.parser.parseOpen(d)}return!0}parseText(d){this.parser&&this.parser.parseText(d)}parseClose(d){if(this.parser)return this.parser.parseClose(d)||(this.model.anchors.push(this.parser.model),this.parser=void 0),!0;switch(d){case this.tag:return!1;default:return!0}}reconcile(d,u){d.anchors.forEach(p=>{p.br?this.map["xdr:twoCellAnchor"].reconcile(p,u):this.map["xdr:oneCellAnchor"].reconcile(p,u)})}}l.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"},e.exports=l},{"../../../utils/col-cache":19,"../../../utils/xml-stream":28,"../base-xform":32,"./one-cell-anchor-xform":67,"./two-cell-anchor-xform":70}],63:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"a:extLst"}render(r){r.openNode(this.tag),r.openNode("a:ext",{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}),r.leafNode("a16:creationId",{"xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main",id:"{00000000-0008-0000-0000-000002000000}"}),r.closeNode(),r.closeNode()}parseOpen(r){switch(r.name){case this.tag:default:return!0}}parseText(){}parseClose(r){switch(r){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],64:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{constructor(r){super(),this.tag=r.tag,this.map={}}render(r,n){r.openNode(this.tag);let a=Math.floor(9525*n.width),s=Math.floor(9525*n.height);r.addAttribute("cx",a),r.addAttribute("cy",s),r.closeNode()}parseOpen(r){return r.name===this.tag&&(this.model={width:parseInt(r.attributes.cx||"0",10)/9525,height:parseInt(r.attributes.cy||"0",10)/9525},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],65:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"a:hlinkClick"}render(r,n){n.hyperlinks&&n.hyperlinks.rId&&r.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":n.hyperlinks.rId,tooltip:n.hyperlinks.tooltip})}parseOpen(r){switch(r.name){case this.tag:return this.model={hyperlinks:{rId:r.attributes["r:id"],tooltip:r.attributes.tooltip}},!0;default:return!0}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],66:[function(t,e,i){"use strict";let o=t("../base-xform"),r=t("./c-nv-pr-xform"),n=t("./c-nv-pic-pr-xform");e.exports=class extends o{constructor(){super(),this.map={"xdr:cNvPr":new r,"xdr:cNvPicPr":new n}}get tag(){return"xdr:nvPicPr"}render(a,s){a.openNode(this.tag),this.map["xdr:cNvPr"].render(a,s),this.map["xdr:cNvPicPr"].render(a,s),a.closeNode()}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;switch(a.name){case this.tag:this.reset();break;default:this.parser=this.map[a.name],this.parser&&this.parser.parseOpen(a)}return!0}parseText(){}parseClose(a){if(this.parser)return this.parser.parseClose(a)||(this.parser=void 0),!0;switch(a){case this.tag:return this.model=this.map["xdr:cNvPr"].model,!1;default:return!0}}}},{"../base-xform":32,"./c-nv-pic-pr-xform":59,"./c-nv-pr-xform":60}],67:[function(t,e,i){"use strict";let o=t("./base-cell-anchor-xform"),r=t("../static-xform"),n=t("./cell-position-xform"),a=t("./ext-xform"),s=t("./pic-xform");e.exports=class extends o{constructor(){super(),this.map={"xdr:from":new n({tag:"xdr:from"}),"xdr:ext":new a({tag:"xdr:ext"}),"xdr:pic":new s,"xdr:clientData":new r({tag:"xdr:clientData"})}}get tag(){return"xdr:oneCellAnchor"}prepare(l,c){this.map["xdr:pic"].prepare(l.picture,c)}render(l,c){l.openNode(this.tag,{editAs:c.range.editAs||"oneCell"}),this.map["xdr:from"].render(l,c.range.tl),this.map["xdr:ext"].render(l,c.range.ext),this.map["xdr:pic"].render(l,c.picture),this.map["xdr:clientData"].render(l,{}),l.closeNode()}parseClose(l){if(this.parser)return this.parser.parseClose(l)||(this.parser=void 0),!0;switch(l){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.ext=this.map["xdr:ext"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile(l,c){l.medium=this.reconcilePicture(l.picture,c)}}},{"../static-xform":120,"./base-cell-anchor-xform":56,"./cell-position-xform":61,"./ext-xform":64,"./pic-xform":68}],68:[function(t,e,i){"use strict";let o=t("../base-xform"),r=t("../static-xform"),n=t("./blip-fill-xform"),a=t("./nv-pic-pr-xform"),s=t("./sp-pr");e.exports=class extends o{constructor(){super(),this.map={"xdr:nvPicPr":new a,"xdr:blipFill":new n,"xdr:spPr":new r(s)}}get tag(){return"xdr:pic"}prepare(l,c){l.index=c.index+1}render(l,c){l.openNode(this.tag),this.map["xdr:nvPicPr"].render(l,c),this.map["xdr:blipFill"].render(l,c),this.map["xdr:spPr"].render(l,c),l.closeNode()}parseOpen(l){if(this.parser)return this.parser.parseOpen(l),!0;switch(l.name){case this.tag:this.reset();break;default:this.parser=this.map[l.name],this.parser&&this.parser.parseOpen(l)}return!0}parseText(){}parseClose(l){if(this.parser)return this.parser.parseClose(l)||(this.mergeModel(this.parser.model),this.parser=void 0),!0;switch(l){case this.tag:return!1;default:return!0}}}},{"../base-xform":32,"../static-xform":120,"./blip-fill-xform":57,"./nv-pic-pr-xform":66,"./sp-pr":69}],69:[function(t,e,i){"use strict";e.exports={tag:"xdr:spPr",c:[{tag:"a:xfrm",c:[{tag:"a:off",$:{x:"0",y:"0"}},{tag:"a:ext",$:{cx:"0",cy:"0"}}]},{tag:"a:prstGeom",$:{prst:"rect"},c:[{tag:"a:avLst"}]}]}},{}],70:[function(t,e,i){"use strict";let o=t("./base-cell-anchor-xform"),r=t("../static-xform"),n=t("./cell-position-xform"),a=t("./pic-xform");e.exports=class extends o{constructor(){super(),this.map={"xdr:from":new n({tag:"xdr:from"}),"xdr:to":new n({tag:"xdr:to"}),"xdr:pic":new a,"xdr:clientData":new r({tag:"xdr:clientData"})}}get tag(){return"xdr:twoCellAnchor"}prepare(s,l){this.map["xdr:pic"].prepare(s.picture,l)}render(s,l){s.openNode(this.tag,{editAs:l.range.editAs||"oneCell"}),this.map["xdr:from"].render(s,l.range.tl),this.map["xdr:to"].render(s,l.range.br),this.map["xdr:pic"].render(s,l.picture),this.map["xdr:clientData"].render(s,{}),s.closeNode()}parseClose(s){if(this.parser)return this.parser.parseClose(s)||(this.parser=void 0),!0;switch(s){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.br=this.map["xdr:to"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile(s,l){s.medium=this.reconcilePicture(s.picture,l)}}},{"../static-xform":120,"./base-cell-anchor-xform":56,"./cell-position-xform":61,"./pic-xform":68}],71:[function(t,e,i){"use strict";let o=t("./base-xform");e.exports=class extends o{constructor(r){super(),this.tag=r.tag,this.always=!!r.always,this.count=r.count,this.empty=r.empty,this.$count=r.$count||"count",this.$=r.$,this.childXform=r.childXform,this.maxItems=r.maxItems}prepare(r,n){let{childXform:a}=this;r&&r.forEach((s,l)=>{n.index=l,a.prepare(s,n)})}render(r,n){if(this.always||n&&n.length){r.openNode(this.tag,this.$),this.count&&r.addAttribute(this.$count,n&&n.length||0);let{childXform:a}=this;(n||[]).forEach((s,l)=>{a.render(r,s,l)}),r.closeNode()}else this.empty&&r.leafNode(this.tag)}parseOpen(r){if(this.parser)return this.parser.parseOpen(r),!0;switch(r.name){case this.tag:return this.model=[],!0;default:return!!this.childXform.parseOpen(r)&&(this.parser=this.childXform,!0)}}parseText(r){this.parser&&this.parser.parseText(r)}parseClose(r){if(this.parser){if(!this.parser.parseClose(r)&&(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&&this.model.length>this.maxItems))throw new Error(`Max ${this.childXform.tag} count (${this.maxItems}) exceeded`);return!0}return!1}reconcile(r,n){if(r){let{childXform:a}=this;r.forEach(s=>{a.reconcile(s,n)})}}}},{"./base-xform":32}],72:[function(t,e,i){"use strict";let o=t("../../../utils/col-cache"),r=t("../base-xform");e.exports=class extends r{get tag(){return"autoFilter"}render(n,a){if(a)if(typeof a=="string")n.leafNode("autoFilter",{ref:a});else{let s=function(d){return typeof d=="string"?d:o.getAddress(d.row,d.column).address},l=s(a.from),c=s(a.to);l&&c&&n.leafNode("autoFilter",{ref:`${l}:${c}`})}}parseOpen(n){n.name==="autoFilter"&&(this.model=n.attributes.ref)}}},{"../../../utils/col-cache":19,"../base-xform":32}],73:[function(t,e,i){"use strict";let o=t("../../../utils/utils"),r=t("../base-xform"),n=t("../../../doc/range"),a=t("../../../doc/enums"),s=t("../strings/rich-text-xform");function l(c){if(c==null)return a.ValueType.Null;if(c instanceof String||typeof c=="string")return a.ValueType.String;if(typeof c=="number")return a.ValueType.Number;if(typeof c=="boolean")return a.ValueType.Boolean;if(c instanceof Date)return a.ValueType.Date;if(c.text&&c.hyperlink)return a.ValueType.Hyperlink;if(c.formula)return a.ValueType.Formula;if(c.error)return a.ValueType.Error;throw new Error("I could not understand type of value")}e.exports=class extends r{constructor(){super(),this.richTextXForm=new s}get tag(){return"c"}prepare(c,d){let u=d.styles.addStyleModel(c.style||{},(function(p){switch(p.type){case a.ValueType.Formula:return l(p.result);default:return p.type}})(c));switch(u&&(c.styleId=u),c.comment&&d.comments.push({...c.comment,ref:c.address}),c.type){case a.ValueType.String:case a.ValueType.RichText:d.sharedStrings&&(c.ssId=d.sharedStrings.add(c.value));break;case a.ValueType.Date:d.date1904&&(c.date1904=!0);break;case a.ValueType.Hyperlink:d.sharedStrings&&c.text!==void 0&&c.text!==null&&(c.ssId=d.sharedStrings.add(c.text)),d.hyperlinks.push({address:c.address,target:c.hyperlink,tooltip:c.tooltip});break;case a.ValueType.Merge:d.merges.add(c);break;case a.ValueType.Formula:if(d.date1904&&(c.date1904=!0),c.shareType==="shared"&&(c.si=d.siFormulae++),c.formula)d.formulae[c.address]=c;else if(c.sharedFormula){let p=d.formulae[c.sharedFormula];if(!p)throw new Error("Shared Formula master must exist above and or left of clone for cell "+c.address);p.si===void 0?(p.shareType="shared",p.si=d.siFormulae++,p.range=new n(p.address,c.address)):p.range&&p.range.expandToAddress(c.address),c.si=p.si}}}renderFormula(c,d){let u=null;switch(d.shareType){case"shared":u={t:"shared",ref:d.ref||d.range.range,si:d.si};break;case"array":u={t:"array",ref:d.ref};break;default:d.si!==void 0&&(u={t:"shared",si:d.si})}switch(l(d.result)){case a.ValueType.Null:c.leafNode("f",u,d.formula);break;case a.ValueType.String:c.addAttribute("t","str"),c.leafNode("f",u,d.formula),c.leafNode("v",null,d.result);break;case a.ValueType.Number:c.leafNode("f",u,d.formula),c.leafNode("v",null,d.result);break;case a.ValueType.Boolean:c.addAttribute("t","b"),c.leafNode("f",u,d.formula),c.leafNode("v",null,d.result?1:0);break;case a.ValueType.Error:c.addAttribute("t","e"),c.leafNode("f",u,d.formula),c.leafNode("v",null,d.result.error);break;case a.ValueType.Date:c.leafNode("f",u,d.formula),c.leafNode("v",null,o.dateToExcel(d.result,d.date1904));break;default:throw new Error("I could not understand type of value")}}render(c,d){if(d.type!==a.ValueType.Null||d.styleId){switch(c.openNode("c"),c.addAttribute("r",d.address),d.styleId&&c.addAttribute("s",d.styleId),d.type){case a.ValueType.Null:break;case a.ValueType.Number:c.leafNode("v",null,d.value);break;case a.ValueType.Boolean:c.addAttribute("t","b"),c.leafNode("v",null,d.value?"1":"0");break;case a.ValueType.Error:c.addAttribute("t","e"),c.leafNode("v",null,d.value.error);break;case a.ValueType.String:case a.ValueType.RichText:d.ssId!==void 0?(c.addAttribute("t","s"),c.leafNode("v",null,d.ssId)):d.value&&d.value.richText?(c.addAttribute("t","inlineStr"),c.openNode("is"),d.value.richText.forEach(u=>{this.richTextXForm.render(c,u)}),c.closeNode("is")):(c.addAttribute("t","str"),c.leafNode("v",null,d.value));break;case a.ValueType.Date:c.leafNode("v",null,o.dateToExcel(d.value,d.date1904));break;case a.ValueType.Hyperlink:d.ssId!==void 0?(c.addAttribute("t","s"),c.leafNode("v",null,d.ssId)):(c.addAttribute("t","str"),c.leafNode("v",null,d.text));break;case a.ValueType.Formula:this.renderFormula(c,d);break;case a.ValueType.Merge:}c.closeNode()}}parseOpen(c){if(this.parser)return this.parser.parseOpen(c),!0;switch(c.name){case"c":return this.model={address:c.attributes.r},this.t=c.attributes.t,c.attributes.s&&(this.model.styleId=parseInt(c.attributes.s,10)),!0;case"f":return this.currentNode="f",this.model.si=c.attributes.si,this.model.shareType=c.attributes.t,this.model.ref=c.attributes.ref,!0;case"v":return this.currentNode="v",!0;case"t":return this.currentNode="t",!0;case"r":return this.parser=this.richTextXForm,this.parser.parseOpen(c),!0;default:return!1}}parseText(c){if(this.parser)this.parser.parseText(c);else switch(this.currentNode){case"f":this.model.formula=this.model.formula?this.model.formula+c:c;break;case"v":case"t":this.model.value&&this.model.value.richText?this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+c:c:this.model.value=this.model.value?this.model.value+c:c}}parseClose(c){switch(c){case"c":{let{model:d}=this;if(d.formula||d.shareType)d.type=a.ValueType.Formula,d.value&&(this.t==="str"?d.result=o.xmlDecode(d.value):this.t==="b"?d.result=parseInt(d.value,10)!==0:this.t==="e"?d.result={error:d.value}:d.result=parseFloat(d.value),d.value=void 0);else if(d.value!==void 0)switch(this.t){case"s":d.type=a.ValueType.String,d.value=parseInt(d.value,10);break;case"str":d.type=a.ValueType.String,d.value=o.xmlDecode(d.value);break;case"inlineStr":d.type=a.ValueType.String;break;case"b":d.type=a.ValueType.Boolean,d.value=parseInt(d.value,10)!==0;break;case"e":d.type=a.ValueType.Error,d.value={error:d.value};break;default:d.type=a.ValueType.Number,d.value=parseFloat(d.value)}else d.styleId?d.type=a.ValueType.Null:d.type=a.ValueType.Merge;return!1}case"f":case"v":case"is":return this.currentNode=void 0,!0;case"t":return this.parser?(this.parser.parseClose(c),!0):(this.currentNode=void 0,!0);case"r":return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:return!!this.parser&&(this.parser.parseClose(c),!0)}}reconcile(c,d){let u=c.styleId&&d.styles&&d.styles.getStyleModel(c.styleId);switch(u&&(c.style=u),c.styleId!==void 0&&(c.styleId=void 0),c.type){case a.ValueType.String:typeof c.value=="number"&&d.sharedStrings&&(c.value=d.sharedStrings.getString(c.value)),c.value.richText&&(c.type=a.ValueType.RichText);break;case a.ValueType.Number:u&&o.isDateFmt(u.numFmt)&&(c.type=a.ValueType.Date,c.value=o.excelToDate(c.value,d.date1904));break;case a.ValueType.Formula:c.result!==void 0&&u&&o.isDateFmt(u.numFmt)&&(c.result=o.excelToDate(c.result,d.date1904)),c.shareType==="shared"&&(c.ref?d.formulae[c.si]=c.address:(c.sharedFormula=d.formulae[c.si],delete c.shareType),delete c.si)}let p=d.hyperlinkMap[c.address];p&&(c.type===a.ValueType.Formula?(c.text=c.result,c.result=void 0):(c.text=c.value,c.value=void 0),c.type=a.ValueType.Hyperlink,c.hyperlink=p);let m=d.commentsMap&&d.commentsMap[c.address];m&&(c.comment=m)}}},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/utils":27,"../base-xform":32,"../strings/rich-text-xform":122}],74:[function(t,e,i){"use strict";let o=t("../../base-xform");e.exports=class extends o{get tag(){return"x14:cfIcon"}render(r,n){r.leafNode(this.tag,{iconSet:n.iconSet,iconId:n.iconId})}parseOpen(r){let{attributes:n}=r;this.model={iconSet:n.iconSet,iconId:o.toIntValue(n.iconId)}}parseClose(r){return r!==this.tag}}},{"../../base-xform":32}],75:[function(t,e,i){"use strict";let{v4:o}=t("uuid"),r=t("../../base-xform"),n=t("../../composite-xform"),a=t("./databar-ext-xform"),s=t("./icon-set-ext-xform"),l={"3Triangles":!0,"3Stars":!0,"5Boxes":!0};class c extends n{constructor(){super(),this.map={"x14:dataBar":this.databarXform=new a,"x14:iconSet":this.iconSetXform=new s}}get tag(){return"x14:cfRule"}static isExt(u){return u.type==="dataBar"?a.isExt(u):!(u.type!=="iconSet"||!u.custom&&!l[u.iconSet])}prepare(u){c.isExt(u)&&(u.x14Id=`{${o()}}`.toUpperCase())}render(u,p){if(c.isExt(p))switch(p.type){case"dataBar":this.renderDataBar(u,p);break;case"iconSet":this.renderIconSet(u,p)}}renderDataBar(u,p){u.openNode(this.tag,{type:"dataBar",id:p.x14Id}),this.databarXform.render(u,p),u.closeNode()}renderIconSet(u,p){u.openNode(this.tag,{type:"iconSet",priority:p.priority,id:p.x14Id||`{${o()}}`}),this.iconSetXform.render(u,p),u.closeNode()}createNewModel(u){let{attributes:p}=u;return{type:p.type,x14Id:p.id,priority:r.toIntValue(p.priority)}}onParserClose(u,p){Object.assign(this.model,p.model)}}e.exports=c},{"../../base-xform":32,"../../composite-xform":48,"./databar-ext-xform":79,"./icon-set-ext-xform":81,uuid:528}],76:[function(t,e,i){"use strict";let o=t("../../composite-xform"),r=t("./f-ext-xform");e.exports=class extends o{constructor(){super(),this.map={"xm:f":this.fExtXform=new r}}get tag(){return"x14:cfvo"}render(n,a){n.openNode(this.tag,{type:a.type}),a.value!==void 0&&this.fExtXform.render(n,a.value),n.closeNode()}createNewModel(n){return{type:n.attributes.type}}onParserClose(n,a){switch(n){case"xm:f":this.model.value=a.model?parseFloat(a.model):0}}}},{"../../composite-xform":48,"./f-ext-xform":80}],77:[function(t,e,i){"use strict";let o=t("../../composite-xform"),r=t("./sqref-ext-xform"),n=t("./cf-rule-ext-xform");e.exports=class extends o{constructor(){super(),this.map={"xm:sqref":this.sqRef=new r,"x14:cfRule":this.cfRule=new n}}get tag(){return"x14:conditionalFormatting"}prepare(a,s){a.rules.forEach(l=>{this.cfRule.prepare(l,s)})}render(a,s){s.rules.some(n.isExt)&&(a.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),s.rules.filter(n.isExt).forEach(l=>this.cfRule.render(a,l)),this.sqRef.render(a,s.ref),a.closeNode())}createNewModel(){return{rules:[]}}onParserClose(a,s){switch(a){case"xm:sqref":this.model.ref=s.model;break;case"x14:cfRule":this.model.rules.push(s.model)}}}},{"../../composite-xform":48,"./cf-rule-ext-xform":75,"./sqref-ext-xform":82}],78:[function(t,e,i){"use strict";let o=t("../../composite-xform"),r=t("./cf-rule-ext-xform"),n=t("./conditional-formatting-ext-xform");e.exports=class extends o{constructor(){super(),this.map={"x14:conditionalFormatting":this.cfXform=new n}}get tag(){return"x14:conditionalFormattings"}hasContent(a){return a.hasExtContent===void 0&&(a.hasExtContent=a.some(s=>s.rules.some(r.isExt))),a.hasExtContent}prepare(a,s){a.forEach(l=>{this.cfXform.prepare(l,s)})}render(a,s){this.hasContent(s)&&(a.openNode(this.tag),s.forEach(l=>this.cfXform.render(a,l)),a.closeNode())}createNewModel(){return[]}onParserClose(a,s){this.model.push(s.model)}}},{"../../composite-xform":48,"./cf-rule-ext-xform":75,"./conditional-formatting-ext-xform":77}],79:[function(t,e,i){"use strict";let o=t("../../base-xform"),r=t("../../composite-xform"),n=t("../../style/color-xform"),a=t("./cfvo-ext-xform");e.exports=class extends r{constructor(){super(),this.map={"x14:cfvo":this.cfvoXform=new a,"x14:borderColor":this.borderColorXform=new n("x14:borderColor"),"x14:negativeBorderColor":this.negativeBorderColorXform=new n("x14:negativeBorderColor"),"x14:negativeFillColor":this.negativeFillColorXform=new n("x14:negativeFillColor"),"x14:axisColor":this.axisColorXform=new n("x14:axisColor")}}static isExt(s){return!s.gradient}get tag(){return"x14:dataBar"}render(s,l){s.openNode(this.tag,{minLength:o.toIntAttribute(l.minLength,0,!0),maxLength:o.toIntAttribute(l.maxLength,100,!0),border:o.toBoolAttribute(l.border,!1),gradient:o.toBoolAttribute(l.gradient,!0),negativeBarColorSameAsPositive:o.toBoolAttribute(l.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:o.toBoolAttribute(l.negativeBarBorderColorSameAsPositive,!0),axisPosition:o.toAttribute(l.axisPosition,"auto"),direction:o.toAttribute(l.direction,"leftToRight")}),l.cfvo.forEach(c=>{this.cfvoXform.render(s,c)}),this.borderColorXform.render(s,l.borderColor),this.negativeBorderColorXform.render(s,l.negativeBorderColor),this.negativeFillColorXform.render(s,l.negativeFillColor),this.axisColorXform.render(s,l.axisColor),s.closeNode()}createNewModel(s){let{attributes:l}=s;return{cfvo:[],minLength:o.toIntValue(l.minLength,0),maxLength:o.toIntValue(l.maxLength,100),border:o.toBoolValue(l.border,!1),gradient:o.toBoolValue(l.gradient,!0),negativeBarColorSameAsPositive:o.toBoolValue(l.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:o.toBoolValue(l.negativeBarBorderColorSameAsPositive,!0),axisPosition:o.toStringValue(l.axisPosition,"auto"),direction:o.toStringValue(l.direction,"leftToRight")}}onParserClose(s,l){let[,c]=s.split(":");switch(c){case"cfvo":this.model.cfvo.push(l.model);break;default:this.model[c]=l.model}}}},{"../../base-xform":32,"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-ext-xform":76}],80:[function(t,e,i){"use strict";let o=t("../../base-xform");e.exports=class extends o{get tag(){return"xm:f"}render(r,n){r.leafNode(this.tag,null,n)}parseOpen(){this.model=""}parseText(r){this.model+=r}parseClose(r){return r!==this.tag}}},{"../../base-xform":32}],81:[function(t,e,i){"use strict";let o=t("../../base-xform"),r=t("../../composite-xform"),n=t("./cfvo-ext-xform"),a=t("./cf-icon-ext-xform");e.exports=class extends r{constructor(){super(),this.map={"x14:cfvo":this.cfvoXform=new n,"x14:cfIcon":this.cfIconXform=new a}}get tag(){return"x14:iconSet"}render(s,l){s.openNode(this.tag,{iconSet:o.toStringAttribute(l.iconSet),reverse:o.toBoolAttribute(l.reverse,!1),showValue:o.toBoolAttribute(l.showValue,!0),custom:o.toBoolAttribute(l.icons,!1)}),l.cfvo.forEach(c=>{this.cfvoXform.render(s,c)}),l.icons&&l.icons.forEach((c,d)=>{c.iconId=d,this.cfIconXform.render(s,c)}),s.closeNode()}createNewModel(s){let{attributes:l}=s;return{cfvo:[],iconSet:o.toStringValue(l.iconSet,"3TrafficLights"),reverse:o.toBoolValue(l.reverse,!1),showValue:o.toBoolValue(l.showValue,!0)}}onParserClose(s,l){let[,c]=s.split(":");switch(c){case"cfvo":this.model.cfvo.push(l.model);break;case"cfIcon":this.model.icons||(this.model.icons=[]),this.model.icons.push(l.model);break;default:this.model[c]=l.model}}}},{"../../base-xform":32,"../../composite-xform":48,"./cf-icon-ext-xform":74,"./cfvo-ext-xform":76}],82:[function(t,e,i){"use strict";let o=t("../../base-xform");e.exports=class extends o{get tag(){return"xm:sqref"}render(r,n){r.leafNode(this.tag,null,n)}parseOpen(){this.model=""}parseText(r){this.model+=r}parseClose(r){return r!==this.tag}}},{"../../base-xform":32}],83:[function(t,e,i){"use strict";let o=t("../../base-xform"),r=t("../../composite-xform"),n=t("../../../../doc/range"),a=t("./databar-xform"),s=t("./ext-lst-ref-xform"),l=t("./formula-xform"),c=t("./color-scale-xform"),d=t("./icon-set-xform"),u={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},p=h=>{let{type:f,operator:g}=h;switch(f){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:f};default:return{type:f,operator:g}}};class m extends r{constructor(){super(),this.map={dataBar:this.databarXform=new a,extLst:this.extLstRefXform=new s,formula:this.formulaXform=new l,colorScale:this.colorScaleXform=new c,iconSet:this.iconSetXform=new d}}get tag(){return"cfRule"}static isPrimitive(f){return f.type!=="iconSet"||!f.custom&&!u[f.iconSet]}render(f,g){switch(g.type){case"expression":this.renderExpression(f,g);break;case"cellIs":this.renderCellIs(f,g);break;case"top10":this.renderTop10(f,g);break;case"aboveAverage":this.renderAboveAverage(f,g);break;case"dataBar":this.renderDataBar(f,g);break;case"colorScale":this.renderColorScale(f,g);break;case"iconSet":this.renderIconSet(f,g);break;case"containsText":this.renderText(f,g);break;case"timePeriod":this.renderTimePeriod(f,g)}}renderExpression(f,g){f.openNode(this.tag,{type:"expression",dxfId:g.dxfId,priority:g.priority}),this.formulaXform.render(f,g.formulae[0]),f.closeNode()}renderCellIs(f,g){f.openNode(this.tag,{type:"cellIs",dxfId:g.dxfId,priority:g.priority,operator:g.operator}),g.formulae.forEach(b=>{this.formulaXform.render(f,b)}),f.closeNode()}renderTop10(f,g){f.leafNode(this.tag,{type:"top10",dxfId:g.dxfId,priority:g.priority,percent:o.toBoolAttribute(g.percent,!1),bottom:o.toBoolAttribute(g.bottom,!1),rank:o.toIntValue(g.rank,10,!0)})}renderAboveAverage(f,g){f.leafNode(this.tag,{type:"aboveAverage",dxfId:g.dxfId,priority:g.priority,aboveAverage:o.toBoolAttribute(g.aboveAverage,!0)})}renderDataBar(f,g){f.openNode(this.tag,{type:"dataBar",priority:g.priority}),this.databarXform.render(f,g),this.extLstRefXform.render(f,g),f.closeNode()}renderColorScale(f,g){f.openNode(this.tag,{type:"colorScale",priority:g.priority}),this.colorScaleXform.render(f,g),f.closeNode()}renderIconSet(f,g){m.isPrimitive(g)&&(f.openNode(this.tag,{type:"iconSet",priority:g.priority}),this.iconSetXform.render(f,g),f.closeNode())}renderText(f,g){f.openNode(this.tag,{type:g.operator,dxfId:g.dxfId,priority:g.priority,operator:o.toStringAttribute(g.operator,"containsText")});let b=(y=>{if(y.formulae&&y.formulae[0])return y.formulae[0];let w=new n(y.ref),{tl:x}=w;switch(y.operator){case"containsText":return`NOT(ISERROR(SEARCH("${y.text}",${x})))`;case"containsBlanks":return`LEN(TRIM(${x}))=0`;case"notContainsBlanks":return`LEN(TRIM(${x}))>0`;case"containsErrors":return`ISERROR(${x})`;case"notContainsErrors":return`NOT(ISERROR(${x}))`;default:return}})(g);b&&this.formulaXform.render(f,b),f.closeNode()}renderTimePeriod(f,g){f.openNode(this.tag,{type:"timePeriod",dxfId:g.dxfId,priority:g.priority,timePeriod:g.timePeriod});let b=(y=>{if(y.formulae&&y.formulae[0])return y.formulae[0];let w=new n(y.ref),{tl:x}=w;switch(y.timePeriod){case"thisWeek":return`AND(TODAY()-ROUNDDOWN(${x},0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(${x},0)-TODAY()<=7-WEEKDAY(TODAY()))`;case"lastWeek":return`AND(TODAY()-ROUNDDOWN(${x},0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${x},0)<(WEEKDAY(TODAY())+7))`;case"nextWeek":return`AND(ROUNDDOWN(${x},0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(${x},0)-TODAY()<(15-WEEKDAY(TODAY())))`;case"yesterday":return`FLOOR(${x},1)=TODAY()-1`;case"today":return`FLOOR(${x},1)=TODAY()`;case"tomorrow":return`FLOOR(${x},1)=TODAY()+1`;case"last7Days":return`AND(TODAY()-FLOOR(${x},1)<=6,FLOOR(${x},1)<=TODAY())`;case"lastMonth":return`AND(MONTH(${x})=MONTH(EDATE(TODAY(),0-1)),YEAR(${x})=YEAR(EDATE(TODAY(),0-1)))`;case"thisMonth":return`AND(MONTH(${x})=MONTH(TODAY()),YEAR(${x})=YEAR(TODAY()))`;case"nextMonth":return`AND(MONTH(${x})=MONTH(EDATE(TODAY(),0+1)),YEAR(${x})=YEAR(EDATE(TODAY(),0+1)))`;default:return}})(g);b&&this.formulaXform.render(f,b),f.closeNode()}createNewModel(f){let{attributes:g}=f;return{...p(g),dxfId:o.toIntValue(g.dxfId),priority:o.toIntValue(g.priority),timePeriod:g.timePeriod,percent:o.toBoolValue(g.percent),bottom:o.toBoolValue(g.bottom),rank:o.toIntValue(g.rank),aboveAverage:o.toBoolValue(g.aboveAverage)}}onParserClose(f,g){switch(f){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,g.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(g.model)}}}e.exports=m},{"../../../../doc/range":10,"../../base-xform":32,"../../composite-xform":48,"./color-scale-xform":85,"./databar-xform":88,"./ext-lst-ref-xform":89,"./formula-xform":90,"./icon-set-xform":91}],84:[function(t,e,i){"use strict";let o=t("../../base-xform");e.exports=class extends o{get tag(){return"cfvo"}render(r,n){r.leafNode(this.tag,{type:n.type,val:n.value})}parseOpen(r){this.model={type:r.attributes.type,value:o.toFloatValue(r.attributes.val)}}parseClose(r){return r!==this.tag}}},{"../../base-xform":32}],85:[function(t,e,i){"use strict";let o=t("../../composite-xform"),r=t("../../style/color-xform"),n=t("./cfvo-xform");e.exports=class extends o{constructor(){super(),this.map={cfvo:this.cfvoXform=new n,color:this.colorXform=new r}}get tag(){return"colorScale"}render(a,s){a.openNode(this.tag),s.cfvo.forEach(l=>{this.cfvoXform.render(a,l)}),s.color.forEach(l=>{this.colorXform.render(a,l)}),a.closeNode()}createNewModel(a){return{cfvo:[],color:[]}}onParserClose(a,s){this.model[a].push(s.model)}}},{"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-xform":84}],86:[function(t,e,i){"use strict";let o=t("../../composite-xform"),r=t("./cf-rule-xform");e.exports=class extends o{constructor(){super(),this.map={cfRule:new r}}get tag(){return"conditionalFormatting"}render(n,a){a.rules.some(r.isPrimitive)&&(n.openNode(this.tag,{sqref:a.ref}),a.rules.forEach(s=>{r.isPrimitive(s)&&(s.ref=a.ref,this.map.cfRule.render(n,s))}),n.closeNode())}createNewModel(n){let{attributes:a}=n;return{ref:a.sqref,rules:[]}}onParserClose(n,a){this.model.rules.push(a.model)}}},{"../../composite-xform":48,"./cf-rule-xform":83}],87:[function(t,e,i){"use strict";let o=t("../../base-xform"),r=t("./conditional-formatting-xform");e.exports=class extends o{constructor(){super(),this.cfXform=new r}get tag(){return"conditionalFormatting"}reset(){this.model=[]}prepare(n,a){let s=n.reduce((l,c)=>Math.max(l,...c.rules.map(d=>d.priority||0)),1);n.forEach(l=>{l.rules.forEach(c=>{c.priority||(c.priority=s++),c.style&&(c.dxfId=a.styles.addDxfStyle(c.style))})})}render(n,a){a.forEach(s=>{this.cfXform.render(n,s)})}parseOpen(n){if(this.parser)return this.parser.parseOpen(n),!0;switch(n.name){case"conditionalFormatting":return this.parser=this.cfXform,this.parser.parseOpen(n),!0;default:return!1}}parseText(n){this.parser&&this.parser.parseText(n)}parseClose(n){return!!this.parser&&(!!this.parser.parseClose(n)||(this.model.push(this.parser.model),this.parser=void 0,!1))}reconcile(n,a){n.forEach(s=>{s.rules.forEach(l=>{l.dxfId!==void 0&&(l.style=a.styles.getDxfStyle(l.dxfId),delete l.dxfId)})})}}},{"../../base-xform":32,"./conditional-formatting-xform":86}],88:[function(t,e,i){"use strict";let o=t("../../composite-xform"),r=t("../../style/color-xform"),n=t("./cfvo-xform");e.exports=class extends o{constructor(){super(),this.map={cfvo:this.cfvoXform=new n,color:this.colorXform=new r}}get tag(){return"dataBar"}render(a,s){a.openNode(this.tag),s.cfvo.forEach(l=>{this.cfvoXform.render(a,l)}),this.colorXform.render(a,s.color),a.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose(a,s){switch(a){case"cfvo":this.model.cfvo.push(s.model);break;case"color":this.model.color=s.model}}}},{"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-xform":84}],89:[function(t,e,i){"use strict";let o=t("../../base-xform"),r=t("../../composite-xform");class n extends o{get tag(){return"x14:id"}render(l,c){l.leafNode(this.tag,null,c)}parseOpen(){this.model=""}parseText(l){this.model+=l}parseClose(l){return l!==this.tag}}class a extends r{constructor(){super(),this.map={"x14:id":this.idXform=new n}}get tag(){return"ext"}render(l,c){l.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render(l,c.x14Id),l.closeNode()}createNewModel(){return{}}onParserClose(l,c){this.model.x14Id=c.model}}e.exports=class extends r{constructor(){super(),this.map={ext:new a}}get tag(){return"extLst"}render(s,l){s.openNode(this.tag),this.map.ext.render(s,l),s.closeNode()}createNewModel(){return{}}onParserClose(s,l){Object.assign(this.model,l.model)}}},{"../../base-xform":32,"../../composite-xform":48}],90:[function(t,e,i){"use strict";let o=t("../../base-xform");e.exports=class extends o{get tag(){return"formula"}render(r,n){r.leafNode(this.tag,null,n)}parseOpen(){this.model=""}parseText(r){this.model+=r}parseClose(r){return r!==this.tag}}},{"../../base-xform":32}],91:[function(t,e,i){"use strict";let o=t("../../base-xform"),r=t("../../composite-xform"),n=t("./cfvo-xform");e.exports=class extends r{constructor(){super(),this.map={cfvo:this.cfvoXform=new n}}get tag(){return"iconSet"}render(a,s){a.openNode(this.tag,{iconSet:o.toStringAttribute(s.iconSet,"3TrafficLights"),reverse:o.toBoolAttribute(s.reverse,!1),showValue:o.toBoolAttribute(s.showValue,!0)}),s.cfvo.forEach(l=>{this.cfvoXform.render(a,l)}),a.closeNode()}createNewModel(a){let{attributes:s}=a;return{iconSet:o.toStringValue(s.iconSet,"3TrafficLights"),reverse:o.toBoolValue(s.reverse),showValue:o.toBoolValue(s.showValue),cfvo:[]}}onParserClose(a,s){this.model[a].push(s.model)}}},{"../../base-xform":32,"../../composite-xform":48,"./cfvo-xform":84}],92:[function(t,e,i){"use strict";let o=t("../../../utils/utils"),r=t("../base-xform");e.exports=class extends r{get tag(){return"col"}prepare(n,a){let s=a.styles.addStyleModel(n.style||{});s&&(n.styleId=s)}render(n,a){n.openNode("col"),n.addAttribute("min",a.min),n.addAttribute("max",a.max),a.width&&n.addAttribute("width",a.width),a.styleId&&n.addAttribute("style",a.styleId),a.hidden&&n.addAttribute("hidden","1"),a.bestFit&&n.addAttribute("bestFit","1"),a.outlineLevel&&n.addAttribute("outlineLevel",a.outlineLevel),a.collapsed&&n.addAttribute("collapsed","1"),n.addAttribute("customWidth","1"),n.closeNode()}parseOpen(n){if(n.name==="col"){let a=this.model={min:parseInt(n.attributes.min||"0",10),max:parseInt(n.attributes.max||"0",10),width:n.attributes.width===void 0?void 0:parseFloat(n.attributes.width||"0")};return n.attributes.style&&(a.styleId=parseInt(n.attributes.style,10)),o.parseBoolean(n.attributes.hidden)&&(a.hidden=!0),o.parseBoolean(n.attributes.bestFit)&&(a.bestFit=!0),n.attributes.outlineLevel&&(a.outlineLevel=parseInt(n.attributes.outlineLevel,10)),o.parseBoolean(n.attributes.collapsed)&&(a.collapsed=!0),!0}return!1}parseText(){}parseClose(){return!1}reconcile(n,a){n.styleId&&(n.style=a.styles.getStyleModel(n.styleId))}}},{"../../../utils/utils":27,"../base-xform":32}],93:[function(t,e,i){"use strict";let o=t("../../../utils/under-dash"),r=t("../../../utils/utils"),n=t("../../../utils/col-cache"),a=t("../base-xform"),s=t("../../../doc/range");function l(d,u,p,m){let h=u[p];h!==void 0?d[p]=h:m!==void 0&&(d[p]=m)}function c(d,u,p,m){let h=u[p];h!==void 0?d[p]=r.parseBoolean(h):m!==void 0&&(d[p]=m)}e.exports=class extends a{get tag(){return"dataValidations"}render(d,u){let p=(function(m){let h=o.map(m,(b,y)=>({address:y,dataValidation:b,marked:!1})).sort((b,y)=>o.strcmp(b.address,y.address)),f=o.keyBy(h,"address"),g=(b,y,w)=>{for(let x=0;x<y;x++){let S=n.encodeAddress(b.row+x,w);if(!m[S]||!o.isEqual(m[b.address],m[S]))return!1}return!0};return h.map(b=>{if(!b.marked){let y=n.decodeEx(b.address);if(y.dimensions)return f[y.dimensions].marked=!0,{...b.dataValidation,sqref:b.address};let w=1,x=n.encodeAddress(y.row+w,y.col);for(;m[x]&&o.isEqual(b.dataValidation,m[x]);)w++,x=n.encodeAddress(y.row+w,y.col);let S=1;for(;g(y,w,y.col+S);)S++;for(let T=0;T<w;T++)for(let M=0;M<S;M++)x=n.encodeAddress(y.row+T,y.col+M),f[x].marked=!0;if(w>1||S>1){let T=y.row+(w-1),M=y.col+(S-1);return{...b.dataValidation,sqref:`${b.address}:${n.encodeAddress(T,M)}`}}return{...b.dataValidation,sqref:b.address}}return null}).filter(Boolean)})(u);p.length&&(d.openNode("dataValidations",{count:p.length}),p.forEach(m=>{d.openNode("dataValidation"),m.type!=="any"&&(d.addAttribute("type",m.type),m.operator&&m.type!=="list"&&m.operator!=="between"&&d.addAttribute("operator",m.operator),m.allowBlank&&d.addAttribute("allowBlank","1")),m.showInputMessage&&d.addAttribute("showInputMessage","1"),m.promptTitle&&d.addAttribute("promptTitle",m.promptTitle),m.prompt&&d.addAttribute("prompt",m.prompt),m.showErrorMessage&&d.addAttribute("showErrorMessage","1"),m.errorStyle&&d.addAttribute("errorStyle",m.errorStyle),m.errorTitle&&d.addAttribute("errorTitle",m.errorTitle),m.error&&d.addAttribute("error",m.error),d.addAttribute("sqref",m.sqref),(m.formulae||[]).forEach((h,f)=>{d.openNode("formula"+(f+1)),m.type==="date"?d.writeText(r.dateToExcel(new Date(h))):d.writeText(h),d.closeNode()}),d.closeNode()}),d.closeNode())}parseOpen(d){switch(d.name){case"dataValidations":return this.model={},!0;case"dataValidation":{this._address=d.attributes.sqref;let u={type:d.attributes.type||"any",formulae:[]};switch(d.attributes.type&&c(u,d.attributes,"allowBlank"),c(u,d.attributes,"showInputMessage"),c(u,d.attributes,"showErrorMessage"),u.type){case"any":case"list":case"custom":break;default:l(u,d.attributes,"operator","between")}return l(u,d.attributes,"promptTitle"),l(u,d.attributes,"prompt"),l(u,d.attributes,"errorStyle"),l(u,d.attributes,"errorTitle"),l(u,d.attributes,"error"),this._dataValidation=u,!0}case"formula1":case"formula2":return this._formula=[],!0;default:return!1}}parseText(d){this._formula&&this._formula.push(d)}parseClose(d){switch(d){case"dataValidations":return!1;case"dataValidation":return this._dataValidation.formulae&&this._dataValidation.formulae.length||(delete this._dataValidation.formulae,delete this._dataValidation.operator),(this._address.split(/\s+/g)||[]).forEach(u=>{u.includes(":")?new s(u).forEachAddress(p=>{this.model[p]=this._dataValidation}):this.model[u]=this._dataValidation}),!0;case"formula1":case"formula2":{let u=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":u=parseInt(u,10);break;case"decimal":u=parseFloat(u);break;case"date":u=r.excelToDate(parseFloat(u))}return this._dataValidation.formulae.push(u),this._formula=void 0,!0}default:return!0}}}},{"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/utils":27,"../base-xform":32}],94:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"dimension"}render(r,n){n&&r.leafNode("dimension",{ref:n})}parseOpen(r){return r.name==="dimension"&&(this.model=r.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],95:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"drawing"}render(r,n){n&&r.leafNode(this.tag,{"r:id":n.rId})}parseOpen(r){switch(r.name){case this.tag:return this.model={rId:r.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],96:[function(t,e,i){"use strict";let o=t("../composite-xform"),r=t("./cf-ext/conditional-formattings-ext-xform");class n extends o{constructor(){super(),this.map={"x14:conditionalFormattings":this.conditionalFormattings=new r}}get tag(){return"ext"}hasContent(s){return this.conditionalFormattings.hasContent(s.conditionalFormattings)}prepare(s,l){this.conditionalFormattings.prepare(s.conditionalFormattings,l)}render(s,l){s.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render(s,l.conditionalFormattings),s.closeNode()}createNewModel(){return{}}onParserClose(s,l){this.model[s]=l.model}}e.exports=class extends o{constructor(){super(),this.map={ext:this.ext=new n}}get tag(){return"extLst"}prepare(a,s){this.ext.prepare(a,s)}hasContent(a){return this.ext.hasContent(a)}render(a,s){this.hasContent(s)&&(a.openNode("extLst"),this.ext.render(a,s),a.closeNode())}createNewModel(){return{}}onParserClose(a,s){Object.assign(this.model,s.model)}}},{"../composite-xform":48,"./cf-ext/conditional-formattings-ext-xform":78}],97:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"headerFooter"}render(r,n){if(n){r.addRollback();let a=!1;r.openNode("headerFooter"),n.differentFirst&&(r.addAttribute("differentFirst","1"),a=!0),n.differentOddEven&&(r.addAttribute("differentOddEven","1"),a=!0),n.oddHeader&&typeof n.oddHeader=="string"&&(r.leafNode("oddHeader",null,n.oddHeader),a=!0),n.oddFooter&&typeof n.oddFooter=="string"&&(r.leafNode("oddFooter",null,n.oddFooter),a=!0),n.evenHeader&&typeof n.evenHeader=="string"&&(r.leafNode("evenHeader",null,n.evenHeader),a=!0),n.evenFooter&&typeof n.evenFooter=="string"&&(r.leafNode("evenFooter",null,n.evenFooter),a=!0),n.firstHeader&&typeof n.firstHeader=="string"&&(r.leafNode("firstHeader",null,n.firstHeader),a=!0),n.firstFooter&&typeof n.firstFooter=="string"&&(r.leafNode("firstFooter",null,n.firstFooter),a=!0),a?(r.closeNode(),r.commit()):r.rollback()}}parseOpen(r){switch(r.name){case"headerFooter":return this.model={},r.attributes.differentFirst&&(this.model.differentFirst=parseInt(r.attributes.differentFirst,0)===1),r.attributes.differentOddEven&&(this.model.differentOddEven=parseInt(r.attributes.differentOddEven,0)===1),!0;case"oddHeader":return this.currentNode="oddHeader",!0;case"oddFooter":return this.currentNode="oddFooter",!0;case"evenHeader":return this.currentNode="evenHeader",!0;case"evenFooter":return this.currentNode="evenFooter",!0;case"firstHeader":return this.currentNode="firstHeader",!0;case"firstFooter":return this.currentNode="firstFooter",!0;default:return!1}}parseText(r){switch(this.currentNode){case"oddHeader":this.model.oddHeader=r;break;case"oddFooter":this.model.oddFooter=r;break;case"evenHeader":this.model.evenHeader=r;break;case"evenFooter":this.model.evenFooter=r;break;case"firstHeader":this.model.firstHeader=r;break;case"firstFooter":this.model.firstFooter=r}}parseClose(){switch(this.currentNode){case"oddHeader":case"oddFooter":case"evenHeader":case"evenFooter":case"firstHeader":case"firstFooter":return this.currentNode=void 0,!0;default:return!1}}}},{"../base-xform":32}],98:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"hyperlink"}render(r,n){this.isInternalLink(n)?r.leafNode("hyperlink",{ref:n.address,"r:id":n.rId,tooltip:n.tooltip,location:n.target}):r.leafNode("hyperlink",{ref:n.address,"r:id":n.rId,tooltip:n.tooltip})}parseOpen(r){return r.name==="hyperlink"&&(this.model={address:r.attributes.ref,rId:r.attributes["r:id"],tooltip:r.attributes.tooltip},r.attributes.location&&(this.model.target=r.attributes.location),!0)}parseText(){}parseClose(){return!1}isInternalLink(r){return r.target&&/^[^!]+![a-zA-Z]+[\d]+$/.test(r.target)}}},{"../base-xform":32}],99:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"mergeCell"}render(r,n){r.leafNode("mergeCell",{ref:n})}parseOpen(r){return r.name==="mergeCell"&&(this.model=r.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],100:[function(t,e,i){"use strict";let o=t("../../../utils/under-dash"),r=t("../../../doc/range"),n=t("../../../utils/col-cache"),a=t("../../../doc/enums");e.exports=class{constructor(){this.merges={}}add(s){if(this.merges[s.master])this.merges[s.master].expandToAddress(s.address);else{let l=`${s.master}:${s.address}`;this.merges[s.master]=new r(l)}}get mergeCells(){return o.map(this.merges,s=>s.range)}reconcile(s,l){o.each(s,c=>{let d=n.decode(c);for(let u=d.top;u<=d.bottom;u++){let p=l[u-1];for(let m=d.left;m<=d.right;m++){let h=p.cells[m-1];h?h.type===a.ValueType.Merge&&(h.master=d.tl):p.cells[m]={type:a.ValueType.Null,address:n.encodeAddress(u,m)}}}})}getMasterAddress(s){let l=this.hash[s];return l&&l.tl}}},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":26}],101:[function(t,e,i){"use strict";let o=t("../base-xform"),r=n=>n!==void 0;e.exports=class extends o{get tag(){return"outlinePr"}render(n,a){return!(!a||!r(a.summaryBelow)&&!r(a.summaryRight))&&(n.leafNode(this.tag,{summaryBelow:r(a.summaryBelow)?Number(a.summaryBelow):void 0,summaryRight:r(a.summaryRight)?Number(a.summaryRight):void 0}),!0)}parseOpen(n){return n.name===this.tag&&(this.model={summaryBelow:r(n.attributes.summaryBelow)?!!Number(n.attributes.summaryBelow):void 0,summaryRight:r(n.attributes.summaryRight)?!!Number(n.attributes.summaryRight):void 0},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],102:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"brk"}render(r,n){r.leafNode("brk",n)}parseOpen(r){return r.name==="brk"&&(this.model=r.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],103:[function(t,e,i){"use strict";let o=t("../../../utils/under-dash"),r=t("../base-xform");e.exports=class extends r{get tag(){return"pageMargins"}render(n,a){if(a){let s={left:a.left,right:a.right,top:a.top,bottom:a.bottom,header:a.header,footer:a.footer};o.some(s,l=>l!==void 0)&&n.leafNode(this.tag,s)}}parseOpen(n){switch(n.name){case this.tag:return this.model={left:parseFloat(n.attributes.left||.7),right:parseFloat(n.attributes.right||.7),top:parseFloat(n.attributes.top||.75),bottom:parseFloat(n.attributes.bottom||.75),header:parseFloat(n.attributes.header||.3),footer:parseFloat(n.attributes.footer||.3)},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],104:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"pageSetUpPr"}render(r,n){return!(!n||!n.fitToPage)&&(r.leafNode(this.tag,{fitToPage:n.fitToPage?"1":void 0}),!0)}parseOpen(r){return r.name===this.tag&&(this.model={fitToPage:r.attributes.fitToPage==="1"},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],105:[function(t,e,i){"use strict";let o=t("../../../utils/under-dash"),r=t("../base-xform");function n(c){return c?"1":void 0}function a(c){switch(c){case"overThenDown":return c;default:return}}function s(c){switch(c){case"atEnd":case"asDisplyed":return c;default:return}}function l(c){switch(c){case"dash":case"blank":case"NA":return c;default:return}}e.exports=class extends r{get tag(){return"pageSetup"}render(c,d){if(d){let u={paperSize:d.paperSize,orientation:d.orientation,horizontalDpi:d.horizontalDpi,verticalDpi:d.verticalDpi,pageOrder:a(d.pageOrder),blackAndWhite:n(d.blackAndWhite),draft:n(d.draft),cellComments:s(d.cellComments),errors:l(d.errors),scale:d.scale,fitToWidth:d.fitToWidth,fitToHeight:d.fitToHeight,firstPageNumber:d.firstPageNumber,useFirstPageNumber:n(d.firstPageNumber),usePrinterDefaults:n(d.usePrinterDefaults),copies:d.copies};o.some(u,p=>p!==void 0)&&c.leafNode(this.tag,u)}}parseOpen(c){switch(c.name){case this.tag:return this.model={paperSize:(d=c.attributes.paperSize,d!==void 0?parseInt(d,10):void 0),orientation:c.attributes.orientation||"portrait",horizontalDpi:parseInt(c.attributes.horizontalDpi||"4294967295",10),verticalDpi:parseInt(c.attributes.verticalDpi||"4294967295",10),pageOrder:c.attributes.pageOrder||"downThenOver",blackAndWhite:c.attributes.blackAndWhite==="1",draft:c.attributes.draft==="1",cellComments:c.attributes.cellComments||"None",errors:c.attributes.errors||"displayed",scale:parseInt(c.attributes.scale||"100",10),fitToWidth:parseInt(c.attributes.fitToWidth||"1",10),fitToHeight:parseInt(c.attributes.fitToHeight||"1",10),firstPageNumber:parseInt(c.attributes.firstPageNumber||"1",10),useFirstPageNumber:c.attributes.useFirstPageNumber==="1",usePrinterDefaults:c.attributes.usePrinterDefaults==="1",copies:parseInt(c.attributes.copies||"1",10)},!0;default:return!1}var d}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],106:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"picture"}render(r,n){n&&r.leafNode(this.tag,{"r:id":n.rId})}parseOpen(r){switch(r.name){case this.tag:return this.model={rId:r.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],107:[function(t,e,i){"use strict";let o=t("../../../utils/under-dash"),r=t("../base-xform");function n(a){return a?"1":void 0}e.exports=class extends r{get tag(){return"printOptions"}render(a,s){if(s){let l={headings:n(s.showRowColHeaders),gridLines:n(s.showGridLines),horizontalCentered:n(s.horizontalCentered),verticalCentered:n(s.verticalCentered)};o.some(l,c=>c!==void 0)&&a.leafNode(this.tag,l)}}parseOpen(a){switch(a.name){case this.tag:return this.model={showRowColHeaders:a.attributes.headings==="1",showGridLines:a.attributes.gridLines==="1",horizontalCentered:a.attributes.horizontalCentered==="1",verticalCentered:a.attributes.verticalCentered==="1"},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],108:[function(t,e,i){"use strict";let o=t("./page-breaks-xform"),r=t("../list-xform");e.exports=class extends r{constructor(){super({tag:"rowBreaks",count:!0,childXform:new o})}render(n,a){if(a&&a.length){n.openNode(this.tag,this.$),this.count&&(n.addAttribute(this.$count,a.length),n.addAttribute("manualBreakCount",a.length));let{childXform:s}=this;a.forEach(l=>{s.render(n,l)}),n.closeNode()}else this.empty&&n.leafNode(this.tag)}}},{"../list-xform":71,"./page-breaks-xform":102}],109:[function(t,e,i){"use strict";let o=t("../base-xform"),r=t("../../../utils/utils"),n=t("./cell-xform");e.exports=class extends o{constructor(a){super(),this.maxItems=a&&a.maxItems,this.map={c:new n}}get tag(){return"row"}prepare(a,s){let l=s.styles.addStyleModel(a.style);l&&(a.styleId=l);let c=this.map.c;a.cells.forEach(d=>{c.prepare(d,s)})}render(a,s,l){a.openNode("row"),a.addAttribute("r",s.number),s.height&&(a.addAttribute("ht",s.height),a.addAttribute("customHeight","1")),s.hidden&&a.addAttribute("hidden","1"),s.min>0&&s.max>0&&s.min<=s.max&&a.addAttribute("spans",`${s.min}:${s.max}`),s.styleId&&(a.addAttribute("s",s.styleId),a.addAttribute("customFormat","1")),a.addAttribute("x14ac:dyDescent","0.25"),s.outlineLevel&&a.addAttribute("outlineLevel",s.outlineLevel),s.collapsed&&a.addAttribute("collapsed","1");let c=this.map.c;s.cells.forEach(d=>{c.render(a,d,l)}),a.closeNode()}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;if(a.name==="row"){this.numRowsSeen+=1;let s=a.attributes.spans?a.attributes.spans.split(":").map(c=>parseInt(c,10)):[void 0,void 0],l=this.model={number:parseInt(a.attributes.r,10),min:s[0],max:s[1],cells:[]};return a.attributes.s&&(l.styleId=parseInt(a.attributes.s,10)),r.parseBoolean(a.attributes.hidden)&&(l.hidden=!0),r.parseBoolean(a.attributes.bestFit)&&(l.bestFit=!0),a.attributes.ht&&(l.height=parseFloat(a.attributes.ht)),a.attributes.outlineLevel&&(l.outlineLevel=parseInt(a.attributes.outlineLevel,10)),r.parseBoolean(a.attributes.collapsed)&&(l.collapsed=!0),!0}return this.parser=this.map[a.name],!!this.parser&&(this.parser.parseOpen(a),!0)}parseText(a){this.parser&&this.parser.parseText(a)}parseClose(a){if(this.parser){if(!this.parser.parseClose(a)){if(this.model.cells.push(this.parser.model),this.maxItems&&this.model.cells.length>this.maxItems)throw new Error(`Max column count (${this.maxItems}) exceeded`);this.parser=void 0}return!0}return!1}reconcile(a,s){a.style=a.styleId?s.styles.getStyleModel(a.styleId):{},a.styleId!==void 0&&(a.styleId=void 0);let l=this.map.c;a.cells.forEach(c=>{l.reconcile(c,s)})}}},{"../../../utils/utils":27,"../base-xform":32,"./cell-xform":73}],110:[function(t,e,i){"use strict";let o=t("../../../utils/under-dash"),r=t("../base-xform");e.exports=class extends r{get tag(){return"sheetFormatPr"}render(n,a){if(a){let s={defaultRowHeight:a.defaultRowHeight,outlineLevelRow:a.outlineLevelRow,outlineLevelCol:a.outlineLevelCol,"x14ac:dyDescent":a.dyDescent};a.defaultColWidth&&(s.defaultColWidth=a.defaultColWidth),a.defaultRowHeight&&a.defaultRowHeight===15||(s.customHeight="1"),o.some(s,l=>l!==void 0)&&n.leafNode("sheetFormatPr",s)}}parseOpen(n){return n.name==="sheetFormatPr"&&(this.model={defaultRowHeight:parseFloat(n.attributes.defaultRowHeight||"0"),dyDescent:parseFloat(n.attributes["x14ac:dyDescent"]||"0"),outlineLevelRow:parseInt(n.attributes.outlineLevelRow||"0",10),outlineLevelCol:parseInt(n.attributes.outlineLevelCol||"0",10)},n.attributes.defaultColWidth&&(this.model.defaultColWidth=parseFloat(n.attributes.defaultColWidth)),!0)}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],111:[function(t,e,i){"use strict";let o=t("../base-xform"),r=t("../style/color-xform"),n=t("./page-setup-properties-xform"),a=t("./outline-properties-xform");e.exports=class extends o{constructor(){super(),this.map={tabColor:new r("tabColor"),pageSetUpPr:new n,outlinePr:new a}}get tag(){return"sheetPr"}render(s,l){if(l){s.addRollback(),s.openNode("sheetPr");let c=!1;c=this.map.tabColor.render(s,l.tabColor)||c,c=this.map.pageSetUpPr.render(s,l.pageSetup)||c,c=this.map.outlinePr.render(s,l.outlineProperties)||c,c?(s.closeNode(),s.commit()):s.rollback()}}parseOpen(s){return this.parser?(this.parser.parseOpen(s),!0):s.name===this.tag?(this.reset(),!0):!!this.map[s.name]&&(this.parser=this.map[s.name],this.parser.parseOpen(s),!0)}parseText(s){return!!this.parser&&(this.parser.parseText(s),!0)}parseClose(s){return this.parser?(this.parser.parseClose(s)||(this.parser=void 0),!0):(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model?(this.model={},this.map.tabColor.model&&(this.model.tabColor=this.map.tabColor.model),this.map.pageSetUpPr.model&&(this.model.pageSetup=this.map.pageSetUpPr.model),this.map.outlinePr.model&&(this.model.outlineProperties=this.map.outlinePr.model)):this.model=null,!1)}}},{"../base-xform":32,"../style/color-xform":128,"./outline-properties-xform":101,"./page-setup-properties-xform":104}],112:[function(t,e,i){"use strict";let o=t("../../../utils/under-dash"),r=t("../base-xform");function n(s,l){return s?l:void 0}function a(s,l){return s===l||void 0}e.exports=class extends r{get tag(){return"sheetProtection"}render(s,l){if(l){let c={sheet:n(l.sheet,"1"),selectLockedCells:l.selectLockedCells===!1?"1":void 0,selectUnlockedCells:l.selectUnlockedCells===!1?"1":void 0,formatCells:n(l.formatCells,"0"),formatColumns:n(l.formatColumns,"0"),formatRows:n(l.formatRows,"0"),insertColumns:n(l.insertColumns,"0"),insertRows:n(l.insertRows,"0"),insertHyperlinks:n(l.insertHyperlinks,"0"),deleteColumns:n(l.deleteColumns,"0"),deleteRows:n(l.deleteRows,"0"),sort:n(l.sort,"0"),autoFilter:n(l.autoFilter,"0"),pivotTables:n(l.pivotTables,"0")};l.sheet&&(c.algorithmName=l.algorithmName,c.hashValue=l.hashValue,c.saltValue=l.saltValue,c.spinCount=l.spinCount,c.objects=n(l.objects===!1,"1"),c.scenarios=n(l.scenarios===!1,"1")),o.some(c,d=>d!==void 0)&&s.leafNode(this.tag,c)}}parseOpen(s){switch(s.name){case this.tag:return this.model={sheet:a(s.attributes.sheet,"1"),objects:s.attributes.objects!=="1"&&void 0,scenarios:s.attributes.scenarios!=="1"&&void 0,selectLockedCells:s.attributes.selectLockedCells!=="1"&&void 0,selectUnlockedCells:s.attributes.selectUnlockedCells!=="1"&&void 0,formatCells:a(s.attributes.formatCells,"0"),formatColumns:a(s.attributes.formatColumns,"0"),formatRows:a(s.attributes.formatRows,"0"),insertColumns:a(s.attributes.insertColumns,"0"),insertRows:a(s.attributes.insertRows,"0"),insertHyperlinks:a(s.attributes.insertHyperlinks,"0"),deleteColumns:a(s.attributes.deleteColumns,"0"),deleteRows:a(s.attributes.deleteRows,"0"),sort:a(s.attributes.sort,"0"),autoFilter:a(s.attributes.autoFilter,"0"),pivotTables:a(s.attributes.pivotTables,"0")},s.attributes.algorithmName&&(this.model.algorithmName=s.attributes.algorithmName,this.model.hashValue=s.attributes.hashValue,this.model.saltValue=s.attributes.saltValue,this.model.spinCount=parseInt(s.attributes.spinCount,10)),!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],113:[function(t,e,i){"use strict";let o=t("../../../utils/col-cache"),r=t("../base-xform"),n={frozen:"frozen",frozenSplit:"frozen",split:"split"};e.exports=class extends r{get tag(){return"sheetView"}prepare(a){switch(a.state){case"frozen":case"split":break;default:a.state="normal"}}render(a,s){a.openNode("sheetView",{workbookViewId:s.workbookViewId||0});let l=function(m,h,f){f&&a.addAttribute(m,h)},c,d,u,p;switch(l("rightToLeft","1",s.rightToLeft===!0),l("tabSelected","1",s.tabSelected),l("showRuler","0",s.showRuler===!1),l("showRowColHeaders","0",s.showRowColHeaders===!1),l("showGridLines","0",s.showGridLines===!1),l("zoomScale",s.zoomScale,s.zoomScale),l("zoomScaleNormal",s.zoomScaleNormal,s.zoomScaleNormal),l("view",s.style,s.style),s.state){case"frozen":d=s.xSplit||0,u=s.ySplit||0,c=s.topLeftCell||o.getAddress(u+1,d+1).address,p=(s.xSplit&&s.ySplit?"bottomRight":s.xSplit&&"topRight")||"bottomLeft",a.leafNode("pane",{xSplit:s.xSplit||void 0,ySplit:s.ySplit||void 0,topLeftCell:c,activePane:p,state:"frozen"}),a.leafNode("selection",{pane:p,activeCell:s.activeCell,sqref:s.activeCell});break;case"split":s.activePane==="topLeft"&&(s.activePane=void 0),a.leafNode("pane",{xSplit:s.xSplit||void 0,ySplit:s.ySplit||void 0,topLeftCell:s.topLeftCell,activePane:s.activePane}),a.leafNode("selection",{pane:s.activePane,activeCell:s.activeCell,sqref:s.activeCell});break;case"normal":s.activeCell&&a.leafNode("selection",{activeCell:s.activeCell,sqref:s.activeCell})}a.closeNode()}parseOpen(a){switch(a.name){case"sheetView":return this.sheetView={workbookViewId:parseInt(a.attributes.workbookViewId,10),rightToLeft:a.attributes.rightToLeft==="1",tabSelected:a.attributes.tabSelected==="1",showRuler:a.attributes.showRuler!=="0",showRowColHeaders:a.attributes.showRowColHeaders!=="0",showGridLines:a.attributes.showGridLines!=="0",zoomScale:parseInt(a.attributes.zoomScale||"100",10),zoomScaleNormal:parseInt(a.attributes.zoomScaleNormal||"100",10),style:a.attributes.view},this.pane=void 0,this.selections={},!0;case"pane":return this.pane={xSplit:parseInt(a.attributes.xSplit||"0",10),ySplit:parseInt(a.attributes.ySplit||"0",10),topLeftCell:a.attributes.topLeftCell,activePane:a.attributes.activePane||"topLeft",state:a.attributes.state},!0;case"selection":{let s=a.attributes.pane||"topLeft";return this.selections[s]={pane:s,activeCell:a.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose(a){let s,l;switch(a){case"sheetView":return this.sheetView&&this.pane?(s=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:n[this.pane.state]||"split",xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},this.model.state==="split"&&(s.activePane=this.pane.activePane),l=this.selections[this.pane.activePane],l&&l.activeCell&&(s.activeCell=l.activeCell),this.sheetView.style&&(s.style=this.sheetView.style)):(s=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:"normal",showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},l=this.selections.topLeft,l&&l.activeCell&&(s.activeCell=l.activeCell),this.sheetView.style&&(s.style=this.sheetView.style)),!1;default:return!0}}reconcile(){}}},{"../../../utils/col-cache":19,"../base-xform":32}],114:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"tablePart"}render(r,n){n&&r.leafNode(this.tag,{"r:id":n.rId})}parseOpen(r){switch(r.name){case this.tag:return this.model={rId:r.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],115:[function(t,e,i){"use strict";let o=t("../../../utils/under-dash"),r=t("../../../utils/col-cache"),n=t("../../../utils/xml-stream"),a=t("../../rel-type"),s=t("./merges"),l=t("../base-xform"),c=t("../list-xform"),d=t("./row-xform"),u=t("./col-xform"),p=t("./dimension-xform"),m=t("./hyperlink-xform"),h=t("./merge-cell-xform"),f=t("./data-validations-xform"),g=t("./sheet-properties-xform"),b=t("./sheet-format-properties-xform"),y=t("./sheet-view-xform"),w=t("./sheet-protection-xform"),x=t("./page-margins-xform"),S=t("./page-setup-xform"),T=t("./print-options-xform"),M=t("./auto-filter-xform"),I=t("./picture-xform"),A=t("./drawing-xform"),D=t("./table-part-xform"),E=t("./row-breaks-xform"),N=t("./header-footer-xform"),R=t("./cf/conditional-formattings-xform"),v=t("./ext-lst-xform"),k=(O,_)=>{if(!_||!_.length)return O;if(!O||!O.length)return _;let j={},B={};return O.forEach(V=>{j[V.ref]=V,V.rules.forEach(G=>{let{x14Id:Q}=G;Q&&(B[Q]=G)})}),_.forEach(V=>{V.rules.forEach(G=>{let Q=B[G.x14Id];Q?((H,q)=>{Object.keys(q).forEach(U=>{let F=H[U],K=q[U];F===void 0&&K!==void 0&&(H[U]=K)})})(Q,G):j[V.ref]?j[V.ref].rules.push(G):O.push({ref:V.ref,rules:[G]})})}),O};class P extends l{constructor(_){super();let{maxRows:j,maxCols:B,ignoreNodes:V}=_||{};this.ignoreNodes=V||[],this.map={sheetPr:new g,dimension:new p,sheetViews:new c({tag:"sheetViews",count:!1,childXform:new y}),sheetFormatPr:new b,cols:new c({tag:"cols",count:!1,childXform:new u}),sheetData:new c({tag:"sheetData",count:!1,empty:!0,childXform:new d({maxItems:B}),maxItems:j}),autoFilter:new M,mergeCells:new c({tag:"mergeCells",count:!0,childXform:new h}),rowBreaks:new E,hyperlinks:new c({tag:"hyperlinks",count:!1,childXform:new m}),pageMargins:new x,dataValidations:new f,pageSetup:new S,headerFooter:new N,printOptions:new T,picture:new I,drawing:new A,sheetProtection:new w,tableParts:new c({tag:"tableParts",count:!0,childXform:new D}),conditionalFormatting:new R,extLst:new v}}prepare(_,j){j.merges=new s,_.hyperlinks=j.hyperlinks=[],_.comments=j.comments=[],j.formulae={},j.siFormulae=0,this.map.cols.prepare(_.cols,j),this.map.sheetData.prepare(_.rows,j),this.map.conditionalFormatting.prepare(_.conditionalFormattings,j),_.mergeCells=j.merges.mergeCells;let B=_.rels=[];function V(H){return"rId"+(H.length+1)}if(_.hyperlinks.forEach(H=>{let q=V(B);H.rId=q,B.push({Id:q,Type:a.Hyperlink,Target:H.target,TargetMode:"External"})}),_.comments.length>0){let H={Id:V(B),Type:a.Comments,Target:`../comments${_.id}.xml`};B.push(H);let q={Id:V(B),Type:a.VmlDrawing,Target:`../drawings/vmlDrawing${_.id}.vml`};B.push(q),_.comments.forEach(U=>{U.refAddress=r.decodeAddress(U.ref)}),j.commentRefs.push({commentName:"comments"+_.id,vmlDrawing:"vmlDrawing"+_.id})}let G=[],Q;_.media.forEach(H=>{if(H.type==="background"){let q=V(B);Q=j.media[H.imageId],B.push({Id:q,Type:a.Image,Target:`../media/${Q.name}.${Q.extension}`}),_.background={rId:q},_.image=j.media[H.imageId]}else if(H.type==="image"){let{drawing:q}=_;Q=j.media[H.imageId],q||(q=_.drawing={rId:V(B),name:"drawing"+ ++j.drawingsCount,anchors:[],rels:[]},j.drawings.push(q),B.push({Id:q.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:`../drawings/${q.name}.xml`}));let U=this.preImageId===H.imageId?G[H.imageId]:G[q.rels.length];U||(U=V(q.rels),G[q.rels.length]=U,q.rels.push({Id:U,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:`../media/${Q.name}.${Q.extension}`}));let F={picture:{rId:U},range:H.range};if(H.hyperlinks&&H.hyperlinks.hyperlink){let K=V(q.rels);G[q.rels.length]=K,F.picture.hyperlinks={tooltip:H.hyperlinks.tooltip,rId:K},q.rels.push({Id:K,Type:a.Hyperlink,Target:H.hyperlinks.hyperlink,TargetMode:"External"})}this.preImageId=H.imageId,q.anchors.push(F)}}),_.tables.forEach(H=>{let q=V(B);H.rId=q,B.push({Id:q,Type:a.Table,Target:"../tables/"+H.target}),H.columns.forEach(U=>{let{style:F}=U;F&&(U.dxfId=j.styles.addDxfStyle(F))})}),this.map.extLst.prepare(_,j)}render(_,j){_.openXml(n.StdDocAttributes),_.openNode("worksheet",P.WORKSHEET_ATTRIBUTES);let B=j.properties?{defaultRowHeight:j.properties.defaultRowHeight,dyDescent:j.properties.dyDescent,outlineLevelCol:j.properties.outlineLevelCol,outlineLevelRow:j.properties.outlineLevelRow}:void 0;j.properties&&j.properties.defaultColWidth&&(B.defaultColWidth=j.properties.defaultColWidth);let V={outlineProperties:j.properties&&j.properties.outlineProperties,tabColor:j.properties&&j.properties.tabColor,pageSetup:j.pageSetup&&j.pageSetup.fitToPage?{fitToPage:j.pageSetup.fitToPage}:void 0},G=j.pageSetup&&j.pageSetup.margins,Q={showRowColHeaders:j.pageSetup&&j.pageSetup.showRowColHeaders,showGridLines:j.pageSetup&&j.pageSetup.showGridLines,horizontalCentered:j.pageSetup&&j.pageSetup.horizontalCentered,verticalCentered:j.pageSetup&&j.pageSetup.verticalCentered},H=j.sheetProtection;this.map.sheetPr.render(_,V),this.map.dimension.render(_,j.dimensions),this.map.sheetViews.render(_,j.views),this.map.sheetFormatPr.render(_,B),this.map.cols.render(_,j.cols),this.map.sheetData.render(_,j.rows),this.map.sheetProtection.render(_,H),this.map.autoFilter.render(_,j.autoFilter),this.map.mergeCells.render(_,j.mergeCells),this.map.conditionalFormatting.render(_,j.conditionalFormattings),this.map.dataValidations.render(_,j.dataValidations),this.map.hyperlinks.render(_,j.hyperlinks),this.map.printOptions.render(_,Q),this.map.pageMargins.render(_,G),this.map.pageSetup.render(_,j.pageSetup),this.map.headerFooter.render(_,j.headerFooter),this.map.rowBreaks.render(_,j.rowBreaks),this.map.drawing.render(_,j.drawing),this.map.picture.render(_,j.background),this.map.tableParts.render(_,j.tables),this.map.extLst.render(_,j),j.rels&&j.rels.forEach(q=>{q.Type===a.VmlDrawing&&_.leafNode("legacyDrawing",{"r:id":q.Id})}),_.closeNode()}parseOpen(_){return this.parser?(this.parser.parseOpen(_),!0):_.name==="worksheet"?(o.each(this.map,j=>{j.reset()}),!0):(this.map[_.name]&&!this.ignoreNodes.includes(_.name)&&(this.parser=this.map[_.name],this.parser.parseOpen(_)),!0)}parseText(_){this.parser&&this.parser.parseText(_)}parseClose(_){if(this.parser)return this.parser.parseClose(_)||(this.parser=void 0),!0;switch(_){case"worksheet":{let j=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&&this.map.sheetPr.model.tabColor&&(j.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties&&(j.outlineProperties=this.map.sheetPr.model.outlineProperties);let B={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},V=Object.assign(B,this.map.pageSetup.model,this.map.printOptions.model),G=k(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model["x14:conditionalFormattings"]);return this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:j,views:this.map.sheetViews.model,pageSetup:V,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:G},this.map.autoFilter.model&&(this.model.autoFilter=this.map.autoFilter.model),this.map.sheetProtection.model&&(this.model.sheetProtection=this.map.sheetProtection.model),!1}default:return!0}}reconcile(_,j){let B=(_.relationships||[]).reduce((G,Q)=>{if(G[Q.Id]=Q,Q.Type===a.Comments&&(_.comments=j.comments[Q.Target].comments),Q.Type===a.VmlDrawing&&_.comments&&_.comments.length){let H=j.vmlDrawings[Q.Target].comments;_.comments.forEach((q,U)=>{q.note=Object.assign({},q.note,H[U])})}return G},{});if(j.commentsMap=(_.comments||[]).reduce((G,Q)=>(Q.ref&&(G[Q.ref]=Q),G),{}),j.hyperlinkMap=(_.hyperlinks||[]).reduce((G,Q)=>(Q.rId&&(G[Q.address]=B[Q.rId].Target),G),{}),j.formulae={},_.rows=_.rows&&_.rows.filter(Boolean)||[],_.rows.forEach(G=>{G.cells=G.cells&&G.cells.filter(Boolean)||[]}),this.map.cols.reconcile(_.cols,j),this.map.sheetData.reconcile(_.rows,j),this.map.conditionalFormatting.reconcile(_.conditionalFormattings,j),_.media=[],_.drawing){let G=B[_.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(G){let Q=G[1];j.drawings[Q].anchors.forEach(H=>{if(H.medium){let q={type:"image",imageId:H.medium.index,range:H.range,hyperlinks:H.picture.hyperlinks};_.media.push(q)}})}}let V=_.background&&B[_.background.rId];if(V){let G=V.Target.split("/media/")[1],Q=j.mediaIndex&&j.mediaIndex[G];Q!==void 0&&_.media.push({type:"background",imageId:Q})}_.tables=(_.tables||[]).map(G=>{let Q=B[G.rId];return j.tables[Q.Target]}),delete _.relationships,delete _.hyperlinks,delete _.comments}}P.WORKSHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"},e.exports=P},{"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/xml-stream":28,"../../rel-type":31,"../base-xform":32,"../list-xform":71,"./auto-filter-xform":72,"./cf/conditional-formattings-xform":87,"./col-xform":92,"./data-validations-xform":93,"./dimension-xform":94,"./drawing-xform":95,"./ext-lst-xform":96,"./header-footer-xform":97,"./hyperlink-xform":98,"./merge-cell-xform":99,"./merges":100,"./page-margins-xform":103,"./page-setup-xform":105,"./picture-xform":106,"./print-options-xform":107,"./row-breaks-xform":108,"./row-xform":109,"./sheet-format-properties-xform":110,"./sheet-properties-xform":111,"./sheet-protection-xform":112,"./sheet-view-xform":113,"./table-part-xform":114}],116:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{constructor(r){super(),this.tag=r.tag,this.attr=r.attr}render(r,n){n&&(r.openNode(this.tag),r.closeNode())}parseOpen(r){r.name===this.tag&&(this.model=!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],117:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{constructor(r){super(),this.tag=r.tag,this.attr=r.attr,this.attrs=r.attrs,this._format=r.format||function(n){try{return Number.isNaN(n.getTime())?"":n.toISOString()}catch{return""}},this._parse=r.parse||function(n){return new Date(n)}}render(r,n){n&&(r.openNode(this.tag),this.attrs&&r.addAttributes(this.attrs),this.attr?r.addAttribute(this.attr,this._format(n)):r.writeText(this._format(n)),r.closeNode())}parseOpen(r){r.name===this.tag&&(this.attr?this.model=this._parse(r.attributes[this.attr]):this.text=[])}parseText(r){this.attr||this.text.push(r)}parseClose(){return this.attr||(this.model=this._parse(this.text.join(""))),!1}}},{"../base-xform":32}],118:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{constructor(r){super(),this.tag=r.tag,this.attr=r.attr,this.attrs=r.attrs,this.zero=r.zero}render(r,n){(n||this.zero)&&(r.openNode(this.tag),this.attrs&&r.addAttributes(this.attrs),this.attr?r.addAttribute(this.attr,n):r.writeText(n),r.closeNode())}parseOpen(r){return r.name===this.tag&&(this.attr?this.model=parseInt(r.attributes[this.attr],10):this.text=[],!0)}parseText(r){this.attr||this.text.push(r)}parseClose(){return this.attr||(this.model=parseInt(this.text.join("")||0,10)),!1}}},{"../base-xform":32}],119:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{constructor(r){super(),this.tag=r.tag,this.attr=r.attr,this.attrs=r.attrs}render(r,n){n!==void 0&&(r.openNode(this.tag),this.attrs&&r.addAttributes(this.attrs),this.attr?r.addAttribute(this.attr,n):r.writeText(n),r.closeNode())}parseOpen(r){r.name===this.tag&&(this.attr?this.model=r.attributes[this.attr]:this.text=[])}parseText(r){this.attr||this.text.push(r)}parseClose(){return this.attr||(this.model=this.text.join("")),!1}}},{"../base-xform":32}],120:[function(t,e,i){"use strict";let o=t("./base-xform"),r=t("../../utils/xml-stream");e.exports=class extends o{constructor(n){super(),this._model=n}render(n){if(!this._xml){let a=new r;(function s(l,c){l.openNode(c.tag,c.$),c.c&&c.c.forEach(d=>{s(l,d)}),c.t&&l.writeText(c.t),l.closeNode()})(a,this._model),this._xml=a.xml}n.writeXml(this._xml)}parseOpen(){return!0}parseText(){}parseClose(n){switch(n){case this._model.tag:return!1;default:return!0}}}},{"../../utils/xml-stream":28,"./base-xform":32}],121:[function(t,e,i){"use strict";let o=t("./text-xform"),r=t("./rich-text-xform"),n=t("../base-xform");e.exports=class extends n{constructor(){super(),this.map={r:new r,t:new o}}get tag(){return"rPh"}render(a,s){if(a.openNode(this.tag,{sb:s.sb||0,eb:s.eb||0}),s&&s.hasOwnProperty("richText")&&s.richText){let{r:l}=this.map;s.richText.forEach(c=>{l.render(a,c)})}else s&&this.map.t.render(a,s.text);a.closeNode()}parseOpen(a){let{name:s}=a;return this.parser?(this.parser.parseOpen(a),!0):s===this.tag?(this.model={sb:parseInt(a.attributes.sb,10),eb:parseInt(a.attributes.eb,10)},!0):(this.parser=this.map[s],!!this.parser&&(this.parser.parseOpen(a),!0))}parseText(a){this.parser&&this.parser.parseText(a)}parseClose(a){if(this.parser){if(!this.parser.parseClose(a)){switch(a){case"r":{let s=this.model.richText;s||(s=this.model.richText=[]),s.push(this.parser.model);break}case"t":this.model.text=this.parser.model}this.parser=void 0}return!0}switch(a){case this.tag:return!1;default:return!0}}}},{"../base-xform":32,"./rich-text-xform":122,"./text-xform":125}],122:[function(t,e,i){"use strict";let o=t("./text-xform"),r=t("../style/font-xform"),n=t("../base-xform");class a extends n{constructor(l){super(),this.model=l}get tag(){return"r"}get textXform(){return this._textXform||(this._textXform=new o)}get fontXform(){return this._fontXform||(this._fontXform=new r(a.FONT_OPTIONS))}render(l,c){c=c||this.model,l.openNode("r"),c.font&&this.fontXform.render(l,c.font),this.textXform.render(l,c.text),l.closeNode()}parseOpen(l){if(this.parser)return this.parser.parseOpen(l),!0;switch(l.name){case"r":return this.model={},!0;case"t":return this.parser=this.textXform,this.parser.parseOpen(l),!0;case"rPr":return this.parser=this.fontXform,this.parser.parseOpen(l),!0;default:return!1}}parseText(l){this.parser&&this.parser.parseText(l)}parseClose(l){switch(l){case"r":return!1;case"t":return this.model.text=this.parser.model,this.parser=void 0,!0;case"rPr":return this.model.font=this.parser.model,this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(l),!0}}}a.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"},e.exports=a},{"../base-xform":32,"../style/font-xform":131,"./text-xform":125}],123:[function(t,e,i){"use strict";let o=t("./text-xform"),r=t("./rich-text-xform"),n=t("./phonetic-text-xform"),a=t("../base-xform");e.exports=class extends a{constructor(s){super(),this.model=s,this.map={r:new r,t:new o,rPh:new n}}get tag(){return"si"}render(s,l){s.openNode(this.tag),l&&l.hasOwnProperty("richText")&&l.richText?l.richText.length?l.richText.forEach(c=>{this.map.r.render(s,c)}):this.map.t.render(s,""):l!=null&&this.map.t.render(s,l),s.closeNode()}parseOpen(s){let{name:l}=s;return this.parser?(this.parser.parseOpen(s),!0):l===this.tag?(this.model={},!0):(this.parser=this.map[l],!!this.parser&&(this.parser.parseOpen(s),!0))}parseText(s){this.parser&&this.parser.parseText(s)}parseClose(s){if(this.parser){if(!this.parser.parseClose(s)){switch(s){case"r":{let l=this.model.richText;l||(l=this.model.richText=[]),l.push(this.parser.model);break}case"t":this.model=this.parser.model}this.parser=void 0}return!0}switch(s){case this.tag:return!1;default:return!0}}}},{"../base-xform":32,"./phonetic-text-xform":121,"./rich-text-xform":122,"./text-xform":125}],124:[function(t,e,i){"use strict";let o=t("../../../utils/xml-stream"),r=t("../base-xform"),n=t("./shared-string-xform");e.exports=class extends r{constructor(a){super(),this.model=a||{values:[],count:0},this.hash=Object.create(null),this.rich=Object.create(null)}get sharedStringXform(){return this._sharedStringXform||(this._sharedStringXform=new n)}get values(){return this.model.values}get uniqueCount(){return this.model.values.length}get count(){return this.model.count}getString(a){return this.model.values[a]}add(a){return a.richText?this.addRichText(a):this.addText(a)}addText(a){let s=this.hash[a];return s===void 0&&(s=this.hash[a]=this.model.values.length,this.model.values.push(a)),this.model.count++,s}addRichText(a){let s=this.sharedStringXform.toXml(a),l=this.rich[s];return l===void 0&&(l=this.rich[s]=this.model.values.length,this.model.values.push(a)),this.model.count++,l}render(a,s){s=s||this._values,a.openXml(o.StdDocAttributes),a.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:s.count,uniqueCount:s.values.length});let l=this.sharedStringXform;s.values.forEach(c=>{l.render(a,c)}),a.closeNode()}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;switch(a.name){case"sst":return!0;case"si":return this.parser=this.sharedStringXform,this.parser.parseOpen(a),!0;default:throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(a))}}parseText(a){this.parser&&this.parser.parseText(a)}parseClose(a){if(this.parser)return this.parser.parseClose(a)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;switch(a){case"sst":return!1;default:throw new Error("Unexpected xml node in parseClose: "+a)}}}},{"../../../utils/xml-stream":28,"../base-xform":32,"./shared-string-xform":123}],125:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"t"}render(r,n){r.openNode("t"),/^\s|\n|\s$/.test(n)&&r.addAttribute("xml:space","preserve"),r.writeText(n),r.closeNode()}get model(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,(r,n)=>String.fromCharCode(parseInt(n,16)))}parseOpen(r){switch(r.name){case"t":return this._text=[],!0;default:return!1}}parseText(r){this._text.push(r)}parseClose(){return!1}}},{"../base-xform":32}],126:[function(t,e,i){"use strict";let o=t("../../../doc/enums"),r=t("../../../utils/utils"),n=t("../base-xform"),a={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce((l,c)=>(l[c]=!0,l),{}),horizontal(l){return this.horizontalValues[l]?l:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce((l,c)=>(l[c]=!0,l),{}),vertical(l){return l==="middle"?"center":this.verticalValues[l]?l:void 0},wrapText:l=>!!l||void 0,shrinkToFit:l=>!!l||void 0,textRotation(l){switch(l){case"vertical":return l;default:return(l=r.validInt(l))>=-90&&l<=90?l:void 0}},indent:l=>(l=r.validInt(l),Math.max(0,l)),readingOrder(l){switch(l){case"ltr":return o.ReadingOrder.LeftToRight;case"rtl":return o.ReadingOrder.RightToLeft;default:return}}},s={toXml(l){if(l=a.textRotation(l)){if(l==="vertical")return 255;let c=Math.round(l);if(c>=0&&c<=90)return c;if(c<0&&c>=-90)return 90-c}},toModel(l){let c=r.validInt(l);if(c!==void 0){if(c===255)return"vertical";if(c>=0&&c<=90)return c;if(c>90&&c<=180)return 90-c}}};e.exports=class extends n{get tag(){return"alignment"}render(l,c){l.addRollback(),l.openNode("alignment");let d=!1;function u(p,m){m&&(l.addAttribute(p,m),d=!0)}u("horizontal",a.horizontal(c.horizontal)),u("vertical",a.vertical(c.vertical)),u("wrapText",!!a.wrapText(c.wrapText)&&"1"),u("shrinkToFit",!!a.shrinkToFit(c.shrinkToFit)&&"1"),u("indent",a.indent(c.indent)),u("textRotation",s.toXml(c.textRotation)),u("readingOrder",a.readingOrder(c.readingOrder)),l.closeNode(),d?l.commit():l.rollback()}parseOpen(l){let c={},d=!1;function u(p,m,h){p&&(c[m]=h,d=!0)}u(l.attributes.horizontal,"horizontal",l.attributes.horizontal),u(l.attributes.vertical,"vertical",l.attributes.vertical==="center"?"middle":l.attributes.vertical),u(l.attributes.wrapText,"wrapText",r.parseBoolean(l.attributes.wrapText)),u(l.attributes.shrinkToFit,"shrinkToFit",r.parseBoolean(l.attributes.shrinkToFit)),u(l.attributes.indent,"indent",parseInt(l.attributes.indent,10)),u(l.attributes.textRotation,"textRotation",s.toModel(l.attributes.textRotation)),u(l.attributes.readingOrder,"readingOrder",l.attributes.readingOrder==="2"?"rtl":"ltr"),this.model=d?c:null}parseText(){}parseClose(){return!1}}},{"../../../doc/enums":7,"../../../utils/utils":27,"../base-xform":32}],127:[function(t,e,i){"use strict";let o=t("../base-xform"),r=t("../../../utils/utils"),n=t("./color-xform");class a extends o{constructor(l){super(),this.name=l,this.map={color:new n}}get tag(){return this.name}render(l,c,d){let u=c&&c.color||d||this.defaultColor;l.openNode(this.name),c&&c.style&&(l.addAttribute("style",c.style),u&&this.map.color.render(l,u)),l.closeNode()}parseOpen(l){if(this.parser)return this.parser.parseOpen(l),!0;switch(l.name){case this.name:{let{style:c}=l.attributes;return this.model=c?{style:c}:void 0,!0}case"color":return this.parser=this.map.color,this.parser.parseOpen(l),!0;default:return!1}}parseText(l){this.parser&&this.parser.parseText(l)}parseClose(l){return this.parser?(this.parser.parseClose(l)||(this.parser=void 0),!0):(l===this.name&&this.map.color.model&&(this.model||(this.model={}),this.model.color=this.map.color.model),!1)}validStyle(l){return a.validStyleValues[l]}}a.validStyleValues=["thin","dashed","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce((s,l)=>(s[l]=!0,s),{}),e.exports=class extends o{constructor(){super(),this.map={top:new a("top"),left:new a("left"),bottom:new a("bottom"),right:new a("right"),diagonal:new a("diagonal")}}render(s,l){let{color:c}=l;function d(u,p){u&&!u.color&&l.color&&(u={...u,color:l.color}),p.render(s,u,c)}s.openNode("border"),l.diagonal&&l.diagonal.style&&(l.diagonal.up&&s.addAttribute("diagonalUp","1"),l.diagonal.down&&s.addAttribute("diagonalDown","1")),d(l.left,this.map.left),d(l.right,this.map.right),d(l.top,this.map.top),d(l.bottom,this.map.bottom),d(l.diagonal,this.map.diagonal),s.closeNode()}parseOpen(s){if(this.parser)return this.parser.parseOpen(s),!0;switch(s.name){case"border":return this.reset(),this.diagonalUp=r.parseBoolean(s.attributes.diagonalUp),this.diagonalDown=r.parseBoolean(s.attributes.diagonalDown),!0;default:return this.parser=this.map[s.name],!!this.parser&&(this.parser.parseOpen(s),!0)}}parseText(s){this.parser&&this.parser.parseText(s)}parseClose(s){if(this.parser)return this.parser.parseClose(s)||(this.parser=void 0),!0;if(s==="border"){let l=this.model={},c=function(d,u,p){u&&(p&&Object.assign(u,p),l[d]=u)};c("left",this.map.left.model),c("right",this.map.right.model),c("top",this.map.top.model),c("bottom",this.map.bottom.model),c("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}},{"../../../utils/utils":27,"../base-xform":32,"./color-xform":128}],128:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{constructor(r){super(),this.name=r||"color"}get tag(){return this.name}render(r,n){return!!n&&(r.openNode(this.name),n.argb?r.addAttribute("rgb",n.argb):n.theme!==void 0?(r.addAttribute("theme",n.theme),n.tint!==void 0&&r.addAttribute("tint",n.tint)):n.indexed!==void 0?r.addAttribute("indexed",n.indexed):r.addAttribute("auto","1"),r.closeNode(),!0)}parseOpen(r){return r.name===this.name&&(r.attributes.rgb?this.model={argb:r.attributes.rgb}:r.attributes.theme?(this.model={theme:parseInt(r.attributes.theme,10)},r.attributes.tint&&(this.model.tint=parseFloat(r.attributes.tint))):r.attributes.indexed?this.model={indexed:parseInt(r.attributes.indexed,10)}:this.model=void 0,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],129:[function(t,e,i){"use strict";let o=t("../base-xform"),r=t("./alignment-xform"),n=t("./border-xform"),a=t("./fill-xform"),s=t("./font-xform"),l=t("./numfmt-xform"),c=t("./protection-xform");e.exports=class extends o{constructor(){super(),this.map={alignment:new r,border:new n,fill:new a,font:new s,numFmt:new l,protection:new c}}get tag(){return"dxf"}render(d,u){if(d.openNode(this.tag),u.font&&this.map.font.render(d,u.font),u.numFmt&&u.numFmtId){let p={id:u.numFmtId,formatCode:u.numFmt};this.map.numFmt.render(d,p)}u.fill&&this.map.fill.render(d,u.fill),u.alignment&&this.map.alignment.render(d,u.alignment),u.border&&this.map.border.render(d,u.border),u.protection&&this.map.protection.render(d,u.protection),d.closeNode()}parseOpen(d){if(this.parser)return this.parser.parseOpen(d),!0;switch(d.name){case this.tag:return this.reset(),!0;default:return this.parser=this.map[d.name],this.parser&&this.parser.parseOpen(d),!0}}parseText(d){this.parser&&this.parser.parseText(d)}parseClose(d){return this.parser?(this.parser.parseClose(d)||(this.parser=void 0),!0):d!==this.tag||(this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1)}}},{"../base-xform":32,"./alignment-xform":126,"./border-xform":127,"./fill-xform":130,"./font-xform":131,"./numfmt-xform":132,"./protection-xform":133}],130:[function(t,e,i){"use strict";let o=t("../base-xform"),r=t("./color-xform");class n extends o{constructor(){super(),this.map={color:new r}}get tag(){return"stop"}render(d,u){d.openNode("stop"),d.addAttribute("position",u.position),this.map.color.render(d,u.color),d.closeNode()}parseOpen(d){if(this.parser)return this.parser.parseOpen(d),!0;switch(d.name){case"stop":return this.model={position:parseFloat(d.attributes.position)},!0;case"color":return this.parser=this.map.color,this.parser.parseOpen(d),!0;default:return!1}}parseText(){}parseClose(d){return!!this.parser&&(this.parser.parseClose(d)||(this.model.color=this.parser.model,this.parser=void 0),!0)}}class a extends o{constructor(){super(),this.map={fgColor:new r("fgColor"),bgColor:new r("bgColor")}}get name(){return"pattern"}get tag(){return"patternFill"}render(d,u){d.openNode("patternFill"),d.addAttribute("patternType",u.pattern),u.fgColor&&this.map.fgColor.render(d,u.fgColor),u.bgColor&&this.map.bgColor.render(d,u.bgColor),d.closeNode()}parseOpen(d){if(this.parser)return this.parser.parseOpen(d),!0;switch(d.name){case"patternFill":return this.model={type:"pattern",pattern:d.attributes.patternType},!0;default:return this.parser=this.map[d.name],!!this.parser&&(this.parser.parseOpen(d),!0)}}parseText(d){this.parser&&this.parser.parseText(d)}parseClose(d){return!!this.parser&&(this.parser.parseClose(d)||(this.parser.model&&(this.model[d]=this.parser.model),this.parser=void 0),!0)}}class s extends o{constructor(){super(),this.map={stop:new n}}get name(){return"gradient"}get tag(){return"gradientFill"}render(d,u){switch(d.openNode("gradientFill"),u.gradient){case"angle":d.addAttribute("degree",u.degree);break;case"path":d.addAttribute("type","path"),u.center.left&&(d.addAttribute("left",u.center.left),u.center.right===void 0&&d.addAttribute("right",u.center.left)),u.center.right&&d.addAttribute("right",u.center.right),u.center.top&&(d.addAttribute("top",u.center.top),u.center.bottom===void 0&&d.addAttribute("bottom",u.center.top)),u.center.bottom&&d.addAttribute("bottom",u.center.bottom)}let p=this.map.stop;u.stops.forEach(m=>{p.render(d,m)}),d.closeNode()}parseOpen(d){if(this.parser)return this.parser.parseOpen(d),!0;switch(d.name){case"gradientFill":{let u=this.model={stops:[]};return d.attributes.degree?(u.gradient="angle",u.degree=parseInt(d.attributes.degree,10)):d.attributes.type==="path"&&(u.gradient="path",u.center={left:d.attributes.left?parseFloat(d.attributes.left):0,top:d.attributes.top?parseFloat(d.attributes.top):0},d.attributes.right!==d.attributes.left&&(u.center.right=d.attributes.right?parseFloat(d.attributes.right):0),d.attributes.bottom!==d.attributes.top&&(u.center.bottom=d.attributes.bottom?parseFloat(d.attributes.bottom):0)),!0}case"stop":return this.parser=this.map.stop,this.parser.parseOpen(d),!0;default:return!1}}parseText(d){this.parser&&this.parser.parseText(d)}parseClose(d){return!!this.parser&&(this.parser.parseClose(d)||(this.model.stops.push(this.parser.model),this.parser=void 0),!0)}}class l extends o{constructor(){super(),this.map={patternFill:new a,gradientFill:new s}}get tag(){return"fill"}render(d,u){switch(d.addRollback(),d.openNode("fill"),u.type){case"pattern":this.map.patternFill.render(d,u);break;case"gradient":this.map.gradientFill.render(d,u);break;default:return void d.rollback()}d.closeNode(),d.commit()}parseOpen(d){if(this.parser)return this.parser.parseOpen(d),!0;switch(d.name){case"fill":return this.model={},!0;default:return this.parser=this.map[d.name],!!this.parser&&(this.parser.parseOpen(d),!0)}}parseText(d){this.parser&&this.parser.parseText(d)}parseClose(d){return!!this.parser&&(this.parser.parseClose(d)||(this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0),!0)}validStyle(d){return l.validPatternValues[d]}}l.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce((c,d)=>(c[d]=!0,c),{}),l.StopXform=n,l.PatternFillXform=a,l.GradientFillXform=s,e.exports=l},{"../base-xform":32,"./color-xform":128}],131:[function(t,e,i){"use strict";let o=t("./color-xform"),r=t("../simple/boolean-xform"),n=t("../simple/integer-xform"),a=t("../simple/string-xform"),s=t("./underline-xform"),l=t("../../../utils/under-dash"),c=t("../base-xform");class d extends c{constructor(p){super(),this.options=p||d.OPTIONS,this.map={b:{prop:"bold",xform:new r({tag:"b",attr:"val"})},i:{prop:"italic",xform:new r({tag:"i",attr:"val"})},u:{prop:"underline",xform:new s},charset:{prop:"charset",xform:new n({tag:"charset",attr:"val"})},color:{prop:"color",xform:new o},condense:{prop:"condense",xform:new r({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new r({tag:"extend",attr:"val"})},family:{prop:"family",xform:new n({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new r({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new a({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new a({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new r({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new r({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new n({tag:"sz",attr:"val"})}},this.map[this.options.fontNameTag]={prop:"name",xform:new a({tag:this.options.fontNameTag,attr:"val"})}}get tag(){return this.options.tagName}render(p,m){let{map:h}=this;p.openNode(this.options.tagName),l.each(this.map,(f,g)=>{h[g].xform.render(p,m[f.prop])}),p.closeNode()}parseOpen(p){if(this.parser)return this.parser.parseOpen(p),!0;if(this.map[p.name])return this.parser=this.map[p.name].xform,this.parser.parseOpen(p);switch(p.name){case this.options.tagName:return this.model={},!0;default:return!1}}parseText(p){this.parser&&this.parser.parseText(p)}parseClose(p){if(this.parser&&!this.parser.parseClose(p)){let m=this.map[p];return this.parser.model&&(this.model[m.prop]=this.parser.model),this.parser=void 0,!0}switch(p){case this.options.tagName:return!1;default:return!0}}}d.OPTIONS={tagName:"font",fontNameTag:"name"},e.exports=d},{"../../../utils/under-dash":26,"../base-xform":32,"../simple/boolean-xform":116,"../simple/integer-xform":118,"../simple/string-xform":119,"./color-xform":128,"./underline-xform":136}],132:[function(t,e,i){"use strict";let o=t("../../../utils/under-dash"),r=t("../../defaultnumformats"),n=t("../base-xform"),a=(function(){let l={};return o.each(r,(c,d)=>{c.f&&(l[c.f]=parseInt(d,10))}),l})();class s extends n{constructor(c,d){super(),this.id=c,this.formatCode=d}get tag(){return"numFmt"}render(c,d){c.leafNode("numFmt",{numFmtId:d.id,formatCode:d.formatCode})}parseOpen(c){switch(c.name){case"numFmt":return this.model={id:parseInt(c.attributes.numFmtId,10),formatCode:c.attributes.formatCode.replace(/[\\](.)/g,"$1")},!0;default:return!1}}parseText(){}parseClose(){return!1}}s.getDefaultFmtId=function(l){return a[l]},s.getDefaultFmtCode=function(l){return r[l]&&r[l].f},e.exports=s},{"../../../utils/under-dash":26,"../../defaultnumformats":30,"../base-xform":32}],133:[function(t,e,i){"use strict";let o=t("../base-xform"),r={boolean:(n,a)=>n===void 0?a:n};e.exports=class extends o{get tag(){return"protection"}render(n,a){n.addRollback(),n.openNode("protection");let s=!1;function l(c,d){d!==void 0&&(n.addAttribute(c,d),s=!0)}l("locked",r.boolean(a.locked,!0)?void 0:"0"),l("hidden",r.boolean(a.hidden,!1)?"1":void 0),n.closeNode(),s?n.commit():n.rollback()}parseOpen(n){let a={locked:n.attributes.locked!=="0",hidden:n.attributes.hidden==="1"},s=!a.locked||a.hidden;this.model=s?a:null}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],134:[function(t,e,i){"use strict";let o=t("../base-xform"),r=t("./alignment-xform"),n=t("./protection-xform");e.exports=class extends o{constructor(a){super(),this.xfId=!(!a||!a.xfId),this.map={alignment:new r,protection:new n}}get tag(){return"xf"}render(a,s){a.openNode("xf",{numFmtId:s.numFmtId||0,fontId:s.fontId||0,fillId:s.fillId||0,borderId:s.borderId||0}),this.xfId&&a.addAttribute("xfId",s.xfId||0),s.numFmtId&&a.addAttribute("applyNumberFormat","1"),s.fontId&&a.addAttribute("applyFont","1"),s.fillId&&a.addAttribute("applyFill","1"),s.borderId&&a.addAttribute("applyBorder","1"),s.alignment&&a.addAttribute("applyAlignment","1"),s.protection&&a.addAttribute("applyProtection","1"),s.alignment&&this.map.alignment.render(a,s.alignment),s.protection&&this.map.protection.render(a,s.protection),a.closeNode()}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;switch(a.name){case"xf":return this.model={numFmtId:parseInt(a.attributes.numFmtId,10),fontId:parseInt(a.attributes.fontId,10),fillId:parseInt(a.attributes.fillId,10),borderId:parseInt(a.attributes.borderId,10)},this.xfId&&(this.model.xfId=parseInt(a.attributes.xfId,10)),!0;case"alignment":return this.parser=this.map.alignment,this.parser.parseOpen(a),!0;case"protection":return this.parser=this.map.protection,this.parser.parseOpen(a),!0;default:return!1}}parseText(a){this.parser&&this.parser.parseText(a)}parseClose(a){return this.parser?(this.parser.parseClose(a)||(this.map.protection===this.parser?this.model.protection=this.parser.model:this.model.alignment=this.parser.model,this.parser=void 0),!0):a!=="xf"}}},{"../base-xform":32,"./alignment-xform":126,"./protection-xform":133}],135:[function(t,e,i){"use strict";let o=t("../../../doc/enums"),r=t("../../../utils/xml-stream"),n=t("../base-xform"),a=t("../static-xform"),s=t("../list-xform"),l=t("./font-xform"),c=t("./fill-xform"),d=t("./border-xform"),u=t("./numfmt-xform"),p=t("./style-xform"),m=t("./dxf-xform");class h extends n{constructor(g){super(),this.map={numFmts:new s({tag:"numFmts",count:!0,childXform:new u}),fonts:new s({tag:"fonts",count:!0,childXform:new l,$:{"x14ac:knownFonts":1}}),fills:new s({tag:"fills",count:!0,childXform:new c}),borders:new s({tag:"borders",count:!0,childXform:new d}),cellStyleXfs:new s({tag:"cellStyleXfs",count:!0,childXform:new p}),cellXfs:new s({tag:"cellXfs",count:!0,childXform:new p({xfId:!0})}),dxfs:new s({tag:"dxfs",always:!0,count:!0,childXform:new m}),numFmt:new u,font:new l,fill:new c,border:new d,style:new p({xfId:!0}),cellStyles:h.STATIC_XFORMS.cellStyles,tableStyles:h.STATIC_XFORMS.tableStyles,extLst:h.STATIC_XFORMS.extLst},g&&this.init()}initIndex(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}init(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:"pattern",pattern:"none"}),this._addFill({type:"pattern",pattern:"gray125"}),this.weakMap=new WeakMap}render(g,b){b=b||this.model,g.openXml(r.StdDocAttributes),g.openNode("styleSheet",h.STYLESHEET_ATTRIBUTES),this.index?(b.numFmts&&b.numFmts.length&&(g.openNode("numFmts",{count:b.numFmts.length}),b.numFmts.forEach(y=>{g.writeXml(y)}),g.closeNode()),b.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),g.openNode("fonts",{count:b.fonts.length,"x14ac:knownFonts":1}),b.fonts.forEach(y=>{g.writeXml(y)}),g.closeNode(),g.openNode("fills",{count:b.fills.length}),b.fills.forEach(y=>{g.writeXml(y)}),g.closeNode(),g.openNode("borders",{count:b.borders.length}),b.borders.forEach(y=>{g.writeXml(y)}),g.closeNode(),this.map.cellStyleXfs.render(g,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),g.openNode("cellXfs",{count:b.styles.length}),b.styles.forEach(y=>{g.writeXml(y)}),g.closeNode()):(this.map.numFmts.render(g,b.numFmts),this.map.fonts.render(g,b.fonts),this.map.fills.render(g,b.fills),this.map.borders.render(g,b.borders),this.map.cellStyleXfs.render(g,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render(g,b.styles)),h.STATIC_XFORMS.cellStyles.render(g),this.map.dxfs.render(g,b.dxfs),h.STATIC_XFORMS.tableStyles.render(g),h.STATIC_XFORMS.extLst.render(g),g.closeNode()}parseOpen(g){if(this.parser)return this.parser.parseOpen(g),!0;switch(g.name){case"styleSheet":return this.initIndex(),!0;default:return this.parser=this.map[g.name],this.parser&&this.parser.parseOpen(g),!0}}parseText(g){this.parser&&this.parser.parseText(g)}parseClose(g){if(this.parser)return this.parser.parseClose(g)||(this.parser=void 0),!0;switch(g){case"styleSheet":{this.model={};let b=(y,w)=>{w.model&&w.model.length&&(this.model[y]=w.model)};if(b("numFmts",this.map.numFmts),b("fonts",this.map.fonts),b("fills",this.map.fills),b("borders",this.map.borders),b("styles",this.map.cellXfs),b("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){let y=this.index.numFmt;this.model.numFmts.forEach(w=>{y[w.id]=w.formatCode})}return!1}default:return!0}}addStyleModel(g,b){if(!g)return 0;if(this.model.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),this.weakMap&&this.weakMap.has(g))return this.weakMap.get(g);let y={};if(b=b||o.ValueType.Number,g.numFmt)y.numFmtId=this._addNumFmtStr(g.numFmt);else switch(b){case o.ValueType.Number:y.numFmtId=this._addNumFmtStr("General");break;case o.ValueType.Date:y.numFmtId=this._addNumFmtStr("mm-dd-yy")}g.font&&(y.fontId=this._addFont(g.font)),g.border&&(y.borderId=this._addBorder(g.border)),g.fill&&(y.fillId=this._addFill(g.fill)),g.alignment&&(y.alignment=g.alignment),g.protection&&(y.protection=g.protection);let w=this._addStyle(y);return this.weakMap&&this.weakMap.set(g,w),w}getStyleModel(g){let b=this.model.styles[g];if(!b)return null;let y=this.index.model[g];if(y)return y;if(y=this.index.model[g]={},b.numFmtId){let x=this.index.numFmt[b.numFmtId]||u.getDefaultFmtCode(b.numFmtId);x&&(y.numFmt=x)}function w(x,S,T){if(T||T===0){let M=S[T];M&&(y[x]=M)}}return w("font",this.model.fonts,b.fontId),w("border",this.model.borders,b.borderId),w("fill",this.model.fills,b.fillId),b.alignment&&(y.alignment=b.alignment),b.protection&&(y.protection=b.protection),y}addDxfStyle(g){return g.numFmt&&(g.numFmtId=this._addNumFmtStr(g.numFmt)),this.model.dxfs.push(g),this.model.dxfs.length-1}getDxfStyle(g){return this.model.dxfs[g]}_addStyle(g){let b=this.map.style.toXml(g),y=this.index.style[b];return y===void 0&&(y=this.index.style[b]=this.model.styles.length,this.model.styles.push(b)),y}_addNumFmtStr(g){let b=u.getDefaultFmtId(g);if(b!==void 0||(b=this.index.numFmt[g],b!==void 0))return b;b=this.index.numFmt[g]=164+this.model.numFmts.length;let y=this.map.numFmt.toXml({id:b,formatCode:g});return this.model.numFmts.push(y),b}_addFont(g){let b=this.map.font.toXml(g),y=this.index.font[b];return y===void 0&&(y=this.index.font[b]=this.model.fonts.length,this.model.fonts.push(b)),y}_addBorder(g){let b=this.map.border.toXml(g),y=this.index.border[b];return y===void 0&&(y=this.index.border[b]=this.model.borders.length,this.model.borders.push(b)),y}_addFill(g){let b=this.map.fill.toXml(g),y=this.index.fill[b];return y===void 0&&(y=this.index.fill[b]=this.model.fills.length,this.model.fills.push(b)),y}}h.STYLESHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac x16r2","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"},h.STATIC_XFORMS={cellStyles:new a({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new a({tag:"dxfs",$:{count:0}}),tableStyles:new a({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new a({tag:"extLst",c:[{tag:"ext",$:{uri:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},c:[{tag:"x14:slicerStyles",$:{defaultSlicerStyle:"SlicerStyleLight1"}}]},{tag:"ext",$:{uri:"{9260A510-F301-46a8-8635-F512D64BE5F5}","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},c:[{tag:"x15:timelineStyles",$:{defaultTimelineStyle:"TimeSlicerStyleLight1"}}]}]})},h.Mock=class extends h{constructor(){super(),this.model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}],borders:[{}],fills:[{type:"pattern",pattern:"none"},{type:"pattern",pattern:"gray125"}]}}parseStream(f){return f.autodrain(),Promise.resolve()}addStyleModel(f,g){switch(g){case o.ValueType.Date:return this.dateStyleId;default:return 0}}get dateStyleId(){if(!this._dateStyleId){let f={numFmtId:u.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push(f)}return this._dateStyleId}getStyleModel(){return{}}},e.exports=h},{"../../../doc/enums":7,"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"../static-xform":120,"./border-xform":127,"./dxf-xform":129,"./fill-xform":130,"./font-xform":131,"./numfmt-xform":132,"./style-xform":134}],136:[function(t,e,i){"use strict";let o=t("../base-xform");class r extends o{constructor(a){super(),this.model=a}get tag(){return"u"}render(a,s){if((s=s||this.model)===!0)a.leafNode("u");else{let l=r.Attributes[s];l&&a.leafNode("u",l)}}parseOpen(a){a.name==="u"&&(this.model=a.attributes.val||!0)}parseText(){}parseClose(){return!1}}r.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}},e.exports=r},{"../base-xform":32}],137:[function(t,e,i){"use strict";let o=t("../base-xform"),r=t("./filter-column-xform");e.exports=class extends o{constructor(){super(),this.map={filterColumn:new r}}get tag(){return"autoFilter"}prepare(n){n.columns.forEach((a,s)=>{this.map.filterColumn.prepare(a,{index:s})})}render(n,a){return n.openNode(this.tag,{ref:a.autoFilterRef}),a.columns.forEach(s=>{this.map.filterColumn.render(n,s)}),n.closeNode(),!0}parseOpen(n){if(this.parser)return this.parser.parseOpen(n),!0;switch(n.name){case this.tag:return this.model={autoFilterRef:n.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[n.name],this.parser)return this.parseOpen(n),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(n))}}parseText(n){this.parser&&this.parser.parseText(n)}parseClose(n){if(this.parser)return this.parser.parseClose(n)||(this.model.columns.push(this.parser.model),this.parser=void 0),!0;switch(n){case this.tag:return!1;default:throw new Error("Unexpected xml node in parseClose: "+n)}}}},{"../base-xform":32,"./filter-column-xform":139}],138:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"customFilter"}render(r,n){r.leafNode(this.tag,{val:n.val,operator:n.operator})}parseOpen(r){return r.name===this.tag&&(this.model={val:r.attributes.val,operator:r.attributes.operator},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],139:[function(t,e,i){"use strict";let o=t("../base-xform"),r=t("../list-xform"),n=t("./custom-filter-xform"),a=t("./filter-xform");e.exports=class extends o{constructor(){super(),this.map={customFilters:new r({tag:"customFilters",count:!1,empty:!0,childXform:new n}),filters:new r({tag:"filters",count:!1,empty:!0,childXform:new a})}}get tag(){return"filterColumn"}prepare(s,l){s.colId=l.index.toString()}render(s,l){return l.customFilters?(s.openNode(this.tag,{colId:l.colId,hiddenButton:l.filterButton?"0":"1"}),this.map.customFilters.render(s,l.customFilters),s.closeNode(),!0):(s.leafNode(this.tag,{colId:l.colId,hiddenButton:l.filterButton?"0":"1"}),!0)}parseOpen(s){if(this.parser)return this.parser.parseOpen(s),!0;let{attributes:l}=s;switch(s.name){case this.tag:return this.model={filterButton:l.hiddenButton==="0"},!0;default:if(this.parser=this.map[s.name],this.parser)return this.parseOpen(s),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(s))}}parseText(){}parseClose(s){if(this.parser)return this.parser.parseClose(s)||(this.parser=void 0),!0;switch(s){case this.tag:return this.model.customFilters=this.map.customFilters.model,!1;default:return!0}}}},{"../base-xform":32,"../list-xform":71,"./custom-filter-xform":138,"./filter-xform":140}],140:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"filter"}render(r,n){r.leafNode(this.tag,{val:n.val})}parseOpen(r){return r.name===this.tag&&(this.model={val:r.attributes.val},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],141:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"tableColumn"}prepare(r,n){r.id=n.index+1}render(r,n){return r.leafNode(this.tag,{id:n.id.toString(),name:n.name,totalsRowLabel:n.totalsRowLabel,totalsRowFunction:n.totalsRowFunction,dxfId:n.dxfId}),!0}parseOpen(r){if(r.name===this.tag){let{attributes:n}=r;return this.model={name:n.name,totalsRowLabel:n.totalsRowLabel,totalsRowFunction:n.totalsRowFunction,dxfId:n.dxfId},!0}return!1}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],142:[function(t,e,i){"use strict";let o=t("../base-xform");e.exports=class extends o{get tag(){return"tableStyleInfo"}render(r,n){return r.leafNode(this.tag,{name:n.theme?n.theme:void 0,showFirstColumn:n.showFirstColumn?"1":"0",showLastColumn:n.showLastColumn?"1":"0",showRowStripes:n.showRowStripes?"1":"0",showColumnStripes:n.showColumnStripes?"1":"0"}),!0}parseOpen(r){if(r.name===this.tag){let{attributes:n}=r;return this.model={theme:n.name?n.name:null,showFirstColumn:n.showFirstColumn==="1",showLastColumn:n.showLastColumn==="1",showRowStripes:n.showRowStripes==="1",showColumnStripes:n.showColumnStripes==="1"},!0}return!1}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],143:[function(t,e,i){"use strict";let o=t("../../../utils/xml-stream"),r=t("../base-xform"),n=t("../list-xform"),a=t("./auto-filter-xform"),s=t("./table-column-xform"),l=t("./table-style-info-xform");class c extends r{constructor(){super(),this.map={autoFilter:new a,tableColumns:new n({tag:"tableColumns",count:!0,empty:!0,childXform:new s}),tableStyleInfo:new l}}prepare(u,p){this.map.autoFilter.prepare(u),this.map.tableColumns.prepare(u.columns,p)}get tag(){return"table"}render(u,p){u.openXml(o.StdDocAttributes),u.openNode(this.tag,{...c.TABLE_ATTRIBUTES,id:p.id,name:p.name,displayName:p.displayName||p.name,ref:p.tableRef,totalsRowCount:p.totalsRow?"1":void 0,totalsRowShown:p.totalsRow?void 0:"1",headerRowCount:p.headerRow?"1":"0"}),this.map.autoFilter.render(u,p),this.map.tableColumns.render(u,p.columns),this.map.tableStyleInfo.render(u,p.style),u.closeNode()}parseOpen(u){if(this.parser)return this.parser.parseOpen(u),!0;let{name:p,attributes:m}=u;switch(p){case this.tag:this.reset(),this.model={name:m.name,displayName:m.displayName||m.name,tableRef:m.ref,totalsRow:m.totalsRowCount==="1",headerRow:m.headerRowCount==="1"};break;default:this.parser=this.map[u.name],this.parser&&this.parser.parseOpen(u)}return!0}parseText(u){this.parser&&this.parser.parseText(u)}parseClose(u){if(this.parser)return this.parser.parseClose(u)||(this.parser=void 0),!0;switch(u){case this.tag:return this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model&&(this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach((p,m)=>{this.model.columns[m].filterButton=p.filterButton})),this.model.style=this.map.tableStyleInfo.model,!1;default:return!0}}reconcile(u,p){u.columns.forEach(m=>{m.dxfId!==void 0&&(m.style=p.styles.getDxfStyle(m.dxfId))})}}c.TABLE_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"},e.exports=c},{"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"./auto-filter-xform":137,"./table-column-xform":141,"./table-style-info-xform":142}],144:[function(t,e,i){(function(o,r){(function(){"use strict";let n=t("fs"),a=t("jszip"),{PassThrough:s}=t("readable-stream"),l=t("../utils/zip-stream"),c=t("../utils/stream-buf"),d=t("../utils/utils"),u=t("../utils/xml-stream"),{bufferToString:p}=t("../utils/browser-buffer-decode"),m=t("./xform/style/styles-xform"),h=t("./xform/core/core-xform"),f=t("./xform/strings/shared-strings-xform"),g=t("./xform/core/relationships-xform"),b=t("./xform/core/content-types-xform"),y=t("./xform/core/app-xform"),w=t("./xform/book/workbook-xform"),x=t("./xform/sheet/worksheet-xform"),S=t("./xform/drawing/drawing-xform"),T=t("./xform/table/table-xform"),M=t("./xform/comment/comments-xform"),I=t("./xform/comment/vml-notes-xform"),A=t("./xml/theme1");class D{constructor(N){this.workbook=N}async readFile(N,R){if(!await d.fs.exists(N))throw new Error("File not found: "+N);let v=n.createReadStream(N);try{let k=await this.read(v,R);return v.close(),k}catch(k){throw v.close(),k}}parseRels(N){return new g().parseStream(N)}parseWorkbook(N){return new w().parseStream(N)}parseSharedStrings(N){return new f().parseStream(N)}reconcile(N,R){let v=new w,k=new x(R),P=new S,O=new T;v.reconcile(N);let _={media:N.media,mediaIndex:N.mediaIndex};Object.keys(N.drawings).forEach(V=>{let G=N.drawings[V],Q=N.drawingRels[V];Q&&(_.rels=Q.reduce((H,q)=>(H[q.Id]=q,H),{}),(G.anchors||[]).forEach(H=>{let q=H.picture&&H.picture.hyperlinks;q&&_.rels[q.rId]&&(q.hyperlink=_.rels[q.rId].Target,delete q.rId)}),P.reconcile(G,_))});let j={styles:N.styles};Object.values(N.tables).forEach(V=>{O.reconcile(V,j)});let B={styles:N.styles,sharedStrings:N.sharedStrings,media:N.media,mediaIndex:N.mediaIndex,date1904:N.properties&&N.properties.date1904,drawings:N.drawings,comments:N.comments,tables:N.tables,vmlDrawings:N.vmlDrawings};N.worksheets.forEach(V=>{V.relationships=N.worksheetRels[V.sheetNo],k.reconcile(V,B)}),delete N.worksheetHash,delete N.worksheetRels,delete N.globalRels,delete N.sharedStrings,delete N.workbookRels,delete N.sheetDefs,delete N.styles,delete N.mediaIndex,delete N.drawings,delete N.drawingRels,delete N.vmlDrawings}async _processWorksheetEntry(N,R,v,k,P){let O=new x(k),_=await O.parseStream(N);_.sheetNo=v,R.worksheetHash[P]=_,R.worksheets.push(_)}async _processCommentEntry(N,R,v){let k=new M,P=await k.parseStream(N);R.comments[`../${v}.xml`]=P}async _processTableEntry(N,R,v){let k=new T,P=await k.parseStream(N);R.tables[`../tables/${v}.xml`]=P}async _processWorksheetRelsEntry(N,R,v){let k=new g,P=await k.parseStream(N);R.worksheetRels[v]=P}async _processMediaEntry(N,R,v){let k=v.lastIndexOf(".");if(k>=1){let P=v.substr(k+1),O=v.substr(0,k);await new Promise((_,j)=>{let B=new c;B.on("finish",()=>{R.mediaIndex[v]=R.media.length,R.mediaIndex[O]=R.media.length;let V={type:"image",name:O,extension:P,buffer:B.toBuffer()};R.media.push(V),_()}),N.on("error",V=>{j(V)}),N.pipe(B)})}}async _processDrawingEntry(N,R,v){let k=new S,P=await k.parseStream(N);R.drawings[v]=P}async _processDrawingRelsEntry(N,R,v){let k=new g,P=await k.parseStream(N);R.drawingRels[v]=P}async _processVmlDrawingEntry(N,R,v){let k=new I,P=await k.parseStream(N);R.vmlDrawings[`../drawings/${v}.vml`]=P}async _processThemeEntry(N,R,v){await new Promise((k,P)=>{let O=new c;N.on("error",P),O.on("error",P),O.on("finish",()=>{R.themes[v]=O.read().toString(),k()}),N.pipe(O)})}createInputStream(){throw new Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}async read(N,R){!N[Symbol.asyncIterator]&&N.pipe&&(N=N.pipe(new s));let v=[];for await(let k of N)v.push(k);return this.load(r.concat(v),R)}async load(N,R){let v;v=R&&R.base64?r.from(N.toString(),"base64"):N;let k={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},P=await a.loadAsync(v);for(let O of Object.values(P.files))if(!O.dir){let _,j=O.name;if(j[0]==="/"&&(j=j.substr(1)),j.match(/xl\/media\//)||j.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))_=new s,_.write(await O.async("nodebuffer"));else{let B;_=new s({writableObjectMode:!0,readableObjectMode:!0}),B=o.browser?p(await O.async("nodebuffer")):await O.async("string");let V=16384;for(let G=0;G<B.length;G+=V)_.write(B.substring(G,G+V))}switch(_.end(),j){case"_rels/.rels":k.globalRels=await this.parseRels(_);break;case"xl/workbook.xml":{let B=await this.parseWorkbook(_);k.sheets=B.sheets,k.definedNames=B.definedNames,k.views=B.views,k.properties=B.properties,k.calcProperties=B.calcProperties;break}case"xl/_rels/workbook.xml.rels":k.workbookRels=await this.parseRels(_);break;case"xl/sharedStrings.xml":k.sharedStrings=new f,await k.sharedStrings.parseStream(_);break;case"xl/styles.xml":k.styles=new m,await k.styles.parseStream(_);break;case"docProps/app.xml":{let B=new y,V=await B.parseStream(_);k.company=V.company,k.manager=V.manager;break}case"docProps/core.xml":{let B=new h,V=await B.parseStream(_);Object.assign(k,V);break}default:{let B=j.match(/xl\/worksheets\/sheet(\d+)[.]xml/);if(B){await this._processWorksheetEntry(_,k,B[1],R,j);break}if(B=j.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),B){await this._processWorksheetRelsEntry(_,k,B[1]);break}if(B=j.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/),B){await this._processThemeEntry(_,k,B[1]);break}if(B=j.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/),B){await this._processMediaEntry(_,k,B[1]);break}if(B=j.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/),B){await this._processDrawingEntry(_,k,B[1]);break}if(B=j.match(/xl\/(comments\d+)[.]xml/),B){await this._processCommentEntry(_,k,B[1]);break}if(B=j.match(/xl\/tables\/(table\d+)[.]xml/),B){await this._processTableEntry(_,k,B[1]);break}if(B=j.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/),B){await this._processDrawingRelsEntry(_,k,B[1]);break}if(B=j.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/),B){await this._processVmlDrawingEntry(_,k,B[1]);break}}}}return this.reconcile(k,R),this.workbook.model=k,this.workbook}async addMedia(N,R){await Promise.all(R.media.map(async v=>{if(v.type==="image"){let k=`xl/media/${v.name}.${v.extension}`;if(v.filename){let P=await(function(O,_){return new Promise((j,B)=>{n.readFile(O,_,(V,G)=>{V?B(V):j(G)})})})(v.filename);return N.append(P,{name:k})}if(v.buffer)return N.append(v.buffer,{name:k});if(v.base64){let P=v.base64,O=P.substring(P.indexOf(",")+1);return N.append(O,{name:k,base64:!0})}}throw new Error("Unsupported media")}))}addDrawings(N,R){let v=new S,k=new g;R.worksheets.forEach(P=>{let{drawing:O}=P;if(O){v.prepare(O,{});let _=v.toXml(O);N.append(_,{name:`xl/drawings/${O.name}.xml`}),_=k.toXml(O.rels),N.append(_,{name:`xl/drawings/_rels/${O.name}.xml.rels`})}})}addTables(N,R){let v=new T;R.worksheets.forEach(k=>{let{tables:P}=k;P.forEach(O=>{v.prepare(O,{});let _=v.toXml(O);N.append(_,{name:"xl/tables/"+O.target})})})}async addContentTypes(N,R){let v=new b().toXml(R);N.append(v,{name:"[Content_Types].xml"})}async addApp(N,R){let v=new y().toXml(R);N.append(v,{name:"docProps/app.xml"})}async addCore(N,R){let v=new h;N.append(v.toXml(R),{name:"docProps/core.xml"})}async addThemes(N,R){let v=R.themes||{theme1:A};Object.keys(v).forEach(k=>{let P=v[k],O=`xl/theme/${k}.xml`;N.append(P,{name:O})})}async addOfficeRels(N){let R=new g().toXml([{Id:"rId1",Type:D.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:D.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:D.RelType.ExtenderProperties,Target:"docProps/app.xml"}]);N.append(R,{name:"_rels/.rels"})}async addWorkbookRels(N,R){let v=1,k=[{Id:"rId"+v++,Type:D.RelType.Styles,Target:"styles.xml"},{Id:"rId"+v++,Type:D.RelType.Theme,Target:"theme/theme1.xml"}];R.sharedStrings.count&&k.push({Id:"rId"+v++,Type:D.RelType.SharedStrings,Target:"sharedStrings.xml"}),R.worksheets.forEach(O=>{O.rId="rId"+v++,k.push({Id:O.rId,Type:D.RelType.Worksheet,Target:`worksheets/sheet${O.id}.xml`})});let P=new g().toXml(k);N.append(P,{name:"xl/_rels/workbook.xml.rels"})}async addSharedStrings(N,R){R.sharedStrings&&R.sharedStrings.count&&N.append(R.sharedStrings.xml,{name:"xl/sharedStrings.xml"})}async addStyles(N,R){let{xml:v}=R.styles;v&&N.append(v,{name:"xl/styles.xml"})}async addWorkbook(N,R){let v=new w;N.append(v.toXml(R),{name:"xl/workbook.xml"})}async addWorksheets(N,R){let v=new x,k=new g,P=new M,O=new I;R.worksheets.forEach(_=>{let j=new u;v.render(j,_),N.append(j.xml,{name:`xl/worksheets/sheet${_.id}.xml`}),_.rels&&_.rels.length&&(j=new u,k.render(j,_.rels),N.append(j.xml,{name:`xl/worksheets/_rels/sheet${_.id}.xml.rels`})),_.comments.length>0&&(j=new u,P.render(j,_),N.append(j.xml,{name:`xl/comments${_.id}.xml`}),j=new u,O.render(j,_),N.append(j.xml,{name:`xl/drawings/vmlDrawing${_.id}.vml`}))})}_finalize(N){return new Promise((R,v)=>{N.on("finish",()=>{R(this)}),N.on("error",v),N.finalize()})}prepareModel(N,R){N.creator=N.creator||"ExcelJS",N.lastModifiedBy=N.lastModifiedBy||"ExcelJS",N.created=N.created||new Date,N.modified=N.modified||new Date,N.useSharedStrings=R.useSharedStrings===void 0||R.useSharedStrings,N.useStyles=R.useStyles===void 0||R.useStyles,N.sharedStrings=new f,N.styles=N.useStyles?new m(!0):new m.Mock;let v=new w,k=new x;v.prepare(N);let P={sharedStrings:N.sharedStrings,styles:N.styles,date1904:N.properties.date1904,drawingsCount:0,media:N.media};P.drawings=N.drawings=[],P.commentRefs=N.commentRefs=[];let O=0;N.tables=[],N.worksheets.forEach(_=>{_.tables.forEach(j=>{O++,j.target=`table${O}.xml`,j.id=O,N.tables.push(j)}),k.prepare(_,P)})}async write(N,R){R=R||{};let{model:v}=this.workbook,k=new l.ZipWriter(R.zip);return k.pipe(N),this.prepareModel(v,R),await this.addContentTypes(k,v),await this.addOfficeRels(k,v),await this.addWorkbookRels(k,v),await this.addWorksheets(k,v),await this.addSharedStrings(k,v),await this.addDrawings(k,v),await this.addTables(k,v),await Promise.all([this.addThemes(k,v),this.addStyles(k,v)]),await this.addMedia(k,v),await Promise.all([this.addApp(k,v),this.addCore(k,v)]),await this.addWorkbook(k,v),this._finalize(k)}writeFile(N,R){let v=n.createWriteStream(N);return new Promise((k,P)=>{v.on("finish",()=>{k()}),v.on("error",O=>{P(O)}),this.write(v,R).then(()=>{v.end()}).catch(O=>{P(O)})})}async writeBuffer(N){let R=new c;return await this.write(R,N),R.read()}}D.RelType=t("./rel-type"),e.exports=D}).call(this)}).call(this,t("_process"),t("buffer").Buffer)},{"../utils/browser-buffer-decode":16,"../utils/stream-buf":24,"../utils/utils":27,"../utils/xml-stream":28,"../utils/zip-stream":29,"./rel-type":31,"./xform/book/workbook-xform":38,"./xform/comment/comments-xform":40,"./xform/comment/vml-notes-xform":45,"./xform/core/app-xform":51,"./xform/core/content-types-xform":52,"./xform/core/core-xform":53,"./xform/core/relationships-xform":55,"./xform/drawing/drawing-xform":62,"./xform/sheet/worksheet-xform":115,"./xform/strings/shared-strings-xform":124,"./xform/style/styles-xform":135,"./xform/table/table-xform":143,"./xml/theme1":145,_process:467,buffer:220,fs:216,jszip:441,"readable-stream":491}],145:[function(t,e,i){"use strict";e.exports=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF"/> <a:font script="Hang" typeface="\uB9D1\uC740 \uACE0\uB515"/> <a:font script="Hans" typeface="\u5B8B\u4F53"/> <a:font script="Hant" typeface="\u65B0\u7D30\u660E\u9AD4"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF"/> <a:font script="Hang" typeface="\uB9D1\uC740 \uACE0\uB515"/> <a:font script="Hans" typeface="\u5B8B\u4F53"/> <a:font script="Hant" typeface="\u65B0\u7D30\u660E\u9AD4"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> </a:lnStyleLst> <a:effectStyleLst> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="38000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> <a:scene3d> <a:camera prst="orthographicFront"> <a:rot lat="0" lon="0" rev="0"/> </a:camera> <a:lightRig rig="threePt" dir="t"> <a:rot lat="0" lon="0" rev="1200000"/> </a:lightRig> </a:scene3d> <a:sp3d> <a:bevelT w="63500" h="25400"/> </a:sp3d> </a:effectStyle> </a:effectStyleLst> <a:bgFillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="40000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="40000"> <a:schemeClr val="phClr"> <a:tint val="45000"/> <a:shade val="99000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="20000"/> <a:satMod val="255000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/> </a:path> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="80000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="30000"/> <a:satMod val="200000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="50000" r="50000" b="50000"/> </a:path> </a:gradFill> </a:bgFillStyleLst> </a:fmtScheme> </a:themeElements> <a:objectDefaults> <a:spDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="1"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="3"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="2"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="lt1"/> </a:fontRef> </a:style> </a:spDef> <a:lnDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="2"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="0"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="1"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="tx1"/> </a:fontRef> </a:style> </a:lnDef> </a:objectDefaults> <a:extraClrSchemeLst/> </a:theme>`},{}],146:[function(t,e,i){(function(o){(function(){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.CsvFormatterStream=void 0;let r=t("stream"),n=t("./formatter");class a extends r.Transform{constructor(l){super({writableObjectMode:l.objectMode}),this.hasWrittenBOM=!1,this.formatterOptions=l,this.rowFormatter=new n.RowFormatter(l),this.hasWrittenBOM=!l.writeBOM}transform(l){return this.rowFormatter.rowTransform=l,this}_transform(l,c,d){let u=!1;try{this.hasWrittenBOM||(this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0),this.rowFormatter.format(l,(p,m)=>p?(u=!0,d(p)):(m&&m.forEach(h=>{this.push(o.from(h,"utf8"))}),u=!0,d()))}catch(p){if(u)throw p;d(p)}}_flush(l){this.rowFormatter.finish((c,d)=>c?l(c):(d&&d.forEach(u=>{this.push(o.from(u,"utf8"))}),l()))}}i.CsvFormatterStream=a}).call(this)}).call(this,t("buffer").Buffer)},{"./formatter":150,buffer:220,stream:505}],147:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.FormatterOptions=void 0,i.FormatterOptions=class{constructor(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var r;this.objectMode=!0,this.delimiter=",",this.rowDelimiter=`
`,this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\uFEFF",this.alwaysWriteHeaders=!1,Object.assign(this,o||{}),(o==null?void 0:o.quoteHeaders)===void 0&&(this.quoteHeaders=this.quoteColumns),(o==null?void 0:o.quote)===!0?this.quote='"':(o==null?void 0:o.quote)===!1&&(this.quote=""),typeof(o==null?void 0:o.escape)!="string"&&(this.escape=this.quote),this.shouldWriteHeaders=!!this.headers&&((r=o.writeHeaders)===null||r===void 0||r),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}},{}],148:[function(t,e,i){"use strict";var o=function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(i,"__esModule",{value:!0}),i.FieldFormatter=void 0;let r=o(t("lodash.isboolean")),n=o(t("lodash.isnil")),a=o(t("lodash.escaperegexp"));i.FieldFormatter=class{constructor(s){this._headers=null,this.formatterOptions=s,s.headers!==null&&(this.headers=s.headers),this.REPLACE_REGEXP=new RegExp(s.quote,"g");let l=`[${s.delimiter}${a.default(s.rowDelimiter)}|\r|
]`;this.ESCAPE_REGEXP=new RegExp(l)}set headers(s){this._headers=s}shouldQuote(s,l){let c=l?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;return r.default(c)?c:Array.isArray(c)?c[s]:this._headers!==null&&c[this._headers[s]]}format(s,l,c){let d=(""+(n.default(s)?"":s)).replace(/\0/g,""),{formatterOptions:u}=this;return u.quote!==""&&d.indexOf(u.quote)!==-1?this.quoteField(d.replace(this.REPLACE_REGEXP,u.escapedQuote)):d.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(l,c)?this.quoteField(d):d}quoteField(s){let{quote:l}=this.formatterOptions;return`${l}${s}${l}`}}},{"lodash.escaperegexp":442,"lodash.isboolean":444,"lodash.isnil":447}],149:[function(t,e,i){"use strict";var o=function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(i,"__esModule",{value:!0}),i.RowFormatter=void 0;let r=o(t("lodash.isfunction")),n=o(t("lodash.isequal")),a=t("./FieldFormatter"),s=t("../types");class l{constructor(d){this.rowCount=0,this.formatterOptions=d,this.fieldFormatter=new a.FieldFormatter(d),this.headers=d.headers,this.shouldWriteHeaders=d.shouldWriteHeaders,this.hasWrittenHeaders=!1,this.headers!==null&&(this.fieldFormatter.headers=this.headers),d.transform&&(this.rowTransform=d.transform)}static isRowHashArray(d){return!!Array.isArray(d)&&Array.isArray(d[0])&&d[0].length===2}static isRowArray(d){return Array.isArray(d)&&!this.isRowHashArray(d)}static gatherHeaders(d){return l.isRowHashArray(d)?d.map(u=>u[0]):Array.isArray(d)?d:Object.keys(d)}static createTransform(d){return s.isSyncTransform(d)?(u,p)=>{let m=null;try{m=d(u)}catch(h){return p(h)}return p(null,m)}:(u,p)=>{d(u,p)}}set rowTransform(d){if(!r.default(d))throw new TypeError("The transform should be a function");this._rowTransform=l.createTransform(d)}format(d,u){this.callTransformer(d,(p,m)=>{if(p)return u(p);if(!d)return u(null);let h=[];if(m){let{shouldFormatColumns:f,headers:g}=this.checkHeaders(m);if(this.shouldWriteHeaders&&g&&!this.hasWrittenHeaders&&(h.push(this.formatColumns(g,!0)),this.hasWrittenHeaders=!0),f){let b=this.gatherColumns(m);h.push(this.formatColumns(b,!1))}}return u(null,h)})}finish(d){let u=[];if(this.formatterOptions.alwaysWriteHeaders&&this.rowCount===0){if(!this.headers)return d(new Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));u.push(this.formatColumns(this.headers,!0))}return this.formatterOptions.includeEndRowDelimiter&&u.push(this.formatterOptions.rowDelimiter),d(null,u)}checkHeaders(d){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};let u=l.gatherHeaders(d);return this.headers=u,this.fieldFormatter.headers=u,this.shouldWriteHeaders?{shouldFormatColumns:!n.default(u,d),headers:u}:{shouldFormatColumns:!0,headers:null}}gatherColumns(d){if(this.headers===null)throw new Error("Headers is currently null");return Array.isArray(d)?l.isRowHashArray(d)?this.headers.map((u,p)=>{let m=d[p];return m?m[1]:""}):l.isRowArray(d)&&!this.shouldWriteHeaders?d:this.headers.map((u,p)=>d[p]):this.headers.map(u=>d[u])}callTransformer(d,u){return this._rowTransform?this._rowTransform(d,u):u(null,d)}formatColumns(d,u){let p=d.map((h,f)=>this.fieldFormatter.format(h,f,u)).join(this.formatterOptions.delimiter),{rowCount:m}=this;return this.rowCount+=1,m?[this.formatterOptions.rowDelimiter,p].join(""):p}}i.RowFormatter=l},{"../types":152,"./FieldFormatter":148,"lodash.isequal":445,"lodash.isfunction":446}],150:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.FieldFormatter=i.RowFormatter=void 0;var o=t("./RowFormatter");Object.defineProperty(i,"RowFormatter",{enumerable:!0,get:function(){return o.RowFormatter}});var r=t("./FieldFormatter");Object.defineProperty(i,"FieldFormatter",{enumerable:!0,get:function(){return r.FieldFormatter}})},{"./FieldFormatter":148,"./RowFormatter":149}],151:[function(t,e,i){(function(o){(function(){"use strict";var r=Object.create?function(f,g,b,y){y===void 0&&(y=b),Object.defineProperty(f,y,{enumerable:!0,get:function(){return g[b]}})}:function(f,g,b,y){y===void 0&&(y=b),f[y]=g[b]},n=Object.create?function(f,g){Object.defineProperty(f,"default",{enumerable:!0,value:g})}:function(f,g){f.default=g},a=function(f){if(f&&f.__esModule)return f;var g={};if(f!=null)for(var b in f)b!=="default"&&Object.prototype.hasOwnProperty.call(f,b)&&r(g,f,b);return n(g,f),g},s=function(f,g){for(var b in f)b==="default"||Object.prototype.hasOwnProperty.call(g,b)||r(g,f,b)};Object.defineProperty(i,"__esModule",{value:!0}),i.writeToPath=i.writeToString=i.writeToBuffer=i.writeToStream=i.write=i.format=i.FormatterOptions=i.CsvFormatterStream=void 0;let l=t("util"),c=t("stream"),d=a(t("fs")),u=t("./FormatterOptions"),p=t("./CsvFormatterStream");s(t("./types"),i);var m=t("./CsvFormatterStream");Object.defineProperty(i,"CsvFormatterStream",{enumerable:!0,get:function(){return m.CsvFormatterStream}});var h=t("./FormatterOptions");Object.defineProperty(i,"FormatterOptions",{enumerable:!0,get:function(){return h.FormatterOptions}}),i.format=f=>new p.CsvFormatterStream(new u.FormatterOptions(f)),i.write=(f,g)=>{let b=i.format(g),y=l.promisify((w,x)=>{b.write(w,void 0,x)});return f.reduce((w,x)=>w.then(()=>y(x)),Promise.resolve()).then(()=>b.end()).catch(w=>{b.emit("error",w)}),b},i.writeToStream=(f,g,b)=>i.write(g,b).pipe(f),i.writeToBuffer=function(f){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=[],y=new c.Writable({write(w,x,S){b.push(w),S()}});return new Promise((w,x)=>{y.on("error",x).on("finish",()=>w(o.concat(b))),i.write(f,g).pipe(y)})},i.writeToString=(f,g)=>i.writeToBuffer(f,g).then(b=>b.toString()),i.writeToPath=(f,g,b)=>{let y=d.createWriteStream(f,{encoding:"utf8"});return i.write(g,b).pipe(y)}}).call(this)}).call(this,t("buffer").Buffer)},{"./CsvFormatterStream":146,"./FormatterOptions":147,"./types":152,buffer:220,fs:216,stream:505,util:527}],152:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isSyncTransform=void 0,i.isSyncTransform=o=>o.length===1},{}],153:[function(t,e,i){(function(o){(function(){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.CsvParserStream=void 0;let r=t("string_decoder"),n=t("stream"),a=t("./transforms"),s=t("./parser");class l extends n.Transform{constructor(d){super({objectMode:d.objectMode}),this.lines="",this.rowCount=0,this.parsedRowCount=0,this.parsedLineCount=0,this.endEmitted=!1,this.headersEmitted=!1,this.parserOptions=d,this.parser=new s.Parser(d),this.headerTransformer=new a.HeaderTransformer(d),this.decoder=new r.StringDecoder(d.encoding),this.rowTransformerValidator=new a.RowTransformerValidator}get hasHitRowLimit(){return this.parserOptions.limitRows&&this.rowCount>=this.parserOptions.maxRows}get shouldEmitRows(){return this.parsedRowCount>this.parserOptions.skipRows}get shouldSkipLine(){return this.parsedLineCount<=this.parserOptions.skipLines}transform(d){return this.rowTransformerValidator.rowTransform=d,this}validate(d){return this.rowTransformerValidator.rowValidator=d,this}emit(d){if(d==="end")return this.endEmitted||(this.endEmitted=!0,super.emit("end",this.rowCount)),!1;for(var u=arguments.length,p=new Array(u>1?u-1:0),m=1;m<u;m++)p[m-1]=arguments[m];return super.emit(d,...p)}_transform(d,u,p){if(this.hasHitRowLimit)return p();let m=l.wrapDoneCallback(p);try{let{lines:h}=this,f=h+this.decoder.write(d),g=this.parse(f,!0);return this.processRows(g,m)}catch(h){return m(h)}}_flush(d){let u=l.wrapDoneCallback(d);if(this.hasHitRowLimit)return u();try{let p=this.lines+this.decoder.end(),m=this.parse(p,!1);return this.processRows(m,u)}catch(p){return u(p)}}parse(d,u){if(!d)return[];let{line:p,rows:m}=this.parser.parse(d,u);return this.lines=p,m}processRows(d,u){let p=d.length,m=h=>{let f=y=>y?u(y):h%100!=0?m(h+1):void o(()=>m(h+1));if(this.checkAndEmitHeaders(),h>=p||this.hasHitRowLimit)return u();if(this.parsedLineCount+=1,this.shouldSkipLine)return f();let g=d[h];this.rowCount+=1,this.parsedRowCount+=1;let b=this.rowCount;return this.transformRow(g,(y,w)=>{if(y)return this.rowCount-=1,f(y);if(!w)return f(new Error("expected transform result"));if(w.isValid){if(w.row)return this.pushRow(w.row,f)}else this.emit("data-invalid",w.row,b,w.reason);return f()})};m(0)}transformRow(d,u){try{this.headerTransformer.transform(d,(p,m)=>p?u(p):m?m.isValid?m.row?this.shouldEmitRows?this.rowTransformerValidator.transformAndValidate(m.row,u):this.skipRow(u):(this.rowCount-=1,this.parsedRowCount-=1,u(null,{row:null,isValid:!0})):this.shouldEmitRows?u(null,{isValid:!1,row:d}):this.skipRow(u):u(new Error("Expected result from header transform")))}catch(p){u(p)}}checkAndEmitHeaders(){!this.headersEmitted&&this.headerTransformer.headers&&(this.headersEmitted=!0,this.emit("headers",this.headerTransformer.headers))}skipRow(d){return this.rowCount-=1,d(null,{row:null,isValid:!0})}pushRow(d,u){try{this.parserOptions.objectMode?this.push(d):this.push(JSON.stringify(d)),u()}catch(p){u(p)}}static wrapDoneCallback(d){let u=!1;return function(p){if(p){if(u)throw p;return u=!0,void d(p)}for(var m=arguments.length,h=new Array(m>1?m-1:0),f=1;f<m;f++)h[f-1]=arguments[f];d(...h)}}}i.CsvParserStream=l}).call(this)}).call(this,t("timers").setImmediate)},{"./parser":165,"./transforms":168,stream:505,string_decoder:218,timers:523}],154:[function(t,e,i){"use strict";var o=function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(i,"__esModule",{value:!0}),i.ParserOptions=void 0;let r=o(t("lodash.escaperegexp")),n=o(t("lodash.isnil"));i.ParserOptions=class{constructor(a){var s;if(this.objectMode=!0,this.delimiter=",",this.ignoreEmpty=!1,this.quote='"',this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn="\r",this.encoding="utf8",this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,a||{}),this.delimiter.length>1)throw new Error("delimiter option must be one character long");this.escapedDelimiter=r.default(this.delimiter),this.escapeChar=(s=this.escape)!==null&&s!==void 0?s:this.quote,this.supportsComments=!n.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp(`([^\\s]|\\r\\n|\\n|\\r|${this.escapedDelimiter})`),this.maxRows>0&&(this.limitRows=!0)}}},{"lodash.escaperegexp":442,"lodash.isnil":447}],155:[function(t,e,i){"use strict";var o=Object.create?function(m,h,f,g){g===void 0&&(g=f),Object.defineProperty(m,g,{enumerable:!0,get:function(){return h[f]}})}:function(m,h,f,g){g===void 0&&(g=f),m[g]=h[f]},r=Object.create?function(m,h){Object.defineProperty(m,"default",{enumerable:!0,value:h})}:function(m,h){m.default=h},n=function(m){if(m&&m.__esModule)return m;var h={};if(m!=null)for(var f in m)f!=="default"&&Object.prototype.hasOwnProperty.call(m,f)&&o(h,m,f);return r(h,m),h},a=function(m,h){for(var f in m)f==="default"||Object.prototype.hasOwnProperty.call(h,f)||o(h,m,f)};Object.defineProperty(i,"__esModule",{value:!0}),i.parseString=i.parseFile=i.parseStream=i.parse=i.ParserOptions=i.CsvParserStream=void 0;let s=n(t("fs")),l=t("stream"),c=t("./ParserOptions"),d=t("./CsvParserStream");a(t("./types"),i);var u=t("./CsvParserStream");Object.defineProperty(i,"CsvParserStream",{enumerable:!0,get:function(){return u.CsvParserStream}});var p=t("./ParserOptions");Object.defineProperty(i,"ParserOptions",{enumerable:!0,get:function(){return p.ParserOptions}}),i.parse=m=>new d.CsvParserStream(new c.ParserOptions(m)),i.parseStream=(m,h)=>m.pipe(new d.CsvParserStream(new c.ParserOptions(h))),i.parseFile=function(m){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return s.createReadStream(m).pipe(new d.CsvParserStream(new c.ParserOptions(h)))},i.parseString=(m,h)=>{let f=new l.Readable;return f.push(m),f.push(null),f.pipe(new d.CsvParserStream(new c.ParserOptions(h)))}},{"./CsvParserStream":153,"./ParserOptions":154,"./types":169,fs:216,stream:505}],156:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.Parser=void 0;let o=t("./Scanner"),r=t("./RowParser"),n=t("./Token");class a{constructor(l){this.parserOptions=l,this.rowParser=new r.RowParser(this.parserOptions)}static removeBOM(l){return l&&l.charCodeAt(0)===65279?l.slice(1):l}parse(l,c){let d=new o.Scanner({line:a.removeBOM(l),parserOptions:this.parserOptions,hasMoreData:c});return this.parserOptions.supportsComments?this.parseWithComments(d):this.parseWithoutComments(d)}parseWithoutComments(l){let c=[],d=!0;for(;d;)d=this.parseRow(l,c);return{line:l.line,rows:c}}parseWithComments(l){let{parserOptions:c}=this,d=[];for(let u=l.nextCharacterToken;u!==null;u=l.nextCharacterToken)if(n.Token.isTokenComment(u,c)){if(l.advancePastLine()===null)return{line:l.lineFromCursor,rows:d};if(!l.hasMoreCharacters)return{line:l.lineFromCursor,rows:d};l.truncateToCursor()}else if(!this.parseRow(l,d))break;return{line:l.line,rows:d}}parseRow(l,c){if(!l.nextNonSpaceToken)return!1;let d=this.rowParser.parse(l);return d!==null&&(this.parserOptions.ignoreEmpty&&r.RowParser.isEmptyRow(d)||c.push(d),!0)}}i.Parser=a},{"./RowParser":157,"./Scanner":158,"./Token":159}],157:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.RowParser=void 0;let o=t("./column"),r=t("./Token");i.RowParser=class{constructor(n){this.parserOptions=n,this.columnParser=new o.ColumnParser(n)}static isEmptyRow(n){return n.join("").replace(/\s+/g,"")===""}parse(n){let{parserOptions:a}=this,{hasMoreData:s}=n,l=n,c=[],d=this.getStartToken(l,c);for(;d;){if(r.Token.isTokenRowDelimiter(d))return l.advancePastToken(d),!l.hasMoreCharacters&&r.Token.isTokenCarriageReturn(d,a)&&s?null:(l.truncateToCursor(),c);if(!this.shouldSkipColumnParse(l,d,c)){let u=this.columnParser.parse(l);if(u===null)return null;c.push(u)}d=l.nextNonSpaceToken}return s?null:(l.truncateToCursor(),c)}getStartToken(n,a){let s=n.nextNonSpaceToken;return s!==null&&r.Token.isTokenDelimiter(s,this.parserOptions)?(a.push(""),n.nextNonSpaceToken):s}shouldSkipColumnParse(n,a,s){let{parserOptions:l}=this;if(r.Token.isTokenDelimiter(a,l)){n.advancePastToken(a);let c=n.nextCharacterToken;if(!n.hasMoreCharacters||c!==null&&r.Token.isTokenRowDelimiter(c)||c!==null&&r.Token.isTokenDelimiter(c,l))return s.push(""),!0}return!1}}},{"./Token":159,"./column":164}],158:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.Scanner=void 0;let o=t("./Token"),r=/((?:\r\n)|\n|\r)/;i.Scanner=class{constructor(n){this.cursor=0,this.line=n.line,this.lineLength=this.line.length,this.parserOptions=n.parserOptions,this.hasMoreData=n.hasMoreData,this.cursor=n.cursor||0}get hasMoreCharacters(){return this.lineLength>this.cursor}get nextNonSpaceToken(){let{lineFromCursor:n}=this,a=this.parserOptions.NEXT_TOKEN_REGEXP;if(n.search(a)===-1)return null;let s=a.exec(n);if(s==null)return null;let l=s[1],c=this.cursor+(s.index||0);return new o.Token({token:l,startCursor:c,endCursor:c+l.length-1})}get nextCharacterToken(){let{cursor:n,lineLength:a}=this;return a<=n?null:new o.Token({token:this.line[n],startCursor:n,endCursor:n})}get lineFromCursor(){return this.line.substr(this.cursor)}advancePastLine(){let n=r.exec(this.lineFromCursor);return n?(this.cursor+=(n.index||0)+n[0].length,this):this.hasMoreData?null:(this.cursor=this.lineLength,this)}advanceTo(n){return this.cursor=n,this}advanceToToken(n){return this.cursor=n.startCursor,this}advancePastToken(n){return this.cursor=n.endCursor+1,this}truncateToCursor(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}}},{"./Token":159}],159:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.Token=void 0,i.Token=class{constructor(o){this.token=o.token,this.startCursor=o.startCursor,this.endCursor=o.endCursor}static isTokenRowDelimiter(o){let r=o.token;return r==="\r"||r===`
`||r===`\r
`}static isTokenCarriageReturn(o,r){return o.token===r.carriageReturn}static isTokenComment(o,r){return r.supportsComments&&!!o&&o.token===r.comment}static isTokenEscapeCharacter(o,r){return o.token===r.escapeChar}static isTokenQuote(o,r){return o.token===r.quote}static isTokenDelimiter(o,r){return o.token===r.delimiter}}},{}],160:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.ColumnFormatter=void 0,i.ColumnFormatter=class{constructor(o){o.trim?this.format=r=>r.trim():o.ltrim?this.format=r=>r.trimLeft():o.rtrim?this.format=r=>r.trimRight():this.format=r=>r}}},{}],161:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.ColumnParser=void 0;let o=t("./NonQuotedColumnParser"),r=t("./QuotedColumnParser"),n=t("../Token");i.ColumnParser=class{constructor(a){this.parserOptions=a,this.quotedColumnParser=new r.QuotedColumnParser(a),this.nonQuotedColumnParser=new o.NonQuotedColumnParser(a)}parse(a){let{nextNonSpaceToken:s}=a;return s!==null&&n.Token.isTokenQuote(s,this.parserOptions)?(a.advanceToToken(s),this.quotedColumnParser.parse(a)):this.nonQuotedColumnParser.parse(a)}}},{"../Token":159,"./NonQuotedColumnParser":162,"./QuotedColumnParser":163}],162:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.NonQuotedColumnParser=void 0;let o=t("./ColumnFormatter"),r=t("../Token");i.NonQuotedColumnParser=class{constructor(n){this.parserOptions=n,this.columnFormatter=new o.ColumnFormatter(n)}parse(n){if(!n.hasMoreCharacters)return null;let{parserOptions:a}=this,s=[],l=n.nextCharacterToken;for(;l&&!r.Token.isTokenDelimiter(l,a)&&!r.Token.isTokenRowDelimiter(l);l=n.nextCharacterToken)s.push(l.token),n.advancePastToken(l);return this.columnFormatter.format(s.join(""))}}},{"../Token":159,"./ColumnFormatter":160}],163:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.QuotedColumnParser=void 0;let o=t("./ColumnFormatter"),r=t("../Token");i.QuotedColumnParser=class{constructor(n){this.parserOptions=n,this.columnFormatter=new o.ColumnFormatter(n)}parse(n){if(!n.hasMoreCharacters)return null;let a=n.cursor,{foundClosingQuote:s,col:l}=this.gatherDataBetweenQuotes(n);if(!s){if(n.advanceTo(a),!n.hasMoreData)throw new Error(`Parse Error: missing closing: '${this.parserOptions.quote||""}' in line: at '${n.lineFromCursor.replace(/[\r\n]/g,"\\n'")}'`);return null}return this.checkForMalformedColumn(n),l}gatherDataBetweenQuotes(n){let{parserOptions:a}=this,s=!1,l=!1,c=[],d=n.nextCharacterToken;for(;!l&&d!==null;d=n.nextCharacterToken){let u=r.Token.isTokenQuote(d,a);if(!s&&u)s=!0;else if(s)if(r.Token.isTokenEscapeCharacter(d,a)){n.advancePastToken(d);let p=n.nextCharacterToken;p!==null&&(r.Token.isTokenQuote(p,a)||r.Token.isTokenEscapeCharacter(p,a))?(c.push(p.token),d=p):u?l=!0:c.push(d.token)}else u?l=!0:c.push(d.token);n.advancePastToken(d)}return{col:this.columnFormatter.format(c.join("")),foundClosingQuote:l}}checkForMalformedColumn(n){let{parserOptions:a}=this,{nextNonSpaceToken:s}=n;if(s){let l=r.Token.isTokenDelimiter(s,a),c=r.Token.isTokenRowDelimiter(s);if(!l&&!c){let d=n.lineFromCursor.substr(0,10).replace(/[\r\n]/g,"\\n'");throw new Error(`Parse Error: expected: '${a.escapedDelimiter}' OR new line got: '${s.token}'. at '${d}`)}n.advanceToToken(s)}else n.hasMoreData||n.advancePastLine()}}},{"../Token":159,"./ColumnFormatter":160}],164:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.ColumnFormatter=i.QuotedColumnParser=i.NonQuotedColumnParser=i.ColumnParser=void 0;var o=t("./ColumnParser");Object.defineProperty(i,"ColumnParser",{enumerable:!0,get:function(){return o.ColumnParser}});var r=t("./NonQuotedColumnParser");Object.defineProperty(i,"NonQuotedColumnParser",{enumerable:!0,get:function(){return r.NonQuotedColumnParser}});var n=t("./QuotedColumnParser");Object.defineProperty(i,"QuotedColumnParser",{enumerable:!0,get:function(){return n.QuotedColumnParser}});var a=t("./ColumnFormatter");Object.defineProperty(i,"ColumnFormatter",{enumerable:!0,get:function(){return a.ColumnFormatter}})},{"./ColumnFormatter":160,"./ColumnParser":161,"./NonQuotedColumnParser":162,"./QuotedColumnParser":163}],165:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.QuotedColumnParser=i.NonQuotedColumnParser=i.ColumnParser=i.Token=i.Scanner=i.RowParser=i.Parser=void 0;var o=t("./Parser");Object.defineProperty(i,"Parser",{enumerable:!0,get:function(){return o.Parser}});var r=t("./RowParser");Object.defineProperty(i,"RowParser",{enumerable:!0,get:function(){return r.RowParser}});var n=t("./Scanner");Object.defineProperty(i,"Scanner",{enumerable:!0,get:function(){return n.Scanner}});var a=t("./Token");Object.defineProperty(i,"Token",{enumerable:!0,get:function(){return a.Token}});var s=t("./column");Object.defineProperty(i,"ColumnParser",{enumerable:!0,get:function(){return s.ColumnParser}}),Object.defineProperty(i,"NonQuotedColumnParser",{enumerable:!0,get:function(){return s.NonQuotedColumnParser}}),Object.defineProperty(i,"QuotedColumnParser",{enumerable:!0,get:function(){return s.QuotedColumnParser}})},{"./Parser":156,"./RowParser":157,"./Scanner":158,"./Token":159,"./column":164}],166:[function(t,e,i){"use strict";var o=function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(i,"__esModule",{value:!0}),i.HeaderTransformer=void 0;let r=o(t("lodash.isundefined")),n=o(t("lodash.isfunction")),a=o(t("lodash.uniq")),s=o(t("lodash.groupby"));i.HeaderTransformer=class{constructor(l){this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=l,l.headers===!0?this.shouldUseFirstRow=!0:Array.isArray(l.headers)?this.setHeaders(l.headers):n.default(l.headers)&&(this.headersTransform=l.headers)}transform(l,c){return this.shouldMapRow(l)?c(null,this.processRow(l)):c(null,{row:null,isValid:!0})}shouldMapRow(l){let{parserOptions:c}=this;if(!this.headersTransform&&c.renameHeaders&&!this.processedFirstRow){if(!this.receivedHeaders)throw new Error("Error renaming headers: new headers must be provided in an array");return this.processedFirstRow=!0,!1}if(!this.receivedHeaders&&Array.isArray(l)){if(this.headersTransform)this.setHeaders(this.headersTransform(l));else{if(!this.shouldUseFirstRow)return!0;this.setHeaders(l)}return!1}return!0}processRow(l){if(!this.headers)return{row:l,isValid:!0};let{parserOptions:c}=this;if(!c.discardUnmappedColumns&&l.length>this.headersLength){if(!c.strictColumnHandling)throw new Error(`Unexpected Error: column header mismatch expected: ${this.headersLength} columns got: ${l.length}`);return{row:l,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${l.length}`}}return c.strictColumnHandling&&l.length<this.headersLength?{row:l,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${l.length}`}:{row:this.mapHeaders(l),isValid:!0}}mapHeaders(l){let c={},{headers:d,headersLength:u}=this;for(let p=0;p<u;p+=1){let m=d[p];if(!r.default(m)){let h=l[p];r.default(h)?c[m]="":c[m]=h}}return c}setHeaders(l){var c;let d=l.filter(u=>!!u);if(a.default(d).length!==d.length){let u=s.default(d),p=Object.keys(u).filter(m=>u[m].length>1);throw new Error("Duplicate headers found "+JSON.stringify(p))}this.headers=l,this.receivedHeaders=!0,this.headersLength=((c=this.headers)===null||c===void 0?void 0:c.length)||0}}},{"lodash.groupby":443,"lodash.isfunction":446,"lodash.isundefined":448,"lodash.uniq":449}],167:[function(t,e,i){"use strict";var o=function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(i,"__esModule",{value:!0}),i.RowTransformerValidator=void 0;let r=o(t("lodash.isfunction")),n=t("../types");class a{constructor(){this._rowTransform=null,this._rowValidator=null}static createTransform(l){return n.isSyncTransform(l)?(c,d)=>{let u=null;try{u=l(c)}catch(p){return d(p)}return d(null,u)}:l}static createValidator(l){return n.isSyncValidate(l)?(c,d)=>{d(null,{row:c,isValid:l(c)})}:(c,d)=>{l(c,(u,p,m)=>u?d(u):d(null,p?{row:c,isValid:p,reason:m}:{row:c,isValid:!1,reason:m}))}}set rowTransform(l){if(!r.default(l))throw new TypeError("The transform should be a function");this._rowTransform=a.createTransform(l)}set rowValidator(l){if(!r.default(l))throw new TypeError("The validate should be a function");this._rowValidator=a.createValidator(l)}transformAndValidate(l,c){return this.callTransformer(l,(d,u)=>d?c(d):u?this.callValidator(u,(p,m)=>p?c(p):m&&!m.isValid?c(null,{row:u,isValid:!1,reason:m.reason}):c(null,{row:u,isValid:!0})):c(null,{row:null,isValid:!0}))}callTransformer(l,c){return this._rowTransform?this._rowTransform(l,c):c(null,l)}callValidator(l,c){return this._rowValidator?this._rowValidator(l,c):c(null,{row:l,isValid:!0})}}i.RowTransformerValidator=a},{"../types":169,"lodash.isfunction":446}],168:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.HeaderTransformer=i.RowTransformerValidator=void 0;var o=t("./RowTransformerValidator");Object.defineProperty(i,"RowTransformerValidator",{enumerable:!0,get:function(){return o.RowTransformerValidator}});var r=t("./HeaderTransformer");Object.defineProperty(i,"HeaderTransformer",{enumerable:!0,get:function(){return r.HeaderTransformer}})},{"./HeaderTransformer":166,"./RowTransformerValidator":167}],169:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isSyncValidate=i.isSyncTransform=void 0,i.isSyncTransform=o=>o.length===1,i.isSyncValidate=o=>o.length===1},{}],170:[function(t,e,i){"use strict";let o=i;o.bignum=t("bn.js"),o.define=t("./asn1/api").define,o.base=t("./asn1/base"),o.constants=t("./asn1/constants"),o.decoders=t("./asn1/decoders"),o.encoders=t("./asn1/encoders")},{"./asn1/api":171,"./asn1/base":173,"./asn1/constants":177,"./asn1/decoders":179,"./asn1/encoders":182,"bn.js":184}],171:[function(t,e,i){"use strict";let o=t("./encoders"),r=t("./decoders"),n=t("inherits");function a(s,l){this.name=s,this.body=l,this.decoders={},this.encoders={}}i.define=function(s,l){return new a(s,l)},a.prototype._createNamed=function(s){let l=this.name;function c(d){this._initNamed(d,l)}return n(c,s),c.prototype._initNamed=function(d,u){s.call(this,d,u)},new c(this)},a.prototype._getDecoder=function(s){return s=s||"der",this.decoders.hasOwnProperty(s)||(this.decoders[s]=this._createNamed(r[s])),this.decoders[s]},a.prototype.decode=function(s,l,c){return this._getDecoder(l).decode(s,c)},a.prototype._getEncoder=function(s){return s=s||"der",this.encoders.hasOwnProperty(s)||(this.encoders[s]=this._createNamed(o[s])),this.encoders[s]},a.prototype.encode=function(s,l,c){return this._getEncoder(l).encode(s,c)}},{"./decoders":179,"./encoders":182,inherits:440}],172:[function(t,e,i){"use strict";let o=t("inherits"),r=t("../base/reporter").Reporter,n=t("safer-buffer").Buffer;function a(l,c){r.call(this,c),n.isBuffer(l)?(this.base=l,this.offset=0,this.length=l.length):this.error("Input not Buffer")}function s(l,c){if(Array.isArray(l))this.length=0,this.value=l.map((function(d){return s.isEncoderBuffer(d)||(d=new s(d,c)),this.length+=d.length,d}),this);else if(typeof l=="number"){if(!(0<=l&&l<=255))return c.error("non-byte EncoderBuffer value");this.value=l,this.length=1}else if(typeof l=="string")this.value=l,this.length=n.byteLength(l);else{if(!n.isBuffer(l))return c.error("Unsupported type: "+typeof l);this.value=l,this.length=l.length}}o(a,r),i.DecoderBuffer=a,a.isDecoderBuffer=function(l){return l instanceof a?!0:typeof l=="object"&&n.isBuffer(l.base)&&l.constructor.name==="DecoderBuffer"&&typeof l.offset=="number"&&typeof l.length=="number"&&typeof l.save=="function"&&typeof l.restore=="function"&&typeof l.isEmpty=="function"&&typeof l.readUInt8=="function"&&typeof l.skip=="function"&&typeof l.raw=="function"},a.prototype.save=function(){return{offset:this.offset,reporter:r.prototype.save.call(this)}},a.prototype.restore=function(l){let c=new a(this.base);return c.offset=l.offset,c.length=this.offset,this.offset=l.offset,r.prototype.restore.call(this,l.reporter),c},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(l){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(l||"DecoderBuffer overrun")},a.prototype.skip=function(l,c){if(!(this.offset+l<=this.length))return this.error(c||"DecoderBuffer overrun");let d=new a(this.base);return d._reporterState=this._reporterState,d.offset=this.offset,d.length=this.offset+l,this.offset+=l,d},a.prototype.raw=function(l){return this.base.slice(l?l.offset:this.offset,this.length)},i.EncoderBuffer=s,s.isEncoderBuffer=function(l){return l instanceof s?!0:typeof l=="object"&&l.constructor.name==="EncoderBuffer"&&typeof l.length=="number"&&typeof l.join=="function"},s.prototype.join=function(l,c){return l||(l=n.alloc(this.length)),c||(c=0),this.length===0||(Array.isArray(this.value)?this.value.forEach((function(d){d.join(l,c),c+=d.length})):(typeof this.value=="number"?l[c]=this.value:typeof this.value=="string"?l.write(this.value,c):n.isBuffer(this.value)&&this.value.copy(l,c),c+=this.length)),l}},{"../base/reporter":175,inherits:440,"safer-buffer":495}],173:[function(t,e,i){"use strict";let o=i;o.Reporter=t("./reporter").Reporter,o.DecoderBuffer=t("./buffer").DecoderBuffer,o.EncoderBuffer=t("./buffer").EncoderBuffer,o.Node=t("./node")},{"./buffer":172,"./node":174,"./reporter":175}],174:[function(t,e,i){"use strict";let o=t("../base/reporter").Reporter,r=t("../base/buffer").EncoderBuffer,n=t("../base/buffer").DecoderBuffer,a=t("minimalistic-assert"),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function c(u,p,m){let h={};this._baseState=h,h.name=m,h.enc=u,h.parent=p||null,h.children=null,h.tag=null,h.args=null,h.reverseArgs=null,h.choice=null,h.optional=!1,h.any=!1,h.obj=!1,h.use=null,h.useDecoder=null,h.key=null,h.default=null,h.explicit=null,h.implicit=null,h.contains=null,h.parent||(h.children=[],this._wrap())}e.exports=c;let d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];c.prototype.clone=function(){let u=this._baseState,p={};d.forEach((function(h){p[h]=u[h]}));let m=new this.constructor(p.parent);return m._baseState=p,m},c.prototype._wrap=function(){let u=this._baseState;l.forEach((function(p){this[p]=function(){let m=new this.constructor(this);return u.children.push(m),m[p].apply(m,arguments)}}),this)},c.prototype._init=function(u){let p=this._baseState;a(p.parent===null),u.call(this),p.children=p.children.filter((function(m){return m._baseState.parent===this}),this),a.equal(p.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(u){let p=this._baseState,m=u.filter((function(h){return h instanceof this.constructor}),this);u=u.filter((function(h){return!(h instanceof this.constructor)}),this),m.length!==0&&(a(p.children===null),p.children=m,m.forEach((function(h){h._baseState.parent=this}),this)),u.length!==0&&(a(p.args===null),p.args=u,p.reverseArgs=u.map((function(h){if(typeof h!="object"||h.constructor!==Object)return h;let f={};return Object.keys(h).forEach((function(g){g==(0|g)&&(g|=0);let b=h[g];f[b]=g})),f})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(u){c.prototype[u]=function(){let p=this._baseState;throw new Error(u+" not implemented for encoding: "+p.enc)}})),s.forEach((function(u){c.prototype[u]=function(){let p=this._baseState,m=Array.prototype.slice.call(arguments);return a(p.tag===null),p.tag=u,this._useArgs(m),this}})),c.prototype.use=function(u){a(u);let p=this._baseState;return a(p.use===null),p.use=u,this},c.prototype.optional=function(){return this._baseState.optional=!0,this},c.prototype.def=function(u){let p=this._baseState;return a(p.default===null),p.default=u,p.optional=!0,this},c.prototype.explicit=function(u){let p=this._baseState;return a(p.explicit===null&&p.implicit===null),p.explicit=u,this},c.prototype.implicit=function(u){let p=this._baseState;return a(p.explicit===null&&p.implicit===null),p.implicit=u,this},c.prototype.obj=function(){let u=this._baseState,p=Array.prototype.slice.call(arguments);return u.obj=!0,p.length!==0&&this._useArgs(p),this},c.prototype.key=function(u){let p=this._baseState;return a(p.key===null),p.key=u,this},c.prototype.any=function(){return this._baseState.any=!0,this},c.prototype.choice=function(u){let p=this._baseState;return a(p.choice===null),p.choice=u,this._useArgs(Object.keys(u).map((function(m){return u[m]}))),this},c.prototype.contains=function(u){let p=this._baseState;return a(p.use===null),p.contains=u,this},c.prototype._decode=function(u,p){let m=this._baseState;if(m.parent===null)return u.wrapResult(m.children[0]._decode(u,p));let h,f=m.default,g=!0,b=null;if(m.key!==null&&(b=u.enterKey(m.key)),m.optional){let y=null;if(m.explicit!==null?y=m.explicit:m.implicit!==null?y=m.implicit:m.tag!==null&&(y=m.tag),y!==null||m.any){if(g=this._peekTag(u,y,m.any),u.isError(g))return g}else{let w=u.save();try{m.choice===null?this._decodeGeneric(m.tag,u,p):this._decodeChoice(u,p),g=!0}catch{g=!1}u.restore(w)}}if(m.obj&&g&&(h=u.enterObject()),g){if(m.explicit!==null){let w=this._decodeTag(u,m.explicit);if(u.isError(w))return w;u=w}let y=u.offset;if(m.use===null&&m.choice===null){let w;m.any&&(w=u.save());let x=this._decodeTag(u,m.implicit!==null?m.implicit:m.tag,m.any);if(u.isError(x))return x;m.any?f=u.raw(w):u=x}if(p&&p.track&&m.tag!==null&&p.track(u.path(),y,u.length,"tagged"),p&&p.track&&m.tag!==null&&p.track(u.path(),u.offset,u.length,"content"),m.any||(f=m.choice===null?this._decodeGeneric(m.tag,u,p):this._decodeChoice(u,p)),u.isError(f))return f;if(m.any||m.choice!==null||m.children===null||m.children.forEach((function(w){w._decode(u,p)})),m.contains&&(m.tag==="octstr"||m.tag==="bitstr")){let w=new n(f);f=this._getUse(m.contains,u._reporterState.obj)._decode(w,p)}}return m.obj&&g&&(f=u.leaveObject(h)),m.key===null||f===null&&g!==!0?b!==null&&u.exitKey(b):u.leaveKey(b,m.key,f),f},c.prototype._decodeGeneric=function(u,p,m){let h=this._baseState;return u==="seq"||u==="set"?null:u==="seqof"||u==="setof"?this._decodeList(p,u,h.args[0],m):/str$/.test(u)?this._decodeStr(p,u,m):u==="objid"&&h.args?this._decodeObjid(p,h.args[0],h.args[1],m):u==="objid"?this._decodeObjid(p,null,null,m):u==="gentime"||u==="utctime"?this._decodeTime(p,u,m):u==="null_"?this._decodeNull(p,m):u==="bool"?this._decodeBool(p,m):u==="objDesc"?this._decodeStr(p,u,m):u==="int"||u==="enum"?this._decodeInt(p,h.args&&h.args[0],m):h.use!==null?this._getUse(h.use,p._reporterState.obj)._decode(p,m):p.error("unknown tag: "+u)},c.prototype._getUse=function(u,p){let m=this._baseState;return m.useDecoder=this._use(u,p),a(m.useDecoder._baseState.parent===null),m.useDecoder=m.useDecoder._baseState.children[0],m.implicit!==m.useDecoder._baseState.implicit&&(m.useDecoder=m.useDecoder.clone(),m.useDecoder._baseState.implicit=m.implicit),m.useDecoder},c.prototype._decodeChoice=function(u,p){let m=this._baseState,h=null,f=!1;return Object.keys(m.choice).some((function(g){let b=u.save(),y=m.choice[g];try{let w=y._decode(u,p);if(u.isError(w))return!1;h={type:g,value:w},f=!0}catch{return u.restore(b),!1}return!0}),this),f?h:u.error("Choice not matched")},c.prototype._createEncoderBuffer=function(u){return new r(u,this.reporter)},c.prototype._encode=function(u,p,m){let h=this._baseState;if(h.default!==null&&h.default===u)return;let f=this._encodeValue(u,p,m);return f===void 0||this._skipDefault(f,p,m)?void 0:f},c.prototype._encodeValue=function(u,p,m){let h=this._baseState;if(h.parent===null)return h.children[0]._encode(u,p||new o);let f=null;if(this.reporter=p,h.optional&&u===void 0){if(h.default===null)return;u=h.default}let g=null,b=!1;if(h.any)f=this._createEncoderBuffer(u);else if(h.choice)f=this._encodeChoice(u,p);else if(h.contains)g=this._getUse(h.contains,m)._encode(u,p),b=!0;else if(h.children)g=h.children.map((function(y){if(y._baseState.tag==="null_")return y._encode(null,p,u);if(y._baseState.key===null)return p.error("Child should have a key");let w=p.enterKey(y._baseState.key);if(typeof u!="object")return p.error("Child expected, but input is not object");let x=y._encode(u[y._baseState.key],p,u);return p.leaveKey(w),x}),this).filter((function(y){return y})),g=this._createEncoderBuffer(g);else if(h.tag==="seqof"||h.tag==="setof"){if(!h.args||h.args.length!==1)return p.error("Too many args for : "+h.tag);if(!Array.isArray(u))return p.error("seqof/setof, but data is not Array");let y=this.clone();y._baseState.implicit=null,g=this._createEncoderBuffer(u.map((function(w){let x=this._baseState;return this._getUse(x.args[0],u)._encode(w,p)}),y))}else h.use!==null?f=this._getUse(h.use,m)._encode(u,p):(g=this._encodePrimitive(h.tag,u),b=!0);if(!h.any&&h.choice===null){let y=h.implicit!==null?h.implicit:h.tag,w=h.implicit===null?"universal":"context";y===null?h.use===null&&p.error("Tag could be omitted only for .use()"):h.use===null&&(f=this._encodeComposite(y,b,w,g))}return h.explicit!==null&&(f=this._encodeComposite(h.explicit,!1,"context",f)),f},c.prototype._encodeChoice=function(u,p){let m=this._baseState,h=m.choice[u.type];return h||a(!1,u.type+" not found in "+JSON.stringify(Object.keys(m.choice))),h._encode(u.value,p)},c.prototype._encodePrimitive=function(u,p){let m=this._baseState;if(/str$/.test(u))return this._encodeStr(p,u);if(u==="objid"&&m.args)return this._encodeObjid(p,m.reverseArgs[0],m.args[1]);if(u==="objid")return this._encodeObjid(p,null,null);if(u==="gentime"||u==="utctime")return this._encodeTime(p,u);if(u==="null_")return this._encodeNull();if(u==="int"||u==="enum")return this._encodeInt(p,m.args&&m.reverseArgs[0]);if(u==="bool")return this._encodeBool(p);if(u==="objDesc")return this._encodeStr(p,u);throw new Error("Unsupported tag: "+u)},c.prototype._isNumstr=function(u){return/^[0-9 ]*$/.test(u)},c.prototype._isPrintstr=function(u){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(u)}},{"../base/buffer":172,"../base/reporter":175,"minimalistic-assert":453}],175:[function(t,e,i){"use strict";let o=t("inherits");function r(a){this._reporterState={obj:null,path:[],options:a||{},errors:[]}}function n(a,s){this.path=a,this.rethrow(s)}i.Reporter=r,r.prototype.isError=function(a){return a instanceof n},r.prototype.save=function(){let a=this._reporterState;return{obj:a.obj,pathLen:a.path.length}},r.prototype.restore=function(a){let s=this._reporterState;s.obj=a.obj,s.path=s.path.slice(0,a.pathLen)},r.prototype.enterKey=function(a){return this._reporterState.path.push(a)},r.prototype.exitKey=function(a){let s=this._reporterState;s.path=s.path.slice(0,a-1)},r.prototype.leaveKey=function(a,s,l){let c=this._reporterState;this.exitKey(a),c.obj!==null&&(c.obj[s]=l)},r.prototype.path=function(){return this._reporterState.path.join("/")},r.prototype.enterObject=function(){let a=this._reporterState,s=a.obj;return a.obj={},s},r.prototype.leaveObject=function(a){let s=this._reporterState,l=s.obj;return s.obj=a,l},r.prototype.error=function(a){let s,l=this._reporterState,c=a instanceof n;if(s=c?a:new n(l.path.map((function(d){return"["+JSON.stringify(d)+"]"})).join(""),a.message||a,a.stack),!l.options.partial)throw s;return c||l.errors.push(s),s},r.prototype.wrapResult=function(a){let s=this._reporterState;return s.options.partial?{result:this.isError(a)?null:a,errors:s.errors}:a},o(n,Error),n.prototype.rethrow=function(a){if(this.message=a+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,n),!this.stack)try{throw new Error(this.message)}catch(s){this.stack=s.stack}return this}},{inherits:440}],176:[function(t,e,i){"use strict";function o(r){let n={};return Object.keys(r).forEach((function(a){(0|a)==a&&(a|=0);let s=r[a];n[s]=a})),n}i.tagClass={0:"universal",1:"application",2:"context",3:"private"},i.tagClassByName=o(i.tagClass),i.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},i.tagByName=o(i.tag)},{}],177:[function(t,e,i){"use strict";let o=i;o._reverse=function(r){let n={};return Object.keys(r).forEach((function(a){(0|a)==a&&(a|=0);let s=r[a];n[s]=a})),n},o.der=t("./der")},{"./der":176}],178:[function(t,e,i){"use strict";let o=t("inherits"),r=t("bn.js"),n=t("../base/buffer").DecoderBuffer,a=t("../base/node"),s=t("../constants/der");function l(p){this.enc="der",this.name=p.name,this.entity=p,this.tree=new c,this.tree._init(p.body)}function c(p){a.call(this,"der",p)}function d(p,m){let h=p.readUInt8(m);if(p.isError(h))return h;let f=s.tagClass[h>>6],g=(32&h)==0;if((31&h)==31){let b=h;for(h=0;(128&b)==128;){if(b=p.readUInt8(m),p.isError(b))return b;h<<=7,h|=127&b}}else h&=31;return{cls:f,primitive:g,tag:h,tagStr:s.tag[h]}}function u(p,m,h){let f=p.readUInt8(h);if(p.isError(f))return f;if(!m&&f===128)return null;if((128&f)==0)return f;let g=127&f;if(g>4)return p.error("length octect is too long");f=0;for(let b=0;b<g;b++){f<<=8;let y=p.readUInt8(h);if(p.isError(y))return y;f|=y}return f}e.exports=l,l.prototype.decode=function(p,m){return n.isDecoderBuffer(p)||(p=new n(p,m)),this.tree._decode(p,m)},o(c,a),c.prototype._peekTag=function(p,m,h){if(p.isEmpty())return!1;let f=p.save(),g=d(p,'Failed to peek tag: "'+m+'"');return p.isError(g)?g:(p.restore(f),g.tag===m||g.tagStr===m||g.tagStr+"of"===m||h)},c.prototype._decodeTag=function(p,m,h){let f=d(p,'Failed to decode tag of "'+m+'"');if(p.isError(f))return f;let g=u(p,f.primitive,'Failed to get length of "'+m+'"');if(p.isError(g))return g;if(!h&&f.tag!==m&&f.tagStr!==m&&f.tagStr+"of"!==m)return p.error('Failed to match tag: "'+m+'"');if(f.primitive||g!==null)return p.skip(g,'Failed to match body of: "'+m+'"');let b=p.save(),y=this._skipUntilEnd(p,'Failed to skip indefinite length body: "'+this.tag+'"');return p.isError(y)?y:(g=p.offset-b.offset,p.restore(b),p.skip(g,'Failed to match body of: "'+m+'"'))},c.prototype._skipUntilEnd=function(p,m){for(;;){let h=d(p,m);if(p.isError(h))return h;let f=u(p,h.primitive,m);if(p.isError(f))return f;let g;if(g=h.primitive||f!==null?p.skip(f):this._skipUntilEnd(p,m),p.isError(g))return g;if(h.tagStr==="end")break}},c.prototype._decodeList=function(p,m,h,f){let g=[];for(;!p.isEmpty();){let b=this._peekTag(p,"end");if(p.isError(b))return b;let y=h.decode(p,"der",f);if(p.isError(y)&&b)break;g.push(y)}return g},c.prototype._decodeStr=function(p,m){if(m==="bitstr"){let h=p.readUInt8();return p.isError(h)?h:{unused:h,data:p.raw()}}if(m==="bmpstr"){let h=p.raw();if(h.length%2==1)return p.error("Decoding of string type: bmpstr length mismatch");let f="";for(let g=0;g<h.length/2;g++)f+=String.fromCharCode(h.readUInt16BE(2*g));return f}if(m==="numstr"){let h=p.raw().toString("ascii");return this._isNumstr(h)?h:p.error("Decoding of string type: numstr unsupported characters")}if(m==="octstr"||m==="objDesc")return p.raw();if(m==="printstr"){let h=p.raw().toString("ascii");return this._isPrintstr(h)?h:p.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(m)?p.raw().toString():p.error("Decoding of string type: "+m+" unsupported")},c.prototype._decodeObjid=function(p,m,h){let f,g=[],b=0,y=0;for(;!p.isEmpty();)y=p.readUInt8(),b<<=7,b|=127&y,(128&y)==0&&(g.push(b),b=0);128&y&&g.push(b);let w=g[0]/40|0,x=g[0]%40;if(f=h?g:[w,x].concat(g.slice(1)),m){let S=m[f.join(" ")];S===void 0&&(S=m[f.join(".")]),S!==void 0&&(f=S)}return f},c.prototype._decodeTime=function(p,m){let h=p.raw().toString(),f,g,b,y,w,x;if(m==="gentime")f=0|h.slice(0,4),g=0|h.slice(4,6),b=0|h.slice(6,8),y=0|h.slice(8,10),w=0|h.slice(10,12),x=0|h.slice(12,14);else{if(m!=="utctime")return p.error("Decoding "+m+" time is not supported yet");f=0|h.slice(0,2),g=0|h.slice(2,4),b=0|h.slice(4,6),y=0|h.slice(6,8),w=0|h.slice(8,10),x=0|h.slice(10,12),f=f<70?2e3+f:1900+f}return Date.UTC(f,g-1,b,y,w,x,0)},c.prototype._decodeNull=function(){return null},c.prototype._decodeBool=function(p){let m=p.readUInt8();return p.isError(m)?m:m!==0},c.prototype._decodeInt=function(p,m){let h=p.raw(),f=new r(h);return m&&(f=m[f.toString(10)]||f),f},c.prototype._use=function(p,m){return typeof p=="function"&&(p=p(m)),p._getDecoder("der").tree}},{"../base/buffer":172,"../base/node":174,"../constants/der":176,"bn.js":184,inherits:440}],179:[function(t,e,i){"use strict";let o=i;o.der=t("./der"),o.pem=t("./pem")},{"./der":178,"./pem":180}],180:[function(t,e,i){"use strict";let o=t("inherits"),r=t("safer-buffer").Buffer,n=t("./der");function a(s){n.call(this,s),this.enc="pem"}o(a,n),e.exports=a,a.prototype.decode=function(s,l){let c=s.toString().split(/[\r\n]+/g),d=l.label.toUpperCase(),u=/^-----(BEGIN|END) ([^-]+)-----$/,p=-1,m=-1;for(let g=0;g<c.length;g++){let b=c[g].match(u);if(b!==null&&b[2]===d){if(p!==-1){if(b[1]!=="END")break;m=g;break}if(b[1]!=="BEGIN")break;p=g}}if(p===-1||m===-1)throw new Error("PEM section not found for: "+d);let h=c.slice(p+1,m).join("");h.replace(/[^a-z0-9+/=]+/gi,"");let f=r.from(h,"base64");return n.prototype.decode.call(this,f,l)}},{"./der":178,inherits:440,"safer-buffer":495}],181:[function(t,e,i){"use strict";let o=t("inherits"),r=t("safer-buffer").Buffer,n=t("../base/node"),a=t("../constants/der");function s(d){this.enc="der",this.name=d.name,this.entity=d,this.tree=new l,this.tree._init(d.body)}function l(d){n.call(this,"der",d)}function c(d){return d<10?"0"+d:d}e.exports=s,s.prototype.encode=function(d,u){return this.tree._encode(d,u).join()},o(l,n),l.prototype._encodeComposite=function(d,u,p,m){let h=(function(b,y,w,x){let S;if(b==="seqof"?b="seq":b==="setof"&&(b="set"),a.tagByName.hasOwnProperty(b))S=a.tagByName[b];else{if(typeof b!="number"||(0|b)!==b)return x.error("Unknown tag: "+b);S=b}return S>=31?x.error("Multi-octet tag encoding unsupported"):(y||(S|=32),S|=a.tagClassByName[w||"universal"]<<6,S)})(d,u,p,this.reporter);if(m.length<128){let b=r.alloc(2);return b[0]=h,b[1]=m.length,this._createEncoderBuffer([b,m])}let f=1;for(let b=m.length;b>=256;b>>=8)f++;let g=r.alloc(2+f);g[0]=h,g[1]=128|f;for(let b=1+f,y=m.length;y>0;b--,y>>=8)g[b]=255&y;return this._createEncoderBuffer([g,m])},l.prototype._encodeStr=function(d,u){if(u==="bitstr")return this._createEncoderBuffer([0|d.unused,d.data]);if(u==="bmpstr"){let p=r.alloc(2*d.length);for(let m=0;m<d.length;m++)p.writeUInt16BE(d.charCodeAt(m),2*m);return this._createEncoderBuffer(p)}return u==="numstr"?this._isNumstr(d)?this._createEncoderBuffer(d):this.reporter.error("Encoding of string type: numstr supports only digits and space"):u==="printstr"?this._isPrintstr(d)?this._createEncoderBuffer(d):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(u)||u==="objDesc"?this._createEncoderBuffer(d):this.reporter.error("Encoding of string type: "+u+" unsupported")},l.prototype._encodeObjid=function(d,u,p){if(typeof d=="string"){if(!u)return this.reporter.error("string objid given, but no values map found");if(!u.hasOwnProperty(d))return this.reporter.error("objid not found in values map");d=u[d].split(/[\s.]+/g);for(let g=0;g<d.length;g++)d[g]|=0}else if(Array.isArray(d)){d=d.slice();for(let g=0;g<d.length;g++)d[g]|=0}if(!Array.isArray(d))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(d));if(!p){if(d[1]>=40)return this.reporter.error("Second objid identifier OOB");d.splice(0,2,40*d[0]+d[1])}let m=0;for(let g=0;g<d.length;g++){let b=d[g];for(m++;b>=128;b>>=7)m++}let h=r.alloc(m),f=h.length-1;for(let g=d.length-1;g>=0;g--){let b=d[g];for(h[f--]=127&b;(b>>=7)>0;)h[f--]=128|127&b}return this._createEncoderBuffer(h)},l.prototype._encodeTime=function(d,u){let p,m=new Date(d);return u==="gentime"?p=[c(m.getUTCFullYear()),c(m.getUTCMonth()+1),c(m.getUTCDate()),c(m.getUTCHours()),c(m.getUTCMinutes()),c(m.getUTCSeconds()),"Z"].join(""):u==="utctime"?p=[c(m.getUTCFullYear()%100),c(m.getUTCMonth()+1),c(m.getUTCDate()),c(m.getUTCHours()),c(m.getUTCMinutes()),c(m.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+u+" time is not supported yet"),this._encodeStr(p,"octstr")},l.prototype._encodeNull=function(){return this._createEncoderBuffer("")},l.prototype._encodeInt=function(d,u){if(typeof d=="string"){if(!u)return this.reporter.error("String int or enum given, but no values map");if(!u.hasOwnProperty(d))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(d));d=u[d]}if(typeof d!="number"&&!r.isBuffer(d)){let h=d.toArray();!d.sign&&128&h[0]&&h.unshift(0),d=r.from(h)}if(r.isBuffer(d)){let h=d.length;d.length===0&&h++;let f=r.alloc(h);return d.copy(f),d.length===0&&(f[0]=0),this._createEncoderBuffer(f)}if(d<128)return this._createEncoderBuffer(d);if(d<256)return this._createEncoderBuffer([0,d]);let p=1;for(let h=d;h>=256;h>>=8)p++;let m=new Array(p);for(let h=m.length-1;h>=0;h--)m[h]=255&d,d>>=8;return 128&m[0]&&m.unshift(0),this._createEncoderBuffer(r.from(m))},l.prototype._encodeBool=function(d){return this._createEncoderBuffer(d?255:0)},l.prototype._use=function(d,u){return typeof d=="function"&&(d=d(u)),d._getEncoder("der").tree},l.prototype._skipDefault=function(d,u,p){let m=this._baseState,h;if(m.default===null)return!1;let f=d.join();if(m.defaultBuffer===void 0&&(m.defaultBuffer=this._encodeValue(m.default,u,p).join()),f.length!==m.defaultBuffer.length)return!1;for(h=0;h<f.length;h++)if(f[h]!==m.defaultBuffer[h])return!1;return!0}},{"../base/node":174,"../constants/der":176,inherits:440,"safer-buffer":495}],182:[function(t,e,i){"use strict";let o=i;o.der=t("./der"),o.pem=t("./pem")},{"./der":181,"./pem":183}],183:[function(t,e,i){"use strict";let o=t("inherits"),r=t("./der");function n(a){r.call(this,a),this.enc="pem"}o(n,r),e.exports=n,n.prototype.encode=function(a,s){let l=r.prototype.encode.call(this,a).toString("base64"),c=["-----BEGIN "+s.label+"-----"];for(let d=0;d<l.length;d+=64)c.push(l.slice(d,d+64));return c.push("-----END "+s.label+"-----"),c.join(`
`)}},{"./der":181,inherits:440}],184:[function(t,e,i){"use strict";(function(o,r){function n(E,N){if(!E)throw new Error(N||"Assertion failed")}function a(E,N){E.super_=N;var R=function(){};R.prototype=N.prototype,E.prototype=new R,E.prototype.constructor=E}function s(E,N,R){if(s.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,E!==null&&(N!=="le"&&N!=="be"||(R=N,N=10),this._init(E||0,N||10,R||"be"))}var l;typeof o=="object"?o.exports=s:(void 0).BN=s,s.BN=s,s.wordSize=26;try{l=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:t("buffer").Buffer}catch{}function c(E,N){var R=E.charCodeAt(N);return R>=65&&R<=70?R-55:R>=97&&R<=102?R-87:R-48&15}function d(E,N,R){var v=c(E,R);return R-1>=N&&(v|=c(E,R-1)<<4),v}function u(E,N,R,v){for(var k=0,P=Math.min(E.length,R),O=N;O<P;O++){var _=E.charCodeAt(O)-48;k*=v,k+=_>=49?_-49+10:_>=17?_-17+10:_}return k}s.isBN=function(E){return E instanceof s||E!==null&&typeof E=="object"&&E.constructor.wordSize===s.wordSize&&Array.isArray(E.words)},s.max=function(E,N){return E.cmp(N)>0?E:N},s.min=function(E,N){return E.cmp(N)<0?E:N},s.prototype._init=function(E,N,R){if(typeof E=="number")return this._initNumber(E,N,R);if(typeof E=="object")return this._initArray(E,N,R);N==="hex"&&(N=16),n(N===(0|N)&&N>=2&&N<=36);var v=0;(E=E.toString().replace(/\s+/g,""))[0]==="-"&&(v++,this.negative=1),v<E.length&&(N===16?this._parseHex(E,v,R):(this._parseBase(E,N,v),R==="le"&&this._initArray(this.toArray(),N,R)))},s.prototype._initNumber=function(E,N,R){E<0&&(this.negative=1,E=-E),E<67108864?(this.words=[67108863&E],this.length=1):E<4503599627370496?(this.words=[67108863&E,E/67108864&67108863],this.length=2):(n(E<9007199254740992),this.words=[67108863&E,E/67108864&67108863,1],this.length=3),R==="le"&&this._initArray(this.toArray(),N,R)},s.prototype._initArray=function(E,N,R){if(n(typeof E.length=="number"),E.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(E.length/3),this.words=new Array(this.length);for(var v=0;v<this.length;v++)this.words[v]=0;var k,P,O=0;if(R==="be")for(v=E.length-1,k=0;v>=0;v-=3)P=E[v]|E[v-1]<<8|E[v-2]<<16,this.words[k]|=P<<O&67108863,this.words[k+1]=P>>>26-O&67108863,(O+=24)>=26&&(O-=26,k++);else if(R==="le")for(v=0,k=0;v<E.length;v+=3)P=E[v]|E[v+1]<<8|E[v+2]<<16,this.words[k]|=P<<O&67108863,this.words[k+1]=P>>>26-O&67108863,(O+=24)>=26&&(O-=26,k++);return this.strip()},s.prototype._parseHex=function(E,N,R){this.length=Math.ceil((E.length-N)/6),this.words=new Array(this.length);for(var v=0;v<this.length;v++)this.words[v]=0;var k,P=0,O=0;if(R==="be")for(v=E.length-1;v>=N;v-=2)k=d(E,N,v)<<P,this.words[O]|=67108863&k,P>=18?(P-=18,O+=1,this.words[O]|=k>>>26):P+=8;else for(v=(E.length-N)%2==0?N+1:N;v<E.length;v+=2)k=d(E,N,v)<<P,this.words[O]|=67108863&k,P>=18?(P-=18,O+=1,this.words[O]|=k>>>26):P+=8;this.strip()},s.prototype._parseBase=function(E,N,R){this.words=[0],this.length=1;for(var v=0,k=1;k<=67108863;k*=N)v++;v--,k=k/N|0;for(var P=E.length-R,O=P%v,_=Math.min(P,P-O)+R,j=0,B=R;B<_;B+=v)j=u(E,B,B+v,N),this.imuln(k),this.words[0]+j<67108864?this.words[0]+=j:this._iaddn(j);if(O!==0){var V=1;for(j=u(E,B,E.length,N),B=0;B<O;B++)V*=N;this.imuln(V),this.words[0]+j<67108864?this.words[0]+=j:this._iaddn(j)}this.strip()},s.prototype.copy=function(E){E.words=new Array(this.length);for(var N=0;N<this.length;N++)E.words[N]=this.words[N];E.length=this.length,E.negative=this.negative,E.red=this.red},s.prototype.clone=function(){var E=new s(null);return this.copy(E),E},s.prototype._expand=function(E){for(;this.length<E;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},s.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var p=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],m=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(E,N,R){R.negative=N.negative^E.negative;var v=E.length+N.length|0;R.length=v,v=v-1|0;var k=0|E.words[0],P=0|N.words[0],O=k*P,_=67108863&O,j=O/67108864|0;R.words[0]=_;for(var B=1;B<v;B++){for(var V=j>>>26,G=67108863&j,Q=Math.min(B,N.length-1),H=Math.max(0,B-E.length+1);H<=Q;H++){var q=B-H|0;V+=(O=(k=0|E.words[q])*(P=0|N.words[H])+G)/67108864|0,G=67108863&O}R.words[B]=0|G,j=0|V}return j!==0?R.words[B]=0|j:R.length--,R.strip()}s.prototype.toString=function(E,N){var R;if(N=0|N||1,(E=E||10)===16||E==="hex"){R="";for(var v=0,k=0,P=0;P<this.length;P++){var O=this.words[P],_=(16777215&(O<<v|k)).toString(16);R=(k=O>>>24-v&16777215)!==0||P!==this.length-1?p[6-_.length]+_+R:_+R,(v+=2)>=26&&(v-=26,P--)}for(k!==0&&(R=k.toString(16)+R);R.length%N!=0;)R="0"+R;return this.negative!==0&&(R="-"+R),R}if(E===(0|E)&&E>=2&&E<=36){var j=m[E],B=h[E];R="";var V=this.clone();for(V.negative=0;!V.isZero();){var G=V.modn(B).toString(E);R=(V=V.idivn(B)).isZero()?G+R:p[j-G.length]+G+R}for(this.isZero()&&(R="0"+R);R.length%N!=0;)R="0"+R;return this.negative!==0&&(R="-"+R),R}n(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var E=this.words[0];return this.length===2?E+=67108864*this.words[1]:this.length===3&&this.words[2]===1?E+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-E:E},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(E,N){return n(l!==void 0),this.toArrayLike(l,E,N)},s.prototype.toArray=function(E,N){return this.toArrayLike(Array,E,N)},s.prototype.toArrayLike=function(E,N,R){var v=this.byteLength(),k=R||Math.max(1,v);n(v<=k,"byte array longer than desired length"),n(k>0,"Requested array length <= 0"),this.strip();var P,O,_=N==="le",j=new E(k),B=this.clone();if(_){for(O=0;!B.isZero();O++)P=B.andln(255),B.iushrn(8),j[O]=P;for(;O<k;O++)j[O]=0}else{for(O=0;O<k-v;O++)j[O]=0;for(O=0;!B.isZero();O++)P=B.andln(255),B.iushrn(8),j[k-O-1]=P}return j},Math.clz32?s.prototype._countBits=function(E){return 32-Math.clz32(E)}:s.prototype._countBits=function(E){var N=E,R=0;return N>=4096&&(R+=13,N>>>=13),N>=64&&(R+=7,N>>>=7),N>=8&&(R+=4,N>>>=4),N>=2&&(R+=2,N>>>=2),R+N},s.prototype._zeroBits=function(E){if(E===0)return 26;var N=E,R=0;return(8191&N)==0&&(R+=13,N>>>=13),(127&N)==0&&(R+=7,N>>>=7),(15&N)==0&&(R+=4,N>>>=4),(3&N)==0&&(R+=2,N>>>=2),(1&N)==0&&R++,R},s.prototype.bitLength=function(){var E=this.words[this.length-1],N=this._countBits(E);return 26*(this.length-1)+N},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var E=0,N=0;N<this.length;N++){var R=this._zeroBits(this.words[N]);if(E+=R,R!==26)break}return E},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(E){return this.negative!==0?this.abs().inotn(E).iaddn(1):this.clone()},s.prototype.fromTwos=function(E){return this.testn(E-1)?this.notn(E).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return this.negative!==0},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(E){for(;this.length<E.length;)this.words[this.length++]=0;for(var N=0;N<E.length;N++)this.words[N]=this.words[N]|E.words[N];return this.strip()},s.prototype.ior=function(E){return n((this.negative|E.negative)==0),this.iuor(E)},s.prototype.or=function(E){return this.length>E.length?this.clone().ior(E):E.clone().ior(this)},s.prototype.uor=function(E){return this.length>E.length?this.clone().iuor(E):E.clone().iuor(this)},s.prototype.iuand=function(E){var N;N=this.length>E.length?E:this;for(var R=0;R<N.length;R++)this.words[R]=this.words[R]&E.words[R];return this.length=N.length,this.strip()},s.prototype.iand=function(E){return n((this.negative|E.negative)==0),this.iuand(E)},s.prototype.and=function(E){return this.length>E.length?this.clone().iand(E):E.clone().iand(this)},s.prototype.uand=function(E){return this.length>E.length?this.clone().iuand(E):E.clone().iuand(this)},s.prototype.iuxor=function(E){var N,R;this.length>E.length?(N=this,R=E):(N=E,R=this);for(var v=0;v<R.length;v++)this.words[v]=N.words[v]^R.words[v];if(this!==N)for(;v<N.length;v++)this.words[v]=N.words[v];return this.length=N.length,this.strip()},s.prototype.ixor=function(E){return n((this.negative|E.negative)==0),this.iuxor(E)},s.prototype.xor=function(E){return this.length>E.length?this.clone().ixor(E):E.clone().ixor(this)},s.prototype.uxor=function(E){return this.length>E.length?this.clone().iuxor(E):E.clone().iuxor(this)},s.prototype.inotn=function(E){n(typeof E=="number"&&E>=0);var N=0|Math.ceil(E/26),R=E%26;this._expand(N),R>0&&N--;for(var v=0;v<N;v++)this.words[v]=67108863&~this.words[v];return R>0&&(this.words[v]=~this.words[v]&67108863>>26-R),this.strip()},s.prototype.notn=function(E){return this.clone().inotn(E)},s.prototype.setn=function(E,N){n(typeof E=="number"&&E>=0);var R=E/26|0,v=E%26;return this._expand(R+1),this.words[R]=N?this.words[R]|1<<v:this.words[R]&~(1<<v),this.strip()},s.prototype.iadd=function(E){var N,R,v;if(this.negative!==0&&E.negative===0)return this.negative=0,N=this.isub(E),this.negative^=1,this._normSign();if(this.negative===0&&E.negative!==0)return E.negative=0,N=this.isub(E),E.negative=1,N._normSign();this.length>E.length?(R=this,v=E):(R=E,v=this);for(var k=0,P=0;P<v.length;P++)N=(0|R.words[P])+(0|v.words[P])+k,this.words[P]=67108863&N,k=N>>>26;for(;k!==0&&P<R.length;P++)N=(0|R.words[P])+k,this.words[P]=67108863&N,k=N>>>26;if(this.length=R.length,k!==0)this.words[this.length]=k,this.length++;else if(R!==this)for(;P<R.length;P++)this.words[P]=R.words[P];return this},s.prototype.add=function(E){var N;return E.negative!==0&&this.negative===0?(E.negative=0,N=this.sub(E),E.negative^=1,N):E.negative===0&&this.negative!==0?(this.negative=0,N=E.sub(this),this.negative=1,N):this.length>E.length?this.clone().iadd(E):E.clone().iadd(this)},s.prototype.isub=function(E){if(E.negative!==0){E.negative=0;var N=this.iadd(E);return E.negative=1,N._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(E),this.negative=1,this._normSign();var R,v,k=this.cmp(E);if(k===0)return this.negative=0,this.length=1,this.words[0]=0,this;k>0?(R=this,v=E):(R=E,v=this);for(var P=0,O=0;O<v.length;O++)P=(N=(0|R.words[O])-(0|v.words[O])+P)>>26,this.words[O]=67108863&N;for(;P!==0&&O<R.length;O++)P=(N=(0|R.words[O])+P)>>26,this.words[O]=67108863&N;if(P===0&&O<R.length&&R!==this)for(;O<R.length;O++)this.words[O]=R.words[O];return this.length=Math.max(this.length,O),R!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(E){return this.clone().isub(E)};var g=function(E,N,R){var v,k,P,O=E.words,_=N.words,j=R.words,B=0,V=0|O[0],G=8191&V,Q=V>>>13,H=0|O[1],q=8191&H,U=H>>>13,F=0|O[2],K=8191&F,te=F>>>13,ae=0|O[3],pe=8191&ae,Z=ae>>>13,ee=0|O[4],ce=8191&ee,ne=ee>>>13,oe=0|O[5],re=8191&oe,Y=oe>>>13,X=0|O[6],ie=8191&X,de=X>>>13,fe=0|O[7],ye=8191&fe,Le=fe>>>13,Re=0|O[8],Ne=8191&Re,Te=Re>>>13,Pe=0|O[9],Oe=8191&Pe,Ue=Pe>>>13,Ve=0|_[0],ze=8191&Ve,He=Ve>>>13,Ye=0|_[1],ke=8191&Ye,Be=Ye>>>13,Xe=0|_[2],Ge=8191&Xe,Ke=Xe>>>13,pt=0|_[3],ot=8191&pt,Qe=pt>>>13,ut=0|_[4],rt=8191&ut,ht=ut>>>13,ct=0|_[5],wt=8191&ct,zt=ct>>>13,gt=0|_[6],Qt=8191&gt,yt=gt>>>13,jt=0|_[7],ni=8191&jt,Ii=jt>>>13,Mo=0|_[8],_i=8191&Mo,So=Mo>>>13,nr=0|_[9],Do=8191&nr,go=nr>>>13;R.negative=E.negative^N.negative,R.length=19;var Dr=(B+(v=Math.imul(G,ze))|0)+((8191&(k=(k=Math.imul(G,He))+Math.imul(Q,ze)|0))<<13)|0;B=((P=Math.imul(Q,He))+(k>>>13)|0)+(Dr>>>26)|0,Dr&=67108863,v=Math.imul(q,ze),k=(k=Math.imul(q,He))+Math.imul(U,ze)|0,P=Math.imul(U,He);var cr=(B+(v=v+Math.imul(G,ke)|0)|0)+((8191&(k=(k=k+Math.imul(G,Be)|0)+Math.imul(Q,ke)|0))<<13)|0;B=((P=P+Math.imul(Q,Be)|0)+(k>>>13)|0)+(cr>>>26)|0,cr&=67108863,v=Math.imul(K,ze),k=(k=Math.imul(K,He))+Math.imul(te,ze)|0,P=Math.imul(te,He),v=v+Math.imul(q,ke)|0,k=(k=k+Math.imul(q,Be)|0)+Math.imul(U,ke)|0,P=P+Math.imul(U,Be)|0;var Zn=(B+(v=v+Math.imul(G,Ge)|0)|0)+((8191&(k=(k=k+Math.imul(G,Ke)|0)+Math.imul(Q,Ge)|0))<<13)|0;B=((P=P+Math.imul(Q,Ke)|0)+(k>>>13)|0)+(Zn>>>26)|0,Zn&=67108863,v=Math.imul(pe,ze),k=(k=Math.imul(pe,He))+Math.imul(Z,ze)|0,P=Math.imul(Z,He),v=v+Math.imul(K,ke)|0,k=(k=k+Math.imul(K,Be)|0)+Math.imul(te,ke)|0,P=P+Math.imul(te,Be)|0,v=v+Math.imul(q,Ge)|0,k=(k=k+Math.imul(q,Ke)|0)+Math.imul(U,Ge)|0,P=P+Math.imul(U,Ke)|0;var Sa=(B+(v=v+Math.imul(G,ot)|0)|0)+((8191&(k=(k=k+Math.imul(G,Qe)|0)+Math.imul(Q,ot)|0))<<13)|0;B=((P=P+Math.imul(Q,Qe)|0)+(k>>>13)|0)+(Sa>>>26)|0,Sa&=67108863,v=Math.imul(ce,ze),k=(k=Math.imul(ce,He))+Math.imul(ne,ze)|0,P=Math.imul(ne,He),v=v+Math.imul(pe,ke)|0,k=(k=k+Math.imul(pe,Be)|0)+Math.imul(Z,ke)|0,P=P+Math.imul(Z,Be)|0,v=v+Math.imul(K,Ge)|0,k=(k=k+Math.imul(K,Ke)|0)+Math.imul(te,Ge)|0,P=P+Math.imul(te,Ke)|0,v=v+Math.imul(q,ot)|0,k=(k=k+Math.imul(q,Qe)|0)+Math.imul(U,ot)|0,P=P+Math.imul(U,Qe)|0;var es=(B+(v=v+Math.imul(G,rt)|0)|0)+((8191&(k=(k=k+Math.imul(G,ht)|0)+Math.imul(Q,rt)|0))<<13)|0;B=((P=P+Math.imul(Q,ht)|0)+(k>>>13)|0)+(es>>>26)|0,es&=67108863,v=Math.imul(re,ze),k=(k=Math.imul(re,He))+Math.imul(Y,ze)|0,P=Math.imul(Y,He),v=v+Math.imul(ce,ke)|0,k=(k=k+Math.imul(ce,Be)|0)+Math.imul(ne,ke)|0,P=P+Math.imul(ne,Be)|0,v=v+Math.imul(pe,Ge)|0,k=(k=k+Math.imul(pe,Ke)|0)+Math.imul(Z,Ge)|0,P=P+Math.imul(Z,Ke)|0,v=v+Math.imul(K,ot)|0,k=(k=k+Math.imul(K,Qe)|0)+Math.imul(te,ot)|0,P=P+Math.imul(te,Qe)|0,v=v+Math.imul(q,rt)|0,k=(k=k+Math.imul(q,ht)|0)+Math.imul(U,rt)|0,P=P+Math.imul(U,ht)|0;var tu=(B+(v=v+Math.imul(G,wt)|0)|0)+((8191&(k=(k=k+Math.imul(G,zt)|0)+Math.imul(Q,wt)|0))<<13)|0;B=((P=P+Math.imul(Q,zt)|0)+(k>>>13)|0)+(tu>>>26)|0,tu&=67108863,v=Math.imul(ie,ze),k=(k=Math.imul(ie,He))+Math.imul(de,ze)|0,P=Math.imul(de,He),v=v+Math.imul(re,ke)|0,k=(k=k+Math.imul(re,Be)|0)+Math.imul(Y,ke)|0,P=P+Math.imul(Y,Be)|0,v=v+Math.imul(ce,Ge)|0,k=(k=k+Math.imul(ce,Ke)|0)+Math.imul(ne,Ge)|0,P=P+Math.imul(ne,Ke)|0,v=v+Math.imul(pe,ot)|0,k=(k=k+Math.imul(pe,Qe)|0)+Math.imul(Z,ot)|0,P=P+Math.imul(Z,Qe)|0,v=v+Math.imul(K,rt)|0,k=(k=k+Math.imul(K,ht)|0)+Math.imul(te,rt)|0,P=P+Math.imul(te,ht)|0,v=v+Math.imul(q,wt)|0,k=(k=k+Math.imul(q,zt)|0)+Math.imul(U,wt)|0,P=P+Math.imul(U,zt)|0;var Mi=(B+(v=v+Math.imul(G,Qt)|0)|0)+((8191&(k=(k=k+Math.imul(G,yt)|0)+Math.imul(Q,Qt)|0))<<13)|0;B=((P=P+Math.imul(Q,yt)|0)+(k>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,v=Math.imul(ye,ze),k=(k=Math.imul(ye,He))+Math.imul(Le,ze)|0,P=Math.imul(Le,He),v=v+Math.imul(ie,ke)|0,k=(k=k+Math.imul(ie,Be)|0)+Math.imul(de,ke)|0,P=P+Math.imul(de,Be)|0,v=v+Math.imul(re,Ge)|0,k=(k=k+Math.imul(re,Ke)|0)+Math.imul(Y,Ge)|0,P=P+Math.imul(Y,Ke)|0,v=v+Math.imul(ce,ot)|0,k=(k=k+Math.imul(ce,Qe)|0)+Math.imul(ne,ot)|0,P=P+Math.imul(ne,Qe)|0,v=v+Math.imul(pe,rt)|0,k=(k=k+Math.imul(pe,ht)|0)+Math.imul(Z,rt)|0,P=P+Math.imul(Z,ht)|0,v=v+Math.imul(K,wt)|0,k=(k=k+Math.imul(K,zt)|0)+Math.imul(te,wt)|0,P=P+Math.imul(te,zt)|0,v=v+Math.imul(q,Qt)|0,k=(k=k+Math.imul(q,yt)|0)+Math.imul(U,Qt)|0,P=P+Math.imul(U,yt)|0;var qi=(B+(v=v+Math.imul(G,ni)|0)|0)+((8191&(k=(k=k+Math.imul(G,Ii)|0)+Math.imul(Q,ni)|0))<<13)|0;B=((P=P+Math.imul(Q,Ii)|0)+(k>>>13)|0)+(qi>>>26)|0,qi&=67108863,v=Math.imul(Ne,ze),k=(k=Math.imul(Ne,He))+Math.imul(Te,ze)|0,P=Math.imul(Te,He),v=v+Math.imul(ye,ke)|0,k=(k=k+Math.imul(ye,Be)|0)+Math.imul(Le,ke)|0,P=P+Math.imul(Le,Be)|0,v=v+Math.imul(ie,Ge)|0,k=(k=k+Math.imul(ie,Ke)|0)+Math.imul(de,Ge)|0,P=P+Math.imul(de,Ke)|0,v=v+Math.imul(re,ot)|0,k=(k=k+Math.imul(re,Qe)|0)+Math.imul(Y,ot)|0,P=P+Math.imul(Y,Qe)|0,v=v+Math.imul(ce,rt)|0,k=(k=k+Math.imul(ce,ht)|0)+Math.imul(ne,rt)|0,P=P+Math.imul(ne,ht)|0,v=v+Math.imul(pe,wt)|0,k=(k=k+Math.imul(pe,zt)|0)+Math.imul(Z,wt)|0,P=P+Math.imul(Z,zt)|0,v=v+Math.imul(K,Qt)|0,k=(k=k+Math.imul(K,yt)|0)+Math.imul(te,Qt)|0,P=P+Math.imul(te,yt)|0,v=v+Math.imul(q,ni)|0,k=(k=k+Math.imul(q,Ii)|0)+Math.imul(U,ni)|0,P=P+Math.imul(U,Ii)|0;var Eo=(B+(v=v+Math.imul(G,_i)|0)|0)+((8191&(k=(k=k+Math.imul(G,So)|0)+Math.imul(Q,_i)|0))<<13)|0;B=((P=P+Math.imul(Q,So)|0)+(k>>>13)|0)+(Eo>>>26)|0,Eo&=67108863,v=Math.imul(Oe,ze),k=(k=Math.imul(Oe,He))+Math.imul(Ue,ze)|0,P=Math.imul(Ue,He),v=v+Math.imul(Ne,ke)|0,k=(k=k+Math.imul(Ne,Be)|0)+Math.imul(Te,ke)|0,P=P+Math.imul(Te,Be)|0,v=v+Math.imul(ye,Ge)|0,k=(k=k+Math.imul(ye,Ke)|0)+Math.imul(Le,Ge)|0,P=P+Math.imul(Le,Ke)|0,v=v+Math.imul(ie,ot)|0,k=(k=k+Math.imul(ie,Qe)|0)+Math.imul(de,ot)|0,P=P+Math.imul(de,Qe)|0,v=v+Math.imul(re,rt)|0,k=(k=k+Math.imul(re,ht)|0)+Math.imul(Y,rt)|0,P=P+Math.imul(Y,ht)|0,v=v+Math.imul(ce,wt)|0,k=(k=k+Math.imul(ce,zt)|0)+Math.imul(ne,wt)|0,P=P+Math.imul(ne,zt)|0,v=v+Math.imul(pe,Qt)|0,k=(k=k+Math.imul(pe,yt)|0)+Math.imul(Z,Qt)|0,P=P+Math.imul(Z,yt)|0,v=v+Math.imul(K,ni)|0,k=(k=k+Math.imul(K,Ii)|0)+Math.imul(te,ni)|0,P=P+Math.imul(te,Ii)|0,v=v+Math.imul(q,_i)|0,k=(k=k+Math.imul(q,So)|0)+Math.imul(U,_i)|0,P=P+Math.imul(U,So)|0;var Ct=(B+(v=v+Math.imul(G,Do)|0)|0)+((8191&(k=(k=k+Math.imul(G,go)|0)+Math.imul(Q,Do)|0))<<13)|0;B=((P=P+Math.imul(Q,go)|0)+(k>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,v=Math.imul(Oe,ke),k=(k=Math.imul(Oe,Be))+Math.imul(Ue,ke)|0,P=Math.imul(Ue,Be),v=v+Math.imul(Ne,Ge)|0,k=(k=k+Math.imul(Ne,Ke)|0)+Math.imul(Te,Ge)|0,P=P+Math.imul(Te,Ke)|0,v=v+Math.imul(ye,ot)|0,k=(k=k+Math.imul(ye,Qe)|0)+Math.imul(Le,ot)|0,P=P+Math.imul(Le,Qe)|0,v=v+Math.imul(ie,rt)|0,k=(k=k+Math.imul(ie,ht)|0)+Math.imul(de,rt)|0,P=P+Math.imul(de,ht)|0,v=v+Math.imul(re,wt)|0,k=(k=k+Math.imul(re,zt)|0)+Math.imul(Y,wt)|0,P=P+Math.imul(Y,zt)|0,v=v+Math.imul(ce,Qt)|0,k=(k=k+Math.imul(ce,yt)|0)+Math.imul(ne,Qt)|0,P=P+Math.imul(ne,yt)|0,v=v+Math.imul(pe,ni)|0,k=(k=k+Math.imul(pe,Ii)|0)+Math.imul(Z,ni)|0,P=P+Math.imul(Z,Ii)|0,v=v+Math.imul(K,_i)|0,k=(k=k+Math.imul(K,So)|0)+Math.imul(te,_i)|0,P=P+Math.imul(te,So)|0;var ti=(B+(v=v+Math.imul(q,Do)|0)|0)+((8191&(k=(k=k+Math.imul(q,go)|0)+Math.imul(U,Do)|0))<<13)|0;B=((P=P+Math.imul(U,go)|0)+(k>>>13)|0)+(ti>>>26)|0,ti&=67108863,v=Math.imul(Oe,Ge),k=(k=Math.imul(Oe,Ke))+Math.imul(Ue,Ge)|0,P=Math.imul(Ue,Ke),v=v+Math.imul(Ne,ot)|0,k=(k=k+Math.imul(Ne,Qe)|0)+Math.imul(Te,ot)|0,P=P+Math.imul(Te,Qe)|0,v=v+Math.imul(ye,rt)|0,k=(k=k+Math.imul(ye,ht)|0)+Math.imul(Le,rt)|0,P=P+Math.imul(Le,ht)|0,v=v+Math.imul(ie,wt)|0,k=(k=k+Math.imul(ie,zt)|0)+Math.imul(de,wt)|0,P=P+Math.imul(de,zt)|0,v=v+Math.imul(re,Qt)|0,k=(k=k+Math.imul(re,yt)|0)+Math.imul(Y,Qt)|0,P=P+Math.imul(Y,yt)|0,v=v+Math.imul(ce,ni)|0,k=(k=k+Math.imul(ce,Ii)|0)+Math.imul(ne,ni)|0,P=P+Math.imul(ne,Ii)|0,v=v+Math.imul(pe,_i)|0,k=(k=k+Math.imul(pe,So)|0)+Math.imul(Z,_i)|0,P=P+Math.imul(Z,So)|0;var hi=(B+(v=v+Math.imul(K,Do)|0)|0)+((8191&(k=(k=k+Math.imul(K,go)|0)+Math.imul(te,Do)|0))<<13)|0;B=((P=P+Math.imul(te,go)|0)+(k>>>13)|0)+(hi>>>26)|0,hi&=67108863,v=Math.imul(Oe,ot),k=(k=Math.imul(Oe,Qe))+Math.imul(Ue,ot)|0,P=Math.imul(Ue,Qe),v=v+Math.imul(Ne,rt)|0,k=(k=k+Math.imul(Ne,ht)|0)+Math.imul(Te,rt)|0,P=P+Math.imul(Te,ht)|0,v=v+Math.imul(ye,wt)|0,k=(k=k+Math.imul(ye,zt)|0)+Math.imul(Le,wt)|0,P=P+Math.imul(Le,zt)|0,v=v+Math.imul(ie,Qt)|0,k=(k=k+Math.imul(ie,yt)|0)+Math.imul(de,Qt)|0,P=P+Math.imul(de,yt)|0,v=v+Math.imul(re,ni)|0,k=(k=k+Math.imul(re,Ii)|0)+Math.imul(Y,ni)|0,P=P+Math.imul(Y,Ii)|0,v=v+Math.imul(ce,_i)|0,k=(k=k+Math.imul(ce,So)|0)+Math.imul(ne,_i)|0,P=P+Math.imul(ne,So)|0;var ki=(B+(v=v+Math.imul(pe,Do)|0)|0)+((8191&(k=(k=k+Math.imul(pe,go)|0)+Math.imul(Z,Do)|0))<<13)|0;B=((P=P+Math.imul(Z,go)|0)+(k>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(Oe,rt),k=(k=Math.imul(Oe,ht))+Math.imul(Ue,rt)|0,P=Math.imul(Ue,ht),v=v+Math.imul(Ne,wt)|0,k=(k=k+Math.imul(Ne,zt)|0)+Math.imul(Te,wt)|0,P=P+Math.imul(Te,zt)|0,v=v+Math.imul(ye,Qt)|0,k=(k=k+Math.imul(ye,yt)|0)+Math.imul(Le,Qt)|0,P=P+Math.imul(Le,yt)|0,v=v+Math.imul(ie,ni)|0,k=(k=k+Math.imul(ie,Ii)|0)+Math.imul(de,ni)|0,P=P+Math.imul(de,Ii)|0,v=v+Math.imul(re,_i)|0,k=(k=k+Math.imul(re,So)|0)+Math.imul(Y,_i)|0,P=P+Math.imul(Y,So)|0;var eo=(B+(v=v+Math.imul(ce,Do)|0)|0)+((8191&(k=(k=k+Math.imul(ce,go)|0)+Math.imul(ne,Do)|0))<<13)|0;B=((P=P+Math.imul(ne,go)|0)+(k>>>13)|0)+(eo>>>26)|0,eo&=67108863,v=Math.imul(Oe,wt),k=(k=Math.imul(Oe,zt))+Math.imul(Ue,wt)|0,P=Math.imul(Ue,zt),v=v+Math.imul(Ne,Qt)|0,k=(k=k+Math.imul(Ne,yt)|0)+Math.imul(Te,Qt)|0,P=P+Math.imul(Te,yt)|0,v=v+Math.imul(ye,ni)|0,k=(k=k+Math.imul(ye,Ii)|0)+Math.imul(Le,ni)|0,P=P+Math.imul(Le,Ii)|0,v=v+Math.imul(ie,_i)|0,k=(k=k+Math.imul(ie,So)|0)+Math.imul(de,_i)|0,P=P+Math.imul(de,So)|0;var Qo=(B+(v=v+Math.imul(re,Do)|0)|0)+((8191&(k=(k=k+Math.imul(re,go)|0)+Math.imul(Y,Do)|0))<<13)|0;B=((P=P+Math.imul(Y,go)|0)+(k>>>13)|0)+(Qo>>>26)|0,Qo&=67108863,v=Math.imul(Oe,Qt),k=(k=Math.imul(Oe,yt))+Math.imul(Ue,Qt)|0,P=Math.imul(Ue,yt),v=v+Math.imul(Ne,ni)|0,k=(k=k+Math.imul(Ne,Ii)|0)+Math.imul(Te,ni)|0,P=P+Math.imul(Te,Ii)|0,v=v+Math.imul(ye,_i)|0,k=(k=k+Math.imul(ye,So)|0)+Math.imul(Le,_i)|0,P=P+Math.imul(Le,So)|0;var dr=(B+(v=v+Math.imul(ie,Do)|0)|0)+((8191&(k=(k=k+Math.imul(ie,go)|0)+Math.imul(de,Do)|0))<<13)|0;B=((P=P+Math.imul(de,go)|0)+(k>>>13)|0)+(dr>>>26)|0,dr&=67108863,v=Math.imul(Oe,ni),k=(k=Math.imul(Oe,Ii))+Math.imul(Ue,ni)|0,P=Math.imul(Ue,Ii),v=v+Math.imul(Ne,_i)|0,k=(k=k+Math.imul(Ne,So)|0)+Math.imul(Te,_i)|0,P=P+Math.imul(Te,So)|0;var sa=(B+(v=v+Math.imul(ye,Do)|0)|0)+((8191&(k=(k=k+Math.imul(ye,go)|0)+Math.imul(Le,Do)|0))<<13)|0;B=((P=P+Math.imul(Le,go)|0)+(k>>>13)|0)+(sa>>>26)|0,sa&=67108863,v=Math.imul(Oe,_i),k=(k=Math.imul(Oe,So))+Math.imul(Ue,_i)|0,P=Math.imul(Ue,So);var Vn=(B+(v=v+Math.imul(Ne,Do)|0)|0)+((8191&(k=(k=k+Math.imul(Ne,go)|0)+Math.imul(Te,Do)|0))<<13)|0;B=((P=P+Math.imul(Te,go)|0)+(k>>>13)|0)+(Vn>>>26)|0,Vn&=67108863;var Cn=(B+(v=Math.imul(Oe,Do))|0)+((8191&(k=(k=Math.imul(Oe,go))+Math.imul(Ue,Do)|0))<<13)|0;return B=((P=Math.imul(Ue,go))+(k>>>13)|0)+(Cn>>>26)|0,Cn&=67108863,j[0]=Dr,j[1]=cr,j[2]=Zn,j[3]=Sa,j[4]=es,j[5]=tu,j[6]=Mi,j[7]=qi,j[8]=Eo,j[9]=Ct,j[10]=ti,j[11]=hi,j[12]=ki,j[13]=eo,j[14]=Qo,j[15]=dr,j[16]=sa,j[17]=Vn,j[18]=Cn,B!==0&&(j[19]=B,R.length++),R};function b(E,N,R){return new y().mulp(E,N,R)}function y(E,N){this.x=E,this.y=N}Math.imul||(g=f),s.prototype.mulTo=function(E,N){var R=this.length+E.length;return this.length===10&&E.length===10?g(this,E,N):R<63?f(this,E,N):R<1024?(function(v,k,P){P.negative=k.negative^v.negative,P.length=v.length+k.length;for(var O=0,_=0,j=0;j<P.length-1;j++){var B=_;_=0;for(var V=67108863&O,G=Math.min(j,k.length-1),Q=Math.max(0,j-v.length+1);Q<=G;Q++){var H=j-Q,q=(0|v.words[H])*(0|k.words[Q]),U=67108863&q;V=67108863&(U=U+V|0),_+=(B=(B=B+(q/67108864|0)|0)+(U>>>26)|0)>>>26,B&=67108863}P.words[j]=V,O=B,B=_}return O!==0?P.words[j]=O:P.length--,P.strip()})(this,E,N):b(this,E,N)},y.prototype.makeRBT=function(E){for(var N=new Array(E),R=s.prototype._countBits(E)-1,v=0;v<E;v++)N[v]=this.revBin(v,R,E);return N},y.prototype.revBin=function(E,N,R){if(E===0||E===R-1)return E;for(var v=0,k=0;k<N;k++)v|=(1&E)<<N-k-1,E>>=1;return v},y.prototype.permute=function(E,N,R,v,k,P){for(var O=0;O<P;O++)v[O]=N[E[O]],k[O]=R[E[O]]},y.prototype.transform=function(E,N,R,v,k,P){this.permute(P,E,N,R,v,k);for(var O=1;O<k;O<<=1)for(var _=O<<1,j=Math.cos(2*Math.PI/_),B=Math.sin(2*Math.PI/_),V=0;V<k;V+=_)for(var G=j,Q=B,H=0;H<O;H++){var q=R[V+H],U=v[V+H],F=R[V+H+O],K=v[V+H+O],te=G*F-Q*K;K=G*K+Q*F,F=te,R[V+H]=q+F,v[V+H]=U+K,R[V+H+O]=q-F,v[V+H+O]=U-K,H!==_&&(te=j*G-B*Q,Q=j*Q+B*G,G=te)}},y.prototype.guessLen13b=function(E,N){var R=1|Math.max(N,E),v=1&R,k=0;for(R=R/2|0;R;R>>>=1)k++;return 1<<k+1+v},y.prototype.conjugate=function(E,N,R){if(!(R<=1))for(var v=0;v<R/2;v++){var k=E[v];E[v]=E[R-v-1],E[R-v-1]=k,k=N[v],N[v]=-N[R-v-1],N[R-v-1]=-k}},y.prototype.normalize13b=function(E,N){for(var R=0,v=0;v<N/2;v++){var k=8192*Math.round(E[2*v+1]/N)+Math.round(E[2*v]/N)+R;E[v]=67108863&k,R=k<67108864?0:k/67108864|0}return E},y.prototype.convert13b=function(E,N,R,v){for(var k=0,P=0;P<N;P++)k+=0|E[P],R[2*P]=8191&k,k>>>=13,R[2*P+1]=8191&k,k>>>=13;for(P=2*N;P<v;++P)R[P]=0;n(k===0),n((-8192&k)==0)},y.prototype.stub=function(E){for(var N=new Array(E),R=0;R<E;R++)N[R]=0;return N},y.prototype.mulp=function(E,N,R){var v=2*this.guessLen13b(E.length,N.length),k=this.makeRBT(v),P=this.stub(v),O=new Array(v),_=new Array(v),j=new Array(v),B=new Array(v),V=new Array(v),G=new Array(v),Q=R.words;Q.length=v,this.convert13b(E.words,E.length,O,v),this.convert13b(N.words,N.length,B,v),this.transform(O,P,_,j,v,k),this.transform(B,P,V,G,v,k);for(var H=0;H<v;H++){var q=_[H]*V[H]-j[H]*G[H];j[H]=_[H]*G[H]+j[H]*V[H],_[H]=q}return this.conjugate(_,j,v),this.transform(_,j,Q,P,v,k),this.conjugate(Q,P,v),this.normalize13b(Q,v),R.negative=E.negative^N.negative,R.length=E.length+N.length,R.strip()},s.prototype.mul=function(E){var N=new s(null);return N.words=new Array(this.length+E.length),this.mulTo(E,N)},s.prototype.mulf=function(E){var N=new s(null);return N.words=new Array(this.length+E.length),b(this,E,N)},s.prototype.imul=function(E){return this.clone().mulTo(E,this)},s.prototype.imuln=function(E){n(typeof E=="number"),n(E<67108864);for(var N=0,R=0;R<this.length;R++){var v=(0|this.words[R])*E,k=(67108863&v)+(67108863&N);N>>=26,N+=v/67108864|0,N+=k>>>26,this.words[R]=67108863&k}return N!==0&&(this.words[R]=N,this.length++),this},s.prototype.muln=function(E){return this.clone().imuln(E)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(E){var N=(function(P){for(var O=new Array(P.bitLength()),_=0;_<O.length;_++){var j=_/26|0,B=_%26;O[_]=(P.words[j]&1<<B)>>>B}return O})(E);if(N.length===0)return new s(1);for(var R=this,v=0;v<N.length&&N[v]===0;v++,R=R.sqr());if(++v<N.length)for(var k=R.sqr();v<N.length;v++,k=k.sqr())N[v]!==0&&(R=R.mul(k));return R},s.prototype.iushln=function(E){n(typeof E=="number"&&E>=0);var N,R=E%26,v=(E-R)/26,k=67108863>>>26-R<<26-R;if(R!==0){var P=0;for(N=0;N<this.length;N++){var O=this.words[N]&k,_=(0|this.words[N])-O<<R;this.words[N]=_|P,P=O>>>26-R}P&&(this.words[N]=P,this.length++)}if(v!==0){for(N=this.length-1;N>=0;N--)this.words[N+v]=this.words[N];for(N=0;N<v;N++)this.words[N]=0;this.length+=v}return this.strip()},s.prototype.ishln=function(E){return n(this.negative===0),this.iushln(E)},s.prototype.iushrn=function(E,N,R){var v;n(typeof E=="number"&&E>=0),v=N?(N-N%26)/26:0;var k=E%26,P=Math.min((E-k)/26,this.length),O=67108863^67108863>>>k<<k,_=R;if(v-=P,v=Math.max(0,v),_){for(var j=0;j<P;j++)_.words[j]=this.words[j];_.length=P}if(P!==0)if(this.length>P)for(this.length-=P,j=0;j<this.length;j++)this.words[j]=this.words[j+P];else this.words[0]=0,this.length=1;var B=0;for(j=this.length-1;j>=0&&(B!==0||j>=v);j--){var V=0|this.words[j];this.words[j]=B<<26-k|V>>>k,B=V&O}return _&&B!==0&&(_.words[_.length++]=B),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(E,N,R){return n(this.negative===0),this.iushrn(E,N,R)},s.prototype.shln=function(E){return this.clone().ishln(E)},s.prototype.ushln=function(E){return this.clone().iushln(E)},s.prototype.shrn=function(E){return this.clone().ishrn(E)},s.prototype.ushrn=function(E){return this.clone().iushrn(E)},s.prototype.testn=function(E){n(typeof E=="number"&&E>=0);var N=E%26,R=(E-N)/26,v=1<<N;return!(this.length<=R)&&!!(this.words[R]&v)},s.prototype.imaskn=function(E){n(typeof E=="number"&&E>=0);var N=E%26,R=(E-N)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=R)return this;if(N!==0&&R++,this.length=Math.min(R,this.length),N!==0){var v=67108863^67108863>>>N<<N;this.words[this.length-1]&=v}return this.strip()},s.prototype.maskn=function(E){return this.clone().imaskn(E)},s.prototype.iaddn=function(E){return n(typeof E=="number"),n(E<67108864),E<0?this.isubn(-E):this.negative!==0?this.length===1&&(0|this.words[0])<E?(this.words[0]=E-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(E),this.negative=1,this):this._iaddn(E)},s.prototype._iaddn=function(E){this.words[0]+=E;for(var N=0;N<this.length&&this.words[N]>=67108864;N++)this.words[N]-=67108864,N===this.length-1?this.words[N+1]=1:this.words[N+1]++;return this.length=Math.max(this.length,N+1),this},s.prototype.isubn=function(E){if(n(typeof E=="number"),n(E<67108864),E<0)return this.iaddn(-E);if(this.negative!==0)return this.negative=0,this.iaddn(E),this.negative=1,this;if(this.words[0]-=E,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var N=0;N<this.length&&this.words[N]<0;N++)this.words[N]+=67108864,this.words[N+1]-=1;return this.strip()},s.prototype.addn=function(E){return this.clone().iaddn(E)},s.prototype.subn=function(E){return this.clone().isubn(E)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(E,N,R){var v,k,P=E.length+R;this._expand(P);var O=0;for(v=0;v<E.length;v++){k=(0|this.words[v+R])+O;var _=(0|E.words[v])*N;O=((k-=67108863&_)>>26)-(_/67108864|0),this.words[v+R]=67108863&k}for(;v<this.length-R;v++)O=(k=(0|this.words[v+R])+O)>>26,this.words[v+R]=67108863&k;if(O===0)return this.strip();for(n(O===-1),O=0,v=0;v<this.length;v++)O=(k=-(0|this.words[v])+O)>>26,this.words[v]=67108863&k;return this.negative=1,this.strip()},s.prototype._wordDiv=function(E,N){var R=(this.length,E.length),v=this.clone(),k=E,P=0|k.words[k.length-1];(R=26-this._countBits(P))!==0&&(k=k.ushln(R),v.iushln(R),P=0|k.words[k.length-1]);var O,_=v.length-k.length;if(N!=="mod"){(O=new s(null)).length=_+1,O.words=new Array(O.length);for(var j=0;j<O.length;j++)O.words[j]=0}var B=v.clone()._ishlnsubmul(k,1,_);B.negative===0&&(v=B,O&&(O.words[_]=1));for(var V=_-1;V>=0;V--){var G=67108864*(0|v.words[k.length+V])+(0|v.words[k.length+V-1]);for(G=Math.min(G/P|0,67108863),v._ishlnsubmul(k,G,V);v.negative!==0;)G--,v.negative=0,v._ishlnsubmul(k,1,V),v.isZero()||(v.negative^=1);O&&(O.words[V]=G)}return O&&O.strip(),v.strip(),N!=="div"&&R!==0&&v.iushrn(R),{div:O||null,mod:v}},s.prototype.divmod=function(E,N,R){return n(!E.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:this.negative!==0&&E.negative===0?(P=this.neg().divmod(E,N),N!=="mod"&&(v=P.div.neg()),N!=="div"&&(k=P.mod.neg(),R&&k.negative!==0&&k.iadd(E)),{div:v,mod:k}):this.negative===0&&E.negative!==0?(P=this.divmod(E.neg(),N),N!=="mod"&&(v=P.div.neg()),{div:v,mod:P.mod}):(this.negative&E.negative)!=0?(P=this.neg().divmod(E.neg(),N),N!=="div"&&(k=P.mod.neg(),R&&k.negative!==0&&k.isub(E)),{div:P.div,mod:k}):E.length>this.length||this.cmp(E)<0?{div:new s(0),mod:this}:E.length===1?N==="div"?{div:this.divn(E.words[0]),mod:null}:N==="mod"?{div:null,mod:new s(this.modn(E.words[0]))}:{div:this.divn(E.words[0]),mod:new s(this.modn(E.words[0]))}:this._wordDiv(E,N);var v,k,P},s.prototype.div=function(E){return this.divmod(E,"div",!1).div},s.prototype.mod=function(E){return this.divmod(E,"mod",!1).mod},s.prototype.umod=function(E){return this.divmod(E,"mod",!0).mod},s.prototype.divRound=function(E){var N=this.divmod(E);if(N.mod.isZero())return N.div;var R=N.div.negative!==0?N.mod.isub(E):N.mod,v=E.ushrn(1),k=E.andln(1),P=R.cmp(v);return P<0||k===1&&P===0?N.div:N.div.negative!==0?N.div.isubn(1):N.div.iaddn(1)},s.prototype.modn=function(E){n(E<=67108863);for(var N=(1<<26)%E,R=0,v=this.length-1;v>=0;v--)R=(N*R+(0|this.words[v]))%E;return R},s.prototype.idivn=function(E){n(E<=67108863);for(var N=0,R=this.length-1;R>=0;R--){var v=(0|this.words[R])+67108864*N;this.words[R]=v/E|0,N=v%E}return this.strip()},s.prototype.divn=function(E){return this.clone().idivn(E)},s.prototype.egcd=function(E){n(E.negative===0),n(!E.isZero());var N=this,R=E.clone();N=N.negative!==0?N.umod(E):N.clone();for(var v=new s(1),k=new s(0),P=new s(0),O=new s(1),_=0;N.isEven()&&R.isEven();)N.iushrn(1),R.iushrn(1),++_;for(var j=R.clone(),B=N.clone();!N.isZero();){for(var V=0,G=1;(N.words[0]&G)==0&&V<26;++V,G<<=1);if(V>0)for(N.iushrn(V);V-- >0;)(v.isOdd()||k.isOdd())&&(v.iadd(j),k.isub(B)),v.iushrn(1),k.iushrn(1);for(var Q=0,H=1;(R.words[0]&H)==0&&Q<26;++Q,H<<=1);if(Q>0)for(R.iushrn(Q);Q-- >0;)(P.isOdd()||O.isOdd())&&(P.iadd(j),O.isub(B)),P.iushrn(1),O.iushrn(1);N.cmp(R)>=0?(N.isub(R),v.isub(P),k.isub(O)):(R.isub(N),P.isub(v),O.isub(k))}return{a:P,b:O,gcd:R.iushln(_)}},s.prototype._invmp=function(E){n(E.negative===0),n(!E.isZero());var N=this,R=E.clone();N=N.negative!==0?N.umod(E):N.clone();for(var v,k=new s(1),P=new s(0),O=R.clone();N.cmpn(1)>0&&R.cmpn(1)>0;){for(var _=0,j=1;(N.words[0]&j)==0&&_<26;++_,j<<=1);if(_>0)for(N.iushrn(_);_-- >0;)k.isOdd()&&k.iadd(O),k.iushrn(1);for(var B=0,V=1;(R.words[0]&V)==0&&B<26;++B,V<<=1);if(B>0)for(R.iushrn(B);B-- >0;)P.isOdd()&&P.iadd(O),P.iushrn(1);N.cmp(R)>=0?(N.isub(R),k.isub(P)):(R.isub(N),P.isub(k))}return(v=N.cmpn(1)===0?k:P).cmpn(0)<0&&v.iadd(E),v},s.prototype.gcd=function(E){if(this.isZero())return E.abs();if(E.isZero())return this.abs();var N=this.clone(),R=E.clone();N.negative=0,R.negative=0;for(var v=0;N.isEven()&&R.isEven();v++)N.iushrn(1),R.iushrn(1);for(;;){for(;N.isEven();)N.iushrn(1);for(;R.isEven();)R.iushrn(1);var k=N.cmp(R);if(k<0){var P=N;N=R,R=P}else if(k===0||R.cmpn(1)===0)break;N.isub(R)}return R.iushln(v)},s.prototype.invm=function(E){return this.egcd(E).a.umod(E)},s.prototype.isEven=function(){return(1&this.words[0])==0},s.prototype.isOdd=function(){return(1&this.words[0])==1},s.prototype.andln=function(E){return this.words[0]&E},s.prototype.bincn=function(E){n(typeof E=="number");var N=E%26,R=(E-N)/26,v=1<<N;if(this.length<=R)return this._expand(R+1),this.words[R]|=v,this;for(var k=v,P=R;k!==0&&P<this.length;P++){var O=0|this.words[P];k=(O+=k)>>>26,O&=67108863,this.words[P]=O}return k!==0&&(this.words[P]=k,this.length++),this},s.prototype.isZero=function(){return this.length===1&&this.words[0]===0},s.prototype.cmpn=function(E){var N,R=E<0;if(this.negative!==0&&!R)return-1;if(this.negative===0&&R)return 1;if(this.strip(),this.length>1)N=1;else{R&&(E=-E),n(E<=67108863,"Number is too big");var v=0|this.words[0];N=v===E?0:v<E?-1:1}return this.negative!==0?0|-N:N},s.prototype.cmp=function(E){if(this.negative!==0&&E.negative===0)return-1;if(this.negative===0&&E.negative!==0)return 1;var N=this.ucmp(E);return this.negative!==0?0|-N:N},s.prototype.ucmp=function(E){if(this.length>E.length)return 1;if(this.length<E.length)return-1;for(var N=0,R=this.length-1;R>=0;R--){var v=0|this.words[R],k=0|E.words[R];if(v!==k){v<k?N=-1:v>k&&(N=1);break}}return N},s.prototype.gtn=function(E){return this.cmpn(E)===1},s.prototype.gt=function(E){return this.cmp(E)===1},s.prototype.gten=function(E){return this.cmpn(E)>=0},s.prototype.gte=function(E){return this.cmp(E)>=0},s.prototype.ltn=function(E){return this.cmpn(E)===-1},s.prototype.lt=function(E){return this.cmp(E)===-1},s.prototype.lten=function(E){return this.cmpn(E)<=0},s.prototype.lte=function(E){return this.cmp(E)<=0},s.prototype.eqn=function(E){return this.cmpn(E)===0},s.prototype.eq=function(E){return this.cmp(E)===0},s.red=function(E){return new A(E)},s.prototype.toRed=function(E){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),E.convertTo(this)._forceRed(E)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(E){return this.red=E,this},s.prototype.forceRed=function(E){return n(!this.red,"Already a number in reduction context"),this._forceRed(E)},s.prototype.redAdd=function(E){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,E)},s.prototype.redIAdd=function(E){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,E)},s.prototype.redSub=function(E){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,E)},s.prototype.redISub=function(E){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,E)},s.prototype.redShl=function(E){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,E)},s.prototype.redMul=function(E){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,E),this.red.mul(this,E)},s.prototype.redIMul=function(E){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,E),this.red.imul(this,E)},s.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(E){return n(this.red&&!E.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,E)};var w={k256:null,p224:null,p192:null,p25519:null};function x(E,N){this.name=E,this.p=new s(N,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function S(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function T(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function M(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function I(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(E){if(typeof E=="string"){var N=s._prime(E);this.m=N.p,this.prime=N}else n(E.gtn(1),"modulus must be greater than 1"),this.m=E,this.prime=null}function D(E){A.call(this,E),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var E=new s(null);return E.words=new Array(Math.ceil(this.n/13)),E},x.prototype.ireduce=function(E){var N,R=E;do this.split(R,this.tmp),N=(R=(R=this.imulK(R)).iadd(this.tmp)).bitLength();while(N>this.n);var v=N<this.n?-1:R.ucmp(this.p);return v===0?(R.words[0]=0,R.length=1):v>0?R.isub(this.p):R.strip!==void 0?R.strip():R._strip(),R},x.prototype.split=function(E,N){E.iushrn(this.n,0,N)},x.prototype.imulK=function(E){return E.imul(this.k)},a(S,x),S.prototype.split=function(E,N){for(var R=Math.min(E.length,9),v=0;v<R;v++)N.words[v]=E.words[v];if(N.length=R,E.length<=9)return E.words[0]=0,void(E.length=1);var k=E.words[9];for(N.words[N.length++]=4194303&k,v=10;v<E.length;v++){var P=0|E.words[v];E.words[v-10]=(4194303&P)<<4|k>>>22,k=P}k>>>=22,E.words[v-10]=k,k===0&&E.length>10?E.length-=10:E.length-=9},S.prototype.imulK=function(E){E.words[E.length]=0,E.words[E.length+1]=0,E.length+=2;for(var N=0,R=0;R<E.length;R++){var v=0|E.words[R];N+=977*v,E.words[R]=67108863&N,N=64*v+(N/67108864|0)}return E.words[E.length-1]===0&&(E.length--,E.words[E.length-1]===0&&E.length--),E},a(T,x),a(M,x),a(I,x),I.prototype.imulK=function(E){for(var N=0,R=0;R<E.length;R++){var v=19*(0|E.words[R])+N,k=67108863&v;v>>>=26,E.words[R]=k,N=v}return N!==0&&(E.words[E.length++]=N),E},s._prime=function(E){if(w[E])return w[E];var N;if(E==="k256")N=new S;else if(E==="p224")N=new T;else if(E==="p192")N=new M;else{if(E!=="p25519")throw new Error("Unknown prime "+E);N=new I}return w[E]=N,N},A.prototype._verify1=function(E){n(E.negative===0,"red works only with positives"),n(E.red,"red works only with red numbers")},A.prototype._verify2=function(E,N){n((E.negative|N.negative)==0,"red works only with positives"),n(E.red&&E.red===N.red,"red works only with red numbers")},A.prototype.imod=function(E){return this.prime?this.prime.ireduce(E)._forceRed(this):E.umod(this.m)._forceRed(this)},A.prototype.neg=function(E){return E.isZero()?E.clone():this.m.sub(E)._forceRed(this)},A.prototype.add=function(E,N){this._verify2(E,N);var R=E.add(N);return R.cmp(this.m)>=0&&R.isub(this.m),R._forceRed(this)},A.prototype.iadd=function(E,N){this._verify2(E,N);var R=E.iadd(N);return R.cmp(this.m)>=0&&R.isub(this.m),R},A.prototype.sub=function(E,N){this._verify2(E,N);var R=E.sub(N);return R.cmpn(0)<0&&R.iadd(this.m),R._forceRed(this)},A.prototype.isub=function(E,N){this._verify2(E,N);var R=E.isub(N);return R.cmpn(0)<0&&R.iadd(this.m),R},A.prototype.shl=function(E,N){return this._verify1(E),this.imod(E.ushln(N))},A.prototype.imul=function(E,N){return this._verify2(E,N),this.imod(E.imul(N))},A.prototype.mul=function(E,N){return this._verify2(E,N),this.imod(E.mul(N))},A.prototype.isqr=function(E){return this.imul(E,E.clone())},A.prototype.sqr=function(E){return this.mul(E,E)},A.prototype.sqrt=function(E){if(E.isZero())return E.clone();var N=this.m.andln(3);if(n(N%2==1),N===3){var R=this.m.add(new s(1)).iushrn(2);return this.pow(E,R)}for(var v=this.m.subn(1),k=0;!v.isZero()&&v.andln(1)===0;)k++,v.iushrn(1);n(!v.isZero());var P=new s(1).toRed(this),O=P.redNeg(),_=this.m.subn(1).iushrn(1),j=this.m.bitLength();for(j=new s(2*j*j).toRed(this);this.pow(j,_).cmp(O)!==0;)j.redIAdd(O);for(var B=this.pow(j,v),V=this.pow(E,v.addn(1).iushrn(1)),G=this.pow(E,v),Q=k;G.cmp(P)!==0;){for(var H=G,q=0;H.cmp(P)!==0;q++)H=H.redSqr();n(q<Q);var U=this.pow(B,new s(1).iushln(Q-q-1));V=V.redMul(U),B=U.redSqr(),G=G.redMul(B),Q=q}return V},A.prototype.invm=function(E){var N=E._invmp(this.m);return N.negative!==0?(N.negative=0,this.imod(N).redNeg()):this.imod(N)},A.prototype.pow=function(E,N){if(N.isZero())return new s(1).toRed(this);if(N.cmpn(1)===0)return E.clone();var R=new Array(16);R[0]=new s(1).toRed(this),R[1]=E;for(var v=2;v<R.length;v++)R[v]=this.mul(R[v-1],E);var k=R[0],P=0,O=0,_=N.bitLength()%26;for(_===0&&(_=26),v=N.length-1;v>=0;v--){for(var j=N.words[v],B=_-1;B>=0;B--){var V=j>>B&1;k!==R[0]&&(k=this.sqr(k)),V!==0||P!==0?(P<<=1,P|=V,(++O===4||v===0&&B===0)&&(k=this.mul(k,R[P]),O=0,P=0)):O=0}_=26}return k},A.prototype.convertTo=function(E){var N=E.umod(this.m);return N===E?N.clone():N},A.prototype.convertFrom=function(E){var N=E.clone();return N.red=null,N},s.mont=function(E){return new D(E)},a(D,A),D.prototype.convertTo=function(E){return this.imod(E.ushln(this.shift))},D.prototype.convertFrom=function(E){var N=this.imod(E.mul(this.rinv));return N.red=null,N},D.prototype.imul=function(E,N){if(E.isZero()||N.isZero())return E.words[0]=0,E.length=1,E;var R=E.imul(N),v=R.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),k=R.isub(v).iushrn(this.shift),P=k;return k.cmp(this.m)>=0?P=k.isub(this.m):k.cmpn(0)<0&&(P=k.iadd(this.m)),P._forceRed(this)},D.prototype.mul=function(E,N){if(E.isZero()||N.isZero())return new s(0)._forceRed(this);var R=E.mul(N),v=R.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),k=R.isub(v).iushrn(this.shift),P=k;return k.cmp(this.m)>=0?P=k.isub(this.m):k.cmpn(0)<0&&(P=k.iadd(this.m)),P._forceRed(this)},D.prototype.invm=function(E){return this.imod(E._invmp(this.m).mul(this.r2))._forceRed(this)}})(e===void 0||e)},{buffer:188}],185:[function(t,e,i){"use strict";i.byteLength=function(u){var p=c(u),m=p[0],h=p[1];return 3*(m+h)/4-h},i.toByteArray=function(u){var p,m,h=c(u),f=h[0],g=h[1],b=new n((function(x,S,T){return 3*(S+T)/4-T})(0,f,g)),y=0,w=g>0?f-4:f;for(m=0;m<w;m+=4)p=r[u.charCodeAt(m)]<<18|r[u.charCodeAt(m+1)]<<12|r[u.charCodeAt(m+2)]<<6|r[u.charCodeAt(m+3)],b[y++]=p>>16&255,b[y++]=p>>8&255,b[y++]=255&p;return g===2&&(p=r[u.charCodeAt(m)]<<2|r[u.charCodeAt(m+1)]>>4,b[y++]=255&p),g===1&&(p=r[u.charCodeAt(m)]<<10|r[u.charCodeAt(m+1)]<<4|r[u.charCodeAt(m+2)]>>2,b[y++]=p>>8&255,b[y++]=255&p),b},i.fromByteArray=function(u){for(var p,m=u.length,h=m%3,f=[],g=0,b=m-h;g<b;g+=16383)f.push(d(u,g,g+16383>b?b:g+16383));return h===1?(p=u[m-1],f.push(o[p>>2]+o[p<<4&63]+"==")):h===2&&(p=(u[m-2]<<8)+u[m-1],f.push(o[p>>10]+o[p>>4&63]+o[p<<2&63]+"=")),f.join("")};for(var o=[],r=[],n=typeof Uint8Array<"u"?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)o[s]=a[s],r[a.charCodeAt(s)]=s;function c(u){var p=u.length;if(p%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var m=u.indexOf("=");return m===-1&&(m=p),[m,m===p?0:4-m%4]}function d(u,p,m){for(var h,f,g=[],b=p;b<m;b+=3)h=(u[b]<<16&16711680)+(u[b+1]<<8&65280)+(255&u[b+2]),g.push(o[(f=h)>>18&63]+o[f>>12&63]+o[f>>6&63]+o[63&f]);return g.join("")}r[45]=62,r[95]=63},{}],186:[function(t,e,i){"use strict";(function(o,r){function n(v,k){if(!v)throw new Error(k||"Assertion failed")}function a(v,k){v.super_=k;var P=function(){};P.prototype=k.prototype,v.prototype=new P,v.prototype.constructor=v}function s(v,k,P){if(s.isBN(v))return v;this.negative=0,this.words=null,this.length=0,this.red=null,v!==null&&(k!=="le"&&k!=="be"||(P=k,k=10),this._init(v||0,k||10,P||"be"))}var l;typeof o=="object"?o.exports=s:(void 0).BN=s,s.BN=s,s.wordSize=26;try{l=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:t("buffer").Buffer}catch{}function c(v,k){var P=v.charCodeAt(k);return P>=48&&P<=57?P-48:P>=65&&P<=70?P-55:P>=97&&P<=102?P-87:void n(!1,"Invalid character in "+v)}function d(v,k,P){var O=c(v,P);return P-1>=k&&(O|=c(v,P-1)<<4),O}function u(v,k,P,O){for(var _=0,j=0,B=Math.min(v.length,P),V=k;V<B;V++){var G=v.charCodeAt(V)-48;_*=O,j=G>=49?G-49+10:G>=17?G-17+10:G,n(G>=0&&j<O,"Invalid character"),_+=j}return _}function p(v,k){v.words=k.words,v.length=k.length,v.negative=k.negative,v.red=k.red}if(s.isBN=function(v){return v instanceof s||v!==null&&typeof v=="object"&&v.constructor.wordSize===s.wordSize&&Array.isArray(v.words)},s.max=function(v,k){return v.cmp(k)>0?v:k},s.min=function(v,k){return v.cmp(k)<0?v:k},s.prototype._init=function(v,k,P){if(typeof v=="number")return this._initNumber(v,k,P);if(typeof v=="object")return this._initArray(v,k,P);k==="hex"&&(k=16),n(k===(0|k)&&k>=2&&k<=36);var O=0;(v=v.toString().replace(/\s+/g,""))[0]==="-"&&(O++,this.negative=1),O<v.length&&(k===16?this._parseHex(v,O,P):(this._parseBase(v,k,O),P==="le"&&this._initArray(this.toArray(),k,P)))},s.prototype._initNumber=function(v,k,P){v<0&&(this.negative=1,v=-v),v<67108864?(this.words=[67108863&v],this.length=1):v<4503599627370496?(this.words=[67108863&v,v/67108864&67108863],this.length=2):(n(v<9007199254740992),this.words=[67108863&v,v/67108864&67108863,1],this.length=3),P==="le"&&this._initArray(this.toArray(),k,P)},s.prototype._initArray=function(v,k,P){if(n(typeof v.length=="number"),v.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(v.length/3),this.words=new Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var _,j,B=0;if(P==="be")for(O=v.length-1,_=0;O>=0;O-=3)j=v[O]|v[O-1]<<8|v[O-2]<<16,this.words[_]|=j<<B&67108863,this.words[_+1]=j>>>26-B&67108863,(B+=24)>=26&&(B-=26,_++);else if(P==="le")for(O=0,_=0;O<v.length;O+=3)j=v[O]|v[O+1]<<8|v[O+2]<<16,this.words[_]|=j<<B&67108863,this.words[_+1]=j>>>26-B&67108863,(B+=24)>=26&&(B-=26,_++);return this._strip()},s.prototype._parseHex=function(v,k,P){this.length=Math.ceil((v.length-k)/6),this.words=new Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var _,j=0,B=0;if(P==="be")for(O=v.length-1;O>=k;O-=2)_=d(v,k,O)<<j,this.words[B]|=67108863&_,j>=18?(j-=18,B+=1,this.words[B]|=_>>>26):j+=8;else for(O=(v.length-k)%2==0?k+1:k;O<v.length;O+=2)_=d(v,k,O)<<j,this.words[B]|=67108863&_,j>=18?(j-=18,B+=1,this.words[B]|=_>>>26):j+=8;this._strip()},s.prototype._parseBase=function(v,k,P){this.words=[0],this.length=1;for(var O=0,_=1;_<=67108863;_*=k)O++;O--,_=_/k|0;for(var j=v.length-P,B=j%O,V=Math.min(j,j-B)+P,G=0,Q=P;Q<V;Q+=O)G=u(v,Q,Q+O,k),this.imuln(_),this.words[0]+G<67108864?this.words[0]+=G:this._iaddn(G);if(B!==0){var H=1;for(G=u(v,Q,v.length,k),Q=0;Q<B;Q++)H*=k;this.imuln(H),this.words[0]+G<67108864?this.words[0]+=G:this._iaddn(G)}this._strip()},s.prototype.copy=function(v){v.words=new Array(this.length);for(var k=0;k<this.length;k++)v.words[k]=this.words[k];v.length=this.length,v.negative=this.negative,v.red=this.red},s.prototype._move=function(v){p(v,this)},s.prototype.clone=function(){var v=new s(null);return this.copy(v),v},s.prototype._expand=function(v){for(;this.length<v;)this.words[this.length++]=0;return this},s.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},s.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{s.prototype[Symbol.for("nodejs.util.inspect.custom")]=m}catch{s.prototype.inspect=m}else s.prototype.inspect=m;function m(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],g=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];s.prototype.toString=function(v,k){var P;if(k=0|k||1,(v=v||10)===16||v==="hex"){P="";for(var O=0,_=0,j=0;j<this.length;j++){var B=this.words[j],V=(16777215&(B<<O|_)).toString(16);_=B>>>24-O&16777215,(O+=2)>=26&&(O-=26,j--),P=_!==0||j!==this.length-1?h[6-V.length]+V+P:V+P}for(_!==0&&(P=_.toString(16)+P);P.length%k!=0;)P="0"+P;return this.negative!==0&&(P="-"+P),P}if(v===(0|v)&&v>=2&&v<=36){var G=f[v],Q=g[v];P="";var H=this.clone();for(H.negative=0;!H.isZero();){var q=H.modrn(Q).toString(v);P=(H=H.idivn(Q)).isZero()?q+P:h[G-q.length]+q+P}for(this.isZero()&&(P="0"+P);P.length%k!=0;)P="0"+P;return this.negative!==0&&(P="-"+P),P}n(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var v=this.words[0];return this.length===2?v+=67108864*this.words[1]:this.length===3&&this.words[2]===1?v+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-v:v},s.prototype.toJSON=function(){return this.toString(16,2)},l&&(s.prototype.toBuffer=function(v,k){return this.toArrayLike(l,v,k)}),s.prototype.toArray=function(v,k){return this.toArrayLike(Array,v,k)};function b(v,k,P){P.negative=k.negative^v.negative;var O=v.length+k.length|0;P.length=O,O=O-1|0;var _=0|v.words[0],j=0|k.words[0],B=_*j,V=67108863&B,G=B/67108864|0;P.words[0]=V;for(var Q=1;Q<O;Q++){for(var H=G>>>26,q=67108863&G,U=Math.min(Q,k.length-1),F=Math.max(0,Q-v.length+1);F<=U;F++){var K=Q-F|0;H+=(B=(_=0|v.words[K])*(j=0|k.words[F])+q)/67108864|0,q=67108863&B}P.words[Q]=0|q,G=0|H}return G!==0?P.words[Q]=0|G:P.length--,P._strip()}s.prototype.toArrayLike=function(v,k,P){this._strip();var O=this.byteLength(),_=P||Math.max(1,O);n(O<=_,"byte array longer than desired length"),n(_>0,"Requested array length <= 0");var j=(function(B,V){return B.allocUnsafe?B.allocUnsafe(V):new B(V)})(v,_);return this["_toArrayLike"+(k==="le"?"LE":"BE")](j,O),j},s.prototype._toArrayLikeLE=function(v,k){for(var P=0,O=0,_=0,j=0;_<this.length;_++){var B=this.words[_]<<j|O;v[P++]=255&B,P<v.length&&(v[P++]=B>>8&255),P<v.length&&(v[P++]=B>>16&255),j===6?(P<v.length&&(v[P++]=B>>24&255),O=0,j=0):(O=B>>>24,j+=2)}if(P<v.length)for(v[P++]=O;P<v.length;)v[P++]=0},s.prototype._toArrayLikeBE=function(v,k){for(var P=v.length-1,O=0,_=0,j=0;_<this.length;_++){var B=this.words[_]<<j|O;v[P--]=255&B,P>=0&&(v[P--]=B>>8&255),P>=0&&(v[P--]=B>>16&255),j===6?(P>=0&&(v[P--]=B>>24&255),O=0,j=0):(O=B>>>24,j+=2)}if(P>=0)for(v[P--]=O;P>=0;)v[P--]=0},Math.clz32?s.prototype._countBits=function(v){return 32-Math.clz32(v)}:s.prototype._countBits=function(v){var k=v,P=0;return k>=4096&&(P+=13,k>>>=13),k>=64&&(P+=7,k>>>=7),k>=8&&(P+=4,k>>>=4),k>=2&&(P+=2,k>>>=2),P+k},s.prototype._zeroBits=function(v){if(v===0)return 26;var k=v,P=0;return(8191&k)==0&&(P+=13,k>>>=13),(127&k)==0&&(P+=7,k>>>=7),(15&k)==0&&(P+=4,k>>>=4),(3&k)==0&&(P+=2,k>>>=2),(1&k)==0&&P++,P},s.prototype.bitLength=function(){var v=this.words[this.length-1],k=this._countBits(v);return 26*(this.length-1)+k},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var v=0,k=0;k<this.length;k++){var P=this._zeroBits(this.words[k]);if(v+=P,P!==26)break}return v},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(v){return this.negative!==0?this.abs().inotn(v).iaddn(1):this.clone()},s.prototype.fromTwos=function(v){return this.testn(v-1)?this.notn(v).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return this.negative!==0},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(v){for(;this.length<v.length;)this.words[this.length++]=0;for(var k=0;k<v.length;k++)this.words[k]=this.words[k]|v.words[k];return this._strip()},s.prototype.ior=function(v){return n((this.negative|v.negative)==0),this.iuor(v)},s.prototype.or=function(v){return this.length>v.length?this.clone().ior(v):v.clone().ior(this)},s.prototype.uor=function(v){return this.length>v.length?this.clone().iuor(v):v.clone().iuor(this)},s.prototype.iuand=function(v){var k;k=this.length>v.length?v:this;for(var P=0;P<k.length;P++)this.words[P]=this.words[P]&v.words[P];return this.length=k.length,this._strip()},s.prototype.iand=function(v){return n((this.negative|v.negative)==0),this.iuand(v)},s.prototype.and=function(v){return this.length>v.length?this.clone().iand(v):v.clone().iand(this)},s.prototype.uand=function(v){return this.length>v.length?this.clone().iuand(v):v.clone().iuand(this)},s.prototype.iuxor=function(v){var k,P;this.length>v.length?(k=this,P=v):(k=v,P=this);for(var O=0;O<P.length;O++)this.words[O]=k.words[O]^P.words[O];if(this!==k)for(;O<k.length;O++)this.words[O]=k.words[O];return this.length=k.length,this._strip()},s.prototype.ixor=function(v){return n((this.negative|v.negative)==0),this.iuxor(v)},s.prototype.xor=function(v){return this.length>v.length?this.clone().ixor(v):v.clone().ixor(this)},s.prototype.uxor=function(v){return this.length>v.length?this.clone().iuxor(v):v.clone().iuxor(this)},s.prototype.inotn=function(v){n(typeof v=="number"&&v>=0);var k=0|Math.ceil(v/26),P=v%26;this._expand(k),P>0&&k--;for(var O=0;O<k;O++)this.words[O]=67108863&~this.words[O];return P>0&&(this.words[O]=~this.words[O]&67108863>>26-P),this._strip()},s.prototype.notn=function(v){return this.clone().inotn(v)},s.prototype.setn=function(v,k){n(typeof v=="number"&&v>=0);var P=v/26|0,O=v%26;return this._expand(P+1),this.words[P]=k?this.words[P]|1<<O:this.words[P]&~(1<<O),this._strip()},s.prototype.iadd=function(v){var k,P,O;if(this.negative!==0&&v.negative===0)return this.negative=0,k=this.isub(v),this.negative^=1,this._normSign();if(this.negative===0&&v.negative!==0)return v.negative=0,k=this.isub(v),v.negative=1,k._normSign();this.length>v.length?(P=this,O=v):(P=v,O=this);for(var _=0,j=0;j<O.length;j++)k=(0|P.words[j])+(0|O.words[j])+_,this.words[j]=67108863&k,_=k>>>26;for(;_!==0&&j<P.length;j++)k=(0|P.words[j])+_,this.words[j]=67108863&k,_=k>>>26;if(this.length=P.length,_!==0)this.words[this.length]=_,this.length++;else if(P!==this)for(;j<P.length;j++)this.words[j]=P.words[j];return this},s.prototype.add=function(v){var k;return v.negative!==0&&this.negative===0?(v.negative=0,k=this.sub(v),v.negative^=1,k):v.negative===0&&this.negative!==0?(this.negative=0,k=v.sub(this),this.negative=1,k):this.length>v.length?this.clone().iadd(v):v.clone().iadd(this)},s.prototype.isub=function(v){if(v.negative!==0){v.negative=0;var k=this.iadd(v);return v.negative=1,k._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(v),this.negative=1,this._normSign();var P,O,_=this.cmp(v);if(_===0)return this.negative=0,this.length=1,this.words[0]=0,this;_>0?(P=this,O=v):(P=v,O=this);for(var j=0,B=0;B<O.length;B++)j=(k=(0|P.words[B])-(0|O.words[B])+j)>>26,this.words[B]=67108863&k;for(;j!==0&&B<P.length;B++)j=(k=(0|P.words[B])+j)>>26,this.words[B]=67108863&k;if(j===0&&B<P.length&&P!==this)for(;B<P.length;B++)this.words[B]=P.words[B];return this.length=Math.max(this.length,B),P!==this&&(this.negative=1),this._strip()},s.prototype.sub=function(v){return this.clone().isub(v)};var y=function(v,k,P){var O,_,j,B=v.words,V=k.words,G=P.words,Q=0,H=0|B[0],q=8191&H,U=H>>>13,F=0|B[1],K=8191&F,te=F>>>13,ae=0|B[2],pe=8191&ae,Z=ae>>>13,ee=0|B[3],ce=8191&ee,ne=ee>>>13,oe=0|B[4],re=8191&oe,Y=oe>>>13,X=0|B[5],ie=8191&X,de=X>>>13,fe=0|B[6],ye=8191&fe,Le=fe>>>13,Re=0|B[7],Ne=8191&Re,Te=Re>>>13,Pe=0|B[8],Oe=8191&Pe,Ue=Pe>>>13,Ve=0|B[9],ze=8191&Ve,He=Ve>>>13,Ye=0|V[0],ke=8191&Ye,Be=Ye>>>13,Xe=0|V[1],Ge=8191&Xe,Ke=Xe>>>13,pt=0|V[2],ot=8191&pt,Qe=pt>>>13,ut=0|V[3],rt=8191&ut,ht=ut>>>13,ct=0|V[4],wt=8191&ct,zt=ct>>>13,gt=0|V[5],Qt=8191&gt,yt=gt>>>13,jt=0|V[6],ni=8191&jt,Ii=jt>>>13,Mo=0|V[7],_i=8191&Mo,So=Mo>>>13,nr=0|V[8],Do=8191&nr,go=nr>>>13,Dr=0|V[9],cr=8191&Dr,Zn=Dr>>>13;P.negative=v.negative^k.negative,P.length=19;var Sa=(Q+(O=Math.imul(q,ke))|0)+((8191&(_=(_=Math.imul(q,Be))+Math.imul(U,ke)|0))<<13)|0;Q=((j=Math.imul(U,Be))+(_>>>13)|0)+(Sa>>>26)|0,Sa&=67108863,O=Math.imul(K,ke),_=(_=Math.imul(K,Be))+Math.imul(te,ke)|0,j=Math.imul(te,Be);var es=(Q+(O=O+Math.imul(q,Ge)|0)|0)+((8191&(_=(_=_+Math.imul(q,Ke)|0)+Math.imul(U,Ge)|0))<<13)|0;Q=((j=j+Math.imul(U,Ke)|0)+(_>>>13)|0)+(es>>>26)|0,es&=67108863,O=Math.imul(pe,ke),_=(_=Math.imul(pe,Be))+Math.imul(Z,ke)|0,j=Math.imul(Z,Be),O=O+Math.imul(K,Ge)|0,_=(_=_+Math.imul(K,Ke)|0)+Math.imul(te,Ge)|0,j=j+Math.imul(te,Ke)|0;var tu=(Q+(O=O+Math.imul(q,ot)|0)|0)+((8191&(_=(_=_+Math.imul(q,Qe)|0)+Math.imul(U,ot)|0))<<13)|0;Q=((j=j+Math.imul(U,Qe)|0)+(_>>>13)|0)+(tu>>>26)|0,tu&=67108863,O=Math.imul(ce,ke),_=(_=Math.imul(ce,Be))+Math.imul(ne,ke)|0,j=Math.imul(ne,Be),O=O+Math.imul(pe,Ge)|0,_=(_=_+Math.imul(pe,Ke)|0)+Math.imul(Z,Ge)|0,j=j+Math.imul(Z,Ke)|0,O=O+Math.imul(K,ot)|0,_=(_=_+Math.imul(K,Qe)|0)+Math.imul(te,ot)|0,j=j+Math.imul(te,Qe)|0;var Mi=(Q+(O=O+Math.imul(q,rt)|0)|0)+((8191&(_=(_=_+Math.imul(q,ht)|0)+Math.imul(U,rt)|0))<<13)|0;Q=((j=j+Math.imul(U,ht)|0)+(_>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,O=Math.imul(re,ke),_=(_=Math.imul(re,Be))+Math.imul(Y,ke)|0,j=Math.imul(Y,Be),O=O+Math.imul(ce,Ge)|0,_=(_=_+Math.imul(ce,Ke)|0)+Math.imul(ne,Ge)|0,j=j+Math.imul(ne,Ke)|0,O=O+Math.imul(pe,ot)|0,_=(_=_+Math.imul(pe,Qe)|0)+Math.imul(Z,ot)|0,j=j+Math.imul(Z,Qe)|0,O=O+Math.imul(K,rt)|0,_=(_=_+Math.imul(K,ht)|0)+Math.imul(te,rt)|0,j=j+Math.imul(te,ht)|0;var qi=(Q+(O=O+Math.imul(q,wt)|0)|0)+((8191&(_=(_=_+Math.imul(q,zt)|0)+Math.imul(U,wt)|0))<<13)|0;Q=((j=j+Math.imul(U,zt)|0)+(_>>>13)|0)+(qi>>>26)|0,qi&=67108863,O=Math.imul(ie,ke),_=(_=Math.imul(ie,Be))+Math.imul(de,ke)|0,j=Math.imul(de,Be),O=O+Math.imul(re,Ge)|0,_=(_=_+Math.imul(re,Ke)|0)+Math.imul(Y,Ge)|0,j=j+Math.imul(Y,Ke)|0,O=O+Math.imul(ce,ot)|0,_=(_=_+Math.imul(ce,Qe)|0)+Math.imul(ne,ot)|0,j=j+Math.imul(ne,Qe)|0,O=O+Math.imul(pe,rt)|0,_=(_=_+Math.imul(pe,ht)|0)+Math.imul(Z,rt)|0,j=j+Math.imul(Z,ht)|0,O=O+Math.imul(K,wt)|0,_=(_=_+Math.imul(K,zt)|0)+Math.imul(te,wt)|0,j=j+Math.imul(te,zt)|0;var Eo=(Q+(O=O+Math.imul(q,Qt)|0)|0)+((8191&(_=(_=_+Math.imul(q,yt)|0)+Math.imul(U,Qt)|0))<<13)|0;Q=((j=j+Math.imul(U,yt)|0)+(_>>>13)|0)+(Eo>>>26)|0,Eo&=67108863,O=Math.imul(ye,ke),_=(_=Math.imul(ye,Be))+Math.imul(Le,ke)|0,j=Math.imul(Le,Be),O=O+Math.imul(ie,Ge)|0,_=(_=_+Math.imul(ie,Ke)|0)+Math.imul(de,Ge)|0,j=j+Math.imul(de,Ke)|0,O=O+Math.imul(re,ot)|0,_=(_=_+Math.imul(re,Qe)|0)+Math.imul(Y,ot)|0,j=j+Math.imul(Y,Qe)|0,O=O+Math.imul(ce,rt)|0,_=(_=_+Math.imul(ce,ht)|0)+Math.imul(ne,rt)|0,j=j+Math.imul(ne,ht)|0,O=O+Math.imul(pe,wt)|0,_=(_=_+Math.imul(pe,zt)|0)+Math.imul(Z,wt)|0,j=j+Math.imul(Z,zt)|0,O=O+Math.imul(K,Qt)|0,_=(_=_+Math.imul(K,yt)|0)+Math.imul(te,Qt)|0,j=j+Math.imul(te,yt)|0;var Ct=(Q+(O=O+Math.imul(q,ni)|0)|0)+((8191&(_=(_=_+Math.imul(q,Ii)|0)+Math.imul(U,ni)|0))<<13)|0;Q=((j=j+Math.imul(U,Ii)|0)+(_>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,O=Math.imul(Ne,ke),_=(_=Math.imul(Ne,Be))+Math.imul(Te,ke)|0,j=Math.imul(Te,Be),O=O+Math.imul(ye,Ge)|0,_=(_=_+Math.imul(ye,Ke)|0)+Math.imul(Le,Ge)|0,j=j+Math.imul(Le,Ke)|0,O=O+Math.imul(ie,ot)|0,_=(_=_+Math.imul(ie,Qe)|0)+Math.imul(de,ot)|0,j=j+Math.imul(de,Qe)|0,O=O+Math.imul(re,rt)|0,_=(_=_+Math.imul(re,ht)|0)+Math.imul(Y,rt)|0,j=j+Math.imul(Y,ht)|0,O=O+Math.imul(ce,wt)|0,_=(_=_+Math.imul(ce,zt)|0)+Math.imul(ne,wt)|0,j=j+Math.imul(ne,zt)|0,O=O+Math.imul(pe,Qt)|0,_=(_=_+Math.imul(pe,yt)|0)+Math.imul(Z,Qt)|0,j=j+Math.imul(Z,yt)|0,O=O+Math.imul(K,ni)|0,_=(_=_+Math.imul(K,Ii)|0)+Math.imul(te,ni)|0,j=j+Math.imul(te,Ii)|0;var ti=(Q+(O=O+Math.imul(q,_i)|0)|0)+((8191&(_=(_=_+Math.imul(q,So)|0)+Math.imul(U,_i)|0))<<13)|0;Q=((j=j+Math.imul(U,So)|0)+(_>>>13)|0)+(ti>>>26)|0,ti&=67108863,O=Math.imul(Oe,ke),_=(_=Math.imul(Oe,Be))+Math.imul(Ue,ke)|0,j=Math.imul(Ue,Be),O=O+Math.imul(Ne,Ge)|0,_=(_=_+Math.imul(Ne,Ke)|0)+Math.imul(Te,Ge)|0,j=j+Math.imul(Te,Ke)|0,O=O+Math.imul(ye,ot)|0,_=(_=_+Math.imul(ye,Qe)|0)+Math.imul(Le,ot)|0,j=j+Math.imul(Le,Qe)|0,O=O+Math.imul(ie,rt)|0,_=(_=_+Math.imul(ie,ht)|0)+Math.imul(de,rt)|0,j=j+Math.imul(de,ht)|0,O=O+Math.imul(re,wt)|0,_=(_=_+Math.imul(re,zt)|0)+Math.imul(Y,wt)|0,j=j+Math.imul(Y,zt)|0,O=O+Math.imul(ce,Qt)|0,_=(_=_+Math.imul(ce,yt)|0)+Math.imul(ne,Qt)|0,j=j+Math.imul(ne,yt)|0,O=O+Math.imul(pe,ni)|0,_=(_=_+Math.imul(pe,Ii)|0)+Math.imul(Z,ni)|0,j=j+Math.imul(Z,Ii)|0,O=O+Math.imul(K,_i)|0,_=(_=_+Math.imul(K,So)|0)+Math.imul(te,_i)|0,j=j+Math.imul(te,So)|0;var hi=(Q+(O=O+Math.imul(q,Do)|0)|0)+((8191&(_=(_=_+Math.imul(q,go)|0)+Math.imul(U,Do)|0))<<13)|0;Q=((j=j+Math.imul(U,go)|0)+(_>>>13)|0)+(hi>>>26)|0,hi&=67108863,O=Math.imul(ze,ke),_=(_=Math.imul(ze,Be))+Math.imul(He,ke)|0,j=Math.imul(He,Be),O=O+Math.imul(Oe,Ge)|0,_=(_=_+Math.imul(Oe,Ke)|0)+Math.imul(Ue,Ge)|0,j=j+Math.imul(Ue,Ke)|0,O=O+Math.imul(Ne,ot)|0,_=(_=_+Math.imul(Ne,Qe)|0)+Math.imul(Te,ot)|0,j=j+Math.imul(Te,Qe)|0,O=O+Math.imul(ye,rt)|0,_=(_=_+Math.imul(ye,ht)|0)+Math.imul(Le,rt)|0,j=j+Math.imul(Le,ht)|0,O=O+Math.imul(ie,wt)|0,_=(_=_+Math.imul(ie,zt)|0)+Math.imul(de,wt)|0,j=j+Math.imul(de,zt)|0,O=O+Math.imul(re,Qt)|0,_=(_=_+Math.imul(re,yt)|0)+Math.imul(Y,Qt)|0,j=j+Math.imul(Y,yt)|0,O=O+Math.imul(ce,ni)|0,_=(_=_+Math.imul(ce,Ii)|0)+Math.imul(ne,ni)|0,j=j+Math.imul(ne,Ii)|0,O=O+Math.imul(pe,_i)|0,_=(_=_+Math.imul(pe,So)|0)+Math.imul(Z,_i)|0,j=j+Math.imul(Z,So)|0,O=O+Math.imul(K,Do)|0,_=(_=_+Math.imul(K,go)|0)+Math.imul(te,Do)|0,j=j+Math.imul(te,go)|0;var ki=(Q+(O=O+Math.imul(q,cr)|0)|0)+((8191&(_=(_=_+Math.imul(q,Zn)|0)+Math.imul(U,cr)|0))<<13)|0;Q=((j=j+Math.imul(U,Zn)|0)+(_>>>13)|0)+(ki>>>26)|0,ki&=67108863,O=Math.imul(ze,Ge),_=(_=Math.imul(ze,Ke))+Math.imul(He,Ge)|0,j=Math.imul(He,Ke),O=O+Math.imul(Oe,ot)|0,_=(_=_+Math.imul(Oe,Qe)|0)+Math.imul(Ue,ot)|0,j=j+Math.imul(Ue,Qe)|0,O=O+Math.imul(Ne,rt)|0,_=(_=_+Math.imul(Ne,ht)|0)+Math.imul(Te,rt)|0,j=j+Math.imul(Te,ht)|0,O=O+Math.imul(ye,wt)|0,_=(_=_+Math.imul(ye,zt)|0)+Math.imul(Le,wt)|0,j=j+Math.imul(Le,zt)|0,O=O+Math.imul(ie,Qt)|0,_=(_=_+Math.imul(ie,yt)|0)+Math.imul(de,Qt)|0,j=j+Math.imul(de,yt)|0,O=O+Math.imul(re,ni)|0,_=(_=_+Math.imul(re,Ii)|0)+Math.imul(Y,ni)|0,j=j+Math.imul(Y,Ii)|0,O=O+Math.imul(ce,_i)|0,_=(_=_+Math.imul(ce,So)|0)+Math.imul(ne,_i)|0,j=j+Math.imul(ne,So)|0,O=O+Math.imul(pe,Do)|0,_=(_=_+Math.imul(pe,go)|0)+Math.imul(Z,Do)|0,j=j+Math.imul(Z,go)|0;var eo=(Q+(O=O+Math.imul(K,cr)|0)|0)+((8191&(_=(_=_+Math.imul(K,Zn)|0)+Math.imul(te,cr)|0))<<13)|0;Q=((j=j+Math.imul(te,Zn)|0)+(_>>>13)|0)+(eo>>>26)|0,eo&=67108863,O=Math.imul(ze,ot),_=(_=Math.imul(ze,Qe))+Math.imul(He,ot)|0,j=Math.imul(He,Qe),O=O+Math.imul(Oe,rt)|0,_=(_=_+Math.imul(Oe,ht)|0)+Math.imul(Ue,rt)|0,j=j+Math.imul(Ue,ht)|0,O=O+Math.imul(Ne,wt)|0,_=(_=_+Math.imul(Ne,zt)|0)+Math.imul(Te,wt)|0,j=j+Math.imul(Te,zt)|0,O=O+Math.imul(ye,Qt)|0,_=(_=_+Math.imul(ye,yt)|0)+Math.imul(Le,Qt)|0,j=j+Math.imul(Le,yt)|0,O=O+Math.imul(ie,ni)|0,_=(_=_+Math.imul(ie,Ii)|0)+Math.imul(de,ni)|0,j=j+Math.imul(de,Ii)|0,O=O+Math.imul(re,_i)|0,_=(_=_+Math.imul(re,So)|0)+Math.imul(Y,_i)|0,j=j+Math.imul(Y,So)|0,O=O+Math.imul(ce,Do)|0,_=(_=_+Math.imul(ce,go)|0)+Math.imul(ne,Do)|0,j=j+Math.imul(ne,go)|0;var Qo=(Q+(O=O+Math.imul(pe,cr)|0)|0)+((8191&(_=(_=_+Math.imul(pe,Zn)|0)+Math.imul(Z,cr)|0))<<13)|0;Q=((j=j+Math.imul(Z,Zn)|0)+(_>>>13)|0)+(Qo>>>26)|0,Qo&=67108863,O=Math.imul(ze,rt),_=(_=Math.imul(ze,ht))+Math.imul(He,rt)|0,j=Math.imul(He,ht),O=O+Math.imul(Oe,wt)|0,_=(_=_+Math.imul(Oe,zt)|0)+Math.imul(Ue,wt)|0,j=j+Math.imul(Ue,zt)|0,O=O+Math.imul(Ne,Qt)|0,_=(_=_+Math.imul(Ne,yt)|0)+Math.imul(Te,Qt)|0,j=j+Math.imul(Te,yt)|0,O=O+Math.imul(ye,ni)|0,_=(_=_+Math.imul(ye,Ii)|0)+Math.imul(Le,ni)|0,j=j+Math.imul(Le,Ii)|0,O=O+Math.imul(ie,_i)|0,_=(_=_+Math.imul(ie,So)|0)+Math.imul(de,_i)|0,j=j+Math.imul(de,So)|0,O=O+Math.imul(re,Do)|0,_=(_=_+Math.imul(re,go)|0)+Math.imul(Y,Do)|0,j=j+Math.imul(Y,go)|0;var dr=(Q+(O=O+Math.imul(ce,cr)|0)|0)+((8191&(_=(_=_+Math.imul(ce,Zn)|0)+Math.imul(ne,cr)|0))<<13)|0;Q=((j=j+Math.imul(ne,Zn)|0)+(_>>>13)|0)+(dr>>>26)|0,dr&=67108863,O=Math.imul(ze,wt),_=(_=Math.imul(ze,zt))+Math.imul(He,wt)|0,j=Math.imul(He,zt),O=O+Math.imul(Oe,Qt)|0,_=(_=_+Math.imul(Oe,yt)|0)+Math.imul(Ue,Qt)|0,j=j+Math.imul(Ue,yt)|0,O=O+Math.imul(Ne,ni)|0,_=(_=_+Math.imul(Ne,Ii)|0)+Math.imul(Te,ni)|0,j=j+Math.imul(Te,Ii)|0,O=O+Math.imul(ye,_i)|0,_=(_=_+Math.imul(ye,So)|0)+Math.imul(Le,_i)|0,j=j+Math.imul(Le,So)|0,O=O+Math.imul(ie,Do)|0,_=(_=_+Math.imul(ie,go)|0)+Math.imul(de,Do)|0,j=j+Math.imul(de,go)|0;var sa=(Q+(O=O+Math.imul(re,cr)|0)|0)+((8191&(_=(_=_+Math.imul(re,Zn)|0)+Math.imul(Y,cr)|0))<<13)|0;Q=((j=j+Math.imul(Y,Zn)|0)+(_>>>13)|0)+(sa>>>26)|0,sa&=67108863,O=Math.imul(ze,Qt),_=(_=Math.imul(ze,yt))+Math.imul(He,Qt)|0,j=Math.imul(He,yt),O=O+Math.imul(Oe,ni)|0,_=(_=_+Math.imul(Oe,Ii)|0)+Math.imul(Ue,ni)|0,j=j+Math.imul(Ue,Ii)|0,O=O+Math.imul(Ne,_i)|0,_=(_=_+Math.imul(Ne,So)|0)+Math.imul(Te,_i)|0,j=j+Math.imul(Te,So)|0,O=O+Math.imul(ye,Do)|0,_=(_=_+Math.imul(ye,go)|0)+Math.imul(Le,Do)|0,j=j+Math.imul(Le,go)|0;var Vn=(Q+(O=O+Math.imul(ie,cr)|0)|0)+((8191&(_=(_=_+Math.imul(ie,Zn)|0)+Math.imul(de,cr)|0))<<13)|0;Q=((j=j+Math.imul(de,Zn)|0)+(_>>>13)|0)+(Vn>>>26)|0,Vn&=67108863,O=Math.imul(ze,ni),_=(_=Math.imul(ze,Ii))+Math.imul(He,ni)|0,j=Math.imul(He,Ii),O=O+Math.imul(Oe,_i)|0,_=(_=_+Math.imul(Oe,So)|0)+Math.imul(Ue,_i)|0,j=j+Math.imul(Ue,So)|0,O=O+Math.imul(Ne,Do)|0,_=(_=_+Math.imul(Ne,go)|0)+Math.imul(Te,Do)|0,j=j+Math.imul(Te,go)|0;var Cn=(Q+(O=O+Math.imul(ye,cr)|0)|0)+((8191&(_=(_=_+Math.imul(ye,Zn)|0)+Math.imul(Le,cr)|0))<<13)|0;Q=((j=j+Math.imul(Le,Zn)|0)+(_>>>13)|0)+(Cn>>>26)|0,Cn&=67108863,O=Math.imul(ze,_i),_=(_=Math.imul(ze,So))+Math.imul(He,_i)|0,j=Math.imul(He,So),O=O+Math.imul(Oe,Do)|0,_=(_=_+Math.imul(Oe,go)|0)+Math.imul(Ue,Do)|0,j=j+Math.imul(Ue,go)|0;var fa=(Q+(O=O+Math.imul(Ne,cr)|0)|0)+((8191&(_=(_=_+Math.imul(Ne,Zn)|0)+Math.imul(Te,cr)|0))<<13)|0;Q=((j=j+Math.imul(Te,Zn)|0)+(_>>>13)|0)+(fa>>>26)|0,fa&=67108863,O=Math.imul(ze,Do),_=(_=Math.imul(ze,go))+Math.imul(He,Do)|0,j=Math.imul(He,go);var Ac=(Q+(O=O+Math.imul(Oe,cr)|0)|0)+((8191&(_=(_=_+Math.imul(Oe,Zn)|0)+Math.imul(Ue,cr)|0))<<13)|0;Q=((j=j+Math.imul(Ue,Zn)|0)+(_>>>13)|0)+(Ac>>>26)|0,Ac&=67108863;var Uo=(Q+(O=Math.imul(ze,cr))|0)+((8191&(_=(_=Math.imul(ze,Zn))+Math.imul(He,cr)|0))<<13)|0;return Q=((j=Math.imul(He,Zn))+(_>>>13)|0)+(Uo>>>26)|0,Uo&=67108863,G[0]=Sa,G[1]=es,G[2]=tu,G[3]=Mi,G[4]=qi,G[5]=Eo,G[6]=Ct,G[7]=ti,G[8]=hi,G[9]=ki,G[10]=eo,G[11]=Qo,G[12]=dr,G[13]=sa,G[14]=Vn,G[15]=Cn,G[16]=fa,G[17]=Ac,G[18]=Uo,Q!==0&&(G[19]=Q,P.length++),P};function w(v,k,P){P.negative=k.negative^v.negative,P.length=v.length+k.length;for(var O=0,_=0,j=0;j<P.length-1;j++){var B=_;_=0;for(var V=67108863&O,G=Math.min(j,k.length-1),Q=Math.max(0,j-v.length+1);Q<=G;Q++){var H=j-Q,q=(0|v.words[H])*(0|k.words[Q]),U=67108863&q;V=67108863&(U=U+V|0),_+=(B=(B=B+(q/67108864|0)|0)+(U>>>26)|0)>>>26,B&=67108863}P.words[j]=V,O=B,B=_}return O!==0?P.words[j]=O:P.length--,P._strip()}function x(v,k,P){return w(v,k,P)}function S(v,k){this.x=v,this.y=k}Math.imul||(y=b),s.prototype.mulTo=function(v,k){var P=this.length+v.length;return this.length===10&&v.length===10?y(this,v,k):P<63?b(this,v,k):P<1024?w(this,v,k):x(this,v,k)},S.prototype.makeRBT=function(v){for(var k=new Array(v),P=s.prototype._countBits(v)-1,O=0;O<v;O++)k[O]=this.revBin(O,P,v);return k},S.prototype.revBin=function(v,k,P){if(v===0||v===P-1)return v;for(var O=0,_=0;_<k;_++)O|=(1&v)<<k-_-1,v>>=1;return O},S.prototype.permute=function(v,k,P,O,_,j){for(var B=0;B<j;B++)O[B]=k[v[B]],_[B]=P[v[B]]},S.prototype.transform=function(v,k,P,O,_,j){this.permute(j,v,k,P,O,_);for(var B=1;B<_;B<<=1)for(var V=B<<1,G=Math.cos(2*Math.PI/V),Q=Math.sin(2*Math.PI/V),H=0;H<_;H+=V)for(var q=G,U=Q,F=0;F<B;F++){var K=P[H+F],te=O[H+F],ae=P[H+F+B],pe=O[H+F+B],Z=q*ae-U*pe;pe=q*pe+U*ae,ae=Z,P[H+F]=K+ae,O[H+F]=te+pe,P[H+F+B]=K-ae,O[H+F+B]=te-pe,F!==V&&(Z=G*q-Q*U,U=G*U+Q*q,q=Z)}},S.prototype.guessLen13b=function(v,k){var P=1|Math.max(k,v),O=1&P,_=0;for(P=P/2|0;P;P>>>=1)_++;return 1<<_+1+O},S.prototype.conjugate=function(v,k,P){if(!(P<=1))for(var O=0;O<P/2;O++){var _=v[O];v[O]=v[P-O-1],v[P-O-1]=_,_=k[O],k[O]=-k[P-O-1],k[P-O-1]=-_}},S.prototype.normalize13b=function(v,k){for(var P=0,O=0;O<k/2;O++){var _=8192*Math.round(v[2*O+1]/k)+Math.round(v[2*O]/k)+P;v[O]=67108863&_,P=_<67108864?0:_/67108864|0}return v},S.prototype.convert13b=function(v,k,P,O){for(var _=0,j=0;j<k;j++)_+=0|v[j],P[2*j]=8191&_,_>>>=13,P[2*j+1]=8191&_,_>>>=13;for(j=2*k;j<O;++j)P[j]=0;n(_===0),n((-8192&_)==0)},S.prototype.stub=function(v){for(var k=new Array(v),P=0;P<v;P++)k[P]=0;return k},S.prototype.mulp=function(v,k,P){var O=2*this.guessLen13b(v.length,k.length),_=this.makeRBT(O),j=this.stub(O),B=new Array(O),V=new Array(O),G=new Array(O),Q=new Array(O),H=new Array(O),q=new Array(O),U=P.words;U.length=O,this.convert13b(v.words,v.length,B,O),this.convert13b(k.words,k.length,Q,O),this.transform(B,j,V,G,O,_),this.transform(Q,j,H,q,O,_);for(var F=0;F<O;F++){var K=V[F]*H[F]-G[F]*q[F];G[F]=V[F]*q[F]+G[F]*H[F],V[F]=K}return this.conjugate(V,G,O),this.transform(V,G,U,j,O,_),this.conjugate(U,j,O),this.normalize13b(U,O),P.negative=v.negative^k.negative,P.length=v.length+k.length,P._strip()},s.prototype.mul=function(v){var k=new s(null);return k.words=new Array(this.length+v.length),this.mulTo(v,k)},s.prototype.mulf=function(v){var k=new s(null);return k.words=new Array(this.length+v.length),x(this,v,k)},s.prototype.imul=function(v){return this.clone().mulTo(v,this)},s.prototype.imuln=function(v){var k=v<0;k&&(v=-v),n(typeof v=="number"),n(v<67108864);for(var P=0,O=0;O<this.length;O++){var _=(0|this.words[O])*v,j=(67108863&_)+(67108863&P);P>>=26,P+=_/67108864|0,P+=j>>>26,this.words[O]=67108863&j}return P!==0&&(this.words[O]=P,this.length++),k?this.ineg():this},s.prototype.muln=function(v){return this.clone().imuln(v)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(v){var k=(function(j){for(var B=new Array(j.bitLength()),V=0;V<B.length;V++){var G=V/26|0,Q=V%26;B[V]=j.words[G]>>>Q&1}return B})(v);if(k.length===0)return new s(1);for(var P=this,O=0;O<k.length&&k[O]===0;O++,P=P.sqr());if(++O<k.length)for(var _=P.sqr();O<k.length;O++,_=_.sqr())k[O]!==0&&(P=P.mul(_));return P},s.prototype.iushln=function(v){n(typeof v=="number"&&v>=0);var k,P=v%26,O=(v-P)/26,_=67108863>>>26-P<<26-P;if(P!==0){var j=0;for(k=0;k<this.length;k++){var B=this.words[k]&_,V=(0|this.words[k])-B<<P;this.words[k]=V|j,j=B>>>26-P}j&&(this.words[k]=j,this.length++)}if(O!==0){for(k=this.length-1;k>=0;k--)this.words[k+O]=this.words[k];for(k=0;k<O;k++)this.words[k]=0;this.length+=O}return this._strip()},s.prototype.ishln=function(v){return n(this.negative===0),this.iushln(v)},s.prototype.iushrn=function(v,k,P){var O;n(typeof v=="number"&&v>=0),O=k?(k-k%26)/26:0;var _=v%26,j=Math.min((v-_)/26,this.length),B=67108863^67108863>>>_<<_,V=P;if(O-=j,O=Math.max(0,O),V){for(var G=0;G<j;G++)V.words[G]=this.words[G];V.length=j}if(j!==0)if(this.length>j)for(this.length-=j,G=0;G<this.length;G++)this.words[G]=this.words[G+j];else this.words[0]=0,this.length=1;var Q=0;for(G=this.length-1;G>=0&&(Q!==0||G>=O);G--){var H=0|this.words[G];this.words[G]=Q<<26-_|H>>>_,Q=H&B}return V&&Q!==0&&(V.words[V.length++]=Q),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},s.prototype.ishrn=function(v,k,P){return n(this.negative===0),this.iushrn(v,k,P)},s.prototype.shln=function(v){return this.clone().ishln(v)},s.prototype.ushln=function(v){return this.clone().iushln(v)},s.prototype.shrn=function(v){return this.clone().ishrn(v)},s.prototype.ushrn=function(v){return this.clone().iushrn(v)},s.prototype.testn=function(v){n(typeof v=="number"&&v>=0);var k=v%26,P=(v-k)/26,O=1<<k;return!(this.length<=P)&&!!(this.words[P]&O)},s.prototype.imaskn=function(v){n(typeof v=="number"&&v>=0);var k=v%26,P=(v-k)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=P)return this;if(k!==0&&P++,this.length=Math.min(P,this.length),k!==0){var O=67108863^67108863>>>k<<k;this.words[this.length-1]&=O}return this._strip()},s.prototype.maskn=function(v){return this.clone().imaskn(v)},s.prototype.iaddn=function(v){return n(typeof v=="number"),n(v<67108864),v<0?this.isubn(-v):this.negative!==0?this.length===1&&(0|this.words[0])<=v?(this.words[0]=v-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(v),this.negative=1,this):this._iaddn(v)},s.prototype._iaddn=function(v){this.words[0]+=v;for(var k=0;k<this.length&&this.words[k]>=67108864;k++)this.words[k]-=67108864,k===this.length-1?this.words[k+1]=1:this.words[k+1]++;return this.length=Math.max(this.length,k+1),this},s.prototype.isubn=function(v){if(n(typeof v=="number"),n(v<67108864),v<0)return this.iaddn(-v);if(this.negative!==0)return this.negative=0,this.iaddn(v),this.negative=1,this;if(this.words[0]-=v,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var k=0;k<this.length&&this.words[k]<0;k++)this.words[k]+=67108864,this.words[k+1]-=1;return this._strip()},s.prototype.addn=function(v){return this.clone().iaddn(v)},s.prototype.subn=function(v){return this.clone().isubn(v)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(v,k,P){var O,_,j=v.length+P;this._expand(j);var B=0;for(O=0;O<v.length;O++){_=(0|this.words[O+P])+B;var V=(0|v.words[O])*k;B=((_-=67108863&V)>>26)-(V/67108864|0),this.words[O+P]=67108863&_}for(;O<this.length-P;O++)B=(_=(0|this.words[O+P])+B)>>26,this.words[O+P]=67108863&_;if(B===0)return this._strip();for(n(B===-1),B=0,O=0;O<this.length;O++)B=(_=-(0|this.words[O])+B)>>26,this.words[O]=67108863&_;return this.negative=1,this._strip()},s.prototype._wordDiv=function(v,k){var P=(this.length,v.length),O=this.clone(),_=v,j=0|_.words[_.length-1];(P=26-this._countBits(j))!==0&&(_=_.ushln(P),O.iushln(P),j=0|_.words[_.length-1]);var B,V=O.length-_.length;if(k!=="mod"){(B=new s(null)).length=V+1,B.words=new Array(B.length);for(var G=0;G<B.length;G++)B.words[G]=0}var Q=O.clone()._ishlnsubmul(_,1,V);Q.negative===0&&(O=Q,B&&(B.words[V]=1));for(var H=V-1;H>=0;H--){var q=67108864*(0|O.words[_.length+H])+(0|O.words[_.length+H-1]);for(q=Math.min(q/j|0,67108863),O._ishlnsubmul(_,q,H);O.negative!==0;)q--,O.negative=0,O._ishlnsubmul(_,1,H),O.isZero()||(O.negative^=1);B&&(B.words[H]=q)}return B&&B._strip(),O._strip(),k!=="div"&&P!==0&&O.iushrn(P),{div:B||null,mod:O}},s.prototype.divmod=function(v,k,P){return n(!v.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:this.negative!==0&&v.negative===0?(j=this.neg().divmod(v,k),k!=="mod"&&(O=j.div.neg()),k!=="div"&&(_=j.mod.neg(),P&&_.negative!==0&&_.iadd(v)),{div:O,mod:_}):this.negative===0&&v.negative!==0?(j=this.divmod(v.neg(),k),k!=="mod"&&(O=j.div.neg()),{div:O,mod:j.mod}):(this.negative&v.negative)!=0?(j=this.neg().divmod(v.neg(),k),k!=="div"&&(_=j.mod.neg(),P&&_.negative!==0&&_.isub(v)),{div:j.div,mod:_}):v.length>this.length||this.cmp(v)<0?{div:new s(0),mod:this}:v.length===1?k==="div"?{div:this.divn(v.words[0]),mod:null}:k==="mod"?{div:null,mod:new s(this.modrn(v.words[0]))}:{div:this.divn(v.words[0]),mod:new s(this.modrn(v.words[0]))}:this._wordDiv(v,k);var O,_,j},s.prototype.div=function(v){return this.divmod(v,"div",!1).div},s.prototype.mod=function(v){return this.divmod(v,"mod",!1).mod},s.prototype.umod=function(v){return this.divmod(v,"mod",!0).mod},s.prototype.divRound=function(v){var k=this.divmod(v);if(k.mod.isZero())return k.div;var P=k.div.negative!==0?k.mod.isub(v):k.mod,O=v.ushrn(1),_=v.andln(1),j=P.cmp(O);return j<0||_===1&&j===0?k.div:k.div.negative!==0?k.div.isubn(1):k.div.iaddn(1)},s.prototype.modrn=function(v){var k=v<0;k&&(v=-v),n(v<=67108863);for(var P=(1<<26)%v,O=0,_=this.length-1;_>=0;_--)O=(P*O+(0|this.words[_]))%v;return k?-O:O},s.prototype.modn=function(v){return this.modrn(v)},s.prototype.idivn=function(v){var k=v<0;k&&(v=-v),n(v<=67108863);for(var P=0,O=this.length-1;O>=0;O--){var _=(0|this.words[O])+67108864*P;this.words[O]=_/v|0,P=_%v}return this._strip(),k?this.ineg():this},s.prototype.divn=function(v){return this.clone().idivn(v)},s.prototype.egcd=function(v){n(v.negative===0),n(!v.isZero());var k=this,P=v.clone();k=k.negative!==0?k.umod(v):k.clone();for(var O=new s(1),_=new s(0),j=new s(0),B=new s(1),V=0;k.isEven()&&P.isEven();)k.iushrn(1),P.iushrn(1),++V;for(var G=P.clone(),Q=k.clone();!k.isZero();){for(var H=0,q=1;(k.words[0]&q)==0&&H<26;++H,q<<=1);if(H>0)for(k.iushrn(H);H-- >0;)(O.isOdd()||_.isOdd())&&(O.iadd(G),_.isub(Q)),O.iushrn(1),_.iushrn(1);for(var U=0,F=1;(P.words[0]&F)==0&&U<26;++U,F<<=1);if(U>0)for(P.iushrn(U);U-- >0;)(j.isOdd()||B.isOdd())&&(j.iadd(G),B.isub(Q)),j.iushrn(1),B.iushrn(1);k.cmp(P)>=0?(k.isub(P),O.isub(j),_.isub(B)):(P.isub(k),j.isub(O),B.isub(_))}return{a:j,b:B,gcd:P.iushln(V)}},s.prototype._invmp=function(v){n(v.negative===0),n(!v.isZero());var k=this,P=v.clone();k=k.negative!==0?k.umod(v):k.clone();for(var O,_=new s(1),j=new s(0),B=P.clone();k.cmpn(1)>0&&P.cmpn(1)>0;){for(var V=0,G=1;(k.words[0]&G)==0&&V<26;++V,G<<=1);if(V>0)for(k.iushrn(V);V-- >0;)_.isOdd()&&_.iadd(B),_.iushrn(1);for(var Q=0,H=1;(P.words[0]&H)==0&&Q<26;++Q,H<<=1);if(Q>0)for(P.iushrn(Q);Q-- >0;)j.isOdd()&&j.iadd(B),j.iushrn(1);k.cmp(P)>=0?(k.isub(P),_.isub(j)):(P.isub(k),j.isub(_))}return(O=k.cmpn(1)===0?_:j).cmpn(0)<0&&O.iadd(v),O},s.prototype.gcd=function(v){if(this.isZero())return v.abs();if(v.isZero())return this.abs();var k=this.clone(),P=v.clone();k.negative=0,P.negative=0;for(var O=0;k.isEven()&&P.isEven();O++)k.iushrn(1),P.iushrn(1);for(;;){for(;k.isEven();)k.iushrn(1);for(;P.isEven();)P.iushrn(1);var _=k.cmp(P);if(_<0){var j=k;k=P,P=j}else if(_===0||P.cmpn(1)===0)break;k.isub(P)}return P.iushln(O)},s.prototype.invm=function(v){return this.egcd(v).a.umod(v)},s.prototype.isEven=function(){return(1&this.words[0])==0},s.prototype.isOdd=function(){return(1&this.words[0])==1},s.prototype.andln=function(v){return this.words[0]&v},s.prototype.bincn=function(v){n(typeof v=="number");var k=v%26,P=(v-k)/26,O=1<<k;if(this.length<=P)return this._expand(P+1),this.words[P]|=O,this;for(var _=O,j=P;_!==0&&j<this.length;j++){var B=0|this.words[j];_=(B+=_)>>>26,B&=67108863,this.words[j]=B}return _!==0&&(this.words[j]=_,this.length++),this},s.prototype.isZero=function(){return this.length===1&&this.words[0]===0},s.prototype.cmpn=function(v){var k,P=v<0;if(this.negative!==0&&!P)return-1;if(this.negative===0&&P)return 1;if(this._strip(),this.length>1)k=1;else{P&&(v=-v),n(v<=67108863,"Number is too big");var O=0|this.words[0];k=O===v?0:O<v?-1:1}return this.negative!==0?0|-k:k},s.prototype.cmp=function(v){if(this.negative!==0&&v.negative===0)return-1;if(this.negative===0&&v.negative!==0)return 1;var k=this.ucmp(v);return this.negative!==0?0|-k:k},s.prototype.ucmp=function(v){if(this.length>v.length)return 1;if(this.length<v.length)return-1;for(var k=0,P=this.length-1;P>=0;P--){var O=0|this.words[P],_=0|v.words[P];if(O!==_){O<_?k=-1:O>_&&(k=1);break}}return k},s.prototype.gtn=function(v){return this.cmpn(v)===1},s.prototype.gt=function(v){return this.cmp(v)===1},s.prototype.gten=function(v){return this.cmpn(v)>=0},s.prototype.gte=function(v){return this.cmp(v)>=0},s.prototype.ltn=function(v){return this.cmpn(v)===-1},s.prototype.lt=function(v){return this.cmp(v)===-1},s.prototype.lten=function(v){return this.cmpn(v)<=0},s.prototype.lte=function(v){return this.cmp(v)<=0},s.prototype.eqn=function(v){return this.cmpn(v)===0},s.prototype.eq=function(v){return this.cmp(v)===0},s.red=function(v){return new N(v)},s.prototype.toRed=function(v){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),v.convertTo(this)._forceRed(v)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(v){return this.red=v,this},s.prototype.forceRed=function(v){return n(!this.red,"Already a number in reduction context"),this._forceRed(v)},s.prototype.redAdd=function(v){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,v)},s.prototype.redIAdd=function(v){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,v)},s.prototype.redSub=function(v){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,v)},s.prototype.redISub=function(v){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,v)},s.prototype.redShl=function(v){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,v)},s.prototype.redMul=function(v){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,v),this.red.mul(this,v)},s.prototype.redIMul=function(v){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,v),this.red.imul(this,v)},s.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(v){return n(this.red&&!v.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,v)};var T={k256:null,p224:null,p192:null,p25519:null};function M(v,k){this.name=v,this.p=new s(k,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function I(){M.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function A(){M.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function D(){M.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){M.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function N(v){if(typeof v=="string"){var k=s._prime(v);this.m=k.p,this.prime=k}else n(v.gtn(1),"modulus must be greater than 1"),this.m=v,this.prime=null}function R(v){N.call(this,v),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}M.prototype._tmp=function(){var v=new s(null);return v.words=new Array(Math.ceil(this.n/13)),v},M.prototype.ireduce=function(v){var k,P=v;do this.split(P,this.tmp),k=(P=(P=this.imulK(P)).iadd(this.tmp)).bitLength();while(k>this.n);var O=k<this.n?-1:P.ucmp(this.p);return O===0?(P.words[0]=0,P.length=1):O>0?P.isub(this.p):P.strip!==void 0?P.strip():P._strip(),P},M.prototype.split=function(v,k){v.iushrn(this.n,0,k)},M.prototype.imulK=function(v){return v.imul(this.k)},a(I,M),I.prototype.split=function(v,k){for(var P=Math.min(v.length,9),O=0;O<P;O++)k.words[O]=v.words[O];if(k.length=P,v.length<=9)return v.words[0]=0,void(v.length=1);var _=v.words[9];for(k.words[k.length++]=4194303&_,O=10;O<v.length;O++){var j=0|v.words[O];v.words[O-10]=(4194303&j)<<4|_>>>22,_=j}_>>>=22,v.words[O-10]=_,_===0&&v.length>10?v.length-=10:v.length-=9},I.prototype.imulK=function(v){v.words[v.length]=0,v.words[v.length+1]=0,v.length+=2;for(var k=0,P=0;P<v.length;P++){var O=0|v.words[P];k+=977*O,v.words[P]=67108863&k,k=64*O+(k/67108864|0)}return v.words[v.length-1]===0&&(v.length--,v.words[v.length-1]===0&&v.length--),v},a(A,M),a(D,M),a(E,M),E.prototype.imulK=function(v){for(var k=0,P=0;P<v.length;P++){var O=19*(0|v.words[P])+k,_=67108863&O;O>>>=26,v.words[P]=_,k=O}return k!==0&&(v.words[v.length++]=k),v},s._prime=function(v){if(T[v])return T[v];var k;if(v==="k256")k=new I;else if(v==="p224")k=new A;else if(v==="p192")k=new D;else{if(v!=="p25519")throw new Error("Unknown prime "+v);k=new E}return T[v]=k,k},N.prototype._verify1=function(v){n(v.negative===0,"red works only with positives"),n(v.red,"red works only with red numbers")},N.prototype._verify2=function(v,k){n((v.negative|k.negative)==0,"red works only with positives"),n(v.red&&v.red===k.red,"red works only with red numbers")},N.prototype.imod=function(v){return this.prime?this.prime.ireduce(v)._forceRed(this):(p(v,v.umod(this.m)._forceRed(this)),v)},N.prototype.neg=function(v){return v.isZero()?v.clone():this.m.sub(v)._forceRed(this)},N.prototype.add=function(v,k){this._verify2(v,k);var P=v.add(k);return P.cmp(this.m)>=0&&P.isub(this.m),P._forceRed(this)},N.prototype.iadd=function(v,k){this._verify2(v,k);var P=v.iadd(k);return P.cmp(this.m)>=0&&P.isub(this.m),P},N.prototype.sub=function(v,k){this._verify2(v,k);var P=v.sub(k);return P.cmpn(0)<0&&P.iadd(this.m),P._forceRed(this)},N.prototype.isub=function(v,k){this._verify2(v,k);var P=v.isub(k);return P.cmpn(0)<0&&P.iadd(this.m),P},N.prototype.shl=function(v,k){return this._verify1(v),this.imod(v.ushln(k))},N.prototype.imul=function(v,k){return this._verify2(v,k),this.imod(v.imul(k))},N.prototype.mul=function(v,k){return this._verify2(v,k),this.imod(v.mul(k))},N.prototype.isqr=function(v){return this.imul(v,v.clone())},N.prototype.sqr=function(v){return this.mul(v,v)},N.prototype.sqrt=function(v){if(v.isZero())return v.clone();var k=this.m.andln(3);if(n(k%2==1),k===3){var P=this.m.add(new s(1)).iushrn(2);return this.pow(v,P)}for(var O=this.m.subn(1),_=0;!O.isZero()&&O.andln(1)===0;)_++,O.iushrn(1);n(!O.isZero());var j=new s(1).toRed(this),B=j.redNeg(),V=this.m.subn(1).iushrn(1),G=this.m.bitLength();for(G=new s(2*G*G).toRed(this);this.pow(G,V).cmp(B)!==0;)G.redIAdd(B);for(var Q=this.pow(G,O),H=this.pow(v,O.addn(1).iushrn(1)),q=this.pow(v,O),U=_;q.cmp(j)!==0;){for(var F=q,K=0;F.cmp(j)!==0;K++)F=F.redSqr();n(K<U);var te=this.pow(Q,new s(1).iushln(U-K-1));H=H.redMul(te),Q=te.redSqr(),q=q.redMul(Q),U=K}return H},N.prototype.invm=function(v){var k=v._invmp(this.m);return k.negative!==0?(k.negative=0,this.imod(k).redNeg()):this.imod(k)},N.prototype.pow=function(v,k){if(k.isZero())return new s(1).toRed(this);if(k.cmpn(1)===0)return v.clone();var P=new Array(16);P[0]=new s(1).toRed(this),P[1]=v;for(var O=2;O<P.length;O++)P[O]=this.mul(P[O-1],v);var _=P[0],j=0,B=0,V=k.bitLength()%26;for(V===0&&(V=26),O=k.length-1;O>=0;O--){for(var G=k.words[O],Q=V-1;Q>=0;Q--){var H=G>>Q&1;_!==P[0]&&(_=this.sqr(_)),H!==0||j!==0?(j<<=1,j|=H,(++B===4||O===0&&Q===0)&&(_=this.mul(_,P[j]),B=0,j=0)):B=0}V=26}return _},N.prototype.convertTo=function(v){var k=v.umod(this.m);return k===v?k.clone():k},N.prototype.convertFrom=function(v){var k=v.clone();return k.red=null,k},s.mont=function(v){return new R(v)},a(R,N),R.prototype.convertTo=function(v){return this.imod(v.ushln(this.shift))},R.prototype.convertFrom=function(v){var k=this.imod(v.mul(this.rinv));return k.red=null,k},R.prototype.imul=function(v,k){if(v.isZero()||k.isZero())return v.words[0]=0,v.length=1,v;var P=v.imul(k),O=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),_=P.isub(O).iushrn(this.shift),j=_;return _.cmp(this.m)>=0?j=_.isub(this.m):_.cmpn(0)<0&&(j=_.iadd(this.m)),j._forceRed(this)},R.prototype.mul=function(v,k){if(v.isZero()||k.isZero())return new s(0)._forceRed(this);var P=v.mul(k),O=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),_=P.isub(O).iushrn(this.shift),j=_;return _.cmp(this.m)>=0?j=_.isub(this.m):_.cmpn(0)<0&&(j=_.iadd(this.m)),j._forceRed(this)},R.prototype.invm=function(v){return this.imod(v._invmp(this.m).mul(this.r2))._forceRed(this)}})(e===void 0||e)},{buffer:188}],187:[function(t,e,i){"use strict";var o;function r(a){this.rand=a}if(e.exports=function(a){return o||(o=new r(null)),o.generate(a)},e.exports.Rand=r,r.prototype.generate=function(a){return this._rand(a)},r.prototype._rand=function(a){if(this.rand.getBytes)return this.rand.getBytes(a);for(var s=new Uint8Array(a),l=0;l<s.length;l++)s[l]=this.rand.getByte();return s},typeof self=="object")self.crypto&&self.crypto.getRandomValues?r.prototype._rand=function(a){var s=new Uint8Array(a);return self.crypto.getRandomValues(s),s}:self.msCrypto&&self.msCrypto.getRandomValues?r.prototype._rand=function(a){var s=new Uint8Array(a);return self.msCrypto.getRandomValues(s),s}:typeof window=="object"&&(r.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var n=t("crypto");if(typeof n.randomBytes!="function")throw new Error("Not supported");r.prototype._rand=function(a){return n.randomBytes(a)}}catch{}},{crypto:188}],188:[function(t,e,i){},{}],189:[function(t,e,i){"use strict";var o=t("safe-buffer").Buffer;function r(d){o.isBuffer(d)||(d=o.from(d));for(var u=d.length/4|0,p=new Array(u),m=0;m<u;m++)p[m]=d.readUInt32BE(4*m);return p}function n(d){for(;0<d.length;d++)d[0]=0}function a(d,u,p,m,h){for(var f,g,b,y,w=p[0],x=p[1],S=p[2],T=p[3],M=d[0]^u[0],I=d[1]^u[1],A=d[2]^u[2],D=d[3]^u[3],E=4,N=1;N<h;N++)f=w[M>>>24]^x[I>>>16&255]^S[A>>>8&255]^T[255&D]^u[E++],g=w[I>>>24]^x[A>>>16&255]^S[D>>>8&255]^T[255&M]^u[E++],b=w[A>>>24]^x[D>>>16&255]^S[M>>>8&255]^T[255&I]^u[E++],y=w[D>>>24]^x[M>>>16&255]^S[I>>>8&255]^T[255&A]^u[E++],M=f,I=g,A=b,D=y;return f=(m[M>>>24]<<24|m[I>>>16&255]<<16|m[A>>>8&255]<<8|m[255&D])^u[E++],g=(m[I>>>24]<<24|m[A>>>16&255]<<16|m[D>>>8&255]<<8|m[255&M])^u[E++],b=(m[A>>>24]<<24|m[D>>>16&255]<<16|m[M>>>8&255]<<8|m[255&I])^u[E++],y=(m[D>>>24]<<24|m[M>>>16&255]<<16|m[I>>>8&255]<<8|m[255&A])^u[E++],[f>>>=0,g>>>=0,b>>>=0,y>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],l=(function(){for(var d=new Array(256),u=0;u<256;u++)d[u]=u<128?u<<1:u<<1^283;for(var p=[],m=[],h=[[],[],[],[]],f=[[],[],[],[]],g=0,b=0,y=0;y<256;++y){var w=b^b<<1^b<<2^b<<3^b<<4;w=w>>>8^255&w^99,p[g]=w,m[w]=g;var x=d[g],S=d[x],T=d[S],M=257*d[w]^16843008*w;h[0][g]=M<<24|M>>>8,h[1][g]=M<<16|M>>>16,h[2][g]=M<<8|M>>>24,h[3][g]=M,M=16843009*T^65537*S^257*x^16843008*g,f[0][w]=M<<24|M>>>8,f[1][w]=M<<16|M>>>16,f[2][w]=M<<8|M>>>24,f[3][w]=M,g===0?g=b=1:(g=x^d[d[d[T^x]]],b^=d[d[b]])}return{SBOX:p,INV_SBOX:m,SUB_MIX:h,INV_SUB_MIX:f}})();function c(d){this._key=r(d),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var d=this._key,u=d.length,p=u+6,m=4*(p+1),h=[],f=0;f<u;f++)h[f]=d[f];for(f=u;f<m;f++){var g=h[f-1];f%u==0?(g=g<<8|g>>>24,g=l.SBOX[g>>>24]<<24|l.SBOX[g>>>16&255]<<16|l.SBOX[g>>>8&255]<<8|l.SBOX[255&g],g^=s[f/u|0]<<24):u>6&&f%u==4&&(g=l.SBOX[g>>>24]<<24|l.SBOX[g>>>16&255]<<16|l.SBOX[g>>>8&255]<<8|l.SBOX[255&g]),h[f]=h[f-u]^g}for(var b=[],y=0;y<m;y++){var w=m-y,x=h[w-(y%4?0:4)];b[y]=y<4||w<=4?x:l.INV_SUB_MIX[0][l.SBOX[x>>>24]]^l.INV_SUB_MIX[1][l.SBOX[x>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[x>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&x]]}this._nRounds=p,this._keySchedule=h,this._invKeySchedule=b},c.prototype.encryptBlockRaw=function(d){return a(d=r(d),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},c.prototype.encryptBlock=function(d){var u=this.encryptBlockRaw(d),p=o.allocUnsafe(16);return p.writeUInt32BE(u[0],0),p.writeUInt32BE(u[1],4),p.writeUInt32BE(u[2],8),p.writeUInt32BE(u[3],12),p},c.prototype.decryptBlock=function(d){var u=(d=r(d))[1];d[1]=d[3],d[3]=u;var p=a(d,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),m=o.allocUnsafe(16);return m.writeUInt32BE(p[0],0),m.writeUInt32BE(p[3],4),m.writeUInt32BE(p[2],8),m.writeUInt32BE(p[1],12),m},c.prototype.scrub=function(){n(this._keySchedule),n(this._invKeySchedule),n(this._key)},e.exports.AES=c},{"safe-buffer":494}],190:[function(t,e,i){"use strict";var o=t("./aes"),r=t("safe-buffer").Buffer,n=t("cipher-base"),a=t("inherits"),s=t("./ghash"),l=t("buffer-xor"),c=t("./incr32");function d(u,p,m,h){n.call(this);var f=r.alloc(4,0);this._cipher=new o.AES(p);var g=this._cipher.encryptBlock(f);this._ghash=new s(g),m=(function(b,y,w){if(y.length===12)return b._finID=r.concat([y,r.from([0,0,0,1])]),r.concat([y,r.from([0,0,0,2])]);var x=new s(w),S=y.length,T=S%16;x.update(y),T&&(T=16-T,x.update(r.alloc(T,0))),x.update(r.alloc(8,0));var M=8*S,I=r.alloc(8);I.writeUIntBE(M,0,8),x.update(I),b._finID=x.state;var A=r.from(b._finID);return c(A),A})(this,m,g),this._prev=r.from(m),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=h,this._alen=0,this._len=0,this._mode=u,this._authTag=null,this._called=!1}a(d,n),d.prototype._update=function(u){if(!this._called&&this._alen){var p=16-this._alen%16;p<16&&(p=r.alloc(p,0),this._ghash.update(p))}this._called=!0;var m=this._mode.encrypt(this,u);return this._decrypt?this._ghash.update(u):this._ghash.update(m),this._len+=u.length,m},d.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var u=l(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&(function(p,m){var h=0;p.length!==m.length&&h++;for(var f=Math.min(p.length,m.length),g=0;g<f;++g)h+=p[g]^m[g];return h})(u,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=u,this._cipher.scrub()},d.prototype.getAuthTag=function(){if(this._decrypt||!r.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},d.prototype.setAuthTag=function(u){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=u},d.prototype.setAAD=function(u){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(u),this._alen+=u.length},e.exports=d},{"./aes":189,"./ghash":194,"./incr32":195,"buffer-xor":219,"cipher-base":221,inherits:440,"safe-buffer":494}],191:[function(t,e,i){"use strict";var o=t("./encrypter"),r=t("./decrypter"),n=t("./modes/list.json");i.createCipher=i.Cipher=o.createCipher,i.createCipheriv=i.Cipheriv=o.createCipheriv,i.createDecipher=i.Decipher=r.createDecipher,i.createDecipheriv=i.Decipheriv=r.createDecipheriv,i.listCiphers=i.getCiphers=function(){return Object.keys(n)}},{"./decrypter":192,"./encrypter":193,"./modes/list.json":203}],192:[function(t,e,i){"use strict";var o=t("./authCipher"),r=t("safe-buffer").Buffer,n=t("./modes"),a=t("./streamCipher"),s=t("cipher-base"),l=t("./aes"),c=t("evp_bytestokey");function d(m,h,f){s.call(this),this._cache=new u,this._last=void 0,this._cipher=new l.AES(h),this._prev=r.from(f),this._mode=m,this._autopadding=!0}function u(){this.cache=r.allocUnsafe(0)}function p(m,h,f){var g=n[m.toLowerCase()];if(!g)throw new TypeError("invalid suite type");if(typeof f=="string"&&(f=r.from(f)),g.mode!=="GCM"&&f.length!==g.iv)throw new TypeError("invalid iv length "+f.length);if(typeof h=="string"&&(h=r.from(h)),h.length!==g.key/8)throw new TypeError("invalid key length "+h.length);return g.type==="stream"?new a(g.module,h,f,!0):g.type==="auth"?new o(g.module,h,f,!0):new d(g.module,h,f)}t("inherits")(d,s),d.prototype._update=function(m){var h,f;this._cache.add(m);for(var g=[];h=this._cache.get(this._autopadding);)f=this._mode.decrypt(this,h),g.push(f);return r.concat(g)},d.prototype._final=function(){var m=this._cache.flush();if(this._autopadding)return(function(h){var f=h[15];if(f<1||f>16)throw new Error("unable to decrypt data");for(var g=-1;++g<f;)if(h[g+(16-f)]!==f)throw new Error("unable to decrypt data");if(f!==16)return h.slice(0,16-f)})(this._mode.decrypt(this,m));if(m)throw new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(m){return this._autopadding=!!m,this},u.prototype.add=function(m){this.cache=r.concat([this.cache,m])},u.prototype.get=function(m){var h;if(m){if(this.cache.length>16)return h=this.cache.slice(0,16),this.cache=this.cache.slice(16),h}else if(this.cache.length>=16)return h=this.cache.slice(0,16),this.cache=this.cache.slice(16),h;return null},u.prototype.flush=function(){if(this.cache.length)return this.cache},i.createDecipher=function(m,h){var f=n[m.toLowerCase()];if(!f)throw new TypeError("invalid suite type");var g=c(h,!1,f.key,f.iv);return p(m,g.key,g.iv)},i.createDecipheriv=p},{"./aes":189,"./authCipher":190,"./modes":202,"./streamCipher":205,"cipher-base":221,evp_bytestokey:423,inherits:440,"safe-buffer":494}],193:[function(t,e,i){"use strict";var o=t("./modes"),r=t("./authCipher"),n=t("safe-buffer").Buffer,a=t("./streamCipher"),s=t("cipher-base"),l=t("./aes"),c=t("evp_bytestokey");function d(h,f,g){s.call(this),this._cache=new p,this._cipher=new l.AES(f),this._prev=n.from(g),this._mode=h,this._autopadding=!0}t("inherits")(d,s),d.prototype._update=function(h){var f,g;this._cache.add(h);for(var b=[];f=this._cache.get();)g=this._mode.encrypt(this,f),b.push(g);return n.concat(b)};var u=n.alloc(16,16);function p(){this.cache=n.allocUnsafe(0)}function m(h,f,g){var b=o[h.toLowerCase()];if(!b)throw new TypeError("invalid suite type");if(typeof f=="string"&&(f=n.from(f)),f.length!==b.key/8)throw new TypeError("invalid key length "+f.length);if(typeof g=="string"&&(g=n.from(g)),b.mode!=="GCM"&&g.length!==b.iv)throw new TypeError("invalid iv length "+g.length);return b.type==="stream"?new a(b.module,f,g):b.type==="auth"?new r(b.module,f,g):new d(b.module,f,g)}d.prototype._final=function(){var h=this._cache.flush();if(this._autopadding)return h=this._mode.encrypt(this,h),this._cipher.scrub(),h;if(!h.equals(u))throw this._cipher.scrub(),new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(h){return this._autopadding=!!h,this},p.prototype.add=function(h){this.cache=n.concat([this.cache,h])},p.prototype.get=function(){if(this.cache.length>15){var h=this.cache.slice(0,16);return this.cache=this.cache.slice(16),h}return null},p.prototype.flush=function(){for(var h=16-this.cache.length,f=n.allocUnsafe(h),g=-1;++g<h;)f.writeUInt8(h,g);return n.concat([this.cache,f])},i.createCipheriv=m,i.createCipher=function(h,f){var g=o[h.toLowerCase()];if(!g)throw new TypeError("invalid suite type");var b=c(f,!1,g.key,g.iv);return m(h,b.key,b.iv)}},{"./aes":189,"./authCipher":190,"./modes":202,"./streamCipher":205,"cipher-base":221,evp_bytestokey:423,inherits:440,"safe-buffer":494}],194:[function(t,e,i){"use strict";var o=t("safe-buffer").Buffer,r=o.alloc(16,0);function n(s){var l=o.allocUnsafe(16);return l.writeUInt32BE(s[0]>>>0,0),l.writeUInt32BE(s[1]>>>0,4),l.writeUInt32BE(s[2]>>>0,8),l.writeUInt32BE(s[3]>>>0,12),l}function a(s){this.h=s,this.state=o.alloc(16,0),this.cache=o.allocUnsafe(0)}a.prototype.ghash=function(s){for(var l=-1;++l<s.length;)this.state[l]^=s[l];this._multiply()},a.prototype._multiply=function(){for(var s,l,c,d=[(s=this.h).readUInt32BE(0),s.readUInt32BE(4),s.readUInt32BE(8),s.readUInt32BE(12)],u=[0,0,0,0],p=-1;++p<128;){for((this.state[~~(p/8)]&1<<7-p%8)!=0&&(u[0]^=d[0],u[1]^=d[1],u[2]^=d[2],u[3]^=d[3]),c=(1&d[3])!=0,l=3;l>0;l--)d[l]=d[l]>>>1|(1&d[l-1])<<31;d[0]=d[0]>>>1,c&&(d[0]=d[0]^225<<24)}this.state=n(u)},a.prototype.update=function(s){var l;for(this.cache=o.concat([this.cache,s]);this.cache.length>=16;)l=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(l)},a.prototype.final=function(s,l){return this.cache.length&&this.ghash(o.concat([this.cache,r],16)),this.ghash(n([0,s,0,l])),this.state},e.exports=a},{"safe-buffer":494}],195:[function(t,e,i){"use strict";e.exports=function(o){for(var r,n=o.length;n--;){if((r=o.readUInt8(n))!==255){r++,o.writeUInt8(r,n);break}o.writeUInt8(0,n)}}},{}],196:[function(t,e,i){"use strict";var o=t("buffer-xor");i.encrypt=function(r,n){var a=o(n,r._prev);return r._prev=r._cipher.encryptBlock(a),r._prev},i.decrypt=function(r,n){var a=r._prev;r._prev=n;var s=r._cipher.decryptBlock(n);return o(s,a)}},{"buffer-xor":219}],197:[function(t,e,i){"use strict";var o=t("safe-buffer").Buffer,r=t("buffer-xor");function n(a,s,l){var c=s.length,d=r(s,a._cache);return a._cache=a._cache.slice(c),a._prev=o.concat([a._prev,l?s:d]),d}i.encrypt=function(a,s,l){for(var c,d=o.allocUnsafe(0);s.length;){if(a._cache.length===0&&(a._cache=a._cipher.encryptBlock(a._prev),a._prev=o.allocUnsafe(0)),!(a._cache.length<=s.length)){d=o.concat([d,n(a,s,l)]);break}c=a._cache.length,d=o.concat([d,n(a,s.slice(0,c),l)]),s=s.slice(c)}return d}},{"buffer-xor":219,"safe-buffer":494}],198:[function(t,e,i){"use strict";var o=t("safe-buffer").Buffer;function r(a,s,l){for(var c,d,u=-1,p=0;++u<8;)c=s&1<<7-u?128:0,p+=(128&(d=a._cipher.encryptBlock(a._prev)[0]^c))>>u%8,a._prev=n(a._prev,l?c:d);return p}function n(a,s){var l=a.length,c=-1,d=o.allocUnsafe(a.length);for(a=o.concat([a,o.from([s])]);++c<l;)d[c]=a[c]<<1|a[c+1]>>7;return d}i.encrypt=function(a,s,l){for(var c=s.length,d=o.allocUnsafe(c),u=-1;++u<c;)d[u]=r(a,s[u],l);return d}},{"safe-buffer":494}],199:[function(t,e,i){"use strict";var o=t("safe-buffer").Buffer;function r(n,a,s){var l=n._cipher.encryptBlock(n._prev)[0]^a;return n._prev=o.concat([n._prev.slice(1),o.from([s?a:l])]),l}i.encrypt=function(n,a,s){for(var l=a.length,c=o.allocUnsafe(l),d=-1;++d<l;)c[d]=r(n,a[d],s);return c}},{"safe-buffer":494}],200:[function(t,e,i){"use strict";var o=t("buffer-xor"),r=t("safe-buffer").Buffer,n=t("../incr32");function a(s){var l=s._cipher.encryptBlockRaw(s._prev);return n(s._prev),l}i.encrypt=function(s,l){var c=Math.ceil(l.length/16),d=s._cache.length;s._cache=r.concat([s._cache,r.allocUnsafe(16*c)]);for(var u=0;u<c;u++){var p=a(s),m=d+16*u;s._cache.writeUInt32BE(p[0],m+0),s._cache.writeUInt32BE(p[1],m+4),s._cache.writeUInt32BE(p[2],m+8),s._cache.writeUInt32BE(p[3],m+12)}var h=s._cache.slice(0,l.length);return s._cache=s._cache.slice(l.length),o(l,h)}},{"../incr32":195,"buffer-xor":219,"safe-buffer":494}],201:[function(t,e,i){"use strict";i.encrypt=function(o,r){return o._cipher.encryptBlock(r)},i.decrypt=function(o,r){return o._cipher.decryptBlock(r)}},{}],202:[function(t,e,i){"use strict";var o={ECB:t("./ecb"),CBC:t("./cbc"),CFB:t("./cfb"),CFB8:t("./cfb8"),CFB1:t("./cfb1"),OFB:t("./ofb"),CTR:t("./ctr"),GCM:t("./ctr")},r=t("./list.json");for(var n in r)r[n].module=o[r[n].mode];e.exports=r},{"./cbc":196,"./cfb":197,"./cfb1":198,"./cfb8":199,"./ctr":200,"./ecb":201,"./list.json":203,"./ofb":204}],203:[function(t,e,i){e.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}},{}],204:[function(t,e,i){(function(o){(function(){"use strict";var r=t("buffer-xor");function n(a){return a._prev=a._cipher.encryptBlock(a._prev),a._prev}i.encrypt=function(a,s){for(;a._cache.length<s.length;)a._cache=o.concat([a._cache,n(a)]);var l=a._cache.slice(0,s.length);return a._cache=a._cache.slice(s.length),r(s,l)}}).call(this)}).call(this,t("buffer").Buffer)},{buffer:220,"buffer-xor":219}],205:[function(t,e,i){"use strict";var o=t("./aes"),r=t("safe-buffer").Buffer,n=t("cipher-base");function a(s,l,c,d){n.call(this),this._cipher=new o.AES(l),this._prev=r.from(c),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=d,this._mode=s}t("inherits")(a,n),a.prototype._update=function(s){return this._mode.encrypt(this,s,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},e.exports=a},{"./aes":189,"cipher-base":221,inherits:440,"safe-buffer":494}],206:[function(t,e,i){"use strict";var o=t("browserify-des"),r=t("browserify-aes/browser"),n=t("browserify-aes/modes"),a=t("browserify-des/modes"),s=t("evp_bytestokey");function l(d,u,p){if(d=d.toLowerCase(),n[d])return r.createCipheriv(d,u,p);if(a[d])return new o({key:u,iv:p,mode:d});throw new TypeError("invalid suite type")}function c(d,u,p){if(d=d.toLowerCase(),n[d])return r.createDecipheriv(d,u,p);if(a[d])return new o({key:u,iv:p,mode:d,decrypt:!0});throw new TypeError("invalid suite type")}i.createCipher=i.Cipher=function(d,u){var p,m;if(d=d.toLowerCase(),n[d])p=n[d].key,m=n[d].iv;else{if(!a[d])throw new TypeError("invalid suite type");p=8*a[d].key,m=a[d].iv}var h=s(u,!1,p,m);return l(d,h.key,h.iv)},i.createCipheriv=i.Cipheriv=l,i.createDecipher=i.Decipher=function(d,u){var p,m;if(d=d.toLowerCase(),n[d])p=n[d].key,m=n[d].iv;else{if(!a[d])throw new TypeError("invalid suite type");p=8*a[d].key,m=a[d].iv}var h=s(u,!1,p,m);return c(d,h.key,h.iv)},i.createDecipheriv=i.Decipheriv=c,i.listCiphers=i.getCiphers=function(){return Object.keys(a).concat(r.getCiphers())}},{"browserify-aes/browser":191,"browserify-aes/modes":202,"browserify-des":207,"browserify-des/modes":208,evp_bytestokey:423}],207:[function(t,e,i){"use strict";var o=t("cipher-base"),r=t("des.js"),n=t("inherits"),a=t("safe-buffer").Buffer,s={"des-ede3-cbc":r.CBC.instantiate(r.EDE),"des-ede3":r.EDE,"des-ede-cbc":r.CBC.instantiate(r.EDE),"des-ede":r.EDE,"des-cbc":r.CBC.instantiate(r.DES),"des-ecb":r.DES};function l(c){o.call(this);var d,u=c.mode.toLowerCase(),p=s[u];d=c.decrypt?"decrypt":"encrypt";var m=c.key;a.isBuffer(m)||(m=a.from(m)),u!=="des-ede"&&u!=="des-ede-cbc"||(m=a.concat([m,m.slice(0,8)]));var h=c.iv;a.isBuffer(h)||(h=a.from(h)),this._des=p.create({key:m,iv:h,type:d})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],e.exports=l,n(l,o),l.prototype._update=function(c){return a.from(this._des.update(c))},l.prototype._final=function(){return a.from(this._des.final())}},{"cipher-base":221,"des.js":394,inherits:440,"safe-buffer":494}],208:[function(t,e,i){"use strict";i["des-ecb"]={key:8,iv:0},i["des-cbc"]=i.des={key:8,iv:8},i["des-ede3-cbc"]=i.des3={key:24,iv:8},i["des-ede3"]={key:24,iv:0},i["des-ede-cbc"]={key:16,iv:8},i["des-ede"]={key:16,iv:0}},{}],209:[function(t,e,i){(function(o){(function(){"use strict";var r=t("bn.js"),n=t("randombytes");function a(l){var c,d=l.modulus.byteLength();do c=new r(n(d));while(c.cmp(l.modulus)>=0||!c.umod(l.prime1)||!c.umod(l.prime2));return c}function s(l,c){var d=(function(S){var T=a(S);return{blinder:T.toRed(r.mont(S.modulus)).redPow(new r(S.publicExponent)).fromRed(),unblinder:T.invm(S.modulus)}})(c),u=c.modulus.byteLength(),p=new r(l).mul(d.blinder).umod(c.modulus),m=p.toRed(r.mont(c.prime1)),h=p.toRed(r.mont(c.prime2)),f=c.coefficient,g=c.prime1,b=c.prime2,y=m.redPow(c.exponent1).fromRed(),w=h.redPow(c.exponent2).fromRed(),x=y.isub(w).imul(f).umod(g).imul(b);return w.iadd(x).imul(d.unblinder).umod(c.modulus).toArrayLike(o,"be",u)}s.getr=a,e.exports=s}).call(this)}).call(this,t("buffer").Buffer)},{"bn.js":186,buffer:220,randombytes:475}],210:[function(t,e,i){"use strict";e.exports=t("./browser/algorithms.json")},{"./browser/algorithms.json":211}],211:[function(t,e,i){e.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},{}],212:[function(t,e,i){e.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},{}],213:[function(t,e,i){"use strict";var o=t("safe-buffer").Buffer,r=t("create-hash"),n=t("readable-stream"),a=t("inherits"),s=t("./sign"),l=t("./verify"),c=t("./algorithms.json");function d(h){n.Writable.call(this);var f=c[h];if(!f)throw new Error("Unknown message digest");this._hashType=f.hash,this._hash=r(f.hash),this._tag=f.id,this._signType=f.sign}function u(h){n.Writable.call(this);var f=c[h];if(!f)throw new Error("Unknown message digest");this._hash=r(f.hash),this._tag=f.id,this._signType=f.sign}function p(h){return new d(h)}function m(h){return new u(h)}Object.keys(c).forEach((function(h){c[h].id=o.from(c[h].id,"hex"),c[h.toLowerCase()]=c[h]})),a(d,n.Writable),d.prototype._write=function(h,f,g){this._hash.update(h),g()},d.prototype.update=function(h,f){return typeof h=="string"&&(h=o.from(h,f)),this._hash.update(h),this},d.prototype.sign=function(h,f){this.end();var g=this._hash.digest(),b=s(g,h,this._hashType,this._signType,this._tag);return f?b.toString(f):b},a(u,n.Writable),u.prototype._write=function(h,f,g){this._hash.update(h),g()},u.prototype.update=function(h,f){return typeof h=="string"&&(h=o.from(h,f)),this._hash.update(h),this},u.prototype.verify=function(h,f,g){typeof f=="string"&&(f=o.from(f,g)),this.end();var b=this._hash.digest();return l(f,b,h,this._signType,this._tag)},e.exports={Sign:p,Verify:m,createSign:p,createVerify:m}},{"./algorithms.json":211,"./sign":214,"./verify":215,"create-hash":386,inherits:440,"readable-stream":491,"safe-buffer":494}],214:[function(t,e,i){"use strict";var o=t("safe-buffer").Buffer,r=t("create-hmac"),n=t("browserify-rsa"),a=t("elliptic").ec,s=t("bn.js"),l=t("parse-asn1"),c=t("./curves.json");function d(h,f,g,b){if((h=o.from(h.toArray())).length<f.byteLength()){var y=o.alloc(f.byteLength()-h.length);h=o.concat([y,h])}var w=g.length,x=(function(M,I){M=(M=u(M,I)).mod(I);var A=o.from(M.toArray());if(A.length<I.byteLength()){var D=o.alloc(I.byteLength()-A.length);A=o.concat([D,A])}return A})(g,f),S=o.alloc(w);S.fill(1);var T=o.alloc(w);return T=r(b,T).update(S).update(o.from([0])).update(h).update(x).digest(),S=r(b,T).update(S).digest(),{k:T=r(b,T).update(S).update(o.from([1])).update(h).update(x).digest(),v:S=r(b,T).update(S).digest()}}function u(h,f){var g=new s(h),b=(h.length<<3)-f.bitLength();return b>0&&g.ishrn(b),g}function p(h,f,g){var b,y;do{for(b=o.alloc(0);8*b.length<h.bitLength();)f.v=r(g,f.k).update(f.v).digest(),b=o.concat([b,f.v]);y=u(b,h),f.k=r(g,f.k).update(f.v).update(o.from([0])).digest(),f.v=r(g,f.k).update(f.v).digest()}while(y.cmp(h)!==-1);return y}function m(h,f,g,b){return h.toRed(s.mont(g)).redPow(f).fromRed().mod(b)}e.exports=function(h,f,g,b,y){var w=l(f);if(w.curve){if(b!=="ecdsa"&&b!=="ecdsa/rsa")throw new Error("wrong private key type");return(function(M,I){var A=c[I.curve.join(".")];if(!A)throw new Error("unknown curve "+I.curve.join("."));var D=new a(A).keyFromPrivate(I.privateKey).sign(M);return o.from(D.toDER())})(h,w)}if(w.type==="dsa"){if(b!=="dsa")throw new Error("wrong private key type");return(function(M,I,A){for(var D,E=I.params.priv_key,N=I.params.p,R=I.params.q,v=I.params.g,k=new s(0),P=u(M,R).mod(R),O=!1,_=d(E,R,M,A);O===!1;)D=p(R,_,A),k=m(v,D,N,R),(O=D.invm(R).imul(P.add(E.mul(k))).mod(R)).cmpn(0)===0&&(O=!1,k=new s(0));return(function(j,B){j=j.toArray(),B=B.toArray(),128&j[0]&&(j=[0].concat(j)),128&B[0]&&(B=[0].concat(B));var V=[48,j.length+B.length+4,2,j.length];return V=V.concat(j,[2,B.length],B),o.from(V)})(k,O)})(h,w,g)}if(b!=="rsa"&&b!=="ecdsa/rsa")throw new Error("wrong private key type");h=o.concat([y,h]);for(var x=w.modulus.byteLength(),S=[0,1];h.length+S.length+1<x;)S.push(255);S.push(0);for(var T=-1;++T<h.length;)S.push(h[T]);return n(S,w)},e.exports.getKey=d,e.exports.makeKey=p},{"./curves.json":212,"bn.js":186,"browserify-rsa":209,"create-hmac":388,elliptic:405,"parse-asn1":459,"safe-buffer":494}],215:[function(t,e,i){"use strict";var o=t("safe-buffer").Buffer,r=t("bn.js"),n=t("elliptic").ec,a=t("parse-asn1"),s=t("./curves.json");function l(c,d){if(c.cmpn(0)<=0)throw new Error("invalid sig");if(c.cmp(d)>=d)throw new Error("invalid sig")}e.exports=function(c,d,u,p,m){var h=a(u);if(h.type==="ec"){if(p!=="ecdsa"&&p!=="ecdsa/rsa")throw new Error("wrong public key type");return(function(S,T,M){var I=s[M.data.algorithm.curve.join(".")];if(!I)throw new Error("unknown curve "+M.data.algorithm.curve.join("."));var A=new n(I),D=M.data.subjectPrivateKey.data;return A.verify(T,S,D)})(c,d,h)}if(h.type==="dsa"){if(p!=="dsa")throw new Error("wrong public key type");return(function(S,T,M){var I=M.data.p,A=M.data.q,D=M.data.g,E=M.data.pub_key,N=a.signature.decode(S,"der"),R=N.s,v=N.r;l(R,A),l(v,A);var k=r.mont(I),P=R.invm(A);return D.toRed(k).redPow(new r(T).mul(P).mod(A)).fromRed().mul(E.toRed(k).redPow(v.mul(P).mod(A)).fromRed()).mod(I).mod(A).cmp(v)===0})(c,d,h)}if(p!=="rsa"&&p!=="ecdsa/rsa")throw new Error("wrong public key type");d=o.concat([m,d]);for(var f=h.modulus.byteLength(),g=[1],b=0;d.length+g.length+2<f;)g.push(255),b++;g.push(0);for(var y=-1;++y<d.length;)g.push(d[y]);g=o.from(g);var w=r.mont(h.modulus);c=(c=new r(c).toRed(w)).redPow(new r(h.publicExponent)),c=o.from(c.fromRed().toArray());var x=b<8?1:0;for(f=Math.min(c.length,g.length),c.length!==g.length&&(x=1),y=-1;++y<f;)x|=c[y]^g[y];return x===0}},{"./curves.json":212,"bn.js":186,elliptic:405,"parse-asn1":459,"safe-buffer":494}],216:[function(t,e,i){},{}],217:[function(t,e,i){"use strict";var o=t("buffer"),r=o.Buffer;function n(s,l){for(var c in s)l[c]=s[c]}function a(s,l,c){return r(s,l,c)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=o:(n(o,i),i.Buffer=a),n(r,a),a.from=function(s,l,c){if(typeof s=="number")throw new TypeError("Argument must not be a number");return r(s,l,c)},a.alloc=function(s,l,c){if(typeof s!="number")throw new TypeError("Argument must be a number");var d=r(s);return l!==void 0?typeof c=="string"?d.fill(l,c):d.fill(l):d.fill(0),d},a.allocUnsafe=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return r(s)},a.allocUnsafeSlow=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return o.SlowBuffer(s)}},{buffer:220}],218:[function(t,e,i){"use strict";var o=t("safe-buffer").Buffer,r=o.isEncoding||function(h){switch((h=""+h)&&h.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function n(h){var f;switch(this.encoding=(function(g){var b=(function(y){if(!y)return"utf8";for(var w;;)switch(y){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return y;default:if(w)return;y=(""+y).toLowerCase(),w=!0}})(g);if(typeof b!="string"&&(o.isEncoding===r||!r(g)))throw new Error("Unknown encoding: "+g);return b||g})(h),this.encoding){case"utf16le":this.text=l,this.end=c,f=4;break;case"utf8":this.fillLast=s,f=4;break;case"base64":this.text=d,this.end=u,f=3;break;default:return this.write=p,void(this.end=m)}this.lastNeed=0,this.lastTotal=0,this.lastChar=o.allocUnsafe(f)}function a(h){return h<=127?0:h>>5==6?2:h>>4==14?3:h>>3==30?4:h>>6==2?-1:-2}function s(h){var f=this.lastTotal-this.lastNeed,g=(function(b,y,w){if((192&y[0])!=128)return b.lastNeed=0,"\uFFFD";if(b.lastNeed>1&&y.length>1){if((192&y[1])!=128)return b.lastNeed=1,"\uFFFD";if(b.lastNeed>2&&y.length>2&&(192&y[2])!=128)return b.lastNeed=2,"\uFFFD"}})(this,h);return g!==void 0?g:this.lastNeed<=h.length?(h.copy(this.lastChar,f,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(h.copy(this.lastChar,f,0,h.length),void(this.lastNeed-=h.length))}function l(h,f){if((h.length-f)%2==0){var g=h.toString("utf16le",f);if(g){var b=g.charCodeAt(g.length-1);if(b>=55296&&b<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1],g.slice(0,-1)}return g}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=h[h.length-1],h.toString("utf16le",f,h.length-1)}function c(h){var f=h&&h.length?this.write(h):"";if(this.lastNeed){var g=this.lastTotal-this.lastNeed;return f+this.lastChar.toString("utf16le",0,g)}return f}function d(h,f){var g=(h.length-f)%3;return g===0?h.toString("base64",f):(this.lastNeed=3-g,this.lastTotal=3,g===1?this.lastChar[0]=h[h.length-1]:(this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1]),h.toString("base64",f,h.length-g))}function u(h){var f=h&&h.length?this.write(h):"";return this.lastNeed?f+this.lastChar.toString("base64",0,3-this.lastNeed):f}function p(h){return h.toString(this.encoding)}function m(h){return h&&h.length?this.write(h):""}i.StringDecoder=n,n.prototype.write=function(h){if(h.length===0)return"";var f,g;if(this.lastNeed){if((f=this.fillLast(h))===void 0)return"";g=this.lastNeed,this.lastNeed=0}else g=0;return g<h.length?f?f+this.text(h,g):this.text(h,g):f||""},n.prototype.end=function(h){var f=h&&h.length?this.write(h):"";return this.lastNeed?f+"\uFFFD":f},n.prototype.text=function(h,f){var g=(function(y,w,x){var S=w.length-1;if(S<x)return 0;var T=a(w[S]);return T>=0?(T>0&&(y.lastNeed=T-1),T):--S<x||T===-2?0:(T=a(w[S]))>=0?(T>0&&(y.lastNeed=T-2),T):--S<x||T===-2?0:(T=a(w[S]))>=0?(T>0&&(T===2?T=0:y.lastNeed=T-3),T):0})(this,h,f);if(!this.lastNeed)return h.toString("utf8",f);this.lastTotal=g;var b=h.length-(g-this.lastNeed);return h.copy(this.lastChar,0,b),h.toString("utf8",f,b)},n.prototype.fillLast=function(h){if(this.lastNeed<=h.length)return h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,h.length),this.lastNeed-=h.length}},{"safe-buffer":217}],219:[function(t,e,i){(function(o){(function(){"use strict";e.exports=function(r,n){for(var a=Math.min(r.length,n.length),s=new o(a),l=0;l<a;++l)s[l]=r[l]^n[l];return s}}).call(this)}).call(this,t("buffer").Buffer)},{buffer:220}],220:[function(t,e,i){(function(o){(function(){"use strict";var r=t("base64-js"),n=t("ieee754");i.Buffer=s,i.SlowBuffer=function(U){return+U!=U&&(U=0),s.alloc(+U)},i.INSPECT_MAX_BYTES=50;function a(U){if(U>2147483647)throw new RangeError('The value "'+U+'" is invalid for option "size"');var F=new Uint8Array(U);return F.__proto__=s.prototype,F}function s(U,F,K){if(typeof U=="number"){if(typeof F=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return d(U)}return l(U,F,K)}function l(U,F,K){if(typeof U=="string")return(function(pe,Z){if(typeof Z=="string"&&Z!==""||(Z="utf8"),!s.isEncoding(Z))throw new TypeError("Unknown encoding: "+Z);var ee=0|m(pe,Z),ce=a(ee),ne=ce.write(pe,Z);return ne!==ee&&(ce=ce.slice(0,ne)),ce})(U,F);if(ArrayBuffer.isView(U))return u(U);if(U==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof U);if(H(U,ArrayBuffer)||U&&H(U.buffer,ArrayBuffer))return(function(pe,Z,ee){if(Z<0||pe.byteLength<Z)throw new RangeError('"offset" is outside of buffer bounds');if(pe.byteLength<Z+(ee||0))throw new RangeError('"length" is outside of buffer bounds');var ce;return ce=Z===void 0&&ee===void 0?new Uint8Array(pe):ee===void 0?new Uint8Array(pe,Z):new Uint8Array(pe,Z,ee),ce.__proto__=s.prototype,ce})(U,F,K);if(typeof U=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var te=U.valueOf&&U.valueOf();if(te!=null&&te!==U)return s.from(te,F,K);var ae=(function(pe){if(s.isBuffer(pe)){var Z=0|p(pe.length),ee=a(Z);return ee.length===0||pe.copy(ee,0,0,Z),ee}if(pe.length!==void 0)return typeof pe.length!="number"||q(pe.length)?a(0):u(pe);if(pe.type==="Buffer"&&Array.isArray(pe.data))return u(pe.data)})(U);if(ae)return ae;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof U[Symbol.toPrimitive]=="function")return s.from(U[Symbol.toPrimitive]("string"),F,K);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof U)}function c(U){if(typeof U!="number")throw new TypeError('"size" argument must be of type number');if(U<0)throw new RangeError('The value "'+U+'" is invalid for option "size"')}function d(U){return c(U),a(U<0?0:0|p(U))}function u(U){for(var F=U.length<0?0:0|p(U.length),K=a(F),te=0;te<F;te+=1)K[te]=255&U[te];return K}function p(U){if(U>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|U}function m(U,F){if(s.isBuffer(U))return U.length;if(ArrayBuffer.isView(U)||H(U,ArrayBuffer))return U.byteLength;if(typeof U!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof U);var K=U.length,te=arguments.length>2&&arguments[2]===!0;if(!te&&K===0)return 0;for(var ae=!1;;)switch(F){case"ascii":case"latin1":case"binary":return K;case"utf8":case"utf-8":return V(U).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*K;case"hex":return K>>>1;case"base64":return G(U).length;default:if(ae)return te?-1:V(U).length;F=(""+F).toLowerCase(),ae=!0}}function h(U,F,K){var te=!1;if((F===void 0||F<0)&&(F=0),F>this.length||((K===void 0||K>this.length)&&(K=this.length),K<=0)||(K>>>=0)<=(F>>>=0))return"";for(U||(U="utf8");;)switch(U){case"hex":return N(this,F,K);case"utf8":case"utf-8":return A(this,F,K);case"ascii":return D(this,F,K);case"latin1":case"binary":return E(this,F,K);case"base64":return I(this,F,K);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,F,K);default:if(te)throw new TypeError("Unknown encoding: "+U);U=(U+"").toLowerCase(),te=!0}}function f(U,F,K){var te=U[F];U[F]=U[K],U[K]=te}function g(U,F,K,te,ae){if(U.length===0)return-1;if(typeof K=="string"?(te=K,K=0):K>2147483647?K=2147483647:K<-2147483648&&(K=-2147483648),q(K=+K)&&(K=ae?0:U.length-1),K<0&&(K=U.length+K),K>=U.length){if(ae)return-1;K=U.length-1}else if(K<0){if(!ae)return-1;K=0}if(typeof F=="string"&&(F=s.from(F,te)),s.isBuffer(F))return F.length===0?-1:b(U,F,K,te,ae);if(typeof F=="number")return F&=255,typeof Uint8Array.prototype.indexOf=="function"?ae?Uint8Array.prototype.indexOf.call(U,F,K):Uint8Array.prototype.lastIndexOf.call(U,F,K):b(U,[F],K,te,ae);throw new TypeError("val must be string, number or Buffer")}function b(U,F,K,te,ae){var pe,Z=1,ee=U.length,ce=F.length;if(te!==void 0&&((te=String(te).toLowerCase())==="ucs2"||te==="ucs-2"||te==="utf16le"||te==="utf-16le")){if(U.length<2||F.length<2)return-1;Z=2,ee/=2,ce/=2,K/=2}function ne(X,ie){return Z===1?X[ie]:X.readUInt16BE(ie*Z)}if(ae){var oe=-1;for(pe=K;pe<ee;pe++)if(ne(U,pe)===ne(F,oe===-1?0:pe-oe)){if(oe===-1&&(oe=pe),pe-oe+1===ce)return oe*Z}else oe!==-1&&(pe-=pe-oe),oe=-1}else for(K+ce>ee&&(K=ee-ce),pe=K;pe>=0;pe--){for(var re=!0,Y=0;Y<ce;Y++)if(ne(U,pe+Y)!==ne(F,Y)){re=!1;break}if(re)return pe}return-1}function y(U,F,K,te){K=Number(K)||0;var ae=U.length-K;te?(te=Number(te))>ae&&(te=ae):te=ae;var pe=F.length;te>pe/2&&(te=pe/2);for(var Z=0;Z<te;++Z){var ee=parseInt(F.substr(2*Z,2),16);if(q(ee))return Z;U[K+Z]=ee}return Z}function w(U,F,K,te){return Q(V(F,U.length-K),U,K,te)}function x(U,F,K,te){return Q((function(ae){for(var pe=[],Z=0;Z<ae.length;++Z)pe.push(255&ae.charCodeAt(Z));return pe})(F),U,K,te)}function S(U,F,K,te){return x(U,F,K,te)}function T(U,F,K,te){return Q(G(F),U,K,te)}function M(U,F,K,te){return Q((function(ae,pe){for(var Z,ee,ce,ne=[],oe=0;oe<ae.length&&!((pe-=2)<0);++oe)Z=ae.charCodeAt(oe),ee=Z>>8,ce=Z%256,ne.push(ce),ne.push(ee);return ne})(F,U.length-K),U,K,te)}function I(U,F,K){return F===0&&K===U.length?r.fromByteArray(U):r.fromByteArray(U.slice(F,K))}function A(U,F,K){K=Math.min(U.length,K);for(var te=[],ae=F;ae<K;){var pe,Z,ee,ce,ne=U[ae],oe=null,re=ne>239?4:ne>223?3:ne>191?2:1;if(ae+re<=K)switch(re){case 1:ne<128&&(oe=ne);break;case 2:(192&(pe=U[ae+1]))==128&&(ce=(31&ne)<<6|63&pe)>127&&(oe=ce);break;case 3:pe=U[ae+1],Z=U[ae+2],(192&pe)==128&&(192&Z)==128&&(ce=(15&ne)<<12|(63&pe)<<6|63&Z)>2047&&(ce<55296||ce>57343)&&(oe=ce);break;case 4:pe=U[ae+1],Z=U[ae+2],ee=U[ae+3],(192&pe)==128&&(192&Z)==128&&(192&ee)==128&&(ce=(15&ne)<<18|(63&pe)<<12|(63&Z)<<6|63&ee)>65535&&ce<1114112&&(oe=ce)}oe===null?(oe=65533,re=1):oe>65535&&(oe-=65536,te.push(oe>>>10&1023|55296),oe=56320|1023&oe),te.push(oe),ae+=re}return(function(Y){var X=Y.length;if(X<=4096)return String.fromCharCode.apply(String,Y);for(var ie="",de=0;de<X;)ie+=String.fromCharCode.apply(String,Y.slice(de,de+=4096));return ie})(te)}i.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=(function(){try{var U=new Uint8Array(1);return U.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},U.foo()===42}catch{return!1}})(),s.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),typeof Symbol<"u"&&Symbol.species!=null&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),s.poolSize=8192,s.from=function(U,F,K){return l(U,F,K)},s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,s.alloc=function(U,F,K){return(function(te,ae,pe){return c(te),te<=0?a(te):ae!==void 0?typeof pe=="string"?a(te).fill(ae,pe):a(te).fill(ae):a(te)})(U,F,K)},s.allocUnsafe=function(U){return d(U)},s.allocUnsafeSlow=function(U){return d(U)},s.isBuffer=function(U){return U!=null&&U._isBuffer===!0&&U!==s.prototype},s.compare=function(U,F){if(H(U,Uint8Array)&&(U=s.from(U,U.offset,U.byteLength)),H(F,Uint8Array)&&(F=s.from(F,F.offset,F.byteLength)),!s.isBuffer(U)||!s.isBuffer(F))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(U===F)return 0;for(var K=U.length,te=F.length,ae=0,pe=Math.min(K,te);ae<pe;++ae)if(U[ae]!==F[ae]){K=U[ae],te=F[ae];break}return K<te?-1:te<K?1:0},s.isEncoding=function(U){switch(String(U).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(U,F){if(!Array.isArray(U))throw new TypeError('"list" argument must be an Array of Buffers');if(U.length===0)return s.alloc(0);var K;if(F===void 0)for(F=0,K=0;K<U.length;++K)F+=U[K].length;var te=s.allocUnsafe(F),ae=0;for(K=0;K<U.length;++K){var pe=U[K];if(H(pe,Uint8Array)&&(pe=s.from(pe)),!s.isBuffer(pe))throw new TypeError('"list" argument must be an Array of Buffers');pe.copy(te,ae),ae+=pe.length}return te},s.byteLength=m,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var U=this.length;if(U%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var F=0;F<U;F+=2)f(this,F,F+1);return this},s.prototype.swap32=function(){var U=this.length;if(U%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var F=0;F<U;F+=4)f(this,F,F+3),f(this,F+1,F+2);return this},s.prototype.swap64=function(){var U=this.length;if(U%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var F=0;F<U;F+=8)f(this,F,F+7),f(this,F+1,F+6),f(this,F+2,F+5),f(this,F+3,F+4);return this},s.prototype.toString=function(){var U=this.length;return U===0?"":arguments.length===0?A(this,0,U):h.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(U){if(!s.isBuffer(U))throw new TypeError("Argument must be a Buffer");return this===U||s.compare(this,U)===0},s.prototype.inspect=function(){var U="",F=i.INSPECT_MAX_BYTES;return U=this.toString("hex",0,F).replace(/(.{2})/g,"$1 ").trim(),this.length>F&&(U+=" ... "),"<Buffer "+U+">"},s.prototype.compare=function(U,F,K,te,ae){if(H(U,Uint8Array)&&(U=s.from(U,U.offset,U.byteLength)),!s.isBuffer(U))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof U);if(F===void 0&&(F=0),K===void 0&&(K=U?U.length:0),te===void 0&&(te=0),ae===void 0&&(ae=this.length),F<0||K>U.length||te<0||ae>this.length)throw new RangeError("out of range index");if(te>=ae&&F>=K)return 0;if(te>=ae)return-1;if(F>=K)return 1;if(this===U)return 0;for(var pe=(ae>>>=0)-(te>>>=0),Z=(K>>>=0)-(F>>>=0),ee=Math.min(pe,Z),ce=this.slice(te,ae),ne=U.slice(F,K),oe=0;oe<ee;++oe)if(ce[oe]!==ne[oe]){pe=ce[oe],Z=ne[oe];break}return pe<Z?-1:Z<pe?1:0},s.prototype.includes=function(U,F,K){return this.indexOf(U,F,K)!==-1},s.prototype.indexOf=function(U,F,K){return g(this,U,F,K,!0)},s.prototype.lastIndexOf=function(U,F,K){return g(this,U,F,K,!1)},s.prototype.write=function(U,F,K,te){if(F===void 0)te="utf8",K=this.length,F=0;else if(K===void 0&&typeof F=="string")te=F,K=this.length,F=0;else{if(!isFinite(F))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");F>>>=0,isFinite(K)?(K>>>=0,te===void 0&&(te="utf8")):(te=K,K=void 0)}var ae=this.length-F;if((K===void 0||K>ae)&&(K=ae),U.length>0&&(K<0||F<0)||F>this.length)throw new RangeError("Attempt to write outside buffer bounds");te||(te="utf8");for(var pe=!1;;)switch(te){case"hex":return y(this,U,F,K);case"utf8":case"utf-8":return w(this,U,F,K);case"ascii":return x(this,U,F,K);case"latin1":case"binary":return S(this,U,F,K);case"base64":return T(this,U,F,K);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,U,F,K);default:if(pe)throw new TypeError("Unknown encoding: "+te);te=(""+te).toLowerCase(),pe=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function D(U,F,K){var te="";K=Math.min(U.length,K);for(var ae=F;ae<K;++ae)te+=String.fromCharCode(127&U[ae]);return te}function E(U,F,K){var te="";K=Math.min(U.length,K);for(var ae=F;ae<K;++ae)te+=String.fromCharCode(U[ae]);return te}function N(U,F,K){var te=U.length;(!F||F<0)&&(F=0),(!K||K<0||K>te)&&(K=te);for(var ae="",pe=F;pe<K;++pe)ae+=B(U[pe]);return ae}function R(U,F,K){for(var te=U.slice(F,K),ae="",pe=0;pe<te.length;pe+=2)ae+=String.fromCharCode(te[pe]+256*te[pe+1]);return ae}function v(U,F,K){if(U%1!=0||U<0)throw new RangeError("offset is not uint");if(U+F>K)throw new RangeError("Trying to access beyond buffer length")}function k(U,F,K,te,ae,pe){if(!s.isBuffer(U))throw new TypeError('"buffer" argument must be a Buffer instance');if(F>ae||F<pe)throw new RangeError('"value" argument is out of bounds');if(K+te>U.length)throw new RangeError("Index out of range")}function P(U,F,K,te,ae,pe){if(K+te>U.length)throw new RangeError("Index out of range");if(K<0)throw new RangeError("Index out of range")}function O(U,F,K,te,ae){return F=+F,K>>>=0,ae||P(U,0,K,4),n.write(U,F,K,te,23,4),K+4}function _(U,F,K,te,ae){return F=+F,K>>>=0,ae||P(U,0,K,8),n.write(U,F,K,te,52,8),K+8}s.prototype.slice=function(U,F){var K=this.length;(U=~~U)<0?(U+=K)<0&&(U=0):U>K&&(U=K),(F=F===void 0?K:~~F)<0?(F+=K)<0&&(F=0):F>K&&(F=K),F<U&&(F=U);var te=this.subarray(U,F);return te.__proto__=s.prototype,te},s.prototype.readUIntLE=function(U,F,K){U>>>=0,F>>>=0,K||v(U,F,this.length);for(var te=this[U],ae=1,pe=0;++pe<F&&(ae*=256);)te+=this[U+pe]*ae;return te},s.prototype.readUIntBE=function(U,F,K){U>>>=0,F>>>=0,K||v(U,F,this.length);for(var te=this[U+--F],ae=1;F>0&&(ae*=256);)te+=this[U+--F]*ae;return te},s.prototype.readUInt8=function(U,F){return U>>>=0,F||v(U,1,this.length),this[U]},s.prototype.readUInt16LE=function(U,F){return U>>>=0,F||v(U,2,this.length),this[U]|this[U+1]<<8},s.prototype.readUInt16BE=function(U,F){return U>>>=0,F||v(U,2,this.length),this[U]<<8|this[U+1]},s.prototype.readUInt32LE=function(U,F){return U>>>=0,F||v(U,4,this.length),(this[U]|this[U+1]<<8|this[U+2]<<16)+16777216*this[U+3]},s.prototype.readUInt32BE=function(U,F){return U>>>=0,F||v(U,4,this.length),16777216*this[U]+(this[U+1]<<16|this[U+2]<<8|this[U+3])},s.prototype.readIntLE=function(U,F,K){U>>>=0,F>>>=0,K||v(U,F,this.length);for(var te=this[U],ae=1,pe=0;++pe<F&&(ae*=256);)te+=this[U+pe]*ae;return te>=(ae*=128)&&(te-=Math.pow(2,8*F)),te},s.prototype.readIntBE=function(U,F,K){U>>>=0,F>>>=0,K||v(U,F,this.length);for(var te=F,ae=1,pe=this[U+--te];te>0&&(ae*=256);)pe+=this[U+--te]*ae;return pe>=(ae*=128)&&(pe-=Math.pow(2,8*F)),pe},s.prototype.readInt8=function(U,F){return U>>>=0,F||v(U,1,this.length),128&this[U]?-1*(255-this[U]+1):this[U]},s.prototype.readInt16LE=function(U,F){U>>>=0,F||v(U,2,this.length);var K=this[U]|this[U+1]<<8;return 32768&K?4294901760|K:K},s.prototype.readInt16BE=function(U,F){U>>>=0,F||v(U,2,this.length);var K=this[U+1]|this[U]<<8;return 32768&K?4294901760|K:K},s.prototype.readInt32LE=function(U,F){return U>>>=0,F||v(U,4,this.length),this[U]|this[U+1]<<8|this[U+2]<<16|this[U+3]<<24},s.prototype.readInt32BE=function(U,F){return U>>>=0,F||v(U,4,this.length),this[U]<<24|this[U+1]<<16|this[U+2]<<8|this[U+3]},s.prototype.readFloatLE=function(U,F){return U>>>=0,F||v(U,4,this.length),n.read(this,U,!0,23,4)},s.prototype.readFloatBE=function(U,F){return U>>>=0,F||v(U,4,this.length),n.read(this,U,!1,23,4)},s.prototype.readDoubleLE=function(U,F){return U>>>=0,F||v(U,8,this.length),n.read(this,U,!0,52,8)},s.prototype.readDoubleBE=function(U,F){return U>>>=0,F||v(U,8,this.length),n.read(this,U,!1,52,8)},s.prototype.writeUIntLE=function(U,F,K,te){U=+U,F>>>=0,K>>>=0,te||k(this,U,F,K,Math.pow(2,8*K)-1,0);var ae=1,pe=0;for(this[F]=255&U;++pe<K&&(ae*=256);)this[F+pe]=U/ae&255;return F+K},s.prototype.writeUIntBE=function(U,F,K,te){U=+U,F>>>=0,K>>>=0,te||k(this,U,F,K,Math.pow(2,8*K)-1,0);var ae=K-1,pe=1;for(this[F+ae]=255&U;--ae>=0&&(pe*=256);)this[F+ae]=U/pe&255;return F+K},s.prototype.writeUInt8=function(U,F,K){return U=+U,F>>>=0,K||k(this,U,F,1,255,0),this[F]=255&U,F+1},s.prototype.writeUInt16LE=function(U,F,K){return U=+U,F>>>=0,K||k(this,U,F,2,65535,0),this[F]=255&U,this[F+1]=U>>>8,F+2},s.prototype.writeUInt16BE=function(U,F,K){return U=+U,F>>>=0,K||k(this,U,F,2,65535,0),this[F]=U>>>8,this[F+1]=255&U,F+2},s.prototype.writeUInt32LE=function(U,F,K){return U=+U,F>>>=0,K||k(this,U,F,4,4294967295,0),this[F+3]=U>>>24,this[F+2]=U>>>16,this[F+1]=U>>>8,this[F]=255&U,F+4},s.prototype.writeUInt32BE=function(U,F,K){return U=+U,F>>>=0,K||k(this,U,F,4,4294967295,0),this[F]=U>>>24,this[F+1]=U>>>16,this[F+2]=U>>>8,this[F+3]=255&U,F+4},s.prototype.writeIntLE=function(U,F,K,te){if(U=+U,F>>>=0,!te){var ae=Math.pow(2,8*K-1);k(this,U,F,K,ae-1,-ae)}var pe=0,Z=1,ee=0;for(this[F]=255&U;++pe<K&&(Z*=256);)U<0&&ee===0&&this[F+pe-1]!==0&&(ee=1),this[F+pe]=(U/Z>>0)-ee&255;return F+K},s.prototype.writeIntBE=function(U,F,K,te){if(U=+U,F>>>=0,!te){var ae=Math.pow(2,8*K-1);k(this,U,F,K,ae-1,-ae)}var pe=K-1,Z=1,ee=0;for(this[F+pe]=255&U;--pe>=0&&(Z*=256);)U<0&&ee===0&&this[F+pe+1]!==0&&(ee=1),this[F+pe]=(U/Z>>0)-ee&255;return F+K},s.prototype.writeInt8=function(U,F,K){return U=+U,F>>>=0,K||k(this,U,F,1,127,-128),U<0&&(U=255+U+1),this[F]=255&U,F+1},s.prototype.writeInt16LE=function(U,F,K){return U=+U,F>>>=0,K||k(this,U,F,2,32767,-32768),this[F]=255&U,this[F+1]=U>>>8,F+2},s.prototype.writeInt16BE=function(U,F,K){return U=+U,F>>>=0,K||k(this,U,F,2,32767,-32768),this[F]=U>>>8,this[F+1]=255&U,F+2},s.prototype.writeInt32LE=function(U,F,K){return U=+U,F>>>=0,K||k(this,U,F,4,2147483647,-2147483648),this[F]=255&U,this[F+1]=U>>>8,this[F+2]=U>>>16,this[F+3]=U>>>24,F+4},s.prototype.writeInt32BE=function(U,F,K){return U=+U,F>>>=0,K||k(this,U,F,4,2147483647,-2147483648),U<0&&(U=4294967295+U+1),this[F]=U>>>24,this[F+1]=U>>>16,this[F+2]=U>>>8,this[F+3]=255&U,F+4},s.prototype.writeFloatLE=function(U,F,K){return O(this,U,F,!0,K)},s.prototype.writeFloatBE=function(U,F,K){return O(this,U,F,!1,K)},s.prototype.writeDoubleLE=function(U,F,K){return _(this,U,F,!0,K)},s.prototype.writeDoubleBE=function(U,F,K){return _(this,U,F,!1,K)},s.prototype.copy=function(U,F,K,te){if(!s.isBuffer(U))throw new TypeError("argument should be a Buffer");if(K||(K=0),te||te===0||(te=this.length),F>=U.length&&(F=U.length),F||(F=0),te>0&&te<K&&(te=K),te===K||U.length===0||this.length===0)return 0;if(F<0)throw new RangeError("targetStart out of bounds");if(K<0||K>=this.length)throw new RangeError("Index out of range");if(te<0)throw new RangeError("sourceEnd out of bounds");te>this.length&&(te=this.length),U.length-F<te-K&&(te=U.length-F+K);var ae=te-K;if(this===U&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(F,K,te);else if(this===U&&K<F&&F<te)for(var pe=ae-1;pe>=0;--pe)U[pe+F]=this[pe+K];else Uint8Array.prototype.set.call(U,this.subarray(K,te),F);return ae},s.prototype.fill=function(U,F,K,te){if(typeof U=="string"){if(typeof F=="string"?(te=F,F=0,K=this.length):typeof K=="string"&&(te=K,K=this.length),te!==void 0&&typeof te!="string")throw new TypeError("encoding must be a string");if(typeof te=="string"&&!s.isEncoding(te))throw new TypeError("Unknown encoding: "+te);if(U.length===1){var ae=U.charCodeAt(0);(te==="utf8"&&ae<128||te==="latin1")&&(U=ae)}}else typeof U=="number"&&(U&=255);if(F<0||this.length<F||this.length<K)throw new RangeError("Out of range index");if(K<=F)return this;var pe;if(F>>>=0,K=K===void 0?this.length:K>>>0,U||(U=0),typeof U=="number")for(pe=F;pe<K;++pe)this[pe]=U;else{var Z=s.isBuffer(U)?U:s.from(U,te),ee=Z.length;if(ee===0)throw new TypeError('The value "'+U+'" is invalid for argument "value"');for(pe=0;pe<K-F;++pe)this[pe+F]=Z[pe%ee]}return this};var j=/[^+/0-9A-Za-z-_]/g;function B(U){return U<16?"0"+U.toString(16):U.toString(16)}function V(U,F){var K;F=F||1/0;for(var te=U.length,ae=null,pe=[],Z=0;Z<te;++Z){if((K=U.charCodeAt(Z))>55295&&K<57344){if(!ae){if(K>56319){(F-=3)>-1&&pe.push(239,191,189);continue}if(Z+1===te){(F-=3)>-1&&pe.push(239,191,189);continue}ae=K;continue}if(K<56320){(F-=3)>-1&&pe.push(239,191,189),ae=K;continue}K=65536+(ae-55296<<10|K-56320)}else ae&&(F-=3)>-1&&pe.push(239,191,189);if(ae=null,K<128){if((F-=1)<0)break;pe.push(K)}else if(K<2048){if((F-=2)<0)break;pe.push(K>>6|192,63&K|128)}else if(K<65536){if((F-=3)<0)break;pe.push(K>>12|224,K>>6&63|128,63&K|128)}else{if(!(K<1114112))throw new Error("Invalid code point");if((F-=4)<0)break;pe.push(K>>18|240,K>>12&63|128,K>>6&63|128,63&K|128)}}return pe}function G(U){return r.toByteArray((function(F){if((F=(F=F.split("=")[0]).trim().replace(j,"")).length<2)return"";for(;F.length%4!=0;)F+="=";return F})(U))}function Q(U,F,K,te){for(var ae=0;ae<te&&!(ae+K>=F.length||ae>=U.length);++ae)F[ae+K]=U[ae];return ae}function H(U,F){return U instanceof F||U!=null&&U.constructor!=null&&U.constructor.name!=null&&U.constructor.name===F.name}function q(U){return U!=U}}).call(this)}).call(this,t("buffer").Buffer)},{"base64-js":185,buffer:220,ieee754:439}],221:[function(t,e,i){"use strict";var o=t("safe-buffer").Buffer,r=t("stream").Transform,n=t("string_decoder").StringDecoder;function a(s){r.call(this),this.hashMode=typeof s=="string",this.hashMode?this[s]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}t("inherits")(a,r),a.prototype.update=function(s,l,c){typeof s=="string"&&(s=o.from(s,l));var d=this._update(s);return this.hashMode?this:(c&&(d=this._toString(d,c)),d)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(s,l,c){var d;try{this.hashMode?this._update(s):this.push(this._update(s))}catch(u){d=u}finally{c(d)}},a.prototype._flush=function(s){var l;try{this.push(this.__final())}catch(c){l=c}s(l)},a.prototype._finalOrDigest=function(s){var l=this.__final()||o.alloc(0);return s&&(l=this._toString(l,s,!0)),l},a.prototype._toString=function(s,l,c){if(this._decoder||(this._decoder=new n(l),this._encoding=l),this._encoding!==l)throw new Error("can't switch encodings");var d=this._decoder.write(s);return c&&(d+=this._decoder.end()),d},e.exports=a},{inherits:440,"safe-buffer":494,stream:505,string_decoder:218}],222:[function(t,e,i){"use strict";var o=t("../internals/is-callable"),r=t("../internals/try-to-string"),n=TypeError;e.exports=function(a){if(o(a))return a;throw new n(r(a)+" is not a function")}},{"../internals/is-callable":285,"../internals/try-to-string":349}],223:[function(t,e,i){"use strict";var o=t("../internals/is-constructor"),r=t("../internals/try-to-string"),n=TypeError;e.exports=function(a){if(o(a))return a;throw new n(r(a)+" is not a constructor")}},{"../internals/is-constructor":286,"../internals/try-to-string":349}],224:[function(t,e,i){"use strict";var o=t("../internals/is-callable"),r=String,n=TypeError;e.exports=function(a){if(typeof a=="object"||o(a))return a;throw new n("Can't set "+r(a)+" as a prototype")}},{"../internals/is-callable":285}],225:[function(t,e,i){"use strict";var o=t("../internals/well-known-symbol"),r=t("../internals/object-create"),n=t("../internals/object-define-property").f,a=o("unscopables"),s=Array.prototype;s[a]===void 0&&n(s,a,{configurable:!0,value:r(null)}),e.exports=function(l){s[a][l]=!0}},{"../internals/object-create":306,"../internals/object-define-property":308,"../internals/well-known-symbol":357}],226:[function(t,e,i){"use strict";var o=t("../internals/object-is-prototype-of"),r=TypeError;e.exports=function(n,a){if(o(a,n))return n;throw new r("Incorrect invocation")}},{"../internals/object-is-prototype-of":314}],227:[function(t,e,i){"use strict";var o=t("../internals/is-object"),r=String,n=TypeError;e.exports=function(a){if(o(a))return a;throw new n(r(a)+" is not an object")}},{"../internals/is-object":289}],228:[function(t,e,i){"use strict";var o=t("../internals/to-indexed-object"),r=t("../internals/to-absolute-index"),n=t("../internals/length-of-array-like"),a=function(s){return function(l,c,d){var u,p=o(l),m=n(p),h=r(d,m);if(s&&c!=c){for(;m>h;)if((u=p[h++])!=u)return!0}else for(;m>h;h++)if((s||h in p)&&p[h]===c)return s||h||0;return!s&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},{"../internals/length-of-array-like":299,"../internals/to-absolute-index":340,"../internals/to-indexed-object":341}],229:[function(t,e,i){"use strict";var o=t("../internals/function-bind-context"),r=t("../internals/function-uncurry-this"),n=t("../internals/indexed-object"),a=t("../internals/to-object"),s=t("../internals/length-of-array-like"),l=t("../internals/array-species-create"),c=r([].push),d=function(u){var p=u===1,m=u===2,h=u===3,f=u===4,g=u===6,b=u===7,y=u===5||g;return function(w,x,S,T){for(var M,I,A=a(w),D=n(A),E=o(x,S),N=s(D),R=0,v=T||l,k=p?v(w,N):m||b?v(w,0):void 0;N>R;R++)if((y||R in D)&&(I=E(M=D[R],R,A),u))if(p)k[R]=I;else if(I)switch(u){case 3:return!0;case 5:return M;case 6:return R;case 2:c(k,M)}else switch(u){case 4:return!1;case 7:c(k,M)}return g?-1:h||f?f:k}};e.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6),filterReject:d(7)}},{"../internals/array-species-create":233,"../internals/function-bind-context":262,"../internals/function-uncurry-this":268,"../internals/indexed-object":280,"../internals/length-of-array-like":299,"../internals/to-object":344}],230:[function(t,e,i){"use strict";var o=t("../internals/to-absolute-index"),r=t("../internals/length-of-array-like"),n=t("../internals/create-property"),a=Array,s=Math.max;e.exports=function(l,c,d){for(var u=r(l),p=o(c,u),m=o(d===void 0?u:d,u),h=a(s(m-p,0)),f=0;p<m;p++,f++)n(h,f,l[p]);return h.length=f,h}},{"../internals/create-property":243,"../internals/length-of-array-like":299,"../internals/to-absolute-index":340}],231:[function(t,e,i){"use strict";var o=t("../internals/function-uncurry-this");e.exports=o([].slice)},{"../internals/function-uncurry-this":268}],232:[function(t,e,i){"use strict";var o=t("../internals/is-array"),r=t("../internals/is-constructor"),n=t("../internals/is-object"),a=t("../internals/well-known-symbol")("species"),s=Array;e.exports=function(l){var c;return o(l)&&(c=l.constructor,(r(c)&&(c===s||o(c.prototype))||n(c)&&(c=c[a])===null)&&(c=void 0)),c===void 0?s:c}},{"../internals/is-array":284,"../internals/is-constructor":286,"../internals/is-object":289,"../internals/well-known-symbol":357}],233:[function(t,e,i){"use strict";var o=t("../internals/array-species-constructor");e.exports=function(r,n){return new(o(r))(n===0?0:n)}},{"../internals/array-species-constructor":232}],234:[function(t,e,i){"use strict";var o=t("../internals/well-known-symbol")("iterator"),r=!1;try{var n=0,a={next:function(){return{done:!!n++}},return:function(){r=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch{}e.exports=function(s,l){try{if(!l&&!r)return!1}catch{return!1}var c=!1;try{var d={};d[o]=function(){return{next:function(){return{done:c=!0}}}},s(d)}catch{}return c}},{"../internals/well-known-symbol":357}],235:[function(t,e,i){"use strict";var o=t("../internals/function-uncurry-this"),r=o({}.toString),n=o("".slice);e.exports=function(a){return n(r(a),8,-1)}},{"../internals/function-uncurry-this":268}],236:[function(t,e,i){"use strict";var o=t("../internals/to-string-tag-support"),r=t("../internals/is-callable"),n=t("../internals/classof-raw"),a=t("../internals/well-known-symbol")("toStringTag"),s=Object,l=n((function(){return arguments})())==="Arguments";e.exports=o?n:function(c){var d,u,p;return c===void 0?"Undefined":c===null?"Null":typeof(u=(function(m,h){try{return m[h]}catch{}})(d=s(c),a))=="string"?u:l?n(d):(p=n(d))==="Object"&&r(d.callee)?"Arguments":p}},{"../internals/classof-raw":235,"../internals/is-callable":285,"../internals/to-string-tag-support":347,"../internals/well-known-symbol":357}],237:[function(t,e,i){"use strict";var o=t("../internals/has-own-property"),r=t("../internals/own-keys"),n=t("../internals/object-get-own-property-descriptor"),a=t("../internals/object-define-property");e.exports=function(s,l,c){for(var d=r(l),u=a.f,p=n.f,m=0;m<d.length;m++){var h=d[m];o(s,h)||c&&o(c,h)||u(s,h,p(l,h))}}},{"../internals/has-own-property":275,"../internals/object-define-property":308,"../internals/object-get-own-property-descriptor":309,"../internals/own-keys":321}],238:[function(t,e,i){"use strict";var o=t("../internals/well-known-symbol")("match");e.exports=function(r){var n=/./;try{"/./"[r](n)}catch{try{return n[o]=!1,"/./"[r](n)}catch{}}return!1}},{"../internals/well-known-symbol":357}],239:[function(t,e,i){"use strict";var o=t("../internals/fails");e.exports=!o((function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype}))},{"../internals/fails":260}],240:[function(t,e,i){"use strict";e.exports=function(o,r){return{value:o,done:r}}},{}],241:[function(t,e,i){"use strict";var o=t("../internals/descriptors"),r=t("../internals/object-define-property"),n=t("../internals/create-property-descriptor");e.exports=o?function(a,s,l){return r.f(a,s,n(1,l))}:function(a,s,l){return a[s]=l,a}},{"../internals/create-property-descriptor":242,"../internals/descriptors":247,"../internals/object-define-property":308}],242:[function(t,e,i){"use strict";e.exports=function(o,r){return{enumerable:!(1&o),configurable:!(2&o),writable:!(4&o),value:r}}},{}],243:[function(t,e,i){"use strict";var o=t("../internals/to-property-key"),r=t("../internals/object-define-property"),n=t("../internals/create-property-descriptor");e.exports=function(a,s,l){var c=o(s);c in a?r.f(a,c,n(0,l)):a[c]=l}},{"../internals/create-property-descriptor":242,"../internals/object-define-property":308,"../internals/to-property-key":346}],244:[function(t,e,i){"use strict";var o=t("../internals/make-built-in"),r=t("../internals/object-define-property");e.exports=function(n,a,s){return s.get&&o(s.get,a,{getter:!0}),s.set&&o(s.set,a,{setter:!0}),r.f(n,a,s)}},{"../internals/make-built-in":300,"../internals/object-define-property":308}],245:[function(t,e,i){"use strict";var o=t("../internals/is-callable"),r=t("../internals/object-define-property"),n=t("../internals/make-built-in"),a=t("../internals/define-global-property");e.exports=function(s,l,c,d){d||(d={});var u=d.enumerable,p=d.name!==void 0?d.name:l;if(o(c)&&n(c,p,d),d.global)u?s[l]=c:a(l,c);else{try{d.unsafe?s[l]&&(u=!0):delete s[l]}catch{}u?s[l]=c:r.f(s,l,{value:c,enumerable:!1,configurable:!d.nonConfigurable,writable:!d.nonWritable})}return s}},{"../internals/define-global-property":246,"../internals/is-callable":285,"../internals/make-built-in":300,"../internals/object-define-property":308}],246:[function(t,e,i){"use strict";var o=t("../internals/global"),r=Object.defineProperty;e.exports=function(n,a){try{r(o,n,{value:a,configurable:!0,writable:!0})}catch{o[n]=a}return a}},{"../internals/global":274}],247:[function(t,e,i){"use strict";var o=t("../internals/fails");e.exports=!o((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}))},{"../internals/fails":260}],248:[function(t,e,i){"use strict";var o=typeof document=="object"&&document.all,r=o===void 0&&o!==void 0;e.exports={all:o,IS_HTMLDDA:r}},{}],249:[function(t,e,i){"use strict";var o=t("../internals/global"),r=t("../internals/is-object"),n=o.document,a=r(n)&&r(n.createElement);e.exports=function(s){return a?n.createElement(s):{}}},{"../internals/global":274,"../internals/is-object":289}],250:[function(t,e,i){"use strict";var o=t("../internals/engine-is-deno"),r=t("../internals/engine-is-node");e.exports=!o&&!r&&typeof window=="object"&&typeof document=="object"},{"../internals/engine-is-deno":251,"../internals/engine-is-node":254}],251:[function(t,e,i){"use strict";e.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},{}],252:[function(t,e,i){"use strict";var o=t("../internals/engine-user-agent");e.exports=/ipad|iphone|ipod/i.test(o)&&typeof Pebble<"u"},{"../internals/engine-user-agent":256}],253:[function(t,e,i){"use strict";var o=t("../internals/engine-user-agent");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(o)},{"../internals/engine-user-agent":256}],254:[function(t,e,i){"use strict";var o=t("../internals/global"),r=t("../internals/classof-raw");e.exports=r(o.process)==="process"},{"../internals/classof-raw":235,"../internals/global":274}],255:[function(t,e,i){"use strict";var o=t("../internals/engine-user-agent");e.exports=/web0s(?!.*chrome)/i.test(o)},{"../internals/engine-user-agent":256}],256:[function(t,e,i){"use strict";e.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},{}],257:[function(t,e,i){"use strict";var o,r,n=t("../internals/global"),a=t("../internals/engine-user-agent"),s=n.process,l=n.Deno,c=s&&s.versions||l&&l.version,d=c&&c.v8;d&&(r=(o=d.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!r&&a&&(!(o=a.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=a.match(/Chrome\/(\d+)/))&&(r=+o[1]),e.exports=r},{"../internals/engine-user-agent":256,"../internals/global":274}],258:[function(t,e,i){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],259:[function(t,e,i){"use strict";var o=t("../internals/global"),r=t("../internals/object-get-own-property-descriptor").f,n=t("../internals/create-non-enumerable-property"),a=t("../internals/define-built-in"),s=t("../internals/define-global-property"),l=t("../internals/copy-constructor-properties"),c=t("../internals/is-forced");e.exports=function(d,u){var p,m,h,f,g,b=d.target,y=d.global,w=d.stat;if(p=y?o:w?o[b]||s(b,{}):(o[b]||{}).prototype)for(m in u){if(f=u[m],h=d.dontCallGetSet?(g=r(p,m))&&g.value:p[m],!c(y?m:b+(w?".":"#")+m,d.forced)&&h!==void 0){if(typeof f==typeof h)continue;l(f,h)}(d.sham||h&&h.sham)&&n(f,"sham",!0),a(p,m,f,d)}}},{"../internals/copy-constructor-properties":237,"../internals/create-non-enumerable-property":241,"../internals/define-built-in":245,"../internals/define-global-property":246,"../internals/global":274,"../internals/is-forced":287,"../internals/object-get-own-property-descriptor":309}],260:[function(t,e,i){"use strict";e.exports=function(o){try{return!!o()}catch{return!0}}},{}],261:[function(t,e,i){"use strict";var o=t("../internals/function-bind-native"),r=Function.prototype,n=r.apply,a=r.call;e.exports=typeof Reflect=="object"&&Reflect.apply||(o?a.bind(n):function(){return a.apply(n,arguments)})},{"../internals/function-bind-native":263}],262:[function(t,e,i){"use strict";var o=t("../internals/function-uncurry-this-clause"),r=t("../internals/a-callable"),n=t("../internals/function-bind-native"),a=o(o.bind);e.exports=function(s,l){return r(s),l===void 0?s:n?a(s,l):function(){return s.apply(l,arguments)}}},{"../internals/a-callable":222,"../internals/function-bind-native":263,"../internals/function-uncurry-this-clause":267}],263:[function(t,e,i){"use strict";var o=t("../internals/fails");e.exports=!o((function(){var r=(function(){}).bind();return typeof r!="function"||r.hasOwnProperty("prototype")}))},{"../internals/fails":260}],264:[function(t,e,i){"use strict";var o=t("../internals/function-bind-native"),r=Function.prototype.call;e.exports=o?r.bind(r):function(){return r.apply(r,arguments)}},{"../internals/function-bind-native":263}],265:[function(t,e,i){"use strict";var o=t("../internals/descriptors"),r=t("../internals/has-own-property"),n=Function.prototype,a=o&&Object.getOwnPropertyDescriptor,s=r(n,"name"),l=s&&(function(){}).name==="something",c=s&&(!o||o&&a(n,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},{"../internals/descriptors":247,"../internals/has-own-property":275}],266:[function(t,e,i){"use strict";var o=t("../internals/function-uncurry-this"),r=t("../internals/a-callable");e.exports=function(n,a,s){try{return o(r(Object.getOwnPropertyDescriptor(n,a)[s]))}catch{}}},{"../internals/a-callable":222,"../internals/function-uncurry-this":268}],267:[function(t,e,i){"use strict";var o=t("../internals/classof-raw"),r=t("../internals/function-uncurry-this");e.exports=function(n){if(o(n)==="Function")return r(n)}},{"../internals/classof-raw":235,"../internals/function-uncurry-this":268}],268:[function(t,e,i){"use strict";var o=t("../internals/function-bind-native"),r=Function.prototype,n=r.call,a=o&&r.bind.bind(n,n);e.exports=o?a:function(s){return function(){return n.apply(s,arguments)}}},{"../internals/function-bind-native":263}],269:[function(t,e,i){"use strict";var o=t("../internals/global"),r=t("../internals/is-callable"),n=function(a){return r(a)?a:void 0};e.exports=function(a,s){return arguments.length<2?n(o[a]):o[a]&&o[a][s]}},{"../internals/global":274,"../internals/is-callable":285}],270:[function(t,e,i){"use strict";var o=t("../internals/classof"),r=t("../internals/get-method"),n=t("../internals/is-null-or-undefined"),a=t("../internals/iterators"),s=t("../internals/well-known-symbol")("iterator");e.exports=function(l){if(!n(l))return r(l,s)||r(l,"@@iterator")||a[o(l)]}},{"../internals/classof":236,"../internals/get-method":273,"../internals/is-null-or-undefined":288,"../internals/iterators":298,"../internals/well-known-symbol":357}],271:[function(t,e,i){"use strict";var o=t("../internals/function-call"),r=t("../internals/a-callable"),n=t("../internals/an-object"),a=t("../internals/try-to-string"),s=t("../internals/get-iterator-method"),l=TypeError;e.exports=function(c,d){var u=arguments.length<2?s(c):d;if(r(u))return n(o(u,c));throw new l(a(c)+" is not iterable")}},{"../internals/a-callable":222,"../internals/an-object":227,"../internals/function-call":264,"../internals/get-iterator-method":270,"../internals/try-to-string":349}],272:[function(t,e,i){"use strict";var o=t("../internals/function-uncurry-this"),r=t("../internals/is-array"),n=t("../internals/is-callable"),a=t("../internals/classof-raw"),s=t("../internals/to-string"),l=o([].push);e.exports=function(c){if(n(c))return c;if(r(c)){for(var d=c.length,u=[],p=0;p<d;p++){var m=c[p];typeof m=="string"?l(u,m):typeof m!="number"&&a(m)!=="Number"&&a(m)!=="String"||l(u,s(m))}var h=u.length,f=!0;return function(g,b){if(f)return f=!1,b;if(r(this))return b;for(var y=0;y<h;y++)if(u[y]===g)return b}}}},{"../internals/classof-raw":235,"../internals/function-uncurry-this":268,"../internals/is-array":284,"../internals/is-callable":285,"../internals/to-string":348}],273:[function(t,e,i){"use strict";var o=t("../internals/a-callable"),r=t("../internals/is-null-or-undefined");e.exports=function(n,a){var s=n[a];return r(s)?void 0:o(s)}},{"../internals/a-callable":222,"../internals/is-null-or-undefined":288}],274:[function(t,e,i){(function(o){(function(){"use strict";var r=function(n){return n&&n.Math===Math&&n};e.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof o=="object"&&o)||(function(){return this})()||this||Function("return this")()}).call(this)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],275:[function(t,e,i){"use strict";var o=t("../internals/function-uncurry-this"),r=t("../internals/to-object"),n=o({}.hasOwnProperty);e.exports=Object.hasOwn||function(a,s){return n(r(a),s)}},{"../internals/function-uncurry-this":268,"../internals/to-object":344}],276:[function(t,e,i){"use strict";e.exports={}},{}],277:[function(t,e,i){"use strict";e.exports=function(o,r){try{arguments.length===1?console.error(o):console.error(o,r)}catch{}}},{}],278:[function(t,e,i){"use strict";var o=t("../internals/get-built-in");e.exports=o("document","documentElement")},{"../internals/get-built-in":269}],279:[function(t,e,i){"use strict";var o=t("../internals/descriptors"),r=t("../internals/fails"),n=t("../internals/document-create-element");e.exports=!o&&!r((function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7}))},{"../internals/descriptors":247,"../internals/document-create-element":249,"../internals/fails":260}],280:[function(t,e,i){"use strict";var o=t("../internals/function-uncurry-this"),r=t("../internals/fails"),n=t("../internals/classof-raw"),a=Object,s=o("".split);e.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(l){return n(l)==="String"?s(l,""):a(l)}:a},{"../internals/classof-raw":235,"../internals/fails":260,"../internals/function-uncurry-this":268}],281:[function(t,e,i){"use strict";var o=t("../internals/function-uncurry-this"),r=t("../internals/is-callable"),n=t("../internals/shared-store"),a=o(Function.toString);r(n.inspectSource)||(n.inspectSource=function(s){return a(s)}),e.exports=n.inspectSource},{"../internals/function-uncurry-this":268,"../internals/is-callable":285,"../internals/shared-store":333}],282:[function(t,e,i){"use strict";var o,r,n,a=t("../internals/weak-map-basic-detection"),s=t("../internals/global"),l=t("../internals/is-object"),c=t("../internals/create-non-enumerable-property"),d=t("../internals/has-own-property"),u=t("../internals/shared-store"),p=t("../internals/shared-key"),m=t("../internals/hidden-keys"),h=s.TypeError,f=s.WeakMap;if(a||u.state){var g=u.state||(u.state=new f);g.get=g.get,g.has=g.has,g.set=g.set,o=function(y,w){if(g.has(y))throw new h("Object already initialized");return w.facade=y,g.set(y,w),w},r=function(y){return g.get(y)||{}},n=function(y){return g.has(y)}}else{var b=p("state");m[b]=!0,o=function(y,w){if(d(y,b))throw new h("Object already initialized");return w.facade=y,c(y,b,w),w},r=function(y){return d(y,b)?y[b]:{}},n=function(y){return d(y,b)}}e.exports={set:o,get:r,has:n,enforce:function(y){return n(y)?r(y):o(y,{})},getterFor:function(y){return function(w){var x;if(!l(w)||(x=r(w)).type!==y)throw new h("Incompatible receiver, "+y+" required");return x}}}},{"../internals/create-non-enumerable-property":241,"../internals/global":274,"../internals/has-own-property":275,"../internals/hidden-keys":276,"../internals/is-object":289,"../internals/shared-key":332,"../internals/shared-store":333,"../internals/weak-map-basic-detection":354}],283:[function(t,e,i){"use strict";var o=t("../internals/well-known-symbol"),r=t("../internals/iterators"),n=o("iterator"),a=Array.prototype;e.exports=function(s){return s!==void 0&&(r.Array===s||a[n]===s)}},{"../internals/iterators":298,"../internals/well-known-symbol":357}],284:[function(t,e,i){"use strict";var o=t("../internals/classof-raw");e.exports=Array.isArray||function(r){return o(r)==="Array"}},{"../internals/classof-raw":235}],285:[function(t,e,i){"use strict";var o=t("../internals/document-all"),r=o.all;e.exports=o.IS_HTMLDDA?function(n){return typeof n=="function"||n===r}:function(n){return typeof n=="function"}},{"../internals/document-all":248}],286:[function(t,e,i){"use strict";var o=t("../internals/function-uncurry-this"),r=t("../internals/fails"),n=t("../internals/is-callable"),a=t("../internals/classof"),s=t("../internals/get-built-in"),l=t("../internals/inspect-source"),c=function(){},d=[],u=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,m=o(p.exec),h=!p.test(c),f=function(b){if(!n(b))return!1;try{return u(c,d,b),!0}catch{return!1}},g=function(b){if(!n(b))return!1;switch(a(b)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!m(p,l(b))}catch{return!0}};g.sham=!0,e.exports=!u||r((function(){var b;return f(f.call)||!f(Object)||!f((function(){b=!0}))||b}))?g:f},{"../internals/classof":236,"../internals/fails":260,"../internals/function-uncurry-this":268,"../internals/get-built-in":269,"../internals/inspect-source":281,"../internals/is-callable":285}],287:[function(t,e,i){"use strict";var o=t("../internals/fails"),r=t("../internals/is-callable"),n=/#|\.prototype\./,a=function(u,p){var m=l[s(u)];return m===d||m!==c&&(r(p)?o(p):!!p)},s=a.normalize=function(u){return String(u).replace(n,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",d=a.POLYFILL="P";e.exports=a},{"../internals/fails":260,"../internals/is-callable":285}],288:[function(t,e,i){"use strict";e.exports=function(o){return o==null}},{}],289:[function(t,e,i){"use strict";var o=t("../internals/is-callable"),r=t("../internals/document-all"),n=r.all;e.exports=r.IS_HTMLDDA?function(a){return typeof a=="object"?a!==null:o(a)||a===n}:function(a){return typeof a=="object"?a!==null:o(a)}},{"../internals/document-all":248,"../internals/is-callable":285}],290:[function(t,e,i){"use strict";e.exports=!1},{}],291:[function(t,e,i){"use strict";var o=t("../internals/is-object"),r=t("../internals/classof-raw"),n=t("../internals/well-known-symbol")("match");e.exports=function(a){var s;return o(a)&&((s=a[n])!==void 0?!!s:r(a)==="RegExp")}},{"../internals/classof-raw":235,"../internals/is-object":289,"../internals/well-known-symbol":357}],292:[function(t,e,i){"use strict";var o=t("../internals/get-built-in"),r=t("../internals/is-callable"),n=t("../internals/object-is-prototype-of"),a=t("../internals/use-symbol-as-uid"),s=Object;e.exports=a?function(l){return typeof l=="symbol"}:function(l){var c=o("Symbol");return r(c)&&n(c.prototype,s(l))}},{"../internals/get-built-in":269,"../internals/is-callable":285,"../internals/object-is-prototype-of":314,"../internals/use-symbol-as-uid":351}],293:[function(t,e,i){"use strict";var o=t("../internals/function-bind-context"),r=t("../internals/function-call"),n=t("../internals/an-object"),a=t("../internals/try-to-string"),s=t("../internals/is-array-iterator-method"),l=t("../internals/length-of-array-like"),c=t("../internals/object-is-prototype-of"),d=t("../internals/get-iterator"),u=t("../internals/get-iterator-method"),p=t("../internals/iterator-close"),m=TypeError,h=function(g,b){this.stopped=g,this.result=b},f=h.prototype;e.exports=function(g,b,y){var w,x,S,T,M,I,A,D=y&&y.that,E=!(!y||!y.AS_ENTRIES),N=!(!y||!y.IS_RECORD),R=!(!y||!y.IS_ITERATOR),v=!(!y||!y.INTERRUPTED),k=o(b,D),P=function(_){return w&&p(w,"normal",_),new h(!0,_)},O=function(_){return E?(n(_),v?k(_[0],_[1],P):k(_[0],_[1])):v?k(_,P):k(_)};if(N)w=g.iterator;else if(R)w=g;else{if(!(x=u(g)))throw new m(a(g)+" is not iterable");if(s(x)){for(S=0,T=l(g);T>S;S++)if((M=O(g[S]))&&c(f,M))return M;return new h(!1)}w=d(g,x)}for(I=N?g.next:w.next;!(A=r(I,w)).done;){try{M=O(A.value)}catch(_){p(w,"throw",_)}if(typeof M=="object"&&M&&c(f,M))return M}return new h(!1)}},{"../internals/an-object":227,"../internals/function-bind-context":262,"../internals/function-call":264,"../internals/get-iterator":271,"../internals/get-iterator-method":270,"../internals/is-array-iterator-method":283,"../internals/iterator-close":294,"../internals/length-of-array-like":299,"../internals/object-is-prototype-of":314,"../internals/try-to-string":349}],294:[function(t,e,i){"use strict";var o=t("../internals/function-call"),r=t("../internals/an-object"),n=t("../internals/get-method");e.exports=function(a,s,l){var c,d;r(a);try{if(!(c=n(a,"return"))){if(s==="throw")throw l;return l}c=o(c,a)}catch(u){d=!0,c=u}if(s==="throw")throw l;if(d)throw c;return r(c),l}},{"../internals/an-object":227,"../internals/function-call":264,"../internals/get-method":273}],295:[function(t,e,i){"use strict";var o=t("../internals/iterators-core").IteratorPrototype,r=t("../internals/object-create"),n=t("../internals/create-property-descriptor"),a=t("../internals/set-to-string-tag"),s=t("../internals/iterators"),l=function(){return this};e.exports=function(c,d,u,p){var m=d+" Iterator";return c.prototype=r(o,{next:n(+!p,u)}),a(c,m,!1,!0),s[m]=l,c}},{"../internals/create-property-descriptor":242,"../internals/iterators":298,"../internals/iterators-core":297,"../internals/object-create":306,"../internals/set-to-string-tag":331}],296:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/function-call"),n=t("../internals/is-pure"),a=t("../internals/function-name"),s=t("../internals/is-callable"),l=t("../internals/iterator-create-constructor"),c=t("../internals/object-get-prototype-of"),d=t("../internals/object-set-prototype-of"),u=t("../internals/set-to-string-tag"),p=t("../internals/create-non-enumerable-property"),m=t("../internals/define-built-in"),h=t("../internals/well-known-symbol"),f=t("../internals/iterators"),g=t("../internals/iterators-core"),b=a.PROPER,y=a.CONFIGURABLE,w=g.IteratorPrototype,x=g.BUGGY_SAFARI_ITERATORS,S=h("iterator"),T=function(){return this};e.exports=function(M,I,A,D,E,N,R){l(A,I,D);var v,k,P,O=function(H){if(H===E&&G)return G;if(!x&&H&&H in B)return B[H];switch(H){case"keys":case"values":case"entries":return function(){return new A(this,H)}}return function(){return new A(this)}},_=I+" Iterator",j=!1,B=M.prototype,V=B[S]||B["@@iterator"]||E&&B[E],G=!x&&V||O(E),Q=I==="Array"&&B.entries||V;if(Q&&(v=c(Q.call(new M)))!==Object.prototype&&v.next&&(n||c(v)===w||(d?d(v,w):s(v[S])||m(v,S,T)),u(v,_,!0,!0),n&&(f[_]=T)),b&&E==="values"&&V&&V.name!=="values"&&(!n&&y?p(B,"name","values"):(j=!0,G=function(){return r(V,this)})),E)if(k={values:O("values"),keys:N?G:O("keys"),entries:O("entries")},R)for(P in k)(x||j||!(P in B))&&m(B,P,k[P]);else o({target:I,proto:!0,forced:x||j},k);return n&&!R||B[S]===G||m(B,S,G,{name:E}),f[I]=G,k}},{"../internals/create-non-enumerable-property":241,"../internals/define-built-in":245,"../internals/export":259,"../internals/function-call":264,"../internals/function-name":265,"../internals/is-callable":285,"../internals/is-pure":290,"../internals/iterator-create-constructor":295,"../internals/iterators":298,"../internals/iterators-core":297,"../internals/object-get-prototype-of":313,"../internals/object-set-prototype-of":318,"../internals/set-to-string-tag":331,"../internals/well-known-symbol":357}],297:[function(t,e,i){"use strict";var o,r,n,a=t("../internals/fails"),s=t("../internals/is-callable"),l=t("../internals/is-object"),c=t("../internals/object-create"),d=t("../internals/object-get-prototype-of"),u=t("../internals/define-built-in"),p=t("../internals/well-known-symbol"),m=t("../internals/is-pure"),h=p("iterator"),f=!1;[].keys&&("next"in(n=[].keys())?(r=d(d(n)))!==Object.prototype&&(o=r):f=!0),!l(o)||a((function(){var g={};return o[h].call(g)!==g}))?o={}:m&&(o=c(o)),s(o[h])||u(o,h,(function(){return this})),e.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:f}},{"../internals/define-built-in":245,"../internals/fails":260,"../internals/is-callable":285,"../internals/is-object":289,"../internals/is-pure":290,"../internals/object-create":306,"../internals/object-get-prototype-of":313,"../internals/well-known-symbol":357}],298:[function(t,e,i){arguments[4][276][0].apply(i,arguments)},{dup:276}],299:[function(t,e,i){"use strict";var o=t("../internals/to-length");e.exports=function(r){return o(r.length)}},{"../internals/to-length":343}],300:[function(t,e,i){"use strict";var o=t("../internals/function-uncurry-this"),r=t("../internals/fails"),n=t("../internals/is-callable"),a=t("../internals/has-own-property"),s=t("../internals/descriptors"),l=t("../internals/function-name").CONFIGURABLE,c=t("../internals/inspect-source"),d=t("../internals/internal-state"),u=d.enforce,p=d.get,m=String,h=Object.defineProperty,f=o("".slice),g=o("".replace),b=o([].join),y=s&&!r((function(){return h((function(){}),"length",{value:8}).length!==8})),w=String(String).split("String"),x=e.exports=function(S,T,M){f(m(T),0,7)==="Symbol("&&(T="["+g(m(T),/^Symbol\(([^)]*)\)/,"$1")+"]"),M&&M.getter&&(T="get "+T),M&&M.setter&&(T="set "+T),(!a(S,"name")||l&&S.name!==T)&&(s?h(S,"name",{value:T,configurable:!0}):S.name=T),y&&M&&a(M,"arity")&&S.length!==M.arity&&h(S,"length",{value:M.arity});try{M&&a(M,"constructor")&&M.constructor?s&&h(S,"prototype",{writable:!1}):S.prototype&&(S.prototype=void 0)}catch{}var I=u(S);return a(I,"source")||(I.source=b(w,typeof T=="string"?T:"")),S};Function.prototype.toString=x((function(){return n(this)&&p(this).source||c(this)}),"toString")},{"../internals/descriptors":247,"../internals/fails":260,"../internals/function-name":265,"../internals/function-uncurry-this":268,"../internals/has-own-property":275,"../internals/inspect-source":281,"../internals/internal-state":282,"../internals/is-callable":285}],301:[function(t,e,i){"use strict";var o=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(n){var a=+n;return(a>0?r:o)(a)}},{}],302:[function(t,e,i){"use strict";var o,r,n,a,s,l=t("../internals/global"),c=t("../internals/function-bind-context"),d=t("../internals/object-get-own-property-descriptor").f,u=t("../internals/task").set,p=t("../internals/queue"),m=t("../internals/engine-is-ios"),h=t("../internals/engine-is-ios-pebble"),f=t("../internals/engine-is-webos-webkit"),g=t("../internals/engine-is-node"),b=l.MutationObserver||l.WebKitMutationObserver,y=l.document,w=l.process,x=l.Promise,S=d(l,"queueMicrotask"),T=S&&S.value;if(!T){var M=new p,I=function(){var A,D;for(g&&(A=w.domain)&&A.exit();D=M.get();)try{D()}catch(E){throw M.head&&o(),E}A&&A.enter()};m||g||f||!b||!y?!h&&x&&x.resolve?((a=x.resolve(void 0)).constructor=x,s=c(a.then,a),o=function(){s(I)}):g?o=function(){w.nextTick(I)}:(u=c(u,l),o=function(){u(I)}):(r=!0,n=y.createTextNode(""),new b(I).observe(n,{characterData:!0}),o=function(){n.data=r=!r}),T=function(A){M.head||o(),M.add(A)}}e.exports=T},{"../internals/engine-is-ios":253,"../internals/engine-is-ios-pebble":252,"../internals/engine-is-node":254,"../internals/engine-is-webos-webkit":255,"../internals/function-bind-context":262,"../internals/global":274,"../internals/object-get-own-property-descriptor":309,"../internals/queue":328,"../internals/task":339}],303:[function(t,e,i){"use strict";var o=t("../internals/a-callable"),r=TypeError,n=function(a){var s,l;this.promise=new a((function(c,d){if(s!==void 0||l!==void 0)throw new r("Bad Promise constructor");s=c,l=d})),this.resolve=o(s),this.reject=o(l)};e.exports.f=function(a){return new n(a)}},{"../internals/a-callable":222}],304:[function(t,e,i){"use strict";var o=t("../internals/is-regexp"),r=TypeError;e.exports=function(n){if(o(n))throw new r("The method doesn't accept regular expressions");return n}},{"../internals/is-regexp":291}],305:[function(t,e,i){"use strict";var o=t("../internals/descriptors"),r=t("../internals/function-uncurry-this"),n=t("../internals/function-call"),a=t("../internals/fails"),s=t("../internals/object-keys"),l=t("../internals/object-get-own-property-symbols"),c=t("../internals/object-property-is-enumerable"),d=t("../internals/to-object"),u=t("../internals/indexed-object"),p=Object.assign,m=Object.defineProperty,h=r([].concat);e.exports=!p||a((function(){if(o&&p({b:1},p(m({},"a",{enumerable:!0,get:function(){m(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var f={},g={},b=Symbol("assign detection");return f[b]=7,"abcdefghijklmnopqrst".split("").forEach((function(y){g[y]=y})),p({},f)[b]!==7||s(p({},g)).join("")!=="abcdefghijklmnopqrst"}))?function(f,g){for(var b=d(f),y=arguments.length,w=1,x=l.f,S=c.f;y>w;)for(var T,M=u(arguments[w++]),I=x?h(s(M),x(M)):s(M),A=I.length,D=0;A>D;)T=I[D++],o&&!n(S,M,T)||(b[T]=M[T]);return b}:p},{"../internals/descriptors":247,"../internals/fails":260,"../internals/function-call":264,"../internals/function-uncurry-this":268,"../internals/indexed-object":280,"../internals/object-get-own-property-symbols":312,"../internals/object-keys":316,"../internals/object-property-is-enumerable":317,"../internals/to-object":344}],306:[function(t,e,i){"use strict";var o,r=t("../internals/an-object"),n=t("../internals/object-define-properties"),a=t("../internals/enum-bug-keys"),s=t("../internals/hidden-keys"),l=t("../internals/html"),c=t("../internals/document-create-element"),d=t("../internals/shared-key"),u=d("IE_PROTO"),p=function(){},m=function(g){return"<script>"+g+"<\/script>"},h=function(g){g.write(m("")),g.close();var b=g.parentWindow.Object;return g=null,b},f=function(){try{o=new ActiveXObject("htmlfile")}catch{}var g,b;f=typeof document<"u"?document.domain&&o?h(o):((b=c("iframe")).style.display="none",l.appendChild(b),b.src="javascript:",(g=b.contentWindow.document).open(),g.write(m("document.F=Object")),g.close(),g.F):h(o);for(var y=a.length;y--;)delete f.prototype[a[y]];return f()};s[u]=!0,e.exports=Object.create||function(g,b){var y;return g!==null?(p.prototype=r(g),y=new p,p.prototype=null,y[u]=g):y=f(),b===void 0?y:n.f(y,b)}},{"../internals/an-object":227,"../internals/document-create-element":249,"../internals/enum-bug-keys":258,"../internals/hidden-keys":276,"../internals/html":278,"../internals/object-define-properties":307,"../internals/shared-key":332}],307:[function(t,e,i){"use strict";var o=t("../internals/descriptors"),r=t("../internals/v8-prototype-define-bug"),n=t("../internals/object-define-property"),a=t("../internals/an-object"),s=t("../internals/to-indexed-object"),l=t("../internals/object-keys");i.f=o&&!r?Object.defineProperties:function(c,d){a(c);for(var u,p=s(d),m=l(d),h=m.length,f=0;h>f;)n.f(c,u=m[f++],p[u]);return c}},{"../internals/an-object":227,"../internals/descriptors":247,"../internals/object-define-property":308,"../internals/object-keys":316,"../internals/to-indexed-object":341,"../internals/v8-prototype-define-bug":352}],308:[function(t,e,i){"use strict";var o=t("../internals/descriptors"),r=t("../internals/ie8-dom-define"),n=t("../internals/v8-prototype-define-bug"),a=t("../internals/an-object"),s=t("../internals/to-property-key"),l=TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor;i.f=o?n?function(u,p,m){if(a(u),p=s(p),a(m),typeof u=="function"&&p==="prototype"&&"value"in m&&"writable"in m&&!m.writable){var h=d(u,p);h&&h.writable&&(u[p]=m.value,m={configurable:"configurable"in m?m.configurable:h.configurable,enumerable:"enumerable"in m?m.enumerable:h.enumerable,writable:!1})}return c(u,p,m)}:c:function(u,p,m){if(a(u),p=s(p),a(m),r)try{return c(u,p,m)}catch{}if("get"in m||"set"in m)throw new l("Accessors not supported");return"value"in m&&(u[p]=m.value),u}},{"../internals/an-object":227,"../internals/descriptors":247,"../internals/ie8-dom-define":279,"../internals/to-property-key":346,"../internals/v8-prototype-define-bug":352}],309:[function(t,e,i){"use strict";var o=t("../internals/descriptors"),r=t("../internals/function-call"),n=t("../internals/object-property-is-enumerable"),a=t("../internals/create-property-descriptor"),s=t("../internals/to-indexed-object"),l=t("../internals/to-property-key"),c=t("../internals/has-own-property"),d=t("../internals/ie8-dom-define"),u=Object.getOwnPropertyDescriptor;i.f=o?u:function(p,m){if(p=s(p),m=l(m),d)try{return u(p,m)}catch{}if(c(p,m))return a(!r(n.f,p,m),p[m])}},{"../internals/create-property-descriptor":242,"../internals/descriptors":247,"../internals/function-call":264,"../internals/has-own-property":275,"../internals/ie8-dom-define":279,"../internals/object-property-is-enumerable":317,"../internals/to-indexed-object":341,"../internals/to-property-key":346}],310:[function(t,e,i){"use strict";var o=t("../internals/classof-raw"),r=t("../internals/to-indexed-object"),n=t("../internals/object-get-own-property-names").f,a=t("../internals/array-slice-simple"),s=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(l){return s&&o(l)==="Window"?(function(c){try{return n(c)}catch{return a(s)}})(l):n(r(l))}},{"../internals/array-slice-simple":230,"../internals/classof-raw":235,"../internals/object-get-own-property-names":311,"../internals/to-indexed-object":341}],311:[function(t,e,i){"use strict";var o=t("../internals/object-keys-internal"),r=t("../internals/enum-bug-keys").concat("length","prototype");i.f=Object.getOwnPropertyNames||function(n){return o(n,r)}},{"../internals/enum-bug-keys":258,"../internals/object-keys-internal":315}],312:[function(t,e,i){"use strict";i.f=Object.getOwnPropertySymbols},{}],313:[function(t,e,i){"use strict";var o=t("../internals/has-own-property"),r=t("../internals/is-callable"),n=t("../internals/to-object"),a=t("../internals/shared-key"),s=t("../internals/correct-prototype-getter"),l=a("IE_PROTO"),c=Object,d=c.prototype;e.exports=s?c.getPrototypeOf:function(u){var p=n(u);if(o(p,l))return p[l];var m=p.constructor;return r(m)&&p instanceof m?m.prototype:p instanceof c?d:null}},{"../internals/correct-prototype-getter":239,"../internals/has-own-property":275,"../internals/is-callable":285,"../internals/shared-key":332,"../internals/to-object":344}],314:[function(t,e,i){"use strict";var o=t("../internals/function-uncurry-this");e.exports=o({}.isPrototypeOf)},{"../internals/function-uncurry-this":268}],315:[function(t,e,i){"use strict";var o=t("../internals/function-uncurry-this"),r=t("../internals/has-own-property"),n=t("../internals/to-indexed-object"),a=t("../internals/array-includes").indexOf,s=t("../internals/hidden-keys"),l=o([].push);e.exports=function(c,d){var u,p=n(c),m=0,h=[];for(u in p)!r(s,u)&&r(p,u)&&l(h,u);for(;d.length>m;)r(p,u=d[m++])&&(~a(h,u)||l(h,u));return h}},{"../internals/array-includes":228,"../internals/function-uncurry-this":268,"../internals/has-own-property":275,"../internals/hidden-keys":276,"../internals/to-indexed-object":341}],316:[function(t,e,i){"use strict";var o=t("../internals/object-keys-internal"),r=t("../internals/enum-bug-keys");e.exports=Object.keys||function(n){return o(n,r)}},{"../internals/enum-bug-keys":258,"../internals/object-keys-internal":315}],317:[function(t,e,i){"use strict";var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!o.call({1:2},1);i.f=n?function(a){var s=r(this,a);return!!s&&s.enumerable}:o},{}],318:[function(t,e,i){"use strict";var o=t("../internals/function-uncurry-this-accessor"),r=t("../internals/an-object"),n=t("../internals/a-possible-prototype");e.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var a,s=!1,l={};try{(a=o(Object.prototype,"__proto__","set"))(l,[]),s=l instanceof Array}catch{}return function(c,d){return r(c),n(d),s?a(c,d):c.__proto__=d,c}})():void 0)},{"../internals/a-possible-prototype":224,"../internals/an-object":227,"../internals/function-uncurry-this-accessor":266}],319:[function(t,e,i){"use strict";var o=t("../internals/descriptors"),r=t("../internals/fails"),n=t("../internals/function-uncurry-this"),a=t("../internals/object-get-prototype-of"),s=t("../internals/object-keys"),l=t("../internals/to-indexed-object"),c=n(t("../internals/object-property-is-enumerable").f),d=n([].push),u=o&&r((function(){var m=Object.create(null);return m[2]=2,!c(m,2)})),p=function(m){return function(h){for(var f,g=l(h),b=s(g),y=u&&a(g)===null,w=b.length,x=0,S=[];w>x;)f=b[x++],o&&!(y?f in g:c(g,f))||d(S,m?[f,g[f]]:g[f]);return S}};e.exports={entries:p(!0),values:p(!1)}},{"../internals/descriptors":247,"../internals/fails":260,"../internals/function-uncurry-this":268,"../internals/object-get-prototype-of":313,"../internals/object-keys":316,"../internals/object-property-is-enumerable":317,"../internals/to-indexed-object":341}],320:[function(t,e,i){"use strict";var o=t("../internals/function-call"),r=t("../internals/is-callable"),n=t("../internals/is-object"),a=TypeError;e.exports=function(s,l){var c,d;if(l==="string"&&r(c=s.toString)&&!n(d=o(c,s))||r(c=s.valueOf)&&!n(d=o(c,s))||l!=="string"&&r(c=s.toString)&&!n(d=o(c,s)))return d;throw new a("Can't convert object to primitive value")}},{"../internals/function-call":264,"../internals/is-callable":285,"../internals/is-object":289}],321:[function(t,e,i){"use strict";var o=t("../internals/get-built-in"),r=t("../internals/function-uncurry-this"),n=t("../internals/object-get-own-property-names"),a=t("../internals/object-get-own-property-symbols"),s=t("../internals/an-object"),l=r([].concat);e.exports=o("Reflect","ownKeys")||function(c){var d=n.f(s(c)),u=a.f;return u?l(d,u(c)):d}},{"../internals/an-object":227,"../internals/function-uncurry-this":268,"../internals/get-built-in":269,"../internals/object-get-own-property-names":311,"../internals/object-get-own-property-symbols":312}],322:[function(t,e,i){"use strict";var o=t("../internals/global");e.exports=o},{"../internals/global":274}],323:[function(t,e,i){"use strict";e.exports=function(o){try{return{error:!1,value:o()}}catch(r){return{error:!0,value:r}}}},{}],324:[function(t,e,i){"use strict";var o=t("../internals/global"),r=t("../internals/promise-native-constructor"),n=t("../internals/is-callable"),a=t("../internals/is-forced"),s=t("../internals/inspect-source"),l=t("../internals/well-known-symbol"),c=t("../internals/engine-is-browser"),d=t("../internals/engine-is-deno"),u=t("../internals/is-pure"),p=t("../internals/engine-v8-version"),m=r&&r.prototype,h=l("species"),f=!1,g=n(o.PromiseRejectionEvent),b=a("Promise",(function(){var y=s(r),w=y!==String(r);if(!w&&p===66||u&&(!m.catch||!m.finally))return!0;if(!p||p<51||!/native code/.test(y)){var x=new r((function(T){T(1)})),S=function(T){T((function(){}),(function(){}))};if((x.constructor={})[h]=S,!(f=x.then((function(){}))instanceof S))return!0}return!w&&(c||d)&&!g}));e.exports={CONSTRUCTOR:b,REJECTION_EVENT:g,SUBCLASSING:f}},{"../internals/engine-is-browser":250,"../internals/engine-is-deno":251,"../internals/engine-v8-version":257,"../internals/global":274,"../internals/inspect-source":281,"../internals/is-callable":285,"../internals/is-forced":287,"../internals/is-pure":290,"../internals/promise-native-constructor":325,"../internals/well-known-symbol":357}],325:[function(t,e,i){"use strict";var o=t("../internals/global");e.exports=o.Promise},{"../internals/global":274}],326:[function(t,e,i){"use strict";var o=t("../internals/an-object"),r=t("../internals/is-object"),n=t("../internals/new-promise-capability");e.exports=function(a,s){if(o(a),r(s)&&s.constructor===a)return s;var l=n.f(a);return(0,l.resolve)(s),l.promise}},{"../internals/an-object":227,"../internals/is-object":289,"../internals/new-promise-capability":303}],327:[function(t,e,i){"use strict";var o=t("../internals/promise-native-constructor"),r=t("../internals/check-correctness-of-iteration"),n=t("../internals/promise-constructor-detection").CONSTRUCTOR;e.exports=n||!r((function(a){o.all(a).then(void 0,(function(){}))}))},{"../internals/check-correctness-of-iteration":234,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325}],328:[function(t,e,i){"use strict";var o=function(){this.head=null,this.tail=null};o.prototype={add:function(r){var n={item:r,next:null},a=this.tail;a?a.next=n:this.head=n,this.tail=n},get:function(){var r=this.head;if(r)return(this.head=r.next)===null&&(this.tail=null),r.item}},e.exports=o},{}],329:[function(t,e,i){"use strict";var o=t("../internals/is-null-or-undefined"),r=TypeError;e.exports=function(n){if(o(n))throw new r("Can't call method on "+n);return n}},{"../internals/is-null-or-undefined":288}],330:[function(t,e,i){"use strict";var o=t("../internals/get-built-in"),r=t("../internals/define-built-in-accessor"),n=t("../internals/well-known-symbol"),a=t("../internals/descriptors"),s=n("species");e.exports=function(l){var c=o(l);a&&c&&!c[s]&&r(c,s,{configurable:!0,get:function(){return this}})}},{"../internals/define-built-in-accessor":244,"../internals/descriptors":247,"../internals/get-built-in":269,"../internals/well-known-symbol":357}],331:[function(t,e,i){"use strict";var o=t("../internals/object-define-property").f,r=t("../internals/has-own-property"),n=t("../internals/well-known-symbol")("toStringTag");e.exports=function(a,s,l){a&&!l&&(a=a.prototype),a&&!r(a,n)&&o(a,n,{configurable:!0,value:s})}},{"../internals/has-own-property":275,"../internals/object-define-property":308,"../internals/well-known-symbol":357}],332:[function(t,e,i){"use strict";var o=t("../internals/shared"),r=t("../internals/uid"),n=o("keys");e.exports=function(a){return n[a]||(n[a]=r(a))}},{"../internals/shared":334,"../internals/uid":350}],333:[function(t,e,i){"use strict";var o=t("../internals/global"),r=t("../internals/define-global-property"),n=o["__core-js_shared__"]||r("__core-js_shared__",{});e.exports=n},{"../internals/define-global-property":246,"../internals/global":274}],334:[function(t,e,i){"use strict";var o=t("../internals/is-pure"),r=t("../internals/shared-store");(e.exports=function(n,a){return r[n]||(r[n]=a!==void 0?a:{})})("versions",[]).push({version:"3.33.0",mode:o?"pure":"global",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":290,"../internals/shared-store":333}],335:[function(t,e,i){"use strict";var o=t("../internals/an-object"),r=t("../internals/a-constructor"),n=t("../internals/is-null-or-undefined"),a=t("../internals/well-known-symbol")("species");e.exports=function(s,l){var c,d=o(s).constructor;return d===void 0||n(c=o(d)[a])?l:r(c)}},{"../internals/a-constructor":223,"../internals/an-object":227,"../internals/is-null-or-undefined":288,"../internals/well-known-symbol":357}],336:[function(t,e,i){"use strict";var o=t("../internals/engine-v8-version"),r=t("../internals/fails"),n=t("../internals/global").String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var a=Symbol("symbol detection");return!n(a)||!(Object(a)instanceof Symbol)||!Symbol.sham&&o&&o<41}))},{"../internals/engine-v8-version":257,"../internals/fails":260,"../internals/global":274}],337:[function(t,e,i){"use strict";var o=t("../internals/function-call"),r=t("../internals/get-built-in"),n=t("../internals/well-known-symbol"),a=t("../internals/define-built-in");e.exports=function(){var s=r("Symbol"),l=s&&s.prototype,c=l&&l.valueOf,d=n("toPrimitive");l&&!l[d]&&a(l,d,(function(u){return o(c,this)}),{arity:1})}},{"../internals/define-built-in":245,"../internals/function-call":264,"../internals/get-built-in":269,"../internals/well-known-symbol":357}],338:[function(t,e,i){"use strict";var o=t("../internals/symbol-constructor-detection");e.exports=o&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/symbol-constructor-detection":336}],339:[function(t,e,i){"use strict";var o,r,n,a,s=t("../internals/global"),l=t("../internals/function-apply"),c=t("../internals/function-bind-context"),d=t("../internals/is-callable"),u=t("../internals/has-own-property"),p=t("../internals/fails"),m=t("../internals/html"),h=t("../internals/array-slice"),f=t("../internals/document-create-element"),g=t("../internals/validate-arguments-length"),b=t("../internals/engine-is-ios"),y=t("../internals/engine-is-node"),w=s.setImmediate,x=s.clearImmediate,S=s.process,T=s.Dispatch,M=s.Function,I=s.MessageChannel,A=s.String,D=0,E={};p((function(){o=s.location}));var N=function(P){if(u(E,P)){var O=E[P];delete E[P],O()}},R=function(P){return function(){N(P)}},v=function(P){N(P.data)},k=function(P){s.postMessage(A(P),o.protocol+"//"+o.host)};w&&x||(w=function(P){g(arguments.length,1);var O=d(P)?P:M(P),_=h(arguments,1);return E[++D]=function(){l(O,void 0,_)},r(D),D},x=function(P){delete E[P]},y?r=function(P){S.nextTick(R(P))}:T&&T.now?r=function(P){T.now(R(P))}:I&&!b?(a=(n=new I).port2,n.port1.onmessage=v,r=c(a.postMessage,a)):s.addEventListener&&d(s.postMessage)&&!s.importScripts&&o&&o.protocol!=="file:"&&!p(k)?(r=k,s.addEventListener("message",v,!1)):r="onreadystatechange"in f("script")?function(P){m.appendChild(f("script")).onreadystatechange=function(){m.removeChild(this),N(P)}}:function(P){setTimeout(R(P),0)}),e.exports={set:w,clear:x}},{"../internals/array-slice":231,"../internals/document-create-element":249,"../internals/engine-is-ios":253,"../internals/engine-is-node":254,"../internals/fails":260,"../internals/function-apply":261,"../internals/function-bind-context":262,"../internals/global":274,"../internals/has-own-property":275,"../internals/html":278,"../internals/is-callable":285,"../internals/validate-arguments-length":353}],340:[function(t,e,i){"use strict";var o=t("../internals/to-integer-or-infinity"),r=Math.max,n=Math.min;e.exports=function(a,s){var l=o(a);return l<0?r(l+s,0):n(l,s)}},{"../internals/to-integer-or-infinity":342}],341:[function(t,e,i){"use strict";var o=t("../internals/indexed-object"),r=t("../internals/require-object-coercible");e.exports=function(n){return o(r(n))}},{"../internals/indexed-object":280,"../internals/require-object-coercible":329}],342:[function(t,e,i){"use strict";var o=t("../internals/math-trunc");e.exports=function(r){var n=+r;return n!=n||n===0?0:o(n)}},{"../internals/math-trunc":301}],343:[function(t,e,i){"use strict";var o=t("../internals/to-integer-or-infinity"),r=Math.min;e.exports=function(n){return n>0?r(o(n),9007199254740991):0}},{"../internals/to-integer-or-infinity":342}],344:[function(t,e,i){"use strict";var o=t("../internals/require-object-coercible"),r=Object;e.exports=function(n){return r(o(n))}},{"../internals/require-object-coercible":329}],345:[function(t,e,i){"use strict";var o=t("../internals/function-call"),r=t("../internals/is-object"),n=t("../internals/is-symbol"),a=t("../internals/get-method"),s=t("../internals/ordinary-to-primitive"),l=t("../internals/well-known-symbol"),c=TypeError,d=l("toPrimitive");e.exports=function(u,p){if(!r(u)||n(u))return u;var m,h=a(u,d);if(h){if(p===void 0&&(p="default"),m=o(h,u,p),!r(m)||n(m))return m;throw new c("Can't convert object to primitive value")}return p===void 0&&(p="number"),s(u,p)}},{"../internals/function-call":264,"../internals/get-method":273,"../internals/is-object":289,"../internals/is-symbol":292,"../internals/ordinary-to-primitive":320,"../internals/well-known-symbol":357}],346:[function(t,e,i){"use strict";var o=t("../internals/to-primitive"),r=t("../internals/is-symbol");e.exports=function(n){var a=o(n,"string");return r(a)?a:a+""}},{"../internals/is-symbol":292,"../internals/to-primitive":345}],347:[function(t,e,i){"use strict";var o={};o[t("../internals/well-known-symbol")("toStringTag")]="z",e.exports=String(o)==="[object z]"},{"../internals/well-known-symbol":357}],348:[function(t,e,i){"use strict";var o=t("../internals/classof"),r=String;e.exports=function(n){if(o(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return r(n)}},{"../internals/classof":236}],349:[function(t,e,i){"use strict";var o=String;e.exports=function(r){try{return o(r)}catch{return"Object"}}},{}],350:[function(t,e,i){"use strict";var o=t("../internals/function-uncurry-this"),r=0,n=Math.random(),a=o(1 .toString);e.exports=function(s){return"Symbol("+(s===void 0?"":s)+")_"+a(++r+n,36)}},{"../internals/function-uncurry-this":268}],351:[function(t,e,i){"use strict";var o=t("../internals/symbol-constructor-detection");e.exports=o&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/symbol-constructor-detection":336}],352:[function(t,e,i){"use strict";var o=t("../internals/descriptors"),r=t("../internals/fails");e.exports=o&&r((function(){return Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype!==42}))},{"../internals/descriptors":247,"../internals/fails":260}],353:[function(t,e,i){"use strict";var o=TypeError;e.exports=function(r,n){if(r<n)throw new o("Not enough arguments");return r}},{}],354:[function(t,e,i){"use strict";var o=t("../internals/global"),r=t("../internals/is-callable"),n=o.WeakMap;e.exports=r(n)&&/native code/.test(String(n))},{"../internals/global":274,"../internals/is-callable":285}],355:[function(t,e,i){"use strict";var o=t("../internals/path"),r=t("../internals/has-own-property"),n=t("../internals/well-known-symbol-wrapped"),a=t("../internals/object-define-property").f;e.exports=function(s){var l=o.Symbol||(o.Symbol={});r(l,s)||a(l,s,{value:n.f(s)})}},{"../internals/has-own-property":275,"../internals/object-define-property":308,"../internals/path":322,"../internals/well-known-symbol-wrapped":356}],356:[function(t,e,i){"use strict";var o=t("../internals/well-known-symbol");i.f=o},{"../internals/well-known-symbol":357}],357:[function(t,e,i){"use strict";var o=t("../internals/global"),r=t("../internals/shared"),n=t("../internals/has-own-property"),a=t("../internals/uid"),s=t("../internals/symbol-constructor-detection"),l=t("../internals/use-symbol-as-uid"),c=o.Symbol,d=r("wks"),u=l?c.for||c:c&&c.withoutSetter||a;e.exports=function(p){return n(d,p)||(d[p]=s&&n(c,p)?c[p]:u("Symbol."+p)),d[p]}},{"../internals/global":274,"../internals/has-own-property":275,"../internals/shared":334,"../internals/symbol-constructor-detection":336,"../internals/uid":350,"../internals/use-symbol-as-uid":351}],358:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/array-iteration").findIndex,n=t("../internals/add-to-unscopables"),a=!0;"findIndex"in[]&&Array(1).findIndex((function(){a=!1})),o({target:"Array",proto:!0,forced:a},{findIndex:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("findIndex")},{"../internals/add-to-unscopables":225,"../internals/array-iteration":229,"../internals/export":259}],359:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/array-iteration").find,n=t("../internals/add-to-unscopables"),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),o({target:"Array",proto:!0,forced:a},{find:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("find")},{"../internals/add-to-unscopables":225,"../internals/array-iteration":229,"../internals/export":259}],360:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/array-includes").includes,n=t("../internals/fails"),a=t("../internals/add-to-unscopables");o({target:"Array",proto:!0,forced:n((function(){return!Array(1).includes()}))},{includes:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),a("includes")},{"../internals/add-to-unscopables":225,"../internals/array-includes":228,"../internals/export":259,"../internals/fails":260}],361:[function(t,e,i){"use strict";var o=t("../internals/to-indexed-object"),r=t("../internals/add-to-unscopables"),n=t("../internals/iterators"),a=t("../internals/internal-state"),s=t("../internals/object-define-property").f,l=t("../internals/iterator-define"),c=t("../internals/create-iter-result-object"),d=t("../internals/is-pure"),u=t("../internals/descriptors"),p=a.set,m=a.getterFor("Array Iterator");e.exports=l(Array,"Array",(function(f,g){p(this,{type:"Array Iterator",target:o(f),index:0,kind:g})}),(function(){var f=m(this),g=f.target,b=f.kind,y=f.index++;if(!g||y>=g.length)return f.target=void 0,c(void 0,!0);switch(b){case"keys":return c(y,!1);case"values":return c(g[y],!1)}return c([y,g[y]],!1)}),"values");var h=n.Arguments=n.Array;if(r("keys"),r("values"),r("entries"),!d&&u&&h.name!=="values")try{s(h,"name",{value:"values"})}catch{}},{"../internals/add-to-unscopables":225,"../internals/create-iter-result-object":240,"../internals/descriptors":247,"../internals/internal-state":282,"../internals/is-pure":290,"../internals/iterator-define":296,"../internals/iterators":298,"../internals/object-define-property":308,"../internals/to-indexed-object":341}],362:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/get-built-in"),n=t("../internals/function-apply"),a=t("../internals/function-call"),s=t("../internals/function-uncurry-this"),l=t("../internals/fails"),c=t("../internals/is-callable"),d=t("../internals/is-symbol"),u=t("../internals/array-slice"),p=t("../internals/get-json-replacer-function"),m=t("../internals/symbol-constructor-detection"),h=String,f=r("JSON","stringify"),g=s(/./.exec),b=s("".charAt),y=s("".charCodeAt),w=s("".replace),x=s(1 .toString),S=/[\uD800-\uDFFF]/g,T=/^[\uD800-\uDBFF]$/,M=/^[\uDC00-\uDFFF]$/,I=!m||l((function(){var N=r("Symbol")("stringify detection");return f([N])!=="[null]"||f({a:N})!=="{}"||f(Object(N))!=="{}"})),A=l((function(){return f("\uDF06\uD834")!=='"\\udf06\\ud834"'||f("\uDEAD")!=='"\\udead"'})),D=function(N,R){var v=u(arguments),k=p(R);if(c(k)||N!==void 0&&!d(N))return v[1]=function(P,O){if(c(k)&&(O=a(k,this,h(P),O)),!d(O))return O},n(f,null,v)},E=function(N,R,v){var k=b(v,R-1),P=b(v,R+1);return g(T,N)&&!g(M,P)||g(M,N)&&!g(T,k)?"\\u"+x(y(N,0),16):N};f&&o({target:"JSON",stat:!0,arity:3,forced:I||A},{stringify:function(N,R,v){var k=u(arguments),P=n(I?D:f,null,k);return A&&typeof P=="string"?w(P,S,E):P}})},{"../internals/array-slice":231,"../internals/export":259,"../internals/fails":260,"../internals/function-apply":261,"../internals/function-call":264,"../internals/function-uncurry-this":268,"../internals/get-built-in":269,"../internals/get-json-replacer-function":272,"../internals/is-callable":285,"../internals/is-symbol":292,"../internals/symbol-constructor-detection":336}],363:[function(t,e,i){"use strict";t("../internals/export")({target:"Number",stat:!0},{isNaN:function(o){return o!=o}})},{"../internals/export":259}],364:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/object-assign");o({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},{"../internals/export":259,"../internals/object-assign":305}],365:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/symbol-constructor-detection"),n=t("../internals/fails"),a=t("../internals/object-get-own-property-symbols"),s=t("../internals/to-object");o({target:"Object",stat:!0,forced:!r||n((function(){a.f(1)}))},{getOwnPropertySymbols:function(l){var c=a.f;return c?c(s(l)):[]}})},{"../internals/export":259,"../internals/fails":260,"../internals/object-get-own-property-symbols":312,"../internals/symbol-constructor-detection":336,"../internals/to-object":344}],366:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/to-object"),n=t("../internals/object-keys");o({target:"Object",stat:!0,forced:t("../internals/fails")((function(){n(1)}))},{keys:function(a){return n(r(a))}})},{"../internals/export":259,"../internals/fails":260,"../internals/object-keys":316,"../internals/to-object":344}],367:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/object-to-array").values;o({target:"Object",stat:!0},{values:function(n){return r(n)}})},{"../internals/export":259,"../internals/object-to-array":319}],368:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/function-call"),n=t("../internals/a-callable"),a=t("../internals/new-promise-capability"),s=t("../internals/perform"),l=t("../internals/iterate");o({target:"Promise",stat:!0,forced:t("../internals/promise-statics-incorrect-iteration")},{all:function(c){var d=this,u=a.f(d),p=u.resolve,m=u.reject,h=s((function(){var f=n(d.resolve),g=[],b=0,y=1;l(c,(function(w){var x=b++,S=!1;y++,r(f,d,w).then((function(T){S||(S=!0,g[x]=T,--y||p(g))}),m)})),--y||p(g)}));return h.error&&m(h.value),u.promise}})},{"../internals/a-callable":222,"../internals/export":259,"../internals/function-call":264,"../internals/iterate":293,"../internals/new-promise-capability":303,"../internals/perform":323,"../internals/promise-statics-incorrect-iteration":327}],369:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/is-pure"),n=t("../internals/promise-constructor-detection").CONSTRUCTOR,a=t("../internals/promise-native-constructor"),s=t("../internals/get-built-in"),l=t("../internals/is-callable"),c=t("../internals/define-built-in"),d=a&&a.prototype;if(o({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(p){return this.then(void 0,p)}}),!r&&l(a)){var u=s("Promise").prototype.catch;d.catch!==u&&c(d,"catch",u,{unsafe:!0})}},{"../internals/define-built-in":245,"../internals/export":259,"../internals/get-built-in":269,"../internals/is-callable":285,"../internals/is-pure":290,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325}],370:[function(t,e,i){"use strict";var o,r,n,a=t("../internals/export"),s=t("../internals/is-pure"),l=t("../internals/engine-is-node"),c=t("../internals/global"),d=t("../internals/function-call"),u=t("../internals/define-built-in"),p=t("../internals/object-set-prototype-of"),m=t("../internals/set-to-string-tag"),h=t("../internals/set-species"),f=t("../internals/a-callable"),g=t("../internals/is-callable"),b=t("../internals/is-object"),y=t("../internals/an-instance"),w=t("../internals/species-constructor"),x=t("../internals/task").set,S=t("../internals/microtask"),T=t("../internals/host-report-errors"),M=t("../internals/perform"),I=t("../internals/queue"),A=t("../internals/internal-state"),D=t("../internals/promise-native-constructor"),E=t("../internals/promise-constructor-detection"),N=t("../internals/new-promise-capability"),R=E.CONSTRUCTOR,v=E.REJECTION_EVENT,k=E.SUBCLASSING,P=A.getterFor("Promise"),O=A.set,_=D&&D.prototype,j=D,B=_,V=c.TypeError,G=c.document,Q=c.process,H=N.f,q=H,U=!!(G&&G.createEvent&&c.dispatchEvent),F=function(re){var Y;return!(!b(re)||!g(Y=re.then))&&Y},K=function(re,Y){var X,ie,de,fe=Y.value,ye=Y.state===1,Le=ye?re.ok:re.fail,Re=re.resolve,Ne=re.reject,Te=re.domain;try{Le?(ye||(Y.rejection===2&&ee(Y),Y.rejection=1),Le===!0?X=fe:(Te&&Te.enter(),X=Le(fe),Te&&(Te.exit(),de=!0)),X===re.promise?Ne(new V("Promise-chain cycle")):(ie=F(X))?d(ie,X,Re,Ne):Re(X)):Ne(fe)}catch(Pe){Te&&!de&&Te.exit(),Ne(Pe)}},te=function(re,Y){re.notified||(re.notified=!0,S((function(){for(var X,ie=re.reactions;X=ie.get();)K(X,re);re.notified=!1,Y&&!re.rejection&&pe(re)})))},ae=function(re,Y,X){var ie,de;U?((ie=G.createEvent("Event")).promise=Y,ie.reason=X,ie.initEvent(re,!1,!0),c.dispatchEvent(ie)):ie={promise:Y,reason:X},!v&&(de=c["on"+re])?de(ie):re==="unhandledrejection"&&T("Unhandled promise rejection",X)},pe=function(re){d(x,c,(function(){var Y,X=re.facade,ie=re.value;if(Z(re)&&(Y=M((function(){l?Q.emit("unhandledRejection",ie,X):ae("unhandledrejection",X,ie)})),re.rejection=l||Z(re)?2:1,Y.error))throw Y.value}))},Z=function(re){return re.rejection!==1&&!re.parent},ee=function(re){d(x,c,(function(){var Y=re.facade;l?Q.emit("rejectionHandled",Y):ae("rejectionhandled",Y,re.value)}))},ce=function(re,Y,X){return function(ie){re(Y,ie,X)}},ne=function(re,Y,X){re.done||(re.done=!0,X&&(re=X),re.value=Y,re.state=2,te(re,!0))},oe=function(re,Y,X){if(!re.done){re.done=!0,X&&(re=X);try{if(re.facade===Y)throw new V("Promise can't be resolved itself");var ie=F(Y);ie?S((function(){var de={done:!1};try{d(ie,Y,ce(oe,de,re),ce(ne,de,re))}catch(fe){ne(de,fe,re)}})):(re.value=Y,re.state=1,te(re,!1))}catch(de){ne({done:!1},de,re)}}};if(R&&(B=(j=function(re){y(this,B),f(re),d(o,this);var Y=P(this);try{re(ce(oe,Y),ce(ne,Y))}catch(X){ne(Y,X)}}).prototype,(o=function(re){O(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new I,rejection:!1,state:0,value:void 0})}).prototype=u(B,"then",(function(re,Y){var X=P(this),ie=H(w(this,j));return X.parent=!0,ie.ok=!g(re)||re,ie.fail=g(Y)&&Y,ie.domain=l?Q.domain:void 0,X.state===0?X.reactions.add(ie):S((function(){K(ie,X)})),ie.promise})),r=function(){var re=new o,Y=P(re);this.promise=re,this.resolve=ce(oe,Y),this.reject=ce(ne,Y)},N.f=H=function(re){return re===j||re===void 0?new r(re):q(re)},!s&&g(D)&&_!==Object.prototype)){n=_.then,k||u(_,"then",(function(re,Y){var X=this;return new j((function(ie,de){d(n,X,ie,de)})).then(re,Y)}),{unsafe:!0});try{delete _.constructor}catch{}p&&p(_,B)}a({global:!0,constructor:!0,wrap:!0,forced:R},{Promise:j}),m(j,"Promise",!1,!0),h("Promise")},{"../internals/a-callable":222,"../internals/an-instance":226,"../internals/define-built-in":245,"../internals/engine-is-node":254,"../internals/export":259,"../internals/function-call":264,"../internals/global":274,"../internals/host-report-errors":277,"../internals/internal-state":282,"../internals/is-callable":285,"../internals/is-object":289,"../internals/is-pure":290,"../internals/microtask":302,"../internals/new-promise-capability":303,"../internals/object-set-prototype-of":318,"../internals/perform":323,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325,"../internals/queue":328,"../internals/set-species":330,"../internals/set-to-string-tag":331,"../internals/species-constructor":335,"../internals/task":339}],371:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/is-pure"),n=t("../internals/promise-native-constructor"),a=t("../internals/fails"),s=t("../internals/get-built-in"),l=t("../internals/is-callable"),c=t("../internals/species-constructor"),d=t("../internals/promise-resolve"),u=t("../internals/define-built-in"),p=n&&n.prototype;if(o({target:"Promise",proto:!0,real:!0,forced:!!n&&a((function(){p.finally.call({then:function(){}},(function(){}))}))},{finally:function(h){var f=c(this,s("Promise")),g=l(h);return this.then(g?function(b){return d(f,h()).then((function(){return b}))}:h,g?function(b){return d(f,h()).then((function(){throw b}))}:h)}}),!r&&l(n)){var m=s("Promise").prototype.finally;p.finally!==m&&u(p,"finally",m,{unsafe:!0})}},{"../internals/define-built-in":245,"../internals/export":259,"../internals/fails":260,"../internals/get-built-in":269,"../internals/is-callable":285,"../internals/is-pure":290,"../internals/promise-native-constructor":325,"../internals/promise-resolve":326,"../internals/species-constructor":335}],372:[function(t,e,i){"use strict";t("../modules/es.promise.constructor"),t("../modules/es.promise.all"),t("../modules/es.promise.catch"),t("../modules/es.promise.race"),t("../modules/es.promise.reject"),t("../modules/es.promise.resolve")},{"../modules/es.promise.all":368,"../modules/es.promise.catch":369,"../modules/es.promise.constructor":370,"../modules/es.promise.race":373,"../modules/es.promise.reject":374,"../modules/es.promise.resolve":375}],373:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/function-call"),n=t("../internals/a-callable"),a=t("../internals/new-promise-capability"),s=t("../internals/perform"),l=t("../internals/iterate");o({target:"Promise",stat:!0,forced:t("../internals/promise-statics-incorrect-iteration")},{race:function(c){var d=this,u=a.f(d),p=u.reject,m=s((function(){var h=n(d.resolve);l(c,(function(f){r(h,d,f).then(u.resolve,p)}))}));return m.error&&p(m.value),u.promise}})},{"../internals/a-callable":222,"../internals/export":259,"../internals/function-call":264,"../internals/iterate":293,"../internals/new-promise-capability":303,"../internals/perform":323,"../internals/promise-statics-incorrect-iteration":327}],374:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/function-call"),n=t("../internals/new-promise-capability");o({target:"Promise",stat:!0,forced:t("../internals/promise-constructor-detection").CONSTRUCTOR},{reject:function(a){var s=n.f(this);return r(s.reject,void 0,a),s.promise}})},{"../internals/export":259,"../internals/function-call":264,"../internals/new-promise-capability":303,"../internals/promise-constructor-detection":324}],375:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/get-built-in"),n=t("../internals/is-pure"),a=t("../internals/promise-native-constructor"),s=t("../internals/promise-constructor-detection").CONSTRUCTOR,l=t("../internals/promise-resolve"),c=r("Promise"),d=n&&!s;o({target:"Promise",stat:!0,forced:n||s},{resolve:function(u){return l(d&&this===c?a:this,u)}})},{"../internals/export":259,"../internals/get-built-in":269,"../internals/is-pure":290,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325,"../internals/promise-resolve":326}],376:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/function-uncurry-this"),n=t("../internals/to-absolute-index"),a=RangeError,s=String.fromCharCode,l=String.fromCodePoint,c=r([].join);o({target:"String",stat:!0,arity:1,forced:!!l&&l.length!==1},{fromCodePoint:function(d){for(var u,p=[],m=arguments.length,h=0;m>h;){if(u=+arguments[h++],n(u,1114111)!==u)throw new a(u+" is not a valid code point");p[h]=u<65536?s(u):s(55296+((u-=65536)>>10),u%1024+56320)}return c(p,"")}})},{"../internals/export":259,"../internals/function-uncurry-this":268,"../internals/to-absolute-index":340}],377:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/function-uncurry-this"),n=t("../internals/not-a-regexp"),a=t("../internals/require-object-coercible"),s=t("../internals/to-string"),l=t("../internals/correct-is-regexp-logic"),c=r("".indexOf);o({target:"String",proto:!0,forced:!l("includes")},{includes:function(d){return!!~c(s(a(this)),s(n(d)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":238,"../internals/export":259,"../internals/function-uncurry-this":268,"../internals/not-a-regexp":304,"../internals/require-object-coercible":329,"../internals/to-string":348}],378:[function(t,e,i){"use strict";t("../internals/well-known-symbol-define")("asyncIterator")},{"../internals/well-known-symbol-define":355}],379:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/global"),n=t("../internals/function-call"),a=t("../internals/function-uncurry-this"),s=t("../internals/is-pure"),l=t("../internals/descriptors"),c=t("../internals/symbol-constructor-detection"),d=t("../internals/fails"),u=t("../internals/has-own-property"),p=t("../internals/object-is-prototype-of"),m=t("../internals/an-object"),h=t("../internals/to-indexed-object"),f=t("../internals/to-property-key"),g=t("../internals/to-string"),b=t("../internals/create-property-descriptor"),y=t("../internals/object-create"),w=t("../internals/object-keys"),x=t("../internals/object-get-own-property-names"),S=t("../internals/object-get-own-property-names-external"),T=t("../internals/object-get-own-property-symbols"),M=t("../internals/object-get-own-property-descriptor"),I=t("../internals/object-define-property"),A=t("../internals/object-define-properties"),D=t("../internals/object-property-is-enumerable"),E=t("../internals/define-built-in"),N=t("../internals/define-built-in-accessor"),R=t("../internals/shared"),v=t("../internals/shared-key"),k=t("../internals/hidden-keys"),P=t("../internals/uid"),O=t("../internals/well-known-symbol"),_=t("../internals/well-known-symbol-wrapped"),j=t("../internals/well-known-symbol-define"),B=t("../internals/symbol-define-to-primitive"),V=t("../internals/set-to-string-tag"),G=t("../internals/internal-state"),Q=t("../internals/array-iteration").forEach,H=v("hidden"),q=G.set,U=G.getterFor("Symbol"),F=Object.prototype,K=r.Symbol,te=K&&K.prototype,ae=r.RangeError,pe=r.TypeError,Z=r.QObject,ee=M.f,ce=I.f,ne=S.f,oe=D.f,re=a([].push),Y=R("symbols"),X=R("op-symbols"),ie=R("wks"),de=!Z||!Z.prototype||!Z.prototype.findChild,fe=function(Ve,ze,He){var Ye=ee(F,ze);Ye&&delete F[ze],ce(Ve,ze,He),Ye&&Ve!==F&&ce(F,ze,Ye)},ye=l&&d((function(){return y(ce({},"a",{get:function(){return ce(this,"a",{value:7}).a}})).a!==7}))?fe:ce,Le=function(Ve,ze){var He=Y[Ve]=y(te);return q(He,{type:"Symbol",tag:Ve,description:ze}),l||(He.description=ze),He},Re=function(Ve,ze,He){Ve===F&&Re(X,ze,He),m(Ve);var Ye=f(ze);return m(He),u(Y,Ye)?(He.enumerable?(u(Ve,H)&&Ve[H][Ye]&&(Ve[H][Ye]=!1),He=y(He,{enumerable:b(0,!1)})):(u(Ve,H)||ce(Ve,H,b(1,{})),Ve[H][Ye]=!0),ye(Ve,Ye,He)):ce(Ve,Ye,He)},Ne=function(Ve,ze){m(Ve);var He=h(ze),Ye=w(He).concat(Ue(He));return Q(Ye,(function(ke){l&&!n(Te,He,ke)||Re(Ve,ke,He[ke])})),Ve},Te=function(Ve){var ze=f(Ve),He=n(oe,this,ze);return!(this===F&&u(Y,ze)&&!u(X,ze))&&(!(He||!u(this,ze)||!u(Y,ze)||u(this,H)&&this[H][ze])||He)},Pe=function(Ve,ze){var He=h(Ve),Ye=f(ze);if(He!==F||!u(Y,Ye)||u(X,Ye)){var ke=ee(He,Ye);return!ke||!u(Y,Ye)||u(He,H)&&He[H][Ye]||(ke.enumerable=!0),ke}},Oe=function(Ve){var ze=ne(h(Ve)),He=[];return Q(ze,(function(Ye){u(Y,Ye)||u(k,Ye)||re(He,Ye)})),He},Ue=function(Ve){var ze=Ve===F,He=ne(ze?X:h(Ve)),Ye=[];return Q(He,(function(ke){!u(Y,ke)||ze&&!u(F,ke)||re(Ye,Y[ke])})),Ye};c||(E(te=(K=function(){if(p(te,this))throw new pe("Symbol is not a constructor");var Ve=arguments.length&&arguments[0]!==void 0?g(arguments[0]):void 0,ze=P(Ve),He=function(Ye){this===F&&n(He,X,Ye),u(this,H)&&u(this[H],ze)&&(this[H][ze]=!1);var ke=b(1,Ye);try{ye(this,ze,ke)}catch(Be){if(!(Be instanceof ae))throw Be;fe(this,ze,ke)}};return l&&de&&ye(F,ze,{configurable:!0,set:He}),Le(ze,Ve)}).prototype,"toString",(function(){return U(this).tag})),E(K,"withoutSetter",(function(Ve){return Le(P(Ve),Ve)})),D.f=Te,I.f=Re,A.f=Ne,M.f=Pe,x.f=S.f=Oe,T.f=Ue,_.f=function(Ve){return Le(O(Ve),Ve)},l&&(N(te,"description",{configurable:!0,get:function(){return U(this).description}}),s||E(F,"propertyIsEnumerable",Te,{unsafe:!0}))),o({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:K}),Q(w(ie),(function(Ve){j(Ve)})),o({target:"Symbol",stat:!0,forced:!c},{useSetter:function(){de=!0},useSimple:function(){de=!1}}),o({target:"Object",stat:!0,forced:!c,sham:!l},{create:function(Ve,ze){return ze===void 0?y(Ve):Ne(y(Ve),ze)},defineProperty:Re,defineProperties:Ne,getOwnPropertyDescriptor:Pe}),o({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:Oe}),B(),V(K,"Symbol"),k[H]=!0},{"../internals/an-object":227,"../internals/array-iteration":229,"../internals/create-property-descriptor":242,"../internals/define-built-in":245,"../internals/define-built-in-accessor":244,"../internals/descriptors":247,"../internals/export":259,"../internals/fails":260,"../internals/function-call":264,"../internals/function-uncurry-this":268,"../internals/global":274,"../internals/has-own-property":275,"../internals/hidden-keys":276,"../internals/internal-state":282,"../internals/is-pure":290,"../internals/object-create":306,"../internals/object-define-properties":307,"../internals/object-define-property":308,"../internals/object-get-own-property-descriptor":309,"../internals/object-get-own-property-names":311,"../internals/object-get-own-property-names-external":310,"../internals/object-get-own-property-symbols":312,"../internals/object-is-prototype-of":314,"../internals/object-keys":316,"../internals/object-property-is-enumerable":317,"../internals/set-to-string-tag":331,"../internals/shared":334,"../internals/shared-key":332,"../internals/symbol-constructor-detection":336,"../internals/symbol-define-to-primitive":337,"../internals/to-indexed-object":341,"../internals/to-property-key":346,"../internals/to-string":348,"../internals/uid":350,"../internals/well-known-symbol":357,"../internals/well-known-symbol-define":355,"../internals/well-known-symbol-wrapped":356}],380:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/get-built-in"),n=t("../internals/has-own-property"),a=t("../internals/to-string"),s=t("../internals/shared"),l=t("../internals/symbol-registry-detection"),c=s("string-to-symbol-registry"),d=s("symbol-to-string-registry");o({target:"Symbol",stat:!0,forced:!l},{for:function(u){var p=a(u);if(n(c,p))return c[p];var m=r("Symbol")(p);return c[p]=m,d[m]=p,m}})},{"../internals/export":259,"../internals/get-built-in":269,"../internals/has-own-property":275,"../internals/shared":334,"../internals/symbol-registry-detection":338,"../internals/to-string":348}],381:[function(t,e,i){"use strict";t("../modules/es.symbol.constructor"),t("../modules/es.symbol.for"),t("../modules/es.symbol.key-for"),t("../modules/es.json.stringify"),t("../modules/es.object.get-own-property-symbols")},{"../modules/es.json.stringify":362,"../modules/es.object.get-own-property-symbols":365,"../modules/es.symbol.constructor":379,"../modules/es.symbol.for":380,"../modules/es.symbol.key-for":382}],382:[function(t,e,i){"use strict";var o=t("../internals/export"),r=t("../internals/has-own-property"),n=t("../internals/is-symbol"),a=t("../internals/try-to-string"),s=t("../internals/shared"),l=t("../internals/symbol-registry-detection"),c=s("symbol-to-string-registry");o({target:"Symbol",stat:!0,forced:!l},{keyFor:function(d){if(!n(d))throw new TypeError(a(d)+" is not a symbol");if(r(c,d))return c[d]}})},{"../internals/export":259,"../internals/has-own-property":275,"../internals/is-symbol":292,"../internals/shared":334,"../internals/symbol-registry-detection":338,"../internals/try-to-string":349}],383:[function(t,e,i){"use strict";function o(r){return Object.prototype.toString.call(r)}i.isArray=function(r){return Array.isArray?Array.isArray(r):o(r)==="[object Array]"},i.isBoolean=function(r){return typeof r=="boolean"},i.isNull=function(r){return r===null},i.isNullOrUndefined=function(r){return r==null},i.isNumber=function(r){return typeof r=="number"},i.isString=function(r){return typeof r=="string"},i.isSymbol=function(r){return typeof r=="symbol"},i.isUndefined=function(r){return r===void 0},i.isRegExp=function(r){return o(r)==="[object RegExp]"},i.isObject=function(r){return typeof r=="object"&&r!==null},i.isDate=function(r){return o(r)==="[object Date]"},i.isError=function(r){return o(r)==="[object Error]"||r instanceof Error},i.isFunction=function(r){return typeof r=="function"},i.isPrimitive=function(r){return r===null||typeof r=="boolean"||typeof r=="number"||typeof r=="string"||typeof r=="symbol"||r===void 0},i.isBuffer=t("buffer").Buffer.isBuffer},{buffer:220}],384:[function(t,e,i){(function(o){(function(){"use strict";var r=t("elliptic"),n=t("bn.js");e.exports=function(c){return new s(c)};var a={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function s(c){this.curveType=a[c],this.curveType||(this.curveType={name:c}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function l(c,d,u){Array.isArray(c)||(c=c.toArray());var p=new o(c);if(u&&p.length<u){var m=new o(u-p.length);m.fill(0),p=o.concat([m,p])}return d?p.toString(d):p}a.p224=a.secp224r1,a.p256=a.secp256r1=a.prime256v1,a.p192=a.secp192r1=a.prime192v1,a.p384=a.secp384r1,a.p521=a.secp521r1,s.prototype.generateKeys=function(c,d){return this.keys=this.curve.genKeyPair(),this.getPublicKey(c,d)},s.prototype.computeSecret=function(c,d,u){return d=d||"utf8",o.isBuffer(c)||(c=new o(c,d)),l(this.curve.keyFromPublic(c).getPublic().mul(this.keys.getPrivate()).getX(),u,this.curveType.byteLength)},s.prototype.getPublicKey=function(c,d){var u=this.keys.getPublic(d==="compressed",!0);return d==="hybrid"&&(u[u.length-1]%2?u[0]=7:u[0]=6),l(u,c)},s.prototype.getPrivateKey=function(c){return l(this.keys.getPrivate(),c)},s.prototype.setPublicKey=function(c,d){return d=d||"utf8",o.isBuffer(c)||(c=new o(c,d)),this.keys._importPublic(c),this},s.prototype.setPrivateKey=function(c,d){d=d||"utf8",o.isBuffer(c)||(c=new o(c,d));var u=new n(c);return u=u.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(u),this}}).call(this)}).call(this,t("buffer").Buffer)},{"bn.js":385,buffer:220,elliptic:405}],385:[function(t,e,i){arguments[4][184][0].apply(i,arguments)},{buffer:188,dup:184}],386:[function(t,e,i){"use strict";var o=t("inherits"),r=t("md5.js"),n=t("ripemd160"),a=t("sha.js"),s=t("cipher-base");function l(c){s.call(this,"digest"),this._hash=c}o(l,s),l.prototype._update=function(c){this._hash.update(c)},l.prototype._final=function(){return this._hash.digest()},e.exports=function(c){return(c=c.toLowerCase())==="md5"?new r:c==="rmd160"||c==="ripemd160"?new n:new l(a(c))}},{"cipher-base":221,inherits:440,"md5.js":450,ripemd160:493,"sha.js":498}],387:[function(t,e,i){"use strict";var o=t("md5.js");e.exports=function(r){return new o().update(r).digest()}},{"md5.js":450}],388:[function(t,e,i){"use strict";var o=t("inherits"),r=t("./legacy"),n=t("cipher-base"),a=t("safe-buffer").Buffer,s=t("create-hash/md5"),l=t("ripemd160"),c=t("sha.js"),d=a.alloc(128);function u(p,m){n.call(this,"digest"),typeof m=="string"&&(m=a.from(m));var h=p==="sha512"||p==="sha384"?128:64;this._alg=p,this._key=m,m.length>h?m=(p==="rmd160"?new l:c(p)).update(m).digest():m.length<h&&(m=a.concat([m,d],h));for(var f=this._ipad=a.allocUnsafe(h),g=this._opad=a.allocUnsafe(h),b=0;b<h;b++)f[b]=54^m[b],g[b]=92^m[b];this._hash=p==="rmd160"?new l:c(p),this._hash.update(f)}o(u,n),u.prototype._update=function(p){this._hash.update(p)},u.prototype._final=function(){var p=this._hash.digest();return(this._alg==="rmd160"?new l:c(this._alg)).update(this._opad).update(p).digest()},e.exports=function(p,m){return(p=p.toLowerCase())==="rmd160"||p==="ripemd160"?new u("rmd160",m):p==="md5"?new r(s,m):new u(p,m)}},{"./legacy":389,"cipher-base":221,"create-hash/md5":387,inherits:440,ripemd160:493,"safe-buffer":494,"sha.js":498}],389:[function(t,e,i){"use strict";var o=t("inherits"),r=t("safe-buffer").Buffer,n=t("cipher-base"),a=r.alloc(128);function s(l,c){n.call(this,"digest"),typeof c=="string"&&(c=r.from(c)),this._alg=l,this._key=c,c.length>64?c=l(c):c.length<64&&(c=r.concat([c,a],64));for(var d=this._ipad=r.allocUnsafe(64),u=this._opad=r.allocUnsafe(64),p=0;p<64;p++)d[p]=54^c[p],u[p]=92^c[p];this._hash=[d]}o(s,n),s.prototype._update=function(l){this._hash.push(l)},s.prototype._final=function(){var l=this._alg(r.concat(this._hash));return this._alg(r.concat([this._opad,l]))},e.exports=s},{"cipher-base":221,inherits:440,"safe-buffer":494}],390:[function(t,e,i){"use strict";i.randomBytes=i.rng=i.pseudoRandomBytes=i.prng=t("randombytes"),i.createHash=i.Hash=t("create-hash"),i.createHmac=i.Hmac=t("create-hmac");var o=t("browserify-sign/algos"),r=Object.keys(o),n=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(r);i.getHashes=function(){return n};var a=t("pbkdf2");i.pbkdf2=a.pbkdf2,i.pbkdf2Sync=a.pbkdf2Sync;var s=t("browserify-cipher");i.Cipher=s.Cipher,i.createCipher=s.createCipher,i.Cipheriv=s.Cipheriv,i.createCipheriv=s.createCipheriv,i.Decipher=s.Decipher,i.createDecipher=s.createDecipher,i.Decipheriv=s.Decipheriv,i.createDecipheriv=s.createDecipheriv,i.getCiphers=s.getCiphers,i.listCiphers=s.listCiphers;var l=t("diffie-hellman");i.DiffieHellmanGroup=l.DiffieHellmanGroup,i.createDiffieHellmanGroup=l.createDiffieHellmanGroup,i.getDiffieHellman=l.getDiffieHellman,i.createDiffieHellman=l.createDiffieHellman,i.DiffieHellman=l.DiffieHellman;var c=t("browserify-sign");i.createSign=c.createSign,i.Sign=c.Sign,i.createVerify=c.createVerify,i.Verify=c.Verify,i.createECDH=t("create-ecdh");var d=t("public-encrypt");i.publicEncrypt=d.publicEncrypt,i.privateEncrypt=d.privateEncrypt,i.publicDecrypt=d.publicDecrypt,i.privateDecrypt=d.privateDecrypt;var u=t("randomfill");i.randomFill=u.randomFill,i.randomFillSync=u.randomFillSync,i.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join(`
`))},i.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":206,"browserify-sign":213,"browserify-sign/algos":210,"create-ecdh":384,"create-hash":386,"create-hmac":388,"diffie-hellman":400,pbkdf2:460,"public-encrypt":468,randombytes:475,randomfill:476}],391:[function(t,e,i){"use strict";(function(o,r){typeof i=="object"&&e!==void 0?e.exports=r():(o=typeof globalThis<"u"?globalThis:o||self).dayjs=r()})(void 0,(function(){var o=6e4,r=36e5,n="millisecond",a="second",s="minute",l="hour",c="day",d="week",u="month",p="quarter",m="year",h="date",f="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(v){var k=["th","st","nd","rd"],P=v%100;return"["+v+(k[(P-20)%10]||k[P]||k[0])+"]"}},w=function(v,k,P){var O=String(v);return!O||O.length>=k?v:""+Array(k+1-O.length).join(P)+v},x={s:w,z:function(v){var k=-v.utcOffset(),P=Math.abs(k),O=Math.floor(P/60),_=P%60;return(k<=0?"+":"-")+w(O,2,"0")+":"+w(_,2,"0")},m:function v(k,P){if(k.date()<P.date())return-v(P,k);var O=12*(P.year()-k.year())+(P.month()-k.month()),_=k.clone().add(O,u),j=P-_<0,B=k.clone().add(O+(j?-1:1),u);return+(-(O+(P-_)/(j?_-B:B-_))||0)},a:function(v){return v<0?Math.ceil(v)||0:Math.floor(v)},p:function(v){return{M:u,y:m,w:d,d:c,D:h,h:l,m:s,s:a,ms:n,Q:p}[v]||String(v||"").toLowerCase().replace(/s$/,"")},u:function(v){return v===void 0}},S="en",T={};T[S]=y;var M="$isDayjsObject",I=function(v){return v instanceof N||!(!v||!v[M])},A=function v(k,P,O){var _;if(!k)return S;if(typeof k=="string"){var j=k.toLowerCase();T[j]&&(_=j),P&&(T[j]=P,_=j);var B=k.split("-");if(!_&&B.length>1)return v(B[0])}else{var V=k.name;T[V]=k,_=V}return!O&&_&&(S=_),_||!O&&S},D=function(v,k){if(I(v))return v.clone();var P=typeof k=="object"?k:{};return P.date=v,P.args=arguments,new N(P)},E=x;E.l=A,E.i=I,E.w=function(v,k){return D(v,{locale:k.$L,utc:k.$u,x:k.$x,$offset:k.$offset})};var N=(function(){function v(P){this.$L=A(P.locale,null,!0),this.parse(P),this.$x=this.$x||P.x||{},this[M]=!0}var k=v.prototype;return k.parse=function(P){this.$d=(function(O){var _=O.date,j=O.utc;if(_===null)return new Date(NaN);if(E.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var B=_.match(g);if(B){var V=B[2]-1||0,G=(B[7]||"0").substring(0,3);return j?new Date(Date.UTC(B[1],V,B[3]||1,B[4]||0,B[5]||0,B[6]||0,G)):new Date(B[1],V,B[3]||1,B[4]||0,B[5]||0,B[6]||0,G)}}return new Date(_)})(P),this.init()},k.init=function(){var P=this.$d;this.$y=P.getFullYear(),this.$M=P.getMonth(),this.$D=P.getDate(),this.$W=P.getDay(),this.$H=P.getHours(),this.$m=P.getMinutes(),this.$s=P.getSeconds(),this.$ms=P.getMilliseconds()},k.$utils=function(){return E},k.isValid=function(){return this.$d.toString()!==f},k.isSame=function(P,O){var _=D(P);return this.startOf(O)<=_&&_<=this.endOf(O)},k.isAfter=function(P,O){return D(P)<this.startOf(O)},k.isBefore=function(P,O){return this.endOf(O)<D(P)},k.$g=function(P,O,_){return E.u(P)?this[O]:this.set(_,P)},k.unix=function(){return Math.floor(this.valueOf()/1e3)},k.valueOf=function(){return this.$d.getTime()},k.startOf=function(P,O){var _=this,j=!!E.u(O)||O,B=E.p(P),V=function(te,ae){var pe=E.w(_.$u?Date.UTC(_.$y,ae,te):new Date(_.$y,ae,te),_);return j?pe:pe.endOf(c)},G=function(te,ae){return E.w(_.toDate()[te].apply(_.toDate("s"),(j?[0,0,0,0]:[23,59,59,999]).slice(ae)),_)},Q=this.$W,H=this.$M,q=this.$D,U="set"+(this.$u?"UTC":"");switch(B){case m:return j?V(1,0):V(31,11);case u:return j?V(1,H):V(0,H+1);case d:var F=this.$locale().weekStart||0,K=(Q<F?Q+7:Q)-F;return V(j?q-K:q+(6-K),H);case c:case h:return G(U+"Hours",0);case l:return G(U+"Minutes",1);case s:return G(U+"Seconds",2);case a:return G(U+"Milliseconds",3);default:return this.clone()}},k.endOf=function(P){return this.startOf(P,!1)},k.$set=function(P,O){var _,j=E.p(P),B="set"+(this.$u?"UTC":""),V=(_={},_[c]=B+"Date",_[h]=B+"Date",_[u]=B+"Month",_[m]=B+"FullYear",_[l]=B+"Hours",_[s]=B+"Minutes",_[a]=B+"Seconds",_[n]=B+"Milliseconds",_)[j],G=j===c?this.$D+(O-this.$W):O;if(j===u||j===m){var Q=this.clone().set(h,1);Q.$d[V](G),Q.init(),this.$d=Q.set(h,Math.min(this.$D,Q.daysInMonth())).$d}else V&&this.$d[V](G);return this.init(),this},k.set=function(P,O){return this.clone().$set(P,O)},k.get=function(P){return this[E.p(P)]()},k.add=function(P,O){var _,j=this;P=Number(P);var B=E.p(O),V=function(H){var q=D(j);return E.w(q.date(q.date()+Math.round(H*P)),j)};if(B===u)return this.set(u,this.$M+P);if(B===m)return this.set(m,this.$y+P);if(B===c)return V(1);if(B===d)return V(7);var G=(_={},_[s]=o,_[l]=r,_[a]=1e3,_)[B]||1,Q=this.$d.getTime()+P*G;return E.w(Q,this)},k.subtract=function(P,O){return this.add(-1*P,O)},k.format=function(P){var O=this,_=this.$locale();if(!this.isValid())return _.invalidDate||f;var j=P||"YYYY-MM-DDTHH:mm:ssZ",B=E.z(this),V=this.$H,G=this.$m,Q=this.$M,H=_.weekdays,q=_.months,U=_.meridiem,F=function(ae,pe,Z,ee){return ae&&(ae[pe]||ae(O,j))||Z[pe].slice(0,ee)},K=function(ae){return E.s(V%12||12,ae,"0")},te=U||function(ae,pe,Z){var ee=ae<12?"AM":"PM";return Z?ee.toLowerCase():ee};return j.replace(b,(function(ae,pe){return pe||(function(Z){switch(Z){case"YY":return String(O.$y).slice(-2);case"YYYY":return E.s(O.$y,4,"0");case"M":return Q+1;case"MM":return E.s(Q+1,2,"0");case"MMM":return F(_.monthsShort,Q,q,3);case"MMMM":return F(q,Q);case"D":return O.$D;case"DD":return E.s(O.$D,2,"0");case"d":return String(O.$W);case"dd":return F(_.weekdaysMin,O.$W,H,2);case"ddd":return F(_.weekdaysShort,O.$W,H,3);case"dddd":return H[O.$W];case"H":return String(V);case"HH":return E.s(V,2,"0");case"h":return K(1);case"hh":return K(2);case"a":return te(V,G,!0);case"A":return te(V,G,!1);case"m":return String(G);case"mm":return E.s(G,2,"0");case"s":return String(O.$s);case"ss":return E.s(O.$s,2,"0");case"SSS":return E.s(O.$ms,3,"0");case"Z":return B}return null})(ae)||B.replace(":","")}))},k.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},k.diff=function(P,O,_){var j,B=this,V=E.p(O),G=D(P),Q=(G.utcOffset()-this.utcOffset())*o,H=this-G,q=function(){return E.m(B,G)};switch(V){case m:j=q()/12;break;case u:j=q();break;case p:j=q()/3;break;case d:j=(H-Q)/6048e5;break;case c:j=(H-Q)/864e5;break;case l:j=H/r;break;case s:j=H/o;break;case a:j=H/1e3;break;default:j=H}return _?j:E.a(j)},k.daysInMonth=function(){return this.endOf(u).$D},k.$locale=function(){return T[this.$L]},k.locale=function(P,O){if(!P)return this.$L;var _=this.clone(),j=A(P,O,!0);return j&&(_.$L=j),_},k.clone=function(){return E.w(this.$d,this)},k.toDate=function(){return new Date(this.valueOf())},k.toJSON=function(){return this.isValid()?this.toISOString():null},k.toISOString=function(){return this.$d.toISOString()},k.toString=function(){return this.$d.toUTCString()},v})(),R=N.prototype;return D.prototype=R,[["$ms",n],["$s",a],["$m",s],["$H",l],["$W",c],["$M",u],["$y",m],["$D",h]].forEach((function(v){R[v[1]]=function(k){return this.$g(k,v[0],v[1])}})),D.extend=function(v,k){return v.$i||(v(k,N,D),v.$i=!0),D},D.locale=A,D.isDayjs=I,D.unix=function(v){return D(1e3*v)},D.en=T[S],D.Ls=T,D.p={},D}))},{}],392:[function(t,e,i){"use strict";(function(o,r){typeof i=="object"&&e!==void 0?e.exports=r():(o=typeof globalThis<"u"?globalThis:o||self).dayjs_plugin_customParseFormat=r()})(void 0,(function(){var o={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,a=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,l={},c=function(g){return(g=+g)+(g>68?1900:2e3)},d=function(g){return function(b){this[g]=+b}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=(function(b){if(!b||b==="Z")return 0;var y=b.match(/([+-]|\d\d)/g),w=60*y[1]+(+y[2]||0);return w===0?0:y[0]==="+"?-w:w})(g)}],p=function(g){var b=l[g];return b&&(b.indexOf?b:b.s.concat(b.f))},m=function(g,b){var y,w=l.meridiem;if(w){for(var x=1;x<=24;x+=1)if(g.indexOf(w(x,0,b))>-1){y=x>12;break}}else y=g===(b?"pm":"PM");return y},h={A:[s,function(g){this.afternoon=m(g,!1)}],a:[s,function(g){this.afternoon=m(g,!0)}],S:[/\d/,function(g){this.milliseconds=100*+g}],SS:[n,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[a,d("seconds")],ss:[a,d("seconds")],m:[a,d("minutes")],mm:[a,d("minutes")],H:[a,d("hours")],h:[a,d("hours")],HH:[a,d("hours")],hh:[a,d("hours")],D:[a,d("day")],DD:[n,d("day")],Do:[s,function(g){var b=l.ordinal,y=g.match(/\d+/);if(this.day=y[0],b)for(var w=1;w<=31;w+=1)b(w).replace(/\[|\]/g,"")===g&&(this.day=w)}],M:[a,d("month")],MM:[n,d("month")],MMM:[s,function(g){var b=p("months"),y=(p("monthsShort")||b.map((function(w){return w.slice(0,3)}))).indexOf(g)+1;if(y<1)throw new Error;this.month=y%12||y}],MMMM:[s,function(g){var b=p("months").indexOf(g)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,d("year")],YY:[n,function(g){this.year=c(g)}],YYYY:[/\d{4}/,d("year")],Z:u,ZZ:u};function f(g){var b,y;b=g,y=l&&l.formats;for(var w=(g=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(D,E,N){var R=N&&N.toUpperCase();return E||y[N]||o[N]||y[R].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(v,k,P){return k||P.slice(1)}))}))).match(r),x=w.length,S=0;S<x;S+=1){var T=w[S],M=h[T],I=M&&M[0],A=M&&M[1];w[S]=A?{regex:I,parser:A}:T.replace(/^\[|\]$/g,"")}return function(D){for(var E={},N=0,R=0;N<x;N+=1){var v=w[N];if(typeof v=="string")R+=v.length;else{var k=v.regex,P=v.parser,O=D.slice(R),_=k.exec(O)[0];P.call(E,_),D=D.replace(_,"")}}return(function(j){var B=j.afternoon;if(B!==void 0){var V=j.hours;B?V<12&&(j.hours+=12):V===12&&(j.hours=0),delete j.afternoon}})(E),E}}return function(g,b,y){y.p.customParseFormat=!0,g&&g.parseTwoDigitYear&&(c=g.parseTwoDigitYear);var w=b.prototype,x=w.parse;w.parse=function(S){var T=S.date,M=S.utc,I=S.args;this.$u=M;var A=I[1];if(typeof A=="string"){var D=I[2]===!0,E=I[3]===!0,N=D||E,R=I[2];E&&(R=I[2]),l=this.$locale(),!D&&R&&(l=y.Ls[R]),this.$d=(function(O,_,j){try{if(["x","X"].indexOf(_)>-1)return new Date((_==="X"?1e3:1)*O);var B=f(_)(O),V=B.year,G=B.month,Q=B.day,H=B.hours,q=B.minutes,U=B.seconds,F=B.milliseconds,K=B.zone,te=new Date,ae=Q||(V||G?1:te.getDate()),pe=V||te.getFullYear(),Z=0;V&&!G||(Z=G>0?G-1:te.getMonth());var ee=H||0,ce=q||0,ne=U||0,oe=F||0;return K?new Date(Date.UTC(pe,Z,ae,ee,ce,ne,oe+60*K.offset*1e3)):j?new Date(Date.UTC(pe,Z,ae,ee,ce,ne,oe)):new Date(pe,Z,ae,ee,ce,ne,oe)}catch{return new Date("")}})(T,A,M),this.init(),R&&R!==!0&&(this.$L=this.locale(R).$L),N&&T!=this.format(A)&&(this.$d=new Date("")),l={}}else if(A instanceof Array)for(var v=A.length,k=1;k<=v;k+=1){I[1]=A[k-1];var P=y.apply(this,I);if(P.isValid()){this.$d=P.$d,this.$L=P.$L,this.init();break}k===v&&(this.$d=new Date(""))}else x.call(this,S)}}}))},{}],393:[function(t,e,i){"use strict";(function(o,r){typeof i=="object"&&e!==void 0?e.exports=r():(o=typeof globalThis<"u"?globalThis:o||self).dayjs_plugin_utc=r()})(void 0,(function(){var o="minute",r=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(a,s,l){var c=s.prototype;l.utc=function(g){var b={date:g,utc:!0,args:arguments};return new s(b)},c.utc=function(g){var b=l(this.toDate(),{locale:this.$L,utc:!0});return g?b.add(this.utcOffset(),o):b},c.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var d=c.parse;c.parse=function(g){g.utc&&(this.$u=!0),this.$utils().u(g.$offset)||(this.$offset=g.$offset),d.call(this,g)};var u=c.init;c.init=function(){if(this.$u){var g=this.$d;this.$y=g.getUTCFullYear(),this.$M=g.getUTCMonth(),this.$D=g.getUTCDate(),this.$W=g.getUTCDay(),this.$H=g.getUTCHours(),this.$m=g.getUTCMinutes(),this.$s=g.getUTCSeconds(),this.$ms=g.getUTCMilliseconds()}else u.call(this)};var p=c.utcOffset;c.utcOffset=function(g,b){var y=this.$utils().u;if(y(g))return this.$u?0:y(this.$offset)?p.call(this):this.$offset;if(typeof g=="string"&&(g=(function(T){T===void 0&&(T="");var M=T.match(r);if(!M)return null;var I=(""+M[0]).match(n)||["-",0,0],A=I[0],D=60*+I[1]+ +I[2];return D===0?0:A==="+"?D:-D})(g))===null)return this;var w=Math.abs(g)<=16?60*g:g,x=this;if(b)return x.$offset=w,x.$u=g===0,x;if(g!==0){var S=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(x=this.local().add(w+S,o)).$offset=w,x.$x.$localOffset=S}else x=this.utc();return x};var m=c.format;c.format=function(g){var b=g||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,b)},c.valueOf=function(){var g=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*g},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var h=c.toDate;c.toDate=function(g){return g==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var f=c.diff;c.diff=function(g,b,y){if(g&&this.$u===g.$u)return f.call(this,g,b,y);var w=this.local(),x=l(g).local();return f.call(w,x,b,y)}}}))},{}],394:[function(t,e,i){"use strict";i.utils=t("./des/utils"),i.Cipher=t("./des/cipher"),i.DES=t("./des/des"),i.CBC=t("./des/cbc"),i.EDE=t("./des/ede")},{"./des/cbc":395,"./des/cipher":396,"./des/des":397,"./des/ede":398,"./des/utils":399}],395:[function(t,e,i){"use strict";var o=t("minimalistic-assert"),r=t("inherits"),n={};function a(s){o.equal(s.length,8,"Invalid IV length"),this.iv=new Array(8);for(var l=0;l<this.iv.length;l++)this.iv[l]=s[l]}i.instantiate=function(s){function l(p){s.call(this,p),this._cbcInit()}r(l,s);for(var c=Object.keys(n),d=0;d<c.length;d++){var u=c[d];l.prototype[u]=n[u]}return l.create=function(p){return new l(p)},l},n._cbcInit=function(){var s=new a(this.options.iv);this._cbcState=s},n._update=function(s,l,c,d){var u=this._cbcState,p=this.constructor.super_.prototype,m=u.iv;if(this.type==="encrypt"){for(var h=0;h<this.blockSize;h++)m[h]^=s[l+h];for(p._update.call(this,m,0,c,d),h=0;h<this.blockSize;h++)m[h]=c[d+h]}else{for(p._update.call(this,s,l,c,d),h=0;h<this.blockSize;h++)c[d+h]^=m[h];for(h=0;h<this.blockSize;h++)m[h]=s[l+h]}}},{inherits:440,"minimalistic-assert":453}],396:[function(t,e,i){"use strict";var o=t("minimalistic-assert");function r(n){this.options=n,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=n.padding!==!1}e.exports=r,r.prototype._init=function(){},r.prototype.update=function(n){return n.length===0?[]:this.type==="decrypt"?this._updateDecrypt(n):this._updateEncrypt(n)},r.prototype._buffer=function(n,a){for(var s=Math.min(this.buffer.length-this.bufferOff,n.length-a),l=0;l<s;l++)this.buffer[this.bufferOff+l]=n[a+l];return this.bufferOff+=s,s},r.prototype._flushBuffer=function(n,a){return this._update(this.buffer,0,n,a),this.bufferOff=0,this.blockSize},r.prototype._updateEncrypt=function(n){var a=0,s=0,l=(this.bufferOff+n.length)/this.blockSize|0,c=new Array(l*this.blockSize);this.bufferOff!==0&&(a+=this._buffer(n,a),this.bufferOff===this.buffer.length&&(s+=this._flushBuffer(c,s)));for(var d=n.length-(n.length-a)%this.blockSize;a<d;a+=this.blockSize)this._update(n,a,c,s),s+=this.blockSize;for(;a<n.length;a++,this.bufferOff++)this.buffer[this.bufferOff]=n[a];return c},r.prototype._updateDecrypt=function(n){for(var a=0,s=0,l=Math.ceil((this.bufferOff+n.length)/this.blockSize)-1,c=new Array(l*this.blockSize);l>0;l--)a+=this._buffer(n,a),s+=this._flushBuffer(c,s);return a+=this._buffer(n,a),c},r.prototype.final=function(n){var a,s;return n&&(a=this.update(n)),s=this.type==="encrypt"?this._finalEncrypt():this._finalDecrypt(),a?a.concat(s):s},r.prototype._pad=function(n,a){if(a===0)return!1;for(;a<n.length;)n[a++]=0;return!0},r.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var n=new Array(this.blockSize);return this._update(this.buffer,0,n,0),n},r.prototype._unpad=function(n){return n},r.prototype._finalDecrypt=function(){o.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var n=new Array(this.blockSize);return this._flushBuffer(n,0),this._unpad(n)}},{"minimalistic-assert":453}],397:[function(t,e,i){"use strict";var o=t("minimalistic-assert"),r=t("inherits"),n=t("./utils"),a=t("./cipher");function s(){this.tmp=new Array(2),this.keys=null}function l(d){a.call(this,d);var u=new s;this._desState=u,this.deriveKeys(u,d.key)}r(l,a),e.exports=l,l.create=function(d){return new l(d)};var c=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];l.prototype.deriveKeys=function(d,u){d.keys=new Array(32),o.equal(u.length,this.blockSize,"Invalid key length");var p=n.readUInt32BE(u,0),m=n.readUInt32BE(u,4);n.pc1(p,m,d.tmp,0),p=d.tmp[0],m=d.tmp[1];for(var h=0;h<d.keys.length;h+=2){var f=c[h>>>1];p=n.r28shl(p,f),m=n.r28shl(m,f),n.pc2(p,m,d.keys,h)}},l.prototype._update=function(d,u,p,m){var h=this._desState,f=n.readUInt32BE(d,u),g=n.readUInt32BE(d,u+4);n.ip(f,g,h.tmp,0),f=h.tmp[0],g=h.tmp[1],this.type==="encrypt"?this._encrypt(h,f,g,h.tmp,0):this._decrypt(h,f,g,h.tmp,0),f=h.tmp[0],g=h.tmp[1],n.writeUInt32BE(p,f,m),n.writeUInt32BE(p,g,m+4)},l.prototype._pad=function(d,u){if(this.padding===!1)return!1;for(var p=d.length-u,m=u;m<d.length;m++)d[m]=p;return!0},l.prototype._unpad=function(d){if(this.padding===!1)return d;for(var u=d[d.length-1],p=d.length-u;p<d.length;p++)o.equal(d[p],u);return d.slice(0,d.length-u)},l.prototype._encrypt=function(d,u,p,m,h){for(var f=u,g=p,b=0;b<d.keys.length;b+=2){var y=d.keys[b],w=d.keys[b+1];n.expand(g,d.tmp,0),y^=d.tmp[0],w^=d.tmp[1];var x=n.substitute(y,w),S=g;g=(f^n.permute(x))>>>0,f=S}n.rip(g,f,m,h)},l.prototype._decrypt=function(d,u,p,m,h){for(var f=p,g=u,b=d.keys.length-2;b>=0;b-=2){var y=d.keys[b],w=d.keys[b+1];n.expand(f,d.tmp,0),y^=d.tmp[0],w^=d.tmp[1];var x=n.substitute(y,w),S=f;f=(g^n.permute(x))>>>0,g=S}n.rip(f,g,m,h)}},{"./cipher":396,"./utils":399,inherits:440,"minimalistic-assert":453}],398:[function(t,e,i){"use strict";var o=t("minimalistic-assert"),r=t("inherits"),n=t("./cipher"),a=t("./des");function s(c,d){o.equal(d.length,24,"Invalid key length");var u=d.slice(0,8),p=d.slice(8,16),m=d.slice(16,24);this.ciphers=c==="encrypt"?[a.create({type:"encrypt",key:u}),a.create({type:"decrypt",key:p}),a.create({type:"encrypt",key:m})]:[a.create({type:"decrypt",key:m}),a.create({type:"encrypt",key:p}),a.create({type:"decrypt",key:u})]}function l(c){n.call(this,c);var d=new s(this.type,this.options.key);this._edeState=d}r(l,n),e.exports=l,l.create=function(c){return new l(c)},l.prototype._update=function(c,d,u,p){var m=this._edeState;m.ciphers[0]._update(c,d,u,p),m.ciphers[1]._update(u,p,u,p),m.ciphers[2]._update(u,p,u,p)},l.prototype._pad=a.prototype._pad,l.prototype._unpad=a.prototype._unpad},{"./cipher":396,"./des":397,inherits:440,"minimalistic-assert":453}],399:[function(t,e,i){"use strict";i.readUInt32BE=function(a,s){return(a[0+s]<<24|a[1+s]<<16|a[2+s]<<8|a[3+s])>>>0},i.writeUInt32BE=function(a,s,l){a[0+l]=s>>>24,a[1+l]=s>>>16&255,a[2+l]=s>>>8&255,a[3+l]=255&s},i.ip=function(a,s,l,c){for(var d=0,u=0,p=6;p>=0;p-=2){for(var m=0;m<=24;m+=8)d<<=1,d|=s>>>m+p&1;for(m=0;m<=24;m+=8)d<<=1,d|=a>>>m+p&1}for(p=6;p>=0;p-=2){for(m=1;m<=25;m+=8)u<<=1,u|=s>>>m+p&1;for(m=1;m<=25;m+=8)u<<=1,u|=a>>>m+p&1}l[c+0]=d>>>0,l[c+1]=u>>>0},i.rip=function(a,s,l,c){for(var d=0,u=0,p=0;p<4;p++)for(var m=24;m>=0;m-=8)d<<=1,d|=s>>>m+p&1,d<<=1,d|=a>>>m+p&1;for(p=4;p<8;p++)for(m=24;m>=0;m-=8)u<<=1,u|=s>>>m+p&1,u<<=1,u|=a>>>m+p&1;l[c+0]=d>>>0,l[c+1]=u>>>0},i.pc1=function(a,s,l,c){for(var d=0,u=0,p=7;p>=5;p--){for(var m=0;m<=24;m+=8)d<<=1,d|=s>>m+p&1;for(m=0;m<=24;m+=8)d<<=1,d|=a>>m+p&1}for(m=0;m<=24;m+=8)d<<=1,d|=s>>m+p&1;for(p=1;p<=3;p++){for(m=0;m<=24;m+=8)u<<=1,u|=s>>m+p&1;for(m=0;m<=24;m+=8)u<<=1,u|=a>>m+p&1}for(m=0;m<=24;m+=8)u<<=1,u|=a>>m+p&1;l[c+0]=d>>>0,l[c+1]=u>>>0},i.r28shl=function(a,s){return a<<s&268435455|a>>>28-s};var o=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];i.pc2=function(a,s,l,c){for(var d=0,u=0,p=o.length>>>1,m=0;m<p;m++)d<<=1,d|=a>>>o[m]&1;for(m=p;m<o.length;m++)u<<=1,u|=s>>>o[m]&1;l[c+0]=d>>>0,l[c+1]=u>>>0},i.expand=function(a,s,l){var c=0,d=0;c=(1&a)<<5|a>>>27;for(var u=23;u>=15;u-=4)c<<=6,c|=a>>>u&63;for(u=11;u>=3;u-=4)d|=a>>>u&63,d<<=6;d|=(31&a)<<1|a>>>31,s[l+0]=c>>>0,s[l+1]=d>>>0};var r=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];i.substitute=function(a,s){for(var l=0,c=0;c<4;c++)l<<=4,l|=r[64*c+(a>>>18-6*c&63)];for(c=0;c<4;c++)l<<=4,l|=r[256+64*c+(s>>>18-6*c&63)];return l>>>0};var n=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];i.permute=function(a){for(var s=0,l=0;l<n.length;l++)s<<=1,s|=a>>>n[l]&1;return s>>>0},i.padSplit=function(a,s,l){for(var c=a.toString(2);c.length<s;)c="0"+c;for(var d=[],u=0;u<s;u+=l)d.push(c.slice(u,u+l));return d.join(" ")}},{}],400:[function(t,e,i){(function(o){(function(){"use strict";var r=t("./lib/generatePrime"),n=t("./lib/primes.json"),a=t("./lib/dh"),s={binary:!0,hex:!0,base64:!0};i.DiffieHellmanGroup=i.createDiffieHellmanGroup=i.getDiffieHellman=function(l){var c=new o(n[l].prime,"hex"),d=new o(n[l].gen,"hex");return new a(c,d)},i.createDiffieHellman=i.DiffieHellman=function l(c,d,u,p){return o.isBuffer(d)||s[d]===void 0?l(c,"binary",d,u):(d=d||"binary",p=p||"binary",u=u||new o([2]),o.isBuffer(u)||(u=new o(u,p)),typeof c=="number"?new a(r(c,u),u,!0):(o.isBuffer(c)||(c=new o(c,d)),new a(c,u,!0)))}}).call(this)}).call(this,t("buffer").Buffer)},{"./lib/dh":401,"./lib/generatePrime":402,"./lib/primes.json":403,buffer:220}],401:[function(t,e,i){(function(o){(function(){"use strict";var r=t("bn.js"),n=new(t("miller-rabin")),a=new r(24),s=new r(11),l=new r(10),c=new r(3),d=new r(7),u=t("./generatePrime"),p=t("randombytes");function m(y,w){return w=w||"utf8",o.isBuffer(y)||(y=new o(y,w)),this._pub=new r(y),this}function h(y,w){return w=w||"utf8",o.isBuffer(y)||(y=new o(y,w)),this._priv=new r(y),this}e.exports=g;var f={};function g(y,w,x){this.setGenerator(w),this.__prime=new r(y),this._prime=r.mont(this.__prime),this._primeLen=y.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,x?(this.setPublicKey=m,this.setPrivateKey=h):this._primeCode=8}function b(y,w){var x=new o(y.toArray());return w?x.toString(w):x}Object.defineProperty(g.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=(function(y,w){var x=w.toString("hex"),S=[x,y.toString(16)].join("_");if(S in f)return f[S];var T,M=0;if(y.isEven()||!u.simpleSieve||!u.fermatTest(y)||!n.test(y))return M+=1,M+=x==="02"||x==="05"?8:4,f[S]=M,M;switch(n.test(y.shrn(1))||(M+=2),x){case"02":y.mod(a).cmp(s)&&(M+=8);break;case"05":(T=y.mod(l)).cmp(c)&&T.cmp(d)&&(M+=8);break;default:M+=4}return f[S]=M,M})(this.__prime,this.__gen)),this._primeCode}}),g.prototype.generateKeys=function(){return this._priv||(this._priv=new r(p(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},g.prototype.computeSecret=function(y){var w=(y=(y=new r(y)).toRed(this._prime)).redPow(this._priv).fromRed(),x=new o(w.toArray()),S=this.getPrime();if(x.length<S.length){var T=new o(S.length-x.length);T.fill(0),x=o.concat([T,x])}return x},g.prototype.getPublicKey=function(y){return b(this._pub,y)},g.prototype.getPrivateKey=function(y){return b(this._priv,y)},g.prototype.getPrime=function(y){return b(this.__prime,y)},g.prototype.getGenerator=function(y){return b(this._gen,y)},g.prototype.setGenerator=function(y,w){return w=w||"utf8",o.isBuffer(y)||(y=new o(y,w)),this.__gen=y,this._gen=new r(y),this}}).call(this)}).call(this,t("buffer").Buffer)},{"./generatePrime":402,"bn.js":404,buffer:220,"miller-rabin":451,randombytes:475}],402:[function(t,e,i){"use strict";var o=t("randombytes");e.exports=y,y.simpleSieve=g,y.fermatTest=b;var r=t("bn.js"),n=new r(24),a=new(t("miller-rabin")),s=new r(1),l=new r(2),c=new r(5),d=(new r(16),new r(8),new r(10)),u=new r(3),p=(new r(7),new r(11)),m=new r(4),h=(new r(12),null);function f(){if(h!==null)return h;var w=[];w[0]=2;for(var x=1,S=3;S<1048576;S+=2){for(var T=Math.ceil(Math.sqrt(S)),M=0;M<x&&w[M]<=T&&S%w[M]!=0;M++);x!==M&&w[M]<=T||(w[x++]=S)}return h=w,w}function g(w){for(var x=f(),S=0;S<x.length;S++)if(w.modn(x[S])===0)return w.cmpn(x[S])===0;return!0}function b(w){var x=r.mont(w);return l.toRed(x).redPow(w.subn(1)).fromRed().cmpn(1)===0}function y(w,x){if(w<16)return new r(x===2||x===5?[140,123]:[140,39]);var S,T;for(x=new r(x);;){for(S=new r(o(Math.ceil(w/8)));S.bitLength()>w;)S.ishrn(1);if(S.isEven()&&S.iadd(s),S.testn(1)||S.iadd(l),x.cmp(l)){if(!x.cmp(c))for(;S.mod(d).cmp(u);)S.iadd(m)}else for(;S.mod(n).cmp(p);)S.iadd(m);if(g(T=S.shrn(1))&&g(S)&&b(T)&&b(S)&&a.test(T)&&a.test(S))return S}}},{"bn.js":404,"miller-rabin":451,randombytes:475}],403:[function(t,e,i){e.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],404:[function(t,e,i){arguments[4][184][0].apply(i,arguments)},{buffer:188,dup:184}],405:[function(t,e,i){"use strict";var o=i;o.version=t("../package.json").version,o.utils=t("./elliptic/utils"),o.rand=t("brorand"),o.curve=t("./elliptic/curve"),o.curves=t("./elliptic/curves"),o.ec=t("./elliptic/ec"),o.eddsa=t("./elliptic/eddsa")},{"../package.json":421,"./elliptic/curve":408,"./elliptic/curves":411,"./elliptic/ec":412,"./elliptic/eddsa":415,"./elliptic/utils":419,brorand:187}],406:[function(t,e,i){"use strict";var o=t("bn.js"),r=t("../utils"),n=r.getNAF,a=r.getJSF,s=r.assert;function l(d,u){this.type=d,this.p=new o(u.p,16),this.red=u.prime?o.red(u.prime):o.mont(this.p),this.zero=new o(0).toRed(this.red),this.one=new o(1).toRed(this.red),this.two=new o(2).toRed(this.red),this.n=u.n&&new o(u.n,16),this.g=u.g&&this.pointFromJSON(u.g,u.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var p=this.n&&this.p.div(this.n);!p||p.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(d,u){this.curve=d,this.type=u,this.precomputed=null}e.exports=l,l.prototype.point=function(){throw new Error("Not implemented")},l.prototype.validate=function(){throw new Error("Not implemented")},l.prototype._fixedNafMul=function(d,u){s(d.precomputed);var p=d._getDoubles(),m=n(u,1,this._bitLength),h=(1<<p.step+1)-(p.step%2==0?2:1);h/=3;var f,g,b=[];for(f=0;f<m.length;f+=p.step){g=0;for(var y=f+p.step-1;y>=f;y--)g=(g<<1)+m[y];b.push(g)}for(var w=this.jpoint(null,null,null),x=this.jpoint(null,null,null),S=h;S>0;S--){for(f=0;f<b.length;f++)(g=b[f])===S?x=x.mixedAdd(p.points[f]):g===-S&&(x=x.mixedAdd(p.points[f].neg()));w=w.add(x)}return w.toP()},l.prototype._wnafMul=function(d,u){var p=4,m=d._getNAFPoints(p);p=m.wnd;for(var h=m.points,f=n(u,p,this._bitLength),g=this.jpoint(null,null,null),b=f.length-1;b>=0;b--){for(var y=0;b>=0&&f[b]===0;b--)y++;if(b>=0&&y++,g=g.dblp(y),b<0)break;var w=f[b];s(w!==0),g=d.type==="affine"?w>0?g.mixedAdd(h[w-1>>1]):g.mixedAdd(h[-w-1>>1].neg()):w>0?g.add(h[w-1>>1]):g.add(h[-w-1>>1].neg())}return d.type==="affine"?g.toP():g},l.prototype._wnafMulAdd=function(d,u,p,m,h){var f,g,b,y=this._wnafT1,w=this._wnafT2,x=this._wnafT3,S=0;for(f=0;f<m;f++){var T=(b=u[f])._getNAFPoints(d);y[f]=T.wnd,w[f]=T.points}for(f=m-1;f>=1;f-=2){var M=f-1,I=f;if(y[M]===1&&y[I]===1){var A=[u[M],null,null,u[I]];u[M].y.cmp(u[I].y)===0?(A[1]=u[M].add(u[I]),A[2]=u[M].toJ().mixedAdd(u[I].neg())):u[M].y.cmp(u[I].y.redNeg())===0?(A[1]=u[M].toJ().mixedAdd(u[I]),A[2]=u[M].add(u[I].neg())):(A[1]=u[M].toJ().mixedAdd(u[I]),A[2]=u[M].toJ().mixedAdd(u[I].neg()));var D=[-3,-1,-5,-7,0,7,5,1,3],E=a(p[M],p[I]);for(S=Math.max(E[0].length,S),x[M]=new Array(S),x[I]=new Array(S),g=0;g<S;g++){var N=0|E[0][g],R=0|E[1][g];x[M][g]=D[3*(N+1)+(R+1)],x[I][g]=0,w[M]=A}}else x[M]=n(p[M],y[M],this._bitLength),x[I]=n(p[I],y[I],this._bitLength),S=Math.max(x[M].length,S),S=Math.max(x[I].length,S)}var v=this.jpoint(null,null,null),k=this._wnafT4;for(f=S;f>=0;f--){for(var P=0;f>=0;){var O=!0;for(g=0;g<m;g++)k[g]=0|x[g][f],k[g]!==0&&(O=!1);if(!O)break;P++,f--}if(f>=0&&P++,v=v.dblp(P),f<0)break;for(g=0;g<m;g++){var _=k[g];_!==0&&(_>0?b=w[g][_-1>>1]:_<0&&(b=w[g][-_-1>>1].neg()),v=b.type==="affine"?v.mixedAdd(b):v.add(b))}}for(f=0;f<m;f++)w[f]=null;return h?v:v.toP()},l.BasePoint=c,c.prototype.eq=function(){throw new Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},l.prototype.decodePoint=function(d,u){d=r.toArray(d,u);var p=this.p.byteLength();if((d[0]===4||d[0]===6||d[0]===7)&&d.length-1==2*p)return d[0]===6?s(d[d.length-1]%2==0):d[0]===7&&s(d[d.length-1]%2==1),this.point(d.slice(1,1+p),d.slice(1+p,1+2*p));if((d[0]===2||d[0]===3)&&d.length-1===p)return this.pointFromX(d.slice(1,1+p),d[0]===3);throw new Error("Unknown point format")},c.prototype.encodeCompressed=function(d){return this.encode(d,!0)},c.prototype._encode=function(d){var u=this.curve.p.byteLength(),p=this.getX().toArray("be",u);return d?[this.getY().isEven()?2:3].concat(p):[4].concat(p,this.getY().toArray("be",u))},c.prototype.encode=function(d,u){return r.encode(this._encode(u),d)},c.prototype.precompute=function(d){if(this.precomputed)return this;var u={doubles:null,naf:null,beta:null};return u.naf=this._getNAFPoints(8),u.doubles=this._getDoubles(4,d),u.beta=this._getBeta(),this.precomputed=u,this},c.prototype._hasDoubles=function(d){if(!this.precomputed)return!1;var u=this.precomputed.doubles;return!!u&&u.points.length>=Math.ceil((d.bitLength()+1)/u.step)},c.prototype._getDoubles=function(d,u){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var p=[this],m=this,h=0;h<u;h+=d){for(var f=0;f<d;f++)m=m.dbl();p.push(m)}return{step:d,points:p}},c.prototype._getNAFPoints=function(d){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var u=[this],p=(1<<d)-1,m=p===1?null:this.dbl(),h=1;h<p;h++)u[h]=u[h-1].add(m);return{wnd:d,points:u}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(d){for(var u=this,p=0;p<d;p++)u=u.dbl();return u}},{"../utils":419,"bn.js":420}],407:[function(t,e,i){"use strict";var o=t("../utils"),r=t("bn.js"),n=t("inherits"),a=t("./base"),s=o.assert;function l(d){this.twisted=(0|d.a)!=1,this.mOneA=this.twisted&&(0|d.a)==-1,this.extended=this.mOneA,a.call(this,"edwards",d),this.a=new r(d.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new r(d.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new r(d.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|d.c)==1}function c(d,u,p,m,h){a.BasePoint.call(this,d,"projective"),u===null&&p===null&&m===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new r(u,16),this.y=new r(p,16),this.z=m?new r(m,16):this.curve.one,this.t=h&&new r(h,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}n(l,a),e.exports=l,l.prototype._mulA=function(d){return this.mOneA?d.redNeg():this.a.redMul(d)},l.prototype._mulC=function(d){return this.oneC?d:this.c.redMul(d)},l.prototype.jpoint=function(d,u,p,m){return this.point(d,u,p,m)},l.prototype.pointFromX=function(d,u){(d=new r(d,16)).red||(d=d.toRed(this.red));var p=d.redSqr(),m=this.c2.redSub(this.a.redMul(p)),h=this.one.redSub(this.c2.redMul(this.d).redMul(p)),f=m.redMul(h.redInvm()),g=f.redSqrt();if(g.redSqr().redSub(f).cmp(this.zero)!==0)throw new Error("invalid point");var b=g.fromRed().isOdd();return(u&&!b||!u&&b)&&(g=g.redNeg()),this.point(d,g)},l.prototype.pointFromY=function(d,u){(d=new r(d,16)).red||(d=d.toRed(this.red));var p=d.redSqr(),m=p.redSub(this.c2),h=p.redMul(this.d).redMul(this.c2).redSub(this.a),f=m.redMul(h.redInvm());if(f.cmp(this.zero)===0){if(u)throw new Error("invalid point");return this.point(this.zero,d)}var g=f.redSqrt();if(g.redSqr().redSub(f).cmp(this.zero)!==0)throw new Error("invalid point");return g.fromRed().isOdd()!==u&&(g=g.redNeg()),this.point(g,d)},l.prototype.validate=function(d){if(d.isInfinity())return!0;d.normalize();var u=d.x.redSqr(),p=d.y.redSqr(),m=u.redMul(this.a).redAdd(p),h=this.c2.redMul(this.one.redAdd(this.d.redMul(u).redMul(p)));return m.cmp(h)===0},n(c,a.BasePoint),l.prototype.pointFromJSON=function(d){return c.fromJSON(this,d)},l.prototype.point=function(d,u,p,m){return new c(this,d,u,p,m)},c.fromJSON=function(d,u){return new c(d,u[0],u[1],u[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},c.prototype._extDbl=function(){var d=this.x.redSqr(),u=this.y.redSqr(),p=this.z.redSqr();p=p.redIAdd(p);var m=this.curve._mulA(d),h=this.x.redAdd(this.y).redSqr().redISub(d).redISub(u),f=m.redAdd(u),g=f.redSub(p),b=m.redSub(u),y=h.redMul(g),w=f.redMul(b),x=h.redMul(b),S=g.redMul(f);return this.curve.point(y,w,S,x)},c.prototype._projDbl=function(){var d,u,p,m,h,f,g=this.x.redAdd(this.y).redSqr(),b=this.x.redSqr(),y=this.y.redSqr();if(this.curve.twisted){var w=(m=this.curve._mulA(b)).redAdd(y);this.zOne?(d=g.redSub(b).redSub(y).redMul(w.redSub(this.curve.two)),u=w.redMul(m.redSub(y)),p=w.redSqr().redSub(w).redSub(w)):(h=this.z.redSqr(),f=w.redSub(h).redISub(h),d=g.redSub(b).redISub(y).redMul(f),u=w.redMul(m.redSub(y)),p=w.redMul(f))}else m=b.redAdd(y),h=this.curve._mulC(this.z).redSqr(),f=m.redSub(h).redSub(h),d=this.curve._mulC(g.redISub(m)).redMul(f),u=this.curve._mulC(m).redMul(b.redISub(y)),p=m.redMul(f);return this.curve.point(d,u,p)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(d){var u=this.y.redSub(this.x).redMul(d.y.redSub(d.x)),p=this.y.redAdd(this.x).redMul(d.y.redAdd(d.x)),m=this.t.redMul(this.curve.dd).redMul(d.t),h=this.z.redMul(d.z.redAdd(d.z)),f=p.redSub(u),g=h.redSub(m),b=h.redAdd(m),y=p.redAdd(u),w=f.redMul(g),x=b.redMul(y),S=f.redMul(y),T=g.redMul(b);return this.curve.point(w,x,T,S)},c.prototype._projAdd=function(d){var u,p,m=this.z.redMul(d.z),h=m.redSqr(),f=this.x.redMul(d.x),g=this.y.redMul(d.y),b=this.curve.d.redMul(f).redMul(g),y=h.redSub(b),w=h.redAdd(b),x=this.x.redAdd(this.y).redMul(d.x.redAdd(d.y)).redISub(f).redISub(g),S=m.redMul(y).redMul(x);return this.curve.twisted?(u=m.redMul(w).redMul(g.redSub(this.curve._mulA(f))),p=y.redMul(w)):(u=m.redMul(w).redMul(g.redSub(f)),p=this.curve._mulC(y).redMul(w)),this.curve.point(S,u,p)},c.prototype.add=function(d){return this.isInfinity()?d:d.isInfinity()?this:this.curve.extended?this._extAdd(d):this._projAdd(d)},c.prototype.mul=function(d){return this._hasDoubles(d)?this.curve._fixedNafMul(this,d):this.curve._wnafMul(this,d)},c.prototype.mulAdd=function(d,u,p){return this.curve._wnafMulAdd(1,[this,u],[d,p],2,!1)},c.prototype.jmulAdd=function(d,u,p){return this.curve._wnafMulAdd(1,[this,u],[d,p],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var d=this.z.redInvm();return this.x=this.x.redMul(d),this.y=this.y.redMul(d),this.t&&(this.t=this.t.redMul(d)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(d){return this===d||this.getX().cmp(d.getX())===0&&this.getY().cmp(d.getY())===0},c.prototype.eqXToP=function(d){var u=d.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(u)===0)return!0;for(var p=d.clone(),m=this.curve.redN.redMul(this.z);;){if(p.iadd(this.curve.n),p.cmp(this.curve.p)>=0)return!1;if(u.redIAdd(m),this.x.cmp(u)===0)return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},{"../utils":419,"./base":406,"bn.js":420,inherits:440}],408:[function(t,e,i){"use strict";var o=i;o.base=t("./base"),o.short=t("./short"),o.mont=t("./mont"),o.edwards=t("./edwards")},{"./base":406,"./edwards":407,"./mont":409,"./short":410}],409:[function(t,e,i){"use strict";var o=t("bn.js"),r=t("inherits"),n=t("./base"),a=t("../utils");function s(c){n.call(this,"mont",c),this.a=new o(c.a,16).toRed(this.red),this.b=new o(c.b,16).toRed(this.red),this.i4=new o(4).toRed(this.red).redInvm(),this.two=new o(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(c,d,u){n.BasePoint.call(this,c,"projective"),d===null&&u===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new o(d,16),this.z=new o(u,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}r(s,n),e.exports=s,s.prototype.validate=function(c){var d=c.normalize().x,u=d.redSqr(),p=u.redMul(d).redAdd(u.redMul(this.a)).redAdd(d);return p.redSqrt().redSqr().cmp(p)===0},r(l,n.BasePoint),s.prototype.decodePoint=function(c,d){return this.point(a.toArray(c,d),1)},s.prototype.point=function(c,d){return new l(this,c,d)},s.prototype.pointFromJSON=function(c){return l.fromJSON(this,c)},l.prototype.precompute=function(){},l.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},l.fromJSON=function(c,d){return new l(c,d[0],d[1]||c.one)},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return this.z.cmpn(0)===0},l.prototype.dbl=function(){var c=this.x.redAdd(this.z).redSqr(),d=this.x.redSub(this.z).redSqr(),u=c.redSub(d),p=c.redMul(d),m=u.redMul(d.redAdd(this.curve.a24.redMul(u)));return this.curve.point(p,m)},l.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(c,d){var u=this.x.redAdd(this.z),p=this.x.redSub(this.z),m=c.x.redAdd(c.z),h=c.x.redSub(c.z).redMul(u),f=m.redMul(p),g=d.z.redMul(h.redAdd(f).redSqr()),b=d.x.redMul(h.redISub(f).redSqr());return this.curve.point(g,b)},l.prototype.mul=function(c){for(var d=c.clone(),u=this,p=this.curve.point(null,null),m=[];d.cmpn(0)!==0;d.iushrn(1))m.push(d.andln(1));for(var h=m.length-1;h>=0;h--)m[h]===0?(u=u.diffAdd(p,this),p=p.dbl()):(p=u.diffAdd(p,this),u=u.dbl());return p},l.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.eq=function(c){return this.getX().cmp(c.getX())===0},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../utils":419,"./base":406,"bn.js":420,inherits:440}],410:[function(t,e,i){"use strict";var o=t("../utils"),r=t("bn.js"),n=t("inherits"),a=t("./base"),s=o.assert;function l(u){a.call(this,"short",u),this.a=new r(u.a,16).toRed(this.red),this.b=new r(u.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(u),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(u,p,m,h){a.BasePoint.call(this,u,"affine"),p===null&&m===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new r(p,16),this.y=new r(m,16),h&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function d(u,p,m,h){a.BasePoint.call(this,u,"jacobian"),p===null&&m===null&&h===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new r(0)):(this.x=new r(p,16),this.y=new r(m,16),this.z=new r(h,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}n(l,a),e.exports=l,l.prototype._getEndomorphism=function(u){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var p,m;if(u.beta)p=new r(u.beta,16).toRed(this.red);else{var h=this._getEndoRoots(this.p);p=(p=h[0].cmp(h[1])<0?h[0]:h[1]).toRed(this.red)}if(u.lambda)m=new r(u.lambda,16);else{var f=this._getEndoRoots(this.n);this.g.mul(f[0]).x.cmp(this.g.x.redMul(p))===0?m=f[0]:(m=f[1],s(this.g.mul(m).x.cmp(this.g.x.redMul(p))===0))}return{beta:p,lambda:m,basis:u.basis?u.basis.map((function(g){return{a:new r(g.a,16),b:new r(g.b,16)}})):this._getEndoBasis(m)}}},l.prototype._getEndoRoots=function(u){var p=u===this.p?this.red:r.mont(u),m=new r(2).toRed(p).redInvm(),h=m.redNeg(),f=new r(3).toRed(p).redNeg().redSqrt().redMul(m);return[h.redAdd(f).fromRed(),h.redSub(f).fromRed()]},l.prototype._getEndoBasis=function(u){for(var p,m,h,f,g,b,y,w,x,S=this.n.ushrn(Math.floor(this.n.bitLength()/2)),T=u,M=this.n.clone(),I=new r(1),A=new r(0),D=new r(0),E=new r(1),N=0;T.cmpn(0)!==0;){var R=M.div(T);w=M.sub(R.mul(T)),x=D.sub(R.mul(I));var v=E.sub(R.mul(A));if(!h&&w.cmp(S)<0)p=y.neg(),m=I,h=w.neg(),f=x;else if(h&&++N==2)break;y=w,M=T,T=w,D=I,I=x,E=A,A=v}g=w.neg(),b=x;var k=h.sqr().add(f.sqr());return g.sqr().add(b.sqr()).cmp(k)>=0&&(g=p,b=m),h.negative&&(h=h.neg(),f=f.neg()),g.negative&&(g=g.neg(),b=b.neg()),[{a:h,b:f},{a:g,b}]},l.prototype._endoSplit=function(u){var p=this.endo.basis,m=p[0],h=p[1],f=h.b.mul(u).divRound(this.n),g=m.b.neg().mul(u).divRound(this.n),b=f.mul(m.a),y=g.mul(h.a),w=f.mul(m.b),x=g.mul(h.b);return{k1:u.sub(b).sub(y),k2:w.add(x).neg()}},l.prototype.pointFromX=function(u,p){(u=new r(u,16)).red||(u=u.toRed(this.red));var m=u.redSqr().redMul(u).redIAdd(u.redMul(this.a)).redIAdd(this.b),h=m.redSqrt();if(h.redSqr().redSub(m).cmp(this.zero)!==0)throw new Error("invalid point");var f=h.fromRed().isOdd();return(p&&!f||!p&&f)&&(h=h.redNeg()),this.point(u,h)},l.prototype.validate=function(u){if(u.inf)return!0;var p=u.x,m=u.y,h=this.a.redMul(p),f=p.redSqr().redMul(p).redIAdd(h).redIAdd(this.b);return m.redSqr().redISub(f).cmpn(0)===0},l.prototype._endoWnafMulAdd=function(u,p,m){for(var h=this._endoWnafT1,f=this._endoWnafT2,g=0;g<u.length;g++){var b=this._endoSplit(p[g]),y=u[g],w=y._getBeta();b.k1.negative&&(b.k1.ineg(),y=y.neg(!0)),b.k2.negative&&(b.k2.ineg(),w=w.neg(!0)),h[2*g]=y,h[2*g+1]=w,f[2*g]=b.k1,f[2*g+1]=b.k2}for(var x=this._wnafMulAdd(1,h,f,2*g,m),S=0;S<2*g;S++)h[S]=null,f[S]=null;return x},n(c,a.BasePoint),l.prototype.point=function(u,p,m){return new c(this,u,p,m)},l.prototype.pointFromJSON=function(u,p){return c.fromJSON(this,u,p)},c.prototype._getBeta=function(){if(this.curve.endo){var u=this.precomputed;if(u&&u.beta)return u.beta;var p=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(u){var m=this.curve,h=function(f){return m.point(f.x.redMul(m.endo.beta),f.y)};u.beta=p,p.precomputed={beta:null,naf:u.naf&&{wnd:u.naf.wnd,points:u.naf.points.map(h)},doubles:u.doubles&&{step:u.doubles.step,points:u.doubles.points.map(h)}}}return p}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(u,p,m){typeof p=="string"&&(p=JSON.parse(p));var h=u.point(p[0],p[1],m);if(!p[2])return h;function f(b){return u.point(b[0],b[1],m)}var g=p[2];return h.precomputed={beta:null,doubles:g.doubles&&{step:g.doubles.step,points:[h].concat(g.doubles.points.map(f))},naf:g.naf&&{wnd:g.naf.wnd,points:[h].concat(g.naf.points.map(f))}},h},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(u){if(this.inf)return u;if(u.inf)return this;if(this.eq(u))return this.dbl();if(this.neg().eq(u))return this.curve.point(null,null);if(this.x.cmp(u.x)===0)return this.curve.point(null,null);var p=this.y.redSub(u.y);p.cmpn(0)!==0&&(p=p.redMul(this.x.redSub(u.x).redInvm()));var m=p.redSqr().redISub(this.x).redISub(u.x),h=p.redMul(this.x.redSub(m)).redISub(this.y);return this.curve.point(m,h)},c.prototype.dbl=function(){if(this.inf)return this;var u=this.y.redAdd(this.y);if(u.cmpn(0)===0)return this.curve.point(null,null);var p=this.curve.a,m=this.x.redSqr(),h=u.redInvm(),f=m.redAdd(m).redIAdd(m).redIAdd(p).redMul(h),g=f.redSqr().redISub(this.x.redAdd(this.x)),b=f.redMul(this.x.redSub(g)).redISub(this.y);return this.curve.point(g,b)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(u){return u=new r(u,16),this.isInfinity()?this:this._hasDoubles(u)?this.curve._fixedNafMul(this,u):this.curve.endo?this.curve._endoWnafMulAdd([this],[u]):this.curve._wnafMul(this,u)},c.prototype.mulAdd=function(u,p,m){var h=[this,p],f=[u,m];return this.curve.endo?this.curve._endoWnafMulAdd(h,f):this.curve._wnafMulAdd(1,h,f,2)},c.prototype.jmulAdd=function(u,p,m){var h=[this,p],f=[u,m];return this.curve.endo?this.curve._endoWnafMulAdd(h,f,!0):this.curve._wnafMulAdd(1,h,f,2,!0)},c.prototype.eq=function(u){return this===u||this.inf===u.inf&&(this.inf||this.x.cmp(u.x)===0&&this.y.cmp(u.y)===0)},c.prototype.neg=function(u){if(this.inf)return this;var p=this.curve.point(this.x,this.y.redNeg());if(u&&this.precomputed){var m=this.precomputed,h=function(f){return f.neg()};p.precomputed={naf:m.naf&&{wnd:m.naf.wnd,points:m.naf.points.map(h)},doubles:m.doubles&&{step:m.doubles.step,points:m.doubles.points.map(h)}}}return p},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},n(d,a.BasePoint),l.prototype.jpoint=function(u,p,m){return new d(this,u,p,m)},d.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var u=this.z.redInvm(),p=u.redSqr(),m=this.x.redMul(p),h=this.y.redMul(p).redMul(u);return this.curve.point(m,h)},d.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},d.prototype.add=function(u){if(this.isInfinity())return u;if(u.isInfinity())return this;var p=u.z.redSqr(),m=this.z.redSqr(),h=this.x.redMul(p),f=u.x.redMul(m),g=this.y.redMul(p.redMul(u.z)),b=u.y.redMul(m.redMul(this.z)),y=h.redSub(f),w=g.redSub(b);if(y.cmpn(0)===0)return w.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var x=y.redSqr(),S=x.redMul(y),T=h.redMul(x),M=w.redSqr().redIAdd(S).redISub(T).redISub(T),I=w.redMul(T.redISub(M)).redISub(g.redMul(S)),A=this.z.redMul(u.z).redMul(y);return this.curve.jpoint(M,I,A)},d.prototype.mixedAdd=function(u){if(this.isInfinity())return u.toJ();if(u.isInfinity())return this;var p=this.z.redSqr(),m=this.x,h=u.x.redMul(p),f=this.y,g=u.y.redMul(p).redMul(this.z),b=m.redSub(h),y=f.redSub(g);if(b.cmpn(0)===0)return y.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var w=b.redSqr(),x=w.redMul(b),S=m.redMul(w),T=y.redSqr().redIAdd(x).redISub(S).redISub(S),M=y.redMul(S.redISub(T)).redISub(f.redMul(x)),I=this.z.redMul(b);return this.curve.jpoint(T,M,I)},d.prototype.dblp=function(u){if(u===0)return this;if(this.isInfinity())return this;if(!u)return this.dbl();var p;if(this.curve.zeroA||this.curve.threeA){var m=this;for(p=0;p<u;p++)m=m.dbl();return m}var h=this.curve.a,f=this.curve.tinv,g=this.x,b=this.y,y=this.z,w=y.redSqr().redSqr(),x=b.redAdd(b);for(p=0;p<u;p++){var S=g.redSqr(),T=x.redSqr(),M=T.redSqr(),I=S.redAdd(S).redIAdd(S).redIAdd(h.redMul(w)),A=g.redMul(T),D=I.redSqr().redISub(A.redAdd(A)),E=A.redISub(D),N=I.redMul(E);N=N.redIAdd(N).redISub(M);var R=x.redMul(y);p+1<u&&(w=w.redMul(M)),g=D,y=R,x=N}return this.curve.jpoint(g,x.redMul(f),y)},d.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},d.prototype._zeroDbl=function(){var u,p,m;if(this.zOne){var h=this.x.redSqr(),f=this.y.redSqr(),g=f.redSqr(),b=this.x.redAdd(f).redSqr().redISub(h).redISub(g);b=b.redIAdd(b);var y=h.redAdd(h).redIAdd(h),w=y.redSqr().redISub(b).redISub(b),x=g.redIAdd(g);x=(x=x.redIAdd(x)).redIAdd(x),u=w,p=y.redMul(b.redISub(w)).redISub(x),m=this.y.redAdd(this.y)}else{var S=this.x.redSqr(),T=this.y.redSqr(),M=T.redSqr(),I=this.x.redAdd(T).redSqr().redISub(S).redISub(M);I=I.redIAdd(I);var A=S.redAdd(S).redIAdd(S),D=A.redSqr(),E=M.redIAdd(M);E=(E=E.redIAdd(E)).redIAdd(E),u=D.redISub(I).redISub(I),p=A.redMul(I.redISub(u)).redISub(E),m=(m=this.y.redMul(this.z)).redIAdd(m)}return this.curve.jpoint(u,p,m)},d.prototype._threeDbl=function(){var u,p,m;if(this.zOne){var h=this.x.redSqr(),f=this.y.redSqr(),g=f.redSqr(),b=this.x.redAdd(f).redSqr().redISub(h).redISub(g);b=b.redIAdd(b);var y=h.redAdd(h).redIAdd(h).redIAdd(this.curve.a),w=y.redSqr().redISub(b).redISub(b);u=w;var x=g.redIAdd(g);x=(x=x.redIAdd(x)).redIAdd(x),p=y.redMul(b.redISub(w)).redISub(x),m=this.y.redAdd(this.y)}else{var S=this.z.redSqr(),T=this.y.redSqr(),M=this.x.redMul(T),I=this.x.redSub(S).redMul(this.x.redAdd(S));I=I.redAdd(I).redIAdd(I);var A=M.redIAdd(M),D=(A=A.redIAdd(A)).redAdd(A);u=I.redSqr().redISub(D),m=this.y.redAdd(this.z).redSqr().redISub(T).redISub(S);var E=T.redSqr();E=(E=(E=E.redIAdd(E)).redIAdd(E)).redIAdd(E),p=I.redMul(A.redISub(u)).redISub(E)}return this.curve.jpoint(u,p,m)},d.prototype._dbl=function(){var u=this.curve.a,p=this.x,m=this.y,h=this.z,f=h.redSqr().redSqr(),g=p.redSqr(),b=m.redSqr(),y=g.redAdd(g).redIAdd(g).redIAdd(u.redMul(f)),w=p.redAdd(p),x=(w=w.redIAdd(w)).redMul(b),S=y.redSqr().redISub(x.redAdd(x)),T=x.redISub(S),M=b.redSqr();M=(M=(M=M.redIAdd(M)).redIAdd(M)).redIAdd(M);var I=y.redMul(T).redISub(M),A=m.redAdd(m).redMul(h);return this.curve.jpoint(S,I,A)},d.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var u=this.x.redSqr(),p=this.y.redSqr(),m=this.z.redSqr(),h=p.redSqr(),f=u.redAdd(u).redIAdd(u),g=f.redSqr(),b=this.x.redAdd(p).redSqr().redISub(u).redISub(h),y=(b=(b=(b=b.redIAdd(b)).redAdd(b).redIAdd(b)).redISub(g)).redSqr(),w=h.redIAdd(h);w=(w=(w=w.redIAdd(w)).redIAdd(w)).redIAdd(w);var x=f.redIAdd(b).redSqr().redISub(g).redISub(y).redISub(w),S=p.redMul(x);S=(S=S.redIAdd(S)).redIAdd(S);var T=this.x.redMul(y).redISub(S);T=(T=T.redIAdd(T)).redIAdd(T);var M=this.y.redMul(x.redMul(w.redISub(x)).redISub(b.redMul(y)));M=(M=(M=M.redIAdd(M)).redIAdd(M)).redIAdd(M);var I=this.z.redAdd(b).redSqr().redISub(m).redISub(y);return this.curve.jpoint(T,M,I)},d.prototype.mul=function(u,p){return u=new r(u,p),this.curve._wnafMul(this,u)},d.prototype.eq=function(u){if(u.type==="affine")return this.eq(u.toJ());if(this===u)return!0;var p=this.z.redSqr(),m=u.z.redSqr();if(this.x.redMul(m).redISub(u.x.redMul(p)).cmpn(0)!==0)return!1;var h=p.redMul(this.z),f=m.redMul(u.z);return this.y.redMul(f).redISub(u.y.redMul(h)).cmpn(0)===0},d.prototype.eqXToP=function(u){var p=this.z.redSqr(),m=u.toRed(this.curve.red).redMul(p);if(this.x.cmp(m)===0)return!0;for(var h=u.clone(),f=this.curve.redN.redMul(p);;){if(h.iadd(this.curve.n),h.cmp(this.curve.p)>=0)return!1;if(m.redIAdd(f),this.x.cmp(m)===0)return!0}},d.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},d.prototype.isInfinity=function(){return this.z.cmpn(0)===0}},{"../utils":419,"./base":406,"bn.js":420,inherits:440}],411:[function(t,e,i){"use strict";var o,r=i,n=t("hash.js"),a=t("./curve"),s=t("./utils").assert;function l(d){d.type==="short"?this.curve=new a.short(d):d.type==="edwards"?this.curve=new a.edwards(d):this.curve=new a.mont(d),this.g=this.curve.g,this.n=this.curve.n,this.hash=d.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(d,u){Object.defineProperty(r,d,{configurable:!0,enumerable:!0,get:function(){var p=new l(u);return Object.defineProperty(r,d,{configurable:!0,enumerable:!0,value:p}),p}})}r.PresetCurve=l,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:n.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:n.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:n.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:n.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:n.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:n.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:n.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{o=t("./precomputed/secp256k1")}catch{o=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:n.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",o]})},{"./curve":408,"./precomputed/secp256k1":418,"./utils":419,"hash.js":426}],412:[function(t,e,i){"use strict";var o=t("bn.js"),r=t("hmac-drbg"),n=t("../utils"),a=t("../curves"),s=t("brorand"),l=n.assert,c=t("./key"),d=t("./signature");function u(p){if(!(this instanceof u))return new u(p);typeof p=="string"&&(l(Object.prototype.hasOwnProperty.call(a,p),"Unknown curve "+p),p=a[p]),p instanceof a.PresetCurve&&(p={curve:p}),this.curve=p.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=p.curve.g,this.g.precompute(p.curve.n.bitLength()+1),this.hash=p.hash||p.curve.hash}e.exports=u,u.prototype.keyPair=function(p){return new c(this,p)},u.prototype.keyFromPrivate=function(p,m){return c.fromPrivate(this,p,m)},u.prototype.keyFromPublic=function(p,m){return c.fromPublic(this,p,m)},u.prototype.genKeyPair=function(p){p||(p={});for(var m=new r({hash:this.hash,pers:p.pers,persEnc:p.persEnc||"utf8",entropy:p.entropy||s(this.hash.hmacStrength),entropyEnc:p.entropy&&p.entropyEnc||"utf8",nonce:this.n.toArray()}),h=this.n.byteLength(),f=this.n.sub(new o(2));;){var g=new o(m.generate(h));if(!(g.cmp(f)>0))return g.iaddn(1),this.keyFromPrivate(g)}},u.prototype._truncateToN=function(p,m){var h=8*p.byteLength()-this.n.bitLength();return h>0&&(p=p.ushrn(h)),!m&&p.cmp(this.n)>=0?p.sub(this.n):p},u.prototype.sign=function(p,m,h,f){typeof h=="object"&&(f=h,h=null),f||(f={}),m=this.keyFromPrivate(m,h),p=this._truncateToN(new o(p,16));for(var g=this.n.byteLength(),b=m.getPrivate().toArray("be",g),y=p.toArray("be",g),w=new r({hash:this.hash,entropy:b,nonce:y,pers:f.pers,persEnc:f.persEnc||"utf8"}),x=this.n.sub(new o(1)),S=0;;S++){var T=f.k?f.k(S):new o(w.generate(this.n.byteLength()));if(!((T=this._truncateToN(T,!0)).cmpn(1)<=0||T.cmp(x)>=0)){var M=this.g.mul(T);if(!M.isInfinity()){var I=M.getX(),A=I.umod(this.n);if(A.cmpn(0)!==0){var D=T.invm(this.n).mul(A.mul(m.getPrivate()).iadd(p));if((D=D.umod(this.n)).cmpn(0)!==0){var E=(M.getY().isOdd()?1:0)|(I.cmp(A)!==0?2:0);return f.canonical&&D.cmp(this.nh)>0&&(D=this.n.sub(D),E^=1),new d({r:A,s:D,recoveryParam:E})}}}}}},u.prototype.verify=function(p,m,h,f){p=this._truncateToN(new o(p,16)),h=this.keyFromPublic(h,f);var g=(m=new d(m,"hex")).r,b=m.s;if(g.cmpn(1)<0||g.cmp(this.n)>=0||b.cmpn(1)<0||b.cmp(this.n)>=0)return!1;var y,w=b.invm(this.n),x=w.mul(p).umod(this.n),S=w.mul(g).umod(this.n);return this.curve._maxwellTrick?!(y=this.g.jmulAdd(x,h.getPublic(),S)).isInfinity()&&y.eqXToP(g):!(y=this.g.mulAdd(x,h.getPublic(),S)).isInfinity()&&y.getX().umod(this.n).cmp(g)===0},u.prototype.recoverPubKey=function(p,m,h,f){l((3&h)===h,"The recovery param is more than two bits"),m=new d(m,f);var g=this.n,b=new o(p),y=m.r,w=m.s,x=1&h,S=h>>1;if(y.cmp(this.curve.p.umod(this.curve.n))>=0&&S)throw new Error("Unable to find sencond key candinate");y=S?this.curve.pointFromX(y.add(this.curve.n),x):this.curve.pointFromX(y,x);var T=m.r.invm(g),M=g.sub(b).mul(T).umod(g),I=w.mul(T).umod(g);return this.g.mulAdd(M,y,I)},u.prototype.getKeyRecoveryParam=function(p,m,h,f){if((m=new d(m,f)).recoveryParam!==null)return m.recoveryParam;for(var g=0;g<4;g++){var b;try{b=this.recoverPubKey(p,m,g)}catch{continue}if(b.eq(h))return g}throw new Error("Unable to find valid recovery factor")}},{"../curves":411,"../utils":419,"./key":413,"./signature":414,"bn.js":420,brorand:187,"hmac-drbg":438}],413:[function(t,e,i){"use strict";var o=t("bn.js"),r=t("../utils").assert;function n(a,s){this.ec=a,this.priv=null,this.pub=null,s.priv&&this._importPrivate(s.priv,s.privEnc),s.pub&&this._importPublic(s.pub,s.pubEnc)}e.exports=n,n.fromPublic=function(a,s,l){return s instanceof n?s:new n(a,{pub:s,pubEnc:l})},n.fromPrivate=function(a,s,l){return s instanceof n?s:new n(a,{priv:s,privEnc:l})},n.prototype.validate=function(){var a=this.getPublic();return a.isInfinity()?{result:!1,reason:"Invalid public key"}:a.validate()?a.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},n.prototype.getPublic=function(a,s){return typeof a=="string"&&(s=a,a=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),s?this.pub.encode(s,a):this.pub},n.prototype.getPrivate=function(a){return a==="hex"?this.priv.toString(16,2):this.priv},n.prototype._importPrivate=function(a,s){this.priv=new o(a,s||16),this.priv=this.priv.umod(this.ec.curve.n)},n.prototype._importPublic=function(a,s){if(a.x||a.y)return this.ec.curve.type==="mont"?r(a.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||r(a.x&&a.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(a.x,a.y));this.pub=this.ec.curve.decodePoint(a,s)},n.prototype.derive=function(a){return a.validate()||r(a.validate(),"public point not validated"),a.mul(this.priv).getX()},n.prototype.sign=function(a,s,l){return this.ec.sign(a,this,s,l)},n.prototype.verify=function(a,s){return this.ec.verify(a,s,this)},n.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},{"../utils":419,"bn.js":420}],414:[function(t,e,i){"use strict";var o=t("bn.js"),r=t("../utils"),n=r.assert;function a(u,p){if(u instanceof a)return u;this._importDER(u,p)||(n(u.r&&u.s,"Signature without r or s"),this.r=new o(u.r,16),this.s=new o(u.s,16),u.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=u.recoveryParam)}function s(){this.place=0}function l(u,p){var m=u[p.place++];if(!(128&m))return m;var h=15&m;if(h===0||h>4)return!1;for(var f=0,g=0,b=p.place;g<h;g++,b++)f<<=8,f|=u[b],f>>>=0;return!(f<=127)&&(p.place=b,f)}function c(u){for(var p=0,m=u.length-1;!u[p]&&!(128&u[p+1])&&p<m;)p++;return p===0?u:u.slice(p)}function d(u,p){if(p<128)u.push(p);else{var m=1+(Math.log(p)/Math.LN2>>>3);for(u.push(128|m);--m;)u.push(p>>>(m<<3)&255);u.push(p)}}e.exports=a,a.prototype._importDER=function(u,p){u=r.toArray(u,p);var m=new s;if(u[m.place++]!==48)return!1;var h=l(u,m);if(h===!1||h+m.place!==u.length||u[m.place++]!==2)return!1;var f=l(u,m);if(f===!1)return!1;var g=u.slice(m.place,f+m.place);if(m.place+=f,u[m.place++]!==2)return!1;var b=l(u,m);if(b===!1||u.length!==b+m.place)return!1;var y=u.slice(m.place,b+m.place);if(g[0]===0){if(!(128&g[1]))return!1;g=g.slice(1)}if(y[0]===0){if(!(128&y[1]))return!1;y=y.slice(1)}return this.r=new o(g),this.s=new o(y),this.recoveryParam=null,!0},a.prototype.toDER=function(u){var p=this.r.toArray(),m=this.s.toArray();for(128&p[0]&&(p=[0].concat(p)),128&m[0]&&(m=[0].concat(m)),p=c(p),m=c(m);!(m[0]||128&m[1]);)m=m.slice(1);var h=[2];d(h,p.length),(h=h.concat(p)).push(2),d(h,m.length);var f=h.concat(m),g=[48];return d(g,f.length),g=g.concat(f),r.encode(g,u)}},{"../utils":419,"bn.js":420}],415:[function(t,e,i){"use strict";var o=t("hash.js"),r=t("../curves"),n=t("../utils"),a=n.assert,s=n.parseBytes,l=t("./key"),c=t("./signature");function d(u){if(a(u==="ed25519","only tested with ed25519 so far"),!(this instanceof d))return new d(u);u=r[u].curve,this.curve=u,this.g=u.g,this.g.precompute(u.n.bitLength()+1),this.pointClass=u.point().constructor,this.encodingLength=Math.ceil(u.n.bitLength()/8),this.hash=o.sha512}e.exports=d,d.prototype.sign=function(u,p){u=s(u);var m=this.keyFromSecret(p),h=this.hashInt(m.messagePrefix(),u),f=this.g.mul(h),g=this.encodePoint(f),b=this.hashInt(g,m.pubBytes(),u).mul(m.priv()),y=h.add(b).umod(this.curve.n);return this.makeSignature({R:f,S:y,Rencoded:g})},d.prototype.verify=function(u,p,m){u=s(u),p=this.makeSignature(p);var h=this.keyFromPublic(m),f=this.hashInt(p.Rencoded(),h.pubBytes(),u),g=this.g.mul(p.S());return p.R().add(h.pub().mul(f)).eq(g)},d.prototype.hashInt=function(){for(var u=this.hash(),p=0;p<arguments.length;p++)u.update(arguments[p]);return n.intFromLE(u.digest()).umod(this.curve.n)},d.prototype.keyFromPublic=function(u){return l.fromPublic(this,u)},d.prototype.keyFromSecret=function(u){return l.fromSecret(this,u)},d.prototype.makeSignature=function(u){return u instanceof c?u:new c(this,u)},d.prototype.encodePoint=function(u){var p=u.getY().toArray("le",this.encodingLength);return p[this.encodingLength-1]|=u.getX().isOdd()?128:0,p},d.prototype.decodePoint=function(u){var p=(u=n.parseBytes(u)).length-1,m=u.slice(0,p).concat(-129&u[p]),h=(128&u[p])!=0,f=n.intFromLE(m);return this.curve.pointFromY(f,h)},d.prototype.encodeInt=function(u){return u.toArray("le",this.encodingLength)},d.prototype.decodeInt=function(u){return n.intFromLE(u)},d.prototype.isPoint=function(u){return u instanceof this.pointClass}},{"../curves":411,"../utils":419,"./key":416,"./signature":417,"hash.js":426}],416:[function(t,e,i){"use strict";var o=t("../utils"),r=o.assert,n=o.parseBytes,a=o.cachedProperty;function s(l,c){this.eddsa=l,this._secret=n(c.secret),l.isPoint(c.pub)?this._pub=c.pub:this._pubBytes=n(c.pub)}s.fromPublic=function(l,c){return c instanceof s?c:new s(l,{pub:c})},s.fromSecret=function(l,c){return c instanceof s?c:new s(l,{secret:c})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(s,"privBytes",(function(){var l=this.eddsa,c=this.hash(),d=l.encodingLength-1,u=c.slice(0,l.encodingLength);return u[0]&=248,u[d]&=127,u[d]|=64,u})),a(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(l){return r(this._secret,"KeyPair can only verify"),this.eddsa.sign(l,this)},s.prototype.verify=function(l,c){return this.eddsa.verify(l,c,this)},s.prototype.getSecret=function(l){return r(this._secret,"KeyPair is public only"),o.encode(this.secret(),l)},s.prototype.getPublic=function(l){return o.encode(this.pubBytes(),l)},e.exports=s},{"../utils":419}],417:[function(t,e,i){"use strict";var o=t("bn.js"),r=t("../utils"),n=r.assert,a=r.cachedProperty,s=r.parseBytes;function l(c,d){this.eddsa=c,typeof d!="object"&&(d=s(d)),Array.isArray(d)&&(d={R:d.slice(0,c.encodingLength),S:d.slice(c.encodingLength)}),n(d.R&&d.S,"Signature without R or S"),c.isPoint(d.R)&&(this._R=d.R),d.S instanceof o&&(this._S=d.S),this._Rencoded=Array.isArray(d.R)?d.R:d.Rencoded,this._Sencoded=Array.isArray(d.S)?d.S:d.Sencoded}a(l,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(l,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(l,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(l,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),l.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},l.prototype.toHex=function(){return r.encode(this.toBytes(),"hex").toUpperCase()},e.exports=l},{"../utils":419,"bn.js":420}],418:[function(t,e,i){"use strict";e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},{}],419:[function(t,e,i){"use strict";var o=i,r=t("bn.js"),n=t("minimalistic-assert"),a=t("minimalistic-crypto-utils");o.assert=n,o.toArray=a.toArray,o.zero2=a.zero2,o.toHex=a.toHex,o.encode=a.encode,o.getNAF=function(s,l,c){var d=new Array(Math.max(s.bitLength(),c)+1);d.fill(0);for(var u=1<<l+1,p=s.clone(),m=0;m<d.length;m++){var h,f=p.andln(u-1);p.isOdd()?(h=f>(u>>1)-1?(u>>1)-f:f,p.isubn(h)):h=0,d[m]=h,p.iushrn(1)}return d},o.getJSF=function(s,l){var c=[[],[]];s=s.clone(),l=l.clone();for(var d,u=0,p=0;s.cmpn(-u)>0||l.cmpn(-p)>0;){var m,h,f=s.andln(3)+u&3,g=l.andln(3)+p&3;f===3&&(f=-1),g===3&&(g=-1),m=(1&f)==0?0:(d=s.andln(7)+u&7)!==3&&d!==5||g!==2?f:-f,c[0].push(m),h=(1&g)==0?0:(d=l.andln(7)+p&7)!==3&&d!==5||f!==2?g:-g,c[1].push(h),2*u===m+1&&(u=1-u),2*p===h+1&&(p=1-p),s.iushrn(1),l.iushrn(1)}return c},o.cachedProperty=function(s,l,c){var d="_"+l;s.prototype[l]=function(){return this[d]!==void 0?this[d]:this[d]=c.call(this)}},o.parseBytes=function(s){return typeof s=="string"?o.toArray(s,"hex"):s},o.intFromLE=function(s){return new r(s,"hex","le")}},{"bn.js":420,"minimalistic-assert":453,"minimalistic-crypto-utils":454}],420:[function(t,e,i){arguments[4][184][0].apply(i,arguments)},{buffer:188,dup:184}],421:[function(t,e,i){e.exports={name:"elliptic",version:"6.5.4",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny <fedor@indutny.com>",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}},{}],422:[function(t,e,i){"use strict";var o=Object.create||function(T){var M=function(){};return M.prototype=T,new M},r=Object.keys||function(T){var M=[];for(var I in T)Object.prototype.hasOwnProperty.call(T,I)&&M.push(I);return I},n=Function.prototype.bind||function(T){var M=this;return function(){return M.apply(T,arguments)}};function a(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=o(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}e.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._maxListeners=void 0;var s,l=10;try{var c={};Object.defineProperty&&Object.defineProperty(c,"x",{value:0}),s=c.x===0}catch{s=!1}function d(T){return T._maxListeners===void 0?a.defaultMaxListeners:T._maxListeners}function u(T,M,I){if(M)T.call(I);else for(var A=T.length,D=S(T,A),E=0;E<A;++E)D[E].call(I)}function p(T,M,I,A){if(M)T.call(I,A);else for(var D=T.length,E=S(T,D),N=0;N<D;++N)E[N].call(I,A)}function m(T,M,I,A,D){if(M)T.call(I,A,D);else for(var E=T.length,N=S(T,E),R=0;R<E;++R)N[R].call(I,A,D)}function h(T,M,I,A,D,E){if(M)T.call(I,A,D,E);else for(var N=T.length,R=S(T,N),v=0;v<N;++v)R[v].call(I,A,D,E)}function f(T,M,I,A){if(M)T.apply(I,A);else for(var D=T.length,E=S(T,D),N=0;N<D;++N)E[N].apply(I,A)}function g(T,M,I,A){var D,E,N;if(typeof I!="function")throw new TypeError('"listener" argument must be a function');if((E=T._events)?(E.newListener&&(T.emit("newListener",M,I.listener?I.listener:I),E=T._events),N=E[M]):(E=T._events=o(null),T._eventsCount=0),N){if(typeof N=="function"?N=E[M]=A?[I,N]:[N,I]:A?N.unshift(I):N.push(I),!N.warned&&(D=d(T))&&D>0&&N.length>D){N.warned=!0;var R=new Error("Possible EventEmitter memory leak detected. "+N.length+' "'+String(M)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');R.name="MaxListenersExceededWarning",R.emitter=T,R.type=M,R.count=N.length,typeof console=="object"&&console.warn&&console.warn("%s: %s",R.name,R.message)}}else N=E[M]=I,++T._eventsCount;return T}function b(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var T=new Array(arguments.length),M=0;M<T.length;++M)T[M]=arguments[M];this.listener.apply(this.target,T)}}function y(T,M,I){var A={fired:!1,wrapFn:void 0,target:T,type:M,listener:I},D=n.call(b,A);return D.listener=I,A.wrapFn=D,D}function w(T,M,I){var A=T._events;if(!A)return[];var D=A[M];return D?typeof D=="function"?I?[D.listener||D]:[D]:I?(function(E){for(var N=new Array(E.length),R=0;R<N.length;++R)N[R]=E[R].listener||E[R];return N})(D):S(D,D.length):[]}function x(T){var M=this._events;if(M){var I=M[T];if(typeof I=="function")return 1;if(I)return I.length}return 0}function S(T,M){for(var I=new Array(M),A=0;A<M;++A)I[A]=T[A];return I}s?Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(T){if(typeof T!="number"||T<0||T!=T)throw new TypeError('"defaultMaxListeners" must be a positive number');l=T}}):a.defaultMaxListeners=l,a.prototype.setMaxListeners=function(T){if(typeof T!="number"||T<0||isNaN(T))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=T,this},a.prototype.getMaxListeners=function(){return d(this)},a.prototype.emit=function(T){var M,I,A,D,E,N,R=T==="error";if(N=this._events)R=R&&N.error==null;else if(!R)return!1;if(R){if(arguments.length>1&&(M=arguments[1]),M instanceof Error)throw M;var v=new Error('Unhandled "error" event. ('+M+")");throw v.context=M,v}if(!(I=N[T]))return!1;var k=typeof I=="function";switch(A=arguments.length){case 1:u(I,k,this);break;case 2:p(I,k,this,arguments[1]);break;case 3:m(I,k,this,arguments[1],arguments[2]);break;case 4:h(I,k,this,arguments[1],arguments[2],arguments[3]);break;default:for(D=new Array(A-1),E=1;E<A;E++)D[E-1]=arguments[E];f(I,k,this,D)}return!0},a.prototype.addListener=function(T,M){return g(this,T,M,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(T,M){return g(this,T,M,!0)},a.prototype.once=function(T,M){if(typeof M!="function")throw new TypeError('"listener" argument must be a function');return this.on(T,y(this,T,M)),this},a.prototype.prependOnceListener=function(T,M){if(typeof M!="function")throw new TypeError('"listener" argument must be a function');return this.prependListener(T,y(this,T,M)),this},a.prototype.removeListener=function(T,M){var I,A,D,E,N;if(typeof M!="function")throw new TypeError('"listener" argument must be a function');if(!(A=this._events))return this;if(!(I=A[T]))return this;if(I===M||I.listener===M)--this._eventsCount==0?this._events=o(null):(delete A[T],A.removeListener&&this.emit("removeListener",T,I.listener||M));else if(typeof I!="function"){for(D=-1,E=I.length-1;E>=0;E--)if(I[E]===M||I[E].listener===M){N=I[E].listener,D=E;break}if(D<0)return this;D===0?I.shift():(function(R,v){for(var k=v,P=k+1,O=R.length;P<O;k+=1,P+=1)R[k]=R[P];R.pop()})(I,D),I.length===1&&(A[T]=I[0]),A.removeListener&&this.emit("removeListener",T,N||M)}return this},a.prototype.removeAllListeners=function(T){var M,I,A;if(!(I=this._events))return this;if(!I.removeListener)return arguments.length===0?(this._events=o(null),this._eventsCount=0):I[T]&&(--this._eventsCount==0?this._events=o(null):delete I[T]),this;if(arguments.length===0){var D,E=r(I);for(A=0;A<E.length;++A)(D=E[A])!=="removeListener"&&this.removeAllListeners(D);return this.removeAllListeners("removeListener"),this._events=o(null),this._eventsCount=0,this}if(typeof(M=I[T])=="function")this.removeListener(T,M);else if(M)for(A=M.length-1;A>=0;A--)this.removeListener(T,M[A]);return this},a.prototype.listeners=function(T){return w(this,T,!0)},a.prototype.rawListeners=function(T){return w(this,T,!1)},a.listenerCount=function(T,M){return typeof T.listenerCount=="function"?T.listenerCount(M):x.call(T,M)},a.prototype.listenerCount=x,a.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},{}],423:[function(t,e,i){"use strict";var o=t("safe-buffer").Buffer,r=t("md5.js");e.exports=function(n,a,s,l){if(o.isBuffer(n)||(n=o.from(n,"binary")),a&&(o.isBuffer(a)||(a=o.from(a,"binary")),a.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var c=s/8,d=o.alloc(c),u=o.alloc(l||0),p=o.alloc(0);c>0||l>0;){var m=new r;m.update(p),m.update(n),a&&m.update(a),p=m.digest();var h=0;if(c>0){var f=d.length-c;h=Math.min(c,p.length),p.copy(d,f,0,h),c-=h}if(h<p.length&&l>0){var g=u.length-l,b=Math.min(l,p.length-h);p.copy(u,g,h,h+b),l-=b}}return p.fill(0),{key:d,iv:u}}},{"md5.js":450,"safe-buffer":494}],424:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.CsvParserStream=i.ParserOptions=i.parseFile=i.parseStream=i.parseString=i.parse=i.FormatterOptions=i.CsvFormatterStream=i.writeToPath=i.writeToString=i.writeToBuffer=i.writeToStream=i.write=i.format=void 0;var o=t("@fast-csv/format");Object.defineProperty(i,"format",{enumerable:!0,get:function(){return o.format}}),Object.defineProperty(i,"write",{enumerable:!0,get:function(){return o.write}}),Object.defineProperty(i,"writeToStream",{enumerable:!0,get:function(){return o.writeToStream}}),Object.defineProperty(i,"writeToBuffer",{enumerable:!0,get:function(){return o.writeToBuffer}}),Object.defineProperty(i,"writeToString",{enumerable:!0,get:function(){return o.writeToString}}),Object.defineProperty(i,"writeToPath",{enumerable:!0,get:function(){return o.writeToPath}}),Object.defineProperty(i,"CsvFormatterStream",{enumerable:!0,get:function(){return o.CsvFormatterStream}}),Object.defineProperty(i,"FormatterOptions",{enumerable:!0,get:function(){return o.FormatterOptions}});var r=t("@fast-csv/parse");Object.defineProperty(i,"parse",{enumerable:!0,get:function(){return r.parse}}),Object.defineProperty(i,"parseString",{enumerable:!0,get:function(){return r.parseString}}),Object.defineProperty(i,"parseStream",{enumerable:!0,get:function(){return r.parseStream}}),Object.defineProperty(i,"parseFile",{enumerable:!0,get:function(){return r.parseFile}}),Object.defineProperty(i,"ParserOptions",{enumerable:!0,get:function(){return r.ParserOptions}}),Object.defineProperty(i,"CsvParserStream",{enumerable:!0,get:function(){return r.CsvParserStream}})},{"@fast-csv/format":151,"@fast-csv/parse":155}],425:[function(t,e,i){"use strict";var o=t("safe-buffer").Buffer,r=t("readable-stream").Transform;function n(a){r.call(this),this._block=o.allocUnsafe(a),this._blockSize=a,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}t("inherits")(n,r),n.prototype._transform=function(a,s,l){var c=null;try{this.update(a,s)}catch(d){c=d}l(c)},n.prototype._flush=function(a){var s=null;try{this.push(this.digest())}catch(l){s=l}a(s)},n.prototype.update=function(a,s){if((function(m,h){if(!o.isBuffer(m)&&typeof m!="string")throw new TypeError(h+" must be a string or a buffer")})(a,"Data"),this._finalized)throw new Error("Digest already called");o.isBuffer(a)||(a=o.from(a,s));for(var l=this._block,c=0;this._blockOffset+a.length-c>=this._blockSize;){for(var d=this._blockOffset;d<this._blockSize;)l[d++]=a[c++];this._update(),this._blockOffset=0}for(;c<a.length;)l[this._blockOffset++]=a[c++];for(var u=0,p=8*a.length;p>0;++u)this._length[u]+=p,(p=this._length[u]/4294967296|0)>0&&(this._length[u]-=4294967296*p);return this},n.prototype._update=function(){throw new Error("_update is not implemented")},n.prototype.digest=function(a){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var s=this._digest();a!==void 0&&(s=s.toString(a)),this._block.fill(0),this._blockOffset=0;for(var l=0;l<4;++l)this._length[l]=0;return s},n.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=n},{inherits:440,"readable-stream":491,"safe-buffer":494}],426:[function(t,e,i){"use strict";var o=i;o.utils=t("./hash/utils"),o.common=t("./hash/common"),o.sha=t("./hash/sha"),o.ripemd=t("./hash/ripemd"),o.hmac=t("./hash/hmac"),o.sha1=o.sha.sha1,o.sha256=o.sha.sha256,o.sha224=o.sha.sha224,o.sha384=o.sha.sha384,o.sha512=o.sha.sha512,o.ripemd160=o.ripemd.ripemd160},{"./hash/common":427,"./hash/hmac":428,"./hash/ripemd":429,"./hash/sha":430,"./hash/utils":437}],427:[function(t,e,i){"use strict";var o=t("./utils"),r=t("minimalistic-assert");function n(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}i.BlockHash=n,n.prototype.update=function(a,s){if(a=o.toArray(a,s),this.pending?this.pending=this.pending.concat(a):this.pending=a,this.pendingTotal+=a.length,this.pending.length>=this._delta8){var l=(a=this.pending).length%this._delta8;this.pending=a.slice(a.length-l,a.length),this.pending.length===0&&(this.pending=null),a=o.join32(a,0,a.length-l,this.endian);for(var c=0;c<a.length;c+=this._delta32)this._update(a,c,c+this._delta32)}return this},n.prototype.digest=function(a){return this.update(this._pad()),r(this.pending===null),this._digest(a)},n.prototype._pad=function(){var a=this.pendingTotal,s=this._delta8,l=s-(a+this.padLength)%s,c=new Array(l+this.padLength);c[0]=128;for(var d=1;d<l;d++)c[d]=0;if(a<<=3,this.endian==="big"){for(var u=8;u<this.padLength;u++)c[d++]=0;c[d++]=0,c[d++]=0,c[d++]=0,c[d++]=0,c[d++]=a>>>24&255,c[d++]=a>>>16&255,c[d++]=a>>>8&255,c[d++]=255&a}else for(c[d++]=255&a,c[d++]=a>>>8&255,c[d++]=a>>>16&255,c[d++]=a>>>24&255,c[d++]=0,c[d++]=0,c[d++]=0,c[d++]=0,u=8;u<this.padLength;u++)c[d++]=0;return c}},{"./utils":437,"minimalistic-assert":453}],428:[function(t,e,i){"use strict";var o=t("./utils"),r=t("minimalistic-assert");function n(a,s,l){if(!(this instanceof n))return new n(a,s,l);this.Hash=a,this.blockSize=a.blockSize/8,this.outSize=a.outSize/8,this.inner=null,this.outer=null,this._init(o.toArray(s,l))}e.exports=n,n.prototype._init=function(a){a.length>this.blockSize&&(a=new this.Hash().update(a).digest()),r(a.length<=this.blockSize);for(var s=a.length;s<this.blockSize;s++)a.push(0);for(s=0;s<a.length;s++)a[s]^=54;for(this.inner=new this.Hash().update(a),s=0;s<a.length;s++)a[s]^=106;this.outer=new this.Hash().update(a)},n.prototype.update=function(a,s){return this.inner.update(a,s),this},n.prototype.digest=function(a){return this.outer.update(this.inner.digest()),this.outer.digest(a)}},{"./utils":437,"minimalistic-assert":453}],429:[function(t,e,i){"use strict";var o=t("./utils"),r=t("./common"),n=o.rotl32,a=o.sum32,s=o.sum32_3,l=o.sum32_4,c=r.BlockHash;function d(){if(!(this instanceof d))return new d;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function u(y,w,x,S){return y<=15?w^x^S:y<=31?w&x|~w&S:y<=47?(w|~x)^S:y<=63?w&S|x&~S:w^(x|~S)}function p(y){return y<=15?0:y<=31?1518500249:y<=47?1859775393:y<=63?2400959708:2840853838}function m(y){return y<=15?1352829926:y<=31?1548603684:y<=47?1836072691:y<=63?2053994217:0}o.inherits(d,c),i.ripemd160=d,d.blockSize=512,d.outSize=160,d.hmacStrength=192,d.padLength=64,d.prototype._update=function(y,w){for(var x=this.h[0],S=this.h[1],T=this.h[2],M=this.h[3],I=this.h[4],A=x,D=S,E=T,N=M,R=I,v=0;v<80;v++){var k=a(n(l(x,u(v,S,T,M),y[h[v]+w],p(v)),g[v]),I);x=I,I=M,M=n(T,10),T=S,S=k,k=a(n(l(A,u(79-v,D,E,N),y[f[v]+w],m(v)),b[v]),R),A=R,R=N,N=n(E,10),E=D,D=k}k=s(this.h[1],T,N),this.h[1]=s(this.h[2],M,R),this.h[2]=s(this.h[3],I,A),this.h[3]=s(this.h[4],x,D),this.h[4]=s(this.h[0],S,E),this.h[0]=k},d.prototype._digest=function(y){return y==="hex"?o.toHex32(this.h,"little"):o.split32(this.h,"little")};var h=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],f=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],b=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"./common":427,"./utils":437}],430:[function(t,e,i){"use strict";i.sha1=t("./sha/1"),i.sha224=t("./sha/224"),i.sha256=t("./sha/256"),i.sha384=t("./sha/384"),i.sha512=t("./sha/512")},{"./sha/1":431,"./sha/224":432,"./sha/256":433,"./sha/384":434,"./sha/512":435}],431:[function(t,e,i){"use strict";var o=t("../utils"),r=t("../common"),n=t("./common"),a=o.rotl32,s=o.sum32,l=o.sum32_5,c=n.ft_1,d=r.BlockHash,u=[1518500249,1859775393,2400959708,3395469782];function p(){if(!(this instanceof p))return new p;d.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}o.inherits(p,d),e.exports=p,p.blockSize=512,p.outSize=160,p.hmacStrength=80,p.padLength=64,p.prototype._update=function(m,h){for(var f=this.W,g=0;g<16;g++)f[g]=m[h+g];for(;g<f.length;g++)f[g]=a(f[g-3]^f[g-8]^f[g-14]^f[g-16],1);var b=this.h[0],y=this.h[1],w=this.h[2],x=this.h[3],S=this.h[4];for(g=0;g<f.length;g++){var T=~~(g/20),M=l(a(b,5),c(T,y,w,x),S,f[g],u[T]);S=x,x=w,w=a(y,30),y=b,b=M}this.h[0]=s(this.h[0],b),this.h[1]=s(this.h[1],y),this.h[2]=s(this.h[2],w),this.h[3]=s(this.h[3],x),this.h[4]=s(this.h[4],S)},p.prototype._digest=function(m){return m==="hex"?o.toHex32(this.h,"big"):o.split32(this.h,"big")}},{"../common":427,"../utils":437,"./common":436}],432:[function(t,e,i){"use strict";var o=t("../utils"),r=t("./256");function n(){if(!(this instanceof n))return new n;r.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}o.inherits(n,r),e.exports=n,n.blockSize=512,n.outSize=224,n.hmacStrength=192,n.padLength=64,n.prototype._digest=function(a){return a==="hex"?o.toHex32(this.h.slice(0,7),"big"):o.split32(this.h.slice(0,7),"big")}},{"../utils":437,"./256":433}],433:[function(t,e,i){"use strict";var o=t("../utils"),r=t("../common"),n=t("./common"),a=t("minimalistic-assert"),s=o.sum32,l=o.sum32_4,c=o.sum32_5,d=n.ch32,u=n.maj32,p=n.s0_256,m=n.s1_256,h=n.g0_256,f=n.g1_256,g=r.BlockHash,b=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function y(){if(!(this instanceof y))return new y;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=b,this.W=new Array(64)}o.inherits(y,g),e.exports=y,y.blockSize=512,y.outSize=256,y.hmacStrength=192,y.padLength=64,y.prototype._update=function(w,x){for(var S=this.W,T=0;T<16;T++)S[T]=w[x+T];for(;T<S.length;T++)S[T]=l(f(S[T-2]),S[T-7],h(S[T-15]),S[T-16]);var M=this.h[0],I=this.h[1],A=this.h[2],D=this.h[3],E=this.h[4],N=this.h[5],R=this.h[6],v=this.h[7];for(a(this.k.length===S.length),T=0;T<S.length;T++){var k=c(v,m(E),d(E,N,R),this.k[T],S[T]),P=s(p(M),u(M,I,A));v=R,R=N,N=E,E=s(D,k),D=A,A=I,I=M,M=s(k,P)}this.h[0]=s(this.h[0],M),this.h[1]=s(this.h[1],I),this.h[2]=s(this.h[2],A),this.h[3]=s(this.h[3],D),this.h[4]=s(this.h[4],E),this.h[5]=s(this.h[5],N),this.h[6]=s(this.h[6],R),this.h[7]=s(this.h[7],v)},y.prototype._digest=function(w){return w==="hex"?o.toHex32(this.h,"big"):o.split32(this.h,"big")}},{"../common":427,"../utils":437,"./common":436,"minimalistic-assert":453}],434:[function(t,e,i){"use strict";var o=t("../utils"),r=t("./512");function n(){if(!(this instanceof n))return new n;r.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}o.inherits(n,r),e.exports=n,n.blockSize=1024,n.outSize=384,n.hmacStrength=192,n.padLength=128,n.prototype._digest=function(a){return a==="hex"?o.toHex32(this.h.slice(0,12),"big"):o.split32(this.h.slice(0,12),"big")}},{"../utils":437,"./512":435}],435:[function(t,e,i){"use strict";var o=t("../utils"),r=t("../common"),n=t("minimalistic-assert"),a=o.rotr64_hi,s=o.rotr64_lo,l=o.shr64_hi,c=o.shr64_lo,d=o.sum64,u=o.sum64_hi,p=o.sum64_lo,m=o.sum64_4_hi,h=o.sum64_4_lo,f=o.sum64_5_hi,g=o.sum64_5_lo,b=r.BlockHash,y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function w(){if(!(this instanceof w))return new w;b.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=y,this.W=new Array(160)}function x(P,O,_,j,B){var V=P&_^~P&B;return V<0&&(V+=4294967296),V}function S(P,O,_,j,B,V){var G=O&j^~O&V;return G<0&&(G+=4294967296),G}function T(P,O,_,j,B){var V=P&_^P&B^_&B;return V<0&&(V+=4294967296),V}function M(P,O,_,j,B,V){var G=O&j^O&V^j&V;return G<0&&(G+=4294967296),G}function I(P,O){var _=a(P,O,28)^a(O,P,2)^a(O,P,7);return _<0&&(_+=4294967296),_}function A(P,O){var _=s(P,O,28)^s(O,P,2)^s(O,P,7);return _<0&&(_+=4294967296),_}function D(P,O){var _=a(P,O,14)^a(P,O,18)^a(O,P,9);return _<0&&(_+=4294967296),_}function E(P,O){var _=s(P,O,14)^s(P,O,18)^s(O,P,9);return _<0&&(_+=4294967296),_}function N(P,O){var _=a(P,O,1)^a(P,O,8)^l(P,O,7);return _<0&&(_+=4294967296),_}function R(P,O){var _=s(P,O,1)^s(P,O,8)^c(P,O,7);return _<0&&(_+=4294967296),_}function v(P,O){var _=a(P,O,19)^a(O,P,29)^l(P,O,6);return _<0&&(_+=4294967296),_}function k(P,O){var _=s(P,O,19)^s(O,P,29)^c(P,O,6);return _<0&&(_+=4294967296),_}o.inherits(w,b),e.exports=w,w.blockSize=1024,w.outSize=512,w.hmacStrength=192,w.padLength=128,w.prototype._prepareBlock=function(P,O){for(var _=this.W,j=0;j<32;j++)_[j]=P[O+j];for(;j<_.length;j+=2){var B=v(_[j-4],_[j-3]),V=k(_[j-4],_[j-3]),G=_[j-14],Q=_[j-13],H=N(_[j-30],_[j-29]),q=R(_[j-30],_[j-29]),U=_[j-32],F=_[j-31];_[j]=m(B,V,G,Q,H,q,U,F),_[j+1]=h(B,V,G,Q,H,q,U,F)}},w.prototype._update=function(P,O){this._prepareBlock(P,O);var _=this.W,j=this.h[0],B=this.h[1],V=this.h[2],G=this.h[3],Q=this.h[4],H=this.h[5],q=this.h[6],U=this.h[7],F=this.h[8],K=this.h[9],te=this.h[10],ae=this.h[11],pe=this.h[12],Z=this.h[13],ee=this.h[14],ce=this.h[15];n(this.k.length===_.length);for(var ne=0;ne<_.length;ne+=2){var oe=ee,re=ce,Y=D(F,K),X=E(F,K),ie=x(F,K,te,ae,pe),de=S(F,K,te,ae,pe,Z),fe=this.k[ne],ye=this.k[ne+1],Le=_[ne],Re=_[ne+1],Ne=f(oe,re,Y,X,ie,de,fe,ye,Le,Re),Te=g(oe,re,Y,X,ie,de,fe,ye,Le,Re);oe=I(j,B),re=A(j,B),Y=T(j,B,V,G,Q),X=M(j,B,V,G,Q,H);var Pe=u(oe,re,Y,X),Oe=p(oe,re,Y,X);ee=pe,ce=Z,pe=te,Z=ae,te=F,ae=K,F=u(q,U,Ne,Te),K=p(U,U,Ne,Te),q=Q,U=H,Q=V,H=G,V=j,G=B,j=u(Ne,Te,Pe,Oe),B=p(Ne,Te,Pe,Oe)}d(this.h,0,j,B),d(this.h,2,V,G),d(this.h,4,Q,H),d(this.h,6,q,U),d(this.h,8,F,K),d(this.h,10,te,ae),d(this.h,12,pe,Z),d(this.h,14,ee,ce)},w.prototype._digest=function(P){return P==="hex"?o.toHex32(this.h,"big"):o.split32(this.h,"big")}},{"../common":427,"../utils":437,"minimalistic-assert":453}],436:[function(t,e,i){"use strict";var o=t("../utils").rotr32;function r(s,l,c){return s&l^~s&c}function n(s,l,c){return s&l^s&c^l&c}function a(s,l,c){return s^l^c}i.ft_1=function(s,l,c,d){return s===0?r(l,c,d):s===1||s===3?a(l,c,d):s===2?n(l,c,d):void 0},i.ch32=r,i.maj32=n,i.p32=a,i.s0_256=function(s){return o(s,2)^o(s,13)^o(s,22)},i.s1_256=function(s){return o(s,6)^o(s,11)^o(s,25)},i.g0_256=function(s){return o(s,7)^o(s,18)^s>>>3},i.g1_256=function(s){return o(s,17)^o(s,19)^s>>>10}},{"../utils":437}],437:[function(t,e,i){"use strict";var o=t("minimalistic-assert"),r=t("inherits");function n(c,d){return(64512&c.charCodeAt(d))==55296&&!(d<0||d+1>=c.length)&&(64512&c.charCodeAt(d+1))==56320}function a(c){return(c>>>24|c>>>8&65280|c<<8&16711680|(255&c)<<24)>>>0}function s(c){return c.length===1?"0"+c:c}function l(c){return c.length===7?"0"+c:c.length===6?"00"+c:c.length===5?"000"+c:c.length===4?"0000"+c:c.length===3?"00000"+c:c.length===2?"000000"+c:c.length===1?"0000000"+c:c}i.inherits=r,i.toArray=function(c,d){if(Array.isArray(c))return c.slice();if(!c)return[];var u=[];if(typeof c=="string")if(d){if(d==="hex")for((c=c.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(c="0"+c),m=0;m<c.length;m+=2)u.push(parseInt(c[m]+c[m+1],16))}else for(var p=0,m=0;m<c.length;m++){var h=c.charCodeAt(m);h<128?u[p++]=h:h<2048?(u[p++]=h>>6|192,u[p++]=63&h|128):n(c,m)?(h=65536+((1023&h)<<10)+(1023&c.charCodeAt(++m)),u[p++]=h>>18|240,u[p++]=h>>12&63|128,u[p++]=h>>6&63|128,u[p++]=63&h|128):(u[p++]=h>>12|224,u[p++]=h>>6&63|128,u[p++]=63&h|128)}else for(m=0;m<c.length;m++)u[m]=0|c[m];return u},i.toHex=function(c){for(var d="",u=0;u<c.length;u++)d+=s(c[u].toString(16));return d},i.htonl=a,i.toHex32=function(c,d){for(var u="",p=0;p<c.length;p++){var m=c[p];d==="little"&&(m=a(m)),u+=l(m.toString(16))}return u},i.zero2=s,i.zero8=l,i.join32=function(c,d,u,p){var m=u-d;o(m%4==0);for(var h=new Array(m/4),f=0,g=d;f<h.length;f++,g+=4){var b;b=p==="big"?c[g]<<24|c[g+1]<<16|c[g+2]<<8|c[g+3]:c[g+3]<<24|c[g+2]<<16|c[g+1]<<8|c[g],h[f]=b>>>0}return h},i.split32=function(c,d){for(var u=new Array(4*c.length),p=0,m=0;p<c.length;p++,m+=4){var h=c[p];d==="big"?(u[m]=h>>>24,u[m+1]=h>>>16&255,u[m+2]=h>>>8&255,u[m+3]=255&h):(u[m+3]=h>>>24,u[m+2]=h>>>16&255,u[m+1]=h>>>8&255,u[m]=255&h)}return u},i.rotr32=function(c,d){return c>>>d|c<<32-d},i.rotl32=function(c,d){return c<<d|c>>>32-d},i.sum32=function(c,d){return c+d>>>0},i.sum32_3=function(c,d,u){return c+d+u>>>0},i.sum32_4=function(c,d,u,p){return c+d+u+p>>>0},i.sum32_5=function(c,d,u,p,m){return c+d+u+p+m>>>0},i.sum64=function(c,d,u,p){var m=c[d],h=p+c[d+1]>>>0,f=(h<p?1:0)+u+m;c[d]=f>>>0,c[d+1]=h},i.sum64_hi=function(c,d,u,p){return(d+p>>>0<d?1:0)+c+u>>>0},i.sum64_lo=function(c,d,u,p){return d+p>>>0},i.sum64_4_hi=function(c,d,u,p,m,h,f,g){var b=0,y=d;return b+=(y=y+p>>>0)<d?1:0,b+=(y=y+h>>>0)<h?1:0,c+u+m+f+(b+=(y=y+g>>>0)<g?1:0)>>>0},i.sum64_4_lo=function(c,d,u,p,m,h,f,g){return d+p+h+g>>>0},i.sum64_5_hi=function(c,d,u,p,m,h,f,g,b,y){var w=0,x=d;return w+=(x=x+p>>>0)<d?1:0,w+=(x=x+h>>>0)<h?1:0,w+=(x=x+g>>>0)<g?1:0,c+u+m+f+b+(w+=(x=x+y>>>0)<y?1:0)>>>0},i.sum64_5_lo=function(c,d,u,p,m,h,f,g,b,y){return d+p+h+g+y>>>0},i.rotr64_hi=function(c,d,u){return(d<<32-u|c>>>u)>>>0},i.rotr64_lo=function(c,d,u){return(c<<32-u|d>>>u)>>>0},i.shr64_hi=function(c,d,u){return c>>>u},i.shr64_lo=function(c,d,u){return(c<<32-u|d>>>u)>>>0}},{inherits:440,"minimalistic-assert":453}],438:[function(t,e,i){"use strict";var o=t("hash.js"),r=t("minimalistic-crypto-utils"),n=t("minimalistic-assert");function a(s){if(!(this instanceof a))return new a(s);this.hash=s.hash,this.predResist=!!s.predResist,this.outLen=this.hash.outSize,this.minEntropy=s.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var l=r.toArray(s.entropy,s.entropyEnc||"hex"),c=r.toArray(s.nonce,s.nonceEnc||"hex"),d=r.toArray(s.pers,s.persEnc||"hex");n(l.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(l,c,d)}e.exports=a,a.prototype._init=function(s,l,c){var d=s.concat(l).concat(c);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var u=0;u<this.V.length;u++)this.K[u]=0,this.V[u]=1;this._update(d),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new o.hmac(this.hash,this.K)},a.prototype._update=function(s){var l=this._hmac().update(this.V).update([0]);s&&(l=l.update(s)),this.K=l.digest(),this.V=this._hmac().update(this.V).digest(),s&&(this.K=this._hmac().update(this.V).update([1]).update(s).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(s,l,c,d){typeof l!="string"&&(d=c,c=l,l=null),s=r.toArray(s,l),c=r.toArray(c,d),n(s.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(s.concat(c||[])),this._reseed=1},a.prototype.generate=function(s,l,c,d){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof l!="string"&&(d=c,c=l,l=null),c&&(c=r.toArray(c,d||"hex"),this._update(c));for(var u=[];u.length<s;)this.V=this._hmac().update(this.V).digest(),u=u.concat(this.V);var p=u.slice(0,s);return this._update(c),this._reseed++,r.encode(p,l)}},{"hash.js":426,"minimalistic-assert":453,"minimalistic-crypto-utils":454}],439:[function(t,e,i){"use strict";i.read=function(o,r,n,a,s){var l,c,d=8*s-a-1,u=(1<<d)-1,p=u>>1,m=-7,h=n?s-1:0,f=n?-1:1,g=o[r+h];for(h+=f,l=g&(1<<-m)-1,g>>=-m,m+=d;m>0;l=256*l+o[r+h],h+=f,m-=8);for(c=l&(1<<-m)-1,l>>=-m,m+=a;m>0;c=256*c+o[r+h],h+=f,m-=8);if(l===0)l=1-p;else{if(l===u)return c?NaN:1/0*(g?-1:1);c+=Math.pow(2,a),l-=p}return(g?-1:1)*c*Math.pow(2,l-a)},i.write=function(o,r,n,a,s,l){var c,d,u,p=8*l-s-1,m=(1<<p)-1,h=m>>1,f=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=a?0:l-1,b=a?1:-1,y=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(d=isNaN(r)?1:0,c=m):(c=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-c))<1&&(c--,u*=2),(r+=c+h>=1?f/u:f*Math.pow(2,1-h))*u>=2&&(c++,u/=2),c+h>=m?(d=0,c=m):c+h>=1?(d=(r*u-1)*Math.pow(2,s),c+=h):(d=r*Math.pow(2,h-1)*Math.pow(2,s),c=0));s>=8;o[n+g]=255&d,g+=b,d/=256,s-=8);for(c=c<<s|d,p+=s;p>0;o[n+g]=255&c,g+=b,c/=256,p-=8);o[n+g-b]|=128*y}},{}],440:[function(t,e,i){"use strict";typeof Object.create=="function"?e.exports=function(o,r){r&&(o.super_=r,o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(o,r){if(r){o.super_=r;var n=function(){};n.prototype=r.prototype,o.prototype=new n,o.prototype.constructor=o}}},{}],441:[function(t,e,i){(function(o,r,n,a,s,l,c,d){(function(){"use strict";(function(u){typeof i=="object"&&e!==void 0?e.exports=u():(typeof window<"u"?window:r!==void 0?r:typeof self<"u"?self:this).JSZip=u()})((function(){return(function u(p,m,h){function f(y,w){if(!m[y]){if(!p[y]){var x=typeof t=="function"&&t;if(!w&&x)return x(y,!0);if(g)return g(y,!0);var S=new Error("Cannot find module '"+y+"'");throw S.code="MODULE_NOT_FOUND",S}var T=m[y]={exports:{}};p[y][0].call(T.exports,(function(M){return f(p[y][1][M]||M)}),T,T.exports,u,p,m,h)}return m[y].exports}for(var g=typeof t=="function"&&t,b=0;b<h.length;b++)f(h[b]);return f})({1:[function(u,p,m){var h=u("./utils"),f=u("./support"),g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";m.encode=function(b){for(var y,w,x,S,T,M,I,A=[],D=0,E=b.length,N=E,R=h.getTypeOf(b)!=="string";D<b.length;)N=E-D,x=R?(y=b[D++],w=D<E?b[D++]:0,D<E?b[D++]:0):(y=b.charCodeAt(D++),w=D<E?b.charCodeAt(D++):0,D<E?b.charCodeAt(D++):0),S=y>>2,T=(3&y)<<4|w>>4,M=1<N?(15&w)<<2|x>>6:64,I=2<N?63&x:64,A.push(g.charAt(S)+g.charAt(T)+g.charAt(M)+g.charAt(I));return A.join("")},m.decode=function(b){var y,w,x,S,T,M,I=0,A=0,D="data:";if(b.substr(0,D.length)===D)throw new Error("Invalid base64 input, it looks like a data url.");var E,N=3*(b=b.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(b.charAt(b.length-1)===g.charAt(64)&&N--,b.charAt(b.length-2)===g.charAt(64)&&N--,N%1!=0)throw new Error("Invalid base64 input, bad content length.");for(E=f.uint8array?new Uint8Array(0|N):new Array(0|N);I<b.length;)y=g.indexOf(b.charAt(I++))<<2|(S=g.indexOf(b.charAt(I++)))>>4,w=(15&S)<<4|(T=g.indexOf(b.charAt(I++)))>>2,x=(3&T)<<6|(M=g.indexOf(b.charAt(I++))),E[A++]=y,T!==64&&(E[A++]=w),M!==64&&(E[A++]=x);return E}},{"./support":30,"./utils":32}],2:[function(u,p,m){var h=u("./external"),f=u("./stream/DataWorker"),g=u("./stream/Crc32Probe"),b=u("./stream/DataLengthProbe");function y(w,x,S,T,M){this.compressedSize=w,this.uncompressedSize=x,this.crc32=S,this.compression=T,this.compressedContent=M}y.prototype={getContentWorker:function(){var w=new f(h.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new b("data_length")),x=this;return w.on("end",(function(){if(this.streamInfo.data_length!==x.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),w},getCompressedWorker:function(){return new f(h.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},y.createWorkerFrom=function(w,x,S){return w.pipe(new g).pipe(new b("uncompressedSize")).pipe(x.compressWorker(S)).pipe(new b("compressedSize")).withStreamInfo("compression",x)},p.exports=y},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(u,p,m){var h=u("./stream/GenericWorker");m.STORE={magic:"\0\0",compressWorker:function(){return new h("STORE compression")},uncompressWorker:function(){return new h("STORE decompression")}},m.DEFLATE=u("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(u,p,m){var h=u("./utils"),f=(function(){for(var g,b=[],y=0;y<256;y++){g=y;for(var w=0;w<8;w++)g=1&g?3988292384^g>>>1:g>>>1;b[y]=g}return b})();p.exports=function(g,b){return g!==void 0&&g.length?h.getTypeOf(g)!=="string"?(function(y,w,x,S){var T=f,M=0+x;y^=-1;for(var I=0;I<M;I++)y=y>>>8^T[255&(y^w[I])];return-1^y})(0|b,g,g.length):(function(y,w,x,S){var T=f,M=0+x;y^=-1;for(var I=0;I<M;I++)y=y>>>8^T[255&(y^w.charCodeAt(I))];return-1^y})(0|b,g,g.length):0}},{"./utils":32}],5:[function(u,p,m){m.base64=!1,m.binary=!1,m.dir=!1,m.createFolders=!0,m.date=null,m.compression=null,m.compressionOptions=null,m.comment=null,m.unixPermissions=null,m.dosPermissions=null},{}],6:[function(u,p,m){var h;h=typeof Promise<"u"?Promise:u("lie"),p.exports={Promise:h}},{lie:37}],7:[function(u,p,m){var h=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",f=u("pako"),g=u("./utils"),b=u("./stream/GenericWorker"),y=h?"uint8array":"array";function w(x,S){b.call(this,"FlateWorker/"+x),this._pako=null,this._pakoAction=x,this._pakoOptions=S,this.meta={}}m.magic="\b\0",g.inherits(w,b),w.prototype.processChunk=function(x){this.meta=x.meta,this._pako===null&&this._createPako(),this._pako.push(g.transformTo(y,x.data),!1)},w.prototype.flush=function(){b.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},w.prototype.cleanUp=function(){b.prototype.cleanUp.call(this),this._pako=null},w.prototype._createPako=function(){this._pako=new f[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var x=this;this._pako.onData=function(S){x.push({data:S,meta:x.meta})}},m.compressWorker=function(x){return new w("Deflate",x)},m.uncompressWorker=function(){return new w("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(u,p,m){function h(T,M){var I,A="";for(I=0;I<M;I++)A+=String.fromCharCode(255&T),T>>>=8;return A}function f(T,M,I,A,D,E){var N,R,v=T.file,k=T.compression,P=E!==y.utf8encode,O=g.transformTo("string",E(v.name)),_=g.transformTo("string",y.utf8encode(v.name)),j=v.comment,B=g.transformTo("string",E(j)),V=g.transformTo("string",y.utf8encode(j)),G=_.length!==v.name.length,Q=V.length!==j.length,H="",q="",U="",F=v.dir,K=v.date,te={crc32:0,compressedSize:0,uncompressedSize:0};M&&!I||(te.crc32=T.crc32,te.compressedSize=T.compressedSize,te.uncompressedSize=T.uncompressedSize);var ae=0;M&&(ae|=8),P||!G&&!Q||(ae|=2048);var pe=0,Z=0;F&&(pe|=16),D==="UNIX"?(Z=798,pe|=(function(ce,ne){var oe=ce;return ce||(oe=ne?16893:33204),(65535&oe)<<16})(v.unixPermissions,F)):(Z=20,pe|=(function(ce){return 63&(ce||0)})(v.dosPermissions)),N=K.getUTCHours(),N<<=6,N|=K.getUTCMinutes(),N<<=5,N|=K.getUTCSeconds()/2,R=K.getUTCFullYear()-1980,R<<=4,R|=K.getUTCMonth()+1,R<<=5,R|=K.getUTCDate(),G&&(q=h(1,1)+h(w(O),4)+_,H+="up"+h(q.length,2)+q),Q&&(U=h(1,1)+h(w(B),4)+V,H+="uc"+h(U.length,2)+U);var ee="";return ee+=`
\0`,ee+=h(ae,2),ee+=k.magic,ee+=h(N,2),ee+=h(R,2),ee+=h(te.crc32,4),ee+=h(te.compressedSize,4),ee+=h(te.uncompressedSize,4),ee+=h(O.length,2),ee+=h(H.length,2),{fileRecord:x.LOCAL_FILE_HEADER+ee+O+H,dirRecord:x.CENTRAL_FILE_HEADER+h(Z,2)+ee+h(B.length,2)+"\0\0\0\0"+h(pe,4)+h(A,4)+O+H+B}}var g=u("../utils"),b=u("../stream/GenericWorker"),y=u("../utf8"),w=u("../crc32"),x=u("../signature");function S(T,M,I,A){b.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=M,this.zipPlatform=I,this.encodeFileName=A,this.streamFiles=T,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}g.inherits(S,b),S.prototype.push=function(T){var M=T.meta.percent||0,I=this.entriesCount,A=this._sources.length;this.accumulate?this.contentBuffer.push(T):(this.bytesWritten+=T.data.length,b.prototype.push.call(this,{data:T.data,meta:{currentFile:this.currentFile,percent:I?(M+100*(I-A-1))/I:100}}))},S.prototype.openedSource=function(T){this.currentSourceOffset=this.bytesWritten,this.currentFile=T.file.name;var M=this.streamFiles&&!T.file.dir;if(M){var I=f(T,M,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:I.fileRecord,meta:{percent:0}})}else this.accumulate=!0},S.prototype.closedSource=function(T){this.accumulate=!1;var M=this.streamFiles&&!T.file.dir,I=f(T,M,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(I.dirRecord),M)this.push({data:(function(A){return x.DATA_DESCRIPTOR+h(A.crc32,4)+h(A.compressedSize,4)+h(A.uncompressedSize,4)})(T),meta:{percent:100}});else for(this.push({data:I.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},S.prototype.flush=function(){for(var T=this.bytesWritten,M=0;M<this.dirRecords.length;M++)this.push({data:this.dirRecords[M],meta:{percent:100}});var I=this.bytesWritten-T,A=(function(D,E,N,R,v){var k=g.transformTo("string",v(R));return x.CENTRAL_DIRECTORY_END+"\0\0\0\0"+h(D,2)+h(D,2)+h(E,4)+h(N,4)+h(k.length,2)+k})(this.dirRecords.length,I,T,this.zipComment,this.encodeFileName);this.push({data:A,meta:{percent:100}})},S.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},S.prototype.registerPrevious=function(T){this._sources.push(T);var M=this;return T.on("data",(function(I){M.processChunk(I)})),T.on("end",(function(){M.closedSource(M.previous.streamInfo),M._sources.length?M.prepareNextSource():M.end()})),T.on("error",(function(I){M.error(I)})),this},S.prototype.resume=function(){return!!b.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},S.prototype.error=function(T){var M=this._sources;if(!b.prototype.error.call(this,T))return!1;for(var I=0;I<M.length;I++)try{M[I].error(T)}catch{}return!0},S.prototype.lock=function(){b.prototype.lock.call(this);for(var T=this._sources,M=0;M<T.length;M++)T[M].lock()},p.exports=S},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(u,p,m){var h=u("../compressions"),f=u("./ZipFileWorker");m.generateWorker=function(g,b,y){var w=new f(b.streamFiles,y,b.platform,b.encodeFileName),x=0;try{g.forEach((function(S,T){x++;var M=(function(E,N){var R=E||N,v=h[R];if(!v)throw new Error(R+" is not a valid compression method !");return v})(T.options.compression,b.compression),I=T.options.compressionOptions||b.compressionOptions||{},A=T.dir,D=T.date;T._compressWorker(M,I).withStreamInfo("file",{name:S,dir:A,date:D,comment:T.comment||"",unixPermissions:T.unixPermissions,dosPermissions:T.dosPermissions}).pipe(w)})),w.entriesCount=x}catch(S){w.error(S)}return w}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(u,p,m){function h(){if(!(this instanceof h))return new h;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var f=new h;for(var g in this)typeof this[g]!="function"&&(f[g]=this[g]);return f}}(h.prototype=u("./object")).loadAsync=u("./load"),h.support=u("./support"),h.defaults=u("./defaults"),h.version="3.10.1",h.loadAsync=function(f,g){return new h().loadAsync(f,g)},h.external=u("./external"),p.exports=h},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(u,p,m){var h=u("./utils"),f=u("./external"),g=u("./utf8"),b=u("./zipEntries"),y=u("./stream/Crc32Probe"),w=u("./nodejsUtils");function x(S){return new f.Promise((function(T,M){var I=S.decompressed.getContentWorker().pipe(new y);I.on("error",(function(A){M(A)})).on("end",(function(){I.streamInfo.crc32!==S.decompressed.crc32?M(new Error("Corrupted zip : CRC32 mismatch")):T()})).resume()}))}p.exports=function(S,T){var M=this;return T=h.extend(T||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:g.utf8decode}),w.isNode&&w.isStream(S)?f.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):h.prepareContent("the loaded zip file",S,!0,T.optimizedBinaryString,T.base64).then((function(I){var A=new b(T);return A.load(I),A})).then((function(I){var A=[f.Promise.resolve(I)],D=I.files;if(T.checkCRC32)for(var E=0;E<D.length;E++)A.push(x(D[E]));return f.Promise.all(A)})).then((function(I){for(var A=I.shift(),D=A.files,E=0;E<D.length;E++){var N=D[E],R=N.fileNameStr,v=h.resolve(N.fileNameStr);M.file(v,N.decompressed,{binary:!0,optimizedBinaryString:!0,date:N.date,dir:N.dir,comment:N.fileCommentStr.length?N.fileCommentStr:null,unixPermissions:N.unixPermissions,dosPermissions:N.dosPermissions,createFolders:T.createFolders}),N.dir||(M.file(v).unsafeOriginalName=R)}return A.zipComment.length&&(M.comment=A.zipComment),M}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(u,p,m){var h=u("../utils"),f=u("../stream/GenericWorker");function g(b,y){f.call(this,"Nodejs stream input adapter for "+b),this._upstreamEnded=!1,this._bindStream(y)}h.inherits(g,f),g.prototype._bindStream=function(b){var y=this;(this._stream=b).pause(),b.on("data",(function(w){y.push({data:w,meta:{percent:0}})})).on("error",(function(w){y.isPaused?this.generatedError=w:y.error(w)})).on("end",(function(){y.isPaused?y._upstreamEnded=!0:y.end()}))},g.prototype.pause=function(){return!!f.prototype.pause.call(this)&&(this._stream.pause(),!0)},g.prototype.resume=function(){return!!f.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},p.exports=g},{"../stream/GenericWorker":28,"../utils":32}],13:[function(u,p,m){var h=u("readable-stream").Readable;function f(g,b,y){h.call(this,b),this._helper=g;var w=this;g.on("data",(function(x,S){w.push(x)||w._helper.pause(),y&&y(S)})).on("error",(function(x){w.emit("error",x)})).on("end",(function(){w.push(null)}))}u("../utils").inherits(f,h),f.prototype._read=function(){this._helper.resume()},p.exports=f},{"../utils":32,"readable-stream":16}],14:[function(u,p,m){p.exports={isNode:n!==void 0,newBufferFrom:function(h,f){if(n.from&&n.from!==Uint8Array.from)return n.from(h,f);if(typeof h=="number")throw new Error('The "data" argument must not be a number');return new n(h,f)},allocBuffer:function(h){if(n.alloc)return n.alloc(h);var f=new n(h);return f.fill(0),f},isBuffer:function(h){return n.isBuffer(h)},isStream:function(h){return h&&typeof h.on=="function"&&typeof h.pause=="function"&&typeof h.resume=="function"}}},{}],15:[function(u,p,m){function h(v,k,P){var O,_=g.getTypeOf(k),j=g.extend(P||{},w);j.date=j.date||new Date,j.compression!==null&&(j.compression=j.compression.toUpperCase()),typeof j.unixPermissions=="string"&&(j.unixPermissions=parseInt(j.unixPermissions,8)),j.unixPermissions&&16384&j.unixPermissions&&(j.dir=!0),j.dosPermissions&&16&j.dosPermissions&&(j.dir=!0),j.dir&&(v=D(v)),j.createFolders&&(O=A(v))&&E.call(this,O,!0);var B=_==="string"&&j.binary===!1&&j.base64===!1;P&&P.binary!==void 0||(j.binary=!B),(k instanceof x&&k.uncompressedSize===0||j.dir||!k||k.length===0)&&(j.base64=!1,j.binary=!0,k="",j.compression="STORE",_="string");var V;V=k instanceof x||k instanceof b?k:M.isNode&&M.isStream(k)?new I(v,k):g.prepareContent(v,k,j.binary,j.optimizedBinaryString,j.base64);var G=new S(v,V,j);this.files[v]=G}var f=u("./utf8"),g=u("./utils"),b=u("./stream/GenericWorker"),y=u("./stream/StreamHelper"),w=u("./defaults"),x=u("./compressedObject"),S=u("./zipObject"),T=u("./generate"),M=u("./nodejsUtils"),I=u("./nodejs/NodejsStreamInputAdapter"),A=function(v){v.slice(-1)==="/"&&(v=v.substring(0,v.length-1));var k=v.lastIndexOf("/");return 0<k?v.substring(0,k):""},D=function(v){return v.slice(-1)!=="/"&&(v+="/"),v},E=function(v,k){return k=k!==void 0?k:w.createFolders,v=D(v),this.files[v]||h.call(this,v,null,{dir:!0,createFolders:k}),this.files[v]};function N(v){return Object.prototype.toString.call(v)==="[object RegExp]"}var R={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(v){var k,P,O;for(k in this.files)O=this.files[k],(P=k.slice(this.root.length,k.length))&&k.slice(0,this.root.length)===this.root&&v(P,O)},filter:function(v){var k=[];return this.forEach((function(P,O){v(P,O)&&k.push(O)})),k},file:function(v,k,P){if(arguments.length!==1)return v=this.root+v,h.call(this,v,k,P),this;if(N(v)){var O=v;return this.filter((function(j,B){return!B.dir&&O.test(j)}))}var _=this.files[this.root+v];return _&&!_.dir?_:null},folder:function(v){if(!v)return this;if(N(v))return this.filter((function(_,j){return j.dir&&v.test(_)}));var k=this.root+v,P=E.call(this,k),O=this.clone();return O.root=P.name,O},remove:function(v){v=this.root+v;var k=this.files[v];if(k||(v.slice(-1)!=="/"&&(v+="/"),k=this.files[v]),k&&!k.dir)delete this.files[v];else for(var P=this.filter((function(_,j){return j.name.slice(0,v.length)===v})),O=0;O<P.length;O++)delete this.files[P[O].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(v){var k,P={};try{if((P=g.extend(v||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:f.utf8encode})).type=P.type.toLowerCase(),P.compression=P.compression.toUpperCase(),P.type==="binarystring"&&(P.type="string"),!P.type)throw new Error("No output type specified.");g.checkSupport(P.type),P.platform!=="darwin"&&P.platform!=="freebsd"&&P.platform!=="linux"&&P.platform!=="sunos"||(P.platform="UNIX"),P.platform==="win32"&&(P.platform="DOS");var O=P.comment||this.comment||"";k=T.generateWorker(this,P,O)}catch(_){(k=new b("error")).error(_)}return new y(k,P.type||"string",P.mimeType)},generateAsync:function(v,k){return this.generateInternalStream(v).accumulate(k)},generateNodeStream:function(v,k){return(v=v||{}).type||(v.type="nodebuffer"),this.generateInternalStream(v).toNodejsStream(k)}};p.exports=R},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(u,p,m){p.exports=u("stream")},{stream:void 0}],17:[function(u,p,m){var h=u("./DataReader");function f(g){h.call(this,g);for(var b=0;b<this.data.length;b++)g[b]=255&g[b]}u("../utils").inherits(f,h),f.prototype.byteAt=function(g){return this.data[this.zero+g]},f.prototype.lastIndexOfSignature=function(g){for(var b=g.charCodeAt(0),y=g.charCodeAt(1),w=g.charCodeAt(2),x=g.charCodeAt(3),S=this.length-4;0<=S;--S)if(this.data[S]===b&&this.data[S+1]===y&&this.data[S+2]===w&&this.data[S+3]===x)return S-this.zero;return-1},f.prototype.readAndCheckSignature=function(g){var b=g.charCodeAt(0),y=g.charCodeAt(1),w=g.charCodeAt(2),x=g.charCodeAt(3),S=this.readData(4);return b===S[0]&&y===S[1]&&w===S[2]&&x===S[3]},f.prototype.readData=function(g){if(this.checkOffset(g),g===0)return[];var b=this.data.slice(this.zero+this.index,this.zero+this.index+g);return this.index+=g,b},p.exports=f},{"../utils":32,"./DataReader":18}],18:[function(u,p,m){var h=u("../utils");function f(g){this.data=g,this.length=g.length,this.index=0,this.zero=0}f.prototype={checkOffset:function(g){this.checkIndex(this.index+g)},checkIndex:function(g){if(this.length<this.zero+g||g<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+g+"). Corrupted zip ?")},setIndex:function(g){this.checkIndex(g),this.index=g},skip:function(g){this.setIndex(this.index+g)},byteAt:function(){},readInt:function(g){var b,y=0;for(this.checkOffset(g),b=this.index+g-1;b>=this.index;b--)y=(y<<8)+this.byteAt(b);return this.index+=g,y},readString:function(g){return h.transformTo("string",this.readData(g))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var g=this.readInt(4);return new Date(Date.UTC(1980+(g>>25&127),(g>>21&15)-1,g>>16&31,g>>11&31,g>>5&63,(31&g)<<1))}},p.exports=f},{"../utils":32}],19:[function(u,p,m){var h=u("./Uint8ArrayReader");function f(g){h.call(this,g)}u("../utils").inherits(f,h),f.prototype.readData=function(g){this.checkOffset(g);var b=this.data.slice(this.zero+this.index,this.zero+this.index+g);return this.index+=g,b},p.exports=f},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(u,p,m){var h=u("./DataReader");function f(g){h.call(this,g)}u("../utils").inherits(f,h),f.prototype.byteAt=function(g){return this.data.charCodeAt(this.zero+g)},f.prototype.lastIndexOfSignature=function(g){return this.data.lastIndexOf(g)-this.zero},f.prototype.readAndCheckSignature=function(g){return g===this.readData(4)},f.prototype.readData=function(g){this.checkOffset(g);var b=this.data.slice(this.zero+this.index,this.zero+this.index+g);return this.index+=g,b},p.exports=f},{"../utils":32,"./DataReader":18}],21:[function(u,p,m){var h=u("./ArrayReader");function f(g){h.call(this,g)}u("../utils").inherits(f,h),f.prototype.readData=function(g){if(this.checkOffset(g),g===0)return new Uint8Array(0);var b=this.data.subarray(this.zero+this.index,this.zero+this.index+g);return this.index+=g,b},p.exports=f},{"../utils":32,"./ArrayReader":17}],22:[function(u,p,m){var h=u("../utils"),f=u("../support"),g=u("./ArrayReader"),b=u("./StringReader"),y=u("./NodeBufferReader"),w=u("./Uint8ArrayReader");p.exports=function(x){var S=h.getTypeOf(x);return h.checkSupport(S),S!=="string"||f.uint8array?S==="nodebuffer"?new y(x):f.uint8array?new w(h.transformTo("uint8array",x)):new g(h.transformTo("array",x)):new b(x)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(u,p,m){m.LOCAL_FILE_HEADER="PK",m.CENTRAL_FILE_HEADER="PK",m.CENTRAL_DIRECTORY_END="PK",m.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",m.ZIP64_CENTRAL_DIRECTORY_END="PK",m.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(u,p,m){var h=u("./GenericWorker"),f=u("../utils");function g(b){h.call(this,"ConvertWorker to "+b),this.destType=b}f.inherits(g,h),g.prototype.processChunk=function(b){this.push({data:f.transformTo(this.destType,b.data),meta:b.meta})},p.exports=g},{"../utils":32,"./GenericWorker":28}],25:[function(u,p,m){var h=u("./GenericWorker"),f=u("../crc32");function g(){h.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}u("../utils").inherits(g,h),g.prototype.processChunk=function(b){this.streamInfo.crc32=f(b.data,this.streamInfo.crc32||0),this.push(b)},p.exports=g},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(u,p,m){var h=u("../utils"),f=u("./GenericWorker");function g(b){f.call(this,"DataLengthProbe for "+b),this.propName=b,this.withStreamInfo(b,0)}h.inherits(g,f),g.prototype.processChunk=function(b){if(b){var y=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=y+b.data.length}f.prototype.processChunk.call(this,b)},p.exports=g},{"../utils":32,"./GenericWorker":28}],27:[function(u,p,m){var h=u("../utils"),f=u("./GenericWorker");function g(b){f.call(this,"DataWorker");var y=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,b.then((function(w){y.dataIsReady=!0,y.data=w,y.max=w&&w.length||0,y.type=h.getTypeOf(w),y.isPaused||y._tickAndRepeat()}),(function(w){y.error(w)}))}h.inherits(g,f),g.prototype.cleanUp=function(){f.prototype.cleanUp.call(this),this.data=null},g.prototype.resume=function(){return!!f.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,h.delay(this._tickAndRepeat,[],this)),!0)},g.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(h.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},g.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var b=null,y=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":b=this.data.substring(this.index,y);break;case"uint8array":b=this.data.subarray(this.index,y);break;case"array":case"nodebuffer":b=this.data.slice(this.index,y)}return this.index=y,this.push({data:b,meta:{percent:this.max?this.index/this.max*100:0}})},p.exports=g},{"../utils":32,"./GenericWorker":28}],28:[function(u,p,m){function h(f){this.name=f||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}h.prototype={push:function(f){this.emit("data",f)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(f){this.emit("error",f)}return!0},error:function(f){return!this.isFinished&&(this.isPaused?this.generatedError=f:(this.isFinished=!0,this.emit("error",f),this.previous&&this.previous.error(f),this.cleanUp()),!0)},on:function(f,g){return this._listeners[f].push(g),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(f,g){if(this._listeners[f])for(var b=0;b<this._listeners[f].length;b++)this._listeners[f][b].call(this,g)},pipe:function(f){return f.registerPrevious(this)},registerPrevious:function(f){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=f.streamInfo,this.mergeStreamInfo(),this.previous=f;var g=this;return f.on("data",(function(b){g.processChunk(b)})),f.on("end",(function(){g.end()})),f.on("error",(function(b){g.error(b)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var f=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),f=!0),this.previous&&this.previous.resume(),!f},flush:function(){},processChunk:function(f){this.push(f)},withStreamInfo:function(f,g){return this.extraStreamInfo[f]=g,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var f in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,f)&&(this.streamInfo[f]=this.extraStreamInfo[f])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var f="Worker "+this.name;return this.previous?this.previous+" -> "+f:f}},p.exports=h},{}],29:[function(u,p,m){var h=u("../utils"),f=u("./ConvertWorker"),g=u("./GenericWorker"),b=u("../base64"),y=u("../support"),w=u("../external"),x=null;if(y.nodestream)try{x=u("../nodejs/NodejsStreamOutputAdapter")}catch{}function S(T,M,I){var A=M;switch(M){case"blob":case"arraybuffer":A="uint8array";break;case"base64":A="string"}try{this._internalType=A,this._outputType=M,this._mimeType=I,h.checkSupport(A),this._worker=T.pipe(new f(A)),T.lock()}catch(D){this._worker=new g("error"),this._worker.error(D)}}S.prototype={accumulate:function(T){return(function(M,I){return new w.Promise((function(A,D){var E=[],N=M._internalType,R=M._outputType,v=M._mimeType;M.on("data",(function(k,P){E.push(k),I&&I(P)})).on("error",(function(k){E=[],D(k)})).on("end",(function(){try{var k=(function(P,O,_){switch(P){case"blob":return h.newBlob(h.transformTo("arraybuffer",O),_);case"base64":return b.encode(O);default:return h.transformTo(P,O)}})(R,(function(P,O){var _,j=0,B=null,V=0;for(_=0;_<O.length;_++)V+=O[_].length;switch(P){case"string":return O.join("");case"array":return Array.prototype.concat.apply([],O);case"uint8array":for(B=new Uint8Array(V),_=0;_<O.length;_++)B.set(O[_],j),j+=O[_].length;return B;case"nodebuffer":return n.concat(O);default:throw new Error("concat : unsupported type '"+P+"'")}})(N,E),v);A(k)}catch(P){D(P)}E=[]})).resume()}))})(this,T)},on:function(T,M){var I=this;return T==="data"?this._worker.on(T,(function(A){M.call(I,A.data,A.meta)})):this._worker.on(T,(function(){h.delay(M,arguments,I)})),this},resume:function(){return h.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(T){if(h.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new x(this,{objectMode:this._outputType!=="nodebuffer"},T)}},p.exports=S},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(u,p,m){if(m.base64=!0,m.array=!0,m.string=!0,m.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",m.nodebuffer=n!==void 0,m.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")m.blob=!1;else{var h=new ArrayBuffer(0);try{m.blob=new Blob([h],{type:"application/zip"}).size===0}catch{try{var f=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);f.append(h),m.blob=f.getBlob("application/zip").size===0}catch{m.blob=!1}}}try{m.nodestream=!!u("readable-stream").Readable}catch{m.nodestream=!1}},{"readable-stream":16}],31:[function(u,p,m){for(var h=u("./utils"),f=u("./support"),g=u("./nodejsUtils"),b=u("./stream/GenericWorker"),y=new Array(256),w=0;w<256;w++)y[w]=252<=w?6:248<=w?5:240<=w?4:224<=w?3:192<=w?2:1;function x(){b.call(this,"utf-8 decode"),this.leftOver=null}function S(){b.call(this,"utf-8 encode")}y[254]=y[254]=1,m.utf8encode=function(T){return f.nodebuffer?g.newBufferFrom(T,"utf-8"):(function(M){var I,A,D,E,N,R=M.length,v=0;for(E=0;E<R;E++)(64512&(A=M.charCodeAt(E)))==55296&&E+1<R&&(64512&(D=M.charCodeAt(E+1)))==56320&&(A=65536+(A-55296<<10)+(D-56320),E++),v+=A<128?1:A<2048?2:A<65536?3:4;for(I=f.uint8array?new Uint8Array(v):new Array(v),E=N=0;N<v;E++)(64512&(A=M.charCodeAt(E)))==55296&&E+1<R&&(64512&(D=M.charCodeAt(E+1)))==56320&&(A=65536+(A-55296<<10)+(D-56320),E++),A<128?I[N++]=A:(A<2048?I[N++]=192|A>>>6:(A<65536?I[N++]=224|A>>>12:(I[N++]=240|A>>>18,I[N++]=128|A>>>12&63),I[N++]=128|A>>>6&63),I[N++]=128|63&A);return I})(T)},m.utf8decode=function(T){return f.nodebuffer?h.transformTo("nodebuffer",T).toString("utf-8"):(function(M){var I,A,D,E,N=M.length,R=new Array(2*N);for(I=A=0;I<N;)if((D=M[I++])<128)R[A++]=D;else if(4<(E=y[D]))R[A++]=65533,I+=E-1;else{for(D&=E===2?31:E===3?15:7;1<E&&I<N;)D=D<<6|63&M[I++],E--;1<E?R[A++]=65533:D<65536?R[A++]=D:(D-=65536,R[A++]=55296|D>>10&1023,R[A++]=56320|1023&D)}return R.length!==A&&(R.subarray?R=R.subarray(0,A):R.length=A),h.applyFromCharCode(R)})(T=h.transformTo(f.uint8array?"uint8array":"array",T))},h.inherits(x,b),x.prototype.processChunk=function(T){var M=h.transformTo(f.uint8array?"uint8array":"array",T.data);if(this.leftOver&&this.leftOver.length){if(f.uint8array){var I=M;(M=new Uint8Array(I.length+this.leftOver.length)).set(this.leftOver,0),M.set(I,this.leftOver.length)}else M=this.leftOver.concat(M);this.leftOver=null}var A=(function(E,N){var R;for((N=N||E.length)>E.length&&(N=E.length),R=N-1;0<=R&&(192&E[R])==128;)R--;return R<0||R===0?N:R+y[E[R]]>N?R:N})(M),D=M;A!==M.length&&(f.uint8array?(D=M.subarray(0,A),this.leftOver=M.subarray(A,M.length)):(D=M.slice(0,A),this.leftOver=M.slice(A,M.length))),this.push({data:m.utf8decode(D),meta:T.meta})},x.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:m.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},m.Utf8DecodeWorker=x,h.inherits(S,b),S.prototype.processChunk=function(T){this.push({data:m.utf8encode(T.data),meta:T.meta})},m.Utf8EncodeWorker=S},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(u,p,m){var h=u("./support"),f=u("./base64"),g=u("./nodejsUtils"),b=u("./external");function y(I){return I}function w(I,A){for(var D=0;D<I.length;++D)A[D]=255&I.charCodeAt(D);return A}u("setimmediate"),m.newBlob=function(I,A){m.checkSupport("blob");try{return new Blob([I],{type:A})}catch{try{var D=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return D.append(I),D.getBlob(A)}catch{throw new Error("Bug : can't construct the Blob.")}}};var x={stringifyByChunk:function(I,A,D){var E=[],N=0,R=I.length;if(R<=D)return String.fromCharCode.apply(null,I);for(;N<R;)A==="array"||A==="nodebuffer"?E.push(String.fromCharCode.apply(null,I.slice(N,Math.min(N+D,R)))):E.push(String.fromCharCode.apply(null,I.subarray(N,Math.min(N+D,R)))),N+=D;return E.join("")},stringifyByChar:function(I){for(var A="",D=0;D<I.length;D++)A+=String.fromCharCode(I[D]);return A},applyCanBeUsed:{uint8array:(function(){try{return h.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return h.nodebuffer&&String.fromCharCode.apply(null,g.allocBuffer(1)).length===1}catch{return!1}})()}};function S(I){var A=65536,D=m.getTypeOf(I),E=!0;if(D==="uint8array"?E=x.applyCanBeUsed.uint8array:D==="nodebuffer"&&(E=x.applyCanBeUsed.nodebuffer),E)for(;1<A;)try{return x.stringifyByChunk(I,D,A)}catch{A=Math.floor(A/2)}return x.stringifyByChar(I)}function T(I,A){for(var D=0;D<I.length;D++)A[D]=I[D];return A}m.applyFromCharCode=S;var M={};M.string={string:y,array:function(I){return w(I,new Array(I.length))},arraybuffer:function(I){return M.string.uint8array(I).buffer},uint8array:function(I){return w(I,new Uint8Array(I.length))},nodebuffer:function(I){return w(I,g.allocBuffer(I.length))}},M.array={string:S,array:y,arraybuffer:function(I){return new Uint8Array(I).buffer},uint8array:function(I){return new Uint8Array(I)},nodebuffer:function(I){return g.newBufferFrom(I)}},M.arraybuffer={string:function(I){return S(new Uint8Array(I))},array:function(I){return T(new Uint8Array(I),new Array(I.byteLength))},arraybuffer:y,uint8array:function(I){return new Uint8Array(I)},nodebuffer:function(I){return g.newBufferFrom(new Uint8Array(I))}},M.uint8array={string:S,array:function(I){return T(I,new Array(I.length))},arraybuffer:function(I){return I.buffer},uint8array:y,nodebuffer:function(I){return g.newBufferFrom(I)}},M.nodebuffer={string:S,array:function(I){return T(I,new Array(I.length))},arraybuffer:function(I){return M.nodebuffer.uint8array(I).buffer},uint8array:function(I){return T(I,new Uint8Array(I.length))},nodebuffer:y},m.transformTo=function(I,A){if(A=A||"",!I)return A;m.checkSupport(I);var D=m.getTypeOf(A);return M[D][I](A)},m.resolve=function(I){for(var A=I.split("/"),D=[],E=0;E<A.length;E++){var N=A[E];N==="."||N===""&&E!==0&&E!==A.length-1||(N===".."?D.pop():D.push(N))}return D.join("/")},m.getTypeOf=function(I){return typeof I=="string"?"string":Object.prototype.toString.call(I)==="[object Array]"?"array":h.nodebuffer&&g.isBuffer(I)?"nodebuffer":h.uint8array&&I instanceof Uint8Array?"uint8array":h.arraybuffer&&I instanceof ArrayBuffer?"arraybuffer":void 0},m.checkSupport=function(I){if(!h[I.toLowerCase()])throw new Error(I+" is not supported by this platform")},m.MAX_VALUE_16BITS=65535,m.MAX_VALUE_32BITS=-1,m.pretty=function(I){var A,D,E="";for(D=0;D<(I||"").length;D++)E+="\\x"+((A=I.charCodeAt(D))<16?"0":"")+A.toString(16).toUpperCase();return E},m.delay=function(I,A,D){d((function(){I.apply(D||null,A||[])}))},m.inherits=function(I,A){function D(){}D.prototype=A.prototype,I.prototype=new D},m.extend=function(){var I,A,D={};for(I=0;I<arguments.length;I++)for(A in arguments[I])Object.prototype.hasOwnProperty.call(arguments[I],A)&&D[A]===void 0&&(D[A]=arguments[I][A]);return D},m.prepareContent=function(I,A,D,E,N){return b.Promise.resolve(A).then((function(R){return h.blob&&(R instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(R))!==-1)&&typeof FileReader<"u"?new b.Promise((function(v,k){var P=new FileReader;P.onload=function(O){v(O.target.result)},P.onerror=function(O){k(O.target.error)},P.readAsArrayBuffer(R)})):R})).then((function(R){var v=m.getTypeOf(R);return v?(v==="arraybuffer"?R=m.transformTo("uint8array",R):v==="string"&&(N?R=f.decode(R):D&&E!==!0&&(R=(function(k){return w(k,h.uint8array?new Uint8Array(k.length):new Array(k.length))})(R))),R):b.Promise.reject(new Error("Can't read the data of '"+I+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(u,p,m){var h=u("./reader/readerFor"),f=u("./utils"),g=u("./signature"),b=u("./zipEntry"),y=u("./support");function w(x){this.files=[],this.loadOptions=x}w.prototype={checkSignature:function(x){if(!this.reader.readAndCheckSignature(x)){this.reader.index-=4;var S=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+f.pretty(S)+", expected "+f.pretty(x)+")")}},isSignature:function(x,S){var T=this.reader.index;this.reader.setIndex(x);var M=this.reader.readString(4)===S;return this.reader.setIndex(T),M},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var x=this.reader.readData(this.zipCommentLength),S=y.uint8array?"uint8array":"array",T=f.transformTo(S,x);this.zipComment=this.loadOptions.decodeFileName(T)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var x,S,T,M=this.zip64EndOfCentralSize-44;0<M;)x=this.reader.readInt(2),S=this.reader.readInt(4),T=this.reader.readData(S),this.zip64ExtensibleData[x]={id:x,length:S,value:T}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var x,S;for(x=0;x<this.files.length;x++)S=this.files[x],this.reader.setIndex(S.localHeaderOffset),this.checkSignature(g.LOCAL_FILE_HEADER),S.readLocalPart(this.reader),S.handleUTF8(),S.processAttributes()},readCentralDir:function(){var x;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(g.CENTRAL_FILE_HEADER);)(x=new b({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(x);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var x=this.reader.lastIndexOfSignature(g.CENTRAL_DIRECTORY_END);if(x<0)throw this.isSignature(0,g.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(x);var S=x;if(this.checkSignature(g.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===f.MAX_VALUE_16BITS||this.diskWithCentralDirStart===f.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===f.MAX_VALUE_16BITS||this.centralDirRecords===f.MAX_VALUE_16BITS||this.centralDirSize===f.MAX_VALUE_32BITS||this.centralDirOffset===f.MAX_VALUE_32BITS){if(this.zip64=!0,(x=this.reader.lastIndexOfSignature(g.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(x),this.checkSignature(g.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,g.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(g.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(g.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var T=this.centralDirOffset+this.centralDirSize;this.zip64&&(T+=20,T+=12+this.zip64EndOfCentralSize);var M=S-T;if(0<M)this.isSignature(S,g.CENTRAL_FILE_HEADER)||(this.reader.zero=M);else if(M<0)throw new Error("Corrupted zip: missing "+Math.abs(M)+" bytes.")},prepareReader:function(x){this.reader=h(x)},load:function(x){this.prepareReader(x),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},p.exports=w},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(u,p,m){var h=u("./reader/readerFor"),f=u("./utils"),g=u("./compressedObject"),b=u("./crc32"),y=u("./utf8"),w=u("./compressions"),x=u("./support");function S(T,M){this.options=T,this.loadOptions=M}S.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(T){var M,I;if(T.skip(22),this.fileNameLength=T.readInt(2),I=T.readInt(2),this.fileName=T.readData(this.fileNameLength),T.skip(I),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((M=(function(A){for(var D in w)if(Object.prototype.hasOwnProperty.call(w,D)&&w[D].magic===A)return w[D];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+f.pretty(this.compressionMethod)+" unknown (inner file : "+f.transformTo("string",this.fileName)+")");this.decompressed=new g(this.compressedSize,this.uncompressedSize,this.crc32,M,T.readData(this.compressedSize))},readCentralPart:function(T){this.versionMadeBy=T.readInt(2),T.skip(2),this.bitFlag=T.readInt(2),this.compressionMethod=T.readString(2),this.date=T.readDate(),this.crc32=T.readInt(4),this.compressedSize=T.readInt(4),this.uncompressedSize=T.readInt(4);var M=T.readInt(2);if(this.extraFieldsLength=T.readInt(2),this.fileCommentLength=T.readInt(2),this.diskNumberStart=T.readInt(2),this.internalFileAttributes=T.readInt(2),this.externalFileAttributes=T.readInt(4),this.localHeaderOffset=T.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");T.skip(M),this.readExtraFields(T),this.parseZIP64ExtraField(T),this.fileComment=T.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var T=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),T==0&&(this.dosPermissions=63&this.externalFileAttributes),T==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var T=h(this.extraFields[1].value);this.uncompressedSize===f.MAX_VALUE_32BITS&&(this.uncompressedSize=T.readInt(8)),this.compressedSize===f.MAX_VALUE_32BITS&&(this.compressedSize=T.readInt(8)),this.localHeaderOffset===f.MAX_VALUE_32BITS&&(this.localHeaderOffset=T.readInt(8)),this.diskNumberStart===f.MAX_VALUE_32BITS&&(this.diskNumberStart=T.readInt(4))}},readExtraFields:function(T){var M,I,A,D=T.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});T.index+4<D;)M=T.readInt(2),I=T.readInt(2),A=T.readData(I),this.extraFields[M]={id:M,length:I,value:A};T.setIndex(D)},handleUTF8:function(){var T=x.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=y.utf8decode(this.fileName),this.fileCommentStr=y.utf8decode(this.fileComment);else{var M=this.findExtraFieldUnicodePath();if(M!==null)this.fileNameStr=M;else{var I=f.transformTo(T,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(I)}var A=this.findExtraFieldUnicodeComment();if(A!==null)this.fileCommentStr=A;else{var D=f.transformTo(T,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(D)}}},findExtraFieldUnicodePath:function(){var T=this.extraFields[28789];if(T){var M=h(T.value);return M.readInt(1)!==1||b(this.fileName)!==M.readInt(4)?null:y.utf8decode(M.readData(T.length-5))}return null},findExtraFieldUnicodeComment:function(){var T=this.extraFields[25461];if(T){var M=h(T.value);return M.readInt(1)!==1||b(this.fileComment)!==M.readInt(4)?null:y.utf8decode(M.readData(T.length-5))}return null}},p.exports=S},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(u,p,m){function h(M,I,A){this.name=M,this.dir=A.dir,this.date=A.date,this.comment=A.comment,this.unixPermissions=A.unixPermissions,this.dosPermissions=A.dosPermissions,this._data=I,this._dataBinary=A.binary,this.options={compression:A.compression,compressionOptions:A.compressionOptions}}var f=u("./stream/StreamHelper"),g=u("./stream/DataWorker"),b=u("./utf8"),y=u("./compressedObject"),w=u("./stream/GenericWorker");h.prototype={internalStream:function(M){var I=null,A="string";try{if(!M)throw new Error("No output type specified.");var D=(A=M.toLowerCase())==="string"||A==="text";A!=="binarystring"&&A!=="text"||(A="string"),I=this._decompressWorker();var E=!this._dataBinary;E&&!D&&(I=I.pipe(new b.Utf8EncodeWorker)),!E&&D&&(I=I.pipe(new b.Utf8DecodeWorker))}catch(N){(I=new w("error")).error(N)}return new f(I,A,"")},async:function(M,I){return this.internalStream(M).accumulate(I)},nodeStream:function(M,I){return this.internalStream(M||"nodebuffer").toNodejsStream(I)},_compressWorker:function(M,I){if(this._data instanceof y&&this._data.compression.magic===M.magic)return this._data.getCompressedWorker();var A=this._decompressWorker();return this._dataBinary||(A=A.pipe(new b.Utf8EncodeWorker)),y.createWorkerFrom(A,M,I)},_decompressWorker:function(){return this._data instanceof y?this._data.getContentWorker():this._data instanceof w?this._data:new g(this._data)}};for(var x=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],S=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},T=0;T<x.length;T++)h.prototype[x[T]]=S;p.exports=h},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(u,p,m){(function(h){var f,g,b=h.MutationObserver||h.WebKitMutationObserver;if(b){var y=0,w=new b(M),x=h.document.createTextNode("");w.observe(x,{characterData:!0}),f=function(){x.data=y=++y%2}}else if(h.setImmediate||h.MessageChannel===void 0)f="document"in h&&"onreadystatechange"in h.document.createElement("script")?function(){var I=h.document.createElement("script");I.onreadystatechange=function(){M(),I.onreadystatechange=null,I.parentNode.removeChild(I),I=null},h.document.documentElement.appendChild(I)}:function(){setTimeout(M,0)};else{var S=new h.MessageChannel;S.port1.onmessage=M,f=function(){S.port2.postMessage(0)}}var T=[];function M(){var I,A;g=!0;for(var D=T.length;D;){for(A=T,T=[],I=-1;++I<D;)A[I]();D=T.length}g=!1}p.exports=function(I){T.push(I)!==1||g||f()}}).call(this,r!==void 0?r:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(u,p,m){var h=u("immediate");function f(){}var g={},b=["REJECTED"],y=["FULFILLED"],w=["PENDING"];function x(D){if(typeof D!="function")throw new TypeError("resolver must be a function");this.state=w,this.queue=[],this.outcome=void 0,D!==f&&I(this,D)}function S(D,E,N){this.promise=D,typeof E=="function"&&(this.onFulfilled=E,this.callFulfilled=this.otherCallFulfilled),typeof N=="function"&&(this.onRejected=N,this.callRejected=this.otherCallRejected)}function T(D,E,N){h((function(){var R;try{R=E(N)}catch(v){return g.reject(D,v)}R===D?g.reject(D,new TypeError("Cannot resolve promise with itself")):g.resolve(D,R)}))}function M(D){var E=D&&D.then;if(D&&(typeof D=="object"||typeof D=="function")&&typeof E=="function")return function(){E.apply(D,arguments)}}function I(D,E){var N=!1;function R(P){N||(N=!0,g.reject(D,P))}function v(P){N||(N=!0,g.resolve(D,P))}var k=A((function(){E(v,R)}));k.status==="error"&&R(k.value)}function A(D,E){var N={};try{N.value=D(E),N.status="success"}catch(R){N.status="error",N.value=R}return N}(p.exports=x).prototype.finally=function(D){if(typeof D!="function")return this;var E=this.constructor;return this.then((function(N){return E.resolve(D()).then((function(){return N}))}),(function(N){return E.resolve(D()).then((function(){throw N}))}))},x.prototype.catch=function(D){return this.then(null,D)},x.prototype.then=function(D,E){if(typeof D!="function"&&this.state===y||typeof E!="function"&&this.state===b)return this;var N=new this.constructor(f);return this.state!==w?T(N,this.state===y?D:E,this.outcome):this.queue.push(new S(N,D,E)),N},S.prototype.callFulfilled=function(D){g.resolve(this.promise,D)},S.prototype.otherCallFulfilled=function(D){T(this.promise,this.onFulfilled,D)},S.prototype.callRejected=function(D){g.reject(this.promise,D)},S.prototype.otherCallRejected=function(D){T(this.promise,this.onRejected,D)},g.resolve=function(D,E){var N=A(M,E);if(N.status==="error")return g.reject(D,N.value);var R=N.value;if(R)I(D,R);else{D.state=y,D.outcome=E;for(var v=-1,k=D.queue.length;++v<k;)D.queue[v].callFulfilled(E)}return D},g.reject=function(D,E){D.state=b,D.outcome=E;for(var N=-1,R=D.queue.length;++N<R;)D.queue[N].callRejected(E);return D},x.resolve=function(D){return D instanceof this?D:g.resolve(new this(f),D)},x.reject=function(D){var E=new this(f);return g.reject(E,D)},x.all=function(D){var E=this;if(Object.prototype.toString.call(D)!=="[object Array]")return this.reject(new TypeError("must be an array"));var N=D.length,R=!1;if(!N)return this.resolve([]);for(var v=new Array(N),k=0,P=-1,O=new this(f);++P<N;)_(D[P],P);return O;function _(j,B){E.resolve(j).then((function(V){v[B]=V,++k!==N||R||(R=!0,g.resolve(O,v))}),(function(V){R||(R=!0,g.reject(O,V))}))}},x.race=function(D){if(Object.prototype.toString.call(D)!=="[object Array]")return this.reject(new TypeError("must be an array"));var E=D.length,N=!1;if(!E)return this.resolve([]);for(var R,v=-1,k=new this(f);++v<E;)R=D[v],this.resolve(R).then((function(P){N||(N=!0,g.resolve(k,P))}),(function(P){N||(N=!0,g.reject(k,P))}));return k}},{immediate:36}],38:[function(u,p,m){var h={};(0,u("./lib/utils/common").assign)(h,u("./lib/deflate"),u("./lib/inflate"),u("./lib/zlib/constants")),p.exports=h},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(u,p,m){var h=u("./zlib/deflate"),f=u("./utils/common"),g=u("./utils/strings"),b=u("./zlib/messages"),y=u("./zlib/zstream"),w=Object.prototype.toString;function x(T){if(!(this instanceof x))return new x(T);this.options=f.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},T||{});var M=this.options;M.raw&&0<M.windowBits?M.windowBits=-M.windowBits:M.gzip&&0<M.windowBits&&M.windowBits<16&&(M.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new y,this.strm.avail_out=0;var I=h.deflateInit2(this.strm,M.level,M.method,M.windowBits,M.memLevel,M.strategy);if(I!==0)throw new Error(b[I]);if(M.header&&h.deflateSetHeader(this.strm,M.header),M.dictionary){var A;if(A=typeof M.dictionary=="string"?g.string2buf(M.dictionary):w.call(M.dictionary)==="[object ArrayBuffer]"?new Uint8Array(M.dictionary):M.dictionary,(I=h.deflateSetDictionary(this.strm,A))!==0)throw new Error(b[I]);this._dict_set=!0}}function S(T,M){var I=new x(M);if(I.push(T,!0),I.err)throw I.msg||b[I.err];return I.result}x.prototype.push=function(T,M){var I,A,D=this.strm,E=this.options.chunkSize;if(this.ended)return!1;A=M===~~M?M:M===!0?4:0,typeof T=="string"?D.input=g.string2buf(T):w.call(T)==="[object ArrayBuffer]"?D.input=new Uint8Array(T):D.input=T,D.next_in=0,D.avail_in=D.input.length;do{if(D.avail_out===0&&(D.output=new f.Buf8(E),D.next_out=0,D.avail_out=E),(I=h.deflate(D,A))!==1&&I!==0)return this.onEnd(I),!(this.ended=!0);D.avail_out!==0&&(D.avail_in!==0||A!==4&&A!==2)||(this.options.to==="string"?this.onData(g.buf2binstring(f.shrinkBuf(D.output,D.next_out))):this.onData(f.shrinkBuf(D.output,D.next_out)))}while((0<D.avail_in||D.avail_out===0)&&I!==1);return A===4?(I=h.deflateEnd(this.strm),this.onEnd(I),this.ended=!0,I===0):A!==2||(this.onEnd(0),!(D.avail_out=0))},x.prototype.onData=function(T){this.chunks.push(T)},x.prototype.onEnd=function(T){T===0&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=f.flattenChunks(this.chunks)),this.chunks=[],this.err=T,this.msg=this.strm.msg},m.Deflate=x,m.deflate=S,m.deflateRaw=function(T,M){return(M=M||{}).raw=!0,S(T,M)},m.gzip=function(T,M){return(M=M||{}).gzip=!0,S(T,M)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(u,p,m){var h=u("./zlib/inflate"),f=u("./utils/common"),g=u("./utils/strings"),b=u("./zlib/constants"),y=u("./zlib/messages"),w=u("./zlib/zstream"),x=u("./zlib/gzheader"),S=Object.prototype.toString;function T(I){if(!(this instanceof T))return new T(I);this.options=f.assign({chunkSize:16384,windowBits:0,to:""},I||{});var A=this.options;A.raw&&0<=A.windowBits&&A.windowBits<16&&(A.windowBits=-A.windowBits,A.windowBits===0&&(A.windowBits=-15)),!(0<=A.windowBits&&A.windowBits<16)||I&&I.windowBits||(A.windowBits+=32),15<A.windowBits&&A.windowBits<48&&(15&A.windowBits)==0&&(A.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new w,this.strm.avail_out=0;var D=h.inflateInit2(this.strm,A.windowBits);if(D!==b.Z_OK)throw new Error(y[D]);this.header=new x,h.inflateGetHeader(this.strm,this.header)}function M(I,A){var D=new T(A);if(D.push(I,!0),D.err)throw D.msg||y[D.err];return D.result}T.prototype.push=function(I,A){var D,E,N,R,v,k,P=this.strm,O=this.options.chunkSize,_=this.options.dictionary,j=!1;if(this.ended)return!1;E=A===~~A?A:A===!0?b.Z_FINISH:b.Z_NO_FLUSH,typeof I=="string"?P.input=g.binstring2buf(I):S.call(I)==="[object ArrayBuffer]"?P.input=new Uint8Array(I):P.input=I,P.next_in=0,P.avail_in=P.input.length;do{if(P.avail_out===0&&(P.output=new f.Buf8(O),P.next_out=0,P.avail_out=O),(D=h.inflate(P,b.Z_NO_FLUSH))===b.Z_NEED_DICT&&_&&(k=typeof _=="string"?g.string2buf(_):S.call(_)==="[object ArrayBuffer]"?new Uint8Array(_):_,D=h.inflateSetDictionary(this.strm,k)),D===b.Z_BUF_ERROR&&j===!0&&(D=b.Z_OK,j=!1),D!==b.Z_STREAM_END&&D!==b.Z_OK)return this.onEnd(D),!(this.ended=!0);P.next_out&&(P.avail_out!==0&&D!==b.Z_STREAM_END&&(P.avail_in!==0||E!==b.Z_FINISH&&E!==b.Z_SYNC_FLUSH)||(this.options.to==="string"?(N=g.utf8border(P.output,P.next_out),R=P.next_out-N,v=g.buf2string(P.output,N),P.next_out=R,P.avail_out=O-R,R&&f.arraySet(P.output,P.output,N,R,0),this.onData(v)):this.onData(f.shrinkBuf(P.output,P.next_out)))),P.avail_in===0&&P.avail_out===0&&(j=!0)}while((0<P.avail_in||P.avail_out===0)&&D!==b.Z_STREAM_END);return D===b.Z_STREAM_END&&(E=b.Z_FINISH),E===b.Z_FINISH?(D=h.inflateEnd(this.strm),this.onEnd(D),this.ended=!0,D===b.Z_OK):E!==b.Z_SYNC_FLUSH||(this.onEnd(b.Z_OK),!(P.avail_out=0))},T.prototype.onData=function(I){this.chunks.push(I)},T.prototype.onEnd=function(I){I===b.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=f.flattenChunks(this.chunks)),this.chunks=[],this.err=I,this.msg=this.strm.msg},m.Inflate=T,m.inflate=M,m.inflateRaw=function(I,A){return(A=A||{}).raw=!0,M(I,A)},m.ungzip=M},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(u,p,m){var h=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";m.assign=function(b){for(var y=Array.prototype.slice.call(arguments,1);y.length;){var w=y.shift();if(w){if(typeof w!="object")throw new TypeError(w+"must be non-object");for(var x in w)w.hasOwnProperty(x)&&(b[x]=w[x])}}return b},m.shrinkBuf=function(b,y){return b.length===y?b:b.subarray?b.subarray(0,y):(b.length=y,b)};var f={arraySet:function(b,y,w,x,S){if(y.subarray&&b.subarray)b.set(y.subarray(w,w+x),S);else for(var T=0;T<x;T++)b[S+T]=y[w+T]},flattenChunks:function(b){var y,w,x,S,T,M;for(y=x=0,w=b.length;y<w;y++)x+=b[y].length;for(M=new Uint8Array(x),y=S=0,w=b.length;y<w;y++)T=b[y],M.set(T,S),S+=T.length;return M}},g={arraySet:function(b,y,w,x,S){for(var T=0;T<x;T++)b[S+T]=y[w+T]},flattenChunks:function(b){return[].concat.apply([],b)}};m.setTyped=function(b){b?(m.Buf8=Uint8Array,m.Buf16=Uint16Array,m.Buf32=Int32Array,m.assign(m,f)):(m.Buf8=Array,m.Buf16=Array,m.Buf32=Array,m.assign(m,g))},m.setTyped(h)},{}],42:[function(u,p,m){var h=u("./common"),f=!0,g=!0;try{String.fromCharCode.apply(null,[0])}catch{f=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{g=!1}for(var b=new h.Buf8(256),y=0;y<256;y++)b[y]=252<=y?6:248<=y?5:240<=y?4:224<=y?3:192<=y?2:1;function w(x,S){if(S<65537&&(x.subarray&&g||!x.subarray&&f))return String.fromCharCode.apply(null,h.shrinkBuf(x,S));for(var T="",M=0;M<S;M++)T+=String.fromCharCode(x[M]);return T}b[254]=b[254]=1,m.string2buf=function(x){var S,T,M,I,A,D=x.length,E=0;for(I=0;I<D;I++)(64512&(T=x.charCodeAt(I)))==55296&&I+1<D&&(64512&(M=x.charCodeAt(I+1)))==56320&&(T=65536+(T-55296<<10)+(M-56320),I++),E+=T<128?1:T<2048?2:T<65536?3:4;for(S=new h.Buf8(E),I=A=0;A<E;I++)(64512&(T=x.charCodeAt(I)))==55296&&I+1<D&&(64512&(M=x.charCodeAt(I+1)))==56320&&(T=65536+(T-55296<<10)+(M-56320),I++),T<128?S[A++]=T:(T<2048?S[A++]=192|T>>>6:(T<65536?S[A++]=224|T>>>12:(S[A++]=240|T>>>18,S[A++]=128|T>>>12&63),S[A++]=128|T>>>6&63),S[A++]=128|63&T);return S},m.buf2binstring=function(x){return w(x,x.length)},m.binstring2buf=function(x){for(var S=new h.Buf8(x.length),T=0,M=S.length;T<M;T++)S[T]=x.charCodeAt(T);return S},m.buf2string=function(x,S){var T,M,I,A,D=S||x.length,E=new Array(2*D);for(T=M=0;T<D;)if((I=x[T++])<128)E[M++]=I;else if(4<(A=b[I]))E[M++]=65533,T+=A-1;else{for(I&=A===2?31:A===3?15:7;1<A&&T<D;)I=I<<6|63&x[T++],A--;1<A?E[M++]=65533:I<65536?E[M++]=I:(I-=65536,E[M++]=55296|I>>10&1023,E[M++]=56320|1023&I)}return w(E,M)},m.utf8border=function(x,S){var T;for((S=S||x.length)>x.length&&(S=x.length),T=S-1;0<=T&&(192&x[T])==128;)T--;return T<0||T===0?S:T+b[x[T]]>S?T:S}},{"./common":41}],43:[function(u,p,m){p.exports=function(h,f,g,b){for(var y=65535&h|0,w=h>>>16&65535|0,x=0;g!==0;){for(g-=x=2e3<g?2e3:g;w=w+(y=y+f[b++]|0)|0,--x;);y%=65521,w%=65521}return y|w<<16|0}},{}],44:[function(u,p,m){p.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(u,p,m){var h=(function(){for(var f,g=[],b=0;b<256;b++){f=b;for(var y=0;y<8;y++)f=1&f?3988292384^f>>>1:f>>>1;g[b]=f}return g})();p.exports=function(f,g,b,y){var w=h,x=y+b;f^=-1;for(var S=y;S<x;S++)f=f>>>8^w[255&(f^g[S])];return-1^f}},{}],46:[function(u,p,m){var h,f=u("../utils/common"),g=u("./trees"),b=u("./adler32"),y=u("./crc32"),w=u("./messages"),x=-2,S=258,T=262,M=113;function I(H,q){return H.msg=w[q],q}function A(H){return(H<<1)-(4<H?9:0)}function D(H){for(var q=H.length;0<=--q;)H[q]=0}function E(H){var q=H.state,U=q.pending;U>H.avail_out&&(U=H.avail_out),U!==0&&(f.arraySet(H.output,q.pending_buf,q.pending_out,U,H.next_out),H.next_out+=U,q.pending_out+=U,H.total_out+=U,H.avail_out-=U,q.pending-=U,q.pending===0&&(q.pending_out=0))}function N(H,q){g._tr_flush_block(H,0<=H.block_start?H.block_start:-1,H.strstart-H.block_start,q),H.block_start=H.strstart,E(H.strm)}function R(H,q){H.pending_buf[H.pending++]=q}function v(H,q){H.pending_buf[H.pending++]=q>>>8&255,H.pending_buf[H.pending++]=255&q}function k(H,q){var U,F,K=H.max_chain_length,te=H.strstart,ae=H.prev_length,pe=H.nice_match,Z=H.strstart>H.w_size-T?H.strstart-(H.w_size-T):0,ee=H.window,ce=H.w_mask,ne=H.prev,oe=H.strstart+S,re=ee[te+ae-1],Y=ee[te+ae];H.prev_length>=H.good_match&&(K>>=2),pe>H.lookahead&&(pe=H.lookahead);do if(ee[(U=q)+ae]===Y&&ee[U+ae-1]===re&&ee[U]===ee[te]&&ee[++U]===ee[te+1]){te+=2,U++;do;while(ee[++te]===ee[++U]&&ee[++te]===ee[++U]&&ee[++te]===ee[++U]&&ee[++te]===ee[++U]&&ee[++te]===ee[++U]&&ee[++te]===ee[++U]&&ee[++te]===ee[++U]&&ee[++te]===ee[++U]&&te<oe);if(F=S-(oe-te),te=oe-S,ae<F){if(H.match_start=q,pe<=(ae=F))break;re=ee[te+ae-1],Y=ee[te+ae]}}while((q=ne[q&ce])>Z&&--K!=0);return ae<=H.lookahead?ae:H.lookahead}function P(H){var q,U,F,K,te,ae,pe,Z,ee,ce,ne=H.w_size;do{if(K=H.window_size-H.lookahead-H.strstart,H.strstart>=ne+(ne-T)){for(f.arraySet(H.window,H.window,ne,ne,0),H.match_start-=ne,H.strstart-=ne,H.block_start-=ne,q=U=H.hash_size;F=H.head[--q],H.head[q]=ne<=F?F-ne:0,--U;);for(q=U=ne;F=H.prev[--q],H.prev[q]=ne<=F?F-ne:0,--U;);K+=ne}if(H.strm.avail_in===0)break;if(ae=H.strm,pe=H.window,Z=H.strstart+H.lookahead,ce=void 0,(ee=K)<(ce=ae.avail_in)&&(ce=ee),U=ce===0?0:(ae.avail_in-=ce,f.arraySet(pe,ae.input,ae.next_in,ce,Z),ae.state.wrap===1?ae.adler=b(ae.adler,pe,ce,Z):ae.state.wrap===2&&(ae.adler=y(ae.adler,pe,ce,Z)),ae.next_in+=ce,ae.total_in+=ce,ce),H.lookahead+=U,H.lookahead+H.insert>=3)for(te=H.strstart-H.insert,H.ins_h=H.window[te],H.ins_h=(H.ins_h<<H.hash_shift^H.window[te+1])&H.hash_mask;H.insert&&(H.ins_h=(H.ins_h<<H.hash_shift^H.window[te+3-1])&H.hash_mask,H.prev[te&H.w_mask]=H.head[H.ins_h],H.head[H.ins_h]=te,te++,H.insert--,!(H.lookahead+H.insert<3)););}while(H.lookahead<T&&H.strm.avail_in!==0)}function O(H,q){for(var U,F;;){if(H.lookahead<T){if(P(H),H.lookahead<T&&q===0)return 1;if(H.lookahead===0)break}if(U=0,H.lookahead>=3&&(H.ins_h=(H.ins_h<<H.hash_shift^H.window[H.strstart+3-1])&H.hash_mask,U=H.prev[H.strstart&H.w_mask]=H.head[H.ins_h],H.head[H.ins_h]=H.strstart),U!==0&&H.strstart-U<=H.w_size-T&&(H.match_length=k(H,U)),H.match_length>=3)if(F=g._tr_tally(H,H.strstart-H.match_start,H.match_length-3),H.lookahead-=H.match_length,H.match_length<=H.max_lazy_match&&H.lookahead>=3){for(H.match_length--;H.strstart++,H.ins_h=(H.ins_h<<H.hash_shift^H.window[H.strstart+3-1])&H.hash_mask,U=H.prev[H.strstart&H.w_mask]=H.head[H.ins_h],H.head[H.ins_h]=H.strstart,--H.match_length!=0;);H.strstart++}else H.strstart+=H.match_length,H.match_length=0,H.ins_h=H.window[H.strstart],H.ins_h=(H.ins_h<<H.hash_shift^H.window[H.strstart+1])&H.hash_mask;else F=g._tr_tally(H,0,H.window[H.strstart]),H.lookahead--,H.strstart++;if(F&&(N(H,!1),H.strm.avail_out===0))return 1}return H.insert=H.strstart<2?H.strstart:2,q===4?(N(H,!0),H.strm.avail_out===0?3:4):H.last_lit&&(N(H,!1),H.strm.avail_out===0)?1:2}function _(H,q){for(var U,F,K;;){if(H.lookahead<T){if(P(H),H.lookahead<T&&q===0)return 1;if(H.lookahead===0)break}if(U=0,H.lookahead>=3&&(H.ins_h=(H.ins_h<<H.hash_shift^H.window[H.strstart+3-1])&H.hash_mask,U=H.prev[H.strstart&H.w_mask]=H.head[H.ins_h],H.head[H.ins_h]=H.strstart),H.prev_length=H.match_length,H.prev_match=H.match_start,H.match_length=2,U!==0&&H.prev_length<H.max_lazy_match&&H.strstart-U<=H.w_size-T&&(H.match_length=k(H,U),H.match_length<=5&&(H.strategy===1||H.match_length===3&&4096<H.strstart-H.match_start)&&(H.match_length=2)),H.prev_length>=3&&H.match_length<=H.prev_length){for(K=H.strstart+H.lookahead-3,F=g._tr_tally(H,H.strstart-1-H.prev_match,H.prev_length-3),H.lookahead-=H.prev_length-1,H.prev_length-=2;++H.strstart<=K&&(H.ins_h=(H.ins_h<<H.hash_shift^H.window[H.strstart+3-1])&H.hash_mask,U=H.prev[H.strstart&H.w_mask]=H.head[H.ins_h],H.head[H.ins_h]=H.strstart),--H.prev_length!=0;);if(H.match_available=0,H.match_length=2,H.strstart++,F&&(N(H,!1),H.strm.avail_out===0))return 1}else if(H.match_available){if((F=g._tr_tally(H,0,H.window[H.strstart-1]))&&N(H,!1),H.strstart++,H.lookahead--,H.strm.avail_out===0)return 1}else H.match_available=1,H.strstart++,H.lookahead--}return H.match_available&&(F=g._tr_tally(H,0,H.window[H.strstart-1]),H.match_available=0),H.insert=H.strstart<2?H.strstart:2,q===4?(N(H,!0),H.strm.avail_out===0?3:4):H.last_lit&&(N(H,!1),H.strm.avail_out===0)?1:2}function j(H,q,U,F,K){this.good_length=H,this.max_lazy=q,this.nice_length=U,this.max_chain=F,this.func=K}function B(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new f.Buf16(1146),this.dyn_dtree=new f.Buf16(122),this.bl_tree=new f.Buf16(78),D(this.dyn_ltree),D(this.dyn_dtree),D(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new f.Buf16(16),this.heap=new f.Buf16(573),D(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new f.Buf16(573),D(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function V(H){var q;return H&&H.state?(H.total_in=H.total_out=0,H.data_type=2,(q=H.state).pending=0,q.pending_out=0,q.wrap<0&&(q.wrap=-q.wrap),q.status=q.wrap?42:M,H.adler=q.wrap===2?0:1,q.last_flush=0,g._tr_init(q),0):I(H,x)}function G(H){var q=V(H);return q===0&&(function(U){U.window_size=2*U.w_size,D(U.head),U.max_lazy_match=h[U.level].max_lazy,U.good_match=h[U.level].good_length,U.nice_match=h[U.level].nice_length,U.max_chain_length=h[U.level].max_chain,U.strstart=0,U.block_start=0,U.lookahead=0,U.insert=0,U.match_length=U.prev_length=2,U.match_available=0,U.ins_h=0})(H.state),q}function Q(H,q,U,F,K,te){if(!H)return x;var ae=1;if(q===-1&&(q=6),F<0?(ae=0,F=-F):15<F&&(ae=2,F-=16),K<1||9<K||U!==8||F<8||15<F||q<0||9<q||te<0||4<te)return I(H,x);F===8&&(F=9);var pe=new B;return(H.state=pe).strm=H,pe.wrap=ae,pe.gzhead=null,pe.w_bits=F,pe.w_size=1<<pe.w_bits,pe.w_mask=pe.w_size-1,pe.hash_bits=K+7,pe.hash_size=1<<pe.hash_bits,pe.hash_mask=pe.hash_size-1,pe.hash_shift=~~((pe.hash_bits+3-1)/3),pe.window=new f.Buf8(2*pe.w_size),pe.head=new f.Buf16(pe.hash_size),pe.prev=new f.Buf16(pe.w_size),pe.lit_bufsize=1<<K+6,pe.pending_buf_size=4*pe.lit_bufsize,pe.pending_buf=new f.Buf8(pe.pending_buf_size),pe.d_buf=1*pe.lit_bufsize,pe.l_buf=3*pe.lit_bufsize,pe.level=q,pe.strategy=te,pe.method=U,G(H)}h=[new j(0,0,0,0,(function(H,q){var U=65535;for(U>H.pending_buf_size-5&&(U=H.pending_buf_size-5);;){if(H.lookahead<=1){if(P(H),H.lookahead===0&&q===0)return 1;if(H.lookahead===0)break}H.strstart+=H.lookahead,H.lookahead=0;var F=H.block_start+U;if((H.strstart===0||H.strstart>=F)&&(H.lookahead=H.strstart-F,H.strstart=F,N(H,!1),H.strm.avail_out===0)||H.strstart-H.block_start>=H.w_size-T&&(N(H,!1),H.strm.avail_out===0))return 1}return H.insert=0,q===4?(N(H,!0),H.strm.avail_out===0?3:4):(H.strstart>H.block_start&&(N(H,!1),H.strm.avail_out),1)})),new j(4,4,8,4,O),new j(4,5,16,8,O),new j(4,6,32,32,O),new j(4,4,16,16,_),new j(8,16,32,32,_),new j(8,16,128,128,_),new j(8,32,128,256,_),new j(32,128,258,1024,_),new j(32,258,258,4096,_)],m.deflateInit=function(H,q){return Q(H,q,8,15,8,0)},m.deflateInit2=Q,m.deflateReset=G,m.deflateResetKeep=V,m.deflateSetHeader=function(H,q){return H&&H.state?H.state.wrap!==2?x:(H.state.gzhead=q,0):x},m.deflate=function(H,q){var U,F,K,te;if(!H||!H.state||5<q||q<0)return H?I(H,x):x;if(F=H.state,!H.output||!H.input&&H.avail_in!==0||F.status===666&&q!==4)return I(H,H.avail_out===0?-5:x);if(F.strm=H,U=F.last_flush,F.last_flush=q,F.status===42)if(F.wrap===2)H.adler=0,R(F,31),R(F,139),R(F,8),F.gzhead?(R(F,(F.gzhead.text?1:0)+(F.gzhead.hcrc?2:0)+(F.gzhead.extra?4:0)+(F.gzhead.name?8:0)+(F.gzhead.comment?16:0)),R(F,255&F.gzhead.time),R(F,F.gzhead.time>>8&255),R(F,F.gzhead.time>>16&255),R(F,F.gzhead.time>>24&255),R(F,F.level===9?2:2<=F.strategy||F.level<2?4:0),R(F,255&F.gzhead.os),F.gzhead.extra&&F.gzhead.extra.length&&(R(F,255&F.gzhead.extra.length),R(F,F.gzhead.extra.length>>8&255)),F.gzhead.hcrc&&(H.adler=y(H.adler,F.pending_buf,F.pending,0)),F.gzindex=0,F.status=69):(R(F,0),R(F,0),R(F,0),R(F,0),R(F,0),R(F,F.level===9?2:2<=F.strategy||F.level<2?4:0),R(F,3),F.status=M);else{var ae=8+(F.w_bits-8<<4)<<8;ae|=(2<=F.strategy||F.level<2?0:F.level<6?1:F.level===6?2:3)<<6,F.strstart!==0&&(ae|=32),ae+=31-ae%31,F.status=M,v(F,ae),F.strstart!==0&&(v(F,H.adler>>>16),v(F,65535&H.adler)),H.adler=1}if(F.status===69)if(F.gzhead.extra){for(K=F.pending;F.gzindex<(65535&F.gzhead.extra.length)&&(F.pending!==F.pending_buf_size||(F.gzhead.hcrc&&F.pending>K&&(H.adler=y(H.adler,F.pending_buf,F.pending-K,K)),E(H),K=F.pending,F.pending!==F.pending_buf_size));)R(F,255&F.gzhead.extra[F.gzindex]),F.gzindex++;F.gzhead.hcrc&&F.pending>K&&(H.adler=y(H.adler,F.pending_buf,F.pending-K,K)),F.gzindex===F.gzhead.extra.length&&(F.gzindex=0,F.status=73)}else F.status=73;if(F.status===73)if(F.gzhead.name){K=F.pending;do{if(F.pending===F.pending_buf_size&&(F.gzhead.hcrc&&F.pending>K&&(H.adler=y(H.adler,F.pending_buf,F.pending-K,K)),E(H),K=F.pending,F.pending===F.pending_buf_size)){te=1;break}te=F.gzindex<F.gzhead.name.length?255&F.gzhead.name.charCodeAt(F.gzindex++):0,R(F,te)}while(te!==0);F.gzhead.hcrc&&F.pending>K&&(H.adler=y(H.adler,F.pending_buf,F.pending-K,K)),te===0&&(F.gzindex=0,F.status=91)}else F.status=91;if(F.status===91)if(F.gzhead.comment){K=F.pending;do{if(F.pending===F.pending_buf_size&&(F.gzhead.hcrc&&F.pending>K&&(H.adler=y(H.adler,F.pending_buf,F.pending-K,K)),E(H),K=F.pending,F.pending===F.pending_buf_size)){te=1;break}te=F.gzindex<F.gzhead.comment.length?255&F.gzhead.comment.charCodeAt(F.gzindex++):0,R(F,te)}while(te!==0);F.gzhead.hcrc&&F.pending>K&&(H.adler=y(H.adler,F.pending_buf,F.pending-K,K)),te===0&&(F.status=103)}else F.status=103;if(F.status===103&&(F.gzhead.hcrc?(F.pending+2>F.pending_buf_size&&E(H),F.pending+2<=F.pending_buf_size&&(R(F,255&H.adler),R(F,H.adler>>8&255),H.adler=0,F.status=M)):F.status=M),F.pending!==0){if(E(H),H.avail_out===0)return F.last_flush=-1,0}else if(H.avail_in===0&&A(q)<=A(U)&&q!==4)return I(H,-5);if(F.status===666&&H.avail_in!==0)return I(H,-5);if(H.avail_in!==0||F.lookahead!==0||q!==0&&F.status!==666){var pe=F.strategy===2?(function(Z,ee){for(var ce;;){if(Z.lookahead===0&&(P(Z),Z.lookahead===0)){if(ee===0)return 1;break}if(Z.match_length=0,ce=g._tr_tally(Z,0,Z.window[Z.strstart]),Z.lookahead--,Z.strstart++,ce&&(N(Z,!1),Z.strm.avail_out===0))return 1}return Z.insert=0,ee===4?(N(Z,!0),Z.strm.avail_out===0?3:4):Z.last_lit&&(N(Z,!1),Z.strm.avail_out===0)?1:2})(F,q):F.strategy===3?(function(Z,ee){for(var ce,ne,oe,re,Y=Z.window;;){if(Z.lookahead<=S){if(P(Z),Z.lookahead<=S&&ee===0)return 1;if(Z.lookahead===0)break}if(Z.match_length=0,Z.lookahead>=3&&0<Z.strstart&&(ne=Y[oe=Z.strstart-1])===Y[++oe]&&ne===Y[++oe]&&ne===Y[++oe]){re=Z.strstart+S;do;while(ne===Y[++oe]&&ne===Y[++oe]&&ne===Y[++oe]&&ne===Y[++oe]&&ne===Y[++oe]&&ne===Y[++oe]&&ne===Y[++oe]&&ne===Y[++oe]&&oe<re);Z.match_length=S-(re-oe),Z.match_length>Z.lookahead&&(Z.match_length=Z.lookahead)}if(Z.match_length>=3?(ce=g._tr_tally(Z,1,Z.match_length-3),Z.lookahead-=Z.match_length,Z.strstart+=Z.match_length,Z.match_length=0):(ce=g._tr_tally(Z,0,Z.window[Z.strstart]),Z.lookahead--,Z.strstart++),ce&&(N(Z,!1),Z.strm.avail_out===0))return 1}return Z.insert=0,ee===4?(N(Z,!0),Z.strm.avail_out===0?3:4):Z.last_lit&&(N(Z,!1),Z.strm.avail_out===0)?1:2})(F,q):h[F.level].func(F,q);if(pe!==3&&pe!==4||(F.status=666),pe===1||pe===3)return H.avail_out===0&&(F.last_flush=-1),0;if(pe===2&&(q===1?g._tr_align(F):q!==5&&(g._tr_stored_block(F,0,0,!1),q===3&&(D(F.head),F.lookahead===0&&(F.strstart=0,F.block_start=0,F.insert=0))),E(H),H.avail_out===0))return F.last_flush=-1,0}return q!==4?0:F.wrap<=0?1:(F.wrap===2?(R(F,255&H.adler),R(F,H.adler>>8&255),R(F,H.adler>>16&255),R(F,H.adler>>24&255),R(F,255&H.total_in),R(F,H.total_in>>8&255),R(F,H.total_in>>16&255),R(F,H.total_in>>24&255)):(v(F,H.adler>>>16),v(F,65535&H.adler)),E(H),0<F.wrap&&(F.wrap=-F.wrap),F.pending!==0?0:1)},m.deflateEnd=function(H){var q;return H&&H.state?(q=H.state.status)!==42&&q!==69&&q!==73&&q!==91&&q!==103&&q!==M&&q!==666?I(H,x):(H.state=null,q===M?I(H,-3):0):x},m.deflateSetDictionary=function(H,q){var U,F,K,te,ae,pe,Z,ee,ce=q.length;if(!H||!H.state||(te=(U=H.state).wrap)===2||te===1&&U.status!==42||U.lookahead)return x;for(te===1&&(H.adler=b(H.adler,q,ce,0)),U.wrap=0,ce>=U.w_size&&(te===0&&(D(U.head),U.strstart=0,U.block_start=0,U.insert=0),ee=new f.Buf8(U.w_size),f.arraySet(ee,q,ce-U.w_size,U.w_size,0),q=ee,ce=U.w_size),ae=H.avail_in,pe=H.next_in,Z=H.input,H.avail_in=ce,H.next_in=0,H.input=q,P(U);U.lookahead>=3;){for(F=U.strstart,K=U.lookahead-2;U.ins_h=(U.ins_h<<U.hash_shift^U.window[F+3-1])&U.hash_mask,U.prev[F&U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=F,F++,--K;);U.strstart=F,U.lookahead=2,P(U)}return U.strstart+=U.lookahead,U.block_start=U.strstart,U.insert=U.lookahead,U.lookahead=0,U.match_length=U.prev_length=2,U.match_available=0,H.next_in=pe,H.input=Z,H.avail_in=ae,U.wrap=te,0},m.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(u,p,m){p.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(u,p,m){p.exports=function(h,f){var g,b,y,w,x,S,T,M,I,A,D,E,N,R,v,k,P,O,_,j,B,V,G,Q,H;g=h.state,b=h.next_in,Q=h.input,y=b+(h.avail_in-5),w=h.next_out,H=h.output,x=w-(f-h.avail_out),S=w+(h.avail_out-257),T=g.dmax,M=g.wsize,I=g.whave,A=g.wnext,D=g.window,E=g.hold,N=g.bits,R=g.lencode,v=g.distcode,k=(1<<g.lenbits)-1,P=(1<<g.distbits)-1;e:do{N<15&&(E+=Q[b++]<<N,N+=8,E+=Q[b++]<<N,N+=8),O=R[E&k];t:for(;;){if(E>>>=_=O>>>24,N-=_,(_=O>>>16&255)==0)H[w++]=65535&O;else{if(!(16&_)){if((64&_)==0){O=R[(65535&O)+(E&(1<<_)-1)];continue t}if(32&_){g.mode=12;break e}h.msg="invalid literal/length code",g.mode=30;break e}j=65535&O,(_&=15)&&(N<_&&(E+=Q[b++]<<N,N+=8),j+=E&(1<<_)-1,E>>>=_,N-=_),N<15&&(E+=Q[b++]<<N,N+=8,E+=Q[b++]<<N,N+=8),O=v[E&P];i:for(;;){if(E>>>=_=O>>>24,N-=_,!(16&(_=O>>>16&255))){if((64&_)==0){O=v[(65535&O)+(E&(1<<_)-1)];continue i}h.msg="invalid distance code",g.mode=30;break e}if(B=65535&O,N<(_&=15)&&(E+=Q[b++]<<N,(N+=8)<_&&(E+=Q[b++]<<N,N+=8)),T<(B+=E&(1<<_)-1)){h.msg="invalid distance too far back",g.mode=30;break e}if(E>>>=_,N-=_,(_=w-x)<B){if(I<(_=B-_)&&g.sane){h.msg="invalid distance too far back",g.mode=30;break e}if(G=D,(V=0)===A){if(V+=M-_,_<j){for(j-=_;H[w++]=D[V++],--_;);V=w-B,G=H}}else if(A<_){if(V+=M+A-_,(_-=A)<j){for(j-=_;H[w++]=D[V++],--_;);if(V=0,A<j){for(j-=_=A;H[w++]=D[V++],--_;);V=w-B,G=H}}}else if(V+=A-_,_<j){for(j-=_;H[w++]=D[V++],--_;);V=w-B,G=H}for(;2<j;)H[w++]=G[V++],H[w++]=G[V++],H[w++]=G[V++],j-=3;j&&(H[w++]=G[V++],1<j&&(H[w++]=G[V++]))}else{for(V=w-B;H[w++]=H[V++],H[w++]=H[V++],H[w++]=H[V++],2<(j-=3););j&&(H[w++]=H[V++],1<j&&(H[w++]=H[V++]))}break}}break}}while(b<y&&w<S);b-=j=N>>3,E&=(1<<(N-=j<<3))-1,h.next_in=b,h.next_out=w,h.avail_in=b<y?y-b+5:5-(b-y),h.avail_out=w<S?S-w+257:257-(w-S),g.hold=E,g.bits=N}},{}],49:[function(u,p,m){var h=u("../utils/common"),f=u("./adler32"),g=u("./crc32"),b=u("./inffast"),y=u("./inftrees"),w=-2;function x(k){return(k>>>24&255)+(k>>>8&65280)+((65280&k)<<8)+((255&k)<<24)}function S(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new h.Buf16(320),this.work=new h.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function T(k){var P;return k&&k.state?(P=k.state,k.total_in=k.total_out=P.total=0,k.msg="",P.wrap&&(k.adler=1&P.wrap),P.mode=1,P.last=0,P.havedict=0,P.dmax=32768,P.head=null,P.hold=0,P.bits=0,P.lencode=P.lendyn=new h.Buf32(852),P.distcode=P.distdyn=new h.Buf32(592),P.sane=1,P.back=-1,0):w}function M(k){var P;return k&&k.state?((P=k.state).wsize=0,P.whave=0,P.wnext=0,T(k)):w}function I(k,P){var O,_;return k&&k.state?(_=k.state,P<0?(O=0,P=-P):(O=1+(P>>4),P<48&&(P&=15)),P&&(P<8||15<P)?w:(_.window!==null&&_.wbits!==P&&(_.window=null),_.wrap=O,_.wbits=P,M(k))):w}function A(k,P){var O,_;return k?(_=new S,(k.state=_).window=null,(O=I(k,P))!==0&&(k.state=null),O):w}var D,E,N=!0;function R(k){if(N){var P;for(D=new h.Buf32(512),E=new h.Buf32(32),P=0;P<144;)k.lens[P++]=8;for(;P<256;)k.lens[P++]=9;for(;P<280;)k.lens[P++]=7;for(;P<288;)k.lens[P++]=8;for(y(1,k.lens,0,288,D,0,k.work,{bits:9}),P=0;P<32;)k.lens[P++]=5;y(2,k.lens,0,32,E,0,k.work,{bits:5}),N=!1}k.lencode=D,k.lenbits=9,k.distcode=E,k.distbits=5}function v(k,P,O,_){var j,B=k.state;return B.window===null&&(B.wsize=1<<B.wbits,B.wnext=0,B.whave=0,B.window=new h.Buf8(B.wsize)),_>=B.wsize?(h.arraySet(B.window,P,O-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):(_<(j=B.wsize-B.wnext)&&(j=_),h.arraySet(B.window,P,O-_,j,B.wnext),(_-=j)?(h.arraySet(B.window,P,O-_,_,0),B.wnext=_,B.whave=B.wsize):(B.wnext+=j,B.wnext===B.wsize&&(B.wnext=0),B.whave<B.wsize&&(B.whave+=j))),0}m.inflateReset=M,m.inflateReset2=I,m.inflateResetKeep=T,m.inflateInit=function(k){return A(k,15)},m.inflateInit2=A,m.inflate=function(k,P){var O,_,j,B,V,G,Q,H,q,U,F,K,te,ae,pe,Z,ee,ce,ne,oe,re,Y,X,ie,de=0,fe=new h.Buf8(4),ye=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!k||!k.state||!k.output||!k.input&&k.avail_in!==0)return w;(O=k.state).mode===12&&(O.mode=13),V=k.next_out,j=k.output,Q=k.avail_out,B=k.next_in,_=k.input,G=k.avail_in,H=O.hold,q=O.bits,U=G,F=Q,Y=0;e:for(;;)switch(O.mode){case 1:if(O.wrap===0){O.mode=13;break}for(;q<16;){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}if(2&O.wrap&&H===35615){fe[O.check=0]=255&H,fe[1]=H>>>8&255,O.check=g(O.check,fe,2,0),q=H=0,O.mode=2;break}if(O.flags=0,O.head&&(O.head.done=!1),!(1&O.wrap)||(((255&H)<<8)+(H>>8))%31){k.msg="incorrect header check",O.mode=30;break}if((15&H)!=8){k.msg="unknown compression method",O.mode=30;break}if(q-=4,re=8+(15&(H>>>=4)),O.wbits===0)O.wbits=re;else if(re>O.wbits){k.msg="invalid window size",O.mode=30;break}O.dmax=1<<re,k.adler=O.check=1,O.mode=512&H?10:12,q=H=0;break;case 2:for(;q<16;){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}if(O.flags=H,(255&O.flags)!=8){k.msg="unknown compression method",O.mode=30;break}if(57344&O.flags){k.msg="unknown header flags set",O.mode=30;break}O.head&&(O.head.text=H>>8&1),512&O.flags&&(fe[0]=255&H,fe[1]=H>>>8&255,O.check=g(O.check,fe,2,0)),q=H=0,O.mode=3;case 3:for(;q<32;){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}O.head&&(O.head.time=H),512&O.flags&&(fe[0]=255&H,fe[1]=H>>>8&255,fe[2]=H>>>16&255,fe[3]=H>>>24&255,O.check=g(O.check,fe,4,0)),q=H=0,O.mode=4;case 4:for(;q<16;){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}O.head&&(O.head.xflags=255&H,O.head.os=H>>8),512&O.flags&&(fe[0]=255&H,fe[1]=H>>>8&255,O.check=g(O.check,fe,2,0)),q=H=0,O.mode=5;case 5:if(1024&O.flags){for(;q<16;){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}O.length=H,O.head&&(O.head.extra_len=H),512&O.flags&&(fe[0]=255&H,fe[1]=H>>>8&255,O.check=g(O.check,fe,2,0)),q=H=0}else O.head&&(O.head.extra=null);O.mode=6;case 6:if(1024&O.flags&&(G<(K=O.length)&&(K=G),K&&(O.head&&(re=O.head.extra_len-O.length,O.head.extra||(O.head.extra=new Array(O.head.extra_len)),h.arraySet(O.head.extra,_,B,K,re)),512&O.flags&&(O.check=g(O.check,_,K,B)),G-=K,B+=K,O.length-=K),O.length))break e;O.length=0,O.mode=7;case 7:if(2048&O.flags){if(G===0)break e;for(K=0;re=_[B+K++],O.head&&re&&O.length<65536&&(O.head.name+=String.fromCharCode(re)),re&&K<G;);if(512&O.flags&&(O.check=g(O.check,_,K,B)),G-=K,B+=K,re)break e}else O.head&&(O.head.name=null);O.length=0,O.mode=8;case 8:if(4096&O.flags){if(G===0)break e;for(K=0;re=_[B+K++],O.head&&re&&O.length<65536&&(O.head.comment+=String.fromCharCode(re)),re&&K<G;);if(512&O.flags&&(O.check=g(O.check,_,K,B)),G-=K,B+=K,re)break e}else O.head&&(O.head.comment=null);O.mode=9;case 9:if(512&O.flags){for(;q<16;){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}if(H!==(65535&O.check)){k.msg="header crc mismatch",O.mode=30;break}q=H=0}O.head&&(O.head.hcrc=O.flags>>9&1,O.head.done=!0),k.adler=O.check=0,O.mode=12;break;case 10:for(;q<32;){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}k.adler=O.check=x(H),q=H=0,O.mode=11;case 11:if(O.havedict===0)return k.next_out=V,k.avail_out=Q,k.next_in=B,k.avail_in=G,O.hold=H,O.bits=q,2;k.adler=O.check=1,O.mode=12;case 12:if(P===5||P===6)break e;case 13:if(O.last){H>>>=7&q,q-=7&q,O.mode=27;break}for(;q<3;){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}switch(O.last=1&H,q-=1,3&(H>>>=1)){case 0:O.mode=14;break;case 1:if(R(O),O.mode=20,P!==6)break;H>>>=2,q-=2;break e;case 2:O.mode=17;break;case 3:k.msg="invalid block type",O.mode=30}H>>>=2,q-=2;break;case 14:for(H>>>=7&q,q-=7&q;q<32;){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}if((65535&H)!=(H>>>16^65535)){k.msg="invalid stored block lengths",O.mode=30;break}if(O.length=65535&H,q=H=0,O.mode=15,P===6)break e;case 15:O.mode=16;case 16:if(K=O.length){if(G<K&&(K=G),Q<K&&(K=Q),K===0)break e;h.arraySet(j,_,B,K,V),G-=K,B+=K,Q-=K,V+=K,O.length-=K;break}O.mode=12;break;case 17:for(;q<14;){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}if(O.nlen=257+(31&H),H>>>=5,q-=5,O.ndist=1+(31&H),H>>>=5,q-=5,O.ncode=4+(15&H),H>>>=4,q-=4,286<O.nlen||30<O.ndist){k.msg="too many length or distance symbols",O.mode=30;break}O.have=0,O.mode=18;case 18:for(;O.have<O.ncode;){for(;q<3;){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}O.lens[ye[O.have++]]=7&H,H>>>=3,q-=3}for(;O.have<19;)O.lens[ye[O.have++]]=0;if(O.lencode=O.lendyn,O.lenbits=7,X={bits:O.lenbits},Y=y(0,O.lens,0,19,O.lencode,0,O.work,X),O.lenbits=X.bits,Y){k.msg="invalid code lengths set",O.mode=30;break}O.have=0,O.mode=19;case 19:for(;O.have<O.nlen+O.ndist;){for(;Z=(de=O.lencode[H&(1<<O.lenbits)-1])>>>16&255,ee=65535&de,!((pe=de>>>24)<=q);){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}if(ee<16)H>>>=pe,q-=pe,O.lens[O.have++]=ee;else{if(ee===16){for(ie=pe+2;q<ie;){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}if(H>>>=pe,q-=pe,O.have===0){k.msg="invalid bit length repeat",O.mode=30;break}re=O.lens[O.have-1],K=3+(3&H),H>>>=2,q-=2}else if(ee===17){for(ie=pe+3;q<ie;){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}q-=pe,re=0,K=3+(7&(H>>>=pe)),H>>>=3,q-=3}else{for(ie=pe+7;q<ie;){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}q-=pe,re=0,K=11+(127&(H>>>=pe)),H>>>=7,q-=7}if(O.have+K>O.nlen+O.ndist){k.msg="invalid bit length repeat",O.mode=30;break}for(;K--;)O.lens[O.have++]=re}}if(O.mode===30)break;if(O.lens[256]===0){k.msg="invalid code -- missing end-of-block",O.mode=30;break}if(O.lenbits=9,X={bits:O.lenbits},Y=y(1,O.lens,0,O.nlen,O.lencode,0,O.work,X),O.lenbits=X.bits,Y){k.msg="invalid literal/lengths set",O.mode=30;break}if(O.distbits=6,O.distcode=O.distdyn,X={bits:O.distbits},Y=y(2,O.lens,O.nlen,O.ndist,O.distcode,0,O.work,X),O.distbits=X.bits,Y){k.msg="invalid distances set",O.mode=30;break}if(O.mode=20,P===6)break e;case 20:O.mode=21;case 21:if(6<=G&&258<=Q){k.next_out=V,k.avail_out=Q,k.next_in=B,k.avail_in=G,O.hold=H,O.bits=q,b(k,F),V=k.next_out,j=k.output,Q=k.avail_out,B=k.next_in,_=k.input,G=k.avail_in,H=O.hold,q=O.bits,O.mode===12&&(O.back=-1);break}for(O.back=0;Z=(de=O.lencode[H&(1<<O.lenbits)-1])>>>16&255,ee=65535&de,!((pe=de>>>24)<=q);){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}if(Z&&(240&Z)==0){for(ce=pe,ne=Z,oe=ee;Z=(de=O.lencode[oe+((H&(1<<ce+ne)-1)>>ce)])>>>16&255,ee=65535&de,!(ce+(pe=de>>>24)<=q);){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}H>>>=ce,q-=ce,O.back+=ce}if(H>>>=pe,q-=pe,O.back+=pe,O.length=ee,Z===0){O.mode=26;break}if(32&Z){O.back=-1,O.mode=12;break}if(64&Z){k.msg="invalid literal/length code",O.mode=30;break}O.extra=15&Z,O.mode=22;case 22:if(O.extra){for(ie=O.extra;q<ie;){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}O.length+=H&(1<<O.extra)-1,H>>>=O.extra,q-=O.extra,O.back+=O.extra}O.was=O.length,O.mode=23;case 23:for(;Z=(de=O.distcode[H&(1<<O.distbits)-1])>>>16&255,ee=65535&de,!((pe=de>>>24)<=q);){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}if((240&Z)==0){for(ce=pe,ne=Z,oe=ee;Z=(de=O.distcode[oe+((H&(1<<ce+ne)-1)>>ce)])>>>16&255,ee=65535&de,!(ce+(pe=de>>>24)<=q);){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}H>>>=ce,q-=ce,O.back+=ce}if(H>>>=pe,q-=pe,O.back+=pe,64&Z){k.msg="invalid distance code",O.mode=30;break}O.offset=ee,O.extra=15&Z,O.mode=24;case 24:if(O.extra){for(ie=O.extra;q<ie;){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}O.offset+=H&(1<<O.extra)-1,H>>>=O.extra,q-=O.extra,O.back+=O.extra}if(O.offset>O.dmax){k.msg="invalid distance too far back",O.mode=30;break}O.mode=25;case 25:if(Q===0)break e;if(K=F-Q,O.offset>K){if((K=O.offset-K)>O.whave&&O.sane){k.msg="invalid distance too far back",O.mode=30;break}te=K>O.wnext?(K-=O.wnext,O.wsize-K):O.wnext-K,K>O.length&&(K=O.length),ae=O.window}else ae=j,te=V-O.offset,K=O.length;for(Q<K&&(K=Q),Q-=K,O.length-=K;j[V++]=ae[te++],--K;);O.length===0&&(O.mode=21);break;case 26:if(Q===0)break e;j[V++]=O.length,Q--,O.mode=21;break;case 27:if(O.wrap){for(;q<32;){if(G===0)break e;G--,H|=_[B++]<<q,q+=8}if(F-=Q,k.total_out+=F,O.total+=F,F&&(k.adler=O.check=O.flags?g(O.check,j,F,V-F):f(O.check,j,F,V-F)),F=Q,(O.flags?H:x(H))!==O.check){k.msg="incorrect data check",O.mode=30;break}q=H=0}O.mode=28;case 28:if(O.wrap&&O.flags){for(;q<32;){if(G===0)break e;G--,H+=_[B++]<<q,q+=8}if(H!==(4294967295&O.total)){k.msg="incorrect length check",O.mode=30;break}q=H=0}O.mode=29;case 29:Y=1;break e;case 30:Y=-3;break e;case 31:return-4;case 32:default:return w}return k.next_out=V,k.avail_out=Q,k.next_in=B,k.avail_in=G,O.hold=H,O.bits=q,(O.wsize||F!==k.avail_out&&O.mode<30&&(O.mode<27||P!==4))&&v(k,k.output,k.next_out,F-k.avail_out)?(O.mode=31,-4):(U-=k.avail_in,F-=k.avail_out,k.total_in+=U,k.total_out+=F,O.total+=F,O.wrap&&F&&(k.adler=O.check=O.flags?g(O.check,j,F,k.next_out-F):f(O.check,j,F,k.next_out-F)),k.data_type=O.bits+(O.last?64:0)+(O.mode===12?128:0)+(O.mode===20||O.mode===15?256:0),(U==0&&F===0||P===4)&&Y===0&&(Y=-5),Y)},m.inflateEnd=function(k){if(!k||!k.state)return w;var P=k.state;return P.window&&(P.window=null),k.state=null,0},m.inflateGetHeader=function(k,P){var O;return k&&k.state?(2&(O=k.state).wrap)==0?w:((O.head=P).done=!1,0):w},m.inflateSetDictionary=function(k,P){var O,_=P.length;return k&&k.state?(O=k.state).wrap!==0&&O.mode!==11?w:O.mode===11&&f(1,P,_,0)!==O.check?-3:v(k,P,_,_)?(O.mode=31,-4):(O.havedict=1,0):w},m.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(u,p,m){var h=u("../utils/common"),f=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],g=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],b=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],y=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];p.exports=function(w,x,S,T,M,I,A,D){var E,N,R,v,k,P,O,_,j,B=D.bits,V=0,G=0,Q=0,H=0,q=0,U=0,F=0,K=0,te=0,ae=0,pe=null,Z=0,ee=new h.Buf16(16),ce=new h.Buf16(16),ne=null,oe=0;for(V=0;V<=15;V++)ee[V]=0;for(G=0;G<T;G++)ee[x[S+G]]++;for(q=B,H=15;1<=H&&ee[H]===0;H--);if(H<q&&(q=H),H===0)return M[I++]=20971520,M[I++]=20971520,D.bits=1,0;for(Q=1;Q<H&&ee[Q]===0;Q++);for(q<Q&&(q=Q),V=K=1;V<=15;V++)if(K<<=1,(K-=ee[V])<0)return-1;if(0<K&&(w===0||H!==1))return-1;for(ce[1]=0,V=1;V<15;V++)ce[V+1]=ce[V]+ee[V];for(G=0;G<T;G++)x[S+G]!==0&&(A[ce[x[S+G]]++]=G);if(P=w===0?(pe=ne=A,19):w===1?(pe=f,Z-=257,ne=g,oe-=257,256):(pe=b,ne=y,-1),V=Q,k=I,F=G=ae=0,R=-1,v=(te=1<<(U=q))-1,w===1&&852<te||w===2&&592<te)return 1;for(;;){for(O=V-F,j=A[G]<P?(_=0,A[G]):A[G]>P?(_=ne[oe+A[G]],pe[Z+A[G]]):(_=96,0),E=1<<V-F,Q=N=1<<U;M[k+(ae>>F)+(N-=E)]=O<<24|_<<16|j|0,N!==0;);for(E=1<<V-1;ae&E;)E>>=1;if(E!==0?(ae&=E-1,ae+=E):ae=0,G++,--ee[V]==0){if(V===H)break;V=x[S+A[G]]}if(q<V&&(ae&v)!==R){for(F===0&&(F=q),k+=Q,K=1<<(U=V-F);U+F<H&&!((K-=ee[U+F])<=0);)U++,K<<=1;if(te+=1<<U,w===1&&852<te||w===2&&592<te)return 1;M[R=ae&v]=q<<24|U<<16|k-I|0}}return ae!==0&&(M[k+ae]=V-F<<24|64<<16|0),D.bits=q,0}},{"../utils/common":41}],51:[function(u,p,m){p.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(u,p,m){var h=u("../utils/common");function f(ne){for(var oe=ne.length;0<=--oe;)ne[oe]=0}var g=256,b=286,y=30,w=15,x=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],S=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],T=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],I=new Array(576);f(I);var A=new Array(60);f(A);var D=new Array(512);f(D);var E=new Array(256);f(E);var N=new Array(29);f(N);var R,v,k,P=new Array(y);function O(ne,oe,re,Y,X){this.static_tree=ne,this.extra_bits=oe,this.extra_base=re,this.elems=Y,this.max_length=X,this.has_stree=ne&&ne.length}function _(ne,oe){this.dyn_tree=ne,this.max_code=0,this.stat_desc=oe}function j(ne){return ne<256?D[ne]:D[256+(ne>>>7)]}function B(ne,oe){ne.pending_buf[ne.pending++]=255&oe,ne.pending_buf[ne.pending++]=oe>>>8&255}function V(ne,oe,re){ne.bi_valid>16-re?(ne.bi_buf|=oe<<ne.bi_valid&65535,B(ne,ne.bi_buf),ne.bi_buf=oe>>16-ne.bi_valid,ne.bi_valid+=re-16):(ne.bi_buf|=oe<<ne.bi_valid&65535,ne.bi_valid+=re)}function G(ne,oe,re){V(ne,re[2*oe],re[2*oe+1])}function Q(ne,oe){for(var re=0;re|=1&ne,ne>>>=1,re<<=1,0<--oe;);return re>>>1}function H(ne,oe,re){var Y,X,ie=new Array(16),de=0;for(Y=1;Y<=w;Y++)ie[Y]=de=de+re[Y-1]<<1;for(X=0;X<=oe;X++){var fe=ne[2*X+1];fe!==0&&(ne[2*X]=Q(ie[fe]++,fe))}}function q(ne){var oe;for(oe=0;oe<b;oe++)ne.dyn_ltree[2*oe]=0;for(oe=0;oe<y;oe++)ne.dyn_dtree[2*oe]=0;for(oe=0;oe<19;oe++)ne.bl_tree[2*oe]=0;ne.dyn_ltree[512]=1,ne.opt_len=ne.static_len=0,ne.last_lit=ne.matches=0}function U(ne){8<ne.bi_valid?B(ne,ne.bi_buf):0<ne.bi_valid&&(ne.pending_buf[ne.pending++]=ne.bi_buf),ne.bi_buf=0,ne.bi_valid=0}function F(ne,oe,re,Y){var X=2*oe,ie=2*re;return ne[X]<ne[ie]||ne[X]===ne[ie]&&Y[oe]<=Y[re]}function K(ne,oe,re){for(var Y=ne.heap[re],X=re<<1;X<=ne.heap_len&&(X<ne.heap_len&&F(oe,ne.heap[X+1],ne.heap[X],ne.depth)&&X++,!F(oe,Y,ne.heap[X],ne.depth));)ne.heap[re]=ne.heap[X],re=X,X<<=1;ne.heap[re]=Y}function te(ne,oe,re){var Y,X,ie,de,fe=0;if(ne.last_lit!==0)for(;Y=ne.pending_buf[ne.d_buf+2*fe]<<8|ne.pending_buf[ne.d_buf+2*fe+1],X=ne.pending_buf[ne.l_buf+fe],fe++,Y===0?G(ne,X,oe):(G(ne,(ie=E[X])+g+1,oe),(de=x[ie])!==0&&V(ne,X-=N[ie],de),G(ne,ie=j(--Y),re),(de=S[ie])!==0&&V(ne,Y-=P[ie],de)),fe<ne.last_lit;);G(ne,256,oe)}function ae(ne,oe){var re,Y,X,ie=oe.dyn_tree,de=oe.stat_desc.static_tree,fe=oe.stat_desc.has_stree,ye=oe.stat_desc.elems,Le=-1;for(ne.heap_len=0,ne.heap_max=573,re=0;re<ye;re++)ie[2*re]!==0?(ne.heap[++ne.heap_len]=Le=re,ne.depth[re]=0):ie[2*re+1]=0;for(;ne.heap_len<2;)ie[2*(X=ne.heap[++ne.heap_len]=Le<2?++Le:0)]=1,ne.depth[X]=0,ne.opt_len--,fe&&(ne.static_len-=de[2*X+1]);for(oe.max_code=Le,re=ne.heap_len>>1;1<=re;re--)K(ne,ie,re);for(X=ye;re=ne.heap[1],ne.heap[1]=ne.heap[ne.heap_len--],K(ne,ie,1),Y=ne.heap[1],ne.heap[--ne.heap_max]=re,ne.heap[--ne.heap_max]=Y,ie[2*X]=ie[2*re]+ie[2*Y],ne.depth[X]=(ne.depth[re]>=ne.depth[Y]?ne.depth[re]:ne.depth[Y])+1,ie[2*re+1]=ie[2*Y+1]=X,ne.heap[1]=X++,K(ne,ie,1),2<=ne.heap_len;);ne.heap[--ne.heap_max]=ne.heap[1],(function(Re,Ne){var Te,Pe,Oe,Ue,Ve,ze,He=Ne.dyn_tree,Ye=Ne.max_code,ke=Ne.stat_desc.static_tree,Be=Ne.stat_desc.has_stree,Xe=Ne.stat_desc.extra_bits,Ge=Ne.stat_desc.extra_base,Ke=Ne.stat_desc.max_length,pt=0;for(Ue=0;Ue<=w;Ue++)Re.bl_count[Ue]=0;for(He[2*Re.heap[Re.heap_max]+1]=0,Te=Re.heap_max+1;Te<573;Te++)Ke<(Ue=He[2*He[2*(Pe=Re.heap[Te])+1]+1]+1)&&(Ue=Ke,pt++),He[2*Pe+1]=Ue,Ye<Pe||(Re.bl_count[Ue]++,Ve=0,Ge<=Pe&&(Ve=Xe[Pe-Ge]),ze=He[2*Pe],Re.opt_len+=ze*(Ue+Ve),Be&&(Re.static_len+=ze*(ke[2*Pe+1]+Ve)));if(pt!==0){do{for(Ue=Ke-1;Re.bl_count[Ue]===0;)Ue--;Re.bl_count[Ue]--,Re.bl_count[Ue+1]+=2,Re.bl_count[Ke]--,pt-=2}while(0<pt);for(Ue=Ke;Ue!==0;Ue--)for(Pe=Re.bl_count[Ue];Pe!==0;)Ye<(Oe=Re.heap[--Te])||(He[2*Oe+1]!==Ue&&(Re.opt_len+=(Ue-He[2*Oe+1])*He[2*Oe],He[2*Oe+1]=Ue),Pe--)}})(ne,oe),H(ie,Le,ne.bl_count)}function pe(ne,oe,re){var Y,X,ie=-1,de=oe[1],fe=0,ye=7,Le=4;for(de===0&&(ye=138,Le=3),oe[2*(re+1)+1]=65535,Y=0;Y<=re;Y++)X=de,de=oe[2*(Y+1)+1],++fe<ye&&X===de||(fe<Le?ne.bl_tree[2*X]+=fe:X!==0?(X!==ie&&ne.bl_tree[2*X]++,ne.bl_tree[32]++):fe<=10?ne.bl_tree[34]++:ne.bl_tree[36]++,ie=X,Le=(fe=0)===de?(ye=138,3):X===de?(ye=6,3):(ye=7,4))}function Z(ne,oe,re){var Y,X,ie=-1,de=oe[1],fe=0,ye=7,Le=4;for(de===0&&(ye=138,Le=3),Y=0;Y<=re;Y++)if(X=de,de=oe[2*(Y+1)+1],!(++fe<ye&&X===de)){if(fe<Le)for(;G(ne,X,ne.bl_tree),--fe!=0;);else X!==0?(X!==ie&&(G(ne,X,ne.bl_tree),fe--),G(ne,16,ne.bl_tree),V(ne,fe-3,2)):fe<=10?(G(ne,17,ne.bl_tree),V(ne,fe-3,3)):(G(ne,18,ne.bl_tree),V(ne,fe-11,7));ie=X,Le=(fe=0)===de?(ye=138,3):X===de?(ye=6,3):(ye=7,4)}}f(P);var ee=!1;function ce(ne,oe,re,Y){V(ne,0+(Y?1:0),3),(function(X,ie,de,fe){U(X),B(X,de),B(X,~de),h.arraySet(X.pending_buf,X.window,ie,de,X.pending),X.pending+=de})(ne,oe,re)}m._tr_init=function(ne){ee||((function(){var oe,re,Y,X,ie,de=new Array(16);for(X=Y=0;X<28;X++)for(N[X]=Y,oe=0;oe<1<<x[X];oe++)E[Y++]=X;for(E[Y-1]=X,X=ie=0;X<16;X++)for(P[X]=ie,oe=0;oe<1<<S[X];oe++)D[ie++]=X;for(ie>>=7;X<y;X++)for(P[X]=ie<<7,oe=0;oe<1<<S[X]-7;oe++)D[256+ie++]=X;for(re=0;re<=w;re++)de[re]=0;for(oe=0;oe<=143;)I[2*oe+1]=8,oe++,de[8]++;for(;oe<=255;)I[2*oe+1]=9,oe++,de[9]++;for(;oe<=279;)I[2*oe+1]=7,oe++,de[7]++;for(;oe<=287;)I[2*oe+1]=8,oe++,de[8]++;for(H(I,287,de),oe=0;oe<y;oe++)A[2*oe+1]=5,A[2*oe]=Q(oe,5);R=new O(I,x,257,b,w),v=new O(A,S,0,y,w),k=new O(new Array(0),T,0,19,7)})(),ee=!0),ne.l_desc=new _(ne.dyn_ltree,R),ne.d_desc=new _(ne.dyn_dtree,v),ne.bl_desc=new _(ne.bl_tree,k),ne.bi_buf=0,ne.bi_valid=0,q(ne)},m._tr_stored_block=ce,m._tr_flush_block=function(ne,oe,re,Y){var X,ie,de=0;0<ne.level?(ne.strm.data_type===2&&(ne.strm.data_type=(function(fe){var ye,Le=4093624447;for(ye=0;ye<=31;ye++,Le>>>=1)if(1&Le&&fe.dyn_ltree[2*ye]!==0)return 0;if(fe.dyn_ltree[18]!==0||fe.dyn_ltree[20]!==0||fe.dyn_ltree[26]!==0)return 1;for(ye=32;ye<g;ye++)if(fe.dyn_ltree[2*ye]!==0)return 1;return 0})(ne)),ae(ne,ne.l_desc),ae(ne,ne.d_desc),de=(function(fe){var ye;for(pe(fe,fe.dyn_ltree,fe.l_desc.max_code),pe(fe,fe.dyn_dtree,fe.d_desc.max_code),ae(fe,fe.bl_desc),ye=18;3<=ye&&fe.bl_tree[2*M[ye]+1]===0;ye--);return fe.opt_len+=3*(ye+1)+5+5+4,ye})(ne),X=ne.opt_len+3+7>>>3,(ie=ne.static_len+3+7>>>3)<=X&&(X=ie)):X=ie=re+5,re+4<=X&&oe!==-1?ce(ne,oe,re,Y):ne.strategy===4||ie===X?(V(ne,2+(Y?1:0),3),te(ne,I,A)):(V(ne,4+(Y?1:0),3),(function(fe,ye,Le,Re){var Ne;for(V(fe,ye-257,5),V(fe,Le-1,5),V(fe,Re-4,4),Ne=0;Ne<Re;Ne++)V(fe,fe.bl_tree[2*M[Ne]+1],3);Z(fe,fe.dyn_ltree,ye-1),Z(fe,fe.dyn_dtree,Le-1)})(ne,ne.l_desc.max_code+1,ne.d_desc.max_code+1,de+1),te(ne,ne.dyn_ltree,ne.dyn_dtree)),q(ne),Y&&U(ne)},m._tr_tally=function(ne,oe,re){return ne.pending_buf[ne.d_buf+2*ne.last_lit]=oe>>>8&255,ne.pending_buf[ne.d_buf+2*ne.last_lit+1]=255&oe,ne.pending_buf[ne.l_buf+ne.last_lit]=255&re,ne.last_lit++,oe===0?ne.dyn_ltree[2*re]++:(ne.matches++,oe--,ne.dyn_ltree[2*(E[re]+g+1)]++,ne.dyn_dtree[2*j(oe)]++),ne.last_lit===ne.lit_bufsize-1},m._tr_align=function(ne){V(ne,2,3),G(ne,256,I),(function(oe){oe.bi_valid===16?(B(oe,oe.bi_buf),oe.bi_buf=0,oe.bi_valid=0):8<=oe.bi_valid&&(oe.pending_buf[oe.pending++]=255&oe.bi_buf,oe.bi_buf>>=8,oe.bi_valid-=8)})(ne)}},{"../utils/common":41}],53:[function(u,p,m){p.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(u,p,m){(function(h){(function(f,g){if(!f.setImmediate){var b,y,w,x,S=1,T={},M=!1,I=f.document,A=Object.getPrototypeOf&&Object.getPrototypeOf(f);A=A&&A.setTimeout?A:f,b={}.toString.call(f.process)==="[object process]"?function(R){o.nextTick((function(){E(R)}))}:(function(){if(f.postMessage&&!f.importScripts){var R=!0,v=f.onmessage;return f.onmessage=function(){R=!1},f.postMessage("","*"),f.onmessage=v,R}})()?(x="setImmediate$"+Math.random()+"$",f.addEventListener?f.addEventListener("message",N,!1):f.attachEvent("onmessage",N),function(R){f.postMessage(x+R,"*")}):f.MessageChannel?((w=new MessageChannel).port1.onmessage=function(R){E(R.data)},function(R){w.port2.postMessage(R)}):I&&"onreadystatechange"in I.createElement("script")?(y=I.documentElement,function(R){var v=I.createElement("script");v.onreadystatechange=function(){E(R),v.onreadystatechange=null,y.removeChild(v),v=null},y.appendChild(v)}):function(R){setTimeout(E,0,R)},A.setImmediate=function(R){typeof R!="function"&&(R=new Function(""+R));for(var v=new Array(arguments.length-1),k=0;k<v.length;k++)v[k]=arguments[k+1];var P={callback:R,args:v};return T[S]=P,b(S),S++},A.clearImmediate=D}function D(R){delete T[R]}function E(R){if(M)setTimeout(E,0,R);else{var v=T[R];if(v){M=!0;try{(function(k){var P=k.callback,O=k.args;switch(O.length){case 0:P();break;case 1:P(O[0]);break;case 2:P(O[0],O[1]);break;case 3:P(O[0],O[1],O[2]);break;default:P.apply(void 0,O)}})(v)}finally{D(R),M=!1}}}}function N(R){R.source===f&&typeof R.data=="string"&&R.data.indexOf(x)===0&&E(+R.data.slice(x.length))}})(typeof self>"u"?h===void 0?this:h:self)}).call(this,r!==void 0?r:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)}))}).call(this)}).call(this,t("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],t("timers").setImmediate)},{_process:467,buffer:220,timers:523}],442:[function(t,e,i){(function(o){(function(){"use strict";var r=/[\\^$.*+?()[\]{}|]/g,n=RegExp(r.source),a=typeof o=="object"&&o&&o.Object===Object&&o,s=typeof self=="object"&&self&&self.Object===Object&&self,l=a||s||Function("return this")(),c=Object.prototype.toString,d=l.Symbol,u=d?d.prototype:void 0,p=u?u.toString:void 0;function m(h){if(typeof h=="string")return h;if((function(g){return typeof g=="symbol"||(function(b){return!!b&&typeof b=="object"})(g)&&c.call(g)=="[object Symbol]"})(h))return p?p.call(h):"";var f=h+"";return f=="0"&&1/h==-1/0?"-0":f}e.exports=function(h){var f;return(h=(f=h)==null?"":m(f))&&n.test(h)?h.replace(r,"\\$&"):h}}).call(this)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],443:[function(t,e,i){(function(o){(function(){"use strict";var r="[object Arguments]",n="[object Map]",a="[object Object]",s="[object Set]",l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/,d=/^\./,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p=/\\(\\)?/g,m=/^\[object .+?Constructor\]$/,h=/^(?:0|[1-9]\d*)$/,f={};f["[object Float32Array]"]=f["[object Float64Array]"]=f["[object Int8Array]"]=f["[object Int16Array]"]=f["[object Int32Array]"]=f["[object Uint8Array]"]=f["[object Uint8ClampedArray]"]=f["[object Uint16Array]"]=f["[object Uint32Array]"]=!0,f[r]=f["[object Array]"]=f["[object ArrayBuffer]"]=f["[object Boolean]"]=f["[object DataView]"]=f["[object Date]"]=f["[object Error]"]=f["[object Function]"]=f[n]=f["[object Number]"]=f[a]=f["[object RegExp]"]=f[s]=f["[object String]"]=f["[object WeakMap]"]=!1;var g=typeof o=="object"&&o&&o.Object===Object&&o,b=typeof self=="object"&&self&&self.Object===Object&&self,y=g||b||Function("return this")(),w=typeof i=="object"&&i&&!i.nodeType&&i,x=w&&typeof e=="object"&&e&&!e.nodeType&&e,S=x&&x.exports===w&&g.process,T=(function(){try{return S&&S.binding("util")}catch{}})(),M=T&&T.isTypedArray;function I(Ct,ti,hi,ki){for(var eo=-1,Qo=Ct?Ct.length:0;++eo<Qo;){var dr=Ct[eo];ti(ki,dr,hi(dr),Ct)}return ki}function A(Ct,ti){for(var hi=-1,ki=Ct?Ct.length:0;++hi<ki;)if(ti(Ct[hi],hi,Ct))return!0;return!1}function D(Ct){var ti=!1;if(Ct!=null&&typeof Ct.toString!="function")try{ti=!!(Ct+"")}catch{}return ti}function E(Ct){var ti=-1,hi=Array(Ct.size);return Ct.forEach((function(ki,eo){hi[++ti]=[eo,ki]})),hi}function N(Ct){var ti=-1,hi=Array(Ct.size);return Ct.forEach((function(ki){hi[++ti]=ki})),hi}var R,v,k,P=Array.prototype,O=Function.prototype,_=Object.prototype,j=y["__core-js_shared__"],B=(R=/[^.]+$/.exec(j&&j.keys&&j.keys.IE_PROTO||""))?"Symbol(src)_1."+R:"",V=O.toString,G=_.hasOwnProperty,Q=_.toString,H=RegExp("^"+V.call(G).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),q=y.Symbol,U=y.Uint8Array,F=_.propertyIsEnumerable,K=P.splice,te=(v=Object.keys,k=Object,function(Ct){return v(k(Ct))}),ae=ht(y,"DataView"),pe=ht(y,"Map"),Z=ht(y,"Promise"),ee=ht(y,"Set"),ce=ht(y,"WeakMap"),ne=ht(Object,"create"),oe=ni(ae),re=ni(pe),Y=ni(Z),X=ni(ee),ie=ni(ce),de=q?q.prototype:void 0,fe=de?de.valueOf:void 0,ye=de?de.toString:void 0;function Le(Ct){var ti=-1,hi=Ct?Ct.length:0;for(this.clear();++ti<hi;){var ki=Ct[ti];this.set(ki[0],ki[1])}}function Re(Ct){var ti=-1,hi=Ct?Ct.length:0;for(this.clear();++ti<hi;){var ki=Ct[ti];this.set(ki[0],ki[1])}}function Ne(Ct){var ti=-1,hi=Ct?Ct.length:0;for(this.clear();++ti<hi;){var ki=Ct[ti];this.set(ki[0],ki[1])}}function Te(Ct){var ti=-1,hi=Ct?Ct.length:0;for(this.__data__=new Ne;++ti<hi;)this.add(Ct[ti])}function Pe(Ct){this.__data__=new Re(Ct)}function Oe(Ct,ti){var hi=go(Ct)||Do(Ct)?(function(dr,sa){for(var Vn=-1,Cn=Array(dr);++Vn<dr;)Cn[Vn]=sa(Vn);return Cn})(Ct.length,String):[],ki=hi.length,eo=!!ki;for(var Qo in Ct)!ti&&!G.call(Ct,Qo)||eo&&(Qo=="length"||wt(Qo,ki))||hi.push(Qo);return hi}function Ue(Ct,ti){for(var hi=Ct.length;hi--;)if(nr(Ct[hi][0],ti))return hi;return-1}function Ve(Ct,ti,hi,ki){return Ye(Ct,(function(eo,Qo,dr){ti(ki,eo,hi(eo),dr)})),ki}Le.prototype.clear=function(){this.__data__=ne?ne(null):{}},Le.prototype.delete=function(Ct){return this.has(Ct)&&delete this.__data__[Ct]},Le.prototype.get=function(Ct){var ti=this.__data__;if(ne){var hi=ti[Ct];return hi==="__lodash_hash_undefined__"?void 0:hi}return G.call(ti,Ct)?ti[Ct]:void 0},Le.prototype.has=function(Ct){var ti=this.__data__;return ne?ti[Ct]!==void 0:G.call(ti,Ct)},Le.prototype.set=function(Ct,ti){return this.__data__[Ct]=ne&&ti===void 0?"__lodash_hash_undefined__":ti,this},Re.prototype.clear=function(){this.__data__=[]},Re.prototype.delete=function(Ct){var ti=this.__data__,hi=Ue(ti,Ct);return!(hi<0)&&(hi==ti.length-1?ti.pop():K.call(ti,hi,1),!0)},Re.prototype.get=function(Ct){var ti=this.__data__,hi=Ue(ti,Ct);return hi<0?void 0:ti[hi][1]},Re.prototype.has=function(Ct){return Ue(this.__data__,Ct)>-1},Re.prototype.set=function(Ct,ti){var hi=this.__data__,ki=Ue(hi,Ct);return ki<0?hi.push([Ct,ti]):hi[ki][1]=ti,this},Ne.prototype.clear=function(){this.__data__={hash:new Le,map:new(pe||Re),string:new Le}},Ne.prototype.delete=function(Ct){return rt(this,Ct).delete(Ct)},Ne.prototype.get=function(Ct){return rt(this,Ct).get(Ct)},Ne.prototype.has=function(Ct){return rt(this,Ct).has(Ct)},Ne.prototype.set=function(Ct,ti){return rt(this,Ct).set(Ct,ti),this},Te.prototype.add=Te.prototype.push=function(Ct){return this.__data__.set(Ct,"__lodash_hash_undefined__"),this},Te.prototype.has=function(Ct){return this.__data__.has(Ct)},Pe.prototype.clear=function(){this.__data__=new Re},Pe.prototype.delete=function(Ct){return this.__data__.delete(Ct)},Pe.prototype.get=function(Ct){return this.__data__.get(Ct)},Pe.prototype.has=function(Ct){return this.__data__.has(Ct)},Pe.prototype.set=function(Ct,ti){var hi=this.__data__;if(hi instanceof Re){var ki=hi.__data__;if(!pe||ki.length<199)return ki.push([Ct,ti]),this;hi=this.__data__=new Ne(ki)}return hi.set(Ct,ti),this};var ze,He,Ye=(ze=function(Ct,ti){return Ct&&ke(Ct,ti,qi)},function(Ct,ti){if(Ct==null)return Ct;if(!Dr(Ct))return ze(Ct,ti);for(var hi=Ct.length,ki=He?hi:-1,eo=Object(Ct);(He?ki--:++ki<hi)&&ti(eo[ki],ki,eo)!==!1;);return Ct}),ke=(function(Ct){return function(ti,hi,ki){for(var eo=-1,Qo=Object(ti),dr=ki(ti),sa=dr.length;sa--;){var Vn=dr[Ct?sa:++eo];if(hi(Qo[Vn],Vn,Qo)===!1)break}return ti}})();function Be(Ct,ti){for(var hi=0,ki=(ti=zt(ti,Ct)?[ti]:Qe(ti)).length;Ct!=null&&hi<ki;)Ct=Ct[jt(ti[hi++])];return hi&&hi==ki?Ct:void 0}function Xe(Ct,ti){return Ct!=null&&ti in Object(Ct)}function Ge(Ct,ti,hi,ki,eo){return Ct===ti||(Ct==null||ti==null||!Sa(Ct)&&!es(ti)?Ct!=Ct&&ti!=ti:(function(Qo,dr,sa,Vn,Cn,fa){var Ac=go(Qo),Uo=go(dr),$t="[object Array]",ui="[object Array]";Ac||($t=($t=ct(Qo))==r?a:$t),Uo||(ui=(ui=ct(dr))==r?a:ui);var fi=$t==a&&!D(Qo),to=ui==a&&!D(dr),no=$t==ui;if(no&&!fi)return fa||(fa=new Pe),Ac||Mi(Qo)?ut(Qo,dr,sa,Vn,Cn,fa):(function(zr,dn,Kp,a0,op,xp,Q1){switch(Kp){case"[object DataView]":if(zr.byteLength!=dn.byteLength||zr.byteOffset!=dn.byteOffset)return!1;zr=zr.buffer,dn=dn.buffer;case"[object ArrayBuffer]":return!(zr.byteLength!=dn.byteLength||!a0(new U(zr),new U(dn)));case"[object Boolean]":case"[object Date]":case"[object Number]":return nr(+zr,+dn);case"[object Error]":return zr.name==dn.name&&zr.message==dn.message;case"[object RegExp]":case"[object String]":return zr==dn+"";case n:var Zp=E;case s:var Ma=2&xp;if(Zp||(Zp=N),zr.size!=dn.size&&!Ma)return!1;var Ag=Q1.get(zr);if(Ag)return Ag==dn;xp|=1,Q1.set(zr,dn);var d1=ut(Zp(zr),Zp(dn),a0,op,xp,Q1);return Q1.delete(zr),d1;case"[object Symbol]":if(fe)return fe.call(zr)==fe.call(dn)}return!1})(Qo,dr,$t,sa,Vn,Cn,fa);if(!(2&Cn)){var Lr=fi&&G.call(Qo,"__wrapped__"),Pa=to&&G.call(dr,"__wrapped__");if(Lr||Pa){var Ss=Lr?Qo.value():Qo,Ms=Pa?dr.value():dr;return fa||(fa=new Pe),sa(Ss,Ms,Vn,Cn,fa)}}return no?(fa||(fa=new Pe),(function(zr,dn,Kp,a0,op,xp){var Q1=2&op,Zp=qi(zr),Ma=Zp.length,Ag=qi(dn).length;if(Ma!=Ag&&!Q1)return!1;for(var d1=Ma;d1--;){var T2=Zp[d1];if(!(Q1?T2 in dn:G.call(dn,T2)))return!1}var sS=xp.get(zr);if(sS&&xp.get(dn))return sS==dn;var a3=!0;xp.set(zr,dn),xp.set(dn,zr);for(var Ng=Q1;++d1<Ma;){T2=Zp[d1];var S2=zr[T2],Hn=dn[T2];if(a0)var Qx=Q1?a0(Hn,S2,T2,dn,zr,xp):a0(S2,Hn,T2,zr,dn,xp);if(!(Qx===void 0?S2===Hn||Kp(S2,Hn,a0,op,xp):Qx)){a3=!1;break}Ng||(Ng=T2=="constructor")}if(a3&&!Ng){var Kx=zr.constructor,C6=dn.constructor;Kx==C6||!("constructor"in zr)||!("constructor"in dn)||typeof Kx=="function"&&Kx instanceof Kx&&typeof C6=="function"&&C6 instanceof C6||(a3=!1)}return xp.delete(zr),xp.delete(dn),a3})(Qo,dr,sa,Vn,Cn,fa)):!1})(Ct,ti,Ge,hi,ki,eo))}function Ke(Ct){return!(!Sa(Ct)||(function(ti){return!!B&&B in ti})(Ct))&&(cr(Ct)||D(Ct)?H:m).test(ni(Ct))}function pt(Ct){return typeof Ct=="function"?Ct:Ct==null?Eo:typeof Ct=="object"?go(Ct)?(function(ki,eo){return zt(ki)&&gt(eo)?Qt(jt(ki),eo):function(Qo){var dr=(function(sa,Vn,Cn){var fa=sa==null?void 0:Be(sa,Vn);return fa===void 0?Cn:fa})(Qo,ki);return dr===void 0&&dr===eo?(function(sa,Vn){return sa!=null&&(function(Cn,fa,Ac){fa=zt(fa,Cn)?[fa]:Qe(fa);for(var Uo,$t=-1,ui=fa.length;++$t<ui;){var fi=jt(fa[$t]);if(!(Uo=Cn!=null&&Ac(Cn,fi)))break;Cn=Cn[fi]}return Uo||!!(ui=Cn?Cn.length:0)&&Zn(ui)&&wt(fi,ui)&&(go(Cn)||Do(Cn))})(sa,Vn,Xe)})(Qo,ki):Ge(eo,dr,void 0,3)}})(Ct[0],Ct[1]):(function(ki){var eo=(function(Qo){for(var dr=qi(Qo),sa=dr.length;sa--;){var Vn=dr[sa],Cn=Qo[Vn];dr[sa]=[Vn,Cn,gt(Cn)]}return dr})(ki);return eo.length==1&&eo[0][2]?Qt(eo[0][0],eo[0][1]):function(Qo){return Qo===ki||(function(dr,sa,Vn,Cn){var fa=Vn.length,Ac=fa,Uo=!Cn;if(dr==null)return!Ac;for(dr=Object(dr);fa--;){var $t=Vn[fa];if(Uo&&$t[2]?$t[1]!==dr[$t[0]]:!($t[0]in dr))return!1}for(;++fa<Ac;){var ui=($t=Vn[fa])[0],fi=dr[ui],to=$t[1];if(Uo&&$t[2]){if(fi===void 0&&!(ui in dr))return!1}else{var no=new Pe;if(Cn)var Lr=Cn(fi,to,ui,dr,sa,no);if(!(Lr===void 0?Ge(to,fi,Cn,3,no):Lr))return!1}}return!0})(Qo,ki,eo)}})(Ct):zt(ti=Ct)?(hi=jt(ti),function(ki){return ki==null?void 0:ki[hi]}):(function(ki){return function(eo){return Be(eo,ki)}})(ti);var ti,hi}function ot(Ct){if(hi=(ti=Ct)&&ti.constructor,ki=typeof hi=="function"&&hi.prototype||_,ti!==ki)return te(Ct);var ti,hi,ki,eo=[];for(var Qo in Object(Ct))G.call(Ct,Qo)&&Qo!="constructor"&&eo.push(Qo);return eo}function Qe(Ct){return go(Ct)?Ct:yt(Ct)}function ut(Ct,ti,hi,ki,eo,Qo){var dr=2&eo,sa=Ct.length,Vn=ti.length;if(sa!=Vn&&!(dr&&Vn>sa))return!1;var Cn=Qo.get(Ct);if(Cn&&Qo.get(ti))return Cn==ti;var fa=-1,Ac=!0,Uo=1&eo?new Te:void 0;for(Qo.set(Ct,ti),Qo.set(ti,Ct);++fa<sa;){var $t=Ct[fa],ui=ti[fa];if(ki)var fi=dr?ki(ui,$t,fa,ti,Ct,Qo):ki($t,ui,fa,Ct,ti,Qo);if(fi!==void 0){if(fi)continue;Ac=!1;break}if(Uo){if(!A(ti,(function(to,no){if(!Uo.has(no)&&($t===to||hi($t,to,ki,eo,Qo)))return Uo.add(no)}))){Ac=!1;break}}else if($t!==ui&&!hi($t,ui,ki,eo,Qo)){Ac=!1;break}}return Qo.delete(Ct),Qo.delete(ti),Ac}function rt(Ct,ti){var hi,ki,eo=Ct.__data__;return((ki=typeof(hi=ti))=="string"||ki=="number"||ki=="symbol"||ki=="boolean"?hi!=="__proto__":hi===null)?eo[typeof ti=="string"?"string":"hash"]:eo.map}function ht(Ct,ti){var hi=(function(ki,eo){return ki==null?void 0:ki[eo]})(Ct,ti);return Ke(hi)?hi:void 0}var ct=function(Ct){return Q.call(Ct)};function wt(Ct,ti){return!!(ti=ti==null?9007199254740991:ti)&&(typeof Ct=="number"||h.test(Ct))&&Ct>-1&&Ct%1==0&&Ct<ti}function zt(Ct,ti){if(go(Ct))return!1;var hi=typeof Ct;return!(hi!="number"&&hi!="symbol"&&hi!="boolean"&&Ct!=null&&!tu(Ct))||c.test(Ct)||!l.test(Ct)||ti!=null&&Ct in Object(ti)}function gt(Ct){return Ct==Ct&&!Sa(Ct)}function Qt(Ct,ti){return function(hi){return hi!=null&&hi[Ct]===ti&&(ti!==void 0||Ct in Object(hi))}}(ae&&ct(new ae(new ArrayBuffer(1)))!="[object DataView]"||pe&&ct(new pe)!=n||Z&&ct(Z.resolve())!="[object Promise]"||ee&&ct(new ee)!=s||ce&&ct(new ce)!="[object WeakMap]")&&(ct=function(Ct){var ti=Q.call(Ct),hi=ti==a?Ct.constructor:void 0,ki=hi?ni(hi):void 0;if(ki)switch(ki){case oe:return"[object DataView]";case re:return n;case Y:return"[object Promise]";case X:return s;case ie:return"[object WeakMap]"}return ti});var yt=So((function(Ct){var ti;Ct=(ti=Ct)==null?"":(function(ki){if(typeof ki=="string")return ki;if(tu(ki))return ye?ye.call(ki):"";var eo=ki+"";return eo=="0"&&1/ki==-1/0?"-0":eo})(ti);var hi=[];return d.test(Ct)&&hi.push(""),Ct.replace(u,(function(ki,eo,Qo,dr){hi.push(Qo?dr.replace(p,"$1"):eo||ki)})),hi}));function jt(Ct){if(typeof Ct=="string"||tu(Ct))return Ct;var ti=Ct+"";return ti=="0"&&1/Ct==-1/0?"-0":ti}function ni(Ct){if(Ct!=null){try{return V.call(Ct)}catch{}try{return Ct+""}catch{}}return""}var Ii,Mo,_i=(Ii=function(Ct,ti,hi){G.call(Ct,hi)?Ct[hi].push(ti):Ct[hi]=[ti]},function(Ct,ti){var hi=go(Ct)?I:Ve,ki=Mo?Mo():{};return hi(Ct,Ii,pt(ti),ki)});function So(Ct,ti){if(typeof Ct!="function"||ti&&typeof ti!="function")throw new TypeError("Expected a function");var hi=function(){var ki=arguments,eo=ti?ti.apply(this,ki):ki[0],Qo=hi.cache;if(Qo.has(eo))return Qo.get(eo);var dr=Ct.apply(this,ki);return hi.cache=Qo.set(eo,dr),dr};return hi.cache=new(So.Cache||Ne),hi}function nr(Ct,ti){return Ct===ti||Ct!=Ct&&ti!=ti}function Do(Ct){return(function(ti){return es(ti)&&Dr(ti)})(Ct)&&G.call(Ct,"callee")&&(!F.call(Ct,"callee")||Q.call(Ct)==r)}So.Cache=Ne;var go=Array.isArray;function Dr(Ct){return Ct!=null&&Zn(Ct.length)&&!cr(Ct)}function cr(Ct){var ti=Sa(Ct)?Q.call(Ct):"";return ti=="[object Function]"||ti=="[object GeneratorFunction]"}function Zn(Ct){return typeof Ct=="number"&&Ct>-1&&Ct%1==0&&Ct<=9007199254740991}function Sa(Ct){var ti=typeof Ct;return!!Ct&&(ti=="object"||ti=="function")}function es(Ct){return!!Ct&&typeof Ct=="object"}function tu(Ct){return typeof Ct=="symbol"||es(Ct)&&Q.call(Ct)=="[object Symbol]"}var Mi=M?(function(Ct){return function(ti){return Ct(ti)}})(M):function(Ct){return es(Ct)&&Zn(Ct.length)&&!!f[Q.call(Ct)]};function qi(Ct){return Dr(Ct)?Oe(Ct):ot(Ct)}function Eo(Ct){return Ct}e.exports=_i}).call(this)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],444:[function(t,e,i){"use strict";var o=Object.prototype.toString;e.exports=function(r){return r===!0||r===!1||(function(n){return!!n&&typeof n=="object"})(r)&&o.call(r)=="[object Boolean]"}},{}],445:[function(t,e,i){(function(o){(function(){"use strict";var r="[object Arguments]",n="[object Map]",a="[object Object]",s="[object Set]",l=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,d={};d["[object Float32Array]"]=d["[object Float64Array]"]=d["[object Int8Array]"]=d["[object Int16Array]"]=d["[object Int32Array]"]=d["[object Uint8Array]"]=d["[object Uint8ClampedArray]"]=d["[object Uint16Array]"]=d["[object Uint32Array]"]=!0,d[r]=d["[object Array]"]=d["[object ArrayBuffer]"]=d["[object Boolean]"]=d["[object DataView]"]=d["[object Date]"]=d["[object Error]"]=d["[object Function]"]=d[n]=d["[object Number]"]=d[a]=d["[object RegExp]"]=d[s]=d["[object String]"]=d["[object WeakMap]"]=!1;var u=typeof o=="object"&&o&&o.Object===Object&&o,p=typeof self=="object"&&self&&self.Object===Object&&self,m=u||p||Function("return this")(),h=typeof i=="object"&&i&&!i.nodeType&&i,f=h&&typeof e=="object"&&e&&!e.nodeType&&e,g=f&&f.exports===h,b=g&&u.process,y=(function(){try{return b&&b.binding&&b.binding("util")}catch{}})(),w=y&&y.isTypedArray;function x(yt,jt){for(var ni=-1,Ii=yt==null?0:yt.length;++ni<Ii;)if(jt(yt[ni],ni,yt))return!0;return!1}function S(yt){var jt=-1,ni=Array(yt.size);return yt.forEach((function(Ii,Mo){ni[++jt]=[Mo,Ii]})),ni}function T(yt){var jt=-1,ni=Array(yt.size);return yt.forEach((function(Ii){ni[++jt]=Ii})),ni}var M,I,A,D=Array.prototype,E=Function.prototype,N=Object.prototype,R=m["__core-js_shared__"],v=E.toString,k=N.hasOwnProperty,P=(M=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||""))?"Symbol(src)_1."+M:"",O=N.toString,_=RegExp("^"+v.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=g?m.Buffer:void 0,B=m.Symbol,V=m.Uint8Array,G=N.propertyIsEnumerable,Q=D.splice,H=B?B.toStringTag:void 0,q=Object.getOwnPropertySymbols,U=j?j.isBuffer:void 0,F=(I=Object.keys,A=Object,function(yt){return I(A(yt))}),K=Be(m,"DataView"),te=Be(m,"Map"),ae=Be(m,"Promise"),pe=Be(m,"Set"),Z=Be(m,"WeakMap"),ee=Be(Object,"create"),ce=pt(K),ne=pt(te),oe=pt(ae),re=pt(pe),Y=pt(Z),X=B?B.prototype:void 0,ie=X?X.valueOf:void 0;function de(yt){var jt=-1,ni=yt==null?0:yt.length;for(this.clear();++jt<ni;){var Ii=yt[jt];this.set(Ii[0],Ii[1])}}function fe(yt){var jt=-1,ni=yt==null?0:yt.length;for(this.clear();++jt<ni;){var Ii=yt[jt];this.set(Ii[0],Ii[1])}}function ye(yt){var jt=-1,ni=yt==null?0:yt.length;for(this.clear();++jt<ni;){var Ii=yt[jt];this.set(Ii[0],Ii[1])}}function Le(yt){var jt=-1,ni=yt==null?0:yt.length;for(this.__data__=new ye;++jt<ni;)this.add(yt[jt])}function Re(yt){var jt=this.__data__=new fe(yt);this.size=jt.size}function Ne(yt,jt){var ni=ut(yt),Ii=!ni&&Qe(yt),Mo=!ni&&!Ii&&rt(yt),_i=!ni&&!Ii&&!Mo&&gt(yt),So=ni||Ii||Mo||_i,nr=So?(function(Dr,cr){for(var Zn=-1,Sa=Array(Dr);++Zn<Dr;)Sa[Zn]=cr(Zn);return Sa})(yt.length,String):[],Do=nr.length;for(var go in yt)!jt&&!k.call(yt,go)||So&&(go=="length"||Mo&&(go=="offset"||go=="parent")||_i&&(go=="buffer"||go=="byteLength"||go=="byteOffset")||Ke(go,Do))||nr.push(go);return nr}function Te(yt,jt){for(var ni=yt.length;ni--;)if(ot(yt[ni][0],jt))return ni;return-1}function Pe(yt){return yt==null?yt===void 0?"[object Undefined]":"[object Null]":H&&H in Object(yt)?(function(jt){var ni=k.call(jt,H),Ii=jt[H];try{jt[H]=void 0;var Mo=!0}catch{}var _i=O.call(jt);return Mo&&(ni?jt[H]=Ii:delete jt[H]),_i})(yt):(function(jt){return O.call(jt)})(yt)}function Oe(yt){return zt(yt)&&Pe(yt)==r}function Ue(yt,jt,ni,Ii,Mo){return yt===jt||(yt==null||jt==null||!zt(yt)&&!zt(jt)?yt!=yt&&jt!=jt:(function(_i,So,nr,Do,go,Dr){var cr=ut(_i),Zn=ut(So),Sa=cr?"[object Array]":Ge(_i),es=Zn?"[object Array]":Ge(So),tu=(Sa=Sa==r?a:Sa)==a,Mi=(es=es==r?a:es)==a,qi=Sa==es;if(qi&&rt(_i)){if(!rt(So))return!1;cr=!0,tu=!1}if(qi&&!tu)return Dr||(Dr=new Re),cr||gt(_i)?He(_i,So,nr,Do,go,Dr):(function(ki,eo,Qo,dr,sa,Vn,Cn){switch(Qo){case"[object DataView]":if(ki.byteLength!=eo.byteLength||ki.byteOffset!=eo.byteOffset)return!1;ki=ki.buffer,eo=eo.buffer;case"[object ArrayBuffer]":return!(ki.byteLength!=eo.byteLength||!Vn(new V(ki),new V(eo)));case"[object Boolean]":case"[object Date]":case"[object Number]":return ot(+ki,+eo);case"[object Error]":return ki.name==eo.name&&ki.message==eo.message;case"[object RegExp]":case"[object String]":return ki==eo+"";case n:var fa=S;case s:var Ac=1&dr;if(fa||(fa=T),ki.size!=eo.size&&!Ac)return!1;var Uo=Cn.get(ki);if(Uo)return Uo==eo;dr|=2,Cn.set(ki,eo);var $t=He(fa(ki),fa(eo),dr,sa,Vn,Cn);return Cn.delete(ki),$t;case"[object Symbol]":if(ie)return ie.call(ki)==ie.call(eo)}return!1})(_i,So,Sa,nr,Do,go,Dr);if(!(1&nr)){var Eo=tu&&k.call(_i,"__wrapped__"),Ct=Mi&&k.call(So,"__wrapped__");if(Eo||Ct){var ti=Eo?_i.value():_i,hi=Ct?So.value():So;return Dr||(Dr=new Re),go(ti,hi,nr,Do,Dr)}}return qi?(Dr||(Dr=new Re),(function(ki,eo,Qo,dr,sa,Vn){var Cn=1&Qo,fa=Ye(ki),Ac=fa.length,Uo=Ye(eo).length;if(Ac!=Uo&&!Cn)return!1;for(var $t=Ac;$t--;){var ui=fa[$t];if(!(Cn?ui in eo:k.call(eo,ui)))return!1}var fi=Vn.get(ki);if(fi&&Vn.get(eo))return fi==eo;var to=!0;Vn.set(ki,eo),Vn.set(eo,ki);for(var no=Cn;++$t<Ac;){ui=fa[$t];var Lr=ki[ui],Pa=eo[ui];if(dr)var Ss=Cn?dr(Pa,Lr,ui,eo,ki,Vn):dr(Lr,Pa,ui,ki,eo,Vn);if(!(Ss===void 0?Lr===Pa||sa(Lr,Pa,Qo,dr,Vn):Ss)){to=!1;break}no||(no=ui=="constructor")}if(to&&!no){var Ms=ki.constructor,zr=eo.constructor;Ms==zr||!("constructor"in ki)||!("constructor"in eo)||typeof Ms=="function"&&Ms instanceof Ms&&typeof zr=="function"&&zr instanceof zr||(to=!1)}return Vn.delete(ki),Vn.delete(eo),to})(_i,So,nr,Do,go,Dr)):!1})(yt,jt,ni,Ii,Ue,Mo))}function Ve(yt){return!(!wt(yt)||(function(jt){return!!P&&P in jt})(yt))&&(ht(yt)?_:l).test(pt(yt))}function ze(yt){if(ni=(jt=yt)&&jt.constructor,Ii=typeof ni=="function"&&ni.prototype||N,jt!==Ii)return F(yt);var jt,ni,Ii,Mo=[];for(var _i in Object(yt))k.call(yt,_i)&&_i!="constructor"&&Mo.push(_i);return Mo}function He(yt,jt,ni,Ii,Mo,_i){var So=1&ni,nr=yt.length,Do=jt.length;if(nr!=Do&&!(So&&Do>nr))return!1;var go=_i.get(yt);if(go&&_i.get(jt))return go==jt;var Dr=-1,cr=!0,Zn=2&ni?new Le:void 0;for(_i.set(yt,jt),_i.set(jt,yt);++Dr<nr;){var Sa=yt[Dr],es=jt[Dr];if(Ii)var tu=So?Ii(es,Sa,Dr,jt,yt,_i):Ii(Sa,es,Dr,yt,jt,_i);if(tu!==void 0){if(tu)continue;cr=!1;break}if(Zn){if(!x(jt,(function(Mi,qi){if(Eo=qi,!Zn.has(Eo)&&(Sa===Mi||Mo(Sa,Mi,ni,Ii,_i)))return Zn.push(qi);var Eo}))){cr=!1;break}}else if(Sa!==es&&!Mo(Sa,es,ni,Ii,_i)){cr=!1;break}}return _i.delete(yt),_i.delete(jt),cr}function Ye(yt){return(function(jt,ni,Ii){var Mo=ni(jt);return ut(jt)?Mo:(function(_i,So){for(var nr=-1,Do=So.length,go=_i.length;++nr<Do;)_i[go+nr]=So[nr];return _i})(Mo,Ii(jt))})(yt,Qt,Xe)}function ke(yt,jt){var ni,Ii,Mo=yt.__data__;return((Ii=typeof(ni=jt))=="string"||Ii=="number"||Ii=="symbol"||Ii=="boolean"?ni!=="__proto__":ni===null)?Mo[typeof jt=="string"?"string":"hash"]:Mo.map}function Be(yt,jt){var ni=(function(Ii,Mo){return Ii==null?void 0:Ii[Mo]})(yt,jt);return Ve(ni)?ni:void 0}de.prototype.clear=function(){this.__data__=ee?ee(null):{},this.size=0},de.prototype.delete=function(yt){var jt=this.has(yt)&&delete this.__data__[yt];return this.size-=jt?1:0,jt},de.prototype.get=function(yt){var jt=this.__data__;if(ee){var ni=jt[yt];return ni==="__lodash_hash_undefined__"?void 0:ni}return k.call(jt,yt)?jt[yt]:void 0},de.prototype.has=function(yt){var jt=this.__data__;return ee?jt[yt]!==void 0:k.call(jt,yt)},de.prototype.set=function(yt,jt){var ni=this.__data__;return this.size+=this.has(yt)?0:1,ni[yt]=ee&&jt===void 0?"__lodash_hash_undefined__":jt,this},fe.prototype.clear=function(){this.__data__=[],this.size=0},fe.prototype.delete=function(yt){var jt=this.__data__,ni=Te(jt,yt);return!(ni<0)&&(ni==jt.length-1?jt.pop():Q.call(jt,ni,1),--this.size,!0)},fe.prototype.get=function(yt){var jt=this.__data__,ni=Te(jt,yt);return ni<0?void 0:jt[ni][1]},fe.prototype.has=function(yt){return Te(this.__data__,yt)>-1},fe.prototype.set=function(yt,jt){var ni=this.__data__,Ii=Te(ni,yt);return Ii<0?(++this.size,ni.push([yt,jt])):ni[Ii][1]=jt,this},ye.prototype.clear=function(){this.size=0,this.__data__={hash:new de,map:new(te||fe),string:new de}},ye.prototype.delete=function(yt){var jt=ke(this,yt).delete(yt);return this.size-=jt?1:0,jt},ye.prototype.get=function(yt){return ke(this,yt).get(yt)},ye.prototype.has=function(yt){return ke(this,yt).has(yt)},ye.prototype.set=function(yt,jt){var ni=ke(this,yt),Ii=ni.size;return ni.set(yt,jt),this.size+=ni.size==Ii?0:1,this},Le.prototype.add=Le.prototype.push=function(yt){return this.__data__.set(yt,"__lodash_hash_undefined__"),this},Le.prototype.has=function(yt){return this.__data__.has(yt)},Re.prototype.clear=function(){this.__data__=new fe,this.size=0},Re.prototype.delete=function(yt){var jt=this.__data__,ni=jt.delete(yt);return this.size=jt.size,ni},Re.prototype.get=function(yt){return this.__data__.get(yt)},Re.prototype.has=function(yt){return this.__data__.has(yt)},Re.prototype.set=function(yt,jt){var ni=this.__data__;if(ni instanceof fe){var Ii=ni.__data__;if(!te||Ii.length<199)return Ii.push([yt,jt]),this.size=++ni.size,this;ni=this.__data__=new ye(Ii)}return ni.set(yt,jt),this.size=ni.size,this};var Xe=q?function(yt){return yt==null?[]:(yt=Object(yt),(function(jt,ni){for(var Ii=-1,Mo=jt==null?0:jt.length,_i=0,So=[];++Ii<Mo;){var nr=jt[Ii];ni(nr,Ii,jt)&&(So[_i++]=nr)}return So})(q(yt),(function(jt){return G.call(yt,jt)})))}:function(){return[]},Ge=Pe;function Ke(yt,jt){return!!(jt=jt==null?9007199254740991:jt)&&(typeof yt=="number"||c.test(yt))&&yt>-1&&yt%1==0&&yt<jt}function pt(yt){if(yt!=null){try{return v.call(yt)}catch{}try{return yt+""}catch{}}return""}function ot(yt,jt){return yt===jt||yt!=yt&&jt!=jt}(K&&Ge(new K(new ArrayBuffer(1)))!="[object DataView]"||te&&Ge(new te)!=n||ae&&Ge(ae.resolve())!="[object Promise]"||pe&&Ge(new pe)!=s||Z&&Ge(new Z)!="[object WeakMap]")&&(Ge=function(yt){var jt=Pe(yt),ni=jt==a?yt.constructor:void 0,Ii=ni?pt(ni):"";if(Ii)switch(Ii){case ce:return"[object DataView]";case ne:return n;case oe:return"[object Promise]";case re:return s;case Y:return"[object WeakMap]"}return jt});var Qe=Oe((function(){return arguments})())?Oe:function(yt){return zt(yt)&&k.call(yt,"callee")&&!G.call(yt,"callee")},ut=Array.isArray,rt=U||function(){return!1};function ht(yt){if(!wt(yt))return!1;var jt=Pe(yt);return jt=="[object Function]"||jt=="[object GeneratorFunction]"||jt=="[object AsyncFunction]"||jt=="[object Proxy]"}function ct(yt){return typeof yt=="number"&&yt>-1&&yt%1==0&&yt<=9007199254740991}function wt(yt){var jt=typeof yt;return yt!=null&&(jt=="object"||jt=="function")}function zt(yt){return yt!=null&&typeof yt=="object"}var gt=w?(function(yt){return function(jt){return yt(jt)}})(w):function(yt){return zt(yt)&&ct(yt.length)&&!!d[Pe(yt)]};function Qt(yt){return(jt=yt)!=null&&ct(jt.length)&&!ht(jt)?Ne(yt):ze(yt);var jt}e.exports=function(yt,jt){return Ue(yt,jt)}}).call(this)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],446:[function(t,e,i){(function(o){(function(){"use strict";var r=typeof o=="object"&&o&&o.Object===Object&&o,n=typeof self=="object"&&self&&self.Object===Object&&self,a=r||n||Function("return this")(),s=Object.prototype,l=s.hasOwnProperty,c=s.toString,d=a.Symbol,u=d?d.toStringTag:void 0;function p(m){return m==null?m===void 0?"[object Undefined]":"[object Null]":u&&u in Object(m)?(function(h){var f=l.call(h,u),g=h[u];try{h[u]=void 0;var b=!0}catch{}var y=c.call(h);return b&&(f?h[u]=g:delete h[u]),y})(m):(function(h){return c.call(h)})(m)}e.exports=function(m){if(!(function(f){var g=typeof f;return f!=null&&(g=="object"||g=="function")})(m))return!1;var h=p(m);return h=="[object Function]"||h=="[object GeneratorFunction]"||h=="[object AsyncFunction]"||h=="[object Proxy]"}}).call(this)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],447:[function(t,e,i){"use strict";e.exports=function(o){return o==null}},{}],448:[function(t,e,i){"use strict";e.exports=function(o){return o===void 0}},{}],449:[function(t,e,i){(function(o){(function(){"use strict";var r=/^\[object .+?Constructor\]$/,n=typeof o=="object"&&o&&o.Object===Object&&o,a=typeof self=="object"&&self&&self.Object===Object&&self,s=n||a||Function("return this")();function l(V,G){return!!(V&&V.length)&&(function(Q,H,q){if(H!=H)return(function(K,te,ae,pe){for(var Z=K.length,ee=ae+(pe?1:-1);pe?ee--:++ee<Z;)if(te(K[ee],ee,K))return ee;return-1})(Q,d,q);for(var U=q-1,F=Q.length;++U<F;)if(Q[U]===H)return U;return-1})(V,G,0)>-1}function c(V,G,Q){for(var H=-1,q=V?V.length:0;++H<q;)if(Q(G,V[H]))return!0;return!1}function d(V){return V!=V}function u(V,G){return V.has(G)}function p(V){var G=-1,Q=Array(V.size);return V.forEach((function(H){Q[++G]=H})),Q}var m,h=Array.prototype,f=Function.prototype,g=Object.prototype,b=s["__core-js_shared__"],y=(m=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",w=f.toString,x=g.hasOwnProperty,S=g.toString,T=RegExp("^"+w.call(x).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=h.splice,I=j(s,"Map"),A=j(s,"Set"),D=j(Object,"create");function E(V){var G=-1,Q=V?V.length:0;for(this.clear();++G<Q;){var H=V[G];this.set(H[0],H[1])}}function N(V){var G=-1,Q=V?V.length:0;for(this.clear();++G<Q;){var H=V[G];this.set(H[0],H[1])}}function R(V){var G=-1,Q=V?V.length:0;for(this.clear();++G<Q;){var H=V[G];this.set(H[0],H[1])}}function v(V){var G=-1,Q=V?V.length:0;for(this.__data__=new R;++G<Q;)this.add(V[G])}function k(V,G){for(var Q,H,q=V.length;q--;)if((Q=V[q][0])===(H=G)||Q!=Q&&H!=H)return q;return-1}function P(V){return!(!B(V)||(G=V,y&&y in G))&&((function(Q){var H=B(Q)?S.call(Q):"";return H=="[object Function]"||H=="[object GeneratorFunction]"})(V)||(function(Q){var H=!1;if(Q!=null&&typeof Q.toString!="function")try{H=!!(Q+"")}catch{}return H})(V)?T:r).test((function(Q){if(Q!=null){try{return w.call(Q)}catch{}try{return Q+""}catch{}}return""})(V));var G}E.prototype.clear=function(){this.__data__=D?D(null):{}},E.prototype.delete=function(V){return this.has(V)&&delete this.__data__[V]},E.prototype.get=function(V){var G=this.__data__;if(D){var Q=G[V];return Q==="__lodash_hash_undefined__"?void 0:Q}return x.call(G,V)?G[V]:void 0},E.prototype.has=function(V){var G=this.__data__;return D?G[V]!==void 0:x.call(G,V)},E.prototype.set=function(V,G){return this.__data__[V]=D&&G===void 0?"__lodash_hash_undefined__":G,this},N.prototype.clear=function(){this.__data__=[]},N.prototype.delete=function(V){var G=this.__data__,Q=k(G,V);return!(Q<0)&&(Q==G.length-1?G.pop():M.call(G,Q,1),!0)},N.prototype.get=function(V){var G=this.__data__,Q=k(G,V);return Q<0?void 0:G[Q][1]},N.prototype.has=function(V){return k(this.__data__,V)>-1},N.prototype.set=function(V,G){var Q=this.__data__,H=k(Q,V);return H<0?Q.push([V,G]):Q[H][1]=G,this},R.prototype.clear=function(){this.__data__={hash:new E,map:new(I||N),string:new E}},R.prototype.delete=function(V){return _(this,V).delete(V)},R.prototype.get=function(V){return _(this,V).get(V)},R.prototype.has=function(V){return _(this,V).has(V)},R.prototype.set=function(V,G){return _(this,V).set(V,G),this},v.prototype.add=v.prototype.push=function(V){return this.__data__.set(V,"__lodash_hash_undefined__"),this},v.prototype.has=function(V){return this.__data__.has(V)};var O=A&&1/p(new A([,-0]))[1]==1/0?function(V){return new A(V)}:function(){};function _(V,G){var Q,H,q=V.__data__;return((H=typeof(Q=G))=="string"||H=="number"||H=="symbol"||H=="boolean"?Q!=="__proto__":Q===null)?q[typeof G=="string"?"string":"hash"]:q.map}function j(V,G){var Q=(function(H,q){return H==null?void 0:H[q]})(V,G);return P(Q)?Q:void 0}function B(V){var G=typeof V;return!!V&&(G=="object"||G=="function")}e.exports=function(V){return V&&V.length?(function(G,Q,H){var q=-1,U=l,F=G.length,K=!0,te=[],ae=te;if(H)K=!1,U=c;else if(F>=200){var pe=Q?null:O(G);if(pe)return p(pe);K=!1,U=u,ae=new v}else ae=Q?[]:te;e:for(;++q<F;){var Z=G[q],ee=Q?Q(Z):Z;if(Z=H||Z!==0?Z:0,K&&ee==ee){for(var ce=ae.length;ce--;)if(ae[ce]===ee)continue e;Q&&ae.push(ee),te.push(Z)}else U(ae,ee,H)||(ae!==te&&ae.push(ee),te.push(Z))}return te})(V):[]}}).call(this)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],450:[function(t,e,i){"use strict";var o=t("inherits"),r=t("hash-base"),n=t("safe-buffer").Buffer,a=new Array(16);function s(){r.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function l(m,h){return m<<h|m>>>32-h}function c(m,h,f,g,b,y,w){return l(m+(h&f|~h&g)+b+y|0,w)+h|0}function d(m,h,f,g,b,y,w){return l(m+(h&g|f&~g)+b+y|0,w)+h|0}function u(m,h,f,g,b,y,w){return l(m+(h^f^g)+b+y|0,w)+h|0}function p(m,h,f,g,b,y,w){return l(m+(f^(h|~g))+b+y|0,w)+h|0}o(s,r),s.prototype._update=function(){for(var m=a,h=0;h<16;++h)m[h]=this._block.readInt32LE(4*h);var f=this._a,g=this._b,b=this._c,y=this._d;f=c(f,g,b,y,m[0],3614090360,7),y=c(y,f,g,b,m[1],3905402710,12),b=c(b,y,f,g,m[2],606105819,17),g=c(g,b,y,f,m[3],3250441966,22),f=c(f,g,b,y,m[4],4118548399,7),y=c(y,f,g,b,m[5],1200080426,12),b=c(b,y,f,g,m[6],2821735955,17),g=c(g,b,y,f,m[7],4249261313,22),f=c(f,g,b,y,m[8],1770035416,7),y=c(y,f,g,b,m[9],2336552879,12),b=c(b,y,f,g,m[10],4294925233,17),g=c(g,b,y,f,m[11],2304563134,22),f=c(f,g,b,y,m[12],1804603682,7),y=c(y,f,g,b,m[13],4254626195,12),b=c(b,y,f,g,m[14],2792965006,17),f=d(f,g=c(g,b,y,f,m[15],1236535329,22),b,y,m[1],4129170786,5),y=d(y,f,g,b,m[6],3225465664,9),b=d(b,y,f,g,m[11],643717713,14),g=d(g,b,y,f,m[0],3921069994,20),f=d(f,g,b,y,m[5],3593408605,5),y=d(y,f,g,b,m[10],38016083,9),b=d(b,y,f,g,m[15],3634488961,14),g=d(g,b,y,f,m[4],3889429448,20),f=d(f,g,b,y,m[9],568446438,5),y=d(y,f,g,b,m[14],3275163606,9),b=d(b,y,f,g,m[3],4107603335,14),g=d(g,b,y,f,m[8],1163531501,20),f=d(f,g,b,y,m[13],2850285829,5),y=d(y,f,g,b,m[2],4243563512,9),b=d(b,y,f,g,m[7],1735328473,14),f=u(f,g=d(g,b,y,f,m[12],2368359562,20),b,y,m[5],4294588738,4),y=u(y,f,g,b,m[8],2272392833,11),b=u(b,y,f,g,m[11],1839030562,16),g=u(g,b,y,f,m[14],4259657740,23),f=u(f,g,b,y,m[1],2763975236,4),y=u(y,f,g,b,m[4],1272893353,11),b=u(b,y,f,g,m[7],4139469664,16),g=u(g,b,y,f,m[10],3200236656,23),f=u(f,g,b,y,m[13],681279174,4),y=u(y,f,g,b,m[0],3936430074,11),b=u(b,y,f,g,m[3],3572445317,16),g=u(g,b,y,f,m[6],76029189,23),f=u(f,g,b,y,m[9],3654602809,4),y=u(y,f,g,b,m[12],3873151461,11),b=u(b,y,f,g,m[15],530742520,16),f=p(f,g=u(g,b,y,f,m[2],3299628645,23),b,y,m[0],4096336452,6),y=p(y,f,g,b,m[7],1126891415,10),b=p(b,y,f,g,m[14],2878612391,15),g=p(g,b,y,f,m[5],4237533241,21),f=p(f,g,b,y,m[12],1700485571,6),y=p(y,f,g,b,m[3],2399980690,10),b=p(b,y,f,g,m[10],4293915773,15),g=p(g,b,y,f,m[1],2240044497,21),f=p(f,g,b,y,m[8],1873313359,6),y=p(y,f,g,b,m[15],4264355552,10),b=p(b,y,f,g,m[6],2734768916,15),g=p(g,b,y,f,m[13],1309151649,21),f=p(f,g,b,y,m[4],4149444226,6),y=p(y,f,g,b,m[11],3174756917,10),b=p(b,y,f,g,m[2],718787259,15),g=p(g,b,y,f,m[9],3951481745,21),this._a=this._a+f|0,this._b=this._b+g|0,this._c=this._c+b|0,this._d=this._d+y|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var m=n.allocUnsafe(16);return m.writeInt32LE(this._a,0),m.writeInt32LE(this._b,4),m.writeInt32LE(this._c,8),m.writeInt32LE(this._d,12),m},e.exports=s},{"hash-base":425,inherits:440,"safe-buffer":494}],451:[function(t,e,i){"use strict";var o=t("bn.js"),r=t("brorand");function n(a){this.rand=a||new r.Rand}e.exports=n,n.create=function(a){return new n(a)},n.prototype._randbelow=function(a){var s=a.bitLength(),l=Math.ceil(s/8);do var c=new o(this.rand.generate(l));while(c.cmp(a)>=0);return c},n.prototype._randrange=function(a,s){var l=s.sub(a);return a.add(this._randbelow(l))},n.prototype.test=function(a,s,l){var c=a.bitLength(),d=o.mont(a),u=new o(1).toRed(d);s||(s=Math.max(1,c/48|0));for(var p=a.subn(1),m=0;!p.testn(m);m++);for(var h=a.shrn(m),f=p.toRed(d);s>0;s--){var g=this._randrange(new o(2),p);l&&l(g);var b=g.toRed(d).redPow(h);if(b.cmp(u)!==0&&b.cmp(f)!==0){for(var y=1;y<m;y++){if((b=b.redSqr()).cmp(u)===0)return!1;if(b.cmp(f)===0)break}if(y===m)return!1}}return!0},n.prototype.getDivisor=function(a,s){var l=a.bitLength(),c=o.mont(a),d=new o(1).toRed(c);s||(s=Math.max(1,l/48|0));for(var u=a.subn(1),p=0;!u.testn(p);p++);for(var m=a.shrn(p),h=u.toRed(c);s>0;s--){var f=this._randrange(new o(2),u),g=a.gcd(f);if(g.cmpn(1)!==0)return g;var b=f.toRed(c).redPow(m);if(b.cmp(d)!==0&&b.cmp(h)!==0){for(var y=1;y<p;y++){if((b=b.redSqr()).cmp(d)===0)return b.fromRed().subn(1).gcd(a);if(b.cmp(h)===0)break}if(y===p)return(b=b.redSqr()).fromRed().subn(1).gcd(a)}}return!1}},{"bn.js":452,brorand:187}],452:[function(t,e,i){arguments[4][184][0].apply(i,arguments)},{buffer:188,dup:184}],453:[function(t,e,i){"use strict";function o(r,n){if(!r)throw new Error(n||"Assertion failed")}e.exports=o,o.equal=function(r,n,a){if(r!=n)throw new Error(a||"Assertion failed: "+r+" != "+n)}},{}],454:[function(t,e,i){"use strict";var o=i;function r(a){return a.length===1?"0"+a:a}function n(a){for(var s="",l=0;l<a.length;l++)s+=r(a[l].toString(16));return s}o.toArray=function(a,s){if(Array.isArray(a))return a.slice();if(!a)return[];var l=[];if(typeof a!="string"){for(var c=0;c<a.length;c++)l[c]=0|a[c];return l}if(s==="hex")for((a=a.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(a="0"+a),c=0;c<a.length;c+=2)l.push(parseInt(a[c]+a[c+1],16));else for(c=0;c<a.length;c++){var d=a.charCodeAt(c),u=d>>8,p=255&d;u?l.push(u,p):l.push(p)}return l},o.zero2=r,o.toHex=n,o.encode=function(a,s){return s==="hex"?n(a):a}},{}],455:[function(t,e,i){e.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],456:[function(t,e,i){"use strict";var o=t("asn1.js");i.certificate=t("./certificate");var r=o.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));i.RSAPrivateKey=r;var n=o.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));i.RSAPublicKey=n;var a=o.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));i.PublicKey=a;var s=o.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),l=o.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));i.PrivateKey=l;var c=o.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));i.EncryptedPrivateKey=c;var d=o.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));i.DSAPrivateKey=d,i.DSAparam=o.define("DSAparam",(function(){this.int()}));var u=o.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(p),this.key("publicKey").optional().explicit(1).bitstr())}));i.ECPrivateKey=u;var p=o.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));i.signature=o.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},{"./certificate":457,"asn1.js":170}],457:[function(t,e,i){"use strict";var o=t("asn1.js"),r=o.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),n=o.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=o.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=o.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),l=o.define("RelativeDistinguishedName",(function(){this.setof(n)})),c=o.define("RDNSequence",(function(){this.seqof(l)})),d=o.define("Name",(function(){this.choice({rdnSequence:this.use(c)})})),u=o.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(r),this.key("notAfter").use(r))})),p=o.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),m=o.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(d),this.key("validity").use(u),this.key("subject").use(d),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(p).optional())})),h=o.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(m),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));e.exports=h},{"asn1.js":170}],458:[function(t,e,i){"use strict";var o=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,r=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,n=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=t("evp_bytestokey"),s=t("browserify-aes"),l=t("safe-buffer").Buffer;e.exports=function(c,d){var u,p=c.toString(),m=p.match(o);if(m){var h="aes"+m[1],f=l.from(m[2],"hex"),g=l.from(m[3].replace(/[\r\n]/g,""),"base64"),b=a(d,f.slice(0,8),parseInt(m[1],10)).key,y=[],w=s.createDecipheriv(h,b,f);y.push(w.update(g)),y.push(w.final()),u=l.concat(y)}else{var x=p.match(n);u=l.from(x[2].replace(/[\r\n]/g,""),"base64")}return{tag:p.match(r)[1],data:u}}},{"browserify-aes":191,evp_bytestokey:423,"safe-buffer":494}],459:[function(t,e,i){"use strict";var o=t("./asn1"),r=t("./aesid.json"),n=t("./fixProc"),a=t("browserify-aes"),s=t("pbkdf2"),l=t("safe-buffer").Buffer;function c(d){var u;typeof d!="object"||l.isBuffer(d)||(u=d.passphrase,d=d.key),typeof d=="string"&&(d=l.from(d));var p,m,h=n(d,u),f=h.tag,g=h.data;switch(f){case"CERTIFICATE":m=o.certificate.decode(g,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(m||(m=o.PublicKey.decode(g,"der")),p=m.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return o.RSAPublicKey.decode(m.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return m.subjectPrivateKey=m.subjectPublicKey,{type:"ec",data:m};case"1.2.840.10040.4.1":return m.algorithm.params.pub_key=o.DSAparam.decode(m.subjectPublicKey.data,"der"),{type:"dsa",data:m.algorithm.params};default:throw new Error("unknown key id "+p)}case"ENCRYPTED PRIVATE KEY":g=(function(b,y){var w=b.algorithm.decrypt.kde.kdeparams.salt,x=parseInt(b.algorithm.decrypt.kde.kdeparams.iters.toString(),10),S=r[b.algorithm.decrypt.cipher.algo.join(".")],T=b.algorithm.decrypt.cipher.iv,M=b.subjectPrivateKey,I=parseInt(S.split("-")[1],10)/8,A=s.pbkdf2Sync(y,w,x,I,"sha1"),D=a.createDecipheriv(S,A,T),E=[];return E.push(D.update(M)),E.push(D.final()),l.concat(E)})(g=o.EncryptedPrivateKey.decode(g,"der"),u);case"PRIVATE KEY":switch(p=(m=o.PrivateKey.decode(g,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return o.RSAPrivateKey.decode(m.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:m.algorithm.curve,privateKey:o.ECPrivateKey.decode(m.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return m.algorithm.params.priv_key=o.DSAparam.decode(m.subjectPrivateKey,"der"),{type:"dsa",params:m.algorithm.params};default:throw new Error("unknown key id "+p)}case"RSA PUBLIC KEY":return o.RSAPublicKey.decode(g,"der");case"RSA PRIVATE KEY":return o.RSAPrivateKey.decode(g,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:o.DSAPrivateKey.decode(g,"der")};case"EC PRIVATE KEY":return{curve:(g=o.ECPrivateKey.decode(g,"der")).parameters.value,privateKey:g.privateKey};default:throw new Error("unknown key type "+f)}}e.exports=c,c.signature=o.signature},{"./aesid.json":455,"./asn1":456,"./fixProc":458,"browserify-aes":191,pbkdf2:460,"safe-buffer":494}],460:[function(t,e,i){"use strict";i.pbkdf2=t("./lib/async"),i.pbkdf2Sync=t("./lib/sync")},{"./lib/async":461,"./lib/sync":464}],461:[function(t,e,i){(function(o){(function(){"use strict";var r,n,a=t("safe-buffer").Buffer,s=t("./precondition"),l=t("./default-encoding"),c=t("./sync"),d=t("./to-buffer"),u=o.crypto&&o.crypto.subtle,p={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},m=[];function h(){return n||(n=o.process&&o.process.nextTick?o.process.nextTick:o.queueMicrotask?o.queueMicrotask:o.setImmediate?o.setImmediate:o.setTimeout)}function f(g,b,y,w,x){return u.importKey("raw",g,{name:"PBKDF2"},!1,["deriveBits"]).then((function(S){return u.deriveBits({name:"PBKDF2",salt:b,iterations:y,hash:{name:x}},S,w<<3)})).then((function(S){return a.from(S)}))}e.exports=function(g,b,y,w,x,S){typeof x=="function"&&(S=x,x=void 0);var T=p[(x=x||"sha1").toLowerCase()];if(T&&typeof o.Promise=="function"){if(s(y,w),g=d(g,l,"Password"),b=d(b,l,"Salt"),typeof S!="function")throw new Error("No callback provided to pbkdf2");(function(M,I){M.then((function(A){h()((function(){I(null,A)}))}),(function(A){h()((function(){I(A)}))}))})((function(M){if(o.process&&!o.process.browser||!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(m[M]!==void 0)return m[M];var I=f(r=r||a.alloc(8),r,10,128,M).then((function(){return!0})).catch((function(){return!1}));return m[M]=I,I})(T).then((function(M){return M?f(g,b,y,w,T):c(g,b,y,w,x)})),S)}else h()((function(){var M;try{M=c(g,b,y,w,x)}catch(I){return S(I)}S(null,M)}))}}).call(this)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./default-encoding":462,"./precondition":463,"./sync":464,"./to-buffer":465,"safe-buffer":494}],462:[function(t,e,i){(function(o,r){(function(){"use strict";var n;r.process&&r.process.browser?n="utf-8":r.process&&r.process.version?n=parseInt(o.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":n="utf-8",e.exports=n}).call(this)}).call(this,t("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{_process:467}],463:[function(t,e,i){"use strict";var o=Math.pow(2,30)-1;e.exports=function(r,n){if(typeof r!="number")throw new TypeError("Iterations not a number");if(r<0)throw new TypeError("Bad iterations");if(typeof n!="number")throw new TypeError("Key length not a number");if(n<0||n>o||n!=n)throw new TypeError("Bad key length")}},{}],464:[function(t,e,i){"use strict";var o=t("create-hash/md5"),r=t("ripemd160"),n=t("sha.js"),a=t("safe-buffer").Buffer,s=t("./precondition"),l=t("./default-encoding"),c=t("./to-buffer"),d=a.alloc(128),u={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function p(m,h,f){var g=(function(T){function M(I){return n(T).update(I).digest()}return T==="rmd160"||T==="ripemd160"?function(I){return new r().update(I).digest()}:T==="md5"?o:M})(m),b=m==="sha512"||m==="sha384"?128:64;h.length>b?h=g(h):h.length<b&&(h=a.concat([h,d],b));for(var y=a.allocUnsafe(b+u[m]),w=a.allocUnsafe(b+u[m]),x=0;x<b;x++)y[x]=54^h[x],w[x]=92^h[x];var S=a.allocUnsafe(b+f+4);y.copy(S,0,0,b),this.ipad1=S,this.ipad2=y,this.opad=w,this.alg=m,this.blocksize=b,this.hash=g,this.size=u[m]}p.prototype.run=function(m,h){return m.copy(h,this.blocksize),this.hash(h).copy(this.opad,this.blocksize),this.hash(this.opad)},e.exports=function(m,h,f,g,b){s(f,g);var y=new p(b=b||"sha1",m=c(m,l,"Password"),(h=c(h,l,"Salt")).length),w=a.allocUnsafe(g),x=a.allocUnsafe(h.length+4);h.copy(x,0,0,h.length);for(var S=0,T=u[b],M=Math.ceil(g/T),I=1;I<=M;I++){x.writeUInt32BE(I,h.length);for(var A=y.run(x,y.ipad1),D=A,E=1;E<f;E++){D=y.run(D,y.ipad2);for(var N=0;N<T;N++)A[N]^=D[N]}A.copy(w,S),S+=T}return w}},{"./default-encoding":462,"./precondition":463,"./to-buffer":465,"create-hash/md5":387,ripemd160:493,"safe-buffer":494,"sha.js":498}],465:[function(t,e,i){"use strict";var o=t("safe-buffer").Buffer;e.exports=function(r,n,a){if(o.isBuffer(r))return r;if(typeof r=="string")return o.from(r,n);if(ArrayBuffer.isView(r))return o.from(r.buffer);throw new TypeError(a+" must be a string, a Buffer, a typed array or a DataView")}},{"safe-buffer":494}],466:[function(t,e,i){(function(o){(function(){"use strict";o===void 0||!o.version||o.version.indexOf("v0.")===0||o.version.indexOf("v1.")===0&&o.version.indexOf("v1.8.")!==0?e.exports={nextTick:function(r,n,a,s){if(typeof r!="function")throw new TypeError('"callback" argument must be a function');var l,c,d=arguments.length;switch(d){case 0:case 1:return o.nextTick(r);case 2:return o.nextTick((function(){r.call(null,n)}));case 3:return o.nextTick((function(){r.call(null,n,a)}));case 4:return o.nextTick((function(){r.call(null,n,a,s)}));default:for(l=new Array(d-1),c=0;c<l.length;)l[c++]=arguments[c];return o.nextTick((function(){r.apply(null,l)}))}}}:e.exports=o}).call(this)}).call(this,t("_process"))},{_process:467}],467:[function(t,e,i){"use strict";var o,r,n=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(b){if(o===setTimeout)return setTimeout(b,0);if((o===a||!o)&&setTimeout)return o=setTimeout,setTimeout(b,0);try{return o(b,0)}catch{try{return o.call(null,b,0)}catch{return o.call(this,b,0)}}}(function(){try{o=typeof setTimeout=="function"?setTimeout:a}catch{o=a}try{r=typeof clearTimeout=="function"?clearTimeout:s}catch{r=s}})();var c,d=[],u=!1,p=-1;function m(){u&&c&&(u=!1,c.length?d=c.concat(d):p=-1,d.length&&h())}function h(){if(!u){var b=l(m);u=!0;for(var y=d.length;y;){for(c=d,d=[];++p<y;)c&&c[p].run();p=-1,y=d.length}c=null,u=!1,(function(w){if(r===clearTimeout)return clearTimeout(w);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(w);try{r(w)}catch{try{return r.call(null,w)}catch{return r.call(this,w)}}})(b)}}function f(b,y){this.fun=b,this.array=y}function g(){}n.nextTick=function(b){var y=new Array(arguments.length-1);if(arguments.length>1)for(var w=1;w<arguments.length;w++)y[w-1]=arguments[w];d.push(new f(b,y)),d.length!==1||u||l(h)},f.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=g,n.addListener=g,n.once=g,n.off=g,n.removeListener=g,n.removeAllListeners=g,n.emit=g,n.prependListener=g,n.prependOnceListener=g,n.listeners=function(b){return[]},n.binding=function(b){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(b){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},{}],468:[function(t,e,i){"use strict";i.publicEncrypt=t("./publicEncrypt"),i.privateDecrypt=t("./privateDecrypt"),i.privateEncrypt=function(o,r){return i.publicEncrypt(o,r,!0)},i.publicDecrypt=function(o,r){return i.privateDecrypt(o,r,!0)}},{"./privateDecrypt":471,"./publicEncrypt":472}],469:[function(t,e,i){"use strict";var o=t("create-hash"),r=t("safe-buffer").Buffer;function n(a){var s=r.allocUnsafe(4);return s.writeUInt32BE(a,0),s}e.exports=function(a,s){for(var l,c=r.alloc(0),d=0;c.length<s;)l=n(d++),c=r.concat([c,o("sha1").update(a).update(l).digest()]);return c.slice(0,s)}},{"create-hash":386,"safe-buffer":494}],470:[function(t,e,i){arguments[4][184][0].apply(i,arguments)},{buffer:188,dup:184}],471:[function(t,e,i){"use strict";var o=t("parse-asn1"),r=t("./mgf"),n=t("./xor"),a=t("bn.js"),s=t("browserify-rsa"),l=t("create-hash"),c=t("./withPublic"),d=t("safe-buffer").Buffer;e.exports=function(u,p,m){var h;h=u.padding?u.padding:m?1:4;var f,g=o(u),b=g.modulus.byteLength();if(p.length>b||new a(p).cmp(g.modulus)>=0)throw new Error("decryption error");f=m?c(new a(p),g):s(p,g);var y=d.alloc(b-f.length);if(f=d.concat([y,f],b),h===4)return(function(w,x){var S=w.modulus.byteLength(),T=l("sha1").update(d.alloc(0)).digest(),M=T.length;if(x[0]!==0)throw new Error("decryption error");var I=x.slice(1,M+1),A=x.slice(M+1),D=n(I,r(A,M)),E=n(A,r(D,S-M-1));if((function(R,v){R=d.from(R),v=d.from(v);var k=0,P=R.length;R.length!==v.length&&(k++,P=Math.min(R.length,v.length));for(var O=-1;++O<P;)k+=R[O]^v[O];return k})(T,E.slice(0,M)))throw new Error("decryption error");for(var N=M;E[N]===0;)N++;if(E[N++]!==1)throw new Error("decryption error");return E.slice(N)})(g,f);if(h===1)return(function(w,x,S){for(var T=x.slice(0,2),M=2,I=0;x[M++]!==0;)if(M>=x.length){I++;break}var A=x.slice(2,M-1);if((T.toString("hex")!=="0002"&&!S||T.toString("hex")!=="0001"&&S)&&I++,A.length<8&&I++,I)throw new Error("decryption error");return x.slice(M)})(0,f,m);if(h===3)return f;throw new Error("unknown padding")}},{"./mgf":469,"./withPublic":473,"./xor":474,"bn.js":470,"browserify-rsa":209,"create-hash":386,"parse-asn1":459,"safe-buffer":494}],472:[function(t,e,i){"use strict";var o=t("parse-asn1"),r=t("randombytes"),n=t("create-hash"),a=t("./mgf"),s=t("./xor"),l=t("bn.js"),c=t("./withPublic"),d=t("browserify-rsa"),u=t("safe-buffer").Buffer;e.exports=function(p,m,h){var f;f=p.padding?p.padding:h?1:4;var g,b=o(p);if(f===4)g=(function(y,w){var x=y.modulus.byteLength(),S=w.length,T=n("sha1").update(u.alloc(0)).digest(),M=T.length,I=2*M;if(S>x-I-2)throw new Error("message too long");var A=u.alloc(x-S-I-2),D=x-M-1,E=r(M),N=s(u.concat([T,A,u.alloc(1,1),w],D),a(E,D)),R=s(E,a(N,M));return new l(u.concat([u.alloc(1),R,N],x))})(b,m);else if(f===1)g=(function(y,w,x){var S,T=w.length,M=y.modulus.byteLength();if(T>M-11)throw new Error("message too long");return S=x?u.alloc(M-T-3,255):(function(I){for(var A,D=u.allocUnsafe(I),E=0,N=r(2*I),R=0;E<I;)R===N.length&&(N=r(2*I),R=0),(A=N[R++])&&(D[E++]=A);return D})(M-T-3),new l(u.concat([u.from([0,x?1:2]),S,u.alloc(1),w],M))})(b,m,h);else{if(f!==3)throw new Error("unknown padding");if((g=new l(m)).cmp(b.modulus)>=0)throw new Error("data too long for modulus")}return h?d(g,b):c(g,b)}},{"./mgf":469,"./withPublic":473,"./xor":474,"bn.js":470,"browserify-rsa":209,"create-hash":386,"parse-asn1":459,randombytes:475,"safe-buffer":494}],473:[function(t,e,i){"use strict";var o=t("bn.js"),r=t("safe-buffer").Buffer;e.exports=function(n,a){return r.from(n.toRed(o.mont(a.modulus)).redPow(new o(a.publicExponent)).fromRed().toArray())}},{"bn.js":470,"safe-buffer":494}],474:[function(t,e,i){"use strict";e.exports=function(o,r){for(var n=o.length,a=-1;++a<n;)o[a]^=r[a];return o}},{}],475:[function(t,e,i){(function(o,r){(function(){"use strict";var n=t("safe-buffer").Buffer,a=r.crypto||r.msCrypto;a&&a.getRandomValues?e.exports=function(s,l){if(s>4294967295)throw new RangeError("requested too many random bytes");var c=n.allocUnsafe(s);if(s>0)if(s>65536)for(var d=0;d<s;d+=65536)a.getRandomValues(c.slice(d,d+65536));else a.getRandomValues(c);return typeof l=="function"?o.nextTick((function(){l(null,c)})):c}:e.exports=function(){throw new Error(`Secure random number generation is not supported by this browser.
Use Chrome, Firefox or Internet Explorer 11`)}}).call(this)}).call(this,t("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{_process:467,"safe-buffer":494}],476:[function(t,e,i){(function(o,r){(function(){"use strict";function n(){throw new Error(`secure random number generation not supported by this browser
use chrome, FireFox or Internet Explorer 11`)}var a=t("safe-buffer"),s=t("randombytes"),l=a.Buffer,c=a.kMaxLength,d=r.crypto||r.msCrypto,u=Math.pow(2,32)-1;function p(f,g){if(typeof f!="number"||f!=f)throw new TypeError("offset must be a number");if(f>u||f<0)throw new TypeError("offset must be a uint32");if(f>c||f>g)throw new RangeError("offset out of range")}function m(f,g,b){if(typeof f!="number"||f!=f)throw new TypeError("size must be a number");if(f>u||f<0)throw new TypeError("size must be a uint32");if(f+g>b||f>c)throw new RangeError("buffer too small")}function h(f,g,b,y){if(o.browser){var w=f.buffer,x=new Uint8Array(w,g,b);return d.getRandomValues(x),y?void o.nextTick((function(){y(null,f)})):f}if(!y)return s(b).copy(f,g),f;s(b,(function(S,T){if(S)return y(S);T.copy(f,g),y(null,f)}))}d&&d.getRandomValues||!o.browser?(i.randomFill=function(f,g,b,y){if(!(l.isBuffer(f)||f instanceof r.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof g=="function")y=g,g=0,b=f.length;else if(typeof b=="function")y=b,b=f.length-g;else if(typeof y!="function")throw new TypeError('"cb" argument must be a function');return p(g,f.length),m(b,g,f.length),h(f,g,b,y)},i.randomFillSync=function(f,g,b){if(g===void 0&&(g=0),!(l.isBuffer(f)||f instanceof r.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return p(g,f.length),b===void 0&&(b=f.length-g),m(b,g,f.length),h(f,g,b)}):(i.randomFill=n,i.randomFillSync=n)}).call(this)}).call(this,t("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{_process:467,randombytes:475,"safe-buffer":494}],477:[function(t,e,i){"use strict";var o={};function r(a,s,l){l||(l=Error);var c=(function(d){var u,p;function m(h,f,g){return d.call(this,(function(b,y,w){return typeof s=="string"?s:s(b,y,w)})(h,f,g))||this}return p=d,(u=m).prototype=Object.create(p.prototype),u.prototype.constructor=u,u.__proto__=p,m})(l);c.prototype.name=l.name,c.prototype.code=a,o[a]=c}function n(a,s){if(Array.isArray(a)){var l=a.length;return a=a.map((function(c){return String(c)})),l>2?"one of ".concat(s," ").concat(a.slice(0,l-1).join(", "),", or ")+a[l-1]:l===2?"one of ".concat(s," ").concat(a[0]," or ").concat(a[1]):"of ".concat(s," ").concat(a[0])}return"of ".concat(s," ").concat(String(a))}r("ERR_INVALID_OPT_VALUE",(function(a,s){return'The value "'+s+'" is invalid for option "'+a+'"'}),TypeError),r("ERR_INVALID_ARG_TYPE",(function(a,s,l){var c,d,u,p;if(typeof s=="string"&&(d="not ",s.substr(!u||u<0?0:+u,d.length)===d)?(c="must not be",s=s.replace(/^not /,"")):c="must be",(function(h,f,g){return(g===void 0||g>h.length)&&(g=h.length),h.substring(g-f.length,g)===f})(a," argument"))p="The ".concat(a," ").concat(c," ").concat(n(s,"type"));else{var m=(function(h,f,g){return typeof g!="number"&&(g=0),!(g+f.length>h.length)&&h.indexOf(f,g)!==-1})(a,".")?"property":"argument";p='The "'.concat(a,'" ').concat(m," ").concat(c," ").concat(n(s,"type"))}return p+=". Received type ".concat(typeof l)}),TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",(function(a){return"The "+a+" method is not implemented"})),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",(function(a){return"Cannot call "+a+" after a stream was destroyed"})),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",(function(a){return"Unknown encoding: "+a}),TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=o},{}],478:[function(t,e,i){(function(o){(function(){"use strict";var r=Object.keys||function(m){var h=[];for(var f in m)h.push(f);return h};e.exports=d;var n=t("./_stream_readable"),a=t("./_stream_writable");t("inherits")(d,n);for(var s=r(a.prototype),l=0;l<s.length;l++){var c=s[l];d.prototype[c]||(d.prototype[c]=a.prototype[c])}function d(m){if(!(this instanceof d))return new d(m);n.call(this,m),a.call(this,m),this.allowHalfOpen=!0,m&&(m.readable===!1&&(this.readable=!1),m.writable===!1&&(this.writable=!1),m.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||o.nextTick(p,this)}function p(m){m.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(d.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(d.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(m){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=m,this._writableState.destroyed=m)}})}).call(this)}).call(this,t("_process"))},{"./_stream_readable":480,"./_stream_writable":482,_process:467,inherits:440}],479:[function(t,e,i){"use strict";e.exports=r;var o=t("./_stream_transform");function r(n){if(!(this instanceof r))return new r(n);o.call(this,n)}t("inherits")(r,o),r.prototype._transform=function(n,a,s){s(null,n)}},{"./_stream_transform":481,inherits:440}],480:[function(t,e,i){(function(o,r){(function(){"use strict";var n;e.exports=D,D.ReadableState=A,t("events").EventEmitter;var a=function(U,F){return U.listeners(F).length},s=t("./internal/streams/stream"),l=t("buffer").Buffer,c=(r!==void 0?r:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},d,u=t("util");d=u&&u.debuglog?u.debuglog("stream"):function(){};var p,m,h,f=t("./internal/streams/buffer_list"),g=t("./internal/streams/destroy"),b=t("./internal/streams/state").getHighWaterMark,y=t("../errors").codes,w=y.ERR_INVALID_ARG_TYPE,x=y.ERR_STREAM_PUSH_AFTER_EOF,S=y.ERR_METHOD_NOT_IMPLEMENTED,T=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;t("inherits")(D,s);var M=g.errorOrDestroy,I=["error","close","destroy","pause","resume"];function A(U,F,K){n=n||t("./_stream_duplex"),U=U||{},typeof K!="boolean"&&(K=F instanceof n),this.objectMode=!!U.objectMode,K&&(this.objectMode=this.objectMode||!!U.readableObjectMode),this.highWaterMark=b(this,U,"readableHighWaterMark",K),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=U.emitClose!==!1,this.autoDestroy=!!U.autoDestroy,this.destroyed=!1,this.defaultEncoding=U.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,U.encoding&&(p||(p=t("string_decoder/").StringDecoder),this.decoder=new p(U.encoding),this.encoding=U.encoding)}function D(U){if(n=n||t("./_stream_duplex"),!(this instanceof D))return new D(U);var F=this instanceof n;this._readableState=new A(U,this,F),this.readable=!0,U&&(typeof U.read=="function"&&(this._read=U.read),typeof U.destroy=="function"&&(this._destroy=U.destroy)),s.call(this)}function E(U,F,K,te,ae){d("readableAddChunk",F);var pe,Z=U._readableState;if(F===null)Z.reading=!1,(function(ee,ce){if(d("onEofChunk"),!ce.ended){if(ce.decoder){var ne=ce.decoder.end();ne&&ne.length&&(ce.buffer.push(ne),ce.length+=ce.objectMode?1:ne.length)}ce.ended=!0,ce.sync?v(ee):(ce.needReadable=!1,ce.emittedReadable||(ce.emittedReadable=!0,k(ee)))}})(U,Z);else if(ae||(pe=(function(ee,ce){var ne;oe=ce,l.isBuffer(oe)||oe instanceof c||typeof ce=="string"||ce===void 0||ee.objectMode||(ne=new w("chunk",["string","Buffer","Uint8Array"],ce));var oe;return ne})(Z,F)),pe)M(U,pe);else if(Z.objectMode||F&&F.length>0)if(typeof F=="string"||Z.objectMode||Object.getPrototypeOf(F)===l.prototype||(F=(function(ee){return l.from(ee)})(F)),te)Z.endEmitted?M(U,new T):N(U,Z,F,!0);else if(Z.ended)M(U,new x);else{if(Z.destroyed)return!1;Z.reading=!1,Z.decoder&&!K?(F=Z.decoder.write(F),Z.objectMode||F.length!==0?N(U,Z,F,!1):P(U,Z)):N(U,Z,F,!1)}else te||(Z.reading=!1,P(U,Z));return!Z.ended&&(Z.length<Z.highWaterMark||Z.length===0)}function N(U,F,K,te){F.flowing&&F.length===0&&!F.sync?(F.awaitDrain=0,U.emit("data",K)):(F.length+=F.objectMode?1:K.length,te?F.buffer.unshift(K):F.buffer.push(K),F.needReadable&&v(U)),P(U,F)}Object.defineProperty(D.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(U){this._readableState&&(this._readableState.destroyed=U)}}),D.prototype.destroy=g.destroy,D.prototype._undestroy=g.undestroy,D.prototype._destroy=function(U,F){F(U)},D.prototype.push=function(U,F){var K,te=this._readableState;return te.objectMode?K=!0:typeof U=="string"&&((F=F||te.defaultEncoding)!==te.encoding&&(U=l.from(U,F),F=""),K=!0),E(this,U,F,!1,K)},D.prototype.unshift=function(U){return E(this,U,null,!0,!1)},D.prototype.isPaused=function(){return this._readableState.flowing===!1},D.prototype.setEncoding=function(U){p||(p=t("string_decoder/").StringDecoder);var F=new p(U);this._readableState.decoder=F,this._readableState.encoding=this._readableState.decoder.encoding;for(var K=this._readableState.buffer.head,te="";K!==null;)te+=F.write(K.data),K=K.next;return this._readableState.buffer.clear(),te!==""&&this._readableState.buffer.push(te),this._readableState.length=te.length,this};function R(U,F){return U<=0||F.length===0&&F.ended?0:F.objectMode?1:U!=U?F.flowing&&F.length?F.buffer.head.data.length:F.length:(U>F.highWaterMark&&(F.highWaterMark=(function(K){return K>=1073741824?K=1073741824:(K--,K|=K>>>1,K|=K>>>2,K|=K>>>4,K|=K>>>8,K|=K>>>16,K++),K})(U)),U<=F.length?U:F.ended?F.length:(F.needReadable=!0,0))}function v(U){var F=U._readableState;d("emitReadable",F.needReadable,F.emittedReadable),F.needReadable=!1,F.emittedReadable||(d("emitReadable",F.flowing),F.emittedReadable=!0,o.nextTick(k,U))}function k(U){var F=U._readableState;d("emitReadable_",F.destroyed,F.length,F.ended),F.destroyed||!F.length&&!F.ended||(U.emit("readable"),F.emittedReadable=!1),F.needReadable=!F.flowing&&!F.ended&&F.length<=F.highWaterMark,V(U)}function P(U,F){F.readingMore||(F.readingMore=!0,o.nextTick(O,U,F))}function O(U,F){for(;!F.reading&&!F.ended&&(F.length<F.highWaterMark||F.flowing&&F.length===0);){var K=F.length;if(d("maybeReadMore read 0"),U.read(0),K===F.length)break}F.readingMore=!1}function _(U){var F=U._readableState;F.readableListening=U.listenerCount("readable")>0,F.resumeScheduled&&!F.paused?F.flowing=!0:U.listenerCount("data")>0&&U.resume()}function j(U){d("readable nexttick read 0"),U.read(0)}function B(U,F){d("resume",F.reading),F.reading||U.read(0),F.resumeScheduled=!1,U.emit("resume"),V(U),F.flowing&&!F.reading&&U.read(0)}function V(U){var F=U._readableState;for(d("flow",F.flowing);F.flowing&&U.read()!==null;);}function G(U,F){return F.length===0?null:(F.objectMode?K=F.buffer.shift():!U||U>=F.length?(K=F.decoder?F.buffer.join(""):F.buffer.length===1?F.buffer.first():F.buffer.concat(F.length),F.buffer.clear()):K=F.buffer.consume(U,F.decoder),K);var K}function Q(U){var F=U._readableState;d("endReadable",F.endEmitted),F.endEmitted||(F.ended=!0,o.nextTick(H,F,U))}function H(U,F){if(d("endReadableNT",U.endEmitted,U.length),!U.endEmitted&&U.length===0&&(U.endEmitted=!0,F.readable=!1,F.emit("end"),U.autoDestroy)){var K=F._writableState;(!K||K.autoDestroy&&K.finished)&&F.destroy()}}function q(U,F){for(var K=0,te=U.length;K<te;K++)if(U[K]===F)return K;return-1}D.prototype.read=function(U){d("read",U),U=parseInt(U,10);var F=this._readableState,K=U;if(U!==0&&(F.emittedReadable=!1),U===0&&F.needReadable&&((F.highWaterMark!==0?F.length>=F.highWaterMark:F.length>0)||F.ended))return d("read: emitReadable",F.length,F.ended),F.length===0&&F.ended?Q(this):v(this),null;if((U=R(U,F))===0&&F.ended)return F.length===0&&Q(this),null;var te,ae=F.needReadable;return d("need readable",ae),(F.length===0||F.length-U<F.highWaterMark)&&d("length less than watermark",ae=!0),F.ended||F.reading?d("reading or ended",ae=!1):ae&&(d("do read"),F.reading=!0,F.sync=!0,F.length===0&&(F.needReadable=!0),this._read(F.highWaterMark),F.sync=!1,F.reading||(U=R(K,F))),(te=U>0?G(U,F):null)===null?(F.needReadable=F.length<=F.highWaterMark,U=0):(F.length-=U,F.awaitDrain=0),F.length===0&&(F.ended||(F.needReadable=!0),K!==U&&F.ended&&Q(this)),te!==null&&this.emit("data",te),te},D.prototype._read=function(U){M(this,new S("_read()"))},D.prototype.pipe=function(U,F){var K=this,te=this._readableState;switch(te.pipesCount){case 0:te.pipes=U;break;case 1:te.pipes=[te.pipes,U];break;default:te.pipes.push(U)}te.pipesCount+=1,d("pipe count=%d opts=%j",te.pipesCount,F);var ae=(!F||F.end!==!1)&&U!==o.stdout&&U!==o.stderr?Z:X;function pe(ie,de){d("onunpipe"),ie===K&&de&&de.hasUnpiped===!1&&(de.hasUnpiped=!0,d("cleanup"),U.removeListener("close",re),U.removeListener("finish",Y),U.removeListener("drain",ee),U.removeListener("error",oe),U.removeListener("unpipe",pe),K.removeListener("end",Z),K.removeListener("end",X),K.removeListener("data",ne),ce=!0,!te.awaitDrain||U._writableState&&!U._writableState.needDrain||ee())}function Z(){d("onend"),U.end()}te.endEmitted?o.nextTick(ae):K.once("end",ae),U.on("unpipe",pe);var ee=(function(ie){return function(){var de=ie._readableState;d("pipeOnDrain",de.awaitDrain),de.awaitDrain&&de.awaitDrain--,de.awaitDrain===0&&a(ie,"data")&&(de.flowing=!0,V(ie))}})(K);U.on("drain",ee);var ce=!1;function ne(ie){d("ondata");var de=U.write(ie);d("dest.write",de),de===!1&&((te.pipesCount===1&&te.pipes===U||te.pipesCount>1&&q(te.pipes,U)!==-1)&&!ce&&(d("false write response, pause",te.awaitDrain),te.awaitDrain++),K.pause())}function oe(ie){d("onerror",ie),X(),U.removeListener("error",oe),a(U,"error")===0&&M(U,ie)}function re(){U.removeListener("finish",Y),X()}function Y(){d("onfinish"),U.removeListener("close",re),X()}function X(){d("unpipe"),K.unpipe(U)}return K.on("data",ne),(function(ie,de,fe){if(typeof ie.prependListener=="function")return ie.prependListener(de,fe);ie._events&&ie._events[de]?Array.isArray(ie._events[de])?ie._events[de].unshift(fe):ie._events[de]=[fe,ie._events[de]]:ie.on(de,fe)})(U,"error",oe),U.once("close",re),U.once("finish",Y),U.emit("pipe",K),te.flowing||(d("pipe resume"),K.resume()),U},D.prototype.unpipe=function(U){var F=this._readableState,K={hasUnpiped:!1};if(F.pipesCount===0)return this;if(F.pipesCount===1)return U&&U!==F.pipes||(U||(U=F.pipes),F.pipes=null,F.pipesCount=0,F.flowing=!1,U&&U.emit("unpipe",this,K)),this;if(!U){var te=F.pipes,ae=F.pipesCount;F.pipes=null,F.pipesCount=0,F.flowing=!1;for(var pe=0;pe<ae;pe++)te[pe].emit("unpipe",this,{hasUnpiped:!1});return this}var Z=q(F.pipes,U);return Z===-1||(F.pipes.splice(Z,1),F.pipesCount-=1,F.pipesCount===1&&(F.pipes=F.pipes[0]),U.emit("unpipe",this,K)),this},D.prototype.on=function(U,F){var K=s.prototype.on.call(this,U,F),te=this._readableState;return U==="data"?(te.readableListening=this.listenerCount("readable")>0,te.flowing!==!1&&this.resume()):U==="readable"&&(te.endEmitted||te.readableListening||(te.readableListening=te.needReadable=!0,te.flowing=!1,te.emittedReadable=!1,d("on readable",te.length,te.reading),te.length?v(this):te.reading||o.nextTick(j,this))),K},D.prototype.addListener=D.prototype.on,D.prototype.removeListener=function(U,F){var K=s.prototype.removeListener.call(this,U,F);return U==="readable"&&o.nextTick(_,this),K},D.prototype.removeAllListeners=function(U){var F=s.prototype.removeAllListeners.apply(this,arguments);return U!=="readable"&&U!==void 0||o.nextTick(_,this),F},D.prototype.resume=function(){var U=this._readableState;return U.flowing||(d("resume"),U.flowing=!U.readableListening,(function(F,K){K.resumeScheduled||(K.resumeScheduled=!0,o.nextTick(B,F,K))})(this,U)),U.paused=!1,this},D.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},D.prototype.wrap=function(U){var F=this,K=this._readableState,te=!1;for(var ae in U.on("end",(function(){if(d("wrapped end"),K.decoder&&!K.ended){var Z=K.decoder.end();Z&&Z.length&&F.push(Z)}F.push(null)})),U.on("data",(function(Z){d("wrapped data"),K.decoder&&(Z=K.decoder.write(Z)),K.objectMode&&Z==null||(K.objectMode||Z&&Z.length)&&(F.push(Z)||(te=!0,U.pause()))})),U)this[ae]===void 0&&typeof U[ae]=="function"&&(this[ae]=(function(Z){return function(){return U[Z].apply(U,arguments)}})(ae));for(var pe=0;pe<I.length;pe++)U.on(I[pe],this.emit.bind(this,I[pe]));return this._read=function(Z){d("wrapped _read",Z),te&&(te=!1,U.resume())},this},typeof Symbol=="function"&&(D.prototype[Symbol.asyncIterator]=function(){return m===void 0&&(m=t("./internal/streams/async_iterator")),m(this)}),Object.defineProperty(D.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(D.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(D.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(U){this._readableState&&(this._readableState.flowing=U)}}),D._fromList=G,Object.defineProperty(D.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol=="function"&&(D.from=function(U,F){return h===void 0&&(h=t("./internal/streams/from")),h(D,U,F)})}).call(this)}).call(this,t("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"../errors":477,"./_stream_duplex":478,"./internal/streams/async_iterator":483,"./internal/streams/buffer_list":484,"./internal/streams/destroy":485,"./internal/streams/from":487,"./internal/streams/state":489,"./internal/streams/stream":490,_process:467,buffer:220,events:422,inherits:440,"string_decoder/":522,util:188}],481:[function(t,e,i){"use strict";e.exports=d;var o=t("../errors").codes,r=o.ERR_METHOD_NOT_IMPLEMENTED,n=o.ERR_MULTIPLE_CALLBACK,a=o.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=o.ERR_TRANSFORM_WITH_LENGTH_0,l=t("./_stream_duplex");function c(m,h){var f=this._transformState;f.transforming=!1;var g=f.writecb;if(g===null)return this.emit("error",new n);f.writechunk=null,f.writecb=null,h!=null&&this.push(h),g(m);var b=this._readableState;b.reading=!1,(b.needReadable||b.length<b.highWaterMark)&&this._read(b.highWaterMark)}function d(m){if(!(this instanceof d))return new d(m);l.call(this,m),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,m&&(typeof m.transform=="function"&&(this._transform=m.transform),typeof m.flush=="function"&&(this._flush=m.flush)),this.on("prefinish",u)}function u(){var m=this;typeof this._flush!="function"||this._readableState.destroyed?p(this,null,null):this._flush((function(h,f){p(m,h,f)}))}function p(m,h,f){if(h)return m.emit("error",h);if(f!=null&&m.push(f),m._writableState.length)throw new s;if(m._transformState.transforming)throw new a;return m.push(null)}t("inherits")(d,l),d.prototype.push=function(m,h){return this._transformState.needTransform=!1,l.prototype.push.call(this,m,h)},d.prototype._transform=function(m,h,f){f(new r("_transform()"))},d.prototype._write=function(m,h,f){var g=this._transformState;if(g.writecb=f,g.writechunk=m,g.writeencoding=h,!g.transforming){var b=this._readableState;(g.needTransform||b.needReadable||b.length<b.highWaterMark)&&this._read(b.highWaterMark)}},d.prototype._read=function(m){var h=this._transformState;h.writechunk===null||h.transforming?h.needTransform=!0:(h.transforming=!0,this._transform(h.writechunk,h.writeencoding,h.afterTransform))},d.prototype._destroy=function(m,h){l.prototype._destroy.call(this,m,(function(f){h(f)}))}},{"../errors":477,"./_stream_duplex":478,inherits:440}],482:[function(t,e,i){(function(o,r){(function(){"use strict";function n(O){var _=this;this.next=null,this.entry=null,this.finish=function(){(function(j,B,V){var G=j.entry;for(j.entry=null;G;){var Q=G.callback;B.pendingcb--,Q(V),G=G.next}B.corkedRequestsFree.next=j})(_,O)}}var a;e.exports=D,D.WritableState=A;var s={deprecate:t("util-deprecate")},l=t("./internal/streams/stream"),c=t("buffer").Buffer,d=(r!==void 0?r:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},u,p=t("./internal/streams/destroy"),m=t("./internal/streams/state").getHighWaterMark,h=t("../errors").codes,f=h.ERR_INVALID_ARG_TYPE,g=h.ERR_METHOD_NOT_IMPLEMENTED,b=h.ERR_MULTIPLE_CALLBACK,y=h.ERR_STREAM_CANNOT_PIPE,w=h.ERR_STREAM_DESTROYED,x=h.ERR_STREAM_NULL_VALUES,S=h.ERR_STREAM_WRITE_AFTER_END,T=h.ERR_UNKNOWN_ENCODING,M=p.errorOrDestroy;function I(){}function A(O,_,j){a=a||t("./_stream_duplex"),O=O||{},typeof j!="boolean"&&(j=_ instanceof a),this.objectMode=!!O.objectMode,j&&(this.objectMode=this.objectMode||!!O.writableObjectMode),this.highWaterMark=m(this,O,"writableHighWaterMark",j),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var B=O.decodeStrings===!1;this.decodeStrings=!B,this.defaultEncoding=O.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(V){(function(G,Q){var H=G._writableState,q=H.sync,U=H.writecb;if(typeof U!="function")throw new b;if((function(K){K.writing=!1,K.writecb=null,K.length-=K.writelen,K.writelen=0})(H),Q)(function(K,te,ae,pe,Z){--te.pendingcb,ae?(o.nextTick(Z,pe),o.nextTick(P,K,te),K._writableState.errorEmitted=!0,M(K,pe)):(Z(pe),K._writableState.errorEmitted=!0,M(K,pe),P(K,te))})(G,H,q,Q,U);else{var F=v(H)||G.destroyed;F||H.corked||H.bufferProcessing||!H.bufferedRequest||R(G,H),q?o.nextTick(N,G,H,F,U):N(G,H,F,U)}})(_,V)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=O.emitClose!==!1,this.autoDestroy=!!O.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}function D(O){var _=this instanceof(a=a||t("./_stream_duplex"));if(!_&&!u.call(D,this))return new D(O);this._writableState=new A(O,this,_),this.writable=!0,O&&(typeof O.write=="function"&&(this._write=O.write),typeof O.writev=="function"&&(this._writev=O.writev),typeof O.destroy=="function"&&(this._destroy=O.destroy),typeof O.final=="function"&&(this._final=O.final)),l.call(this)}function E(O,_,j,B,V,G,Q){_.writelen=B,_.writecb=Q,_.writing=!0,_.sync=!0,_.destroyed?_.onwrite(new w("write")):j?O._writev(V,_.onwrite):O._write(V,G,_.onwrite),_.sync=!1}function N(O,_,j,B){j||(function(V,G){G.length===0&&G.needDrain&&(G.needDrain=!1,V.emit("drain"))})(O,_),_.pendingcb--,B(),P(O,_)}function R(O,_){_.bufferProcessing=!0;var j=_.bufferedRequest;if(O._writev&&j&&j.next){var B=_.bufferedRequestCount,V=new Array(B),G=_.corkedRequestsFree;G.entry=j;for(var Q=0,H=!0;j;)V[Q]=j,j.isBuf||(H=!1),j=j.next,Q+=1;V.allBuffers=H,E(O,_,!0,_.length,V,"",G.finish),_.pendingcb++,_.lastBufferedRequest=null,G.next?(_.corkedRequestsFree=G.next,G.next=null):_.corkedRequestsFree=new n(_),_.bufferedRequestCount=0}else{for(;j;){var q=j.chunk,U=j.encoding,F=j.callback;if(E(O,_,!1,_.objectMode?1:q.length,q,U,F),j=j.next,_.bufferedRequestCount--,_.writing)break}j===null&&(_.lastBufferedRequest=null)}_.bufferedRequest=j,_.bufferProcessing=!1}function v(O){return O.ending&&O.length===0&&O.bufferedRequest===null&&!O.finished&&!O.writing}function k(O,_){O._final((function(j){_.pendingcb--,j&&M(O,j),_.prefinished=!0,O.emit("prefinish"),P(O,_)}))}function P(O,_){var j=v(_);if(j&&((function(V,G){G.prefinished||G.finalCalled||(typeof V._final!="function"||G.destroyed?(G.prefinished=!0,V.emit("prefinish")):(G.pendingcb++,G.finalCalled=!0,o.nextTick(k,V,G)))})(O,_),_.pendingcb===0&&(_.finished=!0,O.emit("finish"),_.autoDestroy))){var B=O._readableState;(!B||B.autoDestroy&&B.endEmitted)&&O.destroy()}return j}t("inherits")(D,l),A.prototype.getBuffer=function(){for(var O=this.bufferedRequest,_=[];O;)_.push(O),O=O.next;return _},(function(){try{Object.defineProperty(A.prototype,"buffer",{get:s.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(D,Symbol.hasInstance,{value:function(O){return!!u.call(this,O)||this===D&&O&&O._writableState instanceof A}})):u=function(O){return O instanceof this},D.prototype.pipe=function(){M(this,new y)},D.prototype.write=function(O,_,j){var B,V=this._writableState,G=!1,Q=!V.objectMode&&(B=O,c.isBuffer(B)||B instanceof d);return Q&&!c.isBuffer(O)&&(O=(function(H){return c.from(H)})(O)),typeof _=="function"&&(j=_,_=null),Q?_="buffer":_||(_=V.defaultEncoding),typeof j!="function"&&(j=I),V.ending?(function(H,q){var U=new S;M(H,U),o.nextTick(q,U)})(this,j):(Q||(function(H,q,U,F){var K;return U===null?K=new x:typeof U=="string"||q.objectMode||(K=new f("chunk",["string","Buffer"],U)),!K||(M(H,K),o.nextTick(F,K),!1)})(this,V,O,j))&&(V.pendingcb++,G=(function(H,q,U,F,K,te){if(!U){var ae=(function(ce,ne,oe){return ce.objectMode||ce.decodeStrings===!1||typeof ne!="string"||(ne=c.from(ne,oe)),ne})(q,F,K);F!==ae&&(U=!0,K="buffer",F=ae)}var pe=q.objectMode?1:F.length;q.length+=pe;var Z=q.length<q.highWaterMark;if(Z||(q.needDrain=!0),q.writing||q.corked){var ee=q.lastBufferedRequest;q.lastBufferedRequest={chunk:F,encoding:K,isBuf:U,callback:te,next:null},ee?ee.next=q.lastBufferedRequest:q.bufferedRequest=q.lastBufferedRequest,q.bufferedRequestCount+=1}else E(H,q,!1,pe,F,K,te);return Z})(this,V,Q,O,_,j)),G},D.prototype.cork=function(){this._writableState.corked++},D.prototype.uncork=function(){var O=this._writableState;O.corked&&(O.corked--,O.writing||O.corked||O.bufferProcessing||!O.bufferedRequest||R(this,O))},D.prototype.setDefaultEncoding=function(O){if(typeof O=="string"&&(O=O.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((O+"").toLowerCase())>-1))throw new T(O);return this._writableState.defaultEncoding=O,this},Object.defineProperty(D.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(D.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),D.prototype._write=function(O,_,j){j(new g("_write()"))},D.prototype._writev=null,D.prototype.end=function(O,_,j){var B=this._writableState;return typeof O=="function"?(j=O,O=null,_=null):typeof _=="function"&&(j=_,_=null),O!=null&&this.write(O,_),B.corked&&(B.corked=1,this.uncork()),B.ending||(function(V,G,Q){G.ending=!0,P(V,G),Q&&(G.finished?o.nextTick(Q):V.once("finish",Q)),G.ended=!0,V.writable=!1})(this,B,j),this},Object.defineProperty(D.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(D.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(O){this._writableState&&(this._writableState.destroyed=O)}}),D.prototype.destroy=p.destroy,D.prototype._undestroy=p.undestroy,D.prototype._destroy=function(O,_){_(O)}}).call(this)}).call(this,t("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"../errors":477,"./_stream_duplex":478,"./internal/streams/destroy":485,"./internal/streams/state":489,"./internal/streams/stream":490,_process:467,buffer:220,inherits:440,"util-deprecate":524}],483:[function(t,e,i){(function(o){(function(){"use strict";var r;function n(w,x,S){return(x=(function(T){var M=(function(I,A){if(typeof I!="object"||I===null)return I;var D=I[Symbol.toPrimitive];if(D!==void 0){var E=D.call(I,A||"default");if(typeof E!="object")return E;throw new TypeError("@@toPrimitive must return a primitive value.")}return(A==="string"?String:Number)(I)})(T,"string");return typeof M=="symbol"?M:String(M)})(x))in w?Object.defineProperty(w,x,{value:S,enumerable:!0,configurable:!0,writable:!0}):w[x]=S,w}var a=t("./end-of-stream"),s=Symbol("lastResolve"),l=Symbol("lastReject"),c=Symbol("error"),d=Symbol("ended"),u=Symbol("lastPromise"),p=Symbol("handlePromise"),m=Symbol("stream");function h(w,x){return{value:w,done:x}}function f(w){var x=w[s];if(x!==null){var S=w[m].read();S!==null&&(w[u]=null,w[s]=null,w[l]=null,x(h(S,!1)))}}function g(w){o.nextTick(f,w)}var b=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((n(r={get stream(){return this[m]},next:function(){var w=this,x=this[c];if(x!==null)return Promise.reject(x);if(this[d])return Promise.resolve(h(void 0,!0));if(this[m].destroyed)return new Promise((function(I,A){o.nextTick((function(){w[c]?A(w[c]):I(h(void 0,!0))}))}));var S,T=this[u];if(T)S=new Promise((function(I,A){return function(D,E){I.then((function(){A[d]?D(h(void 0,!0)):A[p](D,E)}),E)}})(T,this));else{var M=this[m].read();if(M!==null)return Promise.resolve(h(M,!1));S=new Promise(this[p])}return this[u]=S,S}},Symbol.asyncIterator,(function(){return this})),n(r,"return",(function(){var w=this;return new Promise((function(x,S){w[m].destroy(null,(function(T){T?S(T):x(h(void 0,!0))}))}))})),r),b);e.exports=function(w){var x,S=Object.create(y,(n(x={},m,{value:w,writable:!0}),n(x,s,{value:null,writable:!0}),n(x,l,{value:null,writable:!0}),n(x,c,{value:null,writable:!0}),n(x,d,{value:w._readableState.endEmitted,writable:!0}),n(x,p,{value:function(T,M){var I=S[m].read();I?(S[u]=null,S[s]=null,S[l]=null,T(h(I,!1))):(S[s]=T,S[l]=M)},writable:!0}),x));return S[u]=null,a(w,(function(T){if(T&&T.code!=="ERR_STREAM_PREMATURE_CLOSE"){var M=S[l];return M!==null&&(S[u]=null,S[s]=null,S[l]=null,M(T)),void(S[c]=T)}var I=S[s];I!==null&&(S[u]=null,S[s]=null,S[l]=null,I(h(void 0,!0))),S[d]=!0})),w.on("readable",g.bind(null,S)),S}}).call(this)}).call(this,t("_process"))},{"./end-of-stream":486,_process:467}],484:[function(t,e,i){"use strict";function o(u,p){var m=Object.keys(u);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(u);p&&(h=h.filter((function(f){return Object.getOwnPropertyDescriptor(u,f).enumerable}))),m.push.apply(m,h)}return m}function r(u){for(var p=1;p<arguments.length;p++){var m=arguments[p]!=null?arguments[p]:{};p%2?o(Object(m),!0).forEach((function(h){n(u,h,m[h])})):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(m)):o(Object(m)).forEach((function(h){Object.defineProperty(u,h,Object.getOwnPropertyDescriptor(m,h))}))}return u}function n(u,p,m){return(p=s(p))in u?Object.defineProperty(u,p,{value:m,enumerable:!0,configurable:!0,writable:!0}):u[p]=m,u}function a(u,p){for(var m=0;m<p.length;m++){var h=p[m];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(u,s(h.key),h)}}function s(u){var p=(function(m,h){if(typeof m!="object"||m===null)return m;var f=m[Symbol.toPrimitive];if(f!==void 0){var g=f.call(m,h||"default");if(typeof g!="object")return g;throw new TypeError("@@toPrimitive must return a primitive value.")}return(h==="string"?String:Number)(m)})(u,"string");return typeof p=="symbol"?p:String(p)}var l=t("buffer").Buffer,c=t("util").inspect,d=c&&c.custom||"inspect";e.exports=(function(){function u(){(function(f,g){if(!(f instanceof g))throw new TypeError("Cannot call a class as a function")})(this,u),this.head=null,this.tail=null,this.length=0}var p,m,h;return p=u,(m=[{key:"push",value:function(f){var g={data:f,next:null};this.length>0?this.tail.next=g:this.head=g,this.tail=g,++this.length}},{key:"unshift",value:function(f){var g={data:f,next:this.head};this.length===0&&(this.tail=g),this.head=g,++this.length}},{key:"shift",value:function(){if(this.length!==0){var f=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,f}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(f){if(this.length===0)return"";for(var g=this.head,b=""+g.data;g=g.next;)b+=f+g.data;return b}},{key:"concat",value:function(f){if(this.length===0)return l.alloc(0);for(var g,b,y,w=l.allocUnsafe(f>>>0),x=this.head,S=0;x;)g=x.data,b=w,y=S,l.prototype.copy.call(g,b,y),S+=x.data.length,x=x.next;return w}},{key:"consume",value:function(f,g){var b;return f<this.head.data.length?(b=this.head.data.slice(0,f),this.head.data=this.head.data.slice(f)):b=f===this.head.data.length?this.shift():g?this._getString(f):this._getBuffer(f),b}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(f){var g=this.head,b=1,y=g.data;for(f-=y.length;g=g.next;){var w=g.data,x=f>w.length?w.length:f;if(x===w.length?y+=w:y+=w.slice(0,f),(f-=x)==0){x===w.length?(++b,g.next?this.head=g.next:this.head=this.tail=null):(this.head=g,g.data=w.slice(x));break}++b}return this.length-=b,y}},{key:"_getBuffer",value:function(f){var g=l.allocUnsafe(f),b=this.head,y=1;for(b.data.copy(g),f-=b.data.length;b=b.next;){var w=b.data,x=f>w.length?w.length:f;if(w.copy(g,g.length-f,0,x),(f-=x)==0){x===w.length?(++y,b.next?this.head=b.next:this.head=this.tail=null):(this.head=b,b.data=w.slice(x));break}++y}return this.length-=y,g}},{key:d,value:function(f,g){return c(this,r(r({},g),{},{depth:0,customInspect:!1}))}}])&&a(p.prototype,m),h&&a(p,h),Object.defineProperty(p,"prototype",{writable:!1}),u})()},{buffer:220,util:188}],485:[function(t,e,i){(function(o){(function(){"use strict";function r(s,l){a(s,l),n(s)}function n(s){s._writableState&&!s._writableState.emitClose||s._readableState&&!s._readableState.emitClose||s.emit("close")}function a(s,l){s.emit("error",l)}e.exports={destroy:function(s,l){var c=this,d=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return d||u?(l?l(s):s&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,o.nextTick(a,this,s)):o.nextTick(a,this,s)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(s||null,(function(p){!l&&p?c._writableState?c._writableState.errorEmitted?o.nextTick(n,c):(c._writableState.errorEmitted=!0,o.nextTick(r,c,p)):o.nextTick(r,c,p):l?(o.nextTick(n,c),l(p)):o.nextTick(n,c)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(s,l){var c=s._readableState,d=s._writableState;c&&c.autoDestroy||d&&d.autoDestroy?s.destroy(l):s.emit("error",l)}}}).call(this)}).call(this,t("_process"))},{_process:467}],486:[function(t,e,i){"use strict";var o=t("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function r(){}e.exports=function n(a,s,l){if(typeof s=="function")return n(a,null,s);s||(s={}),l=(function(w){var x=!1;return function(){if(!x){x=!0;for(var S=arguments.length,T=new Array(S),M=0;M<S;M++)T[M]=arguments[M];w.apply(this,T)}}})(l||r);var c=s.readable||s.readable!==!1&&a.readable,d=s.writable||s.writable!==!1&&a.writable,u=function(){a.writable||m()},p=a._writableState&&a._writableState.finished,m=function(){d=!1,p=!0,c||l.call(a)},h=a._readableState&&a._readableState.endEmitted,f=function(){c=!1,h=!0,d||l.call(a)},g=function(w){l.call(a,w)},b=function(){var w;return c&&!h?(a._readableState&&a._readableState.ended||(w=new o),l.call(a,w)):d&&!p?(a._writableState&&a._writableState.ended||(w=new o),l.call(a,w)):void 0},y=function(){a.req.on("finish",m)};return(function(w){return w.setHeader&&typeof w.abort=="function"})(a)?(a.on("complete",m),a.on("abort",b),a.req?y():a.on("request",y)):d&&!a._writableState&&(a.on("end",u),a.on("close",u)),a.on("end",f),a.on("finish",m),s.error!==!1&&a.on("error",g),a.on("close",b),function(){a.removeListener("complete",m),a.removeListener("abort",b),a.removeListener("request",y),a.req&&a.req.removeListener("finish",m),a.removeListener("end",u),a.removeListener("close",u),a.removeListener("finish",m),a.removeListener("end",f),a.removeListener("error",g),a.removeListener("close",b)}}},{"../../../errors":477}],487:[function(t,e,i){"use strict";e.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],488:[function(t,e,i){"use strict";var o,r=t("../../../errors").codes,n=r.ERR_MISSING_ARGS,a=r.ERR_STREAM_DESTROYED;function s(p){if(p)throw p}function l(p,m,h,f){f=(function(y){var w=!1;return function(){w||(w=!0,y.apply(void 0,arguments))}})(f);var g=!1;p.on("close",(function(){g=!0})),o===void 0&&(o=t("./end-of-stream")),o(p,{readable:m,writable:h},(function(y){if(y)return f(y);g=!0,f()}));var b=!1;return function(y){if(!g&&!b)return b=!0,(function(w){return w.setHeader&&typeof w.abort=="function"})(p)?p.abort():typeof p.destroy=="function"?p.destroy():void f(y||new a("pipe"))}}function c(p){p()}function d(p,m){return p.pipe(m)}function u(p){return p.length?typeof p[p.length-1]!="function"?s:p.pop():s}e.exports=function(){for(var p=arguments.length,m=new Array(p),h=0;h<p;h++)m[h]=arguments[h];var f,g=u(m);if(Array.isArray(m[0])&&(m=m[0]),m.length<2)throw new n("streams");var b=m.map((function(y,w){var x=w<m.length-1;return l(y,x,w>0,(function(S){f||(f=S),S&&b.forEach(c),x||(b.forEach(c),g(f))}))}));return m.reduce(d)}},{"../../../errors":477,"./end-of-stream":486}],489:[function(t,e,i){"use strict";var o=t("../../../errors").codes.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(r,n,a,s){var l=(function(c,d,u){return c.highWaterMark!=null?c.highWaterMark:d?c[u]:null})(n,s,a);if(l!=null){if(!isFinite(l)||Math.floor(l)!==l||l<0)throw new o(s?a:"highWaterMark",l);return Math.floor(l)}return r.objectMode?16:16384}}},{"../../../errors":477}],490:[function(t,e,i){"use strict";e.exports=t("events").EventEmitter},{events:422}],491:[function(t,e,i){"use strict";(i=e.exports=t("./lib/_stream_readable.js")).Stream=i,i.Readable=i,i.Writable=t("./lib/_stream_writable.js"),i.Duplex=t("./lib/_stream_duplex.js"),i.Transform=t("./lib/_stream_transform.js"),i.PassThrough=t("./lib/_stream_passthrough.js"),i.finished=t("./lib/internal/streams/end-of-stream.js"),i.pipeline=t("./lib/internal/streams/pipeline.js")},{"./lib/_stream_duplex.js":478,"./lib/_stream_passthrough.js":479,"./lib/_stream_readable.js":480,"./lib/_stream_transform.js":481,"./lib/_stream_writable.js":482,"./lib/internal/streams/end-of-stream.js":486,"./lib/internal/streams/pipeline.js":488}],492:[function(t,e,i){"use strict";var o=(function(r){var n=Object.prototype,a=n.hasOwnProperty,s=Object.defineProperty||function(P,O,_){P[O]=_.value},l=typeof Symbol=="function"?Symbol:{},c=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",u=l.toStringTag||"@@toStringTag";function p(P,O,_){return Object.defineProperty(P,O,{value:_,enumerable:!0,configurable:!0,writable:!0}),P[O]}try{p({},"")}catch{p=function(O,_,j){return O[_]=j}}function m(P,O,_,j){var B=O&&O.prototype instanceof g?O:g,V=Object.create(B.prototype),G=new R(j||[]);return s(V,"_invoke",{value:A(P,_,G)}),V}function h(P,O,_){try{return{type:"normal",arg:P.call(O,_)}}catch(j){return{type:"throw",arg:j}}}r.wrap=m;var f={};function g(){}function b(){}function y(){}var w={};p(w,c,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(v([])));S&&S!==n&&a.call(S,c)&&(w=S);var T=y.prototype=g.prototype=Object.create(w);function M(P){["next","throw","return"].forEach((function(O){p(P,O,(function(_){return this._invoke(O,_)}))}))}function I(P,O){var _;s(this,"_invoke",{value:function(j,B){function V(){return new O((function(G,Q){(function H(q,U,F,K){var te=h(P[q],P,U);if(te.type!=="throw"){var ae=te.arg,pe=ae.value;return pe&&typeof pe=="object"&&a.call(pe,"__await")?O.resolve(pe.__await).then((function(Z){H("next",Z,F,K)}),(function(Z){H("throw",Z,F,K)})):O.resolve(pe).then((function(Z){ae.value=Z,F(ae)}),(function(Z){return H("throw",Z,F,K)}))}K(te.arg)})(j,B,G,Q)}))}return _=_?_.then(V,V):V()}})}function A(P,O,_){var j="suspendedStart";return function(B,V){if(j==="executing")throw new Error("Generator is already running");if(j==="completed"){if(B==="throw")throw V;return k()}for(_.method=B,_.arg=V;;){var G=_.delegate;if(G){var Q=D(G,_);if(Q){if(Q===f)continue;return Q}}if(_.method==="next")_.sent=_._sent=_.arg;else if(_.method==="throw"){if(j==="suspendedStart")throw j="completed",_.arg;_.dispatchException(_.arg)}else _.method==="return"&&_.abrupt("return",_.arg);j="executing";var H=h(P,O,_);if(H.type==="normal"){if(j=_.done?"completed":"suspendedYield",H.arg===f)continue;return{value:H.arg,done:_.done}}H.type==="throw"&&(j="completed",_.method="throw",_.arg=H.arg)}}}function D(P,O){var _=O.method,j=P.iterator[_];if(j===void 0)return O.delegate=null,_==="throw"&&P.iterator.return&&(O.method="return",O.arg=void 0,D(P,O),O.method==="throw")||_!=="return"&&(O.method="throw",O.arg=new TypeError("The iterator does not provide a '"+_+"' method")),f;var B=h(j,P.iterator,O.arg);if(B.type==="throw")return O.method="throw",O.arg=B.arg,O.delegate=null,f;var V=B.arg;return V?V.done?(O[P.resultName]=V.value,O.next=P.nextLoc,O.method!=="return"&&(O.method="next",O.arg=void 0),O.delegate=null,f):V:(O.method="throw",O.arg=new TypeError("iterator result is not an object"),O.delegate=null,f)}function E(P){var O={tryLoc:P[0]};1 in P&&(O.catchLoc=P[1]),2 in P&&(O.finallyLoc=P[2],O.afterLoc=P[3]),this.tryEntries.push(O)}function N(P){var O=P.completion||{};O.type="normal",delete O.arg,P.completion=O}function R(P){this.tryEntries=[{tryLoc:"root"}],P.forEach(E,this),this.reset(!0)}function v(P){if(P){var O=P[c];if(O)return O.call(P);if(typeof P.next=="function")return P;if(!isNaN(P.length)){var _=-1,j=function B(){for(;++_<P.length;)if(a.call(P,_))return B.value=P[_],B.done=!1,B;return B.value=void 0,B.done=!0,B};return j.next=j}}return{next:k}}function k(){return{value:void 0,done:!0}}return b.prototype=y,s(T,"constructor",{value:y,configurable:!0}),s(y,"constructor",{value:b,configurable:!0}),b.displayName=p(y,u,"GeneratorFunction"),r.isGeneratorFunction=function(P){var O=typeof P=="function"&&P.constructor;return!!O&&(O===b||(O.displayName||O.name)==="GeneratorFunction")},r.mark=function(P){return Object.setPrototypeOf?Object.setPrototypeOf(P,y):(P.__proto__=y,p(P,u,"GeneratorFunction")),P.prototype=Object.create(T),P},r.awrap=function(P){return{__await:P}},M(I.prototype),p(I.prototype,d,(function(){return this})),r.AsyncIterator=I,r.async=function(P,O,_,j,B){B===void 0&&(B=Promise);var V=new I(m(P,O,_,j),B);return r.isGeneratorFunction(O)?V:V.next().then((function(G){return G.done?G.value:V.next()}))},M(T),p(T,u,"Generator"),p(T,c,(function(){return this})),p(T,"toString",(function(){return"[object Generator]"})),r.keys=function(P){var O=Object(P),_=[];for(var j in O)_.push(j);return _.reverse(),function B(){for(;_.length;){var V=_.pop();if(V in O)return B.value=V,B.done=!1,B}return B.done=!0,B}},r.values=v,R.prototype={constructor:R,reset:function(P){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(N),!P)for(var O in this)O.charAt(0)==="t"&&a.call(this,O)&&!isNaN(+O.slice(1))&&(this[O]=void 0)},stop:function(){this.done=!0;var P=this.tryEntries[0].completion;if(P.type==="throw")throw P.arg;return this.rval},dispatchException:function(P){if(this.done)throw P;var O=this;function _(H,q){return V.type="throw",V.arg=P,O.next=H,q&&(O.method="next",O.arg=void 0),!!q}for(var j=this.tryEntries.length-1;j>=0;--j){var B=this.tryEntries[j],V=B.completion;if(B.tryLoc==="root")return _("end");if(B.tryLoc<=this.prev){var G=a.call(B,"catchLoc"),Q=a.call(B,"finallyLoc");if(G&&Q){if(this.prev<B.catchLoc)return _(B.catchLoc,!0);if(this.prev<B.finallyLoc)return _(B.finallyLoc)}else if(G){if(this.prev<B.catchLoc)return _(B.catchLoc,!0)}else{if(!Q)throw new Error("try statement without catch or finally");if(this.prev<B.finallyLoc)return _(B.finallyLoc)}}}},abrupt:function(P,O){for(var _=this.tryEntries.length-1;_>=0;--_){var j=this.tryEntries[_];if(j.tryLoc<=this.prev&&a.call(j,"finallyLoc")&&this.prev<j.finallyLoc){var B=j;break}}B&&(P==="break"||P==="continue")&&B.tryLoc<=O&&O<=B.finallyLoc&&(B=null);var V=B?B.completion:{};return V.type=P,V.arg=O,B?(this.method="next",this.next=B.finallyLoc,f):this.complete(V)},complete:function(P,O){if(P.type==="throw")throw P.arg;return P.type==="break"||P.type==="continue"?this.next=P.arg:P.type==="return"?(this.rval=this.arg=P.arg,this.method="return",this.next="end"):P.type==="normal"&&O&&(this.next=O),f},finish:function(P){for(var O=this.tryEntries.length-1;O>=0;--O){var _=this.tryEntries[O];if(_.finallyLoc===P)return this.complete(_.completion,_.afterLoc),N(_),f}},catch:function(P){for(var O=this.tryEntries.length-1;O>=0;--O){var _=this.tryEntries[O];if(_.tryLoc===P){var j=_.completion;if(j.type==="throw"){var B=j.arg;N(_)}return B}}throw new Error("illegal catch attempt")},delegateYield:function(P,O,_){return this.delegate={iterator:v(P),resultName:O,nextLoc:_},this.method==="next"&&(this.arg=void 0),f}},r})(typeof e=="object"?e.exports:{});try{regeneratorRuntime=o}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},{}],493:[function(t,e,i){"use strict";var o=t("buffer").Buffer,r=t("inherits"),n=t("hash-base"),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],d=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],u=[0,1518500249,1859775393,2400959708,2840853838],p=[1352829926,1548603684,1836072691,2053994217,0];function m(){n.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function h(x,S){return x<<S|x>>>32-S}function f(x,S,T,M,I,A,D,E){return h(x+(S^T^M)+A+D|0,E)+I|0}function g(x,S,T,M,I,A,D,E){return h(x+(S&T|~S&M)+A+D|0,E)+I|0}function b(x,S,T,M,I,A,D,E){return h(x+((S|~T)^M)+A+D|0,E)+I|0}function y(x,S,T,M,I,A,D,E){return h(x+(S&M|T&~M)+A+D|0,E)+I|0}function w(x,S,T,M,I,A,D,E){return h(x+(S^(T|~M))+A+D|0,E)+I|0}r(m,n),m.prototype._update=function(){for(var x=a,S=0;S<16;++S)x[S]=this._block.readInt32LE(4*S);for(var T=0|this._a,M=0|this._b,I=0|this._c,A=0|this._d,D=0|this._e,E=0|this._a,N=0|this._b,R=0|this._c,v=0|this._d,k=0|this._e,P=0;P<80;P+=1){var O,_;P<16?(O=f(T,M,I,A,D,x[s[P]],u[0],c[P]),_=w(E,N,R,v,k,x[l[P]],p[0],d[P])):P<32?(O=g(T,M,I,A,D,x[s[P]],u[1],c[P]),_=y(E,N,R,v,k,x[l[P]],p[1],d[P])):P<48?(O=b(T,M,I,A,D,x[s[P]],u[2],c[P]),_=b(E,N,R,v,k,x[l[P]],p[2],d[P])):P<64?(O=y(T,M,I,A,D,x[s[P]],u[3],c[P]),_=g(E,N,R,v,k,x[l[P]],p[3],d[P])):(O=w(T,M,I,A,D,x[s[P]],u[4],c[P]),_=f(E,N,R,v,k,x[l[P]],p[4],d[P])),T=D,D=A,A=h(I,10),I=M,M=O,E=k,k=v,v=h(R,10),R=N,N=_}var j=this._b+I+v|0;this._b=this._c+A+k|0,this._c=this._d+D+E|0,this._d=this._e+T+N|0,this._e=this._a+M+R|0,this._a=j},m.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var x=o.alloc?o.alloc(20):new o(20);return x.writeInt32LE(this._a,0),x.writeInt32LE(this._b,4),x.writeInt32LE(this._c,8),x.writeInt32LE(this._d,12),x.writeInt32LE(this._e,16),x},e.exports=m},{buffer:220,"hash-base":425,inherits:440}],494:[function(t,e,i){"use strict";var o=t("buffer"),r=o.Buffer;function n(s,l){for(var c in s)l[c]=s[c]}function a(s,l,c){return r(s,l,c)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=o:(n(o,i),i.Buffer=a),a.prototype=Object.create(r.prototype),n(r,a),a.from=function(s,l,c){if(typeof s=="number")throw new TypeError("Argument must not be a number");return r(s,l,c)},a.alloc=function(s,l,c){if(typeof s!="number")throw new TypeError("Argument must be a number");var d=r(s);return l!==void 0?typeof c=="string"?d.fill(l,c):d.fill(l):d.fill(0),d},a.allocUnsafe=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return r(s)},a.allocUnsafeSlow=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return o.SlowBuffer(s)}},{buffer:220}],495:[function(t,e,i){(function(o){(function(){"use strict";var r,n=t("buffer"),a=n.Buffer,s={};for(r in n)n.hasOwnProperty(r)&&r!=="SlowBuffer"&&r!=="Buffer"&&(s[r]=n[r]);var l=s.Buffer={};for(r in a)a.hasOwnProperty(r)&&r!=="allocUnsafe"&&r!=="allocUnsafeSlow"&&(l[r]=a[r]);if(s.Buffer.prototype=a.prototype,l.from&&l.from!==Uint8Array.from||(l.from=function(c,d,u){if(typeof c=="number")throw new TypeError('The "value" argument must not be of type number. Received type '+typeof c);if(c&&c.length===void 0)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof c);return a(c,d,u)}),l.alloc||(l.alloc=function(c,d,u){if(typeof c!="number")throw new TypeError('The "size" argument must be of type number. Received type '+typeof c);if(c<0||c>=2*(1<<30))throw new RangeError('The value "'+c+'" is invalid for option "size"');var p=a(c);return d&&d.length!==0?typeof u=="string"?p.fill(d,u):p.fill(d):p.fill(0),p}),!s.kStringMaxLength)try{s.kStringMaxLength=o.binding("buffer").kStringMaxLength}catch{}s.constants||(s.constants={MAX_LENGTH:s.kMaxLength},s.kStringMaxLength&&(s.constants.MAX_STRING_LENGTH=s.kStringMaxLength)),e.exports=s}).call(this)}).call(this,t("_process"))},{_process:467,buffer:220}],496:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});let o=t("xmlchars/xml/1.0/ed5"),r=t("xmlchars/xml/1.1/ed2"),n=t("xmlchars/xmlns/1.0/ed3");var a=o.isS,s=o.isChar,l=o.isNameStartChar,c=o.isNameChar,d=o.S_LIST,u=o.NAME_RE,p=r.isChar,m=n.isNCNameStartChar,h=n.isNCNameChar,f=n.NC_NAME_RE;let g="http://www.w3.org/XML/1998/namespace",b="http://www.w3.org/2000/xmlns/",y={__proto__:null,xml:g,xmlns:b},w={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},x=v=>v===34||v===39,S=[34,39],T=[...S,91,62],M=[...S,60,93],I=[61,63,...d],A=[...d,62,38,60];function D(v,k,P){switch(k){case"xml":P!==g&&v.fail(`xml prefix must be bound to ${g}.`);break;case"xmlns":P!==b&&v.fail(`xmlns prefix must be bound to ${b}.`)}switch(P){case b:v.fail(k===""?`the default namespace may not be set to ${P}.`:`may not assign a prefix (even "xmlns") to the URI ${b}.`);break;case g:switch(k){case"xml":break;case"":v.fail(`the default namespace may not be set to ${P}.`);break;default:v.fail("may not assign the xml namespace to another prefix.")}}}let E=v=>f.test(v),N=v=>u.test(v);i.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];let R={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};i.SaxesParser=class{constructor(v){this.opt=v!=null?v:{},this.fragmentOpt=!!this.opt.fragment;let k=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,k){this.nameStartCheck=m,this.nameCheck=h,this.isName=E,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},y);let P=this.opt.additionalNamespaces;P!=null&&((function(O,_){for(let j of Object.keys(_))D(O,j,_[j])})(this,P),Object.assign(this.ns,P))}else this.nameStartCheck=l,this.nameCheck=c,this.isName=N,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){var v;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];let{fragmentOpt:k}=this;this.state=k?13:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=k,this.xmlDeclPossible=!k,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:P}=this.opt;if(P===void 0){if(this.opt.forceXMLVersion===!0)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");P="1.0"}this.setXMLVersion(P),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(w),(v=this.readyHandler)===null||v===void 0||v.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(v,k){this[R[v]]=k}off(v){this[R[v]]=void 0}makeError(v){var k;let P=(k=this.fileName)!==null&&k!==void 0?k:"";return this.trackPosition&&(P.length>0&&(P+=":"),P+=`${this.line}:${this.column}`),P.length>0&&(P+=": "),new Error(P+v)}fail(v){let k=this.makeError(v),P=this.errorHandler;if(P===void 0)throw k;return P(k),this}write(v){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let k=!1;v===null?(k=!0,v=""):typeof v=="object"&&(v=v.toString()),this.carriedFromPrevious!==void 0&&(v=`${this.carriedFromPrevious}${v}`,this.carriedFromPrevious=void 0);let P=v.length,O=v.charCodeAt(P-1);!k&&(O===13||O>=55296&&O<=56319)&&(this.carriedFromPrevious=v[P-1],P--,v=v.slice(0,P));let{stateTable:_}=this;for(this.chunk=v,this.i=0;this.i<P;)_[this.state].call(this);return this.chunkPosition+=P,k?this.end():this}close(){return this.write(null)}getCode10(){let{chunk:v,i:k}=this;if(this.prevI=k,this.i=k+1,k>=v.length)return-1;let P=v.charCodeAt(k);if(this.column++,P<55296){if(P>=32||P===9)return P;switch(P){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:return v.charCodeAt(k+1)===10&&(this.i=k+2),this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail("disallowed character."),P}}if(P>56319)return P>=57344&&P<=65533||this.fail("disallowed character."),P;let O=65536+1024*(P-55296)+(v.charCodeAt(k+1)-56320);return this.i=k+2,O>1114111&&this.fail("disallowed character."),O}getCode11(){let{chunk:v,i:k}=this;if(this.prevI=k,this.i=k+1,k>=v.length)return-1;let P=v.charCodeAt(k);if(this.column++,P<55296){if(P>31&&P<127||P>159&&P!==8232||P===9)return P;switch(P){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:{let _=v.charCodeAt(k+1);_!==10&&_!==133||(this.i=k+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail("disallowed character."),P}}if(P>56319)return P>=57344&&P<=65533||this.fail("disallowed character."),P;let O=65536+1024*(P-55296)+(v.charCodeAt(k+1)-56320);return this.i=k+2,O>1114111&&this.fail("disallowed character."),O}getCodeNorm(){let v=this.getCode();return v===-2?10:v}unget(){this.i=this.prevI,this.column--}captureTo(v){let{i:k}=this,{chunk:P}=this;for(;;){let O=this.getCode(),_=O===-2,j=_?10:O;if(j===-1||v.includes(j))return this.text+=P.slice(k,this.prevI),j;_&&(this.text+=P.slice(k,this.prevI)+`
`,k=this.i)}}captureToChar(v){let{i:k}=this,{chunk:P}=this;for(;;){let O=this.getCode();switch(O){case-2:this.text+=P.slice(k,this.prevI)+`
`,k=this.i,O=10;break;case-1:return this.text+=P.slice(k),!1}if(O===v)return this.text+=P.slice(k,this.prevI),!0}}captureNameChars(){let{chunk:v,i:k}=this;for(;;){let P=this.getCode();if(P===-1)return this.name+=v.slice(k),-1;if(!c(P))return this.name+=v.slice(k,this.prevI),P===-2?10:P}}skipSpaces(){for(;;){let v=this.getCodeNorm();if(v===-1||!a(v))return v}}setXMLVersion(v){this.currentXMLVersion=v,v==="1.0"?(this.isChar=s,this.getCode=this.getCode10):(this.isChar=p,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){let v=this.i,k=this.skipSpaces();switch(this.prevI!==v&&(this.xmlDeclPossible=!1),k){case 60:if(this.state=15,this.text.length!==0)throw new Error("no-empty text at start");break;case-1:break;default:this.unget(),this.state=13,this.xmlDeclPossible=!1}}sDoctype(){var v;let k=this.captureTo(T);switch(k){case 62:(v=this.doctypeHandler)===null||v===void 0||v.call(this,this.text),this.text="",this.state=13,this.doctype=!0;break;case-1:break;default:this.text+=String.fromCodePoint(k),k===91?this.state=4:x(k)&&(this.state=3,this.q=k)}}sDoctypeQuote(){let v=this.q;this.captureToChar(v)&&(this.text+=String.fromCodePoint(v),this.q=null,this.state=2)}sDTD(){let v=this.captureTo(M);v!==-1&&(this.text+=String.fromCodePoint(v),v===93?this.state=2:v===60?this.state=6:x(v)&&(this.state=5,this.q=v))}sDTDQuoted(){let v=this.q;this.captureToChar(v)&&(this.text+=String.fromCodePoint(v),this.state=4,this.q=null)}sDTDOpenWaka(){let v=this.getCodeNorm();switch(this.text+=String.fromCodePoint(v),v){case 33:this.state=7,this.openWakaBang="";break;case 63:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){let v=String.fromCodePoint(this.getCodeNorm()),k=this.openWakaBang+=v;this.text+=v,k!=="-"&&(this.state=k==="--"?8:4,this.openWakaBang="")}sDTDComment(){this.captureToChar(45)&&(this.text+="-",this.state=9)}sDTDCommentEnding(){let v=this.getCodeNorm();this.text+=String.fromCodePoint(v),this.state=v===45?10:8}sDTDCommentEnded(){let v=this.getCodeNorm();this.text+=String.fromCodePoint(v),v===62?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(63)&&(this.text+="?",this.state=12)}sDTDPIEnding(){let v=this.getCodeNorm();this.text+=String.fromCodePoint(v),v===62&&(this.state=4)}sText(){this.tags.length!==0?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:v}=this,{chunk:k}=this;e:for(;;)switch(this.getCode()){case-2:this.entity+=k.slice(v,this.prevI)+`
`,v=this.i;break;case 59:{let{entityReturnState:P}=this,O=this.entity+k.slice(v,this.prevI),_;this.state=P,O===""?(this.fail("empty entity name."),_="&;"):(_=this.parseEntity(O),this.entity=""),P===13&&this.textHandler===void 0||(this.text+=_);break e}case-1:this.entity+=k.slice(v);break e}}sOpenWaka(){let v=this.getCode();if(l(v))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(v){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case 63:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=13,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){var v;let k=this.getCodeNorm();k===45?(this.state=19,(v=this.commentHandler)===null||v===void 0||v.call(this,this.text),this.text=""):(this.text+="-"+String.fromCodePoint(k),this.state=17)}sCommentEnded(){let v=this.getCodeNorm();v!==62?(this.fail("malformed comment."),this.text+="--"+String.fromCodePoint(v),this.state=17):this.state=13}sCData(){this.captureToChar(93)&&(this.state=21)}sCDataEnding(){let v=this.getCodeNorm();v===93?this.state=22:(this.text+="]"+String.fromCodePoint(v),this.state=20)}sCDataEnding2(){var v;let k=this.getCodeNorm();switch(k){case 62:(v=this.cdataHandler)===null||v===void 0||v.call(this,this.text),this.text="",this.state=13;break;case 93:this.text+="]";break;default:this.text+="]]"+String.fromCodePoint(k),this.state=20}}sPIFirstChar(){let v=this.getCodeNorm();this.nameStartCheck(v)?(this.piTarget+=String.fromCodePoint(v),this.state=24):v===63||a(v)?(this.fail("processing instruction without a target."),this.state=v===63?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(v),this.state=24)}sPIRest(){let{chunk:v,i:k}=this;for(;;){let P=this.getCodeNorm();if(P===-1)return void(this.piTarget+=v.slice(k));if(!this.nameCheck(P)){this.piTarget+=v.slice(k,this.prevI);let O=P===63;O||a(P)?this.piTarget==="xml"?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=O?33:27):this.state=O?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(P));break}}}sPIBody(){if(this.text.length===0){let v=this.getCodeNorm();v===63?this.state=26:a(v)||(this.text=String.fromCodePoint(v))}else this.captureToChar(63)&&(this.state=26)}sPIEnding(){var v;let k=this.getCodeNorm();if(k===62){let{piTarget:P}=this;P.toLowerCase()==="xml"&&this.fail("the XML declaration must appear at the start of the document."),(v=this.piHandler)===null||v===void 0||v.call(this,{target:P,body:this.text}),this.piTarget=this.text="",this.state=13}else k===63?this.text+="?":(this.text+="?"+String.fromCodePoint(k),this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){let v=this.skipSpaces();v!==63?v!==-1&&(this.state=28,this.name=String.fromCodePoint(v)):this.state=33}sXMLDeclName(){let v=this.captureTo(I);if(v===63)return this.state=33,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(a(v)||v===61){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail("expected one of "+this.xmlDeclExpects.join(", "))}this.state=v===61?30:29}}sXMLDeclEq(){let v=this.getCodeNorm();if(v===63)return this.state=33,void this.fail("XML declaration is incomplete.");a(v)||(v!==61&&this.fail("value required."),this.state=30)}sXMLDeclValueStart(){let v=this.getCodeNorm();if(v===63)return this.state=33,void this.fail("XML declaration is incomplete.");a(v)||(x(v)?this.q=v:(this.fail("value must be quoted."),this.q=32),this.state=31)}sXMLDeclValue(){let v=this.captureTo([this.q,63]);if(v===63)return this.state=33,this.text="",void this.fail("XML declaration is incomplete.");if(v===-1)return;let k=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];let P=k;this.xmlDecl.version=P,/^1\.[0-9]+$/.test(P)?this.opt.forceXMLVersion||this.setXMLVersion(P):this.fail("version number must match /^1\\.[0-9]+$/.");break}case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(k)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=k;break;case"standalone":k!=="yes"&&k!=="no"&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=k}this.name="",this.state=32}sXMLDeclSeparator(){let v=this.getCodeNorm();v!==63?(a(v)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=33}sXMLDeclEnding(){var v;this.getCodeNorm()===62?(this.piTarget!=="xml"?this.fail("processing instructions are not allowed before root."):this.name!=="version"&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),(v=this.xmldeclHandler)===null||v===void 0||v.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=13):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){var v;let k=this.captureNameChars();if(k===-1)return;let P=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=P.ns=Object.create(null)),(v=this.openTagStartHandler)===null||v===void 0||v.call(this,P),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),k){case 62:this.openTag();break;case 47:this.state=35;break;default:a(k)||this.fail("disallowed character in tag name."),this.state=36}}sOpenTagSlash(){this.getCode()===62?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}sAttrib(){let v=this.skipSpaces();v!==-1&&(l(v)?(this.unget(),this.state=37):v===62?this.openTag():v===47?this.state=35:this.fail("disallowed character in attribute name."))}sAttribName(){let v=this.captureNameChars();v===61?this.state=39:a(v)?this.state=38:v===62?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):v!==-1&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){let v=this.skipSpaces();switch(v){case-1:return;case 61:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",v===62?this.openTag():l(v)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}sAttribValue(){let v=this.getCodeNorm();x(v)?(this.q=v,this.state=40):a(v)||(this.fail("unquoted attribute value."),this.state=42,this.unget())}sAttribValueQuoted(){let{q:v,chunk:k}=this,{i:P}=this;for(;;)switch(this.getCode()){case v:return this.pushAttrib(this.name,this.text+k.slice(P,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=k.slice(P,this.prevI),this.state=14,void(this.entityReturnState=40);case 10:case-2:case 9:this.text+=k.slice(P,this.prevI)+" ",P=this.i;break;case 60:return this.text+=k.slice(P,this.prevI),void this.fail("disallowed character.");case-1:return void(this.text+=k.slice(P))}}sAttribValueClosed(){let v=this.getCodeNorm();a(v)?this.state=36:v===62?this.openTag():v===47?this.state=35:l(v)?(this.fail("no whitespace between attributes."),this.unget(),this.state=37):this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){let v=this.captureTo(A);switch(v){case 38:this.state=14,this.entityReturnState=42;break;case 60:this.fail("disallowed character.");break;case-1:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",v===62?this.openTag():this.state=36}}sCloseTag(){let v=this.captureNameChars();v===62?this.closeTag():a(v)?this.state=44:v!==-1&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case 62:this.closeTag();break;case-1:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:v,forbiddenState:k}=this,{chunk:P,textHandler:O}=this;e:for(;;)switch(this.getCode()){case 60:if(this.state=15,O!==void 0){let{text:_}=this,j=P.slice(v,this.prevI);_.length!==0?(O(_+j),this.text=""):j.length!==0&&O(j)}k=0;break e;case 38:this.state=14,this.entityReturnState=13,O!==void 0&&(this.text+=P.slice(v,this.prevI)),k=0;break e;case 93:switch(k){case 0:k=1;break;case 1:k=2;break;case 2:break;default:throw new Error("impossible state")}break;case 62:k===2&&this.fail('the string "]]>" is disallowed in char data.'),k=0;break;case-2:O!==void 0&&(this.text+=P.slice(v,this.prevI)+`
`),v=this.i,k=0;break;case-1:O!==void 0&&(this.text+=P.slice(v));break e;default:k=0}this.forbiddenState=k}handleTextOutsideRoot(){let{i:v}=this,{chunk:k,textHandler:P}=this,O=!1;e:for(;;){let _=this.getCode();switch(_){case 60:if(this.state=15,P!==void 0){let{text:j}=this,B=k.slice(v,this.prevI);j.length!==0?(P(j+B),this.text=""):B.length!==0&&P(B)}break e;case 38:this.state=14,this.entityReturnState=13,P!==void 0&&(this.text+=k.slice(v,this.prevI)),O=!0;break e;case-2:P!==void 0&&(this.text+=k.slice(v,this.prevI)+`
`),v=this.i;break;case-1:P!==void 0&&(this.text+=k.slice(v));break e;default:a(_)||(O=!0)}}O&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(v,k){var P;let{prefix:O,local:_}=this.qname(v),j={name:v,prefix:O,local:_,value:k};if(this.attribList.push(j),(P=this.attributeHandler)===null||P===void 0||P.call(this,j),O==="xmlns"){let B=k.trim();this.currentXMLVersion==="1.0"&&B===""&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[_]=B,D(this,_,B)}else if(v==="xmlns"){let B=k.trim();this.topNS[""]=B,D(this,"",B)}}pushAttribPlain(v,k){var P;let O={name:v,value:k};this.attribList.push(O),(P=this.attributeHandler)===null||P===void 0||P.call(this,O)}end(){var v,k;this.sawRoot||this.fail("document must contain a root element.");let{tags:P}=this;for(;P.length>0;){let _=P.pop();this.fail("unclosed tag: "+_.name)}this.state!==0&&this.state!==13&&this.fail("unexpected end.");let{text:O}=this;return O.length!==0&&((v=this.textHandler)===null||v===void 0||v.call(this,O),this.text=""),this._closed=!0,(k=this.endHandler)===null||k===void 0||k.call(this),this._init(),this}resolve(v){var k,P;let O=this.topNS[v];if(O!==void 0)return O;let{tags:_}=this;for(let j=_.length-1;j>=0;j--)if(O=_[j].ns[v],O!==void 0)return O;return O=this.ns[v],O!==void 0?O:(P=(k=this.opt).resolvePrefix)===null||P===void 0?void 0:P.call(k,v)}qname(v){let k=v.indexOf(":");if(k===-1)return{prefix:"",local:v};let P=v.slice(k+1),O=v.slice(0,k);return(O===""||P===""||P.includes(":"))&&this.fail(`malformed name: ${v}.`),{prefix:O,local:P}}processAttribsNS(){var v;let{attribList:k}=this,P=this.tag;{let{prefix:j,local:B}=this.qname(P.name);P.prefix=j,P.local=B;let V=P.uri=(v=this.resolve(j))!==null&&v!==void 0?v:"";j!==""&&(j==="xmlns"&&this.fail('tags may not have "xmlns" as prefix.'),V===""&&(this.fail(`unbound namespace prefix: ${JSON.stringify(j)}.`),P.uri=j))}if(k.length===0)return;let{attributes:O}=P,_=new Set;for(let j of k){let{name:B,prefix:V,local:G}=j,Q,H;V===""?(Q=B==="xmlns"?b:"",H=B):(Q=this.resolve(V),Q===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(V)}.`),Q=V),H=`{${Q}}${G}`),_.has(H)&&this.fail(`duplicate attribute: ${H}.`),_.add(H),j.uri=Q,O[B]=j}this.attribList=[]}processAttribsPlain(){let{attribList:v}=this,k=this.tag.attributes;for(let{name:P,value:O}of v)k[P]!==void 0&&this.fail(`duplicate attribute: ${P}.`),k[P]=O;this.attribList=[]}openTag(){var v;this.processAttribs();let{tags:k}=this,P=this.tag;P.isSelfClosing=!1,(v=this.openTagHandler)===null||v===void 0||v.call(this,P),k.push(P),this.state=13,this.name=""}openSelfClosingTag(){var v,k,P;this.processAttribs();let{tags:O}=this,_=this.tag;_.isSelfClosing=!0,(v=this.openTagHandler)===null||v===void 0||v.call(this,_),(k=this.closeTagHandler)===null||k===void 0||k.call(this,_),(this.tag=(P=O[O.length-1])!==null&&P!==void 0?P:null)===null&&(this.closedRoot=!0),this.state=13,this.name=""}closeTag(){let{tags:v,name:k}=this;if(this.state=13,this.name="",k==="")return this.fail("weird empty close tag."),void(this.text+="</>");let P=this.closeTagHandler,O=v.length;for(;O-- >0;){let _=this.tag=v.pop();if(this.topNS=_.ns,P==null||P(_),_.name===k)break;this.fail("unexpected close tag.")}O===0?this.closedRoot=!0:O<0&&(this.fail(`unmatched closing tag: ${k}.`),this.text+=`</${k}>`)}parseEntity(v){if(v[0]!=="#"){let P=this.ENTITIES[v];return P!==void 0?P:(this.fail(this.isName(v)?"undefined entity.":"disallowed character in entity name."),`&${v};`)}let k=NaN;return v[1]==="x"&&/^#x[0-9a-f]+$/i.test(v)?k=parseInt(v.slice(2),16):/^#[0-9]+$/.test(v)&&(k=parseInt(v.slice(1),10)),this.isChar(k)?String.fromCodePoint(k):(this.fail("malformed character entity."),`&${v};`)}}},{"xmlchars/xml/1.0/ed5":543,"xmlchars/xml/1.1/ed2":544,"xmlchars/xmlns/1.0/ed3":545}],497:[function(t,e,i){"use strict";var o=t("safe-buffer").Buffer;function r(n,a){this._block=o.alloc(n),this._finalSize=a,this._blockSize=n,this._len=0}r.prototype.update=function(n,a){typeof n=="string"&&(a=a||"utf8",n=o.from(n,a));for(var s=this._block,l=this._blockSize,c=n.length,d=this._len,u=0;u<c;){for(var p=d%l,m=Math.min(c-u,l-p),h=0;h<m;h++)s[p+h]=n[u+h];u+=m,(d+=m)%l==0&&this._update(s)}return this._len+=c,this},r.prototype.digest=function(n){var a=this._len%this._blockSize;this._block[a]=128,this._block.fill(0,a+1),a>=this._finalSize&&(this._update(this._block),this._block.fill(0));var s=8*this._len;if(s<=4294967295)this._block.writeUInt32BE(s,this._blockSize-4);else{var l=(4294967295&s)>>>0,c=(s-l)/4294967296;this._block.writeUInt32BE(c,this._blockSize-8),this._block.writeUInt32BE(l,this._blockSize-4)}this._update(this._block);var d=this._hash();return n?d.toString(n):d},r.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=r},{"safe-buffer":494}],498:[function(t,e,i){"use strict";var o=e.exports=function(r){r=r.toLowerCase();var n=o[r];if(!n)throw new Error(r+" is not supported (we accept pull requests)");return new n};o.sha=t("./sha"),o.sha1=t("./sha1"),o.sha224=t("./sha224"),o.sha256=t("./sha256"),o.sha384=t("./sha384"),o.sha512=t("./sha512")},{"./sha":499,"./sha1":500,"./sha224":501,"./sha256":502,"./sha384":503,"./sha512":504}],499:[function(t,e,i){"use strict";var o=t("inherits"),r=t("./hash"),n=t("safe-buffer").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function l(){this.init(),this._w=s,r.call(this,64,56)}function c(u){return u<<30|u>>>2}function d(u,p,m,h){return u===0?p&m|~p&h:u===2?p&m|p&h|m&h:p^m^h}o(l,r),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(u){for(var p,m=this._w,h=0|this._a,f=0|this._b,g=0|this._c,b=0|this._d,y=0|this._e,w=0;w<16;++w)m[w]=u.readInt32BE(4*w);for(;w<80;++w)m[w]=m[w-3]^m[w-8]^m[w-14]^m[w-16];for(var x=0;x<80;++x){var S=~~(x/20),T=0|((p=h)<<5|p>>>27)+d(S,f,g,b)+y+m[x]+a[S];y=b,b=g,g=c(f),f=h,h=T}this._a=h+this._a|0,this._b=f+this._b|0,this._c=g+this._c|0,this._d=b+this._d|0,this._e=y+this._e|0},l.prototype._hash=function(){var u=n.allocUnsafe(20);return u.writeInt32BE(0|this._a,0),u.writeInt32BE(0|this._b,4),u.writeInt32BE(0|this._c,8),u.writeInt32BE(0|this._d,12),u.writeInt32BE(0|this._e,16),u},e.exports=l},{"./hash":497,inherits:440,"safe-buffer":494}],500:[function(t,e,i){"use strict";var o=t("inherits"),r=t("./hash"),n=t("safe-buffer").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function l(){this.init(),this._w=s,r.call(this,64,56)}function c(p){return p<<5|p>>>27}function d(p){return p<<30|p>>>2}function u(p,m,h,f){return p===0?m&h|~m&f:p===2?m&h|m&f|h&f:m^h^f}o(l,r),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(p){for(var m,h=this._w,f=0|this._a,g=0|this._b,b=0|this._c,y=0|this._d,w=0|this._e,x=0;x<16;++x)h[x]=p.readInt32BE(4*x);for(;x<80;++x)h[x]=(m=h[x-3]^h[x-8]^h[x-14]^h[x-16])<<1|m>>>31;for(var S=0;S<80;++S){var T=~~(S/20),M=c(f)+u(T,g,b,y)+w+h[S]+a[T]|0;w=y,y=b,b=d(g),g=f,f=M}this._a=f+this._a|0,this._b=g+this._b|0,this._c=b+this._c|0,this._d=y+this._d|0,this._e=w+this._e|0},l.prototype._hash=function(){var p=n.allocUnsafe(20);return p.writeInt32BE(0|this._a,0),p.writeInt32BE(0|this._b,4),p.writeInt32BE(0|this._c,8),p.writeInt32BE(0|this._d,12),p.writeInt32BE(0|this._e,16),p},e.exports=l},{"./hash":497,inherits:440,"safe-buffer":494}],501:[function(t,e,i){"use strict";var o=t("inherits"),r=t("./sha256"),n=t("./hash"),a=t("safe-buffer").Buffer,s=new Array(64);function l(){this.init(),this._w=s,n.call(this,64,56)}o(l,r),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var c=a.allocUnsafe(28);return c.writeInt32BE(this._a,0),c.writeInt32BE(this._b,4),c.writeInt32BE(this._c,8),c.writeInt32BE(this._d,12),c.writeInt32BE(this._e,16),c.writeInt32BE(this._f,20),c.writeInt32BE(this._g,24),c},e.exports=l},{"./hash":497,"./sha256":502,inherits:440,"safe-buffer":494}],502:[function(t,e,i){"use strict";var o=t("inherits"),r=t("./hash"),n=t("safe-buffer").Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function l(){this.init(),this._w=s,r.call(this,64,56)}function c(h,f,g){return g^h&(f^g)}function d(h,f,g){return h&f|g&(h|f)}function u(h){return(h>>>2|h<<30)^(h>>>13|h<<19)^(h>>>22|h<<10)}function p(h){return(h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7)}function m(h){return(h>>>7|h<<25)^(h>>>18|h<<14)^h>>>3}o(l,r),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(h){for(var f,g=this._w,b=0|this._a,y=0|this._b,w=0|this._c,x=0|this._d,S=0|this._e,T=0|this._f,M=0|this._g,I=0|this._h,A=0;A<16;++A)g[A]=h.readInt32BE(4*A);for(;A<64;++A)g[A]=0|(((f=g[A-2])>>>17|f<<15)^(f>>>19|f<<13)^f>>>10)+g[A-7]+m(g[A-15])+g[A-16];for(var D=0;D<64;++D){var E=I+p(S)+c(S,T,M)+a[D]+g[D]|0,N=u(b)+d(b,y,w)|0;I=M,M=T,T=S,S=x+E|0,x=w,w=y,y=b,b=E+N|0}this._a=b+this._a|0,this._b=y+this._b|0,this._c=w+this._c|0,this._d=x+this._d|0,this._e=S+this._e|0,this._f=T+this._f|0,this._g=M+this._g|0,this._h=I+this._h|0},l.prototype._hash=function(){var h=n.allocUnsafe(32);return h.writeInt32BE(this._a,0),h.writeInt32BE(this._b,4),h.writeInt32BE(this._c,8),h.writeInt32BE(this._d,12),h.writeInt32BE(this._e,16),h.writeInt32BE(this._f,20),h.writeInt32BE(this._g,24),h.writeInt32BE(this._h,28),h},e.exports=l},{"./hash":497,inherits:440,"safe-buffer":494}],503:[function(t,e,i){"use strict";var o=t("inherits"),r=t("./sha512"),n=t("./hash"),a=t("safe-buffer").Buffer,s=new Array(160);function l(){this.init(),this._w=s,n.call(this,128,112)}o(l,r),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var c=a.allocUnsafe(48);function d(u,p,m){c.writeInt32BE(u,m),c.writeInt32BE(p,m+4)}return d(this._ah,this._al,0),d(this._bh,this._bl,8),d(this._ch,this._cl,16),d(this._dh,this._dl,24),d(this._eh,this._el,32),d(this._fh,this._fl,40),c},e.exports=l},{"./hash":497,"./sha512":504,inherits:440,"safe-buffer":494}],504:[function(t,e,i){"use strict";var o=t("inherits"),r=t("./hash"),n=t("safe-buffer").Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function l(){this.init(),this._w=s,r.call(this,128,112)}function c(y,w,x){return x^y&(w^x)}function d(y,w,x){return y&w|x&(y|w)}function u(y,w){return(y>>>28|w<<4)^(w>>>2|y<<30)^(w>>>7|y<<25)}function p(y,w){return(y>>>14|w<<18)^(y>>>18|w<<14)^(w>>>9|y<<23)}function m(y,w){return(y>>>1|w<<31)^(y>>>8|w<<24)^y>>>7}function h(y,w){return(y>>>1|w<<31)^(y>>>8|w<<24)^(y>>>7|w<<25)}function f(y,w){return(y>>>19|w<<13)^(w>>>29|y<<3)^y>>>6}function g(y,w){return(y>>>19|w<<13)^(w>>>29|y<<3)^(y>>>6|w<<26)}function b(y,w){return y>>>0<w>>>0?1:0}o(l,r),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(y){for(var w=this._w,x=0|this._ah,S=0|this._bh,T=0|this._ch,M=0|this._dh,I=0|this._eh,A=0|this._fh,D=0|this._gh,E=0|this._hh,N=0|this._al,R=0|this._bl,v=0|this._cl,k=0|this._dl,P=0|this._el,O=0|this._fl,_=0|this._gl,j=0|this._hl,B=0;B<32;B+=2)w[B]=y.readInt32BE(4*B),w[B+1]=y.readInt32BE(4*B+4);for(;B<160;B+=2){var V=w[B-30],G=w[B-30+1],Q=m(V,G),H=h(G,V),q=f(V=w[B-4],G=w[B-4+1]),U=g(G,V),F=w[B-14],K=w[B-14+1],te=w[B-32],ae=w[B-32+1],pe=H+K|0,Z=Q+F+b(pe,H)|0;Z=(Z=Z+q+b(pe=pe+U|0,U)|0)+te+b(pe=pe+ae|0,ae)|0,w[B]=Z,w[B+1]=pe}for(var ee=0;ee<160;ee+=2){Z=w[ee],pe=w[ee+1];var ce=d(x,S,T),ne=d(N,R,v),oe=u(x,N),re=u(N,x),Y=p(I,P),X=p(P,I),ie=a[ee],de=a[ee+1],fe=c(I,A,D),ye=c(P,O,_),Le=j+X|0,Re=E+Y+b(Le,j)|0;Re=(Re=(Re=Re+fe+b(Le=Le+ye|0,ye)|0)+ie+b(Le=Le+de|0,de)|0)+Z+b(Le=Le+pe|0,pe)|0;var Ne=re+ne|0,Te=oe+ce+b(Ne,re)|0;E=D,j=_,D=A,_=O,A=I,O=P,I=M+Re+b(P=k+Le|0,k)|0,M=T,k=v,T=S,v=R,S=x,R=N,x=Re+Te+b(N=Le+Ne|0,Le)|0}this._al=this._al+N|0,this._bl=this._bl+R|0,this._cl=this._cl+v|0,this._dl=this._dl+k|0,this._el=this._el+P|0,this._fl=this._fl+O|0,this._gl=this._gl+_|0,this._hl=this._hl+j|0,this._ah=this._ah+x+b(this._al,N)|0,this._bh=this._bh+S+b(this._bl,R)|0,this._ch=this._ch+T+b(this._cl,v)|0,this._dh=this._dh+M+b(this._dl,k)|0,this._eh=this._eh+I+b(this._el,P)|0,this._fh=this._fh+A+b(this._fl,O)|0,this._gh=this._gh+D+b(this._gl,_)|0,this._hh=this._hh+E+b(this._hl,j)|0},l.prototype._hash=function(){var y=n.allocUnsafe(64);function w(x,S,T){y.writeInt32BE(x,T),y.writeInt32BE(S,T+4)}return w(this._ah,this._al,0),w(this._bh,this._bl,8),w(this._ch,this._cl,16),w(this._dh,this._dl,24),w(this._eh,this._el,32),w(this._fh,this._fl,40),w(this._gh,this._gl,48),w(this._hh,this._hl,56),y},e.exports=l},{"./hash":497,inherits:440,"safe-buffer":494}],505:[function(t,e,i){"use strict";e.exports=r;var o=t("events").EventEmitter;function r(){o.call(this)}t("inherits")(r,o),r.Readable=t("readable-stream/readable.js"),r.Writable=t("readable-stream/writable.js"),r.Duplex=t("readable-stream/duplex.js"),r.Transform=t("readable-stream/transform.js"),r.PassThrough=t("readable-stream/passthrough.js"),r.Stream=r,r.prototype.pipe=function(n,a){var s=this;function l(f){n.writable&&n.write(f)===!1&&s.pause&&s.pause()}function c(){s.readable&&s.resume&&s.resume()}s.on("data",l),n.on("drain",c),n._isStdio||a&&a.end===!1||(s.on("end",u),s.on("close",p));var d=!1;function u(){d||(d=!0,n.end())}function p(){d||(d=!0,typeof n.destroy=="function"&&n.destroy())}function m(f){if(h(),o.listenerCount(this,"error")===0)throw f}function h(){s.removeListener("data",l),n.removeListener("drain",c),s.removeListener("end",u),s.removeListener("close",p),s.removeListener("error",m),n.removeListener("error",m),s.removeListener("end",h),s.removeListener("close",h),n.removeListener("close",h)}return s.on("error",m),n.on("error",m),s.on("end",h),s.on("close",h),n.on("close",h),n.emit("pipe",s),n}},{events:422,inherits:440,"readable-stream/duplex.js":507,"readable-stream/passthrough.js":516,"readable-stream/readable.js":517,"readable-stream/transform.js":518,"readable-stream/writable.js":519}],506:[function(t,e,i){"use strict";var o={}.toString;e.exports=Array.isArray||function(r){return o.call(r)=="[object Array]"}},{}],507:[function(t,e,i){"use strict";e.exports=t("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":508}],508:[function(t,e,i){"use strict";var o=t("process-nextick-args"),r=Object.keys||function(h){var f=[];for(var g in h)f.push(g);return f};e.exports=u;var n=Object.create(t("core-util-is"));n.inherits=t("inherits");var a=t("./_stream_readable"),s=t("./_stream_writable");n.inherits(u,a);for(var l=r(s.prototype),c=0;c<l.length;c++){var d=l[c];u.prototype[d]||(u.prototype[d]=s.prototype[d])}function u(h){if(!(this instanceof u))return new u(h);a.call(this,h),s.call(this,h),h&&h.readable===!1&&(this.readable=!1),h&&h.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,h&&h.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",p)}function p(){this.allowHalfOpen||this._writableState.ended||o.nextTick(m,this)}function m(h){h.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(h){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=h,this._writableState.destroyed=h)}}),u.prototype._destroy=function(h,f){this.push(null),this.end(),o.nextTick(f,h)}},{"./_stream_readable":510,"./_stream_writable":512,"core-util-is":383,inherits:440,"process-nextick-args":466}],509:[function(t,e,i){"use strict";e.exports=n;var o=t("./_stream_transform"),r=Object.create(t("core-util-is"));function n(a){if(!(this instanceof n))return new n(a);o.call(this,a)}r.inherits=t("inherits"),r.inherits(n,o),n.prototype._transform=function(a,s,l){l(null,a)}},{"./_stream_transform":511,"core-util-is":383,inherits:440}],510:[function(t,e,i){(function(o,r){(function(){"use strict";var n=t("process-nextick-args");e.exports=x;var a,s=t("isarray");x.ReadableState=w,t("events").EventEmitter;var l=function(j,B){return j.listeners(B).length},c=t("./internal/streams/stream"),d=t("safe-buffer").Buffer,u=(r!==void 0?r:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},p=Object.create(t("core-util-is"));p.inherits=t("inherits");var m=t("util"),h=void 0;h=m&&m.debuglog?m.debuglog("stream"):function(){};var f,g=t("./internal/streams/BufferList"),b=t("./internal/streams/destroy");p.inherits(x,c);var y=["error","close","destroy","pause","resume"];function w(j,B){j=j||{};var V=B instanceof(a=a||t("./_stream_duplex"));this.objectMode=!!j.objectMode,V&&(this.objectMode=this.objectMode||!!j.readableObjectMode);var G=j.highWaterMark,Q=j.readableHighWaterMark,H=this.objectMode?16:16384;this.highWaterMark=G||G===0?G:V&&(Q||Q===0)?Q:H,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=j.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,j.encoding&&(f||(f=t("string_decoder/").StringDecoder),this.decoder=new f(j.encoding),this.encoding=j.encoding)}function x(j){if(a=a||t("./_stream_duplex"),!(this instanceof x))return new x(j);this._readableState=new w(j,this),this.readable=!0,j&&(typeof j.read=="function"&&(this._read=j.read),typeof j.destroy=="function"&&(this._destroy=j.destroy)),c.call(this)}function S(j,B,V,G,Q){var H,q=j._readableState;return B===null?(q.reading=!1,(function(U,F){if(!F.ended){if(F.decoder){var K=F.decoder.end();K&&K.length&&(F.buffer.push(K),F.length+=F.objectMode?1:K.length)}F.ended=!0,I(U)}})(j,q)):(Q||(H=(function(U,F){var K;te=F,d.isBuffer(te)||te instanceof u||typeof F=="string"||F===void 0||U.objectMode||(K=new TypeError("Invalid non-string/buffer chunk"));var te;return K})(q,B)),H?j.emit("error",H):q.objectMode||B&&B.length>0?(typeof B=="string"||q.objectMode||Object.getPrototypeOf(B)===d.prototype||(B=(function(U){return d.from(U)})(B)),G?q.endEmitted?j.emit("error",new Error("stream.unshift() after end event")):T(j,q,B,!0):q.ended?j.emit("error",new Error("stream.push() after EOF")):(q.reading=!1,q.decoder&&!V?(B=q.decoder.write(B),q.objectMode||B.length!==0?T(j,q,B,!1):D(j,q)):T(j,q,B,!1))):G||(q.reading=!1)),(function(U){return!U.ended&&(U.needReadable||U.length<U.highWaterMark||U.length===0)})(q)}function T(j,B,V,G){B.flowing&&B.length===0&&!B.sync?(j.emit("data",V),j.read(0)):(B.length+=B.objectMode?1:V.length,G?B.buffer.unshift(V):B.buffer.push(V),B.needReadable&&I(j)),D(j,B)}Object.defineProperty(x.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(j){this._readableState&&(this._readableState.destroyed=j)}}),x.prototype.destroy=b.destroy,x.prototype._undestroy=b.undestroy,x.prototype._destroy=function(j,B){this.push(null),B(j)},x.prototype.push=function(j,B){var V,G=this._readableState;return G.objectMode?V=!0:typeof j=="string"&&((B=B||G.defaultEncoding)!==G.encoding&&(j=d.from(j,B),B=""),V=!0),S(this,j,B,!1,V)},x.prototype.unshift=function(j){return S(this,j,null,!0,!1)},x.prototype.isPaused=function(){return this._readableState.flowing===!1},x.prototype.setEncoding=function(j){return f||(f=t("string_decoder/").StringDecoder),this._readableState.decoder=new f(j),this._readableState.encoding=j,this};function M(j,B){return j<=0||B.length===0&&B.ended?0:B.objectMode?1:j!=j?B.flowing&&B.length?B.buffer.head.data.length:B.length:(j>B.highWaterMark&&(B.highWaterMark=(function(V){return V>=8388608?V=8388608:(V--,V|=V>>>1,V|=V>>>2,V|=V>>>4,V|=V>>>8,V|=V>>>16,V++),V})(j)),j<=B.length?j:B.ended?B.length:(B.needReadable=!0,0))}function I(j){var B=j._readableState;B.needReadable=!1,B.emittedReadable||(h("emitReadable",B.flowing),B.emittedReadable=!0,B.sync?n.nextTick(A,j):A(j))}function A(j){h("emit readable"),j.emit("readable"),v(j)}function D(j,B){B.readingMore||(B.readingMore=!0,n.nextTick(E,j,B))}function E(j,B){for(var V=B.length;!B.reading&&!B.flowing&&!B.ended&&B.length<B.highWaterMark&&(h("maybeReadMore read 0"),j.read(0),V!==B.length);)V=B.length;B.readingMore=!1}function N(j){h("readable nexttick read 0"),j.read(0)}function R(j,B){B.reading||(h("resume read 0"),j.read(0)),B.resumeScheduled=!1,B.awaitDrain=0,j.emit("resume"),v(j),B.flowing&&!B.reading&&j.read(0)}function v(j){var B=j._readableState;for(h("flow",B.flowing);B.flowing&&j.read()!==null;);}function k(j,B){return B.length===0?null:(B.objectMode?V=B.buffer.shift():!j||j>=B.length?(V=B.decoder?B.buffer.join(""):B.buffer.length===1?B.buffer.head.data:B.buffer.concat(B.length),B.buffer.clear()):V=(function(G,Q,H){var q;return G<Q.head.data.length?(q=Q.head.data.slice(0,G),Q.head.data=Q.head.data.slice(G)):q=G===Q.head.data.length?Q.shift():H?(function(U,F){var K=F.head,te=1,ae=K.data;for(U-=ae.length;K=K.next;){var pe=K.data,Z=U>pe.length?pe.length:U;if(Z===pe.length?ae+=pe:ae+=pe.slice(0,U),(U-=Z)===0){Z===pe.length?(++te,K.next?F.head=K.next:F.head=F.tail=null):(F.head=K,K.data=pe.slice(Z));break}++te}return F.length-=te,ae})(G,Q):(function(U,F){var K=d.allocUnsafe(U),te=F.head,ae=1;for(te.data.copy(K),U-=te.data.length;te=te.next;){var pe=te.data,Z=U>pe.length?pe.length:U;if(pe.copy(K,K.length-U,0,Z),(U-=Z)===0){Z===pe.length?(++ae,te.next?F.head=te.next:F.head=F.tail=null):(F.head=te,te.data=pe.slice(Z));break}++ae}return F.length-=ae,K})(G,Q),q})(j,B.buffer,B.decoder),V);var V}function P(j){var B=j._readableState;if(B.length>0)throw new Error('"endReadable()" called on non-empty stream');B.endEmitted||(B.ended=!0,n.nextTick(O,B,j))}function O(j,B){j.endEmitted||j.length!==0||(j.endEmitted=!0,B.readable=!1,B.emit("end"))}function _(j,B){for(var V=0,G=j.length;V<G;V++)if(j[V]===B)return V;return-1}x.prototype.read=function(j){h("read",j),j=parseInt(j,10);var B=this._readableState,V=j;if(j!==0&&(B.emittedReadable=!1),j===0&&B.needReadable&&(B.length>=B.highWaterMark||B.ended))return h("read: emitReadable",B.length,B.ended),B.length===0&&B.ended?P(this):I(this),null;if((j=M(j,B))===0&&B.ended)return B.length===0&&P(this),null;var G,Q=B.needReadable;return h("need readable",Q),(B.length===0||B.length-j<B.highWaterMark)&&h("length less than watermark",Q=!0),B.ended||B.reading?h("reading or ended",Q=!1):Q&&(h("do read"),B.reading=!0,B.sync=!0,B.length===0&&(B.needReadable=!0),this._read(B.highWaterMark),B.sync=!1,B.reading||(j=M(V,B))),(G=j>0?k(j,B):null)===null?(B.needReadable=!0,j=0):B.length-=j,B.length===0&&(B.ended||(B.needReadable=!0),V!==j&&B.ended&&P(this)),G!==null&&this.emit("data",G),G},x.prototype._read=function(j){this.emit("error",new Error("_read() is not implemented"))},x.prototype.pipe=function(j,B){var V=this,G=this._readableState;switch(G.pipesCount){case 0:G.pipes=j;break;case 1:G.pipes=[G.pipes,j];break;default:G.pipes.push(j)}G.pipesCount+=1,h("pipe count=%d opts=%j",G.pipesCount,B);var Q=(!B||B.end!==!1)&&j!==o.stdout&&j!==o.stderr?q:ee;function H(ce,ne){h("onunpipe"),ce===V&&ne&&ne.hasUnpiped===!1&&(ne.hasUnpiped=!0,h("cleanup"),j.removeListener("close",pe),j.removeListener("finish",Z),j.removeListener("drain",U),j.removeListener("error",ae),j.removeListener("unpipe",H),V.removeListener("end",q),V.removeListener("end",ee),V.removeListener("data",te),F=!0,!G.awaitDrain||j._writableState&&!j._writableState.needDrain||U())}function q(){h("onend"),j.end()}G.endEmitted?n.nextTick(Q):V.once("end",Q),j.on("unpipe",H);var U=(function(ce){return function(){var ne=ce._readableState;h("pipeOnDrain",ne.awaitDrain),ne.awaitDrain&&ne.awaitDrain--,ne.awaitDrain===0&&l(ce,"data")&&(ne.flowing=!0,v(ce))}})(V);j.on("drain",U);var F=!1,K=!1;function te(ce){h("ondata"),K=!1,j.write(ce)!==!1||K||((G.pipesCount===1&&G.pipes===j||G.pipesCount>1&&_(G.pipes,j)!==-1)&&!F&&(h("false write response, pause",G.awaitDrain),G.awaitDrain++,K=!0),V.pause())}function ae(ce){h("onerror",ce),ee(),j.removeListener("error",ae),l(j,"error")===0&&j.emit("error",ce)}function pe(){j.removeListener("finish",Z),ee()}function Z(){h("onfinish"),j.removeListener("close",pe),ee()}function ee(){h("unpipe"),V.unpipe(j)}return V.on("data",te),(function(ce,ne,oe){if(typeof ce.prependListener=="function")return ce.prependListener(ne,oe);ce._events&&ce._events[ne]?s(ce._events[ne])?ce._events[ne].unshift(oe):ce._events[ne]=[oe,ce._events[ne]]:ce.on(ne,oe)})(j,"error",ae),j.once("close",pe),j.once("finish",Z),j.emit("pipe",V),G.flowing||(h("pipe resume"),V.resume()),j},x.prototype.unpipe=function(j){var B=this._readableState,V={hasUnpiped:!1};if(B.pipesCount===0)return this;if(B.pipesCount===1)return j&&j!==B.pipes||(j||(j=B.pipes),B.pipes=null,B.pipesCount=0,B.flowing=!1,j&&j.emit("unpipe",this,V)),this;if(!j){var G=B.pipes,Q=B.pipesCount;B.pipes=null,B.pipesCount=0,B.flowing=!1;for(var H=0;H<Q;H++)G[H].emit("unpipe",this,{hasUnpiped:!1});return this}var q=_(B.pipes,j);return q===-1||(B.pipes.splice(q,1),B.pipesCount-=1,B.pipesCount===1&&(B.pipes=B.pipes[0]),j.emit("unpipe",this,V)),this},x.prototype.on=function(j,B){var V=c.prototype.on.call(this,j,B);if(j==="data")this._readableState.flowing!==!1&&this.resume();else if(j==="readable"){var G=this._readableState;G.endEmitted||G.readableListening||(G.readableListening=G.needReadable=!0,G.emittedReadable=!1,G.reading?G.length&&I(this):n.nextTick(N,this))}return V},x.prototype.addListener=x.prototype.on,x.prototype.resume=function(){var j=this._readableState;return j.flowing||(h("resume"),j.flowing=!0,(function(B,V){V.resumeScheduled||(V.resumeScheduled=!0,n.nextTick(R,B,V))})(this,j)),this},x.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this},x.prototype.wrap=function(j){var B=this,V=this._readableState,G=!1;for(var Q in j.on("end",(function(){if(h("wrapped end"),V.decoder&&!V.ended){var q=V.decoder.end();q&&q.length&&B.push(q)}B.push(null)})),j.on("data",(function(q){h("wrapped data"),V.decoder&&(q=V.decoder.write(q)),V.objectMode&&q==null||(V.objectMode||q&&q.length)&&(B.push(q)||(G=!0,j.pause()))})),j)this[Q]===void 0&&typeof j[Q]=="function"&&(this[Q]=(function(q){return function(){return j[q].apply(j,arguments)}})(Q));for(var H=0;H<y.length;H++)j.on(y[H],this.emit.bind(this,y[H]));return this._read=function(q){h("wrapped _read",q),G&&(G=!1,j.resume())},this},Object.defineProperty(x.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),x._fromList=k}).call(this)}).call(this,t("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./_stream_duplex":508,"./internal/streams/BufferList":513,"./internal/streams/destroy":514,"./internal/streams/stream":515,_process:467,"core-util-is":383,events:422,inherits:440,isarray:506,"process-nextick-args":466,"safe-buffer":520,"string_decoder/":521,util:188}],511:[function(t,e,i){"use strict";e.exports=a;var o=t("./_stream_duplex"),r=Object.create(t("core-util-is"));function n(c,d){var u=this._transformState;u.transforming=!1;var p=u.writecb;if(!p)return this.emit("error",new Error("write callback called multiple times"));u.writechunk=null,u.writecb=null,d!=null&&this.push(d),p(c);var m=this._readableState;m.reading=!1,(m.needReadable||m.length<m.highWaterMark)&&this._read(m.highWaterMark)}function a(c){if(!(this instanceof a))return new a(c);o.call(this,c),this._transformState={afterTransform:n.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,c&&(typeof c.transform=="function"&&(this._transform=c.transform),typeof c.flush=="function"&&(this._flush=c.flush)),this.on("prefinish",s)}function s(){var c=this;typeof this._flush=="function"?this._flush((function(d,u){l(c,d,u)})):l(this,null,null)}function l(c,d,u){if(d)return c.emit("error",d);if(u!=null&&c.push(u),c._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(c._transformState.transforming)throw new Error("Calling transform done when still transforming");return c.push(null)}r.inherits=t("inherits"),r.inherits(a,o),a.prototype.push=function(c,d){return this._transformState.needTransform=!1,o.prototype.push.call(this,c,d)},a.prototype._transform=function(c,d,u){throw new Error("_transform() is not implemented")},a.prototype._write=function(c,d,u){var p=this._transformState;if(p.writecb=u,p.writechunk=c,p.writeencoding=d,!p.transforming){var m=this._readableState;(p.needTransform||m.needReadable||m.length<m.highWaterMark)&&this._read(m.highWaterMark)}},a.prototype._read=function(c){var d=this._transformState;d.writechunk!==null&&d.writecb&&!d.transforming?(d.transforming=!0,this._transform(d.writechunk,d.writeencoding,d.afterTransform)):d.needTransform=!0},a.prototype._destroy=function(c,d){var u=this;o.prototype._destroy.call(this,c,(function(p){d(p),u.emit("close")}))}},{"./_stream_duplex":508,"core-util-is":383,inherits:440}],512:[function(t,e,i){(function(o,r,n){(function(){"use strict";var a=t("process-nextick-args");function s(D){var E=this;this.next=null,this.entry=null,this.finish=function(){(function(N,R,v){var k=N.entry;for(N.entry=null;k;){var P=k.callback;R.pendingcb--,P(v),k=k.next}R.corkedRequestsFree.next=N})(E,D)}}e.exports=w;var l,c=!o.browser&&["v0.10","v0.9."].indexOf(o.version.slice(0,5))>-1?n:a.nextTick;w.WritableState=y;var d=Object.create(t("core-util-is"));d.inherits=t("inherits");var u={deprecate:t("util-deprecate")},p=t("./internal/streams/stream"),m=t("safe-buffer").Buffer,h=(r!==void 0?r:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},f,g=t("./internal/streams/destroy");function b(){}function y(D,E){l=l||t("./_stream_duplex"),D=D||{};var N=E instanceof l;this.objectMode=!!D.objectMode,N&&(this.objectMode=this.objectMode||!!D.writableObjectMode);var R=D.highWaterMark,v=D.writableHighWaterMark,k=this.objectMode?16:16384;this.highWaterMark=R||R===0?R:N&&(v||v===0)?v:k,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var P=D.decodeStrings===!1;this.decodeStrings=!P,this.defaultEncoding=D.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(O){(function(_,j){var B=_._writableState,V=B.sync,G=B.writecb;if((function(H){H.writing=!1,H.writecb=null,H.length-=H.writelen,H.writelen=0})(B),j)(function(H,q,U,F,K){--q.pendingcb,U?(a.nextTick(K,F),a.nextTick(A,H,q),H._writableState.errorEmitted=!0,H.emit("error",F)):(K(F),H._writableState.errorEmitted=!0,H.emit("error",F),A(H,q))})(_,B,V,j,G);else{var Q=M(B);Q||B.corked||B.bufferProcessing||!B.bufferedRequest||T(_,B),V?c(S,_,B,Q,G):S(_,B,Q,G)}})(E,O)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function w(D){if(l=l||t("./_stream_duplex"),!(f.call(w,this)||this instanceof l))return new w(D);this._writableState=new y(D,this),this.writable=!0,D&&(typeof D.write=="function"&&(this._write=D.write),typeof D.writev=="function"&&(this._writev=D.writev),typeof D.destroy=="function"&&(this._destroy=D.destroy),typeof D.final=="function"&&(this._final=D.final)),p.call(this)}function x(D,E,N,R,v,k,P){E.writelen=R,E.writecb=P,E.writing=!0,E.sync=!0,N?D._writev(v,E.onwrite):D._write(v,k,E.onwrite),E.sync=!1}function S(D,E,N,R){N||(function(v,k){k.length===0&&k.needDrain&&(k.needDrain=!1,v.emit("drain"))})(D,E),E.pendingcb--,R(),A(D,E)}function T(D,E){E.bufferProcessing=!0;var N=E.bufferedRequest;if(D._writev&&N&&N.next){var R=E.bufferedRequestCount,v=new Array(R),k=E.corkedRequestsFree;k.entry=N;for(var P=0,O=!0;N;)v[P]=N,N.isBuf||(O=!1),N=N.next,P+=1;v.allBuffers=O,x(D,E,!0,E.length,v,"",k.finish),E.pendingcb++,E.lastBufferedRequest=null,k.next?(E.corkedRequestsFree=k.next,k.next=null):E.corkedRequestsFree=new s(E),E.bufferedRequestCount=0}else{for(;N;){var _=N.chunk,j=N.encoding,B=N.callback;if(x(D,E,!1,E.objectMode?1:_.length,_,j,B),N=N.next,E.bufferedRequestCount--,E.writing)break}N===null&&(E.lastBufferedRequest=null)}E.bufferedRequest=N,E.bufferProcessing=!1}function M(D){return D.ending&&D.length===0&&D.bufferedRequest===null&&!D.finished&&!D.writing}function I(D,E){D._final((function(N){E.pendingcb--,N&&D.emit("error",N),E.prefinished=!0,D.emit("prefinish"),A(D,E)}))}function A(D,E){var N=M(E);return N&&((function(R,v){v.prefinished||v.finalCalled||(typeof R._final=="function"?(v.pendingcb++,v.finalCalled=!0,a.nextTick(I,R,v)):(v.prefinished=!0,R.emit("prefinish")))})(D,E),E.pendingcb===0&&(E.finished=!0,D.emit("finish"))),N}d.inherits(w,p),y.prototype.getBuffer=function(){for(var D=this.bufferedRequest,E=[];D;)E.push(D),D=D.next;return E},(function(){try{Object.defineProperty(y.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(w,Symbol.hasInstance,{value:function(D){return!!f.call(this,D)||this===w&&D&&D._writableState instanceof y}})):f=function(D){return D instanceof this},w.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},w.prototype.write=function(D,E,N){var R,v=this._writableState,k=!1,P=!v.objectMode&&(R=D,m.isBuffer(R)||R instanceof h);return P&&!m.isBuffer(D)&&(D=(function(O){return m.from(O)})(D)),typeof E=="function"&&(N=E,E=null),P?E="buffer":E||(E=v.defaultEncoding),typeof N!="function"&&(N=b),v.ended?(function(O,_){var j=new Error("write after end");O.emit("error",j),a.nextTick(_,j)})(this,N):(P||(function(O,_,j,B){var V=!0,G=!1;return j===null?G=new TypeError("May not write null values to stream"):typeof j=="string"||j===void 0||_.objectMode||(G=new TypeError("Invalid non-string/buffer chunk")),G&&(O.emit("error",G),a.nextTick(B,G),V=!1),V})(this,v,D,N))&&(v.pendingcb++,k=(function(O,_,j,B,V,G){if(!j){var Q=(function(F,K,te){return F.objectMode||F.decodeStrings===!1||typeof K!="string"||(K=m.from(K,te)),K})(_,B,V);B!==Q&&(j=!0,V="buffer",B=Q)}var H=_.objectMode?1:B.length;_.length+=H;var q=_.length<_.highWaterMark;if(q||(_.needDrain=!0),_.writing||_.corked){var U=_.lastBufferedRequest;_.lastBufferedRequest={chunk:B,encoding:V,isBuf:j,callback:G,next:null},U?U.next=_.lastBufferedRequest:_.bufferedRequest=_.lastBufferedRequest,_.bufferedRequestCount+=1}else x(O,_,!1,H,B,V,G);return q})(this,v,P,D,E,N)),k},w.prototype.cork=function(){this._writableState.corked++},w.prototype.uncork=function(){var D=this._writableState;D.corked&&(D.corked--,D.writing||D.corked||D.bufferProcessing||!D.bufferedRequest||T(this,D))},w.prototype.setDefaultEncoding=function(D){if(typeof D=="string"&&(D=D.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((D+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+D);return this._writableState.defaultEncoding=D,this},Object.defineProperty(w.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),w.prototype._write=function(D,E,N){N(new Error("_write() is not implemented"))},w.prototype._writev=null,w.prototype.end=function(D,E,N){var R=this._writableState;typeof D=="function"?(N=D,D=null,E=null):typeof E=="function"&&(N=E,E=null),D!=null&&this.write(D,E),R.corked&&(R.corked=1,this.uncork()),R.ending||(function(v,k,P){k.ending=!0,A(v,k),P&&(k.finished?a.nextTick(P):v.once("finish",P)),k.ended=!0,v.writable=!1})(this,R,N)},Object.defineProperty(w.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(D){this._writableState&&(this._writableState.destroyed=D)}}),w.prototype.destroy=g.destroy,w.prototype._undestroy=g.undestroy,w.prototype._destroy=function(D,E){this.end(),E(D)}}).call(this)}).call(this,t("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},t("timers").setImmediate)},{"./_stream_duplex":508,"./internal/streams/destroy":514,"./internal/streams/stream":515,_process:467,"core-util-is":383,inherits:440,"process-nextick-args":466,"safe-buffer":520,timers:523,"util-deprecate":524}],513:[function(t,e,i){"use strict";var o=t("safe-buffer").Buffer,r=t("util");e.exports=(function(){function n(){(function(a,s){if(!(a instanceof s))throw new TypeError("Cannot call a class as a function")})(this,n),this.head=null,this.tail=null,this.length=0}return n.prototype.push=function(a){var s={data:a,next:null};this.length>0?this.tail.next=s:this.head=s,this.tail=s,++this.length},n.prototype.unshift=function(a){var s={data:a,next:this.head};this.length===0&&(this.tail=s),this.head=s,++this.length},n.prototype.shift=function(){if(this.length!==0){var a=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,a}},n.prototype.clear=function(){this.head=this.tail=null,this.length=0},n.prototype.join=function(a){if(this.length===0)return"";for(var s=this.head,l=""+s.data;s=s.next;)l+=a+s.data;return l},n.prototype.concat=function(a){if(this.length===0)return o.alloc(0);for(var s,l,c,d=o.allocUnsafe(a>>>0),u=this.head,p=0;u;)s=u.data,l=d,c=p,s.copy(l,c),p+=u.data.length,u=u.next;return d},n})(),r&&r.inspect&&r.inspect.custom&&(e.exports.prototype[r.inspect.custom]=function(){var n=r.inspect({length:this.length});return this.constructor.name+" "+n})},{"safe-buffer":520,util:188}],514:[function(t,e,i){"use strict";var o=t("process-nextick-args");function r(n,a){n.emit("error",a)}e.exports={destroy:function(n,a){var s=this,l=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return l||c?(a?a(n):n&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,o.nextTick(r,this,n)):o.nextTick(r,this,n)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,(function(d){!a&&d?s._writableState?s._writableState.errorEmitted||(s._writableState.errorEmitted=!0,o.nextTick(r,s,d)):o.nextTick(r,s,d):a&&a(d)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":466}],515:[function(t,e,i){arguments[4][490][0].apply(i,arguments)},{dup:490,events:422}],516:[function(t,e,i){"use strict";e.exports=t("./readable").PassThrough},{"./readable":517}],517:[function(t,e,i){"use strict";(i=e.exports=t("./lib/_stream_readable.js")).Stream=i,i.Readable=i,i.Writable=t("./lib/_stream_writable.js"),i.Duplex=t("./lib/_stream_duplex.js"),i.Transform=t("./lib/_stream_transform.js"),i.PassThrough=t("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":508,"./lib/_stream_passthrough.js":509,"./lib/_stream_readable.js":510,"./lib/_stream_transform.js":511,"./lib/_stream_writable.js":512}],518:[function(t,e,i){"use strict";e.exports=t("./readable").Transform},{"./readable":517}],519:[function(t,e,i){"use strict";e.exports=t("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":512}],520:[function(t,e,i){arguments[4][217][0].apply(i,arguments)},{buffer:220,dup:217}],521:[function(t,e,i){arguments[4][218][0].apply(i,arguments)},{dup:218,"safe-buffer":520}],522:[function(t,e,i){arguments[4][218][0].apply(i,arguments)},{dup:218,"safe-buffer":494}],523:[function(t,e,i){(function(o,r){(function(){"use strict";var n=t("process/browser.js").nextTick,a=Function.prototype.apply,s=Array.prototype.slice,l={},c=0;function d(u,p){this._id=u,this._clearFn=p}i.setTimeout=function(){return new d(a.call(setTimeout,window,arguments),clearTimeout)},i.setInterval=function(){return new d(a.call(setInterval,window,arguments),clearInterval)},i.clearTimeout=i.clearInterval=function(u){u.close()},d.prototype.unref=d.prototype.ref=function(){},d.prototype.close=function(){this._clearFn.call(window,this._id)},i.enroll=function(u,p){clearTimeout(u._idleTimeoutId),u._idleTimeout=p},i.unenroll=function(u){clearTimeout(u._idleTimeoutId),u._idleTimeout=-1},i._unrefActive=i.active=function(u){clearTimeout(u._idleTimeoutId);var p=u._idleTimeout;p>=0&&(u._idleTimeoutId=setTimeout((function(){u._onTimeout&&u._onTimeout()}),p))},i.setImmediate=typeof o=="function"?o:function(u){var p=c++,m=!(arguments.length<2)&&s.call(arguments,1);return l[p]=!0,n((function(){l[p]&&(m?u.apply(null,m):u.call(null),i.clearImmediate(p))})),p},i.clearImmediate=typeof r=="function"?r:function(u){delete l[u]}}).call(this)}).call(this,t("timers").setImmediate,t("timers").clearImmediate)},{"process/browser.js":467,timers:523}],524:[function(t,e,i){(function(o){(function(){"use strict";function r(n){try{if(!o.localStorage)return!1}catch{return!1}var a=o.localStorage[n];return a!=null&&String(a).toLowerCase()==="true"}e.exports=function(n,a){if(r("noDeprecation"))return n;var s=!1;return function(){if(!s){if(r("throwDeprecation"))throw new Error(a);r("traceDeprecation")?console.trace(a):console.warn(a),s=!0}return n.apply(this,arguments)}}}).call(this)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],525:[function(t,e,i){"use strict";typeof Object.create=="function"?e.exports=function(o,r){o.super_=r,o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(o,r){o.super_=r;var n=function(){};n.prototype=r.prototype,o.prototype=new n,o.prototype.constructor=o}},{}],526:[function(t,e,i){"use strict";e.exports=function(o){return o&&typeof o=="object"&&typeof o.copy=="function"&&typeof o.fill=="function"&&typeof o.readUInt8=="function"}},{}],527:[function(t,e,i){(function(o,r){(function(){"use strict";var n=/%[sdj%]/g;i.format=function(v){if(!y(v)){for(var k=[],P=0;P<arguments.length;P++)k.push(l(arguments[P]));return k.join(" ")}P=1;for(var O=arguments,_=O.length,j=String(v).replace(n,(function(V){if(V==="%%")return"%";if(P>=_)return V;switch(V){case"%s":return String(O[P++]);case"%d":return Number(O[P++]);case"%j":try{return JSON.stringify(O[P++])}catch{return"[Circular]"}default:return V}})),B=O[P];P<_;B=O[++P])g(B)||!S(B)?j+=" "+B:j+=" "+l(B);return j},i.deprecate=function(v,k){if(w(r.process))return function(){return i.deprecate(v,k).apply(this,arguments)};if(o.noDeprecation===!0)return v;var P=!1;return function(){if(!P){if(o.throwDeprecation)throw new Error(k);o.traceDeprecation?console.trace(k):console.error(k),P=!0}return v.apply(this,arguments)}};var a,s={};function l(v,k){var P={seen:[],stylize:d};return arguments.length>=3&&(P.depth=arguments[2]),arguments.length>=4&&(P.colors=arguments[3]),f(k)?P.showHidden=k:k&&i._extend(P,k),w(P.showHidden)&&(P.showHidden=!1),w(P.depth)&&(P.depth=2),w(P.colors)&&(P.colors=!1),w(P.customInspect)&&(P.customInspect=!0),P.colors&&(P.stylize=c),u(P,v,P.depth)}function c(v,k){var P=l.styles[k];return P?"\x1B["+l.colors[P][0]+"m"+v+"\x1B["+l.colors[P][1]+"m":v}function d(v,k){return v}function u(v,k,P){if(v.customInspect&&k&&I(k.inspect)&&k.inspect!==i.inspect&&(!k.constructor||k.constructor.prototype!==k)){var O=k.inspect(P,v);return y(O)||(O=u(v,O,P)),O}var _=(function(U,F){if(w(F))return U.stylize("undefined","undefined");if(y(F)){var K="'"+JSON.stringify(F).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return U.stylize(K,"string")}if(b(F))return U.stylize(""+F,"number");if(f(F))return U.stylize(""+F,"boolean");if(g(F))return U.stylize("null","null")})(v,k);if(_)return _;var j=Object.keys(k),B=(function(U){var F={};return U.forEach((function(K,te){F[K]=!0})),F})(j);if(v.showHidden&&(j=Object.getOwnPropertyNames(k)),M(k)&&(j.indexOf("message")>=0||j.indexOf("description")>=0))return p(k);if(j.length===0){if(I(k)){var V=k.name?": "+k.name:"";return v.stylize("[Function"+V+"]","special")}if(x(k))return v.stylize(RegExp.prototype.toString.call(k),"regexp");if(T(k))return v.stylize(Date.prototype.toString.call(k),"date");if(M(k))return p(k)}var G,Q="",H=!1,q=["{","}"];return h(k)&&(H=!0,q=["[","]"]),I(k)&&(Q=" [Function"+(k.name?": "+k.name:"")+"]"),x(k)&&(Q=" "+RegExp.prototype.toString.call(k)),T(k)&&(Q=" "+Date.prototype.toUTCString.call(k)),M(k)&&(Q=" "+p(k)),j.length!==0||H&&k.length!=0?P<0?x(k)?v.stylize(RegExp.prototype.toString.call(k),"regexp"):v.stylize("[Object]","special"):(v.seen.push(k),G=H?(function(U,F,K,te,ae){for(var pe=[],Z=0,ee=F.length;Z<ee;++Z)R(F,String(Z))?pe.push(m(U,F,K,te,String(Z),!0)):pe.push("");return ae.forEach((function(ce){ce.match(/^\d+$/)||pe.push(m(U,F,K,te,ce,!0))})),pe})(v,k,P,B,j):j.map((function(U){return m(v,k,P,B,U,H)})),v.seen.pop(),(function(U,F,K){return U.reduce((function(te,ae){return ae.indexOf(`
`)>=0,te+ae.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?K[0]+(F===""?"":F+`
 `)+" "+U.join(`,
  `)+" "+K[1]:K[0]+F+" "+U.join(", ")+" "+K[1]})(G,Q,q)):q[0]+Q+q[1]}function p(v){return"["+Error.prototype.toString.call(v)+"]"}function m(v,k,P,O,_,j){var B,V,G;if((G=Object.getOwnPropertyDescriptor(k,_)||{value:k[_]}).get?V=G.set?v.stylize("[Getter/Setter]","special"):v.stylize("[Getter]","special"):G.set&&(V=v.stylize("[Setter]","special")),R(O,_)||(B="["+_+"]"),V||(v.seen.indexOf(G.value)<0?(V=g(P)?u(v,G.value,null):u(v,G.value,P-1)).indexOf(`
`)>-1&&(V=j?V.split(`
`).map((function(Q){return"  "+Q})).join(`
`).substr(2):`
`+V.split(`
`).map((function(Q){return"   "+Q})).join(`
`)):V=v.stylize("[Circular]","special")),w(B)){if(j&&_.match(/^\d+$/))return V;(B=JSON.stringify(""+_)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(B=B.substr(1,B.length-2),B=v.stylize(B,"name")):(B=B.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),B=v.stylize(B,"string"))}return B+": "+V}function h(v){return Array.isArray(v)}function f(v){return typeof v=="boolean"}function g(v){return v===null}function b(v){return typeof v=="number"}function y(v){return typeof v=="string"}function w(v){return v===void 0}function x(v){return S(v)&&A(v)==="[object RegExp]"}function S(v){return typeof v=="object"&&v!==null}function T(v){return S(v)&&A(v)==="[object Date]"}function M(v){return S(v)&&(A(v)==="[object Error]"||v instanceof Error)}function I(v){return typeof v=="function"}function A(v){return Object.prototype.toString.call(v)}function D(v){return v<10?"0"+v.toString(10):v.toString(10)}i.debuglog=function(v){if(w(a)&&(a=o.env.NODE_DEBUG||""),v=v.toUpperCase(),!s[v])if(new RegExp("\\b"+v+"\\b","i").test(a)){var k=o.pid;s[v]=function(){var P=i.format.apply(i,arguments);console.error("%s %d: %s",v,k,P)}}else s[v]=function(){};return s[v]},i.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},i.isArray=h,i.isBoolean=f,i.isNull=g,i.isNullOrUndefined=function(v){return v==null},i.isNumber=b,i.isString=y,i.isSymbol=function(v){return typeof v=="symbol"},i.isUndefined=w,i.isRegExp=x,i.isObject=S,i.isDate=T,i.isError=M,i.isFunction=I,i.isPrimitive=function(v){return v===null||typeof v=="boolean"||typeof v=="number"||typeof v=="string"||typeof v=="symbol"||v===void 0},i.isBuffer=t("./support/isBuffer");var E=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function N(){var v=new Date,k=[D(v.getHours()),D(v.getMinutes()),D(v.getSeconds())].join(":");return[v.getDate(),E[v.getMonth()],k].join(" ")}function R(v,k){return Object.prototype.hasOwnProperty.call(v,k)}i.log=function(){console.log("%s - %s",N(),i.format.apply(i,arguments))},i.inherits=t("inherits"),i._extend=function(v,k){if(!k||!S(k))return v;for(var P=Object.keys(k),O=P.length;O--;)v[P[O]]=k[P[O]];return v}}).call(this)}).call(this,t("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":526,_process:467,inherits:525}],528:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"v1",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(i,"v3",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(i,"v4",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(i,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(i,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(i,"version",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(i,"validate",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(i,"stringify",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(i,"parse",{enumerable:!0,get:function(){return u.default}});var o=p(t("./v1.js")),r=p(t("./v3.js")),n=p(t("./v4.js")),a=p(t("./v5.js")),s=p(t("./nil.js")),l=p(t("./version.js")),c=p(t("./validate.js")),d=p(t("./stringify.js")),u=p(t("./parse.js"));function p(m){return m&&m.__esModule?m:{default:m}}},{"./nil.js":530,"./parse.js":531,"./stringify.js":535,"./v1.js":536,"./v3.js":537,"./v4.js":539,"./v5.js":540,"./validate.js":541,"./version.js":542}],529:[function(t,e,i){"use strict";function o(u){return 14+(u+64>>>9<<4)+1}function r(u,p){let m=(65535&u)+(65535&p);return(u>>16)+(p>>16)+(m>>16)<<16|65535&m}function n(u,p,m,h,f,g){return r((b=r(r(p,u),r(h,g)))<<(y=f)|b>>>32-y,m);var b,y}function a(u,p,m,h,f,g,b){return n(p&m|~p&h,u,p,f,g,b)}function s(u,p,m,h,f,g,b){return n(p&h|m&~h,u,p,f,g,b)}function l(u,p,m,h,f,g,b){return n(p^m^h,u,p,f,g,b)}function c(u,p,m,h,f,g,b){return n(m^(p|~h),u,p,f,g,b)}Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var d=function(u){if(typeof u=="string"){let p=unescape(encodeURIComponent(u));u=new Uint8Array(p.length);for(let m=0;m<p.length;++m)u[m]=p.charCodeAt(m)}return(function(p){let m=[],h=32*p.length;for(let f=0;f<h;f+=8){let g=p[f>>5]>>>f%32&255,b=parseInt("0123456789abcdef".charAt(g>>>4&15)+"0123456789abcdef".charAt(15&g),16);m.push(b)}return m})((function(p,m){p[m>>5]|=128<<m%32,p[o(m)-1]=m;let h=1732584193,f=-271733879,g=-1732584194,b=271733878;for(let y=0;y<p.length;y+=16){let w=h,x=f,S=g,T=b;h=a(h,f,g,b,p[y],7,-680876936),b=a(b,h,f,g,p[y+1],12,-389564586),g=a(g,b,h,f,p[y+2],17,606105819),f=a(f,g,b,h,p[y+3],22,-1044525330),h=a(h,f,g,b,p[y+4],7,-176418897),b=a(b,h,f,g,p[y+5],12,1200080426),g=a(g,b,h,f,p[y+6],17,-1473231341),f=a(f,g,b,h,p[y+7],22,-45705983),h=a(h,f,g,b,p[y+8],7,1770035416),b=a(b,h,f,g,p[y+9],12,-1958414417),g=a(g,b,h,f,p[y+10],17,-42063),f=a(f,g,b,h,p[y+11],22,-1990404162),h=a(h,f,g,b,p[y+12],7,1804603682),b=a(b,h,f,g,p[y+13],12,-40341101),g=a(g,b,h,f,p[y+14],17,-1502002290),f=a(f,g,b,h,p[y+15],22,1236535329),h=s(h,f,g,b,p[y+1],5,-165796510),b=s(b,h,f,g,p[y+6],9,-1069501632),g=s(g,b,h,f,p[y+11],14,643717713),f=s(f,g,b,h,p[y],20,-373897302),h=s(h,f,g,b,p[y+5],5,-701558691),b=s(b,h,f,g,p[y+10],9,38016083),g=s(g,b,h,f,p[y+15],14,-660478335),f=s(f,g,b,h,p[y+4],20,-405537848),h=s(h,f,g,b,p[y+9],5,568446438),b=s(b,h,f,g,p[y+14],9,-1019803690),g=s(g,b,h,f,p[y+3],14,-187363961),f=s(f,g,b,h,p[y+8],20,1163531501),h=s(h,f,g,b,p[y+13],5,-1444681467),b=s(b,h,f,g,p[y+2],9,-51403784),g=s(g,b,h,f,p[y+7],14,1735328473),f=s(f,g,b,h,p[y+12],20,-1926607734),h=l(h,f,g,b,p[y+5],4,-378558),b=l(b,h,f,g,p[y+8],11,-2022574463),g=l(g,b,h,f,p[y+11],16,1839030562),f=l(f,g,b,h,p[y+14],23,-35309556),h=l(h,f,g,b,p[y+1],4,-1530992060),b=l(b,h,f,g,p[y+4],11,1272893353),g=l(g,b,h,f,p[y+7],16,-155497632),f=l(f,g,b,h,p[y+10],23,-1094730640),h=l(h,f,g,b,p[y+13],4,681279174),b=l(b,h,f,g,p[y],11,-358537222),g=l(g,b,h,f,p[y+3],16,-722521979),f=l(f,g,b,h,p[y+6],23,76029189),h=l(h,f,g,b,p[y+9],4,-640364487),b=l(b,h,f,g,p[y+12],11,-421815835),g=l(g,b,h,f,p[y+15],16,530742520),f=l(f,g,b,h,p[y+2],23,-995338651),h=c(h,f,g,b,p[y],6,-198630844),b=c(b,h,f,g,p[y+7],10,1126891415),g=c(g,b,h,f,p[y+14],15,-1416354905),f=c(f,g,b,h,p[y+5],21,-57434055),h=c(h,f,g,b,p[y+12],6,1700485571),b=c(b,h,f,g,p[y+3],10,-1894986606),g=c(g,b,h,f,p[y+10],15,-1051523),f=c(f,g,b,h,p[y+1],21,-2054922799),h=c(h,f,g,b,p[y+8],6,1873313359),b=c(b,h,f,g,p[y+15],10,-30611744),g=c(g,b,h,f,p[y+6],15,-1560198380),f=c(f,g,b,h,p[y+13],21,1309151649),h=c(h,f,g,b,p[y+4],6,-145523070),b=c(b,h,f,g,p[y+11],10,-1120210379),g=c(g,b,h,f,p[y+2],15,718787259),f=c(f,g,b,h,p[y+9],21,-343485551),h=r(h,w),f=r(f,x),g=r(g,S),b=r(b,T)}return[h,f,g,b]})((function(p){if(p.length===0)return[];let m=8*p.length,h=new Uint32Array(o(m));for(let f=0;f<m;f+=8)h[f>>5]|=(255&p[f/8])<<f%32;return h})(u),8*u.length))};i.default=d},{}],530:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,i.default="00000000-0000-0000-0000-000000000000"},{}],531:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var o,r=(o=t("./validate.js"))&&o.__esModule?o:{default:o},n=function(a){if(!(0,r.default)(a))throw TypeError("Invalid UUID");let s,l=new Uint8Array(16);return l[0]=(s=parseInt(a.slice(0,8),16))>>>24,l[1]=s>>>16&255,l[2]=s>>>8&255,l[3]=255&s,l[4]=(s=parseInt(a.slice(9,13),16))>>>8,l[5]=255&s,l[6]=(s=parseInt(a.slice(14,18),16))>>>8,l[7]=255&s,l[8]=(s=parseInt(a.slice(19,23),16))>>>8,l[9]=255&s,l[10]=(s=parseInt(a.slice(24,36),16))/1099511627776&255,l[11]=s/4294967296&255,l[12]=s>>>24&255,l[13]=s>>>16&255,l[14]=s>>>8&255,l[15]=255&s,l};i.default=n},{"./validate.js":541}],532:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,i.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},{}],533:[function(t,e,i){"use strict";let o;Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(){if(!o&&(o=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!o))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(r)};let r=new Uint8Array(16)},{}],534:[function(t,e,i){"use strict";function o(a,s,l,c){switch(a){case 0:return s&l^~s&c;case 1:return s^l^c;case 2:return s&l^s&c^l&c;case 3:return s^l^c}}function r(a,s){return a<<s|a>>>32-s}Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=function(a){let s=[1518500249,1859775393,2400959708,3395469782],l=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof a=="string"){let p=unescape(encodeURIComponent(a));a=[];for(let m=0;m<p.length;++m)a.push(p.charCodeAt(m))}else Array.isArray(a)||(a=Array.prototype.slice.call(a));a.push(128);let c=a.length/4+2,d=Math.ceil(c/16),u=new Array(d);for(let p=0;p<d;++p){let m=new Uint32Array(16);for(let h=0;h<16;++h)m[h]=a[64*p+4*h]<<24|a[64*p+4*h+1]<<16|a[64*p+4*h+2]<<8|a[64*p+4*h+3];u[p]=m}u[d-1][14]=8*(a.length-1)/Math.pow(2,32),u[d-1][14]=Math.floor(u[d-1][14]),u[d-1][15]=8*(a.length-1)&4294967295;for(let p=0;p<d;++p){let m=new Uint32Array(80);for(let w=0;w<16;++w)m[w]=u[p][w];for(let w=16;w<80;++w)m[w]=r(m[w-3]^m[w-8]^m[w-14]^m[w-16],1);let h=l[0],f=l[1],g=l[2],b=l[3],y=l[4];for(let w=0;w<80;++w){let x=Math.floor(w/20),S=r(h,5)+o(x,f,g,b)+y+s[x]+m[w]>>>0;y=b,b=g,g=r(f,30)>>>0,f=h,h=S}l[0]=l[0]+h>>>0,l[1]=l[1]+f>>>0,l[2]=l[2]+g>>>0,l[3]=l[3]+b>>>0,l[4]=l[4]+y>>>0}return[l[0]>>24&255,l[0]>>16&255,l[0]>>8&255,255&l[0],l[1]>>24&255,l[1]>>16&255,l[1]>>8&255,255&l[1],l[2]>>24&255,l[2]>>16&255,l[2]>>8&255,255&l[2],l[3]>>24&255,l[3]>>16&255,l[3]>>8&255,255&l[3],l[4]>>24&255,l[4]>>16&255,l[4]>>8&255,255&l[4]]};i.default=n},{}],535:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var o,r=(o=t("./validate.js"))&&o.__esModule?o:{default:o};let n=[];for(let s=0;s<256;++s)n.push((s+256).toString(16).substr(1));var a=function(s){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,c=(n[s[l+0]]+n[s[l+1]]+n[s[l+2]]+n[s[l+3]]+"-"+n[s[l+4]]+n[s[l+5]]+"-"+n[s[l+6]]+n[s[l+7]]+"-"+n[s[l+8]]+n[s[l+9]]+"-"+n[s[l+10]]+n[s[l+11]]+n[s[l+12]]+n[s[l+13]]+n[s[l+14]]+n[s[l+15]]).toLowerCase();if(!(0,r.default)(c))throw TypeError("Stringified UUID is invalid");return c};i.default=a},{"./validate.js":541}],536:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var o=n(t("./rng.js")),r=n(t("./stringify.js"));function n(u){return u&&u.__esModule?u:{default:u}}let a,s,l=0,c=0;var d=function(u,p,m){let h=p&&m||0,f=p||new Array(16),g=(u=u||{}).node||a,b=u.clockseq!==void 0?u.clockseq:s;if(g==null||b==null){let M=u.random||(u.rng||o.default)();g==null&&(g=a=[1|M[0],M[1],M[2],M[3],M[4],M[5]]),b==null&&(b=s=16383&(M[6]<<8|M[7]))}let y=u.msecs!==void 0?u.msecs:Date.now(),w=u.nsecs!==void 0?u.nsecs:c+1,x=y-l+(w-c)/1e4;if(x<0&&u.clockseq===void 0&&(b=b+1&16383),(x<0||y>l)&&u.nsecs===void 0&&(w=0),w>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=y,c=w,s=b,y+=122192928e5;let S=(1e4*(268435455&y)+w)%4294967296;f[h++]=S>>>24&255,f[h++]=S>>>16&255,f[h++]=S>>>8&255,f[h++]=255&S;let T=y/4294967296*1e4&268435455;f[h++]=T>>>8&255,f[h++]=255&T,f[h++]=T>>>24&15|16,f[h++]=T>>>16&255,f[h++]=b>>>8|128,f[h++]=255&b;for(let M=0;M<6;++M)f[h+M]=g[M];return p||(0,r.default)(f)};i.default=d},{"./rng.js":533,"./stringify.js":535}],537:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var o=n(t("./v35.js")),r=n(t("./md5.js"));function n(s){return s&&s.__esModule?s:{default:s}}var a=(0,o.default)("v3",48,r.default);i.default=a},{"./md5.js":529,"./v35.js":538}],538:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(l,c,d){function u(p,m,h,f){if(typeof p=="string"&&(p=(function(b){b=unescape(encodeURIComponent(b));let y=[];for(let w=0;w<b.length;++w)y.push(b.charCodeAt(w));return y})(p)),typeof m=="string"&&(m=(0,r.default)(m)),m.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let g=new Uint8Array(16+p.length);if(g.set(m),g.set(p,m.length),g=d(g),g[6]=15&g[6]|c,g[8]=63&g[8]|128,h){f=f||0;for(let b=0;b<16;++b)h[f+b]=g[b];return h}return(0,o.default)(g)}try{u.name=l}catch{}return u.DNS=a,u.URL=s,u},i.URL=i.DNS=void 0;var o=n(t("./stringify.js")),r=n(t("./parse.js"));function n(l){return l&&l.__esModule?l:{default:l}}let a="6ba7b810-9dad-11d1-80b4-00c04fd430c8";i.DNS=a;let s="6ba7b811-9dad-11d1-80b4-00c04fd430c8";i.URL=s},{"./parse.js":531,"./stringify.js":535}],539:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var o=n(t("./rng.js")),r=n(t("./stringify.js"));function n(s){return s&&s.__esModule?s:{default:s}}var a=function(s,l,c){let d=(s=s||{}).random||(s.rng||o.default)();if(d[6]=15&d[6]|64,d[8]=63&d[8]|128,l){c=c||0;for(let u=0;u<16;++u)l[c+u]=d[u];return l}return(0,r.default)(d)};i.default=a},{"./rng.js":533,"./stringify.js":535}],540:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var o=n(t("./v35.js")),r=n(t("./sha1.js"));function n(s){return s&&s.__esModule?s:{default:s}}var a=(0,o.default)("v5",80,r.default);i.default=a},{"./sha1.js":534,"./v35.js":538}],541:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var o,r=(o=t("./regex.js"))&&o.__esModule?o:{default:o},n=function(a){return typeof a=="string"&&r.default.test(a)};i.default=n},{"./regex.js":532}],542:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var o,r=(o=t("./validate.js"))&&o.__esModule?o:{default:o},n=function(a){if(!(0,r.default)(a))throw TypeError("Invalid UUID");return parseInt(a.substr(14,1),16)};i.default=n},{"./validate.js":541}],543:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.CHAR=`	
\r -\uD7FF\uE000-\uFFFD\u{10000}-\u{10FFFF}`,i.S=` 	\r
`,i.NAME_START_CHAR=":A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}",i.NAME_CHAR="-"+i.NAME_START_CHAR+".0-9\xB7\u0300-\u036F\u203F-\u2040",i.CHAR_RE=new RegExp("^["+i.CHAR+"]$","u"),i.S_RE=new RegExp("^["+i.S+"]+$","u"),i.NAME_START_CHAR_RE=new RegExp("^["+i.NAME_START_CHAR+"]$","u"),i.NAME_CHAR_RE=new RegExp("^["+i.NAME_CHAR+"]$","u"),i.NAME_RE=new RegExp("^["+i.NAME_START_CHAR+"]["+i.NAME_CHAR+"]*$","u"),i.NMTOKEN_RE=new RegExp("^["+i.NAME_CHAR+"]+$","u");function o(r){return r>=65&&r<=90||r>=97&&r<=122||r===58||r===95||r===8204||r===8205||r>=192&&r<=214||r>=216&&r<=246||r>=248&&r<=767||r>=880&&r<=893||r>=895&&r<=8191||r>=8304&&r<=8591||r>=11264&&r<=12271||r>=12289&&r<=55295||r>=63744&&r<=64975||r>=65008&&r<=65533||r>=65536&&r<=983039}i.S_LIST=[32,10,13,9],i.isChar=function(r){return r>=32&&r<=55295||r===10||r===13||r===9||r>=57344&&r<=65533||r>=65536&&r<=1114111},i.isS=function(r){return r===32||r===10||r===13||r===9},i.isNameStartChar=o,i.isNameChar=function(r){return o(r)||r>=48&&r<=57||r===45||r===46||r===183||r>=768&&r<=879||r>=8255&&r<=8256}},{}],544:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.CHAR="-\uD7FF\uE000-\uFFFD\u{10000}-\u{10FFFF}",i.RESTRICTED_CHAR="-\b\v\f-\x7F-\x84\x86-\x9F",i.S=` 	\r
`,i.NAME_START_CHAR=":A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}",i.NAME_CHAR="-"+i.NAME_START_CHAR+".0-9\xB7\u0300-\u036F\u203F-\u2040",i.CHAR_RE=new RegExp("^["+i.CHAR+"]$","u"),i.RESTRICTED_CHAR_RE=new RegExp("^["+i.RESTRICTED_CHAR+"]$","u"),i.S_RE=new RegExp("^["+i.S+"]+$","u"),i.NAME_START_CHAR_RE=new RegExp("^["+i.NAME_START_CHAR+"]$","u"),i.NAME_CHAR_RE=new RegExp("^["+i.NAME_CHAR+"]$","u"),i.NAME_RE=new RegExp("^["+i.NAME_START_CHAR+"]["+i.NAME_CHAR+"]*$","u"),i.NMTOKEN_RE=new RegExp("^["+i.NAME_CHAR+"]+$","u");function o(r){return r>=65&&r<=90||r>=97&&r<=122||r===58||r===95||r===8204||r===8205||r>=192&&r<=214||r>=216&&r<=246||r>=248&&r<=767||r>=880&&r<=893||r>=895&&r<=8191||r>=8304&&r<=8591||r>=11264&&r<=12271||r>=12289&&r<=55295||r>=63744&&r<=64975||r>=65008&&r<=65533||r>=65536&&r<=983039}i.S_LIST=[32,10,13,9],i.isChar=function(r){return r>=1&&r<=55295||r>=57344&&r<=65533||r>=65536&&r<=1114111},i.isRestrictedChar=function(r){return r>=1&&r<=8||r===11||r===12||r>=14&&r<=31||r>=127&&r<=132||r>=134&&r<=159},i.isCharAndNotRestricted=function(r){return r===9||r===10||r===13||r>31&&r<127||r===133||r>159&&r<=55295||r>=57344&&r<=65533||r>=65536&&r<=1114111},i.isS=function(r){return r===32||r===10||r===13||r===9},i.isNameStartChar=o,i.isNameChar=function(r){return o(r)||r>=48&&r<=57||r===45||r===46||r===183||r>=768&&r<=879||r>=8255&&r<=8256}},{}],545:[function(t,e,i){"use strict";function o(r){return r>=65&&r<=90||r===95||r>=97&&r<=122||r>=192&&r<=214||r>=216&&r<=246||r>=248&&r<=767||r>=880&&r<=893||r>=895&&r<=8191||r>=8204&&r<=8205||r>=8304&&r<=8591||r>=11264&&r<=12271||r>=12289&&r<=55295||r>=63744&&r<=64975||r>=65008&&r<=65533||r>=65536&&r<=983039}Object.defineProperty(i,"__esModule",{value:!0}),i.NC_NAME_START_CHAR="A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}",i.NC_NAME_CHAR="-"+i.NC_NAME_START_CHAR+".0-9\xB7\u0300-\u036F\u203F-\u2040",i.NC_NAME_START_CHAR_RE=new RegExp("^["+i.NC_NAME_START_CHAR+"]$","u"),i.NC_NAME_CHAR_RE=new RegExp("^["+i.NC_NAME_CHAR+"]$","u"),i.NC_NAME_RE=new RegExp("^["+i.NC_NAME_START_CHAR+"]["+i.NC_NAME_CHAR+"]*$","u"),i.isNCNameStartChar=o,i.isNCNameChar=function(r){return o(r)||r===45||r===46||r>=48&&r<=57||r===183||r>=768&&r<=879||r>=8255&&r<=8256}},{}]},{},[15])(15)}))});var Gme=xe((xis,zDi)=>{var OJ=[];OJ.push(".container_U51IP{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-size:12px;height:100%;height:60vh;overflow:hidden}.container_U51IP .selectFile_yfUuB{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding:8px 0 0;width:400px}@media (max-width:1024px){.container_U51IP .selectFile_yfUuB{width:250px}}.container_U51IP .selectFile_yfUuB .export-info_T-Wxs{border-bottom:1px solid var(--common-border-color);padding-right:8px}.container_U51IP .selectFile_yfUuB .export-info_T-Wxs .line_E5o49{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;padding:0 0 16px}.container_U51IP .selectFile_yfUuB .export-info_T-Wxs .line_E5o49:last-child{margin-bottom:8px}.container_U51IP .selectFile_yfUuB .export-info_T-Wxs .line_E5o49 .line-label_HQylS{margin-left:8px;max-width:110px;min-width:80px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.container_U51IP .selectFile_yfUuB .export-info_T-Wxs .file-type-wrap_98Db2{overflow:hidden;position:relative;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;display:inline-block;flex-grow:1}.container_U51IP .selectFile_yfUuB .filter-rules_KLtBe{height:-webkit-calc(100% - 125px);height:-moz-calc(100% - 125px);height:calc(100% - 125px);margin:0 0 0 17px;padding:initial;padding-top:8px;vertical-align:top}.container_U51IP .selectFile_yfUuB .filter-rules_KLtBe .rule-operate_-iJD9{height:16px;margin:8px 0 4px}.container_U51IP .selectFile_yfUuB .filter-rules_KLtBe .rule-item_bZpmn{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;list-style:none;padding:4px 0;position:relative;white-space:nowrap;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_U51IP .selectFile_yfUuB .filter-rules_KLtBe .rule-item_bZpmn.selected_Y1sDU{background:var(--bg-color-selected-drop-down-menuItem)!important}.container_U51IP .selectFile_yfUuB .filter-rules_KLtBe .rule-item_bZpmn .rule-select-wrap_OAYbK input{padding:0 4px!important}.container_U51IP .selectFile_yfUuB .filter-rules_KLtBe .rule-item_bZpmn .rule-select-wrap_OAYbK li{display:block;height:22px;line-height:22px;max-width:104px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.container_U51IP .selectFile_yfUuB .rule-container_b-bcr{height:-webkit-calc(100% - 54px);height:-moz-calc(100% - 54px);height:calc(100% - 54px);overflow:auto;padding:4px 8px 0 0}.container_U51IP .attrs_2FipW{border-left:none;border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;height:100%;margin-left:-1px;width:-webkit-calc(100% - 400px);width:-moz-calc(100% - 400px);width:calc(100% - 400px)}@media (max-width:1024px){.container_U51IP .attrs_2FipW{width:-webkit-calc(100% - 250px);width:-moz-calc(100% - 250px);width:calc(100% - 250px)}}.container_U51IP .attrs_2FipW .no-empty_sFFzQ{-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;padding:8px 8px 0;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start}.container_U51IP .attrs_2FipW .no-empty_sFFzQ .setting_xSBWZ{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;overflow:hidden}.container_U51IP .attrs_2FipW .no-empty_sFFzQ .attrKeys_LLmmS{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;height:-webkit-calc(100% - 40px);height:-moz-calc(100% - 40px);height:calc(100% - 40px);margin-top:8px;overflow-y:auto}.container_U51IP .attrs_2FipW .no-empty_sFFzQ .attrTitle_c3XYN{font-size:14px;font-weight:700;height:24px;line-height:24px;padding:0 4px}.container_U51IP .attrs_2FipW .no-empty_sFFzQ .keysWrap_8-HBM li{cursor:pointer;height:24px;line-height:24px;list-style:none;overflow:hidden;padding:0 16px;position:relative;text-overflow:ellipsis;white-space:nowrap}.container_U51IP .attrs_2FipW .no-empty_sFFzQ .keysWrap_8-HBM li.selected_Y1sDU{background:var(--bg-color-selected-drop-down-menuItem)}.container_U51IP .attrs_2FipW .no-empty_sFFzQ .keysWrap_8-HBM li input{top:5px;z-index:9}.container_U51IP .attrs_2FipW .no-empty_sFFzQ .operate_SkFeC{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;padding:0 10px}.container_U51IP .attrs_2FipW .no-empty_sFFzQ .operate_SkFeC p{border:1px solid var(--common-border-color);border-radius:2px;height:16px;width:16px}.container_U51IP .attrs_2FipW .no-empty_sFFzQ .operate_SkFeC p:first-child{margin-bottom:16px}.container_U51IP .attrs_2FipW .no-empty_sFFzQ .operate_SkFeC .addAttrs_l5YXy,.container_U51IP .attrs_2FipW .no-empty_sFFzQ .operate_SkFeC .reduceAttrs_04Rab{text-align:center}.container_U51IP .attrs_2FipW .no-empty_sFFzQ .operate_SkFeC .addAttrs_l5YXy span{display:inline-block;-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);transform:rotate(270deg)}.container_U51IP .attrs_2FipW .no-empty_sFFzQ .operate_SkFeC .addAttrs_l5YXy span.disabled_4sJRK{-webkit-filter:invert(98%) sepia(5%) saturate(8%) hue-rotate(274deg) brightness(112%) contrast(70%);filter:invert(98%) sepia(5%) saturate(8%) hue-rotate(274deg) brightness(112%) contrast(70%)}.container_U51IP .attrs_2FipW .no-empty_sFFzQ .operate_SkFeC .reduceAttrs_04Rab span{display:inline-block;-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);transform:rotate(90deg)}.container_U51IP .attrs_2FipW .no-empty_sFFzQ .operate_SkFeC .reduceAttrs_04Rab span.disabled_4sJRK{-webkit-filter:invert(98%) sepia(5%) saturate(8%) hue-rotate(274deg) brightness(112%) contrast(70%);filter:invert(98%) sepia(5%) saturate(8%) hue-rotate(274deg) brightness(112%) contrast(70%)}.container_U51IP .attrs_2FipW .no-empty_sFFzQ .operate_SkFeC span[class*=icon-]{cursor:pointer;display:block;-webkit-filter:var(--icon-color-drop-down-menuItem);filter:var(--icon-color-drop-down-menuItem);font-size:14px;height:16px;width:16px}.container_U51IP .attrs_2FipW .no-empty_sFFzQ .table-container_utl4B{height:-webkit-calc(100% - 30px);height:-moz-calc(100% - 30px);height:calc(100% - 30px);min-height:0!important;min-height:auto!important}.container_U51IP .attrs_2FipW .gray-dialog-border_eu-7a{border:initial;padding:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.container_U51IP .attrs_2FipW .gray-dialog-border_eu-7a,.footer_f17ih{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.footer_f17ih{margin-top:16px;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.template-item_oD3tj{background:var(--bg-color-drop-down-menu);border-left:1px solid var(--common-border-color);border-right:1px solid var(--common-border-color);height:24px;line-height:24px;text-indent:6px}.template-item_oD3tj:hover{background:var(--bg-color-hover-drop-down-menuItem)}.template-item_oD3tj:hover,.template-select-item_1dGG9{color:var(--font-color-selected-down-menuItem)}.template-select-item_1dGG9{background:var(--bg-color-selected-drop-down-menuItem);border-left:1px solid var(--common-border-color);border-right:1px solid var(--common-border-color);height:24px;line-height:24px;text-indent:6px}.template-collapse_QYnU-{-webkit-filter:var(--icon-color-drop-down-menuItem);filter:var(--icon-color-drop-down-menuItem);height:24px;position:absolute;right:1px;top:0;width:24px}.template-collapse-focus_-TA2A{-webkit-filter:var(--icon-color-selected-drop-down-menuItem);filter:var(--icon-color-selected-drop-down-menuItem);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);transform:rotate(180deg)}.template-collapse-icon_Dgmbu{background:");OJ.push("url(");OJ.push(JSON.stringify(I2()));OJ.push(")");OJ.push(" no-repeat 0;background-size:12px 12px;height:20px;margin:2px auto;position:absolute;width:20px}");OJ=OJ.join("");zDi.exports={uuid:"9f366eae-bdc6-4520-9214-89f7e601aab9",locals:{container:"container_U51IP",selectFile:"selectFile_yfUuB","export-info":"export-info_T-Wxs",line:"line_E5o49","line-label":"line-label_HQylS","file-type-wrap":"file-type-wrap_98Db2","filter-rules":"filter-rules_KLtBe","rule-operate":"rule-operate_-iJD9","rule-item":"rule-item_bZpmn",selected:"selected_Y1sDU","rule-select-wrap":"rule-select-wrap_OAYbK","rule-container":"rule-container_b-bcr",attrs:"attrs_2FipW","no-empty":"no-empty_sFFzQ",setting:"setting_xSBWZ",attrKeys:"attrKeys_LLmmS",attrTitle:"attrTitle_c3XYN",keysWrap:"keysWrap_8-HBM",operate:"operate_SkFeC",addAttrs:"addAttrs_l5YXy",reduceAttrs:"reduceAttrs_04Rab",disabled:"disabled_4sJRK","table-container":"table-container_utl4B","gray-dialog-border":"gray-dialog-border_eu-7a",footer:"footer_f17ih","template-item":"template-item_oD3tj","template-select-item":"template-select-item_1dGG9","template-collapse":"template-collapse_QYnU-","template-collapse-focus":"template-collapse-focus_-TA2A","template-collapse-icon":"template-collapse-icon_Dgmbu"},toString(){return OJ}}});var wMt=xe((Qis,vwr)=>{vwr.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNOC41LDBDOC4yMjUsMCw4LDAuMjI1LDgsMC41djFDOCwxLjc3NSw4LjIyNSwyLDguNSwyUzksMS43NzUsOSwxLjV2LTFDOSwwLjIyNSw4Ljc3NSwwLDguNSwwTDguNSwweiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTMuNTUsMi4wNTFjLTAuMTI4LDAtMC4yNTYsMC4wNDktMC4zNTQsMC4xNDZjLTAuMTk0LDAuMTk0LTAuMTk0LDAuNTEzLDAsMC43MDdsMC43MDcsMC43MDcKCQljMC4wOTcsMC4wOTcsMC4yMjUsMC4xNDYsMC4zNTQsMC4xNDZjMC4xMjgsMCwwLjI1Ni0wLjA0OSwwLjM1NC0wLjE0NmMwLjE5NC0wLjE5NCwwLjE5NC0wLjUxMywwLTAuNzA3TDMuOTA0LDIuMTk3CgkJQzMuODA3LDIuMDk5LDMuNjc4LDIuMDUxLDMuNTUsMi4wNTFMMy41NSwyLjA1MXoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0yLjUsN2gtMUMxLjIyNSw3LDEsNy4yMjUsMSw3LjVTMS4yMjUsOCwxLjUsOGgxQzIuNzc1LDgsMyw3Ljc3NSwzLDcuNVMyLjc3NSw3LDIuNSw3TDIuNSw3eiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTE1LjUsN2gtMUMxNC4yMjUsNywxNCw3LjIyNSwxNCw3LjVTMTQuMjI1LDgsMTQuNSw4aDFDMTUuNzc1LDgsMTYsNy43NzUsMTYsNy41UzE1Ljc3NSw3LDE1LjUsN0wxNS41LDd6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNMTUuNSw3aC0xQzE0LjIyNSw3LDE0LDcuMjI1LDE0LDcuNVMxNC4yMjUsOCwxNC41LDhoMUMxNS43NzUsOCwxNiw3Ljc3NSwxNiw3LjVTMTUuNzc1LDcsMTUuNSw3TDE1LjUsN3oiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik0xMy40NSwyLjA1MWMtMC4xMjgsMC0wLjI1NiwwLjA0OS0wLjM1NCwwLjE0NmwtMC43MDcsMC43MDdjLTAuMTk0LDAuMTk0LTAuMTk0LDAuNTEzLDAsMC43MDcKCQljMC4wOTcsMC4wOTcsMC4yMjUsMC4xNDYsMC4zNTQsMC4xNDZjMC4xMjgsMCwwLjI1Ni0wLjA0OSwwLjM1NC0wLjE0NmwwLjcwNy0wLjcwN2MwLjE5NC0wLjE5NCwwLjE5NC0wLjUxMywwLTAuNzA3aDAKCQlDMTMuNzA2LDIuMDk5LDEzLjU3OCwyLjA1MSwxMy40NSwyLjA1MUwxMy40NSwyLjA1MXoiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik04LjUsNEw4LjUsNGMwLjkyNiwwLDEuODQxLDAuNDAxLDIuNTA5LDEuMTAxYzAuNjcsMC43MDEsMS4wMjksMS42MzYsMC45ODcsMi41NjRjLTAuMDM0LDAuNzQ4LTAuMjk5LDEuNDUtMC43NjYsMi4wMjkKCQlDMTAuNDI2LDEwLjY5MiwxMCwxMS44MjMsMTAsMTIuOTY0VjEzLjVjMCwwLjgyNy0wLjY3MywxLjUtMS41LDEuNUM3LjY3MywxNSw3LDE0LjMyNyw3LDEzLjV2LTAuNTI4CgkJYzAtMS4xNjQtMC40MTktMi4yODktMS4yMTEtMy4yNTVDNS4yOCw5LjA5OCw1LDguMzEsNSw3LjVDNSw1LjU3MSw2LjU3LDQsOC41LDQgTTguNSwzQzguNDk5LDMsOC40OTksMyw4LjUsMwoJCUM2LjAwOSwzLjAwMSw0LDUuMDEsNCw3LjVjMCwxLjA4MiwwLjM4LDIuMDc3LDEuMDE2LDIuODUyQzUuNjI4LDExLjA5Nyw2LDEyLjAwOCw2LDEyLjk3MlYxMy41QzYsMTQuODgxLDcuMTE5LDE2LDguNSwxNgoJCXMyLjUtMS4xMTksMi41LTIuNXYtMC41MzZjMC0wLjk3NSwwLjM5Ny0xLjg4NCwxLjAwOS0yLjY0M2MwLjU4LTAuNzIsMC45NDEtMS42MjUsMC45ODYtMi42MUMxMy4xMTEsNS4xOTYsMTEuMDE3LDMsOC41LDNMOC41LDN6IgoJCS8+CjwvZz4KPGc+Cgk8cG9seWdvbiBwb2ludHM9IjExLDEyIDYsMTIgNiwxMyAxMSwxMyAxMSwxMiAJIi8+CjwvZz4KPC9zdmc+Cg=="});var qDi=xe((Kis,JDi)=>{var _J=[];_J.push('.paginationFindResult_hfSkg{position:absolute;right:1%;top:100%;z-index:999}.emptyContent_jUHc1{text-align:center;width:"100%"}.emptyBackground_DieNK{background-color:var(--bg-color-panel);white-space:pre}.emptyText_qQOL4{border:1px dotted var(--common-border-color-1);color:var(--common-font-color)}.leftTreeSearch_t9xVY{background:var(--common-bg-color);border:none;height:25px;margin:4px 5px}.leftTreeSearch_t9xVY,.leftTreeSearch_t9xVY .icon_wrap_tg87q{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.leftTreeSearch_t9xVY .icon_wrap_tg87q{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;border:1px solid var(--border-color-input);cursor:pointer;height:24px;margin-right:4px;width:24px}.leftTreeSearch_t9xVY .icon_wrap_tg87q.active_5E5dB{background-color:var(--bg-color-active-leftTreeSearch)}.leftTreeSearch_t9xVY .icon_e-xO0{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;display:inline-block;height:16px;width:16px}.leftTreeSearch_t9xVY .icon_e-xO0.icon-eda-highlight_-hPmm{background-image:');_J.push("url(");_J.push(JSON.stringify(wMt()));_J.push(")");_J.push(";background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.leftTreeSearch_t9xVY .icon_e-xO0.icon-eda-highlight_-hPmm.active_5E5dB{-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%)}.leftTreeSearch_t9xVY .icon_wrap_tg87q:first-child{border-radius:2px 0 0 2px}");_J=_J.join("");JDi.exports={uuid:"d83d6582-208d-431f-8b0a-8a94912ff79b",locals:{paginationFindResult:"paginationFindResult_hfSkg",emptyContent:"emptyContent_jUHc1",emptyBackground:"emptyBackground_DieNK",emptyText:"emptyText_qQOL4",leftTreeSearch:"leftTreeSearch_t9xVY",icon_wrap:"icon_wrap_tg87q",active:"active_5E5dB",icon:"icon_e-xO0","icon-eda-highlight":"icon-eda-highlight_-hPmm"},toString(){return _J}}});var eEi=xe((bos,$Di)=>{var UFe=[];UFe.push(".container_QWhJT{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;overflow:auto;padding:16px}.container_QWhJT .line_HLyGQ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;padding:0 0 16px}.container_QWhJT .line_HLyGQ select{width:373px}.container_QWhJT .line_HLyGQ:last-child{padding-bottom:0}.container_QWhJT .line_HLyGQ .line-label_XrK4Y{margin-left:8px;max-width:150px;min-width:70px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.container_QWhJT .div-input-button_aX5iF{background-color:var(--bg-color-input);border:1px solid var(--common-border-color-1);border-radius:2px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:0 8px;width:100%;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;margin-right:10px}.container_QWhJT .div-input-button_aX5iF .input-button_GrPjw{border:0;cursor:pointer;height:22px;padding:0;width:96%}.container_QWhJT .div-input-button_aX5iF .input-extend_MiasQ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:24px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;cursor:pointer;font-weight:bolder}.container_QWhJT .ellipsis_NM2F9{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.footer_5ev6B{height:28px;margin-top:16px;overflow:hidden;text-align:right}");UFe=UFe.join("");$Di.exports={uuid:"15d005e9-94c7-4fd8-906c-ae341218ece3",locals:{container:"container_QWhJT",line:"line_HLyGQ","line-label":"line-label_XrK4Y","div-input-button":"div-input-button_aX5iF","input-button":"input-button_GrPjw","input-extend":"input-extend_MiasQ",ellipsis:"ellipsis_NM2F9",footer:"footer_5ev6B"},toString(){return UFe}}});var rH=xe((Wns,IEi)=>{"use strict";var tUe=txe(),Jme=tUe.Buffer,NA={},kA;for(kA in tUe)tUe.hasOwnProperty(kA)&&(kA==="SlowBuffer"||kA==="Buffer"||(NA[kA]=tUe[kA]));var qme=NA.Buffer={};for(kA in Jme)Jme.hasOwnProperty(kA)&&(kA==="allocUnsafe"||kA==="allocUnsafeSlow"||(qme[kA]=Jme[kA]));NA.Buffer.prototype=Jme.prototype;(!qme.from||qme.from===Uint8Array.from)&&(qme.from=function(t,e,i){if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type '+typeof t);if(t&&typeof t.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);return Jme(t,e,i)});qme.alloc||(qme.alloc=function(t,e,i){if(typeof t!="number")throw new TypeError('The "size" argument must be of type number. Received type '+typeof t);if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var o=Jme(t);return!e||e.length===0?o.fill(0):typeof i=="string"?o.fill(e,i):o.fill(e),o});if(!NA.kStringMaxLength)try{NA.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}NA.constants||(NA.constants={MAX_LENGTH:NA.kMaxLength},NA.kStringMaxLength&&(NA.constants.MAX_STRING_LENGTH=NA.kStringMaxLength));IEi.exports=NA});var vEi=xe(HMt=>{"use strict";var LEi="\uFEFF";HMt.PrependBOM=UMt;function UMt(t,e){this.encoder=t,this.addBOM=!0}UMt.prototype.write=function(t){return this.addBOM&&(t=LEi+t,this.addBOM=!1),this.encoder.write(t)};UMt.prototype.end=function(){return this.encoder.end()};HMt.StripBOM=VMt;function VMt(t,e){this.decoder=t,this.pass=!1,this.options=e||{}}VMt.prototype.write=function(t){var e=this.decoder.write(t);return this.pass||!e||(e[0]===LEi&&(e=e.slice(1),typeof this.options.stripBOM=="function"&&this.options.stripBOM()),this.pass=!0),e};VMt.prototype.end=function(){return this.decoder.end()}});var AEi=xe((GMt,EEi)=>{var iUe=txe(),Qj=iUe.Buffer;function DEi(t,e){for(var i in t)e[i]=t[i]}Qj.from&&Qj.alloc&&Qj.allocUnsafe&&Qj.allocUnsafeSlow?EEi.exports=iUe:(DEi(iUe,GMt),GMt.Buffer=Kre);function Kre(t,e,i){return Qj(t,e,i)}Kre.prototype=Object.create(Qj.prototype);DEi(Qj,Kre);Kre.from=function(t,e,i){if(typeof t=="number")throw new TypeError("Argument must not be a number");return Qj(t,e,i)};Kre.alloc=function(t,e,i){if(typeof t!="number")throw new TypeError("Argument must be a number");var o=Qj(t);return e!==void 0?typeof i=="string"?o.fill(e,i):o.fill(e):o.fill(0),o};Kre.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return Qj(t)};Kre.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return iUe.SlowBuffer(t)}});var QMt=xe(kEi=>{"use strict";var WMt=AEi().Buffer,NEi=WMt.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Vwr(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function Hwr(t){var e=Vwr(t);if(typeof e!="string"&&(WMt.isEncoding===NEi||!NEi(t)))throw new Error("Unknown encoding: "+t);return e||t}kEi.StringDecoder=lSe;function lSe(t){this.encoding=Hwr(t);var e;switch(this.encoding){case"utf16le":this.text=Zwr,this.end=Jwr,e=4;break;case"utf8":this.fillLast=Wwr,e=4;break;case"base64":this.text=qwr,this.end=Xwr,e=3;break;default:this.write=$wr,this.end=eCr;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=WMt.allocUnsafe(e)}lSe.prototype.write=function(t){if(t.length===0)return"";var e,i;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<t.length?e?e+this.text(t,i):this.text(t,i):e||""};lSe.prototype.end=Kwr;lSe.prototype.text=Qwr;lSe.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length};function YMt(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function Gwr(t,e,i){var o=e.length-1;if(o<i)return 0;var r=YMt(e[o]);return r>=0?(r>0&&(t.lastNeed=r-1),r):--o<i||r===-2?0:(r=YMt(e[o]),r>=0?(r>0&&(t.lastNeed=r-2),r):--o<i||r===-2?0:(r=YMt(e[o]),r>=0?(r>0&&(r===2?r=0:t.lastNeed=r-3),r):0))}function Ywr(t,e,i){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function Wwr(t){var e=this.lastTotal-this.lastNeed,i=Ywr(this,t,e);if(i!==void 0)return i;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function Qwr(t,e){var i=Gwr(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=i;var o=t.length-(i-this.lastNeed);return t.copy(this.lastChar,0,o),t.toString("utf8",e,o)}function Kwr(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function Zwr(t,e){if((t.length-e)%2===0){var i=t.toString("utf16le",e);if(i){var o=i.charCodeAt(i.length-1);if(o>=55296&&o<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],i.slice(0,-1)}return i}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function Jwr(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,i)}return e}function qwr(t,e){var i=(t.length-e)%3;return i===0?t.toString("base64",e):(this.lastNeed=3-i,this.lastTotal=3,i===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-i))}function Xwr(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function $wr(t){return t.toString(this.encoding)}function eCr(t){return t&&t.length?this.write(t):""}});var OEi=xe((Zns,PEi)=>{"use strict";var Zre=rH().Buffer;PEi.exports={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:ZMt};function ZMt(t,e){this.enc=t.encodingName,this.bomAware=t.bomAware,this.enc==="base64"?this.encoder=XMt:this.enc==="cesu8"&&(this.enc="utf8",this.encoder=$Mt,Zre.from("eda0bdedb2a9","hex").toString()!=="\u{1F4A9}"&&(this.decoder=e6t,this.defaultCharUnicode=e.defaultCharUnicode))}ZMt.prototype.encoder=qMt;ZMt.prototype.decoder=JMt;var KMt=QMt().StringDecoder;KMt.prototype.end||(KMt.prototype.end=function(){});function JMt(t,e){this.decoder=new KMt(e.enc)}JMt.prototype.write=function(t){return Zre.isBuffer(t)||(t=Zre.from(t)),this.decoder.write(t)};JMt.prototype.end=function(){return this.decoder.end()};function qMt(t,e){this.enc=e.enc}qMt.prototype.write=function(t){return Zre.from(t,this.enc)};qMt.prototype.end=function(){};function XMt(t,e){this.prevStr=""}XMt.prototype.write=function(t){t=this.prevStr+t;var e=t.length-t.length%4;return this.prevStr=t.slice(e),t=t.slice(0,e),Zre.from(t,"base64")};XMt.prototype.end=function(){return Zre.from(this.prevStr,"base64")};function $Mt(t,e){}$Mt.prototype.write=function(t){for(var e=Zre.alloc(t.length*3),i=0,o=0;o<t.length;o++){var r=t.charCodeAt(o);r<128?e[i++]=r:r<2048?(e[i++]=192+(r>>>6),e[i++]=128+(r&63)):(e[i++]=224+(r>>>12),e[i++]=128+(r>>>6&63),e[i++]=128+(r&63))}return e.slice(0,i)};$Mt.prototype.end=function(){};function e6t(t,e){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=e.defaultCharUnicode}e6t.prototype.write=function(t){for(var e=this.acc,i=this.contBytes,o=this.accBytes,r="",n=0;n<t.length;n++){var a=t[n];(a&192)!==128?(i>0&&(r+=this.defaultCharUnicode,i=0),a<128?r+=String.fromCharCode(a):a<224?(e=a&31,i=1,o=1):a<240?(e=a&15,i=2,o=1):r+=this.defaultCharUnicode):i>0?(e=e<<6|a&63,i--,o++,i===0&&(o===2&&e<128&&e>0?r+=this.defaultCharUnicode:o===3&&e<2048?r+=this.defaultCharUnicode:r+=String.fromCharCode(e))):r+=this.defaultCharUnicode}return this.acc=e,this.contBytes=i,this.accBytes=o,r};e6t.prototype.end=function(){var t=0;return this.contBytes>0&&(t+=this.defaultCharUnicode),t}});var jEi=xe(HJ=>{"use strict";var oUe=rH().Buffer;HJ._utf32=t6t;function t6t(t,e){this.iconv=e,this.bomAware=!0,this.isLE=t.isLE}HJ.utf32le={type:"_utf32",isLE:!0};HJ.utf32be={type:"_utf32",isLE:!1};HJ.ucs4le="utf32le";HJ.ucs4be="utf32be";t6t.prototype.encoder=i6t;t6t.prototype.decoder=o6t;function i6t(t,e){this.isLE=e.isLE,this.highSurrogate=0}i6t.prototype.write=function(t){for(var e=oUe.from(t,"ucs2"),i=oUe.alloc(e.length*2),o=this.isLE?i.writeUInt32LE:i.writeUInt32BE,r=0,n=0;n<e.length;n+=2){var a=e.readUInt16LE(n),s=55296<=a&&a<56320,l=56320<=a&&a<57344;if(this.highSurrogate)if(s||!l)o.call(i,this.highSurrogate,r),r+=4;else{var c=(this.highSurrogate-55296<<10|a-56320)+65536;o.call(i,c,r),r+=4,this.highSurrogate=0;continue}s?this.highSurrogate=a:(o.call(i,a,r),r+=4,this.highSurrogate=0)}return r<i.length&&(i=i.slice(0,r)),i};i6t.prototype.end=function(){if(this.highSurrogate){var t=oUe.alloc(4);return this.isLE?t.writeUInt32LE(this.highSurrogate,0):t.writeUInt32BE(this.highSurrogate,0),this.highSurrogate=0,t}};function o6t(t,e){this.isLE=e.isLE,this.badChar=e.iconv.defaultCharUnicode.charCodeAt(0),this.overflow=[]}o6t.prototype.write=function(t){if(t.length===0)return"";var e=0,i=0,o=oUe.alloc(t.length+4),r=0,n=this.isLE,a=this.overflow,s=this.badChar;if(a.length>0){for(;e<t.length&&a.length<4;e++)a.push(t[e]);a.length===4&&(n?i=a[e]|a[e+1]<<8|a[e+2]<<16|a[e+3]<<24:i=a[e+3]|a[e+2]<<8|a[e+1]<<16|a[e]<<24,a.length=0,r=REi(o,r,i,s))}for(;e<t.length-3;e+=4)n?i=t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24:i=t[e+3]|t[e+2]<<8|t[e+1]<<16|t[e]<<24,r=REi(o,r,i,s);for(;e<t.length;e++)a.push(t[e]);return o.slice(0,r).toString("ucs2")};function REi(t,e,i,o){if((i<0||i>1114111)&&(i=o),i>=65536){i-=65536;var r=55296|i>>10;t[e++]=r&255,t[e++]=r>>8;var i=56320|i&1023}return t[e++]=i&255,t[e++]=i>>8,e}o6t.prototype.end=function(){this.overflow.length=0};HJ.utf32=r6t;HJ.ucs4="utf32";function r6t(t,e){this.iconv=e}r6t.prototype.encoder=n6t;r6t.prototype.decoder=a6t;function n6t(t,e){t=t||{},t.addBOM===void 0&&(t.addBOM=!0),this.encoder=e.iconv.getEncoder(t.defaultEncoding||"utf-32le",t)}n6t.prototype.write=function(t){return this.encoder.write(t)};n6t.prototype.end=function(){return this.encoder.end()};function a6t(t,e){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=t||{},this.iconv=e.iconv}a6t.prototype.write=function(t){if(!this.decoder){if(this.initialBufs.push(t),this.initialBufsLen+=t.length,this.initialBufsLen<32)return"";var e=_Ei(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(e,this.options);for(var i="",o=0;o<this.initialBufs.length;o++)i+=this.decoder.write(this.initialBufs[o]);return this.initialBufs.length=this.initialBufsLen=0,i}return this.decoder.write(t)};a6t.prototype.end=function(){if(!this.decoder){var t=_Ei(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(t,this.options);for(var e="",i=0;i<this.initialBufs.length;i++)e+=this.decoder.write(this.initialBufs[i]);var o=this.decoder.end();return o&&(e+=o),this.initialBufs.length=this.initialBufsLen=0,e}return this.decoder.end()};function _Ei(t,e){var i=[],o=0,r=0,n=0,a=0,s=0;e:for(var l=0;l<t.length;l++)for(var c=t[l],d=0;d<c.length;d++)if(i.push(c[d]),i.length===4){if(o===0){if(i[0]===255&&i[1]===254&&i[2]===0&&i[3]===0)return"utf-32le";if(i[0]===0&&i[1]===0&&i[2]===254&&i[3]===255)return"utf-32be"}if((i[0]!==0||i[1]>16)&&n++,(i[3]!==0||i[2]>16)&&r++,i[0]===0&&i[1]===0&&(i[2]!==0||i[3]!==0)&&s++,(i[0]!==0||i[1]!==0)&&i[2]===0&&i[3]===0&&a++,i.length=0,o++,o>=100)break e}return s-n>a-r?"utf-32be":s-n<a-r?"utf-32le":e||"utf-32le"}});var FEi=xe(p6t=>{"use strict";var BEi=rH().Buffer;p6t.utf16be=rUe;function rUe(){}rUe.prototype.encoder=s6t;rUe.prototype.decoder=l6t;rUe.prototype.bomAware=!0;function s6t(){}s6t.prototype.write=function(t){for(var e=BEi.from(t,"ucs2"),i=0;i<e.length;i+=2){var o=e[i];e[i]=e[i+1],e[i+1]=o}return e};s6t.prototype.end=function(){};function l6t(){this.overflowByte=-1}l6t.prototype.write=function(t){if(t.length==0)return"";var e=BEi.alloc(t.length+1),i=0,o=0;for(this.overflowByte!==-1&&(e[0]=t[0],e[1]=this.overflowByte,i=1,o=2);i<t.length-1;i+=2,o+=2)e[o]=t[i+1],e[o+1]=t[i];return this.overflowByte=i==t.length-1?t[t.length-1]:-1,e.slice(0,o).toString("ucs2")};l6t.prototype.end=function(){this.overflowByte=-1};p6t.utf16=c6t;function c6t(t,e){this.iconv=e}c6t.prototype.encoder=d6t;c6t.prototype.decoder=u6t;function d6t(t,e){t=t||{},t.addBOM===void 0&&(t.addBOM=!0),this.encoder=e.iconv.getEncoder("utf-16le",t)}d6t.prototype.write=function(t){return this.encoder.write(t)};d6t.prototype.end=function(){return this.encoder.end()};function u6t(t,e){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=t||{},this.iconv=e.iconv}u6t.prototype.write=function(t){if(!this.decoder){if(this.initialBufs.push(t),this.initialBufsLen+=t.length,this.initialBufsLen<16)return"";var e=zEi(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(e,this.options);for(var i="",o=0;o<this.initialBufs.length;o++)i+=this.decoder.write(this.initialBufs[o]);return this.initialBufs.length=this.initialBufsLen=0,i}return this.decoder.write(t)};u6t.prototype.end=function(){if(!this.decoder){var t=zEi(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(t,this.options);for(var e="",i=0;i<this.initialBufs.length;i++)e+=this.decoder.write(this.initialBufs[i]);var o=this.decoder.end();return o&&(e+=o),this.initialBufs.length=this.initialBufsLen=0,e}return this.decoder.end()};function zEi(t,e){var i=[],o=0,r=0,n=0;e:for(var a=0;a<t.length;a++)for(var s=t[a],l=0;l<s.length;l++)if(i.push(s[l]),i.length===2){if(o===0){if(i[0]===255&&i[1]===254)return"utf-16le";if(i[0]===254&&i[1]===255)return"utf-16be"}if(i[0]===0&&i[1]!==0&&n++,i[0]!==0&&i[1]===0&&r++,i.length=0,o++,o>=100)break e}return n>r?"utf-16be":n<r?"utf-16le":e||"utf-16le"}});var VEi=xe(sUe=>{"use strict";var Kj=rH().Buffer;sUe.utf7=nUe;sUe.unicode11utf7="utf7";function nUe(t,e){this.iconv=e}nUe.prototype.encoder=h6t;nUe.prototype.decoder=f6t;nUe.prototype.bomAware=!0;var tCr=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function h6t(t,e){this.iconv=e.iconv}h6t.prototype.write=function(t){return Kj.from(t.replace(tCr,(function(e){return"+"+(e==="+"?"":this.iconv.encode(e,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}).bind(this)))};h6t.prototype.end=function(){};function f6t(t,e){this.iconv=e.iconv,this.inBase64=!1,this.base64Accum=""}var iCr=/[A-Za-z0-9\/+]/,g6t=[];for(cSe=0;cSe<256;cSe++)g6t[cSe]=iCr.test(String.fromCharCode(cSe));var cSe,oCr=43,Jre=45,m6t=38;f6t.prototype.write=function(t){for(var e="",i=0,o=this.inBase64,r=this.base64Accum,n=0;n<t.length;n++)if(!o)t[n]==oCr&&(e+=this.iconv.decode(t.slice(i,n),"ascii"),i=n+1,o=!0);else if(!g6t[t[n]]){if(n==i&&t[n]==Jre)e+="+";else{var a=r+this.iconv.decode(t.slice(i,n),"ascii");e+=this.iconv.decode(Kj.from(a,"base64"),"utf16-be")}t[n]!=Jre&&n--,i=n+1,o=!1,r=""}if(!o)e+=this.iconv.decode(t.slice(i),"ascii");else{var a=r+this.iconv.decode(t.slice(i),"ascii"),s=a.length-a.length%8;r=a.slice(s),a=a.slice(0,s),e+=this.iconv.decode(Kj.from(a,"base64"),"utf16-be")}return this.inBase64=o,this.base64Accum=r,e};f6t.prototype.end=function(){var t="";return this.inBase64&&this.base64Accum.length>0&&(t=this.iconv.decode(Kj.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",t};sUe.utf7imap=aUe;function aUe(t,e){this.iconv=e}aUe.prototype.encoder=b6t;aUe.prototype.decoder=y6t;aUe.prototype.bomAware=!0;function b6t(t,e){this.iconv=e.iconv,this.inBase64=!1,this.base64Accum=Kj.alloc(6),this.base64AccumIdx=0}b6t.prototype.write=function(t){for(var e=this.inBase64,i=this.base64Accum,o=this.base64AccumIdx,r=Kj.alloc(t.length*5+10),n=0,a=0;a<t.length;a++){var s=t.charCodeAt(a);32<=s&&s<=126?(e&&(o>0&&(n+=r.write(i.slice(0,o).toString("base64").replace(/\//g,",").replace(/=+$/,""),n),o=0),r[n++]=Jre,e=!1),e||(r[n++]=s,s===m6t&&(r[n++]=Jre))):(e||(r[n++]=m6t,e=!0),e&&(i[o++]=s>>8,i[o++]=s&255,o==i.length&&(n+=r.write(i.toString("base64").replace(/\//g,","),n),o=0)))}return this.inBase64=e,this.base64AccumIdx=o,r.slice(0,n)};b6t.prototype.end=function(){var t=Kj.alloc(10),e=0;return this.inBase64&&(this.base64AccumIdx>0&&(e+=t.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),e),this.base64AccumIdx=0),t[e++]=Jre,this.inBase64=!1),t.slice(0,e)};function y6t(t,e){this.iconv=e.iconv,this.inBase64=!1,this.base64Accum=""}var UEi=g6t.slice();UEi[44]=!0;y6t.prototype.write=function(t){for(var e="",i=0,o=this.inBase64,r=this.base64Accum,n=0;n<t.length;n++)if(!o)t[n]==m6t&&(e+=this.iconv.decode(t.slice(i,n),"ascii"),i=n+1,o=!0);else if(!UEi[t[n]]){if(n==i&&t[n]==Jre)e+="&";else{var a=r+this.iconv.decode(t.slice(i,n),"ascii").replace(/,/g,"/");e+=this.iconv.decode(Kj.from(a,"base64"),"utf16-be")}t[n]!=Jre&&n--,i=n+1,o=!1,r=""}if(!o)e+=this.iconv.decode(t.slice(i),"ascii");else{var a=r+this.iconv.decode(t.slice(i),"ascii").replace(/,/g,"/"),s=a.length-a.length%8;r=a.slice(s),a=a.slice(0,s),e+=this.iconv.decode(Kj.from(a,"base64"),"utf16-be")}return this.inBase64=o,this.base64Accum=r,e};y6t.prototype.end=function(){var t="";return this.inBase64&&this.base64Accum.length>0&&(t=this.iconv.decode(Kj.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",t}});var GEi=xe(HEi=>{"use strict";var lUe=rH().Buffer;HEi._sbcs=w6t;function w6t(t,e){if(!t)throw new Error("SBCS codec is called without the data.");if(!t.chars||t.chars.length!==128&&t.chars.length!==256)throw new Error("Encoding '"+t.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(t.chars.length===128){for(var i="",o=0;o<128;o++)i+=String.fromCharCode(o);t.chars=i+t.chars}this.decodeBuf=lUe.from(t.chars,"ucs2");for(var r=lUe.alloc(65536,e.defaultCharSingleByte.charCodeAt(0)),o=0;o<t.chars.length;o++)r[t.chars.charCodeAt(o)]=o;this.encodeBuf=r}w6t.prototype.encoder=C6t;w6t.prototype.decoder=x6t;function C6t(t,e){this.encodeBuf=e.encodeBuf}C6t.prototype.write=function(t){for(var e=lUe.alloc(t.length),i=0;i<t.length;i++)e[i]=this.encodeBuf[t.charCodeAt(i)];return e};C6t.prototype.end=function(){};function x6t(t,e){this.decodeBuf=e.decodeBuf}x6t.prototype.write=function(t){for(var e=this.decodeBuf,i=lUe.alloc(t.length*2),o=0,r=0,n=0;n<t.length;n++)o=t[n]*2,r=n*2,i[r]=e[o],i[r+1]=e[o+1];return i.toString("ucs2")};x6t.prototype.end=function(){}});var WEi=xe((eas,YEi)=>{"use strict";YEi.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"\xC4\u0100\u0101\xC9\u0104\xD6\xDC\xE1\u0105\u010C\xE4\u010D\u0106\u0107\xE9\u0179\u017A\u010E\xED\u010F\u0112\u0113\u0116\xF3\u0117\xF4\xF6\xF5\xFA\u011A\u011B\xFC\u2020\xB0\u0118\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\u0119\xA8\u2260\u0123\u012E\u012F\u012A\u2264\u2265\u012B\u0136\u2202\u2211\u0142\u013B\u013C\u013D\u013E\u0139\u013A\u0145\u0146\u0143\xAC\u221A\u0144\u0147\u2206\xAB\xBB\u2026\xA0\u0148\u0150\xD5\u0151\u014C\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\u014D\u0154\u0155\u0158\u2039\u203A\u0159\u0156\u0157\u0160\u201A\u201E\u0161\u015A\u015B\xC1\u0164\u0165\xCD\u017D\u017E\u016A\xD3\xD4\u016B\u016E\xDA\u016F\u0170\u0171\u0172\u0173\xDD\xFD\u0137\u017B\u0141\u017C\u0122\u02C7"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u0401\u0451\u0404\u0454\u0407\u0457\u040E\u045E\xB0\u2219\xB7\u221A\u2116\u20AC\u25A0\xA0"},mik:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u2514\u2534\u252C\u251C\u2500\u253C\u2563\u2551\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2510\u2591\u2592\u2593\u2502\u2524\u2116\xA7\u2557\u255D\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},cp720:{type:"_sbcs",chars:"\x80\x81\xE9\xE2\x84\xE0\x86\xE7\xEA\xEB\xE8\xEF\xEE\x8D\x8E\x8F\x90\u0651\u0652\xF4\xA4\u0640\xFB\xF9\u0621\u0622\u0623\u0624\xA3\u0625\u0626\u0627\u0628\u0629\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u0636\u0637\u0638\u0639\u063A\u0641\xB5\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064A\u2261\u064B\u064C\u064D\u064E\u064F\u0650\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}});var KEi=xe((tas,QEi)=>{"use strict";QEi.exports={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28591:"iso88591",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"\u20AC\uFFFD\uFFFD\uFFFD\uFFFD\u2026\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\xA0\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFFFD\uFFFD\uFFFD\uFFFD\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\uFFFD\uFFFD\uFFFD\uFFFD"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\uFFFD\u201E\u2026\u2020\u2021\uFFFD\u2030\u0160\u2039\u015A\u0164\u017D\u0179\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\u0161\u203A\u015B\u0165\u017E\u017A\xA0\u02C7\u02D8\u0141\xA4\u0104\xA6\xA7\xA8\xA9\u015E\xAB\xAC\xAD\xAE\u017B\xB0\xB1\u02DB\u0142\xB4\xB5\xB6\xB7\xB8\u0105\u015F\xBB\u013D\u02DD\u013E\u017C\u0154\xC1\xC2\u0102\xC4\u0139\u0106\xC7\u010C\xC9\u0118\xCB\u011A\xCD\xCE\u010E\u0110\u0143\u0147\xD3\xD4\u0150\xD6\xD7\u0158\u016E\xDA\u0170\xDC\xDD\u0162\xDF\u0155\xE1\xE2\u0103\xE4\u013A\u0107\xE7\u010D\xE9\u0119\xEB\u011B\xED\xEE\u010F\u0111\u0144\u0148\xF3\xF4\u0151\xF6\xF7\u0159\u016F\xFA\u0171\xFC\xFD\u0163\u02D9"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"\u0402\u0403\u201A\u0453\u201E\u2026\u2020\u2021\u20AC\u2030\u0409\u2039\u040A\u040C\u040B\u040F\u0452\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\u0459\u203A\u045A\u045C\u045B\u045F\xA0\u040E\u045E\u0408\xA4\u0490\xA6\xA7\u0401\xA9\u0404\xAB\xAC\xAD\xAE\u0407\xB0\xB1\u0406\u0456\u0491\xB5\xB6\xB7\u0451\u2116\u0454\xBB\u0458\u0405\u0455\u0457\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\uFFFD\u017D\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\uFFFD\u017E\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\uFFFD\u2030\uFFFD\u2039\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\uFFFD\u203A\uFFFD\uFFFD\uFFFD\uFFFD\xA0\u0385\u0386\xA3\xA4\xA5\xA6\xA7\xA8\xA9\uFFFD\xAB\xAC\xAD\xAE\u2015\xB0\xB1\xB2\xB3\u0384\xB5\xB6\xB7\u0388\u0389\u038A\xBB\u038C\xBD\u038E\u038F\u0390\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039A\u039B\u039C\u039D\u039E\u039F\u03A0\u03A1\uFFFD\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03AA\u03AB\u03AC\u03AD\u03AE\u03AF\u03B0\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C2\u03C3\u03C4\u03C5\u03C6\u03C7\u03C8\u03C9\u03CA\u03CB\u03CC\u03CD\u03CE\uFFFD"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\uFFFD\uFFFD\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u011E\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u0130\u015E\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u011F\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u0131\u015F\xFF"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\uFFFD\u2039\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\uFFFD\u203A\uFFFD\uFFFD\uFFFD\uFFFD\xA0\xA1\xA2\xA3\u20AA\xA5\xA6\xA7\xA8\xA9\xD7\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xF7\xBB\xBC\xBD\xBE\xBF\u05B0\u05B1\u05B2\u05B3\u05B4\u05B5\u05B6\u05B7\u05B8\u05B9\u05BA\u05BB\u05BC\u05BD\u05BE\u05BF\u05C0\u05C1\u05C2\u05C3\u05F0\u05F1\u05F2\u05F3\u05F4\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u05D0\u05D1\u05D2\u05D3\u05D4\u05D5\u05D6\u05D7\u05D8\u05D9\u05DA\u05DB\u05DC\u05DD\u05DE\u05DF\u05E0\u05E1\u05E2\u05E3\u05E4\u05E5\u05E6\u05E7\u05E8\u05E9\u05EA\uFFFD\uFFFD\u200E\u200F\uFFFD"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"\u20AC\u067E\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0679\u2039\u0152\u0686\u0698\u0688\u06AF\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u06A9\u2122\u0691\u203A\u0153\u200C\u200D\u06BA\xA0\u060C\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\u06BE\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\u061B\xBB\xBC\xBD\xBE\u061F\u06C1\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\u0636\xD7\u0637\u0638\u0639\u063A\u0640\u0641\u0642\u0643\xE0\u0644\xE2\u0645\u0646\u0647\u0648\xE7\xE8\xE9\xEA\xEB\u0649\u064A\xEE\xEF\u064B\u064C\u064D\u064E\xF4\u064F\u0650\xF7\u0651\xF9\u0652\xFB\xFC\u200E\u200F\u06D2"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\uFFFD\u201E\u2026\u2020\u2021\uFFFD\u2030\uFFFD\u2039\uFFFD\xA8\u02C7\xB8\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\uFFFD\u203A\uFFFD\xAF\u02DB\uFFFD\xA0\uFFFD\xA2\xA3\xA4\uFFFD\xA6\xA7\xD8\xA9\u0156\xAB\xAC\xAD\xAE\xC6\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xF8\xB9\u0157\xBB\xBC\xBD\xBE\xE6\u0104\u012E\u0100\u0106\xC4\xC5\u0118\u0112\u010C\xC9\u0179\u0116\u0122\u0136\u012A\u013B\u0160\u0143\u0145\xD3\u014C\xD5\xD6\xD7\u0172\u0141\u015A\u016A\xDC\u017B\u017D\xDF\u0105\u012F\u0101\u0107\xE4\xE5\u0119\u0113\u010D\xE9\u017A\u0117\u0123\u0137\u012B\u013C\u0161\u0144\u0146\xF3\u014D\xF5\xF6\xF7\u0173\u0142\u015B\u016B\xFC\u017C\u017E\u02D9"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\uFFFD\u2039\u0152\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\uFFFD\u203A\u0153\uFFFD\uFFFD\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\u0102\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\u0300\xCD\xCE\xCF\u0110\xD1\u0309\xD3\xD4\u01A0\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u01AF\u0303\xDF\xE0\xE1\xE2\u0103\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\u0301\xED\xEE\xEF\u0111\xF1\u0323\xF3\xF4\u01A1\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u01B0\u20AB\xFF"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0104\u02D8\u0141\xA4\u013D\u015A\xA7\xA8\u0160\u015E\u0164\u0179\xAD\u017D\u017B\xB0\u0105\u02DB\u0142\xB4\u013E\u015B\u02C7\xB8\u0161\u015F\u0165\u017A\u02DD\u017E\u017C\u0154\xC1\xC2\u0102\xC4\u0139\u0106\xC7\u010C\xC9\u0118\xCB\u011A\xCD\xCE\u010E\u0110\u0143\u0147\xD3\xD4\u0150\xD6\xD7\u0158\u016E\xDA\u0170\xDC\xDD\u0162\xDF\u0155\xE1\xE2\u0103\xE4\u013A\u0107\xE7\u010D\xE9\u0119\xEB\u011B\xED\xEE\u010F\u0111\u0144\u0148\xF3\xF4\u0151\xF6\xF7\u0159\u016F\xFA\u0171\xFC\xFD\u0163\u02D9"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0126\u02D8\xA3\xA4\uFFFD\u0124\xA7\xA8\u0130\u015E\u011E\u0134\xAD\uFFFD\u017B\xB0\u0127\xB2\xB3\xB4\xB5\u0125\xB7\xB8\u0131\u015F\u011F\u0135\xBD\uFFFD\u017C\xC0\xC1\xC2\uFFFD\xC4\u010A\u0108\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\uFFFD\xD1\xD2\xD3\xD4\u0120\xD6\xD7\u011C\xD9\xDA\xDB\xDC\u016C\u015C\xDF\xE0\xE1\xE2\uFFFD\xE4\u010B\u0109\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\uFFFD\xF1\xF2\xF3\xF4\u0121\xF6\xF7\u011D\xF9\xFA\xFB\xFC\u016D\u015D\u02D9"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0104\u0138\u0156\xA4\u0128\u013B\xA7\xA8\u0160\u0112\u0122\u0166\xAD\u017D\xAF\xB0\u0105\u02DB\u0157\xB4\u0129\u013C\u02C7\xB8\u0161\u0113\u0123\u0167\u014A\u017E\u014B\u0100\xC1\xC2\xC3\xC4\xC5\xC6\u012E\u010C\xC9\u0118\xCB\u0116\xCD\xCE\u012A\u0110\u0145\u014C\u0136\xD4\xD5\xD6\xD7\xD8\u0172\xDA\xDB\xDC\u0168\u016A\xDF\u0101\xE1\xE2\xE3\xE4\xE5\xE6\u012F\u010D\xE9\u0119\xEB\u0117\xED\xEE\u012B\u0111\u0146\u014D\u0137\xF4\xF5\xF6\xF7\xF8\u0173\xFA\xFB\xFC\u0169\u016B\u02D9"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0401\u0402\u0403\u0404\u0405\u0406\u0407\u0408\u0409\u040A\u040B\u040C\xAD\u040E\u040F\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u2116\u0451\u0452\u0453\u0454\u0455\u0456\u0457\u0458\u0459\u045A\u045B\u045C\xA7\u045E\u045F"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\uFFFD\uFFFD\uFFFD\xA4\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u060C\xAD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u061B\uFFFD\uFFFD\uFFFD\u061F\uFFFD\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\u0636\u0637\u0638\u0639\u063A\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0640\u0641\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064A\u064B\u064C\u064D\u064E\u064F\u0650\u0651\u0652\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u2018\u2019\xA3\u20AC\u20AF\xA6\xA7\xA8\xA9\u037A\xAB\xAC\xAD\uFFFD\u2015\xB0\xB1\xB2\xB3\u0384\u0385\u0386\xB7\u0388\u0389\u038A\xBB\u038C\xBD\u038E\u038F\u0390\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039A\u039B\u039C\u039D\u039E\u039F\u03A0\u03A1\uFFFD\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03AA\u03AB\u03AC\u03AD\u03AE\u03AF\u03B0\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C2\u03C3\u03C4\u03C5\u03C6\u03C7\u03C8\u03C9\u03CA\u03CB\u03CC\u03CD\u03CE\uFFFD"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\uFFFD\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xD7\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xF7\xBB\xBC\xBD\xBE\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2017\u05D0\u05D1\u05D2\u05D3\u05D4\u05D5\u05D6\u05D7\u05D8\u05D9\u05DA\u05DB\u05DC\u05DD\u05DE\u05DF\u05E0\u05E1\u05E2\u05E3\u05E4\u05E5\u05E6\u05E7\u05E8\u05E9\u05EA\uFFFD\uFFFD\u200E\u200F\uFFFD"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u011E\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u0130\u015E\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u011F\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u0131\u015F\xFF"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0104\u0112\u0122\u012A\u0128\u0136\xA7\u013B\u0110\u0160\u0166\u017D\xAD\u016A\u014A\xB0\u0105\u0113\u0123\u012B\u0129\u0137\xB7\u013C\u0111\u0161\u0167\u017E\u2015\u016B\u014B\u0100\xC1\xC2\xC3\xC4\xC5\xC6\u012E\u010C\xC9\u0118\xCB\u0116\xCD\xCE\xCF\xD0\u0145\u014C\xD3\xD4\xD5\xD6\u0168\xD8\u0172\xDA\xDB\xDC\xDD\xDE\xDF\u0101\xE1\xE2\xE3\xE4\xE5\xE6\u012F\u010D\xE9\u0119\xEB\u0117\xED\xEE\xEF\xF0\u0146\u014D\xF3\xF4\xF5\xF6\u0169\xF8\u0173\xFA\xFB\xFC\xFD\xFE\u0138"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFFFD\uFFFD\uFFFD\uFFFD\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\uFFFD\uFFFD\uFFFD\uFFFD"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u201D\xA2\xA3\xA4\u201E\xA6\xA7\xD8\xA9\u0156\xAB\xAC\xAD\xAE\xC6\xB0\xB1\xB2\xB3\u201C\xB5\xB6\xB7\xF8\xB9\u0157\xBB\xBC\xBD\xBE\xE6\u0104\u012E\u0100\u0106\xC4\xC5\u0118\u0112\u010C\xC9\u0179\u0116\u0122\u0136\u012A\u013B\u0160\u0143\u0145\xD3\u014C\xD5\xD6\xD7\u0172\u0141\u015A\u016A\xDC\u017B\u017D\xDF\u0105\u012F\u0101\u0107\xE4\xE5\u0119\u0113\u010D\xE9\u017A\u0117\u0123\u0137\u012B\u013C\u0161\u0144\u0146\xF3\u014D\xF5\xF6\xF7\u0173\u0142\u015B\u016B\xFC\u017C\u017E\u2019"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u1E02\u1E03\xA3\u010A\u010B\u1E0A\xA7\u1E80\xA9\u1E82\u1E0B\u1EF2\xAD\xAE\u0178\u1E1E\u1E1F\u0120\u0121\u1E40\u1E41\xB6\u1E56\u1E81\u1E57\u1E83\u1E60\u1EF3\u1E84\u1E85\u1E61\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u0174\xD1\xD2\xD3\xD4\xD5\xD6\u1E6A\xD8\xD9\xDA\xDB\xDC\xDD\u0176\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u0175\xF1\xF2\xF3\xF4\xF5\xF6\u1E6B\xF8\xF9\xFA\xFB\xFC\xFD\u0177\xFF"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\u20AC\xA5\u0160\xA7\u0161\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\u017D\xB5\xB6\xB7\u017E\xB9\xBA\xBB\u0152\u0153\u0178\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0104\u0105\u0141\u20AC\u201E\u0160\xA7\u0161\xA9\u0218\xAB\u0179\xAD\u017A\u017B\xB0\xB1\u010C\u0142\u017D\u201D\xB6\xB7\u017E\u010D\u0219\xBB\u0152\u0153\u0178\u017C\xC0\xC1\xC2\u0102\xC4\u0106\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u0110\u0143\xD2\xD3\xD4\u0150\xD6\u015A\u0170\xD9\xDA\xDB\xDC\u0118\u021A\xDF\xE0\xE1\xE2\u0103\xE4\u0107\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u0111\u0144\xF2\xF3\xF4\u0151\xF6\u015B\u0171\xF9\xFA\xFB\xFC\u0119\u021B\xFF"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xA2\xA3\xA5\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039A\u039B\u039C\u039D\u039E\u039F\u03A0\u03A1\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C3\u03C2\u03C4\u03C5\u03C6\u03C7\u03C8\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03C9\u03AC\u03AD\u03AE\u03CA\u03AF\u03CC\u03CD\u03CB\u03CE\u0386\u0388\u0389\u038A\u038C\u038E\u038F\xB1\u2265\u2264\u03AA\u03AB\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"\u0106\xFC\xE9\u0101\xE4\u0123\xE5\u0107\u0142\u0113\u0156\u0157\u012B\u0179\xC4\xC5\xC9\xE6\xC6\u014D\xF6\u0122\xA2\u015A\u015B\xD6\xDC\xF8\xA3\xD8\xD7\xA4\u0100\u012A\xF3\u017B\u017C\u017A\u201D\xA6\xA9\xAE\xAC\xBD\xBC\u0141\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u0104\u010C\u0118\u0116\u2563\u2551\u2557\u255D\u012E\u0160\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u0172\u016A\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u017D\u0105\u010D\u0119\u0117\u012F\u0161\u0173\u016B\u017E\u2518\u250C\u2588\u2584\u258C\u2590\u2580\xD3\xDF\u014C\u0143\xF5\xD5\xB5\u0144\u0136\u0137\u013B\u013C\u0146\u0112\u0145\u2019\xAD\xB1\u201C\xBE\xB6\xA7\xF7\u201E\xB0\u2219\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xF8\xA3\xD8\xD7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\xAE\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\xC1\xC2\xC0\xA9\u2563\u2551\u2557\u255D\xA2\xA5\u2510\u2514\u2534\u252C\u251C\u2500\u253C\xE3\xC3\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\xF0\xD0\xCA\xCB\xC8\u0131\xCD\xCE\xCF\u2518\u250C\u2588\u2584\xA6\xCC\u2580\xD3\xDF\xD4\xD2\xF5\xD5\xB5\xFE\xDE\xDA\xDB\xD9\xFD\xDD\xAF\xB4\xAD\xB1\u2017\xBE\xB6\xA7\xF7\xB8\xB0\xA8\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\u016F\u0107\xE7\u0142\xEB\u0150\u0151\xEE\u0179\xC4\u0106\xC9\u0139\u013A\xF4\xF6\u013D\u013E\u015A\u015B\xD6\xDC\u0164\u0165\u0141\xD7\u010D\xE1\xED\xF3\xFA\u0104\u0105\u017D\u017E\u0118\u0119\xAC\u017A\u010C\u015F\xAB\xBB\u2591\u2592\u2593\u2502\u2524\xC1\xC2\u011A\u015E\u2563\u2551\u2557\u255D\u017B\u017C\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u0102\u0103\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\u0111\u0110\u010E\xCB\u010F\u0147\xCD\xCE\u011B\u2518\u250C\u2588\u2584\u0162\u016E\u2580\xD3\xDF\xD4\u0143\u0144\u0148\u0160\u0161\u0154\xDA\u0155\u0170\xFD\xDD\u0163\xB4\xAD\u02DD\u02DB\u02C7\u02D8\xA7\xF7\xB8\xB0\xA8\u02D9\u0171\u0158\u0159\u25A0\xA0"},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"\u0452\u0402\u0453\u0403\u0451\u0401\u0454\u0404\u0455\u0405\u0456\u0406\u0457\u0407\u0458\u0408\u0459\u0409\u045A\u040A\u045B\u040B\u045C\u040C\u045E\u040E\u045F\u040F\u044E\u042E\u044A\u042A\u0430\u0410\u0431\u0411\u0446\u0426\u0434\u0414\u0435\u0415\u0444\u0424\u0433\u0413\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u0445\u0425\u0438\u0418\u2563\u2551\u2557\u255D\u0439\u0419\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u043A\u041A\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\u043B\u041B\u043C\u041C\u043D\u041D\u043E\u041E\u043F\u2518\u250C\u2588\u2584\u041F\u044F\u2580\u042F\u0440\u0420\u0441\u0421\u0442\u0422\u0443\u0423\u0436\u0416\u0432\u0412\u044C\u042C\u2116\xAD\u044B\u042B\u0437\u0417\u0448\u0428\u044D\u042D\u0449\u0429\u0447\u0427\xA7\u25A0\xA0"},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"\u05D0\u05D1\u05D2\u05D3\u05D4\u05D5\u05D6\u05D7\u05D8\u05D9\u05DA\u05DB\u05DC\u05DD\u05DE\u05DF\u05E0\u05E1\u05E2\u05E3\u05E4\u05E5\u05E6\u05E7\u05E8\u05E9\u05EA\uFFFD\xA3\uFFFD\xD7\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\xAE\xAC\xBD\xBC\uFFFD\xAB\xBB\u2591\u2592\u2593\u2502\u2524\uFFFD\uFFFD\uFFFD\xA9\u2563\u2551\u2557\u255D\xA2\xA5\u2510\u2514\u2534\u252C\u251C\u2500\u253C\uFFFD\uFFFD\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2518\u250C\u2588\u2584\xA6\uFFFD\u2580\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\xB5\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\xAF\xB4\xAD\xB1\u2017\xBE\xB6\xA7\xF7\xB8\xB0\xA8\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\u0131\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\u0130\xD6\xDC\xF8\xA3\xD8\u015E\u015F\xE1\xED\xF3\xFA\xF1\xD1\u011E\u011F\xBF\xAE\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\xC1\xC2\xC0\xA9\u2563\u2551\u2557\u255D\xA2\xA5\u2510\u2514\u2534\u252C\u251C\u2500\u253C\xE3\xC3\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\xBA\xAA\xCA\xCB\xC8\uFFFD\xCD\xCE\xCF\u2518\u250C\u2588\u2584\xA6\xCC\u2580\xD3\xDF\xD4\xD2\xF5\xD5\xB5\uFFFD\xD7\xDA\xDB\xD9\xEC\xFF\xAF\xB4\xAD\xB1\uFFFD\xBE\xB6\xA7\xF7\xB8\xB0\xA8\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xF8\xA3\xD8\xD7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\xAE\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\xC1\xC2\xC0\xA9\u2563\u2551\u2557\u255D\xA2\xA5\u2510\u2514\u2534\u252C\u251C\u2500\u253C\xE3\xC3\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\xF0\xD0\xCA\xCB\xC8\u20AC\xCD\xCE\xCF\u2518\u250C\u2588\u2584\xA6\xCC\u2580\xD3\xDF\xD4\xD2\xF5\xD5\xB5\xFE\xDE\xDA\xDB\xD9\xFD\xDD\xAF\xB4\xAD\xB1\u2017\xBE\xB6\xA7\xF7\xB8\xB0\xA8\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE3\xE0\xC1\xE7\xEA\xCA\xE8\xCD\xD4\xEC\xC3\xC2\xC9\xC0\xC8\xF4\xF5\xF2\xDA\xF9\xCC\xD5\xDC\xA2\xA3\xD9\u20A7\xD3\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\xD2\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xD0\xF0\xDE\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xFE\xFB\xDD\xFD\xD6\xDC\xF8\xA3\xD8\u20A7\u0192\xE1\xED\xF3\xFA\xC1\xCD\xD3\xDA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"\u05D0\u05D1\u05D2\u05D3\u05D4\u05D5\u05D6\u05D7\u05D8\u05D9\u05DA\u05DB\u05DC\u05DD\u05DE\u05DF\u05E0\u05E1\u05E2\u05E3\u05E4\u05E5\u05E6\u05E7\u05E8\u05E9\u05EA\xA2\xA3\xA5\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xC2\xE0\xB6\xE7\xEA\xEB\xE8\xEF\xEE\u2017\xC0\xA7\xC9\xC8\xCA\xF4\xCB\xCF\xFB\xF9\xA4\xD4\xDC\xA2\xA3\xD9\xDB\u0192\xA6\xB4\xF3\xFA\xA8\xB8\xB3\xAF\xCE\u2310\xAC\xBD\xBC\xBE\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:`\0\x07\b	
\v\f\r\x1B !"#$\u066A&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\xB0\xB7\u2219\u221A\u2592\u2500\u2502\u253C\u2524\u252C\u251C\u2534\u2510\u250C\u2514\u2518\u03B2\u221E\u03C6\xB1\xBD\xBC\u2248\xAB\xBB\uFEF7\uFEF8\uFFFD\uFFFD\uFEFB\uFEFC\uFFFD\xA0\xAD\uFE82\xA3\xA4\uFE84\uFFFD\uFFFD\uFE8E\uFE8F\uFE95\uFE99\u060C\uFE9D\uFEA1\uFEA5\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\uFED1\u061B\uFEB1\uFEB5\uFEB9\u061F\xA2\uFE80\uFE81\uFE83\uFE85\uFECA\uFE8B\uFE8D\uFE91\uFE93\uFE97\uFE9B\uFE9F\uFEA3\uFEA7\uFEA9\uFEAB\uFEAD\uFEAF\uFEB3\uFEB7\uFEBB\uFEBF\uFEC1\uFEC5\uFECB\uFECF\xA6\xAC\xF7\xD7\uFEC9\u0640\uFED3\uFED7\uFEDB\uFEDF\uFEE3\uFEE7\uFEEB\uFEED\uFEEF\uFEF3\uFEBD\uFECC\uFECE\uFECD\uFEE1\uFE7D\u0651\uFEE5\uFEE9\uFEEC\uFEF0\uFEF2\uFED0\uFED5\uFEF5\uFEF6\uFEDD\uFED9\uFEF1\u25A0\uFFFD`},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xF8\xA3\xD8\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xA4\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u0401\u0451\u0404\u0454\u0407\u0457\u040E\u045E\xB0\u2219\xB7\u221A\u2116\xA4\u25A0\xA0"},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0386\uFFFD\xB7\xAC\xA6\u2018\u2019\u0388\u2015\u0389\u038A\u03AA\u038C\uFFFD\uFFFD\u038E\u03AB\xA9\u038F\xB2\xB3\u03AC\xA3\u03AD\u03AE\u03AF\u03CA\u0390\u03CC\u03CD\u0391\u0392\u0393\u0394\u0395\u0396\u0397\xBD\u0398\u0399\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u039A\u039B\u039C\u039D\u2563\u2551\u2557\u255D\u039E\u039F\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u03A0\u03A1\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03B1\u03B2\u03B3\u2518\u250C\u2588\u2584\u03B4\u03B5\u2580\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C3\u03C2\u03C4\u0384\xAD\xB1\u03C5\u03C6\u03C7\xA7\u03C8\u0385\xB0\xA8\u03C9\u03CB\u03B0\u03CE\u25A0\xA0"},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\u203E\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u0160\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\u017D\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u0161\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\u017E\xFF"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"\uFE88\xD7\xF7\uF8F6\uF8F5\uF8F4\uF8F7\uFE71\x88\u25A0\u2502\u2500\u2510\u250C\u2514\u2518\uFE79\uFE7B\uFE7D\uFE7F\uFE77\uFE8A\uFEF0\uFEF3\uFEF2\uFECE\uFECF\uFED0\uFEF6\uFEF8\uFEFA\uFEFC\xA0\uF8FA\uF8F9\uF8F8\xA4\uF8FB\uFE8B\uFE91\uFE97\uFE9B\uFE9F\uFEA3\u060C\xAD\uFEA7\uFEB3\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\uFEB7\u061B\uFEBB\uFEBF\uFECA\u061F\uFECB\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\u0636\u0637\uFEC7\u0639\u063A\uFECC\uFE82\uFE84\uFE8E\uFED3\u0640\u0641\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064A\u064B\u064C\u064D\u064E\u064F\u0650\u0651\u0652\uFED7\uFEDB\uFEDF\uF8FC\uFEF5\uFEF7\uFEF9\uFEFB\uFEE3\uFEE7\uFEEC\uFEE9\uFFFD"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0401\u0402\u0490\u0404\u0405\u0406\u0407\u0408\u0409\u040A\u040B\u040C\xAD\u040E\u040F\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u2116\u0451\u0452\u0491\u0454\u0455\u0456\u0457\u0458\u0459\u045A\u045B\u045C\xA7\u045E\u045F"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u0401\u0451\u0490\u0491\u0404\u0454\u0406\u0456\u0407\u0457\xB7\u221A\u2116\xA4\u25A0\xA0"},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\u0153\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\u0178\xB5\xB6\xB7\u0152\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\u0102\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\u0300\xCD\xCE\xCF\u0110\xD1\u0309\xD3\xD4\u01A0\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u01AF\u0303\xDF\xE0\xE1\xE2\u0103\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\u0301\xED\xEE\xEF\u0111\xF1\u0323\xF3\xF4\u01A1\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u01B0\u20AB\xFF"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0E81\u0E82\u0E84\u0E87\u0E88\u0EAA\u0E8A\u0E8D\u0E94\u0E95\u0E96\u0E97\u0E99\u0E9A\u0E9B\u0E9C\u0E9D\u0E9E\u0E9F\u0EA1\u0EA2\u0EA3\u0EA5\u0EA7\u0EAB\u0EAD\u0EAE\uFFFD\uFFFD\uFFFD\u0EAF\u0EB0\u0EB2\u0EB3\u0EB4\u0EB5\u0EB6\u0EB7\u0EB8\u0EB9\u0EBC\u0EB1\u0EBB\u0EBD\uFFFD\uFFFD\uFFFD\u0EC0\u0EC1\u0EC2\u0EC3\u0EC4\u0EC8\u0EC9\u0ECA\u0ECB\u0ECC\u0ECD\u0EC6\uFFFD\u0EDC\u0EDD\u20AD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0ED0\u0ED1\u0ED2\u0ED3\u0ED4\u0ED5\u0ED6\u0ED7\u0ED8\u0ED9\uFFFD\uFFFD\xA2\xAC\xA6\uFFFD"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0E48\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\u0E49\u0E4A\u0E4B\u20AC\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\xA2\xAC\xA6\xA0"},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"\u20AC\x81\x82\x83\x84\u2026\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\u2018\u2019\u201C\u201D\u2022\u2013\u2014\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFFFD\uFFFD\uFFFD\uFFFD\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\uFFFD\uFFFD\uFFFD\uFFFD"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\u20AC\xA5\xA6\xA7\u0153\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\u0178\xB5\xB6\xB7\u0152\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\u0102\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\u0300\xCD\xCE\xCF\u0110\xD1\u0309\xD3\xD4\u01A0\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u01AF\u0303\xDF\xE0\xE1\xE2\u0103\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\u0301\xED\xEE\xEF\u0111\xF1\u0323\xF3\xF4\u01A1\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u01B0\u20AB\xFF"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\u0160\u2122\xB4\xA8\u2260\u017D\xD8\u221E\xB1\u2264\u2265\u2206\xB5\u2202\u2211\u220F\u0161\u222B\xAA\xBA\u2126\u017E\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u0106\xAB\u010C\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u0110\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\uFFFD\xA9\u2044\xA4\u2039\u203A\xC6\xBB\u2013\xB7\u201A\u201E\u2030\xC2\u0107\xC1\u010D\xC8\xCD\xCE\xCF\xCC\xD3\xD4\u0111\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u03C0\xCB\u02DA\xB8\xCA\xE6\u02C7"},maccyrillic:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u2020\xB0\xA2\xA3\xA7\u2022\xB6\u0406\xAE\xA9\u2122\u0402\u0452\u2260\u0403\u0453\u221E\xB1\u2264\u2265\u0456\xB5\u2202\u0408\u0404\u0454\u0407\u0457\u0409\u0459\u040A\u045A\u0458\u0405\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\u040B\u045B\u040C\u045C\u0455\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u201E\u040E\u045E\u040F\u045F\u2116\u0401\u0451\u044F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\xA4"},macgreek:{type:"_sbcs",chars:"\xC4\xB9\xB2\xC9\xB3\xD6\xDC\u0385\xE0\xE2\xE4\u0384\xA8\xE7\xE9\xE8\xEA\xEB\xA3\u2122\xEE\xEF\u2022\xBD\u2030\xF4\xF6\xA6\xAD\xF9\xFB\xFC\u2020\u0393\u0394\u0398\u039B\u039E\u03A0\xDF\xAE\xA9\u03A3\u03AA\xA7\u2260\xB0\u0387\u0391\xB1\u2264\u2265\xA5\u0392\u0395\u0396\u0397\u0399\u039A\u039C\u03A6\u03AB\u03A8\u03A9\u03AC\u039D\xAC\u039F\u03A1\u2248\u03A4\xAB\xBB\u2026\xA0\u03A5\u03A7\u0386\u0388\u0153\u2013\u2015\u201C\u201D\u2018\u2019\xF7\u0389\u038A\u038C\u038E\u03AD\u03AE\u03AF\u03CC\u038F\u03CD\u03B1\u03B2\u03C8\u03B4\u03B5\u03C6\u03B3\u03B7\u03B9\u03BE\u03BA\u03BB\u03BC\u03BD\u03BF\u03C0\u03CE\u03C1\u03C3\u03C4\u03B8\u03C9\u03C2\u03C7\u03C5\u03B6\u03CA\u03CB\u0390\u03B0\uFFFD"},maciceland:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\xDD\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\xA4\xD0\xF0\xDE\xFE\xFD\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"},macroman:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\xA4\u2039\u203A\uFB01\uFB02\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"},macromania:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\u0102\u015E\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\u0103\u015F\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\xA4\u2039\u203A\u0162\u0163\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"},macthai:{type:"_sbcs",chars:"\xAB\xBB\u2026\uF88C\uF88F\uF892\uF895\uF898\uF88B\uF88E\uF891\uF894\uF897\u201C\u201D\uF899\uFFFD\u2022\uF884\uF889\uF885\uF886\uF887\uF888\uF88A\uF88D\uF890\uF893\uF896\u2018\u2019\uFFFD\xA0\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFEFF\u200B\u2013\u2014\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u2122\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\xAE\xA9\uFFFD\uFFFD\uFFFD\uFFFD"},macturkish:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u011E\u011F\u0130\u0131\u015E\u015F\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\uFFFD\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"},macukraine:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u2020\xB0\u0490\xA3\xA7\u2022\xB6\u0406\xAE\xA9\u2122\u0402\u0452\u2260\u0403\u0453\u221E\xB1\u2264\u2265\u0456\xB5\u0491\u0408\u0404\u0454\u0407\u0457\u0409\u0459\u040A\u045A\u0458\u0405\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\u040B\u045B\u040C\u045C\u0455\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u201E\u040E\u045E\u040F\u045F\u2116\u0401\u0451\u044F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\xA4"},koi8r:{type:"_sbcs",chars:"\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2580\u2584\u2588\u258C\u2590\u2591\u2592\u2593\u2320\u25A0\u2219\u221A\u2248\u2264\u2265\xA0\u2321\xB0\xB2\xB7\xF7\u2550\u2551\u2552\u0451\u2553\u2554\u2555\u2556\u2557\u2558\u2559\u255A\u255B\u255C\u255D\u255E\u255F\u2560\u2561\u0401\u2562\u2563\u2564\u2565\u2566\u2567\u2568\u2569\u256A\u256B\u256C\xA9\u044E\u0430\u0431\u0446\u0434\u0435\u0444\u0433\u0445\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u044F\u0440\u0441\u0442\u0443\u0436\u0432\u044C\u044B\u0437\u0448\u044D\u0449\u0447\u044A\u042E\u0410\u0411\u0426\u0414\u0415\u0424\u0413\u0425\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u042F\u0420\u0421\u0422\u0423\u0416\u0412\u042C\u042B\u0417\u0428\u042D\u0429\u0427\u042A"},koi8u:{type:"_sbcs",chars:"\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2580\u2584\u2588\u258C\u2590\u2591\u2592\u2593\u2320\u25A0\u2219\u221A\u2248\u2264\u2265\xA0\u2321\xB0\xB2\xB7\xF7\u2550\u2551\u2552\u0451\u0454\u2554\u0456\u0457\u2557\u2558\u2559\u255A\u255B\u0491\u255D\u255E\u255F\u2560\u2561\u0401\u0404\u2563\u0406\u0407\u2566\u2567\u2568\u2569\u256A\u0490\u256C\xA9\u044E\u0430\u0431\u0446\u0434\u0435\u0444\u0433\u0445\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u044F\u0440\u0441\u0442\u0443\u0436\u0432\u044C\u044B\u0437\u0448\u044D\u0449\u0447\u044A\u042E\u0410\u0411\u0426\u0414\u0415\u0424\u0413\u0425\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u042F\u0420\u0421\u0422\u0423\u0416\u0412\u042C\u042B\u0417\u0428\u042D\u0429\u0427\u042A"},koi8ru:{type:"_sbcs",chars:"\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2580\u2584\u2588\u258C\u2590\u2591\u2592\u2593\u2320\u25A0\u2219\u221A\u2248\u2264\u2265\xA0\u2321\xB0\xB2\xB7\xF7\u2550\u2551\u2552\u0451\u0454\u2554\u0456\u0457\u2557\u2558\u2559\u255A\u255B\u0491\u045E\u255E\u255F\u2560\u2561\u0401\u0404\u2563\u0406\u0407\u2566\u2567\u2568\u2569\u256A\u0490\u040E\xA9\u044E\u0430\u0431\u0446\u0434\u0435\u0444\u0433\u0445\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u044F\u0440\u0441\u0442\u0443\u0436\u0432\u044C\u044B\u0437\u0448\u044D\u0449\u0447\u044A\u042E\u0410\u0411\u0426\u0414\u0415\u0424\u0413\u0425\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u042F\u0420\u0421\u0422\u0423\u0416\u0412\u042C\u042B\u0417\u0428\u042D\u0429\u0427\u042A"},koi8t:{type:"_sbcs",chars:"\u049B\u0493\u201A\u0492\u201E\u2026\u2020\u2021\uFFFD\u2030\u04B3\u2039\u04B2\u04B7\u04B6\uFFFD\u049A\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\uFFFD\u203A\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u04EF\u04EE\u0451\xA4\u04E3\xA6\xA7\uFFFD\uFFFD\uFFFD\xAB\xAC\xAD\xAE\uFFFD\xB0\xB1\xB2\u0401\uFFFD\u04E2\xB6\xB7\uFFFD\u2116\uFFFD\xBB\uFFFD\uFFFD\uFFFD\xA9\u044E\u0430\u0431\u0446\u0434\u0435\u0444\u0433\u0445\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u044F\u0440\u0441\u0442\u0443\u0436\u0432\u044C\u044B\u0437\u0448\u044D\u0449\u0447\u044A\u042E\u0410\u0411\u0426\u0414\u0415\u0424\u0413\u0425\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u042F\u0420\u0421\u0422\u0423\u0416\u0412\u042C\u042B\u0417\u0428\u042D\u0429\u0427\u042A"},armscii8:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\uFFFD\u0587\u0589)(\xBB\xAB\u2014.\u055D,-\u058A\u2026\u055C\u055B\u055E\u0531\u0561\u0532\u0562\u0533\u0563\u0534\u0564\u0535\u0565\u0536\u0566\u0537\u0567\u0538\u0568\u0539\u0569\u053A\u056A\u053B\u056B\u053C\u056C\u053D\u056D\u053E\u056E\u053F\u056F\u0540\u0570\u0541\u0571\u0542\u0572\u0543\u0573\u0544\u0574\u0545\u0575\u0546\u0576\u0547\u0577\u0548\u0578\u0549\u0579\u054A\u057A\u054B\u057B\u054C\u057C\u054D\u057D\u054E\u057E\u054F\u057F\u0550\u0580\u0551\u0581\u0552\u0582\u0553\u0583\u0554\u0584\u0555\u0585\u0556\u0586\u055A\uFFFD"},rk1048:{type:"_sbcs",chars:"\u0402\u0403\u201A\u0453\u201E\u2026\u2020\u2021\u20AC\u2030\u0409\u2039\u040A\u049A\u04BA\u040F\u0452\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\u0459\u203A\u045A\u049B\u04BB\u045F\xA0\u04B0\u04B1\u04D8\xA4\u04E8\xA6\xA7\u0401\xA9\u0492\xAB\xAC\xAD\xAE\u04AE\xB0\xB1\u0406\u0456\u04E9\xB5\xB6\xB7\u0451\u2116\u0493\xBB\u04D9\u04A2\u04A3\u04AF\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F"},tcvn:{type:"_sbcs",chars:`\0\xDA\u1EE4\u1EEA\u1EEC\u1EEE\x07\b	
\v\f\r\u1EE8\u1EF0\u1EF2\u1EF6\u1EF8\xDD\u1EF4\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\xC0\u1EA2\xC3\xC1\u1EA0\u1EB6\u1EAC\xC8\u1EBA\u1EBC\xC9\u1EB8\u1EC6\xCC\u1EC8\u0128\xCD\u1ECA\xD2\u1ECE\xD5\xD3\u1ECC\u1ED8\u1EDC\u1EDE\u1EE0\u1EDA\u1EE2\xD9\u1EE6\u0168\xA0\u0102\xC2\xCA\xD4\u01A0\u01AF\u0110\u0103\xE2\xEA\xF4\u01A1\u01B0\u0111\u1EB0\u0300\u0309\u0303\u0301\u0323\xE0\u1EA3\xE3\xE1\u1EA1\u1EB2\u1EB1\u1EB3\u1EB5\u1EAF\u1EB4\u1EAE\u1EA6\u1EA8\u1EAA\u1EA4\u1EC0\u1EB7\u1EA7\u1EA9\u1EAB\u1EA5\u1EAD\xE8\u1EC2\u1EBB\u1EBD\xE9\u1EB9\u1EC1\u1EC3\u1EC5\u1EBF\u1EC7\xEC\u1EC9\u1EC4\u1EBE\u1ED2\u0129\xED\u1ECB\xF2\u1ED4\u1ECF\xF5\xF3\u1ECD\u1ED3\u1ED5\u1ED7\u1ED1\u1ED9\u1EDD\u1EDF\u1EE1\u1EDB\u1EE3\xF9\u1ED6\u1EE7\u0169\xFA\u1EE5\u1EEB\u1EED\u1EEF\u1EE9\u1EF1\u1EF3\u1EF7\u1EF9\xFD\u1EF5\u1ED0`},georgianacademy:{type:"_sbcs",chars:"\x80\x81\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\x8D\x8E\x8F\x90\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\x9D\x9E\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\u10D0\u10D1\u10D2\u10D3\u10D4\u10D5\u10D6\u10D7\u10D8\u10D9\u10DA\u10DB\u10DC\u10DD\u10DE\u10DF\u10E0\u10E1\u10E2\u10E3\u10E4\u10E5\u10E6\u10E7\u10E8\u10E9\u10EA\u10EB\u10EC\u10ED\u10EE\u10EF\u10F0\u10F1\u10F2\u10F3\u10F4\u10F5\u10F6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},georgianps:{type:"_sbcs",chars:"\x80\x81\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\x8D\x8E\x8F\x90\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\x9D\x9E\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\u10D0\u10D1\u10D2\u10D3\u10D4\u10D5\u10D6\u10F1\u10D7\u10D8\u10D9\u10DA\u10DB\u10DC\u10F2\u10DD\u10DE\u10DF\u10E0\u10E1\u10E2\u10F3\u10E3\u10E4\u10E5\u10E6\u10E7\u10E8\u10E9\u10EA\u10EB\u10EC\u10ED\u10EE\u10F4\u10EF\u10F0\u10F5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},pt154:{type:"_sbcs",chars:"\u0496\u0492\u04EE\u0493\u201E\u2026\u04B6\u04AE\u04B2\u04AF\u04A0\u04E2\u04A2\u049A\u04BA\u04B8\u0497\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u04B3\u04B7\u04A1\u04E3\u04A3\u049B\u04BB\u04B9\xA0\u040E\u045E\u0408\u04E8\u0498\u04B0\xA7\u0401\xA9\u04D8\xAB\xAC\u04EF\xAE\u049C\xB0\u04B1\u0406\u0456\u0499\u04E9\xB6\xB7\u0451\u2116\u04D9\xBB\u0458\u04AA\u04AB\u049D\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F"},viscii:{type:"_sbcs",chars:`\0\u1EB2\u1EB4\u1EAA\x07\b	
\v\f\r\u1EF6\u1EF8\x1B\u1EF4 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\u1EA0\u1EAE\u1EB0\u1EB6\u1EA4\u1EA6\u1EA8\u1EAC\u1EBC\u1EB8\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EE2\u1EDA\u1EDC\u1EDE\u1ECA\u1ECE\u1ECC\u1EC8\u1EE6\u0168\u1EE4\u1EF2\xD5\u1EAF\u1EB1\u1EB7\u1EA5\u1EA7\u1EA9\u1EAD\u1EBD\u1EB9\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1ED1\u1ED3\u1ED5\u1ED7\u1EE0\u01A0\u1ED9\u1EDD\u1EDF\u1ECB\u1EF0\u1EE8\u1EEA\u1EEC\u01A1\u1EDB\u01AF\xC0\xC1\xC2\xC3\u1EA2\u0102\u1EB3\u1EB5\xC8\xC9\xCA\u1EBA\xCC\xCD\u0128\u1EF3\u0110\u1EE9\xD2\xD3\xD4\u1EA1\u1EF7\u1EEB\u1EED\xD9\xDA\u1EF9\u1EF5\xDD\u1EE1\u01B0\xE0\xE1\xE2\xE3\u1EA3\u0103\u1EEF\u1EAB\xE8\xE9\xEA\u1EBB\xEC\xED\u0129\u1EC9\u0111\u1EF1\xF2\xF3\xF4\xF5\u1ECF\u1ECD\u1EE5\xF9\xFA\u0169\u1EE7\xFD\u1EE3\u1EEE`},iso646cn:{type:"_sbcs",chars:`\0\x07\b	
\v\f\r\x1B !"#\xA5%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}\u203E\x7F\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD`},iso646jp:{type:"_sbcs",chars:`\0\x07\b	
\v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\xA5]^_\`abcdefghijklmnopqrstuvwxyz{|}\u203E\x7F\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD`},hproman8:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xC0\xC2\xC8\xCA\xCB\xCE\xCF\xB4\u02CB\u02C6\xA8\u02DC\xD9\xDB\u20A4\xAF\xDD\xFD\xB0\xC7\xE7\xD1\xF1\xA1\xBF\xA4\xA3\xA5\xA7\u0192\xA2\xE2\xEA\xF4\xFB\xE1\xE9\xF3\xFA\xE0\xE8\xF2\xF9\xE4\xEB\xF6\xFC\xC5\xEE\xD8\xC6\xE5\xED\xF8\xE6\xC4\xEC\xD6\xDC\xC9\xEF\xDF\xD4\xC1\xC3\xE3\xD0\xF0\xCD\xCC\xD3\xD2\xD5\xF5\u0160\u0161\xDA\u0178\xFF\xDE\xFE\xB7\xB5\xB6\xBE\u2014\xBC\xBD\xAA\xBA\xAB\u25A0\xBB\xB1\uFFFD"},macintosh:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\xA4\u2039\u203A\uFB01\uFB02\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"},ascii:{type:"_sbcs",chars:"\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD"},tis620:{type:"_sbcs",chars:"\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFFFD\uFFFD\uFFFD\uFFFD\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\uFFFD\uFFFD\uFFFD\uFFFD"}}});var qEi=xe(JEi=>{"use strict";var T6t=rH().Buffer;JEi._dbcs=nH;var EC=-1,ZEi=-2,PA=-10,qS=-1e3,Xme=new Array(256),dSe=-1;for(cUe=0;cUe<256;cUe++)Xme[cUe]=EC;var cUe;function nH(t,e){if(this.encodingName=t.encodingName,!t)throw new Error("DBCS codec is called without the data.");if(!t.table)throw new Error("Encoding '"+this.encodingName+"' has no data.");var i=t.table();this.decodeTables=[],this.decodeTables[0]=Xme.slice(0),this.decodeTableSeq=[];for(var o=0;o<i.length;o++)this._addDecodeChunk(i[o]);if(typeof t.gb18030=="function"){this.gb18030=t.gb18030();var r=this.decodeTables.length;this.decodeTables.push(Xme.slice(0));var n=this.decodeTables.length;this.decodeTables.push(Xme.slice(0));for(var a=this.decodeTables[0],o=129;o<=254;o++)for(var s=this.decodeTables[qS-a[o]],l=48;l<=57;l++){if(s[l]===EC)s[l]=qS-r;else if(s[l]>qS)throw new Error("gb18030 decode tables conflict at byte 2");for(var c=this.decodeTables[qS-s[l]],d=129;d<=254;d++){if(c[d]===EC)c[d]=qS-n;else{if(c[d]===qS-n)continue;if(c[d]>qS)throw new Error("gb18030 decode tables conflict at byte 3")}for(var u=this.decodeTables[qS-c[d]],p=48;p<=57;p++)u[p]===EC&&(u[p]=ZEi)}}}this.defaultCharUnicode=e.defaultCharUnicode,this.encodeTable=[],this.encodeTableSeq=[];var m={};if(t.encodeSkipVals)for(var o=0;o<t.encodeSkipVals.length;o++){var h=t.encodeSkipVals[o];if(typeof h=="number")m[h]=!0;else for(var l=h.from;l<=h.to;l++)m[l]=!0}if(this._fillEncodeTable(0,0,m),t.encodeAdd)for(var f in t.encodeAdd)Object.prototype.hasOwnProperty.call(t.encodeAdd,f)&&this._setEncodeChar(f.charCodeAt(0),t.encodeAdd[f]);this.defCharSB=this.encodeTable[0][e.defaultCharSingleByte.charCodeAt(0)],this.defCharSB===EC&&(this.defCharSB=this.encodeTable[0]["?"]),this.defCharSB===EC&&(this.defCharSB=63)}nH.prototype.encoder=dUe;nH.prototype.decoder=S6t;nH.prototype._getDecodeTrieNode=function(t){for(var e=[];t>0;t>>>=8)e.push(t&255);e.length==0&&e.push(0);for(var i=this.decodeTables[0],o=e.length-1;o>0;o--){var r=i[e[o]];if(r==EC)i[e[o]]=qS-this.decodeTables.length,this.decodeTables.push(i=Xme.slice(0));else if(r<=qS)i=this.decodeTables[qS-r];else throw new Error("Overwrite byte in "+this.encodingName+", addr: "+t.toString(16))}return i};nH.prototype._addDecodeChunk=function(t){var e=parseInt(t[0],16),i=this._getDecodeTrieNode(e);e=e&255;for(var o=1;o<t.length;o++){var r=t[o];if(typeof r=="string")for(var n=0;n<r.length;){var a=r.charCodeAt(n++);if(55296<=a&&a<56320){var s=r.charCodeAt(n++);if(56320<=s&&s<57344)i[e++]=65536+(a-55296)*1024+(s-56320);else throw new Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+t[0])}else if(4080<a&&a<=4095){for(var l=4095-a+2,c=[],d=0;d<l;d++)c.push(r.charCodeAt(n++));i[e++]=PA-this.decodeTableSeq.length,this.decodeTableSeq.push(c)}else i[e++]=a}else if(typeof r=="number")for(var u=i[e-1]+1,n=0;n<r;n++)i[e++]=u++;else throw new Error("Incorrect type '"+typeof r+"' given in "+this.encodingName+" at chunk "+t[0])}if(e>255)throw new Error("Incorrect chunk in "+this.encodingName+" at addr "+t[0]+": too long"+e)};nH.prototype._getEncodeBucket=function(t){var e=t>>8;return this.encodeTable[e]===void 0&&(this.encodeTable[e]=Xme.slice(0)),this.encodeTable[e]};nH.prototype._setEncodeChar=function(t,e){var i=this._getEncodeBucket(t),o=t&255;i[o]<=PA?this.encodeTableSeq[PA-i[o]][dSe]=e:i[o]==EC&&(i[o]=e)};nH.prototype._setEncodeSequence=function(t,e){var i=t[0],o=this._getEncodeBucket(i),r=i&255,n;o[r]<=PA?n=this.encodeTableSeq[PA-o[r]]:(n={},o[r]!==EC&&(n[dSe]=o[r]),o[r]=PA-this.encodeTableSeq.length,this.encodeTableSeq.push(n));for(var a=1;a<t.length-1;a++){var s=n[i];typeof s=="object"?n=s:(n=n[i]={},s!==void 0&&(n[dSe]=s))}i=t[t.length-1],n[i]=e};nH.prototype._fillEncodeTable=function(t,e,i){for(var o=this.decodeTables[t],r=!1,n={},a=0;a<256;a++){var s=o[a],l=e+a;if(!i[l])if(s>=0)this._setEncodeChar(s,l),r=!0;else if(s<=qS){var c=qS-s;if(!n[c]){var d=l<<8>>>0;this._fillEncodeTable(c,d,i)?r=!0:n[c]=!0}}else s<=PA&&(this._setEncodeSequence(this.decodeTableSeq[PA-s],l),r=!0)}return r};function dUe(t,e){this.leadSurrogate=-1,this.seqObj=void 0,this.encodeTable=e.encodeTable,this.encodeTableSeq=e.encodeTableSeq,this.defaultCharSingleByte=e.defCharSB,this.gb18030=e.gb18030}dUe.prototype.write=function(t){for(var e=T6t.alloc(t.length*(this.gb18030?4:3)),i=this.leadSurrogate,o=this.seqObj,r=-1,n=0,a=0;;){if(r===-1){if(n==t.length)break;var s=t.charCodeAt(n++)}else{var s=r;r=-1}if(55296<=s&&s<57344)if(s<56320)if(i===-1){i=s;continue}else i=s,s=EC;else i!==-1?(s=65536+(i-55296)*1024+(s-56320),i=-1):s=EC;else i!==-1&&(r=s,s=EC,i=-1);var l=EC;if(o!==void 0&&s!=EC){var c=o[s];if(typeof c=="object"){o=c;continue}else typeof c=="number"?l=c:c==null&&(c=o[dSe],c!==void 0&&(l=c,r=s));o=void 0}else if(s>=0){var d=this.encodeTable[s>>8];if(d!==void 0&&(l=d[s&255]),l<=PA){o=this.encodeTableSeq[PA-l];continue}if(l==EC&&this.gb18030){var u=M6t(this.gb18030.uChars,s);if(u!=-1){var l=this.gb18030.gbChars[u]+(s-this.gb18030.uChars[u]);e[a++]=129+Math.floor(l/12600),l=l%12600,e[a++]=48+Math.floor(l/1260),l=l%1260,e[a++]=129+Math.floor(l/10),l=l%10,e[a++]=48+l;continue}}}l===EC&&(l=this.defaultCharSingleByte),l<256?e[a++]=l:l<65536?(e[a++]=l>>8,e[a++]=l&255):l<16777216?(e[a++]=l>>16,e[a++]=l>>8&255,e[a++]=l&255):(e[a++]=l>>>24,e[a++]=l>>>16&255,e[a++]=l>>>8&255,e[a++]=l&255)}return this.seqObj=o,this.leadSurrogate=i,e.slice(0,a)};dUe.prototype.end=function(){if(!(this.leadSurrogate===-1&&this.seqObj===void 0)){var t=T6t.alloc(10),e=0;if(this.seqObj){var i=this.seqObj[dSe];i!==void 0&&(i<256?t[e++]=i:(t[e++]=i>>8,t[e++]=i&255)),this.seqObj=void 0}return this.leadSurrogate!==-1&&(t[e++]=this.defaultCharSingleByte,this.leadSurrogate=-1),t.slice(0,e)}};dUe.prototype.findIdx=M6t;function S6t(t,e){this.nodeIdx=0,this.prevBytes=[],this.decodeTables=e.decodeTables,this.decodeTableSeq=e.decodeTableSeq,this.defaultCharUnicode=e.defaultCharUnicode,this.gb18030=e.gb18030}S6t.prototype.write=function(t){for(var e=T6t.alloc(t.length*2),i=this.nodeIdx,o=this.prevBytes,r=this.prevBytes.length,n=-this.prevBytes.length,a,s=0,l=0;s<t.length;s++){var c=s>=0?t[s]:o[s+r],a=this.decodeTables[i][c];if(!(a>=0))if(a===EC)a=this.defaultCharUnicode.charCodeAt(0),s=n;else if(a===ZEi){if(s>=3)var d=(t[s-3]-129)*12600+(t[s-2]-48)*1260+(t[s-1]-129)*10+(c-48);else var d=(o[s-3+r]-129)*12600+((s-2>=0?t[s-2]:o[s-2+r])-48)*1260+((s-1>=0?t[s-1]:o[s-1+r])-129)*10+(c-48);var u=M6t(this.gb18030.gbChars,d);a=this.gb18030.uChars[u]+d-this.gb18030.gbChars[u]}else if(a<=qS){i=qS-a;continue}else if(a<=PA){for(var p=this.decodeTableSeq[PA-a],m=0;m<p.length-1;m++)a=p[m],e[l++]=a&255,e[l++]=a>>8;a=p[p.length-1]}else throw new Error("iconv-lite internal error: invalid decoding table value "+a+" at "+i+"/"+c);if(a>=65536){a-=65536;var h=55296|a>>10;e[l++]=h&255,e[l++]=h>>8,a=56320|a&1023}e[l++]=a&255,e[l++]=a>>8,i=0,n=s+1}return this.nodeIdx=i,this.prevBytes=n>=0?Array.prototype.slice.call(t,n):o.slice(n+r).concat(Array.prototype.slice.call(t)),e.slice(0,l).toString("ucs2")};S6t.prototype.end=function(){for(var t="";this.prevBytes.length>0;){t+=this.defaultCharUnicode;var e=this.prevBytes.slice(1);this.prevBytes=[],this.nodeIdx=0,e.length>0&&(t+=this.write(e))}return this.prevBytes=[],this.nodeIdx=0,t};function M6t(t,e){if(t[0]>e)return-1;for(var i=0,o=t.length;i<o-1;){var r=i+(o-i+1>>1);t[r]<=e?i=r:o=r}return i}});var XEi=xe((oas,rCr)=>{rCr.exports=[["0","\0",128],["a1","\uFF61",62],["8140","\u3000\u3001\u3002\uFF0C\uFF0E\u30FB\uFF1A\uFF1B\uFF1F\uFF01\u309B\u309C\xB4\uFF40\xA8\uFF3E\uFFE3\uFF3F\u30FD\u30FE\u309D\u309E\u3003\u4EDD\u3005\u3006\u3007\u30FC\u2015\u2010\uFF0F\uFF3C\uFF5E\u2225\uFF5C\u2026\u2025\u2018\u2019\u201C\u201D\uFF08\uFF09\u3014\u3015\uFF3B\uFF3D\uFF5B\uFF5D\u3008",9,"\uFF0B\uFF0D\xB1\xD7"],["8180","\xF7\uFF1D\u2260\uFF1C\uFF1E\u2266\u2267\u221E\u2234\u2642\u2640\xB0\u2032\u2033\u2103\uFFE5\uFF04\uFFE0\uFFE1\uFF05\uFF03\uFF06\uFF0A\uFF20\xA7\u2606\u2605\u25CB\u25CF\u25CE\u25C7\u25C6\u25A1\u25A0\u25B3\u25B2\u25BD\u25BC\u203B\u3012\u2192\u2190\u2191\u2193\u3013"],["81b8","\u2208\u220B\u2286\u2287\u2282\u2283\u222A\u2229"],["81c8","\u2227\u2228\uFFE2\u21D2\u21D4\u2200\u2203"],["81da","\u2220\u22A5\u2312\u2202\u2207\u2261\u2252\u226A\u226B\u221A\u223D\u221D\u2235\u222B\u222C"],["81f0","\u212B\u2030\u266F\u266D\u266A\u2020\u2021\xB6"],["81fc","\u25EF"],["824f","\uFF10",9],["8260","\uFF21",25],["8281","\uFF41",25],["829f","\u3041",82],["8340","\u30A1",62],["8380","\u30E0",22],["839f","\u0391",16,"\u03A3",6],["83bf","\u03B1",16,"\u03C3",6],["8440","\u0410",5,"\u0401\u0416",25],["8470","\u0430",5,"\u0451\u0436",7],["8480","\u043E",17],["849f","\u2500\u2502\u250C\u2510\u2518\u2514\u251C\u252C\u2524\u2534\u253C\u2501\u2503\u250F\u2513\u251B\u2517\u2523\u2533\u252B\u253B\u254B\u2520\u252F\u2528\u2537\u253F\u251D\u2530\u2525\u2538\u2542"],["8740","\u2460",19,"\u2160",9],["875f","\u3349\u3314\u3322\u334D\u3318\u3327\u3303\u3336\u3351\u3357\u330D\u3326\u3323\u332B\u334A\u333B\u339C\u339D\u339E\u338E\u338F\u33C4\u33A1"],["877e","\u337B"],["8780","\u301D\u301F\u2116\u33CD\u2121\u32A4",4,"\u3231\u3232\u3239\u337E\u337D\u337C\u2252\u2261\u222B\u222E\u2211\u221A\u22A5\u2220\u221F\u22BF\u2235\u2229\u222A"],["889f","\u4E9C\u5516\u5A03\u963F\u54C0\u611B\u6328\u59F6\u9022\u8475\u831C\u7A50\u60AA\u63E1\u6E25\u65ED\u8466\u82A6\u9BF5\u6893\u5727\u65A1\u6271\u5B9B\u59D0\u867B\u98F4\u7D62\u7DBE\u9B8E\u6216\u7C9F\u88B7\u5B89\u5EB5\u6309\u6697\u6848\u95C7\u978D\u674F\u4EE5\u4F0A\u4F4D\u4F9D\u5049\u56F2\u5937\u59D4\u5A01\u5C09\u60DF\u610F\u6170\u6613\u6905\u70BA\u754F\u7570\u79FB\u7DAD\u7DEF\u80C3\u840E\u8863\u8B02\u9055\u907A\u533B\u4E95\u4EA5\u57DF\u80B2\u90C1\u78EF\u4E00\u58F1\u6EA2\u9038\u7A32\u8328\u828B\u9C2F\u5141\u5370\u54BD\u54E1\u56E0\u59FB\u5F15\u98F2\u6DEB\u80E4\u852D"],["8940","\u9662\u9670\u96A0\u97FB\u540B\u53F3\u5B87\u70CF\u7FBD\u8FC2\u96E8\u536F\u9D5C\u7ABA\u4E11\u7893\u81FC\u6E26\u5618\u5504\u6B1D\u851A\u9C3B\u59E5\u53A9\u6D66\u74DC\u958F\u5642\u4E91\u904B\u96F2\u834F\u990C\u53E1\u55B6\u5B30\u5F71\u6620\u66F3\u6804\u6C38\u6CF3\u6D29\u745B\u76C8\u7A4E\u9834\u82F1\u885B\u8A60\u92ED\u6DB2\u75AB\u76CA\u99C5\u60A6\u8B01\u8D8A\u95B2\u698E\u53AD\u5186"],["8980","\u5712\u5830\u5944\u5BB4\u5EF6\u6028\u63A9\u63F4\u6CBF\u6F14\u708E\u7114\u7159\u71D5\u733F\u7E01\u8276\u82D1\u8597\u9060\u925B\u9D1B\u5869\u65BC\u6C5A\u7525\u51F9\u592E\u5965\u5F80\u5FDC\u62BC\u65FA\u6A2A\u6B27\u6BB4\u738B\u7FC1\u8956\u9D2C\u9D0E\u9EC4\u5CA1\u6C96\u837B\u5104\u5C4B\u61B6\u81C6\u6876\u7261\u4E59\u4FFA\u5378\u6069\u6E29\u7A4F\u97F3\u4E0B\u5316\u4EEE\u4F55\u4F3D\u4FA1\u4F73\u52A0\u53EF\u5609\u590F\u5AC1\u5BB6\u5BE1\u79D1\u6687\u679C\u67B6\u6B4C\u6CB3\u706B\u73C2\u798D\u79BE\u7A3C\u7B87\u82B1\u82DB\u8304\u8377\u83EF\u83D3\u8766\u8AB2\u5629\u8CA8\u8FE6\u904E\u971E\u868A\u4FC4\u5CE8\u6211\u7259\u753B\u81E5\u82BD\u86FE\u8CC0\u96C5\u9913\u99D5\u4ECB\u4F1A\u89E3\u56DE\u584A\u58CA\u5EFB\u5FEB\u602A\u6094\u6062\u61D0\u6212\u62D0\u6539"],["8a40","\u9B41\u6666\u68B0\u6D77\u7070\u754C\u7686\u7D75\u82A5\u87F9\u958B\u968E\u8C9D\u51F1\u52BE\u5916\u54B3\u5BB3\u5D16\u6168\u6982\u6DAF\u788D\u84CB\u8857\u8A72\u93A7\u9AB8\u6D6C\u99A8\u86D9\u57A3\u67FF\u86CE\u920E\u5283\u5687\u5404\u5ED3\u62E1\u64B9\u683C\u6838\u6BBB\u7372\u78BA\u7A6B\u899A\u89D2\u8D6B\u8F03\u90ED\u95A3\u9694\u9769\u5B66\u5CB3\u697D\u984D\u984E\u639B\u7B20\u6A2B"],["8a80","\u6A7F\u68B6\u9C0D\u6F5F\u5272\u559D\u6070\u62EC\u6D3B\u6E07\u6ED1\u845B\u8910\u8F44\u4E14\u9C39\u53F6\u691B\u6A3A\u9784\u682A\u515C\u7AC3\u84B2\u91DC\u938C\u565B\u9D28\u6822\u8305\u8431\u7CA5\u5208\u82C5\u74E6\u4E7E\u4F83\u51A0\u5BD2\u520A\u52D8\u52E7\u5DFB\u559A\u582A\u59E6\u5B8C\u5B98\u5BDB\u5E72\u5E79\u60A3\u611F\u6163\u61BE\u63DB\u6562\u67D1\u6853\u68FA\u6B3E\u6B53\u6C57\u6F22\u6F97\u6F45\u74B0\u7518\u76E3\u770B\u7AFF\u7BA1\u7C21\u7DE9\u7F36\u7FF0\u809D\u8266\u839E\u89B3\u8ACC\u8CAB\u9084\u9451\u9593\u9591\u95A2\u9665\u97D3\u9928\u8218\u4E38\u542B\u5CB8\u5DCC\u73A9\u764C\u773C\u5CA9\u7FEB\u8D0B\u96C1\u9811\u9854\u9858\u4F01\u4F0E\u5371\u559C\u5668\u57FA\u5947\u5B09\u5BC4\u5C90\u5E0C\u5E7E\u5FCC\u63EE\u673A\u65D7\u65E2\u671F\u68CB\u68C4"],["8b40","\u6A5F\u5E30\u6BC5\u6C17\u6C7D\u757F\u7948\u5B63\u7A00\u7D00\u5FBD\u898F\u8A18\u8CB4\u8D77\u8ECC\u8F1D\u98E2\u9A0E\u9B3C\u4E80\u507D\u5100\u5993\u5B9C\u622F\u6280\u64EC\u6B3A\u72A0\u7591\u7947\u7FA9\u87FB\u8ABC\u8B70\u63AC\u83CA\u97A0\u5409\u5403\u55AB\u6854\u6A58\u8A70\u7827\u6775\u9ECD\u5374\u5BA2\u811A\u8650\u9006\u4E18\u4E45\u4EC7\u4F11\u53CA\u5438\u5BAE\u5F13\u6025\u6551"],["8b80","\u673D\u6C42\u6C72\u6CE3\u7078\u7403\u7A76\u7AAE\u7B08\u7D1A\u7CFE\u7D66\u65E7\u725B\u53BB\u5C45\u5DE8\u62D2\u62E0\u6319\u6E20\u865A\u8A31\u8DDD\u92F8\u6F01\u79A6\u9B5A\u4EA8\u4EAB\u4EAC\u4F9B\u4FA0\u50D1\u5147\u7AF6\u5171\u51F6\u5354\u5321\u537F\u53EB\u55AC\u5883\u5CE1\u5F37\u5F4A\u602F\u6050\u606D\u631F\u6559\u6A4B\u6CC1\u72C2\u72ED\u77EF\u80F8\u8105\u8208\u854E\u90F7\u93E1\u97FF\u9957\u9A5A\u4EF0\u51DD\u5C2D\u6681\u696D\u5C40\u66F2\u6975\u7389\u6850\u7C81\u50C5\u52E4\u5747\u5DFE\u9326\u65A4\u6B23\u6B3D\u7434\u7981\u79BD\u7B4B\u7DCA\u82B9\u83CC\u887F\u895F\u8B39\u8FD1\u91D1\u541F\u9280\u4E5D\u5036\u53E5\u533A\u72D7\u7396\u77E9\u82E6\u8EAF\u99C6\u99C8\u99D2\u5177\u611A\u865E\u55B0\u7A7A\u5076\u5BD3\u9047\u9685\u4E32\u6ADB\u91E7\u5C51\u5C48"],["8c40","\u6398\u7A9F\u6C93\u9774\u8F61\u7AAA\u718A\u9688\u7C82\u6817\u7E70\u6851\u936C\u52F2\u541B\u85AB\u8A13\u7FA4\u8ECD\u90E1\u5366\u8888\u7941\u4FC2\u50BE\u5211\u5144\u5553\u572D\u73EA\u578B\u5951\u5F62\u5F84\u6075\u6176\u6167\u61A9\u63B2\u643A\u656C\u666F\u6842\u6E13\u7566\u7A3D\u7CFB\u7D4C\u7D99\u7E4B\u7F6B\u830E\u834A\u86CD\u8A08\u8A63\u8B66\u8EFD\u981A\u9D8F\u82B8\u8FCE\u9BE8"],["8c80","\u5287\u621F\u6483\u6FC0\u9699\u6841\u5091\u6B20\u6C7A\u6F54\u7A74\u7D50\u8840\u8A23\u6708\u4EF6\u5039\u5026\u5065\u517C\u5238\u5263\u55A7\u570F\u5805\u5ACC\u5EFA\u61B2\u61F8\u62F3\u6372\u691C\u6A29\u727D\u72AC\u732E\u7814\u786F\u7D79\u770C\u80A9\u898B\u8B19\u8CE2\u8ED2\u9063\u9375\u967A\u9855\u9A13\u9E78\u5143\u539F\u53B3\u5E7B\u5F26\u6E1B\u6E90\u7384\u73FE\u7D43\u8237\u8A00\u8AFA\u9650\u4E4E\u500B\u53E4\u547C\u56FA\u59D1\u5B64\u5DF1\u5EAB\u5F27\u6238\u6545\u67AF\u6E56\u72D0\u7CCA\u88B4\u80A1\u80E1\u83F0\u864E\u8A87\u8DE8\u9237\u96C7\u9867\u9F13\u4E94\u4E92\u4F0D\u5348\u5449\u543E\u5A2F\u5F8C\u5FA1\u609F\u68A7\u6A8E\u745A\u7881\u8A9E\u8AA4\u8B77\u9190\u4E5E\u9BC9\u4EA4\u4F7C\u4FAF\u5019\u5016\u5149\u516C\u529F\u52B9\u52FE\u539A\u53E3\u5411"],["8d40","\u540E\u5589\u5751\u57A2\u597D\u5B54\u5B5D\u5B8F\u5DE5\u5DE7\u5DF7\u5E78\u5E83\u5E9A\u5EB7\u5F18\u6052\u614C\u6297\u62D8\u63A7\u653B\u6602\u6643\u66F4\u676D\u6821\u6897\u69CB\u6C5F\u6D2A\u6D69\u6E2F\u6E9D\u7532\u7687\u786C\u7A3F\u7CE0\u7D05\u7D18\u7D5E\u7DB1\u8015\u8003\u80AF\u80B1\u8154\u818F\u822A\u8352\u884C\u8861\u8B1B\u8CA2\u8CFC\u90CA\u9175\u9271\u783F\u92FC\u95A4\u964D"],["8d80","\u9805\u9999\u9AD8\u9D3B\u525B\u52AB\u53F7\u5408\u58D5\u62F7\u6FE0\u8C6A\u8F5F\u9EB9\u514B\u523B\u544A\u56FD\u7A40\u9177\u9D60\u9ED2\u7344\u6F09\u8170\u7511\u5FFD\u60DA\u9AA8\u72DB\u8FBC\u6B64\u9803\u4ECA\u56F0\u5764\u58BE\u5A5A\u6068\u61C7\u660F\u6606\u6839\u68B1\u6DF7\u75D5\u7D3A\u826E\u9B42\u4E9B\u4F50\u53C9\u5506\u5D6F\u5DE6\u5DEE\u67FB\u6C99\u7473\u7802\u8A50\u9396\u88DF\u5750\u5EA7\u632B\u50B5\u50AC\u518D\u6700\u54C9\u585E\u59BB\u5BB0\u5F69\u624D\u63A1\u683D\u6B73\u6E08\u707D\u91C7\u7280\u7815\u7826\u796D\u658E\u7D30\u83DC\u88C1\u8F09\u969B\u5264\u5728\u6750\u7F6A\u8CA1\u51B4\u5742\u962A\u583A\u698A\u80B4\u54B2\u5D0E\u57FC\u7895\u9DFA\u4F5C\u524A\u548B\u643E\u6628\u6714\u67F5\u7A84\u7B56\u7D22\u932F\u685C\u9BAD\u7B39\u5319\u518A\u5237"],["8e40","\u5BDF\u62F6\u64AE\u64E6\u672D\u6BBA\u85A9\u96D1\u7690\u9BD6\u634C\u9306\u9BAB\u76BF\u6652\u4E09\u5098\u53C2\u5C71\u60E8\u6492\u6563\u685F\u71E6\u73CA\u7523\u7B97\u7E82\u8695\u8B83\u8CDB\u9178\u9910\u65AC\u66AB\u6B8B\u4ED5\u4ED4\u4F3A\u4F7F\u523A\u53F8\u53F2\u55E3\u56DB\u58EB\u59CB\u59C9\u59FF\u5B50\u5C4D\u5E02\u5E2B\u5FD7\u601D\u6307\u652F\u5B5C\u65AF\u65BD\u65E8\u679D\u6B62"],["8e80","\u6B7B\u6C0F\u7345\u7949\u79C1\u7CF8\u7D19\u7D2B\u80A2\u8102\u81F3\u8996\u8A5E\u8A69\u8A66\u8A8C\u8AEE\u8CC7\u8CDC\u96CC\u98FC\u6B6F\u4E8B\u4F3C\u4F8D\u5150\u5B57\u5BFA\u6148\u6301\u6642\u6B21\u6ECB\u6CBB\u723E\u74BD\u75D4\u78C1\u793A\u800C\u8033\u81EA\u8494\u8F9E\u6C50\u9E7F\u5F0F\u8B58\u9D2B\u7AFA\u8EF8\u5B8D\u96EB\u4E03\u53F1\u57F7\u5931\u5AC9\u5BA4\u6089\u6E7F\u6F06\u75BE\u8CEA\u5B9F\u8500\u7BE0\u5072\u67F4\u829D\u5C61\u854A\u7E1E\u820E\u5199\u5C04\u6368\u8D66\u659C\u716E\u793E\u7D17\u8005\u8B1D\u8ECA\u906E\u86C7\u90AA\u501F\u52FA\u5C3A\u6753\u707C\u7235\u914C\u91C8\u932B\u82E5\u5BC2\u5F31\u60F9\u4E3B\u53D6\u5B88\u624B\u6731\u6B8A\u72E9\u73E0\u7A2E\u816B\u8DA3\u9152\u9996\u5112\u53D7\u546A\u5BFF\u6388\u6A39\u7DAC\u9700\u56DA\u53CE\u5468"],["8f40","\u5B97\u5C31\u5DDE\u4FEE\u6101\u62FE\u6D32\u79C0\u79CB\u7D42\u7E4D\u7FD2\u81ED\u821F\u8490\u8846\u8972\u8B90\u8E74\u8F2F\u9031\u914B\u916C\u96C6\u919C\u4EC0\u4F4F\u5145\u5341\u5F93\u620E\u67D4\u6C41\u6E0B\u7363\u7E26\u91CD\u9283\u53D4\u5919\u5BBF\u6DD1\u795D\u7E2E\u7C9B\u587E\u719F\u51FA\u8853\u8FF0\u4FCA\u5CFB\u6625\u77AC\u7AE3\u821C\u99FF\u51C6\u5FAA\u65EC\u696F\u6B89\u6DF3"],["8f80","\u6E96\u6F64\u76FE\u7D14\u5DE1\u9075\u9187\u9806\u51E6\u521D\u6240\u6691\u66D9\u6E1A\u5EB6\u7DD2\u7F72\u66F8\u85AF\u85F7\u8AF8\u52A9\u53D9\u5973\u5E8F\u5F90\u6055\u92E4\u9664\u50B7\u511F\u52DD\u5320\u5347\u53EC\u54E8\u5546\u5531\u5617\u5968\u59BE\u5A3C\u5BB5\u5C06\u5C0F\u5C11\u5C1A\u5E84\u5E8A\u5EE0\u5F70\u627F\u6284\u62DB\u638C\u6377\u6607\u660C\u662D\u6676\u677E\u68A2\u6A1F\u6A35\u6CBC\u6D88\u6E09\u6E58\u713C\u7126\u7167\u75C7\u7701\u785D\u7901\u7965\u79F0\u7AE0\u7B11\u7CA7\u7D39\u8096\u83D6\u848B\u8549\u885D\u88F3\u8A1F\u8A3C\u8A54\u8A73\u8C61\u8CDE\u91A4\u9266\u937E\u9418\u969C\u9798\u4E0A\u4E08\u4E1E\u4E57\u5197\u5270\u57CE\u5834\u58CC\u5B22\u5E38\u60C5\u64FE\u6761\u6756\u6D44\u72B6\u7573\u7A63\u84B8\u8B72\u91B8\u9320\u5631\u57F4\u98FE"],["9040","\u62ED\u690D\u6B96\u71ED\u7E54\u8077\u8272\u89E6\u98DF\u8755\u8FB1\u5C3B\u4F38\u4FE1\u4FB5\u5507\u5A20\u5BDD\u5BE9\u5FC3\u614E\u632F\u65B0\u664B\u68EE\u699B\u6D78\u6DF1\u7533\u75B9\u771F\u795E\u79E6\u7D33\u81E3\u82AF\u85AA\u89AA\u8A3A\u8EAB\u8F9B\u9032\u91DD\u9707\u4EBA\u4EC1\u5203\u5875\u58EC\u5C0B\u751A\u5C3D\u814E\u8A0A\u8FC5\u9663\u976D\u7B25\u8ACF\u9808\u9162\u56F3\u53A8"],["9080","\u9017\u5439\u5782\u5E25\u63A8\u6C34\u708A\u7761\u7C8B\u7FE0\u8870\u9042\u9154\u9310\u9318\u968F\u745E\u9AC4\u5D07\u5D69\u6570\u67A2\u8DA8\u96DB\u636E\u6749\u6919\u83C5\u9817\u96C0\u88FE\u6F84\u647A\u5BF8\u4E16\u702C\u755D\u662F\u51C4\u5236\u52E2\u59D3\u5F81\u6027\u6210\u653F\u6574\u661F\u6674\u68F2\u6816\u6B63\u6E05\u7272\u751F\u76DB\u7CBE\u8056\u58F0\u88FD\u897F\u8AA0\u8A93\u8ACB\u901D\u9192\u9752\u9759\u6589\u7A0E\u8106\u96BB\u5E2D\u60DC\u621A\u65A5\u6614\u6790\u77F3\u7A4D\u7C4D\u7E3E\u810A\u8CAC\u8D64\u8DE1\u8E5F\u78A9\u5207\u62D9\u63A5\u6442\u6298\u8A2D\u7A83\u7BC0\u8AAC\u96EA\u7D76\u820C\u8749\u4ED9\u5148\u5343\u5360\u5BA3\u5C02\u5C16\u5DDD\u6226\u6247\u64B0\u6813\u6834\u6CC9\u6D45\u6D17\u67D3\u6F5C\u714E\u717D\u65CB\u7A7F\u7BAD\u7DDA"],["9140","\u7E4A\u7FA8\u817A\u821B\u8239\u85A6\u8A6E\u8CCE\u8DF5\u9078\u9077\u92AD\u9291\u9583\u9BAE\u524D\u5584\u6F38\u7136\u5168\u7985\u7E55\u81B3\u7CCE\u564C\u5851\u5CA8\u63AA\u66FE\u66FD\u695A\u72D9\u758F\u758E\u790E\u7956\u79DF\u7C97\u7D20\u7D44\u8607\u8A34\u963B\u9061\u9F20\u50E7\u5275\u53CC\u53E2\u5009\u55AA\u58EE\u594F\u723D\u5B8B\u5C64\u531D\u60E3\u60F3\u635C\u6383\u633F\u63BB"],["9180","\u64CD\u65E9\u66F9\u5DE3\u69CD\u69FD\u6F15\u71E5\u4E89\u75E9\u76F8\u7A93\u7CDF\u7DCF\u7D9C\u8061\u8349\u8358\u846C\u84BC\u85FB\u88C5\u8D70\u9001\u906D\u9397\u971C\u9A12\u50CF\u5897\u618E\u81D3\u8535\u8D08\u9020\u4FC3\u5074\u5247\u5373\u606F\u6349\u675F\u6E2C\u8DB3\u901F\u4FD7\u5C5E\u8CCA\u65CF\u7D9A\u5352\u8896\u5176\u63C3\u5B58\u5B6B\u5C0A\u640D\u6751\u905C\u4ED6\u591A\u592A\u6C70\u8A51\u553E\u5815\u59A5\u60F0\u6253\u67C1\u8235\u6955\u9640\u99C4\u9A28\u4F53\u5806\u5BFE\u8010\u5CB1\u5E2F\u5F85\u6020\u614B\u6234\u66FF\u6CF0\u6EDE\u80CE\u817F\u82D4\u888B\u8CB8\u9000\u902E\u968A\u9EDB\u9BDB\u4EE3\u53F0\u5927\u7B2C\u918D\u984C\u9DF9\u6EDD\u7027\u5353\u5544\u5B85\u6258\u629E\u62D3\u6CA2\u6FEF\u7422\u8A17\u9438\u6FC1\u8AFE\u8338\u51E7\u86F8\u53EA"],["9240","\u53E9\u4F46\u9054\u8FB0\u596A\u8131\u5DFD\u7AEA\u8FBF\u68DA\u8C37\u72F8\u9C48\u6A3D\u8AB0\u4E39\u5358\u5606\u5766\u62C5\u63A2\u65E6\u6B4E\u6DE1\u6E5B\u70AD\u77ED\u7AEF\u7BAA\u7DBB\u803D\u80C6\u86CB\u8A95\u935B\u56E3\u58C7\u5F3E\u65AD\u6696\u6A80\u6BB5\u7537\u8AC7\u5024\u77E5\u5730\u5F1B\u6065\u667A\u6C60\u75F4\u7A1A\u7F6E\u81F4\u8718\u9045\u99B3\u7BC9\u755C\u7AF9\u7B51\u84C4"],["9280","\u9010\u79E9\u7A92\u8336\u5AE1\u7740\u4E2D\u4EF2\u5B99\u5FE0\u62BD\u663C\u67F1\u6CE8\u866B\u8877\u8A3B\u914E\u92F3\u99D0\u6A17\u7026\u732A\u82E7\u8457\u8CAF\u4E01\u5146\u51CB\u558B\u5BF5\u5E16\u5E33\u5E81\u5F14\u5F35\u5F6B\u5FB4\u61F2\u6311\u66A2\u671D\u6F6E\u7252\u753A\u773A\u8074\u8139\u8178\u8776\u8ABF\u8ADC\u8D85\u8DF3\u929A\u9577\u9802\u9CE5\u52C5\u6357\u76F4\u6715\u6C88\u73CD\u8CC3\u93AE\u9673\u6D25\u589C\u690E\u69CC\u8FFD\u939A\u75DB\u901A\u585A\u6802\u63B4\u69FB\u4F43\u6F2C\u67D8\u8FBB\u8526\u7DB4\u9354\u693F\u6F70\u576A\u58F7\u5B2C\u7D2C\u722A\u540A\u91E3\u9DB4\u4EAD\u4F4E\u505C\u5075\u5243\u8C9E\u5448\u5824\u5B9A\u5E1D\u5E95\u5EAD\u5EF7\u5F1F\u608C\u62B5\u633A\u63D0\u68AF\u6C40\u7887\u798E\u7A0B\u7DE0\u8247\u8A02\u8AE6\u8E44\u9013"],["9340","\u90B8\u912D\u91D8\u9F0E\u6CE5\u6458\u64E2\u6575\u6EF4\u7684\u7B1B\u9069\u93D1\u6EBA\u54F2\u5FB9\u64A4\u8F4D\u8FED\u9244\u5178\u586B\u5929\u5C55\u5E97\u6DFB\u7E8F\u751C\u8CBC\u8EE2\u985B\u70B9\u4F1D\u6BBF\u6FB1\u7530\u96FB\u514E\u5410\u5835\u5857\u59AC\u5C60\u5F92\u6597\u675C\u6E21\u767B\u83DF\u8CED\u9014\u90FD\u934D\u7825\u783A\u52AA\u5EA6\u571F\u5974\u6012\u5012\u515A\u51AC"],["9380","\u51CD\u5200\u5510\u5854\u5858\u5957\u5B95\u5CF6\u5D8B\u60BC\u6295\u642D\u6771\u6843\u68BC\u68DF\u76D7\u6DD8\u6E6F\u6D9B\u706F\u71C8\u5F53\u75D8\u7977\u7B49\u7B54\u7B52\u7CD6\u7D71\u5230\u8463\u8569\u85E4\u8A0E\u8B04\u8C46\u8E0F\u9003\u900F\u9419\u9676\u982D\u9A30\u95D8\u50CD\u52D5\u540C\u5802\u5C0E\u61A7\u649E\u6D1E\u77B3\u7AE5\u80F4\u8404\u9053\u9285\u5CE0\u9D07\u533F\u5F97\u5FB3\u6D9C\u7279\u7763\u79BF\u7BE4\u6BD2\u72EC\u8AAD\u6803\u6A61\u51F8\u7A81\u6934\u5C4A\u9CF6\u82EB\u5BC5\u9149\u701E\u5678\u5C6F\u60C7\u6566\u6C8C\u8C5A\u9041\u9813\u5451\u66C7\u920D\u5948\u90A3\u5185\u4E4D\u51EA\u8599\u8B0E\u7058\u637A\u934B\u6962\u99B4\u7E04\u7577\u5357\u6960\u8EDF\u96E3\u6C5D\u4E8C\u5C3C\u5F10\u8FE9\u5302\u8CD1\u8089\u8679\u5EFF\u65E5\u4E73\u5165"],["9440","\u5982\u5C3F\u97EE\u4EFB\u598A\u5FCD\u8A8D\u6FE1\u79B0\u7962\u5BE7\u8471\u732B\u71B1\u5E74\u5FF5\u637B\u649A\u71C3\u7C98\u4E43\u5EFC\u4E4B\u57DC\u56A2\u60A9\u6FC3\u7D0D\u80FD\u8133\u81BF\u8FB2\u8997\u86A4\u5DF4\u628A\u64AD\u8987\u6777\u6CE2\u6D3E\u7436\u7834\u5A46\u7F75\u82AD\u99AC\u4FF3\u5EC3\u62DD\u6392\u6557\u676F\u76C3\u724C\u80CC\u80BA\u8F29\u914D\u500D\u57F9\u5A92\u6885"],["9480","\u6973\u7164\u72FD\u8CB7\u58F2\u8CE0\u966A\u9019\u877F\u79E4\u77E7\u8429\u4F2F\u5265\u535A\u62CD\u67CF\u6CCA\u767D\u7B94\u7C95\u8236\u8584\u8FEB\u66DD\u6F20\u7206\u7E1B\u83AB\u99C1\u9EA6\u51FD\u7BB1\u7872\u7BB8\u8087\u7B48\u6AE8\u5E61\u808C\u7551\u7560\u516B\u9262\u6E8C\u767A\u9197\u9AEA\u4F10\u7F70\u629C\u7B4F\u95A5\u9CE9\u567A\u5859\u86E4\u96BC\u4F34\u5224\u534A\u53CD\u53DB\u5E06\u642C\u6591\u677F\u6C3E\u6C4E\u7248\u72AF\u73ED\u7554\u7E41\u822C\u85E9\u8CA9\u7BC4\u91C6\u7169\u9812\u98EF\u633D\u6669\u756A\u76E4\u78D0\u8543\u86EE\u532A\u5351\u5426\u5983\u5E87\u5F7C\u60B2\u6249\u6279\u62AB\u6590\u6BD4\u6CCC\u75B2\u76AE\u7891\u79D8\u7DCB\u7F77\u80A5\u88AB\u8AB9\u8CBB\u907F\u975E\u98DB\u6A0B\u7C38\u5099\u5C3E\u5FAE\u6787\u6BD8\u7435\u7709\u7F8E"],["9540","\u9F3B\u67CA\u7A17\u5339\u758B\u9AED\u5F66\u819D\u83F1\u8098\u5F3C\u5FC5\u7562\u7B46\u903C\u6867\u59EB\u5A9B\u7D10\u767E\u8B2C\u4FF5\u5F6A\u6A19\u6C37\u6F02\u74E2\u7968\u8868\u8A55\u8C79\u5EDF\u63CF\u75C5\u79D2\u82D7\u9328\u92F2\u849C\u86ED\u9C2D\u54C1\u5F6C\u658C\u6D5C\u7015\u8CA7\u8CD3\u983B\u654F\u74F6\u4E0D\u4ED8\u57E0\u592B\u5A66\u5BCC\u51A8\u5E03\u5E9C\u6016\u6276\u6577"],["9580","\u65A7\u666E\u6D6E\u7236\u7B26\u8150\u819A\u8299\u8B5C\u8CA0\u8CE6\u8D74\u961C\u9644\u4FAE\u64AB\u6B66\u821E\u8461\u856A\u90E8\u5C01\u6953\u98A8\u847A\u8557\u4F0F\u526F\u5FA9\u5E45\u670D\u798F\u8179\u8907\u8986\u6DF5\u5F17\u6255\u6CB8\u4ECF\u7269\u9B92\u5206\u543B\u5674\u58B3\u61A4\u626E\u711A\u596E\u7C89\u7CDE\u7D1B\u96F0\u6587\u805E\u4E19\u4F75\u5175\u5840\u5E63\u5E73\u5F0A\u67C4\u4E26\u853D\u9589\u965B\u7C73\u9801\u50FB\u58C1\u7656\u78A7\u5225\u77A5\u8511\u7B86\u504F\u5909\u7247\u7BC7\u7DE8\u8FBA\u8FD4\u904D\u4FBF\u52C9\u5A29\u5F01\u97AD\u4FDD\u8217\u92EA\u5703\u6355\u6B69\u752B\u88DC\u8F14\u7A42\u52DF\u5893\u6155\u620A\u66AE\u6BCD\u7C3F\u83E9\u5023\u4FF8\u5305\u5446\u5831\u5949\u5B9D\u5CF0\u5CEF\u5D29\u5E96\u62B1\u6367\u653E\u65B9\u670B"],["9640","\u6CD5\u6CE1\u70F9\u7832\u7E2B\u80DE\u82B3\u840C\u84EC\u8702\u8912\u8A2A\u8C4A\u90A6\u92D2\u98FD\u9CF3\u9D6C\u4E4F\u4EA1\u508D\u5256\u574A\u59A8\u5E3D\u5FD8\u5FD9\u623F\u66B4\u671B\u67D0\u68D2\u5192\u7D21\u80AA\u81A8\u8B00\u8C8C\u8CBF\u927E\u9632\u5420\u982C\u5317\u50D5\u535C\u58A8\u64B2\u6734\u7267\u7766\u7A46\u91E6\u52C3\u6CA1\u6B86\u5800\u5E4C\u5954\u672C\u7FFB\u51E1\u76C6"],["9680","\u6469\u78E8\u9B54\u9EBB\u57CB\u59B9\u6627\u679A\u6BCE\u54E9\u69D9\u5E55\u819C\u6795\u9BAA\u67FE\u9C52\u685D\u4EA6\u4FE3\u53C8\u62B9\u672B\u6CAB\u8FC4\u4FAD\u7E6D\u9EBF\u4E07\u6162\u6E80\u6F2B\u8513\u5473\u672A\u9B45\u5DF3\u7B95\u5CAC\u5BC6\u871C\u6E4A\u84D1\u7A14\u8108\u5999\u7C8D\u6C11\u7720\u52D9\u5922\u7121\u725F\u77DB\u9727\u9D61\u690B\u5A7F\u5A18\u51A5\u540D\u547D\u660E\u76DF\u8FF7\u9298\u9CF4\u59EA\u725D\u6EC5\u514D\u68C9\u7DBF\u7DEC\u9762\u9EBA\u6478\u6A21\u8302\u5984\u5B5F\u6BDB\u731B\u76F2\u7DB2\u8017\u8499\u5132\u6728\u9ED9\u76EE\u6762\u52FF\u9905\u5C24\u623B\u7C7E\u8CB0\u554F\u60B6\u7D0B\u9580\u5301\u4E5F\u51B6\u591C\u723A\u8036\u91CE\u5F25\u77E2\u5384\u5F79\u7D04\u85AC\u8A33\u8E8D\u9756\u67F3\u85AE\u9453\u6109\u6108\u6CB9\u7652"],["9740","\u8AED\u8F38\u552F\u4F51\u512A\u52C7\u53CB\u5BA5\u5E7D\u60A0\u6182\u63D6\u6709\u67DA\u6E67\u6D8C\u7336\u7337\u7531\u7950\u88D5\u8A98\u904A\u9091\u90F5\u96C4\u878D\u5915\u4E88\u4F59\u4E0E\u8A89\u8F3F\u9810\u50AD\u5E7C\u5996\u5BB9\u5EB8\u63DA\u63FA\u64C1\u66DC\u694A\u69D8\u6D0B\u6EB6\u7194\u7528\u7AAF\u7F8A\u8000\u8449\u84C9\u8981\u8B21\u8E0A\u9065\u967D\u990A\u617E\u6291\u6B32"],["9780","\u6C83\u6D74\u7FCC\u7FFC\u6DC0\u7F85\u87BA\u88F8\u6765\u83B1\u983C\u96F7\u6D1B\u7D61\u843D\u916A\u4E71\u5375\u5D50\u6B04\u6FEB\u85CD\u862D\u89A7\u5229\u540F\u5C65\u674E\u68A8\u7406\u7483\u75E2\u88CF\u88E1\u91CC\u96E2\u9678\u5F8B\u7387\u7ACB\u844E\u63A0\u7565\u5289\u6D41\u6E9C\u7409\u7559\u786B\u7C92\u9686\u7ADC\u9F8D\u4FB6\u616E\u65C5\u865C\u4E86\u4EAE\u50DA\u4E21\u51CC\u5BEE\u6599\u6881\u6DBC\u731F\u7642\u77AD\u7A1C\u7CE7\u826F\u8AD2\u907C\u91CF\u9675\u9818\u529B\u7DD1\u502B\u5398\u6797\u6DCB\u71D0\u7433\u81E8\u8F2A\u96A3\u9C57\u9E9F\u7460\u5841\u6D99\u7D2F\u985E\u4EE4\u4F36\u4F8B\u51B7\u52B1\u5DBA\u601C\u73B2\u793C\u82D3\u9234\u96B7\u96F6\u970A\u9E97\u9F62\u66A6\u6B74\u5217\u52A3\u70C8\u88C2\u5EC9\u604B\u6190\u6F23\u7149\u7C3E\u7DF4\u806F"],["9840","\u84EE\u9023\u932C\u5442\u9B6F\u6AD3\u7089\u8CC2\u8DEF\u9732\u52B4\u5A41\u5ECA\u5F04\u6717\u697C\u6994\u6D6A\u6F0F\u7262\u72FC\u7BED\u8001\u807E\u874B\u90CE\u516D\u9E93\u7984\u808B\u9332\u8AD6\u502D\u548C\u8A71\u6B6A\u8CC4\u8107\u60D1\u67A0\u9DF2\u4E99\u4E98\u9C10\u8A6B\u85C1\u8568\u6900\u6E7E\u7897\u8155"],["989f","\u5F0C\u4E10\u4E15\u4E2A\u4E31\u4E36\u4E3C\u4E3F\u4E42\u4E56\u4E58\u4E82\u4E85\u8C6B\u4E8A\u8212\u5F0D\u4E8E\u4E9E\u4E9F\u4EA0\u4EA2\u4EB0\u4EB3\u4EB6\u4ECE\u4ECD\u4EC4\u4EC6\u4EC2\u4ED7\u4EDE\u4EED\u4EDF\u4EF7\u4F09\u4F5A\u4F30\u4F5B\u4F5D\u4F57\u4F47\u4F76\u4F88\u4F8F\u4F98\u4F7B\u4F69\u4F70\u4F91\u4F6F\u4F86\u4F96\u5118\u4FD4\u4FDF\u4FCE\u4FD8\u4FDB\u4FD1\u4FDA\u4FD0\u4FE4\u4FE5\u501A\u5028\u5014\u502A\u5025\u5005\u4F1C\u4FF6\u5021\u5029\u502C\u4FFE\u4FEF\u5011\u5006\u5043\u5047\u6703\u5055\u5050\u5048\u505A\u5056\u506C\u5078\u5080\u509A\u5085\u50B4\u50B2"],["9940","\u50C9\u50CA\u50B3\u50C2\u50D6\u50DE\u50E5\u50ED\u50E3\u50EE\u50F9\u50F5\u5109\u5101\u5102\u5116\u5115\u5114\u511A\u5121\u513A\u5137\u513C\u513B\u513F\u5140\u5152\u514C\u5154\u5162\u7AF8\u5169\u516A\u516E\u5180\u5182\u56D8\u518C\u5189\u518F\u5191\u5193\u5195\u5196\u51A4\u51A6\u51A2\u51A9\u51AA\u51AB\u51B3\u51B1\u51B2\u51B0\u51B5\u51BD\u51C5\u51C9\u51DB\u51E0\u8655\u51E9\u51ED"],["9980","\u51F0\u51F5\u51FE\u5204\u520B\u5214\u520E\u5227\u522A\u522E\u5233\u5239\u524F\u5244\u524B\u524C\u525E\u5254\u526A\u5274\u5269\u5273\u527F\u527D\u528D\u5294\u5292\u5271\u5288\u5291\u8FA8\u8FA7\u52AC\u52AD\u52BC\u52B5\u52C1\u52CD\u52D7\u52DE\u52E3\u52E6\u98ED\u52E0\u52F3\u52F5\u52F8\u52F9\u5306\u5308\u7538\u530D\u5310\u530F\u5315\u531A\u5323\u532F\u5331\u5333\u5338\u5340\u5346\u5345\u4E17\u5349\u534D\u51D6\u535E\u5369\u536E\u5918\u537B\u5377\u5382\u5396\u53A0\u53A6\u53A5\u53AE\u53B0\u53B6\u53C3\u7C12\u96D9\u53DF\u66FC\u71EE\u53EE\u53E8\u53ED\u53FA\u5401\u543D\u5440\u542C\u542D\u543C\u542E\u5436\u5429\u541D\u544E\u548F\u5475\u548E\u545F\u5471\u5477\u5470\u5492\u547B\u5480\u5476\u5484\u5490\u5486\u54C7\u54A2\u54B8\u54A5\u54AC\u54C4\u54C8\u54A8"],["9a40","\u54AB\u54C2\u54A4\u54BE\u54BC\u54D8\u54E5\u54E6\u550F\u5514\u54FD\u54EE\u54ED\u54FA\u54E2\u5539\u5540\u5563\u554C\u552E\u555C\u5545\u5556\u5557\u5538\u5533\u555D\u5599\u5580\u54AF\u558A\u559F\u557B\u557E\u5598\u559E\u55AE\u557C\u5583\u55A9\u5587\u55A8\u55DA\u55C5\u55DF\u55C4\u55DC\u55E4\u55D4\u5614\u55F7\u5616\u55FE\u55FD\u561B\u55F9\u564E\u5650\u71DF\u5634\u5636\u5632\u5638"],["9a80","\u566B\u5664\u562F\u566C\u566A\u5686\u5680\u568A\u56A0\u5694\u568F\u56A5\u56AE\u56B6\u56B4\u56C2\u56BC\u56C1\u56C3\u56C0\u56C8\u56CE\u56D1\u56D3\u56D7\u56EE\u56F9\u5700\u56FF\u5704\u5709\u5708\u570B\u570D\u5713\u5718\u5716\u55C7\u571C\u5726\u5737\u5738\u574E\u573B\u5740\u574F\u5769\u57C0\u5788\u5761\u577F\u5789\u5793\u57A0\u57B3\u57A4\u57AA\u57B0\u57C3\u57C6\u57D4\u57D2\u57D3\u580A\u57D6\u57E3\u580B\u5819\u581D\u5872\u5821\u5862\u584B\u5870\u6BC0\u5852\u583D\u5879\u5885\u58B9\u589F\u58AB\u58BA\u58DE\u58BB\u58B8\u58AE\u58C5\u58D3\u58D1\u58D7\u58D9\u58D8\u58E5\u58DC\u58E4\u58DF\u58EF\u58FA\u58F9\u58FB\u58FC\u58FD\u5902\u590A\u5910\u591B\u68A6\u5925\u592C\u592D\u5932\u5938\u593E\u7AD2\u5955\u5950\u594E\u595A\u5958\u5962\u5960\u5967\u596C\u5969"],["9b40","\u5978\u5981\u599D\u4F5E\u4FAB\u59A3\u59B2\u59C6\u59E8\u59DC\u598D\u59D9\u59DA\u5A25\u5A1F\u5A11\u5A1C\u5A09\u5A1A\u5A40\u5A6C\u5A49\u5A35\u5A36\u5A62\u5A6A\u5A9A\u5ABC\u5ABE\u5ACB\u5AC2\u5ABD\u5AE3\u5AD7\u5AE6\u5AE9\u5AD6\u5AFA\u5AFB\u5B0C\u5B0B\u5B16\u5B32\u5AD0\u5B2A\u5B36\u5B3E\u5B43\u5B45\u5B40\u5B51\u5B55\u5B5A\u5B5B\u5B65\u5B69\u5B70\u5B73\u5B75\u5B78\u6588\u5B7A\u5B80"],["9b80","\u5B83\u5BA6\u5BB8\u5BC3\u5BC7\u5BC9\u5BD4\u5BD0\u5BE4\u5BE6\u5BE2\u5BDE\u5BE5\u5BEB\u5BF0\u5BF6\u5BF3\u5C05\u5C07\u5C08\u5C0D\u5C13\u5C20\u5C22\u5C28\u5C38\u5C39\u5C41\u5C46\u5C4E\u5C53\u5C50\u5C4F\u5B71\u5C6C\u5C6E\u4E62\u5C76\u5C79\u5C8C\u5C91\u5C94\u599B\u5CAB\u5CBB\u5CB6\u5CBC\u5CB7\u5CC5\u5CBE\u5CC7\u5CD9\u5CE9\u5CFD\u5CFA\u5CED\u5D8C\u5CEA\u5D0B\u5D15\u5D17\u5D5C\u5D1F\u5D1B\u5D11\u5D14\u5D22\u5D1A\u5D19\u5D18\u5D4C\u5D52\u5D4E\u5D4B\u5D6C\u5D73\u5D76\u5D87\u5D84\u5D82\u5DA2\u5D9D\u5DAC\u5DAE\u5DBD\u5D90\u5DB7\u5DBC\u5DC9\u5DCD\u5DD3\u5DD2\u5DD6\u5DDB\u5DEB\u5DF2\u5DF5\u5E0B\u5E1A\u5E19\u5E11\u5E1B\u5E36\u5E37\u5E44\u5E43\u5E40\u5E4E\u5E57\u5E54\u5E5F\u5E62\u5E64\u5E47\u5E75\u5E76\u5E7A\u9EBC\u5E7F\u5EA0\u5EC1\u5EC2\u5EC8\u5ED0\u5ECF"],["9c40","\u5ED6\u5EE3\u5EDD\u5EDA\u5EDB\u5EE2\u5EE1\u5EE8\u5EE9\u5EEC\u5EF1\u5EF3\u5EF0\u5EF4\u5EF8\u5EFE\u5F03\u5F09\u5F5D\u5F5C\u5F0B\u5F11\u5F16\u5F29\u5F2D\u5F38\u5F41\u5F48\u5F4C\u5F4E\u5F2F\u5F51\u5F56\u5F57\u5F59\u5F61\u5F6D\u5F73\u5F77\u5F83\u5F82\u5F7F\u5F8A\u5F88\u5F91\u5F87\u5F9E\u5F99\u5F98\u5FA0\u5FA8\u5FAD\u5FBC\u5FD6\u5FFB\u5FE4\u5FF8\u5FF1\u5FDD\u60B3\u5FFF\u6021\u6060"],["9c80","\u6019\u6010\u6029\u600E\u6031\u601B\u6015\u602B\u6026\u600F\u603A\u605A\u6041\u606A\u6077\u605F\u604A\u6046\u604D\u6063\u6043\u6064\u6042\u606C\u606B\u6059\u6081\u608D\u60E7\u6083\u609A\u6084\u609B\u6096\u6097\u6092\u60A7\u608B\u60E1\u60B8\u60E0\u60D3\u60B4\u5FF0\u60BD\u60C6\u60B5\u60D8\u614D\u6115\u6106\u60F6\u60F7\u6100\u60F4\u60FA\u6103\u6121\u60FB\u60F1\u610D\u610E\u6147\u613E\u6128\u6127\u614A\u613F\u613C\u612C\u6134\u613D\u6142\u6144\u6173\u6177\u6158\u6159\u615A\u616B\u6174\u616F\u6165\u6171\u615F\u615D\u6153\u6175\u6199\u6196\u6187\u61AC\u6194\u619A\u618A\u6191\u61AB\u61AE\u61CC\u61CA\u61C9\u61F7\u61C8\u61C3\u61C6\u61BA\u61CB\u7F79\u61CD\u61E6\u61E3\u61F6\u61FA\u61F4\u61FF\u61FD\u61FC\u61FE\u6200\u6208\u6209\u620D\u620C\u6214\u621B"],["9d40","\u621E\u6221\u622A\u622E\u6230\u6232\u6233\u6241\u624E\u625E\u6263\u625B\u6260\u6268\u627C\u6282\u6289\u627E\u6292\u6293\u6296\u62D4\u6283\u6294\u62D7\u62D1\u62BB\u62CF\u62FF\u62C6\u64D4\u62C8\u62DC\u62CC\u62CA\u62C2\u62C7\u629B\u62C9\u630C\u62EE\u62F1\u6327\u6302\u6308\u62EF\u62F5\u6350\u633E\u634D\u641C\u634F\u6396\u638E\u6380\u63AB\u6376\u63A3\u638F\u6389\u639F\u63B5\u636B"],["9d80","\u6369\u63BE\u63E9\u63C0\u63C6\u63E3\u63C9\u63D2\u63F6\u63C4\u6416\u6434\u6406\u6413\u6426\u6436\u651D\u6417\u6428\u640F\u6467\u646F\u6476\u644E\u652A\u6495\u6493\u64A5\u64A9\u6488\u64BC\u64DA\u64D2\u64C5\u64C7\u64BB\u64D8\u64C2\u64F1\u64E7\u8209\u64E0\u64E1\u62AC\u64E3\u64EF\u652C\u64F6\u64F4\u64F2\u64FA\u6500\u64FD\u6518\u651C\u6505\u6524\u6523\u652B\u6534\u6535\u6537\u6536\u6538\u754B\u6548\u6556\u6555\u654D\u6558\u655E\u655D\u6572\u6578\u6582\u6583\u8B8A\u659B\u659F\u65AB\u65B7\u65C3\u65C6\u65C1\u65C4\u65CC\u65D2\u65DB\u65D9\u65E0\u65E1\u65F1\u6772\u660A\u6603\u65FB\u6773\u6635\u6636\u6634\u661C\u664F\u6644\u6649\u6641\u665E\u665D\u6664\u6667\u6668\u665F\u6662\u6670\u6683\u6688\u668E\u6689\u6684\u6698\u669D\u66C1\u66B9\u66C9\u66BE\u66BC"],["9e40","\u66C4\u66B8\u66D6\u66DA\u66E0\u663F\u66E6\u66E9\u66F0\u66F5\u66F7\u670F\u6716\u671E\u6726\u6727\u9738\u672E\u673F\u6736\u6741\u6738\u6737\u6746\u675E\u6760\u6759\u6763\u6764\u6789\u6770\u67A9\u677C\u676A\u678C\u678B\u67A6\u67A1\u6785\u67B7\u67EF\u67B4\u67EC\u67B3\u67E9\u67B8\u67E4\u67DE\u67DD\u67E2\u67EE\u67B9\u67CE\u67C6\u67E7\u6A9C\u681E\u6846\u6829\u6840\u684D\u6832\u684E"],["9e80","\u68B3\u682B\u6859\u6863\u6877\u687F\u689F\u688F\u68AD\u6894\u689D\u689B\u6883\u6AAE\u68B9\u6874\u68B5\u68A0\u68BA\u690F\u688D\u687E\u6901\u68CA\u6908\u68D8\u6922\u6926\u68E1\u690C\u68CD\u68D4\u68E7\u68D5\u6936\u6912\u6904\u68D7\u68E3\u6925\u68F9\u68E0\u68EF\u6928\u692A\u691A\u6923\u6921\u68C6\u6979\u6977\u695C\u6978\u696B\u6954\u697E\u696E\u6939\u6974\u693D\u6959\u6930\u6961\u695E\u695D\u6981\u696A\u69B2\u69AE\u69D0\u69BF\u69C1\u69D3\u69BE\u69CE\u5BE8\u69CA\u69DD\u69BB\u69C3\u69A7\u6A2E\u6991\u69A0\u699C\u6995\u69B4\u69DE\u69E8\u6A02\u6A1B\u69FF\u6B0A\u69F9\u69F2\u69E7\u6A05\u69B1\u6A1E\u69ED\u6A14\u69EB\u6A0A\u6A12\u6AC1\u6A23\u6A13\u6A44\u6A0C\u6A72\u6A36\u6A78\u6A47\u6A62\u6A59\u6A66\u6A48\u6A38\u6A22\u6A90\u6A8D\u6AA0\u6A84\u6AA2\u6AA3"],["9f40","\u6A97\u8617\u6ABB\u6AC3\u6AC2\u6AB8\u6AB3\u6AAC\u6ADE\u6AD1\u6ADF\u6AAA\u6ADA\u6AEA\u6AFB\u6B05\u8616\u6AFA\u6B12\u6B16\u9B31\u6B1F\u6B38\u6B37\u76DC\u6B39\u98EE\u6B47\u6B43\u6B49\u6B50\u6B59\u6B54\u6B5B\u6B5F\u6B61\u6B78\u6B79\u6B7F\u6B80\u6B84\u6B83\u6B8D\u6B98\u6B95\u6B9E\u6BA4\u6BAA\u6BAB\u6BAF\u6BB2\u6BB1\u6BB3\u6BB7\u6BBC\u6BC6\u6BCB\u6BD3\u6BDF\u6BEC\u6BEB\u6BF3\u6BEF"],["9f80","\u9EBE\u6C08\u6C13\u6C14\u6C1B\u6C24\u6C23\u6C5E\u6C55\u6C62\u6C6A\u6C82\u6C8D\u6C9A\u6C81\u6C9B\u6C7E\u6C68\u6C73\u6C92\u6C90\u6CC4\u6CF1\u6CD3\u6CBD\u6CD7\u6CC5\u6CDD\u6CAE\u6CB1\u6CBE\u6CBA\u6CDB\u6CEF\u6CD9\u6CEA\u6D1F\u884D\u6D36\u6D2B\u6D3D\u6D38\u6D19\u6D35\u6D33\u6D12\u6D0C\u6D63\u6D93\u6D64\u6D5A\u6D79\u6D59\u6D8E\u6D95\u6FE4\u6D85\u6DF9\u6E15\u6E0A\u6DB5\u6DC7\u6DE6\u6DB8\u6DC6\u6DEC\u6DDE\u6DCC\u6DE8\u6DD2\u6DC5\u6DFA\u6DD9\u6DE4\u6DD5\u6DEA\u6DEE\u6E2D\u6E6E\u6E2E\u6E19\u6E72\u6E5F\u6E3E\u6E23\u6E6B\u6E2B\u6E76\u6E4D\u6E1F\u6E43\u6E3A\u6E4E\u6E24\u6EFF\u6E1D\u6E38\u6E82\u6EAA\u6E98\u6EC9\u6EB7\u6ED3\u6EBD\u6EAF\u6EC4\u6EB2\u6ED4\u6ED5\u6E8F\u6EA5\u6EC2\u6E9F\u6F41\u6F11\u704C\u6EEC\u6EF8\u6EFE\u6F3F\u6EF2\u6F31\u6EEF\u6F32\u6ECC"],["e040","\u6F3E\u6F13\u6EF7\u6F86\u6F7A\u6F78\u6F81\u6F80\u6F6F\u6F5B\u6FF3\u6F6D\u6F82\u6F7C\u6F58\u6F8E\u6F91\u6FC2\u6F66\u6FB3\u6FA3\u6FA1\u6FA4\u6FB9\u6FC6\u6FAA\u6FDF\u6FD5\u6FEC\u6FD4\u6FD8\u6FF1\u6FEE\u6FDB\u7009\u700B\u6FFA\u7011\u7001\u700F\u6FFE\u701B\u701A\u6F74\u701D\u7018\u701F\u7030\u703E\u7032\u7051\u7063\u7099\u7092\u70AF\u70F1\u70AC\u70B8\u70B3\u70AE\u70DF\u70CB\u70DD"],["e080","\u70D9\u7109\u70FD\u711C\u7119\u7165\u7155\u7188\u7166\u7162\u714C\u7156\u716C\u718F\u71FB\u7184\u7195\u71A8\u71AC\u71D7\u71B9\u71BE\u71D2\u71C9\u71D4\u71CE\u71E0\u71EC\u71E7\u71F5\u71FC\u71F9\u71FF\u720D\u7210\u721B\u7228\u722D\u722C\u7230\u7232\u723B\u723C\u723F\u7240\u7246\u724B\u7258\u7274\u727E\u7282\u7281\u7287\u7292\u7296\u72A2\u72A7\u72B9\u72B2\u72C3\u72C6\u72C4\u72CE\u72D2\u72E2\u72E0\u72E1\u72F9\u72F7\u500F\u7317\u730A\u731C\u7316\u731D\u7334\u732F\u7329\u7325\u733E\u734E\u734F\u9ED8\u7357\u736A\u7368\u7370\u7378\u7375\u737B\u737A\u73C8\u73B3\u73CE\u73BB\u73C0\u73E5\u73EE\u73DE\u74A2\u7405\u746F\u7425\u73F8\u7432\u743A\u7455\u743F\u745F\u7459\u7441\u745C\u7469\u7470\u7463\u746A\u7476\u747E\u748B\u749E\u74A7\u74CA\u74CF\u74D4\u73F1"],["e140","\u74E0\u74E3\u74E7\u74E9\u74EE\u74F2\u74F0\u74F1\u74F8\u74F7\u7504\u7503\u7505\u750C\u750E\u750D\u7515\u7513\u751E\u7526\u752C\u753C\u7544\u754D\u754A\u7549\u755B\u7546\u755A\u7569\u7564\u7567\u756B\u756D\u7578\u7576\u7586\u7587\u7574\u758A\u7589\u7582\u7594\u759A\u759D\u75A5\u75A3\u75C2\u75B3\u75C3\u75B5\u75BD\u75B8\u75BC\u75B1\u75CD\u75CA\u75D2\u75D9\u75E3\u75DE\u75FE\u75FF"],["e180","\u75FC\u7601\u75F0\u75FA\u75F2\u75F3\u760B\u760D\u7609\u761F\u7627\u7620\u7621\u7622\u7624\u7634\u7630\u763B\u7647\u7648\u7646\u765C\u7658\u7661\u7662\u7668\u7669\u766A\u7667\u766C\u7670\u7672\u7676\u7678\u767C\u7680\u7683\u7688\u768B\u768E\u7696\u7693\u7699\u769A\u76B0\u76B4\u76B8\u76B9\u76BA\u76C2\u76CD\u76D6\u76D2\u76DE\u76E1\u76E5\u76E7\u76EA\u862F\u76FB\u7708\u7707\u7704\u7729\u7724\u771E\u7725\u7726\u771B\u7737\u7738\u7747\u775A\u7768\u776B\u775B\u7765\u777F\u777E\u7779\u778E\u778B\u7791\u77A0\u779E\u77B0\u77B6\u77B9\u77BF\u77BC\u77BD\u77BB\u77C7\u77CD\u77D7\u77DA\u77DC\u77E3\u77EE\u77FC\u780C\u7812\u7926\u7820\u792A\u7845\u788E\u7874\u7886\u787C\u789A\u788C\u78A3\u78B5\u78AA\u78AF\u78D1\u78C6\u78CB\u78D4\u78BE\u78BC\u78C5\u78CA\u78EC"],["e240","\u78E7\u78DA\u78FD\u78F4\u7907\u7912\u7911\u7919\u792C\u792B\u7940\u7960\u7957\u795F\u795A\u7955\u7953\u797A\u797F\u798A\u799D\u79A7\u9F4B\u79AA\u79AE\u79B3\u79B9\u79BA\u79C9\u79D5\u79E7\u79EC\u79E1\u79E3\u7A08\u7A0D\u7A18\u7A19\u7A20\u7A1F\u7980\u7A31\u7A3B\u7A3E\u7A37\u7A43\u7A57\u7A49\u7A61\u7A62\u7A69\u9F9D\u7A70\u7A79\u7A7D\u7A88\u7A97\u7A95\u7A98\u7A96\u7AA9\u7AC8\u7AB0"],["e280","\u7AB6\u7AC5\u7AC4\u7ABF\u9083\u7AC7\u7ACA\u7ACD\u7ACF\u7AD5\u7AD3\u7AD9\u7ADA\u7ADD\u7AE1\u7AE2\u7AE6\u7AED\u7AF0\u7B02\u7B0F\u7B0A\u7B06\u7B33\u7B18\u7B19\u7B1E\u7B35\u7B28\u7B36\u7B50\u7B7A\u7B04\u7B4D\u7B0B\u7B4C\u7B45\u7B75\u7B65\u7B74\u7B67\u7B70\u7B71\u7B6C\u7B6E\u7B9D\u7B98\u7B9F\u7B8D\u7B9C\u7B9A\u7B8B\u7B92\u7B8F\u7B5D\u7B99\u7BCB\u7BC1\u7BCC\u7BCF\u7BB4\u7BC6\u7BDD\u7BE9\u7C11\u7C14\u7BE6\u7BE5\u7C60\u7C00\u7C07\u7C13\u7BF3\u7BF7\u7C17\u7C0D\u7BF6\u7C23\u7C27\u7C2A\u7C1F\u7C37\u7C2B\u7C3D\u7C4C\u7C43\u7C54\u7C4F\u7C40\u7C50\u7C58\u7C5F\u7C64\u7C56\u7C65\u7C6C\u7C75\u7C83\u7C90\u7CA4\u7CAD\u7CA2\u7CAB\u7CA1\u7CA8\u7CB3\u7CB2\u7CB1\u7CAE\u7CB9\u7CBD\u7CC0\u7CC5\u7CC2\u7CD8\u7CD2\u7CDC\u7CE2\u9B3B\u7CEF\u7CF2\u7CF4\u7CF6\u7CFA\u7D06"],["e340","\u7D02\u7D1C\u7D15\u7D0A\u7D45\u7D4B\u7D2E\u7D32\u7D3F\u7D35\u7D46\u7D73\u7D56\u7D4E\u7D72\u7D68\u7D6E\u7D4F\u7D63\u7D93\u7D89\u7D5B\u7D8F\u7D7D\u7D9B\u7DBA\u7DAE\u7DA3\u7DB5\u7DC7\u7DBD\u7DAB\u7E3D\u7DA2\u7DAF\u7DDC\u7DB8\u7D9F\u7DB0\u7DD8\u7DDD\u7DE4\u7DDE\u7DFB\u7DF2\u7DE1\u7E05\u7E0A\u7E23\u7E21\u7E12\u7E31\u7E1F\u7E09\u7E0B\u7E22\u7E46\u7E66\u7E3B\u7E35\u7E39\u7E43\u7E37"],["e380","\u7E32\u7E3A\u7E67\u7E5D\u7E56\u7E5E\u7E59\u7E5A\u7E79\u7E6A\u7E69\u7E7C\u7E7B\u7E83\u7DD5\u7E7D\u8FAE\u7E7F\u7E88\u7E89\u7E8C\u7E92\u7E90\u7E93\u7E94\u7E96\u7E8E\u7E9B\u7E9C\u7F38\u7F3A\u7F45\u7F4C\u7F4D\u7F4E\u7F50\u7F51\u7F55\u7F54\u7F58\u7F5F\u7F60\u7F68\u7F69\u7F67\u7F78\u7F82\u7F86\u7F83\u7F88\u7F87\u7F8C\u7F94\u7F9E\u7F9D\u7F9A\u7FA3\u7FAF\u7FB2\u7FB9\u7FAE\u7FB6\u7FB8\u8B71\u7FC5\u7FC6\u7FCA\u7FD5\u7FD4\u7FE1\u7FE6\u7FE9\u7FF3\u7FF9\u98DC\u8006\u8004\u800B\u8012\u8018\u8019\u801C\u8021\u8028\u803F\u803B\u804A\u8046\u8052\u8058\u805A\u805F\u8062\u8068\u8073\u8072\u8070\u8076\u8079\u807D\u807F\u8084\u8086\u8085\u809B\u8093\u809A\u80AD\u5190\u80AC\u80DB\u80E5\u80D9\u80DD\u80C4\u80DA\u80D6\u8109\u80EF\u80F1\u811B\u8129\u8123\u812F\u814B"],["e440","\u968B\u8146\u813E\u8153\u8151\u80FC\u8171\u816E\u8165\u8166\u8174\u8183\u8188\u818A\u8180\u8182\u81A0\u8195\u81A4\u81A3\u815F\u8193\u81A9\u81B0\u81B5\u81BE\u81B8\u81BD\u81C0\u81C2\u81BA\u81C9\u81CD\u81D1\u81D9\u81D8\u81C8\u81DA\u81DF\u81E0\u81E7\u81FA\u81FB\u81FE\u8201\u8202\u8205\u8207\u820A\u820D\u8210\u8216\u8229\u822B\u8238\u8233\u8240\u8259\u8258\u825D\u825A\u825F\u8264"],["e480","\u8262\u8268\u826A\u826B\u822E\u8271\u8277\u8278\u827E\u828D\u8292\u82AB\u829F\u82BB\u82AC\u82E1\u82E3\u82DF\u82D2\u82F4\u82F3\u82FA\u8393\u8303\u82FB\u82F9\u82DE\u8306\u82DC\u8309\u82D9\u8335\u8334\u8316\u8332\u8331\u8340\u8339\u8350\u8345\u832F\u832B\u8317\u8318\u8385\u839A\u83AA\u839F\u83A2\u8396\u8323\u838E\u8387\u838A\u837C\u83B5\u8373\u8375\u83A0\u8389\u83A8\u83F4\u8413\u83EB\u83CE\u83FD\u8403\u83D8\u840B\u83C1\u83F7\u8407\u83E0\u83F2\u840D\u8422\u8420\u83BD\u8438\u8506\u83FB\u846D\u842A\u843C\u855A\u8484\u8477\u846B\u84AD\u846E\u8482\u8469\u8446\u842C\u846F\u8479\u8435\u84CA\u8462\u84B9\u84BF\u849F\u84D9\u84CD\u84BB\u84DA\u84D0\u84C1\u84C6\u84D6\u84A1\u8521\u84FF\u84F4\u8517\u8518\u852C\u851F\u8515\u8514\u84FC\u8540\u8563\u8558\u8548"],["e540","\u8541\u8602\u854B\u8555\u8580\u85A4\u8588\u8591\u858A\u85A8\u856D\u8594\u859B\u85EA\u8587\u859C\u8577\u857E\u8590\u85C9\u85BA\u85CF\u85B9\u85D0\u85D5\u85DD\u85E5\u85DC\u85F9\u860A\u8613\u860B\u85FE\u85FA\u8606\u8622\u861A\u8630\u863F\u864D\u4E55\u8654\u865F\u8667\u8671\u8693\u86A3\u86A9\u86AA\u868B\u868C\u86B6\u86AF\u86C4\u86C6\u86B0\u86C9\u8823\u86AB\u86D4\u86DE\u86E9\u86EC"],["e580","\u86DF\u86DB\u86EF\u8712\u8706\u8708\u8700\u8703\u86FB\u8711\u8709\u870D\u86F9\u870A\u8734\u873F\u8737\u873B\u8725\u8729\u871A\u8760\u875F\u8778\u874C\u874E\u8774\u8757\u8768\u876E\u8759\u8753\u8763\u876A\u8805\u87A2\u879F\u8782\u87AF\u87CB\u87BD\u87C0\u87D0\u96D6\u87AB\u87C4\u87B3\u87C7\u87C6\u87BB\u87EF\u87F2\u87E0\u880F\u880D\u87FE\u87F6\u87F7\u880E\u87D2\u8811\u8816\u8815\u8822\u8821\u8831\u8836\u8839\u8827\u883B\u8844\u8842\u8852\u8859\u885E\u8862\u886B\u8881\u887E\u889E\u8875\u887D\u88B5\u8872\u8882\u8897\u8892\u88AE\u8899\u88A2\u888D\u88A4\u88B0\u88BF\u88B1\u88C3\u88C4\u88D4\u88D8\u88D9\u88DD\u88F9\u8902\u88FC\u88F4\u88E8\u88F2\u8904\u890C\u890A\u8913\u8943\u891E\u8925\u892A\u892B\u8941\u8944\u893B\u8936\u8938\u894C\u891D\u8960\u895E"],["e640","\u8966\u8964\u896D\u896A\u896F\u8974\u8977\u897E\u8983\u8988\u898A\u8993\u8998\u89A1\u89A9\u89A6\u89AC\u89AF\u89B2\u89BA\u89BD\u89BF\u89C0\u89DA\u89DC\u89DD\u89E7\u89F4\u89F8\u8A03\u8A16\u8A10\u8A0C\u8A1B\u8A1D\u8A25\u8A36\u8A41\u8A5B\u8A52\u8A46\u8A48\u8A7C\u8A6D\u8A6C\u8A62\u8A85\u8A82\u8A84\u8AA8\u8AA1\u8A91\u8AA5\u8AA6\u8A9A\u8AA3\u8AC4\u8ACD\u8AC2\u8ADA\u8AEB\u8AF3\u8AE7"],["e680","\u8AE4\u8AF1\u8B14\u8AE0\u8AE2\u8AF7\u8ADE\u8ADB\u8B0C\u8B07\u8B1A\u8AE1\u8B16\u8B10\u8B17\u8B20\u8B33\u97AB\u8B26\u8B2B\u8B3E\u8B28\u8B41\u8B4C\u8B4F\u8B4E\u8B49\u8B56\u8B5B\u8B5A\u8B6B\u8B5F\u8B6C\u8B6F\u8B74\u8B7D\u8B80\u8B8C\u8B8E\u8B92\u8B93\u8B96\u8B99\u8B9A\u8C3A\u8C41\u8C3F\u8C48\u8C4C\u8C4E\u8C50\u8C55\u8C62\u8C6C\u8C78\u8C7A\u8C82\u8C89\u8C85\u8C8A\u8C8D\u8C8E\u8C94\u8C7C\u8C98\u621D\u8CAD\u8CAA\u8CBD\u8CB2\u8CB3\u8CAE\u8CB6\u8CC8\u8CC1\u8CE4\u8CE3\u8CDA\u8CFD\u8CFA\u8CFB\u8D04\u8D05\u8D0A\u8D07\u8D0F\u8D0D\u8D10\u9F4E\u8D13\u8CCD\u8D14\u8D16\u8D67\u8D6D\u8D71\u8D73\u8D81\u8D99\u8DC2\u8DBE\u8DBA\u8DCF\u8DDA\u8DD6\u8DCC\u8DDB\u8DCB\u8DEA\u8DEB\u8DDF\u8DE3\u8DFC\u8E08\u8E09\u8DFF\u8E1D\u8E1E\u8E10\u8E1F\u8E42\u8E35\u8E30\u8E34\u8E4A"],["e740","\u8E47\u8E49\u8E4C\u8E50\u8E48\u8E59\u8E64\u8E60\u8E2A\u8E63\u8E55\u8E76\u8E72\u8E7C\u8E81\u8E87\u8E85\u8E84\u8E8B\u8E8A\u8E93\u8E91\u8E94\u8E99\u8EAA\u8EA1\u8EAC\u8EB0\u8EC6\u8EB1\u8EBE\u8EC5\u8EC8\u8ECB\u8EDB\u8EE3\u8EFC\u8EFB\u8EEB\u8EFE\u8F0A\u8F05\u8F15\u8F12\u8F19\u8F13\u8F1C\u8F1F\u8F1B\u8F0C\u8F26\u8F33\u8F3B\u8F39\u8F45\u8F42\u8F3E\u8F4C\u8F49\u8F46\u8F4E\u8F57\u8F5C"],["e780","\u8F62\u8F63\u8F64\u8F9C\u8F9F\u8FA3\u8FAD\u8FAF\u8FB7\u8FDA\u8FE5\u8FE2\u8FEA\u8FEF\u9087\u8FF4\u9005\u8FF9\u8FFA\u9011\u9015\u9021\u900D\u901E\u9016\u900B\u9027\u9036\u9035\u9039\u8FF8\u904F\u9050\u9051\u9052\u900E\u9049\u903E\u9056\u9058\u905E\u9068\u906F\u9076\u96A8\u9072\u9082\u907D\u9081\u9080\u908A\u9089\u908F\u90A8\u90AF\u90B1\u90B5\u90E2\u90E4\u6248\u90DB\u9102\u9112\u9119\u9132\u9130\u914A\u9156\u9158\u9163\u9165\u9169\u9173\u9172\u918B\u9189\u9182\u91A2\u91AB\u91AF\u91AA\u91B5\u91B4\u91BA\u91C0\u91C1\u91C9\u91CB\u91D0\u91D6\u91DF\u91E1\u91DB\u91FC\u91F5\u91F6\u921E\u91FF\u9214\u922C\u9215\u9211\u925E\u9257\u9245\u9249\u9264\u9248\u9295\u923F\u924B\u9250\u929C\u9296\u9293\u929B\u925A\u92CF\u92B9\u92B7\u92E9\u930F\u92FA\u9344\u932E"],["e840","\u9319\u9322\u931A\u9323\u933A\u9335\u933B\u935C\u9360\u937C\u936E\u9356\u93B0\u93AC\u93AD\u9394\u93B9\u93D6\u93D7\u93E8\u93E5\u93D8\u93C3\u93DD\u93D0\u93C8\u93E4\u941A\u9414\u9413\u9403\u9407\u9410\u9436\u942B\u9435\u9421\u943A\u9441\u9452\u9444\u945B\u9460\u9462\u945E\u946A\u9229\u9470\u9475\u9477\u947D\u945A\u947C\u947E\u9481\u947F\u9582\u9587\u958A\u9594\u9596\u9598\u9599"],["e880","\u95A0\u95A8\u95A7\u95AD\u95BC\u95BB\u95B9\u95BE\u95CA\u6FF6\u95C3\u95CD\u95CC\u95D5\u95D4\u95D6\u95DC\u95E1\u95E5\u95E2\u9621\u9628\u962E\u962F\u9642\u964C\u964F\u964B\u9677\u965C\u965E\u965D\u965F\u9666\u9672\u966C\u968D\u9698\u9695\u9697\u96AA\u96A7\u96B1\u96B2\u96B0\u96B4\u96B6\u96B8\u96B9\u96CE\u96CB\u96C9\u96CD\u894D\u96DC\u970D\u96D5\u96F9\u9704\u9706\u9708\u9713\u970E\u9711\u970F\u9716\u9719\u9724\u972A\u9730\u9739\u973D\u973E\u9744\u9746\u9748\u9742\u9749\u975C\u9760\u9764\u9766\u9768\u52D2\u976B\u9771\u9779\u9785\u977C\u9781\u977A\u9786\u978B\u978F\u9790\u979C\u97A8\u97A6\u97A3\u97B3\u97B4\u97C3\u97C6\u97C8\u97CB\u97DC\u97ED\u9F4F\u97F2\u7ADF\u97F6\u97F5\u980F\u980C\u9838\u9824\u9821\u9837\u983D\u9846\u984F\u984B\u986B\u986F\u9870"],["e940","\u9871\u9874\u9873\u98AA\u98AF\u98B1\u98B6\u98C4\u98C3\u98C6\u98E9\u98EB\u9903\u9909\u9912\u9914\u9918\u9921\u991D\u991E\u9924\u9920\u992C\u992E\u993D\u993E\u9942\u9949\u9945\u9950\u994B\u9951\u9952\u994C\u9955\u9997\u9998\u99A5\u99AD\u99AE\u99BC\u99DF\u99DB\u99DD\u99D8\u99D1\u99ED\u99EE\u99F1\u99F2\u99FB\u99F8\u9A01\u9A0F\u9A05\u99E2\u9A19\u9A2B\u9A37\u9A45\u9A42\u9A40\u9A43"],["e980","\u9A3E\u9A55\u9A4D\u9A5B\u9A57\u9A5F\u9A62\u9A65\u9A64\u9A69\u9A6B\u9A6A\u9AAD\u9AB0\u9ABC\u9AC0\u9ACF\u9AD1\u9AD3\u9AD4\u9ADE\u9ADF\u9AE2\u9AE3\u9AE6\u9AEF\u9AEB\u9AEE\u9AF4\u9AF1\u9AF7\u9AFB\u9B06\u9B18\u9B1A\u9B1F\u9B22\u9B23\u9B25\u9B27\u9B28\u9B29\u9B2A\u9B2E\u9B2F\u9B32\u9B44\u9B43\u9B4F\u9B4D\u9B4E\u9B51\u9B58\u9B74\u9B93\u9B83\u9B91\u9B96\u9B97\u9B9F\u9BA0\u9BA8\u9BB4\u9BC0\u9BCA\u9BB9\u9BC6\u9BCF\u9BD1\u9BD2\u9BE3\u9BE2\u9BE4\u9BD4\u9BE1\u9C3A\u9BF2\u9BF1\u9BF0\u9C15\u9C14\u9C09\u9C13\u9C0C\u9C06\u9C08\u9C12\u9C0A\u9C04\u9C2E\u9C1B\u9C25\u9C24\u9C21\u9C30\u9C47\u9C32\u9C46\u9C3E\u9C5A\u9C60\u9C67\u9C76\u9C78\u9CE7\u9CEC\u9CF0\u9D09\u9D08\u9CEB\u9D03\u9D06\u9D2A\u9D26\u9DAF\u9D23\u9D1F\u9D44\u9D15\u9D12\u9D41\u9D3F\u9D3E\u9D46\u9D48"],["ea40","\u9D5D\u9D5E\u9D64\u9D51\u9D50\u9D59\u9D72\u9D89\u9D87\u9DAB\u9D6F\u9D7A\u9D9A\u9DA4\u9DA9\u9DB2\u9DC4\u9DC1\u9DBB\u9DB8\u9DBA\u9DC6\u9DCF\u9DC2\u9DD9\u9DD3\u9DF8\u9DE6\u9DED\u9DEF\u9DFD\u9E1A\u9E1B\u9E1E\u9E75\u9E79\u9E7D\u9E81\u9E88\u9E8B\u9E8C\u9E92\u9E95\u9E91\u9E9D\u9EA5\u9EA9\u9EB8\u9EAA\u9EAD\u9761\u9ECC\u9ECE\u9ECF\u9ED0\u9ED4\u9EDC\u9EDE\u9EDD\u9EE0\u9EE5\u9EE8\u9EEF"],["ea80","\u9EF4\u9EF6\u9EF7\u9EF9\u9EFB\u9EFC\u9EFD\u9F07\u9F08\u76B7\u9F15\u9F21\u9F2C\u9F3E\u9F4A\u9F52\u9F54\u9F63\u9F5F\u9F60\u9F61\u9F66\u9F67\u9F6C\u9F6A\u9F77\u9F72\u9F76\u9F95\u9F9C\u9FA0\u582F\u69C7\u9059\u7464\u51DC\u7199"],["ed40","\u7E8A\u891C\u9348\u9288\u84DC\u4FC9\u70BB\u6631\u68C8\u92F9\u66FB\u5F45\u4E28\u4EE1\u4EFC\u4F00\u4F03\u4F39\u4F56\u4F92\u4F8A\u4F9A\u4F94\u4FCD\u5040\u5022\u4FFF\u501E\u5046\u5070\u5042\u5094\u50F4\u50D8\u514A\u5164\u519D\u51BE\u51EC\u5215\u529C\u52A6\u52C0\u52DB\u5300\u5307\u5324\u5372\u5393\u53B2\u53DD\uFA0E\u549C\u548A\u54A9\u54FF\u5586\u5759\u5765\u57AC\u57C8\u57C7\uFA0F"],["ed80","\uFA10\u589E\u58B2\u590B\u5953\u595B\u595D\u5963\u59A4\u59BA\u5B56\u5BC0\u752F\u5BD8\u5BEC\u5C1E\u5CA6\u5CBA\u5CF5\u5D27\u5D53\uFA11\u5D42\u5D6D\u5DB8\u5DB9\u5DD0\u5F21\u5F34\u5F67\u5FB7\u5FDE\u605D\u6085\u608A\u60DE\u60D5\u6120\u60F2\u6111\u6137\u6130\u6198\u6213\u62A6\u63F5\u6460\u649D\u64CE\u654E\u6600\u6615\u663B\u6609\u662E\u661E\u6624\u6665\u6657\u6659\uFA12\u6673\u6699\u66A0\u66B2\u66BF\u66FA\u670E\uF929\u6766\u67BB\u6852\u67C0\u6801\u6844\u68CF\uFA13\u6968\uFA14\u6998\u69E2\u6A30\u6A6B\u6A46\u6A73\u6A7E\u6AE2\u6AE4\u6BD6\u6C3F\u6C5C\u6C86\u6C6F\u6CDA\u6D04\u6D87\u6D6F\u6D96\u6DAC\u6DCF\u6DF8\u6DF2\u6DFC\u6E39\u6E5C\u6E27\u6E3C\u6EBF\u6F88\u6FB5\u6FF5\u7005\u7007\u7028\u7085\u70AB\u710F\u7104\u715C\u7146\u7147\uFA15\u71C1\u71FE\u72B1"],["ee40","\u72BE\u7324\uFA16\u7377\u73BD\u73C9\u73D6\u73E3\u73D2\u7407\u73F5\u7426\u742A\u7429\u742E\u7462\u7489\u749F\u7501\u756F\u7682\u769C\u769E\u769B\u76A6\uFA17\u7746\u52AF\u7821\u784E\u7864\u787A\u7930\uFA18\uFA19\uFA1A\u7994\uFA1B\u799B\u7AD1\u7AE7\uFA1C\u7AEB\u7B9E\uFA1D\u7D48\u7D5C\u7DB7\u7DA0\u7DD6\u7E52\u7F47\u7FA1\uFA1E\u8301\u8362\u837F\u83C7\u83F6\u8448\u84B4\u8553\u8559"],["ee80","\u856B\uFA1F\u85B0\uFA20\uFA21\u8807\u88F5\u8A12\u8A37\u8A79\u8AA7\u8ABE\u8ADF\uFA22\u8AF6\u8B53\u8B7F\u8CF0\u8CF4\u8D12\u8D76\uFA23\u8ECF\uFA24\uFA25\u9067\u90DE\uFA26\u9115\u9127\u91DA\u91D7\u91DE\u91ED\u91EE\u91E4\u91E5\u9206\u9210\u920A\u923A\u9240\u923C\u924E\u9259\u9251\u9239\u9267\u92A7\u9277\u9278\u92E7\u92D7\u92D9\u92D0\uFA27\u92D5\u92E0\u92D3\u9325\u9321\u92FB\uFA28\u931E\u92FF\u931D\u9302\u9370\u9357\u93A4\u93C6\u93DE\u93F8\u9431\u9445\u9448\u9592\uF9DC\uFA29\u969D\u96AF\u9733\u973B\u9743\u974D\u974F\u9751\u9755\u9857\u9865\uFA2A\uFA2B\u9927\uFA2C\u999E\u9A4E\u9AD9\u9ADC\u9B75\u9B72\u9B8F\u9BB1\u9BBB\u9C00\u9D70\u9D6B\uFA2D\u9E19\u9ED1"],["eeef","\u2170",9,"\uFFE2\uFFE4\uFF07\uFF02"],["f040","\uE000",62],["f080","\uE03F",124],["f140","\uE0BC",62],["f180","\uE0FB",124],["f240","\uE178",62],["f280","\uE1B7",124],["f340","\uE234",62],["f380","\uE273",124],["f440","\uE2F0",62],["f480","\uE32F",124],["f540","\uE3AC",62],["f580","\uE3EB",124],["f640","\uE468",62],["f680","\uE4A7",124],["f740","\uE524",62],["f780","\uE563",124],["f840","\uE5E0",62],["f880","\uE61F",124],["f940","\uE69C"],["fa40","\u2170",9,"\u2160",9,"\uFFE2\uFFE4\uFF07\uFF02\u3231\u2116\u2121\u2235\u7E8A\u891C\u9348\u9288\u84DC\u4FC9\u70BB\u6631\u68C8\u92F9\u66FB\u5F45\u4E28\u4EE1\u4EFC\u4F00\u4F03\u4F39\u4F56\u4F92\u4F8A\u4F9A\u4F94\u4FCD\u5040\u5022\u4FFF\u501E\u5046\u5070\u5042\u5094\u50F4\u50D8\u514A"],["fa80","\u5164\u519D\u51BE\u51EC\u5215\u529C\u52A6\u52C0\u52DB\u5300\u5307\u5324\u5372\u5393\u53B2\u53DD\uFA0E\u549C\u548A\u54A9\u54FF\u5586\u5759\u5765\u57AC\u57C8\u57C7\uFA0F\uFA10\u589E\u58B2\u590B\u5953\u595B\u595D\u5963\u59A4\u59BA\u5B56\u5BC0\u752F\u5BD8\u5BEC\u5C1E\u5CA6\u5CBA\u5CF5\u5D27\u5D53\uFA11\u5D42\u5D6D\u5DB8\u5DB9\u5DD0\u5F21\u5F34\u5F67\u5FB7\u5FDE\u605D\u6085\u608A\u60DE\u60D5\u6120\u60F2\u6111\u6137\u6130\u6198\u6213\u62A6\u63F5\u6460\u649D\u64CE\u654E\u6600\u6615\u663B\u6609\u662E\u661E\u6624\u6665\u6657\u6659\uFA12\u6673\u6699\u66A0\u66B2\u66BF\u66FA\u670E\uF929\u6766\u67BB\u6852\u67C0\u6801\u6844\u68CF\uFA13\u6968\uFA14\u6998\u69E2\u6A30\u6A6B\u6A46\u6A73\u6A7E\u6AE2\u6AE4\u6BD6\u6C3F\u6C5C\u6C86\u6C6F\u6CDA\u6D04\u6D87\u6D6F"],["fb40","\u6D96\u6DAC\u6DCF\u6DF8\u6DF2\u6DFC\u6E39\u6E5C\u6E27\u6E3C\u6EBF\u6F88\u6FB5\u6FF5\u7005\u7007\u7028\u7085\u70AB\u710F\u7104\u715C\u7146\u7147\uFA15\u71C1\u71FE\u72B1\u72BE\u7324\uFA16\u7377\u73BD\u73C9\u73D6\u73E3\u73D2\u7407\u73F5\u7426\u742A\u7429\u742E\u7462\u7489\u749F\u7501\u756F\u7682\u769C\u769E\u769B\u76A6\uFA17\u7746\u52AF\u7821\u784E\u7864\u787A\u7930\uFA18\uFA19"],["fb80","\uFA1A\u7994\uFA1B\u799B\u7AD1\u7AE7\uFA1C\u7AEB\u7B9E\uFA1D\u7D48\u7D5C\u7DB7\u7DA0\u7DD6\u7E52\u7F47\u7FA1\uFA1E\u8301\u8362\u837F\u83C7\u83F6\u8448\u84B4\u8553\u8559\u856B\uFA1F\u85B0\uFA20\uFA21\u8807\u88F5\u8A12\u8A37\u8A79\u8AA7\u8ABE\u8ADF\uFA22\u8AF6\u8B53\u8B7F\u8CF0\u8CF4\u8D12\u8D76\uFA23\u8ECF\uFA24\uFA25\u9067\u90DE\uFA26\u9115\u9127\u91DA\u91D7\u91DE\u91ED\u91EE\u91E4\u91E5\u9206\u9210\u920A\u923A\u9240\u923C\u924E\u9259\u9251\u9239\u9267\u92A7\u9277\u9278\u92E7\u92D7\u92D9\u92D0\uFA27\u92D5\u92E0\u92D3\u9325\u9321\u92FB\uFA28\u931E\u92FF\u931D\u9302\u9370\u9357\u93A4\u93C6\u93DE\u93F8\u9431\u9445\u9448\u9592\uF9DC\uFA29\u969D\u96AF\u9733\u973B\u9743\u974D\u974F\u9751\u9755\u9857\u9865\uFA2A\uFA2B\u9927\uFA2C\u999E\u9A4E\u9AD9"],["fc40","\u9ADC\u9B75\u9B72\u9B8F\u9BB1\u9BBB\u9C00\u9D70\u9D6B\uFA2D\u9E19\u9ED1"]]});var $Ei=xe((ras,nCr)=>{nCr.exports=[["0","\0",127],["8ea1","\uFF61",62],["a1a1","\u3000\u3001\u3002\uFF0C\uFF0E\u30FB\uFF1A\uFF1B\uFF1F\uFF01\u309B\u309C\xB4\uFF40\xA8\uFF3E\uFFE3\uFF3F\u30FD\u30FE\u309D\u309E\u3003\u4EDD\u3005\u3006\u3007\u30FC\u2015\u2010\uFF0F\uFF3C\uFF5E\u2225\uFF5C\u2026\u2025\u2018\u2019\u201C\u201D\uFF08\uFF09\u3014\u3015\uFF3B\uFF3D\uFF5B\uFF5D\u3008",9,"\uFF0B\uFF0D\xB1\xD7\xF7\uFF1D\u2260\uFF1C\uFF1E\u2266\u2267\u221E\u2234\u2642\u2640\xB0\u2032\u2033\u2103\uFFE5\uFF04\uFFE0\uFFE1\uFF05\uFF03\uFF06\uFF0A\uFF20\xA7\u2606\u2605\u25CB\u25CF\u25CE\u25C7"],["a2a1","\u25C6\u25A1\u25A0\u25B3\u25B2\u25BD\u25BC\u203B\u3012\u2192\u2190\u2191\u2193\u3013"],["a2ba","\u2208\u220B\u2286\u2287\u2282\u2283\u222A\u2229"],["a2ca","\u2227\u2228\uFFE2\u21D2\u21D4\u2200\u2203"],["a2dc","\u2220\u22A5\u2312\u2202\u2207\u2261\u2252\u226A\u226B\u221A\u223D\u221D\u2235\u222B\u222C"],["a2f2","\u212B\u2030\u266F\u266D\u266A\u2020\u2021\xB6"],["a2fe","\u25EF"],["a3b0","\uFF10",9],["a3c1","\uFF21",25],["a3e1","\uFF41",25],["a4a1","\u3041",82],["a5a1","\u30A1",85],["a6a1","\u0391",16,"\u03A3",6],["a6c1","\u03B1",16,"\u03C3",6],["a7a1","\u0410",5,"\u0401\u0416",25],["a7d1","\u0430",5,"\u0451\u0436",25],["a8a1","\u2500\u2502\u250C\u2510\u2518\u2514\u251C\u252C\u2524\u2534\u253C\u2501\u2503\u250F\u2513\u251B\u2517\u2523\u2533\u252B\u253B\u254B\u2520\u252F\u2528\u2537\u253F\u251D\u2530\u2525\u2538\u2542"],["ada1","\u2460",19,"\u2160",9],["adc0","\u3349\u3314\u3322\u334D\u3318\u3327\u3303\u3336\u3351\u3357\u330D\u3326\u3323\u332B\u334A\u333B\u339C\u339D\u339E\u338E\u338F\u33C4\u33A1"],["addf","\u337B\u301D\u301F\u2116\u33CD\u2121\u32A4",4,"\u3231\u3232\u3239\u337E\u337D\u337C\u2252\u2261\u222B\u222E\u2211\u221A\u22A5\u2220\u221F\u22BF\u2235\u2229\u222A"],["b0a1","\u4E9C\u5516\u5A03\u963F\u54C0\u611B\u6328\u59F6\u9022\u8475\u831C\u7A50\u60AA\u63E1\u6E25\u65ED\u8466\u82A6\u9BF5\u6893\u5727\u65A1\u6271\u5B9B\u59D0\u867B\u98F4\u7D62\u7DBE\u9B8E\u6216\u7C9F\u88B7\u5B89\u5EB5\u6309\u6697\u6848\u95C7\u978D\u674F\u4EE5\u4F0A\u4F4D\u4F9D\u5049\u56F2\u5937\u59D4\u5A01\u5C09\u60DF\u610F\u6170\u6613\u6905\u70BA\u754F\u7570\u79FB\u7DAD\u7DEF\u80C3\u840E\u8863\u8B02\u9055\u907A\u533B\u4E95\u4EA5\u57DF\u80B2\u90C1\u78EF\u4E00\u58F1\u6EA2\u9038\u7A32\u8328\u828B\u9C2F\u5141\u5370\u54BD\u54E1\u56E0\u59FB\u5F15\u98F2\u6DEB\u80E4\u852D"],["b1a1","\u9662\u9670\u96A0\u97FB\u540B\u53F3\u5B87\u70CF\u7FBD\u8FC2\u96E8\u536F\u9D5C\u7ABA\u4E11\u7893\u81FC\u6E26\u5618\u5504\u6B1D\u851A\u9C3B\u59E5\u53A9\u6D66\u74DC\u958F\u5642\u4E91\u904B\u96F2\u834F\u990C\u53E1\u55B6\u5B30\u5F71\u6620\u66F3\u6804\u6C38\u6CF3\u6D29\u745B\u76C8\u7A4E\u9834\u82F1\u885B\u8A60\u92ED\u6DB2\u75AB\u76CA\u99C5\u60A6\u8B01\u8D8A\u95B2\u698E\u53AD\u5186\u5712\u5830\u5944\u5BB4\u5EF6\u6028\u63A9\u63F4\u6CBF\u6F14\u708E\u7114\u7159\u71D5\u733F\u7E01\u8276\u82D1\u8597\u9060\u925B\u9D1B\u5869\u65BC\u6C5A\u7525\u51F9\u592E\u5965\u5F80\u5FDC"],["b2a1","\u62BC\u65FA\u6A2A\u6B27\u6BB4\u738B\u7FC1\u8956\u9D2C\u9D0E\u9EC4\u5CA1\u6C96\u837B\u5104\u5C4B\u61B6\u81C6\u6876\u7261\u4E59\u4FFA\u5378\u6069\u6E29\u7A4F\u97F3\u4E0B\u5316\u4EEE\u4F55\u4F3D\u4FA1\u4F73\u52A0\u53EF\u5609\u590F\u5AC1\u5BB6\u5BE1\u79D1\u6687\u679C\u67B6\u6B4C\u6CB3\u706B\u73C2\u798D\u79BE\u7A3C\u7B87\u82B1\u82DB\u8304\u8377\u83EF\u83D3\u8766\u8AB2\u5629\u8CA8\u8FE6\u904E\u971E\u868A\u4FC4\u5CE8\u6211\u7259\u753B\u81E5\u82BD\u86FE\u8CC0\u96C5\u9913\u99D5\u4ECB\u4F1A\u89E3\u56DE\u584A\u58CA\u5EFB\u5FEB\u602A\u6094\u6062\u61D0\u6212\u62D0\u6539"],["b3a1","\u9B41\u6666\u68B0\u6D77\u7070\u754C\u7686\u7D75\u82A5\u87F9\u958B\u968E\u8C9D\u51F1\u52BE\u5916\u54B3\u5BB3\u5D16\u6168\u6982\u6DAF\u788D\u84CB\u8857\u8A72\u93A7\u9AB8\u6D6C\u99A8\u86D9\u57A3\u67FF\u86CE\u920E\u5283\u5687\u5404\u5ED3\u62E1\u64B9\u683C\u6838\u6BBB\u7372\u78BA\u7A6B\u899A\u89D2\u8D6B\u8F03\u90ED\u95A3\u9694\u9769\u5B66\u5CB3\u697D\u984D\u984E\u639B\u7B20\u6A2B\u6A7F\u68B6\u9C0D\u6F5F\u5272\u559D\u6070\u62EC\u6D3B\u6E07\u6ED1\u845B\u8910\u8F44\u4E14\u9C39\u53F6\u691B\u6A3A\u9784\u682A\u515C\u7AC3\u84B2\u91DC\u938C\u565B\u9D28\u6822\u8305\u8431"],["b4a1","\u7CA5\u5208\u82C5\u74E6\u4E7E\u4F83\u51A0\u5BD2\u520A\u52D8\u52E7\u5DFB\u559A\u582A\u59E6\u5B8C\u5B98\u5BDB\u5E72\u5E79\u60A3\u611F\u6163\u61BE\u63DB\u6562\u67D1\u6853\u68FA\u6B3E\u6B53\u6C57\u6F22\u6F97\u6F45\u74B0\u7518\u76E3\u770B\u7AFF\u7BA1\u7C21\u7DE9\u7F36\u7FF0\u809D\u8266\u839E\u89B3\u8ACC\u8CAB\u9084\u9451\u9593\u9591\u95A2\u9665\u97D3\u9928\u8218\u4E38\u542B\u5CB8\u5DCC\u73A9\u764C\u773C\u5CA9\u7FEB\u8D0B\u96C1\u9811\u9854\u9858\u4F01\u4F0E\u5371\u559C\u5668\u57FA\u5947\u5B09\u5BC4\u5C90\u5E0C\u5E7E\u5FCC\u63EE\u673A\u65D7\u65E2\u671F\u68CB\u68C4"],["b5a1","\u6A5F\u5E30\u6BC5\u6C17\u6C7D\u757F\u7948\u5B63\u7A00\u7D00\u5FBD\u898F\u8A18\u8CB4\u8D77\u8ECC\u8F1D\u98E2\u9A0E\u9B3C\u4E80\u507D\u5100\u5993\u5B9C\u622F\u6280\u64EC\u6B3A\u72A0\u7591\u7947\u7FA9\u87FB\u8ABC\u8B70\u63AC\u83CA\u97A0\u5409\u5403\u55AB\u6854\u6A58\u8A70\u7827\u6775\u9ECD\u5374\u5BA2\u811A\u8650\u9006\u4E18\u4E45\u4EC7\u4F11\u53CA\u5438\u5BAE\u5F13\u6025\u6551\u673D\u6C42\u6C72\u6CE3\u7078\u7403\u7A76\u7AAE\u7B08\u7D1A\u7CFE\u7D66\u65E7\u725B\u53BB\u5C45\u5DE8\u62D2\u62E0\u6319\u6E20\u865A\u8A31\u8DDD\u92F8\u6F01\u79A6\u9B5A\u4EA8\u4EAB\u4EAC"],["b6a1","\u4F9B\u4FA0\u50D1\u5147\u7AF6\u5171\u51F6\u5354\u5321\u537F\u53EB\u55AC\u5883\u5CE1\u5F37\u5F4A\u602F\u6050\u606D\u631F\u6559\u6A4B\u6CC1\u72C2\u72ED\u77EF\u80F8\u8105\u8208\u854E\u90F7\u93E1\u97FF\u9957\u9A5A\u4EF0\u51DD\u5C2D\u6681\u696D\u5C40\u66F2\u6975\u7389\u6850\u7C81\u50C5\u52E4\u5747\u5DFE\u9326\u65A4\u6B23\u6B3D\u7434\u7981\u79BD\u7B4B\u7DCA\u82B9\u83CC\u887F\u895F\u8B39\u8FD1\u91D1\u541F\u9280\u4E5D\u5036\u53E5\u533A\u72D7\u7396\u77E9\u82E6\u8EAF\u99C6\u99C8\u99D2\u5177\u611A\u865E\u55B0\u7A7A\u5076\u5BD3\u9047\u9685\u4E32\u6ADB\u91E7\u5C51\u5C48"],["b7a1","\u6398\u7A9F\u6C93\u9774\u8F61\u7AAA\u718A\u9688\u7C82\u6817\u7E70\u6851\u936C\u52F2\u541B\u85AB\u8A13\u7FA4\u8ECD\u90E1\u5366\u8888\u7941\u4FC2\u50BE\u5211\u5144\u5553\u572D\u73EA\u578B\u5951\u5F62\u5F84\u6075\u6176\u6167\u61A9\u63B2\u643A\u656C\u666F\u6842\u6E13\u7566\u7A3D\u7CFB\u7D4C\u7D99\u7E4B\u7F6B\u830E\u834A\u86CD\u8A08\u8A63\u8B66\u8EFD\u981A\u9D8F\u82B8\u8FCE\u9BE8\u5287\u621F\u6483\u6FC0\u9699\u6841\u5091\u6B20\u6C7A\u6F54\u7A74\u7D50\u8840\u8A23\u6708\u4EF6\u5039\u5026\u5065\u517C\u5238\u5263\u55A7\u570F\u5805\u5ACC\u5EFA\u61B2\u61F8\u62F3\u6372"],["b8a1","\u691C\u6A29\u727D\u72AC\u732E\u7814\u786F\u7D79\u770C\u80A9\u898B\u8B19\u8CE2\u8ED2\u9063\u9375\u967A\u9855\u9A13\u9E78\u5143\u539F\u53B3\u5E7B\u5F26\u6E1B\u6E90\u7384\u73FE\u7D43\u8237\u8A00\u8AFA\u9650\u4E4E\u500B\u53E4\u547C\u56FA\u59D1\u5B64\u5DF1\u5EAB\u5F27\u6238\u6545\u67AF\u6E56\u72D0\u7CCA\u88B4\u80A1\u80E1\u83F0\u864E\u8A87\u8DE8\u9237\u96C7\u9867\u9F13\u4E94\u4E92\u4F0D\u5348\u5449\u543E\u5A2F\u5F8C\u5FA1\u609F\u68A7\u6A8E\u745A\u7881\u8A9E\u8AA4\u8B77\u9190\u4E5E\u9BC9\u4EA4\u4F7C\u4FAF\u5019\u5016\u5149\u516C\u529F\u52B9\u52FE\u539A\u53E3\u5411"],["b9a1","\u540E\u5589\u5751\u57A2\u597D\u5B54\u5B5D\u5B8F\u5DE5\u5DE7\u5DF7\u5E78\u5E83\u5E9A\u5EB7\u5F18\u6052\u614C\u6297\u62D8\u63A7\u653B\u6602\u6643\u66F4\u676D\u6821\u6897\u69CB\u6C5F\u6D2A\u6D69\u6E2F\u6E9D\u7532\u7687\u786C\u7A3F\u7CE0\u7D05\u7D18\u7D5E\u7DB1\u8015\u8003\u80AF\u80B1\u8154\u818F\u822A\u8352\u884C\u8861\u8B1B\u8CA2\u8CFC\u90CA\u9175\u9271\u783F\u92FC\u95A4\u964D\u9805\u9999\u9AD8\u9D3B\u525B\u52AB\u53F7\u5408\u58D5\u62F7\u6FE0\u8C6A\u8F5F\u9EB9\u514B\u523B\u544A\u56FD\u7A40\u9177\u9D60\u9ED2\u7344\u6F09\u8170\u7511\u5FFD\u60DA\u9AA8\u72DB\u8FBC"],["baa1","\u6B64\u9803\u4ECA\u56F0\u5764\u58BE\u5A5A\u6068\u61C7\u660F\u6606\u6839\u68B1\u6DF7\u75D5\u7D3A\u826E\u9B42\u4E9B\u4F50\u53C9\u5506\u5D6F\u5DE6\u5DEE\u67FB\u6C99\u7473\u7802\u8A50\u9396\u88DF\u5750\u5EA7\u632B\u50B5\u50AC\u518D\u6700\u54C9\u585E\u59BB\u5BB0\u5F69\u624D\u63A1\u683D\u6B73\u6E08\u707D\u91C7\u7280\u7815\u7826\u796D\u658E\u7D30\u83DC\u88C1\u8F09\u969B\u5264\u5728\u6750\u7F6A\u8CA1\u51B4\u5742\u962A\u583A\u698A\u80B4\u54B2\u5D0E\u57FC\u7895\u9DFA\u4F5C\u524A\u548B\u643E\u6628\u6714\u67F5\u7A84\u7B56\u7D22\u932F\u685C\u9BAD\u7B39\u5319\u518A\u5237"],["bba1","\u5BDF\u62F6\u64AE\u64E6\u672D\u6BBA\u85A9\u96D1\u7690\u9BD6\u634C\u9306\u9BAB\u76BF\u6652\u4E09\u5098\u53C2\u5C71\u60E8\u6492\u6563\u685F\u71E6\u73CA\u7523\u7B97\u7E82\u8695\u8B83\u8CDB\u9178\u9910\u65AC\u66AB\u6B8B\u4ED5\u4ED4\u4F3A\u4F7F\u523A\u53F8\u53F2\u55E3\u56DB\u58EB\u59CB\u59C9\u59FF\u5B50\u5C4D\u5E02\u5E2B\u5FD7\u601D\u6307\u652F\u5B5C\u65AF\u65BD\u65E8\u679D\u6B62\u6B7B\u6C0F\u7345\u7949\u79C1\u7CF8\u7D19\u7D2B\u80A2\u8102\u81F3\u8996\u8A5E\u8A69\u8A66\u8A8C\u8AEE\u8CC7\u8CDC\u96CC\u98FC\u6B6F\u4E8B\u4F3C\u4F8D\u5150\u5B57\u5BFA\u6148\u6301\u6642"],["bca1","\u6B21\u6ECB\u6CBB\u723E\u74BD\u75D4\u78C1\u793A\u800C\u8033\u81EA\u8494\u8F9E\u6C50\u9E7F\u5F0F\u8B58\u9D2B\u7AFA\u8EF8\u5B8D\u96EB\u4E03\u53F1\u57F7\u5931\u5AC9\u5BA4\u6089\u6E7F\u6F06\u75BE\u8CEA\u5B9F\u8500\u7BE0\u5072\u67F4\u829D\u5C61\u854A\u7E1E\u820E\u5199\u5C04\u6368\u8D66\u659C\u716E\u793E\u7D17\u8005\u8B1D\u8ECA\u906E\u86C7\u90AA\u501F\u52FA\u5C3A\u6753\u707C\u7235\u914C\u91C8\u932B\u82E5\u5BC2\u5F31\u60F9\u4E3B\u53D6\u5B88\u624B\u6731\u6B8A\u72E9\u73E0\u7A2E\u816B\u8DA3\u9152\u9996\u5112\u53D7\u546A\u5BFF\u6388\u6A39\u7DAC\u9700\u56DA\u53CE\u5468"],["bda1","\u5B97\u5C31\u5DDE\u4FEE\u6101\u62FE\u6D32\u79C0\u79CB\u7D42\u7E4D\u7FD2\u81ED\u821F\u8490\u8846\u8972\u8B90\u8E74\u8F2F\u9031\u914B\u916C\u96C6\u919C\u4EC0\u4F4F\u5145\u5341\u5F93\u620E\u67D4\u6C41\u6E0B\u7363\u7E26\u91CD\u9283\u53D4\u5919\u5BBF\u6DD1\u795D\u7E2E\u7C9B\u587E\u719F\u51FA\u8853\u8FF0\u4FCA\u5CFB\u6625\u77AC\u7AE3\u821C\u99FF\u51C6\u5FAA\u65EC\u696F\u6B89\u6DF3\u6E96\u6F64\u76FE\u7D14\u5DE1\u9075\u9187\u9806\u51E6\u521D\u6240\u6691\u66D9\u6E1A\u5EB6\u7DD2\u7F72\u66F8\u85AF\u85F7\u8AF8\u52A9\u53D9\u5973\u5E8F\u5F90\u6055\u92E4\u9664\u50B7\u511F"],["bea1","\u52DD\u5320\u5347\u53EC\u54E8\u5546\u5531\u5617\u5968\u59BE\u5A3C\u5BB5\u5C06\u5C0F\u5C11\u5C1A\u5E84\u5E8A\u5EE0\u5F70\u627F\u6284\u62DB\u638C\u6377\u6607\u660C\u662D\u6676\u677E\u68A2\u6A1F\u6A35\u6CBC\u6D88\u6E09\u6E58\u713C\u7126\u7167\u75C7\u7701\u785D\u7901\u7965\u79F0\u7AE0\u7B11\u7CA7\u7D39\u8096\u83D6\u848B\u8549\u885D\u88F3\u8A1F\u8A3C\u8A54\u8A73\u8C61\u8CDE\u91A4\u9266\u937E\u9418\u969C\u9798\u4E0A\u4E08\u4E1E\u4E57\u5197\u5270\u57CE\u5834\u58CC\u5B22\u5E38\u60C5\u64FE\u6761\u6756\u6D44\u72B6\u7573\u7A63\u84B8\u8B72\u91B8\u9320\u5631\u57F4\u98FE"],["bfa1","\u62ED\u690D\u6B96\u71ED\u7E54\u8077\u8272\u89E6\u98DF\u8755\u8FB1\u5C3B\u4F38\u4FE1\u4FB5\u5507\u5A20\u5BDD\u5BE9\u5FC3\u614E\u632F\u65B0\u664B\u68EE\u699B\u6D78\u6DF1\u7533\u75B9\u771F\u795E\u79E6\u7D33\u81E3\u82AF\u85AA\u89AA\u8A3A\u8EAB\u8F9B\u9032\u91DD\u9707\u4EBA\u4EC1\u5203\u5875\u58EC\u5C0B\u751A\u5C3D\u814E\u8A0A\u8FC5\u9663\u976D\u7B25\u8ACF\u9808\u9162\u56F3\u53A8\u9017\u5439\u5782\u5E25\u63A8\u6C34\u708A\u7761\u7C8B\u7FE0\u8870\u9042\u9154\u9310\u9318\u968F\u745E\u9AC4\u5D07\u5D69\u6570\u67A2\u8DA8\u96DB\u636E\u6749\u6919\u83C5\u9817\u96C0\u88FE"],["c0a1","\u6F84\u647A\u5BF8\u4E16\u702C\u755D\u662F\u51C4\u5236\u52E2\u59D3\u5F81\u6027\u6210\u653F\u6574\u661F\u6674\u68F2\u6816\u6B63\u6E05\u7272\u751F\u76DB\u7CBE\u8056\u58F0\u88FD\u897F\u8AA0\u8A93\u8ACB\u901D\u9192\u9752\u9759\u6589\u7A0E\u8106\u96BB\u5E2D\u60DC\u621A\u65A5\u6614\u6790\u77F3\u7A4D\u7C4D\u7E3E\u810A\u8CAC\u8D64\u8DE1\u8E5F\u78A9\u5207\u62D9\u63A5\u6442\u6298\u8A2D\u7A83\u7BC0\u8AAC\u96EA\u7D76\u820C\u8749\u4ED9\u5148\u5343\u5360\u5BA3\u5C02\u5C16\u5DDD\u6226\u6247\u64B0\u6813\u6834\u6CC9\u6D45\u6D17\u67D3\u6F5C\u714E\u717D\u65CB\u7A7F\u7BAD\u7DDA"],["c1a1","\u7E4A\u7FA8\u817A\u821B\u8239\u85A6\u8A6E\u8CCE\u8DF5\u9078\u9077\u92AD\u9291\u9583\u9BAE\u524D\u5584\u6F38\u7136\u5168\u7985\u7E55\u81B3\u7CCE\u564C\u5851\u5CA8\u63AA\u66FE\u66FD\u695A\u72D9\u758F\u758E\u790E\u7956\u79DF\u7C97\u7D20\u7D44\u8607\u8A34\u963B\u9061\u9F20\u50E7\u5275\u53CC\u53E2\u5009\u55AA\u58EE\u594F\u723D\u5B8B\u5C64\u531D\u60E3\u60F3\u635C\u6383\u633F\u63BB\u64CD\u65E9\u66F9\u5DE3\u69CD\u69FD\u6F15\u71E5\u4E89\u75E9\u76F8\u7A93\u7CDF\u7DCF\u7D9C\u8061\u8349\u8358\u846C\u84BC\u85FB\u88C5\u8D70\u9001\u906D\u9397\u971C\u9A12\u50CF\u5897\u618E"],["c2a1","\u81D3\u8535\u8D08\u9020\u4FC3\u5074\u5247\u5373\u606F\u6349\u675F\u6E2C\u8DB3\u901F\u4FD7\u5C5E\u8CCA\u65CF\u7D9A\u5352\u8896\u5176\u63C3\u5B58\u5B6B\u5C0A\u640D\u6751\u905C\u4ED6\u591A\u592A\u6C70\u8A51\u553E\u5815\u59A5\u60F0\u6253\u67C1\u8235\u6955\u9640\u99C4\u9A28\u4F53\u5806\u5BFE\u8010\u5CB1\u5E2F\u5F85\u6020\u614B\u6234\u66FF\u6CF0\u6EDE\u80CE\u817F\u82D4\u888B\u8CB8\u9000\u902E\u968A\u9EDB\u9BDB\u4EE3\u53F0\u5927\u7B2C\u918D\u984C\u9DF9\u6EDD\u7027\u5353\u5544\u5B85\u6258\u629E\u62D3\u6CA2\u6FEF\u7422\u8A17\u9438\u6FC1\u8AFE\u8338\u51E7\u86F8\u53EA"],["c3a1","\u53E9\u4F46\u9054\u8FB0\u596A\u8131\u5DFD\u7AEA\u8FBF\u68DA\u8C37\u72F8\u9C48\u6A3D\u8AB0\u4E39\u5358\u5606\u5766\u62C5\u63A2\u65E6\u6B4E\u6DE1\u6E5B\u70AD\u77ED\u7AEF\u7BAA\u7DBB\u803D\u80C6\u86CB\u8A95\u935B\u56E3\u58C7\u5F3E\u65AD\u6696\u6A80\u6BB5\u7537\u8AC7\u5024\u77E5\u5730\u5F1B\u6065\u667A\u6C60\u75F4\u7A1A\u7F6E\u81F4\u8718\u9045\u99B3\u7BC9\u755C\u7AF9\u7B51\u84C4\u9010\u79E9\u7A92\u8336\u5AE1\u7740\u4E2D\u4EF2\u5B99\u5FE0\u62BD\u663C\u67F1\u6CE8\u866B\u8877\u8A3B\u914E\u92F3\u99D0\u6A17\u7026\u732A\u82E7\u8457\u8CAF\u4E01\u5146\u51CB\u558B\u5BF5"],["c4a1","\u5E16\u5E33\u5E81\u5F14\u5F35\u5F6B\u5FB4\u61F2\u6311\u66A2\u671D\u6F6E\u7252\u753A\u773A\u8074\u8139\u8178\u8776\u8ABF\u8ADC\u8D85\u8DF3\u929A\u9577\u9802\u9CE5\u52C5\u6357\u76F4\u6715\u6C88\u73CD\u8CC3\u93AE\u9673\u6D25\u589C\u690E\u69CC\u8FFD\u939A\u75DB\u901A\u585A\u6802\u63B4\u69FB\u4F43\u6F2C\u67D8\u8FBB\u8526\u7DB4\u9354\u693F\u6F70\u576A\u58F7\u5B2C\u7D2C\u722A\u540A\u91E3\u9DB4\u4EAD\u4F4E\u505C\u5075\u5243\u8C9E\u5448\u5824\u5B9A\u5E1D\u5E95\u5EAD\u5EF7\u5F1F\u608C\u62B5\u633A\u63D0\u68AF\u6C40\u7887\u798E\u7A0B\u7DE0\u8247\u8A02\u8AE6\u8E44\u9013"],["c5a1","\u90B8\u912D\u91D8\u9F0E\u6CE5\u6458\u64E2\u6575\u6EF4\u7684\u7B1B\u9069\u93D1\u6EBA\u54F2\u5FB9\u64A4\u8F4D\u8FED\u9244\u5178\u586B\u5929\u5C55\u5E97\u6DFB\u7E8F\u751C\u8CBC\u8EE2\u985B\u70B9\u4F1D\u6BBF\u6FB1\u7530\u96FB\u514E\u5410\u5835\u5857\u59AC\u5C60\u5F92\u6597\u675C\u6E21\u767B\u83DF\u8CED\u9014\u90FD\u934D\u7825\u783A\u52AA\u5EA6\u571F\u5974\u6012\u5012\u515A\u51AC\u51CD\u5200\u5510\u5854\u5858\u5957\u5B95\u5CF6\u5D8B\u60BC\u6295\u642D\u6771\u6843\u68BC\u68DF\u76D7\u6DD8\u6E6F\u6D9B\u706F\u71C8\u5F53\u75D8\u7977\u7B49\u7B54\u7B52\u7CD6\u7D71\u5230"],["c6a1","\u8463\u8569\u85E4\u8A0E\u8B04\u8C46\u8E0F\u9003\u900F\u9419\u9676\u982D\u9A30\u95D8\u50CD\u52D5\u540C\u5802\u5C0E\u61A7\u649E\u6D1E\u77B3\u7AE5\u80F4\u8404\u9053\u9285\u5CE0\u9D07\u533F\u5F97\u5FB3\u6D9C\u7279\u7763\u79BF\u7BE4\u6BD2\u72EC\u8AAD\u6803\u6A61\u51F8\u7A81\u6934\u5C4A\u9CF6\u82EB\u5BC5\u9149\u701E\u5678\u5C6F\u60C7\u6566\u6C8C\u8C5A\u9041\u9813\u5451\u66C7\u920D\u5948\u90A3\u5185\u4E4D\u51EA\u8599\u8B0E\u7058\u637A\u934B\u6962\u99B4\u7E04\u7577\u5357\u6960\u8EDF\u96E3\u6C5D\u4E8C\u5C3C\u5F10\u8FE9\u5302\u8CD1\u8089\u8679\u5EFF\u65E5\u4E73\u5165"],["c7a1","\u5982\u5C3F\u97EE\u4EFB\u598A\u5FCD\u8A8D\u6FE1\u79B0\u7962\u5BE7\u8471\u732B\u71B1\u5E74\u5FF5\u637B\u649A\u71C3\u7C98\u4E43\u5EFC\u4E4B\u57DC\u56A2\u60A9\u6FC3\u7D0D\u80FD\u8133\u81BF\u8FB2\u8997\u86A4\u5DF4\u628A\u64AD\u8987\u6777\u6CE2\u6D3E\u7436\u7834\u5A46\u7F75\u82AD\u99AC\u4FF3\u5EC3\u62DD\u6392\u6557\u676F\u76C3\u724C\u80CC\u80BA\u8F29\u914D\u500D\u57F9\u5A92\u6885\u6973\u7164\u72FD\u8CB7\u58F2\u8CE0\u966A\u9019\u877F\u79E4\u77E7\u8429\u4F2F\u5265\u535A\u62CD\u67CF\u6CCA\u767D\u7B94\u7C95\u8236\u8584\u8FEB\u66DD\u6F20\u7206\u7E1B\u83AB\u99C1\u9EA6"],["c8a1","\u51FD\u7BB1\u7872\u7BB8\u8087\u7B48\u6AE8\u5E61\u808C\u7551\u7560\u516B\u9262\u6E8C\u767A\u9197\u9AEA\u4F10\u7F70\u629C\u7B4F\u95A5\u9CE9\u567A\u5859\u86E4\u96BC\u4F34\u5224\u534A\u53CD\u53DB\u5E06\u642C\u6591\u677F\u6C3E\u6C4E\u7248\u72AF\u73ED\u7554\u7E41\u822C\u85E9\u8CA9\u7BC4\u91C6\u7169\u9812\u98EF\u633D\u6669\u756A\u76E4\u78D0\u8543\u86EE\u532A\u5351\u5426\u5983\u5E87\u5F7C\u60B2\u6249\u6279\u62AB\u6590\u6BD4\u6CCC\u75B2\u76AE\u7891\u79D8\u7DCB\u7F77\u80A5\u88AB\u8AB9\u8CBB\u907F\u975E\u98DB\u6A0B\u7C38\u5099\u5C3E\u5FAE\u6787\u6BD8\u7435\u7709\u7F8E"],["c9a1","\u9F3B\u67CA\u7A17\u5339\u758B\u9AED\u5F66\u819D\u83F1\u8098\u5F3C\u5FC5\u7562\u7B46\u903C\u6867\u59EB\u5A9B\u7D10\u767E\u8B2C\u4FF5\u5F6A\u6A19\u6C37\u6F02\u74E2\u7968\u8868\u8A55\u8C79\u5EDF\u63CF\u75C5\u79D2\u82D7\u9328\u92F2\u849C\u86ED\u9C2D\u54C1\u5F6C\u658C\u6D5C\u7015\u8CA7\u8CD3\u983B\u654F\u74F6\u4E0D\u4ED8\u57E0\u592B\u5A66\u5BCC\u51A8\u5E03\u5E9C\u6016\u6276\u6577\u65A7\u666E\u6D6E\u7236\u7B26\u8150\u819A\u8299\u8B5C\u8CA0\u8CE6\u8D74\u961C\u9644\u4FAE\u64AB\u6B66\u821E\u8461\u856A\u90E8\u5C01\u6953\u98A8\u847A\u8557\u4F0F\u526F\u5FA9\u5E45\u670D"],["caa1","\u798F\u8179\u8907\u8986\u6DF5\u5F17\u6255\u6CB8\u4ECF\u7269\u9B92\u5206\u543B\u5674\u58B3\u61A4\u626E\u711A\u596E\u7C89\u7CDE\u7D1B\u96F0\u6587\u805E\u4E19\u4F75\u5175\u5840\u5E63\u5E73\u5F0A\u67C4\u4E26\u853D\u9589\u965B\u7C73\u9801\u50FB\u58C1\u7656\u78A7\u5225\u77A5\u8511\u7B86\u504F\u5909\u7247\u7BC7\u7DE8\u8FBA\u8FD4\u904D\u4FBF\u52C9\u5A29\u5F01\u97AD\u4FDD\u8217\u92EA\u5703\u6355\u6B69\u752B\u88DC\u8F14\u7A42\u52DF\u5893\u6155\u620A\u66AE\u6BCD\u7C3F\u83E9\u5023\u4FF8\u5305\u5446\u5831\u5949\u5B9D\u5CF0\u5CEF\u5D29\u5E96\u62B1\u6367\u653E\u65B9\u670B"],["cba1","\u6CD5\u6CE1\u70F9\u7832\u7E2B\u80DE\u82B3\u840C\u84EC\u8702\u8912\u8A2A\u8C4A\u90A6\u92D2\u98FD\u9CF3\u9D6C\u4E4F\u4EA1\u508D\u5256\u574A\u59A8\u5E3D\u5FD8\u5FD9\u623F\u66B4\u671B\u67D0\u68D2\u5192\u7D21\u80AA\u81A8\u8B00\u8C8C\u8CBF\u927E\u9632\u5420\u982C\u5317\u50D5\u535C\u58A8\u64B2\u6734\u7267\u7766\u7A46\u91E6\u52C3\u6CA1\u6B86\u5800\u5E4C\u5954\u672C\u7FFB\u51E1\u76C6\u6469\u78E8\u9B54\u9EBB\u57CB\u59B9\u6627\u679A\u6BCE\u54E9\u69D9\u5E55\u819C\u6795\u9BAA\u67FE\u9C52\u685D\u4EA6\u4FE3\u53C8\u62B9\u672B\u6CAB\u8FC4\u4FAD\u7E6D\u9EBF\u4E07\u6162\u6E80"],["cca1","\u6F2B\u8513\u5473\u672A\u9B45\u5DF3\u7B95\u5CAC\u5BC6\u871C\u6E4A\u84D1\u7A14\u8108\u5999\u7C8D\u6C11\u7720\u52D9\u5922\u7121\u725F\u77DB\u9727\u9D61\u690B\u5A7F\u5A18\u51A5\u540D\u547D\u660E\u76DF\u8FF7\u9298\u9CF4\u59EA\u725D\u6EC5\u514D\u68C9\u7DBF\u7DEC\u9762\u9EBA\u6478\u6A21\u8302\u5984\u5B5F\u6BDB\u731B\u76F2\u7DB2\u8017\u8499\u5132\u6728\u9ED9\u76EE\u6762\u52FF\u9905\u5C24\u623B\u7C7E\u8CB0\u554F\u60B6\u7D0B\u9580\u5301\u4E5F\u51B6\u591C\u723A\u8036\u91CE\u5F25\u77E2\u5384\u5F79\u7D04\u85AC\u8A33\u8E8D\u9756\u67F3\u85AE\u9453\u6109\u6108\u6CB9\u7652"],["cda1","\u8AED\u8F38\u552F\u4F51\u512A\u52C7\u53CB\u5BA5\u5E7D\u60A0\u6182\u63D6\u6709\u67DA\u6E67\u6D8C\u7336\u7337\u7531\u7950\u88D5\u8A98\u904A\u9091\u90F5\u96C4\u878D\u5915\u4E88\u4F59\u4E0E\u8A89\u8F3F\u9810\u50AD\u5E7C\u5996\u5BB9\u5EB8\u63DA\u63FA\u64C1\u66DC\u694A\u69D8\u6D0B\u6EB6\u7194\u7528\u7AAF\u7F8A\u8000\u8449\u84C9\u8981\u8B21\u8E0A\u9065\u967D\u990A\u617E\u6291\u6B32\u6C83\u6D74\u7FCC\u7FFC\u6DC0\u7F85\u87BA\u88F8\u6765\u83B1\u983C\u96F7\u6D1B\u7D61\u843D\u916A\u4E71\u5375\u5D50\u6B04\u6FEB\u85CD\u862D\u89A7\u5229\u540F\u5C65\u674E\u68A8\u7406\u7483"],["cea1","\u75E2\u88CF\u88E1\u91CC\u96E2\u9678\u5F8B\u7387\u7ACB\u844E\u63A0\u7565\u5289\u6D41\u6E9C\u7409\u7559\u786B\u7C92\u9686\u7ADC\u9F8D\u4FB6\u616E\u65C5\u865C\u4E86\u4EAE\u50DA\u4E21\u51CC\u5BEE\u6599\u6881\u6DBC\u731F\u7642\u77AD\u7A1C\u7CE7\u826F\u8AD2\u907C\u91CF\u9675\u9818\u529B\u7DD1\u502B\u5398\u6797\u6DCB\u71D0\u7433\u81E8\u8F2A\u96A3\u9C57\u9E9F\u7460\u5841\u6D99\u7D2F\u985E\u4EE4\u4F36\u4F8B\u51B7\u52B1\u5DBA\u601C\u73B2\u793C\u82D3\u9234\u96B7\u96F6\u970A\u9E97\u9F62\u66A6\u6B74\u5217\u52A3\u70C8\u88C2\u5EC9\u604B\u6190\u6F23\u7149\u7C3E\u7DF4\u806F"],["cfa1","\u84EE\u9023\u932C\u5442\u9B6F\u6AD3\u7089\u8CC2\u8DEF\u9732\u52B4\u5A41\u5ECA\u5F04\u6717\u697C\u6994\u6D6A\u6F0F\u7262\u72FC\u7BED\u8001\u807E\u874B\u90CE\u516D\u9E93\u7984\u808B\u9332\u8AD6\u502D\u548C\u8A71\u6B6A\u8CC4\u8107\u60D1\u67A0\u9DF2\u4E99\u4E98\u9C10\u8A6B\u85C1\u8568\u6900\u6E7E\u7897\u8155"],["d0a1","\u5F0C\u4E10\u4E15\u4E2A\u4E31\u4E36\u4E3C\u4E3F\u4E42\u4E56\u4E58\u4E82\u4E85\u8C6B\u4E8A\u8212\u5F0D\u4E8E\u4E9E\u4E9F\u4EA0\u4EA2\u4EB0\u4EB3\u4EB6\u4ECE\u4ECD\u4EC4\u4EC6\u4EC2\u4ED7\u4EDE\u4EED\u4EDF\u4EF7\u4F09\u4F5A\u4F30\u4F5B\u4F5D\u4F57\u4F47\u4F76\u4F88\u4F8F\u4F98\u4F7B\u4F69\u4F70\u4F91\u4F6F\u4F86\u4F96\u5118\u4FD4\u4FDF\u4FCE\u4FD8\u4FDB\u4FD1\u4FDA\u4FD0\u4FE4\u4FE5\u501A\u5028\u5014\u502A\u5025\u5005\u4F1C\u4FF6\u5021\u5029\u502C\u4FFE\u4FEF\u5011\u5006\u5043\u5047\u6703\u5055\u5050\u5048\u505A\u5056\u506C\u5078\u5080\u509A\u5085\u50B4\u50B2"],["d1a1","\u50C9\u50CA\u50B3\u50C2\u50D6\u50DE\u50E5\u50ED\u50E3\u50EE\u50F9\u50F5\u5109\u5101\u5102\u5116\u5115\u5114\u511A\u5121\u513A\u5137\u513C\u513B\u513F\u5140\u5152\u514C\u5154\u5162\u7AF8\u5169\u516A\u516E\u5180\u5182\u56D8\u518C\u5189\u518F\u5191\u5193\u5195\u5196\u51A4\u51A6\u51A2\u51A9\u51AA\u51AB\u51B3\u51B1\u51B2\u51B0\u51B5\u51BD\u51C5\u51C9\u51DB\u51E0\u8655\u51E9\u51ED\u51F0\u51F5\u51FE\u5204\u520B\u5214\u520E\u5227\u522A\u522E\u5233\u5239\u524F\u5244\u524B\u524C\u525E\u5254\u526A\u5274\u5269\u5273\u527F\u527D\u528D\u5294\u5292\u5271\u5288\u5291\u8FA8"],["d2a1","\u8FA7\u52AC\u52AD\u52BC\u52B5\u52C1\u52CD\u52D7\u52DE\u52E3\u52E6\u98ED\u52E0\u52F3\u52F5\u52F8\u52F9\u5306\u5308\u7538\u530D\u5310\u530F\u5315\u531A\u5323\u532F\u5331\u5333\u5338\u5340\u5346\u5345\u4E17\u5349\u534D\u51D6\u535E\u5369\u536E\u5918\u537B\u5377\u5382\u5396\u53A0\u53A6\u53A5\u53AE\u53B0\u53B6\u53C3\u7C12\u96D9\u53DF\u66FC\u71EE\u53EE\u53E8\u53ED\u53FA\u5401\u543D\u5440\u542C\u542D\u543C\u542E\u5436\u5429\u541D\u544E\u548F\u5475\u548E\u545F\u5471\u5477\u5470\u5492\u547B\u5480\u5476\u5484\u5490\u5486\u54C7\u54A2\u54B8\u54A5\u54AC\u54C4\u54C8\u54A8"],["d3a1","\u54AB\u54C2\u54A4\u54BE\u54BC\u54D8\u54E5\u54E6\u550F\u5514\u54FD\u54EE\u54ED\u54FA\u54E2\u5539\u5540\u5563\u554C\u552E\u555C\u5545\u5556\u5557\u5538\u5533\u555D\u5599\u5580\u54AF\u558A\u559F\u557B\u557E\u5598\u559E\u55AE\u557C\u5583\u55A9\u5587\u55A8\u55DA\u55C5\u55DF\u55C4\u55DC\u55E4\u55D4\u5614\u55F7\u5616\u55FE\u55FD\u561B\u55F9\u564E\u5650\u71DF\u5634\u5636\u5632\u5638\u566B\u5664\u562F\u566C\u566A\u5686\u5680\u568A\u56A0\u5694\u568F\u56A5\u56AE\u56B6\u56B4\u56C2\u56BC\u56C1\u56C3\u56C0\u56C8\u56CE\u56D1\u56D3\u56D7\u56EE\u56F9\u5700\u56FF\u5704\u5709"],["d4a1","\u5708\u570B\u570D\u5713\u5718\u5716\u55C7\u571C\u5726\u5737\u5738\u574E\u573B\u5740\u574F\u5769\u57C0\u5788\u5761\u577F\u5789\u5793\u57A0\u57B3\u57A4\u57AA\u57B0\u57C3\u57C6\u57D4\u57D2\u57D3\u580A\u57D6\u57E3\u580B\u5819\u581D\u5872\u5821\u5862\u584B\u5870\u6BC0\u5852\u583D\u5879\u5885\u58B9\u589F\u58AB\u58BA\u58DE\u58BB\u58B8\u58AE\u58C5\u58D3\u58D1\u58D7\u58D9\u58D8\u58E5\u58DC\u58E4\u58DF\u58EF\u58FA\u58F9\u58FB\u58FC\u58FD\u5902\u590A\u5910\u591B\u68A6\u5925\u592C\u592D\u5932\u5938\u593E\u7AD2\u5955\u5950\u594E\u595A\u5958\u5962\u5960\u5967\u596C\u5969"],["d5a1","\u5978\u5981\u599D\u4F5E\u4FAB\u59A3\u59B2\u59C6\u59E8\u59DC\u598D\u59D9\u59DA\u5A25\u5A1F\u5A11\u5A1C\u5A09\u5A1A\u5A40\u5A6C\u5A49\u5A35\u5A36\u5A62\u5A6A\u5A9A\u5ABC\u5ABE\u5ACB\u5AC2\u5ABD\u5AE3\u5AD7\u5AE6\u5AE9\u5AD6\u5AFA\u5AFB\u5B0C\u5B0B\u5B16\u5B32\u5AD0\u5B2A\u5B36\u5B3E\u5B43\u5B45\u5B40\u5B51\u5B55\u5B5A\u5B5B\u5B65\u5B69\u5B70\u5B73\u5B75\u5B78\u6588\u5B7A\u5B80\u5B83\u5BA6\u5BB8\u5BC3\u5BC7\u5BC9\u5BD4\u5BD0\u5BE4\u5BE6\u5BE2\u5BDE\u5BE5\u5BEB\u5BF0\u5BF6\u5BF3\u5C05\u5C07\u5C08\u5C0D\u5C13\u5C20\u5C22\u5C28\u5C38\u5C39\u5C41\u5C46\u5C4E\u5C53"],["d6a1","\u5C50\u5C4F\u5B71\u5C6C\u5C6E\u4E62\u5C76\u5C79\u5C8C\u5C91\u5C94\u599B\u5CAB\u5CBB\u5CB6\u5CBC\u5CB7\u5CC5\u5CBE\u5CC7\u5CD9\u5CE9\u5CFD\u5CFA\u5CED\u5D8C\u5CEA\u5D0B\u5D15\u5D17\u5D5C\u5D1F\u5D1B\u5D11\u5D14\u5D22\u5D1A\u5D19\u5D18\u5D4C\u5D52\u5D4E\u5D4B\u5D6C\u5D73\u5D76\u5D87\u5D84\u5D82\u5DA2\u5D9D\u5DAC\u5DAE\u5DBD\u5D90\u5DB7\u5DBC\u5DC9\u5DCD\u5DD3\u5DD2\u5DD6\u5DDB\u5DEB\u5DF2\u5DF5\u5E0B\u5E1A\u5E19\u5E11\u5E1B\u5E36\u5E37\u5E44\u5E43\u5E40\u5E4E\u5E57\u5E54\u5E5F\u5E62\u5E64\u5E47\u5E75\u5E76\u5E7A\u9EBC\u5E7F\u5EA0\u5EC1\u5EC2\u5EC8\u5ED0\u5ECF"],["d7a1","\u5ED6\u5EE3\u5EDD\u5EDA\u5EDB\u5EE2\u5EE1\u5EE8\u5EE9\u5EEC\u5EF1\u5EF3\u5EF0\u5EF4\u5EF8\u5EFE\u5F03\u5F09\u5F5D\u5F5C\u5F0B\u5F11\u5F16\u5F29\u5F2D\u5F38\u5F41\u5F48\u5F4C\u5F4E\u5F2F\u5F51\u5F56\u5F57\u5F59\u5F61\u5F6D\u5F73\u5F77\u5F83\u5F82\u5F7F\u5F8A\u5F88\u5F91\u5F87\u5F9E\u5F99\u5F98\u5FA0\u5FA8\u5FAD\u5FBC\u5FD6\u5FFB\u5FE4\u5FF8\u5FF1\u5FDD\u60B3\u5FFF\u6021\u6060\u6019\u6010\u6029\u600E\u6031\u601B\u6015\u602B\u6026\u600F\u603A\u605A\u6041\u606A\u6077\u605F\u604A\u6046\u604D\u6063\u6043\u6064\u6042\u606C\u606B\u6059\u6081\u608D\u60E7\u6083\u609A"],["d8a1","\u6084\u609B\u6096\u6097\u6092\u60A7\u608B\u60E1\u60B8\u60E0\u60D3\u60B4\u5FF0\u60BD\u60C6\u60B5\u60D8\u614D\u6115\u6106\u60F6\u60F7\u6100\u60F4\u60FA\u6103\u6121\u60FB\u60F1\u610D\u610E\u6147\u613E\u6128\u6127\u614A\u613F\u613C\u612C\u6134\u613D\u6142\u6144\u6173\u6177\u6158\u6159\u615A\u616B\u6174\u616F\u6165\u6171\u615F\u615D\u6153\u6175\u6199\u6196\u6187\u61AC\u6194\u619A\u618A\u6191\u61AB\u61AE\u61CC\u61CA\u61C9\u61F7\u61C8\u61C3\u61C6\u61BA\u61CB\u7F79\u61CD\u61E6\u61E3\u61F6\u61FA\u61F4\u61FF\u61FD\u61FC\u61FE\u6200\u6208\u6209\u620D\u620C\u6214\u621B"],["d9a1","\u621E\u6221\u622A\u622E\u6230\u6232\u6233\u6241\u624E\u625E\u6263\u625B\u6260\u6268\u627C\u6282\u6289\u627E\u6292\u6293\u6296\u62D4\u6283\u6294\u62D7\u62D1\u62BB\u62CF\u62FF\u62C6\u64D4\u62C8\u62DC\u62CC\u62CA\u62C2\u62C7\u629B\u62C9\u630C\u62EE\u62F1\u6327\u6302\u6308\u62EF\u62F5\u6350\u633E\u634D\u641C\u634F\u6396\u638E\u6380\u63AB\u6376\u63A3\u638F\u6389\u639F\u63B5\u636B\u6369\u63BE\u63E9\u63C0\u63C6\u63E3\u63C9\u63D2\u63F6\u63C4\u6416\u6434\u6406\u6413\u6426\u6436\u651D\u6417\u6428\u640F\u6467\u646F\u6476\u644E\u652A\u6495\u6493\u64A5\u64A9\u6488\u64BC"],["daa1","\u64DA\u64D2\u64C5\u64C7\u64BB\u64D8\u64C2\u64F1\u64E7\u8209\u64E0\u64E1\u62AC\u64E3\u64EF\u652C\u64F6\u64F4\u64F2\u64FA\u6500\u64FD\u6518\u651C\u6505\u6524\u6523\u652B\u6534\u6535\u6537\u6536\u6538\u754B\u6548\u6556\u6555\u654D\u6558\u655E\u655D\u6572\u6578\u6582\u6583\u8B8A\u659B\u659F\u65AB\u65B7\u65C3\u65C6\u65C1\u65C4\u65CC\u65D2\u65DB\u65D9\u65E0\u65E1\u65F1\u6772\u660A\u6603\u65FB\u6773\u6635\u6636\u6634\u661C\u664F\u6644\u6649\u6641\u665E\u665D\u6664\u6667\u6668\u665F\u6662\u6670\u6683\u6688\u668E\u6689\u6684\u6698\u669D\u66C1\u66B9\u66C9\u66BE\u66BC"],["dba1","\u66C4\u66B8\u66D6\u66DA\u66E0\u663F\u66E6\u66E9\u66F0\u66F5\u66F7\u670F\u6716\u671E\u6726\u6727\u9738\u672E\u673F\u6736\u6741\u6738\u6737\u6746\u675E\u6760\u6759\u6763\u6764\u6789\u6770\u67A9\u677C\u676A\u678C\u678B\u67A6\u67A1\u6785\u67B7\u67EF\u67B4\u67EC\u67B3\u67E9\u67B8\u67E4\u67DE\u67DD\u67E2\u67EE\u67B9\u67CE\u67C6\u67E7\u6A9C\u681E\u6846\u6829\u6840\u684D\u6832\u684E\u68B3\u682B\u6859\u6863\u6877\u687F\u689F\u688F\u68AD\u6894\u689D\u689B\u6883\u6AAE\u68B9\u6874\u68B5\u68A0\u68BA\u690F\u688D\u687E\u6901\u68CA\u6908\u68D8\u6922\u6926\u68E1\u690C\u68CD"],["dca1","\u68D4\u68E7\u68D5\u6936\u6912\u6904\u68D7\u68E3\u6925\u68F9\u68E0\u68EF\u6928\u692A\u691A\u6923\u6921\u68C6\u6979\u6977\u695C\u6978\u696B\u6954\u697E\u696E\u6939\u6974\u693D\u6959\u6930\u6961\u695E\u695D\u6981\u696A\u69B2\u69AE\u69D0\u69BF\u69C1\u69D3\u69BE\u69CE\u5BE8\u69CA\u69DD\u69BB\u69C3\u69A7\u6A2E\u6991\u69A0\u699C\u6995\u69B4\u69DE\u69E8\u6A02\u6A1B\u69FF\u6B0A\u69F9\u69F2\u69E7\u6A05\u69B1\u6A1E\u69ED\u6A14\u69EB\u6A0A\u6A12\u6AC1\u6A23\u6A13\u6A44\u6A0C\u6A72\u6A36\u6A78\u6A47\u6A62\u6A59\u6A66\u6A48\u6A38\u6A22\u6A90\u6A8D\u6AA0\u6A84\u6AA2\u6AA3"],["dda1","\u6A97\u8617\u6ABB\u6AC3\u6AC2\u6AB8\u6AB3\u6AAC\u6ADE\u6AD1\u6ADF\u6AAA\u6ADA\u6AEA\u6AFB\u6B05\u8616\u6AFA\u6B12\u6B16\u9B31\u6B1F\u6B38\u6B37\u76DC\u6B39\u98EE\u6B47\u6B43\u6B49\u6B50\u6B59\u6B54\u6B5B\u6B5F\u6B61\u6B78\u6B79\u6B7F\u6B80\u6B84\u6B83\u6B8D\u6B98\u6B95\u6B9E\u6BA4\u6BAA\u6BAB\u6BAF\u6BB2\u6BB1\u6BB3\u6BB7\u6BBC\u6BC6\u6BCB\u6BD3\u6BDF\u6BEC\u6BEB\u6BF3\u6BEF\u9EBE\u6C08\u6C13\u6C14\u6C1B\u6C24\u6C23\u6C5E\u6C55\u6C62\u6C6A\u6C82\u6C8D\u6C9A\u6C81\u6C9B\u6C7E\u6C68\u6C73\u6C92\u6C90\u6CC4\u6CF1\u6CD3\u6CBD\u6CD7\u6CC5\u6CDD\u6CAE\u6CB1\u6CBE"],["dea1","\u6CBA\u6CDB\u6CEF\u6CD9\u6CEA\u6D1F\u884D\u6D36\u6D2B\u6D3D\u6D38\u6D19\u6D35\u6D33\u6D12\u6D0C\u6D63\u6D93\u6D64\u6D5A\u6D79\u6D59\u6D8E\u6D95\u6FE4\u6D85\u6DF9\u6E15\u6E0A\u6DB5\u6DC7\u6DE6\u6DB8\u6DC6\u6DEC\u6DDE\u6DCC\u6DE8\u6DD2\u6DC5\u6DFA\u6DD9\u6DE4\u6DD5\u6DEA\u6DEE\u6E2D\u6E6E\u6E2E\u6E19\u6E72\u6E5F\u6E3E\u6E23\u6E6B\u6E2B\u6E76\u6E4D\u6E1F\u6E43\u6E3A\u6E4E\u6E24\u6EFF\u6E1D\u6E38\u6E82\u6EAA\u6E98\u6EC9\u6EB7\u6ED3\u6EBD\u6EAF\u6EC4\u6EB2\u6ED4\u6ED5\u6E8F\u6EA5\u6EC2\u6E9F\u6F41\u6F11\u704C\u6EEC\u6EF8\u6EFE\u6F3F\u6EF2\u6F31\u6EEF\u6F32\u6ECC"],["dfa1","\u6F3E\u6F13\u6EF7\u6F86\u6F7A\u6F78\u6F81\u6F80\u6F6F\u6F5B\u6FF3\u6F6D\u6F82\u6F7C\u6F58\u6F8E\u6F91\u6FC2\u6F66\u6FB3\u6FA3\u6FA1\u6FA4\u6FB9\u6FC6\u6FAA\u6FDF\u6FD5\u6FEC\u6FD4\u6FD8\u6FF1\u6FEE\u6FDB\u7009\u700B\u6FFA\u7011\u7001\u700F\u6FFE\u701B\u701A\u6F74\u701D\u7018\u701F\u7030\u703E\u7032\u7051\u7063\u7099\u7092\u70AF\u70F1\u70AC\u70B8\u70B3\u70AE\u70DF\u70CB\u70DD\u70D9\u7109\u70FD\u711C\u7119\u7165\u7155\u7188\u7166\u7162\u714C\u7156\u716C\u718F\u71FB\u7184\u7195\u71A8\u71AC\u71D7\u71B9\u71BE\u71D2\u71C9\u71D4\u71CE\u71E0\u71EC\u71E7\u71F5\u71FC"],["e0a1","\u71F9\u71FF\u720D\u7210\u721B\u7228\u722D\u722C\u7230\u7232\u723B\u723C\u723F\u7240\u7246\u724B\u7258\u7274\u727E\u7282\u7281\u7287\u7292\u7296\u72A2\u72A7\u72B9\u72B2\u72C3\u72C6\u72C4\u72CE\u72D2\u72E2\u72E0\u72E1\u72F9\u72F7\u500F\u7317\u730A\u731C\u7316\u731D\u7334\u732F\u7329\u7325\u733E\u734E\u734F\u9ED8\u7357\u736A\u7368\u7370\u7378\u7375\u737B\u737A\u73C8\u73B3\u73CE\u73BB\u73C0\u73E5\u73EE\u73DE\u74A2\u7405\u746F\u7425\u73F8\u7432\u743A\u7455\u743F\u745F\u7459\u7441\u745C\u7469\u7470\u7463\u746A\u7476\u747E\u748B\u749E\u74A7\u74CA\u74CF\u74D4\u73F1"],["e1a1","\u74E0\u74E3\u74E7\u74E9\u74EE\u74F2\u74F0\u74F1\u74F8\u74F7\u7504\u7503\u7505\u750C\u750E\u750D\u7515\u7513\u751E\u7526\u752C\u753C\u7544\u754D\u754A\u7549\u755B\u7546\u755A\u7569\u7564\u7567\u756B\u756D\u7578\u7576\u7586\u7587\u7574\u758A\u7589\u7582\u7594\u759A\u759D\u75A5\u75A3\u75C2\u75B3\u75C3\u75B5\u75BD\u75B8\u75BC\u75B1\u75CD\u75CA\u75D2\u75D9\u75E3\u75DE\u75FE\u75FF\u75FC\u7601\u75F0\u75FA\u75F2\u75F3\u760B\u760D\u7609\u761F\u7627\u7620\u7621\u7622\u7624\u7634\u7630\u763B\u7647\u7648\u7646\u765C\u7658\u7661\u7662\u7668\u7669\u766A\u7667\u766C\u7670"],["e2a1","\u7672\u7676\u7678\u767C\u7680\u7683\u7688\u768B\u768E\u7696\u7693\u7699\u769A\u76B0\u76B4\u76B8\u76B9\u76BA\u76C2\u76CD\u76D6\u76D2\u76DE\u76E1\u76E5\u76E7\u76EA\u862F\u76FB\u7708\u7707\u7704\u7729\u7724\u771E\u7725\u7726\u771B\u7737\u7738\u7747\u775A\u7768\u776B\u775B\u7765\u777F\u777E\u7779\u778E\u778B\u7791\u77A0\u779E\u77B0\u77B6\u77B9\u77BF\u77BC\u77BD\u77BB\u77C7\u77CD\u77D7\u77DA\u77DC\u77E3\u77EE\u77FC\u780C\u7812\u7926\u7820\u792A\u7845\u788E\u7874\u7886\u787C\u789A\u788C\u78A3\u78B5\u78AA\u78AF\u78D1\u78C6\u78CB\u78D4\u78BE\u78BC\u78C5\u78CA\u78EC"],["e3a1","\u78E7\u78DA\u78FD\u78F4\u7907\u7912\u7911\u7919\u792C\u792B\u7940\u7960\u7957\u795F\u795A\u7955\u7953\u797A\u797F\u798A\u799D\u79A7\u9F4B\u79AA\u79AE\u79B3\u79B9\u79BA\u79C9\u79D5\u79E7\u79EC\u79E1\u79E3\u7A08\u7A0D\u7A18\u7A19\u7A20\u7A1F\u7980\u7A31\u7A3B\u7A3E\u7A37\u7A43\u7A57\u7A49\u7A61\u7A62\u7A69\u9F9D\u7A70\u7A79\u7A7D\u7A88\u7A97\u7A95\u7A98\u7A96\u7AA9\u7AC8\u7AB0\u7AB6\u7AC5\u7AC4\u7ABF\u9083\u7AC7\u7ACA\u7ACD\u7ACF\u7AD5\u7AD3\u7AD9\u7ADA\u7ADD\u7AE1\u7AE2\u7AE6\u7AED\u7AF0\u7B02\u7B0F\u7B0A\u7B06\u7B33\u7B18\u7B19\u7B1E\u7B35\u7B28\u7B36\u7B50"],["e4a1","\u7B7A\u7B04\u7B4D\u7B0B\u7B4C\u7B45\u7B75\u7B65\u7B74\u7B67\u7B70\u7B71\u7B6C\u7B6E\u7B9D\u7B98\u7B9F\u7B8D\u7B9C\u7B9A\u7B8B\u7B92\u7B8F\u7B5D\u7B99\u7BCB\u7BC1\u7BCC\u7BCF\u7BB4\u7BC6\u7BDD\u7BE9\u7C11\u7C14\u7BE6\u7BE5\u7C60\u7C00\u7C07\u7C13\u7BF3\u7BF7\u7C17\u7C0D\u7BF6\u7C23\u7C27\u7C2A\u7C1F\u7C37\u7C2B\u7C3D\u7C4C\u7C43\u7C54\u7C4F\u7C40\u7C50\u7C58\u7C5F\u7C64\u7C56\u7C65\u7C6C\u7C75\u7C83\u7C90\u7CA4\u7CAD\u7CA2\u7CAB\u7CA1\u7CA8\u7CB3\u7CB2\u7CB1\u7CAE\u7CB9\u7CBD\u7CC0\u7CC5\u7CC2\u7CD8\u7CD2\u7CDC\u7CE2\u9B3B\u7CEF\u7CF2\u7CF4\u7CF6\u7CFA\u7D06"],["e5a1","\u7D02\u7D1C\u7D15\u7D0A\u7D45\u7D4B\u7D2E\u7D32\u7D3F\u7D35\u7D46\u7D73\u7D56\u7D4E\u7D72\u7D68\u7D6E\u7D4F\u7D63\u7D93\u7D89\u7D5B\u7D8F\u7D7D\u7D9B\u7DBA\u7DAE\u7DA3\u7DB5\u7DC7\u7DBD\u7DAB\u7E3D\u7DA2\u7DAF\u7DDC\u7DB8\u7D9F\u7DB0\u7DD8\u7DDD\u7DE4\u7DDE\u7DFB\u7DF2\u7DE1\u7E05\u7E0A\u7E23\u7E21\u7E12\u7E31\u7E1F\u7E09\u7E0B\u7E22\u7E46\u7E66\u7E3B\u7E35\u7E39\u7E43\u7E37\u7E32\u7E3A\u7E67\u7E5D\u7E56\u7E5E\u7E59\u7E5A\u7E79\u7E6A\u7E69\u7E7C\u7E7B\u7E83\u7DD5\u7E7D\u8FAE\u7E7F\u7E88\u7E89\u7E8C\u7E92\u7E90\u7E93\u7E94\u7E96\u7E8E\u7E9B\u7E9C\u7F38\u7F3A"],["e6a1","\u7F45\u7F4C\u7F4D\u7F4E\u7F50\u7F51\u7F55\u7F54\u7F58\u7F5F\u7F60\u7F68\u7F69\u7F67\u7F78\u7F82\u7F86\u7F83\u7F88\u7F87\u7F8C\u7F94\u7F9E\u7F9D\u7F9A\u7FA3\u7FAF\u7FB2\u7FB9\u7FAE\u7FB6\u7FB8\u8B71\u7FC5\u7FC6\u7FCA\u7FD5\u7FD4\u7FE1\u7FE6\u7FE9\u7FF3\u7FF9\u98DC\u8006\u8004\u800B\u8012\u8018\u8019\u801C\u8021\u8028\u803F\u803B\u804A\u8046\u8052\u8058\u805A\u805F\u8062\u8068\u8073\u8072\u8070\u8076\u8079\u807D\u807F\u8084\u8086\u8085\u809B\u8093\u809A\u80AD\u5190\u80AC\u80DB\u80E5\u80D9\u80DD\u80C4\u80DA\u80D6\u8109\u80EF\u80F1\u811B\u8129\u8123\u812F\u814B"],["e7a1","\u968B\u8146\u813E\u8153\u8151\u80FC\u8171\u816E\u8165\u8166\u8174\u8183\u8188\u818A\u8180\u8182\u81A0\u8195\u81A4\u81A3\u815F\u8193\u81A9\u81B0\u81B5\u81BE\u81B8\u81BD\u81C0\u81C2\u81BA\u81C9\u81CD\u81D1\u81D9\u81D8\u81C8\u81DA\u81DF\u81E0\u81E7\u81FA\u81FB\u81FE\u8201\u8202\u8205\u8207\u820A\u820D\u8210\u8216\u8229\u822B\u8238\u8233\u8240\u8259\u8258\u825D\u825A\u825F\u8264\u8262\u8268\u826A\u826B\u822E\u8271\u8277\u8278\u827E\u828D\u8292\u82AB\u829F\u82BB\u82AC\u82E1\u82E3\u82DF\u82D2\u82F4\u82F3\u82FA\u8393\u8303\u82FB\u82F9\u82DE\u8306\u82DC\u8309\u82D9"],["e8a1","\u8335\u8334\u8316\u8332\u8331\u8340\u8339\u8350\u8345\u832F\u832B\u8317\u8318\u8385\u839A\u83AA\u839F\u83A2\u8396\u8323\u838E\u8387\u838A\u837C\u83B5\u8373\u8375\u83A0\u8389\u83A8\u83F4\u8413\u83EB\u83CE\u83FD\u8403\u83D8\u840B\u83C1\u83F7\u8407\u83E0\u83F2\u840D\u8422\u8420\u83BD\u8438\u8506\u83FB\u846D\u842A\u843C\u855A\u8484\u8477\u846B\u84AD\u846E\u8482\u8469\u8446\u842C\u846F\u8479\u8435\u84CA\u8462\u84B9\u84BF\u849F\u84D9\u84CD\u84BB\u84DA\u84D0\u84C1\u84C6\u84D6\u84A1\u8521\u84FF\u84F4\u8517\u8518\u852C\u851F\u8515\u8514\u84FC\u8540\u8563\u8558\u8548"],["e9a1","\u8541\u8602\u854B\u8555\u8580\u85A4\u8588\u8591\u858A\u85A8\u856D\u8594\u859B\u85EA\u8587\u859C\u8577\u857E\u8590\u85C9\u85BA\u85CF\u85B9\u85D0\u85D5\u85DD\u85E5\u85DC\u85F9\u860A\u8613\u860B\u85FE\u85FA\u8606\u8622\u861A\u8630\u863F\u864D\u4E55\u8654\u865F\u8667\u8671\u8693\u86A3\u86A9\u86AA\u868B\u868C\u86B6\u86AF\u86C4\u86C6\u86B0\u86C9\u8823\u86AB\u86D4\u86DE\u86E9\u86EC\u86DF\u86DB\u86EF\u8712\u8706\u8708\u8700\u8703\u86FB\u8711\u8709\u870D\u86F9\u870A\u8734\u873F\u8737\u873B\u8725\u8729\u871A\u8760\u875F\u8778\u874C\u874E\u8774\u8757\u8768\u876E\u8759"],["eaa1","\u8753\u8763\u876A\u8805\u87A2\u879F\u8782\u87AF\u87CB\u87BD\u87C0\u87D0\u96D6\u87AB\u87C4\u87B3\u87C7\u87C6\u87BB\u87EF\u87F2\u87E0\u880F\u880D\u87FE\u87F6\u87F7\u880E\u87D2\u8811\u8816\u8815\u8822\u8821\u8831\u8836\u8839\u8827\u883B\u8844\u8842\u8852\u8859\u885E\u8862\u886B\u8881\u887E\u889E\u8875\u887D\u88B5\u8872\u8882\u8897\u8892\u88AE\u8899\u88A2\u888D\u88A4\u88B0\u88BF\u88B1\u88C3\u88C4\u88D4\u88D8\u88D9\u88DD\u88F9\u8902\u88FC\u88F4\u88E8\u88F2\u8904\u890C\u890A\u8913\u8943\u891E\u8925\u892A\u892B\u8941\u8944\u893B\u8936\u8938\u894C\u891D\u8960\u895E"],["eba1","\u8966\u8964\u896D\u896A\u896F\u8974\u8977\u897E\u8983\u8988\u898A\u8993\u8998\u89A1\u89A9\u89A6\u89AC\u89AF\u89B2\u89BA\u89BD\u89BF\u89C0\u89DA\u89DC\u89DD\u89E7\u89F4\u89F8\u8A03\u8A16\u8A10\u8A0C\u8A1B\u8A1D\u8A25\u8A36\u8A41\u8A5B\u8A52\u8A46\u8A48\u8A7C\u8A6D\u8A6C\u8A62\u8A85\u8A82\u8A84\u8AA8\u8AA1\u8A91\u8AA5\u8AA6\u8A9A\u8AA3\u8AC4\u8ACD\u8AC2\u8ADA\u8AEB\u8AF3\u8AE7\u8AE4\u8AF1\u8B14\u8AE0\u8AE2\u8AF7\u8ADE\u8ADB\u8B0C\u8B07\u8B1A\u8AE1\u8B16\u8B10\u8B17\u8B20\u8B33\u97AB\u8B26\u8B2B\u8B3E\u8B28\u8B41\u8B4C\u8B4F\u8B4E\u8B49\u8B56\u8B5B\u8B5A\u8B6B"],["eca1","\u8B5F\u8B6C\u8B6F\u8B74\u8B7D\u8B80\u8B8C\u8B8E\u8B92\u8B93\u8B96\u8B99\u8B9A\u8C3A\u8C41\u8C3F\u8C48\u8C4C\u8C4E\u8C50\u8C55\u8C62\u8C6C\u8C78\u8C7A\u8C82\u8C89\u8C85\u8C8A\u8C8D\u8C8E\u8C94\u8C7C\u8C98\u621D\u8CAD\u8CAA\u8CBD\u8CB2\u8CB3\u8CAE\u8CB6\u8CC8\u8CC1\u8CE4\u8CE3\u8CDA\u8CFD\u8CFA\u8CFB\u8D04\u8D05\u8D0A\u8D07\u8D0F\u8D0D\u8D10\u9F4E\u8D13\u8CCD\u8D14\u8D16\u8D67\u8D6D\u8D71\u8D73\u8D81\u8D99\u8DC2\u8DBE\u8DBA\u8DCF\u8DDA\u8DD6\u8DCC\u8DDB\u8DCB\u8DEA\u8DEB\u8DDF\u8DE3\u8DFC\u8E08\u8E09\u8DFF\u8E1D\u8E1E\u8E10\u8E1F\u8E42\u8E35\u8E30\u8E34\u8E4A"],["eda1","\u8E47\u8E49\u8E4C\u8E50\u8E48\u8E59\u8E64\u8E60\u8E2A\u8E63\u8E55\u8E76\u8E72\u8E7C\u8E81\u8E87\u8E85\u8E84\u8E8B\u8E8A\u8E93\u8E91\u8E94\u8E99\u8EAA\u8EA1\u8EAC\u8EB0\u8EC6\u8EB1\u8EBE\u8EC5\u8EC8\u8ECB\u8EDB\u8EE3\u8EFC\u8EFB\u8EEB\u8EFE\u8F0A\u8F05\u8F15\u8F12\u8F19\u8F13\u8F1C\u8F1F\u8F1B\u8F0C\u8F26\u8F33\u8F3B\u8F39\u8F45\u8F42\u8F3E\u8F4C\u8F49\u8F46\u8F4E\u8F57\u8F5C\u8F62\u8F63\u8F64\u8F9C\u8F9F\u8FA3\u8FAD\u8FAF\u8FB7\u8FDA\u8FE5\u8FE2\u8FEA\u8FEF\u9087\u8FF4\u9005\u8FF9\u8FFA\u9011\u9015\u9021\u900D\u901E\u9016\u900B\u9027\u9036\u9035\u9039\u8FF8"],["eea1","\u904F\u9050\u9051\u9052\u900E\u9049\u903E\u9056\u9058\u905E\u9068\u906F\u9076\u96A8\u9072\u9082\u907D\u9081\u9080\u908A\u9089\u908F\u90A8\u90AF\u90B1\u90B5\u90E2\u90E4\u6248\u90DB\u9102\u9112\u9119\u9132\u9130\u914A\u9156\u9158\u9163\u9165\u9169\u9173\u9172\u918B\u9189\u9182\u91A2\u91AB\u91AF\u91AA\u91B5\u91B4\u91BA\u91C0\u91C1\u91C9\u91CB\u91D0\u91D6\u91DF\u91E1\u91DB\u91FC\u91F5\u91F6\u921E\u91FF\u9214\u922C\u9215\u9211\u925E\u9257\u9245\u9249\u9264\u9248\u9295\u923F\u924B\u9250\u929C\u9296\u9293\u929B\u925A\u92CF\u92B9\u92B7\u92E9\u930F\u92FA\u9344\u932E"],["efa1","\u9319\u9322\u931A\u9323\u933A\u9335\u933B\u935C\u9360\u937C\u936E\u9356\u93B0\u93AC\u93AD\u9394\u93B9\u93D6\u93D7\u93E8\u93E5\u93D8\u93C3\u93DD\u93D0\u93C8\u93E4\u941A\u9414\u9413\u9403\u9407\u9410\u9436\u942B\u9435\u9421\u943A\u9441\u9452\u9444\u945B\u9460\u9462\u945E\u946A\u9229\u9470\u9475\u9477\u947D\u945A\u947C\u947E\u9481\u947F\u9582\u9587\u958A\u9594\u9596\u9598\u9599\u95A0\u95A8\u95A7\u95AD\u95BC\u95BB\u95B9\u95BE\u95CA\u6FF6\u95C3\u95CD\u95CC\u95D5\u95D4\u95D6\u95DC\u95E1\u95E5\u95E2\u9621\u9628\u962E\u962F\u9642\u964C\u964F\u964B\u9677\u965C\u965E"],["f0a1","\u965D\u965F\u9666\u9672\u966C\u968D\u9698\u9695\u9697\u96AA\u96A7\u96B1\u96B2\u96B0\u96B4\u96B6\u96B8\u96B9\u96CE\u96CB\u96C9\u96CD\u894D\u96DC\u970D\u96D5\u96F9\u9704\u9706\u9708\u9713\u970E\u9711\u970F\u9716\u9719\u9724\u972A\u9730\u9739\u973D\u973E\u9744\u9746\u9748\u9742\u9749\u975C\u9760\u9764\u9766\u9768\u52D2\u976B\u9771\u9779\u9785\u977C\u9781\u977A\u9786\u978B\u978F\u9790\u979C\u97A8\u97A6\u97A3\u97B3\u97B4\u97C3\u97C6\u97C8\u97CB\u97DC\u97ED\u9F4F\u97F2\u7ADF\u97F6\u97F5\u980F\u980C\u9838\u9824\u9821\u9837\u983D\u9846\u984F\u984B\u986B\u986F\u9870"],["f1a1","\u9871\u9874\u9873\u98AA\u98AF\u98B1\u98B6\u98C4\u98C3\u98C6\u98E9\u98EB\u9903\u9909\u9912\u9914\u9918\u9921\u991D\u991E\u9924\u9920\u992C\u992E\u993D\u993E\u9942\u9949\u9945\u9950\u994B\u9951\u9952\u994C\u9955\u9997\u9998\u99A5\u99AD\u99AE\u99BC\u99DF\u99DB\u99DD\u99D8\u99D1\u99ED\u99EE\u99F1\u99F2\u99FB\u99F8\u9A01\u9A0F\u9A05\u99E2\u9A19\u9A2B\u9A37\u9A45\u9A42\u9A40\u9A43\u9A3E\u9A55\u9A4D\u9A5B\u9A57\u9A5F\u9A62\u9A65\u9A64\u9A69\u9A6B\u9A6A\u9AAD\u9AB0\u9ABC\u9AC0\u9ACF\u9AD1\u9AD3\u9AD4\u9ADE\u9ADF\u9AE2\u9AE3\u9AE6\u9AEF\u9AEB\u9AEE\u9AF4\u9AF1\u9AF7"],["f2a1","\u9AFB\u9B06\u9B18\u9B1A\u9B1F\u9B22\u9B23\u9B25\u9B27\u9B28\u9B29\u9B2A\u9B2E\u9B2F\u9B32\u9B44\u9B43\u9B4F\u9B4D\u9B4E\u9B51\u9B58\u9B74\u9B93\u9B83\u9B91\u9B96\u9B97\u9B9F\u9BA0\u9BA8\u9BB4\u9BC0\u9BCA\u9BB9\u9BC6\u9BCF\u9BD1\u9BD2\u9BE3\u9BE2\u9BE4\u9BD4\u9BE1\u9C3A\u9BF2\u9BF1\u9BF0\u9C15\u9C14\u9C09\u9C13\u9C0C\u9C06\u9C08\u9C12\u9C0A\u9C04\u9C2E\u9C1B\u9C25\u9C24\u9C21\u9C30\u9C47\u9C32\u9C46\u9C3E\u9C5A\u9C60\u9C67\u9C76\u9C78\u9CE7\u9CEC\u9CF0\u9D09\u9D08\u9CEB\u9D03\u9D06\u9D2A\u9D26\u9DAF\u9D23\u9D1F\u9D44\u9D15\u9D12\u9D41\u9D3F\u9D3E\u9D46\u9D48"],["f3a1","\u9D5D\u9D5E\u9D64\u9D51\u9D50\u9D59\u9D72\u9D89\u9D87\u9DAB\u9D6F\u9D7A\u9D9A\u9DA4\u9DA9\u9DB2\u9DC4\u9DC1\u9DBB\u9DB8\u9DBA\u9DC6\u9DCF\u9DC2\u9DD9\u9DD3\u9DF8\u9DE6\u9DED\u9DEF\u9DFD\u9E1A\u9E1B\u9E1E\u9E75\u9E79\u9E7D\u9E81\u9E88\u9E8B\u9E8C\u9E92\u9E95\u9E91\u9E9D\u9EA5\u9EA9\u9EB8\u9EAA\u9EAD\u9761\u9ECC\u9ECE\u9ECF\u9ED0\u9ED4\u9EDC\u9EDE\u9EDD\u9EE0\u9EE5\u9EE8\u9EEF\u9EF4\u9EF6\u9EF7\u9EF9\u9EFB\u9EFC\u9EFD\u9F07\u9F08\u76B7\u9F15\u9F21\u9F2C\u9F3E\u9F4A\u9F52\u9F54\u9F63\u9F5F\u9F60\u9F61\u9F66\u9F67\u9F6C\u9F6A\u9F77\u9F72\u9F76\u9F95\u9F9C\u9FA0"],["f4a1","\u582F\u69C7\u9059\u7464\u51DC\u7199"],["f9a1","\u7E8A\u891C\u9348\u9288\u84DC\u4FC9\u70BB\u6631\u68C8\u92F9\u66FB\u5F45\u4E28\u4EE1\u4EFC\u4F00\u4F03\u4F39\u4F56\u4F92\u4F8A\u4F9A\u4F94\u4FCD\u5040\u5022\u4FFF\u501E\u5046\u5070\u5042\u5094\u50F4\u50D8\u514A\u5164\u519D\u51BE\u51EC\u5215\u529C\u52A6\u52C0\u52DB\u5300\u5307\u5324\u5372\u5393\u53B2\u53DD\uFA0E\u549C\u548A\u54A9\u54FF\u5586\u5759\u5765\u57AC\u57C8\u57C7\uFA0F\uFA10\u589E\u58B2\u590B\u5953\u595B\u595D\u5963\u59A4\u59BA\u5B56\u5BC0\u752F\u5BD8\u5BEC\u5C1E\u5CA6\u5CBA\u5CF5\u5D27\u5D53\uFA11\u5D42\u5D6D\u5DB8\u5DB9\u5DD0\u5F21\u5F34\u5F67\u5FB7"],["faa1","\u5FDE\u605D\u6085\u608A\u60DE\u60D5\u6120\u60F2\u6111\u6137\u6130\u6198\u6213\u62A6\u63F5\u6460\u649D\u64CE\u654E\u6600\u6615\u663B\u6609\u662E\u661E\u6624\u6665\u6657\u6659\uFA12\u6673\u6699\u66A0\u66B2\u66BF\u66FA\u670E\uF929\u6766\u67BB\u6852\u67C0\u6801\u6844\u68CF\uFA13\u6968\uFA14\u6998\u69E2\u6A30\u6A6B\u6A46\u6A73\u6A7E\u6AE2\u6AE4\u6BD6\u6C3F\u6C5C\u6C86\u6C6F\u6CDA\u6D04\u6D87\u6D6F\u6D96\u6DAC\u6DCF\u6DF8\u6DF2\u6DFC\u6E39\u6E5C\u6E27\u6E3C\u6EBF\u6F88\u6FB5\u6FF5\u7005\u7007\u7028\u7085\u70AB\u710F\u7104\u715C\u7146\u7147\uFA15\u71C1\u71FE\u72B1"],["fba1","\u72BE\u7324\uFA16\u7377\u73BD\u73C9\u73D6\u73E3\u73D2\u7407\u73F5\u7426\u742A\u7429\u742E\u7462\u7489\u749F\u7501\u756F\u7682\u769C\u769E\u769B\u76A6\uFA17\u7746\u52AF\u7821\u784E\u7864\u787A\u7930\uFA18\uFA19\uFA1A\u7994\uFA1B\u799B\u7AD1\u7AE7\uFA1C\u7AEB\u7B9E\uFA1D\u7D48\u7D5C\u7DB7\u7DA0\u7DD6\u7E52\u7F47\u7FA1\uFA1E\u8301\u8362\u837F\u83C7\u83F6\u8448\u84B4\u8553\u8559\u856B\uFA1F\u85B0\uFA20\uFA21\u8807\u88F5\u8A12\u8A37\u8A79\u8AA7\u8ABE\u8ADF\uFA22\u8AF6\u8B53\u8B7F\u8CF0\u8CF4\u8D12\u8D76\uFA23\u8ECF\uFA24\uFA25\u9067\u90DE\uFA26\u9115\u9127\u91DA"],["fca1","\u91D7\u91DE\u91ED\u91EE\u91E4\u91E5\u9206\u9210\u920A\u923A\u9240\u923C\u924E\u9259\u9251\u9239\u9267\u92A7\u9277\u9278\u92E7\u92D7\u92D9\u92D0\uFA27\u92D5\u92E0\u92D3\u9325\u9321\u92FB\uFA28\u931E\u92FF\u931D\u9302\u9370\u9357\u93A4\u93C6\u93DE\u93F8\u9431\u9445\u9448\u9592\uF9DC\uFA29\u969D\u96AF\u9733\u973B\u9743\u974D\u974F\u9751\u9755\u9857\u9865\uFA2A\uFA2B\u9927\uFA2C\u999E\u9A4E\u9AD9\u9ADC\u9B75\u9B72\u9B8F\u9BB1\u9BBB\u9C00\u9D70\u9D6B\uFA2D\u9E19\u9ED1"],["fcf1","\u2170",9,"\uFFE2\uFFE4\uFF07\uFF02"],["8fa2af","\u02D8\u02C7\xB8\u02D9\u02DD\xAF\u02DB\u02DA\uFF5E\u0384\u0385"],["8fa2c2","\xA1\xA6\xBF"],["8fa2eb","\xBA\xAA\xA9\xAE\u2122\xA4\u2116"],["8fa6e1","\u0386\u0388\u0389\u038A\u03AA"],["8fa6e7","\u038C"],["8fa6e9","\u038E\u03AB"],["8fa6ec","\u038F"],["8fa6f1","\u03AC\u03AD\u03AE\u03AF\u03CA\u0390\u03CC\u03C2\u03CD\u03CB\u03B0\u03CE"],["8fa7c2","\u0402",10,"\u040E\u040F"],["8fa7f2","\u0452",10,"\u045E\u045F"],["8fa9a1","\xC6\u0110"],["8fa9a4","\u0126"],["8fa9a6","\u0132"],["8fa9a8","\u0141\u013F"],["8fa9ab","\u014A\xD8\u0152"],["8fa9af","\u0166\xDE"],["8fa9c1","\xE6\u0111\xF0\u0127\u0131\u0133\u0138\u0142\u0140\u0149\u014B\xF8\u0153\xDF\u0167\xFE"],["8faaa1","\xC1\xC0\xC4\xC2\u0102\u01CD\u0100\u0104\xC5\xC3\u0106\u0108\u010C\xC7\u010A\u010E\xC9\xC8\xCB\xCA\u011A\u0116\u0112\u0118"],["8faaba","\u011C\u011E\u0122\u0120\u0124\xCD\xCC\xCF\xCE\u01CF\u0130\u012A\u012E\u0128\u0134\u0136\u0139\u013D\u013B\u0143\u0147\u0145\xD1\xD3\xD2\xD6\xD4\u01D1\u0150\u014C\xD5\u0154\u0158\u0156\u015A\u015C\u0160\u015E\u0164\u0162\xDA\xD9\xDC\xDB\u016C\u01D3\u0170\u016A\u0172\u016E\u0168\u01D7\u01DB\u01D9\u01D5\u0174\xDD\u0178\u0176\u0179\u017D\u017B"],["8faba1","\xE1\xE0\xE4\xE2\u0103\u01CE\u0101\u0105\xE5\xE3\u0107\u0109\u010D\xE7\u010B\u010F\xE9\xE8\xEB\xEA\u011B\u0117\u0113\u0119\u01F5\u011D\u011F"],["8fabbd","\u0121\u0125\xED\xEC\xEF\xEE\u01D0"],["8fabc5","\u012B\u012F\u0129\u0135\u0137\u013A\u013E\u013C\u0144\u0148\u0146\xF1\xF3\xF2\xF6\xF4\u01D2\u0151\u014D\xF5\u0155\u0159\u0157\u015B\u015D\u0161\u015F\u0165\u0163\xFA\xF9\xFC\xFB\u016D\u01D4\u0171\u016B\u0173\u016F\u0169\u01D8\u01DC\u01DA\u01D6\u0175\xFD\xFF\u0177\u017A\u017E\u017C"],["8fb0a1","\u4E02\u4E04\u4E05\u4E0C\u4E12\u4E1F\u4E23\u4E24\u4E28\u4E2B\u4E2E\u4E2F\u4E30\u4E35\u4E40\u4E41\u4E44\u4E47\u4E51\u4E5A\u4E5C\u4E63\u4E68\u4E69\u4E74\u4E75\u4E79\u4E7F\u4E8D\u4E96\u4E97\u4E9D\u4EAF\u4EB9\u4EC3\u4ED0\u4EDA\u4EDB\u4EE0\u4EE1\u4EE2\u4EE8\u4EEF\u4EF1\u4EF3\u4EF5\u4EFD\u4EFE\u4EFF\u4F00\u4F02\u4F03\u4F08\u4F0B\u4F0C\u4F12\u4F15\u4F16\u4F17\u4F19\u4F2E\u4F31\u4F60\u4F33\u4F35\u4F37\u4F39\u4F3B\u4F3E\u4F40\u4F42\u4F48\u4F49\u4F4B\u4F4C\u4F52\u4F54\u4F56\u4F58\u4F5F\u4F63\u4F6A\u4F6C\u4F6E\u4F71\u4F77\u4F78\u4F79\u4F7A\u4F7D\u4F7E\u4F81\u4F82\u4F84"],["8fb1a1","\u4F85\u4F89\u4F8A\u4F8C\u4F8E\u4F90\u4F92\u4F93\u4F94\u4F97\u4F99\u4F9A\u4F9E\u4F9F\u4FB2\u4FB7\u4FB9\u4FBB\u4FBC\u4FBD\u4FBE\u4FC0\u4FC1\u4FC5\u4FC6\u4FC8\u4FC9\u4FCB\u4FCC\u4FCD\u4FCF\u4FD2\u4FDC\u4FE0\u4FE2\u4FF0\u4FF2\u4FFC\u4FFD\u4FFF\u5000\u5001\u5004\u5007\u500A\u500C\u500E\u5010\u5013\u5017\u5018\u501B\u501C\u501D\u501E\u5022\u5027\u502E\u5030\u5032\u5033\u5035\u5040\u5041\u5042\u5045\u5046\u504A\u504C\u504E\u5051\u5052\u5053\u5057\u5059\u505F\u5060\u5062\u5063\u5066\u5067\u506A\u506D\u5070\u5071\u503B\u5081\u5083\u5084\u5086\u508A\u508E\u508F\u5090"],["8fb2a1","\u5092\u5093\u5094\u5096\u509B\u509C\u509E",4,"\u50AA\u50AF\u50B0\u50B9\u50BA\u50BD\u50C0\u50C3\u50C4\u50C7\u50CC\u50CE\u50D0\u50D3\u50D4\u50D8\u50DC\u50DD\u50DF\u50E2\u50E4\u50E6\u50E8\u50E9\u50EF\u50F1\u50F6\u50FA\u50FE\u5103\u5106\u5107\u5108\u510B\u510C\u510D\u510E\u50F2\u5110\u5117\u5119\u511B\u511C\u511D\u511E\u5123\u5127\u5128\u512C\u512D\u512F\u5131\u5133\u5134\u5135\u5138\u5139\u5142\u514A\u514F\u5153\u5155\u5157\u5158\u515F\u5164\u5166\u517E\u5183\u5184\u518B\u518E\u5198\u519D\u51A1\u51A3\u51AD\u51B8\u51BA\u51BC\u51BE\u51BF\u51C2"],["8fb3a1","\u51C8\u51CF\u51D1\u51D2\u51D3\u51D5\u51D8\u51DE\u51E2\u51E5\u51EE\u51F2\u51F3\u51F4\u51F7\u5201\u5202\u5205\u5212\u5213\u5215\u5216\u5218\u5222\u5228\u5231\u5232\u5235\u523C\u5245\u5249\u5255\u5257\u5258\u525A\u525C\u525F\u5260\u5261\u5266\u526E\u5277\u5278\u5279\u5280\u5282\u5285\u528A\u528C\u5293\u5295\u5296\u5297\u5298\u529A\u529C\u52A4\u52A5\u52A6\u52A7\u52AF\u52B0\u52B6\u52B7\u52B8\u52BA\u52BB\u52BD\u52C0\u52C4\u52C6\u52C8\u52CC\u52CF\u52D1\u52D4\u52D6\u52DB\u52DC\u52E1\u52E5\u52E8\u52E9\u52EA\u52EC\u52F0\u52F1\u52F4\u52F6\u52F7\u5300\u5303\u530A\u530B"],["8fb4a1","\u530C\u5311\u5313\u5318\u531B\u531C\u531E\u531F\u5325\u5327\u5328\u5329\u532B\u532C\u532D\u5330\u5332\u5335\u533C\u533D\u533E\u5342\u534C\u534B\u5359\u535B\u5361\u5363\u5365\u536C\u536D\u5372\u5379\u537E\u5383\u5387\u5388\u538E\u5393\u5394\u5399\u539D\u53A1\u53A4\u53AA\u53AB\u53AF\u53B2\u53B4\u53B5\u53B7\u53B8\u53BA\u53BD\u53C0\u53C5\u53CF\u53D2\u53D3\u53D5\u53DA\u53DD\u53DE\u53E0\u53E6\u53E7\u53F5\u5402\u5413\u541A\u5421\u5427\u5428\u542A\u542F\u5431\u5434\u5435\u5443\u5444\u5447\u544D\u544F\u545E\u5462\u5464\u5466\u5467\u5469\u546B\u546D\u546E\u5474\u547F"],["8fb5a1","\u5481\u5483\u5485\u5488\u5489\u548D\u5491\u5495\u5496\u549C\u549F\u54A1\u54A6\u54A7\u54A9\u54AA\u54AD\u54AE\u54B1\u54B7\u54B9\u54BA\u54BB\u54BF\u54C6\u54CA\u54CD\u54CE\u54E0\u54EA\u54EC\u54EF\u54F6\u54FC\u54FE\u54FF\u5500\u5501\u5505\u5508\u5509\u550C\u550D\u550E\u5515\u552A\u552B\u5532\u5535\u5536\u553B\u553C\u553D\u5541\u5547\u5549\u554A\u554D\u5550\u5551\u5558\u555A\u555B\u555E\u5560\u5561\u5564\u5566\u557F\u5581\u5582\u5586\u5588\u558E\u558F\u5591\u5592\u5593\u5594\u5597\u55A3\u55A4\u55AD\u55B2\u55BF\u55C1\u55C3\u55C6\u55C9\u55CB\u55CC\u55CE\u55D1\u55D2"],["8fb6a1","\u55D3\u55D7\u55D8\u55DB\u55DE\u55E2\u55E9\u55F6\u55FF\u5605\u5608\u560A\u560D",5,"\u5619\u562C\u5630\u5633\u5635\u5637\u5639\u563B\u563C\u563D\u563F\u5640\u5641\u5643\u5644\u5646\u5649\u564B\u564D\u564F\u5654\u565E\u5660\u5661\u5662\u5663\u5666\u5669\u566D\u566F\u5671\u5672\u5675\u5684\u5685\u5688\u568B\u568C\u5695\u5699\u569A\u569D\u569E\u569F\u56A6\u56A7\u56A8\u56A9\u56AB\u56AC\u56AD\u56B1\u56B3\u56B7\u56BE\u56C5\u56C9\u56CA\u56CB\u56CF\u56D0\u56CC\u56CD\u56D9\u56DC\u56DD\u56DF\u56E1\u56E4",4,"\u56F1\u56EB\u56ED"],["8fb7a1","\u56F6\u56F7\u5701\u5702\u5707\u570A\u570C\u5711\u5715\u571A\u571B\u571D\u5720\u5722\u5723\u5724\u5725\u5729\u572A\u572C\u572E\u572F\u5733\u5734\u573D\u573E\u573F\u5745\u5746\u574C\u574D\u5752\u5762\u5765\u5767\u5768\u576B\u576D",4,"\u5773\u5774\u5775\u5777\u5779\u577A\u577B\u577C\u577E\u5781\u5783\u578C\u5794\u5797\u5799\u579A\u579C\u579D\u579E\u579F\u57A1\u5795\u57A7\u57A8\u57A9\u57AC\u57B8\u57BD\u57C7\u57C8\u57CC\u57CF\u57D5\u57DD\u57DE\u57E4\u57E6\u57E7\u57E9\u57ED\u57F0\u57F5\u57F6\u57F8\u57FD\u57FE\u57FF\u5803\u5804\u5808\u5809\u57E1"],["8fb8a1","\u580C\u580D\u581B\u581E\u581F\u5820\u5826\u5827\u582D\u5832\u5839\u583F\u5849\u584C\u584D\u584F\u5850\u5855\u585F\u5861\u5864\u5867\u5868\u5878\u587C\u587F\u5880\u5881\u5887\u5888\u5889\u588A\u588C\u588D\u588F\u5890\u5894\u5896\u589D\u58A0\u58A1\u58A2\u58A6\u58A9\u58B1\u58B2\u58C4\u58BC\u58C2\u58C8\u58CD\u58CE\u58D0\u58D2\u58D4\u58D6\u58DA\u58DD\u58E1\u58E2\u58E9\u58F3\u5905\u5906\u590B\u590C\u5912\u5913\u5914\u8641\u591D\u5921\u5923\u5924\u5928\u592F\u5930\u5933\u5935\u5936\u593F\u5943\u5946\u5952\u5953\u5959\u595B\u595D\u595E\u595F\u5961\u5963\u596B\u596D"],["8fb9a1","\u596F\u5972\u5975\u5976\u5979\u597B\u597C\u598B\u598C\u598E\u5992\u5995\u5997\u599F\u59A4\u59A7\u59AD\u59AE\u59AF\u59B0\u59B3\u59B7\u59BA\u59BC\u59C1\u59C3\u59C4\u59C8\u59CA\u59CD\u59D2\u59DD\u59DE\u59DF\u59E3\u59E4\u59E7\u59EE\u59EF\u59F1\u59F2\u59F4\u59F7\u5A00\u5A04\u5A0C\u5A0D\u5A0E\u5A12\u5A13\u5A1E\u5A23\u5A24\u5A27\u5A28\u5A2A\u5A2D\u5A30\u5A44\u5A45\u5A47\u5A48\u5A4C\u5A50\u5A55\u5A5E\u5A63\u5A65\u5A67\u5A6D\u5A77\u5A7A\u5A7B\u5A7E\u5A8B\u5A90\u5A93\u5A96\u5A99\u5A9C\u5A9E\u5A9F\u5AA0\u5AA2\u5AA7\u5AAC\u5AB1\u5AB2\u5AB3\u5AB5\u5AB8\u5ABA\u5ABB\u5ABF"],["8fbaa1","\u5AC4\u5AC6\u5AC8\u5ACF\u5ADA\u5ADC\u5AE0\u5AE5\u5AEA\u5AEE\u5AF5\u5AF6\u5AFD\u5B00\u5B01\u5B08\u5B17\u5B34\u5B19\u5B1B\u5B1D\u5B21\u5B25\u5B2D\u5B38\u5B41\u5B4B\u5B4C\u5B52\u5B56\u5B5E\u5B68\u5B6E\u5B6F\u5B7C\u5B7D\u5B7E\u5B7F\u5B81\u5B84\u5B86\u5B8A\u5B8E\u5B90\u5B91\u5B93\u5B94\u5B96\u5BA8\u5BA9\u5BAC\u5BAD\u5BAF\u5BB1\u5BB2\u5BB7\u5BBA\u5BBC\u5BC0\u5BC1\u5BCD\u5BCF\u5BD6",4,"\u5BE0\u5BEF\u5BF1\u5BF4\u5BFD\u5C0C\u5C17\u5C1E\u5C1F\u5C23\u5C26\u5C29\u5C2B\u5C2C\u5C2E\u5C30\u5C32\u5C35\u5C36\u5C59\u5C5A\u5C5C\u5C62\u5C63\u5C67\u5C68\u5C69"],["8fbba1","\u5C6D\u5C70\u5C74\u5C75\u5C7A\u5C7B\u5C7C\u5C7D\u5C87\u5C88\u5C8A\u5C8F\u5C92\u5C9D\u5C9F\u5CA0\u5CA2\u5CA3\u5CA6\u5CAA\u5CB2\u5CB4\u5CB5\u5CBA\u5CC9\u5CCB\u5CD2\u5CDD\u5CD7\u5CEE\u5CF1\u5CF2\u5CF4\u5D01\u5D06\u5D0D\u5D12\u5D2B\u5D23\u5D24\u5D26\u5D27\u5D31\u5D34\u5D39\u5D3D\u5D3F\u5D42\u5D43\u5D46\u5D48\u5D55\u5D51\u5D59\u5D4A\u5D5F\u5D60\u5D61\u5D62\u5D64\u5D6A\u5D6D\u5D70\u5D79\u5D7A\u5D7E\u5D7F\u5D81\u5D83\u5D88\u5D8A\u5D92\u5D93\u5D94\u5D95\u5D99\u5D9B\u5D9F\u5DA0\u5DA7\u5DAB\u5DB0\u5DB4\u5DB8\u5DB9\u5DC3\u5DC7\u5DCB\u5DD0\u5DCE\u5DD8\u5DD9\u5DE0\u5DE4"],["8fbca1","\u5DE9\u5DF8\u5DF9\u5E00\u5E07\u5E0D\u5E12\u5E14\u5E15\u5E18\u5E1F\u5E20\u5E2E\u5E28\u5E32\u5E35\u5E3E\u5E4B\u5E50\u5E49\u5E51\u5E56\u5E58\u5E5B\u5E5C\u5E5E\u5E68\u5E6A",4,"\u5E70\u5E80\u5E8B\u5E8E\u5EA2\u5EA4\u5EA5\u5EA8\u5EAA\u5EAC\u5EB1\u5EB3\u5EBD\u5EBE\u5EBF\u5EC6\u5ECC\u5ECB\u5ECE\u5ED1\u5ED2\u5ED4\u5ED5\u5EDC\u5EDE\u5EE5\u5EEB\u5F02\u5F06\u5F07\u5F08\u5F0E\u5F19\u5F1C\u5F1D\u5F21\u5F22\u5F23\u5F24\u5F28\u5F2B\u5F2C\u5F2E\u5F30\u5F34\u5F36\u5F3B\u5F3D\u5F3F\u5F40\u5F44\u5F45\u5F47\u5F4D\u5F50\u5F54\u5F58\u5F5B\u5F60\u5F63\u5F64\u5F67"],["8fbda1","\u5F6F\u5F72\u5F74\u5F75\u5F78\u5F7A\u5F7D\u5F7E\u5F89\u5F8D\u5F8F\u5F96\u5F9C\u5F9D\u5FA2\u5FA7\u5FAB\u5FA4\u5FAC\u5FAF\u5FB0\u5FB1\u5FB8\u5FC4\u5FC7\u5FC8\u5FC9\u5FCB\u5FD0",4,"\u5FDE\u5FE1\u5FE2\u5FE8\u5FE9\u5FEA\u5FEC\u5FED\u5FEE\u5FEF\u5FF2\u5FF3\u5FF6\u5FFA\u5FFC\u6007\u600A\u600D\u6013\u6014\u6017\u6018\u601A\u601F\u6024\u602D\u6033\u6035\u6040\u6047\u6048\u6049\u604C\u6051\u6054\u6056\u6057\u605D\u6061\u6067\u6071\u607E\u607F\u6082\u6086\u6088\u608A\u608E\u6091\u6093\u6095\u6098\u609D\u609E\u60A2\u60A4\u60A5\u60A8\u60B0\u60B1\u60B7"],["8fbea1","\u60BB\u60BE\u60C2\u60C4\u60C8\u60C9\u60CA\u60CB\u60CE\u60CF\u60D4\u60D5\u60D9\u60DB\u60DD\u60DE\u60E2\u60E5\u60F2\u60F5\u60F8\u60FC\u60FD\u6102\u6107\u610A\u610C\u6110",4,"\u6116\u6117\u6119\u611C\u611E\u6122\u612A\u612B\u6130\u6131\u6135\u6136\u6137\u6139\u6141\u6145\u6146\u6149\u615E\u6160\u616C\u6172\u6178\u617B\u617C\u617F\u6180\u6181\u6183\u6184\u618B\u618D\u6192\u6193\u6197\u6198\u619C\u619D\u619F\u61A0\u61A5\u61A8\u61AA\u61AD\u61B8\u61B9\u61BC\u61C0\u61C1\u61C2\u61CE\u61CF\u61D5\u61DC\u61DD\u61DE\u61DF\u61E1\u61E2\u61E7\u61E9\u61E5"],["8fbfa1","\u61EC\u61ED\u61EF\u6201\u6203\u6204\u6207\u6213\u6215\u621C\u6220\u6222\u6223\u6227\u6229\u622B\u6239\u623D\u6242\u6243\u6244\u6246\u624C\u6250\u6251\u6252\u6254\u6256\u625A\u625C\u6264\u626D\u626F\u6273\u627A\u627D\u628D\u628E\u628F\u6290\u62A6\u62A8\u62B3\u62B6\u62B7\u62BA\u62BE\u62BF\u62C4\u62CE\u62D5\u62D6\u62DA\u62EA\u62F2\u62F4\u62FC\u62FD\u6303\u6304\u630A\u630B\u630D\u6310\u6313\u6316\u6318\u6329\u632A\u632D\u6335\u6336\u6339\u633C\u6341\u6342\u6343\u6344\u6346\u634A\u634B\u634E\u6352\u6353\u6354\u6358\u635B\u6365\u6366\u636C\u636D\u6371\u6374\u6375"],["8fc0a1","\u6378\u637C\u637D\u637F\u6382\u6384\u6387\u638A\u6390\u6394\u6395\u6399\u639A\u639E\u63A4\u63A6\u63AD\u63AE\u63AF\u63BD\u63C1\u63C5\u63C8\u63CE\u63D1\u63D3\u63D4\u63D5\u63DC\u63E0\u63E5\u63EA\u63EC\u63F2\u63F3\u63F5\u63F8\u63F9\u6409\u640A\u6410\u6412\u6414\u6418\u641E\u6420\u6422\u6424\u6425\u6429\u642A\u642F\u6430\u6435\u643D\u643F\u644B\u644F\u6451\u6452\u6453\u6454\u645A\u645B\u645C\u645D\u645F\u6460\u6461\u6463\u646D\u6473\u6474\u647B\u647D\u6485\u6487\u648F\u6490\u6491\u6498\u6499\u649B\u649D\u649F\u64A1\u64A3\u64A6\u64A8\u64AC\u64B3\u64BD\u64BE\u64BF"],["8fc1a1","\u64C4\u64C9\u64CA\u64CB\u64CC\u64CE\u64D0\u64D1\u64D5\u64D7\u64E4\u64E5\u64E9\u64EA\u64ED\u64F0\u64F5\u64F7\u64FB\u64FF\u6501\u6504\u6508\u6509\u650A\u650F\u6513\u6514\u6516\u6519\u651B\u651E\u651F\u6522\u6526\u6529\u652E\u6531\u653A\u653C\u653D\u6543\u6547\u6549\u6550\u6552\u6554\u655F\u6560\u6567\u656B\u657A\u657D\u6581\u6585\u658A\u6592\u6595\u6598\u659D\u65A0\u65A3\u65A6\u65AE\u65B2\u65B3\u65B4\u65BF\u65C2\u65C8\u65C9\u65CE\u65D0\u65D4\u65D6\u65D8\u65DF\u65F0\u65F2\u65F4\u65F5\u65F9\u65FE\u65FF\u6600\u6604\u6608\u6609\u660D\u6611\u6612\u6615\u6616\u661D"],["8fc2a1","\u661E\u6621\u6622\u6623\u6624\u6626\u6629\u662A\u662B\u662C\u662E\u6630\u6631\u6633\u6639\u6637\u6640\u6645\u6646\u664A\u664C\u6651\u664E\u6657\u6658\u6659\u665B\u665C\u6660\u6661\u66FB\u666A\u666B\u666C\u667E\u6673\u6675\u667F\u6677\u6678\u6679\u667B\u6680\u667C\u668B\u668C\u668D\u6690\u6692\u6699\u669A\u669B\u669C\u669F\u66A0\u66A4\u66AD\u66B1\u66B2\u66B5\u66BB\u66BF\u66C0\u66C2\u66C3\u66C8\u66CC\u66CE\u66CF\u66D4\u66DB\u66DF\u66E8\u66EB\u66EC\u66EE\u66FA\u6705\u6707\u670E\u6713\u6719\u671C\u6720\u6722\u6733\u673E\u6745\u6747\u6748\u674C\u6754\u6755\u675D"],["8fc3a1","\u6766\u676C\u676E\u6774\u6776\u677B\u6781\u6784\u678E\u678F\u6791\u6793\u6796\u6798\u6799\u679B\u67B0\u67B1\u67B2\u67B5\u67BB\u67BC\u67BD\u67F9\u67C0\u67C2\u67C3\u67C5\u67C8\u67C9\u67D2\u67D7\u67D9\u67DC\u67E1\u67E6\u67F0\u67F2\u67F6\u67F7\u6852\u6814\u6819\u681D\u681F\u6828\u6827\u682C\u682D\u682F\u6830\u6831\u6833\u683B\u683F\u6844\u6845\u684A\u684C\u6855\u6857\u6858\u685B\u686B\u686E",4,"\u6875\u6879\u687A\u687B\u687C\u6882\u6884\u6886\u6888\u6896\u6898\u689A\u689C\u68A1\u68A3\u68A5\u68A9\u68AA\u68AE\u68B2\u68BB\u68C5\u68C8\u68CC\u68CF"],["8fc4a1","\u68D0\u68D1\u68D3\u68D6\u68D9\u68DC\u68DD\u68E5\u68E8\u68EA\u68EB\u68EC\u68ED\u68F0\u68F1\u68F5\u68F6\u68FB\u68FC\u68FD\u6906\u6909\u690A\u6910\u6911\u6913\u6916\u6917\u6931\u6933\u6935\u6938\u693B\u6942\u6945\u6949\u694E\u6957\u695B\u6963\u6964\u6965\u6966\u6968\u6969\u696C\u6970\u6971\u6972\u697A\u697B\u697F\u6980\u698D\u6992\u6996\u6998\u69A1\u69A5\u69A6\u69A8\u69AB\u69AD\u69AF\u69B7\u69B8\u69BA\u69BC\u69C5\u69C8\u69D1\u69D6\u69D7\u69E2\u69E5\u69EE\u69EF\u69F1\u69F3\u69F5\u69FE\u6A00\u6A01\u6A03\u6A0F\u6A11\u6A15\u6A1A\u6A1D\u6A20\u6A24\u6A28\u6A30\u6A32"],["8fc5a1","\u6A34\u6A37\u6A3B\u6A3E\u6A3F\u6A45\u6A46\u6A49\u6A4A\u6A4E\u6A50\u6A51\u6A52\u6A55\u6A56\u6A5B\u6A64\u6A67\u6A6A\u6A71\u6A73\u6A7E\u6A81\u6A83\u6A86\u6A87\u6A89\u6A8B\u6A91\u6A9B\u6A9D\u6A9E\u6A9F\u6AA5\u6AAB\u6AAF\u6AB0\u6AB1\u6AB4\u6ABD\u6ABE\u6ABF\u6AC6\u6AC9\u6AC8\u6ACC\u6AD0\u6AD4\u6AD5\u6AD6\u6ADC\u6ADD\u6AE4\u6AE7\u6AEC\u6AF0\u6AF1\u6AF2\u6AFC\u6AFD\u6B02\u6B03\u6B06\u6B07\u6B09\u6B0F\u6B10\u6B11\u6B17\u6B1B\u6B1E\u6B24\u6B28\u6B2B\u6B2C\u6B2F\u6B35\u6B36\u6B3B\u6B3F\u6B46\u6B4A\u6B4D\u6B52\u6B56\u6B58\u6B5D\u6B60\u6B67\u6B6B\u6B6E\u6B70\u6B75\u6B7D"],["8fc6a1","\u6B7E\u6B82\u6B85\u6B97\u6B9B\u6B9F\u6BA0\u6BA2\u6BA3\u6BA8\u6BA9\u6BAC\u6BAD\u6BAE\u6BB0\u6BB8\u6BB9\u6BBD\u6BBE\u6BC3\u6BC4\u6BC9\u6BCC\u6BD6\u6BDA\u6BE1\u6BE3\u6BE6\u6BE7\u6BEE\u6BF1\u6BF7\u6BF9\u6BFF\u6C02\u6C04\u6C05\u6C09\u6C0D\u6C0E\u6C10\u6C12\u6C19\u6C1F\u6C26\u6C27\u6C28\u6C2C\u6C2E\u6C33\u6C35\u6C36\u6C3A\u6C3B\u6C3F\u6C4A\u6C4B\u6C4D\u6C4F\u6C52\u6C54\u6C59\u6C5B\u6C5C\u6C6B\u6C6D\u6C6F\u6C74\u6C76\u6C78\u6C79\u6C7B\u6C85\u6C86\u6C87\u6C89\u6C94\u6C95\u6C97\u6C98\u6C9C\u6C9F\u6CB0\u6CB2\u6CB4\u6CC2\u6CC6\u6CCD\u6CCF\u6CD0\u6CD1\u6CD2\u6CD4\u6CD6"],["8fc7a1","\u6CDA\u6CDC\u6CE0\u6CE7\u6CE9\u6CEB\u6CEC\u6CEE\u6CF2\u6CF4\u6D04\u6D07\u6D0A\u6D0E\u6D0F\u6D11\u6D13\u6D1A\u6D26\u6D27\u6D28\u6C67\u6D2E\u6D2F\u6D31\u6D39\u6D3C\u6D3F\u6D57\u6D5E\u6D5F\u6D61\u6D65\u6D67\u6D6F\u6D70\u6D7C\u6D82\u6D87\u6D91\u6D92\u6D94\u6D96\u6D97\u6D98\u6DAA\u6DAC\u6DB4\u6DB7\u6DB9\u6DBD\u6DBF\u6DC4\u6DC8\u6DCA\u6DCE\u6DCF\u6DD6\u6DDB\u6DDD\u6DDF\u6DE0\u6DE2\u6DE5\u6DE9\u6DEF\u6DF0\u6DF4\u6DF6\u6DFC\u6E00\u6E04\u6E1E\u6E22\u6E27\u6E32\u6E36\u6E39\u6E3B\u6E3C\u6E44\u6E45\u6E48\u6E49\u6E4B\u6E4F\u6E51\u6E52\u6E53\u6E54\u6E57\u6E5C\u6E5D\u6E5E"],["8fc8a1","\u6E62\u6E63\u6E68\u6E73\u6E7B\u6E7D\u6E8D\u6E93\u6E99\u6EA0\u6EA7\u6EAD\u6EAE\u6EB1\u6EB3\u6EBB\u6EBF\u6EC0\u6EC1\u6EC3\u6EC7\u6EC8\u6ECA\u6ECD\u6ECE\u6ECF\u6EEB\u6EED\u6EEE\u6EF9\u6EFB\u6EFD\u6F04\u6F08\u6F0A\u6F0C\u6F0D\u6F16\u6F18\u6F1A\u6F1B\u6F26\u6F29\u6F2A\u6F2F\u6F30\u6F33\u6F36\u6F3B\u6F3C\u6F2D\u6F4F\u6F51\u6F52\u6F53\u6F57\u6F59\u6F5A\u6F5D\u6F5E\u6F61\u6F62\u6F68\u6F6C\u6F7D\u6F7E\u6F83\u6F87\u6F88\u6F8B\u6F8C\u6F8D\u6F90\u6F92\u6F93\u6F94\u6F96\u6F9A\u6F9F\u6FA0\u6FA5\u6FA6\u6FA7\u6FA8\u6FAE\u6FAF\u6FB0\u6FB5\u6FB6\u6FBC\u6FC5\u6FC7\u6FC8\u6FCA"],["8fc9a1","\u6FDA\u6FDE\u6FE8\u6FE9\u6FF0\u6FF5\u6FF9\u6FFC\u6FFD\u7000\u7005\u7006\u7007\u700D\u7017\u7020\u7023\u702F\u7034\u7037\u7039\u703C\u7043\u7044\u7048\u7049\u704A\u704B\u7054\u7055\u705D\u705E\u704E\u7064\u7065\u706C\u706E\u7075\u7076\u707E\u7081\u7085\u7086\u7094",4,"\u709B\u70A4\u70AB\u70B0\u70B1\u70B4\u70B7\u70CA\u70D1\u70D3\u70D4\u70D5\u70D6\u70D8\u70DC\u70E4\u70FA\u7103",4,"\u710B\u710C\u710F\u711E\u7120\u712B\u712D\u712F\u7130\u7131\u7138\u7141\u7145\u7146\u7147\u714A\u714B\u7150\u7152\u7157\u715A\u715C\u715E\u7160"],["8fcaa1","\u7168\u7179\u7180\u7185\u7187\u718C\u7192\u719A\u719B\u71A0\u71A2\u71AF\u71B0\u71B2\u71B3\u71BA\u71BF\u71C0\u71C1\u71C4\u71CB\u71CC\u71D3\u71D6\u71D9\u71DA\u71DC\u71F8\u71FE\u7200\u7207\u7208\u7209\u7213\u7217\u721A\u721D\u721F\u7224\u722B\u722F\u7234\u7238\u7239\u7241\u7242\u7243\u7245\u724E\u724F\u7250\u7253\u7255\u7256\u725A\u725C\u725E\u7260\u7263\u7268\u726B\u726E\u726F\u7271\u7277\u7278\u727B\u727C\u727F\u7284\u7289\u728D\u728E\u7293\u729B\u72A8\u72AD\u72AE\u72B1\u72B4\u72BE\u72C1\u72C7\u72C9\u72CC\u72D5\u72D6\u72D8\u72DF\u72E5\u72F3\u72F4\u72FA\u72FB"],["8fcba1","\u72FE\u7302\u7304\u7305\u7307\u730B\u730D\u7312\u7313\u7318\u7319\u731E\u7322\u7324\u7327\u7328\u732C\u7331\u7332\u7335\u733A\u733B\u733D\u7343\u734D\u7350\u7352\u7356\u7358\u735D\u735E\u735F\u7360\u7366\u7367\u7369\u736B\u736C\u736E\u736F\u7371\u7377\u7379\u737C\u7380\u7381\u7383\u7385\u7386\u738E\u7390\u7393\u7395\u7397\u7398\u739C\u739E\u739F\u73A0\u73A2\u73A5\u73A6\u73AA\u73AB\u73AD\u73B5\u73B7\u73B9\u73BC\u73BD\u73BF\u73C5\u73C6\u73C9\u73CB\u73CC\u73CF\u73D2\u73D3\u73D6\u73D9\u73DD\u73E1\u73E3\u73E6\u73E7\u73E9\u73F4\u73F5\u73F7\u73F9\u73FA\u73FB\u73FD"],["8fcca1","\u73FF\u7400\u7401\u7404\u7407\u740A\u7411\u741A\u741B\u7424\u7426\u7428",9,"\u7439\u7440\u7443\u7444\u7446\u7447\u744B\u744D\u7451\u7452\u7457\u745D\u7462\u7466\u7467\u7468\u746B\u746D\u746E\u7471\u7472\u7480\u7481\u7485\u7486\u7487\u7489\u748F\u7490\u7491\u7492\u7498\u7499\u749A\u749C\u749F\u74A0\u74A1\u74A3\u74A6\u74A8\u74A9\u74AA\u74AB\u74AE\u74AF\u74B1\u74B2\u74B5\u74B9\u74BB\u74BF\u74C8\u74C9\u74CC\u74D0\u74D3\u74D8\u74DA\u74DB\u74DE\u74DF\u74E4\u74E8\u74EA\u74EB\u74EF\u74F4\u74FA\u74FB\u74FC\u74FF\u7506"],["8fcda1","\u7512\u7516\u7517\u7520\u7521\u7524\u7527\u7529\u752A\u752F\u7536\u7539\u753D\u753E\u753F\u7540\u7543\u7547\u7548\u754E\u7550\u7552\u7557\u755E\u755F\u7561\u756F\u7571\u7579",5,"\u7581\u7585\u7590\u7592\u7593\u7595\u7599\u759C\u75A2\u75A4\u75B4\u75BA\u75BF\u75C0\u75C1\u75C4\u75C6\u75CC\u75CE\u75CF\u75D7\u75DC\u75DF\u75E0\u75E1\u75E4\u75E7\u75EC\u75EE\u75EF\u75F1\u75F9\u7600\u7602\u7603\u7604\u7607\u7608\u760A\u760C\u760F\u7612\u7613\u7615\u7616\u7619\u761B\u761C\u761D\u761E\u7623\u7625\u7626\u7629\u762D\u7632\u7633\u7635\u7638\u7639"],["8fcea1","\u763A\u763C\u764A\u7640\u7641\u7643\u7644\u7645\u7649\u764B\u7655\u7659\u765F\u7664\u7665\u766D\u766E\u766F\u7671\u7674\u7681\u7685\u768C\u768D\u7695\u769B\u769C\u769D\u769F\u76A0\u76A2",6,"\u76AA\u76AD\u76BD\u76C1\u76C5\u76C9\u76CB\u76CC\u76CE\u76D4\u76D9\u76E0\u76E6\u76E8\u76EC\u76F0\u76F1\u76F6\u76F9\u76FC\u7700\u7706\u770A\u770E\u7712\u7714\u7715\u7717\u7719\u771A\u771C\u7722\u7728\u772D\u772E\u772F\u7734\u7735\u7736\u7739\u773D\u773E\u7742\u7745\u7746\u774A\u774D\u774E\u774F\u7752\u7756\u7757\u775C\u775E\u775F\u7760\u7762"],["8fcfa1","\u7764\u7767\u776A\u776C\u7770\u7772\u7773\u7774\u777A\u777D\u7780\u7784\u778C\u778D\u7794\u7795\u7796\u779A\u779F\u77A2\u77A7\u77AA\u77AE\u77AF\u77B1\u77B5\u77BE\u77C3\u77C9\u77D1\u77D2\u77D5\u77D9\u77DE\u77DF\u77E0\u77E4\u77E6\u77EA\u77EC\u77F0\u77F1\u77F4\u77F8\u77FB\u7805\u7806\u7809\u780D\u780E\u7811\u781D\u7821\u7822\u7823\u782D\u782E\u7830\u7835\u7837\u7843\u7844\u7847\u7848\u784C\u784E\u7852\u785C\u785E\u7860\u7861\u7863\u7864\u7868\u786A\u786E\u787A\u787E\u788A\u788F\u7894\u7898\u78A1\u789D\u789E\u789F\u78A4\u78A8\u78AC\u78AD\u78B0\u78B1\u78B2\u78B3"],["8fd0a1","\u78BB\u78BD\u78BF\u78C7\u78C8\u78C9\u78CC\u78CE\u78D2\u78D3\u78D5\u78D6\u78E4\u78DB\u78DF\u78E0\u78E1\u78E6\u78EA\u78F2\u78F3\u7900\u78F6\u78F7\u78FA\u78FB\u78FF\u7906\u790C\u7910\u791A\u791C\u791E\u791F\u7920\u7925\u7927\u7929\u792D\u7931\u7934\u7935\u793B\u793D\u793F\u7944\u7945\u7946\u794A\u794B\u794F\u7951\u7954\u7958\u795B\u795C\u7967\u7969\u796B\u7972\u7979\u797B\u797C\u797E\u798B\u798C\u7991\u7993\u7994\u7995\u7996\u7998\u799B\u799C\u79A1\u79A8\u79A9\u79AB\u79AF\u79B1\u79B4\u79B8\u79BB\u79C2\u79C4\u79C7\u79C8\u79CA\u79CF\u79D4\u79D6\u79DA\u79DD\u79DE"],["8fd1a1","\u79E0\u79E2\u79E5\u79EA\u79EB\u79ED\u79F1\u79F8\u79FC\u7A02\u7A03\u7A07\u7A09\u7A0A\u7A0C\u7A11\u7A15\u7A1B\u7A1E\u7A21\u7A27\u7A2B\u7A2D\u7A2F\u7A30\u7A34\u7A35\u7A38\u7A39\u7A3A\u7A44\u7A45\u7A47\u7A48\u7A4C\u7A55\u7A56\u7A59\u7A5C\u7A5D\u7A5F\u7A60\u7A65\u7A67\u7A6A\u7A6D\u7A75\u7A78\u7A7E\u7A80\u7A82\u7A85\u7A86\u7A8A\u7A8B\u7A90\u7A91\u7A94\u7A9E\u7AA0\u7AA3\u7AAC\u7AB3\u7AB5\u7AB9\u7ABB\u7ABC\u7AC6\u7AC9\u7ACC\u7ACE\u7AD1\u7ADB\u7AE8\u7AE9\u7AEB\u7AEC\u7AF1\u7AF4\u7AFB\u7AFD\u7AFE\u7B07\u7B14\u7B1F\u7B23\u7B27\u7B29\u7B2A\u7B2B\u7B2D\u7B2E\u7B2F\u7B30"],["8fd2a1","\u7B31\u7B34\u7B3D\u7B3F\u7B40\u7B41\u7B47\u7B4E\u7B55\u7B60\u7B64\u7B66\u7B69\u7B6A\u7B6D\u7B6F\u7B72\u7B73\u7B77\u7B84\u7B89\u7B8E\u7B90\u7B91\u7B96\u7B9B\u7B9E\u7BA0\u7BA5\u7BAC\u7BAF\u7BB0\u7BB2\u7BB5\u7BB6\u7BBA\u7BBB\u7BBC\u7BBD\u7BC2\u7BC5\u7BC8\u7BCA\u7BD4\u7BD6\u7BD7\u7BD9\u7BDA\u7BDB\u7BE8\u7BEA\u7BF2\u7BF4\u7BF5\u7BF8\u7BF9\u7BFA\u7BFC\u7BFE\u7C01\u7C02\u7C03\u7C04\u7C06\u7C09\u7C0B\u7C0C\u7C0E\u7C0F\u7C19\u7C1B\u7C20\u7C25\u7C26\u7C28\u7C2C\u7C31\u7C33\u7C34\u7C36\u7C39\u7C3A\u7C46\u7C4A\u7C55\u7C51\u7C52\u7C53\u7C59",5],["8fd3a1","\u7C61\u7C63\u7C67\u7C69\u7C6D\u7C6E\u7C70\u7C72\u7C79\u7C7C\u7C7D\u7C86\u7C87\u7C8F\u7C94\u7C9E\u7CA0\u7CA6\u7CB0\u7CB6\u7CB7\u7CBA\u7CBB\u7CBC\u7CBF\u7CC4\u7CC7\u7CC8\u7CC9\u7CCD\u7CCF\u7CD3\u7CD4\u7CD5\u7CD7\u7CD9\u7CDA\u7CDD\u7CE6\u7CE9\u7CEB\u7CF5\u7D03\u7D07\u7D08\u7D09\u7D0F\u7D11\u7D12\u7D13\u7D16\u7D1D\u7D1E\u7D23\u7D26\u7D2A\u7D2D\u7D31\u7D3C\u7D3D\u7D3E\u7D40\u7D41\u7D47\u7D48\u7D4D\u7D51\u7D53\u7D57\u7D59\u7D5A\u7D5C\u7D5D\u7D65\u7D67\u7D6A\u7D70\u7D78\u7D7A\u7D7B\u7D7F\u7D81\u7D82\u7D83\u7D85\u7D86\u7D88\u7D8B\u7D8C\u7D8D\u7D91\u7D96\u7D97\u7D9D"],["8fd4a1","\u7D9E\u7DA6\u7DA7\u7DAA\u7DB3\u7DB6\u7DB7\u7DB9\u7DC2",4,"\u7DCC\u7DCD\u7DCE\u7DD7\u7DD9\u7E00\u7DE2\u7DE5\u7DE6\u7DEA\u7DEB\u7DED\u7DF1\u7DF5\u7DF6\u7DF9\u7DFA\u7E08\u7E10\u7E11\u7E15\u7E17\u7E1C\u7E1D\u7E20\u7E27\u7E28\u7E2C\u7E2D\u7E2F\u7E33\u7E36\u7E3F\u7E44\u7E45\u7E47\u7E4E\u7E50\u7E52\u7E58\u7E5F\u7E61\u7E62\u7E65\u7E6B\u7E6E\u7E6F\u7E73\u7E78\u7E7E\u7E81\u7E86\u7E87\u7E8A\u7E8D\u7E91\u7E95\u7E98\u7E9A\u7E9D\u7E9E\u7F3C\u7F3B\u7F3D\u7F3E\u7F3F\u7F43\u7F44\u7F47\u7F4F\u7F52\u7F53\u7F5B\u7F5C\u7F5D\u7F61\u7F63\u7F64\u7F65\u7F66\u7F6D"],["8fd5a1","\u7F71\u7F7D\u7F7E\u7F7F\u7F80\u7F8B\u7F8D\u7F8F\u7F90\u7F91\u7F96\u7F97\u7F9C\u7FA1\u7FA2\u7FA6\u7FAA\u7FAD\u7FB4\u7FBC\u7FBF\u7FC0\u7FC3\u7FC8\u7FCE\u7FCF\u7FDB\u7FDF\u7FE3\u7FE5\u7FE8\u7FEC\u7FEE\u7FEF\u7FF2\u7FFA\u7FFD\u7FFE\u7FFF\u8007\u8008\u800A\u800D\u800E\u800F\u8011\u8013\u8014\u8016\u801D\u801E\u801F\u8020\u8024\u8026\u802C\u802E\u8030\u8034\u8035\u8037\u8039\u803A\u803C\u803E\u8040\u8044\u8060\u8064\u8066\u806D\u8071\u8075\u8081\u8088\u808E\u809C\u809E\u80A6\u80A7\u80AB\u80B8\u80B9\u80C8\u80CD\u80CF\u80D2\u80D4\u80D5\u80D7\u80D8\u80E0\u80ED\u80EE"],["8fd6a1","\u80F0\u80F2\u80F3\u80F6\u80F9\u80FA\u80FE\u8103\u810B\u8116\u8117\u8118\u811C\u811E\u8120\u8124\u8127\u812C\u8130\u8135\u813A\u813C\u8145\u8147\u814A\u814C\u8152\u8157\u8160\u8161\u8167\u8168\u8169\u816D\u816F\u8177\u8181\u8190\u8184\u8185\u8186\u818B\u818E\u8196\u8198\u819B\u819E\u81A2\u81AE\u81B2\u81B4\u81BB\u81CB\u81C3\u81C5\u81CA\u81CE\u81CF\u81D5\u81D7\u81DB\u81DD\u81DE\u81E1\u81E4\u81EB\u81EC\u81F0\u81F1\u81F2\u81F5\u81F6\u81F8\u81F9\u81FD\u81FF\u8200\u8203\u820F\u8213\u8214\u8219\u821A\u821D\u8221\u8222\u8228\u8232\u8234\u823A\u8243\u8244\u8245\u8246"],["8fd7a1","\u824B\u824E\u824F\u8251\u8256\u825C\u8260\u8263\u8267\u826D\u8274\u827B\u827D\u827F\u8280\u8281\u8283\u8284\u8287\u8289\u828A\u828E\u8291\u8294\u8296\u8298\u829A\u829B\u82A0\u82A1\u82A3\u82A4\u82A7\u82A8\u82A9\u82AA\u82AE\u82B0\u82B2\u82B4\u82B7\u82BA\u82BC\u82BE\u82BF\u82C6\u82D0\u82D5\u82DA\u82E0\u82E2\u82E4\u82E8\u82EA\u82ED\u82EF\u82F6\u82F7\u82FD\u82FE\u8300\u8301\u8307\u8308\u830A\u830B\u8354\u831B\u831D\u831E\u831F\u8321\u8322\u832C\u832D\u832E\u8330\u8333\u8337\u833A\u833C\u833D\u8342\u8343\u8344\u8347\u834D\u834E\u8351\u8355\u8356\u8357\u8370\u8378"],["8fd8a1","\u837D\u837F\u8380\u8382\u8384\u8386\u838D\u8392\u8394\u8395\u8398\u8399\u839B\u839C\u839D\u83A6\u83A7\u83A9\u83AC\u83BE\u83BF\u83C0\u83C7\u83C9\u83CF\u83D0\u83D1\u83D4\u83DD\u8353\u83E8\u83EA\u83F6\u83F8\u83F9\u83FC\u8401\u8406\u840A\u840F\u8411\u8415\u8419\u83AD\u842F\u8439\u8445\u8447\u8448\u844A\u844D\u844F\u8451\u8452\u8456\u8458\u8459\u845A\u845C\u8460\u8464\u8465\u8467\u846A\u8470\u8473\u8474\u8476\u8478\u847C\u847D\u8481\u8485\u8492\u8493\u8495\u849E\u84A6\u84A8\u84A9\u84AA\u84AF\u84B1\u84B4\u84BA\u84BD\u84BE\u84C0\u84C2\u84C7\u84C8\u84CC\u84CF\u84D3"],["8fd9a1","\u84DC\u84E7\u84EA\u84EF\u84F0\u84F1\u84F2\u84F7\u8532\u84FA\u84FB\u84FD\u8502\u8503\u8507\u850C\u850E\u8510\u851C\u851E\u8522\u8523\u8524\u8525\u8527\u852A\u852B\u852F\u8533\u8534\u8536\u853F\u8546\u854F",4,"\u8556\u8559\u855C",6,"\u8564\u856B\u856F\u8579\u857A\u857B\u857D\u857F\u8581\u8585\u8586\u8589\u858B\u858C\u858F\u8593\u8598\u859D\u859F\u85A0\u85A2\u85A5\u85A7\u85B4\u85B6\u85B7\u85B8\u85BC\u85BD\u85BE\u85BF\u85C2\u85C7\u85CA\u85CB\u85CE\u85AD\u85D8\u85DA\u85DF\u85E0\u85E6\u85E8\u85ED\u85F3\u85F6\u85FC"],["8fdaa1","\u85FF\u8600\u8604\u8605\u860D\u860E\u8610\u8611\u8612\u8618\u8619\u861B\u861E\u8621\u8627\u8629\u8636\u8638\u863A\u863C\u863D\u8640\u8642\u8646\u8652\u8653\u8656\u8657\u8658\u8659\u865D\u8660",4,"\u8669\u866C\u866F\u8675\u8676\u8677\u867A\u868D\u8691\u8696\u8698\u869A\u869C\u86A1\u86A6\u86A7\u86A8\u86AD\u86B1\u86B3\u86B4\u86B5\u86B7\u86B8\u86B9\u86BF\u86C0\u86C1\u86C3\u86C5\u86D1\u86D2\u86D5\u86D7\u86DA\u86DC\u86E0\u86E3\u86E5\u86E7\u8688\u86FA\u86FC\u86FD\u8704\u8705\u8707\u870B\u870E\u870F\u8710\u8713\u8714\u8719\u871E\u871F\u8721\u8723"],["8fdba1","\u8728\u872E\u872F\u8731\u8732\u8739\u873A\u873C\u873D\u873E\u8740\u8743\u8745\u874D\u8758\u875D\u8761\u8764\u8765\u876F\u8771\u8772\u877B\u8783",6,"\u878B\u878C\u8790\u8793\u8795\u8797\u8798\u8799\u879E\u87A0\u87A3\u87A7\u87AC\u87AD\u87AE\u87B1\u87B5\u87BE\u87BF\u87C1\u87C8\u87C9\u87CA\u87CE\u87D5\u87D6\u87D9\u87DA\u87DC\u87DF\u87E2\u87E3\u87E4\u87EA\u87EB\u87ED\u87F1\u87F3\u87F8\u87FA\u87FF\u8801\u8803\u8806\u8809\u880A\u880B\u8810\u8819\u8812\u8813\u8814\u8818\u881A\u881B\u881C\u881E\u881F\u8828\u882D\u882E\u8830\u8832\u8835"],["8fdca1","\u883A\u883C\u8841\u8843\u8845\u8848\u8849\u884A\u884B\u884E\u8851\u8855\u8856\u8858\u885A\u885C\u885F\u8860\u8864\u8869\u8871\u8879\u887B\u8880\u8898\u889A\u889B\u889C\u889F\u88A0\u88A8\u88AA\u88BA\u88BD\u88BE\u88C0\u88CA",4,"\u88D1\u88D2\u88D3\u88DB\u88DE\u88E7\u88EF\u88F0\u88F1\u88F5\u88F7\u8901\u8906\u890D\u890E\u890F\u8915\u8916\u8918\u8919\u891A\u891C\u8920\u8926\u8927\u8928\u8930\u8931\u8932\u8935\u8939\u893A\u893E\u8940\u8942\u8945\u8946\u8949\u894F\u8952\u8957\u895A\u895B\u895C\u8961\u8962\u8963\u896B\u896E\u8970\u8973\u8975\u897A"],["8fdda1","\u897B\u897C\u897D\u8989\u898D\u8990\u8994\u8995\u899B\u899C\u899F\u89A0\u89A5\u89B0\u89B4\u89B5\u89B6\u89B7\u89BC\u89D4",4,"\u89E5\u89E9\u89EB\u89ED\u89F1\u89F3\u89F6\u89F9\u89FD\u89FF\u8A04\u8A05\u8A07\u8A0F\u8A11\u8A12\u8A14\u8A15\u8A1E\u8A20\u8A22\u8A24\u8A26\u8A2B\u8A2C\u8A2F\u8A35\u8A37\u8A3D\u8A3E\u8A40\u8A43\u8A45\u8A47\u8A49\u8A4D\u8A4E\u8A53\u8A56\u8A57\u8A58\u8A5C\u8A5D\u8A61\u8A65\u8A67\u8A75\u8A76\u8A77\u8A79\u8A7A\u8A7B\u8A7E\u8A7F\u8A80\u8A83\u8A86\u8A8B\u8A8F\u8A90\u8A92\u8A96\u8A97\u8A99\u8A9F\u8AA7\u8AA9\u8AAE\u8AAF\u8AB3"],["8fdea1","\u8AB6\u8AB7\u8ABB\u8ABE\u8AC3\u8AC6\u8AC8\u8AC9\u8ACA\u8AD1\u8AD3\u8AD4\u8AD5\u8AD7\u8ADD\u8ADF\u8AEC\u8AF0\u8AF4\u8AF5\u8AF6\u8AFC\u8AFF\u8B05\u8B06\u8B0B\u8B11\u8B1C\u8B1E\u8B1F\u8B0A\u8B2D\u8B30\u8B37\u8B3C\u8B42",4,"\u8B48\u8B52\u8B53\u8B54\u8B59\u8B4D\u8B5E\u8B63\u8B6D\u8B76\u8B78\u8B79\u8B7C\u8B7E\u8B81\u8B84\u8B85\u8B8B\u8B8D\u8B8F\u8B94\u8B95\u8B9C\u8B9E\u8B9F\u8C38\u8C39\u8C3D\u8C3E\u8C45\u8C47\u8C49\u8C4B\u8C4F\u8C51\u8C53\u8C54\u8C57\u8C58\u8C5B\u8C5D\u8C59\u8C63\u8C64\u8C66\u8C68\u8C69\u8C6D\u8C73\u8C75\u8C76\u8C7B\u8C7E\u8C86"],["8fdfa1","\u8C87\u8C8B\u8C90\u8C92\u8C93\u8C99\u8C9B\u8C9C\u8CA4\u8CB9\u8CBA\u8CC5\u8CC6\u8CC9\u8CCB\u8CCF\u8CD6\u8CD5\u8CD9\u8CDD\u8CE1\u8CE8\u8CEC\u8CEF\u8CF0\u8CF2\u8CF5\u8CF7\u8CF8\u8CFE\u8CFF\u8D01\u8D03\u8D09\u8D12\u8D17\u8D1B\u8D65\u8D69\u8D6C\u8D6E\u8D7F\u8D82\u8D84\u8D88\u8D8D\u8D90\u8D91\u8D95\u8D9E\u8D9F\u8DA0\u8DA6\u8DAB\u8DAC\u8DAF\u8DB2\u8DB5\u8DB7\u8DB9\u8DBB\u8DC0\u8DC5\u8DC6\u8DC7\u8DC8\u8DCA\u8DCE\u8DD1\u8DD4\u8DD5\u8DD7\u8DD9\u8DE4\u8DE5\u8DE7\u8DEC\u8DF0\u8DBC\u8DF1\u8DF2\u8DF4\u8DFD\u8E01\u8E04\u8E05\u8E06\u8E0B\u8E11\u8E14\u8E16\u8E20\u8E21\u8E22"],["8fe0a1","\u8E23\u8E26\u8E27\u8E31\u8E33\u8E36\u8E37\u8E38\u8E39\u8E3D\u8E40\u8E41\u8E4B\u8E4D\u8E4E\u8E4F\u8E54\u8E5B\u8E5C\u8E5D\u8E5E\u8E61\u8E62\u8E69\u8E6C\u8E6D\u8E6F\u8E70\u8E71\u8E79\u8E7A\u8E7B\u8E82\u8E83\u8E89\u8E90\u8E92\u8E95\u8E9A\u8E9B\u8E9D\u8E9E\u8EA2\u8EA7\u8EA9\u8EAD\u8EAE\u8EB3\u8EB5\u8EBA\u8EBB\u8EC0\u8EC1\u8EC3\u8EC4\u8EC7\u8ECF\u8ED1\u8ED4\u8EDC\u8EE8\u8EEE\u8EF0\u8EF1\u8EF7\u8EF9\u8EFA\u8EED\u8F00\u8F02\u8F07\u8F08\u8F0F\u8F10\u8F16\u8F17\u8F18\u8F1E\u8F20\u8F21\u8F23\u8F25\u8F27\u8F28\u8F2C\u8F2D\u8F2E\u8F34\u8F35\u8F36\u8F37\u8F3A\u8F40\u8F41"],["8fe1a1","\u8F43\u8F47\u8F4F\u8F51",4,"\u8F58\u8F5D\u8F5E\u8F65\u8F9D\u8FA0\u8FA1\u8FA4\u8FA5\u8FA6\u8FB5\u8FB6\u8FB8\u8FBE\u8FC0\u8FC1\u8FC6\u8FCA\u8FCB\u8FCD\u8FD0\u8FD2\u8FD3\u8FD5\u8FE0\u8FE3\u8FE4\u8FE8\u8FEE\u8FF1\u8FF5\u8FF6\u8FFB\u8FFE\u9002\u9004\u9008\u900C\u9018\u901B\u9028\u9029\u902F\u902A\u902C\u902D\u9033\u9034\u9037\u903F\u9043\u9044\u904C\u905B\u905D\u9062\u9066\u9067\u906C\u9070\u9074\u9079\u9085\u9088\u908B\u908C\u908E\u9090\u9095\u9097\u9098\u9099\u909B\u90A0\u90A1\u90A2\u90A5\u90B0\u90B2\u90B3\u90B4\u90B6\u90BD\u90CC\u90BE\u90C3"],["8fe2a1","\u90C4\u90C5\u90C7\u90C8\u90D5\u90D7\u90D8\u90D9\u90DC\u90DD\u90DF\u90E5\u90D2\u90F6\u90EB\u90EF\u90F0\u90F4\u90FE\u90FF\u9100\u9104\u9105\u9106\u9108\u910D\u9110\u9114\u9116\u9117\u9118\u911A\u911C\u911E\u9120\u9125\u9122\u9123\u9127\u9129\u912E\u912F\u9131\u9134\u9136\u9137\u9139\u913A\u913C\u913D\u9143\u9147\u9148\u914F\u9153\u9157\u9159\u915A\u915B\u9161\u9164\u9167\u916D\u9174\u9179\u917A\u917B\u9181\u9183\u9185\u9186\u918A\u918E\u9191\u9193\u9194\u9195\u9198\u919E\u91A1\u91A6\u91A8\u91AC\u91AD\u91AE\u91B0\u91B1\u91B2\u91B3\u91B6\u91BB\u91BC\u91BD\u91BF"],["8fe3a1","\u91C2\u91C3\u91C5\u91D3\u91D4\u91D7\u91D9\u91DA\u91DE\u91E4\u91E5\u91E9\u91EA\u91EC",5,"\u91F7\u91F9\u91FB\u91FD\u9200\u9201\u9204\u9205\u9206\u9207\u9209\u920A\u920C\u9210\u9212\u9213\u9216\u9218\u921C\u921D\u9223\u9224\u9225\u9226\u9228\u922E\u922F\u9230\u9233\u9235\u9236\u9238\u9239\u923A\u923C\u923E\u9240\u9242\u9243\u9246\u9247\u924A\u924D\u924E\u924F\u9251\u9258\u9259\u925C\u925D\u9260\u9261\u9265\u9267\u9268\u9269\u926E\u926F\u9270\u9275",4,"\u927B\u927C\u927D\u927F\u9288\u9289\u928A\u928D\u928E\u9292\u9297"],["8fe4a1","\u9299\u929F\u92A0\u92A4\u92A5\u92A7\u92A8\u92AB\u92AF\u92B2\u92B6\u92B8\u92BA\u92BB\u92BC\u92BD\u92BF",4,"\u92C5\u92C6\u92C7\u92C8\u92CB\u92CC\u92CD\u92CE\u92D0\u92D3\u92D5\u92D7\u92D8\u92D9\u92DC\u92DD\u92DF\u92E0\u92E1\u92E3\u92E5\u92E7\u92E8\u92EC\u92EE\u92F0\u92F9\u92FB\u92FF\u9300\u9302\u9308\u930D\u9311\u9314\u9315\u931C\u931D\u931E\u931F\u9321\u9324\u9325\u9327\u9329\u932A\u9333\u9334\u9336\u9337\u9347\u9348\u9349\u9350\u9351\u9352\u9355\u9357\u9358\u935A\u935E\u9364\u9365\u9367\u9369\u936A\u936D\u936F\u9370\u9371\u9373\u9374\u9376"],["8fe5a1","\u937A\u937D\u937F\u9380\u9381\u9382\u9388\u938A\u938B\u938D\u938F\u9392\u9395\u9398\u939B\u939E\u93A1\u93A3\u93A4\u93A6\u93A8\u93AB\u93B4\u93B5\u93B6\u93BA\u93A9\u93C1\u93C4\u93C5\u93C6\u93C7\u93C9",4,"\u93D3\u93D9\u93DC\u93DE\u93DF\u93E2\u93E6\u93E7\u93F9\u93F7\u93F8\u93FA\u93FB\u93FD\u9401\u9402\u9404\u9408\u9409\u940D\u940E\u940F\u9415\u9416\u9417\u941F\u942E\u942F\u9431\u9432\u9433\u9434\u943B\u943F\u943D\u9443\u9445\u9448\u944A\u944C\u9455\u9459\u945C\u945F\u9461\u9463\u9468\u946B\u946D\u946E\u946F\u9471\u9472\u9484\u9483\u9578\u9579"],["8fe6a1","\u957E\u9584\u9588\u958C\u958D\u958E\u959D\u959E\u959F\u95A1\u95A6\u95A9\u95AB\u95AC\u95B4\u95B6\u95BA\u95BD\u95BF\u95C6\u95C8\u95C9\u95CB\u95D0\u95D1\u95D2\u95D3\u95D9\u95DA\u95DD\u95DE\u95DF\u95E0\u95E4\u95E6\u961D\u961E\u9622\u9624\u9625\u9626\u962C\u9631\u9633\u9637\u9638\u9639\u963A\u963C\u963D\u9641\u9652\u9654\u9656\u9657\u9658\u9661\u966E\u9674\u967B\u967C\u967E\u967F\u9681\u9682\u9683\u9684\u9689\u9691\u9696\u969A\u969D\u969F\u96A4\u96A5\u96A6\u96A9\u96AE\u96AF\u96B3\u96BA\u96CA\u96D2\u5DB2\u96D8\u96DA\u96DD\u96DE\u96DF\u96E9\u96EF\u96F1\u96FA\u9702"],["8fe7a1","\u9703\u9705\u9709\u971A\u971B\u971D\u9721\u9722\u9723\u9728\u9731\u9733\u9741\u9743\u974A\u974E\u974F\u9755\u9757\u9758\u975A\u975B\u9763\u9767\u976A\u976E\u9773\u9776\u9777\u9778\u977B\u977D\u977F\u9780\u9789\u9795\u9796\u9797\u9799\u979A\u979E\u979F\u97A2\u97AC\u97AE\u97B1\u97B2\u97B5\u97B6\u97B8\u97B9\u97BA\u97BC\u97BE\u97BF\u97C1\u97C4\u97C5\u97C7\u97C9\u97CA\u97CC\u97CD\u97CE\u97D0\u97D1\u97D4\u97D7\u97D8\u97D9\u97DD\u97DE\u97E0\u97DB\u97E1\u97E4\u97EF\u97F1\u97F4\u97F7\u97F8\u97FA\u9807\u980A\u9819\u980D\u980E\u9814\u9816\u981C\u981E\u9820\u9823\u9826"],["8fe8a1","\u982B\u982E\u982F\u9830\u9832\u9833\u9835\u9825\u983E\u9844\u9847\u984A\u9851\u9852\u9853\u9856\u9857\u9859\u985A\u9862\u9863\u9865\u9866\u986A\u986C\u98AB\u98AD\u98AE\u98B0\u98B4\u98B7\u98B8\u98BA\u98BB\u98BF\u98C2\u98C5\u98C8\u98CC\u98E1\u98E3\u98E5\u98E6\u98E7\u98EA\u98F3\u98F6\u9902\u9907\u9908\u9911\u9915\u9916\u9917\u991A\u991B\u991C\u991F\u9922\u9926\u9927\u992B\u9931",4,"\u9939\u993A\u993B\u993C\u9940\u9941\u9946\u9947\u9948\u994D\u994E\u9954\u9958\u9959\u995B\u995C\u995E\u995F\u9960\u999B\u999D\u999F\u99A6\u99B0\u99B1\u99B2\u99B5"],["8fe9a1","\u99B9\u99BA\u99BD\u99BF\u99C3\u99C9\u99D3\u99D4\u99D9\u99DA\u99DC\u99DE\u99E7\u99EA\u99EB\u99EC\u99F0\u99F4\u99F5\u99F9\u99FD\u99FE\u9A02\u9A03\u9A04\u9A0B\u9A0C\u9A10\u9A11\u9A16\u9A1E\u9A20\u9A22\u9A23\u9A24\u9A27\u9A2D\u9A2E\u9A33\u9A35\u9A36\u9A38\u9A47\u9A41\u9A44\u9A4A\u9A4B\u9A4C\u9A4E\u9A51\u9A54\u9A56\u9A5D\u9AAA\u9AAC\u9AAE\u9AAF\u9AB2\u9AB4\u9AB5\u9AB6\u9AB9\u9ABB\u9ABE\u9ABF\u9AC1\u9AC3\u9AC6\u9AC8\u9ACE\u9AD0\u9AD2\u9AD5\u9AD6\u9AD7\u9ADB\u9ADC\u9AE0\u9AE4\u9AE5\u9AE7\u9AE9\u9AEC\u9AF2\u9AF3\u9AF5\u9AF9\u9AFA\u9AFD\u9AFF",4],["8feaa1","\u9B04\u9B05\u9B08\u9B09\u9B0B\u9B0C\u9B0D\u9B0E\u9B10\u9B12\u9B16\u9B19\u9B1B\u9B1C\u9B20\u9B26\u9B2B\u9B2D\u9B33\u9B34\u9B35\u9B37\u9B39\u9B3A\u9B3D\u9B48\u9B4B\u9B4C\u9B55\u9B56\u9B57\u9B5B\u9B5E\u9B61\u9B63\u9B65\u9B66\u9B68\u9B6A",4,"\u9B73\u9B75\u9B77\u9B78\u9B79\u9B7F\u9B80\u9B84\u9B85\u9B86\u9B87\u9B89\u9B8A\u9B8B\u9B8D\u9B8F\u9B90\u9B94\u9B9A\u9B9D\u9B9E\u9BA6\u9BA7\u9BA9\u9BAC\u9BB0\u9BB1\u9BB2\u9BB7\u9BB8\u9BBB\u9BBC\u9BBE\u9BBF\u9BC1\u9BC7\u9BC8\u9BCE\u9BD0\u9BD7\u9BD8\u9BDD\u9BDF\u9BE5\u9BE7\u9BEA\u9BEB\u9BEF\u9BF3\u9BF7\u9BF8"],["8feba1","\u9BF9\u9BFA\u9BFD\u9BFF\u9C00\u9C02\u9C0B\u9C0F\u9C11\u9C16\u9C18\u9C19\u9C1A\u9C1C\u9C1E\u9C22\u9C23\u9C26",4,"\u9C31\u9C35\u9C36\u9C37\u9C3D\u9C41\u9C43\u9C44\u9C45\u9C49\u9C4A\u9C4E\u9C4F\u9C50\u9C53\u9C54\u9C56\u9C58\u9C5B\u9C5D\u9C5E\u9C5F\u9C63\u9C69\u9C6A\u9C5C\u9C6B\u9C68\u9C6E\u9C70\u9C72\u9C75\u9C77\u9C7B\u9CE6\u9CF2\u9CF7\u9CF9\u9D0B\u9D02\u9D11\u9D17\u9D18\u9D1C\u9D1D\u9D1E\u9D2F\u9D30\u9D32\u9D33\u9D34\u9D3A\u9D3C\u9D45\u9D3D\u9D42\u9D43\u9D47\u9D4A\u9D53\u9D54\u9D5F\u9D63\u9D62\u9D65\u9D69\u9D6A\u9D6B\u9D70\u9D76\u9D77\u9D7B"],["8feca1","\u9D7C\u9D7E\u9D83\u9D84\u9D86\u9D8A\u9D8D\u9D8E\u9D92\u9D93\u9D95\u9D96\u9D97\u9D98\u9DA1\u9DAA\u9DAC\u9DAE\u9DB1\u9DB5\u9DB9\u9DBC\u9DBF\u9DC3\u9DC7\u9DC9\u9DCA\u9DD4\u9DD5\u9DD6\u9DD7\u9DDA\u9DDE\u9DDF\u9DE0\u9DE5\u9DE7\u9DE9\u9DEB\u9DEE\u9DF0\u9DF3\u9DF4\u9DFE\u9E0A\u9E02\u9E07\u9E0E\u9E10\u9E11\u9E12\u9E15\u9E16\u9E19\u9E1C\u9E1D\u9E7A\u9E7B\u9E7C\u9E80\u9E82\u9E83\u9E84\u9E85\u9E87\u9E8E\u9E8F\u9E96\u9E98\u9E9B\u9E9E\u9EA4\u9EA8\u9EAC\u9EAE\u9EAF\u9EB0\u9EB3\u9EB4\u9EB5\u9EC6\u9EC8\u9ECB\u9ED5\u9EDF\u9EE4\u9EE7\u9EEC\u9EED\u9EEE\u9EF0\u9EF1\u9EF2\u9EF5"],["8feda1","\u9EF8\u9EFF\u9F02\u9F03\u9F09\u9F0F\u9F10\u9F11\u9F12\u9F14\u9F16\u9F17\u9F19\u9F1A\u9F1B\u9F1F\u9F22\u9F26\u9F2A\u9F2B\u9F2F\u9F31\u9F32\u9F34\u9F37\u9F39\u9F3A\u9F3C\u9F3D\u9F3F\u9F41\u9F43",4,"\u9F53\u9F55\u9F56\u9F57\u9F58\u9F5A\u9F5D\u9F5E\u9F68\u9F69\u9F6D",4,"\u9F73\u9F75\u9F7A\u9F7D\u9F8F\u9F90\u9F91\u9F92\u9F94\u9F96\u9F97\u9F9E\u9FA1\u9FA2\u9FA3\u9FA5"]]});var uUe=xe((nas,aCr)=>{aCr.exports=[["0","\0",127,"\u20AC"],["8140","\u4E02\u4E04\u4E05\u4E06\u4E0F\u4E12\u4E17\u4E1F\u4E20\u4E21\u4E23\u4E26\u4E29\u4E2E\u4E2F\u4E31\u4E33\u4E35\u4E37\u4E3C\u4E40\u4E41\u4E42\u4E44\u4E46\u4E4A\u4E51\u4E55\u4E57\u4E5A\u4E5B\u4E62\u4E63\u4E64\u4E65\u4E67\u4E68\u4E6A",5,"\u4E72\u4E74",9,"\u4E7F",6,"\u4E87\u4E8A"],["8180","\u4E90\u4E96\u4E97\u4E99\u4E9C\u4E9D\u4E9E\u4EA3\u4EAA\u4EAF\u4EB0\u4EB1\u4EB4\u4EB6\u4EB7\u4EB8\u4EB9\u4EBC\u4EBD\u4EBE\u4EC8\u4ECC\u4ECF\u4ED0\u4ED2\u4EDA\u4EDB\u4EDC\u4EE0\u4EE2\u4EE6\u4EE7\u4EE9\u4EED\u4EEE\u4EEF\u4EF1\u4EF4\u4EF8\u4EF9\u4EFA\u4EFC\u4EFE\u4F00\u4F02",6,"\u4F0B\u4F0C\u4F12",4,"\u4F1C\u4F1D\u4F21\u4F23\u4F28\u4F29\u4F2C\u4F2D\u4F2E\u4F31\u4F33\u4F35\u4F37\u4F39\u4F3B\u4F3E",4,"\u4F44\u4F45\u4F47",5,"\u4F52\u4F54\u4F56\u4F61\u4F62\u4F66\u4F68\u4F6A\u4F6B\u4F6D\u4F6E\u4F71\u4F72\u4F75\u4F77\u4F78\u4F79\u4F7A\u4F7D\u4F80\u4F81\u4F82\u4F85\u4F86\u4F87\u4F8A\u4F8C\u4F8E\u4F90\u4F92\u4F93\u4F95\u4F96\u4F98\u4F99\u4F9A\u4F9C\u4F9E\u4F9F\u4FA1\u4FA2"],["8240","\u4FA4\u4FAB\u4FAD\u4FB0",4,"\u4FB6",8,"\u4FC0\u4FC1\u4FC2\u4FC6\u4FC7\u4FC8\u4FC9\u4FCB\u4FCC\u4FCD\u4FD2",4,"\u4FD9\u4FDB\u4FE0\u4FE2\u4FE4\u4FE5\u4FE7\u4FEB\u4FEC\u4FF0\u4FF2\u4FF4\u4FF5\u4FF6\u4FF7\u4FF9\u4FFB\u4FFC\u4FFD\u4FFF",11],["8280","\u500B\u500E\u5010\u5011\u5013\u5015\u5016\u5017\u501B\u501D\u501E\u5020\u5022\u5023\u5024\u5027\u502B\u502F",10,"\u503B\u503D\u503F\u5040\u5041\u5042\u5044\u5045\u5046\u5049\u504A\u504B\u504D\u5050",4,"\u5056\u5057\u5058\u5059\u505B\u505D",7,"\u5066",5,"\u506D",8,"\u5078\u5079\u507A\u507C\u507D\u5081\u5082\u5083\u5084\u5086\u5087\u5089\u508A\u508B\u508C\u508E",20,"\u50A4\u50A6\u50AA\u50AB\u50AD",4,"\u50B3",6,"\u50BC"],["8340","\u50BD",17,"\u50D0",5,"\u50D7\u50D8\u50D9\u50DB",10,"\u50E8\u50E9\u50EA\u50EB\u50EF\u50F0\u50F1\u50F2\u50F4\u50F6",4,"\u50FC",9,"\u5108"],["8380","\u5109\u510A\u510C",5,"\u5113",13,"\u5122",28,"\u5142\u5147\u514A\u514C\u514E\u514F\u5150\u5152\u5153\u5157\u5158\u5159\u515B\u515D",4,"\u5163\u5164\u5166\u5167\u5169\u516A\u516F\u5172\u517A\u517E\u517F\u5183\u5184\u5186\u5187\u518A\u518B\u518E\u518F\u5190\u5191\u5193\u5194\u5198\u519A\u519D\u519E\u519F\u51A1\u51A3\u51A6",4,"\u51AD\u51AE\u51B4\u51B8\u51B9\u51BA\u51BE\u51BF\u51C1\u51C2\u51C3\u51C5\u51C8\u51CA\u51CD\u51CE\u51D0\u51D2",5],["8440","\u51D8\u51D9\u51DA\u51DC\u51DE\u51DF\u51E2\u51E3\u51E5",5,"\u51EC\u51EE\u51F1\u51F2\u51F4\u51F7\u51FE\u5204\u5205\u5209\u520B\u520C\u520F\u5210\u5213\u5214\u5215\u521C\u521E\u521F\u5221\u5222\u5223\u5225\u5226\u5227\u522A\u522C\u522F\u5231\u5232\u5234\u5235\u523C\u523E\u5244",5,"\u524B\u524E\u524F\u5252\u5253\u5255\u5257\u5258"],["8480","\u5259\u525A\u525B\u525D\u525F\u5260\u5262\u5263\u5264\u5266\u5268\u526B\u526C\u526D\u526E\u5270\u5271\u5273",9,"\u527E\u5280\u5283",4,"\u5289",6,"\u5291\u5292\u5294",6,"\u529C\u52A4\u52A5\u52A6\u52A7\u52AE\u52AF\u52B0\u52B4",9,"\u52C0\u52C1\u52C2\u52C4\u52C5\u52C6\u52C8\u52CA\u52CC\u52CD\u52CE\u52CF\u52D1\u52D3\u52D4\u52D5\u52D7\u52D9",5,"\u52E0\u52E1\u52E2\u52E3\u52E5",10,"\u52F1",7,"\u52FB\u52FC\u52FD\u5301\u5302\u5303\u5304\u5307\u5309\u530A\u530B\u530C\u530E"],["8540","\u5311\u5312\u5313\u5314\u5318\u531B\u531C\u531E\u531F\u5322\u5324\u5325\u5327\u5328\u5329\u532B\u532C\u532D\u532F",9,"\u533C\u533D\u5340\u5342\u5344\u5346\u534B\u534C\u534D\u5350\u5354\u5358\u5359\u535B\u535D\u5365\u5368\u536A\u536C\u536D\u5372\u5376\u5379\u537B\u537C\u537D\u537E\u5380\u5381\u5383\u5387\u5388\u538A\u538E\u538F"],["8580","\u5390",4,"\u5396\u5397\u5399\u539B\u539C\u539E\u53A0\u53A1\u53A4\u53A7\u53AA\u53AB\u53AC\u53AD\u53AF",6,"\u53B7\u53B8\u53B9\u53BA\u53BC\u53BD\u53BE\u53C0\u53C3",4,"\u53CE\u53CF\u53D0\u53D2\u53D3\u53D5\u53DA\u53DC\u53DD\u53DE\u53E1\u53E2\u53E7\u53F4\u53FA\u53FE\u53FF\u5400\u5402\u5405\u5407\u540B\u5414\u5418\u5419\u541A\u541C\u5422\u5424\u5425\u542A\u5430\u5433\u5436\u5437\u543A\u543D\u543F\u5441\u5442\u5444\u5445\u5447\u5449\u544C\u544D\u544E\u544F\u5451\u545A\u545D",4,"\u5463\u5465\u5467\u5469",7,"\u5474\u5479\u547A\u547E\u547F\u5481\u5483\u5485\u5487\u5488\u5489\u548A\u548D\u5491\u5493\u5497\u5498\u549C\u549E\u549F\u54A0\u54A1"],["8640","\u54A2\u54A5\u54AE\u54B0\u54B2\u54B5\u54B6\u54B7\u54B9\u54BA\u54BC\u54BE\u54C3\u54C5\u54CA\u54CB\u54D6\u54D8\u54DB\u54E0",4,"\u54EB\u54EC\u54EF\u54F0\u54F1\u54F4",5,"\u54FB\u54FE\u5500\u5502\u5503\u5504\u5505\u5508\u550A",4,"\u5512\u5513\u5515",5,"\u551C\u551D\u551E\u551F\u5521\u5525\u5526"],["8680","\u5528\u5529\u552B\u552D\u5532\u5534\u5535\u5536\u5538\u5539\u553A\u553B\u553D\u5540\u5542\u5545\u5547\u5548\u554B",4,"\u5551\u5552\u5553\u5554\u5557",4,"\u555D\u555E\u555F\u5560\u5562\u5563\u5568\u5569\u556B\u556F",5,"\u5579\u557A\u557D\u557F\u5585\u5586\u558C\u558D\u558E\u5590\u5592\u5593\u5595\u5596\u5597\u559A\u559B\u559E\u55A0",6,"\u55A8",8,"\u55B2\u55B4\u55B6\u55B8\u55BA\u55BC\u55BF",4,"\u55C6\u55C7\u55C8\u55CA\u55CB\u55CE\u55CF\u55D0\u55D5\u55D7",4,"\u55DE\u55E0\u55E2\u55E7\u55E9\u55ED\u55EE\u55F0\u55F1\u55F4\u55F6\u55F8",4,"\u55FF\u5602\u5603\u5604\u5605"],["8740","\u5606\u5607\u560A\u560B\u560D\u5610",7,"\u5619\u561A\u561C\u561D\u5620\u5621\u5622\u5625\u5626\u5628\u5629\u562A\u562B\u562E\u562F\u5630\u5633\u5635\u5637\u5638\u563A\u563C\u563D\u563E\u5640",11,"\u564F",4,"\u5655\u5656\u565A\u565B\u565D",4],["8780","\u5663\u5665\u5666\u5667\u566D\u566E\u566F\u5670\u5672\u5673\u5674\u5675\u5677\u5678\u5679\u567A\u567D",7,"\u5687",6,"\u5690\u5691\u5692\u5694",14,"\u56A4",10,"\u56B0",6,"\u56B8\u56B9\u56BA\u56BB\u56BD",12,"\u56CB",8,"\u56D5\u56D6\u56D8\u56D9\u56DC\u56E3\u56E5",5,"\u56EC\u56EE\u56EF\u56F2\u56F3\u56F6\u56F7\u56F8\u56FB\u56FC\u5700\u5701\u5702\u5705\u5707\u570B",6],["8840","\u5712",9,"\u571D\u571E\u5720\u5721\u5722\u5724\u5725\u5726\u5727\u572B\u5731\u5732\u5734",4,"\u573C\u573D\u573F\u5741\u5743\u5744\u5745\u5746\u5748\u5749\u574B\u5752",4,"\u5758\u5759\u5762\u5763\u5765\u5767\u576C\u576E\u5770\u5771\u5772\u5774\u5775\u5778\u5779\u577A\u577D\u577E\u577F\u5780"],["8880","\u5781\u5787\u5788\u5789\u578A\u578D",4,"\u5794",6,"\u579C\u579D\u579E\u579F\u57A5\u57A8\u57AA\u57AC\u57AF\u57B0\u57B1\u57B3\u57B5\u57B6\u57B7\u57B9",8,"\u57C4",6,"\u57CC\u57CD\u57D0\u57D1\u57D3\u57D6\u57D7\u57DB\u57DC\u57DE\u57E1\u57E2\u57E3\u57E5",7,"\u57EE\u57F0\u57F1\u57F2\u57F3\u57F5\u57F6\u57F7\u57FB\u57FC\u57FE\u57FF\u5801\u5803\u5804\u5805\u5808\u5809\u580A\u580C\u580E\u580F\u5810\u5812\u5813\u5814\u5816\u5817\u5818\u581A\u581B\u581C\u581D\u581F\u5822\u5823\u5825",4,"\u582B",4,"\u5831\u5832\u5833\u5834\u5836",7],["8940","\u583E",5,"\u5845",6,"\u584E\u584F\u5850\u5852\u5853\u5855\u5856\u5857\u5859",4,"\u585F",5,"\u5866",4,"\u586D",16,"\u587F\u5882\u5884\u5886\u5887\u5888\u588A\u588B\u588C"],["8980","\u588D",4,"\u5894",4,"\u589B\u589C\u589D\u58A0",7,"\u58AA",17,"\u58BD\u58BE\u58BF\u58C0\u58C2\u58C3\u58C4\u58C6",10,"\u58D2\u58D3\u58D4\u58D6",13,"\u58E5",5,"\u58ED\u58EF\u58F1\u58F2\u58F4\u58F5\u58F7\u58F8\u58FA",7,"\u5903\u5905\u5906\u5908",4,"\u590E\u5910\u5911\u5912\u5913\u5917\u5918\u591B\u591D\u591E\u5920\u5921\u5922\u5923\u5926\u5928\u592C\u5930\u5932\u5933\u5935\u5936\u593B"],["8a40","\u593D\u593E\u593F\u5940\u5943\u5945\u5946\u594A\u594C\u594D\u5950\u5952\u5953\u5959\u595B",4,"\u5961\u5963\u5964\u5966",12,"\u5975\u5977\u597A\u597B\u597C\u597E\u597F\u5980\u5985\u5989\u598B\u598C\u598E\u598F\u5990\u5991\u5994\u5995\u5998\u599A\u599B\u599C\u599D\u599F\u59A0\u59A1\u59A2\u59A6"],["8a80","\u59A7\u59AC\u59AD\u59B0\u59B1\u59B3",5,"\u59BA\u59BC\u59BD\u59BF",6,"\u59C7\u59C8\u59C9\u59CC\u59CD\u59CE\u59CF\u59D5\u59D6\u59D9\u59DB\u59DE",4,"\u59E4\u59E6\u59E7\u59E9\u59EA\u59EB\u59ED",11,"\u59FA\u59FC\u59FD\u59FE\u5A00\u5A02\u5A0A\u5A0B\u5A0D\u5A0E\u5A0F\u5A10\u5A12\u5A14\u5A15\u5A16\u5A17\u5A19\u5A1A\u5A1B\u5A1D\u5A1E\u5A21\u5A22\u5A24\u5A26\u5A27\u5A28\u5A2A",6,"\u5A33\u5A35\u5A37",4,"\u5A3D\u5A3E\u5A3F\u5A41",4,"\u5A47\u5A48\u5A4B",9,"\u5A56\u5A57\u5A58\u5A59\u5A5B",5],["8b40","\u5A61\u5A63\u5A64\u5A65\u5A66\u5A68\u5A69\u5A6B",8,"\u5A78\u5A79\u5A7B\u5A7C\u5A7D\u5A7E\u5A80",17,"\u5A93",6,"\u5A9C",13,"\u5AAB\u5AAC"],["8b80","\u5AAD",4,"\u5AB4\u5AB6\u5AB7\u5AB9",4,"\u5ABF\u5AC0\u5AC3",5,"\u5ACA\u5ACB\u5ACD",4,"\u5AD3\u5AD5\u5AD7\u5AD9\u5ADA\u5ADB\u5ADD\u5ADE\u5ADF\u5AE2\u5AE4\u5AE5\u5AE7\u5AE8\u5AEA\u5AEC",4,"\u5AF2",22,"\u5B0A",11,"\u5B18",25,"\u5B33\u5B35\u5B36\u5B38",7,"\u5B41",6],["8c40","\u5B48",7,"\u5B52\u5B56\u5B5E\u5B60\u5B61\u5B67\u5B68\u5B6B\u5B6D\u5B6E\u5B6F\u5B72\u5B74\u5B76\u5B77\u5B78\u5B79\u5B7B\u5B7C\u5B7E\u5B7F\u5B82\u5B86\u5B8A\u5B8D\u5B8E\u5B90\u5B91\u5B92\u5B94\u5B96\u5B9F\u5BA7\u5BA8\u5BA9\u5BAC\u5BAD\u5BAE\u5BAF\u5BB1\u5BB2\u5BB7\u5BBA\u5BBB\u5BBC\u5BC0\u5BC1\u5BC3\u5BC8\u5BC9\u5BCA\u5BCB\u5BCD\u5BCE\u5BCF"],["8c80","\u5BD1\u5BD4",8,"\u5BE0\u5BE2\u5BE3\u5BE6\u5BE7\u5BE9",4,"\u5BEF\u5BF1",6,"\u5BFD\u5BFE\u5C00\u5C02\u5C03\u5C05\u5C07\u5C08\u5C0B\u5C0C\u5C0D\u5C0E\u5C10\u5C12\u5C13\u5C17\u5C19\u5C1B\u5C1E\u5C1F\u5C20\u5C21\u5C23\u5C26\u5C28\u5C29\u5C2A\u5C2B\u5C2D\u5C2E\u5C2F\u5C30\u5C32\u5C33\u5C35\u5C36\u5C37\u5C43\u5C44\u5C46\u5C47\u5C4C\u5C4D\u5C52\u5C53\u5C54\u5C56\u5C57\u5C58\u5C5A\u5C5B\u5C5C\u5C5D\u5C5F\u5C62\u5C64\u5C67",6,"\u5C70\u5C72",6,"\u5C7B\u5C7C\u5C7D\u5C7E\u5C80\u5C83",4,"\u5C89\u5C8A\u5C8B\u5C8E\u5C8F\u5C92\u5C93\u5C95\u5C9D",4,"\u5CA4",4],["8d40","\u5CAA\u5CAE\u5CAF\u5CB0\u5CB2\u5CB4\u5CB6\u5CB9\u5CBA\u5CBB\u5CBC\u5CBE\u5CC0\u5CC2\u5CC3\u5CC5",5,"\u5CCC",5,"\u5CD3",5,"\u5CDA",6,"\u5CE2\u5CE3\u5CE7\u5CE9\u5CEB\u5CEC\u5CEE\u5CEF\u5CF1",9,"\u5CFC",4],["8d80","\u5D01\u5D04\u5D05\u5D08",5,"\u5D0F",4,"\u5D15\u5D17\u5D18\u5D19\u5D1A\u5D1C\u5D1D\u5D1F",4,"\u5D25\u5D28\u5D2A\u5D2B\u5D2C\u5D2F",4,"\u5D35",7,"\u5D3F",7,"\u5D48\u5D49\u5D4D",10,"\u5D59\u5D5A\u5D5C\u5D5E",10,"\u5D6A\u5D6D\u5D6E\u5D70\u5D71\u5D72\u5D73\u5D75",12,"\u5D83",21,"\u5D9A\u5D9B\u5D9C\u5D9E\u5D9F\u5DA0"],["8e40","\u5DA1",21,"\u5DB8",12,"\u5DC6",6,"\u5DCE",12,"\u5DDC\u5DDF\u5DE0\u5DE3\u5DE4\u5DEA\u5DEC\u5DED"],["8e80","\u5DF0\u5DF5\u5DF6\u5DF8",4,"\u5DFF\u5E00\u5E04\u5E07\u5E09\u5E0A\u5E0B\u5E0D\u5E0E\u5E12\u5E13\u5E17\u5E1E",7,"\u5E28",4,"\u5E2F\u5E30\u5E32",4,"\u5E39\u5E3A\u5E3E\u5E3F\u5E40\u5E41\u5E43\u5E46",5,"\u5E4D",6,"\u5E56",4,"\u5E5C\u5E5D\u5E5F\u5E60\u5E63",14,"\u5E75\u5E77\u5E79\u5E7E\u5E81\u5E82\u5E83\u5E85\u5E88\u5E89\u5E8C\u5E8D\u5E8E\u5E92\u5E98\u5E9B\u5E9D\u5EA1\u5EA2\u5EA3\u5EA4\u5EA8",4,"\u5EAE",4,"\u5EB4\u5EBA\u5EBB\u5EBC\u5EBD\u5EBF",6],["8f40","\u5EC6\u5EC7\u5EC8\u5ECB",5,"\u5ED4\u5ED5\u5ED7\u5ED8\u5ED9\u5EDA\u5EDC",11,"\u5EE9\u5EEB",8,"\u5EF5\u5EF8\u5EF9\u5EFB\u5EFC\u5EFD\u5F05\u5F06\u5F07\u5F09\u5F0C\u5F0D\u5F0E\u5F10\u5F12\u5F14\u5F16\u5F19\u5F1A\u5F1C\u5F1D\u5F1E\u5F21\u5F22\u5F23\u5F24"],["8f80","\u5F28\u5F2B\u5F2C\u5F2E\u5F30\u5F32",6,"\u5F3B\u5F3D\u5F3E\u5F3F\u5F41",14,"\u5F51\u5F54\u5F59\u5F5A\u5F5B\u5F5C\u5F5E\u5F5F\u5F60\u5F63\u5F65\u5F67\u5F68\u5F6B\u5F6E\u5F6F\u5F72\u5F74\u5F75\u5F76\u5F78\u5F7A\u5F7D\u5F7E\u5F7F\u5F83\u5F86\u5F8D\u5F8E\u5F8F\u5F91\u5F93\u5F94\u5F96\u5F9A\u5F9B\u5F9D\u5F9E\u5F9F\u5FA0\u5FA2",5,"\u5FA9\u5FAB\u5FAC\u5FAF",5,"\u5FB6\u5FB8\u5FB9\u5FBA\u5FBB\u5FBE",4,"\u5FC7\u5FC8\u5FCA\u5FCB\u5FCE\u5FD3\u5FD4\u5FD5\u5FDA\u5FDB\u5FDC\u5FDE\u5FDF\u5FE2\u5FE3\u5FE5\u5FE6\u5FE8\u5FE9\u5FEC\u5FEF\u5FF0\u5FF2\u5FF3\u5FF4\u5FF6\u5FF7\u5FF9\u5FFA\u5FFC\u6007"],["9040","\u6008\u6009\u600B\u600C\u6010\u6011\u6013\u6017\u6018\u601A\u601E\u601F\u6022\u6023\u6024\u602C\u602D\u602E\u6030",4,"\u6036",4,"\u603D\u603E\u6040\u6044",6,"\u604C\u604E\u604F\u6051\u6053\u6054\u6056\u6057\u6058\u605B\u605C\u605E\u605F\u6060\u6061\u6065\u6066\u606E\u6071\u6072\u6074\u6075\u6077\u607E\u6080"],["9080","\u6081\u6082\u6085\u6086\u6087\u6088\u608A\u608B\u608E\u608F\u6090\u6091\u6093\u6095\u6097\u6098\u6099\u609C\u609E\u60A1\u60A2\u60A4\u60A5\u60A7\u60A9\u60AA\u60AE\u60B0\u60B3\u60B5\u60B6\u60B7\u60B9\u60BA\u60BD",7,"\u60C7\u60C8\u60C9\u60CC",4,"\u60D2\u60D3\u60D4\u60D6\u60D7\u60D9\u60DB\u60DE\u60E1",4,"\u60EA\u60F1\u60F2\u60F5\u60F7\u60F8\u60FB",4,"\u6102\u6103\u6104\u6105\u6107\u610A\u610B\u610C\u6110",4,"\u6116\u6117\u6118\u6119\u611B\u611C\u611D\u611E\u6121\u6122\u6125\u6128\u6129\u612A\u612C",18,"\u6140",6],["9140","\u6147\u6149\u614B\u614D\u614F\u6150\u6152\u6153\u6154\u6156",6,"\u615E\u615F\u6160\u6161\u6163\u6164\u6165\u6166\u6169",6,"\u6171\u6172\u6173\u6174\u6176\u6178",18,"\u618C\u618D\u618F",4,"\u6195"],["9180","\u6196",6,"\u619E",8,"\u61AA\u61AB\u61AD",9,"\u61B8",5,"\u61BF\u61C0\u61C1\u61C3",4,"\u61C9\u61CC",4,"\u61D3\u61D5",16,"\u61E7",13,"\u61F6",8,"\u6200",5,"\u6207\u6209\u6213\u6214\u6219\u621C\u621D\u621E\u6220\u6223\u6226\u6227\u6228\u6229\u622B\u622D\u622F\u6230\u6231\u6232\u6235\u6236\u6238",4,"\u6242\u6244\u6245\u6246\u624A"],["9240","\u624F\u6250\u6255\u6256\u6257\u6259\u625A\u625C",6,"\u6264\u6265\u6268\u6271\u6272\u6274\u6275\u6277\u6278\u627A\u627B\u627D\u6281\u6282\u6283\u6285\u6286\u6287\u6288\u628B",5,"\u6294\u6299\u629C\u629D\u629E\u62A3\u62A6\u62A7\u62A9\u62AA\u62AD\u62AE\u62AF\u62B0\u62B2\u62B3\u62B4\u62B6\u62B7\u62B8\u62BA\u62BE\u62C0\u62C1"],["9280","\u62C3\u62CB\u62CF\u62D1\u62D5\u62DD\u62DE\u62E0\u62E1\u62E4\u62EA\u62EB\u62F0\u62F2\u62F5\u62F8\u62F9\u62FA\u62FB\u6300\u6303\u6304\u6305\u6306\u630A\u630B\u630C\u630D\u630F\u6310\u6312\u6313\u6314\u6315\u6317\u6318\u6319\u631C\u6326\u6327\u6329\u632C\u632D\u632E\u6330\u6331\u6333",5,"\u633B\u633C\u633E\u633F\u6340\u6341\u6344\u6347\u6348\u634A\u6351\u6352\u6353\u6354\u6356",7,"\u6360\u6364\u6365\u6366\u6368\u636A\u636B\u636C\u636F\u6370\u6372\u6373\u6374\u6375\u6378\u6379\u637C\u637D\u637E\u637F\u6381\u6383\u6384\u6385\u6386\u638B\u638D\u6391\u6393\u6394\u6395\u6397\u6399",6,"\u63A1\u63A4\u63A6\u63AB\u63AF\u63B1\u63B2\u63B5\u63B6\u63B9\u63BB\u63BD\u63BF\u63C0"],["9340","\u63C1\u63C2\u63C3\u63C5\u63C7\u63C8\u63CA\u63CB\u63CC\u63D1\u63D3\u63D4\u63D5\u63D7",6,"\u63DF\u63E2\u63E4",4,"\u63EB\u63EC\u63EE\u63EF\u63F0\u63F1\u63F3\u63F5\u63F7\u63F9\u63FA\u63FB\u63FC\u63FE\u6403\u6404\u6406",4,"\u640D\u640E\u6411\u6412\u6415",5,"\u641D\u641F\u6422\u6423\u6424"],["9380","\u6425\u6427\u6428\u6429\u642B\u642E",5,"\u6435",4,"\u643B\u643C\u643E\u6440\u6442\u6443\u6449\u644B",6,"\u6453\u6455\u6456\u6457\u6459",4,"\u645F",7,"\u6468\u646A\u646B\u646C\u646E",9,"\u647B",6,"\u6483\u6486\u6488",8,"\u6493\u6494\u6497\u6498\u649A\u649B\u649C\u649D\u649F",4,"\u64A5\u64A6\u64A7\u64A8\u64AA\u64AB\u64AF\u64B1\u64B2\u64B3\u64B4\u64B6\u64B9\u64BB\u64BD\u64BE\u64BF\u64C1\u64C3\u64C4\u64C6",6,"\u64CF\u64D1\u64D3\u64D4\u64D5\u64D6\u64D9\u64DA"],["9440","\u64DB\u64DC\u64DD\u64DF\u64E0\u64E1\u64E3\u64E5\u64E7",24,"\u6501",7,"\u650A",7,"\u6513",4,"\u6519",8],["9480","\u6522\u6523\u6524\u6526",4,"\u652C\u652D\u6530\u6531\u6532\u6533\u6537\u653A\u653C\u653D\u6540",4,"\u6546\u6547\u654A\u654B\u654D\u654E\u6550\u6552\u6553\u6554\u6557\u6558\u655A\u655C\u655F\u6560\u6561\u6564\u6565\u6567\u6568\u6569\u656A\u656D\u656E\u656F\u6571\u6573\u6575\u6576\u6578",14,"\u6588\u6589\u658A\u658D\u658E\u658F\u6592\u6594\u6595\u6596\u6598\u659A\u659D\u659E\u65A0\u65A2\u65A3\u65A6\u65A8\u65AA\u65AC\u65AE\u65B1",7,"\u65BA\u65BB\u65BE\u65BF\u65C0\u65C2\u65C7\u65C8\u65C9\u65CA\u65CD\u65D0\u65D1\u65D3\u65D4\u65D5\u65D8",7,"\u65E1\u65E3\u65E4\u65EA\u65EB"],["9540","\u65F2\u65F3\u65F4\u65F5\u65F8\u65F9\u65FB",4,"\u6601\u6604\u6605\u6607\u6608\u6609\u660B\u660D\u6610\u6611\u6612\u6616\u6617\u6618\u661A\u661B\u661C\u661E\u6621\u6622\u6623\u6624\u6626\u6629\u662A\u662B\u662C\u662E\u6630\u6632\u6633\u6637",4,"\u663D\u663F\u6640\u6642\u6644",6,"\u664D\u664E\u6650\u6651\u6658"],["9580","\u6659\u665B\u665C\u665D\u665E\u6660\u6662\u6663\u6665\u6667\u6669",4,"\u6671\u6672\u6673\u6675\u6678\u6679\u667B\u667C\u667D\u667F\u6680\u6681\u6683\u6685\u6686\u6688\u6689\u668A\u668B\u668D\u668E\u668F\u6690\u6692\u6693\u6694\u6695\u6698",4,"\u669E",8,"\u66A9",4,"\u66AF",4,"\u66B5\u66B6\u66B7\u66B8\u66BA\u66BB\u66BC\u66BD\u66BF",25,"\u66DA\u66DE",7,"\u66E7\u66E8\u66EA",5,"\u66F1\u66F5\u66F6\u66F8\u66FA\u66FB\u66FD\u6701\u6702\u6703"],["9640","\u6704\u6705\u6706\u6707\u670C\u670E\u670F\u6711\u6712\u6713\u6716\u6718\u6719\u671A\u671C\u671E\u6720",5,"\u6727\u6729\u672E\u6730\u6732\u6733\u6736\u6737\u6738\u6739\u673B\u673C\u673E\u673F\u6741\u6744\u6745\u6747\u674A\u674B\u674D\u6752\u6754\u6755\u6757",4,"\u675D\u6762\u6763\u6764\u6766\u6767\u676B\u676C\u676E\u6771\u6774\u6776"],["9680","\u6778\u6779\u677A\u677B\u677D\u6780\u6782\u6783\u6785\u6786\u6788\u678A\u678C\u678D\u678E\u678F\u6791\u6792\u6793\u6794\u6796\u6799\u679B\u679F\u67A0\u67A1\u67A4\u67A6\u67A9\u67AC\u67AE\u67B1\u67B2\u67B4\u67B9",7,"\u67C2\u67C5",9,"\u67D5\u67D6\u67D7\u67DB\u67DF\u67E1\u67E3\u67E4\u67E6\u67E7\u67E8\u67EA\u67EB\u67ED\u67EE\u67F2\u67F5",7,"\u67FE\u6801\u6802\u6803\u6804\u6806\u680D\u6810\u6812\u6814\u6815\u6818",4,"\u681E\u681F\u6820\u6822",6,"\u682B",6,"\u6834\u6835\u6836\u683A\u683B\u683F\u6847\u684B\u684D\u684F\u6852\u6856",5],["9740","\u685C\u685D\u685E\u685F\u686A\u686C",7,"\u6875\u6878",8,"\u6882\u6884\u6887",7,"\u6890\u6891\u6892\u6894\u6895\u6896\u6898",9,"\u68A3\u68A4\u68A5\u68A9\u68AA\u68AB\u68AC\u68AE\u68B1\u68B2\u68B4\u68B6\u68B7\u68B8"],["9780","\u68B9",6,"\u68C1\u68C3",5,"\u68CA\u68CC\u68CE\u68CF\u68D0\u68D1\u68D3\u68D4\u68D6\u68D7\u68D9\u68DB",4,"\u68E1\u68E2\u68E4",9,"\u68EF\u68F2\u68F3\u68F4\u68F6\u68F7\u68F8\u68FB\u68FD\u68FE\u68FF\u6900\u6902\u6903\u6904\u6906",4,"\u690C\u690F\u6911\u6913",11,"\u6921\u6922\u6923\u6925",7,"\u692E\u692F\u6931\u6932\u6933\u6935\u6936\u6937\u6938\u693A\u693B\u693C\u693E\u6940\u6941\u6943",16,"\u6955\u6956\u6958\u6959\u695B\u695C\u695F"],["9840","\u6961\u6962\u6964\u6965\u6967\u6968\u6969\u696A\u696C\u696D\u696F\u6970\u6972",4,"\u697A\u697B\u697D\u697E\u697F\u6981\u6983\u6985\u698A\u698B\u698C\u698E",5,"\u6996\u6997\u6999\u699A\u699D",9,"\u69A9\u69AA\u69AC\u69AE\u69AF\u69B0\u69B2\u69B3\u69B5\u69B6\u69B8\u69B9\u69BA\u69BC\u69BD"],["9880","\u69BE\u69BF\u69C0\u69C2",7,"\u69CB\u69CD\u69CF\u69D1\u69D2\u69D3\u69D5",5,"\u69DC\u69DD\u69DE\u69E1",11,"\u69EE\u69EF\u69F0\u69F1\u69F3",9,"\u69FE\u6A00",9,"\u6A0B",11,"\u6A19",5,"\u6A20\u6A22",5,"\u6A29\u6A2B\u6A2C\u6A2D\u6A2E\u6A30\u6A32\u6A33\u6A34\u6A36",6,"\u6A3F",4,"\u6A45\u6A46\u6A48",7,"\u6A51",6,"\u6A5A"],["9940","\u6A5C",4,"\u6A62\u6A63\u6A64\u6A66",10,"\u6A72",6,"\u6A7A\u6A7B\u6A7D\u6A7E\u6A7F\u6A81\u6A82\u6A83\u6A85",8,"\u6A8F\u6A92",4,"\u6A98",7,"\u6AA1",5],["9980","\u6AA7\u6AA8\u6AAA\u6AAD",114,"\u6B25\u6B26\u6B28",6],["9a40","\u6B2F\u6B30\u6B31\u6B33\u6B34\u6B35\u6B36\u6B38\u6B3B\u6B3C\u6B3D\u6B3F\u6B40\u6B41\u6B42\u6B44\u6B45\u6B48\u6B4A\u6B4B\u6B4D",11,"\u6B5A",7,"\u6B68\u6B69\u6B6B",13,"\u6B7A\u6B7D\u6B7E\u6B7F\u6B80\u6B85\u6B88"],["9a80","\u6B8C\u6B8E\u6B8F\u6B90\u6B91\u6B94\u6B95\u6B97\u6B98\u6B99\u6B9C",4,"\u6BA2",7,"\u6BAB",7,"\u6BB6\u6BB8",6,"\u6BC0\u6BC3\u6BC4\u6BC6",4,"\u6BCC\u6BCE\u6BD0\u6BD1\u6BD8\u6BDA\u6BDC",4,"\u6BE2",7,"\u6BEC\u6BED\u6BEE\u6BF0\u6BF1\u6BF2\u6BF4\u6BF6\u6BF7\u6BF8\u6BFA\u6BFB\u6BFC\u6BFE",6,"\u6C08",4,"\u6C0E\u6C12\u6C17\u6C1C\u6C1D\u6C1E\u6C20\u6C23\u6C25\u6C2B\u6C2C\u6C2D\u6C31\u6C33\u6C36\u6C37\u6C39\u6C3A\u6C3B\u6C3C\u6C3E\u6C3F\u6C43\u6C44\u6C45\u6C48\u6C4B",4,"\u6C51\u6C52\u6C53\u6C56\u6C58"],["9b40","\u6C59\u6C5A\u6C62\u6C63\u6C65\u6C66\u6C67\u6C6B",4,"\u6C71\u6C73\u6C75\u6C77\u6C78\u6C7A\u6C7B\u6C7C\u6C7F\u6C80\u6C84\u6C87\u6C8A\u6C8B\u6C8D\u6C8E\u6C91\u6C92\u6C95\u6C96\u6C97\u6C98\u6C9A\u6C9C\u6C9D\u6C9E\u6CA0\u6CA2\u6CA8\u6CAC\u6CAF\u6CB0\u6CB4\u6CB5\u6CB6\u6CB7\u6CBA\u6CC0\u6CC1\u6CC2\u6CC3\u6CC6\u6CC7\u6CC8\u6CCB\u6CCD\u6CCE\u6CCF\u6CD1\u6CD2\u6CD8"],["9b80","\u6CD9\u6CDA\u6CDC\u6CDD\u6CDF\u6CE4\u6CE6\u6CE7\u6CE9\u6CEC\u6CED\u6CF2\u6CF4\u6CF9\u6CFF\u6D00\u6D02\u6D03\u6D05\u6D06\u6D08\u6D09\u6D0A\u6D0D\u6D0F\u6D10\u6D11\u6D13\u6D14\u6D15\u6D16\u6D18\u6D1C\u6D1D\u6D1F",5,"\u6D26\u6D28\u6D29\u6D2C\u6D2D\u6D2F\u6D30\u6D34\u6D36\u6D37\u6D38\u6D3A\u6D3F\u6D40\u6D42\u6D44\u6D49\u6D4C\u6D50\u6D55\u6D56\u6D57\u6D58\u6D5B\u6D5D\u6D5F\u6D61\u6D62\u6D64\u6D65\u6D67\u6D68\u6D6B\u6D6C\u6D6D\u6D70\u6D71\u6D72\u6D73\u6D75\u6D76\u6D79\u6D7A\u6D7B\u6D7D",4,"\u6D83\u6D84\u6D86\u6D87\u6D8A\u6D8B\u6D8D\u6D8F\u6D90\u6D92\u6D96",4,"\u6D9C\u6DA2\u6DA5\u6DAC\u6DAD\u6DB0\u6DB1\u6DB3\u6DB4\u6DB6\u6DB7\u6DB9",5,"\u6DC1\u6DC2\u6DC3\u6DC8\u6DC9\u6DCA"],["9c40","\u6DCD\u6DCE\u6DCF\u6DD0\u6DD2\u6DD3\u6DD4\u6DD5\u6DD7\u6DDA\u6DDB\u6DDC\u6DDF\u6DE2\u6DE3\u6DE5\u6DE7\u6DE8\u6DE9\u6DEA\u6DED\u6DEF\u6DF0\u6DF2\u6DF4\u6DF5\u6DF6\u6DF8\u6DFA\u6DFD",7,"\u6E06\u6E07\u6E08\u6E09\u6E0B\u6E0F\u6E12\u6E13\u6E15\u6E18\u6E19\u6E1B\u6E1C\u6E1E\u6E1F\u6E22\u6E26\u6E27\u6E28\u6E2A\u6E2C\u6E2E\u6E30\u6E31\u6E33\u6E35"],["9c80","\u6E36\u6E37\u6E39\u6E3B",7,"\u6E45",7,"\u6E4F\u6E50\u6E51\u6E52\u6E55\u6E57\u6E59\u6E5A\u6E5C\u6E5D\u6E5E\u6E60",10,"\u6E6C\u6E6D\u6E6F",14,"\u6E80\u6E81\u6E82\u6E84\u6E87\u6E88\u6E8A",4,"\u6E91",6,"\u6E99\u6E9A\u6E9B\u6E9D\u6E9E\u6EA0\u6EA1\u6EA3\u6EA4\u6EA6\u6EA8\u6EA9\u6EAB\u6EAC\u6EAD\u6EAE\u6EB0\u6EB3\u6EB5\u6EB8\u6EB9\u6EBC\u6EBE\u6EBF\u6EC0\u6EC3\u6EC4\u6EC5\u6EC6\u6EC8\u6EC9\u6ECA\u6ECC\u6ECD\u6ECE\u6ED0\u6ED2\u6ED6\u6ED8\u6ED9\u6EDB\u6EDC\u6EDD\u6EE3\u6EE7\u6EEA",5],["9d40","\u6EF0\u6EF1\u6EF2\u6EF3\u6EF5\u6EF6\u6EF7\u6EF8\u6EFA",7,"\u6F03\u6F04\u6F05\u6F07\u6F08\u6F0A",4,"\u6F10\u6F11\u6F12\u6F16",9,"\u6F21\u6F22\u6F23\u6F25\u6F26\u6F27\u6F28\u6F2C\u6F2E\u6F30\u6F32\u6F34\u6F35\u6F37",6,"\u6F3F\u6F40\u6F41\u6F42"],["9d80","\u6F43\u6F44\u6F45\u6F48\u6F49\u6F4A\u6F4C\u6F4E",9,"\u6F59\u6F5A\u6F5B\u6F5D\u6F5F\u6F60\u6F61\u6F63\u6F64\u6F65\u6F67",5,"\u6F6F\u6F70\u6F71\u6F73\u6F75\u6F76\u6F77\u6F79\u6F7B\u6F7D",6,"\u6F85\u6F86\u6F87\u6F8A\u6F8B\u6F8F",12,"\u6F9D\u6F9E\u6F9F\u6FA0\u6FA2",4,"\u6FA8",10,"\u6FB4\u6FB5\u6FB7\u6FB8\u6FBA",5,"\u6FC1\u6FC3",5,"\u6FCA",6,"\u6FD3",10,"\u6FDF\u6FE2\u6FE3\u6FE4\u6FE5"],["9e40","\u6FE6",7,"\u6FF0",32,"\u7012",7,"\u701C",6,"\u7024",6],["9e80","\u702B",9,"\u7036\u7037\u7038\u703A",17,"\u704D\u704E\u7050",13,"\u705F",11,"\u706E\u7071\u7072\u7073\u7074\u7077\u7079\u707A\u707B\u707D\u7081\u7082\u7083\u7084\u7086\u7087\u7088\u708B\u708C\u708D\u708F\u7090\u7091\u7093\u7097\u7098\u709A\u709B\u709E",12,"\u70B0\u70B2\u70B4\u70B5\u70B6\u70BA\u70BE\u70BF\u70C4\u70C5\u70C6\u70C7\u70C9\u70CB",12,"\u70DA"],["9f40","\u70DC\u70DD\u70DE\u70E0\u70E1\u70E2\u70E3\u70E5\u70EA\u70EE\u70F0",6,"\u70F8\u70FA\u70FB\u70FC\u70FE",10,"\u710B",4,"\u7111\u7112\u7114\u7117\u711B",10,"\u7127",7,"\u7132\u7133\u7134"],["9f80","\u7135\u7137",13,"\u7146\u7147\u7148\u7149\u714B\u714D\u714F",12,"\u715D\u715F",4,"\u7165\u7169",4,"\u716F\u7170\u7171\u7174\u7175\u7176\u7177\u7179\u717B\u717C\u717E",5,"\u7185",4,"\u718B\u718C\u718D\u718E\u7190\u7191\u7192\u7193\u7195\u7196\u7197\u719A",4,"\u71A1",6,"\u71A9\u71AA\u71AB\u71AD",5,"\u71B4\u71B6\u71B7\u71B8\u71BA",8,"\u71C4",9,"\u71CF",4],["a040","\u71D6",9,"\u71E1\u71E2\u71E3\u71E4\u71E6\u71E8",5,"\u71EF",9,"\u71FA",11,"\u7207",19],["a080","\u721B\u721C\u721E",9,"\u7229\u722B\u722D\u722E\u722F\u7232\u7233\u7234\u723A\u723C\u723E\u7240",6,"\u7249\u724A\u724B\u724E\u724F\u7250\u7251\u7253\u7254\u7255\u7257\u7258\u725A\u725C\u725E\u7260\u7263\u7264\u7265\u7268\u726A\u726B\u726C\u726D\u7270\u7271\u7273\u7274\u7276\u7277\u7278\u727B\u727C\u727D\u7282\u7283\u7285",4,"\u728C\u728E\u7290\u7291\u7293",11,"\u72A0",11,"\u72AE\u72B1\u72B2\u72B3\u72B5\u72BA",6,"\u72C5\u72C6\u72C7\u72C9\u72CA\u72CB\u72CC\u72CF\u72D1\u72D3\u72D4\u72D5\u72D6\u72D8\u72DA\u72DB"],["a1a1","\u3000\u3001\u3002\xB7\u02C9\u02C7\xA8\u3003\u3005\u2014\uFF5E\u2016\u2026\u2018\u2019\u201C\u201D\u3014\u3015\u3008",7,"\u3016\u3017\u3010\u3011\xB1\xD7\xF7\u2236\u2227\u2228\u2211\u220F\u222A\u2229\u2208\u2237\u221A\u22A5\u2225\u2220\u2312\u2299\u222B\u222E\u2261\u224C\u2248\u223D\u221D\u2260\u226E\u226F\u2264\u2265\u221E\u2235\u2234\u2642\u2640\xB0\u2032\u2033\u2103\uFF04\xA4\uFFE0\uFFE1\u2030\xA7\u2116\u2606\u2605\u25CB\u25CF\u25CE\u25C7\u25C6\u25A1\u25A0\u25B3\u25B2\u203B\u2192\u2190\u2191\u2193\u3013"],["a2a1","\u2170",9],["a2b1","\u2488",19,"\u2474",19,"\u2460",9],["a2e5","\u3220",9],["a2f1","\u2160",11],["a3a1","\uFF01\uFF02\uFF03\uFFE5\uFF05",88,"\uFFE3"],["a4a1","\u3041",82],["a5a1","\u30A1",85],["a6a1","\u0391",16,"\u03A3",6],["a6c1","\u03B1",16,"\u03C3",6],["a6e0","\uFE35\uFE36\uFE39\uFE3A\uFE3F\uFE40\uFE3D\uFE3E\uFE41\uFE42\uFE43\uFE44"],["a6ee","\uFE3B\uFE3C\uFE37\uFE38\uFE31"],["a6f4","\uFE33\uFE34"],["a7a1","\u0410",5,"\u0401\u0416",25],["a7d1","\u0430",5,"\u0451\u0436",25],["a840","\u02CA\u02CB\u02D9\u2013\u2015\u2025\u2035\u2105\u2109\u2196\u2197\u2198\u2199\u2215\u221F\u2223\u2252\u2266\u2267\u22BF\u2550",35,"\u2581",6],["a880","\u2588",7,"\u2593\u2594\u2595\u25BC\u25BD\u25E2\u25E3\u25E4\u25E5\u2609\u2295\u3012\u301D\u301E"],["a8a1","\u0101\xE1\u01CE\xE0\u0113\xE9\u011B\xE8\u012B\xED\u01D0\xEC\u014D\xF3\u01D2\xF2\u016B\xFA\u01D4\xF9\u01D6\u01D8\u01DA\u01DC\xFC\xEA\u0251"],["a8bd","\u0144\u0148"],["a8c0","\u0261"],["a8c5","\u3105",36],["a940","\u3021",8,"\u32A3\u338E\u338F\u339C\u339D\u339E\u33A1\u33C4\u33CE\u33D1\u33D2\u33D5\uFE30\uFFE2\uFFE4"],["a959","\u2121\u3231"],["a95c","\u2010"],["a960","\u30FC\u309B\u309C\u30FD\u30FE\u3006\u309D\u309E\uFE49",9,"\uFE54\uFE55\uFE56\uFE57\uFE59",8],["a980","\uFE62",4,"\uFE68\uFE69\uFE6A\uFE6B"],["a996","\u3007"],["a9a4","\u2500",75],["aa40","\u72DC\u72DD\u72DF\u72E2",5,"\u72EA\u72EB\u72F5\u72F6\u72F9\u72FD\u72FE\u72FF\u7300\u7302\u7304",5,"\u730B\u730C\u730D\u730F\u7310\u7311\u7312\u7314\u7318\u7319\u731A\u731F\u7320\u7323\u7324\u7326\u7327\u7328\u732D\u732F\u7330\u7332\u7333\u7335\u7336\u733A\u733B\u733C\u733D\u7340",8],["aa80","\u7349\u734A\u734B\u734C\u734E\u734F\u7351\u7353\u7354\u7355\u7356\u7358",7,"\u7361",10,"\u736E\u7370\u7371"],["ab40","\u7372",11,"\u737F",4,"\u7385\u7386\u7388\u738A\u738C\u738D\u738F\u7390\u7392\u7393\u7394\u7395\u7397\u7398\u7399\u739A\u739C\u739D\u739E\u73A0\u73A1\u73A3",5,"\u73AA\u73AC\u73AD\u73B1\u73B4\u73B5\u73B6\u73B8\u73B9\u73BC\u73BD\u73BE\u73BF\u73C1\u73C3",4],["ab80","\u73CB\u73CC\u73CE\u73D2",6,"\u73DA\u73DB\u73DC\u73DD\u73DF\u73E1\u73E2\u73E3\u73E4\u73E6\u73E8\u73EA\u73EB\u73EC\u73EE\u73EF\u73F0\u73F1\u73F3",4],["ac40","\u73F8",10,"\u7404\u7407\u7408\u740B\u740C\u740D\u740E\u7411",8,"\u741C",5,"\u7423\u7424\u7427\u7429\u742B\u742D\u742F\u7431\u7432\u7437",4,"\u743D\u743E\u743F\u7440\u7442",11],["ac80","\u744E",6,"\u7456\u7458\u745D\u7460",12,"\u746E\u746F\u7471",4,"\u7478\u7479\u747A"],["ad40","\u747B\u747C\u747D\u747F\u7482\u7484\u7485\u7486\u7488\u7489\u748A\u748C\u748D\u748F\u7491",10,"\u749D\u749F",7,"\u74AA",15,"\u74BB",12],["ad80","\u74C8",9,"\u74D3",8,"\u74DD\u74DF\u74E1\u74E5\u74E7",6,"\u74F0\u74F1\u74F2"],["ae40","\u74F3\u74F5\u74F8",6,"\u7500\u7501\u7502\u7503\u7505",7,"\u750E\u7510\u7512\u7514\u7515\u7516\u7517\u751B\u751D\u751E\u7520",4,"\u7526\u7527\u752A\u752E\u7534\u7536\u7539\u753C\u753D\u753F\u7541\u7542\u7543\u7544\u7546\u7547\u7549\u754A\u754D\u7550\u7551\u7552\u7553\u7555\u7556\u7557\u7558"],["ae80","\u755D",7,"\u7567\u7568\u7569\u756B",6,"\u7573\u7575\u7576\u7577\u757A",4,"\u7580\u7581\u7582\u7584\u7585\u7587"],["af40","\u7588\u7589\u758A\u758C\u758D\u758E\u7590\u7593\u7595\u7598\u759B\u759C\u759E\u75A2\u75A6",4,"\u75AD\u75B6\u75B7\u75BA\u75BB\u75BF\u75C0\u75C1\u75C6\u75CB\u75CC\u75CE\u75CF\u75D0\u75D1\u75D3\u75D7\u75D9\u75DA\u75DC\u75DD\u75DF\u75E0\u75E1\u75E5\u75E9\u75EC\u75ED\u75EE\u75EF\u75F2\u75F3\u75F5\u75F6\u75F7\u75F8\u75FA\u75FB\u75FD\u75FE\u7602\u7604\u7606\u7607"],["af80","\u7608\u7609\u760B\u760D\u760E\u760F\u7611\u7612\u7613\u7614\u7616\u761A\u761C\u761D\u761E\u7621\u7623\u7627\u7628\u762C\u762E\u762F\u7631\u7632\u7636\u7637\u7639\u763A\u763B\u763D\u7641\u7642\u7644"],["b040","\u7645",6,"\u764E",5,"\u7655\u7657",4,"\u765D\u765F\u7660\u7661\u7662\u7664",6,"\u766C\u766D\u766E\u7670",7,"\u7679\u767A\u767C\u767F\u7680\u7681\u7683\u7685\u7689\u768A\u768C\u768D\u768F\u7690\u7692\u7694\u7695\u7697\u7698\u769A\u769B"],["b080","\u769C",7,"\u76A5",8,"\u76AF\u76B0\u76B3\u76B5",9,"\u76C0\u76C1\u76C3\u554A\u963F\u57C3\u6328\u54CE\u5509\u54C0\u7691\u764C\u853C\u77EE\u827E\u788D\u7231\u9698\u978D\u6C28\u5B89\u4FFA\u6309\u6697\u5CB8\u80FA\u6848\u80AE\u6602\u76CE\u51F9\u6556\u71AC\u7FF1\u8884\u50B2\u5965\u61CA\u6FB3\u82AD\u634C\u6252\u53ED\u5427\u7B06\u516B\u75A4\u5DF4\u62D4\u8DCB\u9776\u628A\u8019\u575D\u9738\u7F62\u7238\u767D\u67CF\u767E\u6446\u4F70\u8D25\u62DC\u7A17\u6591\u73ED\u642C\u6273\u822C\u9881\u677F\u7248\u626E\u62CC\u4F34\u74E3\u534A\u529E\u7ECA\u90A6\u5E2E\u6886\u699C\u8180\u7ED1\u68D2\u78C5\u868C\u9551\u508D\u8C24\u82DE\u80DE\u5305\u8912\u5265"],["b140","\u76C4\u76C7\u76C9\u76CB\u76CC\u76D3\u76D5\u76D9\u76DA\u76DC\u76DD\u76DE\u76E0",4,"\u76E6",7,"\u76F0\u76F3\u76F5\u76F6\u76F7\u76FA\u76FB\u76FD\u76FF\u7700\u7702\u7703\u7705\u7706\u770A\u770C\u770E",10,"\u771B\u771C\u771D\u771E\u7721\u7723\u7724\u7725\u7727\u772A\u772B"],["b180","\u772C\u772E\u7730",4,"\u7739\u773B\u773D\u773E\u773F\u7742\u7744\u7745\u7746\u7748",7,"\u7752",7,"\u775C\u8584\u96F9\u4FDD\u5821\u9971\u5B9D\u62B1\u62A5\u66B4\u8C79\u9C8D\u7206\u676F\u7891\u60B2\u5351\u5317\u8F88\u80CC\u8D1D\u94A1\u500D\u72C8\u5907\u60EB\u7119\u88AB\u5954\u82EF\u672C\u7B28\u5D29\u7EF7\u752D\u6CF5\u8E66\u8FF8\u903C\u9F3B\u6BD4\u9119\u7B14\u5F7C\u78A7\u84D6\u853D\u6BD5\u6BD9\u6BD6\u5E01\u5E87\u75F9\u95ED\u655D\u5F0A\u5FC5\u8F9F\u58C1\u81C2\u907F\u965B\u97AD\u8FB9\u7F16\u8D2C\u6241\u4FBF\u53D8\u535E\u8FA8\u8FA9\u8FAB\u904D\u6807\u5F6A\u8198\u8868\u9CD6\u618B\u522B\u762A\u5F6C\u658C\u6FD2\u6EE8\u5BBE\u6448\u5175\u51B0\u67C4\u4E19\u79C9\u997C\u70B3"],["b240","\u775D\u775E\u775F\u7760\u7764\u7767\u7769\u776A\u776D",11,"\u777A\u777B\u777C\u7781\u7782\u7783\u7786",5,"\u778F\u7790\u7793",11,"\u77A1\u77A3\u77A4\u77A6\u77A8\u77AB\u77AD\u77AE\u77AF\u77B1\u77B2\u77B4\u77B6",4],["b280","\u77BC\u77BE\u77C0",12,"\u77CE",8,"\u77D8\u77D9\u77DA\u77DD",4,"\u77E4\u75C5\u5E76\u73BB\u83E0\u64AD\u62E8\u94B5\u6CE2\u535A\u52C3\u640F\u94C2\u7B94\u4F2F\u5E1B\u8236\u8116\u818A\u6E24\u6CCA\u9A73\u6355\u535C\u54FA\u8865\u57E0\u4E0D\u5E03\u6B65\u7C3F\u90E8\u6016\u64E6\u731C\u88C1\u6750\u624D\u8D22\u776C\u8E29\u91C7\u5F69\u83DC\u8521\u9910\u53C2\u8695\u6B8B\u60ED\u60E8\u707F\u82CD\u8231\u4ED3\u6CA7\u85CF\u64CD\u7CD9\u69FD\u66F9\u8349\u5395\u7B56\u4FA7\u518C\u6D4B\u5C42\u8E6D\u63D2\u53C9\u832C\u8336\u67E5\u78B4\u643D\u5BDF\u5C94\u5DEE\u8BE7\u62C6\u67F4\u8C7A\u6400\u63BA\u8749\u998B\u8C17\u7F20\u94F2\u4EA7\u9610\u98A4\u660C\u7316"],["b340","\u77E6\u77E8\u77EA\u77EF\u77F0\u77F1\u77F2\u77F4\u77F5\u77F7\u77F9\u77FA\u77FB\u77FC\u7803",5,"\u780A\u780B\u780E\u780F\u7810\u7813\u7815\u7819\u781B\u781E\u7820\u7821\u7822\u7824\u7828\u782A\u782B\u782E\u782F\u7831\u7832\u7833\u7835\u7836\u783D\u783F\u7841\u7842\u7843\u7844\u7846\u7848\u7849\u784A\u784B\u784D\u784F\u7851\u7853\u7854\u7858\u7859\u785A"],["b380","\u785B\u785C\u785E",11,"\u786F",7,"\u7878\u7879\u787A\u787B\u787D",6,"\u573A\u5C1D\u5E38\u957F\u507F\u80A0\u5382\u655E\u7545\u5531\u5021\u8D85\u6284\u949E\u671D\u5632\u6F6E\u5DE2\u5435\u7092\u8F66\u626F\u64A4\u63A3\u5F7B\u6F88\u90F4\u81E3\u8FB0\u5C18\u6668\u5FF1\u6C89\u9648\u8D81\u886C\u6491\u79F0\u57CE\u6A59\u6210\u5448\u4E58\u7A0B\u60E9\u6F84\u8BDA\u627F\u901E\u9A8B\u79E4\u5403\u75F4\u6301\u5319\u6C60\u8FDF\u5F1B\u9A70\u803B\u9F7F\u4F88\u5C3A\u8D64\u7FC5\u65A5\u70BD\u5145\u51B2\u866B\u5D07\u5BA0\u62BD\u916C\u7574\u8E0C\u7A20\u6101\u7B79\u4EC7\u7EF8\u7785\u4E11\u81ED\u521D\u51FA\u6A71\u53A8\u8E87\u9504\u96CF\u6EC1\u9664\u695A"],["b440","\u7884\u7885\u7886\u7888\u788A\u788B\u788F\u7890\u7892\u7894\u7895\u7896\u7899\u789D\u789E\u78A0\u78A2\u78A4\u78A6\u78A8",7,"\u78B5\u78B6\u78B7\u78B8\u78BA\u78BB\u78BC\u78BD\u78BF\u78C0\u78C2\u78C3\u78C4\u78C6\u78C7\u78C8\u78CC\u78CD\u78CE\u78CF\u78D1\u78D2\u78D3\u78D6\u78D7\u78D8\u78DA",9],["b480","\u78E4\u78E5\u78E6\u78E7\u78E9\u78EA\u78EB\u78ED",4,"\u78F3\u78F5\u78F6\u78F8\u78F9\u78FB",5,"\u7902\u7903\u7904\u7906",6,"\u7840\u50A8\u77D7\u6410\u89E6\u5904\u63E3\u5DDD\u7A7F\u693D\u4F20\u8239\u5598\u4E32\u75AE\u7A97\u5E62\u5E8A\u95EF\u521B\u5439\u708A\u6376\u9524\u5782\u6625\u693F\u9187\u5507\u6DF3\u7EAF\u8822\u6233\u7EF0\u75B5\u8328\u78C1\u96CC\u8F9E\u6148\u74F7\u8BCD\u6B64\u523A\u8D50\u6B21\u806A\u8471\u56F1\u5306\u4ECE\u4E1B\u51D1\u7C97\u918B\u7C07\u4FC3\u8E7F\u7BE1\u7A9C\u6467\u5D14\u50AC\u8106\u7601\u7CB9\u6DEC\u7FE0\u6751\u5B58\u5BF8\u78CB\u64AE\u6413\u63AA\u632B\u9519\u642D\u8FBE\u7B54\u7629\u6253\u5927\u5446\u6B79\u50A3\u6234\u5E26\u6B86\u4EE3\u8D37\u888B\u5F85\u902E"],["b540","\u790D",5,"\u7914",9,"\u791F",4,"\u7925",14,"\u7935",4,"\u793D\u793F\u7942\u7943\u7944\u7945\u7947\u794A",8,"\u7954\u7955\u7958\u7959\u7961\u7963"],["b580","\u7964\u7966\u7969\u796A\u796B\u796C\u796E\u7970",6,"\u7979\u797B",4,"\u7982\u7983\u7986\u7987\u7988\u7989\u798B\u798C\u798D\u798E\u7990\u7991\u7992\u6020\u803D\u62C5\u4E39\u5355\u90F8\u63B8\u80C6\u65E6\u6C2E\u4F46\u60EE\u6DE1\u8BDE\u5F39\u86CB\u5F53\u6321\u515A\u8361\u6863\u5200\u6363\u8E48\u5012\u5C9B\u7977\u5BFC\u5230\u7A3B\u60BC\u9053\u76D7\u5FB7\u5F97\u7684\u8E6C\u706F\u767B\u7B49\u77AA\u51F3\u9093\u5824\u4F4E\u6EF4\u8FEA\u654C\u7B1B\u72C4\u6DA4\u7FDF\u5AE1\u62B5\u5E95\u5730\u8482\u7B2C\u5E1D\u5F1F\u9012\u7F14\u98A0\u6382\u6EC7\u7898\u70B9\u5178\u975B\u57AB\u7535\u4F43\u7538\u5E97\u60E6\u5960\u6DC0\u6BBF\u7889\u53FC\u96D5\u51CB\u5201\u6389\u540A\u9493\u8C03\u8DCC\u7239\u789F\u8776\u8FED\u8C0D\u53E0"],["b640","\u7993",6,"\u799B",11,"\u79A8",10,"\u79B4",4,"\u79BC\u79BF\u79C2\u79C4\u79C5\u79C7\u79C8\u79CA\u79CC\u79CE\u79CF\u79D0\u79D3\u79D4\u79D6\u79D7\u79D9",5,"\u79E0\u79E1\u79E2\u79E5\u79E8\u79EA"],["b680","\u79EC\u79EE\u79F1",6,"\u79F9\u79FA\u79FC\u79FE\u79FF\u7A01\u7A04\u7A05\u7A07\u7A08\u7A09\u7A0A\u7A0C\u7A0F",4,"\u7A15\u7A16\u7A18\u7A19\u7A1B\u7A1C\u4E01\u76EF\u53EE\u9489\u9876\u9F0E\u952D\u5B9A\u8BA2\u4E22\u4E1C\u51AC\u8463\u61C2\u52A8\u680B\u4F97\u606B\u51BB\u6D1E\u515C\u6296\u6597\u9661\u8C46\u9017\u75D8\u90FD\u7763\u6BD2\u728A\u72EC\u8BFB\u5835\u7779\u8D4C\u675C\u9540\u809A\u5EA6\u6E21\u5992\u7AEF\u77ED\u953B\u6BB5\u65AD\u7F0E\u5806\u5151\u961F\u5BF9\u58A9\u5428\u8E72\u6566\u987F\u56E4\u949D\u76FE\u9041\u6387\u54C6\u591A\u593A\u579B\u8EB2\u6735\u8DFA\u8235\u5241\u60F0\u5815\u86FE\u5CE8\u9E45\u4FC4\u989D\u8BB9\u5A25\u6076\u5384\u627C\u904F\u9102\u997F\u6069\u800C\u513F\u8033\u5C14\u9975\u6D31\u4E8C"],["b740","\u7A1D\u7A1F\u7A21\u7A22\u7A24",14,"\u7A34\u7A35\u7A36\u7A38\u7A3A\u7A3E\u7A40",5,"\u7A47",9,"\u7A52",4,"\u7A58",16],["b780","\u7A69",6,"\u7A71\u7A72\u7A73\u7A75\u7A7B\u7A7C\u7A7D\u7A7E\u7A82\u7A85\u7A87\u7A89\u7A8A\u7A8B\u7A8C\u7A8E\u7A8F\u7A90\u7A93\u7A94\u7A99\u7A9A\u7A9B\u7A9E\u7AA1\u7AA2\u8D30\u53D1\u7F5A\u7B4F\u4F10\u4E4F\u9600\u6CD5\u73D0\u85E9\u5E06\u756A\u7FFB\u6A0A\u77FE\u9492\u7E41\u51E1\u70E6\u53CD\u8FD4\u8303\u8D29\u72AF\u996D\u6CDB\u574A\u82B3\u65B9\u80AA\u623F\u9632\u59A8\u4EFF\u8BBF\u7EBA\u653E\u83F2\u975E\u5561\u98DE\u80A5\u532A\u8BFD\u5420\u80BA\u5E9F\u6CB8\u8D39\u82AC\u915A\u5429\u6C1B\u5206\u7EB7\u575F\u711A\u6C7E\u7C89\u594B\u4EFD\u5FFF\u6124\u7CAA\u4E30\u5C01\u67AB\u8702\u5CF0\u950B\u98CE\u75AF\u70FD\u9022\u51AF\u7F1D\u8BBD\u5949\u51E4\u4F5B\u5426\u592B\u6577\u80A4\u5B75\u6276\u62C2\u8F90\u5E45\u6C1F\u7B26\u4F0F\u4FD8\u670D"],["b840","\u7AA3\u7AA4\u7AA7\u7AA9\u7AAA\u7AAB\u7AAE",4,"\u7AB4",10,"\u7AC0",10,"\u7ACC",9,"\u7AD7\u7AD8\u7ADA\u7ADB\u7ADC\u7ADD\u7AE1\u7AE2\u7AE4\u7AE7",5,"\u7AEE\u7AF0\u7AF1\u7AF2\u7AF3"],["b880","\u7AF4",4,"\u7AFB\u7AFC\u7AFE\u7B00\u7B01\u7B02\u7B05\u7B07\u7B09\u7B0C\u7B0D\u7B0E\u7B10\u7B12\u7B13\u7B16\u7B17\u7B18\u7B1A\u7B1C\u7B1D\u7B1F\u7B21\u7B22\u7B23\u7B27\u7B29\u7B2D\u6D6E\u6DAA\u798F\u88B1\u5F17\u752B\u629A\u8F85\u4FEF\u91DC\u65A7\u812F\u8151\u5E9C\u8150\u8D74\u526F\u8986\u8D4B\u590D\u5085\u4ED8\u961C\u7236\u8179\u8D1F\u5BCC\u8BA3\u9644\u5987\u7F1A\u5490\u5676\u560E\u8BE5\u6539\u6982\u9499\u76D6\u6E89\u5E72\u7518\u6746\u67D1\u7AFF\u809D\u8D76\u611F\u79C6\u6562\u8D63\u5188\u521A\u94A2\u7F38\u809B\u7EB2\u5C97\u6E2F\u6760\u7BD9\u768B\u9AD8\u818F\u7F94\u7CD5\u641E\u9550\u7A3F\u544A\u54E5\u6B4C\u6401\u6208\u9E3D\u80F3\u7599\u5272\u9769\u845B\u683C\u86E4\u9601\u9694\u94EC\u4E2A\u5404\u7ED9\u6839\u8DDF\u8015\u66F4\u5E9A\u7FB9"],["b940","\u7B2F\u7B30\u7B32\u7B34\u7B35\u7B36\u7B37\u7B39\u7B3B\u7B3D\u7B3F",5,"\u7B46\u7B48\u7B4A\u7B4D\u7B4E\u7B53\u7B55\u7B57\u7B59\u7B5C\u7B5E\u7B5F\u7B61\u7B63",10,"\u7B6F\u7B70\u7B73\u7B74\u7B76\u7B78\u7B7A\u7B7C\u7B7D\u7B7F\u7B81\u7B82\u7B83\u7B84\u7B86",6,"\u7B8E\u7B8F"],["b980","\u7B91\u7B92\u7B93\u7B96\u7B98\u7B99\u7B9A\u7B9B\u7B9E\u7B9F\u7BA0\u7BA3\u7BA4\u7BA5\u7BAE\u7BAF\u7BB0\u7BB2\u7BB3\u7BB5\u7BB6\u7BB7\u7BB9",7,"\u7BC2\u7BC3\u7BC4\u57C2\u803F\u6897\u5DE5\u653B\u529F\u606D\u9F9A\u4F9B\u8EAC\u516C\u5BAB\u5F13\u5DE9\u6C5E\u62F1\u8D21\u5171\u94A9\u52FE\u6C9F\u82DF\u72D7\u57A2\u6784\u8D2D\u591F\u8F9C\u83C7\u5495\u7B8D\u4F30\u6CBD\u5B64\u59D1\u9F13\u53E4\u86CA\u9AA8\u8C37\u80A1\u6545\u987E\u56FA\u96C7\u522E\u74DC\u5250\u5BE1\u6302\u8902\u4E56\u62D0\u602A\u68FA\u5173\u5B98\u51A0\u89C2\u7BA1\u9986\u7F50\u60EF\u704C\u8D2F\u5149\u5E7F\u901B\u7470\u89C4\u572D\u7845\u5F52\u9F9F\u95FA\u8F68\u9B3C\u8BE1\u7678\u6842\u67DC\u8DEA\u8D35\u523D\u8F8A\u6EDA\u68CD\u9505\u90ED\u56FD\u679C\u88F9\u8FC7\u54C8"],["ba40","\u7BC5\u7BC8\u7BC9\u7BCA\u7BCB\u7BCD\u7BCE\u7BCF\u7BD0\u7BD2\u7BD4",4,"\u7BDB\u7BDC\u7BDE\u7BDF\u7BE0\u7BE2\u7BE3\u7BE4\u7BE7\u7BE8\u7BE9\u7BEB\u7BEC\u7BED\u7BEF\u7BF0\u7BF2",4,"\u7BF8\u7BF9\u7BFA\u7BFB\u7BFD\u7BFF",7,"\u7C08\u7C09\u7C0A\u7C0D\u7C0E\u7C10",5,"\u7C17\u7C18\u7C19"],["ba80","\u7C1A",4,"\u7C20",5,"\u7C28\u7C29\u7C2B",12,"\u7C39",5,"\u7C42\u9AB8\u5B69\u6D77\u6C26\u4EA5\u5BB3\u9A87\u9163\u61A8\u90AF\u97E9\u542B\u6DB5\u5BD2\u51FD\u558A\u7F55\u7FF0\u64BC\u634D\u65F1\u61BE\u608D\u710A\u6C57\u6C49\u592F\u676D\u822A\u58D5\u568E\u8C6A\u6BEB\u90DD\u597D\u8017\u53F7\u6D69\u5475\u559D\u8377\u83CF\u6838\u79BE\u548C\u4F55\u5408\u76D2\u8C89\u9602\u6CB3\u6DB8\u8D6B\u8910\u9E64\u8D3A\u563F\u9ED1\u75D5\u5F88\u72E0\u6068\u54FC\u4EA8\u6A2A\u8861\u6052\u8F70\u54C4\u70D8\u8679\u9E3F\u6D2A\u5B8F\u5F18\u7EA2\u5589\u4FAF\u7334\u543C\u539A\u5019\u540E\u547C\u4E4E\u5FFD\u745A\u58F6\u846B\u80E1\u8774\u72D0\u7CCA\u6E56"],["bb40","\u7C43",9,"\u7C4E",36,"\u7C75",5,"\u7C7E",9],["bb80","\u7C88\u7C8A",6,"\u7C93\u7C94\u7C96\u7C99\u7C9A\u7C9B\u7CA0\u7CA1\u7CA3\u7CA6\u7CA7\u7CA8\u7CA9\u7CAB\u7CAC\u7CAD\u7CAF\u7CB0\u7CB4",4,"\u7CBA\u7CBB\u5F27\u864E\u552C\u62A4\u4E92\u6CAA\u6237\u82B1\u54D7\u534E\u733E\u6ED1\u753B\u5212\u5316\u8BDD\u69D0\u5F8A\u6000\u6DEE\u574F\u6B22\u73AF\u6853\u8FD8\u7F13\u6362\u60A3\u5524\u75EA\u8C62\u7115\u6DA3\u5BA6\u5E7B\u8352\u614C\u9EC4\u78FA\u8757\u7C27\u7687\u51F0\u60F6\u714C\u6643\u5E4C\u604D\u8C0E\u7070\u6325\u8F89\u5FBD\u6062\u86D4\u56DE\u6BC1\u6094\u6167\u5349\u60E0\u6666\u8D3F\u79FD\u4F1A\u70E9\u6C47\u8BB3\u8BF2\u7ED8\u8364\u660F\u5A5A\u9B42\u6D51\u6DF7\u8C41\u6D3B\u4F19\u706B\u83B7\u6216\u60D1\u970D\u8D27\u7978\u51FB\u573E\u57FA\u673A\u7578\u7A3D\u79EF\u7B95"],["bc40","\u7CBF\u7CC0\u7CC2\u7CC3\u7CC4\u7CC6\u7CC9\u7CCB\u7CCE",6,"\u7CD8\u7CDA\u7CDB\u7CDD\u7CDE\u7CE1",6,"\u7CE9",5,"\u7CF0",7,"\u7CF9\u7CFA\u7CFC",13,"\u7D0B",5],["bc80","\u7D11",14,"\u7D21\u7D23\u7D24\u7D25\u7D26\u7D28\u7D29\u7D2A\u7D2C\u7D2D\u7D2E\u7D30",6,"\u808C\u9965\u8FF9\u6FC0\u8BA5\u9E21\u59EC\u7EE9\u7F09\u5409\u6781\u68D8\u8F91\u7C4D\u96C6\u53CA\u6025\u75BE\u6C72\u5373\u5AC9\u7EA7\u6324\u51E0\u810A\u5DF1\u84DF\u6280\u5180\u5B63\u4F0E\u796D\u5242\u60B8\u6D4E\u5BC4\u5BC2\u8BA1\u8BB0\u65E2\u5FCC\u9645\u5993\u7EE7\u7EAA\u5609\u67B7\u5939\u4F73\u5BB6\u52A0\u835A\u988A\u8D3E\u7532\u94BE\u5047\u7A3C\u4EF7\u67B6\u9A7E\u5AC1\u6B7C\u76D1\u575A\u5C16\u7B3A\u95F4\u714E\u517C\u80A9\u8270\u5978\u7F04\u8327\u68C0\u67EC\u78B1\u7877\u62E3\u6361\u7B80\u4FED\u526A\u51CF\u8350\u69DB\u9274\u8DF5\u8D31\u89C1\u952E\u7BAD\u4EF6"],["bd40","\u7D37",54,"\u7D6F",7],["bd80","\u7D78",32,"\u5065\u8230\u5251\u996F\u6E10\u6E85\u6DA7\u5EFA\u50F5\u59DC\u5C06\u6D46\u6C5F\u7586\u848B\u6868\u5956\u8BB2\u5320\u9171\u964D\u8549\u6912\u7901\u7126\u80F6\u4EA4\u90CA\u6D47\u9A84\u5A07\u56BC\u6405\u94F0\u77EB\u4FA5\u811A\u72E1\u89D2\u997A\u7F34\u7EDE\u527F\u6559\u9175\u8F7F\u8F83\u53EB\u7A96\u63ED\u63A5\u7686\u79F8\u8857\u9636\u622A\u52AB\u8282\u6854\u6770\u6377\u776B\u7AED\u6D01\u7ED3\u89E3\u59D0\u6212\u85C9\u82A5\u754C\u501F\u4ECB\u75A5\u8BEB\u5C4A\u5DFE\u7B4B\u65A4\u91D1\u4ECA\u6D25\u895F\u7D27\u9526\u4EC5\u8C28\u8FDB\u9773\u664B\u7981\u8FD1\u70EC\u6D78"],["be40","\u7D99",12,"\u7DA7",6,"\u7DAF",42],["be80","\u7DDA",32,"\u5C3D\u52B2\u8346\u5162\u830E\u775B\u6676\u9CB8\u4EAC\u60CA\u7CBE\u7CB3\u7ECF\u4E95\u8B66\u666F\u9888\u9759\u5883\u656C\u955C\u5F84\u75C9\u9756\u7ADF\u7ADE\u51C0\u70AF\u7A98\u63EA\u7A76\u7EA0\u7396\u97ED\u4E45\u7078\u4E5D\u9152\u53A9\u6551\u65E7\u81FC\u8205\u548E\u5C31\u759A\u97A0\u62D8\u72D9\u75BD\u5C45\u9A79\u83CA\u5C40\u5480\u77E9\u4E3E\u6CAE\u805A\u62D2\u636E\u5DE8\u5177\u8DDD\u8E1E\u952F\u4FF1\u53E5\u60E7\u70AC\u5267\u6350\u9E43\u5A1F\u5026\u7737\u5377\u7EE2\u6485\u652B\u6289\u6398\u5014\u7235\u89C9\u51B3\u8BC0\u7EDD\u5747\u83CC\u94A7\u519B\u541B\u5CFB"],["bf40","\u7DFB",62],["bf80","\u7E3A\u7E3C",4,"\u7E42",4,"\u7E48",21,"\u4FCA\u7AE3\u6D5A\u90E1\u9A8F\u5580\u5496\u5361\u54AF\u5F00\u63E9\u6977\u51EF\u6168\u520A\u582A\u52D8\u574E\u780D\u770B\u5EB7\u6177\u7CE0\u625B\u6297\u4EA2\u7095\u8003\u62F7\u70E4\u9760\u5777\u82DB\u67EF\u68F5\u78D5\u9897\u79D1\u58F3\u54B3\u53EF\u6E34\u514B\u523B\u5BA2\u8BFE\u80AF\u5543\u57A6\u6073\u5751\u542D\u7A7A\u6050\u5B54\u63A7\u62A0\u53E3\u6263\u5BC7\u67AF\u54ED\u7A9F\u82E6\u9177\u5E93\u88E4\u5938\u57AE\u630E\u8DE8\u80EF\u5757\u7B77\u4FA9\u5FEB\u5BBD\u6B3E\u5321\u7B50\u72C2\u6846\u77FF\u7736\u65F7\u51B5\u4E8F\u76D4\u5CBF\u7AA5\u8475\u594E\u9B41\u5080"],["c040","\u7E5E",35,"\u7E83",23,"\u7E9C\u7E9D\u7E9E"],["c080","\u7EAE\u7EB4\u7EBB\u7EBC\u7ED6\u7EE4\u7EEC\u7EF9\u7F0A\u7F10\u7F1E\u7F37\u7F39\u7F3B",6,"\u7F43\u7F46",9,"\u7F52\u7F53\u9988\u6127\u6E83\u5764\u6606\u6346\u56F0\u62EC\u6269\u5ED3\u9614\u5783\u62C9\u5587\u8721\u814A\u8FA3\u5566\u83B1\u6765\u8D56\u84DD\u5A6A\u680F\u62E6\u7BEE\u9611\u5170\u6F9C\u8C30\u63FD\u89C8\u61D2\u7F06\u70C2\u6EE5\u7405\u6994\u72FC\u5ECA\u90CE\u6717\u6D6A\u635E\u52B3\u7262\u8001\u4F6C\u59E5\u916A\u70D9\u6D9D\u52D2\u4E50\u96F7\u956D\u857E\u78CA\u7D2F\u5121\u5792\u64C2\u808B\u7C7B\u6CEA\u68F1\u695E\u51B7\u5398\u68A8\u7281\u9ECE\u7BF1\u72F8\u79BB\u6F13\u7406\u674E\u91CC\u9CA4\u793C\u8389\u8354\u540F\u6817\u4E3D\u5389\u52B1\u783E\u5386\u5229\u5088\u4F8B\u4FD0"],["c140","\u7F56\u7F59\u7F5B\u7F5C\u7F5D\u7F5E\u7F60\u7F63",4,"\u7F6B\u7F6C\u7F6D\u7F6F\u7F70\u7F73\u7F75\u7F76\u7F77\u7F78\u7F7A\u7F7B\u7F7C\u7F7D\u7F7F\u7F80\u7F82",7,"\u7F8B\u7F8D\u7F8F",4,"\u7F95",4,"\u7F9B\u7F9C\u7FA0\u7FA2\u7FA3\u7FA5\u7FA6\u7FA8",6,"\u7FB1"],["c180","\u7FB3",4,"\u7FBA\u7FBB\u7FBE\u7FC0\u7FC2\u7FC3\u7FC4\u7FC6\u7FC7\u7FC8\u7FC9\u7FCB\u7FCD\u7FCF",4,"\u7FD6\u7FD7\u7FD9",5,"\u7FE2\u7FE3\u75E2\u7ACB\u7C92\u6CA5\u96B6\u529B\u7483\u54E9\u4FE9\u8054\u83B2\u8FDE\u9570\u5EC9\u601C\u6D9F\u5E18\u655B\u8138\u94FE\u604B\u70BC\u7EC3\u7CAE\u51C9\u6881\u7CB1\u826F\u4E24\u8F86\u91CF\u667E\u4EAE\u8C05\u64A9\u804A\u50DA\u7597\u71CE\u5BE5\u8FBD\u6F66\u4E86\u6482\u9563\u5ED6\u6599\u5217\u88C2\u70C8\u52A3\u730E\u7433\u6797\u78F7\u9716\u4E34\u90BB\u9CDE\u6DCB\u51DB\u8D41\u541D\u62CE\u73B2\u83F1\u96F6\u9F84\u94C3\u4F36\u7F9A\u51CC\u7075\u9675\u5CAD\u9886\u53E6\u4EE4\u6E9C\u7409\u69B4\u786B\u998F\u7559\u5218\u7624\u6D41\u67F3\u516D\u9F99\u804B\u5499\u7B3C\u7ABF"],["c240","\u7FE4\u7FE7\u7FE8\u7FEA\u7FEB\u7FEC\u7FED\u7FEF\u7FF2\u7FF4",6,"\u7FFD\u7FFE\u7FFF\u8002\u8007\u8008\u8009\u800A\u800E\u800F\u8011\u8013\u801A\u801B\u801D\u801E\u801F\u8021\u8023\u8024\u802B",5,"\u8032\u8034\u8039\u803A\u803C\u803E\u8040\u8041\u8044\u8045\u8047\u8048\u8049\u804E\u804F\u8050\u8051\u8053\u8055\u8056\u8057"],["c280","\u8059\u805B",13,"\u806B",5,"\u8072",11,"\u9686\u5784\u62E2\u9647\u697C\u5A04\u6402\u7BD3\u6F0F\u964B\u82A6\u5362\u9885\u5E90\u7089\u63B3\u5364\u864F\u9C81\u9E93\u788C\u9732\u8DEF\u8D42\u9E7F\u6F5E\u7984\u5F55\u9646\u622E\u9A74\u5415\u94DD\u4FA3\u65C5\u5C65\u5C61\u7F15\u8651\u6C2F\u5F8B\u7387\u6EE4\u7EFF\u5CE6\u631B\u5B6A\u6EE6\u5375\u4E71\u63A0\u7565\u62A1\u8F6E\u4F26\u4ED1\u6CA6\u7EB6\u8BBA\u841D\u87BA\u7F57\u903B\u9523\u7BA9\u9AA1\u88F8\u843D\u6D1B\u9A86\u7EDC\u5988\u9EBB\u739B\u7801\u8682\u9A6C\u9A82\u561B\u5417\u57CB\u4E70\u9EA6\u5356\u8FC8\u8109\u7792\u9992\u86EE\u6EE1\u8513\u66FC\u6162\u6F2B"],["c340","\u807E\u8081\u8082\u8085\u8088\u808A\u808D",5,"\u8094\u8095\u8097\u8099\u809E\u80A3\u80A6\u80A7\u80A8\u80AC\u80B0\u80B3\u80B5\u80B6\u80B8\u80B9\u80BB\u80C5\u80C7",4,"\u80CF",6,"\u80D8\u80DF\u80E0\u80E2\u80E3\u80E6\u80EE\u80F5\u80F7\u80F9\u80FB\u80FE\u80FF\u8100\u8101\u8103\u8104\u8105\u8107\u8108\u810B"],["c380","\u810C\u8115\u8117\u8119\u811B\u811C\u811D\u811F",12,"\u812D\u812E\u8130\u8133\u8134\u8135\u8137\u8139",4,"\u813F\u8C29\u8292\u832B\u76F2\u6C13\u5FD9\u83BD\u732B\u8305\u951A\u6BDB\u77DB\u94C6\u536F\u8302\u5192\u5E3D\u8C8C\u8D38\u4E48\u73AB\u679A\u6885\u9176\u9709\u7164\u6CA1\u7709\u5A92\u9541\u6BCF\u7F8E\u6627\u5BD0\u59B9\u5A9A\u95E8\u95F7\u4EEC\u840C\u8499\u6AAC\u76DF\u9530\u731B\u68A6\u5B5F\u772F\u919A\u9761\u7CDC\u8FF7\u8C1C\u5F25\u7C73\u79D8\u89C5\u6CCC\u871C\u5BC6\u5E42\u68C9\u7720\u7EF5\u5195\u514D\u52C9\u5A29\u7F05\u9762\u82D7\u63CF\u7784\u85D0\u79D2\u6E3A\u5E99\u5999\u8511\u706D\u6C11\u62BF\u76BF\u654F\u60AF\u95FD\u660E\u879F\u9E23\u94ED\u540D\u547D\u8C2C\u6478"],["c440","\u8140",5,"\u8147\u8149\u814D\u814E\u814F\u8152\u8156\u8157\u8158\u815B",4,"\u8161\u8162\u8163\u8164\u8166\u8168\u816A\u816B\u816C\u816F\u8172\u8173\u8175\u8176\u8177\u8178\u8181\u8183",4,"\u8189\u818B\u818C\u818D\u818E\u8190\u8192",5,"\u8199\u819A\u819E",4,"\u81A4\u81A5"],["c480","\u81A7\u81A9\u81AB",7,"\u81B4",5,"\u81BC\u81BD\u81BE\u81BF\u81C4\u81C5\u81C7\u81C8\u81C9\u81CB\u81CD",6,"\u6479\u8611\u6A21\u819C\u78E8\u6469\u9B54\u62B9\u672B\u83AB\u58A8\u9ED8\u6CAB\u6F20\u5BDE\u964C\u8C0B\u725F\u67D0\u62C7\u7261\u4EA9\u59C6\u6BCD\u5893\u66AE\u5E55\u52DF\u6155\u6728\u76EE\u7766\u7267\u7A46\u62FF\u54EA\u5450\u94A0\u90A3\u5A1C\u7EB3\u6C16\u4E43\u5976\u8010\u5948\u5357\u7537\u96BE\u56CA\u6320\u8111\u607C\u95F9\u6DD6\u5462\u9981\u5185\u5AE9\u80FD\u59AE\u9713\u502A\u6CE5\u5C3C\u62DF\u4F60\u533F\u817B\u9006\u6EBA\u852B\u62C8\u5E74\u78BE\u64B5\u637B\u5FF5\u5A18\u917F\u9E1F\u5C3F\u634F\u8042\u5B7D\u556E\u954A\u954D\u6D85\u60A8\u67E0\u72DE\u51DD\u5B81"],["c540","\u81D4",14,"\u81E4\u81E5\u81E6\u81E8\u81E9\u81EB\u81EE",4,"\u81F5",5,"\u81FD\u81FF\u8203\u8207",4,"\u820E\u820F\u8211\u8213\u8215",5,"\u821D\u8220\u8224\u8225\u8226\u8227\u8229\u822E\u8232\u823A\u823C\u823D\u823F"],["c580","\u8240\u8241\u8242\u8243\u8245\u8246\u8248\u824A\u824C\u824D\u824E\u8250",7,"\u8259\u825B\u825C\u825D\u825E\u8260",7,"\u8269\u62E7\u6CDE\u725B\u626D\u94AE\u7EBD\u8113\u6D53\u519C\u5F04\u5974\u52AA\u6012\u5973\u6696\u8650\u759F\u632A\u61E6\u7CEF\u8BFA\u54E6\u6B27\u9E25\u6BB4\u85D5\u5455\u5076\u6CA4\u556A\u8DB4\u722C\u5E15\u6015\u7436\u62CD\u6392\u724C\u5F98\u6E43\u6D3E\u6500\u6F58\u76D8\u78D0\u76FC\u7554\u5224\u53DB\u4E53\u5E9E\u65C1\u802A\u80D6\u629B\u5486\u5228\u70AE\u888D\u8DD1\u6CE1\u5478\u80DA\u57F9\u88F4\u8D54\u966A\u914D\u4F69\u6C9B\u55B7\u76C6\u7830\u62A8\u70F9\u6F8E\u5F6D\u84EC\u68DA\u787C\u7BF7\u81A8\u670B\u9E4F\u6367\u78B0\u576F\u7812\u9739\u6279\u62AB\u5288\u7435\u6BD7"],["c640","\u826A\u826B\u826C\u826D\u8271\u8275\u8276\u8277\u8278\u827B\u827C\u8280\u8281\u8283\u8285\u8286\u8287\u8289\u828C\u8290\u8293\u8294\u8295\u8296\u829A\u829B\u829E\u82A0\u82A2\u82A3\u82A7\u82B2\u82B5\u82B6\u82BA\u82BB\u82BC\u82BF\u82C0\u82C2\u82C3\u82C5\u82C6\u82C9\u82D0\u82D6\u82D9\u82DA\u82DD\u82E2\u82E7\u82E8\u82E9\u82EA\u82EC\u82ED\u82EE\u82F0\u82F2\u82F3\u82F5\u82F6\u82F8"],["c680","\u82FA\u82FC",4,"\u830A\u830B\u830D\u8310\u8312\u8313\u8316\u8318\u8319\u831D",9,"\u8329\u832A\u832E\u8330\u8332\u8337\u833B\u833D\u5564\u813E\u75B2\u76AE\u5339\u75DE\u50FB\u5C41\u8B6C\u7BC7\u504F\u7247\u9A97\u98D8\u6F02\u74E2\u7968\u6487\u77A5\u62FC\u9891\u8D2B\u54C1\u8058\u4E52\u576A\u82F9\u840D\u5E73\u51ED\u74F6\u8BC4\u5C4F\u5761\u6CFC\u9887\u5A46\u7834\u9B44\u8FEB\u7C95\u5256\u6251\u94FA\u4EC6\u8386\u8461\u83E9\u84B2\u57D4\u6734\u5703\u666E\u6D66\u8C31\u66DD\u7011\u671F\u6B3A\u6816\u621A\u59BB\u4E03\u51C4\u6F06\u67D2\u6C8F\u5176\u68CB\u5947\u6B67\u7566\u5D0E\u8110\u9F50\u65D7\u7948\u7941\u9A91\u8D77\u5C82\u4E5E\u4F01\u542F\u5951\u780C\u5668\u6C14\u8FC4\u5F03\u6C7D\u6CE3\u8BAB\u6390"],["c740","\u833E\u833F\u8341\u8342\u8344\u8345\u8348\u834A",4,"\u8353\u8355",4,"\u835D\u8362\u8370",6,"\u8379\u837A\u837E",6,"\u8387\u8388\u838A\u838B\u838C\u838D\u838F\u8390\u8391\u8394\u8395\u8396\u8397\u8399\u839A\u839D\u839F\u83A1",6,"\u83AC\u83AD\u83AE"],["c780","\u83AF\u83B5\u83BB\u83BE\u83BF\u83C2\u83C3\u83C4\u83C6\u83C8\u83C9\u83CB\u83CD\u83CE\u83D0\u83D1\u83D2\u83D3\u83D5\u83D7\u83D9\u83DA\u83DB\u83DE\u83E2\u83E3\u83E4\u83E6\u83E7\u83E8\u83EB\u83EC\u83ED\u6070\u6D3D\u7275\u6266\u948E\u94C5\u5343\u8FC1\u7B7E\u4EDF\u8C26\u4E7E\u9ED4\u94B1\u94B3\u524D\u6F5C\u9063\u6D45\u8C34\u5811\u5D4C\u6B20\u6B49\u67AA\u545B\u8154\u7F8C\u5899\u8537\u5F3A\u62A2\u6A47\u9539\u6572\u6084\u6865\u77A7\u4E54\u4FA8\u5DE7\u9798\u64AC\u7FD8\u5CED\u4FCF\u7A8D\u5207\u8304\u4E14\u602F\u7A83\u94A6\u4FB5\u4EB2\u79E6\u7434\u52E4\u82B9\u64D2\u79BD\u5BDD\u6C81\u9752\u8F7B\u6C22\u503E\u537F\u6E05\u64CE\u6674\u6C30\u60C5\u9877\u8BF7\u5E86\u743C\u7A77\u79CB\u4E18\u90B1\u7403\u6C42\u56DA\u914B\u6CC5\u8D8B\u533A\u86C6\u66F2\u8EAF\u5C48\u9A71\u6E20"],["c840","\u83EE\u83EF\u83F3",4,"\u83FA\u83FB\u83FC\u83FE\u83FF\u8400\u8402\u8405\u8407\u8408\u8409\u840A\u8410\u8412",5,"\u8419\u841A\u841B\u841E",5,"\u8429",7,"\u8432",5,"\u8439\u843A\u843B\u843E",7,"\u8447\u8448\u8449"],["c880","\u844A",6,"\u8452",4,"\u8458\u845D\u845E\u845F\u8460\u8462\u8464",4,"\u846A\u846E\u846F\u8470\u8472\u8474\u8477\u8479\u847B\u847C\u53D6\u5A36\u9F8B\u8DA3\u53BB\u5708\u98A7\u6743\u919B\u6CC9\u5168\u75CA\u62F3\u72AC\u5238\u529D\u7F3A\u7094\u7638\u5374\u9E4A\u69B7\u786E\u96C0\u88D9\u7FA4\u7136\u71C3\u5189\u67D3\u74E4\u58E4\u6518\u56B7\u8BA9\u9976\u6270\u7ED5\u60F9\u70ED\u58EC\u4EC1\u4EBA\u5FCD\u97E7\u4EFB\u8BA4\u5203\u598A\u7EAB\u6254\u4ECD\u65E5\u620E\u8338\u84C9\u8363\u878D\u7194\u6EB6\u5BB9\u7ED2\u5197\u63C9\u67D4\u8089\u8339\u8815\u5112\u5B7A\u5982\u8FB1\u4E73\u6C5D\u5165\u8925\u8F6F\u962E\u854A\u745E\u9510\u95F0\u6DA6\u82E5\u5F31\u6492\u6D12\u8428\u816E\u9CC3\u585E\u8D5B\u4E09\u53C1"],["c940","\u847D",4,"\u8483\u8484\u8485\u8486\u848A\u848D\u848F",7,"\u8498\u849A\u849B\u849D\u849E\u849F\u84A0\u84A2",12,"\u84B0\u84B1\u84B3\u84B5\u84B6\u84B7\u84BB\u84BC\u84BE\u84C0\u84C2\u84C3\u84C5\u84C6\u84C7\u84C8\u84CB\u84CC\u84CE\u84CF\u84D2\u84D4\u84D5\u84D7"],["c980","\u84D8",4,"\u84DE\u84E1\u84E2\u84E4\u84E7",4,"\u84ED\u84EE\u84EF\u84F1",10,"\u84FD\u84FE\u8500\u8501\u8502\u4F1E\u6563\u6851\u55D3\u4E27\u6414\u9A9A\u626B\u5AC2\u745F\u8272\u6DA9\u68EE\u50E7\u838E\u7802\u6740\u5239\u6C99\u7EB1\u50BB\u5565\u715E\u7B5B\u6652\u73CA\u82EB\u6749\u5C71\u5220\u717D\u886B\u95EA\u9655\u64C5\u8D61\u81B3\u5584\u6C55\u6247\u7F2E\u5892\u4F24\u5546\u8D4F\u664C\u4E0A\u5C1A\u88F3\u68A2\u634E\u7A0D\u70E7\u828D\u52FA\u97F6\u5C11\u54E8\u90B5\u7ECD\u5962\u8D4A\u86C7\u820C\u820D\u8D66\u6444\u5C04\u6151\u6D89\u793E\u8BBE\u7837\u7533\u547B\u4F38\u8EAB\u6DF1\u5A20\u7EC5\u795E\u6C88\u5BA1\u5A76\u751A\u80BE\u614E\u6E17\u58F0\u751F\u7525\u7272\u5347\u7EF3"],["ca40","\u8503",8,"\u850D\u850E\u850F\u8510\u8512\u8514\u8515\u8516\u8518\u8519\u851B\u851C\u851D\u851E\u8520\u8522",8,"\u852D",9,"\u853E",4,"\u8544\u8545\u8546\u8547\u854B",10],["ca80","\u8557\u8558\u855A\u855B\u855C\u855D\u855F",4,"\u8565\u8566\u8567\u8569",8,"\u8573\u8575\u8576\u8577\u8578\u857C\u857D\u857F\u8580\u8581\u7701\u76DB\u5269\u80DC\u5723\u5E08\u5931\u72EE\u65BD\u6E7F\u8BD7\u5C38\u8671\u5341\u77F3\u62FE\u65F6\u4EC0\u98DF\u8680\u5B9E\u8BC6\u53F2\u77E2\u4F7F\u5C4E\u9A76\u59CB\u5F0F\u793A\u58EB\u4E16\u67FF\u4E8B\u62ED\u8A93\u901D\u52BF\u662F\u55DC\u566C\u9002\u4ED5\u4F8D\u91CA\u9970\u6C0F\u5E02\u6043\u5BA4\u89C6\u8BD5\u6536\u624B\u9996\u5B88\u5BFF\u6388\u552E\u53D7\u7626\u517D\u852C\u67A2\u68B3\u6B8A\u6292\u8F93\u53D4\u8212\u6DD1\u758F\u4E66\u8D4E\u5B70\u719F\u85AF\u6691\u66D9\u7F72\u8700\u9ECD\u9F20\u5C5E\u672F\u8FF0\u6811\u675F\u620D\u7AD6\u5885\u5EB6\u6570\u6F31"],["cb40","\u8582\u8583\u8586\u8588",6,"\u8590",10,"\u859D",6,"\u85A5\u85A6\u85A7\u85A9\u85AB\u85AC\u85AD\u85B1",5,"\u85B8\u85BA",6,"\u85C2",6,"\u85CA",4,"\u85D1\u85D2"],["cb80","\u85D4\u85D6",5,"\u85DD",6,"\u85E5\u85E6\u85E7\u85E8\u85EA",14,"\u6055\u5237\u800D\u6454\u8870\u7529\u5E05\u6813\u62F4\u971C\u53CC\u723D\u8C01\u6C34\u7761\u7A0E\u542E\u77AC\u987A\u821C\u8BF4\u7855\u6714\u70C1\u65AF\u6495\u5636\u601D\u79C1\u53F8\u4E1D\u6B7B\u8086\u5BFA\u55E3\u56DB\u4F3A\u4F3C\u9972\u5DF3\u677E\u8038\u6002\u9882\u9001\u5B8B\u8BBC\u8BF5\u641C\u8258\u64DE\u55FD\u82CF\u9165\u4FD7\u7D20\u901F\u7C9F\u50F3\u5851\u6EAF\u5BBF\u8BC9\u8083\u9178\u849C\u7B97\u867D\u968B\u968F\u7EE5\u9AD3\u788E\u5C81\u7A57\u9042\u96A7\u795F\u5B59\u635F\u7B0B\u84D1\u68AD\u5506\u7F29\u7410\u7D22\u9501\u6240\u584C\u4ED6\u5B83\u5979\u5854"],["cc40","\u85F9\u85FA\u85FC\u85FD\u85FE\u8600",4,"\u8606",10,"\u8612\u8613\u8614\u8615\u8617",15,"\u8628\u862A",13,"\u8639\u863A\u863B\u863D\u863E\u863F\u8640"],["cc80","\u8641",11,"\u8652\u8653\u8655",4,"\u865B\u865C\u865D\u865F\u8660\u8661\u8663",7,"\u736D\u631E\u8E4B\u8E0F\u80CE\u82D4\u62AC\u53F0\u6CF0\u915E\u592A\u6001\u6C70\u574D\u644A\u8D2A\u762B\u6EE9\u575B\u6A80\u75F0\u6F6D\u8C2D\u8C08\u5766\u6BEF\u8892\u78B3\u63A2\u53F9\u70AD\u6C64\u5858\u642A\u5802\u68E0\u819B\u5510\u7CD6\u5018\u8EBA\u6DCC\u8D9F\u70EB\u638F\u6D9B\u6ED4\u7EE6\u8404\u6843\u9003\u6DD8\u9676\u8BA8\u5957\u7279\u85E4\u817E\u75BC\u8A8A\u68AF\u5254\u8E22\u9511\u63D0\u9898\u8E44\u557C\u4F53\u66FF\u568F\u60D5\u6D95\u5243\u5C49\u5929\u6DFB\u586B\u7530\u751C\u606C\u8214\u8146\u6311\u6761\u8FE2\u773A\u8DF3\u8D34\u94C1\u5E16\u5385\u542C\u70C3"],["cd40","\u866D\u866F\u8670\u8672",6,"\u8683",6,"\u868E",4,"\u8694\u8696",5,"\u869E",4,"\u86A5\u86A6\u86AB\u86AD\u86AE\u86B2\u86B3\u86B7\u86B8\u86B9\u86BB",4,"\u86C1\u86C2\u86C3\u86C5\u86C8\u86CC\u86CD\u86D2\u86D3\u86D5\u86D6\u86D7\u86DA\u86DC"],["cd80","\u86DD\u86E0\u86E1\u86E2\u86E3\u86E5\u86E6\u86E7\u86E8\u86EA\u86EB\u86EC\u86EF\u86F5\u86F6\u86F7\u86FA\u86FB\u86FC\u86FD\u86FF\u8701\u8704\u8705\u8706\u870B\u870C\u870E\u870F\u8710\u8711\u8714\u8716\u6C40\u5EF7\u505C\u4EAD\u5EAD\u633A\u8247\u901A\u6850\u916E\u77B3\u540C\u94DC\u5F64\u7AE5\u6876\u6345\u7B52\u7EDF\u75DB\u5077\u6295\u5934\u900F\u51F8\u79C3\u7A81\u56FE\u5F92\u9014\u6D82\u5C60\u571F\u5410\u5154\u6E4D\u56E2\u63A8\u9893\u817F\u8715\u892A\u9000\u541E\u5C6F\u81C0\u62D6\u6258\u8131\u9E35\u9640\u9A6E\u9A7C\u692D\u59A5\u62D3\u553E\u6316\u54C7\u86D9\u6D3C\u5A03\u74E6\u889C\u6B6A\u5916\u8C4C\u5F2F\u6E7E\u73A9\u987D\u4E38\u70F7\u5B8C\u7897\u633D\u665A\u7696\u60CB\u5B9B\u5A49\u4E07\u8155\u6C6A\u738B\u4EA1\u6789\u7F51\u5F80\u65FA\u671B\u5FD8\u5984\u5A01"],["ce40","\u8719\u871B\u871D\u871F\u8720\u8724\u8726\u8727\u8728\u872A\u872B\u872C\u872D\u872F\u8730\u8732\u8733\u8735\u8736\u8738\u8739\u873A\u873C\u873D\u8740",6,"\u874A\u874B\u874D\u874F\u8750\u8751\u8752\u8754\u8755\u8756\u8758\u875A",5,"\u8761\u8762\u8766",7,"\u876F\u8771\u8772\u8773\u8775"],["ce80","\u8777\u8778\u8779\u877A\u877F\u8780\u8781\u8784\u8786\u8787\u8789\u878A\u878C\u878E",4,"\u8794\u8795\u8796\u8798",6,"\u87A0",4,"\u5DCD\u5FAE\u5371\u97E6\u8FDD\u6845\u56F4\u552F\u60DF\u4E3A\u6F4D\u7EF4\u82C7\u840E\u59D4\u4F1F\u4F2A\u5C3E\u7EAC\u672A\u851A\u5473\u754F\u80C3\u5582\u9B4F\u4F4D\u6E2D\u8C13\u5C09\u6170\u536B\u761F\u6E29\u868A\u6587\u95FB\u7EB9\u543B\u7A33\u7D0A\u95EE\u55E1\u7FC1\u74EE\u631D\u8717\u6DA1\u7A9D\u6211\u65A1\u5367\u63E1\u6C83\u5DEB\u545C\u94A8\u4E4C\u6C61\u8BEC\u5C4B\u65E0\u829C\u68A7\u543E\u5434\u6BCB\u6B66\u4E94\u6342\u5348\u821E\u4F0D\u4FAE\u575E\u620A\u96FE\u6664\u7269\u52FF\u52A1\u609F\u8BEF\u6614\u7199\u6790\u897F\u7852\u77FD\u6670\u563B\u5438\u9521\u727A"],["cf40","\u87A5\u87A6\u87A7\u87A9\u87AA\u87AE\u87B0\u87B1\u87B2\u87B4\u87B6\u87B7\u87B8\u87B9\u87BB\u87BC\u87BE\u87BF\u87C1",4,"\u87C7\u87C8\u87C9\u87CC",4,"\u87D4",6,"\u87DC\u87DD\u87DE\u87DF\u87E1\u87E2\u87E3\u87E4\u87E6\u87E7\u87E8\u87E9\u87EB\u87EC\u87ED\u87EF",9],["cf80","\u87FA\u87FB\u87FC\u87FD\u87FF\u8800\u8801\u8802\u8804",5,"\u880B",7,"\u8814\u8817\u8818\u8819\u881A\u881C",4,"\u8823\u7A00\u606F\u5E0C\u6089\u819D\u5915\u60DC\u7184\u70EF\u6EAA\u6C50\u7280\u6A84\u88AD\u5E2D\u4E60\u5AB3\u559C\u94E3\u6D17\u7CFB\u9699\u620F\u7EC6\u778E\u867E\u5323\u971E\u8F96\u6687\u5CE1\u4FA0\u72ED\u4E0B\u53A6\u590F\u5413\u6380\u9528\u5148\u4ED9\u9C9C\u7EA4\u54B8\u8D24\u8854\u8237\u95F2\u6D8E\u5F26\u5ACC\u663E\u9669\u73B0\u732E\u53BF\u817A\u9985\u7FA1\u5BAA\u9677\u9650\u7EBF\u76F8\u53A2\u9576\u9999\u7BB1\u8944\u6E58\u4E61\u7FD4\u7965\u8BE6\u60F3\u54CD\u4EAB\u9879\u5DF7\u6A61\u50CF\u5411\u8C61\u8427\u785D\u9704\u524A\u54EE\u56A3\u9500\u6D88\u5BB5\u6DC6\u6653"],["d040","\u8824",13,"\u8833",5,"\u883A\u883B\u883D\u883E\u883F\u8841\u8842\u8843\u8846",5,"\u884E",5,"\u8855\u8856\u8858\u885A",6,"\u8866\u8867\u886A\u886D\u886F\u8871\u8873\u8874\u8875\u8876\u8878\u8879\u887A"],["d080","\u887B\u887C\u8880\u8883\u8886\u8887\u8889\u888A\u888C\u888E\u888F\u8890\u8891\u8893\u8894\u8895\u8897",4,"\u889D",4,"\u88A3\u88A5",5,"\u5C0F\u5B5D\u6821\u8096\u5578\u7B11\u6548\u6954\u4E9B\u6B47\u874E\u978B\u534F\u631F\u643A\u90AA\u659C\u80C1\u8C10\u5199\u68B0\u5378\u87F9\u61C8\u6CC4\u6CFB\u8C22\u5C51\u85AA\u82AF\u950C\u6B23\u8F9B\u65B0\u5FFB\u5FC3\u4FE1\u8845\u661F\u8165\u7329\u60FA\u5174\u5211\u578B\u5F62\u90A2\u884C\u9192\u5E78\u674F\u6027\u59D3\u5144\u51F6\u80F8\u5308\u6C79\u96C4\u718A\u4F11\u4FEE\u7F9E\u673D\u55C5\u9508\u79C0\u8896\u7EE3\u589F\u620C\u9700\u865A\u5618\u987B\u5F90\u8BB8\u84C4\u9157\u53D9\u65ED\u5E8F\u755C\u6064\u7D6E\u5A7F\u7EEA\u7EED\u8F69\u55A7\u5BA3\u60AC\u65CB\u7384"],["d140","\u88AC\u88AE\u88AF\u88B0\u88B2",4,"\u88B8\u88B9\u88BA\u88BB\u88BD\u88BE\u88BF\u88C0\u88C3\u88C4\u88C7\u88C8\u88CA\u88CB\u88CC\u88CD\u88CF\u88D0\u88D1\u88D3\u88D6\u88D7\u88DA",4,"\u88E0\u88E1\u88E6\u88E7\u88E9",6,"\u88F2\u88F5\u88F6\u88F7\u88FA\u88FB\u88FD\u88FF\u8900\u8901\u8903",5],["d180","\u8909\u890B",4,"\u8911\u8914",4,"\u891C",4,"\u8922\u8923\u8924\u8926\u8927\u8928\u8929\u892C\u892D\u892E\u892F\u8931\u8932\u8933\u8935\u8937\u9009\u7663\u7729\u7EDA\u9774\u859B\u5B66\u7A74\u96EA\u8840\u52CB\u718F\u5FAA\u65EC\u8BE2\u5BFB\u9A6F\u5DE1\u6B89\u6C5B\u8BAD\u8BAF\u900A\u8FC5\u538B\u62BC\u9E26\u9E2D\u5440\u4E2B\u82BD\u7259\u869C\u5D16\u8859\u6DAF\u96C5\u54D1\u4E9A\u8BB6\u7109\u54BD\u9609\u70DF\u6DF9\u76D0\u4E25\u7814\u8712\u5CA9\u5EF6\u8A00\u989C\u960E\u708E\u6CBF\u5944\u63A9\u773C\u884D\u6F14\u8273\u5830\u71D5\u538C\u781A\u96C1\u5501\u5F66\u7130\u5BB4\u8C1A\u9A8C\u6B83\u592E\u9E2F\u79E7\u6768\u626C\u4F6F\u75A1\u7F8A\u6D0B\u9633\u6C27\u4EF0\u75D2\u517B\u6837\u6F3E\u9080\u8170\u5996\u7476"],["d240","\u8938",8,"\u8942\u8943\u8945",24,"\u8960",5,"\u8967",19,"\u897C"],["d280","\u897D\u897E\u8980\u8982\u8984\u8985\u8987",26,"\u6447\u5C27\u9065\u7A91\u8C23\u59DA\u54AC\u8200\u836F\u8981\u8000\u6930\u564E\u8036\u7237\u91CE\u51B6\u4E5F\u9875\u6396\u4E1A\u53F6\u66F3\u814B\u591C\u6DB2\u4E00\u58F9\u533B\u63D6\u94F1\u4F9D\u4F0A\u8863\u9890\u5937\u9057\u79FB\u4EEA\u80F0\u7591\u6C82\u5B9C\u59E8\u5F5D\u6905\u8681\u501A\u5DF2\u4E59\u77E3\u4EE5\u827A\u6291\u6613\u9091\u5C79\u4EBF\u5F79\u81C6\u9038\u8084\u75AB\u4EA6\u88D4\u610F\u6BC5\u5FC6\u4E49\u76CA\u6EA2\u8BE3\u8BAE\u8C0A\u8BD1\u5F02\u7FFC\u7FCC\u7ECE\u8335\u836B\u56E0\u6BB7\u97F3\u9634\u59FB\u541F\u94F6\u6DEB\u5BC5\u996E\u5C39\u5F15\u9690"],["d340","\u89A2",30,"\u89C3\u89CD\u89D3\u89D4\u89D5\u89D7\u89D8\u89D9\u89DB\u89DD\u89DF\u89E0\u89E1\u89E2\u89E4\u89E7\u89E8\u89E9\u89EA\u89EC\u89ED\u89EE\u89F0\u89F1\u89F2\u89F4",6],["d380","\u89FB",4,"\u8A01",5,"\u8A08",21,"\u5370\u82F1\u6A31\u5A74\u9E70\u5E94\u7F28\u83B9\u8424\u8425\u8367\u8747\u8FCE\u8D62\u76C8\u5F71\u9896\u786C\u6620\u54DF\u62E5\u4F63\u81C3\u75C8\u5EB8\u96CD\u8E0A\u86F9\u548F\u6CF3\u6D8C\u6C38\u607F\u52C7\u7528\u5E7D\u4F18\u60A0\u5FE7\u5C24\u7531\u90AE\u94C0\u72B9\u6CB9\u6E38\u9149\u6709\u53CB\u53F3\u4F51\u91C9\u8BF1\u53C8\u5E7C\u8FC2\u6DE4\u4E8E\u76C2\u6986\u865E\u611A\u8206\u4F59\u4FDE\u903E\u9C7C\u6109\u6E1D\u6E14\u9685\u4E88\u5A31\u96E8\u4E0E\u5C7F\u79B9\u5B87\u8BED\u7FBD\u7389\u57DF\u828B\u90C1\u5401\u9047\u55BB\u5CEA\u5FA1\u6108\u6B32\u72F1\u80B2\u8A89"],["d440","\u8A1E",31,"\u8A3F",8,"\u8A49",21],["d480","\u8A5F",25,"\u8A7A",6,"\u6D74\u5BD3\u88D5\u9884\u8C6B\u9A6D\u9E33\u6E0A\u51A4\u5143\u57A3\u8881\u539F\u63F4\u8F95\u56ED\u5458\u5706\u733F\u6E90\u7F18\u8FDC\u82D1\u613F\u6028\u9662\u66F0\u7EA6\u8D8A\u8DC3\u94A5\u5CB3\u7CA4\u6708\u60A6\u9605\u8018\u4E91\u90E7\u5300\u9668\u5141\u8FD0\u8574\u915D\u6655\u97F5\u5B55\u531D\u7838\u6742\u683D\u54C9\u707E\u5BB0\u8F7D\u518D\u5728\u54B1\u6512\u6682\u8D5E\u8D43\u810F\u846C\u906D\u7CDF\u51FF\u85FB\u67A3\u65E9\u6FA1\u86A4\u8E81\u566A\u9020\u7682\u7076\u71E5\u8D23\u62E9\u5219\u6CFD\u8D3C\u600E\u589E\u618E\u66FE\u8D60\u624E\u55B3\u6E23\u672D\u8F67"],["d540","\u8A81",7,"\u8A8B",7,"\u8A94",46],["d580","\u8AC3",32,"\u94E1\u95F8\u7728\u6805\u69A8\u548B\u4E4D\u70B8\u8BC8\u6458\u658B\u5B85\u7A84\u503A\u5BE8\u77BB\u6BE1\u8A79\u7C98\u6CBE\u76CF\u65A9\u8F97\u5D2D\u5C55\u8638\u6808\u5360\u6218\u7AD9\u6E5B\u7EFD\u6A1F\u7AE0\u5F70\u6F33\u5F20\u638C\u6DA8\u6756\u4E08\u5E10\u8D26\u4ED7\u80C0\u7634\u969C\u62DB\u662D\u627E\u6CBC\u8D75\u7167\u7F69\u5146\u8087\u53EC\u906E\u6298\u54F2\u86F0\u8F99\u8005\u9517\u8517\u8FD9\u6D59\u73CD\u659F\u771F\u7504\u7827\u81FB\u8D1E\u9488\u4FA6\u6795\u75B9\u8BCA\u9707\u632F\u9547\u9635\u84B8\u6323\u7741\u5F81\u72F0\u4E89\u6014\u6574\u62EF\u6B63\u653F"],["d640","\u8AE4",34,"\u8B08",27],["d680","\u8B24\u8B25\u8B27",30,"\u5E27\u75C7\u90D1\u8BC1\u829D\u679D\u652F\u5431\u8718\u77E5\u80A2\u8102\u6C41\u4E4B\u7EC7\u804C\u76F4\u690D\u6B96\u6267\u503C\u4F84\u5740\u6307\u6B62\u8DBE\u53EA\u65E8\u7EB8\u5FD7\u631A\u63B7\u81F3\u81F4\u7F6E\u5E1C\u5CD9\u5236\u667A\u79E9\u7A1A\u8D28\u7099\u75D4\u6EDE\u6CBB\u7A92\u4E2D\u76C5\u5FE0\u949F\u8877\u7EC8\u79CD\u80BF\u91CD\u4EF2\u4F17\u821F\u5468\u5DDE\u6D32\u8BCC\u7CA5\u8F74\u8098\u5E1A\u5492\u76B1\u5B99\u663C\u9AA4\u73E0\u682A\u86DB\u6731\u732A\u8BF8\u8BDB\u9010\u7AF9\u70DB\u716E\u62C4\u77A9\u5631\u4E3B\u8457\u67F1\u52A9\u86C0\u8D2E\u94F8\u7B51"],["d740","\u8B46",31,"\u8B67",4,"\u8B6D",25],["d780","\u8B87",24,"\u8BAC\u8BB1\u8BBB\u8BC7\u8BD0\u8BEA\u8C09\u8C1E\u4F4F\u6CE8\u795D\u9A7B\u6293\u722A\u62FD\u4E13\u7816\u8F6C\u64B0\u8D5A\u7BC6\u6869\u5E84\u88C5\u5986\u649E\u58EE\u72B6\u690E\u9525\u8FFD\u8D58\u5760\u7F00\u8C06\u51C6\u6349\u62D9\u5353\u684C\u7422\u8301\u914C\u5544\u7740\u707C\u6D4A\u5179\u54A8\u8D44\u59FF\u6ECB\u6DC4\u5B5C\u7D2B\u4ED4\u7C7D\u6ED3\u5B50\u81EA\u6E0D\u5B57\u9B03\u68D5\u8E2A\u5B97\u7EFC\u603B\u7EB5\u90B9\u8D70\u594F\u63CD\u79DF\u8DB3\u5352\u65CF\u7956\u8BC5\u963B\u7EC4\u94BB\u7E82\u5634\u9189\u6700\u7F6A\u5C0A\u9075\u6628\u5DE6\u4F50\u67DE\u505A\u4F5C\u5750\u5EA7"],["d840","\u8C38",8,"\u8C42\u8C43\u8C44\u8C45\u8C48\u8C4A\u8C4B\u8C4D",7,"\u8C56\u8C57\u8C58\u8C59\u8C5B",5,"\u8C63",6,"\u8C6C",6,"\u8C74\u8C75\u8C76\u8C77\u8C7B",6,"\u8C83\u8C84\u8C86\u8C87"],["d880","\u8C88\u8C8B\u8C8D",6,"\u8C95\u8C96\u8C97\u8C99",20,"\u4E8D\u4E0C\u5140\u4E10\u5EFF\u5345\u4E15\u4E98\u4E1E\u9B32\u5B6C\u5669\u4E28\u79BA\u4E3F\u5315\u4E47\u592D\u723B\u536E\u6C10\u56DF\u80E4\u9997\u6BD3\u777E\u9F17\u4E36\u4E9F\u9F10\u4E5C\u4E69\u4E93\u8288\u5B5B\u556C\u560F\u4EC4\u538D\u539D\u53A3\u53A5\u53AE\u9765\u8D5D\u531A\u53F5\u5326\u532E\u533E\u8D5C\u5366\u5363\u5202\u5208\u520E\u522D\u5233\u523F\u5240\u524C\u525E\u5261\u525C\u84AF\u527D\u5282\u5281\u5290\u5293\u5182\u7F54\u4EBB\u4EC3\u4EC9\u4EC2\u4EE8\u4EE1\u4EEB\u4EDE\u4F1B\u4EF3\u4F22\u4F64\u4EF5\u4F25\u4F27\u4F09\u4F2B\u4F5E\u4F67\u6538\u4F5A\u4F5D"],["d940","\u8CAE",62],["d980","\u8CED",32,"\u4F5F\u4F57\u4F32\u4F3D\u4F76\u4F74\u4F91\u4F89\u4F83\u4F8F\u4F7E\u4F7B\u4FAA\u4F7C\u4FAC\u4F94\u4FE6\u4FE8\u4FEA\u4FC5\u4FDA\u4FE3\u4FDC\u4FD1\u4FDF\u4FF8\u5029\u504C\u4FF3\u502C\u500F\u502E\u502D\u4FFE\u501C\u500C\u5025\u5028\u507E\u5043\u5055\u5048\u504E\u506C\u507B\u50A5\u50A7\u50A9\u50BA\u50D6\u5106\u50ED\u50EC\u50E6\u50EE\u5107\u510B\u4EDD\u6C3D\u4F58\u4F65\u4FCE\u9FA0\u6C46\u7C74\u516E\u5DFD\u9EC9\u9998\u5181\u5914\u52F9\u530D\u8A07\u5310\u51EB\u5919\u5155\u4EA0\u5156\u4EB3\u886E\u88A4\u4EB5\u8114\u88D2\u7980\u5B34\u8803\u7FB8\u51AB\u51B1\u51BD\u51BC"],["da40","\u8D0E",14,"\u8D20\u8D51\u8D52\u8D57\u8D5F\u8D65\u8D68\u8D69\u8D6A\u8D6C\u8D6E\u8D6F\u8D71\u8D72\u8D78",8,"\u8D82\u8D83\u8D86\u8D87\u8D88\u8D89\u8D8C",4,"\u8D92\u8D93\u8D95",9,"\u8DA0\u8DA1"],["da80","\u8DA2\u8DA4",12,"\u8DB2\u8DB6\u8DB7\u8DB9\u8DBB\u8DBD\u8DC0\u8DC1\u8DC2\u8DC5\u8DC7\u8DC8\u8DC9\u8DCA\u8DCD\u8DD0\u8DD2\u8DD3\u8DD4\u51C7\u5196\u51A2\u51A5\u8BA0\u8BA6\u8BA7\u8BAA\u8BB4\u8BB5\u8BB7\u8BC2\u8BC3\u8BCB\u8BCF\u8BCE\u8BD2\u8BD3\u8BD4\u8BD6\u8BD8\u8BD9\u8BDC\u8BDF\u8BE0\u8BE4\u8BE8\u8BE9\u8BEE\u8BF0\u8BF3\u8BF6\u8BF9\u8BFC\u8BFF\u8C00\u8C02\u8C04\u8C07\u8C0C\u8C0F\u8C11\u8C12\u8C14\u8C15\u8C16\u8C19\u8C1B\u8C18\u8C1D\u8C1F\u8C20\u8C21\u8C25\u8C27\u8C2A\u8C2B\u8C2E\u8C2F\u8C32\u8C33\u8C35\u8C36\u5369\u537A\u961D\u9622\u9621\u9631\u962A\u963D\u963C\u9642\u9649\u9654\u965F\u9667\u966C\u9672\u9674\u9688\u968D\u9697\u96B0\u9097\u909B\u909D\u9099\u90AC\u90A1\u90B4\u90B3\u90B6\u90BA"],["db40","\u8DD5\u8DD8\u8DD9\u8DDC\u8DE0\u8DE1\u8DE2\u8DE5\u8DE6\u8DE7\u8DE9\u8DED\u8DEE\u8DF0\u8DF1\u8DF2\u8DF4\u8DF6\u8DFC\u8DFE",6,"\u8E06\u8E07\u8E08\u8E0B\u8E0D\u8E0E\u8E10\u8E11\u8E12\u8E13\u8E15",7,"\u8E20\u8E21\u8E24",4,"\u8E2B\u8E2D\u8E30\u8E32\u8E33\u8E34\u8E36\u8E37\u8E38\u8E3B\u8E3C\u8E3E"],["db80","\u8E3F\u8E43\u8E45\u8E46\u8E4C",4,"\u8E53",5,"\u8E5A",11,"\u8E67\u8E68\u8E6A\u8E6B\u8E6E\u8E71\u90B8\u90B0\u90CF\u90C5\u90BE\u90D0\u90C4\u90C7\u90D3\u90E6\u90E2\u90DC\u90D7\u90DB\u90EB\u90EF\u90FE\u9104\u9122\u911E\u9123\u9131\u912F\u9139\u9143\u9146\u520D\u5942\u52A2\u52AC\u52AD\u52BE\u54FF\u52D0\u52D6\u52F0\u53DF\u71EE\u77CD\u5EF4\u51F5\u51FC\u9B2F\u53B6\u5F01\u755A\u5DEF\u574C\u57A9\u57A1\u587E\u58BC\u58C5\u58D1\u5729\u572C\u572A\u5733\u5739\u572E\u572F\u575C\u573B\u5742\u5769\u5785\u576B\u5786\u577C\u577B\u5768\u576D\u5776\u5773\u57AD\u57A4\u578C\u57B2\u57CF\u57A7\u57B4\u5793\u57A0\u57D5\u57D8\u57DA\u57D9\u57D2\u57B8\u57F4\u57EF\u57F8\u57E4\u57DD"],["dc40","\u8E73\u8E75\u8E77",4,"\u8E7D\u8E7E\u8E80\u8E82\u8E83\u8E84\u8E86\u8E88",6,"\u8E91\u8E92\u8E93\u8E95",6,"\u8E9D\u8E9F",11,"\u8EAD\u8EAE\u8EB0\u8EB1\u8EB3",6,"\u8EBB",7],["dc80","\u8EC3",10,"\u8ECF",21,"\u580B\u580D\u57FD\u57ED\u5800\u581E\u5819\u5844\u5820\u5865\u586C\u5881\u5889\u589A\u5880\u99A8\u9F19\u61FF\u8279\u827D\u827F\u828F\u828A\u82A8\u8284\u828E\u8291\u8297\u8299\u82AB\u82B8\u82BE\u82B0\u82C8\u82CA\u82E3\u8298\u82B7\u82AE\u82CB\u82CC\u82C1\u82A9\u82B4\u82A1\u82AA\u829F\u82C4\u82CE\u82A4\u82E1\u8309\u82F7\u82E4\u830F\u8307\u82DC\u82F4\u82D2\u82D8\u830C\u82FB\u82D3\u8311\u831A\u8306\u8314\u8315\u82E0\u82D5\u831C\u8351\u835B\u835C\u8308\u8392\u833C\u8334\u8331\u839B\u835E\u832F\u834F\u8347\u8343\u835F\u8340\u8317\u8360\u832D\u833A\u8333\u8366\u8365"],["dd40","\u8EE5",62],["dd80","\u8F24",32,"\u8368\u831B\u8369\u836C\u836A\u836D\u836E\u83B0\u8378\u83B3\u83B4\u83A0\u83AA\u8393\u839C\u8385\u837C\u83B6\u83A9\u837D\u83B8\u837B\u8398\u839E\u83A8\u83BA\u83BC\u83C1\u8401\u83E5\u83D8\u5807\u8418\u840B\u83DD\u83FD\u83D6\u841C\u8438\u8411\u8406\u83D4\u83DF\u840F\u8403\u83F8\u83F9\u83EA\u83C5\u83C0\u8426\u83F0\u83E1\u845C\u8451\u845A\u8459\u8473\u8487\u8488\u847A\u8489\u8478\u843C\u8446\u8469\u8476\u848C\u848E\u8431\u846D\u84C1\u84CD\u84D0\u84E6\u84BD\u84D3\u84CA\u84BF\u84BA\u84E0\u84A1\u84B9\u84B4\u8497\u84E5\u84E3\u850C\u750D\u8538\u84F0\u8539\u851F\u853A"],["de40","\u8F45",32,"\u8F6A\u8F80\u8F8C\u8F92\u8F9D\u8FA0\u8FA1\u8FA2\u8FA4\u8FA5\u8FA6\u8FA7\u8FAA\u8FAC\u8FAD\u8FAE\u8FAF\u8FB2\u8FB3\u8FB4\u8FB5\u8FB7\u8FB8\u8FBA\u8FBB\u8FBC\u8FBF\u8FC0\u8FC3\u8FC6"],["de80","\u8FC9",4,"\u8FCF\u8FD2\u8FD6\u8FD7\u8FDA\u8FE0\u8FE1\u8FE3\u8FE7\u8FEC\u8FEF\u8FF1\u8FF2\u8FF4\u8FF5\u8FF6\u8FFA\u8FFB\u8FFC\u8FFE\u8FFF\u9007\u9008\u900C\u900E\u9013\u9015\u9018\u8556\u853B\u84FF\u84FC\u8559\u8548\u8568\u8564\u855E\u857A\u77A2\u8543\u8572\u857B\u85A4\u85A8\u8587\u858F\u8579\u85AE\u859C\u8585\u85B9\u85B7\u85B0\u85D3\u85C1\u85DC\u85FF\u8627\u8605\u8629\u8616\u863C\u5EFE\u5F08\u593C\u5941\u8037\u5955\u595A\u5958\u530F\u5C22\u5C25\u5C2C\u5C34\u624C\u626A\u629F\u62BB\u62CA\u62DA\u62D7\u62EE\u6322\u62F6\u6339\u634B\u6343\u63AD\u63F6\u6371\u637A\u638E\u63B4\u636D\u63AC\u638A\u6369\u63AE\u63BC\u63F2\u63F8\u63E0\u63FF\u63C4\u63DE\u63CE\u6452\u63C6\u63BE\u6445\u6441\u640B\u641B\u6420\u640C\u6426\u6421\u645E\u6484\u646D\u6496"],["df40","\u9019\u901C\u9023\u9024\u9025\u9027",5,"\u9030",4,"\u9037\u9039\u903A\u903D\u903F\u9040\u9043\u9045\u9046\u9048",4,"\u904E\u9054\u9055\u9056\u9059\u905A\u905C",5,"\u9064\u9066\u9067\u9069\u906A\u906B\u906C\u906F",4,"\u9076",6,"\u907E\u9081"],["df80","\u9084\u9085\u9086\u9087\u9089\u908A\u908C",4,"\u9092\u9094\u9096\u9098\u909A\u909C\u909E\u909F\u90A0\u90A4\u90A5\u90A7\u90A8\u90A9\u90AB\u90AD\u90B2\u90B7\u90BC\u90BD\u90BF\u90C0\u647A\u64B7\u64B8\u6499\u64BA\u64C0\u64D0\u64D7\u64E4\u64E2\u6509\u6525\u652E\u5F0B\u5FD2\u7519\u5F11\u535F\u53F1\u53FD\u53E9\u53E8\u53FB\u5412\u5416\u5406\u544B\u5452\u5453\u5454\u5456\u5443\u5421\u5457\u5459\u5423\u5432\u5482\u5494\u5477\u5471\u5464\u549A\u549B\u5484\u5476\u5466\u549D\u54D0\u54AD\u54C2\u54B4\u54D2\u54A7\u54A6\u54D3\u54D4\u5472\u54A3\u54D5\u54BB\u54BF\u54CC\u54D9\u54DA\u54DC\u54A9\u54AA\u54A4\u54DD\u54CF\u54DE\u551B\u54E7\u5520\u54FD\u5514\u54F3\u5522\u5523\u550F\u5511\u5527\u552A\u5567\u558F\u55B5\u5549\u556D\u5541\u5555\u553F\u5550\u553C"],["e040","\u90C2\u90C3\u90C6\u90C8\u90C9\u90CB\u90CC\u90CD\u90D2\u90D4\u90D5\u90D6\u90D8\u90D9\u90DA\u90DE\u90DF\u90E0\u90E3\u90E4\u90E5\u90E9\u90EA\u90EC\u90EE\u90F0\u90F1\u90F2\u90F3\u90F5\u90F6\u90F7\u90F9\u90FA\u90FB\u90FC\u90FF\u9100\u9101\u9103\u9105",19,"\u911A\u911B\u911C"],["e080","\u911D\u911F\u9120\u9121\u9124",10,"\u9130\u9132",6,"\u913A",8,"\u9144\u5537\u5556\u5575\u5576\u5577\u5533\u5530\u555C\u558B\u55D2\u5583\u55B1\u55B9\u5588\u5581\u559F\u557E\u55D6\u5591\u557B\u55DF\u55BD\u55BE\u5594\u5599\u55EA\u55F7\u55C9\u561F\u55D1\u55EB\u55EC\u55D4\u55E6\u55DD\u55C4\u55EF\u55E5\u55F2\u55F3\u55CC\u55CD\u55E8\u55F5\u55E4\u8F94\u561E\u5608\u560C\u5601\u5624\u5623\u55FE\u5600\u5627\u562D\u5658\u5639\u5657\u562C\u564D\u5662\u5659\u565C\u564C\u5654\u5686\u5664\u5671\u566B\u567B\u567C\u5685\u5693\u56AF\u56D4\u56D7\u56DD\u56E1\u56F5\u56EB\u56F9\u56FF\u5704\u570A\u5709\u571C\u5E0F\u5E19\u5E14\u5E11\u5E31\u5E3B\u5E3C"],["e140","\u9145\u9147\u9148\u9151\u9153\u9154\u9155\u9156\u9158\u9159\u915B\u915C\u915F\u9160\u9166\u9167\u9168\u916B\u916D\u9173\u917A\u917B\u917C\u9180",4,"\u9186\u9188\u918A\u918E\u918F\u9193",6,"\u919C",5,"\u91A4",5,"\u91AB\u91AC\u91B0\u91B1\u91B2\u91B3\u91B6\u91B7\u91B8\u91B9\u91BB"],["e180","\u91BC",10,"\u91C8\u91CB\u91D0\u91D2",9,"\u91DD",8,"\u5E37\u5E44\u5E54\u5E5B\u5E5E\u5E61\u5C8C\u5C7A\u5C8D\u5C90\u5C96\u5C88\u5C98\u5C99\u5C91\u5C9A\u5C9C\u5CB5\u5CA2\u5CBD\u5CAC\u5CAB\u5CB1\u5CA3\u5CC1\u5CB7\u5CC4\u5CD2\u5CE4\u5CCB\u5CE5\u5D02\u5D03\u5D27\u5D26\u5D2E\u5D24\u5D1E\u5D06\u5D1B\u5D58\u5D3E\u5D34\u5D3D\u5D6C\u5D5B\u5D6F\u5D5D\u5D6B\u5D4B\u5D4A\u5D69\u5D74\u5D82\u5D99\u5D9D\u8C73\u5DB7\u5DC5\u5F73\u5F77\u5F82\u5F87\u5F89\u5F8C\u5F95\u5F99\u5F9C\u5FA8\u5FAD\u5FB5\u5FBC\u8862\u5F61\u72AD\u72B0\u72B4\u72B7\u72B8\u72C3\u72C1\u72CE\u72CD\u72D2\u72E8\u72EF\u72E9\u72F2\u72F4\u72F7\u7301\u72F3\u7303\u72FA"],["e240","\u91E6",62],["e280","\u9225",32,"\u72FB\u7317\u7313\u7321\u730A\u731E\u731D\u7315\u7322\u7339\u7325\u732C\u7338\u7331\u7350\u734D\u7357\u7360\u736C\u736F\u737E\u821B\u5925\u98E7\u5924\u5902\u9963\u9967",5,"\u9974\u9977\u997D\u9980\u9984\u9987\u998A\u998D\u9990\u9991\u9993\u9994\u9995\u5E80\u5E91\u5E8B\u5E96\u5EA5\u5EA0\u5EB9\u5EB5\u5EBE\u5EB3\u8D53\u5ED2\u5ED1\u5EDB\u5EE8\u5EEA\u81BA\u5FC4\u5FC9\u5FD6\u5FCF\u6003\u5FEE\u6004\u5FE1\u5FE4\u5FFE\u6005\u6006\u5FEA\u5FED\u5FF8\u6019\u6035\u6026\u601B\u600F\u600D\u6029\u602B\u600A\u603F\u6021\u6078\u6079\u607B\u607A\u6042"],["e340","\u9246",45,"\u9275",16],["e380","\u9286",7,"\u928F",24,"\u606A\u607D\u6096\u609A\u60AD\u609D\u6083\u6092\u608C\u609B\u60EC\u60BB\u60B1\u60DD\u60D8\u60C6\u60DA\u60B4\u6120\u6126\u6115\u6123\u60F4\u6100\u610E\u612B\u614A\u6175\u61AC\u6194\u61A7\u61B7\u61D4\u61F5\u5FDD\u96B3\u95E9\u95EB\u95F1\u95F3\u95F5\u95F6\u95FC\u95FE\u9603\u9604\u9606\u9608\u960A\u960B\u960C\u960D\u960F\u9612\u9615\u9616\u9617\u9619\u961A\u4E2C\u723F\u6215\u6C35\u6C54\u6C5C\u6C4A\u6CA3\u6C85\u6C90\u6C94\u6C8C\u6C68\u6C69\u6C74\u6C76\u6C86\u6CA9\u6CD0\u6CD4\u6CAD\u6CF7\u6CF8\u6CF1\u6CD7\u6CB2\u6CE0\u6CD6\u6CFA\u6CEB\u6CEE\u6CB1\u6CD3\u6CEF\u6CFE"],["e440","\u92A8",5,"\u92AF",24,"\u92C9",31],["e480","\u92E9",32,"\u6D39\u6D27\u6D0C\u6D43\u6D48\u6D07\u6D04\u6D19\u6D0E\u6D2B\u6D4D\u6D2E\u6D35\u6D1A\u6D4F\u6D52\u6D54\u6D33\u6D91\u6D6F\u6D9E\u6DA0\u6D5E\u6D93\u6D94\u6D5C\u6D60\u6D7C\u6D63\u6E1A\u6DC7\u6DC5\u6DDE\u6E0E\u6DBF\u6DE0\u6E11\u6DE6\u6DDD\u6DD9\u6E16\u6DAB\u6E0C\u6DAE\u6E2B\u6E6E\u6E4E\u6E6B\u6EB2\u6E5F\u6E86\u6E53\u6E54\u6E32\u6E25\u6E44\u6EDF\u6EB1\u6E98\u6EE0\u6F2D\u6EE2\u6EA5\u6EA7\u6EBD\u6EBB\u6EB7\u6ED7\u6EB4\u6ECF\u6E8F\u6EC2\u6E9F\u6F62\u6F46\u6F47\u6F24\u6F15\u6EF9\u6F2F\u6F36\u6F4B\u6F74\u6F2A\u6F09\u6F29\u6F89\u6F8D\u6F8C\u6F78\u6F72\u6F7C\u6F7A\u6FD1"],["e540","\u930A",51,"\u933F",10],["e580","\u934A",31,"\u936B\u6FC9\u6FA7\u6FB9\u6FB6\u6FC2\u6FE1\u6FEE\u6FDE\u6FE0\u6FEF\u701A\u7023\u701B\u7039\u7035\u704F\u705E\u5B80\u5B84\u5B95\u5B93\u5BA5\u5BB8\u752F\u9A9E\u6434\u5BE4\u5BEE\u8930\u5BF0\u8E47\u8B07\u8FB6\u8FD3\u8FD5\u8FE5\u8FEE\u8FE4\u8FE9\u8FE6\u8FF3\u8FE8\u9005\u9004\u900B\u9026\u9011\u900D\u9016\u9021\u9035\u9036\u902D\u902F\u9044\u9051\u9052\u9050\u9068\u9058\u9062\u905B\u66B9\u9074\u907D\u9082\u9088\u9083\u908B\u5F50\u5F57\u5F56\u5F58\u5C3B\u54AB\u5C50\u5C59\u5B71\u5C63\u5C66\u7FBC\u5F2A\u5F29\u5F2D\u8274\u5F3C\u9B3B\u5C6E\u5981\u5983\u598D\u59A9\u59AA\u59A3"],["e640","\u936C",34,"\u9390",27],["e680","\u93AC",29,"\u93CB\u93CC\u93CD\u5997\u59CA\u59AB\u599E\u59A4\u59D2\u59B2\u59AF\u59D7\u59BE\u5A05\u5A06\u59DD\u5A08\u59E3\u59D8\u59F9\u5A0C\u5A09\u5A32\u5A34\u5A11\u5A23\u5A13\u5A40\u5A67\u5A4A\u5A55\u5A3C\u5A62\u5A75\u80EC\u5AAA\u5A9B\u5A77\u5A7A\u5ABE\u5AEB\u5AB2\u5AD2\u5AD4\u5AB8\u5AE0\u5AE3\u5AF1\u5AD6\u5AE6\u5AD8\u5ADC\u5B09\u5B17\u5B16\u5B32\u5B37\u5B40\u5C15\u5C1C\u5B5A\u5B65\u5B73\u5B51\u5B53\u5B62\u9A75\u9A77\u9A78\u9A7A\u9A7F\u9A7D\u9A80\u9A81\u9A85\u9A88\u9A8A\u9A90\u9A92\u9A93\u9A96\u9A98\u9A9B\u9A9C\u9A9D\u9A9F\u9AA0\u9AA2\u9AA3\u9AA5\u9AA7\u7E9F\u7EA1\u7EA3\u7EA5\u7EA8\u7EA9"],["e740","\u93CE",7,"\u93D7",54],["e780","\u940E",32,"\u7EAD\u7EB0\u7EBE\u7EC0\u7EC1\u7EC2\u7EC9\u7ECB\u7ECC\u7ED0\u7ED4\u7ED7\u7EDB\u7EE0\u7EE1\u7EE8\u7EEB\u7EEE\u7EEF\u7EF1\u7EF2\u7F0D\u7EF6\u7EFA\u7EFB\u7EFE\u7F01\u7F02\u7F03\u7F07\u7F08\u7F0B\u7F0C\u7F0F\u7F11\u7F12\u7F17\u7F19\u7F1C\u7F1B\u7F1F\u7F21",6,"\u7F2A\u7F2B\u7F2C\u7F2D\u7F2F",4,"\u7F35\u5E7A\u757F\u5DDB\u753E\u9095\u738E\u7391\u73AE\u73A2\u739F\u73CF\u73C2\u73D1\u73B7\u73B3\u73C0\u73C9\u73C8\u73E5\u73D9\u987C\u740A\u73E9\u73E7\u73DE\u73BA\u73F2\u740F\u742A\u745B\u7426\u7425\u7428\u7430\u742E\u742C"],["e840","\u942F",14,"\u943F",43,"\u946C\u946D\u946E\u946F"],["e880","\u9470",20,"\u9491\u9496\u9498\u94C7\u94CF\u94D3\u94D4\u94DA\u94E6\u94FB\u951C\u9520\u741B\u741A\u7441\u745C\u7457\u7455\u7459\u7477\u746D\u747E\u749C\u748E\u7480\u7481\u7487\u748B\u749E\u74A8\u74A9\u7490\u74A7\u74D2\u74BA\u97EA\u97EB\u97EC\u674C\u6753\u675E\u6748\u6769\u67A5\u6787\u676A\u6773\u6798\u67A7\u6775\u67A8\u679E\u67AD\u678B\u6777\u677C\u67F0\u6809\u67D8\u680A\u67E9\u67B0\u680C\u67D9\u67B5\u67DA\u67B3\u67DD\u6800\u67C3\u67B8\u67E2\u680E\u67C1\u67FD\u6832\u6833\u6860\u6861\u684E\u6862\u6844\u6864\u6883\u681D\u6855\u6866\u6841\u6867\u6840\u683E\u684A\u6849\u6829\u68B5\u688F\u6874\u6877\u6893\u686B\u68C2\u696E\u68FC\u691F\u6920\u68F9"],["e940","\u9527\u9533\u953D\u9543\u9548\u954B\u9555\u955A\u9560\u956E\u9574\u9575\u9577",7,"\u9580",42],["e980","\u95AB",32,"\u6924\u68F0\u690B\u6901\u6957\u68E3\u6910\u6971\u6939\u6960\u6942\u695D\u6984\u696B\u6980\u6998\u6978\u6934\u69CC\u6987\u6988\u69CE\u6989\u6966\u6963\u6979\u699B\u69A7\u69BB\u69AB\u69AD\u69D4\u69B1\u69C1\u69CA\u69DF\u6995\u69E0\u698D\u69FF\u6A2F\u69ED\u6A17\u6A18\u6A65\u69F2\u6A44\u6A3E\u6AA0\u6A50\u6A5B\u6A35\u6A8E\u6A79\u6A3D\u6A28\u6A58\u6A7C\u6A91\u6A90\u6AA9\u6A97\u6AAB\u7337\u7352\u6B81\u6B82\u6B87\u6B84\u6B92\u6B93\u6B8D\u6B9A\u6B9B\u6BA1\u6BAA\u8F6B\u8F6D\u8F71\u8F72\u8F73\u8F75\u8F76\u8F78\u8F77\u8F79\u8F7A\u8F7C\u8F7E\u8F81\u8F82\u8F84\u8F87\u8F8B"],["ea40","\u95CC",27,"\u95EC\u95FF\u9607\u9613\u9618\u961B\u961E\u9620\u9623",6,"\u962B\u962C\u962D\u962F\u9630\u9637\u9638\u9639\u963A\u963E\u9641\u9643\u964A\u964E\u964F\u9651\u9652\u9653\u9656\u9657"],["ea80","\u9658\u9659\u965A\u965C\u965D\u965E\u9660\u9663\u9665\u9666\u966B\u966D",4,"\u9673\u9678",12,"\u9687\u9689\u968A\u8F8D\u8F8E\u8F8F\u8F98\u8F9A\u8ECE\u620B\u6217\u621B\u621F\u6222\u6221\u6225\u6224\u622C\u81E7\u74EF\u74F4\u74FF\u750F\u7511\u7513\u6534\u65EE\u65EF\u65F0\u660A\u6619\u6772\u6603\u6615\u6600\u7085\u66F7\u661D\u6634\u6631\u6636\u6635\u8006\u665F\u6654\u6641\u664F\u6656\u6661\u6657\u6677\u6684\u668C\u66A7\u669D\u66BE\u66DB\u66DC\u66E6\u66E9\u8D32\u8D33\u8D36\u8D3B\u8D3D\u8D40\u8D45\u8D46\u8D48\u8D49\u8D47\u8D4D\u8D55\u8D59\u89C7\u89CA\u89CB\u89CC\u89CE\u89CF\u89D0\u89D1\u726E\u729F\u725D\u7266\u726F\u727E\u727F\u7284\u728B\u728D\u728F\u7292\u6308\u6332\u63B0"],["eb40","\u968C\u968E\u9691\u9692\u9693\u9695\u9696\u969A\u969B\u969D",9,"\u96A8",7,"\u96B1\u96B2\u96B4\u96B5\u96B7\u96B8\u96BA\u96BB\u96BF\u96C2\u96C3\u96C8\u96CA\u96CB\u96D0\u96D1\u96D3\u96D4\u96D6",9,"\u96E1",6,"\u96EB"],["eb80","\u96EC\u96ED\u96EE\u96F0\u96F1\u96F2\u96F4\u96F5\u96F8\u96FA\u96FB\u96FC\u96FD\u96FF\u9702\u9703\u9705\u970A\u970B\u970C\u9710\u9711\u9712\u9714\u9715\u9717",4,"\u971D\u971F\u9720\u643F\u64D8\u8004\u6BEA\u6BF3\u6BFD\u6BF5\u6BF9\u6C05\u6C07\u6C06\u6C0D\u6C15\u6C18\u6C19\u6C1A\u6C21\u6C29\u6C24\u6C2A\u6C32\u6535\u6555\u656B\u724D\u7252\u7256\u7230\u8662\u5216\u809F\u809C\u8093\u80BC\u670A\u80BD\u80B1\u80AB\u80AD\u80B4\u80B7\u80E7\u80E8\u80E9\u80EA\u80DB\u80C2\u80C4\u80D9\u80CD\u80D7\u6710\u80DD\u80EB\u80F1\u80F4\u80ED\u810D\u810E\u80F2\u80FC\u6715\u8112\u8C5A\u8136\u811E\u812C\u8118\u8132\u8148\u814C\u8153\u8174\u8159\u815A\u8171\u8160\u8169\u817C\u817D\u816D\u8167\u584D\u5AB5\u8188\u8182\u8191\u6ED5\u81A3\u81AA\u81CC\u6726\u81CA\u81BB"],["ec40","\u9721",8,"\u972B\u972C\u972E\u972F\u9731\u9733",4,"\u973A\u973B\u973C\u973D\u973F",18,"\u9754\u9755\u9757\u9758\u975A\u975C\u975D\u975F\u9763\u9764\u9766\u9767\u9768\u976A",7],["ec80","\u9772\u9775\u9777",4,"\u977D",7,"\u9786",4,"\u978C\u978E\u978F\u9790\u9793\u9795\u9796\u9797\u9799",4,"\u81C1\u81A6\u6B24\u6B37\u6B39\u6B43\u6B46\u6B59\u98D1\u98D2\u98D3\u98D5\u98D9\u98DA\u6BB3\u5F40\u6BC2\u89F3\u6590\u9F51\u6593\u65BC\u65C6\u65C4\u65C3\u65CC\u65CE\u65D2\u65D6\u7080\u709C\u7096\u709D\u70BB\u70C0\u70B7\u70AB\u70B1\u70E8\u70CA\u7110\u7113\u7116\u712F\u7131\u7173\u715C\u7168\u7145\u7172\u714A\u7178\u717A\u7198\u71B3\u71B5\u71A8\u71A0\u71E0\u71D4\u71E7\u71F9\u721D\u7228\u706C\u7118\u7166\u71B9\u623E\u623D\u6243\u6248\u6249\u793B\u7940\u7946\u7949\u795B\u795C\u7953\u795A\u7962\u7957\u7960\u796F\u7967\u797A\u7985\u798A\u799A\u79A7\u79B3\u5FD1\u5FD0"],["ed40","\u979E\u979F\u97A1\u97A2\u97A4",6,"\u97AC\u97AE\u97B0\u97B1\u97B3\u97B5",46],["ed80","\u97E4\u97E5\u97E8\u97EE",4,"\u97F4\u97F7",23,"\u603C\u605D\u605A\u6067\u6041\u6059\u6063\u60AB\u6106\u610D\u615D\u61A9\u619D\u61CB\u61D1\u6206\u8080\u807F\u6C93\u6CF6\u6DFC\u77F6\u77F8\u7800\u7809\u7817\u7818\u7811\u65AB\u782D\u781C\u781D\u7839\u783A\u783B\u781F\u783C\u7825\u782C\u7823\u7829\u784E\u786D\u7856\u7857\u7826\u7850\u7847\u784C\u786A\u789B\u7893\u789A\u7887\u789C\u78A1\u78A3\u78B2\u78B9\u78A5\u78D4\u78D9\u78C9\u78EC\u78F2\u7905\u78F4\u7913\u7924\u791E\u7934\u9F9B\u9EF9\u9EFB\u9EFC\u76F1\u7704\u770D\u76F9\u7707\u7708\u771A\u7722\u7719\u772D\u7726\u7735\u7738\u7750\u7751\u7747\u7743\u775A\u7768"],["ee40","\u980F",62],["ee80","\u984E",32,"\u7762\u7765\u777F\u778D\u777D\u7780\u778C\u7791\u779F\u77A0\u77B0\u77B5\u77BD\u753A\u7540\u754E\u754B\u7548\u755B\u7572\u7579\u7583\u7F58\u7F61\u7F5F\u8A48\u7F68\u7F74\u7F71\u7F79\u7F81\u7F7E\u76CD\u76E5\u8832\u9485\u9486\u9487\u948B\u948A\u948C\u948D\u948F\u9490\u9494\u9497\u9495\u949A\u949B\u949C\u94A3\u94A4\u94AB\u94AA\u94AD\u94AC\u94AF\u94B0\u94B2\u94B4\u94B6",4,"\u94BC\u94BD\u94BF\u94C4\u94C8",6,"\u94D0\u94D1\u94D2\u94D5\u94D6\u94D7\u94D9\u94D8\u94DB\u94DE\u94DF\u94E0\u94E2\u94E4\u94E5\u94E7\u94E8\u94EA"],["ef40","\u986F",5,"\u988B\u988E\u9892\u9895\u9899\u98A3\u98A8",37,"\u98CF\u98D0\u98D4\u98D6\u98D7\u98DB\u98DC\u98DD\u98E0",4],["ef80","\u98E5\u98E6\u98E9",30,"\u94E9\u94EB\u94EE\u94EF\u94F3\u94F4\u94F5\u94F7\u94F9\u94FC\u94FD\u94FF\u9503\u9502\u9506\u9507\u9509\u950A\u950D\u950E\u950F\u9512",4,"\u9518\u951B\u951D\u951E\u951F\u9522\u952A\u952B\u9529\u952C\u9531\u9532\u9534\u9536\u9537\u9538\u953C\u953E\u953F\u9542\u9535\u9544\u9545\u9546\u9549\u954C\u954E\u954F\u9552\u9553\u9554\u9556\u9557\u9558\u9559\u955B\u955E\u955F\u955D\u9561\u9562\u9564",8,"\u956F\u9571\u9572\u9573\u953A\u77E7\u77EC\u96C9\u79D5\u79ED\u79E3\u79EB\u7A06\u5D47\u7A03\u7A02\u7A1E\u7A14"],["f040","\u9908",4,"\u990E\u990F\u9911",28,"\u992F",26],["f080","\u994A",9,"\u9956",12,"\u9964\u9966\u9973\u9978\u9979\u997B\u997E\u9982\u9983\u9989\u7A39\u7A37\u7A51\u9ECF\u99A5\u7A70\u7688\u768E\u7693\u7699\u76A4\u74DE\u74E0\u752C\u9E20\u9E22\u9E28",4,"\u9E32\u9E31\u9E36\u9E38\u9E37\u9E39\u9E3A\u9E3E\u9E41\u9E42\u9E44\u9E46\u9E47\u9E48\u9E49\u9E4B\u9E4C\u9E4E\u9E51\u9E55\u9E57\u9E5A\u9E5B\u9E5C\u9E5E\u9E63\u9E66",6,"\u9E71\u9E6D\u9E73\u7592\u7594\u7596\u75A0\u759D\u75AC\u75A3\u75B3\u75B4\u75B8\u75C4\u75B1\u75B0\u75C3\u75C2\u75D6\u75CD\u75E3\u75E8\u75E6\u75E4\u75EB\u75E7\u7603\u75F1\u75FC\u75FF\u7610\u7600\u7605\u760C\u7617\u760A\u7625\u7618\u7615\u7619"],["f140","\u998C\u998E\u999A",10,"\u99A6\u99A7\u99A9",47],["f180","\u99D9",32,"\u761B\u763C\u7622\u7620\u7640\u762D\u7630\u763F\u7635\u7643\u763E\u7633\u764D\u765E\u7654\u765C\u7656\u766B\u766F\u7FCA\u7AE6\u7A78\u7A79\u7A80\u7A86\u7A88\u7A95\u7AA6\u7AA0\u7AAC\u7AA8\u7AAD\u7AB3\u8864\u8869\u8872\u887D\u887F\u8882\u88A2\u88C6\u88B7\u88BC\u88C9\u88E2\u88CE\u88E3\u88E5\u88F1\u891A\u88FC\u88E8\u88FE\u88F0\u8921\u8919\u8913\u891B\u890A\u8934\u892B\u8936\u8941\u8966\u897B\u758B\u80E5\u76B2\u76B4\u77DC\u8012\u8014\u8016\u801C\u8020\u8022\u8025\u8026\u8027\u8029\u8028\u8031\u800B\u8035\u8043\u8046\u804D\u8052\u8069\u8071\u8983\u9878\u9880\u9883"],["f240","\u99FA",62],["f280","\u9A39",32,"\u9889\u988C\u988D\u988F\u9894\u989A\u989B\u989E\u989F\u98A1\u98A2\u98A5\u98A6\u864D\u8654\u866C\u866E\u867F\u867A\u867C\u867B\u86A8\u868D\u868B\u86AC\u869D\u86A7\u86A3\u86AA\u8693\u86A9\u86B6\u86C4\u86B5\u86CE\u86B0\u86BA\u86B1\u86AF\u86C9\u86CF\u86B4\u86E9\u86F1\u86F2\u86ED\u86F3\u86D0\u8713\u86DE\u86F4\u86DF\u86D8\u86D1\u8703\u8707\u86F8\u8708\u870A\u870D\u8709\u8723\u873B\u871E\u8725\u872E\u871A\u873E\u8748\u8734\u8731\u8729\u8737\u873F\u8782\u8722\u877D\u877E\u877B\u8760\u8770\u874C\u876E\u878B\u8753\u8763\u877C\u8764\u8759\u8765\u8793\u87AF\u87A8\u87D2"],["f340","\u9A5A",17,"\u9A72\u9A83\u9A89\u9A8D\u9A8E\u9A94\u9A95\u9A99\u9AA6\u9AA9",6,"\u9AB2\u9AB3\u9AB4\u9AB5\u9AB9\u9ABB\u9ABD\u9ABE\u9ABF\u9AC3\u9AC4\u9AC6",4,"\u9ACD\u9ACE\u9ACF\u9AD0\u9AD2\u9AD4\u9AD5\u9AD6\u9AD7\u9AD9\u9ADA\u9ADB\u9ADC"],["f380","\u9ADD\u9ADE\u9AE0\u9AE2\u9AE3\u9AE4\u9AE5\u9AE7\u9AE8\u9AE9\u9AEA\u9AEC\u9AEE\u9AF0",8,"\u9AFA\u9AFC",6,"\u9B04\u9B05\u9B06\u87C6\u8788\u8785\u87AD\u8797\u8783\u87AB\u87E5\u87AC\u87B5\u87B3\u87CB\u87D3\u87BD\u87D1\u87C0\u87CA\u87DB\u87EA\u87E0\u87EE\u8816\u8813\u87FE\u880A\u881B\u8821\u8839\u883C\u7F36\u7F42\u7F44\u7F45\u8210\u7AFA\u7AFD\u7B08\u7B03\u7B04\u7B15\u7B0A\u7B2B\u7B0F\u7B47\u7B38\u7B2A\u7B19\u7B2E\u7B31\u7B20\u7B25\u7B24\u7B33\u7B3E\u7B1E\u7B58\u7B5A\u7B45\u7B75\u7B4C\u7B5D\u7B60\u7B6E\u7B7B\u7B62\u7B72\u7B71\u7B90\u7BA6\u7BA7\u7BB8\u7BAC\u7B9D\u7BA8\u7B85\u7BAA\u7B9C\u7BA2\u7BAB\u7BB4\u7BD1\u7BC1\u7BCC\u7BDD\u7BDA\u7BE5\u7BE6\u7BEA\u7C0C\u7BFE\u7BFC\u7C0F\u7C16\u7C0B"],["f440","\u9B07\u9B09",5,"\u9B10\u9B11\u9B12\u9B14",10,"\u9B20\u9B21\u9B22\u9B24",10,"\u9B30\u9B31\u9B33",7,"\u9B3D\u9B3E\u9B3F\u9B40\u9B46\u9B4A\u9B4B\u9B4C\u9B4E\u9B50\u9B52\u9B53\u9B55",5],["f480","\u9B5B",32,"\u7C1F\u7C2A\u7C26\u7C38\u7C41\u7C40\u81FE\u8201\u8202\u8204\u81EC\u8844\u8221\u8222\u8223\u822D\u822F\u8228\u822B\u8238\u823B\u8233\u8234\u823E\u8244\u8249\u824B\u824F\u825A\u825F\u8268\u887E\u8885\u8888\u88D8\u88DF\u895E\u7F9D\u7F9F\u7FA7\u7FAF\u7FB0\u7FB2\u7C7C\u6549\u7C91\u7C9D\u7C9C\u7C9E\u7CA2\u7CB2\u7CBC\u7CBD\u7CC1\u7CC7\u7CCC\u7CCD\u7CC8\u7CC5\u7CD7\u7CE8\u826E\u66A8\u7FBF\u7FCE\u7FD5\u7FE5\u7FE1\u7FE6\u7FE9\u7FEE\u7FF3\u7CF8\u7D77\u7DA6\u7DAE\u7E47\u7E9B\u9EB8\u9EB4\u8D73\u8D84\u8D94\u8D91\u8DB1\u8D67\u8D6D\u8C47\u8C49\u914A\u9150\u914E\u914F\u9164"],["f540","\u9B7C",62],["f580","\u9BBB",32,"\u9162\u9161\u9170\u9169\u916F\u917D\u917E\u9172\u9174\u9179\u918C\u9185\u9190\u918D\u9191\u91A2\u91A3\u91AA\u91AD\u91AE\u91AF\u91B5\u91B4\u91BA\u8C55\u9E7E\u8DB8\u8DEB\u8E05\u8E59\u8E69\u8DB5\u8DBF\u8DBC\u8DBA\u8DC4\u8DD6\u8DD7\u8DDA\u8DDE\u8DCE\u8DCF\u8DDB\u8DC6\u8DEC\u8DF7\u8DF8\u8DE3\u8DF9\u8DFB\u8DE4\u8E09\u8DFD\u8E14\u8E1D\u8E1F\u8E2C\u8E2E\u8E23\u8E2F\u8E3A\u8E40\u8E39\u8E35\u8E3D\u8E31\u8E49\u8E41\u8E42\u8E51\u8E52\u8E4A\u8E70\u8E76\u8E7C\u8E6F\u8E74\u8E85\u8E8F\u8E94\u8E90\u8E9C\u8E9E\u8C78\u8C82\u8C8A\u8C85\u8C98\u8C94\u659B\u89D6\u89DE\u89DA\u89DC"],["f640","\u9BDC",62],["f680","\u9C1B",32,"\u89E5\u89EB\u89EF\u8A3E\u8B26\u9753\u96E9\u96F3\u96EF\u9706\u9701\u9708\u970F\u970E\u972A\u972D\u9730\u973E\u9F80\u9F83\u9F85",5,"\u9F8C\u9EFE\u9F0B\u9F0D\u96B9\u96BC\u96BD\u96CE\u96D2\u77BF\u96E0\u928E\u92AE\u92C8\u933E\u936A\u93CA\u938F\u943E\u946B\u9C7F\u9C82\u9C85\u9C86\u9C87\u9C88\u7A23\u9C8B\u9C8E\u9C90\u9C91\u9C92\u9C94\u9C95\u9C9A\u9C9B\u9C9E",5,"\u9CA5",4,"\u9CAB\u9CAD\u9CAE\u9CB0",7,"\u9CBA\u9CBB\u9CBC\u9CBD\u9CC4\u9CC5\u9CC6\u9CC7\u9CCA\u9CCB"],["f740","\u9C3C",62],["f780","\u9C7B\u9C7D\u9C7E\u9C80\u9C83\u9C84\u9C89\u9C8A\u9C8C\u9C8F\u9C93\u9C96\u9C97\u9C98\u9C99\u9C9D\u9CAA\u9CAC\u9CAF\u9CB9\u9CBE",4,"\u9CC8\u9CC9\u9CD1\u9CD2\u9CDA\u9CDB\u9CE0\u9CE1\u9CCC",4,"\u9CD3\u9CD4\u9CD5\u9CD7\u9CD8\u9CD9\u9CDC\u9CDD\u9CDF\u9CE2\u977C\u9785\u9791\u9792\u9794\u97AF\u97AB\u97A3\u97B2\u97B4\u9AB1\u9AB0\u9AB7\u9E58\u9AB6\u9ABA\u9ABC\u9AC1\u9AC0\u9AC5\u9AC2\u9ACB\u9ACC\u9AD1\u9B45\u9B43\u9B47\u9B49\u9B48\u9B4D\u9B51\u98E8\u990D\u992E\u9955\u9954\u9ADF\u9AE1\u9AE6\u9AEF\u9AEB\u9AFB\u9AED\u9AF9\u9B08\u9B0F\u9B13\u9B1F\u9B23\u9EBD\u9EBE\u7E3B\u9E82\u9E87\u9E88\u9E8B\u9E92\u93D6\u9E9D\u9E9F\u9EDB\u9EDC\u9EDD\u9EE0\u9EDF\u9EE2\u9EE9\u9EE7\u9EE5\u9EEA\u9EEF\u9F22\u9F2C\u9F2F\u9F39\u9F37\u9F3D\u9F3E\u9F44"],["f840","\u9CE3",62],["f880","\u9D22",32],["f940","\u9D43",62],["f980","\u9D82",32],["fa40","\u9DA3",62],["fa80","\u9DE2",32],["fb40","\u9E03",27,"\u9E24\u9E27\u9E2E\u9E30\u9E34\u9E3B\u9E3C\u9E40\u9E4D\u9E50\u9E52\u9E53\u9E54\u9E56\u9E59\u9E5D\u9E5F\u9E60\u9E61\u9E62\u9E65\u9E6E\u9E6F\u9E72\u9E74",9,"\u9E80"],["fb80","\u9E81\u9E83\u9E84\u9E85\u9E86\u9E89\u9E8A\u9E8C",5,"\u9E94",8,"\u9E9E\u9EA0",5,"\u9EA7\u9EA8\u9EA9\u9EAA"],["fc40","\u9EAB",8,"\u9EB5\u9EB6\u9EB7\u9EB9\u9EBA\u9EBC\u9EBF",4,"\u9EC5\u9EC6\u9EC7\u9EC8\u9ECA\u9ECB\u9ECC\u9ED0\u9ED2\u9ED3\u9ED5\u9ED6\u9ED7\u9ED9\u9EDA\u9EDE\u9EE1\u9EE3\u9EE4\u9EE6\u9EE8\u9EEB\u9EEC\u9EED\u9EEE\u9EF0",8,"\u9EFA\u9EFD\u9EFF",6],["fc80","\u9F06",4,"\u9F0C\u9F0F\u9F11\u9F12\u9F14\u9F15\u9F16\u9F18\u9F1A",5,"\u9F21\u9F23",8,"\u9F2D\u9F2E\u9F30\u9F31"],["fd40","\u9F32",4,"\u9F38\u9F3A\u9F3C\u9F3F",4,"\u9F45",10,"\u9F52",38],["fd80","\u9F79",5,"\u9F81\u9F82\u9F8D",11,"\u9F9C\u9F9D\u9F9E\u9FA1",4,"\uF92C\uF979\uF995\uF9E7\uF9F1"],["fe40","\uFA0C\uFA0D\uFA0E\uFA0F\uFA11\uFA13\uFA14\uFA18\uFA1F\uFA20\uFA21\uFA23\uFA24\uFA27\uFA28\uFA29"]]});var I6t=xe((aas,sCr)=>{sCr.exports=[["a140","\uE4C6",62],["a180","\uE505",32],["a240","\uE526",62],["a280","\uE565",32],["a2ab","\uE766",5],["a2e3","\u20AC\uE76D"],["a2ef","\uE76E\uE76F"],["a2fd","\uE770\uE771"],["a340","\uE586",62],["a380","\uE5C5",31,"\u3000"],["a440","\uE5E6",62],["a480","\uE625",32],["a4f4","\uE772",10],["a540","\uE646",62],["a580","\uE685",32],["a5f7","\uE77D",7],["a640","\uE6A6",62],["a680","\uE6E5",32],["a6b9","\uE785",7],["a6d9","\uE78D",6],["a6ec","\uE794\uE795"],["a6f3","\uE796"],["a6f6","\uE797",8],["a740","\uE706",62],["a780","\uE745",32],["a7c2","\uE7A0",14],["a7f2","\uE7AF",12],["a896","\uE7BC",10],["a8bc","\u1E3F"],["a8bf","\u01F9"],["a8c1","\uE7C9\uE7CA\uE7CB\uE7CC"],["a8ea","\uE7CD",20],["a958","\uE7E2"],["a95b","\uE7E3"],["a95d","\uE7E4\uE7E5\uE7E6"],["a989","\u303E\u2FF0",11],["a997","\uE7F4",12],["a9f0","\uE801",14],["aaa1","\uE000",93],["aba1","\uE05E",93],["aca1","\uE0BC",93],["ada1","\uE11A",93],["aea1","\uE178",93],["afa1","\uE1D6",93],["d7fa","\uE810",4],["f8a1","\uE234",93],["f9a1","\uE292",93],["faa1","\uE2F0",93],["fba1","\uE34E",93],["fca1","\uE3AC",93],["fda1","\uE40A",93],["fe50","\u2E81\uE816\uE817\uE818\u2E84\u3473\u3447\u2E88\u2E8B\uE81E\u359E\u361A\u360E\u2E8C\u2E97\u396E\u3918\uE826\u39CF\u39DF\u3A73\u39D0\uE82B\uE82C\u3B4E\u3C6E\u3CE0\u2EA7\uE831\uE832\u2EAA\u4056\u415F\u2EAE\u4337\u2EB3\u2EB6\u2EB7\uE83B\u43B1\u43AC\u2EBB\u43DD\u44D6\u4661\u464C\uE843"],["fe80","\u4723\u4729\u477C\u478D\u2ECA\u4947\u497A\u497D\u4982\u4983\u4985\u4986\u499F\u499B\u49B7\u49B6\uE854\uE855\u4CA3\u4C9F\u4CA0\u4CA1\u4C77\u4CA2\u4D13",6,"\u4DAE\uE864\uE468",93],["8135f437","\uE7C7"]]});var e8i=xe((sas,lCr)=>{lCr.exports={uChars:[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],gbChars:[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189e3]}});var t8i=xe((las,cCr)=>{cCr.exports=[["0","\0",127],["8141","\uAC02\uAC03\uAC05\uAC06\uAC0B",4,"\uAC18\uAC1E\uAC1F\uAC21\uAC22\uAC23\uAC25",6,"\uAC2E\uAC32\uAC33\uAC34"],["8161","\uAC35\uAC36\uAC37\uAC3A\uAC3B\uAC3D\uAC3E\uAC3F\uAC41",9,"\uAC4C\uAC4E",5,"\uAC55"],["8181","\uAC56\uAC57\uAC59\uAC5A\uAC5B\uAC5D",18,"\uAC72\uAC73\uAC75\uAC76\uAC79\uAC7B",4,"\uAC82\uAC87\uAC88\uAC8D\uAC8E\uAC8F\uAC91\uAC92\uAC93\uAC95",6,"\uAC9E\uACA2",5,"\uACAB\uACAD\uACAE\uACB1",6,"\uACBA\uACBE\uACBF\uACC0\uACC2\uACC3\uACC5\uACC6\uACC7\uACC9\uACCA\uACCB\uACCD",7,"\uACD6\uACD8",7,"\uACE2\uACE3\uACE5\uACE6\uACE9\uACEB\uACED\uACEE\uACF2\uACF4\uACF7",4,"\uACFE\uACFF\uAD01\uAD02\uAD03\uAD05\uAD07",4,"\uAD0E\uAD10\uAD12\uAD13"],["8241","\uAD14\uAD15\uAD16\uAD17\uAD19\uAD1A\uAD1B\uAD1D\uAD1E\uAD1F\uAD21",7,"\uAD2A\uAD2B\uAD2E",5],["8261","\uAD36\uAD37\uAD39\uAD3A\uAD3B\uAD3D",6,"\uAD46\uAD48\uAD4A",5,"\uAD51\uAD52\uAD53\uAD55\uAD56\uAD57"],["8281","\uAD59",7,"\uAD62\uAD64",7,"\uAD6E\uAD6F\uAD71\uAD72\uAD77\uAD78\uAD79\uAD7A\uAD7E\uAD80\uAD83",4,"\uAD8A\uAD8B\uAD8D\uAD8E\uAD8F\uAD91",10,"\uAD9E",5,"\uADA5",17,"\uADB8",7,"\uADC2\uADC3\uADC5\uADC6\uADC7\uADC9",6,"\uADD2\uADD4",7,"\uADDD\uADDE\uADDF\uADE1\uADE2\uADE3\uADE5",18],["8341","\uADFA\uADFB\uADFD\uADFE\uAE02",5,"\uAE0A\uAE0C\uAE0E",5,"\uAE15",7],["8361","\uAE1D",18,"\uAE32\uAE33\uAE35\uAE36\uAE39\uAE3B\uAE3C"],["8381","\uAE3D\uAE3E\uAE3F\uAE42\uAE44\uAE47\uAE48\uAE49\uAE4B\uAE4F\uAE51\uAE52\uAE53\uAE55\uAE57",4,"\uAE5E\uAE62\uAE63\uAE64\uAE66\uAE67\uAE6A\uAE6B\uAE6D\uAE6E\uAE6F\uAE71",6,"\uAE7A\uAE7E",5,"\uAE86",5,"\uAE8D",46,"\uAEBF\uAEC1\uAEC2\uAEC3\uAEC5",6,"\uAECE\uAED2",5,"\uAEDA\uAEDB\uAEDD",8],["8441","\uAEE6\uAEE7\uAEE9\uAEEA\uAEEC\uAEEE",5,"\uAEF5\uAEF6\uAEF7\uAEF9\uAEFA\uAEFB\uAEFD",8],["8461","\uAF06\uAF09\uAF0A\uAF0B\uAF0C\uAF0E\uAF0F\uAF11",18],["8481","\uAF24",7,"\uAF2E\uAF2F\uAF31\uAF33\uAF35",6,"\uAF3E\uAF40\uAF44\uAF45\uAF46\uAF47\uAF4A",5,"\uAF51",10,"\uAF5E",5,"\uAF66",18,"\uAF7A",5,"\uAF81\uAF82\uAF83\uAF85\uAF86\uAF87\uAF89",6,"\uAF92\uAF93\uAF94\uAF96",5,"\uAF9D",26,"\uAFBA\uAFBB\uAFBD\uAFBE"],["8541","\uAFBF\uAFC1",5,"\uAFCA\uAFCC\uAFCF",4,"\uAFD5",6,"\uAFDD",4],["8561","\uAFE2",5,"\uAFEA",5,"\uAFF2\uAFF3\uAFF5\uAFF6\uAFF7\uAFF9",6,"\uB002\uB003"],["8581","\uB005",6,"\uB00D\uB00E\uB00F\uB011\uB012\uB013\uB015",6,"\uB01E",9,"\uB029",26,"\uB046\uB047\uB049\uB04B\uB04D\uB04F\uB050\uB051\uB052\uB056\uB058\uB05A\uB05B\uB05C\uB05E",29,"\uB07E\uB07F\uB081\uB082\uB083\uB085",6,"\uB08E\uB090\uB092",5,"\uB09B\uB09D\uB09E\uB0A3\uB0A4"],["8641","\uB0A5\uB0A6\uB0A7\uB0AA\uB0B0\uB0B2\uB0B6\uB0B7\uB0B9\uB0BA\uB0BB\uB0BD",6,"\uB0C6\uB0CA",5,"\uB0D2"],["8661","\uB0D3\uB0D5\uB0D6\uB0D7\uB0D9",6,"\uB0E1\uB0E2\uB0E3\uB0E4\uB0E6",10],["8681","\uB0F1",22,"\uB10A\uB10D\uB10E\uB10F\uB111\uB114\uB115\uB116\uB117\uB11A\uB11E",4,"\uB126\uB127\uB129\uB12A\uB12B\uB12D",6,"\uB136\uB13A",5,"\uB142\uB143\uB145\uB146\uB147\uB149",6,"\uB152\uB153\uB156\uB157\uB159\uB15A\uB15B\uB15D\uB15E\uB15F\uB161",22,"\uB17A\uB17B\uB17D\uB17E\uB17F\uB181\uB183",4,"\uB18A\uB18C\uB18E\uB18F\uB190\uB191\uB195\uB196\uB197\uB199\uB19A\uB19B\uB19D"],["8741","\uB19E",9,"\uB1A9",15],["8761","\uB1B9",18,"\uB1CD\uB1CE\uB1CF\uB1D1\uB1D2\uB1D3\uB1D5"],["8781","\uB1D6",5,"\uB1DE\uB1E0",7,"\uB1EA\uB1EB\uB1ED\uB1EE\uB1EF\uB1F1",7,"\uB1FA\uB1FC\uB1FE",5,"\uB206\uB207\uB209\uB20A\uB20D",6,"\uB216\uB218\uB21A",5,"\uB221",18,"\uB235",6,"\uB23D",26,"\uB259\uB25A\uB25B\uB25D\uB25E\uB25F\uB261",6,"\uB26A",4],["8841","\uB26F",4,"\uB276",5,"\uB27D",6,"\uB286\uB287\uB288\uB28A",4],["8861","\uB28F\uB292\uB293\uB295\uB296\uB297\uB29B",4,"\uB2A2\uB2A4\uB2A7\uB2A8\uB2A9\uB2AB\uB2AD\uB2AE\uB2AF\uB2B1\uB2B2\uB2B3\uB2B5\uB2B6\uB2B7"],["8881","\uB2B8",15,"\uB2CA\uB2CB\uB2CD\uB2CE\uB2CF\uB2D1\uB2D3",4,"\uB2DA\uB2DC\uB2DE\uB2DF\uB2E0\uB2E1\uB2E3\uB2E7\uB2E9\uB2EA\uB2F0\uB2F1\uB2F2\uB2F6\uB2FC\uB2FD\uB2FE\uB302\uB303\uB305\uB306\uB307\uB309",6,"\uB312\uB316",5,"\uB31D",54,"\uB357\uB359\uB35A\uB35D\uB360\uB361\uB362\uB363"],["8941","\uB366\uB368\uB36A\uB36C\uB36D\uB36F\uB372\uB373\uB375\uB376\uB377\uB379",6,"\uB382\uB386",5,"\uB38D"],["8961","\uB38E\uB38F\uB391\uB392\uB393\uB395",10,"\uB3A2",5,"\uB3A9\uB3AA\uB3AB\uB3AD"],["8981","\uB3AE",21,"\uB3C6\uB3C7\uB3C9\uB3CA\uB3CD\uB3CF\uB3D1\uB3D2\uB3D3\uB3D6\uB3D8\uB3DA\uB3DC\uB3DE\uB3DF\uB3E1\uB3E2\uB3E3\uB3E5\uB3E6\uB3E7\uB3E9",18,"\uB3FD",18,"\uB411",6,"\uB419\uB41A\uB41B\uB41D\uB41E\uB41F\uB421",6,"\uB42A\uB42C",7,"\uB435",15],["8a41","\uB445",10,"\uB452\uB453\uB455\uB456\uB457\uB459",6,"\uB462\uB464\uB466"],["8a61","\uB467",4,"\uB46D",18,"\uB481\uB482"],["8a81","\uB483",4,"\uB489",19,"\uB49E",5,"\uB4A5\uB4A6\uB4A7\uB4A9\uB4AA\uB4AB\uB4AD",7,"\uB4B6\uB4B8\uB4BA",5,"\uB4C1\uB4C2\uB4C3\uB4C5\uB4C6\uB4C7\uB4C9",6,"\uB4D1\uB4D2\uB4D3\uB4D4\uB4D6",5,"\uB4DE\uB4DF\uB4E1\uB4E2\uB4E5\uB4E7",4,"\uB4EE\uB4F0\uB4F2",5,"\uB4F9",26,"\uB516\uB517\uB519\uB51A\uB51D"],["8b41","\uB51E",5,"\uB526\uB52B",4,"\uB532\uB533\uB535\uB536\uB537\uB539",6,"\uB542\uB546"],["8b61","\uB547\uB548\uB549\uB54A\uB54E\uB54F\uB551\uB552\uB553\uB555",6,"\uB55E\uB562",8],["8b81","\uB56B",52,"\uB5A2\uB5A3\uB5A5\uB5A6\uB5A7\uB5A9\uB5AC\uB5AD\uB5AE\uB5AF\uB5B2\uB5B6",4,"\uB5BE\uB5BF\uB5C1\uB5C2\uB5C3\uB5C5",6,"\uB5CE\uB5D2",5,"\uB5D9",18,"\uB5ED",18],["8c41","\uB600",15,"\uB612\uB613\uB615\uB616\uB617\uB619",4],["8c61","\uB61E",6,"\uB626",5,"\uB62D",6,"\uB635",5],["8c81","\uB63B",12,"\uB649",26,"\uB665\uB666\uB667\uB669",50,"\uB69E\uB69F\uB6A1\uB6A2\uB6A3\uB6A5",5,"\uB6AD\uB6AE\uB6AF\uB6B0\uB6B2",16],["8d41","\uB6C3",16,"\uB6D5",8],["8d61","\uB6DE",17,"\uB6F1\uB6F2\uB6F3\uB6F5\uB6F6\uB6F7\uB6F9\uB6FA"],["8d81","\uB6FB",4,"\uB702\uB703\uB704\uB706",33,"\uB72A\uB72B\uB72D\uB72E\uB731",6,"\uB73A\uB73C",7,"\uB745\uB746\uB747\uB749\uB74A\uB74B\uB74D",6,"\uB756",9,"\uB761\uB762\uB763\uB765\uB766\uB767\uB769",6,"\uB772\uB774\uB776",5,"\uB77E\uB77F\uB781\uB782\uB783\uB785",6,"\uB78E\uB793\uB794\uB795\uB79A\uB79B\uB79D\uB79E"],["8e41","\uB79F\uB7A1",6,"\uB7AA\uB7AE",5,"\uB7B6\uB7B7\uB7B9",8],["8e61","\uB7C2",4,"\uB7C8\uB7CA",19],["8e81","\uB7DE",13,"\uB7EE\uB7EF\uB7F1\uB7F2\uB7F3\uB7F5",6,"\uB7FE\uB802",4,"\uB80A\uB80B\uB80D\uB80E\uB80F\uB811",6,"\uB81A\uB81C\uB81E",5,"\uB826\uB827\uB829\uB82A\uB82B\uB82D",6,"\uB836\uB83A",5,"\uB841\uB842\uB843\uB845",11,"\uB852\uB854",7,"\uB85E\uB85F\uB861\uB862\uB863\uB865",6,"\uB86E\uB870\uB872",5,"\uB879\uB87A\uB87B\uB87D",7],["8f41","\uB885",7,"\uB88E",17],["8f61","\uB8A0",7,"\uB8A9",6,"\uB8B1\uB8B2\uB8B3\uB8B5\uB8B6\uB8B7\uB8B9",4],["8f81","\uB8BE\uB8BF\uB8C2\uB8C4\uB8C6",5,"\uB8CD\uB8CE\uB8CF\uB8D1\uB8D2\uB8D3\uB8D5",7,"\uB8DE\uB8E0\uB8E2",5,"\uB8EA\uB8EB\uB8ED\uB8EE\uB8EF\uB8F1",6,"\uB8FA\uB8FC\uB8FE",5,"\uB905",18,"\uB919",6,"\uB921",26,"\uB93E\uB93F\uB941\uB942\uB943\uB945",6,"\uB94D\uB94E\uB950\uB952",5],["9041","\uB95A\uB95B\uB95D\uB95E\uB95F\uB961",6,"\uB96A\uB96C\uB96E",5,"\uB976\uB977\uB979\uB97A\uB97B\uB97D"],["9061","\uB97E",5,"\uB986\uB988\uB98B\uB98C\uB98F",15],["9081","\uB99F",12,"\uB9AE\uB9AF\uB9B1\uB9B2\uB9B3\uB9B5",6,"\uB9BE\uB9C0\uB9C2",5,"\uB9CA\uB9CB\uB9CD\uB9D3",4,"\uB9DA\uB9DC\uB9DF\uB9E0\uB9E2\uB9E6\uB9E7\uB9E9\uB9EA\uB9EB\uB9ED",6,"\uB9F6\uB9FB",4,"\uBA02",5,"\uBA09",11,"\uBA16",33,"\uBA3A\uBA3B\uBA3D\uBA3E\uBA3F\uBA41\uBA43\uBA44\uBA45\uBA46"],["9141","\uBA47\uBA4A\uBA4C\uBA4F\uBA50\uBA51\uBA52\uBA56\uBA57\uBA59\uBA5A\uBA5B\uBA5D",6,"\uBA66\uBA6A",5],["9161","\uBA72\uBA73\uBA75\uBA76\uBA77\uBA79",9,"\uBA86\uBA88\uBA89\uBA8A\uBA8B\uBA8D",5],["9181","\uBA93",20,"\uBAAA\uBAAD\uBAAE\uBAAF\uBAB1\uBAB3",4,"\uBABA\uBABC\uBABE",5,"\uBAC5\uBAC6\uBAC7\uBAC9",14,"\uBADA",33,"\uBAFD\uBAFE\uBAFF\uBB01\uBB02\uBB03\uBB05",7,"\uBB0E\uBB10\uBB12",5,"\uBB19\uBB1A\uBB1B\uBB1D\uBB1E\uBB1F\uBB21",6],["9241","\uBB28\uBB2A\uBB2C",7,"\uBB37\uBB39\uBB3A\uBB3F",4,"\uBB46\uBB48\uBB4A\uBB4B\uBB4C\uBB4E\uBB51\uBB52"],["9261","\uBB53\uBB55\uBB56\uBB57\uBB59",7,"\uBB62\uBB64",7,"\uBB6D",4],["9281","\uBB72",21,"\uBB89\uBB8A\uBB8B\uBB8D\uBB8E\uBB8F\uBB91",18,"\uBBA5\uBBA6\uBBA7\uBBA9\uBBAA\uBBAB\uBBAD",6,"\uBBB5\uBBB6\uBBB8",7,"\uBBC1\uBBC2\uBBC3\uBBC5\uBBC6\uBBC7\uBBC9",6,"\uBBD1\uBBD2\uBBD4",35,"\uBBFA\uBBFB\uBBFD\uBBFE\uBC01"],["9341","\uBC03",4,"\uBC0A\uBC0E\uBC10\uBC12\uBC13\uBC19\uBC1A\uBC20\uBC21\uBC22\uBC23\uBC26\uBC28\uBC2A\uBC2B\uBC2C\uBC2E\uBC2F\uBC32\uBC33\uBC35"],["9361","\uBC36\uBC37\uBC39",6,"\uBC42\uBC46\uBC47\uBC48\uBC4A\uBC4B\uBC4E\uBC4F\uBC51",8],["9381","\uBC5A\uBC5B\uBC5C\uBC5E",37,"\uBC86\uBC87\uBC89\uBC8A\uBC8D\uBC8F",4,"\uBC96\uBC98\uBC9B",4,"\uBCA2\uBCA3\uBCA5\uBCA6\uBCA9",6,"\uBCB2\uBCB6",5,"\uBCBE\uBCBF\uBCC1\uBCC2\uBCC3\uBCC5",7,"\uBCCE\uBCD2\uBCD3\uBCD4\uBCD6\uBCD7\uBCD9\uBCDA\uBCDB\uBCDD",22,"\uBCF7\uBCF9\uBCFA\uBCFB\uBCFD"],["9441","\uBCFE",5,"\uBD06\uBD08\uBD0A",5,"\uBD11\uBD12\uBD13\uBD15",8],["9461","\uBD1E",5,"\uBD25",6,"\uBD2D",12],["9481","\uBD3A",5,"\uBD41",6,"\uBD4A\uBD4B\uBD4D\uBD4E\uBD4F\uBD51",6,"\uBD5A",9,"\uBD65\uBD66\uBD67\uBD69",22,"\uBD82\uBD83\uBD85\uBD86\uBD8B",4,"\uBD92\uBD94\uBD96\uBD97\uBD98\uBD9B\uBD9D",6,"\uBDA5",10,"\uBDB1",6,"\uBDB9",24],["9541","\uBDD2\uBDD3\uBDD6\uBDD7\uBDD9\uBDDA\uBDDB\uBDDD",11,"\uBDEA",5,"\uBDF1"],["9561","\uBDF2\uBDF3\uBDF5\uBDF6\uBDF7\uBDF9",6,"\uBE01\uBE02\uBE04\uBE06",5,"\uBE0E\uBE0F\uBE11\uBE12\uBE13"],["9581","\uBE15",6,"\uBE1E\uBE20",35,"\uBE46\uBE47\uBE49\uBE4A\uBE4B\uBE4D\uBE4F",4,"\uBE56\uBE58\uBE5C\uBE5D\uBE5E\uBE5F\uBE62\uBE63\uBE65\uBE66\uBE67\uBE69\uBE6B",4,"\uBE72\uBE76",4,"\uBE7E\uBE7F\uBE81\uBE82\uBE83\uBE85",6,"\uBE8E\uBE92",5,"\uBE9A",13,"\uBEA9",14],["9641","\uBEB8",23,"\uBED2\uBED3"],["9661","\uBED5\uBED6\uBED9",6,"\uBEE1\uBEE2\uBEE6",5,"\uBEED",8],["9681","\uBEF6",10,"\uBF02",5,"\uBF0A",13,"\uBF1A\uBF1E",33,"\uBF42\uBF43\uBF45\uBF46\uBF47\uBF49",6,"\uBF52\uBF53\uBF54\uBF56",44],["9741","\uBF83",16,"\uBF95",8],["9761","\uBF9E",17,"\uBFB1",7],["9781","\uBFB9",11,"\uBFC6",5,"\uBFCE\uBFCF\uBFD1\uBFD2\uBFD3\uBFD5",6,"\uBFDD\uBFDE\uBFE0\uBFE2",89,"\uC03D\uC03E\uC03F"],["9841","\uC040",16,"\uC052",5,"\uC059\uC05A\uC05B"],["9861","\uC05D\uC05E\uC05F\uC061",6,"\uC06A",15],["9881","\uC07A",21,"\uC092\uC093\uC095\uC096\uC097\uC099",6,"\uC0A2\uC0A4\uC0A6",5,"\uC0AE\uC0B1\uC0B2\uC0B7",4,"\uC0BE\uC0C2\uC0C3\uC0C4\uC0C6\uC0C7\uC0CA\uC0CB\uC0CD\uC0CE\uC0CF\uC0D1",6,"\uC0DA\uC0DE",5,"\uC0E6\uC0E7\uC0E9\uC0EA\uC0EB\uC0ED",6,"\uC0F6\uC0F8\uC0FA",5,"\uC101\uC102\uC103\uC105\uC106\uC107\uC109",6,"\uC111\uC112\uC113\uC114\uC116",5,"\uC121\uC122\uC125\uC128\uC129\uC12A\uC12B\uC12E"],["9941","\uC132\uC133\uC134\uC135\uC137\uC13A\uC13B\uC13D\uC13E\uC13F\uC141",6,"\uC14A\uC14E",5,"\uC156\uC157"],["9961","\uC159\uC15A\uC15B\uC15D",6,"\uC166\uC16A",5,"\uC171\uC172\uC173\uC175\uC176\uC177\uC179\uC17A\uC17B"],["9981","\uC17C",8,"\uC186",5,"\uC18F\uC191\uC192\uC193\uC195\uC197",4,"\uC19E\uC1A0\uC1A2\uC1A3\uC1A4\uC1A6\uC1A7\uC1AA\uC1AB\uC1AD\uC1AE\uC1AF\uC1B1",11,"\uC1BE",5,"\uC1C5\uC1C6\uC1C7\uC1C9\uC1CA\uC1CB\uC1CD",6,"\uC1D5\uC1D6\uC1D9",6,"\uC1E1\uC1E2\uC1E3\uC1E5\uC1E6\uC1E7\uC1E9",6,"\uC1F2\uC1F4",7,"\uC1FE\uC1FF\uC201\uC202\uC203\uC205",6,"\uC20E\uC210\uC212",5,"\uC21A\uC21B\uC21D\uC21E\uC221\uC222\uC223"],["9a41","\uC224\uC225\uC226\uC227\uC22A\uC22C\uC22E\uC230\uC233\uC235",16],["9a61","\uC246\uC247\uC249",6,"\uC252\uC253\uC255\uC256\uC257\uC259",6,"\uC261\uC262\uC263\uC264\uC266"],["9a81","\uC267",4,"\uC26E\uC26F\uC271\uC272\uC273\uC275",6,"\uC27E\uC280\uC282",5,"\uC28A",5,"\uC291",6,"\uC299\uC29A\uC29C\uC29E",5,"\uC2A6\uC2A7\uC2A9\uC2AA\uC2AB\uC2AE",5,"\uC2B6\uC2B8\uC2BA",33,"\uC2DE\uC2DF\uC2E1\uC2E2\uC2E5",5,"\uC2EE\uC2F0\uC2F2\uC2F3\uC2F4\uC2F5\uC2F7\uC2FA\uC2FD\uC2FE\uC2FF\uC301",6,"\uC30A\uC30B\uC30E\uC30F"],["9b41","\uC310\uC311\uC312\uC316\uC317\uC319\uC31A\uC31B\uC31D",6,"\uC326\uC327\uC32A",8],["9b61","\uC333",17,"\uC346",7],["9b81","\uC34E",25,"\uC36A\uC36B\uC36D\uC36E\uC36F\uC371\uC373",4,"\uC37A\uC37B\uC37E",5,"\uC385\uC386\uC387\uC389\uC38A\uC38B\uC38D",50,"\uC3C1",22,"\uC3DA"],["9c41","\uC3DB\uC3DD\uC3DE\uC3E1\uC3E3",4,"\uC3EA\uC3EB\uC3EC\uC3EE",5,"\uC3F6\uC3F7\uC3F9",5],["9c61","\uC3FF",8,"\uC409",6,"\uC411",9],["9c81","\uC41B",8,"\uC425",6,"\uC42D\uC42E\uC42F\uC431\uC432\uC433\uC435",6,"\uC43E",9,"\uC449",26,"\uC466\uC467\uC469\uC46A\uC46B\uC46D",6,"\uC476\uC477\uC478\uC47A",5,"\uC481",18,"\uC495",6,"\uC49D",12],["9d41","\uC4AA",13,"\uC4B9\uC4BA\uC4BB\uC4BD",8],["9d61","\uC4C6",25],["9d81","\uC4E0",8,"\uC4EA",5,"\uC4F2\uC4F3\uC4F5\uC4F6\uC4F7\uC4F9\uC4FB\uC4FC\uC4FD\uC4FE\uC502",9,"\uC50D\uC50E\uC50F\uC511\uC512\uC513\uC515",6,"\uC51D",10,"\uC52A\uC52B\uC52D\uC52E\uC52F\uC531",6,"\uC53A\uC53C\uC53E",5,"\uC546\uC547\uC54B\uC54F\uC550\uC551\uC552\uC556\uC55A\uC55B\uC55C\uC55F\uC562\uC563\uC565\uC566\uC567\uC569",6,"\uC572\uC576",5,"\uC57E\uC57F\uC581\uC582\uC583\uC585\uC586\uC588\uC589\uC58A\uC58B\uC58E\uC590\uC592\uC593\uC594"],["9e41","\uC596\uC599\uC59A\uC59B\uC59D\uC59E\uC59F\uC5A1",7,"\uC5AA",9,"\uC5B6"],["9e61","\uC5B7\uC5BA\uC5BF",4,"\uC5CB\uC5CD\uC5CF\uC5D2\uC5D3\uC5D5\uC5D6\uC5D7\uC5D9",6,"\uC5E2\uC5E4\uC5E6\uC5E7"],["9e81","\uC5E8\uC5E9\uC5EA\uC5EB\uC5EF\uC5F1\uC5F2\uC5F3\uC5F5\uC5F8\uC5F9\uC5FA\uC5FB\uC602\uC603\uC604\uC609\uC60A\uC60B\uC60D\uC60E\uC60F\uC611",6,"\uC61A\uC61D",6,"\uC626\uC627\uC629\uC62A\uC62B\uC62F\uC631\uC632\uC636\uC638\uC63A\uC63C\uC63D\uC63E\uC63F\uC642\uC643\uC645\uC646\uC647\uC649",6,"\uC652\uC656",5,"\uC65E\uC65F\uC661",10,"\uC66D\uC66E\uC670\uC672",5,"\uC67A\uC67B\uC67D\uC67E\uC67F\uC681",6,"\uC68A\uC68C\uC68E",5,"\uC696\uC697\uC699\uC69A\uC69B\uC69D",6,"\uC6A6"],["9f41","\uC6A8\uC6AA",5,"\uC6B2\uC6B3\uC6B5\uC6B6\uC6B7\uC6BB",4,"\uC6C2\uC6C4\uC6C6",5,"\uC6CE"],["9f61","\uC6CF\uC6D1\uC6D2\uC6D3\uC6D5",6,"\uC6DE\uC6DF\uC6E2",5,"\uC6EA\uC6EB\uC6ED\uC6EE\uC6EF\uC6F1\uC6F2"],["9f81","\uC6F3",4,"\uC6FA\uC6FB\uC6FC\uC6FE",5,"\uC706\uC707\uC709\uC70A\uC70B\uC70D",6,"\uC716\uC718\uC71A",5,"\uC722\uC723\uC725\uC726\uC727\uC729",6,"\uC732\uC734\uC736\uC738\uC739\uC73A\uC73B\uC73E\uC73F\uC741\uC742\uC743\uC745",4,"\uC74B\uC74E\uC750\uC759\uC75A\uC75B\uC75D\uC75E\uC75F\uC761",6,"\uC769\uC76A\uC76C",7,"\uC776\uC777\uC779\uC77A\uC77B\uC77F\uC780\uC781\uC782\uC786\uC78B\uC78C\uC78D\uC78F\uC792\uC793\uC795\uC799\uC79B",4,"\uC7A2\uC7A7",4,"\uC7AE\uC7AF\uC7B1\uC7B2\uC7B3\uC7B5\uC7B6\uC7B7"],["a041","\uC7B8\uC7B9\uC7BA\uC7BB\uC7BE\uC7C2",5,"\uC7CA\uC7CB\uC7CD\uC7CF\uC7D1",6,"\uC7D9\uC7DA\uC7DB\uC7DC"],["a061","\uC7DE",5,"\uC7E5\uC7E6\uC7E7\uC7E9\uC7EA\uC7EB\uC7ED",13],["a081","\uC7FB",4,"\uC802\uC803\uC805\uC806\uC807\uC809\uC80B",4,"\uC812\uC814\uC817",4,"\uC81E\uC81F\uC821\uC822\uC823\uC825",6,"\uC82E\uC830\uC832",5,"\uC839\uC83A\uC83B\uC83D\uC83E\uC83F\uC841",6,"\uC84A\uC84B\uC84E",5,"\uC855",26,"\uC872\uC873\uC875\uC876\uC877\uC879\uC87B",4,"\uC882\uC884\uC888\uC889\uC88A\uC88E",5,"\uC895",7,"\uC89E\uC8A0\uC8A2\uC8A3\uC8A4"],["a141","\uC8A5\uC8A6\uC8A7\uC8A9",18,"\uC8BE\uC8BF\uC8C0\uC8C1"],["a161","\uC8C2\uC8C3\uC8C5\uC8C6\uC8C7\uC8C9\uC8CA\uC8CB\uC8CD",6,"\uC8D6\uC8D8\uC8DA",5,"\uC8E2\uC8E3\uC8E5"],["a181","\uC8E6",14,"\uC8F6",5,"\uC8FE\uC8FF\uC901\uC902\uC903\uC907",4,"\uC90E\u3000\u3001\u3002\xB7\u2025\u2026\xA8\u3003\xAD\u2015\u2225\uFF3C\u223C\u2018\u2019\u201C\u201D\u3014\u3015\u3008",9,"\xB1\xD7\xF7\u2260\u2264\u2265\u221E\u2234\xB0\u2032\u2033\u2103\u212B\uFFE0\uFFE1\uFFE5\u2642\u2640\u2220\u22A5\u2312\u2202\u2207\u2261\u2252\xA7\u203B\u2606\u2605\u25CB\u25CF\u25CE\u25C7\u25C6\u25A1\u25A0\u25B3\u25B2\u25BD\u25BC\u2192\u2190\u2191\u2193\u2194\u3013\u226A\u226B\u221A\u223D\u221D\u2235\u222B\u222C\u2208\u220B\u2286\u2287\u2282\u2283\u222A\u2229\u2227\u2228\uFFE2"],["a241","\uC910\uC912",5,"\uC919",18],["a261","\uC92D",6,"\uC935",18],["a281","\uC948",7,"\uC952\uC953\uC955\uC956\uC957\uC959",6,"\uC962\uC964",7,"\uC96D\uC96E\uC96F\u21D2\u21D4\u2200\u2203\xB4\uFF5E\u02C7\u02D8\u02DD\u02DA\u02D9\xB8\u02DB\xA1\xBF\u02D0\u222E\u2211\u220F\xA4\u2109\u2030\u25C1\u25C0\u25B7\u25B6\u2664\u2660\u2661\u2665\u2667\u2663\u2299\u25C8\u25A3\u25D0\u25D1\u2592\u25A4\u25A5\u25A8\u25A7\u25A6\u25A9\u2668\u260F\u260E\u261C\u261E\xB6\u2020\u2021\u2195\u2197\u2199\u2196\u2198\u266D\u2669\u266A\u266C\u327F\u321C\u2116\u33C7\u2122\u33C2\u33D8\u2121\u20AC\xAE"],["a341","\uC971\uC972\uC973\uC975",6,"\uC97D",10,"\uC98A\uC98B\uC98D\uC98E\uC98F"],["a361","\uC991",6,"\uC99A\uC99C\uC99E",16],["a381","\uC9AF",16,"\uC9C2\uC9C3\uC9C5\uC9C6\uC9C9\uC9CB",4,"\uC9D2\uC9D4\uC9D7\uC9D8\uC9DB\uFF01",58,"\uFFE6\uFF3D",32,"\uFFE3"],["a441","\uC9DE\uC9DF\uC9E1\uC9E3\uC9E5\uC9E6\uC9E8\uC9E9\uC9EA\uC9EB\uC9EE\uC9F2",5,"\uC9FA\uC9FB\uC9FD\uC9FE\uC9FF\uCA01\uCA02\uCA03\uCA04"],["a461","\uCA05\uCA06\uCA07\uCA0A\uCA0E",5,"\uCA15\uCA16\uCA17\uCA19",12],["a481","\uCA26\uCA27\uCA28\uCA2A",28,"\u3131",93],["a541","\uCA47",4,"\uCA4E\uCA4F\uCA51\uCA52\uCA53\uCA55",6,"\uCA5E\uCA62",5,"\uCA69\uCA6A"],["a561","\uCA6B",17,"\uCA7E",5,"\uCA85\uCA86"],["a581","\uCA87",16,"\uCA99",14,"\u2170",9],["a5b0","\u2160",9],["a5c1","\u0391",16,"\u03A3",6],["a5e1","\u03B1",16,"\u03C3",6],["a641","\uCAA8",19,"\uCABE\uCABF\uCAC1\uCAC2\uCAC3\uCAC5"],["a661","\uCAC6",5,"\uCACE\uCAD0\uCAD2\uCAD4\uCAD5\uCAD6\uCAD7\uCADA",5,"\uCAE1",6],["a681","\uCAE8\uCAE9\uCAEA\uCAEB\uCAED",6,"\uCAF5",18,"\uCB09\uCB0A\u2500\u2502\u250C\u2510\u2518\u2514\u251C\u252C\u2524\u2534\u253C\u2501\u2503\u250F\u2513\u251B\u2517\u2523\u2533\u252B\u253B\u254B\u2520\u252F\u2528\u2537\u253F\u251D\u2530\u2525\u2538\u2542\u2512\u2511\u251A\u2519\u2516\u2515\u250E\u250D\u251E\u251F\u2521\u2522\u2526\u2527\u2529\u252A\u252D\u252E\u2531\u2532\u2535\u2536\u2539\u253A\u253D\u253E\u2540\u2541\u2543",7],["a741","\uCB0B",4,"\uCB11\uCB12\uCB13\uCB15\uCB16\uCB17\uCB19",6,"\uCB22",7],["a761","\uCB2A",22,"\uCB42\uCB43\uCB44"],["a781","\uCB45\uCB46\uCB47\uCB4A\uCB4B\uCB4D\uCB4E\uCB4F\uCB51",6,"\uCB5A\uCB5B\uCB5C\uCB5E",5,"\uCB65",7,"\u3395\u3396\u3397\u2113\u3398\u33C4\u33A3\u33A4\u33A5\u33A6\u3399",9,"\u33CA\u338D\u338E\u338F\u33CF\u3388\u3389\u33C8\u33A7\u33A8\u33B0",9,"\u3380",4,"\u33BA",5,"\u3390",4,"\u2126\u33C0\u33C1\u338A\u338B\u338C\u33D6\u33C5\u33AD\u33AE\u33AF\u33DB\u33A9\u33AA\u33AB\u33AC\u33DD\u33D0\u33D3\u33C3\u33C9\u33DC\u33C6"],["a841","\uCB6D",10,"\uCB7A",14],["a861","\uCB89",18,"\uCB9D",6],["a881","\uCBA4",19,"\uCBB9",11,"\xC6\xD0\xAA\u0126"],["a8a6","\u0132"],["a8a8","\u013F\u0141\xD8\u0152\xBA\xDE\u0166\u014A"],["a8b1","\u3260",27,"\u24D0",25,"\u2460",14,"\xBD\u2153\u2154\xBC\xBE\u215B\u215C\u215D\u215E"],["a941","\uCBC5",14,"\uCBD5",10],["a961","\uCBE0\uCBE1\uCBE2\uCBE3\uCBE5\uCBE6\uCBE8\uCBEA",18],["a981","\uCBFD",14,"\uCC0E\uCC0F\uCC11\uCC12\uCC13\uCC15",6,"\uCC1E\uCC1F\uCC20\uCC23\uCC24\xE6\u0111\xF0\u0127\u0131\u0133\u0138\u0140\u0142\xF8\u0153\xDF\xFE\u0167\u014B\u0149\u3200",27,"\u249C",25,"\u2474",14,"\xB9\xB2\xB3\u2074\u207F\u2081\u2082\u2083\u2084"],["aa41","\uCC25\uCC26\uCC2A\uCC2B\uCC2D\uCC2F\uCC31",6,"\uCC3A\uCC3F",4,"\uCC46\uCC47\uCC49\uCC4A\uCC4B\uCC4D\uCC4E"],["aa61","\uCC4F",4,"\uCC56\uCC5A",5,"\uCC61\uCC62\uCC63\uCC65\uCC67\uCC69",6,"\uCC71\uCC72"],["aa81","\uCC73\uCC74\uCC76",29,"\u3041",82],["ab41","\uCC94\uCC95\uCC96\uCC97\uCC9A\uCC9B\uCC9D\uCC9E\uCC9F\uCCA1",6,"\uCCAA\uCCAE",5,"\uCCB6\uCCB7\uCCB9"],["ab61","\uCCBA\uCCBB\uCCBD",6,"\uCCC6\uCCC8\uCCCA",5,"\uCCD1\uCCD2\uCCD3\uCCD5",5],["ab81","\uCCDB",8,"\uCCE5",6,"\uCCED\uCCEE\uCCEF\uCCF1",12,"\u30A1",85],["ac41","\uCCFE\uCCFF\uCD00\uCD02",5,"\uCD0A\uCD0B\uCD0D\uCD0E\uCD0F\uCD11",6,"\uCD1A\uCD1C\uCD1E\uCD1F\uCD20"],["ac61","\uCD21\uCD22\uCD23\uCD25\uCD26\uCD27\uCD29\uCD2A\uCD2B\uCD2D",11,"\uCD3A",4],["ac81","\uCD3F",28,"\uCD5D\uCD5E\uCD5F\u0410",5,"\u0401\u0416",25],["acd1","\u0430",5,"\u0451\u0436",25],["ad41","\uCD61\uCD62\uCD63\uCD65",6,"\uCD6E\uCD70\uCD72",5,"\uCD79",7],["ad61","\uCD81",6,"\uCD89",10,"\uCD96\uCD97\uCD99\uCD9A\uCD9B\uCD9D\uCD9E\uCD9F"],["ad81","\uCDA0\uCDA1\uCDA2\uCDA3\uCDA6\uCDA8\uCDAA",5,"\uCDB1",18,"\uCDC5"],["ae41","\uCDC6",5,"\uCDCD\uCDCE\uCDCF\uCDD1",16],["ae61","\uCDE2",5,"\uCDE9\uCDEA\uCDEB\uCDED\uCDEE\uCDEF\uCDF1",6,"\uCDFA\uCDFC\uCDFE",4],["ae81","\uCE03\uCE05\uCE06\uCE07\uCE09\uCE0A\uCE0B\uCE0D",6,"\uCE15\uCE16\uCE17\uCE18\uCE1A",5,"\uCE22\uCE23\uCE25\uCE26\uCE27\uCE29\uCE2A\uCE2B"],["af41","\uCE2C\uCE2D\uCE2E\uCE2F\uCE32\uCE34\uCE36",19],["af61","\uCE4A",13,"\uCE5A\uCE5B\uCE5D\uCE5E\uCE62",5,"\uCE6A\uCE6C"],["af81","\uCE6E",5,"\uCE76\uCE77\uCE79\uCE7A\uCE7B\uCE7D",6,"\uCE86\uCE88\uCE8A",5,"\uCE92\uCE93\uCE95\uCE96\uCE97\uCE99"],["b041","\uCE9A",5,"\uCEA2\uCEA6",5,"\uCEAE",12],["b061","\uCEBB",5,"\uCEC2",19],["b081","\uCED6",13,"\uCEE6\uCEE7\uCEE9\uCEEA\uCEED",6,"\uCEF6\uCEFA",5,"\uAC00\uAC01\uAC04\uAC07\uAC08\uAC09\uAC0A\uAC10",7,"\uAC19",4,"\uAC20\uAC24\uAC2C\uAC2D\uAC2F\uAC30\uAC31\uAC38\uAC39\uAC3C\uAC40\uAC4B\uAC4D\uAC54\uAC58\uAC5C\uAC70\uAC71\uAC74\uAC77\uAC78\uAC7A\uAC80\uAC81\uAC83\uAC84\uAC85\uAC86\uAC89\uAC8A\uAC8B\uAC8C\uAC90\uAC94\uAC9C\uAC9D\uAC9F\uACA0\uACA1\uACA8\uACA9\uACAA\uACAC\uACAF\uACB0\uACB8\uACB9\uACBB\uACBC\uACBD\uACC1\uACC4\uACC8\uACCC\uACD5\uACD7\uACE0\uACE1\uACE4\uACE7\uACE8\uACEA\uACEC\uACEF\uACF0\uACF1\uACF3\uACF5\uACF6\uACFC\uACFD\uAD00\uAD04\uAD06"],["b141","\uCF02\uCF03\uCF05\uCF06\uCF07\uCF09",6,"\uCF12\uCF14\uCF16",5,"\uCF1D\uCF1E\uCF1F\uCF21\uCF22\uCF23"],["b161","\uCF25",6,"\uCF2E\uCF32",5,"\uCF39",11],["b181","\uCF45",14,"\uCF56\uCF57\uCF59\uCF5A\uCF5B\uCF5D",6,"\uCF66\uCF68\uCF6A\uCF6B\uCF6C\uAD0C\uAD0D\uAD0F\uAD11\uAD18\uAD1C\uAD20\uAD29\uAD2C\uAD2D\uAD34\uAD35\uAD38\uAD3C\uAD44\uAD45\uAD47\uAD49\uAD50\uAD54\uAD58\uAD61\uAD63\uAD6C\uAD6D\uAD70\uAD73\uAD74\uAD75\uAD76\uAD7B\uAD7C\uAD7D\uAD7F\uAD81\uAD82\uAD88\uAD89\uAD8C\uAD90\uAD9C\uAD9D\uADA4\uADB7\uADC0\uADC1\uADC4\uADC8\uADD0\uADD1\uADD3\uADDC\uADE0\uADE4\uADF8\uADF9\uADFC\uADFF\uAE00\uAE01\uAE08\uAE09\uAE0B\uAE0D\uAE14\uAE30\uAE31\uAE34\uAE37\uAE38\uAE3A\uAE40\uAE41\uAE43\uAE45\uAE46\uAE4A\uAE4C\uAE4D\uAE4E\uAE50\uAE54\uAE56\uAE5C\uAE5D\uAE5F\uAE60\uAE61\uAE65\uAE68\uAE69\uAE6C\uAE70\uAE78"],["b241","\uCF6D\uCF6E\uCF6F\uCF72\uCF73\uCF75\uCF76\uCF77\uCF79",6,"\uCF81\uCF82\uCF83\uCF84\uCF86",5,"\uCF8D"],["b261","\uCF8E",18,"\uCFA2",5,"\uCFA9"],["b281","\uCFAA",5,"\uCFB1",18,"\uCFC5",6,"\uAE79\uAE7B\uAE7C\uAE7D\uAE84\uAE85\uAE8C\uAEBC\uAEBD\uAEBE\uAEC0\uAEC4\uAECC\uAECD\uAECF\uAED0\uAED1\uAED8\uAED9\uAEDC\uAEE8\uAEEB\uAEED\uAEF4\uAEF8\uAEFC\uAF07\uAF08\uAF0D\uAF10\uAF2C\uAF2D\uAF30\uAF32\uAF34\uAF3C\uAF3D\uAF3F\uAF41\uAF42\uAF43\uAF48\uAF49\uAF50\uAF5C\uAF5D\uAF64\uAF65\uAF79\uAF80\uAF84\uAF88\uAF90\uAF91\uAF95\uAF9C\uAFB8\uAFB9\uAFBC\uAFC0\uAFC7\uAFC8\uAFC9\uAFCB\uAFCD\uAFCE\uAFD4\uAFDC\uAFE8\uAFE9\uAFF0\uAFF1\uAFF4\uAFF8\uB000\uB001\uB004\uB00C\uB010\uB014\uB01C\uB01D\uB028\uB044\uB045\uB048\uB04A\uB04C\uB04E\uB053\uB054\uB055\uB057\uB059"],["b341","\uCFCC",19,"\uCFE2\uCFE3\uCFE5\uCFE6\uCFE7\uCFE9"],["b361","\uCFEA",5,"\uCFF2\uCFF4\uCFF6",5,"\uCFFD\uCFFE\uCFFF\uD001\uD002\uD003\uD005",5],["b381","\uD00B",5,"\uD012",5,"\uD019",19,"\uB05D\uB07C\uB07D\uB080\uB084\uB08C\uB08D\uB08F\uB091\uB098\uB099\uB09A\uB09C\uB09F\uB0A0\uB0A1\uB0A2\uB0A8\uB0A9\uB0AB",4,"\uB0B1\uB0B3\uB0B4\uB0B5\uB0B8\uB0BC\uB0C4\uB0C5\uB0C7\uB0C8\uB0C9\uB0D0\uB0D1\uB0D4\uB0D8\uB0E0\uB0E5\uB108\uB109\uB10B\uB10C\uB110\uB112\uB113\uB118\uB119\uB11B\uB11C\uB11D\uB123\uB124\uB125\uB128\uB12C\uB134\uB135\uB137\uB138\uB139\uB140\uB141\uB144\uB148\uB150\uB151\uB154\uB155\uB158\uB15C\uB160\uB178\uB179\uB17C\uB180\uB182\uB188\uB189\uB18B\uB18D\uB192\uB193\uB194\uB198\uB19C\uB1A8\uB1CC\uB1D0\uB1D4\uB1DC\uB1DD"],["b441","\uD02E",5,"\uD036\uD037\uD039\uD03A\uD03B\uD03D",6,"\uD046\uD048\uD04A",5],["b461","\uD051\uD052\uD053\uD055\uD056\uD057\uD059",6,"\uD061",10,"\uD06E\uD06F"],["b481","\uD071\uD072\uD073\uD075",6,"\uD07E\uD07F\uD080\uD082",18,"\uB1DF\uB1E8\uB1E9\uB1EC\uB1F0\uB1F9\uB1FB\uB1FD\uB204\uB205\uB208\uB20B\uB20C\uB214\uB215\uB217\uB219\uB220\uB234\uB23C\uB258\uB25C\uB260\uB268\uB269\uB274\uB275\uB27C\uB284\uB285\uB289\uB290\uB291\uB294\uB298\uB299\uB29A\uB2A0\uB2A1\uB2A3\uB2A5\uB2A6\uB2AA\uB2AC\uB2B0\uB2B4\uB2C8\uB2C9\uB2CC\uB2D0\uB2D2\uB2D8\uB2D9\uB2DB\uB2DD\uB2E2\uB2E4\uB2E5\uB2E6\uB2E8\uB2EB",4,"\uB2F3\uB2F4\uB2F5\uB2F7",4,"\uB2FF\uB300\uB301\uB304\uB308\uB310\uB311\uB313\uB314\uB315\uB31C\uB354\uB355\uB356\uB358\uB35B\uB35C\uB35E\uB35F\uB364\uB365"],["b541","\uD095",14,"\uD0A6\uD0A7\uD0A9\uD0AA\uD0AB\uD0AD",5],["b561","\uD0B3\uD0B6\uD0B8\uD0BA",5,"\uD0C2\uD0C3\uD0C5\uD0C6\uD0C7\uD0CA",5,"\uD0D2\uD0D6",4],["b581","\uD0DB\uD0DE\uD0DF\uD0E1\uD0E2\uD0E3\uD0E5",6,"\uD0EE\uD0F2",5,"\uD0F9",11,"\uB367\uB369\uB36B\uB36E\uB370\uB371\uB374\uB378\uB380\uB381\uB383\uB384\uB385\uB38C\uB390\uB394\uB3A0\uB3A1\uB3A8\uB3AC\uB3C4\uB3C5\uB3C8\uB3CB\uB3CC\uB3CE\uB3D0\uB3D4\uB3D5\uB3D7\uB3D9\uB3DB\uB3DD\uB3E0\uB3E4\uB3E8\uB3FC\uB410\uB418\uB41C\uB420\uB428\uB429\uB42B\uB434\uB450\uB451\uB454\uB458\uB460\uB461\uB463\uB465\uB46C\uB480\uB488\uB49D\uB4A4\uB4A8\uB4AC\uB4B5\uB4B7\uB4B9\uB4C0\uB4C4\uB4C8\uB4D0\uB4D5\uB4DC\uB4DD\uB4E0\uB4E3\uB4E4\uB4E6\uB4EC\uB4ED\uB4EF\uB4F1\uB4F8\uB514\uB515\uB518\uB51B\uB51C\uB524\uB525\uB527\uB528\uB529\uB52A\uB530\uB531\uB534\uB538"],["b641","\uD105",7,"\uD10E",17],["b661","\uD120",15,"\uD132\uD133\uD135\uD136\uD137\uD139\uD13B\uD13C\uD13D\uD13E"],["b681","\uD13F\uD142\uD146",5,"\uD14E\uD14F\uD151\uD152\uD153\uD155",6,"\uD15E\uD160\uD162",5,"\uD169\uD16A\uD16B\uD16D\uB540\uB541\uB543\uB544\uB545\uB54B\uB54C\uB54D\uB550\uB554\uB55C\uB55D\uB55F\uB560\uB561\uB5A0\uB5A1\uB5A4\uB5A8\uB5AA\uB5AB\uB5B0\uB5B1\uB5B3\uB5B4\uB5B5\uB5BB\uB5BC\uB5BD\uB5C0\uB5C4\uB5CC\uB5CD\uB5CF\uB5D0\uB5D1\uB5D8\uB5EC\uB610\uB611\uB614\uB618\uB625\uB62C\uB634\uB648\uB664\uB668\uB69C\uB69D\uB6A0\uB6A4\uB6AB\uB6AC\uB6B1\uB6D4\uB6F0\uB6F4\uB6F8\uB700\uB701\uB705\uB728\uB729\uB72C\uB72F\uB730\uB738\uB739\uB73B\uB744\uB748\uB74C\uB754\uB755\uB760\uB764\uB768\uB770\uB771\uB773\uB775\uB77C\uB77D\uB780\uB784\uB78C\uB78D\uB78F\uB790\uB791\uB792\uB796\uB797"],["b741","\uD16E",13,"\uD17D",6,"\uD185\uD186\uD187\uD189\uD18A"],["b761","\uD18B",20,"\uD1A2\uD1A3\uD1A5\uD1A6\uD1A7"],["b781","\uD1A9",6,"\uD1B2\uD1B4\uD1B6\uD1B7\uD1B8\uD1B9\uD1BB\uD1BD\uD1BE\uD1BF\uD1C1",14,"\uB798\uB799\uB79C\uB7A0\uB7A8\uB7A9\uB7AB\uB7AC\uB7AD\uB7B4\uB7B5\uB7B8\uB7C7\uB7C9\uB7EC\uB7ED\uB7F0\uB7F4\uB7FC\uB7FD\uB7FF\uB800\uB801\uB807\uB808\uB809\uB80C\uB810\uB818\uB819\uB81B\uB81D\uB824\uB825\uB828\uB82C\uB834\uB835\uB837\uB838\uB839\uB840\uB844\uB851\uB853\uB85C\uB85D\uB860\uB864\uB86C\uB86D\uB86F\uB871\uB878\uB87C\uB88D\uB8A8\uB8B0\uB8B4\uB8B8\uB8C0\uB8C1\uB8C3\uB8C5\uB8CC\uB8D0\uB8D4\uB8DD\uB8DF\uB8E1\uB8E8\uB8E9\uB8EC\uB8F0\uB8F8\uB8F9\uB8FB\uB8FD\uB904\uB918\uB920\uB93C\uB93D\uB940\uB944\uB94C\uB94F\uB951\uB958\uB959\uB95C\uB960\uB968\uB969"],["b841","\uD1D0",7,"\uD1D9",17],["b861","\uD1EB",8,"\uD1F5\uD1F6\uD1F7\uD1F9",13],["b881","\uD208\uD20A",5,"\uD211",24,"\uB96B\uB96D\uB974\uB975\uB978\uB97C\uB984\uB985\uB987\uB989\uB98A\uB98D\uB98E\uB9AC\uB9AD\uB9B0\uB9B4\uB9BC\uB9BD\uB9BF\uB9C1\uB9C8\uB9C9\uB9CC\uB9CE",4,"\uB9D8\uB9D9\uB9DB\uB9DD\uB9DE\uB9E1\uB9E3\uB9E4\uB9E5\uB9E8\uB9EC\uB9F4\uB9F5\uB9F7\uB9F8\uB9F9\uB9FA\uBA00\uBA01\uBA08\uBA15\uBA38\uBA39\uBA3C\uBA40\uBA42\uBA48\uBA49\uBA4B\uBA4D\uBA4E\uBA53\uBA54\uBA55\uBA58\uBA5C\uBA64\uBA65\uBA67\uBA68\uBA69\uBA70\uBA71\uBA74\uBA78\uBA83\uBA84\uBA85\uBA87\uBA8C\uBAA8\uBAA9\uBAAB\uBAAC\uBAB0\uBAB2\uBAB8\uBAB9\uBABB\uBABD\uBAC4\uBAC8\uBAD8\uBAD9\uBAFC"],["b941","\uD22A\uD22B\uD22E\uD22F\uD231\uD232\uD233\uD235",6,"\uD23E\uD240\uD242",5,"\uD249\uD24A\uD24B\uD24C"],["b961","\uD24D",14,"\uD25D",6,"\uD265\uD266\uD267\uD268"],["b981","\uD269",22,"\uD282\uD283\uD285\uD286\uD287\uD289\uD28A\uD28B\uD28C\uBB00\uBB04\uBB0D\uBB0F\uBB11\uBB18\uBB1C\uBB20\uBB29\uBB2B\uBB34\uBB35\uBB36\uBB38\uBB3B\uBB3C\uBB3D\uBB3E\uBB44\uBB45\uBB47\uBB49\uBB4D\uBB4F\uBB50\uBB54\uBB58\uBB61\uBB63\uBB6C\uBB88\uBB8C\uBB90\uBBA4\uBBA8\uBBAC\uBBB4\uBBB7\uBBC0\uBBC4\uBBC8\uBBD0\uBBD3\uBBF8\uBBF9\uBBFC\uBBFF\uBC00\uBC02\uBC08\uBC09\uBC0B\uBC0C\uBC0D\uBC0F\uBC11\uBC14",4,"\uBC1B",4,"\uBC24\uBC25\uBC27\uBC29\uBC2D\uBC30\uBC31\uBC34\uBC38\uBC40\uBC41\uBC43\uBC44\uBC45\uBC49\uBC4C\uBC4D\uBC50\uBC5D\uBC84\uBC85\uBC88\uBC8B\uBC8C\uBC8E\uBC94\uBC95\uBC97"],["ba41","\uD28D\uD28E\uD28F\uD292\uD293\uD294\uD296",5,"\uD29D\uD29E\uD29F\uD2A1\uD2A2\uD2A3\uD2A5",6,"\uD2AD"],["ba61","\uD2AE\uD2AF\uD2B0\uD2B2",5,"\uD2BA\uD2BB\uD2BD\uD2BE\uD2C1\uD2C3",4,"\uD2CA\uD2CC",5],["ba81","\uD2D2\uD2D3\uD2D5\uD2D6\uD2D7\uD2D9\uD2DA\uD2DB\uD2DD",6,"\uD2E6",9,"\uD2F2\uD2F3\uD2F5\uD2F6\uD2F7\uD2F9\uD2FA\uBC99\uBC9A\uBCA0\uBCA1\uBCA4\uBCA7\uBCA8\uBCB0\uBCB1\uBCB3\uBCB4\uBCB5\uBCBC\uBCBD\uBCC0\uBCC4\uBCCD\uBCCF\uBCD0\uBCD1\uBCD5\uBCD8\uBCDC\uBCF4\uBCF5\uBCF6\uBCF8\uBCFC\uBD04\uBD05\uBD07\uBD09\uBD10\uBD14\uBD24\uBD2C\uBD40\uBD48\uBD49\uBD4C\uBD50\uBD58\uBD59\uBD64\uBD68\uBD80\uBD81\uBD84\uBD87\uBD88\uBD89\uBD8A\uBD90\uBD91\uBD93\uBD95\uBD99\uBD9A\uBD9C\uBDA4\uBDB0\uBDB8\uBDD4\uBDD5\uBDD8\uBDDC\uBDE9\uBDF0\uBDF4\uBDF8\uBE00\uBE03\uBE05\uBE0C\uBE0D\uBE10\uBE14\uBE1C\uBE1D\uBE1F\uBE44\uBE45\uBE48\uBE4C\uBE4E\uBE54\uBE55\uBE57\uBE59\uBE5A\uBE5B\uBE60\uBE61\uBE64"],["bb41","\uD2FB",4,"\uD302\uD304\uD306",5,"\uD30F\uD311\uD312\uD313\uD315\uD317",4,"\uD31E\uD322\uD323"],["bb61","\uD324\uD326\uD327\uD32A\uD32B\uD32D\uD32E\uD32F\uD331",6,"\uD33A\uD33E",5,"\uD346\uD347\uD348\uD349"],["bb81","\uD34A",31,"\uBE68\uBE6A\uBE70\uBE71\uBE73\uBE74\uBE75\uBE7B\uBE7C\uBE7D\uBE80\uBE84\uBE8C\uBE8D\uBE8F\uBE90\uBE91\uBE98\uBE99\uBEA8\uBED0\uBED1\uBED4\uBED7\uBED8\uBEE0\uBEE3\uBEE4\uBEE5\uBEEC\uBF01\uBF08\uBF09\uBF18\uBF19\uBF1B\uBF1C\uBF1D\uBF40\uBF41\uBF44\uBF48\uBF50\uBF51\uBF55\uBF94\uBFB0\uBFC5\uBFCC\uBFCD\uBFD0\uBFD4\uBFDC\uBFDF\uBFE1\uC03C\uC051\uC058\uC05C\uC060\uC068\uC069\uC090\uC091\uC094\uC098\uC0A0\uC0A1\uC0A3\uC0A5\uC0AC\uC0AD\uC0AF\uC0B0\uC0B3\uC0B4\uC0B5\uC0B6\uC0BC\uC0BD\uC0BF\uC0C0\uC0C1\uC0C5\uC0C8\uC0C9\uC0CC\uC0D0\uC0D8\uC0D9\uC0DB\uC0DC\uC0DD\uC0E4"],["bc41","\uD36A",17,"\uD37E\uD37F\uD381\uD382\uD383\uD385\uD386\uD387"],["bc61","\uD388\uD389\uD38A\uD38B\uD38E\uD392",5,"\uD39A\uD39B\uD39D\uD39E\uD39F\uD3A1",6,"\uD3AA\uD3AC\uD3AE"],["bc81","\uD3AF",4,"\uD3B5\uD3B6\uD3B7\uD3B9\uD3BA\uD3BB\uD3BD",6,"\uD3C6\uD3C7\uD3CA",5,"\uD3D1",5,"\uC0E5\uC0E8\uC0EC\uC0F4\uC0F5\uC0F7\uC0F9\uC100\uC104\uC108\uC110\uC115\uC11C",4,"\uC123\uC124\uC126\uC127\uC12C\uC12D\uC12F\uC130\uC131\uC136\uC138\uC139\uC13C\uC140\uC148\uC149\uC14B\uC14C\uC14D\uC154\uC155\uC158\uC15C\uC164\uC165\uC167\uC168\uC169\uC170\uC174\uC178\uC185\uC18C\uC18D\uC18E\uC190\uC194\uC196\uC19C\uC19D\uC19F\uC1A1\uC1A5\uC1A8\uC1A9\uC1AC\uC1B0\uC1BD\uC1C4\uC1C8\uC1CC\uC1D4\uC1D7\uC1D8\uC1E0\uC1E4\uC1E8\uC1F0\uC1F1\uC1F3\uC1FC\uC1FD\uC200\uC204\uC20C\uC20D\uC20F\uC211\uC218\uC219\uC21C\uC21F\uC220\uC228\uC229\uC22B\uC22D"],["bd41","\uD3D7\uD3D9",7,"\uD3E2\uD3E4",7,"\uD3EE\uD3EF\uD3F1\uD3F2\uD3F3\uD3F5\uD3F6\uD3F7"],["bd61","\uD3F8\uD3F9\uD3FA\uD3FB\uD3FE\uD400\uD402",5,"\uD409",13],["bd81","\uD417",5,"\uD41E",25,"\uC22F\uC231\uC232\uC234\uC248\uC250\uC251\uC254\uC258\uC260\uC265\uC26C\uC26D\uC270\uC274\uC27C\uC27D\uC27F\uC281\uC288\uC289\uC290\uC298\uC29B\uC29D\uC2A4\uC2A5\uC2A8\uC2AC\uC2AD\uC2B4\uC2B5\uC2B7\uC2B9\uC2DC\uC2DD\uC2E0\uC2E3\uC2E4\uC2EB\uC2EC\uC2ED\uC2EF\uC2F1\uC2F6\uC2F8\uC2F9\uC2FB\uC2FC\uC300\uC308\uC309\uC30C\uC30D\uC313\uC314\uC315\uC318\uC31C\uC324\uC325\uC328\uC329\uC345\uC368\uC369\uC36C\uC370\uC372\uC378\uC379\uC37C\uC37D\uC384\uC388\uC38C\uC3C0\uC3D8\uC3D9\uC3DC\uC3DF\uC3E0\uC3E2\uC3E8\uC3E9\uC3ED\uC3F4\uC3F5\uC3F8\uC408\uC410\uC424\uC42C\uC430"],["be41","\uD438",7,"\uD441\uD442\uD443\uD445",14],["be61","\uD454",7,"\uD45D\uD45E\uD45F\uD461\uD462\uD463\uD465",7,"\uD46E\uD470\uD471\uD472"],["be81","\uD473",4,"\uD47A\uD47B\uD47D\uD47E\uD481\uD483",4,"\uD48A\uD48C\uD48E",5,"\uD495",8,"\uC434\uC43C\uC43D\uC448\uC464\uC465\uC468\uC46C\uC474\uC475\uC479\uC480\uC494\uC49C\uC4B8\uC4BC\uC4E9\uC4F0\uC4F1\uC4F4\uC4F8\uC4FA\uC4FF\uC500\uC501\uC50C\uC510\uC514\uC51C\uC528\uC529\uC52C\uC530\uC538\uC539\uC53B\uC53D\uC544\uC545\uC548\uC549\uC54A\uC54C\uC54D\uC54E\uC553\uC554\uC555\uC557\uC558\uC559\uC55D\uC55E\uC560\uC561\uC564\uC568\uC570\uC571\uC573\uC574\uC575\uC57C\uC57D\uC580\uC584\uC587\uC58C\uC58D\uC58F\uC591\uC595\uC597\uC598\uC59C\uC5A0\uC5A9\uC5B4\uC5B5\uC5B8\uC5B9\uC5BB\uC5BC\uC5BD\uC5BE\uC5C4",6,"\uC5CC\uC5CE"],["bf41","\uD49E",10,"\uD4AA",14],["bf61","\uD4B9",18,"\uD4CD\uD4CE\uD4CF\uD4D1\uD4D2\uD4D3\uD4D5"],["bf81","\uD4D6",5,"\uD4DD\uD4DE\uD4E0",7,"\uD4E9\uD4EA\uD4EB\uD4ED\uD4EE\uD4EF\uD4F1",6,"\uD4F9\uD4FA\uD4FC\uC5D0\uC5D1\uC5D4\uC5D8\uC5E0\uC5E1\uC5E3\uC5E5\uC5EC\uC5ED\uC5EE\uC5F0\uC5F4\uC5F6\uC5F7\uC5FC",5,"\uC605\uC606\uC607\uC608\uC60C\uC610\uC618\uC619\uC61B\uC61C\uC624\uC625\uC628\uC62C\uC62D\uC62E\uC630\uC633\uC634\uC635\uC637\uC639\uC63B\uC640\uC641\uC644\uC648\uC650\uC651\uC653\uC654\uC655\uC65C\uC65D\uC660\uC66C\uC66F\uC671\uC678\uC679\uC67C\uC680\uC688\uC689\uC68B\uC68D\uC694\uC695\uC698\uC69C\uC6A4\uC6A5\uC6A7\uC6A9\uC6B0\uC6B1\uC6B4\uC6B8\uC6B9\uC6BA\uC6C0\uC6C1\uC6C3\uC6C5\uC6CC\uC6CD\uC6D0\uC6D4\uC6DC\uC6DD\uC6E0\uC6E1\uC6E8"],["c041","\uD4FE",5,"\uD505\uD506\uD507\uD509\uD50A\uD50B\uD50D",6,"\uD516\uD518",5],["c061","\uD51E",25],["c081","\uD538\uD539\uD53A\uD53B\uD53E\uD53F\uD541\uD542\uD543\uD545",6,"\uD54E\uD550\uD552",5,"\uD55A\uD55B\uD55D\uD55E\uD55F\uD561\uD562\uD563\uC6E9\uC6EC\uC6F0\uC6F8\uC6F9\uC6FD\uC704\uC705\uC708\uC70C\uC714\uC715\uC717\uC719\uC720\uC721\uC724\uC728\uC730\uC731\uC733\uC735\uC737\uC73C\uC73D\uC740\uC744\uC74A\uC74C\uC74D\uC74F\uC751",7,"\uC75C\uC760\uC768\uC76B\uC774\uC775\uC778\uC77C\uC77D\uC77E\uC783\uC784\uC785\uC787\uC788\uC789\uC78A\uC78E\uC790\uC791\uC794\uC796\uC797\uC798\uC79A\uC7A0\uC7A1\uC7A3\uC7A4\uC7A5\uC7A6\uC7AC\uC7AD\uC7B0\uC7B4\uC7BC\uC7BD\uC7BF\uC7C0\uC7C1\uC7C8\uC7C9\uC7CC\uC7CE\uC7D0\uC7D8\uC7DD\uC7E4\uC7E8\uC7EC\uC800\uC801\uC804\uC808\uC80A"],["c141","\uD564\uD566\uD567\uD56A\uD56C\uD56E",5,"\uD576\uD577\uD579\uD57A\uD57B\uD57D",6,"\uD586\uD58A\uD58B"],["c161","\uD58C\uD58D\uD58E\uD58F\uD591",19,"\uD5A6\uD5A7"],["c181","\uD5A8",31,"\uC810\uC811\uC813\uC815\uC816\uC81C\uC81D\uC820\uC824\uC82C\uC82D\uC82F\uC831\uC838\uC83C\uC840\uC848\uC849\uC84C\uC84D\uC854\uC870\uC871\uC874\uC878\uC87A\uC880\uC881\uC883\uC885\uC886\uC887\uC88B\uC88C\uC88D\uC894\uC89D\uC89F\uC8A1\uC8A8\uC8BC\uC8BD\uC8C4\uC8C8\uC8CC\uC8D4\uC8D5\uC8D7\uC8D9\uC8E0\uC8E1\uC8E4\uC8F5\uC8FC\uC8FD\uC900\uC904\uC905\uC906\uC90C\uC90D\uC90F\uC911\uC918\uC92C\uC934\uC950\uC951\uC954\uC958\uC960\uC961\uC963\uC96C\uC970\uC974\uC97C\uC988\uC989\uC98C\uC990\uC998\uC999\uC99B\uC99D\uC9C0\uC9C1\uC9C4\uC9C7\uC9C8\uC9CA\uC9D0\uC9D1\uC9D3"],["c241","\uD5CA\uD5CB\uD5CD\uD5CE\uD5CF\uD5D1\uD5D3",4,"\uD5DA\uD5DC\uD5DE",5,"\uD5E6\uD5E7\uD5E9\uD5EA\uD5EB\uD5ED\uD5EE"],["c261","\uD5EF",4,"\uD5F6\uD5F8\uD5FA",5,"\uD602\uD603\uD605\uD606\uD607\uD609",6,"\uD612"],["c281","\uD616",5,"\uD61D\uD61E\uD61F\uD621\uD622\uD623\uD625",7,"\uD62E",9,"\uD63A\uD63B\uC9D5\uC9D6\uC9D9\uC9DA\uC9DC\uC9DD\uC9E0\uC9E2\uC9E4\uC9E7\uC9EC\uC9ED\uC9EF\uC9F0\uC9F1\uC9F8\uC9F9\uC9FC\uCA00\uCA08\uCA09\uCA0B\uCA0C\uCA0D\uCA14\uCA18\uCA29\uCA4C\uCA4D\uCA50\uCA54\uCA5C\uCA5D\uCA5F\uCA60\uCA61\uCA68\uCA7D\uCA84\uCA98\uCABC\uCABD\uCAC0\uCAC4\uCACC\uCACD\uCACF\uCAD1\uCAD3\uCAD8\uCAD9\uCAE0\uCAEC\uCAF4\uCB08\uCB10\uCB14\uCB18\uCB20\uCB21\uCB41\uCB48\uCB49\uCB4C\uCB50\uCB58\uCB59\uCB5D\uCB64\uCB78\uCB79\uCB9C\uCBB8\uCBD4\uCBE4\uCBE7\uCBE9\uCC0C\uCC0D\uCC10\uCC14\uCC1C\uCC1D\uCC21\uCC22\uCC27\uCC28\uCC29\uCC2C\uCC2E\uCC30\uCC38\uCC39\uCC3B"],["c341","\uD63D\uD63E\uD63F\uD641\uD642\uD643\uD644\uD646\uD647\uD64A\uD64C\uD64E\uD64F\uD650\uD652\uD653\uD656\uD657\uD659\uD65A\uD65B\uD65D",4],["c361","\uD662",4,"\uD668\uD66A",5,"\uD672\uD673\uD675",11],["c381","\uD681\uD682\uD684\uD686",5,"\uD68E\uD68F\uD691\uD692\uD693\uD695",7,"\uD69E\uD6A0\uD6A2",5,"\uD6A9\uD6AA\uCC3C\uCC3D\uCC3E\uCC44\uCC45\uCC48\uCC4C\uCC54\uCC55\uCC57\uCC58\uCC59\uCC60\uCC64\uCC66\uCC68\uCC70\uCC75\uCC98\uCC99\uCC9C\uCCA0\uCCA8\uCCA9\uCCAB\uCCAC\uCCAD\uCCB4\uCCB5\uCCB8\uCCBC\uCCC4\uCCC5\uCCC7\uCCC9\uCCD0\uCCD4\uCCE4\uCCEC\uCCF0\uCD01\uCD08\uCD09\uCD0C\uCD10\uCD18\uCD19\uCD1B\uCD1D\uCD24\uCD28\uCD2C\uCD39\uCD5C\uCD60\uCD64\uCD6C\uCD6D\uCD6F\uCD71\uCD78\uCD88\uCD94\uCD95\uCD98\uCD9C\uCDA4\uCDA5\uCDA7\uCDA9\uCDB0\uCDC4\uCDCC\uCDD0\uCDE8\uCDEC\uCDF0\uCDF8\uCDF9\uCDFB\uCDFD\uCE04\uCE08\uCE0C\uCE14\uCE19\uCE20\uCE21\uCE24\uCE28\uCE30\uCE31\uCE33\uCE35"],["c441","\uD6AB\uD6AD\uD6AE\uD6AF\uD6B1",7,"\uD6BA\uD6BC",7,"\uD6C6\uD6C7\uD6C9\uD6CA\uD6CB"],["c461","\uD6CD\uD6CE\uD6CF\uD6D0\uD6D2\uD6D3\uD6D5\uD6D6\uD6D8\uD6DA",5,"\uD6E1\uD6E2\uD6E3\uD6E5\uD6E6\uD6E7\uD6E9",4],["c481","\uD6EE\uD6EF\uD6F1\uD6F2\uD6F3\uD6F4\uD6F6",5,"\uD6FE\uD6FF\uD701\uD702\uD703\uD705",11,"\uD712\uD713\uD714\uCE58\uCE59\uCE5C\uCE5F\uCE60\uCE61\uCE68\uCE69\uCE6B\uCE6D\uCE74\uCE75\uCE78\uCE7C\uCE84\uCE85\uCE87\uCE89\uCE90\uCE91\uCE94\uCE98\uCEA0\uCEA1\uCEA3\uCEA4\uCEA5\uCEAC\uCEAD\uCEC1\uCEE4\uCEE5\uCEE8\uCEEB\uCEEC\uCEF4\uCEF5\uCEF7\uCEF8\uCEF9\uCF00\uCF01\uCF04\uCF08\uCF10\uCF11\uCF13\uCF15\uCF1C\uCF20\uCF24\uCF2C\uCF2D\uCF2F\uCF30\uCF31\uCF38\uCF54\uCF55\uCF58\uCF5C\uCF64\uCF65\uCF67\uCF69\uCF70\uCF71\uCF74\uCF78\uCF80\uCF85\uCF8C\uCFA1\uCFA8\uCFB0\uCFC4\uCFE0\uCFE1\uCFE4\uCFE8\uCFF0\uCFF1\uCFF3\uCFF5\uCFFC\uD000\uD004\uD011\uD018\uD02D\uD034\uD035\uD038\uD03C"],["c541","\uD715\uD716\uD717\uD71A\uD71B\uD71D\uD71E\uD71F\uD721",6,"\uD72A\uD72C\uD72E",5,"\uD736\uD737\uD739"],["c561","\uD73A\uD73B\uD73D",6,"\uD745\uD746\uD748\uD74A",5,"\uD752\uD753\uD755\uD75A",4],["c581","\uD75F\uD762\uD764\uD766\uD767\uD768\uD76A\uD76B\uD76D\uD76E\uD76F\uD771\uD772\uD773\uD775",6,"\uD77E\uD77F\uD780\uD782",5,"\uD78A\uD78B\uD044\uD045\uD047\uD049\uD050\uD054\uD058\uD060\uD06C\uD06D\uD070\uD074\uD07C\uD07D\uD081\uD0A4\uD0A5\uD0A8\uD0AC\uD0B4\uD0B5\uD0B7\uD0B9\uD0C0\uD0C1\uD0C4\uD0C8\uD0C9\uD0D0\uD0D1\uD0D3\uD0D4\uD0D5\uD0DC\uD0DD\uD0E0\uD0E4\uD0EC\uD0ED\uD0EF\uD0F0\uD0F1\uD0F8\uD10D\uD130\uD131\uD134\uD138\uD13A\uD140\uD141\uD143\uD144\uD145\uD14C\uD14D\uD150\uD154\uD15C\uD15D\uD15F\uD161\uD168\uD16C\uD17C\uD184\uD188\uD1A0\uD1A1\uD1A4\uD1A8\uD1B0\uD1B1\uD1B3\uD1B5\uD1BA\uD1BC\uD1C0\uD1D8\uD1F4\uD1F8\uD207\uD209\uD210\uD22C\uD22D\uD230\uD234\uD23C\uD23D\uD23F\uD241\uD248\uD25C"],["c641","\uD78D\uD78E\uD78F\uD791",6,"\uD79A\uD79C\uD79E",5],["c6a1","\uD264\uD280\uD281\uD284\uD288\uD290\uD291\uD295\uD29C\uD2A0\uD2A4\uD2AC\uD2B1\uD2B8\uD2B9\uD2BC\uD2BF\uD2C0\uD2C2\uD2C8\uD2C9\uD2CB\uD2D4\uD2D8\uD2DC\uD2E4\uD2E5\uD2F0\uD2F1\uD2F4\uD2F8\uD300\uD301\uD303\uD305\uD30C\uD30D\uD30E\uD310\uD314\uD316\uD31C\uD31D\uD31F\uD320\uD321\uD325\uD328\uD329\uD32C\uD330\uD338\uD339\uD33B\uD33C\uD33D\uD344\uD345\uD37C\uD37D\uD380\uD384\uD38C\uD38D\uD38F\uD390\uD391\uD398\uD399\uD39C\uD3A0\uD3A8\uD3A9\uD3AB\uD3AD\uD3B4\uD3B8\uD3BC\uD3C4\uD3C5\uD3C8\uD3C9\uD3D0\uD3D8\uD3E1\uD3E3\uD3EC\uD3ED\uD3F0\uD3F4\uD3FC\uD3FD\uD3FF\uD401"],["c7a1","\uD408\uD41D\uD440\uD444\uD45C\uD460\uD464\uD46D\uD46F\uD478\uD479\uD47C\uD47F\uD480\uD482\uD488\uD489\uD48B\uD48D\uD494\uD4A9\uD4CC\uD4D0\uD4D4\uD4DC\uD4DF\uD4E8\uD4EC\uD4F0\uD4F8\uD4FB\uD4FD\uD504\uD508\uD50C\uD514\uD515\uD517\uD53C\uD53D\uD540\uD544\uD54C\uD54D\uD54F\uD551\uD558\uD559\uD55C\uD560\uD565\uD568\uD569\uD56B\uD56D\uD574\uD575\uD578\uD57C\uD584\uD585\uD587\uD588\uD589\uD590\uD5A5\uD5C8\uD5C9\uD5CC\uD5D0\uD5D2\uD5D8\uD5D9\uD5DB\uD5DD\uD5E4\uD5E5\uD5E8\uD5EC\uD5F4\uD5F5\uD5F7\uD5F9\uD600\uD601\uD604\uD608\uD610\uD611\uD613\uD614\uD615\uD61C\uD620"],["c8a1","\uD624\uD62D\uD638\uD639\uD63C\uD640\uD645\uD648\uD649\uD64B\uD64D\uD651\uD654\uD655\uD658\uD65C\uD667\uD669\uD670\uD671\uD674\uD683\uD685\uD68C\uD68D\uD690\uD694\uD69D\uD69F\uD6A1\uD6A8\uD6AC\uD6B0\uD6B9\uD6BB\uD6C4\uD6C5\uD6C8\uD6CC\uD6D1\uD6D4\uD6D7\uD6D9\uD6E0\uD6E4\uD6E8\uD6F0\uD6F5\uD6FC\uD6FD\uD700\uD704\uD711\uD718\uD719\uD71C\uD720\uD728\uD729\uD72B\uD72D\uD734\uD735\uD738\uD73C\uD744\uD747\uD749\uD750\uD751\uD754\uD756\uD757\uD758\uD759\uD760\uD761\uD763\uD765\uD769\uD76C\uD770\uD774\uD77C\uD77D\uD781\uD788\uD789\uD78C\uD790\uD798\uD799\uD79B\uD79D"],["caa1","\u4F3D\u4F73\u5047\u50F9\u52A0\u53EF\u5475\u54E5\u5609\u5AC1\u5BB6\u6687\u67B6\u67B7\u67EF\u6B4C\u73C2\u75C2\u7A3C\u82DB\u8304\u8857\u8888\u8A36\u8CC8\u8DCF\u8EFB\u8FE6\u99D5\u523B\u5374\u5404\u606A\u6164\u6BBC\u73CF\u811A\u89BA\u89D2\u95A3\u4F83\u520A\u58BE\u5978\u59E6\u5E72\u5E79\u61C7\u63C0\u6746\u67EC\u687F\u6F97\u764E\u770B\u78F5\u7A08\u7AFF\u7C21\u809D\u826E\u8271\u8AEB\u9593\u4E6B\u559D\u66F7\u6E34\u78A3\u7AED\u845B\u8910\u874E\u97A8\u52D8\u574E\u582A\u5D4C\u611F\u61BE\u6221\u6562\u67D1\u6A44\u6E1B\u7518\u75B3\u76E3\u77B0\u7D3A\u90AF\u9451\u9452\u9F95"],["cba1","\u5323\u5CAC\u7532\u80DB\u9240\u9598\u525B\u5808\u59DC\u5CA1\u5D17\u5EB7\u5F3A\u5F4A\u6177\u6C5F\u757A\u7586\u7CE0\u7D73\u7DB1\u7F8C\u8154\u8221\u8591\u8941\u8B1B\u92FC\u964D\u9C47\u4ECB\u4EF7\u500B\u51F1\u584F\u6137\u613E\u6168\u6539\u69EA\u6F11\u75A5\u7686\u76D6\u7B87\u82A5\u84CB\uF900\u93A7\u958B\u5580\u5BA2\u5751\uF901\u7CB3\u7FB9\u91B5\u5028\u53BB\u5C45\u5DE8\u62D2\u636E\u64DA\u64E7\u6E20\u70AC\u795B\u8DDD\u8E1E\uF902\u907D\u9245\u92F8\u4E7E\u4EF6\u5065\u5DFE\u5EFA\u6106\u6957\u8171\u8654\u8E47\u9375\u9A2B\u4E5E\u5091\u6770\u6840\u5109\u528D\u5292\u6AA2"],["cca1","\u77BC\u9210\u9ED4\u52AB\u602F\u8FF2\u5048\u61A9\u63ED\u64CA\u683C\u6A84\u6FC0\u8188\u89A1\u9694\u5805\u727D\u72AC\u7504\u7D79\u7E6D\u80A9\u898B\u8B74\u9063\u9D51\u6289\u6C7A\u6F54\u7D50\u7F3A\u8A23\u517C\u614A\u7B9D\u8B19\u9257\u938C\u4EAC\u4FD3\u501E\u50BE\u5106\u52C1\u52CD\u537F\u5770\u5883\u5E9A\u5F91\u6176\u61AC\u64CE\u656C\u666F\u66BB\u66F4\u6897\u6D87\u7085\u70F1\u749F\u74A5\u74CA\u75D9\u786C\u78EC\u7ADF\u7AF6\u7D45\u7D93\u8015\u803F\u811B\u8396\u8B66\u8F15\u9015\u93E1\u9803\u9838\u9A5A\u9BE8\u4FC2\u5553\u583A\u5951\u5B63\u5C46\u60B8\u6212\u6842\u68B0"],["cda1","\u68E8\u6EAA\u754C\u7678\u78CE\u7A3D\u7CFB\u7E6B\u7E7C\u8A08\u8AA1\u8C3F\u968E\u9DC4\u53E4\u53E9\u544A\u5471\u56FA\u59D1\u5B64\u5C3B\u5EAB\u62F7\u6537\u6545\u6572\u66A0\u67AF\u69C1\u6CBD\u75FC\u7690\u777E\u7A3F\u7F94\u8003\u80A1\u818F\u82E6\u82FD\u83F0\u85C1\u8831\u88B4\u8AA5\uF903\u8F9C\u932E\u96C7\u9867\u9AD8\u9F13\u54ED\u659B\u66F2\u688F\u7A40\u8C37\u9D60\u56F0\u5764\u5D11\u6606\u68B1\u68CD\u6EFE\u7428\u889E\u9BE4\u6C68\uF904\u9AA8\u4F9B\u516C\u5171\u529F\u5B54\u5DE5\u6050\u606D\u62F1\u63A7\u653B\u73D9\u7A7A\u86A3\u8CA2\u978F\u4E32\u5BE1\u6208\u679C\u74DC"],["cea1","\u79D1\u83D3\u8A87\u8AB2\u8DE8\u904E\u934B\u9846\u5ED3\u69E8\u85FF\u90ED\uF905\u51A0\u5B98\u5BEC\u6163\u68FA\u6B3E\u704C\u742F\u74D8\u7BA1\u7F50\u83C5\u89C0\u8CAB\u95DC\u9928\u522E\u605D\u62EC\u9002\u4F8A\u5149\u5321\u58D9\u5EE3\u66E0\u6D38\u709A\u72C2\u73D6\u7B50\u80F1\u945B\u5366\u639B\u7F6B\u4E56\u5080\u584A\u58DE\u602A\u6127\u62D0\u69D0\u9B41\u5B8F\u7D18\u80B1\u8F5F\u4EA4\u50D1\u54AC\u55AC\u5B0C\u5DA0\u5DE7\u652A\u654E\u6821\u6A4B\u72E1\u768E\u77EF\u7D5E\u7FF9\u81A0\u854E\u86DF\u8F03\u8F4E\u90CA\u9903\u9A55\u9BAB\u4E18\u4E45\u4E5D\u4EC7\u4FF1\u5177\u52FE"],["cfa1","\u5340\u53E3\u53E5\u548E\u5614\u5775\u57A2\u5BC7\u5D87\u5ED0\u61FC\u62D8\u6551\u67B8\u67E9\u69CB\u6B50\u6BC6\u6BEC\u6C42\u6E9D\u7078\u72D7\u7396\u7403\u77BF\u77E9\u7A76\u7D7F\u8009\u81FC\u8205\u820A\u82DF\u8862\u8B33\u8CFC\u8EC0\u9011\u90B1\u9264\u92B6\u99D2\u9A45\u9CE9\u9DD7\u9F9C\u570B\u5C40\u83CA\u97A0\u97AB\u9EB4\u541B\u7A98\u7FA4\u88D9\u8ECD\u90E1\u5800\u5C48\u6398\u7A9F\u5BAE\u5F13\u7A79\u7AAE\u828E\u8EAC\u5026\u5238\u52F8\u5377\u5708\u62F3\u6372\u6B0A\u6DC3\u7737\u53A5\u7357\u8568\u8E76\u95D5\u673A\u6AC3\u6F70\u8A6D\u8ECC\u994B\uF906\u6677\u6B78\u8CB4"],["d0a1","\u9B3C\uF907\u53EB\u572D\u594E\u63C6\u69FB\u73EA\u7845\u7ABA\u7AC5\u7CFE\u8475\u898F\u8D73\u9035\u95A8\u52FB\u5747\u7547\u7B60\u83CC\u921E\uF908\u6A58\u514B\u524B\u5287\u621F\u68D8\u6975\u9699\u50C5\u52A4\u52E4\u61C3\u65A4\u6839\u69FF\u747E\u7B4B\u82B9\u83EB\u89B2\u8B39\u8FD1\u9949\uF909\u4ECA\u5997\u64D2\u6611\u6A8E\u7434\u7981\u79BD\u82A9\u887E\u887F\u895F\uF90A\u9326\u4F0B\u53CA\u6025\u6271\u6C72\u7D1A\u7D66\u4E98\u5162\u77DC\u80AF\u4F01\u4F0E\u5176\u5180\u55DC\u5668\u573B\u57FA\u57FC\u5914\u5947\u5993\u5BC4\u5C90\u5D0E\u5DF1\u5E7E\u5FCC\u6280\u65D7\u65E3"],["d1a1","\u671E\u671F\u675E\u68CB\u68C4\u6A5F\u6B3A\u6C23\u6C7D\u6C82\u6DC7\u7398\u7426\u742A\u7482\u74A3\u7578\u757F\u7881\u78EF\u7941\u7947\u7948\u797A\u7B95\u7D00\u7DBA\u7F88\u8006\u802D\u808C\u8A18\u8B4F\u8C48\u8D77\u9321\u9324\u98E2\u9951\u9A0E\u9A0F\u9A65\u9E92\u7DCA\u4F76\u5409\u62EE\u6854\u91D1\u55AB\u513A\uF90B\uF90C\u5A1C\u61E6\uF90D\u62CF\u62FF\uF90E",5,"\u90A3\uF914",4,"\u8AFE\uF919\uF91A\uF91B\uF91C\u6696\uF91D\u7156\uF91E\uF91F\u96E3\uF920\u634F\u637A\u5357\uF921\u678F\u6960\u6E73\uF922\u7537\uF923\uF924\uF925"],["d2a1","\u7D0D\uF926\uF927\u8872\u56CA\u5A18\uF928",4,"\u4E43\uF92D\u5167\u5948\u67F0\u8010\uF92E\u5973\u5E74\u649A\u79CA\u5FF5\u606C\u62C8\u637B\u5BE7\u5BD7\u52AA\uF92F\u5974\u5F29\u6012\uF930\uF931\uF932\u7459\uF933",5,"\u99D1\uF939",10,"\u6FC3\uF944\uF945\u81BF\u8FB2\u60F1\uF946\uF947\u8166\uF948\uF949\u5C3F\uF94A",7,"\u5AE9\u8A25\u677B\u7D10\uF952",5,"\u80FD\uF958\uF959\u5C3C\u6CE5\u533F\u6EBA\u591A\u8336"],["d3a1","\u4E39\u4EB6\u4F46\u55AE\u5718\u58C7\u5F56\u65B7\u65E6\u6A80\u6BB5\u6E4D\u77ED\u7AEF\u7C1E\u7DDE\u86CB\u8892\u9132\u935B\u64BB\u6FBE\u737A\u75B8\u9054\u5556\u574D\u61BA\u64D4\u66C7\u6DE1\u6E5B\u6F6D\u6FB9\u75F0\u8043\u81BD\u8541\u8983\u8AC7\u8B5A\u931F\u6C93\u7553\u7B54\u8E0F\u905D\u5510\u5802\u5858\u5E62\u6207\u649E\u68E0\u7576\u7CD6\u87B3\u9EE8\u4EE3\u5788\u576E\u5927\u5C0D\u5CB1\u5E36\u5F85\u6234\u64E1\u73B3\u81FA\u888B\u8CB8\u968A\u9EDB\u5B85\u5FB7\u60B3\u5012\u5200\u5230\u5716\u5835\u5857\u5C0E\u5C60\u5CF6\u5D8B\u5EA6\u5F92\u60BC\u6311\u6389\u6417\u6843"],["d4a1","\u68F9\u6AC2\u6DD8\u6E21\u6ED4\u6FE4\u71FE\u76DC\u7779\u79B1\u7A3B\u8404\u89A9\u8CED\u8DF3\u8E48\u9003\u9014\u9053\u90FD\u934D\u9676\u97DC\u6BD2\u7006\u7258\u72A2\u7368\u7763\u79BF\u7BE4\u7E9B\u8B80\u58A9\u60C7\u6566\u65FD\u66BE\u6C8C\u711E\u71C9\u8C5A\u9813\u4E6D\u7A81\u4EDD\u51AC\u51CD\u52D5\u540C\u61A7\u6771\u6850\u68DF\u6D1E\u6F7C\u75BC\u77B3\u7AE5\u80F4\u8463\u9285\u515C\u6597\u675C\u6793\u75D8\u7AC7\u8373\uF95A\u8C46\u9017\u982D\u5C6F\u81C0\u829A\u9041\u906F\u920D\u5F97\u5D9D\u6A59\u71C8\u767B\u7B49\u85E4\u8B04\u9127\u9A30\u5587\u61F6\uF95B\u7669\u7F85"],["d5a1","\u863F\u87BA\u88F8\u908F\uF95C\u6D1B\u70D9\u73DE\u7D61\u843D\uF95D\u916A\u99F1\uF95E\u4E82\u5375\u6B04\u6B12\u703E\u721B\u862D\u9E1E\u524C\u8FA3\u5D50\u64E5\u652C\u6B16\u6FEB\u7C43\u7E9C\u85CD\u8964\u89BD\u62C9\u81D8\u881F\u5ECA\u6717\u6D6A\u72FC\u7405\u746F\u8782\u90DE\u4F86\u5D0D\u5FA0\u840A\u51B7\u63A0\u7565\u4EAE\u5006\u5169\u51C9\u6881\u6A11\u7CAE\u7CB1\u7CE7\u826F\u8AD2\u8F1B\u91CF\u4FB6\u5137\u52F5\u5442\u5EEC\u616E\u623E\u65C5\u6ADA\u6FFE\u792A\u85DC\u8823\u95AD\u9A62\u9A6A\u9E97\u9ECE\u529B\u66C6\u6B77\u701D\u792B\u8F62\u9742\u6190\u6200\u6523\u6F23"],["d6a1","\u7149\u7489\u7DF4\u806F\u84EE\u8F26\u9023\u934A\u51BD\u5217\u52A3\u6D0C\u70C8\u88C2\u5EC9\u6582\u6BAE\u6FC2\u7C3E\u7375\u4EE4\u4F36\u56F9\uF95F\u5CBA\u5DBA\u601C\u73B2\u7B2D\u7F9A\u7FCE\u8046\u901E\u9234\u96F6\u9748\u9818\u9F61\u4F8B\u6FA7\u79AE\u91B4\u96B7\u52DE\uF960\u6488\u64C4\u6AD3\u6F5E\u7018\u7210\u76E7\u8001\u8606\u865C\u8DEF\u8F05\u9732\u9B6F\u9DFA\u9E75\u788C\u797F\u7DA0\u83C9\u9304\u9E7F\u9E93\u8AD6\u58DF\u5F04\u6727\u7027\u74CF\u7C60\u807E\u5121\u7028\u7262\u78CA\u8CC2\u8CDA\u8CF4\u96F7\u4E86\u50DA\u5BEE\u5ED6\u6599\u71CE\u7642\u77AD\u804A\u84FC"],["d7a1","\u907C\u9B27\u9F8D\u58D8\u5A41\u5C62\u6A13\u6DDA\u6F0F\u763B\u7D2F\u7E37\u851E\u8938\u93E4\u964B\u5289\u65D2\u67F3\u69B4\u6D41\u6E9C\u700F\u7409\u7460\u7559\u7624\u786B\u8B2C\u985E\u516D\u622E\u9678\u4F96\u502B\u5D19\u6DEA\u7DB8\u8F2A\u5F8B\u6144\u6817\uF961\u9686\u52D2\u808B\u51DC\u51CC\u695E\u7A1C\u7DBE\u83F1\u9675\u4FDA\u5229\u5398\u540F\u550E\u5C65\u60A7\u674E\u68A8\u6D6C\u7281\u72F8\u7406\u7483\uF962\u75E2\u7C6C\u7F79\u7FB8\u8389\u88CF\u88E1\u91CC\u91D0\u96E2\u9BC9\u541D\u6F7E\u71D0\u7498\u85FA\u8EAA\u96A3\u9C57\u9E9F\u6797\u6DCB\u7433\u81E8\u9716\u782C"],["d8a1","\u7ACB\u7B20\u7C92\u6469\u746A\u75F2\u78BC\u78E8\u99AC\u9B54\u9EBB\u5BDE\u5E55\u6F20\u819C\u83AB\u9088\u4E07\u534D\u5A29\u5DD2\u5F4E\u6162\u633D\u6669\u66FC\u6EFF\u6F2B\u7063\u779E\u842C\u8513\u883B\u8F13\u9945\u9C3B\u551C\u62B9\u672B\u6CAB\u8309\u896A\u977A\u4EA1\u5984\u5FD8\u5FD9\u671B\u7DB2\u7F54\u8292\u832B\u83BD\u8F1E\u9099\u57CB\u59B9\u5A92\u5BD0\u6627\u679A\u6885\u6BCF\u7164\u7F75\u8CB7\u8CE3\u9081\u9B45\u8108\u8C8A\u964C\u9A40\u9EA5\u5B5F\u6C13\u731B\u76F2\u76DF\u840C\u51AA\u8993\u514D\u5195\u52C9\u68C9\u6C94\u7704\u7720\u7DBF\u7DEC\u9762\u9EB5\u6EC5"],["d9a1","\u8511\u51A5\u540D\u547D\u660E\u669D\u6927\u6E9F\u76BF\u7791\u8317\u84C2\u879F\u9169\u9298\u9CF4\u8882\u4FAE\u5192\u52DF\u59C6\u5E3D\u6155\u6478\u6479\u66AE\u67D0\u6A21\u6BCD\u6BDB\u725F\u7261\u7441\u7738\u77DB\u8017\u82BC\u8305\u8B00\u8B28\u8C8C\u6728\u6C90\u7267\u76EE\u7766\u7A46\u9DA9\u6B7F\u6C92\u5922\u6726\u8499\u536F\u5893\u5999\u5EDF\u63CF\u6634\u6773\u6E3A\u732B\u7AD7\u82D7\u9328\u52D9\u5DEB\u61AE\u61CB\u620A\u62C7\u64AB\u65E0\u6959\u6B66\u6BCB\u7121\u73F7\u755D\u7E46\u821E\u8302\u856A\u8AA3\u8CBF\u9727\u9D61\u58A8\u9ED8\u5011\u520E\u543B\u554F\u6587"],["daa1","\u6C76\u7D0A\u7D0B\u805E\u868A\u9580\u96EF\u52FF\u6C95\u7269\u5473\u5A9A\u5C3E\u5D4B\u5F4C\u5FAE\u672A\u68B6\u6963\u6E3C\u6E44\u7709\u7C73\u7F8E\u8587\u8B0E\u8FF7\u9761\u9EF4\u5CB7\u60B6\u610D\u61AB\u654F\u65FB\u65FC\u6C11\u6CEF\u739F\u73C9\u7DE1\u9594\u5BC6\u871C\u8B10\u525D\u535A\u62CD\u640F\u64B2\u6734\u6A38\u6CCA\u73C0\u749E\u7B94\u7C95\u7E1B\u818A\u8236\u8584\u8FEB\u96F9\u99C1\u4F34\u534A\u53CD\u53DB\u62CC\u642C\u6500\u6591\u69C3\u6CEE\u6F58\u73ED\u7554\u7622\u76E4\u76FC\u78D0\u78FB\u792C\u7D46\u822C\u87E0\u8FD4\u9812\u98EF\u52C3\u62D4\u64A5\u6E24\u6F51"],["dba1","\u767C\u8DCB\u91B1\u9262\u9AEE\u9B43\u5023\u508D\u574A\u59A8\u5C28\u5E47\u5F77\u623F\u653E\u65B9\u65C1\u6609\u678B\u699C\u6EC2\u78C5\u7D21\u80AA\u8180\u822B\u82B3\u84A1\u868C\u8A2A\u8B17\u90A6\u9632\u9F90\u500D\u4FF3\uF963\u57F9\u5F98\u62DC\u6392\u676F\u6E43\u7119\u76C3\u80CC\u80DA\u88F4\u88F5\u8919\u8CE0\u8F29\u914D\u966A\u4F2F\u4F70\u5E1B\u67CF\u6822\u767D\u767E\u9B44\u5E61\u6A0A\u7169\u71D4\u756A\uF964\u7E41\u8543\u85E9\u98DC\u4F10\u7B4F\u7F70\u95A5\u51E1\u5E06\u68B5\u6C3E\u6C4E\u6CDB\u72AF\u7BC4\u8303\u6CD5\u743A\u50FB\u5288\u58C1\u64D8\u6A97\u74A7\u7656"],["dca1","\u78A7\u8617\u95E2\u9739\uF965\u535E\u5F01\u8B8A\u8FA8\u8FAF\u908A\u5225\u77A5\u9C49\u9F08\u4E19\u5002\u5175\u5C5B\u5E77\u661E\u663A\u67C4\u68C5\u70B3\u7501\u75C5\u79C9\u7ADD\u8F27\u9920\u9A08\u4FDD\u5821\u5831\u5BF6\u666E\u6B65\u6D11\u6E7A\u6F7D\u73E4\u752B\u83E9\u88DC\u8913\u8B5C\u8F14\u4F0F\u50D5\u5310\u535C\u5B93\u5FA9\u670D\u798F\u8179\u832F\u8514\u8907\u8986\u8F39\u8F3B\u99A5\u9C12\u672C\u4E76\u4FF8\u5949\u5C01\u5CEF\u5CF0\u6367\u68D2\u70FD\u71A2\u742B\u7E2B\u84EC\u8702\u9022\u92D2\u9CF3\u4E0D\u4ED8\u4FEF\u5085\u5256\u526F\u5426\u5490\u57E0\u592B\u5A66"],["dda1","\u5B5A\u5B75\u5BCC\u5E9C\uF966\u6276\u6577\u65A7\u6D6E\u6EA5\u7236\u7B26\u7C3F\u7F36\u8150\u8151\u819A\u8240\u8299\u83A9\u8A03\u8CA0\u8CE6\u8CFB\u8D74\u8DBA\u90E8\u91DC\u961C\u9644\u99D9\u9CE7\u5317\u5206\u5429\u5674\u58B3\u5954\u596E\u5FFF\u61A4\u626E\u6610\u6C7E\u711A\u76C6\u7C89\u7CDE\u7D1B\u82AC\u8CC1\u96F0\uF967\u4F5B\u5F17\u5F7F\u62C2\u5D29\u670B\u68DA\u787C\u7E43\u9D6C\u4E15\u5099\u5315\u532A\u5351\u5983\u5A62\u5E87\u60B2\u618A\u6249\u6279\u6590\u6787\u69A7\u6BD4\u6BD6\u6BD7\u6BD8\u6CB8\uF968\u7435\u75FA\u7812\u7891\u79D5\u79D8\u7C83\u7DCB\u7FE1\u80A5"],["dea1","\u813E\u81C2\u83F2\u871A\u88E8\u8AB9\u8B6C\u8CBB\u9119\u975E\u98DB\u9F3B\u56AC\u5B2A\u5F6C\u658C\u6AB3\u6BAF\u6D5C\u6FF1\u7015\u725D\u73AD\u8CA7\u8CD3\u983B\u6191\u6C37\u8058\u9A01\u4E4D\u4E8B\u4E9B\u4ED5\u4F3A\u4F3C\u4F7F\u4FDF\u50FF\u53F2\u53F8\u5506\u55E3\u56DB\u58EB\u5962\u5A11\u5BEB\u5BFA\u5C04\u5DF3\u5E2B\u5F99\u601D\u6368\u659C\u65AF\u67F6\u67FB\u68AD\u6B7B\u6C99\u6CD7\u6E23\u7009\u7345\u7802\u793E\u7940\u7960\u79C1\u7BE9\u7D17\u7D72\u8086\u820D\u838E\u84D1\u86C7\u88DF\u8A50\u8A5E\u8B1D\u8CDC\u8D66\u8FAD\u90AA\u98FC\u99DF\u9E9D\u524A\uF969\u6714\uF96A"],["dfa1","\u5098\u522A\u5C71\u6563\u6C55\u73CA\u7523\u759D\u7B97\u849C\u9178\u9730\u4E77\u6492\u6BBA\u715E\u85A9\u4E09\uF96B\u6749\u68EE\u6E17\u829F\u8518\u886B\u63F7\u6F81\u9212\u98AF\u4E0A\u50B7\u50CF\u511F\u5546\u55AA\u5617\u5B40\u5C19\u5CE0\u5E38\u5E8A\u5EA0\u5EC2\u60F3\u6851\u6A61\u6E58\u723D\u7240\u72C0\u76F8\u7965\u7BB1\u7FD4\u88F3\u89F4\u8A73\u8C61\u8CDE\u971C\u585E\u74BD\u8CFD\u55C7\uF96C\u7A61\u7D22\u8272\u7272\u751F\u7525\uF96D\u7B19\u5885\u58FB\u5DBC\u5E8F\u5EB6\u5F90\u6055\u6292\u637F\u654D\u6691\u66D9\u66F8\u6816\u68F2\u7280\u745E\u7B6E\u7D6E\u7DD6\u7F72"],["e0a1","\u80E5\u8212\u85AF\u897F\u8A93\u901D\u92E4\u9ECD\u9F20\u5915\u596D\u5E2D\u60DC\u6614\u6673\u6790\u6C50\u6DC5\u6F5F\u77F3\u78A9\u84C6\u91CB\u932B\u4ED9\u50CA\u5148\u5584\u5B0B\u5BA3\u6247\u657E\u65CB\u6E32\u717D\u7401\u7444\u7487\u74BF\u766C\u79AA\u7DDA\u7E55\u7FA8\u817A\u81B3\u8239\u861A\u87EC\u8A75\u8DE3\u9078\u9291\u9425\u994D\u9BAE\u5368\u5C51\u6954\u6CC4\u6D29\u6E2B\u820C\u859B\u893B\u8A2D\u8AAA\u96EA\u9F67\u5261\u66B9\u6BB2\u7E96\u87FE\u8D0D\u9583\u965D\u651D\u6D89\u71EE\uF96E\u57CE\u59D3\u5BAC\u6027\u60FA\u6210\u661F\u665F\u7329\u73F9\u76DB\u7701\u7B6C"],["e1a1","\u8056\u8072\u8165\u8AA0\u9192\u4E16\u52E2\u6B72\u6D17\u7A05\u7B39\u7D30\uF96F\u8CB0\u53EC\u562F\u5851\u5BB5\u5C0F\u5C11\u5DE2\u6240\u6383\u6414\u662D\u68B3\u6CBC\u6D88\u6EAF\u701F\u70A4\u71D2\u7526\u758F\u758E\u7619\u7B11\u7BE0\u7C2B\u7D20\u7D39\u852C\u856D\u8607\u8A34\u900D\u9061\u90B5\u92B7\u97F6\u9A37\u4FD7\u5C6C\u675F\u6D91\u7C9F\u7E8C\u8B16\u8D16\u901F\u5B6B\u5DFD\u640D\u84C0\u905C\u98E1\u7387\u5B8B\u609A\u677E\u6DDE\u8A1F\u8AA6\u9001\u980C\u5237\uF970\u7051\u788E\u9396\u8870\u91D7\u4FEE\u53D7\u55FD\u56DA\u5782\u58FD\u5AC2\u5B88\u5CAB\u5CC0\u5E25\u6101"],["e2a1","\u620D\u624B\u6388\u641C\u6536\u6578\u6A39\u6B8A\u6C34\u6D19\u6F31\u71E7\u72E9\u7378\u7407\u74B2\u7626\u7761\u79C0\u7A57\u7AEA\u7CB9\u7D8F\u7DAC\u7E61\u7F9E\u8129\u8331\u8490\u84DA\u85EA\u8896\u8AB0\u8B90\u8F38\u9042\u9083\u916C\u9296\u92B9\u968B\u96A7\u96A8\u96D6\u9700\u9808\u9996\u9AD3\u9B1A\u53D4\u587E\u5919\u5B70\u5BBF\u6DD1\u6F5A\u719F\u7421\u74B9\u8085\u83FD\u5DE1\u5F87\u5FAA\u6042\u65EC\u6812\u696F\u6A53\u6B89\u6D35\u6DF3\u73E3\u76FE\u77AC\u7B4D\u7D14\u8123\u821C\u8340\u84F4\u8563\u8A62\u8AC4\u9187\u931E\u9806\u99B4\u620C\u8853\u8FF0\u9265\u5D07\u5D27"],["e3a1","\u5D69\u745F\u819D\u8768\u6FD5\u62FE\u7FD2\u8936\u8972\u4E1E\u4E58\u50E7\u52DD\u5347\u627F\u6607\u7E69\u8805\u965E\u4F8D\u5319\u5636\u59CB\u5AA4\u5C38\u5C4E\u5C4D\u5E02\u5F11\u6043\u65BD\u662F\u6642\u67BE\u67F4\u731C\u77E2\u793A\u7FC5\u8494\u84CD\u8996\u8A66\u8A69\u8AE1\u8C55\u8C7A\u57F4\u5BD4\u5F0F\u606F\u62ED\u690D\u6B96\u6E5C\u7184\u7BD2\u8755\u8B58\u8EFE\u98DF\u98FE\u4F38\u4F81\u4FE1\u547B\u5A20\u5BB8\u613C\u65B0\u6668\u71FC\u7533\u795E\u7D33\u814E\u81E3\u8398\u85AA\u85CE\u8703\u8A0A\u8EAB\u8F9B\uF971\u8FC5\u5931\u5BA4\u5BE6\u6089\u5BE9\u5C0B\u5FC3\u6C81"],["e4a1","\uF972\u6DF1\u700B\u751A\u82AF\u8AF6\u4EC0\u5341\uF973\u96D9\u6C0F\u4E9E\u4FC4\u5152\u555E\u5A25\u5CE8\u6211\u7259\u82BD\u83AA\u86FE\u8859\u8A1D\u963F\u96C5\u9913\u9D09\u9D5D\u580A\u5CB3\u5DBD\u5E44\u60E1\u6115\u63E1\u6A02\u6E25\u9102\u9354\u984E\u9C10\u9F77\u5B89\u5CB8\u6309\u664F\u6848\u773C\u96C1\u978D\u9854\u9B9F\u65A1\u8B01\u8ECB\u95BC\u5535\u5CA9\u5DD6\u5EB5\u6697\u764C\u83F4\u95C7\u58D3\u62BC\u72CE\u9D28\u4EF0\u592E\u600F\u663B\u6B83\u79E7\u9D26\u5393\u54C0\u57C3\u5D16\u611B\u66D6\u6DAF\u788D\u827E\u9698\u9744\u5384\u627C\u6396\u6DB2\u7E0A\u814B\u984D"],["e5a1","\u6AFB\u7F4C\u9DAF\u9E1A\u4E5F\u503B\u51B6\u591C\u60F9\u63F6\u6930\u723A\u8036\uF974\u91CE\u5F31\uF975\uF976\u7D04\u82E5\u846F\u84BB\u85E5\u8E8D\uF977\u4F6F\uF978\uF979\u58E4\u5B43\u6059\u63DA\u6518\u656D\u6698\uF97A\u694A\u6A23\u6D0B\u7001\u716C\u75D2\u760D\u79B3\u7A70\uF97B\u7F8A\uF97C\u8944\uF97D\u8B93\u91C0\u967D\uF97E\u990A\u5704\u5FA1\u65BC\u6F01\u7600\u79A6\u8A9E\u99AD\u9B5A\u9F6C\u5104\u61B6\u6291\u6A8D\u81C6\u5043\u5830\u5F66\u7109\u8A00\u8AFA\u5B7C\u8616\u4FFA\u513C\u56B4\u5944\u63A9\u6DF9\u5DAA\u696D\u5186\u4E88\u4F59\uF97F\uF980\uF981\u5982\uF982"],["e6a1","\uF983\u6B5F\u6C5D\uF984\u74B5\u7916\uF985\u8207\u8245\u8339\u8F3F\u8F5D\uF986\u9918\uF987\uF988\uF989\u4EA6\uF98A\u57DF\u5F79\u6613\uF98B\uF98C\u75AB\u7E79\u8B6F\uF98D\u9006\u9A5B\u56A5\u5827\u59F8\u5A1F\u5BB4\uF98E\u5EF6\uF98F\uF990\u6350\u633B\uF991\u693D\u6C87\u6CBF\u6D8E\u6D93\u6DF5\u6F14\uF992\u70DF\u7136\u7159\uF993\u71C3\u71D5\uF994\u784F\u786F\uF995\u7B75\u7DE3\uF996\u7E2F\uF997\u884D\u8EDF\uF998\uF999\uF99A\u925B\uF99B\u9CF6\uF99C\uF99D\uF99E\u6085\u6D85\uF99F\u71B1\uF9A0\uF9A1\u95B1\u53AD\uF9A2\uF9A3\uF9A4\u67D3\uF9A5\u708E\u7130\u7430\u8276\u82D2"],["e7a1","\uF9A6\u95BB\u9AE5\u9E7D\u66C4\uF9A7\u71C1\u8449\uF9A8\uF9A9\u584B\uF9AA\uF9AB\u5DB8\u5F71\uF9AC\u6620\u668E\u6979\u69AE\u6C38\u6CF3\u6E36\u6F41\u6FDA\u701B\u702F\u7150\u71DF\u7370\uF9AD\u745B\uF9AE\u74D4\u76C8\u7A4E\u7E93\uF9AF\uF9B0\u82F1\u8A60\u8FCE\uF9B1\u9348\uF9B2\u9719\uF9B3\uF9B4\u4E42\u502A\uF9B5\u5208\u53E1\u66F3\u6C6D\u6FCA\u730A\u777F\u7A62\u82AE\u85DD\u8602\uF9B6\u88D4\u8A63\u8B7D\u8C6B\uF9B7\u92B3\uF9B8\u9713\u9810\u4E94\u4F0D\u4FC9\u50B2\u5348\u543E\u5433\u55DA\u5862\u58BA\u5967\u5A1B\u5BE4\u609F\uF9B9\u61CA\u6556\u65FF\u6664\u68A7\u6C5A\u6FB3"],["e8a1","\u70CF\u71AC\u7352\u7B7D\u8708\u8AA4\u9C32\u9F07\u5C4B\u6C83\u7344\u7389\u923A\u6EAB\u7465\u761F\u7A69\u7E15\u860A\u5140\u58C5\u64C1\u74EE\u7515\u7670\u7FC1\u9095\u96CD\u9954\u6E26\u74E6\u7AA9\u7AAA\u81E5\u86D9\u8778\u8A1B\u5A49\u5B8C\u5B9B\u68A1\u6900\u6D63\u73A9\u7413\u742C\u7897\u7DE9\u7FEB\u8118\u8155\u839E\u8C4C\u962E\u9811\u66F0\u5F80\u65FA\u6789\u6C6A\u738B\u502D\u5A03\u6B6A\u77EE\u5916\u5D6C\u5DCD\u7325\u754F\uF9BA\uF9BB\u50E5\u51F9\u582F\u592D\u5996\u59DA\u5BE5\uF9BC\uF9BD\u5DA2\u62D7\u6416\u6493\u64FE\uF9BE\u66DC\uF9BF\u6A48\uF9C0\u71FF\u7464\uF9C1"],["e9a1","\u7A88\u7AAF\u7E47\u7E5E\u8000\u8170\uF9C2\u87EF\u8981\u8B20\u9059\uF9C3\u9080\u9952\u617E\u6B32\u6D74\u7E1F\u8925\u8FB1\u4FD1\u50AD\u5197\u52C7\u57C7\u5889\u5BB9\u5EB8\u6142\u6995\u6D8C\u6E67\u6EB6\u7194\u7462\u7528\u752C\u8073\u8338\u84C9\u8E0A\u9394\u93DE\uF9C4\u4E8E\u4F51\u5076\u512A\u53C8\u53CB\u53F3\u5B87\u5BD3\u5C24\u611A\u6182\u65F4\u725B\u7397\u7440\u76C2\u7950\u7991\u79B9\u7D06\u7FBD\u828B\u85D5\u865E\u8FC2\u9047\u90F5\u91EA\u9685\u96E8\u96E9\u52D6\u5F67\u65ED\u6631\u682F\u715C\u7A36\u90C1\u980A\u4E91\uF9C5\u6A52\u6B9E\u6F90\u7189\u8018\u82B8\u8553"],["eaa1","\u904B\u9695\u96F2\u97FB\u851A\u9B31\u4E90\u718A\u96C4\u5143\u539F\u54E1\u5713\u5712\u57A3\u5A9B\u5AC4\u5BC3\u6028\u613F\u63F4\u6C85\u6D39\u6E72\u6E90\u7230\u733F\u7457\u82D1\u8881\u8F45\u9060\uF9C6\u9662\u9858\u9D1B\u6708\u8D8A\u925E\u4F4D\u5049\u50DE\u5371\u570D\u59D4\u5A01\u5C09\u6170\u6690\u6E2D\u7232\u744B\u7DEF\u80C3\u840E\u8466\u853F\u875F\u885B\u8918\u8B02\u9055\u97CB\u9B4F\u4E73\u4F91\u5112\u516A\uF9C7\u552F\u55A9\u5B7A\u5BA5\u5E7C\u5E7D\u5EBE\u60A0\u60DF\u6108\u6109\u63C4\u6538\u6709\uF9C8\u67D4\u67DA\uF9C9\u6961\u6962\u6CB9\u6D27\uF9CA\u6E38\uF9CB"],["eba1","\u6FE1\u7336\u7337\uF9CC\u745C\u7531\uF9CD\u7652\uF9CE\uF9CF\u7DAD\u81FE\u8438\u88D5\u8A98\u8ADB\u8AED\u8E30\u8E42\u904A\u903E\u907A\u9149\u91C9\u936E\uF9D0\uF9D1\u5809\uF9D2\u6BD3\u8089\u80B2\uF9D3\uF9D4\u5141\u596B\u5C39\uF9D5\uF9D6\u6F64\u73A7\u80E4\u8D07\uF9D7\u9217\u958F\uF9D8\uF9D9\uF9DA\uF9DB\u807F\u620E\u701C\u7D68\u878D\uF9DC\u57A0\u6069\u6147\u6BB7\u8ABE\u9280\u96B1\u4E59\u541F\u6DEB\u852D\u9670\u97F3\u98EE\u63D6\u6CE3\u9091\u51DD\u61C9\u81BA\u9DF9\u4F9D\u501A\u5100\u5B9C\u610F\u61FF\u64EC\u6905\u6BC5\u7591\u77E3\u7FA9\u8264\u858F\u87FB\u8863\u8ABC"],["eca1","\u8B70\u91AB\u4E8C\u4EE5\u4F0A\uF9DD\uF9DE\u5937\u59E8\uF9DF\u5DF2\u5F1B\u5F5B\u6021\uF9E0\uF9E1\uF9E2\uF9E3\u723E\u73E5\uF9E4\u7570\u75CD\uF9E5\u79FB\uF9E6\u800C\u8033\u8084\u82E1\u8351\uF9E7\uF9E8\u8CBD\u8CB3\u9087\uF9E9\uF9EA\u98F4\u990C\uF9EB\uF9EC\u7037\u76CA\u7FCA\u7FCC\u7FFC\u8B1A\u4EBA\u4EC1\u5203\u5370\uF9ED\u54BD\u56E0\u59FB\u5BC5\u5F15\u5FCD\u6E6E\uF9EE\uF9EF\u7D6A\u8335\uF9F0\u8693\u8A8D\uF9F1\u976D\u9777\uF9F2\uF9F3\u4E00\u4F5A\u4F7E\u58F9\u65E5\u6EA2\u9038\u93B0\u99B9\u4EFB\u58EC\u598A\u59D9\u6041\uF9F4\uF9F5\u7A14\uF9F6\u834F\u8CC3\u5165\u5344"],["eda1","\uF9F7\uF9F8\uF9F9\u4ECD\u5269\u5B55\u82BF\u4ED4\u523A\u54A8\u59C9\u59FF\u5B50\u5B57\u5B5C\u6063\u6148\u6ECB\u7099\u716E\u7386\u74F7\u75B5\u78C1\u7D2B\u8005\u81EA\u8328\u8517\u85C9\u8AEE\u8CC7\u96CC\u4F5C\u52FA\u56BC\u65AB\u6628\u707C\u70B8\u7235\u7DBD\u828D\u914C\u96C0\u9D72\u5B71\u68E7\u6B98\u6F7A\u76DE\u5C91\u66AB\u6F5B\u7BB4\u7C2A\u8836\u96DC\u4E08\u4ED7\u5320\u5834\u58BB\u58EF\u596C\u5C07\u5E33\u5E84\u5F35\u638C\u66B2\u6756\u6A1F\u6AA3\u6B0C\u6F3F\u7246\uF9FA\u7350\u748B\u7AE0\u7CA7\u8178\u81DF\u81E7\u838A\u846C\u8523\u8594\u85CF\u88DD\u8D13\u91AC\u9577"],["eea1","\u969C\u518D\u54C9\u5728\u5BB0\u624D\u6750\u683D\u6893\u6E3D\u6ED3\u707D\u7E21\u88C1\u8CA1\u8F09\u9F4B\u9F4E\u722D\u7B8F\u8ACD\u931A\u4F47\u4F4E\u5132\u5480\u59D0\u5E95\u62B5\u6775\u696E\u6A17\u6CAE\u6E1A\u72D9\u732A\u75BD\u7BB8\u7D35\u82E7\u83F9\u8457\u85F7\u8A5B\u8CAF\u8E87\u9019\u90B8\u96CE\u9F5F\u52E3\u540A\u5AE1\u5BC2\u6458\u6575\u6EF4\u72C4\uF9FB\u7684\u7A4D\u7B1B\u7C4D\u7E3E\u7FDF\u837B\u8B2B\u8CCA\u8D64\u8DE1\u8E5F\u8FEA\u8FF9\u9069\u93D1\u4F43\u4F7A\u50B3\u5168\u5178\u524D\u526A\u5861\u587C\u5960\u5C08\u5C55\u5EDB\u609B\u6230\u6813\u6BBF\u6C08\u6FB1"],["efa1","\u714E\u7420\u7530\u7538\u7551\u7672\u7B4C\u7B8B\u7BAD\u7BC6\u7E8F\u8A6E\u8F3E\u8F49\u923F\u9293\u9322\u942B\u96FB\u985A\u986B\u991E\u5207\u622A\u6298\u6D59\u7664\u7ACA\u7BC0\u7D76\u5360\u5CBE\u5E97\u6F38\u70B9\u7C98\u9711\u9B8E\u9EDE\u63A5\u647A\u8776\u4E01\u4E95\u4EAD\u505C\u5075\u5448\u59C3\u5B9A\u5E40\u5EAD\u5EF7\u5F81\u60C5\u633A\u653F\u6574\u65CC\u6676\u6678\u67FE\u6968\u6A89\u6B63\u6C40\u6DC0\u6DE8\u6E1F\u6E5E\u701E\u70A1\u738E\u73FD\u753A\u775B\u7887\u798E\u7A0B\u7A7D\u7CBE\u7D8E\u8247\u8A02\u8AEA\u8C9E\u912D\u914A\u91D8\u9266\u92CC\u9320\u9706\u9756"],["f0a1","\u975C\u9802\u9F0E\u5236\u5291\u557C\u5824\u5E1D\u5F1F\u608C\u63D0\u68AF\u6FDF\u796D\u7B2C\u81CD\u85BA\u88FD\u8AF8\u8E44\u918D\u9664\u969B\u973D\u984C\u9F4A\u4FCE\u5146\u51CB\u52A9\u5632\u5F14\u5F6B\u63AA\u64CD\u65E9\u6641\u66FA\u66F9\u671D\u689D\u68D7\u69FD\u6F15\u6F6E\u7167\u71E5\u722A\u74AA\u773A\u7956\u795A\u79DF\u7A20\u7A95\u7C97\u7CDF\u7D44\u7E70\u8087\u85FB\u86A4\u8A54\u8ABF\u8D99\u8E81\u9020\u906D\u91E3\u963B\u96D5\u9CE5\u65CF\u7C07\u8DB3\u93C3\u5B58\u5C0A\u5352\u62D9\u731D\u5027\u5B97\u5F9E\u60B0\u616B\u68D5\u6DD9\u742E\u7A2E\u7D42\u7D9C\u7E31\u816B"],["f1a1","\u8E2A\u8E35\u937E\u9418\u4F50\u5750\u5DE6\u5EA7\u632B\u7F6A\u4E3B\u4F4F\u4F8F\u505A\u59DD\u80C4\u546A\u5468\u55FE\u594F\u5B99\u5DDE\u5EDA\u665D\u6731\u67F1\u682A\u6CE8\u6D32\u6E4A\u6F8D\u70B7\u73E0\u7587\u7C4C\u7D02\u7D2C\u7DA2\u821F\u86DB\u8A3B\u8A85\u8D70\u8E8A\u8F33\u9031\u914E\u9152\u9444\u99D0\u7AF9\u7CA5\u4FCA\u5101\u51C6\u57C8\u5BEF\u5CFB\u6659\u6A3D\u6D5A\u6E96\u6FEC\u710C\u756F\u7AE3\u8822\u9021\u9075\u96CB\u99FF\u8301\u4E2D\u4EF2\u8846\u91CD\u537D\u6ADB\u696B\u6C41\u847A\u589E\u618E\u66FE\u62EF\u70DD\u7511\u75C7\u7E52\u84B8\u8B49\u8D08\u4E4B\u53EA"],["f2a1","\u54AB\u5730\u5740\u5FD7\u6301\u6307\u646F\u652F\u65E8\u667A\u679D\u67B3\u6B62\u6C60\u6C9A\u6F2C\u77E5\u7825\u7949\u7957\u7D19\u80A2\u8102\u81F3\u829D\u82B7\u8718\u8A8C\uF9FC\u8D04\u8DBE\u9072\u76F4\u7A19\u7A37\u7E54\u8077\u5507\u55D4\u5875\u632F\u6422\u6649\u664B\u686D\u699B\u6B84\u6D25\u6EB1\u73CD\u7468\u74A1\u755B\u75B9\u76E1\u771E\u778B\u79E6\u7E09\u7E1D\u81FB\u852F\u8897\u8A3A\u8CD1\u8EEB\u8FB0\u9032\u93AD\u9663\u9673\u9707\u4F84\u53F1\u59EA\u5AC9\u5E19\u684E\u74C6\u75BE\u79E9\u7A92\u81A3\u86ED\u8CEA\u8DCC\u8FED\u659F\u6715\uF9FD\u57F7\u6F57\u7DDD\u8F2F"],["f3a1","\u93F6\u96C6\u5FB5\u61F2\u6F84\u4E14\u4F98\u501F\u53C9\u55DF\u5D6F\u5DEE\u6B21\u6B64\u78CB\u7B9A\uF9FE\u8E49\u8ECA\u906E\u6349\u643E\u7740\u7A84\u932F\u947F\u9F6A\u64B0\u6FAF\u71E6\u74A8\u74DA\u7AC4\u7C12\u7E82\u7CB2\u7E98\u8B9A\u8D0A\u947D\u9910\u994C\u5239\u5BDF\u64E6\u672D\u7D2E\u50ED\u53C3\u5879\u6158\u6159\u61FA\u65AC\u7AD9\u8B92\u8B96\u5009\u5021\u5275\u5531\u5A3C\u5EE0\u5F70\u6134\u655E\u660C\u6636\u66A2\u69CD\u6EC4\u6F32\u7316\u7621\u7A93\u8139\u8259\u83D6\u84BC\u50B5\u57F0\u5BC0\u5BE8\u5F69\u63A1\u7826\u7DB5\u83DC\u8521\u91C7\u91F5\u518A\u67F5\u7B56"],["f4a1","\u8CAC\u51C4\u59BB\u60BD\u8655\u501C\uF9FF\u5254\u5C3A\u617D\u621A\u62D3\u64F2\u65A5\u6ECC\u7620\u810A\u8E60\u965F\u96BB\u4EDF\u5343\u5598\u5929\u5DDD\u64C5\u6CC9\u6DFA\u7394\u7A7F\u821B\u85A6\u8CE4\u8E10\u9077\u91E7\u95E1\u9621\u97C6\u51F8\u54F2\u5586\u5FB9\u64A4\u6F88\u7DB4\u8F1F\u8F4D\u9435\u50C9\u5C16\u6CBE\u6DFB\u751B\u77BB\u7C3D\u7C64\u8A79\u8AC2\u581E\u59BE\u5E16\u6377\u7252\u758A\u776B\u8ADC\u8CBC\u8F12\u5EF3\u6674\u6DF8\u807D\u83C1\u8ACB\u9751\u9BD6\uFA00\u5243\u66FF\u6D95\u6EEF\u7DE0\u8AE6\u902E\u905E\u9AD4\u521D\u527F\u54E8\u6194\u6284\u62DB\u68A2"],["f5a1","\u6912\u695A\u6A35\u7092\u7126\u785D\u7901\u790E\u79D2\u7A0D\u8096\u8278\u82D5\u8349\u8549\u8C82\u8D85\u9162\u918B\u91AE\u4FC3\u56D1\u71ED\u77D7\u8700\u89F8\u5BF8\u5FD6\u6751\u90A8\u53E2\u585A\u5BF5\u60A4\u6181\u6460\u7E3D\u8070\u8525\u9283\u64AE\u50AC\u5D14\u6700\u589C\u62BD\u63A8\u690E\u6978\u6A1E\u6E6B\u76BA\u79CB\u82BB\u8429\u8ACF\u8DA8\u8FFD\u9112\u914B\u919C\u9310\u9318\u939A\u96DB\u9A36\u9C0D\u4E11\u755C\u795D\u7AFA\u7B51\u7BC9\u7E2E\u84C4\u8E59\u8E74\u8EF8\u9010\u6625\u693F\u7443\u51FA\u672E\u9EDC\u5145\u5FE0\u6C96\u87F2\u885D\u8877\u60B4\u81B5\u8403"],["f6a1","\u8D05\u53D6\u5439\u5634\u5A36\u5C31\u708A\u7FE0\u805A\u8106\u81ED\u8DA3\u9189\u9A5F\u9DF2\u5074\u4EC4\u53A0\u60FB\u6E2C\u5C64\u4F88\u5024\u55E4\u5CD9\u5E5F\u6065\u6894\u6CBB\u6DC4\u71BE\u75D4\u75F4\u7661\u7A1A\u7A49\u7DC7\u7DFB\u7F6E\u81F4\u86A9\u8F1C\u96C9\u99B3\u9F52\u5247\u52C5\u98ED\u89AA\u4E03\u67D2\u6F06\u4FB5\u5BE2\u6795\u6C88\u6D78\u741B\u7827\u91DD\u937C\u87C4\u79E4\u7A31\u5FEB\u4ED6\u54A4\u553E\u58AE\u59A5\u60F0\u6253\u62D6\u6736\u6955\u8235\u9640\u99B1\u99DD\u502C\u5353\u5544\u577C\uFA01\u6258\uFA02\u64E2\u666B\u67DD\u6FC1\u6FEF\u7422\u7438\u8A17"],["f7a1","\u9438\u5451\u5606\u5766\u5F48\u619A\u6B4E\u7058\u70AD\u7DBB\u8A95\u596A\u812B\u63A2\u7708\u803D\u8CAA\u5854\u642D\u69BB\u5B95\u5E11\u6E6F\uFA03\u8569\u514C\u53F0\u592A\u6020\u614B\u6B86\u6C70\u6CF0\u7B1E\u80CE\u82D4\u8DC6\u90B0\u98B1\uFA04\u64C7\u6FA4\u6491\u6504\u514E\u5410\u571F\u8A0E\u615F\u6876\uFA05\u75DB\u7B52\u7D71\u901A\u5806\u69CC\u817F\u892A\u9000\u9839\u5078\u5957\u59AC\u6295\u900F\u9B2A\u615D\u7279\u95D6\u5761\u5A46\u5DF4\u628A\u64AD\u64FA\u6777\u6CE2\u6D3E\u722C\u7436\u7834\u7F77\u82AD\u8DDB\u9817\u5224\u5742\u677F\u7248\u74E3\u8CA9\u8FA6\u9211"],["f8a1","\u962A\u516B\u53ED\u634C\u4F69\u5504\u6096\u6557\u6C9B\u6D7F\u724C\u72FD\u7A17\u8987\u8C9D\u5F6D\u6F8E\u70F9\u81A8\u610E\u4FBF\u504F\u6241\u7247\u7BC7\u7DE8\u7FE9\u904D\u97AD\u9A19\u8CB6\u576A\u5E73\u67B0\u840D\u8A55\u5420\u5B16\u5E63\u5EE2\u5F0A\u6583\u80BA\u853D\u9589\u965B\u4F48\u5305\u530D\u530F\u5486\u54FA\u5703\u5E03\u6016\u629B\u62B1\u6355\uFA06\u6CE1\u6D66\u75B1\u7832\u80DE\u812F\u82DE\u8461\u84B2\u888D\u8912\u900B\u92EA\u98FD\u9B91\u5E45\u66B4\u66DD\u7011\u7206\uFA07\u4FF5\u527D\u5F6A\u6153\u6753\u6A19\u6F02\u74E2\u7968\u8868\u8C79\u98C7\u98C4\u9A43"],["f9a1","\u54C1\u7A1F\u6953\u8AF7\u8C4A\u98A8\u99AE\u5F7C\u62AB\u75B2\u76AE\u88AB\u907F\u9642\u5339\u5F3C\u5FC5\u6CCC\u73CC\u7562\u758B\u7B46\u82FE\u999D\u4E4F\u903C\u4E0B\u4F55\u53A6\u590F\u5EC8\u6630\u6CB3\u7455\u8377\u8766\u8CC0\u9050\u971E\u9C15\u58D1\u5B78\u8650\u8B14\u9DB4\u5BD2\u6068\u608D\u65F1\u6C57\u6F22\u6FA3\u701A\u7F55\u7FF0\u9591\u9592\u9650\u97D3\u5272\u8F44\u51FD\u542B\u54B8\u5563\u558A\u6ABB\u6DB5\u7DD8\u8266\u929C\u9677\u9E79\u5408\u54C8\u76D2\u86E4\u95A4\u95D4\u965C\u4EA2\u4F09\u59EE\u5AE6\u5DF7\u6052\u6297\u676D\u6841\u6C86\u6E2F\u7F38\u809B\u822A"],["faa1","\uFA08\uFA09\u9805\u4EA5\u5055\u54B3\u5793\u595A\u5B69\u5BB3\u61C8\u6977\u6D77\u7023\u87F9\u89E3\u8A72\u8AE7\u9082\u99ED\u9AB8\u52BE\u6838\u5016\u5E78\u674F\u8347\u884C\u4EAB\u5411\u56AE\u73E6\u9115\u97FF\u9909\u9957\u9999\u5653\u589F\u865B\u8A31\u61B2\u6AF6\u737B\u8ED2\u6B47\u96AA\u9A57\u5955\u7200\u8D6B\u9769\u4FD4\u5CF4\u5F26\u61F8\u665B\u6CEB\u70AB\u7384\u73B9\u73FE\u7729\u774D\u7D43\u7D62\u7E23\u8237\u8852\uFA0A\u8CE2\u9249\u986F\u5B51\u7A74\u8840\u9801\u5ACC\u4FE0\u5354\u593E\u5CFD\u633E\u6D79\u72F9\u8105\u8107\u83A2\u92CF\u9830\u4EA8\u5144\u5211\u578B"],["fba1","\u5F62\u6CC2\u6ECE\u7005\u7050\u70AF\u7192\u73E9\u7469\u834A\u87A2\u8861\u9008\u90A2\u93A3\u99A8\u516E\u5F57\u60E0\u6167\u66B3\u8559\u8E4A\u91AF\u978B\u4E4E\u4E92\u547C\u58D5\u58FA\u597D\u5CB5\u5F27\u6236\u6248\u660A\u6667\u6BEB\u6D69\u6DCF\u6E56\u6EF8\u6F94\u6FE0\u6FE9\u705D\u72D0\u7425\u745A\u74E0\u7693\u795C\u7CCA\u7E1E\u80E1\u82A6\u846B\u84BF\u864E\u865F\u8774\u8B77\u8C6A\u93AC\u9800\u9865\u60D1\u6216\u9177\u5A5A\u660F\u6DF7\u6E3E\u743F\u9B42\u5FFD\u60DA\u7B0F\u54C4\u5F18\u6C5E\u6CD3\u6D2A\u70D8\u7D05\u8679\u8A0C\u9D3B\u5316\u548C\u5B05\u6A3A\u706B\u7575"],["fca1","\u798D\u79BE\u82B1\u83EF\u8A71\u8B41\u8CA8\u9774\uFA0B\u64F4\u652B\u78BA\u78BB\u7A6B\u4E38\u559A\u5950\u5BA6\u5E7B\u60A3\u63DB\u6B61\u6665\u6853\u6E19\u7165\u74B0\u7D08\u9084\u9A69\u9C25\u6D3B\u6ED1\u733E\u8C41\u95CA\u51F0\u5E4C\u5FA8\u604D\u60F6\u6130\u614C\u6643\u6644\u69A5\u6CC1\u6E5F\u6EC9\u6F62\u714C\u749C\u7687\u7BC1\u7C27\u8352\u8757\u9051\u968D\u9EC3\u532F\u56DE\u5EFB\u5F8A\u6062\u6094\u61F7\u6666\u6703\u6A9C\u6DEE\u6FAE\u7070\u736A\u7E6A\u81BE\u8334\u86D4\u8AA8\u8CC4\u5283\u7372\u5B96\u6A6B\u9404\u54EE\u5686\u5B5D\u6548\u6585\u66C9\u689F\u6D8D\u6DC6"],["fda1","\u723B\u80B4\u9175\u9A4D\u4FAF\u5019\u539A\u540E\u543C\u5589\u55C5\u5E3F\u5F8C\u673D\u7166\u73DD\u9005\u52DB\u52F3\u5864\u58CE\u7104\u718F\u71FB\u85B0\u8A13\u6688\u85A8\u55A7\u6684\u714A\u8431\u5349\u5599\u6BC1\u5F59\u5FBD\u63EE\u6689\u7147\u8AF1\u8F1D\u9EBE\u4F11\u643A\u70CB\u7566\u8667\u6064\u8B4E\u9DF8\u5147\u51F6\u5308\u6D36\u80F8\u9ED1\u6615\u6B23\u7098\u75D5\u5403\u5C79\u7D07\u8A16\u6B20\u6B3D\u6B46\u5438\u6070\u6D3D\u7FD5\u8208\u50D6\u51DE\u559C\u566B\u56CD\u59EC\u5B09\u5E0C\u6199\u6198\u6231\u665E\u66E6\u7199\u71B9\u71BA\u72A7\u79A7\u7A00\u7FB2\u8A70"]]});var L6t=xe((cas,dCr)=>{dCr.exports=[["0","\0",127],["a140","\u3000\uFF0C\u3001\u3002\uFF0E\u2027\uFF1B\uFF1A\uFF1F\uFF01\uFE30\u2026\u2025\uFE50\uFE51\uFE52\xB7\uFE54\uFE55\uFE56\uFE57\uFF5C\u2013\uFE31\u2014\uFE33\u2574\uFE34\uFE4F\uFF08\uFF09\uFE35\uFE36\uFF5B\uFF5D\uFE37\uFE38\u3014\u3015\uFE39\uFE3A\u3010\u3011\uFE3B\uFE3C\u300A\u300B\uFE3D\uFE3E\u3008\u3009\uFE3F\uFE40\u300C\u300D\uFE41\uFE42\u300E\u300F\uFE43\uFE44\uFE59\uFE5A"],["a1a1","\uFE5B\uFE5C\uFE5D\uFE5E\u2018\u2019\u201C\u201D\u301D\u301E\u2035\u2032\uFF03\uFF06\uFF0A\u203B\xA7\u3003\u25CB\u25CF\u25B3\u25B2\u25CE\u2606\u2605\u25C7\u25C6\u25A1\u25A0\u25BD\u25BC\u32A3\u2105\xAF\uFFE3\uFF3F\u02CD\uFE49\uFE4A\uFE4D\uFE4E\uFE4B\uFE4C\uFE5F\uFE60\uFE61\uFF0B\uFF0D\xD7\xF7\xB1\u221A\uFF1C\uFF1E\uFF1D\u2266\u2267\u2260\u221E\u2252\u2261\uFE62",4,"\uFF5E\u2229\u222A\u22A5\u2220\u221F\u22BF\u33D2\u33D1\u222B\u222E\u2235\u2234\u2640\u2642\u2295\u2299\u2191\u2193\u2190\u2192\u2196\u2197\u2199\u2198\u2225\u2223\uFF0F"],["a240","\uFF3C\u2215\uFE68\uFF04\uFFE5\u3012\uFFE0\uFFE1\uFF05\uFF20\u2103\u2109\uFE69\uFE6A\uFE6B\u33D5\u339C\u339D\u339E\u33CE\u33A1\u338E\u338F\u33C4\xB0\u5159\u515B\u515E\u515D\u5161\u5163\u55E7\u74E9\u7CCE\u2581",7,"\u258F\u258E\u258D\u258C\u258B\u258A\u2589\u253C\u2534\u252C\u2524\u251C\u2594\u2500\u2502\u2595\u250C\u2510\u2514\u2518\u256D"],["a2a1","\u256E\u2570\u256F\u2550\u255E\u256A\u2561\u25E2\u25E3\u25E5\u25E4\u2571\u2572\u2573\uFF10",9,"\u2160",9,"\u3021",8,"\u5341\u5344\u5345\uFF21",25,"\uFF41",21],["a340","\uFF57\uFF58\uFF59\uFF5A\u0391",16,"\u03A3",6,"\u03B1",16,"\u03C3",6,"\u3105",10],["a3a1","\u3110",25,"\u02D9\u02C9\u02CA\u02C7\u02CB"],["a3e1","\u20AC"],["a440","\u4E00\u4E59\u4E01\u4E03\u4E43\u4E5D\u4E86\u4E8C\u4EBA\u513F\u5165\u516B\u51E0\u5200\u5201\u529B\u5315\u5341\u535C\u53C8\u4E09\u4E0B\u4E08\u4E0A\u4E2B\u4E38\u51E1\u4E45\u4E48\u4E5F\u4E5E\u4E8E\u4EA1\u5140\u5203\u52FA\u5343\u53C9\u53E3\u571F\u58EB\u5915\u5927\u5973\u5B50\u5B51\u5B53\u5BF8\u5C0F\u5C22\u5C38\u5C71\u5DDD\u5DE5\u5DF1\u5DF2\u5DF3\u5DFE\u5E72\u5EFE\u5F0B\u5F13\u624D"],["a4a1","\u4E11\u4E10\u4E0D\u4E2D\u4E30\u4E39\u4E4B\u5C39\u4E88\u4E91\u4E95\u4E92\u4E94\u4EA2\u4EC1\u4EC0\u4EC3\u4EC6\u4EC7\u4ECD\u4ECA\u4ECB\u4EC4\u5143\u5141\u5167\u516D\u516E\u516C\u5197\u51F6\u5206\u5207\u5208\u52FB\u52FE\u52FF\u5316\u5339\u5348\u5347\u5345\u535E\u5384\u53CB\u53CA\u53CD\u58EC\u5929\u592B\u592A\u592D\u5B54\u5C11\u5C24\u5C3A\u5C6F\u5DF4\u5E7B\u5EFF\u5F14\u5F15\u5FC3\u6208\u6236\u624B\u624E\u652F\u6587\u6597\u65A4\u65B9\u65E5\u66F0\u6708\u6728\u6B20\u6B62\u6B79\u6BCB\u6BD4\u6BDB\u6C0F\u6C34\u706B\u722A\u7236\u723B\u7247\u7259\u725B\u72AC\u738B\u4E19"],["a540","\u4E16\u4E15\u4E14\u4E18\u4E3B\u4E4D\u4E4F\u4E4E\u4EE5\u4ED8\u4ED4\u4ED5\u4ED6\u4ED7\u4EE3\u4EE4\u4ED9\u4EDE\u5145\u5144\u5189\u518A\u51AC\u51F9\u51FA\u51F8\u520A\u52A0\u529F\u5305\u5306\u5317\u531D\u4EDF\u534A\u5349\u5361\u5360\u536F\u536E\u53BB\u53EF\u53E4\u53F3\u53EC\u53EE\u53E9\u53E8\u53FC\u53F8\u53F5\u53EB\u53E6\u53EA\u53F2\u53F1\u53F0\u53E5\u53ED\u53FB\u56DB\u56DA\u5916"],["a5a1","\u592E\u5931\u5974\u5976\u5B55\u5B83\u5C3C\u5DE8\u5DE7\u5DE6\u5E02\u5E03\u5E73\u5E7C\u5F01\u5F18\u5F17\u5FC5\u620A\u6253\u6254\u6252\u6251\u65A5\u65E6\u672E\u672C\u672A\u672B\u672D\u6B63\u6BCD\u6C11\u6C10\u6C38\u6C41\u6C40\u6C3E\u72AF\u7384\u7389\u74DC\u74E6\u7518\u751F\u7528\u7529\u7530\u7531\u7532\u7533\u758B\u767D\u76AE\u76BF\u76EE\u77DB\u77E2\u77F3\u793A\u79BE\u7A74\u7ACB\u4E1E\u4E1F\u4E52\u4E53\u4E69\u4E99\u4EA4\u4EA6\u4EA5\u4EFF\u4F09\u4F19\u4F0A\u4F15\u4F0D\u4F10\u4F11\u4F0F\u4EF2\u4EF6\u4EFB\u4EF0\u4EF3\u4EFD\u4F01\u4F0B\u5149\u5147\u5146\u5148\u5168"],["a640","\u5171\u518D\u51B0\u5217\u5211\u5212\u520E\u5216\u52A3\u5308\u5321\u5320\u5370\u5371\u5409\u540F\u540C\u540A\u5410\u5401\u540B\u5404\u5411\u540D\u5408\u5403\u540E\u5406\u5412\u56E0\u56DE\u56DD\u5733\u5730\u5728\u572D\u572C\u572F\u5729\u5919\u591A\u5937\u5938\u5984\u5978\u5983\u597D\u5979\u5982\u5981\u5B57\u5B58\u5B87\u5B88\u5B85\u5B89\u5BFA\u5C16\u5C79\u5DDE\u5E06\u5E76\u5E74"],["a6a1","\u5F0F\u5F1B\u5FD9\u5FD6\u620E\u620C\u620D\u6210\u6263\u625B\u6258\u6536\u65E9\u65E8\u65EC\u65ED\u66F2\u66F3\u6709\u673D\u6734\u6731\u6735\u6B21\u6B64\u6B7B\u6C16\u6C5D\u6C57\u6C59\u6C5F\u6C60\u6C50\u6C55\u6C61\u6C5B\u6C4D\u6C4E\u7070\u725F\u725D\u767E\u7AF9\u7C73\u7CF8\u7F36\u7F8A\u7FBD\u8001\u8003\u800C\u8012\u8033\u807F\u8089\u808B\u808C\u81E3\u81EA\u81F3\u81FC\u820C\u821B\u821F\u826E\u8272\u827E\u866B\u8840\u884C\u8863\u897F\u9621\u4E32\u4EA8\u4F4D\u4F4F\u4F47\u4F57\u4F5E\u4F34\u4F5B\u4F55\u4F30\u4F50\u4F51\u4F3D\u4F3A\u4F38\u4F43\u4F54\u4F3C\u4F46\u4F63"],["a740","\u4F5C\u4F60\u4F2F\u4F4E\u4F36\u4F59\u4F5D\u4F48\u4F5A\u514C\u514B\u514D\u5175\u51B6\u51B7\u5225\u5224\u5229\u522A\u5228\u52AB\u52A9\u52AA\u52AC\u5323\u5373\u5375\u541D\u542D\u541E\u543E\u5426\u544E\u5427\u5446\u5443\u5433\u5448\u5442\u541B\u5429\u544A\u5439\u543B\u5438\u542E\u5435\u5436\u5420\u543C\u5440\u5431\u542B\u541F\u542C\u56EA\u56F0\u56E4\u56EB\u574A\u5751\u5740\u574D"],["a7a1","\u5747\u574E\u573E\u5750\u574F\u573B\u58EF\u593E\u599D\u5992\u59A8\u599E\u59A3\u5999\u5996\u598D\u59A4\u5993\u598A\u59A5\u5B5D\u5B5C\u5B5A\u5B5B\u5B8C\u5B8B\u5B8F\u5C2C\u5C40\u5C41\u5C3F\u5C3E\u5C90\u5C91\u5C94\u5C8C\u5DEB\u5E0C\u5E8F\u5E87\u5E8A\u5EF7\u5F04\u5F1F\u5F64\u5F62\u5F77\u5F79\u5FD8\u5FCC\u5FD7\u5FCD\u5FF1\u5FEB\u5FF8\u5FEA\u6212\u6211\u6284\u6297\u6296\u6280\u6276\u6289\u626D\u628A\u627C\u627E\u6279\u6273\u6292\u626F\u6298\u626E\u6295\u6293\u6291\u6286\u6539\u653B\u6538\u65F1\u66F4\u675F\u674E\u674F\u6750\u6751\u675C\u6756\u675E\u6749\u6746\u6760"],["a840","\u6753\u6757\u6B65\u6BCF\u6C42\u6C5E\u6C99\u6C81\u6C88\u6C89\u6C85\u6C9B\u6C6A\u6C7A\u6C90\u6C70\u6C8C\u6C68\u6C96\u6C92\u6C7D\u6C83\u6C72\u6C7E\u6C74\u6C86\u6C76\u6C8D\u6C94\u6C98\u6C82\u7076\u707C\u707D\u7078\u7262\u7261\u7260\u72C4\u72C2\u7396\u752C\u752B\u7537\u7538\u7682\u76EF\u77E3\u79C1\u79C0\u79BF\u7A76\u7CFB\u7F55\u8096\u8093\u809D\u8098\u809B\u809A\u80B2\u826F\u8292"],["a8a1","\u828B\u828D\u898B\u89D2\u8A00\u8C37\u8C46\u8C55\u8C9D\u8D64\u8D70\u8DB3\u8EAB\u8ECA\u8F9B\u8FB0\u8FC2\u8FC6\u8FC5\u8FC4\u5DE1\u9091\u90A2\u90AA\u90A6\u90A3\u9149\u91C6\u91CC\u9632\u962E\u9631\u962A\u962C\u4E26\u4E56\u4E73\u4E8B\u4E9B\u4E9E\u4EAB\u4EAC\u4F6F\u4F9D\u4F8D\u4F73\u4F7F\u4F6C\u4F9B\u4F8B\u4F86\u4F83\u4F70\u4F75\u4F88\u4F69\u4F7B\u4F96\u4F7E\u4F8F\u4F91\u4F7A\u5154\u5152\u5155\u5169\u5177\u5176\u5178\u51BD\u51FD\u523B\u5238\u5237\u523A\u5230\u522E\u5236\u5241\u52BE\u52BB\u5352\u5354\u5353\u5351\u5366\u5377\u5378\u5379\u53D6\u53D4\u53D7\u5473\u5475"],["a940","\u5496\u5478\u5495\u5480\u547B\u5477\u5484\u5492\u5486\u547C\u5490\u5471\u5476\u548C\u549A\u5462\u5468\u548B\u547D\u548E\u56FA\u5783\u5777\u576A\u5769\u5761\u5766\u5764\u577C\u591C\u5949\u5947\u5948\u5944\u5954\u59BE\u59BB\u59D4\u59B9\u59AE\u59D1\u59C6\u59D0\u59CD\u59CB\u59D3\u59CA\u59AF\u59B3\u59D2\u59C5\u5B5F\u5B64\u5B63\u5B97\u5B9A\u5B98\u5B9C\u5B99\u5B9B\u5C1A\u5C48\u5C45"],["a9a1","\u5C46\u5CB7\u5CA1\u5CB8\u5CA9\u5CAB\u5CB1\u5CB3\u5E18\u5E1A\u5E16\u5E15\u5E1B\u5E11\u5E78\u5E9A\u5E97\u5E9C\u5E95\u5E96\u5EF6\u5F26\u5F27\u5F29\u5F80\u5F81\u5F7F\u5F7C\u5FDD\u5FE0\u5FFD\u5FF5\u5FFF\u600F\u6014\u602F\u6035\u6016\u602A\u6015\u6021\u6027\u6029\u602B\u601B\u6216\u6215\u623F\u623E\u6240\u627F\u62C9\u62CC\u62C4\u62BF\u62C2\u62B9\u62D2\u62DB\u62AB\u62D3\u62D4\u62CB\u62C8\u62A8\u62BD\u62BC\u62D0\u62D9\u62C7\u62CD\u62B5\u62DA\u62B1\u62D8\u62D6\u62D7\u62C6\u62AC\u62CE\u653E\u65A7\u65BC\u65FA\u6614\u6613\u660C\u6606\u6602\u660E\u6600\u660F\u6615\u660A"],["aa40","\u6607\u670D\u670B\u676D\u678B\u6795\u6771\u679C\u6773\u6777\u6787\u679D\u6797\u676F\u6770\u677F\u6789\u677E\u6790\u6775\u679A\u6793\u677C\u676A\u6772\u6B23\u6B66\u6B67\u6B7F\u6C13\u6C1B\u6CE3\u6CE8\u6CF3\u6CB1\u6CCC\u6CE5\u6CB3\u6CBD\u6CBE\u6CBC\u6CE2\u6CAB\u6CD5\u6CD3\u6CB8\u6CC4\u6CB9\u6CC1\u6CAE\u6CD7\u6CC5\u6CF1\u6CBF\u6CBB\u6CE1\u6CDB\u6CCA\u6CAC\u6CEF\u6CDC\u6CD6\u6CE0"],["aaa1","\u7095\u708E\u7092\u708A\u7099\u722C\u722D\u7238\u7248\u7267\u7269\u72C0\u72CE\u72D9\u72D7\u72D0\u73A9\u73A8\u739F\u73AB\u73A5\u753D\u759D\u7599\u759A\u7684\u76C2\u76F2\u76F4\u77E5\u77FD\u793E\u7940\u7941\u79C9\u79C8\u7A7A\u7A79\u7AFA\u7CFE\u7F54\u7F8C\u7F8B\u8005\u80BA\u80A5\u80A2\u80B1\u80A1\u80AB\u80A9\u80B4\u80AA\u80AF\u81E5\u81FE\u820D\u82B3\u829D\u8299\u82AD\u82BD\u829F\u82B9\u82B1\u82AC\u82A5\u82AF\u82B8\u82A3\u82B0\u82BE\u82B7\u864E\u8671\u521D\u8868\u8ECB\u8FCE\u8FD4\u8FD1\u90B5\u90B8\u90B1\u90B6\u91C7\u91D1\u9577\u9580\u961C\u9640\u963F\u963B\u9644"],["ab40","\u9642\u96B9\u96E8\u9752\u975E\u4E9F\u4EAD\u4EAE\u4FE1\u4FB5\u4FAF\u4FBF\u4FE0\u4FD1\u4FCF\u4FDD\u4FC3\u4FB6\u4FD8\u4FDF\u4FCA\u4FD7\u4FAE\u4FD0\u4FC4\u4FC2\u4FDA\u4FCE\u4FDE\u4FB7\u5157\u5192\u5191\u51A0\u524E\u5243\u524A\u524D\u524C\u524B\u5247\u52C7\u52C9\u52C3\u52C1\u530D\u5357\u537B\u539A\u53DB\u54AC\u54C0\u54A8\u54CE\u54C9\u54B8\u54A6\u54B3\u54C7\u54C2\u54BD\u54AA\u54C1"],["aba1","\u54C4\u54C8\u54AF\u54AB\u54B1\u54BB\u54A9\u54A7\u54BF\u56FF\u5782\u578B\u57A0\u57A3\u57A2\u57CE\u57AE\u5793\u5955\u5951\u594F\u594E\u5950\u59DC\u59D8\u59FF\u59E3\u59E8\u5A03\u59E5\u59EA\u59DA\u59E6\u5A01\u59FB\u5B69\u5BA3\u5BA6\u5BA4\u5BA2\u5BA5\u5C01\u5C4E\u5C4F\u5C4D\u5C4B\u5CD9\u5CD2\u5DF7\u5E1D\u5E25\u5E1F\u5E7D\u5EA0\u5EA6\u5EFA\u5F08\u5F2D\u5F65\u5F88\u5F85\u5F8A\u5F8B\u5F87\u5F8C\u5F89\u6012\u601D\u6020\u6025\u600E\u6028\u604D\u6070\u6068\u6062\u6046\u6043\u606C\u606B\u606A\u6064\u6241\u62DC\u6316\u6309\u62FC\u62ED\u6301\u62EE\u62FD\u6307\u62F1\u62F7"],["ac40","\u62EF\u62EC\u62FE\u62F4\u6311\u6302\u653F\u6545\u65AB\u65BD\u65E2\u6625\u662D\u6620\u6627\u662F\u661F\u6628\u6631\u6624\u66F7\u67FF\u67D3\u67F1\u67D4\u67D0\u67EC\u67B6\u67AF\u67F5\u67E9\u67EF\u67C4\u67D1\u67B4\u67DA\u67E5\u67B8\u67CF\u67DE\u67F3\u67B0\u67D9\u67E2\u67DD\u67D2\u6B6A\u6B83\u6B86\u6BB5\u6BD2\u6BD7\u6C1F\u6CC9\u6D0B\u6D32\u6D2A\u6D41\u6D25\u6D0C\u6D31\u6D1E\u6D17"],["aca1","\u6D3B\u6D3D\u6D3E\u6D36\u6D1B\u6CF5\u6D39\u6D27\u6D38\u6D29\u6D2E\u6D35\u6D0E\u6D2B\u70AB\u70BA\u70B3\u70AC\u70AF\u70AD\u70B8\u70AE\u70A4\u7230\u7272\u726F\u7274\u72E9\u72E0\u72E1\u73B7\u73CA\u73BB\u73B2\u73CD\u73C0\u73B3\u751A\u752D\u754F\u754C\u754E\u754B\u75AB\u75A4\u75A5\u75A2\u75A3\u7678\u7686\u7687\u7688\u76C8\u76C6\u76C3\u76C5\u7701\u76F9\u76F8\u7709\u770B\u76FE\u76FC\u7707\u77DC\u7802\u7814\u780C\u780D\u7946\u7949\u7948\u7947\u79B9\u79BA\u79D1\u79D2\u79CB\u7A7F\u7A81\u7AFF\u7AFD\u7C7D\u7D02\u7D05\u7D00\u7D09\u7D07\u7D04\u7D06\u7F38\u7F8E\u7FBF\u8004"],["ad40","\u8010\u800D\u8011\u8036\u80D6\u80E5\u80DA\u80C3\u80C4\u80CC\u80E1\u80DB\u80CE\u80DE\u80E4\u80DD\u81F4\u8222\u82E7\u8303\u8305\u82E3\u82DB\u82E6\u8304\u82E5\u8302\u8309\u82D2\u82D7\u82F1\u8301\u82DC\u82D4\u82D1\u82DE\u82D3\u82DF\u82EF\u8306\u8650\u8679\u867B\u867A\u884D\u886B\u8981\u89D4\u8A08\u8A02\u8A03\u8C9E\u8CA0\u8D74\u8D73\u8DB4\u8ECD\u8ECC\u8FF0\u8FE6\u8FE2\u8FEA\u8FE5"],["ada1","\u8FED\u8FEB\u8FE4\u8FE8\u90CA\u90CE\u90C1\u90C3\u914B\u914A\u91CD\u9582\u9650\u964B\u964C\u964D\u9762\u9769\u97CB\u97ED\u97F3\u9801\u98A8\u98DB\u98DF\u9996\u9999\u4E58\u4EB3\u500C\u500D\u5023\u4FEF\u5026\u5025\u4FF8\u5029\u5016\u5006\u503C\u501F\u501A\u5012\u5011\u4FFA\u5000\u5014\u5028\u4FF1\u5021\u500B\u5019\u5018\u4FF3\u4FEE\u502D\u502A\u4FFE\u502B\u5009\u517C\u51A4\u51A5\u51A2\u51CD\u51CC\u51C6\u51CB\u5256\u525C\u5254\u525B\u525D\u532A\u537F\u539F\u539D\u53DF\u54E8\u5510\u5501\u5537\u54FC\u54E5\u54F2\u5506\u54FA\u5514\u54E9\u54ED\u54E1\u5509\u54EE\u54EA"],["ae40","\u54E6\u5527\u5507\u54FD\u550F\u5703\u5704\u57C2\u57D4\u57CB\u57C3\u5809\u590F\u5957\u5958\u595A\u5A11\u5A18\u5A1C\u5A1F\u5A1B\u5A13\u59EC\u5A20\u5A23\u5A29\u5A25\u5A0C\u5A09\u5B6B\u5C58\u5BB0\u5BB3\u5BB6\u5BB4\u5BAE\u5BB5\u5BB9\u5BB8\u5C04\u5C51\u5C55\u5C50\u5CED\u5CFD\u5CFB\u5CEA\u5CE8\u5CF0\u5CF6\u5D01\u5CF4\u5DEE\u5E2D\u5E2B\u5EAB\u5EAD\u5EA7\u5F31\u5F92\u5F91\u5F90\u6059"],["aea1","\u6063\u6065\u6050\u6055\u606D\u6069\u606F\u6084\u609F\u609A\u608D\u6094\u608C\u6085\u6096\u6247\u62F3\u6308\u62FF\u634E\u633E\u632F\u6355\u6342\u6346\u634F\u6349\u633A\u6350\u633D\u632A\u632B\u6328\u634D\u634C\u6548\u6549\u6599\u65C1\u65C5\u6642\u6649\u664F\u6643\u6652\u664C\u6645\u6641\u66F8\u6714\u6715\u6717\u6821\u6838\u6848\u6846\u6853\u6839\u6842\u6854\u6829\u68B3\u6817\u684C\u6851\u683D\u67F4\u6850\u6840\u683C\u6843\u682A\u6845\u6813\u6818\u6841\u6B8A\u6B89\u6BB7\u6C23\u6C27\u6C28\u6C26\u6C24\u6CF0\u6D6A\u6D95\u6D88\u6D87\u6D66\u6D78\u6D77\u6D59\u6D93"],["af40","\u6D6C\u6D89\u6D6E\u6D5A\u6D74\u6D69\u6D8C\u6D8A\u6D79\u6D85\u6D65\u6D94\u70CA\u70D8\u70E4\u70D9\u70C8\u70CF\u7239\u7279\u72FC\u72F9\u72FD\u72F8\u72F7\u7386\u73ED\u7409\u73EE\u73E0\u73EA\u73DE\u7554\u755D\u755C\u755A\u7559\u75BE\u75C5\u75C7\u75B2\u75B3\u75BD\u75BC\u75B9\u75C2\u75B8\u768B\u76B0\u76CA\u76CD\u76CE\u7729\u771F\u7720\u7728\u77E9\u7830\u7827\u7838\u781D\u7834\u7837"],["afa1","\u7825\u782D\u7820\u781F\u7832\u7955\u7950\u7960\u795F\u7956\u795E\u795D\u7957\u795A\u79E4\u79E3\u79E7\u79DF\u79E6\u79E9\u79D8\u7A84\u7A88\u7AD9\u7B06\u7B11\u7C89\u7D21\u7D17\u7D0B\u7D0A\u7D20\u7D22\u7D14\u7D10\u7D15\u7D1A\u7D1C\u7D0D\u7D19\u7D1B\u7F3A\u7F5F\u7F94\u7FC5\u7FC1\u8006\u8018\u8015\u8019\u8017\u803D\u803F\u80F1\u8102\u80F0\u8105\u80ED\u80F4\u8106\u80F8\u80F3\u8108\u80FD\u810A\u80FC\u80EF\u81ED\u81EC\u8200\u8210\u822A\u822B\u8228\u822C\u82BB\u832B\u8352\u8354\u834A\u8338\u8350\u8349\u8335\u8334\u834F\u8332\u8339\u8336\u8317\u8340\u8331\u8328\u8343"],["b040","\u8654\u868A\u86AA\u8693\u86A4\u86A9\u868C\u86A3\u869C\u8870\u8877\u8881\u8882\u887D\u8879\u8A18\u8A10\u8A0E\u8A0C\u8A15\u8A0A\u8A17\u8A13\u8A16\u8A0F\u8A11\u8C48\u8C7A\u8C79\u8CA1\u8CA2\u8D77\u8EAC\u8ED2\u8ED4\u8ECF\u8FB1\u9001\u9006\u8FF7\u9000\u8FFA\u8FF4\u9003\u8FFD\u9005\u8FF8\u9095\u90E1\u90DD\u90E2\u9152\u914D\u914C\u91D8\u91DD\u91D7\u91DC\u91D9\u9583\u9662\u9663\u9661"],["b0a1","\u965B\u965D\u9664\u9658\u965E\u96BB\u98E2\u99AC\u9AA8\u9AD8\u9B25\u9B32\u9B3C\u4E7E\u507A\u507D\u505C\u5047\u5043\u504C\u505A\u5049\u5065\u5076\u504E\u5055\u5075\u5074\u5077\u504F\u500F\u506F\u506D\u515C\u5195\u51F0\u526A\u526F\u52D2\u52D9\u52D8\u52D5\u5310\u530F\u5319\u533F\u5340\u533E\u53C3\u66FC\u5546\u556A\u5566\u5544\u555E\u5561\u5543\u554A\u5531\u5556\u554F\u5555\u552F\u5564\u5538\u552E\u555C\u552C\u5563\u5533\u5541\u5557\u5708\u570B\u5709\u57DF\u5805\u580A\u5806\u57E0\u57E4\u57FA\u5802\u5835\u57F7\u57F9\u5920\u5962\u5A36\u5A41\u5A49\u5A66\u5A6A\u5A40"],["b140","\u5A3C\u5A62\u5A5A\u5A46\u5A4A\u5B70\u5BC7\u5BC5\u5BC4\u5BC2\u5BBF\u5BC6\u5C09\u5C08\u5C07\u5C60\u5C5C\u5C5D\u5D07\u5D06\u5D0E\u5D1B\u5D16\u5D22\u5D11\u5D29\u5D14\u5D19\u5D24\u5D27\u5D17\u5DE2\u5E38\u5E36\u5E33\u5E37\u5EB7\u5EB8\u5EB6\u5EB5\u5EBE\u5F35\u5F37\u5F57\u5F6C\u5F69\u5F6B\u5F97\u5F99\u5F9E\u5F98\u5FA1\u5FA0\u5F9C\u607F\u60A3\u6089\u60A0\u60A8\u60CB\u60B4\u60E6\u60BD"],["b1a1","\u60C5\u60BB\u60B5\u60DC\u60BC\u60D8\u60D5\u60C6\u60DF\u60B8\u60DA\u60C7\u621A\u621B\u6248\u63A0\u63A7\u6372\u6396\u63A2\u63A5\u6377\u6367\u6398\u63AA\u6371\u63A9\u6389\u6383\u639B\u636B\u63A8\u6384\u6388\u6399\u63A1\u63AC\u6392\u638F\u6380\u637B\u6369\u6368\u637A\u655D\u6556\u6551\u6559\u6557\u555F\u654F\u6558\u6555\u6554\u659C\u659B\u65AC\u65CF\u65CB\u65CC\u65CE\u665D\u665A\u6664\u6668\u6666\u665E\u66F9\u52D7\u671B\u6881\u68AF\u68A2\u6893\u68B5\u687F\u6876\u68B1\u68A7\u6897\u68B0\u6883\u68C4\u68AD\u6886\u6885\u6894\u689D\u68A8\u689F\u68A1\u6882\u6B32\u6BBA"],["b240","\u6BEB\u6BEC\u6C2B\u6D8E\u6DBC\u6DF3\u6DD9\u6DB2\u6DE1\u6DCC\u6DE4\u6DFB\u6DFA\u6E05\u6DC7\u6DCB\u6DAF\u6DD1\u6DAE\u6DDE\u6DF9\u6DB8\u6DF7\u6DF5\u6DC5\u6DD2\u6E1A\u6DB5\u6DDA\u6DEB\u6DD8\u6DEA\u6DF1\u6DEE\u6DE8\u6DC6\u6DC4\u6DAA\u6DEC\u6DBF\u6DE6\u70F9\u7109\u710A\u70FD\u70EF\u723D\u727D\u7281\u731C\u731B\u7316\u7313\u7319\u7387\u7405\u740A\u7403\u7406\u73FE\u740D\u74E0\u74F6"],["b2a1","\u74F7\u751C\u7522\u7565\u7566\u7562\u7570\u758F\u75D4\u75D5\u75B5\u75CA\u75CD\u768E\u76D4\u76D2\u76DB\u7737\u773E\u773C\u7736\u7738\u773A\u786B\u7843\u784E\u7965\u7968\u796D\u79FB\u7A92\u7A95\u7B20\u7B28\u7B1B\u7B2C\u7B26\u7B19\u7B1E\u7B2E\u7C92\u7C97\u7C95\u7D46\u7D43\u7D71\u7D2E\u7D39\u7D3C\u7D40\u7D30\u7D33\u7D44\u7D2F\u7D42\u7D32\u7D31\u7F3D\u7F9E\u7F9A\u7FCC\u7FCE\u7FD2\u801C\u804A\u8046\u812F\u8116\u8123\u812B\u8129\u8130\u8124\u8202\u8235\u8237\u8236\u8239\u838E\u839E\u8398\u8378\u83A2\u8396\u83BD\u83AB\u8392\u838A\u8393\u8389\u83A0\u8377\u837B\u837C"],["b340","\u8386\u83A7\u8655\u5F6A\u86C7\u86C0\u86B6\u86C4\u86B5\u86C6\u86CB\u86B1\u86AF\u86C9\u8853\u889E\u8888\u88AB\u8892\u8896\u888D\u888B\u8993\u898F\u8A2A\u8A1D\u8A23\u8A25\u8A31\u8A2D\u8A1F\u8A1B\u8A22\u8C49\u8C5A\u8CA9\u8CAC\u8CAB\u8CA8\u8CAA\u8CA7\u8D67\u8D66\u8DBE\u8DBA\u8EDB\u8EDF\u9019\u900D\u901A\u9017\u9023\u901F\u901D\u9010\u9015\u901E\u9020\u900F\u9022\u9016\u901B\u9014"],["b3a1","\u90E8\u90ED\u90FD\u9157\u91CE\u91F5\u91E6\u91E3\u91E7\u91ED\u91E9\u9589\u966A\u9675\u9673\u9678\u9670\u9674\u9676\u9677\u966C\u96C0\u96EA\u96E9\u7AE0\u7ADF\u9802\u9803\u9B5A\u9CE5\u9E75\u9E7F\u9EA5\u9EBB\u50A2\u508D\u5085\u5099\u5091\u5080\u5096\u5098\u509A\u6700\u51F1\u5272\u5274\u5275\u5269\u52DE\u52DD\u52DB\u535A\u53A5\u557B\u5580\u55A7\u557C\u558A\u559D\u5598\u5582\u559C\u55AA\u5594\u5587\u558B\u5583\u55B3\u55AE\u559F\u553E\u55B2\u559A\u55BB\u55AC\u55B1\u557E\u5589\u55AB\u5599\u570D\u582F\u582A\u5834\u5824\u5830\u5831\u5821\u581D\u5820\u58F9\u58FA\u5960"],["b440","\u5A77\u5A9A\u5A7F\u5A92\u5A9B\u5AA7\u5B73\u5B71\u5BD2\u5BCC\u5BD3\u5BD0\u5C0A\u5C0B\u5C31\u5D4C\u5D50\u5D34\u5D47\u5DFD\u5E45\u5E3D\u5E40\u5E43\u5E7E\u5ECA\u5EC1\u5EC2\u5EC4\u5F3C\u5F6D\u5FA9\u5FAA\u5FA8\u60D1\u60E1\u60B2\u60B6\u60E0\u611C\u6123\u60FA\u6115\u60F0\u60FB\u60F4\u6168\u60F1\u610E\u60F6\u6109\u6100\u6112\u621F\u6249\u63A3\u638C\u63CF\u63C0\u63E9\u63C9\u63C6\u63CD"],["b4a1","\u63D2\u63E3\u63D0\u63E1\u63D6\u63ED\u63EE\u6376\u63F4\u63EA\u63DB\u6452\u63DA\u63F9\u655E\u6566\u6562\u6563\u6591\u6590\u65AF\u666E\u6670\u6674\u6676\u666F\u6691\u667A\u667E\u6677\u66FE\u66FF\u671F\u671D\u68FA\u68D5\u68E0\u68D8\u68D7\u6905\u68DF\u68F5\u68EE\u68E7\u68F9\u68D2\u68F2\u68E3\u68CB\u68CD\u690D\u6912\u690E\u68C9\u68DA\u696E\u68FB\u6B3E\u6B3A\u6B3D\u6B98\u6B96\u6BBC\u6BEF\u6C2E\u6C2F\u6C2C\u6E2F\u6E38\u6E54\u6E21\u6E32\u6E67\u6E4A\u6E20\u6E25\u6E23\u6E1B\u6E5B\u6E58\u6E24\u6E56\u6E6E\u6E2D\u6E26\u6E6F\u6E34\u6E4D\u6E3A\u6E2C\u6E43\u6E1D\u6E3E\u6ECB"],["b540","\u6E89\u6E19\u6E4E\u6E63\u6E44\u6E72\u6E69\u6E5F\u7119\u711A\u7126\u7130\u7121\u7136\u716E\u711C\u724C\u7284\u7280\u7336\u7325\u7334\u7329\u743A\u742A\u7433\u7422\u7425\u7435\u7436\u7434\u742F\u741B\u7426\u7428\u7525\u7526\u756B\u756A\u75E2\u75DB\u75E3\u75D9\u75D8\u75DE\u75E0\u767B\u767C\u7696\u7693\u76B4\u76DC\u774F\u77ED\u785D\u786C\u786F\u7A0D\u7A08\u7A0B\u7A05\u7A00\u7A98"],["b5a1","\u7A97\u7A96\u7AE5\u7AE3\u7B49\u7B56\u7B46\u7B50\u7B52\u7B54\u7B4D\u7B4B\u7B4F\u7B51\u7C9F\u7CA5\u7D5E\u7D50\u7D68\u7D55\u7D2B\u7D6E\u7D72\u7D61\u7D66\u7D62\u7D70\u7D73\u5584\u7FD4\u7FD5\u800B\u8052\u8085\u8155\u8154\u814B\u8151\u814E\u8139\u8146\u813E\u814C\u8153\u8174\u8212\u821C\u83E9\u8403\u83F8\u840D\u83E0\u83C5\u840B\u83C1\u83EF\u83F1\u83F4\u8457\u840A\u83F0\u840C\u83CC\u83FD\u83F2\u83CA\u8438\u840E\u8404\u83DC\u8407\u83D4\u83DF\u865B\u86DF\u86D9\u86ED\u86D4\u86DB\u86E4\u86D0\u86DE\u8857\u88C1\u88C2\u88B1\u8983\u8996\u8A3B\u8A60\u8A55\u8A5E\u8A3C\u8A41"],["b640","\u8A54\u8A5B\u8A50\u8A46\u8A34\u8A3A\u8A36\u8A56\u8C61\u8C82\u8CAF\u8CBC\u8CB3\u8CBD\u8CC1\u8CBB\u8CC0\u8CB4\u8CB7\u8CB6\u8CBF\u8CB8\u8D8A\u8D85\u8D81\u8DCE\u8DDD\u8DCB\u8DDA\u8DD1\u8DCC\u8DDB\u8DC6\u8EFB\u8EF8\u8EFC\u8F9C\u902E\u9035\u9031\u9038\u9032\u9036\u9102\u90F5\u9109\u90FE\u9163\u9165\u91CF\u9214\u9215\u9223\u9209\u921E\u920D\u9210\u9207\u9211\u9594\u958F\u958B\u9591"],["b6a1","\u9593\u9592\u958E\u968A\u968E\u968B\u967D\u9685\u9686\u968D\u9672\u9684\u96C1\u96C5\u96C4\u96C6\u96C7\u96EF\u96F2\u97CC\u9805\u9806\u9808\u98E7\u98EA\u98EF\u98E9\u98F2\u98ED\u99AE\u99AD\u9EC3\u9ECD\u9ED1\u4E82\u50AD\u50B5\u50B2\u50B3\u50C5\u50BE\u50AC\u50B7\u50BB\u50AF\u50C7\u527F\u5277\u527D\u52DF\u52E6\u52E4\u52E2\u52E3\u532F\u55DF\u55E8\u55D3\u55E6\u55CE\u55DC\u55C7\u55D1\u55E3\u55E4\u55EF\u55DA\u55E1\u55C5\u55C6\u55E5\u55C9\u5712\u5713\u585E\u5851\u5858\u5857\u585A\u5854\u586B\u584C\u586D\u584A\u5862\u5852\u584B\u5967\u5AC1\u5AC9\u5ACC\u5ABE\u5ABD\u5ABC"],["b740","\u5AB3\u5AC2\u5AB2\u5D69\u5D6F\u5E4C\u5E79\u5EC9\u5EC8\u5F12\u5F59\u5FAC\u5FAE\u611A\u610F\u6148\u611F\u60F3\u611B\u60F9\u6101\u6108\u614E\u614C\u6144\u614D\u613E\u6134\u6127\u610D\u6106\u6137\u6221\u6222\u6413\u643E\u641E\u642A\u642D\u643D\u642C\u640F\u641C\u6414\u640D\u6436\u6416\u6417\u6406\u656C\u659F\u65B0\u6697\u6689\u6687\u6688\u6696\u6684\u6698\u668D\u6703\u6994\u696D"],["b7a1","\u695A\u6977\u6960\u6954\u6975\u6930\u6982\u694A\u6968\u696B\u695E\u6953\u6979\u6986\u695D\u6963\u695B\u6B47\u6B72\u6BC0\u6BBF\u6BD3\u6BFD\u6EA2\u6EAF\u6ED3\u6EB6\u6EC2\u6E90\u6E9D\u6EC7\u6EC5\u6EA5\u6E98\u6EBC\u6EBA\u6EAB\u6ED1\u6E96\u6E9C\u6EC4\u6ED4\u6EAA\u6EA7\u6EB4\u714E\u7159\u7169\u7164\u7149\u7167\u715C\u716C\u7166\u714C\u7165\u715E\u7146\u7168\u7156\u723A\u7252\u7337\u7345\u733F\u733E\u746F\u745A\u7455\u745F\u745E\u7441\u743F\u7459\u745B\u745C\u7576\u7578\u7600\u75F0\u7601\u75F2\u75F1\u75FA\u75FF\u75F4\u75F3\u76DE\u76DF\u775B\u776B\u7766\u775E\u7763"],["b840","\u7779\u776A\u776C\u775C\u7765\u7768\u7762\u77EE\u788E\u78B0\u7897\u7898\u788C\u7889\u787C\u7891\u7893\u787F\u797A\u797F\u7981\u842C\u79BD\u7A1C\u7A1A\u7A20\u7A14\u7A1F\u7A1E\u7A9F\u7AA0\u7B77\u7BC0\u7B60\u7B6E\u7B67\u7CB1\u7CB3\u7CB5\u7D93\u7D79\u7D91\u7D81\u7D8F\u7D5B\u7F6E\u7F69\u7F6A\u7F72\u7FA9\u7FA8\u7FA4\u8056\u8058\u8086\u8084\u8171\u8170\u8178\u8165\u816E\u8173\u816B"],["b8a1","\u8179\u817A\u8166\u8205\u8247\u8482\u8477\u843D\u8431\u8475\u8466\u846B\u8449\u846C\u845B\u843C\u8435\u8461\u8463\u8469\u846D\u8446\u865E\u865C\u865F\u86F9\u8713\u8708\u8707\u8700\u86FE\u86FB\u8702\u8703\u8706\u870A\u8859\u88DF\u88D4\u88D9\u88DC\u88D8\u88DD\u88E1\u88CA\u88D5\u88D2\u899C\u89E3\u8A6B\u8A72\u8A73\u8A66\u8A69\u8A70\u8A87\u8A7C\u8A63\u8AA0\u8A71\u8A85\u8A6D\u8A62\u8A6E\u8A6C\u8A79\u8A7B\u8A3E\u8A68\u8C62\u8C8A\u8C89\u8CCA\u8CC7\u8CC8\u8CC4\u8CB2\u8CC3\u8CC2\u8CC5\u8DE1\u8DDF\u8DE8\u8DEF\u8DF3\u8DFA\u8DEA\u8DE4\u8DE6\u8EB2\u8F03\u8F09\u8EFE\u8F0A"],["b940","\u8F9F\u8FB2\u904B\u904A\u9053\u9042\u9054\u903C\u9055\u9050\u9047\u904F\u904E\u904D\u9051\u903E\u9041\u9112\u9117\u916C\u916A\u9169\u91C9\u9237\u9257\u9238\u923D\u9240\u923E\u925B\u924B\u9264\u9251\u9234\u9249\u924D\u9245\u9239\u923F\u925A\u9598\u9698\u9694\u9695\u96CD\u96CB\u96C9\u96CA\u96F7\u96FB\u96F9\u96F6\u9756\u9774\u9776\u9810\u9811\u9813\u980A\u9812\u980C\u98FC\u98F4"],["b9a1","\u98FD\u98FE\u99B3\u99B1\u99B4\u9AE1\u9CE9\u9E82\u9F0E\u9F13\u9F20\u50E7\u50EE\u50E5\u50D6\u50ED\u50DA\u50D5\u50CF\u50D1\u50F1\u50CE\u50E9\u5162\u51F3\u5283\u5282\u5331\u53AD\u55FE\u5600\u561B\u5617\u55FD\u5614\u5606\u5609\u560D\u560E\u55F7\u5616\u561F\u5608\u5610\u55F6\u5718\u5716\u5875\u587E\u5883\u5893\u588A\u5879\u5885\u587D\u58FD\u5925\u5922\u5924\u596A\u5969\u5AE1\u5AE6\u5AE9\u5AD7\u5AD6\u5AD8\u5AE3\u5B75\u5BDE\u5BE7\u5BE1\u5BE5\u5BE6\u5BE8\u5BE2\u5BE4\u5BDF\u5C0D\u5C62\u5D84\u5D87\u5E5B\u5E63\u5E55\u5E57\u5E54\u5ED3\u5ED6\u5F0A\u5F46\u5F70\u5FB9\u6147"],["ba40","\u613F\u614B\u6177\u6162\u6163\u615F\u615A\u6158\u6175\u622A\u6487\u6458\u6454\u64A4\u6478\u645F\u647A\u6451\u6467\u6434\u646D\u647B\u6572\u65A1\u65D7\u65D6\u66A2\u66A8\u669D\u699C\u69A8\u6995\u69C1\u69AE\u69D3\u69CB\u699B\u69B7\u69BB\u69AB\u69B4\u69D0\u69CD\u69AD\u69CC\u69A6\u69C3\u69A3\u6B49\u6B4C\u6C33\u6F33\u6F14\u6EFE\u6F13\u6EF4\u6F29\u6F3E\u6F20\u6F2C\u6F0F\u6F02\u6F22"],["baa1","\u6EFF\u6EEF\u6F06\u6F31\u6F38\u6F32\u6F23\u6F15\u6F2B\u6F2F\u6F88\u6F2A\u6EEC\u6F01\u6EF2\u6ECC\u6EF7\u7194\u7199\u717D\u718A\u7184\u7192\u723E\u7292\u7296\u7344\u7350\u7464\u7463\u746A\u7470\u746D\u7504\u7591\u7627\u760D\u760B\u7609\u7613\u76E1\u76E3\u7784\u777D\u777F\u7761\u78C1\u789F\u78A7\u78B3\u78A9\u78A3\u798E\u798F\u798D\u7A2E\u7A31\u7AAA\u7AA9\u7AED\u7AEF\u7BA1\u7B95\u7B8B\u7B75\u7B97\u7B9D\u7B94\u7B8F\u7BB8\u7B87\u7B84\u7CB9\u7CBD\u7CBE\u7DBB\u7DB0\u7D9C\u7DBD\u7DBE\u7DA0\u7DCA\u7DB4\u7DB2\u7DB1\u7DBA\u7DA2\u7DBF\u7DB5\u7DB8\u7DAD\u7DD2\u7DC7\u7DAC"],["bb40","\u7F70\u7FE0\u7FE1\u7FDF\u805E\u805A\u8087\u8150\u8180\u818F\u8188\u818A\u817F\u8182\u81E7\u81FA\u8207\u8214\u821E\u824B\u84C9\u84BF\u84C6\u84C4\u8499\u849E\u84B2\u849C\u84CB\u84B8\u84C0\u84D3\u8490\u84BC\u84D1\u84CA\u873F\u871C\u873B\u8722\u8725\u8734\u8718\u8755\u8737\u8729\u88F3\u8902\u88F4\u88F9\u88F8\u88FD\u88E8\u891A\u88EF\u8AA6\u8A8C\u8A9E\u8AA3\u8A8D\u8AA1\u8A93\u8AA4"],["bba1","\u8AAA\u8AA5\u8AA8\u8A98\u8A91\u8A9A\u8AA7\u8C6A\u8C8D\u8C8C\u8CD3\u8CD1\u8CD2\u8D6B\u8D99\u8D95\u8DFC\u8F14\u8F12\u8F15\u8F13\u8FA3\u9060\u9058\u905C\u9063\u9059\u905E\u9062\u905D\u905B\u9119\u9118\u911E\u9175\u9178\u9177\u9174\u9278\u9280\u9285\u9298\u9296\u927B\u9293\u929C\u92A8\u927C\u9291\u95A1\u95A8\u95A9\u95A3\u95A5\u95A4\u9699\u969C\u969B\u96CC\u96D2\u9700\u977C\u9785\u97F6\u9817\u9818\u98AF\u98B1\u9903\u9905\u990C\u9909\u99C1\u9AAF\u9AB0\u9AE6\u9B41\u9B42\u9CF4\u9CF6\u9CF3\u9EBC\u9F3B\u9F4A\u5104\u5100\u50FB\u50F5\u50F9\u5102\u5108\u5109\u5105\u51DC"],["bc40","\u5287\u5288\u5289\u528D\u528A\u52F0\u53B2\u562E\u563B\u5639\u5632\u563F\u5634\u5629\u5653\u564E\u5657\u5674\u5636\u562F\u5630\u5880\u589F\u589E\u58B3\u589C\u58AE\u58A9\u58A6\u596D\u5B09\u5AFB\u5B0B\u5AF5\u5B0C\u5B08\u5BEE\u5BEC\u5BE9\u5BEB\u5C64\u5C65\u5D9D\u5D94\u5E62\u5E5F\u5E61\u5EE2\u5EDA\u5EDF\u5EDD\u5EE3\u5EE0\u5F48\u5F71\u5FB7\u5FB5\u6176\u6167\u616E\u615D\u6155\u6182"],["bca1","\u617C\u6170\u616B\u617E\u61A7\u6190\u61AB\u618E\u61AC\u619A\u61A4\u6194\u61AE\u622E\u6469\u646F\u6479\u649E\u64B2\u6488\u6490\u64B0\u64A5\u6493\u6495\u64A9\u6492\u64AE\u64AD\u64AB\u649A\u64AC\u6499\u64A2\u64B3\u6575\u6577\u6578\u66AE\u66AB\u66B4\u66B1\u6A23\u6A1F\u69E8\u6A01\u6A1E\u6A19\u69FD\u6A21\u6A13\u6A0A\u69F3\u6A02\u6A05\u69ED\u6A11\u6B50\u6B4E\u6BA4\u6BC5\u6BC6\u6F3F\u6F7C\u6F84\u6F51\u6F66\u6F54\u6F86\u6F6D\u6F5B\u6F78\u6F6E\u6F8E\u6F7A\u6F70\u6F64\u6F97\u6F58\u6ED5\u6F6F\u6F60\u6F5F\u719F\u71AC\u71B1\u71A8\u7256\u729B\u734E\u7357\u7469\u748B\u7483"],["bd40","\u747E\u7480\u757F\u7620\u7629\u761F\u7624\u7626\u7621\u7622\u769A\u76BA\u76E4\u778E\u7787\u778C\u7791\u778B\u78CB\u78C5\u78BA\u78CA\u78BE\u78D5\u78BC\u78D0\u7A3F\u7A3C\u7A40\u7A3D\u7A37\u7A3B\u7AAF\u7AAE\u7BAD\u7BB1\u7BC4\u7BB4\u7BC6\u7BC7\u7BC1\u7BA0\u7BCC\u7CCA\u7DE0\u7DF4\u7DEF\u7DFB\u7DD8\u7DEC\u7DDD\u7DE8\u7DE3\u7DDA\u7DDE\u7DE9\u7D9E\u7DD9\u7DF2\u7DF9\u7F75\u7F77\u7FAF"],["bda1","\u7FE9\u8026\u819B\u819C\u819D\u81A0\u819A\u8198\u8517\u853D\u851A\u84EE\u852C\u852D\u8513\u8511\u8523\u8521\u8514\u84EC\u8525\u84FF\u8506\u8782\u8774\u8776\u8760\u8766\u8778\u8768\u8759\u8757\u874C\u8753\u885B\u885D\u8910\u8907\u8912\u8913\u8915\u890A\u8ABC\u8AD2\u8AC7\u8AC4\u8A95\u8ACB\u8AF8\u8AB2\u8AC9\u8AC2\u8ABF\u8AB0\u8AD6\u8ACD\u8AB6\u8AB9\u8ADB\u8C4C\u8C4E\u8C6C\u8CE0\u8CDE\u8CE6\u8CE4\u8CEC\u8CED\u8CE2\u8CE3\u8CDC\u8CEA\u8CE1\u8D6D\u8D9F\u8DA3\u8E2B\u8E10\u8E1D\u8E22\u8E0F\u8E29\u8E1F\u8E21\u8E1E\u8EBA\u8F1D\u8F1B\u8F1F\u8F29\u8F26\u8F2A\u8F1C\u8F1E"],["be40","\u8F25\u9069\u906E\u9068\u906D\u9077\u9130\u912D\u9127\u9131\u9187\u9189\u918B\u9183\u92C5\u92BB\u92B7\u92EA\u92AC\u92E4\u92C1\u92B3\u92BC\u92D2\u92C7\u92F0\u92B2\u95AD\u95B1\u9704\u9706\u9707\u9709\u9760\u978D\u978B\u978F\u9821\u982B\u981C\u98B3\u990A\u9913\u9912\u9918\u99DD\u99D0\u99DF\u99DB\u99D1\u99D5\u99D2\u99D9\u9AB7\u9AEE\u9AEF\u9B27\u9B45\u9B44\u9B77\u9B6F\u9D06\u9D09"],["bea1","\u9D03\u9EA9\u9EBE\u9ECE\u58A8\u9F52\u5112\u5118\u5114\u5110\u5115\u5180\u51AA\u51DD\u5291\u5293\u52F3\u5659\u566B\u5679\u5669\u5664\u5678\u566A\u5668\u5665\u5671\u566F\u566C\u5662\u5676\u58C1\u58BE\u58C7\u58C5\u596E\u5B1D\u5B34\u5B78\u5BF0\u5C0E\u5F4A\u61B2\u6191\u61A9\u618A\u61CD\u61B6\u61BE\u61CA\u61C8\u6230\u64C5\u64C1\u64CB\u64BB\u64BC\u64DA\u64C4\u64C7\u64C2\u64CD\u64BF\u64D2\u64D4\u64BE\u6574\u66C6\u66C9\u66B9\u66C4\u66C7\u66B8\u6A3D\u6A38\u6A3A\u6A59\u6A6B\u6A58\u6A39\u6A44\u6A62\u6A61\u6A4B\u6A47\u6A35\u6A5F\u6A48\u6B59\u6B77\u6C05\u6FC2\u6FB1\u6FA1"],["bf40","\u6FC3\u6FA4\u6FC1\u6FA7\u6FB3\u6FC0\u6FB9\u6FB6\u6FA6\u6FA0\u6FB4\u71BE\u71C9\u71D0\u71D2\u71C8\u71D5\u71B9\u71CE\u71D9\u71DC\u71C3\u71C4\u7368\u749C\u74A3\u7498\u749F\u749E\u74E2\u750C\u750D\u7634\u7638\u763A\u76E7\u76E5\u77A0\u779E\u779F\u77A5\u78E8\u78DA\u78EC\u78E7\u79A6\u7A4D\u7A4E\u7A46\u7A4C\u7A4B\u7ABA\u7BD9\u7C11\u7BC9\u7BE4\u7BDB\u7BE1\u7BE9\u7BE6\u7CD5\u7CD6\u7E0A"],["bfa1","\u7E11\u7E08\u7E1B\u7E23\u7E1E\u7E1D\u7E09\u7E10\u7F79\u7FB2\u7FF0\u7FF1\u7FEE\u8028\u81B3\u81A9\u81A8\u81FB\u8208\u8258\u8259\u854A\u8559\u8548\u8568\u8569\u8543\u8549\u856D\u856A\u855E\u8783\u879F\u879E\u87A2\u878D\u8861\u892A\u8932\u8925\u892B\u8921\u89AA\u89A6\u8AE6\u8AFA\u8AEB\u8AF1\u8B00\u8ADC\u8AE7\u8AEE\u8AFE\u8B01\u8B02\u8AF7\u8AED\u8AF3\u8AF6\u8AFC\u8C6B\u8C6D\u8C93\u8CF4\u8E44\u8E31\u8E34\u8E42\u8E39\u8E35\u8F3B\u8F2F\u8F38\u8F33\u8FA8\u8FA6\u9075\u9074\u9078\u9072\u907C\u907A\u9134\u9192\u9320\u9336\u92F8\u9333\u932F\u9322\u92FC\u932B\u9304\u931A"],["c040","\u9310\u9326\u9321\u9315\u932E\u9319\u95BB\u96A7\u96A8\u96AA\u96D5\u970E\u9711\u9716\u970D\u9713\u970F\u975B\u975C\u9766\u9798\u9830\u9838\u983B\u9837\u982D\u9839\u9824\u9910\u9928\u991E\u991B\u9921\u991A\u99ED\u99E2\u99F1\u9AB8\u9ABC\u9AFB\u9AED\u9B28\u9B91\u9D15\u9D23\u9D26\u9D28\u9D12\u9D1B\u9ED8\u9ED4\u9F8D\u9F9C\u512A\u511F\u5121\u5132\u52F5\u568E\u5680\u5690\u5685\u5687"],["c0a1","\u568F\u58D5\u58D3\u58D1\u58CE\u5B30\u5B2A\u5B24\u5B7A\u5C37\u5C68\u5DBC\u5DBA\u5DBD\u5DB8\u5E6B\u5F4C\u5FBD\u61C9\u61C2\u61C7\u61E6\u61CB\u6232\u6234\u64CE\u64CA\u64D8\u64E0\u64F0\u64E6\u64EC\u64F1\u64E2\u64ED\u6582\u6583\u66D9\u66D6\u6A80\u6A94\u6A84\u6AA2\u6A9C\u6ADB\u6AA3\u6A7E\u6A97\u6A90\u6AA0\u6B5C\u6BAE\u6BDA\u6C08\u6FD8\u6FF1\u6FDF\u6FE0\u6FDB\u6FE4\u6FEB\u6FEF\u6F80\u6FEC\u6FE1\u6FE9\u6FD5\u6FEE\u6FF0\u71E7\u71DF\u71EE\u71E6\u71E5\u71ED\u71EC\u71F4\u71E0\u7235\u7246\u7370\u7372\u74A9\u74B0\u74A6\u74A8\u7646\u7642\u764C\u76EA\u77B3\u77AA\u77B0\u77AC"],["c140","\u77A7\u77AD\u77EF\u78F7\u78FA\u78F4\u78EF\u7901\u79A7\u79AA\u7A57\u7ABF\u7C07\u7C0D\u7BFE\u7BF7\u7C0C\u7BE0\u7CE0\u7CDC\u7CDE\u7CE2\u7CDF\u7CD9\u7CDD\u7E2E\u7E3E\u7E46\u7E37\u7E32\u7E43\u7E2B\u7E3D\u7E31\u7E45\u7E41\u7E34\u7E39\u7E48\u7E35\u7E3F\u7E2F\u7F44\u7FF3\u7FFC\u8071\u8072\u8070\u806F\u8073\u81C6\u81C3\u81BA\u81C2\u81C0\u81BF\u81BD\u81C9\u81BE\u81E8\u8209\u8271\u85AA"],["c1a1","\u8584\u857E\u859C\u8591\u8594\u85AF\u859B\u8587\u85A8\u858A\u8667\u87C0\u87D1\u87B3\u87D2\u87C6\u87AB\u87BB\u87BA\u87C8\u87CB\u893B\u8936\u8944\u8938\u893D\u89AC\u8B0E\u8B17\u8B19\u8B1B\u8B0A\u8B20\u8B1D\u8B04\u8B10\u8C41\u8C3F\u8C73\u8CFA\u8CFD\u8CFC\u8CF8\u8CFB\u8DA8\u8E49\u8E4B\u8E48\u8E4A\u8F44\u8F3E\u8F42\u8F45\u8F3F\u907F\u907D\u9084\u9081\u9082\u9080\u9139\u91A3\u919E\u919C\u934D\u9382\u9328\u9375\u934A\u9365\u934B\u9318\u937E\u936C\u935B\u9370\u935A\u9354\u95CA\u95CB\u95CC\u95C8\u95C6\u96B1\u96B8\u96D6\u971C\u971E\u97A0\u97D3\u9846\u98B6\u9935\u9A01"],["c240","\u99FF\u9BAE\u9BAB\u9BAA\u9BAD\u9D3B\u9D3F\u9E8B\u9ECF\u9EDE\u9EDC\u9EDD\u9EDB\u9F3E\u9F4B\u53E2\u5695\u56AE\u58D9\u58D8\u5B38\u5F5D\u61E3\u6233\u64F4\u64F2\u64FE\u6506\u64FA\u64FB\u64F7\u65B7\u66DC\u6726\u6AB3\u6AAC\u6AC3\u6ABB\u6AB8\u6AC2\u6AAE\u6AAF\u6B5F\u6B78\u6BAF\u7009\u700B\u6FFE\u7006\u6FFA\u7011\u700F\u71FB\u71FC\u71FE\u71F8\u7377\u7375\u74A7\u74BF\u7515\u7656\u7658"],["c2a1","\u7652\u77BD\u77BF\u77BB\u77BC\u790E\u79AE\u7A61\u7A62\u7A60\u7AC4\u7AC5\u7C2B\u7C27\u7C2A\u7C1E\u7C23\u7C21\u7CE7\u7E54\u7E55\u7E5E\u7E5A\u7E61\u7E52\u7E59\u7F48\u7FF9\u7FFB\u8077\u8076\u81CD\u81CF\u820A\u85CF\u85A9\u85CD\u85D0\u85C9\u85B0\u85BA\u85B9\u85A6\u87EF\u87EC\u87F2\u87E0\u8986\u89B2\u89F4\u8B28\u8B39\u8B2C\u8B2B\u8C50\u8D05\u8E59\u8E63\u8E66\u8E64\u8E5F\u8E55\u8EC0\u8F49\u8F4D\u9087\u9083\u9088\u91AB\u91AC\u91D0\u9394\u938A\u9396\u93A2\u93B3\u93AE\u93AC\u93B0\u9398\u939A\u9397\u95D4\u95D6\u95D0\u95D5\u96E2\u96DC\u96D9\u96DB\u96DE\u9724\u97A3\u97A6"],["c340","\u97AD\u97F9\u984D\u984F\u984C\u984E\u9853\u98BA\u993E\u993F\u993D\u992E\u99A5\u9A0E\u9AC1\u9B03\u9B06\u9B4F\u9B4E\u9B4D\u9BCA\u9BC9\u9BFD\u9BC8\u9BC0\u9D51\u9D5D\u9D60\u9EE0\u9F15\u9F2C\u5133\u56A5\u58DE\u58DF\u58E2\u5BF5\u9F90\u5EEC\u61F2\u61F7\u61F6\u61F5\u6500\u650F\u66E0\u66DD\u6AE5\u6ADD\u6ADA\u6AD3\u701B\u701F\u7028\u701A\u701D\u7015\u7018\u7206\u720D\u7258\u72A2\u7378"],["c3a1","\u737A\u74BD\u74CA\u74E3\u7587\u7586\u765F\u7661\u77C7\u7919\u79B1\u7A6B\u7A69\u7C3E\u7C3F\u7C38\u7C3D\u7C37\u7C40\u7E6B\u7E6D\u7E79\u7E69\u7E6A\u7F85\u7E73\u7FB6\u7FB9\u7FB8\u81D8\u85E9\u85DD\u85EA\u85D5\u85E4\u85E5\u85F7\u87FB\u8805\u880D\u87F9\u87FE\u8960\u895F\u8956\u895E\u8B41\u8B5C\u8B58\u8B49\u8B5A\u8B4E\u8B4F\u8B46\u8B59\u8D08\u8D0A\u8E7C\u8E72\u8E87\u8E76\u8E6C\u8E7A\u8E74\u8F54\u8F4E\u8FAD\u908A\u908B\u91B1\u91AE\u93E1\u93D1\u93DF\u93C3\u93C8\u93DC\u93DD\u93D6\u93E2\u93CD\u93D8\u93E4\u93D7\u93E8\u95DC\u96B4\u96E3\u972A\u9727\u9761\u97DC\u97FB\u985E"],["c440","\u9858\u985B\u98BC\u9945\u9949\u9A16\u9A19\u9B0D\u9BE8\u9BE7\u9BD6\u9BDB\u9D89\u9D61\u9D72\u9D6A\u9D6C\u9E92\u9E97\u9E93\u9EB4\u52F8\u56A8\u56B7\u56B6\u56B4\u56BC\u58E4\u5B40\u5B43\u5B7D\u5BF6\u5DC9\u61F8\u61FA\u6518\u6514\u6519\u66E6\u6727\u6AEC\u703E\u7030\u7032\u7210\u737B\u74CF\u7662\u7665\u7926\u792A\u792C\u792B\u7AC7\u7AF6\u7C4C\u7C43\u7C4D\u7CEF\u7CF0\u8FAE\u7E7D\u7E7C"],["c4a1","\u7E82\u7F4C\u8000\u81DA\u8266\u85FB\u85F9\u8611\u85FA\u8606\u860B\u8607\u860A\u8814\u8815\u8964\u89BA\u89F8\u8B70\u8B6C\u8B66\u8B6F\u8B5F\u8B6B\u8D0F\u8D0D\u8E89\u8E81\u8E85\u8E82\u91B4\u91CB\u9418\u9403\u93FD\u95E1\u9730\u98C4\u9952\u9951\u99A8\u9A2B\u9A30\u9A37\u9A35\u9C13\u9C0D\u9E79\u9EB5\u9EE8\u9F2F\u9F5F\u9F63\u9F61\u5137\u5138\u56C1\u56C0\u56C2\u5914\u5C6C\u5DCD\u61FC\u61FE\u651D\u651C\u6595\u66E9\u6AFB\u6B04\u6AFA\u6BB2\u704C\u721B\u72A7\u74D6\u74D4\u7669\u77D3\u7C50\u7E8F\u7E8C\u7FBC\u8617\u862D\u861A\u8823\u8822\u8821\u881F\u896A\u896C\u89BD\u8B74"],["c540","\u8B77\u8B7D\u8D13\u8E8A\u8E8D\u8E8B\u8F5F\u8FAF\u91BA\u942E\u9433\u9435\u943A\u9438\u9432\u942B\u95E2\u9738\u9739\u9732\u97FF\u9867\u9865\u9957\u9A45\u9A43\u9A40\u9A3E\u9ACF\u9B54\u9B51\u9C2D\u9C25\u9DAF\u9DB4\u9DC2\u9DB8\u9E9D\u9EEF\u9F19\u9F5C\u9F66\u9F67\u513C\u513B\u56C8\u56CA\u56C9\u5B7F\u5DD4\u5DD2\u5F4E\u61FF\u6524\u6B0A\u6B61\u7051\u7058\u7380\u74E4\u758A\u766E\u766C"],["c5a1","\u79B3\u7C60\u7C5F\u807E\u807D\u81DF\u8972\u896F\u89FC\u8B80\u8D16\u8D17\u8E91\u8E93\u8F61\u9148\u9444\u9451\u9452\u973D\u973E\u97C3\u97C1\u986B\u9955\u9A55\u9A4D\u9AD2\u9B1A\u9C49\u9C31\u9C3E\u9C3B\u9DD3\u9DD7\u9F34\u9F6C\u9F6A\u9F94\u56CC\u5DD6\u6200\u6523\u652B\u652A\u66EC\u6B10\u74DA\u7ACA\u7C64\u7C63\u7C65\u7E93\u7E96\u7E94\u81E2\u8638\u863F\u8831\u8B8A\u9090\u908F\u9463\u9460\u9464\u9768\u986F\u995C\u9A5A\u9A5B\u9A57\u9AD3\u9AD4\u9AD1\u9C54\u9C57\u9C56\u9DE5\u9E9F\u9EF4\u56D1\u58E9\u652C\u705E\u7671\u7672\u77D7\u7F50\u7F88\u8836\u8839\u8862\u8B93\u8B92"],["c640","\u8B96\u8277\u8D1B\u91C0\u946A\u9742\u9748\u9744\u97C6\u9870\u9A5F\u9B22\u9B58\u9C5F\u9DF9\u9DFA\u9E7C\u9E7D\u9F07\u9F77\u9F72\u5EF3\u6B16\u7063\u7C6C\u7C6E\u883B\u89C0\u8EA1\u91C1\u9472\u9470\u9871\u995E\u9AD6\u9B23\u9ECC\u7064\u77DA\u8B9A\u9477\u97C9\u9A62\u9A65\u7E9C\u8B9C\u8EAA\u91C5\u947D\u947E\u947C\u9C77\u9C78\u9EF7\u8C54\u947F\u9E1A\u7228\u9A6A\u9B31\u9E1B\u9E1E\u7C72"],["c940","\u4E42\u4E5C\u51F5\u531A\u5382\u4E07\u4E0C\u4E47\u4E8D\u56D7\uFA0C\u5C6E\u5F73\u4E0F\u5187\u4E0E\u4E2E\u4E93\u4EC2\u4EC9\u4EC8\u5198\u52FC\u536C\u53B9\u5720\u5903\u592C\u5C10\u5DFF\u65E1\u6BB3\u6BCC\u6C14\u723F\u4E31\u4E3C\u4EE8\u4EDC\u4EE9\u4EE1\u4EDD\u4EDA\u520C\u531C\u534C\u5722\u5723\u5917\u592F\u5B81\u5B84\u5C12\u5C3B\u5C74\u5C73\u5E04\u5E80\u5E82\u5FC9\u6209\u6250\u6C15"],["c9a1","\u6C36\u6C43\u6C3F\u6C3B\u72AE\u72B0\u738A\u79B8\u808A\u961E\u4F0E\u4F18\u4F2C\u4EF5\u4F14\u4EF1\u4F00\u4EF7\u4F08\u4F1D\u4F02\u4F05\u4F22\u4F13\u4F04\u4EF4\u4F12\u51B1\u5213\u5209\u5210\u52A6\u5322\u531F\u534D\u538A\u5407\u56E1\u56DF\u572E\u572A\u5734\u593C\u5980\u597C\u5985\u597B\u597E\u5977\u597F\u5B56\u5C15\u5C25\u5C7C\u5C7A\u5C7B\u5C7E\u5DDF\u5E75\u5E84\u5F02\u5F1A\u5F74\u5FD5\u5FD4\u5FCF\u625C\u625E\u6264\u6261\u6266\u6262\u6259\u6260\u625A\u6265\u65EF\u65EE\u673E\u6739\u6738\u673B\u673A\u673F\u673C\u6733\u6C18\u6C46\u6C52\u6C5C\u6C4F\u6C4A\u6C54\u6C4B"],["ca40","\u6C4C\u7071\u725E\u72B4\u72B5\u738E\u752A\u767F\u7A75\u7F51\u8278\u827C\u8280\u827D\u827F\u864D\u897E\u9099\u9097\u9098\u909B\u9094\u9622\u9624\u9620\u9623\u4F56\u4F3B\u4F62\u4F49\u4F53\u4F64\u4F3E\u4F67\u4F52\u4F5F\u4F41\u4F58\u4F2D\u4F33\u4F3F\u4F61\u518F\u51B9\u521C\u521E\u5221\u52AD\u52AE\u5309\u5363\u5372\u538E\u538F\u5430\u5437\u542A\u5454\u5445\u5419\u541C\u5425\u5418"],["caa1","\u543D\u544F\u5441\u5428\u5424\u5447\u56EE\u56E7\u56E5\u5741\u5745\u574C\u5749\u574B\u5752\u5906\u5940\u59A6\u5998\u59A0\u5997\u598E\u59A2\u5990\u598F\u59A7\u59A1\u5B8E\u5B92\u5C28\u5C2A\u5C8D\u5C8F\u5C88\u5C8B\u5C89\u5C92\u5C8A\u5C86\u5C93\u5C95\u5DE0\u5E0A\u5E0E\u5E8B\u5E89\u5E8C\u5E88\u5E8D\u5F05\u5F1D\u5F78\u5F76\u5FD2\u5FD1\u5FD0\u5FED\u5FE8\u5FEE\u5FF3\u5FE1\u5FE4\u5FE3\u5FFA\u5FEF\u5FF7\u5FFB\u6000\u5FF4\u623A\u6283\u628C\u628E\u628F\u6294\u6287\u6271\u627B\u627A\u6270\u6281\u6288\u6277\u627D\u6272\u6274\u6537\u65F0\u65F4\u65F3\u65F2\u65F5\u6745\u6747"],["cb40","\u6759\u6755\u674C\u6748\u675D\u674D\u675A\u674B\u6BD0\u6C19\u6C1A\u6C78\u6C67\u6C6B\u6C84\u6C8B\u6C8F\u6C71\u6C6F\u6C69\u6C9A\u6C6D\u6C87\u6C95\u6C9C\u6C66\u6C73\u6C65\u6C7B\u6C8E\u7074\u707A\u7263\u72BF\u72BD\u72C3\u72C6\u72C1\u72BA\u72C5\u7395\u7397\u7393\u7394\u7392\u753A\u7539\u7594\u7595\u7681\u793D\u8034\u8095\u8099\u8090\u8092\u809C\u8290\u828F\u8285\u828E\u8291\u8293"],["cba1","\u828A\u8283\u8284\u8C78\u8FC9\u8FBF\u909F\u90A1\u90A5\u909E\u90A7\u90A0\u9630\u9628\u962F\u962D\u4E33\u4F98\u4F7C\u4F85\u4F7D\u4F80\u4F87\u4F76\u4F74\u4F89\u4F84\u4F77\u4F4C\u4F97\u4F6A\u4F9A\u4F79\u4F81\u4F78\u4F90\u4F9C\u4F94\u4F9E\u4F92\u4F82\u4F95\u4F6B\u4F6E\u519E\u51BC\u51BE\u5235\u5232\u5233\u5246\u5231\u52BC\u530A\u530B\u533C\u5392\u5394\u5487\u547F\u5481\u5491\u5482\u5488\u546B\u547A\u547E\u5465\u546C\u5474\u5466\u548D\u546F\u5461\u5460\u5498\u5463\u5467\u5464\u56F7\u56F9\u576F\u5772\u576D\u576B\u5771\u5770\u5776\u5780\u5775\u577B\u5773\u5774\u5762"],["cc40","\u5768\u577D\u590C\u5945\u59B5\u59BA\u59CF\u59CE\u59B2\u59CC\u59C1\u59B6\u59BC\u59C3\u59D6\u59B1\u59BD\u59C0\u59C8\u59B4\u59C7\u5B62\u5B65\u5B93\u5B95\u5C44\u5C47\u5CAE\u5CA4\u5CA0\u5CB5\u5CAF\u5CA8\u5CAC\u5C9F\u5CA3\u5CAD\u5CA2\u5CAA\u5CA7\u5C9D\u5CA5\u5CB6\u5CB0\u5CA6\u5E17\u5E14\u5E19\u5F28\u5F22\u5F23\u5F24\u5F54\u5F82\u5F7E\u5F7D\u5FDE\u5FE5\u602D\u6026\u6019\u6032\u600B"],["cca1","\u6034\u600A\u6017\u6033\u601A\u601E\u602C\u6022\u600D\u6010\u602E\u6013\u6011\u600C\u6009\u601C\u6214\u623D\u62AD\u62B4\u62D1\u62BE\u62AA\u62B6\u62CA\u62AE\u62B3\u62AF\u62BB\u62A9\u62B0\u62B8\u653D\u65A8\u65BB\u6609\u65FC\u6604\u6612\u6608\u65FB\u6603\u660B\u660D\u6605\u65FD\u6611\u6610\u66F6\u670A\u6785\u676C\u678E\u6792\u6776\u677B\u6798\u6786\u6784\u6774\u678D\u678C\u677A\u679F\u6791\u6799\u6783\u677D\u6781\u6778\u6779\u6794\u6B25\u6B80\u6B7E\u6BDE\u6C1D\u6C93\u6CEC\u6CEB\u6CEE\u6CD9\u6CB6\u6CD4\u6CAD\u6CE7\u6CB7\u6CD0\u6CC2\u6CBA\u6CC3\u6CC6\u6CED\u6CF2"],["cd40","\u6CD2\u6CDD\u6CB4\u6C8A\u6C9D\u6C80\u6CDE\u6CC0\u6D30\u6CCD\u6CC7\u6CB0\u6CF9\u6CCF\u6CE9\u6CD1\u7094\u7098\u7085\u7093\u7086\u7084\u7091\u7096\u7082\u709A\u7083\u726A\u72D6\u72CB\u72D8\u72C9\u72DC\u72D2\u72D4\u72DA\u72CC\u72D1\u73A4\u73A1\u73AD\u73A6\u73A2\u73A0\u73AC\u739D\u74DD\u74E8\u753F\u7540\u753E\u758C\u7598\u76AF\u76F3\u76F1\u76F0\u76F5\u77F8\u77FC\u77F9\u77FB\u77FA"],["cda1","\u77F7\u7942\u793F\u79C5\u7A78\u7A7B\u7AFB\u7C75\u7CFD\u8035\u808F\u80AE\u80A3\u80B8\u80B5\u80AD\u8220\u82A0\u82C0\u82AB\u829A\u8298\u829B\u82B5\u82A7\u82AE\u82BC\u829E\u82BA\u82B4\u82A8\u82A1\u82A9\u82C2\u82A4\u82C3\u82B6\u82A2\u8670\u866F\u866D\u866E\u8C56\u8FD2\u8FCB\u8FD3\u8FCD\u8FD6\u8FD5\u8FD7\u90B2\u90B4\u90AF\u90B3\u90B0\u9639\u963D\u963C\u963A\u9643\u4FCD\u4FC5\u4FD3\u4FB2\u4FC9\u4FCB\u4FC1\u4FD4\u4FDC\u4FD9\u4FBB\u4FB3\u4FDB\u4FC7\u4FD6\u4FBA\u4FC0\u4FB9\u4FEC\u5244\u5249\u52C0\u52C2\u533D\u537C\u5397\u5396\u5399\u5398\u54BA\u54A1\u54AD\u54A5\u54CF"],["ce40","\u54C3\u830D\u54B7\u54AE\u54D6\u54B6\u54C5\u54C6\u54A0\u5470\u54BC\u54A2\u54BE\u5472\u54DE\u54B0\u57B5\u579E\u579F\u57A4\u578C\u5797\u579D\u579B\u5794\u5798\u578F\u5799\u57A5\u579A\u5795\u58F4\u590D\u5953\u59E1\u59DE\u59EE\u5A00\u59F1\u59DD\u59FA\u59FD\u59FC\u59F6\u59E4\u59F2\u59F7\u59DB\u59E9\u59F3\u59F5\u59E0\u59FE\u59F4\u59ED\u5BA8\u5C4C\u5CD0\u5CD8\u5CCC\u5CD7\u5CCB\u5CDB"],["cea1","\u5CDE\u5CDA\u5CC9\u5CC7\u5CCA\u5CD6\u5CD3\u5CD4\u5CCF\u5CC8\u5CC6\u5CCE\u5CDF\u5CF8\u5DF9\u5E21\u5E22\u5E23\u5E20\u5E24\u5EB0\u5EA4\u5EA2\u5E9B\u5EA3\u5EA5\u5F07\u5F2E\u5F56\u5F86\u6037\u6039\u6054\u6072\u605E\u6045\u6053\u6047\u6049\u605B\u604C\u6040\u6042\u605F\u6024\u6044\u6058\u6066\u606E\u6242\u6243\u62CF\u630D\u630B\u62F5\u630E\u6303\u62EB\u62F9\u630F\u630C\u62F8\u62F6\u6300\u6313\u6314\u62FA\u6315\u62FB\u62F0\u6541\u6543\u65AA\u65BF\u6636\u6621\u6632\u6635\u661C\u6626\u6622\u6633\u662B\u663A\u661D\u6634\u6639\u662E\u670F\u6710\u67C1\u67F2\u67C8\u67BA"],["cf40","\u67DC\u67BB\u67F8\u67D8\u67C0\u67B7\u67C5\u67EB\u67E4\u67DF\u67B5\u67CD\u67B3\u67F7\u67F6\u67EE\u67E3\u67C2\u67B9\u67CE\u67E7\u67F0\u67B2\u67FC\u67C6\u67ED\u67CC\u67AE\u67E6\u67DB\u67FA\u67C9\u67CA\u67C3\u67EA\u67CB\u6B28\u6B82\u6B84\u6BB6\u6BD6\u6BD8\u6BE0\u6C20\u6C21\u6D28\u6D34\u6D2D\u6D1F\u6D3C\u6D3F\u6D12\u6D0A\u6CDA\u6D33\u6D04\u6D19\u6D3A\u6D1A\u6D11\u6D00\u6D1D\u6D42"],["cfa1","\u6D01\u6D18\u6D37\u6D03\u6D0F\u6D40\u6D07\u6D20\u6D2C\u6D08\u6D22\u6D09\u6D10\u70B7\u709F\u70BE\u70B1\u70B0\u70A1\u70B4\u70B5\u70A9\u7241\u7249\u724A\u726C\u7270\u7273\u726E\u72CA\u72E4\u72E8\u72EB\u72DF\u72EA\u72E6\u72E3\u7385\u73CC\u73C2\u73C8\u73C5\u73B9\u73B6\u73B5\u73B4\u73EB\u73BF\u73C7\u73BE\u73C3\u73C6\u73B8\u73CB\u74EC\u74EE\u752E\u7547\u7548\u75A7\u75AA\u7679\u76C4\u7708\u7703\u7704\u7705\u770A\u76F7\u76FB\u76FA\u77E7\u77E8\u7806\u7811\u7812\u7805\u7810\u780F\u780E\u7809\u7803\u7813\u794A\u794C\u794B\u7945\u7944\u79D5\u79CD\u79CF\u79D6\u79CE\u7A80"],["d040","\u7A7E\u7AD1\u7B00\u7B01\u7C7A\u7C78\u7C79\u7C7F\u7C80\u7C81\u7D03\u7D08\u7D01\u7F58\u7F91\u7F8D\u7FBE\u8007\u800E\u800F\u8014\u8037\u80D8\u80C7\u80E0\u80D1\u80C8\u80C2\u80D0\u80C5\u80E3\u80D9\u80DC\u80CA\u80D5\u80C9\u80CF\u80D7\u80E6\u80CD\u81FF\u8221\u8294\u82D9\u82FE\u82F9\u8307\u82E8\u8300\u82D5\u833A\u82EB\u82D6\u82F4\u82EC\u82E1\u82F2\u82F5\u830C\u82FB\u82F6\u82F0\u82EA"],["d0a1","\u82E4\u82E0\u82FA\u82F3\u82ED\u8677\u8674\u867C\u8673\u8841\u884E\u8867\u886A\u8869\u89D3\u8A04\u8A07\u8D72\u8FE3\u8FE1\u8FEE\u8FE0\u90F1\u90BD\u90BF\u90D5\u90C5\u90BE\u90C7\u90CB\u90C8\u91D4\u91D3\u9654\u964F\u9651\u9653\u964A\u964E\u501E\u5005\u5007\u5013\u5022\u5030\u501B\u4FF5\u4FF4\u5033\u5037\u502C\u4FF6\u4FF7\u5017\u501C\u5020\u5027\u5035\u502F\u5031\u500E\u515A\u5194\u5193\u51CA\u51C4\u51C5\u51C8\u51CE\u5261\u525A\u5252\u525E\u525F\u5255\u5262\u52CD\u530E\u539E\u5526\u54E2\u5517\u5512\u54E7\u54F3\u54E4\u551A\u54FF\u5504\u5508\u54EB\u5511\u5505\u54F1"],["d140","\u550A\u54FB\u54F7\u54F8\u54E0\u550E\u5503\u550B\u5701\u5702\u57CC\u5832\u57D5\u57D2\u57BA\u57C6\u57BD\u57BC\u57B8\u57B6\u57BF\u57C7\u57D0\u57B9\u57C1\u590E\u594A\u5A19\u5A16\u5A2D\u5A2E\u5A15\u5A0F\u5A17\u5A0A\u5A1E\u5A33\u5B6C\u5BA7\u5BAD\u5BAC\u5C03\u5C56\u5C54\u5CEC\u5CFF\u5CEE\u5CF1\u5CF7\u5D00\u5CF9\u5E29\u5E28\u5EA8\u5EAE\u5EAA\u5EAC\u5F33\u5F30\u5F67\u605D\u605A\u6067"],["d1a1","\u6041\u60A2\u6088\u6080\u6092\u6081\u609D\u6083\u6095\u609B\u6097\u6087\u609C\u608E\u6219\u6246\u62F2\u6310\u6356\u632C\u6344\u6345\u6336\u6343\u63E4\u6339\u634B\u634A\u633C\u6329\u6341\u6334\u6358\u6354\u6359\u632D\u6347\u6333\u635A\u6351\u6338\u6357\u6340\u6348\u654A\u6546\u65C6\u65C3\u65C4\u65C2\u664A\u665F\u6647\u6651\u6712\u6713\u681F\u681A\u6849\u6832\u6833\u683B\u684B\u684F\u6816\u6831\u681C\u6835\u682B\u682D\u682F\u684E\u6844\u6834\u681D\u6812\u6814\u6826\u6828\u682E\u684D\u683A\u6825\u6820\u6B2C\u6B2F\u6B2D\u6B31\u6B34\u6B6D\u8082\u6B88\u6BE6\u6BE4"],["d240","\u6BE8\u6BE3\u6BE2\u6BE7\u6C25\u6D7A\u6D63\u6D64\u6D76\u6D0D\u6D61\u6D92\u6D58\u6D62\u6D6D\u6D6F\u6D91\u6D8D\u6DEF\u6D7F\u6D86\u6D5E\u6D67\u6D60\u6D97\u6D70\u6D7C\u6D5F\u6D82\u6D98\u6D2F\u6D68\u6D8B\u6D7E\u6D80\u6D84\u6D16\u6D83\u6D7B\u6D7D\u6D75\u6D90\u70DC\u70D3\u70D1\u70DD\u70CB\u7F39\u70E2\u70D7\u70D2\u70DE\u70E0\u70D4\u70CD\u70C5\u70C6\u70C7\u70DA\u70CE\u70E1\u7242\u7278"],["d2a1","\u7277\u7276\u7300\u72FA\u72F4\u72FE\u72F6\u72F3\u72FB\u7301\u73D3\u73D9\u73E5\u73D6\u73BC\u73E7\u73E3\u73E9\u73DC\u73D2\u73DB\u73D4\u73DD\u73DA\u73D7\u73D8\u73E8\u74DE\u74DF\u74F4\u74F5\u7521\u755B\u755F\u75B0\u75C1\u75BB\u75C4\u75C0\u75BF\u75B6\u75BA\u768A\u76C9\u771D\u771B\u7710\u7713\u7712\u7723\u7711\u7715\u7719\u771A\u7722\u7727\u7823\u782C\u7822\u7835\u782F\u7828\u782E\u782B\u7821\u7829\u7833\u782A\u7831\u7954\u795B\u794F\u795C\u7953\u7952\u7951\u79EB\u79EC\u79E0\u79EE\u79ED\u79EA\u79DC\u79DE\u79DD\u7A86\u7A89\u7A85\u7A8B\u7A8C\u7A8A\u7A87\u7AD8\u7B10"],["d340","\u7B04\u7B13\u7B05\u7B0F\u7B08\u7B0A\u7B0E\u7B09\u7B12\u7C84\u7C91\u7C8A\u7C8C\u7C88\u7C8D\u7C85\u7D1E\u7D1D\u7D11\u7D0E\u7D18\u7D16\u7D13\u7D1F\u7D12\u7D0F\u7D0C\u7F5C\u7F61\u7F5E\u7F60\u7F5D\u7F5B\u7F96\u7F92\u7FC3\u7FC2\u7FC0\u8016\u803E\u8039\u80FA\u80F2\u80F9\u80F5\u8101\u80FB\u8100\u8201\u822F\u8225\u8333\u832D\u8344\u8319\u8351\u8325\u8356\u833F\u8341\u8326\u831C\u8322"],["d3a1","\u8342\u834E\u831B\u832A\u8308\u833C\u834D\u8316\u8324\u8320\u8337\u832F\u8329\u8347\u8345\u834C\u8353\u831E\u832C\u834B\u8327\u8348\u8653\u8652\u86A2\u86A8\u8696\u868D\u8691\u869E\u8687\u8697\u8686\u868B\u869A\u8685\u86A5\u8699\u86A1\u86A7\u8695\u8698\u868E\u869D\u8690\u8694\u8843\u8844\u886D\u8875\u8876\u8872\u8880\u8871\u887F\u886F\u8883\u887E\u8874\u887C\u8A12\u8C47\u8C57\u8C7B\u8CA4\u8CA3\u8D76\u8D78\u8DB5\u8DB7\u8DB6\u8ED1\u8ED3\u8FFE\u8FF5\u9002\u8FFF\u8FFB\u9004\u8FFC\u8FF6\u90D6\u90E0\u90D9\u90DA\u90E3\u90DF\u90E5\u90D8\u90DB\u90D7\u90DC\u90E4\u9150"],["d440","\u914E\u914F\u91D5\u91E2\u91DA\u965C\u965F\u96BC\u98E3\u9ADF\u9B2F\u4E7F\u5070\u506A\u5061\u505E\u5060\u5053\u504B\u505D\u5072\u5048\u504D\u5041\u505B\u504A\u5062\u5015\u5045\u505F\u5069\u506B\u5063\u5064\u5046\u5040\u506E\u5073\u5057\u5051\u51D0\u526B\u526D\u526C\u526E\u52D6\u52D3\u532D\u539C\u5575\u5576\u553C\u554D\u5550\u5534\u552A\u5551\u5562\u5536\u5535\u5530\u5552\u5545"],["d4a1","\u550C\u5532\u5565\u554E\u5539\u5548\u552D\u553B\u5540\u554B\u570A\u5707\u57FB\u5814\u57E2\u57F6\u57DC\u57F4\u5800\u57ED\u57FD\u5808\u57F8\u580B\u57F3\u57CF\u5807\u57EE\u57E3\u57F2\u57E5\u57EC\u57E1\u580E\u57FC\u5810\u57E7\u5801\u580C\u57F1\u57E9\u57F0\u580D\u5804\u595C\u5A60\u5A58\u5A55\u5A67\u5A5E\u5A38\u5A35\u5A6D\u5A50\u5A5F\u5A65\u5A6C\u5A53\u5A64\u5A57\u5A43\u5A5D\u5A52\u5A44\u5A5B\u5A48\u5A8E\u5A3E\u5A4D\u5A39\u5A4C\u5A70\u5A69\u5A47\u5A51\u5A56\u5A42\u5A5C\u5B72\u5B6E\u5BC1\u5BC0\u5C59\u5D1E\u5D0B\u5D1D\u5D1A\u5D20\u5D0C\u5D28\u5D0D\u5D26\u5D25\u5D0F"],["d540","\u5D30\u5D12\u5D23\u5D1F\u5D2E\u5E3E\u5E34\u5EB1\u5EB4\u5EB9\u5EB2\u5EB3\u5F36\u5F38\u5F9B\u5F96\u5F9F\u608A\u6090\u6086\u60BE\u60B0\u60BA\u60D3\u60D4\u60CF\u60E4\u60D9\u60DD\u60C8\u60B1\u60DB\u60B7\u60CA\u60BF\u60C3\u60CD\u60C0\u6332\u6365\u638A\u6382\u637D\u63BD\u639E\u63AD\u639D\u6397\u63AB\u638E\u636F\u6387\u6390\u636E\u63AF\u6375\u639C\u636D\u63AE\u637C\u63A4\u633B\u639F"],["d5a1","\u6378\u6385\u6381\u6391\u638D\u6370\u6553\u65CD\u6665\u6661\u665B\u6659\u665C\u6662\u6718\u6879\u6887\u6890\u689C\u686D\u686E\u68AE\u68AB\u6956\u686F\u68A3\u68AC\u68A9\u6875\u6874\u68B2\u688F\u6877\u6892\u687C\u686B\u6872\u68AA\u6880\u6871\u687E\u689B\u6896\u688B\u68A0\u6889\u68A4\u6878\u687B\u6891\u688C\u688A\u687D\u6B36\u6B33\u6B37\u6B38\u6B91\u6B8F\u6B8D\u6B8E\u6B8C\u6C2A\u6DC0\u6DAB\u6DB4\u6DB3\u6E74\u6DAC\u6DE9\u6DE2\u6DB7\u6DF6\u6DD4\u6E00\u6DC8\u6DE0\u6DDF\u6DD6\u6DBE\u6DE5\u6DDC\u6DDD\u6DDB\u6DF4\u6DCA\u6DBD\u6DED\u6DF0\u6DBA\u6DD5\u6DC2\u6DCF\u6DC9"],["d640","\u6DD0\u6DF2\u6DD3\u6DFD\u6DD7\u6DCD\u6DE3\u6DBB\u70FA\u710D\u70F7\u7117\u70F4\u710C\u70F0\u7104\u70F3\u7110\u70FC\u70FF\u7106\u7113\u7100\u70F8\u70F6\u710B\u7102\u710E\u727E\u727B\u727C\u727F\u731D\u7317\u7307\u7311\u7318\u730A\u7308\u72FF\u730F\u731E\u7388\u73F6\u73F8\u73F5\u7404\u7401\u73FD\u7407\u7400\u73FA\u73FC\u73FF\u740C\u740B\u73F4\u7408\u7564\u7563\u75CE\u75D2\u75CF"],["d6a1","\u75CB\u75CC\u75D1\u75D0\u768F\u7689\u76D3\u7739\u772F\u772D\u7731\u7732\u7734\u7733\u773D\u7725\u773B\u7735\u7848\u7852\u7849\u784D\u784A\u784C\u7826\u7845\u7850\u7964\u7967\u7969\u796A\u7963\u796B\u7961\u79BB\u79FA\u79F8\u79F6\u79F7\u7A8F\u7A94\u7A90\u7B35\u7B47\u7B34\u7B25\u7B30\u7B22\u7B24\u7B33\u7B18\u7B2A\u7B1D\u7B31\u7B2B\u7B2D\u7B2F\u7B32\u7B38\u7B1A\u7B23\u7C94\u7C98\u7C96\u7CA3\u7D35\u7D3D\u7D38\u7D36\u7D3A\u7D45\u7D2C\u7D29\u7D41\u7D47\u7D3E\u7D3F\u7D4A\u7D3B\u7D28\u7F63\u7F95\u7F9C\u7F9D\u7F9B\u7FCA\u7FCB\u7FCD\u7FD0\u7FD1\u7FC7\u7FCF\u7FC9\u801F"],["d740","\u801E\u801B\u8047\u8043\u8048\u8118\u8125\u8119\u811B\u812D\u811F\u812C\u811E\u8121\u8115\u8127\u811D\u8122\u8211\u8238\u8233\u823A\u8234\u8232\u8274\u8390\u83A3\u83A8\u838D\u837A\u8373\u83A4\u8374\u838F\u8381\u8395\u8399\u8375\u8394\u83A9\u837D\u8383\u838C\u839D\u839B\u83AA\u838B\u837E\u83A5\u83AF\u8388\u8397\u83B0\u837F\u83A6\u8387\u83AE\u8376\u839A\u8659\u8656\u86BF\u86B7"],["d7a1","\u86C2\u86C1\u86C5\u86BA\u86B0\u86C8\u86B9\u86B3\u86B8\u86CC\u86B4\u86BB\u86BC\u86C3\u86BD\u86BE\u8852\u8889\u8895\u88A8\u88A2\u88AA\u889A\u8891\u88A1\u889F\u8898\u88A7\u8899\u889B\u8897\u88A4\u88AC\u888C\u8893\u888E\u8982\u89D6\u89D9\u89D5\u8A30\u8A27\u8A2C\u8A1E\u8C39\u8C3B\u8C5C\u8C5D\u8C7D\u8CA5\u8D7D\u8D7B\u8D79\u8DBC\u8DC2\u8DB9\u8DBF\u8DC1\u8ED8\u8EDE\u8EDD\u8EDC\u8ED7\u8EE0\u8EE1\u9024\u900B\u9011\u901C\u900C\u9021\u90EF\u90EA\u90F0\u90F4\u90F2\u90F3\u90D4\u90EB\u90EC\u90E9\u9156\u9158\u915A\u9153\u9155\u91EC\u91F4\u91F1\u91F3\u91F8\u91E4\u91F9\u91EA"],["d840","\u91EB\u91F7\u91E8\u91EE\u957A\u9586\u9588\u967C\u966D\u966B\u9671\u966F\u96BF\u976A\u9804\u98E5\u9997\u509B\u5095\u5094\u509E\u508B\u50A3\u5083\u508C\u508E\u509D\u5068\u509C\u5092\u5082\u5087\u515F\u51D4\u5312\u5311\u53A4\u53A7\u5591\u55A8\u55A5\u55AD\u5577\u5645\u55A2\u5593\u5588\u558F\u55B5\u5581\u55A3\u5592\u55A4\u557D\u558C\u55A6\u557F\u5595\u55A1\u558E\u570C\u5829\u5837"],["d8a1","\u5819\u581E\u5827\u5823\u5828\u57F5\u5848\u5825\u581C\u581B\u5833\u583F\u5836\u582E\u5839\u5838\u582D\u582C\u583B\u5961\u5AAF\u5A94\u5A9F\u5A7A\u5AA2\u5A9E\u5A78\u5AA6\u5A7C\u5AA5\u5AAC\u5A95\u5AAE\u5A37\u5A84\u5A8A\u5A97\u5A83\u5A8B\u5AA9\u5A7B\u5A7D\u5A8C\u5A9C\u5A8F\u5A93\u5A9D\u5BEA\u5BCD\u5BCB\u5BD4\u5BD1\u5BCA\u5BCE\u5C0C\u5C30\u5D37\u5D43\u5D6B\u5D41\u5D4B\u5D3F\u5D35\u5D51\u5D4E\u5D55\u5D33\u5D3A\u5D52\u5D3D\u5D31\u5D59\u5D42\u5D39\u5D49\u5D38\u5D3C\u5D32\u5D36\u5D40\u5D45\u5E44\u5E41\u5F58\u5FA6\u5FA5\u5FAB\u60C9\u60B9\u60CC\u60E2\u60CE\u60C4\u6114"],["d940","\u60F2\u610A\u6116\u6105\u60F5\u6113\u60F8\u60FC\u60FE\u60C1\u6103\u6118\u611D\u6110\u60FF\u6104\u610B\u624A\u6394\u63B1\u63B0\u63CE\u63E5\u63E8\u63EF\u63C3\u649D\u63F3\u63CA\u63E0\u63F6\u63D5\u63F2\u63F5\u6461\u63DF\u63BE\u63DD\u63DC\u63C4\u63D8\u63D3\u63C2\u63C7\u63CC\u63CB\u63C8\u63F0\u63D7\u63D9\u6532\u6567\u656A\u6564\u655C\u6568\u6565\u658C\u659D\u659E\u65AE\u65D0\u65D2"],["d9a1","\u667C\u666C\u667B\u6680\u6671\u6679\u666A\u6672\u6701\u690C\u68D3\u6904\u68DC\u692A\u68EC\u68EA\u68F1\u690F\u68D6\u68F7\u68EB\u68E4\u68F6\u6913\u6910\u68F3\u68E1\u6907\u68CC\u6908\u6970\u68B4\u6911\u68EF\u68C6\u6914\u68F8\u68D0\u68FD\u68FC\u68E8\u690B\u690A\u6917\u68CE\u68C8\u68DD\u68DE\u68E6\u68F4\u68D1\u6906\u68D4\u68E9\u6915\u6925\u68C7\u6B39\u6B3B\u6B3F\u6B3C\u6B94\u6B97\u6B99\u6B95\u6BBD\u6BF0\u6BF2\u6BF3\u6C30\u6DFC\u6E46\u6E47\u6E1F\u6E49\u6E88\u6E3C\u6E3D\u6E45\u6E62\u6E2B\u6E3F\u6E41\u6E5D\u6E73\u6E1C\u6E33\u6E4B\u6E40\u6E51\u6E3B\u6E03\u6E2E\u6E5E"],["da40","\u6E68\u6E5C\u6E61\u6E31\u6E28\u6E60\u6E71\u6E6B\u6E39\u6E22\u6E30\u6E53\u6E65\u6E27\u6E78\u6E64\u6E77\u6E55\u6E79\u6E52\u6E66\u6E35\u6E36\u6E5A\u7120\u711E\u712F\u70FB\u712E\u7131\u7123\u7125\u7122\u7132\u711F\u7128\u713A\u711B\u724B\u725A\u7288\u7289\u7286\u7285\u728B\u7312\u730B\u7330\u7322\u7331\u7333\u7327\u7332\u732D\u7326\u7323\u7335\u730C\u742E\u742C\u7430\u742B\u7416"],["daa1","\u741A\u7421\u742D\u7431\u7424\u7423\u741D\u7429\u7420\u7432\u74FB\u752F\u756F\u756C\u75E7\u75DA\u75E1\u75E6\u75DD\u75DF\u75E4\u75D7\u7695\u7692\u76DA\u7746\u7747\u7744\u774D\u7745\u774A\u774E\u774B\u774C\u77DE\u77EC\u7860\u7864\u7865\u785C\u786D\u7871\u786A\u786E\u7870\u7869\u7868\u785E\u7862\u7974\u7973\u7972\u7970\u7A02\u7A0A\u7A03\u7A0C\u7A04\u7A99\u7AE6\u7AE4\u7B4A\u7B3B\u7B44\u7B48\u7B4C\u7B4E\u7B40\u7B58\u7B45\u7CA2\u7C9E\u7CA8\u7CA1\u7D58\u7D6F\u7D63\u7D53\u7D56\u7D67\u7D6A\u7D4F\u7D6D\u7D5C\u7D6B\u7D52\u7D54\u7D69\u7D51\u7D5F\u7D4E\u7F3E\u7F3F\u7F65"],["db40","\u7F66\u7FA2\u7FA0\u7FA1\u7FD7\u8051\u804F\u8050\u80FE\u80D4\u8143\u814A\u8152\u814F\u8147\u813D\u814D\u813A\u81E6\u81EE\u81F7\u81F8\u81F9\u8204\u823C\u823D\u823F\u8275\u833B\u83CF\u83F9\u8423\u83C0\u83E8\u8412\u83E7\u83E4\u83FC\u83F6\u8410\u83C6\u83C8\u83EB\u83E3\u83BF\u8401\u83DD\u83E5\u83D8\u83FF\u83E1\u83CB\u83CE\u83D6\u83F5\u83C9\u8409\u840F\u83DE\u8411\u8406\u83C2\u83F3"],["dba1","\u83D5\u83FA\u83C7\u83D1\u83EA\u8413\u83C3\u83EC\u83EE\u83C4\u83FB\u83D7\u83E2\u841B\u83DB\u83FE\u86D8\u86E2\u86E6\u86D3\u86E3\u86DA\u86EA\u86DD\u86EB\u86DC\u86EC\u86E9\u86D7\u86E8\u86D1\u8848\u8856\u8855\u88BA\u88D7\u88B9\u88B8\u88C0\u88BE\u88B6\u88BC\u88B7\u88BD\u88B2\u8901\u88C9\u8995\u8998\u8997\u89DD\u89DA\u89DB\u8A4E\u8A4D\u8A39\u8A59\u8A40\u8A57\u8A58\u8A44\u8A45\u8A52\u8A48\u8A51\u8A4A\u8A4C\u8A4F\u8C5F\u8C81\u8C80\u8CBA\u8CBE\u8CB0\u8CB9\u8CB5\u8D84\u8D80\u8D89\u8DD8\u8DD3\u8DCD\u8DC7\u8DD6\u8DDC\u8DCF\u8DD5\u8DD9\u8DC8\u8DD7\u8DC5\u8EEF\u8EF7\u8EFA"],["dc40","\u8EF9\u8EE6\u8EEE\u8EE5\u8EF5\u8EE7\u8EE8\u8EF6\u8EEB\u8EF1\u8EEC\u8EF4\u8EE9\u902D\u9034\u902F\u9106\u912C\u9104\u90FF\u90FC\u9108\u90F9\u90FB\u9101\u9100\u9107\u9105\u9103\u9161\u9164\u915F\u9162\u9160\u9201\u920A\u9225\u9203\u921A\u9226\u920F\u920C\u9200\u9212\u91FF\u91FD\u9206\u9204\u9227\u9202\u921C\u9224\u9219\u9217\u9205\u9216\u957B\u958D\u958C\u9590\u9687\u967E\u9688"],["dca1","\u9689\u9683\u9680\u96C2\u96C8\u96C3\u96F1\u96F0\u976C\u9770\u976E\u9807\u98A9\u98EB\u9CE6\u9EF9\u4E83\u4E84\u4EB6\u50BD\u50BF\u50C6\u50AE\u50C4\u50CA\u50B4\u50C8\u50C2\u50B0\u50C1\u50BA\u50B1\u50CB\u50C9\u50B6\u50B8\u51D7\u527A\u5278\u527B\u527C\u55C3\u55DB\u55CC\u55D0\u55CB\u55CA\u55DD\u55C0\u55D4\u55C4\u55E9\u55BF\u55D2\u558D\u55CF\u55D5\u55E2\u55D6\u55C8\u55F2\u55CD\u55D9\u55C2\u5714\u5853\u5868\u5864\u584F\u584D\u5849\u586F\u5855\u584E\u585D\u5859\u5865\u585B\u583D\u5863\u5871\u58FC\u5AC7\u5AC4\u5ACB\u5ABA\u5AB8\u5AB1\u5AB5\u5AB0\u5ABF\u5AC8\u5ABB\u5AC6"],["dd40","\u5AB7\u5AC0\u5ACA\u5AB4\u5AB6\u5ACD\u5AB9\u5A90\u5BD6\u5BD8\u5BD9\u5C1F\u5C33\u5D71\u5D63\u5D4A\u5D65\u5D72\u5D6C\u5D5E\u5D68\u5D67\u5D62\u5DF0\u5E4F\u5E4E\u5E4A\u5E4D\u5E4B\u5EC5\u5ECC\u5EC6\u5ECB\u5EC7\u5F40\u5FAF\u5FAD\u60F7\u6149\u614A\u612B\u6145\u6136\u6132\u612E\u6146\u612F\u614F\u6129\u6140\u6220\u9168\u6223\u6225\u6224\u63C5\u63F1\u63EB\u6410\u6412\u6409\u6420\u6424"],["dda1","\u6433\u6443\u641F\u6415\u6418\u6439\u6437\u6422\u6423\u640C\u6426\u6430\u6428\u6441\u6435\u642F\u640A\u641A\u6440\u6425\u6427\u640B\u63E7\u641B\u642E\u6421\u640E\u656F\u6592\u65D3\u6686\u668C\u6695\u6690\u668B\u668A\u6699\u6694\u6678\u6720\u6966\u695F\u6938\u694E\u6962\u6971\u693F\u6945\u696A\u6939\u6942\u6957\u6959\u697A\u6948\u6949\u6935\u696C\u6933\u693D\u6965\u68F0\u6978\u6934\u6969\u6940\u696F\u6944\u6976\u6958\u6941\u6974\u694C\u693B\u694B\u6937\u695C\u694F\u6951\u6932\u6952\u692F\u697B\u693C\u6B46\u6B45\u6B43\u6B42\u6B48\u6B41\u6B9B\uFA0D\u6BFB\u6BFC"],["de40","\u6BF9\u6BF7\u6BF8\u6E9B\u6ED6\u6EC8\u6E8F\u6EC0\u6E9F\u6E93\u6E94\u6EA0\u6EB1\u6EB9\u6EC6\u6ED2\u6EBD\u6EC1\u6E9E\u6EC9\u6EB7\u6EB0\u6ECD\u6EA6\u6ECF\u6EB2\u6EBE\u6EC3\u6EDC\u6ED8\u6E99\u6E92\u6E8E\u6E8D\u6EA4\u6EA1\u6EBF\u6EB3\u6ED0\u6ECA\u6E97\u6EAE\u6EA3\u7147\u7154\u7152\u7163\u7160\u7141\u715D\u7162\u7172\u7178\u716A\u7161\u7142\u7158\u7143\u714B\u7170\u715F\u7150\u7153"],["dea1","\u7144\u714D\u715A\u724F\u728D\u728C\u7291\u7290\u728E\u733C\u7342\u733B\u733A\u7340\u734A\u7349\u7444\u744A\u744B\u7452\u7451\u7457\u7440\u744F\u7450\u744E\u7442\u7446\u744D\u7454\u74E1\u74FF\u74FE\u74FD\u751D\u7579\u7577\u6983\u75EF\u760F\u7603\u75F7\u75FE\u75FC\u75F9\u75F8\u7610\u75FB\u75F6\u75ED\u75F5\u75FD\u7699\u76B5\u76DD\u7755\u775F\u7760\u7752\u7756\u775A\u7769\u7767\u7754\u7759\u776D\u77E0\u7887\u789A\u7894\u788F\u7884\u7895\u7885\u7886\u78A1\u7883\u7879\u7899\u7880\u7896\u787B\u797C\u7982\u797D\u7979\u7A11\u7A18\u7A19\u7A12\u7A17\u7A15\u7A22\u7A13"],["df40","\u7A1B\u7A10\u7AA3\u7AA2\u7A9E\u7AEB\u7B66\u7B64\u7B6D\u7B74\u7B69\u7B72\u7B65\u7B73\u7B71\u7B70\u7B61\u7B78\u7B76\u7B63\u7CB2\u7CB4\u7CAF\u7D88\u7D86\u7D80\u7D8D\u7D7F\u7D85\u7D7A\u7D8E\u7D7B\u7D83\u7D7C\u7D8C\u7D94\u7D84\u7D7D\u7D92\u7F6D\u7F6B\u7F67\u7F68\u7F6C\u7FA6\u7FA5\u7FA7\u7FDB\u7FDC\u8021\u8164\u8160\u8177\u815C\u8169\u815B\u8162\u8172\u6721\u815E\u8176\u8167\u816F"],["dfa1","\u8144\u8161\u821D\u8249\u8244\u8240\u8242\u8245\u84F1\u843F\u8456\u8476\u8479\u848F\u848D\u8465\u8451\u8440\u8486\u8467\u8430\u844D\u847D\u845A\u8459\u8474\u8473\u845D\u8507\u845E\u8437\u843A\u8434\u847A\u8443\u8478\u8432\u8445\u8429\u83D9\u844B\u842F\u8442\u842D\u845F\u8470\u8439\u844E\u844C\u8452\u846F\u84C5\u848E\u843B\u8447\u8436\u8433\u8468\u847E\u8444\u842B\u8460\u8454\u846E\u8450\u870B\u8704\u86F7\u870C\u86FA\u86D6\u86F5\u874D\u86F8\u870E\u8709\u8701\u86F6\u870D\u8705\u88D6\u88CB\u88CD\u88CE\u88DE\u88DB\u88DA\u88CC\u88D0\u8985\u899B\u89DF\u89E5\u89E4"],["e040","\u89E1\u89E0\u89E2\u89DC\u89E6\u8A76\u8A86\u8A7F\u8A61\u8A3F\u8A77\u8A82\u8A84\u8A75\u8A83\u8A81\u8A74\u8A7A\u8C3C\u8C4B\u8C4A\u8C65\u8C64\u8C66\u8C86\u8C84\u8C85\u8CCC\u8D68\u8D69\u8D91\u8D8C\u8D8E\u8D8F\u8D8D\u8D93\u8D94\u8D90\u8D92\u8DF0\u8DE0\u8DEC\u8DF1\u8DEE\u8DD0\u8DE9\u8DE3\u8DE2\u8DE7\u8DF2\u8DEB\u8DF4\u8F06\u8EFF\u8F01\u8F00\u8F05\u8F07\u8F08\u8F02\u8F0B\u9052\u903F"],["e0a1","\u9044\u9049\u903D\u9110\u910D\u910F\u9111\u9116\u9114\u910B\u910E\u916E\u916F\u9248\u9252\u9230\u923A\u9266\u9233\u9265\u925E\u9283\u922E\u924A\u9246\u926D\u926C\u924F\u9260\u9267\u926F\u9236\u9261\u9270\u9231\u9254\u9263\u9250\u9272\u924E\u9253\u924C\u9256\u9232\u959F\u959C\u959E\u959B\u9692\u9693\u9691\u9697\u96CE\u96FA\u96FD\u96F8\u96F5\u9773\u9777\u9778\u9772\u980F\u980D\u980E\u98AC\u98F6\u98F9\u99AF\u99B2\u99B0\u99B5\u9AAD\u9AAB\u9B5B\u9CEA\u9CED\u9CE7\u9E80\u9EFD\u50E6\u50D4\u50D7\u50E8\u50F3\u50DB\u50EA\u50DD\u50E4\u50D3\u50EC\u50F0\u50EF\u50E3\u50E0"],["e140","\u51D8\u5280\u5281\u52E9\u52EB\u5330\u53AC\u5627\u5615\u560C\u5612\u55FC\u560F\u561C\u5601\u5613\u5602\u55FA\u561D\u5604\u55FF\u55F9\u5889\u587C\u5890\u5898\u5886\u5881\u587F\u5874\u588B\u587A\u5887\u5891\u588E\u5876\u5882\u5888\u587B\u5894\u588F\u58FE\u596B\u5ADC\u5AEE\u5AE5\u5AD5\u5AEA\u5ADA\u5AED\u5AEB\u5AF3\u5AE2\u5AE0\u5ADB\u5AEC\u5ADE\u5ADD\u5AD9\u5AE8\u5ADF\u5B77\u5BE0"],["e1a1","\u5BE3\u5C63\u5D82\u5D80\u5D7D\u5D86\u5D7A\u5D81\u5D77\u5D8A\u5D89\u5D88\u5D7E\u5D7C\u5D8D\u5D79\u5D7F\u5E58\u5E59\u5E53\u5ED8\u5ED1\u5ED7\u5ECE\u5EDC\u5ED5\u5ED9\u5ED2\u5ED4\u5F44\u5F43\u5F6F\u5FB6\u612C\u6128\u6141\u615E\u6171\u6173\u6152\u6153\u6172\u616C\u6180\u6174\u6154\u617A\u615B\u6165\u613B\u616A\u6161\u6156\u6229\u6227\u622B\u642B\u644D\u645B\u645D\u6474\u6476\u6472\u6473\u647D\u6475\u6466\u64A6\u644E\u6482\u645E\u645C\u644B\u6453\u6460\u6450\u647F\u643F\u646C\u646B\u6459\u6465\u6477\u6573\u65A0\u66A1\u66A0\u669F\u6705\u6704\u6722\u69B1\u69B6\u69C9"],["e240","\u69A0\u69CE\u6996\u69B0\u69AC\u69BC\u6991\u6999\u698E\u69A7\u698D\u69A9\u69BE\u69AF\u69BF\u69C4\u69BD\u69A4\u69D4\u69B9\u69CA\u699A\u69CF\u69B3\u6993\u69AA\u69A1\u699E\u69D9\u6997\u6990\u69C2\u69B5\u69A5\u69C6\u6B4A\u6B4D\u6B4B\u6B9E\u6B9F\u6BA0\u6BC3\u6BC4\u6BFE\u6ECE\u6EF5\u6EF1\u6F03\u6F25\u6EF8\u6F37\u6EFB\u6F2E\u6F09\u6F4E\u6F19\u6F1A\u6F27\u6F18\u6F3B\u6F12\u6EED\u6F0A"],["e2a1","\u6F36\u6F73\u6EF9\u6EEE\u6F2D\u6F40\u6F30\u6F3C\u6F35\u6EEB\u6F07\u6F0E\u6F43\u6F05\u6EFD\u6EF6\u6F39\u6F1C\u6EFC\u6F3A\u6F1F\u6F0D\u6F1E\u6F08\u6F21\u7187\u7190\u7189\u7180\u7185\u7182\u718F\u717B\u7186\u7181\u7197\u7244\u7253\u7297\u7295\u7293\u7343\u734D\u7351\u734C\u7462\u7473\u7471\u7475\u7472\u7467\u746E\u7500\u7502\u7503\u757D\u7590\u7616\u7608\u760C\u7615\u7611\u760A\u7614\u76B8\u7781\u777C\u7785\u7782\u776E\u7780\u776F\u777E\u7783\u78B2\u78AA\u78B4\u78AD\u78A8\u787E\u78AB\u789E\u78A5\u78A0\u78AC\u78A2\u78A4\u7998\u798A\u798B\u7996\u7995\u7994\u7993"],["e340","\u7997\u7988\u7992\u7990\u7A2B\u7A4A\u7A30\u7A2F\u7A28\u7A26\u7AA8\u7AAB\u7AAC\u7AEE\u7B88\u7B9C\u7B8A\u7B91\u7B90\u7B96\u7B8D\u7B8C\u7B9B\u7B8E\u7B85\u7B98\u5284\u7B99\u7BA4\u7B82\u7CBB\u7CBF\u7CBC\u7CBA\u7DA7\u7DB7\u7DC2\u7DA3\u7DAA\u7DC1\u7DC0\u7DC5\u7D9D\u7DCE\u7DC4\u7DC6\u7DCB\u7DCC\u7DAF\u7DB9\u7D96\u7DBC\u7D9F\u7DA6\u7DAE\u7DA9\u7DA1\u7DC9\u7F73\u7FE2\u7FE3\u7FE5\u7FDE"],["e3a1","\u8024\u805D\u805C\u8189\u8186\u8183\u8187\u818D\u818C\u818B\u8215\u8497\u84A4\u84A1\u849F\u84BA\u84CE\u84C2\u84AC\u84AE\u84AB\u84B9\u84B4\u84C1\u84CD\u84AA\u849A\u84B1\u84D0\u849D\u84A7\u84BB\u84A2\u8494\u84C7\u84CC\u849B\u84A9\u84AF\u84A8\u84D6\u8498\u84B6\u84CF\u84A0\u84D7\u84D4\u84D2\u84DB\u84B0\u8491\u8661\u8733\u8723\u8728\u876B\u8740\u872E\u871E\u8721\u8719\u871B\u8743\u872C\u8741\u873E\u8746\u8720\u8732\u872A\u872D\u873C\u8712\u873A\u8731\u8735\u8742\u8726\u8727\u8738\u8724\u871A\u8730\u8711\u88F7\u88E7\u88F1\u88F2\u88FA\u88FE\u88EE\u88FC\u88F6\u88FB"],["e440","\u88F0\u88EC\u88EB\u899D\u89A1\u899F\u899E\u89E9\u89EB\u89E8\u8AAB\u8A99\u8A8B\u8A92\u8A8F\u8A96\u8C3D\u8C68\u8C69\u8CD5\u8CCF\u8CD7\u8D96\u8E09\u8E02\u8DFF\u8E0D\u8DFD\u8E0A\u8E03\u8E07\u8E06\u8E05\u8DFE\u8E00\u8E04\u8F10\u8F11\u8F0E\u8F0D\u9123\u911C\u9120\u9122\u911F\u911D\u911A\u9124\u9121\u911B\u917A\u9172\u9179\u9173\u92A5\u92A4\u9276\u929B\u927A\u92A0\u9294\u92AA\u928D"],["e4a1","\u92A6\u929A\u92AB\u9279\u9297\u927F\u92A3\u92EE\u928E\u9282\u9295\u92A2\u927D\u9288\u92A1\u928A\u9286\u928C\u9299\u92A7\u927E\u9287\u92A9\u929D\u928B\u922D\u969E\u96A1\u96FF\u9758\u977D\u977A\u977E\u9783\u9780\u9782\u977B\u9784\u9781\u977F\u97CE\u97CD\u9816\u98AD\u98AE\u9902\u9900\u9907\u999D\u999C\u99C3\u99B9\u99BB\u99BA\u99C2\u99BD\u99C7\u9AB1\u9AE3\u9AE7\u9B3E\u9B3F\u9B60\u9B61\u9B5F\u9CF1\u9CF2\u9CF5\u9EA7\u50FF\u5103\u5130\u50F8\u5106\u5107\u50F6\u50FE\u510B\u510C\u50FD\u510A\u528B\u528C\u52F1\u52EF\u5648\u5642\u564C\u5635\u5641\u564A\u5649\u5646\u5658"],["e540","\u565A\u5640\u5633\u563D\u562C\u563E\u5638\u562A\u563A\u571A\u58AB\u589D\u58B1\u58A0\u58A3\u58AF\u58AC\u58A5\u58A1\u58FF\u5AFF\u5AF4\u5AFD\u5AF7\u5AF6\u5B03\u5AF8\u5B02\u5AF9\u5B01\u5B07\u5B05\u5B0F\u5C67\u5D99\u5D97\u5D9F\u5D92\u5DA2\u5D93\u5D95\u5DA0\u5D9C\u5DA1\u5D9A\u5D9E\u5E69\u5E5D\u5E60\u5E5C\u7DF3\u5EDB\u5EDE\u5EE1\u5F49\u5FB2\u618B\u6183\u6179\u61B1\u61B0\u61A2\u6189"],["e5a1","\u619B\u6193\u61AF\u61AD\u619F\u6192\u61AA\u61A1\u618D\u6166\u61B3\u622D\u646E\u6470\u6496\u64A0\u6485\u6497\u649C\u648F\u648B\u648A\u648C\u64A3\u649F\u6468\u64B1\u6498\u6576\u657A\u6579\u657B\u65B2\u65B3\u66B5\u66B0\u66A9\u66B2\u66B7\u66AA\u66AF\u6A00\u6A06\u6A17\u69E5\u69F8\u6A15\u69F1\u69E4\u6A20\u69FF\u69EC\u69E2\u6A1B\u6A1D\u69FE\u6A27\u69F2\u69EE\u6A14\u69F7\u69E7\u6A40\u6A08\u69E6\u69FB\u6A0D\u69FC\u69EB\u6A09\u6A04\u6A18\u6A25\u6A0F\u69F6\u6A26\u6A07\u69F4\u6A16\u6B51\u6BA5\u6BA3\u6BA2\u6BA6\u6C01\u6C00\u6BFF\u6C02\u6F41\u6F26\u6F7E\u6F87\u6FC6\u6F92"],["e640","\u6F8D\u6F89\u6F8C\u6F62\u6F4F\u6F85\u6F5A\u6F96\u6F76\u6F6C\u6F82\u6F55\u6F72\u6F52\u6F50\u6F57\u6F94\u6F93\u6F5D\u6F00\u6F61\u6F6B\u6F7D\u6F67\u6F90\u6F53\u6F8B\u6F69\u6F7F\u6F95\u6F63\u6F77\u6F6A\u6F7B\u71B2\u71AF\u719B\u71B0\u71A0\u719A\u71A9\u71B5\u719D\u71A5\u719E\u71A4\u71A1\u71AA\u719C\u71A7\u71B3\u7298\u729A\u7358\u7352\u735E\u735F\u7360\u735D\u735B\u7361\u735A\u7359"],["e6a1","\u7362\u7487\u7489\u748A\u7486\u7481\u747D\u7485\u7488\u747C\u7479\u7508\u7507\u757E\u7625\u761E\u7619\u761D\u761C\u7623\u761A\u7628\u761B\u769C\u769D\u769E\u769B\u778D\u778F\u7789\u7788\u78CD\u78BB\u78CF\u78CC\u78D1\u78CE\u78D4\u78C8\u78C3\u78C4\u78C9\u799A\u79A1\u79A0\u799C\u79A2\u799B\u6B76\u7A39\u7AB2\u7AB4\u7AB3\u7BB7\u7BCB\u7BBE\u7BAC\u7BCE\u7BAF\u7BB9\u7BCA\u7BB5\u7CC5\u7CC8\u7CCC\u7CCB\u7DF7\u7DDB\u7DEA\u7DE7\u7DD7\u7DE1\u7E03\u7DFA\u7DE6\u7DF6\u7DF1\u7DF0\u7DEE\u7DDF\u7F76\u7FAC\u7FB0\u7FAD\u7FED\u7FEB\u7FEA\u7FEC\u7FE6\u7FE8\u8064\u8067\u81A3\u819F"],["e740","\u819E\u8195\u81A2\u8199\u8197\u8216\u824F\u8253\u8252\u8250\u824E\u8251\u8524\u853B\u850F\u8500\u8529\u850E\u8509\u850D\u851F\u850A\u8527\u851C\u84FB\u852B\u84FA\u8508\u850C\u84F4\u852A\u84F2\u8515\u84F7\u84EB\u84F3\u84FC\u8512\u84EA\u84E9\u8516\u84FE\u8528\u851D\u852E\u8502\u84FD\u851E\u84F6\u8531\u8526\u84E7\u84E8\u84F0\u84EF\u84F9\u8518\u8520\u8530\u850B\u8519\u852F\u8662"],["e7a1","\u8756\u8763\u8764\u8777\u87E1\u8773\u8758\u8754\u875B\u8752\u8761\u875A\u8751\u875E\u876D\u876A\u8750\u874E\u875F\u875D\u876F\u876C\u877A\u876E\u875C\u8765\u874F\u877B\u8775\u8762\u8767\u8769\u885A\u8905\u890C\u8914\u890B\u8917\u8918\u8919\u8906\u8916\u8911\u890E\u8909\u89A2\u89A4\u89A3\u89ED\u89F0\u89EC\u8ACF\u8AC6\u8AB8\u8AD3\u8AD1\u8AD4\u8AD5\u8ABB\u8AD7\u8ABE\u8AC0\u8AC5\u8AD8\u8AC3\u8ABA\u8ABD\u8AD9\u8C3E\u8C4D\u8C8F\u8CE5\u8CDF\u8CD9\u8CE8\u8CDA\u8CDD\u8CE7\u8DA0\u8D9C\u8DA1\u8D9B\u8E20\u8E23\u8E25\u8E24\u8E2E\u8E15\u8E1B\u8E16\u8E11\u8E19\u8E26\u8E27"],["e840","\u8E14\u8E12\u8E18\u8E13\u8E1C\u8E17\u8E1A\u8F2C\u8F24\u8F18\u8F1A\u8F20\u8F23\u8F16\u8F17\u9073\u9070\u906F\u9067\u906B\u912F\u912B\u9129\u912A\u9132\u9126\u912E\u9185\u9186\u918A\u9181\u9182\u9184\u9180\u92D0\u92C3\u92C4\u92C0\u92D9\u92B6\u92CF\u92F1\u92DF\u92D8\u92E9\u92D7\u92DD\u92CC\u92EF\u92C2\u92E8\u92CA\u92C8\u92CE\u92E6\u92CD\u92D5\u92C9\u92E0\u92DE\u92E7\u92D1\u92D3"],["e8a1","\u92B5\u92E1\u92C6\u92B4\u957C\u95AC\u95AB\u95AE\u95B0\u96A4\u96A2\u96D3\u9705\u9708\u9702\u975A\u978A\u978E\u9788\u97D0\u97CF\u981E\u981D\u9826\u9829\u9828\u9820\u981B\u9827\u98B2\u9908\u98FA\u9911\u9914\u9916\u9917\u9915\u99DC\u99CD\u99CF\u99D3\u99D4\u99CE\u99C9\u99D6\u99D8\u99CB\u99D7\u99CC\u9AB3\u9AEC\u9AEB\u9AF3\u9AF2\u9AF1\u9B46\u9B43\u9B67\u9B74\u9B71\u9B66\u9B76\u9B75\u9B70\u9B68\u9B64\u9B6C\u9CFC\u9CFA\u9CFD\u9CFF\u9CF7\u9D07\u9D00\u9CF9\u9CFB\u9D08\u9D05\u9D04\u9E83\u9ED3\u9F0F\u9F10\u511C\u5113\u5117\u511A\u5111\u51DE\u5334\u53E1\u5670\u5660\u566E"],["e940","\u5673\u5666\u5663\u566D\u5672\u565E\u5677\u571C\u571B\u58C8\u58BD\u58C9\u58BF\u58BA\u58C2\u58BC\u58C6\u5B17\u5B19\u5B1B\u5B21\u5B14\u5B13\u5B10\u5B16\u5B28\u5B1A\u5B20\u5B1E\u5BEF\u5DAC\u5DB1\u5DA9\u5DA7\u5DB5\u5DB0\u5DAE\u5DAA\u5DA8\u5DB2\u5DAD\u5DAF\u5DB4\u5E67\u5E68\u5E66\u5E6F\u5EE9\u5EE7\u5EE6\u5EE8\u5EE5\u5F4B\u5FBC\u619D\u61A8\u6196\u61C5\u61B4\u61C6\u61C1\u61CC\u61BA"],["e9a1","\u61BF\u61B8\u618C\u64D7\u64D6\u64D0\u64CF\u64C9\u64BD\u6489\u64C3\u64DB\u64F3\u64D9\u6533\u657F\u657C\u65A2\u66C8\u66BE\u66C0\u66CA\u66CB\u66CF\u66BD\u66BB\u66BA\u66CC\u6723\u6A34\u6A66\u6A49\u6A67\u6A32\u6A68\u6A3E\u6A5D\u6A6D\u6A76\u6A5B\u6A51\u6A28\u6A5A\u6A3B\u6A3F\u6A41\u6A6A\u6A64\u6A50\u6A4F\u6A54\u6A6F\u6A69\u6A60\u6A3C\u6A5E\u6A56\u6A55\u6A4D\u6A4E\u6A46\u6B55\u6B54\u6B56\u6BA7\u6BAA\u6BAB\u6BC8\u6BC7\u6C04\u6C03\u6C06\u6FAD\u6FCB\u6FA3\u6FC7\u6FBC\u6FCE\u6FC8\u6F5E\u6FC4\u6FBD\u6F9E\u6FCA\u6FA8\u7004\u6FA5\u6FAE\u6FBA\u6FAC\u6FAA\u6FCF\u6FBF\u6FB8"],["ea40","\u6FA2\u6FC9\u6FAB\u6FCD\u6FAF\u6FB2\u6FB0\u71C5\u71C2\u71BF\u71B8\u71D6\u71C0\u71C1\u71CB\u71D4\u71CA\u71C7\u71CF\u71BD\u71D8\u71BC\u71C6\u71DA\u71DB\u729D\u729E\u7369\u7366\u7367\u736C\u7365\u736B\u736A\u747F\u749A\u74A0\u7494\u7492\u7495\u74A1\u750B\u7580\u762F\u762D\u7631\u763D\u7633\u763C\u7635\u7632\u7630\u76BB\u76E6\u779A\u779D\u77A1\u779C\u779B\u77A2\u77A3\u7795\u7799"],["eaa1","\u7797\u78DD\u78E9\u78E5\u78EA\u78DE\u78E3\u78DB\u78E1\u78E2\u78ED\u78DF\u78E0\u79A4\u7A44\u7A48\u7A47\u7AB6\u7AB8\u7AB5\u7AB1\u7AB7\u7BDE\u7BE3\u7BE7\u7BDD\u7BD5\u7BE5\u7BDA\u7BE8\u7BF9\u7BD4\u7BEA\u7BE2\u7BDC\u7BEB\u7BD8\u7BDF\u7CD2\u7CD4\u7CD7\u7CD0\u7CD1\u7E12\u7E21\u7E17\u7E0C\u7E1F\u7E20\u7E13\u7E0E\u7E1C\u7E15\u7E1A\u7E22\u7E0B\u7E0F\u7E16\u7E0D\u7E14\u7E25\u7E24\u7F43\u7F7B\u7F7C\u7F7A\u7FB1\u7FEF\u802A\u8029\u806C\u81B1\u81A6\u81AE\u81B9\u81B5\u81AB\u81B0\u81AC\u81B4\u81B2\u81B7\u81A7\u81F2\u8255\u8256\u8257\u8556\u8545\u856B\u854D\u8553\u8561\u8558"],["eb40","\u8540\u8546\u8564\u8541\u8562\u8544\u8551\u8547\u8563\u853E\u855B\u8571\u854E\u856E\u8575\u8555\u8567\u8560\u858C\u8566\u855D\u8554\u8565\u856C\u8663\u8665\u8664\u879B\u878F\u8797\u8793\u8792\u8788\u8781\u8796\u8798\u8779\u8787\u87A3\u8785\u8790\u8791\u879D\u8784\u8794\u879C\u879A\u8789\u891E\u8926\u8930\u892D\u892E\u8927\u8931\u8922\u8929\u8923\u892F\u892C\u891F\u89F1\u8AE0"],["eba1","\u8AE2\u8AF2\u8AF4\u8AF5\u8ADD\u8B14\u8AE4\u8ADF\u8AF0\u8AC8\u8ADE\u8AE1\u8AE8\u8AFF\u8AEF\u8AFB\u8C91\u8C92\u8C90\u8CF5\u8CEE\u8CF1\u8CF0\u8CF3\u8D6C\u8D6E\u8DA5\u8DA7\u8E33\u8E3E\u8E38\u8E40\u8E45\u8E36\u8E3C\u8E3D\u8E41\u8E30\u8E3F\u8EBD\u8F36\u8F2E\u8F35\u8F32\u8F39\u8F37\u8F34\u9076\u9079\u907B\u9086\u90FA\u9133\u9135\u9136\u9193\u9190\u9191\u918D\u918F\u9327\u931E\u9308\u931F\u9306\u930F\u937A\u9338\u933C\u931B\u9323\u9312\u9301\u9346\u932D\u930E\u930D\u92CB\u931D\u92FA\u9325\u9313\u92F9\u92F7\u9334\u9302\u9324\u92FF\u9329\u9339\u9335\u932A\u9314\u930C"],["ec40","\u930B\u92FE\u9309\u9300\u92FB\u9316\u95BC\u95CD\u95BE\u95B9\u95BA\u95B6\u95BF\u95B5\u95BD\u96A9\u96D4\u970B\u9712\u9710\u9799\u9797\u9794\u97F0\u97F8\u9835\u982F\u9832\u9924\u991F\u9927\u9929\u999E\u99EE\u99EC\u99E5\u99E4\u99F0\u99E3\u99EA\u99E9\u99E7\u9AB9\u9ABF\u9AB4\u9ABB\u9AF6\u9AFA\u9AF9\u9AF7\u9B33\u9B80\u9B85\u9B87\u9B7C\u9B7E\u9B7B\u9B82\u9B93\u9B92\u9B90\u9B7A\u9B95"],["eca1","\u9B7D\u9B88\u9D25\u9D17\u9D20\u9D1E\u9D14\u9D29\u9D1D\u9D18\u9D22\u9D10\u9D19\u9D1F\u9E88\u9E86\u9E87\u9EAE\u9EAD\u9ED5\u9ED6\u9EFA\u9F12\u9F3D\u5126\u5125\u5122\u5124\u5120\u5129\u52F4\u5693\u568C\u568D\u5686\u5684\u5683\u567E\u5682\u567F\u5681\u58D6\u58D4\u58CF\u58D2\u5B2D\u5B25\u5B32\u5B23\u5B2C\u5B27\u5B26\u5B2F\u5B2E\u5B7B\u5BF1\u5BF2\u5DB7\u5E6C\u5E6A\u5FBE\u5FBB\u61C3\u61B5\u61BC\u61E7\u61E0\u61E5\u61E4\u61E8\u61DE\u64EF\u64E9\u64E3\u64EB\u64E4\u64E8\u6581\u6580\u65B6\u65DA\u66D2\u6A8D\u6A96\u6A81\u6AA5\u6A89\u6A9F\u6A9B\u6AA1\u6A9E\u6A87\u6A93\u6A8E"],["ed40","\u6A95\u6A83\u6AA8\u6AA4\u6A91\u6A7F\u6AA6\u6A9A\u6A85\u6A8C\u6A92\u6B5B\u6BAD\u6C09\u6FCC\u6FA9\u6FF4\u6FD4\u6FE3\u6FDC\u6FED\u6FE7\u6FE6\u6FDE\u6FF2\u6FDD\u6FE2\u6FE8\u71E1\u71F1\u71E8\u71F2\u71E4\u71F0\u71E2\u7373\u736E\u736F\u7497\u74B2\u74AB\u7490\u74AA\u74AD\u74B1\u74A5\u74AF\u7510\u7511\u7512\u750F\u7584\u7643\u7648\u7649\u7647\u76A4\u76E9\u77B5\u77AB\u77B2\u77B7\u77B6"],["eda1","\u77B4\u77B1\u77A8\u77F0\u78F3\u78FD\u7902\u78FB\u78FC\u78F2\u7905\u78F9\u78FE\u7904\u79AB\u79A8\u7A5C\u7A5B\u7A56\u7A58\u7A54\u7A5A\u7ABE\u7AC0\u7AC1\u7C05\u7C0F\u7BF2\u7C00\u7BFF\u7BFB\u7C0E\u7BF4\u7C0B\u7BF3\u7C02\u7C09\u7C03\u7C01\u7BF8\u7BFD\u7C06\u7BF0\u7BF1\u7C10\u7C0A\u7CE8\u7E2D\u7E3C\u7E42\u7E33\u9848\u7E38\u7E2A\u7E49\u7E40\u7E47\u7E29\u7E4C\u7E30\u7E3B\u7E36\u7E44\u7E3A\u7F45\u7F7F\u7F7E\u7F7D\u7FF4\u7FF2\u802C\u81BB\u81C4\u81CC\u81CA\u81C5\u81C7\u81BC\u81E9\u825B\u825A\u825C\u8583\u8580\u858F\u85A7\u8595\u85A0\u858B\u85A3\u857B\u85A4\u859A\u859E"],["ee40","\u8577\u857C\u8589\u85A1\u857A\u8578\u8557\u858E\u8596\u8586\u858D\u8599\u859D\u8581\u85A2\u8582\u8588\u8585\u8579\u8576\u8598\u8590\u859F\u8668\u87BE\u87AA\u87AD\u87C5\u87B0\u87AC\u87B9\u87B5\u87BC\u87AE\u87C9\u87C3\u87C2\u87CC\u87B7\u87AF\u87C4\u87CA\u87B4\u87B6\u87BF\u87B8\u87BD\u87DE\u87B2\u8935\u8933\u893C\u893E\u8941\u8952\u8937\u8942\u89AD\u89AF\u89AE\u89F2\u89F3\u8B1E"],["eea1","\u8B18\u8B16\u8B11\u8B05\u8B0B\u8B22\u8B0F\u8B12\u8B15\u8B07\u8B0D\u8B08\u8B06\u8B1C\u8B13\u8B1A\u8C4F\u8C70\u8C72\u8C71\u8C6F\u8C95\u8C94\u8CF9\u8D6F\u8E4E\u8E4D\u8E53\u8E50\u8E4C\u8E47\u8F43\u8F40\u9085\u907E\u9138\u919A\u91A2\u919B\u9199\u919F\u91A1\u919D\u91A0\u93A1\u9383\u93AF\u9364\u9356\u9347\u937C\u9358\u935C\u9376\u9349\u9350\u9351\u9360\u936D\u938F\u934C\u936A\u9379\u9357\u9355\u9352\u934F\u9371\u9377\u937B\u9361\u935E\u9363\u9367\u9380\u934E\u9359\u95C7\u95C0\u95C9\u95C3\u95C5\u95B7\u96AE\u96B0\u96AC\u9720\u971F\u9718\u971D\u9719\u979A\u97A1\u979C"],["ef40","\u979E\u979D\u97D5\u97D4\u97F1\u9841\u9844\u984A\u9849\u9845\u9843\u9925\u992B\u992C\u992A\u9933\u9932\u992F\u992D\u9931\u9930\u9998\u99A3\u99A1\u9A02\u99FA\u99F4\u99F7\u99F9\u99F8\u99F6\u99FB\u99FD\u99FE\u99FC\u9A03\u9ABE\u9AFE\u9AFD\u9B01\u9AFC\u9B48\u9B9A\u9BA8\u9B9E\u9B9B\u9BA6\u9BA1\u9BA5\u9BA4\u9B86\u9BA2\u9BA0\u9BAF\u9D33\u9D41\u9D67\u9D36\u9D2E\u9D2F\u9D31\u9D38\u9D30"],["efa1","\u9D45\u9D42\u9D43\u9D3E\u9D37\u9D40\u9D3D\u7FF5\u9D2D\u9E8A\u9E89\u9E8D\u9EB0\u9EC8\u9EDA\u9EFB\u9EFF\u9F24\u9F23\u9F22\u9F54\u9FA0\u5131\u512D\u512E\u5698\u569C\u5697\u569A\u569D\u5699\u5970\u5B3C\u5C69\u5C6A\u5DC0\u5E6D\u5E6E\u61D8\u61DF\u61ED\u61EE\u61F1\u61EA\u61F0\u61EB\u61D6\u61E9\u64FF\u6504\u64FD\u64F8\u6501\u6503\u64FC\u6594\u65DB\u66DA\u66DB\u66D8\u6AC5\u6AB9\u6ABD\u6AE1\u6AC6\u6ABA\u6AB6\u6AB7\u6AC7\u6AB4\u6AAD\u6B5E\u6BC9\u6C0B\u7007\u700C\u700D\u7001\u7005\u7014\u700E\u6FFF\u7000\u6FFB\u7026\u6FFC\u6FF7\u700A\u7201\u71FF\u71F9\u7203\u71FD\u7376"],["f040","\u74B8\u74C0\u74B5\u74C1\u74BE\u74B6\u74BB\u74C2\u7514\u7513\u765C\u7664\u7659\u7650\u7653\u7657\u765A\u76A6\u76BD\u76EC\u77C2\u77BA\u78FF\u790C\u7913\u7914\u7909\u7910\u7912\u7911\u79AD\u79AC\u7A5F\u7C1C\u7C29\u7C19\u7C20\u7C1F\u7C2D\u7C1D\u7C26\u7C28\u7C22\u7C25\u7C30\u7E5C\u7E50\u7E56\u7E63\u7E58\u7E62\u7E5F\u7E51\u7E60\u7E57\u7E53\u7FB5\u7FB3\u7FF7\u7FF8\u8075\u81D1\u81D2"],["f0a1","\u81D0\u825F\u825E\u85B4\u85C6\u85C0\u85C3\u85C2\u85B3\u85B5\u85BD\u85C7\u85C4\u85BF\u85CB\u85CE\u85C8\u85C5\u85B1\u85B6\u85D2\u8624\u85B8\u85B7\u85BE\u8669\u87E7\u87E6\u87E2\u87DB\u87EB\u87EA\u87E5\u87DF\u87F3\u87E4\u87D4\u87DC\u87D3\u87ED\u87D8\u87E3\u87A4\u87D7\u87D9\u8801\u87F4\u87E8\u87DD\u8953\u894B\u894F\u894C\u8946\u8950\u8951\u8949\u8B2A\u8B27\u8B23\u8B33\u8B30\u8B35\u8B47\u8B2F\u8B3C\u8B3E\u8B31\u8B25\u8B37\u8B26\u8B36\u8B2E\u8B24\u8B3B\u8B3D\u8B3A\u8C42\u8C75\u8C99\u8C98\u8C97\u8CFE\u8D04\u8D02\u8D00\u8E5C\u8E62\u8E60\u8E57\u8E56\u8E5E\u8E65\u8E67"],["f140","\u8E5B\u8E5A\u8E61\u8E5D\u8E69\u8E54\u8F46\u8F47\u8F48\u8F4B\u9128\u913A\u913B\u913E\u91A8\u91A5\u91A7\u91AF\u91AA\u93B5\u938C\u9392\u93B7\u939B\u939D\u9389\u93A7\u938E\u93AA\u939E\u93A6\u9395\u9388\u9399\u939F\u938D\u93B1\u9391\u93B2\u93A4\u93A8\u93B4\u93A3\u93A5\u95D2\u95D3\u95D1\u96B3\u96D7\u96DA\u5DC2\u96DF\u96D8\u96DD\u9723\u9722\u9725\u97AC\u97AE\u97A8\u97AB\u97A4\u97AA"],["f1a1","\u97A2\u97A5\u97D7\u97D9\u97D6\u97D8\u97FA\u9850\u9851\u9852\u98B8\u9941\u993C\u993A\u9A0F\u9A0B\u9A09\u9A0D\u9A04\u9A11\u9A0A\u9A05\u9A07\u9A06\u9AC0\u9ADC\u9B08\u9B04\u9B05\u9B29\u9B35\u9B4A\u9B4C\u9B4B\u9BC7\u9BC6\u9BC3\u9BBF\u9BC1\u9BB5\u9BB8\u9BD3\u9BB6\u9BC4\u9BB9\u9BBD\u9D5C\u9D53\u9D4F\u9D4A\u9D5B\u9D4B\u9D59\u9D56\u9D4C\u9D57\u9D52\u9D54\u9D5F\u9D58\u9D5A\u9E8E\u9E8C\u9EDF\u9F01\u9F00\u9F16\u9F25\u9F2B\u9F2A\u9F29\u9F28\u9F4C\u9F55\u5134\u5135\u5296\u52F7\u53B4\u56AB\u56AD\u56A6\u56A7\u56AA\u56AC\u58DA\u58DD\u58DB\u5912\u5B3D\u5B3E\u5B3F\u5DC3\u5E70"],["f240","\u5FBF\u61FB\u6507\u6510\u650D\u6509\u650C\u650E\u6584\u65DE\u65DD\u66DE\u6AE7\u6AE0\u6ACC\u6AD1\u6AD9\u6ACB\u6ADF\u6ADC\u6AD0\u6AEB\u6ACF\u6ACD\u6ADE\u6B60\u6BB0\u6C0C\u7019\u7027\u7020\u7016\u702B\u7021\u7022\u7023\u7029\u7017\u7024\u701C\u702A\u720C\u720A\u7207\u7202\u7205\u72A5\u72A6\u72A4\u72A3\u72A1\u74CB\u74C5\u74B7\u74C3\u7516\u7660\u77C9\u77CA\u77C4\u77F1\u791D\u791B"],["f2a1","\u7921\u791C\u7917\u791E\u79B0\u7A67\u7A68\u7C33\u7C3C\u7C39\u7C2C\u7C3B\u7CEC\u7CEA\u7E76\u7E75\u7E78\u7E70\u7E77\u7E6F\u7E7A\u7E72\u7E74\u7E68\u7F4B\u7F4A\u7F83\u7F86\u7FB7\u7FFD\u7FFE\u8078\u81D7\u81D5\u8264\u8261\u8263\u85EB\u85F1\u85ED\u85D9\u85E1\u85E8\u85DA\u85D7\u85EC\u85F2\u85F8\u85D8\u85DF\u85E3\u85DC\u85D1\u85F0\u85E6\u85EF\u85DE\u85E2\u8800\u87FA\u8803\u87F6\u87F7\u8809\u880C\u880B\u8806\u87FC\u8808\u87FF\u880A\u8802\u8962\u895A\u895B\u8957\u8961\u895C\u8958\u895D\u8959\u8988\u89B7\u89B6\u89F6\u8B50\u8B48\u8B4A\u8B40\u8B53\u8B56\u8B54\u8B4B\u8B55"],["f340","\u8B51\u8B42\u8B52\u8B57\u8C43\u8C77\u8C76\u8C9A\u8D06\u8D07\u8D09\u8DAC\u8DAA\u8DAD\u8DAB\u8E6D\u8E78\u8E73\u8E6A\u8E6F\u8E7B\u8EC2\u8F52\u8F51\u8F4F\u8F50\u8F53\u8FB4\u9140\u913F\u91B0\u91AD\u93DE\u93C7\u93CF\u93C2\u93DA\u93D0\u93F9\u93EC\u93CC\u93D9\u93A9\u93E6\u93CA\u93D4\u93EE\u93E3\u93D5\u93C4\u93CE\u93C0\u93D2\u93E7\u957D\u95DA\u95DB\u96E1\u9729\u972B\u972C\u9728\u9726"],["f3a1","\u97B3\u97B7\u97B6\u97DD\u97DE\u97DF\u985C\u9859\u985D\u9857\u98BF\u98BD\u98BB\u98BE\u9948\u9947\u9943\u99A6\u99A7\u9A1A\u9A15\u9A25\u9A1D\u9A24\u9A1B\u9A22\u9A20\u9A27\u9A23\u9A1E\u9A1C\u9A14\u9AC2\u9B0B\u9B0A\u9B0E\u9B0C\u9B37\u9BEA\u9BEB\u9BE0\u9BDE\u9BE4\u9BE6\u9BE2\u9BF0\u9BD4\u9BD7\u9BEC\u9BDC\u9BD9\u9BE5\u9BD5\u9BE1\u9BDA\u9D77\u9D81\u9D8A\u9D84\u9D88\u9D71\u9D80\u9D78\u9D86\u9D8B\u9D8C\u9D7D\u9D6B\u9D74\u9D75\u9D70\u9D69\u9D85\u9D73\u9D7B\u9D82\u9D6F\u9D79\u9D7F\u9D87\u9D68\u9E94\u9E91\u9EC0\u9EFC\u9F2D\u9F40\u9F41\u9F4D\u9F56\u9F57\u9F58\u5337\u56B2"],["f440","\u56B5\u56B3\u58E3\u5B45\u5DC6\u5DC7\u5EEE\u5EEF\u5FC0\u5FC1\u61F9\u6517\u6516\u6515\u6513\u65DF\u66E8\u66E3\u66E4\u6AF3\u6AF0\u6AEA\u6AE8\u6AF9\u6AF1\u6AEE\u6AEF\u703C\u7035\u702F\u7037\u7034\u7031\u7042\u7038\u703F\u703A\u7039\u7040\u703B\u7033\u7041\u7213\u7214\u72A8\u737D\u737C\u74BA\u76AB\u76AA\u76BE\u76ED\u77CC\u77CE\u77CF\u77CD\u77F2\u7925\u7923\u7927\u7928\u7924\u7929"],["f4a1","\u79B2\u7A6E\u7A6C\u7A6D\u7AF7\u7C49\u7C48\u7C4A\u7C47\u7C45\u7CEE\u7E7B\u7E7E\u7E81\u7E80\u7FBA\u7FFF\u8079\u81DB\u81D9\u820B\u8268\u8269\u8622\u85FF\u8601\u85FE\u861B\u8600\u85F6\u8604\u8609\u8605\u860C\u85FD\u8819\u8810\u8811\u8817\u8813\u8816\u8963\u8966\u89B9\u89F7\u8B60\u8B6A\u8B5D\u8B68\u8B63\u8B65\u8B67\u8B6D\u8DAE\u8E86\u8E88\u8E84\u8F59\u8F56\u8F57\u8F55\u8F58\u8F5A\u908D\u9143\u9141\u91B7\u91B5\u91B2\u91B3\u940B\u9413\u93FB\u9420\u940F\u9414\u93FE\u9415\u9410\u9428\u9419\u940D\u93F5\u9400\u93F7\u9407\u940E\u9416\u9412\u93FA\u9409\u93F8\u940A\u93FF"],["f540","\u93FC\u940C\u93F6\u9411\u9406\u95DE\u95E0\u95DF\u972E\u972F\u97B9\u97BB\u97FD\u97FE\u9860\u9862\u9863\u985F\u98C1\u98C2\u9950\u994E\u9959\u994C\u994B\u9953\u9A32\u9A34\u9A31\u9A2C\u9A2A\u9A36\u9A29\u9A2E\u9A38\u9A2D\u9AC7\u9ACA\u9AC6\u9B10\u9B12\u9B11\u9C0B\u9C08\u9BF7\u9C05\u9C12\u9BF8\u9C40\u9C07\u9C0E\u9C06\u9C17\u9C14\u9C09\u9D9F\u9D99\u9DA4\u9D9D\u9D92\u9D98\u9D90\u9D9B"],["f5a1","\u9DA0\u9D94\u9D9C\u9DAA\u9D97\u9DA1\u9D9A\u9DA2\u9DA8\u9D9E\u9DA3\u9DBF\u9DA9\u9D96\u9DA6\u9DA7\u9E99\u9E9B\u9E9A\u9EE5\u9EE4\u9EE7\u9EE6\u9F30\u9F2E\u9F5B\u9F60\u9F5E\u9F5D\u9F59\u9F91\u513A\u5139\u5298\u5297\u56C3\u56BD\u56BE\u5B48\u5B47\u5DCB\u5DCF\u5EF1\u61FD\u651B\u6B02\u6AFC\u6B03\u6AF8\u6B00\u7043\u7044\u704A\u7048\u7049\u7045\u7046\u721D\u721A\u7219\u737E\u7517\u766A\u77D0\u792D\u7931\u792F\u7C54\u7C53\u7CF2\u7E8A\u7E87\u7E88\u7E8B\u7E86\u7E8D\u7F4D\u7FBB\u8030\u81DD\u8618\u862A\u8626\u861F\u8623\u861C\u8619\u8627\u862E\u8621\u8620\u8629\u861E\u8625"],["f640","\u8829\u881D\u881B\u8820\u8824\u881C\u882B\u884A\u896D\u8969\u896E\u896B\u89FA\u8B79\u8B78\u8B45\u8B7A\u8B7B\u8D10\u8D14\u8DAF\u8E8E\u8E8C\u8F5E\u8F5B\u8F5D\u9146\u9144\u9145\u91B9\u943F\u943B\u9436\u9429\u943D\u943C\u9430\u9439\u942A\u9437\u942C\u9440\u9431\u95E5\u95E4\u95E3\u9735\u973A\u97BF\u97E1\u9864\u98C9\u98C6\u98C0\u9958\u9956\u9A39\u9A3D\u9A46\u9A44\u9A42\u9A41\u9A3A"],["f6a1","\u9A3F\u9ACD\u9B15\u9B17\u9B18\u9B16\u9B3A\u9B52\u9C2B\u9C1D\u9C1C\u9C2C\u9C23\u9C28\u9C29\u9C24\u9C21\u9DB7\u9DB6\u9DBC\u9DC1\u9DC7\u9DCA\u9DCF\u9DBE\u9DC5\u9DC3\u9DBB\u9DB5\u9DCE\u9DB9\u9DBA\u9DAC\u9DC8\u9DB1\u9DAD\u9DCC\u9DB3\u9DCD\u9DB2\u9E7A\u9E9C\u9EEB\u9EEE\u9EED\u9F1B\u9F18\u9F1A\u9F31\u9F4E\u9F65\u9F64\u9F92\u4EB9\u56C6\u56C5\u56CB\u5971\u5B4B\u5B4C\u5DD5\u5DD1\u5EF2\u6521\u6520\u6526\u6522\u6B0B\u6B08\u6B09\u6C0D\u7055\u7056\u7057\u7052\u721E\u721F\u72A9\u737F\u74D8\u74D5\u74D9\u74D7\u766D\u76AD\u7935\u79B4\u7A70\u7A71\u7C57\u7C5C\u7C59\u7C5B\u7C5A"],["f740","\u7CF4\u7CF1\u7E91\u7F4F\u7F87\u81DE\u826B\u8634\u8635\u8633\u862C\u8632\u8636\u882C\u8828\u8826\u882A\u8825\u8971\u89BF\u89BE\u89FB\u8B7E\u8B84\u8B82\u8B86\u8B85\u8B7F\u8D15\u8E95\u8E94\u8E9A\u8E92\u8E90\u8E96\u8E97\u8F60\u8F62\u9147\u944C\u9450\u944A\u944B\u944F\u9447\u9445\u9448\u9449\u9446\u973F\u97E3\u986A\u9869\u98CB\u9954\u995B\u9A4E\u9A53\u9A54\u9A4C\u9A4F\u9A48\u9A4A"],["f7a1","\u9A49\u9A52\u9A50\u9AD0\u9B19\u9B2B\u9B3B\u9B56\u9B55\u9C46\u9C48\u9C3F\u9C44\u9C39\u9C33\u9C41\u9C3C\u9C37\u9C34\u9C32\u9C3D\u9C36\u9DDB\u9DD2\u9DDE\u9DDA\u9DCB\u9DD0\u9DDC\u9DD1\u9DDF\u9DE9\u9DD9\u9DD8\u9DD6\u9DF5\u9DD5\u9DDD\u9EB6\u9EF0\u9F35\u9F33\u9F32\u9F42\u9F6B\u9F95\u9FA2\u513D\u5299\u58E8\u58E7\u5972\u5B4D\u5DD8\u882F\u5F4F\u6201\u6203\u6204\u6529\u6525\u6596\u66EB\u6B11\u6B12\u6B0F\u6BCA\u705B\u705A\u7222\u7382\u7381\u7383\u7670\u77D4\u7C67\u7C66\u7E95\u826C\u863A\u8640\u8639\u863C\u8631\u863B\u863E\u8830\u8832\u882E\u8833\u8976\u8974\u8973\u89FE"],["f840","\u8B8C\u8B8E\u8B8B\u8B88\u8C45\u8D19\u8E98\u8F64\u8F63\u91BC\u9462\u9455\u945D\u9457\u945E\u97C4\u97C5\u9800\u9A56\u9A59\u9B1E\u9B1F\u9B20\u9C52\u9C58\u9C50\u9C4A\u9C4D\u9C4B\u9C55\u9C59\u9C4C\u9C4E\u9DFB\u9DF7\u9DEF\u9DE3\u9DEB\u9DF8\u9DE4\u9DF6\u9DE1\u9DEE\u9DE6\u9DF2\u9DF0\u9DE2\u9DEC\u9DF4\u9DF3\u9DE8\u9DED\u9EC2\u9ED0\u9EF2\u9EF3\u9F06\u9F1C\u9F38\u9F37\u9F36\u9F43\u9F4F"],["f8a1","\u9F71\u9F70\u9F6E\u9F6F\u56D3\u56CD\u5B4E\u5C6D\u652D\u66ED\u66EE\u6B13\u705F\u7061\u705D\u7060\u7223\u74DB\u74E5\u77D5\u7938\u79B7\u79B6\u7C6A\u7E97\u7F89\u826D\u8643\u8838\u8837\u8835\u884B\u8B94\u8B95\u8E9E\u8E9F\u8EA0\u8E9D\u91BE\u91BD\u91C2\u946B\u9468\u9469\u96E5\u9746\u9743\u9747\u97C7\u97E5\u9A5E\u9AD5\u9B59\u9C63\u9C67\u9C66\u9C62\u9C5E\u9C60\u9E02\u9DFE\u9E07\u9E03\u9E06\u9E05\u9E00\u9E01\u9E09\u9DFF\u9DFD\u9E04\u9EA0\u9F1E\u9F46\u9F74\u9F75\u9F76\u56D4\u652E\u65B8\u6B18\u6B19\u6B17\u6B1A\u7062\u7226\u72AA\u77D8\u77D9\u7939\u7C69\u7C6B\u7CF6\u7E9A"],["f940","\u7E98\u7E9B\u7E99\u81E0\u81E1\u8646\u8647\u8648\u8979\u897A\u897C\u897B\u89FF\u8B98\u8B99\u8EA5\u8EA4\u8EA3\u946E\u946D\u946F\u9471\u9473\u9749\u9872\u995F\u9C68\u9C6E\u9C6D\u9E0B\u9E0D\u9E10\u9E0F\u9E12\u9E11\u9EA1\u9EF5\u9F09\u9F47\u9F78\u9F7B\u9F7A\u9F79\u571E\u7066\u7C6F\u883C\u8DB2\u8EA6\u91C3\u9474\u9478\u9476\u9475\u9A60\u9C74\u9C73\u9C71\u9C75\u9E14\u9E13\u9EF6\u9F0A"],["f9a1","\u9FA4\u7068\u7065\u7CF7\u866A\u883E\u883D\u883F\u8B9E\u8C9C\u8EA9\u8EC9\u974B\u9873\u9874\u98CC\u9961\u99AB\u9A64\u9A66\u9A67\u9B24\u9E15\u9E17\u9F48\u6207\u6B1E\u7227\u864C\u8EA8\u9482\u9480\u9481\u9A69\u9A68\u9B2E\u9E19\u7229\u864B\u8B9F\u9483\u9C79\u9EB7\u7675\u9A6B\u9C7A\u9E1D\u7069\u706A\u9EA4\u9F7E\u9F49\u9F98\u7881\u92B9\u88CF\u58BB\u6052\u7CA7\u5AFA\u2554\u2566\u2557\u2560\u256C\u2563\u255A\u2569\u255D\u2552\u2564\u2555\u255E\u256A\u2561\u2558\u2567\u255B\u2553\u2565\u2556\u255F\u256B\u2562\u2559\u2568\u255C\u2551\u2550\u256D\u256E\u2570\u256F\u2593"]]});var i8i=xe((das,uCr)=>{uCr.exports=[["8740","\u43F0\u4C32\u4603\u45A6\u4578\u{27267}\u4D77\u45B3\u{27CB1}\u4CE2\u{27CC5}\u3B95\u4736\u4744\u4C47\u4C40\u{242BF}\u{23617}\u{27352}\u{26E8B}\u{270D2}\u4C57\u{2A351}\u474F\u45DA\u4C85\u{27C6C}\u4D07\u4AA4\u46A1\u{26B23}\u7225\u{25A54}\u{21A63}\u{23E06}\u{23F61}\u664D\u56FB"],["8767","\u7D95\u591D\u{28BB9}\u3DF4\u9734\u{27BEF}\u5BDB\u{21D5E}\u5AA4\u3625\u{29EB0}\u5AD1\u5BB7\u5CFC\u676E\u8593\u{29945}\u7461\u749D\u3875\u{21D53}\u{2369E}\u{26021}\u3EEC"],["87a1","\u{258DE}\u3AF5\u7AFC\u9F97\u{24161}\u{2890D}\u{231EA}\u{20A8A}\u{2325E}\u430A\u8484\u9F96\u942F\u4930\u8613\u5896\u974A\u9218\u79D0\u7A32\u6660\u6A29\u889D\u744C\u7BC5\u6782\u7A2C\u524F\u9046\u34E6\u73C4\u{25DB9}\u74C6\u9FC7\u57B3\u492F\u544C\u4131\u{2368E}\u5818\u7A72\u{27B65}\u8B8F\u46AE\u{26E88}\u4181\u{25D99}\u7BAE\u{224BC}\u9FC8\u{224C1}\u{224C9}\u{224CC}\u9FC9\u8504\u{235BB}\u40B4\u9FCA\u44E1\u{2ADFF}\u62C1\u706E\u9FCB"],["8840","\u31C0",4,"\u{2010C}\u31C5\u{200D1}\u{200CD}\u31C6\u31C7\u{200CB}\u{21FE8}\u31C8\u{200CA}\u31C9\u31CA\u31CB\u31CC\u{2010E}\u31CD\u31CE\u0100\xC1\u01CD\xC0\u0112\xC9\u011A\xC8\u014C\xD3\u01D1\xD2\u0FFF\xCA\u0304\u1EBE\u0FFF\xCA\u030C\u1EC0\xCA\u0101\xE1\u01CE\xE0\u0251\u0113\xE9\u011B\xE8\u012B\xED\u01D0\xEC\u014D\xF3\u01D2\xF2\u016B\xFA\u01D4\xF9\u01D6\u01D8\u01DA"],["88a1","\u01DC\xFC\u0FFF\xEA\u0304\u1EBF\u0FFF\xEA\u030C\u1EC1\xEA\u0261\u23DA\u23DB"],["8940","\u{2A3A9}\u{21145}"],["8943","\u650A"],["8946","\u4E3D\u6EDD\u9D4E\u91DF"],["894c","\u{27735}\u6491\u4F1A\u4F28\u4FA8\u5156\u5174\u519C\u51E4\u52A1\u52A8\u533B\u534E\u53D1\u53D8\u56E2\u58F0\u5904\u5907\u5932\u5934\u5B66\u5B9E\u5B9F\u5C9A\u5E86\u603B\u6589\u67FE\u6804\u6865\u6D4E\u70BC\u7535\u7EA4\u7EAC\u7EBA\u7EC7\u7ECF\u7EDF\u7F06\u7F37\u827A\u82CF\u836F\u89C6\u8BBE\u8BE2\u8F66\u8F67\u8F6E"],["89a1","\u7411\u7CFC\u7DCD\u6946\u7AC9\u5227"],["89ab","\u918C\u78B8\u915E\u80BC"],["89b0","\u8D0B\u80F6\u{209E7}"],["89b5","\u809F\u9EC7\u4CCD\u9DC9\u9E0C\u4C3E\u{29DF6}\u{2700E}\u9E0A\u{2A133}\u35C1"],["89c1","\u6E9A\u823E\u7519"],["89c5","\u4911\u9A6C\u9A8F\u9F99\u7987\u{2846C}\u{21DCA}\u{205D0}\u{22AE6}\u4E24\u4E81\u4E80\u4E87\u4EBF\u4EEB\u4F37\u344C\u4FBD\u3E48\u5003\u5088\u347D\u3493\u34A5\u5186\u5905\u51DB\u51FC\u5205\u4E89\u5279\u5290\u5327\u35C7\u53A9\u3551\u53B0\u3553\u53C2\u5423\u356D\u3572\u3681\u5493\u54A3\u54B4\u54B9\u54D0\u54EF\u5518\u5523\u5528\u3598\u553F\u35A5\u35BF\u55D7\u35C5"],["8a40","\u{27D84}\u5525"],["8a43","\u{20C42}\u{20D15}\u{2512B}\u5590\u{22CC6}\u39EC\u{20341}\u8E46\u{24DB8}\u{294E5}\u4053\u{280BE}\u777A\u{22C38}\u3A34\u47D5\u{2815D}\u{269F2}\u{24DEA}\u64DD\u{20D7C}\u{20FB4}\u{20CD5}\u{210F4}\u648D\u8E7E\u{20E96}\u{20C0B}\u{20F64}\u{22CA9}\u{28256}\u{244D3}"],["8a64","\u{20D46}\u{29A4D}\u{280E9}\u47F4\u{24EA7}\u{22CC2}\u9AB2\u3A67\u{295F4}\u3FED\u3506\u{252C7}\u{297D4}\u{278C8}\u{22D44}\u9D6E\u9815"],["8a76","\u43D9\u{260A5}\u64B4\u54E3\u{22D4C}\u{22BCA}\u{21077}\u39FB\u{2106F}"],["8aa1","\u{266DA}\u{26716}\u{279A0}\u64EA\u{25052}\u{20C43}\u8E68\u{221A1}\u{28B4C}\u{20731}"],["8aac","\u480B\u{201A9}\u3FFA\u5873\u{22D8D}"],["8ab2","\u{245C8}\u{204FC}\u{26097}\u{20F4C}\u{20D96}\u5579\u40BB\u43BA"],["8abb","\u4AB4\u{22A66}\u{2109D}\u81AA\u98F5\u{20D9C}\u6379\u39FE\u{22775}\u8DC0\u56A1\u647C\u3E43"],["8ac9","\u{2A601}\u{20E09}\u{22ACF}\u{22CC9}"],["8ace","\u{210C8}\u{239C2}\u3992\u3A06\u{2829B}\u3578\u{25E49}\u{220C7}\u5652\u{20F31}\u{22CB2}\u{29720}\u34BC\u6C3D\u{24E3B}"],["8adf","\u{27574}\u{22E8B}\u{22208}\u{2A65B}\u{28CCD}\u{20E7A}\u{20C34}\u{2681C}\u7F93\u{210CF}\u{22803}\u{22939}\u35FB\u{251E3}\u{20E8C}\u{20F8D}\u{20EAA}\u3F93\u{20F30}\u{20D47}\u{2114F}\u{20E4C}"],["8af6","\u{20EAB}\u{20BA9}\u{20D48}\u{210C0}\u{2113D}\u3FF9\u{22696}\u6432\u{20FAD}"],["8b40","\u{233F4}\u{27639}\u{22BCE}\u{20D7E}\u{20D7F}\u{22C51}\u{22C55}\u3A18\u{20E98}\u{210C7}\u{20F2E}\u{2A632}\u{26B50}\u{28CD2}\u{28D99}\u{28CCA}\u95AA\u54CC\u82C4\u55B9"],["8b55","\u{29EC3}\u9C26\u9AB6\u{2775E}\u{22DEE}\u7140\u816D\u80EC\u5C1C\u{26572}\u8134\u3797\u535F\u{280BD}\u91B6\u{20EFA}\u{20E0F}\u{20E77}\u{20EFB}\u35DD\u{24DEB}\u3609\u{20CD6}\u56AF\u{227B5}\u{210C9}\u{20E10}\u{20E78}\u{21078}\u{21148}\u{28207}\u{21455}\u{20E79}\u{24E50}\u{22DA4}\u5A54\u{2101D}\u{2101E}\u{210F5}\u{210F6}\u579C\u{20E11}"],["8ba1","\u{27694}\u{282CD}\u{20FB5}\u{20E7B}\u{2517E}\u3703\u{20FB6}\u{21180}\u{252D8}\u{2A2BD}\u{249DA}\u{2183A}\u{24177}\u{2827C}\u5899\u5268\u361A\u{2573D}\u7BB2\u5B68\u4800\u4B2C\u9F27\u49E7\u9C1F\u9B8D\u{25B74}\u{2313D}\u55FB\u35F2\u5689\u4E28\u5902\u{21BC1}\u{2F878}\u9751\u{20086}\u4E5B\u4EBB\u353E\u5C23\u5F51\u5FC4\u38FA\u624C\u6535\u6B7A\u6C35\u6C3A\u706C\u722B\u4E2C\u72AD\u{248E9}\u7F52\u793B\u7CF9\u7F53\u{2626A}\u34C1"],["8bde","\u{2634B}\u8002\u8080\u{26612}\u{26951}\u535D\u8864\u89C1\u{278B2}\u8BA0\u8D1D\u9485\u9578\u957F\u95E8\u{28E0F}\u97E6\u9875\u98CE\u98DE\u9963\u{29810}\u9C7C\u9E1F\u9EC4\u6B6F\uF907\u4E37\u{20087}\u961D\u6237\u94A2"],["8c40","\u503B\u6DFE\u{29C73}\u9FA6\u3DC9\u888F\u{2414E}\u7077\u5CF5\u4B20\u{251CD}\u3559\u{25D30}\u6122\u{28A32}\u8FA7\u91F6\u7191\u6719\u73BA\u{23281}\u{2A107}\u3C8B\u{21980}\u4B10\u78E4\u7402\u51AE\u{2870F}\u4009\u6A63\u{2A2BA}\u4223\u860F\u{20A6F}\u7A2A\u{29947}\u{28AEA}\u9755\u704D\u5324\u{2207E}\u93F4\u76D9\u{289E3}\u9FA7\u77DD\u4EA3\u4FF0\u50BC\u4E2F\u4F17\u9FA8\u5434\u7D8B\u5892\u58D0\u{21DB6}\u5E92\u5E99\u5FC2\u{22712}\u658B"],["8ca1","\u{233F9}\u6919\u6A43\u{23C63}\u6CFF"],["8ca7","\u7200\u{24505}\u738C\u3EDB\u{24A13}\u5B15\u74B9\u8B83\u{25CA4}\u{25695}\u7A93\u7BEC\u7CC3\u7E6C\u82F8\u8597\u9FA9\u8890\u9FAA\u8EB9\u9FAB\u8FCF\u855F\u99E0\u9221\u9FAC\u{28DB9}\u{2143F}\u4071\u42A2\u5A1A"],["8cc9","\u9868\u676B\u4276\u573D"],["8cce","\u85D6\u{2497B}\u82BF\u{2710D}\u4C81\u{26D74}\u5D7B\u{26B15}\u{26FBE}\u9FAD\u9FAE\u5B96\u9FAF\u66E7\u7E5B\u6E57\u79CA\u3D88\u44C3\u{23256}\u{22796}\u439A\u4536"],["8ce6","\u5CD5\u{23B1A}\u8AF9\u5C78\u3D12\u{23551}\u5D78\u9FB2\u7157\u4558\u{240EC}\u{21E23}\u4C77\u3978\u344A\u{201A4}\u{26C41}\u8ACC\u4FB4\u{20239}\u59BF\u816C\u9856\u{298FA}\u5F3B"],["8d40","\u{20B9F}"],["8d42","\u{221C1}\u{2896D}\u4102\u46BB\u{29079}\u3F07\u9FB3\u{2A1B5}\u40F8\u37D6\u46F7\u{26C46}\u417C\u{286B2}\u{273FF}\u456D\u38D4\u{2549A}\u4561\u451B\u4D89\u4C7B\u4D76\u45EA\u3FC8\u{24B0F}\u3661\u44DE\u44BD\u41ED\u5D3E\u5D48\u5D56\u3DFC\u380F\u5DA4\u5DB9\u3820\u3838\u5E42\u5EBD\u5F25\u5F83\u3908\u3914\u393F\u394D\u60D7\u613D\u5CE5\u3989\u61B7\u61B9\u61CF\u39B8\u622C\u6290\u62E5\u6318\u39F8\u56B1"],["8da1","\u3A03\u63E2\u63FB\u6407\u645A\u3A4B\u64C0\u5D15\u5621\u9F9F\u3A97\u6586\u3ABD\u65FF\u6653\u3AF2\u6692\u3B22\u6716\u3B42\u67A4\u6800\u3B58\u684A\u6884\u3B72\u3B71\u3B7B\u6909\u6943\u725C\u6964\u699F\u6985\u3BBC\u69D6\u3BDD\u6A65\u6A74\u6A71\u6A82\u3BEC\u6A99\u3BF2\u6AAB\u6AB5\u6AD4\u6AF6\u6B81\u6BC1\u6BEA\u6C75\u6CAA\u3CCB\u6D02\u6D06\u6D26\u6D81\u3CEF\u6DA4\u6DB1\u6E15\u6E18\u6E29\u6E86\u{289C0}\u6EBB\u6EE2\u6EDA\u9F7F\u6EE8\u6EE9\u6F24\u6F34\u3D46\u{23F41}\u6F81\u6FBE\u3D6A\u3D75\u71B7\u5C99\u3D8A\u702C\u3D91\u7050\u7054\u706F\u707F\u7089\u{20325}\u43C1\u35F1\u{20ED8}"],["8e40","\u{23ED7}\u57BE\u{26ED3}\u713E\u{257E0}\u364E\u69A2\u{28BE9}\u5B74\u7A49\u{258E1}\u{294D9}\u7A65\u7A7D\u{259AC}\u7ABB\u7AB0\u7AC2\u7AC3\u71D1\u{2648D}\u41CA\u7ADA\u7ADD\u7AEA\u41EF\u54B2\u{25C01}\u7B0B\u7B55\u7B29\u{2530E}\u{25CFE}\u7BA2\u7B6F\u839C\u{25BB4}\u{26C7F}\u7BD0\u8421\u7B92\u7BB8\u{25D20}\u3DAD\u{25C65}\u8492\u7BFA\u7C06\u7C35\u{25CC1}\u7C44\u7C83\u{24882}\u7CA6\u667D\u{24578}\u7CC9\u7CC7\u7CE6\u7C74\u7CF3\u7CF5\u7CCE"],["8ea1","\u7E67\u451D\u{26E44}\u7D5D\u{26ED6}\u748D\u7D89\u7DAB\u7135\u7DB3\u7DD2\u{24057}\u{26029}\u7DE4\u3D13\u7DF5\u{217F9}\u7DE5\u{2836D}\u7E1D\u{26121}\u{2615A}\u7E6E\u7E92\u432B\u946C\u7E27\u7F40\u7F41\u7F47\u7936\u{262D0}\u99E1\u7F97\u{26351}\u7FA3\u{21661}\u{20068}\u455C\u{23766}\u4503\u{2833A}\u7FFA\u{26489}\u8005\u8008\u801D\u8028\u802F\u{2A087}\u{26CC3}\u803B\u803C\u8061\u{22714}\u4989\u{26626}\u{23DE3}\u{266E8}\u6725\u80A7\u{28A48}\u8107\u811A\u58B0\u{226F6}\u6C7F\u{26498}\u{24FB8}\u64E7\u{2148A}\u8218\u{2185E}\u6A53\u{24A65}\u{24A95}\u447A\u8229\u{20B0D}\u{26A52}\u{23D7E}\u4FF9\u{214FD}\u84E2\u8362\u{26B0A}\u{249A7}\u{23530}\u{21773}\u{23DF8}\u82AA\u691B\u{2F994}\u41DB"],["8f40","\u854B\u82D0\u831A\u{20E16}\u{217B4}\u36C1\u{2317D}\u{2355A}\u827B\u82E2\u8318\u{23E8B}\u{26DA3}\u{26B05}\u{26B97}\u{235CE}\u3DBF\u831D\u55EC\u8385\u450B\u{26DA5}\u83AC\u83C1\u83D3\u347E\u{26ED4}\u6A57\u855A\u3496\u{26E42}\u{22EEF}\u8458\u{25BE4}\u8471\u3DD3\u44E4\u6AA7\u844A\u{23CB5}\u7958\u84A8\u{26B96}\u{26E77}\u{26E43}\u84DE\u840F\u8391\u44A0\u8493\u84E4\u{25C91}\u4240\u{25CC0}\u4543\u8534\u5AF2\u{26E99}\u4527\u8573\u4516\u67BF\u8616"],["8fa1","\u{28625}\u{2863B}\u85C1\u{27088}\u8602\u{21582}\u{270CD}\u{2F9B2}\u456A\u8628\u3648\u{218A2}\u53F7\u{2739A}\u867E\u8771\u{2A0F8}\u87EE\u{22C27}\u87B1\u87DA\u880F\u5661\u866C\u6856\u460F\u8845\u8846\u{275E0}\u{23DB9}\u{275E4}\u885E\u889C\u465B\u88B4\u88B5\u63C1\u88C5\u7777\u{2770F}\u8987\u898A\u89A6\u89A9\u89A7\u89BC\u{28A25}\u89E7\u{27924}\u{27ABD}\u8A9C\u7793\u91FE\u8A90\u{27A59}\u7AE9\u{27B3A}\u{23F8F}\u4713\u{27B38}\u717C\u8B0C\u8B1F\u{25430}\u{25565}\u8B3F\u8B4C\u8B4D\u8AA9\u{24A7A}\u8B90\u8B9B\u8AAF\u{216DF}\u4615\u884F\u8C9B\u{27D54}\u{27D8F}\u{2F9D4}\u3725\u{27D53}\u8CD6\u{27D98}\u{27DBD}\u8D12\u8D03\u{21910}\u8CDB\u705C\u8D11\u{24CC9}\u3ED0\u8D77"],["9040","\u8DA9\u{28002}\u{21014}\u{2498A}\u3B7C\u{281BC}\u{2710C}\u7AE7\u8EAD\u8EB6\u8EC3\u92D4\u8F19\u8F2D\u{28365}\u{28412}\u8FA5\u9303\u{2A29F}\u{20A50}\u8FB3\u492A\u{289DE}\u{2853D}\u{23DBB}\u5EF8\u{23262}\u8FF9\u{2A014}\u{286BC}\u{28501}\u{22325}\u3980\u{26ED7}\u9037\u{2853C}\u{27ABE}\u9061\u{2856C}\u{2860B}\u90A8\u{28713}\u90C4\u{286E6}\u90AE\u90FD\u9167\u3AF0\u91A9\u91C4\u7CAC\u{28933}\u{21E89}\u920E\u6C9F\u9241\u9262\u{255B9}\u92B9\u{28AC6}\u{23C9B}\u{28B0C}\u{255DB}"],["90a1","\u{20D31}\u932C\u936B\u{28AE1}\u{28BEB}\u708F\u5AC3\u{28AE2}\u{28AE5}\u4965\u9244\u{28BEC}\u{28C39}\u{28BFF}\u9373\u945B\u8EBC\u9585\u95A6\u9426\u95A0\u6FF6\u42B9\u{2267A}\u{286D8}\u{2127C}\u{23E2E}\u49DF\u6C1C\u967B\u9696\u416C\u96A3\u{26ED5}\u61DA\u96B6\u78F5\u{28AE0}\u96BD\u53CC\u49A1\u{26CB8}\u{20274}\u{26410}\u{290AF}\u{290E5}\u{24AD1}\u{21915}\u{2330A}\u9731\u8642\u9736\u4A0F\u453D\u4585\u{24AE9}\u7075\u5B41\u971B\u975C\u{291D5}\u9757\u5B4A\u{291EB}\u975F\u9425\u50D0\u{230B7}\u{230BC}\u9789\u979F\u97B1\u97BE\u97C0\u97D2\u97E0\u{2546C}\u97EE\u741C\u{29433}\u97FF\u97F5\u{2941D}\u{2797A}\u4AD1\u9834\u9833\u984B\u9866\u3B0E\u{27175}\u3D51\u{20630}\u{2415C}"],["9140","\u{25706}\u98CA\u98B7\u98C8\u98C7\u4AFF\u{26D27}\u{216D3}\u55B0\u98E1\u98E6\u98EC\u9378\u9939\u{24A29}\u4B72\u{29857}\u{29905}\u99F5\u9A0C\u9A3B\u9A10\u9A58\u{25725}\u36C4\u{290B1}\u{29BD5}\u9AE0\u9AE2\u{29B05}\u9AF4\u4C0E\u9B14\u9B2D\u{28600}\u5034\u9B34\u{269A8}\u38C3\u{2307D}\u9B50\u9B40\u{29D3E}\u5A45\u{21863}\u9B8E\u{2424B}\u9C02\u9BFF\u9C0C\u{29E68}\u9DD4\u{29FB7}\u{2A192}\u{2A1AB}\u{2A0E1}\u{2A123}\u{2A1DF}\u9D7E\u9D83\u{2A134}\u9E0E\u6888"],["91a1","\u9DC4\u{2215B}\u{2A193}\u{2A220}\u{2193B}\u{2A233}\u9D39\u{2A0B9}\u{2A2B4}\u9E90\u9E95\u9E9E\u9EA2\u4D34\u9EAA\u9EAF\u{24364}\u9EC1\u3B60\u39E5\u3D1D\u4F32\u37BE\u{28C2B}\u9F02\u9F08\u4B96\u9424\u{26DA2}\u9F17\u9F16\u9F39\u569F\u568A\u9F45\u99B8\u{2908B}\u97F2\u847F\u9F62\u9F69\u7ADC\u9F8E\u7216\u4BBE\u{24975}\u{249BB}\u7177\u{249F8}\u{24348}\u{24A51}\u739E\u{28BDA}\u{218FA}\u799F\u{2897E}\u{28E36}\u9369\u93F3\u{28A44}\u92EC\u9381\u93CB\u{2896C}\u{244B9}\u7217\u3EEB\u7772\u7A43\u70D0\u{24473}\u{243F8}\u717E\u{217EF}\u70A3\u{218BE}\u{23599}\u3EC7\u{21885}\u{2542F}\u{217F8}\u3722\u{216FB}\u{21839}\u36E1\u{21774}\u{218D1}\u{25F4B}\u3723\u{216C0}\u575B\u{24A25}\u{213FE}\u{212A8}"],["9240","\u{213C6}\u{214B6}\u8503\u{236A6}\u8503\u8455\u{24994}\u{27165}\u{23E31}\u{2555C}\u{23EFB}\u{27052}\u44F4\u{236EE}\u{2999D}\u{26F26}\u67F9\u3733\u3C15\u3DE7\u586C\u{21922}\u6810\u4057\u{2373F}\u{240E1}\u{2408B}\u{2410F}\u{26C21}\u54CB\u569E\u{266B1}\u5692\u{20FDF}\u{20BA8}\u{20E0D}\u93C6\u{28B13}\u939C\u4EF8\u512B\u3819\u{24436}\u4EBC\u{20465}\u{2037F}\u4F4B\u4F8A\u{25651}\u5A68\u{201AB}\u{203CB}\u3999\u{2030A}\u{20414}\u3435\u4F29\u{202C0}\u{28EB3}\u{20275}\u8ADA\u{2020C}\u4E98"],["92a1","\u50CD\u510D\u4FA2\u4F03\u{24A0E}\u{23E8A}\u4F42\u502E\u506C\u5081\u4FCC\u4FE5\u5058\u50FC\u5159\u515B\u515D\u515E\u6E76\u{23595}\u{23E39}\u{23EBF}\u6D72\u{21884}\u{23E89}\u51A8\u51C3\u{205E0}\u44DD\u{204A3}\u{20492}\u{20491}\u8D7A\u{28A9C}\u{2070E}\u5259\u52A4\u{20873}\u52E1\u936E\u467A\u718C\u{2438C}\u{20C20}\u{249AC}\u{210E4}\u69D1\u{20E1D}\u7479\u3EDE\u7499\u7414\u7456\u7398\u4B8E\u{24ABC}\u{2408D}\u53D0\u3584\u720F\u{240C9}\u55B4\u{20345}\u54CD\u{20BC6}\u571D\u925D\u96F4\u9366\u57DD\u578D\u577F\u363E\u58CB\u5A99\u{28A46}\u{216FA}\u{2176F}\u{21710}\u5A2C\u59B8\u928F\u5A7E\u5ACF\u5A12\u{25946}\u{219F3}\u{21861}\u{24295}\u36F5\u6D05\u7443\u5A21\u{25E83}"],["9340","\u5A81\u{28BD7}\u{20413}\u93E0\u748C\u{21303}\u7105\u4972\u9408\u{289FB}\u93BD\u37A0\u5C1E\u5C9E\u5E5E\u5E48\u{21996}\u{2197C}\u{23AEE}\u5ECD\u5B4F\u{21903}\u{21904}\u3701\u{218A0}\u36DD\u{216FE}\u36D3\u812A\u{28A47}\u{21DBA}\u{23472}\u{289A8}\u5F0C\u5F0E\u{21927}\u{217AB}\u5A6B\u{2173B}\u5B44\u8614\u{275FD}\u8860\u607E\u{22860}\u{2262B}\u5FDB\u3EB8\u{225AF}\u{225BE}\u{29088}\u{26F73}\u61C0\u{2003E}\u{20046}\u{2261B}\u6199\u6198\u6075\u{22C9B}\u{22D07}\u{246D4}\u{2914D}"],["93a1","\u6471\u{24665}\u{22B6A}\u3A29\u{22B22}\u{23450}\u{298EA}\u{22E78}\u6337\u{2A45B}\u64B6\u6331\u63D1\u{249E3}\u{22D67}\u62A4\u{22CA1}\u643B\u656B\u6972\u3BF4\u{2308E}\u{232AD}\u{24989}\u{232AB}\u550D\u{232E0}\u{218D9}\u{2943F}\u66CE\u{23289}\u{231B3}\u3AE0\u4190\u{25584}\u{28B22}\u{2558F}\u{216FC}\u{2555B}\u{25425}\u78EE\u{23103}\u{2182A}\u{23234}\u3464\u{2320F}\u{23182}\u{242C9}\u668E\u{26D24}\u666B\u4B93\u6630\u{27870}\u{21DEB}\u6663\u{232D2}\u{232E1}\u661E\u{25872}\u38D1\u{2383A}\u{237BC}\u3B99\u{237A2}\u{233FE}\u74D0\u3B96\u678F\u{2462A}\u68B6\u681E\u3BC4\u6ABE\u3863\u{237D5}\u{24487}\u6A33\u6A52\u6AC9\u6B05\u{21912}\u6511\u6898\u6A4C\u3BD7\u6A7A\u6B57\u{23FC0}\u{23C9A}\u93A0\u92F2\u{28BEA}\u{28ACB}"],["9440","\u9289\u{2801E}\u{289DC}\u9467\u6DA5\u6F0B\u{249EC}\u6D67\u{23F7F}\u3D8F\u6E04\u{2403C}\u5A3D\u6E0A\u5847\u6D24\u7842\u713B\u{2431A}\u{24276}\u70F1\u7250\u7287\u7294\u{2478F}\u{24725}\u5179\u{24AA4}\u{205EB}\u747A\u{23EF8}\u{2365F}\u{24A4A}\u{24917}\u{25FE1}\u3F06\u3EB1\u{24ADF}\u{28C23}\u{23F35}\u60A7\u3EF3\u74CC\u743C\u9387\u7437\u449F\u{26DEA}\u4551\u7583\u3F63\u{24CD9}\u{24D06}\u3F58\u7555\u7673\u{2A5C6}\u3B19\u7468\u{28ACC}\u{249AB}\u{2498E}\u3AFB"],["94a1","\u3DCD\u{24A4E}\u3EFF\u{249C5}\u{248F3}\u91FA\u5732\u9342\u{28AE3}\u{21864}\u50DF\u{25221}\u{251E7}\u7778\u{23232}\u770E\u770F\u777B\u{24697}\u{23781}\u3A5E\u{248F0}\u7438\u749B\u3EBF\u{24ABA}\u{24AC7}\u40C8\u{24A96}\u{261AE}\u9307\u{25581}\u781E\u788D\u7888\u78D2\u73D0\u7959\u{27741}\u{256E3}\u410E\u799B\u8496\u79A5\u6A2D\u{23EFA}\u7A3A\u79F4\u416E\u{216E6}\u4132\u9235\u79F1\u{20D4C}\u{2498C}\u{20299}\u{23DBA}\u{2176E}\u3597\u556B\u3570\u36AA\u{201D4}\u{20C0D}\u7AE2\u5A59\u{226F5}\u{25AAF}\u{25A9C}\u5A0D\u{2025B}\u78F0\u5A2A\u{25BC6}\u7AFE\u41F9\u7C5D\u7C6D\u4211\u{25BB3}\u{25EBC}\u{25EA6}\u7CCD\u{249F9}\u{217B0}\u7C8E\u7C7C\u7CAE\u6AB2\u7DDC\u7E07\u7DD3\u7F4E\u{26261}"],["9540","\u{2615C}\u{27B48}\u7D97\u{25E82}\u426A\u{26B75}\u{20916}\u67D6\u{2004E}\u{235CF}\u57C4\u{26412}\u{263F8}\u{24962}\u7FDD\u7B27\u{2082C}\u{25AE9}\u{25D43}\u7B0C\u{25E0E}\u99E6\u8645\u9A63\u6A1C\u{2343F}\u39E2\u{249F7}\u{265AD}\u9A1F\u{265A0}\u8480\u{27127}\u{26CD1}\u44EA\u8137\u4402\u80C6\u8109\u8142\u{267B4}\u98C3\u{26A42}\u8262\u8265\u{26A51}\u8453\u{26DA7}\u8610\u{2721B}\u5A86\u417F\u{21840}\u5B2B\u{218A1}\u5AE4\u{218D8}\u86A0\u{2F9BC}\u{23D8F}\u882D\u{27422}\u5A02"],["95a1","\u886E\u4F45\u8887\u88BF\u88E6\u8965\u894D\u{25683}\u8954\u{27785}\u{27784}\u{28BF5}\u{28BD9}\u{28B9C}\u{289F9}\u3EAD\u84A3\u46F5\u46CF\u37F2\u8A3D\u8A1C\u{29448}\u5F4D\u922B\u{24284}\u65D4\u7129\u70C4\u{21845}\u9D6D\u8C9F\u8CE9\u{27DDC}\u599A\u77C3\u59F0\u436E\u36D4\u8E2A\u8EA7\u{24C09}\u8F30\u8F4A\u42F4\u6C58\u6FBB\u{22321}\u489B\u6F79\u6E8B\u{217DA}\u9BE9\u36B5\u{2492F}\u90BB\u9097\u5571\u4906\u91BB\u9404\u{28A4B}\u4062\u{28AFC}\u9427\u{28C1D}\u{28C3B}\u84E5\u8A2B\u9599\u95A7\u9597\u9596\u{28D34}\u7445\u3EC2\u{248FF}\u{24A42}\u{243EA}\u3EE7\u{23225}\u968F\u{28EE7}\u{28E66}\u{28E65}\u3ECC\u{249ED}\u{24A78}\u{23FEE}\u7412\u746B\u3EFC\u9741\u{290B0}"],["9640","\u6847\u4A1D\u{29093}\u{257DF}\u975D\u9368\u{28989}\u{28C26}\u{28B2F}\u{263BE}\u92BA\u5B11\u8B69\u493C\u73F9\u{2421B}\u979B\u9771\u9938\u{20F26}\u5DC1\u{28BC5}\u{24AB2}\u981F\u{294DA}\u92F6\u{295D7}\u91E5\u44C0\u{28B50}\u{24A67}\u{28B64}\u98DC\u{28A45}\u3F00\u922A\u4925\u8414\u993B\u994D\u{27B06}\u3DFD\u999B\u4B6F\u99AA\u9A5C\u{28B65}\u{258C8}\u6A8F\u9A21\u5AFE\u9A2F\u{298F1}\u4B90\u{29948}\u99BC\u4BBD\u4B97\u937D\u5872\u{21302}\u5822\u{249B8}"],["96a1","\u{214E8}\u7844\u{2271F}\u{23DB8}\u68C5\u3D7D\u9458\u3927\u6150\u{22781}\u{2296B}\u6107\u9C4F\u9C53\u9C7B\u9C35\u9C10\u9B7F\u9BCF\u{29E2D}\u9B9F\u{2A1F5}\u{2A0FE}\u9D21\u4CAE\u{24104}\u9E18\u4CB0\u9D0C\u{2A1B4}\u{2A0ED}\u{2A0F3}\u{2992F}\u9DA5\u84BD\u{26E12}\u{26FDF}\u{26B82}\u85FC\u4533\u{26DA4}\u{26E84}\u{26DF0}\u8420\u85EE\u{26E00}\u{237D7}\u{26064}\u79E2\u{2359C}\u{23640}\u492D\u{249DE}\u3D62\u93DB\u92BE\u9348\u{202BF}\u78B9\u9277\u944D\u4FE4\u3440\u9064\u{2555D}\u783D\u7854\u78B6\u784B\u{21757}\u{231C9}\u{24941}\u369A\u4F72\u6FDA\u6FD9\u701E\u701E\u5414\u{241B5}\u57BB\u58F3\u578A\u9D16\u57D7\u7134\u34AF\u{241AC}\u71EB\u{26C40}\u{24F97}\u5B28\u{217B5}\u{28A49}"],["9740","\u610C\u5ACE\u5A0B\u42BC\u{24488}\u372C\u4B7B\u{289FC}\u93BB\u93B8\u{218D6}\u{20F1D}\u8472\u{26CC0}\u{21413}\u{242FA}\u{22C26}\u{243C1}\u5994\u{23DB7}\u{26741}\u7DA8\u{2615B}\u{260A4}\u{249B9}\u{2498B}\u{289FA}\u92E5\u73E2\u3EE9\u74B4\u{28B63}\u{2189F}\u3EE1\u{24AB3}\u6AD8\u73F3\u73FB\u3ED6\u{24A3E}\u{24A94}\u{217D9}\u{24A66}\u{203A7}\u{21424}\u{249E5}\u7448\u{24916}\u70A5\u{24976}\u9284\u73E6\u935F\u{204FE}\u9331\u{28ACE}\u{28A16}\u9386\u{28BE7}\u{255D5}\u4935\u{28A82}\u716B"],["97a1","\u{24943}\u{20CFF}\u56A4\u{2061A}\u{20BEB}\u{20CB8}\u5502\u79C4\u{217FA}\u7DFE\u{216C2}\u{24A50}\u{21852}\u452E\u9401\u370A\u{28AC0}\u{249AD}\u59B0\u{218BF}\u{21883}\u{27484}\u5AA1\u36E2\u{23D5B}\u36B0\u925F\u5A79\u{28A81}\u{21862}\u9374\u3CCD\u{20AB4}\u4A96\u398A\u50F4\u3D69\u3D4C\u{2139C}\u7175\u42FB\u{28218}\u6E0F\u{290E4}\u44EB\u6D57\u{27E4F}\u7067\u6CAF\u3CD6\u{23FED}\u{23E2D}\u6E02\u6F0C\u3D6F\u{203F5}\u7551\u36BC\u34C8\u4680\u3EDA\u4871\u59C4\u926E\u493E\u8F41\u{28C1C}\u{26BC0}\u5812\u57C8\u36D6\u{21452}\u70FE\u{24362}\u{24A71}\u{22FE3}\u{212B0}\u{223BD}\u68B9\u6967\u{21398}\u{234E5}\u{27BF4}\u{236DF}\u{28A83}\u{237D6}\u{233FA}\u{24C9F}\u6A1A\u{236AD}\u{26CB7}\u843E\u44DF\u44CE"],["9840","\u{26D26}\u{26D51}\u{26C82}\u{26FDE}\u6F17\u{27109}\u833D\u{2173A}\u83ED\u{26C80}\u{27053}\u{217DB}\u5989\u5A82\u{217B3}\u5A61\u5A71\u{21905}\u{241FC}\u372D\u59EF\u{2173C}\u36C7\u718E\u9390\u669A\u{242A5}\u5A6E\u5A2B\u{24293}\u6A2B\u{23EF9}\u{27736}\u{2445B}\u{242CA}\u711D\u{24259}\u{289E1}\u4FB0\u{26D28}\u5CC2\u{244CE}\u{27E4D}\u{243BD}\u6A0C\u{24256}\u{21304}\u70A6\u7133\u{243E9}\u3DA5\u6CDF\u{2F825}\u{24A4F}\u7E65\u59EB\u5D2F\u3DF3\u5F5C\u{24A5D}\u{217DF}\u7DA4\u8426"],["98a1","\u5485\u{23AFA}\u{23300}\u{20214}\u577E\u{208D5}\u{20619}\u3FE5\u{21F9E}\u{2A2B6}\u7003\u{2915B}\u5D70\u738F\u7CD3\u{28A59}\u{29420}\u4FC8\u7FE7\u72CD\u7310\u{27AF4}\u7338\u7339\u{256F6}\u7341\u7348\u3EA9\u{27B18}\u906C\u71F5\u{248F2}\u73E1\u81F6\u3ECA\u770C\u3ED1\u6CA2\u56FD\u7419\u741E\u741F\u3EE2\u3EF0\u3EF4\u3EFA\u74D3\u3F0E\u3F53\u7542\u756D\u7572\u758D\u3F7C\u75C8\u75DC\u3FC0\u764D\u3FD7\u7674\u3FDC\u767A\u{24F5C}\u7188\u5623\u8980\u5869\u401D\u7743\u4039\u6761\u4045\u35DB\u7798\u406A\u406F\u5C5E\u77BE\u77CB\u58F2\u7818\u70B9\u781C\u40A8\u7839\u7847\u7851\u7866\u8448\u{25535}\u7933\u6803\u7932\u4103"],["9940","\u4109\u7991\u7999\u8FBB\u7A06\u8FBC\u4167\u7A91\u41B2\u7ABC\u8279\u41C4\u7ACF\u7ADB\u41CF\u4E21\u7B62\u7B6C\u7B7B\u7C12\u7C1B\u4260\u427A\u7C7B\u7C9C\u428C\u7CB8\u4294\u7CED\u8F93\u70C0\u{20CCF}\u7DCF\u7DD4\u7DD0\u7DFD\u7FAE\u7FB4\u729F\u4397\u8020\u8025\u7B39\u802E\u8031\u8054\u3DCC\u57B4\u70A0\u80B7\u80E9\u43ED\u810C\u732A\u810E\u8112\u7560\u8114\u4401\u3B39\u8156\u8159\u815A"],["99a1","\u4413\u583A\u817C\u8184\u4425\u8193\u442D\u81A5\u57EF\u81C1\u81E4\u8254\u448F\u82A6\u8276\u82CA\u82D8\u82FF\u44B0\u8357\u9669\u698A\u8405\u70F5\u8464\u60E3\u8488\u4504\u84BE\u84E1\u84F8\u8510\u8538\u8552\u453B\u856F\u8570\u85E0\u4577\u8672\u8692\u86B2\u86EF\u9645\u878B\u4606\u4617\u88AE\u88FF\u8924\u8947\u8991\u{27967}\u8A29\u8A38\u8A94\u8AB4\u8C51\u8CD4\u8CF2\u8D1C\u4798\u585F\u8DC3\u47ED\u4EEE\u8E3A\u55D8\u5754\u8E71\u55F5\u8EB0\u4837\u8ECE\u8EE2\u8EE4\u8EED\u8EF2\u8FB7\u8FC1\u8FCA\u8FCC\u9033\u99C4\u48AD\u98E0\u9213\u491E\u9228\u9258\u926B\u92B1\u92AE\u92BF"],["9a40","\u92E3\u92EB\u92F3\u92F4\u92FD\u9343\u9384\u93AD\u4945\u4951\u9EBF\u9417\u5301\u941D\u942D\u943E\u496A\u9454\u9479\u952D\u95A2\u49A7\u95F4\u9633\u49E5\u67A0\u4A24\u9740\u4A35\u97B2\u97C2\u5654\u4AE4\u60E8\u98B9\u4B19\u98F1\u5844\u990E\u9919\u51B4\u991C\u9937\u9942\u995D\u9962\u4B70\u99C5\u4B9D\u9A3C\u9B0F\u7A83\u9B69\u9B81\u9BDD\u9BF1\u9BF4\u4C6D\u9C20\u376F\u{21BC2}\u9D49\u9C3A"],["9aa1","\u9EFE\u5650\u9D93\u9DBD\u9DC0\u9DFC\u94F6\u8FB6\u9E7B\u9EAC\u9EB1\u9EBD\u9EC6\u94DC\u9EE2\u9EF1\u9EF8\u7AC8\u9F44\u{20094}\u{202B7}\u{203A0}\u691A\u94C3\u59AC\u{204D7}\u5840\u94C1\u37B9\u{205D5}\u{20615}\u{20676}\u{216BA}\u5757\u7173\u{20AC2}\u{20ACD}\u{20BBF}\u546A\u{2F83B}\u{20BCB}\u549E\u{20BFB}\u{20C3B}\u{20C53}\u{20C65}\u{20C7C}\u60E7\u{20C8D}\u567A\u{20CB5}\u{20CDD}\u{20CED}\u{20D6F}\u{20DB2}\u{20DC8}\u6955\u9C2F\u87A5\u{20E04}\u{20E0E}\u{20ED7}\u{20F90}\u{20F2D}\u{20E73}\u5C20\u{20FBC}\u5E0B\u{2105C}\u{2104F}\u{21076}\u671E\u{2107B}\u{21088}\u{21096}\u3647\u{210BF}\u{210D3}\u{2112F}\u{2113B}\u5364\u84AD\u{212E3}\u{21375}\u{21336}\u8B81\u{21577}\u{21619}\u{217C3}\u{217C7}\u4E78\u70BB\u{2182D}\u{2196A}"],["9b40","\u{21A2D}\u{21A45}\u{21C2A}\u{21C70}\u{21CAC}\u{21EC8}\u62C3\u{21ED5}\u{21F15}\u7198\u6855\u{22045}\u69E9\u36C8\u{2227C}\u{223D7}\u{223FA}\u{2272A}\u{22871}\u{2294F}\u82FD\u{22967}\u{22993}\u{22AD5}\u89A5\u{22AE8}\u8FA0\u{22B0E}\u97B8\u{22B3F}\u9847\u9ABD\u{22C4C}"],["9b62","\u{22C88}\u{22CB7}\u{25BE8}\u{22D08}\u{22D12}\u{22DB7}\u{22D95}\u{22E42}\u{22F74}\u{22FCC}\u{23033}\u{23066}\u{2331F}\u{233DE}\u5FB1\u6648\u66BF\u{27A79}\u{23567}\u{235F3}\u7201\u{249BA}\u77D7\u{2361A}\u{23716}\u7E87\u{20346}\u58B5\u670E"],["9ba1","\u6918\u{23AA7}\u{27657}\u{25FE2}\u{23E11}\u{23EB9}\u{275FE}\u{2209A}\u48D0\u4AB8\u{24119}\u{28A9A}\u{242EE}\u{2430D}\u{2403B}\u{24334}\u{24396}\u{24A45}\u{205CA}\u51D2\u{20611}\u599F\u{21EA8}\u3BBE\u{23CFF}\u{24404}\u{244D6}\u5788\u{24674}\u399B\u{2472F}\u{285E8}\u{299C9}\u3762\u{221C3}\u8B5E\u{28B4E}\u99D6\u{24812}\u{248FB}\u{24A15}\u7209\u{24AC0}\u{20C78}\u5965\u{24EA5}\u{24F86}\u{20779}\u8EDA\u{2502C}\u528F\u573F\u7171\u{25299}\u{25419}\u{23F4A}\u{24AA7}\u55BC\u{25446}\u{2546E}\u{26B52}\u91D4\u3473\u{2553F}\u{27632}\u{2555E}\u4718\u{25562}\u{25566}\u{257C7}\u{2493F}\u{2585D}\u5066\u34FB\u{233CC}\u60DE\u{25903}\u477C\u{28948}\u{25AAE}\u{25B89}\u{25C06}\u{21D90}\u57A1\u7151\u6FB6\u{26102}\u{27C12}\u9056\u{261B2}\u{24F9A}\u8B62\u{26402}\u{2644A}"],["9c40","\u5D5B\u{26BF7}\u8F36\u{26484}\u{2191C}\u8AEA\u{249F6}\u{26488}\u{23FEF}\u{26512}\u4BC0\u{265BF}\u{266B5}\u{2271B}\u9465\u{257E1}\u6195\u5A27\u{2F8CD}\u4FBB\u56B9\u{24521}\u{266FC}\u4E6A\u{24934}\u9656\u6D8F\u{26CBD}\u3618\u8977\u{26799}\u{2686E}\u{26411}\u{2685E}\u71DF\u{268C7}\u7B42\u{290C0}\u{20A11}\u{26926}\u9104\u{26939}\u7A45\u9DF0\u{269FA}\u9A26\u{26A2D}\u365F\u{26469}\u{20021}\u7983\u{26A34}\u{26B5B}\u5D2C\u{23519}\u83CF\u{26B9D}\u46D0\u{26CA4}\u753B\u8865\u{26DAE}\u58B6"],["9ca1","\u371C\u{2258D}\u{2704B}\u{271CD}\u3C54\u{27280}\u{27285}\u9281\u{2217A}\u{2728B}\u9330\u{272E6}\u{249D0}\u6C39\u949F\u{27450}\u{20EF8}\u8827\u88F5\u{22926}\u{28473}\u{217B1}\u6EB8\u{24A2A}\u{21820}\u39A4\u36B9\u5C10\u79E3\u453F\u66B6\u{29CAD}\u{298A4}\u8943\u{277CC}\u{27858}\u56D6\u40DF\u{2160A}\u39A1\u{2372F}\u{280E8}\u{213C5}\u71AD\u8366\u{279DD}\u{291A8}\u5A67\u4CB7\u{270AF}\u{289AB}\u{279FD}\u{27A0A}\u{27B0B}\u{27D66}\u{2417A}\u7B43\u797E\u{28009}\u6FB5\u{2A2DF}\u6A03\u{28318}\u53A2\u{26E07}\u93BF\u6836\u975D\u{2816F}\u{28023}\u{269B5}\u{213ED}\u{2322F}\u{28048}\u5D85\u{28C30}\u{28083}\u5715\u9823\u{28949}\u5DAB\u{24988}\u65BE\u69D5\u53D2\u{24AA5}\u{23F81}\u3C11\u6736\u{28090}\u{280F4}\u{2812E}\u{21FA1}\u{2814F}"],["9d40","\u{28189}\u{281AF}\u{2821A}\u{28306}\u{2832F}\u{2838A}\u35CA\u{28468}\u{286AA}\u48FA\u63E6\u{28956}\u7808\u9255\u{289B8}\u43F2\u{289E7}\u43DF\u{289E8}\u{28B46}\u{28BD4}\u59F8\u{28C09}\u8F0B\u{28FC5}\u{290EC}\u7B51\u{29110}\u{2913C}\u3DF7\u{2915E}\u{24ACA}\u8FD0\u728F\u568B\u{294E7}\u{295E9}\u{295B0}\u{295B8}\u{29732}\u{298D1}\u{29949}\u{2996A}\u{299C3}\u{29A28}\u{29B0E}\u{29D5A}\u{29D9B}\u7E9F\u{29EF8}\u{29F23}\u4CA4\u9547\u{2A293}\u71A2\u{2A2FF}\u4D91\u9012\u{2A5CB}\u4D9C\u{20C9C}\u8FBE\u55C1"],["9da1","\u8FBA\u{224B0}\u8FB9\u{24A93}\u4509\u7E7F\u6F56\u6AB1\u4EEA\u34E4\u{28B2C}\u{2789D}\u373A\u8E80\u{217F5}\u{28024}\u{28B6C}\u{28B99}\u{27A3E}\u{266AF}\u3DEB\u{27655}\u{23CB7}\u{25635}\u{25956}\u4E9A\u{25E81}\u{26258}\u56BF\u{20E6D}\u8E0E\u5B6D\u{23E88}\u{24C9E}\u63DE\u62D0\u{217F6}\u{2187B}\u6530\u562D\u{25C4A}\u541A\u{25311}\u3DC6\u{29D98}\u4C7D\u5622\u561E\u7F49\u{25ED8}\u5975\u{23D40}\u8770\u4E1C\u{20FEA}\u{20D49}\u{236BA}\u8117\u9D5E\u8D18\u763B\u9C45\u764E\u77B9\u9345\u5432\u8148\u82F7\u5625\u8132\u8418\u80BD\u55EA\u7962\u5643\u5416\u{20E9D}\u35CE\u5605\u55F1\u66F1\u{282E2}\u362D\u7534\u55F0\u55BA\u5497\u5572\u{20C41}\u{20C96}\u5ED0\u{25148}\u{20E76}\u{22C62}"],["9e40","\u{20EA2}\u9EAB\u7D5A\u55DE\u{21075}\u629D\u976D\u5494\u8CCD\u71F6\u9176\u63FC\u63B9\u63FE\u5569\u{22B43}\u9C72\u{22EB3}\u519A\u34DF\u{20DA7}\u51A7\u544D\u551E\u5513\u7666\u8E2D\u{2688A}\u75B1\u80B6\u8804\u8786\u88C7\u81B6\u841C\u{210C1}\u44EC\u7304\u{24706}\u5B90\u830B\u{26893}\u567B\u{226F4}\u{27D2F}\u{241A3}\u{27D73}\u{26ED0}\u{272B6}\u9170\u{211D9}\u9208\u{23CFC}\u{2A6A9}\u{20EAC}\u{20EF9}\u7266\u{21CA2}\u474E\u{24FC2}\u{27FF9}\u{20FEB}\u40FA"],["9ea1","\u9C5D\u651F\u{22DA0}\u48F3\u{247E0}\u{29D7C}\u{20FEC}\u{20E0A}\u6062\u{275A3}\u{20FED}"],["9ead","\u{26048}\u{21187}\u71A3\u7E8E\u9D50\u4E1A\u4E04\u3577\u5B0D\u6CB2\u5367\u36AC\u39DC\u537D\u36A5\u{24618}\u589A\u{24B6E}\u822D\u544B\u57AA\u{25A95}\u{20979}"],["9ec5","\u3A52\u{22465}\u7374\u{29EAC}\u4D09\u9BED\u{23CFE}\u{29F30}\u4C5B\u{24FA9}\u{2959E}\u{29FDE}\u845C\u{23DB6}\u{272B2}\u{267B3}\u{23720}\u632E\u7D25\u{23EF7}\u{23E2C}\u3A2A\u9008\u52CC\u3E74\u367A\u45E9\u{2048E}\u7640\u5AF0\u{20EB6}\u787A\u{27F2E}\u58A7\u40BF\u567C\u9B8B\u5D74\u7654\u{2A434}\u9E85\u4CE1\u75F9\u37FB\u6119\u{230DA}\u{243F2}"],["9ef5","\u565D\u{212A9}\u57A7\u{24963}\u{29E06}\u5234\u{270AE}\u35AD\u6C4A\u9D7C"],["9f40","\u7C56\u9B39\u57DE\u{2176C}\u5C53\u64D3\u{294D0}\u{26335}\u{27164}\u86AD\u{20D28}\u{26D22}\u{24AE2}\u{20D71}"],["9f4f","\u51FE\u{21F0F}\u5D8E\u9703\u{21DD1}\u9E81\u904C\u7B1F\u9B02\u5CD1\u7BA3\u6268\u6335\u9AFF\u7BCF\u9B2A\u7C7E\u9B2E\u7C42\u7C86\u9C15\u7BFC\u9B09\u9F17\u9C1B\u{2493E}\u9F5A\u5573\u5BC3\u4FFD\u9E98\u4FF2\u5260\u3E06\u52D1\u5767\u5056\u59B7\u5E12\u97C8\u9DAB\u8F5C\u5469\u97B4\u9940\u97BA\u532C\u6130"],["9fa1","\u692C\u53DA\u9C0A\u9D02\u4C3B\u9641\u6980\u50A6\u7546\u{2176D}\u99DA\u5273"],["9fae","\u9159\u9681\u915C"],["9fb2","\u9151\u{28E97}\u637F\u{26D23}\u6ACA\u5611\u918E\u757A\u6285\u{203FC}\u734F\u7C70\u{25C21}\u{23CFD}"],["9fc1","\u{24919}\u76D6\u9B9D\u4E2A\u{20CD4}\u83BE\u8842"],["9fc9","\u5C4A\u69C0\u50ED\u577A\u521F\u5DF5\u4ECE\u6C31\u{201F2}\u4F39\u549C\u54DA\u529A\u8D82\u35FE\u5F0C\u35F3"],["9fdb","\u6B52\u917C\u9FA5\u9B97\u982E\u98B4\u9ABA\u9EA8\u9E84\u717A\u7B14"],["9fe7","\u6BFA\u8818\u7F78"],["9feb","\u5620\u{2A64A}\u8E77\u9F53"],["9ff0","\u8DD4\u8E4F\u9E1C\u8E01\u6282\u{2837D}\u8E28\u8E75\u7AD3\u{24A77}\u7A3E\u78D8\u6CEA\u8A67\u7607"],["a040","\u{28A5A}\u9F26\u6CCE\u87D6\u75C3\u{2A2B2}\u7853\u{2F840}\u8D0C\u72E2\u7371\u8B2D\u7302\u74F1\u8CEB\u{24ABB}\u862F\u5FBA\u88A0\u44B7"],["a055","\u{2183B}\u{26E05}"],["a058","\u8A7E\u{2251B}"],["a05b","\u60FD\u7667\u9AD7\u9D44\u936E\u9B8F\u87F5"],["a063","\u880F\u8CF7\u732C\u9721\u9BB0\u35D6\u72B2\u4C07\u7C51\u994A\u{26159}\u6159\u4C04\u9E96\u617D"],["a073","\u575F\u616F\u62A6\u6239\u62CE\u3A5C\u61E2\u53AA\u{233F5}\u6364\u6802\u35D2"],["a0a1","\u5D57\u{28BC2}\u8FDA\u{28E39}"],["a0a6","\u50D9\u{21D46}\u7906\u5332\u9638\u{20F3B}\u4065"],["a0ae","\u77FE"],["a0b0","\u7CC2\u{25F1A}\u7CDA\u7A2D\u8066\u8063\u7D4D\u7505\u74F2\u8994\u821A\u670C\u8062\u{27486}\u805B\u74F0\u8103\u7724\u8989\u{267CC}\u7553\u{26ED1}\u87A9\u87CE\u81C8\u878C\u8A49\u8CAD\u8B43\u772B\u74F8\u84DA\u3635\u69B2\u8DA6"],["a0d4","\u89A9\u7468\u6DB9\u87C1\u{24011}\u74E7\u3DDB\u7176\u60A4\u619C\u3CD1\u7162\u6077"],["a0e2","\u7F71\u{28B2D}\u7250\u60E9\u4B7E\u5220\u3C18\u{23CC7}\u{25ED7}\u{27656}\u{25531}\u{21944}\u{212FE}\u{29903}\u{26DDC}\u{270AD}\u5CC1\u{261AD}\u{28A0F}\u{23677}\u{200EE}\u{26846}\u{24F0E}\u4562\u5B1F\u{2634C}\u9F50\u9EA6\u{2626B}"],["a3c0","\u2400",31,"\u2421"],["c6a1","\u2460",9,"\u2474",9,"\u2170",9,"\u4E36\u4E3F\u4E85\u4EA0\u5182\u5196\u51AB\u52F9\u5338\u5369\u53B6\u590A\u5B80\u5DDB\u2F33\u5E7F\u5EF4\u5F50\u5F61\u6534\u65E0\u7592\u7676\u8FB5\u96B6\xA8\u02C6\u30FD\u30FE\u309D\u309E\u3003\u4EDD\u3005\u3006\u3007\u30FC\uFF3B\uFF3D\u273D\u3041",23],["c740","\u3059",58,"\u30A1\u30A2\u30A3\u30A4"],["c7a1","\u30A5",81,"\u0410",5,"\u0401\u0416",4],["c840","\u041B",26,"\u0451\u0436",25,"\u21E7\u21B8\u21B9\u31CF\u{200CC}\u4E5A\u{2008A}\u5202\u4491"],["c8a1","\u9FB0\u5188\u9FB1\u{27607}"],["c8cd","\uFFE2\uFFE4\uFF07\uFF02\u3231\u2116\u2121\u309B\u309C\u2E80\u2E84\u2E86\u2E87\u2E88\u2E8A\u2E8C\u2E8D\u2E95\u2E9C\u2E9D\u2EA5\u2EA7\u2EAA\u2EAC\u2EAE\u2EB6\u2EBC\u2EBE\u2EC6\u2ECA\u2ECC\u2ECD\u2ECF\u2ED6\u2ED7\u2EDE\u2EE3"],["c8f5","\u0283\u0250\u025B\u0254\u0275\u0153\xF8\u014B\u028A\u026A"],["f9fe","\uFFED"],["fa40","\u{20547}\u92DB\u{205DF}\u{23FC5}\u854C\u42B5\u73EF\u51B5\u3649\u{24942}\u{289E4}\u9344\u{219DB}\u82EE\u{23CC8}\u783C\u6744\u62DF\u{24933}\u{289AA}\u{202A0}\u{26BB3}\u{21305}\u4FAB\u{224ED}\u5008\u{26D29}\u{27A84}\u{23600}\u{24AB1}\u{22513}\u5029\u{2037E}\u5FA4\u{20380}\u{20347}\u6EDB\u{2041F}\u507D\u5101\u347A\u510E\u986C\u3743\u8416\u{249A4}\u{20487}\u5160\u{233B4}\u516A\u{20BFF}\u{220FC}\u{202E5}\u{22530}\u{2058E}\u{23233}\u{21983}\u5B82\u877D\u{205B3}\u{23C99}\u51B2\u51B8"],["faa1","\u9D34\u51C9\u51CF\u51D1\u3CDC\u51D3\u{24AA6}\u51B3\u51E2\u5342\u51ED\u83CD\u693E\u{2372D}\u5F7B\u520B\u5226\u523C\u52B5\u5257\u5294\u52B9\u52C5\u7C15\u8542\u52E0\u860D\u{26B13}\u5305\u{28ADE}\u5549\u6ED9\u{23F80}\u{20954}\u{23FEC}\u5333\u5344\u{20BE2}\u6CCB\u{21726}\u681B\u73D5\u604A\u3EAA\u38CC\u{216E8}\u71DD\u44A2\u536D\u5374\u{286AB}\u537E\u537F\u{21596}\u{21613}\u77E6\u5393\u{28A9B}\u53A0\u53AB\u53AE\u73A7\u{25772}\u3F59\u739C\u53C1\u53C5\u6C49\u4E49\u57FE\u53D9\u3AAB\u{20B8F}\u53E0\u{23FEB}\u{22DA3}\u53F6\u{20C77}\u5413\u7079\u552B\u6657\u6D5B\u546D\u{26B53}\u{20D74}\u555D\u548F\u54A4\u47A6\u{2170D}\u{20EDD}\u3DB4\u{20D4D}"],["fb40","\u{289BC}\u{22698}\u5547\u4CED\u542F\u7417\u5586\u55A9\u5605\u{218D7}\u{2403A}\u4552\u{24435}\u66B3\u{210B4}\u5637\u66CD\u{2328A}\u66A4\u66AD\u564D\u564F\u78F1\u56F1\u9787\u53FE\u5700\u56EF\u56ED\u{28B66}\u3623\u{2124F}\u5746\u{241A5}\u6C6E\u708B\u5742\u36B1\u{26C7E}\u57E6\u{21416}\u5803\u{21454}\u{24363}\u5826\u{24BF5}\u585C\u58AA\u3561\u58E0\u58DC\u{2123C}\u58FB\u5BFF\u5743\u{2A150}\u{24278}\u93D3\u35A1\u591F\u68A6\u36C3\u6E59"],["fba1","\u{2163E}\u5A24\u5553\u{21692}\u8505\u59C9\u{20D4E}\u{26C81}\u{26D2A}\u{217DC}\u59D9\u{217FB}\u{217B2}\u{26DA6}\u6D71\u{21828}\u{216D5}\u59F9\u{26E45}\u5AAB\u5A63\u36E6\u{249A9}\u5A77\u3708\u5A96\u7465\u5AD3\u{26FA1}\u{22554}\u3D85\u{21911}\u3732\u{216B8}\u5E83\u52D0\u5B76\u6588\u5B7C\u{27A0E}\u4004\u485D\u{20204}\u5BD5\u6160\u{21A34}\u{259CC}\u{205A5}\u5BF3\u5B9D\u4D10\u5C05\u{21B44}\u5C13\u73CE\u5C14\u{21CA5}\u{26B28}\u5C49\u48DD\u5C85\u5CE9\u5CEF\u5D8B\u{21DF9}\u{21E37}\u5D10\u5D18\u5D46\u{21EA4}\u5CBA\u5DD7\u82FC\u382D\u{24901}\u{22049}\u{22173}\u8287\u3836\u3BC2\u5E2E\u6A8A\u5E75\u5E7A\u{244BC}\u{20CD3}\u53A6\u4EB7\u5ED0\u53A8\u{21771}\u5E09\u5EF4\u{28482}"],["fc40","\u5EF9\u5EFB\u38A0\u5EFC\u683E\u941B\u5F0D\u{201C1}\u{2F894}\u3ADE\u48AE\u{2133A}\u5F3A\u{26888}\u{223D0}\u5F58\u{22471}\u5F63\u97BD\u{26E6E}\u5F72\u9340\u{28A36}\u5FA7\u5DB6\u3D5F\u{25250}\u{21F6A}\u{270F8}\u{22668}\u91D6\u{2029E}\u{28A29}\u6031\u6685\u{21877}\u3963\u3DC7\u3639\u5790\u{227B4}\u7971\u3E40\u609E\u60A4\u60B3\u{24982}\u{2498F}\u{27A53}\u74A4\u50E1\u5AA0\u6164\u8424\u6142\u{2F8A6}\u{26ED2}\u6181\u51F4\u{20656}\u6187\u5BAA\u{23FB7}"],["fca1","\u{2285F}\u61D3\u{28B9D}\u{2995D}\u61D0\u3932\u{22980}\u{228C1}\u6023\u615C\u651E\u638B\u{20118}\u62C5\u{21770}\u62D5\u{22E0D}\u636C\u{249DF}\u3A17\u6438\u63F8\u{2138E}\u{217FC}\u6490\u6F8A\u{22E36}\u9814\u{2408C}\u{2571D}\u64E1\u64E5\u947B\u3A66\u643A\u3A57\u654D\u6F16\u{24A28}\u{24A23}\u6585\u656D\u655F\u{2307E}\u65B5\u{24940}\u4B37\u65D1\u40D8\u{21829}\u65E0\u65E3\u5FDF\u{23400}\u6618\u{231F7}\u{231F8}\u6644\u{231A4}\u{231A5}\u664B\u{20E75}\u6667\u{251E6}\u6673\u6674\u{21E3D}\u{23231}\u{285F4}\u{231C8}\u{25313}\u77C5\u{228F7}\u99A4\u6702\u{2439C}\u{24A21}\u3B2B\u69FA\u{237C2}\u675E\u6767\u6762\u{241CD}\u{290ED}\u67D7\u44E9\u6822\u6E50\u923C\u6801\u{233E6}\u{26DA0}\u685D"],["fd40","\u{2346F}\u69E1\u6A0B\u{28ADF}\u6973\u68C3\u{235CD}\u6901\u6900\u3D32\u3A01\u{2363C}\u3B80\u67AC\u6961\u{28A4A}\u42FC\u6936\u6998\u3BA1\u{203C9}\u8363\u5090\u69F9\u{23659}\u{2212A}\u6A45\u{23703}\u6A9D\u3BF3\u67B1\u6AC8\u{2919C}\u3C0D\u6B1D\u{20923}\u60DE\u6B35\u6B74\u{227CD}\u6EB5\u{23ADB}\u{203B5}\u{21958}\u3740\u5421\u{23B5A}\u6BE1\u{23EFC}\u6BDC\u6C37\u{2248B}\u{248F1}\u{26B51}\u6C5A\u8226\u6C79\u{23DBC}\u44C5\u{23DBD}\u{241A4}\u{2490C}\u{24900}"],["fda1","\u{23CC9}\u36E5\u3CEB\u{20D32}\u9B83\u{231F9}\u{22491}\u7F8F\u6837\u{26D25}\u{26DA1}\u{26DEB}\u6D96\u6D5C\u6E7C\u6F04\u{2497F}\u{24085}\u{26E72}\u8533\u{26F74}\u51C7\u6C9C\u6E1D\u842E\u{28B21}\u6E2F\u{23E2F}\u7453\u{23F82}\u79CC\u6E4F\u5A91\u{2304B}\u6FF8\u370D\u6F9D\u{23E30}\u6EFA\u{21497}\u{2403D}\u4555\u93F0\u6F44\u6F5C\u3D4E\u6F74\u{29170}\u3D3B\u6F9F\u{24144}\u6FD3\u{24091}\u{24155}\u{24039}\u{23FF0}\u{23FB4}\u{2413F}\u51DF\u{24156}\u{24157}\u{24140}\u{261DD}\u704B\u707E\u70A7\u7081\u70CC\u70D5\u70D6\u70DF\u4104\u3DE8\u71B4\u7196\u{24277}\u712B\u7145\u5A88\u714A\u716E\u5C9C\u{24365}\u714F\u9362\u{242C1}\u712C\u{2445A}\u{24A27}\u{24A22}\u71BA\u{28BE8}\u70BD\u720E"],["fe40","\u9442\u7215\u5911\u9443\u7224\u9341\u{25605}\u722E\u7240\u{24974}\u68BD\u7255\u7257\u3E55\u{23044}\u680D\u6F3D\u7282\u732A\u732B\u{24823}\u{2882B}\u48ED\u{28804}\u7328\u732E\u73CF\u73AA\u{20C3A}\u{26A2E}\u73C9\u7449\u{241E2}\u{216E7}\u{24A24}\u6623\u36C5\u{249B7}\u{2498D}\u{249FB}\u73F7\u7415\u6903\u{24A26}\u7439\u{205C3}\u3ED7\u745C\u{228AD}\u7460\u{28EB2}\u7447\u73E4\u7476\u83B9\u746C\u3730\u7474\u93F1\u6A2C\u7482\u4953\u{24A8C}"],["fea1","\u{2415F}\u{24A79}\u{28B8F}\u5B46\u{28C03}\u{2189E}\u74C8\u{21988}\u750E\u74E9\u751E\u{28ED9}\u{21A4B}\u5BD7\u{28EAC}\u9385\u754D\u754A\u7567\u756E\u{24F82}\u3F04\u{24D13}\u758E\u745D\u759E\u75B4\u7602\u762C\u7651\u764F\u766F\u7676\u{263F5}\u7690\u81EF\u37F8\u{26911}\u{2690E}\u76A1\u76A5\u76B7\u76CC\u{26F9F}\u8462\u{2509D}\u{2517D}\u{21E1C}\u771E\u7726\u7740\u64AF\u{25220}\u7758\u{232AC}\u77AF\u{28964}\u{28968}\u{216C1}\u77F4\u7809\u{21376}\u{24A12}\u68CA\u78AF\u78C7\u78D3\u96A5\u792E\u{255E0}\u78D7\u7934\u78B1\u{2760C}\u8FB8\u8884\u{28B2B}\u{26083}\u{2261C}\u7986\u8900\u6902\u7980\u{25857}\u799D\u{27B39}\u793C\u79A9\u6E2A\u{27126}\u3EA8\u79C6\u{2910D}\u79D4"]]});var r8i=xe((uas,o8i)=>{"use strict";o8i.exports={shiftjis:{type:"_dbcs",table:function(){return XEi()},encodeAdd:{"\xA5":92,"\u203E":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return $Ei()},encodeAdd:{"\xA5":92,"\u203E":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return uUe()}},gbk:{type:"_dbcs",table:function(){return uUe().concat(I6t())}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return uUe().concat(I6t())},gb18030:function(){return e8i()},encodeSkipVals:[128],encodeAdd:{"\u20AC":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return t8i()}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return L6t()}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return L6t().concat(i8i())},encodeSkipVals:[36457,36463,36478,36523,36532,36557,36560,36695,36713,36718,36811,36862,36973,36986,37060,37084,37105,37311,37551,37552,37553,37554,37585,37959,38090,38361,38652,39285,39798,39800,39803,39878,39902,39916,39926,40002,40019,40034,40040,40043,40055,40124,40125,40144,40279,40282,40388,40431,40443,40617,40687,40701,40800,40907,41079,41180,41183,36812,37576,38468,38637,41636,41637,41639,41638,41676,41678]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}});var s8i=xe((a8i,$me)=>{"use strict";var n8i=[OEi(),jEi(),FEi(),VEi(),GEi(),WEi(),KEi(),qEi(),r8i()];for(pUe=0;pUe<n8i.length;pUe++){$me=n8i[pUe];for(mUe in $me)Object.prototype.hasOwnProperty.call($me,mUe)&&(a8i[mUe]=$me[mUe])}var $me,mUe,pUe});var d8i=xe((pas,c8i)=>{"use strict";var l8i=rH().Buffer;c8i.exports=function(t){var e=t.Transform;function i(r,n){this.conv=r,n=n||{},n.decodeStrings=!1,e.call(this,n)}i.prototype=Object.create(e.prototype,{constructor:{value:i}}),i.prototype._transform=function(r,n,a){if(typeof r!="string")return a(new Error("Iconv encoding stream needs strings as its input."));try{var s=this.conv.write(r);s&&s.length&&this.push(s),a()}catch(l){a(l)}},i.prototype._flush=function(r){try{var n=this.conv.end();n&&n.length&&this.push(n),r()}catch(a){r(a)}},i.prototype.collect=function(r){var n=[];return this.on("error",r),this.on("data",function(a){n.push(a)}),this.on("end",function(){r(null,l8i.concat(n))}),this};function o(r,n){this.conv=r,n=n||{},n.encoding=this.encoding="utf8",e.call(this,n)}return o.prototype=Object.create(e.prototype,{constructor:{value:o}}),o.prototype._transform=function(r,n,a){if(!l8i.isBuffer(r)&&!(r instanceof Uint8Array))return a(new Error("Iconv decoding stream needs buffers as its input."));try{var s=this.conv.write(r);s&&s.length&&this.push(s,this.encoding),a()}catch(l){a(l)}},o.prototype._flush=function(r){try{var n=this.conv.end();n&&n.length&&this.push(n,this.encoding),r()}catch(a){r(a)}},o.prototype.collect=function(r){var n="";return this.on("error",r),this.on("data",function(a){n+=a}),this.on("end",function(){r(null,n)}),this},{IconvLiteEncoderStream:i,IconvLiteDecoderStream:o}}});var u8i=xe(()=>{});var v6t=xe((fas,h8i)=>{"use strict";var p8i=rH().Buffer,m8i=vEi(),tc=h8i.exports;tc.encodings=null;tc.defaultCharUnicode="\uFFFD";tc.defaultCharSingleByte="?";tc.encode=function(e,i,o){e=""+(e||"");var r=tc.getEncoder(i,o),n=r.write(e),a=r.end();return a&&a.length>0?p8i.concat([n,a]):n};tc.decode=function(e,i,o){typeof e=="string"&&(tc.skipDecodeWarning||(console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),tc.skipDecodeWarning=!0),e=p8i.from(""+(e||""),"binary"));var r=tc.getDecoder(i,o),n=r.write(e),a=r.end();return a?n+a:n};tc.encodingExists=function(e){try{return tc.getCodec(e),!0}catch{return!1}};tc.toEncoding=tc.encode;tc.fromEncoding=tc.decode;tc._codecDataCache={};tc.getCodec=function(e){tc.encodings||(tc.encodings=s8i());for(var i=tc._canonicalizeEncoding(e),o={};;){var r=tc._codecDataCache[i];if(r)return r;var n=tc.encodings[i];switch(typeof n){case"string":i=n;break;case"object":for(var a in n)o[a]=n[a];o.encodingName||(o.encodingName=i),i=n.type;break;case"function":return o.encodingName||(o.encodingName=i),r=new n(o,tc),tc._codecDataCache[o.encodingName]=r,r;default:throw new Error("Encoding not recognized: '"+e+"' (searched as: '"+i+"')")}}};tc._canonicalizeEncoding=function(t){return(""+t).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")};tc.getEncoder=function(e,i){var o=tc.getCodec(e),r=new o.encoder(i,o);return o.bomAware&&i&&i.addBOM&&(r=new m8i.PrependBOM(r,i)),r};tc.getDecoder=function(e,i){var o=tc.getCodec(e),r=new o.decoder(i,o);return o.bomAware&&!(i&&i.stripBOM===!1)&&(r=new m8i.StripBOM(r,i)),r};tc.enableStreamingAPI=function(e){if(!tc.supportsStreams){var i=d8i()(e);tc.IconvLiteEncoderStream=i.IconvLiteEncoderStream,tc.IconvLiteDecoderStream=i.IconvLiteDecoderStream,tc.encodeStream=function(r,n){return new tc.IconvLiteEncoderStream(tc.getEncoder(r,n),n)},tc.decodeStream=function(r,n){return new tc.IconvLiteDecoderStream(tc.getDecoder(r,n),n)},tc.supportsStreams=!0}};var hUe;try{hUe=u8i()}catch{}hUe&&hUe.Transform?tc.enableStreamingAPI(hUe):tc.encodeStream=tc.decodeStream=function(){throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}});var C8i=xe((Was,w8i)=>{var YT=[];YT.push("#panelFabricationFileDlg_dNK-k,#panelPreview_B1202,#panelProductionOrderDlg_Enxsu{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}#panelFabricationFileDlg_dNK-k .panel_XymQW,#panelPreview_B1202 .panel_XymQW,#panelProductionOrderDlg_Enxsu .panel_XymQW{width:100%!important;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}#panelFabricationFileDlg_dNK-k .panel_XymQW .dialog-content_bScTN,#panelPreview_B1202 .panel_XymQW .dialog-content_bScTN,#panelProductionOrderDlg_Enxsu .panel_XymQW .dialog-content_bScTN{height:100%!important;overflow:hidden;width:100%!important}#panelFabricationFileDlg_dNK-k .switch-bar_FYEf8,#panelPreview_B1202 .switch-bar_FYEf8,#panelProductionOrderDlg_Enxsu .switch-bar_FYEf8{margin-bottom:8px}#panelFabricationFileDlg_dNK-k .switch-bar_FYEf8 a:last-child,#panelPreview_B1202 .switch-bar_FYEf8 a:last-child,#panelProductionOrderDlg_Enxsu .switch-bar_FYEf8 a:last-child{border-right:1px solid #d9d9d9!important}#panelFabricationFileDlg_dNK-k .panel-tips_8Sd1f,#panelPreview_B1202 .panel-tips_8Sd1f,#panelProductionOrderDlg_Enxsu .panel-tips_8Sd1f{margin-bottom:16px}#panelFabricationFileDlg_dNK-k .preview-content_AI9Ag,#panelPreview_B1202 .preview-content_AI9Ag,#panelProductionOrderDlg_Enxsu .preview-content_AI9Ag{border:1px solid #d9d9d9;height:-webkit-calc(100% - 34px);height:-moz-calc(100% - 34px);height:calc(100% - 34px);padding:16px}#panelFabricationFileDlg_dNK-k .preview-content_AI9Ag .switch-bar_FYEf8 a:last-child,#panelPreview_B1202 .preview-content_AI9Ag .switch-bar_FYEf8 a:last-child,#panelProductionOrderDlg_Enxsu .preview-content_AI9Ag .switch-bar_FYEf8 a:last-child{border-right:initial!important}#panelFabricationFileDlg_dNK-k .preview-content_AI9Ag .preview-content-flex_n3aIj,#panelPreview_B1202 .preview-content_AI9Ag .preview-content-flex_n3aIj,#panelProductionOrderDlg_Enxsu .preview-content_AI9Ag .preview-content-flex_n3aIj{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-calc(100% - 32px);height:-moz-calc(100% - 32px);height:calc(100% - 32px)}#panelFabricationFileDlg_dNK-k .preview-content_AI9Ag .preview-box_fnWoi,#panelPreview_B1202 .preview-content_AI9Ag .preview-box_fnWoi,#panelProductionOrderDlg_Enxsu .preview-content_AI9Ag .preview-box_fnWoi{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;flex:1;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;background-image:");YT.push("url(");YT.push('"data:image/gif;base64,R0lGODlhEAAQAIAAAP///9/f3yH5BAAHAP8ALAAAAAAQABAAAAIfjG+gq4jM3IFLJgpswNly/XkcBpIiVaInlLJr9FZWAQA7"');YT.push(")");YT.push(";height:100%;justify-content:center;overflow:hidden;position:relative}#panelFabricationFileDlg_dNK-k .preview-content_AI9Ag .preview-box_fnWoi svg,#panelPreview_B1202 .preview-content_AI9Ag .preview-box_fnWoi svg,#panelProductionOrderDlg_Enxsu .preview-content_AI9Ag .preview-box_fnWoi svg{position:absolute}#panelFabricationFileDlg_dNK-k .preview-content_AI9Ag .preview-box_fnWoi svg #cover_iqEah *,#panelPreview_B1202 .preview-content_AI9Ag .preview-box_fnWoi svg #cover_iqEah *,#panelProductionOrderDlg_Enxsu .preview-content_AI9Ag .preview-box_fnWoi svg #cover_iqEah *{fill:#fff}#panelFabricationFileDlg_dNK-k .preview-content_AI9Ag .preview-box_fnWoi svg #print_kHnUX,#panelPreview_B1202 .preview-content_AI9Ag .preview-box_fnWoi svg #print_kHnUX,#panelProductionOrderDlg_Enxsu .preview-content_AI9Ag .preview-box_fnWoi svg #print_kHnUX{opacity:.5}#panelFabricationFileDlg_dNK-k .preview-content_AI9Ag .preview-operate_yEGLp,#panelPreview_B1202 .preview-content_AI9Ag .preview-operate_yEGLp,#panelProductionOrderDlg_Enxsu .preview-content_AI9Ag .preview-operate_yEGLp{display:inline;display:initial;margin-right:8px;min-width:90px}#panelFabricationFileDlg_dNK-k .preview-content_AI9Ag .preview-operate_yEGLp a,#panelPreview_B1202 .preview-content_AI9Ag .preview-operate_yEGLp a,#panelProductionOrderDlg_Enxsu .preview-content_AI9Ag .preview-operate_yEGLp a{background:#fff;border:initial;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;text-align:left;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:#000}#panelFabricationFileDlg_dNK-k .preview-content_AI9Ag .preview-operate_yEGLp a:first-child,#panelPreview_B1202 .preview-content_AI9Ag .preview-operate_yEGLp a:first-child,#panelProductionOrderDlg_Enxsu .preview-content_AI9Ag .preview-operate_yEGLp a:first-child{border-bottom:1px solid #d9d9d9}#panelFabricationFileDlg_dNK-k .preview-content_AI9Ag .preview-operate_yEGLp a span,#panelPreview_B1202 .preview-content_AI9Ag .preview-operate_yEGLp a span,#panelProductionOrderDlg_Enxsu .preview-content_AI9Ag .preview-operate_yEGLp a span{background-image:");YT.push("url(");YT.push(JSON.stringify(Jx()));YT.push(")");YT.push(";background-repeat:no-repeat;background-size:16px 16px;display:inline-block;height:16px;margin-right:8px;opacity:.25;width:16px}#panelFabricationFileDlg_dNK-k .preview-content_AI9Ag .preview-operate_yEGLp a.selected_Ay00t span,#panelPreview_B1202 .preview-content_AI9Ag .preview-operate_yEGLp a.selected_Ay00t span,#panelProductionOrderDlg_Enxsu .preview-content_AI9Ag .preview-operate_yEGLp a.selected_Ay00t span{background-image:");YT.push("url(");YT.push(JSON.stringify(s3()));YT.push(")");YT.push(";background-repeat:no-repeat;background-size:16px 16px;opacity:1}#panelFabricationFileDlg_dNK-k .icon-eda-loading_E9lNb,#panelPreview_B1202 .icon-eda-loading_E9lNb,#panelProductionOrderDlg_Enxsu .icon-eda-loading_E9lNb{display:none;height:30px;left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:30px}#panelFabricationFileDlg_dNK-k .loading_HKJ7u .icon-eda-loading_E9lNb,#panelPreview_B1202 .loading_HKJ7u .icon-eda-loading_E9lNb,#panelProductionOrderDlg_Enxsu .loading_HKJ7u .icon-eda-loading_E9lNb{display:block}#panelFabricationFileDlg_dNK-k .loading_HKJ7u .preview-box_fnWoi,#panelPreview_B1202 .loading_HKJ7u .preview-box_fnWoi,#panelProductionOrderDlg_Enxsu .loading_HKJ7u .preview-box_fnWoi{background:none}#panelFabricationFileDlg_dNK-k .form_NaPmT span,#panelPreview_B1202 .form_NaPmT span,#panelProductionOrderDlg_Enxsu .form_NaPmT span{border:1px solid #d9d9d9;border-left:initial;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;height:22px;line-height:22px;padding:0 4px}#panelPreview_B1202 .preview-content_AI9Ag .preview-content-flex_n3aIj{height:100%}.form-box_9hEbI{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;border-radius:2px 0 0 2px;display:inline-block;flex-grow:1}.form-label_dlk22{margin-left:8px;margin-right:0;max-width:110px;min-width:80px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.form-item_d41T4{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;padding:0 0 4px}.form_NaPmT{margin-bottom:8px;width:74%}");YT=YT.join("");w8i.exports={uuid:"17a46232-09df-4b76-9834-74f974d90c19",locals:{panelFabricationFileDlg:"panelFabricationFileDlg_dNK-k",panelPreview:"panelPreview_B1202",panelProductionOrderDlg:"panelProductionOrderDlg_Enxsu",panel:"panel_XymQW","dialog-content":"dialog-content_bScTN","switch-bar":"switch-bar_FYEf8","panel-tips":"panel-tips_8Sd1f","preview-content":"preview-content_AI9Ag","preview-content-flex":"preview-content-flex_n3aIj","preview-box":"preview-box_fnWoi",cover:"cover_iqEah",print:"print_kHnUX","preview-operate":"preview-operate_yEGLp",selected:"selected_Ay00t","icon-eda-loading":"icon-eda-loading_E9lNb",loading:"loading_HKJ7u",form:"form_NaPmT","form-box":"form-box_9hEbI","form-label":"form-label_dlk22","form-item":"form-item_d41T4"},toString(){return YT}}});var P8i=xe((Ass,k8i)=>{var IUe=[];IUe.push(".icon-eda-x-circle_-EwtA.clear-input-circle_z5Z4b{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.container_rcWZE{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;gap:16px}.container_rcWZE,.container_rcWZE .export-row-container_YJcYK{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.container_rcWZE .export-row-container_YJcYK{margin:16px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_rcWZE .export-row-container_YJcYK>:not(:first-child):not(label){-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.container_rcWZE .export-row-container_YJcYK .export-column-container_4ZGkN{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_rcWZE .export-row-container_YJcYK .export-column-container_4ZGkN>div{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%}.container_rcWZE .export-row-container_YJcYK .export-column-container_4ZGkN>div>label{width:100px;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.container_rcWZE .export-row-container_YJcYK .export-column-container_4ZGkN>span{display:inline-block;padding-right:8px;width:60px}.container_rcWZE .export-row-container_YJcYK .export-column-container_4ZGkN.watermark-cell_KDfRR{gap:8px}.container_rcWZE .export-row-container_YJcYK .export-column-container_4ZGkN.watermark-cell_KDfRR>a{color:#1890ff;cursor:pointer;-webkit-flex-shrink:0;flex-shrink:0}.container_rcWZE .export-row-container_YJcYK .export-column-container_4ZGkN.watermark-cell_KDfRR>a:hover{color:#2094ff}.container_rcWZE .export-row-container_YJcYK .export-column-container_4ZGkN.watermark-cell_KDfRR>label{-webkit-flex-shrink:0;flex-shrink:0}.container_rcWZE .icon_ybey0{display:block;height:16px;width:16px}.container_rcWZE .icon_ybey0.disabled_-pncT{cursor:not-allowed;-webkit-filter:invert(.6);filter:invert(.6)}.container_rcWZE .container-footer_6Qm6c,.container_rcWZE .container-footer_6Qm6c .container-footer-left_DH9Mo,.container_rcWZE .container-footer_6Qm6c .container-footer-right_PXuPM{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;gap:8px}.container_rcWZE .container-footer_6Qm6c .container-footer-right_PXuPM{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;flex-direction:row-reverse}.container_rcWZE .content-editable_gjwbO{max-width:-webkit-calc(100% - 24px);max-width:-moz-calc(100% - 24px);max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis}.container_rcWZE .content-editable_gjwbO:focus{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;height:20px;line-height:20px;outline:thin solid;padding:0 4px;text-overflow:clip}.container_rcWZE label.checkbox-container_l61fR{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}");IUe=IUe.join("");k8i.exports={uuid:"32ba6d40-d008-4dc7-b2bb-748e86a9ede9",locals:{"icon-eda-x-circle":"icon-eda-x-circle_-EwtA","clear-input-circle":"clear-input-circle_z5Z4b",container:"container_rcWZE","export-row-container":"export-row-container_YJcYK","export-column-container":"export-column-container_4ZGkN","watermark-cell":"watermark-cell_KDfRR",icon:"icon_ybey0",disabled:"disabled_-pncT","container-footer":"container-footer_6Qm6c","container-footer-left":"container-footer-left_DH9Mo","container-footer-right":"container-footer-right_PXuPM","content-editable":"content-editable_gjwbO","checkbox-container":"checkbox-container_l61fR"},toString(){return IUe}}});var fAi=xe((mds,hAi)=>{var FUe=[];FUe.push(".icon-eda-x-circle_YwUnb.clear-input-circle_oxamf{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.reg-tab_8ibD3{margin:16px;width:-webkit-calc(100% - 32px);width:-moz-calc(100% - 32px);width:calc(100% - 32px)}.reg-tab_8ibD3>tbody>tr>td:first-child{width:72px}.reg-tab_8ibD3>tbody>tr input{height:22px!important}.reg-tab_8ibD3 .input-wrap_uBI2l{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:22px;line-height:20px;min-width:150px}.reg-tab_8ibD3 .input-wrap_uBI2l>input{-webkit-flex-shrink:1;flex-shrink:1;min-width:60px;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.reg-tab_8ibD3 .input-wrap_uBI2l>:not(:first-child){border-bottom-left-radius:0!important;border-top-left-radius:0!important}.reg-tab_8ibD3 .input-wrap_uBI2l>:not(:last-child){border-bottom-right-radius:0!important;border-top-right-radius:0!important}.reg-tab_8ibD3 .input-wrap_uBI2l>.input-addon_0b5FP{background-color:var(--bg-color-disabled-input);border:1px solid var(--common-border-color);border-left:none;border-radius:2px;color:var(--font-color-disabled-input);-webkit-flex-shrink:0;flex-shrink:0;padding:0 10px;text-align:center}");FUe=FUe.join("");hAi.exports={uuid:"521888a5-b2b4-4f5d-bff5-f278c84e609f",locals:{"icon-eda-x-circle":"icon-eda-x-circle_YwUnb","clear-input-circle":"clear-input-circle_oxamf","reg-tab":"reg-tab_8ibD3","input-wrap":"input-wrap_uBI2l","input-addon":"input-addon_0b5FP"},toString(){return FUe}}});var iIt=xe((wds,bAi)=>{var UUe=[];UUe.push(".container_fFs1h,.container_fFs1h .container-content_5682t{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.container_fFs1h,.container_fFs1h .container-content_5682t,.container_fFs1h .container-content_5682t .export-row-container_I8Eb9{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;gap:16px}.container_fFs1h .container-content_5682t .export-row-container_I8Eb9 .export-column-container_qzQOx{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_fFs1h .container-content_5682t .export-row-container_I8Eb9 .export-column-container_qzQOx>div{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%}.container_fFs1h .container-content_5682t .export-row-container_I8Eb9 .export-column-container_qzQOx>div>label{width:100px;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.container_fFs1h .container-content_5682t .export-row-container_I8Eb9 .export-column-container_qzQOx>span{display:inline-block;padding-right:8px;width:60px}.container_fFs1h .container-content_5682t .exportPcbObjectGrid-checkbox_Yf4gn{margin-right:4px}.container_fFs1h .container-content_5682t .exportPcbObjectGrid-checkbox_Yf4gn.group_jwjd9{margin-left:10px}.container_fFs1h .container-content_5682t .object-color-table-cell_rOhWp{-moz-box-sizing:border-box;box-sizing:border-box}.container_fFs1h .container-content_5682t .object-color-table-cell_rOhWp,.container_fFs1h .container-content_5682t .object-color-table-cell_rOhWp .object-color-table-cell-color-pick_N844f{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;height:100%}.container_fFs1h .container-content_5682t .object-color-table-cell_rOhWp .object-color-table-cell-color-pick_N844f{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;width:24%}.container_fFs1h .container-content_5682t .object-color-table-cell_rOhWp .object-color-table-cell-text_1aD9X{height:100%}.container_fFs1h .container-footer_9MXWC{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.container_fFs1h .container-footer_9MXWC .container-footer-left_4gH5w,.container_fFs1h .container-footer_9MXWC .container-footer-right_UksI-{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;gap:8px}.container_fFs1h .container-footer_9MXWC .container-footer-right_UksI-{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;flex-direction:row-reverse}");UUe=UUe.join("");bAi.exports={uuid:"2074cf6a-a719-422c-a045-e912bce756a6",locals:{container:"container_fFs1h","container-content":"container-content_5682t","export-row-container":"export-row-container_I8Eb9","export-column-container":"export-column-container_qzQOx","exportPcbObjectGrid-checkbox":"exportPcbObjectGrid-checkbox_Yf4gn",group:"group_jwjd9","object-color-table-cell":"object-color-table-cell_rOhWp","object-color-table-cell-color-pick":"object-color-table-cell-color-pick_N844f","object-color-table-cell-text":"object-color-table-cell-text_1aD9X","container-footer":"container-footer_9MXWC","container-footer-left":"container-footer-left_4gH5w","container-footer-right":"container-footer-right_UksI-"},toString(){return UUe}}});var xAi=xe((hus,CAi)=>{var VUe=[];VUe.push(".icon-eda-x-circle_BSweP.clear-input-circle_HhAHH{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.container_ruWlD{gap:16px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;border:1px solid var(--common-border-color);flex-direction:column;padding:16px}.container_ruWlD,.container_ruWlD .item_S3IOv{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.container_ruWlD .item_S3IOv{gap:8px;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_ruWlD .item_S3IOv .item-label_9g9aQ{width:80px}.container_ruWlD .item_S3IOv .item-content_S5DpI{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}");VUe=VUe.join("");CAi.exports={uuid:"31d73789-4f5a-46e7-90bf-5226df3c3109",locals:{"icon-eda-x-circle":"icon-eda-x-circle_BSweP","clear-input-circle":"clear-input-circle_HhAHH",container:"container_ruWlD",item:"item_S3IOv","item-label":"item-label_9g9aQ","item-content":"item-content_S5DpI"},toString(){return VUe}}});var SAi=xe((fus,TAi)=>{var HUe=[];HUe.push(".input_qhqa0{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);font-family:Microsoft YaHei;font-size:12px;height:24px;padding:0 8px;-webkit-user-select:text;-moz-user-select:text;user-select:text;width:100%}.input_qhqa0:focus{border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}");HUe=HUe.join("");TAi.exports={uuid:"6ca1c97a-c0a9-4e6f-a6bf-29c8ab725c1f",locals:{input:"input_qhqa0"},toString(){return HUe}}});var DAi=xe((q0s,vAi)=>{var YUe=[];YUe.push(".icon-eda-x-circle_FRazv.clear-input-circle_W-jCB{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.container_IQE0A{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;gap:16px}.container_IQE0A,.container_IQE0A .export-row-container_uFVMq{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.container_IQE0A .export-row-container_uFVMq{margin:16px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_IQE0A .export-row-container_uFVMq>:not(:first-child):not(label){-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.container_IQE0A .export-row-container_uFVMq .export-column-container_0S5Cf{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_IQE0A .export-row-container_uFVMq .export-column-container_0S5Cf>div{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%}.container_IQE0A .export-row-container_uFVMq .export-column-container_0S5Cf>div>label{width:100px;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.container_IQE0A .export-row-container_uFVMq .export-column-container_0S5Cf>span{display:inline-block;padding-right:8px;width:60px}.container_IQE0A .export-row-container_uFVMq .export-column-container_0S5Cf .sep_xcOL1{text-align:center;width:20px}.container_IQE0A .export-row-container_uFVMq .export-column-container_0S5Cf .shrink-group_fEehW{-webkit-flex-shrink:0;flex-shrink:0;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;width:-webkit-calc(100% - 120px);width:-moz-calc(100% - 120px);width:calc(100% - 120px)}.container_IQE0A .export-row-container_uFVMq .export-column-container_0S5Cf .range-box_G-xaY input{height:16px!important;width:50px!important}.container_IQE0A .export-row-container_uFVMq .export-column-container_0S5Cf .icon_9qP4J{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);-webkit-flex-shrink:0;flex-shrink:0;height:16px;width:8px}.container_IQE0A .export-row-container_uFVMq .export-column-container_0S5Cf .icon_9qP4J.rotate90_hy5IU{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);transform:rotate(90deg)}.container_IQE0A .export-row-container_uFVMq .export-column-container_0S5Cf.watermark-cell_tEQYA{gap:8px}.container_IQE0A .export-row-container_uFVMq .export-column-container_0S5Cf.watermark-cell_tEQYA>a{color:#1890ff;cursor:pointer;-webkit-flex-shrink:0;flex-shrink:0}.container_IQE0A .export-row-container_uFVMq .export-column-container_0S5Cf.watermark-cell_tEQYA>a:hover{color:#2094ff}.container_IQE0A .export-row-container_uFVMq .export-column-container_0S5Cf.watermark-cell_tEQYA>label{-webkit-flex-shrink:0;flex-shrink:0}.container_IQE0A .export-row-container_uFVMq fieldset{-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}.container_IQE0A .export-row-container_uFVMq label.checkbox-container_SwL6Y{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_IQE0A .container-footer_6dXyg{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;gap:8px;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;flex-direction:row-reverse}");YUe=YUe.join("");vAi.exports={uuid:"1999ffd1-dbb8-44ab-ba10-0c108ccd8678",locals:{"icon-eda-x-circle":"icon-eda-x-circle_FRazv","clear-input-circle":"clear-input-circle_W-jCB",container:"container_IQE0A","export-row-container":"export-row-container_uFVMq","export-column-container":"export-column-container_0S5Cf",sep:"sep_xcOL1","shrink-group":"shrink-group_fEehW","range-box":"range-box_G-xaY",icon:"icon_9qP4J",rotate90:"rotate90_hy5IU","watermark-cell":"watermark-cell_tEQYA","checkbox-container":"checkbox-container_SwL6Y","container-footer":"container-footer_6dXyg"},toString(){return YUe}}});var PAi=xe((Mps,kAi)=>{var WUe=[];WUe.push(".icon-eda-x-circle_0SopN.clear-input-circle_ovuRe{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.container_o2Tk2{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;gap:16px}.container_o2Tk2,.container_o2Tk2 .export-row-container_v1iUV{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.container_o2Tk2 .export-row-container_v1iUV{margin:16px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_o2Tk2 .export-row-container_v1iUV>:not(:first-child):not(label){-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.container_o2Tk2 .export-row-container_v1iUV .export-column-container_MuvtO{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_o2Tk2 .export-row-container_v1iUV .export-column-container_MuvtO>div{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%}.container_o2Tk2 .export-row-container_v1iUV .export-column-container_MuvtO>div>label{width:100px;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.container_o2Tk2 .export-row-container_v1iUV .export-column-container_MuvtO>span{display:inline-block;padding-right:8px;width:60px}.container_o2Tk2 .export-row-container_v1iUV .export-column-container_MuvtO .sep_biakJ{text-align:center;width:20px}.container_o2Tk2 .export-row-container_v1iUV .export-column-container_MuvtO .shrink-group_EYmhp{-webkit-flex-shrink:0;flex-shrink:0;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;width:-webkit-calc(100% - 120px);width:-moz-calc(100% - 120px);width:calc(100% - 120px)}.container_o2Tk2 .export-row-container_v1iUV .export-column-container_MuvtO .range-box_UhX26 input{height:16px!important;width:50px!important}.container_o2Tk2 .export-row-container_v1iUV .export-column-container_MuvtO .icon_4NVUp{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);-webkit-flex-shrink:0;flex-shrink:0;height:16px;width:8px}.container_o2Tk2 .export-row-container_v1iUV .export-column-container_MuvtO .icon_4NVUp.rotate90_ZfnPD{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);transform:rotate(90deg)}.container_o2Tk2 .export-row-container_v1iUV .export-column-container_MuvtO.watermark-cell_ZD4Bi{gap:8px}.container_o2Tk2 .export-row-container_v1iUV .export-column-container_MuvtO.watermark-cell_ZD4Bi>a{color:#1890ff;cursor:pointer;-webkit-flex-shrink:0;flex-shrink:0}.container_o2Tk2 .export-row-container_v1iUV .export-column-container_MuvtO.watermark-cell_ZD4Bi>a:hover{color:#2094ff}.container_o2Tk2 .export-row-container_v1iUV .export-column-container_MuvtO.watermark-cell_ZD4Bi>label{-webkit-flex-shrink:0;flex-shrink:0}.container_o2Tk2 .export-row-container_v1iUV fieldset{-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}.container_o2Tk2 .export-row-container_v1iUV label.checkbox-container_9FD75{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_o2Tk2 .container-footer_b059j{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;gap:8px;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;flex-direction:row-reverse}");WUe=WUe.join("");kAi.exports={uuid:"8e2f3de8-cbe4-47db-966b-796864fba41c",locals:{"icon-eda-x-circle":"icon-eda-x-circle_0SopN","clear-input-circle":"clear-input-circle_ovuRe",container:"container_o2Tk2","export-row-container":"export-row-container_v1iUV","export-column-container":"export-column-container_MuvtO",sep:"sep_biakJ","shrink-group":"shrink-group_EYmhp","range-box":"range-box_UhX26",icon:"icon_4NVUp",rotate90:"rotate90_ZfnPD","watermark-cell":"watermark-cell_ZD4Bi","checkbox-container":"checkbox-container_9FD75","container-footer":"container-footer_b059j"},toString(){return WUe}}});var YAi=xe((nhs,GAi)=>{var iVe=[];iVe.push('.icon-eda-x-circle_yzg6K.clear-input-circle_h2bCD{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.main-content_93tlQ{background:#fff;border:1px solid #d1d1d1;border-radius:0;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-size:0;position:absolute;right:30px!important;top:60px!important}.titlebar_e6ynp{display:none}.btn-item_gd-fG{background-position:50%;background-size:62%;border:none;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;font-size:18px;height:28px;text-align:center;width:28px}.btn-item_gd-fG:hover{background-color:#efefef}.hover-item_qWTTR.selected_k-Qy2,.independent-select_GWdM9.selected_k-Qy2{background-color:#efefef;border:1px solid #1890ff;border-radius:3px}.breakline-after_DoFTL[data-cmd]{margin-right:6px;position:relative}.breakline-after_DoFTL[data-cmd]:after{background:#cacaca;content:"";height:28px;position:absolute;right:-4px;top:0;width:1px}.breakline-before_K-PSj[data-cmd]{margin-left:6px;position:relative}.breakline-before_K-PSj[data-cmd]:before{background:#cacaca;content:"";height:28px;left:-3px;position:absolute;top:0;width:1px}');iVe=iVe.join("");GAi.exports={uuid:"4ef47a77-226d-4660-990f-d284dde1ec37",locals:{"icon-eda-x-circle":"icon-eda-x-circle_yzg6K","clear-input-circle":"clear-input-circle_h2bCD","main-content":"main-content_93tlQ",titlebar:"titlebar_e6ynp","btn-item":"btn-item_gd-fG","hover-item":"hover-item_qWTTR",selected:"selected_k-Qy2","independent-select":"independent-select_GWdM9","breakline-after":"breakline-after_DoFTL","breakline-before":"breakline-before_K-PSj"},toString(){return iVe}}});var dD=xe((zhs,QAi)=>{var oVe=[];oVe.push(".main-container_JDOCO{height:665px;min-height:480px}.view-loading-wrapper_ov8Qp{height:665px;left:0;position:relative;top:0;width:100%}.view-loading_4uxoF{background-color:var(--common-bg-color);height:-webkit-calc(100% - 2px);height:-moz-calc(100% - 2px);height:calc(100% - 2px);left:1px;position:absolute;top:1px;width:-webkit-calc(100% - 2px);width:-moz-calc(100% - 2px);width:calc(100% - 2px);z-index:9999}.view-loading-rotation_IHlE-{height:36px;left:45%;position:absolute;top:40%;width:36px}.liblist-section_6HYNn{margin-right:5px;overflow:auto;width:-webkit-calc(50% - 5px);width:-moz-calc(50% - 5px);width:calc(50% - 5px)}.category-section_zLDoc,.liblist-section_6HYNn{-webkit-flex-shrink:0;flex-shrink:0}.category-section_zLDoc{height:100%;overflow:hidden;position:relative;width:50%}.component-search-section_VBSoR{display:block;height:30px;padding:0 0 5px;width:100%}.table-section_QR-Hi{height:100%;overflow:hidden;position:relative;width:100%}.device-search-section_H5ys1{display:block;height:30px;padding:0 0 5px;width:100%}.form-contoller-section_XW-y-{height:100%;padding:0 0 5px;width:100%}.form-contoller-ulists_F-I9R{max-height:inherit;width:100%}.form-contoller-ulists_F-I9R li{cursor:pointer;height:24px;line-height:24px;padding:0 0 0 5px}.form-contoller-ulists_F-I9R li:hover{background-color:var(--bg-color-selected-drop-down-menuItem);color:var(--font-color-selected-down-menuItem)}");oVe=oVe.join("");QAi.exports={uuid:"c013b268-2bcc-4c4e-9af4-15b218e9db84",locals:{"main-container":"main-container_JDOCO","view-loading-wrapper":"view-loading-wrapper_ov8Qp","view-loading":"view-loading_4uxoF","view-loading-rotation":"view-loading-rotation_IHlE-","liblist-section":"liblist-section_6HYNn","category-section":"category-section_zLDoc","component-search-section":"component-search-section_VBSoR","table-section":"table-section_QR-Hi","device-search-section":"device-search-section_H5ys1","form-contoller-section":"form-contoller-section_XW-y-","form-contoller-ulists":"form-contoller-ulists_F-I9R"},toString(){return oVe}}});var vSe=xe((A4s,RNi)=>{var BVe=[];BVe.push('.move-transition_aiTRN{-webkit-transition:all .1s ease-in;-moz-transition:all .1s ease-in;transition:all .1s ease-in}.container_2yGlB{-webkit-align-content:center;align-content:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;justify-content:flex-start;-webkit-user-select:none;-moz-user-select:none;user-select:none}.container_2yGlB,.container_2yGlB .arrow-container_5p0DM{background-color:#464646;height:100%;position:relative}.container_2yGlB .arrow-container_5p0DM{display:block;-webkit-flex-shrink:0;flex-shrink:0;overflow:hidden;padding:1px 1px 0;width:40px;z-index:999}.container_2yGlB .arrow-container_5p0DM .arrow-wrapper_tSQ86{border:1px solid #222;border-radius:3px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:inherit;overflow:hidden}.container_2yGlB .arrow-container_5p0DM .arrow-wrapper_tSQ86 .left-arrow_VY4To,.container_2yGlB .arrow-container_5p0DM .arrow-wrapper_tSQ86 .right-arrow_rf3sG{cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:20px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;background-color:#545454;justify-content:center}.container_2yGlB .arrow-container_5p0DM .arrow-wrapper_tSQ86 .left-arrow_VY4To:hover,.container_2yGlB .arrow-container_5p0DM .arrow-wrapper_tSQ86 .right-arrow_rf3sG:hover{background-color:#5c5c5c}.container_2yGlB .arrow-container_5p0DM .arrow-wrapper_tSQ86 .left-arrow-icon_d0Qup{display:inline-block;height:16px;position:relative;width:20px}.container_2yGlB .arrow-container_5p0DM .arrow-wrapper_tSQ86 .left-arrow-icon_d0Qup:before{border:5px solid transparent;border-left-color:#fff;content:"";left:11px;position:absolute;top:3px;-webkit-transform:scaleX(.75) scaleY(.75) translateY(0) rotate(180deg);-moz-transform:scaleX(.75) scaleY(.75) translateY(0) rotate(180deg);transform:scaleX(.75) scaleY(.75) translateY(0) rotate(180deg);-webkit-transform-origin:left center;-moz-transform-origin:left center;transform-origin:left center}.container_2yGlB .arrow-container_5p0DM .arrow-wrapper_tSQ86 .left-arrow-icon_d0Qup:after{background-color:#222;content:"";height:10px;left:18px;position:absolute;top:3px;width:1px}.container_2yGlB .arrow-container_5p0DM .arrow-wrapper_tSQ86 .right-arrow-icon_f9Uz4{display:inline-block;height:16px;position:relative;width:20px}.container_2yGlB .arrow-container_5p0DM .arrow-wrapper_tSQ86 .right-arrow-icon_f9Uz4:before{border:5px solid transparent;border-left-color:#fff;content:"";left:6px;position:absolute;top:3px;-webkit-transform:scaleX(.75) scaleY(.75) translateY(0) translateY(0);-moz-transform:scaleX(.75) scaleY(.75) translateY(0) translateY(0);transform:scaleX(.75) scaleY(.75) translateY(0) translateY(0);-webkit-transform-origin:left center;-moz-transform-origin:left center;transform-origin:left center}.container_2yGlB .list-container_8JsOC{background-color:#464646;height:100%;max-width:-webkit-calc(100% - 40px);max-width:-moz-calc(100% - 40px);max-width:calc(100% - 40px);min-width:-webkit-calc(100% - 40px);min-width:-moz-calc(100% - 40px);min-width:calc(100% - 40px);width:-webkit-calc(100% - 40px);width:-moz-calc(100% - 40px);width:calc(100% - 40px)}.container_2yGlB .list-container_8JsOC .list-wrapper_kxmff{-webkit-transform:translateZ(5px);-moz-transform:translateZ(5px);transform:translateZ(5px);will-change:transform}.container_2yGlB .layer-item-wrapper_jR2Om,.container_2yGlB .list-container_8JsOC .list-wrapper_kxmff{-webkit-align-content:center;align-content:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start}.container_2yGlB .layer-item-wrapper_jR2Om{background-color:#363636;color:#c9c9c9;cursor:pointer;padding-right:10px;white-space:nowrap}.container_2yGlB .layer-item-wrapper_jR2Om:hover{background-color:#5f5f5f}.container_2yGlB .layer-item-wrapper-selected_s2D2H{background-color:#515151;color:#fff}.container_2yGlB .layer-item-wrapper_jR2Om .layer-dividing-line_syf8q{background-color:#222;height:100%;width:1px}.container_2yGlB .layer-item-wrapper_jR2Om .layer-color-wrapper_PoUfF{-webkit-align-content:center;align-content:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:18px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.container_2yGlB .layer-item-wrapper_jR2Om .layer-color-wrapper_PoUfF .layer-color_PfKEJ{border:1px solid #a0a0a0;height:8px;width:8px}.container_2yGlB .layer-item-wrapper_jR2Om .layer-title_cJkma{max-width:150px;overflow:hidden;text-overflow:ellipsis}');BVe=BVe.join("");RNi.exports={uuid:"c78d0cc6-b40c-472e-b282-96f7eafb3677",locals:{"move-transition":"move-transition_aiTRN",container:"container_2yGlB","arrow-container":"arrow-container_5p0DM","arrow-wrapper":"arrow-wrapper_tSQ86","left-arrow":"left-arrow_VY4To","right-arrow":"right-arrow_rf3sG","left-arrow-icon":"left-arrow-icon_d0Qup","right-arrow-icon":"right-arrow-icon_f9Uz4","list-container":"list-container_8JsOC","list-wrapper":"list-wrapper_kxmff","layer-item-wrapper":"layer-item-wrapper_jR2Om","layer-item-wrapper-selected":"layer-item-wrapper-selected_s2D2H","layer-dividing-line":"layer-dividing-line_syf8q","layer-color-wrapper":"layer-color-wrapper_PoUfF","layer-color":"layer-color_PfKEJ","layer-title":"layer-title_cJkma"},toString(){return BVe}}});var FIt=xe((uws,n7i)=>{var oy=[];oy.push(".two-cols_vsxih{display:grid}.two-cols_vsxih.equal-width_UEKnF{grid-template-columns:1fr 1fr}.two-cols_vsxih.label-at-left_zKIou{grid-template-columns:70px 1fr}.two-cols_vsxih.auto_oOJUu{-webkit-column-gap:8px;-moz-column-gap:8px;column-gap:8px;display:inline-grid;grid-template-columns:auto auto 1fr}.two-cols_vsxih.auto_oOJUu>:nth-child(odd){grid-column:1/2}.two-cols_vsxih.auto_oOJUu>:nth-child(2n){grid-column:2/3}.rows_aLVw9{display:grid;grid-template-columns:1fr}.gap-outer_V2Yfv{row-gap:16px}.gap-inner_-Zave{row-gap:8px}.v-center_zKHAb{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.margin-outer_3xYT-{margin:16px}.spanLink_6BpAQ{color:#1890ff;cursor:pointer;text-decoration:underline}.spanLink_6BpAQ:hover{color:#40a9ff}.export-row-container_ScuQX{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:16px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.export-row-container_ScuQX>:not(:first-child):not(label){-webkit-box-flex:1;-webkit-flex:1 1 0;-moz-box-flex:1;flex:1 1 0}.export-row-container_ScuQX .export-column-container_J3l-w{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.export-row-container_ScuQX .export-column-container_J3l-w>span{display:inline-block;padding-right:8px;width:60px}.export-row-container_ScuQX .export-column-container_J3l-w input[type=number]{width:50px}.export-row-container_ScuQX fieldset{-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}.export-row-container_ScuQX label span{cursor:pointer}.gray-dialog-border_nSBxz{border:1px solid var(--common-border-color)}.attr_setting_btn_veul6{display:inline-block;height:16px;width:16px}.icon_operate_X7pHl{background-repeat:no-repeat;cursor:pointer;margin:0 4px}.icon_operate_add_IOleu{background-image:");oy.push("url(");oy.push(JSON.stringify(u9()));oy.push(")");oy.push(";background-position:50%;background-size:130%}.icon_operate_add_IOleu.disabled_7ZB6d{background-image:");oy.push("url(");oy.push(JSON.stringify(VR()));oy.push(")");oy.push(";background-position:50%;background-size:130%}.icon_operate_delete_9z5RT{background-image:");oy.push("url(");oy.push(JSON.stringify(p9()));oy.push(")");oy.push(";background-position:50%;background-size:130%}.icon_operate_delete_9z5RT.disabled_7ZB6d{background-image:");oy.push("url(");oy.push(JSON.stringify(m9()));oy.push(")");oy.push(";background-position:center -2px;background-size:140%}.disabled_7ZB6d{color:#fff!important;cursor:not-allowed!important;pointer-events:none!important}");oy=oy.join("");n7i.exports={uuid:"54e251d5-c591-468b-b3a0-bb8fd1e3c30b",locals:{"two-cols":"two-cols_vsxih","equal-width":"equal-width_UEKnF","label-at-left":"label-at-left_zKIou",auto:"auto_oOJUu",rows:"rows_aLVw9","gap-outer":"gap-outer_V2Yfv","gap-inner":"gap-inner_-Zave","v-center":"v-center_zKHAb","margin-outer":"margin-outer_3xYT-",spanLink:"spanLink_6BpAQ","export-row-container":"export-row-container_ScuQX","export-column-container":"export-column-container_J3l-w","gray-dialog-border":"gray-dialog-border_nSBxz",attr_setting_btn:"attr_setting_btn_veul6",icon_operate:"icon_operate_X7pHl",icon_operate_add:"icon_operate_add_IOleu",disabled:"disabled_7ZB6d",icon_operate_delete:"icon_operate_delete_9z5RT"},toString(){return oy}}});var p7i=xe((DCs,u7i)=>{var ry=[];ry.push(".two-cols_bPgbY{display:grid}.two-cols_bPgbY.equal-width_e0cN3{grid-template-columns:1fr 1fr}.two-cols_bPgbY.label-at-left_oOU07{grid-template-columns:70px 1fr}.two-cols_bPgbY.auto_yGWqE{-webkit-column-gap:8px;-moz-column-gap:8px;column-gap:8px;display:inline-grid;grid-template-columns:auto auto 1fr}.two-cols_bPgbY.auto_yGWqE>:nth-child(odd){grid-column:1/2}.two-cols_bPgbY.auto_yGWqE>:nth-child(2n){grid-column:2/3}.rows_cjabG{display:grid;grid-template-columns:1fr}.gap-outer_BDna0{row-gap:16px}.gap-inner_GBkUn{row-gap:8px}.v-center_rwIK1{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.margin-outer_DiRRK{margin:16px}.export-row-container_Wzwnd{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:16px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.export-row-container_Wzwnd>:not(:first-child):not(label){-webkit-box-flex:1;-webkit-flex:1 1 0;-moz-box-flex:1;flex:1 1 0}.export-row-container_Wzwnd .export-column-container_q67aX{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.export-row-container_Wzwnd .export-column-container_q67aX>span{display:inline-block;padding-right:8px;width:60px}.export-row-container_Wzwnd .export-column-container_q67aX input[type=number]{width:50px}.export-row-container_Wzwnd fieldset{-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}.export-row-container_Wzwnd label span{cursor:pointer}.gray-dialog-border_dOhpx{border:1px solid var(--common-border-color)}.attr_setting_btn_izWOX{display:inline-block;height:16px;width:16px}.icon_operate_-CWLw{background-repeat:no-repeat;cursor:pointer;margin:0 4px}.icon_operate_add_NaVv-{background-image:");ry.push("url(");ry.push(JSON.stringify(u9()));ry.push(")");ry.push(";background-position:50%;background-size:130%}.icon_operate_add_NaVv-.disabled_XwR7Q{background-image:");ry.push("url(");ry.push(JSON.stringify(VR()));ry.push(")");ry.push(";background-position:50%;background-size:130%}.icon_operate_delete_jyn7G{background-image:");ry.push("url(");ry.push(JSON.stringify(p9()));ry.push(")");ry.push(";background-position:50%;background-size:130%}.icon_operate_delete_jyn7G.disabled_XwR7Q{background-image:");ry.push("url(");ry.push(JSON.stringify(m9()));ry.push(")");ry.push(";background-position:center -2px;background-size:140%}.disabled_XwR7Q{color:#fff!important;cursor:not-allowed!important;pointer-events:none!important}");ry=ry.join("");u7i.exports={uuid:"53743811-990c-45b1-ab36-e497330dee0e",locals:{"two-cols":"two-cols_bPgbY","equal-width":"equal-width_e0cN3","label-at-left":"label-at-left_oOU07",auto:"auto_yGWqE",rows:"rows_cjabG","gap-outer":"gap-outer_BDna0","gap-inner":"gap-inner_GBkUn","v-center":"v-center_rwIK1","margin-outer":"margin-outer_DiRRK","export-row-container":"export-row-container_Wzwnd","export-column-container":"export-column-container_q67aX","gray-dialog-border":"gray-dialog-border_dOhpx",attr_setting_btn:"attr_setting_btn_izWOX",icon_operate:"icon_operate_-CWLw",icon_operate_add:"icon_operate_add_NaVv-",disabled:"disabled_XwR7Q",icon_operate_delete:"icon_operate_delete_jyn7G"},toString(){return ry}}});var S1e=xe((wxs,h7i)=>{var QVe=[];QVe.push(".export-dxf_F6JBa{border:1px solid var(--common-border-color);height:447px;margin-bottom:16px;width:100%}.export-dxf_F6JBa .panel_ij1cI{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;text-align:left}.export-dxf_F6JBa .panel_ij1cI p{font-weight:700;margin-bottom:5px}.export-dxf_F6JBa .export-column-container_lt-wc{width:100%}.export-dxf_F6JBa .dxf_exportName_GY1sA{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.export-dxf_F6JBa .panel_ij1cI.layer_eaTi-{margin-right:10px}.export-dxf_F6JBa .export-row-container_eKDSh{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:16px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.export-dxf_F6JBa .export-row-container_eKDSh>:not(:first-child):not(label){-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.export-dxf_F6JBa .export-row-container_eKDSh .export-column-container_lt-wc{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.export-dxf_F6JBa .export-row-container_eKDSh .export-column-container_lt-wc>span{display:inline-block;padding-right:8px;width:157px}.export-dxf_F6JBa .export-row-container_eKDSh .export-column-container_lt-wc input[type=number]{width:50px}.export-dxf_F6JBa .export-row-container_eKDSh fieldset{-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}.export-dxf_F6JBa .layer-table_Y-Dqm,.export-dxf_F6JBa .object-table_kvfCm{min-height:300px;width:100%}.export-dxf_F6JBa .object-table_kvfCm{min-width:180px}.export-dxf_F6JBa .param-list_IdNJb{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-right:8px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.export-dxf_F6JBa .param-list_IdNJb>*{-webkit-box-align:start;-webkit-align-items:start;-moz-box-align:start;align-items:start}.export-dxf_F6JBa .param-list_IdNJb .form-box_5bKM4{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;margin-top:14px}.export-dxf_F6JBa .param-list_IdNJb .form-box_5bKM4>:not(:last-child){margin-bottom:8px;-webkit-user-select:none;-moz-user-select:none;user-select:none}");QVe=QVe.join("");h7i.exports={uuid:"180bd3d9-b859-4f5d-8121-a2fb13300a84",locals:{"export-dxf":"export-dxf_F6JBa",panel:"panel_ij1cI","export-column-container":"export-column-container_lt-wc",dxf_exportName:"dxf_exportName_GY1sA",layer:"layer_eaTi-","export-row-container":"export-row-container_eKDSh","layer-table":"layer-table_Y-Dqm","object-table":"object-table_kvfCm","param-list":"param-list_IdNJb","form-box":"form-box_5bKM4"},toString(){return QVe}}});var dki=xe((d5s,pTr)=>{pTr.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDhweCIgaGVpZ2h0PSIzMnB4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDxkZWZzPgogICAgICAgIAogICAgIAk8ZmlsdGVyIGlkPSJpbnNldC1zaGFkb3ciIHg9Ii01MCUiIHk9Ii01MCUiIHdpZHRoPSIyMDAlIiBoZWlnaHQ9IjIwMCUiPgoJCQkJCTxmZUNvbXBvbmVudFRyYW5zZmVyIGluPSJTb3VyY2VBbHBoYSI+CgkJCQkJCTxmZUZ1bmNBIHR5cGU9InRhYmxlIiB0YWJsZVZhbHVlcz0iMSAwIiAvPgoJCQkJCTwvZmVDb21wb25lbnRUcmFuc2Zlcj4KCgkJCQkJPGZlR2F1c3NpYW5CbHVyIHN0ZERldmlhdGlvbj0iNSIgLz4KCgkJCQkJPGZlT2Zmc2V0IGR4PSIwIiBkeT0iMCIgcmVzdWx0PSJvZmZzZXRibHVyIiAvPgoKCQkJCQk8ZmVGbG9vZCBmbG9vZC1jb2xvcj0iI2VlZSIgcmVzdWx0PSJjb2xvciIgLz4KCgkJCQkJPGZlQ29tcG9zaXRlIGluMj0ib2Zmc2V0Ymx1ciIgb3BlcmF0b3I9ImluIiAvPgoJCQkJCTxmZUNvbXBvc2l0ZSBpbjI9IlNvdXJjZUFscGhhIiBvcGVyYXRvcj0iaW4iIC8+CgoJCQkJCTxmZU1lcmdlPgoJCQkJCQk8ZmVNZXJnZU5vZGUgaW49IlNvdXJjZUdyYXBoaWMiIC8+CgkJCQkJCTxmZU1lcmdlTm9kZSAvPgoJCQkJCQk8ZmVNZXJnZU5vZGUgLz4KCQkJCQkJPGZlTWVyZ2VOb2RlIC8+CgkJCQkJCTxmZU1lcmdlTm9kZSAvPgoJCQkJCTwvZmVNZXJnZT4KCQkJCTwvZmlsdGVyPgogICAgPC9kZWZzPgoKICAgIDxyZWN0IHdpZHRoPSI0OCIgaGVpZ2h0PSIzMiIgZmlsbD0ndHJhbnNwYXJlbnQnIHN0cm9rZT0iI2ZmMDBmZiIgc3Ryb2tlLXdpZHRoPSIxIiBzdHJva2UtZGFzaGFycmF5PSIxMiA0IDIgNCIgLz4KCjwvc3ZnPgo="});var XIt=xe((u5s,uki)=>{var h0=[];h0.push(".icon-eda-x-circle_QaYaR.clear-input-circle_0meGT{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.panel-layer-main_3htwA [data-check-editable=true]{cursor:pointer}.panel-layer-main_3htwA [data-controlitem=toggle-name]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;text-indent:1em}.panel-layer-main_3htwA [data-controlitem=toggle-locked]{width:32px}.layer-pattern-background_Vr66G{background-position:50%;background-size:100% 100%;height:20px;width:38px}.opacity-layer_8MLCK{background-image:");h0.push("url(");h0.push(JSON.stringify(cmt()));h0.push(")");h0.push("}.bun-layer_qI5Mw{background-image:");h0.push("url(");h0.push(JSON.stringify(dki()));h0.push(")");h0.push("}.board-layer_wvClV{background-image:");h0.push("url(");h0.push(JSON.stringify(dmt()));h0.push(")");h0.push("}.boardhole-layer_oGKq3{background-image:");h0.push("url(");h0.push(JSON.stringify(umt()));h0.push(")");h0.push("}.gluehole-layer_VBDa0{background-image:");h0.push("url(");h0.push(JSON.stringify(pmt()));h0.push(")");h0.push("}.btn-style_OhOvz{width:32px;-webkit-box-flex:0;-webkit-flex:0 0 32px;-moz-box-flex:0;cursor:pointer;flex:0 0 32px;height:inherit;text-align:center}.btn-span-style_HHL8B{height:16px;width:16px}.layer-panel-table_gqfvG{border-collapse:collapse;overflow-x:hidden;width:100%}.layer-panel-row_MzRnz{height:24px}.visible-eye-tag_HZPqd{background-image:");h0.push("url(");h0.push(JSON.stringify(s3()));h0.push(")");h0.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.hidden-eye-tag_XJAt6,.visible-eye-tag_HZPqd{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;position:relative}.hidden-eye-tag_XJAt6{background-image:");h0.push("url(");h0.push(JSON.stringify(Jx()));h0.push(")");h0.push(";-webkit-filter:invert(58%) sepia(5%) saturate(2%) hue-rotate(90deg) brightness(92%) contrast(83%);filter:invert(58%) sepia(5%) saturate(2%) hue-rotate(90deg) brightness(92%) contrast(83%)}.current-toggle-btn_mDfh5{height:100%;width:24px}.unlock-toggle-btn_upjti,.visible-toggle-btn_AVmlO{width:32px;-webkit-box-flex:0;-webkit-flex:0 0 32px;-moz-box-flex:0;cursor:pointer;flex:0 0 32px;height:inherit;text-align:center}.unlock-toggle-btn_upjti span{height:16px;width:16px}.locked-toggle-btn_xNhX-{width:32px;-webkit-box-flex:0;-webkit-flex:0 0 32px;-moz-box-flex:0;cursor:pointer;flex:0 0 32px;height:inherit;text-align:center}.locked-toggle-btn_xNhX- span{height:16px;width:16px}");h0=h0.join("");uki.exports={uuid:"66dee831-1443-426e-b9d5-6d661d072ed5",locals:{"icon-eda-x-circle":"icon-eda-x-circle_QaYaR","clear-input-circle":"clear-input-circle_0meGT","panel-layer-main":"panel-layer-main_3htwA","layer-pattern-background":"layer-pattern-background_Vr66G","opacity-layer":"opacity-layer_8MLCK","bun-layer":"bun-layer_qI5Mw","board-layer":"board-layer_wvClV","boardhole-layer":"boardhole-layer_oGKq3","gluehole-layer":"gluehole-layer_VBDa0","btn-style":"btn-style_OhOvz","btn-span-style":"btn-span-style_HHL8B","layer-panel-table":"layer-panel-table_gqfvG","layer-panel-row":"layer-panel-row_MzRnz","visible-eye-tag":"visible-eye-tag_HZPqd","hidden-eye-tag":"hidden-eye-tag_XJAt6","current-toggle-btn":"current-toggle-btn_mDfh5","unlock-toggle-btn":"unlock-toggle-btn_upjti","visible-toggle-btn":"visible-toggle-btn_AVmlO","locked-toggle-btn":"locked-toggle-btn_xNhX-"},toString(){return h0}}});var Dki=xe((zMs,wTr)=>{wTr.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGNpcmNsZSBjeD0iMTUuNSIgY3k9IjguNSIgcj0iMC41Ii8+CjxjaXJjbGUgY3g9IjEzLjUiIGN5PSI4LjUiIHI9IjAuNSIvPgo8Y2lyY2xlIGN4PSIxMS41IiBjeT0iOC41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iOS41IiBjeT0iOC41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iNy41IiBjeT0iOC41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iNS41IiBjeT0iOC41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iMy41IiBjeT0iOC41IiByPSIwLjUiLz4KPGNpcmNsZSBjeD0iMS41IiBjeT0iOC41IiByPSIwLjUiLz4KPC9zdmc+Cg=="});var oLt=xe((FMs,Eki)=>{var Kd=[];Kd.push('.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-content-wrapper_yqLyT{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-content-wrapper_yqLyT>div{overflow:auto;width:100%}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-content-wrapper_yqLyT .comm-btn-operate-link_BiNTF{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-content-wrapper_yqLyT .comm-btn-height_bEMRK{height:22px}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-content-wrapper_yqLyT .comm-btn-text_9KYEW{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-content-wrapper_yqLyT .margin-btn_0-7U5{margin-bottom:16px}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-content-wrapper_yqLyT .margin-top_P41VX{margin-top:16px}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-content-wrapper_yqLyT input.dialog-input_qrC-W{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-content-wrapper_yqLyT input.dialog-input_qrC-W:not([disabled]){color:var(--font-color-input)}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-content-wrapper_yqLyT select.dialog-input_qrC-W{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-content-wrapper_yqLyT select.dialog-input_qrC-W:not([disabled]){color:var(--font-color-input)}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-content-wrapper_yqLyT textarea.dialog-input_qrC-W{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-content-wrapper_yqLyT .device-property-key_0OJHN{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-content-wrapper_yqLyT .attrs-select-wrap_BTIZo{padding-left:8px}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-footer-wrapper_8wgjQ{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-footer-wrapper_8wgjQ .comm-btn_Z8sNd{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-footer-wrapper_8wgjQ .comm-btn_Z8sNd:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-footer-wrapper_8wgjQ .comm-btn_Z8sNd.comm-btn-default_x2YaQ{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-footer-wrapper_8wgjQ .comm-btn_Z8sNd.comm-btn-default_x2YaQ:hover{border-color:#1890ff}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-footer-wrapper_8wgjQ .comm-btn_Z8sNd .l-btn-left_cSD8H{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-footer-wrapper_8wgjQ .comm-btn-left_VmeVJ{left:28px;position:absolute}.pop-content-container_mZ96x:not(.oneLineOneInputDlg_VYpNW) .pop-footer-wrapper_8wgjQ .grid-export_zyUus .comm-btn_Z8sNd:last-child{margin-left:8px}.pop-content-container_mZ96x *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_mZ96x label{position:relative}.pop-content-wrapper_yqLyT a.route-link_EqUF3,.pop-content-wrapper_yqLyT a.route-link_EqUF3:active,.pop-content-wrapper_yqLyT a.route-link_EqUF3:visited{color:#00e}div[user-resizable] .window-body_4nodg>.panel_CWZK6,div[user-resizable] .window-header_rLUfD{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_4nodg>.panel_CWZK6{height:100%!important}div[user-resizable] .window-body_4nodg .dialog-content_ydAKI{height:100%!important;width:100%!important}.import-changes-panel_ZvXVq .import-changes-table_lgUzr{height:400px;line-height:"1.5em";overflow:"hidden"}.import-changes-panel_ZvXVq .tree-node_KTsRD{height:25px}.import-changes-panel_ZvXVq .tree-expanded_-bMDs{background:');Kd.push("url(");Kd.push(JSON.stringify(Ow()));Kd.push(")");Kd.push(" no-repeat}.import-changes-panel_ZvXVq .tree-collapsed_ERA9h,.import-changes-panel_ZvXVq .tree-expanded_-bMDs{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:16px;vertical-align:middle;width:25px}.import-changes-panel_ZvXVq .tree-collapsed_ERA9h{background:");Kd.push("url(");Kd.push(JSON.stringify(qx()));Kd.push(")");Kd.push(" no-repeat}.import-changes-panel_ZvXVq .tree-join_JO6fg{background-image:");Kd.push("url(");Kd.push(JSON.stringify($ce()));Kd.push(")");Kd.push(";-webkit-filter:invert(.2);filter:invert(.2)}.import-changes-panel_ZvXVq .tree-join_JO6fg,.import-changes-panel_ZvXVq .tree-join-bottom_BekG4{background-position:50%;background-repeat:no-repeat;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:25px;width:25px}.import-changes-panel_ZvXVq .tree-join-bottom_BekG4{background-image:");Kd.push("url(");Kd.push(JSON.stringify(GAe()));Kd.push(")");Kd.push("}.import-changes-panel_ZvXVq .tree-line_YtbrV{background-image:");Kd.push("url(");Kd.push(JSON.stringify(Dki()));Kd.push(")");Kd.push(";background-position:50%;background-repeat:no-repeat;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:25px;width:18px}.import-changes-panel_ZvXVq .tree-checkbox0_3HmOV{background:");Kd.push("url(");Kd.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAIAAACQKrqGAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAEXRFWHRTb2Z0d2FyZQBTbmlwYXN0ZV0Xzt0AAABPSURBVCiR7dKhEcAwDENRJ0zce3j/DUQ9h80FW1pSX0hZP34npCUpMyXZewAiwkhW1TVWVSS3JHcfJs3M3SXtGT376UcUQHfPqLsBrPO73LX5RfebGZ/gAAAAAElFTkSuQmCC"');Kd.push(")");Kd.push(" no-repeat}.import-changes-panel_ZvXVq .tree-checkbox1_8hjeM{background:");Kd.push("url(");Kd.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAIAAACQKrqGAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAEXRFWHRTb2Z0d2FyZQBTbmlwYXN0ZV0Xzt0AAADHSURBVCiRjdKxCoIAFIXhX5dAB0HIGtwaQ+gJ2twaggZpaGxW6EWac3QyEBoaAjcfQgJpCzSEoKGgyYYCsUi92718HM5whfOtmGzJ7tRMV8KfIhibIn/Uuff0ZcQ2DsjuiK0gQC1dzkhtIrORjljpcGUcNtG1gQK+11jAxFJJYpzGrsEAnnhh5VjSyCZdfFoOOyQnXP5Q7wwqxxlrA+UnskLdAP+KomOp3PLvSEDUpHJxPBIADsG368kIcV7Md1xq30WT2Fu8APdTN4xe593qAAAAAElFTkSuQmCC"');Kd.push(")");Kd.push(" no-repeat}.import-changes-panel_ZvXVq .tree-checkbox2_SGlIq{background:");Kd.push("url(");Kd.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAIAAACQKrqGAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAEXRFWHRTb2Z0d2FyZQBTbmlwYXN0ZV0Xzt0AAAA2SURBVCiRY5SY8J+BOMBEpDqaKWVBMA0Ybtgz8CPJ3b7GYLeb1g4YcKVIIXCBQeMC/R1AglIAeqoHjxHifDQAAAAASUVORK5CYII="');Kd.push(")");Kd.push(' no-repeat}.import-changes-panel_ZvXVq .tree-icon_s34VP{display:none}.import-changes-panel_ZvXVq .tree-hit_fxxLG,.import-changes-panel_ZvXVq .tree-hit2_JuNre{background-size:100% 100%;display:inline-block;vertical-align:middle}.import-changes-panel_ZvXVq .notice-line_5YoYy{display:inline-block;margin-left:4px;vertical-align:middle}.import-changes-panel_ZvXVq .text-ellipsis_OTkd5{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.import-changes-panel_ZvXVq .import-options_lNXDV{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:24px;line-height:24px;margin:0 0 16px;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.import-changes-panel_ZvXVq .import-options_lNXDV .group-option_GSShC .option-span_Klfhy{display:inline-block;margin:0 15px 0 5px}.import-changes-panel_ZvXVq .import-options_lNXDV .design-rules-option_V-e61{margin-right:10px}.import-changes-panel_ZvXVq .import-options_lNXDV .filter-option_vu2hv{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;line-height:24px}.import-changes-panel_ZvXVq .import-options_lNXDV .filter-option_vu2hv .filter-input_5qYn6{width:380px}.import-changes-panel_ZvXVq .import-options_lNXDV .filter-option_vu2hv .option-span_Klfhy{display:inline-block;margin:0 5px 0 0}.import-changes-panel_ZvXVq .th-cell_ziWFC{height:25px;width:100%}.import-changes-panel_ZvXVq .th-cell_ziWFC,.import-changes-panel_ZvXVq .th-cell__sort_5MzjE{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.import-changes-panel_ZvXVq .th-cell__sort_5MzjE{height:20px;width:20px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.import-changes-panel_ZvXVq .th-cell__sort--asc_tfFgO{cursor:pointer;height:10px;position:relative;width:12px}.import-changes-panel_ZvXVq .th-cell__sort--asc_tfFgO:before{border:6px solid transparent;border-bottom-color:#ccc;bottom:1px;content:"";height:0;left:0;position:absolute;width:0}.import-changes-panel_ZvXVq .th-cell__sort--asc-status_RJno4:before{border-bottom-color:#1890ff}.import-changes-panel_ZvXVq .th-cell__sort--desc_o48iY{cursor:pointer;height:10px;position:relative;width:12px}.import-changes-panel_ZvXVq .th-cell__sort--desc_o48iY:before{border:6px solid transparent;border-top-color:#ccc;content:"";height:0;left:0;position:absolute;top:1px;width:0}.import-changes-panel_ZvXVq .th-cell__sort--desc-status_mEZb0:before{border-top-color:#1890ff}');Kd=Kd.join("");Eki.exports={uuid:"462f9fbd-0c0a-44e6-9a74-37edd14c4fea",locals:{"pop-content-container":"pop-content-container_mZ96x",oneLineOneInputDlg:"oneLineOneInputDlg_VYpNW","pop-content-wrapper":"pop-content-wrapper_yqLyT","comm-btn-operate-link":"comm-btn-operate-link_BiNTF","comm-btn-height":"comm-btn-height_bEMRK","comm-btn-text":"comm-btn-text_9KYEW","margin-btn":"margin-btn_0-7U5","margin-top":"margin-top_P41VX","dialog-input":"dialog-input_qrC-W","device-property-key":"device-property-key_0OJHN","attrs-select-wrap":"attrs-select-wrap_BTIZo","pop-footer-wrapper":"pop-footer-wrapper_8wgjQ","comm-btn":"comm-btn_Z8sNd","comm-btn-default":"comm-btn-default_x2YaQ","l-btn-left":"l-btn-left_cSD8H","comm-btn-left":"comm-btn-left_VmeVJ","grid-export":"grid-export_zyUus","route-link":"route-link_EqUF3","window-body":"window-body_4nodg",panel:"panel_CWZK6","window-header":"window-header_rLUfD","dialog-content":"dialog-content_ydAKI","import-changes-panel":"import-changes-panel_ZvXVq","import-changes-table":"import-changes-table_lgUzr","tree-node":"tree-node_KTsRD","tree-expanded":"tree-expanded_-bMDs","tree-collapsed":"tree-collapsed_ERA9h","tree-join":"tree-join_JO6fg","tree-join-bottom":"tree-join-bottom_BekG4","tree-line":"tree-line_YtbrV","tree-checkbox0":"tree-checkbox0_3HmOV","tree-checkbox1":"tree-checkbox1_8hjeM","tree-checkbox2":"tree-checkbox2_SGlIq","tree-icon":"tree-icon_s34VP","tree-hit":"tree-hit_fxxLG","tree-hit2":"tree-hit2_JuNre","notice-line":"notice-line_5YoYy","text-ellipsis":"text-ellipsis_OTkd5","import-options":"import-options_lNXDV","group-option":"group-option_GSShC","option-span":"option-span_Klfhy","design-rules-option":"design-rules-option_V-e61","filter-option":"filter-option_vu2hv","filter-input":"filter-input_5qYn6","th-cell":"th-cell_ziWFC","th-cell__sort":"th-cell__sort_5MzjE","th-cell__sort--asc":"th-cell__sort--asc_tfFgO","th-cell__sort--asc-status":"th-cell__sort--asc-status_RJno4","th-cell__sort--desc":"th-cell__sort--desc_o48iY","th-cell__sort--desc-status":"th-cell__sort--desc-status_mEZb0"},toString(){return Kd}}});var Wki=xe((MLs,RTr)=>{RTr.exports="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTYgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTUgNWgydjJoLTJ6bTAtNGgydjJoLTJ6bTQgNGgydjJoLTJ6bTAtNGgydjJoLTJ6bS00IDhoMnYyaC0yem0wIDRoMnYyaC0yem00LTRoMnYyaC0yem0wIDRoMnYyaC0yeiIgZmlsbC1ydWxlPSJldmVub2RkIj48L3BhdGg+PC9zdmc+"});var Kki=xe((ILs,Qki)=>{var xq=[];xq.push(".drag-select_Xeu91{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;padding:4px 0}.drag-select_Xeu91,.drag-select_Xeu91 .drag-select-item_7j7yP{-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%}.drag-select_Xeu91 .drag-select-item_7j7yP{height:22px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background-color:var(--bg-color-1-table-row);color:var(--font-color-table);font-size:12px;padding-right:4px}.drag-select_Xeu91 .drag-select-item_7j7yP:hover{background-color:var(--bg-color-hover-tr);color:#096dd9}.drag-select_Xeu91 .drag-select-item_7j7yP .icon-drag-point_J91I9{background-image:");xq.push("url(");xq.push(JSON.stringify(Wki()));xq.push(")");xq.push(';background-position:50%;background-repeat:no-repeat;background-size:16px 16px;cursor:move;-webkit-filter:var(--icon-color-hover-tr);filter:var(--icon-color-hover-tr);height:24px;padding:0 4px;width:16px}.drag-select_Xeu91 .drag-select-item_7j7yP .drag-select-text_Qyapk{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;height:100%;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;cursor:pointer;flex:1;padding-left:4px}.drag-select_Xeu91 .drag-select-item_7j7yP.dragging_TnaME{background-color:var(--bg-color-selected-tr);color:#096dd9;position:relative}.drag-select_Xeu91 .drag-select-item_7j7yP.dragging_TnaME:before{background-color:#58f;content:"";height:100%;left:0;position:absolute;top:0;width:2px}.drag-select_Xeu91 .drag-select-item_7j7yP.disabled_CoyJk{color:#a0a0a0}.drag-select_Xeu91 .drag-select-item_7j7yP.disabled_CoyJk .icon-drag-point_J91I9{cursor:default;-webkit-filter:gray;filter:gray;opacity:.5}.drag-select_Xeu91 .drag-select-item_7j7yP.disabled_CoyJk .drag-select-text_Qyapk{cursor:default}.drag-select_Xeu91 .drag-select-item_7j7yP.disabled_CoyJk:hover{background-color:#f3f3f3!important}.drag-select-mask-container_vuKzp{height:100%;left:0;position:fixed;top:0;width:100%;z-index:100000000}');xq=xq.join("");Qki.exports={uuid:"586a273b-2cc2-463a-b6c4-83980457bf3c",locals:{"drag-select":"drag-select_Xeu91","drag-select-item":"drag-select-item_7j7yP","icon-drag-point":"icon-drag-point_J91I9","drag-select-text":"drag-select-text_Qyapk",dragging:"dragging_TnaME",disabled:"disabled_CoyJk","drag-select-mask-container":"drag-select-mask-container_vuKzp"},toString(){return xq}}});var d9i=xe((lDs,c9i)=>{var pHe=[];pHe.push(".contentContainer_2T6F6{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;justify-content:center;padding:16px}.rowContainer_9WJNx{margin-top:10px;padding-bottom:10px}.rowContainer_9WJNx .rowInput_AD7lA{height:22px;padding:0 8px;width:200px}.buttonContainer_ujvGv{bottom:10%;position:absolute;right:10%}");pHe=pHe.join("");c9i.exports={uuid:"096dbc64-d837-497f-aa68-9d7e760c7603",locals:{contentContainer:"contentContainer_2T6F6",rowContainer:"rowContainer_9WJNx",rowInput:"rowInput_AD7lA",buttonContainer:"buttonContainer_ujvGv"},toString(){return pHe}}});var y9i=xe((LDs,b9i)=>{var hHe=[];hHe.push(".pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-content-wrapper_ImH2c{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-content-wrapper_ImH2c>div{overflow:auto;width:100%}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-content-wrapper_ImH2c .comm-btn-operate-link_9J1jM{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-content-wrapper_ImH2c .comm-btn-height_NMAJ1{height:22px}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-content-wrapper_ImH2c .comm-btn-text_dtumQ{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-content-wrapper_ImH2c .margin-btn_eVXFb{margin-bottom:16px}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-content-wrapper_ImH2c .margin-top_DrwEb{margin-top:16px}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-content-wrapper_ImH2c input.dialog-input_Bc2ay{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-content-wrapper_ImH2c input.dialog-input_Bc2ay:not([disabled]){color:var(--font-color-input)}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-content-wrapper_ImH2c select.dialog-input_Bc2ay{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-content-wrapper_ImH2c select.dialog-input_Bc2ay:not([disabled]){color:var(--font-color-input)}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-content-wrapper_ImH2c textarea.dialog-input_Bc2ay{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-content-wrapper_ImH2c .device-property-key_Kk9cU{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-content-wrapper_ImH2c .attrs-select-wrap_LLaBs{padding-left:8px}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-footer-wrapper_pnnHH{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-footer-wrapper_pnnHH .comm-btn_HaU7l{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-footer-wrapper_pnnHH .comm-btn_HaU7l:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-footer-wrapper_pnnHH .comm-btn_HaU7l.comm-btn-default_D94uY{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-footer-wrapper_pnnHH .comm-btn_HaU7l.comm-btn-default_D94uY:hover{border-color:#1890ff}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-footer-wrapper_pnnHH .comm-btn_HaU7l .l-btn-left_cKbXZ{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-footer-wrapper_pnnHH .comm-btn-left_n5ehY{left:28px;position:absolute}.pop-content-container_xDOu0:not(.oneLineOneInputDlg_ArEiS) .pop-footer-wrapper_pnnHH .grid-export_5EqoW .comm-btn_HaU7l:last-child{margin-left:8px}.pop-content-container_xDOu0 *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_xDOu0 label{position:relative}.pop-content-wrapper_ImH2c a.route-link_Zjnmk,.pop-content-wrapper_ImH2c a.route-link_Zjnmk:active,.pop-content-wrapper_ImH2c a.route-link_Zjnmk:visited{color:#00e}div[user-resizable] .window-body_pmipA>.panel_6lFra,div[user-resizable] .window-header_MlXHZ{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_pmipA>.panel_6lFra{height:100%!important}div[user-resizable] .window-body_pmipA .dialog-content_UGa7T{height:100%!important;width:100%!important}.comm-fittinginput-container_jWtrA{height:100%;width:100%}.comm-fittinginput-container_jWtrA .comm-fittinginput-wrapper_T8IQv{border:1px solid var(--common-border-color);border-radius:2px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;box-align:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;box-pack:justify;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;background-color:var(--bg-color-input);-webkit-flex-wrap:nowrap!important;flex-wrap:nowrap!important;height:24px;justify-content:space-between;overflow:hidden}.comm-fittinginput-container_jWtrA .comm-fittinginput-wrapper_T8IQv:focus-within{background-color:var(--bg-color-focus-input)!important;border-color:var(--border-color-focus-input)}.comm-fittinginput-container_jWtrA .comm-fittinginput-wrapper_T8IQv .comm-fittinginput-input_wbWnA{border:0;line-height:24px;margin:0;min-width:50px;outline:0;padding:0 5px 0 10px;width:100%}.comm-fittinginput-container_jWtrA .comm-fittinginput-wrapper_T8IQv .comm-fittinginput-clear_MA3zM{cursor:pointer;padding:1px 5px 0 0}.comm-fittinginput-container_jWtrA .comm-fittinginput-wrapper_T8IQv .comm-fittinginput-clear-hidden_fEccN{display:none}.comm-fittinginput-container_jWtrA .comm-fittinginput-wrapper_T8IQv .comm-fittinginput-clear_MA3zM:hover{color:#1890ff}.comm-fittinginput-container_jWtrA .comm-fittinginput-wrapper_T8IQv .comm-fittinginput-search_ptCr-{cursor:pointer;padding:4px 5px 0 0}.comm-fittinginput-container_jWtrA .comm-fittinginput-wrapper_T8IQv .comm-fittinginput-search-hidden_UU3C3{display:none}.comm-fittinginput-container_jWtrA .comm-fittinginput-wrapper_T8IQv .comm-fittinginput-search_ptCr-:hover{color:#1890ff}.comm-fittinginput-container_jWtrA .comm-fittinginput-wrapper_T8IQv .comm-fittinginput-last_G44I8{height:22px}.comm-fittinginput-container_jWtrA .comm-fittinginput-wrapper_T8IQv .comm-fittinginput-last_G44I8 .last_UPk0u{background-position:50%;cursor:pointer;display:inline-block;height:22px;width:22px}.comm-fittinginput-container_jWtrA .comm-fittinginput-wrapper_T8IQv .disable_28BD3{-webkit-filter:invert(55%) sepia(0) saturate(7448%) hue-rotate(101deg) brightness(138%) contrast(99%);filter:invert(55%) sepia(0) saturate(7448%) hue-rotate(101deg) brightness(138%) contrast(99%)}.comm-fittinginput-container_jWtrA .comm-fittinginput-wrapper_T8IQv .disable_28BD3 i{cursor:not-allowed!important}.comm-fittinginput-container_jWtrA .comm-fittinginput-wrapper_T8IQv .comm-fittinginput-next_WYmb2{height:22px}.comm-fittinginput-container_jWtrA .comm-fittinginput-wrapper_T8IQv .comm-fittinginput-next_WYmb2 .next_ehRij{background-position:50%;cursor:pointer;display:inline-block;height:22px;width:22px}.comm-fittinginput-container_jWtrA .filter-search_-gCCQ{width:-webkit-calc(100% - 52px);width:-moz-calc(100% - 52px);width:calc(100% - 52px)}.comm-fittinginput-container_jWtrA .active_sDF16{background-color:#e6f7ff}.comm-fittinginput-container_jWtrA .icon_JEgzS{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;border:1px solid var(--border-color-panel-divider);border-right:none;cursor:pointer;display:inline-block;-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);height:24px;width:24px}.comm-fittinginput-container_jWtrA .icon-eda-filter_RncPk{border-radius:0 2px 2px 0;border-right:1px solid var(--border-color-panel-divider)}.comm-fittinginput-container_jWtrA .icon-eda-zoom_-4-tw{border-radius:2px 0 0 2px}.comm-fittinginput-container_jWtrA .comm-fittinginput-wrapper-active_P4Qq8{border:1px solid #1890ff}.comm-fittinginput-container-panel_i-qWm,.export-ipc2581c-file_0OOes{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.export-ipc2581c-file_0OOes{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;border:1px solid var(--common-border-color);height:100%;justify-content:center;margin-bottom:20px;padding:30px;width:100%}.export-ipc2581c-file_0OOes .export-ipc2581c-container_XtcW6{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;padding-left:40px}.export-ipc2581c-file_0OOes .export-ipc2581c-container_XtcW6>span{cursor:default;display:inline-block;width:75px}.export-ipc2581c-file_0OOes .export-ipc2581c-container_XtcW6 input{width:65%}.export-ipc2581c-file_0OOes .export-ipc2581c-container_XtcW6 .xml_fj-Qf{background-color:var(--bg-color-disabled-input);border-left:none;border:1px solid var(--border-color-disabled-input);cursor:default;display:block;height:24px;line-height:24px;text-align:center;width:10%}.export-ipc2581c-file_0OOes .export-ipc2581c-container_XtcW6 label{margin-right:32px}");hHe=hHe.join("");b9i.exports={uuid:"9c4cd31a-9758-4b90-9eca-b9a5455a1ec7",locals:{"pop-content-container":"pop-content-container_xDOu0",oneLineOneInputDlg:"oneLineOneInputDlg_ArEiS","pop-content-wrapper":"pop-content-wrapper_ImH2c","comm-btn-operate-link":"comm-btn-operate-link_9J1jM","comm-btn-height":"comm-btn-height_NMAJ1","comm-btn-text":"comm-btn-text_dtumQ","margin-btn":"margin-btn_eVXFb","margin-top":"margin-top_DrwEb","dialog-input":"dialog-input_Bc2ay","device-property-key":"device-property-key_Kk9cU","attrs-select-wrap":"attrs-select-wrap_LLaBs","pop-footer-wrapper":"pop-footer-wrapper_pnnHH","comm-btn":"comm-btn_HaU7l","comm-btn-default":"comm-btn-default_D94uY","l-btn-left":"l-btn-left_cKbXZ","comm-btn-left":"comm-btn-left_n5ehY","grid-export":"grid-export_5EqoW","route-link":"route-link_Zjnmk","window-body":"window-body_pmipA",panel:"panel_6lFra","window-header":"window-header_MlXHZ","dialog-content":"dialog-content_UGa7T","comm-fittinginput-container":"comm-fittinginput-container_jWtrA","comm-fittinginput-wrapper":"comm-fittinginput-wrapper_T8IQv","comm-fittinginput-input":"comm-fittinginput-input_wbWnA","comm-fittinginput-clear":"comm-fittinginput-clear_MA3zM","comm-fittinginput-clear-hidden":"comm-fittinginput-clear-hidden_fEccN","comm-fittinginput-search":"comm-fittinginput-search_ptCr-","comm-fittinginput-search-hidden":"comm-fittinginput-search-hidden_UU3C3","comm-fittinginput-last":"comm-fittinginput-last_G44I8",last:"last_UPk0u",disable:"disable_28BD3","comm-fittinginput-next":"comm-fittinginput-next_WYmb2",next:"next_ehRij","filter-search":"filter-search_-gCCQ",active:"active_sDF16",icon:"icon_JEgzS","icon-eda-filter":"icon-eda-filter_RncPk","icon-eda-zoom":"icon-eda-zoom_-4-tw","comm-fittinginput-wrapper-active":"comm-fittinginput-wrapper-active_P4Qq8","comm-fittinginput-container-panel":"comm-fittinginput-container-panel_i-qWm","export-ipc2581c-file":"export-ipc2581c-file_0OOes","export-ipc2581c-container":"export-ipc2581c-container_XtcW6",xml:"xml_fj-Qf"},toString(){return hHe}}});var C9i=xe((NDs,w9i)=>{var gHe=[];gHe.push(".lc_btn_rRNjH{border:1px solid transparent;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px;height:28px;line-height:28px;min-width:96px;outline:none;padding:0 10px;text-align:center;text-decoration:none}.lc_btn__type_default_RuHGh{background-color:var(--bg-color-button);border-color:var(--border-color-button);color:var(--font-color-button)}.lc_btn__type_default_RuHGh:hover{border-color:var(--border-color-hover-button);color:var(--font-color-hover-button)}.lc_btn__type_default_disabled_n9rb0{color:#c0c4cc!important;cursor:not-allowed!important;pointer-events:none!important}.lc_btn__type_default_readonly_gTtzr{color:#c0c4cc!important;cursor:default!important;pointer-events:none!important}.lc_btn__type_primary_60yAu{background-color:#1890ff;border-color:#1890ff;color:#fff}.lc_btn__type_primary_60yAu:hover{background-color:#40a9ff;border-color:#40a9ff}.lc_btn__type_primary_disabled_3Z8cz{background-color:#d9d9d9!important;border:1px solid #d9d9d9!important;color:#fff!important;cursor:not-allowed!important;pointer-events:none!important}.lc_btn__type_primary_readonly_tR1Bm{color:#c0c4cc!important;cursor:default!important;pointer-events:none!important}.lc_btn__type_danger_XZF9S{background-color:#fd4f54;border-color:#fd4f54;color:#fff}.lc_btn__type_danger_XZF9S:hover{background-color:#fd7978;border-color:#fd7978}.lc_btn__type_danger_disabled_egJ8C{background-color:#d9d9d9!important;border-color:#d9d9d9!important;color:#bfbfbf!important;cursor:default!important}.lc_btn__type_danger_readonly_TTPeI{color:#c0c4cc!important}.lc_btn__type_danger_readonly_TTPeI,.lc_btn__type_forbidden_Ugnd7{cursor:default!important;pointer-events:none!important}.lc_btn__type_forbidden_Ugnd7{background-color:#c4c4c5!important;border-color:#c4c4c5!important;color:#fff!important}");gHe=gHe.join("");w9i.exports={uuid:"d94fad5e-c29d-4090-9e21-ca772f7f6738",locals:{lc_btn:"lc_btn_rRNjH",lc_btn__type_default:"lc_btn__type_default_RuHGh",lc_btn__type_default_disabled:"lc_btn__type_default_disabled_n9rb0",lc_btn__type_default_readonly:"lc_btn__type_default_readonly_gTtzr",lc_btn__type_primary:"lc_btn__type_primary_60yAu",lc_btn__type_primary_disabled:"lc_btn__type_primary_disabled_3Z8cz",lc_btn__type_primary_readonly:"lc_btn__type_primary_readonly_tR1Bm",lc_btn__type_danger:"lc_btn__type_danger_XZF9S",lc_btn__type_danger_disabled:"lc_btn__type_danger_disabled_egJ8C",lc_btn__type_danger_readonly:"lc_btn__type_danger_readonly_TTPeI",lc_btn__type_forbidden:"lc_btn__type_forbidden_Ugnd7"},toString(){return gHe}}});var uPi=xe((VPs,dPi)=>{var DHe=[];DHe.push(".drawing_width_height_X1-50{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin:0 8px 8px;min-height:24px}.drawing_width_height_X1-50,.drawing_width_height_X1-50 .key_section_tKnbz{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.drawing_width_height_X1-50 .key_section_tKnbz{height:100%;overflow:hidden;width:50%}.drawing_width_height_X1-50 .key_section_tKnbz .keys_XuWkN{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.drawing_width_height_X1-50 .key_section_tKnbz .keys_XuWkN .one_key_gu2hS{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:24px}.drawing_width_height_X1-50 .key_section_tKnbz .keys_XuWkN .one_key_gu2hS .checkbox_W4oy-{float:left;height:100%;margin-right:4px;max-width:14px;min-width:14px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.drawing_width_height_X1-50 .key_section_tKnbz .keys_XuWkN .one_key_gu2hS .key_text_Gtd4D{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.drawing_width_height_X1-50 .key_section_tKnbz .keys_XuWkN .one_key_gu2hS .key_text_Gtd4D,.drawing_width_height_X1-50 .value_section_xPOH4{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.drawing_width_height_X1-50 .value_section_xPOH4{height:100%;text-align:left;width:50%;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-moz-box-sizing:border-box;box-sizing:border-box;flex:1;position:relative}.drawing_width_height_X1-50 .value_section_xPOH4 .values_A0gzn{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.drawing_width_height_X1-50 .value_section_xPOH4 .values_A0gzn,.drawing_width_height_X1-50 .value_section_xPOH4 .values_A0gzn .input_section_V4oB6{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.drawing_width_height_X1-50 .value_section_xPOH4 .values_A0gzn .input_section_V4oB6 .checkbox_W4oy-{display:inline-block;height:100%;margin-right:4px;max-width:14px;min-width:14px}.drawing_width_height_X1-50 .icon_9eVJP{background-repeat:no-repeat;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);max-height:16px;max-width:16px;min-height:16px;min-width:16px;position:relative}");DHe=DHe.join("");dPi.exports={uuid:"fba20b3e-f71b-4bd8-b4b8-47a1d968ef10",locals:{drawing_width_height:"drawing_width_height_X1-50",key_section:"key_section_tKnbz",keys:"keys_XuWkN",one_key:"one_key_gu2hS",checkbox:"checkbox_W4oy-",key_text:"key_text_Gtd4D",value_section:"value_section_xPOH4",values:"values_A0gzn",input_section:"input_section_V4oB6",icon:"icon_9eVJP"},toString(){return DHe}}});var yPi=xe((XPs,bPi)=>{var AHe=[];AHe.push(".edit_drawing_FTe1j{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;width:100%}.edit_drawing_FTe1j .icon_EWKBa{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:16px;min-width:16px}");AHe=AHe.join("");bPi.exports={uuid:"10829694-bf41-452b-8152-0b8ecbc88afa",locals:{edit_drawing:"edit_drawing_FTe1j",icon:"icon_EWKBa"},toString(){return AHe}}});var TPi=xe((uOs,xPi)=>{var NHe=[];NHe.push(".triangle_STnZf{border-color:#39f #39f transparent transparent;border-style:solid;border-width:5px}.triangle_STnZf,.triangle_black_VCsQX{height:0;position:absolute;right:0;top:0;width:0}.triangle_black_VCsQX{border-color:#000 #000 transparent transparent;border-style:solid;border-width:5px}.assembly_M5LT6{border:5px solid #f60}.assembly_M5LT6,.assembly_black_gBm4n{height:0;position:absolute;right:0;top:0;width:0}.assembly_black_gBm4n{border:5px solid var(--border-color-assembly_black)}");NHe=NHe.join("");xPi.exports={uuid:"fa54ebe5-8be5-4fe5-a60d-0195f4f5d520",locals:{triangle:"triangle_STnZf",triangle_black:"triangle_black_VCsQX",assembly:"assembly_M5LT6",assembly_black:"assembly_black_gBm4n"},toString(){return NHe}}});var VPi=xe((QOs,UPi)=>{var OHe=[];OHe.push(".property_panel_mp9pO{background-color:var(--bg-color-panel);height:100%;overflow-x:hidden}");OHe=OHe.join("");UPi.exports={uuid:"eaa526a6-8547-4c17-bcdc-b8a44b7c1775",locals:{property_panel:"property_panel_mp9pO"},toString(){return OHe}}});var QPi=xe((BRs,WPi)=>{var BHe=[];BHe.push(".vector_input_main_MM1-C{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%}");BHe=BHe.join("");WPi.exports={uuid:"6e5b9cb0-b504-4531-81c8-6bfc1bb9ea04",locals:{vector_input_main:"vector_input_main_MM1-C"},toString(){return BHe}}});var XPi=xe((ZRs,qPi)=>{var qA=[];qA.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_X7R7g{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_cA41g{background-color:#efefef}.comm-btn-confirm_uZ0CB{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_uZ0CB:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_HprDy{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_HprDy:hover{border:1px solid #40a9ff!important}.opacity-none_ZEHd3,.pointer-events-none_bg3Ed{cursor:default;pointer-events:none!important}.opacity-none_ZEHd3{opacity:0}.attr-prohibit_qBkYn,.display-block_krZxm{display:block}.display-none_IBtDf{display:none!important}.display-flex_lb4AW{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_hGqHg{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_eW5Ee{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_XAd1M{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_h2iRJ{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_xE5Jk{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_kFLNU{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_pD8vA{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_Rx7e-{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_9ti9Z{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_vxuyz{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_KWm-O{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_pCI3A{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_saoaZ{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_o4M-Q{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_uVBhK{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_jwN2-{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_IvoJH{color:#000!important}.color-white-important_vVB1W{color:#fff!important}.bgcolor-red-important_hxe-3{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.icon-eda-x-circle_svmyU.clear-input-circle_Op5mS{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.input-wrap_J4St4{-moz-box-sizing:border-box;box-sizing:border-box;position:relative;width:100%}.input-wrap_J4St4 .input_Xvquq{padding-right:18px}.input-wrap_J4St4 .input_Xvquq.clear_-E8rh{padding-right:34px}.input-wrap_J4St4 .input-icon_beXrA{height:100%;position:absolute;right:2px;top:0}.input-wrap_J4St4 .input-icon_beXrA .icon-clear_-yo0R{background-position:50%;cursor:pointer;display:block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:100%;margin-right:-1px;position:relative;top:-.5px}.input-wrap_J4St4 .input-icon_beXrA .arr-icon_pTpkm{background:");qA.push("url(");qA.push(JSON.stringify(I2()));qA.push(")");qA.push(" no-repeat 50%;background-size:12px 12px;display:block;-webkit-filter:var(--icon-color-input);filter:var(--icon-color-input);height:20px;width:16px}.input-wrap_J4St4 .input-icon_beXrA .active_cnT6t{background:");qA.push("url(");qA.push(JSON.stringify(c0e()));qA.push(")");qA.push(" no-repeat 50%;background-size:12px 12px;display:block;-webkit-filter:var(--icon-color-selected-drop-down-menuItem);filter:var(--icon-color-selected-drop-down-menuItem);height:20px;width:16px}");qA=qA.join("");qPi.exports={uuid:"11ba05a1-5c14-403a-ac41-32e932ef3efb",locals:{"comm-icon-add":"comm-icon-add_X7R7g","comm-background-color-efefef":"comm-background-color-efefef_cA41g","comm-btn-confirm":"comm-btn-confirm_uZ0CB","comm-btn-cancel":"comm-btn-cancel_HprDy","opacity-none":"opacity-none_ZEHd3","pointer-events-none":"pointer-events-none_bg3Ed","attr-prohibit":"attr-prohibit_qBkYn","display-block":"display-block_krZxm","display-none":"display-none_IBtDf","display-flex":"display-flex_lb4AW","display-inline-flex":"display-inline-flex_hGqHg","flex-lateral-axis-center":"flex-lateral-axis-center_eW5Ee","flex-lateral-axis-start":"flex-lateral-axis-start_XAd1M","flex-lateral-axis-end":"flex-lateral-axis-end_h2iRJ","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_xE5Jk","flex-main-axis-center":"flex-main-axis-center_kFLNU","flex-main-axis-start":"flex-main-axis-start_pD8vA","flex-main-axis-end":"flex-main-axis-end_Rx7e-","flex-main-axis-around":"flex-main-axis-around_9ti9Z","flex-main-axis-between":"flex-main-axis-between_vxuyz","flex-nowrap":"flex-nowrap_KWm-O","flex-wrap":"flex-wrap_pCI3A","flex-direct-row":"flex-direct-row_saoaZ","flex-direct-rerow":"flex-direct-rerow_o4M-Q","flex-direct-column":"flex-direct-column_uVBhK","flex-direct-recolumn":"flex-direct-recolumn_jwN2-","color-black-important":"color-black-important_IvoJH","color-white-important":"color-white-important_vVB1W","bgcolor-red-important":"bgcolor-red-important_hxe-3","icon-eda-x-circle":"icon-eda-x-circle_svmyU","clear-input-circle":"clear-input-circle_Op5mS","input-wrap":"input-wrap_J4St4",input:"input_Xvquq",clear:"clear_-E8rh","input-icon":"input-icon_beXrA","icon-clear":"icon-clear_-yo0R","arr-icon":"arr-icon_pTpkm",active:"active_cnT6t"},toString(){return qA}}});var nOi=xe((u_s,rOi)=>{var FHe=[];FHe.push(".main_WbEYF{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;text-align:left;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-moz-box-sizing:border-box;box-sizing:border-box;flex:1;position:relative;width:100%}.main_WbEYF .textarea_RBjlA{border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box!important;box-sizing:border-box!important;color:var(--font-color-input);min-height:58px;outline:0;overflow:hidden;padding:5px;resize:vertical;width:100%;word-break:break-all;word-wrap:break-word;background-color:var(--bg-color-input);overflow-y:scroll}.main_WbEYF .textarea_RBjlA p{margin:0}.main_WbEYF .textarea_RBjlA .item_fgSKw{color:#39f;text-overflow:ellipsis;white-space:nowrap}.main_WbEYF .textarea_RBjlA .item_fgSKw :hover{color:#096dd9;text-decoration:underline;text-decoration:#096dd9 underline}");FHe=FHe.join("");rOi.exports={uuid:"10890475-7afc-4081-b6c2-467e41a8a450",locals:{main:"main_WbEYF",textarea:"textarea_RBjlA",item:"item_fgSKw"},toString(){return FHe}}});var lOi=xe((T_s,sOi)=>{var XA=[];XA.push(".range-container_UAwne{border:1px solid var(--common-border-color-2);border-radius:0;height:24px;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:11}.range-container_UAwne,.range-container_UAwne *{-moz-box-sizing:border-box;box-sizing:border-box}.range-container_UAwne .range-wrapper_5BDIF{-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-webkit-align-content:center;align-content:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;justify-content:space-between;width:100%}.range-container_UAwne .range-minstep_XB8i7,.range-container_UAwne .range-wrapper_5BDIF{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.range-container_UAwne .range-minstep_XB8i7{cursor:pointer;height:16px;width:16px}.range-container_UAwne .range-minstep_XB8i7 .icon-min_0yFsc{background-image:");XA.push("url(");XA.push(JSON.stringify(n3e()));XA.push(")");XA.push(";background-repeat:no-repeat;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:16px;width:16px}.range-container_UAwne .range-process_J5ov2{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:inherit;position:relative;width:-webkit-calc(100% - 48px);width:-moz-calc(100% - 48px);width:calc(100% - 48px);-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.range-container_UAwne .range-process_J5ov2 .range-track_SmRup{background:#d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:4px;left:0;position:absolute;width:100%}.range-container_UAwne .range-process_J5ov2 .range-bar_9Vxnu{background:#fff;border:2px solid #40a9ff;border-radius:50%;cursor:pointer;height:14px;position:absolute;right:-7px;top:-5px;width:14px;z-index:9}.range-container_UAwne .range-process_J5ov2 .range-rateline_OddQM{position:absolute}.range-container_UAwne .range-process_J5ov2 .range-bar-out_flxVx,.range-container_UAwne .range-process_J5ov2 .range-rateline_OddQM{background:#d9d9d9;background-color:#40a9ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:4px;left:0;width:0}.range-container_UAwne .range-process_J5ov2 .range-bar-out_flxVx{position:relative}.range-container_UAwne .range-addstep_v23Ag{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:16px;width:16px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;cursor:pointer}.range-container_UAwne .range-addstep_v23Ag .icon-add_J1b4t{background-image:");XA.push("url(");XA.push(JSON.stringify(r3e()));XA.push(")");XA.push(";background-repeat:no-repeat;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:16px;width:16px}");XA=XA.join("");sOi.exports={uuid:"f725892d-aa6d-4fef-a65f-952fda68168e",locals:{"range-container":"range-container_UAwne","range-wrapper":"range-wrapper_5BDIF","range-minstep":"range-minstep_XB8i7","icon-min":"icon-min_0yFsc","range-process":"range-process_J5ov2","range-track":"range-track_SmRup","range-bar":"range-bar_9Vxnu","range-rateline":"range-rateline_OddQM","range-bar-out":"range-bar-out_flxVx","range-addstep":"range-addstep_v23Ag","icon-add":"icon-add_J1b4t"},toString(){return XA}}});var LOi=xe((Czs,IOi)=>{var JHe=[];JHe.push(".profileline-content-wrapper_hXOOb{padding-left:16px}.profileline-content-wrapper_hXOOb>:first-child{margin-right:36px!important}");JHe=JHe.join("");IOi.exports={uuid:"f1fd8c77-d745-4eee-bac6-2cae7c96f97b",locals:{"profileline-content-wrapper":"profileline-content-wrapper_hXOOb"},toString(){return JHe}}});var kOi=xe((Rzs,NOi)=>{var qHe=[];qHe.push(".snap-header_z4-qU{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;line-height:24px;margin:0 0 16px;text-align:left}.snap-header_z4-qU h3{width:100px}");qHe=qHe.join("");NOi.exports={uuid:"5cbde8fb-1112-4abf-b178-cf28e3309f9f",locals:{"snap-header":"snap-header_z4-qU"},toString(){return qHe}}});var ROi=xe((Uzs,OOi)=>{var $He=[];$He.push(".snap-content_zUSY3{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;line-height:24px;margin:0 0 16px;text-align:left}.snap-content_zUSY3>*{height:24px;width:210px}");$He=$He.join("");OOi.exports={uuid:"72961f71-c003-49b6-b691-bcced3577ca6",locals:{"snap-content":"snap-content_zUSY3"},toString(){return $He}}});var SRi=xe((NUs,TRi)=>{var uN=[];uN.push(".input-search-wrapper_X6RdJ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin-right:28px;position:relative}.input-search-wrapper_X6RdJ .input-wrapper_s8nyF{background-color:var(--bg-color-input);position:relative}.input-search-wrapper_X6RdJ .input-wrapper_s8nyF input{background-color:var(--bg-color-input);border:1px solid var(--border-color-input);color:var(--font-color-input)!important;height:24px;padding-right:18px;width:104px}.input-search-wrapper_X6RdJ .input-wrapper_s8nyF input:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}.input-search-wrapper_X6RdJ .inch-ash_gJ-R9{background:var(--bg-color-disabled-input);border:1px solid var(--border-color-disabled-input);border-left:none;color:var(--font-color-disabled-input);height:24px;line-height:16px;padding:3px 4px}.input-search-wrapper_X6RdJ .arr-icon_z0bV1{background:");uN.push("url(");uN.push(JSON.stringify(I2()));uN.push(")");uN.push(" no-repeat 0;background-size:12px 12px;-webkit-filter:var(--icon-color-input);filter:var(--icon-color-input);height:20px;position:absolute;right:2px;top:2px;width:16px}.input-search-wrapper_X6RdJ .select-arr-icon_hC33A{background:");uN.push("url(");uN.push(JSON.stringify(I2()));uN.push(")");uN.push(" no-repeat 100%;background-size:12px 12px;-webkit-filter:var(--icon-color-focus-input);filter:var(--icon-color-focus-input);height:20px;position:absolute;right:2px;top:2px;-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);transform:rotate(180deg);width:16px}.input-search-wrapper_X6RdJ .option-wrapper_NV9bj{background:var(--bg-color-input);border:1px solid var(--border-color-input);box-shadow:0 0 4px var(--common-box-shadow-color);font-size:12px;left:1px;max-height:192px;overflow:auto;position:absolute;top:-webkit-calc(100% + 2px);top:-moz-calc(100% + 2px);top:calc(100% + 2px);width:100%;z-index:10}.input-search-wrapper_X6RdJ .option-item_2TdmJ{color:var(--font-color-drop-down-menuItem);cursor:pointer;height:24px;line-height:24px;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.input-search-wrapper_X6RdJ .option-item_2TdmJ.select_Vhdfk{color:var(--font-color-selected-down-menuItem)}.input-search-wrapper_X6RdJ .option-item_2TdmJ:hover{background:var(--bg-color-hover-drop-down-menuItem);color:var(--font-color-hover-drop-down-menuItem)}.input-search-wrapper_X6RdJ .option-item_2TdmJ .hightlight_jZmeg{background:var(--common-bg-color-highLight-item)}");uN=uN.join("");TRi.exports={uuid:"e93bc342-224f-4825-bdd1-c1af0c46ee7e",locals:{"input-search-wrapper":"input-search-wrapper_X6RdJ","input-wrapper":"input-wrapper_s8nyF","inch-ash":"inch-ash_gJ-R9","arr-icon":"arr-icon_z0bV1","select-arr-icon":"select-arr-icon_hC33A","option-wrapper":"option-wrapper_NV9bj","option-item":"option-item_2TdmJ",select:"select_Vhdfk",hightlight:"hightlight_jZmeg"},toString(){return uN}}});var ZRi=xe((sHs,KRi)=>{var rYe=[];rYe.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_-XO4q{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_f2ZZg{background-color:#efefef}.comm-btn-confirm_OWQwy{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_OWQwy:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_sIrGy{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_sIrGy:hover{border:1px solid #40a9ff!important}.opacity-none_AjJ16,.pointer-events-none_ClFf-{cursor:default;pointer-events:none!important}.opacity-none_AjJ16{opacity:0}.attr-prohibit_DWSD7,.display-block_lqlOF{display:block}.display-none_GGIgw{display:none!important}.display-flex_VPD7z{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_lBtDD{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_4B8cj{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_LW7SL{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_i-f8k{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_fERHe{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_Vdbgh{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_KRape{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_mGC0Z{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_0bhEJ{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_wgfG5{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_IlsmY{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_SWfbD{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_n8gd0{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_xQX-s{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_3xG-4{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_KrGca{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_lFk4H{color:#000!important}.color-white-important_jnLNM{color:#fff!important}.bgcolor-red-important_YSdi3{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-content-wrapper_pRjwO{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-content-wrapper_pRjwO>div{overflow:auto;width:100%}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-content-wrapper_pRjwO .comm-btn-operate-link_AW899{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-content-wrapper_pRjwO .comm-btn-height_6Rnm7{height:22px}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-content-wrapper_pRjwO .comm-btn-text_vGKAq{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-content-wrapper_pRjwO .margin-btn_JKXx-{margin-bottom:16px}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-content-wrapper_pRjwO .margin-top_tkmm7{margin-top:16px}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-content-wrapper_pRjwO input.dialog-input_LYcE1{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-content-wrapper_pRjwO input.dialog-input_LYcE1:not([disabled]){color:var(--font-color-input)}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-content-wrapper_pRjwO select.dialog-input_LYcE1{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-content-wrapper_pRjwO select.dialog-input_LYcE1:not([disabled]){color:var(--font-color-input)}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-content-wrapper_pRjwO textarea.dialog-input_LYcE1{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-content-wrapper_pRjwO .device-property-key_bjSXP{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-content-wrapper_pRjwO .attrs-select-wrap_kqGAY{padding-left:8px}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-footer-wrapper_X7eAo{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-footer-wrapper_X7eAo .comm-btn_BvyE5{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-footer-wrapper_X7eAo .comm-btn_BvyE5:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-footer-wrapper_X7eAo .comm-btn_BvyE5.comm-btn-default_pRyZJ{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-footer-wrapper_X7eAo .comm-btn_BvyE5.comm-btn-default_pRyZJ:hover{border-color:#1890ff}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-footer-wrapper_X7eAo .comm-btn_BvyE5 .l-btn-left_bUqcM{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-footer-wrapper_X7eAo .comm-btn-left_Zs7xK{left:28px;position:absolute}.pop-content-container_vNK2-:not(.oneLineOneInputDlg_m91xE) .pop-footer-wrapper_X7eAo .grid-export_lLVuo .comm-btn_BvyE5:last-child{margin-left:8px}.pop-content-container_vNK2- *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_vNK2- label{position:relative}.pop-content-wrapper_pRjwO a.route-link_d9d7e,.pop-content-wrapper_pRjwO a.route-link_d9d7e:active,.pop-content-wrapper_pRjwO a.route-link_d9d7e:visited{color:#00e}div[user-resizable] .window-body_vvpKK>.panel_zVrrU,div[user-resizable] .window-header_CdqNT{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_vvpKK>.panel_zVrrU{height:100%!important}div[user-resizable] .window-body_vvpKK .dialog-content_4lE3v{height:100%!important;width:100%!important}");rYe=rYe.join("");KRi.exports={uuid:"c7ce5492-5ac8-4474-8eb7-caaee28ccb29",locals:{"comm-icon-add":"comm-icon-add_-XO4q","comm-background-color-efefef":"comm-background-color-efefef_f2ZZg","comm-btn-confirm":"comm-btn-confirm_OWQwy","comm-btn-cancel":"comm-btn-cancel_sIrGy","opacity-none":"opacity-none_AjJ16","pointer-events-none":"pointer-events-none_ClFf-","attr-prohibit":"attr-prohibit_DWSD7","display-block":"display-block_lqlOF","display-none":"display-none_GGIgw","display-flex":"display-flex_VPD7z","display-inline-flex":"display-inline-flex_lBtDD","flex-lateral-axis-center":"flex-lateral-axis-center_4B8cj","flex-lateral-axis-start":"flex-lateral-axis-start_LW7SL","flex-lateral-axis-end":"flex-lateral-axis-end_i-f8k","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_fERHe","flex-main-axis-center":"flex-main-axis-center_Vdbgh","flex-main-axis-start":"flex-main-axis-start_KRape","flex-main-axis-end":"flex-main-axis-end_mGC0Z","flex-main-axis-around":"flex-main-axis-around_0bhEJ","flex-main-axis-between":"flex-main-axis-between_wgfG5","flex-nowrap":"flex-nowrap_IlsmY","flex-wrap":"flex-wrap_SWfbD","flex-direct-row":"flex-direct-row_n8gd0","flex-direct-rerow":"flex-direct-rerow_xQX-s","flex-direct-column":"flex-direct-column_3xG-4","flex-direct-recolumn":"flex-direct-recolumn_KrGca","color-black-important":"color-black-important_lFk4H","color-white-important":"color-white-important_jnLNM","bgcolor-red-important":"bgcolor-red-important_YSdi3","pop-content-container":"pop-content-container_vNK2-",oneLineOneInputDlg:"oneLineOneInputDlg_m91xE","pop-content-wrapper":"pop-content-wrapper_pRjwO","comm-btn-operate-link":"comm-btn-operate-link_AW899","comm-btn-height":"comm-btn-height_6Rnm7","comm-btn-text":"comm-btn-text_vGKAq","margin-btn":"margin-btn_JKXx-","margin-top":"margin-top_tkmm7","dialog-input":"dialog-input_LYcE1","device-property-key":"device-property-key_bjSXP","attrs-select-wrap":"attrs-select-wrap_kqGAY","pop-footer-wrapper":"pop-footer-wrapper_X7eAo","comm-btn":"comm-btn_BvyE5","comm-btn-default":"comm-btn-default_pRyZJ","l-btn-left":"l-btn-left_bUqcM","comm-btn-left":"comm-btn-left_Zs7xK","grid-export":"grid-export_lLVuo","route-link":"route-link_d9d7e","window-body":"window-body_vvpKK",panel:"panel_zVrrU","window-header":"window-header_CdqNT","dialog-content":"dialog-content_4lE3v"},toString(){return rYe}}});var qRi=xe((lHs,JRi)=>{var jq=[];jq.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_wrHUi{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_XGzYZ{background-color:#efefef}.comm-btn-confirm_icTHJ{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_icTHJ:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_X4fWq{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_X4fWq:hover{border:1px solid #40a9ff!important}.opacity-none_dLadw,.pointer-events-none_ULW3U{cursor:default;pointer-events:none!important}.opacity-none_dLadw{opacity:0}.attr-prohibit_iVJky,.display-block_ZDCo-{display:block}.display-none_IOYpz{display:none!important}.display-flex_NZSmR{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_slht-{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_uMJBy{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_wh-eF{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_4kz3z{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_8miSA{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_uRoyk{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_dffww{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_jhXTB{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_CSqit{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_-5QaJ{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_6Iv6E{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_xiURt{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_GA2wH{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_9BMhv{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_-uRUS{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_tNSXR{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_SnCIj{color:#000!important}.color-white-important_05B-e{color:#fff!important}.bgcolor-red-important_061QL{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.selected-value_Mzl6J{border:1px solid var(--common-border-color);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-family:Microsoft YaHei;font-size:12px;height:24px;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;cursor:pointer;margin-bottom:2px;overflow:hidden;padding:0 20px 0 8px;text-overflow:ellipsis;white-space:nowrap}.disable_WhVmJ{pointer-events:none}.highlight-blue_CC-My,.hover-highlight_l490Q:hover{background:var(--bg-color-hover-drop-down-menuItem);color:var(--font-color-hover-drop-down-menuItem)}.input-wrap_UWt1C{-moz-box-sizing:border-box;box-sizing:border-box;position:relative;width:100%}.input-wrap_UWt1C .input_rmc4i{padding-right:18px}.input-wrap_UWt1C .input_rmc4i.clear_EZsrI{padding-right:34px}.input-wrap_UWt1C .input-icon_kUZPj{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:100%;position:absolute;right:4px;top:0}.input-wrap_UWt1C .input-icon_kUZPj .icon-search-or-clear_di-hD{background-position:50%;cursor:pointer;display:block;-webkit-filter:initial;filter:none;height:100%;margin-right:-1px;position:relative;top:-.5px;width:24px}.input-wrap_UWt1C .input-icon_kUZPj .arr-icon_b7aQG{background:");jq.push("url(");jq.push(JSON.stringify(I2()));jq.push(")");jq.push(" no-repeat 50%;background-size:12px 12px;display:block;-webkit-filter:var(--icon-color-input);filter:var(--icon-color-input);height:20px;width:16px}.virtual-scroll-wrap_jm8wC{overflow:auto;position:relative;width:inherit}.virtual-scroll-wrap_jm8wC .block_S-mXB{left:0;position:absolute;top:0;width:100%;z-index:-1}");jq=jq.join("");JRi.exports={uuid:"5ace54e1-6dd3-4203-ab32-b52faf6048fd",locals:{"comm-icon-add":"comm-icon-add_wrHUi","comm-background-color-efefef":"comm-background-color-efefef_XGzYZ","comm-btn-confirm":"comm-btn-confirm_icTHJ","comm-btn-cancel":"comm-btn-cancel_X4fWq","opacity-none":"opacity-none_dLadw","pointer-events-none":"pointer-events-none_ULW3U","attr-prohibit":"attr-prohibit_iVJky","display-block":"display-block_ZDCo-","display-none":"display-none_IOYpz","display-flex":"display-flex_NZSmR","display-inline-flex":"display-inline-flex_slht-","flex-lateral-axis-center":"flex-lateral-axis-center_uMJBy","flex-lateral-axis-start":"flex-lateral-axis-start_wh-eF","flex-lateral-axis-end":"flex-lateral-axis-end_4kz3z","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_8miSA","flex-main-axis-center":"flex-main-axis-center_uRoyk","flex-main-axis-start":"flex-main-axis-start_dffww","flex-main-axis-end":"flex-main-axis-end_jhXTB","flex-main-axis-around":"flex-main-axis-around_CSqit","flex-main-axis-between":"flex-main-axis-between_-5QaJ","flex-nowrap":"flex-nowrap_6Iv6E","flex-wrap":"flex-wrap_xiURt","flex-direct-row":"flex-direct-row_GA2wH","flex-direct-rerow":"flex-direct-rerow_9BMhv","flex-direct-column":"flex-direct-column_-uRUS","flex-direct-recolumn":"flex-direct-recolumn_tNSXR","color-black-important":"color-black-important_SnCIj","color-white-important":"color-white-important_05B-e","bgcolor-red-important":"bgcolor-red-important_061QL","selected-value":"selected-value_Mzl6J",disable:"disable_WhVmJ","highlight-blue":"highlight-blue_CC-My","hover-highlight":"hover-highlight_l490Q","input-wrap":"input-wrap_UWt1C",input:"input_rmc4i",clear:"clear_EZsrI","input-icon":"input-icon_kUZPj","icon-search-or-clear":"icon-search-or-clear_di-hD","arr-icon":"arr-icon_b7aQG","virtual-scroll-wrap":"virtual-scroll-wrap_jm8wC",block:"block_S-mXB"},toString(){return jq}}});var d_i=xe((WHs,c_i)=>{var sYe=[];sYe.push(".fieldset_mdFOk{border:1px solid var(--common-border-color);border-radius:2px;font-size:12px;line-height:22px;margin:4px 0;padding:8px 8px 16px 16px}.left_vIvxC{vertical-align:top;width:45%}.left_vIvxC,.middle_eER-r{display:inline-block}.middle_eER-r{height:437px;width:9%}.middle_eER-r .middle_button_container_lsOBI{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;margin-top:41px}.middle_eER-r .add_icon_UhGm5,.middle_eER-r .delete_icon_E-Fef{cursor:pointer;margin:15px auto;width:12px}.right_puRde{display:inline-block;vertical-align:top;width:45%}.options_ej2gs{height:397px;overflow:auto;width:100%}.content_Obw-u{border:1px solid var(--common-border-color);height:497px;margin-top:-1px;padding:8px 16px;width:100%}.line_aefwz{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;height:24px}.line_aefwz .checkbox_42CCA{margin-left:15px;margin-right:8px}.line_aefwz .icon_Ap8lo{display:block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:16px;margin-right:8px;width:16px}");sYe=sYe.join("");c_i.exports={uuid:"9bd531b0-f9a7-484b-8b0c-bb166e64ceb4",locals:{fieldset:"fieldset_mdFOk",left:"left_vIvxC",middle:"middle_eER-r",middle_button_container:"middle_button_container_lsOBI",add_icon:"add_icon_UhGm5",delete_icon:"delete_icon_E-Fef",right:"right_puRde",options:"options_ej2gs",content:"content_Obw-u",line:"line_aefwz",checkbox:"checkbox_42CCA",icon:"icon_Ap8lo"},toString(){return sYe}}});var E_i=xe((wGs,D_i)=>{var cYe=[];cYe.push("");cYe=cYe.join("");D_i.exports={uuid:"71c9d1b2-73c3-4736-bae6-d6f3c4e3549e",locals:{},toString(){return cYe}}});var pYe=xe((vGs,N_i)=>{var uYe=[];uYe.push(".hotkeySearch_2Kr3w{margin-left:8px;position:relative;width:160px}.hotkeyContent_k5Wic{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;overflow:hidden}.hotkeyList_SSu1L{border:var(--common-border-color);height:-webkit-calc(100% - 32px);height:-moz-calc(100% - 32px);height:calc(100% - 32px);margin-right:20px;overflow:hidden;width:120px}.hotkey-editor_wcfsn{height:444px;width:624px}.hotkey-cell_c3H20{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding:0 6px;width:100%}.tips_mhn9-{height:20px;line-height:20px}.hotkeySelect_1q2TP{display:inline-block}");uYe=uYe.join("");N_i.exports={uuid:"4c708bf8-7ebd-442f-8282-327fd97ae0f8",locals:{hotkeySearch:"hotkeySearch_2Kr3w",hotkeyContent:"hotkeyContent_k5Wic",hotkeyList:"hotkeyList_SSu1L","hotkey-editor":"hotkey-editor_wcfsn","hotkey-cell":"hotkey-cell_c3H20",tips:"tips_mhn9-",hotkeySelect:"hotkeySelect_1q2TP"},toString(){return uYe}}});var U_i=xe((xYs,F_i)=>{var bYe=[];bYe.push(".wrapper_fAj4U{border:1px solid var(--common-border-color);padding:9px 16px}.fs-item_dDz5g{cursor:pointer;display:inline-block;font-size:16px;line-height:20px;margin-right:8px;text-align:center}.row_dcjHB{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-top:10px}");bYe=bYe.join("");F_i.exports={uuid:"0f376a78-e198-470e-8938-665e59d48e7c",locals:{wrapper:"wrapper_fAj4U","fs-item":"fs-item_dDz5g",row:"row_dcjHB"},toString(){return bYe}}});var uji=xe((LQs,dji)=>{var wYe=[];wYe.push(".container_wQhu9{height:-webkit-calc(100% - 40px);height:-moz-calc(100% - 40px);height:calc(100% - 40px);overflow:auto;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;padding:0 8px;position:relative}.table_G5TDA{border-collapse:collapse;width:100%}.color-hex-text_2iWti{padding-left:5px}.th_cDy-r{width:120px}.not-allowed_I3C5c{background:var(--bg-color-1-table-row);background-clip:padding-box;cursor:not-allowed}");wYe=wYe.join("");dji.exports={uuid:"01337ab7-f454-4fdb-a9ef-2a7fc622347d",locals:{container:"container_wQhu9",table:"table_G5TDA","color-hex-text":"color-hex-text_2iWti",th:"th_cDy-r","not-allowed":"not-allowed_I3C5c"},toString(){return wYe}}});var OFi=xe((qil,PFi)=>{var NWe=[];NWe.push('.icon-eda-x-circle_z9A-S.clear-input-circle_LlWsY{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}@-webkit-keyframes elementRotate_cNNAU{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@-moz-keyframes elementRotate_cNNAU{0%{-moz-transform:rotate(0deg);transform:rotate(0deg)}to{-moz-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes elementRotate_cNNAU{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);-moz-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes switchChecked_BPgLf{0%{background-color:#ccc;width:50%}to{background-color:#1890ff;width:100%}}@-moz-keyframes switchChecked_BPgLf{0%{background-color:#ccc;width:50%}to{background-color:#1890ff;width:100%}}@keyframes switchChecked_BPgLf{0%{background-color:#ccc;width:50%}to{background-color:#1890ff;width:100%}}.range_gQZnm{cursor:pointer}.range_gQZnm.range-horizontal_M3sNn{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;width:100%}.range_gQZnm.range-horizontal_M3sNn .range-buffer_-exXN{width:100%}.range_gQZnm.range-vertical_MuEUH{height:100%}.range_gQZnm.range-vertical_MuEUH .range-buffer_-exXN{height:100%;margin:0 auto;-webkit-transform:scale(-1);-moz-transform:scale(-1);transform:scale(-1)}.range_gQZnm .range-buffer_-exXN{position:relative}.range_gQZnm .range-buffer_-exXN .range-dot_0uEI3{background:#fff;background-color:#1890ff;border:1px solid #1890ff;border-radius:2px;border-radius:100%;box-shadow:inset 0 0 0 4px #fff;-moz-box-sizing:border-box;box-sizing:border-box;content:"";display:inline-block;height:14px;left:50%;margin-right:4px;position:absolute;text-align:center;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%);vertical-align:middle;width:14px}');NWe=NWe.join("");PFi.exports={uuid:"19e0b5ae-4eae-4550-903a-a54f266b8fd9",locals:{"icon-eda-x-circle":"icon-eda-x-circle_z9A-S","clear-input-circle":"clear-input-circle_LlWsY",range:"range_gQZnm","range-horizontal":"range-horizontal_M3sNn","range-buffer":"range-buffer_-exXN","range-vertical":"range-vertical_MuEUH","range-dot":"range-dot_0uEI3",elementRotate:"elementRotate_cNNAU",switchChecked:"switchChecked_BPgLf"},toString(){return NWe}}});var rVi=xe((bml,oVi)=>{var oQe=[];oQe.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_l-F60{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_fFQMd{background-color:#efefef}.comm-btn-confirm_GfsQG{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_GfsQG:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_KKJBy{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_KKJBy:hover{border:1px solid #40a9ff!important}.opacity-none_YxoIU,.pointer-events-none_RaFbt{cursor:default;pointer-events:none!important}.opacity-none_YxoIU{opacity:0}.attr-prohibit_h4gWe,.display-block_Ny5W9{display:block}.display-none_5hFkN{display:none!important}.display-flex_g161K{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_wU2AC{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_lfCb8{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_X9Klb{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_fKpAc{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_ea9bi{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_MMK68{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_cmGqi{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_H1IIB{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_iu8vY{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_-wZ2K{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_--q2s{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_G-Kgu{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_pKjqw{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_a9mYl{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_dm617{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_6SU7G{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_VtaYa{color:#000!important}.color-white-important_CLCiA{color:#fff!important}.bgcolor-red-important_0o1QY{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-content-wrapper_gIWx7{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-content-wrapper_gIWx7>div{overflow:auto;width:100%}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-content-wrapper_gIWx7 .comm-btn-operate-link_WXAcm{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-content-wrapper_gIWx7 .comm-btn-height_PBk5z{height:22px}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-content-wrapper_gIWx7 .comm-btn-text_wsOMn{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-content-wrapper_gIWx7 .margin-btn_z2eTs{margin-bottom:16px}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-content-wrapper_gIWx7 .margin-top_iOfE5{margin-top:16px}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-content-wrapper_gIWx7 input.dialog-input_rKZ19{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-content-wrapper_gIWx7 input.dialog-input_rKZ19:not([disabled]){color:var(--font-color-input)}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-content-wrapper_gIWx7 select.dialog-input_rKZ19{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-content-wrapper_gIWx7 select.dialog-input_rKZ19:not([disabled]){color:var(--font-color-input)}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-content-wrapper_gIWx7 textarea.dialog-input_rKZ19{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-content-wrapper_gIWx7 .device-property-key_0rUfw{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-content-wrapper_gIWx7 .attrs-select-wrap_YzYhb{padding-left:8px}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-footer-wrapper_AmCZN{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-footer-wrapper_AmCZN .comm-btn_GV-vB{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-footer-wrapper_AmCZN .comm-btn_GV-vB:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-footer-wrapper_AmCZN .comm-btn_GV-vB.comm-btn-default_zIg2Y{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-footer-wrapper_AmCZN .comm-btn_GV-vB.comm-btn-default_zIg2Y:hover{border-color:#1890ff}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-footer-wrapper_AmCZN .comm-btn_GV-vB .l-btn-left_3xk6r{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-footer-wrapper_AmCZN .comm-btn-left_RpjcL{left:28px;position:absolute}.pop-content-container_4EITV:not(.oneLineOneInputDlg_WAAYP) .pop-footer-wrapper_AmCZN .grid-export_GaB4U .comm-btn_GV-vB:last-child{margin-left:8px}.pop-content-container_4EITV *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_4EITV label{position:relative}.pop-content-wrapper_gIWx7 a.route-link_bK5VM,.pop-content-wrapper_gIWx7 a.route-link_bK5VM:active,.pop-content-wrapper_gIWx7 a.route-link_bK5VM:visited{color:#00e}div[user-resizable] .window-body_nSoRg>.panel_OoV63,div[user-resizable] .window-header_PA4nh{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_nSoRg>.panel_OoV63{height:100%!important}div[user-resizable] .window-body_nSoRg .dialog-content_2CEjY{height:100%!important;width:100%!important}");oQe=oQe.join("");oVi.exports={uuid:"7e6c3aba-c8f2-47a0-9642-5ac416f9b65c",locals:{"comm-icon-add":"comm-icon-add_l-F60","comm-background-color-efefef":"comm-background-color-efefef_fFQMd","comm-btn-confirm":"comm-btn-confirm_GfsQG","comm-btn-cancel":"comm-btn-cancel_KKJBy","opacity-none":"opacity-none_YxoIU","pointer-events-none":"pointer-events-none_RaFbt","attr-prohibit":"attr-prohibit_h4gWe","display-block":"display-block_Ny5W9","display-none":"display-none_5hFkN","display-flex":"display-flex_g161K","display-inline-flex":"display-inline-flex_wU2AC","flex-lateral-axis-center":"flex-lateral-axis-center_lfCb8","flex-lateral-axis-start":"flex-lateral-axis-start_X9Klb","flex-lateral-axis-end":"flex-lateral-axis-end_fKpAc","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_ea9bi","flex-main-axis-center":"flex-main-axis-center_MMK68","flex-main-axis-start":"flex-main-axis-start_cmGqi","flex-main-axis-end":"flex-main-axis-end_H1IIB","flex-main-axis-around":"flex-main-axis-around_iu8vY","flex-main-axis-between":"flex-main-axis-between_-wZ2K","flex-nowrap":"flex-nowrap_--q2s","flex-wrap":"flex-wrap_G-Kgu","flex-direct-row":"flex-direct-row_pKjqw","flex-direct-rerow":"flex-direct-rerow_a9mYl","flex-direct-column":"flex-direct-column_dm617","flex-direct-recolumn":"flex-direct-recolumn_6SU7G","color-black-important":"color-black-important_VtaYa","color-white-important":"color-white-important_CLCiA","bgcolor-red-important":"bgcolor-red-important_0o1QY","pop-content-container":"pop-content-container_4EITV",oneLineOneInputDlg:"oneLineOneInputDlg_WAAYP","pop-content-wrapper":"pop-content-wrapper_gIWx7","comm-btn-operate-link":"comm-btn-operate-link_WXAcm","comm-btn-height":"comm-btn-height_PBk5z","comm-btn-text":"comm-btn-text_wsOMn","margin-btn":"margin-btn_z2eTs","margin-top":"margin-top_iOfE5","dialog-input":"dialog-input_rKZ19","device-property-key":"device-property-key_0rUfw","attrs-select-wrap":"attrs-select-wrap_YzYhb","pop-footer-wrapper":"pop-footer-wrapper_AmCZN","comm-btn":"comm-btn_GV-vB","comm-btn-default":"comm-btn-default_zIg2Y","l-btn-left":"l-btn-left_3xk6r","comm-btn-left":"comm-btn-left_RpjcL","grid-export":"grid-export_GaB4U","route-link":"route-link_bK5VM","window-body":"window-body_nSoRg",panel:"panel_OoV63","window-header":"window-header_PA4nh","dialog-content":"dialog-content_2CEjY"},toString(){return oQe}}});var sVi=xe((zml,aVi)=>{var rQe=[];rQe.push('.title_MRTkO:before{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #ccc;content:"";display:inline-block;-moz-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform:rotate(-45deg);vertical-align:middle}.title_MRTkO{background:var(--common-bg-color-panel-header);-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;font-size:12px;font-weight:400;height:25px;line-height:14px;margin-bottom:8px;overflow:hidden;padding:6px;text-overflow:ellipsis;white-space:nowrap}.title_MRTkO.collapsed_C7a7s{margin-bottom:0}.title_MRTkO.collapsed_C7a7s:before{margin-top:-3px;-webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);transform:rotate(-90deg)}');rQe=rQe.join("");aVi.exports={uuid:"81af7427-ac51-469c-b277-838ea6e1da46",locals:{title:"title_MRTkO",collapsed:"collapsed_C7a7s"},toString(){return rQe}}});var nO=xe((Xml,dVi)=>{var aQe=[];aQe.push(".left-check_SvbHC{padding-left:8px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:13px}.left_QBi2Z{float:left}.txt_title_n1eml{font-size:12px;overflow:hidden;padding-left:4px;text-overflow:ellipsis;white-space:nowrap;width:100%}.txt_value_I2JAk{-moz-box-sizing:border-box;box-sizing:border-box;margin-left:4px;padding-right:8px;position:relative;text-align:left}.color-content-cn_IJkXk,.txt_value_I2JAk{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.color-content-cn_IJkXk,.line_azbVp,.txt_value_I2JAk{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.line_azbVp{padding-bottom:8px}.input_ALkHh{border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;width:100%}.flex_R6ofn{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.center_TenKs{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.flex-1_gtcT9{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.checkbox_1VUaD{cursor:pointer;opacity:0;position:absolute}.flex-column_Cv-GI{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.link-btn_v-tpc{height:16px;margin-right:5px;-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);transform:rotate(90deg);width:16px}.attr-reset_XHFm8,.link-btn_v-tpc{cursor:pointer;display:inline-block}.attr-reset_XHFm8{background-position:50%;background-size:10px 10px;-webkit-flex-shrink:0;flex-shrink:0;height:18px;line-height:18px;text-align:center;vertical-align:middle;width:18px}");aQe=aQe.join("");dVi.exports={uuid:"80e8de24-396e-4f74-a9b6-bd777869387f",locals:{"left-check":"left-check_SvbHC",left:"left_QBi2Z",txt_title:"txt_title_n1eml",txt_value:"txt_value_I2JAk","color-content-cn":"color-content-cn_IJkXk",line:"line_azbVp",input:"input_ALkHh",flex:"flex_R6ofn",center:"center_TenKs","flex-1":"flex-1_gtcT9",checkbox:"checkbox_1VUaD","flex-column":"flex-column_Cv-GI","link-btn":"link-btn_v-tpc","attr-reset":"attr-reset_XHFm8"},toString(){return aQe}}});var vVi=xe((J1l,LVi)=>{var cQe=[];cQe.push(".reference-point-box_VHT35{display:grid;grid-template-columns:repeat(3,15px);grid-template-rows:repeat(3,15px);grid-gap:2px}.reference-point-box_VHT35 div{border:1px solid #d9d9d9;border-radius:2px;cursor:pointer}.reference-point-box_VHT35 .active_ThBKS{background-color:#1890ff;border:1px solid #1890ff}");cQe=cQe.join("");LVi.exports={uuid:"e1e5e4fa-6f1d-4ad7-9a2a-1e05e4b22ca5",locals:{"reference-point-box":"reference-point-box_VHT35",active:"active_ThBKS"},toString(){return cQe}}});var FDt=xe((Vfl,KVi)=>{var pQe=[];pQe.push(".content_bhpw-{line-height:20px;min-height:100px;overflow:hidden;position:relative}.delete_list_C-Iad{color:#1890ff;display:-webkit-box;-webkit-line-clamp:3;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical}");pQe=pQe.join("");KVi.exports={uuid:"931d4754-0593-4cd8-b3a8-cb26c703c970",locals:{content:"content_bhpw-",delete_list:"delete_list_C-Iad"},toString(){return pQe}}});var vHi=xe((Bbl,LHi)=>{var TQe=[];TQe.push(".icon-eda-x-circle_DETRd.clear-input-circle_vp0TS{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.container_j6Gzg{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:4px 0;position:relative;width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;gap:8px;justify-content:space-between}.container_j6Gzg .apply-new-parts_ZBBki{-webkit-box-flex:0;-webkit-flex:none;-moz-box-flex:0;color:#1890ff;cursor:pointer;flex:none;text-decoration:underline}.left_lCS5E{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;justify-content:normal}.input-border-radius-reset_sNoTk div[class*=fittinginput-wrapper]{border-radius:0 2px 2px 0!important}.right_NHxAN{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;overflow:hidden;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;width:inherit}.origin-wrap_tb5Zp{-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;height:24px;justify-content:normal}.origin-wrap_tb5Zp,.origin-wrap_tb5Zp span{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.origin-wrap_tb5Zp span{height:100%;min-width:72px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;border:1px solid var(--common-border-color-1);border-right:1px solid transparent;cursor:pointer;justify-content:center;padding:0 8px;text-align:center;white-space:nowrap}.origin-wrap_tb5Zp span:first-child{border-radius:2px 0 0 2px}.origin-wrap_tb5Zp .active_sp1IL{background:var(--common-selected-bg-color);color:var(--common-selected-font-color)}.origin-wrap_tb5Zp .disabled_bVVRB{background-color:#d9d9d9;color:#fff;cursor:not-allowed}");TQe=TQe.join("");LHi.exports={uuid:"54f7edc4-b00c-48ec-bafc-980efe166e2f",locals:{"icon-eda-x-circle":"icon-eda-x-circle_DETRd","clear-input-circle":"clear-input-circle_vp0TS",container:"container_j6Gzg","apply-new-parts":"apply-new-parts_ZBBki",left:"left_lCS5E","input-border-radius-reset":"input-border-radius-reset_sNoTk",right:"right_NHxAN","origin-wrap":"origin-wrap_tb5Zp",active:"active_sp1IL",disabled:"disabled_bVVRB"},toString(){return TQe}}});var AHi=xe((iyl,EHi)=>{var MQe=[];MQe.push(".icon-eda-x-circle_zq-0L.clear-input-circle_HgvP9{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.active_dPZkr{background-color:var(--bg-color-selected-tab);color:var(--font-color-selected-tab)}.container_nUl4B{height:100%;padding:0 4px 0 8px;width:120px}.container_nUl4B *{-moz-box-sizing:border-box;box-sizing:border-box}.ul-wrap_I6DHT{border:0;margin:5px 0 0;min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content;outline:0;padding:0;width:inherit}.li-item_aviC1{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;color:var(--font-color-tab);cursor:pointer;font-size:12px;height:24px;justify-content:normal;padding:4px 10px;width:inherit}.li-item_aviC1>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.li-item_aviC1:hover{background-color:var(--bg-color-hover-tab)}.li-item-active_LoyPG{background-color:var(--bg-color-selected-tab);color:var(--font-color-selected-tab)}");MQe=MQe.join("");EHi.exports={uuid:"83abd29c-0342-4060-8b25-2e8bd3926ba3",locals:{"icon-eda-x-circle":"icon-eda-x-circle_zq-0L","clear-input-circle":"clear-input-circle_HgvP9",active:"active_dPZkr",container:"container_nUl4B","ul-wrap":"ul-wrap_I6DHT","li-item":"li-item_aviC1","li-item-active":"li-item-active_LoyPG"},toString(){return MQe}}});var qHi=xe((W3l,JHi)=>{var DQe=[];DQe.push(".icon-eda-x-circle_qHsno.clear-input-circle_O76d5{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.container_-Xlc7{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-align:initial;-webkit-align-items:initial;-moz-box-align:initial;align-items:normal;-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;height:100%;justify-content:normal;overflow:auto;padding:0 4px;width:auto}.container_-Xlc7 *{-moz-box-sizing:border-box;box-sizing:border-box}.filter-wrap_5SHvi{padding:4px;width:100%}.list-wrap_fNYnm{height:-webkit-calc(100% - 65px);height:-moz-calc(100% - 65px);height:calc(100% - 65px);margin:5px 0;overflow:auto;width:100%}.list-wrap-item_bBDWm{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:24px;padding-left:15px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;cursor:pointer;justify-content:normal}.list-wrap-item_bBDWm:hover{background-color:#e6f7ff}.list-wrap-item_bBDWm>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.active_RGoeV{background-color:#e6f7ff!important;color:#1890ff}.box_od0kg>section>section{padding-top:0}.box_od0kg>section>section:last-child{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}");DQe=DQe.join("");JHi.exports={uuid:"cba72c94-4fcd-4034-9d5f-d2c9d752f95b",locals:{"icon-eda-x-circle":"icon-eda-x-circle_qHsno","clear-input-circle":"clear-input-circle_O76d5",container:"container_-Xlc7","filter-wrap":"filter-wrap_5SHvi","list-wrap":"list-wrap_fNYnm","list-wrap-item":"list-wrap-item_bBDWm",active:"active_RGoeV",box:"box_od0kg"},toString(){return DQe}}});var PEt=xe((xwl,tGi)=>{var EQe=[];EQe.push("[data-theme=light]{--common-icon-color:invert(17%) sepia(6%) saturate(13%) hue-rotate(5deg) brightness(93%) contrast(88%);--common-icon-color-1:invert(0.4);--common-icon-color-disabled:invert(73%) sepia(10%) saturate(4%) hue-rotate(353deg) brightness(92%) contrast(87%);--common-icon-color-disabled-1:invert(92%) sepia(0%) saturate(5%) hue-rotate(168deg) brightness(92%) contrast(83%);--common-font-color:#333;--common-hover-font-color:#1890ff;--common-hover-bg-color:#e6f7ff;--common-selected-bg-color:#e6f7ff;--common-selected-font-color:#1890ff;--common-bg-color:#fff;--common-bg-color-1:#f1f1f1;--common-bg-color-highLight-item:#ff0;--common-bg-color-panel-header:#efefef;--common-border-color:#e9e9e9;--common-border-color-1:#d9d9d9;--common-border-color-2:#d1d1d1;--common-box-shadow-color:#999;--bg-color-startPage:#fff;--bg-color-floatBar:#fff;--border-color-language:#fff;--ruler-bg-color:#fff;--ruler-string-color:hsla(0,0%,40%,.8);--bg-color-top-bar:#58f;--bg-color-hover-top-bar:#7aa2ff;--bg-color-selected-top-bar:#7aa2ff;--font-color-top-bar:#fff;--font-color-hover-top-bar:#fff;--font-color-selected-top-bar:#fff;--bg-color-top-bar-more:#b7c1d1;--border-color-top-bar-menu-more:#58f;--bg-color-top-search:#58f;--bg-color-toolbar:#fff;--bg-toolbar-icon-hover:#e6f7ff;--bg-toolbar-icon-selected:#e6f7ff;--bg-color-toolbar-divider:#cacaca;--has-bottom-border-toolbar:1;--border-bottom-color-toolbar:#d1d1d1;--icon-color-toolbar:invert(17%) sepia(6%) saturate(13%) hue-rotate(5deg) brightness(93%) contrast(88%);--icon-color-hover-toolbar:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-hover-toolbar1:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-selected-toolbar:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-selected-toolbar1:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-disabled-toolbar:invert(92%) sepia(0%) saturate(5%) hue-rotate(168deg) brightness(92%) contrast(83%);--font-color-toolbar:#222;--bg-color-tabs:#ddd;--border-bottom-color-tabs:#d1d1d1;--bg-color-tab:#eee;--bg-color-hover-tab:#e6f7ff;--border-color-tab:#d1d1d1;--icon-color-tab-symbol-footprint:invert(0%) sepia(87%) saturate(7475%) hue-rotate(126deg) brightness(103%) contrast(93%);--icon-color-tab-device:none;--font-color-tab:#333;--font-color-hover-tab:#1890ff;--font-color-selected-tab:#1890ff;--bg-color-drop-down-menu:#fff;--has-shadow-drop-down-menu:1;--border-color-drop-down-menu:#d9d9d9;--bg-color-drop-down-menuItem:#fff;--bg-color-hover-drop-down-menuItem:#e6f7ff;--bg-color-selected-drop-down-menuItem:#e6f7ff;--icon-color-drop-down-menuItem:invert(17%) sepia(6%) saturate(13%) hue-rotate(5deg) brightness(93%) contrast(88%);--icon-color-hover-drop-down-menuItem:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-selected-drop-down-menuItem:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-disabled-drop-down-menuItem:invert(56%) sepia(10%) saturate(18%) hue-rotate(330deg) brightness(92%) contrast(83%);--font-color-drop-down-menuItem:#333;--font-color-hover-drop-down-menuItem:#1890ff;--font-color-selected-down-menuItem:#1890ff;--font-color-disabled-drop-down-menuItem:#868686;--separator-color-drop-down-menu:#d9d9d9;--icon-color-refresh:invert(0.5);--shadow-color-right-menu:#999;--bg-color-table-header:#ebebeb;--border-color-table-header:#e1e1e1;--icon-color-table-header:#ccc;--icon-color-table-th-cell:invert(17%) sepia(6%) saturate(13%) hue-rotate(5deg) brightness(93%) contrast(88%);--font-color-table:#444;--bg-color-table-row:#fff;--bg-color-1-table-row:#f5f5f5;--border-color-table-body:#e3e3e3;--icon-color-table-body:invert(17%) sepia(6%) saturate(13%) hue-rotate(5deg) brightness(93%) contrast(88%);--bg-color-hover-tr:#e6f7ff;--bg-color-selected-tr:#e6f7ff;--border-color-hover-tr:initial;--border-color-selected-tr:initial;--font-color-hover-tr:#1890ff;--font-color-selected-tr:#1890ff;--icon-color-hover-tr:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-selected-tr:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--bg-color-hover-td:#e6f7ff;--bg-color-selected-td:#e6f7ff;--bg-color-disabled-td:#e9e9e9;--bg-color-disabled-hotkey-table-td:#ddd;--border-color-hover-td:#1890ff;--border-color-selected-td:#1890ff;--icon-color-hover-td:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-selected-td:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-disabled-td:invert(56%) sepia(10%) saturate(18%) hue-rotate(330deg) brightness(92%) contrast(83%);--font-color-disabled-td:#868686;--bg-color-panel-tabs:#f0f0f0;--bg-color-panel-tabs-bottom:#f0f0f0;--bg-color-panel-tab:#f0f0f0;--bg-color-hover-panel-tab:#fff;--bg-color-selected-panel-tab:#fff;--border-color-panel-tab:#d1d1d1;--border-color-hover-panel-tab:#1890ff;--border-color-selected-panel-tab:#1890ff;--font-color-panel-tab:#333;--font-color-hover-panel-tab:#1890ff;--font-color-selected-panel-tab:#1890ff;--bg-color-panel:#fff;--bg-color-selected-tab:#e6f7ff;--bg-color-hover-layer-panel-tab:#efefef;--bg-color-selected-layer-panel-tab:#faebd7;--icon-color-panel-content:initial;--font-color-panel-content:#555;--border-color-layout_toggler:#d1d1d1;--bg-color-input:#fff;--border-color-input:#d9d9d9;--icon-color-input:invert(17%) sepia(6%) saturate(13%) hue-rotate(5deg) brightness(93%) contrast(88%);--font-color-input:#333;--font-color-input-placeholder:#a9a9a9;--range-current-background:#1890ff;--range-background:#f1f1f1;--bg-color-hover-input:#fff;--border-color-hover-input:#1890ff;--font-color-hover-input:#333;--bg-color-focus-input:#fff;--border-color-focus-input:#1890ff;--font-color-focus-input:#333;--bg-color-disabled-input:#f1f1f1;--border-color-disabled-input:#d9d9d9;--font-color-disabled-input:#bfbfbf;--bg-color-pop-up-title:#f1f1f1;--bg-color-pop-up-content:#fff;--bg-color-pop-up-sep:#ddd;--font-color-pop-up:initial;--has-border-dialog:0;--bg-color-button:#fff;--border-color-button:#d9d9d9;--font-color-button:#1890ff;--bg-color-hover-button:#fff;--border-color-hover-button:#1890ff;--font-color-hover-button:#1890ff;--bg-color-active-button:#e6f7ff;--border-color-active-button:#1890ff;--font-color-active-button:#1890ff;--bg-color-disabled-button:#fff;--border-color-disabled-button:#d9d9d9;--font-color-disabled-button:#c0c4cc;--bg-color-disabled-primary-button:#d9d9d9;--font-color-disabled-primary-button:#fff;--font-color-disabled-link-button:#d9d9d9;--border-color-panel-divider:#d1d1d1;--bg-color-tree:#e6f7ff;--font-color-tree:#333;--icon-color-tree:invert(17%) sepia(6%) saturate(13%) hue-rotate(5deg) brightness(93%) contrast(88%);--bg-color-hover-tree:#e6f7ff;--icon-color-hover-tree:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--font-color-hover-tree:#1890ff;--bg-color-selected-tree:#e6f7ff;--icon-color-selected-tree:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--font-color-selected-tree:#1890ff;--icon-color-disabled-tree:invert(92%) sepia(0%) saturate(5%) hue-rotate(168deg) brightness(92%) contrast(83%);--bg-color-active-leftTreeSearch:#e6f7ff;--icon-color-active-leftTreeSearch:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);--font-color-hover-projectTree:#40a9ff;--bg-color-libary-hover:#f5f5f5;--bg-color-version-extension:#bcbcbc;--bg-scrollbar-thumb:#bfbfbf;--bg-scrollbar-track:#f1f1f1;--bg-scrollbar-thumb-hover:#8b8b8c;--bg-scrollbar-thumb-selected:#8b8b8c;--bg-color-canvas-info:#ddd;--border-color-canvas-info:#ddd;--font-color-float-bar-wxpublic:#666;--font-color-float-bar-wx:#858585;--font-color-float-bar-tel:#666;--bg-color-tooltip:#404040;--icon-color-pcb:initial;--bg-color-project-blank-page:#ccc;--bg-color-data-thumb:#e2e2e2;--bg-color-footprint-wizard:#ccc;--bg-color-hover-footprint-wizard:#f1f1ce;--bg-color-selected-footprint-wizard-reference:#aad8d3;--bg-color-hover-footprint-wizard-reference:#d0d0cc;--bg-color-selected-design-rules:#efefef;--bg-color-hover-design-rules:#f9f9f9;--border-color-color-button:#ccc;--icon-color--selected-text-style:invert(55%) sepia(79%) saturate(4636%) hue-rotate(191deg) brightness(101%) contrast(101%);--icon-color-Annotions:#000;--bg-color-version-node:#fff6e4;--font-color-version-node:#ffa23a;--border-color-version-node:#ffdbb0;--icon-color-sch-table:initial;--icon-color-sch-table-disabled:invert(0.85);--bg-color-reuseTab:#fff;--language-list-shadow:1px 1px 6px 0 rgba(38,44,50,.2);--bg-color-table-waitDetermined:#fffbe6;--bg-color-table-waitDistribution:#fff2f0;--bg-color-table-notCheck:#e6f7ff;--bg-color-table-perfetchMatch:#f6ffed;--border-color-assembly_black:#000;--bg-color-choose-device-dialog-hover:#e6f7ff}[data-theme=dark]{--common-icon-color:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--common-icon-color-1:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--common-icon-color-disabled:invert(59%) sepia(2%) saturate(91%) hue-rotate(2deg) brightness(95%) contrast(84%);--common-icon-color-disabled-1:invert(59%) sepia(0%) saturate(29%) hue-rotate(204deg) brightness(97%) contrast(100%);--common-font-color:#e5e5e5;--common-hover-font-color:#e5e5e5;--common-hover-bg-color:#6283a2;--common-selected-font-color:#e5e5e5;--common-selected-bg-color:#6283a2;--common-bg-color:#404040;--common-bg-color-1:#404040;--common-bg-color-highLight-item:#06c;--common-bg-color-panel-header:#404040;--common-border-color:#222;--common-border-color-1:#222;--common-border-color-2:#222;--common-box-shadow-color:#222;--bg-color-startPage:#353535;--bg-color-floatBar:#282828;--border-color-language:#ccc;--ruler-bg-color:#353535;--ruler-string-color:#e5e5e5;--bg-color-top-bar:#404040;--bg-color-hover-top-bar:#6283a2;--bg-color-selected-top-bar:#6283a2;--font-color-top-bar:#e5e5e5;--font-color-hover-top-bar:#e5e5e5;--font-color-selected-top-bar:#e5e5e5;--bg-color-top-bar-more:#2e2e2e;--border-color-top-bar-menu-more:#2e2e2e;--bg-color-top-search:#404040;--bg-color-toolbar:#404040;--bg-toolbar-icon-hover:#6283a2;--bg-toolbar-icon-selected:#6283a2;--bg-color-toolbar-divider:#222;--has-bottom-border-toolbar:1;--border-bottom-color-toolbar:#222;--icon-color-toolbar:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--icon-color-hover-toolbar:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--icon-color-hover-toolbar1:initial;--icon-color-selected-toolbar:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--icon-color-selected-toolbar1:initial;--icon-color-disabled-toolbar:invert(59%) sepia(0%) saturate(29%) hue-rotate(204deg) brightness(97%) contrast(100%);--font-color-toolbar:#e5e5e5;--bg-color-tabs:#353535;--border-bottom-color-tabs:#222;--bg-color-tab:#353535;--bg-color-hover-tab:#4e4e4e;--bg-color-selected-tab:#6283a2;--border-color-tab:#222;--icon-color-tab-symbol-footprint:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--icon-color-tab-device:invert(74%) sepia(41%) saturate(2851%) hue-rotate(333deg) brightness(100%) contrast(101%);--font-color-tab:#e5e5e5;--font-color-hover-tab:#e5e5e5;--font-color-selected-tab:#e5e5e5;--bg-color-drop-down-menu:#404040;--border-color-drop-down-menu:#222;--has-shadow-drop-down-menu:0;--bg-color-drop-down-menuItem:#404040;--bg-color-hover-drop-down-menuItem:#6283a2;--bg-color-selected-drop-down-menuItem:#6283a2;--icon-color-drop-down-menuItem:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--icon-color-hover-drop-down-menuItem:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--icon-color-selected-drop-down-menuItem:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--icon-color-disabled-drop-down-menuItem:invert(59%) sepia(2%) saturate(91%) hue-rotate(2deg) brightness(95%) contrast(84%);--font-color-drop-down-menuItem:#e5e5e5;--font-color-hover-drop-down-menuItem:#e5e5e5;--font-color-selected-down-menuItem:#e5e5e5;--font-color-disabled-drop-down-menuItem:#8d8d8d;--separator-color-drop-down-menu:#222;--icon-color-refresh:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--shadow-color-right-menu:#222;--bg-color-table-header:#5e5e5e;--border-color-table-header:#222;--icon-color-table-header:#e5e5e5;--icon-color-table-th-cell:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--font-color-table:#e5e5e5;--bg-color-table-row:#3b3b3b;--bg-color-1-table-row:#4e4e4e;--border-color-table-body:#222;--icon-color-table-body:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--bg-color-hover-tr:#434950;--bg-color-selected-tr:#434950;--font-color-hover-tr:#e5e5e5;--font-color-selected-tr:#e5e5e5;--border-color-hover-tr:#222;--border-color-selected-tr:#222;--icon-color-hover-tr:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--icon-color-selected-tr:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--bg-color-hover-td:#6283a2;--bg-color-selected-td:#6283a2;--bg-color-disabled-td:#484848;--bg-color-disabled-hotkey-table-td:#484848;--border-color-hover-td:#222;--border-color-selected-td:#1890ff;--icon-color-hover-td:invert(96%) sepia(0%) saturate(0%) hue-rotate(134deg) brightness(105%) contrast(104%);--icon-color-selected-td:invert(96%) sepia(0%) saturate(0%) hue-rotate(134deg) brightness(105%) contrast(104%);--icon-color-disabled-td:invert(60%) sepia(95%) saturate(3%) hue-rotate(321deg) brightness(97%) contrast(89%);--font-color-disabled-td:#aeaeae;--bg-color-panel-tabs:#404040;--bg-color-panel-tabs-bottom:#2e2e2e;--bg-color-selected-tab:#4e4e4e;--bg-color-panel-tab:#2e2e2e;--bg-color-hover-panel-tab:#4e4e4e;--bg-color-selected-panel-tab:#4e4e4e;--border-color-panel-tab:#222;--border-color-hover-panel-tab:#222;--border-color-selected-panel-tab:#222;--font-color-panel-tab:#e5e5e5;--font-color-hover-panel-tab:#e5e5e5;--font-color-selected-panel-tab:#e5e5e5;--bg-color-panel:#353535;--bg-color-hover-layer-panel-tab:#6283a2;--bg-color-selected-layer-panel-tab:#4e4e4e;--icon-color-panel-content:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--font-color-panel-content:#e5e5e5;--border-color-layout_toggler:#404040;--bg-color-input:#4e4e4e;--border-color-input:#222;--icon-color-input:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--font-color-input:#e5e5e5;--font-color-input-placeholder:#e5e5e5;--range-current-background:#a2d2fd;--range-background:#4e4e4e;--bg-color-hover-input:#2e2e2e;--border-color-hover-input:#a2d2fd;--icon-color-hover-input:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--font-color-hover-input:#e5e5e5;--bg-color-focus-input:#2e2e2e;--border-color-focus-input:#a2d2fd;--icon-color-focus-input:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--font-color-focus-input:#e5e5e5;--bg-color-disabled-input:#2e2e2e;--border-color-disabled-input:#222;--icon-color-disabled-input:invert(59%) sepia(2%) saturate(91%) hue-rotate(2deg) brightness(95%) contrast(84%);--font-color-disabled-input:#8d8d8d;--bg-color-pop-up-title:#505050;--bg-color-pop-up-content:#404040;--bg-color-pop-up-sep:#404040;--font-color-pop-up:#e5e5e5;--has-border-dialog:1;--bg-color-button:#4e4e4e;--border-color-button:#222;--font-color-button:#e5e5e5;--bg-color-hover-button:#4e4e4e;--border-color-hover-button:#1890ff;--font-color-hover-button:#e5e5e5;--bg-color-active-button:#353535;--border-color-active-button:#1890ff;--font-color-active-button:#e5e5e5;--bg-color-disabled-button:#2e2e2e;--border-color-disabled-button:#222;--icon-color-disabled-button:invert(59%) sepia(2%) saturate(91%) hue-rotate(2deg) brightness(95%) contrast(84%);--font-color-disabled-button:#8d8d8d;--bg-color-disabled-primary-button:#8d8d8d;--font-color-disabled-primary-button:#e5e5e5;--font-color-disabled-link-button:#8d8d8d;--border-color-panel-divider:#222;--bg-color-tree:#6283a2;--font-color-tree:#e5e5e5;--icon-color-tree:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--bg-color-hover-tree:#6283a2;--icon-color-hover-tree:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--font-color-hover-tree:#e5e5e5;--bg-color-selected-tree:#6283a2;--icon-color-selected-tree:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--font-color-selected-tree:#e5e5e5;--icon-color-disabled-tree:invert(59%) sepia(0%) saturate(29%) hue-rotate(204deg) brightness(97%) contrast(100%);--font-color-hover-projectTree:#e5e5e5;--font-color-sch-leftTree:#e5e5e5;--bg-color-active-leftTreeSearch:#6283a2;--icon-color-active-leftTreeSearch:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--bg-color-libary-hover:#6283a2;--bg-color-version-extension:#2e2e2e;--bg-scrollbar-thumb:#868686;--bg-scrollbar-track:transparent;--bg-scrollbar-thumb-hover:#5d5d5e;--bg-scrollbar-thumb-selected:#5d5d5e;--bg-color-canvas-info:#353535;--border-color-canvas-info:#353535;--font-color-float-bar-wxpublic:#e5e5e5;--font-color-float-bar-wx:#e5e5e5;--font-color-float-bar-tel:#e5e5e5;--bg-color-tooltip:#505050;--icon-color-pcb:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);--bg-color-project-blank-page:#404040;--bg-color-data-thumb:#4e4e4e;--bg-color-footprint-wizard:#4e4e4e;--bg-color-hover-footprint-wizard:#6283a2;--bg-color-selected-footprint-wizard-reference:#1890ff;--bg-color-hover-footprint-wizard-reference:#d0d0cc;--bg-color-selected-design-rules:#6283a2;--bg-color-hover-design-rules:#6283a2;--border-color-color-button:#222;--icon-color--selected-text-style:none;--icon-color-Annotions:#e5e5e5;--bg-color-version-node:#d4c6ac;--font-color-version-node:#f0a040;--border-color-version-node:#e3b768;--icon-color-sch-table:invert(0.85);--icon-color-sch-table-disabled:invert(0.35);--bg-color-reuseTab:#404040;--language-list-shadow:3px 3px 6px 0 rgba(38,44,50,.8);--bg-color-table-waitDetermined:#474720;--bg-color-table-waitDistribution:#452d2d;--bg-color-table-notCheck:#2e2e49;--bg-color-table-perfetchMatch:#2c422c;--shadow-color-table-head:#222;--border-color-assembly_black:#e5e5e5;--bg-color-choose-device-dialog-hover:#434950}.container_lBSUE{background-color:var(--common-bg-color);overflow:hidden}.box_R9Qj5,.container_lBSUE{height:100%;width:100%}.box_R9Qj5{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:initial;-webkit-align-items:initial;-moz-box-align:initial;align-items:normal;-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;justify-content:normal}.box_R9Qj5 *{-moz-box-sizing:border-box;box-sizing:border-box}.left-side_134eD{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.main-side_enjgt{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-calc(100% - 36px);height:-moz-calc(100% - 36px);height:calc(100% - 36px);-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:initial;-webkit-align-items:initial;-moz-box-align:initial;align-items:normal;-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;justify-content:normal}.main-side_enjgt .lib-filter-select_ooy7m>[class^=eda-new-select-dropdown] input{padding:0 4px!important}.main-side_enjgt .lib-filter-select_ooy7m>[class^=eda-new-select-dropdown] li{display:block;line-height:22px;width:100%}.main-side_enjgt .lib-filter-select_ooy7m [class^=eda-new-select-dropdown-list]{overflow:hidden}.right-side_EdHNl{position:relative;z-index:9}");EQe=EQe.join("");tGi.exports={uuid:"72227bc5-9d3e-478a-901d-71cffdbe771c",locals:{container:"container_lBSUE",box:"box_R9Qj5","left-side":"left-side_134eD","main-side":"main-side_enjgt","lib-filter-select":"lib-filter-select_ooy7m","right-side":"right-side_EdHNl"},toString(){return EQe}}});var aGi=xe((Pwl,nGi)=>{var AQe=[];AQe.push('.down_ySYT1{display:inline-block;height:0;position:relative;vertical-align:text-top;width:10px}.down_ySYT1:before{border:5px solid transparent;border-top-color:#1890ff;content:"";left:2px;position:absolute;top:4px}.up_3qiQa{display:inline-block;height:0;position:relative;vertical-align:text-top;width:10px}.up_3qiQa:before{border:5px solid transparent;border-bottom-color:#1890ff;content:"";left:2px;position:absolute;top:-2px}.select-container_Yeiqw{background:var(--bg-color-drop-down-menu);border:1px solid var(--border-color-drop-down-menu);position:fixed;-webkit-transform:translateX(-webkit-calc(-100% + 72px));-moz-transform:translateX(-moz-calc(-100% + 72px));transform:translateX(calc(-100% + 72px));width:200px;z-index:9999}.select-container_Yeiqw ul{max-height:220px;overflow:auto;padding:10px 10px 0}.select-item_TlE5h{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;justify-content:normal;margin-bottom:10px}.select-item-name_Y7031{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hidden_D97Gh{display:none}');AQe=AQe.join("");nGi.exports={uuid:"9674bf83-9a4d-4bbf-88cc-44a22c6b26e3",locals:{down:"down_ySYT1",up:"up_3qiQa","select-container":"select-container_Yeiqw","select-item":"select-item_TlE5h","select-item-name":"select-item-name_Y7031",hidden:"hidden_D97Gh"},toString(){return AQe}}});var mGi=xe((MCl,pGi)=>{var OQe=[];OQe.push(".icon-eda-x-circle_kX0FD.clear-input-circle_KUsmP{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.container_ghCC-{-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-box-orient:vertical;flex-direction:column;-webkit-box-align:initial;-webkit-align-items:initial;-moz-box-align:initial;align-items:normal;height:100%;padding-right:5px;width:-webkit-calc(100% - 374px);width:-moz-calc(100% - 374px);width:calc(100% - 374px);-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.container_ghCC-,.screen-wrap_ufihc{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;justify-content:normal}.screen-wrap_ufihc{-webkit-box-orient:horizontal;-webkit-flex-direction:row;-moz-box-orient:horizontal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:var(--common-font-color);-webkit-flex-wrap:wrap;flex-wrap:wrap;gap:5px;padding:0 5px 5px}.table-container_wZElr{width:100%}.pagination-wrap_AgCfj{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;-webkit-align-self:flex-end;align-self:flex-end;height:24px;justify-content:flex-end;margin-top:12px;padding-right:5px;position:relative;z-index:2}");OQe=OQe.join("");pGi.exports={uuid:"e4ba6922-9171-4866-9ce0-ed2ed708afe4",locals:{"icon-eda-x-circle":"icon-eda-x-circle_kX0FD","clear-input-circle":"clear-input-circle_KUsmP",container:"container_ghCC-","screen-wrap":"screen-wrap_ufihc","table-container":"table-container_wZElr","pagination-wrap":"pagination-wrap_AgCfj"},toString(){return OQe}}});var TGi=xe((RTl,xGi)=>{var RQe=[];RQe.push(".rotation_Izfh-{animation:rotation_Izfh- 1.4s linear infinite;-moz-animation:rotation_Izfh- 1.4s linear infinite;-webkit-animation:rotation_Izfh- 1.4s linear infinite;-o-animation:rotation_Izfh- 1.4s linear infinite;-webkit-transform:rotate(1turn)}@-webkit-keyframes rotation_Izfh-{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}");RQe=RQe.join("");xGi.exports={uuid:"596c3c4b-1651-4170-ae68-e92e04c9501a",locals:{rotation:"rotation_Izfh-"},toString(){return RQe}}});var MGi=xe((zTl,SGi)=>{var _Qe=[];_Qe.push(".icon-eda-x-circle_9Ubxi.clear-input-circle_9K1zB{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.container_VURHN{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-align:initial;-webkit-align-items:initial;-moz-box-align:initial;align-items:normal;-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;background-color:var(--bg-color-panel);color:var(--common-font-color);height:100%;justify-content:normal;padding:4px;width:100%}.container_VURHN *{-moz-box-sizing:border-box;box-sizing:border-box}.btn-wrap_4SksH{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-pack:initial;-webkit-justify-content:initial;-moz-box-pack:initial;gap:5px;height:30px;justify-content:normal;padding-bottom:4px}.btn-wrap_4SksH,.btn-wrap_4SksH .default-btn_0GFNu{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.btn-wrap_4SksH .default-btn_0GFNu{border-radius:2px;font-size:12px;height:24px;min-width:0;text-align:center;width:24px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.btn-wrap_4SksH .other-btn_vuqXY{background-color:var(--bg-color-panel);border:1px solid var(--common-border-color);color:var(--common-font-color)}.btn-wrap_4SksH .other-btn-active_WD5ar{background-color:var(--bg-color-active-leftTreeSearch);border:1px solid var(--common-border-color);color:var(--font-color-selected-tree)}.btn-wrap_4SksH .place-btn_hyf6o{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;background-color:#1890ff;border:none;color:#fff;flex-grow:1}.btn-wrap_4SksH .place-btn_hyf6o:hover{background-color:#40a9ff}.btn-wrap_4SksH .place-btn_hyf6o[disabled]{background-color:var(--bg-color-disabled-primary-button);border-color:#d9d9d9;color:var(--font-color-disabled-primary-button)}.show-wrap_lSsyC{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;display:grid;flex:1;-webkit-flex-grow:1;flex-grow:1;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);overflow:hidden;position:relative;width:inherit}.show-wrap_lSsyC.show-one_G0tmZ>:not(.hidden_AjZ9t){grid-column:span 2;grid-row:span 2}.show-wrap_lSsyC.show-two_bhoh3>:not(.hidden_AjZ9t){grid-column:span 1;grid-row:span 2}.show-wrap_lSsyC.show-three_GR8hT>:not(.hidden_AjZ9t){grid-column:span 1;grid-row:span 1}.show-wrap_lSsyC.show-three_GR8hT>.hidden_AjZ9t+:not(.hidden_AjZ9t):nth-of-type(2),.show-wrap_lSsyC.show-three_GR8hT>:not(.hidden_AjZ9t):first-of-type{grid-row:1/3}.show-wrap-item_DiN-F{background-color:var(--common-bg-color);grid-column:span 1;grid-row:span 1;overflow:hidden;padding:1px;position:relative}.show-wrap-item_DiN-F div[data-thumb]{background-color:var(--bg-color-data-thumb);height:100%;position:relative;width:100%}.show-wrap-item_DiN-F div[data-thumb] img{position:absolute;-webkit-user-drag:none;-moz-user-drag:none;-ms-user-drag:none}.show-wrap_lSsyC .hidden_AjZ9t{display:none}.show-wrap_lSsyC .modal3DPreviewClick_uU8La{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;background-color:var(--common-bg-color);cursor:pointer;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:2}.show-wrap_lSsyC .cbb-tips_9wOoF{color:#1890ff;left:50%;position:absolute;text-align:center;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:2}.show-wrap_lSsyC .cbb-tips_9wOoF span{color:var(--common-font-color)}.show-wrap_lSsyC .cbb-tips_9wOoF a{cursor:pointer}.other-wrap_mrQ-C{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-top:4px}");_Qe=_Qe.join("");SGi.exports={uuid:"1caf82bb-9c9b-40dd-ae20-a99a7e69d524",locals:{"icon-eda-x-circle":"icon-eda-x-circle_9Ubxi","clear-input-circle":"clear-input-circle_9K1zB",container:"container_VURHN","btn-wrap":"btn-wrap_4SksH","default-btn":"default-btn_0GFNu","other-btn":"other-btn_vuqXY","other-btn-active":"other-btn-active_WD5ar","place-btn":"place-btn_hyf6o","show-wrap":"show-wrap_lSsyC","show-one":"show-one_G0tmZ",hidden:"hidden_AjZ9t","show-two":"show-two_bhoh3","show-three":"show-three_GR8hT","show-wrap-item":"show-wrap-item_DiN-F",modal3DPreviewClick:"modal3DPreviewClick_uU8La","cbb-tips":"cbb-tips_9wOoF","other-wrap":"other-wrap_mrQ-C"},toString(){return _Qe}}});var DGi=xe((e5l,vGi)=>{var zQe=[];zQe.push(".cbb_preview_container_r37H3{background-color:var(--common-bg-color);overflow:hidden;padding:1px;position:relative}.cbb_preview_container_r37H3 .preview_img_container_6pAKp{background-color:var(--bg-color-data-thumb);height:-webkit-calc(100% - 24px);height:-moz-calc(100% - 24px);height:calc(100% - 24px);overflow:hidden;position:relative;width:100%}.cbb_preview_container_r37H3 .preview_img_container_6pAKp .preview_img_awC8d{height:100%;left:0;object-fit:contain;position:absolute;top:0;-webkit-transform:translate(0) scale(1);-moz-transform:translate(0) scale(1);transform:translate(0) scale(1);width:100%}");zQe=zQe.join("");vGi.exports={uuid:"93ab71b2-6511-41f2-85d5-bb0f7f32cc7a",locals:{cbb_preview_container:"cbb_preview_container_r37H3",preview_img_container:"preview_img_container_6pAKp",preview_img:"preview_img_awC8d"},toString(){return zQe}}});var PGi=xe((l5l,kGi)=>{var UQe=[];UQe.push(".batch_preview_container_fIKL2{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);height:-webkit-calc(100% - 30px);height:-moz-calc(100% - 30px);height:calc(100% - 30px)}");UQe=UQe.join("");kGi.exports={uuid:"8fa2f13d-9867-4000-b194-c37dff99698c",locals:{batch_preview_container:"batch_preview_container_fIKL2"},toString(){return UQe}}});var BGi=xe((ISl,jGi)=>{var VQe=[];VQe.push('.split-line_by2YD{border:none;cursor:col-resize;font-size:1px;height:100%;left:-5px;margin:0;overflow:hidden;padding:0;position:absolute;top:0;width:5px;z-index:1}.split-line_by2YD,.split-line_by2YD:hover{background-color:var(--border-color-panel-divider)}.split-line_by2YD:hover{visibility:visible}.toggle_niG8e{background:var(--common-border-color-2);border:1px solid var(--border-color-panel-divider);-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;height:51px;margin-top:-25px;overflow:hidden;padding:0;position:absolute;top:50%;width:5px;z-index:1}.toggle_niG8e:after{border-bottom:4px solid transparent;border-right:4px solid var(--common-font-color);border-top:4px solid transparent;content:"";left:0;position:absolute;top:20px}.toggle-open_1cnmR:after{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);transform:rotate(180deg)}.toggle-close_5hKYT:before{-webkit-transform:rotate(1turn);-moz-transform:rotate(1turn);transform:rotate(1turn)}');VQe=VQe.join("");jGi.exports={uuid:"e1f17da0-fade-4ef8-92ad-7b07a4cb2706",locals:{"split-line":"split-line_by2YD",toggle:"toggle_niG8e","toggle-open":"toggle-open_1cnmR","toggle-close":"toggle-close_5hKYT"},toString(){return VQe}}});var GQe=xe((uMl,WGi)=>{var HQe=[];HQe.push('.sch-findtypelog_pof1Q{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding:5px 0 0 5px;position:relative}.sch-findtypelog_pof1Q .find-grid-parent_LZsKq{height:-webkit-calc(100% - 35px);height:-moz-calc(100% - 35px);height:calc(100% - 35px);overflow:auto;overflow-y:hidden;position:relative;width:-webkit-calc(100% - 220px);width:-moz-calc(100% - 220px);width:calc(100% - 220px)}.sch-findtypelog_pof1Q .find-grid-parent_LZsKq .find-grid_UXkOk{height:100%}.sch-findtypelog_pof1Q .pagination-wrap_l9oJ8{bottom:3px;position:absolute;right:0;width:280px;z-index:99}.sch-findtypelog_pof1Q .left-choose_Uty7u{float:left;height:-webkit-calc(100% - 33px);height:-moz-calc(100% - 33px);height:calc(100% - 33px);margin-right:10px;position:relative;width:200px}.sch-findtypelog_pof1Q .left-choose_Uty7u:after{border-right:1px solid var(--common-border-color-1);content:"";display:block;height:101%;position:absolute;right:-5px;top:0;width:1px}.sch-findtypelog_pof1Q .left-choose_Uty7u .clear-btn_-q4x0{margin-bottom:5px;width:100%}.sch-findtypelog_pof1Q .left-choose_Uty7u .type-list_Hjrfd{border:1px solid var(--common-border-color-1);height:-webkit-calc(100% - 34px);height:-moz-calc(100% - 34px);height:calc(100% - 34px)}');HQe=HQe.join("");WGi.exports={uuid:"7c5e6afd-5dd9-470d-99a8-d000181f559f",locals:{"sch-findtypelog":"sch-findtypelog_pof1Q","find-grid-parent":"find-grid-parent_LZsKq","find-grid":"find-grid_UXkOk","pagination-wrap":"pagination-wrap_l9oJ8","left-choose":"left-choose_Uty7u","clear-btn":"clear-btn_-q4x0","type-list":"type-list_Hjrfd"},toString(){return HQe}}});var rYi=xe((f6l,oYi)=>{var WQe=[];WQe.push(".pagination_qvOpq{bottom:1%;position:absolute;right:1%;z-index:99}");WQe=WQe.join("");oYi.exports={uuid:"ee4ac78a-49d9-4d10-9188-cbd18cb60155",locals:{pagination:"pagination_qvOpq"},toString(){return WQe}}});var lYi=xe((NIl,sYi)=>{var ZQe=[];ZQe.push(".pcb-comparison-result-table_x4Ynh tr{cursor:pointer}");ZQe=ZQe.join("");sYi.exports={uuid:"f34a111b-93c9-46e2-ab99-c969044c6e47",locals:{"pcb-comparison-result-table":"pcb-comparison-result-table_x4Ynh"},toString(){return ZQe}}});var pYi=xe((JIl,WDr)=>{WDr.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIGZpbGw9JyMzMzMnIHZpZXdCb3g9JzAgMCA4IDgnPjxwYXRoIGQ9J00yLjc1IDBsLTEuNSAxLjVMMy43NSA0bC0yLjUgMi41TDIuNzUgOGw0LTQtNC00eicvPjwvc3ZnPg=="});var hYi=xe((qIl,mYi)=>{var rX=[];rX.push(".commandContainer_-XpsX{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.commandHistory_uZr8b{margin:8px;overflow-y:auto}.commandHistory_uZr8b,.commandLineWrap_3dWNk{border:1px solid var(--common-border-color-2)}.commandLineWrap_3dWNk{bottom:36px;height:26px;left:8px;position:absolute;right:8px}.commandLine_6Vsj4{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;padding-top:5px}.weui-control-next-icon_B8Xk8{background:");rX.push("url(");rX.push(JSON.stringify(pYi()));rX.push(")");rX.push(";-webkit-filter:var(--icon-color-input);filter:var(--icon-color-input);height:10px;width:10px}.input_inCMQ{color:var(--font-color-input);font-size:14px;padding-left:4px;width:100%}.input_inCMQ,.input_inCMQ:focus{background-color:transparent;background-color:initial;border:none}.input_inCMQ:focus{color:var(--font-color-focus-input)}");rX=rX.join("");mYi.exports={uuid:"a7a9e252-d494-42ae-a60e-74195f5371b4",locals:{commandContainer:"commandContainer_-XpsX",commandHistory:"commandHistory_uZr8b",commandLineWrap:"commandLineWrap_3dWNk",commandLine:"commandLine_6Vsj4","weui-control-next-icon":"weui-control-next-icon_B8Xk8",input:"input_inCMQ"},toString(){return rX}}});var xYi=xe((evl,CYi)=>{var my=[];my.push(".container_md447{display:grid;grid-gap:8px;border:1px solid var(--common-border-color);gap:8px;padding:16px}.container_md447 .line_WiWrJ{display:grid;grid-template-columns:1fr 4fr;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_md447 .line_WiWrJ .preview_Pq3AX{background-size:cover;height:48px;width:48px}.container_md447 .line_WiWrJ .preview_Pq3AX[data-value=horizontal_vertical]{background-image:");my.push("url(");my.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAFSElEQVR4Xu3d23bbMAxE0fj/P9pdcesmcSSLF4AcAKevlShquBcJ0k5yu9/v9w/+kYBxAjdgGSdKc48EgAUElwSA5RIrjQILAy4JAMslVhoFFgZcEgCWS6w0CiwMuCRgC+t2++ok564uAxalUT9YzwQAFsWCaT9tYT2OXL/NWt+7CjDTgVNvzB7W840Bpj72rv3zgwUw14FTb9wfFsDUDbj0bx0sgLkMoGqj62EBTNWCab/2wQKY6UCqNbYfFsDUTJj0pw3W2dGBSReuGzk5Gbu+kStcEmj5NjuwXKLP3agdrHcn6s4ZMls5BzzQvC2sgQ403cIJfVNMOy66vYxNC6j/JfO2n9IB1A4rzc+cQfVY4JbDAlTz4O648BXUZx96Zqr1MxagdjjpeqYVqjUzFqC6BnfXxZaofGEBapeR7ufO1lNHD7SvsQDVPbA7b/BAZT9jHaHim6M73Zw+23rpe32Q7YzFD1NIIvo16AcTwMjO793L2sIKEWvtTnrPVOuPG2qPp8Tbr0JlX2NJxEcnDndpEx/PjCTKUjiSWrB7vHZ+1FjBIFh1d+XS57srtEqEdqYT2ImKGmt6+DQb2I0KWJoupnq1o5463Cws/9rMVGzc/LZgXrzzo3hP7lFh6aN4T4ZMERU1VnBkqqiAFRiWMipgBYWlsvOjeA8K6HAbL7TzA1YCWOpLH7vCgMiioaLGCoAsIipgicOKUKSfRcj3sURxRUbFjCWIKurSR/EuiOnZpSyomLGEkGVCBSwRWNlQAUsAVvQinV2hAKJfBW6Qj2dGouO4YSS1yXsyLn3sCidRzN5eARU11qySzvuroAJWJ4yZy7MW6RTvMyom762GihlrEszV7ZWWPor3Kw1G/18ZFTOWEaKr86nP/7f+jXlOXTdrlnMssyj/NlR9pnrGCSxDWBWLdHaFhoCOmgLVz1SYsSbBsfQdBwisCVigOg8PWIOwQPU+OGANwKKeug4NWNcZ/bgCVG2BAastJ86nGnPiHKsjKOqpjrD+XcqMdZEZqPpRPT6B4JfbvtkyL/grWWPDpn8XsE7GiCJ9Di+wDvID1RwqlsKX/Kin5kGxKwSVnaKjWZ/ine9QeQgrX2NRT3mwKn7cACofVGWLd4p0P1Bli3dQ+aMqN2OBag2qUrBAtQ5VGVgU6WtRlYAFqvWoUsNi6dsDKvWuEFR7UaWcsUC1H1U6WNRTGqhSwQKVDqoUsFj6tEClKN5BpYkq9IwFKl1UYWGBShtVSFgU6fqowsECVQxUYWCx9MUBFWZXCKp4qORnLFDFRCUNi3oqLipZWKCKjUoOFktffFByxTuo8qCSmbFAlQuVBCxQ5UO1HRZFek5UW2GBKi+qLbBY+nKD2rIrBFUNVEtnLFDVQbUMFvVULVRLYIGqHipXWCx9NUG5Fu+gqo3KZcYClRCq73+y5X5f2jHT35oMqqVjd/2wg78F9LEImBksivTrcd5yxRGuz444AzOBBaotZPoeuhjYFCyWvr6xlbh6EbBhWKCSYDLeCWdgQ7BANT6ecnc6AeuGRT0lR8OmQ8bAumCBymYMpVsxAtYEi6VPmoJP5yaBDcPyeRtabUlg7Rn6QY8azsCA1TKSYtekgfX4UPFsahQLvUp3tuFqmK1cPoSuMrBp33Oytnrm0rQUpg2RF/tKwAgUsED1NwFjUMCqDssJFLCqwnIGBaxqsBaBAlYVWItBAasCrAxfTa4wTuHeMcsPU4QLng67JcABqVu0tRsGVu3xd3t7YLlFW7thYNUef7e3B5ZbtLUbBlbt8Xd7e2C5RVu7YWDVHn+3t/8DGX31bI4q1T8AAAAASUVORK5CYII="');my.push(")");my.push("}.container_md447 .line_WiWrJ .preview_Pq3AX[data-value=vertical_horizontal]{background-image:");my.push("url(");my.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAF90lEQVR4Xu3d0XqjOgyF0eb9Hzrz0QxNSgHLtrax0H8uJ0YYaR1hTNo+ns/n84v/yIBzBh7Acs4o4b4zACwgSDIALElaCQosDEgyACxJWgkKLAxIMgAsSVoJCiwMSDLgC+vxeE2SPVdJsRRBH2vNvsvmt1fuB+tjgsBSENDEBJYmr6mjfqJ63WjoWKlBeFz8FhWwPLKaPMYeKmAlR9F7+UeogNWb2cTH762pWLwnBuF16XuIgOWV3aRxjp4AgZUUhMdln20rXAvLsqNes0FqieeRUWJ8lfaq5oB19rrGCss6DhTdGSihWk4ArO405wpgQXU9rNcM3pXZ2/ovfW6Jkav2squ1ogKWrAT3DBwLVqnjlDpW6fN71nj4VdWgmqNjAWs4ktoT1qKaB9YZrrOORLeqNVI9vgUVsKrTnOuAVlRzwTrqWkddiW4lVd6DCljS0sQO3rvB2Xv8Ufbav/O+7UR7nYluJVXb263m61h7t0NgSRFtg3ugmhPWFtfnlS8783QrGTQvVMCSlSheYE9U88I661przRx/pCgeA98Ze6MClm99QkZToJobVmmtFbKM800aWNtF/Hw1CjcjFar5O9Ze12Jt5QJYiQpYLiWKF0SNKgSsJQk/v1KCbtWteASqMLDeOwx+v7Wku0IBA4xCBayAOHqmrHoxvDcn1bnaX0JvZqmaYE+BIh47slvRsSIKaZjzaFTAaihStEOuQAWsaEoq53sVKmBVFirS8CtRASuSlIq5Xo0KWBXFijQUWIZqsd1gSNLHkBlQ0bHqajb96FlQAWt6KvYJzoQKWPa6TT1yNlTAmpqLbXIzogKWrXZTj5r14UY1L15CD+A4a7eiYw0ovuoUM6MClqrq4rizowKWGIAifARUwFJUXhgzCipgCRF4h46EClje1RfGA9YruWw3OCKLhoqO5Vh8VaiIqICl0uAUNyoqYDkBUISJjApYChEOMaOjApYDAkUI1QtcxVyPYqqugafCxireoVvRsRqLrzrsLqiApRLSEPdOqIDVAEBxyN1QAUuhpDLmHVEBqxKB9/C7ogKWt5TKeMCqTBgvocsJuzMqOla5/pIRd0cFLAmb86AZUAFrMKwsqIA1EFYmVMC6CNYzwR9C4CX0AFzZuhUdC1SyDNCxZKld/nz141f0DLfA9YKBJYKVGRW3QlCJMvC7W3t26rTfIM3eqbgViv5fBdYrsayxHIGB6p1MYDnBAtXvRALLARao/iYRWJ2wQLWfQGB1wALVcfKA5QTLc6+mY0rTHAqsxlLQrc4TB6wGWKAqJw1Y5Rz9GgEqW8KAZcvTn93k5R9YV7F4r+BTfnwGVTmddKxyjlJ/r8qQnt0hwDJkjnWVIUmbIcAq5AxU9aiWI4B1kjdQtaECFqja5VR0es+n59DfIKVT9XvjVniy6GRboR0YsAY9zbSXKOaRwPqoG7dAP8TA+p9LUPmhWp8Kn2tIx99VEWrxDipfVN/RPn8KPCMsUAlQZYcFKhGqzLBAJUQFrHdyPXeHxSWLET7jGotuNcBmNligGoAq260QVINQZYIFqoGossAClTOqdf10tvFZs8ayxFvfkDydHrM83jl5xHAuTexwFjSWMQ2dbZpXOnQrgWELGsuYqLBAJUC1hizBKX3egOr7kKtvhaASorKguCMsUIlRWbpWCVbp84NLuKxjgWoQqlLXKsEpfT4TLFANRFXqWmdwGlFdtsYCFrDMGbDuQYHKnFL/gXsd6KgrdXSr4R0LVP5WqiLeERaoqgjoBm9x1WCrmNWQp0JQVVREPfQusEClltIQf/P3GX8iLC+rO9dWPw+h6p1366K+IT0c0pqB6LDoVq2VH3DcEa711J0/YyhbY4FqAI6eU0SEtb1ep6989aSRY/cycHZL7MyYpGN9zglUnRVSHh4VFqiUKpxib3F1rq2kT4VLcFA5FV4dZnZYy/WztaBWIIpf8UMS1hm4rbGsJ2RcjgwAK0edh18lsIanPMcJgZWjzsOvEljDU57jhMDKUefhVwms4SnPcUJg5ajz8KsE1vCU5zjhP+JbC6gtxmOKAAAAAElFTkSuQmCC"');my.push(")");my.push("}.container_md447 .line_WiWrJ .preview_Pq3AX[data-value=vertical_horizontal_reverse]{background-image:");my.push("url(");my.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAPgSURBVHhe7drbjhMxEEXRhP//ZxjDGDoml267qlyXvSTEW0S69xwbae4/v9wAYT++/wZEERZUEBZUEBZUEBZUEBZUEBZUEBZUiIZ1v9///kEg7X0JvzOxsIgpqON7E3yHakchodWmesciLueevR+hd6Z+eSeumlTCGn9hgrgcevdOBN6X2mIRV22qRyG/6uXUqx/y4/taHAL1O9YRq1WHelgcic4cn/+zE0VotUwWi7jqMTsKicuBT2vVCayW6R2LuOowDashrk3OrlW3uFrmYaGGLWGxWsaurlW3sFrbFou4ctt6FBKXgdm16iZXa/sdi7hycnF5Jy4lq2vVTayWi7CaMS7E5iasEaslSOKH9uJnuAqLI1FYe56SJ8GFz3O3WMSVg8ujkLjic3vHIq7Y3IbVEFdcrsNCXO7DYrViCrFYxBVPmKOQuGIJdcciLnlaTzDc5Z245LUnKP0Uw4XVjHHBn5BhjVgtf8KGxZHoW+jFIi6/wh+FxOVTijsWcfmTIqyGuHxJExZ8SRUWq+VHusUiLh9SHoXEtV/aOxZx7ZX68k5c+6QOqxnjgo30YY1YLRslwuJItFdmsYjLVqmjkLjslLtjEZeNcmE1xKWvZFjQVzYsVktX6cUiLj3lj0Li0sEd6wtxySOsb8Qli7AOxrgwj7DeYLXmEdaAI1EGYT1BXOsI6wXiWkNYbxDXPML6gLjmEBZUENYJrNZ1hHUScV1DWBcQ13mEdRFxnUNYE4jrM8KaNMaFR4QlhNV6RFgLOBJfI6xFxPUcYQkgrv8RlhDiekRYgojrH8KCCsISxmr9QVgKiIuw1FSPi7AUVY6LsJRVjYuwDIxxVUBYG1RYLcIyUu1IJCxDleIiLGNV4iKsDSrERVibZI+LsKCCsDbKvFqEtVnWuAjLgYxxEZYT2eIiLEcyxUVYzoxxRUVYzkVdLdGw2s9ajp+3vTIciWJhPTyKBP+r2S16XByFjkWOSyasZ1+Y1RIRNS4WK4CIca2H9e5LslplsVhBRFuttbBefbnjQ2C1xESKi8UKJkpc82Edv9DwZX9jtdREiIvFCsp7XHNhfVqrjtVSNcblCYuViKfVuh7W2bXqWC1VXo9EFisBj3FdC+vqWnWsljpvcbFYiXiK63xYs2vVsVomvMTFYkHFubBW16pjtUx4WC0WK6ndcV0La2WtOonPwCk74zoXVvsHSgYh/Xl4aVdcHIUF7IiLsIoY49JGWEVprxZhFWJ5JBJWMVZHImEVZBEXYRWlHRdhFaYZl1xYRmc3Yrh/VUsREMdRCBWEBRWEBRWEBRWEBRWEBRWEBRWEBQW32y93yJs/5FKtRAAAAABJRU5ErkJggg=="');my.push(")");my.push("}.container_md447 .line_WiWrJ .preview_Pq3AX[data-value=horizontal_vertical_reverse]{background-image:");my.push("url(");my.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAP3SURBVHhe7drbbttADEXRuP//z62JZNDGoV1ZIjm87A0EfVQAr0inI99+3/sgMu7X179EpgGLXAIWuQQscglY5BKwyCVgkUvAIpeA1bnb7e9PcMCaUjAwYHVOe1sXBIx3hVN6hsnp4wfWtIKAAWtqzsCANT0nYMCiz4yBAYu+ZwTsMKzbswvSlrbdDQ4CO3SOBapcbX3EHLTAASm5dOhRqN2xmGbNu7i13hrvj8DA1bCLoFZv/68QXE0zArU6ddzAo7FRxqBWp2BJ4CqeE6jVaVgSuArmDGp1CdaK3VWgIFArE1gSuJIWDGplBkvi0ZgsDVXQ52F68q4h0rDRhuSzCfwjN71jrbhzkcu7Qu5c5PYSWnA9AgPXnNy/3QCumYV8bUbDBbDehcCS2F2zCoMlgWtOobAkwcXu6l84rBW4ercNlqThAliPtsKS2F092w5LAle/UsCSwNWrNLAkwaXtLqpXKlgrcNUvJSxJwwWwOqWFJbG76pYalgSumqWHJQkudletSsBagatOpWBJGi6A5ascLIndlb+SsCRw5a4sLAlceSsNSxJc2u6ivZWHtQJXrtrAkjRcANtTK1gSuytH7WBJ4NpfS1iS4GJ37astrBW49tQelqThAphvI2BJ7K7YxsCSwBXXKFgSuGIaB0sSXNruIrtGwlqBy6/RsCQNF8CuNx6WxO6yD1hfgcs2YP2T4GJ32QQsJXBdD1hP0nAB7HjAehG763zA+k/gOhewDgSu9wPWwQSXtrtID1hvBq5jAetEGi6AfQ9YJ2N3vQ5YFwLX84B1McHF7voZsIwC1/eAZZiGayowYBnH7voMWA6BC1huTccFLMcEl7a7JgSsgCbiAlZQGq7OwIAV2KTdBazgpuAC1oYEV/fdBayNdcYFrM1puDoAA1aCOu4uYCWpGy5gJaoTLmAlS3Bpu6tawEpadVzASpyGqwowYCWv6u4CVoEq4gJWkQRXpd0FrGJVwQWsgmm4sgEDVtGy7y5gFS4zLmAVLysuYDVIcGm7a2fAalQmXMBqloZrBzBgNSzD7gJW03bjAlbjBNeu3QWsAe3ABawhabg8gQFrUJG7yxaW/JLrh1IWhcvvjgWwtEXgut0v8vMqV3r2Cxpfhmx6BGXFwR7WCmBl8sDlB2sFsBJpj8IrNPxhrQCWPktccbBWAEudFa54WCuApe7q7toHawWwtF3BdRzWMwDO7bkqveoImWMHpJtQSdy3asa7QnJp/8ZasbVaxXgnlzhuIJfiYQFqRHGwADUqf1iAGpkfLECNzh4WoOie/XfeHxNQoBqX38k7oEYXf9xAI+JdIbkELHIJWOQSsMglYJFLwCKXgEUuAYsc+vj4A4esT62wYFM7AAAAAElFTkSuQmCC"');my.push(")");my.push("}");my=my.join("");CYi.exports={uuid:"e912a70d-615c-4045-b224-7d6415c50383",locals:{container:"container_md447",line:"line_WiWrJ",preview:"preview_Pq3AX"},toString(){return my}}});var OYi=xe((NDl,PYi)=>{var dKe=[];dKe.push(".modify-text-suspension-container_dm6Yh{background-color:var(--common-bg-color);box-shadow:0 0 10px 5px #666;left:0;overflow:auto;padding:2px;position:absolute;top:0}.modify-text-suspension-container_dm6Yh .textarea_vEMeY{height:144px;line-height:16px;padding:5px;resize:auto;width:255px}.modify-text-suspension-container_dm6Yh .bottom-tip_SMGpV{color:var(--icon-color-Annotions);margin-left:1px}");dKe=dKe.join("");PYi.exports={uuid:"ef30480a-0242-494b-b6c2-38c70d25903e",locals:{"modify-text-suspension-container":"modify-text-suspension-container_dm6Yh",textarea:"textarea_vEMeY","bottom-tip":"bottom-tip_SMGpV"},toString(){return dKe}}});var BYi=xe((mEl,jYi)=>{var uKe=[];uKe.push(".table-head-container_-HG5B{width:100%}");uKe=uKe.join("");jYi.exports={uuid:"b7e4ceec-477e-4151-9533-37493da67d46",locals:{"table-head-container":"table-head-container_-HG5B"},toString(){return uKe}}});var UYi=xe((CEl,FYi)=>{var pKe=[];pKe.push(".table-body-container_qmSfA{overflow-x:hidden;overflow-y:auto;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}");pKe=pKe.join("");FYi.exports={uuid:"82632cf4-2ded-4f4d-9ddb-c9c88ef96a59",locals:{"table-body-container":"table-body-container_qmSfA"},toString(){return pKe}}});var HYi=xe((NEl,VYi)=>{var hKe=[];hKe.push(".table-foot-container_rYXh8{width:100%}");hKe=hKe.join("");VYi.exports={uuid:"80680eb0-110c-4203-b739-916300e83a19",locals:{"table-foot-container":"table-foot-container_rYXh8"},toString(){return hKe}}});var WYi=xe((BEl,YYi)=>{var fKe=[];fKe.push(".table-container_yKMYP{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;max-height:100%;overflow-x:auto;position:relative}.table-container_yKMYP table{border-spacing:0;-moz-box-sizing:border-box;box-sizing:border-box;table-layout:fixed}.table-container_yKMYP table td,.table-container_yKMYP table th{border:1px solid transparent;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-table);font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-container_yKMYP table th{background-color:var(--bg-color-table-header)}.table-container_yKMYP table thead tr td,.table-container_yKMYP table thead tr th{border-right:1px solid var(--border-color-table-header);border-top:1px solid var(--border-color-table-header)}.table-container_yKMYP table thead tr td:first-child,.table-container_yKMYP table thead tr th:first-child{border-left:1px solid var(--border-color-table-header)}.table-container_yKMYP table tbody tr th,.table-container_yKMYP table tbody tr:first-child td{border-top:1px solid var(--border-color-table-body)}.table-container_yKMYP table tbody tr td,.table-container_yKMYP table tbody tr th{border-bottom:1px solid var(--border-color-table-body);border-right:1px solid var(--border-color-table-body)}.table-container_yKMYP table tbody tr td:first-child,.table-container_yKMYP table tbody tr th:first-child{border-left:1px solid var(--border-color-table-body)}.table-container_yKMYP table tfoot tr td,.table-container_yKMYP table tfoot tr th{border-bottom:1px solid var(--border-color-table-header);border-right:1px solid var(--border-color-table-header)}.table-container_yKMYP table tfoot tr td:first-child,.table-container_yKMYP table tfoot tr th:first-child{border-left:1px solid var(--border-color-table-header)}");fKe=fKe.join("");YYi.exports={uuid:"c0cdfc2b-006e-4fcc-abb1-84db48039b31",locals:{"table-container":"table-container_yKMYP"},toString(){return fKe}}});var eWi=xe((vAl,$Yi)=>{var bKe=[];bKe.push(".icon-eda-x-circle_fZSFO.clear-input-circle_CzmG4{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.left-panel_NigRp{border-right:thin solid var(--common-border-color-1);-webkit-flex-shrink:0;flex-shrink:0;padding:5px;width:208px}.left-panel_NigRp,.left-panel_NigRp .menu-container_oiGiH{-moz-box-sizing:border-box;box-sizing:border-box;height:100%}.left-panel_NigRp .menu-container_oiGiH{border:thin solid var(--common-border-color-1);overflow:auto;padding:8px}");bKe=bKe.join("");$Yi.exports={uuid:"fc416592-d7a4-4c25-9088-25f7e25eaa46",locals:{"icon-eda-x-circle":"icon-eda-x-circle_fZSFO","clear-input-circle":"clear-input-circle_CzmG4","left-panel":"left-panel_NigRp","menu-container":"menu-container_oiGiH"},toString(){return bKe}}});var oWi=xe((RAl,iWi)=>{var wKe=[];wKe.push(".content-panel_GTZP9{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;overflow:auto;padding:5px}");wKe=wKe.join("");iWi.exports={uuid:"8628217e-4bd5-4698-8bc5-ac84d411515e",locals:{"content-panel":"content-panel_GTZP9"},toString(){return wKe}}});var gfe=xe((XAl,lWi)=>{var jo=[];jo.push(".panelTreeDiv_y-GfW{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:-webkit-calc(100% - 85px);height:-moz-calc(100% - 85px);height:calc(100% - 85px)}.panelTreeDiv_y-GfW .tree-expand_3e0ka{background:");jo.push("url(");jo.push(JSON.stringify(Ow()));jo.push(")");jo.push(" no-repeat;height:16px;width:16px}.panelTreeDiv_y-GfW .tree-collapse_o2bVU{background:");jo.push("url(");jo.push(JSON.stringify(qx()));jo.push(")");jo.push(" no-repeat;height:16px;width:16px}.panelTreeDiv_y-GfW .icon-wrap_wQEJa{border:1px solid var(--common-border-color-1);border-top:none;height:24px;z-index:1}.panelTreeDiv_y-GfW .icon-wrap_wQEJa span{display:inline-block;height:22px;width:22px}.panelTreeDiv_y-GfW .icon-wrap_wQEJa .tree-icon_knQck{background-position:50%;background-repeat:no-repeat;background-size:16px 16px!important}.panelTreeDiv_y-GfW .hightlight_50eUf{background:var(--common-bg-color-highLight-item)}.hidden_S-aNl{display:none}.eye-opacity_wsfat{opacity:.3!important}.leftTreeSearch_F2GS1{border:none;height:25px;margin:4px 5px}.leftTreeSearch_F2GS1,.leftTreeSearch_F2GS1 .icon_wrap_fb6a1{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.leftTreeSearch_F2GS1 .icon_wrap_fb6a1{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;border:1px solid var(--border-color-input);cursor:pointer;height:24px;width:24px}.leftTreeSearch_F2GS1 .icon_wrap_fb6a1.active_yJAfR{background-color:var(--bg-color-active-leftTreeSearch)}.leftTreeSearch_F2GS1 .icon_q1Ph7{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;display:inline-block;height:24px;width:24px}.leftTreeSearch_F2GS1 .icon_q1Ph7.active_yJAfR{-webkit-filter:var(--icon-color-active-leftTreeSearch);filter:var(--icon-color-active-leftTreeSearch)}.leftTreeSearch_F2GS1 .icon_wrap_fb6a1:first-child{border-radius:2px 0 0 2px}.leftTreeSearch_F2GS1 .icon_wrap_fb6a1:nth-child(2){border-left:none;border-radius:0;border-right:none}.locateContainer_0C9e7{margin:8px 0}.locateContainer_0C9e7 span{border-right:1px solid var(--border-color-panel-tab);color:var(--font-color-panel-tab);cursor:pointer;display:inline-block;text-align:center;width:50px}.locateContainer_0C9e7 .active_yJAfR{color:#1890ff}.bSizeTopMenu_GTBDI,.icon-eda-project-fill_iRqLY{background-repeat:no-repeat;background-size:100% 100%}.icon-eda-project-fill_iRqLY{background-image:");jo.push("url(");jo.push(JSON.stringify(Lie()));jo.push(")");jo.push("}.icon-eda-project_ZYM5x{background-image:");jo.push("url(");jo.push(JSON.stringify(dAe()));jo.push(")");jo.push(";background-repeat:no-repeat;background-size:100% 100%}.icon-color-orange_b6QEI{-webkit-filter:invert(75%) sepia(62%) saturate(2371%) hue-rotate(332deg) brightness(99%) contrast(104%);filter:invert(75%) sepia(62%) saturate(2371%) hue-rotate(332deg) brightness(99%) contrast(104%)}.icon-eda-text_yjwD6{background-image:");jo.push("url(");jo.push(JSON.stringify(h3e()));jo.push(")");jo.push("}.icon-eda-rectangle_lkqb0,.icon-eda-text_yjwD6{background-repeat:no-repeat;background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-rectangle_lkqb0{background-image:");jo.push("url(");jo.push(JSON.stringify(Zce()));jo.push(")");jo.push("}.icon-eda-ellipse_9-Fqs{background-image:");jo.push("url(");jo.push(JSON.stringify(Jce()));jo.push(")");jo.push("}.icon-eda-ellipse_9-Fqs,.icon-eda-image_Z0xUy{background-repeat:no-repeat;background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-image_Z0xUy{background-image:");jo.push("url(");jo.push(JSON.stringify(s3e()));jo.push(")");jo.push("}.icon-eda-dimension_Nhymr{background-image:");jo.push("url(");jo.push(JSON.stringify(y8e()));jo.push(")");jo.push("}.icon-eda-dimension_Nhymr,.icon-eda-dimension-length_SCSXQ{background-repeat:no-repeat;background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-dimension-length_SCSXQ{background-image:");jo.push("url(");jo.push(JSON.stringify(IAe()));jo.push(")");jo.push("}.icon-eda-dimension-degree_fdZgZ{background-image:");jo.push("url(");jo.push(JSON.stringify(LAe()));jo.push(")");jo.push("}.icon-eda-dimension-degree_fdZgZ,.icon-eda-dimension-radius_Knazb{background-repeat:no-repeat;background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-dimension-radius_Knazb{background-image:");jo.push("url(");jo.push(JSON.stringify(vAe()));jo.push(")");jo.push("}.icon-eda-bezier-2_Zh02j{background-image:");jo.push("url(");jo.push(JSON.stringify(qce()));jo.push(")");jo.push("}.icon-eda-bezier-2_Zh02j,.icon-pen-tool_2Bmn-{background-repeat:no-repeat;background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-pen-tool_2Bmn-{background-image:");jo.push("url(");jo.push(JSON.stringify(g3e()));jo.push(")");jo.push("}.icon-eda-panel_FPcLx{background-image:");jo.push("url(");jo.push(JSON.stringify(u3e()));jo.push(")");jo.push(";background-repeat:no-repeat;background-size:100% 100%}.icon-eda-combination_tVgsQ{background-image:");jo.push("url(");jo.push(JSON.stringify(Ppt()));jo.push(")");jo.push("}.icon-eda-arc_pTstG,.icon-eda-combination_tVgsQ{background-repeat:no-repeat;background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-arc_pTstG{background-image:");jo.push("url(");jo.push(JSON.stringify(m3e()));jo.push(")");jo.push("}.icon-eda-auxiliary_g9XIg{background-image:");jo.push("url(");jo.push(JSON.stringify(L3e()));jo.push(")");jo.push("}.icon-eda-auxiliary_g9XIg,.icon-eda-auxiliary-horizontal_Ci1Y4{background-repeat:no-repeat;background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-auxiliary-horizontal_Ci1Y4{background-image:");jo.push("url(");jo.push(JSON.stringify(v3e()));jo.push(")");jo.push("}.icon-eda-auxiliary-vertical_2rgjL{background-image:");jo.push("url(");jo.push(JSON.stringify(D3e()));jo.push(")");jo.push("}.icon-eda-auxiliary-point_HpzcZ,.icon-eda-auxiliary-vertical_2rgjL{background-repeat:no-repeat;background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-auxiliary-point_HpzcZ{background-image:");jo.push("url(");jo.push(JSON.stringify(E3e()));jo.push(")");jo.push("}.icon-eda-eye_jpX--{background-image:");jo.push("url(");jo.push(JSON.stringify(s3()));jo.push(")");jo.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-eye_jpX--,.icon-eda-lock_1B60c{background-repeat:no-repeat;background-size:100% 100%}.icon-eda-lock_1B60c{background-image:");jo.push("url(");jo.push(JSON.stringify(z8e()));jo.push(")");jo.push("}.eye-hidden_48i-N,.icon-eda-lock_1B60c{-webkit-filter:invert(24%) sepia(53%) saturate(6676%) hue-rotate(352deg) brightness(97%) contrast(131%);filter:invert(24%) sepia(53%) saturate(6676%) hue-rotate(352deg) brightness(97%) contrast(131%)}.eye-hidden_48i-N{background:");jo.push("url(");jo.push(JSON.stringify(Jx()));jo.push(")");jo.push(";background-position:50%}.icon-eda-unlock_DeqdK{background-image:");jo.push("url(");jo.push(JSON.stringify(B8e()));jo.push(")");jo.push(";background-repeat:no-repeat}.icon-eda-filter_0KR72,.icon-eda-unlock_DeqdK{background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon-eda-filter_0KR72{background-image:");jo.push("url(");jo.push(JSON.stringify(hAe()));jo.push(")");jo.push("}.icon-eda-zoom_-bi2F{background-image:");jo.push("url(");jo.push(JSON.stringify(j8e()));jo.push(")");jo.push(";background-repeat:no-repeat;background-size:100% 100%;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:16px;width:16px}");jo=jo.join("");lWi.exports={uuid:"0bd75d8d-3a5a-427f-ba68-abb1a7167669",locals:{panelTreeDiv:"panelTreeDiv_y-GfW","tree-expand":"tree-expand_3e0ka","tree-collapse":"tree-collapse_o2bVU","icon-wrap":"icon-wrap_wQEJa","tree-icon":"tree-icon_knQck",hightlight:"hightlight_50eUf",hidden:"hidden_S-aNl","eye-opacity":"eye-opacity_wsfat",leftTreeSearch:"leftTreeSearch_F2GS1",icon_wrap:"icon_wrap_fb6a1",active:"active_yJAfR",icon:"icon_q1Ph7",locateContainer:"locateContainer_0C9e7",bSizeTopMenu:"bSizeTopMenu_GTBDI","icon-eda-project-fill":"icon-eda-project-fill_iRqLY","icon-eda-project":"icon-eda-project_ZYM5x","icon-color-orange":"icon-color-orange_b6QEI","icon-eda-text":"icon-eda-text_yjwD6","icon-eda-rectangle":"icon-eda-rectangle_lkqb0","icon-eda-ellipse":"icon-eda-ellipse_9-Fqs","icon-eda-image":"icon-eda-image_Z0xUy","icon-eda-dimension":"icon-eda-dimension_Nhymr","icon-eda-dimension-length":"icon-eda-dimension-length_SCSXQ","icon-eda-dimension-degree":"icon-eda-dimension-degree_fdZgZ","icon-eda-dimension-radius":"icon-eda-dimension-radius_Knazb","icon-eda-bezier-2":"icon-eda-bezier-2_Zh02j","icon-pen-tool":"icon-pen-tool_2Bmn-","icon-eda-panel":"icon-eda-panel_FPcLx","icon-eda-combination":"icon-eda-combination_tVgsQ","icon-eda-arc":"icon-eda-arc_pTstG","icon-eda-auxiliary":"icon-eda-auxiliary_g9XIg","icon-eda-auxiliary-horizontal":"icon-eda-auxiliary-horizontal_Ci1Y4","icon-eda-auxiliary-vertical":"icon-eda-auxiliary-vertical_2rgjL","icon-eda-auxiliary-point":"icon-eda-auxiliary-point_HpzcZ","icon-eda-eye":"icon-eda-eye_jpX--","icon-eda-lock":"icon-eda-lock_1B60c","eye-hidden":"eye-hidden_48i-N","icon-eda-unlock":"icon-eda-unlock_DeqdK","icon-eda-filter":"icon-eda-filter_0KR72","icon-eda-zoom":"icon-eda-zoom_-bi2F"},toString(){return jo}}});var BMe=xe((nNl,uWi)=>{var xKe=[];xKe.push(".sch-comparison-result-wrap_cdeo5{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;padding:8px;width:100%}.sch-comparison-result-wrap_cdeo5 .left-container_DRb2C{margin-right:8px;min-width:260px;padding-bottom:8px}.sch-comparison-result-wrap_cdeo5 .left-container_DRb2C .header_k5SD7{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;padding-bottom:4px;padding-right:8px;white-space:nowrap}.sch-comparison-result-wrap_cdeo5 .left-container_DRb2C .bottom_b5FsE{border:1px solid var(--common-border-color);height:-webkit-calc(100% - 29px);height:-moz-calc(100% - 29px);height:calc(100% - 29px);overflow-y:scroll}.sch-comparison-result-wrap_cdeo5 .left-container_DRb2C .check-line_i1ztK{display:block}.sch-comparison-result-wrap_cdeo5 .center-container_n-nio{border-left:1px solid var(--common-border-color);border-right:1px solid var(--common-border-color);min-width:465px;padding-right:8px;width:45%}.sch-comparison-result-wrap_cdeo5 .center-container_n-nio .header_k5SD7{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;margin-bottom:4px}.sch-comparison-result-wrap_cdeo5 .center-container_n-nio .header_k5SD7 .tab-container_vaENd{border-radius:2px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.sch-comparison-result-wrap_cdeo5 .center-container_n-nio .header_k5SD7 .tab-container_vaENd>span{color:var(--common-font-color);cursor:pointer;display:inline-block;height:24px;line-height:24px;padding:0 8px}.sch-comparison-result-wrap_cdeo5 .center-container_n-nio .header_k5SD7 .tab-container_vaENd>span.active_MOPu0{background-color:var(--common-hover-bg-color);color:var(--common-hover-font-color)}.sch-comparison-result-wrap_cdeo5 .center-container_n-nio .header_k5SD7 .btn-container_WJMS1{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-basis:190px;flex-basis:190px;-webkit-flex-shrink:0;flex-shrink:0;margin-left:40px;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.sch-comparison-result-wrap_cdeo5 .center-container_n-nio .compare-content_8N6ag{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-calc(100% - 29px);height:-moz-calc(100% - 29px);height:calc(100% - 29px);position:relative;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.sch-comparison-result-wrap_cdeo5 .center-container_n-nio .compare-content_8N6ag .no-content_Uc8YA{height:100%;width:100%}.sch-comparison-result-wrap_cdeo5 .center-container_n-nio .compare-content_8N6ag .panel_rpd5U{height:100%}.sch-comparison-result-wrap_cdeo5 span.unique_HJVB9{color:#1890ff}.sch-comparison-result-wrap_cdeo5 span.placeholder_WIjHB{color:var(--common-font-color)}.sch-comparison-result-wrap_cdeo5 span.difference_F85DI{color:red}");xKe=xKe.join("");uWi.exports={uuid:"520efb73-c9f3-4dd5-bacc-61487bc55a53",locals:{"sch-comparison-result-wrap":"sch-comparison-result-wrap_cdeo5","left-container":"left-container_DRb2C",header:"header_k5SD7",bottom:"bottom_b5FsE","check-line":"check-line_i1ztK","center-container":"center-container_n-nio","tab-container":"tab-container_vaENd",active:"active_MOPu0","btn-container":"btn-container_WJMS1","compare-content":"compare-content_8N6ag","no-content":"no-content_Uc8YA",panel:"panel_rpd5U",unique:"unique_HJVB9",placeholder:"placeholder_WIjHB",difference:"difference_F85DI"},toString(){return xKe}}});var mWi=xe((aNl,pWi)=>{var TKe=[];TKe.push(".content-box_1bufF{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;position:relative;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:-webkit-calc(100% - 10px);height:-moz-calc(100% - 10px);height:calc(100% - 10px)}.content-box_1bufF .box-item_rsKmB{-moz-box-sizing:content-box;box-sizing:content-box;height:100%;overflow-y:auto;position:relative;width:100%}.content-box_1bufF .box-item_rsKmB .border_XeLmd{border-left:1px solid var(--common-border-color);height:100%;left:50%;position:absolute;right:0;top:0;width:1px}.content-box_1bufF .box-item_rsKmB ul{bottom:0;left:0;margin:10px 0 0;overflow-x:auto;overflow-y:hidden;position:absolute;right:0;top:0;width:-webkit-calc(50% - 20px);width:-moz-calc(50% - 20px);width:calc(50% - 20px);z-index:1}.content-box_1bufF .box-item_rsKmB ul:last-child{border-left:none;left:50%}");TKe=TKe.join("");pWi.exports={uuid:"3a62daed-6dbc-4768-b90c-7441806fd1fd",locals:{"content-box":"content-box_1bufF","box-item":"box-item_rsKmB",border:"border_XeLmd"},toString(){return TKe}}});var fWi=xe((sNl,hWi)=>{var hy=[];hy.push('.icon-eda-x-circle_IUbS2.clear-input-circle_4yW-I{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.treeMyProject-phantom_V-qCC{left:0;position:absolute;right:0;top:0;z-index:-1}.treeMyProject_hXR7g{bottom:0;display:inline-table;font-size:12px;margin:0;padding:0;position:relative;right:0;top:0;width:100%;z-index:1}.tree-content_dqLFA{-moz-box-sizing:content-box;box-sizing:content-box;height:-webkit-calc(100% - 68px);height:-moz-calc(100% - 68px);height:calc(100% - 68px);overflow-x:overlay;overflow-y:auto;overscroll-behavior:contain;position:absolute;scrollbar-width:thin;top:68px;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px)}.tree-icon_2Updx{background-size:100% 100%;font-size:12px;height:16px;margin-left:2px;margin-right:2px;top:0;width:16px}.tree-icon_2Updx,.tree-icon_2Updx.tree-folder_5HTlJ{position:relative}.tree-title_66aPT{display:inline-block;padding:4px 2px;text-decoration:none;vertical-align:middle;white-space:nowrap}.hightlight_fAqhd{background:#ff0}.tree-hit_P-57i,.tree-indent_hBLKy{background-size:100% 100%;height:16px;vertical-align:middle;width:16px}.tree-node_hmbp9{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;cursor:pointer;height:24px;min-height:22px;position:relative;width:100%}.tree-node_hmbp9>*{-webkit-flex-shrink:0;flex-shrink:0}.tree-node_hmbp9 .tab_new_parttree_eGKr7{background-size:100% 100%;font-size:15px;height:16px;position:relative;right:0;width:16px}.tree-node_hmbp9.share_8xa3l>.tree-icon_2Updx.tree-folder_5HTlJ:after{content:"";display:inline-block;height:16px;left:-2px;position:absolute;top:6px;width:16px}.tree-node_hmbp9.move_Pp1oY{cursor:move}.tree-node_hmbp9.not-allowed_MYIde{cursor:not-allowed}.tree-node_hmbp9 .number_wnv6t{display:inline-block;padding:1px 2px;text-decoration:none;vertical-align:middle;white-space:nowrap}.tree-node_hmbp9:hover{background:var(--bg-color-hover-tree)}.tree-node_hmbp9 input{-moz-appearance:textfield;border:1px solid #d9d9d9;border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:#333;height:22px;padding:0 8px}.tree-node_hmbp9 input:focus{border-color:#1890ff;color:#333;outline:0}.tree-node-hover_GCCS0{background:var(--bg-color-hover-tree)}.tree-expanded_kIcL9{background:');hy.push("url(");hy.push(JSON.stringify(Ow()));hy.push(")");hy.push(" no-repeat}.tree-collapsed_MB-V0,.tree-expanded_kIcL9{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:16px;width:16px}.tree-collapsed_MB-V0{background:");hy.push("url(");hy.push(JSON.stringify(qx()));hy.push(")");hy.push(" no-repeat}.tree-node-selected_rLd17.tree-node-hover_GCCS0{background:var(--bg-color-hover-tree)!important}.tree-node-selected_rLd17 .tree-collapsed_MB-V0:before,.tree-node-selected_rLd17 .tree-expanded_kIcL9:before{border-top:4px solid #fff}.tree-node-selected_rLd17{background:var(--bg-color-selected-tree);color:#1890ff!important}.tree-node-auto-hover_3aFVG{background:var(--bg-color-selected-tree)!important}.icon-eda-eye_P0TA7{background-image:");hy.push("url(");hy.push(JSON.stringify(s3()));hy.push(")");hy.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.eye-hidden_tZLaj{background:");hy.push("url(");hy.push(JSON.stringify(Jx()));hy.push(")");hy.push(";background-position:50%;-webkit-filter:invert(24%) sepia(53%) saturate(6676%) hue-rotate(352deg) brightness(97%) contrast(131%);filter:invert(24%) sepia(53%) saturate(6676%) hue-rotate(352deg) brightness(97%) contrast(131%)}span.unique_ficcr{color:#1890ff}span.placeholder_r2hHE{color:var(--common-font-color)}span.difference_zQdNY{color:red}");hy=hy.join("");hWi.exports={uuid:"3e5f0426-f7d2-42d1-9e22-2ff3ad54d471",locals:{"icon-eda-x-circle":"icon-eda-x-circle_IUbS2","clear-input-circle":"clear-input-circle_4yW-I","treeMyProject-phantom":"treeMyProject-phantom_V-qCC",treeMyProject:"treeMyProject_hXR7g","tree-content":"tree-content_dqLFA","tree-icon":"tree-icon_2Updx","tree-folder":"tree-folder_5HTlJ","tree-title":"tree-title_66aPT",hightlight:"hightlight_fAqhd","tree-hit":"tree-hit_P-57i","tree-indent":"tree-indent_hBLKy","tree-node":"tree-node_hmbp9",tab_new_parttree:"tab_new_parttree_eGKr7",share:"share_8xa3l",move:"move_Pp1oY","not-allowed":"not-allowed_MYIde",number:"number_wnv6t","tree-node-hover":"tree-node-hover_GCCS0","tree-expanded":"tree-expanded_kIcL9","tree-collapsed":"tree-collapsed_MB-V0","tree-node-selected":"tree-node-selected_rLd17","tree-node-auto-hover":"tree-node-auto-hover_3aFVG","icon-eda-eye":"icon-eda-eye_P0TA7","eye-hidden":"eye-hidden_tZLaj",unique:"unique_ficcr",placeholder:"placeholder_r2hHE",difference:"difference_zQdNY"},toString(){return hy}}});var IWi=xe((GNl,MWi)=>{var LKe=[];LKe.push(".container_FWGHh{background:var(--bg-color-drop-down-menu);border:1px solid var(--border-color-drop-down-menu);box-shadow:0 0 5px -webkit-calc(var(--has-shadow-drop-down-menu)*0.2);box-shadow:0 0 5px -moz-calc(var(--has-shadow-drop-down-menu)*0.2);box-shadow:0 0 5px calc(var(--has-shadow-drop-down-menu)*.2);-moz-box-sizing:border-box;box-sizing:border-box;margin-top:2px;overflow:hidden;padding:4px}");LKe=LKe.join("");MWi.exports={uuid:"4be407fc-d084-4c25-80b1-9488f1e83dd4",locals:{container:"container_FWGHh"},toString(){return LKe}}});var NWi=xe((w7l,AWi)=>{var EKe=[];EKe.push(".container_KqFbW{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.container_KqFbW>div{border:1px solid var(--common-border-color);padding:15px 30px}.container_KqFbW .select-container_NYljZ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;line-height:24px;margin:8px 0}.container_KqFbW .select-container_NYljZ>span{margin-right:20px}");EKe=EKe.join("");AWi.exports={uuid:"538f780a-9242-46e6-bc5f-bf08efbd8d33",locals:{container:"container_KqFbW","select-container":"select-container_NYljZ"},toString(){return EKe}}});var nQi=xe((gOl,rQi)=>{var zKe=[];zKe.push(".container_EP910,.wrapper_Wu1p3{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:100%}.wrapper_Wu1p3{-moz-box-sizing:border-box;box-sizing:border-box}.textarea_3yuTa{font-family:Consolas,monospace,courier new;font-size:16px;height:98%;height:-webkit-calc(100% - 8px);height:-moz-calc(100% - 8px);height:calc(100% - 8px);margin-top:4px;resize:none;text-align:left;white-space:pre;width:100%}");zKe=zKe.join("");rQi.exports={uuid:"7eaa93eb-6590-47a2-8551-2413dd67bcf5",locals:{container:"container_EP910",wrapper:"wrapper_Wu1p3",textarea:"textarea_3yuTa"},toString(){return zKe}}});var OZe=xe((ljl,ZKi)=>{var IX=[];IX.push('.tree-container_U51-8{width:100%}.tree-rowline_UGeoB{color:currentColor;color:var(--font-color-tree);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;min-height:26px;overflow:hidden;position:relative;white-space:nowrap}.tree-rowline_UGeoB.a_7rHC2{outline:none;text-decoration:none}.tree-rowline_UGeoB.move_Gkpb8{cursor:move}.tree-rowline_UGeoB.not-allowed_XUEwP{cursor:not-allowed}.tree-rowline_UGeoB .tree-content_XinKd{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;white-space:nowrap;word-break:break-all;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;font-size:12px;padding:3px 0 3px 3px}.tree-rowline_UGeoB .tree-content-selected_gJ-5p{background-color:var(--bg-color-selected-tree);color:#1890ff}.tree-rowline_UGeoB .tree-content-disabled_HhrvV{color:#999;pointer-events:none}.tree-rowline_UGeoB .tree-content-underline_OGhDW{border-bottom:1px solid #dcdcdc}.tree-rowline-selected_U6-uw{background-color:var(--bg-color-selected-tree);color:var(--font-color-selected-tree)}.tree-rowline-can-hover_YqPfe:hover,.tree-rowline-hover_YNAHR{background-color:var(--bg-color-hover-tree)}.tree-rowline_UGeoB .tree-blank_eVtVA,.tree-rowline_UGeoB .tree-extends_pALBK,.tree-rowline_UGeoB .tree-usertips-line_cAFnM,.tree-rowline_UGeoB .tree-usertips-line-fork_f7oGF,.tree-rowline_UGeoB .tree-usertips-line-middle_p1sXn,.tree-rowline_UGeoB .tree-usertips-line-turn_A-1zC{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree);-webkit-flex-shrink:0;flex-shrink:0;height:auto;justify-content:center;padding:0;width:var(--tree-widget-item-width)}.tree-rowline_UGeoB .tree-usertips-line-middle_p1sXn{-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree);width:-webkit-calc(var(--tree-widget-item-width)*0.5);width:-moz-calc(var(--tree-widget-item-width)*0.5);width:calc(var(--tree-widget-item-width)*.5)}.tree-rowline_UGeoB .tree-usertips-line-fork_f7oGF:after,.tree-rowline_UGeoB .tree-usertips-line-fork_f7oGF:before,.tree-rowline_UGeoB .tree-usertips-line-middle_p1sXn:before,.tree-rowline_UGeoB .tree-usertips-line-turn_A-1zC:after,.tree-rowline_UGeoB .tree-usertips-line-turn_A-1zC:before,.tree-rowline_UGeoB .tree-usertips-line_cAFnM:before{content:"";display:inline-block;opacity:.45}.tree-rowline_UGeoB .tree-usertips-line-middle_p1sXn{width:16px}.tree-rowline_UGeoB .tree-usertips-line_cAFnM:before{height:100%;width:1px}.tree-rowline_UGeoB .tree-usertips-line-middle_p1sXn:before{height:1px;width:100%}.tree-rowline_UGeoB .tree-usertips-line-turn_A-1zC{position:relative}.tree-rowline_UGeoB .tree-usertips-line-turn_A-1zC:before{height:50%;left:-webkit-calc(50% - .5px);left:-moz-calc(50% - .5px);left:calc(50% - .5px);position:absolute;top:0;width:1px}.tree-rowline_UGeoB .tree-usertips-line-turn_A-1zC:after{height:1px;left:50%;position:absolute;top:-webkit-calc(50% - .5px);top:-moz-calc(50% - .5px);top:calc(50% - .5px);width:50%}.tree-rowline_UGeoB .tree-usertips-line-fork_f7oGF{position:relative}.tree-rowline_UGeoB .tree-usertips-line-fork_f7oGF:before{height:100%;left:-webkit-calc(50% - .5px);left:-moz-calc(50% - .5px);left:calc(50% - .5px);position:absolute;top:0;width:1px}.tree-rowline_UGeoB .tree-usertips-line-fork_f7oGF:after{height:1px;left:50%;position:absolute;top:-webkit-calc(50% - .5px);top:-moz-calc(50% - .5px);top:calc(50% - .5px);width:50%}.tree-join_1uc10{background-image:');IX.push("url(");IX.push(JSON.stringify($ce()));IX.push(")");IX.push(';background-position:50%;background-repeat:no-repeat;-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree)}.tree-extends-icon_M03vi{cursor:pointer}.tree-extends-box_XTFlL{border:1px solid rgba(0,0,0,.4);-moz-box-sizing:border-box;box-sizing:border-box;height:14px;position:relative;width:14px}.tree-extends-box_XTFlL:after,.tree-extends-box_XTFlL:before{background-color:rgba(0,0,0,.4);content:"";left:50%;line-height:100%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-moz-transition:transform .3s,-moz-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s,-moz-transform .3s}.tree-extends-box_XTFlL:before{height:1px;width:60%}.tree-extends-box_XTFlL:after{height:60%;width:1px}.tree-extends-box-active_vV37f:after{-webkit-transform:translate(-50%,-50%) rotate(90deg);-moz-transform:translate(-50%,-50%) rotate(90deg);transform:translate(-50%,-50%) rotate(90deg)}.tree-extends-triangle_VZTp5{-moz-box-sizing:border-box;box-sizing:border-box;height:14px;position:relative;width:14px}.tree-extends-triangle_VZTp5:before{border:5px solid transparent;border-left-color:rgba(0,0,0,.4);content:"";left:50%;line-height:100%;position:absolute;top:50%;-webkit-transform:translateY(-45%) scale(1.25);-moz-transform:translateY(-45%) scale(1.25);transform:translateY(-45%) scale(1.25);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-moz-transition:transform .3s,-moz-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s,-moz-transform .3s}.tree-extends-triangle-active_1r2L9:before{-webkit-transform:translate(-50%,-20%) rotate(90deg) scale(1.25);-moz-transform:translate(-50%,-20%) rotate(90deg) scale(1.25);transform:translate(-50%,-20%) rotate(90deg) scale(1.25)}');IX=IX.join("");ZKi.exports={uuid:"bf807272-5bec-4edd-bf6f-a3bd8b474716",locals:{"tree-container":"tree-container_U51-8","tree-rowline":"tree-rowline_UGeoB",a:"a_7rHC2",move:"move_Gkpb8","not-allowed":"not-allowed_XUEwP","tree-content":"tree-content_XinKd","tree-content-selected":"tree-content-selected_gJ-5p","tree-content-disabled":"tree-content-disabled_HhrvV","tree-content-underline":"tree-content-underline_OGhDW","tree-rowline-selected":"tree-rowline-selected_U6-uw","tree-rowline-can-hover":"tree-rowline-can-hover_YqPfe","tree-rowline-hover":"tree-rowline-hover_YNAHR","tree-blank":"tree-blank_eVtVA","tree-extends":"tree-extends_pALBK","tree-usertips-line":"tree-usertips-line_cAFnM","tree-usertips-line-fork":"tree-usertips-line-fork_f7oGF","tree-usertips-line-middle":"tree-usertips-line-middle_p1sXn","tree-usertips-line-turn":"tree-usertips-line-turn_A-1zC","tree-join":"tree-join_1uc10","tree-extends-icon":"tree-extends-icon_M03vi","tree-extends-box":"tree-extends-box_XTFlL","tree-extends-box-active":"tree-extends-box-active_vV37f","tree-extends-triangle":"tree-extends-triangle_VZTp5","tree-extends-triangle-active":"tree-extends-triangle-active_1r2L9"},toString(){return IX}}});var pZi=xe((Lzl,uZi)=>{var f7=[];f7.push(".cacheRecoveryDlg_W9oYk{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;height:-webkit-calc(100% - 44px);height:-moz-calc(100% - 44px);height:calc(100% - 44px);justify-content:space-between}.cacheRecoveryDlg_W9oYk .left_Mr-jD{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;height:100%;margin-right:8px;padding:12px;position:relative;width:-webkit-calc(67% + 24px);width:-moz-calc(67% + 24px);width:calc(67% + 24px)}.cacheRecoveryDlg_W9oYk .left_Mr-jD .label_AjTPO{background-color:var(--bg-color-pop-up-content);left:30px;padding:4px;position:absolute;top:-12px}.cacheRecoveryDlg_W9oYk .left_Mr-jD .content_IObSk{height:100%}.cacheRecoveryDlg_W9oYk .left_Mr-jD .content_IObSk .filterEl_H8PL7{display:inline-block;position:relative;width:100%}.cacheRecoveryDlg_W9oYk .left_Mr-jD .content_IObSk .filterEl_H8PL7 input{width:100%}.cacheRecoveryDlg_W9oYk .left_Mr-jD .content_IObSk .filterEl_H8PL7 .icon_WNK1y.searchIcon_XlYM7{cursor:pointer;height:12px;position:absolute;right:8px;top:5px;width:12px}.cacheRecoveryDlg_W9oYk .left_Mr-jD .content_IObSk .filterEl_H8PL7 .icon_WNK1y.comm-fittinginput-clear_UM6XI{cursor:pointer;height:12px;position:absolute;right:25px;top:4px;width:12px}.cacheRecoveryDlg_W9oYk .left_Mr-jD .content_IObSk .container_5wEWj{height:-webkit-calc(100% - 30px);height:-moz-calc(100% - 30px);height:calc(100% - 30px);margin-top:8px;position:relative}.cacheRecoveryDlg_W9oYk .left_Mr-jD .content_IObSk .container_5wEWj .window-loading_Y0c5A>div{-webkit-transform:translateY(-36%)!important;-moz-transform:translateY(-36%)!important;transform:translateY(-36%)!important}.cacheRecoveryDlg_W9oYk .right_6fml-{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding:12px;position:relative;width:-webkit-calc(25% + 24px);width:-moz-calc(25% + 24px);width:calc(25% + 24px)}.cacheRecoveryDlg_W9oYk .right_6fml- .label_AjTPO{background-color:var(--bg-color-pop-up-content);left:30px;max-width:100px;overflow:hidden;padding:4px;position:absolute;text-overflow:ellipsis;top:-12px;white-space:nowrap}.cacheRecoveryDlg_W9oYk .right_6fml- .content_IObSk{height:100%}.cacheRecoveryDlg_W9oYk .right_6fml- .content_IObSk .container_5wEWj{height:100%;overflow:hidden;position:relative}.cacheRecoveryDlg_W9oYk .right_6fml- .content_IObSk .container_5wEWj .list_b2I8G{height:100%;overflow:auto;position:relative}.cacheRecoveryDlg_W9oYk .right_6fml- .content_IObSk .container_5wEWj .window-loading_Y0c5A>div{-webkit-transform:translateY(75%)!important;-moz-transform:translateY(75%)!important;transform:translateY(75%)!important}@-webkit-keyframes rotation_Sv4xj{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}.cacheRecoveryDlg_W9oYk .rotation_Sv4xj{animation:rotation_Sv4xj 1.4s linear infinite;-moz-animation:rotation_Sv4xj 1.4s linear infinite;-webkit-animation:rotation_Sv4xj 1.4s linear infinite;-o-animation:rotation_Sv4xj 1.4s linear infinite;-webkit-transform:rotate(1turn)}.cacheRecoveryDlg_W9oYk .icon-eda-loading_cmXpa{background-image:");f7.push("url(");f7.push(JSON.stringify(ZF()));f7.push(")");f7.push(";background-repeat:no-repeat;background-size:100%;display:block;height:100%;width:100%}.cacheRecoveryDlg_W9oYk .icon-eda-zoom_6339K{background-image:");f7.push("url(");f7.push(JSON.stringify(j8e()));f7.push(")");f7.push(";background-repeat:no-repeat;background-size:100% 100%;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:16px;width:16px}");f7=f7.join("");uZi.exports={uuid:"f8420c34-eab1-41af-ac4d-921257e70ef8",locals:{cacheRecoveryDlg:"cacheRecoveryDlg_W9oYk",left:"left_Mr-jD",label:"label_AjTPO",content:"content_IObSk",filterEl:"filterEl_H8PL7",icon:"icon_WNK1y",searchIcon:"searchIcon_XlYM7","comm-fittinginput-clear":"comm-fittinginput-clear_UM6XI",container:"container_5wEWj","window-loading":"window-loading_Y0c5A",right:"right_6fml-",list:"list_b2I8G",rotation:"rotation_Sv4xj","icon-eda-loading":"icon-eda-loading_cmXpa","icon-eda-zoom":"icon-eda-zoom_6339K"},toString(){return f7}}});var jZi=xe((hHl,_Zi)=>{var rJe=[];rJe.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_eH2Aw{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_tHGTB{background-color:#efefef}.comm-btn-confirm_-XCJP{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_-XCJP:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_WhPwl{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_WhPwl:hover{border:1px solid #40a9ff!important}.opacity-none_WTz7w,.pointer-events-none_L8juW{cursor:default;pointer-events:none!important}.opacity-none_WTz7w{opacity:0}.attr-prohibit_-Tws8,.display-block_rBEAh{display:block}.display-none_97Lg6{display:none!important}.display-flex_-oppP{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_eh-cO{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_tQrDb{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_M5G61{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_LCBz9{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_suQNs{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_NyTkx{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_DoXzQ{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_gJjYc{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_m8kuO{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_lhbWG{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_3tkxE{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_tNV-k{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_VAKhi{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_LXpaG{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_k2Bis{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_ZQt5h{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_4U38K{color:#000!important}.color-white-important_NqcGY{color:#fff!important}.bgcolor-red-important_mMiiI{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-content-wrapper_KXphz{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-content-wrapper_KXphz>div{overflow:auto;width:100%}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-content-wrapper_KXphz .comm-btn-operate-link_826kM{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-content-wrapper_KXphz .comm-btn-height_i56Ro{height:22px}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-content-wrapper_KXphz .comm-btn-text_d0fsl{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-content-wrapper_KXphz .margin-btn_9kcca{margin-bottom:16px}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-content-wrapper_KXphz .margin-top_acAp2{margin-top:16px}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-content-wrapper_KXphz input.dialog-input_u3sAP{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-content-wrapper_KXphz input.dialog-input_u3sAP:not([disabled]){color:var(--font-color-input)}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-content-wrapper_KXphz select.dialog-input_u3sAP{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-content-wrapper_KXphz select.dialog-input_u3sAP:not([disabled]){color:var(--font-color-input)}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-content-wrapper_KXphz textarea.dialog-input_u3sAP{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-content-wrapper_KXphz .device-property-key_gFsvN{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-content-wrapper_KXphz .attrs-select-wrap_x3Gzn{padding-left:8px}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-footer-wrapper_PL7M7{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-footer-wrapper_PL7M7 .comm-btn_mR8eS{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-footer-wrapper_PL7M7 .comm-btn_mR8eS:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-footer-wrapper_PL7M7 .comm-btn_mR8eS.comm-btn-default_y8SUS{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-footer-wrapper_PL7M7 .comm-btn_mR8eS.comm-btn-default_y8SUS:hover{border-color:#1890ff}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-footer-wrapper_PL7M7 .comm-btn_mR8eS .l-btn-left_WoDlZ{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-footer-wrapper_PL7M7 .comm-btn-left_cqfC6{left:28px;position:absolute}.pop-content-container_H37cz:not(.oneLineOneInputDlg_lGH-Q) .pop-footer-wrapper_PL7M7 .grid-export_2ic1Y .comm-btn_mR8eS:last-child{margin-left:8px}.pop-content-container_H37cz *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_H37cz label{position:relative}.pop-content-wrapper_KXphz a.route-link_Cb30n,.pop-content-wrapper_KXphz a.route-link_Cb30n:active,.pop-content-wrapper_KXphz a.route-link_Cb30n:visited{color:#00e}div[user-resizable] .window-body_rmFZe>.panel_gDLA4,div[user-resizable] .window-header_J33-Q{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_rmFZe>.panel_gDLA4{height:100%!important}div[user-resizable] .window-body_rmFZe .dialog-content_bGe--{height:100%!important;width:100%!important}");rJe=rJe.join("");_Zi.exports={uuid:"a222f3c9-d368-4da7-9ecb-0ed91f6d5947",locals:{"comm-icon-add":"comm-icon-add_eH2Aw","comm-background-color-efefef":"comm-background-color-efefef_tHGTB","comm-btn-confirm":"comm-btn-confirm_-XCJP","comm-btn-cancel":"comm-btn-cancel_WhPwl","opacity-none":"opacity-none_WTz7w","pointer-events-none":"pointer-events-none_L8juW","attr-prohibit":"attr-prohibit_-Tws8","display-block":"display-block_rBEAh","display-none":"display-none_97Lg6","display-flex":"display-flex_-oppP","display-inline-flex":"display-inline-flex_eh-cO","flex-lateral-axis-center":"flex-lateral-axis-center_tQrDb","flex-lateral-axis-start":"flex-lateral-axis-start_M5G61","flex-lateral-axis-end":"flex-lateral-axis-end_LCBz9","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_suQNs","flex-main-axis-center":"flex-main-axis-center_NyTkx","flex-main-axis-start":"flex-main-axis-start_DoXzQ","flex-main-axis-end":"flex-main-axis-end_gJjYc","flex-main-axis-around":"flex-main-axis-around_m8kuO","flex-main-axis-between":"flex-main-axis-between_lhbWG","flex-nowrap":"flex-nowrap_3tkxE","flex-wrap":"flex-wrap_tNV-k","flex-direct-row":"flex-direct-row_VAKhi","flex-direct-rerow":"flex-direct-rerow_LXpaG","flex-direct-column":"flex-direct-column_k2Bis","flex-direct-recolumn":"flex-direct-recolumn_ZQt5h","color-black-important":"color-black-important_4U38K","color-white-important":"color-white-important_NqcGY","bgcolor-red-important":"bgcolor-red-important_mMiiI","pop-content-container":"pop-content-container_H37cz",oneLineOneInputDlg:"oneLineOneInputDlg_lGH-Q","pop-content-wrapper":"pop-content-wrapper_KXphz","comm-btn-operate-link":"comm-btn-operate-link_826kM","comm-btn-height":"comm-btn-height_i56Ro","comm-btn-text":"comm-btn-text_d0fsl","margin-btn":"margin-btn_9kcca","margin-top":"margin-top_acAp2","dialog-input":"dialog-input_u3sAP","device-property-key":"device-property-key_gFsvN","attrs-select-wrap":"attrs-select-wrap_x3Gzn","pop-footer-wrapper":"pop-footer-wrapper_PL7M7","comm-btn":"comm-btn_mR8eS","comm-btn-default":"comm-btn-default_y8SUS","l-btn-left":"l-btn-left_WoDlZ","comm-btn-left":"comm-btn-left_cqfC6","grid-export":"grid-export_2ic1Y","route-link":"route-link_Cb30n","window-body":"window-body_rmFZe",panel:"panel_gDLA4","window-header":"window-header_J33-Q","dialog-content":"dialog-content_bGe--"},toString(){return rJe}}});var Zm=xe((jHl,VZi)=>{var nJe=[];nJe.push(".main-container_thEEw{height:665px;margin-bottom:0!important;min-height:480px}.profile-input-checkbox_fXBd4,.profile-input-radio_C0cn1{cursor:pointer;vertical-align:middle}.profile-input-text_hwR52{cursor:text;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;vertical-align:middle}.profile-input-tips_pDpRi{color:var(--font-color-pop-up);cursor:pointer;vertical-align:middle;white-space:nowrap;word-break:keep-all}.display-none_om2RF{display:none!important}.view-loading-wrapper_i-NB5{height:665px;left:0;position:relative;top:0;width:100%}.view-loading_-Md50{background-color:var(--common-bg-color);height:-webkit-calc(100% - 2px);height:-moz-calc(100% - 2px);height:calc(100% - 2px);left:1px;position:absolute;top:1px;width:-webkit-calc(100% - 2px);width:-moz-calc(100% - 2px);width:calc(100% - 2px);z-index:9999}.view-loading-rotation_1P9Q1{height:36px;left:45%;position:absolute;top:40%;width:36px}.container_S4CFC{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.basecontent-wrapper_Wur7O,.container_S4CFC{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:100%}.basecontent-wrapper_Wur7O{-webkit-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden;padding-top:10px}.section-area_ysbLg{height:100%;position:relative;width:100%}.section-area-label_RC5Ja{background-color:var(--bg-color-pop-up-content);left:25px;padding:4px 10px;position:absolute;top:-11px;z-index:999}.section-area-content_CwMlN{border:1px solid var(--common-border-color);border-radius:3px;height:100%;overflow:auto;padding:15px 10px 10px;position:relative}.profileline-container_WTKct{margin:0;padding:0}.profileline-item-container_9Oz0P{overflow:hidden}.profileline-item-container-select_oqeaL{background-color:var(--bg-color-selected-drop-down-menuItem)}.profileline-wrapper_Bf3zl{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;line-height:24px;margin:4px 0;overflow:hidden;padding:4px 0;width:100%}.profileline-label-wrapper_5eK8x{-webkit-box-flex:0;-webkit-flex:0 0 65px;-moz-box-flex:0;flex:0 0 65px;-webkit-flex-shrink:0;flex-shrink:0;text-align:right;word-break:break-word}.profileline-content-wrapper_NBWYz{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:1;flex-shrink:1;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;padding-left:16px;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.profileline-content-item-wrapper_q2dem{min-width:125px;padding-left:16px}.profileline-content-item-wrapper_q2dem:first-child{padding-left:0}.profileline-tips-wrapper_f6rvz{padding-left:8px;width:135px}.profileline-tips-wrapper_f6rvz,.thumb-wrapper_rjqwH{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.thumb-wrapper_rjqwH{height:240px;padding-top:15px;width:100%}.thumb-box_ty9l1{height:100%;padding:5px;width:25%}.thumb-item-container_XrCPb{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;position:relative;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-webkit-align-content:center;align-content:center;-webkit-flex-shrink:0;flex-shrink:0;justify-content:center}.thumb-item-btn_SB0FW{cursor:pointer;left:auto;position:absolute;top:auto;z-index:9999}.thumb-item-btn_SB0FW:active{background-color:var(--bg-color-active-button)}.thumb-item-mask_5Rl-T{background-color:#c8c8c8;bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:9998}.image-thumb_xNmEc{border:0;display:block;height:100%;outline:0;width:100%}.symbol-type-selector_fuPo5{-webkit-appearance:none;-moz-appearance:none;appearance:none}.drag-controller_oljD8{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #ccc;cursor:col-resize;height:0;left:10px;position:absolute;top:0;width:0;z-index:999}");nJe=nJe.join("");VZi.exports={uuid:"ed496cb1-9974-40aa-91e6-7ac8c7d44855",locals:{"main-container":"main-container_thEEw","profile-input-checkbox":"profile-input-checkbox_fXBd4","profile-input-radio":"profile-input-radio_C0cn1","profile-input-text":"profile-input-text_hwR52","profile-input-tips":"profile-input-tips_pDpRi","display-none":"display-none_om2RF","view-loading-wrapper":"view-loading-wrapper_i-NB5","view-loading":"view-loading_-Md50","view-loading-rotation":"view-loading-rotation_1P9Q1",container:"container_S4CFC","basecontent-wrapper":"basecontent-wrapper_Wur7O","section-area":"section-area_ysbLg","section-area-label":"section-area-label_RC5Ja","section-area-content":"section-area-content_CwMlN","profileline-container":"profileline-container_WTKct","profileline-item-container":"profileline-item-container_9Oz0P","profileline-item-container-select":"profileline-item-container-select_oqeaL","profileline-wrapper":"profileline-wrapper_Bf3zl","profileline-label-wrapper":"profileline-label-wrapper_5eK8x","profileline-content-wrapper":"profileline-content-wrapper_NBWYz","profileline-content-item-wrapper":"profileline-content-item-wrapper_q2dem","profileline-tips-wrapper":"profileline-tips-wrapper_f6rvz","thumb-wrapper":"thumb-wrapper_rjqwH","thumb-box":"thumb-box_ty9l1","thumb-item-container":"thumb-item-container_XrCPb","thumb-item-btn":"thumb-item-btn_SB0FW","thumb-item-mask":"thumb-item-mask_5Rl-T","image-thumb":"image-thumb_xNmEc","symbol-type-selector":"symbol-type-selector_fuPo5","drag-controller":"drag-controller_oljD8"},toString(){return nJe}}});var OX=xe((CYl,XZi)=>{var uJe=[];uJe.push(".main-container_zb1BK{height:665px;min-height:480px}.view-loading-wrapper_TIX66{height:665px;left:0;position:relative;top:0;width:100%}.view-loading_dJ1IW{background-color:var(--common-bg-color);height:-webkit-calc(100% - 2px);height:-moz-calc(100% - 2px);height:calc(100% - 2px);left:1px;position:absolute;top:1px;width:-webkit-calc(100% - 2px);width:-moz-calc(100% - 2px);width:calc(100% - 2px);z-index:9999}.view-loading-rotation_Ip0yi{height:36px;left:45%;position:absolute;top:40%;width:36px}.liblist-section_N-qkQ{margin-right:5px;overflow:auto;width:-webkit-calc(48% - 5px);width:-moz-calc(48% - 5px);width:calc(48% - 5px)}.category-section_LMWAe,.liblist-section_N-qkQ{-webkit-flex-shrink:0;flex-shrink:0}.category-section_LMWAe{height:100%;overflow:hidden;position:relative;width:52%}.component-search-section_O-lY1{display:block;height:30px;padding:0 0 5px;width:100%}.table-section_01O20{height:100%}.symboltype-wrapper_2dNbd,.table-section_01O20{overflow:hidden;position:relative;width:100%}");uJe=uJe.join("");XZi.exports={uuid:"2793878f-4187-49fd-b5bc-67d05a2bef02",locals:{"main-container":"main-container_zb1BK","view-loading-wrapper":"view-loading-wrapper_TIX66","view-loading":"view-loading_dJ1IW","view-loading-rotation":"view-loading-rotation_Ip0yi","liblist-section":"liblist-section_N-qkQ","category-section":"category-section_LMWAe","component-search-section":"component-search-section_O-lY1","table-section":"table-section_01O20","symboltype-wrapper":"symboltype-wrapper_2dNbd"},toString(){return uJe}}});var YD=xe((KKl,DJi)=>{var IJe=[];IJe.push(".main-container_fjtLu{height:665px;min-height:480px}.view-loading-wrapper_Wry-d{height:665px;left:0;position:relative;top:0;width:100%}.view-loading_8Trw6{background-color:var(--common-bg-color);height:-webkit-calc(100% - 2px);height:-moz-calc(100% - 2px);height:calc(100% - 2px);left:1px;position:absolute;top:1px;width:-webkit-calc(100% - 2px);width:-moz-calc(100% - 2px);width:calc(100% - 2px);z-index:9999}.view-loading-rotation_PUywY{height:36px;left:45%;position:absolute;top:40%;width:36px}.liblist-section_Xvnks{margin-right:5px;overflow:auto;width:-webkit-calc(50% - 5px);width:-moz-calc(50% - 5px);width:calc(50% - 5px)}.category-section_5-wo3,.liblist-section_Xvnks{-webkit-flex-shrink:0;flex-shrink:0}.category-section_5-wo3{height:100%;overflow:hidden;position:relative;width:50%}.component-search-section_rWJeV{display:block;height:30px;padding:0 0 5px;width:100%}.table-section_qv4KF{height:100%;overflow:hidden;position:relative;width:100%}.device-search-section_SGDYw{display:block;height:30px;padding:0 0 5px;width:100%}.footprint-views_ecW60{background-color:var(--common-bg-color);border:1px solid var(--border-color-panel-divider);height:100%;left:0;padding:5px;position:absolute;top:0;width:100%;z-index:9999}");IJe=IJe.join("");DJi.exports={uuid:"fe30f47e-3ad8-4502-a812-8f12257d6256",locals:{"main-container":"main-container_fjtLu","view-loading-wrapper":"view-loading-wrapper_Wry-d","view-loading":"view-loading_8Trw6","view-loading-rotation":"view-loading-rotation_PUywY","liblist-section":"liblist-section_Xvnks","category-section":"category-section_5-wo3","component-search-section":"component-search-section_rWJeV","table-section":"table-section_qv4KF","device-search-section":"device-search-section_SGDYw","footprint-views":"footprint-views_ecW60"},toString(){return IJe}}});var xO=xe((Toc,Kqi)=>{var oqe=[];oqe.push(".main-container_Oah3E{height:665px;min-height:480px}.liblist-section_lSY80{margin-right:5px;overflow:auto;width:-webkit-calc(50% - 5px);width:-moz-calc(50% - 5px);width:calc(50% - 5px)}.category-section_3gJ0v,.liblist-section_lSY80{-webkit-flex-shrink:0;flex-shrink:0}.category-section_3gJ0v{height:100%;overflow:hidden;position:relative;width:50%}.component-search-section_PoTc-{display:block;height:30px;padding:0 0 5px;width:100%}.table-section_F-KtU{height:100%;overflow:hidden;position:relative;width:100%}.device-search-section_BdRDX{display:block;height:30px;padding:0 0 5px;width:100%}");oqe=oqe.join("");Kqi.exports={uuid:"ea0a7db8-9fcd-4b37-9407-04429a21b974",locals:{"main-container":"main-container_Oah3E","liblist-section":"liblist-section_lSY80","category-section":"category-section_3gJ0v","component-search-section":"component-search-section_PoTc-","table-section":"table-section_F-KtU","device-search-section":"device-search-section_BdRDX"},toString(){return oqe}}});var Bae=xe((Wcc,FXi)=>{var vqe=[];vqe.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_yy9ZQ{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_BKstE{background-color:#efefef}.comm-btn-confirm_ojU-H{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_ojU-H:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_rdELu{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_rdELu:hover{border:1px solid #40a9ff!important}.opacity-none_W6Hd6,.pointer-events-none_gltb7{cursor:default;pointer-events:none!important}.opacity-none_W6Hd6{opacity:0}.attr-prohibit_d4eav,.display-block_9APxs{display:block}.display-none_xewcU{display:none!important}.display-flex_JDVkf{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_w38Ko{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_oX-bY{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_5r2oH{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_P6EO8{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_FTcIS{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_DozNw{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_VCHTc{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_QIzQq{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_UrGOn{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_mFpwP{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_tIRn7{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_BJwmX{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_fYfK-{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_YIKaN{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_UvAK4{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_VV3-B{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_Cl0Zc{color:#000!important}.color-white-important_TLE6-{color:#fff!important}.bgcolor-red-important_pfPyr{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-content-wrapper_khimU{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-content-wrapper_khimU>div{overflow:auto;width:100%}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-content-wrapper_khimU .comm-btn-operate-link_SxwNi{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-content-wrapper_khimU .comm-btn-height_naRoE{height:22px}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-content-wrapper_khimU .comm-btn-text_h3dqw{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-content-wrapper_khimU .margin-btn_aSP0b{margin-bottom:16px}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-content-wrapper_khimU .margin-top_9aVJh{margin-top:16px}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-content-wrapper_khimU input.dialog-input_OioIh{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-content-wrapper_khimU input.dialog-input_OioIh:not([disabled]){color:var(--font-color-input)}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-content-wrapper_khimU select.dialog-input_OioIh{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-content-wrapper_khimU select.dialog-input_OioIh:not([disabled]){color:var(--font-color-input)}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-content-wrapper_khimU textarea.dialog-input_OioIh{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-content-wrapper_khimU .device-property-key_CsYDZ{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-content-wrapper_khimU .attrs-select-wrap_001Ki{padding-left:8px}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-footer-wrapper_P-D5P{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-footer-wrapper_P-D5P .comm-btn_XZ1UK{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-footer-wrapper_P-D5P .comm-btn_XZ1UK:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-footer-wrapper_P-D5P .comm-btn_XZ1UK.comm-btn-default_RgNET{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-footer-wrapper_P-D5P .comm-btn_XZ1UK.comm-btn-default_RgNET:hover{border-color:#1890ff}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-footer-wrapper_P-D5P .comm-btn_XZ1UK .l-btn-left_-kniU{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-footer-wrapper_P-D5P .comm-btn-left_h-VDQ{left:28px;position:absolute}.pop-content-container_1LCqS:not(.oneLineOneInputDlg_D0VlD) .pop-footer-wrapper_P-D5P .grid-export_7-GCt .comm-btn_XZ1UK:last-child{margin-left:8px}.pop-content-container_1LCqS *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_1LCqS label{position:relative}.pop-content-wrapper_khimU a.route-link_nHk-z,.pop-content-wrapper_khimU a.route-link_nHk-z:active,.pop-content-wrapper_khimU a.route-link_nHk-z:visited{color:#00e}div[user-resizable] .window-body_BzE8T>.panel_D6ArP,div[user-resizable] .window-header_4U0gm{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_BzE8T>.panel_D6ArP{height:100%!important}div[user-resizable] .window-body_BzE8T .dialog-content_YDLDF{height:100%!important;width:100%!important}.main-container_Q3uXH{height:665px;min-height:480px}.view-loading-wrapper_g701q{height:665px;left:0;position:relative;top:0;width:100%}.view-loading_8r4vu{background-color:var(--common-bg-color);height:-webkit-calc(100% - 2px);height:-moz-calc(100% - 2px);height:calc(100% - 2px);left:1px;position:absolute;top:1px;width:-webkit-calc(100% - 2px);width:-moz-calc(100% - 2px);width:calc(100% - 2px);z-index:9999}.view-loading-rotation_LePaA{height:36px;left:45%;position:absolute;top:40%;width:36px}.liblist-section_Z38eG{margin-right:5px;overflow:auto;width:-webkit-calc(50% - 5px);width:-moz-calc(50% - 5px);width:calc(50% - 5px)}.category-section_9e7Ea,.liblist-section_Z38eG{-webkit-flex-shrink:0;flex-shrink:0}.category-section_9e7Ea{height:100%;overflow:hidden;position:relative;width:50%}.component-search-section_099Gb{display:block;height:30px;padding:0 0 5px;width:100%}.table-section_d-Kc2{height:100%}.symboltype-wrapper_Ph9eQ,.table-section_d-Kc2{overflow:hidden;position:relative;width:100%}");vqe=vqe.join("");FXi.exports={uuid:"8be4685a-c44c-456e-a052-c90ecb3e5822",locals:{"comm-icon-add":"comm-icon-add_yy9ZQ","comm-background-color-efefef":"comm-background-color-efefef_BKstE","comm-btn-confirm":"comm-btn-confirm_ojU-H","comm-btn-cancel":"comm-btn-cancel_rdELu","opacity-none":"opacity-none_W6Hd6","pointer-events-none":"pointer-events-none_gltb7","attr-prohibit":"attr-prohibit_d4eav","display-block":"display-block_9APxs","display-none":"display-none_xewcU","display-flex":"display-flex_JDVkf","display-inline-flex":"display-inline-flex_w38Ko","flex-lateral-axis-center":"flex-lateral-axis-center_oX-bY","flex-lateral-axis-start":"flex-lateral-axis-start_5r2oH","flex-lateral-axis-end":"flex-lateral-axis-end_P6EO8","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_FTcIS","flex-main-axis-center":"flex-main-axis-center_DozNw","flex-main-axis-start":"flex-main-axis-start_VCHTc","flex-main-axis-end":"flex-main-axis-end_QIzQq","flex-main-axis-around":"flex-main-axis-around_UrGOn","flex-main-axis-between":"flex-main-axis-between_mFpwP","flex-nowrap":"flex-nowrap_tIRn7","flex-wrap":"flex-wrap_BJwmX","flex-direct-row":"flex-direct-row_fYfK-","flex-direct-rerow":"flex-direct-rerow_YIKaN","flex-direct-column":"flex-direct-column_UvAK4","flex-direct-recolumn":"flex-direct-recolumn_VV3-B","color-black-important":"color-black-important_Cl0Zc","color-white-important":"color-white-important_TLE6-","bgcolor-red-important":"bgcolor-red-important_pfPyr","pop-content-container":"pop-content-container_1LCqS",oneLineOneInputDlg:"oneLineOneInputDlg_D0VlD","pop-content-wrapper":"pop-content-wrapper_khimU","comm-btn-operate-link":"comm-btn-operate-link_SxwNi","comm-btn-height":"comm-btn-height_naRoE","comm-btn-text":"comm-btn-text_h3dqw","margin-btn":"margin-btn_aSP0b","margin-top":"margin-top_9aVJh","dialog-input":"dialog-input_OioIh","device-property-key":"device-property-key_CsYDZ","attrs-select-wrap":"attrs-select-wrap_001Ki","pop-footer-wrapper":"pop-footer-wrapper_P-D5P","comm-btn":"comm-btn_XZ1UK","comm-btn-default":"comm-btn-default_RgNET","l-btn-left":"l-btn-left_-kniU","comm-btn-left":"comm-btn-left_h-VDQ","grid-export":"grid-export_7-GCt","route-link":"route-link_nHk-z","window-body":"window-body_BzE8T",panel:"panel_D6ArP","window-header":"window-header_4U0gm","dialog-content":"dialog-content_YDLDF","main-container":"main-container_Q3uXH","view-loading-wrapper":"view-loading-wrapper_g701q","view-loading":"view-loading_8r4vu","view-loading-rotation":"view-loading-rotation_LePaA","liblist-section":"liblist-section_Z38eG","category-section":"category-section_9e7Ea","component-search-section":"component-search-section_099Gb","table-section":"table-section_d-Kc2","symboltype-wrapper":"symboltype-wrapper_Ph9eQ"},toString(){return vqe}}});var Nqe=xe((cuc,o$i)=>{var I7=[];I7.push(".main-container_d3HAY{height:665px;min-height:480px}.view-loading-wrapper_bOODr{height:665px;left:0;position:relative;top:0;width:100%}.view-loading_5fcjQ{background-color:var(--common-bg-color);height:-webkit-calc(100% - 2px);height:-moz-calc(100% - 2px);height:calc(100% - 2px);left:1px;position:absolute;top:1px;width:-webkit-calc(100% - 2px);width:-moz-calc(100% - 2px);width:calc(100% - 2px);z-index:9999}.view-loading-rotation_plFw9{height:36px;left:45%;position:absolute;top:40%;width:36px}.common-table-wrpper_xM8VB{background-color:var(--bg-color-table-header);border:1px dashed var(--border-color-table-header);border-collapse:collapse;font-size:12px;table-layout:fixed;text-align:left}.table_OrWtB{border-collapse:collapse;font-size:12px;text-align:center}.table_OrWtB,.table_OrWtB td{border:1px solid var(--border-color-table-body)}.table_OrWtB td{-moz-box-sizing:border-box;box-sizing:border-box;height:25px;position:relative;width:55px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.table_OrWtB td input{border:0}.common-table-wrpper_xM8VB th{background-color:var(--bg-color-table-header);border-color:var(--border-color-table-header);color:var(--font-color-table)}.common-table-wrpper_xM8VB tr{background-color:var(--bg-color-table-row);border-color:var(--border-color-table-body);color:var(--font-color-table)}.disabled-cell_-nlCU{background-color:var(--bg-color-disabled-td);height:100%;pointer-events:none;width:100%}.disabled-cell_-nlCU div,.disabled-cell_-nlCU input{display:none}.tree-expanded_tCTGi{background:");I7.push("url(");I7.push(JSON.stringify(Ow()));I7.push(")");I7.push(" no-repeat}.tree-collapsed_lODm8,.tree-expanded_tCTGi{display:inline-block;height:16px;margin-right:5px;width:16px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree);vertical-align:middle}.tree-collapsed_lODm8{background:");I7.push("url(");I7.push(JSON.stringify(qx()));I7.push(")");I7.push(" no-repeat}");I7=I7.join("");o$i.exports={uuid:"1217b3ce-41ef-4ab7-abae-4584de931e68",locals:{"main-container":"main-container_d3HAY","view-loading-wrapper":"view-loading-wrapper_bOODr","view-loading":"view-loading_5fcjQ","view-loading-rotation":"view-loading-rotation_plFw9","common-table-wrpper":"common-table-wrpper_xM8VB",table:"table_OrWtB","disabled-cell":"disabled-cell_-nlCU","tree-expanded":"tree-expanded_tCTGi","tree-collapsed":"tree-collapsed_lODm8"},toString(){return I7}}});var D$i=xe((W0c,v$i)=>{var wy=[];wy.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_ZDRg9{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_U2qcv{background-color:#efefef}.comm-btn-confirm_y8iDa{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_y8iDa:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_VBedJ{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_VBedJ:hover{border:1px solid #40a9ff!important}.opacity-none_iYiv-,.pointer-events-none_vR5dl{cursor:default;pointer-events:none!important}.opacity-none_iYiv-{opacity:0}.attr-prohibit_Cv-bn,.display-block_k29SV{display:block}.display-none_W9mI3{display:none!important}.display-flex_vhkq5{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_NprJS{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_SYp5M{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_cJvoR{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_Dyp3Y{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_kyJZA{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_NEaA4{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_LZf2g{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_VLqPc{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_lq5HJ{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_5tUto{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_MvlqV{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_SsYYf{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_40ND3{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_t1MdF{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_u9UKi{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_9iQho{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_YTMMx{color:#000!important}.color-white-important_aJZGV{color:#fff!important}.bgcolor-red-important_CTR8b{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-content-wrapper_xyFCB{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-content-wrapper_xyFCB>div{overflow:auto;width:100%}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-content-wrapper_xyFCB .comm-btn-operate-link_gECTs{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-content-wrapper_xyFCB .comm-btn-height_uDb8T{height:22px}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-content-wrapper_xyFCB .comm-btn-text_u3IG-{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-content-wrapper_xyFCB .margin-btn_my58Y{margin-bottom:16px}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-content-wrapper_xyFCB .margin-top_1fCgA{margin-top:16px}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-content-wrapper_xyFCB input.dialog-input_Dx-mj{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-content-wrapper_xyFCB input.dialog-input_Dx-mj:not([disabled]){color:var(--font-color-input)}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-content-wrapper_xyFCB select.dialog-input_Dx-mj{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-content-wrapper_xyFCB select.dialog-input_Dx-mj:not([disabled]){color:var(--font-color-input)}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-content-wrapper_xyFCB textarea.dialog-input_Dx-mj{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-content-wrapper_xyFCB .device-property-key_QKoZc{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-content-wrapper_xyFCB .attrs-select-wrap_ke9iW{padding-left:8px}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-footer-wrapper_gwVt1{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-footer-wrapper_gwVt1 .comm-btn_TkavW{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-footer-wrapper_gwVt1 .comm-btn_TkavW:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-footer-wrapper_gwVt1 .comm-btn_TkavW.comm-btn-default_w4ZdG{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-footer-wrapper_gwVt1 .comm-btn_TkavW.comm-btn-default_w4ZdG:hover{border-color:#1890ff}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-footer-wrapper_gwVt1 .comm-btn_TkavW .l-btn-left_YqrWM{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-footer-wrapper_gwVt1 .comm-btn-left_xRLkL{left:28px;position:absolute}.pop-content-container_tbnS-:not(.oneLineOneInputDlg_W9WFq) .pop-footer-wrapper_gwVt1 .grid-export_rc4iD .comm-btn_TkavW:last-child{margin-left:8px}.pop-content-container_tbnS- *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_tbnS- label{position:relative}.pop-content-wrapper_xyFCB a.route-link_KxkSk,.pop-content-wrapper_xyFCB a.route-link_KxkSk:active,.pop-content-wrapper_xyFCB a.route-link_KxkSk:visited{color:#00e}div[user-resizable] .window-body_wcgiQ>.panel_nX0yq,div[user-resizable] .window-header_CryAe{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_wcgiQ>.panel_nX0yq{height:100%!important}div[user-resizable] .window-body_wcgiQ .dialog-content_tUWdU{height:100%!important;width:100%!important}.comm-fittinginput-container_5EqQH{height:100%;width:100%}.comm-fittinginput-container_5EqQH .comm-fittinginput-wrapper_R2B9D{border:1px solid var(--common-border-color);border-radius:2px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;box-align:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;box-pack:justify;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;background-color:var(--bg-color-input);-webkit-flex-wrap:nowrap!important;flex-wrap:nowrap!important;height:24px;justify-content:space-between;overflow:hidden}.comm-fittinginput-container_5EqQH .comm-fittinginput-wrapper_R2B9D:focus-within{background-color:var(--bg-color-focus-input)!important;border-color:var(--border-color-focus-input)}.comm-fittinginput-container_5EqQH .comm-fittinginput-wrapper_R2B9D .comm-fittinginput-input_bS3wh{border:0;line-height:24px;margin:0;min-width:50px;outline:0;padding:0 5px 0 10px;width:100%}.comm-fittinginput-container_5EqQH .comm-fittinginput-wrapper_R2B9D .comm-fittinginput-clear_3DF3v{cursor:pointer;padding:1px 5px 0 0}.comm-fittinginput-container_5EqQH .comm-fittinginput-wrapper_R2B9D .comm-fittinginput-clear-hidden_J7XNC{display:none}.comm-fittinginput-container_5EqQH .comm-fittinginput-wrapper_R2B9D .comm-fittinginput-clear_3DF3v:hover{color:#1890ff}.comm-fittinginput-container_5EqQH .comm-fittinginput-wrapper_R2B9D .comm-fittinginput-search_pRleb{cursor:pointer;padding:4px 5px 0 0}.comm-fittinginput-container_5EqQH .comm-fittinginput-wrapper_R2B9D .comm-fittinginput-search-hidden_uPMXu{display:none}.comm-fittinginput-container_5EqQH .comm-fittinginput-wrapper_R2B9D .comm-fittinginput-search_pRleb:hover{color:#1890ff}.comm-fittinginput-container_5EqQH .comm-fittinginput-wrapper_R2B9D .comm-fittinginput-last_vhiAn{height:22px}.comm-fittinginput-container_5EqQH .comm-fittinginput-wrapper_R2B9D .comm-fittinginput-last_vhiAn .last_iqzxt{background-position:50%;cursor:pointer;display:inline-block;height:22px;width:22px}.comm-fittinginput-container_5EqQH .comm-fittinginput-wrapper_R2B9D .disable_Q-BIp{-webkit-filter:invert(55%) sepia(0) saturate(7448%) hue-rotate(101deg) brightness(138%) contrast(99%);filter:invert(55%) sepia(0) saturate(7448%) hue-rotate(101deg) brightness(138%) contrast(99%)}.comm-fittinginput-container_5EqQH .comm-fittinginput-wrapper_R2B9D .disable_Q-BIp i{cursor:not-allowed!important}.comm-fittinginput-container_5EqQH .comm-fittinginput-wrapper_R2B9D .comm-fittinginput-next_odAa5{height:22px}.comm-fittinginput-container_5EqQH .comm-fittinginput-wrapper_R2B9D .comm-fittinginput-next_odAa5 .next_obY47{background-position:50%;cursor:pointer;display:inline-block;height:22px;width:22px}.comm-fittinginput-container_5EqQH .filter-search_NT1N3{width:-webkit-calc(100% - 52px);width:-moz-calc(100% - 52px);width:calc(100% - 52px)}.comm-fittinginput-container_5EqQH .active_pj6u7{background-color:#e6f7ff}.comm-fittinginput-container_5EqQH .icon_bZkoH{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;border:1px solid var(--border-color-panel-divider);border-right:none;cursor:pointer;display:inline-block;-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);height:24px;width:24px}.comm-fittinginput-container_5EqQH .icon-eda-filter_y-YYx{border-radius:0 2px 2px 0;border-right:1px solid var(--border-color-panel-divider)}.comm-fittinginput-container_5EqQH .icon-eda-zoom_l0voj{border-radius:2px 0 0 2px}.comm-fittinginput-container_5EqQH .comm-fittinginput-wrapper-active_3KYzQ{border:1px solid #1890ff}.comm-fittinginput-container-panel_ZbhNs{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.allDifferentailPair_9Ml7l{height:inherit;overflow-y:auto;width:126px}.allDifferentailPair_9Ml7l li{cursor:pointer;list-style:none;overflow-x:hidden;padding:5px 10px;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.allDifferentailPair_9Ml7l li .differential-icon_AB1zt{-webkit-filter:invert(14%) sepia(69%) saturate(4924%) hue-rotate(354deg) brightness(117%) contrast(122%);filter:invert(14%) sepia(69%) saturate(4924%) hue-rotate(354deg) brightness(117%) contrast(122%);height:16px;position:relative;width:16px}.allDifferentailPair_9Ml7l li.selected_-qXCi{background:var(--bg-color-selected-drop-down-menuItem)}.allDifferentailPair_9Ml7l .tr-menu-item-text-tag_1Zw0U{color:red;font-size:14px;font-weight:bolder}.createDifferentailPair_iNcfN{overflow-x:auto;width:100%}.createDifferentailPair_iNcfN,.createDifferentailPair_iNcfN .allDifferentailPairName_-z6zO{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%}.createDifferentailPair_iNcfN .allDifferentailPairName_-z6zO{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.createDifferentailPair_iNcfN li{cursor:pointer;list-style:none;padding:5px 10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.createDifferentailPair_iNcfN li.selected_-qXCi{background:var(--bg-color-selected-drop-down-menuItem)}.createDifferentailPair_iNcfN .differentailPairNameWrap_FrOZw{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;border:1px solid var(--common-border-color);flex:1;height:80%;padding:8px 0}.createDifferentailPair_iNcfN .netSelectWrap_F8w86{border:1px solid var(--common-border-color);margin-left:10px;padding:8px 16px;width:100%}.createDifferentailPair_iNcfN .netSelectWrap_F8w86 .nameWrap_y2A0H{-webkit-box-flex:0;-webkit-flex:0 0 90px;-moz-box-flex:0;flex:0 0 90px;text-align:left;word-break:break-word}.createDifferentailPair_iNcfN .netSelectWrap_F8w86 .buttonWrap_h-c8q{background-color:var(--bg-color-button);border-color:var(--border-color-button);color:var(--font-color-button);margin-left:15px}.createDifferentailPair_iNcfN .netSelectWrap_F8w86 .positiveSelect_FusEp{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.attr_setting_btn_6dCJR{display:inline-block;height:16px;width:16px}.icon_operate_CWiC8{background-repeat:no-repeat;cursor:pointer;margin:0 4px}.icon_operate_add_vJ-OT{background-image:");wy.push("url(");wy.push(JSON.stringify(u9()));wy.push(")");wy.push(";background-position:50%;background-size:130%}.icon_operate_add_vJ-OT.disabled_zia9i{background-image:");wy.push("url(");wy.push(JSON.stringify(VR()));wy.push(")");wy.push(";background-position:50%;background-size:130%}.icon_operate_delete_R8t6f{background-image:");wy.push("url(");wy.push(JSON.stringify(p9()));wy.push(")");wy.push(";background-position:50%;background-size:130%}.icon_operate_delete_R8t6f.disabled_zia9i{background-image:");wy.push("url(");wy.push(JSON.stringify(m9()));wy.push(")");wy.push(";background-position:center -2px;background-size:140%}.net-disabled_8JiU6{background-color:var(--bg-color-disabled-input);border:1px solid var(--border-color-drop-down-menu);color:var(--font-color-disabled-drop-down-menuItem);display:inline-block;height:28px;line-height:28px;padding-left:8px;pointer-events:none;width:100%}");wy=wy.join("");v$i.exports={uuid:"d6ba2fdd-7c90-4ede-93e1-f478cd859f6e",locals:{"comm-icon-add":"comm-icon-add_ZDRg9","comm-background-color-efefef":"comm-background-color-efefef_U2qcv","comm-btn-confirm":"comm-btn-confirm_y8iDa","comm-btn-cancel":"comm-btn-cancel_VBedJ","opacity-none":"opacity-none_iYiv-","pointer-events-none":"pointer-events-none_vR5dl","attr-prohibit":"attr-prohibit_Cv-bn","display-block":"display-block_k29SV","display-none":"display-none_W9mI3","display-flex":"display-flex_vhkq5","display-inline-flex":"display-inline-flex_NprJS","flex-lateral-axis-center":"flex-lateral-axis-center_SYp5M","flex-lateral-axis-start":"flex-lateral-axis-start_cJvoR","flex-lateral-axis-end":"flex-lateral-axis-end_Dyp3Y","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_kyJZA","flex-main-axis-center":"flex-main-axis-center_NEaA4","flex-main-axis-start":"flex-main-axis-start_LZf2g","flex-main-axis-end":"flex-main-axis-end_VLqPc","flex-main-axis-around":"flex-main-axis-around_lq5HJ","flex-main-axis-between":"flex-main-axis-between_5tUto","flex-nowrap":"flex-nowrap_MvlqV","flex-wrap":"flex-wrap_SsYYf","flex-direct-row":"flex-direct-row_40ND3","flex-direct-rerow":"flex-direct-rerow_t1MdF","flex-direct-column":"flex-direct-column_u9UKi","flex-direct-recolumn":"flex-direct-recolumn_9iQho","color-black-important":"color-black-important_YTMMx","color-white-important":"color-white-important_aJZGV","bgcolor-red-important":"bgcolor-red-important_CTR8b","pop-content-container":"pop-content-container_tbnS-",oneLineOneInputDlg:"oneLineOneInputDlg_W9WFq","pop-content-wrapper":"pop-content-wrapper_xyFCB","comm-btn-operate-link":"comm-btn-operate-link_gECTs","comm-btn-height":"comm-btn-height_uDb8T","comm-btn-text":"comm-btn-text_u3IG-","margin-btn":"margin-btn_my58Y","margin-top":"margin-top_1fCgA","dialog-input":"dialog-input_Dx-mj","device-property-key":"device-property-key_QKoZc","attrs-select-wrap":"attrs-select-wrap_ke9iW","pop-footer-wrapper":"pop-footer-wrapper_gwVt1","comm-btn":"comm-btn_TkavW","comm-btn-default":"comm-btn-default_w4ZdG","l-btn-left":"l-btn-left_YqrWM","comm-btn-left":"comm-btn-left_xRLkL","grid-export":"grid-export_rc4iD","route-link":"route-link_KxkSk","window-body":"window-body_wcgiQ",panel:"panel_nX0yq","window-header":"window-header_CryAe","dialog-content":"dialog-content_tUWdU","comm-fittinginput-container":"comm-fittinginput-container_5EqQH","comm-fittinginput-wrapper":"comm-fittinginput-wrapper_R2B9D","comm-fittinginput-input":"comm-fittinginput-input_bS3wh","comm-fittinginput-clear":"comm-fittinginput-clear_3DF3v","comm-fittinginput-clear-hidden":"comm-fittinginput-clear-hidden_J7XNC","comm-fittinginput-search":"comm-fittinginput-search_pRleb","comm-fittinginput-search-hidden":"comm-fittinginput-search-hidden_uPMXu","comm-fittinginput-last":"comm-fittinginput-last_vhiAn",last:"last_iqzxt",disable:"disable_Q-BIp","comm-fittinginput-next":"comm-fittinginput-next_odAa5",next:"next_obY47","filter-search":"filter-search_NT1N3",active:"active_pj6u7",icon:"icon_bZkoH","icon-eda-filter":"icon-eda-filter_y-YYx","icon-eda-zoom":"icon-eda-zoom_l0voj","comm-fittinginput-wrapper-active":"comm-fittinginput-wrapper-active_3KYzQ","comm-fittinginput-container-panel":"comm-fittinginput-container-panel_ZbhNs",allDifferentailPair:"allDifferentailPair_9Ml7l","differential-icon":"differential-icon_AB1zt",selected:"selected_-qXCi","tr-menu-item-text-tag":"tr-menu-item-text-tag_1Zw0U",createDifferentailPair:"createDifferentailPair_iNcfN",allDifferentailPairName:"allDifferentailPairName_-z6zO",differentailPairNameWrap:"differentailPairNameWrap_FrOZw",netSelectWrap:"netSelectWrap_F8w86",nameWrap:"nameWrap_y2A0H",buttonWrap:"buttonWrap_h-c8q",positiveSelect:"positiveSelect_FusEp",attr_setting_btn:"attr_setting_btn_6dCJR",icon_operate:"icon_operate_CWiC8",icon_operate_add:"icon_operate_add_vJ-OT",disabled:"disabled_zia9i",icon_operate_delete:"icon_operate_delete_R8t6f","net-disabled":"net-disabled_8JiU6"},toString(){return wy}}});var kY=xe((emc,O$i)=>{var L7=[];L7.push("table.common-table-wrpper_2soXB{background-color:var(--bg-color-table-header);border:1px dashed var(--border-color-table-header);border-collapse:collapse;font-size:12px;table-layout:fixed;text-align:left}table.common-table-wrpper_2soXB thead{background-color:var(--common-bg-color)}table.common-table-wrpper_2soXB thead th{border:1px solid var(--border-color-table-body);padding:3px 6px;word-break:break-all;word-wrap:break-word;background-color:var(--bg-color-table-header);overflow:hidden;text-overflow:ellipsis;white-space:normal}table.common-table-wrpper_2soXB tbody{width:100%}table.common-table-wrpper_2soXB tbody tr{line-height:20px}table.common-table-wrpper_2soXB tbody tr td{border:1px solid var(--border-color-table-body);padding:3px 6px;word-break:break-all;word-wrap:break-word;overflow:hidden;text-overflow:ellipsis;white-space:normal}table.common-table-wrpper_2soXB tbody tr td input{border:0}table.common-table-wrpper_2soXB tbody tr:hover{background-color:var(--bg-color-hover-tr)}table.common-table-wrpper_2soXB tbody tr.active-row_PBAFu{background-color:var(--common-selected-bg-color)!important}table.common-table-wrpper_2soXB tbody tr.table-tr-cursor-pointer_AL-DT{cursor:pointer}table.common-table-wrpper_2soXB tbody tr.table-tr-selected_zpfpR{background-color:var(--bg-color-selected-tr)}table.common-table-wrpper_2soXB tfoot tr td{border:1px solid var(--border-color-table-body);padding:3px 6px;word-break:break-all;word-wrap:break-word;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:normal}.pop-content-container_97nyE{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.constraint-rule-panel_rQ0nQ{height:100%}.tree-menu_kcFMP{padding-bottom:10px}.tree-menu-container_LFSck{-webkit-box-flex:0;-webkit-flex:0 0 250px;-moz-box-flex:0;flex:0 0 250px;height:100%;width:250px}.tree-menu-container_LFSck .tree-menu-scroll_k49N1{height:100%;overflow-x:auto;overflow-y:scroll}.rule-content-container_UkjH3{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;height:100%;margin-left:15px;width:705px}.rule-content-container_UkjH3 .input-search-box_m6L-L{-moz-box-sizing:border-box;box-sizing:border-box;padding:0 5px 8px;width:100%}.rule-content-container_UkjH3 .constraint-table-warper_UI6Ad{height:562px;margin-top:8px}.comm-tab-container_nHuio{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.comm-tab-content_z2zIG{height:100%;overflow:hidden;position:relative;z-index:1000}.comm-tab-header_rUBh7{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;border-bottom:1px solid var(--border-color-panel-divider);justify-content:flex-start}.tr-menu-item-display-input_dbxGl,.tr-menu-item-display-input_dbxGl:active,.tr-menu-item-display-input_dbxGl:focus{background-color:transparent!important;border:0;cursor:pointer;outline:0}.empty-cell-light_N2U-X{background-image:");L7.push("url(");L7.push('"data:image/svg+xml;utf8,<svg width=\\"67\\" height=\\"80\\" xmlns=\\"http://www.w3.org/2000/svg\\"><line x1=\\"67\\" y1=\\"0\\" x2=\\"67\\" y2=\\"80\\" stroke=\\"%23e3e3e3\\" stroke-width=\\"2\\" /></svg>"');L7.push(")");L7.push("}.empty-cell-dark_uURkP{background-image:");L7.push("url(");L7.push('"data:image/svg+xml;utf8,<svg width=\\"67\\" height=\\"80\\" xmlns=\\"http://www.w3.org/2000/svg\\"><line x1=\\"67\\" y1=\\"0\\" x2=\\"67\\" y2=\\"80\\" stroke=\\"%23222222\\" stroke-width=\\"2\\" /></svg>"');L7.push(")");L7.push("}.empty-cell_syT8I{background-color:var(--bg-color-disabled-td)}table.common-table-wrpper_2soXB tbody tr{background-color:var(--bg-color-table-row);border-collapse:collapse;line-height:-webkit-calc(1em + 6px);line-height:-moz-calc(1em + 6px);line-height:calc(1em + 6px)}table.common-table-wrpper_2soXB tbody tr td{padding:0!important}");L7=L7.join("");O$i.exports={uuid:"3c4bdfad-a6fa-4615-91e5-dc5bb4c219ee",locals:{"common-table-wrpper":"common-table-wrpper_2soXB","active-row":"active-row_PBAFu","table-tr-cursor-pointer":"table-tr-cursor-pointer_AL-DT","table-tr-selected":"table-tr-selected_zpfpR","pop-content-container":"pop-content-container_97nyE","constraint-rule-panel":"constraint-rule-panel_rQ0nQ","tree-menu":"tree-menu_kcFMP","tree-menu-container":"tree-menu-container_LFSck","tree-menu-scroll":"tree-menu-scroll_k49N1","rule-content-container":"rule-content-container_UkjH3","input-search-box":"input-search-box_m6L-L","constraint-table-warper":"constraint-table-warper_UI6Ad","comm-tab-container":"comm-tab-container_nHuio","comm-tab-content":"comm-tab-content_z2zIG","comm-tab-header":"comm-tab-header_rUBh7","tr-menu-item-display-input":"tr-menu-item-display-input_dbxGl","empty-cell-light":"empty-cell-light_N2U-X","empty-cell-dark":"empty-cell-dark_uURkP","empty-cell":"empty-cell_syT8I"},toString(){return L7}}});var Tkt=xe((Xgc,meo)=>{var A7=[];A7.push(".main-container_B3tjm{height:665px;min-height:480px}.view-loading-wrapper_6cfWw{height:665px;left:0;position:relative;top:0;width:100%}.view-loading_tC0tI{background-color:var(--common-bg-color);height:-webkit-calc(100% - 2px);height:-moz-calc(100% - 2px);height:calc(100% - 2px);left:1px;position:absolute;top:1px;width:-webkit-calc(100% - 2px);width:-moz-calc(100% - 2px);width:calc(100% - 2px);z-index:9999}.view-loading-rotation_PZfmy{height:36px;left:45%;position:absolute;top:40%;width:36px}.common-table-wrpper_vN-bq{border:1px dashed var(--border-color-table-header);border-collapse:collapse;font-size:12px;table-layout:fixed;text-align:left}.common-table-wrpper_vN-bq,.common-table-wrpper_vN-bq th{background-color:var(--bg-color-table-header)}.common-table-wrpper_vN-bq th{border-color:var(--border-color-table-header);color:var(--font-color-table)}.common-table-wrpper_vN-bq tr{background-color:var(--bg-color-table-row);border-color:var(--border-color-table-body);color:var(--font-color-table)}.disabled-cell_hWyNo{background-color:var(--bg-color-disabled-td);height:100%;pointer-events:none;width:100%}.disabled-cell_hWyNo div,.disabled-cell_hWyNo input{display:none}.tree-expanded_sk2sq{background:");A7.push("url(");A7.push(JSON.stringify(Ow()));A7.push(")");A7.push(" no-repeat}.tree-collapsed_rbE1L,.tree-expanded_sk2sq{display:inline-block;height:16px;margin-right:5px;width:16px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree);vertical-align:middle}.tree-collapsed_rbE1L{background:");A7.push("url(");A7.push(JSON.stringify(qx()));A7.push(")");A7.push(" no-repeat}");A7=A7.join("");meo.exports={uuid:"7518986f-79d8-4786-a657-191db7b3ae57",locals:{"main-container":"main-container_B3tjm","view-loading-wrapper":"view-loading-wrapper_6cfWw","view-loading":"view-loading_tC0tI","view-loading-rotation":"view-loading-rotation_PZfmy","common-table-wrpper":"common-table-wrpper_vN-bq","disabled-cell":"disabled-cell_hWyNo","tree-expanded":"tree-expanded_sk2sq","tree-collapsed":"tree-collapsed_rbE1L"},toString(){return A7}}});var G6e=xe((B2c,xeo)=>{var Jqe=[];Jqe.push(".pop-content-container_7T9Dx{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.constraint-rule-panel_3HyR1{height:100%}.tree-menu_9-M07{padding-bottom:10px}.tree-menu-container_R5tIt{-webkit-box-flex:0;-webkit-flex:0 0 250px;-moz-box-flex:0;flex:0 0 250px;height:100%;width:250px}.tree-menu-container_R5tIt .tree-menu-scroll_-ejNR{height:100%;overflow-x:auto;overflow-y:scroll}.rule-content-container_BcQ2-{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;height:100%;margin-left:15px;width:705px}.rule-content-container_BcQ2- .input-search-box_yszXl{-moz-box-sizing:border-box;box-sizing:border-box;padding:0 5px 8px;width:100%}.rule-content-container_BcQ2- .constraint-table-warper_gVH27{height:472px;margin-top:8px;overflow-x:auto;overflow-y:scroll}.comm-tab-container_pHZTJ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.comm-tab-content_9t-By{height:100%;overflow:hidden;position:relative;z-index:1000}.comm-tab-header_AG8bg{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;border-bottom:1px solid var(--border-color-panel-divider);justify-content:flex-start}.tr-menu-item-display-input_dT77q,.tr-menu-item-display-input_dT77q:active,.tr-menu-item-display-input_dT77q:focus{background-color:transparent!important;border:0;cursor:pointer;outline:0}");Jqe=Jqe.join("");xeo.exports={uuid:"7afe2b78-e362-4d18-a5e1-458ba1ba84b4",locals:{"pop-content-container":"pop-content-container_7T9Dx","constraint-rule-panel":"constraint-rule-panel_3HyR1","tree-menu":"tree-menu_9-M07","tree-menu-container":"tree-menu-container_R5tIt","tree-menu-scroll":"tree-menu-scroll_-ejNR","rule-content-container":"rule-content-container_BcQ2-","input-search-box":"input-search-box_yszXl","constraint-table-warper":"constraint-table-warper_gVH27","comm-tab-container":"comm-tab-container_pHZTJ","comm-tab-content":"comm-tab-content_9t-By","comm-tab-header":"comm-tab-header_AG8bg","tr-menu-item-display-input":"tr-menu-item-display-input_dT77q"},toString(){return Jqe}}});var zeo=xe((gyc,Beo)=>{var oXe=[];oXe.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_aKA1r{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_ZopWN{background-color:#efefef}.comm-btn-confirm_mimfs{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_mimfs:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_4wBxI{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_4wBxI:hover{border:1px solid #40a9ff!important}.opacity-none_W2DaF,.pointer-events-none_T5L9W{cursor:default;pointer-events:none!important}.opacity-none_W2DaF{opacity:0}.attr-prohibit_a3FNC,.display-block_1uDrV{display:block}.display-none_ijyEJ{display:none!important}.display-flex_lhHQ2{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_fjnST{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_cNInv{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_K2CPY{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_kkKxz{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_I-H30{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_yKIgW{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_mLX9V{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_1vWBY{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_3Qsno{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_1fFo5{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_7Fs5m{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_jK5p7{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_rka1l{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_ysALe{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_19W1j{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_8rcdD{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_UFu9o{color:#000!important}.color-white-important_J9DrK{color:#fff!important}.bgcolor-red-important_ZLfsx{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-content-wrapper_CpOVn{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-content-wrapper_CpOVn>div{overflow:auto;width:100%}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-content-wrapper_CpOVn .comm-btn-operate-link_ffoz1{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-content-wrapper_CpOVn .comm-btn-height_Aw-49{height:22px}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-content-wrapper_CpOVn .comm-btn-text_4C3eB{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-content-wrapper_CpOVn .margin-btn_MDoXq{margin-bottom:16px}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-content-wrapper_CpOVn .margin-top_prWw2{margin-top:16px}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-content-wrapper_CpOVn input.dialog-input_0lKDu{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-content-wrapper_CpOVn input.dialog-input_0lKDu:not([disabled]){color:var(--font-color-input)}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-content-wrapper_CpOVn select.dialog-input_0lKDu{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-content-wrapper_CpOVn select.dialog-input_0lKDu:not([disabled]){color:var(--font-color-input)}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-content-wrapper_CpOVn textarea.dialog-input_0lKDu{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-content-wrapper_CpOVn .device-property-key_2f9SM{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-content-wrapper_CpOVn .attrs-select-wrap_BkcIJ{padding-left:8px}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-footer-wrapper_7YrgW{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-footer-wrapper_7YrgW .comm-btn_p28X0{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-footer-wrapper_7YrgW .comm-btn_p28X0:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-footer-wrapper_7YrgW .comm-btn_p28X0.comm-btn-default_nxyIg{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-footer-wrapper_7YrgW .comm-btn_p28X0.comm-btn-default_nxyIg:hover{border-color:#1890ff}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-footer-wrapper_7YrgW .comm-btn_p28X0 .l-btn-left_Ye8-i{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-footer-wrapper_7YrgW .comm-btn-left_TlNOv{left:28px;position:absolute}.pop-content-container_Rn4fn:not(.oneLineOneInputDlg_-97IL) .pop-footer-wrapper_7YrgW .grid-export_ihuDv .comm-btn_p28X0:last-child{margin-left:8px}.pop-content-container_Rn4fn *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_Rn4fn label{position:relative}.pop-content-wrapper_CpOVn a.route-link_kee1U,.pop-content-wrapper_CpOVn a.route-link_kee1U:active,.pop-content-wrapper_CpOVn a.route-link_kee1U:visited{color:#00e}div[user-resizable] .window-body_-w3Hl>.panel_ZYBMy,div[user-resizable] .window-header_XmmZ4{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_-w3Hl>.panel_ZYBMy{height:100%!important}div[user-resizable] .window-body_-w3Hl .dialog-content_mpAu1{height:100%!important;width:100%!important}");oXe=oXe.join("");Beo.exports={uuid:"026fb1cf-ee12-4e01-ba77-f6a719f10f81",locals:{"comm-icon-add":"comm-icon-add_aKA1r","comm-background-color-efefef":"comm-background-color-efefef_ZopWN","comm-btn-confirm":"comm-btn-confirm_mimfs","comm-btn-cancel":"comm-btn-cancel_4wBxI","opacity-none":"opacity-none_W2DaF","pointer-events-none":"pointer-events-none_T5L9W","attr-prohibit":"attr-prohibit_a3FNC","display-block":"display-block_1uDrV","display-none":"display-none_ijyEJ","display-flex":"display-flex_lhHQ2","display-inline-flex":"display-inline-flex_fjnST","flex-lateral-axis-center":"flex-lateral-axis-center_cNInv","flex-lateral-axis-start":"flex-lateral-axis-start_K2CPY","flex-lateral-axis-end":"flex-lateral-axis-end_kkKxz","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_I-H30","flex-main-axis-center":"flex-main-axis-center_yKIgW","flex-main-axis-start":"flex-main-axis-start_mLX9V","flex-main-axis-end":"flex-main-axis-end_1vWBY","flex-main-axis-around":"flex-main-axis-around_3Qsno","flex-main-axis-between":"flex-main-axis-between_1fFo5","flex-nowrap":"flex-nowrap_7Fs5m","flex-wrap":"flex-wrap_jK5p7","flex-direct-row":"flex-direct-row_rka1l","flex-direct-rerow":"flex-direct-rerow_ysALe","flex-direct-column":"flex-direct-column_19W1j","flex-direct-recolumn":"flex-direct-recolumn_8rcdD","color-black-important":"color-black-important_UFu9o","color-white-important":"color-white-important_J9DrK","bgcolor-red-important":"bgcolor-red-important_ZLfsx","pop-content-container":"pop-content-container_Rn4fn",oneLineOneInputDlg:"oneLineOneInputDlg_-97IL","pop-content-wrapper":"pop-content-wrapper_CpOVn","comm-btn-operate-link":"comm-btn-operate-link_ffoz1","comm-btn-height":"comm-btn-height_Aw-49","comm-btn-text":"comm-btn-text_4C3eB","margin-btn":"margin-btn_MDoXq","margin-top":"margin-top_prWw2","dialog-input":"dialog-input_0lKDu","device-property-key":"device-property-key_2f9SM","attrs-select-wrap":"attrs-select-wrap_BkcIJ","pop-footer-wrapper":"pop-footer-wrapper_7YrgW","comm-btn":"comm-btn_p28X0","comm-btn-default":"comm-btn-default_nxyIg","l-btn-left":"l-btn-left_Ye8-i","comm-btn-left":"comm-btn-left_TlNOv","grid-export":"grid-export_ihuDv","route-link":"route-link_kee1U","window-body":"window-body_-w3Hl",panel:"panel_ZYBMy","window-header":"window-header_XmmZ4","dialog-content":"dialog-content_mpAu1"},toString(){return oXe}}});var Keo=xe((qyc,Qeo)=>{var nXe=[];nXe.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_PjCz-{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_BIUCl{background-color:#efefef}.comm-btn-confirm_U6cUe{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_U6cUe:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_puvDb{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_puvDb:hover{border:1px solid #40a9ff!important}.opacity-none_BcQcd,.pointer-events-none_QcAYU{cursor:default;pointer-events:none!important}.opacity-none_BcQcd{opacity:0}.attr-prohibit_OsvvD,.display-block_6y389{display:block}.display-none_zcNFq{display:none!important}.display-flex_6sink{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_4fWdD{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_ytR1j{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_8lGr6{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_JoopE{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_8JJds{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_FRSrx{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_kwnxE{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_UT9pp{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_58zer{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_6HfXe{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_EARGV{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_3wCAS{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_CKWGE{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_ePsFn{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_1kqhX{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_LLzlq{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_k7vPl{color:#000!important}.color-white-important_y-IW-{color:#fff!important}.bgcolor-red-important_B-qJz{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-content-wrapper_MAtdp{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-content-wrapper_MAtdp>div{overflow:auto;width:100%}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-content-wrapper_MAtdp .comm-btn-operate-link_LbezT{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-content-wrapper_MAtdp .comm-btn-height_zW9EH{height:22px}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-content-wrapper_MAtdp .comm-btn-text_NgSE2{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-content-wrapper_MAtdp .margin-btn_BIZIH{margin-bottom:16px}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-content-wrapper_MAtdp .margin-top_yCAHF{margin-top:16px}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-content-wrapper_MAtdp input.dialog-input_02yps{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-content-wrapper_MAtdp input.dialog-input_02yps:not([disabled]){color:var(--font-color-input)}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-content-wrapper_MAtdp select.dialog-input_02yps{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-content-wrapper_MAtdp select.dialog-input_02yps:not([disabled]){color:var(--font-color-input)}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-content-wrapper_MAtdp textarea.dialog-input_02yps{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-content-wrapper_MAtdp .device-property-key_1wTJd{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-content-wrapper_MAtdp .attrs-select-wrap_XrbLv{padding-left:8px}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-footer-wrapper_iKWjO{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-footer-wrapper_iKWjO .comm-btn_hLgI8{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-footer-wrapper_iKWjO .comm-btn_hLgI8:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-footer-wrapper_iKWjO .comm-btn_hLgI8.comm-btn-default_-oEdH{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-footer-wrapper_iKWjO .comm-btn_hLgI8.comm-btn-default_-oEdH:hover{border-color:#1890ff}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-footer-wrapper_iKWjO .comm-btn_hLgI8 .l-btn-left_Wsb15{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-footer-wrapper_iKWjO .comm-btn-left_87P5h{left:28px;position:absolute}.pop-content-container_VNek0:not(.oneLineOneInputDlg_5bAjd) .pop-footer-wrapper_iKWjO .grid-export_23NgG .comm-btn_hLgI8:last-child{margin-left:8px}.pop-content-container_VNek0 *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_VNek0 label{position:relative}.pop-content-wrapper_MAtdp a.route-link_g5puB,.pop-content-wrapper_MAtdp a.route-link_g5puB:active,.pop-content-wrapper_MAtdp a.route-link_g5puB:visited{color:#00e}div[user-resizable] .window-body_UCMrg>.panel_femO2,div[user-resizable] .window-header_cv3IZ{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_UCMrg>.panel_femO2{height:100%!important}div[user-resizable] .window-body_UCMrg .dialog-content_WDcT6{height:100%!important;width:100%!important}.tree-container_MBWqu div[class^=tree-rowline]{height:25px;min-height:25px}");nXe=nXe.join("");Qeo.exports={uuid:"ac7097b6-8488-42a7-8d6b-00b05d7138f1",locals:{"comm-icon-add":"comm-icon-add_PjCz-","comm-background-color-efefef":"comm-background-color-efefef_BIUCl","comm-btn-confirm":"comm-btn-confirm_U6cUe","comm-btn-cancel":"comm-btn-cancel_puvDb","opacity-none":"opacity-none_BcQcd","pointer-events-none":"pointer-events-none_QcAYU","attr-prohibit":"attr-prohibit_OsvvD","display-block":"display-block_6y389","display-none":"display-none_zcNFq","display-flex":"display-flex_6sink","display-inline-flex":"display-inline-flex_4fWdD","flex-lateral-axis-center":"flex-lateral-axis-center_ytR1j","flex-lateral-axis-start":"flex-lateral-axis-start_8lGr6","flex-lateral-axis-end":"flex-lateral-axis-end_JoopE","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_8JJds","flex-main-axis-center":"flex-main-axis-center_FRSrx","flex-main-axis-start":"flex-main-axis-start_kwnxE","flex-main-axis-end":"flex-main-axis-end_UT9pp","flex-main-axis-around":"flex-main-axis-around_58zer","flex-main-axis-between":"flex-main-axis-between_6HfXe","flex-nowrap":"flex-nowrap_EARGV","flex-wrap":"flex-wrap_3wCAS","flex-direct-row":"flex-direct-row_CKWGE","flex-direct-rerow":"flex-direct-rerow_ePsFn","flex-direct-column":"flex-direct-column_1kqhX","flex-direct-recolumn":"flex-direct-recolumn_LLzlq","color-black-important":"color-black-important_k7vPl","color-white-important":"color-white-important_y-IW-","bgcolor-red-important":"bgcolor-red-important_B-qJz","pop-content-container":"pop-content-container_VNek0",oneLineOneInputDlg:"oneLineOneInputDlg_5bAjd","pop-content-wrapper":"pop-content-wrapper_MAtdp","comm-btn-operate-link":"comm-btn-operate-link_LbezT","comm-btn-height":"comm-btn-height_zW9EH","comm-btn-text":"comm-btn-text_NgSE2","margin-btn":"margin-btn_BIZIH","margin-top":"margin-top_yCAHF","dialog-input":"dialog-input_02yps","device-property-key":"device-property-key_1wTJd","attrs-select-wrap":"attrs-select-wrap_XrbLv","pop-footer-wrapper":"pop-footer-wrapper_iKWjO","comm-btn":"comm-btn_hLgI8","comm-btn-default":"comm-btn-default_-oEdH","l-btn-left":"l-btn-left_Wsb15","comm-btn-left":"comm-btn-left_87P5h","grid-export":"grid-export_23NgG","route-link":"route-link_g5puB","window-body":"window-body_UCMrg",panel:"panel_femO2","window-header":"window-header_cv3IZ","dialog-content":"dialog-content_WDcT6","tree-container":"tree-container_MBWqu"},toString(){return nXe}}});var ito=xe((k4c,tto)=>{var sXe=[];sXe.push(".container_N3-FL{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;gap:16px}.body_DcRkm{border:1px solid var(--common-border-color);padding:16px}.content_9h6zj{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.title_ALGqp{-webkit-box-flex:0;-webkit-flex:0 0 24px;-moz-box-flex:0;flex:0 0 24px;padding-right:10px;text-align:right;white-space:nowrap}.hidden_bIiQ6{display:none}.tips_H-NdB{padding:0 16px}.footer_ZqC-d{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;gap:8px;justify-content:flex-end}");sXe=sXe.join("");tto.exports={uuid:"8c0c8564-a55b-48df-a8df-8f9ba91e3bdf",locals:{container:"container_N3-FL",body:"body_DcRkm",content:"content_9h6zj",title:"title_ALGqp",hidden:"hidden_bIiQ6",tips:"tips_H-NdB",footer:"footer_ZqC-d"},toString(){return sXe}}});var cto=xe((c3c,lto)=>{var cXe=[];cXe.push(".main-container_C44Fy{height:490px!important;min-height:480px}");cXe=cXe.join("");lto.exports={uuid:"1458d47a-0905-482f-8d51-e505544b38e1",locals:{"main-container":"main-container_C44Fy"},toString(){return cXe}}});var Okt=xe((_3c,hto)=>{var dXe=[];dXe.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_Cmdz3{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_oPIfW{background-color:#efefef}.comm-btn-confirm_nNna7{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_nNna7:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_QZVaD{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_QZVaD:hover{border:1px solid #40a9ff!important}.opacity-none_3rIBH,.pointer-events-none_c1KXm{cursor:default;pointer-events:none!important}.opacity-none_3rIBH{opacity:0}.attr-prohibit_d6iGr,.display-block_dHEr7{display:block}.display-none_PP9t3{display:none!important}.display-flex_R7pkl{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_Eg6aQ{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_229N-{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_KgIAt{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_qC7dD{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_YLamJ{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_3AdoU{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_lGyBP{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_O9EXv{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_gVJ89{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_DEHPO{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_svn0n{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_cXQPv{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_wKpVl{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_k8PDD{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_7kDQg{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_YvbuO{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_jNRop{color:#000!important}.color-white-important_pLSmC{color:#fff!important}.bgcolor-red-important_jJTU2{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-content-wrapper_tkphK{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-content-wrapper_tkphK>div{overflow:auto;width:100%}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-content-wrapper_tkphK .comm-btn-operate-link_-bz7f{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-content-wrapper_tkphK .comm-btn-height_tKJ5P{height:22px}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-content-wrapper_tkphK .comm-btn-text_-CGHt{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-content-wrapper_tkphK .margin-btn_2eLqx{margin-bottom:16px}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-content-wrapper_tkphK .margin-top_BuThY{margin-top:16px}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-content-wrapper_tkphK input.dialog-input_Yg9u7{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-content-wrapper_tkphK input.dialog-input_Yg9u7:not([disabled]){color:var(--font-color-input)}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-content-wrapper_tkphK select.dialog-input_Yg9u7{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-content-wrapper_tkphK select.dialog-input_Yg9u7:not([disabled]){color:var(--font-color-input)}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-content-wrapper_tkphK textarea.dialog-input_Yg9u7{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-content-wrapper_tkphK .device-property-key_fSRFt{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-content-wrapper_tkphK .attrs-select-wrap_C8o8Q{padding-left:8px}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-footer-wrapper_C-eww{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-footer-wrapper_C-eww .comm-btn_xyyUZ{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-footer-wrapper_C-eww .comm-btn_xyyUZ:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-footer-wrapper_C-eww .comm-btn_xyyUZ.comm-btn-default_ghcQu{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-footer-wrapper_C-eww .comm-btn_xyyUZ.comm-btn-default_ghcQu:hover{border-color:#1890ff}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-footer-wrapper_C-eww .comm-btn_xyyUZ .l-btn-left_O7sVf{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-footer-wrapper_C-eww .comm-btn-left_DWQPE{left:28px;position:absolute}.pop-content-container_1ScbF:not(.oneLineOneInputDlg_2Z61l) .pop-footer-wrapper_C-eww .grid-export_RbarV .comm-btn_xyyUZ:last-child{margin-left:8px}.pop-content-container_1ScbF *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_1ScbF label{position:relative}.pop-content-wrapper_tkphK a.route-link_7XGZf,.pop-content-wrapper_tkphK a.route-link_7XGZf:active,.pop-content-wrapper_tkphK a.route-link_7XGZf:visited{color:#00e}div[user-resizable] .window-body_jchPC>.panel_U4qWY,div[user-resizable] .window-header_QaAPX{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_jchPC>.panel_U4qWY{height:100%!important}div[user-resizable] .window-body_jchPC .dialog-content_0uWQ6{height:100%!important;width:100%!important}.add-one-tag_KoizB{border:1px dashed #dcdcdc;color:#999;cursor:pointer;display:none;font-size:120px;height:125px;line-height:125px;margin:20px;position:relative;text-align:center;vertical-align:top;width:125px}.add-one-tag_KoizB .upload-input_plOII{display:none;height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;width:100%}.image-item_eDhWm{display:inline-block;margin:20px;position:relative}.image-item_eDhWm img{display:block;float:left}.image-item_eDhWm .status-text_sRPE6{float:left;height:20px;line-height:20px;text-align:center;width:100%}.image-item_eDhWm .delete-btn_tL5JC{background-color:rgba(0,0,0,.15);color:#333;cursor:pointer;display:none;height:25px;line-height:25px;position:absolute;right:0;text-align:center;top:0;width:25px}");dXe=dXe.join("");hto.exports={uuid:"e0e6e014-5c78-4d87-9122-ca3b3a04b77a",locals:{"comm-icon-add":"comm-icon-add_Cmdz3","comm-background-color-efefef":"comm-background-color-efefef_oPIfW","comm-btn-confirm":"comm-btn-confirm_nNna7","comm-btn-cancel":"comm-btn-cancel_QZVaD","opacity-none":"opacity-none_3rIBH","pointer-events-none":"pointer-events-none_c1KXm","attr-prohibit":"attr-prohibit_d6iGr","display-block":"display-block_dHEr7","display-none":"display-none_PP9t3","display-flex":"display-flex_R7pkl","display-inline-flex":"display-inline-flex_Eg6aQ","flex-lateral-axis-center":"flex-lateral-axis-center_229N-","flex-lateral-axis-start":"flex-lateral-axis-start_KgIAt","flex-lateral-axis-end":"flex-lateral-axis-end_qC7dD","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_YLamJ","flex-main-axis-center":"flex-main-axis-center_3AdoU","flex-main-axis-start":"flex-main-axis-start_lGyBP","flex-main-axis-end":"flex-main-axis-end_O9EXv","flex-main-axis-around":"flex-main-axis-around_gVJ89","flex-main-axis-between":"flex-main-axis-between_DEHPO","flex-nowrap":"flex-nowrap_svn0n","flex-wrap":"flex-wrap_cXQPv","flex-direct-row":"flex-direct-row_wKpVl","flex-direct-rerow":"flex-direct-rerow_k8PDD","flex-direct-column":"flex-direct-column_7kDQg","flex-direct-recolumn":"flex-direct-recolumn_YvbuO","color-black-important":"color-black-important_jNRop","color-white-important":"color-white-important_pLSmC","bgcolor-red-important":"bgcolor-red-important_jJTU2","pop-content-container":"pop-content-container_1ScbF",oneLineOneInputDlg:"oneLineOneInputDlg_2Z61l","pop-content-wrapper":"pop-content-wrapper_tkphK","comm-btn-operate-link":"comm-btn-operate-link_-bz7f","comm-btn-height":"comm-btn-height_tKJ5P","comm-btn-text":"comm-btn-text_-CGHt","margin-btn":"margin-btn_2eLqx","margin-top":"margin-top_BuThY","dialog-input":"dialog-input_Yg9u7","device-property-key":"device-property-key_fSRFt","attrs-select-wrap":"attrs-select-wrap_C8o8Q","pop-footer-wrapper":"pop-footer-wrapper_C-eww","comm-btn":"comm-btn_xyyUZ","comm-btn-default":"comm-btn-default_ghcQu","l-btn-left":"l-btn-left_O7sVf","comm-btn-left":"comm-btn-left_DWQPE","grid-export":"grid-export_RbarV","route-link":"route-link_7XGZf","window-body":"window-body_jchPC",panel:"panel_U4qWY","window-header":"window-header_QaAPX","dialog-content":"dialog-content_0uWQ6","add-one-tag":"add-one-tag_KoizB","upload-input":"upload-input_plOII","image-item":"image-item_eDhWm","status-text":"status-text_sRPE6","delete-btn":"delete-btn_tL5JC"},toString(){return dXe}}});var Cto=xe((rwc,wto)=>{var uXe=[];uXe.push(".container_wHJGi{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;gap:16px}.container_wHJGi,.content_t-lOt{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.content_t-lOt{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;border:1px solid var(--common-border-color);padding:16px}.content_t-lOt .title_E-Ad1{-webkit-box-flex:0;-webkit-flex:0 0 55px;-moz-box-flex:0;flex:0 0 55px;padding-right:10px;text-align:right}.footer_A8-dC{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;gap:8px;justify-content:flex-end}");uXe=uXe.join("");wto.exports={uuid:"b097504d-5a32-4e32-acb3-1d4ff0f26b20",locals:{container:"container_wHJGi",content:"content_t-lOt",title:"title_E-Ad1",footer:"footer_A8-dC"},toString(){return uXe}}});var Fkt=xe((bwc,Mto)=>{var mXe=[];mXe.push(".container_2cxQI{display:grid;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;border:1px solid var(--common-border-color-1);grid-auto-rows:24px;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr;padding:16px;grid-gap:16px;gap:16px}");mXe=mXe.join("");Mto.exports={uuid:"b4ac5195-39bb-4162-b783-d4b695c1d79d",locals:{container:"container_2cxQI"},toString(){return mXe}}});var jto=xe((sCc,_to)=>{var hXe=[];hXe.push(".main-container_Wr6v0{height:490px!important;min-height:480px}");hXe=hXe.join("");_to.exports={uuid:"edcaf133-37a5-493f-826a-176131c8424f",locals:{"main-container":"main-container_Wr6v0"},toString(){return hXe}}});var Gto=xe((PCc,Hto)=>{var fXe=[];fXe.push(".container_QOcrF{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;gap:10px}.content_bE3q4{border:1px solid var(--common-border-color-1);padding:16px}.content-item_ihKNg{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:4px 0;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.form-label_hHYYC{margin-left:8px;max-width:110px;min-width:90px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.form-box_hrWac{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;display:inline-block;flex-grow:1}.footer_XmVDp{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;gap:8px}");fXe=fXe.join("");Hto.exports={uuid:"82861e75-f651-485f-98cc-46a170f3d282",locals:{container:"container_QOcrF",content:"content_bE3q4","content-item":"content-item_ihKNg","form-label":"form-label_hHYYC","form-box":"form-box_hrWac",footer:"footer_XmVDp"},toString(){return fXe}}});var Jto=xe((ixc,Zto)=>{var gXe=[];gXe.push(".body_iWwjJ,.container_SYung{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;gap:16px}.body_iWwjJ{background:var(--bg-color-pop-up-content);border:1px solid var(--common-border-color);padding:16px}.layer_oZtV6{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.layer_oZtV6 .title_calD9{margin-right:10px;min-width:60px;text-align:left}.footer_n-1ac{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;gap:8px;justify-content:flex-end}");gXe=gXe.join("");Zto.exports={uuid:"0cb86a8b-4af8-460f-bc2d-db970dbd1258",locals:{body:"body_iWwjJ",container:"container_SYung",layer:"layer_oZtV6",title:"title_calD9",footer:"footer_n-1ac"},toString(){return gXe}}});var tio=xe((Ixc,eio)=>{var bXe=[];bXe.push(".container_wIdGX{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;gap:16px}.body_fVAxT{border:1px solid var(--common-border-color-1)}.line_zKNX7{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:15px}.txt_title_HTaZu{margin-right:10px;min-width:60px;text-align:left}.footer_bZxNW{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;gap:8px;justify-content:flex-end}");bXe=bXe.join("");eio.exports={uuid:"9f4864c6-5b34-40f0-a97f-7f19f3a76a46",locals:{container:"container_wIdGX",body:"body_fVAxT",line:"line_zKNX7",txt_title:"txt_title_HTaZu",footer:"footer_bZxNW"},toString(){return bXe}}});var s$=xe((JTc,xio)=>{var a$=[];a$.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_6t6YV{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_GcwrM{background-color:#efefef}.comm-btn-confirm_DuUNG{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_DuUNG:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_ISm1t{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_ISm1t:hover{border:1px solid #40a9ff!important}.opacity-none_-L7Hb,.pointer-events-none_6cOX3{cursor:default;pointer-events:none!important}.opacity-none_-L7Hb{opacity:0}.attr-prohibit_-w7mO,.display-block_dGB86{display:block}.display-none_vfbeb{display:none!important}.display-flex_H7fWC{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_xNtU1{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_JzaxJ{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_C2YKF{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_-rUbB{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_fL0FD{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_Dkfu7{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_Crja9{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_2QyTz{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_LAJHl{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_4qJM6{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_QrMHb{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_GHfbH{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_fcAKJ{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_GWJUh{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_WKtjM{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_-JA9h{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_FoKJi{color:#000!important}.color-white-important_V-iKJ{color:#fff!important}.bgcolor-red-important_4H0g0{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-content-wrapper_WMVnE{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-content-wrapper_WMVnE>div{overflow:auto;width:100%}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-content-wrapper_WMVnE .comm-btn-operate-link_qTbiY{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-content-wrapper_WMVnE .comm-btn-height_-HDdm{height:22px}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-content-wrapper_WMVnE .comm-btn-text_oCdqK{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-content-wrapper_WMVnE .margin-btn_QT-V4{margin-bottom:16px}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-content-wrapper_WMVnE .margin-top_XQ6a8{margin-top:16px}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-content-wrapper_WMVnE input.dialog-input_CVGsI{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-content-wrapper_WMVnE input.dialog-input_CVGsI:not([disabled]){color:var(--font-color-input)}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-content-wrapper_WMVnE select.dialog-input_CVGsI{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-content-wrapper_WMVnE select.dialog-input_CVGsI:not([disabled]){color:var(--font-color-input)}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-content-wrapper_WMVnE textarea.dialog-input_CVGsI{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-content-wrapper_WMVnE .device-property-key_VWve2{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-content-wrapper_WMVnE .attrs-select-wrap_9H-yM{padding-left:8px}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-footer-wrapper_zRJbK{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-footer-wrapper_zRJbK .comm-btn_s0UhE{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-footer-wrapper_zRJbK .comm-btn_s0UhE:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-footer-wrapper_zRJbK .comm-btn_s0UhE.comm-btn-default_3--1G{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-footer-wrapper_zRJbK .comm-btn_s0UhE.comm-btn-default_3--1G:hover{border-color:#1890ff}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-footer-wrapper_zRJbK .comm-btn_s0UhE .l-btn-left_WebIV{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-footer-wrapper_zRJbK .comm-btn-left_X82Xf{left:28px;position:absolute}.pop-content-container_7E4gX:not(.oneLineOneInputDlg_fZNaI) .pop-footer-wrapper_zRJbK .grid-export_3jil1 .comm-btn_s0UhE:last-child{margin-left:8px}.pop-content-container_7E4gX *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_7E4gX label{position:relative}.pop-content-wrapper_WMVnE a.route-link_BKNS6,.pop-content-wrapper_WMVnE a.route-link_BKNS6:active,.pop-content-wrapper_WMVnE a.route-link_BKNS6:visited{color:#00e}div[user-resizable] .window-body_hPS7k>.panel_BJwCW,div[user-resizable] .window-header_JQtTn{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_hPS7k>.panel_BJwCW{height:100%!important}div[user-resizable] .window-body_hPS7k .dialog-content_sUPQU{height:100%!important;width:100%!important}.canvas-preview_z9U-4 canvas{background-image:");a$.push("url(");a$.push('"data:image/gif;base64,R0lGODlhEAAQAIAAAP///9/f3yH5BAAHAP8ALAAAAAAQABAAAAIfjG+gq4jM3IFLJgpswNly/XkcBpIiVaInlLJr9FZWAQA7"');a$.push(")");a$.push(";border:1px dashed gray;vertical-align:middle}.input-range_2io0E{display:inline-block;width:auto}.input-range_2io0E input{margin-right:5px;vertical-align:middle;width:300px}.input-range_2io0E .range-value_bboI1{margin-left:10px}.select-image_fuKKF{display:inline-block;width:300px}.select-image_fuKKF .input-label_3DDuN{display:inline-block;height:100%;padding:0 2px;position:relative;width:100%}.select-image_fuKKF .input-label_3DDuN input{-moz-box-sizing:border-box;box-sizing:border-box;height:24px;overflow:hidden;padding-right:32px;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap;width:100%}.select-image_fuKKF .input-label_3DDuN .ellipsis-point_SGFxI{color:#969696;cursor:pointer;display:block;font-size:20px;line-height:normal;padding-right:6px;position:absolute;right:0;top:-4px}.image-size_hRo-b .input-label_3DDuN{border:none!important;display:inline-block;height:100%;padding:1px 2px;position:relative;width:100%}");a$=a$.join("");xio.exports={uuid:"8f80e5dc-a4e8-48f8-a4ea-cf584f3d00c1",locals:{"comm-icon-add":"comm-icon-add_6t6YV","comm-background-color-efefef":"comm-background-color-efefef_GcwrM","comm-btn-confirm":"comm-btn-confirm_DuUNG","comm-btn-cancel":"comm-btn-cancel_ISm1t","opacity-none":"opacity-none_-L7Hb","pointer-events-none":"pointer-events-none_6cOX3","attr-prohibit":"attr-prohibit_-w7mO","display-block":"display-block_dGB86","display-none":"display-none_vfbeb","display-flex":"display-flex_H7fWC","display-inline-flex":"display-inline-flex_xNtU1","flex-lateral-axis-center":"flex-lateral-axis-center_JzaxJ","flex-lateral-axis-start":"flex-lateral-axis-start_C2YKF","flex-lateral-axis-end":"flex-lateral-axis-end_-rUbB","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_fL0FD","flex-main-axis-center":"flex-main-axis-center_Dkfu7","flex-main-axis-start":"flex-main-axis-start_Crja9","flex-main-axis-end":"flex-main-axis-end_2QyTz","flex-main-axis-around":"flex-main-axis-around_LAJHl","flex-main-axis-between":"flex-main-axis-between_4qJM6","flex-nowrap":"flex-nowrap_QrMHb","flex-wrap":"flex-wrap_GHfbH","flex-direct-row":"flex-direct-row_fcAKJ","flex-direct-rerow":"flex-direct-rerow_GWJUh","flex-direct-column":"flex-direct-column_WKtjM","flex-direct-recolumn":"flex-direct-recolumn_-JA9h","color-black-important":"color-black-important_FoKJi","color-white-important":"color-white-important_V-iKJ","bgcolor-red-important":"bgcolor-red-important_4H0g0","pop-content-container":"pop-content-container_7E4gX",oneLineOneInputDlg:"oneLineOneInputDlg_fZNaI","pop-content-wrapper":"pop-content-wrapper_WMVnE","comm-btn-operate-link":"comm-btn-operate-link_qTbiY","comm-btn-height":"comm-btn-height_-HDdm","comm-btn-text":"comm-btn-text_oCdqK","margin-btn":"margin-btn_QT-V4","margin-top":"margin-top_XQ6a8","dialog-input":"dialog-input_CVGsI","device-property-key":"device-property-key_VWve2","attrs-select-wrap":"attrs-select-wrap_9H-yM","pop-footer-wrapper":"pop-footer-wrapper_zRJbK","comm-btn":"comm-btn_s0UhE","comm-btn-default":"comm-btn-default_3--1G","l-btn-left":"l-btn-left_WebIV","comm-btn-left":"comm-btn-left_X82Xf","grid-export":"grid-export_3jil1","route-link":"route-link_BKNS6","window-body":"window-body_hPS7k",panel:"panel_BJwCW","window-header":"window-header_JQtTn","dialog-content":"dialog-content_sUPQU","canvas-preview":"canvas-preview_z9U-4","input-range":"input-range_2io0E","range-value":"range-value_bboI1","select-image":"select-image_fuKKF","input-label":"input-label_3DDuN","ellipsis-point":"ellipsis-point_SGFxI","image-size":"image-size_hRo-b"},toString(){return a$}}});var Kio=xe((ZSc,a9r)=>{a9r.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8ZyBpZD0i5Zu+5bGCXzFfMDAwMDAwMTM5MDQ2MDA1MTU4MTA4ODg0NDAwMDAwMDU4NzM4ODUzMDQ0Njg2ODQ3MjJfIj4KCQk8cGF0aCBkPSJNNyw5djQuOEM3LDEzLjkxLDcuMDksMTQsNy4yLDE0aDIuNmMwLjExLDAsMC4yLTAuMDksMC4yLTAuMlY5aDJMOC41LDUuMDE3TDUsOUg3eiIvPgoJPC9nPgoJPHBhdGggZD0iTTQuNSwzaDhDMTIuNzc2LDMsMTMsMy4yMjQsMTMsMy41djBDMTMsMy43NzYsMTIuNzc2LDQsMTIuNSw0aC04QzQuMjI0LDQsNCwzLjc3Niw0LDMuNXYwQzQsMy4yMjQsNC4yMjQsMyw0LjUsM3oiLz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var Zio=xe((JSc,s9r)=>{s9r.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8ZyBpZD0i5Zu+5bGCXzFfMDAwMDAxMTY5NTAxOTAwNjkzNDQ3Njc5NTAwMDAwMTY1MzEyMjE2MTgyNzkwNjY1NTJfIj4KCQk8cGF0aCBkPSJNMTAsOFYzLjJDMTAsMy4wOSw5LjkxLDMsOS44LDNINy4yQzcuMDksMyw3LDMuMDksNywzLjJWOEg1bDMuNSwzLjk4M0wxMiw4SDEweiIvPgoJPC9nPgoJPHBhdGggZD0iTTEyLjUsMTRoLThDNC4yMjQsMTQsNCwxMy43NzYsNCwxMy41djBDNCwxMy4yMjQsNC4yMjQsMTMsNC41LDEzaDhjMC4yNzYsMCwwLjUsMC4yMjQsMC41LDAuNXYwCgkJQzEzLDEzLjc3NiwxMi43NzYsMTQsMTIuNSwxNHoiLz4KPC9nPgo8ZyBpZD0i5Zu+5bGCXzIiPgo8L2c+Cjwvc3ZnPgo="});var Z6e=xe((qSc,Jio)=>{var al=[];al.push(".searchBar_r6eiq{border:1px solid var(--border-color-panel-divider);border-radius:2px;-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;flex:1 1 auto;height:24px;height:27px;margin:0 16px;width:186px;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;flex-grow:0}.searchBar_r6eiq,.searchBar_r6eiq input.fittinginput-input_kF2aN{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.searchBar_r6eiq input.fittinginput-input_kF2aN{border:none;outline:none;-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-webkit-align-self:center;align-self:center;flex:1 1 auto;height:22px;padding:0 0 0 8px;width:90px}.searchBar_r6eiq span{-webkit-box-flex:0;-webkit-flex:0 0 auto;-moz-box-flex:0;-webkit-align-self:center;align-self:center;background-position:50%;cursor:pointer;flex:0 0 auto;height:18px;line-height:18px;padding:0 4px;width:16px}.searchBar_r6eiq .icon-eda-x-circle-small_QxTAB{background-image:");al.push("url(");al.push(JSON.stringify(UR()));al.push(")");al.push(";background-size:12px 12px;border:none;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:12px;margin-right:8px;top:0;width:12px}.searchBar_r6eiq .number_-dwBE{font-size:12px;height:12px;line-height:12px;width:36px}.icon-eda-move-left-line_hB-WF,.icon-eda-move-right-line_oD9Tn{background-position:-1px 2px;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:100%;width:100%}.icon_operate_hggTW{background-repeat:no-repeat;background-size:100%;cursor:pointer;display:inline-block;height:16px;margin:0 4px;width:16px}.icon_operate_up_T31Cf{background-image:");al.push("url(");al.push(JSON.stringify(ede()));al.push(")");al.push("}.icon_operate_up_T31Cf.disabled_3MBpL{background-image:");al.push("url(");al.push(JSON.stringify(N3e()));al.push(")");al.push("}.icon_operate_down_-yN5C{background-image:");al.push("url(");al.push(JSON.stringify(tde()));al.push(")");al.push(";background-position-y:1px}.icon_operate_down_-yN5C.disabled_3MBpL{background-image:");al.push("url(");al.push(JSON.stringify(k3e()));al.push(")");al.push(";background-position-y:1px}.icon-eda-move-left-line_hB-WF{background-image:");al.push("url(");al.push(JSON.stringify(sAe()));al.push(")");al.push("}.icon-eda-move-right-line_oD9Tn{background-image:");al.push("url(");al.push(JSON.stringify(tAe()));al.push(")");al.push("}.tree-collapsed_KCk6L{background:");al.push("url(");al.push(JSON.stringify(qx()));al.push(")");al.push(" no-repeat}.tree-collapsed_KCk6L,.tree-expanded_lOXCj{display:inline-block;-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree);height:16px;margin-right:3px;vertical-align:middle;width:16px}.tree-expanded_lOXCj{background:");al.push("url(");al.push(JSON.stringify(Ow()));al.push(")");al.push(" no-repeat}.icon-eda-text-align-top_Yc4RS{background-image:");al.push("url(");al.push(JSON.stringify(Kio()));al.push(")");al.push(";background-position:50%;background-size:120%;-webkit-filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%);filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%);height:16px;width:16px}.icon-eda-text-align-top_Yc4RS.disabled_3MBpL{-webkit-filter:invert(80%) sepia(9%) saturate(920%) hue-rotate(179deg) brightness(103%) contrast(107%);filter:invert(80%) sepia(9%) saturate(920%) hue-rotate(179deg) brightness(103%) contrast(107%)}.icon-eda-text-align-bottom_3XztW{background-image:");al.push("url(");al.push(JSON.stringify(Zio()));al.push(")");al.push(";background-position:50%;background-size:120%;-webkit-filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%);filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%);height:16px;position:relative;top:1px;width:16px}.icon-eda-text-align-bottom_3XztW.disabled_3MBpL{-webkit-filter:invert(80%) sepia(9%) saturate(920%) hue-rotate(179deg) brightness(103%) contrast(107%);filter:invert(80%) sepia(9%) saturate(920%) hue-rotate(179deg) brightness(103%) contrast(107%)}.pop-content-container_MBWjJ:not(.oneLineOneInputDlg_nu9kx){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_MBWjJ:not(.oneLineOneInputDlg_nu9kx) .rule-operate_1AigR{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-bottom:8px;width:100%}.pop-content-container_MBWjJ:not(.oneLineOneInputDlg_nu9kx) .opertateBar_5TJn3{margin:auto 0}.pop-content-container_MBWjJ:not(.oneLineOneInputDlg_nu9kx) .pop-footer-wrapper_kyDbU{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_MBWjJ:not(.oneLineOneInputDlg_nu9kx) .pop-footer-wrapper_kyDbU .comm-btn_SGzC-{background:var(--font-color-button);border:1px solid var(--border-color-hover-button);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-bg-color);font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_MBWjJ:not(.oneLineOneInputDlg_nu9kx) .pop-footer-wrapper_kyDbU .comm-btn_SGzC-:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_MBWjJ:not(.oneLineOneInputDlg_nu9kx) .pop-footer-wrapper_kyDbU .comm-btn_SGzC-.comm-btn-default_vzPkl{background:var(--common-bg-color);border:1px solid var(--common-border-color-1);color:var(--font-color-button);outline:none}.pop-content-container_MBWjJ:not(.oneLineOneInputDlg_nu9kx) .pop-footer-wrapper_kyDbU .comm-btn_SGzC-.comm-btn-default_vzPkl:hover{border-color:var(--border-color-hover-button)}.pop-content-container_MBWjJ:not(.oneLineOneInputDlg_nu9kx) .pop-footer-wrapper_kyDbU .comm-btn_SGzC- .l-btn-left_DjaiA{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_MBWjJ:not(.oneLineOneInputDlg_nu9kx) .pop-footer-wrapper_kyDbU .comm-btn-left_jw1Ra{left:28px;position:absolute}.pop-content-container_MBWjJ:not(.oneLineOneInputDlg_nu9kx) .pop-footer-wrapper_kyDbU .grid-export_IDYuQ .comm-btn_SGzC-:last-child{margin-left:8px}.pop-content-wrapper_VeL04{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-wrapper_VeL04 .comm-btn-operate-link_qWCuy{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-wrapper_VeL04 .comm-btn-height_OTouj{height:22px}.pop-content-wrapper_VeL04 .comm-btn-text_U6m16{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-wrapper_VeL04 .margin-btn_Xu70a{margin-bottom:16px}.pop-content-wrapper_VeL04 .margin-top_I2wJz{margin-top:16px}.pop-content-wrapper_VeL04 input.dialog-input_uwKk4{border:1px solid var(--common-border-color-1);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-wrapper_VeL04 input.dialog-input_uwKk4:not([disabled]){color:var(--font-color-input)}.pop-content-wrapper_VeL04 select.dialog-input_uwKk4{border:1px solid var(--common-border-color-1);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-wrapper_VeL04 select.dialog-input_uwKk4:not([disabled]){color:var(--font-color-input)}.pop-content-wrapper_VeL04 textarea.dialog-input_uwKk4{height:64px;padding:4px;resize:none;width:100%}.pop-content-wrapper_VeL04 .device-property-key_Vj28G{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-wrapper_VeL04 .attrs-select-wrap_EvYaV{padding-left:8px}.pop-content-container_MBWjJ *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_MBWjJ label{position:relative}.pop-content-wrapper_VeL04 a.route-link_n-1Gj,.pop-content-wrapper_VeL04 a.route-link_n-1Gj:active,.pop-content-wrapper_VeL04 a.route-link_n-1Gj:visited{color:#00e}div[user-resizable] .window-body_smtlJ>.panel_1f43-,div[user-resizable] .window-header_E4RQI{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_smtlJ>.panel_1f43-{height:100%!important}div[user-resizable] .window-body_smtlJ .dialog-content_AlSZu{height:100%!important;width:100%!important}");al=al.join("");Jio.exports={uuid:"5ca61916-f368-4664-ad7a-01ae0987c008",locals:{searchBar:"searchBar_r6eiq","fittinginput-input":"fittinginput-input_kF2aN","icon-eda-x-circle-small":"icon-eda-x-circle-small_QxTAB",number:"number_-dwBE","icon-eda-move-left-line":"icon-eda-move-left-line_hB-WF","icon-eda-move-right-line":"icon-eda-move-right-line_oD9Tn",icon_operate:"icon_operate_hggTW",icon_operate_up:"icon_operate_up_T31Cf",disabled:"disabled_3MBpL",icon_operate_down:"icon_operate_down_-yN5C","tree-collapsed":"tree-collapsed_KCk6L","tree-expanded":"tree-expanded_lOXCj","icon-eda-text-align-top":"icon-eda-text-align-top_Yc4RS","icon-eda-text-align-bottom":"icon-eda-text-align-bottom_3XztW","pop-content-container":"pop-content-container_MBWjJ",oneLineOneInputDlg:"oneLineOneInputDlg_nu9kx","rule-operate":"rule-operate_1AigR",opertateBar:"opertateBar_5TJn3","pop-footer-wrapper":"pop-footer-wrapper_kyDbU","comm-btn":"comm-btn_SGzC-","comm-btn-default":"comm-btn-default_vzPkl","l-btn-left":"l-btn-left_DjaiA","comm-btn-left":"comm-btn-left_jw1Ra","grid-export":"grid-export_IDYuQ","pop-content-wrapper":"pop-content-wrapper_VeL04","comm-btn-operate-link":"comm-btn-operate-link_qWCuy","comm-btn-height":"comm-btn-height_OTouj","comm-btn-text":"comm-btn-text_U6m16","margin-btn":"margin-btn_Xu70a","margin-top":"margin-top_I2wJz","dialog-input":"dialog-input_uwKk4","device-property-key":"device-property-key_Vj28G","attrs-select-wrap":"attrs-select-wrap_EvYaV","route-link":"route-link_n-1Gj","window-body":"window-body_smtlJ",panel:"panel_1f43-","window-header":"window-header_E4RQI","dialog-content":"dialog-content_AlSZu"},toString(){return al}}});var noo=xe((SMc,roo)=>{var p$=[];p$.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_CAHkM{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_BFZrn{background-color:#efefef}.comm-btn-confirm_r-owI{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_r-owI:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_c8gYI{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_c8gYI:hover{border:1px solid #40a9ff!important}.opacity-none_-IyTP,.pointer-events-none_TWGbT{cursor:default;pointer-events:none!important}.opacity-none_-IyTP{opacity:0}.attr-prohibit_vxvzM,.display-block_vYUt7{display:block}.display-none_Z0J6M{display:none!important}.display-flex_ySF5f{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_7WHk3{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_8avNv{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_oNUzq{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_fLrzV{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_rVTwl{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_OdtSo{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_cgqSR{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_C04OC{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_xE4rz{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_TuEXT{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_M0IYg{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_X4vWd{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_wgSNe{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_CYgtd{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_BLa6X{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_0JXfc{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_UOlOf{color:#000!important}.color-white-important_eERQh{color:#fff!important}.bgcolor-red-important_qKnww{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.input-wrap_-IAeE{-moz-box-sizing:border-box;box-sizing:border-box;position:relative;width:100%}.input-wrap_-IAeE .input_QeYh7{padding-right:18px}.input-wrap_-IAeE .input_QeYh7.clear_lilNh{padding-right:34px}.input-wrap_-IAeE .input-icon_4kzSb{height:100%;position:absolute;right:2px;top:0}.input-wrap_-IAeE .input-icon_4kzSb .icon-clear_H5hio{background-position:50%;cursor:pointer;height:100%;margin-right:-1px;position:relative;top:-.5px}.input-wrap_-IAeE .input-icon_4kzSb .arr-icon_Ztva2,.input-wrap_-IAeE .input-icon_4kzSb .icon-clear_H5hio{display:block;-webkit-filter:var(--icon-color-input);filter:var(--icon-color-input)}.input-wrap_-IAeE .input-icon_4kzSb .arr-icon_Ztva2{background:");p$.push("url(");p$.push(JSON.stringify(I2()));p$.push(")");p$.push(" no-repeat 50%;background-size:12px 12px;height:20px;width:16px}");p$=p$.join("");roo.exports={uuid:"197832e2-386f-42b4-aea4-4f1729d372be",locals:{"comm-icon-add":"comm-icon-add_CAHkM","comm-background-color-efefef":"comm-background-color-efefef_BFZrn","comm-btn-confirm":"comm-btn-confirm_r-owI","comm-btn-cancel":"comm-btn-cancel_c8gYI","opacity-none":"opacity-none_-IyTP","pointer-events-none":"pointer-events-none_TWGbT","attr-prohibit":"attr-prohibit_vxvzM","display-block":"display-block_vYUt7","display-none":"display-none_Z0J6M","display-flex":"display-flex_ySF5f","display-inline-flex":"display-inline-flex_7WHk3","flex-lateral-axis-center":"flex-lateral-axis-center_8avNv","flex-lateral-axis-start":"flex-lateral-axis-start_oNUzq","flex-lateral-axis-end":"flex-lateral-axis-end_fLrzV","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_rVTwl","flex-main-axis-center":"flex-main-axis-center_OdtSo","flex-main-axis-start":"flex-main-axis-start_cgqSR","flex-main-axis-end":"flex-main-axis-end_C04OC","flex-main-axis-around":"flex-main-axis-around_xE4rz","flex-main-axis-between":"flex-main-axis-between_TuEXT","flex-nowrap":"flex-nowrap_M0IYg","flex-wrap":"flex-wrap_X4vWd","flex-direct-row":"flex-direct-row_wgSNe","flex-direct-rerow":"flex-direct-rerow_CYgtd","flex-direct-column":"flex-direct-column_BLa6X","flex-direct-recolumn":"flex-direct-recolumn_0JXfc","color-black-important":"color-black-important_UOlOf","color-white-important":"color-white-important_eERQh","bgcolor-red-important":"bgcolor-red-important_qKnww","input-wrap":"input-wrap_-IAeE",input:"input_QeYh7",clear:"clear_lilNh","input-icon":"input-icon_4kzSb","icon-clear":"icon-clear_H5hio","arr-icon":"arr-icon_Ztva2"},toString(){return p$}}});var IXe=xe((p6c,moo)=>{var MXe=[];MXe.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_LzEuj{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_Q8DO9{background-color:#efefef}.comm-btn-confirm_pTUGG{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_pTUGG:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_kTr7m{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_kTr7m:hover{border:1px solid #40a9ff!important}.opacity-none_eZbif,.pointer-events-none_BR6Ut{cursor:default;pointer-events:none!important}.opacity-none_eZbif{opacity:0}.attr-prohibit_rnOPZ,.display-block_FufGa{display:block}.display-none_HvrPm{display:none!important}.display-flex_p9AQn{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_WNAz9{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_4fF85{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_Hc01M{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_zZhbj{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_xMQ8T{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_tREmA{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_o2M5J{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_HQjjv{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_OlJ27{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_dWXzL{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_pVTCs{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_v-vga{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_ARwdH{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_naAaw{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_RZb5w{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_Dzdc0{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_ANiK2{color:#000!important}.color-white-important_wj8m0{color:#fff!important}.bgcolor-red-important_84gTE{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-content-wrapper_m-agG{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-content-wrapper_m-agG>div{overflow:auto;width:100%}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-content-wrapper_m-agG .comm-btn-operate-link_3D-a2{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-content-wrapper_m-agG .comm-btn-height_L9opV{height:22px}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-content-wrapper_m-agG .comm-btn-text_JIpTx{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-content-wrapper_m-agG .margin-btn_XFTZr{margin-bottom:16px}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-content-wrapper_m-agG .margin-top_WuAIj{margin-top:16px}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-content-wrapper_m-agG input.dialog-input_cwkfP{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-content-wrapper_m-agG input.dialog-input_cwkfP:not([disabled]){color:var(--font-color-input)}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-content-wrapper_m-agG select.dialog-input_cwkfP{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-content-wrapper_m-agG select.dialog-input_cwkfP:not([disabled]){color:var(--font-color-input)}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-content-wrapper_m-agG textarea.dialog-input_cwkfP{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-content-wrapper_m-agG .device-property-key_Y0W-p{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-content-wrapper_m-agG .attrs-select-wrap_LeHt1{padding-left:8px}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-footer-wrapper_O7KX-{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-footer-wrapper_O7KX- .comm-btn_QGw4z{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-footer-wrapper_O7KX- .comm-btn_QGw4z:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-footer-wrapper_O7KX- .comm-btn_QGw4z.comm-btn-default_z1doL{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-footer-wrapper_O7KX- .comm-btn_QGw4z.comm-btn-default_z1doL:hover{border-color:#1890ff}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-footer-wrapper_O7KX- .comm-btn_QGw4z .l-btn-left_S3Sy-{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-footer-wrapper_O7KX- .comm-btn-left_U89WC{left:28px;position:absolute}.pop-content-container_gNJWD:not(.oneLineOneInputDlg_px9eM) .pop-footer-wrapper_O7KX- .grid-export_z5euI .comm-btn_QGw4z:last-child{margin-left:8px}.pop-content-container_gNJWD *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_gNJWD label{position:relative}.pop-content-wrapper_m-agG a.route-link_jxkaZ,.pop-content-wrapper_m-agG a.route-link_jxkaZ:active,.pop-content-wrapper_m-agG a.route-link_jxkaZ:visited{color:#00e}div[user-resizable] .window-body_HEopl>.panel_6Zmgr,div[user-resizable] .window-header_IiBxE{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_HEopl>.panel_6Zmgr{height:100%!important}div[user-resizable] .window-body_HEopl .dialog-content_FfMew{height:100%!important;width:100%!important}.export-pick-place-file_sDmA1{height:100%}.export-pick-place-file_sDmA1 .pop-content-wrapper_m-agG{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.export-options_lbaJ3{border:1px solid var(--common-border-color-1);-moz-box-sizing:border-box;box-sizing:border-box;height:100%;width:100%}.export-options_lbaJ3 .export-info_EQXJK{border-bottom:1px solid var(--common-border-color-1);width:100%}.export-options_lbaJ3 .other-options_gczmM{padding:16px;width:100%}.export-options_lbaJ3 .form-item_NvvDu{-webkit-align-content:center;align-content:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin:16px}.export-options_lbaJ3 .form-item_NvvDu:last-child{padding-bottom:0}.export-options_lbaJ3 .form-item_NvvDu .form-title_MM8QA{display:inline-block;max-width:105px;overflow:hidden;padding-right:5px;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:85px}.export-options_lbaJ3 .form-item_NvvDu .form-content_q1RTG{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;display:inline-block;flex-grow:1}.export-options_lbaJ3 .form-item_NvvDu input{height:24px}.export-content_hdCPa{border:1px solid var(--common-border-color-1);border-left:none;-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding:8px;width:106%}.export-content_hdCPa,.export-content_hdCPa .attrs-checked-list-box_5pclw{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.export-content_hdCPa .attrs-checked-list-box_5pclw{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;width:150px}.export-content_hdCPa .attrs-checked-list-box_5pclw .attrs-checked-list-wrap_W4PiD{-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;border:1px solid var(--common-border-color-1);flex-grow:1;margin-top:10px;overflow-y:auto;padding:2px 0}.export-content_hdCPa .attrs-checked-list-box_5pclw .attrs-checked-list-wrap_W4PiD .attr-classify-box_ZTVgg .classify-title_csDm1{font-size:14px;font-weight:700;height:24px;line-height:24px;padding-left:8px}.export-content_hdCPa .attrs-checked-list-box_5pclw .attrs-checked-list-wrap_W4PiD .attr-classify-box_ZTVgg .attr-li-item_ZL--A{cursor:pointer;height:24px;line-height:24px;list-style:none;overflow:hidden;padding:0 16px;position:relative;text-overflow:ellipsis;white-space:nowrap}.export-content_hdCPa .attrs-checked-list-box_5pclw .attrs-checked-list-wrap_W4PiD .attr-classify-box_ZTVgg .attr-li-item_ZL--A.selected_P47po{background:var(--bg-toolbar-icon-selected)!important}.export-content_hdCPa .attrs-checked-list-box_5pclw .attrs-checked-list-wrap_W4PiD .attr-classify-box_ZTVgg .attr-li-item_ZL--A .attr-title_2ETFa{margin-left:4px;vertical-align:middle}.export-content_hdCPa .attr-move-operate-box_Hujua{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;padding:0 10px}.export-content_hdCPa .attr-move-operate-box_Hujua p{border:1px solid var(--common-border-color-1);border-radius:2px;-moz-box-sizing:content-box;box-sizing:content-box;height:16px;width:16px}.export-content_hdCPa .attr-move-operate-box_Hujua p:first-child{margin-bottom:16px}.export-content_hdCPa .attr-move-operate-box_Hujua .addAttrs_BFP8v,.export-content_hdCPa .attr-move-operate-box_Hujua .reduceAttrs_qhnTE{text-align:center}.export-content_hdCPa .attr-move-operate-box_Hujua .addAttrs_BFP8v span{display:inline-block;-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);transform:rotate(270deg)}.export-content_hdCPa .attr-move-operate-box_Hujua .addAttrs_BFP8v span.disabled_PxSE5{-webkit-filter:invert(98%) sepia(5%) saturate(8%) hue-rotate(274deg) brightness(112%) contrast(70%);filter:invert(98%) sepia(5%) saturate(8%) hue-rotate(274deg) brightness(112%) contrast(70%)}.export-content_hdCPa .attr-move-operate-box_Hujua .reduceAttrs_qhnTE span{display:inline-block;-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);transform:rotate(90deg)}.export-content_hdCPa .attr-move-operate-box_Hujua .reduceAttrs_qhnTE span.disabled_PxSE5{-webkit-filter:invert(98%) sepia(5%) saturate(8%) hue-rotate(274deg) brightness(112%) contrast(70%);filter:invert(98%) sepia(5%) saturate(8%) hue-rotate(274deg) brightness(112%) contrast(70%)}.export-content_hdCPa .attr-move-operate-box_Hujua span[class*=icon-]{cursor:pointer;display:block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);font-size:14px;height:16px;width:16px}.export-content_hdCPa .attrs-table-box_g2oXq{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;-webkit-flex-shrink:1;flex-shrink:1;overflow-x:hidden;width:100%}.export-content_hdCPa .attrs-table-box_g2oXq .attrs-table-wrap_SiSHn{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;overflow:hidden}");MXe=MXe.join("");moo.exports={uuid:"389ef941-d9c5-41a6-9a80-cc234d536d90",locals:{"comm-icon-add":"comm-icon-add_LzEuj","comm-background-color-efefef":"comm-background-color-efefef_Q8DO9","comm-btn-confirm":"comm-btn-confirm_pTUGG","comm-btn-cancel":"comm-btn-cancel_kTr7m","opacity-none":"opacity-none_eZbif","pointer-events-none":"pointer-events-none_BR6Ut","attr-prohibit":"attr-prohibit_rnOPZ","display-block":"display-block_FufGa","display-none":"display-none_HvrPm","display-flex":"display-flex_p9AQn","display-inline-flex":"display-inline-flex_WNAz9","flex-lateral-axis-center":"flex-lateral-axis-center_4fF85","flex-lateral-axis-start":"flex-lateral-axis-start_Hc01M","flex-lateral-axis-end":"flex-lateral-axis-end_zZhbj","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_xMQ8T","flex-main-axis-center":"flex-main-axis-center_tREmA","flex-main-axis-start":"flex-main-axis-start_o2M5J","flex-main-axis-end":"flex-main-axis-end_HQjjv","flex-main-axis-around":"flex-main-axis-around_OlJ27","flex-main-axis-between":"flex-main-axis-between_dWXzL","flex-nowrap":"flex-nowrap_pVTCs","flex-wrap":"flex-wrap_v-vga","flex-direct-row":"flex-direct-row_ARwdH","flex-direct-rerow":"flex-direct-rerow_naAaw","flex-direct-column":"flex-direct-column_RZb5w","flex-direct-recolumn":"flex-direct-recolumn_Dzdc0","color-black-important":"color-black-important_ANiK2","color-white-important":"color-white-important_wj8m0","bgcolor-red-important":"bgcolor-red-important_84gTE","pop-content-container":"pop-content-container_gNJWD",oneLineOneInputDlg:"oneLineOneInputDlg_px9eM","pop-content-wrapper":"pop-content-wrapper_m-agG","comm-btn-operate-link":"comm-btn-operate-link_3D-a2","comm-btn-height":"comm-btn-height_L9opV","comm-btn-text":"comm-btn-text_JIpTx","margin-btn":"margin-btn_XFTZr","margin-top":"margin-top_WuAIj","dialog-input":"dialog-input_cwkfP","device-property-key":"device-property-key_Y0W-p","attrs-select-wrap":"attrs-select-wrap_LeHt1","pop-footer-wrapper":"pop-footer-wrapper_O7KX-","comm-btn":"comm-btn_QGw4z","comm-btn-default":"comm-btn-default_z1doL","l-btn-left":"l-btn-left_S3Sy-","comm-btn-left":"comm-btn-left_U89WC","grid-export":"grid-export_z5euI","route-link":"route-link_jxkaZ","window-body":"window-body_HEopl",panel:"panel_6Zmgr","window-header":"window-header_IiBxE","dialog-content":"dialog-content_FfMew","export-pick-place-file":"export-pick-place-file_sDmA1","export-options":"export-options_lbaJ3","export-info":"export-info_EQXJK","other-options":"other-options_gczmM","form-item":"form-item_NvvDu","form-title":"form-title_MM8QA","form-content":"form-content_q1RTG","export-content":"export-content_hdCPa","attrs-checked-list-box":"attrs-checked-list-box_5pclw","attrs-checked-list-wrap":"attrs-checked-list-wrap_W4PiD","attr-classify-box":"attr-classify-box_ZTVgg","classify-title":"classify-title_csDm1","attr-li-item":"attr-li-item_ZL--A",selected:"selected_P47po","attr-title":"attr-title_2ETFa","attr-move-operate-box":"attr-move-operate-box_Hujua",addAttrs:"addAttrs_BFP8v",reduceAttrs:"reduceAttrs_qhnTE",disabled:"disabled_PxSE5","attrs-table-box":"attrs-table-box_g2oXq","attrs-table-wrap":"attrs-table-wrap_SiSHn"},toString(){return MXe}}});var Aoo=xe((JIc,Eoo)=>{var DXe=[];DXe.push(".relative_offset_XmUfT{height:100%;width:100%}.relative_offset_XmUfT .input_wrapper_X-gMf{-moz-box-sizing:border-box;box-sizing:border-box;padding:0 16px;width:100%;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-box-orient:vertical;flex-direction:column}.relative_offset_XmUfT .input_wrapper_X-gMf,.relative_offset_XmUfT .input_wrapper_X-gMf .input_line_4uAMT{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal;gap:16px}.relative_offset_XmUfT .input_wrapper_X-gMf .input_line_4uAMT{-webkit-box-orient:horizontal;-webkit-flex-direction:row;-moz-box-orient:horizontal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.relative_offset_XmUfT .input_wrapper_X-gMf .input_line_4uAMT>span{color:var(--common-font-color);display:inline-block;font-size:12px;max-width:50px;min-width:50px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.relative_offset_XmUfT .input_wrapper_X-gMf .input_line_4uAMT>input{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.relative_offset_XmUfT .footer_SKEzD{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-top:16px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;gap:8px;justify-content:flex-end}");DXe=DXe.join("");Eoo.exports={uuid:"7ad39dba-20c7-41d4-bea4-93c1213e2a0b",locals:{relative_offset:"relative_offset_XmUfT",input_wrapper:"input_wrapper_X-gMf",input_line:"input_line_4uAMT",footer:"footer_SKEzD"},toString(){return DXe}}});var _oo=xe((pLc,Roo)=>{var AXe=[];AXe.push(".relative_offset_SUH98{height:100%;width:100%}.relative_offset_SUH98 .input_wrapper_l3ypv{-moz-box-sizing:border-box;box-sizing:border-box;padding:0 16px;width:100%;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-box-orient:vertical;flex-direction:column}.relative_offset_SUH98 .input_wrapper_l3ypv,.relative_offset_SUH98 .input_wrapper_l3ypv .input_line_WTRue{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal;gap:16px}.relative_offset_SUH98 .input_wrapper_l3ypv .input_line_WTRue{-webkit-box-orient:horizontal;-webkit-flex-direction:row;-moz-box-orient:horizontal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.relative_offset_SUH98 .input_wrapper_l3ypv .input_line_WTRue>span{color:var(--common-font-color);display:inline-block;font-size:12px;max-width:50px;min-width:50px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.relative_offset_SUH98 .input_wrapper_l3ypv .input_line_WTRue>input{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.relative_offset_SUH98 .footer_x75no{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-top:16px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;gap:8px;justify-content:flex-end}");AXe=AXe.join("");Roo.exports={uuid:"d8312d91-3437-4ffc-bda2-fdbb535ffdc5",locals:{relative_offset:"relative_offset_SUH98",input_wrapper:"input_wrapper_l3ypv",input_line:"input_line_WTRue",footer:"footer_x75no"},toString(){return AXe}}});var Voo=xe((ELc,Uoo)=>{var kXe=[];kXe.push(".relative_offset_bKLoc{height:100%;width:100%}.relative_offset_bKLoc .input_wrapper_jNQGZ{-moz-box-sizing:border-box;box-sizing:border-box;padding:0 16px;width:100%;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-box-orient:vertical;flex-direction:column}.relative_offset_bKLoc .input_wrapper_jNQGZ,.relative_offset_bKLoc .input_wrapper_jNQGZ .input_line_AliF9{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal;gap:16px}.relative_offset_bKLoc .input_wrapper_jNQGZ .input_line_AliF9{-webkit-box-orient:horizontal;-webkit-flex-direction:row;-moz-box-orient:horizontal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.relative_offset_bKLoc .input_wrapper_jNQGZ .input_line_AliF9>span{color:var(--common-font-color);display:inline-block;font-size:12px;max-width:50px;min-width:50px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.relative_offset_bKLoc .input_wrapper_jNQGZ .input_line_AliF9>input{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.relative_offset_bKLoc .footer_rCQKh{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-top:16px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;gap:8px;justify-content:flex-end}");kXe=kXe.join("");Uoo.exports={uuid:"af8f5d53-072a-4fc8-9896-ea1a946d6eaf",locals:{relative_offset:"relative_offset_bKLoc",input_wrapper:"input_wrapper_jNQGZ",input_line:"input_line_AliF9",footer:"footer_rCQKh"},toString(){return kXe}}});var Joo=xe((lvc,Zoo)=>{var RXe=[];RXe.push(".distribute_LYjVa{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.distribute_LYjVa .popContentWrapper_o8p-x{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.distribute_LYjVa .popContentWrapper_o8p-x .box_P1f6Q{border:1px solid var(--common-border-color);margin-top:20px;padding:20px 10px;position:relative}.distribute_LYjVa .popContentWrapper_o8p-x .box_P1f6Q .line_muLnG{line-height:28px;margin:5px 0;min-height:28px;overflow:hidden}.distribute_LYjVa .popContentWrapper_o8p-x .box_P1f6Q .line_muLnG input,.distribute_LYjVa .popContentWrapper_o8p-x .box_P1f6Q .line_muLnG select{width:190px}.distribute_LYjVa .popContentWrapper_o8p-x .box_P1f6Q .line_muLnG input{background-color:var(--bg-color-input);border:1px solid var(--border-color-input);color:var(--font-color-input)}.distribute_LYjVa .popContentWrapper_o8p-x .box_P1f6Q .line_muLnG input:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input)}.distribute_LYjVa .popContentWrapper_o8p-x .box_P1f6Q .line_muLnG input:disabled{background-color:var(--bg-color-disabled-input);border:1px solid var(--border-color-disabled-input);color:var(--font-color-disabled-input)}.distribute_LYjVa .popContentWrapper_o8p-x .title_-CiQH{background-color:var(--bg-color-pop-up-content);left:20px;padding:5px 10px;position:absolute;top:-12px}.distribute_LYjVa .popContentWrapper_o8p-x .selectPoint_E4kI5{margin-left:15px}.left_tk-zq{float:left}.right_aa2LZ{float:right}.popFooterWrapper_-e4h-{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}");RXe=RXe.join("");Zoo.exports={uuid:"fc99c07c-29df-41c3-b149-c5c23b029178",locals:{distribute:"distribute_LYjVa",popContentWrapper:"popContentWrapper_o8p-x",box:"box_P1f6Q",line:"line_muLnG",title:"title_-CiQH",selectPoint:"selectPoint_E4kI5",left:"left_tk-zq",right:"right_aa2LZ",popFooterWrapper:"popFooterWrapper_-e4h-"},toString(){return RXe}}});var tro=xe((Gvc,ero)=>{var jXe=[];jXe.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_fk4XF{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_8bPCs{background-color:#efefef}.comm-btn-confirm_Gzh6Z{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_Gzh6Z:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_JgQy8{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_JgQy8:hover{border:1px solid #40a9ff!important}.opacity-none_EJfLT,.pointer-events-none_FprNw{cursor:default;pointer-events:none!important}.opacity-none_EJfLT{opacity:0}.attr-prohibit_fgrke,.display-block_4a2cQ{display:block}.display-none_Rv5mO{display:none!important}.display-flex_Ufizj{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_F-hYL{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_NDTCq{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_nYH-X{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_C7GP0{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_r9Myd{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_Vly9v{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_oXHQR{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_d3ynJ{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_Sg2iw{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_J-nxJ{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_-LRDx{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_bN9oG{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_zNLL7{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_5Npap{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_66ac7{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_aUydg{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_-dxkw{color:#000!important}.color-white-important_UxvRv{color:#fff!important}.bgcolor-red-important_YS8JJ{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-content-wrapper_XDjqC{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-content-wrapper_XDjqC>div{overflow:auto;width:100%}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-content-wrapper_XDjqC .comm-btn-operate-link_p3Z86{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-content-wrapper_XDjqC .comm-btn-height_ECBLu{height:22px}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-content-wrapper_XDjqC .comm-btn-text_ubJpu{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-content-wrapper_XDjqC .margin-btn_aE5Kl{margin-bottom:16px}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-content-wrapper_XDjqC .margin-top_8If9A{margin-top:16px}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-content-wrapper_XDjqC input.dialog-input_e3U-g{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-content-wrapper_XDjqC input.dialog-input_e3U-g:not([disabled]){color:var(--font-color-input)}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-content-wrapper_XDjqC select.dialog-input_e3U-g{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-content-wrapper_XDjqC select.dialog-input_e3U-g:not([disabled]){color:var(--font-color-input)}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-content-wrapper_XDjqC textarea.dialog-input_e3U-g{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-content-wrapper_XDjqC .device-property-key_0-Za9{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-content-wrapper_XDjqC .attrs-select-wrap_7MWpX{padding-left:8px}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-footer-wrapper_Rt6hT{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-footer-wrapper_Rt6hT .comm-btn_-ElP0{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-footer-wrapper_Rt6hT .comm-btn_-ElP0:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-footer-wrapper_Rt6hT .comm-btn_-ElP0.comm-btn-default_ItKF0{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-footer-wrapper_Rt6hT .comm-btn_-ElP0.comm-btn-default_ItKF0:hover{border-color:#1890ff}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-footer-wrapper_Rt6hT .comm-btn_-ElP0 .l-btn-left_LgMcf{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-footer-wrapper_Rt6hT .comm-btn-left_Ntj-3{left:28px;position:absolute}.pop-content-container_1Vvpp:not(.oneLineOneInputDlg_Muwbo) .pop-footer-wrapper_Rt6hT .grid-export_CyKvc .comm-btn_-ElP0:last-child{margin-left:8px}.pop-content-container_1Vvpp *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_1Vvpp label{position:relative}.pop-content-wrapper_XDjqC a.route-link_mkqLp,.pop-content-wrapper_XDjqC a.route-link_mkqLp:active,.pop-content-wrapper_XDjqC a.route-link_mkqLp:visited{color:#00e}div[user-resizable] .window-body_OUaXA>.panel_jflUf,div[user-resizable] .window-header_fPlgQ{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_OUaXA>.panel_jflUf{height:100%!important}div[user-resizable] .window-body_OUaXA .dialog-content_1wfvZ{height:100%!important;width:100%!important}.panel_jflUf{font-size:12px;overflow:hidden}.panel_jflUf.window_Meu0Q{border-radius:2px;overflow:visible;overflow:initial}.panel-header_iPLJ1{background:#f1f1f1;border-bottom:none;font-family:Microsoft YaHei;font-size:12px;line-height:16px;padding:8px 16px;position:relative}.panel-header-noborder_6YG1i{border-width:0}.hasborder_slB6j .panel-body_hre2G.dialog-content_1wfvZ{border:1px solid #e9e9e9}.hasborder_slB6j .dialog-content_1wfvZ.panel-body_hre2G{-moz-box-sizing:border-box;box-sizing:border-box;padding:9px 16px}.single-message_8RAHp{margin-left:0!important;margin-right:0!important;margin-top:16px!important;padding-bottom:50px!important}.window_Meu0Q .panel-body_hre2G.window-body_OUaXA{background:#fff;-moz-box-sizing:border-box;box-sizing:border-box;padding:16px}.inputRow_qsKjM{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:16px}.inputRow_qsKjM span{-webkit-flex-basis:100px;flex-basis:100px;text-align:left}.inputRow_qsKjM input[type=text]{margin-left:16px}.inputRow_qsKjM:last-child{margin-bottom:0}.gray-dialog-border_SvZUg{border:1px solid var(--common-border-color);padding:16px}.dialog-button_nF9B-{height:28px;margin-top:16px;overflow:hidden;text-align:right}.comm-btn_-ElP0{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:72px;outline:none;padding:0 10px;text-align:center}.comm-btn_-ElP0:hover{background:#40a9ff;border-color:#40a9ff}.comm-btn_-ElP0.comm-btn-default_ItKF0{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.comm-btn_-ElP0.comm-btn-default_ItKF0:hover{border-color:#1890ff}.comm-btn_-ElP0 .l-btn-left_LgMcf{display:block;line-height:16px;padding:6px 0 4px 17px}");jXe=jXe.join("");ero.exports={uuid:"00156643-0380-4839-9e57-bfa7b80f482d",locals:{"comm-icon-add":"comm-icon-add_fk4XF","comm-background-color-efefef":"comm-background-color-efefef_8bPCs","comm-btn-confirm":"comm-btn-confirm_Gzh6Z","comm-btn-cancel":"comm-btn-cancel_JgQy8","opacity-none":"opacity-none_EJfLT","pointer-events-none":"pointer-events-none_FprNw","attr-prohibit":"attr-prohibit_fgrke","display-block":"display-block_4a2cQ","display-none":"display-none_Rv5mO","display-flex":"display-flex_Ufizj","display-inline-flex":"display-inline-flex_F-hYL","flex-lateral-axis-center":"flex-lateral-axis-center_NDTCq","flex-lateral-axis-start":"flex-lateral-axis-start_nYH-X","flex-lateral-axis-end":"flex-lateral-axis-end_C7GP0","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_r9Myd","flex-main-axis-center":"flex-main-axis-center_Vly9v","flex-main-axis-start":"flex-main-axis-start_oXHQR","flex-main-axis-end":"flex-main-axis-end_d3ynJ","flex-main-axis-around":"flex-main-axis-around_Sg2iw","flex-main-axis-between":"flex-main-axis-between_J-nxJ","flex-nowrap":"flex-nowrap_-LRDx","flex-wrap":"flex-wrap_bN9oG","flex-direct-row":"flex-direct-row_zNLL7","flex-direct-rerow":"flex-direct-rerow_5Npap","flex-direct-column":"flex-direct-column_66ac7","flex-direct-recolumn":"flex-direct-recolumn_aUydg","color-black-important":"color-black-important_-dxkw","color-white-important":"color-white-important_UxvRv","bgcolor-red-important":"bgcolor-red-important_YS8JJ","pop-content-container":"pop-content-container_1Vvpp",oneLineOneInputDlg:"oneLineOneInputDlg_Muwbo","pop-content-wrapper":"pop-content-wrapper_XDjqC","comm-btn-operate-link":"comm-btn-operate-link_p3Z86","comm-btn-height":"comm-btn-height_ECBLu","comm-btn-text":"comm-btn-text_ubJpu","margin-btn":"margin-btn_aE5Kl","margin-top":"margin-top_8If9A","dialog-input":"dialog-input_e3U-g","device-property-key":"device-property-key_0-Za9","attrs-select-wrap":"attrs-select-wrap_7MWpX","pop-footer-wrapper":"pop-footer-wrapper_Rt6hT","comm-btn":"comm-btn_-ElP0","comm-btn-default":"comm-btn-default_ItKF0","l-btn-left":"l-btn-left_LgMcf","comm-btn-left":"comm-btn-left_Ntj-3","grid-export":"grid-export_CyKvc","route-link":"route-link_mkqLp","window-body":"window-body_OUaXA",panel:"panel_jflUf","window-header":"window-header_fPlgQ","dialog-content":"dialog-content_1wfvZ",window:"window_Meu0Q","panel-header":"panel-header_iPLJ1","panel-header-noborder":"panel-header-noborder_6YG1i",hasborder:"hasborder_slB6j","panel-body":"panel-body_hre2G","single-message":"single-message_8RAHp",inputRow:"inputRow_qsKjM","gray-dialog-border":"gray-dialog-border_SvZUg","dialog-button":"dialog-button_nF9B-"},toString(){return jXe}}});var aro=xe((kDc,nro)=>{var zXe=[];zXe.push(".distribute_Tuv4j{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.distribute_Tuv4j .popContentWrapper_rtl1k{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.distribute_Tuv4j .popContentWrapper_rtl1k .box_00S-V{border:1px solid var(--common-border-color);margin-top:20px;padding:20px 10px;position:relative}.distribute_Tuv4j .popContentWrapper_rtl1k .box_00S-V .line_-lOdC{line-height:28px;margin:5px 0;min-height:28px;overflow:hidden}.distribute_Tuv4j .popContentWrapper_rtl1k .box_00S-V .line_-lOdC input,.distribute_Tuv4j .popContentWrapper_rtl1k .box_00S-V .line_-lOdC select{width:190px}.distribute_Tuv4j .popContentWrapper_rtl1k .box_00S-V .line_-lOdC input{background-color:var(--bg-color-input);border:1px solid var(--border-color-input);color:var(--font-color-input)}.distribute_Tuv4j .popContentWrapper_rtl1k .box_00S-V .line_-lOdC input:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input)}.distribute_Tuv4j .popContentWrapper_rtl1k .box_00S-V .line_-lOdC input:disabled{background-color:var(--bg-color-disabled-input);border:1px solid var(--border-color-disabled-input);color:var(--font-color-disabled-input)}.distribute_Tuv4j .popContentWrapper_rtl1k .title_0Kihv{background:var(--bg-color-pop-up-content);left:20px;padding:5px 10px;position:absolute;top:-12px}.distribute_Tuv4j .popContentWrapper_rtl1k .selectPoint_cYJ9k{margin-left:15px}.left_4b26q{float:left}.right_HWNmD{float:right}.popFooterWrapper_Px621{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}");zXe=zXe.join("");nro.exports={uuid:"9021bee1-5f67-42c5-a3ad-89355c5851f7",locals:{distribute:"distribute_Tuv4j",popContentWrapper:"popContentWrapper_rtl1k",box:"box_00S-V",line:"line_-lOdC",title:"title_0Kihv",selectPoint:"selectPoint_cYJ9k",left:"left_4b26q",right:"right_HWNmD",popFooterWrapper:"popFooterWrapper_Px621"},toString(){return zXe}}});var uro=xe((dEc,dro)=>{var FXe=[];FXe.push(".relative_offset_DRd74{height:100%;width:100%}.relative_offset_DRd74 .input_wrapper_7Uil5{-moz-box-sizing:border-box;box-sizing:border-box;padding:0 16px;width:100%;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-box-orient:vertical;flex-direction:column}.relative_offset_DRd74 .input_wrapper_7Uil5,.relative_offset_DRd74 .input_wrapper_7Uil5 .input_line_Yn1Ds{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal;gap:16px}.relative_offset_DRd74 .input_wrapper_7Uil5 .input_line_Yn1Ds{-webkit-box-orient:horizontal;-webkit-flex-direction:row;-moz-box-orient:horizontal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.relative_offset_DRd74 .input_wrapper_7Uil5 .input_line_Yn1Ds>span{color:var(--common-font-color);display:inline-block;font-size:12px;max-width:50px;min-width:50px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.relative_offset_DRd74 .input_wrapper_7Uil5 .input_line_Yn1Ds>input{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.relative_offset_DRd74 .footer_cWyhf{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-top:16px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;gap:8px;justify-content:flex-end}");FXe=FXe.join("");dro.exports={uuid:"39ec30cb-b0f8-4554-bc74-cf07f157a652",locals:{relative_offset:"relative_offset_DRd74",input_wrapper:"input_wrapper_7Uil5",input_line:"input_line_Yn1Ds",footer:"footer_cWyhf"},toString(){return FXe}}});var X6e=xe((zEc,Tro)=>{var UXe=[];UXe.push(".main-container_prJE5{height:490px!important;min-height:480px}.view-loading-wrapper_zb84U{height:490px!important;left:0;position:relative;top:0;width:100%}.view-loading_Z6r3Q{background-color:var(--common-bg-color);height:-webkit-calc(100% - 2px);height:-moz-calc(100% - 2px);height:calc(100% - 2px);left:1px;position:absolute;top:1px;width:-webkit-calc(100% - 2px);width:-moz-calc(100% - 2px);width:calc(100% - 2px);z-index:9999}.view-loading-rotation_UGJT-{height:36px;left:45%;position:absolute;top:40%;width:36px}.layertable-coloricon-container_o-a8X{padding:5px}.layertable-coloricon-wrapper_V4pmt{max-height:18px}.layertable-coloricon_a7hU6{color:#000;display:block;height:100%;line-height:18px;text-align:center;width:100%}.layertable-alphainput-container_-jAGW{padding:5px}.layertable-alphainput_A54Kd{display:block;max-width:50px;width:100%}.layertable-nameinput-container_HwISu{padding:5px}.layertable-nameinput_rcg5y{display:block;width:100%}.dialog-btns-wrapper_YQqR1 [data-tagitem=presetmgr-wrapper]{height:26px}");UXe=UXe.join("");Tro.exports={uuid:"5ef4f451-27ae-4e33-a557-6b0f542fa1ec",locals:{"main-container":"main-container_prJE5","view-loading-wrapper":"view-loading-wrapper_zb84U","view-loading":"view-loading_Z6r3Q","view-loading-rotation":"view-loading-rotation_UGJT-","layertable-coloricon-container":"layertable-coloricon-container_o-a8X","layertable-coloricon-wrapper":"layertable-coloricon-wrapper_V4pmt","layertable-coloricon":"layertable-coloricon_a7hU6","layertable-alphainput-container":"layertable-alphainput-container_-jAGW","layertable-alphainput":"layertable-alphainput_A54Kd","layertable-nameinput-container":"layertable-nameinput-container_HwISu","layertable-nameinput":"layertable-nameinput_rcg5y","dialog-btns-wrapper":"dialog-btns-wrapper_YQqR1"},toString(){return UXe}}});var v9t=xe((qNc,wno)=>{var l$e=[];l$e.push(".presetmgr-container_nEFCh{background-color:var(--common-bg-color);border:1px solid var(--border-color-panel-divider);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;display:block;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.presetmgr-wrapper_uOOhv{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:20px;padding:0 5px;width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;color:#444;font-size:12px}.staticshow-icon_QgLkR{cursor:pointer;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:9px;white-space:nowrap;width:9px}.staticshow-content_OTmCj{background-color:var(--common-bg-color);color:var(--common-font-color);cursor:pointer;font-size:12px;overflow:hidden;text-overflow:ellipsis;width:100%}.presetlist-container_ZLszC{background-color:var(--common-bg-color);border:1px solid var(--border-color-panel-divider);border-radius:3px;box-shadow:1px 1px 4px rgba(0,0,0,.2);left:0;position:fixed;top:0;-webkit-transition-delay:.15s;-moz-transition-delay:.15s;transition-delay:.15s;-webkit-transition-duration:.3s;-moz-transition-duration:.3s;transition-duration:.3s;-webkit-transition-property:opacity,visibility;-moz-transition-property:opacity,visibility;transition-property:opacity,visibility}.presetlist-container_ZLszC:focus{outline:0}.presetlist-container_ZLszC:focus-visible{outline:0}.presetlist-wrapper_7JPpW{color:#444;font-size:12px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto;padding:4px 0;width:100%}.presetlist-ulist_MCIGW{height:100%;width:100%}.presetlist-item_-uhOY{color:var(--common-font-color);cursor:pointer;display:block;position:relative;white-space:nowrap}.presetlist-item-disabled_e-Ld5{color:var(--font-color-disabled-drop-down-menuItem)!important;cursor:default;opacity:.5}.presetlist-item-disabled_e-Ld5 :hover{color:#444}.presetlist-item-selected_ePwf9{background-color:var(--bg-color-selected-drop-down-menuItem)!important;color:var(--font-color-selected-down-menuItem)!important}.presetlist-item-prohibitselect_-65Fd{cursor:default}.presetlist-item_-uhOY:hover{background-color:var(--bg-color-hover-drop-down-menuItem);color:var(var(--font-color-hover-drop-down-menuItem))!important}.presetlist-item-prohibitselect_-65Fd:hover{background-color:#fff;color:#444!important}.presetlist-item_-uhOY .presetlist-content_l4Gzp{color:var(--common-font-color);font-size:12px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;line-height:26px;min-height:26px;overflow:hidden;padding:0 10px;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%}.presetlist-separator_lrnNg{background-color:var(--separator-color-drop-down-menu);display:block;height:1px;margin:1px 2px}");l$e=l$e.join("");wno.exports={uuid:"3fe91e26-4701-4ad7-aab6-b73b81e34e8a",locals:{"presetmgr-container":"presetmgr-container_nEFCh","presetmgr-wrapper":"presetmgr-wrapper_uOOhv","staticshow-icon":"staticshow-icon_QgLkR","staticshow-content":"staticshow-content_OTmCj","presetlist-container":"presetlist-container_ZLszC","presetlist-wrapper":"presetlist-wrapper_7JPpW","presetlist-ulist":"presetlist-ulist_MCIGW","presetlist-item":"presetlist-item_-uhOY","presetlist-item-disabled":"presetlist-item-disabled_e-Ld5","presetlist-item-selected":"presetlist-item-selected_ePwf9","presetlist-item-prohibitselect":"presetlist-item-prohibitselect_-65Fd","presetlist-content":"presetlist-content_l4Gzp","presetlist-separator":"presetlist-separator_lrnNg"},toString(){return l$e}}});var lIe=xe((R9c,qno)=>{var g$e=[];g$e.push(".container_S0Dsj{height:100%;overflow:hidden;width:100%}.container_S0Dsj .table-container_5eVqS{border:1px solid var(--common-border-color-1);height:-webkit-calc(95% - 44px);height:-moz-calc(95% - 44px);height:calc(95% - 44px);margin-bottom:16px;padding:16px}.container_S0Dsj .footer-container_rfZTl,.container_S0Dsj .table-container_5eVqS{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.container_S0Dsj .footer-container_rfZTl{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;height:28px}.connection-container_4121B{border:1px solid var(--common-border-color-1);-moz-box-sizing:border-box;box-sizing:border-box;height:-webkit-calc(95% - 44px);height:-moz-calc(95% - 44px);height:calc(95% - 44px);margin-bottom:16px;padding:16px;width:100%}.connection-container_4121B .connection-left_atKM1{height:5%}.connection-container_4121B .connection-left_atKM1,.connection-container_4121B .connection-right_AgDTU{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.connection-container_4121B .connection-right_AgDTU{height:95%;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.connection-container_4121B .connection-right_AgDTU .connection-right-content_XmPaX .row-item_T3xjJ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-bottom:2px;width:100%}.connection-container_4121B .connection-tip_NcUc3{position:absolute;right:30%;top:30%}.connection-container_4121B .connection-tip_NcUc3 .connection-tip-item_JO0tf{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:6px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.connection-container_4121B .connection-tip_NcUc3 .connection-tip-item_JO0tf span{margin-left:4px}.connection-item-container_up4sT{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;position:relative}.connection-item-container_up4sT .connection-item_1Wq3h{border-radius:4px;cursor:pointer;height:22px;margin-right:4px;width:22px}.connection-item-container_up4sT .connection-item_1Wq3h.tip-color-item_ys3-1{height:16px;width:16px}.connection-item-container_up4sT .connection-item_1Wq3h.ignore_jFyrb{background-color:#d7d7d7}.connection-item-container_up4sT .connection-item_1Wq3h.warning_CCLQl{background-color:#dc9b04}.connection-item-container_up4sT .connection-item_1Wq3h.error_y6pZr{background-color:#d9001b}.connection-item-container_up4sT .connection-item_1Wq3h.fatal-error_SMgGP{background-color:#990014}.connection-item-container_up4sT .left-title_Pbeek{left:0;top:2px;-webkit-transform:translateX(-webkit-calc(-100% - 4px));-moz-transform:translateX(-moz-calc(-100% - 4px));transform:translateX(calc(-100% - 4px))}.connection-item-container_up4sT .left-title_Pbeek,.connection-item-container_up4sT .top-title_j5L0V{cursor:pointer;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.connection-item-container_up4sT .top-title_j5L0V{top:-webkit-calc(-100% - 12px);top:-moz-calc(-100% - 12px);top:calc(-100% - 12px)}.connection-item-container_up4sT .top-title-line_qQzrp{background-color:#999;height:12px;left:6px;pointer-events:none;position:absolute;top:-webkit-calc(-50% - 4px);top:-moz-calc(-50% - 4px);top:calc(-50% - 4px);-webkit-user-select:none;-moz-user-select:none;user-select:none;width:2px}");g$e=g$e.join("");qno.exports={uuid:"ca9fd51b-821e-42fe-9ea4-b651f34c1a28",locals:{container:"container_S0Dsj","table-container":"table-container_5eVqS","footer-container":"footer-container_rfZTl","connection-container":"connection-container_4121B","connection-left":"connection-left_atKM1","connection-right":"connection-right_AgDTU","connection-right-content":"connection-right-content_XmPaX","row-item":"row-item_T3xjJ","connection-tip":"connection-tip_NcUc3","connection-tip-item":"connection-tip-item_JO0tf","connection-item-container":"connection-item-container_up4sT","connection-item":"connection-item_1Wq3h","tip-color-item":"tip-color-item_ys3-1",ignore:"ignore_jFyrb",warning:"warning_CCLQl",error:"error_y6pZr","fatal-error":"fatal-error_SMgGP","left-title":"left-title_Pbeek","top-title":"top-title_j5L0V","top-title-line":"top-title-line_qQzrp"},toString(){return g$e}}});var sao=xe((dPc,aao)=>{var y$e=[];y$e.push(".icon-eda-x-circle_L7Uk1.clear-input-circle_VyMrW{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}@-webkit-keyframes elementRotate_G9JwU{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@-moz-keyframes elementRotate_G9JwU{0%{-moz-transform:rotate(0deg);transform:rotate(0deg)}to{-moz-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes elementRotate_G9JwU{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);-moz-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes switchChecked_Suxa4{0%{background-color:#ccc;width:50%}to{background-color:#1890ff;width:100%}}@-moz-keyframes switchChecked_Suxa4{0%{background-color:#ccc;width:50%}to{background-color:#1890ff;width:100%}}@keyframes switchChecked_Suxa4{0%{background-color:#ccc;width:50%}to{background-color:#1890ff;width:100%}}.switch_Fi0hP{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background-color:#ccc;border:none;overflow:hidden;padding:0}.switch_Fi0hP.un-checked_rR-Wx .icon-box_FkKql{background-color:#ccc;width:50%}.switch_Fi0hP.un-checked_rR-Wx .icon-box_FkKql.loading_M6xsn{-webkit-animation:switchChecked_Suxa4 .2s linear;-moz-animation:switchChecked_Suxa4 .2s linear;animation:switchChecked_Suxa4 .2s linear}.switch_Fi0hP.checked_V53vF .icon-box_FkKql{background-color:#1890ff;width:100%}.switch_Fi0hP.checked_V53vF .icon-box_FkKql.loading_M6xsn{animation:switchChecked_Suxa4 .2s linear reverse}.switch_Fi0hP:active{background-color:#ccc}.switch_Fi0hP.md_JK8n3{border-radius:12px;height:24px;min-width:48px;width:48px}.switch_Fi0hP.md_JK8n3 .icon_-DbfR{height:22px;width:22px}.switch_Fi0hP.lg_ncbk6{border-radius:14px;height:28px;min-width:56px;width:56px}.switch_Fi0hP.lg_ncbk6 .icon_-DbfR{height:26px;width:26px}.switch_Fi0hP.sm_XBKOi{border-radius:10px;height:20px;min-width:40px;width:40px}.switch_Fi0hP.sm_XBKOi .icon_-DbfR{height:18px;width:18px}.switch_Fi0hP .icon-box_FkKql{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding:1px}.switch_Fi0hP .icon-box_FkKql .icon_-DbfR{background:#fff;border-radius:50%;display:block;float:right}");y$e=y$e.join("");aao.exports={uuid:"7909b9f7-fead-4f5a-b8e2-466c878556b1",locals:{"icon-eda-x-circle":"icon-eda-x-circle_L7Uk1","clear-input-circle":"clear-input-circle_VyMrW",switch:"switch_Fi0hP","un-checked":"un-checked_rR-Wx","icon-box":"icon-box_FkKql",loading:"loading_M6xsn",switchChecked:"switchChecked_Suxa4",checked:"checked_V53vF",md:"md_JK8n3",icon:"icon_-DbfR",lg:"lg_ncbk6",sm:"sm_XBKOi",elementRotate:"elementRotate_G9JwU"},toString(){return y$e}}});var j9t=xe((YPc,hao)=>{var x$e=[];x$e.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_EZOUx{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_1Dbqh{background-color:#efefef}.comm-btn-confirm_dUuDq{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_dUuDq:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_ysvGS{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_ysvGS:hover{border:1px solid #40a9ff!important}.opacity-none_qpcmA,.pointer-events-none_1M-nJ{cursor:default;pointer-events:none!important}.opacity-none_qpcmA{opacity:0}.attr-prohibit_oWpdU,.display-block_Uj6KX{display:block}.display-none_vgShO{display:none!important}.display-flex_JDHJX{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_ha6HH{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_jKkz-{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_9G4yH{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_Wo3Td{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_R-SxF{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_StHaG{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_pSFY2{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_NOdIh{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_Kifl-{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_cLbyD{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_3s5wf{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_01YeA{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_-YlmA{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_MaFAu{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_1G7RD{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_uN26w{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_dC-iV{color:#000!important}.color-white-important_LV-25{color:#fff!important}.bgcolor-red-important_p7udj{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-content-wrapper_PQJNc{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-content-wrapper_PQJNc>div{overflow:auto;width:100%}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-content-wrapper_PQJNc .comm-btn-operate-link_3yeCF{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-content-wrapper_PQJNc .comm-btn-height_xuaVP{height:22px}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-content-wrapper_PQJNc .comm-btn-text_7KYlV{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-content-wrapper_PQJNc .margin-btn_44WmV{margin-bottom:16px}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-content-wrapper_PQJNc .margin-top_DsrHp{margin-top:16px}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-content-wrapper_PQJNc input.dialog-input_7Q7uf{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-content-wrapper_PQJNc input.dialog-input_7Q7uf:not([disabled]){color:var(--font-color-input)}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-content-wrapper_PQJNc select.dialog-input_7Q7uf{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-content-wrapper_PQJNc select.dialog-input_7Q7uf:not([disabled]){color:var(--font-color-input)}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-content-wrapper_PQJNc textarea.dialog-input_7Q7uf{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-content-wrapper_PQJNc .device-property-key_Oj8WL{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-content-wrapper_PQJNc .attrs-select-wrap_cSYYq{padding-left:8px}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-footer-wrapper_bHVeg{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-footer-wrapper_bHVeg .comm-btn_-Zq02{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-footer-wrapper_bHVeg .comm-btn_-Zq02:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-footer-wrapper_bHVeg .comm-btn_-Zq02.comm-btn-default_QJKFR{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-footer-wrapper_bHVeg .comm-btn_-Zq02.comm-btn-default_QJKFR:hover{border-color:#1890ff}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-footer-wrapper_bHVeg .comm-btn_-Zq02 .l-btn-left_yqwat{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-footer-wrapper_bHVeg .comm-btn-left_NNDIU{left:28px;position:absolute}.pop-content-container_ptLr3:not(.oneLineOneInputDlg_KKFzp) .pop-footer-wrapper_bHVeg .grid-export_fvufx .comm-btn_-Zq02:last-child{margin-left:8px}.pop-content-container_ptLr3 *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_ptLr3 label{position:relative}.pop-content-wrapper_PQJNc a.route-link_JzTuW,.pop-content-wrapper_PQJNc a.route-link_JzTuW:active,.pop-content-wrapper_PQJNc a.route-link_JzTuW:visited{color:#00e}div[user-resizable] .window-body_V7q6->.panel_4JMEv,div[user-resizable] .window-header_gZxek{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_V7q6->.panel_4JMEv{height:100%!important}div[user-resizable] .window-body_V7q6- .dialog-content_01Mhj{height:100%!important;width:100%!important}");x$e=x$e.join("");hao.exports={uuid:"5443e98f-b8d0-4d04-af4d-34d7ad93d2cb",locals:{"comm-icon-add":"comm-icon-add_EZOUx","comm-background-color-efefef":"comm-background-color-efefef_1Dbqh","comm-btn-confirm":"comm-btn-confirm_dUuDq","comm-btn-cancel":"comm-btn-cancel_ysvGS","opacity-none":"opacity-none_qpcmA","pointer-events-none":"pointer-events-none_1M-nJ","attr-prohibit":"attr-prohibit_oWpdU","display-block":"display-block_Uj6KX","display-none":"display-none_vgShO","display-flex":"display-flex_JDHJX","display-inline-flex":"display-inline-flex_ha6HH","flex-lateral-axis-center":"flex-lateral-axis-center_jKkz-","flex-lateral-axis-start":"flex-lateral-axis-start_9G4yH","flex-lateral-axis-end":"flex-lateral-axis-end_Wo3Td","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_R-SxF","flex-main-axis-center":"flex-main-axis-center_StHaG","flex-main-axis-start":"flex-main-axis-start_pSFY2","flex-main-axis-end":"flex-main-axis-end_NOdIh","flex-main-axis-around":"flex-main-axis-around_Kifl-","flex-main-axis-between":"flex-main-axis-between_cLbyD","flex-nowrap":"flex-nowrap_3s5wf","flex-wrap":"flex-wrap_01YeA","flex-direct-row":"flex-direct-row_-YlmA","flex-direct-rerow":"flex-direct-rerow_MaFAu","flex-direct-column":"flex-direct-column_1G7RD","flex-direct-recolumn":"flex-direct-recolumn_uN26w","color-black-important":"color-black-important_dC-iV","color-white-important":"color-white-important_LV-25","bgcolor-red-important":"bgcolor-red-important_p7udj","pop-content-container":"pop-content-container_ptLr3",oneLineOneInputDlg:"oneLineOneInputDlg_KKFzp","pop-content-wrapper":"pop-content-wrapper_PQJNc","comm-btn-operate-link":"comm-btn-operate-link_3yeCF","comm-btn-height":"comm-btn-height_xuaVP","comm-btn-text":"comm-btn-text_7KYlV","margin-btn":"margin-btn_44WmV","margin-top":"margin-top_DsrHp","dialog-input":"dialog-input_7Q7uf","device-property-key":"device-property-key_Oj8WL","attrs-select-wrap":"attrs-select-wrap_cSYYq","pop-footer-wrapper":"pop-footer-wrapper_bHVeg","comm-btn":"comm-btn_-Zq02","comm-btn-default":"comm-btn-default_QJKFR","l-btn-left":"l-btn-left_yqwat","comm-btn-left":"comm-btn-left_NNDIU","grid-export":"grid-export_fvufx","route-link":"route-link_JzTuW","window-body":"window-body_V7q6-",panel:"panel_4JMEv","window-header":"window-header_gZxek","dialog-content":"dialog-content_01Mhj"},toString(){return x$e}}});var mIe=xe((OOc,Lao)=>{var L$e=[];L$e.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_O-2CW{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_L0j3Z{background-color:#efefef}.comm-btn-confirm_5KkPG{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_5KkPG:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_o3xef{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_o3xef:hover{border:1px solid #40a9ff!important}.opacity-none_8rPiV,.pointer-events-none_1Z9bp{cursor:default;pointer-events:none!important}.opacity-none_8rPiV{opacity:0}.attr-prohibit_oZR7B,.display-block_B3Yv0{display:block}.display-none_UIuUw{display:none!important}.display-flex_BuaAi{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_WY7hq{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_qCtEC{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_KWg-E{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_tKPkI{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_Po4mT{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_JjSS3{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_QG88J{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_vIOQw{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_-fqV9{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_kWYhw{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_4AtyF{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_ucK8d{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_cXhDl{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_FCPu6{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_UBrH3{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_--0wi{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_N9QcA{color:#000!important}.color-white-important_1c2si{color:#fff!important}.bgcolor-red-important_Y5dTy{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-content-wrapper_hqOLX{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-content-wrapper_hqOLX>div{overflow:auto;width:100%}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-content-wrapper_hqOLX .comm-btn-operate-link_-mWTb{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-content-wrapper_hqOLX .comm-btn-height_DHLVI{height:22px}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-content-wrapper_hqOLX .comm-btn-text_B7IZN{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-content-wrapper_hqOLX .margin-btn_-e31E{margin-bottom:16px}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-content-wrapper_hqOLX .margin-top_X5OpB{margin-top:16px}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-content-wrapper_hqOLX input.dialog-input_1c-nE{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-content-wrapper_hqOLX input.dialog-input_1c-nE:not([disabled]){color:var(--font-color-input)}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-content-wrapper_hqOLX select.dialog-input_1c-nE{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-content-wrapper_hqOLX select.dialog-input_1c-nE:not([disabled]){color:var(--font-color-input)}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-content-wrapper_hqOLX textarea.dialog-input_1c-nE{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-content-wrapper_hqOLX .device-property-key_CHPyK{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-content-wrapper_hqOLX .attrs-select-wrap_LUOIX{padding-left:8px}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-footer-wrapper_xDfGo{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-footer-wrapper_xDfGo .comm-btn_fB279{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-footer-wrapper_xDfGo .comm-btn_fB279:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-footer-wrapper_xDfGo .comm-btn_fB279.comm-btn-default_ucbA-{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-footer-wrapper_xDfGo .comm-btn_fB279.comm-btn-default_ucbA-:hover{border-color:#1890ff}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-footer-wrapper_xDfGo .comm-btn_fB279 .l-btn-left_jPArp{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-footer-wrapper_xDfGo .comm-btn-left_usn0m{left:28px;position:absolute}.pop-content-container_VJrjo:not(.oneLineOneInputDlg_t-acQ) .pop-footer-wrapper_xDfGo .grid-export_UuapS .comm-btn_fB279:last-child{margin-left:8px}.pop-content-container_VJrjo *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_VJrjo label{position:relative}.pop-content-wrapper_hqOLX a.route-link_xzYxa,.pop-content-wrapper_hqOLX a.route-link_xzYxa:active,.pop-content-wrapper_hqOLX a.route-link_xzYxa:visited{color:#00e}div[user-resizable] .window-body_BN2yt>.panel_yy9gS,div[user-resizable] .window-header_HK26Y{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_BN2yt>.panel_yy9gS{height:100%!important}div[user-resizable] .window-body_BN2yt .dialog-content_uradn{height:100%!important;width:100%!important}.batch-fanout-container_FCjjg .radio-group_pDHbB{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.batch-fanout-container_FCjjg .radio-group_pDHbB .radio_hda6r{display:inline-block;-webkit-flex-shrink:0;flex-shrink:0;width:100%}.batch-fanout-container_FCjjg .radio-group_pDHbB .radio_hda6r:last-child{margin-left:16px;width:auto}.batch-fanout-container_FCjjg .input_Zee8J{max-width:131px;min-height:24px;width:100%}.batch-fanout-container_FCjjg .select_1cz78{height:24px;width:100%}");L$e=L$e.join("");Lao.exports={uuid:"a39e1750-8c96-47c5-9762-82a45bda9bc0",locals:{"comm-icon-add":"comm-icon-add_O-2CW","comm-background-color-efefef":"comm-background-color-efefef_L0j3Z","comm-btn-confirm":"comm-btn-confirm_5KkPG","comm-btn-cancel":"comm-btn-cancel_o3xef","opacity-none":"opacity-none_8rPiV","pointer-events-none":"pointer-events-none_1Z9bp","attr-prohibit":"attr-prohibit_oZR7B","display-block":"display-block_B3Yv0","display-none":"display-none_UIuUw","display-flex":"display-flex_BuaAi","display-inline-flex":"display-inline-flex_WY7hq","flex-lateral-axis-center":"flex-lateral-axis-center_qCtEC","flex-lateral-axis-start":"flex-lateral-axis-start_KWg-E","flex-lateral-axis-end":"flex-lateral-axis-end_tKPkI","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_Po4mT","flex-main-axis-center":"flex-main-axis-center_JjSS3","flex-main-axis-start":"flex-main-axis-start_QG88J","flex-main-axis-end":"flex-main-axis-end_vIOQw","flex-main-axis-around":"flex-main-axis-around_-fqV9","flex-main-axis-between":"flex-main-axis-between_kWYhw","flex-nowrap":"flex-nowrap_4AtyF","flex-wrap":"flex-wrap_ucK8d","flex-direct-row":"flex-direct-row_cXhDl","flex-direct-rerow":"flex-direct-rerow_FCPu6","flex-direct-column":"flex-direct-column_UBrH3","flex-direct-recolumn":"flex-direct-recolumn_--0wi","color-black-important":"color-black-important_N9QcA","color-white-important":"color-white-important_1c2si","bgcolor-red-important":"bgcolor-red-important_Y5dTy","pop-content-container":"pop-content-container_VJrjo",oneLineOneInputDlg:"oneLineOneInputDlg_t-acQ","pop-content-wrapper":"pop-content-wrapper_hqOLX","comm-btn-operate-link":"comm-btn-operate-link_-mWTb","comm-btn-height":"comm-btn-height_DHLVI","comm-btn-text":"comm-btn-text_B7IZN","margin-btn":"margin-btn_-e31E","margin-top":"margin-top_X5OpB","dialog-input":"dialog-input_1c-nE","device-property-key":"device-property-key_CHPyK","attrs-select-wrap":"attrs-select-wrap_LUOIX","pop-footer-wrapper":"pop-footer-wrapper_xDfGo","comm-btn":"comm-btn_fB279","comm-btn-default":"comm-btn-default_ucbA-","l-btn-left":"l-btn-left_jPArp","comm-btn-left":"comm-btn-left_usn0m","grid-export":"grid-export_UuapS","route-link":"route-link_xzYxa","window-body":"window-body_BN2yt",panel:"panel_yy9gS","window-header":"window-header_HK26Y","dialog-content":"dialog-content_uradn","batch-fanout-container":"batch-fanout-container_FCjjg","radio-group":"radio-group_pDHbB",radio:"radio_hda6r",input:"input_Zee8J",select:"select_1cz78"},toString(){return L$e}}});var Fao=xe((t_c,zao)=>{var E$e=[];E$e.push(".oneLineOneInputDlg_SL0pQ .line_Ayz1i{margin:15px}.oneLineOneInputDlg_SL0pQ .line_Ayz1i,.oneLineOneInputDlg_SL0pQ .txt_title_QDrJP{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.oneLineOneInputDlg_SL0pQ .txt_title_QDrJP{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-right:10px;min-width:60px;text-align:left}.oneLineOneInputDlg_SL0pQ .dialog-button_UGkhv{border-top:none}");E$e=E$e.join("");zao.exports={uuid:"619f3fc4-6844-4949-a221-a92fd5433f9f",locals:{oneLineOneInputDlg:"oneLineOneInputDlg_SL0pQ",line:"line_Ayz1i",txt_title:"txt_title_QDrJP","dialog-button":"dialog-button_UGkhv"},toString(){return E$e}}});var Jao=xe((R_c,Zao)=>{var k$e=[];k$e.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_NIPYZ{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_GuheX{background-color:#efefef}.comm-btn-confirm_jphsL{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_jphsL:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_-3gxa{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_-3gxa:hover{border:1px solid #40a9ff!important}.opacity-none_YQ6sZ,.pointer-events-none_FwGRm{cursor:default;pointer-events:none!important}.opacity-none_YQ6sZ{opacity:0}.attr-prohibit_EO98A,.display-block_uoc0-{display:block}.display-none_ExcKF{display:none!important}.display-flex_2aa0F{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_nHy7A{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_7tJ6k{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_RUfdQ{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_0-g61{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_zF4iJ{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_sKmUL{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_LxU-T{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_V-1jt{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_aCdCt{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_gBTPz{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_Y-WI0{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_O57s9{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_oYk3X{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_EPPal{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_tqBv0{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_l-Z6g{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_e04-y{color:#000!important}.color-white-important_F327W{color:#fff!important}.bgcolor-red-important_aA4C9{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-content-wrapper_QRuaP{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-content-wrapper_QRuaP>div{overflow:auto;width:100%}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-content-wrapper_QRuaP .comm-btn-operate-link_wwZKu{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-content-wrapper_QRuaP .comm-btn-height_LLJtk{height:22px}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-content-wrapper_QRuaP .comm-btn-text_rotTT{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-content-wrapper_QRuaP .margin-btn_VMGvk{margin-bottom:16px}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-content-wrapper_QRuaP .margin-top_0wfRd{margin-top:16px}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-content-wrapper_QRuaP input.dialog-input_Iqn3F{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-content-wrapper_QRuaP input.dialog-input_Iqn3F:not([disabled]){color:var(--font-color-input)}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-content-wrapper_QRuaP select.dialog-input_Iqn3F{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-content-wrapper_QRuaP select.dialog-input_Iqn3F:not([disabled]){color:var(--font-color-input)}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-content-wrapper_QRuaP textarea.dialog-input_Iqn3F{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-content-wrapper_QRuaP .device-property-key_wUSAA{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-content-wrapper_QRuaP .attrs-select-wrap_TQ3r7{padding-left:8px}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-footer-wrapper_4E-9P{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-footer-wrapper_4E-9P .comm-btn_6uDuU{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-footer-wrapper_4E-9P .comm-btn_6uDuU:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-footer-wrapper_4E-9P .comm-btn_6uDuU.comm-btn-default_YOR3e{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-footer-wrapper_4E-9P .comm-btn_6uDuU.comm-btn-default_YOR3e:hover{border-color:#1890ff}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-footer-wrapper_4E-9P .comm-btn_6uDuU .l-btn-left_UgH2-{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-footer-wrapper_4E-9P .comm-btn-left_0wsKk{left:28px;position:absolute}.pop-content-container_eJw-N:not(.oneLineOneInputDlg_720Mx) .pop-footer-wrapper_4E-9P .grid-export_k8ZqV .comm-btn_6uDuU:last-child{margin-left:8px}.pop-content-container_eJw-N *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_eJw-N label{position:relative}.pop-content-wrapper_QRuaP a.route-link_8-JUL,.pop-content-wrapper_QRuaP a.route-link_8-JUL:active,.pop-content-wrapper_QRuaP a.route-link_8-JUL:visited{color:#00e}div[user-resizable] .window-body_9h-1q>.panel_CdNa6,div[user-resizable] .window-header_GzCL2{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_9h-1q>.panel_CdNa6{height:100%!important}div[user-resizable] .window-body_9h-1q .dialog-content_7bNzl{height:100%!important;width:100%!important}");k$e=k$e.join("");Zao.exports={uuid:"e55a7a9a-1fd5-4b44-93d8-11db4ae36957",locals:{"comm-icon-add":"comm-icon-add_NIPYZ","comm-background-color-efefef":"comm-background-color-efefef_GuheX","comm-btn-confirm":"comm-btn-confirm_jphsL","comm-btn-cancel":"comm-btn-cancel_-3gxa","opacity-none":"opacity-none_YQ6sZ","pointer-events-none":"pointer-events-none_FwGRm","attr-prohibit":"attr-prohibit_EO98A","display-block":"display-block_uoc0-","display-none":"display-none_ExcKF","display-flex":"display-flex_2aa0F","display-inline-flex":"display-inline-flex_nHy7A","flex-lateral-axis-center":"flex-lateral-axis-center_7tJ6k","flex-lateral-axis-start":"flex-lateral-axis-start_RUfdQ","flex-lateral-axis-end":"flex-lateral-axis-end_0-g61","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_zF4iJ","flex-main-axis-center":"flex-main-axis-center_sKmUL","flex-main-axis-start":"flex-main-axis-start_LxU-T","flex-main-axis-end":"flex-main-axis-end_V-1jt","flex-main-axis-around":"flex-main-axis-around_aCdCt","flex-main-axis-between":"flex-main-axis-between_gBTPz","flex-nowrap":"flex-nowrap_Y-WI0","flex-wrap":"flex-wrap_O57s9","flex-direct-row":"flex-direct-row_oYk3X","flex-direct-rerow":"flex-direct-rerow_EPPal","flex-direct-column":"flex-direct-column_tqBv0","flex-direct-recolumn":"flex-direct-recolumn_l-Z6g","color-black-important":"color-black-important_e04-y","color-white-important":"color-white-important_F327W","bgcolor-red-important":"bgcolor-red-important_aA4C9","pop-content-container":"pop-content-container_eJw-N",oneLineOneInputDlg:"oneLineOneInputDlg_720Mx","pop-content-wrapper":"pop-content-wrapper_QRuaP","comm-btn-operate-link":"comm-btn-operate-link_wwZKu","comm-btn-height":"comm-btn-height_LLJtk","comm-btn-text":"comm-btn-text_rotTT","margin-btn":"margin-btn_VMGvk","margin-top":"margin-top_0wfRd","dialog-input":"dialog-input_Iqn3F","device-property-key":"device-property-key_wUSAA","attrs-select-wrap":"attrs-select-wrap_TQ3r7","pop-footer-wrapper":"pop-footer-wrapper_4E-9P","comm-btn":"comm-btn_6uDuU","comm-btn-default":"comm-btn-default_YOR3e","l-btn-left":"l-btn-left_UgH2-","comm-btn-left":"comm-btn-left_0wsKk","grid-export":"grid-export_k8ZqV","route-link":"route-link_8-JUL","window-body":"window-body_9h-1q",panel:"panel_CdNa6","window-header":"window-header_GzCL2","dialog-content":"dialog-content_7bNzl"},toString(){return k$e}}});var tso=xe((ajc,eso)=>{var P$e=[];P$e.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_ohz7B{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_oWUw7{background-color:#efefef}.comm-btn-confirm_sOLU7{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_sOLU7:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_VywsE{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_VywsE:hover{border:1px solid #40a9ff!important}.opacity-none_pU38O,.pointer-events-none_H-3Ku{cursor:default;pointer-events:none!important}.opacity-none_pU38O{opacity:0}.attr-prohibit_6H7Kk,.display-block_SgfMz{display:block}.display-none_DnSwu{display:none!important}.display-flex_bbIJk{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_H9435{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_sjSdi{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_RxgBZ{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_0sXk3{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_6K65T{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_WVlA5{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_5HhOC{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_4sdhC{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_QK1mY{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_dM-xu{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_zyMWj{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_ZI4-z{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_yB0XS{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_oOaP8{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_TdQ5o{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_qBypo{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_B8f8Q{color:#000!important}.color-white-important_8DU3F{color:#fff!important}.bgcolor-red-important_fu-0r{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-content-wrapper_6vz-d{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-content-wrapper_6vz-d>div{overflow:auto;width:100%}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-content-wrapper_6vz-d .comm-btn-operate-link_Dq5nh{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-content-wrapper_6vz-d .comm-btn-height_JL2bT{height:22px}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-content-wrapper_6vz-d .comm-btn-text_xkisG{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-content-wrapper_6vz-d .margin-btn_gnHpS{margin-bottom:16px}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-content-wrapper_6vz-d .margin-top_sRuOn{margin-top:16px}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-content-wrapper_6vz-d input.dialog-input_zCnK-{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-content-wrapper_6vz-d input.dialog-input_zCnK-:not([disabled]){color:var(--font-color-input)}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-content-wrapper_6vz-d select.dialog-input_zCnK-{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-content-wrapper_6vz-d select.dialog-input_zCnK-:not([disabled]){color:var(--font-color-input)}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-content-wrapper_6vz-d textarea.dialog-input_zCnK-{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-content-wrapper_6vz-d .device-property-key_-EZAq{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-content-wrapper_6vz-d .attrs-select-wrap_b3V28{padding-left:8px}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-footer-wrapper_tyJd9{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-footer-wrapper_tyJd9 .comm-btn_vbHw4{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-footer-wrapper_tyJd9 .comm-btn_vbHw4:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-footer-wrapper_tyJd9 .comm-btn_vbHw4.comm-btn-default_f5HqD{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-footer-wrapper_tyJd9 .comm-btn_vbHw4.comm-btn-default_f5HqD:hover{border-color:#1890ff}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-footer-wrapper_tyJd9 .comm-btn_vbHw4 .l-btn-left_G2hC-{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-footer-wrapper_tyJd9 .comm-btn-left_gENEY{left:28px;position:absolute}.pop-content-container_v1ule:not(.oneLineOneInputDlg_aFqpB) .pop-footer-wrapper_tyJd9 .grid-export_uxEV- .comm-btn_vbHw4:last-child{margin-left:8px}.pop-content-container_v1ule *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_v1ule label{position:relative}.pop-content-wrapper_6vz-d a.route-link_7-rUw,.pop-content-wrapper_6vz-d a.route-link_7-rUw:active,.pop-content-wrapper_6vz-d a.route-link_7-rUw:visited{color:#00e}div[user-resizable] .window-body_OffgI>.panel_gmriO,div[user-resizable] .window-header_h6SYA{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_OffgI>.panel_gmriO{height:100%!important}div[user-resizable] .window-body_OffgI .dialog-content_kH6P2{height:100%!important;width:100%!important}.oneLineOneInputDlg_aFqpB .line_MPVEc{margin:15px}.oneLineOneInputDlg_aFqpB .line_MPVEc,.oneLineOneInputDlg_aFqpB .txt_title_rpvqF{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.oneLineOneInputDlg_aFqpB .txt_title_rpvqF{margin-right:10px;min-width:60px;text-align:left;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.oneLineOneInputDlg_aFqpB .dialog-button_Xt8f6{height:28px;margin-top:16px;overflow:hidden;text-align:right}");P$e=P$e.join("");eso.exports={uuid:"b0848627-fc2c-4e9f-adb8-9ea1bdbde928",locals:{"comm-icon-add":"comm-icon-add_ohz7B","comm-background-color-efefef":"comm-background-color-efefef_oWUw7","comm-btn-confirm":"comm-btn-confirm_sOLU7","comm-btn-cancel":"comm-btn-cancel_VywsE","opacity-none":"opacity-none_pU38O","pointer-events-none":"pointer-events-none_H-3Ku","attr-prohibit":"attr-prohibit_6H7Kk","display-block":"display-block_SgfMz","display-none":"display-none_DnSwu","display-flex":"display-flex_bbIJk","display-inline-flex":"display-inline-flex_H9435","flex-lateral-axis-center":"flex-lateral-axis-center_sjSdi","flex-lateral-axis-start":"flex-lateral-axis-start_RxgBZ","flex-lateral-axis-end":"flex-lateral-axis-end_0sXk3","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_6K65T","flex-main-axis-center":"flex-main-axis-center_WVlA5","flex-main-axis-start":"flex-main-axis-start_5HhOC","flex-main-axis-end":"flex-main-axis-end_4sdhC","flex-main-axis-around":"flex-main-axis-around_QK1mY","flex-main-axis-between":"flex-main-axis-between_dM-xu","flex-nowrap":"flex-nowrap_zyMWj","flex-wrap":"flex-wrap_ZI4-z","flex-direct-row":"flex-direct-row_yB0XS","flex-direct-rerow":"flex-direct-rerow_oOaP8","flex-direct-column":"flex-direct-column_TdQ5o","flex-direct-recolumn":"flex-direct-recolumn_qBypo","color-black-important":"color-black-important_B8f8Q","color-white-important":"color-white-important_8DU3F","bgcolor-red-important":"bgcolor-red-important_fu-0r","pop-content-container":"pop-content-container_v1ule",oneLineOneInputDlg:"oneLineOneInputDlg_aFqpB","pop-content-wrapper":"pop-content-wrapper_6vz-d","comm-btn-operate-link":"comm-btn-operate-link_Dq5nh","comm-btn-height":"comm-btn-height_JL2bT","comm-btn-text":"comm-btn-text_xkisG","margin-btn":"margin-btn_gnHpS","margin-top":"margin-top_sRuOn","dialog-input":"dialog-input_zCnK-","device-property-key":"device-property-key_-EZAq","attrs-select-wrap":"attrs-select-wrap_b3V28","pop-footer-wrapper":"pop-footer-wrapper_tyJd9","comm-btn":"comm-btn_vbHw4","comm-btn-default":"comm-btn-default_f5HqD","l-btn-left":"l-btn-left_G2hC-","comm-btn-left":"comm-btn-left_gENEY","grid-export":"grid-export_uxEV-","route-link":"route-link_7-rUw","window-body":"window-body_OffgI",panel:"panel_gmriO","window-header":"window-header_h6SYA","dialog-content":"dialog-content_kH6P2",line:"line_MPVEc",txt_title:"txt_title_rpvqF","dialog-button":"dialog-button_Xt8f6"},toString(){return P$e}}});var lso=xe((Ojc,sso)=>{var U7=[];U7.push(".container_9dcPo{border:1px solid var(--common-border-color);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:16px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-flex-wrap:wrap;flex-wrap:wrap}.container_9dcPo .file-name_c4Nre{margin-bottom:10px;width:100%}.container_9dcPo .pleaseEnterPassword_IxG7-{display:inline-block;line-height:24px;padding-right:8px;text-align:right}.container_9dcPo .icon-eda-eye_HvTdh{background:");U7.push("url(");U7.push(JSON.stringify(s3()));U7.push(")");U7.push(";background-position:50%;background-repeat:no-repeat}.container_9dcPo .icon-eda-eye_HvTdh,.container_9dcPo .icon-eda-no-eye_U0udB{display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:20px;width:20px}.container_9dcPo .icon-eda-no-eye_U0udB{background:");U7.push("url(");U7.push(JSON.stringify(Jx()));U7.push(")");U7.push(";background-position:50%;background-repeat:no-repeat;opacity:.25}.iconContainer_kmHs6{height:22px;padding-left:4px;width:22px}.buttonContainer_z3Tms{bottom:10%;position:absolute;right:16px}.passwordInput-text_nYPKy{-moz-appearance:textfield;border:1px solid #d9d9d9;border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;font-family:Microsoft YaHei;font-size:12px;height:24px;padding:0 8px;-webkit-user-select:text;-moz-user-select:text;user-select:text;width:236px}.passwordInput-text_nYPKy:focus{border-color:#1890ff;outline:0}.passwordInput-password_UYaCz{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;font-family:Microsoft YaHei;font-size:12px;height:24px;padding:0 8px;-webkit-user-select:text;-moz-user-select:text;user-select:text;width:236px;-webkit-text-security:disc}");U7=U7.join("");sso.exports={uuid:"ec36f8bd-2059-4c25-b8bd-ebf49d314d81",locals:{container:"container_9dcPo","file-name":"file-name_c4Nre",pleaseEnterPassword:"pleaseEnterPassword_IxG7-","icon-eda-eye":"icon-eda-eye_HvTdh","icon-eda-no-eye":"icon-eda-no-eye_U0udB",iconContainer:"iconContainer_kmHs6",buttonContainer:"buttonContainer_z3Tms","passwordInput-text":"passwordInput-text_nYPKy","passwordInput-password":"passwordInput-password_UYaCz"},toString(){return U7}}});var mso=xe((sBc,pso)=>{var O$e=[];O$e.push(".checkboxContainer_G68Ra{bottom:10%;left:16px;position:absolute}.buttonContainer_HsnDO{bottom:10%;position:absolute;right:16px}");O$e=O$e.join("");pso.exports={uuid:"489c157c-848e-4907-943f-95eafbfedb43",locals:{checkboxContainer:"checkboxContainer_G68Ra",buttonContainer:"buttonContainer_HsnDO"},toString(){return O$e}}});var wso=xe((CBc,yso)=>{var R$e=[];R$e.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_K5b0F{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_mHNms{background-color:#efefef}.comm-btn-confirm_lZLHL{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_lZLHL:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_3r4UR{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_3r4UR:hover{border:1px solid #40a9ff!important}.opacity-none_6kicF,.pointer-events-none_fNIja{cursor:default;pointer-events:none!important}.opacity-none_6kicF{opacity:0}.attr-prohibit_iw4N-,.display-block_Qt8rF{display:block}.display-none_0BBm1{display:none!important}.display-flex_Rv2b8{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_XhRM1{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_nNNFI{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_4wjeW{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_0r9UE{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_lz3L9{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_YPxyY{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_G02UA{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_lwqNq{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_nsVix{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_w9NaV{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_ojry-{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_4npaM{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_1-uE1{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_kGrf2{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_VgTlZ{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_IH2kb{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_HbKR4{color:#000!important}.color-white-important_i40d1{color:#fff!important}.bgcolor-red-important_NY75M{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-content-wrapper_MLCtZ{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-content-wrapper_MLCtZ>div{overflow:auto;width:100%}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-content-wrapper_MLCtZ .comm-btn-operate-link_ogZP0{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-content-wrapper_MLCtZ .comm-btn-height_82XUf{height:22px}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-content-wrapper_MLCtZ .comm-btn-text_y0z7w{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-content-wrapper_MLCtZ .margin-btn_ZWvSo{margin-bottom:16px}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-content-wrapper_MLCtZ .margin-top_Bm2bF{margin-top:16px}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-content-wrapper_MLCtZ input.dialog-input_viK0V{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-content-wrapper_MLCtZ input.dialog-input_viK0V:not([disabled]){color:var(--font-color-input)}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-content-wrapper_MLCtZ select.dialog-input_viK0V{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-content-wrapper_MLCtZ select.dialog-input_viK0V:not([disabled]){color:var(--font-color-input)}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-content-wrapper_MLCtZ textarea.dialog-input_viK0V{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-content-wrapper_MLCtZ .device-property-key_-o6-Z{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-content-wrapper_MLCtZ .attrs-select-wrap_G02K6{padding-left:8px}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-footer-wrapper_OlH01{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-footer-wrapper_OlH01 .comm-btn_9ihT5{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-footer-wrapper_OlH01 .comm-btn_9ihT5:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-footer-wrapper_OlH01 .comm-btn_9ihT5.comm-btn-default_pt-4c{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-footer-wrapper_OlH01 .comm-btn_9ihT5.comm-btn-default_pt-4c:hover{border-color:#1890ff}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-footer-wrapper_OlH01 .comm-btn_9ihT5 .l-btn-left_Lorop{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-footer-wrapper_OlH01 .comm-btn-left_80oOD{left:28px;position:absolute}.pop-content-container_JtTY3:not(.oneLineOneInputDlg_63zle) .pop-footer-wrapper_OlH01 .grid-export_oIgfr .comm-btn_9ihT5:last-child{margin-left:8px}.pop-content-container_JtTY3 *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_JtTY3 label{position:relative}.pop-content-wrapper_MLCtZ a.route-link_MtmLG,.pop-content-wrapper_MLCtZ a.route-link_MtmLG:active,.pop-content-wrapper_MLCtZ a.route-link_MtmLG:visited{color:#00e}div[user-resizable] .window-body_iOAMM>.panel_lVagN,div[user-resizable] .window-header_s7rAI{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_iOAMM>.panel_lVagN{height:100%!important}div[user-resizable] .window-body_iOAMM .dialog-content_ZcAhG{height:100%!important;width:100%!important}.wrap_y-e6w{border:1px solid var(--border-color-panel-divider);padding:16px 16px 0}.wrap_y-e6w .label_9-zWd{padding-right:10px;text-align:left;white-space:nowrap}");R$e=R$e.join("");yso.exports={uuid:"ffd80538-59fe-4b07-b7a5-062d24e6c004",locals:{"comm-icon-add":"comm-icon-add_K5b0F","comm-background-color-efefef":"comm-background-color-efefef_mHNms","comm-btn-confirm":"comm-btn-confirm_lZLHL","comm-btn-cancel":"comm-btn-cancel_3r4UR","opacity-none":"opacity-none_6kicF","pointer-events-none":"pointer-events-none_fNIja","attr-prohibit":"attr-prohibit_iw4N-","display-block":"display-block_Qt8rF","display-none":"display-none_0BBm1","display-flex":"display-flex_Rv2b8","display-inline-flex":"display-inline-flex_XhRM1","flex-lateral-axis-center":"flex-lateral-axis-center_nNNFI","flex-lateral-axis-start":"flex-lateral-axis-start_4wjeW","flex-lateral-axis-end":"flex-lateral-axis-end_0r9UE","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_lz3L9","flex-main-axis-center":"flex-main-axis-center_YPxyY","flex-main-axis-start":"flex-main-axis-start_G02UA","flex-main-axis-end":"flex-main-axis-end_lwqNq","flex-main-axis-around":"flex-main-axis-around_nsVix","flex-main-axis-between":"flex-main-axis-between_w9NaV","flex-nowrap":"flex-nowrap_ojry-","flex-wrap":"flex-wrap_4npaM","flex-direct-row":"flex-direct-row_1-uE1","flex-direct-rerow":"flex-direct-rerow_kGrf2","flex-direct-column":"flex-direct-column_VgTlZ","flex-direct-recolumn":"flex-direct-recolumn_IH2kb","color-black-important":"color-black-important_HbKR4","color-white-important":"color-white-important_i40d1","bgcolor-red-important":"bgcolor-red-important_NY75M","pop-content-container":"pop-content-container_JtTY3",oneLineOneInputDlg:"oneLineOneInputDlg_63zle","pop-content-wrapper":"pop-content-wrapper_MLCtZ","comm-btn-operate-link":"comm-btn-operate-link_ogZP0","comm-btn-height":"comm-btn-height_82XUf","comm-btn-text":"comm-btn-text_y0z7w","margin-btn":"margin-btn_ZWvSo","margin-top":"margin-top_Bm2bF","dialog-input":"dialog-input_viK0V","device-property-key":"device-property-key_-o6-Z","attrs-select-wrap":"attrs-select-wrap_G02K6","pop-footer-wrapper":"pop-footer-wrapper_OlH01","comm-btn":"comm-btn_9ihT5","comm-btn-default":"comm-btn-default_pt-4c","l-btn-left":"l-btn-left_Lorop","comm-btn-left":"comm-btn-left_80oOD","grid-export":"grid-export_oIgfr","route-link":"route-link_MtmLG","window-body":"window-body_iOAMM",panel:"panel_lVagN","window-header":"window-header_s7rAI","dialog-content":"dialog-content_ZcAhG",wrap:"wrap_y-e6w",label:"label_9-zWd"},toString(){return R$e}}});var rPt=xe((kBc,Sso)=>{var j$e=[];j$e.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_umSjF{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_5bhPm{background-color:#efefef}.comm-btn-confirm_xFlfN{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_xFlfN:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_-ZSYT{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_-ZSYT:hover{border:1px solid #40a9ff!important}.opacity-none_slV7U,.pointer-events-none_T30Ii{cursor:default;pointer-events:none!important}.opacity-none_slV7U{opacity:0}.attr-prohibit_x8P7x,.display-block_hztOo{display:block}.display-none_uvdnE{display:none!important}.display-flex_Hwgsl{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_Gcf0N{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_GGBcC{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_TL7jD{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_ak-dH{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_cGX2C{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_d62u4{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_Z4T7P{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_8sf8I{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_EqgeZ{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_smsEG{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_-wTWj{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_Hr6va{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_N-6-H{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_-Y-q0{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_dd2T0{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_kE-m7{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_Gjjxe{color:#000!important}.color-white-important_0Ol8d{color:#fff!important}.bgcolor-red-important_NGU7v{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-content-wrapper_Y6lFC{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-content-wrapper_Y6lFC>div{overflow:auto;width:100%}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-content-wrapper_Y6lFC .comm-btn-operate-link_PtNpg{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-content-wrapper_Y6lFC .comm-btn-height_eEODR{height:22px}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-content-wrapper_Y6lFC .comm-btn-text_c2Fnf{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-content-wrapper_Y6lFC .margin-btn_LRLWf{margin-bottom:16px}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-content-wrapper_Y6lFC .margin-top_5lKeR{margin-top:16px}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-content-wrapper_Y6lFC input.dialog-input_btRdq{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-content-wrapper_Y6lFC input.dialog-input_btRdq:not([disabled]){color:var(--font-color-input)}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-content-wrapper_Y6lFC select.dialog-input_btRdq{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-content-wrapper_Y6lFC select.dialog-input_btRdq:not([disabled]){color:var(--font-color-input)}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-content-wrapper_Y6lFC textarea.dialog-input_btRdq{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-content-wrapper_Y6lFC .device-property-key_4q8lb{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-content-wrapper_Y6lFC .attrs-select-wrap_MQ7b4{padding-left:8px}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-footer-wrapper_lUk7A{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-footer-wrapper_lUk7A .comm-btn_h1V7T{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-footer-wrapper_lUk7A .comm-btn_h1V7T:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-footer-wrapper_lUk7A .comm-btn_h1V7T.comm-btn-default_DQY0x{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-footer-wrapper_lUk7A .comm-btn_h1V7T.comm-btn-default_DQY0x:hover{border-color:#1890ff}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-footer-wrapper_lUk7A .comm-btn_h1V7T .l-btn-left_-leoN{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-footer-wrapper_lUk7A .comm-btn-left_sUVfe{left:28px;position:absolute}.pop-content-container_M4DGW:not(.oneLineOneInputDlg_TvTgO) .pop-footer-wrapper_lUk7A .grid-export_w8sdZ .comm-btn_h1V7T:last-child{margin-left:8px}.pop-content-container_M4DGW *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_M4DGW label{position:relative}.pop-content-wrapper_Y6lFC a.route-link_-NYRm,.pop-content-wrapper_Y6lFC a.route-link_-NYRm:active,.pop-content-wrapper_Y6lFC a.route-link_-NYRm:visited{color:#00e}div[user-resizable] .window-body_49Tev>.panel_rTVGk,div[user-resizable] .window-header_P4D8A{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_49Tev>.panel_rTVGk{height:100%!important}div[user-resizable] .window-body_49Tev .dialog-content_bhib4{height:100%!important;width:100%!important}.equal-length-tuning-container_8a0jf .fieldset_DLE5p{line-height:24px}.equal-length-tuning-container_8a0jf .open-rule-setting-button_07x67{color:#1890ff;cursor:pointer;padding-left:10px}.equal-length-tuning-container_8a0jf .open-rule-setting-button_07x67:hover{color:#40a9ff}.equal-length-tuning-container_8a0jf .route-length-type-img_eZ-jX{background-repeat:no-repeat;background-size:100% 100%;-webkit-filter:var(--icon-color-pcb);filter:var(--icon-color-pcb);height:115px;width:210px}");j$e=j$e.join("");Sso.exports={uuid:"cdde4874-09b2-473b-864b-493392b76095",locals:{"comm-icon-add":"comm-icon-add_umSjF","comm-background-color-efefef":"comm-background-color-efefef_5bhPm","comm-btn-confirm":"comm-btn-confirm_xFlfN","comm-btn-cancel":"comm-btn-cancel_-ZSYT","opacity-none":"opacity-none_slV7U","pointer-events-none":"pointer-events-none_T30Ii","attr-prohibit":"attr-prohibit_x8P7x","display-block":"display-block_hztOo","display-none":"display-none_uvdnE","display-flex":"display-flex_Hwgsl","display-inline-flex":"display-inline-flex_Gcf0N","flex-lateral-axis-center":"flex-lateral-axis-center_GGBcC","flex-lateral-axis-start":"flex-lateral-axis-start_TL7jD","flex-lateral-axis-end":"flex-lateral-axis-end_ak-dH","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_cGX2C","flex-main-axis-center":"flex-main-axis-center_d62u4","flex-main-axis-start":"flex-main-axis-start_Z4T7P","flex-main-axis-end":"flex-main-axis-end_8sf8I","flex-main-axis-around":"flex-main-axis-around_EqgeZ","flex-main-axis-between":"flex-main-axis-between_smsEG","flex-nowrap":"flex-nowrap_-wTWj","flex-wrap":"flex-wrap_Hr6va","flex-direct-row":"flex-direct-row_N-6-H","flex-direct-rerow":"flex-direct-rerow_-Y-q0","flex-direct-column":"flex-direct-column_dd2T0","flex-direct-recolumn":"flex-direct-recolumn_kE-m7","color-black-important":"color-black-important_Gjjxe","color-white-important":"color-white-important_0Ol8d","bgcolor-red-important":"bgcolor-red-important_NGU7v","pop-content-container":"pop-content-container_M4DGW",oneLineOneInputDlg:"oneLineOneInputDlg_TvTgO","pop-content-wrapper":"pop-content-wrapper_Y6lFC","comm-btn-operate-link":"comm-btn-operate-link_PtNpg","comm-btn-height":"comm-btn-height_eEODR","comm-btn-text":"comm-btn-text_c2Fnf","margin-btn":"margin-btn_LRLWf","margin-top":"margin-top_5lKeR","dialog-input":"dialog-input_btRdq","device-property-key":"device-property-key_4q8lb","attrs-select-wrap":"attrs-select-wrap_MQ7b4","pop-footer-wrapper":"pop-footer-wrapper_lUk7A","comm-btn":"comm-btn_h1V7T","comm-btn-default":"comm-btn-default_DQY0x","l-btn-left":"l-btn-left_-leoN","comm-btn-left":"comm-btn-left_sUVfe","grid-export":"grid-export_w8sdZ","route-link":"route-link_-NYRm","window-body":"window-body_49Tev",panel:"panel_rTVGk","window-header":"window-header_P4D8A","dialog-content":"dialog-content_bhib4","equal-length-tuning-container":"equal-length-tuning-container_8a0jf",fieldset:"fieldset_DLE5p","open-rule-setting-button":"open-rule-setting-button_07x67","route-length-type-img":"route-length-type-img_eZ-jX"},toString(){return j$e}}});var Nso=xe((Nzc,Aso)=>{var xm=[];xm.push(".pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-content-wrapper_wVeEg{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-content-wrapper_wVeEg>div{overflow:auto;width:100%}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-content-wrapper_wVeEg .comm-btn-operate-link_i9anU{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-content-wrapper_wVeEg .comm-btn-height_IRXm1{height:22px}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-content-wrapper_wVeEg .comm-btn-text_mxXW7{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-content-wrapper_wVeEg .margin-btn_FQY3s{margin-bottom:16px}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-content-wrapper_wVeEg .margin-top_acQPS{margin-top:16px}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-content-wrapper_wVeEg input.dialog-input_Xa09Y{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-content-wrapper_wVeEg input.dialog-input_Xa09Y:not([disabled]){color:var(--font-color-input)}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-content-wrapper_wVeEg select.dialog-input_Xa09Y{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-content-wrapper_wVeEg select.dialog-input_Xa09Y:not([disabled]){color:var(--font-color-input)}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-content-wrapper_wVeEg textarea.dialog-input_Xa09Y{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-content-wrapper_wVeEg .device-property-key_58XwK{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-content-wrapper_wVeEg .attrs-select-wrap_zVMV-{padding-left:8px}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-footer-wrapper_Mac1i{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-footer-wrapper_Mac1i .comm-btn_E2Ph2{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-footer-wrapper_Mac1i .comm-btn_E2Ph2:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-footer-wrapper_Mac1i .comm-btn_E2Ph2.comm-btn-default_b0-x9{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-footer-wrapper_Mac1i .comm-btn_E2Ph2.comm-btn-default_b0-x9:hover{border-color:#1890ff}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-footer-wrapper_Mac1i .comm-btn_E2Ph2 .l-btn-left_6ZVSt{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-footer-wrapper_Mac1i .comm-btn-left_w9pS5{left:28px;position:absolute}.pop-content-container_tI9AJ:not(.oneLineOneInputDlg_Fr6Vp) .pop-footer-wrapper_Mac1i .grid-export_bkrzM .comm-btn_E2Ph2:last-child{margin-left:8px}.pop-content-container_tI9AJ *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_tI9AJ label{position:relative}.pop-content-wrapper_wVeEg a.route-link_-AaRw,.pop-content-wrapper_wVeEg a.route-link_-AaRw:active,.pop-content-wrapper_wVeEg a.route-link_-AaRw:visited{color:#00e}div[user-resizable] .window-body_qN3O9>.panel_zPZwk,div[user-resizable] .window-header_gwcVb{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_qN3O9>.panel_zPZwk{height:100%!important}div[user-resizable] .window-body_qN3O9 .dialog-content_wLtBS{height:100%!important;width:100%!important}.comm-fittinginput-container_VQy05{height:100%;width:100%}.comm-fittinginput-container_VQy05 .comm-fittinginput-wrapper_P8vKP{border:1px solid var(--common-border-color);border-radius:2px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;box-align:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;box-pack:justify;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;background-color:var(--bg-color-input);-webkit-flex-wrap:nowrap!important;flex-wrap:nowrap!important;height:24px;justify-content:space-between;overflow:hidden}.comm-fittinginput-container_VQy05 .comm-fittinginput-wrapper_P8vKP:focus-within{background-color:var(--bg-color-focus-input)!important;border-color:var(--border-color-focus-input)}.comm-fittinginput-container_VQy05 .comm-fittinginput-wrapper_P8vKP .comm-fittinginput-input_qw3FQ{border:0;line-height:24px;margin:0;min-width:50px;outline:0;padding:0 5px 0 10px;width:100%}.comm-fittinginput-container_VQy05 .comm-fittinginput-wrapper_P8vKP .comm-fittinginput-clear_m4V97{cursor:pointer;padding:1px 5px 0 0}.comm-fittinginput-container_VQy05 .comm-fittinginput-wrapper_P8vKP .comm-fittinginput-clear-hidden_nfgpq{display:none}.comm-fittinginput-container_VQy05 .comm-fittinginput-wrapper_P8vKP .comm-fittinginput-clear_m4V97:hover{color:#1890ff}.comm-fittinginput-container_VQy05 .comm-fittinginput-wrapper_P8vKP .comm-fittinginput-search_avnre{cursor:pointer;padding:4px 5px 0 0}.comm-fittinginput-container_VQy05 .comm-fittinginput-wrapper_P8vKP .comm-fittinginput-search-hidden_-mvvI{display:none}.comm-fittinginput-container_VQy05 .comm-fittinginput-wrapper_P8vKP .comm-fittinginput-search_avnre:hover{color:#1890ff}.comm-fittinginput-container_VQy05 .comm-fittinginput-wrapper_P8vKP .comm-fittinginput-last_jIeuM{height:22px}.comm-fittinginput-container_VQy05 .comm-fittinginput-wrapper_P8vKP .comm-fittinginput-last_jIeuM .last_YSAaJ{background-position:50%;cursor:pointer;display:inline-block;height:22px;width:22px}.comm-fittinginput-container_VQy05 .comm-fittinginput-wrapper_P8vKP .disable_oVLcP{-webkit-filter:invert(55%) sepia(0) saturate(7448%) hue-rotate(101deg) brightness(138%) contrast(99%);filter:invert(55%) sepia(0) saturate(7448%) hue-rotate(101deg) brightness(138%) contrast(99%)}.comm-fittinginput-container_VQy05 .comm-fittinginput-wrapper_P8vKP .disable_oVLcP i{cursor:not-allowed!important}.comm-fittinginput-container_VQy05 .comm-fittinginput-wrapper_P8vKP .comm-fittinginput-next_DMRxM{height:22px}.comm-fittinginput-container_VQy05 .comm-fittinginput-wrapper_P8vKP .comm-fittinginput-next_DMRxM .next_d5m00{background-position:50%;cursor:pointer;display:inline-block;height:22px;width:22px}.comm-fittinginput-container_VQy05 .filter-search_Z7vXc{width:-webkit-calc(100% - 52px);width:-moz-calc(100% - 52px);width:calc(100% - 52px)}.comm-fittinginput-container_VQy05 .active_GUMWX{background-color:#e6f7ff}.comm-fittinginput-container_VQy05 .icon_Ortnn{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;border:1px solid var(--border-color-panel-divider);border-right:none;cursor:pointer;display:inline-block;-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);height:24px;width:24px}.comm-fittinginput-container_VQy05 .icon-eda-filter_N51Os{border-radius:0 2px 2px 0;border-right:1px solid var(--border-color-panel-divider)}.comm-fittinginput-container_VQy05 .icon-eda-zoom_Wph-O{border-radius:2px 0 0 2px}.comm-fittinginput-container_VQy05 .comm-fittinginput-wrapper-active_WmU4-{border:1px solid #1890ff}.comm-fittinginput-container-panel_j6O6c,.editNetClass_aMLz7{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.editNetClass_aMLz7{height:100%;overflow-x:auto;width:100%}.editNetClass_aMLz7 .allNetClassName_P1dcK{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:30%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-flow:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-flow:column;margin-right:16px}.editNetClass_aMLz7 .allNetClassName_P1dcK fieldset{border:1px solid var(--common-border-color);height:94.4%;min-width:100%;width:100%}.editNetClass_aMLz7 .allNetClassName_P1dcK fieldset legend{margin-left:10px;padding:0 5px}.editNetClass_aMLz7 .allNetClassName_P1dcK fieldset .filterNetList_NVr6t{padding:5px 0}.editNetClass_aMLz7 .allNetClassName_P1dcK .ul-wrap_BSJ9E{height:-webkit-calc(100% - 36px);height:-moz-calc(100% - 36px);height:calc(100% - 36px);overflow:auto}.editNetClass_aMLz7 .allNetClassName_P1dcK .ul-wrap_BSJ9E ul li{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;text-overflow:ellipsis;white-space:nowrap;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.editNetClass_aMLz7 .allNetClassName_P1dcK .ul-wrap_BSJ9E ul li.selected_OEIKr{background:var(--bg-color-selected-tr)}.editNetClass_aMLz7 .allNetClassName_P1dcK .ul-wrap_BSJ9E ul li .bus-icon_FUMzF{background-image:");xm.push("url(");xm.push(JSON.stringify(p3e()));xm.push(")");xm.push(";display:inline-block;-webkit-filter:invert(14%) sepia(69%) saturate(4924%) hue-rotate(354deg) brightness(117%) contrast(122%);filter:invert(14%) sepia(69%) saturate(4924%) hue-rotate(354deg) brightness(117%) contrast(122%);height:16px;width:16px}.editNetClass_aMLz7 .allNetClassName_P1dcK .tr-menu-item-text-tag_Q5neT{color:red;font-size:14px;font-weight:bolder}.editNetClass_aMLz7 li{cursor:pointer;list-style:none;padding:5px 10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.editNetClass_aMLz7 li.selected_OEIKr{background:var(--bg-color-selected-tr)}.editNetClass_aMLz7 .netlist-for-netclass_E5Iho{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.editNetClass_aMLz7 .netlist-for-netclass_E5Iho fieldset{border:1px solid var(--common-border-color);height:100%;width:50%}.editNetClass_aMLz7 .netlist-for-netclass_E5Iho fieldset legend{margin-left:10px;padding:0 5px}.editNetClass_aMLz7 .netlist-for-netclass_E5Iho fieldset .filterNetList_NVr6t{padding:5px 0}.editNetClass_aMLz7 .netlist-for-netclass_E5Iho ul{height:-webkit-calc(100% - 36px);height:-moz-calc(100% - 36px);height:calc(100% - 36px);overflow-x:hidden;overflow-y:auto}.editNetClass_aMLz7 .netlist-for-netclass_E5Iho ul li.selected_OEIKr{background:var(--bg-color-selected-tr)}.disabled_-pTR8{color:var(--font-color-disabled-button)!important;cursor:not-allowed!important;pointer-events:none!important}.middle-buttons_2A4ke{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;padding:0 8px}.middle-buttons_2A4ke>div{border:1px solid var(--common-border-color);border-radius:2px;cursor:pointer;font-size:16px;height:24px;line-height:24px;text-align:center;width:24px}.middle-buttons_2A4ke>div:hover{border-color:#40a9ff}.middle-buttons_2A4ke>div:first-child{margin-bottom:20px}.middle-buttons_2A4ke>div.disabled_-pTR8{border-color:var(--border-color-disabled-button);color:var(--font-color-disabled-button)}.backgroundDisabled_iPV-H,.middle-buttons_2A4ke>div.disabled_-pTR8{background-color:var(--bg-color-disabled-button)}.icon_operate_yuVhO{background-repeat:no-repeat;cursor:pointer;margin:0 4px}.icon_operate_add_niNq9{background-image:");xm.push("url(");xm.push(JSON.stringify(u9()));xm.push(")");xm.push(";background-position:50%;background-size:130%}.icon_operate_add_niNq9.disabled_-pTR8{background-image:");xm.push("url(");xm.push(JSON.stringify(VR()));xm.push(")");xm.push(";background-position:50%;background-size:130%}.icon_operate_delete_zznSC{background-image:");xm.push("url(");xm.push(JSON.stringify(p9()));xm.push(")");xm.push(";background-position:50%;background-size:130%}.icon_operate_delete_zznSC.disabled_-pTR8{background-image:");xm.push("url(");xm.push(JSON.stringify(m9()));xm.push(")");xm.push(";background-position:center -2px;background-size:140%}.icon-eda-zoom-small_G3vCi{background-image:");xm.push("url(");xm.push(JSON.stringify(Iie()));xm.push(")");xm.push(";background-repeat:no-repeat;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:12px;width:12px}");xm=xm.join("");Aso.exports={uuid:"88c47e92-ec11-4e30-9018-f19f1dfaedcc",locals:{"pop-content-container":"pop-content-container_tI9AJ",oneLineOneInputDlg:"oneLineOneInputDlg_Fr6Vp","pop-content-wrapper":"pop-content-wrapper_wVeEg","comm-btn-operate-link":"comm-btn-operate-link_i9anU","comm-btn-height":"comm-btn-height_IRXm1","comm-btn-text":"comm-btn-text_mxXW7","margin-btn":"margin-btn_FQY3s","margin-top":"margin-top_acQPS","dialog-input":"dialog-input_Xa09Y","device-property-key":"device-property-key_58XwK","attrs-select-wrap":"attrs-select-wrap_zVMV-","pop-footer-wrapper":"pop-footer-wrapper_Mac1i","comm-btn":"comm-btn_E2Ph2","comm-btn-default":"comm-btn-default_b0-x9","l-btn-left":"l-btn-left_6ZVSt","comm-btn-left":"comm-btn-left_w9pS5","grid-export":"grid-export_bkrzM","route-link":"route-link_-AaRw","window-body":"window-body_qN3O9",panel:"panel_zPZwk","window-header":"window-header_gwcVb","dialog-content":"dialog-content_wLtBS","comm-fittinginput-container":"comm-fittinginput-container_VQy05","comm-fittinginput-wrapper":"comm-fittinginput-wrapper_P8vKP","comm-fittinginput-input":"comm-fittinginput-input_qw3FQ","comm-fittinginput-clear":"comm-fittinginput-clear_m4V97","comm-fittinginput-clear-hidden":"comm-fittinginput-clear-hidden_nfgpq","comm-fittinginput-search":"comm-fittinginput-search_avnre","comm-fittinginput-search-hidden":"comm-fittinginput-search-hidden_-mvvI","comm-fittinginput-last":"comm-fittinginput-last_jIeuM",last:"last_YSAaJ",disable:"disable_oVLcP","comm-fittinginput-next":"comm-fittinginput-next_DMRxM",next:"next_d5m00","filter-search":"filter-search_Z7vXc",active:"active_GUMWX",icon:"icon_Ortnn","icon-eda-filter":"icon-eda-filter_N51Os","icon-eda-zoom":"icon-eda-zoom_Wph-O","comm-fittinginput-wrapper-active":"comm-fittinginput-wrapper-active_WmU4-","comm-fittinginput-container-panel":"comm-fittinginput-container-panel_j6O6c",editNetClass:"editNetClass_aMLz7",allNetClassName:"allNetClassName_P1dcK",filterNetList:"filterNetList_NVr6t","ul-wrap":"ul-wrap_BSJ9E",selected:"selected_OEIKr","bus-icon":"bus-icon_FUMzF","tr-menu-item-text-tag":"tr-menu-item-text-tag_Q5neT","netlist-for-netclass":"netlist-for-netclass_E5Iho",disabled:"disabled_-pTR8","middle-buttons":"middle-buttons_2A4ke",backgroundDisabled:"backgroundDisabled_iPV-H",icon_operate:"icon_operate_yuVhO",icon_operate_add:"icon_operate_add_niNq9",icon_operate_delete:"icon_operate_delete_zznSC","icon-eda-zoom-small":"icon-eda-zoom-small_G3vCi"},toString(){return xm}}});var Oso=xe((sFc,Pso)=>{var Y$e=[];Y$e.push(".container_qUY-x{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.body_mMmhM,.container_qUY-x{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.body_mMmhM{gap:8px}.content_YMRku{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;margin-top:1px}.content_YMRku,.footer_mNHVf{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.footer_mNHVf{width:100%;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;gap:8px}");Y$e=Y$e.join("");Pso.exports={uuid:"b023f651-a98b-4ff0-a4eb-25ec7d938764",locals:{container:"container_qUY-x",body:"body_mMmhM",content:"content_YMRku",footer:"footer_mNHVf"},toString(){return Y$e}}});var Gso=xe((PFc,Hso)=>{var W$e=[];W$e.push(".dlgPanelize_NYIA6{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:710px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.box_8jdGI{border:1px solid var(--common-border-color-1);margin-top:20px;padding:16px;position:relative}.title_wDeQ9{background:var(--common-bg-color);left:20px;padding:5px 10px;position:absolute;top:-12px}.formItem_O7Fee{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;flex-grow:1;padding:4px 0;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.formItem_O7Fee .secondColumn_iKLTF label{min-width:120px}.formLabel_8zsNU{cursor:pointer;display:inline-block;margin-left:8px;margin-right:8px;max-width:110px;min-width:195px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.secondColumnLabel_Jd5zY{min-width:120px}.formBox_fZ8--{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-moz-appearance:textfield;border:1px solid #d9d9d9;border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:#333;display:inline-block;flex-grow:1;font-family:Microsoft YaHei;font-size:12px;height:22px;padding:0 8px}.tipsForPanelizeType_wgRG5{line-height:20px;padding:16px 0}.popFooterWrapper_SmDqD{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}");W$e=W$e.join("");Hso.exports={uuid:"9c655fd1-ec18-41a4-ac83-6b753be49fad",locals:{dlgPanelize:"dlgPanelize_NYIA6",box:"box_8jdGI",title:"title_wDeQ9",formItem:"formItem_O7Fee",secondColumn:"secondColumn_iKLTF",formLabel:"formLabel_8zsNU",secondColumnLabel:"secondColumnLabel_Jd5zY",formBox:"formBox_fZ8--",tipsForPanelizeType:"tipsForPanelizeType_wgRG5",popFooterWrapper:"popFooterWrapper_SmDqD"},toString(){return W$e}}});var Zso=xe((iUc,Kso)=>{var Q$e=[];Q$e.push(".gray_dialog_border_0WLWz{border:1px solid var(--common-border-color);margin-bottom:20px;padding:10px 20px}.gray_dialog_border_0WLWz legend{padding:8px}");Q$e=Q$e.join("");Kso.exports={uuid:"61dcabbd-0122-4f39-9c96-e6858c009aa6",locals:{gray_dialog_border:"gray_dialog_border_0WLWz"},toString(){return Q$e}}});var elo=xe((bUc,$so)=>{var K$e=[];K$e.push(".gridContainer_49H1A{height:310px;overflow:auto;width:100%}.table_1Vkjx{border-collapse:collapse;font-size:12px;table-layout:fixed;text-align:center;width:100%}.table_1Vkjx,.table_1Vkjx td{border:1px solid var(--border-color-table-body)}.table_1Vkjx td{-moz-box-sizing:border-box;box-sizing:border-box;height:25px;position:relative;width:55px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.table_1Vkjx td input{border:0}");K$e=K$e.join("");$so.exports={uuid:"75541b4e-ff82-45d9-83ca-5b401b1425d3",locals:{gridContainer:"gridContainer_49H1A",table:"table_1Vkjx"},toString(){return K$e}}});var slo=xe((GUc,alo)=>{var q$e=[];q$e.push(".container_md5ty,.content_xbDq2{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;gap:16px}.content_xbDq2{padding:15px 20px}.footer_RaN-1,.layer_3jxFX{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.footer_RaN-1{-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;gap:8px;justify-content:flex-end}");q$e=q$e.join("");alo.exports={uuid:"170a9dea-de25-4ec8-80e7-7a538623a3b9",locals:{container:"container_md5ty",content:"content_xbDq2",footer:"footer_RaN-1",layer:"layer_3jxFX"},toString(){return q$e}}});var Tlo=xe((XVc,xlo)=>{var Ay=[];Ay.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_LJq2H{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_6QLza{background-color:#efefef}.comm-btn-confirm_aJ-A-{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_aJ-A-:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_Tyugh{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_Tyugh:hover{border:1px solid #40a9ff!important}.opacity-none_63a2k,.pointer-events-none_-uarh{cursor:default;pointer-events:none!important}.opacity-none_63a2k{opacity:0}.attr-prohibit_njr5A,.display-block_900UA{display:block}.display-none_4boz-{display:none!important}.display-flex_Lz1g5{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_O8kpi{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_RhrMR{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_7nPQJ{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_qEX3K{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_lnvSO{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_BsNG5{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_CZbtI{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_JSrcU{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_3xAgM{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_vuh3b{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_RLiQj{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_N7EzW{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_p7-rS{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_usVfW{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_qLNAr{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_USyx4{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_pHrr8{color:#000!important}.color-white-important_KInBe{color:#fff!important}.bgcolor-red-important_-qCND{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-content-wrapper_qUBSj{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-content-wrapper_qUBSj>div{overflow:auto;width:100%}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-content-wrapper_qUBSj .comm-btn-operate-link_OnM32{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-content-wrapper_qUBSj .comm-btn-height_qKzkE{height:22px}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-content-wrapper_qUBSj .comm-btn-text_g6o-l{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-content-wrapper_qUBSj .margin-btn_GfkE-{margin-bottom:16px}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-content-wrapper_qUBSj .margin-top_mwcOc{margin-top:16px}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-content-wrapper_qUBSj input.dialog-input_fPYcr{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-content-wrapper_qUBSj input.dialog-input_fPYcr:not([disabled]){color:var(--font-color-input)}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-content-wrapper_qUBSj select.dialog-input_fPYcr{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-content-wrapper_qUBSj select.dialog-input_fPYcr:not([disabled]){color:var(--font-color-input)}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-content-wrapper_qUBSj textarea.dialog-input_fPYcr{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-content-wrapper_qUBSj .device-property-key_eKWh4{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-content-wrapper_qUBSj .attrs-select-wrap_Mllc2{padding-left:8px}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-footer-wrapper_wlaBD{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-footer-wrapper_wlaBD .comm-btn_O8uSC{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-footer-wrapper_wlaBD .comm-btn_O8uSC:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-footer-wrapper_wlaBD .comm-btn_O8uSC.comm-btn-default_poKY8{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-footer-wrapper_wlaBD .comm-btn_O8uSC.comm-btn-default_poKY8:hover{border-color:#1890ff}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-footer-wrapper_wlaBD .comm-btn_O8uSC .l-btn-left_Ojg24{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-footer-wrapper_wlaBD .comm-btn-left_w01o9{left:28px;position:absolute}.pop-content-container_8ExTV:not(.oneLineOneInputDlg_YcS0o) .pop-footer-wrapper_wlaBD .grid-export_Kdvzd .comm-btn_O8uSC:last-child{margin-left:8px}.pop-content-container_8ExTV *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_8ExTV label{position:relative}.pop-content-wrapper_qUBSj a.route-link_hX2p8,.pop-content-wrapper_qUBSj a.route-link_hX2p8:active,.pop-content-wrapper_qUBSj a.route-link_hX2p8:visited{color:#00e}div[user-resizable] .window-body_AO9qn>.panel_BhFds,div[user-resizable] .window-header_XPg8a{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_AO9qn>.panel_BhFds{height:100%!important}div[user-resizable] .window-body_AO9qn .dialog-content_WoZ6d{height:100%!important;width:100%!important}.comm-fittinginput-container_9MK7i{height:100%;width:100%}.comm-fittinginput-container_9MK7i .comm-fittinginput-wrapper_YXPyY{border:1px solid var(--common-border-color);border-radius:2px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;box-align:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;box-pack:justify;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;background-color:var(--bg-color-input);-webkit-flex-wrap:nowrap!important;flex-wrap:nowrap!important;height:24px;justify-content:space-between;overflow:hidden}.comm-fittinginput-container_9MK7i .comm-fittinginput-wrapper_YXPyY:focus-within{background-color:var(--bg-color-focus-input)!important;border-color:var(--border-color-focus-input)}.comm-fittinginput-container_9MK7i .comm-fittinginput-wrapper_YXPyY .comm-fittinginput-input_Mz1qU{border:0;line-height:24px;margin:0;min-width:50px;outline:0;padding:0 5px 0 10px;width:100%}.comm-fittinginput-container_9MK7i .comm-fittinginput-wrapper_YXPyY .comm-fittinginput-clear_VggAS{cursor:pointer;padding:1px 5px 0 0}.comm-fittinginput-container_9MK7i .comm-fittinginput-wrapper_YXPyY .comm-fittinginput-clear-hidden_2OVC5{display:none}.comm-fittinginput-container_9MK7i .comm-fittinginput-wrapper_YXPyY .comm-fittinginput-clear_VggAS:hover{color:#1890ff}.comm-fittinginput-container_9MK7i .comm-fittinginput-wrapper_YXPyY .comm-fittinginput-search_TlqlN{cursor:pointer;padding:4px 5px 0 0}.comm-fittinginput-container_9MK7i .comm-fittinginput-wrapper_YXPyY .comm-fittinginput-search-hidden_YUvWK{display:none}.comm-fittinginput-container_9MK7i .comm-fittinginput-wrapper_YXPyY .comm-fittinginput-search_TlqlN:hover{color:#1890ff}.comm-fittinginput-container_9MK7i .comm-fittinginput-wrapper_YXPyY .comm-fittinginput-last_0-s9a{height:22px}.comm-fittinginput-container_9MK7i .comm-fittinginput-wrapper_YXPyY .comm-fittinginput-last_0-s9a .last_6ZYdx{background-position:50%;cursor:pointer;display:inline-block;height:22px;width:22px}.comm-fittinginput-container_9MK7i .comm-fittinginput-wrapper_YXPyY .disable_thncs{-webkit-filter:invert(55%) sepia(0) saturate(7448%) hue-rotate(101deg) brightness(138%) contrast(99%);filter:invert(55%) sepia(0) saturate(7448%) hue-rotate(101deg) brightness(138%) contrast(99%)}.comm-fittinginput-container_9MK7i .comm-fittinginput-wrapper_YXPyY .disable_thncs i{cursor:not-allowed!important}.comm-fittinginput-container_9MK7i .comm-fittinginput-wrapper_YXPyY .comm-fittinginput-next_5Pvfl{height:22px}.comm-fittinginput-container_9MK7i .comm-fittinginput-wrapper_YXPyY .comm-fittinginput-next_5Pvfl .next_KowFm{background-position:50%;cursor:pointer;display:inline-block;height:22px;width:22px}.comm-fittinginput-container_9MK7i .filter-search_JS-dN{width:-webkit-calc(100% - 52px);width:-moz-calc(100% - 52px);width:calc(100% - 52px)}.comm-fittinginput-container_9MK7i .active_-9Y-j{background-color:#e6f7ff}.comm-fittinginput-container_9MK7i .icon_6J3M4{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;border:1px solid var(--border-color-panel-divider);border-right:none;cursor:pointer;display:inline-block;-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);height:24px;width:24px}.comm-fittinginput-container_9MK7i .icon-eda-filter_MvSFL{border-radius:0 2px 2px 0;border-right:1px solid var(--border-color-panel-divider)}.comm-fittinginput-container_9MK7i .icon-eda-zoom_wjpoZ{border-radius:2px 0 0 2px}.comm-fittinginput-container_9MK7i .comm-fittinginput-wrapper-active_fsgY9{border:1px solid #1890ff}.comm-fittinginput-container-panel_eY-43,.editPadPair_Xfxrq{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.editPadPair_Xfxrq{height:100%;overflow-x:auto;width:100%}.editPadPair_Xfxrq .padPairNameWrap_9mt-k{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:30%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.editPadPair_Xfxrq li{cursor:pointer;list-style:none;padding:5px 10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.editPadPair_Xfxrq li.selected_XVmxk{background:var(--bg-color-selected-tr)}.editPadPair_Xfxrq .listWrap_NO9d6{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;border:1px solid var(--common-border-color);flex:1;padding:8px 0}.editPadPair_Xfxrq .select-pads-middle-operate_UEJpA{margin-left:16px;width:40%}.editPadPair_Xfxrq .select-pads-middle-operate_UEJpA fieldset{border:1px solid var(--common-border-color);height:100%;width:100%}.editPadPair_Xfxrq .select-pads-middle-operate_UEJpA fieldset legend{margin-left:10px;padding:0 5px}.editPadPair_Xfxrq .select-pads-middle-operate_UEJpA fieldset .filterNetList_N2t-Z{padding:5px 0}.editPadPair_Xfxrq .select-pads-middle-operate_UEJpA .notSelectedList_Aa6kh{height:-webkit-calc(100% - 52px);height:-moz-calc(100% - 52px);height:calc(100% - 52px);margin-top:10px;overflow:auto}.editPadPair_Xfxrq .middle-buttons_9mFdv{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:45px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;padding:0 16px}.editPadPair_Xfxrq .middle-buttons_9mFdv>div{border:1px solid var(--common-border-color);border-radius:2px;height:14px;text-align:center;width:14px}.editPadPair_Xfxrq .middle-buttons_9mFdv>div:hover{border-color:#40a9ff;cursor:pointer}.editPadPair_Xfxrq .selectedPads_iSKeA{width:30%}.editPadPair_Xfxrq .selectedPads_iSKeA fieldset{height:-webkit-calc(100% - 30px);height:-moz-calc(100% - 30px);height:calc(100% - 30px)}.padPairNameList_Jii30{overflow-y:auto;width:294px}.padPairNameList_Jii30 li{overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.padPairNameList_Jii30 .tr-menu-item-text-tag_IYTcH{color:red;font-size:14px;font-weight:bolder}.attr_setting_btn_9DVk1{display:inline-block;height:16px;width:16px}.icon_operate_LmGcb{background-repeat:no-repeat;cursor:pointer;margin:0 4px}.icon_operate_add_c8-gZ{background-image:");Ay.push("url(");Ay.push(JSON.stringify(u9()));Ay.push(")");Ay.push(";background-position:50%;background-size:130%}.icon_operate_add_c8-gZ.disabled_XU7O8{background-image:");Ay.push("url(");Ay.push(JSON.stringify(VR()));Ay.push(")");Ay.push(";background-position:50%;background-size:130%}.icon_operate_delete_1zx6X{background-image:");Ay.push("url(");Ay.push(JSON.stringify(p9()));Ay.push(")");Ay.push(";background-position:50%;background-size:130%}.icon_operate_delete_1zx6X.disabled_XU7O8{background-image:");Ay.push("url(");Ay.push(JSON.stringify(m9()));Ay.push(")");Ay.push(";background-position:center -2px;background-size:140%}");Ay=Ay.join("");xlo.exports={uuid:"82b4e97c-8bbe-47f4-b400-3a3bf31929d8",locals:{"comm-icon-add":"comm-icon-add_LJq2H","comm-background-color-efefef":"comm-background-color-efefef_6QLza","comm-btn-confirm":"comm-btn-confirm_aJ-A-","comm-btn-cancel":"comm-btn-cancel_Tyugh","opacity-none":"opacity-none_63a2k","pointer-events-none":"pointer-events-none_-uarh","attr-prohibit":"attr-prohibit_njr5A","display-block":"display-block_900UA","display-none":"display-none_4boz-","display-flex":"display-flex_Lz1g5","display-inline-flex":"display-inline-flex_O8kpi","flex-lateral-axis-center":"flex-lateral-axis-center_RhrMR","flex-lateral-axis-start":"flex-lateral-axis-start_7nPQJ","flex-lateral-axis-end":"flex-lateral-axis-end_qEX3K","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_lnvSO","flex-main-axis-center":"flex-main-axis-center_BsNG5","flex-main-axis-start":"flex-main-axis-start_CZbtI","flex-main-axis-end":"flex-main-axis-end_JSrcU","flex-main-axis-around":"flex-main-axis-around_3xAgM","flex-main-axis-between":"flex-main-axis-between_vuh3b","flex-nowrap":"flex-nowrap_RLiQj","flex-wrap":"flex-wrap_N7EzW","flex-direct-row":"flex-direct-row_p7-rS","flex-direct-rerow":"flex-direct-rerow_usVfW","flex-direct-column":"flex-direct-column_qLNAr","flex-direct-recolumn":"flex-direct-recolumn_USyx4","color-black-important":"color-black-important_pHrr8","color-white-important":"color-white-important_KInBe","bgcolor-red-important":"bgcolor-red-important_-qCND","pop-content-container":"pop-content-container_8ExTV",oneLineOneInputDlg:"oneLineOneInputDlg_YcS0o","pop-content-wrapper":"pop-content-wrapper_qUBSj","comm-btn-operate-link":"comm-btn-operate-link_OnM32","comm-btn-height":"comm-btn-height_qKzkE","comm-btn-text":"comm-btn-text_g6o-l","margin-btn":"margin-btn_GfkE-","margin-top":"margin-top_mwcOc","dialog-input":"dialog-input_fPYcr","device-property-key":"device-property-key_eKWh4","attrs-select-wrap":"attrs-select-wrap_Mllc2","pop-footer-wrapper":"pop-footer-wrapper_wlaBD","comm-btn":"comm-btn_O8uSC","comm-btn-default":"comm-btn-default_poKY8","l-btn-left":"l-btn-left_Ojg24","comm-btn-left":"comm-btn-left_w01o9","grid-export":"grid-export_Kdvzd","route-link":"route-link_hX2p8","window-body":"window-body_AO9qn",panel:"panel_BhFds","window-header":"window-header_XPg8a","dialog-content":"dialog-content_WoZ6d","comm-fittinginput-container":"comm-fittinginput-container_9MK7i","comm-fittinginput-wrapper":"comm-fittinginput-wrapper_YXPyY","comm-fittinginput-input":"comm-fittinginput-input_Mz1qU","comm-fittinginput-clear":"comm-fittinginput-clear_VggAS","comm-fittinginput-clear-hidden":"comm-fittinginput-clear-hidden_2OVC5","comm-fittinginput-search":"comm-fittinginput-search_TlqlN","comm-fittinginput-search-hidden":"comm-fittinginput-search-hidden_YUvWK","comm-fittinginput-last":"comm-fittinginput-last_0-s9a",last:"last_6ZYdx",disable:"disable_thncs","comm-fittinginput-next":"comm-fittinginput-next_5Pvfl",next:"next_KowFm","filter-search":"filter-search_JS-dN",active:"active_-9Y-j",icon:"icon_6J3M4","icon-eda-filter":"icon-eda-filter_MvSFL","icon-eda-zoom":"icon-eda-zoom_wjpoZ","comm-fittinginput-wrapper-active":"comm-fittinginput-wrapper-active_fsgY9","comm-fittinginput-container-panel":"comm-fittinginput-container-panel_eY-43",editPadPair:"editPadPair_Xfxrq",padPairNameWrap:"padPairNameWrap_9mt-k",selected:"selected_XVmxk",listWrap:"listWrap_NO9d6","select-pads-middle-operate":"select-pads-middle-operate_UEJpA",filterNetList:"filterNetList_N2t-Z",notSelectedList:"notSelectedList_Aa6kh","middle-buttons":"middle-buttons_9mFdv",selectedPads:"selectedPads_iSKeA",padPairNameList:"padPairNameList_Jii30","tr-menu-item-text-tag":"tr-menu-item-text-tag_IYTcH",attr_setting_btn:"attr_setting_btn_9DVk1",icon_operate:"icon_operate_LmGcb",icon_operate_add:"icon_operate_add_c8-gZ",disabled:"disabled_XU7O8",icon_operate_delete:"icon_operate_delete_1zx6X"},toString(){return Ay}}});var vlo=xe((THc,Llo)=>{var tet=[];tet.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_YpjFF{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_k89Bj{background-color:#efefef}.comm-btn-confirm_xAuE9{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_xAuE9:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_W--I4{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_W--I4:hover{border:1px solid #40a9ff!important}.opacity-none_65Jn0,.pointer-events-none_Kt4YF{cursor:default;pointer-events:none!important}.opacity-none_65Jn0{opacity:0}.attr-prohibit_QA--T,.display-block_j9Cqm{display:block}.display-none_BmugV{display:none!important}.display-flex_-vrRx{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_lSLXm{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_s7TeG{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_jUnAi{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_CiiHo{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_P3QSf{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_gX42f{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_PqI4K{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_gzq-p{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_Qkqu6{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_R2eHV{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_6dnyI{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_ucCAS{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_BOqF6{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_u-SHK{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_sfxHw{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_WzFB4{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_qFsFF{color:#000!important}.color-white-important_RrhXJ{color:#fff!important}.bgcolor-red-important_db93U{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-content-wrapper_-PesP{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-content-wrapper_-PesP>div{overflow:auto;width:100%}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-content-wrapper_-PesP .comm-btn-operate-link_sJa-d{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-content-wrapper_-PesP .comm-btn-height_1r8D-{height:22px}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-content-wrapper_-PesP .comm-btn-text_sm1k4{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-content-wrapper_-PesP .margin-btn_NQ2Hk{margin-bottom:16px}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-content-wrapper_-PesP .margin-top_uRVv5{margin-top:16px}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-content-wrapper_-PesP input.dialog-input_-rbJV{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-content-wrapper_-PesP input.dialog-input_-rbJV:not([disabled]){color:var(--font-color-input)}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-content-wrapper_-PesP select.dialog-input_-rbJV{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-content-wrapper_-PesP select.dialog-input_-rbJV:not([disabled]){color:var(--font-color-input)}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-content-wrapper_-PesP textarea.dialog-input_-rbJV{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-content-wrapper_-PesP .device-property-key_OX0ZK{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-content-wrapper_-PesP .attrs-select-wrap_F9Q7Q{padding-left:8px}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-footer-wrapper_J2g1g{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-footer-wrapper_J2g1g .comm-btn_EJNaj{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-footer-wrapper_J2g1g .comm-btn_EJNaj:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-footer-wrapper_J2g1g .comm-btn_EJNaj.comm-btn-default_yZbj8{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-footer-wrapper_J2g1g .comm-btn_EJNaj.comm-btn-default_yZbj8:hover{border-color:#1890ff}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-footer-wrapper_J2g1g .comm-btn_EJNaj .l-btn-left_fG77c{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-footer-wrapper_J2g1g .comm-btn-left_xgfMq{left:28px;position:absolute}.pop-content-container_yLe7B:not(.oneLineOneInputDlg_hLX3W) .pop-footer-wrapper_J2g1g .grid-export_6IBsb .comm-btn_EJNaj:last-child{margin-left:8px}.pop-content-container_yLe7B *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_yLe7B label{position:relative}.pop-content-wrapper_-PesP a.route-link_Lor4p,.pop-content-wrapper_-PesP a.route-link_Lor4p:active,.pop-content-wrapper_-PesP a.route-link_Lor4p:visited{color:#00e}div[user-resizable] .window-body_8MLEl>.panel_Fmc5T,div[user-resizable] .window-header_v6cgz{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_8MLEl>.panel_Fmc5T{height:100%!important}div[user-resizable] .window-body_8MLEl .dialog-content_8yeth{height:100%!important;width:100%!important}");tet=tet.join("");Llo.exports={uuid:"bc2bee49-f14b-428f-9d74-7c448ddaa400",locals:{"comm-icon-add":"comm-icon-add_YpjFF","comm-background-color-efefef":"comm-background-color-efefef_k89Bj","comm-btn-confirm":"comm-btn-confirm_xAuE9","comm-btn-cancel":"comm-btn-cancel_W--I4","opacity-none":"opacity-none_65Jn0","pointer-events-none":"pointer-events-none_Kt4YF","attr-prohibit":"attr-prohibit_QA--T","display-block":"display-block_j9Cqm","display-none":"display-none_BmugV","display-flex":"display-flex_-vrRx","display-inline-flex":"display-inline-flex_lSLXm","flex-lateral-axis-center":"flex-lateral-axis-center_s7TeG","flex-lateral-axis-start":"flex-lateral-axis-start_jUnAi","flex-lateral-axis-end":"flex-lateral-axis-end_CiiHo","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_P3QSf","flex-main-axis-center":"flex-main-axis-center_gX42f","flex-main-axis-start":"flex-main-axis-start_PqI4K","flex-main-axis-end":"flex-main-axis-end_gzq-p","flex-main-axis-around":"flex-main-axis-around_Qkqu6","flex-main-axis-between":"flex-main-axis-between_R2eHV","flex-nowrap":"flex-nowrap_6dnyI","flex-wrap":"flex-wrap_ucCAS","flex-direct-row":"flex-direct-row_BOqF6","flex-direct-rerow":"flex-direct-rerow_u-SHK","flex-direct-column":"flex-direct-column_sfxHw","flex-direct-recolumn":"flex-direct-recolumn_WzFB4","color-black-important":"color-black-important_qFsFF","color-white-important":"color-white-important_RrhXJ","bgcolor-red-important":"bgcolor-red-important_db93U","pop-content-container":"pop-content-container_yLe7B",oneLineOneInputDlg:"oneLineOneInputDlg_hLX3W","pop-content-wrapper":"pop-content-wrapper_-PesP","comm-btn-operate-link":"comm-btn-operate-link_sJa-d","comm-btn-height":"comm-btn-height_1r8D-","comm-btn-text":"comm-btn-text_sm1k4","margin-btn":"margin-btn_NQ2Hk","margin-top":"margin-top_uRVv5","dialog-input":"dialog-input_-rbJV","device-property-key":"device-property-key_OX0ZK","attrs-select-wrap":"attrs-select-wrap_F9Q7Q","pop-footer-wrapper":"pop-footer-wrapper_J2g1g","comm-btn":"comm-btn_EJNaj","comm-btn-default":"comm-btn-default_yZbj8","l-btn-left":"l-btn-left_fG77c","comm-btn-left":"comm-btn-left_xgfMq","grid-export":"grid-export_6IBsb","route-link":"route-link_Lor4p","window-body":"window-body_8MLEl",panel:"panel_Fmc5T","window-header":"window-header_v6cgz","dialog-content":"dialog-content_8yeth"},toString(){return tet}}});var _lo=xe((qHc,Rlo)=>{var oet=[];oet.push('.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-content-wrapper_q0BXD{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-content-wrapper_q0BXD>div{overflow:auto;width:100%}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-content-wrapper_q0BXD .comm-btn-operate-link_mC7Q8{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-content-wrapper_q0BXD .comm-btn-height_1zxCW{height:22px}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-content-wrapper_q0BXD .comm-btn-text_HARmy{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-content-wrapper_q0BXD .margin-btn_8oFHy{margin-bottom:16px}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-content-wrapper_q0BXD .margin-top_mF0jL{margin-top:16px}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-content-wrapper_q0BXD input.dialog-input_F30fK{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-content-wrapper_q0BXD input.dialog-input_F30fK:not([disabled]){color:var(--font-color-input)}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-content-wrapper_q0BXD select.dialog-input_F30fK{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-content-wrapper_q0BXD select.dialog-input_F30fK:not([disabled]){color:var(--font-color-input)}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-content-wrapper_q0BXD textarea.dialog-input_F30fK{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-content-wrapper_q0BXD .device-property-key_Crnwv{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-content-wrapper_q0BXD .attrs-select-wrap_vR-0U{padding-left:8px}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-footer-wrapper_7u6f-{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-footer-wrapper_7u6f- .comm-btn_1jdlf{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-footer-wrapper_7u6f- .comm-btn_1jdlf:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-footer-wrapper_7u6f- .comm-btn_1jdlf.comm-btn-default_idlhN{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-footer-wrapper_7u6f- .comm-btn_1jdlf.comm-btn-default_idlhN:hover{border-color:#1890ff}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-footer-wrapper_7u6f- .comm-btn_1jdlf .l-btn-left_CfZWm{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-footer-wrapper_7u6f- .comm-btn-left_xlMeD{left:28px;position:absolute}.pop-content-container_LGZWQ:not(.oneLineOneInputDlg_HPMjB) .pop-footer-wrapper_7u6f- .grid-export_cIeeU .comm-btn_1jdlf:last-child{margin-left:8px}.pop-content-container_LGZWQ *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_LGZWQ label{position:relative}.pop-content-wrapper_q0BXD a.route-link_RluS7,.pop-content-wrapper_q0BXD a.route-link_RluS7:active,.pop-content-wrapper_q0BXD a.route-link_RluS7:visited{color:#00e}div[user-resizable] .window-body_EMQQt>.panel_lH9Nk,div[user-resizable] .window-header_t15rX{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_EMQQt>.panel_lH9Nk{height:100%!important}div[user-resizable] .window-body_EMQQt .dialog-content_unCbB{height:100%!important;width:100%!important}.dlgModifyHotkey_lKvOy{width:100%}.borderOut_RNaOX{border:1px solid #e9e9e9}.name_qrcg8{max-width:120px;min-width:88px;overflow:hidden;padding-right:16px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.line_6BuCf{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:8px 0;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;position:relative}.line_6BuCf,.value_q1-3X{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.usedHotkey_4tudt{cursor:pointer}.label_CmJ-A{display:inline-block;width:-webkit-calc(100% - 40px);width:-moz-calc(100% - 40px);width:calc(100% - 40px)}.filetype_58sXP,.label_CmJ-A{height:24px;position:relative}.filetype_58sXP{-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.label1_Bwmxu{display:inline-block;height:24px;position:relative;width:-webkit-calc(100% - 64px);width:-moz-calc(100% - 64px);width:calc(100% - 64px)}.borderOut_RNaOX{border:1px solid var(--common-border-color);padding:16px}.border_2E0ja{border:1px solid var(--border-color-input)}.text_FZZgL{display:inline-block;height:24px;line-height:24px;padding:0 8px}.clearIcon_lVf3g{-webkit-filter:var(--common-icon-color)!important;filter:var(--common-icon-color)!important;right:5px;top:6px}.icon-eda-refresh-1-small_TX1nC{background-repeat:no-repeat;background-size:18px 18px;content:"";cursor:pointer;display:inline-block;-webkit-filter:invert(.4);filter:invert(.4);height:18px;margin:0 0 3px 5px;vertical-align:bottom;width:18px}.tips_3Ww73{color:#39f;padding:0 0 8px}.error_z4ZAB{color:red}.editDisable_KlH3x{background-color:var(--bg-color-disabled-input)!important;color:var(--font-color-disabled-input)}');oet=oet.join("");Rlo.exports={uuid:"192d8066-3f83-49ce-b896-9b8d67b92bf8",locals:{"pop-content-container":"pop-content-container_LGZWQ",oneLineOneInputDlg:"oneLineOneInputDlg_HPMjB","pop-content-wrapper":"pop-content-wrapper_q0BXD","comm-btn-operate-link":"comm-btn-operate-link_mC7Q8","comm-btn-height":"comm-btn-height_1zxCW","comm-btn-text":"comm-btn-text_HARmy","margin-btn":"margin-btn_8oFHy","margin-top":"margin-top_mF0jL","dialog-input":"dialog-input_F30fK","device-property-key":"device-property-key_Crnwv","attrs-select-wrap":"attrs-select-wrap_vR-0U","pop-footer-wrapper":"pop-footer-wrapper_7u6f-","comm-btn":"comm-btn_1jdlf","comm-btn-default":"comm-btn-default_idlhN","l-btn-left":"l-btn-left_CfZWm","comm-btn-left":"comm-btn-left_xlMeD","grid-export":"grid-export_cIeeU","route-link":"route-link_RluS7","window-body":"window-body_EMQQt",panel:"panel_lH9Nk","window-header":"window-header_t15rX","dialog-content":"dialog-content_unCbB",dlgModifyHotkey:"dlgModifyHotkey_lKvOy",borderOut:"borderOut_RNaOX",name:"name_qrcg8",line:"line_6BuCf",value:"value_q1-3X",usedHotkey:"usedHotkey_4tudt",label:"label_CmJ-A",filetype:"filetype_58sXP",label1:"label1_Bwmxu",border:"border_2E0ja",text:"text_FZZgL",clearIcon:"clearIcon_lVf3g","icon-eda-refresh-1-small":"icon-eda-refresh-1-small_TX1nC",tips:"tips_3Ww73",error:"error_z4ZAB",editDisable:"editDisable_KlH3x"},toString(){return oet}}});var eco=xe((EYc,$lo)=>{var cet=[];cet.push(".reuse_template_2LAvR{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:100%}.reuse_template_2LAvR .table_S61z9{-webkit-flex-shrink:0;flex-shrink:0;float:left;height:100%;width:300px}.reuse_template_2LAvR .preview_q-t-c{border-collapse:collapse;margin-left:16px;width:40%}.reuse_template_2LAvR .preview_q-t-c .preview_title_box_YMzhB{background:var(--common-bg-color-panel-header);border-bottom:1px solid #e3e3e3;border-right:1px solid #e3e3e3;border-top:1px solid #e3e3e3;border:1px solid var(--border-color-panel-divider);height:25px;padding-right:8px}.reuse_template_2LAvR .preview_q-t-c .preview_title_box_YMzhB .title_RRcJM{float:left;margin-left:8px;position:relative;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);transform:translateY(-50%)}.reuse_template_2LAvR .preview_q-t-c .current_preview_VtdQR,.reuse_template_2LAvR .preview_q-t-c .update_preview_cIxp3{border:1px solid var(--border-color-panel-divider);height:-webkit-calc(100% - 25px);height:-moz-calc(100% - 25px);height:calc(100% - 25px);padding:5px}");cet=cet.join("");$lo.exports={uuid:"769f1074-1fc8-4c53-bae6-23c7d1dd753b",locals:{reuse_template:"reuse_template_2LAvR",table:"table_S61z9",preview:"preview_q-t-c",preview_title_box:"preview_title_box_YMzhB",title:"title_RRcJM",current_preview:"current_preview_VtdQR",update_preview:"update_preview_cIxp3"},toString(){return cet}}});var nco=xe((JYc,rco)=>{var met=[];met.push(".prepass_bom_check_dialog_VYJ3p .footer_-NWF-{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-top:16px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:end;-moz-box-pack:end;gap:8px;justify-content:end}");met=met.join("");rco.exports={uuid:"b1fe68b2-542f-4146-9197-e840368fe133",locals:{prepass_bom_check_dialog:"prepass_bom_check_dialog_VYJ3p",footer:"footer_-NWF-"},toString(){return met}}});var Cco=xe((vQc,wco)=>{var bet=[];bet.push(".batch_rename_Ls9uo{border:1px solid var(--common-border-color);font-size:12px;padding:16px}.batch_rename_Ls9uo .prefix_wrap_oYBtY{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:1rem}.batch_rename_Ls9uo .prefix_wrap_oYBtY .prefix_span_yKGjj{padding-right:1rem;text-align:right;width:40px}.batch_rename_Ls9uo .prefix_wrap_oYBtY .prefix_input_iSpU-{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;height:22px}.batch_rename_Ls9uo .start_step_wrap_ZGC12{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:1rem}.batch_rename_Ls9uo .start_step_wrap_ZGC12 .start_span_GY2f0{padding-right:1rem;text-align:right;width:40px}.batch_rename_Ls9uo .start_step_wrap_ZGC12 .start_input_ApfWz{height:22px;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.batch_rename_Ls9uo .start_step_wrap_ZGC12 .step_span_REkwO{margin:0 1rem}.batch_rename_Ls9uo .start_step_wrap_ZGC12 .step_input_9pVkU{height:22px;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.batch_rename_Ls9uo .suffix_wrap_WhpSx{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.batch_rename_Ls9uo .suffix_wrap_WhpSx .suffix_span_er3Xv{padding-right:1rem;text-align:right;width:40px}.batch_rename_Ls9uo .suffix_wrap_WhpSx .suffix_input_JfZHh{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;height:22px}.footer_H7OwY{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-top:16px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;gap:8px;justify-content:flex-end}");bet=bet.join("");wco.exports={uuid:"ca5d334e-0ae6-40bd-ba74-1cf1a83a590c",locals:{batch_rename:"batch_rename_Ls9uo",prefix_wrap:"prefix_wrap_oYBtY",prefix_span:"prefix_span_yKGjj",prefix_input:"prefix_input_iSpU-",start_step_wrap:"start_step_wrap_ZGC12",start_span:"start_span_GY2f0",start_input:"start_input_ApfWz",step_span:"step_span_REkwO",step_input:"step_input_9pVkU",suffix_wrap:"suffix_wrap_WhpSx",suffix_span:"suffix_span_er3Xv",suffix_input:"suffix_input_JfZHh",footer:"footer_H7OwY"},toString(){return bet}}});var w$=xe((GQc,Mco)=>{var yet=[];yet.push(".container_PWnBC .search-range_2f9f6{margin-top:16px;padding:0 16px}.container_PWnBC .search-range_2f9f6,.container_PWnBC .switch-search-content_w340F .search-content_hwdES{background:var(--bg-color-pop-up-content);border:1px solid var(--common-border-color)}.container_PWnBC .switch-search-content_w340F .search-content_hwdES{padding:10px 16px}.container_PWnBC .line_yF1nN{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin:12px 0}.container_PWnBC .line_yF1nN .title_9O5yX{margin-right:8px;width:60px}.container_PWnBC .line_yF1nN .group_KRqJA,.container_PWnBC .replace-as_sOyJq{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_PWnBC .replace-as_sOyJq{-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;margin-top:16px;padding-right:10px}.container_PWnBC .replace-as_sOyJq span:first-child{margin-right:4px}.footer_p148j{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:end;-webkit-justify-content:end;-moz-box-pack:end;justify-content:end;margin-top:16px}.footer-btn-common_9VlLC{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}");yet=yet.join("");Mco.exports={uuid:"b0efd72f-0e16-41e3-b3ab-21dc2b01b038",locals:{container:"container_PWnBC","search-range":"search-range_2f9f6","switch-search-content":"switch-search-content_w340F","search-content":"search-content_hwdES",line:"line_yF1nN",title:"title_9O5yX",group:"group_KRqJA","replace-as":"replace-as_sOyJq",footer:"footer_p148j","footer-btn-common":"footer-btn-common_9VlLC"},toString(){return yet}}});var nW=xe((MZc,Wco)=>{var wet=[];wet.push(".find-similar-content_eqMD5{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;line-height:12px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.find-similar-content_eqMD5 .border_17Tv9{border:1px solid var(--common-border-color);padding:10px 20px}.find-similar-content_eqMD5 .ranges_0cAdv{margin-bottom:20px}.find-similar-content_eqMD5 .row_fb1z6{display:grid;margin:5px 0}.find-similar-content_eqMD5 .row_fb1z6,.find-similar-content_eqMD5 .row_fb1z6>div{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.find-similar-content_eqMD5 .row_fb1z6>div{-webkit-box-pack:start;-webkit-justify-content:start;-moz-box-pack:start;border-radius:0;color:var(--font-color-pop-up);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-size:1em;justify-content:start;padding:5px 10px;position:relative;word-break:break-all}.find-similar-content_eqMD5 .row_fb1z6>div.title_0A9sI span{-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;line-height:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.find-similar-content_eqMD5 .row_fb1z6>div .ellipsis-help_hyu9C{top:7px}.find-similar-content_eqMD5 .row_fb1z6>div input,.find-similar-content_eqMD5 .row_fb1z6>div select{width:100%}.find-similar-content_eqMD5 .conditions_hw8q0{height:400px;overflow:auto}.find-similar-content_eqMD5 .conditions_hw8q0>.title_0A9sI{bottom:480px}.find-similar-content_eqMD5 .conditions_hw8q0,.find-similar-content_eqMD5 .group-attr_p6Saw,.find-similar-content_eqMD5 .para-attr_68pfn,.find-similar-content_eqMD5 .reuse-block-attr_8A-wQ{padding:8px 20px}.find-similar-content_eqMD5 .conditions_hw8q0>.title_0A9sI,.find-similar-content_eqMD5 .group-attr_p6Saw>.title_0A9sI,.find-similar-content_eqMD5 .para-attr_68pfn>.title_0A9sI,.find-similar-content_eqMD5 .reuse-block-attr_8A-wQ>.title_0A9sI{background:var(--bg-color-pop-up-content);padding:3px 6px;position:absolute;z-index:2}.find-similar-content_eqMD5 .group-attr_p6Saw,.find-similar-content_eqMD5 .para-attr_68pfn,.find-similar-content_eqMD5 .reuse-block-attr_8A-wQ{border-top:1px solid var(--common-border-color);margin-top:15px;padding:15px 0 8px;position:relative}.find-similar-content_eqMD5 .group-attr_p6Saw>.title_0A9sI,.find-similar-content_eqMD5 .para-attr_68pfn>.title_0A9sI,.find-similar-content_eqMD5 .reuse-block-attr_8A-wQ>.title_0A9sI{left:30px;top:-8px}.find-similar-content_eqMD5 .column2_I0VEE{grid-template-columns:20% auto}.find-similar-content_eqMD5 .column4_Ssi60{grid-template-columns:20% 20% 40% 20%}.find-similar-content_eqMD5 .column3_d-RaB{grid-template-columns:20% 20% 40% auto}.footer_8y92P{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:end;-webkit-justify-content:end;-moz-box-pack:end;justify-content:end}");wet=wet.join("");Wco.exports={uuid:"25cee655-310e-4c32-952b-dceb5f8cf4ae",locals:{"find-similar-content":"find-similar-content_eqMD5",border:"border_17Tv9",ranges:"ranges_0cAdv",row:"row_fb1z6",title:"title_0A9sI","ellipsis-help":"ellipsis-help_hyu9C",conditions:"conditions_hw8q0","group-attr":"group-attr_p6Saw","para-attr":"para-attr_68pfn","reuse-block-attr":"reuse-block-attr_8A-wQ",column2:"column2_I0VEE",column4:"column4_Ssi60",column3:"column3_d-RaB",footer:"footer_8y92P"},toString(){return wet}}});var wdo=xe((Mqc,ydo)=>{var Met=[];Met.push(".container_JO7Oz{border:1px solid var(--common-border-color);padding:16px}.container_JO7Oz .section_v6aJ6{margin-bottom:16px}.container_JO7Oz .section_v6aJ6,.container_JO7Oz .section_v6aJ6 .line-title_g5Vna{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.container_JO7Oz .section_v6aJ6 .line-title_g5Vna{line-height:24px;-webkit-box-flex:0;-webkit-flex:0 0 140px;-moz-box-flex:0;flex:0 0 140px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-webkit-align-content:center;align-content:center;flex-direction:row;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.container_JO7Oz .section_v6aJ6 .line-title_g5Vna .title_T-u3f{cursor:pointer;text-align:center;width:60px}.container_JO7Oz .section_v6aJ6 .line-content_mna2r{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.container_JO7Oz .section_v6aJ6 .line-content_mna2r .line-input_lP3BZ{height:24px;width:140px}");Met=Met.join("");ydo.exports={uuid:"869461bf-c1cc-4618-85d6-87750ae35dd0",locals:{container:"container_JO7Oz",section:"section_v6aJ6","line-title":"line-title_g5Vna",title:"title_T-u3f","line-content":"line-content_mna2r","line-input":"line-input_lP3BZ"},toString(){return Met}}});var x$=xe((n$c,Ldo)=>{var Det=[];Det.push(".container_Ld8-b{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-calc(100% - 44px);height:-moz-calc(100% - 44px);height:calc(100% - 44px);width:100%}.container_Ld8-b .r_left_xwzBX{-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden;padding-right:8px;width:55%}.container_Ld8-b .r_left_xwzBX .r-symbol-grid_HVjed{border:1px solid var(--border-color-panel-divider);-moz-box-sizing:border-box;box-sizing:border-box;height:-webkit-calc(49% - 27px);height:-moz-calc(49% - 27px);height:calc(49% - 27px);margin-bottom:8px;margin-top:6px;width:100%}.container_Ld8-b .r_left_xwzBX .r-l-b_Ob1TE{font-size:12px;height:50%;overflow:auto;padding-top:20px}.container_Ld8-b .r_left_xwzBX .r-l-b_Ob1TE .line_D7dIV{display:table}.container_Ld8-b .r_left_xwzBX .r-l-b_Ob1TE .line_D7dIV label{cursor:pointer;display:inline-block;margin-bottom:28px;margin-right:10px;position:relative}.container_Ld8-b .r_left_xwzBX .r-l-b_Ob1TE .line_D7dIV .title_GzPYo{display:table-cell;font-size:12px;vertical-align:top;width:100px}.container_Ld8-b .r_left_xwzBX .r-l-b_Ob1TE .line_D7dIV .desc_MEqXZ{display:inline-block;position:relative}.container_Ld8-b .r_center_4yyGm{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding-right:8px;width:25%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.container_Ld8-b .r_center_4yyGm,.container_Ld8-b .r_center_4yyGm .box_k-TLS{-moz-box-sizing:border-box;box-sizing:border-box}.container_Ld8-b .r_center_4yyGm .box_k-TLS{border:1px solid var(--border-color-panel-divider);height:-webkit-calc(50% - 4px);height:-moz-calc(50% - 4px);height:calc(50% - 4px);padding:3px}.container_Ld8-b .r_center_4yyGm .box_k-TLS.current-device_Gyufm{margin-bottom:8px}.container_Ld8-b .r_center_4yyGm .box_k-TLS .btn-group_iPKnT .txt_89OFw{line-height:24px}.container_Ld8-b .r_center_4yyGm .box_k-TLS .btn-group_iPKnT i{border:1px solid var(--border-color-panel-divider);-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;font-style:normal;height:24px;margin-right:3px;padding:5px 0;text-align:center;width:24px}.container_Ld8-b .r_center_4yyGm .box_k-TLS .btn-group_iPKnT i.active_NqIrV{background:var(--bg-color-active-leftTreeSearch);color:var(--font-color-selected-tree)}.container_Ld8-b .r_right_ryTkc{border:1px solid var(--border-color-panel-divider);-moz-box-sizing:border-box;box-sizing:border-box;height:100%;overflow:hidden;width:20%}.footer_V1jDd{height:44px;width:100%}.footer_V1jDd .footer-container_-VznK{-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:end;-webkit-align-items:flex-end;-moz-box-align:end;align-items:flex-end;height:100%}.footer_V1jDd .footer-container_-VznK,.previewViewBox_EF407{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%}.previewViewBox_EF407{height:-webkit-calc(100% - 52px);height:-moz-calc(100% - 52px);height:calc(100% - 52px);-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-top:5px}.previewViewBox_EF407 .footprintPreviewBox_m2FXC,.previewViewBox_EF407 .imagePreviewBox_KW0tL,.previewViewBox_EF407 .previewBox-3d_OPI-9,.previewViewBox_EF407 .symbolPreviewBox_aW7qK{-moz-box-sizing:border-box;box-sizing:border-box;padding:1px}.previewViewBox_EF407 .symbolPreviewBox-selectOption_hZbsw{height:22px;left:0;position:absolute;top:205%;width:202%}.multipart-select_3zBW8{height:22px;margin-top:2px;width:100%}");Det=Det.join("");Ldo.exports={uuid:"18b5b994-f531-49c7-9970-da08de321298",locals:{container:"container_Ld8-b",r_left:"r_left_xwzBX","r-symbol-grid":"r-symbol-grid_HVjed","r-l-b":"r-l-b_Ob1TE",line:"line_D7dIV",title:"title_GzPYo",desc:"desc_MEqXZ",r_center:"r_center_4yyGm",box:"box_k-TLS","current-device":"current-device_Gyufm","btn-group":"btn-group_iPKnT",txt:"txt_89OFw",active:"active_NqIrV",r_right:"r_right_ryTkc",footer:"footer_V1jDd","footer-container":"footer-container_-VznK",previewViewBox:"previewViewBox_EF407",footprintPreviewBox:"footprintPreviewBox_m2FXC",imagePreviewBox:"imagePreviewBox_KW0tL","previewBox-3d":"previewBox-3d_OPI-9",symbolPreviewBox:"symbolPreviewBox_aW7qK","symbolPreviewBox-selectOption":"symbolPreviewBox-selectOption_hZbsw","multipart-select":"multipart-select_3zBW8"},toString(){return Det}}});var Zdo=xe((Ztd,Kdo)=>{var _et=[];_et.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_ktR9y{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_kgCHc{background-color:#efefef}.comm-btn-confirm_hZX74{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_hZX74:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_YxLDN{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_YxLDN:hover{border:1px solid #40a9ff!important}.opacity-none_0hs0D,.pointer-events-none_J-rMR{cursor:default;pointer-events:none!important}.opacity-none_0hs0D{opacity:0}.attr-prohibit_XPYMM,.display-block_e2mW-{display:block}.display-none_6tdcT{display:none!important}.display-flex_hvavQ{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_h2FC4{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_pj4SF{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_GMJNm{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_Fc040{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_Gh2-y{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_V8pXQ{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_ALoxf{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_Ud0-x{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_Lvpe7{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_v7XNn{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_afJSc{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_mzHj-{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_3ZB7e{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_LQrRU{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_I80cn{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_e5XHu{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_kBy5c{color:#000!important}.color-white-important_urQL-{color:#fff!important}.bgcolor-red-important_poF9Z{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-content-wrapper_6EnMS{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-content-wrapper_6EnMS>div{overflow:auto;width:100%}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-content-wrapper_6EnMS .comm-btn-operate-link_dnpwH{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-content-wrapper_6EnMS .comm-btn-height_Sh53e{height:22px}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-content-wrapper_6EnMS .comm-btn-text_l977I{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-content-wrapper_6EnMS .margin-btn_HGgqd{margin-bottom:16px}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-content-wrapper_6EnMS .margin-top_EQd1L{margin-top:16px}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-content-wrapper_6EnMS input.dialog-input_Ibz1l{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-content-wrapper_6EnMS input.dialog-input_Ibz1l:not([disabled]){color:var(--font-color-input)}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-content-wrapper_6EnMS select.dialog-input_Ibz1l{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-content-wrapper_6EnMS select.dialog-input_Ibz1l:not([disabled]){color:var(--font-color-input)}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-content-wrapper_6EnMS textarea.dialog-input_Ibz1l{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-content-wrapper_6EnMS .device-property-key_f7Q-J{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-content-wrapper_6EnMS .attrs-select-wrap_7DLES{padding-left:8px}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-footer-wrapper_XL-kK{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-footer-wrapper_XL-kK .comm-btn_VNppT{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-footer-wrapper_XL-kK .comm-btn_VNppT:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-footer-wrapper_XL-kK .comm-btn_VNppT.comm-btn-default_DZUsK{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-footer-wrapper_XL-kK .comm-btn_VNppT.comm-btn-default_DZUsK:hover{border-color:#1890ff}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-footer-wrapper_XL-kK .comm-btn_VNppT .l-btn-left_zkPIW{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-footer-wrapper_XL-kK .comm-btn-left_8qz-5{left:28px;position:absolute}.pop-content-container_q-6cx:not(.oneLineOneInputDlg_9MNiA) .pop-footer-wrapper_XL-kK .grid-export_KJFfN .comm-btn_VNppT:last-child{margin-left:8px}.pop-content-container_q-6cx *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_q-6cx label{position:relative}.pop-content-wrapper_6EnMS a.route-link_pO0kR,.pop-content-wrapper_6EnMS a.route-link_pO0kR:active,.pop-content-wrapper_6EnMS a.route-link_pO0kR:visited{color:#00e}div[user-resizable] .window-body_Y7aWk>.panel_bwUX3,div[user-resizable] .window-header_or-tu{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_Y7aWk>.panel_bwUX3{height:100%!important}div[user-resizable] .window-body_Y7aWk .dialog-content_89YvU{height:100%!important;width:100%!important}.form-item_pnAOv{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:4px 0;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.form-label_YsmGh{margin-left:8px;max-width:110px;min-width:80px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.dialog-button_fUGoL{height:28px;margin-top:16px;overflow:hidden;text-align:right}.container-styles_uBVqh{border:1px solid var(--common-border-color-1);font-size:12px;padding:16px}");_et=_et.join("");Kdo.exports={uuid:"88428a94-1f9b-43f1-9a96-ede844304eef",locals:{"comm-icon-add":"comm-icon-add_ktR9y","comm-background-color-efefef":"comm-background-color-efefef_kgCHc","comm-btn-confirm":"comm-btn-confirm_hZX74","comm-btn-cancel":"comm-btn-cancel_YxLDN","opacity-none":"opacity-none_0hs0D","pointer-events-none":"pointer-events-none_J-rMR","attr-prohibit":"attr-prohibit_XPYMM","display-block":"display-block_e2mW-","display-none":"display-none_6tdcT","display-flex":"display-flex_hvavQ","display-inline-flex":"display-inline-flex_h2FC4","flex-lateral-axis-center":"flex-lateral-axis-center_pj4SF","flex-lateral-axis-start":"flex-lateral-axis-start_GMJNm","flex-lateral-axis-end":"flex-lateral-axis-end_Fc040","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_Gh2-y","flex-main-axis-center":"flex-main-axis-center_V8pXQ","flex-main-axis-start":"flex-main-axis-start_ALoxf","flex-main-axis-end":"flex-main-axis-end_Ud0-x","flex-main-axis-around":"flex-main-axis-around_Lvpe7","flex-main-axis-between":"flex-main-axis-between_v7XNn","flex-nowrap":"flex-nowrap_afJSc","flex-wrap":"flex-wrap_mzHj-","flex-direct-row":"flex-direct-row_3ZB7e","flex-direct-rerow":"flex-direct-rerow_LQrRU","flex-direct-column":"flex-direct-column_I80cn","flex-direct-recolumn":"flex-direct-recolumn_e5XHu","color-black-important":"color-black-important_kBy5c","color-white-important":"color-white-important_urQL-","bgcolor-red-important":"bgcolor-red-important_poF9Z","pop-content-container":"pop-content-container_q-6cx",oneLineOneInputDlg:"oneLineOneInputDlg_9MNiA","pop-content-wrapper":"pop-content-wrapper_6EnMS","comm-btn-operate-link":"comm-btn-operate-link_dnpwH","comm-btn-height":"comm-btn-height_Sh53e","comm-btn-text":"comm-btn-text_l977I","margin-btn":"margin-btn_HGgqd","margin-top":"margin-top_EQd1L","dialog-input":"dialog-input_Ibz1l","device-property-key":"device-property-key_f7Q-J","attrs-select-wrap":"attrs-select-wrap_7DLES","pop-footer-wrapper":"pop-footer-wrapper_XL-kK","comm-btn":"comm-btn_VNppT","comm-btn-default":"comm-btn-default_DZUsK","l-btn-left":"l-btn-left_zkPIW","comm-btn-left":"comm-btn-left_8qz-5","grid-export":"grid-export_KJFfN","route-link":"route-link_pO0kR","window-body":"window-body_Y7aWk",panel:"panel_bwUX3","window-header":"window-header_or-tu","dialog-content":"dialog-content_89YvU","form-item":"form-item_pnAOv","form-label":"form-label_YsmGh","dialog-button":"dialog-button_fUGoL","container-styles":"container-styles_uBVqh"},toString(){return _et}}});var $do=xe((bid,Xdo)=>{var jet=[];jet.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_zhm-v{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_eScCH{background-color:#efefef}.comm-btn-confirm_qwvpw{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_qwvpw:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_Fz34z{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_Fz34z:hover{border:1px solid #40a9ff!important}.opacity-none_-9Xlt,.pointer-events-none_u7I9o{cursor:default;pointer-events:none!important}.opacity-none_-9Xlt{opacity:0}.attr-prohibit_aqvMQ,.display-block_2hGUH{display:block}.display-none_LEuW8{display:none!important}.display-flex_o9Q29{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_WbzIS{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_QSklF{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_gt5wE{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_GIBpF{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_3otnT{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_JpBWk{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_f7FZ9{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_7B1dc{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_mEFOI{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_lB84i{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_nmIRv{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_JukgW{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_J9MiO{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_GPfhI{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_XbAwe{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_nHpN3{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_b2ISM{color:#000!important}.color-white-important_-ewIy{color:#fff!important}.bgcolor-red-important_yIQtp{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-content-wrapper_UntQv{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-content-wrapper_UntQv>div{overflow:auto;width:100%}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-content-wrapper_UntQv .comm-btn-operate-link_Aa-yP{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-content-wrapper_UntQv .comm-btn-height_69lQv{height:22px}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-content-wrapper_UntQv .comm-btn-text_kNTGA{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-content-wrapper_UntQv .margin-btn_jk2cC{margin-bottom:16px}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-content-wrapper_UntQv .margin-top_vujdB{margin-top:16px}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-content-wrapper_UntQv input.dialog-input_BatBD{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-content-wrapper_UntQv input.dialog-input_BatBD:not([disabled]){color:var(--font-color-input)}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-content-wrapper_UntQv select.dialog-input_BatBD{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-content-wrapper_UntQv select.dialog-input_BatBD:not([disabled]){color:var(--font-color-input)}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-content-wrapper_UntQv textarea.dialog-input_BatBD{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-content-wrapper_UntQv .device-property-key_YjDW6{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-content-wrapper_UntQv .attrs-select-wrap_qSkL0{padding-left:8px}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-footer-wrapper_IuUYh{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-footer-wrapper_IuUYh .comm-btn_9Qc3I{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-footer-wrapper_IuUYh .comm-btn_9Qc3I:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-footer-wrapper_IuUYh .comm-btn_9Qc3I.comm-btn-default_3aYps{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-footer-wrapper_IuUYh .comm-btn_9Qc3I.comm-btn-default_3aYps:hover{border-color:#1890ff}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-footer-wrapper_IuUYh .comm-btn_9Qc3I .l-btn-left_yZczF{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-footer-wrapper_IuUYh .comm-btn-left_5Y95s{left:28px;position:absolute}.pop-content-container_cFJqV:not(.oneLineOneInputDlg_kjCpa) .pop-footer-wrapper_IuUYh .grid-export_7ifwa .comm-btn_9Qc3I:last-child{margin-left:8px}.pop-content-container_cFJqV *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_cFJqV label{position:relative}.pop-content-wrapper_UntQv a.route-link_6lcmm,.pop-content-wrapper_UntQv a.route-link_6lcmm:active,.pop-content-wrapper_UntQv a.route-link_6lcmm:visited{color:#00e}div[user-resizable] .window-body_pb8rb>.panel_JNwsX,div[user-resizable] .window-header_DKkib{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_pb8rb>.panel_JNwsX{height:100%!important}div[user-resizable] .window-body_pb8rb .dialog-content_AcoIb{height:100%!important;width:100%!important}.oneLineOneInputDlg_kjCpa .line_PlU1Y{margin:15px}.oneLineOneInputDlg_kjCpa .line_PlU1Y,.oneLineOneInputDlg_kjCpa .txt_title_FugJF{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.oneLineOneInputDlg_kjCpa .txt_title_FugJF{margin-right:10px;min-width:60px;text-align:left;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.oneLineOneInputDlg_kjCpa .dialog-button_X0-zw{border-top:none}.oneLineOneInputDlg_kjCpa .box_zM6Xn{background:#fff;border:1px solid #e3e3e3}.dialog-button_X0-zw{height:28px;margin-top:16px;overflow:hidden;text-align:right}.panel_JNwsX{font-size:12px;overflow:hidden}.panel_JNwsX.window_ALBVu{border-radius:2px;overflow:visible;overflow:initial}.panel-header_B5k5r{background:#f1f1f1;border-bottom:none;font-family:Microsoft YaHei;font-size:12px;line-height:16px;padding:8px 16px;position:relative}.panel-header-noborder_2q-E8{border-width:0}.panel-body_RlyLQ{border-top-width:0;overflow-x:hidden;overflow-y:auto}.hasborder_tpQgI .panel-body_RlyLQ.dialog-content_AcoIb{border:1px solid var(--common-border-color)}.hasborder_tpQgI .dialog-content_AcoIb.panel-body_RlyLQ{-moz-box-sizing:border-box;box-sizing:border-box;padding:9px 16px}.single-message_wnfrX{margin-left:0!important;margin-right:0!important;margin-top:16px!important;padding-bottom:50px!important}.window_ALBVu .panel-body_RlyLQ.window-body_pb8rb{background:#fff;-moz-box-sizing:border-box;box-sizing:border-box;padding:16px}");jet=jet.join("");Xdo.exports={uuid:"e74bd700-36d7-46d7-8b43-0eecb41dc086",locals:{"comm-icon-add":"comm-icon-add_zhm-v","comm-background-color-efefef":"comm-background-color-efefef_eScCH","comm-btn-confirm":"comm-btn-confirm_qwvpw","comm-btn-cancel":"comm-btn-cancel_Fz34z","opacity-none":"opacity-none_-9Xlt","pointer-events-none":"pointer-events-none_u7I9o","attr-prohibit":"attr-prohibit_aqvMQ","display-block":"display-block_2hGUH","display-none":"display-none_LEuW8","display-flex":"display-flex_o9Q29","display-inline-flex":"display-inline-flex_WbzIS","flex-lateral-axis-center":"flex-lateral-axis-center_QSklF","flex-lateral-axis-start":"flex-lateral-axis-start_gt5wE","flex-lateral-axis-end":"flex-lateral-axis-end_GIBpF","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_3otnT","flex-main-axis-center":"flex-main-axis-center_JpBWk","flex-main-axis-start":"flex-main-axis-start_f7FZ9","flex-main-axis-end":"flex-main-axis-end_7B1dc","flex-main-axis-around":"flex-main-axis-around_mEFOI","flex-main-axis-between":"flex-main-axis-between_lB84i","flex-nowrap":"flex-nowrap_nmIRv","flex-wrap":"flex-wrap_JukgW","flex-direct-row":"flex-direct-row_J9MiO","flex-direct-rerow":"flex-direct-rerow_GPfhI","flex-direct-column":"flex-direct-column_XbAwe","flex-direct-recolumn":"flex-direct-recolumn_nHpN3","color-black-important":"color-black-important_b2ISM","color-white-important":"color-white-important_-ewIy","bgcolor-red-important":"bgcolor-red-important_yIQtp","pop-content-container":"pop-content-container_cFJqV",oneLineOneInputDlg:"oneLineOneInputDlg_kjCpa","pop-content-wrapper":"pop-content-wrapper_UntQv","comm-btn-operate-link":"comm-btn-operate-link_Aa-yP","comm-btn-height":"comm-btn-height_69lQv","comm-btn-text":"comm-btn-text_kNTGA","margin-btn":"margin-btn_jk2cC","margin-top":"margin-top_vujdB","dialog-input":"dialog-input_BatBD","device-property-key":"device-property-key_YjDW6","attrs-select-wrap":"attrs-select-wrap_qSkL0","pop-footer-wrapper":"pop-footer-wrapper_IuUYh","comm-btn":"comm-btn_9Qc3I","comm-btn-default":"comm-btn-default_3aYps","l-btn-left":"l-btn-left_yZczF","comm-btn-left":"comm-btn-left_5Y95s","grid-export":"grid-export_7ifwa","route-link":"route-link_6lcmm","window-body":"window-body_pb8rb",panel:"panel_JNwsX","window-header":"window-header_DKkib","dialog-content":"dialog-content_AcoIb",line:"line_PlU1Y",txt_title:"txt_title_FugJF","dialog-button":"dialog-button_X0-zw",box:"box_zM6Xn",window:"window_ALBVu","panel-header":"panel-header_B5k5r","panel-header-noborder":"panel-header-noborder_2q-E8","panel-body":"panel-body_RlyLQ",hasborder:"hasborder_tpQgI","single-message":"single-message_wnfrX"},toString(){return jet}}});var ouo=xe((_id,iuo)=>{var Bet=[];Bet.push(".dialog_wrap_FEpYI{border:1px solid var(--common-border-color);padding:16px}.dialog_wrap_FEpYI .cell_l9wGa{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-bottom:12px}.dialog_wrap_FEpYI .cell_l9wGa .column_left_Dei3a{-webkit-box-flex:0;-webkit-flex:0 0 16%;-moz-box-flex:0;flex:0 0 16%}.dialog_wrap_FEpYI .cell_l9wGa .column_right_3nChm{-webkit-box-flex:0;-webkit-flex:0 0 75%;-moz-box-flex:0;flex:0 0 75%}.dialog_wrap_FEpYI .cell_l9wGa .item_Z7yCM{margin-right:10px;width:195px}.footer_xTMV6{margin-top:16px}.footer_xTMV6,.footer_xTMV6 .footer_right_r6Eow{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.footer_xTMV6 .footer_right_r6Eow{width:200px}");Bet=Bet.join("");iuo.exports={uuid:"bd7ed999-c96a-4987-898c-03ba5c0941e0",locals:{dialog_wrap:"dialog_wrap_FEpYI",cell:"cell_l9wGa",column_left:"column_left_Dei3a",column_right:"column_right_3nChm",item:"item_Z7yCM",footer:"footer_xTMV6",footer_right:"footer_right_r6Eow"},toString(){return Bet}}});var luo=xe((Tod,suo)=>{var zet=[];zet.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_AgxHF{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_M7m1A{background-color:#efefef}.comm-btn-confirm_1WANM{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_1WANM:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_phIPb{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_phIPb:hover{border:1px solid #40a9ff!important}.opacity-none_20FaI,.pointer-events-none_kv3wC{cursor:default;pointer-events:none!important}.opacity-none_20FaI{opacity:0}.attr-prohibit_IuN2t,.display-block_GbJ6S{display:block}.display-none_UeTV6{display:none!important}.display-flex_PyPi3{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_LdXh3{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_W3zW2{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_29TQl{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_pWGly{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_abPSS{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_i8OAk{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_kTIS5{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_u0A83{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_uIn3C{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_YVkWv{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_vY7JA{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_F18Yy{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_mBDBL{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_1XM1z{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_BzYdk{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_Z6Waz{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_cgO2H{color:#000!important}.color-white-important_OKE8j{color:#fff!important}.bgcolor-red-important_i7GkZ{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-content-wrapper_bLr59{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-content-wrapper_bLr59>div{overflow:auto;width:100%}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-content-wrapper_bLr59 .comm-btn-operate-link_VHARI{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-content-wrapper_bLr59 .comm-btn-height_-5zHr{height:22px}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-content-wrapper_bLr59 .comm-btn-text_7qmt-{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-content-wrapper_bLr59 .margin-btn_6cp-u{margin-bottom:16px}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-content-wrapper_bLr59 .margin-top_3qf1w{margin-top:16px}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-content-wrapper_bLr59 input.dialog-input_AxgTM{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-content-wrapper_bLr59 input.dialog-input_AxgTM:not([disabled]){color:var(--font-color-input)}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-content-wrapper_bLr59 select.dialog-input_AxgTM{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-content-wrapper_bLr59 select.dialog-input_AxgTM:not([disabled]){color:var(--font-color-input)}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-content-wrapper_bLr59 textarea.dialog-input_AxgTM{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-content-wrapper_bLr59 .device-property-key_wBUgK{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-content-wrapper_bLr59 .attrs-select-wrap_-5Pnk{padding-left:8px}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-footer-wrapper_i-aiz{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-footer-wrapper_i-aiz .comm-btn_RF05t{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-footer-wrapper_i-aiz .comm-btn_RF05t:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-footer-wrapper_i-aiz .comm-btn_RF05t.comm-btn-default_yX4LE{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-footer-wrapper_i-aiz .comm-btn_RF05t.comm-btn-default_yX4LE:hover{border-color:#1890ff}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-footer-wrapper_i-aiz .comm-btn_RF05t .l-btn-left_ay1Va{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-footer-wrapper_i-aiz .comm-btn-left_0G18y{left:28px;position:absolute}.pop-content-container_yFj5r:not(.oneLineOneInputDlg_pFF7a) .pop-footer-wrapper_i-aiz .grid-export_3CLhu .comm-btn_RF05t:last-child{margin-left:8px}.pop-content-container_yFj5r *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_yFj5r label{position:relative}.pop-content-wrapper_bLr59 a.route-link_j-oke,.pop-content-wrapper_bLr59 a.route-link_j-oke:active,.pop-content-wrapper_bLr59 a.route-link_j-oke:visited{color:#00e}div[user-resizable] .window-body_fXNpx>.panel_cHWs-,div[user-resizable] .window-header_5lshg{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_fXNpx>.panel_cHWs-{height:100%!important}div[user-resizable] .window-body_fXNpx .dialog-content_COnlm{height:100%!important;width:100%!important}.export3DShellFile_fp-0w .container_-8rd2{border:1px solid var(--common-border-color-1);margin-bottom:16px;width:100%}.export3DShellFile_fp-0w .export3DFileRow_ZZ-yN{margin-bottom:16px}.export3DShellFile_fp-0w .export3DFileRow_ZZ-yN input{height:24px;line-height:24px}.export3DShellFile_fp-0w .export3DFileRow_ZZ-yN:first-child{margin-top:16px}.export3DShellFile_fp-0w .leftLable_-kWtc,.export3DShellFile_fp-0w .rightContent_a6GYW{display:inline-block}.export3DShellFile_fp-0w .leftLable_-kWtc{margin-right:8px;max-width:110px;overflow:hidden;padding-left:16px;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100px}.export3DShellFile_fp-0w .rightContent_a6GYW{width:75%}.export3DShellFile_fp-0w .fileNameInput_1-li2{width:80%}.export3DShellFile_fp-0w .radioLabel_D11CZ{margin-right:16px}.export3DShellFile_fp-0w .tip_kLK9x{margin-bottom:8px}");zet=zet.join("");suo.exports={uuid:"ea9fe9b7-189d-441e-a597-13049ad24a15",locals:{"comm-icon-add":"comm-icon-add_AgxHF","comm-background-color-efefef":"comm-background-color-efefef_M7m1A","comm-btn-confirm":"comm-btn-confirm_1WANM","comm-btn-cancel":"comm-btn-cancel_phIPb","opacity-none":"opacity-none_20FaI","pointer-events-none":"pointer-events-none_kv3wC","attr-prohibit":"attr-prohibit_IuN2t","display-block":"display-block_GbJ6S","display-none":"display-none_UeTV6","display-flex":"display-flex_PyPi3","display-inline-flex":"display-inline-flex_LdXh3","flex-lateral-axis-center":"flex-lateral-axis-center_W3zW2","flex-lateral-axis-start":"flex-lateral-axis-start_29TQl","flex-lateral-axis-end":"flex-lateral-axis-end_pWGly","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_abPSS","flex-main-axis-center":"flex-main-axis-center_i8OAk","flex-main-axis-start":"flex-main-axis-start_kTIS5","flex-main-axis-end":"flex-main-axis-end_u0A83","flex-main-axis-around":"flex-main-axis-around_uIn3C","flex-main-axis-between":"flex-main-axis-between_YVkWv","flex-nowrap":"flex-nowrap_vY7JA","flex-wrap":"flex-wrap_F18Yy","flex-direct-row":"flex-direct-row_mBDBL","flex-direct-rerow":"flex-direct-rerow_1XM1z","flex-direct-column":"flex-direct-column_BzYdk","flex-direct-recolumn":"flex-direct-recolumn_Z6Waz","color-black-important":"color-black-important_cgO2H","color-white-important":"color-white-important_OKE8j","bgcolor-red-important":"bgcolor-red-important_i7GkZ","pop-content-container":"pop-content-container_yFj5r",oneLineOneInputDlg:"oneLineOneInputDlg_pFF7a","pop-content-wrapper":"pop-content-wrapper_bLr59","comm-btn-operate-link":"comm-btn-operate-link_VHARI","comm-btn-height":"comm-btn-height_-5zHr","comm-btn-text":"comm-btn-text_7qmt-","margin-btn":"margin-btn_6cp-u","margin-top":"margin-top_3qf1w","dialog-input":"dialog-input_AxgTM","device-property-key":"device-property-key_wBUgK","attrs-select-wrap":"attrs-select-wrap_-5Pnk","pop-footer-wrapper":"pop-footer-wrapper_i-aiz","comm-btn":"comm-btn_RF05t","comm-btn-default":"comm-btn-default_yX4LE","l-btn-left":"l-btn-left_ay1Va","comm-btn-left":"comm-btn-left_0G18y","grid-export":"grid-export_3CLhu","route-link":"route-link_j-oke","window-body":"window-body_fXNpx",panel:"panel_cHWs-","window-header":"window-header_5lshg","dialog-content":"dialog-content_COnlm",export3DShellFile:"export3DShellFile_fp-0w",container:"container_-8rd2",export3DFileRow:"export3DFileRow_ZZ-yN",leftLable:"leftLable_-kWtc",rightContent:"rightContent_a6GYW",fileNameInput:"fileNameInput_1-li2",radioLabel:"radioLabel_D11CZ",tip:"tip_kLK9x"},toString(){return zet}}});var puo=xe((Kod,uuo)=>{var M$=[];M$.push(".messager-warning_sVgDy{background-image:");M$.push("url(");M$.push(JSON.stringify(d9()));M$.push(")");M$.push(";-webkit-filter:invert(63%) sepia(81%) saturate(2292%) hue-rotate(14deg) brightness(113%) contrast(103%);filter:invert(63%) sepia(81%) saturate(2292%) hue-rotate(14deg) brightness(113%) contrast(103%)}.wrap_b4RaU{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;height:100%;justify-content:space-between}.wrap_b4RaU .footer_unfgt{text-align:right}.messager-icon_5gsLE{background-position:top;background-repeat:no-repeat;background-size:auto 100%;display:inline-block;height:20px;width:20px}.content_fWiZT{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.messager-text_C7aDb{line-height:20px;margin-left:4px}");M$=M$.join("");uuo.exports={uuid:"c6b89a14-4f6a-425e-8173-9a590bd68aa7",locals:{"messager-warning":"messager-warning_sVgDy",wrap:"wrap_b4RaU",footer:"footer_unfgt","messager-icon":"messager-icon_5gsLE",content:"content_fWiZT","messager-text":"messager-text_C7aDb"},toString(){return M$}}});var guo=xe((frd,fuo)=>{var Fet=[];Fet.push(".container_rNCrc{border:1px solid var(--border-color-panel-divider);-moz-box-sizing:border-box;box-sizing:border-box;height:146px;padding:16px;width:100%}.container_rNCrc .property_53GEO,.container_rNCrc .range_Lq2Zy{margin-bottom:16px}.container_rNCrc .location_scqBb,.container_rNCrc .property_53GEO,.container_rNCrc .range_Lq2Zy{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_rNCrc .leftEl_Da8Ms{max-width:110px;min-width:80px;overflow:hidden;padding-left:16px;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:10%}.container_rNCrc .rightEl_1b7An{width:80%}");Fet=Fet.join("");fuo.exports={uuid:"5952d7c0-22ec-4861-9e76-b7f4f43343a6",locals:{container:"container_rNCrc",property:"property_53GEO",range:"range_Lq2Zy",location:"location_scqBb",leftEl:"leftEl_Da8Ms",rightEl:"rightEl_1b7An"},toString(){return Fet}}});var xuo=xe((Frd,Cuo)=>{var Vet=[];Vet.push(".header_ezOLO{margin-bottom:8px}.content_3zFEp{border:1px solid var(--common-border-color-1);padding:0 0 0 16px}.content_3zFEp .row_Pj05S{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:16px 0}.content_3zFEp .row_Pj05S .left-label_Du4jL{margin-right:8px;max-width:110px;min-width:80px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.content_3zFEp .row_Pj05S .checkbox-item_VV40b,.content_3zFEp .row_Pj05S .radio-item_xB-lN{margin-right:16px}.footer_Q77fV{margin-top:20px;text-align:right}");Vet=Vet.join("");Cuo.exports={uuid:"5af8f2be-ca43-4047-bdcc-7fea7475881d",locals:{header:"header_ezOLO",content:"content_3zFEp",row:"row_Pj05S","left-label":"left-label_Du4jL","checkbox-item":"checkbox-item_VV40b","radio-item":"radio-item_xB-lN",footer:"footer_Q77fV"},toString(){return Vet}}});var Muo=xe((Vrd,Suo)=>{var Get=[];Get.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_jeSZA{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_dXTQb{background-color:#efefef}.comm-btn-confirm_ulDXF{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_ulDXF:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_ZAqW6{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_ZAqW6:hover{border:1px solid #40a9ff!important}.opacity-none_sKwK0,.pointer-events-none_fsLHe{cursor:default;pointer-events:none!important}.opacity-none_sKwK0{opacity:0}.attr-prohibit_woSre,.display-block_qXCcc{display:block}.display-none_6gAuy{display:none!important}.display-flex_j3WCm{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_xYrSr{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_Km4l8{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_Aotrg{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_JpzEF{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_uq1AJ{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_6Z5V8{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_X9eBs{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_rLtSd{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_ca-PT{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_Wms2B{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_Hj2X3{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_ZUUcr{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_bPKiN{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_LD4lT{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_ieTFN{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_mh9-k{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_zFSRH{color:#000!important}.color-white-important_qgSeQ{color:#fff!important}.bgcolor-red-important_-Y2A-{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-content-wrapper_9cz5u{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-content-wrapper_9cz5u>div{overflow:auto;width:100%}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-content-wrapper_9cz5u .comm-btn-operate-link_3BUl2{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-content-wrapper_9cz5u .comm-btn-height_giROZ{height:22px}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-content-wrapper_9cz5u .comm-btn-text_-R3T6{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-content-wrapper_9cz5u .margin-btn_Z0fQQ{margin-bottom:16px}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-content-wrapper_9cz5u .margin-top_Xn5bq{margin-top:16px}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-content-wrapper_9cz5u input.dialog-input_n45Fj{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-content-wrapper_9cz5u input.dialog-input_n45Fj:not([disabled]){color:var(--font-color-input)}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-content-wrapper_9cz5u select.dialog-input_n45Fj{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-content-wrapper_9cz5u select.dialog-input_n45Fj:not([disabled]){color:var(--font-color-input)}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-content-wrapper_9cz5u textarea.dialog-input_n45Fj{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-content-wrapper_9cz5u .device-property-key_dMHT6{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-content-wrapper_9cz5u .attrs-select-wrap_p6n-o{padding-left:8px}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-footer-wrapper_4kPiH{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-footer-wrapper_4kPiH .comm-btn_OyNIW{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-footer-wrapper_4kPiH .comm-btn_OyNIW:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-footer-wrapper_4kPiH .comm-btn_OyNIW.comm-btn-default_W-Qj4{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-footer-wrapper_4kPiH .comm-btn_OyNIW.comm-btn-default_W-Qj4:hover{border-color:#1890ff}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-footer-wrapper_4kPiH .comm-btn_OyNIW .l-btn-left_QRHge{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-footer-wrapper_4kPiH .comm-btn-left_X3H5f{left:28px;position:absolute}.pop-content-container_-2pyI:not(.oneLineOneInputDlg_NBkzM) .pop-footer-wrapper_4kPiH .grid-export_d6nvC .comm-btn_OyNIW:last-child{margin-left:8px}.pop-content-container_-2pyI *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_-2pyI label{position:relative}.pop-content-wrapper_9cz5u a.route-link_heuRK,.pop-content-wrapper_9cz5u a.route-link_heuRK:active,.pop-content-wrapper_9cz5u a.route-link_heuRK:visited{color:#00e}div[user-resizable] .window-body_AKBny>.panel_gpHgc,div[user-resizable] .window-header_7j-tH{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_AKBny>.panel_gpHgc{height:100%!important}div[user-resizable] .window-body_AKBny .dialog-content_n9CgE{height:100%!important;width:100%!important}.icon-eda-x-circle_yPRlD.clear-input-circle_mEGBm{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.d3-model-exception-dialog_ie5zL .container_JQFt9{width:628px}.d3-model-exception-dialog_ie5zL .tips_FObRv{height:40px;line-height:20px}.d3-model-exception-dialog_ie5zL .filter-wrap_GqNe3{margin-bottom:4px}.d3-model-exception-dialog_ie5zL .table-wrap_PX7x3{height:184px;margin-bottom:16px;width:100%}.d3-model-exception-dialog_ie5zL .link_0ptKy{color:#39f;cursor:pointer;display:inline-block;max-width:30rem;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.d3-model-exception-dialog_ie5zL .link_0ptKy.clicked_ju1jK{color:purple;text-decoration:underline;text-decoration:purple underline}.d3-model-exception-dialog_ie5zL .link_0ptKy:hover{color:#096dd9;text-decoration:underline;text-decoration:#096dd9 underline}");Get=Get.join("");Suo.exports={uuid:"e40a53e4-f9e8-41eb-906b-06e8e83c2a5a",locals:{"comm-icon-add":"comm-icon-add_jeSZA","comm-background-color-efefef":"comm-background-color-efefef_dXTQb","comm-btn-confirm":"comm-btn-confirm_ulDXF","comm-btn-cancel":"comm-btn-cancel_ZAqW6","opacity-none":"opacity-none_sKwK0","pointer-events-none":"pointer-events-none_fsLHe","attr-prohibit":"attr-prohibit_woSre","display-block":"display-block_qXCcc","display-none":"display-none_6gAuy","display-flex":"display-flex_j3WCm","display-inline-flex":"display-inline-flex_xYrSr","flex-lateral-axis-center":"flex-lateral-axis-center_Km4l8","flex-lateral-axis-start":"flex-lateral-axis-start_Aotrg","flex-lateral-axis-end":"flex-lateral-axis-end_JpzEF","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_uq1AJ","flex-main-axis-center":"flex-main-axis-center_6Z5V8","flex-main-axis-start":"flex-main-axis-start_X9eBs","flex-main-axis-end":"flex-main-axis-end_rLtSd","flex-main-axis-around":"flex-main-axis-around_ca-PT","flex-main-axis-between":"flex-main-axis-between_Wms2B","flex-nowrap":"flex-nowrap_Hj2X3","flex-wrap":"flex-wrap_ZUUcr","flex-direct-row":"flex-direct-row_bPKiN","flex-direct-rerow":"flex-direct-rerow_LD4lT","flex-direct-column":"flex-direct-column_ieTFN","flex-direct-recolumn":"flex-direct-recolumn_mh9-k","color-black-important":"color-black-important_zFSRH","color-white-important":"color-white-important_qgSeQ","bgcolor-red-important":"bgcolor-red-important_-Y2A-","pop-content-container":"pop-content-container_-2pyI",oneLineOneInputDlg:"oneLineOneInputDlg_NBkzM","pop-content-wrapper":"pop-content-wrapper_9cz5u","comm-btn-operate-link":"comm-btn-operate-link_3BUl2","comm-btn-height":"comm-btn-height_giROZ","comm-btn-text":"comm-btn-text_-R3T6","margin-btn":"margin-btn_Z0fQQ","margin-top":"margin-top_Xn5bq","dialog-input":"dialog-input_n45Fj","device-property-key":"device-property-key_dMHT6","attrs-select-wrap":"attrs-select-wrap_p6n-o","pop-footer-wrapper":"pop-footer-wrapper_4kPiH","comm-btn":"comm-btn_OyNIW","comm-btn-default":"comm-btn-default_W-Qj4","l-btn-left":"l-btn-left_QRHge","comm-btn-left":"comm-btn-left_X3H5f","grid-export":"grid-export_d6nvC","route-link":"route-link_heuRK","window-body":"window-body_AKBny",panel:"panel_gpHgc","window-header":"window-header_7j-tH","dialog-content":"dialog-content_n9CgE","icon-eda-x-circle":"icon-eda-x-circle_yPRlD","clear-input-circle":"clear-input-circle_mEGBm","d3-model-exception-dialog":"d3-model-exception-dialog_ie5zL",container:"container_JQFt9",tips:"tips_FObRv","filter-wrap":"filter-wrap_GqNe3","table-wrap":"table-wrap_PX7x3",link:"link_0ptKy",clicked:"clicked_ju1jK"},toString(){return Get}}});var Fuo=xe((Gld,zuo)=>{var itt=[];itt.push(".pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-content-wrapper_Fuvev{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-content-wrapper_Fuvev>div{overflow:auto;width:100%}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-content-wrapper_Fuvev .comm-btn-operate-link_QkUX3{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-content-wrapper_Fuvev .comm-btn-height_LnV1H{height:22px}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-content-wrapper_Fuvev .comm-btn-text_v5DmD{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-content-wrapper_Fuvev .margin-btn_d8xpZ{margin-bottom:16px}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-content-wrapper_Fuvev .margin-top_uQ5Z4{margin-top:16px}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-content-wrapper_Fuvev input.dialog-input_ql5B-{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-content-wrapper_Fuvev input.dialog-input_ql5B-:not([disabled]){color:var(--font-color-input)}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-content-wrapper_Fuvev select.dialog-input_ql5B-{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-content-wrapper_Fuvev select.dialog-input_ql5B-:not([disabled]){color:var(--font-color-input)}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-content-wrapper_Fuvev textarea.dialog-input_ql5B-{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-content-wrapper_Fuvev .device-property-key_HJcPw{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-content-wrapper_Fuvev .attrs-select-wrap_sFK1i{padding-left:8px}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-footer-wrapper_pNM85{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-footer-wrapper_pNM85 .comm-btn_EGozO{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-footer-wrapper_pNM85 .comm-btn_EGozO:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-footer-wrapper_pNM85 .comm-btn_EGozO.comm-btn-default_0LCoa{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-footer-wrapper_pNM85 .comm-btn_EGozO.comm-btn-default_0LCoa:hover{border-color:#1890ff}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-footer-wrapper_pNM85 .comm-btn_EGozO .l-btn-left_xpHnx{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-footer-wrapper_pNM85 .comm-btn-left_u-1ER{left:28px;position:absolute}.pop-content-container_t-0ju:not(.oneLineOneInputDlg_8ZYEI) .pop-footer-wrapper_pNM85 .grid-export_ew10g .comm-btn_EGozO:last-child{margin-left:8px}.pop-content-container_t-0ju *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_t-0ju label{position:relative}.pop-content-wrapper_Fuvev a.route-link_-FiQ1,.pop-content-wrapper_Fuvev a.route-link_-FiQ1:active,.pop-content-wrapper_Fuvev a.route-link_-FiQ1:visited{color:#00e}div[user-resizable] .window-body_RTUhp>.panel_wPE9e,div[user-resizable] .window-header_aNW87{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_RTUhp>.panel_wPE9e{height:100%!important}div[user-resizable] .window-body_RTUhp .dialog-content_chia8{height:100%!important;width:100%!important}.name_qV6fo{max-width:120px;min-width:88px;overflow:hidden;padding-right:16px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.import-input-common_Iimkj{margin:10px}.import-input-common_Iimkj .line_RCnNS{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;flex:1;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.line_RCnNS{padding:8px 0}.fileOperate_ssfRM{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-top:8px}.fileOperate_ssfRM .radio_-PjEi{margin-top:2px}.options_0mfh5{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-top:8px}.options_0mfh5 .radio_-PjEi{margin-top:2px}.filetype_C466q{width:-webkit-calc(100% - 80px)!important;width:-moz-calc(100% - 80px)!important;width:calc(100% - 80px)!important}.value_9w2Us{width:430px}.omit_UlO2S{position:relative}.omit_UlO2S .dot_qLRWI{font-weight:700;left:-webkit-calc(100% - 100px);left:-moz-calc(100% - 100px);left:calc(100% - 100px);top:6px}.omit_UlO2S .dot_qLRWI,.omit_UlO2S .text_AxmEP{cursor:pointer;display:block;position:absolute}.omit_UlO2S .text_AxmEP{color:#bfbfbf;left:8px;top:4px}#import_file_button_pcb_mMDMu{background:transparent;border-bottom-left-radius:0;border-left:0;border-color:#d9d9d9!important;border-top-left-radius:0;height:24px;margin-left:-4px;text-align:right;width:72px}#import_file_button_pcb_mMDMu .l-btn-text_Fz91k{color:#333;font-weight:700}.border_65nlp{border:1px solid var(--common-border-color);padding:16px}input.import_file_area_FhLwe{border-bottom-right-radius:0;border-color:var(--common-border-color)!important;border-top-right-radius:0;cursor:pointer;padding-right:22px;position:relative;width:-webkit-calc(100% - 80px);width:-moz-calc(100% - 80px);width:calc(100% - 80px)}.radio_-PjEi .label_5K-zm{display:block;padding:6px 0;position:relative}.radio_-PjEi .label_5K-zm:first-of-type{padding-top:0}");itt=itt.join("");zuo.exports={uuid:"334f3a02-826b-48f8-ba86-c6726908bab7",locals:{"pop-content-container":"pop-content-container_t-0ju",oneLineOneInputDlg:"oneLineOneInputDlg_8ZYEI","pop-content-wrapper":"pop-content-wrapper_Fuvev","comm-btn-operate-link":"comm-btn-operate-link_QkUX3","comm-btn-height":"comm-btn-height_LnV1H","comm-btn-text":"comm-btn-text_v5DmD","margin-btn":"margin-btn_d8xpZ","margin-top":"margin-top_uQ5Z4","dialog-input":"dialog-input_ql5B-","device-property-key":"device-property-key_HJcPw","attrs-select-wrap":"attrs-select-wrap_sFK1i","pop-footer-wrapper":"pop-footer-wrapper_pNM85","comm-btn":"comm-btn_EGozO","comm-btn-default":"comm-btn-default_0LCoa","l-btn-left":"l-btn-left_xpHnx","comm-btn-left":"comm-btn-left_u-1ER","grid-export":"grid-export_ew10g","route-link":"route-link_-FiQ1","window-body":"window-body_RTUhp",panel:"panel_wPE9e","window-header":"window-header_aNW87","dialog-content":"dialog-content_chia8",name:"name_qV6fo","import-input-common":"import-input-common_Iimkj",line:"line_RCnNS",fileOperate:"fileOperate_ssfRM",radio:"radio_-PjEi",options:"options_0mfh5",filetype:"filetype_C466q",value:"value_9w2Us",omit:"omit_UlO2S",dot:"dot_qLRWI",text:"text_AxmEP",import_file_button_pcb:"import_file_button_pcb_mMDMu","l-btn-text":"l-btn-text_Fz91k",border:"border_65nlp",import_file_area:"import_file_area_FhLwe",label:"label_5K-zm"},toString(){return itt}}});var Quo=xe((Tcd,Wuo)=>{var E5=[];E5.push(".container_FlKJB{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding:8px;width:100%}.container_FlKJB .line_0kFVi{line-height:24px;overflow:hidden;padding:8px 0}.container_FlKJB .line_0kFVi>div{float:left}.container_FlKJB .line_0kFVi .lineLeft_7dx-o{width:117px}.container_FlKJB .line_0kFVi .lineRight_MMLqF{position:relative;width:70%}.container_FlKJB .line_0kFVi .lineRight_MMLqF .icon-eda-x-circle-container_HjKay{cursor:pointer;position:absolute;right:21%;top:5px}.container_FlKJB .line_0kFVi .lineRight_MMLqF .icon-eda-x-circle-container_HjKay .icon-eda-x-circle_D5nDf{background-image:");E5.push("url(");E5.push(JSON.stringify(UR()));E5.push(")");E5.push(";background-position:50%;background-repeat:no-repeat;background-size:12px 12px;display:inline-block;-webkit-filter:var(--common-icon-color-1);filter:var(--common-icon-color-1);-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:12px;position:relative;top:1px;width:12px}.container_FlKJB .line_0kFVi .tips_2hA3s{color:red;left:25%;position:relative}.container_FlKJB .project-name-input-panel_D1Edq{width:71%}.container_FlKJB .project-name-input-panel_D1Edq,.secondRow_0sjSY{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.secondRow_0sjSY{padding:8px 0}.secondRow_0sjSY .secondRowLeft_bQSLH{width:117px}.secondRow_0sjSY .checkBox_yjVyF{height:24px;width:70px}.secondRow_0sjSY .setPassword_vQyjk{line-height:24px}.secondRow_0sjSY .icon-eda-eye_5u700{background:");E5.push("url(");E5.push(JSON.stringify(s3()));E5.push(")");E5.push(";background-position:50%;background-repeat:no-repeat}.secondRow_0sjSY .icon-eda-eye_5u700,.secondRow_0sjSY .icon-eda-no-eye_-R7Kq{display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:20px;width:20px}.secondRow_0sjSY .icon-eda-no-eye_-R7Kq{background:");E5.push("url(");E5.push(JSON.stringify(Jx()));E5.push(")");E5.push(";background-position:50%;background-repeat:no-repeat;opacity:.25}.secondRow_0sjSY .iconContainer_bfvmT{padding-left:4px}.thirdRow_TnDt3{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:8px 0}.thirdRow_TnDt3 .confirmPassword_C2t-Z{line-height:24px;width:117px}.passwordInput-text_DhTSu{-moz-appearance:textfield;border:1px solid #d9d9d9;border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;font-family:Microsoft YaHei;font-size:12px;height:24px;padding:0 8px;-webkit-user-select:text;-moz-user-select:text;user-select:text;width:60%}.passwordInput-text_DhTSu:focus{border-color:#1890ff;outline:0}.passwordInput-password_tLZTD{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;font-family:Microsoft YaHei;font-size:12px;height:24px;padding:0 8px;-webkit-user-select:text;-moz-user-select:text;user-select:text;width:60%;-webkit-text-security:disc}");E5=E5.join("");Wuo.exports={uuid:"99c1784d-7b47-4bf2-b5f7-8440bea9967a",locals:{container:"container_FlKJB",line:"line_0kFVi",lineLeft:"lineLeft_7dx-o",lineRight:"lineRight_MMLqF","icon-eda-x-circle-container":"icon-eda-x-circle-container_HjKay","icon-eda-x-circle":"icon-eda-x-circle_D5nDf",tips:"tips_2hA3s","project-name-input-panel":"project-name-input-panel_D1Edq",secondRow:"secondRow_0sjSY",secondRowLeft:"secondRowLeft_bQSLH",checkBox:"checkBox_yjVyF",setPassword:"setPassword_vQyjk","icon-eda-eye":"icon-eda-eye_5u700","icon-eda-no-eye":"icon-eda-no-eye_-R7Kq",iconContainer:"iconContainer_bfvmT",thirdRow:"thirdRow_TnDt3",confirmPassword:"confirmPassword_C2t-Z","passwordInput-text":"passwordInput-text_DhTSu","passwordInput-password":"passwordInput-password_tLZTD"},toString(){return E5}}});var vOt=xe((idd,Xuo)=>{var rtt=[];rtt.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_jdyDk{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_RPrX-{background-color:#efefef}.comm-btn-confirm_ugcAq{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_ugcAq:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_gDnGR{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_gDnGR:hover{border:1px solid #40a9ff!important}.opacity-none_EZbpj,.pointer-events-none_QIIMY{cursor:default;pointer-events:none!important}.opacity-none_EZbpj{opacity:0}.attr-prohibit_vzU7a,.display-block_bFkF7{display:block}.display-none_HTnPP{display:none!important}.display-flex_QwP9-{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_Sme4d{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_P1mKB{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_fM4qq{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_jwcau{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_tI1Ou{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_CfAIq{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_h4wLK{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_GdQdh{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_372BH{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_83d-5{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_fmqtz{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_W-7ue{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_riclP{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_BcdhH{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_-jCT2{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_86s1a{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_p-oZj{color:#000!important}.color-white-important_uEwIY{color:#fff!important}.bgcolor-red-important_g-SXW{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-content-wrapper_upDNm{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-content-wrapper_upDNm>div{overflow:auto;width:100%}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-content-wrapper_upDNm .comm-btn-operate-link_cVGFy{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-content-wrapper_upDNm .comm-btn-height_MqTvf{height:22px}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-content-wrapper_upDNm .comm-btn-text_ysppU{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-content-wrapper_upDNm .margin-btn_mP-t3{margin-bottom:16px}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-content-wrapper_upDNm .margin-top_lbWee{margin-top:16px}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-content-wrapper_upDNm input.dialog-input_7b18q{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-content-wrapper_upDNm input.dialog-input_7b18q:not([disabled]){color:var(--font-color-input)}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-content-wrapper_upDNm select.dialog-input_7b18q{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-content-wrapper_upDNm select.dialog-input_7b18q:not([disabled]){color:var(--font-color-input)}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-content-wrapper_upDNm textarea.dialog-input_7b18q{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-content-wrapper_upDNm .device-property-key_Z7wZy{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-content-wrapper_upDNm .attrs-select-wrap_8bxY9{padding-left:8px}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-footer-wrapper_VKm1l{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-footer-wrapper_VKm1l .comm-btn_pEmqY{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-footer-wrapper_VKm1l .comm-btn_pEmqY:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-footer-wrapper_VKm1l .comm-btn_pEmqY.comm-btn-default_IJAPg{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-footer-wrapper_VKm1l .comm-btn_pEmqY.comm-btn-default_IJAPg:hover{border-color:#1890ff}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-footer-wrapper_VKm1l .comm-btn_pEmqY .l-btn-left_DM-Uf{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-footer-wrapper_VKm1l .comm-btn-left_VbA6u{left:28px;position:absolute}.pop-content-container_4HswF:not(.oneLineOneInputDlg_ujxNs) .pop-footer-wrapper_VKm1l .grid-export_J8gV- .comm-btn_pEmqY:last-child{margin-left:8px}.pop-content-container_4HswF *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_4HswF label{position:relative}.pop-content-wrapper_upDNm a.route-link_0vOvP,.pop-content-wrapper_upDNm a.route-link_0vOvP:active,.pop-content-wrapper_upDNm a.route-link_0vOvP:visited{color:#00e}div[user-resizable] .window-body_zMNmu>.panel_Mg7FR,div[user-resizable] .window-header_xBDbj{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_zMNmu>.panel_Mg7FR{height:100%!important}div[user-resizable] .window-body_zMNmu .dialog-content_UQMvH{height:100%!important;width:100%!important}.form-item_W4MUd{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.form-item_W4MUd .label_5WxJ5{max-width:80px;min-width:80px;overflow:hidden;padding:8px 16px 8px 0;text-align:left;text-overflow:ellipsis;white-space:nowrap}.form-item_W4MUd .content_apilS{padding-top:7px;width:100%}.form-item_W4MUd .content_apilS .icon-eda-x-circle_LeuJ3{top:-3px}.panel_Mg7FR{border:1px solid #d9d9d9;-moz-box-sizing:border-box;box-sizing:border-box;padding:16px}.panel_Mg7FR .panel-body_ZEsKz{overflow:hidden}tr{vertical-align:top}.selectFileTip_QnnMv{display:inline-block;padding-top:4px}.new3DModelDlg-table-label_SLYm6{max-width:120px;min-width:80px;overflow:hidden;padding:8px 16px 8px 0;text-align:left;text-overflow:ellipsis;white-space:nowrap}.new3DModelDlg-table-content_FYZaE{padding-top:7px;width:100%}.new3DModelDlg-table-content_FYZaE .icon-eda-x-circle_LeuJ3{top:-3px}.d3ModelName_nQ3tH,.readOnlyInput_Ln51m,.selectModelUnit_zw6IU{width:81%}.file_qN8RX{background-color:#39f;border-radius:2px;color:#333;color:#fff;display:inline-block;font-size:13px;line-height:14px;margin-top:-3px;overflow:hidden;padding:4px 20px;position:relative;text-decoration:none;text-indent:0;vertical-align:middle}.file_qN8RX:hover{background-color:#41a9ff}.model3DFiles_a0D4n .pointBtn_79Lpr{cursor:pointer;font-weight:bolder;position:relative;right:20px}.model3DFiles_a0D4n .model3DFilesInput_HzmF9{cursor:pointer;display:none;font-size:100px;height:100%;pointer-events:none;position:absolute;right:0;top:0;width:100%}.conversionAccuracy_5AlQx{position:relative}.conversionAccuracy_5AlQx .pointBtn_79Lpr{cursor:pointer;display:inline-block;font-weight:bolder;height:16px;left:73px;position:absolute;top:12px;width:16px}.conversionAccuracy_5AlQx .accuracyTip_iZs4-{width:200px;word-wrap:break-word;left:67px;position:absolute;top:-25px}.modelListContainer_WQrA9{border:1px solid var(--common-border-color);height:100px;margin-top:5px;overflow:auto;padding-top:3px;width:81%}.modelListContainer_WQrA9 .modelListItme_rHJTg{display:block;height:18px}.tags_oO7XT div:hover .clear_aAiTT{display:inline-block}.tags_oO7XT div .clear_aAiTT{border-radius:50%;color:#444;cursor:pointer;display:none;height:12px;line-height:22px;position:absolute;right:25px;text-align:center;top:5px;width:12px}");rtt=rtt.join("");Xuo.exports={uuid:"e074150a-2dec-4ee5-a0c0-b7840969e261",locals:{"comm-icon-add":"comm-icon-add_jdyDk","comm-background-color-efefef":"comm-background-color-efefef_RPrX-","comm-btn-confirm":"comm-btn-confirm_ugcAq","comm-btn-cancel":"comm-btn-cancel_gDnGR","opacity-none":"opacity-none_EZbpj","pointer-events-none":"pointer-events-none_QIIMY","attr-prohibit":"attr-prohibit_vzU7a","display-block":"display-block_bFkF7","display-none":"display-none_HTnPP","display-flex":"display-flex_QwP9-","display-inline-flex":"display-inline-flex_Sme4d","flex-lateral-axis-center":"flex-lateral-axis-center_P1mKB","flex-lateral-axis-start":"flex-lateral-axis-start_fM4qq","flex-lateral-axis-end":"flex-lateral-axis-end_jwcau","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_tI1Ou","flex-main-axis-center":"flex-main-axis-center_CfAIq","flex-main-axis-start":"flex-main-axis-start_h4wLK","flex-main-axis-end":"flex-main-axis-end_GdQdh","flex-main-axis-around":"flex-main-axis-around_372BH","flex-main-axis-between":"flex-main-axis-between_83d-5","flex-nowrap":"flex-nowrap_fmqtz","flex-wrap":"flex-wrap_W-7ue","flex-direct-row":"flex-direct-row_riclP","flex-direct-rerow":"flex-direct-rerow_BcdhH","flex-direct-column":"flex-direct-column_-jCT2","flex-direct-recolumn":"flex-direct-recolumn_86s1a","color-black-important":"color-black-important_p-oZj","color-white-important":"color-white-important_uEwIY","bgcolor-red-important":"bgcolor-red-important_g-SXW","pop-content-container":"pop-content-container_4HswF",oneLineOneInputDlg:"oneLineOneInputDlg_ujxNs","pop-content-wrapper":"pop-content-wrapper_upDNm","comm-btn-operate-link":"comm-btn-operate-link_cVGFy","comm-btn-height":"comm-btn-height_MqTvf","comm-btn-text":"comm-btn-text_ysppU","margin-btn":"margin-btn_mP-t3","margin-top":"margin-top_lbWee","dialog-input":"dialog-input_7b18q","device-property-key":"device-property-key_Z7wZy","attrs-select-wrap":"attrs-select-wrap_8bxY9","pop-footer-wrapper":"pop-footer-wrapper_VKm1l","comm-btn":"comm-btn_pEmqY","comm-btn-default":"comm-btn-default_IJAPg","l-btn-left":"l-btn-left_DM-Uf","comm-btn-left":"comm-btn-left_VbA6u","grid-export":"grid-export_J8gV-","route-link":"route-link_0vOvP","window-body":"window-body_zMNmu",panel:"panel_Mg7FR","window-header":"window-header_xBDbj","dialog-content":"dialog-content_UQMvH","form-item":"form-item_W4MUd",label:"label_5WxJ5",content:"content_apilS","icon-eda-x-circle":"icon-eda-x-circle_LeuJ3","panel-body":"panel-body_ZEsKz",selectFileTip:"selectFileTip_QnnMv","new3DModelDlg-table-label":"new3DModelDlg-table-label_SLYm6","new3DModelDlg-table-content":"new3DModelDlg-table-content_FYZaE",d3ModelName:"d3ModelName_nQ3tH",readOnlyInput:"readOnlyInput_Ln51m",selectModelUnit:"selectModelUnit_zw6IU",file:"file_qN8RX",model3DFiles:"model3DFiles_a0D4n",pointBtn:"pointBtn_79Lpr",model3DFilesInput:"model3DFilesInput_HzmF9",conversionAccuracy:"conversionAccuracy_5AlQx",accuracyTip:"accuracyTip_iZs4-",modelListContainer:"modelListContainer_WQrA9",modelListItme:"modelListItme_rHJTg",tags:"tags_oO7XT",clear:"clear_aAiTT"},toString(){return rtt}}});var e0o=xe((odd,$uo)=>{var q7=[];q7.push(".pcb3d-toolbar-container_b9Fv0{border-radius:0;overflow:hidden;z-index:11}.pcb3d-toolbar-container_b9Fv0,.pcb3d-toolbar-container_b9Fv0 *{-moz-box-sizing:border-box;box-sizing:border-box}.pcb3d-toolbar-btns-wrapper_7a2S2{font-size:0;line-height:0;overflow:hidden;padding:0}.pcb3d-toolbar-btn_ZL1h7{background-position:50%;background-size:16px 16px;border:none;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;-webkit-font-feature-settings:normal;-moz-font-feature-settings:normal;font-feature-settings:normal;font-size:18px;font-style:normal;font-variant:normal;font-weight:400;height:28px;line-height:1;text-align:center;text-transform:none;width:28px;-webkit-font-smoothing:antialiased;font-family:icomoon!important}.pcb3d-toolbar-btn-selected_f5T-C{background-color:#efefef;border:1px solid #1890ff;border-radius:3px}.pcb3d-toolbar-btn_ZL1h7:hover{background-color:#efefef}.pcb3d-toolbar-splitline_CT991{background-color:#aeaeae;display:inline-block;height:28px;margin:0 5px;-webkit-transform:scaleY(.65);-moz-transform:scaleY(.65);transform:scaleY(.65);width:1px}.range-container_xL2xQ{border:1px solid var(--common-border-color);border-radius:0;height:30px;overflow:hidden;position:relative;width:81%;z-index:11}.range-container_xL2xQ,.range-container_xL2xQ *{-moz-box-sizing:border-box;box-sizing:border-box}.range-wrapper_9vj7p{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;width:100%}.range-addstep_olQls,.range-minstep_Gp8QS{cursor:pointer;height:16px;width:16px}.range-addstep_olQls,.range-minstep_Gp8QS,.range-process_t-Gli{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.range-process_t-Gli{height:inherit;position:relative;width:-webkit-calc(100% - 48px);width:-moz-calc(100% - 48px);width:calc(100% - 48px);-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-webkit-align-content:center;align-content:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;justify-content:space-between}.range-track_FbuHs{background:#d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:4px;left:0;width:100%}.range-bar_nWHFf,.range-track_FbuHs{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}.range-bar_nWHFf{background:#fff;border:2px solid #40a9ff;border-radius:50%;cursor:pointer;height:14px;left:-7px;top:7px;width:14px;z-index:9}.range-rateline_fW5pW{background:#d9d9d9;background-color:#40a9ff;border-radius:2px;height:4px;left:0;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:0}.range-icon_uThcG,.range-rateline_fW5pW{-moz-box-sizing:border-box;box-sizing:border-box}.range-icon_uThcG{height:16px;width:16px}.icon-min_OYIAR{background-image:");q7.push("url(");q7.push(JSON.stringify(n3e()));q7.push(")");q7.push("}.icon-add_wcNiu,.icon-min_OYIAR{background-repeat:no-repeat;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:16px;width:16px}.icon-add_wcNiu{background-image:");q7.push("url(");q7.push(JSON.stringify(r3e()));q7.push(")");q7.push("}");q7=q7.join("");$uo.exports={uuid:"a9881a0d-364c-4ac8-bdd3-49a3bd9a9d94",locals:{"pcb3d-toolbar-container":"pcb3d-toolbar-container_b9Fv0","pcb3d-toolbar-btns-wrapper":"pcb3d-toolbar-btns-wrapper_7a2S2","pcb3d-toolbar-btn":"pcb3d-toolbar-btn_ZL1h7","pcb3d-toolbar-btn-selected":"pcb3d-toolbar-btn-selected_f5T-C","pcb3d-toolbar-splitline":"pcb3d-toolbar-splitline_CT991","range-container":"range-container_xL2xQ","range-wrapper":"range-wrapper_9vj7p","range-addstep":"range-addstep_olQls","range-minstep":"range-minstep_Gp8QS","range-process":"range-process_t-Gli","range-track":"range-track_FbuHs","range-bar":"range-bar_nWHFf","range-rateline":"range-rateline_fW5pW","range-icon":"range-icon_uThcG","icon-min":"icon-min_OYIAR","icon-add":"icon-add_wcNiu"},toString(){return q7}}});var d0o=xe((zdd,c0o)=>{var X7=[];X7.push(".saveProjectInfo_MpvVG{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;border:1px solid var(--common-border-color);justify-content:center;padding:16px}.firstRow_DyW2N,.saveProjectInfo_MpvVG{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.firstRow_DyW2N{padding-bottom:16px}.firstRow_DyW2N .fileFormat_8kumM,.firstRow_DyW2N .fileName_vc8UO{line-height:24px;padding-right:8px;width:102px}.firstRow_DyW2N .fileExtension_b2Z-X{background-color:var(--bg-color-disabled-input);border-bottom-right-radius:5px;border-color:var(--border-color-disabled-input);border-top-right-radius:5px;height:24px;line-height:24px;padding:0 6px;text-align:center}.secondRow_XfU63{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding-bottom:16px}.secondRow_XfU63 .secondLeftSide_FU60f{padding-right:8px;width:102px}.secondRow_XfU63 .checkBox_VJpTB{height:24px;width:70px}.secondRow_XfU63 .setPassword_G1HPx{line-height:24px}.secondRow_XfU63 .icon-eda-eye_DZK0t{background:");X7.push("url(");X7.push(JSON.stringify(s3()));X7.push(")");X7.push(";background-position:50%;background-repeat:no-repeat}.secondRow_XfU63 .icon-eda-eye_DZK0t,.secondRow_XfU63 .icon-eda-no-eye_24IJS{display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:20px;width:20px}.secondRow_XfU63 .icon-eda-no-eye_24IJS{background:");X7.push("url(");X7.push(JSON.stringify(Jx()));X7.push(")");X7.push(";background-position:50%;background-repeat:no-repeat;opacity:.25}.secondRow_XfU63 .iconContainer_By6uA{padding-left:4px}.thirdRow_YZEYb{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.thirdRow_YZEYb .confirmPassword_MN52p{line-height:24px;padding-right:8px;width:102px}.passwordInput-text_3gJJ2{-moz-appearance:textfield;border:1px solid #d9d9d9;border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;font-family:Microsoft YaHei;font-size:12px;height:24px;padding:0 8px;-webkit-user-select:text;-moz-user-select:text;user-select:text;width:70%}.passwordInput-text_3gJJ2:focus{border-color:#1890ff;outline:0}.passwordInput-password_u5vgR{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;font-family:Microsoft YaHei;font-size:12px;height:24px;padding:0 8px;-webkit-user-select:text;-moz-user-select:text;user-select:text;width:70%;-webkit-text-security:disc}.footer_Io7nK{margin-top:14px;text-align:right}");X7=X7.join("");c0o.exports={uuid:"18fe1461-84d3-41bf-b1cb-e1a3c66e0436",locals:{saveProjectInfo:"saveProjectInfo_MpvVG",firstRow:"firstRow_DyW2N",fileFormat:"fileFormat_8kumM",fileName:"fileName_vc8UO",fileExtension:"fileExtension_b2Z-X",secondRow:"secondRow_XfU63",secondLeftSide:"secondLeftSide_FU60f",checkBox:"checkBox_VJpTB",setPassword:"setPassword_G1HPx","icon-eda-eye":"icon-eda-eye_DZK0t","icon-eda-no-eye":"icon-eda-no-eye_24IJS",iconContainer:"iconContainer_By6uA",thirdRow:"thirdRow_YZEYb",confirmPassword:"confirmPassword_MN52p","passwordInput-text":"passwordInput-text_3gJJ2","passwordInput-password":"passwordInput-password_u5vgR",footer:"footer_Io7nK"},toString(){return X7}}});var m0o=xe((uud,QRr)=>{QRr.exports="data:image/svg+xml;base64, "});var f0o=xe((pud,h0o)=>{var v$=[];v$.push(".pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-content-wrapper_Ja-0D{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-content-wrapper_Ja-0D>div{overflow:auto;width:100%}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-content-wrapper_Ja-0D .comm-btn-operate-link_Z8kTn{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-content-wrapper_Ja-0D .comm-btn-height_3iF-o{height:22px}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-content-wrapper_Ja-0D .comm-btn-text_ojJgv{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-content-wrapper_Ja-0D .margin-btn_5LNye{margin-bottom:16px}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-content-wrapper_Ja-0D .margin-top_ZFd9b{margin-top:16px}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-content-wrapper_Ja-0D input.dialog-input_FB4og{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-content-wrapper_Ja-0D input.dialog-input_FB4og:not([disabled]){color:var(--font-color-input)}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-content-wrapper_Ja-0D select.dialog-input_FB4og{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-content-wrapper_Ja-0D select.dialog-input_FB4og:not([disabled]){color:var(--font-color-input)}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-content-wrapper_Ja-0D textarea.dialog-input_FB4og{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-content-wrapper_Ja-0D .device-property-key_CtO0C{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-content-wrapper_Ja-0D .attrs-select-wrap_r6zpM{padding-left:8px}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-footer-wrapper_YAPi0{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-footer-wrapper_YAPi0 .comm-btn_M8f0-{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-footer-wrapper_YAPi0 .comm-btn_M8f0-:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-footer-wrapper_YAPi0 .comm-btn_M8f0-.comm-btn-default_ob65u{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-footer-wrapper_YAPi0 .comm-btn_M8f0-.comm-btn-default_ob65u:hover{border-color:#1890ff}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-footer-wrapper_YAPi0 .comm-btn_M8f0- .l-btn-left_KnaDO{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-footer-wrapper_YAPi0 .comm-btn-left_AAJyF{left:28px;position:absolute}.pop-content-container_Kbd-T:not(.oneLineOneInputDlg_v2oIm) .pop-footer-wrapper_YAPi0 .grid-export_0Xq7n .comm-btn_M8f0-:last-child{margin-left:8px}.pop-content-container_Kbd-T *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_Kbd-T label{position:relative}.pop-content-wrapper_Ja-0D a.route-link_s--aJ,.pop-content-wrapper_Ja-0D a.route-link_s--aJ:active,.pop-content-wrapper_Ja-0D a.route-link_s--aJ:visited{color:#00e}div[user-resizable] .window-body_5JMYQ>.panel_uXgE8,div[user-resizable] .window-header_esDZ2{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_5JMYQ>.panel_uXgE8{height:100%!important}div[user-resizable] .window-body_5JMYQ .dialog-content_dSKwv{height:100%!important;width:100%!important}.div-fieldset_zcVAn{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;font-size:12px;margin-top:10px;padding:16px;position:relative;text-align:left}.div-fieldset_zcVAn .title_NWzva{background-color:var(--common-bg-color);left:12px;line-height:2em;padding:0 4px;position:absolute;top:-13px}.pop-content-wrapper_Ja-0D .ecad-logo_7zouP{background-image:");v$.push("url(");v$.push(JSON.stringify(m0o()));v$.push(")");v$.push(";background-position:50%;background-repeat:no-repeat;height:22.25px}");v$=v$.join("");h0o.exports={uuid:"5543d2eb-dac1-4fc6-a103-686b5eb3733f",locals:{"pop-content-container":"pop-content-container_Kbd-T",oneLineOneInputDlg:"oneLineOneInputDlg_v2oIm","pop-content-wrapper":"pop-content-wrapper_Ja-0D","comm-btn-operate-link":"comm-btn-operate-link_Z8kTn","comm-btn-height":"comm-btn-height_3iF-o","comm-btn-text":"comm-btn-text_ojJgv","margin-btn":"margin-btn_5LNye","margin-top":"margin-top_ZFd9b","dialog-input":"dialog-input_FB4og","device-property-key":"device-property-key_CtO0C","attrs-select-wrap":"attrs-select-wrap_r6zpM","pop-footer-wrapper":"pop-footer-wrapper_YAPi0","comm-btn":"comm-btn_M8f0-","comm-btn-default":"comm-btn-default_ob65u","l-btn-left":"l-btn-left_KnaDO","comm-btn-left":"comm-btn-left_AAJyF","grid-export":"grid-export_0Xq7n","route-link":"route-link_s--aJ","window-body":"window-body_5JMYQ",panel:"panel_uXgE8","window-header":"window-header_esDZ2","dialog-content":"dialog-content_dSKwv","div-fieldset":"div-fieldset_zcVAn",title:"title_NWzva","ecad-logo":"ecad-logo_7zouP"},toString(){return v$}}});var S0o=xe((Rud,T0o)=>{var ntt=[];ntt.push(".container_0HeO7{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;overflow:auto;padding:16px}.container_0HeO7 .line_NXvRP{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;padding:0 0 16px}.container_0HeO7 .line_NXvRP select{width:373px}.container_0HeO7 .line_NXvRP:last-child{padding-bottom:0}.container_0HeO7 .line_NXvRP .line-label_s6-Zt{margin-left:8px;max-width:150px;min-width:120px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.container_0HeO7 .line_NXvRP .special-content_cKekS{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.container_0HeO7 .line_NXvRP .special-content_cKekS,.container_0HeO7 .line_NXvRP .special-name_GFACk{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.container_0HeO7 .line_NXvRP .special-name_GFACk{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.file-name_TAPeo{padding:0 8px}.footer_kxdvD{height:28px;margin-top:16px;overflow:hidden;text-align:right}.loading_Uwesf{background:#f1f3f4;left:0;position:absolute;top:28px;width:100%}.loading_Uwesf i{-webkit-filter:none;filter:none;height:50px;margin:82px auto;width:50px}");ntt=ntt.join("");T0o.exports={uuid:"581673d7-9e15-4f61-9f68-08472f7ed068",locals:{container:"container_0HeO7",line:"line_NXvRP","line-label":"line-label_s6-Zt","special-content":"special-content_cKekS","special-name":"special-name_GFACk","file-name":"file-name_TAPeo",footer:"footer_kxdvD",loading:"loading_Uwesf"},toString(){return ntt}}});var D0o=xe((f0d,v0o)=>{var att=[];att.push(".container_pqt-s{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;overflow:auto;padding:16px}.container_pqt-s .line_1Yz-D{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;height:54px}.container_pqt-s .line_1Yz-D select{width:373px}.container_pqt-s .line_1Yz-D select option{background-color:var(--bg-color-drop-down-menuItem)}.container_pqt-s .line_1Yz-D label{padding-right:8px;text-align:right;width:60px}.footer_qIrQ0{height:28px;margin-top:16px;overflow:hidden;text-align:right}");att=att.join("");v0o.exports={uuid:"d7cf2bdb-6ab7-4f01-bd3d-40acf2714da9",locals:{container:"container_pqt-s",line:"line_1Yz-D",footer:"footer_qIrQ0"},toString(){return att}}});var N0o=xe((I0d,A0o)=>{var D$=[];D$.push(".container_rXg9c{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;width:100%}.container_rXg9c table{border:none!important;padding:0!important}.container_rXg9c table .line_KVYAS{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_rXg9c table .line_KVYAS .lineRight_9ejlC{position:relative}.container_rXg9c table .line_KVYAS .lineRight_9ejlC .icon-eda-x-circle-container_dKKNc{cursor:pointer;position:absolute;right:21%;top:5px}.container_rXg9c table .line_KVYAS .lineRight_9ejlC .icon-eda-x-circle-container_dKKNc .icon-eda-x-circle_xK49J{background-image:");D$.push("url(");D$.push(JSON.stringify(UR()));D$.push(")");D$.push(";background-position:50%;background-repeat:no-repeat;background-size:12px 12px;display:inline-block;-webkit-filter:var(--common-icon-color-1);filter:var(--common-icon-color-1);-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:12px;position:relative;top:1px;width:12px}");D$=D$.join("");A0o.exports={uuid:"d9c582b2-c241-4151-b4c0-a1d75576d622",locals:{container:"container_rXg9c",line:"line_KVYAS",lineRight:"lineRight_9ejlC","icon-eda-x-circle-container":"icon-eda-x-circle-container_dKKNc","icon-eda-x-circle":"icon-eda-x-circle_xK49J"},toString(){return D$}}});var _0o=xe((ppd,R0o)=>{var E$=[];E$.push(".messager-warning_D-Lew{background-image:");E$.push("url(");E$.push(JSON.stringify(d9()));E$.push(")");E$.push(";-webkit-filter:invert(63%) sepia(81%) saturate(2292%) hue-rotate(14deg) brightness(113%) contrast(103%);filter:invert(63%) sepia(81%) saturate(2292%) hue-rotate(14deg) brightness(113%) contrast(103%)}.wrap_q-iF2{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:100%}.wrap_q-iF2,.wrap_q-iF2 .footer_dLCPW{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.messager-icon_ppxro{background-position:top;background-repeat:no-repeat;background-size:auto 100%;display:inline-block;height:20px;min-width:20px}.content_891Ty{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.messager-text_2GdEb{line-height:20px;margin-left:4px;min-height:100px}");E$=E$.join("");R0o.exports={uuid:"77fa294e-e707-4b0e-92f6-c3570f590f3a",locals:{"messager-warning":"messager-warning_D-Lew",wrap:"wrap_q-iF2",footer:"footer_dLCPW","messager-icon":"messager-icon_ppxro",content:"content_891Ty","messager-text":"messager-text_2GdEb"},toString(){return E$}}});var F0o=xe((Vpd,z0o)=>{var stt=[];stt.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_GSBYg{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_J659j{background-color:#efefef}.comm-btn-confirm_QmXSR{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_QmXSR:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_-10hF{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_-10hF:hover{border:1px solid #40a9ff!important}.opacity-none_7-Cuz,.pointer-events-none_43vjA{cursor:default;pointer-events:none!important}.opacity-none_7-Cuz{opacity:0}.attr-prohibit_69HO5,.display-block_H-T7X{display:block}.display-none_vfpcq{display:none!important}.display-flex_6JSYY{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_vhE6g{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_Ojcck{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_ERr2B{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_XIYEB{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_Gz8EM{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_MevZp{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_WnTUj{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_ult20{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_79GiR{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_oEScy{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_iurKz{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_9ZQUm{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_HsOsM{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_mCjSS{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_Rg3ch{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_AO7kn{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_3NOTs{color:#000!important}.color-white-important_u0sbQ{color:#fff!important}.bgcolor-red-important_mUCrz{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-content-wrapper_R120a{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-content-wrapper_R120a>div{overflow:auto;width:100%}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-content-wrapper_R120a .comm-btn-operate-link_4LaRu{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-content-wrapper_R120a .comm-btn-height_3T-Hr{height:22px}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-content-wrapper_R120a .comm-btn-text_mHuwJ{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-content-wrapper_R120a .margin-btn_R6ctg{margin-bottom:16px}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-content-wrapper_R120a .margin-top_jxs1M{margin-top:16px}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-content-wrapper_R120a input.dialog-input_MP7TG{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-content-wrapper_R120a input.dialog-input_MP7TG:not([disabled]){color:var(--font-color-input)}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-content-wrapper_R120a select.dialog-input_MP7TG{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-content-wrapper_R120a select.dialog-input_MP7TG:not([disabled]){color:var(--font-color-input)}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-content-wrapper_R120a textarea.dialog-input_MP7TG{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-content-wrapper_R120a .device-property-key_e5P43{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-content-wrapper_R120a .attrs-select-wrap_64goE{padding-left:8px}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-footer-wrapper_o5wV8{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-footer-wrapper_o5wV8 .comm-btn_mWWxS{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-footer-wrapper_o5wV8 .comm-btn_mWWxS:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-footer-wrapper_o5wV8 .comm-btn_mWWxS.comm-btn-default_BGdJg{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-footer-wrapper_o5wV8 .comm-btn_mWWxS.comm-btn-default_BGdJg:hover{border-color:#1890ff}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-footer-wrapper_o5wV8 .comm-btn_mWWxS .l-btn-left_gox0k{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-footer-wrapper_o5wV8 .comm-btn-left_hG4FC{left:28px;position:absolute}.pop-content-container_r6zrT:not(.oneLineOneInputDlg_Z92ut) .pop-footer-wrapper_o5wV8 .grid-export_hJbXe .comm-btn_mWWxS:last-child{margin-left:8px}.pop-content-container_r6zrT *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_r6zrT label{position:relative}.pop-content-wrapper_R120a a.route-link_S01VC,.pop-content-wrapper_R120a a.route-link_S01VC:active,.pop-content-wrapper_R120a a.route-link_S01VC:visited{color:#00e}div[user-resizable] .window-body_rRN6l>.panel_KPMHu,div[user-resizable] .window-header_FXIh5{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_rRN6l>.panel_KPMHu{height:100%!important}div[user-resizable] .window-body_rRN6l .dialog-content_I8nnu{height:100%!important;width:100%!important}.renumberPinsDlg_iEqze .container_OwqvL{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm{-webkit-box-flex:6;-webkit-flex:6;-moz-box-flex:6;border:1px solid var(--common-border-color);flex:6;overflow:hidden;padding:8px 16px}.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .renumberRow_dLKvc{overflow:hidden;padding:8px 0}.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .renumberRow_dLKvc .content_of5br,.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .renumberRow_dLKvc .floatItem_dutl8,.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .renumberRow_dLKvc .label_YMP-M{float:left}.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .renumberRow_dLKvc .label_YMP-M{-moz-box-sizing:content-box;box-sizing:content-box;min-width:64px;padding:0 10px;text-align:left;vertical-align:middle;width:10%}.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .renumberRow_dLKvc .renumberItem_2e4MJ{margin:2px 5px 0}.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .renumberRow_dLKvc .renumberItem_2e4MJ .renumberPadsRules_qOsYI,.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .renumberRow_dLKvc .renumberItem_2e4MJ .renumberPinsRules_NHpWM{width:144px}.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .renumberRow_dLKvc .renumberItem_2e4MJ .renumberPinsPrefix_B8TJo,.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .renumberRow_dLKvc .renumberItem_2e4MJ .renumberPinsSuffix_qjhRL{margin-left:4px}.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .renumberRow_dLKvc .renumberItem_2e4MJ .incrementBtn_wF1XD{border:1px solid #d9d9d9;-moz-box-sizing:content-box;box-sizing:content-box;cursor:pointer;display:inline-block;height:16px;margin-top:-4px;padding:2px;text-align:center;vertical-align:middle;width:16px}.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .renumberRow_dLKvc .renumberItem_2e4MJ .incrementInput_xqv5P::-webkit-inner-spin-button,.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .renumberRow_dLKvc .renumberItem_2e4MJ .incrementInput_xqv5P::-webkit-outer-spin-button{-webkit-appearance:none}.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .renumberRow_dLKvc .renumberItem_2e4MJ .incrementInput_xqv5P{-moz-appearance:textfield}.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .renumberRow_dLKvc .renumberItem_2e4MJ .incrementText_D3bR1{display:inline-block;margin-right:5px}.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .IncrementItem_lIAun{position:relative}.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .IncrementItem_lIAun .incrementBtn_wF1XD.add_nToXR{border:none;height:9px;padding-bottom:0;position:absolute;right:0;top:4px;z-index:99}.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .IncrementItem_lIAun .incrementBtn_wF1XD.sub_L0F-M{border:none;padding-top:0;position:absolute;right:0;top:12px}.renumberPinsDlg_iEqze .container_OwqvL div.leftContent_hEXdm .IncrementItem_lIAun input{width:80px}.renumberPinsDlg_iEqze .container_OwqvL .rightContent_xxq7K{-webkit-box-flex:2;-webkit-flex:2;-moz-box-flex:2;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;flex:2;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}");stt=stt.join("");z0o.exports={uuid:"1a384423-55c3-462c-b149-7a752516b81b",locals:{"comm-icon-add":"comm-icon-add_GSBYg","comm-background-color-efefef":"comm-background-color-efefef_J659j","comm-btn-confirm":"comm-btn-confirm_QmXSR","comm-btn-cancel":"comm-btn-cancel_-10hF","opacity-none":"opacity-none_7-Cuz","pointer-events-none":"pointer-events-none_43vjA","attr-prohibit":"attr-prohibit_69HO5","display-block":"display-block_H-T7X","display-none":"display-none_vfpcq","display-flex":"display-flex_6JSYY","display-inline-flex":"display-inline-flex_vhE6g","flex-lateral-axis-center":"flex-lateral-axis-center_Ojcck","flex-lateral-axis-start":"flex-lateral-axis-start_ERr2B","flex-lateral-axis-end":"flex-lateral-axis-end_XIYEB","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_Gz8EM","flex-main-axis-center":"flex-main-axis-center_MevZp","flex-main-axis-start":"flex-main-axis-start_WnTUj","flex-main-axis-end":"flex-main-axis-end_ult20","flex-main-axis-around":"flex-main-axis-around_79GiR","flex-main-axis-between":"flex-main-axis-between_oEScy","flex-nowrap":"flex-nowrap_iurKz","flex-wrap":"flex-wrap_9ZQUm","flex-direct-row":"flex-direct-row_HsOsM","flex-direct-rerow":"flex-direct-rerow_mCjSS","flex-direct-column":"flex-direct-column_Rg3ch","flex-direct-recolumn":"flex-direct-recolumn_AO7kn","color-black-important":"color-black-important_3NOTs","color-white-important":"color-white-important_u0sbQ","bgcolor-red-important":"bgcolor-red-important_mUCrz","pop-content-container":"pop-content-container_r6zrT",oneLineOneInputDlg:"oneLineOneInputDlg_Z92ut","pop-content-wrapper":"pop-content-wrapper_R120a","comm-btn-operate-link":"comm-btn-operate-link_4LaRu","comm-btn-height":"comm-btn-height_3T-Hr","comm-btn-text":"comm-btn-text_mHuwJ","margin-btn":"margin-btn_R6ctg","margin-top":"margin-top_jxs1M","dialog-input":"dialog-input_MP7TG","device-property-key":"device-property-key_e5P43","attrs-select-wrap":"attrs-select-wrap_64goE","pop-footer-wrapper":"pop-footer-wrapper_o5wV8","comm-btn":"comm-btn_mWWxS","comm-btn-default":"comm-btn-default_BGdJg","l-btn-left":"l-btn-left_gox0k","comm-btn-left":"comm-btn-left_hG4FC","grid-export":"grid-export_hJbXe","route-link":"route-link_S01VC","window-body":"window-body_rRN6l",panel:"panel_KPMHu","window-header":"window-header_FXIh5","dialog-content":"dialog-content_I8nnu",renumberPinsDlg:"renumberPinsDlg_iEqze",container:"container_OwqvL",leftContent:"leftContent_hEXdm",renumberRow:"renumberRow_dLKvc",content:"content_of5br",floatItem:"floatItem_dutl8",label:"label_YMP-M",renumberItem:"renumberItem_2e4MJ",renumberPadsRules:"renumberPadsRules_qOsYI",renumberPinsRules:"renumberPinsRules_NHpWM",renumberPinsPrefix:"renumberPinsPrefix_B8TJo",renumberPinsSuffix:"renumberPinsSuffix_qjhRL",incrementBtn:"incrementBtn_wF1XD",incrementInput:"incrementInput_xqv5P",incrementText:"incrementText_D3bR1",IncrementItem:"IncrementItem_lIAun",add:"add_nToXR",sub:"sub_L0F-M",rightContent:"rightContent_xxq7K"},toString(){return stt}}});var q0o=xe((smd,J0o)=>{var ctt=[];ctt.push(".pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-content-wrapper_lVHoY{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-content-wrapper_lVHoY>div{overflow:auto;width:100%}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-content-wrapper_lVHoY .comm-btn-operate-link_xCS-m{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-content-wrapper_lVHoY .comm-btn-height_5CPMq{height:22px}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-content-wrapper_lVHoY .comm-btn-text_KrYKF{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-content-wrapper_lVHoY .margin-btn_YVZnv{margin-bottom:16px}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-content-wrapper_lVHoY .margin-top_7K88w{margin-top:16px}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-content-wrapper_lVHoY input.dialog-input_zvRGC{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-content-wrapper_lVHoY input.dialog-input_zvRGC:not([disabled]){color:var(--font-color-input)}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-content-wrapper_lVHoY select.dialog-input_zvRGC{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-content-wrapper_lVHoY select.dialog-input_zvRGC:not([disabled]){color:var(--font-color-input)}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-content-wrapper_lVHoY textarea.dialog-input_zvRGC{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-content-wrapper_lVHoY .device-property-key_st3mV{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-content-wrapper_lVHoY .attrs-select-wrap_zcavk{padding-left:8px}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-footer-wrapper_jqoEc{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-footer-wrapper_jqoEc .comm-btn_J2XV2{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-footer-wrapper_jqoEc .comm-btn_J2XV2:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-footer-wrapper_jqoEc .comm-btn_J2XV2.comm-btn-default_lLGui{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-footer-wrapper_jqoEc .comm-btn_J2XV2.comm-btn-default_lLGui:hover{border-color:#1890ff}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-footer-wrapper_jqoEc .comm-btn_J2XV2 .l-btn-left_2X0YF{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-footer-wrapper_jqoEc .comm-btn-left_myjZB{left:28px;position:absolute}.pop-content-container_BEaQj:not(.oneLineOneInputDlg_egPB-) .pop-footer-wrapper_jqoEc .grid-export_GTOKn .comm-btn_J2XV2:last-child{margin-left:8px}.pop-content-container_BEaQj *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_BEaQj label{position:relative}.pop-content-wrapper_lVHoY a.route-link_ExkKC,.pop-content-wrapper_lVHoY a.route-link_ExkKC:active,.pop-content-wrapper_lVHoY a.route-link_ExkKC:visited{color:#00e}div[user-resizable] .window-body_1p1Lv>.panel_ruWjG,div[user-resizable] .window-header_tLGFk{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_1p1Lv>.panel_ruWjG{height:100%!important}div[user-resizable] .window-body_1p1Lv .dialog-content_9-dQH{height:100%!important;width:100%!important}.div-fieldset_98Q-E{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;font-size:12px;margin-top:10px;padding:16px;position:relative;text-align:left}.div-fieldset_98Q-E .title_hXWod{background-color:var(--common-bg-color);left:12px;line-height:2em;padding:0 4px;position:absolute;top:-13px}");ctt=ctt.join("");J0o.exports={uuid:"a99915b2-ba6d-4a4f-aca9-0bc6b58d9d8e",locals:{"pop-content-container":"pop-content-container_BEaQj",oneLineOneInputDlg:"oneLineOneInputDlg_egPB-","pop-content-wrapper":"pop-content-wrapper_lVHoY","comm-btn-operate-link":"comm-btn-operate-link_xCS-m","comm-btn-height":"comm-btn-height_5CPMq","comm-btn-text":"comm-btn-text_KrYKF","margin-btn":"margin-btn_YVZnv","margin-top":"margin-top_7K88w","dialog-input":"dialog-input_zvRGC","device-property-key":"device-property-key_st3mV","attrs-select-wrap":"attrs-select-wrap_zcavk","pop-footer-wrapper":"pop-footer-wrapper_jqoEc","comm-btn":"comm-btn_J2XV2","comm-btn-default":"comm-btn-default_lLGui","l-btn-left":"l-btn-left_2X0YF","comm-btn-left":"comm-btn-left_myjZB","grid-export":"grid-export_GTOKn","route-link":"route-link_ExkKC","window-body":"window-body_1p1Lv",panel:"panel_ruWjG","window-header":"window-header_tLGFk","dialog-content":"dialog-content_9-dQH","div-fieldset":"div-fieldset_98Q-E",title:"title_hXWod"},toString(){return ctt}}});var opo=xe((Imd,ipo)=>{var dtt=[];dtt.push(".pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-content-wrapper_x4SHi{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-content-wrapper_x4SHi>div{overflow:auto;width:100%}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-content-wrapper_x4SHi .comm-btn-operate-link_Fv8Sg{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-content-wrapper_x4SHi .comm-btn-height_RgM-5{height:22px}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-content-wrapper_x4SHi .comm-btn-text_RZE1q{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-content-wrapper_x4SHi .margin-btn_00sqa{margin-bottom:16px}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-content-wrapper_x4SHi .margin-top_qx-Ym{margin-top:16px}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-content-wrapper_x4SHi input.dialog-input_UAw5S{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-content-wrapper_x4SHi input.dialog-input_UAw5S:not([disabled]){color:var(--font-color-input)}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-content-wrapper_x4SHi select.dialog-input_UAw5S{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-content-wrapper_x4SHi select.dialog-input_UAw5S:not([disabled]){color:var(--font-color-input)}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-content-wrapper_x4SHi textarea.dialog-input_UAw5S{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-content-wrapper_x4SHi .device-property-key_xOiJp{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-content-wrapper_x4SHi .attrs-select-wrap_nNJ6T{padding-left:8px}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-footer-wrapper_-mrFH{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-footer-wrapper_-mrFH .comm-btn_baHTm{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-footer-wrapper_-mrFH .comm-btn_baHTm:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-footer-wrapper_-mrFH .comm-btn_baHTm.comm-btn-default_gHwF6{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-footer-wrapper_-mrFH .comm-btn_baHTm.comm-btn-default_gHwF6:hover{border-color:#1890ff}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-footer-wrapper_-mrFH .comm-btn_baHTm .l-btn-left_ruCIZ{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-footer-wrapper_-mrFH .comm-btn-left_fJvyW{left:28px;position:absolute}.pop-content-container_v8cs-:not(.oneLineOneInputDlg_ThIES) .pop-footer-wrapper_-mrFH .grid-export_aTfi0 .comm-btn_baHTm:last-child{margin-left:8px}.pop-content-container_v8cs- *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_v8cs- label{position:relative}.pop-content-wrapper_x4SHi a.route-link_mOzBl,.pop-content-wrapper_x4SHi a.route-link_mOzBl:active,.pop-content-wrapper_x4SHi a.route-link_mOzBl:visited{color:#00e}div[user-resizable] .window-body_JS6AO>.panel_muI3C,div[user-resizable] .window-header_NP-iI{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_JS6AO>.panel_muI3C{height:100%!important}div[user-resizable] .window-body_JS6AO .dialog-content_NK-sn{height:100%!important;width:100%!important}.div-fieldset_eNmCk{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;font-size:12px;margin-top:10px;padding:16px;position:relative;text-align:left}.div-fieldset_eNmCk .title_HVSEk{background-color:var(--common-bg-color);left:12px;line-height:2em;padding:0 4px;position:absolute;top:-13px}");dtt=dtt.join("");ipo.exports={uuid:"59106de1-ed65-475f-a50b-f607e10da0cd",locals:{"pop-content-container":"pop-content-container_v8cs-",oneLineOneInputDlg:"oneLineOneInputDlg_ThIES","pop-content-wrapper":"pop-content-wrapper_x4SHi","comm-btn-operate-link":"comm-btn-operate-link_Fv8Sg","comm-btn-height":"comm-btn-height_RgM-5","comm-btn-text":"comm-btn-text_RZE1q","margin-btn":"margin-btn_00sqa","margin-top":"margin-top_qx-Ym","dialog-input":"dialog-input_UAw5S","device-property-key":"device-property-key_xOiJp","attrs-select-wrap":"attrs-select-wrap_nNJ6T","pop-footer-wrapper":"pop-footer-wrapper_-mrFH","comm-btn":"comm-btn_baHTm","comm-btn-default":"comm-btn-default_gHwF6","l-btn-left":"l-btn-left_ruCIZ","comm-btn-left":"comm-btn-left_fJvyW","grid-export":"grid-export_aTfi0","route-link":"route-link_mOzBl","window-body":"window-body_JS6AO",panel:"panel_muI3C","window-header":"window-header_NP-iI","dialog-content":"dialog-content_NK-sn","div-fieldset":"div-fieldset_eNmCk",title:"title_HVSEk"},toString(){return dtt}}});var qOt=xe((Vmd,lpo)=>{var O$=[];O$.push(".messager-warning_2yWQT{background-image:");O$.push("url(");O$.push(JSON.stringify(d9()));O$.push(")");O$.push(";background-position:top;background-repeat:no-repeat;background-size:auto 100%;-webkit-filter:invert(63%) sepia(81%) saturate(2292%) hue-rotate(14deg) brightness(113%) contrast(103%);filter:invert(63%) sepia(81%) saturate(2292%) hue-rotate(14deg) brightness(113%) contrast(103%);height:20px;position:absolute;width:20px}.check-line_zU1qh{display:block}.container_aLi0D{height:-webkit-fit-content!important;height:-moz-fit-content!important;height:fit-content!important;line-height:20px;max-height:500px;min-height:100px!important;overflow-y:auto;padding-left:25px}.container_aLi0D .delCBBInstance_Gi7qE{margin-bottom:10px}.container_aLi0D .error_chGXs{color:red}.container_aLi0D .select-content_w8Hhz{max-height:100px;overflow-y:auto;width:100%}.container_aLi0D .select-content_w8Hhz span{display:inline}.footer_taqut{height:28px;margin-top:16px;overflow:hidden}.footer_taqut .checkbox-text-wrap_Veu2Q{bottom:20px;left:16px;position:absolute}.footer_taqut .button-wrap_tJ8Qp{text-align:right}");O$=O$.join("");lpo.exports={uuid:"037d2a2b-5166-41aa-b149-df8b3effe007",locals:{"messager-warning":"messager-warning_2yWQT","check-line":"check-line_zU1qh",container:"container_aLi0D",delCBBInstance:"delCBBInstance_Gi7qE",error:"error_chGXs","select-content":"select-content_w8Hhz",footer:"footer_taqut","checkbox-text-wrap":"checkbox-text-wrap_Veu2Q","button-wrap":"button-wrap_tJ8Qp"},toString(){return O$}}});var f2e=xe((w1d,hpo)=>{var Sm=[];Sm.push('.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-content-wrapper_HSFCb{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-content-wrapper_HSFCb>div{overflow:auto;width:100%}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-content-wrapper_HSFCb .comm-btn-operate-link_mqtH2{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-content-wrapper_HSFCb .comm-btn-height_seiG2{height:22px}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-content-wrapper_HSFCb .comm-btn-text_lUbGU{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-content-wrapper_HSFCb .margin-btn_XriV9{margin-bottom:16px}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-content-wrapper_HSFCb .margin-top_wyR8r{margin-top:16px}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-content-wrapper_HSFCb input.dialog-input_oL58Q{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-content-wrapper_HSFCb input.dialog-input_oL58Q:not([disabled]){color:var(--font-color-input)}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-content-wrapper_HSFCb select.dialog-input_oL58Q{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-content-wrapper_HSFCb select.dialog-input_oL58Q:not([disabled]){color:var(--font-color-input)}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-content-wrapper_HSFCb textarea.dialog-input_oL58Q{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-content-wrapper_HSFCb .device-property-key_n5Nfm{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-content-wrapper_HSFCb .attrs-select-wrap_msrC9{padding-left:8px}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-footer-wrapper_iy4IF{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-footer-wrapper_iy4IF .comm-btn_w1aCP{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-footer-wrapper_iy4IF .comm-btn_w1aCP:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-footer-wrapper_iy4IF .comm-btn_w1aCP.comm-btn-default_V-kWb{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-footer-wrapper_iy4IF .comm-btn_w1aCP.comm-btn-default_V-kWb:hover{border-color:#1890ff}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-footer-wrapper_iy4IF .comm-btn_w1aCP .l-btn-left_CdGSg{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-footer-wrapper_iy4IF .comm-btn-left_RkpzR{left:28px;position:absolute}.pop-content-container_0ikg9:not(.oneLineOneInputDlg_mFyY5) .pop-footer-wrapper_iy4IF .grid-export_Dult7 .comm-btn_w1aCP:last-child{margin-left:8px}.pop-content-container_0ikg9 *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_0ikg9 label{position:relative}.pop-content-wrapper_HSFCb a.route-link_CrELl,.pop-content-wrapper_HSFCb a.route-link_CrELl:active,.pop-content-wrapper_HSFCb a.route-link_CrELl:visited{color:#00e}div[user-resizable] .window-body_AGX7n>.panel_31DR6,div[user-resizable] .window-header_UiMb2{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_AGX7n>.panel_31DR6{height:100%!important}div[user-resizable] .window-body_AGX7n .dialog-content_T3iRj{height:100%!important;width:100%!important}.markdown-body_9UWbX{--csstools-color-scheme--light:initial;color-scheme:light;text-size-adjust:100%;background-color:var(--common-bg-color);color:var(--common-font-color);font-family:-apple-system,BlinkMacSystemFont,Microsoft Yahei,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;font-size:13px;line-height:1.5;margin:0;word-wrap:break-word;scroll-behavior:auto!important}.markdown-body_9UWbX h1:hover .anchor_mqLI3 .octicon-link_pCnqp:before,.markdown-body_9UWbX h2:hover .anchor_mqLI3 .octicon-link_pCnqp:before,.markdown-body_9UWbX h3:hover .anchor_mqLI3 .octicon-link_pCnqp:before,.markdown-body_9UWbX h4:hover .anchor_mqLI3 .octicon-link_pCnqp:before,.markdown-body_9UWbX h5:hover .anchor_mqLI3 .octicon-link_pCnqp:before,.markdown-body_9UWbX h6:hover .anchor_mqLI3 .octicon-link_pCnqp:before{background-color:currentColor;content:" ";display:inline-block;height:12px;-webkit-mask-image:');Sm.push("url(");Sm.push('"data:image/svg+xml;charset=utf-8,<svg xmlns=\\"http://www.w3.org/2000/svg\\" aria-hidden=\\"true\\" viewBox=\\"0 0 16 16\\"><path fill-rule=\\"evenodd\\" d=\\"M7.775 3.275a.75.75 0 0 0 1.06 1.06l1.25-1.25a2 2 0 1 1 2.83 2.83l-2.5 2.5a2 2 0 0 1-2.83 0 .75.75 0 0 0-1.06 1.06 3.5 3.5 0 0 0 4.95 0l2.5-2.5a3.5 3.5 0 0 0-4.95-4.95zm-4.69 9.64a2 2 0 0 1 0-2.83l2.5-2.5a2 2 0 0 1 2.83 0 .75.75 0 0 0 1.06-1.06 3.5 3.5 0 0 0-4.95 0l-2.5 2.5a3.5 3.5 0 0 0 4.95 4.95l1.25-1.25a.75.75 0 0 0-1.06-1.06l-1.25 1.25a2 2 0 0 1-2.83 0\\"/></svg>"');Sm.push(")");Sm.push(";mask-image:");Sm.push("url(");Sm.push('"data:image/svg+xml;charset=utf-8,<svg xmlns=\\"http://www.w3.org/2000/svg\\" aria-hidden=\\"true\\" viewBox=\\"0 0 16 16\\"><path fill-rule=\\"evenodd\\" d=\\"M7.775 3.275a.75.75 0 0 0 1.06 1.06l1.25-1.25a2 2 0 1 1 2.83 2.83l-2.5 2.5a2 2 0 0 1-2.83 0 .75.75 0 0 0-1.06 1.06 3.5 3.5 0 0 0 4.95 0l2.5-2.5a3.5 3.5 0 0 0-4.95-4.95zm-4.69 9.64a2 2 0 0 1 0-2.83l2.5-2.5a2 2 0 0 1 2.83 0 .75.75 0 0 0 1.06-1.06 3.5 3.5 0 0 0-4.95 0l-2.5 2.5a3.5 3.5 0 0 0 4.95 4.95l1.25-1.25a.75.75 0 0 0-1.06-1.06l-1.25 1.25a2 2 0 0 1-2.83 0\\"/></svg>"');Sm.push(")");Sm.push(';width:12px}.markdown-body_9UWbX details,.markdown-body_9UWbX figcaption,.markdown-body_9UWbX figure{display:block}.markdown-body_9UWbX summary{display:list-item}.markdown-body_9UWbX [hidden]{display:none!important}.markdown-body_9UWbX a{background-color:transparent;color:#0969da;text-decoration:none}.markdown-body_9UWbX abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}.markdown-body_9UWbX b,.markdown-body_9UWbX strong{font-weight:600}.markdown-body_9UWbX dfn{font-style:italic}.markdown-body_9UWbX h1{border-bottom:1px solid var(--common-border-color);font-size:2em;font-weight:600;margin:.67em 0;padding-bottom:.3em}.markdown-body_9UWbX mark{background-color:#fff8c5;color:#1f2328}.markdown-body_9UWbX small{font-size:90%}.markdown-body_9UWbX sub,.markdown-body_9UWbX sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body_9UWbX sub{bottom:-.25em}.markdown-body_9UWbX sup{top:-.5em}.markdown-body_9UWbX img{border-style:none;-moz-box-sizing:content-box;box-sizing:content-box;max-width:100%}.markdown-body_9UWbX code,.markdown-body_9UWbX kbd,.markdown-body_9UWbX pre,.markdown-body_9UWbX samp{font-family:monospace;font-size:1em}.markdown-body_9UWbX figure{margin:1em 2.5rem}.markdown-body_9UWbX hr{background:transparent;background-color:#d1d9e0;border:0;-moz-box-sizing:content-box;box-sizing:content-box;height:.25em;margin:1.5rem 0;overflow:hidden;padding:0}.markdown-body_9UWbX input{font:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible}.markdown-body_9UWbX [type=button],.markdown-body_9UWbX [type=reset],.markdown-body_9UWbX [type=submit]{-webkit-appearance:button;-moz-appearance:button;appearance:button}.markdown-body_9UWbX [type=checkbox],.markdown-body_9UWbX [type=radio]{-moz-box-sizing:border-box;box-sizing:border-box;padding:0}.markdown-body_9UWbX [type=number]::-webkit-inner-spin-button,.markdown-body_9UWbX [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body_9UWbX [type=search]::-webkit-search-cancel-button,.markdown-body_9UWbX [type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}.markdown-body_9UWbX ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body_9UWbX ::-webkit-file-upload-button{-webkit-appearance:button;appearance:button;font:inherit}.markdown-body_9UWbX a:hover{text-decoration:underline}.markdown-body_9UWbX ::-webkit-input-placeholder{color:#59636e;opacity:1}.markdown-body_9UWbX :-moz-placeholder,.markdown-body_9UWbX ::-moz-placeholder{color:#59636e;opacity:1}.markdown-body_9UWbX ::placeholder{color:#59636e;opacity:1}.markdown-body_9UWbX hr:after,.markdown-body_9UWbX hr:before{content:"";display:table}.markdown-body_9UWbX hr:after{clear:both}.markdown-body_9UWbX table{border-collapse:collapse;border-spacing:0;display:block;max-width:100%;overflow:auto;width:-webkit-max-content;width:-moz-max-content;width:max-content}.markdown-body_9UWbX td,.markdown-body_9UWbX th{padding:0}.markdown-body_9UWbX details summary{cursor:pointer}.markdown-body_9UWbX [role=button]:focus,.markdown-body_9UWbX a:focus,.markdown-body_9UWbX input[type=checkbox]:focus,.markdown-body_9UWbX input[type=radio]:focus{box-shadow:none;outline:2px solid #0969da;outline-offset:-2px}.markdown-body_9UWbX [role=button]:focus:not(:focus-visible),.markdown-body_9UWbX a:focus:not(:focus-visible),.markdown-body_9UWbX input[type=checkbox]:focus:not(:focus-visible),.markdown-body_9UWbX input[type=radio]:focus:not(:focus-visible){outline:1px solid transparent}.markdown-body_9UWbX [role=button]:focus-visible,.markdown-body_9UWbX a:focus-visible,.markdown-body_9UWbX input[type=checkbox]:focus-visible,.markdown-body_9UWbX input[type=radio]:focus-visible{box-shadow:none;outline:2px solid #0969da;outline-offset:-2px}.markdown-body_9UWbX a:not([class]):focus,.markdown-body_9UWbX a:not([class]):focus-visible,.markdown-body_9UWbX input[type=checkbox]:focus,.markdown-body_9UWbX input[type=checkbox]:focus-visible,.markdown-body_9UWbX input[type=radio]:focus,.markdown-body_9UWbX input[type=radio]:focus-visible{outline-offset:0}.markdown-body_9UWbX kbd{background-color:#f6f8fa;border:1px solid rgba(209,217,224,.702);border-radius:6px;box-shadow:inset 0 -1px 0 rgba(209,217,224,.702);color:#1f2328;display:inline-block;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;padding:.25rem;vertical-align:middle}.markdown-body_9UWbX h1,.markdown-body_9UWbX h2,.markdown-body_9UWbX h3,.markdown-body_9UWbX h4,.markdown-body_9UWbX h5,.markdown-body_9UWbX h6{font-weight:600;line-height:1.25;margin-bottom:1rem;margin-top:1.5rem}.markdown-body_9UWbX h2{border-bottom:1px solid rgba(209,217,224,.702);font-size:1.5em;font-weight:600;padding-bottom:.3em}.markdown-body_9UWbX h3{font-size:1.25em;font-weight:600}.markdown-body_9UWbX h4{font-size:1em;font-weight:600}.markdown-body_9UWbX h5{font-size:.875em;font-weight:600}.markdown-body_9UWbX h6{color:#59636e;font-size:.85em;font-weight:600}.markdown-body_9UWbX p{margin-bottom:10px;margin-top:0}.markdown-body_9UWbX blockquote{border-left:.25em solid #d1d9e0;color:#59636e;margin:0;padding:0 1em}.markdown-body_9UWbX ol,.markdown-body_9UWbX ul{margin-bottom:0;margin-top:0;padding-left:2em}.markdown-body_9UWbX ol ol,.markdown-body_9UWbX ul ol{list-style-type:lower-roman}.markdown-body_9UWbX ol ol ol,.markdown-body_9UWbX ol ul ol,.markdown-body_9UWbX ul ol ol,.markdown-body_9UWbX ul ul ol{list-style-type:lower-alpha}.markdown-body_9UWbX dd{margin-left:0}.markdown-body_9UWbX code,.markdown-body_9UWbX pre,.markdown-body_9UWbX samp,.markdown-body_9UWbX tt{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body_9UWbX pre{margin-bottom:0;margin-top:0;word-wrap:normal}.markdown-body_9UWbX .octicon_vaF79{display:inline-block;fill:currentColor;overflow:visible!important;vertical-align:text-bottom}.markdown-body_9UWbX input::-webkit-inner-spin-button,.markdown-body_9UWbX input::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.markdown-body_9UWbX .mr-2_58Nv8{margin-right:.5rem!important}.markdown-body_9UWbX:after,.markdown-body_9UWbX:before{content:"";display:table}.markdown-body_9UWbX:after{clear:both}.markdown-body_9UWbX>:first-child{margin-top:0!important}.markdown-body_9UWbX>:last-child{margin-bottom:0!important}.markdown-body_9UWbX a:not([href]){color:inherit;text-decoration:none}.markdown-body_9UWbX .absent_D8vCd{color:#d1242f}.markdown-body_9UWbX .anchor_mqLI3{float:left;line-height:1;margin-left:-20px;padding-right:.25rem}.markdown-body_9UWbX .anchor_mqLI3:focus{outline:none}.markdown-body_9UWbX blockquote,.markdown-body_9UWbX details,.markdown-body_9UWbX dl,.markdown-body_9UWbX ol,.markdown-body_9UWbX p,.markdown-body_9UWbX pre,.markdown-body_9UWbX table,.markdown-body_9UWbX ul{margin-bottom:1rem;margin-top:0}.markdown-body_9UWbX blockquote>:first-child{margin-top:0}.markdown-body_9UWbX blockquote>:last-child{margin-bottom:0}.markdown-body_9UWbX h1 .octicon-link_pCnqp,.markdown-body_9UWbX h2 .octicon-link_pCnqp,.markdown-body_9UWbX h3 .octicon-link_pCnqp,.markdown-body_9UWbX h4 .octicon-link_pCnqp,.markdown-body_9UWbX h5 .octicon-link_pCnqp,.markdown-body_9UWbX h6 .octicon-link_pCnqp{color:#1f2328;vertical-align:middle;visibility:hidden}.markdown-body_9UWbX h1:hover .anchor_mqLI3,.markdown-body_9UWbX h2:hover .anchor_mqLI3,.markdown-body_9UWbX h3:hover .anchor_mqLI3,.markdown-body_9UWbX h4:hover .anchor_mqLI3,.markdown-body_9UWbX h5:hover .anchor_mqLI3,.markdown-body_9UWbX h6:hover .anchor_mqLI3{text-decoration:none}.markdown-body_9UWbX h1:hover .anchor_mqLI3 .octicon-link_pCnqp,.markdown-body_9UWbX h2:hover .anchor_mqLI3 .octicon-link_pCnqp,.markdown-body_9UWbX h3:hover .anchor_mqLI3 .octicon-link_pCnqp,.markdown-body_9UWbX h4:hover .anchor_mqLI3 .octicon-link_pCnqp,.markdown-body_9UWbX h5:hover .anchor_mqLI3 .octicon-link_pCnqp,.markdown-body_9UWbX h6:hover .anchor_mqLI3 .octicon-link_pCnqp{visibility:visible}.markdown-body_9UWbX h1 code,.markdown-body_9UWbX h1 tt,.markdown-body_9UWbX h2 code,.markdown-body_9UWbX h2 tt,.markdown-body_9UWbX h3 code,.markdown-body_9UWbX h3 tt,.markdown-body_9UWbX h4 code,.markdown-body_9UWbX h4 tt,.markdown-body_9UWbX h5 code,.markdown-body_9UWbX h5 tt,.markdown-body_9UWbX h6 code,.markdown-body_9UWbX h6 tt{font-size:inherit;padding:0 .2em}.markdown-body_9UWbX summary h1,.markdown-body_9UWbX summary h2,.markdown-body_9UWbX summary h3,.markdown-body_9UWbX summary h4,.markdown-body_9UWbX summary h5,.markdown-body_9UWbX summary h6{display:inline-block}.markdown-body_9UWbX summary h1 .anchor_mqLI3,.markdown-body_9UWbX summary h2 .anchor_mqLI3,.markdown-body_9UWbX summary h3 .anchor_mqLI3,.markdown-body_9UWbX summary h4 .anchor_mqLI3,.markdown-body_9UWbX summary h5 .anchor_mqLI3,.markdown-body_9UWbX summary h6 .anchor_mqLI3{margin-left:-40px}.markdown-body_9UWbX summary h1,.markdown-body_9UWbX summary h2{border-bottom:0;padding-bottom:0}.markdown-body_9UWbX ol.no-list_M-UDJ,.markdown-body_9UWbX ul.no-list_M-UDJ{list-style-type:none;padding:0}.markdown-body_9UWbX ol[type="a s"]{list-style-type:lower-alpha}.markdown-body_9UWbX ol[type="A s"]{list-style-type:upper-alpha}.markdown-body_9UWbX ol[type="i s"]{list-style-type:lower-roman}.markdown-body_9UWbX ol[type="I s"]{list-style-type:upper-roman}.markdown-body_9UWbX div>ol:not([type]),.markdown-body_9UWbX ol[type="1"]{list-style-type:decimal}.markdown-body_9UWbX ol ol,.markdown-body_9UWbX ol ul,.markdown-body_9UWbX ul ol,.markdown-body_9UWbX ul ul{margin-bottom:0;margin-top:0}.markdown-body_9UWbX li>p{margin-top:1rem}.markdown-body_9UWbX li+li{margin-top:.25em}.markdown-body_9UWbX dl{padding:0}.markdown-body_9UWbX dl dt{font-size:1em;font-style:italic;font-weight:600;margin-top:1rem;padding:0}.markdown-body_9UWbX dl dd{margin-bottom:1rem;padding:0 1rem}.markdown-body_9UWbX table th{font-weight:600}.markdown-body_9UWbX table td,.markdown-body_9UWbX table th{border:1px solid #d1d9e0;padding:6px 13px}.markdown-body_9UWbX table td>:last-child{margin-bottom:0}.markdown-body_9UWbX table tr{background-color:#fff;border-top:1px solid rgba(209,217,224,.702)}.markdown-body_9UWbX table tr:nth-child(2n){background-color:#f6f8fa}.markdown-body_9UWbX table img{background-color:transparent}.markdown-body_9UWbX img[align=right]{padding-left:20px}.markdown-body_9UWbX img[align=left]{padding-right:20px}.markdown-body_9UWbX .emoji_g0Ya7{background-color:transparent;max-width:none;vertical-align:text-top}.markdown-body_9UWbX span.frame_RFD9U{display:block;overflow:hidden}.markdown-body_9UWbX span.frame_RFD9U>span{border:1px solid #d1d9e0;display:block;float:left;margin:13px 0 0;overflow:hidden;padding:7px;width:auto}.markdown-body_9UWbX span.frame_RFD9U span img{display:block;float:left}.markdown-body_9UWbX span.frame_RFD9U span span{clear:both;color:#1f2328;display:block;padding:5px 0 0}.markdown-body_9UWbX span.align-center_B4laB{clear:both;display:block;overflow:hidden}.markdown-body_9UWbX span.align-center_B4laB>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body_9UWbX span.align-center_B4laB span img{margin:0 auto;text-align:center}.markdown-body_9UWbX span.align-right_SmMHL{clear:both;display:block;overflow:hidden}.markdown-body_9UWbX span.align-right_SmMHL>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body_9UWbX span.align-right_SmMHL span img{margin:0;text-align:right}.markdown-body_9UWbX span.float-left_zI6fo{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body_9UWbX span.float-left_zI6fo span{margin:13px 0 0}.markdown-body_9UWbX span.float-right_EKYI4{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body_9UWbX span.float-right_EKYI4>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body_9UWbX code,.markdown-body_9UWbX tt{background-color:rgba(129,139,152,.122);border-radius:6px;font-size:92%;margin:0;padding:.2em .4em;white-space:break-spaces}.markdown-body_9UWbX code br,.markdown-body_9UWbX tt br{display:none}.markdown-body_9UWbX del code{text-decoration:inherit}.markdown-body_9UWbX samp{font-size:85%}.markdown-body_9UWbX pre code{font-size:100%}.markdown-body_9UWbX pre>code{background:transparent;border:0;margin:0;padding:0;white-space:pre;word-break:normal}.markdown-body_9UWbX .highlight_ruhon{margin-bottom:1rem}.markdown-body_9UWbX .highlight_ruhon pre{margin-bottom:0;word-break:normal}.markdown-body_9UWbX .highlight_ruhon pre,.markdown-body_9UWbX pre{background-color:#f6f8fa;border-radius:6px;color:#1f2328;font-size:85%;line-height:1.45;overflow:auto;padding:1rem}.markdown-body_9UWbX pre code,.markdown-body_9UWbX pre tt{display:inline;line-height:inherit;margin:0;max-width:auto;overflow:visible;padding:0;word-wrap:normal;background-color:transparent;border:0}.markdown-body_9UWbX .csv-data_R8bVa td,.markdown-body_9UWbX .csv-data_R8bVa th{font-size:12px;line-height:1;overflow:hidden;padding:5px;text-align:left;white-space:nowrap}.markdown-body_9UWbX .csv-data_R8bVa .blob-num_om6eI{background:#fff;border:0;padding:10px .5rem 9px;text-align:right}.markdown-body_9UWbX .csv-data_R8bVa tr{border-top:0}.markdown-body_9UWbX .csv-data_R8bVa th{background:#f6f8fa;border-top:0;font-weight:600}.markdown-body_9UWbX [data-footnote-ref]:before{content:"["}.markdown-body_9UWbX [data-footnote-ref]:after{content:"]"}.markdown-body_9UWbX .footnotes_bw-P5{border-top:1px solid #d1d9e0;color:#59636e;font-size:12px}.markdown-body_9UWbX .footnotes_bw-P5 ol{padding-left:1rem}.markdown-body_9UWbX .footnotes_bw-P5 ol ul{display:inline-block;margin-top:1rem;padding-left:1rem}.markdown-body_9UWbX .footnotes_bw-P5 li{position:relative}.markdown-body_9UWbX .footnotes_bw-P5 li:target:before{border:2px solid #0969da;border-radius:6px;bottom:-.5rem;content:"";left:-1.5rem;pointer-events:none;position:absolute;right:-.5rem;top:-.5rem}.markdown-body_9UWbX .footnotes_bw-P5 li:target{color:#1f2328}.markdown-body_9UWbX .footnotes_bw-P5 .data-footnote-backref_C9AjL g-emoji{font-family:monospace}.markdown-body_9UWbX .pl-c_z0H8W{color:#59636e}.markdown-body_9UWbX .pl-c1_Z7IUg,.markdown-body_9UWbX .pl-s_xrw1m .pl-v_a-430{color:#0550ae}.markdown-body_9UWbX .pl-e_WEw4C,.markdown-body_9UWbX .pl-en_dmVgY{color:#6639ba}.markdown-body_9UWbX .pl-s_xrw1m .pl-s1_oPhdD,.markdown-body_9UWbX .pl-smi_pLbej{color:#1f2328}.markdown-body_9UWbX .pl-ent_-0vmw{color:#0550ae}.markdown-body_9UWbX .pl-k_MRqKB{color:#cf222e}.markdown-body_9UWbX .pl-pds_WwFf-,.markdown-body_9UWbX .pl-s_xrw1m,.markdown-body_9UWbX .pl-s_xrw1m .pl-pse_ZgK1Q .pl-s1_oPhdD,.markdown-body_9UWbX .pl-sr_tvXvt,.markdown-body_9UWbX .pl-sr_tvXvt .pl-cce_XBaY-,.markdown-body_9UWbX .pl-sr_tvXvt .pl-sra_aJWoB,.markdown-body_9UWbX .pl-sr_tvXvt .pl-sre_6NQL7{color:#0a3069}.markdown-body_9UWbX .pl-smw_mASS3,.markdown-body_9UWbX .pl-v_a-430{color:#953800}.markdown-body_9UWbX .pl-bu_DSwAx{color:#82071e}.markdown-body_9UWbX .pl-ii_xs4OA{background-color:#82071e;color:#f6f8fa}.markdown-body_9UWbX .pl-c2_3tKE5{background-color:#cf222e;color:#f6f8fa}.markdown-body_9UWbX .pl-sr_tvXvt .pl-cce_XBaY-{color:#116329;font-weight:700}.markdown-body_9UWbX .pl-ml_t9WCk{color:#3b2300}.markdown-body_9UWbX .pl-mh_GZhtq,.markdown-body_9UWbX .pl-mh_GZhtq .pl-en_dmVgY,.markdown-body_9UWbX .pl-ms_mfhAe{color:#0550ae;font-weight:700}.markdown-body_9UWbX .pl-mi_hsEtq{color:#1f2328;font-style:italic}.markdown-body_9UWbX .pl-mb_dgiVT{color:#1f2328;font-weight:700}.markdown-body_9UWbX .pl-md_Mey7E{background-color:#ffebe9;color:#82071e}.markdown-body_9UWbX .pl-mi1_k2LCl{background-color:#dafbe1;color:#116329}.markdown-body_9UWbX .pl-mc_KtVEs{background-color:#ffd8b5;color:#953800}.markdown-body_9UWbX .pl-mi2_BA3-j{background-color:#0550ae;color:#d1d9e0}.markdown-body_9UWbX .pl-mdr_OxPvl{color:#8250df;font-weight:700}.markdown-body_9UWbX .pl-ba_CC3wz{color:#59636e}.markdown-body_9UWbX .pl-sg_C14Ll{color:#818b98}.markdown-body_9UWbX .pl-corl_iAdCN{color:#0a3069;text-decoration:underline}.markdown-body_9UWbX [role=button]:focus:not(:focus-visible),.markdown-body_9UWbX [role=tabpanel][tabindex="0"]:focus:not(:focus-visible),.markdown-body_9UWbX a:focus:not(:focus-visible),.markdown-body_9UWbX button:focus:not(:focus-visible),.markdown-body_9UWbX summary:focus:not(:focus-visible){box-shadow:none;outline:none}.markdown-body_9UWbX [tabindex="0"]:focus:not(:focus-visible),.markdown-body_9UWbX details-dialog:focus:not(:focus-visible){outline:none}.markdown-body_9UWbX g-emoji{display:inline-block;font-family:Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:400;line-height:1;min-width:1ch;vertical-align:-.075em}.markdown-body_9UWbX g-emoji img{height:1em;width:1em}.markdown-body_9UWbX .task-list-item_TCh0-{list-style-type:none}.markdown-body_9UWbX .task-list-item_TCh0- label{font-weight:400}.markdown-body_9UWbX .task-list-item_TCh0-.enabled_r-uLS label{cursor:pointer}.markdown-body_9UWbX .task-list-item_TCh0-+.task-list-item_TCh0-{margin-top:.25rem}.markdown-body_9UWbX .task-list-item_TCh0- .handle_EuOM3{display:none}.markdown-body_9UWbX .task-list-item-checkbox_PllmS{margin:0 .2em .25em -1.4em;vertical-align:middle}[dir=rtl] .markdown-body_9UWbX ol .task-list-item-checkbox_PllmS,[dir=rtl] .markdown-body_9UWbX ul .task-list-item-checkbox_PllmS{margin:0 -1.6em .25em .2em}.markdown-body_9UWbX .contains-task-list_GddKr:focus-within .task-list-item-convert-container_zRryI,.markdown-body_9UWbX .contains-task-list_GddKr:hover .task-list-item-convert-container_zRryI{display:block;height:24px;overflow:visible;width:auto;clip:auto}.markdown-body_9UWbX ::-webkit-calendar-picker-indicator{-webkit-filter:invert(50%);filter:invert(50%)}.markdown-body_9UWbX .markdown-alert_GCc2a{border-left:.25em solid #d1d9e0;color:inherit;margin-bottom:1rem;padding:.5rem 1rem}.markdown-body_9UWbX .markdown-alert_GCc2a>:first-child{margin-top:0}.markdown-body_9UWbX .markdown-alert_GCc2a>:last-child{margin-bottom:0}.markdown-body_9UWbX .markdown-alert_GCc2a .markdown-alert-title_UPo7t{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-weight:500;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;line-height:1}.markdown-body_9UWbX .markdown-alert_GCc2a.markdown-alert-note_Fi3zN{border-left-color:#0969da}.markdown-body_9UWbX .markdown-alert_GCc2a.markdown-alert-note_Fi3zN .markdown-alert-title_UPo7t{color:#0969da}.markdown-body_9UWbX .markdown-alert_GCc2a.markdown-alert-important_kKebW{border-left-color:#8250df}.markdown-body_9UWbX .markdown-alert_GCc2a.markdown-alert-important_kKebW .markdown-alert-title_UPo7t{color:#8250df}.markdown-body_9UWbX .markdown-alert_GCc2a.markdown-alert-warning_9rjNT{border-left-color:#9a6700}.markdown-body_9UWbX .markdown-alert_GCc2a.markdown-alert-warning_9rjNT .markdown-alert-title_UPo7t{color:#9a6700}.markdown-body_9UWbX .markdown-alert_GCc2a.markdown-alert-tip_lfSuJ{border-left-color:#1a7f37}.markdown-body_9UWbX .markdown-alert_GCc2a.markdown-alert-tip_lfSuJ .markdown-alert-title_UPo7t{color:#1a7f37}.markdown-body_9UWbX .markdown-alert_GCc2a.markdown-alert-caution_qagHu{border-left-color:#cf222e}.markdown-body_9UWbX .markdown-alert_GCc2a.markdown-alert-caution_qagHu .markdown-alert-title_UPo7t{color:#d1242f}.markdown-body_9UWbX>:first-child>.heading-element_D2Jxa:first-child{margin-top:0!important}.div-fieldset_AZCCk{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;font-size:12px;margin-top:10px;padding:16px;position:relative;text-align:left}.div-fieldset_AZCCk .title_3iUk5{background-color:var(--common-bg-color);left:12px;line-height:2em;padding:0 4px;position:absolute;top:-13px}.content-wrapper_Y7UzS{border:1px solid var(--common-border-color);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-calc(100% - 51px);height:-moz-calc(100% - 51px);height:calc(100% - 51px);margin-bottom:8px;overflow:hidden;padding-bottom:2px;padding-right:16px}.content-wrapper_Y7UzS .left-content_ZavjY{border-right:1px solid var(--common-border-color);max-width:384px;width:35%}.content-wrapper_Y7UzS .left-content_ZavjY .tab-area_tfVWB{background-color:var(--common-bg-color);border-bottom:1px solid var(--border-color-panel-tab);-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:27px;padding-left:4px;padding-right:4px;padding-top:4px}.content-wrapper_Y7UzS .left-content_ZavjY .tab-area_tfVWB .tab_lzILi{display:inline-block;text-align:center;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;background-color:var(--bg-color-panel-tab);border:1px solid var(--border-color-panel-tab);-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;flex:1;height:23px;line-height:23px}.content-wrapper_Y7UzS .left-content_ZavjY .tab-area_tfVWB .tab_lzILi.active_BudPN{background-color:var(--bg-color-selected-panel-tab);border-bottom:none;color:var(--font-color-selected-panel-tab);font-weight:bolder;letter-spacing:.5px}.content-wrapper_Y7UzS .left-content_ZavjY .search-area_D7Zcb{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding-left:2px;padding-right:2px}.content-wrapper_Y7UzS .left-content_ZavjY .search-area_D7Zcb .icon_lRIu5{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;cursor:pointer;display:inline-block;height:23px;margin:4px 2px 4px 4px;width:16px}.content-wrapper_Y7UzS .left-content_ZavjY .search-area_D7Zcb .icon_lRIu5.icon-eda-filter_XjMhT{background-image:');Sm.push("url(");Sm.push(JSON.stringify(Upt()));Sm.push(")");Sm.push(";background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.content-wrapper_Y7UzS .left-content_ZavjY .search-area_D7Zcb .icon_lRIu5.icon-eda-filter_XjMhT.active_BudPN{-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%)}.content-wrapper_Y7UzS .right-content_LfwRA{max-width:683px;padding:0 8px;width:65%}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk{height:90px;padding-top:16px}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk,.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .left-img_GOhvH{height:90px;margin-right:10px}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .left-img_GOhvH .img_yDrmS{height:90px;width:90px}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;margin-left:8px}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .ellipsis_u7nSG{height:15px;line-height:15px;max-width:500px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .update_AbHbO{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:22px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .updateIcon_3AOVR{cursor:pointer;height:18px;margin-right:8px}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .version_-FVmA{background-color:#bcbcbc;border-radius:2px;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:auto;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .version_-FVmA div[class*=eda-menu-btn]>span[class*=eda-menu-btn-top]{padding-left:8px;padding-right:8px}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .version_-FVmA div[class*=eda-menu-btn]>span[class*=eda-menu-btn-top]>span[class*=eda-menu-btn-top-text]{color:#fff;font-size:12px}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .version_-FVmA div[class*=eda-menu-btn]>span[class*=eda-menu-btn-top]>span[class*=eda-menu-btn-top-arrow]{border-top-color:#fff}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .version_-FVmA:hover{background-color:#d4d4d4}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .text_6L2Dq{border-radius:2px;cursor:pointer;height:20px;line-height:20px;margin-left:8px;padding-left:6px;padding-right:6px;text-align:center;width:auto}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .text_6L2Dq.Uninstall_16DMM{border:1px solid var(--border-color-button);color:var(--font-color-button)}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .text_6L2Dq.Uninstall_16DMM:hover{background-color:var(--bg-color-hover-button);border-color:var(--border-color-hover-button)}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .text_6L2Dq.Enabled_5AwAp{border:1px solid #1890ff;color:#1890ff}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .text_6L2Dq.Enabled_5AwAp:hover{background-color:rgba(153,204,255,.3)}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .text_6L2Dq.Disabled_-rKHl{background-color:var(--bg-color-disabled-button);border:1px solid var(--border-color-disabled-button);color:var(--font-color-disabled-button)}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .text_6L2Dq.Disabled_-rKHl:hover{background-color:hsla(0,0%,75%,.3)}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .text_6L2Dq.Install_Ti5UM{background-color:#1890ff;border:1px solid #1890ff;color:#fff}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .text_6L2Dq.Install_Ti5UM:hover{background-color:#40a9ff}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .download_fdNZj{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:22px;width:18px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.content-wrapper_Y7UzS .right-content_LfwRA .top_m2Dlk .top-wrap_d2GI7 .center_Q533b .button-wrap_b3-zi .downloadIcon_mcFrU{cursor:pointer;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:18px;margin-left:8px}.footer-wrapper_t5jOl{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;height:44px;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.list-area_DmjKQ{height:-webkit-calc(100% - 60px);height:-moz-calc(100% - 60px);height:calc(100% - 60px);overflow:auto;padding-left:2px;padding-right:2px}.list-area_DmjKQ .list-wrap_AGzIU{border-bottom:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;height:70px;padding:4px 0}.list-area_DmjKQ .list-wrap_AGzIU,.list-area_DmjKQ .list-wrap_AGzIU .left_zuyam{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.list-area_DmjKQ .list-wrap_AGzIU .left_zuyam{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;height:100%}.list-area_DmjKQ .list-wrap_AGzIU .left_zuyam .img_yDrmS{height:42px;margin-left:6px;margin-right:6px;width:42px}.list-area_DmjKQ .list-wrap_AGzIU .center_Q533b{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;position:relative;width:-webkit-calc(100% - 54px);width:-moz-calc(100% - 54px);width:calc(100% - 54px);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.list-area_DmjKQ .list-wrap_AGzIU .center_Q533b .ellipsis_u7nSG{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.list-area_DmjKQ .list-wrap_AGzIU .center_Q533b .publisher_2hysV{color:gray;height:18px;max-width:270px}.list-area_DmjKQ .list-wrap_AGzIU .center_Q533b .rightBottomButtons_uREUw{bottom:0;position:absolute;right:0}.list-area_DmjKQ .list-wrap_AGzIU .center_Q533b .rightBottomButtons_uREUw .text_6L2Dq{border-radius:2px;cursor:pointer;display:inline;height:16px;margin-right:6px;padding-left:6px;padding-right:6px;text-align:center}.list-area_DmjKQ .list-wrap_AGzIU .center_Q533b .rightBottomButtons_uREUw .text_6L2Dq.Install_Ti5UM{background-color:#1890ff;border:1px solid #1890ff;color:#fff}.list-area_DmjKQ .list-wrap_AGzIU .center_Q533b .rightBottomButtons_uREUw .text_6L2Dq.Install_Ti5UM:hover{background-color:#40a9ff}.list-area_DmjKQ .list-wrap_AGzIU .center_Q533b .rightBottomButtons_uREUw .text_6L2Dq.Uninstall_16DMM{background-color:var(--bg-color-button);border:1px solid var(--border-color-button);color:var(--font-color-button)}.list-area_DmjKQ .list-wrap_AGzIU .center_Q533b .rightBottomButtons_uREUw .text_6L2Dq.Uninstall_16DMM:hover{background-color:var(--bg-color-hover-button);border-color:var(--border-color-hover-button)}.list-area_DmjKQ .list-wrap_AGzIU .center_Q533b .rightBottomButtons_uREUw .text_6L2Dq.Update_fqnUA{background-color:#1890ff;border:1px solid #1890ff;color:#fff}.list-area_DmjKQ .list-wrap_AGzIU .center_Q533b .rightBottomButtons_uREUw .text_6L2Dq.Update_fqnUA:hover{background-color:#40a9ff}.list-area_DmjKQ .list-wrap_AGzIU.selected_bR9BD,.list-area_DmjKQ .list-wrap_AGzIU:hover{background-color:var(--bg-color-hover-tree);color:var(--font-color-sch-leftTree)}.detail-wrap_UwLnU{height:-webkit-calc(100% - 90px);height:-moz-calc(100% - 90px);height:calc(100% - 90px)}.detail-wrap_UwLnU .tab-wrap_ool-S{border-bottom:1px solid var(--border-color-layout_toggler);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:8px 0}.detail-wrap_UwLnU .tab-wrap_ool-S span{color:var(--border-color-layout_toggler);line-height:16px}.detail-wrap_UwLnU .tab-wrap_ool-S .tab_lzILi{cursor:pointer;padding:0 8px}.detail-wrap_UwLnU .tab-wrap_ool-S .tab_lzILi.active_BudPN{color:#1890ff;font-weight:bolder}.detail-wrap_UwLnU .config-wrap_N2ePf{border-right:1px solid var(--common-border-color);padding:8px 16px;width:70%}.detail-wrap_UwLnU .config-wrap_N2ePf .config-item_A-w1Q,.detail-wrap_UwLnU .detail-content-wrap_GT-HB{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.detail-wrap_UwLnU .detail-content-wrap_GT-HB{height:-webkit-calc(100% - 57px);height:-moz-calc(100% - 57px);height:calc(100% - 57px);padding-top:8px}.detail-wrap_UwLnU .detail-content-wrap_GT-HB .md-wrap_zAnY-{border-right:1px solid var(--common-border-color);height:100%;overflow:auto;padding-right:8px;width:70%}.detail-wrap_UwLnU .detail-content-wrap_GT-HB .right-detail-wrap_D41IL{padding-left:8px;width:30%}.detail-wrap_UwLnU .detail-content-wrap_GT-HB .right-detail-wrap_D41IL .detail-title_z7vu-{font-size:14px;font-weight:700;margin:10px 0}.detail-wrap_UwLnU .detail-content-wrap_GT-HB .right-detail-wrap_D41IL .keywords-wrap_EJqmt .keywords-item_H0jbq{margin-right:8px}.detail-wrap_UwLnU .detail-content-wrap_GT-HB .right-detail-wrap_D41IL .other-detail-wrap_1kwtd{border:1px solid var(--common-border-color);border-bottom:none}.detail-wrap_UwLnU .detail-content-wrap_GT-HB .right-detail-wrap_D41IL .other-detail-wrap_1kwtd .detail-item_6WlQH{border-bottom:1px solid var(--common-border-color);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:24px}.detail-wrap_UwLnU .detail-content-wrap_GT-HB .right-detail-wrap_D41IL .other-detail-wrap_1kwtd .detail-item_6WlQH .key-item_G2b9G{border-right:1px solid var(--common-border-color);display:inline-block;line-height:24px;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:84px}.detail-wrap_UwLnU .detail-content-wrap_GT-HB .right-detail-wrap_D41IL .other-detail-wrap_1kwtd .detail-item_6WlQH .value-item_NHC-H{cursor:pointer;display:inline-block;line-height:24px;max-width:115px;overflow:hidden;padding:0 2px;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:115px}.detail-wrap_UwLnU .detail-content-wrap_GT-HB .right-detail-wrap_D41IL .tree-wrap_P3f-I{border:1px solid var(--common-border-color);max-height:200px;overflow:auto}.detail-wrap_UwLnU .detail-content-wrap_GT-HB .right-detail-wrap_D41IL a{color:#1890ff;cursor:pointer;line-height:18px;text-decoration:none}.menu-tree_qWKPM{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;position:relative}.menu-tree_qWKPM .v-h-logo-2_r-NTF{background-image:");Sm.push("url(");Sm.push(JSON.stringify($ce()));Sm.push(")");Sm.push("}.menu-tree_qWKPM .icon-span_VImGL{display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);width:12px}.menu-tree_qWKPM .v-h-logo-1_4Sy5Y{background-image:");Sm.push("url(");Sm.push(JSON.stringify(GAe()));Sm.push(")");Sm.push("}.menu-tree_qWKPM .v-logo_2cv-r{background-image:");Sm.push("url(");Sm.push(JSON.stringify(lmt()));Sm.push(")");Sm.push("}.menu-tree_qWKPM .tree-title_xDZLX{margin-left:4px;max-width:143px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}");Sm=Sm.join("");hpo.exports={uuid:"29d3ba23-ef83-49f7-9194-90ceaf2bb887",locals:{"pop-content-container":"pop-content-container_0ikg9",oneLineOneInputDlg:"oneLineOneInputDlg_mFyY5","pop-content-wrapper":"pop-content-wrapper_HSFCb","comm-btn-operate-link":"comm-btn-operate-link_mqtH2","comm-btn-height":"comm-btn-height_seiG2","comm-btn-text":"comm-btn-text_lUbGU","margin-btn":"margin-btn_XriV9","margin-top":"margin-top_wyR8r","dialog-input":"dialog-input_oL58Q","device-property-key":"device-property-key_n5Nfm","attrs-select-wrap":"attrs-select-wrap_msrC9","pop-footer-wrapper":"pop-footer-wrapper_iy4IF","comm-btn":"comm-btn_w1aCP","comm-btn-default":"comm-btn-default_V-kWb","l-btn-left":"l-btn-left_CdGSg","comm-btn-left":"comm-btn-left_RkpzR","grid-export":"grid-export_Dult7","route-link":"route-link_CrELl","window-body":"window-body_AGX7n",panel:"panel_31DR6","window-header":"window-header_UiMb2","dialog-content":"dialog-content_T3iRj","markdown-body":"markdown-body_9UWbX",anchor:"anchor_mqLI3","octicon-link":"octicon-link_pCnqp",octicon:"octicon_vaF79","mr-2":"mr-2_58Nv8",absent:"absent_D8vCd","no-list":"no-list_M-UDJ",emoji:"emoji_g0Ya7",frame:"frame_RFD9U","align-center":"align-center_B4laB","align-right":"align-right_SmMHL","float-left":"float-left_zI6fo","float-right":"float-right_EKYI4",highlight:"highlight_ruhon","csv-data":"csv-data_R8bVa","blob-num":"blob-num_om6eI",footnotes:"footnotes_bw-P5","data-footnote-backref":"data-footnote-backref_C9AjL","pl-c":"pl-c_z0H8W","pl-c1":"pl-c1_Z7IUg","pl-s":"pl-s_xrw1m","pl-v":"pl-v_a-430","pl-e":"pl-e_WEw4C","pl-en":"pl-en_dmVgY","pl-s1":"pl-s1_oPhdD","pl-smi":"pl-smi_pLbej","pl-ent":"pl-ent_-0vmw","pl-k":"pl-k_MRqKB","pl-pds":"pl-pds_WwFf-","pl-pse":"pl-pse_ZgK1Q","pl-sr":"pl-sr_tvXvt","pl-cce":"pl-cce_XBaY-","pl-sra":"pl-sra_aJWoB","pl-sre":"pl-sre_6NQL7","pl-smw":"pl-smw_mASS3","pl-bu":"pl-bu_DSwAx","pl-ii":"pl-ii_xs4OA","pl-c2":"pl-c2_3tKE5","pl-ml":"pl-ml_t9WCk","pl-mh":"pl-mh_GZhtq","pl-ms":"pl-ms_mfhAe","pl-mi":"pl-mi_hsEtq","pl-mb":"pl-mb_dgiVT","pl-md":"pl-md_Mey7E","pl-mi1":"pl-mi1_k2LCl","pl-mc":"pl-mc_KtVEs","pl-mi2":"pl-mi2_BA3-j","pl-mdr":"pl-mdr_OxPvl","pl-ba":"pl-ba_CC3wz","pl-sg":"pl-sg_C14Ll","pl-corl":"pl-corl_iAdCN","task-list-item":"task-list-item_TCh0-",enabled:"enabled_r-uLS",handle:"handle_EuOM3","task-list-item-checkbox":"task-list-item-checkbox_PllmS","contains-task-list":"contains-task-list_GddKr","task-list-item-convert-container":"task-list-item-convert-container_zRryI","markdown-alert":"markdown-alert_GCc2a","markdown-alert-title":"markdown-alert-title_UPo7t","markdown-alert-note":"markdown-alert-note_Fi3zN","markdown-alert-important":"markdown-alert-important_kKebW","markdown-alert-warning":"markdown-alert-warning_9rjNT","markdown-alert-tip":"markdown-alert-tip_lfSuJ","markdown-alert-caution":"markdown-alert-caution_qagHu","heading-element":"heading-element_D2Jxa","div-fieldset":"div-fieldset_AZCCk",title:"title_3iUk5","content-wrapper":"content-wrapper_Y7UzS","left-content":"left-content_ZavjY","tab-area":"tab-area_tfVWB",tab:"tab_lzILi",active:"active_BudPN","search-area":"search-area_D7Zcb",icon:"icon_lRIu5","icon-eda-filter":"icon-eda-filter_XjMhT","right-content":"right-content_LfwRA",top:"top_m2Dlk","top-wrap":"top-wrap_d2GI7","left-img":"left-img_GOhvH",img:"img_yDrmS",center:"center_Q533b",ellipsis:"ellipsis_u7nSG","button-wrap":"button-wrap_b3-zi",update:"update_AbHbO",updateIcon:"updateIcon_3AOVR",version:"version_-FVmA",text:"text_6L2Dq",Uninstall:"Uninstall_16DMM",Enabled:"Enabled_5AwAp",Disabled:"Disabled_-rKHl",Install:"Install_Ti5UM",download:"download_fdNZj",downloadIcon:"downloadIcon_mcFrU","footer-wrapper":"footer-wrapper_t5jOl","list-area":"list-area_DmjKQ","list-wrap":"list-wrap_AGzIU",left:"left_zuyam",publisher:"publisher_2hysV",rightBottomButtons:"rightBottomButtons_uREUw",Update:"Update_fqnUA",selected:"selected_bR9BD","detail-wrap":"detail-wrap_UwLnU","tab-wrap":"tab-wrap_ool-S","config-wrap":"config-wrap_N2ePf","config-item":"config-item_A-w1Q","detail-content-wrap":"detail-content-wrap_GT-HB","md-wrap":"md-wrap_zAnY-","right-detail-wrap":"right-detail-wrap_D41IL","detail-title":"detail-title_z7vu-","keywords-wrap":"keywords-wrap_EJqmt","keywords-item":"keywords-item_H0jbq","other-detail-wrap":"other-detail-wrap_1kwtd","detail-item":"detail-item_6WlQH","key-item":"key-item_G2b9G","value-item":"value-item_NHC-H","tree-wrap":"tree-wrap_P3f-I","menu-tree":"menu-tree_qWKPM","v-h-logo-2":"v-h-logo-2_r-NTF","icon-span":"icon-span_VImGL","v-h-logo-1":"v-h-logo-1_4Sy5Y","v-logo":"v-logo_2cv-r","tree-title":"tree-title_xDZLX"},toString(){return Sm}}});var kIe=xe((I1d,bpo)=>{var s_r="2.0.0",l_r=Number.MAX_SAFE_INTEGER||9007199254740991,c_r=16,d_r=250,u_r=["major","premajor","minor","preminor","patch","prepatch","prerelease"];bpo.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:c_r,MAX_SAFE_BUILD_LENGTH:d_r,MAX_SAFE_INTEGER:l_r,RELEASE_TYPES:u_r,SEMVER_SPEC_VERSION:s_r,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var PIe=xe((L1d,ypo)=>{var p_r=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};ypo.exports=p_r});var g2e=xe((_z,wpo)=>{var{MAX_SAFE_COMPONENT_LENGTH:eRt,MAX_SAFE_BUILD_LENGTH:m_r,MAX_LENGTH:h_r}=kIe(),f_r=PIe();_z=wpo.exports={};var g_r=_z.re=[],b_r=_z.safeRe=[],jn=_z.src=[],y_r=_z.safeSrc=[],Bn=_z.t={},w_r=0,tRt="[a-zA-Z0-9-]",C_r=[["\\s",1],["\\d",h_r],[tRt,m_r]],x_r=t=>{for(let[e,i]of C_r)t=t.split(`${e}*`).join(`${e}{0,${i}}`).split(`${e}+`).join(`${e}{1,${i}}`);return t},oc=(t,e,i)=>{let o=x_r(e),r=w_r++;f_r(t,r,e),Bn[t]=r,jn[r]=e,y_r[r]=o,g_r[r]=new RegExp(e,i?"g":void 0),b_r[r]=new RegExp(o,i?"g":void 0)};oc("NUMERICIDENTIFIER","0|[1-9]\\d*");oc("NUMERICIDENTIFIERLOOSE","\\d+");oc("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${tRt}*`);oc("MAINVERSION",`(${jn[Bn.NUMERICIDENTIFIER]})\\.(${jn[Bn.NUMERICIDENTIFIER]})\\.(${jn[Bn.NUMERICIDENTIFIER]})`);oc("MAINVERSIONLOOSE",`(${jn[Bn.NUMERICIDENTIFIERLOOSE]})\\.(${jn[Bn.NUMERICIDENTIFIERLOOSE]})\\.(${jn[Bn.NUMERICIDENTIFIERLOOSE]})`);oc("PRERELEASEIDENTIFIER",`(?:${jn[Bn.NUMERICIDENTIFIER]}|${jn[Bn.NONNUMERICIDENTIFIER]})`);oc("PRERELEASEIDENTIFIERLOOSE",`(?:${jn[Bn.NUMERICIDENTIFIERLOOSE]}|${jn[Bn.NONNUMERICIDENTIFIER]})`);oc("PRERELEASE",`(?:-(${jn[Bn.PRERELEASEIDENTIFIER]}(?:\\.${jn[Bn.PRERELEASEIDENTIFIER]})*))`);oc("PRERELEASELOOSE",`(?:-?(${jn[Bn.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${jn[Bn.PRERELEASEIDENTIFIERLOOSE]})*))`);oc("BUILDIDENTIFIER",`${tRt}+`);oc("BUILD",`(?:\\+(${jn[Bn.BUILDIDENTIFIER]}(?:\\.${jn[Bn.BUILDIDENTIFIER]})*))`);oc("FULLPLAIN",`v?${jn[Bn.MAINVERSION]}${jn[Bn.PRERELEASE]}?${jn[Bn.BUILD]}?`);oc("FULL",`^${jn[Bn.FULLPLAIN]}$`);oc("LOOSEPLAIN",`[v=\\s]*${jn[Bn.MAINVERSIONLOOSE]}${jn[Bn.PRERELEASELOOSE]}?${jn[Bn.BUILD]}?`);oc("LOOSE",`^${jn[Bn.LOOSEPLAIN]}$`);oc("GTLT","((?:<|>)?=?)");oc("XRANGEIDENTIFIERLOOSE",`${jn[Bn.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);oc("XRANGEIDENTIFIER",`${jn[Bn.NUMERICIDENTIFIER]}|x|X|\\*`);oc("XRANGEPLAIN",`[v=\\s]*(${jn[Bn.XRANGEIDENTIFIER]})(?:\\.(${jn[Bn.XRANGEIDENTIFIER]})(?:\\.(${jn[Bn.XRANGEIDENTIFIER]})(?:${jn[Bn.PRERELEASE]})?${jn[Bn.BUILD]}?)?)?`);oc("XRANGEPLAINLOOSE",`[v=\\s]*(${jn[Bn.XRANGEIDENTIFIERLOOSE]})(?:\\.(${jn[Bn.XRANGEIDENTIFIERLOOSE]})(?:\\.(${jn[Bn.XRANGEIDENTIFIERLOOSE]})(?:${jn[Bn.PRERELEASELOOSE]})?${jn[Bn.BUILD]}?)?)?`);oc("XRANGE",`^${jn[Bn.GTLT]}\\s*${jn[Bn.XRANGEPLAIN]}$`);oc("XRANGELOOSE",`^${jn[Bn.GTLT]}\\s*${jn[Bn.XRANGEPLAINLOOSE]}$`);oc("COERCEPLAIN",`(^|[^\\d])(\\d{1,${eRt}})(?:\\.(\\d{1,${eRt}}))?(?:\\.(\\d{1,${eRt}}))?`);oc("COERCE",`${jn[Bn.COERCEPLAIN]}(?:$|[^\\d])`);oc("COERCEFULL",jn[Bn.COERCEPLAIN]+`(?:${jn[Bn.PRERELEASE]})?(?:${jn[Bn.BUILD]})?(?:$|[^\\d])`);oc("COERCERTL",jn[Bn.COERCE],!0);oc("COERCERTLFULL",jn[Bn.COERCEFULL],!0);oc("LONETILDE","(?:~>?)");oc("TILDETRIM",`(\\s*)${jn[Bn.LONETILDE]}\\s+`,!0);_z.tildeTrimReplace="$1~";oc("TILDE",`^${jn[Bn.LONETILDE]}${jn[Bn.XRANGEPLAIN]}$`);oc("TILDELOOSE",`^${jn[Bn.LONETILDE]}${jn[Bn.XRANGEPLAINLOOSE]}$`);oc("LONECARET","(?:\\^)");oc("CARETTRIM",`(\\s*)${jn[Bn.LONECARET]}\\s+`,!0);_z.caretTrimReplace="$1^";oc("CARET",`^${jn[Bn.LONECARET]}${jn[Bn.XRANGEPLAIN]}$`);oc("CARETLOOSE",`^${jn[Bn.LONECARET]}${jn[Bn.XRANGEPLAINLOOSE]}$`);oc("COMPARATORLOOSE",`^${jn[Bn.GTLT]}\\s*(${jn[Bn.LOOSEPLAIN]})$|^$`);oc("COMPARATOR",`^${jn[Bn.GTLT]}\\s*(${jn[Bn.FULLPLAIN]})$|^$`);oc("COMPARATORTRIM",`(\\s*)${jn[Bn.GTLT]}\\s*(${jn[Bn.LOOSEPLAIN]}|${jn[Bn.XRANGEPLAIN]})`,!0);_z.comparatorTrimReplace="$1$2$3";oc("HYPHENRANGE",`^\\s*(${jn[Bn.XRANGEPLAIN]})\\s+-\\s+(${jn[Bn.XRANGEPLAIN]})\\s*$`);oc("HYPHENRANGELOOSE",`^\\s*(${jn[Bn.XRANGEPLAINLOOSE]})\\s+-\\s+(${jn[Bn.XRANGEPLAINLOOSE]})\\s*$`);oc("STAR","(<|>)?=?\\s*\\*");oc("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");oc("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var mtt=xe((v1d,Cpo)=>{var T_r=Object.freeze({loose:!0}),S_r=Object.freeze({}),M_r=t=>t?typeof t!="object"?T_r:t:S_r;Cpo.exports=M_r});var iRt=xe((D1d,Spo)=>{var xpo=/^[0-9]+$/,Tpo=(t,e)=>{let i=xpo.test(t),o=xpo.test(e);return i&&o&&(t=+t,e=+e),t===e?0:i&&!o?-1:o&&!i?1:t<e?-1:1},I_r=(t,e)=>Tpo(e,t);Spo.exports={compareIdentifiers:Tpo,rcompareIdentifiers:I_r}});var P5=xe((E1d,vpo)=>{var htt=PIe(),{MAX_LENGTH:Mpo,MAX_SAFE_INTEGER:ftt}=kIe(),{safeRe:Ipo,safeSrc:Lpo,t:gtt}=g2e(),L_r=mtt(),{compareIdentifiers:b2e}=iRt(),oRt=class t{constructor(e,i){if(i=L_r(i),e instanceof t){if(e.loose===!!i.loose&&e.includePrerelease===!!i.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>Mpo)throw new TypeError(`version is longer than ${Mpo} characters`);htt("SemVer",e,i),this.options=i,this.loose=!!i.loose,this.includePrerelease=!!i.includePrerelease;let o=e.trim().match(i.loose?Ipo[gtt.LOOSE]:Ipo[gtt.FULL]);if(!o)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>ftt||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ftt||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ftt||this.patch<0)throw new TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map(r=>{if(/^[0-9]+$/.test(r)){let n=+r;if(n>=0&&n<ftt)return n}return r}):this.prerelease=[],this.build=o[5]?o[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(htt("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),b2e(this.major,e.major)||b2e(this.minor,e.minor)||b2e(this.patch,e.patch)}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let i=0;do{let o=this.prerelease[i],r=e.prerelease[i];if(htt("prerelease compare",i,o,r),o===void 0&&r===void 0)return 0;if(r===void 0)return 1;if(o===void 0)return-1;if(o===r)continue;return b2e(o,r)}while(++i)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let i=0;do{let o=this.build[i],r=e.build[i];if(htt("build compare",i,o,r),o===void 0&&r===void 0)return 0;if(r===void 0)return 1;if(o===void 0)return-1;if(o===r)continue;return b2e(o,r)}while(++i)}inc(e,i,o){if(e.startsWith("pre")){if(!i&&o===!1)throw new Error("invalid increment argument: identifier is empty");if(i){let r=new RegExp(`^${this.options.loose?Lpo[gtt.PRERELEASELOOSE]:Lpo[gtt.PRERELEASE]}$`),n=`-${i}`.match(r);if(!n||n[1]!==i)throw new Error(`invalid identifier: ${i}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",i,o);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",i,o);break;case"prepatch":this.prerelease.length=0,this.inc("patch",i,o),this.inc("pre",i,o);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",i,o),this.inc("pre",i,o);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let r=Number(o)?1:0;if(this.prerelease.length===0)this.prerelease=[r];else{let n=this.prerelease.length;for(;--n>=0;)typeof this.prerelease[n]=="number"&&(this.prerelease[n]++,n=-2);if(n===-1){if(i===this.prerelease.join(".")&&o===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(r)}}if(i){let n=[i,r];o===!1&&(n=[i]),b2e(this.prerelease[0],i)===0?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};vpo.exports=oRt});var gse=xe((A1d,Epo)=>{var Dpo=P5(),v_r=(t,e,i=!1)=>{if(t instanceof Dpo)return t;try{return new Dpo(t,e)}catch(o){if(!i)return null;throw o}};Epo.exports=v_r});var Npo=xe((N1d,Apo)=>{var D_r=gse(),E_r=(t,e)=>{let i=D_r(t,e);return i?i.version:null};Apo.exports=E_r});var Ppo=xe((k1d,kpo)=>{var A_r=gse(),N_r=(t,e)=>{let i=A_r(t.trim().replace(/^[=v]+/,""),e);return i?i.version:null};kpo.exports=N_r});var _po=xe((P1d,Rpo)=>{var Opo=P5(),k_r=(t,e,i,o,r)=>{typeof i=="string"&&(r=o,o=i,i=void 0);try{return new Opo(t instanceof Opo?t.version:t,i).inc(e,o,r).version}catch{return null}};Rpo.exports=k_r});var zpo=xe((O1d,Bpo)=>{var jpo=gse(),P_r=(t,e)=>{let i=jpo(t,null,!0),o=jpo(e,null,!0),r=i.compare(o);if(r===0)return null;let n=r>0,a=n?i:o,s=n?o:i,l=!!a.prerelease.length;if(!!s.prerelease.length&&!l){if(!s.patch&&!s.minor)return"major";if(s.compareMain(a)===0)return s.minor&&!s.patch?"minor":"patch"}let d=l?"pre":"";return i.major!==o.major?d+"major":i.minor!==o.minor?d+"minor":i.patch!==o.patch?d+"patch":"prerelease"};Bpo.exports=P_r});var Upo=xe((R1d,Fpo)=>{var O_r=P5(),R_r=(t,e)=>new O_r(t,e).major;Fpo.exports=R_r});var Hpo=xe((_1d,Vpo)=>{var __r=P5(),j_r=(t,e)=>new __r(t,e).minor;Vpo.exports=j_r});var Ypo=xe((j1d,Gpo)=>{var B_r=P5(),z_r=(t,e)=>new B_r(t,e).patch;Gpo.exports=z_r});var Qpo=xe((B1d,Wpo)=>{var F_r=gse(),U_r=(t,e)=>{let i=F_r(t,e);return i&&i.prerelease.length?i.prerelease:null};Wpo.exports=U_r});var ik=xe((z1d,Zpo)=>{var Kpo=P5(),V_r=(t,e,i)=>new Kpo(t,i).compare(new Kpo(e,i));Zpo.exports=V_r});var qpo=xe((F1d,Jpo)=>{var H_r=ik(),G_r=(t,e,i)=>H_r(e,t,i);Jpo.exports=G_r});var $po=xe((U1d,Xpo)=>{var Y_r=ik(),W_r=(t,e)=>Y_r(t,e,!0);Xpo.exports=W_r});var btt=xe((V1d,tmo)=>{var emo=P5(),Q_r=(t,e,i)=>{let o=new emo(t,i),r=new emo(e,i);return o.compare(r)||o.compareBuild(r)};tmo.exports=Q_r});var omo=xe((H1d,imo)=>{var K_r=btt(),Z_r=(t,e)=>t.sort((i,o)=>K_r(i,o,e));imo.exports=Z_r});var nmo=xe((G1d,rmo)=>{var J_r=btt(),q_r=(t,e)=>t.sort((i,o)=>J_r(o,i,e));rmo.exports=q_r});var OIe=xe((Y1d,amo)=>{var X_r=ik(),$_r=(t,e,i)=>X_r(t,e,i)>0;amo.exports=$_r});var ytt=xe((W1d,smo)=>{var ejr=ik(),tjr=(t,e,i)=>ejr(t,e,i)<0;smo.exports=tjr});var rRt=xe((Q1d,lmo)=>{var ijr=ik(),ojr=(t,e,i)=>ijr(t,e,i)===0;lmo.exports=ojr});var nRt=xe((K1d,cmo)=>{var rjr=ik(),njr=(t,e,i)=>rjr(t,e,i)!==0;cmo.exports=njr});var wtt=xe((Z1d,dmo)=>{var ajr=ik(),sjr=(t,e,i)=>ajr(t,e,i)>=0;dmo.exports=sjr});var Ctt=xe((J1d,umo)=>{var ljr=ik(),cjr=(t,e,i)=>ljr(t,e,i)<=0;umo.exports=cjr});var aRt=xe((q1d,pmo)=>{var djr=rRt(),ujr=nRt(),pjr=OIe(),mjr=wtt(),hjr=ytt(),fjr=Ctt(),gjr=(t,e,i,o)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof i=="object"&&(i=i.version),t===i;case"!==":return typeof t=="object"&&(t=t.version),typeof i=="object"&&(i=i.version),t!==i;case"":case"=":case"==":return djr(t,i,o);case"!=":return ujr(t,i,o);case">":return pjr(t,i,o);case">=":return mjr(t,i,o);case"<":return hjr(t,i,o);case"<=":return fjr(t,i,o);default:throw new TypeError(`Invalid operator: ${e}`)}};pmo.exports=gjr});var hmo=xe((X1d,mmo)=>{var bjr=P5(),yjr=gse(),{safeRe:xtt,t:Ttt}=g2e(),wjr=(t,e)=>{if(t instanceof bjr)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let i=null;if(!e.rtl)i=t.match(e.includePrerelease?xtt[Ttt.COERCEFULL]:xtt[Ttt.COERCE]);else{let l=e.includePrerelease?xtt[Ttt.COERCERTLFULL]:xtt[Ttt.COERCERTL],c;for(;(c=l.exec(t))&&(!i||i.index+i[0].length!==t.length);)(!i||c.index+c[0].length!==i.index+i[0].length)&&(i=c),l.lastIndex=c.index+c[1].length+c[2].length;l.lastIndex=-1}if(i===null)return null;let o=i[2],r=i[3]||"0",n=i[4]||"0",a=e.includePrerelease&&i[5]?`-${i[5]}`:"",s=e.includePrerelease&&i[6]?`+${i[6]}`:"";return yjr(`${o}.${r}.${n}${a}${s}`,e)};mmo.exports=wjr});var gmo=xe(($1d,fmo)=>{var sRt=class{constructor(){this.max=1e3,this.map=new Map}get(e){let i=this.map.get(e);if(i!==void 0)return this.map.delete(e),this.map.set(e,i),i}delete(e){return this.map.delete(e)}set(e,i){if(!this.delete(e)&&i!==void 0){if(this.map.size>=this.max){let r=this.map.keys().next().value;this.delete(r)}this.map.set(e,i)}return this}};fmo.exports=sRt});var ok=xe((ehd,Cmo)=>{var Cjr=/\s+/g,lRt=class t{constructor(e,i){if(i=Tjr(i),e instanceof t)return e.loose===!!i.loose&&e.includePrerelease===!!i.includePrerelease?e:new t(e.raw,i);if(e instanceof cRt)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=i,this.loose=!!i.loose,this.includePrerelease=!!i.includePrerelease,this.raw=e.trim().replace(Cjr," "),this.set=this.raw.split("||").map(o=>this.parseRange(o.trim())).filter(o=>o.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let o=this.set[0];if(this.set=this.set.filter(r=>!ymo(r[0])),this.set.length===0)this.set=[o];else if(this.set.length>1){for(let r of this.set)if(r.length===1&&Ejr(r[0])){this.set=[r];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let i=this.set[e];for(let o=0;o<i.length;o++)o>0&&(this.formatted+=" "),this.formatted+=i[o].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let o=((this.options.includePrerelease&&vjr)|(this.options.loose&&Djr))+":"+e,r=bmo.get(o);if(r)return r;let n=this.options.loose,a=n?lL[GM.HYPHENRANGELOOSE]:lL[GM.HYPHENRANGE];e=e.replace(a,zjr(this.options.includePrerelease)),Mh("hyphen replace",e),e=e.replace(lL[GM.COMPARATORTRIM],Mjr),Mh("comparator trim",e),e=e.replace(lL[GM.TILDETRIM],Ijr),Mh("tilde trim",e),e=e.replace(lL[GM.CARETTRIM],Ljr),Mh("caret trim",e);let s=e.split(" ").map(u=>Ajr(u,this.options)).join(" ").split(/\s+/).map(u=>Bjr(u,this.options));n&&(s=s.filter(u=>(Mh("loose invalid filter",u,this.options),!!u.match(lL[GM.COMPARATORLOOSE])))),Mh("range list",s);let l=new Map,c=s.map(u=>new cRt(u,this.options));for(let u of c){if(ymo(u))return[u];l.set(u.value,u)}l.size>1&&l.has("")&&l.delete("");let d=[...l.values()];return bmo.set(o,d),d}intersects(e,i){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(o=>wmo(o,i)&&e.set.some(r=>wmo(r,i)&&o.every(n=>r.every(a=>n.intersects(a,i)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new Sjr(e,this.options)}catch{return!1}for(let i=0;i<this.set.length;i++)if(Fjr(this.set[i],e,this.options))return!0;return!1}};Cmo.exports=lRt;var xjr=gmo(),bmo=new xjr,Tjr=mtt(),cRt=RIe(),Mh=PIe(),Sjr=P5(),{safeRe:lL,t:GM,comparatorTrimReplace:Mjr,tildeTrimReplace:Ijr,caretTrimReplace:Ljr}=g2e(),{FLAG_INCLUDE_PRERELEASE:vjr,FLAG_LOOSE:Djr}=kIe(),ymo=t=>t.value==="<0.0.0-0",Ejr=t=>t.value==="",wmo=(t,e)=>{let i=!0,o=t.slice(),r=o.pop();for(;i&&o.length;)i=o.every(n=>r.intersects(n,e)),r=o.pop();return i},Ajr=(t,e)=>(Mh("comp",t,e),t=Pjr(t,e),Mh("caret",t),t=Njr(t,e),Mh("tildes",t),t=Rjr(t,e),Mh("xrange",t),t=jjr(t,e),Mh("stars",t),t),YM=t=>!t||t.toLowerCase()==="x"||t==="*",Njr=(t,e)=>t.trim().split(/\s+/).map(i=>kjr(i,e)).join(" "),kjr=(t,e)=>{let i=e.loose?lL[GM.TILDELOOSE]:lL[GM.TILDE];return t.replace(i,(o,r,n,a,s)=>{Mh("tilde",t,o,r,n,a,s);let l;return YM(r)?l="":YM(n)?l=`>=${r}.0.0 <${+r+1}.0.0-0`:YM(a)?l=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:s?(Mh("replaceTilde pr",s),l=`>=${r}.${n}.${a}-${s} <${r}.${+n+1}.0-0`):l=`>=${r}.${n}.${a} <${r}.${+n+1}.0-0`,Mh("tilde return",l),l})},Pjr=(t,e)=>t.trim().split(/\s+/).map(i=>Ojr(i,e)).join(" "),Ojr=(t,e)=>{Mh("caret",t,e);let i=e.loose?lL[GM.CARETLOOSE]:lL[GM.CARET],o=e.includePrerelease?"-0":"";return t.replace(i,(r,n,a,s,l)=>{Mh("caret",t,r,n,a,s,l);let c;return YM(n)?c="":YM(a)?c=`>=${n}.0.0${o} <${+n+1}.0.0-0`:YM(s)?n==="0"?c=`>=${n}.${a}.0${o} <${n}.${+a+1}.0-0`:c=`>=${n}.${a}.0${o} <${+n+1}.0.0-0`:l?(Mh("replaceCaret pr",l),n==="0"?a==="0"?c=`>=${n}.${a}.${s}-${l} <${n}.${a}.${+s+1}-0`:c=`>=${n}.${a}.${s}-${l} <${n}.${+a+1}.0-0`:c=`>=${n}.${a}.${s}-${l} <${+n+1}.0.0-0`):(Mh("no pr"),n==="0"?a==="0"?c=`>=${n}.${a}.${s}${o} <${n}.${a}.${+s+1}-0`:c=`>=${n}.${a}.${s}${o} <${n}.${+a+1}.0-0`:c=`>=${n}.${a}.${s} <${+n+1}.0.0-0`),Mh("caret return",c),c})},Rjr=(t,e)=>(Mh("replaceXRanges",t,e),t.split(/\s+/).map(i=>_jr(i,e)).join(" ")),_jr=(t,e)=>{t=t.trim();let i=e.loose?lL[GM.XRANGELOOSE]:lL[GM.XRANGE];return t.replace(i,(o,r,n,a,s,l)=>{Mh("xRange",t,o,r,n,a,s,l);let c=YM(n),d=c||YM(a),u=d||YM(s),p=u;return r==="="&&p&&(r=""),l=e.includePrerelease?"-0":"",c?r===">"||r==="<"?o="<0.0.0-0":o="*":r&&p?(d&&(a=0),s=0,r===">"?(r=">=",d?(n=+n+1,a=0,s=0):(a=+a+1,s=0)):r==="<="&&(r="<",d?n=+n+1:a=+a+1),r==="<"&&(l="-0"),o=`${r+n}.${a}.${s}${l}`):d?o=`>=${n}.0.0${l} <${+n+1}.0.0-0`:u&&(o=`>=${n}.${a}.0${l} <${n}.${+a+1}.0-0`),Mh("xRange return",o),o})},jjr=(t,e)=>(Mh("replaceStars",t,e),t.trim().replace(lL[GM.STAR],"")),Bjr=(t,e)=>(Mh("replaceGTE0",t,e),t.trim().replace(lL[e.includePrerelease?GM.GTE0PRE:GM.GTE0],"")),zjr=t=>(e,i,o,r,n,a,s,l,c,d,u,p)=>(YM(o)?i="":YM(r)?i=`>=${o}.0.0${t?"-0":""}`:YM(n)?i=`>=${o}.${r}.0${t?"-0":""}`:a?i=`>=${i}`:i=`>=${i}${t?"-0":""}`,YM(c)?l="":YM(d)?l=`<${+c+1}.0.0-0`:YM(u)?l=`<${c}.${+d+1}.0-0`:p?l=`<=${c}.${d}.${u}-${p}`:t?l=`<${c}.${d}.${+u+1}-0`:l=`<=${l}`,`${i} ${l}`.trim()),Fjr=(t,e,i)=>{for(let o=0;o<t.length;o++)if(!t[o].test(e))return!1;if(e.prerelease.length&&!i.includePrerelease){for(let o=0;o<t.length;o++)if(Mh(t[o].semver),t[o].semver!==cRt.ANY&&t[o].semver.prerelease.length>0){let r=t[o].semver;if(r.major===e.major&&r.minor===e.minor&&r.patch===e.patch)return!0}return!1}return!0}});var RIe=xe((thd,Lmo)=>{var _Ie=Symbol("SemVer ANY"),pRt=class t{static get ANY(){return _Ie}constructor(e,i){if(i=xmo(i),e instanceof t){if(e.loose===!!i.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),uRt("comparator",e,i),this.options=i,this.loose=!!i.loose,this.parse(e),this.semver===_Ie?this.value="":this.value=this.operator+this.semver.version,uRt("comp",this)}parse(e){let i=this.options.loose?Tmo[Smo.COMPARATORLOOSE]:Tmo[Smo.COMPARATOR],o=e.match(i);if(!o)throw new TypeError(`Invalid comparator: ${e}`);this.operator=o[1]!==void 0?o[1]:"",this.operator==="="&&(this.operator=""),o[2]?this.semver=new Mmo(o[2],this.options.loose):this.semver=_Ie}toString(){return this.value}test(e){if(uRt("Comparator.test",e,this.options.loose),this.semver===_Ie||e===_Ie)return!0;if(typeof e=="string")try{e=new Mmo(e,this.options)}catch{return!1}return dRt(e,this.operator,this.semver,this.options)}intersects(e,i){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new Imo(e.value,i).test(this.value):e.operator===""?e.value===""?!0:new Imo(this.value,i).test(e.semver):(i=xmo(i),i.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!i.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||dRt(this.semver,"<",e.semver,i)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||dRt(this.semver,">",e.semver,i)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Lmo.exports=pRt;var xmo=mtt(),{safeRe:Tmo,t:Smo}=g2e(),dRt=aRt(),uRt=PIe(),Mmo=P5(),Imo=ok()});var jIe=xe((ihd,vmo)=>{var Ujr=ok(),Vjr=(t,e,i)=>{try{e=new Ujr(e,i)}catch{return!1}return e.test(t)};vmo.exports=Vjr});var Emo=xe((ohd,Dmo)=>{var Hjr=ok(),Gjr=(t,e)=>new Hjr(t,e).set.map(i=>i.map(o=>o.value).join(" ").trim().split(" "));Dmo.exports=Gjr});var Nmo=xe((rhd,Amo)=>{var Yjr=P5(),Wjr=ok(),Qjr=(t,e,i)=>{let o=null,r=null,n=null;try{n=new Wjr(e,i)}catch{return null}return t.forEach(a=>{n.test(a)&&(!o||r.compare(a)===-1)&&(o=a,r=new Yjr(o,i))}),o};Amo.exports=Qjr});var Pmo=xe((nhd,kmo)=>{var Kjr=P5(),Zjr=ok(),Jjr=(t,e,i)=>{let o=null,r=null,n=null;try{n=new Zjr(e,i)}catch{return null}return t.forEach(a=>{n.test(a)&&(!o||r.compare(a)===1)&&(o=a,r=new Kjr(o,i))}),o};kmo.exports=Jjr});var _mo=xe((ahd,Rmo)=>{var mRt=P5(),qjr=ok(),Omo=OIe(),Xjr=(t,e)=>{t=new qjr(t,e);let i=new mRt("0.0.0");if(t.test(i)||(i=new mRt("0.0.0-0"),t.test(i)))return i;i=null;for(let o=0;o<t.set.length;++o){let r=t.set[o],n=null;r.forEach(a=>{let s=new mRt(a.semver.version);switch(a.operator){case">":s.prerelease.length===0?s.patch++:s.prerelease.push(0),s.raw=s.format();case"":case">=":(!n||Omo(s,n))&&(n=s);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),n&&(!i||Omo(i,n))&&(i=n)}return i&&t.test(i)?i:null};Rmo.exports=Xjr});var Bmo=xe((shd,jmo)=>{var $jr=ok(),eBr=(t,e)=>{try{return new $jr(t,e).range||"*"}catch{return null}};jmo.exports=eBr});var Stt=xe((lhd,Vmo)=>{var tBr=P5(),Umo=RIe(),{ANY:iBr}=Umo,oBr=ok(),rBr=jIe(),zmo=OIe(),Fmo=ytt(),nBr=Ctt(),aBr=wtt(),sBr=(t,e,i,o)=>{t=new tBr(t,o),e=new oBr(e,o);let r,n,a,s,l;switch(i){case">":r=zmo,n=nBr,a=Fmo,s=">",l=">=";break;case"<":r=Fmo,n=aBr,a=zmo,s="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(rBr(t,e,o))return!1;for(let c=0;c<e.set.length;++c){let d=e.set[c],u=null,p=null;if(d.forEach(m=>{m.semver===iBr&&(m=new Umo(">=0.0.0")),u=u||m,p=p||m,r(m.semver,u.semver,o)?u=m:a(m.semver,p.semver,o)&&(p=m)}),u.operator===s||u.operator===l||(!p.operator||p.operator===s)&&n(t,p.semver))return!1;if(p.operator===l&&a(t,p.semver))return!1}return!0};Vmo.exports=sBr});var Gmo=xe((chd,Hmo)=>{var lBr=Stt(),cBr=(t,e,i)=>lBr(t,e,">",i);Hmo.exports=cBr});var Wmo=xe((dhd,Ymo)=>{var dBr=Stt(),uBr=(t,e,i)=>dBr(t,e,"<",i);Ymo.exports=uBr});var Zmo=xe((uhd,Kmo)=>{var Qmo=ok(),pBr=(t,e,i)=>(t=new Qmo(t,i),e=new Qmo(e,i),t.intersects(e,i));Kmo.exports=pBr});var qmo=xe((phd,Jmo)=>{var mBr=jIe(),hBr=ik();Jmo.exports=(t,e,i)=>{let o=[],r=null,n=null,a=t.sort((d,u)=>hBr(d,u,i));for(let d of a)mBr(d,e,i)?(n=d,r||(r=d)):(n&&o.push([r,n]),n=null,r=null);r&&o.push([r,null]);let s=[];for(let[d,u]of o)d===u?s.push(d):!u&&d===a[0]?s.push("*"):u?d===a[0]?s.push(`<=${u}`):s.push(`${d} - ${u}`):s.push(`>=${d}`);let l=s.join(" || "),c=typeof e.raw=="string"?e.raw:String(e);return l.length<c.length?l:e}});var o1o=xe((mhd,i1o)=>{var Xmo=ok(),fRt=RIe(),{ANY:hRt}=fRt,BIe=jIe(),gRt=ik(),fBr=(t,e,i={})=>{if(t===e)return!0;t=new Xmo(t,i),e=new Xmo(e,i);let o=!1;e:for(let r of t.set){for(let n of e.set){let a=bBr(r,n,i);if(o=o||a!==null,a)continue e}if(o)return!1}return!0},gBr=[new fRt(">=0.0.0-0")],$mo=[new fRt(">=0.0.0")],bBr=(t,e,i)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===hRt){if(e.length===1&&e[0].semver===hRt)return!0;i.includePrerelease?t=gBr:t=$mo}if(e.length===1&&e[0].semver===hRt){if(i.includePrerelease)return!0;e=$mo}let o=new Set,r,n;for(let m of t)m.operator===">"||m.operator===">="?r=e1o(r,m,i):m.operator==="<"||m.operator==="<="?n=t1o(n,m,i):o.add(m.semver);if(o.size>1)return null;let a;if(r&&n){if(a=gRt(r.semver,n.semver,i),a>0)return null;if(a===0&&(r.operator!==">="||n.operator!=="<="))return null}for(let m of o){if(r&&!BIe(m,String(r),i)||n&&!BIe(m,String(n),i))return null;for(let h of e)if(!BIe(m,String(h),i))return!1;return!0}let s,l,c,d,u=n&&!i.includePrerelease&&n.semver.prerelease.length?n.semver:!1,p=r&&!i.includePrerelease&&r.semver.prerelease.length?r.semver:!1;u&&u.prerelease.length===1&&n.operator==="<"&&u.prerelease[0]===0&&(u=!1);for(let m of e){if(d=d||m.operator===">"||m.operator===">=",c=c||m.operator==="<"||m.operator==="<=",r){if(p&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===p.major&&m.semver.minor===p.minor&&m.semver.patch===p.patch&&(p=!1),m.operator===">"||m.operator===">="){if(s=e1o(r,m,i),s===m&&s!==r)return!1}else if(r.operator===">="&&!BIe(r.semver,String(m),i))return!1}if(n){if(u&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===u.major&&m.semver.minor===u.minor&&m.semver.patch===u.patch&&(u=!1),m.operator==="<"||m.operator==="<="){if(l=t1o(n,m,i),l===m&&l!==n)return!1}else if(n.operator==="<="&&!BIe(n.semver,String(m),i))return!1}if(!m.operator&&(n||r)&&a!==0)return!1}return!(r&&c&&!n&&a!==0||n&&d&&!r&&a!==0||p||u)},e1o=(t,e,i)=>{if(!t)return e;let o=gRt(t.semver,e.semver,i);return o>0?t:o<0||e.operator===">"&&t.operator===">="?e:t},t1o=(t,e,i)=>{if(!t)return e;let o=gRt(t.semver,e.semver,i);return o<0?t:o>0||e.operator==="<"&&t.operator==="<="?e:t};i1o.exports=fBr});var yRt=xe((hhd,a1o)=>{var bRt=g2e(),r1o=kIe(),yBr=P5(),n1o=iRt(),wBr=gse(),CBr=Npo(),xBr=Ppo(),TBr=_po(),SBr=zpo(),MBr=Upo(),IBr=Hpo(),LBr=Ypo(),vBr=Qpo(),DBr=ik(),EBr=qpo(),ABr=$po(),NBr=btt(),kBr=omo(),PBr=nmo(),OBr=OIe(),RBr=ytt(),_Br=rRt(),jBr=nRt(),BBr=wtt(),zBr=Ctt(),FBr=aRt(),UBr=hmo(),VBr=RIe(),HBr=ok(),GBr=jIe(),YBr=Emo(),WBr=Nmo(),QBr=Pmo(),KBr=_mo(),ZBr=Bmo(),JBr=Stt(),qBr=Gmo(),XBr=Wmo(),$Br=Zmo(),ezr=qmo(),tzr=o1o();a1o.exports={parse:wBr,valid:CBr,clean:xBr,inc:TBr,diff:SBr,major:MBr,minor:IBr,patch:LBr,prerelease:vBr,compare:DBr,rcompare:EBr,compareLoose:ABr,compareBuild:NBr,sort:kBr,rsort:PBr,gt:OBr,lt:RBr,eq:_Br,neq:jBr,gte:BBr,lte:zBr,cmp:FBr,coerce:UBr,Comparator:VBr,Range:HBr,satisfies:GBr,toComparators:YBr,maxSatisfying:WBr,minSatisfying:QBr,minVersion:KBr,validRange:ZBr,outside:JBr,gtr:qBr,ltr:XBr,intersects:$Br,simplifyRange:ezr,subset:tzr,SemVer:yBr,re:bRt.re,src:bRt.src,tokens:bRt.t,SEMVER_SPEC_VERSION:r1o.SEMVER_SPEC_VERSION,RELEASE_TYPES:r1o.RELEASE_TYPES,compareIdentifiers:n1o.compareIdentifiers,rcompareIdentifiers:n1o.rcompareIdentifiers}});var u1o=xe((Uhd,d1o)=>{var Mtt=[];Mtt.push(".pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-content-wrapper_qof3h{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-content-wrapper_qof3h>div{overflow:auto;width:100%}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-content-wrapper_qof3h .comm-btn-operate-link_OKjbQ{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-content-wrapper_qof3h .comm-btn-height_H57mC{height:22px}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-content-wrapper_qof3h .comm-btn-text_LpnLx{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-content-wrapper_qof3h .margin-btn_zrUt2{margin-bottom:16px}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-content-wrapper_qof3h .margin-top_LAxbI{margin-top:16px}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-content-wrapper_qof3h input.dialog-input_08XJo{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-content-wrapper_qof3h input.dialog-input_08XJo:not([disabled]){color:var(--font-color-input)}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-content-wrapper_qof3h select.dialog-input_08XJo{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-content-wrapper_qof3h select.dialog-input_08XJo:not([disabled]){color:var(--font-color-input)}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-content-wrapper_qof3h textarea.dialog-input_08XJo{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-content-wrapper_qof3h .device-property-key_xz-yX{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-content-wrapper_qof3h .attrs-select-wrap_bMuV1{padding-left:8px}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-footer-wrapper_RFBLr{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-footer-wrapper_RFBLr .comm-btn_XAkp2{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-footer-wrapper_RFBLr .comm-btn_XAkp2:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-footer-wrapper_RFBLr .comm-btn_XAkp2.comm-btn-default_tCrx-{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-footer-wrapper_RFBLr .comm-btn_XAkp2.comm-btn-default_tCrx-:hover{border-color:#1890ff}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-footer-wrapper_RFBLr .comm-btn_XAkp2 .l-btn-left_T9WJ5{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-footer-wrapper_RFBLr .comm-btn-left_O5jZE{left:28px;position:absolute}.pop-content-container_v5Kw5:not(.oneLineOneInputDlg_j7-7S) .pop-footer-wrapper_RFBLr .grid-export_K4jE8 .comm-btn_XAkp2:last-child{margin-left:8px}.pop-content-container_v5Kw5 *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_v5Kw5 label{position:relative}.pop-content-wrapper_qof3h a.route-link_Y5aJb,.pop-content-wrapper_qof3h a.route-link_Y5aJb:active,.pop-content-wrapper_qof3h a.route-link_Y5aJb:visited{color:#00e}div[user-resizable] .window-body_Ox6ff>.panel_r4plZ,div[user-resizable] .window-header_qimwi{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_Ox6ff>.panel_r4plZ{height:100%!important}div[user-resizable] .window-body_Ox6ff .dialog-content_Hi-vx{height:100%!important;width:100%!important}.div-fieldset_iSkRz{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;font-size:12px;margin-top:10px;padding:16px;position:relative;text-align:left}.div-fieldset_iSkRz .title_gkgkb{background-color:var(--common-bg-color);left:12px;line-height:2em;padding:0 4px;position:absolute;top:-13px}.compatibility_LE-Uc .not-supported_9Xl5E{color:#ad0000}.compatibility_LE-Uc .unknown_6CuuR{color:var(--common-font-color)}.compatibility_LE-Uc .main-line_WKqEF{color:#0043da}.compatibility_LE-Uc .not-tested_uXK0X{color:#785000}");Mtt=Mtt.join("");d1o.exports={uuid:"6bf161db-8d72-434a-b24e-a96f49e7f078",locals:{"pop-content-container":"pop-content-container_v5Kw5",oneLineOneInputDlg:"oneLineOneInputDlg_j7-7S","pop-content-wrapper":"pop-content-wrapper_qof3h","comm-btn-operate-link":"comm-btn-operate-link_OKjbQ","comm-btn-height":"comm-btn-height_H57mC","comm-btn-text":"comm-btn-text_LpnLx","margin-btn":"margin-btn_zrUt2","margin-top":"margin-top_LAxbI","dialog-input":"dialog-input_08XJo","device-property-key":"device-property-key_xz-yX","attrs-select-wrap":"attrs-select-wrap_bMuV1","pop-footer-wrapper":"pop-footer-wrapper_RFBLr","comm-btn":"comm-btn_XAkp2","comm-btn-default":"comm-btn-default_tCrx-","l-btn-left":"l-btn-left_T9WJ5","comm-btn-left":"comm-btn-left_O5jZE","grid-export":"grid-export_K4jE8","route-link":"route-link_Y5aJb","window-body":"window-body_Ox6ff",panel:"panel_r4plZ","window-header":"window-header_qimwi","dialog-content":"dialog-content_Hi-vx","div-fieldset":"div-fieldset_iSkRz",title:"title_gkgkb",compatibility:"compatibility_LE-Uc","not-supported":"not-supported_9Xl5E",unknown:"unknown_6CuuR","main-line":"main-line_WKqEF","not-tested":"not-tested_uXK0X"},toString(){return Mtt}}});var zho=xe((jyd,Bho)=>{var Ytt=[];Ytt.push(".pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-content-wrapper_gDEs4{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-content-wrapper_gDEs4>div{overflow:auto;width:100%}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-content-wrapper_gDEs4 .comm-btn-operate-link_hk-qE{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-content-wrapper_gDEs4 .comm-btn-height_8oFgA{height:22px}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-content-wrapper_gDEs4 .comm-btn-text_aXLZW{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-content-wrapper_gDEs4 .margin-btn_0EsDE{margin-bottom:16px}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-content-wrapper_gDEs4 .margin-top_vOc8r{margin-top:16px}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-content-wrapper_gDEs4 input.dialog-input_29fL8{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-content-wrapper_gDEs4 input.dialog-input_29fL8:not([disabled]){color:var(--font-color-input)}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-content-wrapper_gDEs4 select.dialog-input_29fL8{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-content-wrapper_gDEs4 select.dialog-input_29fL8:not([disabled]){color:var(--font-color-input)}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-content-wrapper_gDEs4 textarea.dialog-input_29fL8{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-content-wrapper_gDEs4 .device-property-key_xTqD6{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-content-wrapper_gDEs4 .attrs-select-wrap_YzMfn{padding-left:8px}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-footer-wrapper_yMF7T{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-footer-wrapper_yMF7T .comm-btn_l5veN{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-footer-wrapper_yMF7T .comm-btn_l5veN:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-footer-wrapper_yMF7T .comm-btn_l5veN.comm-btn-default_za-A9{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-footer-wrapper_yMF7T .comm-btn_l5veN.comm-btn-default_za-A9:hover{border-color:#1890ff}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-footer-wrapper_yMF7T .comm-btn_l5veN .l-btn-left_Cbf1Q{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-footer-wrapper_yMF7T .comm-btn-left_a4YjE{left:28px;position:absolute}.pop-content-container_itDeK:not(.oneLineOneInputDlg_Iwz-d) .pop-footer-wrapper_yMF7T .grid-export_OrlK3 .comm-btn_l5veN:last-child{margin-left:8px}.pop-content-container_itDeK *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_itDeK label{position:relative}.pop-content-wrapper_gDEs4 a.route-link_zULKD,.pop-content-wrapper_gDEs4 a.route-link_zULKD:active,.pop-content-wrapper_gDEs4 a.route-link_zULKD:visited{color:#00e}div[user-resizable] .window-body_Ey7ak>.panel_VSIF9,div[user-resizable] .window-header_I0Rmc{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_Ey7ak>.panel_VSIF9{height:100%!important}div[user-resizable] .window-body_Ey7ak .dialog-content_1oUBB{height:100%!important;width:100%!important}.div-fieldset_F-IIj{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;font-size:12px;margin-top:10px;padding:16px;position:relative;text-align:left}.div-fieldset_F-IIj .title_idnM8{background-color:var(--common-bg-color);left:12px;line-height:2em;padding:0 4px;position:absolute;top:-13px}");Ytt=Ytt.join("");Bho.exports={uuid:"9e426a9e-0f0c-4cb7-a5c8-49a21e38fafe",locals:{"pop-content-container":"pop-content-container_itDeK",oneLineOneInputDlg:"oneLineOneInputDlg_Iwz-d","pop-content-wrapper":"pop-content-wrapper_gDEs4","comm-btn-operate-link":"comm-btn-operate-link_hk-qE","comm-btn-height":"comm-btn-height_8oFgA","comm-btn-text":"comm-btn-text_aXLZW","margin-btn":"margin-btn_0EsDE","margin-top":"margin-top_vOc8r","dialog-input":"dialog-input_29fL8","device-property-key":"device-property-key_xTqD6","attrs-select-wrap":"attrs-select-wrap_YzMfn","pop-footer-wrapper":"pop-footer-wrapper_yMF7T","comm-btn":"comm-btn_l5veN","comm-btn-default":"comm-btn-default_za-A9","l-btn-left":"l-btn-left_Cbf1Q","comm-btn-left":"comm-btn-left_a4YjE","grid-export":"grid-export_OrlK3","route-link":"route-link_zULKD","window-body":"window-body_Ey7ak",panel:"panel_VSIF9","window-header":"window-header_I0Rmc","dialog-content":"dialog-content_1oUBB","div-fieldset":"div-fieldset_F-IIj",title:"title_idnM8"},toString(){return Ytt}}});var CW=xe((swd,i4o)=>{var jot=[];jot.push(".dialog-container_B47wb{height:100%;width:100%}.dialog-container_B47wb .dialog-container-content_9s4wv{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-calc(100% - 44px);height:-moz-calc(100% - 44px);height:calc(100% - 44px);width:100%}.dialog-container_B47wb .dialog-container-content_9s4wv fieldset{border:1px solid var(--border-color-panel-divider)}.dialog-container_B47wb .dialog-container-content_9s4wv fieldset legend{font-size:14px;margin-left:16px}.dialog-container_B47wb .dialog-container-content_9s4wv .compenentList-container_OFcR4{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;width:25%}.dialog-container_B47wb .dialog-container-content_9s4wv .compenentList-container_OFcR4 .filter-input_f91Tk{-moz-box-sizing:border-box;box-sizing:border-box;height:40px;padding:8px;width:100%}.dialog-container_B47wb .dialog-container-content_9s4wv .compenentList-container_OFcR4 .compenentList-content_nMTh3{-moz-box-sizing:border-box;box-sizing:border-box;height:-webkit-calc(100% - 40px);height:-moz-calc(100% - 40px);height:calc(100% - 40px);padding:0 8px;width:100%}.dialog-container_B47wb .dialog-container-content_9s4wv .ipcDacList-container_beuPf{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;margin:0 16px;width:45%}.dialog-container_B47wb .dialog-container-content_9s4wv .ipcDacList-container_beuPf .ipcDacList-content_69hQx{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding:8px;width:100%}.dialog-container_B47wb .dialog-container-content_9s4wv .ipcDacList-container_beuPf .ipcDacList-content_69hQx .ipcDaclist-content-select_bgtZg{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;height:30px;width:100%}.dialog-container_B47wb .dialog-container-content_9s4wv .ipcDacList-container_beuPf .ipcDacList-content_69hQx .ipcDacList-attr_7-OUy{border:1px solid var(--border-color-panel-divider);height:-webkit-calc(100% - 126px);height:-moz-calc(100% - 126px);height:calc(100% - 126px);margin:8px 0;overflow:auto;width:100%}.dialog-container_B47wb .dialog-container-content_9s4wv .ipcDacList-container_beuPf .ipcDacList-content_69hQx .ipcDacList-input_UTj7Q{border:1px solid var(--border-color-panel-divider);-moz-box-sizing:border-box;box-sizing:border-box;height:80px;padding:0 16px;width:100%}.dialog-container_B47wb .dialog-container-content_9s4wv .ipcDacList-container_beuPf .ipcDacList-content_69hQx .ipcDacList-input_UTj7Q .ipcDacList-input-content_UTTn4{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;height:40px;width:100%}.dialog-container_B47wb .dialog-container-content_9s4wv .componentModelShow-container_BRQ-N{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding-top:8px;width:30%}.dialog-container_B47wb .dialog-container-content_9s4wv .componentModelShow-container_BRQ-N .symbol-container_xeYHo{border:1px solid var(--border-color-panel-divider);height:32%;width:100%}.dialog-container_B47wb .dialog-container-content_9s4wv .componentModelShow-container_BRQ-N .symbol-container_xeYHo .symbol-content_OO34S{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding:0 5px 5px;width:100%}.dialog-container_B47wb .dialog-container-content_9s4wv .componentModelShow-container_BRQ-N .symbol-container_xeYHo .symbol-content_OO34S .symbol-content-view_cZJIK{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding-top:5px;width:80%}.dialog-container_B47wb .dialog-container-content_9s4wv .componentModelShow-container_BRQ-N .symbol-container_xeYHo .symbol-content_OO34S .symbol-content-table_xpTTR{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding-top:5px;width:20%}.dialog-container_B47wb .dialog-container-content_9s4wv .componentModelShow-container_BRQ-N .footprint-container_hyAGG{border:1px solid var(--border-color-panel-divider);height:35%;margin:8px 0;width:100%}.dialog-container_B47wb .dialog-container-content_9s4wv .componentModelShow-container_BRQ-N .footprint-container_hyAGG .footprint-content_MKX-W{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding:5px;width:100%}.dialog-container_B47wb .dialog-container-content_9s4wv .componentModelShow-container_BRQ-N .footprint-container_hyAGG .footprint-content_MKX-W .footprint-content-view_wNBcy{height:100%;width:80%}.dialog-container_B47wb .dialog-container-content_9s4wv .componentModelShow-container_BRQ-N .footprint-container_hyAGG .footprint-content_MKX-W .footprint-content-table_qRIIz{height:100%;width:20%}.dialog-container_B47wb .dialog-container-content_9s4wv .componentModelShow-container_BRQ-N .d3-container_YgP-Z{border:1px solid var(--border-color-panel-divider);height:30%;width:100%}.dialog-container_B47wb .dialog-container-content_9s4wv .componentModelShow-container_BRQ-N .d3-container_YgP-Z .d3-content_RGvg-{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-moz-box-sizing:border-box;box-sizing:border-box;height:100%;padding:5px;width:100%}.dialog-container_B47wb .dialog-container-content_9s4wv .componentModelShow-container_BRQ-N .d3-container_YgP-Z .d3-content_RGvg- .d3-content-view_uKZ2C{height:100%;width:80%}.dialog-container_B47wb .dialog-container-content_9s4wv .componentModelShow-container_BRQ-N .d3-container_YgP-Z .d3-content_RGvg- .d3-content-table_1IREh{height:100%;width:20%}.dialog-container_B47wb .dialog-footer_jWwKW{height:44px;margin-top:8px;width:100%}.dialog-container_B47wb .dialog-footer_jWwKW .footer_eyON4{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-moz-box-sizing:border-box;box-sizing:border-box;height:100%;justify-content:space-between;width:100%}");jot=jot.join("");i4o.exports={uuid:"19c09568-be66-460c-be8f-7e937e9a4145",locals:{"dialog-container":"dialog-container_B47wb","dialog-container-content":"dialog-container-content_9s4wv","compenentList-container":"compenentList-container_OFcR4","filter-input":"filter-input_f91Tk","compenentList-content":"compenentList-content_nMTh3","ipcDacList-container":"ipcDacList-container_beuPf","ipcDacList-content":"ipcDacList-content_69hQx","ipcDaclist-content-select":"ipcDaclist-content-select_bgtZg","ipcDacList-attr":"ipcDacList-attr_7-OUy","ipcDacList-input":"ipcDacList-input_UTj7Q","ipcDacList-input-content":"ipcDacList-input-content_UTTn4","componentModelShow-container":"componentModelShow-container_BRQ-N","symbol-container":"symbol-container_xeYHo","symbol-content":"symbol-content_OO34S","symbol-content-view":"symbol-content-view_cZJIK","symbol-content-table":"symbol-content-table_xpTTR","footprint-container":"footprint-container_hyAGG","footprint-content":"footprint-content_MKX-W","footprint-content-view":"footprint-content-view_wNBcy","footprint-content-table":"footprint-content-table_qRIIz","d3-container":"d3-container_YgP-Z","d3-content":"d3-content_RGvg-","d3-content-view":"d3-content-view_uKZ2C","d3-content-table":"d3-content-table_1IREh","dialog-footer":"dialog-footer_jWwKW",footer:"footer_eyON4"},toString(){return jot}}});var Vot=xe(jzt=>{(function(){jzt.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:"  ",newline:`
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(jzt)});var $z=xe((o4o,tee)=>{(function(){var t,e,i,o,r,n,a,s=[].slice,l={}.hasOwnProperty;t=function(){var c,d,u,p,m,h;if(h=arguments[0],m=2<=arguments.length?s.call(arguments,1):[],r(Object.assign))Object.assign.apply(null,arguments);else for(c=0,u=m.length;c<u;c++)if(p=m[c],p!=null)for(d in p)l.call(p,d)&&(h[d]=p[d]);return h},r=function(c){return!!c&&Object.prototype.toString.call(c)==="[object Function]"},n=function(c){var d;return!!c&&((d=typeof c)=="function"||d==="object")},i=function(c){return r(Array.isArray)?Array.isArray(c):Object.prototype.toString.call(c)==="[object Array]"},o=function(c){var d;if(i(c))return!c.length;for(d in c)if(l.call(c,d))return!1;return!0},a=function(c){var d,u;return n(c)&&(u=Object.getPrototypeOf(c))&&(d=u.constructor)&&typeof d=="function"&&d instanceof d&&Function.prototype.toString.call(d)===Function.prototype.toString.call(Object)},e=function(c){return r(c.valueOf)?c.valueOf():c},tee.exports.assign=t,tee.exports.isFunction=r,tee.exports.isObject=n,tee.exports.isArray=i,tee.exports.isEmpty=o,tee.exports.isPlainObject=a,tee.exports.getValue=e}).call(o4o)});var Bzt=xe((r4o,n4o)=>{(function(){var t;n4o.exports=t=(function(){function e(){}return e.prototype.hasFeature=function(i,o){return!0},e.prototype.createDocumentType=function(i,o,r){throw new Error("This DOM method is not implemented.")},e.prototype.createDocument=function(i,o,r){throw new Error("This DOM method is not implemented.")},e.prototype.createHTMLDocument=function(i){throw new Error("This DOM method is not implemented.")},e.prototype.getFeature=function(i,o){throw new Error("This DOM method is not implemented.")},e})()}).call(r4o)});var l4o=xe((a4o,s4o)=>{(function(){var t;s4o.exports=t=(function(){function e(){}return e.prototype.handleError=function(i){throw new Error(i)},e})()}).call(a4o)});var u4o=xe((c4o,d4o)=>{(function(){var t;d4o.exports=t=(function(){function e(i){this.arr=i||[]}return Object.defineProperty(e.prototype,"length",{get:function(){return this.arr.length}}),e.prototype.item=function(i){return this.arr[i]||null},e.prototype.contains=function(i){return this.arr.indexOf(i)!==-1},e})()}).call(c4o)});var h4o=xe((p4o,m4o)=>{(function(){var t,e,i;e=l4o(),i=u4o(),m4o.exports=t=(function(){function o(){var r;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new e,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=r=Object.create(this.defaultParams)}return Object.defineProperty(o.prototype,"parameterNames",{get:function(){return new i(Object.keys(this.defaultParams))}}),o.prototype.getParameter=function(r){return this.params.hasOwnProperty(r)?this.params[r]:null},o.prototype.canSetParameter=function(r,n){return!0},o.prototype.setParameter=function(r,n){return n!=null?this.params[r]=n:delete this.params[r]},o})()}).call(p4o)});var sb=xe((f4o,g4o)=>{(function(){g4o.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(f4o)});var zzt=xe((b4o,y4o)=>{(function(){var t,e,i;t=sb(),i=CE(),y4o.exports=e=(function(){function o(r,n,a){if(this.parent=r,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),n==null)throw new Error("Missing attribute name. "+this.debugInfo(n));this.name=this.stringify.name(n),this.value=this.stringify.attValue(a),this.type=t.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(o.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(o.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(o.prototype,"textContent",{get:function(){return this.value},set:function(r){return this.value=r||""}}),Object.defineProperty(o.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(o.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(o.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(o.prototype,"specified",{get:function(){return!0}}),o.prototype.clone=function(){return Object.create(this)},o.prototype.toString=function(r){return this.options.writer.attribute(this,this.options.writer.filterOptions(r))},o.prototype.debugInfo=function(r){return r=r||this.name,r==null?"parent: <"+this.parent.name+">":"attribute: {"+r+"}, parent: <"+this.parent.name+">"},o.prototype.isEqualNode=function(r){return!(r.namespaceURI!==this.namespaceURI||r.prefix!==this.prefix||r.localName!==this.localName||r.value!==this.value)},o})()}).call(b4o)});var Hot=xe((w4o,C4o)=>{(function(){var t;C4o.exports=t=(function(){function e(i){this.nodes=i}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),e.prototype.clone=function(){return this.nodes=null},e.prototype.getNamedItem=function(i){return this.nodes[i]},e.prototype.setNamedItem=function(i){var o;return o=this.nodes[i.nodeName],this.nodes[i.nodeName]=i,o||null},e.prototype.removeNamedItem=function(i){var o;return o=this.nodes[i],delete this.nodes[i],o||null},e.prototype.item=function(i){return this.nodes[Object.keys(this.nodes)[i]]||null},e.prototype.getNamedItemNS=function(i,o){throw new Error("This DOM method is not implemented.")},e.prototype.setNamedItemNS=function(i){throw new Error("This DOM method is not implemented.")},e.prototype.removeNamedItemNS=function(i,o){throw new Error("This DOM method is not implemented.")},e})()}).call(w4o)});var Got=xe((x4o,T4o)=>{(function(){var t,e,i,o,r,n,a,s,l,c=function(u,p){for(var m in p)d.call(p,m)&&(u[m]=p[m]);function h(){this.constructor=u}return h.prototype=p.prototype,u.prototype=new h,u.__super__=p.prototype,u},d={}.hasOwnProperty;l=$z(),s=l.isObject,a=l.isFunction,n=l.getValue,r=CE(),t=sb(),e=zzt(),o=Hot(),T4o.exports=i=(function(u){c(p,u);function p(m,h,f){var g,b,y,w;if(p.__super__.constructor.call(this,m),h==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(h),this.type=t.Element,this.attribs={},this.schemaTypeInfo=null,f!=null&&this.attribute(f),m.type===t.Document&&(this.isRoot=!0,this.documentObject=m,m.rootObject=this,m.children)){for(w=m.children,b=0,y=w.length;b<y;b++)if(g=w[b],g.type===t.DocType){g.name=this.name;break}}}return Object.defineProperty(p.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(p.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(p.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(p.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(p.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(p.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(p.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(p.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new o(this.attribs)),this.attributeMap}}),p.prototype.clone=function(){var m,h,f,g;f=Object.create(this),f.isRoot&&(f.documentObject=null),f.attribs={},g=this.attribs;for(h in g)d.call(g,h)&&(m=g[h],f.attribs[h]=m.clone());return f.children=[],this.children.forEach(function(b){var y;return y=b.clone(),y.parent=f,f.children.push(y)}),f},p.prototype.attribute=function(m,h){var f,g;if(m!=null&&(m=n(m)),s(m))for(f in m)d.call(m,f)&&(g=m[f],this.attribute(f,g));else a(h)&&(h=h.apply()),this.options.keepNullAttributes&&h==null?this.attribs[m]=new e(this,m,""):h!=null&&(this.attribs[m]=new e(this,m,h));return this},p.prototype.removeAttribute=function(m){var h,f,g;if(m==null)throw new Error("Missing attribute name. "+this.debugInfo());if(m=n(m),Array.isArray(m))for(f=0,g=m.length;f<g;f++)h=m[f],delete this.attribs[h];else delete this.attribs[m];return this},p.prototype.toString=function(m){return this.options.writer.element(this,this.options.writer.filterOptions(m))},p.prototype.att=function(m,h){return this.attribute(m,h)},p.prototype.a=function(m,h){return this.attribute(m,h)},p.prototype.getAttribute=function(m){return this.attribs.hasOwnProperty(m)?this.attribs[m].value:null},p.prototype.setAttribute=function(m,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.getAttributeNode=function(m){return this.attribs.hasOwnProperty(m)?this.attribs[m]:null},p.prototype.setAttributeNode=function(m){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.removeAttributeNode=function(m){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.getElementsByTagName=function(m){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.getAttributeNS=function(m,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.setAttributeNS=function(m,h,f){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.removeAttributeNS=function(m,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.getAttributeNodeNS=function(m,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.setAttributeNodeNS=function(m){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.getElementsByTagNameNS=function(m,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.hasAttribute=function(m){return this.attribs.hasOwnProperty(m)},p.prototype.hasAttributeNS=function(m,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.setIdAttribute=function(m,h){return this.attribs.hasOwnProperty(m)?this.attribs[m].isId:h},p.prototype.setIdAttributeNS=function(m,h,f){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.setIdAttributeNode=function(m,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.getElementsByTagName=function(m){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.getElementsByTagNameNS=function(m,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.getElementsByClassName=function(m){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.isEqualNode=function(m){var h,f,g;if(!p.__super__.isEqualNode.apply(this,arguments).isEqualNode(m)||m.namespaceURI!==this.namespaceURI||m.prefix!==this.prefix||m.localName!==this.localName||m.attribs.length!==this.attribs.length)return!1;for(h=f=0,g=this.attribs.length-1;0<=g?f<=g:f>=g;h=0<=g?++f:--f)if(!this.attribs[h].isEqualNode(m.attribs[h]))return!1;return!0},p})(r)}).call(x4o)});var VLe=xe((S4o,M4o)=>{(function(){var t,e,i=function(r,n){for(var a in n)o.call(n,a)&&(r[a]=n[a]);function s(){this.constructor=r}return s.prototype=n.prototype,r.prototype=new s,r.__super__=n.prototype,r},o={}.hasOwnProperty;e=CE(),M4o.exports=t=(function(r){i(n,r);function n(a){n.__super__.constructor.call(this,a),this.value=""}return Object.defineProperty(n.prototype,"data",{get:function(){return this.value},set:function(a){return this.value=a||""}}),Object.defineProperty(n.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(n.prototype,"textContent",{get:function(){return this.value},set:function(a){return this.value=a||""}}),n.prototype.clone=function(){return Object.create(this)},n.prototype.substringData=function(a,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.appendData=function(a){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.insertData=function(a,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.deleteData=function(a,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.replaceData=function(a,s,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.isEqualNode=function(a){return!(!n.__super__.isEqualNode.apply(this,arguments).isEqualNode(a)||a.data!==this.data)},n})(e)}).call(S4o)});var Yot=xe((I4o,L4o)=>{(function(){var t,e,i,o=function(n,a){for(var s in a)r.call(a,s)&&(n[s]=a[s]);function l(){this.constructor=n}return l.prototype=a.prototype,n.prototype=new l,n.__super__=a.prototype,n},r={}.hasOwnProperty;t=sb(),i=VLe(),L4o.exports=e=(function(n){o(a,n);function a(s,l){if(a.__super__.constructor.call(this,s),l==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=t.CData,this.value=this.stringify.cdata(l)}return a.prototype.clone=function(){return Object.create(this)},a.prototype.toString=function(s){return this.options.writer.cdata(this,this.options.writer.filterOptions(s))},a})(i)}).call(I4o)});var Wot=xe((v4o,D4o)=>{(function(){var t,e,i,o=function(n,a){for(var s in a)r.call(a,s)&&(n[s]=a[s]);function l(){this.constructor=n}return l.prototype=a.prototype,n.prototype=new l,n.__super__=a.prototype,n},r={}.hasOwnProperty;t=sb(),e=VLe(),D4o.exports=i=(function(n){o(a,n);function a(s,l){if(a.__super__.constructor.call(this,s),l==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=t.Comment,this.value=this.stringify.comment(l)}return a.prototype.clone=function(){return Object.create(this)},a.prototype.toString=function(s){return this.options.writer.comment(this,this.options.writer.filterOptions(s))},a})(e)}).call(v4o)});var Qot=xe((E4o,A4o)=>{(function(){var t,e,i,o,r=function(a,s){for(var l in s)n.call(s,l)&&(a[l]=s[l]);function c(){this.constructor=a}return c.prototype=s.prototype,a.prototype=new c,a.__super__=s.prototype,a},n={}.hasOwnProperty;o=$z().isObject,i=CE(),t=sb(),A4o.exports=e=(function(a){r(s,a);function s(l,c,d,u){var p;s.__super__.constructor.call(this,l),o(c)&&(p=c,c=p.version,d=p.encoding,u=p.standalone),c||(c="1.0"),this.type=t.Declaration,this.version=this.stringify.xmlVersion(c),d!=null&&(this.encoding=this.stringify.xmlEncoding(d)),u!=null&&(this.standalone=this.stringify.xmlStandalone(u))}return s.prototype.toString=function(l){return this.options.writer.declaration(this,this.options.writer.filterOptions(l))},s})(i)}).call(E4o)});var Kot=xe((N4o,k4o)=>{(function(){var t,e,i,o=function(n,a){for(var s in a)r.call(a,s)&&(n[s]=a[s]);function l(){this.constructor=n}return l.prototype=a.prototype,n.prototype=new l,n.__super__=a.prototype,n},r={}.hasOwnProperty;i=CE(),t=sb(),k4o.exports=e=(function(n){o(a,n);function a(s,l,c,d,u,p){if(a.__super__.constructor.call(this,s),l==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(c==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(l));if(!d)throw new Error("Missing DTD attribute type. "+this.debugInfo(l));if(!u)throw new Error("Missing DTD attribute default. "+this.debugInfo(l));if(u.indexOf("#")!==0&&(u="#"+u),!u.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(l));if(p&&!u.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(l));this.elementName=this.stringify.name(l),this.type=t.AttributeDeclaration,this.attributeName=this.stringify.name(c),this.attributeType=this.stringify.dtdAttType(d),p&&(this.defaultValue=this.stringify.dtdAttDefault(p)),this.defaultValueType=u}return a.prototype.toString=function(s){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(s))},a})(i)}).call(N4o)});var Zot=xe((P4o,O4o)=>{(function(){var t,e,i,o,r=function(a,s){for(var l in s)n.call(s,l)&&(a[l]=s[l]);function c(){this.constructor=a}return c.prototype=s.prototype,a.prototype=new c,a.__super__=s.prototype,a},n={}.hasOwnProperty;o=$z().isObject,i=CE(),t=sb(),O4o.exports=e=(function(a){r(s,a);function s(l,c,d,u){if(s.__super__.constructor.call(this,l),d==null)throw new Error("Missing DTD entity name. "+this.debugInfo(d));if(u==null)throw new Error("Missing DTD entity value. "+this.debugInfo(d));if(this.pe=!!c,this.name=this.stringify.name(d),this.type=t.EntityDeclaration,!o(u))this.value=this.stringify.dtdEntityValue(u),this.internal=!0;else{if(!u.pubID&&!u.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(d));if(u.pubID&&!u.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(d));if(this.internal=!1,u.pubID!=null&&(this.pubID=this.stringify.dtdPubID(u.pubID)),u.sysID!=null&&(this.sysID=this.stringify.dtdSysID(u.sysID)),u.nData!=null&&(this.nData=this.stringify.dtdNData(u.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(d))}}return Object.defineProperty(s.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(s.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(s.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(s.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(s.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(s.prototype,"xmlVersion",{get:function(){return null}}),s.prototype.toString=function(l){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(l))},s})(i)}).call(P4o)});var Jot=xe((R4o,_4o)=>{(function(){var t,e,i,o=function(n,a){for(var s in a)r.call(a,s)&&(n[s]=a[s]);function l(){this.constructor=n}return l.prototype=a.prototype,n.prototype=new l,n.__super__=a.prototype,n},r={}.hasOwnProperty;i=CE(),t=sb(),_4o.exports=e=(function(n){o(a,n);function a(s,l,c){if(a.__super__.constructor.call(this,s),l==null)throw new Error("Missing DTD element name. "+this.debugInfo());c||(c="(#PCDATA)"),Array.isArray(c)&&(c="("+c.join(",")+")"),this.name=this.stringify.name(l),this.type=t.ElementDeclaration,this.value=this.stringify.dtdElementValue(c)}return a.prototype.toString=function(s){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(s))},a})(i)}).call(R4o)});var qot=xe((j4o,B4o)=>{(function(){var t,e,i,o=function(n,a){for(var s in a)r.call(a,s)&&(n[s]=a[s]);function l(){this.constructor=n}return l.prototype=a.prototype,n.prototype=new l,n.__super__=a.prototype,n},r={}.hasOwnProperty;i=CE(),t=sb(),B4o.exports=e=(function(n){o(a,n);function a(s,l,c){if(a.__super__.constructor.call(this,s),l==null)throw new Error("Missing DTD notation name. "+this.debugInfo(l));if(!c.pubID&&!c.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(l));this.name=this.stringify.name(l),this.type=t.NotationDeclaration,c.pubID!=null&&(this.pubID=this.stringify.dtdPubID(c.pubID)),c.sysID!=null&&(this.sysID=this.stringify.dtdSysID(c.sysID))}return Object.defineProperty(a.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(a.prototype,"systemId",{get:function(){return this.sysID}}),a.prototype.toString=function(s){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(s))},a})(i)}).call(j4o)});var Xot=xe((z4o,F4o)=>{(function(){var t,e,i,o,r,n,a,s,l,c=function(u,p){for(var m in p)d.call(p,m)&&(u[m]=p[m]);function h(){this.constructor=u}return h.prototype=p.prototype,u.prototype=new h,u.__super__=p.prototype,u},d={}.hasOwnProperty;l=$z().isObject,s=CE(),t=sb(),e=Kot(),o=Zot(),i=Jot(),r=qot(),a=Hot(),F4o.exports=n=(function(u){c(p,u);function p(m,h,f){var g,b,y,w,x,S;if(p.__super__.constructor.call(this,m),this.type=t.DocType,m.children){for(w=m.children,b=0,y=w.length;b<y;b++)if(g=w[b],g.type===t.Element){this.name=g.name;break}}this.documentObject=m,l(h)&&(x=h,h=x.pubID,f=x.sysID),f==null&&(S=[h,f],f=S[0],h=S[1]),h!=null&&(this.pubID=this.stringify.dtdPubID(h)),f!=null&&(this.sysID=this.stringify.dtdSysID(f))}return Object.defineProperty(p.prototype,"entities",{get:function(){var m,h,f,g,b;for(g={},b=this.children,h=0,f=b.length;h<f;h++)m=b[h],m.type===t.EntityDeclaration&&!m.pe&&(g[m.name]=m);return new a(g)}}),Object.defineProperty(p.prototype,"notations",{get:function(){var m,h,f,g,b;for(g={},b=this.children,h=0,f=b.length;h<f;h++)m=b[h],m.type===t.NotationDeclaration&&(g[m.name]=m);return new a(g)}}),Object.defineProperty(p.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(p.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(p.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),p.prototype.element=function(m,h){var f;return f=new i(this,m,h),this.children.push(f),this},p.prototype.attList=function(m,h,f,g,b){var y;return y=new e(this,m,h,f,g,b),this.children.push(y),this},p.prototype.entity=function(m,h){var f;return f=new o(this,!1,m,h),this.children.push(f),this},p.prototype.pEntity=function(m,h){var f;return f=new o(this,!0,m,h),this.children.push(f),this},p.prototype.notation=function(m,h){var f;return f=new r(this,m,h),this.children.push(f),this},p.prototype.toString=function(m){return this.options.writer.docType(this,this.options.writer.filterOptions(m))},p.prototype.ele=function(m,h){return this.element(m,h)},p.prototype.att=function(m,h,f,g,b){return this.attList(m,h,f,g,b)},p.prototype.ent=function(m,h){return this.entity(m,h)},p.prototype.pent=function(m,h){return this.pEntity(m,h)},p.prototype.not=function(m,h){return this.notation(m,h)},p.prototype.up=function(){return this.root()||this.documentObject},p.prototype.isEqualNode=function(m){return!(!p.__super__.isEqualNode.apply(this,arguments).isEqualNode(m)||m.name!==this.name||m.publicId!==this.publicId||m.systemId!==this.systemId)},p})(s)}).call(z4o)});var $ot=xe((U4o,V4o)=>{(function(){var t,e,i,o=function(n,a){for(var s in a)r.call(a,s)&&(n[s]=a[s]);function l(){this.constructor=n}return l.prototype=a.prototype,n.prototype=new l,n.__super__=a.prototype,n},r={}.hasOwnProperty;t=sb(),e=CE(),V4o.exports=i=(function(n){o(a,n);function a(s,l){if(a.__super__.constructor.call(this,s),l==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=t.Raw,this.value=this.stringify.raw(l)}return a.prototype.clone=function(){return Object.create(this)},a.prototype.toString=function(s){return this.options.writer.raw(this,this.options.writer.filterOptions(s))},a})(e)}).call(U4o)});var ert=xe((H4o,G4o)=>{(function(){var t,e,i,o=function(n,a){for(var s in a)r.call(a,s)&&(n[s]=a[s]);function l(){this.constructor=n}return l.prototype=a.prototype,n.prototype=new l,n.__super__=a.prototype,n},r={}.hasOwnProperty;t=sb(),e=VLe(),G4o.exports=i=(function(n){o(a,n);function a(s,l){if(a.__super__.constructor.call(this,s),l==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=t.Text,this.value=this.stringify.text(l)}return Object.defineProperty(a.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(a.prototype,"wholeText",{get:function(){var s,l,c;for(c="",l=this.previousSibling;l;)c=l.data+c,l=l.previousSibling;for(c+=this.data,s=this.nextSibling;s;)c=c+s.data,s=s.nextSibling;return c}}),a.prototype.clone=function(){return Object.create(this)},a.prototype.toString=function(s){return this.options.writer.text(this,this.options.writer.filterOptions(s))},a.prototype.splitText=function(s){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.replaceWholeText=function(s){throw new Error("This DOM method is not implemented."+this.debugInfo())},a})(e)}).call(H4o)});var trt=xe((Y4o,W4o)=>{(function(){var t,e,i,o=function(n,a){for(var s in a)r.call(a,s)&&(n[s]=a[s]);function l(){this.constructor=n}return l.prototype=a.prototype,n.prototype=new l,n.__super__=a.prototype,n},r={}.hasOwnProperty;t=sb(),e=VLe(),W4o.exports=i=(function(n){o(a,n);function a(s,l,c){if(a.__super__.constructor.call(this,s),l==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=t.ProcessingInstruction,this.target=this.stringify.insTarget(l),this.name=this.target,c&&(this.value=this.stringify.insValue(c))}return a.prototype.clone=function(){return Object.create(this)},a.prototype.toString=function(s){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(s))},a.prototype.isEqualNode=function(s){return!(!a.__super__.isEqualNode.apply(this,arguments).isEqualNode(s)||s.target!==this.target)},a})(e)}).call(Y4o)});var Fzt=xe((Q4o,K4o)=>{(function(){var t,e,i,o=function(n,a){for(var s in a)r.call(a,s)&&(n[s]=a[s]);function l(){this.constructor=n}return l.prototype=a.prototype,n.prototype=new l,n.__super__=a.prototype,n},r={}.hasOwnProperty;i=CE(),t=sb(),K4o.exports=e=(function(n){o(a,n);function a(s){a.__super__.constructor.call(this,s),this.type=t.Dummy}return a.prototype.clone=function(){return Object.create(this)},a.prototype.toString=function(s){return""},a})(i)}).call(Q4o)});var q4o=xe((Z4o,J4o)=>{(function(){var t;J4o.exports=t=(function(){function e(i){this.nodes=i}return Object.defineProperty(e.prototype,"length",{get:function(){return this.nodes.length||0}}),e.prototype.clone=function(){return this.nodes=null},e.prototype.item=function(i){return this.nodes[i]||null},e})()}).call(Z4o)});var e3o=xe((X4o,$4o)=>{(function(){$4o.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(X4o)});var CE=xe((t3o,i3o)=>{(function(){var t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w={}.hasOwnProperty;y=$z(),b=y.isObject,g=y.isFunction,f=y.isEmpty,h=y.getValue,s=null,i=null,o=null,r=null,n=null,p=null,m=null,u=null,a=null,e=null,d=null,l=null,t=null,i3o.exports=c=(function(){function x(S){this.parent=S,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,s||(s=Got(),i=Yot(),o=Wot(),r=Qot(),n=Xot(),p=$ot(),m=ert(),u=trt(),a=Fzt(),e=sb(),d=q4o(),l=Hot(),t=e3o())}return Object.defineProperty(x.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(x.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(x.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(x.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(x.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new d(this.children)),this.childNodeList}}),Object.defineProperty(x.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(x.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(x.prototype,"previousSibling",{get:function(){var S;return S=this.parent.children.indexOf(this),this.parent.children[S-1]||null}}),Object.defineProperty(x.prototype,"nextSibling",{get:function(){var S;return S=this.parent.children.indexOf(this),this.parent.children[S+1]||null}}),Object.defineProperty(x.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(x.prototype,"textContent",{get:function(){var S,T,M,I,A;if(this.nodeType===e.Element||this.nodeType===e.DocumentFragment){for(A="",I=this.children,T=0,M=I.length;T<M;T++)S=I[T],S.textContent&&(A+=S.textContent);return A}else return null},set:function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),x.prototype.setParent=function(S){var T,M,I,A,D;for(this.parent=S,S&&(this.options=S.options,this.stringify=S.stringify),A=this.children,D=[],M=0,I=A.length;M<I;M++)T=A[M],D.push(T.setParent(this));return D},x.prototype.element=function(S,T,M){var I,A,D,E,N,R,v,k,P,O,_;if(R=null,T===null&&M==null&&(P=[{},null],T=P[0],M=P[1]),T==null&&(T={}),T=h(T),b(T)||(O=[T,M],M=O[0],T=O[1]),S!=null&&(S=h(S)),Array.isArray(S))for(D=0,v=S.length;D<v;D++)A=S[D],R=this.element(A);else if(g(S))R=this.element(S.apply());else if(b(S)){for(N in S)if(w.call(S,N))if(_=S[N],g(_)&&(_=_.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&N.indexOf(this.stringify.convertAttKey)===0)R=this.attribute(N.substr(this.stringify.convertAttKey.length),_);else if(!this.options.separateArrayItems&&Array.isArray(_)&&f(_))R=this.dummy();else if(b(_)&&f(_))R=this.element(N);else if(!this.options.keepNullNodes&&_==null)R=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(_))for(E=0,k=_.length;E<k;E++)A=_[E],I={},I[N]=A,R=this.element(I);else b(_)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&N.indexOf(this.stringify.convertTextKey)===0?R=this.element(_):(R=this.element(N),R.element(_)):R=this.element(N,_)}else!this.options.keepNullNodes&&M===null?R=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&S.indexOf(this.stringify.convertTextKey)===0?R=this.text(M):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&S.indexOf(this.stringify.convertCDataKey)===0?R=this.cdata(M):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&S.indexOf(this.stringify.convertCommentKey)===0?R=this.comment(M):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&S.indexOf(this.stringify.convertRawKey)===0?R=this.raw(M):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&S.indexOf(this.stringify.convertPIKey)===0?R=this.instruction(S.substr(this.stringify.convertPIKey.length),M):R=this.node(S,T,M);if(R==null)throw new Error("Could not create any elements with: "+S+". "+this.debugInfo());return R},x.prototype.insertBefore=function(S,T,M){var I,A,D,E,N;if(S!=null&&S.type)return D=S,E=T,D.setParent(this),E?(A=children.indexOf(E),N=children.splice(A),children.push(D),Array.prototype.push.apply(children,N)):children.push(D),D;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(S));return A=this.parent.children.indexOf(this),N=this.parent.children.splice(A),I=this.parent.element(S,T,M),Array.prototype.push.apply(this.parent.children,N),I},x.prototype.insertAfter=function(S,T,M){var I,A,D;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(S));return A=this.parent.children.indexOf(this),D=this.parent.children.splice(A+1),I=this.parent.element(S,T,M),Array.prototype.push.apply(this.parent.children,D),I},x.prototype.remove=function(){var S,T;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return S=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[S,S-S+1].concat(T=[])),this.parent},x.prototype.node=function(S,T,M){var I,A;return S!=null&&(S=h(S)),T||(T={}),T=h(T),b(T)||(A=[T,M],M=A[0],T=A[1]),I=new s(this,S,T),M!=null&&I.text(M),this.children.push(I),I},x.prototype.text=function(S){var T;return b(S)&&this.element(S),T=new m(this,S),this.children.push(T),this},x.prototype.cdata=function(S){var T;return T=new i(this,S),this.children.push(T),this},x.prototype.comment=function(S){var T;return T=new o(this,S),this.children.push(T),this},x.prototype.commentBefore=function(S){var T,M,I;return M=this.parent.children.indexOf(this),I=this.parent.children.splice(M),T=this.parent.comment(S),Array.prototype.push.apply(this.parent.children,I),this},x.prototype.commentAfter=function(S){var T,M,I;return M=this.parent.children.indexOf(this),I=this.parent.children.splice(M+1),T=this.parent.comment(S),Array.prototype.push.apply(this.parent.children,I),this},x.prototype.raw=function(S){var T;return T=new p(this,S),this.children.push(T),this},x.prototype.dummy=function(){var S;return S=new a(this),S},x.prototype.instruction=function(S,T){var M,I,A,D,E;if(S!=null&&(S=h(S)),T!=null&&(T=h(T)),Array.isArray(S))for(D=0,E=S.length;D<E;D++)M=S[D],this.instruction(M);else if(b(S))for(M in S)w.call(S,M)&&(I=S[M],this.instruction(M,I));else g(T)&&(T=T.apply()),A=new u(this,S,T),this.children.push(A);return this},x.prototype.instructionBefore=function(S,T){var M,I,A;return I=this.parent.children.indexOf(this),A=this.parent.children.splice(I),M=this.parent.instruction(S,T),Array.prototype.push.apply(this.parent.children,A),this},x.prototype.instructionAfter=function(S,T){var M,I,A;return I=this.parent.children.indexOf(this),A=this.parent.children.splice(I+1),M=this.parent.instruction(S,T),Array.prototype.push.apply(this.parent.children,A),this},x.prototype.declaration=function(S,T,M){var I,A;return I=this.document(),A=new r(I,S,T,M),I.children.length===0?I.children.unshift(A):I.children[0].type===e.Declaration?I.children[0]=A:I.children.unshift(A),I.root()||I},x.prototype.dtd=function(S,T){var M,I,A,D,E,N,R,v,k,P;for(I=this.document(),A=new n(I,S,T),k=I.children,D=E=0,R=k.length;E<R;D=++E)if(M=k[D],M.type===e.DocType)return I.children[D]=A,A;for(P=I.children,D=N=0,v=P.length;N<v;D=++N)if(M=P[D],M.isRoot)return I.children.splice(D,0,A),A;return I.children.push(A),A},x.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},x.prototype.root=function(){var S;for(S=this;S;){if(S.type===e.Document)return S.rootObject;if(S.isRoot)return S;S=S.parent}},x.prototype.document=function(){var S;for(S=this;S;){if(S.type===e.Document)return S;S=S.parent}},x.prototype.end=function(S){return this.document().end(S)},x.prototype.prev=function(){var S;if(S=this.parent.children.indexOf(this),S<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[S-1]},x.prototype.next=function(){var S;if(S=this.parent.children.indexOf(this),S===-1||S===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[S+1]},x.prototype.importDocument=function(S){var T;return T=S.root().clone(),T.parent=this,T.isRoot=!1,this.children.push(T),this},x.prototype.debugInfo=function(S){var T,M;return S=S||this.name,S==null&&!((T=this.parent)!=null&&T.name)?"":S==null?"parent: <"+this.parent.name+">":(M=this.parent)!=null&&M.name?"node: <"+S+">, parent: <"+this.parent.name+">":"node: <"+S+">"},x.prototype.ele=function(S,T,M){return this.element(S,T,M)},x.prototype.nod=function(S,T,M){return this.node(S,T,M)},x.prototype.txt=function(S){return this.text(S)},x.prototype.dat=function(S){return this.cdata(S)},x.prototype.com=function(S){return this.comment(S)},x.prototype.ins=function(S,T){return this.instruction(S,T)},x.prototype.doc=function(){return this.document()},x.prototype.dec=function(S,T,M){return this.declaration(S,T,M)},x.prototype.e=function(S,T,M){return this.element(S,T,M)},x.prototype.n=function(S,T,M){return this.node(S,T,M)},x.prototype.t=function(S){return this.text(S)},x.prototype.d=function(S){return this.cdata(S)},x.prototype.c=function(S){return this.comment(S)},x.prototype.r=function(S){return this.raw(S)},x.prototype.i=function(S,T){return this.instruction(S,T)},x.prototype.u=function(){return this.up()},x.prototype.importXMLBuilder=function(S){return this.importDocument(S)},x.prototype.replaceChild=function(S,T){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.removeChild=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.appendChild=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.hasChildNodes=function(){return this.children.length!==0},x.prototype.cloneNode=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.isSupported=function(S,T){return!0},x.prototype.hasAttributes=function(){return this.attribs.length!==0},x.prototype.compareDocumentPosition=function(S){var T,M;return T=this,T===S?0:this.document()!==S.document()?(M=t.Disconnected|t.ImplementationSpecific,Math.random()<.5?M|=t.Preceding:M|=t.Following,M):T.isAncestor(S)?t.Contains|t.Preceding:T.isDescendant(S)?t.Contains|t.Following:T.isPreceding(S)?t.Preceding:t.Following},x.prototype.isSameNode=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.lookupPrefix=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.isDefaultNamespace=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.lookupNamespaceURI=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.isEqualNode=function(S){var T,M,I;if(S.nodeType!==this.nodeType||S.children.length!==this.children.length)return!1;for(T=M=0,I=this.children.length-1;0<=I?M<=I:M>=I;T=0<=I?++M:--M)if(!this.children[T].isEqualNode(S.children[T]))return!1;return!0},x.prototype.getFeature=function(S,T){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.setUserData=function(S,T,M){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getUserData=function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.contains=function(S){return S?S===this||this.isDescendant(S):!1},x.prototype.isDescendant=function(S){var T,M,I,A,D;for(D=this.children,I=0,A=D.length;I<A;I++)if(T=D[I],S===T||(M=T.isDescendant(S),M))return!0;return!1},x.prototype.isAncestor=function(S){return S.isDescendant(this)},x.prototype.isPreceding=function(S){var T,M;return T=this.treePosition(S),M=this.treePosition(this),T===-1||M===-1?!1:T<M},x.prototype.isFollowing=function(S){var T,M;return T=this.treePosition(S),M=this.treePosition(this),T===-1||M===-1?!1:T>M},x.prototype.treePosition=function(S){var T,M;return M=0,T=!1,this.foreachTreeNode(this.document(),function(I){if(M++,!T&&I===S)return T=!0}),T?M:-1},x.prototype.foreachTreeNode=function(S,T){var M,I,A,D,E;for(S||(S=this.document()),D=S.children,I=0,A=D.length;I<A;I++){if(M=D[I],E=T(M))return E;if(E=this.foreachTreeNode(M,T),E)return E}},x})()}).call(t3o)});var Uzt=xe((o3o,r3o)=>{(function(){var t,e=function(o,r){return function(){return o.apply(r,arguments)}},i={}.hasOwnProperty;r3o.exports=t=(function(){function o(r){this.assertLegalName=e(this.assertLegalName,this),this.assertLegalChar=e(this.assertLegalChar,this);var n,a,s;r||(r={}),this.options=r,this.options.version||(this.options.version="1.0"),a=r.stringify||{};for(n in a)i.call(a,n)&&(s=a[n],this[n]=s)}return o.prototype.name=function(r){return this.options.noValidation?r:this.assertLegalName(""+r||"")},o.prototype.text=function(r){return this.options.noValidation?r:this.assertLegalChar(this.textEscape(""+r||""))},o.prototype.cdata=function(r){return this.options.noValidation?r:(r=""+r||"",r=r.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(r))},o.prototype.comment=function(r){if(this.options.noValidation)return r;if(r=""+r||"",r.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+r);return this.assertLegalChar(r)},o.prototype.raw=function(r){return this.options.noValidation?r:""+r||""},o.prototype.attValue=function(r){return this.options.noValidation?r:this.assertLegalChar(this.attEscape(r=""+r||""))},o.prototype.insTarget=function(r){return this.options.noValidation?r:this.assertLegalChar(""+r||"")},o.prototype.insValue=function(r){if(this.options.noValidation)return r;if(r=""+r||"",r.match(/\?>/))throw new Error("Invalid processing instruction value: "+r);return this.assertLegalChar(r)},o.prototype.xmlVersion=function(r){if(this.options.noValidation)return r;if(r=""+r||"",!r.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+r);return r},o.prototype.xmlEncoding=function(r){if(this.options.noValidation)return r;if(r=""+r||"",!r.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+r);return this.assertLegalChar(r)},o.prototype.xmlStandalone=function(r){return this.options.noValidation?r:r?"yes":"no"},o.prototype.dtdPubID=function(r){return this.options.noValidation?r:this.assertLegalChar(""+r||"")},o.prototype.dtdSysID=function(r){return this.options.noValidation?r:this.assertLegalChar(""+r||"")},o.prototype.dtdElementValue=function(r){return this.options.noValidation?r:this.assertLegalChar(""+r||"")},o.prototype.dtdAttType=function(r){return this.options.noValidation?r:this.assertLegalChar(""+r||"")},o.prototype.dtdAttDefault=function(r){return this.options.noValidation?r:this.assertLegalChar(""+r||"")},o.prototype.dtdEntityValue=function(r){return this.options.noValidation?r:this.assertLegalChar(""+r||"")},o.prototype.dtdNData=function(r){return this.options.noValidation?r:this.assertLegalChar(""+r||"")},o.prototype.convertAttKey="@",o.prototype.convertPIKey="?",o.prototype.convertTextKey="#text",o.prototype.convertCDataKey="#cdata",o.prototype.convertCommentKey="#comment",o.prototype.convertRawKey="#raw",o.prototype.assertLegalChar=function(r){var n,a;if(this.options.noValidation)return r;if(n="",this.options.version==="1.0"){if(n=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,a=r.match(n))throw new Error("Invalid character in string: "+r+" at index "+a.index)}else if(this.options.version==="1.1"&&(n=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,a=r.match(n)))throw new Error("Invalid character in string: "+r+" at index "+a.index);return r},o.prototype.assertLegalName=function(r){var n;if(this.options.noValidation)return r;if(this.assertLegalChar(r),n=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!r.match(n))throw new Error("Invalid character in name");return r},o.prototype.textEscape=function(r){var n;return this.options.noValidation?r:(n=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(n,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},o.prototype.attEscape=function(r){var n;return this.options.noValidation?r:(n=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(n,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},o})()}).call(o3o)});var HLe=xe((n3o,a3o)=>{(function(){a3o.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(n3o)});var Vzt=xe((s3o,l3o)=>{(function(){var t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b={}.hasOwnProperty;g=$z().assign,t=sb(),l=Qot(),c=Xot(),i=Yot(),o=Wot(),u=Got(),m=$ot(),h=ert(),p=trt(),d=Fzt(),r=Kot(),n=Jot(),a=Zot(),s=qot(),e=HLe(),l3o.exports=f=(function(){function y(w){var x,S,T;w||(w={}),this.options=w,S=w.writer||{};for(x in S)b.call(S,x)&&(T=S[x],this["_"+x]=this[x],this[x]=T)}return y.prototype.filterOptions=function(w){var x,S,T,M,I,A,D,E;return w||(w={}),w=g({},this.options,w),x={writer:this},x.pretty=w.pretty||!1,x.allowEmpty=w.allowEmpty||!1,x.indent=(S=w.indent)!=null?S:"  ",x.newline=(T=w.newline)!=null?T:`
`,x.offset=(M=w.offset)!=null?M:0,x.dontPrettyTextNodes=(I=(A=w.dontPrettyTextNodes)!=null?A:w.dontprettytextnodes)!=null?I:0,x.spaceBeforeSlash=(D=(E=w.spaceBeforeSlash)!=null?E:w.spacebeforeslash)!=null?D:"",x.spaceBeforeSlash===!0&&(x.spaceBeforeSlash=" "),x.suppressPrettyCount=0,x.user={},x.state=e.None,x},y.prototype.indent=function(w,x,S){var T;return!x.pretty||x.suppressPrettyCount?"":x.pretty&&(T=(S||0)+x.offset+1,T>0)?new Array(T).join(x.indent):""},y.prototype.endline=function(w,x,S){return!x.pretty||x.suppressPrettyCount?"":x.newline},y.prototype.attribute=function(w,x,S){var T;return this.openAttribute(w,x,S),T=" "+w.name+'="'+w.value+'"',this.closeAttribute(w,x,S),T},y.prototype.cdata=function(w,x,S){var T;return this.openNode(w,x,S),x.state=e.OpenTag,T=this.indent(w,x,S)+"<![CDATA[",x.state=e.InsideTag,T+=w.value,x.state=e.CloseTag,T+="]]>"+this.endline(w,x,S),x.state=e.None,this.closeNode(w,x,S),T},y.prototype.comment=function(w,x,S){var T;return this.openNode(w,x,S),x.state=e.OpenTag,T=this.indent(w,x,S)+"<!-- ",x.state=e.InsideTag,T+=w.value,x.state=e.CloseTag,T+=" -->"+this.endline(w,x,S),x.state=e.None,this.closeNode(w,x,S),T},y.prototype.declaration=function(w,x,S){var T;return this.openNode(w,x,S),x.state=e.OpenTag,T=this.indent(w,x,S)+"<?xml",x.state=e.InsideTag,T+=' version="'+w.version+'"',w.encoding!=null&&(T+=' encoding="'+w.encoding+'"'),w.standalone!=null&&(T+=' standalone="'+w.standalone+'"'),x.state=e.CloseTag,T+=x.spaceBeforeSlash+"?>",T+=this.endline(w,x,S),x.state=e.None,this.closeNode(w,x,S),T},y.prototype.docType=function(w,x,S){var T,M,I,A,D;if(S||(S=0),this.openNode(w,x,S),x.state=e.OpenTag,A=this.indent(w,x,S),A+="<!DOCTYPE "+w.root().name,w.pubID&&w.sysID?A+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.sysID&&(A+=' SYSTEM "'+w.sysID+'"'),w.children.length>0){for(A+=" [",A+=this.endline(w,x,S),x.state=e.InsideTag,D=w.children,M=0,I=D.length;M<I;M++)T=D[M],A+=this.writeChildNode(T,x,S+1);x.state=e.CloseTag,A+="]"}return x.state=e.CloseTag,A+=x.spaceBeforeSlash+">",A+=this.endline(w,x,S),x.state=e.None,this.closeNode(w,x,S),A},y.prototype.element=function(w,x,S){var T,M,I,A,D,E,N,R,v,k,P,O,_,j;S||(S=0),k=!1,P="",this.openNode(w,x,S),x.state=e.OpenTag,P+=this.indent(w,x,S)+"<"+w.name,O=w.attribs;for(v in O)b.call(O,v)&&(T=O[v],P+=this.attribute(T,x,S));if(I=w.children.length,A=I===0?null:w.children[0],I===0||w.children.every(function(B){return(B.type===t.Text||B.type===t.Raw)&&B.value===""}))x.allowEmpty?(P+=">",x.state=e.CloseTag,P+="</"+w.name+">"+this.endline(w,x,S)):(x.state=e.CloseTag,P+=x.spaceBeforeSlash+"/>"+this.endline(w,x,S));else if(x.pretty&&I===1&&(A.type===t.Text||A.type===t.Raw)&&A.value!=null)P+=">",x.state=e.InsideTag,x.suppressPrettyCount++,k=!0,P+=this.writeChildNode(A,x,S+1),x.suppressPrettyCount--,k=!1,x.state=e.CloseTag,P+="</"+w.name+">"+this.endline(w,x,S);else{if(x.dontPrettyTextNodes){for(_=w.children,D=0,N=_.length;D<N;D++)if(M=_[D],(M.type===t.Text||M.type===t.Raw)&&M.value!=null){x.suppressPrettyCount++,k=!0;break}}for(P+=">"+this.endline(w,x,S),x.state=e.InsideTag,j=w.children,E=0,R=j.length;E<R;E++)M=j[E],P+=this.writeChildNode(M,x,S+1);x.state=e.CloseTag,P+=this.indent(w,x,S)+"</"+w.name+">",k&&x.suppressPrettyCount--,P+=this.endline(w,x,S),x.state=e.None}return this.closeNode(w,x,S),P},y.prototype.writeChildNode=function(w,x,S){switch(w.type){case t.CData:return this.cdata(w,x,S);case t.Comment:return this.comment(w,x,S);case t.Element:return this.element(w,x,S);case t.Raw:return this.raw(w,x,S);case t.Text:return this.text(w,x,S);case t.ProcessingInstruction:return this.processingInstruction(w,x,S);case t.Dummy:return"";case t.Declaration:return this.declaration(w,x,S);case t.DocType:return this.docType(w,x,S);case t.AttributeDeclaration:return this.dtdAttList(w,x,S);case t.ElementDeclaration:return this.dtdElement(w,x,S);case t.EntityDeclaration:return this.dtdEntity(w,x,S);case t.NotationDeclaration:return this.dtdNotation(w,x,S);default:throw new Error("Unknown XML node type: "+w.constructor.name)}},y.prototype.processingInstruction=function(w,x,S){var T;return this.openNode(w,x,S),x.state=e.OpenTag,T=this.indent(w,x,S)+"<?",x.state=e.InsideTag,T+=w.target,w.value&&(T+=" "+w.value),x.state=e.CloseTag,T+=x.spaceBeforeSlash+"?>",T+=this.endline(w,x,S),x.state=e.None,this.closeNode(w,x,S),T},y.prototype.raw=function(w,x,S){var T;return this.openNode(w,x,S),x.state=e.OpenTag,T=this.indent(w,x,S),x.state=e.InsideTag,T+=w.value,x.state=e.CloseTag,T+=this.endline(w,x,S),x.state=e.None,this.closeNode(w,x,S),T},y.prototype.text=function(w,x,S){var T;return this.openNode(w,x,S),x.state=e.OpenTag,T=this.indent(w,x,S),x.state=e.InsideTag,T+=w.value,x.state=e.CloseTag,T+=this.endline(w,x,S),x.state=e.None,this.closeNode(w,x,S),T},y.prototype.dtdAttList=function(w,x,S){var T;return this.openNode(w,x,S),x.state=e.OpenTag,T=this.indent(w,x,S)+"<!ATTLIST",x.state=e.InsideTag,T+=" "+w.elementName+" "+w.attributeName+" "+w.attributeType,w.defaultValueType!=="#DEFAULT"&&(T+=" "+w.defaultValueType),w.defaultValue&&(T+=' "'+w.defaultValue+'"'),x.state=e.CloseTag,T+=x.spaceBeforeSlash+">"+this.endline(w,x,S),x.state=e.None,this.closeNode(w,x,S),T},y.prototype.dtdElement=function(w,x,S){var T;return this.openNode(w,x,S),x.state=e.OpenTag,T=this.indent(w,x,S)+"<!ELEMENT",x.state=e.InsideTag,T+=" "+w.name+" "+w.value,x.state=e.CloseTag,T+=x.spaceBeforeSlash+">"+this.endline(w,x,S),x.state=e.None,this.closeNode(w,x,S),T},y.prototype.dtdEntity=function(w,x,S){var T;return this.openNode(w,x,S),x.state=e.OpenTag,T=this.indent(w,x,S)+"<!ENTITY",x.state=e.InsideTag,w.pe&&(T+=" %"),T+=" "+w.name,w.value?T+=' "'+w.value+'"':(w.pubID&&w.sysID?T+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.sysID&&(T+=' SYSTEM "'+w.sysID+'"'),w.nData&&(T+=" NDATA "+w.nData)),x.state=e.CloseTag,T+=x.spaceBeforeSlash+">"+this.endline(w,x,S),x.state=e.None,this.closeNode(w,x,S),T},y.prototype.dtdNotation=function(w,x,S){var T;return this.openNode(w,x,S),x.state=e.OpenTag,T=this.indent(w,x,S)+"<!NOTATION",x.state=e.InsideTag,T+=" "+w.name,w.pubID&&w.sysID?T+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.pubID?T+=' PUBLIC "'+w.pubID+'"':w.sysID&&(T+=' SYSTEM "'+w.sysID+'"'),x.state=e.CloseTag,T+=x.spaceBeforeSlash+">"+this.endline(w,x,S),x.state=e.None,this.closeNode(w,x,S),T},y.prototype.openNode=function(w,x,S){},y.prototype.closeNode=function(w,x,S){},y.prototype.openAttribute=function(w,x,S){},y.prototype.closeAttribute=function(w,x,S){},y})()}).call(s3o)});var irt=xe((c3o,d3o)=>{(function(){var t,e,i=function(r,n){for(var a in n)o.call(n,a)&&(r[a]=n[a]);function s(){this.constructor=r}return s.prototype=n.prototype,r.prototype=new s,r.__super__=n.prototype,r},o={}.hasOwnProperty;e=Vzt(),d3o.exports=t=(function(r){i(n,r);function n(a){n.__super__.constructor.call(this,a)}return n.prototype.document=function(a,s){var l,c,d,u,p;for(s=this.filterOptions(s),u="",p=a.children,c=0,d=p.length;c<d;c++)l=p[c],u+=this.writeChildNode(l,s,0);return s.pretty&&u.slice(-s.newline.length)===s.newline&&(u=u.slice(0,-s.newline.length)),u},n})(e)}).call(c3o)});var Hzt=xe((u3o,p3o)=>{(function(){var t,e,i,o,r,n,a,s,l=function(d,u){for(var p in u)c.call(u,p)&&(d[p]=u[p]);function m(){this.constructor=d}return m.prototype=u.prototype,d.prototype=new m,d.__super__=u.prototype,d},c={}.hasOwnProperty;s=$z().isPlainObject,i=Bzt(),e=h4o(),r=CE(),t=sb(),a=Uzt(),n=irt(),p3o.exports=o=(function(d){l(u,d);function u(p){u.__super__.constructor.call(this,null),this.name="#document",this.type=t.Document,this.documentURI=null,this.domConfig=new e,p||(p={}),p.writer||(p.writer=new n),this.options=p,this.stringify=new a(p)}return Object.defineProperty(u.prototype,"implementation",{value:new i}),Object.defineProperty(u.prototype,"doctype",{get:function(){var p,m,h,f;for(f=this.children,m=0,h=f.length;m<h;m++)if(p=f[m],p.type===t.DocType)return p;return null}}),Object.defineProperty(u.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(u.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(u.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(u.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===t.Declaration?this.children[0].encoding:null}}),Object.defineProperty(u.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===t.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(u.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===t.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(u.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(u.prototype,"origin",{get:function(){return null}}),Object.defineProperty(u.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(u.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(u.prototype,"contentType",{get:function(){return null}}),u.prototype.end=function(p){var m;return m={},p?s(p)&&(m=p,p=this.options.writer):p=this.options.writer,p.document(this,p.filterOptions(m))},u.prototype.toString=function(p){return this.options.writer.document(this,this.options.writer.filterOptions(p))},u.prototype.createElement=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createTextNode=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createComment=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createCDATASection=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createProcessingInstruction=function(p,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createAttribute=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createEntityReference=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.getElementsByTagName=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.importNode=function(p,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createElementNS=function(p,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createAttributeNS=function(p,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.getElementsByTagNameNS=function(p,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.getElementById=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.adoptNode=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.renameNode=function(p,m,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.getElementsByClassName=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createEvent=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createNodeIterator=function(p,m,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},u.prototype.createTreeWalker=function(p,m,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},u})(r)}).call(u3o)});var f3o=xe((m3o,h3o)=>{(function(){var t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M,I={}.hasOwnProperty;M=$z(),S=M.isObject,x=M.isFunction,T=M.isPlainObject,w=M.getValue,t=sb(),u=Hzt(),m=Got(),o=Yot(),r=Wot(),f=$ot(),y=ert(),h=trt(),c=Qot(),d=Xot(),n=Kot(),s=Zot(),a=Jot(),l=qot(),i=zzt(),b=Uzt(),g=irt(),e=HLe(),h3o.exports=p=(function(){function A(D,E,N){var R;this.name="?xml",this.type=t.Document,D||(D={}),R={},D.writer?T(D.writer)&&(R=D.writer,D.writer=new g):D.writer=new g,this.options=D,this.writer=D.writer,this.writerOptions=this.writer.filterOptions(R),this.stringify=new b(D),this.onDataCallback=E||function(){},this.onEndCallback=N||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return A.prototype.createChildNode=function(D){var E,N,R,v,k,P,O,_;switch(D.type){case t.CData:this.cdata(D.value);break;case t.Comment:this.comment(D.value);break;case t.Element:R={},O=D.attribs;for(N in O)I.call(O,N)&&(E=O[N],R[N]=E.value);this.node(D.name,R);break;case t.Dummy:this.dummy();break;case t.Raw:this.raw(D.value);break;case t.Text:this.text(D.value);break;case t.ProcessingInstruction:this.instruction(D.target,D.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+D.constructor.name)}for(_=D.children,k=0,P=_.length;k<P;k++)v=_[k],this.createChildNode(v),v.type===t.Element&&this.up();return this},A.prototype.dummy=function(){return this},A.prototype.node=function(D,E,N){var R;if(D==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(D));return this.openCurrent(),D=w(D),E==null&&(E={}),E=w(E),S(E)||(R=[E,N],N=R[0],E=R[1]),this.currentNode=new m(this,D,E),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,N!=null&&this.text(N),this},A.prototype.element=function(D,E,N){var R,v,k,P,O,_;if(this.currentNode&&this.currentNode.type===t.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(D)||S(D)||x(D))for(P=this.options.noValidation,this.options.noValidation=!0,_=new u(this.options).element("TEMP_ROOT"),_.element(D),this.options.noValidation=P,O=_.children,v=0,k=O.length;v<k;v++)R=O[v],this.createChildNode(R),R.type===t.Element&&this.up();else this.node(D,E,N);return this},A.prototype.attribute=function(D,E){var N,R;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(D));if(D!=null&&(D=w(D)),S(D))for(N in D)I.call(D,N)&&(R=D[N],this.attribute(N,R));else x(E)&&(E=E.apply()),this.options.keepNullAttributes&&E==null?this.currentNode.attribs[D]=new i(this,D,""):E!=null&&(this.currentNode.attribs[D]=new i(this,D,E));return this},A.prototype.text=function(D){var E;return this.openCurrent(),E=new y(this,D),this.onData(this.writer.text(E,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},A.prototype.cdata=function(D){var E;return this.openCurrent(),E=new o(this,D),this.onData(this.writer.cdata(E,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},A.prototype.comment=function(D){var E;return this.openCurrent(),E=new r(this,D),this.onData(this.writer.comment(E,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},A.prototype.raw=function(D){var E;return this.openCurrent(),E=new f(this,D),this.onData(this.writer.raw(E,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},A.prototype.instruction=function(D,E){var N,R,v,k,P;if(this.openCurrent(),D!=null&&(D=w(D)),E!=null&&(E=w(E)),Array.isArray(D))for(N=0,k=D.length;N<k;N++)R=D[N],this.instruction(R);else if(S(D))for(R in D)I.call(D,R)&&(v=D[R],this.instruction(R,v));else x(E)&&(E=E.apply()),P=new h(this,D,E),this.onData(this.writer.processingInstruction(P,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},A.prototype.declaration=function(D,E,N){var R;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return R=new c(this,D,E,N),this.onData(this.writer.declaration(R,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},A.prototype.doctype=function(D,E,N){if(this.openCurrent(),D==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new d(this,E,N),this.currentNode.rootNodeName=D,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},A.prototype.dtdElement=function(D,E){var N;return this.openCurrent(),N=new a(this,D,E),this.onData(this.writer.dtdElement(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},A.prototype.attList=function(D,E,N,R,v){var k;return this.openCurrent(),k=new n(this,D,E,N,R,v),this.onData(this.writer.dtdAttList(k,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},A.prototype.entity=function(D,E){var N;return this.openCurrent(),N=new s(this,!1,D,E),this.onData(this.writer.dtdEntity(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},A.prototype.pEntity=function(D,E){var N;return this.openCurrent(),N=new s(this,!0,D,E),this.onData(this.writer.dtdEntity(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},A.prototype.notation=function(D,E){var N;return this.openCurrent(),N=new l(this,D,E),this.onData(this.writer.dtdNotation(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},A.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},A.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},A.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},A.prototype.openNode=function(D){var E,N,R,v;if(!D.isOpen){if(!this.root&&this.currentLevel===0&&D.type===t.Element&&(this.root=D),N="",D.type===t.Element){this.writerOptions.state=e.OpenTag,N=this.writer.indent(D,this.writerOptions,this.currentLevel)+"<"+D.name,v=D.attribs;for(R in v)I.call(v,R)&&(E=v[R],N+=this.writer.attribute(E,this.writerOptions,this.currentLevel));N+=(D.children?">":"/>")+this.writer.endline(D,this.writerOptions,this.currentLevel),this.writerOptions.state=e.InsideTag}else this.writerOptions.state=e.OpenTag,N=this.writer.indent(D,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+D.rootNodeName,D.pubID&&D.sysID?N+=' PUBLIC "'+D.pubID+'" "'+D.sysID+'"':D.sysID&&(N+=' SYSTEM "'+D.sysID+'"'),D.children?(N+=" [",this.writerOptions.state=e.InsideTag):(this.writerOptions.state=e.CloseTag,N+=">"),N+=this.writer.endline(D,this.writerOptions,this.currentLevel);return this.onData(N,this.currentLevel),D.isOpen=!0}},A.prototype.closeNode=function(D){var E;if(!D.isClosed)return E="",this.writerOptions.state=e.CloseTag,D.type===t.Element?E=this.writer.indent(D,this.writerOptions,this.currentLevel)+"</"+D.name+">"+this.writer.endline(D,this.writerOptions,this.currentLevel):E=this.writer.indent(D,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(D,this.writerOptions,this.currentLevel),this.writerOptions.state=e.None,this.onData(E,this.currentLevel),D.isClosed=!0},A.prototype.onData=function(D,E){return this.documentStarted=!0,this.onDataCallback(D,E+1)},A.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},A.prototype.debugInfo=function(D){return D==null?"":"node: <"+D+">"},A.prototype.ele=function(){return this.element.apply(this,arguments)},A.prototype.nod=function(D,E,N){return this.node(D,E,N)},A.prototype.txt=function(D){return this.text(D)},A.prototype.dat=function(D){return this.cdata(D)},A.prototype.com=function(D){return this.comment(D)},A.prototype.ins=function(D,E){return this.instruction(D,E)},A.prototype.dec=function(D,E,N){return this.declaration(D,E,N)},A.prototype.dtd=function(D,E,N){return this.doctype(D,E,N)},A.prototype.e=function(D,E,N){return this.element(D,E,N)},A.prototype.n=function(D,E,N){return this.node(D,E,N)},A.prototype.t=function(D){return this.text(D)},A.prototype.d=function(D){return this.cdata(D)},A.prototype.c=function(D){return this.comment(D)},A.prototype.r=function(D){return this.raw(D)},A.prototype.i=function(D,E){return this.instruction(D,E)},A.prototype.att=function(){return this.currentNode&&this.currentNode.type===t.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},A.prototype.a=function(){return this.currentNode&&this.currentNode.type===t.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},A.prototype.ent=function(D,E){return this.entity(D,E)},A.prototype.pent=function(D,E){return this.pEntity(D,E)},A.prototype.not=function(D,E){return this.notation(D,E)},A})()}).call(m3o)});var y3o=xe((g3o,b3o)=>{(function(){var t,e,i,o,r=function(a,s){for(var l in s)n.call(s,l)&&(a[l]=s[l]);function c(){this.constructor=a}return c.prototype=s.prototype,a.prototype=new c,a.__super__=s.prototype,a},n={}.hasOwnProperty;t=sb(),o=Vzt(),e=HLe(),b3o.exports=i=(function(a){r(s,a);function s(l,c){this.stream=l,s.__super__.constructor.call(this,c)}return s.prototype.endline=function(l,c,d){return l.isLastRootNode&&c.state===e.CloseTag?"":s.__super__.endline.call(this,l,c,d)},s.prototype.document=function(l,c){var d,u,p,m,h,f,g,b,y;for(g=l.children,u=p=0,h=g.length;p<h;u=++p)d=g[u],d.isLastRootNode=u===l.children.length-1;for(c=this.filterOptions(c),b=l.children,y=[],m=0,f=b.length;m<f;m++)d=b[m],y.push(this.writeChildNode(d,c,0));return y},s.prototype.attribute=function(l,c,d){return this.stream.write(s.__super__.attribute.call(this,l,c,d))},s.prototype.cdata=function(l,c,d){return this.stream.write(s.__super__.cdata.call(this,l,c,d))},s.prototype.comment=function(l,c,d){return this.stream.write(s.__super__.comment.call(this,l,c,d))},s.prototype.declaration=function(l,c,d){return this.stream.write(s.__super__.declaration.call(this,l,c,d))},s.prototype.docType=function(l,c,d){var u,p,m,h;if(d||(d=0),this.openNode(l,c,d),c.state=e.OpenTag,this.stream.write(this.indent(l,c,d)),this.stream.write("<!DOCTYPE "+l.root().name),l.pubID&&l.sysID?this.stream.write(' PUBLIC "'+l.pubID+'" "'+l.sysID+'"'):l.sysID&&this.stream.write(' SYSTEM "'+l.sysID+'"'),l.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(l,c,d)),c.state=e.InsideTag,h=l.children,p=0,m=h.length;p<m;p++)u=h[p],this.writeChildNode(u,c,d+1);c.state=e.CloseTag,this.stream.write("]")}return c.state=e.CloseTag,this.stream.write(c.spaceBeforeSlash+">"),this.stream.write(this.endline(l,c,d)),c.state=e.None,this.closeNode(l,c,d)},s.prototype.element=function(l,c,d){var u,p,m,h,f,g,b,y,w,x;d||(d=0),this.openNode(l,c,d),c.state=e.OpenTag,this.stream.write(this.indent(l,c,d)+"<"+l.name),w=l.attribs;for(b in w)n.call(w,b)&&(u=w[b],this.attribute(u,c,d));if(m=l.children.length,h=m===0?null:l.children[0],m===0||l.children.every(function(S){return(S.type===t.Text||S.type===t.Raw)&&S.value===""}))c.allowEmpty?(this.stream.write(">"),c.state=e.CloseTag,this.stream.write("</"+l.name+">")):(c.state=e.CloseTag,this.stream.write(c.spaceBeforeSlash+"/>"));else if(c.pretty&&m===1&&(h.type===t.Text||h.type===t.Raw)&&h.value!=null)this.stream.write(">"),c.state=e.InsideTag,c.suppressPrettyCount++,y=!0,this.writeChildNode(h,c,d+1),c.suppressPrettyCount--,y=!1,c.state=e.CloseTag,this.stream.write("</"+l.name+">");else{for(this.stream.write(">"+this.endline(l,c,d)),c.state=e.InsideTag,x=l.children,f=0,g=x.length;f<g;f++)p=x[f],this.writeChildNode(p,c,d+1);c.state=e.CloseTag,this.stream.write(this.indent(l,c,d)+"</"+l.name+">")}return this.stream.write(this.endline(l,c,d)),c.state=e.None,this.closeNode(l,c,d)},s.prototype.processingInstruction=function(l,c,d){return this.stream.write(s.__super__.processingInstruction.call(this,l,c,d))},s.prototype.raw=function(l,c,d){return this.stream.write(s.__super__.raw.call(this,l,c,d))},s.prototype.text=function(l,c,d){return this.stream.write(s.__super__.text.call(this,l,c,d))},s.prototype.dtdAttList=function(l,c,d){return this.stream.write(s.__super__.dtdAttList.call(this,l,c,d))},s.prototype.dtdElement=function(l,c,d){return this.stream.write(s.__super__.dtdElement.call(this,l,c,d))},s.prototype.dtdEntity=function(l,c,d){return this.stream.write(s.__super__.dtdEntity.call(this,l,c,d))},s.prototype.dtdNotation=function(l,c,d){return this.stream.write(s.__super__.dtdNotation.call(this,l,c,d))},s})(o)}).call(g3o)});var C3o=xe((w3o,iee)=>{(function(){var t,e,i,o,r,n,a,s,l,c;c=$z(),s=c.assign,l=c.isFunction,i=Bzt(),o=Hzt(),r=f3o(),a=irt(),n=y3o(),t=sb(),e=HLe(),iee.exports.create=function(d,u,p,m){var h,f;if(d==null)throw new Error("Root element needs a name.");return m=s({},u,p,m),h=new o(m),f=h.element(d),m.headless||(h.declaration(m),(m.pubID!=null||m.sysID!=null)&&h.dtd(m)),f},iee.exports.begin=function(d,u,p){var m;return l(d)&&(m=[d,u],u=m[0],p=m[1],d={}),u?new r(d,u,p):new o(d)},iee.exports.stringWriter=function(d){return new a(d)},iee.exports.streamWriter=function(d,u){return new n(d,u)},iee.exports.implementation=new i,iee.exports.nodeType=t,iee.exports.writerState=e}).call(w3o)});var x3o=xe(Gzt=>{(function(){"use strict";var t,e,i,o,r,n={}.hasOwnProperty;t=C3o(),e=Vot().defaults,o=function(a){return typeof a=="string"&&(a.indexOf("&")>=0||a.indexOf(">")>=0||a.indexOf("<")>=0)},r=function(a){return"<![CDATA["+i(a)+"]]>"},i=function(a){return a.replace("]]>","]]]]><![CDATA[>")},Gzt.Builder=(function(){function a(s){var l,c,d;this.options={},c=e["0.2"];for(l in c)n.call(c,l)&&(d=c[l],this.options[l]=d);for(l in s)n.call(s,l)&&(d=s[l],this.options[l]=d)}return a.prototype.buildObject=function(s){var l,c,d,u,p;return l=this.options.attrkey,c=this.options.charkey,Object.keys(s).length===1&&this.options.rootName===e["0.2"].rootName?(p=Object.keys(s)[0],s=s[p]):p=this.options.rootName,d=(function(m){return function(h,f){var g,b,y,w,x,S;if(typeof f!="object")m.options.cdata&&o(f)?h.raw(r(f)):h.txt(f);else if(Array.isArray(f)){for(w in f)if(n.call(f,w)){b=f[w];for(x in b)y=b[x],h=d(h.ele(x),y).up()}}else for(x in f)if(n.call(f,x))if(b=f[x],x===l){if(typeof b=="object")for(g in b)S=b[g],h=h.att(g,S)}else if(x===c)m.options.cdata&&o(b)?h=h.raw(r(b)):h=h.txt(b);else if(Array.isArray(b))for(w in b)n.call(b,w)&&(y=b[w],typeof y=="string"?m.options.cdata&&o(y)?h=h.ele(x).raw(r(y)).up():h=h.ele(x,y).up():h=d(h.ele(x),y).up());else typeof b=="object"?h=d(h.ele(x),b).up():typeof b=="string"&&m.options.cdata&&o(b)?h=h.ele(x).raw(r(b)).up():(b==null&&(b=""),h=h.ele(x,b.toString()).up());return h}})(this),u=t.create(p,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),d(u,s).end(this.options.renderOpts)},a})()}).call(Gzt)});var S3o=xe((Iwd,T3o)=>{T3o.exports=xE;function xE(t){if(t)return RQr(t)}function RQr(t){for(var e in xE.prototype)t[e]=xE.prototype[e];return t}xE.prototype.on=xE.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks[t]=this._callbacks[t]||[]).push(e),this};xE.prototype.once=function(t,e){var i=this;this._callbacks=this._callbacks||{};function o(){i.off(t,o),e.apply(this,arguments)}return o.fn=e,this.on(t,o),this};xE.prototype.off=xE.prototype.removeListener=xE.prototype.removeAllListeners=xE.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var i=this._callbacks[t];if(!i)return this;if(arguments.length==1)return delete this._callbacks[t],this;for(var o,r=0;r<i.length;r++)if(o=i[r],o===e||o.fn===e){i.splice(r,1);break}return this};xE.prototype.emit=function(t){this._callbacks=this._callbacks||{};var e=[].slice.call(arguments,1),i=this._callbacks[t];if(i){i=i.slice(0);for(var o=0,r=i.length;o<r;++o)i[o].apply(this,e)}return this};xE.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks[t]||[]};xE.prototype.hasListeners=function(t){return!!this.listeners(t).length}});var L3o=xe((Lwd,I3o)=>{var M3o=S3o();function GLe(){M3o.call(this)}GLe.prototype=new M3o;I3o.exports=GLe;GLe.Stream=GLe;GLe.prototype.pipe=function(t,e){var i=this;function o(d){t.writable&&t.write(d)===!1&&i.pause&&i.pause()}i.on("data",o);function r(){i.readable&&i.resume&&i.resume()}t.on("drain",r),!t._isStdio&&(!e||e.end!==!1)&&(i.on("end",a),i.on("close",s));var n=!1;function a(){n||(n=!0,t.end())}function s(){n||(n=!0,typeof t.destroy=="function"&&t.destroy())}function l(d){if(c(),!this.hasListeners("error"))throw d}i.on("error",l),t.on("error",l);function c(){i.off("data",o),t.off("drain",r),i.off("end",a),i.off("close",s),i.off("error",l),t.off("error",l),i.off("end",c),i.off("close",c),t.off("end",c),t.off("close",c)}return i.on("end",c),i.on("close",c),t.on("end",c),t.on("close",c),t.emit("pipe",i),t}});var v3o=xe(ort=>{(function(t){t.parser=function(U,F){return new i(U,F)},t.SAXParser=i,t.SAXStream=c,t.createStream=l,t.MAX_BUFFER_LENGTH=64*1024;var e=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function i(U,F){if(!(this instanceof i))return new i(U,F);var K=this;r(K),K.q=K.c="",K.bufferCheckPosition=t.MAX_BUFFER_LENGTH,K.opt=F||{},K.opt.lowercase=K.opt.lowercase||K.opt.lowercasetags,K.looseCase=K.opt.lowercase?"toLowerCase":"toUpperCase",K.tags=[],K.closed=K.closedRoot=K.sawRoot=!1,K.tag=K.error=null,K.strict=!!U,K.noscript=!!(U||K.opt.noscript),K.state=I.BEGIN,K.strictEntities=K.opt.strictEntities,K.ENTITIES=K.strictEntities?Object.create(t.XML_ENTITIES):Object.create(t.ENTITIES),K.attribList=[],K.opt.xmlns&&(K.ns=Object.create(h)),K.trackPosition=K.opt.position!==!1,K.trackPosition&&(K.position=K.line=K.column=0),D(K,"onready")}Object.create||(Object.create=function(U){function F(){}F.prototype=U;var K=new F;return K}),Object.keys||(Object.keys=function(U){var F=[];for(var K in U)U.hasOwnProperty(K)&&F.push(K);return F});function o(U){for(var F=Math.max(t.MAX_BUFFER_LENGTH,10),K=0,te=0,ae=e.length;te<ae;te++){var pe=U[e[te]].length;if(pe>F)switch(e[te]){case"textNode":N(U);break;case"cdata":E(U,"oncdata",U.cdata),U.cdata="";break;case"script":E(U,"onscript",U.script),U.script="";break;default:v(U,"Max buffer length exceeded: "+e[te])}K=Math.max(K,pe)}var Z=t.MAX_BUFFER_LENGTH-K;U.bufferCheckPosition=Z+U.position}function r(U){for(var F=0,K=e.length;F<K;F++)U[e[F]]=""}function n(U){N(U),U.cdata!==""&&(E(U,"oncdata",U.cdata),U.cdata=""),U.script!==""&&(E(U,"onscript",U.script),U.script="")}i.prototype={end:function(){k(this)},write:q,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){n(this)}};var a;try{a=L3o().Stream}catch{a=function(){}}var s=t.EVENTS.filter(function(U){return U!=="error"&&U!=="end"});function l(U,F){return new c(U,F)}function c(U,F){if(!(this instanceof c))return new c(U,F);a.apply(this),this._parser=new i(U,F),this.writable=!0,this.readable=!0;var K=this;this._parser.onend=function(){K.emit("end")},this._parser.onerror=function(te){K.emit("error",te),K._parser.error=null},this._decoder=null,s.forEach(function(te){Object.defineProperty(K,"on"+te,{get:function(){return K._parser["on"+te]},set:function(ae){if(!ae)return K.removeAllListeners(te),K._parser["on"+te]=ae,ae;K.on(te,ae)},enumerable:!0,configurable:!1})})}c.prototype=Object.create(a.prototype,{constructor:{value:c}}),c.prototype.write=function(U){if(typeof Buffer=="function"&&typeof Buffer.isBuffer=="function"&&Buffer.isBuffer(U)){if(!this._decoder){var F=QMt().StringDecoder;this._decoder=new F("utf8")}U=this._decoder.write(U)}return this._parser.write(U.toString()),this.emit("data",U),!0},c.prototype.end=function(U){return U&&U.length&&this.write(U),this._parser.end(),!0},c.prototype.on=function(U,F){var K=this;return!K._parser["on"+U]&&s.indexOf(U)!==-1&&(K._parser["on"+U]=function(){var te=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);te.splice(0,0,U),K.emit.apply(K,te)}),a.prototype.on.call(K,U,F)};var d="[CDATA[",u="DOCTYPE",p="http://www.w3.org/XML/1998/namespace",m="http://www.w3.org/2000/xmlns/",h={xml:p,xmlns:m},f=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,g=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,b=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,y=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function w(U){return U===" "||U===`
`||U==="\r"||U==="	"}function x(U){return U==='"'||U==="'"}function S(U){return U===">"||w(U)}function T(U,F){return U.test(F)}function M(U,F){return!T(U,F)}var I=0;t.STATE={BEGIN:I++,BEGIN_WHITESPACE:I++,TEXT:I++,TEXT_ENTITY:I++,OPEN_WAKA:I++,SGML_DECL:I++,SGML_DECL_QUOTED:I++,DOCTYPE:I++,DOCTYPE_QUOTED:I++,DOCTYPE_DTD:I++,DOCTYPE_DTD_QUOTED:I++,COMMENT_STARTING:I++,COMMENT:I++,COMMENT_ENDING:I++,COMMENT_ENDED:I++,CDATA:I++,CDATA_ENDING:I++,CDATA_ENDING_2:I++,PROC_INST:I++,PROC_INST_BODY:I++,PROC_INST_ENDING:I++,OPEN_TAG:I++,OPEN_TAG_SLASH:I++,ATTRIB:I++,ATTRIB_NAME:I++,ATTRIB_NAME_SAW_WHITE:I++,ATTRIB_VALUE:I++,ATTRIB_VALUE_QUOTED:I++,ATTRIB_VALUE_CLOSED:I++,ATTRIB_VALUE_UNQUOTED:I++,ATTRIB_VALUE_ENTITY_Q:I++,ATTRIB_VALUE_ENTITY_U:I++,CLOSE_TAG:I++,CLOSE_TAG_SAW_WHITE:I++,SCRIPT:I++,SCRIPT_ENDING:I++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach(function(U){var F=t.ENTITIES[U],K=typeof F=="number"?String.fromCharCode(F):F;t.ENTITIES[U]=K});for(var A in t.STATE)t.STATE[t.STATE[A]]=A;I=t.STATE;function D(U,F,K){U[F]&&U[F](K)}function E(U,F,K){U.textNode&&N(U),D(U,F,K)}function N(U){U.textNode=R(U.opt,U.textNode),U.textNode&&D(U,"ontext",U.textNode),U.textNode=""}function R(U,F){return U.trim&&(F=F.trim()),U.normalize&&(F=F.replace(/\s+/g," ")),F}function v(U,F){return N(U),U.trackPosition&&(F+=`
Line: `+U.line+`
Column: `+U.column+`
Char: `+U.c),F=new Error(F),U.error=F,D(U,"onerror",F),U}function k(U){return U.sawRoot&&!U.closedRoot&&P(U,"Unclosed root tag"),U.state!==I.BEGIN&&U.state!==I.BEGIN_WHITESPACE&&U.state!==I.TEXT&&v(U,"Unexpected end"),N(U),U.c="",U.closed=!0,D(U,"onend"),i.call(U,U.strict,U.opt),U}function P(U,F){if(typeof U!="object"||!(U instanceof i))throw new Error("bad call to strictFail");U.strict&&v(U,F)}function O(U){U.strict||(U.tagName=U.tagName[U.looseCase]());var F=U.tags[U.tags.length-1]||U,K=U.tag={name:U.tagName,attributes:{}};U.opt.xmlns&&(K.ns=F.ns),U.attribList.length=0,E(U,"onopentagstart",K)}function _(U,F){var K=U.indexOf(":"),te=K<0?["",U]:U.split(":"),ae=te[0],pe=te[1];return F&&U==="xmlns"&&(ae="xmlns",pe=""),{prefix:ae,local:pe}}function j(U){if(U.strict||(U.attribName=U.attribName[U.looseCase]()),U.attribList.indexOf(U.attribName)!==-1||U.tag.attributes.hasOwnProperty(U.attribName)){U.attribName=U.attribValue="";return}if(U.opt.xmlns){var F=_(U.attribName,!0),K=F.prefix,te=F.local;if(K==="xmlns")if(te==="xml"&&U.attribValue!==p)P(U,"xml: prefix must be bound to "+p+`
Actual: `+U.attribValue);else if(te==="xmlns"&&U.attribValue!==m)P(U,"xmlns: prefix must be bound to "+m+`
Actual: `+U.attribValue);else{var ae=U.tag,pe=U.tags[U.tags.length-1]||U;ae.ns===pe.ns&&(ae.ns=Object.create(pe.ns)),ae.ns[te]=U.attribValue}U.attribList.push([U.attribName,U.attribValue])}else U.tag.attributes[U.attribName]=U.attribValue,E(U,"onattribute",{name:U.attribName,value:U.attribValue});U.attribName=U.attribValue=""}function B(U,F){if(U.opt.xmlns){var K=U.tag,te=_(U.tagName);K.prefix=te.prefix,K.local=te.local,K.uri=K.ns[te.prefix]||"",K.prefix&&!K.uri&&(P(U,"Unbound namespace prefix: "+JSON.stringify(U.tagName)),K.uri=te.prefix);var ae=U.tags[U.tags.length-1]||U;K.ns&&ae.ns!==K.ns&&Object.keys(K.ns).forEach(function(de){E(U,"onopennamespace",{prefix:de,uri:K.ns[de]})});for(var pe=0,Z=U.attribList.length;pe<Z;pe++){var ee=U.attribList[pe],ce=ee[0],ne=ee[1],oe=_(ce,!0),re=oe.prefix,Y=oe.local,X=re===""?"":K.ns[re]||"",ie={name:ce,value:ne,prefix:re,local:Y,uri:X};re&&re!=="xmlns"&&!X&&(P(U,"Unbound namespace prefix: "+JSON.stringify(re)),ie.uri=re),U.tag.attributes[ce]=ie,E(U,"onattribute",ie)}U.attribList.length=0}U.tag.isSelfClosing=!!F,U.sawRoot=!0,U.tags.push(U.tag),E(U,"onopentag",U.tag),F||(!U.noscript&&U.tagName.toLowerCase()==="script"?U.state=I.SCRIPT:U.state=I.TEXT,U.tag=null,U.tagName=""),U.attribName=U.attribValue="",U.attribList.length=0}function V(U){if(!U.tagName){P(U,"Weird empty close tag."),U.textNode+="</>",U.state=I.TEXT;return}if(U.script){if(U.tagName!=="script"){U.script+="</"+U.tagName+">",U.tagName="",U.state=I.SCRIPT;return}E(U,"onscript",U.script),U.script=""}var F=U.tags.length,K=U.tagName;U.strict||(K=K[U.looseCase]());for(var te=K;F--;){var ae=U.tags[F];if(ae.name!==te)P(U,"Unexpected close tag");else break}if(F<0){P(U,"Unmatched closing tag: "+U.tagName),U.textNode+="</"+U.tagName+">",U.state=I.TEXT;return}U.tagName=K;for(var pe=U.tags.length;pe-- >F;){var Z=U.tag=U.tags.pop();U.tagName=U.tag.name,E(U,"onclosetag",U.tagName);var ee={};for(var ce in Z.ns)ee[ce]=Z.ns[ce];var ne=U.tags[U.tags.length-1]||U;U.opt.xmlns&&Z.ns!==ne.ns&&Object.keys(Z.ns).forEach(function(oe){var re=Z.ns[oe];E(U,"onclosenamespace",{prefix:oe,uri:re})})}F===0&&(U.closedRoot=!0),U.tagName=U.attribValue=U.attribName="",U.attribList.length=0,U.state=I.TEXT}function G(U){var F=U.entity,K=F.toLowerCase(),te,ae="";return U.ENTITIES[F]?U.ENTITIES[F]:U.ENTITIES[K]?U.ENTITIES[K]:(F=K,F.charAt(0)==="#"&&(F.charAt(1)==="x"?(F=F.slice(2),te=parseInt(F,16),ae=te.toString(16)):(F=F.slice(1),te=parseInt(F,10),ae=te.toString(10))),F=F.replace(/^0+/,""),isNaN(te)||ae.toLowerCase()!==F?(P(U,"Invalid character entity"),"&"+U.entity+";"):String.fromCodePoint(te))}function Q(U,F){F==="<"?(U.state=I.OPEN_WAKA,U.startTagPosition=U.position):w(F)||(P(U,"Non-whitespace before first tag."),U.textNode=F,U.state=I.TEXT)}function H(U,F){var K="";return F<U.length&&(K=U.charAt(F)),K}function q(U){var F=this;if(this.error)throw this.error;if(F.closed)return v(F,"Cannot write after close. Assign an onready handler.");if(U===null)return k(F);typeof U=="object"&&(U=U.toString());for(var K=0,te="";te=H(U,K++),F.c=te,!!te;)switch(F.trackPosition&&(F.position++,te===`
`?(F.line++,F.column=0):F.column++),F.state){case I.BEGIN:if(F.state=I.BEGIN_WHITESPACE,te==="\uFEFF")continue;Q(F,te);continue;case I.BEGIN_WHITESPACE:Q(F,te);continue;case I.TEXT:if(F.sawRoot&&!F.closedRoot){for(var ae=K-1;te&&te!=="<"&&te!=="&";)te=H(U,K++),te&&F.trackPosition&&(F.position++,te===`
`?(F.line++,F.column=0):F.column++);F.textNode+=U.substring(ae,K-1)}te==="<"&&!(F.sawRoot&&F.closedRoot&&!F.strict)?(F.state=I.OPEN_WAKA,F.startTagPosition=F.position):(!w(te)&&(!F.sawRoot||F.closedRoot)&&P(F,"Text data outside of root node."),te==="&"?F.state=I.TEXT_ENTITY:F.textNode+=te);continue;case I.SCRIPT:te==="<"?F.state=I.SCRIPT_ENDING:F.script+=te;continue;case I.SCRIPT_ENDING:te==="/"?F.state=I.CLOSE_TAG:(F.script+="<"+te,F.state=I.SCRIPT);continue;case I.OPEN_WAKA:if(te==="!")F.state=I.SGML_DECL,F.sgmlDecl="";else if(!w(te))if(T(f,te))F.state=I.OPEN_TAG,F.tagName=te;else if(te==="/")F.state=I.CLOSE_TAG,F.tagName="";else if(te==="?")F.state=I.PROC_INST,F.procInstName=F.procInstBody="";else{if(P(F,"Unencoded <"),F.startTagPosition+1<F.position){var pe=F.position-F.startTagPosition;te=new Array(pe).join(" ")+te}F.textNode+="<"+te,F.state=I.TEXT}continue;case I.SGML_DECL:(F.sgmlDecl+te).toUpperCase()===d?(E(F,"onopencdata"),F.state=I.CDATA,F.sgmlDecl="",F.cdata=""):F.sgmlDecl+te==="--"?(F.state=I.COMMENT,F.comment="",F.sgmlDecl=""):(F.sgmlDecl+te).toUpperCase()===u?(F.state=I.DOCTYPE,(F.doctype||F.sawRoot)&&P(F,"Inappropriately located doctype declaration"),F.doctype="",F.sgmlDecl=""):te===">"?(E(F,"onsgmldeclaration",F.sgmlDecl),F.sgmlDecl="",F.state=I.TEXT):(x(te)&&(F.state=I.SGML_DECL_QUOTED),F.sgmlDecl+=te);continue;case I.SGML_DECL_QUOTED:te===F.q&&(F.state=I.SGML_DECL,F.q=""),F.sgmlDecl+=te;continue;case I.DOCTYPE:te===">"?(F.state=I.TEXT,E(F,"ondoctype",F.doctype),F.doctype=!0):(F.doctype+=te,te==="["?F.state=I.DOCTYPE_DTD:x(te)&&(F.state=I.DOCTYPE_QUOTED,F.q=te));continue;case I.DOCTYPE_QUOTED:F.doctype+=te,te===F.q&&(F.q="",F.state=I.DOCTYPE);continue;case I.DOCTYPE_DTD:F.doctype+=te,te==="]"?F.state=I.DOCTYPE:x(te)&&(F.state=I.DOCTYPE_DTD_QUOTED,F.q=te);continue;case I.DOCTYPE_DTD_QUOTED:F.doctype+=te,te===F.q&&(F.state=I.DOCTYPE_DTD,F.q="");continue;case I.COMMENT:te==="-"?F.state=I.COMMENT_ENDING:F.comment+=te;continue;case I.COMMENT_ENDING:te==="-"?(F.state=I.COMMENT_ENDED,F.comment=R(F.opt,F.comment),F.comment&&E(F,"oncomment",F.comment),F.comment=""):(F.comment+="-"+te,F.state=I.COMMENT);continue;case I.COMMENT_ENDED:te!==">"?(P(F,"Malformed comment"),F.comment+="--"+te,F.state=I.COMMENT):F.state=I.TEXT;continue;case I.CDATA:te==="]"?F.state=I.CDATA_ENDING:F.cdata+=te;continue;case I.CDATA_ENDING:te==="]"?F.state=I.CDATA_ENDING_2:(F.cdata+="]"+te,F.state=I.CDATA);continue;case I.CDATA_ENDING_2:te===">"?(F.cdata&&E(F,"oncdata",F.cdata),E(F,"onclosecdata"),F.cdata="",F.state=I.TEXT):te==="]"?F.cdata+="]":(F.cdata+="]]"+te,F.state=I.CDATA);continue;case I.PROC_INST:te==="?"?F.state=I.PROC_INST_ENDING:w(te)?F.state=I.PROC_INST_BODY:F.procInstName+=te;continue;case I.PROC_INST_BODY:if(!F.procInstBody&&w(te))continue;te==="?"?F.state=I.PROC_INST_ENDING:F.procInstBody+=te;continue;case I.PROC_INST_ENDING:te===">"?(E(F,"onprocessinginstruction",{name:F.procInstName,body:F.procInstBody}),F.procInstName=F.procInstBody="",F.state=I.TEXT):(F.procInstBody+="?"+te,F.state=I.PROC_INST_BODY);continue;case I.OPEN_TAG:T(g,te)?F.tagName+=te:(O(F),te===">"?B(F):te==="/"?F.state=I.OPEN_TAG_SLASH:(w(te)||P(F,"Invalid character in tag name"),F.state=I.ATTRIB));continue;case I.OPEN_TAG_SLASH:te===">"?(B(F,!0),V(F)):(P(F,"Forward-slash in opening tag not followed by >"),F.state=I.ATTRIB);continue;case I.ATTRIB:if(w(te))continue;te===">"?B(F):te==="/"?F.state=I.OPEN_TAG_SLASH:T(f,te)?(F.attribName=te,F.attribValue="",F.state=I.ATTRIB_NAME):P(F,"Invalid attribute name");continue;case I.ATTRIB_NAME:te==="="?F.state=I.ATTRIB_VALUE:te===">"?(P(F,"Attribute without value"),F.attribValue=F.attribName,j(F),B(F)):w(te)?F.state=I.ATTRIB_NAME_SAW_WHITE:T(g,te)?F.attribName+=te:P(F,"Invalid attribute name");continue;case I.ATTRIB_NAME_SAW_WHITE:if(te==="=")F.state=I.ATTRIB_VALUE;else{if(w(te))continue;P(F,"Attribute without value"),F.tag.attributes[F.attribName]="",F.attribValue="",E(F,"onattribute",{name:F.attribName,value:""}),F.attribName="",te===">"?B(F):T(f,te)?(F.attribName=te,F.state=I.ATTRIB_NAME):(P(F,"Invalid attribute name"),F.state=I.ATTRIB)}continue;case I.ATTRIB_VALUE:if(w(te))continue;x(te)?(F.q=te,F.state=I.ATTRIB_VALUE_QUOTED):(P(F,"Unquoted attribute value"),F.state=I.ATTRIB_VALUE_UNQUOTED,F.attribValue=te);continue;case I.ATTRIB_VALUE_QUOTED:if(te!==F.q){te==="&"?F.state=I.ATTRIB_VALUE_ENTITY_Q:F.attribValue+=te;continue}j(F),F.q="",F.state=I.ATTRIB_VALUE_CLOSED;continue;case I.ATTRIB_VALUE_CLOSED:w(te)?F.state=I.ATTRIB:te===">"?B(F):te==="/"?F.state=I.OPEN_TAG_SLASH:T(f,te)?(P(F,"No whitespace between attributes"),F.attribName=te,F.attribValue="",F.state=I.ATTRIB_NAME):P(F,"Invalid attribute name");continue;case I.ATTRIB_VALUE_UNQUOTED:if(!S(te)){te==="&"?F.state=I.ATTRIB_VALUE_ENTITY_U:F.attribValue+=te;continue}j(F),te===">"?B(F):F.state=I.ATTRIB;continue;case I.CLOSE_TAG:if(F.tagName)te===">"?V(F):T(g,te)?F.tagName+=te:F.script?(F.script+="</"+F.tagName,F.tagName="",F.state=I.SCRIPT):(w(te)||P(F,"Invalid tagname in closing tag"),F.state=I.CLOSE_TAG_SAW_WHITE);else{if(w(te))continue;M(f,te)?F.script?(F.script+="</"+te,F.state=I.SCRIPT):P(F,"Invalid tagname in closing tag."):F.tagName=te}continue;case I.CLOSE_TAG_SAW_WHITE:if(w(te))continue;te===">"?V(F):P(F,"Invalid characters in closing tag");continue;case I.TEXT_ENTITY:case I.ATTRIB_VALUE_ENTITY_Q:case I.ATTRIB_VALUE_ENTITY_U:var Z,ee;switch(F.state){case I.TEXT_ENTITY:Z=I.TEXT,ee="textNode";break;case I.ATTRIB_VALUE_ENTITY_Q:Z=I.ATTRIB_VALUE_QUOTED,ee="attribValue";break;case I.ATTRIB_VALUE_ENTITY_U:Z=I.ATTRIB_VALUE_UNQUOTED,ee="attribValue";break}te===";"?(F[ee]+=G(F),F.entity="",F.state=Z):T(F.entity.length?y:b,te)?F.entity+=te:(P(F,"Invalid character in entity name"),F[ee]+="&"+F.entity+te,F.entity="",F.state=Z);continue;default:throw new Error(F,"Unknown state: "+F.state)}return F.position>=F.bufferCheckPosition&&o(F),F}String.fromCodePoint||(function(){var U=String.fromCharCode,F=Math.floor,K=function(){var te=16384,ae=[],pe,Z,ee=-1,ce=arguments.length;if(!ce)return"";for(var ne="";++ee<ce;){var oe=Number(arguments[ee]);if(!isFinite(oe)||oe<0||oe>1114111||F(oe)!==oe)throw RangeError("Invalid code point: "+oe);oe<=65535?ae.push(oe):(oe-=65536,pe=(oe>>10)+55296,Z=oe%1024+56320,ae.push(pe,Z)),(ee+1===ce||ae.length>te)&&(ne+=U.apply(null,ae),ae.length=0)}return ne};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:K,configurable:!0,writable:!0}):String.fromCodePoint=K})()})(typeof ort>"u"?ort.sax={}:ort)});var B3o=xe((Dwd,Yzt)=>{"use strict";var ebe=typeof Reflect=="object"?Reflect:null,D3o=ebe&&typeof ebe.apply=="function"?ebe.apply:function(e,i,o){return Function.prototype.apply.call(e,i,o)},rrt;ebe&&typeof ebe.ownKeys=="function"?rrt=ebe.ownKeys:Object.getOwnPropertySymbols?rrt=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:rrt=function(e){return Object.getOwnPropertyNames(e)};function _Qr(t){console&&console.warn&&console.warn(t)}var A3o=Number.isNaN||function(e){return e!==e};function Lm(){Lm.init.call(this)}Yzt.exports=Lm;Yzt.exports.once=FQr;Lm.EventEmitter=Lm;Lm.prototype._events=void 0;Lm.prototype._eventsCount=0;Lm.prototype._maxListeners=void 0;var E3o=10;function nrt(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(Lm,"defaultMaxListeners",{enumerable:!0,get:function(){return E3o},set:function(t){if(typeof t!="number"||t<0||A3o(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");E3o=t}});Lm.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Lm.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||A3o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function N3o(t){return t._maxListeners===void 0?Lm.defaultMaxListeners:t._maxListeners}Lm.prototype.getMaxListeners=function(){return N3o(this)};Lm.prototype.emit=function(e){for(var i=[],o=1;o<arguments.length;o++)i.push(arguments[o]);var r=e==="error",n=this._events;if(n!==void 0)r=r&&n.error===void 0;else if(!r)return!1;if(r){var a;if(i.length>0&&(a=i[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=n[e];if(l===void 0)return!1;if(typeof l=="function")D3o(l,this,i);else for(var c=l.length,d=_3o(l,c),o=0;o<c;++o)D3o(d[o],this,i);return!0};function k3o(t,e,i,o){var r,n,a;if(nrt(i),n=t._events,n===void 0?(n=t._events=Object.create(null),t._eventsCount=0):(n.newListener!==void 0&&(t.emit("newListener",e,i.listener?i.listener:i),n=t._events),a=n[e]),a===void 0)a=n[e]=i,++t._eventsCount;else if(typeof a=="function"?a=n[e]=o?[i,a]:[a,i]:o?a.unshift(i):a.push(i),r=N3o(t),r>0&&a.length>r&&!a.warned){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=t,s.type=e,s.count=a.length,_Qr(s)}return t}Lm.prototype.addListener=function(e,i){return k3o(this,e,i,!1)};Lm.prototype.on=Lm.prototype.addListener;Lm.prototype.prependListener=function(e,i){return k3o(this,e,i,!0)};function jQr(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function P3o(t,e,i){var o={fired:!1,wrapFn:void 0,target:t,type:e,listener:i},r=jQr.bind(o);return r.listener=i,o.wrapFn=r,r}Lm.prototype.once=function(e,i){return nrt(i),this.on(e,P3o(this,e,i)),this};Lm.prototype.prependOnceListener=function(e,i){return nrt(i),this.prependListener(e,P3o(this,e,i)),this};Lm.prototype.removeListener=function(e,i){var o,r,n,a,s;if(nrt(i),r=this._events,r===void 0)return this;if(o=r[e],o===void 0)return this;if(o===i||o.listener===i)--this._eventsCount===0?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,o.listener||i));else if(typeof o!="function"){for(n=-1,a=o.length-1;a>=0;a--)if(o[a]===i||o[a].listener===i){s=o[a].listener,n=a;break}if(n<0)return this;n===0?o.shift():BQr(o,n),o.length===1&&(r[e]=o[0]),r.removeListener!==void 0&&this.emit("removeListener",e,s||i)}return this};Lm.prototype.off=Lm.prototype.removeListener;Lm.prototype.removeAllListeners=function(e){var i,o,r;if(o=this._events,o===void 0)return this;if(o.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):o[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete o[e]),this;if(arguments.length===0){var n=Object.keys(o),a;for(r=0;r<n.length;++r)a=n[r],a!=="removeListener"&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(i=o[e],typeof i=="function")this.removeListener(e,i);else if(i!==void 0)for(r=i.length-1;r>=0;r--)this.removeListener(e,i[r]);return this};function O3o(t,e,i){var o=t._events;if(o===void 0)return[];var r=o[e];return r===void 0?[]:typeof r=="function"?i?[r.listener||r]:[r]:i?zQr(r):_3o(r,r.length)}Lm.prototype.listeners=function(e){return O3o(this,e,!0)};Lm.prototype.rawListeners=function(e){return O3o(this,e,!1)};Lm.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):R3o.call(t,e)};Lm.prototype.listenerCount=R3o;function R3o(t){var e=this._events;if(e!==void 0){var i=e[t];if(typeof i=="function")return 1;if(i!==void 0)return i.length}return 0}Lm.prototype.eventNames=function(){return this._eventsCount>0?rrt(this._events):[]};function _3o(t,e){for(var i=new Array(e),o=0;o<e;++o)i[o]=t[o];return i}function BQr(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function zQr(t){for(var e=new Array(t.length),i=0;i<e.length;++i)e[i]=t[i].listener||t[i];return e}function FQr(t,e){return new Promise(function(i,o){function r(a){t.removeListener(e,n),o(a)}function n(){typeof t.removeListener=="function"&&t.removeListener("error",r),i([].slice.call(arguments))}j3o(t,e,n,{once:!0}),e!=="error"&&UQr(t,r,{once:!0})})}function UQr(t,e,i){typeof t.on=="function"&&j3o(t,"error",e,i)}function j3o(t,e,i,o){if(typeof t.on=="function")o.once?t.once(e,i):t.on(e,i);else if(typeof t.addEventListener=="function")t.addEventListener(e,function r(n){o.once&&t.removeEventListener(e,r),i(n)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}});var z3o=xe(Wzt=>{(function(){"use strict";Wzt.stripBOM=function(t){return t[0]==="\uFEFF"?t.substring(1):t}}).call(Wzt)});var Qzt=xe(Qse=>{(function(){"use strict";var t;t=new RegExp(/(?!xmlns)^.*:/),Qse.normalize=function(e){return e.toLowerCase()},Qse.firstCharLowerCase=function(e){return e.charAt(0).toLowerCase()+e.slice(1)},Qse.stripPrefix=function(e){return e.replace(t,"")},Qse.parseNumbers=function(e){return isNaN(e)||(e=e%1===0?parseInt(e,10):parseFloat(e)),e},Qse.parseBooleans=function(e){return/^(?:true|false)$/i.test(e)&&(e=e.toLowerCase()==="true"),e}}).call(Qse)});var U3o=xe(F3o=>{F3o.every=function(t){return new Kzt(t)};var xW={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5};for(Kse in xW)Kse==="millisecond"?xW.ms=xW[Kse]:xW[Kse.charAt(0)]=xW[Kse],xW[Kse+"s"]=xW[Kse];var Kse;function Kzt(t){this.count=0;var e=HQr(t);e&&(this.time=Number(e[0])*xW[e[1]],this.type=e[1])}Kzt.prototype.do=function(t){this.time&&(this.interval=setInterval(i,this.time));var e=this;function i(){e.count++,t.call(e)}return this};Kzt.prototype.stop=function(){return this.interval&&(clearInterval(this.interval),delete this.interval),this};var VQr=/^\s*(\d+(?:\.\d+)?)\s*([a-z]+)\s*$/;function HQr(t){var e=t.match(VQr);return e&&xW[e[2]]?e.slice(1):null}});var V3o=xe(TW=>{(function(){"use strict";var t,e,i,o,r,n,a,s,l,c=function(p,m){return function(){return p.apply(m,arguments)}},d=function(p,m){for(var h in m)u.call(m,h)&&(p[h]=m[h]);function f(){this.constructor=p}return f.prototype=m.prototype,p.prototype=new f,p.__super__=m.prototype,p},u={}.hasOwnProperty;s=v3o(),i=B3o(),t=z3o(),a=Qzt(),l=U3o().setImmediate,e=Vot().defaults,o=function(p){return typeof p=="object"&&p!=null&&Object.keys(p).length===0},r=function(p){return p!=="__proto__"&&p!=="constructor"&&p!=="prototype"},n=function(p,m,h){var f,g,b;for(f=0,g=p.length;f<g;f++)b=p[f],m=b(m,h);return m},TW.Parser=(function(p){d(m,p);function m(h){this.parseStringPromise=c(this.parseStringPromise,this),this.parseString=c(this.parseString,this),this.reset=c(this.reset,this),this.assignOrPush=c(this.assignOrPush,this),this.processAsync=c(this.processAsync,this);var f,g,b;if(!(this instanceof TW.Parser))return new TW.Parser(h);this.options={},g=e["0.2"];for(f in g)u.call(g,f)&&(b=g[f],this.options[f]=b);for(f in h)u.call(h,f)&&(b=h[f],this.options[f]=b);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(a.normalize)),this.reset()}return m.prototype.processAsync=function(){var h,f;try{return this.remaining.length<=this.options.chunkSize?(h=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(h),this.saxParser.close()):(h=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(h),l(this.processAsync))}catch(g){if(f=g,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(f)}},m.prototype.assignOrPush=function(h,f,g){if(r(f))return f in h?(h[f]instanceof Array||(h[f]=[h[f]]),h[f].push(g)):this.options.explicitArray?h[f]=[g]:h[f]=g},m.prototype.reset=function(){var h,f,g,b;return this.removeAllListeners(),this.saxParser=s.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=(function(y){return function(w){if(y.saxParser.resume(),!y.saxParser.errThrown)return y.saxParser.errThrown=!0,y.emit("error",w)}})(this),this.saxParser.onend=(function(y){return function(){if(!y.saxParser.ended)return y.saxParser.ended=!0,y.emit("end",y.resultObject)}})(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,b=[],h=this.options.attrkey,f=this.options.charkey,this.saxParser.onopentag=(function(y){return function(w){var x,S,T,M,I;if(T={},T[f]="",!y.options.ignoreAttrs){I=w.attributes;for(x in I)u.call(I,x)&&(!(h in T)&&!y.options.mergeAttrs&&(T[h]={}),S=y.options.attrValueProcessors?n(y.options.attrValueProcessors,w.attributes[x],x):w.attributes[x],M=y.options.attrNameProcessors?n(y.options.attrNameProcessors,x):x,r(M)&&(y.options.mergeAttrs?y.assignOrPush(T,M,S):T[h][M]=S))}return T["#name"]=y.options.tagNameProcessors?n(y.options.tagNameProcessors,w.name):w.name,y.options.xmlns&&(T[y.options.xmlnskey]={uri:w.uri,local:w.local}),b.push(T)}})(this),this.saxParser.onclosetag=(function(y){return function(){var w,x,S,T,M,I,A,D,E,N;if(I=b.pop(),M=I["#name"],(!y.options.explicitChildren||!y.options.preserveChildrenOrder)&&delete I["#name"],I.cdata===!0&&(w=I.cdata,delete I.cdata),E=b[b.length-1],I[f].match(/^\s*$/)&&!w?(x=I[f],delete I[f]):(y.options.trim&&(I[f]=I[f].trim()),y.options.normalize&&(I[f]=I[f].replace(/\s{2,}/g," ").trim()),I[f]=y.options.valueProcessors?n(y.options.valueProcessors,I[f],M):I[f],Object.keys(I).length===1&&f in I&&!y.EXPLICIT_CHARKEY&&(I=I[f])),o(I)&&(typeof y.options.emptyTag=="function"?I=y.options.emptyTag():I=y.options.emptyTag!==""?y.options.emptyTag:x),y.options.validator!=null&&(N="/"+(function(){var R,v,k;for(k=[],R=0,v=b.length;R<v;R++)T=b[R],k.push(T["#name"]);return k})().concat(M).join("/"),(function(){var R;try{return I=y.options.validator(N,E&&E[M],I)}catch(v){return R=v,y.emit("error",R)}})()),y.options.explicitChildren&&!y.options.mergeAttrs&&typeof I=="object"){if(!y.options.preserveChildrenOrder)T={},y.options.attrkey in I&&(T[y.options.attrkey]=I[y.options.attrkey],delete I[y.options.attrkey]),!y.options.charsAsChildren&&y.options.charkey in I&&(T[y.options.charkey]=I[y.options.charkey],delete I[y.options.charkey]),Object.getOwnPropertyNames(I).length>0&&(T[y.options.childkey]=I),I=T;else if(E){E[y.options.childkey]=E[y.options.childkey]||[],A={};for(S in I)u.call(I,S)&&r(S)&&(A[S]=I[S]);E[y.options.childkey].push(A),delete I["#name"],Object.keys(I).length===1&&f in I&&!y.EXPLICIT_CHARKEY&&(I=I[f])}}return b.length>0?y.assignOrPush(E,M,I):(y.options.explicitRoot&&(D=I,I={},I[M]=D),y.resultObject=I,y.saxParser.ended=!0,y.emit("end",y.resultObject))}})(this),g=(function(y){return function(w){var x,S;if(S=b[b.length-1],S)return S[f]+=w,y.options.explicitChildren&&y.options.preserveChildrenOrder&&y.options.charsAsChildren&&(y.options.includeWhiteChars||w.replace(/\\n/g,"").trim()!=="")&&(S[y.options.childkey]=S[y.options.childkey]||[],x={"#name":"__text__"},x[f]=w,y.options.normalize&&(x[f]=x[f].replace(/\s{2,}/g," ").trim()),S[y.options.childkey].push(x)),S}})(this),this.saxParser.ontext=g,this.saxParser.oncdata=(function(y){return function(w){var x;if(x=g(w),x)return x.cdata=!0}})(this)},m.prototype.parseString=function(h,f){var g;f!=null&&typeof f=="function"&&(this.on("end",function(b){return this.reset(),f(null,b)}),this.on("error",function(b){return this.reset(),f(b)}));try{return h=h.toString(),h.trim()===""?(this.emit("end",null),!0):(h=t.stripBOM(h),this.options.async?(this.remaining=h,l(this.processAsync),this.saxParser):this.saxParser.write(h).close())}catch(b){if(g=b,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw g}else return this.emit("error",g),this.saxParser.errThrown=!0}},m.prototype.parseStringPromise=function(h){return new Promise((function(f){return function(g,b){return f.parseString(h,function(y,w){return y?b(y):g(w)})}})(this))},m})(i),TW.parseString=function(p,m,h){var f,g,b;return h!=null?(typeof h=="function"&&(f=h),typeof m=="object"&&(g=m)):(typeof m=="function"&&(f=m),g={}),b=new TW.Parser(g),b.parseString(p,f)},TW.parseStringPromise=function(p,m){var h,f;return typeof m=="object"&&(h=m),f=new TW.Parser(h),f.parseStringPromise(p)}}).call(TW)});var H3o=xe(SW=>{(function(){"use strict";var t,e,i,o,r=function(a,s){for(var l in s)n.call(s,l)&&(a[l]=s[l]);function c(){this.constructor=a}return c.prototype=s.prototype,a.prototype=new c,a.__super__=s.prototype,a},n={}.hasOwnProperty;e=Vot(),t=x3o(),i=V3o(),o=Qzt(),SW.defaults=e.defaults,SW.processors=o,SW.ValidationError=(function(a){r(s,a);function s(l){this.message=l}return s})(Error),SW.Builder=t.Builder,SW.Parser=i.Parser,SW.parseString=i.parseString,SW.parseStringPromise=i.parseStringPromise}).call(SW)});var vwo=xe((A5d,Lwo)=>{var prt=[];prt.push(".dlgSymbolFootPrintSaveAs_hmhUc{height:-webkit-calc(100% - 50px);height:-moz-calc(100% - 50px);height:calc(100% - 50px)}.dlgSymbolFootPrintSaveAs_hmhUc .redFont_G13mP{color:red!important}.dlgSymbolFootPrintSaveAs_hmhUc .filterOps_JupCa{bottom:23px;position:absolute}.dlgSymbolFootPrintSaveAs_hmhUc .filterOps_JupCa div{display:inline-block}.dlgSymbolFootPrintSaveAs_hmhUc .panel_2riX4{height:-webkit-calc(100% - 44px);height:-moz-calc(100% - 44px);height:calc(100% - 44px);width:100%!important}.dlgSymbolFootPrintSaveAs_hmhUc .panel_2riX4 .dialog-content_IjOzG{height:100%!important;width:100%!important}.dlgSymbolFootPrintSaveAs_hmhUc .dialog-content_IjOzG{overflow:hidden}.tabContainer_Qi-dU{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-calc(100% - 5px);height:-moz-calc(100% - 5px);height:calc(100% - 5px);overflow:auto}.tabContainer_Qi-dU .leftContent_rrZWv{border:1px solid var(--common-border-color);padding:16px!important;width:760px}.tabContainer_Qi-dU .rightContent_1OTDu{width:485px}.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .differentData_-X4vm,.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .differentData_-X4vm,.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .differentData_-X4vm{margin-left:8px;margin-right:4px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;border:1px solid var(--common-border-color);flex:1;overflow:hidden;padding:4px}.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:100%;overflow:hidden}.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex{width:100%;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex .sameNameDoc_flHSZ,.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex .targetDoc_dDNtm{float:left;height:-webkit-calc(100% - 10px);height:-moz-calc(100% - 10px);height:calc(100% - 10px);margin-bottom:8px;margin-left:8px;min-height:45%;position:relative;width:-webkit-calc(50% - 10px);width:-moz-calc(50% - 10px);width:calc(50% - 10px)}.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex .sameNameDoc_flHSZ .title_8YECv,.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex .targetDoc_dDNtm .title_8YECv{background-color:var(--bg-color-table-header);height:23px;line-height:23px;padding-left:22px}.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex .sameNameDoc_flHSZ .ftp-op-resize_vOA-3,.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex .targetDoc_dDNtm .ftp-op-resize_vOA-3{background-color:transparent;left:3px;position:absolute;top:3px}.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex .sameNameDoc_flHSZ .ftp-op-resize_vOA-3 div,.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex .targetDoc_dDNtm .ftp-op-resize_vOA-3 div{height:16px;width:16px}.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex .sameNameDoc_flHSZ .content_Upg-F,.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex .targetDoc_dDNtm .content_Upg-F{border:1px solid var(--common-border-color);height:-webkit-calc(100% - 30px);height:-moz-calc(100% - 30px);height:calc(100% - 30px);margin-top:3px;overflow:hidden}.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex .sameNameDoc_flHSZ .content_Upg-F .view_C6HUZ,.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex .targetDoc_dDNtm .content_Upg-F .view_C6HUZ{background-color:#e2e2e2;float:left;height:100%;overflow:hidden;position:relative;width:100%}.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex .sameNameDoc_flHSZ .content_Upg-F .view_C6HUZ img,.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex .targetDoc_dDNtm .content_Upg-F .view_C6HUZ img{position:absolute}.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex .sameNameDoc_flHSZ .content_Upg-F .view_C6HUZ .view-item_7KTnF,.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex .targetDoc_dDNtm .content_Upg-F .view_C6HUZ .view-item_7KTnF{height:100%}.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex.zoonInPreview_pZxBw{background-color:#fff;height:-webkit-calc(100% - 90px);height:-moz-calc(100% - 90px);height:calc(100% - 90px);left:0;position:absolute;top:36px;z-index:1}.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex.zoonInPreview_pZxBw .sameNameDoc_flHSZ,.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex.zoonInPreview_pZxBw .targetDoc_dDNtm{height:-webkit-calc(100% - 10px);height:-moz-calc(100% - 10px);height:calc(100% - 10px);width:-webkit-calc(50% - 15px);width:-moz-calc(50% - 15px);width:calc(50% - 15px)}.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex.zoonInPreview_pZxBw .sameNameDoc_flHSZ .ntnGroup_kTanv,.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex.zoonInPreview_pZxBw .targetDoc_dDNtm .ntnGroup_kTanv{left:507px}.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex.zoonInPreview_pZxBw .sameNameDoc_flHSZ .content_Upg-F,.tabContainer_Qi-dU .rightContent_1OTDu .footPrintCompareData_Mchln .footPrintpreview_OXUex.zoonInPreview_pZxBw .targetDoc_dDNtm .content_Upg-F{height:96%}.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:100%;overflow:hidden}.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u{width:100%;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u .sameNameDoc_flHSZ,.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u .targetDoc_dDNtm{float:left;height:-webkit-calc(100% - 10px);height:-moz-calc(100% - 10px);height:calc(100% - 10px);margin-bottom:8px;margin-left:8px;min-height:45%;position:relative;width:-webkit-calc(50% - 10px);width:-moz-calc(50% - 10px);width:calc(50% - 10px)}.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u .sameNameDoc_flHSZ .title_8YECv,.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u .targetDoc_dDNtm .title_8YECv{background-color:var(--bg-color-table-header);height:23px;line-height:23px;padding-left:22px}.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u .sameNameDoc_flHSZ .ftp-op-resize_vOA-3,.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u .targetDoc_dDNtm .ftp-op-resize_vOA-3{background-color:transparent;left:3px;position:absolute;top:3px}.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u .sameNameDoc_flHSZ .ftp-op-resize_vOA-3 div,.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u .targetDoc_dDNtm .ftp-op-resize_vOA-3 div{height:16px;width:16px}.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u .sameNameDoc_flHSZ .content_Upg-F,.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u .targetDoc_dDNtm .content_Upg-F{border:1px solid var(--common-border-color);height:-webkit-calc(100% - 30px);height:-moz-calc(100% - 30px);height:calc(100% - 30px);margin-top:3px;overflow:hidden}.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u .sameNameDoc_flHSZ .content_Upg-F .view_C6HUZ,.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u .targetDoc_dDNtm .content_Upg-F .view_C6HUZ{background-color:#e2e2e2;float:left;height:100%;overflow:hidden;position:relative;width:100%}.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u .sameNameDoc_flHSZ .content_Upg-F .view_C6HUZ img,.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u .targetDoc_dDNtm .content_Upg-F .view_C6HUZ img{position:absolute}.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u .sameNameDoc_flHSZ .content_Upg-F .view_C6HUZ .view-item_7KTnF,.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u .targetDoc_dDNtm .content_Upg-F .view_C6HUZ .view-item_7KTnF{height:100%}.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u.zoonInPreview_pZxBw{background-color:#fff;height:-webkit-calc(100% - 90px);height:-moz-calc(100% - 90px);height:calc(100% - 90px);left:0;position:absolute;top:36px;z-index:1}.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u.zoonInPreview_pZxBw .sameNameDoc_flHSZ,.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u.zoonInPreview_pZxBw .targetDoc_dDNtm{height:-webkit-calc(100% - 10px);height:-moz-calc(100% - 10px);height:calc(100% - 10px);width:-webkit-calc(50% - 15px);width:-moz-calc(50% - 15px);width:calc(50% - 15px)}.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u.zoonInPreview_pZxBw .sameNameDoc_flHSZ .ntnGroup_kTanv,.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u.zoonInPreview_pZxBw .targetDoc_dDNtm .ntnGroup_kTanv{left:507px}.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u.zoonInPreview_pZxBw .sameNameDoc_flHSZ .content_Upg-F,.tabContainer_Qi-dU .rightContent_1OTDu .d3ModelCompareData_XZhbk .d3Modelpreview_-Uh8u.zoonInPreview_pZxBw .targetDoc_dDNtm .content_Upg-F{height:96%}.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:100%;overflow:hidden}.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC{width:100%;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC .sameNameDoc_flHSZ,.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC .targetDoc_dDNtm{float:left;height:-webkit-calc(100% - 10px);height:-moz-calc(100% - 10px);height:calc(100% - 10px);margin-bottom:8px;margin-left:8px;min-height:45%;position:relative;width:-webkit-calc(50% - 10px);width:-moz-calc(50% - 10px);width:calc(50% - 10px)}.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC .sameNameDoc_flHSZ .title_8YECv,.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC .targetDoc_dDNtm .title_8YECv{background-color:var(--bg-color-table-header);height:23px;line-height:23px;padding-left:22px}.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC .sameNameDoc_flHSZ .ftp-op-resize_vOA-3,.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC .targetDoc_dDNtm .ftp-op-resize_vOA-3{background-color:transparent;left:3px;position:absolute;top:3px}.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC .sameNameDoc_flHSZ .ftp-op-resize_vOA-3 div,.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC .targetDoc_dDNtm .ftp-op-resize_vOA-3 div{height:16px;width:16px}.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC .sameNameDoc_flHSZ .content_Upg-F,.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC .targetDoc_dDNtm .content_Upg-F{border:1px solid var(--common-border-color);height:-webkit-calc(100% - 30px);height:-moz-calc(100% - 30px);height:calc(100% - 30px);margin-top:3px;overflow:hidden}.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC .sameNameDoc_flHSZ .content_Upg-F .view_C6HUZ,.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC .targetDoc_dDNtm .content_Upg-F .view_C6HUZ{background-color:#e2e2e2;float:left;height:100%;overflow:hidden;position:relative;width:100%}.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC .sameNameDoc_flHSZ .content_Upg-F .view_C6HUZ img,.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC .targetDoc_dDNtm .content_Upg-F .view_C6HUZ img{position:absolute}.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC .sameNameDoc_flHSZ .content_Upg-F .view_C6HUZ .view-item_7KTnF,.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC .targetDoc_dDNtm .content_Upg-F .view_C6HUZ .view-item_7KTnF{height:100%}.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC.zoonInPreview_pZxBw{background-color:var(--common-bg-color);height:-webkit-calc(100% - 90px);height:-moz-calc(100% - 90px);height:calc(100% - 90px);left:0;position:absolute;top:36px;z-index:1}.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC.zoonInPreview_pZxBw .sameNameDoc_flHSZ,.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC.zoonInPreview_pZxBw .targetDoc_dDNtm{height:-webkit-calc(100% - 10px);height:-moz-calc(100% - 10px);height:calc(100% - 10px);width:-webkit-calc(50% - 15px);width:-moz-calc(50% - 15px);width:calc(50% - 15px)}.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC.zoonInPreview_pZxBw .sameNameDoc_flHSZ .ntnGroup_kTanv,.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC.zoonInPreview_pZxBw .targetDoc_dDNtm .ntnGroup_kTanv{left:507px}.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC.zoonInPreview_pZxBw .sameNameDoc_flHSZ .content_Upg-F,.tabContainer_Qi-dU .rightContent_1OTDu .symbolCompareData_6XM5A .symbolPreview_YLKwC.zoonInPreview_pZxBw .targetDoc_dDNtm .content_Upg-F{height:96%}");prt=prt.join("");Lwo.exports={uuid:"91251d43-7db3-4955-b1b5-e327e28474a7",locals:{dlgSymbolFootPrintSaveAs:"dlgSymbolFootPrintSaveAs_hmhUc",redFont:"redFont_G13mP",filterOps:"filterOps_JupCa",panel:"panel_2riX4","dialog-content":"dialog-content_IjOzG",tabContainer:"tabContainer_Qi-dU",leftContent:"leftContent_rrZWv",rightContent:"rightContent_1OTDu",d3ModelCompareData:"d3ModelCompareData_XZhbk",differentData:"differentData_-X4vm",footPrintCompareData:"footPrintCompareData_Mchln",symbolCompareData:"symbolCompareData_6XM5A",footPrintpreview:"footPrintpreview_OXUex",sameNameDoc:"sameNameDoc_flHSZ",targetDoc:"targetDoc_dDNtm",title:"title_8YECv","ftp-op-resize":"ftp-op-resize_vOA-3",content:"content_Upg-F",view:"view_C6HUZ","view-item":"view-item_7KTnF",zoonInPreview:"zoonInPreview_pZxBw",ntnGroup:"ntnGroup_kTanv",d3Modelpreview:"d3Modelpreview_-Uh8u",symbolPreview:"symbolPreview_YLKwC"},toString(){return prt}}});var Bwo=xe((wMd,jwo)=>{var mrt=[];mrt.push(".batch-create-device_iXhZ6 .wrapper_v51r9{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:16px;padding:9px 16px;width:100%}.batch-create-device_iXhZ6 .select-file-wrap_TZqQ3{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.batch-create-device_iXhZ6 .select-file-wrap_TZqQ3>div{width:100%}.batch-create-device_iXhZ6 .select-file-wrap_TZqQ3 .select-file-title_dsa5L{display:block;line-height:24px;max-width:120px;min-width:80px;overflow:hidden;padding:8px 16px 8px 0;text-align:left;text-overflow:ellipsis;white-space:nowrap}.batch-create-device_iXhZ6 .select-file-wrap_TZqQ3 .file-selected_SVDzs{left:0;opacity:0;position:absolute;top:0}.batch-create-device_iXhZ6 .select-file-wrap_TZqQ3 .file-name_XPP6d{width:80%}.batch-create-device_iXhZ6 .select-checked-wrap_9o5lw{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-left:97px;margin-top:4px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.batch-create-device_iXhZ6 .tips-wrap_KzWxL{margin-top:4px}.batch-create-device_iXhZ6 .tips-wrap_KzWxL p{line-height:24px}.batch-create-device_iXhZ6 .pop-footer-wrapper_zRNDJ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}");mrt=mrt.join("");jwo.exports={uuid:"0d45f7a2-dd72-442e-9895-61a2104d9ae8",locals:{"batch-create-device":"batch-create-device_iXhZ6",wrapper:"wrapper_v51r9","select-file-wrap":"select-file-wrap_TZqQ3","select-file-title":"select-file-title_dsa5L","file-selected":"file-selected_SVDzs","file-name":"file-name_XPP6d","select-checked-wrap":"select-checked-wrap_9o5lw","tips-wrap":"tips-wrap_KzWxL","pop-footer-wrapper":"pop-footer-wrapper_zRNDJ"},toString(){return mrt}}});var abe=xe((w6d,Xwo)=>{var frt=[];frt.push(".main-container_pN3fe{height:490px!important;min-height:480px}.view-loading-wrapper_I5JBl{height:490px!important;left:0;position:relative;top:0;width:100%}.view-loading_PGR6w{background-color:var(--common-bg-color);height:-webkit-calc(100% - 2px);height:-moz-calc(100% - 2px);height:calc(100% - 2px);left:1px;position:absolute;top:1px;width:-webkit-calc(100% - 2px);width:-moz-calc(100% - 2px);width:calc(100% - 2px);z-index:9999}.view-loading-rotation_muf72{height:36px;left:45%;position:absolute;top:40%;width:36px}.dialog-btns-wrapper_c6PFC [data-tagitem=presetmgr-wrapper]{height:26px}.content-container_Xdack{height:100%;left:0;min-height:inherit;overflow:hidden;position:relative;top:0;width:100%}.content-container_Xdack .left-wrapper_BatkT{-webkit-flex-shrink:0;flex-shrink:0;height:100%;overflow-x:hidden;overflow-y:auto;width:300px}.content-container_Xdack .right-wrapper_92EQK{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.table-section_J6x8-{height:100%;overflow:hidden;padding:0 16px 0 0;position:relative;width:100%}.table-section_J6x8- .table-mask_2xfLo{background-color:hsla(0,0%,100%,.2);bottom:0;display:none;left:0;position:absolute;right:0;top:0;z-index:999}.table-section_J6x8- .table-mask-show_HMfvF{color:var(--common-font-color);display:block}.thumb-section_-Jb86{height:100%;width:100%}.thumb-section_-Jb86 .thumb-wrapper_Xf1t8{background-color:var(--common-bg-color);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.thumb-section_-Jb86 .thumb-wrapper_Xf1t8 .thumb-item-wrapper_1qqQ5{-webkit-flex-shrink:0;flex-shrink:0;height:100%;overflow:hidden;width:50%}.tips-section_O4izI{color:var(--common-font-color);overflow:hidden;padding:16px 0 0;width:100%}");frt=frt.join("");Xwo.exports={uuid:"d20162fd-af45-4908-b8d7-59dc128c5932",locals:{"main-container":"main-container_pN3fe","view-loading-wrapper":"view-loading-wrapper_I5JBl","view-loading":"view-loading_PGR6w","view-loading-rotation":"view-loading-rotation_muf72","dialog-btns-wrapper":"dialog-btns-wrapper_c6PFC","content-container":"content-container_Xdack","left-wrapper":"left-wrapper_BatkT","right-wrapper":"right-wrapper_92EQK","table-section":"table-section_J6x8-","table-mask":"table-mask_2xfLo","table-mask-show":"table-mask-show_HMfvF","thumb-section":"thumb-section_-Jb86","thumb-wrapper":"thumb-wrapper_Xf1t8","thumb-item-wrapper":"thumb-item-wrapper_1qqQ5","tips-section":"tips-section_O4izI"},toString(){return frt}}});var cCo=xe((IId,lCo)=>{var mk=[];mk.push(".pv-container_PKgX3{-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-box-orient:vertical;border:1px solid var(--border-color-panel-divider);flex-direction:column;height:100%;position:relative;width:100%}.pv-container_PKgX3,.pv-container_PKgX3 .pv-head-wrapper_d-Qq9{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start}.pv-container_PKgX3 .pv-head-wrapper_d-Qq9{-webkit-box-orient:horizontal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-webkit-align-content:center;align-content:center;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background-color:var(--common-bg-color-1);border-bottom:1px solid var(--border-color-panel-divider);height:25px;padding:0 5px 0 2px;z-index:1101}.pv-container_PKgX3 .pv-head-wrapper_d-Qq9 .pv-opresize-wrapper_1-yVo{cursor:pointer;padding:3px}.pv-container_PKgX3 .pv-head-wrapper_d-Qq9 .pv-opresize-wrapper_1-yVo .pv-op-resize-itemnormal_hcZL1{background-image:");mk.push("url(");mk.push(JSON.stringify(qQ()));mk.push(")");mk.push(";background-position:0 0;background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:18px;width:18px}.pv-container_PKgX3 .pv-head-wrapper_d-Qq9 .pv-opresize-wrapper_1-yVo .pv-op-resize-itemfull_O3orN{background-image:");mk.push("url(");mk.push(JSON.stringify(XQ()));mk.push(")");mk.push(";background-position:0 0;background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:18px;width:18px}.pv-container_PKgX3 .pv-body-wrapper_NjrIH{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;background-color:var(--common-bg-color-1);flex-direction:column}.pv-container_PKgX3 .pv-body-wrapper_NjrIH,.pv-container_PKgX3 .pv-body-wrapper_NjrIH .pv-thumb-wrapper_zAhK5{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:100%;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.pv-container_PKgX3 .pv-body-wrapper_NjrIH .pv-thumb-wrapper_zAhK5{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;position:relative}.pv-container_PKgX3 .pv-body-wrapper_NjrIH .pv-thumb-wrapper_zAhK5 .pv-thumb-content-wrapper_wjkm1{background-color:var(--bg-color-data-thumb);border-left:1px solid var(--border-color-panel-divider);height:100%;overflow:hidden;width:100%}.pv-container_PKgX3 .pv-body-wrapper_NjrIH .mask-wrapper_gThDU{background-color:var(--bg-color-data-thumb);display:none;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1001}.pv-container_PKgX3 .pv-body-wrapper_NjrIH .mask-wrapper-show_H861b{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-webkit-align-content:center;align-content:center;justify-content:center}.areawindow-loading_v5g4x{background-color:var(--common-bg-color);display:none;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1002}.areawindow-loading-show_9VgdY{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.areawindow-loading-content_lMy00{height:36px;width:36px}");mk=mk.join("");lCo.exports={uuid:"b24c89f0-b00b-45b3-9107-f28bb47bb84a",locals:{"pv-container":"pv-container_PKgX3","pv-head-wrapper":"pv-head-wrapper_d-Qq9","pv-opresize-wrapper":"pv-opresize-wrapper_1-yVo","pv-op-resize-itemnormal":"pv-op-resize-itemnormal_hcZL1","pv-op-resize-itemfull":"pv-op-resize-itemfull_O3orN","pv-body-wrapper":"pv-body-wrapper_NjrIH","pv-thumb-wrapper":"pv-thumb-wrapper_zAhK5","pv-thumb-content-wrapper":"pv-thumb-content-wrapper_wjkm1","mask-wrapper":"mask-wrapper_gThDU","mask-wrapper-show":"mask-wrapper-show_H861b","areawindow-loading":"areawindow-loading_v5g4x","areawindow-loading-show":"areawindow-loading-show_9VgdY","areawindow-loading-content":"areawindow-loading-content_lMy00"},toString(){return mk}}});var ECo=xe((qLd,DCo)=>{var Srt=[];Srt.push(".wrap_cvKWj .container_b1OQI{border:1px solid var(--common-border-color);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:75px;padding:16px}.wrap_cvKWj .container_b1OQI .left_mnBXh{width:80px}.wrap_cvKWj .container_b1OQI .left_mnBXh,.wrap_cvKWj .container_b1OQI .right_1QKsT{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;height:100%;justify-content:space-between}.wrap_cvKWj .container_b1OQI .right_1QKsT{width:400px}.wrap_cvKWj .footer_DXqej{margin-top:16px;text-align:right}");Srt=Srt.join("");DCo.exports={uuid:"c5507d63-6b73-4c10-9356-3d67b28abe2f",locals:{wrap:"wrap_cvKWj",container:"container_b1OQI",left:"left_mnBXh",right:"right_1QKsT",footer:"footer_DXqej"},toString(){return Srt}}});var RCo=xe((wvd,OCo)=>{var B5=[];B5.push(".pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-content-wrapper_JEVLG{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-content-wrapper_JEVLG>div{overflow:auto;width:100%}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-content-wrapper_JEVLG .comm-btn-operate-link_3Qt-n{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-content-wrapper_JEVLG .comm-btn-height_aoHjA{height:22px}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-content-wrapper_JEVLG .comm-btn-text_cPmYX{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-content-wrapper_JEVLG .margin-btn_RSZmr{margin-bottom:16px}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-content-wrapper_JEVLG .margin-top_fFWo-{margin-top:16px}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-content-wrapper_JEVLG input.dialog-input_1hEQK{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-content-wrapper_JEVLG input.dialog-input_1hEQK:not([disabled]){color:var(--font-color-input)}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-content-wrapper_JEVLG select.dialog-input_1hEQK{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-content-wrapper_JEVLG select.dialog-input_1hEQK:not([disabled]){color:var(--font-color-input)}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-content-wrapper_JEVLG textarea.dialog-input_1hEQK{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-content-wrapper_JEVLG .device-property-key_X1lLG{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-content-wrapper_JEVLG .attrs-select-wrap_NaKUS{padding-left:8px}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-footer-wrapper_MjwNp{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-footer-wrapper_MjwNp .comm-btn_jX7V0{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-footer-wrapper_MjwNp .comm-btn_jX7V0:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-footer-wrapper_MjwNp .comm-btn_jX7V0.comm-btn-default_0D5hE{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-footer-wrapper_MjwNp .comm-btn_jX7V0.comm-btn-default_0D5hE:hover{border-color:#1890ff}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-footer-wrapper_MjwNp .comm-btn_jX7V0 .l-btn-left_P68Jq{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-footer-wrapper_MjwNp .comm-btn-left_eljpn{left:28px;position:absolute}.pop-content-container_LVYV0:not(.oneLineOneInputDlg_jpDOZ) .pop-footer-wrapper_MjwNp .grid-export_72Two .comm-btn_jX7V0:last-child{margin-left:8px}.pop-content-container_LVYV0 *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_LVYV0 label{position:relative}.pop-content-wrapper_JEVLG a.route-link_n3aaE,.pop-content-wrapper_JEVLG a.route-link_n3aaE:active,.pop-content-wrapper_JEVLG a.route-link_n3aaE:visited{color:#00e}div[user-resizable] .window-body_Abj5c>.panel_q2jRU,div[user-resizable] .window-header_9JIBQ{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_Abj5c>.panel_q2jRU{height:100%!important}div[user-resizable] .window-body_Abj5c .dialog-content_npDYv{height:100%!important;width:100%!important}.comm-fittinginput-container_UMzv-{height:100%;width:100%}.comm-fittinginput-container_UMzv- .comm-fittinginput-wrapper_U2kUf{border:1px solid var(--common-border-color);border-radius:2px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;box-align:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;box-pack:justify;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;background-color:var(--bg-color-input);-webkit-flex-wrap:nowrap!important;flex-wrap:nowrap!important;height:24px;justify-content:space-between;overflow:hidden}.comm-fittinginput-container_UMzv- .comm-fittinginput-wrapper_U2kUf:focus-within{background-color:var(--bg-color-focus-input)!important;border-color:var(--border-color-focus-input)}.comm-fittinginput-container_UMzv- .comm-fittinginput-wrapper_U2kUf .comm-fittinginput-input_O6Yz3{border:0;line-height:24px;margin:0;min-width:50px;outline:0;padding:0 5px 0 10px;width:100%}.comm-fittinginput-container_UMzv- .comm-fittinginput-wrapper_U2kUf .comm-fittinginput-clear_O0N2P{cursor:pointer;padding:1px 5px 0 0}.comm-fittinginput-container_UMzv- .comm-fittinginput-wrapper_U2kUf .comm-fittinginput-clear-hidden_AWLKn{display:none}.comm-fittinginput-container_UMzv- .comm-fittinginput-wrapper_U2kUf .comm-fittinginput-clear_O0N2P:hover{color:#1890ff}.comm-fittinginput-container_UMzv- .comm-fittinginput-wrapper_U2kUf .comm-fittinginput-search_gXIn3{cursor:pointer;padding:4px 5px 0 0}.comm-fittinginput-container_UMzv- .comm-fittinginput-wrapper_U2kUf .comm-fittinginput-search-hidden_YlU-t{display:none}.comm-fittinginput-container_UMzv- .comm-fittinginput-wrapper_U2kUf .comm-fittinginput-search_gXIn3:hover{color:#1890ff}.comm-fittinginput-container_UMzv- .comm-fittinginput-wrapper_U2kUf .comm-fittinginput-last_YUMqs{height:22px}.comm-fittinginput-container_UMzv- .comm-fittinginput-wrapper_U2kUf .comm-fittinginput-last_YUMqs .last_aCcCU{background-position:50%;cursor:pointer;display:inline-block;height:22px;width:22px}.comm-fittinginput-container_UMzv- .comm-fittinginput-wrapper_U2kUf .disable_8Wr4E{-webkit-filter:invert(55%) sepia(0) saturate(7448%) hue-rotate(101deg) brightness(138%) contrast(99%);filter:invert(55%) sepia(0) saturate(7448%) hue-rotate(101deg) brightness(138%) contrast(99%)}.comm-fittinginput-container_UMzv- .comm-fittinginput-wrapper_U2kUf .disable_8Wr4E i{cursor:not-allowed!important}.comm-fittinginput-container_UMzv- .comm-fittinginput-wrapper_U2kUf .comm-fittinginput-next_VaeP-{height:22px}.comm-fittinginput-container_UMzv- .comm-fittinginput-wrapper_U2kUf .comm-fittinginput-next_VaeP- .next_yUX-b{background-position:50%;cursor:pointer;display:inline-block;height:22px;width:22px}.comm-fittinginput-container_UMzv- .filter-search_QyxTz{width:-webkit-calc(100% - 52px);width:-moz-calc(100% - 52px);width:calc(100% - 52px)}.comm-fittinginput-container_UMzv- .active_SR9Xw{background-color:#e6f7ff}.comm-fittinginput-container_UMzv- .icon_2xQ3I{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;border:1px solid var(--border-color-panel-divider);border-right:none;cursor:pointer;display:inline-block;-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);height:24px;width:24px}.comm-fittinginput-container_UMzv- .icon-eda-filter_-QQtM{border-radius:0 2px 2px 0;border-right:1px solid var(--border-color-panel-divider)}.comm-fittinginput-container_UMzv- .icon-eda-zoom_G3hss{border-radius:2px 0 0 2px}.comm-fittinginput-container_UMzv- .comm-fittinginput-wrapper-active_xga8e{border:1px solid #1890ff}.comm-fittinginput-container-panel_xGnsL{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.tips_WpB8g{color:red;margin-bottom:6px}.reuse-layout-route_hUtUl{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-bottom:10px;overflow-x:auto}.reuse-layout-route_hUtUl,.reuse-layout-route_hUtUl fieldset{height:100%;width:100%;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.reuse-layout-route_hUtUl fieldset{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;padding:10px}.reuse-layout-route_hUtUl fieldset .templateList_ew2tz{border:1px solid var(--common-border-color);height:23px;margin-bottom:30px;width:100%}.reuse-layout-route_hUtUl ul{height:-webkit-calc(100% - 36px);height:-moz-calc(100% - 36px);height:calc(100% - 36px);margin-top:10px;overflow:auto}.reuse-layout-route_hUtUl li{cursor:pointer;display:block;height:30px;line-height:30px;list-style:none;padding-left:10px}.reuse-layout-route_hUtUl li:hover{background-color:var(--bg-color-selected-tr);color:#40a9ff}.reuse-layout-route_hUtUl .list_yT23q{-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;height:30px;line-height:30px;padding-left:5px;width:280px}.reuse-layout-route_hUtUl .list_yT23q:hover,.reuse-layout-route_hUtUl .seleted_0tOUz{background-color:var(--bg-color-selected-tr);color:#40a9ff}.middle-buttons_AgJop{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;text-align:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;height:100%;width:30px}.middle-buttons_AgJop>div{cursor:pointer;height:14px;width:14px}.middle-buttons_AgJop>div:first-child{margin-bottom:20px}.middle-buttons_AgJop i{font-size:14px}.middle-buttons_AgJop .active_SR9Xw{color:#40a9ff}.disabled_RzaV-{cursor:not-allowed!important;pointer-events:none!important}.icon_operate_pJLtS{background-repeat:no-repeat;cursor:pointer;margin:0 4px}.icon_operate_left_dMpqf{background-image:");B5.push("url(");B5.push(JSON.stringify(ede()));B5.push(")");B5.push("}.icon_operate_left_dMpqf,.icon_operate_right_AAqGY{background-position:50%;background-size:130%}.icon_operate_right_AAqGY{background-image:");B5.push("url(");B5.push(JSON.stringify(tde()));B5.push(")");B5.push("}.icon-eda-zoom-small_XAXQs{background-image:");B5.push("url(");B5.push(JSON.stringify(Iie()));B5.push(")");B5.push(";background-repeat:no-repeat;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:12px;width:12px}");B5=B5.join("");OCo.exports={uuid:"46b604f7-cbe2-45ce-8d5a-3de125ddad81",locals:{"pop-content-container":"pop-content-container_LVYV0",oneLineOneInputDlg:"oneLineOneInputDlg_jpDOZ","pop-content-wrapper":"pop-content-wrapper_JEVLG","comm-btn-operate-link":"comm-btn-operate-link_3Qt-n","comm-btn-height":"comm-btn-height_aoHjA","comm-btn-text":"comm-btn-text_cPmYX","margin-btn":"margin-btn_RSZmr","margin-top":"margin-top_fFWo-","dialog-input":"dialog-input_1hEQK","device-property-key":"device-property-key_X1lLG","attrs-select-wrap":"attrs-select-wrap_NaKUS","pop-footer-wrapper":"pop-footer-wrapper_MjwNp","comm-btn":"comm-btn_jX7V0","comm-btn-default":"comm-btn-default_0D5hE","l-btn-left":"l-btn-left_P68Jq","comm-btn-left":"comm-btn-left_eljpn","grid-export":"grid-export_72Two","route-link":"route-link_n3aaE","window-body":"window-body_Abj5c",panel:"panel_q2jRU","window-header":"window-header_9JIBQ","dialog-content":"dialog-content_npDYv","comm-fittinginput-container":"comm-fittinginput-container_UMzv-","comm-fittinginput-wrapper":"comm-fittinginput-wrapper_U2kUf","comm-fittinginput-input":"comm-fittinginput-input_O6Yz3","comm-fittinginput-clear":"comm-fittinginput-clear_O0N2P","comm-fittinginput-clear-hidden":"comm-fittinginput-clear-hidden_AWLKn","comm-fittinginput-search":"comm-fittinginput-search_gXIn3","comm-fittinginput-search-hidden":"comm-fittinginput-search-hidden_YlU-t","comm-fittinginput-last":"comm-fittinginput-last_YUMqs",last:"last_aCcCU",disable:"disable_8Wr4E","comm-fittinginput-next":"comm-fittinginput-next_VaeP-",next:"next_yUX-b","filter-search":"filter-search_QyxTz",active:"active_SR9Xw",icon:"icon_2xQ3I","icon-eda-filter":"icon-eda-filter_-QQtM","icon-eda-zoom":"icon-eda-zoom_G3hss","comm-fittinginput-wrapper-active":"comm-fittinginput-wrapper-active_xga8e","comm-fittinginput-container-panel":"comm-fittinginput-container-panel_xGnsL",tips:"tips_WpB8g","reuse-layout-route":"reuse-layout-route_hUtUl",templateList:"templateList_ew2tz",list:"list_yT23q",seleted:"seleted_0tOUz","middle-buttons":"middle-buttons_AgJop",disabled:"disabled_RzaV-",icon_operate:"icon_operate_pJLtS",icon_operate_left:"icon_operate_left_dMpqf",icon_operate_right:"icon_operate_right_AAqGY","icon-eda-zoom-small":"icon-eda-zoom-small_XAXQs"},toString(){return B5}}});var eve=xe((jvd,UCo)=>{var Mrt=[];Mrt.push(".dialog-container_zX-Ei{height:100%;width:100%}.dialog-container_zX-Ei .dialog-container-content_K8082{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-calc(100% - 44px);height:-moz-calc(100% - 44px);height:calc(100% - 44px);width:100%}.dialog-container_zX-Ei .dialog-container-content_K8082 fieldset{border:1px solid var(--border-color-panel-divider)}.dialog-container_zX-Ei .dialog-container-content_K8082 fieldset legend{font-size:14px;margin-left:16px}.dialog-container_zX-Ei .dialog-container-content_K8082 .compenentList-container_aBAkG{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;width:50%}.dialog-container_zX-Ei .dialog-container-content_K8082 .compenentList-container_aBAkG .filter-input_ub9iZ{-moz-box-sizing:border-box;box-sizing:border-box;height:40px;padding:8px;width:100%}.dialog-container_zX-Ei .dialog-container-content_K8082 .compenentList-container_aBAkG .compenentList-content_S4bMJ{-moz-box-sizing:border-box;box-sizing:border-box;height:97%;padding:0 8px;width:100%}.dialog-container_zX-Ei .dialog-container-content_K8082 .padList-container_lZy1M{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;margin-left:16px;width:50%}.dialog-container_zX-Ei .dialog-container-content_K8082 .padList-container_lZy1M .filter-input_ub9iZ{-moz-box-sizing:border-box;box-sizing:border-box;height:40px;padding:8px;width:100%}.dialog-container_zX-Ei .dialog-container-content_K8082 .padList-container_lZy1M .padList-content_Lfgb3{-moz-box-sizing:border-box;box-sizing:border-box;height:-webkit-calc(100% - 40px);height:-moz-calc(100% - 40px);height:calc(100% - 40px);padding:0 8px;width:100%}.dialog-container_zX-Ei .dialog-footer_Ox4wK{height:44px;margin-top:8px;width:100%}.dialog-container_zX-Ei .dialog-footer_Ox4wK .footer_xfYMR{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-moz-box-sizing:border-box;box-sizing:border-box;height:100%;justify-content:space-between;width:100%}");Mrt=Mrt.join("");UCo.exports={uuid:"8bb4e51f-b81a-4d7b-b7c3-28419e101292",locals:{"dialog-container":"dialog-container_zX-Ei","dialog-container-content":"dialog-container-content_K8082","compenentList-container":"compenentList-container_aBAkG","filter-input":"filter-input_ub9iZ","compenentList-content":"compenentList-content_S4bMJ","padList-container":"padList-container_lZy1M","padList-content":"padList-content_Lfgb3","dialog-footer":"dialog-footer_Ox4wK",footer:"footer_xfYMR"},toString(){return Mrt}}});var CFt=xe((FDd,txo)=>{var Irt=[];Irt.push(".dialog-container_njP70{height:100%;width:100%}.dialog-container_njP70 .dialog-container-content_k3bjl{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-calc(100% - 44px);height:-moz-calc(100% - 44px);height:calc(100% - 44px);width:100%}.dialog-container_njP70 .dialog-container-content_k3bjl fieldset{border:1px solid var(--border-color-panel-divider)}.dialog-container_njP70 .dialog-container-content_k3bjl fieldset legend{font-size:14px;margin-left:16px}.dialog-container_njP70 .dialog-container-content_k3bjl .compenentList-container_-ENZi{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;width:50%}.dialog-container_njP70 .dialog-container-content_k3bjl .compenentList-container_-ENZi .filter-input_opkEf{-moz-box-sizing:border-box;box-sizing:border-box;height:40px;padding:8px;width:100%}.dialog-container_njP70 .dialog-container-content_k3bjl .compenentList-container_-ENZi .compenentList-content_UlfFR{-moz-box-sizing:border-box;box-sizing:border-box;height:-webkit-calc(100% - 40px);height:-moz-calc(100% - 40px);height:calc(100% - 40px);padding:0 8px;width:100%}.dialog-container_njP70 .dialog-container-content_k3bjl .padList-container_rrZHi{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;margin-left:16px;width:50%}.dialog-container_njP70 .dialog-container-content_k3bjl .padList-container_rrZHi .filter-input_opkEf{-moz-box-sizing:border-box;box-sizing:border-box;height:40px;padding:8px;width:100%}.dialog-container_njP70 .dialog-container-content_k3bjl .padList-container_rrZHi .padList-content_OTPle{-moz-box-sizing:border-box;box-sizing:border-box;height:-webkit-calc(100% - 40px);height:-moz-calc(100% - 40px);height:calc(100% - 40px);padding:0 8px;width:100%}.dialog-container_njP70 .dialog-footer_7xQWl{margin-left:28px;margin-top:8px}.dialog-container_njP70 .dialog-footer_7xQWl .footer_KDzeJ{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-moz-box-sizing:border-box;box-sizing:border-box;height:100%;justify-content:space-between;width:100%}.dialog-container_njP70 .dialog-footer_7xQWl .footer_KDzeJ,.firstRow_vKexR{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.firstRow_vKexR{padding-bottom:8px}.firstRow_vKexR .fileName_t64tE{line-height:24px;padding-right:8px;width:50px}.firstRow_vKexR .fileExtension_3kOyv{border-bottom-right-radius:5px;border-top-right-radius:5px;height:24px;line-height:24px;padding:0 6px;text-align:center}");Irt=Irt.join("");txo.exports={uuid:"d375cf57-9244-41c6-9ce4-0d682cd26a6c",locals:{"dialog-container":"dialog-container_njP70","dialog-container-content":"dialog-container-content_k3bjl","compenentList-container":"compenentList-container_-ENZi","filter-input":"filter-input_opkEf","compenentList-content":"compenentList-content_UlfFR","padList-container":"padList-container_rrZHi","padList-content":"padList-content_OTPle","dialog-footer":"dialog-footer_7xQWl",footer:"footer_KDzeJ",firstRow:"firstRow_vKexR",fileName:"fileName_t64tE",fileExtension:"fileExtension_3kOyv"},toString(){return Irt}}});var rle=xe((uEd,cxo)=>{var Lrt=[];Lrt.push('.container_WADG0{border:1px solid var(--common-border-color);border-radius:"0 0 2px 2px";margin:6px 0;padding:16px 16px 5px;position:relative}.container_WADG0 .options_fNaGO{background-color:var(--common-bg-color);left:25px;line-height:20px;padding:0 10px;position:absolute;top:-10px}.container_WADG0 .form-item_0uogo{cursor:pointer;margin:4px;padding-left:16px}.container_WADG0 .checkBoxContainer_Gd6hp{cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;line-height:30px;min-width:100px;padding-left:20px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.tp-container_ueVAu{border:1px solid var(--common-border-color);border-radius:"0 0 2px 2px";margin-top:6px;padding:16px 16px 5px;position:relative}.tp-container_ueVAu .tp-options_F6HLW{background-color:var(--common-bg-color);left:25px;line-height:20px;padding:0 10px;position:absolute;top:-10px}.tp-container_ueVAu .form-item_0uogo{cursor:pointer;padding-left:16px}.tp-container_ueVAu .tp-content_GmsHB{cursor:pointer;line-height:30px;min-width:100px}.tp-container_ueVAu .tp-content_GmsHB .flex_iG6-p{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding-left:16px}.tp-container_ueVAu .tp-content_GmsHB .flex_iG6-p>span{display:block}.tp-container_ueVAu .checkBoxContainer_Gd6hp{cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;line-height:30px;min-width:100px;padding-left:20px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.net-container_dSmcV{border:1px solid var(--common-border-color);border-radius:0 0 2px 2px;margin-top:6px;position:relative}.net-container_dSmcV .applyScope_0HVvQ{background-color:var(--common-bg-color);left:25px;line-height:20px;padding:0 10px;position:absolute;top:-10px}.filter-component_IONrG .filter-component-btn_22wrD{background-color:var(--bg-color-button);height:24px;line-height:24px;margin-left:4px}');Lrt=Lrt.join("");cxo.exports={uuid:"a479c2f1-d793-4381-8cb2-f8e489510c3b",locals:{container:"container_WADG0",options:"options_fNaGO","form-item":"form-item_0uogo",checkBoxContainer:"checkBoxContainer_Gd6hp","tp-container":"tp-container_ueVAu","tp-options":"tp-options_F6HLW","tp-content":"tp-content_GmsHB",flex:"flex_iG6-p","net-container":"net-container_dSmcV",applyScope:"applyScope_0HVvQ","filter-component":"filter-component_IONrG","filter-component-btn":"filter-component-btn_22wrD"},toString(){return Lrt}}});var Txo=xe((O8d,xxo)=>{var vrt=[];vrt.push(".container_7bhoj{height:100%;width:100%}.container_7bhoj .content_Zq-FE{border:1px solid var(--common-border-color-1);-moz-box-sizing:border-box;box-sizing:border-box;padding:16px;width:100%}.container_7bhoj .content_Zq-FE .content-item_MyoSe{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:16px}.container_7bhoj .content_Zq-FE .content-item_MyoSe .title_sfEO-{margin-right:16px}.container_7bhoj .content_Zq-FE .tips_KknD8{color:red}.container_7bhoj .footer_14NBQ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-top:16px;width:100%}.container_7bhoj .footer_14NBQ .footer-left_vAvR0{width:30%}.container_7bhoj .footer_14NBQ .footer-right_Dblc-{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;width:70%}");vrt=vrt.join("");xxo.exports={uuid:"f46f4a46-b660-48cd-9f7c-4555f60cf89c",locals:{container:"container_7bhoj",content:"content_Zq-FE","content-item":"content-item_MyoSe",title:"title_sfEO-",tips:"tips_KknD8",footer:"footer_14NBQ","footer-left":"footer-left_vAvR0","footer-right":"footer-right_Dblc-"},toString(){return vrt}}});var vxo=xe((tAd,Lxo)=>{var Drt=[];Drt.push(".pop-content-container_AQEjc{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.constraint-rule-panel_lgPvA{height:100%}.tree-menu_puBII{padding-bottom:10px}.tree-menu-container_htCiI{-webkit-box-flex:0;-webkit-flex:0 0 250px;-moz-box-flex:0;flex:0 0 250px;height:100%;width:250px}.tree-menu-container_htCiI .tree-menu-scroll_Oc8Af{height:100%;overflow-x:auto;overflow-y:scroll}.rule-content-container_HYl9F{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;height:100%;margin-left:15px;width:705px}.rule-content-container_HYl9F .input-search-box_cJcOa{-moz-box-sizing:border-box;box-sizing:border-box;padding:0 5px 8px;width:100%}.rule-content-container_HYl9F .constraint-table-warper_07RdN{height:472px;margin-top:8px;overflow-x:auto;overflow-y:scroll}.comm-tab-container_wNaWE{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.comm-tab-content_GchPZ{height:100%;overflow:hidden;position:relative;z-index:1000}.comm-tab-header_nUWkl{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;border-bottom:1px solid var(--border-color-panel-divider);justify-content:flex-start}.tr-menu-item-display-input_5Mh4D,.tr-menu-item-display-input_5Mh4D:active,.tr-menu-item-display-input_5Mh4D:focus{background-color:transparent!important;border:0;cursor:pointer;outline:0}");Drt=Drt.join("");Lxo.exports={uuid:"0fa25e2f-8615-43c6-9941-b0533db2adde",locals:{"pop-content-container":"pop-content-container_AQEjc","constraint-rule-panel":"constraint-rule-panel_lgPvA","tree-menu":"tree-menu_puBII","tree-menu-container":"tree-menu-container_htCiI","tree-menu-scroll":"tree-menu-scroll_Oc8Af","rule-content-container":"rule-content-container_HYl9F","input-search-box":"input-search-box_cJcOa","constraint-table-warper":"constraint-table-warper_07RdN","comm-tab-container":"comm-tab-container_wNaWE","comm-tab-content":"comm-tab-content_GchPZ","comm-tab-header":"comm-tab-header_nUWkl","tr-menu-item-display-input":"tr-menu-item-display-input_5Mh4D"},toString(){return Drt}}});var NFt=xe((tNd,kxo)=>{var See=[];See.push(".modal-container_vPU4S{border:1px solid var(--common-border-color);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;height:78%;justify-content:center}.modal-container_vPU4S,.modal-container_vPU4S .content_AIWyX{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.modal-container_vPU4S .content_AIWyX .messager-warning_xJW2x{background-image:");See.push("url(");See.push(JSON.stringify(d9()));See.push(")");See.push("}.modal-container_vPU4S .content_AIWyX .messager-icon_vFGFf{background-position:left top 1px;background-repeat:no-repeat;background-size:auto 80%;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:20px;width:20px}.modal-container_vPU4S .content-wrapper_j9oco{margin-top:30px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.modal-container_vPU4S .content-wrapper_j9oco .radio-group_MbH32{border-radius:8px;margin-bottom:20px;padding:20px;text-align:left}.modal-container_vPU4S .content-wrapper_j9oco .radio-group_MbH32 div{margin-bottom:20px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start}.modal-container_vPU4S .content-wrapper_j9oco .radio-group_MbH32 div input[type=radio]{margin-right:5px}.modal-container_vPU4S .content-wrapper_j9oco .radio-group_MbH32 div label{color:var(--font-color-pop-up);cursor:pointer;font-size:12px}.modal-container_vPU4S .content-wrapper_j9oco .radio-group_MbH32 div:last-child{margin-bottom:0}");See=See.join("");kxo.exports={uuid:"bc1634f9-d844-4375-8056-7a7aae44d268",locals:{"modal-container":"modal-container_vPU4S",content:"content_AIWyX","messager-warning":"messager-warning_xJW2x","messager-icon":"messager-icon_vFGFf","content-wrapper":"content-wrapper_j9oco","radio-group":"radio-group_MbH32"},toString(){return See}}});var Bxo=xe((gNd,jxo)=>{var Nrt=[];Nrt.push(".container_C4uTW{height:100%;width:100%}.container_C4uTW,.modal-container_JWBzS{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.modal-container_JWBzS{border:1px solid var(--common-border-color-1);border-radius:2px;height:-webkit-calc(100% - 44px);height:-moz-calc(100% - 44px);height:calc(100% - 44px);padding:10px}.modal-container_JWBzS .cell_SdUtj{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:40%;width:100%}.modal-container_JWBzS .cell_SdUtj .column_left_mljXj{-webkit-flex:0 0 14.9%;flex:0 0 14.9%}.modal-container_JWBzS .cell_SdUtj .column_left_mljXj,.modal-container_JWBzS .cell_SdUtj .column_right_zRmY2{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:0;-moz-box-flex:0;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.modal-container_JWBzS .cell_SdUtj .column_right_zRmY2{-webkit-flex:0 0 85.1%;flex:0 0 85.1%}.modal-container_JWBzS .cell_SdUtj .cell_SdUtj:first-child{margin-top:5px}.custom-textarea_VYWCR{border-radius:2px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:90%;width:81.3%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-moz-box-sizing:border-box;box-sizing:border-box;font-family:Consolas,monospace,courier new;font-size:14px;justify-content:center;line-height:1.5;resize:none;white-space:pre}.radio-option_S3gW8{display:inline-block;margin-right:100px}.radio-option_S3gW8 label{cursor:pointer}.manageGategories_wAjFe{color:#1890ff;cursor:pointer;margin:4px 0 0 8px;max-width:72px;outline:none;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.manageGategories_wAjFe:hover{color:#40a9ff}.pointBtn_2VCHH{cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-weight:bolder;height:16px;margin-left:8px;width:16px}.accuracyTip_65KJj{width:160px;word-wrap:break-word;left:520px;position:absolute;top:260px}");Nrt=Nrt.join("");jxo.exports={uuid:"8cff0e73-f5d7-40ac-b2a6-1739dc74bd40",locals:{container:"container_C4uTW","modal-container":"modal-container_JWBzS",cell:"cell_SdUtj",column_left:"column_left_mljXj",column_right:"column_right_zRmY2","custom-textarea":"custom-textarea_VYWCR","radio-option":"radio-option_S3gW8",manageGategories:"manageGategories_wAjFe",pointBtn:"pointBtn_2VCHH",accuracyTip:"accuracyTip_65KJj"},toString(){return Nrt}}});var Vxo=xe((xNd,Uxo)=>{var Mee=[];Mee.push(".modal-container_e7oos,.modal-container_e7oos .content_7kA6U{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:100%}.modal-container_e7oos,.modal-container_e7oos .content_7kA6U,.modal-container_e7oos .content_7kA6U .cell_bUwW3{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%}.modal-container_e7oos .content_7kA6U .cell_bUwW3 .column_left_4hNGZ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:6%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.modal-container_e7oos .content_7kA6U .cell_bUwW3 .column_left_4hNGZ .messager-warning_rXPsQ{background-image:");Mee.push("url(");Mee.push(JSON.stringify(d9()));Mee.push(")");Mee.push(";-webkit-filter:brightness(0) saturate(100%) invert(71%) sepia(65%) saturate(5000%) hue-rotate(350deg);filter:brightness(0) saturate(100%) invert(71%) sepia(65%) saturate(5000%) hue-rotate(350deg)}.modal-container_e7oos .content_7kA6U .cell_bUwW3 .column_left_4hNGZ .messager-icon_gXcG9{background-repeat:no-repeat;background-size:auto 90%;display:inline-block;height:20px;width:20px}.modal-container_e7oos .content_7kA6U .cell_bUwW3 .column_right_LE7At{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:94%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.modal-container_e7oos .button_VUFgk{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:28px;width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;flex-direction:row-reverse}");Mee=Mee.join("");Uxo.exports={uuid:"5452a200-7732-4a25-8fae-e89807112e0d",locals:{"modal-container":"modal-container_e7oos",content:"content_7kA6U",cell:"cell_bUwW3",column_left:"column_left_4hNGZ","messager-warning":"messager-warning_rXPsQ","messager-icon":"messager-icon_gXcG9",column_right:"column_right_LE7At",button:"button_VUFgk"},toString(){return Mee}}});var Brt=xe((V7d,iTo)=>{var jrt=[];jrt.push(".main-container_gsQK1{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;height:100%;width:100%;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:stretch;-webkit-align-items:stretch;-moz-box-align:stretch;-webkit-align-content:stretch;align-content:stretch;align-items:stretch;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;margin-bottom:16px}.main-container_gsQK1 *{list-style:none;outline:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.menu-wrapper_CIP7A{border:1px solid var(--common-border-color);border-radius:2px;color:var(--font-color-pop-up);-webkit-flex-shrink:0;flex-shrink:0;overflow:auto;width:150px}.content-wrapper_L-cq2{color:var(--font-color-pop-up);overflow:hidden;padding-left:16px;width:100%}.content-sub-wrapper_SYfTZ,.content-wrapper_L-cq2 .list_uwEOo{border:1px solid var(--common-border-color)}.content-sub-wrapper_SYfTZ{height:100%;overflow:auto;padding:8px 16px}.dialog-btns-wrapper_d-Y3M [data-tagitem=presetmgr-wrapper]{height:26px}.profileline-wrapper_tUYEB{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;line-height:24px;margin:0 0 16px;overflow:hidden;width:100%}.profileline-label-wrapper_WUcQC{-webkit-box-flex:0;-webkit-flex:0 0 184px;-moz-box-flex:0;flex:0 0 184px;text-align:left;word-break:break-word}.profileline-content-wrapper_vUGCR{color:var(--font-color-pop-up);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;padding-left:16px;width:-webkit-calc(100% - 184px);width:-moz-calc(100% - 184px);width:calc(100% - 184px)}.profileline-content-item-wrapper_wyV1-{min-width:125px;padding-left:16px;position:relative;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.profileline-content-item-wrapper_wyV1-:first-child{padding-left:0}.profileline-wrapper2_3lq39{color:var(--font-color-pop-up);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start;line-height:24px;margin:0 0 16px;overflow:hidden;width:100%}.profileline-label-wrapper2_5AduJ{-webkit-box-flex:0;-webkit-flex:0 0 184px;-moz-box-flex:0;flex:0 0 184px;text-align:left;word-break:break-word}.profileline-content-wrapper2_KKIkT{color:var(--font-color-pop-up);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;padding-left:16px;width:-webkit-calc(100% - 184px);width:-moz-calc(100% - 184px);width:calc(100% - 184px);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.profileline-content-item-wrapper2_FuUzx{min-width:125px;padding-bottom:8px;position:relative;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.profileline-content-item-wrapper2_FuUzx:last-child{padding-bottom:0}.profile-input-checkbox_Xj5Jp,.profile-input-radio_HRmyE{cursor:pointer;vertical-align:middle}.profile-input-text_JSKsX{cursor:text;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;vertical-align:middle}.profile-input-tips_nor-a{cursor:pointer;vertical-align:middle}.filter-icon_edypL{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.view-loading-wrapper_OEsb-{height:520px;left:0;position:relative;top:0;width:100%}.view-loading_78Wj3{background-color:var(--common-bg-color);height:-webkit-calc(100% - 2px);height:-moz-calc(100% - 2px);height:calc(100% - 2px);left:1px;position:absolute;top:1px;width:-webkit-calc(100% - 2px);width:-moz-calc(100% - 2px);width:calc(100% - 2px);z-index:9999}.view-loading-rotation_wJvuJ{height:36px;left:45%;position:absolute;top:40%;width:36px}.catogory-container_GOsWy{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;width:100%}.category-lib-container_zi3xt{-webkit-flex-shrink:0;flex-shrink:0;height:100%;width:120px}.category-content-container_LEq6H{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;padding-left:8px;width:-webkit-calc(100% - 120px);width:-moz-calc(100% - 120px);width:calc(100% - 120px)}");jrt=jrt.join("");iTo.exports={uuid:"0f89550f-d8b5-452c-9e49-36618be5085b",locals:{"main-container":"main-container_gsQK1","menu-wrapper":"menu-wrapper_CIP7A","content-wrapper":"content-wrapper_L-cq2","content-sub-wrapper":"content-sub-wrapper_SYfTZ",list:"list_uwEOo","dialog-btns-wrapper":"dialog-btns-wrapper_d-Y3M","profileline-wrapper":"profileline-wrapper_tUYEB","profileline-label-wrapper":"profileline-label-wrapper_WUcQC","profileline-content-wrapper":"profileline-content-wrapper_vUGCR","profileline-content-item-wrapper":"profileline-content-item-wrapper_wyV1-","profileline-wrapper2":"profileline-wrapper2_3lq39","profileline-label-wrapper2":"profileline-label-wrapper2_5AduJ","profileline-content-wrapper2":"profileline-content-wrapper2_KKIkT","profileline-content-item-wrapper2":"profileline-content-item-wrapper2_FuUzx","profile-input-checkbox":"profile-input-checkbox_Xj5Jp","profile-input-radio":"profile-input-radio_HRmyE","profile-input-text":"profile-input-text_JSKsX","profile-input-tips":"profile-input-tips_nor-a","filter-icon":"filter-icon_edypL","view-loading-wrapper":"view-loading-wrapper_OEsb-","view-loading":"view-loading_78Wj3","view-loading-rotation":"view-loading-rotation_wJvuJ","catogory-container":"catogory-container_GOsWy","category-lib-container":"category-lib-container_zi3xt","category-content-container":"category-content-container_LEq6H"},toString(){return jrt}}});var Frt=xe((okd,nTo)=>{var zrt=[];zrt.push(".content-sub-container_hujPP{border-radius:2px;height:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;border:1px solid var(--common-border-color);flex-direction:column;overflow:auto}.content-sub-container_hujPP,.content-sub-title_NcHBm{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.content-sub-title_NcHBm{height:24px;padding-left:16px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background-color:var(--bg-color-pop-up-title)}.content-sub-wrapper_-cSHz{height:-webkit-calc(100% - 24px);height:-moz-calc(100% - 24px);height:calc(100% - 24px);overflow:auto;padding-bottom:16px;padding-top:16px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.content-sub-Half-title_xrVDd,.content-sub-wrapper_-cSHz{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.content-sub-Half-title_xrVDd{height:40px;padding-bottom:8px;padding-left:16px;padding-top:8px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.content-sub-Half-wrapper_kkXbN{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;border:1px solid var(--common-border-color);border-radius:2px;flex-direction:column;height:178px;margin-left:16px;margin-right:16px;overflow:auto}.cell_mjipH,.content-sub-Half-wrapper_kkXbN{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.cell_mjipH{padding-bottom:16px;padding-left:16px;width:-webkit-calc(100% - 16px);width:-moz-calc(100% - 16px);width:calc(100% - 16px)}.cell_mjipH .column_disable_left_1mza5,.cell_mjipH .column_left_lhS81{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:0;-webkit-flex:0 0 20%;-moz-box-flex:0;flex:0 0 20%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.cell_mjipH .column_disable_left_1mza5{color:var(--font-color-disabled-td)}.cell_mjipH .column_middle_LciXT{-webkit-box-flex:0;-webkit-flex:0 0 30%;-moz-box-flex:0;flex:0 0 30%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.cell_mjipH .column_middle_LciXT,.cell_mjipH .column_middle_LciXT .input-container_6gG2p{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;position:relative}.cell_mjipH .column_middle_LciXT .input-container_6gG2p{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;width:100%}.cell_mjipH .column_middle_LciXT .input-container_6gG2p .error-message_um7tU{color:rgba(255,0,0,.6);font-size:11px;font-weight:700;left:0;margin-top:2px;position:absolute;top:100%;width:200%}.cell_mjipH .column_right_luFGS{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-left:5px;-webkit-box-flex:0;-webkit-flex:0 0 50%;-moz-box-flex:0;flex:0 0 50%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;justify-items:center}.cell_mjipH .cell_mjipH:first-child{margin-top:5px}.bottom-btn_pv8N1{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding-left:16px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:end;-webkit-align-items:flex-end;-moz-box-align:end;align-items:flex-end}");zrt=zrt.join("");nTo.exports={uuid:"cb86dde3-126c-49d4-945c-2729f5dc0619",locals:{"content-sub-container":"content-sub-container_hujPP","content-sub-title":"content-sub-title_NcHBm","content-sub-wrapper":"content-sub-wrapper_-cSHz","content-sub-Half-title":"content-sub-Half-title_xrVDd","content-sub-Half-wrapper":"content-sub-Half-wrapper_kkXbN",cell:"cell_mjipH",column_disable_left:"column_disable_left_1mza5",column_left:"column_left_lhS81",column_middle:"column_middle_LciXT","input-container":"input-container_6gG2p","error-message":"error-message_um7tU",column_right:"column_right_luFGS","bottom-btn":"bottom-btn_pv8N1"},toString(){return zrt}}});var gTo=xe((M9d,OJr)=>{OJr.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/eda-via-fence-indicate-76T2TOTY.svg"});var yTo=xe((I9d,bTo)=>{var vee=[];vee.push(".pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-content-wrapper_CtNxG{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-content-wrapper_CtNxG>div{overflow:auto;width:100%}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-content-wrapper_CtNxG .comm-btn-operate-link_TUDBv{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-content-wrapper_CtNxG .comm-btn-height_82xWU{height:22px}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-content-wrapper_CtNxG .comm-btn-text_6noyL{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-content-wrapper_CtNxG .margin-btn_A6Tgb{margin-bottom:16px}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-content-wrapper_CtNxG .margin-top_KOmZv{margin-top:16px}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-content-wrapper_CtNxG input.dialog-input_Pn0iR{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-content-wrapper_CtNxG input.dialog-input_Pn0iR:not([disabled]){color:var(--font-color-input)}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-content-wrapper_CtNxG select.dialog-input_Pn0iR{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-content-wrapper_CtNxG select.dialog-input_Pn0iR:not([disabled]){color:var(--font-color-input)}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-content-wrapper_CtNxG textarea.dialog-input_Pn0iR{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-content-wrapper_CtNxG .device-property-key_M-gct{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-content-wrapper_CtNxG .attrs-select-wrap_47eR2{padding-left:8px}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-footer-wrapper_jZX6U{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-footer-wrapper_jZX6U .comm-btn_OyXWW{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-footer-wrapper_jZX6U .comm-btn_OyXWW:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-footer-wrapper_jZX6U .comm-btn_OyXWW.comm-btn-default_H3JS-{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-footer-wrapper_jZX6U .comm-btn_OyXWW.comm-btn-default_H3JS-:hover{border-color:#1890ff}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-footer-wrapper_jZX6U .comm-btn_OyXWW .l-btn-left_1PLXm{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-footer-wrapper_jZX6U .comm-btn-left_R7vHP{left:28px;position:absolute}.pop-content-container_Drb03:not(.oneLineOneInputDlg_nhZqM) .pop-footer-wrapper_jZX6U .grid-export_-0rL1 .comm-btn_OyXWW:last-child{margin-left:8px}.pop-content-container_Drb03 *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_Drb03 label{position:relative}.pop-content-wrapper_CtNxG a.route-link_NiFVF,.pop-content-wrapper_CtNxG a.route-link_NiFVF:active,.pop-content-wrapper_CtNxG a.route-link_NiFVF:visited{color:#00e}div[user-resizable] .window-body_qAzV4>.panel_BLBBA,div[user-resizable] .window-header_Fjqi-{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_qAzV4>.panel_BLBBA{height:100%!important}div[user-resizable] .window-body_qAzV4 .dialog-content_nts5a{height:100%!important;width:100%!important}.content_hz-Tz{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.content_hz-Tz .content-left_ft-AQ,.content_hz-Tz .content-right_-Dl0H{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.line_Rn6tN{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:8px 0}.line_Rn6tN .name_RrP9l{height:24px;line-height:24px;overflow:hidden;padding-right:16px;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:70px}.line_Rn6tN .value_MzP08{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.dialog-foot_bfX3H{position:relative}.viafence-icon_3-NHK{background-image:");vee.push("url(");vee.push(JSON.stringify(gTo()));vee.push(")");vee.push(";background-position:50%;background-repeat:no-repeat;height:300px;width:190px}.border_F55-g{border:1px solid var(--common-border-color);padding:16px}.line-objspace_aKKFb{margin-top:16px}.line-linespace_s0tmi{margin-top:10px}.line-viaspace_p9FDC{margin-top:13px}.line-outside_T6fZT{margin-top:3px}.line-inside_n8B6k{margin-top:1px}");vee=vee.join("");bTo.exports={uuid:"dbf9df5f-d5d8-42af-9102-453684444e02",locals:{"pop-content-container":"pop-content-container_Drb03",oneLineOneInputDlg:"oneLineOneInputDlg_nhZqM","pop-content-wrapper":"pop-content-wrapper_CtNxG","comm-btn-operate-link":"comm-btn-operate-link_TUDBv","comm-btn-height":"comm-btn-height_82xWU","comm-btn-text":"comm-btn-text_6noyL","margin-btn":"margin-btn_A6Tgb","margin-top":"margin-top_KOmZv","dialog-input":"dialog-input_Pn0iR","device-property-key":"device-property-key_M-gct","attrs-select-wrap":"attrs-select-wrap_47eR2","pop-footer-wrapper":"pop-footer-wrapper_jZX6U","comm-btn":"comm-btn_OyXWW","comm-btn-default":"comm-btn-default_H3JS-","l-btn-left":"l-btn-left_1PLXm","comm-btn-left":"comm-btn-left_R7vHP","grid-export":"grid-export_-0rL1","route-link":"route-link_NiFVF","window-body":"window-body_qAzV4",panel:"panel_BLBBA","window-header":"window-header_Fjqi-","dialog-content":"dialog-content_nts5a",content:"content_hz-Tz","content-left":"content-left_ft-AQ","content-right":"content-right_-Dl0H",line:"line_Rn6tN",name:"name_RrP9l",value:"value_MzP08","dialog-foot":"dialog-foot_bfX3H","viafence-icon":"viafence-icon_3-NHK",border:"border_F55-g","line-objspace":"line-objspace_aKKFb","line-linespace":"line-linespace_s0tmi","line-viaspace":"line-viaspace_p9FDC","line-outside":"line-outside_T6fZT","line-inside":"line-inside_n8B6k"},toString(){return vee}}});var fbe=xe((q9d,STo)=>{var Grt=[];Grt.push(".container_K7IXB{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;width:100%}.container_K7IXB .header_FYKHW{height:16px;width:100%}.container_K7IXB .header_FYKHW,.container_K7IXB .header_FYKHW .header-left_BNgMd{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_K7IXB .header_FYKHW .header-left_BNgMd{height:100%}.container_K7IXB .header_FYKHW .header-left_BNgMd .header-icon-item_lx708{cursor:pointer;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:16px;margin-right:8px;width:16px}.container_K7IXB .header_FYKHW .header-right_DVZa6{height:100%}.container_K7IXB .editor_Ih7Rq{height:-webkit-calc(100% - 64px);height:-moz-calc(100% - 64px);height:calc(100% - 64px);margin-bottom:16px;margin-top:8px}.container_K7IXB .editor_Ih7Rq,.container_K7IXB .editor_Ih7Rq .editor-edit_oQ-gU{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.container_K7IXB .editor_Ih7Rq .editor-edit_oQ-gU{height:100%}.container_K7IXB .footer_5PSrJ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:24px;width:100%;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_K7IXB .footer_5PSrJ .footer-item-btn_H6LF0{margin-right:8px}.newScript-cotainer_5pNpt{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;width:100%}.newScript-cotainer_5pNpt .main_B0Z0D{height:24px;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.newScript-cotainer_5pNpt .footer_5PSrJ,.newScript-cotainer_5pNpt .main_B0Z0D{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.newScript-cotainer_5pNpt .footer_5PSrJ{margin-top:16px;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end}");Grt=Grt.join("");STo.exports={uuid:"324bc5df-4892-49aa-ac59-f737741ca439",locals:{container:"container_K7IXB",header:"header_FYKHW","header-left":"header-left_BNgMd","header-icon-item":"header-icon-item_lx708","header-right":"header-right_DVZa6",editor:"editor_Ih7Rq","editor-edit":"editor-edit_oQ-gU",footer:"footer_5PSrJ","footer-item-btn":"footer-item-btn_H6LF0","newScript-cotainer":"newScript-cotainer_5pNpt",main:"main_B0Z0D"},toString(){return Grt}}});var wbe=xe((vOd,BTo)=>{var Aee=[];Aee.push(".container_j4Ear{-moz-box-sizing:border-box;box-sizing:border-box;height:100%;width:100%}.container_j4Ear .header_TiD4l{-moz-box-sizing:border-box;box-sizing:border-box;height:16px;margin-bottom:8px;width:100%}.container_j4Ear .header_TiD4l,.container_j4Ear .header_TiD4l .header-icon-item_H56Fd{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_j4Ear .header_TiD4l .header-icon-item_H56Fd{cursor:pointer;height:100%;margin-right:8px;width:16px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);justify-content:center}.container_j4Ear .header_TiD4l .header-icon-item_H56Fd span{display:inline-block;height:100%;width:100%}.container_j4Ear .header_TiD4l .header-icon-item_H56Fd.disabled_-IBos{-webkit-filter:var(--common-icon-color-disabled-1)!important;filter:var(--common-icon-color-disabled-1)!important}.container_j4Ear .script-list_lG0hi{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;height:-webkit-calc(100% - 68px);height:-moz-calc(100% - 68px);height:calc(100% - 68px);margin-bottom:16px;padding:8px;width:100%}.container_j4Ear .script-list_lG0hi .search_xZxev{height:26px;margin-bottom:8px;width:100%}.container_j4Ear .script-list_lG0hi .list-data_I75aW{-moz-box-sizing:border-box;box-sizing:border-box;height:-webkit-calc(100% - 34px);height:-moz-calc(100% - 34px);height:calc(100% - 34px);width:100%}.container_j4Ear .script-list_lG0hi .list-data_I75aW .script-item_py6VD{cursor:pointer;height:24px;line-height:24px;width:100%}.container_j4Ear .script-list_lG0hi .list-data_I75aW .script-item_py6VD:hover{background-color:var(--common-hover-bg-color)}.container_j4Ear .script-list_lG0hi .list-data_I75aW .script-item_py6VD.selected_pZmFq{background-color:var(--common-selected-bg-color)}.container_j4Ear .script-list_lG0hi .list-data_I75aW .no-data_CNlZ0{text-align:center;width:100%}.container_j4Ear .footer_8UCJP{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:28px;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_j4Ear .footer_8UCJP,.header-delete-dialog-container_u6AHk{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.header-delete-dialog-container_u6AHk .main_FBhMB{padding-bottom:8px;width:100%}.header-delete-dialog-container_u6AHk .main_FBhMB .tip_B-2GS{padding-bottom:16px;width:100%}.header-delete-dialog-container_u6AHk .main_FBhMB .tip_B-2GS .tip-icon_-rcWh{background-image:");Aee.push("url(");Aee.push(JSON.stringify(HAe()));Aee.push(")");Aee.push(";background-position:top;background-repeat:no-repeat;background-size:auto 100%;-webkit-filter:invert(63%) sepia(81%) saturate(2292%) hue-rotate(14deg) brightness(113%) contrast(103%);filter:invert(63%) sepia(81%) saturate(2292%) hue-rotate(14deg) brightness(113%) contrast(103%);height:20px;position:absolute;width:20px}.header-delete-dialog-container_u6AHk .main_FBhMB .tip_B-2GS .tip-content_6LaFR{margin-left:28px}.header-delete-dialog-container_u6AHk .main_FBhMB .delete-list-data_MhWDH{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding-bottom:8px;width:100%}.header-delete-dialog-container_u6AHk .main_FBhMB .delete-list-data_MhWDH .left_VxCzE{width:36px}.header-delete-dialog-container_u6AHk .main_FBhMB .delete-list-data_MhWDH .right_LU7WH{color:#1890ff;height:48px;overflow:hidden;width:-webkit-calc(100% - 36px);width:-moz-calc(100% - 36px);width:calc(100% - 36px)}.header-delete-dialog-container_u6AHk .footer_8UCJP{-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:28px;width:100%;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}");Aee=Aee.join("");BTo.exports={uuid:"76d46271-e69d-4c3c-9590-1827fd12ead1",locals:{container:"container_j4Ear",header:"header_TiD4l","header-icon-item":"header-icon-item_H56Fd",disabled:"disabled_-IBos","script-list":"script-list_lG0hi",search:"search_xZxev","list-data":"list-data_I75aW","script-item":"script-item_py6VD",selected:"selected_pZmFq","no-data":"no-data_CNlZ0",footer:"footer_8UCJP","header-delete-dialog-container":"header-delete-dialog-container_u6AHk",main:"main_FBhMB",tip:"tip_B-2GS","tip-icon":"tip-icon_-rcWh","tip-content":"tip-content_6LaFR","delete-list-data":"delete-list-data_MhWDH",left:"left_VxCzE",right:"right_LU7WH"},toString(){return Aee}}});var t5o=xe((ERd,e5o)=>{var Krt=[];Krt.push(".tips_40s3j{display:block;height:100px;margin-bottom:16px;width:100%}");Krt=Krt.join("");e5o.exports={uuid:"42c9ec69-e483-40e8-8629-ea4bd624643e",locals:{tips:"tips_40s3j"},toString(){return Krt}}});var r5o=xe((NRd,o5o)=>{var Zrt=[];Zrt.push(".toolbar_HSolP{background-color:#fff;border:1px solid #333;border-radius:8px;color:#333;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:25px;line-height:25px;padding:3px 4px;position:fixed;vertical-align:middle;width:84px;z-index:10001}.toolbar_HSolP .icon_8PkFS{background-size:19px 23px;cursor:pointer;margin-left:5px;width:28px}.toolbar_HSolP .timer_GFcFS{margin-left:3px;margin-right:10px}.toolbar_HSolP .separator_0-8GD,.toolbar_HSolP .timer_GFcFS{-webkit-user-select:none;-moz-user-select:none;user-select:none}.toolbar_HSolP .separator_0-8GD{margin:0 5px}.key-bubble-container_otzaj{bottom:100px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;left:150px;position:fixed;-webkit-transform:translateX(-50px);-moz-transform:translateX(-50px);transform:translateX(-50px);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;pointer-events:none;z-index:1000}.key-bubble_ICkLC{-webkit-animation:bubble-fade_Regq6 2s ease forwards;-moz-animation:bubble-fade_Regq6 2s ease forwards;animation:bubble-fade_Regq6 2s ease forwards;background-color:#44908f;border-radius:20px;color:#fff;font-size:16px;margin:5px 0;opacity:1;padding:10px 20px}@-webkit-keyframes bubble-fade_Regq6{0%{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}10%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}90%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}to{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}}@-moz-keyframes bubble-fade_Regq6{0%{opacity:0;-moz-transform:translateY(20px);transform:translateY(20px)}10%{opacity:1;-moz-transform:translateY(0);transform:translateY(0)}90%{opacity:1;-moz-transform:translateY(0);transform:translateY(0)}to{opacity:0;-moz-transform:translateY(-20px);transform:translateY(-20px)}}@keyframes bubble-fade_Regq6{0%{opacity:0;-webkit-transform:translateY(20px);-moz-transform:translateY(20px);transform:translateY(20px)}10%{opacity:1;-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}90%{opacity:1;-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}to{opacity:0;-webkit-transform:translateY(-20px);-moz-transform:translateY(-20px);transform:translateY(-20px)}}.circle_1--8O{pointer-events:none;z-index:1000}.circle_1--8O,.drag-mask_dzyPI{left:0;position:fixed;top:0}.drag-mask_dzyPI{background:transparent;height:100%;width:100%;z-index:9999}");Zrt=Zrt.join("");o5o.exports={uuid:"47022b2b-42bc-41eb-9f7c-bf41f423493c",locals:{toolbar:"toolbar_HSolP",icon:"icon_8PkFS",timer:"timer_GFcFS",separator:"separator_0-8GD","key-bubble-container":"key-bubble-container_otzaj","key-bubble":"key-bubble_ICkLC","bubble-fade":"bubble-fade_Regq6",circle:"circle_1--8O","drag-mask":"drag-mask_dzyPI"},toString(){return Zrt}}});var cle=xe((s_d,p5o)=>{var Jrt=[];Jrt.push(".main-container_srAQn{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;height:520px;min-height:520px;width:100%;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:stretch;-webkit-align-items:stretch;-moz-box-align:stretch;-webkit-align-content:stretch;align-content:stretch;align-items:stretch;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;margin-bottom:16px}.main-container_srAQn *{list-style:none;outline:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.menu-wrapper_e7-Ko{border:1px solid var(--common-border-color);color:var(--font-color-pop-up);-webkit-flex-shrink:0;flex-shrink:0;overflow:auto;padding:8px 2px;width:200px}.content-wrapper_VQ7zc{color:var(--font-color-pop-up);overflow:hidden;padding-left:16px;width:100%}.content-sub-wrapper_yNH7E,.content-wrapper_VQ7zc .list_V7-b3{border:1px solid var(--common-border-color)}.content-sub-wrapper_yNH7E{height:100%;overflow:auto;padding:8px 16px}.dialog-btns-wrapper_GT5EV [data-tagitem=presetmgr-wrapper]{height:26px}.profileline-wrapper_dLCRF{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;line-height:24px;margin:0 0 16px;overflow:hidden;width:100%}.profileline-label-wrapper_DUVLr{-webkit-box-flex:0;-webkit-flex:0 0 184px;-moz-box-flex:0;flex:0 0 184px;text-align:left;word-break:break-word}.profileline-content-wrapper_IAlrL{color:var(--font-color-pop-up);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;padding-left:16px;width:-webkit-calc(100% - 184px);width:-moz-calc(100% - 184px);width:calc(100% - 184px)}.profileline-content-item-wrapper_Wg-57{min-width:125px;padding-left:16px;position:relative;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.profileline-content-item-wrapper_Wg-57:first-child{padding-left:0}.profileline-wrapper2_FLbZA{color:var(--font-color-pop-up);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start;line-height:24px;margin:0 0 16px;overflow:hidden;width:100%}.profileline-label-wrapper2_IR9hC{-webkit-box-flex:0;-webkit-flex:0 0 184px;-moz-box-flex:0;flex:0 0 184px;text-align:left;word-break:break-word}.profileline-content-wrapper2_ImKGW{color:var(--font-color-pop-up);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;padding-left:16px;width:-webkit-calc(100% - 184px);width:-moz-calc(100% - 184px);width:calc(100% - 184px);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.profileline-content-item-wrapper2_leCBo{min-width:125px;padding-bottom:8px;position:relative;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.profileline-content-item-wrapper2_leCBo:last-child{padding-bottom:0}.profile-input-checkbox_ysVaN,.profile-input-radio_9yRk5{cursor:pointer;vertical-align:middle}.profile-input-text_brJdp{cursor:text;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;vertical-align:middle}.profile-input-tips_FHWDK{cursor:pointer;vertical-align:middle}.filter-icon_1w7tF{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.view-loading-wrapper_0Xle0{height:520px;left:0;position:relative;top:0;width:100%}.view-loading_B-QiQ{background-color:var(--common-bg-color);height:-webkit-calc(100% - 2px);height:-moz-calc(100% - 2px);height:calc(100% - 2px);left:1px;position:absolute;top:1px;width:-webkit-calc(100% - 2px);width:-moz-calc(100% - 2px);width:calc(100% - 2px);z-index:9999}.view-loading-rotation_N8IWp{height:36px;left:45%;position:absolute;top:40%;width:36px}.catogory-container_-m7-1{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;width:100%}.category-lib-container_DUNL6{-webkit-flex-shrink:0;flex-shrink:0;height:100%;width:120px}.category-content-container_S2QK6{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;padding-left:8px;width:-webkit-calc(100% - 120px);width:-moz-calc(100% - 120px);width:calc(100% - 120px)}");Jrt=Jrt.join("");p5o.exports={uuid:"a9410a06-f321-41a8-b053-9aa523bd62f8",locals:{"main-container":"main-container_srAQn","menu-wrapper":"menu-wrapper_e7-Ko","content-wrapper":"content-wrapper_VQ7zc","content-sub-wrapper":"content-sub-wrapper_yNH7E",list:"list_V7-b3","dialog-btns-wrapper":"dialog-btns-wrapper_GT5EV","profileline-wrapper":"profileline-wrapper_dLCRF","profileline-label-wrapper":"profileline-label-wrapper_DUVLr","profileline-content-wrapper":"profileline-content-wrapper_IAlrL","profileline-content-item-wrapper":"profileline-content-item-wrapper_Wg-57","profileline-wrapper2":"profileline-wrapper2_FLbZA","profileline-label-wrapper2":"profileline-label-wrapper2_IR9hC","profileline-content-wrapper2":"profileline-content-wrapper2_ImKGW","profileline-content-item-wrapper2":"profileline-content-item-wrapper2_leCBo","profile-input-checkbox":"profile-input-checkbox_ysVaN","profile-input-radio":"profile-input-radio_9yRk5","profile-input-text":"profile-input-text_brJdp","profile-input-tips":"profile-input-tips_FHWDK","filter-icon":"filter-icon_1w7tF","view-loading-wrapper":"view-loading-wrapper_0Xle0","view-loading":"view-loading_B-QiQ","view-loading-rotation":"view-loading-rotation_N8IWp","catogory-container":"catogory-container_-m7-1","category-lib-container":"category-lib-container_DUNL6","category-content-container":"category-content-container_S2QK6"},toString(){return Jrt}}});var k5o=xe((ijd,N5o)=>{var qrt=[];qrt.push(".container_b-ky0{height:100%}.container_b-ky0,.container_b-ky0 .main_eLHYb{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.container_b-ky0 .main_eLHYb{border:1px solid var(--common-border-color);height:-webkit-calc(100% - 28px);height:-moz-calc(100% - 28px);height:calc(100% - 28px);padding:16px}.container_b-ky0 .main_eLHYb .row-item_qbnnm{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:16px}.container_b-ky0 .main_eLHYb .row-item_qbnnm .row-title_YV2Io{text-overflow:ellipsis;white-space:nowrap;width:100px}.container_b-ky0 .main_eLHYb .row-item_qbnnm:last-child{margin-bottom:0}.container_b-ky0 .footer_vgMVk{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:28px;margin-top:16px;width:100%;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}");qrt=qrt.join("");N5o.exports={uuid:"6907b0f7-33af-4729-9224-88060c8f3e67",locals:{container:"container_b-ky0",main:"main_eLHYb","row-item":"row-item_qbnnm","row-title":"row-title_YV2Io",footer:"footer_vgMVk"},toString(){return qrt}}});var tnt=xe((Zjd,H5o)=>{var ent=[];ent.push(".container_72ljO{height:100%;overflow:hidden;width:100%}.container_72ljO .table-container_Y30vv{border:1px solid var(--common-border-color-1);height:-webkit-calc(95% - 44px);height:-moz-calc(95% - 44px);height:calc(95% - 44px);margin-bottom:16px;padding:16px}.container_72ljO .footer-container_eGXPt,.container_72ljO .table-container_Y30vv{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.container_72ljO .footer-container_eGXPt{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;flex-direction:row-reverse;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;height:28px}.connection-container_skp1n{border:1px solid var(--common-border-color-1);-moz-box-sizing:border-box;box-sizing:border-box;height:-webkit-calc(95% - 44px);height:-moz-calc(95% - 44px);height:calc(95% - 44px);margin-bottom:16px;padding:16px;width:100%}.connection-container_skp1n .connection-left_oMfxK{height:5%}.connection-container_skp1n .connection-left_oMfxK,.connection-container_skp1n .connection-right_a5gkg{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.connection-container_skp1n .connection-right_a5gkg{height:95%;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.connection-container_skp1n .connection-right_a5gkg .connection-right-content_cgktt .row-item_1iQFa{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-bottom:2px;width:100%}.connection-container_skp1n .connection-tip_p1bv1{position:absolute;right:30%;top:30%}.connection-container_skp1n .connection-tip_p1bv1 .connection-tip-item_Ekb-P{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:6px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.connection-container_skp1n .connection-tip_p1bv1 .connection-tip-item_Ekb-P span{margin-left:4px}.connection-item-container_Ln5M-{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;position:relative}.connection-item-container_Ln5M- .connection-item_RoBg-{border-radius:4px;cursor:pointer;height:22px;margin-right:4px;width:22px}.connection-item-container_Ln5M- .connection-item_RoBg-.tip-color-item_zpGHs{height:16px;width:16px}.connection-item-container_Ln5M- .connection-item_RoBg-.ignore_aDGcb{background-color:#d7d7d7}.connection-item-container_Ln5M- .connection-item_RoBg-.warning_yV4bv{background-color:#dc9b04}.connection-item-container_Ln5M- .connection-item_RoBg-.error_s0d3Z{background-color:#d9001b}.connection-item-container_Ln5M- .connection-item_RoBg-.fatal-error_VFhEn{background-color:#990014}.connection-item-container_Ln5M- .left-title_7y8re{left:0;top:2px;-webkit-transform:translateX(-webkit-calc(-100% - 4px));-moz-transform:translateX(-moz-calc(-100% - 4px));transform:translateX(calc(-100% - 4px))}.connection-item-container_Ln5M- .left-title_7y8re,.connection-item-container_Ln5M- .top-title_tXE2o{cursor:pointer;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.connection-item-container_Ln5M- .top-title_tXE2o{top:-webkit-calc(-100% - 12px);top:-moz-calc(-100% - 12px);top:calc(-100% - 12px)}.connection-item-container_Ln5M- .top-title-line_cgo2e{background-color:#999;height:12px;left:6px;pointer-events:none;position:absolute;top:-webkit-calc(-50% - 4px);top:-moz-calc(-50% - 4px);top:calc(-50% - 4px);-webkit-user-select:none;-moz-user-select:none;user-select:none;width:2px}");ent=ent.join("");H5o.exports={uuid:"d16fd7e7-5210-42cd-a845-2bc0ee5a86ae",locals:{container:"container_72ljO","table-container":"table-container_Y30vv","footer-container":"footer-container_eGXPt","connection-container":"connection-container_skp1n","connection-left":"connection-left_oMfxK","connection-right":"connection-right_a5gkg","connection-right-content":"connection-right-content_cgktt","row-item":"row-item_1iQFa","connection-tip":"connection-tip_p1bv1","connection-tip-item":"connection-tip-item_Ekb-P","connection-item-container":"connection-item-container_Ln5M-","connection-item":"connection-item_RoBg-","tip-color-item":"tip-color-item_zpGHs",ignore:"ignore_aDGcb",warning:"warning_yV4bv",error:"error_s0d3Z","fatal-error":"fatal-error_VFhEn","left-title":"left-title_7y8re","top-title":"top-title_tXE2o","top-title-line":"top-title-line_cgo2e"},toString(){return ent}}});var jW=xe((lzd,lSo)=>{var ant=[];ant.push(".container_di9hI{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:100%}.container_di9hI,.top-section_l5OkE{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%}.top-section_l5OkE{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;margin-bottom:16px}.top-section_l5OkE .left-component_mW0w0{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-flex:0;-webkit-flex:0 0 74%;-moz-box-flex:0;flex:0 0 74%;height:100%}.top-section_l5OkE .left-component_mW0w0 .oscilloscope-cursor_COzkN{-webkit-flex:0 0 26%;flex:0 0 26%;width:100%}.top-section_l5OkE .left-component_mW0w0 .oscilloscope-cursor_COzkN,.top-section_l5OkE .right-component_765dK{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:0;-moz-box-flex:0}.top-section_l5OkE .right-component_765dK{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-webkit-flex:0 0 26%;flex:0 0 26%;flex-direction:column;height:100%}.top-section_l5OkE .right-component_765dK .oscilloscope-channel_19C4S{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-webkit-flex:0 0 -webkit-calc(34% - 8px);flex:0 0 calc(34% - 8px);flex-direction:column}.top-section_l5OkE .right-component_765dK .oscilloscope-channel_19C4S,.top-section_l5OkE .right-component_765dK .oscilloscope-xaxis_srj9Y{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:0;-moz-box-flex:0;padding-bottom:8px;width:100%}.top-section_l5OkE .right-component_765dK .oscilloscope-xaxis_srj9Y{-webkit-flex:0 0 -webkit-calc(33% - 16px);flex:0 0 calc(33% - 16px);padding-top:8px}.top-section_l5OkE .right-component_765dK .oscilloscope-tigger_PEiTh{-webkit-box-flex:0;-webkit-flex:0 0 -webkit-calc(33% - 16px);-moz-box-flex:0;flex:0 0 calc(33% - 16px);padding-bottom:8px;padding-top:8px}.bottom-section_5uyBb,.top-section_l5OkE .right-component_765dK .oscilloscope-tigger_PEiTh{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%}.bottom-section_5uyBb{height:28px}.right-component-with_r3IzC{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-left:8px}.content_osdf0{height:100%;margin-right:-1px;margin-top:-1px;padding-bottom:6%;padding-top:6%}.content_osdf0,.fieldset_AkqHK{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;border:1px solid var(--common-border-color);flex-direction:column}.fieldset_AkqHK{border-radius:2px;font-size:12px;line-height:22px;padding-bottom:8px;padding-top:8px;width:100%}.cell_zK6nV{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding-left:10px;width:-webkit-calc(100% - 10px);width:-moz-calc(100% - 10px);width:calc(100% - 10px)}.cell_zK6nV .column_left_Sm0lI{font-size:14px}.cell_zK6nV .column_disable_left_6laRm,.cell_zK6nV .column_left_Sm0lI{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:0;-webkit-flex:0 0 30%;-moz-box-flex:0;flex:0 0 30%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.cell_zK6nV .column_disable_left_6laRm{color:var(--font-color-disabled-td)}.cell_zK6nV .button_column_left_wyUZq{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-size:14px;-webkit-box-flex:0;-webkit-flex:0 0 33%;-moz-box-flex:0;flex:0 0 33%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.cell_zK6nV .column_middle_tndkh{-webkit-flex:0 0 50%;flex:0 0 50%}.cell_zK6nV .button_column_middle_n-pzW,.cell_zK6nV .column_middle_tndkh{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:0;-moz-box-flex:0;position:relative;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.cell_zK6nV .button_column_middle_n-pzW{-webkit-flex:0 0 33%;flex:0 0 33%;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.cell_zK6nV .column_right_1AVM-{-webkit-flex:0 0 -webkit-calc(20% - 5px);flex:0 0 calc(20% - 5px);margin-left:5px}.cell_zK6nV .button_column_right_v2-Dd,.cell_zK6nV .column_right_1AVM-{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:0;-moz-box-flex:0;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.cell_zK6nV .button_column_right_v2-Dd{-webkit-flex:0 0 33%;flex:0 0 33%;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.iconStyle_XOkrH{background-size:24px 24px;height:24px;width:24px}.inputStyle_Rdy9K{height:24px;width:68%}.bottom-item_snV9U{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;border-radius:3px;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;height:27px;justify-content:center;margin-left:10%;margin-right:10%;text-align:center;width:27px}.bottom-item_snV9U>span{display:inline-block;-webkit-filter:var(--icon-color-toolbar);filter:var(--icon-color-toolbar);font-size:16px;height:17px;padding:0;width:17px}.bottom-item_snV9U.toolbar-bottom-light-high_n3zGg,.bottom-item_snV9U.toolbar-bottom-light-high2_lHxRa{background-color:var(--bg-toolbar-icon-selected);color:#1890ff;height:30px}.bottom-item_snV9U.toolbar-bottom-light-high_n3zGg span[class*=icon-],.bottom-item_snV9U.toolbar-bottom-light-high2_lHxRa span[class*=icon-]{-webkit-filter:var(--icon-color-selected-toolbar);filter:var(--icon-color-selected-toolbar)}.bottom-item_snV9U.active_iK5Lp{background-color:#1890ff;color:#fff}.bottom-item_snV9U.active_iK5Lp span[class*=icon-]{-webkit-filter:brightness(0) invert(1);filter:brightness(0) invert(1)}.buttonflex_QcgE0{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:100%}.buttonflex_QcgE0 .left-content_POZfz,.buttonflex_QcgE0 .right-content_zoFkn{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:50%}.buttonflex_QcgE0 .right-content_zoFkn{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;flex-direction:row-reverse}.circle_edzMd{border-radius:50%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:17px;margin-left:20%;-webkit-transition:background-color .1s ease;-moz-transition:background-color .1s ease;transition:background-color .1s ease;width:17px}.gray_pTEIa{background-color:#d9d9d9}.blue_HEBPq{background-color:#1890ff}.oscilloscope-canvans_jvqd6{-webkit-flex:0 0 74%;flex:0 0 74%;width:100%}.oscilloscope-canvans_jvqd6,.oscilloscope-canvans_jvqd6 .canvas_VBvoR{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:0;-moz-box-flex:0}.oscilloscope-canvans_jvqd6 .canvas_VBvoR{background-color:#000;-webkit-flex:0 0 -webkit-calc(100% - 16px);flex:0 0 calc(100% - 16px);height:100%;width:-webkit-calc(100% - 16px);width:-moz-calc(100% - 16px);width:calc(100% - 16px)}.oscilloscope-fullCanvans_NJQBg{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}");ant=ant.join("");lSo.exports={uuid:"bac680ed-da4a-4cf5-a1ba-cefaff3ee774",locals:{container:"container_di9hI","top-section":"top-section_l5OkE","left-component":"left-component_mW0w0","oscilloscope-cursor":"oscilloscope-cursor_COzkN","right-component":"right-component_765dK","oscilloscope-channel":"oscilloscope-channel_19C4S","oscilloscope-xaxis":"oscilloscope-xaxis_srj9Y","oscilloscope-tigger":"oscilloscope-tigger_PEiTh","bottom-section":"bottom-section_5uyBb","right-component-with":"right-component-with_r3IzC",content:"content_osdf0",fieldset:"fieldset_AkqHK",cell:"cell_zK6nV",column_left:"column_left_Sm0lI",column_disable_left:"column_disable_left_6laRm",button_column_left:"button_column_left_wyUZq",column_middle:"column_middle_tndkh",button_column_middle:"button_column_middle_n-pzW",column_right:"column_right_1AVM-",button_column_right:"button_column_right_v2-Dd",iconStyle:"iconStyle_XOkrH",inputStyle:"inputStyle_Rdy9K","bottom-item":"bottom-item_snV9U","toolbar-bottom-light-high":"toolbar-bottom-light-high_n3zGg","toolbar-bottom-light-high2":"toolbar-bottom-light-high2_lHxRa",active:"active_iK5Lp",buttonflex:"buttonflex_QcgE0","left-content":"left-content_POZfz","right-content":"right-content_zoFkn",circle:"circle_edzMd",gray:"gray_pTEIa",blue:"blue_HEBPq","oscilloscope-canvans":"oscilloscope-canvans_jvqd6",canvas:"canvas_VBvoR","oscilloscope-fullCanvans":"oscilloscope-fullCanvans_NJQBg"},toString(){return ant}}});var mSo=xe((yzd,pSo)=>{var snt=[];snt.push(".custom-table_Uf1tC{border-collapse:collapse;margin:8px 16px 8px 0;width:100%}.custom-table_Uf1tC td,.custom-table_Uf1tC th{border:1px solid var(--border-color-table-header);font-family:Arial Regular,Arial,sans-serif;padding:4px;position:relative;text-align:center}.custom-table_Uf1tC .flex-container_SAC60{position:relative;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;width:100%}.custom-table_Uf1tC .flex-container_SAC60,.custom-table_Uf1tC .left-content_rUQto{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.custom-table_Uf1tC .left-content_rUQto{left:0;position:absolute}.custom-table_Uf1tC .center-content_enpv9{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;left:50%;position:absolute;text-align:center;-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.custom-table_Uf1tC .header-container_jxu4B{display:inline-block;padding:0 10px;position:relative}.custom-table_Uf1tC .icon-positioner_dAjlv{cursor:pointer;left:0;position:absolute;top:50%;-webkit-transform:translate(-webkit-calc(-50% - 8.5px),-50%);-moz-transform:translate(-moz-calc(-50% - 8.5px),-50%);transform:translate(calc(-50% - 8.5px),-50%);z-index:1}.custom-table_Uf1tC .icon-positioner_dAjlv>span{display:block;-webkit-filter:var(--icon-color-toolbar);filter:var(--icon-color-toolbar);height:17px;width:17px}.custom-table_Uf1tC .cursor-icon-container_MbJcE{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.custom-table_Uf1tC .cursor-icon-container_MbJcE,.custom-table_Uf1tC .cursor-icon-container_MbJcE .cursor-icon_E3UVC{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;cursor:pointer}.custom-table_Uf1tC .cursor-icon-container_MbJcE .cursor-icon_E3UVC{display:inline;height:10px;width:14px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;background-color:#f2f2f2;border:1px solid transparent;border-radius:2px;justify-content:center;padding:2px;-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);transform:rotate(90deg);-webkit-transition:border-color .2s ease,background-color .2s ease;-moz-transition:border-color .2s ease,background-color .2s ease;transition:border-color .2s ease,background-color .2s ease}.custom-table_Uf1tC .cursor-icon-container_MbJcE .cursor-icon_E3UVC:hover{background-color:#e9f6ff;border-color:#2fafff}.custom-table_Uf1tC .cursor-icon-container_MbJcE .cursor-icon_E3UVC:active{background-color:#c5e8ff;border-color:#2faff0}.custom-table_Uf1tC td:first-child,.custom-table_Uf1tC th:first-child{width:auto}.custom-table_Uf1tC td:not(:first-child),.custom-table_Uf1tC th:not(:first-child){width:19%}@media (max-width:768px){.custom-table_Uf1tC td,.custom-table_Uf1tC th{padding:4px}}");snt=snt.join("");pSo.exports={uuid:"53b6281c-0906-41ff-b6ec-11a5d14c7918",locals:{"custom-table":"custom-table_Uf1tC","flex-container":"flex-container_SAC60","left-content":"left-content_rUQto","center-content":"center-content_enpv9","header-container":"header-container_jxu4B","icon-positioner":"icon-positioner_dAjlv","cursor-icon-container":"cursor-icon-container_MbJcE","cursor-icon":"cursor-icon_E3UVC"},toString(){return snt}}});var bSo=xe((Rzd,gSo)=>{var lnt=[];lnt.push(".toggle-btn_M4jBw{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;border-radius:3px;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;height:24px;justify-content:center;text-align:center;width:24px}.toggle-btn_M4jBw>span{display:inline-block;font-size:16px;height:16px;padding:0;width:16px}");lnt=lnt.join("");gSo.exports={uuid:"de4f00dd-a462-4060-9a93-7b45ca6a95c1",locals:{"toggle-btn":"toggle-btn_M4jBw"},toString(){return lnt}}});var MSo=xe((TFd,SSo)=>{var dnt=[];dnt.push(".customSelect_AWVqc{border-radius:2px;cursor:pointer;height:24px;width:54px}.customSelect_AWVqc:hover{border-color:#1890ff}.option_GfYPw{background-color:var(--bg-color-input);color:var(--font-color-drop-down-menuItem)}");dnt=dnt.join("");SSo.exports={uuid:"9e910beb-676e-4ed1-b7ff-bdb331745889",locals:{customSelect:"customSelect_AWVqc",option:"option_GfYPw"},toString(){return dnt}}});var jUt=xe((VUd,FSo)=>{var _ee=[];_ee.push(".modal-container_Moz6x{height:100%}.modal-container_Moz6x,.modal-container_Moz6x .content_dYoBG{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;width:100%}.modal-container_Moz6x .content_dYoBG{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;margin-bottom:16px}.modal-container_Moz6x .content_dYoBG .cell_-nIgJ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding-bottom:8px;padding-left:10px;width:-webkit-calc(100% - 10px);width:-moz-calc(100% - 10px);width:calc(100% - 10px)}.modal-container_Moz6x .content_dYoBG .cell_-nIgJ .column_left_rqU-f{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-size:14px;-webkit-box-flex:0;-webkit-flex:0 0 4%;-moz-box-flex:0;flex:0 0 4%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.modal-container_Moz6x .content_dYoBG .cell_-nIgJ .column_left_rqU-f .messager-warning_j7yji{background-image:");_ee.push("url(");_ee.push(JSON.stringify(d9()));_ee.push(")");_ee.push("}.modal-container_Moz6x .content_dYoBG .cell_-nIgJ .column_left_rqU-f .messager-icon_YqN2Y{background-repeat:no-repeat;background-size:auto 90%;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:20px;width:20px}.modal-container_Moz6x .content_dYoBG .cell_-nIgJ .column_right_mALod{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:0;-webkit-flex:0 0 96%;-moz-box-flex:0;flex:0 0 96%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.modal-container_Moz6x .button_yCY-V{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:28px;width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;flex-direction:row-reverse}");_ee=_ee.join("");FSo.exports={uuid:"08b0ec04-7784-4d0e-b65e-1fb4b67f98d5",locals:{"modal-container":"modal-container_Moz6x",content:"content_dYoBG",cell:"cell_-nIgJ",column_left:"column_left_rqU-f","messager-warning":"messager-warning_j7yji","messager-icon":"messager-icon_YqN2Y",column_right:"column_right_mALod",button:"button_yCY-V"},toString(){return _ee}}});var WSo=xe((tVd,YSo)=>{var mnt=[];mnt.push(".container_UkUpf{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;gap:16px}.container_UkUpf,.content_v6UkE{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.content_v6UkE{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;border:1px solid var(--common-border-color);padding:16px}.content_v6UkE .title_Wp2tg{-webkit-box-flex:0;-webkit-flex:0 0 55px;-moz-box-flex:0;flex:0 0 55px;padding-right:10px;text-align:right}.footer_Ngi6o{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;gap:8px;justify-content:flex-end}");mnt=mnt.join("");YSo.exports={uuid:"f981793d-f1c8-46db-8116-229f2f1bca00",locals:{container:"container_UkUpf",content:"content_v6UkE",title:"title_Wp2tg",footer:"footer_Ngi6o"},toString(){return mnt}}});var nR=xe((lHd,oMo)=>{var gnt=[];gnt.push(".line_cxGTq{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:24px;position:relative;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-moz-box-sizing:border-box;box-sizing:border-box;font-size:12px;margin-bottom:10px;margin-top:16px;padding-left:16px;padding-right:54px}.title_v3yYj{margin-right:8px;max-width:120px;min-width:90px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:90px}.file-icon_Mwel3{cursor:pointer;font-weight:bolder;position:absolute;right:14%;top:3px}.line-width-container_WvQvR{width:80px}.refresh_9Yoxn{cursor:pointer;height:16px;margin-left:50px;width:16px}");gnt=gnt.join("");oMo.exports={uuid:"8f3c3980-374f-4e7e-8f49-397a69f69999",locals:{line:"line_cxGTq",title:"title_v3yYj","file-icon":"file-icon_Mwel3","line-width-container":"line-width-container_WvQvR",refresh:"refresh_9Yoxn"},toString(){return gnt}}});var yMo=xe((KHd,bMo)=>{var Cnt=[];Cnt.push(".loading-warp_zJYIz{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.rotation_MI22b{animation:rotation_MI22b 1.4s linear infinite;-moz-animation:rotation_MI22b 1.4s linear infinite;-webkit-animation:rotation_MI22b 1.4s linear infinite;-o-animation:rotation_MI22b 1.4s linear infinite;-webkit-transform:rotate(1turn)}@-webkit-keyframes rotation_MI22b{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}");Cnt=Cnt.join("");bMo.exports={uuid:"6dc12121-fc01-4fb8-aab3-fddaf1a67a17",locals:{"loading-warp":"loading-warp_zJYIz",rotation:"rotation_MI22b"},toString(){return Cnt}}});var ZUt=xe((KWd,GMo)=>{var Mnt=[];Mnt.push('.container_yf7BQ{height:100%}.container_yf7BQ,.modal-container_Qy6xc{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.modal-container_Qy6xc{height:-webkit-calc(100% - 44px);height:-moz-calc(100% - 44px);height:calc(100% - 44px)}.modal-container_Qy6xc .symbolMes-container_VbIaW{height:-webkit-calc(50% - 14px);height:-moz-calc(50% - 14px);height:calc(50% - 14px);margin-bottom:14px;width:100%;-webkit-box-orient:horizontal;-webkit-flex-direction:row;-moz-box-orient:horizontal;flex-direction:row}.modal-container_Qy6xc .symbolMes-container_VbIaW,.modal-container_Qy6xc .symbolMes-container_VbIaW .symbolView_content_oBUFj{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal}.modal-container_Qy6xc .symbolMes-container_VbIaW .symbolView_content_oBUFj{border:1px solid var(--common-border-color-1);border-bottom-left-radius:2px;border-right:none;border-top-left-radius:2px;height:100%;position:relative;width:50%;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-box-orient:vertical;flex-direction:column}.modal-container_Qy6xc .symbolMes-container_VbIaW .symbolView_content_oBUFj:before{background:var(--bg-color-pop-up-content);color:var(--common-font-color);content:attr(data-label);font-size:12px;left:10px;line-height:2;margin-bottom:-1px;padding:0 8px 2px 5px;position:absolute;top:0;-webkit-transform:translateY(-45%);-moz-transform:translateY(-45%);transform:translateY(-45%);z-index:5}.modal-container_Qy6xc .symbolMes-container_VbIaW .symbolView_content_oBUFj:after{background:var(--common-border-color-1);bottom:-1px;content:"";position:absolute;right:0;top:-1px;width:1px;z-index:2}.modal-container_Qy6xc .symbolMes-container_VbIaW .symbolView_content_oBUFj .symbolView_mes_zjBLp{background-size:cover;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:-webkit-calc(90% - 16px);height:-moz-calc(90% - 16px);height:calc(90% - 16px);margin:4px 18px 12px;overflow:hidden;width:-webkit-calc(100% - 36px);width:-moz-calc(100% - 36px);width:calc(100% - 36px)}.modal-container_Qy6xc .symbolMes-container_VbIaW .simulaton_model_content_59bnh{border:1px solid var(--common-border-color-1);border-bottom-right-radius:2px;border-left:none;border-top-right-radius:2px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:50%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.modal-container_Qy6xc .symbolMes-container_VbIaW .simulaton_model_content_59bnh .simulaton_model_qgjvH{height:-webkit-calc(90% - 16px);height:-moz-calc(90% - 16px);height:calc(90% - 16px);margin:4px 18px 12px;width:-webkit-calc(100% - 36px);width:-moz-calc(100% - 36px);width:calc(100% - 36px)}.modal-container_Qy6xc .pinTable-container_I8KNV,.modal-container_Qy6xc .symbolMes-container_VbIaW .simulaton_model_content_59bnh .simulaton_model_qgjvH{border:1px solid var(--common-border-color-1);border-radius:2px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.modal-container_Qy6xc .pinTable-container_I8KNV{height:-webkit-calc(50% - 14px);height:-moz-calc(50% - 14px);height:calc(50% - 14px);margin-top:8px;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;position:relative}.modal-container_Qy6xc .pinTable-container_I8KNV:before{background:var(--bg-color-pop-up-content);color:var(--common-font-color);content:attr(data-label);font-size:12px;left:6px;line-height:2;margin-bottom:-1px;padding:0 4px 2px;position:absolute;top:0;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);transform:translateY(-50%);z-index:5}.modal-container_Qy6xc .pinTable-container_I8KNV .pinTable-content_3NHqu{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:16px 18px 8px}.custom-textarea_pBIMX{border-radius:2px;height:100%;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-moz-box-sizing:border-box;box-sizing:border-box;font-family:Consolas,monospace,courier new;font-size:14px;justify-content:center;line-height:1.5;resize:none;white-space:pre}.custom-textarea_pBIMX,.text-container_EYCes{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.text-container_EYCes{height:10%;padding-left:18px;padding-top:16px;width:-webkit-calc(100% - 18px);width:-moz-calc(100% - 18px);width:calc(100% - 18px)}.table-content_jG3eF{height:250px;width:100%}');Mnt=Mnt.join("");GMo.exports={uuid:"6a445003-5c3b-44fe-a589-86da0b4c6d9e",locals:{container:"container_yf7BQ","modal-container":"modal-container_Qy6xc","symbolMes-container":"symbolMes-container_VbIaW",symbolView_content:"symbolView_content_oBUFj",symbolView_mes:"symbolView_mes_zjBLp",simulaton_model_content:"simulaton_model_content_59bnh",simulaton_model:"simulaton_model_qgjvH","pinTable-container":"pinTable-container_I8KNV","pinTable-content":"pinTable-content_3NHqu","custom-textarea":"custom-textarea_pBIMX","text-container":"text-container_EYCes","table-content":"table-content_jG3eF"},toString(){return Mnt}}});var $Mo=xe((DQd,XMo)=>{var Int=[];Int.push(".pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-content-wrapper_fV5Vh{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-content-wrapper_fV5Vh>div{overflow:auto;width:100%}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-content-wrapper_fV5Vh .comm-btn-operate-link_EAchf{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-content-wrapper_fV5Vh .comm-btn-height_VzXWb{height:22px}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-content-wrapper_fV5Vh .comm-btn-text_4lc6o{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-content-wrapper_fV5Vh .margin-btn_A6y1u{margin-bottom:16px}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-content-wrapper_fV5Vh .margin-top_UuFln{margin-top:16px}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-content-wrapper_fV5Vh input.dialog-input_RHtS7{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-content-wrapper_fV5Vh input.dialog-input_RHtS7:not([disabled]){color:var(--font-color-input)}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-content-wrapper_fV5Vh select.dialog-input_RHtS7{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-content-wrapper_fV5Vh select.dialog-input_RHtS7:not([disabled]){color:var(--font-color-input)}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-content-wrapper_fV5Vh textarea.dialog-input_RHtS7{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-content-wrapper_fV5Vh .device-property-key_sLAXD{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-content-wrapper_fV5Vh .attrs-select-wrap_eJDVL{padding-left:8px}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-footer-wrapper_vHli3{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-footer-wrapper_vHli3 .comm-btn_qeF6C{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-footer-wrapper_vHli3 .comm-btn_qeF6C:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-footer-wrapper_vHli3 .comm-btn_qeF6C.comm-btn-default_7Teos{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-footer-wrapper_vHli3 .comm-btn_qeF6C.comm-btn-default_7Teos:hover{border-color:#1890ff}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-footer-wrapper_vHli3 .comm-btn_qeF6C .l-btn-left_PLT46{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-footer-wrapper_vHli3 .comm-btn-left_RJZgj{left:28px;position:absolute}.pop-content-container_UZC3b:not(.oneLineOneInputDlg_qcxwA) .pop-footer-wrapper_vHli3 .grid-export_Ic1-w .comm-btn_qeF6C:last-child{margin-left:8px}.pop-content-container_UZC3b *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_UZC3b label{position:relative}.pop-content-wrapper_fV5Vh a.route-link_bw5Q9,.pop-content-wrapper_fV5Vh a.route-link_bw5Q9:active,.pop-content-wrapper_fV5Vh a.route-link_bw5Q9:visited{color:#00e}div[user-resizable] .window-body_ocHQq>.panel_47BCJ,div[user-resizable] .window-header_x4ZVT{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_ocHQq>.panel_47BCJ{height:100%!important}div[user-resizable] .window-body_ocHQq .dialog-content_eDbcF{height:100%!important;width:100%!important}.line_cuCBu{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:8px 0}.line_cuCBu .name_Ubwy5{height:24px;line-height:24px;overflow:hidden;padding-right:16px;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:70px}.line_cuCBu .value_B016Q{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.dialog-foot_HkAVI{position:relative}.border_u8yr2{border:1px solid var(--common-border-color);padding:16px}");Int=Int.join("");XMo.exports={uuid:"f70d9f2e-cb02-49d4-8fd1-4b6dac77213b",locals:{"pop-content-container":"pop-content-container_UZC3b",oneLineOneInputDlg:"oneLineOneInputDlg_qcxwA","pop-content-wrapper":"pop-content-wrapper_fV5Vh","comm-btn-operate-link":"comm-btn-operate-link_EAchf","comm-btn-height":"comm-btn-height_VzXWb","comm-btn-text":"comm-btn-text_4lc6o","margin-btn":"margin-btn_A6y1u","margin-top":"margin-top_UuFln","dialog-input":"dialog-input_RHtS7","device-property-key":"device-property-key_sLAXD","attrs-select-wrap":"attrs-select-wrap_eJDVL","pop-footer-wrapper":"pop-footer-wrapper_vHli3","comm-btn":"comm-btn_qeF6C","comm-btn-default":"comm-btn-default_7Teos","l-btn-left":"l-btn-left_PLT46","comm-btn-left":"comm-btn-left_RJZgj","grid-export":"grid-export_Ic1-w","route-link":"route-link_bw5Q9","window-body":"window-body_ocHQq",panel:"panel_47BCJ","window-header":"window-header_x4ZVT","dialog-content":"dialog-content_eDbcF",line:"line_cuCBu",name:"name_Ubwy5",value:"value_B016Q","dialog-foot":"dialog-foot_HkAVI",border:"border_u8yr2"},toString(){return Int}}});var r6o=xe((HQd,o6o)=>{var Mk=[];Mk.push(".saveLibraryInfo_Sjr6A{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;border:1px solid var(--common-border-color);justify-content:center;padding:16px}.firstRow_5Tas-,.saveLibraryInfo_Sjr6A{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.firstRow_5Tas-{padding-bottom:16px}.firstRow_5Tas- .fileFormat_CK3VY,.firstRow_5Tas- .fileName_6kVi-{line-height:24px;padding-right:8px;width:102px}.firstRow_5Tas- .fileExtension_Pq9fH{background-color:var(--bg-color-disabled-input);border-bottom-right-radius:5px;border-color:var(--border-color-disabled-input);border-top-right-radius:5px;height:24px;line-height:24px;padding:0 6px;text-align:center}.secondRow_-kQJW{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding-bottom:16px}.secondRow_-kQJW .secondLeftSide_5k4rl{padding-right:8px;width:102px}.secondRow_-kQJW .checkBox_LvMv2{height:24px;width:70px}.secondRow_-kQJW .setPassword_xmnhW{line-height:24px}.secondRow_-kQJW .icon-eda-eye_2oBd1{background:");Mk.push("url(");Mk.push(JSON.stringify(s3()));Mk.push(")");Mk.push(";background-position:50%;background-repeat:no-repeat}.secondRow_-kQJW .icon-eda-eye_2oBd1,.secondRow_-kQJW .icon-eda-no-eye_oIE96{display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:20px;width:20px}.secondRow_-kQJW .icon-eda-no-eye_oIE96{background:");Mk.push("url(");Mk.push(JSON.stringify(Jx()));Mk.push(")");Mk.push(";background-position:50%;background-repeat:no-repeat;opacity:.25}.secondRow_-kQJW .iconContainer_lUTU6{padding-left:4px}.thirdRow_ssQo5{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.thirdRow_ssQo5 .confirmPassword_CYyii{line-height:24px;padding-right:8px;width:102px}.passwordInput-text_R76-e{-moz-appearance:textfield;border:1px solid #d9d9d9;border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;font-family:Microsoft YaHei;font-size:12px;height:24px;padding:0 8px;-webkit-user-select:text;-moz-user-select:text;user-select:text;width:70%}.passwordInput-text_R76-e:focus{border-color:#1890ff;outline:0}.passwordInput-password_EdYtW{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;font-family:Microsoft YaHei;font-size:12px;height:24px;padding:0 8px;-webkit-user-select:text;-moz-user-select:text;user-select:text;width:70%;-webkit-text-security:disc}.footer_JOANS{margin-top:14px;text-align:right}");Mk=Mk.join("");o6o.exports={uuid:"4201f9a8-bad6-4c6c-9cb2-199574c5f1d4",locals:{saveLibraryInfo:"saveLibraryInfo_Sjr6A",firstRow:"firstRow_5Tas-",fileFormat:"fileFormat_CK3VY",fileName:"fileName_6kVi-",fileExtension:"fileExtension_Pq9fH",secondRow:"secondRow_-kQJW",secondLeftSide:"secondLeftSide_5k4rl",checkBox:"checkBox_LvMv2",setPassword:"setPassword_xmnhW","icon-eda-eye":"icon-eda-eye_2oBd1","icon-eda-no-eye":"icon-eda-no-eye_oIE96",iconContainer:"iconContainer_lUTU6",thirdRow:"thirdRow_ssQo5",confirmPassword:"confirmPassword_CYyii","passwordInput-text":"passwordInput-text_R76-e","passwordInput-password":"passwordInput-password_EdYtW",footer:"footer_JOANS"},toString(){return Mk}}});var c6o=xe((vKd,l6o)=>{var vnt=[];vnt.push(".container_iOTvB{height:100%}.container_iOTvB,.container_iOTvB .main_it13P{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.container_iOTvB .main_it13P{border:1px solid var(--common-border-color);padding:16px}.container_iOTvB .main_it13P .row_Ur-xW{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:0 0 16px;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_iOTvB .main_it13P .row_Ur-xW .title_wcFRe{margin-left:8px;max-width:110px;min-width:80px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.container_iOTvB .main_it13P .row_Ur-xW .content_WZRDT{width:80%}.container_iOTvB .main_it13P .row_Ur-xW:last-child{padding-bottom:0}.container_iOTvB .footer_Yz-K0{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:28px;margin-top:16px;width:100%;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-moz-box-sizing:border-box;box-sizing:border-box}");vnt=vnt.join("");l6o.exports={uuid:"6785fb79-3da9-4d21-b03c-55ef7b38f2d9",locals:{container:"container_iOTvB",main:"main_it13P",row:"row_Ur-xW",title:"title_wcFRe",content:"content_WZRDT",footer:"footer_Yz-K0"},toString(){return vnt}}});var f6o=xe((WKd,h6o)=>{var Dnt=[];Dnt.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_szomS{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_LUyqd{background-color:#efefef}.comm-btn-confirm_N2fG0{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_N2fG0:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_wdH1p{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_wdH1p:hover{border:1px solid #40a9ff!important}.opacity-none_ZiXcc,.pointer-events-none_AgBxm{cursor:default;pointer-events:none!important}.opacity-none_ZiXcc{opacity:0}.attr-prohibit_1WmqU,.display-block_27Zz8{display:block}.display-none_dHSYG{display:none!important}.display-flex_z-YZy{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_BWVDK{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_HhGMo{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_p-SWo{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_Pg-EA{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_mti9H{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_xGpAT{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_IkQbt{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_HiGIP{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_yuXTJ{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_RPury{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_tObeh{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_Smrmi{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_8xCVV{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_yKLhe{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_q4vPm{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_mKjKd{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_vb4AN{color:#000!important}.color-white-important_sdejh{color:#fff!important}.bgcolor-red-important_mIWCv{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR){display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;height:inherit;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-webkit-align-content:flex-start;align-content:flex-start;align-items:flex-start}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-content-wrapper_s2z0t{height:100%;margin-bottom:16px;overflow-x:hidden;overflow-y:hidden;width:100%}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-content-wrapper_s2z0t>div{overflow:auto;width:100%}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-content-wrapper_s2z0t .comm-btn-operate-link_vi64-{color:-webkit-link;cursor:pointer;font-size:12px;text-decoration:underline}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-content-wrapper_s2z0t .comm-btn-height_dUs4h{height:22px}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-content-wrapper_s2z0t .comm-btn-text_HOMVX{max-width:100px;overflow:hidden;padding:8px 0 8px 10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-content-wrapper_s2z0t .margin-btn_VRCDP{margin-bottom:16px}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-content-wrapper_s2z0t .margin-top_ovHmI{margin-top:16px}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-content-wrapper_s2z0t input.dialog-input_-oNsq{border:1px solid var(--border-color-input);border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-content-wrapper_s2z0t input.dialog-input_-oNsq:not([disabled]){color:var(--font-color-input)}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-content-wrapper_s2z0t select.dialog-input_-oNsq{border:1px solid #d9d9d9;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;line-height:16px;width:100%}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-content-wrapper_s2z0t select.dialog-input_-oNsq:not([disabled]){color:var(--font-color-input)}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-content-wrapper_s2z0t textarea.dialog-input_-oNsq{height:64px;padding:4px;resize:none;width:100%}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-content-wrapper_s2z0t .device-property-key_zJFKp{text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;flex:0 0 100px;overflow:hidden;padding:0 10px 0 8px;text-overflow:ellipsis;white-space:nowrap}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-content-wrapper_s2z0t .attrs-select-wrap_K9ZlX{padding-left:8px}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-footer-wrapper_4hrwM{position:relative;width:100%;-webkit-box-flex:0;-webkit-flex:0 0 28px;-moz-box-flex:0;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex;flex:0 0 28px;overflow-x:auto;overflow-y:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-footer-wrapper_4hrwM .comm-btn_NqxhS{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;line-height:28px;margin-left:5px;min-width:96px;outline:none;padding:0 10px;text-align:center}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-footer-wrapper_4hrwM .comm-btn_NqxhS:hover{background:#40a9ff;border-color:#40a9ff}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-footer-wrapper_4hrwM .comm-btn_NqxhS.comm-btn-default_TaeBt{background:#fff;border:1px solid #d9d9d9;color:#1890ff;outline:none}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-footer-wrapper_4hrwM .comm-btn_NqxhS.comm-btn-default_TaeBt:hover{border-color:#1890ff}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-footer-wrapper_4hrwM .comm-btn_NqxhS .l-btn-left_QOq-K{display:block;line-height:16px;padding:6px 0 4px 17px}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-footer-wrapper_4hrwM .comm-btn-left_qL6bo{left:28px;position:absolute}.pop-content-container_jGGDB:not(.oneLineOneInputDlg_lSPYR) .pop-footer-wrapper_4hrwM .grid-export_Sg57G .comm-btn_NqxhS:last-child{margin-left:8px}.pop-content-container_jGGDB *{-moz-box-sizing:border-box;box-sizing:border-box}.pop-content-container_jGGDB label{position:relative}.pop-content-wrapper_s2z0t a.route-link_TZX3r,.pop-content-wrapper_s2z0t a.route-link_TZX3r:active,.pop-content-wrapper_s2z0t a.route-link_TZX3r:visited{color:#00e}div[user-resizable] .window-body_kJOG9>.panel_Q9I8V,div[user-resizable] .window-header_TO9lA{-moz-box-sizing:border-box;box-sizing:border-box;width:100%!important}div[user-resizable] .window-body_kJOG9>.panel_Q9I8V{height:100%!important}div[user-resizable] .window-body_kJOG9 .dialog-content_tshtR{height:100%!important;width:100%!important}.form-item_E6ZBa{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.form-item_E6ZBa .label_uUFqh{margin-left:8%;max-width:80px;min-width:80px;overflow:hidden;padding:8px 16px 8px 0;text-align:left;text-overflow:ellipsis;white-space:nowrap}.form-item_E6ZBa .content_D8L73{padding-top:7px;width:100%}.form-item_E6ZBa .d3ModelName_kGuar{width:78%}");Dnt=Dnt.join("");h6o.exports={uuid:"73a799e3-72bf-48bb-9928-d59ba96832dc",locals:{"comm-icon-add":"comm-icon-add_szomS","comm-background-color-efefef":"comm-background-color-efefef_LUyqd","comm-btn-confirm":"comm-btn-confirm_N2fG0","comm-btn-cancel":"comm-btn-cancel_wdH1p","opacity-none":"opacity-none_ZiXcc","pointer-events-none":"pointer-events-none_AgBxm","attr-prohibit":"attr-prohibit_1WmqU","display-block":"display-block_27Zz8","display-none":"display-none_dHSYG","display-flex":"display-flex_z-YZy","display-inline-flex":"display-inline-flex_BWVDK","flex-lateral-axis-center":"flex-lateral-axis-center_HhGMo","flex-lateral-axis-start":"flex-lateral-axis-start_p-SWo","flex-lateral-axis-end":"flex-lateral-axis-end_Pg-EA","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_mti9H","flex-main-axis-center":"flex-main-axis-center_xGpAT","flex-main-axis-start":"flex-main-axis-start_IkQbt","flex-main-axis-end":"flex-main-axis-end_HiGIP","flex-main-axis-around":"flex-main-axis-around_yuXTJ","flex-main-axis-between":"flex-main-axis-between_RPury","flex-nowrap":"flex-nowrap_tObeh","flex-wrap":"flex-wrap_Smrmi","flex-direct-row":"flex-direct-row_8xCVV","flex-direct-rerow":"flex-direct-rerow_yKLhe","flex-direct-column":"flex-direct-column_q4vPm","flex-direct-recolumn":"flex-direct-recolumn_mKjKd","color-black-important":"color-black-important_vb4AN","color-white-important":"color-white-important_sdejh","bgcolor-red-important":"bgcolor-red-important_mIWCv","pop-content-container":"pop-content-container_jGGDB",oneLineOneInputDlg:"oneLineOneInputDlg_lSPYR","pop-content-wrapper":"pop-content-wrapper_s2z0t","comm-btn-operate-link":"comm-btn-operate-link_vi64-","comm-btn-height":"comm-btn-height_dUs4h","comm-btn-text":"comm-btn-text_HOMVX","margin-btn":"margin-btn_VRCDP","margin-top":"margin-top_ovHmI","dialog-input":"dialog-input_-oNsq","device-property-key":"device-property-key_zJFKp","attrs-select-wrap":"attrs-select-wrap_K9ZlX","pop-footer-wrapper":"pop-footer-wrapper_4hrwM","comm-btn":"comm-btn_NqxhS","comm-btn-default":"comm-btn-default_TaeBt","l-btn-left":"l-btn-left_QOq-K","comm-btn-left":"comm-btn-left_qL6bo","grid-export":"grid-export_Sg57G","route-link":"route-link_TZX3r","window-body":"window-body_kJOG9",panel:"panel_Q9I8V","window-header":"window-header_TO9lA","dialog-content":"dialog-content_tshtR","form-item":"form-item_E6ZBa",label:"label_uUFqh",content:"content_D8L73",d3ModelName:"d3ModelName_kGuar"},toString(){return Dnt}}});var Dve=xe((QKd,g6o)=>{var ro=[];ro.push(".footprint-wizard_RxGkR{height:100%;overflow:auto}.footprint-wizard_RxGkR .selection_CcvVx{display:grid;grid-template-columns:repeat(2,50%);grid-template-rows:auto;height:100%;margin:4px}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg{background-color:var(--bg-color-footprint-wizard);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:1px;text-align:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:120px}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ{background-position:50%;background-repeat:no-repeat;background-size:135px auto;background-size:contain;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:-webkit-calc(100% - 24px);height:-moz-calc(100% - 24px);height:calc(100% - 24px);width:100%}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ.axial_8RVXi{background-image:");ro.push("url(");ro.push(JSON.stringify(Tmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ.bga_NSBhs{background-image:");ro.push("url(");ro.push(JSON.stringify(Smt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ.chip_hJLvQ{background-image:");ro.push("url(");ro.push(JSON.stringify(Mmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ.chiparray_BVwM1{background-image:");ro.push("url(");ro.push(JSON.stringify(Imt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ.cylindrical_M28a1{background-image:");ro.push("url(");ro.push(JSON.stringify(Lmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ.dfn_4_sAXGr{background-image:");ro.push("url(");ro.push(JSON.stringify(vmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ.dip_Fb3vP{background-image:");ro.push("url(");ro.push(JSON.stringify(Dmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ.e_cap_CkbUd{background-image:");ro.push("url(");ro.push(JSON.stringify(Emt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ.header_h_gfOhv{background-image:");ro.push("url(");ro.push(JSON.stringify(Amt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ.header_v_N0AQW{background-image:");ro.push("url(");ro.push(JSON.stringify(Nmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ.qfn_2QZ91{background-image:");ro.push("url(");ro.push(JSON.stringify(kmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ.qfp_xk4KN{background-image:");ro.push("url(");ro.push(JSON.stringify(Pmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ.sod_zQ27P{background-image:");ro.push("url(");ro.push(JSON.stringify(Omt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ.soic_sop_u4qZH{background-image:");ro.push("url(");ro.push(JSON.stringify(Rmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ.sot23_PDA5j{background-image:");ro.push("url(");ro.push(JSON.stringify(_mt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ.sot223_7VpQ4{background-image:");ro.push("url(");ro.push(JSON.stringify(jmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .icon-wrap_-STsJ.to_dpak_vHX72{background-image:");ro.push("url(");ro.push(JSON.stringify(Bmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg .modelname_Pmu0o{font-weight:700;padding-bottom:10px}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg:hover{background-color:var(--bg-color-hover-footprint-wizard)}.footprint-wizard_RxGkR .selection_CcvVx .item_oznbg.current_xpjiB{background-color:var(--bg-color-selected-footprint-wizard-reference)}.footprint-wizard_RxGkR .editing_P9eTM{height:100%;-webkit-box-flex:5;-webkit-flex:5;-moz-box-flex:5;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;flex:5;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.footprint-wizard_RxGkR .editing_P9eTM .nav_L1pJB{margin:8px 8px 0}.footprint-wizard_RxGkR .editing_P9eTM .nav_L1pJB .back_SDFft{color:#1890ff;cursor:pointer}.footprint-wizard_RxGkR .editing_P9eTM .nav_L1pJB .blank_oqL2j{margin:0 4px}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;background-color:var(--bg-color-hover-footprint-wizard-reference);background-position:50%;background-repeat:no-repeat;background-size:220px auto;cursor:pointer;flex:1;margin:8px;text-align:center}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY .content_YXPeg{height:150px}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY.axial_8RVXi{background-image:");ro.push("url(");ro.push(JSON.stringify(zmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY.bga_NSBhs{background-image:");ro.push("url(");ro.push(JSON.stringify(Fmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY.chip_hJLvQ{background-image:");ro.push("url(");ro.push(JSON.stringify(Umt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY.chiparray_BVwM1{background-image:");ro.push("url(");ro.push(JSON.stringify(Vmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY.cylindrical_M28a1{background-image:");ro.push("url(");ro.push(JSON.stringify(Hmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY.dfn_4_sAXGr{background-image:");ro.push("url(");ro.push(JSON.stringify(Gmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY.dip_Fb3vP{background-image:");ro.push("url(");ro.push(JSON.stringify(Ymt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY.e_cap_CkbUd{background-image:");ro.push("url(");ro.push(JSON.stringify(Wmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY.header_h_gfOhv{background-image:");ro.push("url(");ro.push(JSON.stringify(Qmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY.header_v_N0AQW{background-image:");ro.push("url(");ro.push(JSON.stringify(Kmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY.qfn_2QZ91{background-image:");ro.push("url(");ro.push(JSON.stringify(Zmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY.qfp_xk4KN{background-image:");ro.push("url(");ro.push(JSON.stringify(Jmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY.sod_zQ27P{background-image:");ro.push("url(");ro.push(JSON.stringify(qmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY.soic_sop_u4qZH{background-image:");ro.push("url(");ro.push(JSON.stringify(Xmt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY.sot23_PDA5j{background-image:");ro.push("url(");ro.push(JSON.stringify($mt()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY.sot223_7VpQ4{background-image:");ro.push("url(");ro.push(JSON.stringify(e1t()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .editing_P9eTM .reference_APLBY.to_dpak_vHX72{background-image:");ro.push("url(");ro.push(JSON.stringify(t1t()));ro.push(")");ro.push("}.footprint-wizard_RxGkR .editing_P9eTM .params_7d-sm{-webkit-box-flex:5;-webkit-flex:5;-moz-box-flex:5;border:1px solid var(--common-border-color);color:var(--common-font-color);flex:5;margin:10px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto;padding:5px}.footprint-wizard_RxGkR .editing_P9eTM .params_7d-sm .multi-span_5WM9r{cursor:pointer}.footprint-wizard_RxGkR .editing_P9eTM .params_7d-sm .line_vvpD1 .txt_title_QOnG-{font-size:12px;margin-left:10px;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:103px}.footprint-wizard_RxGkR .editing_P9eTM .params_7d-sm .line_vvpD1 .txt_checkbox_title_P-SPw{width:100%}.footprint-wizard_RxGkR .editing_P9eTM .params_7d-sm .line_vvpD1 .txt_value_1Sqrb{-moz-box-sizing:border-box;box-sizing:border-box;padding-right:10px;text-align:right;width:-webkit-calc(100% - 115px);width:-moz-calc(100% - 115px);width:calc(100% - 115px)}.footprint-wizard_RxGkR .editing_P9eTM .params_7d-sm .line_vvpD1 .q-select-list_r115Y{text-align:left}.footprint-wizard_RxGkR .editing_P9eTM .params_7d-sm .line_vvpD1 .txt_value_1Sqrb input,.footprint-wizard_RxGkR .editing_P9eTM .params_7d-sm .line_vvpD1 .txt_value_1Sqrb select{border-radius:2px;height:25px;margin:3px 0 2px;width:-webkit-calc(100% - 16px);width:-moz-calc(100% - 16px);width:calc(100% - 16px)}.footprint-wizard_RxGkR .editing_P9eTM .params_7d-sm .line_vvpD1 .txt_value_1Sqrb input.short_WalIv{width:-webkit-calc(50% - 15px);width:-moz-calc(50% - 15px);width:calc(50% - 15px)}.footprint-wizard_RxGkR .editing_P9eTM .params_7d-sm .line_vvpD1 .txt_value_1Sqrb span.short_WalIv{display:inline-block;text-align:center;width:14px}.footprint-wizard_RxGkR .editing_P9eTM .params_7d-sm .line_vvpD1 .txt_title_btn_9I-9R{margin-left:10px;width:160px}.footprint-wizard_RxGkR .editing_P9eTM .params_7d-sm .line_vvpD1 .txt_title_text_mbQHs{line-height:26px;overflow:hidden;text-indent:6px;text-overflow:ellipsis;white-space:nowrap}.footprint-wizard_RxGkR .editing_P9eTM .params_7d-sm .line_vvpD1 .txt_input_Gb4u0{margin-top:2px;width:-webkit-calc(100% - 182px);width:-moz-calc(100% - 182px);width:calc(100% - 182px)}.footprint-wizard_RxGkR .editing_P9eTM .params_7d-sm .btn_qAyyf{bottom:54px;left:-webkit-calc(15% + 13px);left:-moz-calc(15% + 13px);left:calc(15% + 13px);margin-top:6px;position:absolute}.footprint-wizard_RxGkR .editing_P9eTM .params_7d-sm select{font-size:12px}.footprint-wizard_RxGkR .editing_P9eTM .btns_xwlM8{margin-bottom:10px;padding:0 10px}.footprint-wizard_RxGkR .editing_P9eTM .btns_xwlM8 button{background:#1890ff;border:1px solid #1890ff;color:#fff;display:block;outline:none;width:100%}.footprint-wizard_RxGkR .editing_P9eTM .btns_xwlM8 button:hover{background-color:#40a9ff;border-color:#40a9ff;cursor:pointer}.footprint-wizard_RxGkR .editing_P9eTM .notice_2qVFz{margin-bottom:10px;padding:0 10px}.footprint-wizard_RxGkR .editing_P9eTM .notice_2qVFz>div{background-color:#fff3cd;color:#856404;padding:.75rem 1.25rem}");ro=ro.join("");g6o.exports={uuid:"8c44cc3a-3a96-4ceb-8ba7-f5f643e0c219",locals:{"footprint-wizard":"footprint-wizard_RxGkR",selection:"selection_CcvVx",item:"item_oznbg","icon-wrap":"icon-wrap_-STsJ",axial:"axial_8RVXi",bga:"bga_NSBhs",chip:"chip_hJLvQ",chiparray:"chiparray_BVwM1",cylindrical:"cylindrical_M28a1",dfn_4:"dfn_4_sAXGr",dip:"dip_Fb3vP",e_cap:"e_cap_CkbUd",header_h:"header_h_gfOhv",header_v:"header_v_N0AQW",qfn:"qfn_2QZ91",qfp:"qfp_xk4KN",sod:"sod_zQ27P",soic_sop:"soic_sop_u4qZH",sot23:"sot23_PDA5j",sot223:"sot223_7VpQ4",to_dpak:"to_dpak_vHX72",modelname:"modelname_Pmu0o",current:"current_xpjiB",editing:"editing_P9eTM",nav:"nav_L1pJB",back:"back_SDFft",blank:"blank_oqL2j",reference:"reference_APLBY",content:"content_YXPeg",params:"params_7d-sm","multi-span":"multi-span_5WM9r",line:"line_vvpD1",txt_title:"txt_title_QOnG-",txt_checkbox_title:"txt_checkbox_title_P-SPw",txt_value:"txt_value_1Sqrb","q-select-list":"q-select-list_r115Y",short:"short_WalIv",txt_title_btn:"txt_title_btn_9I-9R",txt_title_text:"txt_title_text_mbQHs",txt_input:"txt_input_Gb4u0",btn:"btn_qAyyf",btns:"btns_xwlM8",notice:"notice_2qVFz"},toString(){return ro}}});var tIo=xe((Miu,eIo)=>{var Ynt=[];Ynt.push(".icon-eda-x-circle_Y-91J.clear-input-circle_UproT{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.gray-dialog-border_NRAIo{border:1px solid var(--common-border-color);padding:16px}.gray-dialog-border_NRAIo .tips_Ravf2{margin-bottom:13px;margin-left:25px}.gray-dialog-border_NRAIo .grid-area_D3Ba0{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.gray-dialog-border_NRAIo .grid-area_D3Ba0 .row_eDpIy div{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;text-align:center;text-indent:10px}.gray-dialog-border_NRAIo .grid-area_D3Ba0 .row_eDpIy div span:first-child{display:inline-block;white-space:nowrap;width:100px}.gray-dialog-border_NRAIo .grid-area_D3Ba0 .row_eDpIy div span:nth-child(2){width:-webkit-calc(100% - 100px);width:-moz-calc(100% - 100px);width:calc(100% - 100px)}.gray-dialog-border_NRAIo .grid-area_D3Ba0 .row_eDpIy div span input{float:left;width:380px}.gray-dialog-border_NRAIo .grid-area_D3Ba0 .row_eDpIy .comment_gBHRU{color:red;height:18px;text-indent:100px}.gray-dialog-border_NRAIo .grid-area_D3Ba0 .row_eDpIy .hidden-comment_SOr-L{opacity:0}.gray-dialog-border_NRAIo .grid-area_D3Ba0 .row_eDpIy .description_q0YOq{white-space:nowrap;width:60px}.gray-dialog-border_NRAIo .grid-area_D3Ba0 textarea{float:left;height:auto;padding:4px 8px;width:380px}");Ynt=Ynt.join("");eIo.exports={uuid:"8509fdeb-9b8b-40fb-8dbc-832453d8cd2b",locals:{"icon-eda-x-circle":"icon-eda-x-circle_Y-91J","clear-input-circle":"clear-input-circle_UproT","gray-dialog-border":"gray-dialog-border_NRAIo",tips:"tips_Ravf2","grid-area":"grid-area_D3Ba0",row:"row_eDpIy",comment:"comment_gBHRU","hidden-comment":"hidden-comment_SOr-L",description:"description_q0YOq"},toString(){return Ynt}}});var Wbe=xe((Sou,fIo)=>{var K5=[];K5.push(".icon-eda-x-circle_Xhlhu.clear-input-circle_6cWm-{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.treeMyProject-phantom_EYMsn{left:0;position:absolute;right:0;top:0;z-index:-1}.treeMyProject_L2bgc{bottom:0;color:var(--font-color-tree);display:inline-table;font-family:Microsoft YaHei;font-size:12px;margin:0;padding:0;position:relative;right:0;top:0;width:100%;z-index:1}.tree-content_-38Fw{-moz-box-sizing:content-box;box-sizing:content-box;height:-webkit-calc(100% - 68px);height:-moz-calc(100% - 68px);height:calc(100% - 68px);overflow-x:overlay;overflow-y:auto;overscroll-behavior:contain;position:absolute;scrollbar-width:thin;top:68px;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px)}.tree-icon_rcTIB{background-size:100% 100%;font-size:12px;height:16px;margin-left:2px;margin-right:2px;top:0;width:16px}.tree-icon_rcTIB,.tree-icon_rcTIB.tree-folder_WK5Oz{position:relative}.tree-refresh_CPxnc{background:");K5.push("url(");K5.push(JSON.stringify(FR()));K5.push(")");K5.push(' no-repeat;height:16px;width:16px}.tree-refresh_CPxnc.active_GJ80S{-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree)}.tree-title_4dmpt{color:var(--font-color-sch-leftTree);display:inline-block;padding:4px 2px;text-decoration:none;vertical-align:middle;white-space:nowrap}.cross-check_4La5R{font-weight:700}.hightlight_fqRJW{background:var(--common-bg-color-highLight-item)}.tree-hit_4PGgo,.tree-indent_aHnbk{background-size:100% 100%;height:16px;vertical-align:middle;width:16px}.tree-node_KXNia{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;cursor:pointer;min-height:22px;position:relative;width:100%}.tree-node_KXNia>*{-webkit-flex-shrink:0;flex-shrink:0}.tree-node_KXNia .tab_new_parttree_FbH1K{background-size:100% 100%;font-size:15px;height:16px;position:relative;right:0;width:16px}.tree-node_KXNia.share_27Bpp>.tree-icon_rcTIB.tree-folder_WK5Oz:after{content:"";display:inline-block;height:16px;left:-2px;position:absolute;top:6px;width:16px}.tree-node_KXNia.move_Ve9a2{cursor:move}.tree-node_KXNia.not-allowed_jpLRg{cursor:not-allowed}.tree-node_KXNia .number_sbbuR{display:inline-block;padding:1px 2px;text-decoration:none;vertical-align:middle;white-space:nowrap}.tree-node_KXNia:hover{background:var(--bg-color-hover-tree)}.tree-node_KXNia input{-moz-appearance:textfield;border:1px solid #d9d9d9;border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:#333;height:22px;padding:0 8px}.tree-node_KXNia input:focus{border-color:#1890ff;color:var(--common-font-color);outline:0}.tree-node-hover_ShYtk{background:var(--bg-color-hover-tree)}.tree-expanded_-TfYB{background:');K5.push("url(");K5.push(JSON.stringify(Ow()));K5.push(")");K5.push(" no-repeat}.tree-collapsed_Ed-B-,.tree-expanded_-TfYB{-webkit-filter:var(--icon-color-tree);filter:var(--icon-color-tree);height:16px;width:16px}.tree-collapsed_Ed-B-{background:");K5.push("url(");K5.push(JSON.stringify(qx()));K5.push(")");K5.push(" no-repeat}.tree-node-selected_px6zA.tree-node-hover_ShYtk{background:var(--bg-color-selected-tree)!important}.tree-node-selected_px6zA .tree-collapsed_Ed-B-:before,.tree-node-selected_px6zA .tree-expanded_-TfYB:before{border-top:4px solid #fff}.tree-node-selected_px6zA{background:var(--bg-color-selected-tree);color:var(--font-color-selected-tree)!important}.tree-node-auto-hover_pbQNc{background:var(--bg-color-selected-tree)!important}.version-node_mzy-W{background:#fff6e4;border:1px solid #ffdbb0;border-radius:2px;color:#ffa23a;padding:0 2px}.tree-blank-row_3hDlW{height:24px;list-style:none;margin:0;padding:0;width:100%}");K5=K5.join("");fIo.exports={uuid:"d8c86565-921c-4d01-a5d8-5e93003237a4",locals:{"icon-eda-x-circle":"icon-eda-x-circle_Xhlhu","clear-input-circle":"clear-input-circle_6cWm-","treeMyProject-phantom":"treeMyProject-phantom_EYMsn",treeMyProject:"treeMyProject_L2bgc","tree-content":"tree-content_-38Fw","tree-icon":"tree-icon_rcTIB","tree-folder":"tree-folder_WK5Oz","tree-refresh":"tree-refresh_CPxnc",active:"active_GJ80S","tree-title":"tree-title_4dmpt","cross-check":"cross-check_4La5R",hightlight:"hightlight_fqRJW","tree-hit":"tree-hit_4PGgo","tree-indent":"tree-indent_aHnbk","tree-node":"tree-node_KXNia",tab_new_parttree:"tab_new_parttree_FbH1K",share:"share_27Bpp",move:"move_Ve9a2","not-allowed":"not-allowed_jpLRg",number:"number_sbbuR","tree-node-hover":"tree-node-hover_ShYtk","tree-expanded":"tree-expanded_-TfYB","tree-collapsed":"tree-collapsed_Ed-B-","tree-node-selected":"tree-node-selected_px6zA","tree-node-auto-hover":"tree-node-auto-hover_pbQNc","version-node":"version-node_mzy-W","tree-blank-row":"tree-blank-row_3hDlW"},toString(){return K5}}});var LVt=xe((Gou,EIo)=>{var Ik=[];Ik.push(".redFont_SAmnb{color:red!important}.ftp-op-resize-normal_5d1xa{background-image:");Ik.push("url(");Ik.push(JSON.stringify(qQ()));Ik.push(")");Ik.push("}.ftp-op-resize-full_BwqMG,.ftp-op-resize-normal_5d1xa{background-position:0 0;background-size:100% 100%}.ftp-op-resize-full_BwqMG{background-image:");Ik.push("url(");Ik.push(JSON.stringify(XQ()));Ik.push(")");Ik.push("}.preview-check-btn_8ceWF{-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;height:22px;min-width:auto!important;padding:0;text-align:center;vertical-align:middle;width:22px}.selected_gB9yg{border:1px solid #1890ff;color:#1890ff}.cbb-tips_73HcG{background-color:#e2e2e2;color:#1890ff;left:50%;position:absolute;text-align:center;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:2}.cbb-tips_73HcG span{color:var(--common-font-color)}.cbb-tips_73HcG a{cursor:pointer}");Ik=Ik.join("");EIo.exports={uuid:"243d6937-2142-4ae6-83ac-a61dba0b9a15",locals:{redFont:"redFont_SAmnb","ftp-op-resize-normal":"ftp-op-resize-normal_5d1xa","ftp-op-resize-full":"ftp-op-resize-full_BwqMG","preview-check-btn":"preview-check-btn_8ceWF",selected:"selected_gB9yg","cbb-tips":"cbb-tips_73HcG"},toString(){return Ik}}});var FIo=xe((Ksu,zIo)=>{var Gee=[];Gee.push(".tips_content_HCj6x{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background-color:var(--common-bg-color);border-bottom:1px solid #ff8930;border-top:1px solid #ff8930;color:#ff8930;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;z-index:100}.tips_content_HCj6x span{display:inline-block}.tips_content_HCj6x .common_OVDsQ{margin-left:4px}.tips_content_HCj6x .highlightBlue_5L-9K{color:#1890ff;margin-left:4px}.tips_content_HCj6x .highlightRed_1z-a4{color:red;margin-left:4px}.tips_content_HCj6x .warning_tips_icon_Afx8X{background-color:#ff8930;border-radius:14px;color:#fff;height:14px;line-height:14px;text-align:center;width:14px}.tips_content_HCj6x .clear_7wiPp{background-image:");Gee.push("url(");Gee.push(JSON.stringify(UR()));Gee.push(")");Gee.push(';background-repeat:no-repeat;background-size:12px 12px;content:"";cursor:pointer;display:inline-block;-webkit-filter:brightness(0) saturate(100%) invert(71%) sepia(30%) saturate(5005%) hue-rotate(337deg) brightness(101%) contrast(101%);filter:brightness(0) saturate(100%) invert(71%) sepia(30%) saturate(5005%) hue-rotate(337deg) brightness(101%) contrast(101%);height:12px;margin-right:8px;min-width:12px;width:12px}');Gee=Gee.join("");zIo.exports={uuid:"3065d1b8-4120-4f82-a55e-ce8d94602324",locals:{tips_content:"tips_content_HCj6x",common:"common_OVDsQ",highlightBlue:"highlightBlue_5L-9K",highlightRed:"highlightRed_1z-a4",warning_tips_icon:"warning_tips_icon_Afx8X",clear:"clear_7wiPp"},toString(){return Gee}}});var nat=xe((ilu,UIo)=>{var rat=[];rat.push(".icon-eda-x-circle_-0pTh.clear-input-circle_1GoT1{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.container_rVdI-{background-color:var(--bg-color-panel);height:100%}.container_rVdI-,.container_rVdI- .header_ol7c6{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.container_rVdI- .header_ol7c6{-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.container_rVdI- .header_ol7c6 [class^=tabsWrap]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:28px}.container_rVdI- .content_2CcvY,.container_rVdI- .header_ol7c6 [class^=tabsWrap]>*{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.container_rVdI- .content_2CcvY{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;overflow:auto}.container_rVdI- .content_2CcvY .tree-content_PsHuK{border:1px solid red}");rat=rat.join("");UIo.exports={uuid:"4caf0eb0-636c-4218-aaaa-2c9c864f542f",locals:{"icon-eda-x-circle":"icon-eda-x-circle_-0pTh","clear-input-circle":"clear-input-circle_1GoT1",container:"container_rVdI-",header:"header_ol7c6",content:"content_2CcvY","tree-content":"tree-content_PsHuK"},toString(){return rat}}});var gLo=xe((xmu,fLo)=>{var gat=[];gat.push(".icon-eda-x-circle_kqeXL.clear-input-circle_LUMTG{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.gray-dialog-border_c-DqN{border:1px solid var(--common-border-color)}.form-label_oeNs7{line-height:24px;padding:8px 16px 8px 0;text-align:right;width:80px}.manager-category_2JdUL{display:inline-block;margin-left:10px;max-width:72px;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}");gat=gat.join("");fLo.exports={uuid:"650e5d70-a055-44a1-9470-4a6497b9783c",locals:{"icon-eda-x-circle":"icon-eda-x-circle_kqeXL","clear-input-circle":"clear-input-circle_LUMTG","gray-dialog-border":"gray-dialog-border_c-DqN","form-label":"form-label_oeNs7","manager-category":"manager-category_2JdUL"},toString(){return gat}}});var CLo=xe((Khu,wLo)=>{var bat=[];bat.push(".icon-eda-x-circle_7Nu39.clear-input-circle_CxJwF{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.gray-dialog-border_PY4Nv{border:1px solid var(--common-border-color)}.form-label_DOBeO{line-height:24px;padding:8px 16px 8px 0;text-align:right;width:80px}.manager-category_th5E9{display:inline-block;margin-left:10px;max-width:72px;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}");bat=bat.join("");wLo.exports={uuid:"4912eedf-e1bc-4b90-9acb-15cef41f112e",locals:{"icon-eda-x-circle":"icon-eda-x-circle_7Nu39","clear-input-circle":"clear-input-circle_CxJwF","gray-dialog-border":"gray-dialog-border_PY4Nv","form-label":"form-label_DOBeO","manager-category":"manager-category_th5E9"},toString(){return bat}}});var ALo=xe((e2u,ELo)=>{var Cat=[];Cat.push(".cbb_project_bwU0i{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.cbb_project_bwU0i,.cbb_project_bwU0i .category_kIngm,.cbb_project_bwU0i .project_DslDb{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;width:100%}.cbb_project_bwU0i .category_kIngm,.cbb_project_bwU0i .project_DslDb{height:40px}.cbb_project_bwU0i .project_DslDb>div{width:70%}.cbb_project_bwU0i .description_ossh-{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;height:83px;width:100%}.cbb_project_bwU0i .title_iFb67{display:block;line-height:24px;padding:8px 16px 8px 0;text-align:right;width:80px}.cbb_project_bwU0i .manage_category_QkMLK{display:inline-block;margin-left:10px;max-width:72px;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}");Cat=Cat.join("");ELo.exports={uuid:"cbe05241-da06-43ed-b341-7adc84ec5c5d",locals:{cbb_project:"cbb_project_bwU0i",category:"category_kIngm",project:"project_DslDb",description:"description_ossh-",title:"title_iFb67",manage_category:"manage_category_QkMLK"},toString(){return Cat}}});var rye=xe((FCu,XLo)=>{var Jee=[];Jee.push(".item-pattern_LIMU1 .span-flex_LVdf1{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;height:100%;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:#999;font-size:16px}.list-wrap_pl-3P{position:relative}.list-wrap_pl-3P.active_y-Iuz .inside_JLeWa{background-color:var(--bg-toolbar-icon-selected);box-shadow:0 0 1px 2px var(--common-border-color);z-index:1}.list-wrap_pl-3P .eda-product_fF17O .three_nr_OQonR .ccd_v5y97,.list-wrap_pl-3P .inside_JLeWa{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.list-wrap_pl-3P .inside_JLeWa{border-bottom:1px solid var(--common-border-color);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;min-width:100%;padding:10px 0;position:relative}.list-wrap_pl-3P .inside_JLeWa:hover{background-color:var(--bg-color-choose-device-dialog-hover);z-index:1}.list-wrap_pl-3P .inside_JLeWa td{-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:top}.list-wrap_pl-3P .image-wrap_Ufc1v{height:146px;margin-left:8px;position:relative;width:146px}.list-wrap_pl-3P .image-wrap_Ufc1v a{display:block;height:100%;width:100%}.list-wrap_pl-3P .image-wrap_Ufc1v a img{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;height:100%;overflow:hidden;width:100%}.list-wrap_pl-3P .image-wrap_Ufc1v a .img-loading-wrap_6MVYj{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;background:var(--common-bg-color);justify-content:center;position:absolute;z-index:9}.list-wrap_pl-3P .image-wrap_Ufc1v a .img-loading-wrap_6MVYj .img-loading_vsPwU{background-image:");Jee.push("url(");Jee.push(JSON.stringify(ZF()));Jee.push(")");Jee.push(";background-position:50%;background-repeat:no-repeat;background-size:24px 24px;display:inline-block;height:24px;width:24px}.list-wrap_pl-3P .two_686yr{padding-left:8px;width:378px}.list-wrap_pl-3P .two-tit_6gtEt{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-size:14px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:#0093e6}.list-wrap_pl-3P .two-tit_6gtEt .product-name-link_Mkgc9{display:block;float:left;width:180px}.list-wrap_pl-3P .two-tit_6gtEt .catalog_RBUJc{background:#f9f9f9;color:#979797;display:inline-block;font-size:12px;height:19px;margin-left:4px;max-width:100px;padding:2px 10px}.list-wrap_pl-3P .two-tit_6gtEt .smt-flag_HfhLI{background:#fff5eb;color:#ff7800;display:inline-block;font-size:12px;height:22px;line-height:22px;margin-left:6px;padding:0 8px;text-align:center;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.list-wrap_pl-3P .ellipsis_4EHXb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.list-wrap_pl-3P .multi-ellipsis_u7PBb{display:-webkit-box;height:36px;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;position:relative}.list-wrap_pl-3P .c9a9a9a_-diye{color:#9a9a9a}.list-wrap_pl-3P .two_01_oxTdN{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-top:10px;overflow:hidden;width:100%}.list-wrap_pl-3P .two_01_oxTdN ul li{-moz-box-sizing:border-box;box-sizing:border-box;height:26px;max-width:205px;overflow:hidden;padding-right:8px;text-overflow:ellipsis;white-space:nowrap;width:100%}.list-wrap_pl-3P .two_01_oxTdN ul li.description-wrap_pnzvu{height:36px;line-height:19px;max-width:none;overflow:visible;overflow:initial;white-space:normal;width:152%}.list-wrap_pl-3P .two_01_oxTdN ul li.description-wrap_pnzvu .desc-text_9Zgci{word-wrap:break-word}.list-wrap_pl-3P .l02_zb_ms1h6{width:54%}.list-wrap_pl-3P .l02_yb_3cN-b{margin-left:-12px;width:40%}.list-wrap_pl-3P .data-sheet-btn_12NuK a{display:block;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;position:relative;top:-7px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.list-wrap_pl-3P .data-sheet-btn_12NuK span{background-position:50%;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;height:20px;margin-right:4px;position:relative;top:4px;width:20px}.list-wrap_pl-3P .data-sheet-btn_12NuK span:last-child{top:7px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.list-wrap_pl-3P ul{padding:0}.list-wrap_pl-3P .blue_9TjEi{color:#0093e6}.list-wrap_pl-3P .lower_RWG-y{width:100%}.list-wrap_pl-3P .lower_RWG-y .tag-wrapper_Xht31{margin-top:14px}.list-wrap_pl-3P .lower_RWG-y .tag-wrapper_Xht31>span{border:1px solid;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;padding:2px 10px}.list-wrap_pl-3P .three_OqA4n{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-right:24px;width:120px}.list-wrap_pl-3P .three_OqA4n .three_nr_OQonR{float:left;width:100%}.list-wrap_pl-3P .three_OqA4n .three_nr_OQonR li{height:26px;list-style:none}.list-wrap_pl-3P .three_OqA4n .three_nr_OQonR li p{float:left;margin:0;text-align:right;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.list-wrap_pl-3P .three_OqA4n .three_nr_OQonR .ccd_v5y97{color:#ff7900;max-width:60%;overflow:hidden;text-overflow:ellipsis}.list-wrap_pl-3P .three_OqA4n .three_nr_OQonR .no-price_-03D7{line-height:22px;margin-left:16px}.list-wrap_pl-3P .three_OqA4n .three_nr_OQonR .price-warp_9Wcec{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;line-height:26px;text-align:center;width:auto}.list-wrap_pl-3P .three_OqA4n .three_nr_OQonR .price-warp_9Wcec .ppbbz-p_VQkNC{margin-right:4px;width:50px}.list-wrap_pl-3P .three_OqA4n .three_nr_OQonR .price-warp_9Wcec .ccd-ppbbz_Uzju-{float:right}.list-wrap_pl-3P .ffour_LLCAo{padding-right:30px}.list-wrap_pl-3P .action-btn-wrap_n7ppZ{bottom:8px;position:absolute;right:8px;text-align:center;vertical-align:bottom!important}.list-wrap_pl-3P .action-btn-wrap_n7ppZ .report-part-error_lEWSG{color:#1890ff;cursor:pointer;display:inline-block;margin-right:16px;text-decoration:underline}.list-wrap_pl-3P .pan_J-oHR{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:135px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.list-wrap_pl-3P .pan_J-oHR .pan_list_MDRPr{display:block;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;float:right;height:26px;line-height:26px;min-width:125px;position:relative;width:auto}.list-wrap_pl-3P .goldenrod_q87X1{color:#ff7800;max-width:100px;overflow:hidden;text-overflow:ellipsis}.list-wrap_pl-3P .text-flex-shrink_2wDCk{-webkit-flex-shrink:0;flex-shrink:0}.list-wrap_pl-3P .more-operations_VDgkP{cursor:pointer;font-size:18px;font-weight:700;height:30px;letter-spacing:0;line-height:32px;position:absolute;right:4px;text-align:center;top:0;width:30px;z-index:99}.list-wrap_pl-3P .price-private-wrap_KZ-2a{width:100%}.list-wrap_pl-3P .price-private-wrap_KZ-2a .price-text_3AJex{line-height:26px;max-width:93%;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.list-wrap_pl-3P .price-private-wrap_KZ-2a .three_nr_OQonR li p{float:left;text-align:left}.list-wrap_pl-3P .price-private-wrap_KZ-2a .three_nr_OQonR li .ccd-ppbbz_Uzju-{float:left}");Jee=Jee.join("");XLo.exports={uuid:"3e30d393-e391-4373-9178-e7e87d02d713",locals:{"item-pattern":"item-pattern_LIMU1","span-flex":"span-flex_LVdf1","list-wrap":"list-wrap_pl-3P",active:"active_y-Iuz",inside:"inside_JLeWa","eda-product":"eda-product_fF17O",three_nr:"three_nr_OQonR",ccd:"ccd_v5y97","image-wrap":"image-wrap_Ufc1v","img-loading-wrap":"img-loading-wrap_6MVYj","img-loading":"img-loading_vsPwU",two:"two_686yr","two-tit":"two-tit_6gtEt","product-name-link":"product-name-link_Mkgc9",catalog:"catalog_RBUJc","smt-flag":"smt-flag_HfhLI",ellipsis:"ellipsis_4EHXb","multi-ellipsis":"multi-ellipsis_u7PBb",c9a9a9a:"c9a9a9a_-diye",two_01:"two_01_oxTdN","description-wrap":"description-wrap_pnzvu","desc-text":"desc-text_9Zgci",l02_zb:"l02_zb_ms1h6",l02_yb:"l02_yb_3cN-b","data-sheet-btn":"data-sheet-btn_12NuK",blue:"blue_9TjEi",lower:"lower_RWG-y","tag-wrapper":"tag-wrapper_Xht31",three:"three_OqA4n","no-price":"no-price_-03D7","price-warp":"price-warp_9Wcec","ppbbz-p":"ppbbz-p_VQkNC","ccd-ppbbz":"ccd-ppbbz_Uzju-",ffour:"ffour_LLCAo","action-btn-wrap":"action-btn-wrap_n7ppZ","report-part-error":"report-part-error_lEWSG",pan:"pan_J-oHR",pan_list:"pan_list_MDRPr",goldenrod:"goldenrod_q87X1","text-flex-shrink":"text-flex-shrink_2wDCk","more-operations":"more-operations_VDgkP","price-private-wrap":"price-private-wrap_KZ-2a","price-text":"price-text_3AJex"},toString(){return Jee}}});var hvo=xe((lTu,mvo)=>{var Gat=[];Gat.push(".empty-warp_MSXMD{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}");Gat=Gat.join("");mvo.exports={uuid:"8c7a33a7-bc25-4abc-8fba-116efc87ddb8",locals:{"empty-warp":"empty-warp_MSXMD"},toString(){return Gat}}});var hHt=xe((NTu,bvo)=>{var Wat=[];Wat.push('.icon-eda-x-circle_UnshK.clear-input-circle_boMZv{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.filter-list-wrap_uSGJZ{padding:"0 5px 5px 5px";width:"100%"}.filter-list-wrap_uSGJZ .global-products_-lJI9{border-bottom:1px solid var(--common-border-color);overflow:hidden;padding-bottom:0}.filter-list-wrap_uSGJZ .span-flex_0qDTZ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;height:100%;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:#999;font-size:16px;min-height:138px}.filter-list-wrap_uSGJZ .select-resize_6WZM4{background:0 0;border:0;color:inherit;float:left;font-size:100%;height:18px;letter-spacing:normal;margin-top:80px;min-width:0;min-width:auto;outline:0;padding:0;text-indent:0;text-shadow:none;text-transform:none;vertical-align:baseline;width:18px;word-spacing:normal}.filter-list-wrap_uSGJZ .select-resize_6WZM4 span{border:1px solid var(--common-border-color);display:block;font-size:14px;height:100%;margin-left:5px;width:100%}.filter-list-wrap_uSGJZ .select-wrap_AbQNV{margin-left:25px;min-height:165px;overflow-x:auto;overflow-y:hidden;position:relative;white-space:nowrap}.filter-list-wrap_uSGJZ .select-wrap_AbQNV .select_kBwh6{color:var(--font-color-drop-down-menuItem);display:inline-block;margin-left:3px;margin-right:3px;min-width:23%}.filter-list-wrap_uSGJZ .select-wrap_AbQNV .select_kBwh6 h2{color:var(--font-color-input);font-size:12px;margin:0;overflow-x:hidden;padding:8px 0;text-overflow:clip;white-space:nowrap}.filter-list-wrap_uSGJZ .select-wrap_AbQNV .select_kBwh6 .sea-wrap_m-jzq{position:relative}.filter-list-wrap_uSGJZ .select-wrap_AbQNV .select_kBwh6 .sea-wrap_m-jzq input{background-color:var(--bg-color-input);border-left:0;border-right:0;border-top:0;border:1px solid var(--common-border-color);border-radius:0;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:20px;outline:0;padding:5px 22px 5px 5px;width:100%}.filter-list-wrap_uSGJZ .select-wrap_AbQNV .select_kBwh6 .sea-wrap_m-jzq input:focus{background-color:var(--bg-color-focus-input)}.filter-list-wrap_uSGJZ .select-wrap_AbQNV .select_kBwh6 .sea-wrap_m-jzq span.sea-icon_H9Zkk{height:18px;position:absolute;right:4px;top:4px;width:18px}.filter-list-wrap_uSGJZ .select-wrap_AbQNV .select_kBwh6 div.name-scroll_qBM5z{border:1px solid var(--common-border-color);border-top:0;overflow-x:hidden;overflow-y:hidden}.filter-list-wrap_uSGJZ .select-wrap_AbQNV .select_kBwh6 div.name-scroll_qBM5z,.filter-list-wrap_uSGJZ .select-wrap_AbQNV .select_kBwh6 div.name-scroll_qBM5z.longer_bXcOO{-webkit-transition-delay:0s;-moz-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:height;-moz-transition-property:height;transition-property:height;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.filter-list-wrap_uSGJZ .select-wrap_AbQNV .select_kBwh6 div.name-scroll_qBM5z.longer_bXcOO{height:200px}.filter-list-wrap_uSGJZ .select-wrap_AbQNV .select_kBwh6 div.name-scroll_qBM5z .filter-item_CEyg9{-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:block;height:20px;line-height:20px;padding:2px 20px 2px 4px;white-space:nowrap}.filter-list-wrap_uSGJZ .select-wrap_AbQNV .select_kBwh6 div.name-scroll_qBM5z .filter-item_CEyg9.disabled_MxWGA{background:var(--bg-color-disabled-input);color:var(--font-color-disabled-drop-down-menuItem)!important}.filter-list-wrap_uSGJZ .select-wrap_AbQNV .select_kBwh6 div.name-scroll_qBM5z .filter-item_CEyg9:hover{color:var(--font-color-hover-drop-down-menuItem)}.filter-list-wrap_uSGJZ .select-wrap_AbQNV .select_kBwh6 div.name-scroll_qBM5z .filter-item_CEyg9.active_bmG1A{background:var(--bg-color-selected-drop-down-menuItem);color:var(--font-color-selected-down-menuItem)}.filter-list-wrap_uSGJZ .key-word_zYR35{margin:0 0 0 28px;overflow:hidden;position:relative}.filter-list-wrap_uSGJZ .key-word_zYR35 .key-word-wp_VAkZV{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;font-size:12px;justify-content:space-between;margin-bottom:5px;margin-right:0;padding:5px 5px 5px 0;white-space:normal;zoom:normal}.filter-list-wrap_uSGJZ .key-word_zYR35 .key-word-wp_VAkZV .key-word-text_jjXJa{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-right:16px;max-width:80%;overflow:auto}.filter-list-wrap_uSGJZ .key-word_zYR35 .key-word-wp_VAkZV .key-word-text_jjXJa>span{background-color:var(--common-bg-color);border:1px solid var(--common-border-color);cursor:default;display:block;height:24px;line-height:24px;margin-bottom:3px;margin-right:3px;padding:0 16px 0 10px;position:relative}.filter-list-wrap_uSGJZ .key-word_zYR35 .key-word-wp_VAkZV .key-word-text_jjXJa>span span{display:block;width:-webkit-max-content;width:-moz-max-content;width:max-content}.filter-list-wrap_uSGJZ .key-word_zYR35 .key-word-wp_VAkZV .key-word-text_jjXJa>span:hover{border:1px solid #0093e6}.filter-list-wrap_uSGJZ .key-word_zYR35 .key-word-wp_VAkZV .key-word-text_jjXJa>span .clear-one_EibkY{background:#ddd;color:#fff;cursor:pointer;display:block;height:12px;position:absolute;right:0;top:0;width:11px}.filter-list-wrap_uSGJZ .key-word_zYR35 .clear-btn_f5Vbj,.filter-list-wrap_uSGJZ .key-word_zYR35 .make-sure-btn_BZT-6{border:0;-moz-box-sizing:border-box;box-sizing:border-box;font-size:12px;height:25px;line-height:25px;-webkit-transition:all .3s;-moz-transition:all .3s;transition:all .3s}.filter-list-wrap_uSGJZ .key-word_zYR35 .clear-btn_f5Vbj{background:#e1f6fe;border:1px solid #0093e6;color:#1890ff;margin-right:10px}.filter-list-wrap_uSGJZ .key-word_zYR35 .make-sure-btn_BZT-6{background:#ff7800;border:1px solid #ff7800;color:#fff}.filter-list-wrap_uSGJZ .results_cZHAo{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:end;-webkit-justify-content:end;-moz-box-pack:end;justify-content:end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:10px;margin-right:4px}.filter-list-wrap_uSGJZ .results_cZHAo .num_py6LF{color:#ff7800;font-size:16px}');Wat=Wat.join("");bvo.exports={uuid:"dedcc931-e849-485a-96a4-39a2ff037adc",locals:{"icon-eda-x-circle":"icon-eda-x-circle_UnshK","clear-input-circle":"clear-input-circle_boMZv","filter-list-wrap":"filter-list-wrap_uSGJZ","global-products":"global-products_-lJI9","span-flex":"span-flex_0qDTZ","select-resize":"select-resize_6WZM4","select-wrap":"select-wrap_AbQNV",select:"select_kBwh6","sea-wrap":"sea-wrap_m-jzq","sea-icon":"sea-icon_H9Zkk","name-scroll":"name-scroll_qBM5z",longer:"longer_bXcOO","filter-item":"filter-item_CEyg9",disabled:"disabled_MxWGA",active:"active_bmG1A","key-word":"key-word_zYR35","key-word-wp":"key-word-wp_VAkZV","key-word-text":"key-word-text_jjXJa","clear-one":"clear-one_EibkY","clear-btn":"clear-btn_f5Vbj","make-sure-btn":"make-sure-btn_BZT-6",results:"results_cZHAo",num:"num_py6LF"},toString(){return Wat}}});var jvo=xe((PMu,_vo)=>{var Zat=[];Zat.push(".main_qVfH6{border-bottom:1px solid var(--common-border-color-2);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;position:relative;width:100%}.main_qVfH6 .image_bvN0B{height:146px;margin:8px 40px;width:146px}.main_qVfH6 .text_-rl0h{color:#9a9a9a;width:50%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:space-evenly;-webkit-justify-content:space-evenly;-moz-box-pack:space-evenly;justify-content:space-evenly}.main_qVfH6 .text_-rl0h,.main_qVfH6 .text_-rl0h .line_TwXLE{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.main_qVfH6 .text_-rl0h .line_TwXLE .line_item_gWarn{margin-right:60px}.main_qVfH6 .text_-rl0h .desc_h6lmB{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;white-space:normal}.main_qVfH6 .button_79mKt{margin:8px}");Zat=Zat.join("");_vo.exports={uuid:"307fa170-93c9-4421-b229-269e45c2eac4",locals:{main:"main_qVfH6",image:"image_bvN0B",text:"text_-rl0h",line:"line_TwXLE",line_item:"line_item_gWarn",desc:"desc_h6lmB",button:"button_79mKt"},toString(){return Zat}}});var Kvo=xe((qMu,Qvo)=>{var Xat=[];Xat.push(".main_bqqhB .content_JHnHb{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.main_bqqhB .content_JHnHb .lib_xs-sB{height:619px;width:15%}.main_bqqhB .content_JHnHb .category_pTBUO{height:619px;width:17.1%}.main_bqqhB .content_JHnHb .info_nHht1{border:1px solid var(--border-color-panel-divider);-moz-box-sizing:border-box;box-sizing:border-box;height:617px;width:67.9%}.main_bqqhB .content_JHnHb .pagination_U569V{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end}");Xat=Xat.join("");Qvo.exports={uuid:"da83bf21-2cac-48eb-b7b9-9101d19ec330",locals:{main:"main_bqqhB",content:"content_JHnHb",lib:"lib_xs-sB",category:"category_pTBUO",info:"info_nHht1",pagination:"pagination_U569V"},toString(){return Xat}}});var UHt=xe((G8u,BDo)=>{var Rk=[];Rk.push(".redFont_c70Pd{color:red!important}.ftp-op-resize-normal_8IR4L{background-image:");Rk.push("url(");Rk.push(JSON.stringify(qQ()));Rk.push(")");Rk.push("}.ftp-op-resize-full_BSM8Y,.ftp-op-resize-normal_8IR4L{background-position:0 0;background-size:100% 100%}.ftp-op-resize-full_BSM8Y{background-image:");Rk.push("url(");Rk.push(JSON.stringify(XQ()));Rk.push(")");Rk.push("}.preview-check-btn_QOz5V{-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;height:22px;min-width:auto!important;padding:0;text-align:center;vertical-align:middle;width:22px}.selected_SWR5O{border:1px solid #1890ff;color:#1890ff}");Rk=Rk.join("");BDo.exports={uuid:"f66ad6e8-df26-4675-858d-6abf403a1924",locals:{redFont:"redFont_c70Pd","ftp-op-resize-normal":"ftp-op-resize-normal_8IR4L","ftp-op-resize-full":"ftp-op-resize-full_BSM8Y","preview-check-btn":"preview-check-btn_QOz5V",selected:"selected_SWR5O"},toString(){return Rk}}});var ZDo=xe((a7u,ftn)=>{ftn.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBpZD0i6Lev5b6EXzk5XzJfIiBmaWxsPSIjRkE4QzE2IiBkPSJNNy45OTUsMWMtMy44NjYsMC03LDMuMTM0LTcsN3MzLjEzNCw3LDcsN3M3LTMuMTM0LDctN2wwLDAKCQlDMTQuOTk1LDQuMTM0LDExLjg2MSwxLDcuOTk1LDF6IE03Ljk5NSwxMS44ODljLTAuNDMsMC0wLjc3OC0wLjM0OC0wLjc3OC0wLjc3OHMwLjM0OC0wLjc3OCwwLjc3OC0wLjc3OAoJCWMwLjQzLDAsMC43NzgsMC4zNDgsMC43NzgsMC43NzhsMCwwQzguNzczLDExLjU0MSw4LjQyNSwxMS44ODksNy45OTUsMTEuODg5eiBNOC43MzYsOC43NzVDOC43MDksOS4xNzQsOC4zOTksOS40OTYsOC4wMDEsOS41MzkKCQljMC4wMjcsMC4wMDcsMC4wNTUsMC4wMTIsMC4wODMsMC4wMTZINy45MjdjMC4wMjgsMCwwLjA1My0wLjAxNCwwLjA4LTAuMDE2QzcuNjA5LDkuNDk5LDcuMyw5LjE3NSw3LjI4LDguNzc1TDcuMTAyLDQuODkKCQlDNy4wODEsNC40ODEsNy4zOTYsNC4xMzIsNy44MDUsNC4xMTFDNy44Miw0LjExLDcuODM0LDQuMTEsNy44NDksNC4xMWgwLjM1OUM4LjYxLDQuMTAyLDguOTQzLDQuNDIxLDguOTUxLDQuODIzCgkJYzAsMC4wMjIsMCwwLjA0NS0wLjAwMiwwLjA2N0w4LjczNiw4Ljc3NXoiLz4KPC9nPgo8L3N2Zz4K"});var qDo=xe((s7u,JDo)=>{var _k=[];_k.push(".tab-container_usfqJ{background:var(--bg-color-panel-tabs);position:absolute;z-index:2}.tab-container_usfqJ .scroll-tabs-wrap_TS97J{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;overflow-x:hidden;overflow-y:hidden;-webkit-box-flex:initial!important;-webkit-flex-grow:initial!important;-moz-box-flex:initial!important;flex-grow:0!important}.tab-container_usfqJ .scroll-tabs-wrap_TS97J::-webkit-scrollbar{height:1px}.tab-container_usfqJ.top_-aUCE{left:0;top:0;width:100%}.tab-container_usfqJ.top_-aUCE.head_pTgnJ .tab-container-body_wmbNj{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row}.tab-container_usfqJ.top_-aUCE.tail_2O3p2 .tab-container-body_wmbNj{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;flex-direction:row-reverse}.tab-container_usfqJ.top_-aUCE .tab-pin_o3bJ-{background-color:var(--bg-color-tabs);border-bottom:1px solid var(--border-color-panel-tab)}.tab-container_usfqJ.top_-aUCE .tabs-body_8FAgr{max-width:100%}.tab-container_usfqJ.top_-aUCE .has-tab-pin_pH5hi .tabs-body_8FAgr{max-width:-webkit-calc(100% - 24px);max-width:-moz-calc(100% - 24px);max-width:calc(100% - 24px)}.tab-container_usfqJ.bottom_hgaSp{bottom:0;left:0;width:100%}.tab-container_usfqJ.bottom_hgaSp.head_pTgnJ .tab-container-body_wmbNj{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row}.tab-container_usfqJ.bottom_hgaSp.tail_2O3p2 .tab-container-body_wmbNj{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;flex-direction:row-reverse}.tab-container_usfqJ.bottom_hgaSp .tab-pin_o3bJ-{background-color:var(--bg-color-tabs);border-top:1px solid var(--border-color-panel-tab)}.tab-container_usfqJ.bottom_hgaSp .tabs-body_8FAgr{max-width:100%}.tab-container_usfqJ.bottom_hgaSp .has-tab-pin_pH5hi .tabs-body_8FAgr{max-width:-webkit-calc(100% - 24px);max-width:-moz-calc(100% - 24px);max-width:calc(100% - 24px)}.tab-container_usfqJ.left_rjzXU{height:100%;left:0;top:0}.tab-container_usfqJ.left_rjzXU.head_pTgnJ .tab-container-body_wmbNj{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.tab-container_usfqJ.left_rjzXU.tail_2O3p2 .tab-container-body_wmbNj{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.tab-container_usfqJ.left_rjzXU .tab-pin_o3bJ-{background-color:var(--bg-color-tabs);border-right:1px solid var(--border-color-panel-tab)}.tab-container_usfqJ.left_rjzXU .tabs-body_8FAgr{max-height:100%}.tab-container_usfqJ.left_rjzXU .has-tab-pin_pH5hi .tabs-body_8FAgr{max-height:-webkit-calc(100% - 24px);max-height:-moz-calc(100% - 24px);max-height:calc(100% - 24px)}.tab-container_usfqJ.right_cJRjp{height:100%;right:0;top:0}.tab-container_usfqJ.right_cJRjp.head_pTgnJ .tab-container-body_wmbNj{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.tab-container_usfqJ.right_cJRjp.tail_2O3p2 .tab-container-body_wmbNj{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.tab-container_usfqJ.right_cJRjp .tab-pin_o3bJ-{background-color:var(--bg-color-tabs);border-left:1px solid var(--border-color-panel-tab)}.tab-container_usfqJ.right_cJRjp .tabs-body_8FAgr{max-height:100%}.tab-container_usfqJ.right_cJRjp .has-tab-pin_pH5hi .tabs-body_8FAgr{max-height:-webkit-calc(100% - 24px);max-height:-moz-calc(100% - 24px);max-height:calc(100% - 24px)}.tab-container_usfqJ .tab-container-body_wmbNj{height:100%;position:relative;width:100%}.tab-container_usfqJ .tab-container-body_wmbNj,.tab-container_usfqJ .tab-pin_o3bJ-{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.tab-container_usfqJ .tab-pin_o3bJ-{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background-color:#f0f0f0;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;-webkit-flex-shrink:0;flex-shrink:0}.tab-container_usfqJ .tab-pin_o3bJ- .icon-eda-no-fixed_epZzS{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);transform:rotate(90deg)}.tab-container_usfqJ .tab-pin_o3bJ- .icon-eda-fixed_-MQTO,.tab-container_usfqJ .tab-pin_o3bJ- .icon-eda-no-fixed_epZzS{background-image:");_k.push("url(");_k.push(JSON.stringify(vpt()));_k.push(")");_k.push(";background-repeat:no-repeat;background-size:12px 12px;display:inline-block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:12px;width:12px}.tab-container_usfqJ .tab-msgs_xzLTb{background:");_k.push("url(");_k.push(JSON.stringify(ZDo()));_k.push(")");_k.push(";border-radius:50%;height:12px;width:12px}.tab-container_usfqJ .animateIcon_ARYb-{-webkit-animation:animateIcon_ARYb- 1s infinite;-moz-animation:animateIcon_ARYb- 1s infinite;animation:animateIcon_ARYb- 1s infinite}@-webkit-keyframes animateIcon_ARYb-{0%{opacity:1}50%{opacity:.5}to{opacity:0}}@-moz-keyframes animateIcon_ARYb-{0%{opacity:1}50%{opacity:.5}to{opacity:0}}@keyframes animateIcon_ARYb-{0%{opacity:1}50%{opacity:.5}to{opacity:0}}.tab-container_usfqJ .tabs-body_8FAgr{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}");_k=_k.join("");JDo.exports={uuid:"be059af0-7cb8-434c-9c01-c1aff381cec3",locals:{"tab-container":"tab-container_usfqJ","scroll-tabs-wrap":"scroll-tabs-wrap_TS97J",top:"top_-aUCE",head:"head_pTgnJ","tab-container-body":"tab-container-body_wmbNj",tail:"tail_2O3p2","tab-pin":"tab-pin_o3bJ-","tabs-body":"tabs-body_8FAgr","has-tab-pin":"has-tab-pin_pH5hi",bottom:"bottom_hgaSp",left:"left_rjzXU",right:"right_cJRjp","icon-eda-no-fixed":"icon-eda-no-fixed_epZzS","icon-eda-fixed":"icon-eda-fixed_-MQTO","tab-msgs":"tab-msgs_xzLTb",animateIcon:"animateIcon_ARYb-"},toString(){return _k}}});var $Do=xe((l7u,XDo)=>{var Tst=[];Tst.push(".sub_tabbar_wrap_eWZiD{background:transparent;bottom:0;color:#333;font-family:Microsoft YaHei;font-size:12px;position:absolute;width:100%}.sub_tabbar_cnAV4{background:var(--bg-color-canvas-info);border:1px solid var(--common-border-color-2);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:24px}.sub_tabbar_cnAV4 .tabs_ifHe6{overflow-x:hidden;overflow-y:hidden;scrollbar-width:thin;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.sub_tabbar_cnAV4 .tabs_ifHe6,.sub_tabbar_cnAV4 .tabs_ifHe6 .sub_tab_g-5Xt{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%}.sub_tabbar_cnAV4 .tabs_ifHe6 .sub_tab_g-5Xt{background-color:var(--bg-color-tab);padding:0 8px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;border-right:1px solid var(--common-border-color-2);color:var(--font-color-tab);cursor:pointer;white-space:nowrap}.sub_tabbar_cnAV4 .tabs_ifHe6 .active_tab_BETKQ{background:var(--bg-color-selected-tr);color:var(--common-selected-font-color)}.sub_tabbar_cnAV4 .tabs_ifHe6 .icon_-qsWC{height:16px;margin-right:8px;width:16px}.scroll_wrap_B5kwV{width:100%}.range_bar_wrap_QUZT8,.scroll_wrap_B5kwV{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.range_bar_wrap_QUZT8{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background-color:transparent;height:24px}.range_bar_wrap_QUZT8::-webkit-scrollbar{height:1px}.range_bar_wrap_QUZT8 .range_bar_xHoxt{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.range_bar_wrap_QUZT8 .range_bar_xHoxt,.range_bar_wrap_QUZT8 .range_bar_xHoxt .range_tab_5qj5P{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.range_bar_wrap_QUZT8 .range_bar_xHoxt .range_tab_5qj5P{background-color:var(--bg-color-reuseTab);border:1px solid var(--common-border-color-2);border-radius:2px;cursor:pointer;height:20px;margin-left:5px;padding:0 5px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:var(--common-font-color)}.range_bar_wrap_QUZT8 .range_bar_xHoxt .active_range_number_sHsEB{border-color:#1890ff;color:#1890ff}");Tst=Tst.join("");XDo.exports={uuid:"13b6367c-c866-40bd-8abc-3b5386fe3d3e",locals:{sub_tabbar_wrap:"sub_tabbar_wrap_eWZiD",sub_tabbar:"sub_tabbar_cnAV4",tabs:"tabs_ifHe6",sub_tab:"sub_tab_g-5Xt",active_tab:"active_tab_BETKQ",icon:"icon_-qsWC",scroll_wrap:"scroll_wrap_B5kwV",range_bar_wrap:"range_bar_wrap_QUZT8",range_bar:"range_bar_xHoxt",range_tab:"range_tab_5qj5P",active_range_number:"active_range_number_sHsEB"},toString(){return Tst}}});var dEo=xe((kku,cEo)=>{var vst=[];vst.push(".sheet-apply-scope_7AOOP .messages_b40Es{line-height:20px;min-height:0;padding-left:25px}.sheet-apply-scope_7AOOP .messager-icon_Vv-E2{background-position:top;background-repeat:no-repeat;background-size:auto 100%;height:20px;position:absolute;width:20px}.sheet-apply-scope_7AOOP .item_MPrSJ{margin:10px 24px}.sheet-apply-scope_7AOOP .item_MPrSJ .info_Z9RlS{color:#a7a6a6;margin-left:18px;margin-top:8px}.sheet-apply-scope_7AOOP .item_MPrSJ label,.sheet-apply-scope_7AOOP .pointer_P13dz{cursor:pointer}");vst=vst.join("");cEo.exports={uuid:"6b69e5b6-c556-4b3e-81db-85b05ac61203",locals:{"sheet-apply-scope":"sheet-apply-scope_7AOOP",messages:"messages_b40Es","messager-icon":"messager-icon_Vv-E2",item:"item_MPrSJ",info:"info_Z9RlS",pointer:"pointer_P13dz"},toString(){return vst}}});var FEo=xe((Y_u,zEo)=>{var Ost=[];Ost.push(".associateDeviceModules_3jK-x{height:100%;width:100%}.associateDeviceModules_3jK-x .device-manager-btn_hIWRL{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;overflow:hidden;padding:8px 4px;position:relative;width:100%}.associateDeviceModules_3jK-x .device-manager-btn_hIWRL span{display:inline-block}.associateDeviceModules_3jK-x .icon-eda-refresh-w_-mME4{height:12px;position:absolute;right:0;top:10px;width:12px}.associateDeviceModules_3jK-x .icon-eda-link-filter_6OU5i{-webkit-filter:invert(29%) sepia(62%) saturate(2801%) hue-rotate(108deg) brightness(96%) contrast(107%);filter:invert(29%) sepia(62%) saturate(2801%) hue-rotate(108deg) brightness(96%) contrast(107%);margin:0 8px}.associateDeviceModules_3jK-x .icon-eda-unlink-filter_Ew9Pe{-webkit-filter:invert(24%) sepia(70%) saturate(4941%) hue-rotate(346deg) brightness(91%) contrast(104%);filter:invert(24%) sepia(70%) saturate(4941%) hue-rotate(346deg) brightness(91%) contrast(104%)}.associateDeviceModules_3jK-x .icon-eda-unlink-filter_Ew9Pe.disabled_86jkW{-webkit-filter:invert(97%) sepia(100%) saturate(5323%) hue-rotate(290deg) brightness(98%) contrast(120%);filter:invert(97%) sepia(100%) saturate(5323%) hue-rotate(290deg) brightness(98%) contrast(120%)}");Ost=Ost.join("");zEo.exports={uuid:"d1b25b76-3e6c-4bd7-9647-26cb61e3e3c7",locals:{associateDeviceModules:"associateDeviceModules_3jK-x","device-manager-btn":"device-manager-btn_hIWRL","icon-eda-refresh-w":"icon-eda-refresh-w_-mME4","icon-eda-link-filter":"icon-eda-link-filter_6OU5i","icon-eda-unlink-filter":"icon-eda-unlink-filter_Ew9Pe",disabled:"disabled_86jkW"},toString(){return Ost}}});var bDe=xe((Kju,KEo)=>{var _st=[];_st.push(".netlist-comparsion-container_uwBai{height:100%;padding:8px;width:100%}.import-container_aeBDK{width:100%}.import-container_aeBDK,.import-container_aeBDK .container-left_vEUkH{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.import-container_aeBDK .container-left_vEUkH{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;padding-right:16px;width:-webkit-calc(100% - 32px);width:-moz-calc(100% - 32px);width:calc(100% - 32px);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.import-container_aeBDK .container-left_vEUkH .import-line_hXjZ8{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:8px;width:100%}.import-container_aeBDK .container-left_vEUkH .import-line_hXjZ8 .import-title_n-86n{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:0;-webkit-flex:0 0 48px;-moz-box-flex:0;color:var(--common-font-color);flex:0 0 48px}.import-container_aeBDK .container-left_vEUkH .import-line_hXjZ8 .import-input_X1Lc-{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;flex:1}.import-container_aeBDK .container-left_vEUkH .import-line_hXjZ8 .import-button_uN0sD{border:1px solid var(--border-color-button);border-radius:3px;color:var(--common-font-color);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:24px;width:24px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.import-container_aeBDK .container-right_ST7mX{-webkit-box-flex:0;-webkit-flex:0 0 24px;-moz-box-flex:0;flex:0 0 24px}.checkStatusContainer_ptRI2,.checkStatusContainer_ptRI2 .checkItem_UOrMP,.import-container_aeBDK .container-right_ST7mX{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.checkStatusContainer_ptRI2 .checkItem_UOrMP{margin-right:8px}.compareTable_8cRbO .table-object_N2AB6.hightlight_CTaYx{color:#39f}.compareTable_8cRbO .table-row_SfDFK{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:48px}.compareTable_8cRbO .table-row_SfDFK .table-top-item_SAQcb{display:block;height:24px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compareTable_8cRbO .table-row_SfDFK .table-bottom-item_-SsqF{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;line-height:24px}.compareTable_8cRbO .table-row_SfDFK .table-bottom-item_-SsqF.highlight_Z4o6x{color:#39f}.compareTable_8cRbO .table-row_SfDFK .table-bottom-item_-SsqF .table-item-summary_otlo6{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;line-height:24px;margin-right:5px}.compareTable_8cRbO .table-row_SfDFK .table-bottom-item_-SsqF .table-item-detail_Rs78b{color:#39f;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;line-height:24px;position:relative}.compareTable_8cRbO .table-row_SfDFK .table-bottom-item_-SsqF .link_8pCGa{padding:0}");_st=_st.join("");KEo.exports={uuid:"bb85f06b-ca92-441d-97c2-979929f9add7",locals:{"netlist-comparsion-container":"netlist-comparsion-container_uwBai","import-container":"import-container_aeBDK","container-left":"container-left_vEUkH","import-line":"import-line_hXjZ8","import-title":"import-title_n-86n","import-input":"import-input_X1Lc-","import-button":"import-button_uN0sD","container-right":"container-right_ST7mX",checkStatusContainer:"checkStatusContainer_ptRI2",checkItem:"checkItem_UOrMP",compareTable:"compareTable_8cRbO","table-object":"table-object_N2AB6",hightlight:"hightlight_CTaYx","table-row":"table-row_SfDFK","table-top-item":"table-top-item_SAQcb","table-bottom-item":"table-bottom-item_-SsqF",highlight:"highlight_Z4o6x","table-item-summary":"table-item-summary_otlo6","table-item-detail":"table-item-detail_Rs78b",link:"link_8pCGa"},toString(){return _st}}});var $Eo=xe((HBu,XEo)=>{var Bst=[];Bst.push(".popover_nAN-K{background-color:var(--common-bg-color);border-radius:2px;box-shadow:0 3px 6px -4px rgba(0,0,0,.122),0 6px 16px rgba(0,0,0,.078),0 9px 28px 8px rgba(0,0,0,.051);font-family:Microsoft YaHei;max-width:600px;min-width:300px;position:absolute;-webkit-transform:translate(-60%,-140%);-moz-transform:translate(-60%,-140%);transform:translate(-60%,-140%);-webkit-user-select:text!important;-moz-user-select:text!important;user-select:text!important;z-index:99}.popover_nAN-K,.popover_nAN-K .title_ePg2p{-moz-box-sizing:border-box;box-sizing:border-box}.popover_nAN-K .title_ePg2p{background-color:var(--common-bg-color-1);border-bottom:1px solid var(--common-border-color);color:var(--common-font-color);font-size:12px;font-weight:700;height:28px;line-height:24px;padding-left:16px}.popover_nAN-K .container_8OOxF{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-size:14px;padding:10px 16px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-moz-box-sizing:border-box;box-sizing:border-box;flex-direction:row;-webkit-flex-wrap:wrap;flex-wrap:wrap;height:auto;line-height:1.5;max-height:100px;overflow:auto}.popover_nAN-K .detailDiv_qSQEC{display:inline-block!important}.popover_nAN-K .closeicon_DREjU{cursor:pointer;position:absolute;right:14px}.popover_nAN-K .clickDiv_Lk-xv{height:100%}");Bst=Bst.join("");XEo.exports={uuid:"c15680e3-b736-4f8c-bea0-1e7064c94cb5",locals:{popover:"popover_nAN-K",title:"title_ePg2p",container:"container_8OOxF",detailDiv:"detailDiv_qSQEC",closeicon:"closeicon_DREjU",clickDiv:"clickDiv_Lk-xv"},toString(){return Bst}}});var P8o=xe((RVu,k8o)=>{var ste=[];ste.push('.icon-eda-x-circle_MA2Wl.clear-input-circle_2JqZx{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.btns_56UHo{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;line-height:normal;overflow:visible;overflow:initial}.btns_56UHo [data-name=toolbarbutton]{-moz-box-sizing:border-box;box-sizing:border-box;height:32px;padding:4px;position:relative;width:32px}.btns_56UHo [data-name=toolbarbutton][data-disabled=true]>div:first-child~*{pointer-events:none}.btns_56UHo [data-name=toolbarbutton][data-disabled=true]>[data-button-icon=true]{cursor:auto;-webkit-filter:var(--icon-color-sch-table-disabled);filter:var(--icon-color-sch-table-disabled)}.btns_56UHo [data-name=toolbarbutton][data-disabled=true]>[class^=table-setting-]{-webkit-clip-path:polygon(0 0)!important;clip-path:polygon(0 0)!important}.btns_56UHo [data-name=toolbarbutton][data-cmd=showBorderDropDownBox]:before{background-color:var(--table-setting-border-color);bottom:5px;content:"";height:2px;left:50%;position:absolute;-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%);width:16px}.btns_56UHo [data-name=toolbarbutton][data-cmd=showAlignLeftDropDownBox]>[data-icon-class=dropdown-icon],.btns_56UHo [data-name=toolbarbutton][data-cmd=showAlignTopDropDownBox]>[data-icon-class=dropdown-icon],.btns_56UHo [data-name=toolbarbutton][data-cmd=showBorderDropDownBox]>[data-icon-class=dropdown-icon]{color:var(--common-font-color);cursor:pointer;height:100%;position:absolute;right:-2px;top:0;width:6px}.btns_56UHo [data-name=toolbarbutton][data-cmd=showAlignLeftDropDownBox]>[data-icon-class=dropdown-icon]:hover,.btns_56UHo [data-name=toolbarbutton][data-cmd=showAlignTopDropDownBox]>[data-icon-class=dropdown-icon]:hover,.btns_56UHo [data-name=toolbarbutton][data-cmd=showBorderDropDownBox]>[data-icon-class=dropdown-icon]:hover{color:#1890ff}.btns_56UHo [data-name=toolbarbutton][data-cmd=showAlignLeftDropDownBox]>[data-icon-class=dropdown-icon]:after,.btns_56UHo [data-name=toolbarbutton][data-cmd=showAlignTopDropDownBox]>[data-icon-class=dropdown-icon]:after,.btns_56UHo [data-name=toolbarbutton][data-cmd=showBorderDropDownBox]>[data-icon-class=dropdown-icon]:after{border:3px solid transparent;border-top-color:currentcolor;content:"";display:block;height:0;left:0;position:absolute;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);transform:translateY(-50%);width:0}.btns_56UHo [data-button-icon=true]{background-position:50%;cursor:pointer;height:100%;position:relative;width:100%}.btns_56UHo [data-button-icon=true][data-cmd=showBorderDropDownBox]{background-color:var(--common-font-color)}.align-option_EgB-R{border-radius:3px}.align-option_EgB-R.selected_PR-on{border:1px solid #1890ff;-webkit-filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%);filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%)}.border-option_-lYV3{border:1px solid transparent;border-radius:3px;-moz-box-sizing:border-box;box-sizing:border-box;height:26px;margin:1px;width:26px}.border-option_-lYV3>div[data-icon]{background-color:#333;background-position:50%;background-size:18px 18px;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:100%;width:100%}.border-option_-lYV3.selected_PR-on{border-color:#1890ff}.border-option_-lYV3.selected_PR-on>div[data-icon]{background-color:#1890ff;-webkit-filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%)!important;filter:invert(43%) sepia(95%) saturate(1962%) hue-rotate(190deg) brightness(99%) contrast(105%)!important}.border-color-picker_n9BF- *{cursor:auto}.icon-eda-refresh-1_jFnGl{background-image:');ste.push("url(");ste.push(JSON.stringify(R8e()));ste.push(")");ste.push(";background-repeat:no-repeat;background-size:12px 12px}.icon-eda-refresh-1_jFnGl,.iconColor_ALaIF{-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}");ste=ste.join("");k8o.exports={uuid:"bf8b6971-b9c4-42f1-a094-901a9e4ca3f4",locals:{"icon-eda-x-circle":"icon-eda-x-circle_MA2Wl","clear-input-circle":"clear-input-circle_2JqZx",btns:"btns_56UHo","align-option":"align-option_EgB-R",selected:"selected_PR-on","border-option":"border-option_-lYV3","border-color-picker":"border-color-picker_n9BF-","icon-eda-refresh-1":"icon-eda-refresh-1_jFnGl",iconColor:"iconColor_ALaIF"},toString(){return ste}}});var iYt=xe((hKu,non)=>{non.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/eda-symbol-wizard-dip-2WLNLXGW.svg"});var oYt=xe((fKu,aon)=>{aon.exports="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/eda-symbol-wizard-qfp-QDNWH4QP.svg"});var SAo=xe((gKu,TAo)=>{var Vk=[];Vk.push(".container_o0bmh{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;gap:16px}.container_o0bmh .grid_O8Dy4{border:1px solid var(--common-border-color);display:grid;grid-template-columns:1fr 1fr;width:100%}.container_o0bmh .grid_O8Dy4 .item_K73gQ{-moz-box-sizing:border-box;box-sizing:border-box;padding:40%}.container_o0bmh .grid_O8Dy4 .item_K73gQ.sop_hzjmE{background:");Vk.push("url(");Vk.push(JSON.stringify(iYt()));Vk.push(")");Vk.push(" 50%/80% 80% no-repeat;border-bottom:1px solid var(--common-border-color);border-right:1px solid var(--common-border-color)}.container_o0bmh .grid_O8Dy4 .item_K73gQ.qfn_xXAOz{background:");Vk.push("url(");Vk.push(JSON.stringify(oYt()));Vk.push(")");Vk.push(" 50%/80% 80% no-repeat;border-bottom:1px solid var(--common-border-color)}.container_o0bmh .grid_O8Dy4 .item_K73gQ:hover{background-color:#e6f7ff!important;cursor:pointer}");Vk=Vk.join("");TAo.exports={uuid:"ca3784f1-fee3-4c61-bc89-8d96eae228a6",locals:{container:"container_o0bmh",grid:"grid_O8Dy4",item:"item_K73gQ",sop:"sop_hzjmE",qfn:"qfn_xXAOz"},toString(){return Vk}}});var KAo=xe((fqu,QAo)=>{var rlt=[];rlt.push(".border-bottom_OCzWw{border-bottom:1px solid var(--common-border-color-1);padding-bottom:4px;padding-top:0}.form-item_-uBCM{padding:4px 0}.form-item_-uBCM,.label_t3Kv4{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.label_t3Kv4{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;gap:5px;justify-content:center}");rlt=rlt.join("");QAo.exports={uuid:"e680fc61-d6f4-4c16-b2d3-797c43690312",locals:{"border-bottom":"border-bottom_OCzWw","form-item":"form-item_-uBCM",label:"label_t3Kv4"},toString(){return rlt}}});var qAo=xe((Dqu,JAo)=>{var nlt=[];nlt.push(".icon-eda-x-circle_5JgWQ.clear-input-circle_9GmEX{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.gray-dialog-border_uBZL5{border:1px solid var(--common-border-color);padding:16px}.gray-dialog-border_uBZL5 .grid-area_m-uLD{grid-template-columns:72px 1fr;grid-row-gap:0;display:grid;row-gap:0}.gray-dialog-border_uBZL5 .grid-area_m-uLD>:nth-child(odd){display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding-right:8px;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.gray-dialog-border_uBZL5 .grid-area_m-uLD>:nth-child(2n)>*{width:100%}.gray-dialog-border_uBZL5 .grid-area_m-uLD>* textarea{height:auto;padding:4px 8px}.gray-dialog-border_uBZL5 .grid-area_m-uLD .title_QPH1v{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.gray-dialog-border_uBZL5 .grid-area_m-uLD .title_QPH1v .title-prefix_DFXZN{background-color:var(--bg-color-disabled-input);border:1px solid var(--border-color-disabled-input);border-radius:2px 0 0 2px;border-right:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-disabled-input);-webkit-flex-shrink:0;flex-shrink:0;height:24px;line-height:24px;max-width:50%;overflow:hidden;padding:0 8px;text-align:center;text-overflow:ellipsis;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}");nlt=nlt.join("");JAo.exports={uuid:"bc387524-b7fd-4c8b-9122-337702a7dd1b",locals:{"icon-eda-x-circle":"icon-eda-x-circle_5JgWQ","clear-input-circle":"clear-input-circle_9GmEX","gray-dialog-border":"gray-dialog-border_uBZL5","grid-area":"grid-area_m-uLD",title:"title_QPH1v","title-prefix":"title-prefix_DFXZN"},toString(){return nlt}}});var tNo=xe((Jqu,eNo)=>{var ute=[];ute.push(".icon-right-div_2zt51{line-height:20px;min-height:100px;padding-left:25px}.messager-info2_UV7Px{background-image:");ute.push("url(");ute.push(`"data:image/svg+xml;utf8,<svg version='1.0' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 16 16' enable-background='new 0 0 16 16' xml:space='preserve'><g id='aaa'> <g> <path d='M8,0C3.58,0,0,3.58,0,8c0,4.42,3.58,8,8,8s8-3.58,8-8C16,3.58,12.42,0,8,0z M8,15c-3.86,0-7-3.14-7-7s3.14-7,7-7 s7,3.14,7,7S11.86,15,8,15z'/> </g> <circle cx='8' cy='4' r='0.75'/> <path d='M8,12L8,12c-0.345,0-0.625-0.28-0.625-0.625v-4.75C7.375,6.28,7.655,6,8,6h0c0.345,0,0.625,0.28,0.625,0.625v4.75 C8.625,11.72,8.345,12,8,12z'/></g><g id='bbb'></g></svg>"`);ute.push(")");ute.push(";-webkit-filter:invert(45%) sepia(43%) saturate(5169%) hue-rotate(193deg) brightness(91%) contrast(103%);filter:invert(45%) sepia(43%) saturate(5169%) hue-rotate(193deg) brightness(91%) contrast(103%)}.messager-icon_DfVGn{background-position:top;background-repeat:no-repeat;background-size:auto 100%;height:20px;position:absolute;width:20px}");ute=ute.join("");eNo.exports={uuid:"16b852c2-b0d9-455b-bed3-57e9da4c0f4b",locals:{"icon-right-div":"icon-right-div_2zt51","messager-info2":"messager-info2_UV7Px","messager-icon":"messager-icon_DfVGn"},toString(){return ute}}});var rNo=xe((aXu,oNo)=>{var pte=[];pte.push(".tab-wrap_YiFbK{border-bottom:1px solid var(--common-border-color)}@-webkit-keyframes rotation_Loni9{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}.rotation_Loni9{animation:rotation_Loni9 1.4s linear infinite;-moz-animation:rotation_Loni9 1.4s linear infinite;-webkit-animation:rotation_Loni9 1.4s linear infinite;-o-animation:rotation_Loni9 1.4s linear infinite;-webkit-transform:rotate(1turn)}.icon-eda-loading_slj4m{background-image:");pte.push("url(");pte.push(JSON.stringify(ZF()));pte.push(")");pte.push(";background-repeat:no-repeat;background-size:100%;display:block;height:100%;width:100%}.redFont_hCK1R{color:red}.blueFont_mnMT8{color:#1606ff}.dialog-content_6GcCm{height:523px;overflow:hidden}.tabContainer_FWAWv{border-bottom:1px solid var(--common-border-color);border-left:1px solid var(--common-border-color);border-right:1px solid var(--common-border-color);min-height:300px;padding:8px 16px 16px}.tabContainer_FWAWv .tips_GinLA{display:none;margin-bottom:8px}.tabContainer_FWAWv .tips_GinLA a{text-decoration:none}.tabContainer_FWAWv .filterContainer_pzJs0{margin-bottom:8px}.tabContainer_FWAWv .filterContainer_pzJs0,.tabContainer_FWAWv .filterContainer_pzJs0 .filterEl_IPQNY{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.tabContainer_FWAWv .filterContainer_pzJs0 .filterEl_IPQNY{position:relative}.tabContainer_FWAWv .filterContainer_pzJs0 .filterEl_IPQNY input{padding-right:44px}.tabContainer_FWAWv .filterContainer_pzJs0 .filterEl_IPQNY .text_GigW9{margin-right:4px}.tabContainer_FWAWv .filterContainer_pzJs0 .filterEl_IPQNY .icon_pLDeZ.searchIcon_KQMPL{cursor:pointer;height:12px;position:absolute;right:8px;top:5px;width:12px}.tabContainer_FWAWv .filterContainer_pzJs0 .filterEl_IPQNY .icon_pLDeZ.comm-fittinginput-clear_Zkh9a{cursor:pointer;height:12px;position:absolute;right:25px;top:4px;width:12px}.tabContainer_FWAWv .filterContainer_pzJs0 .filterEl_IPQNY.el1_OIRpj,.tabContainer_FWAWv .filterContainer_pzJs0 .filterEl_IPQNY.el2_ovTZI{margin-right:8px}.tabContainer_FWAWv .tableContainer_brRz6{height:491px;width:100%}.tabContainer_FWAWv .tableContainer_brRz6 .window-loading_-384q{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:9999}.tabContainer_FWAWv .tableContainer_brRz6 .pagination_8q43C{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;justify-content:flex-end;padding-top:16px}");pte=pte.join("");oNo.exports={uuid:"cab3b267-77b5-4026-aa19-ecfba392e992",locals:{"tab-wrap":"tab-wrap_YiFbK",rotation:"rotation_Loni9","icon-eda-loading":"icon-eda-loading_slj4m",redFont:"redFont_hCK1R",blueFont:"blueFont_mnMT8","dialog-content":"dialog-content_6GcCm",tabContainer:"tabContainer_FWAWv",tips:"tips_GinLA",filterContainer:"filterContainer_pzJs0",filterEl:"filterEl_IPQNY",text:"text_GigW9",icon:"icon_pLDeZ",searchIcon:"searchIcon_KQMPL","comm-fittinginput-clear":"comm-fittinginput-clear_Zkh9a",el1:"el1_OIRpj",el2:"el2_ovTZI",tableContainer:"tableContainer_brRz6","window-loading":"window-loading_-384q",pagination:"pagination_8q43C"},toString(){return pte}}});var aNo=xe((dXu,nNo)=>{var mte=[];mte.push(".mulMigrateSymbolDlg-wrap_RW2FR table td{padding-bottom:16px}.mulMigrateSymbolDlg-wrap_RW2FR table td input.names_jk5dh{width:81%}.mulMigrateSymbolDlg-wrap_RW2FR table td .radioGroup_1SPmo{margin-bottom:8px}.mulMigrateSymbolDlg-wrap_RW2FR table td .radioGroup_1SPmo>label{margin-right:8px}.mulMigrateSymbolDlg-wrap_RW2FR table td .tips_cxnIn{color:red}.mulMigrateSymbolDlg-wrap_RW2FR table td.label_AhyhD{padding-right:16px;text-align:left}.mulMigrateSymbolDlg-wrap_RW2FR table td.importOptionLabel_6t5vs{padding-top:0;vertical-align:top}.mulMigrateSymbolDlg-wrap_RW2FR .table_cK-wo{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;padding:9px 16px;width:100%}.mulMigrateSymbolDlg-wrap_RW2FR .rotateIcon_dtWH8{-webkit-animation:rotateIcon_dtWH8 .5s infinite;-moz-animation:rotateIcon_dtWH8 .5s infinite;animation:rotateIcon_dtWH8 .5s infinite}.mulMigrateSymbolDlg-wrap_RW2FR .create-team-link_Lb5Zp{color:#1890ff;outline:none}.mulMigrateSymbolDlg-wrap_RW2FR .create-team-link_Lb5Zp:visited{color:#1890ff}.mulMigrateSymbolDlg-wrap_RW2FR .create-team-link_Lb5Zp:hover{color:#40a9ff}.mulMigrateSymbolDlg-wrap_RW2FR .icon-eda-refresh_ti2LP{background-image:");mte.push("url(");mte.push(JSON.stringify(FR()));mte.push(")");mte.push(";background-repeat:no-repeat;background-size:100% 100%}@-webkit-keyframes rotateIcon_dtWH8{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-moz-keyframes rotateIcon_dtWH8{0%{-moz-transform:rotate(0deg);transform:rotate(0deg)}25%{-moz-transform:rotate(90deg);transform:rotate(90deg)}50%{-moz-transform:rotate(180deg);transform:rotate(180deg)}75%{-moz-transform:rotate(270deg);transform:rotate(270deg)}to{-moz-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotateIcon_dtWH8{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);transform:rotate(270deg)}to{-webkit-transform:rotate(1turn);-moz-transform:rotate(1turn);transform:rotate(1turn)}}");mte=mte.join("");nNo.exports={uuid:"72f23e0c-c444-4c17-8682-247e546e54b4",locals:{"mulMigrateSymbolDlg-wrap":"mulMigrateSymbolDlg-wrap_RW2FR",names:"names_jk5dh",radioGroup:"radioGroup_1SPmo",tips:"tips_cxnIn",label:"label_AhyhD",importOptionLabel:"importOptionLabel_6t5vs",table:"table_cK-wo",rotateIcon:"rotateIcon_dtWH8","create-team-link":"create-team-link_Lb5Zp","icon-eda-refresh":"icon-eda-refresh_ti2LP"},toString(){return mte}}});var pNo=xe((G$u,uNo)=>{var Gy=[];Gy.push(".icon-eda-x-circle_CDVBN.clear-input-circle_8tEyn{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.container_RfDmb{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;border:1px solid var(--common-border-color);flex-direction:column;padding:16px;row-gap:16px}.container_RfDmb,.container_RfDmb .line_NpgAt{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.container_RfDmb .line_NpgAt{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-column-gap:16px;-moz-column-gap:16px;column-gap:16px}.container_RfDmb .line_NpgAt .left_2-PoY{-webkit-flex-shrink:0;flex-shrink:0;width:120px}.container_RfDmb .line_NpgAt .right_pG3QP{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;gap:16px}.container_RfDmb .line_NpgAt .right_pG3QP label{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.container_RfDmb .line_NpgAt .right_pG3QP .item_pddha{gap:8px}.container_RfDmb .line_NpgAt .right_pG3QP .item_pddha,.container_RfDmb .preview-control_iOtKV{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.container_RfDmb .preview-control_iOtKV{gap:16px}.container_RfDmb .preview_nmBta{background-size:cover;height:48px;width:48px}.container_RfDmb .preview_nmBta[data-value=horizontal_vertical]{background-image:");Gy.push("url(");Gy.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAFSElEQVR4Xu3d23bbMAxE0fj/P9pdcesmcSSLF4AcAKevlShquBcJ0k5yu9/v9w/+kYBxAjdgGSdKc48EgAUElwSA5RIrjQILAy4JAMslVhoFFgZcEgCWS6w0CiwMuCRgC+t2++ok564uAxalUT9YzwQAFsWCaT9tYT2OXL/NWt+7CjDTgVNvzB7W840Bpj72rv3zgwUw14FTb9wfFsDUDbj0bx0sgLkMoGqj62EBTNWCab/2wQKY6UCqNbYfFsDUTJj0pw3W2dGBSReuGzk5Gbu+kStcEmj5NjuwXKLP3agdrHcn6s4ZMls5BzzQvC2sgQ403cIJfVNMOy66vYxNC6j/JfO2n9IB1A4rzc+cQfVY4JbDAlTz4O648BXUZx96Zqr1MxagdjjpeqYVqjUzFqC6BnfXxZaofGEBapeR7ufO1lNHD7SvsQDVPbA7b/BAZT9jHaHim6M73Zw+23rpe32Q7YzFD1NIIvo16AcTwMjO793L2sIKEWvtTnrPVOuPG2qPp8Tbr0JlX2NJxEcnDndpEx/PjCTKUjiSWrB7vHZ+1FjBIFh1d+XS57srtEqEdqYT2ImKGmt6+DQb2I0KWJoupnq1o5463Cws/9rMVGzc/LZgXrzzo3hP7lFh6aN4T4ZMERU1VnBkqqiAFRiWMipgBYWlsvOjeA8K6HAbL7TzA1YCWOpLH7vCgMiioaLGCoAsIipgicOKUKSfRcj3sURxRUbFjCWIKurSR/EuiOnZpSyomLGEkGVCBSwRWNlQAUsAVvQinV2hAKJfBW6Qj2dGouO4YSS1yXsyLn3sCidRzN5eARU11qySzvuroAJWJ4yZy7MW6RTvMyom762GihlrEszV7ZWWPor3Kw1G/18ZFTOWEaKr86nP/7f+jXlOXTdrlnMssyj/NlR9pnrGCSxDWBWLdHaFhoCOmgLVz1SYsSbBsfQdBwisCVigOg8PWIOwQPU+OGANwKKeug4NWNcZ/bgCVG2BAastJ86nGnPiHKsjKOqpjrD+XcqMdZEZqPpRPT6B4JfbvtkyL/grWWPDpn8XsE7GiCJ9Di+wDvID1RwqlsKX/Kin5kGxKwSVnaKjWZ/ine9QeQgrX2NRT3mwKn7cACofVGWLd4p0P1Bli3dQ+aMqN2OBag2qUrBAtQ5VGVgU6WtRlYAFqvWoUsNi6dsDKvWuEFR7UaWcsUC1H1U6WNRTGqhSwQKVDqoUsFj6tEClKN5BpYkq9IwFKl1UYWGBShtVSFgU6fqowsECVQxUYWCx9MUBFWZXCKp4qORnLFDFRCUNi3oqLipZWKCKjUoOFktffFByxTuo8qCSmbFAlQuVBCxQ5UO1HRZFek5UW2GBKi+qLbBY+nKD2rIrBFUNVEtnLFDVQbUMFvVULVRLYIGqHipXWCx9NUG5Fu+gqo3KZcYClRCq73+y5X5f2jHT35oMqqVjd/2wg78F9LEImBksivTrcd5yxRGuz444AzOBBaotZPoeuhjYFCyWvr6xlbh6EbBhWKCSYDLeCWdgQ7BANT6ecnc6AeuGRT0lR8OmQ8bAumCBymYMpVsxAtYEi6VPmoJP5yaBDcPyeRtabUlg7Rn6QY8azsCA1TKSYtekgfX4UPFsahQLvUp3tuFqmK1cPoSuMrBp33Oytnrm0rQUpg2RF/tKwAgUsED1NwFjUMCqDssJFLCqwnIGBaxqsBaBAlYVWItBAasCrAxfTa4wTuHeMcsPU4QLng67JcABqVu0tRsGVu3xd3t7YLlFW7thYNUef7e3B5ZbtLUbBlbt8Xd7e2C5RVu7YWDVHn+3t/8DGX31bI4q1T8AAAAASUVORK5CYII="');Gy.push(")");Gy.push("}.container_RfDmb .preview_nmBta[data-value=vertical_horizontal]{background-image:");Gy.push("url(");Gy.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAF90lEQVR4Xu3d0XqjOgyF0eb9Hzrz0QxNSgHLtrax0H8uJ0YYaR1hTNo+ns/n84v/yIBzBh7Acs4o4b4zACwgSDIALElaCQosDEgyACxJWgkKLAxIMgAsSVoJCiwMSDLgC+vxeE2SPVdJsRRBH2vNvsvmt1fuB+tjgsBSENDEBJYmr6mjfqJ63WjoWKlBeFz8FhWwPLKaPMYeKmAlR9F7+UeogNWb2cTH762pWLwnBuF16XuIgOWV3aRxjp4AgZUUhMdln20rXAvLsqNes0FqieeRUWJ8lfaq5oB19rrGCss6DhTdGSihWk4ArO405wpgQXU9rNcM3pXZ2/ovfW6Jkav2squ1ogKWrAT3DBwLVqnjlDpW6fN71nj4VdWgmqNjAWs4ktoT1qKaB9YZrrOORLeqNVI9vgUVsKrTnOuAVlRzwTrqWkddiW4lVd6DCljS0sQO3rvB2Xv8Ufbav/O+7UR7nYluJVXb263m61h7t0NgSRFtg3ugmhPWFtfnlS8783QrGTQvVMCSlSheYE9U88I661przRx/pCgeA98Ze6MClm99QkZToJobVmmtFbKM800aWNtF/Hw1CjcjFar5O9Ze12Jt5QJYiQpYLiWKF0SNKgSsJQk/v1KCbtWteASqMLDeOwx+v7Wku0IBA4xCBayAOHqmrHoxvDcn1bnaX0JvZqmaYE+BIh47slvRsSIKaZjzaFTAaihStEOuQAWsaEoq53sVKmBVFirS8CtRASuSlIq5Xo0KWBXFijQUWIZqsd1gSNLHkBlQ0bHqajb96FlQAWt6KvYJzoQKWPa6TT1yNlTAmpqLbXIzogKWrXZTj5r14UY1L15CD+A4a7eiYw0ovuoUM6MClqrq4rizowKWGIAifARUwFJUXhgzCipgCRF4h46EClje1RfGA9YruWw3OCKLhoqO5Vh8VaiIqICl0uAUNyoqYDkBUISJjApYChEOMaOjApYDAkUI1QtcxVyPYqqugafCxireoVvRsRqLrzrsLqiApRLSEPdOqIDVAEBxyN1QAUuhpDLmHVEBqxKB9/C7ogKWt5TKeMCqTBgvocsJuzMqOla5/pIRd0cFLAmb86AZUAFrMKwsqIA1EFYmVMC6CNYzwR9C4CX0AFzZuhUdC1SyDNCxZKld/nz141f0DLfA9YKBJYKVGRW3QlCJMvC7W3t26rTfIM3eqbgViv5fBdYrsayxHIGB6p1MYDnBAtXvRALLARao/iYRWJ2wQLWfQGB1wALVcfKA5QTLc6+mY0rTHAqsxlLQrc4TB6wGWKAqJw1Y5Rz9GgEqW8KAZcvTn93k5R9YV7F4r+BTfnwGVTmddKxyjlJ/r8qQnt0hwDJkjnWVIUmbIcAq5AxU9aiWI4B1kjdQtaECFqja5VR0es+n59DfIKVT9XvjVniy6GRboR0YsAY9zbSXKOaRwPqoG7dAP8TA+p9LUPmhWp8Kn2tIx99VEWrxDipfVN/RPn8KPCMsUAlQZYcFKhGqzLBAJUQFrHdyPXeHxSWLET7jGotuNcBmNligGoAq260QVINQZYIFqoGossAClTOqdf10tvFZs8ayxFvfkDydHrM83jl5xHAuTexwFjSWMQ2dbZpXOnQrgWELGsuYqLBAJUC1hizBKX3egOr7kKtvhaASorKguCMsUIlRWbpWCVbp84NLuKxjgWoQqlLXKsEpfT4TLFANRFXqWmdwGlFdtsYCFrDMGbDuQYHKnFL/gXsd6KgrdXSr4R0LVP5WqiLeERaoqgjoBm9x1WCrmNWQp0JQVVREPfQusEClltIQf/P3GX8iLC+rO9dWPw+h6p1366K+IT0c0pqB6LDoVq2VH3DcEa711J0/YyhbY4FqAI6eU0SEtb1ep6989aSRY/cycHZL7MyYpGN9zglUnRVSHh4VFqiUKpxib3F1rq2kT4VLcFA5FV4dZnZYy/WztaBWIIpf8UMS1hm4rbGsJ2RcjgwAK0edh18lsIanPMcJgZWjzsOvEljDU57jhMDKUefhVwms4SnPcUJg5ajz8KsE1vCU5zjhP+JbC6gtxmOKAAAAAElFTkSuQmCC"');Gy.push(")");Gy.push("}.container_RfDmb .preview_nmBta[data-value=vertical_horizontal_reverse]{background-image:");Gy.push("url(");Gy.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAPgSURBVHhe7drbjhMxEEXRhP//ZxjDGDoml267qlyXvSTEW0S69xwbae4/v9wAYT++/wZEERZUEBZUEBZUEBZUEBZUEBZUEBZUiIZ1v9///kEg7X0JvzOxsIgpqON7E3yHakchodWmesciLueevR+hd6Z+eSeumlTCGn9hgrgcevdOBN6X2mIRV22qRyG/6uXUqx/y4/taHAL1O9YRq1WHelgcic4cn/+zE0VotUwWi7jqMTsKicuBT2vVCayW6R2LuOowDashrk3OrlW3uFrmYaGGLWGxWsaurlW3sFrbFou4ctt6FBKXgdm16iZXa/sdi7hycnF5Jy4lq2vVTayWi7CaMS7E5iasEaslSOKH9uJnuAqLI1FYe56SJ8GFz3O3WMSVg8ujkLjic3vHIq7Y3IbVEFdcrsNCXO7DYrViCrFYxBVPmKOQuGIJdcciLnlaTzDc5Z245LUnKP0Uw4XVjHHBn5BhjVgtf8KGxZHoW+jFIi6/wh+FxOVTijsWcfmTIqyGuHxJExZ8SRUWq+VHusUiLh9SHoXEtV/aOxZx7ZX68k5c+6QOqxnjgo30YY1YLRslwuJItFdmsYjLVqmjkLjslLtjEZeNcmE1xKWvZFjQVzYsVktX6cUiLj3lj0Li0sEd6wtxySOsb8Qli7AOxrgwj7DeYLXmEdaAI1EGYT1BXOsI6wXiWkNYbxDXPML6gLjmEBZUENYJrNZ1hHUScV1DWBcQ13mEdRFxnUNYE4jrM8KaNMaFR4QlhNV6RFgLOBJfI6xFxPUcYQkgrv8RlhDiekRYgojrH8KCCsISxmr9QVgKiIuw1FSPi7AUVY6LsJRVjYuwDIxxVUBYG1RYLcIyUu1IJCxDleIiLGNV4iKsDSrERVibZI+LsKCCsDbKvFqEtVnWuAjLgYxxEZYT2eIiLEcyxUVYzoxxRUVYzkVdLdGw2s9ajp+3vTIciWJhPTyKBP+r2S16XByFjkWOSyasZ1+Y1RIRNS4WK4CIca2H9e5LslplsVhBRFuttbBefbnjQ2C1xESKi8UKJkpc82Edv9DwZX9jtdREiIvFCsp7XHNhfVqrjtVSNcblCYuViKfVuh7W2bXqWC1VXo9EFisBj3FdC+vqWnWsljpvcbFYiXiK63xYs2vVsVomvMTFYkHFubBW16pjtUx4WC0WK6ndcV0La2WtOonPwCk74zoXVvsHSgYh/Xl4aVdcHIUF7IiLsIoY49JGWEVprxZhFWJ5JBJWMVZHImEVZBEXYRWlHRdhFaYZl1xYRmc3Yrh/VUsREMdRCBWEBRWEBRWEBRWEBRWEBRWEBRWEBQW32y93yJs/5FKtRAAAAABJRU5ErkJggg=="');Gy.push(")");Gy.push("}.container_RfDmb .preview_nmBta[data-value=horizontal_vertical_reverse]{background-image:");Gy.push("url(");Gy.push('"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAP3SURBVHhe7drbbttADEXRuP//z62JZNDGoV1ZIjm87A0EfVQAr0inI99+3/sgMu7X179EpgGLXAIWuQQscglY5BKwyCVgkUvAIpeA1bnb7e9PcMCaUjAwYHVOe1sXBIx3hVN6hsnp4wfWtIKAAWtqzsCANT0nYMCiz4yBAYu+ZwTsMKzbswvSlrbdDQ4CO3SOBapcbX3EHLTAASm5dOhRqN2xmGbNu7i13hrvj8DA1bCLoFZv/68QXE0zArU6ddzAo7FRxqBWp2BJ4CqeE6jVaVgSuArmDGp1CdaK3VWgIFArE1gSuJIWDGplBkvi0ZgsDVXQ52F68q4h0rDRhuSzCfwjN71jrbhzkcu7Qu5c5PYSWnA9AgPXnNy/3QCumYV8bUbDBbDehcCS2F2zCoMlgWtOobAkwcXu6l84rBW4ercNlqThAliPtsKS2F092w5LAle/UsCSwNWrNLAkwaXtLqpXKlgrcNUvJSxJwwWwOqWFJbG76pYalgSumqWHJQkudletSsBagatOpWBJGi6A5ascLIndlb+SsCRw5a4sLAlceSsNSxJc2u6ivZWHtQJXrtrAkjRcANtTK1gSuytH7WBJ4NpfS1iS4GJ37astrBW49tQelqThAphvI2BJ7K7YxsCSwBXXKFgSuGIaB0sSXNruIrtGwlqBy6/RsCQNF8CuNx6WxO6yD1hfgcs2YP2T4GJ32QQsJXBdD1hP0nAB7HjAehG763zA+k/gOhewDgSu9wPWwQSXtrtID1hvBq5jAetEGi6AfQ9YJ2N3vQ5YFwLX84B1McHF7voZsIwC1/eAZZiGayowYBnH7voMWA6BC1huTccFLMcEl7a7JgSsgCbiAlZQGq7OwIAV2KTdBazgpuAC1oYEV/fdBayNdcYFrM1puDoAA1aCOu4uYCWpGy5gJaoTLmAlS3Bpu6tawEpadVzASpyGqwowYCWv6u4CVoEq4gJWkQRXpd0FrGJVwQWsgmm4sgEDVtGy7y5gFS4zLmAVLysuYDVIcGm7a2fAalQmXMBqloZrBzBgNSzD7gJW03bjAlbjBNeu3QWsAe3ABawhabg8gQFrUJG7yxaW/JLrh1IWhcvvjgWwtEXgut0v8vMqV3r2Cxpfhmx6BGXFwR7WCmBl8sDlB2sFsBJpj8IrNPxhrQCWPktccbBWAEudFa54WCuApe7q7toHawWwtF3BdRzWMwDO7bkqveoImWMHpJtQSdy3asa7QnJp/8ZasbVaxXgnlzhuIJfiYQFqRHGwADUqf1iAGpkfLECNzh4WoOie/XfeHxNQoBqX38k7oEYXf9xAI+JdIbkELHIJWOQSsMglYJFLwCKXgEUuAYsc+vj4A4esT62wYFM7AAAAAElFTkSuQmCC"');Gy.push(")");Gy.push("}.container_RfDmb .vertical_-53-N{-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-box-orient:vertical;flex-direction:column}.container_RfDmb .horizontal_26bZy,.container_RfDmb .vertical_-53-N{-webkit-box-direction:normal;-moz-box-direction:normal}.container_RfDmb .horizontal_26bZy{-webkit-box-orient:horizontal;-webkit-flex-direction:row;-moz-box-orient:horizontal;flex-direction:row}.footer_22-oE{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin-top:16px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;gap:8px;justify-content:flex-end}");Gy=Gy.join("");uNo.exports={uuid:"59a93d17-2c01-49eb-99d7-6335ecbf9adc",locals:{"icon-eda-x-circle":"icon-eda-x-circle_CDVBN","clear-input-circle":"clear-input-circle_8tEyn",container:"container_RfDmb",line:"line_NpgAt",left:"left_2-PoY",right:"right_pG3QP",item:"item_pddha","preview-control":"preview-control_iOtKV",preview:"preview_nmBta",vertical:"vertical_-53-N",horizontal:"horizontal_26bZy",footer:"footer_22-oE"},toString(){return Gy}}});var yNo=xe((Se0,bNo)=>{var plt=[];plt.push(".auto-router_ytyw0{border:1px solid var(--common-border-color);margin-bottom:16px;width:100%}.auto-router_ytyw0 .ratio-item_ifi8X{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:16px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.auto-router_ytyw0 .ratio-item_ifi8X .ratio-label_I8Lmj{display:inline-block;max-width:110px;min-width:80px;overflow:hidden;padding-right:8px;text-overflow:ellipsis;white-space:nowrap;width:88px}.auto-router_ytyw0 .ratio-item_ifi8X .ratio-options_qi9rO>label{display:inline-block;overflow:hidden;white-space:nowrap;width:105px}.auto-router_ytyw0 .export-row-container_YCDTm{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;margin:16px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.auto-router_ytyw0 .export-row-container_YCDTm>:not(:first-child):not(label){-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.auto-router_ytyw0 .export-row-container_YCDTm .export-column-container_g3ttZ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.auto-router_ytyw0 .export-row-container_YCDTm .export-column-container_g3ttZ>span{display:inline-block;padding-right:8px;width:60px}.auto-router_ytyw0 .export-row-container_YCDTm .export-column-container_g3ttZ input[type=number]{width:50px}.auto-router_ytyw0 .export-row-container_YCDTm .fieldset_NOTYd{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}.auto-router_ytyw0 .export-row-container_YCDTm .auto-router-ignore-net_YV43k>div{height:auto}");plt=plt.join("");bNo.exports={uuid:"c485c635-bc66-4c41-b796-b655c0282f00",locals:{"auto-router":"auto-router_ytyw0","ratio-item":"ratio-item_ifi8X","ratio-label":"ratio-label_I8Lmj","ratio-options":"ratio-options_qi9rO","export-row-container":"export-row-container_YCDTm","export-column-container":"export-column-container_g3ttZ",fieldset:"fieldset_NOTYd","auto-router-ignore-net":"auto-router-ignore-net_YV43k"},toString(){return plt}}});var MNo=xe((Mt0,SNo)=>{var mlt=[];mlt.push(".content_0aiWe{border:1px solid var(--common-border-color);padding:8px 70px 8px 25px}.item-layer_Q2Lfy{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:12px 0;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.item-layer_Q2Lfy>span{margin-right:10px;min-width:80px}.item-layer_Q2Lfy>div{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}");mlt=mlt.join("");SNo.exports={uuid:"111c4563-6275-4887-a7fa-c699572df460",locals:{content:"content_0aiWe","item-layer":"item-layer_Q2Lfy"},toString(){return mlt}}});var Nye=xe((yo0,BNo)=>{var Clt=[];Clt.push(".icon-eda-x-circle_NeSFO.clear-input-circle_OCB-6{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.container_QXdHH{background-color:var(--bg-color-panel);height:100%}.container_QXdHH,.container_QXdHH .header_DmFmn{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.container_QXdHH,.container_QXdHH .header_DmFmn,.container_QXdHH .header_DmFmn [class^=tabsWrap]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.container_QXdHH .header_DmFmn [class^=tabsWrap]{height:24px}.container_QXdHH .header_DmFmn [class^=tabsWrap]>*{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.container_QXdHH .content_w85rS{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;overflow:auto;padding:0 8px 8px}.container_QXdHH .content_w85rS,.container_QXdHH .content_w85rS .block_7Lokk{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;gap:8px}.container_QXdHH .content_w85rS .block_7Lokk{background:var(--common-bg-color-1);border:1px solid transparent;border-top:5px solid #ccc;color:var(--common-font-color);padding:8px}.container_QXdHH .content_w85rS .block_7Lokk.selected_kt-CZ,.container_QXdHH .content_w85rS .block_7Lokk:hover{border-color:#1890ff}.container_QXdHH .content_w85rS .block_7Lokk.selected_kt-CZ .item_DiIt1:hover .item-delete_RayeI,.container_QXdHH .content_w85rS .block_7Lokk.selected_kt-CZ .item_DiIt1:hover .item-reply_SHRq7{display:block}.container_QXdHH .content_w85rS .block_7Lokk .block-header_9SGwm,.container_QXdHH .content_w85rS .block_7Lokk .block-header_9SGwm>div:first-child{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;gap:8px}.container_QXdHH .content_w85rS .block_7Lokk .block-header_9SGwm>div:first-child{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;max-width:-webkit-calc(100% - 24px);max-width:-moz-calc(100% - 24px);max-width:calc(100% - 24px)}.container_QXdHH .content_w85rS .block_7Lokk .block-header_9SGwm>div:first-child>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.container_QXdHH .content_w85rS .block_7Lokk .block-header_9SGwm a{font-size:1.5em;text-decoration:none}.container_QXdHH .content_w85rS .block_7Lokk .block-header_9SGwm .checked_3TZuv{color:#1890ff}.container_QXdHH .content_w85rS .block_7Lokk .block-header_9SGwm .un-checked_CZOm8{color:var(--icon-color-Annotions)}.container_QXdHH .content_w85rS .block_7Lokk .item_DiIt1{display:grid;grid-template-columns:26px 10fr;grid-template-rows:26px auto;grid-gap:8px;gap:8px;width:100%}.container_QXdHH .content_w85rS .block_7Lokk .item_DiIt1 .item-avatar_ZffCW{background-color:#000;background-size:cover;border-radius:50%;min-width:26px;width:26px}.container_QXdHH .content_w85rS .block_7Lokk .item_DiIt1 .item-info_XOND5{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;gap:4px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;overflow:hidden}.container_QXdHH .content_w85rS .block_7Lokk .item_DiIt1 .item-info_XOND5 .item-date_xsZYR{color:#ccc;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.container_QXdHH .content_w85rS .block_7Lokk .item_DiIt1 .item-info_XOND5>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.container_QXdHH .content_w85rS .block_7Lokk .item_DiIt1 .item-info_XOND5 .item-reply_SHRq7{color:#1890ff;display:none;text-decoration:none}.container_QXdHH .content_w85rS .block_7Lokk .item_DiIt1 .item-info_XOND5 .item-delete_RayeI{color:#d73843;display:none;text-decoration:none}.container_QXdHH .content_w85rS .block_7Lokk .item_DiIt1 .item-order_-cC7j{-webkit-align-self:center;align-self:center;text-align:center}.container_QXdHH .content_w85rS .block_7Lokk .item_DiIt1 figure{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;overflow:hidden;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;gap:8px}.container_QXdHH .content_w85rS .block_7Lokk .item_DiIt1 figure .tip_0fSTo{color:#ccc;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1}.container_QXdHH .content_w85rS .block_7Lokk .item_DiIt1 figure blockquote{border-left:2px solid #ccc;color:#ccc;overflow:hidden;padding-left:4px;text-overflow:ellipsis;white-space:nowrap;width:100%}.container_QXdHH .content_w85rS .block_7Lokk .item_DiIt1 figure .item-content_-eyt2{word-wrap:break-word;white-space:pre-wrap}.container_QXdHH .content_w85rS .block_7Lokk .item_DiIt1 figure .item-content_-eyt2 a{color:#1890ff}.container_QXdHH .content_w85rS .block_7Lokk .item_DiIt1 figure textarea{height:auto;padding:4px}");Clt=Clt.join("");BNo.exports={uuid:"f560a037-7f11-4486-a893-adb39727781a",locals:{"icon-eda-x-circle":"icon-eda-x-circle_NeSFO","clear-input-circle":"clear-input-circle_OCB-6",container:"container_QXdHH",header:"header_DmFmn",content:"content_w85rS",block:"block_7Lokk",selected:"selected_kt-CZ",item:"item_DiIt1","item-delete":"item-delete_RayeI","item-reply":"item-reply_SHRq7","block-header":"block-header_9SGwm",checked:"checked_3TZuv","un-checked":"un-checked_CZOm8","item-avatar":"item-avatar_ZffCW","item-info":"item-info_XOND5","item-date":"item-date_xsZYR","item-order":"item-order_-cC7j",tip:"tip_0fSTo","item-content":"item-content_-eyt2"},toString(){return Clt}}});var XNo=xe((pn0,Von)=>{Von.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNiAxNjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiMwMDk5MDA7fQoJLnN0MXtmaWxsOiMxODkwRkY7fQoJLnN0MntmaWxsOiM2NjY2NjY7fQo8L3N0eWxlPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNOS41LDhIMTF2MS41YzAsMC4zLDAuMiwwLjUsMC41LDAuNVMxMiw5LjgsMTIsOS41VjhoMS41QzEzLjgsOCwxNCw3LjgsMTQsNy41UzEzLjgsNywxMy41LDdIMTJWNS41CglDMTIsNS4yLDExLjgsNSwxMS41LDVTMTEsNS4yLDExLDUuNVY3SDkuNUM5LjIsNyw5LDcuMiw5LDcuNVM5LjIsOCw5LjUsOHoiLz4KPHBhdGggY2xhc3M9InN0MSIgZD0iTTksMTFoNWMwLjYsMCwxLDAuNCwxLDF2MmMwLDAuNi0wLjQsMS0xLDFIOWMtMC42LDAtMS0wLjQtMS0xdi0yQzgsMTEuNCw4LjQsMTEsOSwxMXoiLz4KPHBhdGggY2xhc3M9InN0MiIgZD0iTTcsNWMwLjYsMCwxLTAuNCwxLTFWMmMwLTAuNS0wLjQtMS0xLTFIMkMxLjUsMSwxLDEuNSwxLDJ2MmMwLDAuNiwwLjUsMSwxLDFoMnY4YzAsMC42LDAuNCwxLDEsMWgzdi0xSDVWNUg3eiIKCS8+Cjwvc3ZnPgo="});var $No=xe((mn0,Hon)=>{Hon.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNiAxNjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiNCMkUwQjI7fQoJLnN0MXtmaWxsOiNDMkUxRkY7fQoJLnN0MntmaWxsOiNDQ0NDQ0M7fQo8L3N0eWxlPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNOS41LDhIMTF2MS41YzAsMC4zLDAuMiwwLjUsMC41LDAuNVMxMiw5LjgsMTIsOS41VjhoMS41QzEzLjgsOCwxNCw3LjgsMTQsNy41UzEzLjgsNywxMy41LDdIMTJWNS41CglDMTIsNS4yLDExLjgsNSwxMS41LDVTMTEsNS4yLDExLDUuNVY3SDkuNUM5LjIsNyw5LDcuMiw5LDcuNVM5LjIsOCw5LjUsOHoiLz4KPHBhdGggY2xhc3M9InN0MSIgZD0iTTksMTFoNWMwLjYsMCwxLDAuNCwxLDF2MmMwLDAuNi0wLjQsMS0xLDFIOWMtMC42LDAtMS0wLjQtMS0xdi0yQzgsMTEuNCw4LjQsMTEsOSwxMXoiLz4KPHBhdGggY2xhc3M9InN0MiIgZD0iTTcsNWMwLjYsMCwxLTAuNCwxLTFWMmMwLTAuNS0wLjQtMS0xLTFIMkMxLjUsMSwxLDEuNSwxLDJ2MmMwLDAuNiwwLjUsMSwxLDFoMnY4YzAsMC42LDAuNCwxLDEsMWgzdi0xSDVWNUg3eiIKCS8+Cjwvc3ZnPgo="});var e7o=xe((hn0,Gon)=>{Gon.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNiAxNjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiMwMDk5MDA7fQoJLnN0MXtmaWxsOiMxODkwRkY7fQoJLnN0MntmaWxsOiM2NjY2NjY7fQo8L3N0eWxlPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNMTAuNSw0SDEydjEuNUMxMiw1LjgsMTIuMiw2LDEyLjUsNlMxMyw1LjgsMTMsNS41VjRoMS41QzE0LjgsNCwxNSwzLjgsMTUsMy41UzE0LjgsMywxNC41LDNIMTNWMS41CglDMTMsMS4yLDEyLjgsMSwxMi41LDFTMTIsMS4yLDEyLDEuNVYzaC0xLjVDMTAuMiwzLDEwLDMuMiwxMCwzLjVTMTAuMiw0LDEwLjUsNHoiLz4KPHBhdGggY2xhc3M9InN0MSIgZD0iTTksN2g1YzAuNiwwLDEsMC40LDEsMXYyYzAsMC42LTAuNCwxLTEsMUg5Yy0wLjYsMC0xLTAuNC0xLTFWOEM4LDcuNCw4LjQsNyw5LDd6Ii8+CjxnPgoJPHJlY3QgeD0iNSIgeT0iMSIgY2xhc3M9InN0MiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHBhdGggY2xhc3M9InN0MiIgZD0iTTMuNyw0LjdDNC41LDQsNS41LDQsNiw0djFINXYxaDFWNWgxVjRoMVYzSDdWMkg2djFoMEM1LjQsMyw0LjIsMywzLjEsMy45Yy0xLjMsMS4xLTIsMy4xLTIsNgoJCWMwLDAuMywwLjIsMC41LDAuNSwwLjVzMC41LTAuMiwwLjUtMC41QzIuMSw3LjMsMi42LDUuNiwzLjcsNC43TDMuNyw0Ljd6Ii8+Cgk8cGF0aCBjbGFzcz0ic3QyIiBkPSJNMTQsMTJIOWMtMC42LDAtMSwwLjQtMSwxdjFINHYtNGg0VjlINGMtMC41LDAtMSwwLjQtMSwxdjRjMCwwLjYsMC41LDEsMSwxaDRjMCwwLjYsMC40LDEsMSwxaDUKCQljMC42LDAsMS0wLjUsMS0xdi0yQzE1LDEyLjUsMTQuNiwxMiwxNCwxMnoiLz4KPC9nPgo8L3N2Zz4K"});var t7o=xe((fn0,Yon)=>{Yon.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNiAxNjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiNCMkUwQjI7fQoJLnN0MXtmaWxsOiNDMkUxRkY7fQoJLnN0MntmaWxsOiNDQ0NDQ0M7fQo8L3N0eWxlPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNMTAuNSw0SDEydjEuNUMxMiw1LjgsMTIuMiw2LDEyLjUsNlMxMyw1LjgsMTMsNS41VjRoMS41QzE0LjgsNCwxNSwzLjgsMTUsMy41UzE0LjgsMywxNC41LDNIMTNWMS41CglDMTMsMS4yLDEyLjgsMSwxMi41LDFTMTIsMS4yLDEyLDEuNVYzaC0xLjVDMTAuMiwzLDEwLDMuMiwxMCwzLjVTMTAuMiw0LDEwLjUsNHoiLz4KPHBhdGggY2xhc3M9InN0MSIgZD0iTTksN2g1YzAuNiwwLDEsMC40LDEsMXYyYzAsMC42LTAuNCwxLTEsMUg5Yy0wLjYsMC0xLTAuNC0xLTFWOEM4LDcuNCw4LjQsNyw5LDd6Ii8+CjxnPgoJPHJlY3QgeD0iNSIgeT0iMSIgY2xhc3M9InN0MiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHBhdGggY2xhc3M9InN0MiIgZD0iTTMuNyw0LjdDNC41LDQsNS41LDQsNiw0djFINXYxaDFWNWgxVjRoMVYzSDdWMkg2djFoMEM1LjQsMyw0LjIsMywzLjEsMy45Yy0xLjMsMS4xLTIsMy4xLTIsNgoJCWMwLDAuMywwLjIsMC41LDAuNSwwLjVzMC41LTAuMiwwLjUtMC41QzIuMSw3LjMsMi42LDUuNiwzLjcsNC43TDMuNyw0Ljd6Ii8+Cgk8cGF0aCBjbGFzcz0ic3QyIiBkPSJNMTQsMTJIOWMtMC42LDAtMSwwLjQtMSwxdjFINHYtNGg0VjlINGMtMC41LDAtMSwwLjQtMSwxdjRjMCwwLjYsMC41LDEsMSwxaDRjMCwwLjYsMC40LDEsMSwxaDUKCQljMC42LDAsMS0wLjUsMS0xdi0yQzE1LDEyLjUsMTQuNiwxMiwxNCwxMnoiLz4KPC9nPgo8L3N2Zz4K"});var i7o=xe((gn0,Won)=>{Won.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNiAxNjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiMwMDk5MDA7fQoJLnN0MXtmaWxsOiMxODkwRkY7fQoJLnN0MntmaWxsOiM2NjY2NjY7fQo8L3N0eWxlPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNMTAuNSwxM0gxMnYtMS41YzAtMC4zLDAuMi0wLjUsMC41LTAuNXMwLjUsMC4yLDAuNSwwLjVWMTNoMS41YzAuMywwLDAuNSwwLjIsMC41LDAuNVMxNC44LDE0LDE0LjUsMTRIMTN2MS41CgljMCwwLjMtMC4yLDAuNS0wLjUsMC41UzEyLDE1LjgsMTIsMTUuNVYxNGgtMS41Yy0wLjMsMC0wLjUtMC4yLTAuNS0wLjVTMTAuMiwxMywxMC41LDEzeiIvPgo8cGF0aCBjbGFzcz0ic3QxIiBkPSJNOSw2aDVjMC42LDAsMSwwLjQsMSwxdjJjMCwwLjYtMC40LDEtMSwxSDljLTAuNiwwLTEtMC40LTEtMVY3QzgsNi40LDguNCw2LDksNnoiLz4KPGc+Cgk8cmVjdCB4PSI1IiB5PSIxNSIgY2xhc3M9InN0MiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHBhdGggY2xhc3M9InN0MiIgZD0iTTMuNywxMi4zQzQuNSwxMyw1LjUsMTMsNiwxM3YtMUg1di0xaDF2MWgxdjFoMXYxSDd2MUg2di0xaDBjLTAuNiwwLTEuOCwwLTIuOS0wLjljLTEuMy0xLjEtMi0zLjEtMi02CgkJYzAtMC4zLDAuMi0wLjUsMC41LTAuNXMwLjUsMC4yLDAuNSwwLjVDMi4xLDkuNywyLjYsMTEuNCwzLjcsMTIuM0wzLjcsMTIuM3oiLz4KCTxwYXRoIGNsYXNzPSJzdDIiIGQ9Ik0xNCw1SDlDOC40LDUsOCw0LjYsOCw0VjNINHY0aDR2MUg0QzMuNSw4LDMsNy42LDMsN1YzYzAtMC41LDAuNS0xLDEtMWg0YzAtMC41LDAuNC0xLDEtMWg1YzAuNiwwLDEsMC41LDEsMQoJCXYyQzE1LDQuNiwxNC42LDUsMTQsNXoiLz4KPC9nPgo8L3N2Zz4K"});var o7o=xe((bn0,Qon)=>{Qon.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNiAxNjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiNCMkUwQjI7fQoJLnN0MXtmaWxsOiNDMkUxRkY7fQoJLnN0MntmaWxsOiNDQ0NDQ0M7fQo8L3N0eWxlPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNMTAuNSwxM0gxMnYtMS41YzAtMC4zLDAuMi0wLjUsMC41LTAuNXMwLjUsMC4yLDAuNSwwLjVWMTNoMS41YzAuMywwLDAuNSwwLjIsMC41LDAuNVMxNC44LDE0LDE0LjUsMTRIMTN2MS41CgljMCwwLjMtMC4yLDAuNS0wLjUsMC41UzEyLDE1LjgsMTIsMTUuNVYxNGgtMS41Yy0wLjMsMC0wLjUtMC4yLTAuNS0wLjVTMTAuMiwxMywxMC41LDEzeiIvPgo8cGF0aCBjbGFzcz0ic3QxIiBkPSJNOSw2aDVjMC42LDAsMSwwLjQsMSwxdjJjMCwwLjYtMC40LDEtMSwxSDljLTAuNiwwLTEtMC40LTEtMVY3QzgsNi40LDguNCw2LDksNnoiLz4KPGc+Cgk8cmVjdCB4PSI1IiB5PSIxNSIgY2xhc3M9InN0MiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHBhdGggY2xhc3M9InN0MiIgZD0iTTMuNywxMi4zQzQuNSwxMyw1LjUsMTMsNiwxM3YtMUg1di0xaDF2MWgxdjFoMXYxSDd2MUg2di0xaDBjLTAuNiwwLTEuOCwwLTIuOS0wLjljLTEuMy0xLjEtMi0zLjEtMi02CgkJYzAtMC4zLDAuMi0wLjUsMC41LTAuNXMwLjUsMC4yLDAuNSwwLjVDMi4xLDkuNywyLjYsMTEuNCwzLjcsMTIuM0wzLjcsMTIuM3oiLz4KCTxwYXRoIGNsYXNzPSJzdDIiIGQ9Ik0xNCw1SDlDOC40LDUsOCw0LjYsOCw0VjNINHY0aDR2MUg0QzMuNSw4LDMsNy42LDMsN1YzYzAtMC41LDAuNS0xLDEtMWg0YzAtMC41LDAuNC0xLDEtMWg1YzAuNiwwLDEsMC41LDEsMQoJCXYyQzE1LDQuNiwxNC42LDUsMTQsNXoiLz4KPC9nPgo8L3N2Zz4K"});var r7o=xe((yn0,Kon)=>{Kon.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNiAxNjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiMxODkwRkY7fQoJLnN0MXtmaWxsOiM2NjY2NjY7fQoJLnN0MntmaWxsOiNGRjAwMDA7fQo8L3N0eWxlPgo8Zz4KCTxyZWN0IHg9IjEzIiB5PSIxMSIgY2xhc3M9InN0MCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHJlY3QgeD0iMTAiIHk9IjEyIiBjbGFzcz0ic3QwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCB4PSIxMSIgeT0iMTEiIGNsYXNzPSJzdDAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0xMywxMmgtMXYxaC0xdjFoLTF2LTFIOXYtMWgxdi0xSDljLTAuNiwwLTEsMC40LTEsMXYyYzAsMC42LDAuNCwxLDEsMWg1YzAuNiwwLDEtMC40LDEtMWgtMXYtMWgtMVYxMnoiLz4KCTxyZWN0IHg9IjE0IiB5PSIxMiIgY2xhc3M9InN0MCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgo8L2c+CjxnPgoJPHJlY3QgeD0iMTMiIHk9IjkiIGNsYXNzPSJzdDAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCTxyZWN0IHg9IjEwIiB5PSI4IiBjbGFzcz0ic3QwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCB4PSIxMSIgeT0iOSIgY2xhc3M9InN0MCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHBhdGggY2xhc3M9InN0MCIgZD0iTTEzLDloLTFWOGgtMVY3aC0xdjFIOXYxaDF2MUg5Yy0wLjYsMC0xLTAuNC0xLTFWN2MwLTAuNiwwLjQtMSwxLTFoNWMwLjYsMCwxLDAuNCwxLDFoLTF2MWgtMVY5eiIvPgoJPHJlY3QgeD0iMTQiIHk9IjgiIGNsYXNzPSJzdDAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KPC9nPgo8cGF0aCBjbGFzcz0ic3QxIiBkPSJNOCw4SDVWNWgyYzAuNiwwLDEtMC40LDEtMVYyYzAtMC41LTAuNC0xLTEtMUgyQzEuNSwxLDEsMS41LDEsMnYyYzAsMC42LDAuNSwxLDEsMWgydjhjMCwwLjYsMC40LDEsMSwxaDN2LTFINQoJVjloM1Y4eiIvPgo8Zz4KCTxyZWN0IHg9IjEwIiB5PSI4IiBjbGFzcz0ic3QyIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCB4PSIxMSIgeT0iOSIgY2xhc3M9InN0MiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHJlY3QgeD0iMTMiIHk9IjExIiBjbGFzcz0ic3QyIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCB4PSIxNCIgeT0iMTIiIGNsYXNzPSJzdDIiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCTxyZWN0IHg9IjE0IiB5PSI4IiBjbGFzcz0ic3QyIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCB4PSIxMyIgeT0iOSIgY2xhc3M9InN0MiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHJlY3QgeD0iMTIiIHk9IjEwIiBjbGFzcz0ic3QyIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCB4PSIxMSIgeT0iMTEiIGNsYXNzPSJzdDIiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCTxyZWN0IHg9IjEwIiB5PSIxMiIgY2xhc3M9InN0MiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgo8L2c+Cjwvc3ZnPgo="});var n7o=xe((wn0,Zon)=>{Zon.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNiAxNjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiNDMkUxRkY7fQoJLnN0MXtmaWxsOiNDQ0NDQ0M7fQoJLnN0MntmaWxsOiNGRkIzQjM7fQo8L3N0eWxlPgo8Zz4KCTxyZWN0IHg9IjEzIiB5PSIxMSIgY2xhc3M9InN0MCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHJlY3QgeD0iMTAiIHk9IjEyIiBjbGFzcz0ic3QwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCB4PSIxMSIgeT0iMTEiIGNsYXNzPSJzdDAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0xMywxMmgtMXYxaC0xdjFoLTF2LTFIOXYtMWgxdi0xSDljLTAuNiwwLTEsMC40LTEsMXYyYzAsMC42LDAuNCwxLDEsMWg1YzAuNiwwLDEtMC40LDEtMWgtMXYtMWgtMVYxMnoiLz4KCTxyZWN0IHg9IjE0IiB5PSIxMiIgY2xhc3M9InN0MCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgo8L2c+CjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik04LDhINVY1aDJjMC42LDAsMS0wLjQsMS0xVjJjMC0wLjUtMC40LTEtMS0xSDJDMS41LDEsMSwxLjUsMSwydjJjMCwwLjYsMC41LDEsMSwxaDJ2OGMwLDAuNiwwLjQsMSwxLDFoM3YtMUg1CglWOWgzVjh6Ii8+CjxnPgoJPHJlY3QgeD0iMTMiIHk9IjkiIGNsYXNzPSJzdDAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCTxyZWN0IHg9IjEwIiB5PSI4IiBjbGFzcz0ic3QwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCB4PSIxMSIgeT0iOSIgY2xhc3M9InN0MCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHBhdGggY2xhc3M9InN0MCIgZD0iTTEzLDloLTFWOGgtMVY3aC0xdjFIOXYxaDF2MUg5Yy0wLjYsMC0xLTAuNC0xLTFWN2MwLTAuNiwwLjQtMSwxLTFoNWMwLjYsMCwxLDAuNCwxLDFoLTF2MWgtMVY5eiIvPgoJPHJlY3QgeD0iMTQiIHk9IjgiIGNsYXNzPSJzdDAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KPC9nPgo8Zz4KCTxyZWN0IHg9IjEwIiB5PSI4IiBjbGFzcz0ic3QyIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCB4PSIxMSIgeT0iOSIgY2xhc3M9InN0MiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHJlY3QgeD0iMTMiIHk9IjExIiBjbGFzcz0ic3QyIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCB4PSIxNCIgeT0iMTIiIGNsYXNzPSJzdDIiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCTxyZWN0IHg9IjE0IiB5PSI4IiBjbGFzcz0ic3QyIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCB4PSIxMyIgeT0iOSIgY2xhc3M9InN0MiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPHJlY3QgeD0iMTIiIHk9IjEwIiBjbGFzcz0ic3QyIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+Cgk8cmVjdCB4PSIxMSIgeT0iMTEiIGNsYXNzPSJzdDIiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCTxyZWN0IHg9IjEwIiB5PSIxMiIgY2xhc3M9InN0MiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgo8L2c+Cjwvc3ZnPgo="});var Slt=xe((Cn0,a7o)=>{var sr=[];sr.push(".icon-eda-x-circle_33Q7f.clear-input-circle_g19pg{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.variant_container_omlC9{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;width:100%}.variant_container_omlC9 .variant_left_page_MM48n{-webkit-box-flex:0;-webkit-flex:0 0 240px;-moz-box-flex:0;flex:0 0 240px;-webkit-flex-direction:column;flex-direction:column}.variant_container_omlC9 .variant_left_page_MM48n,.variant_container_omlC9 .variant_right_page_gZ4Kt{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-moz-box-orient:vertical;-moz-box-direction:normal}.variant_container_omlC9 .variant_right_page_gZ4Kt{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;-webkit-flex-direction:column;flex-direction:column;min-width:60px;overflow:auto;padding-left:4px;width:100%}.variant_container_omlC9 .variant_right_page_gZ4Kt .right_top_ULn9H{height:24px;-webkit-box-flex:0;-webkit-flex:0 0 24px;-moz-box-flex:0;flex:0 0 24px;width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;margin-bottom:8px}.variant_container_omlC9 .variant_right_page_gZ4Kt .right_bottom_qlmH6,.variant_container_omlC9 .variant_right_page_gZ4Kt .right_top_ULn9H,.variant_container_omlC9 .variant_right_page_gZ4Kt .right_top_ULn9H .right_top_left_UmikE,.variant_container_omlC9 .variant_right_page_gZ4Kt .right_top_ULn9H .right_top_right_qxm6e{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.variant_container_omlC9 .variant_right_page_gZ4Kt .right_bottom_qlmH6{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.icon_operate_IY12Z{background-repeat:no-repeat;background-size:100%;cursor:pointer;display:inline-block;height:16px;margin:0 4px;width:16px}.disabled_JHdv9{cursor:not-allowed}.icon_operate_add_ajElE{background-image:");sr.push("url(");sr.push(JSON.stringify(u9()));sr.push(")");sr.push(";background-position:50%;background-size:130%}.icon_operate_add_ajElE.disabled_JHdv9{background-image:");sr.push("url(");sr.push(JSON.stringify(VR()));sr.push(")");sr.push(";background-position:50%;background-size:130%}.icon_operate_copy_J1ZW8{background-image:");sr.push("url(");sr.push(JSON.stringify(I3e()));sr.push(")");sr.push(";background-position:50%;background-size:130%}.icon_operate_copy_J1ZW8.disabled_JHdv9{background-image:");sr.push("url(");sr.push(JSON.stringify(YAe()));sr.push(")");sr.push(";background-position:50%;background-size:130%}.icon_operate_up_hQL5R{background-image:");sr.push("url(");sr.push(JSON.stringify(ede()));sr.push(")");sr.push("}.icon_operate_up_hQL5R.disabled_JHdv9{background-image:");sr.push("url(");sr.push(JSON.stringify(N3e()));sr.push(")");sr.push("}.icon_operate_down_6vtqp{background-image:");sr.push("url(");sr.push(JSON.stringify(tde()));sr.push(")");sr.push(";background-position-y:1px}.icon_operate_down_6vtqp.disabled_JHdv9{background-image:");sr.push("url(");sr.push(JSON.stringify(k3e()));sr.push(")");sr.push(";background-position-y:1px}.icon_operate_delete_u6VN5{background-image:");sr.push("url(");sr.push(JSON.stringify(p9()));sr.push(")");sr.push(";background-position:50%;background-size:130%}.icon_operate_delete_u6VN5.disabled_JHdv9{background-image:");sr.push("url(");sr.push(JSON.stringify(m9()));sr.push(")");sr.push(";background-position:center -2px;background-size:140%}.icon_operate_clear_x8myK{background-image:");sr.push("url(");sr.push(JSON.stringify(WAe()));sr.push(")");sr.push(";background-position:50%;background-size:130%}.icon_operate_clear_x8myK.disabled_JHdv9{background-image:");sr.push("url(");sr.push(JSON.stringify(QAe()));sr.push(")");sr.push(";background-position:center -2px;background-size:140%}.icon_eda_variant_HqM77{background-image:");sr.push("url(");sr.push(JSON.stringify(lAe()));sr.push(")");sr.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.icon_eda_customGroup_fRBfL{background-image:");sr.push("url(");sr.push(JSON.stringify(uAe()));sr.push(")");sr.push("}.icon_eda_componentGroup_GbqIX,.icon_eda_customGroup_fRBfL{background-position:50%;-webkit-filter:invert(75%) sepia(62%) saturate(2371%) hue-rotate(332deg) brightness(99%) contrast(104%);filter:invert(75%) sepia(62%) saturate(2371%) hue-rotate(332deg) brightness(99%) contrast(104%)}.icon_eda_componentGroup_GbqIX{background-image:");sr.push("url(");sr.push(JSON.stringify(Mie()));sr.push(")");sr.push("}.icon_add_child_N0DJV{background-image:");sr.push("url(");sr.push(JSON.stringify(XNo()));sr.push(")");sr.push("}.icon_add_child_N0DJV.disabled_JHdv9{background-image:");sr.push("url(");sr.push(JSON.stringify($No()));sr.push(")");sr.push("}.icon_add_above_3bllP{background-image:");sr.push("url(");sr.push(JSON.stringify(e7o()));sr.push(")");sr.push("}.icon_add_above_3bllP.disabled_JHdv9{background-image:");sr.push("url(");sr.push(JSON.stringify(t7o()));sr.push(")");sr.push("}.icon_add_below_Wmo5g{background-image:");sr.push("url(");sr.push(JSON.stringify(i7o()));sr.push(")");sr.push("}.icon_add_below_Wmo5g.disabled_JHdv9{background-image:");sr.push("url(");sr.push(JSON.stringify(o7o()));sr.push(")");sr.push("}.icon_delete_child_f8xsc{background-image:");sr.push("url(");sr.push(JSON.stringify(r7o()));sr.push(")");sr.push("}.icon_delete_child_f8xsc.disabled_JHdv9{background-image:");sr.push("url(");sr.push(JSON.stringify(n7o()));sr.push(")");sr.push("}");sr=sr.join("");a7o.exports={uuid:"3e702ddb-70db-42a5-90b6-887c59321ade",locals:{"icon-eda-x-circle":"icon-eda-x-circle_33Q7f","clear-input-circle":"clear-input-circle_g19pg",variant_container:"variant_container_omlC9",variant_left_page:"variant_left_page_MM48n",variant_right_page:"variant_right_page_gZ4Kt",right_top:"right_top_ULn9H",right_bottom:"right_bottom_qlmH6",right_top_left:"right_top_left_UmikE",right_top_right:"right_top_right_qxm6e",icon_operate:"icon_operate_IY12Z",disabled:"disabled_JHdv9",icon_operate_add:"icon_operate_add_ajElE",icon_operate_copy:"icon_operate_copy_J1ZW8",icon_operate_up:"icon_operate_up_hQL5R",icon_operate_down:"icon_operate_down_6vtqp",icon_operate_delete:"icon_operate_delete_u6VN5",icon_operate_clear:"icon_operate_clear_x8myK",icon_eda_variant:"icon_eda_variant_HqM77",icon_eda_customGroup:"icon_eda_customGroup_fRBfL",icon_eda_componentGroup:"icon_eda_componentGroup_GbqIX",icon_add_child:"icon_add_child_N0DJV",icon_add_above:"icon_add_above_3bllP",icon_add_below:"icon_add_below_Wmo5g",icon_delete_child:"icon_delete_child_f8xsc"},toString(){return sr}}});var l7o=xe((Rn0,s7o)=>{var Yk=[];Yk.push(".container_6x30T{border:1px solid var(--common-border-color);height:-webkit-calc(50% - 20px);height:-moz-calc(50% - 20px);height:calc(50% - 20px);padding:4px;width:100%;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-box-orient:vertical;flex-direction:column}.container_6x30T,.container_6x30T .menuToolContainer_f-jzt{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal}.container_6x30T .menuToolContainer_f-jzt{-webkit-box-orient:horizontal;-webkit-flex-direction:row;-moz-box-orient:horizontal;flex-direction:row;-webkit-box-flex:0;-webkit-flex:0 0 24px;-moz-box-flex:0;flex:0 0 24px}.container_6x30T .menuToolContainer_f-jzt .menuToolItem_62hmq{height:16px;margin:4px;width:16px}.container_6x30T .menuToolContainer_f-jzt .menuToolItem_62hmq .icon-item_O6bHT{height:16px;width:16px}.container_6x30T .variantTreeContainer_qDqUs{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:1;-webkit-flex:auto;-moz-box-flex:1;flex:auto;overflow:auto}.tree-expand_3XMc2{background:");Yk.push("url(");Yk.push(JSON.stringify(Ow()));Yk.push(")");Yk.push(" no-repeat;height:16px;width:16px}.tree-collapse_e-A-J{background:");Yk.push("url(");Yk.push(JSON.stringify(qx()));Yk.push(")");Yk.push(" no-repeat;height:16px;width:16px}");Yk=Yk.join("");s7o.exports={uuid:"0016a7c7-3793-49ba-9199-75dbda7e063e",locals:{container:"container_6x30T",menuToolContainer:"menuToolContainer_f-jzt",menuToolItem:"menuToolItem_62hmq","icon-item":"icon-item_O6bHT",variantTreeContainer:"variantTreeContainer_qDqUs","tree-expand":"tree-expand_3XMc2","tree-collapse":"tree-collapse_e-A-J"},toString(){return Yk}}});var _De=xe((_n0,c7o)=>{var Ilt=[];Ilt.push(".container_f5URN{border:1px solid var(--common-border-color);-moz-box-sizing:border-box;box-sizing:border-box;overflow:auto;padding:16px}.container_f5URN .line_8Orxj{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;padding:0 0 16px}.container_f5URN .line_8Orxj select{width:373px}.container_f5URN .line_8Orxj:last-child{padding-bottom:0}.container_f5URN .line_8Orxj .line_label_ZMXJA{margin-left:8px;max-width:120px;min-width:80px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.footer_afGe3{height:28px;margin-top:16px;overflow:hidden;text-align:right}");Ilt=Ilt.join("");c7o.exports={uuid:"b7fdb45a-7521-4661-87cf-05554b8589a0",locals:{container:"container_f5URN",line:"line_8Orxj",line_label:"line_label_ZMXJA",footer:"footer_afGe3"},toString(){return Ilt}}});var h7o=xe((ps0,m7o)=>{var Wk=[];Wk.push(".container_gIt5t{border:1px solid var(--common-border-color-1);height:-webkit-calc(50% - 20px);height:-moz-calc(50% - 20px);height:calc(50% - 20px);overflow:auto;padding:4px;width:100%;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-box-orient:vertical;flex-direction:column}.container_gIt5t,.container_gIt5t .menuToolContainer_A3anQ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal}.container_gIt5t .menuToolContainer_A3anQ{-webkit-box-orient:horizontal;-webkit-flex-direction:row;-moz-box-orient:horizontal;flex-direction:row;-webkit-box-flex:0;-webkit-flex:0 0 24px;-moz-box-flex:0;flex:0 0 24px}.container_gIt5t .menuToolContainer_A3anQ .menuToolItem_8AaDy{height:16px;margin:4px;width:16px}.container_gIt5t .menuToolContainer_A3anQ .menuToolItem_8AaDy .icon-item_C7AZ-{height:16px;width:16px}.container_gIt5t .componentGroupContainer_ELty3{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:1;-webkit-flex:auto;-moz-box-flex:1;flex:auto;overflow:auto}.tree-expand_8Lesy{background:");Wk.push("url(");Wk.push(JSON.stringify(Ow()));Wk.push(")");Wk.push(" no-repeat;height:16px;width:16px}.tree-collapse_s5IdO{background:");Wk.push("url(");Wk.push(JSON.stringify(qx()));Wk.push(")");Wk.push(" no-repeat;height:16px;width:16px}");Wk=Wk.join("");m7o.exports={uuid:"fe6c185f-8a78-4313-83cc-6ca33f7c967b",locals:{container:"container_gIt5t",menuToolContainer:"menuToolContainer_A3anQ",menuToolItem:"menuToolItem_8AaDy","icon-item":"icon-item_C7AZ-",componentGroupContainer:"componentGroupContainer_ELty3","tree-expand":"tree-expand_8Lesy","tree-collapse":"tree-collapse_s5IdO"},toString(){return Wk}}});var b7o=xe((al0,rrn)=>{rrn.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNNy4zNzUsNi4xMjV2My43NUM3LjM3NSwxMC4yMiw3LjY1NSwxMC41LDgsMTAuNWgwYzAuMzQ1LDAsMC42MjUtMC4yOCwwLjYyNS0wLjYyNXYtMy43NUM4LjYyNSw1Ljc4LDguMzQ1LDUuNSw4LDUuNWgwCgkJQzcuNjU1LDUuNSw3LjM3NSw1Ljc4LDcuMzc1LDYuMTI1eiIvPgoJPGNpcmNsZSBjeD0iOCIgY3k9IjEyLjMiIHI9IjAuNyIvPgoJPHBhdGggZD0iTTE1Ljg2MiwxMy40NzZMOC44NjQsMS40NzRDOC42NzEsMS4xNDMsOC4zMzYsMC45NzgsOCwwLjk3OGMtMC4zMzUsMC0wLjY3MSwwLjE2NS0wLjg2NCwwLjQ5NkwwLjEzOCwxMy40NzYKCQljLTAuMzg5LDAuNjY3LDAuMDkyLDEuNTA0LDAuODY0LDEuNTA0aDEzLjk5N0MxNS43NywxNC45OCwxNi4yNTEsMTQuMTQzLDE1Ljg2MiwxMy40NzZ6IE0xLjAwMiwxMy45OEw3Ljk5NiwxLjk3OAoJCWMwLDAsMC4wMDIsMCwwLjAwNCwwbDYuOTk4LDEyLjAwM0gxLjAwMnoiLz4KPC9nPgo8L3N2Zz4K"});var Qk=xe((sl0,y7o)=>{var xte=[];xte.push(".row_container_oQdTw{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.row_container_oQdTw .border1px_MXYvp{border-right:1px solid var(--border-color-table-header)}.row_container_oQdTw .cell_item_bG3WU{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;overflow:hidden;padding:0 6px;text-overflow:ellipsis}.row_container_oQdTw .cell_item_bG3WU .content_zd6-1{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;text-overflow:ellipsis}.row_container_oQdTw .cell_item_bG3WU .add_Unt7y{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:0;-webkit-flex:0 0 16px;-moz-box-flex:0;flex:0 0 16px;font-weight:bolder;margin-right:-4px}.list-header_nZGmM .ellipsis_pIix8{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.triangle_uYjcs{border-color:#39f #39f transparent transparent;border-style:solid;border-width:5px}.assembly_h4aQO,.triangle_uYjcs{height:0;position:absolute;right:0;top:0;width:0}.assembly_h4aQO{border:5px solid #f60}.warning_gMpdj{background-image:");xte.push("url(");xte.push(JSON.stringify(b7o()));xte.push(")");xte.push(";background-repeat:no-repeat;background-size:16px 16px;-webkit-filter:invert(30%) sepia(84%) saturate(1524%) hue-rotate(331deg) brightness(91%) contrast(99%);filter:invert(30%) sepia(84%) saturate(1524%) hue-rotate(331deg) brightness(91%) contrast(99%);font-size:12px;height:16px;position:relative;top:4px;width:18px}.source_aZYoL{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}");xte=xte.join("");y7o.exports={uuid:"15efba58-c7d2-4a42-9e45-fed4fbce7709",locals:{row_container:"row_container_oQdTw",border1px:"border1px_MXYvp",cell_item:"cell_item_bG3WU",content:"content_zd6-1",add:"add_Unt7y","list-header":"list-header_nZGmM",ellipsis:"ellipsis_pIix8",triangle:"triangle_uYjcs",assembly:"assembly_h4aQO",warning:"warning_gMpdj",source:"source_aZYoL"},toString(){return xte}}});var B7o=xe((ku0,mrn)=>{mrn.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8yIiBkYXRhLW5hbWU9IuWbvuWxgiAyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMzEuMDkgMzEuMDkiPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuY2xzLTEgewogICAgICAgIGNsaXAtcGF0aDogdXJsKCNjbGlwcGF0aCk7CiAgICAgIH0KCiAgICAgIC5jbHMtMiB7CiAgICAgICAgc3Ryb2tlLXdpZHRoOiAwcHg7CiAgICAgIH0KCiAgICAgIC5jbHMtMiwgLmNscy0zIHsKICAgICAgICBmaWxsOiBub25lOwogICAgICB9CgogICAgICAuY2xzLTQgewogICAgICAgIGZpbGw6ICNmZmY7CiAgICAgIH0KCiAgICAgIC5jbHMtNCwgLmNscy0zIHsKICAgICAgICBzdHJva2U6ICMyMDJkNDA7CiAgICAgICAgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOwogICAgICAgIHN0cm9rZS13aWR0aDogMnB4OwogICAgICB9CiAgICA8L3N0eWxlPgogICAgPGNsaXBQYXRoIGlkPSJjbGlwcGF0aCI+CiAgICAgIDxyZWN0IGNsYXNzPSJjbHMtMiIgd2lkdGg9IjMxLjA5IiBoZWlnaHQ9IjMxLjA5Ii8+CiAgICA8L2NsaXBQYXRoPgogIDwvZGVmcz4KICA8ZyBpZD0iX+WbvuWxgl8yLTIiIGRhdGEtbmFtZT0i5Zu+5bGCIDIiPgogICAgPGcgY2xhc3M9ImNscy0xIj4KICAgICAgPGc+CiAgICAgICAgPHBhdGggY2xhc3M9ImNscy0zIiBkPSJtMjEuMzUsOC43NnYzLjc0YzAsMS45NC0xLjU4LDMuNTItMy41MiwzLjUyaC00LjU4Yy0xLjk0LDAtMy41MiwxLjU4LTMuNTIsMy41MnYyLjc5Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9ImNscy0zIiBkPSJtMTIuOTcsMjUuNTZjMCwxLjU2LTEuMTEsMi44Ny0yLjU4LDMuMTctLjIxLjA0LS40My4wNy0uNjUuMDctMS43OSwwLTMuMjMtMS40NS0zLjIzLTMuMjNzMS40NS0zLjIzLDMuMjMtMy4yMywzLjIzLDEuNDUsMy4yMywzLjIzWiIvPgogICAgICAgIDxwYXRoIGNsYXNzPSJjbHMtMyIgZD0ibTI0LjU4LDUuNTJjMCwxLjU2LTEuMTEsMi44Ny0yLjU4LDMuMTctLjIxLjA0LS40My4wNy0uNjUuMDctMS43OSwwLTMuMjMtMS40NS0zLjIzLTMuMjNzMS40NS0zLjIzLDMuMjMtMy4yMywzLjIzLDEuNDUsMy4yMywzLjIzWiIvPgogICAgICAgIDxsaW5lIGNsYXNzPSJjbHMtNCIgeDE9IjkuNzQiIHkxPSI4Ljc2IiB4Mj0iOS43NCIgeTI9IjIzLjAzIi8+CiAgICAgICAgPHBhdGggY2xhc3M9ImNscy0zIiBkPSJtMTIuOTcsNS41MmMwLDEuNTYtMS4xMSwyLjg3LTIuNTgsMy4xNy0uMjEuMDQtLjQzLjA3LS42NS4wNy0xLjc5LDAtMy4yMy0xLjQ1LTMuMjMtMy4yM3MxLjQ1LTMuMjMsMy4yMy0zLjIzLDMuMjMsMS40NSwzLjIzLDMuMjNaIi8+CiAgICAgIDwvZz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPg=="});var z7o=xe((Pu0,hrn)=>{hrn.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8yIiBkYXRhLW5hbWU9IuWbvuWxgiAyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMzEuMDkgMzEuMDkiPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuY2xzLTEgewogICAgICAgIGNsaXAtcGF0aDogdXJsKCNjbGlwcGF0aCk7CiAgICAgIH0KCiAgICAgIC5jbHMtMiB7CiAgICAgICAgc3Ryb2tlLXdpZHRoOiAwcHg7CiAgICAgIH0KCiAgICAgIC5jbHMtMiwgLmNscy0zIHsKICAgICAgICBmaWxsOiBub25lOwogICAgICB9CgogICAgICAuY2xzLTQgewogICAgICAgIGZpbGw6ICNmZmY7CiAgICAgIH0KCiAgICAgIC5jbHMtNCwgLmNscy0zIHsKICAgICAgICBzdHJva2U6ICMxODkwRkY7CiAgICAgICAgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOwogICAgICAgIHN0cm9rZS13aWR0aDogMnB4OwogICAgICB9CiAgICA8L3N0eWxlPgogICAgPGNsaXBQYXRoIGlkPSJjbGlwcGF0aCI+CiAgICAgIDxyZWN0IGNsYXNzPSJjbHMtMiIgd2lkdGg9IjMxLjA5IiBoZWlnaHQ9IjMxLjA5Ii8+CiAgICA8L2NsaXBQYXRoPgogIDwvZGVmcz4KICA8ZyBpZD0iX+WbvuWxgl8yLTIiIGRhdGEtbmFtZT0i5Zu+5bGCIDIiPgogICAgPGcgY2xhc3M9ImNscy0xIj4KICAgICAgPGc+CiAgICAgICAgPHBhdGggY2xhc3M9ImNscy0zIiBkPSJtMjEuMzUsOC43NnYzLjc0YzAsMS45NC0xLjU4LDMuNTItMy41MiwzLjUyaC00LjU4Yy0xLjk0LDAtMy41MiwxLjU4LTMuNTIsMy41MnYyLjc5Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9ImNscy0zIiBkPSJtMTIuOTcsMjUuNTZjMCwxLjU2LTEuMTEsMi44Ny0yLjU4LDMuMTctLjIxLjA0LS40My4wNy0uNjUuMDctMS43OSwwLTMuMjMtMS40NS0zLjIzLTMuMjNzMS40NS0zLjIzLDMuMjMtMy4yMywzLjIzLDEuNDUsMy4yMywzLjIzWiIvPgogICAgICAgIDxwYXRoIGNsYXNzPSJjbHMtMyIgZD0ibTI0LjU4LDUuNTJjMCwxLjU2LTEuMTEsMi44Ny0yLjU4LDMuMTctLjIxLjA0LS40My4wNy0uNjUuMDctMS43OSwwLTMuMjMtMS40NS0zLjIzLTMuMjNzMS40NS0zLjIzLDMuMjMtMy4yMywzLjIzLDEuNDUsMy4yMywzLjIzWiIvPgogICAgICAgIDxsaW5lIGNsYXNzPSJjbHMtNCIgeDE9IjkuNzQiIHkxPSI4Ljc2IiB4Mj0iOS43NCIgeTI9IjIzLjAzIi8+CiAgICAgICAgPHBhdGggY2xhc3M9ImNscy0zIiBkPSJtMTIuOTcsNS41MmMwLDEuNTYtMS4xMSwyLjg3LTIuNTgsMy4xNy0uMjEuMDQtLjQzLjA3LS42NS4wNy0xLjc5LDAtMy4yMy0xLjQ1LTMuMjMtMy4yM3MxLjQ1LTMuMjMsMy4yMy0zLjIzLDMuMjMsMS40NSwzLjIzLDMuMjNaIi8+CiAgICAgIDwvZz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPg=="});var F7o=xe((Ou0,frn)=>{frn.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8yIiBkYXRhLW5hbWU9IuWbvuWxgiAyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMzEuMDkgMzEuMDkiPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuY2xzLTEgewogICAgICAgIGNsaXAtcGF0aDogdXJsKCNjbGlwcGF0aCk7CiAgICAgIH0KCiAgICAgIC5jbHMtMiB7CiAgICAgICAgc3Ryb2tlLXdpZHRoOiAwcHg7CiAgICAgIH0KCiAgICAgIC5jbHMtMiwgLmNscy0zIHsKICAgICAgICBmaWxsOiBub25lOwogICAgICB9CgogICAgICAuY2xzLTMgewogICAgICAgIHN0cm9rZTogIzIwMmQ0MDsKICAgICAgICBzdHJva2UtbWl0ZXJsaW1pdDogMTA7CiAgICAgICAgc3Ryb2tlLXdpZHRoOiAycHg7CiAgICAgIH0KICAgIDwvc3R5bGU+CiAgICA8Y2xpcFBhdGggaWQ9ImNsaXBwYXRoIj4KICAgICAgPHJlY3QgY2xhc3M9ImNscy0yIiB3aWR0aD0iMzEuMDkiIGhlaWdodD0iMzEuMDkiLz4KICAgIDwvY2xpcFBhdGg+CiAgPC9kZWZzPgogIDxnIGlkPSJf5Zu+5bGCXzItMiIgZGF0YS1uYW1lPSLlm77lsYIgMiI+CiAgICA8ZyBjbGFzcz0iY2xzLTEiPgogICAgICA8Zz4KICAgICAgICA8bGluZSBjbGFzcz0iY2xzLTMiIHgxPSIxMS44MSIgeTE9IjguMjUiIHgyPSIyNy45MyIgeTI9IjguMjUiLz4KICAgICAgICA8bGluZSBjbGFzcz0iY2xzLTMiIHgxPSI4LjU0IiB5MT0iMTEuNDgiIHgyPSI4LjU0IiB5Mj0iMjguMzQiLz4KICAgICAgICA8cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Im0xMS45NSw4LjEzYzAsMS42NS0xLjE3LDMuMDItMi43MiwzLjM0LS4yMi4wNS0uNDUuMDctLjY5LjA3LTEuODgsMC0zLjQxLTEuNTMtMy40MS0zLjQxczEuNTMtMy40MSwzLjQxLTMuNDEsMy40MSwxLjUzLDMuNDEsMy40MVoiLz4KICAgICAgPC9nPgogICAgPC9nPgogIDwvZz4KPC9zdmc+"});var U7o=xe((Ru0,grn)=>{grn.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8yIiBkYXRhLW5hbWU9IuWbvuWxgiAyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMzEuMDkgMzEuMDkiPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuY2xzLTEgewogICAgICAgIGNsaXAtcGF0aDogdXJsKCNjbGlwcGF0aCk7CiAgICAgIH0KCiAgICAgIC5jbHMtMiB7CiAgICAgICAgc3Ryb2tlLXdpZHRoOiAwcHg7CiAgICAgIH0KCiAgICAgIC5jbHMtMiwgLmNscy0zIHsKICAgICAgICBmaWxsOiBub25lOwogICAgICB9CgogICAgICAuY2xzLTMgewogICAgICAgIHN0cm9rZTogIzE4OTBmZjsKICAgICAgICBzdHJva2UtbWl0ZXJsaW1pdDogMTA7CiAgICAgICAgc3Ryb2tlLXdpZHRoOiAycHg7CiAgICAgIH0KICAgIDwvc3R5bGU+CiAgICA8Y2xpcFBhdGggaWQ9ImNsaXBwYXRoIj4KICAgICAgPHJlY3QgY2xhc3M9ImNscy0yIiB3aWR0aD0iMzEuMDkiIGhlaWdodD0iMzEuMDkiLz4KICAgIDwvY2xpcFBhdGg+CiAgPC9kZWZzPgogIDxnIGlkPSJf5Zu+5bGCXzItMiIgZGF0YS1uYW1lPSLlm77lsYIgMiI+CiAgICA8ZyBjbGFzcz0iY2xzLTEiPgogICAgICA8Zz4KICAgICAgICA8bGluZSBjbGFzcz0iY2xzLTMiIHgxPSIxMS44MSIgeTE9IjguMjUiIHgyPSIyNy45MyIgeTI9IjguMjUiLz4KICAgICAgICA8bGluZSBjbGFzcz0iY2xzLTMiIHgxPSI4LjU0IiB5MT0iMTEuNDgiIHgyPSI4LjU0IiB5Mj0iMjguMzQiLz4KICAgICAgICA8cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Im0xMS45NSw4LjEzYzAsMS42NS0xLjE3LDMuMDItMi43MiwzLjM0LS4yMi4wNS0uNDUuMDctLjY5LjA3LTEuODgsMC0zLjQxLTEuNTMtMy40MS0zLjQxczEuNTMtMy40MSwzLjQxLTMuNDEsMy40MSwxLjUzLDMuNDEsMy40MVoiLz4KICAgICAgPC9nPgogICAgPC9nPgogIDwvZz4KPC9zdmc+"});var V7o=xe((_u0,brn)=>{brn.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8yIiBkYXRhLW5hbWU9IuWbvuWxgiAyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMzEuMDkgMzEuMDkiPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuY2xzLTEgewogICAgICAgIHN0cm9rZS13aWR0aDogMS41cHg7CiAgICAgIH0KCiAgICAgIC5jbHMtMSwgLmNscy0yLCAuY2xzLTMgewogICAgICAgIGZpbGw6IG5vbmU7CiAgICAgIH0KCiAgICAgIC5jbHMtMSwgLmNscy00LCAuY2xzLTMgewogICAgICAgIHN0cm9rZTogIzIwMmQ0MDsKICAgICAgICBzdHJva2UtbWl0ZXJsaW1pdDogMTA7CiAgICAgIH0KCiAgICAgIC5jbHMtNSB7CiAgICAgICAgY2xpcC1wYXRoOiB1cmwoI2NsaXBwYXRoKTsKICAgICAgfQoKICAgICAgLmNscy0yIHsKICAgICAgICBzdHJva2Utd2lkdGg6IDBweDsKICAgICAgfQoKICAgICAgLmNscy00IHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CgogICAgICAuY2xzLTQsIC5jbHMtMyB7CiAgICAgICAgc3Ryb2tlLXdpZHRoOiAycHg7CiAgICAgIH0KICAgIDwvc3R5bGU+CiAgICA8Y2xpcFBhdGggaWQ9ImNsaXBwYXRoIj4KICAgICAgPHJlY3QgY2xhc3M9ImNscy0yIiB3aWR0aD0iMzEuMDkiIGhlaWdodD0iMzEuMDkiLz4KICAgIDwvY2xpcFBhdGg+CiAgPC9kZWZzPgogIDxnIGlkPSJf5Zu+5bGCXzItMiIgZGF0YS1uYW1lPSLlm77lsYIgMiI+CiAgICA8ZyBjbGFzcz0iY2xzLTUiPgogICAgICA8Zz4KICAgICAgICA8cGF0aCBjbGFzcz0iY2xzLTQiIGQ9Im0xOS4xNCwxMC40NnMtLjcsMy40MS0zLjY2LDQuODVjLTIuOTUsMS40My03LjAzLS4zMy03LjY2LDQuODUiLz4KICAgICAgICA8cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Im0xMS4xOSw1LjVjMCwxLjU2LTEuMTYsMi44Ny0yLjY5LDMuMTctLjIyLjA0LS40NS4wNy0uNjguMDctMS44NiwwLTMuMzctMS40NS0zLjM3LTMuMjNzMS41MS0zLjIzLDMuMzctMy4yMywzLjM3LDEuNDUsMy4zNywzLjIzWiIvPgogICAgICAgIDxwYXRoIGNsYXNzPSJjbHMtMyIgZD0ibTExLjE5LDI1LjU5YzAsMS41Ni0xLjE2LDIuODctMi42OSwzLjE3LS4yMi4wNC0uNDUuMDctLjY4LjA3LTEuODYsMC0zLjM3LTEuNDUtMy4zNy0zLjIzczEuNTEtMy4yMywzLjM3LTMuMjMsMy4zNywxLjQ1LDMuMzcsMy4yM1oiLz4KICAgICAgICA8cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Im0yMi4yMiw3LjQ3YzAsMS41Ni0xLjE2LDIuODctMi42OSwzLjE3LS4yMi4wNC0uNDUuMDctLjY4LjA3LTEuODYsMC0zLjM3LTEuNDUtMy4zNy0zLjIzczEuNTEtMy4yMywzLjM3LTMuMjMsMy4zNywxLjQ1LDMuMzcsMy4yM1oiLz4KICAgICAgICA8bGluZSBjbGFzcz0iY2xzLTQiIHgxPSI3LjgyIiB5MT0iMjIuMzUiIHgyPSI3LjgyIiB5Mj0iOC4yNiIvPgogICAgICAgIDxnPgogICAgICAgICAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJtMjYuMzEsMTcuMjhsLTIuNTctMi40OWMtLjQ0LS40MS0xLjE1LS40LTEuNTcuMDItLjE0LjEzLTEuNDMsMS40Mi0xLjU3LDEuNTUtMS41LDEuNDktNC4yNiw0LjIzLTUuNzYsNS43MS0uMTIuMTEtLjI1LjI1LS4zNy40Mi0uMTEuMTUtLjIyLjMtLjMxLjQ2LS43NCwxLjgtMS42NCw1LjAyLTEuNjQsNS4wMi0uMDcuMTkuMDMuMjkuMzEuMywwLDAsNC4wMy0xLjA0LDUuMDgtMS40OC4zOS0uMTkuNzUtLjQzLDEuMDYtLjcybDcuMzQtNy4yN2MuMjEtLjIuMzQtLjQ4LjMzLS43N3MtLjEyLS41Ny0uMzQtLjc2WiIvPgogICAgICAgICAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJtMjAuOCwxNi4xNmMuODMsMS42MSwyLjM5LDMuMSw0LjEsNC4wNCIvPgogICAgICAgICAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJtMTQuNDcsMjIuNjhzLjQ4Ljk1LDEuNjYsMi4wM2MuODUuNzksMS43NiwxLjQ5LDIuNDYsMS43OSIvPgogICAgICAgIDwvZz4KICAgICAgPC9nPgogICAgPC9nPgogIDwvZz4KPC9zdmc+"});var H7o=xe((ju0,yrn)=>{yrn.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8yIiBkYXRhLW5hbWU9IuWbvuWxgiAyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMzEuMDkgMzEuMDkiPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuY2xzLTEgewogICAgICAgIHN0cm9rZS13aWR0aDogMS41cHg7CiAgICAgIH0KCiAgICAgIC5jbHMtMSwgLmNscy0yLCAuY2xzLTMgewogICAgICAgIGZpbGw6IG5vbmU7CiAgICAgIH0KCiAgICAgIC5jbHMtMSwgLmNscy00LCAuY2xzLTMgewogICAgICAgIHN0cm9rZTogIzE4OTBmZjsKICAgICAgICBzdHJva2UtbWl0ZXJsaW1pdDogMTA7CiAgICAgIH0KCiAgICAgIC5jbHMtNSB7CiAgICAgICAgY2xpcC1wYXRoOiB1cmwoI2NsaXBwYXRoKTsKICAgICAgfQoKICAgICAgLmNscy0yIHsKICAgICAgICBzdHJva2Utd2lkdGg6IDBweDsKICAgICAgfQoKICAgICAgLmNscy00IHsKICAgICAgICBmaWxsOiAjMTg5MGZmOwogICAgICB9CgogICAgICAuY2xzLTQsIC5jbHMtMyB7CiAgICAgICAgc3Ryb2tlLXdpZHRoOiAycHg7CiAgICAgIH0KICAgIDwvc3R5bGU+CiAgICA8Y2xpcFBhdGggaWQ9ImNsaXBwYXRoIj4KICAgICAgPHJlY3QgY2xhc3M9ImNscy0yIiB3aWR0aD0iMzEuMDkiIGhlaWdodD0iMzEuMDkiLz4KICAgIDwvY2xpcFBhdGg+CiAgPC9kZWZzPgogIDxnIGlkPSJf5Zu+5bGCXzItMiIgZGF0YS1uYW1lPSLlm77lsYIgMiI+CiAgICA8ZyBjbGFzcz0iY2xzLTUiPgogICAgICA8Zz4KICAgICAgICA8cGF0aCBjbGFzcz0iY2xzLTQiIGQ9Im0xOS4xNCwxMC40NnMtLjcsMy40MS0zLjY2LDQuODVjLTIuOTUsMS40My03LjAzLS4zMy03LjY2LDQuODUiLz4KICAgICAgICA8cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Im0xMS4xOSw1LjVjMCwxLjU2LTEuMTYsMi44Ny0yLjY5LDMuMTctLjIyLjA0LS40NS4wNy0uNjguMDctMS44NiwwLTMuMzctMS40NS0zLjM3LTMuMjNzMS41MS0zLjIzLDMuMzctMy4yMywzLjM3LDEuNDUsMy4zNywzLjIzWiIvPgogICAgICAgIDxwYXRoIGNsYXNzPSJjbHMtMyIgZD0ibTExLjE5LDI1LjU5YzAsMS41Ni0xLjE2LDIuODctMi42OSwzLjE3LS4yMi4wNC0uNDUuMDctLjY4LjA3LTEuODYsMC0zLjM3LTEuNDUtMy4zNy0zLjIzczEuNTEtMy4yMywzLjM3LTMuMjMsMy4zNywxLjQ1LDMuMzcsMy4yM1oiLz4KICAgICAgICA8cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Im0yMi4yMiw3LjQ3YzAsMS41Ni0xLjE2LDIuODctMi42OSwzLjE3LS4yMi4wNC0uNDUuMDctLjY4LjA3LTEuODYsMC0zLjM3LTEuNDUtMy4zNy0zLjIzczEuNTEtMy4yMywzLjM3LTMuMjMsMy4zNywxLjQ1LDMuMzcsMy4yM1oiLz4KICAgICAgICA8bGluZSBjbGFzcz0iY2xzLTQiIHgxPSI3LjgyIiB5MT0iMjIuMzUiIHgyPSI3LjgyIiB5Mj0iOC4yNiIvPgogICAgICAgIDxnPgogICAgICAgICAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJtMjYuMzEsMTcuMjhsLTIuNTctMi40OWMtLjQ0LS40MS0xLjE1LS40LTEuNTcuMDItLjE0LjEzLTEuNDMsMS40Mi0xLjU3LDEuNTUtMS41LDEuNDktNC4yNiw0LjIzLTUuNzYsNS43MS0uMTIuMTEtLjI1LjI1LS4zNy40Mi0uMTEuMTUtLjIyLjMtLjMxLjQ2LS43NCwxLjgtMS42NCw1LjAyLTEuNjQsNS4wMi0uMDcuMTkuMDMuMjkuMzEuMywwLDAsNC4wMy0xLjA0LDUuMDgtMS40OC4zOS0uMTkuNzUtLjQzLDEuMDYtLjcybDcuMzQtNy4yN2MuMjEtLjIuMzQtLjQ4LjMzLS43N3MtLjEyLS41Ny0uMzQtLjc2WiIvPgogICAgICAgICAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJtMjAuOCwxNi4xNmMuODMsMS42MSwyLjM5LDMuMSw0LjEsNC4wNCIvPgogICAgICAgICAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJtMTQuNDcsMjIuNjhzLjQ4Ljk1LDEuNjYsMi4wM2MuODUuNzksMS43NiwxLjQ5LDIuNDYsMS43OSIvPgogICAgICAgIDwvZz4KICAgICAgPC9nPgogICAgPC9nPgogIDwvZz4KPC9zdmc+"});var G7o=xe((Bu0,wrn)=>{wrn.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8yIiBkYXRhLW5hbWU9IuWbvuWxgiAyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMzEuMDkgMzEuMDkiPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuY2xzLTEgewogICAgICAgIGNsaXAtcGF0aDogdXJsKCNjbGlwcGF0aCk7CiAgICAgIH0KCiAgICAgIC5jbHMtMiB7CiAgICAgICAgc3Ryb2tlLXdpZHRoOiAwcHg7CiAgICAgIH0KCiAgICAgIC5jbHMtMiwgLmNscy0zLCAuY2xzLTQgewogICAgICAgIGZpbGw6IG5vbmU7CiAgICAgIH0KCiAgICAgIC5jbHMtMyB7CiAgICAgICAgc3Ryb2tlLXdpZHRoOiAxLjY3cHg7CiAgICAgIH0KCiAgICAgIC5jbHMtMywgLmNscy00IHsKICAgICAgICBzdHJva2U6ICMyMDJkNDA7CiAgICAgICAgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOwogICAgICB9CgogICAgICAuY2xzLTQgewogICAgICAgIHN0cm9rZS13aWR0aDogMnB4OwogICAgICB9CiAgICA8L3N0eWxlPgogICAgPGNsaXBQYXRoIGlkPSJjbGlwcGF0aCI+CiAgICAgIDxyZWN0IGNsYXNzPSJjbHMtMiIgd2lkdGg9IjMxLjA5IiBoZWlnaHQ9IjMxLjA5Ii8+CiAgICA8L2NsaXBQYXRoPgogIDwvZGVmcz4KICA8ZyBpZD0iX+WbvuWxgl8yLTIiIGRhdGEtbmFtZT0i5Zu+5bGCIDIiPgogICAgPGcgY2xhc3M9ImNscy0xIj4KICAgICAgPGc+CiAgICAgICAgPHBhdGggY2xhc3M9ImNscy00IiBkPSJtOS43OSwxMC42MXYxMS45MWMwLDIuNTEsMS42Niw0LjU0LDMuNyw0LjU0aDBjMi4wNCwwLDMuNy0yLjAzLDMuNy00LjU0di0xMy45NWMwLTIuNTEsMS42Ni00LjU0LDMuNy00LjU0aC4wM2MyLjA0LDAsMy43LDIuMDMsMy43LDQuNTR2MTguNDkiLz4KICAgICAgICA8cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Im0xMy4xMSw3LjM1YzAsMS42MS0xLjE0LDIuOTUtMi42NiwzLjI2LS4yMi4wNC0uNDQuMDctLjY3LjA3LTEuODQsMC0zLjMzLTEuNDktMy4zMy0zLjMzczEuNDktMy4zMywzLjMzLTMuMzMsMy4zMywxLjQ5LDMuMzMsMy4zM1oiLz4KICAgICAgPC9nPgogICAgPC9nPgogIDwvZz4KPC9zdmc+"});var Y7o=xe((zu0,Crn)=>{Crn.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8yIiBkYXRhLW5hbWU9IuWbvuWxgiAyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMzEuMDkgMzEuMDkiPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuY2xzLTEgewogICAgICAgIGNsaXAtcGF0aDogdXJsKCNjbGlwcGF0aCk7CiAgICAgIH0KCiAgICAgIC5jbHMtMiB7CiAgICAgICAgc3Ryb2tlLXdpZHRoOiAwcHg7CiAgICAgIH0KCiAgICAgIC5jbHMtMiwgLmNscy0zLCAuY2xzLTQgewogICAgICAgIGZpbGw6IG5vbmU7CiAgICAgIH0KCiAgICAgIC5jbHMtMyB7CiAgICAgICAgc3Ryb2tlLXdpZHRoOiAxLjY3cHg7CiAgICAgIH0KCiAgICAgIC5jbHMtMywgLmNscy00IHsKICAgICAgICBzdHJva2U6ICMzNjczZmU7CiAgICAgICAgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOwogICAgICB9CgogICAgICAuY2xzLTQgewogICAgICAgIHN0cm9rZS13aWR0aDogMnB4OwogICAgICB9CiAgICA8L3N0eWxlPgogICAgPGNsaXBQYXRoIGlkPSJjbGlwcGF0aCI+CiAgICAgIDxyZWN0IGNsYXNzPSJjbHMtMiIgd2lkdGg9IjMxLjA5IiBoZWlnaHQ9IjMxLjA5Ii8+CiAgICA8L2NsaXBQYXRoPgogIDwvZGVmcz4KICA8ZyBpZD0iX+WbvuWxgl8yLTIiIGRhdGEtbmFtZT0i5Zu+5bGCIDIiPgogICAgPGcgY2xhc3M9ImNscy0xIj4KICAgICAgPGc+CiAgICAgICAgPHBhdGggY2xhc3M9ImNscy00IiBkPSJtOS43OSwxMC42MXYxMS45MWMwLDIuNTEsMS42Niw0LjU0LDMuNyw0LjU0aDBjMi4wNCwwLDMuNy0yLjAzLDMuNy00LjU0di0xMy45NWMwLTIuNTEsMS42Ni00LjU0LDMuNy00LjU0aC4wM2MyLjA0LDAsMy43LDIuMDMsMy43LDQuNTR2MTguNDkiLz4KICAgICAgICA8cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Im0xMy4xMSw3LjM1YzAsMS42MS0xLjE0LDIuOTUtMi42NiwzLjI2LS4yMi4wNC0uNDQuMDctLjY3LjA3LTEuODQsMC0zLjMzLTEuNDktMy4zMy0zLjMzczEuNDktMy4zMywzLjMzLTMuMzMsMy4zMywxLjQ5LDMuMzMsMy4zM1oiLz4KICAgICAgPC9nPgogICAgPC9nPgogIDwvZz4KPC9zdmc+"});var W7o=xe((Fu0,xrn)=>{xrn.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8yIiBkYXRhLW5hbWU9IuWbvuWxgiAyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMzIgMzIiPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuY2xzLTEgewogICAgICAgIGNsaXAtcGF0aDogdXJsKCNjbGlwcGF0aCk7CiAgICAgIH0KCiAgICAgIC5jbHMtMiwgLmNscy0zIHsKICAgICAgICBmaWxsOiBub25lOwogICAgICB9CgogICAgICAuY2xzLTIsIC5jbHMtNCB7CiAgICAgICAgc3Ryb2tlLXdpZHRoOiAwcHg7CiAgICAgIH0KCiAgICAgIC5jbHMtMyB7CiAgICAgICAgc3Ryb2tlOiAjMWUyYzNmOwogICAgICAgIHN0cm9rZS1saW5lY2FwOiByb3VuZDsKICAgICAgICBzdHJva2UtbGluZWpvaW46IHJvdW5kOwogICAgICAgIHN0cm9rZS13aWR0aDogMi4wOXB4OwogICAgICB9CgogICAgICAuY2xzLTQgewogICAgICAgIGZpbGw6ICMxZTJjM2Y7CiAgICAgIH0KICAgIDwvc3R5bGU+CiAgICA8Y2xpcFBhdGggaWQ9ImNsaXBwYXRoIj4KICAgICAgPHJlY3QgY2xhc3M9ImNscy0yIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiLz4KICAgIDwvY2xpcFBhdGg+CiAgPC9kZWZzPgogIDxnIGlkPSJf5Zu+5bGCXzEtMiIgZGF0YS1uYW1lPSLlm77lsYIgMSI+CiAgICA8ZyBjbGFzcz0iY2xzLTEiPgogICAgICA8Zz4KICAgICAgICA8cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Im0yNy4yLDEwLjczdi0uOTljMC0uNjctLjU0LTEuMjEtMS4yMS0xLjIxaC05LjU1bC00LTMuMTFjLS4yMi0uMTgtLjQ5LS4yOC0uNzgtLjI4bC03LjcxLS4wNGMtLjY3LDAtMS4yMS41NC0xLjIxLDEuMjF2MTkuODIiLz4KICAgICAgICA8cGF0aCBjbGFzcz0iY2xzLTQiIGQ9Im03LjIsMTIuMjFoMjEuMTZzLTMuNTYsMTMuOTEtMy41NiwxMy45MUgzLjY0czMuNTYtMTMuOTEsMy41Ni0xMy45MW0wLTEuOTVjLS44OSwwLTEuNjYuNi0xLjg4LDEuNDZsLTMuNTYsMTMuOTFjLS4xNS41OC0uMDIsMS4yLjM1LDEuNjguMzcuNDcuOTQuNzUsMS41NC43NWgyMS4xNnMwLDAsMCwwYy44OSwwLDEuNjYtLjYsMS44OC0xLjQ2bDMuNTYtMTMuOTFjLjE1LS41OC4wMi0xLjItLjM1LTEuNjgtLjM3LS40Ny0uOTQtLjc1LTEuNTQtLjc1SDcuMnMwLDAsMCwwaDBaIi8+CiAgICAgIDwvZz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPg=="});var Q7o=xe((Uu0,Trn)=>{Trn.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5Zu+5bGCXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMThweCIgaGVpZ2h0PSIxOHB4IiB2aWV3Qm94PSIwIDAgMTggMTgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE4IDE4OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHJlY3Qgc3R5bGU9ImZpbGw6bm9uZTsiIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+PC9yZWN0Pgo8L2c+CjxnPgoJPHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNMTYuNSw0LjVIMTN2LTJjMC0wLjU1LTAuNDUtMS0xLTFINmMtMC41NSwwLTEsMC40NS0xLDF2MkgxLjVDMS4yMiw0LjUsMSw0LjcyLDEsNXMwLjIyLDAuNSwwLjUsMC41aDE1CgkJQzE2Ljc4LDUuNSwxNyw1LjI4LDE3LDVTMTYuNzgsNC41LDE2LjUsNC41eiBNMTIsNC41SDZ2LTJoNlY0LjV6Ij48L3BhdGg+Cgk8cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik04LDEzVjhjMC0wLjI3Ni0wLjIyNC0wLjUtMC41LTAuNVM3LDcuNzI0LDcsOHY1YzAsMC4yNzYsMC4yMjQsMC41LDAuNSwwLjVTOCwxMy4yNzYsOCwxM3oiPjwvcGF0aD4KCTxwYXRoIGZpbGw9ImN1cnJlbnRDb2xvciIgZD0iTTExLDEzVjhjMC0wLjI3Ni0wLjIyNC0wLjUtMC41LTAuNVMxMCw3LjcyNCwxMCw4djVjMCwwLjI3NiwwLjIyNCwwLjUsMC41LDAuNVMxMSwxMy4yNzYsMTEsMTN6Ij48L3BhdGg+Cgk8cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0xMy41LDYuNUMxMy4yMiw2LjUsMTMsNi43MiwxMyw3djguNUg1VjdjMC0wLjI4LTAuMjItMC41LTAuNS0wLjVTNCw2LjcyLDQsN3Y4LjVjMCwwLjU1LDAuNDUsMSwxLDFoOGMwLjU1LDAsMS0wLjQ1LDEtMQoJCVY3QzE0LDYuNzIsMTMuNzgsNi41LDEzLjUsNi41eiI+PC9wYXRoPgo8L2c+Cjwvc3ZnPg=="});var K7o=xe((Vu0,Srn)=>{Srn.exports="data:image/svg+xml;base64,PHN2ZyB0PSIxNzMyNTA1MjIyMjQxIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjE3OTQiIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj4KPHBhdGggZD0iTTI4MS41MzMwMyA5MjguMzk4OTVjLTI1LjYyNDk4NiAwLTUwLjUwMTAxOC0xMi4xNzQwMjktNjYuNTQ0MDI2LTMyLjU2NTA0My0xNC41NDI5NS0xOC40ODU5NjUtMTkuODY0OTg2LTQxLjU1NDAyMi0xNC42MDIwMzUtNjMuMjg5OTU4IDMuNjQ0MDA2LTE1LjAzNzAzIDM1LjMyNTk1Mi0xNDIuODI1OTg0IDUwLjMyNjAxNi0yMDMuMzA0OTYtNDYuNTIyOTgyLTQwLjAyNzk1NS0xNDMuMTczMDE4LTEyMy4xODgwMTktMTQ3LjIwNjA0Mi0xMjYuNjkzOTktMzcuMzg3OTgxLTMyLjQyNzAwOC00MS4zOTc5NjUtNjUuMjU2OTYtMzguMTY3OTYyLTg3LjA4MDAzOCA1LjM0NzAyMS0zNi4xMDM5ODcgMzAuODcyOTg2LTYyLjY3OTk2MiA2Ni42MTcwMzctNjkuMzY0MDE5bDIuMzgxMDA1LTAuNDQ1MDMgMjE0LjY4MDk4Ni0xOS44NDEwMjQgNzguMzgxOTc4LTE4MC44OTAwMWM2LjA0NDk3OS0xNi4xMjQwMDYgMTQuNTY0OTY2LTI5LjUwNzk5NCAyNS4zNDI5NzYtMzkuODA1OTUyIDE2LjEzNDA0Mi0xNS40MTcwMzcgMzYuNjUzOTc4LTIzLjU2NTAwNSA1OS4zNDI5NS0yMy41NjUwMDVsMC42Nzc5OSAwLjAwMjA0OGMyMy4yOTg5NyAwLjE3MjAzMiA0NS4yMTE5NTUgMTAuMTY5OTU4IDYxLjcxNDAyMiAyOC4xNTA5ODkgMTAuNjM4MDI5IDExLjU5MDk2MyAxNi43MzUwMjcgMjMuODgyMDM1IDE5LjY2NDk5OCAyOS43OTAwMDNsMC43NTIwMjYgMS41MTY5NTQgNzYuNjUyOTU0IDE4My41MTEwNCAyMTYuMDM3OTkgMjAuNjA4IDMuMTY4OTczIDAuNzA2MDQ4YzEzLjU5NTAzNCAzLjAzMDAxNiAzMS4wNDUwMTggOC4xNzEwMDggNDUuNDQ2MDQyIDIxLjEzOTk2OCAxMC44NjMwMDIgOS43ODQwMTMgMjMuODEzMDE4IDI3LjU2NzAwMiAyMy44MTMwMTggNTYuNzI3OTYyIDAgMzIuMDExOTgxLTE3LjkyNjA0MiA1Mi4wMDU5OS0zMS4wMTUwMTQgNjYuNjA0OTU0LTEuNzM1OTg3IDEuOTM1OTc0LTMuNTY5OTcxIDMuOTc5OTgxLTUuNDgwMDM4IDYuMTc1MDI3bC0xLjE1NDA0OCAxLjMyNTk3OC0xLjIzOTk2MiAxLjI0NjAwM2MtMS4wMDcwMDIgMS4wMTA5OTUtMS4wNTUwMjcgMS4wNjAwNDUtMTQzLjM1MDk4OSAxMjkuMTc4MDEgMTQuNjE5MDM0IDY5LjUwNTAyNCA0MS40MTMwMTggMTk3LjY0Mjk1NyA0My42MjU5ODQgMjEzLjUyMDk5OCAzLjE0NTAxMSAyMi40MjMwNC0yLjY5MDk3IDQzLjUwNTA1LTE2LjQ0MDAxMyA1OS4zMTc5NjUtMTAuNDIyOTg5IDExLjk4NzA0Ni0zMC4wMDU5NjUgMjYuMjc2MDQ1LTY0LjEwODk1NCAyNi4yNzYwNDUtOC44MTYwMjYgMC0yMC4zMTI5ODYtMS41MTc5NzgtNDQuNTM0OTg5LTEyLjUzMDk5NWwtMi4zMzY5NzMtMS4wNjMwMTRMNTEyLjUzMTA0NiA4MDguNjY2MDFjLTU2LjA0MDk2IDMyLjMzNTk3NC0xNzcuOTczOTY1IDEwMi41NDIwMjktMTk1LjQzOTAwMiAxMTEuMzI2MDAzQzMwNS45NjQwMzIgOTI1LjU3NzAxMSAyOTQuMDEzOTUyIDkyOC4zOTg5NSAyODEuNTMzMDMgOTI4LjM5ODk1ek0xOTYuNDkwOTU3IDQ0NC43OTYwMDZjMzYuNTMwOTk1IDMxLjQ0NjAxNiAxMDUuMjMwMDI5IDkwLjU1NDk4MiAxNDYuNjk5OTgxIDEyNi4yMzI5ODZsMjQuMzY1OTc4IDIwLjk2MzAyMS03Ljc0MDAwNiAzMS4xOTU5NTVjLTAuMzc3MDM3IDEuNTIxOTcxLTI3LjAxMDA0OCAxMDguODczMDExLTQ0LjEyODA1MSAxNzguMDM0OTk1IDQ3LjE1NzA0My0yNi44Mjc5ODEgMTIwLjAyODk3OS02OC43NzUwMTQgMTcwLjc0Njk4Mi05OC4wOTIwMzJsMjYuMTU5MDAyLTE1LjEyMDk5OCAxOTQuMzYxMDM3IDExMi41NzIwMDZjLTEwLjUxOTk2Mi01MS4zNzM5NzgtMjYuMzE4MDI5LTEyNi44NzQwMS0zNy41NzgwMzUtMTgwLjI0MDk5OGwtNi4yMTMwMTgtMjkuNDQ5MDExIDIyLjM2NzAyNy0yMC4xMzkwMDhjMS4yMzk5NjItMS4xMTU5NTUgOTUuODA2OTc2LTg2LjI2MDAxOSAxNDAuNTc2MDUxLTEyNi41NzEwMDhsLTIyNi44MDE5NzEtMjEuNjM0OTctODcuNTU0MDQ4LTIwOS42MTA5NTctOTEuNTA2OTk1IDIxMS4xODA5NTRMMTk2LjQ5MDk1NyA0NDQuNzk2MDA2eiIgcC1pZD0iMTc5NSIgZmlsbD0iIzAyYTdmMCI+PC9wYXRoPgo8L3N2Zz4="});var Rlt=xe((Hu0,Z7o)=>{var ka=[];ka.push('.icon-eda-x-circle_pi8MN.clear-input-circle_Vhh-r{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.dialog-border_iyr4D{border:1px solid var(--common-border-color-1);padding:16px}.dialog-border_iyr4D .search_ts9uZ{display:inline-block;margin-left:10px;width:40%}.dialog-border_iyr4D .current-message_KEBeX{cursor:default;display:inline-block;margin-left:5%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:22%}.dialog-border_iyr4D .table_SCa52{margin:10px}.dialog-border_iyr4D .table_SCa52 .select_Gi9r-{color:#1890ff}.dialog-border_iyr4D .table_SCa52 .row_CBfUx{height:40px;word-break:break-all;word-wrap:break-word;display:-webkit-box;line-height:22px;overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.dialog-border_iyr4D .table_SCa52 .row_CBfUx .username_C18k7{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dialog-border_iyr4D .table_SCa52 .row_CBfUx>div{height:20px}.dialog-border_iyr4D .table_SCa52 .row_CBfUx .branch-icon_CNU7O{position:relative}.dialog-border_iyr4D .table_SCa52 .row_CBfUx .icon_kTvTs{background-position:50%;background-size:100%;display:inline-block;-webkit-filter:drop-shadow(0 -35px var(--font-color-input));filter:drop-shadow(0 -35px var(--font-color-input));height:16px;margin-top:35px;position:absolute;top:2px;width:16px}.dialog-border_iyr4D .table_SCa52 .row_CBfUx .icon-active_57E0i{top:-33px}.dialog-border_iyr4D .table_SCa52 .row_CBfUx .version-title_5D7n5{height:22px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dialog-border_iyr4D .table_SCa52 .row_CBfUx .version-title_5D7n5 .version-name_7T9I0{margin-left:18px}.dialog-border_iyr4D .table_SCa52 .row_CBfUx .title-tip_sTDu-{font-size:11px}.dialog-border_iyr4D .table_SCa52 .node-box_s3lEU{height:40px;position:relative}.dialog-border_iyr4D .table_SCa52 .node-box_s3lEU .version-node_MNY1A{height:40px;position:absolute;width:20px}.dialog-border_iyr4D .table_SCa52 .node-box_s3lEU .version-node_MNY1A .node_GbBBm{height:20px}.dialog-border_iyr4D .table_SCa52 .node-box_s3lEU .version-node_MNY1A .node_GbBBm .branch-circle_MkpDW,.dialog-border_iyr4D .table_SCa52 .node-box_s3lEU .version-node_MNY1A .node_GbBBm .node-circle_pMfs8{background:#02a7f0;border-radius:16px;height:16px;margin:2px;position:absolute;width:16px}.dialog-border_iyr4D .table_SCa52 .node-box_s3lEU .version-node_MNY1A .node_GbBBm .branch-circle_MkpDW:before{background:var(--bg-color-table-row);border-radius:6px;content:"";display:inline-block;height:12px;margin-left:2px;margin-top:2px;position:absolute;width:12px}.dialog-border_iyr4D .table_SCa52 .node-box_s3lEU .version-node_MNY1A .node_GbBBm .branch-circle_MkpDW .current_eEJmt{background-color:#02a7f0;border-radius:5px;height:8px;margin-left:4px;margin-top:4px;position:absolute;width:8px}.dialog-border_iyr4D .table_SCa52 .node-box_s3lEU .version-node_MNY1A .node_GbBBm .branch-circle-select_7JPdB{background:#02a7f0;border-radius:16px;height:16px;margin:2px;position:absolute;width:16px}.dialog-border_iyr4D .table_SCa52 .node-box_s3lEU .version-node_MNY1A .node_GbBBm .branch-circle-select_7JPdB:before{background:var(--bg-color-selected-tr);border-radius:6px;content:"";display:inline-block;height:12px;margin-left:2px;margin-top:2px;position:absolute;width:12px}.dialog-border_iyr4D .table_SCa52 .node-box_s3lEU .version-node_MNY1A .node_GbBBm .branch-circle-select_7JPdB .current_eEJmt{background-color:#02a7f0;border-radius:5px;height:8px;margin-left:4px;margin-top:4px;position:absolute;width:8px}.dialog-border_iyr4D .table_SCa52 .node-box_s3lEU .version-node_MNY1A .node_GbBBm .end-node_mOQMz{background-position:50%;background-size:110%;height:18px;left:1px;position:absolute;top:9px;width:18px}.dialog-border_iyr4D .table_SCa52 .node-box_s3lEU .version-node_MNY1A .node_GbBBm .root-node_fu4Xx{height:16px;margin:2px;position:absolute;width:16px}.dialog-border_iyr4D .table_SCa52 .node-box_s3lEU .version-node_MNY1A .node_GbBBm .root-node_fu4Xx>div{background-color:#02a7f0;border-radius:2px;position:absolute}.dialog-border_iyr4D .table_SCa52 .node-box_s3lEU .version-node_MNY1A .node_GbBBm .root-node_fu4Xx .root-row_UGnmi{height:8px;margin-top:4px;width:16px}.dialog-border_iyr4D .table_SCa52 .node-box_s3lEU .version-node_MNY1A .node_GbBBm .root-node_fu4Xx .root-col_bBq8m{height:16px;margin-left:4px;width:8px}.dialog-border_iyr4D .table_SCa52 .node-box_s3lEU .version-node_MNY1A .connect-bottom_qHIey,.dialog-border_iyr4D .table_SCa52 .node-box_s3lEU .version-node_MNY1A .connect-top_B-Yp-{height:10px;overflow:hidden;position:relative}.dialog-border_iyr4D .operation_hQosw{margin-left:-10px}.dialog-border_iyr4D .operation_hQosw>span{display:inline-block}.dialog-border_iyr4D .operation_hQosw .operation-icon_Pot9u{background-position:50%;background-size:100%;display:inline-block;-webkit-filter:drop-shadow(0 -28px var(--font-color-input));filter:drop-shadow(0 -28px var(--font-color-input));height:16px;margin-left:9px;margin-top:40px;width:16px}.dialog-border_iyr4D .operation_hQosw .operation-icon_Pot9u:after{content:"";cursor:pointer;display:inline-block;height:16px;position:relative;top:-28px;width:16px}.dialog-border_iyr4D .operation_hQosw .icon-size_irWYj{width:18px}.dialog-border_iyr4D .operation_hQosw .operation-disable_bcW0r{cursor:default;-webkit-filter:var(--icon-color-disabled-toolbar);filter:var(--icon-color-disabled-toolbar);position:relative;top:-28px}.dialog-border_iyr4D .operation_hQosw .active_xLkSa{cursor:pointer;-webkit-filter:drop-shadow(0 -28px #1890ff);filter:drop-shadow(0 -28px #1890ff);margin-top:40px;top:0}.dialog-border_iyr4D .operation_hQosw .active_xLkSa:after{content:"";cursor:pointer;display:inline-block;height:16px;position:relative;top:-28px;width:16px}.search-node_vj2tc{height:20px}.branch-circle_MkpDW,.node-circle_pMfs8{background:#02a7f0;border-radius:16px;height:16px;margin:-10px 2px 2px;position:absolute;width:16px}.branch-circle_MkpDW:before{background:var(--bg-color-table-row);border-radius:6px;content:"";display:inline-block;height:12px;margin-left:2px;margin-top:2px;position:absolute;width:12px}.branch-circle_MkpDW .current_eEJmt{background-color:#02a7f0;border-radius:5px;height:8px;margin-left:4px;margin-top:4px;position:absolute;width:8px}.branch-circle-select_7JPdB{background:#02a7f0;border-radius:16px;height:16px;margin:-10px 2px 2px;position:absolute;width:16px}.branch-circle-select_7JPdB:before{background:var(--bg-color-selected-tr);border-radius:6px;content:"";display:inline-block;height:12px;margin-left:2px;margin-top:2px;position:absolute;width:12px}.branch-circle-select_7JPdB .current_eEJmt{background-color:#02a7f0;border-radius:5px;height:8px;margin-left:4px;margin-top:4px;position:absolute;width:8px}.end-node_mOQMz{background-position:50%;background-size:110%;height:18px;left:7px;position:absolute;top:9px;width:18px}.root-node_fu4Xx{height:16px;margin:-10px 2px 2px;position:absolute;width:16px}.root-node_fu4Xx>div{background-color:#02a7f0;border-radius:2px;position:absolute}.root-node_fu4Xx .root-row_UGnmi{height:8px;margin-top:4px;width:16px}.root-node_fu4Xx .root-col_bBq8m{height:16px;margin-left:4px;width:8px}.search-empty_prPI3{height:30px;line-height:30px;text-align:center;width:100%}.delete-version_giFMw{color:#02a7f0}.node-connect_uWXDD{height:20px;left:9px}.line-connct_UxwM-,.node-connect_uWXDD{background-color:#02a7f0;position:absolute;width:2px}.line-connct_UxwM-{height:10px;margin-left:9px}.line-corner_LSAXi{left:-9px;top:-9px}.line-corner_LSAXi,.line-corner2_fTClx{border:2px solid #02a7f0;border-radius:4px;height:20px;position:absolute;width:20px}.line-corner2_fTClx{left:9px;top:9px}.line-corner3_Dml5p{border:2px solid #02a7f0;height:25px;left:-3px;position:absolute;top:9px;width:25px}.invisible_ilcXS{visibility:hidden}.line-corner-1_HneCU{left:-9px;top:-19px}.line-corner-1_HneCU,.line-corner2-1_ei4Hp{border:2px solid #02a7f0;border-radius:4px;height:20px;position:absolute;width:20px}.line-corner2-1_ei4Hp{left:9px;top:-1px}.line-corner3-1_YLqxv{border:2px solid #02a7f0;height:25px;left:-3px;position:absolute;top:-1px;width:25px}.icon-branch_duIMY{background-image:');ka.push("url(");ka.push(JSON.stringify(B7o()));ka.push(")");ka.push("}.icon-branch-active_det9p{background-image:");ka.push("url(");ka.push(JSON.stringify(z7o()));ka.push(")");ka.push("}.icon-node_YnJds{background-image:");ka.push("url(");ka.push(JSON.stringify(F7o()));ka.push(")");ka.push("}.icon-node-active_LKBIK{background-image:");ka.push("url(");ka.push(JSON.stringify(U7o()));ka.push(")");ka.push("}.icon-branch-default_o5yAX{background-image:");ka.push("url(");ka.push(JSON.stringify(V7o()));ka.push(")");ka.push("}.icon-branch-default-active_xIrcR{background-image:");ka.push("url(");ka.push(JSON.stringify(H7o()));ka.push(")");ka.push("}.icon-branch-start_u9zSS{background-image:");ka.push("url(");ka.push(JSON.stringify(G7o()));ka.push(")");ka.push("}.icon-branch-start-active_OMlrz{background-image:");ka.push("url(");ka.push(JSON.stringify(Y7o()));ka.push(")");ka.push("}.icon-open_TnObv{background-image:");ka.push("url(");ka.push(JSON.stringify(W7o()));ka.push(")");ka.push("}.icon-new-branch_UPHYF{background-image:");ka.push("url(");ka.push(JSON.stringify(G5t()));ka.push(")");ka.push("}.icon-new-node_e5gTW{background-image:");ka.push("url(");ka.push(JSON.stringify(Y5t()));ka.push(")");ka.push("}.icon-edit_Oy4HK{background-image:");ka.push("url(");ka.push(JSON.stringify(JQ()));ka.push(")");ka.push("}.icon-del_RQLvE{background-image:");ka.push("url(");ka.push(JSON.stringify(Q7o()));ka.push(")");ka.push("}.icon-node-end_2Hep-{background-image:");ka.push("url(");ka.push(JSON.stringify(K7o()));ka.push(")");ka.push("}");ka=ka.join("");Z7o.exports={uuid:"ecb1c888-aaf9-4f1a-ac5e-63831ee26a81",locals:{"icon-eda-x-circle":"icon-eda-x-circle_pi8MN","clear-input-circle":"clear-input-circle_Vhh-r","dialog-border":"dialog-border_iyr4D",search:"search_ts9uZ","current-message":"current-message_KEBeX",table:"table_SCa52",select:"select_Gi9r-",row:"row_CBfUx",username:"username_C18k7","branch-icon":"branch-icon_CNU7O",icon:"icon_kTvTs","icon-active":"icon-active_57E0i","version-title":"version-title_5D7n5","version-name":"version-name_7T9I0","title-tip":"title-tip_sTDu-","node-box":"node-box_s3lEU","version-node":"version-node_MNY1A",node:"node_GbBBm","branch-circle":"branch-circle_MkpDW","node-circle":"node-circle_pMfs8",current:"current_eEJmt","branch-circle-select":"branch-circle-select_7JPdB","end-node":"end-node_mOQMz","root-node":"root-node_fu4Xx","root-row":"root-row_UGnmi","root-col":"root-col_bBq8m","connect-bottom":"connect-bottom_qHIey","connect-top":"connect-top_B-Yp-",operation:"operation_hQosw","operation-icon":"operation-icon_Pot9u","icon-size":"icon-size_irWYj","operation-disable":"operation-disable_bcW0r",active:"active_xLkSa","search-node":"search-node_vj2tc","search-empty":"search-empty_prPI3","delete-version":"delete-version_giFMw","node-connect":"node-connect_uWXDD","line-connct":"line-connct_UxwM-","line-corner":"line-corner_LSAXi","line-corner2":"line-corner2_fTClx","line-corner3":"line-corner3_Dml5p",invisible:"invisible_ilcXS","line-corner-1":"line-corner-1_HneCU","line-corner2-1":"line-corner2-1_ei4Hp","line-corner3-1":"line-corner3-1_YLqxv","icon-branch":"icon-branch_duIMY","icon-branch-active":"icon-branch-active_det9p","icon-node":"icon-node_YnJds","icon-node-active":"icon-node-active_LKBIK","icon-branch-default":"icon-branch-default_o5yAX","icon-branch-default-active":"icon-branch-default-active_xIrcR","icon-branch-start":"icon-branch-start_u9zSS","icon-branch-start-active":"icon-branch-start-active_OMlrz","icon-open":"icon-open_TnObv","icon-new-branch":"icon-new-branch_UPHYF","icon-new-node":"icon-new-node_e5gTW","icon-edit":"icon-edit_Oy4HK","icon-del":"icon-del_RQLvE","icon-node-end":"icon-node-end_2Hep-"},toString(){return ka}}});var rko=xe((rp0,oko)=>{var Blt=[];Blt.push(".container_eb59t,.wrapper_7PRN1{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;height:100%}.wrapper_7PRN1{-moz-box-sizing:border-box;box-sizing:border-box}.textarea_X8oM6{font-family:Consolas,monospace,courier new;font-size:16px;height:98%;height:-webkit-calc(100% - 8px);height:-moz-calc(100% - 8px);height:calc(100% - 8px);margin-top:4px;resize:none;text-align:left;white-space:pre;width:100%}");Blt=Blt.join("");oko.exports={uuid:"71b79016-f7a0-480e-bec7-3d5673ac48e3",locals:{container:"container_eb59t",wrapper:"wrapper_7PRN1",textarea:"textarea_X8oM6"},toString(){return Blt}}});var uko=xe((Qh0,dko)=>{var Pte=[];Pte.push("#rightBottomLoadingDialog{bottom:0!important;left:auto!important;position:fixed!important;right:0!important;top:auto!important}#rightBottomLoadingDialog .icon-eda-loading_4zddj{background-image:");Pte.push("url(");Pte.push(JSON.stringify(ZF()));Pte.push(")");Pte.push(";background-repeat:no-repeat;background-size:100%;display:block;height:100%;width:100%}@-webkit-keyframes rotation_t6aOH{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}#rightBottomLoadingDialog .rotation_t6aOH{animation:rotation_t6aOH 1.4s linear infinite;-moz-animation:rotation_t6aOH 1.4s linear infinite;-webkit-animation:rotation_t6aOH 1.4s linear infinite;-o-animation:rotation_t6aOH 1.4s linear infinite;-webkit-transform:rotate(1turn)}#rightBottomLoadingDialog_dialog_box{bottom:0!important;left:auto!important;position:fixed!important;right:0!important;top:auto!important}");Pte=Pte.join("");dko.exports={uuid:"ed4213b3-8df2-4da4-a607-b75823b71400",locals:{"icon-eda-loading":"icon-eda-loading_4zddj",rotation:"rotation_t6aOH"},toString(){return Pte}}});var Yko=xe((Hy0,Gko)=>{var Xlt=[];Xlt.push(".property_panel_CXmiz{background-color:var(--bg-color-panel);height:100%;overflow-x:hidden}");Xlt=Xlt.join("");Gko.exports={uuid:"fa6cc083-9e20-48d6-a500-d211df0b58b8",locals:{property_panel:"property_panel_CXmiz"},toString(){return Xlt}}});var Qko=xe((Gy0,Wko)=>{var $lt=[];$lt.push(".tips_zxDSx{color:red;line-height:20px;margin-bottom:8px;padding-left:8px;padding-right:8px}.tips_zxDSx .buttons_rmD0j{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-justify-content:space-around;justify-content:space-around}");$lt=$lt.join("");Wko.exports={uuid:"b38974e1-3c4b-412d-9b60-2cf11fdc00aa",locals:{tips:"tips_zxDSx",buttons:"buttons_rmD0j"},toString(){return $lt}}});var e9o=xe((B40,$ko)=>{var tct=[];tct.push("*{margin:0;outline:0;padding:0}body,html{-moz-box-sizing:border-box;box-sizing:border-box;color:var(--common-font-color);font-family:Arial Regular,Arial,Microsoft YaHei,serif;font-size:12px}input[type=color],input[type=email],input[type=number],input[type=password],input[type=telephone],input[type=text],select,textarea{-moz-appearance:textfield;background-color:var(--bg-color-input);border:1px solid var(--border-color-input);border-radius:2px;box-shadow:none;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--font-color-input);height:24px;padding:0 8px}input[type=color]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=telephone]:focus,input[type=text]:focus,select:focus,textarea:focus{background-color:var(--bg-color-focus-input);border:1px solid var(--border-color-focus-input);color:var(--font-color-focus-input);outline:0}select{-moz-appearance:none}a{color:#1890ff}a:hover{color:#40a9ff}input::-webkit-input-placeholder{color:var(--font-color-input-placeholder)}input:-moz-placeholder,input::-moz-placeholder{color:var(--font-color-input-placeholder)}input::placeholder{color:var(--font-color-input-placeholder)}::-webkit-scrollbar{background:#f1f1f1;height:8px;width:8px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:8px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.comm-icon-add_JlSDm{border:1px solid #999;border-radius:50%;cursor:pointer;font-style:normal;height:15px;text-align:center;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:15px}.comm-background-color-efefef_eXP3a{background-color:#efefef}.comm-btn-confirm_6OoM-{background:#1890ff;border:1px solid #1890ff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-confirm_6OoM-:hover{background:#40a9ff!important;border:1px solid #40a9ff!important}.comm-btn-cancel_eLaet{background:#fff;border:1px solid #fff;border-radius:2px;-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;font-size:12px;height:28px;min-width:72px;outline:none;padding:0 8px;text-align:center}.comm-btn-cancel_eLaet:hover{border:1px solid #40a9ff!important}.opacity-none_qMcNN,.pointer-events-none_Czr6K{cursor:default;pointer-events:none!important}.opacity-none_qMcNN{opacity:0}.attr-prohibit_7B84-,.display-block_17wvq{display:block}.display-none_R41jD{display:none!important}.display-flex_Hy3bi{display:box;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;display:-moz-flex}.display-inline-flex_4uQyi{display:inline-box;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;display:-webkit-inline-flex;display:-moz-inline-flex}.flex-lateral-axis-center_i2Aw-{box-align:center;-webkit-box-align:center;-moz-box-align:center;align-content:center;-webkit-align-content:center;-moz-align-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center}.flex-lateral-axis-start_hWM6P{box-align:start;-webkit-box-align:start;-moz-box-align:start;align-content:flex-start;-webkit-align-content:flex-start;-moz-align-content:flex-start;align-items:flex-start;-webkit-align-items:flex-start;-moz-align-items:flex-start}.flex-lateral-axis-end_82Mh7{box-align:end;-webkit-box-align:end;-moz-box-align:end;align-content:flex-end;-webkit-align-content:flex-end;-moz-align-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;-moz-align-items:flex-end}.flex-lateral-axis-stretch_HLITh{box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;align-content:stretch;-webkit-align-content:stretch;-moz-align-content:stretch;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch}.flex-main-axis-center_48xpR{box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.flex-main-axis-start_zmWX5{box-pack:start;-webkit-box-pack:start;-moz-box-pack:start;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start}.flex-main-axis-end_6505T{box-pack:end;-webkit-box-pack:end;-moz-box-pack:end;justify-content:flex-end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end}.flex-main-axis-around_kYVuc{justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.flex-main-axis-between_q2JqT{box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between}.flex-nowrap_1lKSy{flex-wrap:nowrap!important;-webkit-flex-wrap:nowrap!important;-moz-flex-wrap:nowrap!important}.flex-wrap_MeA-z{flex-wrap:wrap!important;-webkit-flex-wrap:wrap!important;-moz-flex-wrap:wrap!important}.flex-direct-row_871T3{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-flex-direction:row;-moz-flex-direction:row}.flex-direct-rerow_e4xi4{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse;-webkit-flex-direction:row-reverse;-moz-flex-direction:row-reverse}.flex-direct-column_kdhcP{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-direction:column;-moz-flex-direction:column}.flex-direct-recolumn_OqR7X{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse}.color-black-important_C7qzX{color:#000!important}.color-white-important_kpYF4{color:#fff!important}.bgcolor-red-important_V-tkJ{background-color:#ff0101!important}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:hover{background-color:var(--bg-color-input)!important;box-shadow:0 0 0 1000px var(--bg-color-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}input:-webkit-autofill:focus{background-color:var(--bg-color-focus-input)!important;box-shadow:0 0 0 1000px var(--bg-color-focus-input) inset!important;-webkit-text-fill-color:var(--common-font-color)}textarea::-moz-selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}textarea::selection{background-color:rgba(16,68,174,.929)!important;color:#fff!important}");tct=tct.join("");$ko.exports={uuid:"fd58879b-0f2e-4bd1-9dc2-d59382bf3fdf",locals:{"comm-icon-add":"comm-icon-add_JlSDm","comm-background-color-efefef":"comm-background-color-efefef_eXP3a","comm-btn-confirm":"comm-btn-confirm_6OoM-","comm-btn-cancel":"comm-btn-cancel_eLaet","opacity-none":"opacity-none_qMcNN","pointer-events-none":"pointer-events-none_Czr6K","attr-prohibit":"attr-prohibit_7B84-","display-block":"display-block_17wvq","display-none":"display-none_R41jD","display-flex":"display-flex_Hy3bi","display-inline-flex":"display-inline-flex_4uQyi","flex-lateral-axis-center":"flex-lateral-axis-center_i2Aw-","flex-lateral-axis-start":"flex-lateral-axis-start_hWM6P","flex-lateral-axis-end":"flex-lateral-axis-end_82Mh7","flex-lateral-axis-stretch":"flex-lateral-axis-stretch_HLITh","flex-main-axis-center":"flex-main-axis-center_48xpR","flex-main-axis-start":"flex-main-axis-start_zmWX5","flex-main-axis-end":"flex-main-axis-end_6505T","flex-main-axis-around":"flex-main-axis-around_kYVuc","flex-main-axis-between":"flex-main-axis-between_q2JqT","flex-nowrap":"flex-nowrap_1lKSy","flex-wrap":"flex-wrap_MeA-z","flex-direct-row":"flex-direct-row_871T3","flex-direct-rerow":"flex-direct-rerow_e4xi4","flex-direct-column":"flex-direct-column_kdhcP","flex-direct-recolumn":"flex-direct-recolumn_OqR7X","color-black-important":"color-black-important_C7qzX","color-white-important":"color-white-important_kpYF4","bgcolor-red-important":"bgcolor-red-important_V-tkJ"},toString(){return tct}}});var g9o=xe((gw0,f9o)=>{var Bte=[];Bte.push(".messager-icon_qLxi0{background-position:top;background-repeat:no-repeat;background-size:auto 100%;display:inline-block;height:20px;width:20px}.messager-warning_4PDmu{background-image:");Bte.push("url(");Bte.push(JSON.stringify(d9()));Bte.push(")");Bte.push(";-webkit-filter:invert(63%) sepia(81%) saturate(2292%) hue-rotate(14deg) brightness(113%) contrast(103%);filter:invert(63%) sepia(81%) saturate(2292%) hue-rotate(14deg) brightness(113%) contrast(103%)}");Bte=Bte.join("");f9o.exports={uuid:"eeabf070-2b8c-4b47-b58b-7328e67cb780",locals:{"messager-icon":"messager-icon_qLxi0","messager-warning":"messager-warning_4PDmu"},toString(){return Bte}}});var C9o=xe((vw0,w9o)=>{var nct=[];nct.push(".wrapper-ul_eFEld{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.wrapper-ul_eFEld em{font-style:normal}.content-layer_p6B6I{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.content-layer_p6B6I:not(:last-of-type){margin-bottom:14px}.content-layer_p6B6I input,.content-layer_p6B6I>select{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.layer-title_kCkvG{font-weight:500;margin-right:14px;white-space:nowrap}.attr-title_Sj-Jx{text-align:right;width:76px}.key-title_kxtGA{width:2em}.inline-content_CBgMT,.layer-main_sg3IJ{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.inline-content_CBgMT{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.inline-content_CBgMT:not(:last-of-type){margin-bottom:14px}.inline-layer_oKROT{overflow:hidden;width:-webkit-calc(50% - 7px);width:-moz-calc(50% - 7px);width:calc(50% - 7px)}.inline-layer_oKROT:not(:last-of-type){margin-right:14px}.inline-layer_oKROT input{width:100%}");nct=nct.join("");w9o.exports={uuid:"49e19bbc-ca65-4933-86cb-7ffec3a95b41",locals:{"wrapper-ul":"wrapper-ul_eFEld","content-layer":"content-layer_p6B6I","layer-title":"layer-title_kCkvG","attr-title":"attr-title_Sj-Jx","key-title":"key-title_kxtGA","inline-content":"inline-content_CBgMT","layer-main":"layer-main_sg3IJ","inline-layer":"inline-layer_oKROT"},toString(){return nct}}});var I9o=xe((eC0,M9o)=>{var sct=[];sct.push(".more-setting_NX4fA{color:#1890ff;cursor:pointer;display:inline-block;font-size:12px;line-height:1}.more-setting_NX4fA i,.more-setting_NX4fA span{vertical-align:middle}.more-setting_NX4fA i{border-color:currentcolor currentcolor transparent transparent;border-style:solid;border-width:1.5px;display:inline-block;height:.5em;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg);width:.5em}.more-setting_NX4fA.advanced_6eaaQ i{margin-left:.5em;margin-top:.3em;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}");sct=sct.join("");M9o.exports={uuid:"3f46d39c-b123-4660-921b-24f1ca3efbb1",locals:{"more-setting":"more-setting_NX4fA",advanced:"advanced_6eaaQ"},toString(){return sct}}});var $De=xe((DC0,v9o)=>{var dct=[];dct.push(".tableContainer_X5aJx{border:1px solid var(--common-border-color);padding:20px 20px 5px;width:100%}.tableContainer_X5aJx tbody{width:100%}.tableContainer_X5aJx .rowBox_0Q9fh{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.tableContainer_X5aJx .rowBox_0Q9fh .firstInput_2X8jN{margin-bottom:15px;width:100%}.tableContainer_X5aJx .title_oPmyP{height:24px;line-height:24px;width:105px}.tableContainer_X5aJx .rowInputContainer_ahoPy{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.tableContainer_X5aJx .rowInputContainer_ahoPy,.tableContainer_X5aJx .rowInputContainer_ahoPy .rowContainer_T0cJ4,.tableContainer_X5aJx .rowInputContainer_ahoPy .rowContainer_T0cJ4 .row_q3sv2{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.tableContainer_X5aJx .rowInputContainer_ahoPy .rowContainer_T0cJ4 .row_q3sv2{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:15px}.tableContainer_X5aJx .rowInputContainer_ahoPy .rowContainer_T0cJ4 .row_q3sv2 .rowTitle_zqfjt{width:50px}.tableContainer_X5aJx .rowInputContainer_ahoPy .rowContainer_T0cJ4 .row_q3sv2 .numberTitle_HzukH{-webkit-align-self:flex-end;align-self:flex-end;line-height:24px;width:50px}.tableContainer_X5aJx .rowInputContainer_ahoPy .rowContainer_T0cJ4 .row_q3sv2 .rowInput_w-ybW{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;flex:1;gap:10px}.tableContainer_X5aJx .rowInputContainer_ahoPy .rowContainer_T0cJ4 .row_q3sv2 .rowInput_w-ybW .inputContainer_XEyvD{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.tableContainer_X5aJx .rowInputContainer_ahoPy .rowContainer_T0cJ4 .row_q3sv2 .rowInput_w-ybW .inputContainer_XEyvD .childTitle_r--RF{margin-bottom:5px}.tableContainer_X5aJx .moreSetting_NoGl8{border:1px solid var(--common-border-color-1);-moz-box-sizing:border-box;box-sizing:border-box;color:#1890ff;cursor:pointer;display:block;height:24px;line-height:24px;margin-left:10px;padding:0 10px;text-align:center;width:100px}.pinMoreSetting_aNq-n{color:#1890ff;cursor:pointer;display:inline-block;margin:10px 0;padding:2px 2px 2px 0}.pinMoreSetting_aNq-n .arrow_TzNjm{border:1px solid #1890ff;border-right:none;border-top:none;display:inline-block;height:5px;margin-left:10px;-webkit-transform:rotate(-45deg) translateY(-4px);-moz-transform:rotate(-45deg) translateY(-4px);transform:rotate(-45deg) translateY(-4px);width:5px}.tableMoreContainer_FxSpU{padding-bottom:20px}.tableMoreContainer_FxSpU,.tableMoreContainer_FxSpU tbody{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.tableMoreContainer_FxSpU tbody{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;gap:15px}.tableMoreContainer_FxSpU tbody .pinAttrRow_j-ucq{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.tableMoreContainer_FxSpU tbody .pinAttrRow_j-ucq .attrContainer_KRgRU{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.tableMoreContainer_FxSpU tfoot{margin-left:10px;width:100px}.pinFooter_be00W{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;flex-direction:row-reverse;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.pinFooter_be00W .pinMoreSetting_aNq-n{margin:0}.pinFooter_be00W .pinMoreSetting_aNq-n .arrow_TzNjm{margin-left:6px;-webkit-transform:rotate(-135deg) translateY(1px);-moz-transform:rotate(-135deg) translateY(1px);transform:rotate(-135deg) translateY(1px)}");dct=dct.join("");v9o.exports={uuid:"5389134a-1c14-450c-8fd1-7c0251896a21",locals:{tableContainer:"tableContainer_X5aJx",rowBox:"rowBox_0Q9fh",firstInput:"firstInput_2X8jN",title:"title_oPmyP",rowInputContainer:"rowInputContainer_ahoPy",rowContainer:"rowContainer_T0cJ4",row:"row_q3sv2",rowTitle:"rowTitle_zqfjt",numberTitle:"numberTitle_HzukH",rowInput:"rowInput_w-ybW",inputContainer:"inputContainer_XEyvD",childTitle:"childTitle_r--RF",moreSetting:"moreSetting_NoGl8",pinMoreSetting:"pinMoreSetting_aNq-n",arrow:"arrow_TzNjm",tableMoreContainer:"tableMoreContainer_FxSpU",pinAttrRow:"pinAttrRow_j-ucq",attrContainer:"attrContainer_KRgRU",pinFooter:"pinFooter_be00W"},toString(){return dct}}});var _9o=xe((vx0,R9o)=>{var mct=[];mct.push(".to-specific-page-table_o0tEy td{height:40px;min-width:100px}.to-specific-page-table_o0tEy .dialog-button_Jovm5{text-align:right}");mct=mct.join("");R9o.exports={uuid:"195e624b-37b5-406a-a297-41daadc870e9",locals:{"to-specific-page-table":"to-specific-page-table_o0tEy","dialog-button":"dialog-button_Jovm5"},toString(){return mct}}});var F9o=xe((_x0,z9o)=>{var Fte=[];Fte.push(".messager-icon_uCEgQ{background-position:top;background-repeat:no-repeat;background-size:auto 100%;display:inline-block;height:20px;width:20px}.messager-warning_eAwrj{background-image:");Fte.push("url(");Fte.push(JSON.stringify(d9()));Fte.push(")");Fte.push(";-webkit-filter:invert(63%) sepia(81%) saturate(2292%) hue-rotate(14deg) brightness(113%) contrast(103%);filter:invert(63%) sepia(81%) saturate(2292%) hue-rotate(14deg) brightness(113%) contrast(103%)}");Fte=Fte.join("");z9o.exports={uuid:"594e236c-c442-4cdc-a495-c7e7b2c275b1",locals:{"messager-icon":"messager-icon_uCEgQ","messager-warning":"messager-warning_eAwrj"},toString(){return Fte}}});var tPo=xe((N50,ePo)=>{var xct=[];xct.push("");xct=xct.join("");ePo.exports={uuid:"637fd1ef-8160-4134-9fe0-592132812b93",locals:{},toString(){return xct}}});var dPo=xe((kS0,cPo)=>{var Sct=[];Sct.push(".property_panel_Wxe8Z{background-color:var(--bg-color-panel);overflow-x:hidden}");Sct=Sct.join("");cPo.exports={uuid:"fa2dd366-97db-4f32-a206-4123b58845c5",locals:{property_panel:"property_panel_Wxe8Z"},toString(){return Sct}}});var APo=xe((AM0,EPo)=>{var Dct=[];Dct.push(".property_panel_Wabq5{background-color:var(--bg-color-panel);overflow-x:hidden}");Dct=Dct.join("");EPo.exports={uuid:"10d85e05-9eaf-4693-934c-c6dda36662ff",locals:{property_panel:"property_panel_Wabq5"},toString(){return Dct}}});var _Po=xe((j60,RPo)=>{var kct=[];kct.push(".property_panel_FJtHE{background-color:var(--bg-color-panel);overflow-x:hidden}");kct=kct.join("");RPo.exports={uuid:"3aa655b7-3060-4351-8242-0cd731df9180",locals:{property_panel:"property_panel_FJtHE"},toString(){return kct}}});var VPo=xe((KI0,UPo)=>{var Oct=[];Oct.push(".property_panel_DalZi{background-color:var(--bg-color-panel);overflow-x:hidden}");Oct=Oct.join("");UPo.exports={uuid:"3cae4c7e-a581-496a-af7a-f7b977ae2edc",locals:{property_panel:"property_panel_DalZi"},toString(){return Oct}}});var YPo=xe((LL0,GPo)=>{var _ct=[];_ct.push(".property_panel_ZCLCP{background-color:var(--bg-color-panel);overflow-x:hidden}");_ct=_ct.join("");GPo.exports={uuid:"152d6d12-5748-4c9e-8e81-88081c09fa02",locals:{property_panel:"property_panel_ZCLCP"},toString(){return _ct}}});var sOo=xe((S70,aOo)=>{var Uct=[];Uct.push(".client-activationInfo_rOW96{-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;display:block;font-size:14px;height:100%;left:50%;line-height:32px;overflow:hidden;position:absolute;text-overflow:ellipsis;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%);white-space:nowrap}.client-drag-area_MFUON{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;flex-grow:1;-webkit-app-region:drag;-webkit-user-select:none;-moz-user-select:none;user-select:none}");Uct=Uct.join("");aOo.exports={uuid:"39485aad-9d30-4225-b664-1187390da60a",locals:{"client-activationInfo":"client-activationInfo_rOW96","client-drag-area":"client-drag-area_MFUON"},toString(){return Uct}}});var jQt=xe((J70,dOo)=>{var Xk=[];Xk.push('.icon-eda-x-circle_swg8W.clear-input-circle_rhFoo{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}#userbar{-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-shrink:0;flex-shrink:0;height:32px;padding-left:8px;z-index:999}#userbar .bell_99eON{color:#fff;cursor:pointer;display:inline-block;font-size:20px;margin:5px 16px 0 0;position:relative;text-decoration:none;-webkit-transform-origin:top center;-moz-transform-origin:top center;transform-origin:top center}#userbar .bell_99eON.hide_3z7Lp{display:none}#userbar .bell_99eON .icon-eda-bell_nR1iC{display:inline-block;-webkit-filter:invert(99%) sepia(1%) saturate(2679%) hue-rotate(174deg) brightness(109%) contrast(101%);filter:invert(99%) sepia(1%) saturate(2679%) hue-rotate(174deg) brightness(109%) contrast(101%);height:18px;position:relative;top:2px;width:18px}#userbar .bell_99eON #userNotification{background:red;border-radius:50%;color:#fff;display:none;font-size:12px;height:8px;position:absolute;right:-2px;text-align:center;text-decoration:none;top:2px;width:8px}.uploadTool_f-sz9{-webkit-align-self:center;align-self:center;cursor:pointer;display:none;float:left;height:25px;margin-right:16px;padding:0;position:relative;width:auto}.uploadTool_f-sz9 span{color:#fff;display:inline-block;height:18px;opacity:1}.uploadTool_f-sz9 .icon_apbD9{position:relative}.uploadTool_f-sz9 .icon_apbD9,.uploadTool_f-sz9 .icon-bg_4x3Zl{background-repeat:no-repeat;height:18px;top:3px;width:18px}.uploadTool_f-sz9 .icon-bg_4x3Zl{position:absolute}.userWorkSpace_bddXU{background:transparent;cursor:pointer;float:left;height:32px;margin-right:8px;position:relative}.userWorkSpace_bddXU .selectItem_o-6FT{color:#fff;line-height:32px;padding-right:20px;position:relative}.userWorkSpace_bddXU .selectItem_o-6FT:after{border:5px solid transparent;border-top-color:#fff;content:"";display:block;height:0;position:absolute;right:0;top:13px;width:0}.workSpace-list_L2-kP{background-color:var(--bg-color-drop-down-menu);border:1px solid var(--common-border-color);box-shadow:1px 1px 6px 0 rgba(38,44,50,.2);list-style:none;min-width:150px;position:absolute;right:-10px;z-index:999}.workSpace-list_L2-kP li{cursor:pointer;height:32px;line-height:32px;padding:0 10px;white-space:nowrap}.workSpace-list_L2-kP li:hover{background:var(--bg-toolbar-icon-hover);color:var(--common-hover-font-color)}.workSpace-list_L2-kP li.selected-item_GEiTH,.workSpace-list_L2-kP li:active{color:var(--common-selected-font-color)}.workSpace-list_L2-kP li.selected-item_GEiTH{background:var(--bg-toolbar-icon-selected)}.app-window-controls_UE8cn{-webkit-app-region:no-drag;background-color:var(--bg-color-top-bar);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;z-index:99999}@font-face{font-display:block;font-family:icon;font-style:normal;font-weight:400;src:');Xk.push("url(");Xk.push('"data:font/truetype;base64,AAEAAAALAIAAAwAwT1MvMg8SBdkAAAC8AAAAYGNtYXAXVtKLAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZvxRvH0AAAF4AAADqGhlYWQfFE1SAAAFIAAAADZoaGVhB8ADygAABVgAAAAkaG10eBoAAdwAAAV8AAAAJGxvY2EBJgKiAAAFoAAAABRtYXhwAA4A0gAABbQAAAAgbmFtZVA88dwAAAXUAAABYnBvc3QAAwAAAAAHOAAAACAAAwOrAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBAPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QT//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAIBnQP+AeMADgAAEyEyFhUUBiMhIiY1NDYzJQO2EhEREvxKEhEREgHjERISERESEhEAAgBrACsDlgNWAAMAFgAAAREhESUhIgYVERQWMyEyNjURNCYjOAEDVv1UArD9TBgjIxgCtBkjIxkDFv1VAqtAIxn9TBgjIxgCtBkjAAMAQABAA8ADQAAHAAsAEQAAARUjESE1MxEBIREhEyMRITUhAQDAAsDA/wD9wAJAwID+QAJAA0DA/cDAAkD9QAHA/wABQIAAAAEA1QCVAysC6wAQAAABFxUjJwcjNTcnNTMXNzMVBwI+7T/s7D/t7T/s7D/tAcDsP+3tP+zsP+3tP+wAAAQAWgAAA6YDeQBoAKsAtwDPAAABJz4BNTQmJzc+AS8BLgEvAS4BDwEuAS8BLgEnIyYiByMOAQ8BDgEHJyYGDwEOAQ8BBhYfAQ4BFRQWFwcOAR8BHgEfAR4BPwEeAR8BHgEfAR4BMzI2PwE+AT8BPgE3FxY2PwE+AT8BNiYnHgEVFAYPARcOAQcnBw4BDwIGIi8CLgEvAQcuASc3Jy4BNTQ2PwEnPgE3Fzc+AT8CNjIfAh4BHwE3HgEXBxclIgYVFBYzMjY1NCYXDgEjIiYnLgE1NDY3PgEzMhYXHgEVFAYDnUIDAgIDQgcFAwENKBsBBxMJUhYyGxACDgoDJ1EnAgoOAhAbMhZSCRMHAhooDQEEBQhCAgICAkIIBQQBDSgaAgcTCVIWMhsQAg4KAhQoFBQoEwMKDgIQGzIWUgkTBwEbKA0BAwWQAgICAgZKCBUNXR8SKBYmEhUrFRIlFicSH14NFQhLBgICAgIGSwgVDV4fEicWJhEVKxUSJhYoEh9dDRUISgb+7ElnZ0lJZ2cGECkWFikQEBEREBApFhYpEBAREQFOOA8dDg8dDjgGFAkDJkUfAgcFAx0THQpVCg4CBwcCDgpVCx0SHQMFBwIfRiUDCRQGOQ4cDw4dDjkGEwoCJkUfAggFAx0SHQpWCQ4CAQMEBAMBAg4JVQsdEh0DBQgCH0UmAgoTpgsXDAwXCyhAFCURIRoOFwgPYQICYg4IFw8aIhIlE0EoCxcLCxcMKEAUJBIiGg8XCA5iAgJhDwgXDxkgESUTQCiMZ0lJZ2dJSWf/EBEREBApFhYpEBARERAQKRYWKQAAAAABAAAAAQAA1DBLjV8PPPUACwQAAAAAAN38BG4AAAAA3fwEbgAAAAAD/gN5AAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAP+AAEAAAAAAAAAAAAAAAAAAAAJBAAAAAAAAAAAAAAAAgAAAAQAAAIEAABrBAAAQAQAANUEAABaAAAAAAAKABQAHgA4AF4AggCgAdQAAQAAAAkA0AAEAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAQAAAABAAAAAAACAAcARQABAAAAAAADAAQALQABAAAAAAAEAAQAWgABAAAAAAAFAAsADAABAAAAAAAGAAQAOQABAAAAAAAKABoAZgADAAEECQABAAgABAADAAEECQACAA4ATAADAAEECQADAAgAMQADAAEECQAEAAgAXgADAAEECQAFABYAFwADAAEECQAGAAgAPQADAAEECQAKADQAgGljb24AaQBjAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb24AaQBjAG8Abmljb24AaQBjAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb24AaQBjAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="');Xk.push(")");Xk.push(' format("truetype")}.app-window-controls_UE8cn button{font-family:icon!important;-webkit-font-feature-settings:normal;-moz-font-feature-settings:normal;font-feature-settings:normal;font-size:18px;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:transparent;border:0;color:#fff;cursor:pointer;height:32px!important;margin:0;min-width:50px!important;vertical-align:middle;width:50px!important;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.app-window-controls_UE8cn button:hover{background-color:hsla(0,0%,100%,.5)}.app-window-controls_UE8cn button[data-type=_min]:before{content:"\\e900"}.app-window-controls_UE8cn button[data-type=_max]:before{content:"\\e901"}.app-window-controls_UE8cn button[data-type=_restore]:before{content:"\\e902"}.app-window-controls_UE8cn button[data-type=_close]:before{content:"\\e903"}.app-window-controls_UE8cn button[data-type=_settings]:before{content:"\\e904"}.app-window-controls_UE8cn button[data-type=_close]:hover{background-color:red}#userAvatarBox{display:inline-block;height:100%;margin-right:20px;position:relative;text-align:center;width:32px}#userAvatarBox:hover{background:rgba(0,0,0,.15);cursor:pointer}#userAvatarBox img{border:1px solid var(--common-border-color);border-radius:50%;height:24px;margin-top:2px;max-height:26px;max-width:26px;vertical-align:text-top;width:24px}#userAvatarBox a{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}#userAvatarBox #loginUsername{color:#fff;display:inline-block;line-height:32px;margin-left:8px;max-width:100px;overflow:hidden;padding-right:18px;position:relative;text-overflow:ellipsis;white-space:nowrap}#userAvatarBox #loginUsername .triangle_eDRZg{border:5px solid transparent;border-top-color:#fff;display:block;height:0;margin-left:-10px;margin-top:-12px;position:absolute;right:0;top:25px;width:0}#userAvatarBox #mm-common-user{background:var(--bg-color-drop-down-menu);border:1px solid var(--border-color-drop-down-menu);box-shadow:1px 1px 6px 0 rgba(0,0,0,-webkit-calc(var(--has-shadow-drop-down-menu)*0.2));box-shadow:1px 1px 6px 0 rgba(0,0,0,-moz-calc(var(--has-shadow-drop-down-menu)*0.2));box-shadow:1px 1px 6px 0 rgba(0,0,0,calc(var(--has-shadow-drop-down-menu)*.2));color:var(--font-color-drop-down-menuItem);display:none;min-width:150px;padding-top:0;position:absolute;right:-15px;top:38px}#userAvatarBox #mm-common-user:after{border:6px solid transparent;border-bottom-color:#fff;content:"";height:0;left:115px;position:absolute;top:-12px;width:0}#userAvatarBox #mm-common-user .menu-item_N-6yE{background-color:var(--bg-color-drop-down-menuItem);color:var(--font-color-drop-down-menuItem);cursor:pointer;font-size:12px;height:32px;line-height:32px;margin:0;padding:0 2px 0 32px;position:relative;text-align:left;white-space:nowrap}#userAvatarBox #mm-common-user .menu-item_N-6yE:last-child{border-top:1px solid var(--separator-color-drop-down-menu)}#userAvatarBox #mm-common-user .menu-item_N-6yE i[class*=icon-]{display:block;-webkit-filter:var(--icon-color-drop-down-menuItem);filter:var(--icon-color-drop-down-menuItem);height:16px;left:16px;position:absolute;top:7px;width:16px}#userAvatarBox #mm-common-user .menu-item_N-6yE .menu-icon_SKIUo{font-size:12px;top:8px}#userAvatarBox #mm-common-user .menu-item_N-6yE span{display:inline-block;height:32px;line-height:32px;margin-left:8px;width:100%}#userAvatarBox #mm-common-user .menu-item_N-6yE:hover{background:var(--bg-color-hover-drop-down-menuItem);color:var(--font-color-hover-drop-down-menuItem)}#userAvatarBox #mm-common-user .menu-item_N-6yE:active{color:var(--font-color-selected-down-menuItem)}#userAvatarBox #mm-common-user .menu-item_N-6yE:active i[class*=icon-]{-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%)}#userAvatarBox #mm-common-user .user-avatar_Z177d{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;padding:3px 16px}#userAvatarBox #mm-common-user .user-avatar_Z177d img{border:1px solid #ddd;border-radius:50%;height:26px;margin-right:10px;width:26px}#userAvatarBox #mm-common-user .user-avatar_Z177d span{line-height:20px;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#userAvatarBox #mm-common-user .user-avatar_Z177d:hover{background:var(--bg-color-hover-drop-down-menuItem);color:var(--font-color-hover-drop-down-menuItem)}#userAvatarBox #mm-common-user .user-avatar_Z177d:active{color:#39f}#userAvatarBox #mm-common-user .user-avatar_Z177d:active i[class*=icon-]{-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%)}#userAvatarBox #mm-common-user #workSpace{background-color:var(--bg-color-drop-down-menuItem);text-align:left}#userAvatarBox #mm-common-user #workSpace .workSpace_Tz10r{border-top:1px solid var(--separator-color-drop-down-menu)}#userAvatarBox #mm-common-user #workSpace a{background-color:var(--bg-color-drop-down-menuItem);color:inherit;color:var(--font-color-drop-down-menuItem);display:block;line-height:32px;max-width:160px;overflow:hidden;padding:0 16px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}#userAvatarBox #mm-common-user #workSpace a:hover{background-color:var(--bg-color-hover-drop-down-menuItem);color:var(--font-color-hover-drop-down-menuItem)}#userAvatarBox #mm-common-user #workSpace a:active{background-color:var(--bg-color-selected-drop-down-menuItem);color:var(--font-color-selected-down-menuItem)}#userAvatarBox #mm-common-user #workSpace a:active i{-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%)}#userAvatarBox #mm-common-user #workSpace a i{display:inline-block;height:20px;vertical-align:middle;width:20px}#userAvatarBox #mm-common-user #workSpace ul{border-top:1px solid var(--separator-color-drop-down-menu);list-style:none}#register-btn{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-align-self:center;align-self:center;background-color:#fa7701;border-radius:5px;color:#fff;font-weight:700;height:28px;margin-right:20px;padding:0 10px;text-decoration:none}#login-btn{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-align-self:center;align-self:center;border:0;color:#fff;height:28px;margin-right:12px;text-decoration:none}.version-info_Lz-d9{-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:14px;height:100%;line-height:32px;margin-right:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-app-region:drag;-webkit-user-select:none;-moz-user-select:none;user-select:none}@media (max-width:762px){.version-info_Lz-d9{display:none}}#language{cursor:pointer;display:inline-block;margin:10px 16px 0 0;position:relative}#language .icon_apbD9{border:1px solid #fff;display:inline-block;height:10px;width:16px}#language .language-list_2AqBF{background:var(--bg-color-drop-down-menu);border-radius:4px;box-shadow:var(--language-list-shadow);color:var(--common-font-color);display:none;left:-56px;min-width:160px;position:absolute;top:22px;z-index:10}#language .language-list_2AqBF>div{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;padding:10px 15px}#language .language-list_2AqBF>div:not(:last-child){border-bottom:1px solid var(--common-border-color)}#language .language-list_2AqBF>div:hover{color:var(--font-color-hover-drop-down-menuItem)}#language .language-list_2AqBF:before{border-bottom:8px solid var(--border-color-language);border-left:6px solid transparent;border-right:6px solid transparent;content:"";display:inline-block;height:0;left:54px;position:absolute;top:-6px;width:0}#language .language-icon_fGr7K{display:inline-block;height:12px;margin-right:8px;width:16px}#language .language-en-text_9EIHY{color:#fff}#language .language_en_UBDbW{background-position:-36px -26px}#language .language_zh-hans_bhGnK{background-position:0 -1196px}#userbar .icon-eda-zoom-small{background-size:16px 16px;-webkit-filter:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);filter:invert(100%) sepia(76%) saturate(72%) hue-rotate(247deg) brightness(120%) contrast(80%);height:16px;width:16px}.global-search-wrapper_05GGj{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:100%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-right:8px;min-width:32px;position:relative}.global-search-wrapper_05GGj .hide_3z7Lp{display:none!important}.global-search-wrapper-input_IJqmJ{background:var(--bg-color-top-search);position:absolute;right:0;width:180px;z-index:98;-webkit-app-region:no-drag;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.global-search-wrapper-input_IJqmJ .custom-input_It2GK{color:var(--common-font-color)!important;height:24px;width:88px}.global-search-wrapper-input_IJqmJ .custom-input_It2GK,.global-search-wrapper-input_IJqmJ .drop-select_vhWuj{background:hsla(0,0%,100%,.3);border:initial;-moz-box-sizing:border-box;box-sizing:border-box}.global-search-wrapper-input_IJqmJ .drop-select_vhWuj{border-radius:0;color:#fff!important;position:relative;width:auto}.global-search-wrapper_05GGj .global-search-icon_Lj8bt{background-color:var(--bg-color-top-search);height:24px;width:32px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;cursor:pointer;justify-content:center;position:absolute;right:0;z-index:99}.avatar-wrap_Vm1mU,.global-search-wrapper_05GGj .global-search-icon_Lj8bt{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.avatar-wrap_Vm1mU{border-right:1px solid var(--common-border-color);margin:0 8px}.avatar-wrap_Vm1mU img{height:24px;width:24px}.avatar-wrap_Vm1mU img,.avatar-wrap_Vm1mU span{border:1px solid var(--common-border-color);border-radius:50%}.avatar-wrap_Vm1mU span{-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;height:8px;left:-7px;position:relative;top:18px;width:8px}.avatar-wrap_Vm1mU .more-container_WYbye{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;background-color:var(--bg-color-top-bar-more);color:var(--common-font-color);cursor:pointer;height:26px;justify-content:center;line-height:26px;min-width:26px;text-align:center}.avatar-img_oKFMa,.avatar-wrap_Vm1mU .more-container_WYbye{border:1px solid var(--common-border-color);border-radius:50%}.avatar-img_oKFMa{height:24px;width:24px}.color-span_gXfqf{border:1px solid var(--common-border-color);border-radius:50%;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;height:8px;left:-6px;min-width:8px;position:relative;top:16px;width:8px}.arr-icon_Znack{background-image:');Xk.push("url(");Xk.push(JSON.stringify(I2()));Xk.push(")");Xk.push(";background-position:50%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:24px;-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);transform:rotate(180deg);width:24px}.rotation_jOOe1{-webkit-animation:rotation_jOOe1 1.4s linear infinite;-moz-animation:rotation_jOOe1 1.4s linear infinite;animation:rotation_jOOe1 1.4s linear infinite;-webkit-transform:translate(1px,3px) rotate(0deg);-moz-transform:translate(1px,3px) rotate(0deg);transform:translate(1px,3px) rotate(0deg);-webkit-transform-origin:8.5px 10.1px;-moz-transform-origin:8.5px 10.1px;transform-origin:8.5px 10.1px}@-webkit-keyframes rotation_jOOe1{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-moz-keyframes rotation_jOOe1{0%{-moz-transform:rotate(0deg);transform:rotate(0deg)}to{-moz-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotation_jOOe1{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);-moz-transform:rotate(1turn);transform:rotate(1turn)}}");Xk=Xk.join("");dOo.exports={uuid:"e3d5eaba-4ad2-41be-be7a-3840f2e871b0",locals:{"icon-eda-x-circle":"icon-eda-x-circle_swg8W","clear-input-circle":"clear-input-circle_rhFoo",bell:"bell_99eON",hide:"hide_3z7Lp","icon-eda-bell":"icon-eda-bell_nR1iC",uploadTool:"uploadTool_f-sz9",icon:"icon_apbD9","icon-bg":"icon-bg_4x3Zl",userWorkSpace:"userWorkSpace_bddXU",selectItem:"selectItem_o-6FT","workSpace-list":"workSpace-list_L2-kP","selected-item":"selected-item_GEiTH","app-window-controls":"app-window-controls_UE8cn",triangle:"triangle_eDRZg","menu-item":"menu-item_N-6yE","menu-icon":"menu-icon_SKIUo","user-avatar":"user-avatar_Z177d",workSpace:"workSpace_Tz10r","version-info":"version-info_Lz-d9","language-list":"language-list_2AqBF","language-icon":"language-icon_fGr7K","language-en-text":"language-en-text_9EIHY",language_en:"language_en_UBDbW","language_zh-hans":"language_zh-hans_bhGnK","global-search-wrapper":"global-search-wrapper_05GGj","global-search-wrapper-input":"global-search-wrapper-input_IJqmJ","custom-input":"custom-input_It2GK","drop-select":"drop-select_vhWuj","global-search-icon":"global-search-icon_Lj8bt","avatar-wrap":"avatar-wrap_Vm1mU","more-container":"more-container_WYbye","avatar-img":"avatar-img_oKFMa","color-span":"color-span_gXfqf","arr-icon":"arr-icon_Znack",rotation:"rotation_jOOe1"},toString(){return Xk}}});var pOo=xe((X70,uOo)=>{var Vct=[];Vct.push('.tooltip-container_5nNlR{display:inline-block}.tooltip-content_4wrhG{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background-color:var(--bg-color-tooltip);border:#222;border-radius:4px;color:#fff;min-height:23px;opacity:1;padding:5px 10px;pointer-events:none;position:absolute;-webkit-transform:translate(-50%);-moz-transform:translate(-50%);transform:translate(-50%);-webkit-transition:opacity .3s ease,-webkit-transform .3s ease;transition:opacity .3s ease,-webkit-transform .3s ease;-moz-transition:opacity .3s ease,transform .3s ease,-moz-transform .3s ease;transition:opacity .3s ease,transform .3s ease;transition:opacity .3s ease,transform .3s ease,-webkit-transform .3s ease,-moz-transform .3s ease;white-space:nowrap;z-index:99999}.tooltip-content_4wrhG:before{border-bottom:5px solid var(--bg-color-tooltip);border-left:5px solid transparent;border-right:5px solid transparent;content:"";height:0;left:50%;position:absolute;top:-5px;-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%);width:0}');Vct=Vct.join("");uOo.exports={uuid:"044104ab-db60-41d1-86c6-276efeeaa054",locals:{"tooltip-container":"tooltip-container_5nNlR","tooltip-content":"tooltip-content_4wrhG"},toString(){return Vct}}});var wOo=xe((Gk0,yOo)=>{var Hct=[];Hct.push(".icon-eda-x-circle_SQTqy.clear-input-circle_WtK-I{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.top-wrap_e-cph{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;background:var(--bg-color-top-bar);height:32px;justify-content:space-between;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.ecadWrap_LXYbh{background:#2b579a}");Hct=Hct.join("");yOo.exports={uuid:"46744415-14e4-49d4-bc30-623fe84488e5",locals:{"icon-eda-x-circle":"icon-eda-x-circle_SQTqy","clear-input-circle":"clear-input-circle_WtK-I","top-wrap":"top-wrap_e-cph",ecadWrap:"ecadWrap_LXYbh"},toString(){return Hct}}});var TOo=xe((qk0,xOo)=>{var Gct=[];Gct.push(".property_panel_867v6{background-color:var(--bg-color-panel);overflow-x:hidden}");Gct=Gct.join("");xOo.exports={uuid:"bb8f4b83-a949-4351-b4b7-8f1a72929ab3",locals:{property_panel:"property_panel_867v6"},toString(){return Gct}}});var MOo=xe((Xk0,SOo)=>{var Yct=[];Yct.push(".tips_KhU4r{color:red;line-height:20px;margin-bottom:8px;padding-left:8px;padding-right:8px}.tips_KhU4r .buttons_yaEzL{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-justify-content:space-around;justify-content:space-around}");Yct=Yct.join("");SOo.exports={uuid:"9905921c-3a2a-4834-97fa-c96384525634",locals:{tips:"tips_KhU4r",buttons:"buttons_yaEzL"},toString(){return Yct}}});var QQt=xe((Uz0,rRo)=>{var Zct=[];Zct.push('.tree-container_sRKJW{width:100%}.tree-rowline_k8fds{color:currentColor;color:var(--font-color-tree);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;position:relative}.tree-rowline_k8fds.a_0QRod{outline:none;text-decoration:none}.tree-rowline_k8fds .tree-content_QLoMm{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-webkit-align-content:center;align-content:center;align-items:center;white-space:nowrap;word-break:break-all;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;font-size:12px;padding-left:3px}.tree-rowline_k8fds .tree-content-selected_RsXER{background-color:var(--bg-color-selected-drop-down-menuItem);color:var(--font-color-selected-down-menuItem)}.tree-rowline_k8fds .tree-content-disabled_GTf8p{color:var(--font-color-disabled-drop-down-menuItem);pointer-events:none}.tree-rowline_k8fds .tree-content-underline_QFvEk{border-bottom:1px solid #dcdcdc}.tree-rowline-selected_I6qGB{background-color:var(--bg-color-selected-drop-down-menuItem);color:var(--font-color-selected-down-menuItem)}.tree-rowline-can-hover_3eKkq:hover,.tree-rowline-hover_Nlsy8{background-color:var(--bg-color-hover-drop-down-menuItem)}.tree-rowline_k8fds .tree-blank_jdBe7,.tree-rowline_k8fds .tree-extends_ZrjJ1,.tree-rowline_k8fds .tree-usertips-line_jMXy1,.tree-rowline_k8fds .tree-usertips-line-fork_ceubB,.tree-rowline_k8fds .tree-usertips-line-middle_9JszZ,.tree-rowline_k8fds .tree-usertips-line-turn_ov3UU{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-webkit-flex-shrink:0;flex-shrink:0;height:auto;justify-content:center;padding:0;width:var(--tree-widget-item-width)}.tree-rowline_k8fds .tree-usertips-line-middle_9JszZ{width:-webkit-calc(var(--tree-widget-item-width)*0.5);width:-moz-calc(var(--tree-widget-item-width)*0.5);width:calc(var(--tree-widget-item-width)*.5)}.tree-rowline_k8fds .tree-usertips-line-fork_ceubB:after,.tree-rowline_k8fds .tree-usertips-line-fork_ceubB:before,.tree-rowline_k8fds .tree-usertips-line-middle_9JszZ:before,.tree-rowline_k8fds .tree-usertips-line-turn_ov3UU:after,.tree-rowline_k8fds .tree-usertips-line-turn_ov3UU:before,.tree-rowline_k8fds .tree-usertips-line_jMXy1:before{background-color:var(--font-color-tree);content:"";display:inline-block;opacity:.45}.tree-rowline_k8fds .tree-usertips-line_jMXy1:before{height:100%;width:1px}.tree-rowline_k8fds .tree-usertips-line-middle_9JszZ:before{height:1px;width:100%}.tree-rowline_k8fds .tree-usertips-line-turn_ov3UU{position:relative}.tree-rowline_k8fds .tree-usertips-line-turn_ov3UU:before{height:50%;left:-webkit-calc(50% - .5px);left:-moz-calc(50% - .5px);left:calc(50% - .5px);position:absolute;top:0;width:1px}.tree-rowline_k8fds .tree-usertips-line-turn_ov3UU:after{height:1px;left:50%;position:absolute;top:-webkit-calc(50% - .5px);top:-moz-calc(50% - .5px);top:calc(50% - .5px);width:50%}.tree-rowline_k8fds .tree-usertips-line-fork_ceubB{position:relative}.tree-rowline_k8fds .tree-usertips-line-fork_ceubB:before{height:100%;left:-webkit-calc(50% - .5px);left:-moz-calc(50% - .5px);left:calc(50% - .5px);position:absolute;top:0;width:1px}.tree-rowline_k8fds .tree-usertips-line-fork_ceubB:after{height:1px;left:50%;position:absolute;top:-webkit-calc(50% - .5px);top:-moz-calc(50% - .5px);top:calc(50% - .5px);width:50%}.tree-extends-icon_KtVQh{cursor:pointer;-webkit-filter:var(--icon-color-drop-down-menuItem);filter:var(--icon-color-drop-down-menuItem)}.tree-extends-box_hjBdd{border:1px solid rgba(0,0,0,.4);-moz-box-sizing:border-box;box-sizing:border-box;height:14px;position:relative;width:14px}.tree-extends-box_hjBdd:after,.tree-extends-box_hjBdd:before{background-color:rgba(0,0,0,.4);content:"";left:50%;line-height:100%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-moz-transition:transform .3s,-moz-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s,-moz-transform .3s}.tree-extends-box_hjBdd:before{height:1px;width:60%}.tree-extends-box_hjBdd:after{height:60%;width:1px}.tree-extends-box-active_1YXBb:after{-webkit-transform:translate(-50%,-50%) rotate(90deg);-moz-transform:translate(-50%,-50%) rotate(90deg);transform:translate(-50%,-50%) rotate(90deg)}.tree-extends-triangle_ZEOn1{-moz-box-sizing:border-box;box-sizing:border-box;height:14px;position:relative;width:14px}.tree-extends-triangle_ZEOn1:before{border:5px solid transparent;border-left-color:rgba(0,0,0,.4);content:"";left:50%;line-height:100%;position:absolute;top:50%;-webkit-transform:translateY(-45%) scale(1.25);-moz-transform:translateY(-45%) scale(1.25);transform:translateY(-45%) scale(1.25);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-moz-transition:transform .3s,-moz-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s,-moz-transform .3s}.tree-extends-triangle-active_BLSMh:before{-webkit-transform:translate(-50%,-20%) rotate(90deg) scale(1.25);-moz-transform:translate(-50%,-20%) rotate(90deg) scale(1.25);transform:translate(-50%,-20%) rotate(90deg) scale(1.25)}');Zct=Zct.join("");rRo.exports={uuid:"a5591336-e9eb-405c-9ed8-80c9ffd7dba4",locals:{"tree-container":"tree-container_sRKJW","tree-rowline":"tree-rowline_k8fds",a:"a_0QRod","tree-content":"tree-content_QLoMm","tree-content-selected":"tree-content-selected_RsXER","tree-content-disabled":"tree-content-disabled_GTf8p","tree-content-underline":"tree-content-underline_QFvEk","tree-rowline-selected":"tree-rowline-selected_I6qGB","tree-rowline-can-hover":"tree-rowline-can-hover_3eKkq","tree-rowline-hover":"tree-rowline-hover_Nlsy8","tree-blank":"tree-blank_jdBe7","tree-extends":"tree-extends_ZrjJ1","tree-usertips-line":"tree-usertips-line_jMXy1","tree-usertips-line-fork":"tree-usertips-line-fork_ceubB","tree-usertips-line-middle":"tree-usertips-line-middle_9JszZ","tree-usertips-line-turn":"tree-usertips-line-turn_ov3UU","tree-extends-icon":"tree-extends-icon_KtVQh","tree-extends-box":"tree-extends-box_hjBdd","tree-extends-box-active":"tree-extends-box-active_1YXBb","tree-extends-triangle":"tree-extends-triangle_ZEOn1","tree-extends-triangle-active":"tree-extends-triangle-active_BLSMh"},toString(){return Zct}}});var cRo=xe((cF0,lRo)=>{var Qte=[];Qte.push(".netType_fH4iA{border-bottom:none}.netType_fH4iA>span{border-right:1px solid var(--border-color-panel-divider);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;line-height:16px;margin:7px 0 5px;padding:0 12px;text-align:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.netType_fH4iA>span:hover{color:var(--font-color-hover-panel-tab);cursor:pointer}.netType_fH4iA>span>span{-webkit-flex-shrink:0;flex-shrink:0}.netType_fH4iA>span:last-child{border:none}.netType_fH4iA>span .count_Z-JpC{margin-left:4px}.componentType_vJ5rQ{color:var(--common-font-color);-webkit-justify-content:space-around;justify-content:space-around;padding:6px 0}.splitLine_4PC3a{background:var(--border-color-panel-divider);height:16px;width:1px}.componentTab_ifAKV{border-right:1px solid var(--border-color-panel-divider);padding:0 12px}.componentTab_ifAKV:last-child{border:none}.componentTab_ifAKV:hover{color:#1890ff;cursor:pointer}.active_oQDjS{color:#1890ff;font-weight:700}.designTreeContent_yalIA{height:-webkit-calc(100% - 58px);height:-moz-calc(100% - 58px);height:calc(100% - 58px);overflow-x:auto;overflow-y:hidden;overscroll-behavior:contain;position:absolute;scrollbar-width:thin;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px)}.smallIcon_sN5et{cursor:pointer;display:inline-block;-webkit-filter:var(--icon-color-refresh);filter:var(--icon-color-refresh);height:12px;margin-left:4px;position:relative;top:1px;width:12px}.treeTitle_1GK6P{display:inline-block;padding:4px 2px;text-decoration:none;vertical-align:middle;white-space:nowrap}.treeIcon_iKAPp{font-size:16px;height:16px;margin-left:2px;margin-right:2px;position:relative;top:0;width:16px}.add_btn_disabled_yG2jI{cursor:default;-webkit-filter:var(--icon-color-disabled-tree);filter:var(--icon-color-disabled-tree);pointer-events:none}.leftTreeSearch_bmwXj{background:var(--common-bg-color);border:none;height:25px;margin:4px 5px}.leftTreeSearch_bmwXj,.leftTreeSearch_bmwXj .icon_wrap_xzTG-{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.leftTreeSearch_bmwXj .icon_wrap_xzTG-{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;border:1px solid var(--border-color-input);cursor:pointer;height:24px;margin-right:4px;width:24px}.leftTreeSearch_bmwXj .icon_wrap_xzTG-.active_oQDjS{background-color:var(--bg-color-active-leftTreeSearch)}.leftTreeSearch_bmwXj .icon_9IxyO{background-position:50%;background-repeat:no-repeat;background-size:16px 16px;display:inline-block;height:16px;width:16px}.leftTreeSearch_bmwXj .icon_9IxyO.icon-eda-highlight_AKor0{background-image:");Qte.push("url(");Qte.push(JSON.stringify(wMt()));Qte.push(")");Qte.push(";background-size:100% 100%;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color)}.leftTreeSearch_bmwXj .icon_wrap_xzTG-:first-child{border-radius:2px 0 0 2px}");Qte=Qte.join("");lRo.exports={uuid:"617eeeb7-4a17-4d43-bfb2-8a051884e692",locals:{netType:"netType_fH4iA",count:"count_Z-JpC",componentType:"componentType_vJ5rQ",splitLine:"splitLine_4PC3a",componentTab:"componentTab_ifAKV",active:"active_oQDjS",designTreeContent:"designTreeContent_yalIA",smallIcon:"smallIcon_sN5et",treeTitle:"treeTitle_1GK6P",treeIcon:"treeIcon_iKAPp",add_btn_disabled:"add_btn_disabled_yG2jI",leftTreeSearch:"leftTreeSearch_bmwXj",icon_wrap:"icon_wrap_xzTG-",icon:"icon_9IxyO","icon-eda-highlight":"icon-eda-highlight_AKor0"},toString(){return Qte}}});var mRo=xe((ZF0,jsn)=>{jsn.exports="data:image/svg+xml;base64, "});var fRo=xe((JF0,hRo)=>{var nS=[];nS.push(".icon-eda-x-circle_hmN35.clear-input-circle_4AgJ4{background-size:100% 100%;cursor:pointer;display:inline-block;display:none;height:12px;padding-left:8px;position:absolute;right:22px;top:5px;width:12px}.container_rnYVd{height:100%;overflow-x:hidden;overflow-y:auto;padding:8px 10px}.m-form_5Zk6Y{-moz-appearance:textfield;border:1px solid var(--common-bg-color-1);font-family:Microsoft YaHei;font-size:12px;padding:8px}.form-item_ql7nZ{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:8px;min-height:24px}.form-item_ql7nZ:not(:first-of-type){margin-top:8px}.vertical-radios_KkB6X{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.type-preview-img_C5Ylo{background-repeat:no-repeat;background-size:80px 80px;height:90px;position:absolute;right:-114px;text-align:center;top:-6px;width:90px}.type-preview-img_C5Ylo[data-checked-type=QFP]{background-image:");nS.push("url(");nS.push(JSON.stringify(oYt()));nS.push(")");nS.push("}.type-preview-img_C5Ylo[data-checked-type=DIP]{background-image:");nS.push("url(");nS.push(JSON.stringify(iYt()));nS.push(")");nS.push("}.type-preview-img_C5Ylo[data-checked-type=SIP]{background-image:");nS.push("url(");nS.push(JSON.stringify(mRo()));nS.push(")");nS.push("}.generate-symbol_2-lbT{display:block;margin:80px auto 20px;width:100%}.layer-title_nQyQP{-webkit-box-flex:0;-webkit-flex:0 0 80px;-moz-box-flex:0;flex:0 0 80px;margin-right:8px}.layer-content_2ype->input{height:24px;line-height:24px;width:100%}");nS=nS.join("");hRo.exports={uuid:"094bd111-b9b8-4781-a6cb-95ed1b1f999d",locals:{"icon-eda-x-circle":"icon-eda-x-circle_hmN35","clear-input-circle":"clear-input-circle_4AgJ4",container:"container_rnYVd","m-form":"m-form_5Zk6Y","form-item":"form-item_ql7nZ","vertical-radios":"vertical-radios_KkB6X","type-preview-img":"type-preview-img_C5Ylo","generate-symbol":"generate-symbol_2-lbT","layer-title":"layer-title_nQyQP","layer-content":"layer-content_2ype-"},toString(){return nS}}});var odt=xe((CY0,HRo)=>{var Am=[];Am.push(".layer-main-container_gShSU{background:var(--bg-color-panel);border-left:0;-moz-box-sizing:border-box;box-sizing:border-box;height:100%;overflow:hidden;width:100%}.layer-tabheader_vJeWY{background-color:var(--bg-color-panel);border:0;border-bottom:0}.layer-tab-wrap_LUXAq,.layer-tabheader_vJeWY{overflow:hidden;padding:0;position:relative;width:100%}.layer-tab-wrap_LUXAq{left:0;margin:0}.layer-tabs-ulists_7QCU-{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-size:12px;height:26px;margin:0;padding:0;width:100%}.layer-tabs-item_OBjPm,.layer-tabs-ulists_7QCU-{-moz-box-sizing:border-box;box-sizing:border-box;list-style-type:none}.layer-tabs-item_OBjPm{background:transparent;border:0;border-left:1px solid var(--border-color-panel-divider);cursor:pointer;display:inline-block;height:auto;line-height:normal;margin:5px 0;padding:1px 12px;position:relative;text-align:center;width:auto}.layer-tabs-item_OBjPm:first-child{border-left:0}.layer-tabs-item-selected_vBDW4 .layer-tabs-content_hi5fl{color:#1890ff;font-weight:bolder}.layer-tabs-content_hi5fl{color:var(--font-color-panel-content)}.layer-tabpanel_Half0{border:0;height:-webkit-calc(100% - 27px);height:-moz-calc(100% - 27px);height:calc(100% - 27px);margin:0;overflow-x:hidden}.layer-tabpanel_Half0,.layer-tabpanel-item_fnauU{background-color:var(--bg-color-panel);padding:0;width:100%}.layer-tabpanel-item_fnauU{border-left:0;display:none;font-size:12px;height:100%;left:0;top:0}.layer-tabpanel-item-selected_q-UR6{display:block}.layer-presets-reset-btn_A6JAh{background-color:var(--bg-color-button);border:1px solid var(--border-color-button);color:var(--font-color-button);cursor:pointer;height:16px;line-height:16px;margin:8px 0 3px;min-width:30px;padding:3px 10px;text-align:center;width:8%}.layer-presets-reset-btn_A6JAh:hover{background-color:var(--bg-color-hover-button);border-color:var(--border-color-hover-button);color:var(--font-color-button)}.open-layermgr-btn_LtsGG{background-image:");Am.push("url(");Am.push(JSON.stringify(MAe()));Am.push(")");Am.push(";background-position:4px;background-repeat:no-repeat;background-size:18px 18px;cursor:pointer;display:block;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);height:40px;transform:scale(.9);-webkit-transform:scale(.9);-moz-transform:scale(.9);width:40px}.open-layermgr-btn-disabled_js--G{cursor:default;-webkit-filter:var(--icon-color-disabled-toolbar);filter:var(--icon-color-disabled-toolbar);pointer-events:none}.layer-panel-table_wYJo8{border-collapse:collapse;height:100%;overflow-x:hidden;width:100%}.layer-panel-row_ekVvP{height:24px}.layer-panel-row-active_i4qXv{background-color:var(--bg-color-selected-layer-panel-tab)}.active-toggle-btn_qXpbj{position:relative;width:35px;-webkit-box-flex:0;-webkit-flex:0 0 35px;-moz-box-flex:0;cursor:pointer;flex:0 0 35px;height:inherit;line-height:24px;text-indent:1em}.active-toggle-btn-active_Y-gwU{background-image:");Am.push("url(");Am.push(JSON.stringify(JQ()));Am.push(")");Am.push(';background-position:50%;background-repeat:no-repeat;background-size:50%;height:100%;width:100%}.group-slider_l8OKJ:before{transform:rotate(-45deg);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);width:0}.group-slider-collapsed_9PPow:before,.group-slider_l8OKJ:before{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #ccc;content:"";display:inline-block;position:absolute;right:0;top:10px;vertical-align:middle}.group-slider-collapsed_9PPow:before{margin-top:-3px;transform:rotate(-90deg);-webkit-transform:rotate(-90deg);-o-transform:rotate(-90deg);-moz-transform:rotate(-90deg)}.visible-toggle-btn_lnnlv{width:32px;-webkit-box-flex:0;-webkit-flex:0 0 32px;-moz-box-flex:0;cursor:pointer;flex:0 0 32px;height:inherit;text-align:center}.visible-eye-tag_339Ry{background-image:');Am.push("url(");Am.push(JSON.stringify(s3()));Am.push(")");Am.push("}.hidden-eye-tag_o0B4r,.visible-eye-tag_339Ry{background-position:50%;background-repeat:no-repeat;-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);position:relative}.hidden-eye-tag_o0B4r{background-image:");Am.push("url(");Am.push(JSON.stringify(Jx()));Am.push(")");Am.push(";opacity:.25}.locked-toggle-btn_nr4qs{color:rgba(85,122,234,.84);font-weight:bolder}.locked-toggle-btn_nr4qs,.unlock-toggle-btn_a0H3h{width:32px;-webkit-box-flex:0;-webkit-flex:0 0 32px;-moz-box-flex:0;cursor:pointer;flex:0 0 32px;height:inherit;position:relative;text-align:center}.unlock-toggle-btn_a0H3h{color:#888}.icon-eda-unlock_h0-iY{background-image:");Am.push("url(");Am.push(JSON.stringify(B8e()));Am.push(")");Am.push(";-webkit-filter:var(--common-icon-color);filter:var(--common-icon-color);opacity:.45}.icon-eda-lock_9RmaU,.icon-eda-unlock_h0-iY{background-position:50%;background-repeat:no-repeat;display:block;height:100%;position:relative;width:100%}.icon-eda-lock_9RmaU{background-image:");Am.push("url(");Am.push(JSON.stringify(z8e()));Am.push(")");Am.push(";-webkit-filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);filter:invert(46%) sepia(90%) saturate(2771%) hue-rotate(190deg) brightness(100%) contrast(102%);opacity:1}.layer-content-show_1MY72{cursor:pointer;display:block;height:24px;line-height:24px;overflow:hidden;padding:0 4px 0 0;position:relative;text-overflow:ellipsis;white-space:nowrap;width:100%}.layer-content-show_1MY72:hover{background-color:var(--bg-color-hover-layer-panel-tab)!important}");Am=Am.join("");HRo.exports={uuid:"05857761-5419-4f91-9217-06dabef7c6ee",locals:{"layer-main-container":"layer-main-container_gShSU","layer-tabheader":"layer-tabheader_vJeWY","layer-tab-wrap":"layer-tab-wrap_LUXAq","layer-tabs-ulists":"layer-tabs-ulists_7QCU-","layer-tabs-item":"layer-tabs-item_OBjPm","layer-tabs-item-selected":"layer-tabs-item-selected_vBDW4","layer-tabs-content":"layer-tabs-content_hi5fl","layer-tabpanel":"layer-tabpanel_Half0","layer-tabpanel-item":"layer-tabpanel-item_fnauU","layer-tabpanel-item-selected":"layer-tabpanel-item-selected_q-UR6","layer-presets-reset-btn":"layer-presets-reset-btn_A6JAh","open-layermgr-btn":"open-layermgr-btn_LtsGG","open-layermgr-btn-disabled":"open-layermgr-btn-disabled_js--G","layer-panel-table":"layer-panel-table_wYJo8","layer-panel-row":"layer-panel-row_ekVvP","layer-panel-row-active":"layer-panel-row-active_i4qXv","active-toggle-btn":"active-toggle-btn_qXpbj","active-toggle-btn-active":"active-toggle-btn-active_Y-gwU","group-slider":"group-slider_l8OKJ","group-slider-collapsed":"group-slider-collapsed_9PPow","visible-toggle-btn":"visible-toggle-btn_lnnlv","visible-eye-tag":"visible-eye-tag_339Ry","hidden-eye-tag":"hidden-eye-tag_o0B4r","locked-toggle-btn":"locked-toggle-btn_nr4qs","unlock-toggle-btn":"unlock-toggle-btn_a0H3h","icon-eda-unlock":"icon-eda-unlock_h0-iY","icon-eda-lock":"icon-eda-lock_9RmaU","layer-content-show":"layer-content-show_1MY72"},toString(){return Am}}});var sKt=xe(($Y0,c_o)=>{var ldt=[];ldt.push(".selector-main_h3ASS{color:var(--font-color-input);height:24px;margin:0;outline:0;padding:0}.presetlist-container_dWU-j{background-color:#fff;border:1px solid var(--border-color-panel-divider);border-radius:3px;box-shadow:1px 1px 4px rgba(0,0,0,.2);left:0;position:fixed;top:0;-webkit-transition-delay:.15s;-moz-transition-delay:.15s;transition-delay:.15s;-webkit-transition-duration:.3s;-moz-transition-duration:.3s;transition-duration:.3s;-webkit-transition-property:opacity,visibility;-moz-transition-property:opacity,visibility;transition-property:opacity,visibility}.presetlist-container_dWU-j:focus{outline:0}.presetlist-container_dWU-j:focus-visible{outline:0}.presetlist-wrapper_Xi8IN{background-color:var(--common-bg-color);color:var(--common-font-color);font-size:12px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto;padding:4px 0;width:100%}.presetlist-ulist_IaVGy{height:100%;width:100%}.presetlist-item_zj7ON{cursor:pointer;display:block;position:relative;white-space:nowrap}.presetlist-item-disabled_qRn5d{cursor:default;opacity:.5}.presetlist-item-disabled_qRn5d :hover{color:var(--common-font-color)}.presetlist-item-selected_j0L6t{background-color:var(--bg-toolbar-icon-selected)!important;color:var(--font-color-selected-down-menuItem)!important}.presetlist-item-prohibitselect_7BeWi{cursor:default}.presetlist-item_zj7ON:hover{background-color:var(--bg-color-hover-drop-down-menuItem);color:var(--font-color-hover-drop-down-menuItem)!important}.presetlist-item-prohibitselect_7BeWi:hover{background-color:#fff;color:#444!important}.presetlist-item_zj7ON .presetlist-content_6uSsf{font-size:12px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;line-height:26px;min-height:26px;overflow:hidden;padding:0 10px;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%}.presetlist-separator_v0znE{background-color:var(--separator-color-drop-down-menu);display:block;height:1px;margin:1px 2px}");ldt=ldt.join("");c_o.exports={uuid:"df22995e-e7e2-42b0-b477-635ae001fc8f",locals:{"selector-main":"selector-main_h3ASS","presetlist-container":"presetlist-container_dWU-j","presetlist-wrapper":"presetlist-wrapper_Xi8IN","presetlist-ulist":"presetlist-ulist_IaVGy","presetlist-item":"presetlist-item_zj7ON","presetlist-item-disabled":"presetlist-item-disabled_qRn5d","presetlist-item-selected":"presetlist-item-selected_j0L6t","presetlist-item-prohibitselect":"presetlist-item-prohibitselect_7BeWi","presetlist-content":"presetlist-content_6uSsf","presetlist-separator":"presetlist-separator_v0znE"},toString(){return ldt}}});var U_o=xe((zZ0,F_o)=>{var fdt=[];fdt.push(".property_panel_e84Z1{background-color:var(--bg-color-panel);height:100%;width:100%}");fdt=fdt.join("");F_o.exports={uuid:"acd6484f-1a50-4145-b1e6-41b7da8b67cf",locals:{property_panel:"property_panel_e84Z1"},toString(){return fdt}}});var J_o=xe((NJ0,Z_o)=>{var ydt=[];ydt.push(".property_panel_S2WqQ{background-color:var(--bg-color-panel);height:100%;width:100%}");ydt=ydt.join("");Z_o.exports={uuid:"a508535e-e63d-4e54-aba7-930e0788195c",locals:{property_panel:"property_panel_S2WqQ"},toString(){return ydt}}});var qBo=xe((Cdp,JBo)=>{var Vdt=[];Vdt.push(".footer_eALg9{margin-top:16px;text-align:right}");Vdt=Vdt.join("");JBo.exports={uuid:"269998b3-a937-47a0-a836-f4896e1e9655",locals:{footer:"footer_eALg9"},toString(){return Vdt}}});var GZt=L(HZt());document.write(GZt.default);var $4p=L(yXt());var Kte=L(Vi());var CXt="3.2.131",xXt="05/06/2026";var wKo=Object.create,fht=Object.defineProperty,CKo=Object.getOwnPropertyDescriptor,xKo=Object.getOwnPropertyNames,TKo=Object.getPrototypeOf,SKo=Object.prototype.hasOwnProperty,ide=(t=>typeof _h<"u"?_h:typeof Proxy<"u"?new Proxy(t,{get:(e,i)=>(typeof _h<"u"?_h:e)[i]}):t)(function(t){if(typeof _h<"u")return _h.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')}),MKo=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),IKo=(t,e)=>{for(var i in e)fht(t,i,{get:e[i],enumerable:!0})},LKo=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of xKo(e))!SKo.call(t,r)&&r!==i&&fht(t,r,{get:()=>e[r],enumerable:!(o=CKo(e,r))||o.enumerable});return t},pwe=(t,e,i)=>(i=t!=null?wKo(TKo(t)):{},LKo(e||!t||!t.__esModule?fht(i,"default",{value:t,enumerable:!0}):i,t)),mwe=MKo((t,e)=>{"use strict";var i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,a=(Y,X)=>{for(var ie in X)i(Y,ie,{get:X[ie],enumerable:!0})},s=(Y,X,ie,de)=>{if(X&&typeof X=="object"||typeof X=="function")for(let fe of r(X))!n.call(Y,fe)&&fe!==ie&&i(Y,fe,{get:()=>X[fe],enumerable:!(de=o(X,fe))||de.enumerable});return Y},l=Y=>s(i({},"__esModule",{value:!0}),Y),c={};a(c,{BroadcastChannelMessageBus:()=>F,MessageBus:()=>_,MessageBus2:()=>q,MessageBusTask:()=>O,MessageBusTask2:()=>Q,WindowMessageBridge:()=>P,WorkerMessageBridge:()=>k,createBroadcastP2PStream:()=>ee,createBufferedByteBufferStream:()=>Z,createBufferedStream:()=>ae,createBufferedStringStream:()=>pe,dropP2PStream:()=>ce,flowRead:()=>re,flowWrite:()=>oe}),e.exports=l(c);var d=class{constructor(Y=1.5){this.growthFactor=Y,this.capacity=10,this.buffer=new Array(this.capacity),this.head=0,this.tail=0,this.count=0}enqueue(Y){if(this.count===this.capacity){let X=Math.floor(this.capacity*this.growthFactor);console.log("grow",this.capacity,X);let ie=new Array(X);for(let de=0;de<this.count;de++)ie[de]=this.buffer[(this.head+de)%this.capacity];this.buffer=ie,this.head=0,this.tail=this.count,this.capacity=X}this.buffer[this.tail]=Y,this.tail=(this.tail+1)%this.capacity,this.count++}dequeue(){if(this.isEmpty())return;let Y=this.buffer[this.head];return this.head=(this.head+1)%this.capacity,this.count--,Y}peek(){return this.buffer[this.head]}isEmpty(){return this.count===0}clear(){this.buffer.length=0,this.head=0,this.tail=0,this.count=0}},u=new ArrayBuffer(8),p=new Float64Array(u),m=new Uint32Array(u),h=new Uint16Array(u),f=ArrayBuffer;try{f=self.HTMLImageElement||f}catch{}var g=typeof SharedArrayBuffer<"u";function b(Y){if(typeof Y!="object"||Y===null||Y instanceof Date||Y instanceof ArrayBuffer||g&&Y instanceof SharedArrayBuffer||Y instanceof Blob||Y instanceof FormData||Y instanceof Function||Y instanceof Uint8ClampedArray||Y instanceof f)return Y;if(Array.isArray(Y))return Y.map(b);{let X={};for(let ie in Y)Object.hasOwnProperty.call(Y,ie)&&(X[ie]=b(Y[ie]));return X}}function y(Y,X){return w(Y,X,()=>[])}function w(Y,X,ie){let de=Y[X];return de!==void 0||(de=ie(X),Y[X]=de),de}var x=class{constructor(Y){this.maxResources=Y,this.idle=new d,this.isClosed=!1,this.resources=Y}acquire(Y){this.isClosed?Promise.resolve(!1).then(Y):this.resources>0?(this.resources--,Promise.resolve(!0).then(Y)):this.idle.enqueue(Y)}acquireSync(){return new Promise(Y=>{this.acquire(Y)})}release(){if(!this.isClosed){let Y=this.idle.dequeue();Y?Promise.resolve(!0).then(Y):this.resources++}}close(){if(!this.isClosed)for(this.isClosed=!0;!this.idle.isEmpty();){let Y=this.idle.dequeue();Promise.resolve(!1).then(Y)}}};function S(){if(typeof window<"u")return window;if(typeof self<"u")return self;if(typeof globalThis<"u")return globalThis;if(typeof global<"u")return global}function T(Y,X){let ie=0,de=Y.length;for(let fe=0;fe<de;fe++)Y[fe]===X&&(Y.splice(fe,1),fe--,de--,ie++);return ie}var M=S(),I=M.WeakRef||(Y=>Y);function A(Y){if(Y!=null){if(typeof Y=="object")return new I(Y);console.error(Y,Y instanceof Object,typeof Y);return}}function D(Y){return Y==null?void 0:Y.deref()}var E="_MSG_BUS_RPC_",N=300*1e3,R=(Y=>(Y.PUBLISH="publish",Y.SUBSCRIBE="subscribe",Y.PUSH="push",Y.PULL="pull",Y))(R||{}),v=class{constructor(Y){this.bus=Y}processRemoteMessage(Y,X){let ie=A(X),de=Y.topic,fe=Y.type,ye=Y.message;switch(fe){case"pull":this.bus.pull(de,Le=>{this.push(de,Le,D(ie))});break;case"subscribe":this.bus.subscribe(de,Le=>{this.publish(de,Le,D(ie))});break;case"publish":this.bus.publish(de,ye,this,D(ie));break;case"push":this.bus.push(de,ye,this,D(ie));break;default:console.debug("unknown message type "+fe)}}rpcCall(Y,X,ie,de=N){let fe=A(ie),ye=new Promise(Le=>{let Re=this.bus.uniqueRpcTopic(Y);this.publish(Y,{message:X,reply:Re},D(fe)),this.bus.pull(Re,(Ne,Te,Pe)=>{Le({message:Ne,bridge:Te,source:A(Pe)})})});return de>0?Promise.race([ye,new Promise((Le,Re)=>{setTimeout(Re,de)})]):ye}},k=class extends v{constructor(Y,X){super(Y),this.worker=X,X.onmessage=ie=>{this.processRemoteMessage(ie.data,void 0)}}publish(Y,X){this.postMessage(Y,"publish",X)}subscribe(Y){this.postMessage(Y,"subscribe",null)}push(Y,X){this.postMessage(Y,"push",X)}pull(Y){this.postMessage(Y,"pull",null)}rpcCall(Y,X,ie=N){return super.rpcCall(Y,X,void 0,ie)}postMessage(Y,X,ie){let de={topic:Y,type:X,message:ie};this.worker.postMessage(de)}discard(){this.worker.terminate()}},P=class extends v{constructor(Y){super(Y),window.addEventListener("message",X=>{this.processRemoteMessage(X.data,X.source)},!1)}publish(Y,X,ie){this.postMessage(Y,"publish",X,ie)}subscribe(Y,X){if(X===window)throw new Error("regist remote subscribe from current window is not permitted");this.postMessage(Y,"subscribe",null,X)}push(Y,X,ie){this.postMessage(Y,"push",X,ie)}pull(Y,X){if(X===window)throw new Error("regist remote pull from current window is not permitted");this.postMessage(Y,"pull",null,X)}postMessage(Y,X,ie,de){let fe={topic:Y,type:X,message:ie};de&&de.postMessage(fe,"*")}},O=class{constructor(Y){this.isRunning=!0,this.callback=Y}cancel(){this.callback=null,this.isRunning=!1}running(){return this.isRunning}execute(Y,X,ie,de){try{Y=de?Y:b(Y),this.callback(Y,X,ie)}catch(fe){console.error(fe)}}},_=class{constructor(Y=!1){this.subscribed={},this.pulled={},this.pushed={},this.uuid=crypto.randomUUID().replace(/-/g,""),this.rpcTicket=0,this.unsafe=Y}uniqueRpcTopic(Y){return`${E}-${Y}-${this.uuid}-${this.rpcTicket++}`}publish(Y,X,ie,de){let fe=this.subscribed[Y];if(fe){let ye;for(let Le of fe)Le.running()?Le.execute(X,ie,de,this.unsafe):(ye=ye||new Array,ye.push(Le));if(ye)for(let Le of ye)T(fe,Le)}else console.debug("no sub on topic: "+Y)}subscribe(Y,X){let ie=new O(X);return y(this.subscribed,Y).push(ie),ie}push(Y,X,ie,de){let fe=!1,ye=this.pulled[Y];if(ye){for(;ye.length>0;){let Le=ye.shift();if(Le.running()){Le.execute(X,ie,de,this.unsafe),fe=!0;break}}ye.length===0&&delete this.pulled[Y]}fe||y(this.pushed,Y).push({message:X,bridge:ie,source:A(de)})}pull(Y,X){let ie=new O(X),de=this.pushed[Y];if(de){let fe=de.shift();ie.execute(fe.message,fe.bridge,D(fe.source),this.unsafe),de.length===0&&delete this.pushed[Y]}else y(this.pulled,Y).push(ie);return ie}pullA(Y){return new Promise(X=>{this.pull(Y,(ie,de,fe)=>{X({message:ie,bridge:de,source:A(fe)})})})}rpcService(Y,X){this.subscribe(Y,(ie,de,fe)=>{let{message:ye,reply:Le}=ie;try{let Re=X(ye);if(Re instanceof Promise){let Ne=A(fe);Re.then(Te=>{this.rpcReply(Te,Le,de,D(Ne))},Te=>{console.error(Te),this.rpcReply(void 0,Le,de,D(Ne))})}else this.rpcReply(Re,Le,de,fe)}catch(Re){console.error(Re),this.rpcReply(void 0,Le,de,fe)}})}rpcCall(Y,X,ie=N){let de=new Promise(fe=>{let ye=this.uniqueRpcTopic(Y);this.publish(Y,{message:X,reply:ye}),this.pull(ye,(Le,Re,Ne)=>{fe({message:Le,bridge:Re,source:A(Ne)})})});return ie>0?Promise.race([de,new Promise((fe,ye)=>{setTimeout(ye,ie)})]):de}rpcReply(Y,X,ie,de){ie?ie.push(X,Y,de):this.push(X,Y)}},j="_MSG_BUS_RPC_";function B(Y,X){let ie=0,de=Y.length;for(let fe=0;fe<de;fe++)Y[fe]===X&&(Y.splice(fe,1),fe--,de--,ie++);return ie}function V(Y,X){return G(Y,X,()=>[])}function G(Y,X,ie){let de=Y[X];return de!==void 0||(de=ie(X),Y[X]=de),de}var Q=class{constructor(Y,X){this.callback=Y,this.unsafe=X,this.isRunning=!0}cancel(){this.callback=null,this.isRunning=!1}running(){return this.isRunning}async execute(Y){try{Y=this.unsafe?Y:b(Y),this.callback(Y)}catch(X){console.error(X)}}},H=class{constructor(Y=crypto.randomUUID()){this.uuid=Y,this.rpcTicket=0}subscribeOnce(Y,X){let ie=this.subscribe(Y,de=>{ie.cancel(),X(de)});return ie}pullA(Y){return new Promise(X=>{this.pull(Y,X)})}rpcService(Y,X){let ie=de=>{try{let{message:fe,replyTopic:ye}=de;try{let Le=X(fe);Le instanceof Promise?Le.then(Re=>{this.publish(ye,{success:!0,result:Re})}).catch(Re=>{console.error(Re),this.publish(ye,{success:!1,err:String(Re)})}):this.publish(ye,{success:!0,result:Le})}catch(Le){this.publish(ye,{success:!1,err:String(Le)})}}finally{this.pull(Y,ie)}};this.pull(Y,ie)}rpcCall(Y,X,ie=0){let de=new Promise((fe,ye)=>{let Le=`${j}-${Y}-${this.uuid}-${this.rpcTicket++}`;this.subscribeOnce(Le,Re=>{Re.success?fe(Re.result):ye(new Error(Re.err))}),this.push(Y,{message:X,replyTopic:Le})});return ie>0?Promise.race([de,new Promise((fe,ye)=>{setTimeout(ye,ie)})]):de}},q=class extends H{constructor(Y=!1){super(),this.unsafe=Y,this.subscribed={},this.pulled={},this.pushed={}}publish(Y,X){let ie=this.subscribed[Y];if(ie){let de;for(let fe of ie)fe.running()?fe.execute(X):(de=de||new Array,de.push(fe));if(de)for(let fe of de)B(ie,fe)}}subscribe(Y,X){let ie=new Q(X,this.unsafe);return V(this.subscribed,Y).push(ie),ie}push(Y,X){let ie=!1,de=this.pulled[Y];if(de){for(;de.length>0;){let fe=de.shift();if(fe&&fe.running()){fe.execute(X),ie=!0;break}}de.length===0&&delete this.pulled[Y]}ie||V(this.pushed,Y).push(X)}pull(Y,X){let ie=new Q(X,this.unsafe);return this.repull(Y,ie),ie}repull(Y,X){let ie=this.pushed[Y];if(ie){let de=ie.shift();de&&(X.execute(de),ie.length===0&&delete this.pushed[Y])}else V(this.pulled,Y).push(X)}},U=class extends H{constructor(Y=crypto.randomUUID()){super(Y),this.subscribed={},this.pushed={},this.pulled={},this.pushCnt=0}publish(Y,X){console.debug("BC",this.uuid,"PUBLISH",Y,X),this.broadcastPublish(Y,X)}subscribe(Y,X){console.debug("BC",this.uuid,"SUBSCRIBE",Y);let ie=new Q(X,!0);return V(this.subscribed,Y).push(ie),ie}push(Y,X){let ie=this.pushCnt++;console.debug("BC",this.uuid,"PUSH",Y,`(${ie})`,X),V(this.pushed,Y).push({id:ie,message:X}),this.broadcastPushedHeadMessage(Y)}pull(Y,X){console.debug("BC",this.uuid,"PULL",Y);let ie=new Q(X,!0);return V(this.pulled,Y).push(ie),this.broadcastWhoHas(Y),ie}broadcastPushedHeadMessage(Y){let X=this.pushed[Y];X&&X[0]&&this.broadcastIHave(Y,X[0].id)}onReceivedPublish(Y,X,ie){console.debug("BCMSG(",this.uuid,")","from",Y,"PUBLISH",X,"message",ie);let de=this.subscribed[X];if(de){let fe;for(let ye of de)ye.running()?ye.execute(ie):(fe=fe||new Array,fe.push(ye));if(fe)for(let ye of fe)B(de,ye);de.length===0&&delete this.subscribed[X]}}onReceivedWhoHas(Y,X){console.debug("BCMSG(",this.uuid,")","from",Y,"WHOHAS",X),this.broadcastPushedHeadMessage(X)}onReceivedIHave(Y,X,ie){console.debug("BCMSG(",this.uuid,")","from",Y,"IHAVE",X,"id",ie);let de=this.pulled[X];if(de){let fe;for(let ye of de)if(ye.running()){this.broadcastINeed(X,Y,ie);break}else fe=fe||new Array,fe.push(ye);if(fe)for(let ye of fe)B(de,ye);de.length===0&&delete this.pulled[X]}}onReceivedINeed(Y,X,ie,de){if(console.debug("BCMSG(",this.uuid,")","from",Y,"INEED",X,"source",ie,"id",de),this.uuid===ie){let fe=this.pushed[X];if(fe&&fe[0]&&fe[0].id===de){let{message:ye}=fe.shift();this.broadcastIGive(X,de,Y,ye),this.broadcastPushedHeadMessage(X),fe.length===0&&delete this.pushed[X]}}}onReceivedIGive(Y,X,ie,de,fe){console.debug("BCMSG(",this.uuid,")","from",Y,"IGIVE",X,"id",ie,"target",de,"message",fe);let ye=this.pulled[X];if(ye&&this.uuid===de){let Le=!1;for(;ye.length>0;){let Re=ye.shift();if(Re.running()){Re.execute(fe),Le=!0;break}}Le||this.push(X,fe),ye.length===0&&delete this.pulled[X]}}},F=class extends U{constructor(Y,X=crypto.randomUUID()){super(X),this.bc=new BroadcastChannel(Y),this.bc.onmessage=ie=>{this.onMessage(ie.data)}}onMessage(Y){let{type:X,uuid:ie,topic:de}=Y;switch(X){case"PUBLISH":{let{message:fe}=Y;this.onReceivedPublish(ie,de,fe);break}case"WHOHAS":{this.onReceivedWhoHas(ie,de);break}case"IHAVE":{let{id:fe}=Y;this.onReceivedIHave(ie,de,fe);break}case"INEED":{let{source:fe,id:ye}=Y;this.onReceivedINeed(ie,de,fe,ye);break}case"IGIVE":{let{target:fe,id:ye,message:Le}=Y;this.onReceivedIGive(ie,de,ye,fe,Le);break}default:console.warn("unsupported",Y)}}broadcastPublish(Y,X){this.post({type:"PUBLISH",uuid:this.uuid,topic:Y,message:X})}broadcastWhoHas(Y){this.post({type:"WHOHAS",uuid:this.uuid,topic:Y})}broadcastIHave(Y,X){this.post({type:"IHAVE",uuid:this.uuid,topic:Y,id:X})}broadcastINeed(Y,X,ie){this.post({type:"INEED",uuid:this.uuid,topic:Y,source:X,id:ie})}broadcastIGive(Y,X,ie,de){this.post({type:"IGIVE",uuid:this.uuid,topic:Y,id:X,target:ie,message:de})}post(Y){this.bc.postMessage(Y),Promise.resolve().then(()=>{this.onMessage(Y)})}},K=Symbol("BLOCKING_QUEUE_RESET"),te=class{constructor(Y,X=()=>1){if(this.maxSize=Y,this.itemSizeOf=X,this.queue=new d,this.waitingConsumers=new d,this.waitingProducers=new d,this.queueSize=0,this.closePromise=null,this.closeResolve=null,Y<=0)throw new Error("Max size must be greater than 0")}enqueue(Y){return this.closePromise?!1:this.isFull()?(async()=>{console.debug("queue is full",this.queueSize,this.maxSize);let X=await new Promise(ie=>{this.waitingProducers.enqueue(ie)});return console.debug("queue is not full",this.size(),X),X?(this.innerEnqueue(Y),!0):!1})():(this.innerEnqueue(Y),!0)}innerEnqueue(Y){if(this.waitingConsumers.isEmpty())this.queue.enqueue(Y),this.queueSize+=this.itemSizeOf(Y),console.debug("queue pushed",Y,"size",this.queueSize);else{let X=this.waitingConsumers.dequeue();Promise.resolve(Y).then(X),console.debug("queue direct",Y,"size",this.queueSize)}}dequeue(){if(this.queue.isEmpty())if(this.closePromise){for(;!this.waitingConsumers.isEmpty();){let Y=this.waitingConsumers.dequeue();Promise.resolve(K).then(Y)}return setTimeout(()=>this.closeResolve(),0),K}else return new Promise(Y=>{this.waitingConsumers.enqueue(Y)});else{let Y=this.queue.dequeue();if(this.queueSize-=this.itemSizeOf(Y),!this.waitingProducers.isEmpty()){let X=this.waitingProducers.dequeue();Promise.resolve(!0).then(X)}return Y}}size(){return this.queueSize}isEmpty(){return this.queueSize===0}isFull(){return this.queueSize>=this.maxSize}close(){return this.closePromise||(this.closePromise=new Promise(Y=>{for(this.closeResolve=Y;!this.waitingProducers.isEmpty();){let X=this.waitingProducers.dequeue();Promise.resolve(!1).then(X)}if(this.queueSize===0){for(;!this.waitingConsumers.isEmpty();){let X=this.waitingConsumers.dequeue();Promise.resolve(K).then(X)}Y()}})),this.closePromise}};function ae(Y,X,ie=Number.MAX_SAFE_INTEGER){let de=new te(ie,X),fe=new ReadableStream({pull(Le){let Re=!0,Ne=(async()=>{let Te=new Array;do{let Pe=de.dequeue();if(Pe instanceof Promise){Re=!1;let Oe=await Pe;Oe===K?Le.close():Te.push(Oe)}else{let Oe=Pe;Oe===K?Le.close():Te.push(Oe)}}while(de.size()>0);if(Te.length>0){let Pe=Y(Te);Le.enqueue(Pe)}})();if(!Re)return console.debug("read stream stucked --------------------------------------"),Ne},async cancel(){console.debug("buffered readable cancel"),await de.close()}}),ye=new WritableStream({write(Le,Re){let Ne=!0,Te=(async()=>{let Pe=de.enqueue(Le);typeof Pe=="boolean"?Pe||Re.error(new Error("Write stream closed")):(Ne=!1,await Pe||Re.error(new Error("Write stream closed")))})();if(!Ne)return console.debug("read stream stucked >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"),Te},async close(){console.debug("buffered writable closing",de.size()),await de.close(),console.debug("buffered writable closed",de.size())},async abort(){console.debug("buffered writable aborting",de.size()),await de.close(),console.debug("buffered writable aborted",de.size())}});return{readable:fe,writable:ye}}function pe(Y=Number.MAX_SAFE_INTEGER){return ae(X=>X.join(""),X=>X.length,Y)}function Z(Y=Number.MAX_SAFE_INTEGER){return ae(X=>{let ie=new Uint8Array(X.reduce((fe,ye)=>fe+ye.byteLength,0)),de=0;return X.forEach(fe=>{ie.set(fe,de),de+=fe.byteLength}),ie},X=>X.byteLength,Y)}function ee(Y){return new Promise((X,ie)=>{let de=new BroadcastChannel(Y),fe=new te(1),ye=new x(1),Le=null,Re=!1,Ne=!1,Te=!1;de.onmessage=Pe=>{let Oe=Pe.data,{type:Ue}=Oe;if(console.debug("p2p",Y,"type",Ue,"data",Ue==="DATA"&&Oe.data),Ue==="DATA")fe.enqueue(Oe.data);else if(Ue==="HI"){if(!Le){de.postMessage({type:"HI"});let Ye=0;Le={rs:new ReadableStream({async pull(ke){let Be=await fe.dequeue();Be===K?(await ze(),ke.close()):(ke.enqueue(Be),de.postMessage({type:"ACK"}))},cancel(){return ze()}}),ws:new WritableStream({async write(ke,Be){await ye.acquireSync()?de.postMessage({type:"DATA",id:Ye++,data:ke}):(Ve(),Be.error(new Error("Write stream closed")))},close(){Ve()},abort(){Ve()}})},X(Le)}}else Ue==="REND"?Le?ye.close():He("REND1"):Ue==="WEND"?Le?fe.close():He("WEND1"):Ue==="ACK"&&ye.release();function Ve(){Re||(Re=!0,console.debug(Y,"p2p write stream closed"),ye.close(),de.postMessage({type:"WEND"}),Ne&&(console.debug(Y,"p2p channel closed on ws"),de.close()))}async function ze(){Ne||(Ne=!0,console.debug(Y,"p2p read stream closed"),de.postMessage({type:"REND"}),await fe.close(),Re&&(console.debug(Y,"p2p channel closed on rs"),de.close()))}async function He(Ye){Te||(Te=!0,console.debug(Y,"p2p channel connection released on",Ye),ye.close(),fe.close(),Le?(Le.rs.locked||(console.debug(Y,"p2p unlocked read stream direct cancel"),Le.rs.cancel()),Le.ws.locked||(console.debug(Y,"p2p unlocked write stream direct close"),Le.ws.close())):(de.postMessage({type:"HI"}),de.close()),ie(new Error("p2p channel connection released")))}},de.postMessage({type:"HI"})})}function ce(Y){return new Promise(X=>{let ie=new BroadcastChannel(Y);ie.onmessage=de=>{let fe=de.data,{type:ye}=fe;ye==="HI"&&(ie.postMessage({type:"REND"}),ie.close(),X())},ie.postMessage({type:"REND"})})}async function ne(Y){try{return await ee(Y)}catch(X){X.message!=="p2p channel connection released"&&console.error(X)}}async function oe(Y,X,ie=10*1024*1024,de=!0){let fe=await ne(Y);if(!fe)return!1;let ye=!1;try{let Le,Re=Ne=>{if(!Le)if(!de)Le=fe.ws.getWriter();else if(typeof Ne=="string"){let Te=pe(ie);Te.readable.pipeTo(fe.ws),Le=Te.writable.getWriter()}else{let Te=Z(ie);Te.readable.pipeTo(fe.ws),Le=Te.writable.getWriter()}return Le.write(Ne)};if(Array.isArray(X))for(let Ne of X)await Re(Ne);else await X({write:Re,get desiredSize(){return((Le==null?void 0:Le.desiredSize)||0)+10}});Le&&await Le.close(),ye=!0}catch(Le){console.error(Le)}finally{return fe.rs.cancel(),ye}}async function re(Y,X){var ie,de;let fe=await ne(Y);if(fe)try{let ye=fe.rs.getReader();for((ie=X.start)==null?void 0:ie.call(X);;){let{value:Le,done:Re}=await ye.read();if(Le!==void 0){let Ne;if(X.update instanceof Promise?Ne=await X.update(Le):Ne=X.update(Le),Ne){await ye.cancel();break}}if(Re){(de=X.end)==null||de.call(X);break}}}catch(ye){console.error(ye)}finally{fe.ws.close()}}}),vKo={UNAUTHORIZED:"Not logged in yet, please log in and try again",LOGIN_FAIL:"The login status is invalid",PERMISSION_DENIED:"No permission or project does not exist",PERMISSION_DENIED1:"No permission",PRJ_NOT_EXIST:"No permission or project does not exist",ERROR_PATH:"No permission or project does not exist",PROJECT_NOT_FOUND:"The project was not found",PERMISSION_DENIED_PARAMS:"No permission to operate {type}",DATA_NOT_FOUND:"Data not found",PARAMS_DATA_NOT_FOUND:"The {type} data was not found",REQUEST_PARAM_ILLEGAL:"Parameter error",REQUEST_PARAM_ILLEGAL1:"Parameter error",REQUEST_PARAMS_ILLEGAL2:"The {type} parameter request is incorrect",REQUEST_PARAMS_NOT_NULL:"The {type} parameter of the request cannot be empty",REQUEST_PARAMS_NOT_ALL_NULL:"The {type} parameter of the request cannot be empty simultaneously",REQUEST_PARAMS_MUST_ARRAY:"The request parameter {type} must be an array",REQUEST_PARAMS_MUST_STRING:"The request parameter {type} must be a string",REQUEST_PARAMS_MUST_NUMBER:"The request parameter {type} must be a number",REQUEST_PARAMS_MUST_NUMBER_ARRAY:"The request parameter {type} must be a numeric array",REQUEST_PARAMS_MUST_STRING_ARRAY:"The request parameter {type} must be a string array",REQUEST_PARAMS_LENGTH_ERROR:"The length of the request parameter {type} is incorrect",REQUEST_PARAMS_TYPE_ERROR:"The request parameter {type} is of incorrect type",ILLEGAL_NAME:'The name is illegal and contains illegal characters such as /:*?"<>|',ILLEGAL_NAME1:'The name is illegal and contains illegal characters such as /:*?"<>|',ILLEGAL_NAME_ZH:"The name cannot contain Chinese characters",UUID_ERROR:"uuid error",DUPLICATE_DATA:"Duplicate title",DUPLICATE_DATA1:"Library duplicate name",DUPLICATE_DATA_PARAMS:"{type} Duplicate data",UPLOAD_LIMIT:"Document {documentName} size over 15MB, it is too big to save in the server, please modify and then try again.",MORE_THAN_LIMIT:"Exceed the maximum limit",FILE_MORE_THAN_LIMIT:"Exceed the maximum upload limit of {type}",PARAMS_MORE_THAN_LIMIT:"Exceed the maximum upload limit of the parameter {type}",IMAGE_MORE_THAN_LIMIT_PARAMS:"The picture exceeds the maximum upload limit",FILE_MORE_THAN_LIMIT_PARAMS:"The file exceeds the maximum upload limit",END_MUST_AFTER_START:"The start time cannot be later than the end time",FILE_READ_ONLY:"The project file eprj or library file elib property was set as read only, please enable the read only property at File Manager and try again, and contact with support",FILE_READ_ONLY1:"The project file eprj or library file elib property was set as read only, please enable the read only property at File Manager and try again, and contact with support",DATA_NOT_EXIST:"document {documentName} not exists",REQUEST_PARAMS_TIME_ERROR:"The time request parameter is incorrect",FILES_PATH_NOT_FOUND:"The file address cannot be found",FILES_DATA_NOT_FOUND:"The file data cannot be found",FILES_TYPE_ERROR:"File type error",FILES_TYPE_MUST_BE_ONE:"The file type must be {type}",SET_WATERMARK_FAIL:"Watermark setting failed",MYSQL_CRUD_ERROR:"{type} data execution failed. Please contact technical support for resolution",PARAMS_JSON_FAILED:"{type} data parsing failed",MYSQL_ERROR:"Database operation anomaly",NOT_FOUND:"The request does not exist",PRJ_NAME_EXISTS:"The name of the project already exists",BACKUP_NAME_EXISTS:"Backup Name already exists",TITLE_ILLEGAL_LEN:"The {documentName} length must be 1~128 bytes!",LIB_NOT_EXIST:"The component library does not exist",CONFIG_API_URLS_ERROR:"Real-time prices and inventory are not enabled. Please contact the administrator",ONE_CLICK_ORDER_NOT_OPEN:"The order placement function is not enabled. Please contact the administrator",MATERIAL_NOT_OPEN:"The material warehouse is not open. Please contact the administrator",SNAPSHOT_DEPTH_LIMIT:"There is a snapshot near the latest node or the snapshot has been applied for",OCR_SYMBOL_URL_ERROR:"The OCR request address is not configured",USER_DATA_NOT_FOUND:"The user does not exist",USER_DISABLE_ERROR:"The account has been deactivated",USER_EXISTS_LOGIN_ERROR:"The user has logged in elsewhere",USER_UNAUTHORIZED_MODULES_ERROR:"This account has not authorized the module",USER_UNAUTHORIZED_ACCESS_ERROR:"Access type error",ADMIN_NOT_CHANGE_PASSWORD:"The super administrator cannot reset the password",SAME_PASSWORD_NEW_PASSWORD:"The original password is the same as the new one",USER_ONLINE_REGISTRATION_FAILED:"The registration of the user online failed",USER_PASSWORD_CAN_NOT_DEFAULT:"The default password cannot be used",USER_BEFORE_PASSWORD_ERROR:"The original password is incorrect",USER_PASSWORD_LENGTH_ERROR:"The password length is 8 to 255 characters",ORG_ROLE_NOT_CREATE:"System roles cannot be created. Please make the necessary modifications",ORG_ROLE_NAME_DUPLICATE:"The character name already exists. Please modify it",ORG_ROLE_ORIGIN_ERROR:"Unknown character source {message}",ORG_ROLE_NOT_DEFAULT:"This character is not a preset one and cannot be operated",ADMIN_ROLE_NOT_CHANGE:"Administrator privileges do not allow for modification",ADMIN_NOT_CHANGE_STATUS:"The admin account cannot change its status",PROJECT_ARCHIVED:"The project has been locked",PROJECT_UUID_NULL:"The project uuid cannot be empty",PROJECT_UUID_ERROR:"uuid error or the project uuid already exists",PROJECT_OR_TEAM_UUID_ERROR:"The project uuid is incorrect or the team uuid already exists",PROJECT_NOT_PERSON_ERROR:"Personal projects are not allowed to be created",PROJECT_DUPLICATE_NAME:"Duplicate title",ANNOTATION_HAS_BE_FOUND:"The annotation has been created",ANNOTATION_NOT_FOUND:"The annotation block does not exist",ANNOTATION_CREATE_ERROR:"The annotation block creation failed",ANNOTATION_UPDATE_ERROR:"The update of the annotation block failed",ANNOTATION_DELETE_ERROR:"The annotation failed to be deleted",PROJECT_DUPLICATE_PATH:"The same path cannot be created",TEAM_NOT_FOUND:"The team does not exist",TEAM_UUID_NULL:"The team uuid cannot be empty",TEAM_FOLDER_ERROR:"The parent folder does not exist or does not belong to the current team",TEAM_FOLDER_UUID_ERROR:"The folder uuid is incorrect or the project uuid already exists",TEAM_URL_DUPLICATE:"Team link repetition",TEAM_CAN_NOT_DELETE:"There are still projects in the team. Please transfer or delete them first",COMPONENT_UUID_NULL:"The uuid of a component cannot be empty",COMPONENT_DATA_NOT_FOUND:"The component library data does not exist",COMPONENT_NAME_DUPLICATE:"Component libraries cannot have the same name",COMPONENT_TYPE_ERROR:"Library type error",DELETE_SON_CATEGORY:"The subcategories need to be deleted first",LICENSE:"License not found",START_TIME:"The start time of the license is incorrect",END_TIME:"The end time of the license is incorrect",PROJECT_LIMIT:"Number of projects created exceeds the limit",USER_LIMIT:"The maximum number of accounts has been reached",ONLINE_NUMBER_LIMIT:"The maximum number of online users has been reached",LIMIT_PCB:"The PCB authorization quota has been reached and the addition failed",LIMIT_SCH:"The schematic authorization number is full, and the addition failed",LIMIT_PANEL:"The panel authorization number is full and the addition failed",TIME_ERROR:"If the system time is incorrect, please restart the server or fix the system time. After fixing, the private service needs to be restarted",LICENSE_ERROR:"Authorization error",LICENSE_TYPE_ERROR:"The type of authorized application is incorrect",LICENSE_ORIGIN_ERROR:"Unknown authorized application {type}",BRANCH_DATA_NOT_FOUND:"There is no engineering branch",PARENT_UUID_ERROR:"parent uuid error",BRANCH_MUST_AFTER_NODE:"The branch must be after the node",BRANCH_NAME_ERROR:"Incorrect branch name",BRANCH_NAME_DUPLICATE:"The branch name already exists",BRANCH_UUID_ERROR:"The branch uuid is incorrect",BRANCH_NODE_SET_ERROR:"Nodes cannot be set as default branches or marked as master",BRANCH_DELETE_MAIN_ERROR:"Nodes or branches on the main branch cannot be deleted",BRANCH_CHECK_OUT_ERROR:"There are documents that have been checked out",DOCUMENT_UUID_ERROR:"The document uuid is incorrect",UPDATE_FAILED:"Update failed",INNER_API_KEY_ERROR:"The ApiKey of the internal interface of the server is incorrect",BRANCH_MORE_THAN_LIMIT:"The version exceeds the maximum limit",WORKSPACE_API_ERROR:"The workspace request response is abnormal"},DKo={UNAUTHORIZED:"\u5C1A\u672A\u767B\u5F55\uFF0C\u8BF7\u767B\u5F55\u540E\u518D\u8BD5",LOGIN_FAIL:"\u767B\u5F55\u72B6\u6001\u5F02\u5E38",PERMISSION_DENIED:"\u6CA1\u6709\u6743\u9650\u6216\u5DE5\u7A0B\u4E0D\u5B58\u5728",PERMISSION_DENIED1:"\u6CA1\u6709\u6743\u9650",PRJ_NOT_EXIST:"\u6CA1\u6709\u6743\u9650\u6216\u5DE5\u7A0B\u4E0D\u5B58\u5728",ERROR_PATH:"\u6CA1\u6709\u6743\u9650\u6216\u5DE5\u7A0B\u4E0D\u5B58\u5728",PROJECT_NOT_FOUND:"\u5DE5\u7A0B\u672A\u627E\u5230",PERMISSION_DENIED_PARAMS:"\u6CA1\u6709\u6743\u9650\u64CD\u4F5C{type}",DATA_NOT_FOUND:"\u6570\u636E\u672A\u627E\u5230",PARAMS_DATA_NOT_FOUND:"{type}\u6570\u636E\u672A\u627E\u5230",REQUEST_PARAM_ILLEGAL:"\u53C2\u6570\u9519\u8BEF",REQUEST_PARAM_ILLEGAL1:"\u53C2\u6570\u9519\u8BEF",REQUEST_PARAMS_ILLEGAL2:"\u8BF7\u6C42{type}\u53C2\u6570\u9519\u8BEF",REQUEST_PARAMS_NOT_NULL:"\u8BF7\u6C42{type}\u53C2\u6570\u4E0D\u80FD\u4E3A\u7A7A",REQUEST_PARAMS_NOT_ALL_NULL:"\u8BF7\u6C42{type}\u53C2\u6570\u4E0D\u80FD\u540C\u65F6\u4E3A\u7A7A",REQUEST_PARAMS_MUST_ARRAY:"\u8BF7\u6C42\u53C2\u6570{type}\u5FC5\u987B\u662F\u6570\u7EC4",REQUEST_PARAMS_MUST_STRING:"\u8BF7\u6C42\u53C2\u6570{type}\u5FC5\u987B\u662F\u5B57\u7B26\u4E32",REQUEST_PARAMS_MUST_NUMBER:"\u8BF7\u6C42\u53C2\u6570{type}\u5FC5\u987B\u662F\u6570\u5B57",REQUEST_PARAMS_MUST_NUMBER_ARRAY:"\u8BF7\u6C42\u53C2\u6570{type}\u5FC5\u987B\u662F\u6570\u5B57\u6570\u7EC4",REQUEST_PARAMS_MUST_STRING_ARRAY:"\u8BF7\u6C42\u53C2\u6570{type}\u5FC5\u987B\u662F\u5B57\u7B26\u4E32\u6570\u7EC4",REQUEST_PARAMS_LENGTH_ERROR:"\u8BF7\u6C42\u53C2\u6570{type}\u957F\u5EA6\u9519\u8BEF",REQUEST_PARAMS_TYPE_ERROR:"\u8BF7\u6C42\u53C2\u6570{type}\u7C7B\u578B\u9519\u8BEF",ILLEGAL_NAME:'\u540D\u79F0\u975E\u6CD5, \u5305\u542B /:*?"<>| \u7B49\u975E\u6CD5\u5B57\u7B26',ILLEGAL_NAME1:'\u540D\u79F0\u975E\u6CD5, \u5305\u542B /:*?"<>| \u7B49\u975E\u6CD5\u5B57\u7B26',ILLEGAL_NAME_ZH:"\u540D\u79F0\u4E0D\u80FD\u5305\u542B\u4E2D\u6587",UUID_ERROR:"uuid \u9519\u8BEF",DUPLICATE_DATA:"\u6807\u9898\u5DF2\u5B58\u5728",DUPLICATE_DATA1:"\u5E93\u91CD\u540D",DUPLICATE_DATA_PARAMS:"{type}\u91CD\u590D\u6570\u636E",UPLOAD_LIMIT:"\u6587\u6863 {documentName} \u8D85\u8FC715MB\uFF0C\u5BFC\u81F4\u65E0\u6CD5\u6B63\u5E38\u4FDD\u5B58\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u5BFC\u5165",MORE_THAN_LIMIT:"\u8D85\u8FC7\u6700\u5927\u9650\u5236",FILE_MORE_THAN_LIMIT:"\u8D85\u8FC7{type}\u6700\u5927\u4E0A\u4F20\u9650\u5236",PARAMS_MORE_THAN_LIMIT:"\u8D85\u8FC7\u53C2\u6570{type}\u7684\u6700\u5927\u4E0A\u4F20\u9650\u5236",IMAGE_MORE_THAN_LIMIT_PARAMS:"\u56FE\u7247\u8D85\u8FC7\u6700\u5927\u4E0A\u4F20\u9650\u5236",FILE_MORE_THAN_LIMIT_PARAMS:"\u6587\u4EF6\u8D85\u8FC7\u6700\u5927\u4E0A\u4F20\u9650\u5236",END_MUST_AFTER_START:"\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u665A\u4E8E\u7ED3\u675F\u65F6\u95F4",FILE_READ_ONLY:"\u5DE5\u7A0B\u6587\u4EF6eprj\u6216\u5E93\u6587\u4EF6elib\u5C5E\u6027\u53D8\u4E3A\u53EA\u8BFB\uFF0C\u8BF7\u5728\u8D44\u6E90\u7BA1\u7406\u5668\u53D6\u6D88\u53EA\u8BFB\u540E\u518D\u8BD5\uFF0C\u5E76\u8054\u7CFB\u6280\u672F\u652F\u6301",FILE_READ_ONLY1:"\u5DE5\u7A0B\u6587\u4EF6eprj\u6216\u5E93\u6587\u4EF6elib\u5C5E\u6027\u53D8\u4E3A\u53EA\u8BFB\uFF0C\u8BF7\u5728\u8D44\u6E90\u7BA1\u7406\u5668\u53D6\u6D88\u53EA\u8BFB\u540E\u518D\u8BD5\uFF0C\u5E76\u8054\u7CFB\u6280\u672F\u652F\u6301",DATA_NOT_EXIST:"\u6587\u6863{documentName}\u4E0D\u5B58\u5728",REQUEST_PARAMS_TIME_ERROR:"\u65F6\u95F4\u8BF7\u6C42\u53C2\u6570\u9519\u8BEF",FILES_PATH_NOT_FOUND:"\u627E\u4E0D\u5230\u6587\u4EF6\u5730\u5740",FILES_DATA_NOT_FOUND:"\u627E\u4E0D\u5230\u6587\u4EF6\u6570\u636E",FILES_TYPE_ERROR:"\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF",FILES_TYPE_MUST_BE_ONE:"\u6587\u4EF6\u7C7B\u578B\u5FC5\u987B\u4E3A{type}",SET_WATERMARK_FAIL:"\u6C34\u5370\u8BBE\u7F6E\u5931\u8D25",MYSQL_CRUD_ERROR:"{type}\u6570\u636E\u6267\u884C\u5931\u8D25, \u8BF7\u8054\u7CFB\u6280\u672F\u652F\u6301\u89E3\u51B3",PARAMS_JSON_FAILED:"{type}\u6570\u636E\u89E3\u6790\u5931\u8D25",MYSQL_ERROR:"\u6570\u636E\u5E93\u64CD\u4F5C\u5F02\u5E38",NOT_FOUND:"\u8BF7\u6C42\u4E0D\u5B58\u5728",PRJ_NAME_EXISTS:"\u5DE5\u7A0B\u540D\u79F0\u5DF2\u5B58\u5728",BACKUP_NAME_EXISTS:"\u5907\u4EFD\u540D\u79F0\u5DF2\u5B58\u5728",TITLE_ILLEGAL_LEN:"{documentName}\u957F\u5EA6\u5FC5\u987B\u4E3A1~128\u5B57\u7B26\u957F\u5EA6\uFF01",LIB_NOT_EXIST:"\u5143\u4EF6\u5E93\u4E0D\u5B58\u5728",CONFIG_API_URLS_ERROR:"\u5B9E\u65F6\u4EF7\u683C\u548C\u5E93\u5B58\u672A\u5F00\u542F, \u8BF7\u8054\u7CFB\u7BA1\u7406\u5458",ONE_CLICK_ORDER_NOT_OPEN:"\u4E00\u4EF6\u4E0B\u5355\u529F\u80FD\u672A\u5F00\u542F, \u8BF7\u8054\u7CFB\u7BA1\u7406\u5458",MATERIAL_NOT_OPEN:"\u7269\u6599\u5E93\u672A\u5F00\u542F, \u8BF7\u8054\u7CFB\u7BA1\u7406\u5458",SNAPSHOT_DEPTH_LIMIT:"\u6700\u65B0\u8282\u70B9\u9644\u8FD1\u5B58\u5728\u5FEB\u7167\u6216\u5FEB\u7167\u5DF2\u88AB\u7533\u8BF7",OCR_SYMBOL_URL_ERROR:"OCR\u8BF7\u6C42\u5730\u5740\u672A\u914D\u7F6E",USER_DATA_NOT_FOUND:"\u7528\u6237\u4E0D\u5B58\u5728",USER_DISABLE_ERROR:"\u8D26\u53F7\u5DF2\u505C\u7528",USER_EXISTS_LOGIN_ERROR:"\u7528\u6237\u5DF2\u5728\u522B\u7684\u5730\u65B9\u767B\u5F55",USER_UNAUTHORIZED_MODULES_ERROR:"\u8BE5\u8D26\u53F7\u672A\u6388\u6743\u6A21\u5757",USER_UNAUTHORIZED_ACCESS_ERROR:"\u8BBF\u95EE\u7C7B\u578B\u9519\u8BEF",ADMIN_NOT_CHANGE_PASSWORD:"\u8D85\u7EA7\u7BA1\u7406\u5458\u65E0\u6CD5\u91CD\u7F6E\u5BC6\u7801",SAME_PASSWORD_NEW_PASSWORD:"\u539F\u5BC6\u7801\u8DDF\u65B0\u5BC6\u7801\u76F8\u540C",USER_ONLINE_REGISTRATION_FAILED:"\u767B\u8BB0\u7528\u6237\u5728\u7EBF\u5931\u8D25",USER_PASSWORD_CAN_NOT_DEFAULT:"\u4E0D\u80FD\u4F7F\u7528\u9ED8\u8BA4\u5BC6\u7801",USER_BEFORE_PASSWORD_ERROR:"\u539F\u5BC6\u7801\u9519\u8BEF",USER_PASSWORD_LENGTH_ERROR:"\u5BC6\u7801\u957F\u5EA6\u4E3A8-255\u4F4D",ORG_ROLE_NOT_CREATE:"\u4E0D\u80FD\u521B\u5EFA\u7CFB\u7EDF\u89D2\u8272, \u8BF7\u4FEE\u6539",ORG_ROLE_NAME_DUPLICATE:"\u89D2\u8272\u540D\u79F0\u5DF2\u5B58\u5728, \u8BF7\u4FEE\u6539",ORG_ROLE_ORIGIN_ERROR:"\u672A\u77E5\u7684\u89D2\u8272\u6765\u6E90{message}",ORG_ROLE_NOT_DEFAULT:"\u8BE5\u89D2\u8272\u4E0D\u662F\u9884\u8BBE\u89D2\u8272, \u4E0D\u80FD\u64CD\u4F5C",ADMIN_ROLE_NOT_CHANGE:"\u7BA1\u7406\u5458\u6743\u9650\u4E0D\u5141\u8BB8\u4FEE\u6539",ADMIN_NOT_CHANGE_STATUS:"admin\u8D26\u53F7\u4E0D\u80FD\u66F4\u6539\u72B6\u6001",PROJECT_ARCHIVED:"\u5DE5\u7A0B\u5DF2\u88AB\u9501\u5B9A",PROJECT_UUID_NULL:"\u5DE5\u7A0Buuid\u4E0D\u80FD\u4E3A\u7A7A",PROJECT_UUID_ERROR:"uuid\u9519\u8BEF\u6216\u8005\u5DE5\u7A0Buuid\u5DF2\u5B58\u5728",PROJECT_OR_TEAM_UUID_ERROR:"\u5DE5\u7A0Buuid\u9519\u8BEF\u6216\u8005\u5DF2\u5B58\u5728\u56E2\u961Fuuid",PROJECT_NOT_PERSON_ERROR:"\u4E0D\u5141\u8BB8\u521B\u5EFA\u4E2A\u4EBA\u5DE5\u7A0B",PROJECT_DUPLICATE_NAME:"\u6807\u9898\u5DF2\u5B58\u5728",ANNOTATION_HAS_BE_FOUND:"\u6279\u6CE8\u5DF2\u521B\u5EFA",ANNOTATION_NOT_FOUND:"\u6279\u6CE8\u5757\u4E0D\u5B58\u5728",ANNOTATION_CREATE_ERROR:"\u6279\u6CE8\u5757\u521B\u5EFA\u5931\u8D25",ANNOTATION_UPDATE_ERROR:"\u66F4\u65B0\u6279\u6CE8\u5757\u5931\u8D25",ANNOTATION_DELETE_ERROR:"\u6279\u6CE8\u6761\u5220\u9664\u5931\u8D25",PROJECT_DUPLICATE_PATH:"\u4E0D\u80FD\u521B\u5EFA\u76F8\u540C\u7684\u8DEF\u5F84",TEAM_NOT_FOUND:"\u56E2\u961F\u4E0D\u5B58\u5728",TEAM_UUID_NULL:"\u56E2\u961Fuuid\u4E0D\u80FD\u4E3A\u7A7A",TEAM_FOLDER_ERROR:"\u7236\u6587\u4EF6\u5939\u4E0D\u5B58\u5728\u6216\u4E0D\u5C5E\u4E8E\u5F53\u524D\u56E2\u961F",TEAM_FOLDER_UUID_ERROR:"\u6587\u4EF6\u5939uuid\u9519\u8BEF\u6216\u8005\u5DE5\u7A0Buuid\u5DF2\u5B58\u5728",TEAM_URL_DUPLICATE:"\u56E2\u961F\u94FE\u63A5\u91CD\u590D",TEAM_CAN_NOT_DELETE:"\u56E2\u961F\u4ECD\u5B58\u5728\u5DE5\u7A0B, \u8BF7\u5148\u8F6C\u79FB\u6216\u8005\u5220\u9664",COMPONENT_UUID_NULL:"\u5143\u4EF6uuid\u4E0D\u80FD\u4E3A\u7A7A",COMPONENT_DATA_NOT_FOUND:"\u5143\u4EF6\u5E93\u6570\u636E\u4E0D\u5B58\u5728",COMPONENT_NAME_DUPLICATE:"\u5143\u4EF6\u5E93\u4E0D\u80FD\u91CD\u540D",COMPONENT_TYPE_ERROR:"\u5E93\u7C7B\u578B\u9519\u8BEF",DELETE_SON_CATEGORY:"\u9700\u8981\u5148\u5220\u9664\u5B50\u7C7B\u522B",LICENSE:"\u672A\u627E\u5230\u8BB8\u53EF\u8BC1",START_TIME:"\u8BB8\u53EF\u8BC1\u5F00\u59CB\u65F6\u95F4\u9519\u8BEF",END_TIME:"\u8BB8\u53EF\u8BC1\u7ED3\u675F\u65F6\u95F4\u9519\u8BEF",PROJECT_LIMIT:"\u521B\u5EFA\u7684\u9879\u76EE\u6570\u91CF\u8D85\u8FC7\u9650\u5236",USER_LIMIT:"\u5DF2\u8FBE\u5230\u6700\u5927\u8D26\u53F7\u6570",ONLINE_NUMBER_LIMIT:"\u5DF2\u8FBE\u5230\u6700\u5927\u5728\u7EBF\u6570",LIMIT_PCB:"PCB\u6388\u6743\u6570\u5DF2\u6EE1, \u6DFB\u52A0\u5931\u8D25",LIMIT_SCH:"\u539F\u7406\u56FE\u6388\u6743\u6570\u5DF2\u6EE1, \u6DFB\u52A0\u5931\u8D25",LIMIT_PANEL:"\u9762\u677F\u6388\u6743\u6570\u5DF2\u6EE1, \u6DFB\u52A0\u5931\u8D25",TIME_ERROR:"\u7CFB\u7EDF\u65F6\u95F4\u9519\u8BEF\u8BF7\u91CD\u542F\u670D\u52A1\u5668\u6216\u4FEE\u590D\u7CFB\u7EDF\u65F6\u95F4, \u4FEE\u590D\u540E\u9700\u8981\u91CD\u542F\u79C1\u6709\u5316\u670D\u52A1",LICENSE_ERROR:"\u6388\u6743\u9519\u8BEF",LICENSE_TYPE_ERROR:"\u6388\u6743\u5E94\u7528\u7C7B\u578B\u9519\u8BEF",LICENSE_ORIGIN_ERROR:"\u672A\u77E5\u7684\u6388\u6743\u5E94\u7528{type}",BRANCH_DATA_NOT_FOUND:"\u5DE5\u7A0B\u5206\u652F\u4E0D\u5B58\u5728",PARENT_UUID_ERROR:"\u7236\u7EA7uuid\u9519\u8BEF",BRANCH_MUST_AFTER_NODE:"\u5206\u652F\u5FC5\u987B\u5728\u8282\u70B9\u540E",BRANCH_NAME_ERROR:"\u5206\u652F\u540D\u9519\u8BEF",BRANCH_NAME_DUPLICATE:"\u5206\u652F\u540D\u5DF2\u5B58\u5728",BRANCH_UUID_ERROR:"\u5206\u652Fuuid\u9519\u8BEF",BRANCH_NODE_SET_ERROR:"\u8282\u70B9\u4E0D\u80FD\u8BBE\u7F6E\u4E3A\u9ED8\u8BA4\u5206\u652F\u6216\u6807\u8BB0\u4E3Amaster",BRANCH_DELETE_MAIN_ERROR:"\u4E0D\u80FD\u5220\u9664\u4E3B\u5206\u652F\u4E0A\u7684\u8282\u70B9\u6216\u5206\u652F",BRANCH_CHECK_OUT_ERROR:"\u5B58\u5728\u6587\u6863\u5DF2\u7B7E\u51FA",DOCUMENT_UUID_ERROR:"\u6587\u6863uuid\u9519\u8BEF",UPDATE_FAILED:"\u66F4\u65B0\u5931\u8D25",INNER_API_KEY_ERROR:"\u670D\u52A1\u7AEF\u5185\u90E8\u63A5\u53E3 ApiKey \u9519\u8BEF",BRANCH_MORE_THAN_LIMIT:"\u7248\u672C\u8D85\u8FC7\u6700\u5927\u9650\u5236",WORKSPACE_API_ERROR:"\u5DE5\u4F5C\u533A\u8BF7\u6C42\u54CD\u5E94\u5F02\u5E38"},TXt={codeEN:vKo,codeCN:DKo},P$t=class O$t{static load(){typeof TXt=="object"&&(O$t.cache=TXt)}static match(e,i,o){if(!this.cache||!this.cache[e])return;let r=this.cache[e][i];if(o&&Object.prototype.toString.call(o)==="[object Object]")for(let n in o){let a=o[n];r=r.replace(`{${n}}`,a)}return r}};P$t.cache={};var F1t=P$t;function EKo(){console.log("common init----------------"),F1t.load()}function GL(t,e){throw new Error(`invalid format state on (${e}) of ${t}`)}function AKo(t,...e){let i=[],o=0,r=0,n,a=0,s=0;for(let l=0;l<t.length;l++){let c=t.charAt(l);switch(o){case 0:c==="%"?o=1:i.push(c);break;case 1:switch(c){case"d":n=e[r++],typeof n=="number"?(i.push(n.toFixed(0)),o=0):GL(t,l);break;case"f":n=e[r++],typeof n=="number"?(i.push(n.toString()),o=0):GL(t,l);break;case"x":n=e[r++],typeof n=="number"?(i.push((n|0).toString(16)),o=0):GL(t,l);break;case"X":n=e[r++],typeof n=="number"?(i.push((n|0).toString(16).toUpperCase()),o=0):GL(t,l);break;case"s":case"c":n=e[r++],i.push(n===null?"null":n.toString()),o=0;break;case"0":a=l+1,s=-1,o=2;break;case"%":i.push("%"),o=0;break;default:GL(t,l)}break;case 2:switch(c){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":s=l;break;case"d":if(s>=a){let d=parseInt(t.substring(a,s+1));n=e[r++],typeof n=="number"?(i.push((n|0).toString(10).padStart(d,"0")),o=0):GL(t,l)}else GL(t,l);break;case"x":if(s>=a){let d=parseInt(t.substring(a,s+1));n=e[r++],typeof n=="number"?(i.push((n|0).toString(16).padStart(d,"0")),o=0):GL(t,l)}else GL(t,l);break;case"X":if(s>=a){let d=parseInt(t.substring(a,s+1));n=e[r++],typeof n=="number"?(i.push((n|0).toString(16).toUpperCase().padStart(d,"0")),o=0):GL(t,l)}else GL(t,l);break;default:GL(t,l)}break;default:GL(t,l)}}return i.join("")}function R$t(t){let e="";try{let i=/.*\\(.*)$/.exec(t);i&&i[1]&&typeof i[1]=="string"&&(e=i[1])}catch(i){console.error("Query Folder Name Error:",i)}return e}function _$t(t,e){let i=Math.max(t.length,e.length);for(let o=0;o<i;o++){let r=t[o],n=e[o],a=0;if(typeof r=="string"&&typeof n=="string")a=r.localeCompare(n);else if(typeof r=="number"&&typeof n=="number")a=r-n;else{if(typeof r=="number"&&typeof n=="string")return-1;if(typeof r=="string"&&typeof n=="number")return 1;if(r===void 0&&n!==void 0)return-1;if(r!==void 0&&n===void 0)return 1}if(a!==0)return a}return 0}function U1t(t){let e=/\d+/g,i=new Array,o=0;for(;;){let r=e.exec(t);if(r)o<r.index&&i.push(t.substring(o,r.index)),o=r.index+r[0].length,i.push(parseInt(r[0]));else break}return i.push(t),i}function NKo(t,e,i,o){var r,n;let a=[],s=[],l=[];for(let u=0,p=t.length;u<p;u++){a[u]=u;let m;if(Array.isArray(e)){let h="";for(let f=0;f<e.length;f++)if(Object.hasOwnProperty.call(t[u],e[f])){h=t[u][e[f]];break}}else m=e?t[u][e]||((n=(r=t[u])==null?void 0:r[o])==null?void 0:n[e])||"":t[u];if(s[u]=String(m).toUpperCase().match(/\D+|\d+(?:\.\d+)?/g),l[u]=[],s[u])for(let h=0;h<s[u].length;h++)l[u][h]=s[u][h].match(/\d/)?1:2}let c=function(u,p){let m=s[u],h=s[p],f=l[u],g=l[p];if(!m||!h)return i?m==h?0:m?-1:1:m==h?0:m?1:-1;let b=Math.max(m.length,h.length);for(let y=0;y<b;y++){if(i)if(m[y])if(h[y]){if(m[y]!=h[y])return f[y]!=g[y]?f[y]==1?1:-1:f[y]==1?h[y]-m[y]:m[y]<h[y]?1:-1}else return-1;else return 1;if(m[y])if(h[y]){if(m[y]!=h[y])return f[y]!=g[y]?f[y]==1?-1:1:f[y]==1?m[y]-h[y]:m[y]<h[y]?-1:1}else return 1;else return-1}return 0};a.sort(c);let d=[];for(let u=0;u<t.length;u++)d[u]=t[a[u]];return d}function V1t(t,e,i){let o=[],r=[],n=[],a=[t,e];for(let s=0,l=a.length;s<l;s++){o[s]=s;let c=a[s];if(r[s]=String(c).toUpperCase().match(/\D+|\d+(?:\.\d+)?/g),n[s]=[],r[s])for(let d=0;d<r[s].length;d++)n[s][d]=r[s][d].match(/\d/)?1:2}return(function(s,l){let c=r[s],d=r[l],u=n[s],p=n[l];if(!c||!d)return i?c==d?0:c?-1:1:c==d?0:c?1:-1;let m=Math.max(c.length,d.length);for(let h=0;h<m;h++){if(i)if(c[h])if(d[h]){if(c[h]!=d[h])return u[h]!=p[h]?u[h]==1?1:-1:u[h]==1?d[h]-c[h]:c[h]<d[h]?1:-1}else return-1;else return 1;if(c[h])if(d[h]){if(c[h]!=d[h])return u[h]!=p[h]?u[h]==1?-1:1:u[h]==1?c[h]-d[h]:c[h]<d[h]?-1:1}else return 1;else return-1}return 0})(o[0],o[1])}function JNe(t,e){let i=!1;for(let o in e)if(Object.hasOwnProperty.call(e,o)&&t.indexOf(o)!==-1){i=!0;break}return i}function kKo(t,e=""){return t.sort((o,r)=>_$t(U1t(i(o)),U1t(i(r)))),t;function i(o){if(!o)return o;let r;if(Array.isArray(e)){let n="";for(let a=0;a<e.length;a++)if(Object.hasOwnProperty.call(o,e[a])){n=o[e[a]];break}}else r=o[e]||o;return r}}function PKo(t,e,i=1){var o,r,n,a;let s=(o=t.match(/^\D+/))==null?void 0:o[0],l=(r=t.match(/\d+$/))==null?void 0:r[0],c=(n=e.match(/^\D+/))==null?void 0:n[0],d=(a=e.match(/\d+$/))==null?void 0:a[0];return s&&c?s!==c?i===1?s.localeCompare(c):c.localeCompare(s):l!==d?+l>+d?1*i:-1*i:0:s?-1*i:c?1*i:0}function OKo(t){return new Promise(e=>{setTimeout(e,t)})}var Ugn=Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map(t=>t.charCodeAt(0));function RKo(){try{if(typeof window<"u")return window;if(typeof self<"u")return self;if(typeof globalThis<"u")return globalThis}catch{return null}}function ko(){return self.EDITOR_TOP||self}var vu=(t,e)=>{let i=/{([^}]*)}/gim,o=[...new Set(t.match(i))];for(let r=0;r<o.length;r++){let n=o[r],a=n.substring(1,n.length-1);e[a]&&(t=t.replace(n,e[a]))}return t};function nK(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}function _Ko(t,e,i){e=e||1,i=i||32;var o="",r=e,n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];t&&(r=Math.round(Math.random()*(i-e))+e);for(var a=0;a<r;a++){let s=Math.round(Math.random()*(n.length-1));o+=n[s]}return o}function jKo(t){try{return JSON.parse(t)}catch{return console.error(`ParseJSON failed:
`+t),null}}var D2=(t=>(t[t.TRACE=0]="TRACE",t[t.DEBUG=1]="DEBUG",t[t.INFO=2]="INFO",t[t.WARN=3]="WARN",t[t.ERROR=4]="ERROR",t[t.DUMMY=5]="DUMMY",t))(D2||{}),BKo=(t,e)=>{switch(t){case 4:console.error(...e);break;case 3:console.warn(...e);break;case 2:console.info(...e);break;default:console.log(...e)}},zKo=(t,e)=>e,E2=class U3e{constructor(e,i=BKo,o=zKo){this.level=e,this.writer=i,this.formatter=o}wrap(e){return new U3e(this.level,this.writer,(i,o)=>(o=this.formatter(i,o),e(i,o)))}inject(e){return new U3e(this.level,this.writer,(i,o)=>(o=e(i,o),this.formatter(i,o)))}shadow(...e){return new U3e(this.level,(i,o)=>{this.writer(i,o);for(let r of e)r(i,o)},this.formatter)}mix(...e){return new U3e(0,(i,o)=>{this.process(i,o);for(let r of e)r.process(i,o)},(i,o)=>o)}process(e,i){this.level<=e&&this.writer(e,this.formatter(e,i))}process1(e,i,o){this.level<=e&&this.writer(e,this.formatter(e,[AKo(i,...o)]))}trace(...e){this.process(0,e)}trace1(e,...i){this.process1(0,e,i)}debug(...e){this.process(1,e)}debug1(e,...i){this.process1(1,e,i)}info(...e){this.process(2,e)}info1(e,...i){this.process1(2,e,i)}warn(...e){this.process(3,e)}warn1(e,...i){this.process1(3,e,i)}error(...e){this.process(4,e)}error1(e,...i){this.process1(4,e,i)}},Vgn=new E2(5),Hgn=Date.now()-performance.now(),j$t=new ArrayBuffer(10),Ggn=new Float64Array(j$t,0,1),Ygn=new Uint8Array(j$t);var ght={};IKo(ght,{HAS_PANEL:()=>nZo,HAS_PCB:()=>rZo,HAS_SCH:()=>oZo,HAS_SIM:()=>aZo,IS_CLIENT:()=>y9,IS_CLIENT_HALF_OFFLINE:()=>Nde,IS_CLIENT_NOT_ONLINE:()=>Oie,IS_CLIENT_OFFLINE:()=>F$t,IS_CLIENT_ONLINE:()=>ANe,IS_DEV:()=>VKo,IS_EASYEDA:()=>z$t,IS_EASYEDA_CLIENT:()=>qKo,IS_ECAD:()=>HKo,IS_ENTERPRISE_CLIENT:()=>GKo,IS_HALF_OFFLINE:()=>XNe,IS_LCEDA:()=>B$t,IS_LCEDA_CLIENT:()=>JKo,IS_OFFLINE:()=>$Ne,IS_ONLINE:()=>qNe,IS_PCBLUXSHARE:()=>YKo,IS_PRIVATE:()=>Ode,PRO_EDITOR_MODE:()=>XKo,PRO_EDITOR_MODES:()=>Tb,SSO_EXTERNAL_IDENTITY_DOMAIN:()=>QKo,SSO_EXTERNAL_PERMISSION_DOMAIN:()=>KKo,SSO_EXTERNAL_PERMISSION_MANAGED_DOMAIN:()=>ZKo,SSO_IDENTITY_CONNECT:()=>WKo});var FKo=(t=>(t.ruler="ruler",t.un_ruler="un_ruler",t))(FKo||{}),ve=(t=>(t[t.HOME=-1]="HOME",t[t.BLANKTAB=0]="BLANKTAB",t[t.SCH=1]="SCH",t[t.PART=2]="PART",t[t.PCB=3]="PCB",t[t.FOOTPRINT=4]="FOOTPRINT",t[t.PRJ=5]="PRJ",t[t.SUBPART=6]="SUBPART",t[t.NGSPICE_MODEL=7]="NGSPICE_MODEL",t[t.NGSPICE=8]="NGSPICE",t[t.SIMULIDE=9]="SIMULIDE",t[t.WAVEFORM=10]="WAVEFORM",t[t.SCHLIB3D=11]="SCHLIB3D",t[t.PHOTOVIEW=12]="PHOTOVIEW",t[t.SCHMODULE=13]="SCHMODULE",t[t.PCBMODULE=14]="PCBMODULE",t[t.VIEW3D=15]="VIEW3D",t[t.PCBLIB3D=16]="PCBLIB3D",t[t.BLOCK_SYMBOL=17]="BLOCK_SYMBOL",t[t.NETFLAG=18]="NETFLAG",t[t.NETPORT=19]="NETPORT",t[t.SHEET_SYMBOL=20]="SHEET_SYMBOL",t[t.NONEELEC_SYMBOL=21]="NONEELEC_SYMBOL",t[t.SHORT_SYMBOL=22]="SHORT_SYMBOL",t[t.FOOTPRINTVIEW=23]="FOOTPRINTVIEW",t[t.CNCPRINTVIEW=24]="CNCPRINTVIEW",t[t.OFF_PAGE_CONNECTOR=25]="OFF_PAGE_CONNECTOR",t[t.PANEL=26]="PANEL",t[t.PANEL3D=27]="PANEL3D",t[t.DEVICE=28]="DEVICE",t[t.PANEL_LIB=29]="PANEL_LIB",t[t.ASSEMBLY_VARIANT=30]="ASSEMBLY_VARIANT",t[t.DIFF_PAIRS_FLAG=31]="DIFF_PAIRS_FLAG",t[t.SIMULIDE_MODEL=32]="SIMULIDE_MODEL",t))(ve||{}),UKo=(t=>(t.SCH="SCH",t.PCB="PCB",t.PANEL="PANEL",t.SIM="SIM",t))(UKo||{}),SXt=RKo(),Tb=String((SXt==null?void 0:SXt.PRO_EDITOR_MODE)||"LCEDA").split("-"),VKo=Tb.indexOf("DEVPRO")>=0,y9=Tb.indexOf("CLIENT")>=0,B$t=Tb.indexOf("LCEDA")>=0,z$t=Tb.indexOf("EASYEDA")>=0,Ode=Tb.indexOf("PRIVATE")>=0,qNe=Tb.indexOf("ONLINE")>=0,XNe=Tb.indexOf("HALF_OFFLINE")>=0,$Ne=Tb.indexOf("OFFLINE")>=0,HKo=Tb.indexOf("ECAD")>=0,GKo=Tb.indexOf("ENTERPRISE")>=0,YKo=Tb.indexOf("PCB_LUXSHARE")>=0,WKo=Tb.indexOf("SSO_IDENTITY_CONNECT")>=0,QKo=Tb.indexOf("SSO_EXTERNAL_IDENTITY_DOMAIN")>=0,KKo=Tb.indexOf("SSO_EXTERNAL_PERMISSION_DOMAIN")>=0,ZKo=Tb.indexOf("SSO_EXTERNAL_PERMISSION_MANAGED_DOMAIN")>=0,JKo=y9&&B$t,qKo=y9&&z$t,Nde=y9&&XNe,Oie=y9&&!qNe,F$t=y9&&$Ne,ANe=y9&&qNe,XKo=y9?qNe?"ONLINE":XNe?"HALF_OFFLINE":$Ne?"OFFLINE":"":"",$Ko=Tb.indexOf("SCH")>=0,eZo=Tb.indexOf("PCB")>=0,tZo=Tb.indexOf("PANEL")>=0,iZo=Tb.indexOf("SIM")>=0,oZo=$Ko,rZo=eZo,nZo=tZo,aZo=iZo,Nr=(t=>(t.PROJECT_BACKUPS_MANUAL="Backup Project Manually",t.PROJECT_BACKUPS_AUTO="Backup Project Automatically",t.DELETE_BACKUPS="Delete Backup",t.SAVE="Save",t.CREATE_SHEET="New Page",t.DELETE_SHEET="Delete Page",t.RENAME_SHEET="Rename Page",t.SIGNED_SHEET="Check Out Page",t.SIGNIN_SHEET="Check In Page",t.CLEAR_SIGNED="Clear Check Out",t.PROJECT_LOCK="Lock Project",t.PROJECT_UNLOCK="Unlock Project",t.PROJECT_OPEN="Open Project",t.PROJECT_CLOSE="Close Project",t.DOCUMENT_PASTE="Paste Document",t.DOCUMENT_PASTE_ACROSS_PROJECT="Paste Document Across Projects",t.SCHEMATIC_PASTE="Paste Schematic",t.SCHEMATIC_PASTE_ACROSS_PROJECT="Paste Schematic Across Projects",t.PRIMITIVE_PASTE_ACROSS_PROJECT="Paste Elements Across Projects",t.PROJECT_SAVEAS_REMOTE="Save Project to Cloud",t.PROJECT_SAVEAS_LOCAL="Save Project to Local",t.LIBRARY_SAVEAS_LOCAL="Save Library to Local",t.DOCUMENT_SAVEAS_REMOTE="Save Document to Cloud",t.DOCUMENT_SAVEAS_LOCAL="Save Document to Local",t.CBB_SAVEAS_REMOTE="Save Reuse Module to Cloud",t.CBB_SAVEAS_LOCAL="Save Reuse Module to Local",t.SVG_EXPORT="Export SVG",t.PNG_EXPORT="Export PNG",t.PDF_EXPORT="Export PDF",t.BOM_EXPORT="Export BOM",t.PRINT="Print",t.GERBER_EXPORT="Export Gerber",t.COORDINATE_EXPORT="Export Pick and Place File",t.D3FILE_EXPORT="Export 3D File",t.D3SHELLFILE_EXPORT="Export 3D Shell File",t.TESTPOINT_REPORT_EXPORT="Export Test Point Report",t.DXF_EXPORT="Export DXF",t.ODBPLUSS_EXPORT="Export ODB++",t.AD_EXPORT="Export Altium Designer",t.DEVICE_REPLACE="Replace Device",t.FOOTPRINT_REPLACE="Replace Footprint",t.D3MODEL_REPLACE="Replace 3D Model",t.PROJECTLIB_UPDATE="Update Project Library",t.REPLACE="Find and Replace",t.TRACK_BATCH_RENAME="Rename Wires in Batch",t.SHEET_BATCH_RENAME="Rename Pages in Batch",t.NET_CREATED_AUTO="Automatic Network Generation",t.DESIGNATOR_ALLOCATION="Annotate Designator",t.UNIQUE_ID_RESET="Reset Unique ID",t.NET_TABLE_EXPORT="Export Netlist",t.REFRESH_PCB_BY_SCH="Update Schematic to PCB",t.REFRESH_SCH_BY_PCB="Update PCB to Schematic",t.CLEAR_DESIGNATOR="Clear Designator",t.UPDATE_PORT_BY_MODULE_SYMBOL="Update Ports from Module Symbol",t.DESIGN_RULE="Set Design Rules",t.NET_CLASS="Set Network Class",t.EQUAL_LENGTH_GROUP="Set Equal Length Group",t.DIFFERENTIAL_PAIR="Set Differential Pair",t))(Nr||{}),ode=class iK{constructor(e,i=crypto.randomUUID()){this.fileName=e,this.uuid=i,this._params=new URLSearchParams,this._aTarget=document.createElement("a"),this._params.append("uuid",i),this._params.append("fileName",e)}static get URL_VERSION(){var e;try{let i=location.host,o="/";return((e=new RegExp(`${i}(/[\\w|.]+)${o}`).exec(location.href))==null?void 0:e[1])||""}catch{return""}}static getOpenedStream(e){return this._openedInstances.get(e)}get createURL(){return`${iK.CREATE_URL}?${this._params}`}get writeURL(){return`${iK.WRITE_URL}?${this._params}`}get closeURL(){return`${iK.CLOSE_URL}?${this._params}`}get cancelURL(){return`${iK.CANCEL_URL}?${this._params}`}async create(){this._aTarget.href=this.createURL,this._aTarget.click(),this._aTarget.remove(),iK._openedInstances.set(this.uuid,this),await OKo(100)}async write(e){await(await fetch(this.writeURL,{method:"post",body:e})).json()}async close(){await fetch(this.closeURL,{method:"post"}),iK._openedInstances.delete(this.uuid)}async cancel(){await fetch(this.cancelURL,{method:"post"}),iK._openedInstances.delete(this.uuid)}};ode.CREATE_URL=`${ode.URL_VERSION}/sw/download/stream/create`,ode.WRITE_URL="/sw/download/stream/write",ode.CLOSE_URL="/sw/download/stream/close",ode.CANCEL_URL="/sw/download/stream/cancel",ode._openedInstances=new Map;var $3e="power",ewe="ground",twe="vin",iwe="epk",H1t="empty",QL=2;function U$t(t,e){console.time("pinSOrt1");let i=t.reduce((r,n)=>{let a=n.part;return(r.has(a)?r.get(a):r.set(n.part,[]).get(n.part)).push(n),r},new Map).values(),o=[];for(let r of i)o.push(...bht(r,e));return console.timeEnd("pinSOrt1"),o}function bht(t,e){switch(e){case"qfn":return MXt(t);case"sop":return IXt(t);default:return console.log(`pinSort: not support (${e}) sort, will Sort by number of pins(if length more than 48 use qfn else use sop)`),t.length<48?IXt(t):MXt(t)}}function MXt(t){console.time("qfnPinSort");let e=t.length,i=H$t(t),o=i.get($3e)||[],r=i.get(ewe)||[],n=i.get(twe)||[],a=i.get(iwe)||[],[s,l,c,d]=[1,1,1,1],u=r.sort(u8).reduce((M,I)=>(M.push({...I,side:"B",order:s++}),M),[]);r.length&&a.length&&(s+=QL),u.push(...a.sort(u8).reduce((M,I)=>(M.push({...I,side:"B",order:s++}),M),[]));let p=o.sort(u8).reduce((M,I)=>(M.push({...I,side:"T",order:l++}),M),[]);o.length&&n.length&&(l+=QL),p.push(...n.sort(u8).reduce((M,I)=>(M.push({...I,side:"T",order:l++}),M),[]));let m=[],h=[];i.delete($3e),i.delete(ewe),i.delete(iwe),i.delete(twe);let f=(Math.max(i.size-2,0)*QL+e-(u.length+p.length))/2,g=V$t(i);g.forEach(M=>{h.length||(m.length?QL:0)+M.length>2*(f-c+1)||M===g.at(-1)&&g.length>1?(h.length&&(d+=QL),h.push(...M.sort(u8).reduce((I,A)=>(I.push({...A,side:"R",order:d++}),I),[]))):(m.length&&(c+=QL),m.push(...M.sort(u8).reduce((I,A)=>(I.push({...A,side:"L",order:c++}),I),[])))});let b=Math.max(c,d),y=Math.max(s,l),w=Math.ceil((b-c)/2),x=Math.ceil((b-d)/2),S=Math.ceil((y-s)/2),T=Math.ceil((y-l)/2);return console.timeEnd("qfnPinSort"),[...m.map(M=>(M.order+=w,M)),...h.map(M=>(M.order=d-M.order+x,M)),...u.map(M=>(M.order+=S,M)),...p.map(M=>(M.order=l-M.order+T,M))]}function IXt(t){console.time("sopPinSort");let e=t.length,i=H$t(t),o=i.get($3e)||[],r=i.get(twe)||[],n=i.get(ewe)||[],a=i.get(iwe)||[],[s,l]=[1,1,1,1],c=[],d=[];d.push(...o.sort(u8).reduce((g,b)=>(g.push({...b,side:"R",order:l++}),g),[])),o.length&&r.length&&(l+=QL),d.push(...r.sort(u8).reduce((g,b)=>(g.push({...b,side:"R",order:l++}),g),[]));let u=(Math.max(i.size-2,0)*QL+e)/2;i.delete($3e),i.delete(ewe),i.delete(iwe),i.delete(twe);let p=V$t(i);p.forEach(g=>{d.length>o.length+r.length||(c.length?QL:0)+g.length>2*(u-s+1)||g===p.at(-1)&&!d.length?(d.length&&(l+=QL),d.push(...g.sort(u8).reduce((b,y)=>(b.push({...y,side:"R",order:l++}),b),[]))):(c.length&&(s+=QL),c.push(...g.sort(u8).reduce((b,y)=>(b.push({...y,side:"L",order:s++}),b),[])))}),d.length&&(l+=QL),d.push(...n.sort(u8).reduce((g,b)=>(g.push({...b,side:"R",order:l++}),g),[])),n.length&&a.length&&(l+=QL),d.push(...a.sort(u8).reduce((g,b)=>(g.push({...b,side:"R",order:l++}),g),[]));let m=Math.max(s,l),h=Math.ceil((m-s)/2),f=Math.ceil((m-l)/2);return console.timeEnd("sopPinSort"),[...c.map(g=>(g.order+=h,g)),...d.map(g=>(G$t(g.name)||W$t(g.name)?g.order=m-g.order:Y$t(g.name)||Q$t(g.name)?g.order=l-g.order:g.order=l-g.order+f,g))]}function u8(t,e,i=!1){return t.name!=e.name?V1t(t.name,e.name,i):V1t(t.number,e.number,i)}function V$t(t){let e=[],i=new Map,o=[];return t.forEach((r,n)=>{r.length<2?o.push(...r):(e.push(r),i.set(r,n))}),e.push(o),e.sort((r,n)=>{if(r.length!==n.length)return r.length>n.length?1:-1;if(r===o||n===o)return r===o?1:-1;{let a=i.get(r),s=i.get(n);return a===H1t?1:s===H1t?-1:a>s?1:-1}}),e[0].length||e.shift(),e}function H$t(t){var e;let i=new Map;for(let o of t){let r;G$t(o.name)?r=$3e:Y$t(o.name)?r=ewe:W$t(o.name)?r=twe:Q$t(o.name)?r=iwe:(e=o.name)!=null&&e.length?/^[A-Za-z]{2}/.test(o.name)?r=o.name.slice(0,2).toLocaleLowerCase():r=o.name[0].toLocaleLowerCase():r=H1t,(i.has(r)?i.get(r):i.set(r,[]).get(r)).push(o)}return i.forEach((o,r)=>{if(o.length===1&&r.length===2){i.delete(r);let n=o[0].name[0].toLocaleLowerCase();(i.has(n)?i.get(n):i.set(n,[]).get(n)).push(o[0])}}),i}function G$t(t){return/vcc|vee|vdd/i.test(t)}function Y$t(t){return/gnd|vss/i.test(t)}function W$t(t){return/^vin(\+|\d*)$/i.test(t)}function Q$t(t){return/^vin-$/i.test(t)||/^ep(ad|\d*)$/i.test(t)}var sZo=Object.create,K$t=Object.defineProperty,lZo=Object.getOwnPropertyDescriptor,cZo=Object.getOwnPropertyNames,dZo=Object.getPrototypeOf,uZo=Object.prototype.hasOwnProperty,LXt=(t=>typeof ide<"u"?ide:typeof Proxy<"u"?new Proxy(t,{get:(e,i)=>(typeof ide<"u"?ide:e)[i]}):t)(function(t){if(typeof ide<"u")return ide.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')}),bd=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),pZo=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of cZo(e))!uZo.call(t,r)&&r!==i&&K$t(t,r,{get:()=>e[r],enumerable:!(o=lZo(e,r))||o.enumerable});return t},Rde=(t,e,i)=>(i=t!=null?sZo(dZo(t)):{},pZo(e||!t||!t.__esModule?K$t(i,"default",{value:t,enumerable:!0}):i,t)),hwe=bd((t,e)=>{"use strict";var i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,a=(Y,X)=>{for(var ie in X)i(Y,ie,{get:X[ie],enumerable:!0})},s=(Y,X,ie,de)=>{if(X&&typeof X=="object"||typeof X=="function")for(let fe of r(X))!n.call(Y,fe)&&fe!==ie&&i(Y,fe,{get:()=>X[fe],enumerable:!(de=o(X,fe))||de.enumerable});return Y},l=Y=>s(i({},"__esModule",{value:!0}),Y),c={};a(c,{BroadcastChannelMessageBus:()=>F,MessageBus:()=>_,MessageBus2:()=>q,MessageBusTask:()=>O,MessageBusTask2:()=>Q,WindowMessageBridge:()=>P,WorkerMessageBridge:()=>k,createBroadcastP2PStream:()=>ee,createBufferedByteBufferStream:()=>Z,createBufferedStream:()=>ae,createBufferedStringStream:()=>pe,dropP2PStream:()=>ce,flowRead:()=>re,flowWrite:()=>oe}),e.exports=l(c);var d=class{constructor(Y=1.5){this.growthFactor=Y,this.capacity=10,this.buffer=new Array(this.capacity),this.head=0,this.tail=0,this.count=0}enqueue(Y){if(this.count===this.capacity){let X=Math.floor(this.capacity*this.growthFactor);console.log("grow",this.capacity,X);let ie=new Array(X);for(let de=0;de<this.count;de++)ie[de]=this.buffer[(this.head+de)%this.capacity];this.buffer=ie,this.head=0,this.tail=this.count,this.capacity=X}this.buffer[this.tail]=Y,this.tail=(this.tail+1)%this.capacity,this.count++}dequeue(){if(this.isEmpty())return;let Y=this.buffer[this.head];return this.head=(this.head+1)%this.capacity,this.count--,Y}peek(){return this.buffer[this.head]}isEmpty(){return this.count===0}clear(){this.buffer.length=0,this.head=0,this.tail=0,this.count=0}},u=new ArrayBuffer(8),p=new Float64Array(u),m=new Uint32Array(u),h=new Uint16Array(u),f=ArrayBuffer;try{f=self.HTMLImageElement||f}catch{}var g=typeof SharedArrayBuffer<"u";function b(Y){if(typeof Y!="object"||Y===null||Y instanceof Date||Y instanceof ArrayBuffer||g&&Y instanceof SharedArrayBuffer||Y instanceof Blob||Y instanceof FormData||Y instanceof Function||Y instanceof Uint8ClampedArray||Y instanceof f)return Y;if(Array.isArray(Y))return Y.map(b);{let X={};for(let ie in Y)Object.hasOwnProperty.call(Y,ie)&&(X[ie]=b(Y[ie]));return X}}function y(Y,X){return w(Y,X,()=>[])}function w(Y,X,ie){let de=Y[X];return de!==void 0||(de=ie(X),Y[X]=de),de}var x=class{constructor(Y){this.maxResources=Y,this.idle=new d,this.isClosed=!1,this.resources=Y}acquire(Y){this.isClosed?Promise.resolve(!1).then(Y):this.resources>0?(this.resources--,Promise.resolve(!0).then(Y)):this.idle.enqueue(Y)}acquireSync(){return new Promise(Y=>{this.acquire(Y)})}release(){if(!this.isClosed){let Y=this.idle.dequeue();Y?Promise.resolve(!0).then(Y):this.resources++}}close(){if(!this.isClosed)for(this.isClosed=!0;!this.idle.isEmpty();){let Y=this.idle.dequeue();Promise.resolve(!1).then(Y)}}};function S(){if(typeof window<"u")return window;if(typeof self<"u")return self;if(typeof globalThis<"u")return globalThis;if(typeof global<"u")return global}function T(Y,X){let ie=0,de=Y.length;for(let fe=0;fe<de;fe++)Y[fe]===X&&(Y.splice(fe,1),fe--,de--,ie++);return ie}var M=S(),I=M.WeakRef||(Y=>Y);function A(Y){if(Y!=null){if(typeof Y=="object")return new I(Y);console.error(Y,Y instanceof Object,typeof Y);return}}function D(Y){return Y==null?void 0:Y.deref()}var E="_MSG_BUS_RPC_",N=300*1e3,R=(Y=>(Y.PUBLISH="publish",Y.SUBSCRIBE="subscribe",Y.PUSH="push",Y.PULL="pull",Y))(R||{}),v=class{constructor(Y){this.bus=Y}processRemoteMessage(Y,X){let ie=A(X),de=Y.topic,fe=Y.type,ye=Y.message;switch(fe){case"pull":this.bus.pull(de,Le=>{this.push(de,Le,D(ie))});break;case"subscribe":this.bus.subscribe(de,Le=>{this.publish(de,Le,D(ie))});break;case"publish":this.bus.publish(de,ye,this,D(ie));break;case"push":this.bus.push(de,ye,this,D(ie));break;default:console.debug("unknown message type "+fe)}}rpcCall(Y,X,ie,de=N){let fe=A(ie),ye=new Promise(Le=>{let Re=this.bus.uniqueRpcTopic(Y);this.publish(Y,{message:X,reply:Re},D(fe)),this.bus.pull(Re,(Ne,Te,Pe)=>{Le({message:Ne,bridge:Te,source:A(Pe)})})});return de>0?Promise.race([ye,new Promise((Le,Re)=>{setTimeout(Re,de)})]):ye}},k=class extends v{constructor(Y,X){super(Y),this.worker=X,X.onmessage=ie=>{this.processRemoteMessage(ie.data,void 0)}}publish(Y,X){this.postMessage(Y,"publish",X)}subscribe(Y){this.postMessage(Y,"subscribe",null)}push(Y,X){this.postMessage(Y,"push",X)}pull(Y){this.postMessage(Y,"pull",null)}rpcCall(Y,X,ie=N){return super.rpcCall(Y,X,void 0,ie)}postMessage(Y,X,ie){let de={topic:Y,type:X,message:ie};this.worker.postMessage(de)}discard(){this.worker.terminate()}},P=class extends v{constructor(Y){super(Y),window.addEventListener("message",X=>{this.processRemoteMessage(X.data,X.source)},!1)}publish(Y,X,ie){this.postMessage(Y,"publish",X,ie)}subscribe(Y,X){if(X===window)throw new Error("regist remote subscribe from current window is not permitted");this.postMessage(Y,"subscribe",null,X)}push(Y,X,ie){this.postMessage(Y,"push",X,ie)}pull(Y,X){if(X===window)throw new Error("regist remote pull from current window is not permitted");this.postMessage(Y,"pull",null,X)}postMessage(Y,X,ie,de){let fe={topic:Y,type:X,message:ie};de&&de.postMessage(fe,"*")}},O=class{constructor(Y){this.isRunning=!0,this.callback=Y}cancel(){this.callback=null,this.isRunning=!1}running(){return this.isRunning}execute(Y,X,ie,de){try{Y=de?Y:b(Y),this.callback(Y,X,ie)}catch(fe){console.error(fe)}}},_=class{constructor(Y=!1){this.subscribed={},this.pulled={},this.pushed={},this.uuid=crypto.randomUUID().replace(/-/g,""),this.rpcTicket=0,this.unsafe=Y}uniqueRpcTopic(Y){return`${E}-${Y}-${this.uuid}-${this.rpcTicket++}`}publish(Y,X,ie,de){let fe=this.subscribed[Y];if(fe){let ye;for(let Le of fe)Le.running()?Le.execute(X,ie,de,this.unsafe):(ye=ye||new Array,ye.push(Le));if(ye)for(let Le of ye)T(fe,Le)}else console.debug("no sub on topic: "+Y)}subscribe(Y,X){let ie=new O(X);return y(this.subscribed,Y).push(ie),ie}push(Y,X,ie,de){let fe=!1,ye=this.pulled[Y];if(ye){for(;ye.length>0;){let Le=ye.shift();if(Le.running()){Le.execute(X,ie,de,this.unsafe),fe=!0;break}}ye.length===0&&delete this.pulled[Y]}fe||y(this.pushed,Y).push({message:X,bridge:ie,source:A(de)})}pull(Y,X){let ie=new O(X),de=this.pushed[Y];if(de){let fe=de.shift();ie.execute(fe.message,fe.bridge,D(fe.source),this.unsafe),de.length===0&&delete this.pushed[Y]}else y(this.pulled,Y).push(ie);return ie}pullA(Y){return new Promise(X=>{this.pull(Y,(ie,de,fe)=>{X({message:ie,bridge:de,source:A(fe)})})})}rpcService(Y,X){this.subscribe(Y,(ie,de,fe)=>{let{message:ye,reply:Le}=ie;try{let Re=X(ye);if(Re instanceof Promise){let Ne=A(fe);Re.then(Te=>{this.rpcReply(Te,Le,de,D(Ne))},Te=>{console.error(Te),this.rpcReply(void 0,Le,de,D(Ne))})}else this.rpcReply(Re,Le,de,fe)}catch(Re){console.error(Re),this.rpcReply(void 0,Le,de,fe)}})}rpcCall(Y,X,ie=N){let de=new Promise(fe=>{let ye=this.uniqueRpcTopic(Y);this.publish(Y,{message:X,reply:ye}),this.pull(ye,(Le,Re,Ne)=>{fe({message:Le,bridge:Re,source:A(Ne)})})});return ie>0?Promise.race([de,new Promise((fe,ye)=>{setTimeout(ye,ie)})]):de}rpcReply(Y,X,ie,de){ie?ie.push(X,Y,de):this.push(X,Y)}},j="_MSG_BUS_RPC_";function B(Y,X){let ie=0,de=Y.length;for(let fe=0;fe<de;fe++)Y[fe]===X&&(Y.splice(fe,1),fe--,de--,ie++);return ie}function V(Y,X){return G(Y,X,()=>[])}function G(Y,X,ie){let de=Y[X];return de!==void 0||(de=ie(X),Y[X]=de),de}var Q=class{constructor(Y,X){this.callback=Y,this.unsafe=X,this.isRunning=!0}cancel(){this.callback=null,this.isRunning=!1}running(){return this.isRunning}async execute(Y){try{Y=this.unsafe?Y:b(Y),this.callback(Y)}catch(X){console.error(X)}}},H=class{constructor(Y=crypto.randomUUID()){this.uuid=Y,this.rpcTicket=0}subscribeOnce(Y,X){let ie=this.subscribe(Y,de=>{ie.cancel(),X(de)});return ie}pullA(Y){return new Promise(X=>{this.pull(Y,X)})}rpcService(Y,X){let ie=de=>{try{let{message:fe,replyTopic:ye}=de;try{let Le=X(fe);Le instanceof Promise?Le.then(Re=>{this.publish(ye,{success:!0,result:Re})}).catch(Re=>{console.error(Re),this.publish(ye,{success:!1,err:String(Re)})}):this.publish(ye,{success:!0,result:Le})}catch(Le){this.publish(ye,{success:!1,err:String(Le)})}}finally{this.pull(Y,ie)}};this.pull(Y,ie)}rpcCall(Y,X,ie=0){let de=new Promise((fe,ye)=>{let Le=`${j}-${Y}-${this.uuid}-${this.rpcTicket++}`;this.subscribeOnce(Le,Re=>{Re.success?fe(Re.result):ye(new Error(Re.err))}),this.push(Y,{message:X,replyTopic:Le})});return ie>0?Promise.race([de,new Promise((fe,ye)=>{setTimeout(ye,ie)})]):de}},q=class extends H{constructor(Y=!1){super(),this.unsafe=Y,this.subscribed={},this.pulled={},this.pushed={}}publish(Y,X){let ie=this.subscribed[Y];if(ie){let de;for(let fe of ie)fe.running()?fe.execute(X):(de=de||new Array,de.push(fe));if(de)for(let fe of de)B(ie,fe)}}subscribe(Y,X){let ie=new Q(X,this.unsafe);return V(this.subscribed,Y).push(ie),ie}push(Y,X){let ie=!1,de=this.pulled[Y];if(de){for(;de.length>0;){let fe=de.shift();if(fe&&fe.running()){fe.execute(X),ie=!0;break}}de.length===0&&delete this.pulled[Y]}ie||V(this.pushed,Y).push(X)}pull(Y,X){let ie=new Q(X,this.unsafe);return this.repull(Y,ie),ie}repull(Y,X){let ie=this.pushed[Y];if(ie){let de=ie.shift();de&&(X.execute(de),ie.length===0&&delete this.pushed[Y])}else V(this.pulled,Y).push(X)}},U=class extends H{constructor(Y=crypto.randomUUID()){super(Y),this.subscribed={},this.pushed={},this.pulled={},this.pushCnt=0}publish(Y,X){console.debug("BC",this.uuid,"PUBLISH",Y,X),this.broadcastPublish(Y,X)}subscribe(Y,X){console.debug("BC",this.uuid,"SUBSCRIBE",Y);let ie=new Q(X,!0);return V(this.subscribed,Y).push(ie),ie}push(Y,X){let ie=this.pushCnt++;console.debug("BC",this.uuid,"PUSH",Y,`(${ie})`,X),V(this.pushed,Y).push({id:ie,message:X}),this.broadcastPushedHeadMessage(Y)}pull(Y,X){console.debug("BC",this.uuid,"PULL",Y);let ie=new Q(X,!0);return V(this.pulled,Y).push(ie),this.broadcastWhoHas(Y),ie}broadcastPushedHeadMessage(Y){let X=this.pushed[Y];X&&X[0]&&this.broadcastIHave(Y,X[0].id)}onReceivedPublish(Y,X,ie){console.debug("BCMSG(",this.uuid,")","from",Y,"PUBLISH",X,"message",ie);let de=this.subscribed[X];if(de){let fe;for(let ye of de)ye.running()?ye.execute(ie):(fe=fe||new Array,fe.push(ye));if(fe)for(let ye of fe)B(de,ye);de.length===0&&delete this.subscribed[X]}}onReceivedWhoHas(Y,X){console.debug("BCMSG(",this.uuid,")","from",Y,"WHOHAS",X),this.broadcastPushedHeadMessage(X)}onReceivedIHave(Y,X,ie){console.debug("BCMSG(",this.uuid,")","from",Y,"IHAVE",X,"id",ie);let de=this.pulled[X];if(de){let fe;for(let ye of de)if(ye.running()){this.broadcastINeed(X,Y,ie);break}else fe=fe||new Array,fe.push(ye);if(fe)for(let ye of fe)B(de,ye);de.length===0&&delete this.pulled[X]}}onReceivedINeed(Y,X,ie,de){if(console.debug("BCMSG(",this.uuid,")","from",Y,"INEED",X,"source",ie,"id",de),this.uuid===ie){let fe=this.pushed[X];if(fe&&fe[0]&&fe[0].id===de){let{message:ye}=fe.shift();this.broadcastIGive(X,de,Y,ye),this.broadcastPushedHeadMessage(X),fe.length===0&&delete this.pushed[X]}}}onReceivedIGive(Y,X,ie,de,fe){console.debug("BCMSG(",this.uuid,")","from",Y,"IGIVE",X,"id",ie,"target",de,"message",fe);let ye=this.pulled[X];if(ye&&this.uuid===de){let Le=!1;for(;ye.length>0;){let Re=ye.shift();if(Re.running()){Re.execute(fe),Le=!0;break}}Le||this.push(X,fe),ye.length===0&&delete this.pulled[X]}}},F=class extends U{constructor(Y,X=crypto.randomUUID()){super(X),this.bc=new BroadcastChannel(Y),this.bc.onmessage=ie=>{this.onMessage(ie.data)}}onMessage(Y){let{type:X,uuid:ie,topic:de}=Y;switch(X){case"PUBLISH":{let{message:fe}=Y;this.onReceivedPublish(ie,de,fe);break}case"WHOHAS":{this.onReceivedWhoHas(ie,de);break}case"IHAVE":{let{id:fe}=Y;this.onReceivedIHave(ie,de,fe);break}case"INEED":{let{source:fe,id:ye}=Y;this.onReceivedINeed(ie,de,fe,ye);break}case"IGIVE":{let{target:fe,id:ye,message:Le}=Y;this.onReceivedIGive(ie,de,ye,fe,Le);break}default:console.warn("unsupported",Y)}}broadcastPublish(Y,X){this.post({type:"PUBLISH",uuid:this.uuid,topic:Y,message:X})}broadcastWhoHas(Y){this.post({type:"WHOHAS",uuid:this.uuid,topic:Y})}broadcastIHave(Y,X){this.post({type:"IHAVE",uuid:this.uuid,topic:Y,id:X})}broadcastINeed(Y,X,ie){this.post({type:"INEED",uuid:this.uuid,topic:Y,source:X,id:ie})}broadcastIGive(Y,X,ie,de){this.post({type:"IGIVE",uuid:this.uuid,topic:Y,id:X,target:ie,message:de})}post(Y){this.bc.postMessage(Y),Promise.resolve().then(()=>{this.onMessage(Y)})}},K=Symbol("BLOCKING_QUEUE_RESET"),te=class{constructor(Y,X=()=>1){if(this.maxSize=Y,this.itemSizeOf=X,this.queue=new d,this.waitingConsumers=new d,this.waitingProducers=new d,this.queueSize=0,this.closePromise=null,this.closeResolve=null,Y<=0)throw new Error("Max size must be greater than 0")}enqueue(Y){return this.closePromise?!1:this.isFull()?(async()=>{console.debug("queue is full",this.queueSize,this.maxSize);let X=await new Promise(ie=>{this.waitingProducers.enqueue(ie)});return console.debug("queue is not full",this.size(),X),X?(this.innerEnqueue(Y),!0):!1})():(this.innerEnqueue(Y),!0)}innerEnqueue(Y){if(this.waitingConsumers.isEmpty())this.queue.enqueue(Y),this.queueSize+=this.itemSizeOf(Y),console.debug("queue pushed",Y,"size",this.queueSize);else{let X=this.waitingConsumers.dequeue();Promise.resolve(Y).then(X),console.debug("queue direct",Y,"size",this.queueSize)}}dequeue(){if(this.queue.isEmpty())if(this.closePromise){for(;!this.waitingConsumers.isEmpty();){let Y=this.waitingConsumers.dequeue();Promise.resolve(K).then(Y)}return setTimeout(()=>this.closeResolve(),0),K}else return new Promise(Y=>{this.waitingConsumers.enqueue(Y)});else{let Y=this.queue.dequeue();if(this.queueSize-=this.itemSizeOf(Y),!this.waitingProducers.isEmpty()){let X=this.waitingProducers.dequeue();Promise.resolve(!0).then(X)}return Y}}size(){return this.queueSize}isEmpty(){return this.queueSize===0}isFull(){return this.queueSize>=this.maxSize}close(){return this.closePromise||(this.closePromise=new Promise(Y=>{for(this.closeResolve=Y;!this.waitingProducers.isEmpty();){let X=this.waitingProducers.dequeue();Promise.resolve(!1).then(X)}if(this.queueSize===0){for(;!this.waitingConsumers.isEmpty();){let X=this.waitingConsumers.dequeue();Promise.resolve(K).then(X)}Y()}})),this.closePromise}};function ae(Y,X,ie=Number.MAX_SAFE_INTEGER){let de=new te(ie,X),fe=new ReadableStream({pull(Le){let Re=!0,Ne=(async()=>{let Te=new Array;do{let Pe=de.dequeue();if(Pe instanceof Promise){Re=!1;let Oe=await Pe;Oe===K?Le.close():Te.push(Oe)}else{let Oe=Pe;Oe===K?Le.close():Te.push(Oe)}}while(de.size()>0);if(Te.length>0){let Pe=Y(Te);Le.enqueue(Pe)}})();if(!Re)return console.debug("read stream stucked --------------------------------------"),Ne},async cancel(){console.debug("buffered readable cancel"),await de.close()}}),ye=new WritableStream({write(Le,Re){let Ne=!0,Te=(async()=>{let Pe=de.enqueue(Le);typeof Pe=="boolean"?Pe||Re.error(new Error("Write stream closed")):(Ne=!1,await Pe||Re.error(new Error("Write stream closed")))})();if(!Ne)return console.debug("read stream stucked >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"),Te},async close(){console.debug("buffered writable closing",de.size()),await de.close(),console.debug("buffered writable closed",de.size())},async abort(){console.debug("buffered writable aborting",de.size()),await de.close(),console.debug("buffered writable aborted",de.size())}});return{readable:fe,writable:ye}}function pe(Y=Number.MAX_SAFE_INTEGER){return ae(X=>X.join(""),X=>X.length,Y)}function Z(Y=Number.MAX_SAFE_INTEGER){return ae(X=>{let ie=new Uint8Array(X.reduce((fe,ye)=>fe+ye.byteLength,0)),de=0;return X.forEach(fe=>{ie.set(fe,de),de+=fe.byteLength}),ie},X=>X.byteLength,Y)}function ee(Y){return new Promise((X,ie)=>{let de=new BroadcastChannel(Y),fe=new te(1),ye=new x(1),Le=null,Re=!1,Ne=!1,Te=!1;de.onmessage=Pe=>{let Oe=Pe.data,{type:Ue}=Oe;if(console.debug("p2p",Y,"type",Ue,"data",Ue==="DATA"&&Oe.data),Ue==="DATA")fe.enqueue(Oe.data);else if(Ue==="HI"){if(!Le){de.postMessage({type:"HI"});let Ye=0;Le={rs:new ReadableStream({async pull(ke){let Be=await fe.dequeue();Be===K?(await ze(),ke.close()):(ke.enqueue(Be),de.postMessage({type:"ACK"}))},cancel(){return ze()}}),ws:new WritableStream({async write(ke,Be){await ye.acquireSync()?de.postMessage({type:"DATA",id:Ye++,data:ke}):(Ve(),Be.error(new Error("Write stream closed")))},close(){Ve()},abort(){Ve()}})},X(Le)}}else Ue==="REND"?Le?ye.close():He("REND1"):Ue==="WEND"?Le?fe.close():He("WEND1"):Ue==="ACK"&&ye.release();function Ve(){Re||(Re=!0,console.debug(Y,"p2p write stream closed"),ye.close(),de.postMessage({type:"WEND"}),Ne&&(console.debug(Y,"p2p channel closed on ws"),de.close()))}async function ze(){Ne||(Ne=!0,console.debug(Y,"p2p read stream closed"),de.postMessage({type:"REND"}),await fe.close(),Re&&(console.debug(Y,"p2p channel closed on rs"),de.close()))}async function He(Ye){Te||(Te=!0,console.debug(Y,"p2p channel connection released on",Ye),ye.close(),fe.close(),Le?(Le.rs.locked||(console.debug(Y,"p2p unlocked read stream direct cancel"),Le.rs.cancel()),Le.ws.locked||(console.debug(Y,"p2p unlocked write stream direct close"),Le.ws.close())):(de.postMessage({type:"HI"}),de.close()),ie(new Error("p2p channel connection released")))}},de.postMessage({type:"HI"})})}function ce(Y){return new Promise(X=>{let ie=new BroadcastChannel(Y);ie.onmessage=de=>{let fe=de.data,{type:ye}=fe;ye==="HI"&&(ie.postMessage({type:"REND"}),ie.close(),X())},ie.postMessage({type:"REND"})})}async function ne(Y){try{return await ee(Y)}catch(X){X.message!=="p2p channel connection released"&&console.error(X)}}async function oe(Y,X,ie=10*1024*1024,de=!0){let fe=await ne(Y);if(!fe)return!1;let ye=!1;try{let Le,Re=Ne=>{if(!Le)if(!de)Le=fe.ws.getWriter();else if(typeof Ne=="string"){let Te=pe(ie);Te.readable.pipeTo(fe.ws),Le=Te.writable.getWriter()}else{let Te=Z(ie);Te.readable.pipeTo(fe.ws),Le=Te.writable.getWriter()}return Le.write(Ne)};if(Array.isArray(X))for(let Ne of X)await Re(Ne);else await X({write:Re,get desiredSize(){return((Le==null?void 0:Le.desiredSize)||0)+10}});Le&&await Le.close(),ye=!0}catch(Le){console.error(Le)}finally{return fe.rs.cancel(),ye}}async function re(Y,X){var ie,de;let fe=await ne(Y);if(fe)try{let ye=fe.rs.getReader();for((ie=X.start)==null?void 0:ie.call(X);;){let{value:Le,done:Re}=await ye.read();if(Le!==void 0){let Ne;if(X.update instanceof Promise?Ne=await X.update(Le):Ne=X.update(Le),Ne){await ye.cancel();break}}if(Re){(de=X.end)==null||de.call(X);break}}}catch(ye){console.error(ye)}finally{fe.ws.close()}}}),ou=bd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o():typeof define=="function"&&define.amd?define([],o):i.CryptoJS=o()})(t,function(){var i=i||(function(o,r){var n;if(typeof window<"u"&&window.crypto&&(n=window.crypto),typeof self<"u"&&self.crypto&&(n=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(n=globalThis.crypto),!n&&typeof window<"u"&&window.msCrypto&&(n=window.msCrypto),!n&&typeof global<"u"&&global.crypto&&(n=global.crypto),!n&&typeof LXt=="function")try{n=LXt("crypto")}catch{}var a=function(){if(n){if(typeof n.getRandomValues=="function")try{return n.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof n.randomBytes=="function")try{return n.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||(function(){function w(){}return function(x){var S;return w.prototype=x,S=new w,w.prototype=null,S}})(),l={},c=l.lib={},d=c.Base=(function(){return{extend:function(w){var x=s(this);return w&&x.mixIn(w),(!x.hasOwnProperty("init")||this.init===x.init)&&(x.init=function(){x.$super.init.apply(this,arguments)}),x.init.prototype=x,x.$super=this,x},create:function(){var w=this.extend();return w.init.apply(w,arguments),w},init:function(){},mixIn:function(w){for(var x in w)w.hasOwnProperty(x)&&(this[x]=w[x]);w.hasOwnProperty("toString")&&(this.toString=w.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),u=c.WordArray=d.extend({init:function(w,x){w=this.words=w||[],x!=r?this.sigBytes=x:this.sigBytes=w.length*4},toString:function(w){return(w||m).stringify(this)},concat:function(w){var x=this.words,S=w.words,T=this.sigBytes,M=w.sigBytes;if(this.clamp(),T%4)for(var I=0;I<M;I++){var A=S[I>>>2]>>>24-I%4*8&255;x[T+I>>>2]|=A<<24-(T+I)%4*8}else for(var D=0;D<M;D+=4)x[T+D>>>2]=S[D>>>2];return this.sigBytes+=M,this},clamp:function(){var w=this.words,x=this.sigBytes;w[x>>>2]&=4294967295<<32-x%4*8,w.length=o.ceil(x/4)},clone:function(){var w=d.clone.call(this);return w.words=this.words.slice(0),w},random:function(w){for(var x=[],S=0;S<w;S+=4)x.push(a());return new u.init(x,w)}}),p=l.enc={},m=p.Hex={stringify:function(w){for(var x=w.words,S=w.sigBytes,T=[],M=0;M<S;M++){var I=x[M>>>2]>>>24-M%4*8&255;T.push((I>>>4).toString(16)),T.push((I&15).toString(16))}return T.join("")},parse:function(w){for(var x=w.length,S=[],T=0;T<x;T+=2)S[T>>>3]|=parseInt(w.substr(T,2),16)<<24-T%8*4;return new u.init(S,x/2)}},h=p.Latin1={stringify:function(w){for(var x=w.words,S=w.sigBytes,T=[],M=0;M<S;M++){var I=x[M>>>2]>>>24-M%4*8&255;T.push(String.fromCharCode(I))}return T.join("")},parse:function(w){for(var x=w.length,S=[],T=0;T<x;T++)S[T>>>2]|=(w.charCodeAt(T)&255)<<24-T%4*8;return new u.init(S,x)}},f=p.Utf8={stringify:function(w){try{return decodeURIComponent(escape(h.stringify(w)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(w){return h.parse(unescape(encodeURIComponent(w)))}},g=c.BufferedBlockAlgorithm=d.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(w){typeof w=="string"&&(w=f.parse(w)),this._data.concat(w),this._nDataBytes+=w.sigBytes},_process:function(w){var x,S=this._data,T=S.words,M=S.sigBytes,I=this.blockSize,A=I*4,D=M/A;w?D=o.ceil(D):D=o.max((D|0)-this._minBufferSize,0);var E=D*I,N=o.min(E*4,M);if(E){for(var R=0;R<E;R+=I)this._doProcessBlock(T,R);x=T.splice(0,E),S.sigBytes-=N}return new u.init(x,N)},clone:function(){var w=d.clone.call(this);return w._data=this._data.clone(),w},_minBufferSize:0}),b=c.Hasher=g.extend({cfg:d.extend(),init:function(w){this.cfg=this.cfg.extend(w),this.reset()},reset:function(){g.reset.call(this),this._doReset()},update:function(w){return this._append(w),this._process(),this},finalize:function(w){w&&this._append(w);var x=this._doFinalize();return x},blockSize:512/32,_createHelper:function(w){return function(x,S){return new w.init(S).finalize(x)}},_createHmacHelper:function(w){return function(x,S){return new y.HMAC.init(w,S).finalize(x)}}}),y=l.algo={};return l})(Math);return i})}),e7e=bd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(ou()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(o){var r=i,n=r.lib,a=n.Base,s=n.WordArray,l=r.x64={},c=l.Word=a.extend({init:function(u,p){this.high=u,this.low=p}}),d=l.WordArray=a.extend({init:function(u,p){u=this.words=u||[],p!=o?this.sigBytes=p:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,p=u.length,m=[],h=0;h<p;h++){var f=u[h];m.push(f.high),m.push(f.low)}return s.create(m,this.sigBytes)},clone:function(){for(var u=a.clone.call(this),p=u.words=this.words.slice(0),m=p.length,h=0;h<m;h++)p[h]=p[h].clone();return u}})})(),i})}),mZo=bd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(ou()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(){if(typeof ArrayBuffer=="function"){var o=i,r=o.lib,n=r.WordArray,a=n.init,s=n.init=function(l){if(l instanceof ArrayBuffer&&(l=new Uint8Array(l)),(l instanceof Int8Array||typeof Uint8ClampedArray<"u"&&l instanceof Uint8ClampedArray||l instanceof Int16Array||l instanceof Uint16Array||l instanceof Int32Array||l instanceof Uint32Array||l instanceof Float32Array||l instanceof Float64Array)&&(l=new Uint8Array(l.buffer,l.byteOffset,l.byteLength)),l instanceof Uint8Array){for(var c=l.byteLength,d=[],u=0;u<c;u++)d[u>>>2]|=l[u]<<24-u%4*8;a.call(this,d,c)}else a.apply(this,arguments)};s.prototype=n}})(),i.lib.WordArray})}),hZo=bd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(ou()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.WordArray,a=o.enc,s=a.Utf16=a.Utf16BE={stringify:function(c){for(var d=c.words,u=c.sigBytes,p=[],m=0;m<u;m+=2){var h=d[m>>>2]>>>16-m%4*8&65535;p.push(String.fromCharCode(h))}return p.join("")},parse:function(c){for(var d=c.length,u=[],p=0;p<d;p++)u[p>>>1]|=c.charCodeAt(p)<<16-p%2*16;return n.create(u,d*2)}};a.Utf16LE={stringify:function(c){for(var d=c.words,u=c.sigBytes,p=[],m=0;m<u;m+=2){var h=l(d[m>>>2]>>>16-m%4*8&65535);p.push(String.fromCharCode(h))}return p.join("")},parse:function(c){for(var d=c.length,u=[],p=0;p<d;p++)u[p>>>1]|=l(c.charCodeAt(p)<<16-p%2*16);return n.create(u,d*2)}};function l(c){return c<<8&4278255360|c>>>8&16711935}})(),i.enc.Utf16})}),Uie=bd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(ou()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.WordArray,a=o.enc,s=a.Base64={stringify:function(c){var d=c.words,u=c.sigBytes,p=this._map;c.clamp();for(var m=[],h=0;h<u;h+=3)for(var f=d[h>>>2]>>>24-h%4*8&255,g=d[h+1>>>2]>>>24-(h+1)%4*8&255,b=d[h+2>>>2]>>>24-(h+2)%4*8&255,y=f<<16|g<<8|b,w=0;w<4&&h+w*.75<u;w++)m.push(p.charAt(y>>>6*(3-w)&63));var x=p.charAt(64);if(x)for(;m.length%4;)m.push(x);return m.join("")},parse:function(c){var d=c.length,u=this._map,p=this._reverseMap;if(!p){p=this._reverseMap=[];for(var m=0;m<u.length;m++)p[u.charCodeAt(m)]=m}var h=u.charAt(64);if(h){var f=c.indexOf(h);f!==-1&&(d=f)}return l(c,d,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function l(c,d,u){for(var p=[],m=0,h=0;h<d;h++)if(h%4){var f=u[c.charCodeAt(h-1)]<<h%4*2,g=u[c.charCodeAt(h)]>>>6-h%4*2,b=f|g;p[m>>>2]|=b<<24-m%4*8,m++}return n.create(p,m)}})(),i.enc.Base64})}),fZo=bd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(ou()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.WordArray,a=o.enc,s=a.Base64url={stringify:function(c,d){d===void 0&&(d=!0);var u=c.words,p=c.sigBytes,m=d?this._safe_map:this._map;c.clamp();for(var h=[],f=0;f<p;f+=3)for(var g=u[f>>>2]>>>24-f%4*8&255,b=u[f+1>>>2]>>>24-(f+1)%4*8&255,y=u[f+2>>>2]>>>24-(f+2)%4*8&255,w=g<<16|b<<8|y,x=0;x<4&&f+x*.75<p;x++)h.push(m.charAt(w>>>6*(3-x)&63));var S=m.charAt(64);if(S)for(;h.length%4;)h.push(S);return h.join("")},parse:function(c,d){d===void 0&&(d=!0);var u=c.length,p=d?this._safe_map:this._map,m=this._reverseMap;if(!m){m=this._reverseMap=[];for(var h=0;h<p.length;h++)m[p.charCodeAt(h)]=h}var f=p.charAt(64);if(f){var g=c.indexOf(f);g!==-1&&(u=g)}return l(c,u,m)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function l(c,d,u){for(var p=[],m=0,h=0;h<d;h++)if(h%4){var f=u[c.charCodeAt(h-1)]<<h%4*2,g=u[c.charCodeAt(h)]>>>6-h%4*2,b=f|g;p[m>>>2]|=b<<24-m%4*8,m++}return n.create(p,m)}})(),i.enc.Base64url})}),Vie=bd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(ou()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(o){var r=i,n=r.lib,a=n.WordArray,s=n.Hasher,l=r.algo,c=[];(function(){for(var f=0;f<64;f++)c[f]=o.abs(o.sin(f+1))*4294967296|0})();var d=l.MD5=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(f,g){for(var b=0;b<16;b++){var y=g+b,w=f[y];f[y]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var x=this._hash.words,S=f[g+0],T=f[g+1],M=f[g+2],I=f[g+3],A=f[g+4],D=f[g+5],E=f[g+6],N=f[g+7],R=f[g+8],v=f[g+9],k=f[g+10],P=f[g+11],O=f[g+12],_=f[g+13],j=f[g+14],B=f[g+15],V=x[0],G=x[1],Q=x[2],H=x[3];V=u(V,G,Q,H,S,7,c[0]),H=u(H,V,G,Q,T,12,c[1]),Q=u(Q,H,V,G,M,17,c[2]),G=u(G,Q,H,V,I,22,c[3]),V=u(V,G,Q,H,A,7,c[4]),H=u(H,V,G,Q,D,12,c[5]),Q=u(Q,H,V,G,E,17,c[6]),G=u(G,Q,H,V,N,22,c[7]),V=u(V,G,Q,H,R,7,c[8]),H=u(H,V,G,Q,v,12,c[9]),Q=u(Q,H,V,G,k,17,c[10]),G=u(G,Q,H,V,P,22,c[11]),V=u(V,G,Q,H,O,7,c[12]),H=u(H,V,G,Q,_,12,c[13]),Q=u(Q,H,V,G,j,17,c[14]),G=u(G,Q,H,V,B,22,c[15]),V=p(V,G,Q,H,T,5,c[16]),H=p(H,V,G,Q,E,9,c[17]),Q=p(Q,H,V,G,P,14,c[18]),G=p(G,Q,H,V,S,20,c[19]),V=p(V,G,Q,H,D,5,c[20]),H=p(H,V,G,Q,k,9,c[21]),Q=p(Q,H,V,G,B,14,c[22]),G=p(G,Q,H,V,A,20,c[23]),V=p(V,G,Q,H,v,5,c[24]),H=p(H,V,G,Q,j,9,c[25]),Q=p(Q,H,V,G,I,14,c[26]),G=p(G,Q,H,V,R,20,c[27]),V=p(V,G,Q,H,_,5,c[28]),H=p(H,V,G,Q,M,9,c[29]),Q=p(Q,H,V,G,N,14,c[30]),G=p(G,Q,H,V,O,20,c[31]),V=m(V,G,Q,H,D,4,c[32]),H=m(H,V,G,Q,R,11,c[33]),Q=m(Q,H,V,G,P,16,c[34]),G=m(G,Q,H,V,j,23,c[35]),V=m(V,G,Q,H,T,4,c[36]),H=m(H,V,G,Q,A,11,c[37]),Q=m(Q,H,V,G,N,16,c[38]),G=m(G,Q,H,V,k,23,c[39]),V=m(V,G,Q,H,_,4,c[40]),H=m(H,V,G,Q,S,11,c[41]),Q=m(Q,H,V,G,I,16,c[42]),G=m(G,Q,H,V,E,23,c[43]),V=m(V,G,Q,H,v,4,c[44]),H=m(H,V,G,Q,O,11,c[45]),Q=m(Q,H,V,G,B,16,c[46]),G=m(G,Q,H,V,M,23,c[47]),V=h(V,G,Q,H,S,6,c[48]),H=h(H,V,G,Q,N,10,c[49]),Q=h(Q,H,V,G,j,15,c[50]),G=h(G,Q,H,V,D,21,c[51]),V=h(V,G,Q,H,O,6,c[52]),H=h(H,V,G,Q,I,10,c[53]),Q=h(Q,H,V,G,k,15,c[54]),G=h(G,Q,H,V,T,21,c[55]),V=h(V,G,Q,H,R,6,c[56]),H=h(H,V,G,Q,B,10,c[57]),Q=h(Q,H,V,G,E,15,c[58]),G=h(G,Q,H,V,_,21,c[59]),V=h(V,G,Q,H,A,6,c[60]),H=h(H,V,G,Q,P,10,c[61]),Q=h(Q,H,V,G,M,15,c[62]),G=h(G,Q,H,V,v,21,c[63]),x[0]=x[0]+V|0,x[1]=x[1]+G|0,x[2]=x[2]+Q|0,x[3]=x[3]+H|0},_doFinalize:function(){var f=this._data,g=f.words,b=this._nDataBytes*8,y=f.sigBytes*8;g[y>>>5]|=128<<24-y%32;var w=o.floor(b/4294967296),x=b;g[(y+64>>>9<<4)+15]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,g[(y+64>>>9<<4)+14]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,f.sigBytes=(g.length+1)*4,this._process();for(var S=this._hash,T=S.words,M=0;M<4;M++){var I=T[M];T[M]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360}return S},clone:function(){var f=s.clone.call(this);return f._hash=this._hash.clone(),f}});function u(f,g,b,y,w,x,S){var T=f+(g&b|~g&y)+w+S;return(T<<x|T>>>32-x)+g}function p(f,g,b,y,w,x,S){var T=f+(g&y|b&~y)+w+S;return(T<<x|T>>>32-x)+g}function m(f,g,b,y,w,x,S){var T=f+(g^b^y)+w+S;return(T<<x|T>>>32-x)+g}function h(f,g,b,y,w,x,S){var T=f+(b^(g|~y))+w+S;return(T<<x|T>>>32-x)+g}r.MD5=s._createHelper(d),r.HmacMD5=s._createHmacHelper(d)})(Math),i.MD5})}),Z$t=bd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(ou()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.WordArray,a=r.Hasher,s=o.algo,l=[],c=s.SHA1=a.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(d,u){for(var p=this._hash.words,m=p[0],h=p[1],f=p[2],g=p[3],b=p[4],y=0;y<80;y++){if(y<16)l[y]=d[u+y]|0;else{var w=l[y-3]^l[y-8]^l[y-14]^l[y-16];l[y]=w<<1|w>>>31}var x=(m<<5|m>>>27)+b+l[y];y<20?x+=(h&f|~h&g)+1518500249:y<40?x+=(h^f^g)+1859775393:y<60?x+=(h&f|h&g|f&g)-1894007588:x+=(h^f^g)-899497514,b=g,g=f,f=h<<30|h>>>2,h=m,m=x}p[0]=p[0]+m|0,p[1]=p[1]+h|0,p[2]=p[2]+f|0,p[3]=p[3]+g|0,p[4]=p[4]+b|0},_doFinalize:function(){var d=this._data,u=d.words,p=this._nDataBytes*8,m=d.sigBytes*8;return u[m>>>5]|=128<<24-m%32,u[(m+64>>>9<<4)+14]=Math.floor(p/4294967296),u[(m+64>>>9<<4)+15]=p,d.sigBytes=u.length*4,this._process(),this._hash},clone:function(){var d=a.clone.call(this);return d._hash=this._hash.clone(),d}});o.SHA1=a._createHelper(c),o.HmacSHA1=a._createHmacHelper(c)})(),i.SHA1})}),yht=bd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(ou()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(o){var r=i,n=r.lib,a=n.WordArray,s=n.Hasher,l=r.algo,c=[],d=[];(function(){function m(b){for(var y=o.sqrt(b),w=2;w<=y;w++)if(!(b%w))return!1;return!0}function h(b){return(b-(b|0))*4294967296|0}for(var f=2,g=0;g<64;)m(f)&&(g<8&&(c[g]=h(o.pow(f,1/2))),d[g]=h(o.pow(f,1/3)),g++),f++})();var u=[],p=l.SHA256=s.extend({_doReset:function(){this._hash=new a.init(c.slice(0))},_doProcessBlock:function(m,h){for(var f=this._hash.words,g=f[0],b=f[1],y=f[2],w=f[3],x=f[4],S=f[5],T=f[6],M=f[7],I=0;I<64;I++){if(I<16)u[I]=m[h+I]|0;else{var A=u[I-15],D=(A<<25|A>>>7)^(A<<14|A>>>18)^A>>>3,E=u[I-2],N=(E<<15|E>>>17)^(E<<13|E>>>19)^E>>>10;u[I]=D+u[I-7]+N+u[I-16]}var R=x&S^~x&T,v=g&b^g&y^b&y,k=(g<<30|g>>>2)^(g<<19|g>>>13)^(g<<10|g>>>22),P=(x<<26|x>>>6)^(x<<21|x>>>11)^(x<<7|x>>>25),O=M+P+R+d[I]+u[I],_=k+v;M=T,T=S,S=x,x=w+O|0,w=y,y=b,b=g,g=O+_|0}f[0]=f[0]+g|0,f[1]=f[1]+b|0,f[2]=f[2]+y|0,f[3]=f[3]+w|0,f[4]=f[4]+x|0,f[5]=f[5]+S|0,f[6]=f[6]+T|0,f[7]=f[7]+M|0},_doFinalize:function(){var m=this._data,h=m.words,f=this._nDataBytes*8,g=m.sigBytes*8;return h[g>>>5]|=128<<24-g%32,h[(g+64>>>9<<4)+14]=o.floor(f/4294967296),h[(g+64>>>9<<4)+15]=f,m.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var m=s.clone.call(this);return m._hash=this._hash.clone(),m}});r.SHA256=s._createHelper(p),r.HmacSHA256=s._createHmacHelper(p)})(Math),i.SHA256})}),gZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),yht()):typeof define=="function"&&define.amd?define(["./core","./sha256"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.WordArray,a=o.algo,s=a.SHA256,l=a.SHA224=s.extend({_doReset:function(){this._hash=new n.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=s._doFinalize.call(this);return c.sigBytes-=4,c}});o.SHA224=s._createHelper(l),o.HmacSHA224=s._createHmacHelper(l)})(),i.SHA224})}),J$t=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),e7e()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.Hasher,a=o.x64,s=a.Word,l=a.WordArray,c=o.algo;function d(){return s.create.apply(s,arguments)}var u=[d(1116352408,3609767458),d(1899447441,602891725),d(3049323471,3964484399),d(3921009573,2173295548),d(961987163,4081628472),d(1508970993,3053834265),d(2453635748,2937671579),d(2870763221,3664609560),d(3624381080,2734883394),d(310598401,1164996542),d(607225278,1323610764),d(1426881987,3590304994),d(1925078388,4068182383),d(2162078206,991336113),d(2614888103,633803317),d(3248222580,3479774868),d(3835390401,2666613458),d(4022224774,944711139),d(264347078,2341262773),d(604807628,2007800933),d(770255983,1495990901),d(1249150122,1856431235),d(1555081692,3175218132),d(1996064986,2198950837),d(2554220882,3999719339),d(2821834349,766784016),d(2952996808,2566594879),d(3210313671,3203337956),d(3336571891,1034457026),d(3584528711,2466948901),d(113926993,3758326383),d(338241895,168717936),d(666307205,1188179964),d(773529912,1546045734),d(1294757372,1522805485),d(1396182291,2643833823),d(1695183700,2343527390),d(1986661051,1014477480),d(2177026350,1206759142),d(2456956037,344077627),d(2730485921,1290863460),d(2820302411,3158454273),d(3259730800,3505952657),d(3345764771,106217008),d(3516065817,3606008344),d(3600352804,1432725776),d(4094571909,1467031594),d(275423344,851169720),d(430227734,3100823752),d(506948616,1363258195),d(659060556,3750685593),d(883997877,3785050280),d(958139571,3318307427),d(1322822218,3812723403),d(1537002063,2003034995),d(1747873779,3602036899),d(1955562222,1575990012),d(2024104815,1125592928),d(2227730452,2716904306),d(2361852424,442776044),d(2428436474,593698344),d(2756734187,3733110249),d(3204031479,2999351573),d(3329325298,3815920427),d(3391569614,3928383900),d(3515267271,566280711),d(3940187606,3454069534),d(4118630271,4000239992),d(116418474,1914138554),d(174292421,2731055270),d(289380356,3203993006),d(460393269,320620315),d(685471733,587496836),d(852142971,1086792851),d(1017036298,365543100),d(1126000580,2618297676),d(1288033470,3409855158),d(1501505948,4234509866),d(1607167915,987167468),d(1816402316,1246189591)],p=[];(function(){for(var h=0;h<80;h++)p[h]=d()})();var m=c.SHA512=n.extend({_doReset:function(){this._hash=new l.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(h,f){for(var g=this._hash.words,b=g[0],y=g[1],w=g[2],x=g[3],S=g[4],T=g[5],M=g[6],I=g[7],A=b.high,D=b.low,E=y.high,N=y.low,R=w.high,v=w.low,k=x.high,P=x.low,O=S.high,_=S.low,j=T.high,B=T.low,V=M.high,G=M.low,Q=I.high,H=I.low,q=A,U=D,F=E,K=N,te=R,ae=v,pe=k,Z=P,ee=O,ce=_,ne=j,oe=B,re=V,Y=G,X=Q,ie=H,de=0;de<80;de++){var fe,ye,Le=p[de];if(de<16)ye=Le.high=h[f+de*2]|0,fe=Le.low=h[f+de*2+1]|0;else{var Re=p[de-15],Ne=Re.high,Te=Re.low,Pe=(Ne>>>1|Te<<31)^(Ne>>>8|Te<<24)^Ne>>>7,Oe=(Te>>>1|Ne<<31)^(Te>>>8|Ne<<24)^(Te>>>7|Ne<<25),Ue=p[de-2],Ve=Ue.high,ze=Ue.low,He=(Ve>>>19|ze<<13)^(Ve<<3|ze>>>29)^Ve>>>6,Ye=(ze>>>19|Ve<<13)^(ze<<3|Ve>>>29)^(ze>>>6|Ve<<26),ke=p[de-7],Be=ke.high,Xe=ke.low,Ge=p[de-16],Ke=Ge.high,pt=Ge.low;fe=Oe+Xe,ye=Pe+Be+(fe>>>0<Oe>>>0?1:0),fe=fe+Ye,ye=ye+He+(fe>>>0<Ye>>>0?1:0),fe=fe+pt,ye=ye+Ke+(fe>>>0<pt>>>0?1:0),Le.high=ye,Le.low=fe}var ot=ee&ne^~ee&re,Qe=ce&oe^~ce&Y,ut=q&F^q&te^F&te,rt=U&K^U&ae^K&ae,ht=(q>>>28|U<<4)^(q<<30|U>>>2)^(q<<25|U>>>7),ct=(U>>>28|q<<4)^(U<<30|q>>>2)^(U<<25|q>>>7),wt=(ee>>>14|ce<<18)^(ee>>>18|ce<<14)^(ee<<23|ce>>>9),zt=(ce>>>14|ee<<18)^(ce>>>18|ee<<14)^(ce<<23|ee>>>9),gt=u[de],Qt=gt.high,yt=gt.low,jt=ie+zt,ni=X+wt+(jt>>>0<ie>>>0?1:0),jt=jt+Qe,ni=ni+ot+(jt>>>0<Qe>>>0?1:0),jt=jt+yt,ni=ni+Qt+(jt>>>0<yt>>>0?1:0),jt=jt+fe,ni=ni+ye+(jt>>>0<fe>>>0?1:0),Ii=ct+rt,Mo=ht+ut+(Ii>>>0<ct>>>0?1:0);X=re,ie=Y,re=ne,Y=oe,ne=ee,oe=ce,ce=Z+jt|0,ee=pe+ni+(ce>>>0<Z>>>0?1:0)|0,pe=te,Z=ae,te=F,ae=K,F=q,K=U,U=jt+Ii|0,q=ni+Mo+(U>>>0<jt>>>0?1:0)|0}D=b.low=D+U,b.high=A+q+(D>>>0<U>>>0?1:0),N=y.low=N+K,y.high=E+F+(N>>>0<K>>>0?1:0),v=w.low=v+ae,w.high=R+te+(v>>>0<ae>>>0?1:0),P=x.low=P+Z,x.high=k+pe+(P>>>0<Z>>>0?1:0),_=S.low=_+ce,S.high=O+ee+(_>>>0<ce>>>0?1:0),B=T.low=B+oe,T.high=j+ne+(B>>>0<oe>>>0?1:0),G=M.low=G+Y,M.high=V+re+(G>>>0<Y>>>0?1:0),H=I.low=H+ie,I.high=Q+X+(H>>>0<ie>>>0?1:0)},_doFinalize:function(){var h=this._data,f=h.words,g=this._nDataBytes*8,b=h.sigBytes*8;f[b>>>5]|=128<<24-b%32,f[(b+128>>>10<<5)+30]=Math.floor(g/4294967296),f[(b+128>>>10<<5)+31]=g,h.sigBytes=f.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var h=n.clone.call(this);return h._hash=this._hash.clone(),h},blockSize:1024/32});o.SHA512=n._createHelper(m),o.HmacSHA512=n._createHmacHelper(m)})(),i.SHA512})}),bZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),e7e(),J$t()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./sha512"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.x64,n=r.Word,a=r.WordArray,s=o.algo,l=s.SHA512,c=s.SHA384=l.extend({_doReset:function(){this._hash=new a.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var d=l._doFinalize.call(this);return d.sigBytes-=16,d}});o.SHA384=l._createHelper(c),o.HmacSHA384=l._createHmacHelper(c)})(),i.SHA384})}),yZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),e7e()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],o):o(i.CryptoJS)})(t,function(i){return(function(o){var r=i,n=r.lib,a=n.WordArray,s=n.Hasher,l=r.x64,c=l.Word,d=r.algo,u=[],p=[],m=[];(function(){for(var g=1,b=0,y=0;y<24;y++){u[g+5*b]=(y+1)*(y+2)/2%64;var w=b%5,x=(2*g+3*b)%5;g=w,b=x}for(var g=0;g<5;g++)for(var b=0;b<5;b++)p[g+5*b]=b+(2*g+3*b)%5*5;for(var S=1,T=0;T<24;T++){for(var M=0,I=0,A=0;A<7;A++){if(S&1){var D=(1<<A)-1;D<32?I^=1<<D:M^=1<<D-32}S&128?S=S<<1^113:S<<=1}m[T]=c.create(M,I)}})();var h=[];(function(){for(var g=0;g<25;g++)h[g]=c.create()})();var f=d.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var g=this._state=[],b=0;b<25;b++)g[b]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(g,b){for(var y=this._state,w=this.blockSize/2,x=0;x<w;x++){var S=g[b+2*x],T=g[b+2*x+1];S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,T=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360;var M=y[x];M.high^=T,M.low^=S}for(var I=0;I<24;I++){for(var A=0;A<5;A++){for(var D=0,E=0,N=0;N<5;N++){var M=y[A+5*N];D^=M.high,E^=M.low}var R=h[A];R.high=D,R.low=E}for(var A=0;A<5;A++)for(var v=h[(A+4)%5],k=h[(A+1)%5],P=k.high,O=k.low,D=v.high^(P<<1|O>>>31),E=v.low^(O<<1|P>>>31),N=0;N<5;N++){var M=y[A+5*N];M.high^=D,M.low^=E}for(var _=1;_<25;_++){var D,E,M=y[_],j=M.high,B=M.low,V=u[_];V<32?(D=j<<V|B>>>32-V,E=B<<V|j>>>32-V):(D=B<<V-32|j>>>64-V,E=j<<V-32|B>>>64-V);var G=h[p[_]];G.high=D,G.low=E}var Q=h[0],H=y[0];Q.high=H.high,Q.low=H.low;for(var A=0;A<5;A++)for(var N=0;N<5;N++){var _=A+5*N,M=y[_],q=h[_],U=h[(A+1)%5+5*N],F=h[(A+2)%5+5*N];M.high=q.high^~U.high&F.high,M.low=q.low^~U.low&F.low}var M=y[0],K=m[I];M.high^=K.high,M.low^=K.low}},_doFinalize:function(){var g=this._data,b=g.words,y=this._nDataBytes*8,w=g.sigBytes*8,x=this.blockSize*32;b[w>>>5]|=1<<24-w%32,b[(o.ceil((w+1)/x)*x>>>5)-1]|=128,g.sigBytes=b.length*4,this._process();for(var S=this._state,T=this.cfg.outputLength/8,M=T/8,I=[],A=0;A<M;A++){var D=S[A],E=D.high,N=D.low;E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,N=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360,I.push(N),I.push(E)}return new a.init(I,T)},clone:function(){for(var g=s.clone.call(this),b=g._state=this._state.slice(0),y=0;y<25;y++)b[y]=b[y].clone();return g}});r.SHA3=s._createHelper(f),r.HmacSHA3=s._createHmacHelper(f)})(Math),i.SHA3})}),wZo=bd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(ou()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(o){var r=i,n=r.lib,a=n.WordArray,s=n.Hasher,l=r.algo,c=a.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),d=a.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),u=a.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),p=a.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),m=a.create([0,1518500249,1859775393,2400959708,2840853838]),h=a.create([1352829926,1548603684,1836072691,2053994217,0]),f=l.RIPEMD160=s.extend({_doReset:function(){this._hash=a.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(T,M){for(var I=0;I<16;I++){var A=M+I,D=T[A];T[A]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}var E=this._hash.words,N=m.words,R=h.words,v=c.words,k=d.words,P=u.words,O=p.words,_,j,B,V,G,Q,H,q,U,F;Q=_=E[0],H=j=E[1],q=B=E[2],U=V=E[3],F=G=E[4];for(var K,I=0;I<80;I+=1)K=_+T[M+v[I]]|0,I<16?K+=g(j,B,V)+N[0]:I<32?K+=b(j,B,V)+N[1]:I<48?K+=y(j,B,V)+N[2]:I<64?K+=w(j,B,V)+N[3]:K+=x(j,B,V)+N[4],K=K|0,K=S(K,P[I]),K=K+G|0,_=G,G=V,V=S(B,10),B=j,j=K,K=Q+T[M+k[I]]|0,I<16?K+=x(H,q,U)+R[0]:I<32?K+=w(H,q,U)+R[1]:I<48?K+=y(H,q,U)+R[2]:I<64?K+=b(H,q,U)+R[3]:K+=g(H,q,U)+R[4],K=K|0,K=S(K,O[I]),K=K+F|0,Q=F,F=U,U=S(q,10),q=H,H=K;K=E[1]+B+U|0,E[1]=E[2]+V+F|0,E[2]=E[3]+G+Q|0,E[3]=E[4]+_+H|0,E[4]=E[0]+j+q|0,E[0]=K},_doFinalize:function(){var T=this._data,M=T.words,I=this._nDataBytes*8,A=T.sigBytes*8;M[A>>>5]|=128<<24-A%32,M[(A+64>>>9<<4)+14]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,T.sigBytes=(M.length+1)*4,this._process();for(var D=this._hash,E=D.words,N=0;N<5;N++){var R=E[N];E[N]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360}return D},clone:function(){var T=s.clone.call(this);return T._hash=this._hash.clone(),T}});function g(T,M,I){return T^M^I}function b(T,M,I){return T&M|~T&I}function y(T,M,I){return(T|~M)^I}function w(T,M,I){return T&I|M&~I}function x(T,M,I){return T^(M|~I)}function S(T,M){return T<<M|T>>>32-M}r.RIPEMD160=s._createHelper(f),r.HmacRIPEMD160=s._createHmacHelper(f)})(Math),i.RIPEMD160})}),wht=bd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(ou()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){(function(){var o=i,r=o.lib,n=r.Base,a=o.enc,s=a.Utf8,l=o.algo,c=l.HMAC=n.extend({init:function(d,u){d=this._hasher=new d.init,typeof u=="string"&&(u=s.parse(u));var p=d.blockSize,m=p*4;u.sigBytes>m&&(u=d.finalize(u)),u.clamp();for(var h=this._oKey=u.clone(),f=this._iKey=u.clone(),g=h.words,b=f.words,y=0;y<p;y++)g[y]^=1549556828,b[y]^=909522486;h.sigBytes=f.sigBytes=m,this.reset()},reset:function(){var d=this._hasher;d.reset(),d.update(this._iKey)},update:function(d){return this._hasher.update(d),this},finalize:function(d){var u=this._hasher,p=u.finalize(d);u.reset();var m=u.finalize(this._oKey.clone().concat(p));return m}})})()})}),CZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),yht(),wht()):typeof define=="function"&&define.amd?define(["./core","./sha256","./hmac"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.Base,a=r.WordArray,s=o.algo,l=s.SHA256,c=s.HMAC,d=s.PBKDF2=n.extend({cfg:n.extend({keySize:128/32,hasher:l,iterations:25e4}),init:function(u){this.cfg=this.cfg.extend(u)},compute:function(u,p){for(var m=this.cfg,h=c.create(m.hasher,u),f=a.create(),g=a.create([1]),b=f.words,y=g.words,w=m.keySize,x=m.iterations;b.length<w;){var S=h.update(p).finalize(g);h.reset();for(var T=S.words,M=T.length,I=S,A=1;A<x;A++){I=h.finalize(I),h.reset();for(var D=I.words,E=0;E<M;E++)T[E]^=D[E]}f.concat(S),y[0]++}return f.sigBytes=w*4,f}});o.PBKDF2=function(u,p,m){return d.create(m).compute(u,p)}})(),i.PBKDF2})}),gK=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),Z$t(),wht()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.Base,a=r.WordArray,s=o.algo,l=s.MD5,c=s.EvpKDF=n.extend({cfg:n.extend({keySize:128/32,hasher:l,iterations:1}),init:function(d){this.cfg=this.cfg.extend(d)},compute:function(d,u){for(var p,m=this.cfg,h=m.hasher.create(),f=a.create(),g=f.words,b=m.keySize,y=m.iterations;g.length<b;){p&&h.update(p),p=h.update(d).finalize(u),h.reset();for(var w=1;w<y;w++)p=h.finalize(p),h.reset();f.concat(p)}return f.sigBytes=b*4,f}});o.EvpKDF=function(d,u,p){return c.create(p).compute(d,u)}})(),i.EvpKDF})}),u3=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),gK()):typeof define=="function"&&define.amd?define(["./core","./evpkdf"],o):o(i.CryptoJS)})(t,function(i){i.lib.Cipher||(function(o){var r=i,n=r.lib,a=n.Base,s=n.WordArray,l=n.BufferedBlockAlgorithm,c=r.enc,d=c.Utf8,u=c.Base64,p=r.algo,m=p.EvpKDF,h=n.Cipher=l.extend({cfg:a.extend(),createEncryptor:function(R,v){return this.create(this._ENC_XFORM_MODE,R,v)},createDecryptor:function(R,v){return this.create(this._DEC_XFORM_MODE,R,v)},init:function(R,v,k){this.cfg=this.cfg.extend(k),this._xformMode=R,this._key=v,this.reset()},reset:function(){l.reset.call(this),this._doReset()},process:function(R){return this._append(R),this._process()},finalize:function(R){R&&this._append(R);var v=this._doFinalize();return v},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function R(v){return typeof v=="string"?N:A}return function(v){return{encrypt:function(k,P,O){return R(P).encrypt(v,k,P,O)},decrypt:function(k,P,O){return R(P).decrypt(v,k,P,O)}}}})()}),f=n.StreamCipher=h.extend({_doFinalize:function(){var R=this._process(!0);return R},blockSize:1}),g=r.mode={},b=n.BlockCipherMode=a.extend({createEncryptor:function(R,v){return this.Encryptor.create(R,v)},createDecryptor:function(R,v){return this.Decryptor.create(R,v)},init:function(R,v){this._cipher=R,this._iv=v}}),y=g.CBC=(function(){var R=b.extend();R.Encryptor=R.extend({processBlock:function(k,P){var O=this._cipher,_=O.blockSize;v.call(this,k,P,_),O.encryptBlock(k,P),this._prevBlock=k.slice(P,P+_)}}),R.Decryptor=R.extend({processBlock:function(k,P){var O=this._cipher,_=O.blockSize,j=k.slice(P,P+_);O.decryptBlock(k,P),v.call(this,k,P,_),this._prevBlock=j}});function v(k,P,O){var _,j=this._iv;j?(_=j,this._iv=o):_=this._prevBlock;for(var B=0;B<O;B++)k[P+B]^=_[B]}return R})(),w=r.pad={},x=w.Pkcs7={pad:function(R,v){for(var k=v*4,P=k-R.sigBytes%k,O=P<<24|P<<16|P<<8|P,_=[],j=0;j<P;j+=4)_.push(O);var B=s.create(_,P);R.concat(B)},unpad:function(R){var v=R.words[R.sigBytes-1>>>2]&255;R.sigBytes-=v}},S=n.BlockCipher=h.extend({cfg:h.cfg.extend({mode:y,padding:x}),reset:function(){var R;h.reset.call(this);var v=this.cfg,k=v.iv,P=v.mode;this._xformMode==this._ENC_XFORM_MODE?R=P.createEncryptor:(R=P.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==R?this._mode.init(this,k&&k.words):(this._mode=R.call(P,this,k&&k.words),this._mode.__creator=R)},_doProcessBlock:function(R,v){this._mode.processBlock(R,v)},_doFinalize:function(){var R,v=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(v.pad(this._data,this.blockSize),R=this._process(!0)):(R=this._process(!0),v.unpad(R)),R},blockSize:128/32}),T=n.CipherParams=a.extend({init:function(R){this.mixIn(R)},toString:function(R){return(R||this.formatter).stringify(this)}}),M=r.format={},I=M.OpenSSL={stringify:function(R){var v,k=R.ciphertext,P=R.salt;return P?v=s.create([1398893684,1701076831]).concat(P).concat(k):v=k,v.toString(u)},parse:function(R){var v,k=u.parse(R),P=k.words;return P[0]==1398893684&&P[1]==1701076831&&(v=s.create(P.slice(2,4)),P.splice(0,4),k.sigBytes-=16),T.create({ciphertext:k,salt:v})}},A=n.SerializableCipher=a.extend({cfg:a.extend({format:I}),encrypt:function(R,v,k,P){P=this.cfg.extend(P);var O=R.createEncryptor(k,P),_=O.finalize(v),j=O.cfg;return T.create({ciphertext:_,key:k,iv:j.iv,algorithm:R,mode:j.mode,padding:j.padding,blockSize:R.blockSize,formatter:P.format})},decrypt:function(R,v,k,P){P=this.cfg.extend(P),v=this._parse(v,P.format);var O=R.createDecryptor(k,P).finalize(v.ciphertext);return O},_parse:function(R,v){return typeof R=="string"?v.parse(R,this):R}}),D=r.kdf={},E=D.OpenSSL={execute:function(R,v,k,P,O){if(P||(P=s.random(64/8)),O)var _=m.create({keySize:v+k,hasher:O}).compute(R,P);else var _=m.create({keySize:v+k}).compute(R,P);var j=s.create(_.words.slice(v),k*4);return _.sigBytes=v*4,T.create({key:_,iv:j,salt:P})}},N=n.PasswordBasedCipher=A.extend({cfg:A.cfg.extend({kdf:E}),encrypt:function(R,v,k,P){P=this.cfg.extend(P);var O=P.kdf.execute(k,R.keySize,R.ivSize,P.salt,P.hasher);P.iv=O.iv;var _=A.encrypt.call(this,R,v,O.key,P);return _.mixIn(O),_},decrypt:function(R,v,k,P){P=this.cfg.extend(P),v=this._parse(v,P.format);var O=P.kdf.execute(k,R.keySize,R.ivSize,v.salt,P.hasher);P.iv=O.iv;var _=A.decrypt.call(this,R,v,O.key,P);return _}})})()})}),xZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),u3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.mode.CFB=(function(){var o=i.lib.BlockCipherMode.extend();o.Encryptor=o.extend({processBlock:function(n,a){var s=this._cipher,l=s.blockSize;r.call(this,n,a,l,s),this._prevBlock=n.slice(a,a+l)}}),o.Decryptor=o.extend({processBlock:function(n,a){var s=this._cipher,l=s.blockSize,c=n.slice(a,a+l);r.call(this,n,a,l,s),this._prevBlock=c}});function r(n,a,s,l){var c,d=this._iv;d?(c=d.slice(0),this._iv=void 0):c=this._prevBlock,l.encryptBlock(c,0);for(var u=0;u<s;u++)n[a+u]^=c[u]}return o})(),i.mode.CFB})}),TZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),u3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.mode.CTR=(function(){var o=i.lib.BlockCipherMode.extend(),r=o.Encryptor=o.extend({processBlock:function(n,a){var s=this._cipher,l=s.blockSize,c=this._iv,d=this._counter;c&&(d=this._counter=c.slice(0),this._iv=void 0);var u=d.slice(0);s.encryptBlock(u,0),d[l-1]=d[l-1]+1|0;for(var p=0;p<l;p++)n[a+p]^=u[p]}});return o.Decryptor=r,o})(),i.mode.CTR})}),SZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),u3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.mode.CTRGladman=(function(){var o=i.lib.BlockCipherMode.extend();function r(s){if((s>>24&255)===255){var l=s>>16&255,c=s>>8&255,d=s&255;l===255?(l=0,c===255?(c=0,d===255?d=0:++d):++c):++l,s=0,s+=l<<16,s+=c<<8,s+=d}else s+=1<<24;return s}function n(s){return(s[0]=r(s[0]))===0&&(s[1]=r(s[1])),s}var a=o.Encryptor=o.extend({processBlock:function(s,l){var c=this._cipher,d=c.blockSize,u=this._iv,p=this._counter;u&&(p=this._counter=u.slice(0),this._iv=void 0),n(p);var m=p.slice(0);c.encryptBlock(m,0);for(var h=0;h<d;h++)s[l+h]^=m[h]}});return o.Decryptor=a,o})(),i.mode.CTRGladman})}),MZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),u3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.mode.OFB=(function(){var o=i.lib.BlockCipherMode.extend(),r=o.Encryptor=o.extend({processBlock:function(n,a){var s=this._cipher,l=s.blockSize,c=this._iv,d=this._keystream;c&&(d=this._keystream=c.slice(0),this._iv=void 0),s.encryptBlock(d,0);for(var u=0;u<l;u++)n[a+u]^=d[u]}});return o.Decryptor=r,o})(),i.mode.OFB})}),IZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),u3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.mode.ECB=(function(){var o=i.lib.BlockCipherMode.extend();return o.Encryptor=o.extend({processBlock:function(r,n){this._cipher.encryptBlock(r,n)}}),o.Decryptor=o.extend({processBlock:function(r,n){this._cipher.decryptBlock(r,n)}}),o})(),i.mode.ECB})}),LZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),u3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.pad.AnsiX923={pad:function(o,r){var n=o.sigBytes,a=r*4,s=a-n%a,l=n+s-1;o.clamp(),o.words[l>>>2]|=s<<24-l%4*8,o.sigBytes+=s},unpad:function(o){var r=o.words[o.sigBytes-1>>>2]&255;o.sigBytes-=r}},i.pad.Ansix923})}),vZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),u3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.pad.Iso10126={pad:function(o,r){var n=r*4,a=n-o.sigBytes%n;o.concat(i.lib.WordArray.random(a-1)).concat(i.lib.WordArray.create([a<<24],1))},unpad:function(o){var r=o.words[o.sigBytes-1>>>2]&255;o.sigBytes-=r}},i.pad.Iso10126})}),DZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),u3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.pad.Iso97971={pad:function(o,r){o.concat(i.lib.WordArray.create([2147483648],1)),i.pad.ZeroPadding.pad(o,r)},unpad:function(o){i.pad.ZeroPadding.unpad(o),o.sigBytes--}},i.pad.Iso97971})}),EZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),u3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.pad.ZeroPadding={pad:function(o,r){var n=r*4;o.clamp(),o.sigBytes+=n-(o.sigBytes%n||n)},unpad:function(o){for(var r=o.words,n=o.sigBytes-1,n=o.sigBytes-1;n>=0;n--)if(r[n>>>2]>>>24-n%4*8&255){o.sigBytes=n+1;break}}},i.pad.ZeroPadding})}),AZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),u3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.pad.NoPadding={pad:function(){},unpad:function(){}},i.pad.NoPadding})}),NZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),u3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return(function(o){var r=i,n=r.lib,a=n.CipherParams,s=r.enc,l=s.Hex,c=r.format,d=c.Hex={stringify:function(u){return u.ciphertext.toString(l)},parse:function(u){var p=l.parse(u);return a.create({ciphertext:p})}}})(),i.format.Hex})}),kZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),Uie(),Vie(),gK(),u3()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.BlockCipher,a=o.algo,s=[],l=[],c=[],d=[],u=[],p=[],m=[],h=[],f=[],g=[];(function(){for(var w=[],x=0;x<256;x++)x<128?w[x]=x<<1:w[x]=x<<1^283;for(var S=0,T=0,x=0;x<256;x++){var M=T^T<<1^T<<2^T<<3^T<<4;M=M>>>8^M&255^99,s[S]=M,l[M]=S;var I=w[S],A=w[I],D=w[A],E=w[M]*257^M*16843008;c[S]=E<<24|E>>>8,d[S]=E<<16|E>>>16,u[S]=E<<8|E>>>24,p[S]=E;var E=D*16843009^A*65537^I*257^S*16843008;m[M]=E<<24|E>>>8,h[M]=E<<16|E>>>16,f[M]=E<<8|E>>>24,g[M]=E,S?(S=I^w[w[w[D^I]]],T^=w[w[T]]):S=T=1}})();var b=[0,1,2,4,8,16,32,64,128,27,54],y=a.AES=n.extend({_doReset:function(){var w;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var x=this._keyPriorReset=this._key,S=x.words,T=x.sigBytes/4,M=this._nRounds=T+6,I=(M+1)*4,A=this._keySchedule=[],D=0;D<I;D++)D<T?A[D]=S[D]:(w=A[D-1],D%T?T>6&&D%T==4&&(w=s[w>>>24]<<24|s[w>>>16&255]<<16|s[w>>>8&255]<<8|s[w&255]):(w=w<<8|w>>>24,w=s[w>>>24]<<24|s[w>>>16&255]<<16|s[w>>>8&255]<<8|s[w&255],w^=b[D/T|0]<<24),A[D]=A[D-T]^w);for(var E=this._invKeySchedule=[],N=0;N<I;N++){var D=I-N;if(N%4)var w=A[D];else var w=A[D-4];N<4||D<=4?E[N]=w:E[N]=m[s[w>>>24]]^h[s[w>>>16&255]]^f[s[w>>>8&255]]^g[s[w&255]]}}},encryptBlock:function(w,x){this._doCryptBlock(w,x,this._keySchedule,c,d,u,p,s)},decryptBlock:function(w,x){var S=w[x+1];w[x+1]=w[x+3],w[x+3]=S,this._doCryptBlock(w,x,this._invKeySchedule,m,h,f,g,l);var S=w[x+1];w[x+1]=w[x+3],w[x+3]=S},_doCryptBlock:function(w,x,S,T,M,I,A,D){for(var E=this._nRounds,N=w[x]^S[0],R=w[x+1]^S[1],v=w[x+2]^S[2],k=w[x+3]^S[3],P=4,O=1;O<E;O++){var _=T[N>>>24]^M[R>>>16&255]^I[v>>>8&255]^A[k&255]^S[P++],j=T[R>>>24]^M[v>>>16&255]^I[k>>>8&255]^A[N&255]^S[P++],B=T[v>>>24]^M[k>>>16&255]^I[N>>>8&255]^A[R&255]^S[P++],V=T[k>>>24]^M[N>>>16&255]^I[R>>>8&255]^A[v&255]^S[P++];N=_,R=j,v=B,k=V}var _=(D[N>>>24]<<24|D[R>>>16&255]<<16|D[v>>>8&255]<<8|D[k&255])^S[P++],j=(D[R>>>24]<<24|D[v>>>16&255]<<16|D[k>>>8&255]<<8|D[N&255])^S[P++],B=(D[v>>>24]<<24|D[k>>>16&255]<<16|D[N>>>8&255]<<8|D[R&255])^S[P++],V=(D[k>>>24]<<24|D[N>>>16&255]<<16|D[R>>>8&255]<<8|D[v&255])^S[P++];w[x]=_,w[x+1]=j,w[x+2]=B,w[x+3]=V},keySize:256/32});o.AES=n._createHelper(y)})(),i.AES})}),PZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),Uie(),Vie(),gK(),u3()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.WordArray,a=r.BlockCipher,s=o.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],d=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],u=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],p=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],m=s.DES=a.extend({_doReset:function(){for(var b=this._key,y=b.words,w=[],x=0;x<56;x++){var S=l[x]-1;w[x]=y[S>>>5]>>>31-S%32&1}for(var T=this._subKeys=[],M=0;M<16;M++){for(var I=T[M]=[],A=d[M],x=0;x<24;x++)I[x/6|0]|=w[(c[x]-1+A)%28]<<31-x%6,I[4+(x/6|0)]|=w[28+(c[x+24]-1+A)%28]<<31-x%6;I[0]=I[0]<<1|I[0]>>>31;for(var x=1;x<7;x++)I[x]=I[x]>>>(x-1)*4+3;I[7]=I[7]<<5|I[7]>>>27}for(var D=this._invSubKeys=[],x=0;x<16;x++)D[x]=T[15-x]},encryptBlock:function(b,y){this._doCryptBlock(b,y,this._subKeys)},decryptBlock:function(b,y){this._doCryptBlock(b,y,this._invSubKeys)},_doCryptBlock:function(b,y,w){this._lBlock=b[y],this._rBlock=b[y+1],h.call(this,4,252645135),h.call(this,16,65535),f.call(this,2,858993459),f.call(this,8,16711935),h.call(this,1,1431655765);for(var x=0;x<16;x++){for(var S=w[x],T=this._lBlock,M=this._rBlock,I=0,A=0;A<8;A++)I|=u[A][((M^S[A])&p[A])>>>0];this._lBlock=M,this._rBlock=T^I}var D=this._lBlock;this._lBlock=this._rBlock,this._rBlock=D,h.call(this,1,1431655765),f.call(this,8,16711935),f.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),b[y]=this._lBlock,b[y+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function h(b,y){var w=(this._lBlock>>>b^this._rBlock)&y;this._rBlock^=w,this._lBlock^=w<<b}function f(b,y){var w=(this._rBlock>>>b^this._lBlock)&y;this._lBlock^=w,this._rBlock^=w<<b}o.DES=a._createHelper(m);var g=s.TripleDES=a.extend({_doReset:function(){var b=this._key,y=b.words;if(y.length!==2&&y.length!==4&&y.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var w=y.slice(0,2),x=y.length<4?y.slice(0,2):y.slice(2,4),S=y.length<6?y.slice(0,2):y.slice(4,6);this._des1=m.createEncryptor(n.create(w)),this._des2=m.createEncryptor(n.create(x)),this._des3=m.createEncryptor(n.create(S))},encryptBlock:function(b,y){this._des1.encryptBlock(b,y),this._des2.decryptBlock(b,y),this._des3.encryptBlock(b,y)},decryptBlock:function(b,y){this._des3.decryptBlock(b,y),this._des2.encryptBlock(b,y),this._des1.decryptBlock(b,y)},keySize:192/32,ivSize:64/32,blockSize:64/32});o.TripleDES=a._createHelper(g)})(),i.TripleDES})}),OZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),Uie(),Vie(),gK(),u3()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.StreamCipher,a=o.algo,s=a.RC4=n.extend({_doReset:function(){for(var d=this._key,u=d.words,p=d.sigBytes,m=this._S=[],h=0;h<256;h++)m[h]=h;for(var h=0,f=0;h<256;h++){var g=h%p,b=u[g>>>2]>>>24-g%4*8&255;f=(f+m[h]+b)%256;var y=m[h];m[h]=m[f],m[f]=y}this._i=this._j=0},_doProcessBlock:function(d,u){d[u]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var d=this._S,u=this._i,p=this._j,m=0,h=0;h<4;h++){u=(u+1)%256,p=(p+d[u])%256;var f=d[u];d[u]=d[p],d[p]=f,m|=d[(d[u]+d[p])%256]<<24-h*8}return this._i=u,this._j=p,m}o.RC4=n._createHelper(s);var c=a.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var d=this.cfg.drop;d>0;d--)l.call(this)}});o.RC4Drop=n._createHelper(c)})(),i.RC4})}),RZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),Uie(),Vie(),gK(),u3()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.StreamCipher,a=o.algo,s=[],l=[],c=[],d=a.Rabbit=n.extend({_doReset:function(){for(var p=this._key.words,m=this.cfg.iv,h=0;h<4;h++)p[h]=(p[h]<<8|p[h]>>>24)&16711935|(p[h]<<24|p[h]>>>8)&4278255360;var f=this._X=[p[0],p[3]<<16|p[2]>>>16,p[1],p[0]<<16|p[3]>>>16,p[2],p[1]<<16|p[0]>>>16,p[3],p[2]<<16|p[1]>>>16],g=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var h=0;h<4;h++)u.call(this);for(var h=0;h<8;h++)g[h]^=f[h+4&7];if(m){var b=m.words,y=b[0],w=b[1],x=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,S=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,T=x>>>16|S&4294901760,M=S<<16|x&65535;g[0]^=x,g[1]^=T,g[2]^=S,g[3]^=M,g[4]^=x,g[5]^=T,g[6]^=S,g[7]^=M;for(var h=0;h<4;h++)u.call(this)}},_doProcessBlock:function(p,m){var h=this._X;u.call(this),s[0]=h[0]^h[5]>>>16^h[3]<<16,s[1]=h[2]^h[7]>>>16^h[5]<<16,s[2]=h[4]^h[1]>>>16^h[7]<<16,s[3]=h[6]^h[3]>>>16^h[1]<<16;for(var f=0;f<4;f++)s[f]=(s[f]<<8|s[f]>>>24)&16711935|(s[f]<<24|s[f]>>>8)&4278255360,p[m+f]^=s[f]},blockSize:128/32,ivSize:64/32});function u(){for(var p=this._X,m=this._C,h=0;h<8;h++)l[h]=m[h];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0<l[0]>>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0<l[1]>>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0<l[2]>>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0<l[3]>>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0<l[4]>>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0<l[5]>>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0<l[6]>>>0?1:0)|0,this._b=m[7]>>>0<l[7]>>>0?1:0;for(var h=0;h<8;h++){var f=p[h]+m[h],g=f&65535,b=f>>>16,y=((g*g>>>17)+g*b>>>15)+b*b,w=((f&4294901760)*f|0)+((f&65535)*f|0);c[h]=y^w}p[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,p[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,p[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,p[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,p[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,p[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,p[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,p[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}o.Rabbit=n._createHelper(d)})(),i.Rabbit})}),_Zo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),Uie(),Vie(),gK(),u3()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.StreamCipher,a=o.algo,s=[],l=[],c=[],d=a.RabbitLegacy=n.extend({_doReset:function(){var p=this._key.words,m=this.cfg.iv,h=this._X=[p[0],p[3]<<16|p[2]>>>16,p[1],p[0]<<16|p[3]>>>16,p[2],p[1]<<16|p[0]>>>16,p[3],p[2]<<16|p[1]>>>16],f=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var g=0;g<4;g++)u.call(this);for(var g=0;g<8;g++)f[g]^=h[g+4&7];if(m){var b=m.words,y=b[0],w=b[1],x=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,S=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,T=x>>>16|S&4294901760,M=S<<16|x&65535;f[0]^=x,f[1]^=T,f[2]^=S,f[3]^=M,f[4]^=x,f[5]^=T,f[6]^=S,f[7]^=M;for(var g=0;g<4;g++)u.call(this)}},_doProcessBlock:function(p,m){var h=this._X;u.call(this),s[0]=h[0]^h[5]>>>16^h[3]<<16,s[1]=h[2]^h[7]>>>16^h[5]<<16,s[2]=h[4]^h[1]>>>16^h[7]<<16,s[3]=h[6]^h[3]>>>16^h[1]<<16;for(var f=0;f<4;f++)s[f]=(s[f]<<8|s[f]>>>24)&16711935|(s[f]<<24|s[f]>>>8)&4278255360,p[m+f]^=s[f]},blockSize:128/32,ivSize:64/32});function u(){for(var p=this._X,m=this._C,h=0;h<8;h++)l[h]=m[h];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0<l[0]>>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0<l[1]>>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0<l[2]>>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0<l[3]>>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0<l[4]>>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0<l[5]>>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0<l[6]>>>0?1:0)|0,this._b=m[7]>>>0<l[7]>>>0?1:0;for(var h=0;h<8;h++){var f=p[h]+m[h],g=f&65535,b=f>>>16,y=((g*g>>>17)+g*b>>>15)+b*b,w=((f&4294901760)*f|0)+((f&65535)*f|0);c[h]=y^w}p[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,p[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,p[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,p[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,p[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,p[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,p[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,p[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}o.RabbitLegacy=n._createHelper(d)})(),i.RabbitLegacy})}),jZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),Uie(),Vie(),gK(),u3()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.BlockCipher,a=o.algo;let s=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var d={pbox:[],sbox:[]};function u(g,b){let y=b>>24&255,w=b>>16&255,x=b>>8&255,S=b&255,T=g.sbox[0][y]+g.sbox[1][w];return T=T^g.sbox[2][x],T=T+g.sbox[3][S],T}function p(g,b,y){let w=b,x=y,S;for(let T=0;T<s;++T)w=w^g.pbox[T],x=u(g,w)^x,S=w,w=x,x=S;return S=w,w=x,x=S,x=x^g.pbox[s],w=w^g.pbox[s+1],{left:w,right:x}}function m(g,b,y){let w=b,x=y,S;for(let T=s+1;T>1;--T)w=w^g.pbox[T],x=u(g,w)^x,S=w,w=x,x=S;return S=w,w=x,x=S,x=x^g.pbox[1],w=w^g.pbox[0],{left:w,right:x}}function h(g,b,y){for(let M=0;M<4;M++){g.sbox[M]=[];for(let I=0;I<256;I++)g.sbox[M][I]=c[M][I]}let w=0;for(let M=0;M<s+2;M++)g.pbox[M]=l[M]^b[w],w++,w>=y&&(w=0);let x=0,S=0,T=0;for(let M=0;M<s+2;M+=2)T=p(g,x,S),x=T.left,S=T.right,g.pbox[M]=x,g.pbox[M+1]=S;for(let M=0;M<4;M++)for(let I=0;I<256;I+=2)T=p(g,x,S),x=T.left,S=T.right,g.sbox[M][I]=x,g.sbox[M][I+1]=S;return!0}var f=a.Blowfish=n.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var g=this._keyPriorReset=this._key,b=g.words,y=g.sigBytes/4;h(d,b,y)}},encryptBlock:function(g,b){var y=p(d,g[b],g[b+1]);g[b]=y.left,g[b+1]=y.right},decryptBlock:function(g,b){var y=m(d,g[b],g[b+1]);g[b]=y.left,g[b+1]=y.right},blockSize:64/32,keySize:128/32,ivSize:64/32});o.Blowfish=n._createHelper(f)})(),i.Blowfish})}),BZo=bd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(ou(),e7e(),mZo(),hZo(),Uie(),fZo(),Vie(),Z$t(),yht(),gZo(),J$t(),bZo(),yZo(),wZo(),wht(),CZo(),gK(),u3(),xZo(),TZo(),SZo(),MZo(),IZo(),LZo(),vZo(),DZo(),EZo(),AZo(),NZo(),kZo(),PZo(),OZo(),RZo(),_Zo(),jZo()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./enc-base64url","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy","./blowfish"],o):i.CryptoJS=o(i.CryptoJS)})(t,function(i){return i})}),ys=(t=>(t.Device="Device",t.Symbol="Symbol",t.Footprint="Footprint",t.OBJ="OBJ",t.ModelID="3D Model",t.ModelName="3D Model Title",t.OriginModelName="Origin 3D Model Title",t.ModelTransform="3D Model Transform",t.OriginFootprint="Origin Footprint",t))(ys||{}),q1=(t=>(t.DOCHEAD="DOCHEAD",t.EDIT_HEAD="EDIT_HEAD",t.SCH="SCH",t.SCH_PAGE="SCH_PAGE",t.PCB="PCB",t.PANEL="PANEL",t.PANEL_LIB="PANEL_LIB",t.SYMBOL="SYMBOL",t.FOOTPRINT="FOOTPRINT",t.DEVICE="DEVICE",t.BLOB="BLOB",t.INSTANCE="INSTANCE",t.CONFIG="CONFIG",t.BOARD="BOARD",t.FONT="FONT",t.VARIANT="VARIANT",t.COMPONENT_GROUP="COMPONENT_GROUP",t.COMPONENT_GROUP_DATA="COMPONENT_GROUP_DATA",t.SIMULATION="SIMULATION",t))(q1||{}),zZo=(t=>(t.META="META",t.META_SORT="META_SORT",t.META_CREATE="META_CREATE",t.META_MODIFY="META_MODIFY",t.FONT="FONT",t.BLOB="BLOB",t.MAX_NUM="MAX_NUM",t.INSTANCE_ATTR="INSTANCE_ATTR",t.DELETE_DOC="DELETE_DOC",t.META_Z_INDEX="META_Z_INDEX",t.VARIANT_GROUPED="VARIANT_GROUPED",t.GROUP_INDEX="GROUP_INDEX",t.GROUP_DATA="GROUP_DATA",t.RULE_TEMPLATE="RULE_TEMPLATE",t.RULE="RULE",t.RULE_SELECTOR="RULE_SELECTOR",t.ELE_PLACEHOLDER="ELE_PLACEHOLDER",t.META_PLACEHOLDER="META_PLACEHOLDER",t))(zZo||{}),dS=`|
`;function J3e(t,e,i){return t.slice(e,i)}function mK(t,e,i){let o=t.length,r=0;for(;r<o;){let n=t.indexOf(`|
`,r);if(n<0){if(i)return t.substring(r);n=o}let a=J3e(t,r,n);try{if(a){let s=a.indexOf("||"),l=s>-1,c=l?J3e(a,0,s):a,d=l?J3e(a,s+2):"";if(e(c,d,a,l?r+s+2:r)===!1){a=null;break}a=null}}catch(s){console.error(s)}r=n+2}t=null}var FZo=["SYMBOL","FOOTPRINT","BLOB","FONT","PANEL_LIB","DEVICE","BOARD","INSTANCE","CONFIG","VARIANT","COMPONENT_GROUP","COMPONENT_GROUP_DATA"];function i1t(t,e){return FZo.includes(e)?e:t}var q$t=class{parseFull(t,e,i){let o=e,r=i,n,a=null;mK(t,(s,l,c)=>{let d=JSON.parse(s);if(d.type==="EDIT_HEAD")a=JSON.parse(l),this.onEditHead&&this.onEditHead(a);else if(d.type==="DOCHEAD"){let u=JSON.parse(l);r=u.docType,o=u.uuid,n=u.client,u.ticket=d.ticket,this.onDocHead(u,a,c)}else this.onLine(d.id,d.ticket,l,d.type,d.client||n,r,o,d.firstTicket,d.pend,a,d.num,c)}),this.onEnd(),t=null}flowParseFull(t={}){let{cache:e,chunkLength:i=100*1024*1024,idsData:o,history:r}=t,n="",a=null,s,l=null,c=!0,d="",u=0,p=!1,m={},h=e?{}:void 0,f=new Set,g=w=>{h[w]===void 0&&(h[w]=-1),e(w,++h[w],m[w].data.join(`|
`)),m[w].data.length=0,m[w].size=0,m[w].data.push(m[w].head),m[w].size+=m[w].head.length},b=w=>{if(f.add(n),!e)return;let x=i1t(n,a);m[x].data.push(w),m[x].size+=(m[x].size?2:0)+w.length,m[x].size+w.length>i&&g(x)},y=(w,x)=>mK(w,(S,T,M,I)=>{var A,D,E,N,R,v,k,P;let O=JSON.parse(S);if(O.type==="EDIT_HEAD")l=JSON.parse(T),(A=this.onEditHead)==null||A.call(this,l),(D=t.onEditHead)==null||D.call(t,l),p=!0;else if(O.type==="DOCHEAD"){let _=JSON.parse(T);a=_.docType,n=_.uuid,s=_.client,_.ticket=O.ticket,p||(l={uuid:_.uuid,username:(E=_==null?void 0:_.user)==null?void 0:E.username,nickname:(N=_==null?void 0:_.user)==null?void 0:N.nickname,updateTime:_==null?void 0:_.updateTime},(R=t.onEditHead)==null||R.call(t,l),p=!0),this.onDocHead(_,l,M);let j=i1t(n,a);e&&!m[j]&&(m[j]={size:0,data:[],head:""}),e&&(m[j].head=M),b(M)}else{let _=O.num,j=O.client||s;if(o){let B=(P=(k=(v=o.ids)==null?void 0:v[n])==null?void 0:k[j])==null?void 0:P[O.id];if(!B||B[0]!==O.ticket)return;_=B[1],o.size-=1,delete o.ids[n][j][O.id]}if(r){let B=i1t(n,a);e&&(r.dNum=(h==null?void 0:h[B])===void 0?0:(h==null?void 0:h[B])+1),r.start=e?m[B].size+2+S.length+2:u+I}this.onLine(O.id,O.ticket,T,O.type,j,a,n,O.firstTicket,O.pend,l||(r==null?void 0:r.editHead),_,M,r),b(M)}},x);return{start:()=>{c=!0},end:()=>{if(d&&y(d,!1),e)for(let w in m)m[w].size&&m[w].data.length>1&&g(w),m[w]=null;c=!1,d="",n="",n=null,s="",l=null,this.onEnd()},update:w=>{if(!c)throw new Error("\u66F4\u65B0\u524D\u672A\u8C03\u7528 start \u65B9\u6CD5");let x=y(d+w,!0);u=u+d.length+w.length-((x==null?void 0:x.length)||0),d="",x&&(d=x)},docMap:h,getDocIds:()=>Array.from(f)}}parseLine(t,e,i){let o=t.indexOf("||"),r=o!==-1,n=r?J3e(t,0,o):t,a=r?J3e(t,o+2):"",s=JSON.parse(n);this.onLine(s.id,s.ticket,a,s.type,s.client,i,e,s.firstTicket,s.pend,void 0,s.num,t),t=null}onEditHead(t){}},o1t=new Uint8Array(8);function Sp(){crypto.getRandomValues(o1t);let t="";for(let e=0;e<o1t.length;e++)t+=o1t[e].toString(16).padStart(2,"0");return t}function Cb(t,e,i,o,r,n,a){let s={docType:t,client:e,uuid:i};return(o||o===0)&&(s.updateTime=o),(r||s.updateTime||s.updateTime===0)&&(s.version=r||String(o)),n&&(s.user=n),`${JSON.stringify({type:"DOCHEAD",ticket:a})}||${JSON.stringify(s)}`}function ac(t,e,i,o,r,n,a,s){let l={type:t,ticket:e,id:i};return n!==void 0&&(l.firstTicket=n),a!==void 0&&(l.pend=a),s!==void 0&&(l.num=s),r&&(l.client=r),`${JSON.stringify(l)}||${o}`}var X$t=class extends q$t{constructor(t){super(),this.unique=Sp(),this.maxTicket=0,this.isPendChange=!0,this.isLocalChange=!0,this.cbArr=[],this.tempLocalIds={},this.docMaxTicket={},this.client=t||Sp()}onLine(t,e,i,o,r,n,a,s,l,c,d){this.remoteChange(e,r,a,t,i,o,n,void 0,s,l,c,void 0,void 0,d)}getUnique(){return this.unique}setUnique(t){this.unique=t}setDocMaxTicket(t,e,i){i||(!this.docMaxTicket[t]||this.docMaxTicket[t]<e)&&(this.docMaxTicket[t]=e)}getDocMaxTicket(t){var e;return(e=this.docMaxTicket[t])!=null?e:0}onDocHead(t,e){}onEnd(){}setIsPendChange(t){this.isPendChange=t}getIsPendChange(){return this.isPendChange}getMaxTicket(){return this.maxTicket}setMaxTicket(t,e){t&&(e||this.maxTicket<t)&&(this.maxTicket=t)}setIsLocalChange(t){this.isLocalChange=t}getIsLocalChange(){return this.isLocalChange}revoke(t,e,i,o,r,n,a,s,l,c,d){var u;if(!((u=this.tempLocalIds[t])!=null&&u[e]))return d?d(e,r,i,a,`${o}-1`,t,n,void 0,void 0,!0,c):this.cbArr.forEach(p=>p(t,e,i,a,`${o}-1`,r,void 0,n,void 0,void 0,void 0,c)),!0}getRandomUuid(){return Sp()}getClient(){return this.client}onChange(t){this.cbArr.push(t)}localChange(t,e,i,o,r,n){let a=this.maxTicket+1;return this.tempLocalIds[t]||(this.tempLocalIds[t]={}),this.tempLocalIds[t][e]=[this.getClient(),a],this.remoteChange(a,this.client,t,e,i,o,r,!0,void 0,!0,void 0,this.unique,void 0,n),a}remoteChange(t,e,i,o,r,n,a,s,l,c,d,u,p,m){var h;this.setMaxTicket(t);let f=u===this.unique,g=s||f,b=(!g||g&&this.isLocalChange)&&(!p||p&&this.isPendChange),y=(h=this.tempLocalIds[i])==null?void 0:h[o];!s&&f?y?(b=!1,y[0]===e&&y[1]===t&&delete this.tempLocalIds[i][o]):b=!0:!s&&y&&(y[1]>t||y[1]===t&&y[0]>e?b=!1:delete this.tempLocalIds[i][o]),this.setDocMaxTicket(i,t,c),b&&this.cbArr.forEach(w=>w(i,o,r,n,e,t,l,c,void 0,p,u,m))}},UZo=class{constructor(t){this.item=t,this.parent=null,this.left=null,this.right=null,this.height=1}getParent(){return this.parent}getLeft(){return this.left}getRight(){return this.right}getHeight(){return this.height}setLeft(t){if(this.left!==null)throw new Error("insert exists left is not permitted");if(t!==null){if(t.parent!==null)throw new Error("insert left with node has parent is not permitted");this.left=t,t.parent=this,this.updateHeight()}}setRight(t){if(this.right!==null)throw new Error("insert exists right is not permitted");if(t!==null){if(t.parent!==null)throw new Error("insert right with node has parent is not permitted");this.right=t,t.parent=this,this.updateHeight()}}removeLeft(){if(this.left===null)return null;{let t=this.left;return t.parent=null,this.left=null,this.updateHeight(),t}}removeRight(){if(this.right===null)return null;{let t=this.right;return t.parent=null,this.right=null,this.updateHeight(),t}}rotateRight(t){let e=this.removeLeft();if(this.setLeft(e.removeRight()),this.parent){let i=this.parent;i.getLeft()===this?(i.removeLeft(),i.setLeft(e)):(i.removeRight(),i.setRight(e)),e.setRight(this)}else e.setRight(this),t(e)}rotateLeft(t){let e=this.removeRight();if(this.setRight(e.removeLeft()),this.parent){let i=this.parent;i.getLeft()===this?(i.removeLeft(),i.setLeft(e)):(i.removeRight(),i.setRight(e)),e.setLeft(this)}else e.setLeft(this),t(e)}updateHeight(){var t,e;let i=this;for(;i!==null;)i.height=Math.max(((t=i.left)==null?void 0:t.height)||0,((e=i.right)==null?void 0:e.height)||0)+1,i=i.parent}},VZo=class{constructor(t){this.comparator=t,this.root=null,this.minNode=null,this.maxNode=null,this.size=0}balance(t){var e,i;let o=((e=t.getLeft())==null?void 0:e.getHeight())||0,r=((i=t.getRight())==null?void 0:i.getHeight())||0,n=t.getParent();o>r?o-r>1?(t.rotateRight(a=>this.root=a),this.verify()):n!==null?n.getRight()===t&&(t.rotateRight(a=>this.root=a),this.verify()):(t.rotateRight(a=>this.root=a),this.verify()):r>o&&(r-o>1?(t.rotateLeft(a=>this.root=a),this.verify()):n!==null?n.getLeft()===t&&(t.rotateLeft(a=>this.root=a),this.verify()):(t.rotateLeft(a=>this.root=a),this.verify())),n&&this.balance(n)}forwardTraverse(t){let e=new Array(10),i=this.minNode;for(;i;)switch(e.pop()||2){case 1:i.getLeft()!==null?(e.push(2),e.push(1),i=i.getLeft()):e.push(2);break;case 2:if(!t(i.item))return;i.getRight()!==null?(e.push(3),e.push(1),i=i.getRight()):e.push(3);break;case 3:i=i.getParent();break;default:throw new Error("invalid status")}}backwardTraverse(t){let e=new Array(10),i=this.maxNode;for(;i;)switch(e.pop()||2){case 1:i.getRight()!==null?(e.push(2),e.push(1),i=i.getRight()):e.push(2);break;case 2:if(!t(i.item))return;i.getLeft()!==null?(e.push(3),e.push(1),i=i.getLeft()):e.push(3);break;case 3:i=i.getParent();break;default:throw new Error("invalid status")}}display(t=this.root,e=new Array,i=0){let o="| ".repeat(i);return e.push(o+`\u25CF(${t.item})
`),t.getLeft()?this.display(t.getLeft(),e,i+1):e.push(o+`| \u2609
`),t.getRight()?this.display(t.getRight(),e,i+1):e.push(o+`| \u2609
`),e}getHeight(){var t;return((t=this.root)==null?void 0:t.getHeight())||0}getSize(){return this.size}updateMinMax(t){this.minNode?this.comparator(t.item,this.minNode.item)<0&&(this.minNode=t):this.minNode=t,this.maxNode?this.comparator(t.item,this.maxNode.item)>0&&(this.maxNode=t):this.maxNode=t}insert(t){let e=new UZo(t);if(this.root===null)return this.root=e,this.size++,this.updateMinMax(e),!0;{let i=this.root;for(;;){let o=this.comparator(t,i.item);if(o<0){if(i.getLeft()===null)return i.setLeft(e),this.size++,this.updateMinMax(e),this.verify(),this.balance(i),!0;i=i.getLeft()}else if(o>0){if(i.getRight()===null)return i.setRight(e),this.size++,this.updateMinMax(e),this.verify(),this.balance(i),!0;i=i.getRight()}else return!1}}}verify(){}remove(t){let e=this.root;for(this.verify();;){if(e===null)return!1;let i=this.comparator(t,e.item);if(i<0)e=e.getLeft();else if(i>0)e=e.getRight();else return this.minNode===e&&(e.getRight()?this.minNode=this.findMinChild(e.getRight()):this.minNode=e.getParent()),this.maxNode===e&&(e.getLeft()?this.maxNode=this.findMaxChild(e.getLeft()):this.maxNode=e.getParent()),this.removeNode(e),this.size--,this.verify(),!0}}removeNode(t){var e,i;let o=t.getParent();if(o===null)t.getLeft()===null&&t.getRight()===null?(this.root=null,this.minNode=null,this.maxNode=null):((((e=t.getLeft())==null?void 0:e.getHeight())||0)>(((i=t.getRight())==null?void 0:i.getHeight())||0)?(t.rotateRight(r=>this.root=r),this.verify()):(t.rotateLeft(r=>this.root=r),this.verify()),this.removeNode(t));else if(o.getLeft()===t){o.removeLeft();let r=this.combineNodes(t.removeLeft(),t.removeRight());o.setLeft(r),this.verify(),this.balance(o)}else{o.removeRight();let r=this.combineNodes(t.removeLeft(),t.removeRight());o.setRight(r),this.verify(),this.balance(o)}}combineNodes(t,e){if(t&&e)if(t.getHeight()>e.getHeight()){let i=this.findMaxChild(t);if(i){let o=i.getParent();return o.removeRight(),o.setRight(i.removeLeft()),i.setLeft(t),i.setRight(e),i}else return t.setRight(e),t}else{let i=this.findMinChild(e);if(i){let o=i.getParent();return o.removeLeft(),o.setLeft(i.removeRight()),i.setLeft(t),i.setRight(e),i}else return e.setLeft(t),e}else return t||e||null}findMinChild(t){let e=t;for(;;){if(e.getLeft()===null)return e!==t?e:null;e=e.getLeft()}}findMaxChild(t){let e=t;for(;;){if(e.getRight()===null)return e!==t?e:null;e=e.getRight()}}};function*HZo(t){for(let e=0;e<t.length;e++)yield t[e],t[e]=null}function vie(t,e){let i="";for(let o of HZo(t))i?i=i+e+o:i=o;return i}var t7e=/^[a-zA-Z]+(\d+)$/;function owe(t){let e=t.match(t7e);return e?Number(e[1]):null}function Go(t){if(!t||typeof t!="string")return t;let e=t.match(/[a-zA-Z]+\d+/g);return e&&e.length===2&&e.join("")===t?e.join("-"):t}function Du(t){return t&&typeof t=="number"&&!isNaN(t)?-t:t}function vXt(t,e,i){let o=[];for(let r of t)for(let n=0;n<r.length&&!(n+3>r.length);n+=2){let a={lineGroup:i,startX:r[n],startY:Du(r[n+1]),endX:r[n+2],endY:Du(r[n+3]),...e};o.push(a)}return o}function $$t(t,e){let i=[];for(let o=0;o<t.length;o+=2){let r={x:t[o],y:e?Du(t[o+1]):t[o+1]};i.push(r)}return i}function v2(t,e){return JSON.stringify([e,t])}function $Q(t){try{let e=JSON.parse(t);return typeof e=="string"?t:e[1]}catch{return t}}function GZo(t){let e=["00000000","77073096","EE0E612C","990951BA","076DC419","706AF48F","E963A535","9E6495A3","0EDB8832","79DCB8A4","E0D5E91E","97D2D988","09B64C2B","7EB17CBD","E7B82D07","90BF1D91","1DB71064","6AB020F2","F3B97148","84BE41DE","1ADAD47D","6DDDE4EB","F4D4B551","83D385C7","136C9856","646BA8C0","FD62F97A","8A65C9EC","14015C4F","63066CD9","FA0F3D63","8D080DF5","3B6E20C8","4C69105E","D56041E4","A2677172","3C03E4D1","4B04D447","D20D85FD","A50AB56B","35B5A8FA","42B2986C","DBBBC9D6","ACBCF940","32D86CE3","45DF5C75","DCD60DCF","ABD13D59","26D930AC","51DE003A","C8D75180","BFD06116","21B4F4B5","56B3C423","CFBA9599","B8BDA50F","2802B89E","5F058808","C60CD9B2","B10BE924","2F6F7C87","58684C11","C1611DAB","B6662D3D","76DC4190","01DB7106","98D220BC","EFD5102A","71B18589","06B6B51F","9FBFE4A5","E8B8D433","7807C9A2","0F00F934","9609A88E","E10E9818","7F6A0DBB","086D3D2D","91646C97","E6635C01","6B6B51F4","1C6C6162","856530D8","F262004E","6C0695ED","1B01A57B","8208F4C1","F50FC457","65B0D9C6","12B7E950","8BBEB8EA","FCB9887C","62DD1DDF","15DA2D49","8CD37CF3","FBD44C65","4DB26158","3AB551CE","A3BC0074","D4BB30E2","4ADFA541","3DD895D7","A4D1C46D","D3D6F4FB","4369E96A","346ED9FC","AD678846","DA60B8D0","44042D73","33031DE5","AA0A4C5F","DD0D7CC9","5005713C","270241AA","BE0B1010","C90C2086","5768B525","206F85B3","B966D409","CE61E49F","5EDEF90E","29D9C998","B0D09822","C7D7A8B4","59B33D17","2EB40D81","B7BD5C3B","C0BA6CAD","EDB88320","9ABFB3B6","03B6E20C","74B1D29A","EAD54739","9DD277AF","04DB2615","73DC1683","E3630B12","94643B84","0D6D6A3E","7A6A5AA8","E40ECF0B","9309FF9D","0A00AE27","7D079EB1","F00F9344","8708A3D2","1E01F268","6906C2FE","F762575D","806567CB","196C3671","6E6B06E7","FED41B76","89D32BE0","10DA7A5A","67DD4ACC","F9B9DF6F","8EBEEFF9","17B7BE43","60B08ED5","D6D6A3E8","A1D1937E","38D8C2C4","4FDFF252","D1BB67F1","A6BC5767","3FB506DD","48B2364B","D80D2BDA","AF0A1B4C","36034AF6","41047A60","DF60EFC3","A867DF55","316E8EEF","4669BE79","CB61B38C","BC66831A","256FD2A0","5268E236","CC0C7795","BB0B4703","220216B9","5505262F","C5BA3BBE","B2BD0B28","2BB45A92","5CB36A04","C2D7FFA7","B5D0CF31","2CD99E8B","5BDEAE1D","9B64C2B0","EC63F226","756AA39C","026D930A","9C0906A9","EB0E363F","72076785","05005713","95BF4A82","E2B87A14","7BB12BAE","0CB61B38","92D28E9B","E5D5BE0D","7CDCEFB7","0BDBDF21","86D3D2D4","F1D4E242","68DDB3F8","1FDA836E","81BE16CD","F6B9265B","6FB077E1","18B74777","88085AE6","FF0F6A70","66063BCA","11010B5C","8F659EFF","F862AE69","616BFFD3","166CCF45","A00AE278","D70DD2EE","4E048354","3903B3C2","A7672661","D06016F7","4969474D","3E6E77DB","AED16A4A","D9D65ADC","40DF0B66","37D83BF0","A9BCAE53","DEBB9EC5","47B2CF7F","30B5FFE9","BDBDF21C","CABAC28A","53B39330","24B4A3A6","BAD03605","CDD70693","54DE5729","23D967BF","B3667A2E","C4614AB8","5D681B02","2A6F2B94","B40BBE37","C30C8EA1","5A05DF1B","2D02EF8D"].join(" "),i=0,o=0,r=0;i=i^-1;for(let n=0,a=t.length;n<a;n++)r=(i^t.charCodeAt(n))&255,o="0x"+e.substr(r*9,8),i=i>>>8^o;return i^-1}function YZo(t){return Math.abs(GZo(t)%30)}function r1t(t,e,i){let o=t[e];return o!==void 0||(o=i(e),t[e]=o),o}var WZo=(t=>(t.META="META",t.CANVAS="CANVAS",t.GROUP="GROUP",t.POLY="POLY",t.STRING="STRING",t.AUX_LINE="AUXLINE",t.DIMENSION="DIMENSION",t.ELE_PLACEHOLDER="ELE_PLACEHOLDER",t))(WZo||{}),QZo=(t=>(t.META="META",t.CANVAS="CANVAS",t.LAYER="LAYER",t.LAYER_PHYS="LAYER_PHYS",t.ACTIVE_LAYER="ACTIVE_LAYER",t.PARTITION="PARTITION",t.NET="NET",t.PRIMITIVE="PRIMITIVE",t.GROUP="GROUP",t.SILK_OPTS="SILK_OPTS",t.PREFERENCE="PREFERENCE",t.VIA="VIA",t.PAD="PAD",t.LINE="LINE",t.ARC="ARC",t.OBJ="OBJ",t.EQLEN_GRP="EQLEN_GRP",t.POLY="POLY",t.FILL="FILL",t.LAYER_FILL="LAYER_FILL",t.REGION="REGION",t.POUR="POUR",t.POURED="POURED",t.IMAGE="IMAGE",t.TEARDROP="TEARDROP",t.FPC_FILL="FPC_FILL",t.SHELL="SHELL",t.CREASE="CREASE",t.SHELLCUT="SHELLCUT",t.SHELL_ENTITY="SHELL_ENTITY",t.BOSS="BOSS",t.STRING="STRING",t.ATTR="ATTR",t.DIMENSION="DIMENSION",t.COMPONENT="COMPONENT",t.PAD_NET="PAD_NET",t.RULE_TEMPLATE="RULE_TEMPLATE",t.RULE="RULE",t.RULE_SELECTOR="RULE_SELECTOR",t.PANELIZE="PANELIZE",t.BOARD="BOARD",t.X_SIGNALS_GROUP="X_SIGNAL_GROUP",t.X_SIGNALS="X_SIGNALS",t.ELE_PLACEHOLDER="ELE_PLACEHOLDER",t))(QZo||{}),KZo=(t=>(t.META="META",t.CANVAS="CANVAS",t.GROUP="GROUP",t.ATTR="ATTR",t.LINE="LINE",t.WIRE="WIRE",t.BUS="BUS",t.TEXT="TEXT",t.POLY="POLY",t.CIRCLE="CIRCLE",t.ARC="ARC",t.BUSENTRY="BUSENTRY",t.RECT="RECT",t.MASK_REGION="MASK_REGION",t.PIN="PIN",t.OBJ="OBJ",t.COMPONENT="COMPONENT",t.PART="PART",t.ELLIPSE="ELLIPSE",t.BEZIER="BEZIER",t.TABLE="TABLE",t.ELE_PLACEHOLDER="ELE_PLACEHOLDER",t.NG_SETTING="NG_SETTING",t))(KZo||{}),ZZo=["PARTITION","VIA","PAD","LINE","ARC","OBJ","POLY","FILL","REGION","POUR","POURED","IMAGE","TEARDROP","FPC_FILL","SHELL","CREASE","SHELLCUT","SHELL_ENTITY","BOSS","STRING","ATTR","DIMENSION","COMPONENT"],Wgn=Rde(hwe()),JZo=(t=>(t.SOLID="SOLID",t.SHORT_DASH="SHORT_DASH",t.DOT="DOT",t.DOT_DASH="DOT_DASH",t))(JZo||{}),qZo=(t=>(t.PRINT="PRINT",t.COVER="COVER",t.PRINT_AND_COVER="PRINT&COVER",t))(qZo||{}),XZo=(t=>(t.LEFT="LEFT",t.CENTER="CENTER",t.RIGHT="RIGHT",t))(XZo||{}),$Zo=(t=>(t.TOP="TOP",t.MIDDLE="MIDDLE",t.BOTTOM="BOTTOM",t))($Zo||{}),eei=(t=>(t.LEFT_BOTTOM="LEFT_BOTTOM",t.CENTER_BOTTOM="CENTER_BOTTOM",t.RIGHT_BOTTOM="RIGHT_BOTTOM",t.LEFT_MIDDLE="LEFT_MIDDLE",t.CENTER_MIDDLE="CENTER_MIDDLE",t.RIGHT_MIDDLE="RIGHT_MIDDLE",t.LEFT_TOP="LEFT_TOP",t.CENTER_TOP="CENTER_TOP",t.RIGHT_TOP="RIGHT_TOP",t))(eei||{}),eJo=(t=>(t.NONE="NONE",t.SOLID="SOLID",t.GRID="GRID",t.HORIZONTAL_LINE="HORIZONTAL_LINE",t.VERTICAL_LINE="VERTICAL_LINE",t.RHOMBIC="RHOMBIC",t.LEFT_SLASH_LINE="LEFT_SLASH_LINE",t.RIGHT_SLASH_LINE="RIGHT_SLASH_LINE",t))(eJo||{}),tJo=(t=>(t.NONE="NONE",t.CLOCK="CLOCK",t.INVERTED="INVERTED",t.INVERTED_CLOCK="INVERTED_CLOCK",t))(tJo||{}),iJo=(t=>(t.NONE="NONE",t.GRID="GRID",t.OUTLETS="OUTLETS",t))(iJo||{}),oJo=(t=>(t.NONE="NONE",t.PUSH="PUSH",t.SURROUND="SURROUND",t.OBSTRUCT="OBSTRUCT",t.SURROUND_AND_PUSH="SURROUND&PUSH",t))(oJo||{}),rJo=(t=>(t.ELLIPSE="ELLIPSE",t.RECT="RECT",t.OVAL="OVAL",t.POLYGON="POLYGON",t))(rJo||{}),nJo=(t=>(t.ROUND="ROUND",t.RECT="RECT",t.SLOT="SLOT",t))(nJo||{}),aJo=(t=>(t.SOLID="SOLID",t.GRID_LINE="GRID_LINE",t.HORIZONTAL_LINE="HORIZONTAL_LINE",t.VERTICAL_LINE="VERTICAL_LINE",t))(aJo||{}),sJo=(t=>(t.ALL="ALL",t.PAD="PAD",t.VIA="VIA",t))(sJo||{}),lJo=(t=>(t.NONE="NONE",t.SINGLE="SINGLE",t.ALL="ALL",t))(lJo||{}),cJo=(t=>(t.OPTIMIZA_OPEN="OPTIMIZA_OPEN",t.OPTIMIZA_NONE="OPTIMIZA_NONE",t))(cJo||{}),dJo=(t=>(t.OPTIMIZA_STRONG="OPTIMIZA_STRONG",t.OPTIMIZA_WEAK="OPTIMIZA_WEAK",t.OPTIMIZA_NONE="OPTIMIZA_NONE",t))(dJo||{}),uJo=(t=>(t.L45="L45",t.L90="L90",t.L="L",t.R45="R45",t.R90="R90",t.R="R",t))(uJo||{}),pJo=(t=>(t.NORMAL="NORMAL",t.BLIND="BLIND",t.SUTURE="SUTURE",t))(pJo||{}),mJo=(t=>(t.NORMAL="NORMAL",t.TEST="TEST",t.MARKER="MARKER",t))(mJo||{}),hJo=(t=>(t.DIVERGENCE="DIVERGENCE",t.DIRECT="DIRECT",t.NON_CONNECT="NON_CONNECT",t))(hJo||{}),fJo=(t=>(t.DOT="DOT",t.CENTER="CENT",t))(fJo||{}),gJo=(t=>(t.NORMAL="NORMAL",t.BOARD_OUTLINE="BOARD_OUTLINE",t))(gJo||{}),bJo=(t=>(t.SOLID="SOLID",t.GRID="GRID",t.PLANE="PLANE",t))(bJo||{}),yJo=(t=>(t.PROHIBIT="PROHIBIT",t.CONSTRAINT="CONSTRAINT",t))(yJo||{}),wJo=(t=>(t.COMPONENT="COMPONENT",t.VIA="VIA",t.TRACK="TRACK",t.FILL="FILL",t.COPPER="COPPER",t.PLANE="PLANE",t))(wJo||{}),CJo=(t=>(t.PI="Polyimide",t.FR4="FR4",t.STEEL_SHEET="Stainless Steel",t.M3_DOUBLE_SIDED_TAPE="3M Tape",t.EMI_SHIELDING_FILM="EMI Shielding Film",t))(CJo||{}),xJo=(t=>(t.PUSH_COVER="DRAWER",t.UPPER_LOWER_SHELLS="T&B",t))(xJo||{}),TJo=(t=>(t.X_AXIS_POSITIVE="X_AXIS_POSITIVE",t.X_AXIS_NEGATIVE="X_AXIS_NEGATIVE",t.Y_AXIS_POSITIVE="Y_AXIS_POSITIVE",t.Y_AXIS_NEGATIVE="Y_AXIS_NEGATIVE",t))(TJo||{}),SJo=(t=>(t.SLOT="SLOT",t.ENTITY="ENTITY",t))(SJo||{}),MJo=(t=>(t.AUTO="AUTO",t.UPPER_SHELLS="UPPER_SHELLS",t.LOWER_SHELLS="LOWER_SHELLS",t))(MJo||{}),IJo=(t=>(t.OUTLINE="OUTLINE",t.SCREW_PILLAR="SCREW_PILLAR",t.ENTITY="ENTITY",t))(IJo||{}),LJo=(t=>(t.M2="M2",t.M3="M3",t.M4="M4",t.M5="M5",t.M6="M6",t))(LJo||{}),vJo=(t=>(t.LENGTH="LENGTH",t.RADIUS="RADIUS",t.ANGLE="ANGLE",t))(vJo||{}),DJo=(t=>(t.MIL="mil",t.INCH="inch",t.CM="cm",t.MM="mm",t))(DJo||{}),EJo=(t=>(t.SAFE="SAFE",t.OTHER="OTHER",t.TRACK="TRACK",t.BLIND="BLIND",t.RADIUS="RADIUS",t.PLANE="PLANE",t.COPPER="COPPER",t.PASTE="PASTE",t.SOLDER="SOLDER",t.DIFFER_ENTAIL="DIFFER_ENTAIL",t.NET_LENGTH="NET_LENGTH",t.AUTO_ROUTER="AUTO_ROUTER",t.NET_LENGTH_TOLERANCE="NET_LENGTH_TOLERANCE",t))(EJo||{}),AJo=(t=>(t.NORMAL="NORMAL",t.DEFAULT="DEFAULT",t))(AJo||{}),NJo=(t=>(t.ALL="ALL",t.LAYERED="LAYERED",t))(NJo||{}),kJo=(t=>(t.DIRECT="DIRECT",t.NON_CONNECT="NON_CONNECT",t))(kJo||{}),PJo=(t=>(t.FORTY_FIVE="L45",t.NINETY="L90",t.NINETY_ARC="A90",t))(PJo||{}),OJo=(t=>(t.LESS="LESS",t.MID="MID",t.MORE="MORE",t))(OJo||{}),RJo=(t=>(t.SPEED_FIRST="SPEED_FIRST",t.COMPLETION_FIRST="COMPLETION_FIRST",t))(RJo||{}),_Jo=(t=>(t.DesignRule="DesignRule",t.Board="Board",t.SlotRegion="SlotRegion",t.ProhibitedRegion="ProhibitedRegion",t.ConstraintRegion="ConstraintRegion",t.Component="Component",t.Track="Track",t.TestPoint="TestPoint",t.Pad="Pad",t.Via="Via",t.SutureHole="SutureHole",t.Text="Text",t.ColorfulImage="ColorfulImage",t.Image="Image",t.FPCStiffener="FPCStiffener",t.Dimension="Dimension",t.CopperRegion="CopperRegion",t.FillRegion="Fill Region",t.Line="Line",t.Teardrop="Teardrop",t.D3Shell="D3Shell",t))(_Jo||{}),jJo=Rde(BZo());function BJo(t,e,i){let o="";return mK(t,(r,n)=>{let a=JSON.parse(r);if(n&&a.type==="DOCHEAD"){let s=JSON.parse(n);s.uuid=e[s.uuid]||s.uuid,i&&(s.updateTime=i),n=JSON.stringify(s)}o?o=o+`|
`+r+"||"+n:o=r+"||"+n}),o}function n1t(t,e,i){let o="";return mK(t,(r,n)=>{let a=JSON.parse(r);if(n&&a.type==="DOCHEAD"){let s=JSON.parse(n);s.uuid=e[s.docType]||s.uuid,i&&(s.updateTime=i),n=JSON.stringify(s)}o?o=o+`|
`+r+"||"+n:o=r+"||"+n}),o}function rU(t,e,i,o,r,n,a,s){return JSON.stringify([t||"",e||"",i,o,r?1:0,n?1:0,a?1:0,s])}function tei(t){let e=JSON.parse(t);return{text:e[0],fontFamily:e[1],fontSize:e[2],thickness:e[3],bold:!!e[4],italic:!!e[5],reverse:!!e[6],expansion:e[7]}}function m8(t){return jJo.default.SHA256(t).toString()}function a1t(t){let e=new Set,i,o,r={},n={},a={};mK(t,(s,l)=>{let c=JSON.parse(s);if(l&&c.type==="DOCHEAD"){let d=JSON.parse(l);i=d.docType,o=d.uuid}(i==="PANEL"||i==="PANEL_LIB")&&c.type==="POLY"&&(r[o+c.id]=l),(i==="PCB"||i==="FOOTPRINT")&&c.type==="OBJ"&&(a[o+c.id]=l),(i==="SYMBOL"||i==="SCH_PAGE")&&c.type==="OBJ"&&(n[o+c.id]=l)});for(let s in r){let l=r[s];if(!l)continue;let c=JSON.parse(l);c.fillColor.startsWith("blob:")&&e.add(c.fillColor.split("blob:").pop())}for(let s in a){let l=a[s];if(!l)continue;let c=JSON.parse(l);c.path.startsWith("blob:")&&e.add(c.path.split("blob:").pop())}for(let s in n){let l=n[s];if(!l)continue;let c=JSON.parse(l);c.content.startsWith("blob:")&&e.add(c.content.split("blob:").pop())}return Array.from(e)}function ZAe(t,e,i,o){let r="";return i?o?r=t+":"+e:r=t:o?r=e:r="",r}function zJo(t,e){if(!t||!t.startsWith("="))return t;t=t.slice(1);let i=/\{([^\}]+)\}/g,o=[],r=[];for(;o=i.exec(t);)r.push(o[1]);for(let n=0;n<r.length;n++){let a=r[n],s=`{${a}!}`;e.has(a)&&(s=e.get(a)),t=t.replace(`{${a}}`,s)}return t}function FJo(t,e={},i={},o={}){var r,n,a;let s=new Set,l,c,d={},u={},p={},m={},h={};mK(t,(f,g)=>{let b=JSON.parse(f);if(g&&b.type==="DOCHEAD"){let y=JSON.parse(g);l=y.docType,c=y.uuid}l!=="PCB"&&l!=="FOOTPRINT"||(b.type==="STRING"&&(d[c+b.id]=g),b.type==="DIMENSION"&&(u[c+b.id]=g),b.type==="ATTR"&&(p[c]||(p[c]={}),p[c][b.id]=g),b.type==="COMPONENT"&&(m[c]||(m[c]={}),m[c][b.id]=g))});for(let f in d){let g=d[f];if(!g)continue;let b=JSON.parse(g);b.fontFamily!=="default"&&s.add(rU(b.text,b.fontFamily,b.fontSize/10,b.strokeWidth,b.bold,b.italic,b.reverse,b.expansion))}for(let f in u){let g=u[f];if(!g)continue;let b=JSON.parse(g).text;b.fontFamily!=="default"&&s.add(rU(b.text,b.fontFamily,b.fontSize/10,b.strokeWidth,b.bold,b.italic,b.reverse,b.expansion))}for(let f in p)for(let g in p[f]){let b=p[f][g];if(!b)continue;let y=JSON.parse(b);p[f][g]=y,y.key==="Device"&&(h[f]||(h[f]={}),h[f][y.parentId]=y.value)}for(let f in p)for(let g in p[f]){let b=p[f][g];if(!b)continue;let y=b;if(y.fontFamily==="default")continue;let w=y.value;if(y.key==="Device"){let x=e[w]||w;w=ZAe(y.key,x,y.keyVisible,y.valueVisible)}else if(y.key==="Footprint"){let x=i[w]||w;w=ZAe(y.key,x,y.keyVisible,y.valueVisible)}else if(y.key==="Name"){let x=new Map;if(y.parentId){x.set("ID",y.parentId);let S=(r=m==null?void 0:m[f])==null?void 0:r[y.parentId];if(S){let T=JSON.parse(S);if(Object.entries(T.attrs).forEach(M=>x.set(M[0],M[1])),(n=h==null?void 0:h[f])!=null&&n[y.parentId]){let M=(a=h==null?void 0:h[f])==null?void 0:a[y.parentId],I=o[M];I&&Object.entries(I).forEach(A=>x.set(A[0],A[1]))}}}w=ZAe(y.key,zJo(w,x),y.keyVisible,y.valueVisible)}else w=ZAe(y.key,w,y.keyVisible,y.valueVisible);w&&s.add(rU(w,y.fontFamily,y.fontSize/10,y.strokeWidth,y.bold,y.italic,y.reverse,y.expansion))}return Array.from(s)}function UJo(t,e){let i=[],o=[],r={};mK(t,(c,d)=>{let u=JSON.parse(c);if(u.type==="DOCHEAD"||u.type==="META"||u.type==="META_CREATE"||u.type==="META_MODIFY"||u.type==="ELE_PLACEHOLDER"||u.type==="ELE_PLACEHOLDER"||u.type==="ELE_PLACEHOLDER")return;let{id:p}=u;r[p]=Object.assign(u,{data:d})});let n={};mK(e,(c,d="")=>{let u=JSON.parse(c);if(u.type==="BLOB")i.push(c+"||"+d);else if(u.type==="FONT")o.push(c+"||"+d);else{if(u.type==="DOCHEAD"||u.type==="META_MODIFY")return;let{id:p}=u;n[p]=Object.assign(u,{data:d})}});let a={},s={},l={};for(let c in r)if(!n.hasOwnProperty(c))s[c]=r[c];else{let{ticket:d}=r[c],{type:u,data:p,client:m}=n[c];a[c]={type:u,ticket:d,data:p,client:m},delete n[c]}for(let c in n){let{type:d,data:u,ticket:p,client:m}=n[c];l[c]={type:d,data:u,ticket:p,client:m}}return{delete:s,cover:a,add:l,blobs:i,fonts:o}}function Mde(t,e,i){let{docType:o,uuid:r,client:n,updateTime:a,version:s,user:l,ticket:c}=i,d=[Cb(o,n,r,a,s,l,c)],{delete:u,cover:p,add:m,blobs:h,fonts:f}=UJo(t,e);for(let g in u){let{ticket:b,type:y,client:w}=u[g];d.push(ac(y,b+1,g,"",w))}for(let g in p){let{type:b,ticket:y,data:w,client:x}=p[g];d.push(ac(b,y+1,g,w,x))}for(let g in m){let{type:b,ticket:y,data:w,client:x}=m[g];d.push(ac(b,y,g,w,x))}return h.length&&(d.push(Cb("BLOB",n,"BLOB",a,s,l,c)),d=d.concat(h)),f.length&&(d.push(Cb("FONT",n,"FONT",a,s,l,c)),d=d.concat(f)),d.join(`|
`)}function VJo(t,e){return t.ticket===e.ticket?t.client===e.client?t.id===e.id?0:t.id<e.id?-1:1:t.client<e.client?-1:1:t.ticket<e.ticket?-1:1}var iei=class{constructor(t=1){this.startNum=t,this.orderLists={},this.idOrderLists={},this.cbArr=new Array,this.maxNum={}}orderChange(t){this.cbArr.push(t)}setOrderNum(t,e,i,o,r=1){if(r<1)throw new Error("step must be greater than 0");let n=r1t(this.orderLists,e,()=>new VZo(VJo)),a=r1t(this.maxNum,e,()=>this.startNum-1),s=r1t(this.idOrderLists,e,()=>new Map),l=s.get(t);if(l){if(l.ticket<=i)return;n.remove(l),a-=l.step}let c={id:t,ticket:i,num:0,client:o,step:r};s.set(t,c),n.insert(c),a+=r;let d=a,u=0;n.backwardTraverse(p=>(u++,p.num=d,this.cbArr.forEach(m=>m(p.id,e,p.num)),d-=p.step,p!==c)),this.maxNum[e]=a,u>1e4&&(console.log("------------------ notify --------",c,"height: ",n.getHeight(),"total: ",n.getSize(),"notifies: ",u),console.log("------------------ all --------"))}getOrderNum(t,e){var i,o,r,n;return(n=(r=(o=(i=this.idOrderLists)==null?void 0:i[e])==null?void 0:o.get)==null?void 0:r.call(o,t))==null?void 0:n.num}getMaxNum(t){var e;return((e=this.orderLists[t])==null?void 0:e.getSize())||0}clearNum(){for(let t in this.idOrderLists)this.idOrderLists[t].clear(),delete this.idOrderLists[t];for(let t in this.orderLists)delete this.orderLists[t]}},HJo=class{constructor(t,e=1,i=[]){this.consistencyManager=t,this.startNum=e,this.needOrderType=i,this.initIng=!1,this.allOrderNum={},this.maxNum={},this.consistencyManager.onChange((o,r,n,a,s,l,c,d,u,p,m,h)=>{try{if(this.calculation)if(a==="ELE_PLACEHOLDER"){let f=n?JSON.parse(n):null;f&&this.calculation.setOrderNum(r,f.dataType,c!=null?c:l,s,f.max)}else this.calculation.setOrderNum(r,a,c!=null?c:l,s);this.onParseLine(r,a,n?JSON.parse(n):null,s,l,d,h)}catch(f){console.error(f)}})}initCalculation(){this.calculation=new iei(this.startNum)}setIsInit(t){this.initIng=t}setNeedNum(t){this.needNum=t}setOrderNum(t,e,i){this.needNum&&this.needOrderType&&this.needOrderType.includes(i)&&e!==void 0&&(this.allOrderNum[t]=e,this.setMaxNum(i,e))}deleteOrderNum(t){delete this.allOrderNum[t]}getOrderNum(t){return this.allOrderNum[t]}setMaxNum(t,e,i){(i||this.maxNum[t]===void 0||this.maxNum[t]<e)&&(this.maxNum[t]=e)}getMaxNum(t){return this.maxNum[t]===void 0&&(this.maxNum[t]=this.startNum-1),++this.maxNum[t]}};function oei(t){switch(t=String(t),t){case"1":return"SAFE";case"2":return"OTHER";case"3":return"TRACK";case"4":return"BLIND";case"5":return"RADIUS";case"6":return"PLANE";case"7":return"COPPER";case"8":return"PASTE";case"9":return"SOLDER";case"10":return"DIFFER_ENTAIL";case"11":return"NET_LENGTH";case"12":return"AUTO_ROUTER";case"13":return"NET_LENGTH_TOLERANCE"}return t}function mde(t){if(!t)return{};let e=["1","2","3","4","5","6","7","8","9","10","11","12","13"];for(let i of e)if(t.hasOwnProperty(i)){let o=t[i];delete t[i],t[oei(i)]=o}return t}var DXt=class{constructor(){this.init=!1,this.defaultSafeData=null,this.defaultCopperSpace=null,this.defaultInnerSpace=null,this.copperChangeMap=new Map,this.innerChangeMap=new Map}addDefaultSafeSpaceData(t){this.init=!0,this.defaultSafeData=t}addDefaultCopperSpace(t,e){this.defaultCopperSpace={netClearance:t,boardClearance:e}}addDefaultInnerSpace(t,e){this.defaultInnerSpace={netClearance:t,boardClearance:e}}getNewDefaultData(t,e){if(t&&this.defaultSafeData==null||!t&&this.defaultInnerSpace==null)return null;let i=t?this.copperChangeMap.get(e):this.innerChangeMap.get(e);if(i==null)return null;let{netClearance:o,boardClearance:r}=i,n=this.defaultSafeData.safeSpacing[0].content,a=new Array(n.length);for(let s=0;s<n.length;s++)a[s]=Array.from(n[s]);return this.updateSafeData(a,o,r),a}fixSafeData(t){if(this.defaultCopperSpace!=null)for(let e of t.safeSpacing)this.updateSafeData(e.content,this.defaultCopperSpace.netClearance,this.defaultCopperSpace.netClearance)}updateSafeData(t,e,i){for(let o=0;o<t.length;o++){let r=t[o];for(let n=0;n<r.length;n++)o==7?n==11||n==8?r[n]=i:r[n]=e:n==7&&(o==11||o==8?r[n]=i:r[n]=e)}}addCopper2SafeChangeMap(t,e,i,o,r){this.copperChangeMap.set(t,{name:e,isDefault:i,netClearance:o,boardClearance:r})}addInner2SafeChangeMap(t,e,i,o,r){this.innerChangeMap.set(t,{name:e,isDefault:i,netClearance:o,boardClearance:r})}getSafeName4Copper(t){var e;return(e=this.copperChangeMap.get(t))==null?void 0:e.name}getSafeName4Plane(t){var e;return(e=this.innerChangeMap.get(t))==null?void 0:e.name}getDefaultCopper(){for(let[,t]of this.copperChangeMap)if(t.isDefault)return t.name;return null}getDefaultPlane(){for(let[,t]of this.innerChangeMap)if(t.isDefault)return t.name;return null}};function EXt(t,e){let i=t,o={TWO_LAYERS_BOARD:"JLCPCB Capability(Two Layers Board)",SINGLE_LAYER_BOARD:"JLCPCB Capability(Single Layer Board)",MULTIPLE_LAYERS_BOARD:"JLCPCB Capability(Multiple Layers Board)",HIGH_FREQUENCY_BOARD:"JLCPCB Capability(High Frequency Board)",ALUMINUM_SUBSTRATE_BOARD:"JLCPCB Capability(Aluminum Substrate Board)",COPPER_SUBSTRATE_BOARD:"JLCPCB Capability(Copper Substrate Board)"};if(i.length==8){Object.values(o).includes(e)&&(i[4][0]=11.811,i[5][4]=11.811),i.splice(1,0,i[1].slice(0));for(let n=2;n<i.length;n++)i[n].splice(1,0,i[n][1]);i.push([].concat(i[1][0],i.slice(1).map(n=>n[1])))}i[1].push(i[1][i[1].length-1]),i.splice(3,0,[...i[1]]),i.splice(4,0,[...i[2]]),i[1].pop();for(let n=5;n<i.length;n++)i[n].splice(3,0,i[n][1]),i[n].splice(4,0,i[n][2]);i[3][3]=i[1][1],i[4][3]=i[2][1],i[4][4]=i[2][2];let r=6;i.splice(7,0,new Array(7).fill(r));for(let n=7;n<i.length;n++)i[n].splice(7,0,r);return i}function GJo(t,e){let i=t[0],o=t[1],r=[],n="ALL";if(o instanceof Array){let a=EXt(o,e);r.push({layerId:1,isOpen:!0,content:a})}else{for(let a in o){let s=o[a],l=EXt(s,e);r.push({layerId:+a,isOpen:!0,content:l})}Object.keys(o).length>1&&(n="LAYERED")}return{unit:i,isForAll:n,safeSpacing:r}}function YJo(t){let e=t[0],i=t[1],o=t[2];isNaN(o)&&(o=0);let r=t[3];return isNaN(r)&&(r=11.8),{unit:e,deviceClearance:i,thru2SmdClearance:o,holeClearance:r}}function WJo(t){let e=t[0],i=t[1],o=!0,r=[];if(i instanceof Object)for(let n in i){let a=i[n];r.push({layerId:+n,stroMin:a[0],stroDef:a[1],stroMax:a[2]})}else r.push({layerId:1,stroMin:t[1],stroDef:t[2],stroMax:t[3]});return{unit:e,track:{isOpen:o,content:r}}}function QJo(t){return{unit:t[0],netLenMin:t[1],netLenMax:t[2]}}function KJo(t){return{unit:t[0],netLengthTolerance:t[1]}}function ZJo(t){let e=t[0],i=t[1],o=!0,r=[],n=[],a=0;if(i instanceof Object)for(let s in i){let l=i[s],{stroke:c,spacing:d,lenTolerMax:u}=l;r.push({layerId:+s,stroMin:c[0],stroDef:c[1],stroMax:c[2]}),n.push({layerId:+s,spacMin:d[0],spacDef:d[1]}),a=u}else r.push({layerId:1,stroMin:t[1],stroDef:t[2],stroMax:t[3]}),n.push({layerId:1,spacMin:t[4],spacDef:t[5]}),a=t[7];return{unit:e,stroWidth:{isOpen:o,content:r},spacing:{isOpen:o,content:n},differPairLenTolerMax:a}}function JJo(t){let e=new Array;for(let i of t){let o=+i[1],r=+i[2];isNaN(o)||o<=0||isNaN(r)||r<=0||o===r||o===1&&r===2||o===2&&r===1||e.push({name:i[0],staLayerId:o,endLayerId:r,viaSizeRule:i[3]})}return{blinds:{content:e}}}function qJo(t){return{unit:t[0],minRadius:t[1],defRadius:t[2],maxRadius:t[3],minInner:t[4],defInner:t[5],maxInner:t[6]}}function XJo(t){let e=[{layerId:1,connType:Ide(t[7]!==void 0?t[7]:t[3]),spoWidth:t[8]!==void 0?t[8]:t[4],spoSpac:t[9]!==void 0?t[9]:t[5],spoAng:t[10]?t[10]:t[6]}];return{unit:t[0],mulPad:{isOpen:!0,content:e}}}function $Jo(t){let e=[{layerId:1,connType:Ide(t[3]),spoWidth:t[4],spoSpac:t[5],spoAng:t[6]}],i=[{layerId:1,connType:Number(t[7])?"NON_CONNECT":"DIRECT"}],o=[{layerId:1,connType:Ide(t[8]!==void 0?t[8]:t[3]),spoWidth:t[9]!==void 0?t[9]:t[4],spoSpac:t[10]!==void 0?t[10]:t[5],spoAng:t[11]?t[11]:t[6]}];return{unit:t[0],sglPad:{isOpen:!0,content:e},mulPad:{isOpen:!0,content:o},track:{isOpen:!0,content:i}}}function eqo(t){return{unit:t[0],padTopExpan:t[1],padBotExpan:t[2],testPointTopExpan:t[3]?t[3]:-1e3,testPointBotExpan:t[4]?t[4]:-1e3}}function tqo(t){return{unit:t[0],padTopExpan:t[1],padBotExpan:t[2],viaTopExpan:t[3],viaBotExpan:t[4],testPointTopExpan:t[5]?t[5]:2,testPointBotExpan:t[6]?t[6]:2}}function iqo(t){function e(r){switch(r=r&&Number(r),r){case 0:return"L45";case 1:return"L90";case 2:return"A90";default:return"L45"}}function i(r){switch(r=r&&Number(r),r){case 0:return"LESS";case 1:return"MID";case 2:return"MORE";default:return"LESS"}}function o(r){switch(r=r&&Number(r),r){case 0:return"SPEED_FIRST";case 1:return"COMPLETION_FIRST";default:return"COMPLETION_FIRST"}}return{routingCorner:e(t[0]),isKeep:!!t[1],viaQuantity:i(t[2]),routingEffectPriority:o(t[3]),layers:t[5],ignoreNets:t[6]}}function Ide(t){switch(t=t&&Number(t),t){case 0:return"DIVERGENCE";case 1:return"DIRECT";case 2:return"NON_CONNECT";default:return null}}function oqo(t,e){let i=e;switch(t){case"SAFE":{let o=e;if(o.isForAll=o.isForAll?"LAYERED":"ALL",o.safeSpacing)for(let r of o.safeSpacing)r.isOpen=!!r.isOpen;i=o;break}case"OTHER":break;case"TRACK":{let o=e;o!=null&&o.track&&(o.track.isOpen=!!o.track.isOpen),i=o;break}case"NET_LENGTH":break;case"NET_LENGTH_TOLERANCE":break;case"DIFFER_ENTAIL":{let o=e;o!=null&&o.stroWidth&&(o.stroWidth.isOpen=!!o.stroWidth.isOpen),o!=null&&o.spacing&&(o.spacing.isOpen=!!o.spacing.isOpen),i=o;break}case"BLIND":break;case"RADIUS":break;case"PLANE":{let o=e;if(o!=null&&o.mulPad&&(o.mulPad.isOpen=!!o.mulPad.isOpen),o.mulPad&&o.mulPad.content)for(let r of o.mulPad.content)r.connType=Ide(r.connType);i=o;break}case"COPPER":{let o=e;if(o!=null&&o.sglPad&&(o.sglPad.isOpen=!!o.sglPad.isOpen),o!=null&&o.mulPad&&(o.mulPad.isOpen=!!o.mulPad.isOpen),o!=null&&o.track&&(o.track.isOpen=!!o.track.isOpen),o.track&&o.track.content&&(o.track.content=o.track.content.map(r=>(r.connType=Number(r.connType)?"NON_CONNECT":"DIRECT",r))),o.sglPad&&o.sglPad.content)for(let r of o.sglPad.content)r.connType=Ide(r.connType);if(o.mulPad&&o.mulPad.content)for(let r of o.mulPad.content)r.connType=Ide(r.connType);i=o;break}case"PASTE":break;case"SOLDER":break;case"AUTO_ROUTER":break}return i}function rqo(t,e,i,o,r,n){if(!(o instanceof Array))return oqo(t,o);let a,s=!1;switch(i&&(i==="NORMAL"?s=!1:i==="DEFAULT"&&(s=!0)),t){case"SAFE":{a=GJo(o,n),s&&r.addDefaultSafeSpaceData(a);break}case"OTHER":{a=YJo(o);break}case"TRACK":{a=WJo(o);break}case"NET_LENGTH":{a=QJo(o);break}case"NET_LENGTH_TOLERANCE":{a=KJo(o);break}case"DIFFER_ENTAIL":{a=ZJo(o);break}case"BLIND":{a=JJo(o);break}case"RADIUS":{a=qJo(o);break}case"PLANE":{let l=o[1],c=o[2];s&&r.addDefaultInnerSpace(l,c),r.addInner2SafeChangeMap(e,"Plane_"+e,s,l,c),a=XJo(o);break}case"COPPER":{let l=o[1],c=o[2];s&&r.addDefaultCopperSpace(l,c),r.addCopper2SafeChangeMap(e,"Copper_"+e,s,l,c),a=$Jo(o);break}case"PASTE":{a=eqo(o);break}case"SOLDER":{a=tqo(o);break}case"AUTO_ROUTER":{a=iqo(o);break}}return a}function nqo(t,e,i,o){if(!o.init)return null;function r(n,a){let s=n?"Copper_":"Plane_",l=["RULE"];l[1]="SAFE",l[2]=s+e,l[3]=0;let c=a.getNewDefaultData(n,e);return c==null?null:(l[4]={unit:a.defaultSafeData.unit,isForAll:"ALL",safeSpacing:[{layerId:1,isOpen:!0,content:c}]},l)}switch(t){case"SAFE":return o.fixSafeData(i),null;case"PLANE":return r(!1,o);case"COPPER":return r(!0,o);default:return null}}function aqo(t,e,i,o){if(!o.init)return{ruleKeyValue:i};let r=t[0],n,a;if(e==4){if(r==="NET_CLASS"||r==="NET"){for(let s in i)String(s)==="COPPER"&&(n={COPPER:o.getSafeName4Copper(i[s])}),String(s)==="PLANE"&&(a={PLANE:o.getSafeName4Plane(i[s])});t[1]==""?(n!=null&&n.COPPER||(n={COPPER:"default"}),a!=null&&a.PLANE||(a={PLANE:"default"})):(n!=null&&n.COPPER||(n={COPPER:o.getDefaultCopper()}),a!=null&&a.PLANE||(a={PLANE:o.getDefaultPlane()}))}}else for(let s in i){if(String(s)==="COPPER"){let l=i[s],c=o.getSafeName4Copper(l);if(c==null&&l=="default"&&(c=o.getDefaultCopper()),c==null)continue;n={COPPER:c}}if(String(s)==="PLANE"){let l=i[s],c=o.getSafeName4Plane(l);if(c==null&&l=="default"&&(c=o.getDefaultPlane()),c==null)continue;a={PLANE:c}}}return{ruleKeyValue:i,copperRuleValue:n,innerPlaneRuleValue:a}}function rei(t,e){let i=t.length,o=0;for(;o<i;){let r=t.indexOf(`
`,o);r<0&&(r=i);let n=t.substring(o,r);try{if(e(n)===!1)break}catch(a){console.error(a)}o=r+1}}function sqo(t){let e={};return rei(t,i=>{if(i.startsWith('["PAD"')){let o=JSON.parse(i);e[o[5]]||(e[o[5]]=[]),e[o[5]].push(o[1])}}),e}var Cht=class{parseFull(t){rei(t,e=>this.onParseLine(JSON.parse(e))),this.onParseEnd()}},nei=class extends Cht{constructor(t={},e={},i=[],o=[],r=!1){super(),this.deviceName=t,this.footprintName=e,this.footprints=i,this.devices=o,this.footprintIsConnectDevice=r,this.fontCache=[],this.poured={},this.curPartition="",this.eQLenData={},this.eQLenSort=1,this.cache={},this.components={},this.errorIds={},this.dimension={},this.connects={},this.specialColors={},this.reuseBlock={},this.panelize={data:[],stamp:{h:null,v:null},size:{h:null,v:null}},this.layerPhys=0,this.fac=new DXt,this.rules=[],this.ruleSelectors=[],this.ruleTemplateName="",this.layerFill={},this.idsSet=new Set,this.oldId={},this.cachePadNet={},this.creaseIds=[],this.stringId={},this.substrateLayer=new Set,this.layerPhysCache=[],this.randomUuid=0,this.padNumId={},this.componentPadNum={}}getOldId(t){var e;return(e=this.oldId[t])!=null?e:t}handConnect(){for(let t of this.creaseIds)if(this.connects[t])for(let e of this.connects[t])this.connects[e]?this.connects[e].push(t):this.connects[e]=[t]}getConnect(t){return this.connects[t]||[]}transRuleType(t){return oei(t)}transRuleStatus(t){switch(t=t&&Number(t),t){case 0:return"NORMAL";case 1:return"DEFAULT";default:return"NORMAL"}}transGridType(t){switch(t=t&&Number(t),t){case 0:return"NONE";case 1:return"GRID";case 2:return"OUTLETS";default:return"NONE"}}transLayerStatus(t){t=t&&Number(t);let e=!1,i=!1,o=!1;return t!=null&&!isNaN(t)?(t>=4&&(o=!0,t-=4),t>=2&&(i=!0,t-=2),t===1&&(e=!0)):e=!0,{use:e,show:i,locked:o}}transRoutingMode(t){switch(t=t&&Number(t),t){case 0:return"NONE";case 1:return"PUSH";case 2:return"SURROUND";case 3:return"OBSTRUCT";case 4:return"SURROUND&PUSH";default:return"NONE"}}transPadDef(t){switch(t==null?void 0:t[0]){case"ELLIPSE":return{padType:"ELLIPSE",width:t[1],height:t[2]};case"RECT":return{padType:"RECT",width:t[1],height:t[2],radius:t[3]};case"OVAL":return{padType:"OVAL",width:t[1],height:t[2]};case"POLYGON":case"POLY":return{padType:"POLYGON",path:t[1]};default:return null}}transHoleDef(t){return t?{holeType:t[0],width:t[1],height:t[2]}:null}transPourDef(t){function e(i){switch(i=i&&Number(i),i){case 0:return"GRID_LINE";case 1:return"HORIZONTAL_LINE";case 2:return"VERTICAL_LINE";default:return"GRID_LINE"}}switch(t==null?void 0:t[0]){case"SOLID":return{pourType:"SOLID",fineness:t[1]};case"LINE":return{pourType:e(t[1]),angle:t[2],strokeWidth:t[3],strokeSpacing:t[4]};default:return null}}transUnusedPadRange(t){switch(t=t&&Number(t),t){case 1:return"ALL";case 2:return"PAD";case 3:return"VIA";default:return"VIA"}}transPathOptimization(t){switch(t=t&&Number(t),t){case 0:return"SINGLE";case 1:return"ALL";case 2:return"NONE";default:return"SINGLE"}}transViaType(t){switch(t=t&&Number(t),t){case 0:return"NORMAL";case 1:return"SUTURE";default:return"NORMAL"}}transPadFuncType(t){switch(t=t&&Number(t),t){case 0:return"NORMAL";case 1:return"TEST";case 2:return"MARKER";default:return"NORMAL"}}transPadConnect(t){switch(t=t&&Number(t),t){case 0:return"DIVERGENCE";case 1:return"DIRECT";case 2:return"NON_CONNECT";default:return null}}transFillStyle(t){switch(t=t&&Number(t),t){case 0:return"SOLID";case 1:return"GRID";case 2:return"PLANE";default:return null}}transProhibitType(t){let e=new Set;if(!t)return[];for(let i of t)switch(i=i&&Number(i),i){case 1:e.add("TRACK"),e.add("FILL");break;case 2:e.add("COMPONENT");break;case 3:e.add("VIA");break;case 4:e.add("COPPER"),e.add("PLANE");break;case 5:e.add("TRACK");break;case 6:e.add("FILL");break;case 7:e.add("COPPER");break;case 8:e.add("PLANE");break}return Array.from(e)}transPushCoverDir(t){switch(t=t&&Number(t),t){case 1:return"X_AXIS_POSITIVE";case 2:return"X_AXIS_NEGATIVE";case 4:return"Y_AXIS_POSITIVE";case 8:return"Y_AXIS_NEGATIVE";default:return"X_AXIS_POSITIVE"}}transEntityBelong(t){switch(t=t&&Number(t),t){case 0:return"AUTO";case 1:return"UPPER_SHELLS";case 2:return"LOWER_SHELLS";default:return"AUTO"}}transSlotOption(t){t=t&&Number(t);let e=t;if(!e||e<4)return["OUTLINE","SCREW_PILLAR","ENTITY"];let i=[];return e>=16&&(i.push("ENTITY"),e-=16),e>=8&&(i.push("SCREW_PILLAR"),e-=8),e>=4&&(i.push("OUTLINE"),e-=4),i}transAlignType(t){switch(t=t&&Number(t),t){case 1:return"LEFT_TOP";case 4:return"CENTER_TOP";case 7:return"RIGHT_TOP";case 2:return"LEFT_MIDDLE";case 5:return"CENTER_MIDDLE";case 8:return"RIGHT_MIDDLE";case 3:return"LEFT_BOTTOM";case 6:return"CENTER_BOTTOM";case 9:return"RIGHT_BOTTOM";default:return"LEFT_BOTTOM"}}onParseLine(t){var e;let i=t[0];switch(i){case"DOCTYPE":this.parseDocType(t);break;case"HEAD":this.parseHead(t);break;case"CANVAS":this.parseCanvas(t);break;case"LAYER":this.parseLayer(t);break;case"LAYER_PHYS":this.layerPhysCache.push(t);break;case"ACTIVE_LAYER":this.parseActiveLayer(t);break;case"NET":this.parseNet(t);break;case"PRIMITIVE":this.parsePrimitive(t);break;case"GROUP":this.parseGroup(t);break;case"SILK_OPTS":this.parseSilkOpts(t);break;case"PREFERENCE":this.parsePreference(t);break;case"CONNECT":this.parseConnect(t);break;case"ITEM_ORDER":this.parseItemOrder(t);break;case"PROP":this.parseProp(t);break;case"EQLEN_GRP":this.parseEQLenGrp(t);break;case"EQLEN":this.parseEQLen(t);break;case"FONT":this.parseFont(t);break;case"PAD_NET":{this.cachePadNet[t[1]]||(this.cachePadNet[t[1]]=[]),this.cachePadNet[t[1]].push(t);break}case"REUSE_BLOCK":this.parseReuseBlock(t);break;case"RULE_TEMPLATE":this.parseRuleTemplate(t);break;case"RULE":this.rules.push(t);break;case"RULE_SELECTOR":this.ruleSelectors.push(t);break;case"PANELIZE":this.panelize.data=t;break;case"PANELIZE_STAMP":this.parsePanelizeStamp(t);break;case"PANELIZE_SIDE":this.parsePanelizeSide(t);break;case"POURED":{this.parsePoured(t);break}case"PARTITION":i==="PARTITION"&&(this.curPartition=t[3]?t[1]:"");case"VIA":case"PAD":case"LINE":case"ARC":case"CARC":case"OBJ":case"POLY":case"FILL":if(i==="FILL"&&t[6]===2){this.layerFill[t[4]]||(this.layerFill[t[4]]=[]),this.layerFill[t[4]].push(t);break}case"REGION":case"POUR":case"IMAGE":case"TEARDROP":case"FPC_FILL":case"SHELL":case"CREASE":i==="CREASE"&&this.creaseIds.push(t[1]);case"SHELLCUT":case"SHELL_ENTITY":case"BOSS":case"STRING":if(i==="STRING"&&!/^[a-zA-Z]+\d+$/.test(t[1])){let o=t[1],r=o.split(/([0-9].*)/);if(r.length>=2){let n=r[0],a=r[1];for(let s=0;s<a.length;s++){let l=a.charCodeAt(s);n+=l}o=n}this.stringId[o]=t[1],t[1]=o}case"DIMENSION":case"COMPONENT":{let o=i==="CARC"?"ARC":i,r=owe(t[1]);this.cache[o]||(this.cache[o]={}),r!==null&&!this.cache[o][r]?this.cache[o][r]={part:this.curPartition,value:t}:(this.errorIds[o]||(this.errorIds[o]=[]),this.errorIds[o].push({part:this.curPartition,value:t})),o==="COMPONENT"&&(this.components[t[1]]||(this.components[t[1]]={attrs:{},footprint:"",device:""}),this.components[t[1]].attrs=t[7]||{}),o==="DIMENSION"&&(this.dimension[t[1]]={attr:[]});break}case"ATTR":{if(this.docType==="PCB"&&!t[3])break;if(t[7]==="Footprint"&&(this.components[t[3]]||(this.components[t[3]]={attrs:{},footprint:"",device:""}),this.components[t[3]].footprint=t[8]),t[7]==="Device"&&(this.components[t[3]]||(this.components[t[3]]={attrs:{},footprint:"",device:""}),this.components[t[3]].device=t[8]),this.dimension[t[1]]){this.dimension[t[1]].attr=t;break}let o=Object.keys(((e=this.cache)==null?void 0:e.COMPONENT)||{}).find(n=>this.cache.COMPONENT[n].value[1]===t[3]);if(o){let n=this.cache.COMPONENT[o];n.attr||(n.attr=[]),n.attr.push({part:this.curPartition,value:t});break}let r=owe(t[1]);this.cache[i]||(this.cache[i]={}),r!==null&&!this.cache[i][r]?this.cache[i][r]={part:this.curPartition,value:t}:(this.errorIds[i]||(this.errorIds[i]=[]),this.errorIds[i].push({part:this.curPartition,value:t}));break}default:console.warn("can not find hanlder with",t)}}async secondParseLine(t,e,i){let o=t[0];if(this.idsSet.has(t[1])||!t[1]){let r=`randomuuid${++this.randomUuid}`;if(this.oldId[r]=t[1],t[1]=r,i)for(let n of i)n[3]=r}else this.idsSet.add(t[1]);switch(o){case"DOCTYPE":case"HEAD":case"CANVAS":case"LAYER":case"LAYER_PHYS":case"ACTIVE_LAYER":case"NET":case"PRIMITIVE":case"GROUP":case"SILK_OPTS":case"PREFERENCE":case"ITEM_ORDER":case"RULE_TEMPLATE":case"RULE":case"RULE_SELECTOR":case"PANELIZE":case"PANELIZE_STAMP":case"PANELIZE_SIDE":case"CONNECT":case"EQLEN_GRP":case"EQLEN":case"FONT":case"PAD_NET":case"REUSE_BLOCK":case"PROP":break;case"PARTITION":this.parsePartition(t);break;case"VIA":this.parseVia(t);break;case"PAD":this.parsePad(t);break;case"LINE":await this.parseLine(t);break;case"ARC":this.parseArc(t);break;case"CARC":this.parseCArc(t);break;case"OBJ":this.parseObj(t);break;case"POLY":this.parsePoly(t);break;case"FILL":this.parseFill(t);break;case"REGION":this.parseRegion(t);break;case"POUR":this.parsePour(t);break;case"IMAGE":this.parseImage(t);break;case"TEARDROP":this.parseTeardrop(t);break;case"FPC_FILL":this.parseFpcFill(t);break;case"SHELL":this.parseShell(t);break;case"CREASE":this.parseCrease(t);break;case"SHELLCUT":this.parseShellCut(t);break;case"SHELL_ENTITY":this.parseShellEntity(t);break;case"BOSS":this.parseBoss(t);break;case"STRING":this.parseString(t);break;case"ATTR":this.parseAttr(t,e);break;case"DIMENSION":this.parseDimension(t);break;case"COMPONENT":this.parseComponent(t);break;default:console.warn("can not find hanlder with",t)}}onParseEnd(){for(let e of this.layerPhysCache)this.parseLayerPhys(e);this.layerPhysCache=[];for(let e of this.rules)e[1]=this.transRuleType(e[1]),e[3]=this.transRuleStatus(e[3]),e[4]=rqo(e[1],e[2],e[3],e[4],this.fac,this.ruleTemplateName);if(this.fac.init){let e=Array.from(this.rules);for(let i of e){let o=nqo(i[1],i[2],i[4],this.fac);o&&this.rules.push(o)}}for(let e of this.rules)this.parseRule(e);let t={};for(let e of this.ruleSelectors){let i=aqo(e[1],e[2],mde(e[3]),this.fac),o=JSON.stringify(e[1]);t[o]?(e[2]&&(t[o].ruleOrder=e[2]),i.ruleKeyValue&&(t[o].ruleKeyValue=Object.assign(t[o].ruleKeyValue,i.ruleKeyValue)),(i.copperRuleValue||e[4])&&(t[o].copperValue=i.copperRuleValue||mde(e[4])),(i.innerPlaneRuleValue||e[5])&&(t[o].innerPlaneValue=i.innerPlaneRuleValue||mde(e[5]))):t[o]={ruleSelect:e[1],ruleOrder:e[2],ruleKeyValue:i.ruleKeyValue,copperValue:i.copperRuleValue||mde(e[4])||{},innerPlaneValue:i.innerPlaneRuleValue||mde(e[5])||{}}}for(let e in t)this.parseRuleSelector(t[e]);this.handConnect(),this.parseEQLenGrpFull(),this.parsePanelize(),this.parseLayerFill();for(let e in this.cache){let i=this.cache[e],o=Object.keys(i).sort((n,a)=>Number(n)-Number(a)),r=-1;for(let n of o){let a=Number(n),s=a-r-1;s>=1&&this.onPHolder(e,s),r=a,this.curPartition=i[a].part,this.secondParseLine(i[a].value,void 0,i[a].attr),i[a].attr&&i[a].attr.forEach(l=>{this.curPartition=l.part,this.secondParseLine(l.value)})}if(this.errorIds[e])for(let n of this.errorIds[e])this.curPartition=n.part,this.secondParseLine(n.value)}this.clearCache()}clearCache(){this.version=void 0,this.docType=void 0,this.curPartition="",this.eQLenData={},this.eQLenSort=1,this.cache={},this.components={},this.errorIds={},this.dimension={},this.connects={},this.specialColors={},this.reuseBlock={},this.panelize.data.length&&(this.panelize.data.length=0,this.panelize.stamp={h:null,v:null},this.panelize.size={h:null,v:null}),this.layerPhys=0,this.fac.init&&(this.fac=new DXt),this.rules=[],this.ruleSelectors=[],this.ruleTemplateName="",this.layerFill={},this.idsSet.clear(),this.oldId={},this.creaseIds.length=0,this.substrateLayer.clear()}fixPolygon(t){if(t[0]=="R"){let e=parseFloat(t[3])/10,i=parseFloat(t[4])/10;t[6]=Math.min(e,i)/2*(parseFloat(t[6])||0)*10}}handleSimplePolygon(t){return!t||this.version>=1.5||this.fixPolygon(t),t}handlePolygon(t){if(this.version<1.5&&t&&t.length){if(!Array.isArray(t[0]))return this.handleSimplePolygon(t);for(let e of t)this.fixPolygon(e)}return t}parseEQLen(t){this.eQLenData[t[1]]?this.eQLenData[t[1]].pads?this.eQLenData[t[1]].pads.push(t[2]):this.eQLenData[t[1]].pads=[t[2]]:this.eQLenData[t[1]]={pads:[t[2]]}}parseEQLenGrp(t){this.eQLenData[t[1]]?(this.eQLenData[t[1]].id=t[1],this.eQLenData[t[1]].name=t[2],this.eQLenData[t[1]].sort=++this.eQLenSort):this.eQLenData[t[1]]={id:t[1],name:t[2],sort:++this.eQLenSort}}parseCanvas(t){this.onCanvas(t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],this.transGridType(t[10]),this.transGridType(t[11]),t[12])}parseDocType(t){this.docType=t[1];let e=parseFloat(t[2]);this.version=e}parseHead(t){}parseLayer(t){let e=t[8];this.version<1.7&&(e=.5);let i=this.transLayerStatus(t[4]),o=Number(t[1]);if(t[2]==="SUBSTRATE"){if(this.substrateLayer.add(o),o<101)return;o<361&&(o=o+260)}this.onLayer(o,t[2],t[3],i.use,i.show,i.locked,t[5],t[6],t[7],e)}parseLayerPhys(t){let e=Number(t[1]);if(e>=101&&e<361&&this.substrateLayer.has(e))e=e+260;else if(e<101&&this.substrateLayer.has(e))return;this.onLayerPhys(e,t[2],t[3],t[4],t[5],!!t[6],++this.layerPhys)}parseActiveLayer(t){this.onActiveLayer(t[1])}parsePartition(t){this.onPartition(t[1],t[2],t[3],this.handlePolygon(t[4]))}parseNet(t){var e,i,o,r;this.onNet(t[1],(e=t[2])!=null?e:null,(i=t[3])!=null?i:null,!!t[4],(o=t[5])!=null?o:null,!!t[6],(r=t[7])!=null?r:null)}parsePrimitive(t){this.onPrimitive(t[1],!!t[2],!!t[3])}parseGroup(t){this.onGroup(t[1],t[2])}parseSilkOpts(t){this.onSilkOpts(t[1],t[2],t[3])}parsePreference(t){this.onPreference(!!t[1],t[2],!!t[3],t[4],t[5],!!t[6],this.transRoutingMode(t[7]),t[8],!!t[9],!!t[10],!!t[11],t[12],t[13],!!t[14],this.transUnusedPadRange(t[15]),t[16],this.transPathOptimization(t[17]),t[18],t[19],t[20])}parseConnect(t){this.connects[t[1]]=t[2]}parseVia(t){var e,i;this.onVia(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],t[8],this.transViaType(t[9]),(e=t[10])!=null?e:null,(i=t[11])!=null?i:null,!!t[12],t[13])}parsePad(t){var e,i,o,r,n,a,s,l,c;this.onPad(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],t[8],this.transHoleDef(t[9]),this.transPadDef(t[10]),t[11]&&(i=(e=t[11])==null?void 0:e.map(d=>({startLayer:d[0],endLayer:d[1],pad:this.transPadDef(d[2])})))!=null?i:null,t[12],t[13],t[14],!!t[15],this.transPadFuncType(t[16]),(o=t[17])!=null?o:null,(r=t[18])!=null?r:null,(n=t[19])!=null?n:null,(a=t[20])!=null?a:null,!!t[21],this.transPadConnect(t[22]),(s=t[23])!=null?s:null,(l=t[24])!=null?l:null,(c=t[25])!=null?c:null,t[26],this.getConnect(t[1]))}parseLine(t){this.onLine(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],!!t[10])}parseArc(t){this.onArc(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],!!t[11],this.specialColors[this.getOldId(t[1])])}parseCArc(t){this.onCArc(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],!!t[11],this.specialColors[this.getOldId(t[1])])}parseObj(t){this.onObj(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],!!t[10],t[11],!!t[12],this.specialColors[this.getOldId(t[1])])}parseItemOrder(t){this.itemOrder=t[1]}parseProp(t){this.specialColors[t[1]]=t[2]}parseEQLenGrpFull(){for(let t in this.eQLenData){let e=this.eQLenData[t];e.id&&this.onEQLenGrp(e.id,e.name,e.sort,e.pads||[])}this.eQLenData={},this.eQLenSort=1}parsePoly(t){this.onPoly(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],this.handleSimplePolygon(t[6]),!!t[7],this.specialColors[this.getOldId(t[1])])}parseFill(t){this.onFill(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],this.transFillStyle(t[6]),this.handlePolygon(t[7]),!!t[8],this.getConnect(t[1]),this.specialColors[this.getOldId(t[1])])}getZIndex1(t){let e=t.match(t7e);return e!=null&&e.length?e[1]:null}parseLayerFill(){for(let t in this.layerFill){let e=this.layerFill[t];this.onLayerFill(Number(t),{fill:e.map(i=>{let o=this.getZIndex1(i[1]);return{id:i[1],partitionId:this.curPartition||"",groupId:i[2],locked:!!i[8],zIndex:o===null?null:Number(o),netName:i[3],width:i[5],path:this.handlePolygon(i[7]),refs:this.getConnect(i[1]),specialColor:this.specialColors[this.getOldId(i[1])]}})})}}parseRegion(t){let e=t[5],i=e&&e.includes(9)?"CONSTRAINT":"PROHIBIT";e=i?e.filter(o=>o!==9):e,this.onRegion(t[1],this.curPartition||"",t[2],t[3],t[4],this.transProhibitType(e),this.handlePolygon(t[6]),!!t[7],t[8],i)}parsePour(t){let e=t[9];this.version<=1.7&&e&&e[0]==="SOLID"&&e[1]&&(e[1]=8),this.onPour(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],this.handlePolygon(t[8]),this.transPourDef(e),!!t[10],!!t[11]),this.poured[t[1]]&&this.onPoured(t[1],this.poured[t[1]])}parsePoured(t){if(this.version<1.1){if(this.curPourId){let e={id:t[1],strokeWidth:t[2],fill:t[3],path:this.handlePolygon(t[4])};this.poured[this.curPourId]||(this.poured[this.curPourId]={pourFill:[]}),this.poured[this.curPourId].pourFill.push(e)}}else{let e={id:t[1],strokeWidth:t[3],fill:t[4],path:this.handlePolygon(t[5])};this.poured[t[2]]||(this.poured[t[2]]={pourFill:[]}),this.poured[t[2]].pourFill.push(e)}}parseImage(t){this.onImage(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],t[8],!!t[9],t[10],!!t[11],this.specialColors[this.getOldId(t[1])])}parseTeardrop(t){let e,i,o;this.version<1.2?(e=t[5],o=t[4]):(e=t[4],i=t[5],o=this.getConnect(t[1])),this.onTeardrop(t[1],this.curPartition||"",t[2],t[3],this.handleSimplePolygon(e),i!=null?i:null,o)}parseFpcFill(t){this.onFpcFill(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],this.handlePolygon(t[6]),!!t[7])}parseShell(t){let e=t[8];e&&e.Direction&&(e.Direction=this.transPushCoverDir(e.Direction)),this.onShell(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],this.handlePolygon(t[7]),e,!!t[9])}parseCrease(t){this.onCrease(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],t[8],!!t[9])}parseShellCut(t){this.onShellCut(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],this.handlePolygon(t[6]),!!t[7],this.getConnect(t[1]))}parseShellEntity(t){this.onShellEntity(t[1],this.curPartition||"",t[2],t[3],t[4],this.transEntityBelong(t[5]),this.transSlotOption(t[5]),t[6],t[7],this.handlePolygon(t[8]),!!t[9],this.getConnect(t[1]))}parseBoss(t){var e,i,o,r,n,a;this.version<1.4?this.onBoss(t[1],this.curPartition||"",t[2],t[3],t[5],t[6],(e=t[4])!=null?e:null,t[7],null,null,(i=t[8])!=null?i:null,(o=t[9])!=null?o:null,!!t[10]):this.onBoss(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],(r=t[6])!=null?r:null,t[7],t[8],t[9],(n=t[10])!=null?n:null,(a=t[11])!=null?a:null,!!t[12])}parseDimension(t){var e;let i=this.getOldId(t[1]),o=((e=this.dimension[i])==null?void 0:e.attr)||[];if(o.length){let n=this.fontCache.find(a=>a.id&&a.id===this.getOldId(o[1]));this.version<1.6&&n&&(n.text=o[8],n.fontFamily=o[11],n.fontSize=o[12]/10,n.thickness=o[13]/10,n.bold=o[15],n.italic=o[16],n.reverse=o[18],n.expansion=o[19]/10)}let r={groupId:o[2],layerId:o[4],x:o[5],y:o[6],text:o[8],fontFamily:o[11],fontSize:o[12],strokeWidth:o[13],bold:o[14],italic:o[15],origin:o[16],angle:o[17],reverse:o[18],expansion:o[19],mirror:o[20],locked:o[21],zIndex:null,specialColor:this.specialColors[this.getOldId(o[1])]};this.onDimension(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],!!t[7],t[8],!!t[9],r,this.specialColors[this.getOldId(t[1])],o[2]||"")}parseRuleTemplate(t){this.ruleTemplateName=t[1],this.onRuleTemplate(t[1])}parseRule(t){this.onRule(t[1],t[2],t[3],t[4])}parseRuleSelector(t){this.onRuleSelector(t.ruleSelect,t.ruleOrder,t.ruleKeyValue,t.copperValue,t.innerPlaneValue)}parsePanelize(){let t=this.panelize.data;t.length&&this.onPanelize(!!t[1],t[2],t[3],t[4],t[5],!!t[6],this.panelize.stamp.h,this.panelize.stamp.v,this.panelize.size.h,this.panelize.size.v)}parsePanelizeStamp(t){let e={on:!!t[2],stampHoleGroupQuantity:t[3],stampHoleDiameter:t[4],stampHoleQuantityPerGroup:t[5],stampHoleSpacing:t[6]};t[1]?this.panelize.stamp.v=e:this.panelize.stamp.h=e}parsePanelizeSide(t){let e={on:!!t[2],sideHeight:t[3],positionHoleDiameter:t[4],markDiameter:t[5],markExpansion:t[6]};t[1]?this.panelize.size.v=e:this.panelize.size.h=e}parseComponent(t){let e=this.getOldId(t[1]),i=t[7]||{},o=this.reuseBlock[e];if(o&&Object.assign(i,{"Group ID":o[2]||"","Channel ID":o[3]||""}),this.onComponent(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],i,!!t[8],this.specialColors[e]),this.cachePadNet[e])for(let r of this.cachePadNet[e])this.parsePadNet(r)}parsePadNet(t){let e=this.getOldId(t[1]);if(t[4]===void 0&&this.components[e]){let i=this.components[e].footprint;if(!i){let r=this.components[e].device;i=this.devices.find(n=>n.uuid===r).attributes.Footprint}let o=this.padNumId[i];if(!o){let r=this.footprints.find(n=>n.uuid===i);r&&(this.padNumId[i]=sqo(r==null?void 0:r.dataStr),o=this.padNumId[i])}if(o&&o[t[2]]){this.componentPadNum[e]||(this.componentPadNum[e]={}),this.componentPadNum[e][t[2]]===void 0&&(this.componentPadNum[e][t[2]]=-1);let r=++this.componentPadNum[e][t[2]];t[4]=o[t[2]][r]}else t[4]=t[2]}this.onPadNet(t[1],this.curPartition||"",t[2],t[3],t[4])}parseReuseBlock(t){this.reuseBlock[t[1]]=t}getFontCache(t,e,i,o,r,n,a,s){let l;return this.version<1.6?l=this.fontCache.find(c=>c.id===t):l=this.fontCache.find(c=>i==c.fontFamily&&e==c.text&&o/10==c.fontSize&&!!a==c.reverse&&s==c.expansion&&!!r==c.bold&&!!n==c.italic&&c.path.length>0),{paths:l==null?void 0:l.path,width:l==null?void 0:l.width,height:l==null?void 0:l.height}}getTextValue(t,e,i,o,r){let n="";return t!=""&&e===""&&this.docType!="PCB"&&!r&&t!="Footprint"&&!this.footprintIsConnectDevice&&(e=`<${t}>`),i?o?n=t+":"+e:n=t:o?n=e:n="",n}getFormulaName(t,e){if(!t||!t.startsWith("="))return t;t=t.slice(1);let i=/\{([^\}]+)\}/g,o=[],r=[];for(;o=i.exec(t);)r.push(o[1]);for(let n=0;n<r.length;n++){let a=r[n],s=`{${a}!}`;e.has(a)&&(s=e.get(a)),t=t.replace(`{${a}}`,s)}return t}parseAttr(t,e){let i=t[11],o=t[12];o&&this.version<1.2&&(i=="default"||i=="")&&(o*=1.5);let r=t[7],n=t[8],a=!!t[9],s=!!t[10],l=this.getOldId(t[3]),c=n;if(r==="Device"){let u=this.deviceName[n]||n;c=this.getTextValue(r,u,a,s,l)}else if(r==="Footprint"){let u=this.footprintName[n]||n;c=this.getTextValue(r,u,a,s,l)}else if(r==="Name"){let u=new Map;if(l){let p=this.components[l];if(u.set("ID",l),Object.entries(p.attrs).forEach(m=>u.set(m[0],m[1])),p.device){let m=this.devices.find(h=>h.uuid===p.device);m&&Object.entries(m.attributes).forEach(h=>u.set(h[0],h[1]))}}c=this.getTextValue(r,this.getFormulaName(n,u),a,s,l)}else c=this.getTextValue(r,n,a,s,l);let d=this.fontCache.find(u=>u.id&&u.id===this.getOldId(t[1]));this.version<1.6&&d&&(d.text=c,d.fontFamily=i,d.fontSize=o/10,d.thickness=t[13]/10,d.bold=t[15],d.italic=t[16],d.reverse=t[18],d.expansion=t[19]/10),this.onAttr(t[1],this.curPartition||"",t[2],l,t[4],t[5],t[6],r,n,a,s,i,o,t[13],!!t[14],!!t[15],this.transAlignType(t[16]),t[17],!!t[18],t[19],!!t[20],!!t[21],e,this.specialColors[this.getOldId(t[1])])}parseFont(t){let e;switch(this.version){case 1:case 1.1:e={id:t[1],path:t[2]};break;case 1.2:case 1.3:case 1.4:case 1.5:e={id:t[1],width:t[2],height:t[3],path:t[4]};break;default:e={text:t[1],fontFamily:t[2],fontSize:t[3],thickness:t[4],bold:!!t[5],italic:!!t[6],reverse:!!t[7],expansion:t[8],width:t[9],height:t[10],path:t[11]};break}this.fontCache.push(e)}parseString(t){var e;let[,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y]=t,w=(e=this.stringId[i])!=null?e:i;c&&this.version<1.2&&(l=="default"||l=="")&&(c*=1.5);let x=this.fontCache.find(S=>S.id&&S.id===this.getOldId(w));this.version<1.6&&x&&(x.text=s,x.fontFamily=l,x.fontSize=c/10,x.thickness=d/10,x.bold=u,x.italic=p,x.reverse=f,x.expansion=g/10),this.onString(i,this.curPartition||"",o,r,n,a,s,l,c,d,!!u,!!p,this.transAlignType(m),h,!!f,g,!!b,!!y,this.specialColors[this.getOldId(w)])}},lqo=Object.create,aei=Object.defineProperty,cqo=Object.getOwnPropertyDescriptor,dqo=Object.getOwnPropertyNames,uqo=Object.getPrototypeOf,pqo=Object.prototype.hasOwnProperty,mqo=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),hqo=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of dqo(e))!pqo.call(t,r)&&r!==i&&aei(t,r,{get:()=>e[r],enumerable:!(o=cqo(e,r))||o.enumerable});return t},fqo=(t,e,i)=>(i=t!=null?lqo(uqo(t)):{},hqo(e||!t||!t.__esModule?aei(i,"default",{value:t,enumerable:!0}):i,t)),gqo=mqo((t,e)=>{"use strict";e.exports=i,e.exports.default=i;function i(_,j,B){B=B||2;var V=j&&j.length,G=V?j[0]*B:_.length,Q=o(_,0,G,B,!0),H=[];if(!Q||Q.next===Q.prev)return H;var q,U,F,K,te,ae,pe;if(V&&(Q=d(_,j,Q,B)),_.length>80*B){q=F=_[0],U=K=_[1];for(var Z=B;Z<G;Z+=B)te=_[Z],ae=_[Z+1],te<q&&(q=te),ae<U&&(U=ae),te>F&&(F=te),ae>K&&(K=ae);pe=Math.max(F-q,K-U),pe=pe!==0?32767/pe:0}return n(Q,H,B,q,U,pe,0),H}function o(_,j,B,V,G){var Q,H;if(G===O(_,j,B,V)>0)for(Q=j;Q<B;Q+=V)H=v(Q,_[Q],_[Q+1],H);else for(Q=B-V;Q>=j;Q-=V)H=v(Q,_[Q],_[Q+1],H);return H&&T(H,H.next)&&(k(H),H=H.next),H}function r(_,j){if(!_)return _;j||(j=_);var B=_,V;do if(V=!1,!B.steiner&&(T(B,B.next)||S(B.prev,B,B.next)===0)){if(k(B),B=j=B.prev,B===B.next)break;V=!0}else B=B.next;while(V||B!==j);return j}function n(_,j,B,V,G,Q,H){if(_){!H&&Q&&f(_,V,G,Q);for(var q=_,U,F;_.prev!==_.next;){if(U=_.prev,F=_.next,Q?s(_,V,G,Q):a(_)){j.push(U.i/B|0),j.push(_.i/B|0),j.push(F.i/B|0),k(_),_=F.next,q=F.next;continue}if(_=F,_===q){H?H===1?(_=l(r(_),j,B),n(_,j,B,V,G,Q,2)):H===2&&c(_,j,B,V,G,Q):n(r(_),j,B,V,G,Q,1);break}}}}function a(_){var j=_.prev,B=_,V=_.next;if(S(j,B,V)>=0)return!1;for(var G=j.x,Q=B.x,H=V.x,q=j.y,U=B.y,F=V.y,K=G<Q?G<H?G:H:Q<H?Q:H,te=q<U?q<F?q:F:U<F?U:F,ae=G>Q?G>H?G:H:Q>H?Q:H,pe=q>U?q>F?q:F:U>F?U:F,Z=V.next;Z!==j;){if(Z.x>=K&&Z.x<=ae&&Z.y>=te&&Z.y<=pe&&w(G,q,Q,U,H,F,Z.x,Z.y)&&S(Z.prev,Z,Z.next)>=0)return!1;Z=Z.next}return!0}function s(_,j,B,V){var G=_.prev,Q=_,H=_.next;if(S(G,Q,H)>=0)return!1;for(var q=G.x,U=Q.x,F=H.x,K=G.y,te=Q.y,ae=H.y,pe=q<U?q<F?q:F:U<F?U:F,Z=K<te?K<ae?K:ae:te<ae?te:ae,ee=q>U?q>F?q:F:U>F?U:F,ce=K>te?K>ae?K:ae:te>ae?te:ae,ne=b(pe,Z,j,B,V),oe=b(ee,ce,j,B,V),re=_.prevZ,Y=_.nextZ;re&&re.z>=ne&&Y&&Y.z<=oe;){if(re.x>=pe&&re.x<=ee&&re.y>=Z&&re.y<=ce&&re!==G&&re!==H&&w(q,K,U,te,F,ae,re.x,re.y)&&S(re.prev,re,re.next)>=0||(re=re.prevZ,Y.x>=pe&&Y.x<=ee&&Y.y>=Z&&Y.y<=ce&&Y!==G&&Y!==H&&w(q,K,U,te,F,ae,Y.x,Y.y)&&S(Y.prev,Y,Y.next)>=0))return!1;Y=Y.nextZ}for(;re&&re.z>=ne;){if(re.x>=pe&&re.x<=ee&&re.y>=Z&&re.y<=ce&&re!==G&&re!==H&&w(q,K,U,te,F,ae,re.x,re.y)&&S(re.prev,re,re.next)>=0)return!1;re=re.prevZ}for(;Y&&Y.z<=oe;){if(Y.x>=pe&&Y.x<=ee&&Y.y>=Z&&Y.y<=ce&&Y!==G&&Y!==H&&w(q,K,U,te,F,ae,Y.x,Y.y)&&S(Y.prev,Y,Y.next)>=0)return!1;Y=Y.nextZ}return!0}function l(_,j,B){var V=_;do{var G=V.prev,Q=V.next.next;!T(G,Q)&&M(G,V,V.next,Q)&&E(G,Q)&&E(Q,G)&&(j.push(G.i/B|0),j.push(V.i/B|0),j.push(Q.i/B|0),k(V),k(V.next),V=_=Q),V=V.next}while(V!==_);return r(V)}function c(_,j,B,V,G,Q){var H=_;do{for(var q=H.next.next;q!==H.prev;){if(H.i!==q.i&&x(H,q)){var U=R(H,q);H=r(H,H.next),U=r(U,U.next),n(H,j,B,V,G,Q,0),n(U,j,B,V,G,Q,0);return}q=q.next}H=H.next}while(H!==_)}function d(_,j,B,V){var G=[],Q,H,q,U,F;for(Q=0,H=j.length;Q<H;Q++)q=j[Q]*V,U=Q<H-1?j[Q+1]*V:_.length,F=o(_,q,U,V,!1),F===F.next&&(F.steiner=!0),G.push(y(F));for(G.sort(u),Q=0;Q<G.length;Q++)B=p(G[Q],B);return B}function u(_,j){return _.x-j.x}function p(_,j){var B=m(_,j);if(!B)return j;var V=R(B,_);return r(V,V.next),r(B,B.next)}function m(_,j){var B=j,V=_.x,G=_.y,Q=-1/0,H;do{if(G<=B.y&&G>=B.next.y&&B.next.y!==B.y){var q=B.x+(G-B.y)*(B.next.x-B.x)/(B.next.y-B.y);if(q<=V&&q>Q&&(Q=q,H=B.x<B.next.x?B:B.next,q===V))return H}B=B.next}while(B!==j);if(!H)return null;var U=H,F=H.x,K=H.y,te=1/0,ae;B=H;do V>=B.x&&B.x>=F&&V!==B.x&&w(G<K?V:Q,G,F,K,G<K?Q:V,G,B.x,B.y)&&(ae=Math.abs(G-B.y)/(V-B.x),E(B,_)&&(ae<te||ae===te&&(B.x>H.x||B.x===H.x&&h(H,B)))&&(H=B,te=ae)),B=B.next;while(B!==U);return H}function h(_,j){return S(_.prev,_,j.prev)<0&&S(j.next,_,_.next)<0}function f(_,j,B,V){var G=_;do G.z===0&&(G.z=b(G.x,G.y,j,B,V)),G.prevZ=G.prev,G.nextZ=G.next,G=G.next;while(G!==_);G.prevZ.nextZ=null,G.prevZ=null,g(G)}function g(_){var j,B,V,G,Q,H,q,U,F=1;do{for(B=_,_=null,Q=null,H=0;B;){for(H++,V=B,q=0,j=0;j<F&&(q++,V=V.nextZ,!!V);j++);for(U=F;q>0||U>0&&V;)q!==0&&(U===0||!V||B.z<=V.z)?(G=B,B=B.nextZ,q--):(G=V,V=V.nextZ,U--),Q?Q.nextZ=G:_=G,G.prevZ=Q,Q=G;B=V}Q.nextZ=null,F*=2}while(H>1);return _}function b(_,j,B,V,G){return _=(_-B)*G|0,j=(j-V)*G|0,_=(_|_<<8)&16711935,_=(_|_<<4)&252645135,_=(_|_<<2)&858993459,_=(_|_<<1)&1431655765,j=(j|j<<8)&16711935,j=(j|j<<4)&252645135,j=(j|j<<2)&858993459,j=(j|j<<1)&1431655765,_|j<<1}function y(_){var j=_,B=_;do(j.x<B.x||j.x===B.x&&j.y<B.y)&&(B=j),j=j.next;while(j!==_);return B}function w(_,j,B,V,G,Q,H,q){return(G-H)*(j-q)>=(_-H)*(Q-q)&&(_-H)*(V-q)>=(B-H)*(j-q)&&(B-H)*(Q-q)>=(G-H)*(V-q)}function x(_,j){return _.next.i!==j.i&&_.prev.i!==j.i&&!D(_,j)&&(E(_,j)&&E(j,_)&&N(_,j)&&(S(_.prev,_,j.prev)||S(_,j.prev,j))||T(_,j)&&S(_.prev,_,_.next)>0&&S(j.prev,j,j.next)>0)}function S(_,j,B){return(j.y-_.y)*(B.x-j.x)-(j.x-_.x)*(B.y-j.y)}function T(_,j){return _.x===j.x&&_.y===j.y}function M(_,j,B,V){var G=A(S(_,j,B)),Q=A(S(_,j,V)),H=A(S(B,V,_)),q=A(S(B,V,j));return!!(G!==Q&&H!==q||G===0&&I(_,B,j)||Q===0&&I(_,V,j)||H===0&&I(B,_,V)||q===0&&I(B,j,V))}function I(_,j,B){return j.x<=Math.max(_.x,B.x)&&j.x>=Math.min(_.x,B.x)&&j.y<=Math.max(_.y,B.y)&&j.y>=Math.min(_.y,B.y)}function A(_){return _>0?1:_<0?-1:0}function D(_,j){var B=_;do{if(B.i!==_.i&&B.next.i!==_.i&&B.i!==j.i&&B.next.i!==j.i&&M(B,B.next,_,j))return!0;B=B.next}while(B!==_);return!1}function E(_,j){return S(_.prev,_,_.next)<0?S(_,j,_.next)>=0&&S(_,_.prev,j)>=0:S(_,j,_.prev)<0||S(_,_.next,j)<0}function N(_,j){var B=_,V=!1,G=(_.x+j.x)/2,Q=(_.y+j.y)/2;do B.y>Q!=B.next.y>Q&&B.next.y!==B.y&&G<(B.next.x-B.x)*(Q-B.y)/(B.next.y-B.y)+B.x&&(V=!V),B=B.next;while(B!==_);return V}function R(_,j){var B=new P(_.i,_.x,_.y),V=new P(j.i,j.x,j.y),G=_.next,Q=j.prev;return _.next=j,j.prev=_,B.next=G,G.prev=B,V.next=B,B.prev=V,Q.next=V,V.prev=Q,V}function v(_,j,B,V){var G=new P(_,j,B);return V?(G.next=V.next,G.prev=V,V.next.prev=G,V.next=G):(G.prev=G,G.next=G),G}function k(_){_.next.prev=_.prev,_.prev.next=_.next,_.prevZ&&(_.prevZ.nextZ=_.nextZ),_.nextZ&&(_.nextZ.prevZ=_.prevZ)}function P(_,j,B){this.i=_,this.x=j,this.y=B,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}i.deviation=function(_,j,B,V){var G=j&&j.length,Q=G?j[0]*B:_.length,H=Math.abs(O(_,0,Q,B));if(G)for(var q=0,U=j.length;q<U;q++){var F=j[q]*B,K=q<U-1?j[q+1]*B:_.length;H-=Math.abs(O(_,F,K,B))}var te=0;for(q=0;q<V.length;q+=3){var ae=V[q]*B,pe=V[q+1]*B,Z=V[q+2]*B;te+=Math.abs((_[ae]-_[Z])*(_[pe+1]-_[ae+1])-(_[ae]-_[pe])*(_[Z+1]-_[ae+1]))}return H===0&&te===0?0:Math.abs((te-H)/H)};function O(_,j,B,V){for(var G=0,Q=j,H=B-V;Q<B;Q+=V)G+=(_[H]-_[Q])*(_[Q+1]+_[H+1]),H=Q;return G}i.flatten=function(_){for(var j=_[0][0].length,B={vertices:[],holes:[],dimensions:j},V=0,G=0;G<_.length;G++){for(var Q=0;Q<_[G].length;Q++)for(var H=0;H<j;H++)B.vertices.push(_[G][Q][H]);G>0&&(V+=_[G-1].length,B.holes.push(V))}return B}}),bqo=(t=>(t[t.MIL=1]="MIL",t[t.INCH=1e3]="INCH",t[t.FT=12e3]="FT",t[t.YARD=36e3]="YARD",t[t.MILE=6336e4]="MILE",t[t.KM=3937007874e-2]="KM",t[t.M=39370]="M",t[t.DM=3937]="DM",t[t.CM=393.7]="CM",t[t.MM=39.37]="MM",t[t.UM=.039]="UM",t[t.NM=394e-7]="NM",t[t.PT=13.88888888888889]="PT",t[t.PX72=13.88888888888889]="PX72",t[t.PX96=10.416666666666666]="PX96",t[t.PX100=10]="PX100",t[t.LTSPICE=6.25]="LTSPICE",t[t.PX1=.1]="PX1",t[t.PX001=.001]="PX001",t))(bqo||{}),yqo=(t=>(t.MIL="mil",t.INCH="inch",t.FT="ft",t.YARD="yard",t.MILE="mile",t.KM="km",t.M="m",t.DM="dm",t.CM="cm",t.MM="mm",t.UM="um",t.NM="nm",t.PT="pt",t.PX72="px(72)",t.PX96="px(96)",t.PX100="px(100)",t))(yqo||{}),AXt={mil:1,inch:1e3,ft:12e3,yard:36e3,mile:6336e4,km:3937007874e-2,dm:3937,mm:39.37,um:.039,nm:394e-7,pt:13.88888888888889,"px(72)":13.88888888888889,"px(96)":10.416666666666666,"px(100)":10},Qgn=(()=>{let t={};for(let e in AXt)t[AXt[e]]=e;return t})(),JAe,Kgn=(JAe=class{constructor(t,e){this.ratio=t/e}wrap(t){return t*this.ratio}static convert(t,e,i){return t*e/i}},JAe.ASIS=new JAe(1,1),JAe),qAe=class{conversion(t,e,i){if(t===e)return i;let o=t+2+e;return this[o](i)}conversion1(t,e,i){let o=t+2+e,r=this[o](i);return e=="mil"?Math.round(r*10)/10:Math.round(r*1e3)/1e3}mil2mil(t){return t}mil2mm(t){return t*.0254}mil2cm(t){return t*.00254}mil2inch(t){return t/1e3}mm2mm(t){return t}mm2mil(t){let e=Math.pow(10,5);return Math.round(t*39.37007874015748*e)/e}mm2cm(t){return t/10}mm2inch(t){let e=Math.pow(10,8);return Math.round(t*.03937007874015748*e)/e}cm2mil(t){let e=Math.pow(10,6);return Math.round(t*393.7007874015748*e)/e}cm2mm(t){return t*10}cm2inch(t){let e=Math.pow(10,7);return Math.round(t*.3937007874015748*e)/e}inch2mil(t){return t*1e3}inch2mm(t){return t*25.4}inch2cm(t){return t*2.54}};qAe.prototype["px(100)2mil"]=t=>t*10,qAe.prototype["px(100)2mm"]=t=>t*.254,qAe.prototype["mil2px(100)"]=t=>t/10,qAe.prototype["mm2px(100)"]=t=>{let e=Math.pow(10,5);return Math.round(t*3.937007874015748*e)/e};var XAe=null,xht=new ArrayBuffer(8),s1t=new Float64Array(xht),l1t=new Uint32Array(xht),NXt=new Uint16Array(xht),kXt=class{static repeat(t,e){let i=new Array(e);for(;e-- >0;)i[e]=t;return i.join("")}static lpad(t,e,i){let o=i-t.length;return o>0?this.repeat(e,o)+t:t}static rpad(t,e,i){let o=i-t.length;return o>0?t+this.repeat(e,o):t}static strHashcode(t){if(t.length>0){let e=0;for(let i=0;i<t.length;i++)e=31*e+t.charCodeAt(i)|0;return e}else return 0}static arraycopy(t,e,i,o,r){if(t.length>=e+r&&i.length>=o+r)for(;r-- >0;)i[o++]=t[e++];else throw new Error("arraycopy out of range")}static undefAsNull(t){return null}static reverse(t,e){for(let i=0,o=t.length-1;o>=0;i++,o--)e[i]=t[o];return e}static sortAsc(t,e){return t-e}static xmlDecode(t){let e=t.length,i=new Array,o=-1;for(let r=0;r<e;r++){let n=t.charAt(r);if(o>=0){if(n===";"){let a=t.substring(o+1,r);switch(a){case"lt":i.push("<");break;case"gt":i.push(">");break;case"quot":i.push('"');break;case"apos":i.push("'");break;case"amp":i.push("&");break;default:if(a.charAt(0)==="#"){let s=parseInt(a.substring(1));i.push(String.fromCharCode(s))}else i.push("&"+a+";")}o=-1}}else n==="&"?o=r:i.push(n)}return o>=0&&i.push(t.substring(o)),i.join("")}static addAll(t,e){for(let i of e)t.push(i)}static addAllSet(t,e){for(let i of e)t.add(i)}static contains(t,e){for(let i of t)if(i.equals(e))return!0;return!1}static equals(t,e){if(t.length==e.length){for(let i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}else return!1}static remove(t,e){let i=0,o=t.length;for(let r=0;r<o;r++)t[r]===e&&(t.splice(r,1),r--,o--,i++);return i}static getUrlVars(){for(var t={},e=location.href.slice(location.href.indexOf("?")+1).split("&"),i=0;i<e.length;i++){var o=e[i].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t}static prefix(){if(!XAe){let t=this.getUrlVars().version;t?XAe="/analyzer/v"+t:XAe="/analyzer"}return XAe}static add2objS(t,e,i){if(e in t)return t[e];{let o=i(e);return t[e]=o,o}}static downloadFile(t,e){let i=document.createElement("a"),o=URL.createObjectURL(e);i.download=t,i.href=o,i.click(),URL.revokeObjectURL(o)}static uuid(){let t=new Array;s1t[0]=new Date().getTime(),t.push(l1t[1].toString(16)),s1t[0]=Math.random(),t.push(NXt[3].toString(16));let e=NXt[2].toString(16);t.push("4"+e.substr(0,3)),s1t[0]=performance.now();let i=l1t[0].toString(16)+l1t[1].toString(16);return t.push("0"+i.substr(0,3)),t.push(i.substr(3)),t.join("-")}static funcCopy(t){return(0,eval)("("+t.toString()+")")}static NVL(...t){for(let e of t)if(e!==null)return e;return null}static isSingle(t){return Array.from(new Set(t)).length===t.length}},sei=class{static rgb(t){if(0<=t&&t<=255)return t;throw new Error(wde.format("RGB should not nagative and not over 255(0xFF): %X",t))}static normal(t){if(isFinite(t))return t;throw new Error(wde.format("%f is not permitted",t))}static positiveOr0(t){if(t>=0)return t;throw new Error(wde.format("%f must >= 0",t))}static positive(t){if(t>0)return t;throw new Error(wde.format("%f must > 0",t))}static notnull(t){if(t!=null)return t;throw new Error("invalid null value")}static mustnull(t){if(t===null)return null;throw new Error("value must be null")}static notEmpty(t){if(t==null||t.length===0)throw new Error("invalid empty string");return t}static nullOrEmpty(t){return t==null||t.length===0}static notNullOrUndef(t){if(t!=null)return t;throw new Error("null or undefined is not permitted")}},wqo=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.PERCENT=1]="PERCENT",t[t.LEFT_PAD0=2]="LEFT_PAD0",t))(wqo||{}),Cqo=/(\.?0+)$/,wde=class{static format(t,...e){return this.format1(t,e)}static format1(t,e){let i=this._format(t,e);if(typeof i=="string")return i;throw new Error(this.format("Invalid state on (%d) %s",i,t))}static _format(t,e){let i=[],o=0,r=0,n,a=0,s=0;for(let l=0;l<t.length;l++){let c=t.charAt(l),d=c.charCodeAt(0);switch(o){case 0:d===37?o=1:i.push(c);break;case 1:switch(d){case 100:if(n=e[r++],typeof n=="number")i.push(n.toFixed(0)),o=0;else return l;break;case 102:if(n=e[r++],typeof n=="number")i.push(n.toString()),o=0;else return l;break;case 120:if(n=e[r++],typeof n=="number")i.push((n|0).toString(16)),o=0;else return l;break;case 88:if(n=e[r++],typeof n=="number")i.push((n|0).toString(16).toUpperCase()),o=0;else return l;break;case 115:case 99:n=e[r++],i.push(n===null?"null":n.toString()),o=0;break;case 48:a=l+1,s=-1,o=2;break;case 37:i.push("%"),o=0;break;default:return l}break;case 2:switch(d){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:s=l;break;case 120:if(s>=a){let u=parseInt(t.substring(a,s+1));if(n=e[r++],typeof n=="number")i.push(kXt.lpad((n|0).toString(16),"0",u)),o=0;else return l}else return l;break;case 88:if(s>=a){let u=parseInt(t.substring(a,s+1));if(n=e[r++],typeof n=="number")i.push(kXt.lpad((n|0).toString(16).toUpperCase(),"0",u)),o=0;else return l}else return l;break;default:return l}break;default:return l}}return i.join("")}static startsWith(t,e){return t.length>=e.length?t.substring(0,e.length)===e:!1}static endsWith(t,e){return t.length>=e.length?t.substring(t.length-e.length)===e:!1}static split(t,e){let i=new Array,o=0;for(;;){let r=t.exec(e);if(r!==null){let n=t.lastIndex-r[0].length;i.push(e.substring(o,n)),o=t.lastIndex}else{let n=e.substring(o);sei.nullOrEmpty(n)||i.push(n);break}}return i}static fmtNumber(t){return t.toFixed(5).replace(Cqo,"")}},xqo=(t=>(t[t.DEBUG=0]="DEBUG",t[t.INFO=1]="INFO",t[t.WARNING=2]="WARNING",t[t.ERROR=3]="ERROR",t[t.DUMMY=4]="DUMMY",t))(xqo||{});function Tqo(t){switch(t){case 0:return"DEBUG";case 1:return"INFO";case 2:return"WARNING";case 3:return"ERROR";case 4:return"DUMMY"}}var Sqo=(t,e)=>{t===3?console.error(e):console.log(e)},Mqo=(t,e)=>wde.format("%s %s: %s",new Date,Tqo(t),e),rde,i7e=(rde=class{constructor(t,e=Sqo,i=Mqo){this.debug=!1,this.level=t,this.writer=e,this.fmt=i}static mix(...t){let e=4;for(let i of t)i.level<e&&(e=i.level);return new rde(e,(i,o)=>{for(let r of t)r.write1(i,o)},(i,o)=>o)}wrap(t=null,e=null){let i=t===null?this.fmt:(r,n)=>(n=t(r,n),this.fmt(r,n)),o=e===null?this.writer:(r,n)=>{e(r,n),this.writer(r,n)};return new rde(this.level,o,i)}chain(t){return t.wrap(this.fmt.bind(this),this.writer.bind(this))}include(t){return this.level<=t}write3(t,e,i){this.include(t)&&this.writer(t,this.fmt(t,wde.format(e,...i)))}write2(t,e){this.include(t)&&(e instanceof Error?this.writer(t,this.fmt(t,e.stack)):this.writer(t,this.fmt(t,e.toString())))}write1(t,e){this.include(t)&&this.writer(t,this.fmt(t,e))}debug3(t,...e){this.write3(0,t,e)}debug2(t){this.write2(0,t)}debug1(t){this.write1(0,t)}info3(t,...e){this.write3(1,t,e)}info2(t){this.write2(1,t)}info1(t){this.write1(1,t)}warning3(t,...e){this.write3(2,t,e)}warning2(t){this.write2(2,t)}warning1(t){this.write1(2,t)}error3(t,...e){this.write3(3,t,e)}error2(t){this.write2(3,t)}error1(t){this.write1(3,t)}},rde.DUMMY=new rde(4),rde),Tht=new ArrayBuffer(8),c1t=new Float64Array(Tht),d1t=new Uint32Array(Tht),PXt=new Uint16Array(Tht),OXt=ArrayBuffer;try{OXt=self.HTMLImageElement||OXt}catch{}var $Ae=null;function Bie(t,e,i=0,o=t.length){r(t,null,e,i,o);function r(a,s,l,c,d){let u,p,m,h;if(c<d-1){let f=d-c;if(f>50)s===null&&(s=new Array(f+1)),n(a,s,l,c,(c+d)/2|0,d);else{u=a[c],p=c,m=c,h=d;let g=p+1;for(;g<h;){if(m!=h){if(h=h+-1,l(u,a[h])<=0)continue;a[m]=a[h],m=h;continue}if(l(u,a[g])>=0){p=g,g=p+1;continue}a[m]=a[g],p=g,m=g,g=p+1}a[m]=u,r(a,s,l,c,m),r(a,s,l,m+1,d)}}}function n(a,s,l,c,d,u){r(a,s,l,c,d),r(a,s,l,d,u);for(var p=c,m=d,h=0,f=a[p],g=a[m];p<d&&m<u;){var b=l(f,g);isNaN(b)?(s[h++]=g,g=a[++m]):(b<=0&&(s[h++]=f,f=a[++p]),b>=0&&(s[h++]=g,g=a[++m]))}for(;p<d;p++)s[h++]=a[p];for(;m<u;m++)s[h++]=a[m];for(p=c,m=0;m<h;p++,m++)a[p]=s[m]}}var jw=class{static repeat(t,e){let i=new Array(e);for(;e-- >0;)i[e]=t;return i.join("")}static lpad(t,e,i){let o=i-t.length;return o>0?this.repeat(e,o)+t:t}static rpad(t,e,i){let o=i-t.length;return o>0?t+this.repeat(e,o):t}static strHashcode(t){if(t.length>0){let e=0;for(let i=0;i<t.length;i++)e=31*e+t.charCodeAt(i)|0;return e}else return 0}static arraycopy(t,e,i,o,r){if(t.length>=e+r&&i.length>=o+r)for(;r-- >0;)i[o++]=t[e++];else throw new Error("arraycopy out of range")}static undefAsNull(t){return null}static reverse(t,e){for(let i=0,o=t.length-1;o>=0;i++,o--)e[i]=t[o];return e}static sortAsc(t,e){return t-e}static xmlDecode(t){let e=t.length,i=new Array,o=-1;for(let r=0;r<e;r++){let n=t.charAt(r);if(o>=0){if(n===";"){let a=t.substring(o+1,r);switch(a){case"lt":i.push("<");break;case"gt":i.push(">");break;case"quot":i.push('"');break;case"apos":i.push("'");break;case"amp":i.push("&");break;default:if(a.charAt(0)==="#"){let s=parseInt(a.substring(1));i.push(String.fromCharCode(s))}else i.push("&"+a+";")}o=-1}}else n==="&"?o=r:i.push(n)}return o>=0&&i.push(t.substring(o)),i.join("")}static addAll(t,e){for(let i of e)t.push(i)}static addAllSet(t,e){for(let i of e)t.add(i)}static contains(t,e){for(let i of t)if(i.equals(e))return!0;return!1}static equals(t,e){if(t.length==e.length){for(let i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}else return!1}static remove(t,e){let i=0,o=t.length;for(let r=0;r<o;r++)t[r]===e&&(t.splice(r,1),r--,o--,i++);return i}static getUrlVars(){for(var t={},e=location.href.slice(location.href.indexOf("?")+1).split("&"),i=0;i<e.length;i++){var o=e[i].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t}static prefix(){if(!$Ae){let t=this.getUrlVars().version;t?$Ae="/analyzer/v"+t:$Ae="/analyzer"}return $Ae}static add2objS(t,e,i){if(e in t)return t[e];{let o=i(e);return t[e]=o,o}}static downloadFile(t,e){let i=document.createElement("a"),o=URL.createObjectURL(e);i.download=t,i.href=o,i.click(),URL.revokeObjectURL(o)}static uuid(){let t=new Array;c1t[0]=new Date().getTime(),t.push(d1t[1].toString(16)),c1t[0]=Math.random(),t.push(PXt[3].toString(16));let e=PXt[2].toString(16);t.push("4"+e.substr(0,3)),c1t[0]=performance.now();let i=d1t[0].toString(16)+d1t[1].toString(16);return t.push("0"+i.substr(0,3)),t.push(i.substr(3)),t.join("-")}static funcCopy(t){return(0,eval)("("+t.toString()+")")}static NVL(...t){for(let e of t)if(e!==null)return e;return null}static isSingle(t){return Array.from(new Set(t)).length===t.length}},Iqo=[1,10,100,1e3],eNe=0,Die=0;function RXt(t,e,i){return eNe=Math.abs(t-e),i>=5&&eNe>1e-5||isNaN(i)&&eNe>1e-8?!1:eNe<1e-13?!0:(Die=Math.min(_Xt(t),_Xt(e)),Die<10&&(Die=10),isNaN(i)||(Die=Math.min(Die,i)),jXt(t,Die)===jXt(e,Die))}var tNe=0,iNe=0;function _Xt(t){return tNe=0,iNe=0,t>0?tNe=t-Math.floor(t):tNe=t-Math.ceil(t),iNe=(tNe.toString()||"").length,iNe>2?iNe-2:0}function jXt(t,e,i){if(typeof t!="number"&&(t=+t),isNaN(t))return NaN;if(e=e|0,e<=0||!t&&!i)return Math.round(t);var o=Iqo[e]||Math.pow(10,e)||10;if(i){var r=t<0?"-":"";for(t=t<0?-t:t,t=Math.round(t*o)+"";t.length<=e;)t="0"+t;return t=t.slice(0,-e)+"."+t.slice(-e),parseFloat(r+t)}else return Math.round(t*o+1e-10)/o}var Lqo=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.PERCENT=1]="PERCENT",t[t.LEFT_PAD0=2]="LEFT_PAD0",t))(Lqo||{}),vqo=/(\.?0+)$/,Cde=class{static format(t,...e){return this.format1(t,e)}static format1(t,e){let i=this._format(t,e);if(typeof i=="string")return i;throw new Error(this.format("Invalid state on (%d) %s",i,t))}static _format(t,e){let i=[],o=0,r=0,n,a=0,s=0;for(let l=0;l<t.length;l++){let c=t.charAt(l),d=c.charCodeAt(0);switch(o){case 0:d===37?o=1:i.push(c);break;case 1:switch(d){case 100:if(n=e[r++],typeof n=="number")i.push(n.toFixed(0)),o=0;else return l;break;case 102:if(n=e[r++],typeof n=="number")i.push(n.toString()),o=0;else return l;break;case 120:if(n=e[r++],typeof n=="number")i.push((n|0).toString(16)),o=0;else return l;break;case 88:if(n=e[r++],typeof n=="number")i.push((n|0).toString(16).toUpperCase()),o=0;else return l;break;case 115:case 99:n=e[r++],i.push(n===null?"null":n.toString()),o=0;break;case 48:a=l+1,s=-1,o=2;break;case 37:i.push("%"),o=0;break;default:return l}break;case 2:switch(d){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:s=l;break;case 120:if(s>=a){let u=parseInt(t.substring(a,s+1));if(n=e[r++],typeof n=="number")i.push(jw.lpad((n|0).toString(16),"0",u)),o=0;else return l}else return l;break;case 88:if(s>=a){let u=parseInt(t.substring(a,s+1));if(n=e[r++],typeof n=="number")i.push(jw.lpad((n|0).toString(16).toUpperCase(),"0",u)),o=0;else return l}else return l;break;default:return l}break;default:return l}}return i.join("")}static startsWith(t,e){return t.length>=e.length?t.substring(0,e.length)===e:!1}static endsWith(t,e){return t.length>=e.length?t.substring(t.length-e.length)===e:!1}static split(t,e){let i=new Array,o=0;for(;;){let r=t.exec(e);if(r!==null){let n=t.lastIndex-r[0].length;i.push(e.substring(o,n)),o=t.lastIndex}else{let n=e.substring(o);Tp.nullOrEmpty(n)||i.push(n);break}}return i}static fmtNumber(t){return t.toFixed(5).replace(vqo,"")}},Tp=class{static rgb(t){if(0<=t&&t<=255)return t;throw new Error(Cde.format("RGB should not nagative and not over 255(0xFF): %X",t))}static normal(t){if(isFinite(t))return t;throw new Error(Cde.format("%f is not permitted",t))}static positiveOr0(t){if(t>=0)return t;throw new Error(Cde.format("%f must >= 0",t))}static positive(t){if(t>0)return t;throw new Error(Cde.format("%f must > 0",t))}static notnull(t){if(t!=null)return t;throw new Error("invalid null value")}static mustnull(t){if(t===null)return null;throw new Error("value must be null")}static notEmpty(t){if(t==null||t.length===0)throw new Error("invalid empty string");return t}static nullOrEmpty(t){return t==null||t.length===0}static notNullOrUndef(t){if(t!=null)return t;throw new Error("null or undefined is not permitted")}},oNe,ji=(oNe=class{static regular(t){return Math.round(t*this.precision)/this.precision}static eq(t,e){return Math.abs(t-e)<=this.eps}static neq(t,e){return Math.abs(t-e)>this.eps}static less(t,e){return t-e<-this.eps}static lesseq(t,e){return t-e<=this.eps}static greater(t,e){return t-e>this.eps}static greatereq(t,e){return t-e>=-this.eps}static sqrt(t){return Math.abs(t)<=1e-10?0:Math.sqrt(t)}static sortAsc(t,e){return t-e}static sortDesc(t,e){return e-t}},oNe.eps=1e-8,oNe.precision=1e8,oNe);function Lde(t,e){NNe(t.iterator(),e)}function NNe(t,e){let i=0;for(;t.hasNext();){let o=t.next();e(i++,o)}}var Dqo=class{constructor(t){this.idx=-1,this.lst=t}hasNext(){return this.idx<this.lst.length-1}next(){if(this.idx<this.lst.length-1)return this.idx++,this.lst[this.idx];throw new Error("bug")}};function G1t(t){return new Dqo(t)}var Rw,Qa=(Rw=class{static toDegrees(t){return t*180/Math.PI}static toRadians(t){return t/180*Math.PI}static regularD(t){return t=t%360,t=t<0?360+t:t,t===360?0:t}static regular(t){return t=t%Rw.PIx2,t=t<0?Rw.PIx2+t:t,t===Rw.PIx2?0:t}static toQuarterBase(t){return Rw.regular((t+Rw.PI_4)/Rw.PI_2*Rw.PI_2)}static toQuarterBaseD(t){return Rw.regularD(((t+45)/90|0)*90)}static transformD(t,e){return Rw.toDegrees(Rw.transform(Rw.toRadians(t),e))}static transform(t,e){let i=Math.cos(t),o=Math.sin(t),r=new pi(e.data[6],e.data[7]),n=new pi(i,o).multiply3(e);return Rw.regular(n.angle(r))}},Rw.PIx2=Math.PI*2,Rw.PI_2=Math.PI/2,Rw.PI_4=Math.PI/4,Rw),X1=class{static dotProd1(t,e,i,o){return t*i+e*o}static dotProd2(t,e,i,o,r,n){return this.dotProd1(i-t,o-e,r-i,n-o)}static dotProd3(t,e,i){return this.dotProd2(t.x,t.y,e.x,e.y,i.x,i.y)}static crossProd1(t,e,i,o){return t*o-e*i}static crossProd2(t,e,i,o,r,n){return this.crossProd1(i-t,o-e,r-i,n-o)}static crossProd3(t,e,i){return this.crossProd2(t.x,t.y,e.x,e.y,i.x,i.y)}static distance2(t,e,i,o){let r=i-t,n=o-e;return r*r+n*n}static distance1(t,e,i,o){return this.hypot(i-t,o-e)}static distance1p(t,e){return this.distance1(t.x,t.y,e.x,e.y)}static hypot(t,e){if(t=Math.abs(t),e=Math.abs(e),e>t){var i=e;e=t,t=i}if(t===0)return e;var o=e/t;return t*Math.sqrt(1+o*o)}},lei=new ArrayBuffer(16),BXt=new Float64Array(lei),rNe=new Int32Array(lei),gd,pi=(gd=class{static sortByXAsc(t,e){return t.x-e.x}static sortByYAsc(t,e){return t.y-e.y}static sortByXYAsc(t,e){return t.x<e.x?-1:t.x>e.x?1:t.y-e.y}static caculateAngle(t,e){let i=Math.cos(t),o=Math.sin(t),r=i*e.data[0]+o*e.data[4],n=i*e.data[1]+o*e.data[5],a=new gd(r,n).normalize();return Math.atan2(a.y,a.x)}static normal(t,e,i){let o=e.sub(t),r=i.sub(e);return o.cross(r)}static getVector2(t){return new gd(Math.cos(t),Math.sin(t))}static getCrossPoint1(t,e,i,o){if(t.equals1(e)||i.equals1(o)||ji.eq(1,Math.abs(e.sub(t).normalize().dot(o.sub(i).normalize()))))return null;let r=e.y-t.y,n=t.x-e.x,a=e.x*t.y-t.x*e.y,s=o.y-i.y,l=i.x-o.x,c=o.x*i.y-i.x*o.y,d=r*l-s*n;return new gd((c*n-a*l)/d,(a*s-c*r)/d)}static getCrossPoint2(t,e,i,o){return this.getCrossPoint1(t,t.add(e),i,i.add(o))}constructor(t,e){this.x=Tp.normal(t),this.y=Tp.normal(e)}get hashed(){return this._hashed==null&&(BXt[0]=this.x,BXt[1]=this.y,this._hashed=rNe[0]^rNe[1]^rNe[2]^rNe[3]),this._hashed}dot(t){return this.x*t.x+this.y*t.y}length(){return Math.sqrt(this.dot(this))}getCos(){return this.x/this.length()}sub(t){var e=this.x-t.x,i=this.y-t.y;return new gd(e,i)}add(t){var e=this.x+t.x,i=this.y+t.y;return new gd(e,i)}div(t){return new gd(this.x/t,this.y/t)}add1(t,e){return new gd(this.x+t,this.y+e)}mul(t){return new gd(this.x*t,this.y*t)}cross(t){return this.x*t.y-this.y*t.x}getSin(){return this.y/this.length()}angle2(t){let e=this.y-t.y,i=this.x-t.x;return e=Math.abs(e-0)<10**-4?0:e,i=Math.abs(i-0)<10**-4?0:i,Math.atan2(e,i)}angleD2(t){return Qa.toDegrees(this.angle2(t))}angle(t){return Math.atan2(this.y-t.y,this.x-t.x)}angleX(t=gd.ORIGIN){let e=this.angle(t);return e<0&&(e=Math.PI*2+e),e}angleD(t){return Qa.toDegrees(this.angle(t))}distance1(t){let e=t.x-this.x,i=t.y-this.y;return X1.hypot(e,i)}distance2(t){let e=t.x-this.x,i=t.y-this.y;return e*e+i*i}rotateD(t,e){return this.rotate(t,Qa.toRadians(e))}rotate(t,e){let i=Math.cos(e),o=Math.sin(e),r=this.x-t.x,n=this.y-t.y,a=r*i+n*-o,s=r*o+n*i;return t.add1(a,s)}multiply3(t){let e=this.x*t.data[0]+this.y*t.data[3]+t.data[6],i=this.x*t.data[1]+this.y*t.data[4]+t.data[7];return new gd(e,i)}multiply4(t){let e=this.x*t.data[0]+this.y*t.data[4]+t.data[12],i=this.x*t.data[1]+this.y*t.data[5]+t.data[13];return new gd(e,i)}hashCode(){return this.hashed}equals(t,e){return t instanceof gd?RXt(t.x,this.x,e)&&RXt(t.y,this.y,e):!1}equals1(t){return t?ji.eq(this.x,t.x)&&ji.eq(this.y,t.y):!1}equals2(t,e){return t instanceof gd?Math.abs(this.x-t.x)<=e&&Math.abs(this.y-t.y)<=e:!1}similarEquals(t,e=.5){return Math.abs(this.x*.1-t.x*.1)<=e&&Math.abs(this.y*.1-t.y*.1)<=e}toString(){return"Vector [X="+this.x+", Y="+this.y+"]"}bbox(){let t=this.x,e=this.y;return new _w(t,t,e,e)}normalize(){if(this.x===0&&this.y===0)return new gd(0,0);let t=this.x/this.length(),e=this.y/this.length();return new gd(t,e)}regular(t=1e-4){let e=Math.round(1/t);return new gd(Math.round(this.x*e)/e,Math.round(this.y*e)/e)}round(t=4){let e=10**(t|0);return new gd(Math.round(this.x*e)/e,Math.round(this.y*e)/e)}mirrorX(t=gd.ORIGIN){return new gd(this.x,2*t.y-this.y)}mirrorY(t=gd.ORIGIN){return new gd(2*t.x-this.x,this.y)}mirrorCenter(t=gd.ORIGIN){return new gd(2*t.x-this.x,2*t.y-this.y)}clone(){return new gd(this.x,this.y)}mirror(t=gd.ORIGIN){return new gd(2*t.x-this.x,2*t.y-this.y)}pointOnRays(t,e){let i=Qa.toRadians(t);return new gd(this.x+Math.cos(i)*e,this.y+Math.sin(i)*e)}pointOnRays2(t,e){let i=t.angle(this);return new gd(this.x+Math.cos(i)*e,this.y+Math.sin(i)*e)}scale(t){return new gd(this.x*t,this.y*t)}},gd.ORIGIN=new gd(0,0),gd.X_UNIT_VECTOR=new gd(1,0),gd.Y_UNIT_VECTOR=new gd(0,1),gd),Eqo=(t=>(t[t.LEFT=0]="LEFT",t[t.CENTER=1]="CENTER",t[t.RIGHT=2]="RIGHT",t))(Eqo||{}),Aqo=(t=>(t[t.TOP=0]="TOP",t[t.CENTER=1]="CENTER",t[t.BOTTOM=2]="BOTTOM",t))(Aqo||{}),yb,JF=(yb=class{constructor(t,e){this.horizontal=t,this.vertical=e}},yb.LT=new yb(0,0),yb.LC=new yb(0,1),yb.LB=new yb(0,2),yb.CT=new yb(1,0),yb.CC=new yb(1,1),yb.CB=new yb(1,2),yb.RT=new yb(2,0),yb.RC=new yb(2,1),yb.RB=new yb(2,2),yb),Nqo=(t=>(t[t.INNER=0]="INNER",t[t.OUTER=1]="OUTER",t[t.SEPARATED=2]="SEPARATED",t[t.INTERSECTED=3]="INTERSECTED",t[t.EQ=4]="EQ",t[t.INSIDE_TOUCHED=5]="INSIDE_TOUCHED",t[t.OUTSIDE_TOUCHED=6]="OUTSIDE_TOUCHED",t))(Nqo||{}),pS=class{constructor(){this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.minY=Number.POSITIVE_INFINITY,this.maxY=Number.NEGATIVE_INFINITY}ext1(t){return this.minX=Math.min(this.minX,t.minX),this.maxX=Math.max(this.maxX,t.maxX),this.minY=Math.min(this.minY,t.minY),this.maxY=Math.max(this.maxY,t.maxY),this}ext2(t){return this.minX=Math.min(this.minX,t.x),this.maxX=Math.max(this.maxX,t.x),this.minY=Math.min(this.minY,t.y),this.maxY=Math.max(this.maxY,t.y),this}ext3(t){for(let e=0;e<t.length;e++){let i=t[e];this.ext2(i)}return this}ext4(t){return Lde(t,(e,i)=>(this.ext2(i),!0)),this}ext5(t,e,i,o){return this.minX=Math.min(this.minX,t),this.maxX=Math.max(this.maxX,e),this.minY=Math.min(this.minY,i),this.maxY=Math.max(this.maxY,o),this}ext6(t,e){return this.minX=Math.min(this.minX,t),this.maxX=Math.max(this.maxX,t),this.minY=Math.min(this.minY,e),this.maxY=Math.max(this.maxY,e),this}ext7(t){if(t<0){let e=t*2;if(e<this.minX-this.maxX||e<this.minY-this.maxY)throw new Error("")}return this.minX-=t,this.maxX+=t,this.minY-=t,this.maxY+=t,this}ext8(t){let e=[];for(let i=0;i<t.length;i+=2)e.push(new pi(t[i],t[i+1]));return this.ext3(e)}ext9(t,e,i,o){return this.minX=Math.min(this.minX,t),this.maxX=Math.max(this.maxX,t+i),this.minY=Math.min(this.minY,e),this.maxY=Math.max(this.maxY,e+o),this}ext10({x:t,y:e,width:i,height:o}){return this.ext9(t,e,i,o)}valid(){return isFinite(this.minX)&&isFinite(this.maxX)&&isFinite(this.minY)&&isFinite(this.maxY)}clear(){this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.minY=Number.POSITIVE_INFINITY,this.maxY=Number.NEGATIVE_INFINITY}build(){return new _w(this.minX,this.maxX,this.minY,this.maxY)}build1(){return this.valid()?new _w(this.minX,this.maxX,this.minY,this.maxY):new _w(0,0,0,0)}},P3e=new Float64Array(4),_w=class c8{static extendRect({x:e,y:i,width:o,height:r}){return new c8(e,e+o,i,i+r)}static extend1(e,i){if(e===null)return new c8(i.x,i.x,i.y,i.y);{let o=Math.min(e.minX,i.x),r=Math.max(e.maxX,i.x),n=Math.min(e.minY,i.y),a=Math.max(e.maxY,i.y);return new c8(o,r,n,a)}}static extend2(e,i){if(e){let o=Math.min(e.minX,i.minX),r=Math.max(e.maxX,i.maxX),n=Math.min(e.minY,i.minY),a=Math.max(e.maxY,i.maxY);return new c8(o,r,n,a)}else return i}static extend3(e,i){let o=Math.min(e.x,i.x),r=Math.max(e.x,i.x),n=Math.min(e.y,i.y),a=Math.max(e.y,i.y);return new c8(o,r,n,a)}static extend4(e,i,o){return new c8(e.x-i/2,e.x+i/2,e.y-o/2,e.y+o/2)}constructor(e,i,o,r){if(this.minX=Tp.normal(e),this.maxX=Tp.normal(i),this.minY=Tp.normal(o),this.maxY=Tp.normal(r),e>i||o>r)throw new Error(`min > max is not permitted: [${e}, ${i}, ${o}, ${r}]`)}get data(){return P3e[0]=this.minX,P3e[1]=this.maxX,P3e[2]=this.minY,P3e[3]=this.maxY,P3e}isContains(e){return this.isContains1(e.x,e.y)}points(){return[this.LL(),this.LR(),this.UR(),this.UL(),this.LL()]}isContains1(e,i){return this.isContainsX(e)&&this.isContainsY(i)}isContains2(e,i){return this.isContainsX1(e)&&this.isContainsY1(i)}isContainsX(e){return e>=this.minX&&e<=this.maxX}isContainsX1(e){return ji.greatereq(e,this.minX)&&ji.lesseq(e,this.maxX)}isContainsY(e){return e>=this.minY&&e<=this.maxY}isContainsY1(e){return ji.greatereq(e,this.minY)&&ji.lesseq(e,this.maxY)}isIntersect(e){return!(this.maxX<e.minX||this.minX>e.maxX||this.maxY<e.minY||this.minY>e.maxY)}extendOfSize(e){return Tp.positiveOr0(this.maxX-this.minX+e*2),Tp.positiveOr0(this.maxY-this.minY+e*2),new c8(this.minX-e,this.maxX+e,this.minY-e,this.maxY+e)}isInside(e){return this.minX>=e.minX&&this.maxX<=e.maxX&&this.minY>=e.minY&&this.maxY<=e.maxY}isContainsBBox(e){return this.maxX>=e.maxX&&this.minX<=e.minX&&this.maxY>=e.maxY&&this.minY<=e.minY}isContainsBBox1(e){return ji.greatereq(this.maxX,e.maxX)&&ji.lesseq(this.minX,e.minX)&&ji.greatereq(this.maxY,e.maxY)&&ji.lesseq(this.minY,e.minY)}intersect(e){let i=Math.max(this.minX,e.minX),o=Math.min(this.maxX,e.maxX);if(i>o)return null;let r=Math.max(this.minY,e.minY),n=Math.min(this.maxY,e.maxY);return r>n?null:new c8(i,o,r,n)}intersection1(e){let i=Math.max(this.minX,e.minX),o=Math.min(this.maxX,e.maxX);if(ji.greater(i,o))return null;i>o&&(o=i);let r=Math.max(this.minY,e.minY),n=Math.min(this.maxY,e.maxY);return ji.greater(r,n)?null:(r>n&&(n=r),new c8(i,o,r,n))}width(){return this.maxX-this.minX}height(){return this.maxY-this.minY}UL(){return new pi(this.minX,this.maxY)}UR(){return new pi(this.maxX,this.maxY)}LL(){return new pi(this.minX,this.minY)}LR(){return new pi(this.maxX,this.minY)}center(){return new pi(this.maxX-(this.maxX-this.minX)/2,this.maxY-(this.maxY-this.minY)/2)}area(){return this.width()*this.height()}transform(e){let i=new pS;return i.ext2(this.LL().multiply3(e)),i.ext2(this.LR().multiply3(e)),i.ext2(this.UR().multiply3(e)),i.ext2(this.UL().multiply3(e)),i.build()}transform4(e){let i=new pS;return i.ext2(this.LL().multiply4(e)),i.ext2(this.LR().multiply4(e)),i.ext2(this.UR().multiply4(e)),i.ext2(this.UL().multiply4(e)),i.build()}isSeparated(e){if(e==null||e==null)return!1;let i;this.minX>=e.minX?i=this.minX:i=e.minX;let o;if(this.maxX<=e.maxX?o=this.maxX:o=e.maxX,i>o)return!0;{let r;this.minY>=e.minY?r=this.minY:r=e.minY;let n;return this.maxY<=e.maxY?n=this.maxY:n=e.maxY,r>n}}relation(e){let i=0,o=0,r;this.minX>e.minX?(i++,r=this.minX):this.minX===e.minX?r=this.minX:(o++,r=e.minX);let n;if(this.maxX<e.maxX?(i++,n=this.maxX):this.maxX===e.maxX?n=this.maxX:(o++,n=e.maxX),r>n)return 2;{let a;this.minY>e.minY?(i++,a=this.minY):this.minY===e.minY?a=this.minY:(o++,a=e.minY);let s;return this.maxY<e.maxY?(i++,s=this.maxY):this.maxY===e.maxY?s=this.maxY:(o++,s=e.maxY),a>s?2:i===4?0:o===4?1:i===0&&o===0?4:r===n||a===s?6:i!==o?5:3}}zoom(e){let i=this.width(),o=this.height(),r=this.center();return e!=0&&(i/=e/2,o/=e/2),new c8(r.x-i,r.x+i,r.y-i,r.y+i)}toString(){return"BBox [minX="+this.minX+", maxX="+this.maxX+", minY="+this.minY+", maxY="+this.maxY+"]"}equals(e){return this.minY==e.minY&&this.minX==e.minX&&this.maxX==e.maxX&&this.maxY==e.maxY}extendSize(e,i){return Object.is(void 0,i)&&(i=e),c8.extend4(this.center(),this.width()+e,this.height()+i)}positionOnBBox(e,i=0){let o=this.center(),r=this.width()*i/2,n=this.height()*i/2,a=e.x-o.x,s=e.y-o.y;return a>r?s>n?JF.RT:s<-n?JF.RB:JF.RC:a<-r?s>n?JF.LT:s<-n?JF.LB:JF.LC:s>n?JF.CT:s<-n?JF.CB:JF.CC}bbox(){return this}},kNe=class Fc{static mul(e,i,o,r,n,a){let s=0,l=0;for(let c=0;c<e;c++){for(let d=0;d<o;d++){let u=d,p=0;for(let m=0;m<i;m++)p+=r[l+m]*n[u],u+=o;a[s++]=p}l+=i}}constructor(e,i,o){this.m=Tp.normal(e),this.n=Tp.normal(i);let r=e*i;if(o.length===r){for(let n=0;n<o.length;n++)Tp.normal(o[n]);this.data=o}else throw new Error("invalid matrix size")}mul(e){if(this.n===e.m){let i=new Array(this.m*e.n);return Fc.mul(this.m,this.n,e.n,this.data,e.data,i),new Fc(this.m,e.n,i)}else throw new Error("m !== p")}toString(){let e=[];e.push("Matrix ("),e.push(this.m.toString()),e.push(" x "),e.push(this.n.toString()),e.push(")");let i=0;for(let o=0;o<this.m;o++)for(let r=0;r<this.n;r++){let n=this.data[i++].toString();r===0?(e.push(`
`),e.push("	"),e.push(n)):(e.push(", "),e.push(n))}return e.join("")}static on(e,i,o){return e*i+o}initExpandMatrix(e){let i=this.m,o=this.n,r=o*2,n=new Array(i*r);for(let a=0;a<i;a++)for(let s=0;s<r;s++)s<o?n[Fc.on(r,a,s)]=e[Fc.on(o,a,s)]:s===i+a?n[Fc.on(r,a,s)]=1:n[Fc.on(r,a,s)]=0;return n}inverseMatrix(e,i,o){for(let r=0;r<i;r++){let n=e[Fc.on(o,r,r)];for(let a=0;a<o;a++)e[Fc.on(o,r,a)]/=n}return e}getMatrixRank(e,i,o){let r=Math.min(i,o);for(let n=0;n<i;n++){if(e[Fc.on(o,n,n)]===0){let a=new Array(o),s;for(s=n;s<i;s++)if(e[Fc.on(o,s,n)]!==0){jw.arraycopy(e,Fc.on(o,s,0),a,0,o),jw.arraycopy(e,Fc.on(o,n,0),e,Fc.on(o,s,0),o),jw.arraycopy(a,0,e,Fc.on(o,n,0),o);break}s>=i&&(r-=1)}if(!(r<i))for(let a=0;a<i;a++){if(a===n)continue;let s=e[Fc.on(o,a,n)]/e[Fc.on(o,n,n)];for(let l=0;l<o;l++)e[Fc.on(o,a,l)]-=e[Fc.on(o,n,l)]*s}}return r}getInverseMatrix(){if(this.m!==this.n)throw new Error("The matrix is an "+this.m+"x"+this.n+" order matrix, non-square matrix, please check!");function e(a){return ji.lesseq(Math.abs(a),0)}let i=this.initExpandMatrix(this.data.slice(0)),o=this.n*2;function r(a,s){for(let l=0;l<o;l++){let c=i[Fc.on(o,a,l)];i[Fc.on(o,a,l)]=i[Fc.on(o,s,l)],i[Fc.on(o,s,l)]=c}}for(let a=0;a<this.m;a++){let s=Math.abs(i[Fc.on(o,a,a)]),l=a;if(e(i[Fc.on(o,a,a)]))for(let d=a+1;d<this.m;d++){if(e(i[Fc.on(o,d,a)])){Math.abs(i[Fc.on(o,d,a)])>s&&(s=Math.abs(i[Fc.on(o,d,a)]),l=d);continue}r(a,d);break}if(e(i[Fc.on(o,a,a)])){if(s===0)throw new Error("The matrix is a non-full rank matrix, please check!");console.warn("The matrix may be a non-full rank matrix, please check!"),l!==a&&r(a,l)}let c=1/i[Fc.on(o,a,a)];for(let d=0;d<o;d++)i[Fc.on(o,a,d)]*=c;for(let d=0;d<this.m;d++){if(a===d)continue;let u=i[Fc.on(o,d,a)];for(let p=a;p<o;p++)i[Fc.on(o,d,p)]-=i[Fc.on(o,a,p)]*u}}let n=[];for(let a=0;a<this.m;a++)for(let s=this.n;s<o;s++)n[Fc.on(this.n,a,s-this.n)]=i[Fc.on(o,a,s)];return new Fc(this.m,this.n,n)}getTransposeMatrix(){let e=new Array(this.data.length);for(let i=0;i<this.m;i++)for(let o=0;o<this.n;o++)e[o*this.n+i]=this.data[i*this.m+o];return new Fc(this.n,this.m,e)}hashCode(){let e=0;for(let i of this.data)e+=i;return e}equals(e){return this===e?!0:e===null?!1:e instanceof Fc?!(this.m!=e.m||this.n!=e.n||!jw.equals(this.data,e.data)):!1}},kqo=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],Jp,cei=(Jp=class extends kNe{static translate(t,e,i){return new Jp([1,0,0,0,0,1,0,0,0,0,1,0,t,e,i,1])}static translate1(t){return new Jp([1,0,0,0,0,1,0,0,0,0,1,0,t.x,t.y,t.z,1])}static rotateX(t){let e=Math.cos(t),i=Math.sin(t);return new Jp([1,0,0,0,0,e,i,0,0,-i,e,0,0,0,0,1])}static rotateY(t){let e=Math.cos(t),i=Math.sin(t);return new Jp([e,0,-i,0,0,1,0,0,i,0,e,0,0,0,0,1])}static rotateZ(t){let e=Math.cos(t),i=Math.sin(t);return new Jp([e,i,0,0,-i,e,0,0,0,0,1,0,0,0,0,1])}static rotateAxis(t,e){t=t.normalize();let i=t.x,o=t.y,r=t.z,n=Math.sin(e),a=Math.cos(e);return new Jp([i*i*(1-a)+a,i*o*(1-a)+r*n,i*r*(1-a)-o*n,0,i*o*(1-a)-r*n,o*o*(1-a)+a,o*r*(1-a)+i*n,0,i*r*(1-a)+o*n,o*r*(1-a)-i*n,r*r*(1-a)+a,0,0,0,0,1])}static scale(t,e=t,i=t){return new Jp([t,0,0,0,0,e,0,0,0,0,i,0,0,0,0,1])}static flipX(){return new Jp([1,0,0,0,0,-1,0,0,0,0,1,0,0,0,0,1])}static flipY(){return new Jp([-1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}static rotateZForPoint(t,e){return t.equals1(pi.ORIGIN)?Jp.rotateZ(e):Jp.translate(-t.x,-t.y,0).rotateZ(e).translate1(t.x,t.y,0)}static getMatrix4(t,e,i,o){let r=Math.cos(e),n=Math.sin(e),a=i*(t.x*r-t.y*n)+o.x,s=t.x*n+t.y*r+o.y,l=[i*r,n,0,0,-n*i,r,0,0,0,0,1,0,a,s,0,1];return new Jp(l)}constructor(t=kqo){super(4,4,t)}translate(t){return this.multiply4(Jp.translate1(t))}translate1(t,e,i){return this.multiply4(Jp.translate(t,e,i))}rotateX(t){return this.multiply4(Jp.rotateX(t))}rotateY(t){return this.multiply4(Jp.rotateY(t))}rotateZ(t){return this.multiply4(Jp.rotateZ(t))}scale(t,e=t,i=t){return this.multiply4(Jp.scale(t,e,i))}scale1(t){return this.multiply4(Jp.scale(t.x,t.y,t.z))}setOrigin(t,e,i){return Jp.translate(-t,-e,-i).multiply4(this).translate1(t,e,i)}setOrigin1(t){return this.setOrigin(t.x,t.y,t.z)}multiply4(t){let e=new Array(16);return kNe.mul(4,4,4,this.data,t.data,e),new Jp(e)}getInverseMatrix(){let t=super.getInverseMatrix();return new Jp(t.data)}getTransposeMatrix(){let t=super.getTransposeMatrix();return new Jp(t.data)}inverse(){let t=this.getInverseMatrix();return new Jp(t.data)}toMatrix3(){let t=this.data;return new kd([t[0],t[1],0,t[4],t[5],0,t[12],t[13],1])}},Jp.ORIGIN=new Jp,Jp);function O3e(t){return sei.normal(parseFloat(t))}var Pqo=[1,0,0,0,1,0,0,0,1],rp,kd=(rp=class extends kNe{static translate(t,e){return new rp([1,0,0,0,1,0,t,e,1])}static translate1(t){return this.translate(t.x,t.y)}static rotate(t){let e=Math.cos(t),i=Math.sin(t);return new rp([e,i,0,-i,e,0,0,0,1])}static rotateD(t){return this.rotate(Qa.toRadians(t))}static scale(t,e=t){return new rp([t,0,0,0,e,0,0,0,1])}static scale1(t,e){return new rp([t,0,0,0,e,0,0,0,1])}static toDOMMatrix(t){let[e,i,,o,r,,n,a]=t.data;return`matrix(${[e,i,o,r,n,a].join(",")})`}static svgTrasform(t){let e=t.split(" "),i=null;return e.forEach(o=>{o=o.trim();let r=o.trim().replace(")","").split("("),n=r[0],a=r[1].split(",");switch(n){case"translate":let s=O3e(a[0]),l=O3e(a[1]);i=i?i.translate(s,l):rp.translate(s,l);break;case"rotate":let c=O3e(a[0]),d=O3e(a[1]),u=O3e(a[2]);i=i?i.setOrigin(d,u):rp.translate(d,u),i=i.rotateD(c);break;default:return}}),i}constructor(t=Pqo){super(3,3,t);let e=t[0],i=t[3],o=t[1],r=t[4];this.iScale=Math.sqrt(e*e+o*o),this.jScale=Math.sqrt(i*i+r*r)}isMirrored(){return this.det()<0}multiply3(t){let e=new Array(9);return kNe.mul(3,3,3,this.data,t.data,e),new rp(e)}translate(t,e){return this.multiply3(rp.translate(t,e))}translate1(t){return this.multiply3(rp.translate1(t))}scale(t,e=t){return this.multiply3(rp.scale(t,e))}scale1(t,e){return this.multiply3(rp.scale1(t,e))}det(){return this.data[0]*this.data[4]-this.data[3]*this.data[1]}invert(){let t=this.getInverseMatrix();return new rp(t.data)}rotateD(t){return this.multiply3(rp.rotateD(t))}rotate(t){return this.multiply3(rp.rotate(t))}resetOffset(){let t=this.data;return new rp([t[0],t[1],0,t[3],t[4],0,0,0,1])}setOrigin(t,e){return rp.translate(-t,-e).multiply3(this).translate(t,e)}setOrigin1(t){return this.setOrigin(t.x,t.y)}getInverseMatrix(){return new rp(super.getInverseMatrix().data)}getTransposeMatrix(){let t=super.getTransposeMatrix();return new rp(t.data)}toMatrix4(){let t=this.data;return new cei([t[0],t[1],0,t[2],t[3],t[4],0,t[5],0,0,1,0,t[6],t[7],0,t[8]])}scaleNum(t){return!t||isNaN(t)?t:t*this.iScale}},rp.ORIGIN=new rp,rp.MIRROR_Y=new rp([1,0,0,0,-1,0,0,0,1]),rp.MIRROR_X=new rp([-1,0,0,0,1,0,0,0,1]),rp.ROT_90=new rp([0,1,0,-1,0,0,0,0,1]),rp.ROT_N90=new rp([0,-1,0,1,0,0,0,0,1]),rp),Oqo=(t=>(t[t.BUTT=0]="BUTT",t[t.ROUND=1]="ROUND",t[t.SQUARE=2]="SQUARE",t))(Oqo||{}),aK=(t=>(t[t.CW=0]="CW",t[t.CCW=1]="CCW",t))(aK||{}),fwe=class{},Y1t=class V3e{constructor(e,i,o){this.p1=e,this.p2=i,this.p3=o}barycentre(){return V3e.barycentre(this.p1,this.p2,this.p3)}incentre(){return V3e.incentre(this.p1,this.p2,this.p3)}static barycentre(e,i,o){let r=e.x+i.x+o.x,n=e.y+i.y+o.y;return new pi(r/3,n/3)}static incentre(e,i,o){let r=i.sub(o).length(),n=e.sub(o).length(),a=e.sub(i).length(),s=r+n+a,l=r*e.x+n*i.x+a*o.x,c=r*e.y+n*i.y+a*o.y;return new pi(l/s,c/s)}area(){return V3e.area(this.p1,this.p2,this.p3)}static area(e,i,o){return this.area2(e.x,e.y,i.x,i.y,o.x,o.y)/2}static area2(e,i,o,r,n,a){return Math.abs(X1.crossProd2(e,i,o,r,n,a))}scale(e,i){let o=kd.translate(-e.x,-e.y).scale(i).translate1(e),r=this.p1.multiply3(o),n=this.p2.multiply3(o),a=this.p3.multiply3(o);return new V3e(r,n,a)}scaleOnBarycentre(e){return this.scale(this.barycentre(),e)}scaleOnIncentre(e){return this.scale(this.incentre(),e)}extend(e){let i=this.incentre(),o=this.p1.add(this.p2).sub(i).scale(1/2),r=o.length(),n=pi.ORIGIN.pointOnRays2(o,r+e).length()/r;return this.scaleOnIncentre(n)}container(e){let i=this.p3.sub(this.p1),o=this.p2.sub(this.p1),r=e.sub(this.p1),n=i.dot(i),a=i.dot(o),s=i.dot(r),l=o.dot(o),c=o.dot(r),d=1/(n*l-a*a),u=(l*s-a*c)*d;if(u<0||u>1)return!1;let p=(n*c-a*s)*d;return p<0||p>1?!1:u+p<=1}};function nNe(){return{minDistance:Number.POSITIVE_INFINITY,start:null,end:null}}var w9=class oK{static getMinDistanceWithoutCross(e,i){let o=nNe();return oK.minLine(e,i,o),o.minDistance}static getMinDistance(e,i){return p8(e,i)?0:this.getMinDistanceWithoutCross(e,i)}static getMinLineWithCross(e,i){let o=nNe();return oK.minLine(e,i,o),new Jt(o.start,o.end)}static getMinLine(e,i){return oK.intersection(e,i)||this.getMinLineWithCross(e,i)}static getMinDistanceFromPoint(e,i){let o=nNe();if(i instanceof Jt)this.point2LineMinLine(o,i,e);else if(i instanceof Pi)this.point2ArcMinDistance(e,i,o);else throw new Error("not support");return o.minDistance}constructor(e,i){if(this.pt1=e,this.pt2=i,this.minline=oK.intersection(e,i),this.minline)this.minDistance=0;else{let o=nNe();oK.minLine(e,i,o),this.minline=new Jt(o.start,o.end),this.minDistance=o.minDistance}}getDistance(){return this.minDistance}getLine(){return this.minline}static intersection(e,i){let o=p8(e,i);if(o===0)return;let r=new Array;for(let n=0;n<o;n+=2){let a=new pi(Et[n],Et[n+1]);r.push(a)}return r.length>1?new Jt(r[0],r[1]):new Jt(r[0],r[0])}static minLine(e,i,o){if(e instanceof Jt&&i instanceof Jt)return this.minDistanceForLines(e,i,o);if(e instanceof Pi&&i instanceof Jt)return this.minDistanceForLineAndArc(e,i,o);if(e instanceof Jt&&i instanceof Pi)return this.minDistanceForLineAndArc(i,e,o);if(e instanceof Pi&&i instanceof Pi)return this.minDistanceForArcs(e,i,o);throw new Error("not support")}static minDistanceForLines(e,i,o){[e.start(),e.end(),i.start(),i.end()].forEach((r,n)=>{n<2?this.point2LineMinLine(o,i,r):this.point2LineMinLine(o,e,r)})}static minDistanceForLineAndArc(e,i,o){this.point2LineMinLine(o,i,e.start()),this.point2LineMinLine(o,i,e.svgEnd);let r=oK.foot(i,e.center);i.bbox().extendOfSize(1e-8).isContains(r)&&this.point2ArcMinLine(o,e,r),this.point2ArcMinLine(o,e,i.start()),this.point2ArcMinLine(o,e,i.end())}static minDistanceForArcs(e,i,o){this.concentricArc(e,i,o),this.point2ArcMinDistance(i.start(),e,o),this.point2ArcMinDistance(i.svgEnd,e,o),this.point2ArcMinDistance(e.start(),i,o),this.point2ArcMinDistance(e.svgEnd,i,o),(h9(e,i.center)||h9(i,e.center))&&this.shortestLineForArcs(e,i,o)}static minLineForArcAndLine(e,i,o){let r=e.pointOn(o.angleD(e.center)),n=e.pointOn(e.center.angleD(o));this.arcShortestLine(e,i,o,r),this.arcShortestLine(e,i,o,n)}static arcInnerLineFootSegment(e,i,o){let r=o.distance1(e.center);if(r!==0){let n=e.rx*(o.y-e.center.y)/r+e.center.y,a=e.rx*(o.x-e.center.x)/r+e.center.x;r=e.rx-r,r<i.minDistance&&(i.minDistance=r,i.start=new pi(a,n),i.end=o)}else r=e.rx-r,r<i.minDistance&&(i.minDistance=r,i.start=e.start(),i.end=o)}static shortestLineForArcs(e,i,o){let r=e.center.angleD(i.center),n=i.center.angleD(e.center),a=e.pointOn(r),s=e.pointOn(n),l=i.pointOn(r),c=i.pointOn(n);h9(e,a)&&(this.arcShortestLine(i,o,a,l),this.arcShortestLine(i,o,a,c)),h9(e,s)&&(this.arcShortestLine(i,o,s,l),this.arcShortestLine(i,o,s,c)),this.shortestLineForArcs1(e,i,o)}static shortestLineForArcs1(e,i,o){let r=i.start().sub(e.center).normalize(),n=i.end().sub(e.center).normalize(),a=e.start().sub(i.center).normalize(),s=e.end().sub(i.center).normalize(),l=e.center.add(r.mul(e.rx)),c=e.center.add(n.mul(e.rx)),d=i.center.add(a.mul(i.rx)),u=i.center.add(s.mul(i.rx));h9(e,l)&&ji.greater(i.start().distance2(e.center),0)&&this.arcShortestLine(e,o,i.start(),l),h9(e,c)&&ji.greater(i.end().distance2(e.center),0)&&this.arcShortestLine(e,o,i.end(),c),h9(i,d)&&ji.greater(e.start().distance2(i.center),0)&&this.arcShortestLine(i,o,e.start(),d),h9(i,u)&&ji.greater(e.end().distance2(i.center),0)&&this.arcShortestLine(i,o,e.end(),u)}static concentricArc(e,i,o){if(!(e.center.distance1(i.center)<1e-5&&e.rx===i.rx&&e.ry===i.ry))return;let r=e.start().distance1(i.svgEnd);r<o.minDistance&&(o.minDistance=r,o.start=e.start(),o.end=i.svgEnd),r=i.start().distance1(e.svgEnd),r<o.minDistance&&(o.minDistance=r,o.start=i.start(),o.end=e.svgEnd)}static point2ArcMinDistance(e,i,o){if(h9(i,e)){let r=i.pointOn(e.angleD(i.center)),n=i.pointOn(i.center.angleD(e));this.arcShortestLine(i,o,e,r),this.arcShortestLine(i,o,e,n)}else this.minLineSegment(o,i.start(),e),this.minLineSegment(o,i.svgEnd,e)}static point2ArcMinLine(e,i,o){if(h9(i,o)){let r=o.distance1(i.center);r>i.rx||r>i.ry?this.minLineForArcAndLine(i,e,o):this.arcInnerLineFootSegment(i,e,o)}}static point2LineMinLine(e,i,o){let r=oK.foot(i,o);i.bbox().extendOfSize(1e-8).isContains(r)?this.minLineSegment(e,r,o):(this.minLineSegment(e,i.start(),o),this.minLineSegment(e,i.end(),o))}static minLineSegment(e,i,o){let r=i.distance1(o);r<e.minDistance&&(e.minDistance=r,e.start=i,e.end=o)}static arcShortestLine(e,i,o,r){if(!h9(e,r))return;let n=o.distance1(r);n<i.minDistance&&(i.minDistance=n,i.start=o,i.end=r)}static foot(e,i){if(e.isPoint())return e.start();if(!ji.eq(e.b,0)&&!ji.eq(e.a,0)){let o=e.start(),r=e.direct,n=(i.x-o.x)*r.x+(i.y-o.y)*r.y;return new pi(o.x+r.x*n,o.y+r.y*n)}else return ji.eq(e.b,0)&&!ji.eq(e.a,0)?new pi(e.start().x,i.y):!ji.eq(e.b,0)&&ji.eq(e.a,0)?new pi(i.x,e.start().y):i}};function h9(t,e){if(ji.eq(t.sweepAngle,360))return!0;let i=Qa.regularD(e.angleD(t.center));return t.sweepAngle>0?(ji.less(i,t.startAngle)&&(i+=360),ji.greatereq(t.endAngle(),i)):(ji.greater(i,t.startAngle)&&(i-=360),ji.lesseq(t.endAngle(),i))}var Rqo=[1,10,100,1e3],zXt="http://www.w3.org/2000/svg",FXt="http://www.w3.org/1999/xlink",UXt="http://www.w3.org/XML/1998/namespace",VXt="https://easyeda.com/",Zgn=(function(){var t={svg:zXt,xlink:FXt,xml:UXt,c:VXt};return t[zXt]="svg",t[FXt]="xlink",t[UXt]="xml",t[VXt]="c",t})(),Ef=(function(){var t={RATLINES:9,MODEL3D:19,ALL:11,TOPSILKLAYER:3,TOPLAYER:1,TOPPASTERLAYER:5,TOPSOLDERLAYER:7,LIBBODY:99,PADSURFACE:100,BOARDOUTLINE:10,DOCUMENT:12,TOPASSEMBLY:13,MECHANICAL:15,TOPCOMPONENT:16,SUBSTRATE:18},e;for(e=21;e<53;e++)t["INNER"+(e-20)]=e;for(t.BOTTOMSILKLAYER=4,t.BOTTOMLAYER=2,t.BOTTOMPASTERLAYER=6,t.BOTTOMSOLDERLAYER=8,t.BOTTOMASSEMBLY=14,t.BOTTOMCOMPONENT=17,e=53;e<85;e++)t["BOARD"+(e-52)]=e;return t})(),Jgn=(function(){var t={COPPERAREA:[1,2,21,22,23,24],PLANEZONE:[1,2,21,22,23,24],RECT:[1,2,3,4,5,6,7,8,12,13,14,15,21,22,23,24,99],TRACK:[1,2,3,4,5,6,7,8,10,12,13,14,15,21,22,23,24,99],PAD:[11,1,2],VIA:[11],HOLE:[11],TEXT:[3,4,1,2,7,8,12,13,14,15,21,22,23,24],ARC:[1,2,3,4,5,6,7,8,10,12,13,14,15,21,22,23,24,99],ELLIPSE:[3,4,12,13,14,15],CIRCLE:[1,2,3,4,5,6,7,8,10,12,13,14,15,21,22,23,24,99],DIMENSION:[3,4,12,13,14,15],FOOTPRINT:[1,2],SOLIDREGION:[1,2,3,4,5,6,7,8,12,13,14,15,21,22,23,24,11,99,100],SVGNODE:[1,2,3,4,7,8,12,13,14,15],PROTRACTOR:[3,4,12,13,14,15],SHEET:[12,13,14,15]};t["3D"]=(function(){for(var r=[16,19,3,7,5,1],n=21;n<52;n++)r.push(n+32,n);return r.push(2,6,8,4,17),r})();var e,i,o;for(e in t)if(t.hasOwnProperty(e)&&(o=t[e],o.indexOf(21)>0&&o.indexOf(25)===-1))for(i=25;i<=52;i++)o.push(i);return t})(),Jy=(function(){var t={1:"TopLayer",2:"BottomLayer",3:"TopSilkLayer",4:"BottomSilkLayer",5:"TopPasteMaskLayer",6:"BottomPasteMaskLayer",7:"TopSolderMaskLayer",8:"BottomSolderMaskLayer",9:"Ratlines",10:"BoardOutLine",11:"Multi-Layer",12:"Document",13:"TopAssembly",14:"BottomAssembly",15:"Mechanical",16:"TopComponents",17:"BottomComponents",18:"Substrate",19:"3DModel",99:"ComponentShapeLayer",100:"LeadShapeLayer"},e;for(e=21;e<53;e++)t[e]="Inner"+(e-20);for(e=53;e<85;e++)t[e]="Substrate"+(e-52);return t})(),qgn=(function(){var t=[],e=[];for(var i in Ef)if(Ef.hasOwnProperty(i)){if(i.match(/^BOARD\d+/))continue;t.push(Ef[i])}t.sort(),e.sort();var o={},r,n={21:"#999966",22:"#008000",23:"#00FF00",24:"#BC8E00",25:"#70DBFA",26:"#00CC66",27:"#9966FF",28:"#800080",29:"#008080",30:"#15935F",31:"#000080",32:"#00B400",33:"#2E4756",34:"#99842F",35:"#FFFFAA",36:"#99842F",37:"#2E4756",38:"#3535FF",39:"#8000BC",40:"#43AE5F",41:"#C3ECCE",42:"#728978",43:"#39503F",44:"#0C715D",45:"#5A8A80",46:"#2B937E",47:"#23999D",48:"#45B4E3",49:"#215DA1",50:"#4564D7",51:"#6969E9",52:"#9069E9"};t.forEach(function(s){switch(s){case Ef.TOPLAYER:r={name:Jy[s],color:"#FF0000",darkColor:"#CC0000",visible:!0,active:!0,config:!0};break;case Ef.BOTTOMLAYER:r={name:Jy[s],color:"#0000FF",darkColor:"#000080",visible:!0,active:!1,config:!0};break;case Ef.TOPSILKLAYER:r={name:Jy[s],color:"#FFCC00",darkColor:"#806600",visible:!0,active:!1,config:!0};break;case Ef.BOTTOMSILKLAYER:r={name:Jy[s],color:"#66CC33",darkColor:"#33661A",visible:!0,active:!1,config:!0};break;case Ef.TOPPASTERLAYER:r={name:Jy[s],color:"#808080",darkColor:"#666666",visible:!0,active:!1,config:!0};break;case Ef.BOTTOMPASTERLAYER:r={name:Jy[s],color:"#800000",darkColor:"#660000",visible:!0,active:!1,config:!0};break;case Ef.TOPSOLDERLAYER:r={name:Jy[s],color:"#800080",darkColor:"#660066",visible:!0,active:!1,transparency:.3,config:!0};break;case Ef.BOTTOMSOLDERLAYER:r={name:Jy[s],color:"#AA00FF",darkColor:"#8800CC",visible:!0,active:!1,transparency:.3,config:!0};break;case Ef.RATLINES:r={name:Jy[s],color:"#6464FF",darkColor:"#5050CC",visible:!1,active:!1,config:!0};break;case Ef.BOARDOUTLINE:r={name:Jy[s],color:"#FF00FF",darkColor:"#CC00CC",visible:!0,active:!1,config:!0};break;case Ef.ALL:r={name:Jy[s],color:"#C0C0C0",darkColor:"#999999",visible:!0,active:!1,config:!0};break;case Ef.DOCUMENT:r={name:Jy[s],color:"#FFFFFF",darkColor:"#CCCCCC",visible:!0,active:!1,config:!0};break;case Ef.TOPASSEMBLY:r={name:Jy[s],color:"#33CC99",darkColor:"#33AA99",visible:!1,active:!1,config:!1};break;case Ef.BOTTOMASSEMBLY:r={name:Jy[s],color:"#5555FF",darkColor:"#8888FF",visible:!1,active:!1,config:!1};break;case Ef.MECHANICAL:r={name:Jy[s],color:"#F022F0",darkColor:"#F088F0",visible:!1,active:!1,config:!1};break;case Ef.MODEL3D:r={name:Jy[s],color:"#66CCFF",visible:!1,active:!1,config:!1};break;case Ef.LIBBODY:r={name:Jy[s],color:"#00CCCC",visible:!1,active:!1,config:!1};break;case Ef.PADSURFACE:r={name:Jy[s],color:"#CC9999",visible:!1,active:!1,config:!1};break;default:s>=Ef.INNER1&&s<=Ef.INNER32?r={name:Jy[s],color:n[s],darkColor:a(n[s]),visible:!1,active:!1,config:!1}:r=null;break}r&&(o[s]=r)}),o.Hole={config:!0,name:"Hole",darkColor:"#222222",color:"#222222"},o.DRCError={config:!0,name:"DRCError",color:"#FAD609",darkColor:"#FAD609"};function a(s){if(typeof s!="string"||!s.match(/#?([\da-f]{6})/i))return s;var l=parseInt(RegExp.$1,16),c=.5,d=Math.min(255,Math.round((l>>16)*c)),u=Math.min(255,Math.round((l>>8&255)*c)),p=Math.min(255,Math.round((l&255)*c)),m=((d<<16)+(u<<8)+p).toString(16);return"#"+("00000"+m).substr(-6).toUpperCase()}return o})(),HXt={BLANK:0,SCH:1,PART:2,PCB:3,FOOTPRINT:4,PRJ:5,SUBPART:6,SPICESYMBOL:7,SUBCKT:8,NETLIST:9,WAVEFORM:10,SCHLIB3D:11,PHOTOVIEW:12,SCHMODULE:13,PCBMODULE:14,VIEW3D:15,PCBLIB3D:16,BLOCK_SYMBOL:17,NETFLAG:18,NETPORT:19,SHEET_SYMBOL:20,NONEELEC_SYMBOL:21,SHORT_SYMBOL:22,FOOTPRINTVIEW:23,CNCPRINTVIEW:24,PCB2D:31,PCB3D:32},Xgn=(function(){var t={};for(let e in HXt)t[HXt[e]]=e;return t})(),o7e=Math.PI*2,PNe=Math.PI/2,$gn=Math.sin(Math.PI/180);function _qo(t,e,i){if(typeof t!="number"&&(t=+t),isNaN(t))return NaN;if(e=e|0,e<=0||!t&&!i)return Math.round(t);var o=Rqo[e]||Math.pow(10,e)||10;if(i){var r=t<0?"-":"";for(t=t<0?-t:t,t=Math.round(t*o)+"";t.length<=e;)t="0"+t;return t=t.slice(0,-e)+"."+t.slice(-e),parseFloat(r+t)}else return Math.round(t*o+1e-10)/o}function dei(t,e,i){var o=t-e;return i||(i=1e-10),(o>0?o:-o)<i}function jqo(t,e,i){var o=d(t)&&d(e)&&d(i);if(!o)return console.warn("Bad arguments"),null;var r=e.x-i.x>0?e.x:i.x,n=e.y-i.y>0?e.y:i.y,a=e.x-i.x>0?i.x:e.x,s=e.y-i.y>0?i.y:e.y,l=t.x,c=t.y;return l<=r+.001&&l>=a-.001&&c<=n+.001&&c>=s-.001;function d(u){return u?(u.x=Number(u.x),u.y=Number(u.y),isNaN(u.x)||isNaN(u.y)?(console.warn("Can not convert to Number, NaN found"),!1):!0):(console.warn("Empty input!"),!1)}}function Bqo(t,e,i,o,r,n){var a=(r-i)*(t-i)+(n-o)*(e-o),s=(r-i)*(r-i)+(n-o)*(n-o),l=a/s,c=i+(r-i)*l,d=o+(n-o)*l;return a<=0?Math.sqrt((t-i)*(t-i)+(e-o)*(e-o)):a>=s?Math.sqrt((t-r)*(t-r)+(e-n)*(e-n)):Math.sqrt((t-c)*(t-c)+(d-e)*(d-e))}function zqo(t,e,i){return jqo(t,e,i)?dei((t.x-e.x)*(i.y-e.y),(i.x-e.x)*(t.y-e.y),.001):!1}var H3e=1e-4,Et=new Float64Array(100);function p8(t,e){if(t instanceof Jt&&e instanceof Jt)return KR(t,e);if(t instanceof Pi&&e instanceof Jt)return W1t(t,e);if(t instanceof Jt&&e instanceof Pi)return W1t(e,t);if(t instanceof Pi&&e instanceof Pi)return pei(t,e);if(t instanceof fr&&e instanceof fr)return CNe(t,e);if(t instanceof fr&&e instanceof Jt)return CNe(t,new fr([e.start(),e.end()]));if(t instanceof Jt&&e instanceof fr)return CNe(new fr([t.start(),t.end()]),e);if(t instanceof fr&&e instanceof Pi)return JXt(e,t);if(t instanceof Pi&&e instanceof fr)return JXt(t,e);throw new Error("not supported operation")}function Fqo(t,e){let i=t.bbox();if(i.isContainsY1(e)){let o=new Jt(new pi(i.minX-1,e),new pi(i.maxX+1,e));return KR(o,t)>0?1:0}else return 0}function Uqo(t,e){if(t.rx===t.ry){let i=t.bbox();if(i.isContainsY1(e)){let o=new Jt(new pi(i.minX-1,e),new pi(i.maxX+1,e));return ONe(t,o)>0?1:0}else return 0}else throw new Error("not supported operation")}function GXt(t,e){let i=t.bbox();return i.isContainsY1(e)&&CNe(new fr([new pi(i.minX-1,e),new pi(i.maxX+1,e)]),t)>0?1:0}function YXt(t,e,i){return isFinite(e)&&isFinite(i)?t.isContains2(e,i):!1}function Vqo(t,e){let i=e.length(),o=X1.crossProd3(e.start(),e.end(),t.start())/i,r=X1.crossProd3(e.start(),e.end(),t.end())/i;return Math.abs(o)<1e-8||Math.abs(r)<1e-8||o*r<0}function KR(t,e){let i=t.bbox().intersection1(e.bbox());if(!i)return 0;if(t.isPoint())if(e.isPoint()){let o=i.center();return Et[0]=o.x,Et[1]=o.y,2}else return WXt(e,t,i);else{if(e.isPoint())return WXt(t,e,i);{let o=function(w,x){i.isContains2(w,x)&&(Et[y++]=w,Et[y++]=x)};if(!Vqo(t,e))return 0;let r=t.start().x,n=t.start().y,a=t.end().x,s=t.end().y,l=e.start().x,c=e.start().y,d=e.end().x,u=e.end().y,p=e.length(),m=X1.crossProd2(r,n,l,c,d,u)/p,h=X1.crossProd2(a,s,l,c,d,u)/p;if(m*h>0&&!ji.eq(m,0)&&!ji.eq(h,0))return 0;let f=t.length(),g=X1.crossProd2(l,c,r,n,a,s)/f,b=X1.crossProd2(d,u,r,n,a,s)/f;if(g*b>0&&!ji.eq(g,0)&&!ji.eq(b,0))return 0;let y=0;if(ji.eq(m,0)&&ji.eq(h,0)){let w=i.UL(),x=i.UR(),S=i.LL(),T=i.LR();if(ji.eq(i.width(),0))ji.eq(i.height(),0)?(Et[y++]=w.x,Et[y++]=w.y):(Et[y++]=w.x,Et[y++]=w.y,Et[y++]=S.x,Et[y++]=S.y);else if(ji.eq(i.height(),0))Et[y++]=w.x,Et[y++]=w.y,Et[y++]=x.x,Et[y++]=x.y;else{let M=Y1t.area2(w.x,w.y,l,c,d,u),I=Y1t.area2(x.x,x.y,l,c,d,u);M<I?(Et[y++]=w.x,Et[y++]=w.y,Et[y++]=T.x,Et[y++]=T.y):(Et[y++]=x.x,Et[y++]=x.y,Et[y++]=S.x,Et[y++]=S.y)}}else if(ji.eq(m,0))o(r,n);else if(ji.eq(h,0))o(a,s);else{let w=Math.abs(m/(m-h));o(r+(a-r)*w,n+(s-n)*w)}return y}}}function WXt(t,e,i){let o=e.start(),r=e.end(),n=X1.crossProd3(t.start(),t.end(),e.start()),a=X1.crossProd3(t.start(),t.end(),e.end());if(n*a<0){let s=i.center();return Et[0]=s.x,Et[1]=s.y,2}else if(Math.abs(n)<Math.abs(a)){if(ji.eq(n/t.length(),0))return Et[0]=o.x,Et[1]=o.y,2}else if(ji.eq(a/t.length(),0))return Et[0]=r.x,Et[1]=r.y,2;return 0}function ONe(t,e){let i=t.bbox().intersection1(e.bbox());if(i!=null){i=i.extendOfSize(H3e);let o=t.center.x,r=t.center.y,n=t.rx,a=t.rx2,s=e.start().x,l=e.start().y,c=e.end().x,d=e.end().y,u=t.center.distance1(e.start()),p=t.center.distance1(e.end()),m=ji.eq(u,n)?0:u>n?1:-1,h=ji.eq(p,n)?0:p>n?1:-1,f=0;if(m===-1&&h===-1)return 0;if(m===0&&h===0)Et[f++]=s,Et[f++]=l,Et[f++]=c,Et[f++]=d;else if(m===1&&h===1){let g=w9.foot(e,t.center),b=g.distance1(t.center);if(ji.greater(b,n))return 0;if(ji.eq(b,n))ji.eq(e.distance2(t.start()),0)?(Et[f++]=t.start().x,Et[f++]=t.start().y,Et[f++]=t.start().x,Et[f++]=t.start().y):ji.eq(e.distance2(t.end()),0)?(Et[f++]=t.end().x,Et[f++]=t.end().y,Et[f++]=t.end().x,Et[f++]=t.end().y):(Et[f++]=g.x,Et[f++]=g.y,Et[f++]=g.x,Et[f++]=g.y);else{f=uei(o,r,s,l,c,d,f,g);let y=Et[f-2],w=Et[f-1];f-=2;let x=X1.distance1(o,r,y,w);if(ji.eq(x,n))Et[f++]=y,Et[f++]=w,Et[f++]=y,Et[f++]=w;else if(x<n)f=l3(a,o,r,s,l,y,w,f),f=l3(a,o,r,y,w,c,d,f);else return 0}}else if(m===-1||h===-1)f=l3(a,o,r,s,l,c,d,f);else{let g=w9.foot(e,t.center),b=g.distance1(t.center);if(ji.eq(b,n)){let y=function(S){return YXt(i,S.x,S.y)&&Bh(t,S)},w=t.start(),x=t.end();if(m===0){let S=e.start();if(y(S))return Et[f++]=S.x,Et[f++]=S.y,Et[f++]=S.x,Et[f++]=S.y,f;if(y(g))return Et[f++]=g.x,Et[f++]=g.y,Et[f++]=g.x,Et[f++]=g.y,f;if(ji.eq(e.distance2(w),0)&&y(w))return Et[f++]=w.x,Et[f++]=w.y,Et[f++]=w.x,Et[f++]=w.y,f;if(ji.eq(e.distance2(x),0)&&y(x))return Et[f++]=x.x,Et[f++]=x.y,Et[f++]=x.x,Et[f++]=x.y,f;if(u<=n)f=l3(a,o,r,g.x,g.y,c,d,f),f===2&&(Et[f++]=Et[0],Et[f++]=Et[1]);else if(b<n){if(f=l3(a,o,r,g.x,g.y,c,d,f),f===2&&y(new pi(Et[0],Et[1])))return Et[f++]=Et[0],Et[f++]=Et[1],f;f=l3(a,o,r,g.x,g.y,s,l,0),f===2&&(Et[f++]=Et[0],Et[f++]=Et[1])}}else{let S=e.end();if(y(S))return Et[f++]=S.x,Et[f++]=S.y,Et[f++]=S.x,Et[f++]=S.y,f;if(y(g))return Et[f++]=g.x,Et[f++]=g.y,Et[f++]=g.x,Et[f++]=g.y,f;if(ji.eq(e.distance2(w),0)&&y(w))return Et[f++]=w.x,Et[f++]=w.y,Et[f++]=w.x,Et[f++]=w.y,f;if(ji.eq(e.distance2(x),0)&&y(x))return Et[f++]=x.x,Et[f++]=x.y,Et[f++]=x.x,Et[f++]=x.y,f;if(p<=n)f=l3(a,o,r,g.x,g.y,s,l,f),f===2&&(Et[f++]=Et[0],Et[f++]=Et[1]);else if(b<n){if(f=l3(a,o,r,g.x,g.y,s,l,f),f===2&&y(new pi(Et[0],Et[1])))return Et[f++]=Et[0],Et[f++]=Et[1],f;f=l3(a,o,r,g.x,g.y,c,d,0),f===2&&(Et[f++]=Et[0],Et[f++]=Et[1])}}}else if(m===0){let y=e.start();Et[f++]=y.x,Et[f++]=y.y,(s-g.x)*(c-g.x)+(l-g.y)*(d-g.y)<0&&(f=l3(a,o,r,g.x,g.y,c,d,f))}else{let y=e.end();Et[f++]=y.x,Et[f++]=y.y,(s-g.x)*(c-g.x)+(l-g.y)*(d-g.y)<0&&(f=l3(a,o,r,g.x,g.y,s,l,f))}}if(f>0){let g=0;for(let b=0;b<f;b+=2){let y=Et[b],w=Et[b+1];isFinite(y)&&isFinite(w)&&YXt(i,y,w)&&Bh(t,new pi(y,w))&&(Et[g++]=y,Et[g++]=w)}return g}else return 0}else return 0}function Hqo(t,e){if(t.bbox()){let i=t.center.x,o=t.center.y,r=t.rx2,n=e.start().x,a=e.start().y,s=e.end().x,l=e.end().y,c=t.center.distance2(e.start()),d=t.center.distance2(e.end()),u=ji.eq(c,r)?0:c>r?1:-1,p=ji.eq(d,r)?0:d>r?1:-1,m=0;if(u===-1&&p===-1)return 0;if(u===0&&p===0)Et[m++]=n,Et[m++]=a,Et[m++]=s,Et[m++]=l;else if(u===1&&p===1){let h=w9.foot(e,t.center),f=h.distance2(t.center);if(ji.greater(f,r))return 0;if(ji.eq(f,r)){let g=h.distance2(t.start()),b=h.distance2(t.end());ji.eq(g,0)?(Et[m++]=t.start().x,Et[m++]=t.start().y):ji.eq(b,0)?(Et[m++]=t.end().x,Et[m++]=t.end().y):(Et[m++]=h.x,Et[m++]=h.y)}else{m=uei(i,o,n,a,s,l,m,h);let g=Et[m-2],b=Et[m-1],y=X1.distance2(i,o,g,b);if(m-=2,ji.eq(y,r))Et[m++]=g,Et[m++]=b;else if(y<r)m=l3(r,i,o,n,a,g,b,m),m=l3(r,i,o,g,b,s,l,m);else return 0}}else if(u===-1||p===-1)m=l3(r,i,o,n,a,s,l,m);else{let h=w9.foot(e,t.center);u===0?(Et[m++]=e.start().x,Et[m++]=e.start().y,ji.neq(h.distance2(e.start()),0)&&(n-h.x)*(s-h.x)+(a-h.y)*(l-h.y)<0&&(m=l3(r,i,o,h.x,h.y,s,l,m))):(Et[m++]=e.end().x,Et[m++]=e.end().y,ji.neq(h.distance2(e.end()),0)&&(n-h.x)*(s-h.x)+(a-h.y)*(l-h.y)<0&&(m=l3(r,i,o,h.x,h.y,n,a,m)))}if(m>0){let h=0;for(let f=0;f<m;f+=2){let g=Et[f],b=Et[f+1];isFinite(g)&&isFinite(b)&&(Et[h++]=g,Et[h++]=b)}return h}else return 0}else return 0}function l3(t,e,i,o,r,n,a,s){if(r==a){let w=t-(r-i)*(r-i);if(ji.greater(w,0)){let x=Math.sqrt(w),S=e-x,T=e+x,M=Math.min(o,n),I=Math.max(o,n);return S>=M&&S<=I&&(Et[s++]=S,Et[s++]=r),T>=M&&T<=I&&(Et[s++]=T,Et[s++]=r),s}}let l=X1.distance2(o,r,e,i)-t;if(l===0)return Et[s++]=o,Et[s++]=r,s;let c=X1.distance2(n,a,e,i)-t;if(c===0)return Et[s++]=n,Et[s++]=a,s;let d=o,u=r,p=n,m=a,h=NaN,f=NaN,g=Number.POSITIVE_INFINITY,b=0;for(;g!==0;){b++;let w=Math.max(Math.min(Math.abs(l)/(Math.abs(l)+Math.abs(c)),.75),.25);if(h=d+(p-d)*w,f=u+(m-u)*w,d===h&&u===f||p===h&&m===f){Math.abs(l)>Math.abs(c)?(h=p,f=m,g=c):(h=d,f=u,g=l);break}else g=X1.distance2(h,f,e,i)-t,g<0&&l>c||g>0&&l<c?(p=h,m=f,c=g):(d=h,u=f,l=g)}let y=Math.sqrt(t)-X1.distance1(h,f,e,i);return(ji.eq(0,g)||ji.eq(0,y))&&(Et[s++]=h,Et[s++]=f),s}function uei(t,e,i,o,r,n,a,s){let l=X1.dotProd2(i,o,r,n,t,e),c=X1.dotProd2(r,n,i,o,t,e);if(l>=0)return Et[a++]=r,Et[a++]=n,a;if(c>=0)return Et[a++]=i,Et[a++]=o,a;if(X1.crossProd2(i,o,r,n,t,e)==0)return Et[a++]=t,Et[a++]=e,a;{let d=NaN,u=NaN,p=i,m=o,h=r,f=n,g=X1.distance2(i,o,t,e),b=X1.distance2(r,n,t,e),y=Number.POSITIVE_INFINITY,w=0;for(;y>0&&(w++,d=p+(h-p)*.5,u=m+(f-m)*.5,!(g==b||p==d&&m==u||h==d&&f==u));){y=X1.distance2(d,u,t,e);let x=X1.dotProd2(p,m,d,u,t,e);if(x==0)break;x<0?(h=d,f=u,b=y):(p=d,m=u,g=y)}return X1.distance2(d,u,t,e)<X1.distance2(s.x,s.y,t,e)?(Et[a++]=d,Et[a++]=u):(Et[a++]=s.x,Et[a++]=s.y),a}}function W1t(t,e){if(t.rx===t.ry)return ONe(t,e);throw new Error("not supported")}function Gqo(t,e){if(t.rx===t.ry)return Hqo(t,e);throw new Error("not supported")}function pei(t,e){if(t.bbox().intersection1(e.bbox())!=null){if(t.rx===t.ry&&e.rx===e.ry)return Yqo(t,e);throw new Error("not supported operation")}return 0}function Yqo(t,e){let i=t.center.x,o=t.center.y,r=e.center.x,n=e.center.y,a=t.rx,s=e.rx,l=t.rx2,c=e.rx2,d=t.center.distance1(e.center),u=Math.abs(a-s),p=a+s;if(ji.greater(d,p)||ji.less(d,u))return 0;if(ji.eq(u+d,0)){let m=0,h;return Bh(t,e.start())&&(Et[m]=e.start().x,Et[m+1]=e.start().y,m+=2,h=e.start()),Bh(t,e.end())&&(Et[m]=e.end().x,Et[m+1]=e.end().y,m+=2,h=e.end()),m===0?(Bh(e,t.start())&&(Et[m]=t.start().x,Et[m+1]=t.start().y,m+=2),Bh(e,t.end())&&(Et[m]=t.end().x,Et[m+1]=t.end().y,m+=2)):m===2&&(!h.equals1(t.start())&&Bh(e,t.start())&&(Et[m]=t.start().x,Et[m+1]=t.start().y,m+=2),!h.equals1(t.end())&&Bh(e,t.end())&&(Et[m]=t.end().x,Et[m+1]=t.end().y,m+=2)),m}else if(ji.eq(d,p)){if(QXt(t,e))return 4;let m=new Jt(t.center,e.center),h=ONe(e,m);return h=KXt(t,h),h!==0?h:(h=ONe(t,m),KXt(e,h))}else if(ji.eq(d,u)){if(QXt(t,e))return 4;if(a>s){let m=(a-s)/a;return Et[0]=i+(r-i)/m,Et[1]=o+(n-o)/m,ZXt(t,e,2)}else{let m=(s-a)/s;return Et[0]=r+(i-r)/m,Et[1]=n+(o-n)/m,ZXt(t,e,2)}}else{let m=(t.center.distance2(e.center)-c+l)/(d*2)/d,h=(r-i)*m+i,f=(n-o)*m+o,g=r-i,b=n-o,y=Math.max(a,s),w,x,S,T;if(Math.abs(g)<Math.abs(b)){let D=g/-b,E=f-D*h;w=h-y,x=D*w+E,S=h+y,T=D*S+E}else{let D=b/-g,E=h-D*f;x=f-y,w=D*x+E,T=f+y,S=D*T+E}let M=l3(l,i,o,w,x,h,f,0);if(M=l3(l,i,o,h,f,S,T,M),M!==4)throw new Error("cnt !== 4");let I=new pi(Et[0],Et[1]),A=new pi(Et[2],Et[3]);if(Bh(t,I)&&Bh(e,I))return Bh(t,A)&&Bh(e,A)?4:eK(t.start(),e,A,I)?(Et[2]=t.start().x,Et[3]=t.start().y,4):eK(t.end(),e,A,I)?(Et[2]=t.end().x,Et[3]=t.end().y,4):eK(e.start(),t,A,I)?(Et[2]=e.start().x,Et[3]=e.start().y,4):eK(e.end(),t,A,I)?(Et[2]=e.end().x,Et[3]=e.end().y,4):2;if(Bh(t,A)&&Bh(e,A))return eK(t.start(),e,I,A)?(Et[0]=t.start().x,Et[1]=t.start().y,4):eK(t.end(),e,I,A)?(Et[0]=t.end().x,Et[1]=t.end().y,4):eK(e.start(),t,I,A)?(Et[0]=e.start().x,Et[1]=e.start().y,4):eK(e.end(),t,I,A)?(Et[0]=e.end().x,Et[1]=e.end().y,4):(Et[0]=Et[2],Et[1]=Et[3],2);{let D=function(v,k){if(ji.eq(v.distance1(k.center),k.rx)&&Bh(k,v)){if(v.distance2(I)<v.distance2(A)){if(E)return;E=!0}else{if(N)return;N=!0}Et[R++]=v.x,Et[R++]=v.y}},E=!1,N=!1,R=0;return D(t.start(),e),D(t.end(),e),D(e.start(),t),D(e.end(),t),R}}}function eK(t,e,i,o){return ji.eq(t.distance1(e.center),e.rx)&&Bh(e,t)&&t.distance2(i)<t.distance2(o)}function QXt(t,e){return ji.eq(e.start().distance1(t.center),t.rx)&&Bh(t,e.start())?(Et[0]=e.start().x,Et[1]=e.start().y,Et[2]=e.start().x,Et[3]=e.start().y,!0):ji.eq(e.end().distance1(t.center),t.rx)&&Bh(t,e.end())?(Et[0]=e.end().x,Et[1]=e.end().y,Et[2]=e.end().x,Et[3]=e.end().y,!0):ji.eq(t.start().distance1(e.center),e.rx)&&Bh(e,t.start())?(Et[0]=t.start().x,Et[1]=t.start().y,Et[2]=t.start().x,Et[3]=t.start().y,!0):ji.eq(t.end().distance1(e.center),e.rx)&&Bh(e,t.end())?(Et[0]=t.end().x,Et[1]=t.end().y,Et[2]=t.end().x,Et[3]=t.end().y,!0):!1}function KXt(t,e){if(e===0)return 0;let i=Et[0],o=Et[1];return Bh(t,new pi(i,o))?(Et[0]=i,Et[1]=o,Et[2]=i,Et[3]=o,4):0}function ZXt(t,e,i){if(i===0)return 0;let o=Et[0],r=Et[1],n=new pi(o,r);return Bh(t,n)&&Bh(e,n)?(Et[0]=o,Et[1]=r,Et[2]=o,Et[3]=r,4):0}function nde(t,e){return Math.abs(t-e)<=1e-6}function Bh(t,e){let i=t.bbox();if(e.x-i.minX>-H3e&&e.x-i.maxX<H3e&&e.y-i.minY>-H3e&&e.y-i.maxY<H3e){let o=Qa.regularD(e.angleD(t.center));return nde(o,t.startAngle)||nde(o,t.startAngle+360)||nde(o,t.startAngle-360)||nde(o,t.endAngle())||nde(o,t.endAngle()+360)||nde(o,t.endAngle()-360)?!0:t.sweepAngle>0?(ji.less(o,t.startAngle)&&(o+=360),ji.greatereq(t.endAngle(),o)):(ji.greater(o,t.startAngle)&&(o-=360),ji.lesseq(t.endAngle(),o))}else return!1}function Wqo(t,e){let i=t[1].x-t[0].x,o=t[1].y-t[0].y,r=e[1].x-e[0].x,n=e[1].y-e[0].y;if(i===0&&r!==0||i!==0&&r===0)return!1;if(i===0&&r===0)return!0;let a=o/i,s=n/r;return dei(a,s,Math.sin(Math.PI/180))}function Qqo(t,e,i){var o,r=+e.x,n=+e.y,a=+i.x,s=+i.y,l=+t.x,c=+t.y,d=a-r,u=s-n,p=l-r,m=c-n,h,f,g,b,y,w;return d===0&&u===0?{d:Math.sqrt(p*p+m*m),point:new pi(r,n)}:(o=(p*d+m*u)/(d*d+u*u),o<0?{d:Math.sqrt(p*p+m*m),point:new pi(r,n)}:o>1?(h=l-a,f=c-s,{d:Math.sqrt(h*h+f*f),point:new pi(a,s)}):(y=r+o*d,w=n+o*u,g=l-y,b=c-w,{d:Math.sqrt(g*g+b*b),point:new pi(y,w)}))}function b9(t,e){if(!t||!e||t.length!=e.length)return!1;let i="equals1";return!t.some((o,r)=>{let n=e[r],a=!1;return o&&n&&typeof o=="object"&&typeof n=="object"?typeof o[i]=="function"&&Zqo(o,n)?a=!o[i].call(o,n):a=!(o===n||o.toString()===n.toString()):typeof o=="number"&&typeof n=="number"?a=!(Kqo(o,n)||Number.isNaN(o)&&Number.isNaN(n)):a=o!==n,a})}function Kqo(t,e,i=5){return Math.abs(t-e)*Math.pow(10,i)<1}function Zqo(t,e){return!t||!e||typeof t!="object"||typeof e!="object"?t===e:t.constructor===e.constructor}var Vs=new Float64Array(100);function CNe(t,e){if(t.bbox().extendOfSize(ji.eps).isSeparated(e.bbox()))return 0;let i=[[t,e]],o=(t.controls.length-1)*(e.controls.length-1)*8,r=0,n=Number.POSITIVE_INFINITY;for(;i.length!==0;){let a=function(P){E=Math.min(E,P),N=Math.max(N,P)},s=function(P,O){let _=KR(P,O);if(_===0)throw new Error("cnt === 0");for(let j=0;j<_;j+=2)a(Et[j])};if(r>o){for(let P=r-2;P>=2;P-=2)for(let O=P-2;O>=0;O-=2)if(ji.eq(Vs[P],Vs[O])&&ji.eq(Vs[P+1],Vs[O+1])){Vs[O]=(Vs[P]+Vs[O])/2,Vs[O+1]=(Vs[P+1]+Vs[O+1])/2;for(let _=r-3;_>=P;_--)Vs[_]=Vs[_+2];r-=2;break}if(r>o){r=0;let P=e.start(),O=new Float64Array(8);t.getPercent(P)!==null&&(O[r++]=P.x,O[r++]=P.y);let _=e.end();t.getPercent(_)!==null&&(O[r++]=_.x,O[r++]=_.y);let j=t.start();e.getPercent(j)!==null&&(O[r++]=j.x,O[r++]=j.y);let B=t.end();return e.getPercent(B)!==null&&(O[r++]=B.x,O[r++]=B.y),Et.set(O),r}}let[l,c]=i.pop(),d=l.controls,u=c.controls;if(d.length===2&&u.length===2){let P=KR(new Jt(d[0],d[1]),new Jt(u[0],u[1]));for(let O=0;O<P;O++)Vs[r++]=Et[O];continue}let p=d[0],m=d[d.length-1];p.equals1(m)&&(m=p.add1(1,0));let h=m.y-p.y,f=p.x-m.x,g=-h*p.x-f*p.y,b=Math.sqrt(1/(h**2+f**2));h*=b,f*=b,g*=b;let y=Number.POSITIVE_INFINITY,w=Number.NEGATIVE_INFINITY;if(d.forEach(P=>{let O=h*P.x+f*P.y+g;O<y&&(y=O),O>w&&(w=O)}),ji.eq(y,w)){if(c.controls.length===2){let P=KR(new Jt(l.start(),l.end()),new Jt(c.start(),c.end()));for(let O=0;O<P;O++)Vs[r++]=Et[O];if(P!==0)continue}l=new fr([d[0],d[d.length-1]]),d=l.controls}let x=u.map(P=>{let O=h*P.x+f*P.y+g,_=Math.abs(O);return _<n&&(n=_),O}),S=0;for(let P of x){if(ji.less(P,y))S=S|1;else if(ji.greater(P,w))S=S|2;else{S=3;break}if(S===3)break}if(S!==3)continue;let T=0,M=0,I=m.x-p.x,A=m.y-p.y,D=Math.sqrt(1/(I**2+A**2));I*=D,A*=D;for(let P=1;P<d.length;P++){let O=d[P],_=(O.x-p.x)*I+(O.y-p.y)*A;_<T?T=_:_>M&&(M=_)}S=0;for(let P of u){let O=(P.x-p.x)*I+(P.y-p.y)*A;if(ji.less(O,T))S=S|1;else if(ji.greater(O,M))S=S|2;else{S=3;break}if(S===3)break}if(S!==3)continue;let E=Number.POSITIVE_INFINITY,N=Number.NEGATIVE_INFINITY;n/=2,n<=ji.eps&&(n=ji.eps),y-=n,w+=n,x.forEach((P,O)=>{P>=y&&P<=w&&a(O/(x.length-1))});let R=new Jt(new pi(0,y),new pi(1,y)),v=new Jt(new pi(0,w),new pi(1,w));for(let P=0;P<x.length-1;P++){let O=new pi(P/(x.length-1),x[P]),_=O.y<y?1:O.y>w?2:3;for(let j=0;j<x.length;j++){let B=new pi(j/(x.length-1),x[j]),V=B.y<y?1:B.y>w?2:3;_!==V&&(_===1?V===2?(s(new Jt(O,B),R),s(new Jt(O,B),v)):s(new Jt(O,B),R):_===2?V===1?(s(new Jt(O,B),R),s(new Jt(O,B),v)):s(new Jt(O,B),v):V===1?s(new Jt(O,B),R):s(new Jt(O,B),v))}}E!==0&&(c=c.clip(E)[1]),N!==1&&(c=c.clip((N-E)/(1-E))[0]);let k=c.bbox();if(ji.eq(k.minX,k.maxX)&&ji.eq(k.minY,k.maxY)){S=0;for(let P of c.controls){let O=(P.x-p.x)*I+(P.y-p.y)*A;if(ji.less(O,T))S=S|1;else if(ji.greater(O,M))S=S|2;else{S=3;break}if(S===3)break}if(S===3){let P=new pi((k.minX+k.maxX)/2,(k.minY+k.maxY)/2);l.getPercent(P)&&(Vs[r++]=P.x,Vs[r++]=P.y)}continue}if(N-E>.8){let[P,O]=c.clip(.5);i.push([P,l]),i.push([O,l])}else i.push([c,l])}for(let a=0;a<r;a++)Et[a]=Vs[a];return r}function Jqo(t,e){if(t.bbox().extendOfSize(ji.eps).isSeparated(e.bbox()))return{cnt:0};let i=[[t,e]],o=(t.controls.length-1)*(e.controls.length-1)*8,r=0,n=Number.POSITIVE_INFINITY;for(;i.length!==0;){let a=function(P){E=Math.min(E,P),N=Math.max(N,P)},s=function(P,O){let _=KR(P,O);if(_===0)throw new Error("cnt === 0");for(let j=0;j<_;j+=2)a(Et[j])};if(r>o){for(let P=r-2;P>=2;P-=2)for(let O=P-2;O>=0;O-=2)if(ji.eq(Vs[P],Vs[O])&&ji.eq(Vs[P+1],Vs[O+1])){Vs[O]=(Vs[P]+Vs[O])/2,Vs[O+1]=(Vs[P+1]+Vs[O+1])/2;for(let _=r-3;_>=P;_--)Vs[_]=Vs[_+2];r-=2;break}if(r>o){r=0;let P=new Float64Array(8),O=e.end(),_=0;t.getPercent(O)!==null&&(P[r++]=O.x,P[r++]=O.y,_=2);let j=t.end();return e.getPercent(j)!==null&&(P[r++]=j.x,P[r++]=j.y,_=_===0?1:3),Et.set(P),{havOverlap:_,cnt:r}}}let[l,c]=i.pop(),d=l.controls,u=c.controls;if(d.length===2&&u.length===2){let P=KR(new Jt(d[0],d[1]),new Jt(u[0],u[1]));for(let O=0;O<P;O++)Vs[r++]=Et[O];continue}let p=d[0],m=d[d.length-1];p.equals1(m)&&(m=p.add1(1,0));let h=m.y-p.y,f=p.x-m.x,g=-h*p.x-f*p.y,b=Math.sqrt(1/(h**2+f**2));h*=b,f*=b,g*=b;let y=Number.POSITIVE_INFINITY,w=Number.NEGATIVE_INFINITY;if(d.forEach(P=>{let O=h*P.x+f*P.y+g;O<y&&(y=O),O>w&&(w=O)}),ji.eq(y,w)){if(c.controls.length===2){let P=KR(new Jt(l.start(),l.end()),new Jt(c.start(),c.end()));for(let O=0;O<P;O++)Vs[r++]=Et[O];if(P!==0)continue}l=new fr([d[0],d[d.length-1]]),d=l.controls}let x=u.map(P=>{let O=h*P.x+f*P.y+g,_=Math.abs(O);return _<n&&(n=_),O}),S=0;for(let P of x){if(ji.less(P,y))S=S|1;else if(ji.greater(P,w))S=S|2;else{S=3;break}if(S===3)break}if(S!==3)continue;let T=0,M=0,I=m.x-p.x,A=m.y-p.y,D=Math.sqrt(1/(I**2+A**2));I*=D,A*=D;for(let P=1;P<d.length;P++){let O=d[P],_=(O.x-p.x)*I+(O.y-p.y)*A;_<T?T=_:_>M&&(M=_)}S=0;for(let P of u){let O=(P.x-p.x)*I+(P.y-p.y)*A;if(ji.less(O,T))S=S|1;else if(ji.greater(O,M))S=S|2;else{S=3;break}if(S===3)break}if(S!==3)continue;let E=Number.POSITIVE_INFINITY,N=Number.NEGATIVE_INFINITY;n/=2,n<=ji.eps&&(n=ji.eps),y-=n,w+=n,x.forEach((P,O)=>{P>=y&&P<=w&&a(O/(x.length-1))});let R=new Jt(new pi(0,y),new pi(1,y)),v=new Jt(new pi(0,w),new pi(1,w));for(let P=0;P<x.length-1;P++){let O=new pi(P/(x.length-1),x[P]),_=O.y<y?1:O.y>w?2:3;for(let j=0;j<x.length;j++){let B=new pi(j/(x.length-1),x[j]),V=B.y<y?1:B.y>w?2:3;_!==V&&(_===1?V===2?(s(new Jt(O,B),R),s(new Jt(O,B),v)):s(new Jt(O,B),R):_===2?V===1?(s(new Jt(O,B),R),s(new Jt(O,B),v)):s(new Jt(O,B),v):V===1?s(new Jt(O,B),R):s(new Jt(O,B),v))}}E!==0&&(c=c.clip(E)[1]),N!==1&&(c=c.clip((N-E)/(1-E))[0]);let k=c.bbox();if(ji.eq(k.minX,k.maxX)&&ji.eq(k.minY,k.maxY)){S=0;for(let P of c.controls){let O=(P.x-p.x)*I+(P.y-p.y)*A;if(ji.less(O,T))S=S|1;else if(ji.greater(O,M))S=S|2;else{S=3;break}if(S===3)break}if(S===3){let P=new pi((k.minX+k.maxX)/2,(k.minY+k.maxY)/2);l.getPercent(P)&&(Vs[r++]=P.x,Vs[r++]=P.y)}continue}if(N-E>.8){let[P,O]=c.clip(.5);i.push([P,l]),i.push([O,l])}else i.push([c,l])}for(let a=0;a<r;a++)Et[a]=Vs[a];return{cnt:r}}var qqo=class{constructor(t=ji.eps){this.eps=t}eq(t,e){return Math.abs(t-e)<=this.eps}setEps(t){this.eps=t}},R3e=new qqo;function JXt(t,e){if(t.bbox().extendOfSize(ji.eps).isSeparated(e.bbox()))return 0;let i=[[t,e]],o=(e.controls.length-1)*16,r=0;for(;i.length!==0;){if(r>o){let a=function(){for(let c=0;c<r;c+=2)for(let d=c+2;d<r;d+=2)if(!(R3e.eq(Vs[c],Vs[d])&&R3e.eq(Vs[c+1],Vs[d+1]))){l(Vs[d],Vs[d+1],s);break}function l(c,d,u){let p=!1;for(let m=0;m<u.length;m+=2)if(R3e.eq(c,u[m])&&R3e.eq(d,u[m+1])){p=!0;break}p||u.push(c,d)}},s=[Vs[0],Vs[1]];if(a(),s.length>=100&&(R3e.setEps(.001),s=[Vs[0],Vs[1]],a(),s.length>=100))throw new Error("clearSamePoint()");r=s.length,s.forEach((l,c)=>Vs[c]=l)}let n=i.pop();if(n[0]instanceof Pi){let a=function(v){A=Math.min(A,v),D=Math.max(D,v)},s=function(v,k){let P=KR(v,k);if(P===0)throw new Error("cnt === 0");for(let O=0;O<P;O+=2)a(Et[O])},[l,c]=n,d=c.controls;if(d.length===2){let v=W1t(l,new Jt(d[0],d[1]));for(let k=0;k<v;k++)Vs[r++]=Et[k];continue}let u=Number.POSITIVE_INFINITY,p=Number.NEGATIVE_INFINITY,m,h,f,g,b;if(Math.abs(l.sweepAngle)>359){let v=l.rx;m=l.center.add1(v,0),h=l.center.add1(-v,0),u=-v,p=v,f=0,g=1,b=-l.center.y}else{m=l.start(),h=l.end(),f=h.y-m.y,g=m.x-h.x,b=-f*m.x-g*m.y;let v=Math.sqrt(1/(f**2+g**2));f*=v,g*=v,b*=v;let k=f*l.center.x+g*l.center.y+b;l.isCCW?(p=l.rx+k,u=0):(u=k-l.rx,p=0)}let y=d.map(v=>f*v.x+g*v.y+b),w=0;for(let v of y){if(ji.less(v,u))w=w|1;else if(ji.greater(v,p))w=w|2;else{w=3;break}if(w===3)break}if(w!==3)continue;let x=0,S=0,T=h.x-m.x,M=h.y-m.y,I=Math.sqrt(1/(T**2+M**2));if(T*=I,M*=I,Math.abs(l.sweepAngle)<=180)x=0,S=(h.x-m.x)*T+(h.y-m.y)*M;else throw new Error("not support");w=0;for(let v of d){let k=(v.x-m.x)*T+(v.y-m.y)*M;if(ji.less(k,x))w=w|1;else if(ji.greater(k,S))w=w|2;else{w=3;break}if(w===3)break}if(w!==3)continue;let A=Number.POSITIVE_INFINITY,D=Number.NEGATIVE_INFINITY;u-=ji.eps,p+=ji.eps,y.forEach((v,k)=>{v>=u&&v<=p&&a(k/(y.length-1))});let E=new Jt(new pi(0,u),new pi(1,u)),N=new Jt(new pi(0,p),new pi(1,p));for(let v=0;v<y.length-1;v++){let k=new pi(v/(y.length-1),y[v]),P=k.y<u?1:k.y>p?2:3;for(let O=0;O<y.length;O++){let _=new pi(O/(y.length-1),y[O]),j=_.y<u?1:_.y>p?2:3;P!==j&&(P===1?j===2?(s(new Jt(k,_),E),s(new Jt(k,_),N)):s(new Jt(k,_),E):P===2?j===1?(s(new Jt(k,_),E),s(new Jt(k,_),N)):s(new Jt(k,_),N):j===1?s(new Jt(k,_),E):s(new Jt(k,_),N))}}A!==0&&(c=c.clip(A)[1]),D!==1&&(c=c.clip((D-A)/(1-A))[0]);let R=c.bbox();if(ji.eq(R.minX,R.maxX)&&ji.eq(R.minY,R.maxY)){w=0;for(let v of c.controls){let k=(v.x-m.x)*T+(v.y-m.y)*M;if(ji.less(k,x))w=w|1;else if(ji.greater(k,S))w=w|2;else{w=3;break}if(w===3)break}w===3&&(Vs[r++]=(R.minX+R.maxX)/2,Vs[r++]=(R.minY+R.maxY)/2);continue}D-A>.8?c.clip(.5).forEach(v=>i.push([v,l])):i.push([c,l])}else{let[a,s]=n;i.push([Pi.build3(s.center,s.startAngle,s.sweepAngle/2,s.rx,s.ry),a]),i.push([Pi.build3(s.center,s.startAngle+s.sweepAngle/2,s.sweepAngle/2,s.rx,s.ry),a])}}for(let n=0;n<r;n++)Et[n]=Vs[n];return r}var Xqo=class{static getSweep(t){if(t.length>2){let e=0,i=t.length;for(let n=0;n<i-1;n++){let a=t[n],s=t[n+1];e+=(s.x+a.x)*(s.y-a.y)}let o=t[0],r=t[i-1];return e+=(o.x+r.x)*(o.y-r.y),e>0}else throw new Error("Unable to determine the direction of rotation!")}static isClose(t){return!!(t.primitives.length>0&&t.primitives[0].start().equals1(t.primitives[t.primitives.length-1].end()))}};function $qo(t){let e=t.primitives,i=e[0],o=i instanceof Pi?i.sweepAngle%360:null;if(e.length===1&&i instanceof Pi&&(ji.eq(o,0)||ji.eq(Math.abs(o),360)))return!!i.isCCW;let r=new Array;return t.points(.1,n=>{r.push(n)}),Xqo.getSweep(r)}var eXo=class{static zoomCorner(t,e){let i=new Array,o=new Array,r=new Array;return this.getPanPrimitive(t,i,r,e),this.rearrange(i,r),this.processStart(i,r),this.getResult(i,r,o,e),o.length>0?gl.build2(o):null}static zoomPolygon(t,e){let i=new Array,o=new Array,r=new Array;return $qo(t)&&(t=t.reverse().asClose()),this.getPanPrimitive(t,i,r,e),this.rearrange(i,r),this.processStart(i,r),this.getResult(i,r,o,e),o.length>0?gl.build2(o):null}static zoomLines(t,e){return this.zoomPolygon(gl.build2(t.primitives.concat(t.reverse().primitives)),e/2)}static getPanPrimitive(t,e,i,o){let r=t.primitives;for(let n of r){let a=this.panDistance(n,o);a!==void 0&&(e.push(a),i.push(n))}}static rearrange(t,e){let i=t.length,o=0;for(let a=0;a<i;a++){let s=e[a],l=t[a],c=a==i-1?t[0]:t[a+1];if(!(l instanceof Pi&&c instanceof Pi)&&!this.isCW(l.end(),c.start(),s.end())){if(p8(l,c)!=0){o=a==i-1?0:a+1;break}}else{o=a;break}}let r=this.start4Index(e,o),n=this.start4Index(t,o);e.length=0,t.length=0,r.forEach(a=>{e.push(a)}),n.forEach(a=>{t.push(a)})}static processStart(t,e){let i=t.length;if(i>2){let o=t[i-1],r=t[0],n=e[i-1];if(!(o instanceof Pi&&r instanceof Pi)&&!this.isCW(o.end(),r.start(),n.end())){let a=p8(o,r);for(let s=0;s<a;s+=2){let l=new pi(Et[s],Et[s+1]);t[i-1]=this.generatePrimitive(o,o.start(),l),t[0]=this.generatePrimitive(r,l,r.end())}}}}static getResult(t,e,i,o){let r=t.length;for(let n=0;n<r;n++){let a=e[n],s=n===r-1?e[0]:e[n+1],l=n==r-1?0:n+1,c=l==r-1?e[0]:e[l+1],d=t[n],u=n==r-1?t[0]:t[n+1],p=l==r-1?t[0]:t[l+1];if(!(d instanceof Pi&&u instanceof Pi)&&!this.isCW(d.end(),u.start(),a.end())){let h=this.add(t,i,n,d,u,0);h=this.update(t,i,n,u,h);let f=this.generateArc(s,c,u,p,o);if(h=this.add(t,i,n,d,f,h),h=this.update(t,i,n,f,h),h>0)continue}i.push(d);let m=this.generateArc(a,s,d,u,o);m!==void 0&&i.push(m)}}static generateArc(t,e,i,o,r){if(r>0){let n=t.end(),a=e.start(),s=i.end(),l=o.start();if(s.distance2(l)>1e-8)if(n.equals(a)){let c=s.angleD(n),d=l.angleD(n);return Pi.build2(n,c,d,r,r,0)}else{let c=s.angleD(n),d=l.angleD(n),u=s.angleD(a),p=l.angleD(a),m=Pi.build2(n,c,d,r,r,0),h=Pi.build2(a,u,p,r,r,0);return m.pointOn(m.endAngle()).equals1(l)?m:h.pointOn(h.endAngle()).equals1(l)?h:m}}}static updateNews(t,e,i,o){let r=t.length,n=e==r-1?0:e+1;t[n]=this.generatePrimitive(i,o,i.end())}static add(t,e,i,o,r,n){if(n>0)return n;if(o!=null&&r!=null){let a=p8(o,r);for(let s=0;s<a;s+=2){let l=new pi(Et[s],Et[s+1]);e.push(this.generatePrimitive(o,o.start(),l)),this.updateNews(t,i,r,l);break}return a}else return 0}static update(t,e,i,o,r){if(r>0)return r;let n=e.length;if(n>0&&o!=null){let a=e[n-1],s=p8(a,o);for(let l=0;l<s;l+=2){let c=new pi(Et[l],Et[l+1]);e[n-1]=this.generatePrimitive(a,a.start(),c),this.updateNews(t,i,o,c)}return s}else return 0}static generatePrimitive(t,e,i){if(t instanceof Jt)return new Jt(e,i);if(t instanceof Pi){let o=t,r=e.angleD(o.center),n=i.angleD(o.center);return Pi.build2(o.center,r,n,o.rx,o.ry,o.sweep())}else throw new Error("not supported operation")}static start4Index(t,e){let i=t.length,o=new Array;for(let r=e;r<i;r++)o.push(t[r]);for(let r=0;r<e;r++)o.push(t[r]);return o}static isCW(t,e,i){let o=new Jt(i,t),r=new Jt(i,e),n=o.end().x-o.start().x,a=o.end().y-o.start().y,s=r.end().x-r.start().x,l=r.end().y-r.start().y;return!(n*l-a*s>0)}static panDistance(t,e){if(t instanceof Jt){if(t.isPoint())return;{let i=t.panDistance(e);return i.length()>1e-5?i:void 0}}else if(t instanceof Pi){let i=t;if(i.sweepAngle>0){if(i.rx-e<=0||i.ry-e<=0)return}else if(i.sweepAngle<0&&(i.rx+e<=0||i.ry+e<=0))return;return i=i.panDistance(e),i.start().distance1(i.end())>1e-5||ji.eq(Math.abs(i.sweepAngle),360)?i:void 0}else throw new Error("not supported operation")}},qn=.001,zw=qn**2;function xn(t,e){return t.distance2(e)<zw}function JR(t,e){return Math.abs(t-e)<=1e-4}function tXo(t,e){if(t instanceof Jt)return new Jt(t.start(),e);if(t instanceof Pi){let i=e.angleD(t.center);return JR(Qa.regularD(t.startAngle),Qa.regularD(i))?Pi.build3(t.center,t.startAngle,0,t.rx,t.ry):Pi.build2(t.center,t.startAngle,i,t.rx,t.ry,t.isCCW?1:0)}else{if(t instanceof fr)return t.clip(t.getPercent(e,qn))[0];throw new Error("not supported operation")}}function C9(t,e=Qa.toRadians(t.startAngle)){return t.isCCW?e+=PNe:e-=PNe,new pi(Math.cos(e),Math.sin(e))}function rwe(t,e=0){let i=t.controls;if(e===0){let o=i[0],r=i.slice(1).find(n=>!(n.x===o.x&&n.y===o.y));if(!r)throw Error("getTangentBezier(bezier: Bezier, t: number = 0)");return r.sub(o)}else if(e===1){let o=i[i.length-1],r=i.slice(0,-1).reverse().find(n=>!(n.x===o.x&&n.y===o.y));if(!r)throw Error("getTangentBezier(bezier: Bezier, t: number = 0)");return o.sub(r)}if(i.length===3){let[o,r,n]=i;return r.sub(o).mul(2*(1-e)).add(n.sub(r).mul(2*e)).normalize()}else{let[o,r,n,a]=i;return r.sub(o).mul(3*(1-e)**2).add(n.sub(r).mul(6*(1-e)*e)).add(a.sub(n).mul(3*e**2)).normalize()}}function xde(t,e,i){let o=t.slice(1).findIndex(n=>!(n.x===e.x&&n.y===e.y)),r=t[o+1];if(i&&(i.getPercent(r,qn)!==null||new Jt(i.start(),i.end()).distance(r)<=qn)&&(r=t[o+2]),!r)throw Error("getSecondPoint(controls: readonly Vector2[])");return r}function Jn(t,e){if(t instanceof Jt)return t.end().sub(t.start()).normalize();if(t instanceof Pi)return(e?C9(t,e.angle(t.center)):C9(t)).normalize();if(t instanceof fr)if(t.controls.length===2){let[i,o]=t.controls;if(xn(i,o))throw Error("equalsPP(p0, p1)");return o.sub(i).normalize()}else return(e?rwe(t,t.getPercent(e,qn)):rwe(t)).normalize();else throw new Error("not support")}function iXo(t,e,i){let o=[],r=e**2-4*t*i;if(r>=0){let n=-e/(2*t),a=Math.sqrt(r)/(2*t),s=n+a;if(o.push(s),r>0){let l=n-a;o.push(l)}}return o}function oXo(t,e,i,o,r=0,n=1){let a=[],s=t*Math.pow(r,3)+e*Math.pow(r,2)+i*r+o,l=t*Math.pow(n,3)+e*Math.pow(n,2)+i*n+o,c,d;if(s*l<0)for(;Math.abs(r-n)>qn;)if(c=(r+n)/2,d=t*Math.pow(c,3)+e*Math.pow(c,2)+i*c+o,Math.abs(d)<qn){a.push(c);break}else s*d<0?n=c:l*d<0&&(r=c);else s*l===0&&(s===0&&a.push(r),l===0&&a.push(n));return a}function u1t(t,e,i){if(t instanceof Jt||e.distance2(i)<=zw)return new Jt(e,i);if(t instanceof Pi)return Pi.build2(t.center,e.angleD(t.center),i.angleD(t.center),t.rx,t.ry,t.isCCW?1:0);if(t instanceof fr){let o=t.getPercent(e,qn),r=t.getPercent(i,qn);return t.clip(o)[1].clip((r-o)/(1-o))[0]}else throw new Error("not supported operation")}function Q1t(t){return ji.greater(t,0)&&ji.less(t,1)}function RNe(t,e,i,o){let r=t[o]-2*e[o]+i[o],n=e[o]-t[o];if(r===0)return[];let a=-n/r,s=[];return Q1t(a)&&s.push(a),s}function _Ne(t,e,i,o,r){let n,a,s=-t[r]+3*e[r]-3*i[r]+o[r],l=2*(t[r]-2*e[r]+i[r]),c=e[r]-t[r],d=l**2-4*s*c;if(ji.lesseq(d,0))n=Number.NEGATIVE_INFINITY,a=Number.NEGATIVE_INFINITY;else{let p=Math.sqrt(d);n=(-l-p)/(2*s),a=(-l+p)/(2*s);let m=s*2;if(ji.lesseq(n,1)&&ji.greatereq(n,0)){let h=Number.NEGATIVE_INFINITY;for(;ji.neq(n,h);){h=n;let f=m*n+l;n=-(s*n**2+l*n+c-f*n)/f}}if(ji.lesseq(a,1)&&ji.greatereq(a,0)){let h=Number.NEGATIVE_INFINITY;for(;ji.neq(a,h);){h=a;let f=m*a+l;a=-(s*a**2+l*a+c-f*a)/f}}}let u=[];return Q1t(a)&&u.push(a),Q1t(n)&&u.push(n),u}function mei(t,e){if(t.controls.length===2){let[s,l]=t.controls;xn(s,l)||e.push(new Jt(s,l));return}let i,o;if(t.controls.length===3){let[s,l,c]=t.controls;i=RNe(s,l,c,"x"),o=RNe(s,l,c,"y")}else{let[s,l,c,d]=t.controls;i=_Ne(s,l,c,d,"x"),o=_Ne(s,l,c,d,"y")}i.sort((s,l)=>l-s),o.sort((s,l)=>l-s);let r=i.pop()||1,n=o.pop()||1,a=0;for(;r!==1||n!==1;)if(ji.eq(r,n))r=i.pop()||1,n=o.pop()||1;else if(r<n){let[s,l]=t.clip((r-a)/(1-a));a=r,e.push(s),t=l,r=i.pop()||1}else{let[s,l]=t.clip((n-a)/(1-a));a=n,e.push(s),t=l,n=o.pop()||1}e.push(t)}var rXo=1e-5,Sht=1,fr=class $x extends fwe{constructor(e){if(super(),this._startToEndL=null,e.length<2)throw new Error("Bezier needs at least 2 endpoints");this.controls=e.slice()}get startToEndL(){return this._startToEndL===null&&(this._startToEndL=new Jt(this.start(),this.end())),this._startToEndL}build1(e){let i=[];return Lde(e,(o,r)=>(i.push(r),!0)),new $x(i)}start(){return this.controls[0]}end(){return this.controls[this.controls.length-1]}static pointOn(e,i){if(i.length<1)throw new Error("bezier must have at least 1 point");if(i.length===1)return i[0];{let o=new Array(i.length-1);for(let r=1;r<i.length;r++){let n=i[r-1],a=i[r],s=(a.x-n.x)*e,l=(a.y-n.y)*e;o[r-1]=n.add1(s,l)}return $x.pointOn(e,o)}}clip1(e,i,o,r){if(o.push(i[0]),r.push(i[i.length-1]),i.length<2)throw new Error("bezier clip must have at least 2 point");if(i.length===2){let n=i[0],a=i[1],s=(a.x-n.x)*e,l=(a.y-n.y)*e,c=n.add1(s,l);o.push(c),r.push(c)}else{let n=new Array(i.length-1);for(let a=1;a<i.length;a++){let s=i[a-1],l=i[a],c=(l.x-s.x)*e,d=(l.y-s.y)*e;n[a-1]=s.add1(c,d)}this.clip1(e,n,o,r)}}clip(e){let i=[],o=[];return this.clip1(e,this.controls,i,o),[new $x(i),new $x(o.reverse())]}greater(e,i,o){return e-i>o}less(e,i,o){return e-i<-o}eq(e,i,o){return Math.abs(e-i)<=o}eqPP(e,i,o){return!e||!i?!1:this.eq(e.x,i.x,o)&&this.eq(e.y,i.y,o)}isInRange(e,i=ji.eps){let o=this.controls.map(n=>n.y-e.y),r=0;for(let n of o){if(this.less(n,0,i))r=r|1;else if(this.greater(n,0,i))r=r|2;else{r=3;break}if(r===3)break}if(r!==3)return!1;r=0;for(let n of this.controls){let a=n.x-e.x;if(this.less(a,0,i))r=r|1;else if(this.greater(a,0,i))r=r|2;else{r=3;break}if(r===3)break}return r===3}getPercent(e,i=ji.eps){if(!this.isInRange(e,i))return null;let o=Number.POSITIVE_INFINITY,r=[[this,0,1]];for(;r.length!==0;){let n=function(g){d=Math.min(d,g),u=Math.max(u,g)},a=function(g,b){let y=KR(g,b);if(y===0)throw new Error("cnt === 0");for(let w=0;w<y;w+=2)n(Et[w])},[s,l,c]=r.pop();if(this.eqPP(s.start(),e,i))return l;if(this.eqPP(s.end(),e,i))return c;let d=Number.POSITIVE_INFINITY,u=Number.NEGATIVE_INFINITY,p=s.controls.map(g=>g.y-e.y);o=p.reduce((g,b)=>{let y=Math.abs(b);return y<g?y:g},o),o/=2,o<=i&&(o=i),p.forEach((g,b)=>{this.eq(g,0,i)&&n(b/(p.length-1))});let m=new Jt(new pi(0,-o),new pi(1,-o)),h=new Jt(new pi(0,o),new pi(1,o));for(let g=0;g<p.length-1;g++){let b=new pi(g/(p.length-1),p[g]),y=this.less(b.y,0,i)?1:this.greater(b.y,0,i)?2:3;for(let w=0;w<p.length;w++){let x=new pi(w/(p.length-1),p[w]),S=this.less(x.y,0,i)?1:this.greater(x.y,0,i)?2:3;y!==S&&(y===1?S===2?(a(new Jt(b,x),m),a(new Jt(b,x),h)):a(new Jt(b,x),m):y===2?S===1?(a(new Jt(b,x),m),a(new Jt(b,x),h)):a(new Jt(b,x),h):S===1?a(new Jt(b,x),m):a(new Jt(b,x),h))}}if(!isFinite(d)){if(Math.max(...p.map(g=>Math.abs(g)))<i*4)return(l+c)/2;continue}if(d!==0&&(s=s.clip(d)[1],l=(c-l)*d+l),u!==1){let g=(u-d)/(1-d);s=s.clip(g)[0],c=(c-l)*g+l}if(!s.isInRange(e,i))continue;let f=s.controls.reduce((g,b)=>g.ext2(b),new pS).build1();if(this.eq(f.minX,f.maxX,i)&&this.eq(f.minY,f.maxY,i))return(l+c)/2;if(u-d>.8){let[g,b]=s.clip(.5);g.isInRange(e,i)?(r.push([g,l,(l+c)/2]),b.isInRange(e,i)&&r.push([b,(l+c)/2,c])):r.push([b,(l+c)/2,c])}else r.push([s,l,c])}return null}toBezier(){return this}toString(){return"Bezier ["+this.controls.join(" ")+"]"}bbox(){return this._bbox||(this._bbox=new pS().ext3(this.points(.1)).build1()),this._bbox}bboxWithControls(){return this._bbox_controls||(this._bbox_controls=new pS().ext3(this.controls).build()),this._bbox_controls}multiply3(e){let i=new Array(this.controls.length);for(let o=0;o<this.controls.length;o++){let r=this.controls[o];i[o]=r.multiply3(e)}return new $x(i)}stroke(e,i,o,r=Sht){let n=eXo.zoomLines(gl.build4(this.points(r)),e);return o===0?n:n.reverse()}points(e){let i=[];return this.getBezierPoints(e,o=>i.push(o)),i}getBezierPoints(e,i){if(this.controls.length===2){i(this.start()),i(this.end());return}let o=[this];for(i(this.start());o.length!==0;){let n=o.pop(),a=new Jt(n.start(),n.end());if(r(n.controls,a)<=e)i(n.end());else{let[s,l]=n.clip(.5);o.push(l,s)}}function r(n,a){let s=a.start(),l=a.end();s.equals1(l)&&(l=s.add1(1,0));let c=l.y-s.y,d=s.x-l.x,u=-c*s.x-d*s.y,p=Math.sqrt(1/(c**2+d**2));c*=p,d*=p,u*=p;let m=n.map(h=>Math.abs(c*h.x+d*h.y+u));return Math.max(...m)}}getBezierPoints3(e,i){if(this.controls.length===2){i(this.start()),i(this.end());return}let o=e*e,r=this.controls[0],n=.5;for(;n>rXo&&!(r.distance2($x.pointOn(n,this.controls))<=o);n*=.5);let a=Math.ceil(1/n);n=1/a,i(r);let s=0;for(let l=1;l<a;l++)s+=n,i($x.pointOn(s,this.controls));i(this.end())}getPointsBySlope(e){if(this.controls.length===4)return this.getPointsBySlope4(e);throw new Error("Currently, only 4 control points are supported!")}getPointsBySlope4(e){let[i,o,r,n]=this.controls,a=-3*i.x+9*o.x-9*r.x+3*n.x,s=6*i.x-12*o.x+6*r.x,l=-3*i.x+3*o.x,c=[];if(Number.isFinite(e)){let d=-3*i.y+9*o.y-9*r.y+3*n.y,u=6*i.y-12*o.y+6*r.y,p=-3*i.y+3*o.y,m=d-a*e,h=u-s*e,f=p-l*e,g=-h/(2*m),b=Math.sqrt(h**2-4*m*f)/(2*m),y=g+b;y>=0&&y<=1&&c.push($x.pointOn(y,this.controls));let w=g-b;w>=0&&w<=1&&c.push($x.pointOn(w,this.controls))}else{let d=-s/(2*a),u=Math.sqrt(s**2-4*a*l)/(2*a),p=d+u;p>=0&&p<=1&&c.push($x.pointOn(p,this.controls));let m=d-u;m>=0&&m<=1&&c.push($x.pointOn(m,this.controls))}return c}buildConverxHull(e=ji.eps){let i=[...this.controls],o=[],r=i[0],n=1;do{let a=i[n%i.length];this.eqPP(r,a,e)||o.push(new Jt(r,a)),r=a,n++}while(r!==i[0]);if(o.length===0)throw Error("buildConverxHull(diff = DoubleKit.eps)");return gl.build7(o).asClose()}getExtremePoints(e){if(!e)return a(this.controls);let i=e.start(),o=e.end(),r=o.x-i.x,n=o.y-i.y;if(Math.abs(r)<=ji.eps||Math.abs(n)<=ji.eps)return a(this.controls);{let s=n/r;if(this.controls.length===3){i.equals1(o)&&(o=i.add1(1,0));let l=o.y-i.y,c=i.x-o.x,d=-l*i.x-c*i.y,u=Math.sqrt(1/(l**2+c**2));l*=u,c*=u,d*=u;let p=this.controls.map(f=>l*f.x+c*f.y+d),m=p[0]-2*p[1]+p[2],h=p[1]-p[0]-s/2;if(m!==0){let f=-h/m;if(ji.greater(f,0)&&ji.less(f,1))return[$x.pointOn(f,this.controls)]}}else if(this.controls.length===4)return this.getPointsBySlope(s)}return[];function a(s){let l,c;if(s.length===3){let[m,h,f]=s;l=RNe(m,h,f,"x"),c=RNe(m,h,f,"y")}else if(s.length===4){let[m,h,f,g]=s;l=_Ne(m,h,f,g,"x"),c=_Ne(m,h,f,g,"y")}l.sort((m,h)=>h-m),c.sort((m,h)=>h-m);let d=l.pop()||1,u=c.pop()||1,p=[];for(;d!==1||u!==1;)ji.eq(d,u)?(d=l.pop()||1,u=c.pop()||1):d<u?(p.push($x.pointOn(d,s)),d=l.pop()||1):(p.push($x.pointOn(u,s)),u=c.pop()||1);return p}}getToLineMaxDis2(e){let i=this.getExtremePoints(e),o=e.distance2(this.start()),r=e.distance2(this.end()),n=Math.max(o,r);return i.forEach(s=>a(e.distance2(s))),n;function a(s){n=Math.max(n,s)}}getToLineMinAndMaxDis_Controls(e){let i=e.start(),o=e.end();e.start().equals1(e.end())&&(o=i.add1(1,0));let r=o.y-i.y,n=i.x-o.x,a=-r*i.x-n*i.y,s=Math.sqrt(1/(r**2+n**2));r*=s,n*=s,a*=s;let l=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY;return this.controls.forEach(d=>{let u=r*d.x+n*d.y+a;u<l&&(l=u),u>c&&(c=u)}),{minDis:l,maxDis:c}}getPercentInLine(e){let i=[],o=[],r=this.controls,n=e.start(),a=e.end(),s=a.y-n.y,l=n.x-a.x,c=-s*n.x-l*n.y,d=Math.sqrt(1/(s**2+l**2));if(s*=d,l*=d,c*=d,s**2+l**2<=0)return i;if(r.length===3){let[u,p,m]=r,h=s*(u.x-2*p.x+m.x)+l*(u.y-2*p.y+m.y),f=2*(s*(p.x-u.x)+l*(p.y-u.y)),g=s*u.x+l*u.y+c;o=iXo(h,f,g)}else if(r.length===4){let[u,p,m,h]=r,f=h.sub(m.mul(3)).add(p.mul(3)).sub(u),g=u.sub(p.mul(2)).add(m).mul(3),b=p.sub(u).mul(3),y=u,w=s*f.x+l*f.y,x=s*g.x+l*g.y,S=s*b.x+l*b.y,T=s*y.x+l*y.y+c,M=Math.sqrt(1/(w**2+x**2));w*=M,x*=M,S*=M,T*=M,o=oXo(w,x,S,T)}else throw Error("not support getBeizerPointInLine");return o.forEach(u=>{u>=0&&u<=1&&i.push(u)}),i}reverse(){return new $x(this.controls.slice().reverse())}},Eie,hei=(Eie=class{constructor(){this.textCache=new Map,this.numCache=new Array(20),this.boxCache=new Array(4),this.textOffsetCache=new Array(9),this.BuildLineCache=new Array(7),this.BuildTrackCache=new Array(7),this.BuildViaCache=new Array(11),this.BuildBoxCache=new Array(10),this.BuildArcCache=new Array(10),this.BuildArcTrackCache=new Array(10),this.BuildTextCache=new Array(7),this.BuildPadStyleCache=new Array(4),this.BuildPadCache=new Array(12),this.ARRAY1=new Array(1),this.ARRAY2=new Array(2),this.ARRAY3=new Array(3),this.ARRAY4=new Array(4),this.ARRAY5=new Array(5),this.ARRAY6=new Array(6),this.ARRAY7=new Array(7),this.ARRAY8=new Array(8),this.ARRAY9=new Array(9),this.ARRAY10=new Array(10),this.ARRAY11=new Array(11),this.ARRAY12=new Array(12),this.textOffsetCache[0]=pi.ORIGIN,this.textOffsetCache[1]=new pi(0,-.5),this.textOffsetCache[2]=new pi(0,-1),this.textOffsetCache[3]=new pi(-.5,0),this.textOffsetCache[4]=new pi(-.5,-.5),this.textOffsetCache[5]=new pi(-.5,-1),this.textOffsetCache[6]=new pi(-1,0),this.textOffsetCache[7]=new pi(-1,-.5),this.textOffsetCache[8]=new pi(-1,-1)}static getCache(){return Eie.instance==null&&(Eie.instance=new Eie),Eie.instance}},Eie.instance=null,Eie),Jt=class Aie extends fwe{constructor(e,i){super(),this._a=null,this._b=null,this._c=null,this.__bbox=null,this._hashed=null,this._direct=null,this._start=e,this._end=i}get a(){return this._a===null&&(this._start.equals1(this._end)?(this._a=NaN,this._b=NaN,this._c=NaN):(this._a=this._end.y-this._start.y,this._b=this._start.x-this._end.x,this._c=this._end.x*this._start.y-this._start.x*this._end.y)),this._a}get b(){return this._b===null&&(this._start.equals1(this._end)?(this._a=NaN,this._b=NaN,this._c=NaN):(this._a=this._end.y-this._start.y,this._b=this._start.x-this._end.x,this._c=this._end.x*this._start.y-this._start.x*this._end.y)),this._b}get c(){return this._c===null&&(this._start.equals1(this._end)?(this._a=NaN,this._b=NaN,this._c=NaN):(this._a=this._end.y-this._start.y,this._b=this._start.x-this._end.x,this._c=this._end.x*this._start.y-this._start.x*this._end.y)),this._c}get hashed(){return this._hashed==null&&(this._hashed=this._hashCode()),this._hashed}get direct(){return this._direct==null&&(this._direct=this._end.sub(this._start).normalize()),this._direct}cutLine(e){if(ji.eq(this.distance(e),0)){let i=new Aie(this._start,e);return i._a=this._a,i._b=this._b,i._c=this._c,i}return new Aie(this._start,e)}get midPoint(){return this._start.add(this._end).mul(.5)}toBezier(){return new fr([this._start,this._end])}_hashCode(){let e=31,i=1;return i=e*i+this._start.hashCode(),i=e*i+this._end.hashCode(),i}start(){return this._start}end(){return this._end}center(){let e=this.start(),i=this.end();return e.add(i).mul(.5)}panDistance(e){let i=this._end.x-this._start.x,o=this._end.y-this._start.y,r=this.length();i=i*e/r,o=-o*e/r;let n=new pi(this._start.x+o,this._start.y+i),a=new pi(this._end.x+o,this._end.y+i);return new Aie(n,a)}isPoint(){return this._start.distance2(this._end)<=1e-8}length(){return this._start.distance1(this._end)}toString(){return"Line [start="+this._start+", end="+this._end+"]"}bbox(){if(this.__bbox==null){let e=hei.getCache().boxCache;e[0]=Math.min(this._start.x,this._end.x),e[1]=Math.max(this._start.x,this._end.x),e[2]=Math.min(this._start.y,this._end.y),e[3]=Math.max(this._start.y,this._end.y),this.__bbox=new _w(e[0],e[1],e[2],e[3])}return this.__bbox}multiply3(e){return new Aie(this._start.multiply3(e),this._end.multiply3(e))}hashCode(){return this.hashed}equals(e){let i=e;return this.hashed===i.hashed&&this._start.equals(i._start)&&this._end.equals(i._end)}equals1(e){let i=e;return this.hashed===i.hashed&&this._start.equals1(i._start)&&this._end.equals1(i._end)}equals2(e){let i=[this.start(),this.end()],o=[e.start(),e.end()];return b9(i,o)||b9(i,o.reverse())}stroke(e,i,o){let r,n,a;this._end.x<this._start.x?(n=this._start.x-this._end.x,a=this._start.y-this._end.y,r=this._end):(n=this._end.x-this._start.x,a=this._end.y-this._start.y,r=this._start);let s=Math.sqrt(n*n+a*a),l=e/2,c,d,u;i===2?(d=-l,u=s+l):(d=0,u=s),i===0||i===2?o===0?c=gl.build5([d,-l,d,l,u,l,u,-l]):c=gl.build5([d,l,d,-l,u,-l,u,l]):o===0?c=gl.build2([Pi.build3(new pi(d,0),-90,-180,l,l),Pi.build3(new pi(u,0),90,-180,l,l)]):c=gl.build2([Pi.build3(new pi(d,0),90,180,l,l),Pi.build3(new pi(u,0),-90,180,l,l)]);let p=Math.atan2(a,n),m=kd.rotate(p).translate1(r);return c.asClose().multiply3(m)}points(e){return[this._start,this._end]}mirrorY(e){return new Aie(this.start().mirrorY(e),this.end().mirrorY(e))}reverse(){return new Aie(this._end,this._start)}inArea(e,i,o){let r=e.x,n=e.y,a=this._start,s=this._end,l=o==1,c=r-a.x,d=n-a.y,u=r-s.x,p=n-s.y,m=s.x-a.x,h=s.y-a.y,f=new pi(-h,m).normalize(),g=m+f.x*i/2,b=h+f.y*i/2,y=g*g+b*b,w=c*c+d*d,x=u*u+p*p,S=Math.abs(c*h-d*m)/2,T=Math.sqrt(m*m+h*h)*i/4;if(S<=T&&w<=y&&x<=y){if(l)return!0;{let M=new pi(r,n).sub(s).normalize(),I=new pi(r,n).sub(a).normalize(),A=new pi(f.x,f.y).cross(M),D=new pi(f.x,f.y).cross(I);return A>=0&&D<=0}}else if(l){let M=i/2;return w<=M*M?!0:x<=M*M}else return!1}isParallel(e,i=!1){let o=ji.eq(Math.abs(this.direct.cross(e.direct)),0),r=!i||ji.greatereq(this.direct.dot(e.direct),0);return o&&r}distance2(e){return(this.a*e.x+this.b*e.y+this.c)**2/(this.a**2+this.b**2)}distance2ForPP(e){let{x:i,y:o}=e,{x:r,y:n}=this.start(),{x:a,y:s}=this.end();return((i-r)*(s-n)-(o-n)*(a-r))**2/((s-n)**2+(a-r)**2)}distance(e){return Math.abs(this.a*e.x+this.b*e.y+this.c)/Math.sqrt(this.a**2+this.b**2)}};function nXo(t,e=.05){if(t.length<3)return t.slice();let i=t.slice(0,1),o=(n,a,s)=>Bqo(n.x,n.y,a.x,a.y,s.x,s.y);for(;;){i=t.slice(0,1);for(let n=1;n<t.length-1;n+=2)o(t[n],t[n-1],t[n+1])>e&&i.push(t[n]),i.push(t[n+1]);if(i.at(-1).equals1(t.at(-1))||i.push(t.at(-1)),t.length==i.length)break;t=i}let r=t[t.length-1];return i.push(r),i}var aXo=fqo(gqo()),sXo=class{constructor(){this.fac=new pS,this.length=0,this.box=null,this.pt=null,this.i=0}calcBBox(t){for(this.fac.clear(),this.length=t.length,this.box=null,this.pt=null,this.i=0;this.i<this.length;this.i++)this.pt=t[this.i],this.box=this.pt.bbox(),this.fac.ext1(this.box);return this.fac.build1()}},lXo=new sXo,gl=class jh{constructor(e,i){this.__bbox=null,this.primitives=e,this.__bbox=i}static calcBBox(e){return lXo.calcBBox(e)}static build1(e){let i=[],o=null;return NNe(e,(r,n)=>{let a=n.start();return o!==null&&!a.equals(o)&&i.push(new Jt(o,a)),i.push(n),o=n.end(),!0}),i.length===0&&o!=null&&i.push(new Jt(o,o)),new jh(i)}static build2(e){return jh.build1(G1t(e))}static build3(e){let i=[],o=null;return NNe(e,(r,n)=>(o!==null&&i.push(new Jt(o,n)),o=n,!0)),new jh(i)}static build4(e){return this.build3(G1t(e))}static build5(e){let i=[];for(let o=0;o<e.length;o+=2)i.push(new pi(e[o],e[o+1]));return this.build4(i)}static build6(e){return jh.build4([e.LL(),e.LR(),e.UR(),e.UL(),e.LL()])}static build7(e){return new jh(e)}static build8(e){let i=new pi(e[0],e[1]),o,r=[],n,a=(s,l)=>s.length==l&&s.every(c=>typeof c=="number");for(let s=2;s<e.length;)switch(typeof e[s]=="string"?n=e[s]:s-=1,n){case"ARC":{let l=e.slice(s+1,s+4);if(!a(l,3))throw new Error("invalid rawData");let c=l[0];o=new pi(l[1],l[2]),r.push(Pi.build5(i,o,c)),i=o,s+=4;break}case"L":{let l=e.slice(s+1,s+3);if(!a(l,2))throw new Error("invalid rawData");o=new pi(l[0],l[1]),r.push(new Jt(i,o)),i=o,s+=3;break}case"C":{let l=e.slice(s+1,s+7);if(!a(l,7))throw new Error("invalid rawData");let c=new pi(l[0],l[1]),d=new pi(l[2],l[3]);o=new pi(l[4],l[5]),r.push(new fr([i,c,d,o])),i=o,s+=7;break}default:throw new Error("invalid rawData")}return jh.build2(r)}static buildBBox(e,i=0){return i===1?jh.build5([e.minX,e.minY,e.maxX,e.minY,e.maxX,e.maxY,e.minX,e.maxY,e.minX,e.minY]):jh.build5([e.minX,e.minY,e.minX,e.maxY,e.maxX,e.maxY,e.maxX,e.minY,e.minX,e.minY])}static triangulate(e,i,o=1){if(e.length===1){let l=new Array;e[0].asClose().points2(o,p=>l.push(p));let c,d=l[0],u=[];for(let p=0;p<l.length-2;p+=2){let m=l[p+1],h=l[p+2],f=m.sub(d).normalize().cross(h.sub(d).normalize());if(ji.neq(f,0)){if(c===!0){if(f<0){u.length=0;break}}else if(c===!1){if(f>0){u.length=0;break}}else c=f>0;u.push(d),u.push(m),u.push(h)}l.push(d),d=h}if(u.length!==0){for(let p=0;p<u.length;p+=3)i(u[p],u[p+1],u[p+2]);return}}let r=[],n=[];e.forEach(l=>{r.length!==0&&n.push(r.length/2),l.asClose().points2(o,c=>r.push(c.x,c.y))});let a=aXo.default(r,n),s=[];for(let l=1;l<r.length;l+=2)s.push(new pi(r[l-1],r[l]));for(let l=0;l<a.length;l+=3)i(s[a[l]],s[a[l+1]],s[a[l+2]])}lines(e,i){let o=new Array;this.points(e,n=>o.push(n));let r=o[0];for(let n=1;n<o.length;n++){let a=o[n];i(r),i(a),r=a}}triangles(e,i){jh.triangulate([this],(...o)=>{o.forEach(r=>i(r))},e)}mirror(){let e=[];return this.primitives.forEach(i=>{if(i instanceof Jt)i=new Jt(i.start().mirror(),i.end().mirror());else if(i instanceof Pi)i=i.mirror();else if(i instanceof fr){let o=i.controls.map(r=>r.mirror());i=new fr(o)}else throw new Error("bug");e.push(i)}),new jh(e,this.__bbox)}getPoints(e){let i=[];for(let o of this.primitives)for(let r of o.points(e))i.push(r);return i}round(e=4){let i=this.primitives.slice();for(let o=0;o<i.length;o++){let r=i[o];if(r instanceof Jt){let n=r.start().round(e),a=r.end().round(e);i[o]=new Jt(n,a)}else if(r instanceof fr){let n=r.controls.map(a=>a.round(e));i[o]=new fr(n)}else if(r instanceof Pi){let n=r.start().round(e),a=r.end().round(e),s=r.sweepAngle;i[o]=Pi.build5(n,a,s)}}return new jh(i,this.__bbox)}simplify(e=.05){let i=[],o=!1,r=[],n=this.closed();if(this.primitives.length<=1)return jh.build2(this.primitives);let a=()=>{if(r.length>2){let l=nXo(r,e);for(let c=1;c<l.length;c++)i.push(new Jt(l[c-1],l[c]))}else i.push(new Jt(r[0],r[1]));r.length=0,o=!1};for(let l=0;l<this.primitives.length;l++){let c=this.primitives[l];c instanceof Jt?(o?r.push(c.end()):(r.length=0,r.push(c.start(),c.end()),o=!0),l===this.primitives.length-1&&a()):(o&&a(),i.push(c))}let s=new jh(i,this.__bbox);return n&&!s.closed()&&(s=s.asClose()),s}hasBackLine(){let{primitives:e}=this,i;for(let o=0;o<e.length;o++){let r=e[o];if(r instanceof Jt){if(r.end().equals1(r.start()))continue;if(i&&(r.end().equals1(i.start())||zqo(r.end(),i.start(),i.end())))return!0;i=r}else i=null}return!1}area(e=.1){let i=0,o=this.end();return this.primitives.forEach(r=>{let n=r.start(),a=r.end();if(i+=(n.x+o.x)*(n.y-o.y),r instanceof Jt)i+=(a.x+n.x)*(a.y-n.y);else if(r instanceof Pi)i+=(a.x+n.x)*(a.y-n.y),i+=Math.PI*r.rx2*r.sweepAngle/180-pi.normal(r.center,r.start(),r.end());else if(r instanceof fr){let s=n;r.points(e).forEach(l=>{i+=(l.x+s.x)*(l.y-s.y),s=l}),i+=(a.x+s.x)*(a.y-s.y)}o=a}),i/2}closed(e){return this.primitives.length===0?!1:this.start().equals(this.end(),e)}asClose(){let e=this.primitives[0],i=this.primitives[this.primitives.length-1],o=e.start(),r=i.end();if(o.equals(r))return this;{let n=new Array;return jw.addAll(n,this.primitives),n.push(new Jt(r,o)),jh.build2(n)}}closeEndpoint(){let e=this.primitives[0],i=this.primitives[this.primitives.length-1],o=e.start(),r=i.end();if(o.equals1(r))return this;{let n=new Array;return jw.addAll(n,this.primitives),n.push(new Jt(r,o)),new jh(n)}}reverse(){let e=new Array(this.primitives.length);for(let i=0,o=this.primitives.length-1;o>=0;i++,o--){let r=this.primitives[o];if(r instanceof Jt)r=new Jt(r.end(),r.start());else if(r instanceof Pi)r=r.exchangeSweep();else if(r instanceof fr)r=new fr(r.controls.slice().reverse());else throw new Error("bug");e[i]=r}return new jh(e,this.__bbox)}reverse1(){let e=new Array(this.primitives.length);for(let i=0,o=this.primitives.length-1;o>=0;i++,o--){let r=this.primitives[o];if(r instanceof Jt)r=new Jt(r.end(),r.start());else if(r instanceof Pi)r=r.exchangeSweep1();else if(r instanceof fr)r=new fr(r.controls.slice().reverse());else throw new Error("bug");e[i]=r}return new jh(e,this.__bbox)}mirrorY(e){let i=[];return this.primitives.forEach(o=>{if(o instanceof Jt)o=o.mirrorY(e);else if(o instanceof Pi)o=o.mirrorY(e);else if(o instanceof fr){let r=o.controls.map(n=>n.mirrorY(e));o=new fr(r)}else throw new Error("bug");i.push(o)}),new jh(i,this.__bbox)}points(e,i){if(this.primitives.length!==0){for(let o=0;o<this.primitives.length-1;o++){let r=this.primitives[o].points(e);r.pop(),r.forEach(n=>i(n))}this.primitives[this.primitives.length-1].points(e).forEach(o=>i(o))}}points1(e,i){if(this.primitives.length===0)return;for(let r=0;r<this.primitives.length-1;r++){let n=this.primitives[r],a=n instanceof Pi?n.points1(e):n.points(e);a.pop(),a.forEach(s=>i(s))}let o=this.primitives[this.primitives.length-1];(o instanceof Pi?o.points1(e):o.points(e)).forEach(r=>i(r))}points2(e,i){if(this.primitives.length===0)return;for(let r=0;r<this.primitives.length-1;r++){let n=this.primitives[r],a=n instanceof Pi?n.points2():n.points(e);a.pop(),a.forEach(s=>i(s))}let o=this.primitives[this.primitives.length-1];(o instanceof Pi?o.points2():o.points(e)).forEach(r=>i(r))}multiply3(e){let i=new Array(this.primitives.length);for(let o=0;o<this.primitives.length;o++)i[o]=this.primitives[o].multiply3(e);return jh.build7(i)}bbox(){return this.__bbox==null&&(this.__bbox=jh.calcBBox(this.primitives)),this.__bbox}start(){return this.primitives.length!==0?this.primitives[0].start():null}end(){return this.primitives.length!==0?this.primitives[this.primitives.length-1].end():null}isClose(e){if(this.primitives.length<=1&&!(this.primitives[0]instanceof Pi))return!1;{let i=this.primitives[0],o=this.primitives[this.primitives.length-1];return i.start().equals(o.end(),e)}}isEqual(e){if(e instanceof jh&&e.primitives.length==this.primitives.length){let i=e.primitives.length;for(let o=0;o<i;o++){let r=e.primitives[o],n=this.primitives[o];if(JSON.stringify(r)!=JSON.stringify(n))return!1}return!0}return!1}equals(e){if(!e)return!1;let i=this.primitives,o=e.primitives;if(i.length!=o.length)return!1;if(e.isClose()){let r=0;for(;r<i.length;){let n=i.slice(r).concat(i.slice(0,r));if(b9(n,o)||b9(n.reverse(),o))return!0;r++}return!1}else return b9(this.primitives,e.primitives)}clone(){return jh.build2(this.primitives)}putItem(e,i){if(!e)return!1;if(e instanceof jh)return this.mergePolyline(e,i);let o=this.start();if(!o){this.primitives.push(e),this.__bbox=e.bbox();return}let r=this.end();if(o.equals(r,i))return!1;let n=e.start(),a=e.end(),s=!1,l=!1;if(o.equals(n,i))s=!0,l=!1;else if(o.equals(a,i))s=!1,l=!1;else if(r.equals(n,i))s=!1,l=!0;else if(r.equals(a,i))s=!0,l=!0;else return!1;return l?this.primitives.push(s?e.reverse():e):this.primitives.unshift(s?e.reverse():e),this.__bbox=_w.extend2(this.__bbox,e.bbox()),!0}mergePolyline(e,i,o=0){if(!e)return!1;let r=this.start();if(!r){this.primitives.push(...e.primitives),this.__bbox=e.bbox();return}let n=this.end();if(r.equals(n,i))return!1;let a=e.start(),s=e.end(),l=!1,c=!1;if(r.equals(a,i))l=!0,c=!1;else if(r.equals(s,i))l=!1,c=!1;else if(n.equals(a,i))l=!1,c=!0;else if(n.equals(s,i))l=!0,c=!0;else return!1;let d=l?e.reverse():e;return c?this.primitives.push(...d.primitives):this.primitives.unshift(...d.primitives),this.__bbox=_w.extend2(this.__bbox,e.bbox()),!0}deDuplicationPoint(e){let i=this.primitives[this.primitives.length-1].start(),o=this.primitives[this.primitives.length-1].end(),r=e.primitives[0].start(),n=e.primitives[0].end();if(this.primitives[this.primitives.length-1]instanceof Jt&&e.primitives[0]instanceof Jt&&Wqo([i,o],[r,n])){this.primitives.pop(),e.primitives.shift();let a=[];a.push(new Jt(i,n)),this.primitives.push(...a)}}getMaxBBoxHeightByVec(e){let i=e.normalize(),o=-1/0,r=1/0;if(this.primitives.forEach(a=>{let s=a.start().dot(i),l=a.end().dot(i);if(n(s),n(l),a instanceof Pi){let c=e.angleD(pi.ORIGIN);if(a.angleIsInArc(c)){let d=a.pointOn(c).dot(i);n(d)}if(a.angleIsInArc(c+180)){let d=a.pointOn(c-180).dot(i);n(d)}}}),o-r<=0)throw new Error("getMaxBBoxHeightByVec");return o-r;function n(a){a>o&&(o=a),a<r&&(r=a)}}getWindingNum(e){let i=this.end(),o=0,{x:r,y:n}=e;for(let s of this.primitives){if(i.y>n?s.bbox().minY>n:s.bbox().maxY<=n){i=s.end();continue}if(s instanceof Pi&&(s.isCCW?Math.floor(s.startAngle/90)+1!==Math.ceil(s.endAngle()/90):Math.ceil(s.startAngle/90)-1!==Math.floor(s.endAngle()/90))){let l=s.startAngle,c=s.endAngle();if(s.sweepAngle>0){let d=90;for(;d<=c;)d>l&&(a(Pi.build3(s.center,l,d-l,s.rx,s.ry)),l=d),d+=90;l<c&&a(Pi.build3(s.center,l,c-l,s.rx,s.ry))}else{let d=270;for(;d>=c;)d<l&&(a(Pi.build3(s.center,l,d-l,s.rx,s.ry)),l=d),d-=90;l>c&&a(Pi.build3(s.center,l,c-l,s.rx,s.ry))}}else if(s instanceof fr){let l=[];mei(s,l),l.forEach(c=>a(c))}else a(s)}return o;function a(s){let l=s.start(),c=s.end();if(i.y>n!=l.y>n&&(i.x>r?l.x>r?o+=l.y>i.y?1:-1:i.y>l.y?(i.x-r)*(l.y-n)-(i.y-n)*(l.x-r)<0&&o--:(i.x-r)*(l.y-n)-(i.y-n)*(l.x-r)>0&&o++:l.x>r&&(i.y>l.y?(i.x-r)*(l.y-n)-(i.y-n)*(l.x-r)<0&&o--:(i.x-r)*(l.y-n)-(i.y-n)*(l.x-r)>0&&o++)),l.y>n!=c.y>n){if(l.x>r)if(c.x>r)o+=c.y>l.y?1:-1;else if(s instanceof Jt)l.y>c.y?(l.x-r)*(c.y-n)-(l.y-n)*(c.x-r)<0&&o--:(l.x-r)*(c.y-n)-(l.y-n)*(c.x-r)>0&&o++;else if(s instanceof Pi){let{center:d,isCCW:u,rx2:p}=s,m=(d.x-r)**2+(d.y-n)**2;l.y>c.y?(u?m>p:m<p)&&o--:(u?m<p:m>p)&&o++}else if(s instanceof fr){if(GXt(s,n)===0)throw new Error("no inters");Et[0]>r&&(o+=c.y>l.y?1:-1)}else throw new Error("not support!");else if(c.x>r)if(s instanceof Jt)l.y>c.y?(l.x-r)*(c.y-n)-(l.y-n)*(c.x-r)<0&&o--:(l.x-r)*(c.y-n)-(l.y-n)*(c.x-r)>0&&o++;else if(s instanceof Pi){let{center:d,isCCW:u,rx2:p}=s,m=(d.x-r)**2+(d.y-n)**2;l.y>c.y?(u?m>p:m<p)&&o--:(u?m<p:m>p)&&o++}else if(s instanceof fr){if(GXt(s,n)===0)throw new Error("no inters");Et[0]>r&&(o+=c.y>l.y?1:-1)}else throw new Error("not support!")}i=c}}},aNe=Math.PI*2,e2n=Math.PI/2,t2n=Math.sin(Math.PI/180),cXo=4,Pi=class D0 extends fwe{constructor(e,i,o,r,n){super(),this._rx2=null,this._ry2=null,this._svgEnd=null,this._hashed=null,this.__bbox=null,this.rx=e,this.ry=i,this.center=o,this.startAngle=r,this.sweepAngle=n,this._start=pi.ORIGIN,this._end=pi.ORIGIN,this._start=this.pointOn(r),this._end=this.pointOn(r+n)}get hashed(){return this._hashed==null&&(this._hashed=this._hashCode()),this._hashed}hashCode(){return this.hashed}_hashCode(){let e=31,i=1;return i=e*i+new pi(this.rx,this.rx).hashCode(),i=e*i+this.center.hashCode(),i=e*i+new pi(this.startAngle,this.sweepAngle).hashCode(),i}get rx2(){return this._rx2==null&&(this._rx2=this.rx*this.rx),this._rx2}get ry2(){return this._ry2==null&&(this._ry2=this.ry*this.ry),this._ry2}get svgEnd(){return this._svgEnd==null&&(this._svgEnd=this.getSvgEnd(this.startAngle,this.sweepAngle,this._start,this._end)),this._svgEnd}getSvgEnd(e,i,o,r){let n=i>=0?-.01:.01,a=e+i;for(;(i>=0&&a>e||i<0&&a<e)&&o.distance2(r)<2e-4;)n*=2,a+=n,r=this.pointOn(a);return r}static build1(e,i,o,r,n,a){Tp.positive(o),Tp.positive(r);let s=e.equals(i);if(s)return new D0(o,r,e,0,n?360:0);{let l=e.x,c=-e.y,d=i.x,u=-i.y,p=a===0,m=(l-d)/2,h=(c-u)/2,f=Math.cos(0),g=Math.sin(0),b=f*m+g*h,y=-g*m+f*h;o=Math.abs(o),r=Math.abs(r);let w=o*o,x=r*r,S=b*b,T=y*y,M=n===p?-1:1,I=(w*x-w*T-x*S)/(w*T+x*S);I=I<0?0:I;let A=M*Math.sqrt(I),D=A*(o*y/r),E=A*-(r*b/o),N=(l+d)/2,R=(c+u)/2,v=N+(f*D-g*E),k=R+(g*D+f*E),P=(b-D)/o,O=(y-E)/r,_=(-b-D)/o,j=(-y-E)/r,B,V;V=Math.sqrt(P*P+O*O),B=P,M=O<0?-1:1;let G=Qa.toDegrees(M*Math.acos(B/V));V=Math.sqrt((P*P+O*O)*(_*_+j*j)),B=P*_+O*j,M=P*j-O*_<0?-1:1;let Q=B/V,H;Q<-1?H=Math.acos(-1):Q>1?H=Math.acos(1):H=Math.acos(Q);let q=Qa.toDegrees(M*H);!p&&q>0?q-=360:p&&q<0&&(q+=360),Tp.normal(G),Tp.normal(q);let U=m*m/w+h*h/x,F=e.distance1(i)/2;o<F&&r<F&&(o*=Math.sqrt(U),r*=Math.sqrt(U));let K=s?0:Qa.regularD(-G),te=s?n?360:0:-q;return new D0(o,r,new pi(v,-k),K,te)}}static build2(e,i,o,r,n,a){Tp.positive(r),Tp.positive(n),Tp.normal(i),Tp.normal(o);let s;return i===o?(i=Qa.regularD(i),o=Qa.regularD(o),s=0):(i=Qa.regularD(i),o=Qa.regularD(o),a===1?o<=i&&(o+=360):o>=i&&(i+=360),s=o-i),new D0(r,n,e,Qa.regularD(i),s)}static build3(e,i,o,r,n){return Tp.positive(r),Tp.positive(n),Tp.normal(o),new D0(r,n,e,Qa.regularD(i),o)}static build4(e,i,o,r,n,a){let s=e.angleD(o),l=i.angleD(o);return D0.build2(o,s,l,r,n,a)}static build5(e,i,o){o=Qa.toRadians(o);let r=i.sub(e),n=new pi(-r.y,r.x).normalize(),a=Math.abs(o)/2,s;if(a!=0)s=r.length()/2/Math.sin(a);else throw new Error("Can't represent circle!!!");let l=n.rotate(pi.ORIGIN,a),c,d;o>0?(c=1,d=i.add(l.scale(s))):(c=0,d=e.sub(l.scale(s)));let u=Qa.toDegrees(e.angle(d)),p=Qa.toDegrees(i.angle(d));return D0.build2(d,u,p,s,s,c)}static buildCircle(e,i,o=0){return D0.build2(e,0,360,i,i,o)}start(){return this._start}end(){return this._end}isLarge(){return Math.abs(this.sweepAngle)>180}sweep(){return this.sweepAngle>=0?1:0}get isCCW(){return this.sweepAngle>=0}endAngle(){return this.startAngle+this.sweepAngle}pointOn(e){e=Qa.regularD(e);let i=this.rx,o=this.ry;if(e===0)return this.center.add1(i,0);if(e===90)return this.center.add1(0,o);if(e===180)return this.center.add1(-i,0);if(e===270)return this.center.add1(0,-o);{let r=this.rx2,n=this.ry2,a=Math.tan(Qa.toRadians(e)),s=a*a,l=Math.sqrt(r*n/(r+n/s)),c=Math.sqrt(r*n/(n+r*s));return e>90&&e<270&&(c=-c),e>180&&e<360&&(l=-l),isNaN(c)&&(c=0),isNaN(l)&&(l=0),this.center.add1(c,l)}}exchangeSweep(){return D0.build3(this.center,this.startAngle+this.sweepAngle,-this.sweepAngle,this.rx,this.ry)}exchangeSweepAndStart(){return D0.build1(this.end(),this.start(),this.rx,this.ry,this.isLarge(),this.sweepAngle>=0?0:1)}exchangeSweep1(){return D0.build3(this.center,this.startAngle+this.sweepAngle,-this.sweepAngle+.01,this.rx,this.ry)}mirrorY(e){let i=this.start(),o=this.end();return i.equals(o)?D0.build3(this.center.mirrorY(),0,360,this.rx,this.ry):D0.build1(i.mirrorY(e),o.mirrorY(e),this.rx,this.ry,this.isLarge(),this.sweepAngle>=0?0:1)}mirror(e=pi.ORIGIN){let i=this.start(),o=this.end();return i.equals(o)?D0.build3(this.center.mirror(e),0,360,this.rx,this.ry):D0.build1(i.mirror(e),o.mirror(e),this.rx,this.ry,this.isLarge(),this.sweep())}sectorArea(){return Math.abs(this.sweepAngle)/360*Math.PI*this.rx*this.ry}area(){let e=Y1t.area(this.center,this._start,this.pointOn(this.endAngle()));return this.sectorArea()-e}multiply3(e){let i;e.isMirrored()?i=-this.sweepAngle:i=this.sweepAngle;let o;return e.equals(kd.ROT_90)?o=Qa.regularD(this.startAngle+90):e.equals(kd.ROT_N90)?o=Qa.regularD(this.startAngle-90):o=Qa.transformD(this.startAngle,e),D0.build3(this.center.multiply3(e),o,i,e.iScale*this.rx,e.iScale*this.ry)}angleIsInArc(e){return e=Qa.regularD(e),this.sweepAngle>0?(e<this.startAngle&&(e+=360),this.endAngle()>e):(e>this.startAngle&&(e-=360),this.endAngle()<e)}toBezier(){if(Math.abs(this.sweepAngle)>90)throw new Error("not support!");let e=this.start(),i=this.end(),o=Qa.toRadians(this.sweepAngle)/2,r=4/3*(1-Math.cos(o))/Math.sin(o)*this.rx;return new fr([e,e.add(new pi(r,0).multiply3(kd.rotateD(this.startAngle+90))),i.add(new pi(r,0).multiply3(kd.rotateD(this.endAngle()-90))),i])}toBezier2(){let e=[];o(this,90);let i=[];return e.forEach(r=>i.push(r.toBezier())),i;function o(r,n){if(Math.abs(r.sweepAngle)>n){let a=r.sweepAngle/2;o(D0.build3(r.center,r.startAngle,a,r.rx,r.ry),n),o(D0.build3(r.center,r.startAngle+a,a,r.rx,r.ry),n)}else e.push(r)}}buildBBox(){let e=hei.getCache().boxCache,i=this.startAngle+this.sweepAngle;if(e[0]=Math.min(this._start.x,this._end.x),e[1]=Math.max(this._start.x,this._end.x),e[2]=Math.min(this._start.y,this._end.y),e[3]=Math.max(this._start.y,this._end.y),this.sweepAngle>0){let o=0;for(;o<i;){if(o>this.startAngle){let r=this.pointOn(o);e[0]=Math.min(e[0],r.x),e[1]=Math.max(e[1],r.x),e[2]=Math.min(e[2],r.y),e[3]=Math.max(e[3],r.y)}o+=90}}else if(this.sweepAngle<0){let o=360;for(;o>i;){if(o<this.startAngle){let r=this.pointOn(o);e[0]=Math.min(e[0],r.x),e[1]=Math.max(e[1],r.x),e[2]=Math.min(e[2],r.y),e[3]=Math.max(e[3],r.y)}o-=90}}return new _w(e[0],e[1],e[2],e[3])}bbox(){return this.__bbox==null&&(this.__bbox=this.buildBBox()),this.__bbox}length(){return Math.abs(this.rx*this.sweepAngle*Math.PI/180)}toString(){return Cde.format("Arc [start=%s, end=%s, rx=%s, ry=%s, center=%s, startAngle=%s, sweepAngle=%s]",this._start,this._end,this.rx,this.ry,this.center,this.startAngle,this.sweepAngle)}stroke(e,i,o){let r=e/2,n=this.rx+r,a=this.ry+r,s=this.rx-r,l=this.ry-r,c=new kd;s<0&&(s=-s,c=c.multiply3(kd.MIRROR_Y)),l<0&&(l=-l,c=c.multiply3(kd.MIRROR_X)),s===0&&(s=.001),l===0&&(l=.001),c=c.setOrigin1(this.center);let d,u;switch(o===this.sweep()?(d=D0.build3(this.center,this.startAngle,this.sweepAngle,n,a),u=D0.build3(this.center,this.startAngle+this.sweepAngle,-this.sweepAngle,s,l)):(d=D0.build3(this.center,this.startAngle+this.sweepAngle,-this.sweepAngle,n,a),u=D0.build3(this.center,this.startAngle,this.sweepAngle,s,l)),u=u.multiply3(c),i){case 1:{let p=o===1?180:-180,m=o===this.sweep()?this.pointOn(this.endAngle()):this.pointOn(this.startAngle),h=o===this.sweep()?this.pointOn(this.startAngle):this.pointOn(this.endAngle()),f=d.pointOn(d.endAngle()).angleD(m),g=u.pointOn(u.endAngle()).angleD(h);return gl.build2([d,D0.build3(m,f,p,r,r),u,D0.build3(h,g,p,r,r)])}default:return gl.build2([d,u])}}points2(){let e=Math.ceil(Math.abs(this.sweepAngle)/cXo),i=this.sweepAngle/e,o=[this._start];for(let r=1;r<e;r++)o.push(this.pointOn(this.startAngle+i*r));return o.push(this._end),o}points1(e){let i=Math.max(this.rx,this.ry);if(i<=e)return[this.start(),this.svgEnd];let o=(i-e)/i,r=Math.ceil(Math.abs(this.sweepAngle/Qa.toDegrees(Math.acos(o))/2)),n=new Array(r+1),a=this.sweepAngle/r,s=this.startAngle;for(let l=0;l<=r;l++,s+=a)n[l]=this.pointOn(s);return n}points(e){let i=Math.max(this.rx,this.ry);if(e=Math.abs(e),i<=e)return[this.start(),this.svgEnd];e=Math.max(e,i*1e-5),e=Math.min(e,i*(1-Math.SQRT1_2));let o=(i-e)/i,r=Math.ceil(Math.abs(this.sweepAngle/Qa.toDegrees(Math.acos(o))/2));r=Math.max(r,2);let n=new Array(r+1),a=this.sweepAngle/r,s=this.startAngle+a;n[0]=this.start();for(let l=1;l<r;l++,s+=a)n[l]=this.pointOn(s);return n[r]=this.end(),n}panDistance(e){return this.sweepAngle>0?new D0(this.rx-e,this.ry-e,this.center,this.startAngle,this.sweepAngle):new D0(this.rx+e,this.ry+e,this.center,this.startAngle,this.sweepAngle)}panDistance1(e){if(this.sweepAngle>0){let i=this.rx-e;return i<0?(i=Math.abs(i),D0.build3(this.center,this.startAngle-180,this.sweepAngle,i,i)):new D0(i,i,this.center,this.startAngle,this.sweepAngle)}else{let i=this.rx+e;return i<0?(i=Math.abs(i),D0.build3(this.center,this.startAngle-180,this.sweepAngle,i,i)):new D0(i,i,this.center,this.startAngle,this.sweepAngle)}}get bulge(){let e=Math.abs(_qo(this.sweepAngle,3))/180*Math.PI;return Math.tan(e/4)}get midPoint(){let e=Qa.toRadians(this.startAngle),i=Qa.toRadians(this.endAngle()),o=this.sweep(),r=this.center,n=this.rx;if(o==1)if(i>e){let a=(i-e)/2+e;return r.add(new pi(Math.cos(a),Math.sin(a)).mul(n))}else{if(i==e)return r.add(new pi(Math.cos(Math.PI*3/2),Math.sin(Math.PI*3/2)).mul(n));{let a=(i+aNe-e)/2+e;return r.add(new pi(Math.cos(a),Math.sin(a)).mul(n))}}else if(i>e){let a=(e+aNe-i)/2+i;return r.add(new pi(Math.cos(a),Math.sin(a)).mul(n))}else{if(i==e)return r.add(new pi(Math.cos(Math.PI*3/2),Math.sin(Math.PI*3/2)).mul(n));{let a=(e-i)/2+i;return r.add(new pi(Math.cos(a),Math.sin(a)).mul(n))}}}get svgPathData(){return[{type:"M",values:[this._start.x,this._start.y]},{type:"A",values:[this.rx,this.ry,0,this.isLarge()?1:0,this.isCCW,this._end.x,this._end.y]}]}equals(e){let i=Qa.regularD(this.startAngle),o=Qa.regularD(this.sweepAngle),r=Qa.regularD(e.startAngle),n=Qa.regularD(e.sweepAngle);return b9([this.rx,this.ry,this.center,Math.abs(o)],[e.rx,e.ry,e.center,Math.abs(n)])&&(b9([o,i],[n,r])||b9([Qa.regularD(i+o)],[r]))}equals1(e){let i=Qa.regularD(this.startAngle),o=Qa.regularD(this.sweepAngle),r=Qa.regularD(e.startAngle),n=Qa.regularD(e.sweepAngle);return b9([this.rx,this.ry,this.center,Math.abs(o)],[e.rx,e.ry,e.center,Math.abs(n)])&&(b9([o,i],[n,r])||b9([Qa.regularD(i+o)],[r]))}inArea(e,i){let o=e.x,r=e.y,n=this.center,a=this.rx,s=Qa.toRadians(this.startAngle);this.sweep()==0&&(s=Qa.toRadians(this.endAngle()));let l=Qa.toRadians(this.endAngle());this.sweep()==0&&(l=Qa.toRadians(this.startAngle));let c=a-i/2,d=a+i/2;var u=o-n.x,p=r-n.y,m=Math.atan2(p,u);if(m<0&&(m+=aNe),s<=l&&m>=s&&m<=l||s>l&&(m>=s&&m<=aNe||m>=0&&m<=l)||s==l){var h=Math.sqrt(u*u+p*p);return h<=d&&h>=c}else{var h=(d+c)/2,f=new pi(n.x+Math.cos(s)*h,n.y+Math.sin(s)*h),g=new pi(n.x+Math.cos(l)*h,n.y+Math.sin(l)*h),b=o-f.x,y=r-f.y,w=o-g.x,x=r-g.y;return b*b+y*y<=i*i/4?!0:w*w+x*x<=i*i/4}}isCircle(){return(ji.eq(Math.abs(this.sweepAngle),360)||this._start.equals1(this._end))&&this.rx==this.ry}reverse(){return D0.build3(this.center,this.endAngle(),-this.sweepAngle,this.rx,this.ry)}getAngle(){let e=Math.PI*2;return this.sweep()==1?(this.endAngle()-this.startAngle+e)%e:(this.startAngle-this.endAngle()+e)%e}isValid(){return this.rx>0&&this.ry>0}},fei=new ArrayBuffer(24),p1t=new Float64Array(fei),ade=new Int32Array(fei),qy,i2n=(qy=class{static normal(t,e,i){let o=e.sub(t),r=i.sub(e);return o.cross(r)}constructor(t,e,i){this.x=Tp.normal(t),this.y=Tp.normal(e),this.z=Tp.normal(i),p1t[0]=t,p1t[1]=e,p1t[2]=i,this.hashed=ade[0]^ade[1]^ade[2]^ade[3]^ade[4]^ade[5]}isZeroVector(){return this.x===0&&this.y===0&&this.z===0}hashCode(){return this.hashed}equals(t){return t instanceof qy?t.x===this.x&&t.y===this.y&&t.z===this.z:!1}cross(t){return new qy(this.y*t.z-this.z*t.y,this.z*t.x-this.x*t.z,this.x*t.y-this.y*t.x)}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}normalize(){var t=this.length();return new qy(this.x/t,this.y/t,this.z/t)}sub(t){return new qy(this.x-t.x,this.y-t.y,this.z-t.z)}add(t){return new qy(this.x+t.x,this.y+t.y,this.z+t.z)}scale(t){return new qy(this.x*t,this.y*t,this.z*t)}neg(){return new qy(-this.x,-this.y,-this.z)}multiply4(t){var e=this.x*t.data[0]+this.y*t.data[4]+this.z*t.data[8]+t.data[12],i=this.x*t.data[1]+this.y*t.data[5]+this.z*t.data[9]+t.data[13],o=this.x*t.data[2]+this.y*t.data[6]+this.z*t.data[10]+t.data[14],r=this.x*t.data[3]+this.y*t.data[7]+this.z*t.data[11]+t.data[15];return r!=0?new qy(e/r,i/r,o/r):new qy(e,i,o)}rotate(t,e){return this.multiply4(cei.rotateAxis(t,e))}toVector2(){return new pi(this.x,this.y)}},qy.ORIGIN=new qy(0,0,0),qy.X_UNIT_VECTOR=new qy(1,0,0),qy.Y_UNIT_VECTOR=new qy(0,1,0),qy.Z_UNIT_VECTOR=new qy(0,0,1),qy),eh=class hde{static build(e){return e instanceof gl?new hde([new kg([e])]):e instanceof kg?new hde([e]):e}static buildByPolygon(e){return e?new hde([e]):new hde([])}static buildByStroke(e,i,o=1,r){return this.buildByPolygon(kg.buildByStroke(e,i,o,Sht,r))}static buildCircle(e,i){return this.buildByPolygon(kg.buildCircle(e,i))}static buildRect(e){return this.buildByPolygon(kg.buildRect(e))}static buildBBox(e){return this.buildByPolygon(kg.buildBBox(e))}constructor(e){this.items=e.slice()}multiply3(e){return new hde(this.items.map(i=>i.multiply3(e)))}bbox(){return this._bbox||(this._bbox=this.items.reduce((e,i)=>e.ext1(i.bbox()),new pS).build1()),this._bbox}toPolylineGroups(){return this.items.map(e=>e.toPolylineGroup())}},v0,id=(v0=class{static isHexFormate(t){return!t||typeof t!="string"?!1:/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)}static of1(t){return this.of2(t>>16&255,t>>8&255,t&255)}static of2(t,e,i,o=255){return new v0(t/255,e/255,i/255,o/255)}static of3(t){t.startsWith("#")&&(t=t.substr(1));let e=t.length;if(e==3)return new v0(parseInt(t[0],16)/15,parseInt(t[1],16)/15,parseInt(t[2],16)/15);if(e==6)return new v0(parseInt(t.substr(0,2),16)/255,parseInt(t.substr(2,2),16)/255,parseInt(t.substr(4,2),16)/255);if(e==8)return new v0(parseInt(t.substr(0,2),16)/255,parseInt(t.substr(2,2),16)/255,parseInt(t.substr(4,2),16)/255,parseInt(t.substr(6,2),16)/255);throw new Error("invalid color string")}static of4(t){let e=parseInt(t.r*255+"").toString(16),i=parseInt(t.g*255+"").toString(16),o=parseInt(t.b*255+"").toString(16);return e.length<2&&(e="0"+e),i.length<2&&(i="0"+i),o.length<2&&(o="0"+o),("#"+e+i+o).toUpperCase()}static of5(t,e){if(t.startsWith("#")&&(t=t.substr(1)),t.length==3)return new v0(parseInt(t[0],16)/15,parseInt(t[1],16)/15,parseInt(t[2],16)/15,e);if(t.length==6)return new v0(parseInt(t.substr(0,2),16)/255,parseInt(t.substr(2,2),16)/255,parseInt(t.substr(4,2),16)/255,e);throw new Error("invalid color string")}static of6(t,e){return new v0(t.r,t.g,t.b,e)}static of7(t){return t==null?null:v0.of3(t)}constructor(t,e,i,o=1){this.r=Tp.positiveOr0(t),this.g=Tp.positiveOr0(e),this.b=Tp.positiveOr0(i),this.alpha=o}hashCode(){return this.r+this.g+this.b+this.alpha}equals(t,e=!1){let i=this.r===t.r&&this.g===t.g&&this.b===t.b;return e?i:i&&this.alpha===t.alpha}add(t,e,i,o){return new v0(Math.max(0,Math.min(1,this.r+t)),Math.max(0,Math.min(1,this.g+e)),Math.max(0,Math.min(1,this.b+i)),Math.max(0,Math.min(1,this.alpha+o)))}mul(t){return new v0(Math.max(0,Math.min(1,this.r*t)),Math.max(0,Math.min(1,this.g*t)),Math.max(0,Math.min(1,this.b*t)),this.alpha)}mul1(t){return new v0(Math.max(0,this.r*t),Math.max(0,this.g*t),Math.max(0,this.b*t),this.alpha)}getData(){return[this.r,this.g,this.b,this.alpha]}toString(){let t=(this.r*255).toString(16),e=(this.g*255).toString(16),i=(this.b*255).toString(16);return t.length<2&&(t="0"+t),e.length<2&&(e="0"+e),i.length<2&&(i="0"+i),"#"+t.substr(0,2)+e.substr(0,2)+i.substr(0,2)}toString1(){let t=(this.r*255).toString(16),e=(this.g*255).toString(16),i=(this.b*255).toString(16),o=(this.alpha*255).toString(16);return t.length<2&&(t="0"+t),e.length<2&&(e="0"+e),i.length<2&&(i="0"+i),o.length<2&&(o="0"+o),"#"+t.substr(0,2)+e.substr(0,2)+i.substr(0,2)+o.substr(0,2)}toRGBA(){let t=this.r*255,e=this.g*255,i=this.b*255;return[t,e,i,this.alpha]}toRGBAString(){let t=this.r*255,e=this.g*255,i=this.b*255;return`rgba(${t},${e},${i},${this.alpha})`}isWHITE(){return this.r===1&&this.g===1&&this.b===1&&this.alpha===1}},v0.WHITE=new v0(1,1,1,1),v0.BLACK=new v0(0,0,0,1),v0.RED=new v0(1,0,0,1),v0.GREEN=new v0(0,1,0,1),v0.BLUE=new v0(0,0,1,1),v0.Gray=v0.of3("#9966ff"),v0.Silver=v0.of3("#D2D2D2"),v0.Golden=v0.of3("#DCAA14"),v0.Pink=v0.of3("#ffaec9"),v0),qXt=!1,gei=class{onRTreeBBox(t){}onResultSide(t){}onOriginSide(t){}onSplitedSide(t){}onDebugSide(t){}onSweep(t,e,i,o,r,n){}onIntersect(t,e,i){}onSegment(t,e,i,o,r,n){}onSegment1(t,e,i){if(qXt){let o=new pi(t.getX(i),i),r=new pi(e.getX(i),i);this.onSegment(o,t.weight,t,r,e.weight,e)}else this.onSegment(t.start,t.weight,t,e.end,e.weight,e)}onSweep1(t,e,i){if(qXt){let o=new pi(t.getX(i),i),r=new pi(e.getX(i),i);this.onSweep(o,t.weight,t,r,e.weight,e)}else this.onSweep(t.start,t.weight,t,e.end,e.weight,e)}},q3e=class extends gei{constructor(t){super(),this.plGrps=new Array,this.debug=t}onPolylineGroup(t,e){this.plGrps.push(t)}},gwe=class{constructor(t){this.cache={},this.levels=t,this.result=new Array(t),this.weights=new Array(t),this.maxIdx=t-1,this.rule=this.decide.bind(this);let e=1;for(let i=0;i<t;i++)this.weights[i]=e,e*=50}weight(t){return this.weights[t]}decide(t){t=Math.abs(t);let e=this.cache[t];if(e===void 0){let i=t;for(let o=this.maxIdx;o>=0;o--){let r=this.weights[o],n=t/r|0,a=t%r;a>(r/2|0)?(t=r-a,n++):t=a,this.result[o]=n>0}e=this.decide1(this.result),this.cache[i]=e}return e}},dXo=t=>t!==0,uXo=new class extends gwe{decide1(t){return t[0]||t[1]}}(2),xNe=new class extends gwe{decide1(t){return t[0]&&!t[1]}}(2),TNe=new class extends gwe{decide1(t){return t[0]&&t[1]}}(2),m1t=new class extends gwe{decide1(t){return t[0]&&!t[1]||!t[0]&&t[1]}}(2),pXo=(t=>(t[t.UNMARKED=0]="UNMARKED",t[t.INSIDE=1]="INSIDE",t[t.OUTSIDE=2]="OUTSIDE",t[t.INVALID=3]="INVALID",t))(pXo||{}),kde=class fde{constructor(e,i,o,r,n,a,s){this.inters=[],this.connect=new Array,this.previous=null,this.next=null,this.finalGrp=-1,this.trans=NaN,this.outsideWeight=0,this.insideWeight=0,this.invalidWeight=0,this._confidence=0,this._confidence_y=NaN,this._x=NaN,this._x_y=NaN,this.status=0,this.bo=e,this.shape=i,this.baseWeight=o,r.y>n.y?this.weight=-o:r.y==n.y?this.weight=0:this.weight=o,this.start=r,this.end=n,this.polyGrp=a,this.polyIndex=s,this._bbox=new pS().ext1(i.bbox()).ext2(r).ext2(n).build1(),this.inters.push(r),this.inters.push(n);let l=31,c=1;c=l*c+this.polyGrp,c=l*c+this.polyIndex,this._hashcode=c}static rebuild(e,i,o){if(e instanceof Jt||i.distance2(o)<1e-6)return new Jt(i,o);if(e instanceof Pi){let r=e,n=e.bbox().center().x,a;i.y>o.y?a=n>r.center.x?0:1:a=n>r.center.x?1:0;let s=i.angleD(r.center),l=o.angleD(r.center);return Pi.build2(r.center,s,l,r.rx,r.ry,a)}else throw new Error("not supported operation")}updateBbox(){this._bbox=new pS().ext2(this.start).ext2(this.end).build1()}is(e,i){return e===this.polyGrp&&i===this.polyIndex}confidence(e){if(this._confidence_y!=e){let i=this._bbox.height();if(i!==0)if(Math.abs(e-this._bbox.maxY)>5e-4&&Math.abs(e-this._bbox.minY)>5e-4){let o=1-Math.abs(2*e-this._bbox.maxY-this._bbox.minY)/i;this._confidence=o*1e4|0}else this._confidence=0;else this._confidence=1;this._confidence_y=e}return this._confidence}needCountWeight(){return this.outsideWeight+this.insideWeight+this.invalidWeight<5e3}revokeOutside(e){let i=this.confidence(e);return this.outsideWeight-=i,this.invalidWeight+=i,i}revokeInside(e){let i=this.confidence(e);return this.insideWeight-=i,this.invalidWeight+=i,i}setOutside(e){let i=this.confidence(e);return this.outsideWeight+=i,i}setInside(e){let i=this.confidence(e);return this.insideWeight+=i,i}setInvalid(e){let i=this.confidence(e);return this.invalidWeight+=i,i}prevNot0(){let e=this.previous;for(;e!=null&&e!=this;){if(e.weight!=0)return e;e=e.previous}return null}nextNot0(){let e=this.next;for(;e!=null&&e!=this;){if(e.weight!=0)return e;e=e.next}return null}getX(e){if(this.bo!==null)return(this._x_y!=e||isNaN(this._x))&&(CXo(this,e)>0?this._x=Et[0]:this._x=NaN,this._x_y=e),this._x;throw new Error("not supported operation")}voteStatus(){return this.outsideWeight>this.insideWeight&&this.outsideWeight>this.invalidWeight?2:this.insideWeight>this.outsideWeight&&this.insideWeight>this.invalidWeight?1:this.invalidWeight>this.outsideWeight&&this.invalidWeight>this.insideWeight?3:0}reverse(e){if(e===2)if(this.start.y>this.end.y){let i=fde.rebuild(this.shape,this.end,this.start),o=new fde(this.bo,i,this.baseWeight,this.end,this.start,this.polyGrp,this.polyIndex);return jw.addAll(o.connect,this.connect),o}else return this;else if(e===1)if(this.start.y<this.end.y){let i=fde.rebuild(this.shape,this.end,this.start),o=new fde(this.bo,i,this.baseWeight,this.end,this.start,this.polyGrp,this.polyIndex);return jw.addAll(o.connect,this.connect),o}else return this;return this}isNeedScan(e){return this.needCountWeight()&&this.confidence(e)>0}hashCode(){return this._hashcode}equals(e){return e instanceof fde?!(this.polyGrp!==e.polyGrp||this.polyIndex!==e.polyIndex):!1}bbox(){return this._bbox}toString(){return Cde.format("(%d,%d,%d) (%d,%d,%d) %s %s",this.polyGrp,this.polyIndex,this.weight,this.outsideWeight,this.invalidWeight,this.insideWeight,this.start,this.end)}};function mXo(t,e){let i=t.bbox(),o=e.bbox(),r=(i.minY+i.maxY)/2,n=(o.minY+o.maxY)/2;return r-n}function hXo(t,e){let i=t.bbox(),o=e.bbox(),r=(i.minX+i.maxX)/2,n=(o.minX+o.maxX)/2;return r-n}var sde=class{constructor(t){if(this.__bbox=null,typeof t<"u")if(t instanceof Array){this.__items=[];for(let e of t)this.add(e)}else this.__items=t,this.__bbox=t.bbox();else this.__items=[]}add(t){if(this.__items instanceof Array)this.__items.push(t),this.__bbox=_w.extend2(this.__bbox,t.bbox());else throw new Error("can't insert multiple item into leaf node")}items(){return this.__items}bbox(){if(this.__bbox!==null)return this.__bbox;throw new Error("bug")}},nwe=class{constructor(t){this.changed=!1,this.root=new sde,this.capacity=t,this.capacity2=t*t,this.itemList=[]}size(){return this.itemList.length}items(){return this.flushWhenNeed(),this.itemList}add(t){this.itemList.push(t),this.changed=!0}remove(t){jw.remove(this.itemList,t),this.changed=!0}clear(){this.changed=!1,this.root=new sde,this.itemList.length=0}flushWhenNeed(){if(this.changed){let t=new Array;for(let e of this.itemList)t.push(new sde(e));for(;;){let e=this.organize(t);if(e.length>1)t=e;else break}this.root=new sde(t),this.changed=!1}}organize(t){Bie(t,hXo,0,t.length);let e=t.length,i=[];for(let o=0;o<e;)if(o+this.capacity2<=e){let r=o+this.capacity2;Bie(t,mXo,o,r);for(let n=o;n<r;n+=this.capacity){let a=new sde(t.slice(n,n+this.capacity));i.push(a)}o=o+this.capacity*this.capacity}else{let r=new sde(t.slice(o,o+this.capacity));i.push(r),o=o+this.capacity}return i}search(t){this.flushWhenNeed();let e=[],i=[];for(i.push(this.root);;){let o=i.shift();if(typeof o<"u"){let r=o.items();if(r instanceof Array){for(let n of r)if(!t.isSeparated(n.bbox())){let a=n.items();a instanceof Array?i.push(n):e.push(a)}}else t.isSeparated(o.bbox())||e.push(r)}else break}return e}walker(t){this.flushWhenNeed(),this._walker(this.root,0,t)}_walker(t,e,i){this.flushWhenNeed();let o=t.items();if(o instanceof Array)for(let r of o)this._walker(r,e+1,i);else i(o,e)}bbox(){return this.flushWhenNeed(),this.root.bbox()}};function h1t(t,e){fXo(t.iterator(),e)}function fXo(t,e){let i=0;for(;t.hasNext();){let o=t.next();e(i++,o)}}var sNe=new Error("list is empty"),lNe=class{constructor(t,e){this.prev=null,this.next=null,this.parent=t,this.item=e}insertAfter(t){t.next=this.next,this.next=t,t.prev=this,t.next!==null&&(t.next.prev=t)}insertBefore(t){t.prev=this.prev,this.prev=t,t.next=this,t.prev!==null&&(t.prev.next=t)}remove(){this.prev!==null&&(this.prev.next=this.next),this.next!==null&&(this.next.prev=this.prev)}set(t){this.item=t}},gXo=class{constructor(t){this._next=t}hasNext(){return this._next!==null}next(){let t=this._next;if(t!==null)return this._next=t.next,t.item;throw new Error("iterator is null")}},bXo=class{constructor(t){this._next=t}hasNext(){return this._next!==null}next(){let t=this._next;if(t!==null)return this._next=t.next,t;throw new Error("iterator is null")}},Pie=class{constructor(){this.first=null,this.last=null,this.cnt=0}add(t){return this.addLast(t)}push(t){return this.addLast(t)}pop(){return this.removeLast()}shift(){return this.removeFirst()}removeFirst(){let t=this.first;if(t===null)throw sNe;return this.remove(t),t.item}removeLast(){let t=this.last;if(t===null)throw sNe;return this.remove(t),t.item}addLast(t){return this.first===null||this.last===null?(this.first=new lNe(this,t),this.last=this.first,this.cnt=1,this.first):this.insertAfter(this.last,t)}addFirst(t){if(this.first===null||this.last===null){let e=new lNe(this,t);return this.first=e,this.last=e,this.cnt++,e}else return this.insertBefore(this.first,t)}getFirst(){if(this.first===null)throw sNe;return this.first.item}getLast(){if(this.last===null)throw sNe;return this.last.item}insertAfter(t,e){let i=new lNe(this,e);return t.insertAfter(i),t===this.last&&(this.last=i),this.cnt++,i}insertBefore(t,e){let i=new lNe(this,e);return t.insertBefore(i),t===this.first&&(this.first=i),this.cnt++,i}remove(t){t.remove(),t===this.first&&(this.first=t.next),t===this.last&&(this.last=t.prev),this.cnt--}size(){return this.cnt}clear(){this.first=null,this.last=null,this.cnt=0}iterator(){return new gXo(this.first)}listIterator(){return new bXo(this.first)}toArray(){let t=new Array(this.cnt),e=this.first,i=0;for(;e!=null;)t[i]=e.item,e=e.next,i++;return t}};function f1t(t){throw new Error("")}var cNe=class{constructor(t,e){this.node1=null,this.node2=null,this.key=t,this.value=e}},yXo=class{constructor(t){this.itors=t}hasNext(){return this.itors.hasNext()}next(){return this.itors.next().key}},wXo=class{constructor(t){this.itors=t}hasNext(){return this.itors.hasNext()}next(){return this.itors.next().value}},jNe=class{constructor(){this.innerList=new Pie,this.innerMap={}}replace(t,e){t.node1!==null&&(t.node1.set(e),e.node1=t.node1),t.node2!==null&&(t.node2.set(e),e.node2=t.node2)}clear(){this.innerList.clear();for(let t in this.innerMap)delete this.innerMap[t]}put(t,e){let i=t.hashCode(),o=new cNe(t,e),r=this.innerMap[i];if(r===void 0)return o.node1=this.innerList.add(o),this.innerMap[i]=o,null;if(r instanceof cNe){if(r.key.equals(t))return this.innerMap[i]=o,this.replace(r,o),r.value;{o.node1=this.innerList.add(o);let n=new Pie;return r.node2=n.add(r),o.node2=n.add(o),this.innerMap[i]=n,null}}if(r instanceof Pie){let n=null;return h1t(r,(a,s)=>s.key.equals(t)?(this.replace(s,o),n=s.value,!1):!0),n===null?(o.node1=this.innerList.add(o),o.node2=r.push(o),null):n}return f1t(r)}get(t){let e=t.hashCode(),i=this.innerMap[e];if(i===void 0)return null;if(i instanceof cNe)return i.key.equals(t)?i.value:null;if(i instanceof Pie){let o=null;return h1t(i,(r,n)=>n.key.equals(t)?(o=n.value,!1):!0),o}return f1t(i)}containsKey(t){return this.get(t)!==null}delete(t){t.node1!==null&&t.node1.parent.remove(t.node1),t.node2===null?delete this.innerMap[t.key.hashCode()]:t.node2.parent.remove(t.node2)}remove(t){let e=t.hashCode(),i=this.innerMap[e];if(i===void 0)return null;if(i instanceof cNe)return i.key.equals(t)?(this.delete(i),i.value):null;if(i instanceof Pie){let o=null;return h1t(i,(r,n)=>n.key.equals(t)?(o=n.value,this.delete(n),!1):!0),o}return f1t(i)}computeIfAbsent(t,e){let i=this.get(t);if(i===null){let o=e(t);return this.put(t,o),o}else return i}size(){return this.innerList.size()}isEmpty(){return this.innerList.size()===0}keys(){return new yXo(this.innerList.iterator())}values(){return new wXo(this.innerList.iterator())}entries(){return this.innerList.iterator()}},vde=class{constructor(){this.innerMap=new jNe}add(t){return this.innerMap.put(t,!0)!==!0}remove(t){this.innerMap.remove(t)}contains(t){return this.innerMap.get(t)===!0}iterator(){return this.innerMap.keys()}addAll(t){let e=t.iterator();for(;e.hasNext();)this.add(e.next())}size(){return this.innerMap.size()}clear(){let t=this.iterator();for(;t.hasNext();){let e=t.next();this.remove(e)}}},XXt=jw.funcCopy(Bie);function CXo(t,e){let i=0;if(Math.abs(t.start.y-e)<=1e-4)Et[i++]=t.start.x;else if(Math.abs(t.end.y-e)<=1e-4)Et[i++]=t.end.x;else if(t.shape instanceof Jt)i=Fqo(t.shape,e);else if(t.shape instanceof Pi)i=Uqo(t.shape,e);else throw new Error("not supported operation");return i}var SNe=class{constructor(t,e,i,o){this.sides=new Array,this.loader=t,this.loader.bo=this,this.logger=i,this.rule=e,this.event=o}static sortByBBoxMinY(t,e){return t.bbox().minY-e.bbox().minY}static sortByBBoxAreaDesc(t,e){return e.bbox().area()-t.bbox().area()}addPolyline(t,e=1,i=.01,o=!0){for(let r of this.loader.buildGroup(t,e,i,o))this.sides.push(r),this.event.onOriginSide(r)}buildRTree(){let t=new nwe(10);for(let e of this.sides)t.add(e);return t}fillValidSides(t,e,i){for(let o of e)isFinite(o.getX(i))&&t.push(o)}getSortedEndpointsLineAsc(t){let e=new Array;for(let r of t)r.needCountWeight()&&(e.push(r.start),e.push(r.end));XXt(e,pi.sortByYAsc,0,e.length);let i=new Array,o=Number.NEGATIVE_INFINITY;for(let r of e){let n=r.y;n>o&&(i.push(n),o=n)}return i}splitSides(t,e,i){let o=t.start,r=t.end,n=new pi(r.x+(o.x-r.x)*2,r.y+(o.y-r.y)*2);XXt(t.inters,(s,l)=>s.distance2(n)-l.distance2(n),0,t.inters.length);let a=null;for(let s of t.inters)if(a==null)s.equals(o)&&(a=s);else if(!s.equals(a)){let l=kde.rebuild(t.shape,a,s);l instanceof Pi&&Math.abs(l.sweepAngle)>190&&(l=new Jt(a,s));let c=new kde(this,l,t.baseWeight,a,s,t.polyGrp,i++);if(e.push(c),c.updateBbox(),s.equals(r))break;a=s}return i}splitSidesByInters(){let t=new Array;for(let e of this.sides)if(e.polyIndex==0){let i=0,o=null,r=null;do{let n=new Array;i=this.splitSides(e,n,i);for(let a of n)o!=null?(o.next=a,a.previous=o):r=a,o=a,this.event.onSplitedSide(a),t.push(a);if(e.next===null)throw new Error("not supported operation");e=e.next}while(e.polyIndex!==0);r!=null&&o!=null&&(r.previous=o,o.next=r)}this.sides.length=0;for(let e of t)this.sides.push(e)}seekIntersection(){if(this.sides.length>0){let t=this.buildRTree(),e=new vde;for(let i of this.sides){e.add(i);let o=i.bbox().extendOfSize(1e-5),r=i.shape instanceof Jt;for(let n of t.search(o))if(!e.contains(n)){let a=n.shape instanceof Jt;if(!(r&&a&&i.next!==null&&i.previous!==null&&(i.next.equals(n)||i.previous.equals(n)))){let s=p8(i.shape,n.shape);for(let l=0;l<s;l+=2){let c=new pi(Et[l],Et[l+1]);i.inters.push(c),n.inters.push(c),this.event.onIntersect(c,i,n)}}}}}}},xXo=class bei{constructor(e){this.sides=new vde,this.others=new vde,this.id=e}add(e){this.sides.add(e),e.finalGrp=this.id;for(let i of e.connect)this.others.add(i)}polyline(){let e=new Array;return Lde(this.sides,(i,o)=>(e.push(o.shape),!0)),gl.build2(e).asClose()}hashCode(){return this.id}equals(e){return e!=null&&e instanceof bei?this.id===e.id:!1}},yei=class{constructor(t){this.bo=null,this.sides=new Array,this.polyGrp=0,this.polyIndex=0,this.prevSide=null,this.firstSide=null,this.noWeight0=t}completeGroup(t){this.prevSide!=null&&this.firstSide!=null&&!this.prevSide.end.equals(this.firstSide.start)&&this.addSide(new Jt(this.prevSide.end,this.firstSide.start),t);let e=new Array,i=null,o=null;for(let r of this.sides)(!this.noWeight0||r.weight!==0)&&(i!=null?(i.next=r,r.previous=i):o=r,i=r,e.push(r));return i!=null&&o!=null&&(o.previous=i,i.next=o),this.polyGrp++,this.sides.length=0,this.prevSide=null,this.firstSide=null,this.polyIndex=0,e}buildGroup(t,e,i,o=!0){for(let r of t.primitives)if(r instanceof Jt)this.addSide(r,e);else if(o&&r instanceof Pi&&r.rx===r.ry)this.addArc(r,e);else{let n=null;for(let a of r.points(i))n!=null&&this.addSide(new Jt(n,a),e),n=a}return this.completeGroup(e)}addArc(t,e){let i=t.sweepAngle,o=Qa.regularD(t.startAngle),r=o+i;if(i>0){let n=90;for(;n<=r;)n>o&&(this.addSide(Pi.build3(t.center,o,n-o,t.rx,t.ry),e),o=n),n+=90;o<r&&this.addSide(Pi.build3(t.center,o,r-o,t.rx,t.ry),e)}else if(i<0){let n=270;for(;n>=r;)n<o&&(this.addSide(Pi.build3(t.center,o,n-o,t.rx,t.ry),e),o=n),n-=90;o>r&&this.addSide(Pi.build3(t.center,o,r-o,t.rx,t.ry),e)}}addSide(t,e){if(t.start().equals(t.end()))return;let i=t.start(),o;this.prevSide!=null?(this.prevSide.end.equals(i)||this.addSide(new Jt(this.prevSide.end,i),e),o=new kde(this.bo,t,e,t.start(),t.end(),this.polyGrp,this.polyIndex++)):(o=new kde(this.bo,t,e,t.start(),t.end(),this.polyGrp,this.polyIndex++),this.firstSide=o),this.prevSide=o,this.sides.push(o)}},wei=class{constructor(t,e,i){this.eps=new Array,this.curWeight=0,this.start=null,this.last=null,this.prevStart=null,this.prevEnd=null,this.y=i,this.rule=t,this.bo=e,this.event=e.event}onEp(t){this.tuningWeight(t),this.start===null?this.rule(this.curWeight)?this.in(t):t.setInvalid(this.y):this.rule(this.curWeight)?t.setInvalid(this.y):this.out(t,this.start),this.last!==null&&this.event.onSweep1(this.last,t,this.y),this.last=t}in(t){this.prevEnd!=null&&this.onSameX(t,this.prevEnd)?(this.start=this.prevStart,this.prevStart=null,this.prevEnd.revokeInside(this.y),this.prevEnd=null):(this.start=t,this.start.setOutside(this.y))}out(t,e){if(this.onSameX(e,t))e.revokeOutside(this.y);else{if(t.setInside(this.y)>0&&e.confidence(this.y)>0){let i=e.voteStatus(),o=t.voteStatus();this.isValid(i)&&this.isValid(o)?i==2&&o==1&&(t.connect.push(e),e.connect.push(t)):(t.connect.push(e),e.connect.push(t))}this.event.onSegment1(e,t,this.y),this.eps.push(e),this.eps.push(t),this.prevStart=e,this.prevEnd=t}this.start=null}isValid(t){return t==1||t==2}onSameX(t,e){return t.bbox().isIntersect(e.bbox())&&ji.eq(t.getX(this.y),e.getX(this.y))}tuningWeight(t){this.curWeight+=t.weight;let e=t.nextNot0(),i=t.prevNot0();e!=null&&t.weight===e.weight&&e.trans===this.y&&(this.curWeight-=t.weight),i!=null&&t.weight===i.weight&&i.trans===this.y&&(this.curWeight-=t.weight),t.trans=this.y}},BNe=new Error,$Xt=new class extends gwe{decide1(t){return t[0]&&t[1]}}(2),TXo=new class extends gei{onPolylineGroup(t,e){throw BNe}onSegment(t,e,i,o,r,n){throw BNe}},SXo=class{constructor(t,e){this.rtree=t,this.level=e}},MXo=class Cei extends SNe{static isIntersect(e,i,o=i7e.DUMMY){let r=new Cei(o),n=r.createGroup1(e.items),a=r.createGroup2(i.items);return n.rtree.itemList.length==0||a.rtree.itemList.length==0?!1:r.isIntersect(n,a)}constructor(e){super(new yei(!1),$Xt.rule,e,TXo)}createGroup1(e){return this.createGroup(e,0)}createGroup2(e){return this.createGroup(e,1)}createGroup(e,i){let o=$Xt.weight(i);for(let n of e)this.addPolyline(n,o);let r=this.buildRTree();return this.sides.length=0,new SXo(r,i)}isIntersect(e,i){if(e.level!==i.level){let o=e.rtree.bbox().intersection1(i.rtree.bbox());if(o!==null){try{this.inters(e,i);let r=(o.minY+o.maxY)/2;this.sweep(e,i,r)}catch(r){if(r===BNe)return!0;throw r}return!1}else return!1}else throw new Error("inersection detection should not in same group")}inters(e,i){if(e.rtree.size()>i.rtree.size()){let o=e;e=i,i=o}for(let o of e.rtree.items()){o.trans=NaN;let r=o.bbox().extendOfSize(1e-5);for(let n of i.rtree.search(r))if(n.trans=NaN,p8(o.shape,n.shape)>0)throw BNe}}sweep(e,i,o){let r=_w.extend2(e.rtree.bbox(),i.rtree.bbox()).extendOfSize(1e-5),n=new Array;this.fillValidSides(n,e.rtree.search(r),o),this.fillValidSides(n,i.rtree.search(r),o),Bie(n,(s,l)=>s.getX(o)-l.getX(o),0,n.length);let a=new wei(this.rule,this,o);for(let s of n)a.onEp(s)}},Mht=class $F{constructor(e){this.items=new Array(e.length),jw.arraycopy(e,0,this.items,0,e.length),this.__bbox=this.calcBBox()}static build1(e){let i=[];return NNe(e,(o,r)=>(i.push(r),!0)),new $F(i)}static build2(e){let i=e.map(o=>gl.build8(o));return new $F(i)}static combinePolylineGroupArr(e){let i=[];for(let o of e)i=i.concat(o.items);return new $F(i)}calcBBox(){let e=new pS;for(let i=0;i<this.items.length;i++)e.ext1(this.items[i].bbox());return e.build1()}multiply3(e){let i=new Array(this.items.length);for(let o=0;o<i.length;o++)i[o]=this.items[o].multiply3(e);return new $F(i)}bbox(){return this.__bbox}asClose(){return this.items.forEach(e=>e.asClose()),this}mirrorY(e){return this.items.forEach(i=>i.mirrorY(e)),this}closeEndpoint(){return this.items.forEach(e=>e.closeEndpoint()),this}get primitives(){return this.items.map(e=>e.primitives).flat(2)}isEqual(e){return e instanceof $F?this.items.every(i=>e.items.some(o=>o.isEqual(i))):!1}getOutMostPolyline(){return this.items.reduce((e,i)=>i.bbox().area()>e.bbox().area()?i:e,this.items[0])}getOutline(){let e=this.items;if(e.length===1)return{outline:e,hole:new Array};let i=new Set,o=new Set;for(let r=0,n=e.length;r<n;r++){let a=e[r];if(!i.has(a)&&!o.has(a)){r+1>=n&&i.add(a);for(let s=r+1;s<n;s++){let l=e[s];if(!i.has(l)&&!o.has(l)){if(!a.bbox().isInside(l.bbox().extendOfSize(1e-4))&&!l.bbox().isInside(a.bbox().extendOfSize(1e-4)))continue;MXo.isIntersect(new $F([a]),new $F([l]))&&(a.bbox().area()>l.bbox().area()?(i.add(a),o.add(l)):(i.add(l),o.add(a)))}}!i.has(a)&&!o.has(a)&&i.add(a)}}return{outline:[...i],hole:[...o]}}round(e=4){let i=this.items.map(o=>o.round(e));return new $F(i)}},IXo=jw.funcCopy(Bie),LXo=jw.funcCopy(Bie),vXo=jw.funcCopy(Bie);function DXo(t){return new Array}function EXo(t,e){let i=new q3e(!1),o=new X3e(t,i7e.DUMMY,i);for(let r of e)o.addPolyline(r);return o.simplify(),i.plGrps}var X3e=class extends SNe{constructor(t,e,i){super(new yei(!1),t,e,i),this.finalSides=new Array,this.sideGroups={},this.vecSides=new Array,this.scanY=NaN,this.curNetIndex=0,this.curIndex=-1,this.scanLines=0}sweep(t,e,i){this.scanY=NaN,this.scanLines=0,IXo(e,SNe.sortByBBoxMinY,0,e.length);let o=new Pie;this.curNetIndex=0;let r=Number.POSITIVE_INFINITY;for(let n of t)n>r&&this.scan(o,(r+n)/2,e),r=n;this.getAllMarkPrimitive(i,e),this.logger.debug3("scan %s %d",i,this.scanLines)}simplify(){this.seekIntersection(),this.splitSidesByInters(),this.sweep(this.getSortedEndpointsLineAsc(this.sides),this.sides,!1),this.flipSides(),this.sweep(this.getSortedEndpointsLineAsc(this.vecSides),this.vecSides,!0),this.connectSides(),this.fillResult()}addPolyline(t,e=1,i=.01,o=!0){super.addPolyline(t,e,i,o)}scan(t,e,i){if(this.scanY==e)return;this.scanY=e;let o=!1,r=t.listIterator();for(;r.hasNext();){let n=r.next(),a=n.item;ji.less(a.bbox().maxY,e)?t.remove(n):!o&&a.isNeedScan(e)&&(o=!0)}for(;this.curNetIndex<i.length;){let n=i[this.curNetIndex];if(ji.less(n.bbox().minY,e))ji.greatereq(n.bbox().maxY,e)&&(this.add2AET(t,n),!o&&n.isNeedScan(e)&&(o=!0)),this.curNetIndex++;else break}if(o){this.scanLines++;let n=new wei(this.rule,this,e),a=t.iterator();for(;a.hasNext();){let s=a.next();n.onEp(s)}}}add2AET(t,e){let i=e.bbox().minX,o=e.bbox().maxX,r=e.bbox().minY,n=e.bbox().maxY,a=t.listIterator(),s=null;for(;a.hasNext();){let l,c=a.next(),d=c.item,u=d.bbox().minX,p=d.bbox().maxX;if(o<=u)l=-1;else if(p<=i)l=1;else{let h=d.bbox().minY,f=d.bbox().maxY,g=Math.max(r,h),b=Math.min(n,f);l=this.compareBySweep(e,d,(g+b)/2)}let m=d.shape;if(m instanceof Jt&&m.length()<.001&&s==null&&l<0){s=c;continue}if(s!=null&&l<0){t.insertBefore(s,e);return}if(l<0){t.insertBefore(c,e);return}else s=null}t.add(e)}getLineAngle(t){let e=t.start().angle(t.end());return e<0&&(e+=Math.PI),e}getArcAngle(t,e){let i=Math.asin((e-t.center.y)/t.rx);return t.startAngle>90&&t.startAngle<270&&(i=-i),i<0&&(i+=Math.PI),(i+Math.PI/2)%Math.PI}compareArcLine(t,e,i){let o=this.getArcAngle(t,i),r=this.getLineAngle(e);return ji.eq(o,r)?-t.sweepAngle:r-o}compareBySweep(t,e,i){let o=t.getX(i);if(!isFinite(o))return 0;let r=e.getX(i);if(!isFinite(r))return 0;if(!ji.eq(o,r))return o-r;if(t.shape instanceof Jt)return e.shape instanceof Jt?this.getLineAngle(e.shape)-this.getLineAngle(t.shape):-this.compareArcLine(e.shape,t.shape,i);if(e.shape instanceof Jt)return this.compareArcLine(t.shape,e.shape,i);{let n=t.shape,a=e.shape,s=this.getArcAngle(n,i),l=this.getArcAngle(a,i);return ji.eq(s,l)?n.sweepAngle*a.sweepAngle<=0?n.sweepAngle<=0?1:-1:n.sweepAngle>0?n.rx-a.rx:a.rx-n.rx:l-s}}getAllMarkPrimitive(t,e){for(let i of e)if(i.status===0&&i.bbox().height()!=0){let o=i.voteStatus();if(o===2||o===1){i.status=o;let r=i.reverse(o);if(t){this.event.onResultSide(r);let n=r.shape.multiply3(kd.ROT_N90),a=r.start.multiply3(kd.ROT_N90),s=r.end.multiply3(kd.ROT_N90);r=new kde(this,n,r.baseWeight,a,s,r.polyGrp,r.polyIndex)}this.finalSides.push(r),this.event.onResultSide(r)}}}flipSides(){for(let t of this.sides)if(t.polyIndex==0){let e=null,i=null;do{let o=t.shape.multiply3(kd.ROT_90),r=t.start.multiply3(kd.ROT_90),n=t.end.multiply3(kd.ROT_90),a=new kde(this,o,t.baseWeight,r,n,t.polyGrp,t.polyIndex);if(a.outsideWeight=t.outsideWeight,a.insideWeight=t.insideWeight,a.invalidWeight=t.invalidWeight,a.status=t.status,e!=null?(e.next=a,a.previous=e):i=a,this.vecSides.push(a),this.event.onSplitedSide(a),e=a,t.next!==null)t=t.next;else break}while(t.polyIndex!=0);i!=null&&(i.previous=e,e.next=i)}}canBeEnd(t,e){if(t.size()==1){let i=t.getFirst().shape;if(i instanceof Pi){if(e&&i.rx<=e)return!1}else if(i instanceof Jt&&e&&i.length()<=e)return!1}return!0}connectSides(){let t=new jNe,e=new nwe(10);for(let n of this.finalSides)t.computeIfAbsent(n.start,DXo).push(n),e.add(n.start);let i=0,o=new vde,r=new Array;for(let n of this.finalSides)if(!o.contains(n)){let a=new vde,s=n.start,l=new Pie;l.add(n),o.add(n);let c=n.end;for(;l.size()>0;)if(this.isStart(s,c)&&this.canBeEnd(l,.01)){l.size()>1&&this.fillSideGroups(l,i++);break}else{let d=t.get(c),u=this.findNext(o,d);if(u==null&&(c=this.findNeigber(c,a,e,.01),c!==null&&(d=t.get(c),u=this.findNext(o,d))),u!=null)l.add(u),o.add(u),c=u.end;else if(c!=null?a.add(c):(r.length==0&&l.size()>1&&this.logger.warning3("unable to connect at %s",l.getLast()),r.push(l.removeLast())),l.size()>0)c=l.getLast().end;else break}}}fillSideGroups(t,e){let i=new xXo(e);Lde(t,(o,r)=>(i.add(r),!0)),this.sideGroups[i.id]=i}isStart(t,e){return t.distance2(e)<=1e-4}findNext(t,e){if(e!=null){for(let i of e)if(!t.contains(i))return i}return null}fillResult(){let t=0,e=new jNe;for(let o in this.sideGroups){let r=this.sideGroups[o];Lde(r.sides,(n,a)=>(a.polyGrp!=-2&&e.put(a,a),!0))}let i=new vde;for(let o in this.sideGroups){let r=this.sideGroups[o];if(i.add(r)){let n=0,a=new Array;for(a.push(r);n<a.length;){let l=a[n],c=new Array;Lde(l.others,(u,p)=>{let m=e.get(p);return m!=null&&c.push(m.finalGrp),!0}),LXo(c,jw.sortAsc,0,c.length);let d=l.id;for(let u of c)if(u!=d&&u!=l.id){let p=this.sideGroups[u];i.add(p)&&a.push(p),d=u}n++}let s=new Array;for(let l of a)s.push(l.polyline());vXo(s,SNe.sortByBBoxAreaDesc,0,s.length),this.event.onPolylineGroup(new Mht(s),t++)}}}findNeigber(t,e,i,o){let r=o*o,n=Number.MAX_VALUE,a=null;for(let s of i.search(t.bbox().extendOfSize(o)))if(!e.contains(s)){let l=t.distance2(s);l<n&&(n=l,a=s)}return n<r?a:null}},AXo=class{constructor(){this.points=[],this.lines=[],this.arcs=[],this.beziers=[],this.listText=[],this.fonts=[]}addPt(t,e=!0){if(t instanceof Jt)this.lines.push(t);else if(t instanceof Pi)this.arcs.push(t);else if(t instanceof fr)this.beziers.push(t);else throw new Error("not support");e&&this.points.push(t.start())}addPoint(t){this.points.push(t)}addText(t,e,i=1,o=.1,r=!0){this.listText.push({pos:t,str:e,size:i,width:o}),r&&this.points.push(t)}addPly(t,e=!0){t.primitives.forEach(i=>this.addPt(i,e))}build(){let t=[],e=[],i=[],o=[],r=[],n=[];return this.points.forEach(a=>t.push(a.x,a.y)),this.lines.forEach(a=>e.push(a.start().x,a.start().y,a.end().x,a.end().y)),this.arcs.forEach(a=>i.push(a.center.x,a.center.y,a.rx,Qa.toRadians(a.startAngle),Qa.toRadians(a.endAngle()),a.sweep())),this.beziers.forEach(a=>{a.controls.forEach(s=>{o.push(s.x,s.y)}),o.push("end")}),this.listText.forEach(a=>r.push(a.pos.x,a.pos.y,a.str,a.width,a.size)),this.fonts.forEach(a=>n.push(a)),{points:t,lines:e,arcs:i,texts:r,beziers:o,fonts:n}}},_3e,bwe=(_3e=class{constructor(t){this.map=new jNe,this.bus=t}initColor(t){return this.map.computeIfAbsent(t,()=>new AXo)}draw(){let t={},e=this.map.entries();for(;e.hasNext();){let i=e.next();t[i.key.toString()]=i.value.build()}this.bus.publish("/debug/draw",t)}clear(){this.map.clear()}static init(t){if(!t)throw new Error("bus is undefined!");this.palette=new _3e(t)}static initPalette(t){this.palette=t}static getDefaultColor(){for(let t of this.colorBuffersMap)if(t[0]!==null&&t[0])return t[0]=!1,t[1];return this.colorBuffersMap.forEach(t=>{if(t[0]===null){console.log(1);return}t[0]=!0}),this.getDefaultColor()}static clear(){this.palette.clear()}static auto(t,e=this.getDefaultColor()){if(Array.isArray(t))t.forEach(i=>{this.auto(i,e)});else if(t instanceof pi)this.point(t,e);else if(t instanceof _w)this.bbox(t,e);else if(t instanceof fwe)this.primitive(t,e);else if(t instanceof gl)this.polyline(t,e);else if(t instanceof kg)this.polygon(t,e);else if(t instanceof eh)this.group(t,e);else if(t instanceof Mht)this.auto(t.items,e);else{debugger;throw new Error("No incoming type!")}}static text(t,e,i=.5,o=this.getDefaultColor()){if(!this.palette)throw new Error("palette  is not initialised!");this.palette.initColor(o).addText(t,e,i,i/10),this.palette.draw()}static point(t,e=this.getDefaultColor()){if(!this.palette)throw new Error("palette  is not initialised!");let i=this.palette.initColor(e);Array.isArray(t)?t.forEach(o=>{this.point(o,e)}):i.addPoint(t),this.palette.draw()}static bbox(t,e=this.getDefaultColor()){Array.isArray(t)?t.forEach(i=>{this.bbox(i,e)}):(this.primitive(new Jt(new pi(t.maxX,t.maxY),new pi(t.maxX,t.minY)),e),this.primitive(new Jt(new pi(t.maxX,t.maxY),new pi(t.minX,t.maxY)),e),this.primitive(new Jt(new pi(t.minX,t.minY),new pi(t.maxX,t.minY)),e),this.primitive(new Jt(new pi(t.minX,t.minY),new pi(t.minX,t.maxY)),e))}static primitive(t,e=this.getDefaultColor()){if(!this.palette)throw new Error("palette  is not initialised!");let i=this.palette.initColor(e);Array.isArray(t)?t.forEach(o=>{this.primitive(o,e)}):i.addPt(t),this.palette.draw()}static polyline(t,e=this.getDefaultColor()){Array.isArray(t)?t.forEach(i=>{this.polyline(i,e)}):t.primitives.forEach(i=>{this.primitive(i,e)})}static polygon(t,e=this.getDefaultColor()){Array.isArray(t)?t.forEach(i=>{this.polygon(i,e)}):t.items.forEach(i=>{this.polyline(i,e)})}static group(t,e=this.getDefaultColor()){Array.isArray(t)?t.forEach(i=>{this.group(i,e)}):t.items.forEach(i=>{this.polygon(i,e)})}static async begin(){this.t1=performance.now()}static async end(t){console.log(t||"t1:",performance.now()-this.t1)}static async log(t){console.log(t||"==================")}},_3e.colorBuffersMap=[[!0,id.BLUE],[!0,id.GREEN],[!0,id.WHITE],[!0,id.RED],[!0,id.Golden],[!0,id.Gray]],_3e.t1=0,_3e),NXo=0,ywe=class K1t{constructor(e,i){this.inters=[],this.shape=e,this.start=e.start(),this.end=e.end(),this.judgeOverlapMap=new Map,i&&(this.id=NXo++)}reverse(){this.shape=this.shape.reverse();let e=this.start;this.start=this.end,this.end=e}getCenterPoint(e=this.end){let{x:i,y:o}=this.start,{x:r,y:n}=e;if(this.shape instanceof Pi){let a=this.shape.rx,s=new pi((i+r)/2,(o+n)/2),l=this.shape.center,c;return s.x!==l.x||s.y!==l.y?(c=s.angle(l),Math.abs(this.shape.sweepAngle)>180&&(c+=c>=0?-180:180)):c=(this.shape.startAngle+this.shape.endAngle())/2,new pi(l.x+Math.cos(c)*a,l.y+Math.sin(c)*a)}else{if(this.shape instanceof Jt)return new pi((i+r)/2,(o+n)/2);if(this.shape instanceof fr){let a=this.shape.getPercent(e,qn);return fr.pointOn(a/2,this.shape.controls)}else throw Error("not support")}}static finalAngle(e,i,o){let r=e.cross(i)>0,n=Math.acos(Math.min(1,Math.max(-1,e.dot(i)/i.length())));return(o?!r:r)&&(n=o7e-n),n}sortInters(){if(this.shape instanceof Pi){let e=this.shape.center,i=this.shape.start().sub(e).normalize(),o=this.shape.isCCW;this.inters.sort((r,n)=>{let a=r.coord.sub(e),s=n.coord.sub(e);return K1t.finalAngle(i,a,o)-K1t.finalAngle(i,s,o)<=0?-1:1})}else if(this.shape instanceof Jt){let e=this.start,i=this.end,o=new pi(i.x+(e.x-i.x)*2,i.y+(e.y-i.y)*2);this.inters.sort((r,n)=>r.coord.distance2(o)-n.coord.distance2(o)<=0?-1:1)}else if(this.shape instanceof fr){let e=this.shape;this.inters.sort((i,o)=>e.getPercent(i.coord,qn)-e.getPercent(o.coord,qn)<=0?-1:1)}else throw Error("not support the primitive type");this.inters.forEach((e,i)=>e.setIndex(i))}getStart(){return this.start}getEnd(){return this.end}getShape(){return this.shape}connect(e){this.nextSide=e,e.prevSide=this}static returnPolygonList(e){let i=[];return e.forEach(o=>{let r=[];o.forEach((n,a)=>{let s=[];n.forEach(l=>{s.push(l.shape)}),r.push(gl.build7(s))}),i.push(new kg(r))}),i}addInter(e){this.inters.push(e)}static returnPolygonGroup(e){let i=[];return e.forEach(o=>{let r=[];o.forEach((n,a)=>{let s=[];n.forEach(l=>{s.push(l.shape)}),r.push(gl.build7(s))}),i.push(new kg(r))}),new eh(i)}static rebuild(e,i,o){let r;if(e instanceof Jt||i.distance2(o)<1e-6)r=new Jt(i,o);else if(e instanceof Pi)r=Pi.build2(e.center,i.angleD(e.center),o.angleD(e.center),e.rx,e.ry,e.isCCW?1:0);else if(e instanceof fr){let n=e.getPercent(i,qn),a=e.clip(n)[1];r=a.clip(a.getPercent(o,qn))[0]}else throw new Error("not supported operation");return Jn(e,i).dot(Jn(r,i))<0?null:r}static returnPolyline(e){return gl.build7(e.map(i=>i.shape))}bbox(){return this.shape.bbox()}},kXo=(t=>(t[t.END1=0]="END1",t[t.END2=1]="END2",t[t.END12=2]="END12",t[t.LEFT1=3]="LEFT1",t[t.LEFT2=4]="LEFT2",t))(kXo||{});function Bw(t,e,i){if(t instanceof Pi&&e instanceof Pi)return RXo(t,e);if(t instanceof Pi&&e instanceof Jt)return i$t(t,e);if(t instanceof Jt&&e instanceof Pi)return t$t(t,e);if(t instanceof Jt&&e instanceof Jt)return Rie(t,e);if(t instanceof fr&&e instanceof Jt)return t.controls.length===2||oU(t)?Rie(new Jt(t.start(),t.end()),e):xei(t,e);if(t instanceof Jt&&e instanceof fr)return e.controls.length===2||oU(e)?Rie(t,new Jt(e.start(),e.end())):Z1t(t,e);if(t instanceof Pi&&e instanceof fr)return e.controls.length===2||oU(e)?i$t(t,new Jt(e.start(),e.end())):PXo(t,e);if(t instanceof fr&&e instanceof Pi)return t.controls.length===2||oU(t)?t$t(new Jt(t.start(),t.end()),e):OXo(t,e);if(t instanceof fr&&e instanceof fr)return Iht(t,e);throw new Error("not support")}function lde(t,e){return Jn(t,e.start()).dot(Jn(e,e.start()))<=0?!1:Bw(t,e).state<=2}function g1t(t,e){let i=e.getPercent(t.end(),qn);if(i===null)return!1;if(i===0)return!0;let o=e.clip(i)[0],r=t.buildConverxHull(qn),n=o.buildConverxHull(qn),a=c(r),s=c(n);return l(a,s);function l(d,u){let p=new Map([[0,1],[1,0],[2,2],[3,4],[4,3]]),m=d[0],h=u[0];if(!m||!h)throw Error("isAllOverlap(sides1: PackSide[], sides2: PackSide[])");let f=!0;do{let g=m.getShape(),b=h.getShape();if(g instanceof Jt&&b instanceof Jt){let y=f?Rie(g,b).state:p.get(Rie(b,g).state);if(y===0)m=m.nextSide,f=!1;else if(y===1)h=h.nextSide,f=!0;else if(y===2)m=m.nextSide,h=h.nextSide,f=!0;else return!1}else throw Error("not support")}while(m!==d[0].prevSide&&h!==u[0].prevSide);return!0}function c(d){let u=d.primitives.map(m=>new ywe(m)),p=u[u.length-1];return u.forEach(m=>{p.connect(m),p=m}),u}}function e$t(t,e){let i=t.end().distance2(e.center);if(i>(e.rx+qn)**2||i<(e.rx-qn)**2||!(xn(t.end(),e.end())||Lht(e,t.end())))return!1;if(t.center.equals1(e.center))return!0;let o=t.center.distance1(e.center),r=Math.abs(t.rx-e.rx);if(o>Math.min(t.rx,e.rx)){let n=t.center.angleD(e.center);return t.rx>e.rx?!(o+r>qn&&YR(t,n))&&!(o-r>qn&&t.rx+e.rx-o>qn&&YR(t,n+180)):!(o-r>qn&&YR(t,n))&&!(t.rx+e.rx-o>qn&&YR(t,n+180))}else{if(o+r<=qn)return!0;let n=t.rx>e.rx?t.center.angleD(e.center):e.center.angleD(t.center);return YR(t,n)?!1:o-r<=qn?!0:!YR(t,n+180)}}function PXo(t,e){let i=vht(t,e.start()).toBezier2(),o,r=0;for(let n=i.length;r<n;r++){let a=i[r];if(o=Iht(a,e).state,o!==0)break}return o===2&&r!==i.length-1?{state:1}:{state:o}}function OXo(t,e){let i=e.toBezier2(),o,r=0;for(let n=i.length;r<n;r++){let a=i[r];if(o=Iht(t,a).state,o!==1)break}return o===2&&r!==i.length-1?{state:0}:{state:o}}function Iht(t,e){if(t.controls.length===2||oU(t))return e.controls.length===2||oU(e)?Rie(new Jt(t.start(),e.end()),new Jt(e.start(),e.end())):Z1t(new Jt(e.start(),t.end()),e);if(e.controls.length===2||oU(e))return xei(J1t(t,e.start()),new Jt(e.start(),e.end()));let i=J1t(t,e.start());if(oU(i))return Z1t(new Jt(e.start(),t.end()),e);let o=g1t(i,e),r=g1t(e,i);if(!o&&!r){let n=Jqo(i,e);if(n.havOverlap){let a=n.havOverlap!==2,s=n.havOverlap!==1;return sU(t,e,a,s)}else{let a=function(){for(let u=0;u<c;u+=2)Et[u]=d[u],Et[u+1]=d[u+1]},s,l,c=n.cnt,d=new Array(c).fill(0).map((u,p)=>Et[p]);for(let u=0;u<c;u+=2){let p=new pi(Et[u],Et[u+1]),m=i.getPercent(p,qn),h=e.getPercent(p,qn);if(m===0||h===0)continue;let f=m===1?i:i.clip(m)[0],g=h===1?e:e.clip(h)[0];if(g1t(f,g)){let b=Jn(t,p).cross(Jn(e,p));if(b===0){s=i.end(),l=e.end();break}return{state:b<0?3:4}}a()}return(!s||!l)&&(s=xde(i.controls,i.controls[0],e),l=xde(e.controls,i.controls[0],i)),{state:s.sub(i.controls[0]).cross(l.sub(i.controls[0]))>0?4:3}}}return sU(t,e,o,r)}function xei(t,e){let i=J1t(t,e.start());if(oU(i))return Rie(new Jt(i.start(),i.end()),e);let o=Sei(i,e),{isIn:r,bezierIsInLeft:n}=Tei(e,i);if(!o&&!r){if(n!==void 0)return{state:n?3:4};let a=null,s=t.getPercent(e.start(),qn)+.01;for(let l=s>1?1:s;l<=1;){let c=fr.pointOn(l,t.controls);if(awe(e,c)>zw){a=c;break}l+=.01,l>1&&(l=1)}if(!a)throw Error("!end1 && !end2 not result");return{state:e.direct.cross(a.sub(e.start()))<0?4:3}}return sU(i,e,o,r)}function Z1t(t,e){let{isIn:i,bezierIsInLeft:o}=Tei(t,e),r=Sei(e,t);if(!i&&!r){if(o!==void 0)return{state:o?4:3};let n=null;for(let a=.01;a<=1;){let s=fr.pointOn(a,e.controls);if(awe(t,s)>zw){n=s;break}a+=.01,a>1&&(a=1)}if(!n)throw Error("!end1 && !end2 not result");return{state:t.direct.cross(n.sub(t.start()))<0?3:4}}return sU(e,t,i,r)}function RXo(t,e){let i=e$t(vht(t,e.start()),e),o=e$t(e,t);if(!i&&!o){let r=C9(e);if(t.center.sub(e.start()).dot(e.center.sub(e.start()))>0){if(t.rx===e.rx)return t.isCCW?{state:r.dot(t.center.sub(e.center))<0?3:4,exitIsInvalid:!1}:{state:r.dot(t.center.sub(e.center))>0?3:4,exitIsInvalid:!1};let n,a;return t.rx>e.rx?(n=t,a=e):(n=e,a=t),r.dot(a.center.sub(n.center))>0&&a.rx+a.center.distance1(n.center)-n.rx>qn?t.isCCW?{state:t.rx>e.rx?3:4,exitIsInvalid:!1}:{state:t.rx<e.rx?3:4,exitIsInvalid:!1}:t.isCCW?{state:t.rx<e.rx?3:4,exitIsInvalid:!0}:{state:t.rx>e.rx?3:4,exitIsInvalid:!0}}else return t.rx+e.rx-t.center.distance1(e.center)>qn&&r.dot(t.center.sub(e.center))>0?{state:e.isCCW?3:4,exitIsInvalid:!1}:{state:t.isCCW?3:4,exitIsInvalid:!0}}return sU(t,e,i,o)}function t$t(t,e){let i=w9.foot(t,e.center),o=t.end().distance2(e.center),r=t.end().sub(t.start()),n=(e.rx-qn)**2,a=o<=(e.rx+qn)**2&&o>=n&&(r.dot(i.sub(e.start()))<=0||t.start().distance2(t.end())<=t.start().distance2(i)||i.distance2(e.center)>=n)&&(xn(t.end(),e.end())||Lht(e,t.end())),s=Mei(e,t);if(!a&&!s){let l=t.distance2(e.center);return l<=zw?{state:r.cross(C9(e))>0?4:3}:r.dot(i.sub(e.start()))>=0&&(o<n||t.start().distance2(e.center)<n||l<n)?{state:r.cross(e.center.sub(t.start()))<0?4:3}:{state:r.cross(e.center.sub(t.start()))>0?4:3}}return sU(e,t,a,s)}function YR(t,e){return e=Qa.regularD(e),t.sweepAngle>0?(e<t.startAngle&&(e+=360),t.endAngle()>e):(e>t.startAngle&&(e-=360),t.endAngle()<e)}function Lht(t,e){return xn(t.end(),e)||xn(t.start(),e)||YR(t,e.angleD(t.center))}function Tei(t,e){let i=t.panDistance(qn),o=t.panDistance(-qn),r=o$t(e,i),n=o$t(e,o);if(!r.length&&!n.length)return{isIn:e.getPercent(t.end(),qn)!==null};let a=[...r,...n].sort((d,u)=>d.t-u.t),s=new Jt(o.start(),i.start()),l=[];for(let d=0,u=a.length;d<u;d++){let p=a[d];if(l.push(p),s.distance(p.interP)>t.length()+qn)break;if(l.length===2){let m=(l[1].t*10+l.shift().t*10)/20,h=fr.pointOn(m,e.controls);if(t.distance2(h)>zw)return{isIn:!1,bezierIsInLeft:t.direct.cross(h.sub(t.start()))>0}}}let c=l.length?s.distance(l[0].interP)>=t.length()+qn:!0;return{isIn:c,bezierIsInLeft:c?void 0:t.direct.cross(l[0].interP.sub(t.start()))>0}}function Sei(t,e){if(awe(e,t.end())>zw||t.getToLineMaxDis2(e)>zw)return!1;let i=jXo(e,zw);return t.getToLineMaxDis2(i)<=(e.length()+qn)**2}function Mei(t,e){let i=e.end().angleD(e.start()),o=_Xo(e,t.end());if(o>zw)return!1;if(YR(t,i+90)){if(w9.foot(e,t.center).distance1(t.pointOn(i+90))>t.rx)return!1;o=Math.max(o,(t.rx-e.distance(t.center))**2)}if(YR(t,i-90)){if(w9.foot(e,t.center).distance1(t.pointOn(i-90))>t.rx)return!1;o=Math.max(o,(t.rx-e.distance(t.center))**2)}return o<=zw&&(xn(t.end(),e.end())||q1t(e,t.end()))}var Iei=(qn*2)**2;function vht(t,e){if(xn(t.end(),e))return Pi.build3(t.center,t.endAngle(),0,t.rx,t.ry);if(t.start().distance2(e)<Iei)return t;let i=Qa.regularD(e.angleD(t.center));if(!YR(t,i))throw new Error("!angleIsInArc(arc, angle)");return Pi.build2(t.center,i,t.endAngle(),t.rx,t.ry,t.isCCW?1:0)}function J1t(t,e){if(xn(t.end(),e))return new fr([e,e]);if(t.start().distance2(e)<Iei)return t;let i=t.getPercent(e,qn);if(i===null)throw new Error("!cutBezier(bezier: Bezier, p: Vector2)");return t.clip(i)[1]}function i$t(t,e){let i=Mei(vht(t,e.start()),e),o=e.end().distance2(t.center),r=e.end().sub(e.start()),n=w9.foot(e,t.center),a=(t.rx-qn)**2,s=o<=(t.rx+qn)**2&&o>=a&&(r.dot(n.sub(e.start()))<=0||e.start().distance2(e.end())<=e.start().distance2(n)||n.distance2(t.center)>=a)&&(xn(t.end(),e.end())||Lht(t,e.end()));if(!i&&!s){let l=e.distance2(t.center);return l<=zw?{state:r.cross(C9(t,e.start().angle(t.center)))>0?3:4}:r.dot(n.sub(e.start()))>=0&&(o<a||e.start().distance2(t.center)<a||l<a)?{state:r.cross(t.center.sub(e.start()))>0?4:3}:{state:r.cross(t.center.sub(e.start()))<0?4:3}}return sU(e,t,i,s)}function Rie(t,e){if(xn(t.end(),e.end()))return sU(t,e,!0,!0);let i=awe(e,t.end())<=zw&&q1t(e,t.end()),o=awe(t,e.end())<=zw&&q1t(t,e.end());if(!i&&!o){let r=t.direct.x===0&&t.direct.y===0,n=e.direct.x===0&&e.direct.y===0;if(r&&n)throw Error("2LineAllIsPoint");return r?{state:e.direct.cross(t.end().sub(e.start()))>0?3:4}:{state:t.end().sub(t.start()).cross(e.end().sub(t.start()))>0?4:3}}return sU(t,e,i,o)}function q1t(t,e){return w9.foot(t,e).distance2(t.start())<t.end().distance2(t.start())}function sU(t,e,i,o){if(i)return o?xn(t.end(),e.end())?{state:2}:{state:0}:{state:0};if(o)return{state:1};throw new Error("!end1 && !end2")}function awe(t,e){return(t.a*e.x+t.b*e.y+t.c)**2/(t.a**2+t.b**2)}function _Xo(t,e){return Math.min(t.distance2(e),w9.foot(t,e).distance2(e))}function jXo(t,e){let i=t.panDistance(e),o=t.panDistance(-e);return new Jt(o.start(),i.start())}function oU(t){let e=t.start(),i=t.end();e.equals1(i)&&(i=e.add1(1,0));let o=i.y-e.y,r=e.x-i.x,n=-o*e.x-r*e.y,a=Math.sqrt(1/(o**2+r**2));o*=a,r*=a,n*=a;let s=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY;return t.controls.forEach(c=>{let d=o*c.x+r*c.y+n;d<s&&(s=d),d>l&&(l=d)}),JR(s,l)}function o$t(t,e){let i=p8(t,e),o=[],r=new Array(i).fill(0).map((a,s)=>Et[s]);for(let a=0;a<i;a+=2){let s=new pi(Et[a],Et[a+1]),l=t.getPercent(s);o.push({interP:s,t:l}),n()}function n(){for(let a=0;a<i;a+=2)Et[a]=r[a],Et[a+1]=r[a+1]}return o}var HR=.01,BXo=270;function hK(t){let e=HR**2,i=t.end(),o=[],r=[];for(let m=0,h=t.primitives.length;m<h;m++){let f=function(D,E){return D instanceof Jt&&E instanceof Jt&&Math.abs(D.direct.cross(E.direct))<ji.eps&&D.direct.dot(E.direct)>0||D instanceof Pi&&E instanceof Pi&&Math.abs(D.rx-E.rx)<=ji.eps&&D.center.distance2(E.center)<ji.eps&&D.isCCW===E.isCCW},g=function(D){if(YL(D,HR))r.push(null);else{if(D instanceof Jt)r.push(D);else if(D instanceof Pi&&D.rx===D.ry)u(D,r);else if(D instanceof fr){let E=[];mei(D,E),E.forEach(N=>{let R=N.start(),v=N.end();d(R,v)||r.push(N)})}else throw new Error("not support!");i=x}},b=function(D){if(D instanceof Jt)return D.direct.x===0&&D.direct.y===0;if(D instanceof Pi)return D.sweepAngle===0;if(D instanceof fr){let E=new Set(D.controls.map(R=>R.x)),N=new Set(D.controls.map(R=>R.y));return E.size===1&&N.size===1}else throw new Error("not support")},y=t.primitives[m],w=y.start(),x=y.end();if(b(y))continue;d(i,w)||(r.push(new Jt(i,w)),i=w);let S=(m+1)%h,T=t.primitives[S];for(;f(y,T)&&(S=(S+1)%h,T=t.primitives[S],T!==y););if(S===(m+1)%h){g(y);continue}if(T===y){if(!(y instanceof Pi)){if(Math.abs(t.area(.1))<e)return null;throw new Error("simplifyPolyline not support")}let D=y instanceof Pi?y.isCCW:t.area(.1)>0;r.length=0;let E=D?180:-180;r.push(Pi.build3(y.center,y.startAngle,E,y.rx,y.ry),Pi.build3(y.center,y.startAngle+E,E,y.rx,y.ry));break}let M=(()=>{if(y instanceof Jt)return(D,E)=>{let N=new Jt(D,E);return YL(N,HR)?null:[N]};if(y instanceof Pi)return(D,E)=>{let N;if(D.equals1(E)?N=Pi.build3(y.center,y.startAngle,y.sweep()===1?360:-360,y.rx,y.ry):N=Pi.build4(D,E,y.center,y.rx,y.ry,y.sweep()),YL(N,HR))return null;let R=N.pointOn(N.startAngle+N.sweepAngle/2),v=Pi.build4(N.start(),R,y.center,y.rx,y.ry,y.sweep()),k=Pi.build4(R,N.end(),y.center,y.rx,y.ry,y.sweep());return YL(v,HR)||YL(k,HR)?[N]:[v,k]};throw new Error("not support")})(),I=S===0;if(S<m&&!I&&(I=!M(t.primitives[0].start(),t.primitives[S-1].end()),!I)){let D=M(y.start(),t.primitives[h-1].end());if(D)r.push(...D);else{let E=M(y.start(),r[0].end());if(E.length===1)r[0]=E[0];else if(E.length===2)r[0]=E[1],r.push(E[0]);else throw new Error("!!!generatorPt")}break}m=S===0?h-1:S-1,T=t.primitives[m];let A=M(y.start(),T.end());if(A?(A.forEach(D=>r.push(D)),i=T.end()):g(null),I)break}let n=r.length;if(r.forEach((m,h)=>{if(m)o.push(m);else{let f,g;h===n-1&&(f=o[0],g=o[o.length-1]);let b=(h+1)%n;if(f=f!=null?f:r[b],f){let y=h,w=!1;for(;g=g!=null?g:r[(--y+n)%n],g!==f;)if(g){w=!0;break}if(w){if(f.start().equals1(g.end()))return;if(Jn(g,g.end()).dot(Jn(f,f.start()))<0){if(!d(g.end(),f.start())){let M=new Jt(g.end(),f.start());o.push(M);return}let{rebuildPrevPt:x,rebuildNextPt:S,rebuildLinkLine:T}=r$t(r[(y-1+n)%n],g,new Jt(g.end(),f.start()),f,r[(h+2)%n]);x&&S&&(x!==g?(r[(y+n)%n]=x,o[o.length-1]&&(o[o.length-1]=x)):S!==f&&(r[(h+1)%n]=S,o[0]===f&&(o[0]=S)),T&&o.push(T))}}}}}),o.length===0)return null;d(i,o[0].start())||o.push(new Jt(i,o[0].start()));let a=o[o.length-1];if(o.length===1)return a instanceof Pi?gl.build7([Pi.build2(a.center,0,180,a.rx,a.ry,a.sweep()),Pi.build2(a.center,180,360,a.rx,a.ry,a.sweep())]):a instanceof fr?gl.build7(a.clip(.5)):null;let s=o.map(m=>new zXo(m)),l=s[s.length-1];for(s.forEach(m=>{m.connect(l),l=m});!l.isVisited;){let m=function(){l.next.connect(f),l=l.next,l.isConnected=!1,l.isVisited=!1},h=function(){l.connect(f.prev),l.isConnected=!1},f=l.prev;if(l===f)break;let g=l.pt,b=f.pt,y=b.end();if(!l.isConnected&&!y.equals(g.start())){let w=function(S){l.isConnected=!0,l.pt=g=S,l.next.isVisited=!1},x=function(S){l.isConnected=!0,f.pt=S,f.isVisited=!1,l=f};if(g instanceof Jt)if(d(y,g.end())){m();continue}else w(new Jt(y,g.end()));else if(b instanceof Jt){d(b.start(),g.start())?h():x(new Jt(b.start(),g.start()));continue}else if(g instanceof fr)if(d(y,g.end())&&!(g.controls.length!==2&&g.getToLineMaxDis2(g.startToEndL)>=e)){m();continue}else w(new fr([y,...g.controls.slice(1)]));else if(b instanceof fr)d(b.start(),g.start())&&!(b.controls.length!==2&&b.getToLineMaxDis2(b.startToEndL)>=e)?h():x(new fr([...b.controls.slice(0,-1),g.start()]));else if(g instanceof Pi&&b instanceof Pi)if(Math.abs(Math.abs(g.sweepAngle)-180)<Math.abs(Math.abs(b.sweepAngle)-180)){let S=Pi.build5(y,g.end(),g.sweepAngle);if(d(S.start(),S.end())&&!(S.rx>=HR&&Math.abs(S.sweepAngle)>180)){m();continue}else w(S)}else{let S=Pi.build5(b.start(),g.start(),b.sweepAngle);d(S.start(),S.end())&&!(S.rx>=HR&&Math.abs(S.sweepAngle)>180)?h():x(S);continue}else throw new Error("not support")}if(Jn(g,g.start()).dot(Jn(b,b.end()))<0){let w=function(T,M,I,A,D,E){if(l.next===f){l=null;return}let{rebuildLinkLine:N,rebuildPrevPt:R,rebuildNextPt:v}=r$t(T,M,I,A,D);R&&v&&(R!==M&&(f.prev.pt=R),v!==A&&(l.next.pt=v),N?E.pt=N:m())},x=function(){l.next===f?l=null:(l.next.connect(f.prev),l=l.next,l.isConnected=!1,l.isVisited=!1)},S=Bw(b.reverse(),g).state;if(S===0){let T=n$t(g,b.start(),g.end());if(p(T)){let M=f.prev.pt,I=l.next.pt;if(Jn(I,I.start()).dot(Jn(M,M.end()))>=0){if(x(),!l)break;continue}if(w(f.prev.prev.pt,M,T instanceof Jt?T:new Jt(T.start(),T.end()),I,l.next.next.pt,l),!l)break}else l.pt=T;h();continue}else if(S===1){let T=n$t(b,b.start(),g.end());if(p(T)){let M=f.prev.pt,I=l.next.pt;if(Jn(I,I.start()).dot(Jn(M,M.end()))>=0){if(x(),!l)break;continue}if(w(f.prev.prev.pt,M,T instanceof Jt?T:new Jt(T.start(),T.end()),I,l.next.next.pt,f),!l)break}else f.pt=T;m();continue}else if(S===2){if(x(),!l)break;continue}}l.isVisited=!0,l=l.next}if(!l)return null;o.length=0;let c=l;for(o.push(l.pt),l=l.next;l!==c;)o.push(l.pt),l=l.next;if(o.length===1){let m=o[0];return m instanceof Pi?(d(m.start(),m.end())?o[0]=Pi.buildCircle(m.center,m.rx,m.sweep()):o.push(new Jt(m.end(),m.start())),gl.build7(o)):m instanceof fr?(d(m.start(),m.end())||o.push(new Jt(m.end(),m.start())),gl.build7(o)):null}if(t=gl.build7(o),Math.abs(t.area(.1))<e)return null;return t;function d(m,h){return m.distance2(h)<e}function u(m,h){if(Math.abs(m.sweepAngle)>BXo){let f=m.sweepAngle/2;u(Pi.build3(m.center,m.startAngle,f,m.rx,m.ry),h),u(Pi.build3(m.center,m.startAngle+f,f,m.rx,m.ry),h)}else h.push(m)}function p(m){return m.start().distance2(m.end())<e&&!(m instanceof Pi&&m.rx>=HR&&Math.abs(m.sweepAngle)>180||m instanceof fr&&m.controls.length!==2&&m.getToLineMaxDis2(new Jt(m.start().add1(1,0),m.end()))>=e)}}function YL(t,e){if(!t)return!0;let i=t.start(),o=t.end();if(i.distance2(o)<e**2)if(t instanceof Pi){if(!(t.rx>=e&&Math.abs(t.sweepAngle)>180))return!0}else if(t instanceof fr){if(!(t.controls.length!==2&&t.getToLineMaxDis2(new Jt(t.start().add1(1,0),t.end()))>=e))return!0}else return!0;return!1}function cde(t){if(t.direct.x===0&&t.direct.y===0)throw Error("getEndOfExtendLine(line: Line, distance: number)");let e=Math.abs(HR-t.length())+ji.eps,i={x:t.direct.normalize().x*e,y:t.direct.normalize().y*e},o=t.end();return new pi(o.x+i.x,o.y+i.y)}function r$t(t,e,i,o,r){if(!t)a();else if(!r)s();else{let l=Jn(t,t.end()),c=Jn(e,t.end()),d=l.dot(c);if(d>=0)a();else{let u=Jn(o,o.end()),p=Jn(r,o.end()),m=u.dot(p);if(m>=0)s();else if(JR(d,-1)&&JR(m,-1)){let h=i.center();n(h),i=null}else d>m?a():s()}}function n(l){let c;if(e instanceof Jt)c=new Jt(e.start(),l);else if(e instanceof fr)c=new fr([...e.controls.slice(0,-1),l]);else if(e instanceof Pi)c=Pi.build5(e.start(),l,e.sweepAngle);else throw new Error("not supported");e=YL(c,qn)?null:c;let d;if(o instanceof Jt)d=new Jt(l,o.end());else if(o instanceof fr)d=new fr([l,...o.controls.slice(1)]);else if(o instanceof Pi)d=Pi.build5(l,o.end(),o.sweepAngle);else throw new Error("supported");o=YL(d,qn)?null:d}function a(){if(e instanceof Jt){let l=cde(i.reverse());i=new Jt(l,i.end());let c=new Jt(e.start(),l);e=YL(c,qn)?null:c}else if(e instanceof fr){let l=cde(i.reverse());i=new Jt(l,i.end());let c=new fr([...e.controls.slice(0,-1),l]);e=YL(c,qn)?null:c}else if(e instanceof Pi){let l=cde(i.reverse());i=new Jt(l,i.end());let c=Pi.build5(e.start(),l,e.sweepAngle);e=YL(c,qn)?null:c}else throw new Error("not supported")}function s(){if(o instanceof Jt){let l=cde(i);i=new Jt(i.start(),l);let c=new Jt(l,o.end());o=YL(c,qn)?null:c}else if(o instanceof fr){let l=cde(i);i=new Jt(i.start(),l);let c=new fr([l,...o.controls.slice(1)]);o=YL(c,qn)?null:c}else if(o instanceof Pi){let l=cde(i);i=new Jt(i.start(),l);let c=Pi.build5(l,o.end(),o.sweepAngle);o=YL(c,qn)?null:c}else throw new Error("not supported")}return{rebuildPrevPt:e,rebuildNextPt:o,rebuildLinkLine:i}}function n$t(t,e,i){if(t instanceof Jt||e.distance2(i)<=zw)return new Jt(e,i);if(t instanceof Pi)return Pi.build2(t.center,e.angleD(t.center),i.angleD(t.center),t.rx,t.ry,t.isCCW?1:0);if(t instanceof fr){let o=t.getPercent(e,qn),r=t.getPercent(i,qn);return t.clip(o)[1].clip((r-o)/(1-o))[0]}else throw new Error("not supported operation")}var zXo=class{constructor(t){this.pt=t}connect(t){this.prev=t,t.next=this}};function zNe(t){let e=wwe(),i;if(t instanceof gl){let o=hK(t);if(o===null)return null;i=o}else if(t instanceof kg){let o=t.items.map(r=>zNe(r)).filter(r=>r!==null);if(o.length===0)return null;i=new kg(o)}else{let o=t.items.map(r=>zNe(r)).filter(r=>r!==null);if(o.length===0)return null;i=new eh(o)}return QR.preprocessPolyline+=sK(e),i}var QR={addDocShapes2RTree:0,getPour:0,prepare:0,getSinglePourLayerPolyline:0,combindOutlines:0,mergeSameNet:0,run:0,end:0,deSelfIntersection:0,changeDirect:0,extend:0,preprocessPolyline:0,runBoolean:0,IntersectionSeeker:0,BooleanTools:0,totalBool:0};function wwe(){return{timeIndex:Object.assign({},QR),start:performance.now()}}function a$t(t){return Object.values(t).reduce((e,i)=>e+i,0)}function sK(t){return performance.now()-t.start-(a$t(QR)-a$t(t.timeIndex))}function xb(t,e,i,o){let r=id.RED,n=id.Golden;function a(){if(!o)return;let p=o.initColor(id.Golden);p.addPt(s),p.addPoint(s.end()),o.initColor(id.RED).addPt(l),o.draw();debugger}let s=t.getShape(),l=i?e.getShape():e.getShape().reverse(),c=Jn(s,l.start()),d=Jn(l),u=c.cross(d);if(JR(u,0))if(s instanceof Jt)if(l instanceof Jt){if(ji.eq(u,0)&&(c.dot(d)>0?!xn(s.end(),l.start()):!xn(s.start(),l.start())))throw a(),new Error("line and line");return u<0}else{if(l instanceof Pi)return c.cross(l.center.sub(s.start()))<0;if(l instanceof fr){let p=l.getExtremePoints(s),m=p.length?p[0]:xde(l.controls,s.start());return c.cross(m.sub(s.start()))<0}else throw new Error("not support")}else if(s instanceof Pi){if(l instanceof Jt)return s.isCCW;if(l instanceof Pi){if(l.center.equals1(s.center)&&(c.dot(d)>0?!xn(s.end(),l.start())&&s.end().sub(l.start()).dot(d)>0:!xn(s.start(),l.start())&&s.start().sub(l.start()).dot(d)>0))throw a(),new Error("arc and arc");return l.rx>=s.rx||l.center.distance2(s.center)>s.rx2?s.isCCW:!s.isCCW}else throw new Error("not support")}else if(s instanceof fr)if(l instanceof Jt){let p=s.getPercent(l.start(),qn),m=s.clip(p)[1],h=m.getExtremePoints(l);return(h.length?h[0]:xde(m.controls,l.start())).sub(l.start()).cross(d)<0}else if(l instanceof fr){let p=s.getPercent(l.start(),qn),m=s.clip(p)[1],h=m.getExtremePoints(new Jt(l.start(),l.end())),f=l.getExtremePoints(new Jt(m.start(),m.end())),g=h.length?h[0]:xde(m.controls,l.start()),b=f.length?f[0]:xde(l.controls,l.start()),y=g.sub(l.start()),w=b.sub(l.start());return y.cross(w)<0}else throw Error("not support");else throw new Error("not support");else return u<0}function zie(t,e,i,o,r){let n=t.getShape(),a=e.getShape(),s=n instanceof Pi?C9(n,Qa.toRadians(n.endAngle())):n instanceof fr?rwe(n,1):n.end().sub(n.start()).normalize(),l=Jn(a),c=s.dot(l);if(JR(c,-1))return xb(t,e,!0,r)?xb(t,i,o,r)&&xb(e,i,o,r):xb(t,i,o,r)||xb(e,i,o,r);{let d=s.scale(-1).angle(pi.ORIGIN),u=l.angle(pi.ORIGIN);d>u&&(d-=o7e);let p=(d+u)/2,m=new pi(Math.cos(p),Math.sin(p)),h=o?i.getShape():i.getShape().reverse(),f=Jn(h);return m.cross(f)<0?xb(t,i,o,r):xb(e,i,o,r)}}function b1t(t,e,i,o,r){let n=t.getShape(),a=e.getShape(),s=n instanceof Pi?C9(n,Qa.toRadians(n.endAngle())):n instanceof fr?rwe(n,1):n.end().sub(n.start()).normalize(),l=Jn(a),c=s.dot(l);if(JR(c,-1))return xb(t,e,!0,r)?xb(t,i,o,r)&&xb(e,i,o,r):xb(t,i,o,r)||xb(e,i,o,r);{let d=s.scale(-1).angle(pi.ORIGIN),u=l.angle(pi.ORIGIN);d>u&&(d-=o7e);let p=(d+u)/2,m=new pi(Math.cos(p),Math.sin(p)),h=o?i.getShape():i.getShape().reverse(),f=Jn(h);if(m.cross(f)<0){let g=s.dot(f)<0,b=Bw(g?t.getShape().reverse():t.getShape(),h).state;return b!==3&&b!==4?xb(t,i,o,r):b===(g?4:3)}else{let g=l.dot(f)<0,b=Bw(g?e.getShape().reverse():e.getShape(),h).state;return b!==3&&b!==4?xb(e,i,o,r):b===(g?4:3)}}}var FXo=(t=>(t[t.NOT_IN=0]="NOT_IN",t[t.IS_IN=1]="IS_IN",t[t.IS_OVERLAP=2]="IS_OVERLAP",t))(FXo||{}),UXo=(t=>(t[t.AllClear=0]="AllClear",t[t.MapClear=1]="MapClear",t))(UXo||{}),WR,cK=!1;function WL(t,e,i,o,r,n,a,s=i.side===e,l=!0,c){return WR=r,cK=n,Lei(vei(t,e,l,c,a,i,s,o),i,s,o,0)}function eU(t,e,i,o,r,n,a,s=o.side===i){WR=r,cK=n;let l=Dei(t,e,i,new Map,o,s,a),c=l instanceof Array?-1:1;return Lei(l,o,s,a,c)}function Lei(t,e,i,o,r){for(;t instanceof Array;)r++,t.length===4?t=Dei(...t,e,i,o):t=vei(...t,e,i,o);return{...t,existOverlap:r>0}}function vei(t,e,i,o,r,n,a,s){if(FNe===-1){s.initColor(id.RED).addPt(t.getShape()),s.initColor(id.Golden).addPt(e.getShape()),s.draw();debugger}let l=t.getShape(),c=a?e.getShape().reverse():e.getShape(),d=(l instanceof Pi?C9(l,i?c.start().angle(l.center):o?Qa.toRadians(l.endAngle()):void 0):l instanceof fr?Jn(l,i?c.start():o?l.end():l.start()):l.end().sub(l.start())).normalize(),u=(c instanceof Pi?C9(c,i?void 0:(o?l.end():l.start()).angle(c.center)):c instanceof fr?Jn(c,i?void 0:o?l.end():l.start()):c.end().sub(c.start())).normalize();if(o===void 0){let h=d.dot(u);if(o=h<0,JR(h,0))return{state:xb(t,e,!a,s)?1:0,inter:tU(t,e,n,a,i,o,r)}}else if(o?d.dot(u)>0:d.dot(u)<0)if(i){let h,f=!0;if(l instanceof Jt&&xn(w9.foot(l,c.start()),o?l.end():l.start()))f=!1;else if(l instanceof Pi||l instanceof fr){let g=o?l.reverse():l,b=Bw(c,tXo(g,c.start()).reverse()).state;(b===1||b===2)&&(f=!1)}if(f){let g=!o;h=Bw(g?l.reverse():l,c,s).state===(g?4:3)?1:0}else o?h=zie(t,t.nextSide,e,!a,s)?1:0:h=zie(t.prevSide,t,e,!a,s)?1:0;return{state:h,inter:tU(t,e,n,a,i,o,r)}}else return o?{state:xb(t,t.nextSide,!0,s)?0:1,inter:tU(t,e,n,a,i,o,r),isReversed:!0}:{state:xb(t.prevSide,t,!0,s)?0:1,inter:tU(t,e,n,a,i,o,r),isReversed:!0};let p,m=new Map([[3,4],[4,3],[0,1],[1,0],[2,2]]);if(i)if(t.judgeOverlapMap.has(e)&&!cK){let h=t.judgeOverlapMap.get(e);p=o?m.get(h.state):h.state}else p=Bw(o?l.reverse():l,c).state,(p===3||p===4)&&t.judgeOverlapMap.set(e,{state:o?m.get(p):p});else{if(e.judgeOverlapMap.has(t)&&!cK){let h=e.judgeOverlapMap.get(t);p=a?m.get(h.state):h.state}else p=Bw(c,o?l.reverse():l).state,(p===3||p===4)&&e.judgeOverlapMap.set(t,{state:a?m.get(p):p});p=m.get(p)}if(p===1||p===2){let h=a?e.prevSide:e,f=h.inters,g=h.getEnd();for(let b=f.length-1;b>=0;b--){let y=f[b];if(!(h.getShape()instanceof fr)&&!xn(g,y.coord))break;if(y===n)return{state:2,inter:tU(t,e,n,a,i,o,r)}}}if(p===3||p===4)return{state:p===(o?4:3)?1:0,inter:tU(t,e,n,a,i,o,r)};if(r.has(t)?r.get(t).mapSideList.push(e):r.set(t,{sideIsReversed:o,mapSideList:[e]}),r.has(e)?r.get(e).mapSideList.push(t):r.set(e,{sideIsReversed:a,mapSideList:[t]}),p===2)return o?[t.prevSide,t,a?e.prevSide:e.nextSide,r]:[t,t.nextSide,a?e.prevSide:e.nextSide,r];if(p===0)return[o?t.prevSide:t.nextSide,e,!1,o,r];if(p===1)return[t,a?e.prevSide:e.nextSide,!0,o,r];throw Error("not support")}function tU(t,e,i,o,r,n,a){if(cK)return null;let s=t.getShape(),l=o?e.getShape().reverse():e.getShape(),c=o;if(!r){let m=e;e=t,t=m,o=n,i=i.getBindedInter()}let d=m=>!(r?n:c)&&xn(m,t.prevSide.getEnd())?t.prevSide:t;if(o){let m=e.inters;for(let h=0;h<m.length;h++){let f=m[h];if(f.isInvalid&&n===void 0)continue;if(f===i&&xn(l.start(),i.coord))return r?f:f.getBindedInter();let g=f.getBindedInter().side,b=d(f.coord);if(g===b&&u(f))return p(f)}for(;;){e=e.nextSide;let h=e.inters;for(let f=0;f<h.length;f++){let g=h[f];if(g===i)return r?g:g.getBindedInter();if(a.has(e)){let b=g.getBindedInter().side;if(a.get(e).mapSideList.includes(b)||xn(g.coord,b.getEnd())&&a.get(e).mapSideList.includes(b.nextSide))return p(g);if(a.has(b)){let y=e.getShape().reverse(),w=Jn(y,g.coord).dot(Jn(b.getShape(),g.coord))<0,x=w?b.getShape().reverse():b.getShape(),S=Bw(y,w?u1t(x,g.coord,x.end()):u1t(x,x.start(),g.coord)).state;if(S===1||S===2)return p(g)}else a.has(b.nextSide)}else if(g.side===i.side&&u(g))return p(g)}}}else{let m=e.inters;for(let h=m.length-1;h>=0;h--){let f=m[h];if(f.isInvalid&&n===void 0)continue;if(f===i&&xn(l.start(),i.coord))return r?f:f.getBindedInter();let g=f.getBindedInter().side,b=d(f.coord);if(g===b&&u(f))return p(f)}for(;;){e=e.prevSide;let h=e.inters;for(let f=h.length-1;f>=0;f--){let g=h[f];if(g===i)return r?g:g.getBindedInter();if(a.has(e)){let b=g.getBindedInter().side;if(a.get(e).mapSideList.includes(b)||xn(g.coord,g.getBindedInter().side.getEnd())&&a.get(e).mapSideList.includes(b.nextSide))return p(g);if(!a.has(b)&&a.has(b.prevSide)){let y=e.getShape().reverse(),w=Jn(y,g.coord).dot(Jn(b.getShape(),g.coord))<0;if(a.has(b.prevSide)){let x=w?b.getShape().reverse():b.getShape(),S=Bw(e.getShape(),u1t(x,g.coord,x.end())).state;if(S===1||S===2)return p(g)}}}else if(g.side===i.side&&u(g))return p(g)}}}function u(m){if(m.isInvalid||m.getBindedInter().side!==(xn(m.coord,t.prevSide.getEnd())?t.prevSide:t))return!1;let h;if(r){if(xn(m.coord,l.start()))return!0;h=Bw(n?s.reverse():s,f(l)).state}else{if(xn(m.coord,n?s.end():s.start()))return!0;h=Bw(l,f(n?s.reverse():s)).state}return h===2||h===1;function f(g){if(g instanceof Jt)return xn(m.coord,g.end())?g:g.cutLine(m.coord);if(g instanceof Pi)return Pi.build2(g.center,g.startAngle,m.coord.angleD(g.center),g.rx,g.ry,g.isCCW?1:0);if(g instanceof fr)return g.clip(g.getPercent(m.coord,qn))[0];throw new Error("not supported operation")}}function p(m){let h=i.getBindedInter(),f=i.side,g=h.side,b=i===m,y=i;if(o){let w=i.getIndex()-1;for(;f;){let x=f.inters;for(;w>=0;w--)if(i=x[w],i===m){b||(i.setIsInvalid(),i.isDealed(),y=i),f=null;break}else if(WR===0)!i.isInvalid&&(!xn(i.coord,m.coord)||i.side===m.side&&i.getBindedInter().side===m.getBindedInter().side)&&(i.setIsInvalid(),i.isDealed(),y=i);else if(WR===1){if(i.isInvalid)continue;let S=i.getBindedInter().side;a.has(f)&&a.get(f).mapSideList.includes(S)&&(i.setIsInvalid(),i.isDealed(),y=i)}f=f==null?void 0:f.prevSide,w=(f==null?void 0:f.inters.length)-1}}else{let w=i.getIndex()+1;for(;f;){let x=f.inters;for(;w<x.length;w++){i=x[w];let S=i.getBindedInter();if(i===m){b||(i.setIsInvalid(),i.isDealed(),y=i),f=null;break}else if(WR===0)!i.isInvalid&&(!xn(i.coord,m.coord)||f===m.side&&(xn(S.side.getEnd(),i.coord)?S.side.nextSide:S.side)===m.getBindedInter().side)&&(i.setIsInvalid(),i.isDealed(),y=i);else if(WR===1){let T=S.side;a.has(f)&&a.get(f).mapSideList.includes(T)&&(i.setIsInvalid(),i.isDealed(),y=i)}}f=f==null?void 0:f.nextSide,w=0}}if(WR===0&&!xn(h.coord,m.coord))if(r?a.has(g)?a.get(g).sideIsReversed:n:c){let w=h.getIndex()-1;for(;g;){let x=a.has(g),S=g.inters;for(;w>=0;w--){if(h=S[w],h===m.getBindedInter()){g=null;break}h.isInvalid||!x||(!xn(h.coord,m.getBindedInter().coord)||h.side===m.side&&h.getBindedInter().side===m.getBindedInter().side)&&(h.setIsInvalid(),h.isDealed())}g=g==null?void 0:g.prevSide,w=(g==null?void 0:g.inters.length)-1}}else{let w=h.getIndex()+1;for(;g;){let x=g.inters,S=a.has(g);for(;w<x.length;w++){if(h=x[w],h===m.getBindedInter()){g=null;break}let T=xn(g.getEnd(),h.coord)?a.has(g.nextSide):!1;h.isInvalid||!(S||T)||(!xn(h.coord,m.getBindedInter().coord)||h.side===m.side&&h.getBindedInter().side===m.getBindedInter().side)&&(h.setIsInvalid(),h.isDealed())}g=g==null?void 0:g.nextSide,w=0}}return r?y:y.getBindedInter()}}function Dei(t,e,i,o,r,n,a){let s=t.getShape(),l=e.getShape(),c=n?i.getShape().reverse():i.getShape(),d=(s instanceof Pi?C9(s,c.start().angle(s.center)):s instanceof fr?Jn(s,c.start()):s.end().sub(s.start())).normalize(),u=(l instanceof Pi?C9(l,c.start().angle(l.center)):l instanceof fr?Jn(l,c.start()):l.end().sub(l.start())).normalize(),p=d.dot(u);if(JR(p,-1)){let m=n?i.getShape().reverse():i.getShape(),h=Jn(m).normalize(),f=d.add(u.scale(-1)).normalize().dot(h),g=Bw(s.reverse(),l,a).state;if(f>-.9&&(g===3||g===4))return{state:g===4?0:1,inter:tU(e,i,r,n,!0,!1,o)};let b=WL(t,i,r,a,WR,cK,o.size===0?new Map:o,n);return b.state===2?b:g===4?b.state===0||b.inter!==r?b:WL(e,i,r,a,WR,cK,o.size===0?new Map:o,n):b.state===1||b.inter!==r?b:WL(e,i,r,a,WR,cK,o.size===0?new Map:o,n)}else{let m=d.scale(-1).angle(pi.ORIGIN),h=u.angle(pi.ORIGIN);m>h&&(m-=o7e);let f=(m+h)/2,g=new pi(Math.cos(f),Math.sin(f)),b=Jn(c).normalize(),y=b.angle(pi.ORIGIN),w=m<y&&y<h&&s instanceof Jt&&l instanceof Jt&&c instanceof Jt;if(g.cross(b)<=0){if(d.scale(-1).dot(b)<0){let x;return r.coord.equals1(c.start())?x=Jn(s,r.coord).dot(Jn(c,r.coord))<0:c instanceof Jt&&(x=Jn(s,s.end()).dot(c.direct)<0),{state:zie(t,e,i,!n,a)?1:0,inter:tU(t,i,r,n,!0,x,o)}}return w&&s.distance2(c.start())>zw?[e,i,!0,void 0,o]:[t,i,!0,void 0,o]}else return u.dot(b)<=0?{state:zie(t,e,i,!n,a)?1:0,inter:tU(e,i,r,n,!0,void 0,o)}:w&&l.distance2(c.start())>zw?[t,i,!0,void 0,o]:[e,i,!0,void 0,o]}}var FNe=0;function VXo(t,e,i,o){let r=e.getBindedInter(),n=e.side,a=r.side,s=n.getShape(),l=a.getShape();if(o&&(FNe++,FNe===-1)){o.initColor(id.RED).addPt(s),o.initColor(id.Golden).addPt(l),o.draw();debugger}let c=0,d=!1;if(t===-1){let M=eU(n,n.nextSide,a,r,c,d,o),I=M.state!==0;if(M.state===2){let D=Jn(s,e.coord).add(Jn(n.nextSide.getShape(),e.coord)).normalize(),E=Jn(l,e.coord).add(Jn(a.nextSide.getShape(),e.coord)).normalize();return T(I,D.dot(E)>0)}let A=eU(n,n.nextSide,a.nextSide,r,c,d,o);return M.state!==A.state?(S(M,A),1):T(I,M.state!==eU(a,a.nextSide,n,e,c,!0,o).state,M.inter,A.inter)}if(t===1){let M=WL(n,a,r,o,c,d,new Map),I=M.state!==0;if(M.state===2)return T(I,Jn(s,e.coord).dot(Jn(l,e.coord))>0);let A;if(M.isReversed&&M.existOverlap&&xn(M.inter.coord,a.getEnd())&&M.inter.getBindedInter().side!==n){let N=M.inter.getBindedInter().side;if(N===n.nextSide)A={state:zie(n,N,a.nextSide,!0,o)?1:0,inter:r};else if(N===n.prevSide){if(A={state:zie(N,n,a.nextSide,!0,o)?1:0,inter:M.inter},M.state===A.state&&e!==M.inter){let R=Jn(l,e.coord),v=Jn(a.nextSide.getShape(),e.coord),k=Jn(N.getShape(),e.coord);return T(I,R.add(v).dot(k)>0,M.inter,A.inter)}}else A=WL(n,a.nextSide,r,o,c,d,new Map)}else A=WL(n,a.nextSide,r,o,c,d,new Map);if(M.state!==A.state)return S(M,A),1;let D=Jn(l,e.coord),E=Jn(a.nextSide.getShape(),e.coord);if(JR(D.dot(E),-1)){let N=xb(a,a.nextSide,!0,o);return T(I,M.state!==WL(a.nextSide,n,e,o,c,!0,new Map,N?!I:I,!1).state,M.inter,A.inter)}else{let N=Jn(s,e.coord);return T(I,D.add(E).dot(N)>0,M.inter,A.inter)}}if(!(s instanceof fr||l instanceof fr))return 1;let u=Jn(s,e.coord),p=Jn(l,e.coord),m,h;if(l instanceof Jt)m=new Jt(e.coord,l.start()),h=new Jt(e.coord,l.end());else if(l instanceof Pi){let M=e.coord.angleD(l.center);m=Pi.build2(l.center,M,l.startAngle,l.rx,l.ry,l.isCCW?0:1),h=Pi.build2(l.center,M,l.endAngle(),l.rx,l.ry,l.isCCW?1:0)}else if(l instanceof fr){let M=l.getPercent(e.coord,qn);[m,h]=l.clip(M),m=m.reverse()}else throw new Error("not support");let f=u.dot(p)>0,g,b;f?(g=Bw(s.reverse(),m).state,b=Bw(s,h).state):(g=Bw(s,m).state,b=Bw(s.reverse(),h).state);let y;g===0?y=WL(f?n.prevSide:n.nextSide,a,r,o,c,d,new Map,!0,!1,f):g===1?y=WL(n,a.prevSide,r,o,c,d,new Map,!0,!0,f):g===2?f?y=eU(n.prevSide,n,a.prevSide,r,c,d,o,!0):y=eU(n,n.nextSide,a.prevSide,r,c,d,o,!0):f?g===3?y={inter:r,state:0}:y={inter:r,state:1}:g===3?y={inter:r,state:1}:y={inter:r,state:0};let w=y.state!==0;if(y.state===2)return T(w,f);let x;if(b===0?x=WL(f?n.nextSide:n.prevSide,a,r,o,c,d,new Map,!1,!1,!f):b===1?x=WL(n,a.nextSide,r,o,c,d,new Map,!1,!0,!f):b===2?f?x=eU(n,n.nextSide,a.nextSide,r,c,d,o,!1):x=eU(n.prevSide,n,a.nextSide,r,c,d,o,!1):f?b===3?x={inter:r,state:1}:x={inter:r,state:0}:b===3?x={inter:r,state:0}:x={inter:r,state:1},y.state===x.state)return y.inter===x.inter?(e.setIsInvalid(),0):T(w,f,y.inter,x.inter);return S(y,x),1;function S(M,I){let A=M.state!==0;if(M.inter===I.inter){e.setOutToIn(A);return}else dde(M.inter,I.inter,!0),dde(I.inter,M.inter,!1);let D=[];if(t===-1){let N=Jn(s,e.coord),R=Jn(n.nextSide.getShape(),e.coord),v=Jn(l,e.coord),k=Jn(a.nextSide.getShape(),e.coord);D.push(N.dot(v)),D.push(N.dot(k)),D.push(R.dot(v)),D.push(R.dot(k))}else{let N=Jn(s,e.coord);D.push(Jn(l,e.coord).dot(N)),D.push(Jn(a.nextSide.getShape(),e.coord).dot(N))}if(D.reduce((N,R)=>Math.abs(N)>Math.abs(R)?N:R,0)>0)if(i===1||i===0||i===2||i===3)e.setOutToIn(A);else throw new Error("not support");else if(i===1)E(!A);else if(i===0||i===2||i===3)E(A);else throw new Error("not support");function E(N){e.setIsInvalid();let R=(N?M:I).inter;delete R.isInvalid,delete R.getBindedInter().isInvalid,R.setOutToIn(!A)}}function T(M,I,A,D){if(A===D){if(e.side.outline.inters.find(R=>!R.isInvalid&&R!==e&&xn(R.coord,e.coord)))return e.setIsInvalid(),0;let E=new iU(e.coord,n,o),N=new iU(e.coord,a,o);return E.bind(N),I?n.inters.splice(e.getIndex(),0,E):n.inters.splice(e.getIndex()+1,0,E),a.inters.splice(e.getBindedInter().getIndex(),0,N),E.setOutToIn(M),e.setOutToIn(!M),E.isDealed(),n.inters.forEach((R,v)=>R.setIndex(v)),a.inters.forEach((R,v)=>R.setIndex(v)),2}else{let E=function(){let N=A.getBindedInter(),R=D.getBindedInter();delete A.isInvalid,delete N.isInvalid,delete D.isInvalid,delete R.isInvalid,A.setOutToIn(!M),D.setOutToIn(M),dde(A,D,!0),dde(D,A,!1),dde(N,R,I),dde(R,N,!I)};if(e.setIsInvalid(),I){if(i===1||i===0||i===2||i===3)return E(),2;throw new Error("not support")}else{if(i===1)return M?0:(E(),2);if(i===0||i===2||i===3)return M?(E(),2):0;throw new Error("not support")}}}}function dde(t,e,i){let{judge:o,changeNum:r}=a(),n=t.getIndex();for(let s=n+r,l=t.side.inters;o(s);s+=r){if(l[s].isInvalid)continue;if(!xn(l[s].coord,t.coord))break;l[s].setIndex(n),l[n].setIndex(s);let c=l[s];l[s]=l[n],l[n]=c,n=s}function a(){let s=t.side===e.side;if(i){let l=s?e.getIndex():t.side.inters.length;return{judge:c=>c<l,changeNum:1}}else{let l=s?e.getIndex()+1:0;return{judge:c=>c>=l,changeNum:-1}}}}var s$t=0,iU=class{constructor(t,e,i){this.id=s$t++,this.coord=t,this.side=e,i&&(this.id=s$t++,this.drawDebug=i);let o=new pS;o.ext2(t),this._bbox=o.build1()}bbox(){return this._bbox}resetVisitStatus(){this.visited=!1,this.bindedInter.visited=!1}isDealed(){this.dealed=!0,this.getBindedInter().dealed=!0}setOutToIn(t){this.outToIn=t,this.bindedInter.outToIn=!t}setIsInvalid(){this.isInvalid=!0,this.getBindedInter().isInvalid=!0}getBindedInter(){return this.bindedInter}bind(t){this.bindedInter=t,t.bindedInter=this}setIndex(t){this.index=t}isSorted(){return this.index!==void 0}getIndex(){return this.index}getVisited(){return this.visited}visitSelf(){this.visited=!0}visit(){this.visited=!0,this.bindedInter.visited=!0}getPrevPoint(){let t=this.getIndex(),e=this.side.getStart();return t&&(e=this.side.inters[t-1].coord),e}getTangent(){let t=this.side.getShape();if(t instanceof Jt)return t.end().sub(t.start());if(t instanceof Pi){let e=this.coord.angle(t.center);return t.isCCW?e+=PNe:e-=PNe,new pi(Math.cos(e),Math.sin(e))}else{if(t instanceof fr)return rwe(t,t.getPercent(this.coord,qn));throw new Error("not support")}}findStartInter(){return this.outToIn===void 0?this.getTangent().cross(this.bindedInter.getTangent())>0?this:this.bindedInter:this.outToIn?this:this.bindedInter}run(){let t=[],e=this,i;if(this.drawDebug){y1t++;let o=y1t===-1,r=this.drawDebug.initColor(id.RED);if(o){this.drawDebug.draw();debugger}i=n=>{if(t.push(n),o){r.addPt(t[t.length-1]),this.drawDebug.draw();debugger}}}else i=o=>t.push(o);for(;!e.visited;){let o=function(s,l){if(ji.eq(s.distance2(l),0))return;let c=ywe.rebuild(n.getShape(),s,l);if(!c)return!0;i(c)};e.visit();let r=e.getIndex(),n=e.side,a=n.inters[r+1];for(;a!=null&&a.isInvalid;)a=n.inters[a.getIndex()+1];if(a)o(e.coord,a.coord),e=a.bindedInter;else{let s=o(e.coord,n.getEnd()),l=e.coord;for(n=n.nextSide,e=null;;){for(let c of n.inters)if(!c.isInvalid){e=c.bindedInter;break}if(e)break;s?(o(l,n.getEnd()),s=!1):i(n.getShape()),n=n.nextSide}s?(ji.eq(l.distance2(e.coord),0)?o(l,n.getEnd()):o(l,e.coord),s=!1):ji.eq(n.getEnd().distance2(e.coord),0)?i(n.getShape()):o(n.getStart(),e.coord)}}if(e!==this)throw this.drawDebug&&console.log(JSON.stringify({runId:y1t,handleId:FNe,boolId:Y3e})),new Error("inter !== this");return hK(gl.build7(t))}},y1t=0,w1t=class X1t{constructor(e,i,o,r,n){this.inters=[],this.allInterIsInvalid=!0,this.isVisit=!1,this.sides=e,this.isGroup1=o,this.isOutside=r,this.finalIsOutside=r,this.polyline=i,n&&(this.polygon=n),e.forEach(a=>a.outline=this)}static build(e,i,o,r,n){let a=e.primitives.map(l=>new ywe(l,r)),s=a[a.length-1];return a.forEach(l=>{s.connect(l),s=l}),n?new X1t(a,e,i,o,n):new X1t(a,e,i,o)}setFinalIsOutSide(e){this.finalIsOutside=e}startAndEndIsSameOutsideFlag(){return this.isOutside===this.finalIsOutside}get hasInter(){return!!this.interOutlines}isAllInterIsInvalid(){return this.allInterIsInvalid}setAllInterIsInvalidToFalse(){this.allInterIsInvalid=!1}resetVisited(){this.isVisit=!1}intersect(e,i){if(!(e.interOutlines&&e.interOutlines===this.interOutlines))if(e.interOutlines)if(this.interOutlines){let o,r;this.interOutlines.length>e.interOutlines.length?(o=this.interOutlines,r=e.interOutlines):(o=e.interOutlines,r=this.interOutlines),r.forEach(n=>{o.push(n),n.interOutlines=o}),i.delete(r)}else e.interOutlines.push(this),this.interOutlines=e.interOutlines;else this.interOutlines?(this.interOutlines.push(e),e.interOutlines=this.interOutlines):(e.interOutlines=this.interOutlines=[this,e],i.add(this.interOutlines))}isContain(e){if(!this.polyline.bbox().extendOfSize(qn).isContainsBBox(e.polyline.bbox()))return!1;let i=e.polyline.primitives[0].start();if(e.hasInter&&e.isAllInterIsInvalid()){let o=e.inters[0];o.getBindedInter().side.outline!==this?i=o.side.getCenterPoint():i=o.side.getCenterPoint(o.coord)}return!!this.polyline.getWindingNum(i)}isInternally(e){return!!this.polyline.getWindingNum(e)}isEqual(e){return this.polyline===e.polyline}bbox(){return this.polyline.bbox()}reverse(){this.sides.reverse();let e=this.sides[this.sides.length-1];this.sides.forEach(i=>{i.reverse(),e.connect(i),e=i})}returnPolyline(){let e=this.sides.map(o=>o.getShape()),i=this.polyline.primitives;if(this.sides.length===i.length){let o=new Set(i);if(!e.some(r=>!o.has(r)))return this.polyline}return gl.build7(e)}};function l$t(t,e,i){let o=[];return t.forEach(r=>r.forEach(n=>{if(n.hasInter&&!n.isAllInterIsInvalid())return;let a=n.bbox(),s=e.search(a.extendOfSize(qn)).filter(l=>l.bbox().extendOfSize(qn).isContainsBBox(a)).sort((l,c)=>l.bbox().area()-c.bbox().area());for(let l of s)if(l.isContain(n)){let c=i(!n.isOutside,l.isOutside),d=i(n.isOutside,l.isOutside);c!==d&&(o.push(n),n.setFinalIsOutSide(!c));return}i(n.isOutside,!1)!==i(!n.isOutside,!1)&&o.push(n)})),o}function HXo(t,e,i){let o;switch(i){case 0:o=(s,l)=>s&&l;break;case 1:o=(s,l)=>s||l;break;case 2:o=(s,l)=>s&&!l;break;case 3:o=(s,l)=>s&&!l||!s&&l;break;default:throw Error("not support the rule")}let r=new nwe(10),n=new nwe(10);t.forEach(s=>s.forEach(l=>r.add(l))),e.forEach(s=>s.forEach(l=>n.add(l)));let a=l$t(t,n,o);return l$t(e,r,(s,l)=>o(l,s)).forEach(s=>a.push(s)),a}var GXo=class{constructor(t){this.roots=[],this.nodes=t.sort((e,i)=>e.bbox().minX-i.bbox().minX).map(e=>new YXo(e)),this.nodes.forEach((e,i)=>{e.visit()&&(this.roots.push(e),this.build(i))})}build(t){let e=this.nodes[t];for(let i=t+1,o=this.nodes.length;i<o;i++){let r=this.nodes[i];if(e.key.bbox().maxX<r.key.bbox().minX)break;r.getIsVisit()||e.isContain(r)&&(r.visit(),e.addChild(r),this.build(i))}}getPolygons(){let t=[];return this.roots.forEach(e=>e.getPolygons().forEach(i=>t.push(i))),t}},YXo=class{constructor(t){this.children=[],this.isVisit=!1,this.key=t}getIsVisit(){return this.isVisit}isContain(t){return this.key.isContain(t.key)}addChild(t){this.children.push(t)}getPolygons(){let t=[];return this.getPolylineList(t),t.map(e=>{let i=e[0].polygon;if(i&&i.items.length===e.length){let o=e.map(n=>n.returnPolyline()),r=new Set(i.items);return o.some(n=>!r.has(n))?new kg(o):i}else return new kg(e.map(o=>o.returnPolyline()))})}getPolylineList(t,e){e?(e.push(this.key),e=null):(e=[this.key],t.push(e)),this.children.forEach(i=>i.getPolylineList(t,e))}visit(){return this.isVisit?!1:(this.isVisit=!0,!0)}};function c$t(t){let e="";return t.items.forEach((i,o)=>{let r="$";if(i.items.forEach((n,a)=>{let s="[";if(n.primitives.forEach((l,c)=>{let d="";if(l instanceof Jt)d=`Line,${l.start().x},${l.start().y},${l.end().x},${l.end().y}`;else if(l instanceof Pi)d=`Arc,${l.center.x},${l.center.y},${l.startAngle},${l.sweepAngle},${l.rx}`;else if(l instanceof fr)d=`Bezier,${l.controls.map(u=>`${u.x},${u.y}`).join(",")}`;else throw new Error("not supported");if(c===n.primitives.length-1){s+=`${d}]`;return}s+=`${d},`}),a===i.items.length-1){r+=`${s}$`;return}r+=`${s}_`}),o===t.items.length-1){e+=`${r}`;return}e+=`${r}^`}),console.log(e),e}function d$t(t){let e=t.split("^"),i=[];return e.forEach(r=>{let n=/\$(.*?)\$/,a=r.match(n)[1].split("_"),s=[];a.forEach(c=>{let d=/\[(.*?)\]/,u=c.match(d)[1].split(","),p=[],m=[];for(let f=0;f<u.length;f++){let g=u[f];if(g==="Line"||g==="Arc"||g==="Bezier"){if(p.length){let b=o(p);m.push(b),p.length=0}p.push(g);continue}p.push(Number(g))}p.length&&(m.push(o(p)),p.length=0);let h=gl.build7(m);s.push(h)});let l=new kg(s);i.push(l)}),new eh(i);function o(r){let n=r[0];if(n==="Line")return new Jt(new pi(r[1],r[2]),new pi(r[3],r[4]));if(n==="Arc")return Pi.build3(new pi(r[1],r[2]),r[3],r[4],r[5],r[5]);if(n==="Bezier"){let a=[];for(let s=1;s<r.length;s+=2)a.push(new pi(r[s],r[s+1]));return new fr(a)}else throw new Error("not support")}}var WXo=class{constructor(t=1){this.group1Str="$[Line,20193.777980000017,4122.200439600661,20193.77082,4211.848760073709,Arc,20193.972672902382,4211.8487570980205,179.99915535323618,-89.99540000050294,0.2018529024026465,Line,20193.972659672283,4212.050609999989,20193.972660393258,4212.039610000013,Arc,20193.97217289501,4211.848257065248,89.85403133887164,89.99540000041924,0.19135355574930143,Line,20193.78082,4211.848759926291,20193.78897999998,4122.200440479205,Line,20193.78897999998,4122.200440479205,20193.777980000017,4122.200439600661]$",this.group2Str="$[Arc,20209.72784128151,4122.2007625157785,258.46768032837986,-75.66780748375947,4.138846238512183,Line,20205.593935808283,4121.998590004101,20193.97982992629,4121.998600000001,Arc,20193.97983290198,4122.2004529023825,269.9991553532362,-89.99540000050297,0.20185290240401074,Arc,20193.782979999996,4122.20044,180.00375535340328,-180.0000000000027,0.004999999999025513,Arc,20193.979332869207,4122.200952909754,180.15347936671733,89.99540000008247,0.19135355575111057,Line,20193.97983008845,4122.009599999999,20205.603694309226,4122.003828485546,Arc,20209.733142304296,4122.194577876843,182.64475341258483,75.73379999998886,4.133851239977064,Line,20208.900400396684,4118.145470939558,20208.902599535475,4118.156248870184,Arc,20206.972515961093,4108.700057667588,78.46393309088245,-78.46759999998636,9.65115405866796,Arc,20216.618669999996,4108.69944,359.99996825446135,-180,0.004999999999200412,Arc,20206.973015966745,4108.699445349495,359.99996822365375,78.46759999998409,9.640654033253735]$^$[Line,20193.997796883676,4095.399470032799,20205.596133314026,4095.4013992171836,Arc,20209.72470159858,4095.1923799234505,177.10172964919312,-75.64935037184974,4.133855965730166,Arc,20209.73000213952,4095.198565517174,101.5415133143569,75.7293000000185,4.128850963459707,Line,20205.605834328744,4095.395161923586,20193.997203529463,4095.389485743675,Arc,20193.994588809255,4095.197684525904,89.21896662213764,4.544099999999517,0.19181903946188483,Arc,20193.981499796217,4095.1977402038,89.85034659953621,89.9999999995926,0.19135044893494071,Arc,20193.78515,4095.19824,0,-180,0.005,Arc,20193.98200016982,4095.1982398301675,179.99995179248322,-89.99999999974185,0.20185016982129908,Arc,20193.981986624152,4095.198185381971,89.9961078637802,-4.487285276547311,0.2019046184835962]$",this.rule=t}getGroup1(){return d$t(this.group1Str)}getGroup2(){return d$t(this.group2Str)}},C1t=new i7e(2),G3e=class{getUnion(t,e=!0){return e&&(t=t.map(i=>this.asSameSweep([i])[0])),EXo(dXo,t)}asSameSweep(t){let e=0;return t.forEach(i=>e+=i.area(.01)),e>0?t.map(i=>i.reverse()):t}getSubtraction(t,e){let i=new q3e(!1),o=new X3e(xNe.rule,C1t,i);for(let r of t){let n=xNe.weight(0);o.addPolyline(r,n)}for(let r of e){let n=xNe.weight(1);o.addPolyline(r,n)}return o.simplify(),i.plGrps}getIntersection(t,e){let i=new q3e(!1),o=new X3e(TNe.rule,C1t,i);for(let r of t){let n=TNe.weight(0);o.addPolyline(r,n)}for(let r of e){let n=TNe.weight(1);o.addPolyline(r,n)}return o.simplify(),i.plGrps}getMutuallyExclusive(t,e){let i=new q3e(!1),o=new X3e(m1t.rule,C1t,i);for(let r of t){let n=m1t.weight(0);o.addPolyline(r,n)}for(let r of e){let n=m1t.weight(1);o.addPolyline(r,n)}return o.simplify(),i.plGrps}},Y3e=0,x1t=!1;function W3e(t,e,i,o,r){let n=wwe(),a=[],s=[],l=[],c=new Set,d;if(r){if(d=new bwe(r),Y3e++,x1t){debugger;x1t=!1;let x=new WXo;W3e(x.rule,x.getGroup1(),x.getGroup2(),o,r)}if(Y3e===-1||x1t){console.table({rule:t,group1:c$t(e),group2:c$t(i)}),d.clear();let x=d.initColor(id.GREEN),S=d.initColor(id.WHITE),T=d.initColor(id.BLUE),M=d.initColor(id.Gray);e.items.forEach(I=>I.items.forEach((A,D)=>{D>0?S.addPly(A):x.addPly(A)})),i.items.forEach(I=>I.items.forEach((A,D)=>{D>0?M.addPly(A):T.addPly(A)})),d.draw();debugger}}let u=e.items.length!==0&&i.items.length!==0?e.bbox().extendOfSize(qn).intersection1(i.bbox().extendOfSize(qn)):null;if(u){let x=[],S=[];switch(t){case 0:{for(let T of e.items)T.bbox().isIntersect(u)&&x.push(T);for(let T of i.items)T.bbox().isIntersect(u)&&S.push(T);break}case 1:case 3:{for(let T of e.items)T.bbox().isIntersect(u)?x.push(T):a.push(T);for(let T of i.items)T.bbox().isIntersect(u)?S.push(T):a.push(T);break}case 2:{for(let T of e.items)T.bbox().isIntersect(u)?x.push(T):a.push(T);for(let T of i.items)T.bbox().isIntersect(u)&&S.push(T);break}default:throw new Error("not support")}x.length!==e.items.length&&(e=new eh(x)),S.length!==i.items.length&&(i=new eh(S))}else{switch(t){case 0:break;case 1:case 3:{e.items.forEach(x=>a.push(x)),i.items.forEach(x=>a.push(x));break}case 2:{e.items.forEach(x=>a.push(x));break}default:throw new Error("not support")}e=new eh([]),i=new eh([])}y(e,s,!0),y(i,l,!1);let p=t===2||t===3?(x,S)=>xn(x.getEnd(),S)?x.nextSide:x:(x,S)=>xn(x.prevSide.getEnd(),S)?x.prevSide:x,m=(x,S,T)=>{if(xn(x.getEnd(),T)){if(x.inters.findIndex(M=>M.getBindedInter().side===S&&xn(M.coord,x.getEnd()))===-1)return new iU(T,x,d)}else return new iU(T,x,d)},h=t===2||t===3?(x,S,T)=>{if(xn(x.getStart(),T)){if(x.inters.findIndex(M=>M.getBindedInter().side===S&&xn(M.coord,x.getStart()))===-1)return new iU(T,x,d)}else return new iU(T,x,d)}:m;o.seek(e,i,(x,S,T,M,I,A)=>{let D=s[x][S],E=l[M][I],N=D.sides[T],R=E.sides[A],v=p8(N.getShape(),R.getShape());if((N.getShape()instanceof fr||R.getShape()instanceof fr)&&v>=4){if(N.getShape()instanceof Pi||R.getShape()instanceof Pi){let P=function(_,j){let B=!1;for(let V=0;V<j.length;V+=2)xn(new pi(j[V],j[V+1]),_)&&(B=!0);B||j.push(_.x,_.y)},O=[Et[0],Et[1]];for(let _=0;_<v;_+=2){let j=new pi(Et[_],Et[_+1]);for(let B=_+2;B<v;B+=2){let V=new pi(Et[B],Et[B+1]);if(!xn(j,V)){P(V,O);break}}}v=O.length,O.forEach((_,j)=>Et[j]=_)}else for(let P=v-2;P>=2;P-=2)for(let O=P-2;O>=0;O-=2)if(xn(new pi(Et[P],Et[P+1]),new pi(Et[O],Et[O+1]))){Et[O]=(Et[P]+Et[O])/2,Et[O+1]=(Et[P+1]+Et[O+1])/2;for(let _=v-3;_>=P;_--)Et[_]=Et[_+2];v-=2;break}}let k=0;if(v===4){let P=function(j){return xn(N.getEnd(),j)||xn(N.prevSide.getEnd(),j)||xn(R.prevSide.getEnd(),j)||xn(R.getEnd(),j)},O=new pi(Et[0],Et[1]),_=()=>{let j=new iU(O,N,d),B=new iU(O,R,d);j.bind(B),j.setIsInvalid(),j.isDealed(),D.inters.push(j),E.inters.push(B)};if(Et[0]===Et[2]&&Et[1]===Et[3])if(P(O))k=2;else{_();return}}for(;k<v;k+=2){let P=new pi(Et[k],Et[k+1]),O=N,_=R;if(xn(O.prevSide.getEnd(),P)&&(O=O.prevSide),_=p(_,P),N!==O&&R!==_){let B=t===2||t===3?R.getEnd():_.getEnd();O.getEnd().distance1(P)<B.distance1(P)?(P=O.getEnd(),xn(B,P)||(_=R)):(P=B,xn(O.getEnd(),P)||(O=N))}let j=m(O,_,P);if(j){let B=h(_,O,P);B&&(O.addInter(j),D.inters.push(j),_.addInter(B),E.inters.push(B),j.bind(B),D.intersect(E,c))}}return v},r);let f=w(),g=HXo(s,l,t);g.forEach(x=>!x.startAndEndIsSameOutsideFlag()&&x.reverse()),new GXo(f.concat(g)).getPolygons().forEach(x=>a.push(x));let b=new eh(a);if(d){if(Y3e===-1){let x=d.initColor(id.RED),S=d.initColor(id.Golden);a.forEach(T=>{x.addPly(T.items[0]),T.items.slice(1).forEach(M=>S.addPly(M))}),d.draw();debugger;throw new Error}b.id=Y3e}return QR.BooleanTools+=sK(n),b;function y(x,S,T){x.items.forEach(M=>{let I=[];I.push(w1t.build(M.items[0],T,!0,d,M)),M.items.slice(1).forEach(A=>{I.push(w1t.build(A,T,!1,d))}),S.push(I)})}function w(){let x=[];return c.forEach(T=>{t===2||t===3?T.forEach(I=>{I.isGroup1||I.reverse(),I.sides.forEach(A=>A.sortInters())}):T.forEach(I=>I.sides.forEach(A=>A.sortInters())),T.map(I=>I.sides.filter(A=>A.inters.length)).flat(2).sort((I,A)=>{let D=I.inters,E=A.inters,N=xn(D[D.length-1].coord,I.getEnd()),R=xn(E[E.length-1].coord,A.getEnd());if(N&&R){let v=0,k=0;for(let P=D.length-2;P>=0&&xn(D[P].coord,I.getEnd());P--)v++;for(let P=E.length-2;P>=0&&xn(E[P].coord,A.getEnd());P--)k++;return k-v}else return N?-1:1}).forEach(I=>{I.inters.forEach(A=>{if(A.dealed)return;let D=A.side,E=A.getBindedInter().side,N;xn(D.getEnd(),A.coord)&&xn(E.getEnd(),A.coord)?N=-1:xn(D.getEnd(),A.coord)?(N=1,A=A.getBindedInter()):xn(E.getEnd(),A.coord)&&(N=1);let R=VXo(N,A,t,d);A.isDealed(),R&&(D.outline.setAllInterIsInvalidToFalse(),E.outline.setAllInterIsInvalidToFalse())})}),M(T),t===3&&(T.forEach(I=>{I.reverse(),I.sides.forEach(A=>{A.sortInters(),A.inters.forEach(D=>{D.resetVisitStatus()})})}),M(T));function M(I){I.forEach(A=>{A.inters.forEach(D=>{if(D.isInvalid||D.getVisited())return;let E=D.findStartInter(),N=S(t)?E.run():E.getBindedInter().run(),R=A.polyline.primitives;if(N){if(R.length===N.primitives.length){let v=new Set(R);if(!N.primitives.some(k=>!v.has(k))){x.push(A);return}}x.push(w1t.build(N,!0,!0,d))}})})}}),x;function S(T){switch(T){case 0:case 2:case 3:return!0;case 1:return!1;default:throw Error("not support the rule")}}}}var dNe=/\bstablilizetion\b/.test(self.location.href)||!0,uNe={intersect(t,e,i,o){try{return W3e(0,t,e,i,o)}catch(r){if(dNe){let n=new G3e().getIntersection(t.items.map(a=>a.items.map(s=>s)).flat(2),e.items.map(a=>a.items.map(s=>s)).flat(2));return new eh(n.map(a=>new kg(a.items)))}throw r}},union(t,e,i,o){try{return W3e(1,t,e,i,o)}catch(r){if(dNe){let n=new G3e,a=t.items.map(l=>l.items.map(c=>c)).flat(2);e.items.forEach(l=>l.items.forEach(c=>a.push(c)));let s=n.getUnion(a);return new eh(s.map(l=>new kg(l.items)))}throw r}},diff(t,e,i,o){try{return W3e(2,t,e,i,o)}catch(r){if(dNe){let n=new G3e().getSubtraction(t.items.map(a=>a.items.map(s=>s)).flat(2),e.items.map(a=>a.items.map(s=>s)).flat(2));return new eh(n.map(a=>new kg(a.items)))}throw r}},xor(t,e,i,o){try{return W3e(3,t,e,i,o)}catch(r){if(dNe){let n=new G3e().getMutuallyExclusive(t.items.map(a=>a.items.map(s=>s)).flat(2),e.items.map(a=>a.items.map(s=>s)).flat(2));return new eh(n.map(a=>new kg(a.items)))}throw r}}},QXo=class extends X3e{constructor(t,e,i,o,r,n){super(t.rule,i7e.DUMMY,e),this.sideGroup1=[],this.sideGroup2=[],this.group1=i,this.group2=o,this.seeker=r,this.addGroup(i,t.weight(0),this.sideGroup1),this.addGroup(o,t.weight(1),this.sideGroup2),this.bus=n}addGroup(t,e,i){if(!t)debugger;t.items.forEach(o=>{let r=[];o.items.forEach(n=>{let a=this.sides.length;this.addPolyline(n,e),r.push(this.sides.slice(a))}),i.push(r)})}seekIntersection(){this.seeker.seek(this.group1,this.group2,(t,e,i,o,r,n)=>{let a=this.sideGroup1[t][e][i],s=this.sideGroup2[o][r][n],l=p8(a.shape,s.shape);for(let c=0;c<l;c+=2){let d=new pi(Et[c],Et[c+1]);a.inters.push(d),s.inters.push(d),this.event.onIntersect(d,a,s)}return l},this.bus)}},KXo=class extends q3e{constructor(t){super(!!t),t&&(this.drawDebug=new bwe(t),this.blueDrawing=this.drawDebug.initColor(id.BLUE),this.greenDrawing=this.drawDebug.initColor(id.GREEN),this.redDrawing=this.drawDebug.initColor(id.RED))}onOriginSide(t){super.onOriginSide(t),this.debug&&this.blueDrawing.addPt(t.shape)}onPolylineGroup(t,e){super.onPolylineGroup(t,e),this.debug&&t.items.forEach(i=>this.greenDrawing.addPly(i))}draw(){this.drawDebug.draw()}};function T1t(t,e,i,o,r){let n=wwe(),a=new KXo(r);new QXo(t,a,e,i,o,r).simplify();let s=[];a.plGrps.forEach(c=>{let d=c.items.map(u=>zNe(u));d[0]&&s.push(new kg(d.filter(u=>u)))});let l=new eh(s);return QR.BooleanTools+=sK(n),l}var S1t=!0,j3e={intersect(t,e,i,o){try{return uNe.intersect(t,e,i,o)}catch(r){if(S1t)throw r;return console.error(r),T1t(TNe,t,e,i,o)}},union(t,e,i,o){try{return uNe.union(t,e,i,o)}catch(r){if(S1t)throw r;return console.error(r),T1t(uXo,t,e,i,o)}},diff(t,e,i,o){try{return uNe.diff(t,e,i,o)}catch(r){if(S1t)throw r;return console.error(r),T1t(xNe,t,e,i,o)}},xor(t,e,i,o){return uNe.xor(t,e,i,o)}},ZXo=class{init(t){}seek(t,e,i,o){let r=t.bbox().extendOfSize(5e-6).intersection1(e.bbox().extendOfSize(5e-6));if(!r)return;let n=wwe(),a=[];for(let p=0,m=t.items.length;p<m;p++){let h=t.items[p];if(r.isIntersect(h.bbox()))for(let f=0,g=h.items.length;f<g;f++){let b=h.items[f];if(r.isIntersect(b.bbox()))for(let y=0,w=b.primitives.length;y<w;y++){let x=b.primitives[y].bbox();r.isIntersect(x)&&a.push({bbox:x,polygonIndex:p,polylineIndex:f,ptIndex:y})}}}let s=a.length;if(s===0){QR.IntersectionSeeker+=sK(n);return}let l=[];for(let p=0,m=e.items.length;p<m;p++){let h=e.items[p];if(r.isIntersect(h.bbox()))for(let f=0,g=h.items.length;f<g;f++){let b=h.items[f];if(r.isIntersect(b.bbox()))for(let y=0,w=b.primitives.length;y<w;y++){let x=b.primitives[y].bbox();r.isIntersect(x)&&l.push({bbox:x,polygonIndex:p,polylineIndex:f,ptIndex:y})}}}let c=l.length;if(c===0){QR.IntersectionSeeker+=sK(n);return}if(s<5||c<5){for(let p=0,m=a.length;p<m;p++)for(let h=0,f=l.length;h<f;h++)if(a[p].bbox.isIntersect(l[h].bbox.extendOfSize(1e-5))){let g=a[p],b=l[h];i(g.polygonIndex,g.polylineIndex,g.ptIndex,b.polygonIndex,b.polylineIndex,b.ptIndex)}QR.IntersectionSeeker+=sK(n);return}a.sort((p,m)=>p.bbox.minX-m.bbox.minX),l.sort((p,m)=>p.bbox.minX-m.bbox.minX);let d=0,u=0;for(;d<s&&u<c;)if(a[d].bbox.minX<l[u].bbox.minX){let p=a[d],m=p.bbox;for(let h=u;h<c;h++){let f=l[h],g=f.bbox;if(g.minX>m.maxX+1e-5)break;(m.minY<g.minY?g.minY:m.minY)<(m.maxY<g.maxY?m.maxY:g.maxY)+1e-5&&i(p.polygonIndex,p.polylineIndex,p.ptIndex,f.polygonIndex,f.polylineIndex,f.ptIndex)}d++}else{let p=l[u],m=p.bbox;for(let h=d;h<s;h++){let f=a[h],g=f.bbox;if(g.minX>m.maxX+1e-5)break;(g.minY<m.minY?m.minY:g.minY)<(g.maxY<m.maxY?g.maxY:m.maxY)+1e-5&&i(f.polygonIndex,f.polylineIndex,f.ptIndex,p.polygonIndex,p.polylineIndex,p.ptIndex)}u++}QR.IntersectionSeeker+=sK(n)}},Xx,c3=(Xx=class{static getDebug(){return Xx.drawDebug||(Xx.drawDebug=new bwe(Xx.curBus)),Xx.drawDebug}static getDrawing(t=id.GREEN){return this.getDebug().initColor(t)}static clearDrawing(){Xx.getDebug().clear()}static drawText(t,e,i=id.GREEN){Xx.getDrawing(i).addText(t,e,1.5,.1,!0)}static drawBBox(t,e=id.GREEN){if(!t)return;let i=Xx.getDrawing(e),o=new Jt(t.UL(),t.UR()),r=new Jt(t.UR(),t.LR()),n=new Jt(t.LR(),t.LL()),a=new Jt(t.LL(),t.UL());i.addPt(o),i.addPt(r),i.addPt(n),i.addPt(a)}static drawPolyType(t,e){let i=Xx.getDrawing(e);if(t instanceof gl)i.addPly(t);else if(t instanceof kg)for(let o of t.items)o instanceof gl?i.addPly(o):this.drawPolyType(o,e);else if(t instanceof eh)for(let o of t.items)this.drawPolyType(o,e)}static translate(t){switch(t){case 0:return"\u2229";case 2:return"-";case 1:return"U";case 3:return"X";default:break}}},Xx.UseRunArrange=!0,Xx.UseOptimizeSplit=!0,Xx.LocalBestThread=4,Xx.HandleDiff=!0,Xx.OcTreeSplitStep=4,Xx.PrintStart=new pi(150,-200),Xx),B3e=class $1t{static getPolyTypeLine(e){let i=[];if(e instanceof gl)for(let o of e.primitives)i.push(o);else if(e instanceof kg)for(let o of e.items)if(o instanceof gl)for(let r of o.primitives)i.push(r);else{let r=this.getPolyTypeLine(o);for(let n of r)i.push(n)}else if(e instanceof eh)for(let o of e.items){let r=this.getPolyTypeLine(o);for(let n of r)i.push(n)}return i}static getPolyTypePolyLine(e){let i=[];if(e instanceof gl)i.push(e);else if(e instanceof kg)for(let o of e.items)if(o instanceof gl)i.push(o);else{let r=this.getPolyTypePolyLine(o);for(let n of r)i.push(n)}else if(e instanceof eh)for(let o of e.items){let r=this.getPolyTypePolyLine(o);for(let n of r)i.push(n)}return i}static getListBBox(e){if(e.length<=0)return;let i=new pS;for(let o of e){let r=$1t.getSingleBBox(o);i.ext1(r)}return i.build1()}static getSingleBBox(e){if(e instanceof Array){let i=new pS,o=$1t.getListBBox(e.slice(1));return i.ext1(o),i.build1()}else return e.bbox()}static doDrawRule(e,i=c3.PrintStart){if(e.length<2)return[i,i,i];let o=5,r=10,n=e[0],a=c3.translate(n),s=[],l=i.y,c=i.x,d=i.x;i=i.add(new pi(0,-r));for(let m=1;m<e.length;m++){let h=e[m];if(h instanceof Array){i=i.add(new pi(o,0));let f=this.doDrawRule(h,i);s.push(f[0]),f[1].x<=c&&(c=f[1].x),f[2].x>=d&&(d=f[2].x),i=new pi(f[2].x+o,i.y)}else s.push(i.clone()),i.x<=c&&(c=i.x),i.x>=d&&(d=i.x),c3.drawText(i,h.name),i=i.add(new pi(o,0))}let u=0;for(let m of s)u+=m.x;let p=new pi(u/s.length,i.y+r);c3.drawText(p,"N:"+a);for(let m of s){let h=new Jt(m,p),f=new Array;f.push(h);let g=gl.build1(G1t(f));c3.drawPolyType(g,id.GREEN)}return[p,new pi(c,l),new pi(d,l)]}static drawRule(e,i=c3.PrintStart,o=!1,r){c3.clearDrawing(),this.doDrawRule(e,i),o&&this.doDrawRulePolygon(e,r),c3.getDebug().draw()}static doDrawRulePolygon(e,i){let o=e[0];for(let r=1;r<e.length;r++){let n=e[r];if(n instanceof Array)this.doDrawRulePolygon(n,i);else{let a=i;o===2&&r===1&&(a=id.RED),n.name&&c3.drawText(n.bbox().UL(),n.name,a),c3.drawPolyType(n,a)}}}static IsCenterBBoxPointInPolygonType(e,i){let o=e.center();for(let r of i.items)if(r.getOutMostPolyline().getWindingNum(o))return!0;return!1}static KeepBBoxPolygonGroup(e,i){let o=i.bbox().intersection1(e);if(!o)return!1;for(let r of i.items)if(r.bbox().isIntersect(o)){for(let n of r.items)if(n.bbox().isIntersect(o)){for(let a of n.primitives)if(o.isIntersect(a.bbox()))return!0}}return!!this.IsCenterBBoxPointInPolygonType(e,i)}},JXo=class gde{static createNode(e,i,o){let r=e.UL(),n=e.width()/i,a=e.height()/i,s=~~(o/i),l=o-s*i,c=r.x+l*n,d=r.y-(s+1)*a,u=c+n,p=d+a;return new _w(c,u,d,p)}static ocTreeSplitNode(e,i,o,r,n=2){if(e.length<=o)return e;let a=[],s=n**2,l=new Array(s),c=new Array(s);for(let m=0;m<s;m++)l[m]=new Array(e.length),c[m]=0;let d=i.UL(),u=i.width()/n,p=i.height()/n;for(let m of e){let h=r(m).center(),f=~~((h.x-d.x)/u),g=~~((d.y-h.y)/p)*n+f;try{l[g][c[g]]=m,c[g]+=1}catch{a.push(m)}}for(let m=0;m<l.length;m++){let h=c[m];if(h<=0)continue;let f=l[m].slice(0,h);if(f.length===e.length)return e;let g=gde.createNode(i,n,m),b=gde.ocTreeSplitNode(f,g,o,r,n);if(b.length===e.length)return e;a.push(b)}return a}static ocTreeSplitNodeMinIntersect(e,i,o,r){let n=[];if(e.length<=o)return e;let a=3,s=i.LL(),l=i.UR(),c=i.width()/(a+1),d=i.height()/(a+1),u=-(2**32),p=[],m=[];for(let h=1;h<=a;h++)for(let f=1;f<=a;f++){let g=s.x+c*h,b=s.y+d*f,y=[[],[],[],[]],w=new Array(4),x=new Array(4);x[0]=new _w(s.x,g,b,l.y),x[1]=new _w(g,l.x,b,l.y),x[2]=new _w(s.x,g,s.y,b),x[3]=new _w(g,l.x,s.y,b);for(let I of e){let A=r(I).center(),D=-1,E=-1;A.x===g?D=Math.random()>=.5?1:-1:A.x>g?D=1:A.x<g&&(D=-1),A.y===b?E=Math.random()>=.5?1:-1:A.y>b?E=1:A.y<b&&(E=-1),D===1&&E===1?y[1].push(I):D===1&&E===-1?y[3].push(I):D===-1&&E===-1?y[2].push(I):D===-1&&E===1&&y[0].push(I)}for(let I=0;I<4;I++){let A=y[I];if(A.length<=0)continue;let D=new pS;for(let E of A)D.ext1(r(E));w[I]=D.build1()}let S=0,T=0;for(let I of w)I&&(S+=I.area());T=S;let M=(I,A)=>{if(!w[I]||!w[A])return 0;let D=w[I].intersection1(w[A]);return D?D.area():0};T-=M(0,1),T-=M(0,2),T-=M(0,3),T-=M(1,2),T-=M(1,3),T-=M(2,3),T/S>=u&&(p=y,m=x)}for(let h=0;h<p.length;h++){let f=p[h];if(f.length<=0)continue;let g=m[h],b;if(f.length===e.length?b=gde.ocTreeSplitNode(f,g,o,r):b=gde.ocTreeSplitNodeMinIntersect(f,g,o,r),b.length===e.length)return e;n.push(b)}return n}static ocTreeSplit(e,i,o,r){return gde.ocTreeSplitNode(e,i,o,r,c3.OcTreeSplitStep)}},qXo=class Eei{static simplifyRules(e,i){return c3.UseOptimizeSplit&&(e=this.optimizeSplit(e,i)),e}static OcTreeOptimizeSplit(e){let i=e[0];if(i!==1||e.length<=c3.LocalBestThread+1)return e;let o=e.slice(1),r=new Array(o.length);for(let c=1;c<e.length;c++)r[c-1]=c;let n=B3e.getListBBox(o),a=JXo.ocTreeSplit(r,n,c3.LocalBestThread,c=>{let d=e[c];return B3e.getSingleBBox(d)}),s=(c,d)=>{if(!(c.length<=0))for(let u of c)if(Array.isArray(u)){let p=[d[0]];s(u,p),d.push(p)}else{let p=e[u];d.push(p)}},l=[i];return s(a,l),l}static optimizeSplit(e,i){let o=e[0];if(o===2){if(c3.HandleDiff){let n=e[1],a;if(Array.isArray(n)){let s=this.optimizeSplit(n,i);if(s.length<=1)return[2];a=eht(s,i)}else a=eht([2,n],i);if(e.length>3){let s;s=[1];for(let l=2;l<e.length;l++){let c=e[l];if(Array.isArray(c)){let d=B3e.getListBBox([...c.slice(1)]);B3e.KeepBBoxPolygonGroup(d,a)&&s.push(c)}else B3e.KeepBBoxPolygonGroup(c.bbox(),a)&&s.push(c)}return s.length<=1?[2,a]:(s=this.optimizeSplit(s,i),s.length>1?[2,a,...s.slice(1)]:[2,a])}else{let s=e[2];if(Array.isArray(s)&&s[0]===1&&s.length>2){let l=s.slice(1);return this.optimizeSplit([2,a,...l],i)}}}else if(e.slice(1).length>2){let n=e[1],a=e.slice(2),s=this.optimizeSplit([1,...a],i);return s.length>1?[2,n,...s.slice(1)]:n}}else if(o===1){if(e.length-1>c3.LocalBestThread){let n=!1;for(let a=1;a<e.length;a++){let s=e[a];if(!Array.isArray(s)){n=!0;break}}n&&(e=Eei.OcTreeOptimizeSplit(e))}}else if(o===0&&e.length<=2)return[0];let r=[o];for(let n=1;n<e.length;n++){let a=e[n];if(Array.isArray(a)){let s=this.optimizeSplit(a,i);if(s.length<=1)continue;r.push(s)}else r.push(a)}return r}},XXo=(t=>(t[t.INTERSECT=0]="INTERSECT",t[t.UNION=1]="UNION",t[t.DIFF=2]="DIFF",t[t.XOR=3]="XOR",t))(XXo||{});function Q3e(t){let e=t[0],i=[e];switch(e){case 0:for(let r=1;r<t.length;r++){let n=t[r];if(Array.isArray(n)&&(n=Q3e(n),!n))return null;i.push(n)}break;case 1:case 3:for(let r=1;r<t.length;r++){let n=t[r];Array.isArray(n)&&(n=Q3e(n),!n)||i.push(n)}break;case 2:let o=t[1];if(Array.isArray(o)&&(o=Q3e(o)),!o)return null;i.push(o);for(let r=2;r<t.length;r++){let n=t[r];Array.isArray(n)&&(n=Q3e(n),!n)||i.push(n)}break;default:throw new Error("not support boolean rule!")}return i.length===1?null:i}function M1t(t,e,i){return Array.isArray(t)?Aei(t,e,i):t}function I1t(t,e,i,o,r=!0){if(r)for(;t.length>1;){let n,a=[];for(t.length%2===1?(a.push(t[0]),n=1):n=0;n<t.length;n+=2)a.push(e(t[n],t[n+1],i,o));t=a}else for(;t.length>1;){if(t.length===2)return e(t[0],t[1],i,o);t=[e(t[0],t[1],i,o),...t.slice(2)]}return t[0]}function Aei(t,e,i,o=!0){let r=new Array(t.length-1);for(let n=1;n<t.length;n++)r[n-1]=M1t(t[n],e,i);switch(t[0]){case 0:return I1t(r,j3e.intersect,e,i);case 1:return I1t(r,j3e.union,e,i);case 2:let n=I1t(r.slice(1),j3e.union,e,i);return n?j3e.diff(r[0],n,e,i):r[0];case 3:let a=M1t(t[1],e,i);for(let s=2;s<t.length;s++)a=j3e.xor(a,M1t(t[s],e,i),e,i);return a;default:throw new Error("not support boolean rule! "+t[0])}}function Nei(t){let e=[t[0]];for(let i=1;i<t.length;i++){let o=t[i];if(Array.isArray(o)){let r=Nei(o);Array.isArray(r)?r.length>1&&e.push(r):e.push(r)}else{let r=zNe(o);r!==null&&e.push(eh.build(r))}}return e}function $Xo(t,e){c3.curBus=e,t=Nei(t);let i;return c3.UseRunArrange?i=qXo.simplifyRules(t,e):i=Q3e(t),i.length<=1?new eh([]):eht(i,e)}function eht(t,e,i=!0){if(!t||t.length===1)return new eh([]);let o=t,r=new ZXo,n=[];function a(s){for(let l=1;l<s.length;l++){let c=s[l];Array.isArray(c)?a(c):n.push(c)}}return a(o),r.init(n),Aei(o,r,e,i)}var pNe=new Error("list is empty"),mNe=class{constructor(t,e){this.prev=null,this.next=null,this.parent=t,this.item=e}insertAfter(t){t.next=this.next,this.next=t,t.prev=this,t.next!==null&&(t.next.prev=t)}insertBefore(t){t.prev=this.prev,this.prev=t,t.next=this,t.prev!==null&&(t.prev.next=t)}remove(){this.prev!==null&&(this.prev.next=this.next),this.next!==null&&(this.next.prev=this.prev)}set(t){this.item=t}},e$o=class{constructor(t){this._next=t}hasNext(){return this._next!==null}next(){let t=this._next;if(t!==null)return this._next=t.next,t.item;throw new Error("iterator is null")}},t$o=class{constructor(t){this._next=t}hasNext(){return this._next!==null}next(){let t=this._next;if(t!==null)return this._next=t.next,t;throw new Error("iterator is null")}},i$o=class{constructor(){this.first=null,this.last=null,this.cnt=0}add(t){return this.addLast(t)}push(t){return this.addLast(t)}pop(){return this.removeLast()}shift(){return this.removeFirst()}removeFirst(){let t=this.first;if(t===null)throw pNe;return this.remove(t),t.item}removeLast(){let t=this.last;if(t===null)throw pNe;return this.remove(t),t.item}addLast(t){if(this.first===null||this.last===null){let e=new mNe(this,t);return this.first=e,this.last=e,this.cnt++,e}else return this.insertAfter(this.last,t)}addFirst(t){if(this.first===null||this.last===null){let e=new mNe(this,t);return this.first=e,this.last=e,this.cnt++,e}else return this.insertBefore(this.first,t)}getFirst(){if(this.first===null)throw pNe;return this.first.item}getLast(){if(this.last===null)throw pNe;return this.last.item}insertAfter(t,e){let i=new mNe(this,e);return t.insertAfter(i),t===this.last&&(this.last=i),this.cnt++,i}insertBefore(t,e){let i=new mNe(this,e);return t.insertBefore(i),t===this.first&&(this.first=i),this.cnt++,i}remove(t){t.remove(),t===this.first&&(this.first=t.next),t===this.last&&(this.last=t.prev),this.cnt--}size(){return this.cnt}clear(){this.first=null,this.last=null,this.cnt=0}iterator(){return new e$o(this.first)}listIterator(){return new t$o(this.first)}toArray(){let t=new Array,e=this.first;for(;e!=null;)t.push(e.item),e=e.next;return t}},MNe=class{constructor(t){this.inters=[],t&&(this.inters=t)}addInter(t){this.inters.push(t),t.group=this}findInter(t){let e=this.inters.find(i=>xn(i.coord,t.coord));return e&&this.inters.find(i=>i.side===t.side)&&t.visitSelf(),e}getOutInter(t){let e=this.inters.filter(i=>!i.getVisited());if(e.length!==0)return e.length===1?e[0]:e.reduce((i,o)=>{if(!i||i.side.getShape()===t)return o;if(o.side.getShape()===t)return i;let r=i.coord,n=Jn(t,r),a=Jn(i.side.getShape(),r),s=Jn(o.side.getShape(),r);return n.dot(a)>n.dot(s)?i:o},void 0)}getEntryInter(){}},L1t=0;function kei(t,e){let i=t.primitives[0];if(t.primitives.length===1&&i instanceof Pi&&Math.abs(i.sweepAngle)===360)return[t];let o=wwe();L1t++;let r,n=u$o(t);if(n.length===0)return[];let a=n$o(n);if(L1t===-1){r=new bwe(e);let d=r.initColor(id.BLUE);n.forEach(p=>d.addPt(p.getShape()));let u=r.initColor(id.GREEN);a.forEach(p=>u.addPoint(p.coord)),r.draw();debugger;throw new Error}if(a.length===0)return[gl.build7(n.map(d=>d.getShape()))];a$o(a);let s=[],l=!1;try{c$o(a,r)}catch(d){d.customType==="IS_OVERLAP"?(l=!0,s=new G3e().getUnion([t]).map(u=>u.items).flat(2)):console.error(d)}if(l)return s;let c=l$o(a);if(!c.length)return[gl.build7(n.map(d=>d.getShape()))];if(s=o$o(c,r),s.length===0)return console.warn("=====deSelfIntersection=====",L1t),[];if(r)throw s.forEach(d=>{r.initColor(id.WHITE).addPly(d),r.draw();debugger}),new Error;return QR.deSelfIntersection+=sK(o),s}function o$o(t,e){let i=[];return t.forEach(o=>{let r=o;o.inters.forEach(n=>{if(n.getVisited())return;let a=[],s=[],l;if(e){debugger;let d=e.initColor(id.RED);l=u=>{a.push(u),d.addPt(a[a.length-1]),e.draw();debugger}}else l=d=>a.push(d);do{let d=function(f,g){ji.eq(f.distance2(g),0)||l(Pei(m.getShape(),f,g))},u=s.findIndex(f=>f===n.group);if(u!==-1){let f=a.findIndex(y=>y===n.group),g=a.splice(f).filter(y=>!(y instanceof MNe));if(g.length){let y=hK(gl.build7(g));y&&i.push(y)}let b=a.filter(y=>!(y instanceof MNe));if(n=s[u].getOutInter(b[b.length-1]),s.splice(u),!n)throw Error("interGroup not hav inter!!!2");continue}n.visitSelf(),s.push(n.group),a.push(n.group);let p=n.getIndex(),m=n.side,h=m.inters[p+1];for(;h!=null&&h.isInvalid||h&&h.group===n.group;)h=m.inters[h.getIndex()+1];if(h){d(n.coord,h.coord);let f=h.getBindedInter();if(n=f.getVisited()?f.group.getOutInter(f.side.getShape()):f,!n){if(h.group===r)break;throw new Error("interGroup not hav inter!!!3")}}else{for(d(n.coord,m.getEnd()),m=m.nextSide,n=null;;){for(let f of m.inters)if(!f.isInvalid){let g=f.group.getOutInter(m.getShape());if(!g){if(f.group===r){n=f;break}else if(f.getBindedInter().group===r){n=f.getBindedInter();break}continue}n=g;break}if(n)break;l(m.getShape()),m=m.nextSide}ji.eq(m.getEnd().distance2(n.coord),0)?l(m.getShape()):d(m.getStart(),n.coord)}}while(n.group!==r);let c=hK(gl.build7(a.filter(d=>!(d instanceof MNe))));c&&i.push(c)})}),i}function r$o(t){return{next(){return t.hasNext()?{value:t.next()}:{done:!0,value:void 0}},[Symbol.iterator](){return this}}}function n$o(t){let e=[],i=new i$o;for(let o of t.slice().sort((r,n)=>r.bbox().minY-n.bbox().minY)){for(let r of r$o(i.listIterator())){let n=r.item;if(n.bbox().maxY<o.bbox().minY)i.remove(r);else{let a=function(p,m){let h=new iU(m,p,null);return p.inters.push(h),e.push(h),h},s=function(p,m){let h=p.getEnd(),f=new pi(Et[0],Et[1]),g=new pi(Et[2],Et[3]),b=h.distance2(f)>h.distance2(g)?f:g,y=p.prevSide;a(xn(y.getEnd(),b)?y:p,b).bind(a(m,b))},l=n.getShape(),c=o.getShape(),d=p8(l,c),u=d===4&&Et[0]===Et[2]&&Et[1]===Et[3];if(u&&(d-=2),n.nextSide===o)n.prevSide!==o&&d===4&&s(n,o);else if(n.prevSide===o)d===4&&s(o,n);else if(d!==0){let p=function(h,f){let g=h.prevSide;return a(xn(g.getEnd(),f)?g:h,f)},m=new pi(Et[0],Et[1]);if(u&&!xn(m,n.prevSide.getEnd())&&!xn(m,o.prevSide.getEnd())&&Jn(l,m).dot(Jn(c,m))>0)continue;for(let h=0;h<d;h+=2){let f=new pi(Et[h],Et[h+1]);p(n,f).bind(p(o,f))}}}}i.add(o)}return e.forEach(o=>{o.getIndex()===void 0&&o.side.sortInters()}),e}function a$o(t){t.forEach(e=>{let i=e.side.getEnd();if(e.isInvalid||!xn(e.coord,i))return;let o=e.side.inters,r=e.getBindedInter().side;for(let n=o.length-1;n>=0;n--){let a=o[n];if(!xn(a.coord,i))break;a!==e&&a.getBindedInter().side===r&&a.setIsInvalid()}})}function s$o(t){let e=new nwe(10);return t.forEach(i=>{i.isInvalid||e.add(i)}),e}function l$o(t){let e=[],i=s$o(t);return t.forEach(o=>{if(o.isInvalid||o.group)return;let r=i.search(o.bbox().extendOfSize(ji.eps)).filter(n=>!n.group);if(r.length){let n=new Set,a=new MNe(r);r.forEach(s=>{s.group=a,n.has(s.side)&&s.visitSelf(),n.add(s.side)}),e.push(a)}}),e}function c$o(t,e){t.forEach(i=>{if(i.isInvalid||i.dealed)return;let o=i.side,r=i.getBindedInter().side,n;xn(o.getEnd(),i.coord)&&xn(r.getEnd(),i.coord)?n=-1:xn(o.getEnd(),i.coord)?o.nextSide!==r&&(n=1,i=i.getBindedInter()):xn(r.getEnd(),i.coord)&&r.nextSide!==o&&(n=1),d$o(n,i,e),i.isDealed()})}function d$o(t,e,i){let o=e.getBindedInter(),r=e.side,n=o.side,a=r.getShape(),s=n.getShape(),l=1,c=!1;if(t===-1){if(lde(a.reverse(),s.reverse())||lde(r.nextSide.getShape(),n.nextSide.getShape())){let u=eU(r,r.nextSide,n,o,l,c,i);if(u.state===2){let m=new Error("info1.state === InState.IS_OVERLAP");throw m.customType="IS_OVERLAP",m}let p=eU(r,r.nextSide,n.nextSide,o,l,c,i);u.state===p.state&&d(u,p)}else if(!(lde(a.reverse(),n.nextSide.getShape())||lde(r.nextSide.getShape(),s.reverse()))){let u=b1t(r,r.nextSide,n,!1,i);u===b1t(r,r.nextSide,n.nextSide,!0,i)&&u!==b1t(n,n.nextSide,r.nextSide,!0,i)&&e.setIsInvalid()}}else if(t===1){let u=function(p,m){return Jn(p,m.start()).dot(Jn(m,m.start()))>0};if(lde(a.reverse(),s.reverse())||lde(a,n.nextSide.getShape())){let p=WL(r,n,o,i,l,c,new Map);if(p.state===2){let h=new Error("info1.state === InState.IS_OVERLAP");throw h.customType="IS_OVERLAP",h}let m=WL(r,n.nextSide,o,i,l,c,new Map);p.state===m.state&&d(p,m)}else if(u(a.reverse(),s.reverse())&&u(a,n.nextSide.getShape())){let p=xb(r,n,!1,i);p===xb(r,n.nextSide,!0,i)&&p!==zie(n,n.nextSide,new ywe(Pei(a,e.coord,a.end()),i),!0,i)&&e.setIsInvalid()}}function d(u,p){u.inter.setIsInvalid(),p.inter.setIsInvalid(),e.setIsInvalid()}}function Pei(t,e,i){if(t instanceof Jt||e.distance2(i)<1e-6)return new Jt(e,i);if(t instanceof Pi)return Pi.build2(t.center,e.angleD(t.center),i.angleD(t.center),t.rx,t.ry,t.sweep());if(t instanceof fr){let o=t.getPercent(e,qn),r=t.getPercent(i,qn);return t.clip(o)[1].clip((r-o)/(1-o))[0]}else throw new Error("not supported operation")}function u$o(t){let e=hK(t);if(!e)return[];let i=e.primitives.map(r=>new ywe(r,null)),o=i[i.length-1];return i.forEach(r=>{o.connect(r),o=r}),i}var ude,p$o=(ude=class{static clearData(t){this.originalPrimitive=[],this.offsetPrimitive=[],this.rawOffsetPrimitive=[],this.offsetDistance=0,this.testI++,this.testI===0?this.drawDebug=new bwe(t):delete this.drawDebug}static createRawOffsetEdge(){if(this.drawDebug){let t=this.drawDebug.initColor(id.WHITE);this.originalPrimitive.forEach(e=>t.addPt(e)),this.drawDebug.draw();debugger}for(let t=0;t<this.originalPrimitive.length;t+=1){let e=this.originalPrimitive[t];this.offsetPrimitive.push({index:t,offsetEdge:this.createOffsetEdge(e)})}if(this.drawDebug){let t=this.drawDebug.initColor(id.Golden);this.offsetPrimitive.forEach(e=>t.addPt(e.offsetEdge)),this.drawDebug.draw();debugger}if(this.offsetPrimitive.length>1)for(let t=0;t<this.offsetPrimitive.length;t+=1)if(t===this.offsetPrimitive.length-1){this.connectPrimitive(this.offsetPrimitive[t],this.offsetPrimitive[0]);let e=this.rawOffsetPrimitive[0],i;e instanceof Pi?i=Pi.build4(this.offsetPrimitive[0].offsetEdge.start(),e.end(),e.center,e.rx,e.ry,e.sweep()):i=new Jt(this.offsetPrimitive[0].offsetEdge.start(),e.end()),this.rawOffsetPrimitive.shift(),this.rawOffsetPrimitive.unshift(i)}else this.connectPrimitive(this.offsetPrimitive[t],this.offsetPrimitive[t+1]);else this.rawOffsetPrimitive=[]}static createCirclePrimitive(t,e){let i=t.width()*.5,o=t.height()*.5,r=Math.sqrt(i**2+o**2)+e;return[Pi.buildCircle(t.center(),r)]}static getExtendPolyLine(t,e,i=!0,o){var r,n;if(!((r=t==null?void 0:t.primitives)!=null&&r.length))return[];let a=hK(t);if(!((n=a==null?void 0:a.primitives)!=null&&n.length)){if(this.isExpansion){let l=[1],c=e*2;t.primitives.forEach(u=>l.push(u.stroke(c,1,0)));let d=$Xo(l,o);if(d.items.length!==1)throw new Error("group.items.length !== 1 ");return[d.items[0].items[0]]}return[]}if(t=a,this.clearData(o),this.originalPrimitive=t.primitives,this.isExpansion=e>0,this.offsetDistance=e,this.createRawOffsetEdge(),this.drawDebug){let l=this.drawDebug.initColor(id.BLUE);this.rawOffsetPrimitive.forEach(c=>l.addPt(c)),this.drawDebug.draw();debugger}let s=i?this.createClippingEdge(o):[gl.build2(this.rawOffsetPrimitive)];if(this.drawDebug){let l=this.drawDebug.initColor(id.RED);s.forEach(c=>l.addPly(c)),this.drawDebug.draw();debugger}if(s.length&&(!this.isExpansion||this.isExpansion&&s.length>1)&&(s=this.getValidityPrimitive(s)),this.drawDebug){let l=this.drawDebug.initColor(id.GREEN);s.forEach(c=>l.addPly(c)),this.drawDebug.draw();debugger;throw new Error}return s}static getValidityPrimitive(t){let e=[],i=Math.abs(this.offsetDistance);for(let o=0;o<t.length;o+=1){let r=!0,n=t[o].primitives;e:for(let a=0;a<n.length;a+=1){let s=n[a],l;if(s instanceof Pi)l=s.midPoint;else if(s instanceof Jt)l=s.start();else throw new Error("not support!");for(let c=0;c<this.originalPrimitive.length;c+=1){let d=this.originalPrimitive[c],u;if(d instanceof Pi?u=this.pointArcClosest(l,d):u=Qqo(l,d.start(),d.end()).d,i-u>.01){r=!1;break e}}}r&&e.push(t[o])}return e}static getInters(t){let e=[];for(let i=0;i<t;i+=2)e.push(new pi(Et[i],Et[i+1]));return e}static pointArcClosest(t,e){let i=e.center;if(t.equals1(e.center))return e.rx;if(e.inArea(t,0)){let n=t.sub(i);return Math.abs(n.length()-e.rx)}let o=t.distance2(e.start()),r=t.distance2(e.end());return ji.less(o,r)?Math.sqrt(o):Math.sqrt(r)}static createClippingEdge(t){let e=[],i=[],o=kei(gl.build2(this.rawOffsetPrimitive),t);o.forEach(n=>{let a=n.area(.01);e.push(a)});let r=Math.min(...e.filter(n=>n<0));for(let n=0;n<e.length;n+=1){let a=e[n];ji.eq(a,0)||(!this.isExpansion&&a<0||this.isExpansion&&(a<0&&e[n]===r||a>0))&&i.push(o[n])}return i}static createOffsetEdge(t){if(t instanceof Pi)return t.panDistance1(this.offsetDistance);if(t instanceof Jt)return t.panDistance(this.offsetDistance);throw new Error("not support!")}static connectPrimitive(t,e){t.offsetEdge instanceof Jt&&e.offsetEdge instanceof Jt?this.lineToLineConnect(t,e):t.offsetEdge instanceof Pi&&e.offsetEdge instanceof Pi?this.arcToArcConnect(t,e):t.offsetEdge instanceof Jt&&e.offsetEdge instanceof Pi?this.lineToArcConnect(t,e):this.arcToLineConnect(t,e)}static isFalseIntersection(t){return t>1||t<0}static lineToLineConnect(t,e){let i=t.offsetEdge,o=e.offsetEdge,r=e.index,n=this.originalPrimitive[r].start();if(i.isParallel(o))i.bbox().intersection1(o.bbox())?this.rawOffsetPrimitive.push(i):this.lineToLineUseArcToConnect(n,i,o);else{let a=this.getLineToLineT(i,o),s=a[0],l=a[1];if(this.isFalseIntersection(s)||this.isFalseIntersection(l))s>1&&this.isFalseIntersection(l)?this.lineToLineUseArcToConnect(n,i,o):this.useLineToConnect(i,o);else if(!this.isFalseIntersection(s)&&!this.isFalseIntersection(l)){let c=i.end().sub(i.start()),d=i.start().add(c.mul(s)),u=new Jt(i.start(),d);this.rawOffsetPrimitive.push(u);let p=new Jt(d,o.end());this.updateNextOffsetPrimitive(r,p)}}}static updateNextOffsetPrimitive(t,e){this.offsetPrimitive[t].offsetEdge=e}static useLineToConnect(t,e){this.rawOffsetPrimitive.push(t);let i=new Jt(t.end(),e.start());this.rawOffsetPrimitive.push(i)}static lineToLineUseArcToConnect(t,e,i){let o=this.getSweep(t,e),r=this.getSweepAngel(e.end(),i.start(),t,o);if(r===0){this.useLineToConnect(e,i);return}this.rawOffsetPrimitive.push(e);let n=Pi.build5(e.end(),i.start(),r);this.rawOffsetPrimitive.push(n)}static getSweep(t,e,i){let o=null,r=i||i===0?this.originalPrimitive[i]:e;if(r instanceof Pi){let n=r.center.sub(r.end()).normalize();r.isCCW?o=new pi(n.y,-n.x):o=new pi(-n.y,n.x)}else o=e.end().sub(e.start()).normalize();return t.sub(e.end()).normalize().cross(o)>0?0:1}static getLineToLineT(t,e){let i=t.end().sub(t.start()),o=e.end().sub(e.start()),r=i.cross(o),n=e.start().sub(t.start()),a=t.start().sub(e.start()),s=n.cross(o)/r,l=a.cross(i)/-r;return[s,l]}static lineToArcConnect(t,e){let i=t.offsetEdge,o=e.offsetEdge,r=t.index,n=e.index,a=this.getLineJoinArcScalarAndIntersectionNum(i,o),s=this.originalPrimitive[n].start();if(a.intersectionNum===0)this.lineAndArcUseArcConnect(s,i,o,r);else if(a.intersectionNum===1){let l=a.points[0];this.lineAndArcConnectionDetail(i,o,a.t[0],l,s,r,n)}else if(a.intersectionNum===2){let l=a.points[0],c=a.points[1],d=l.distance2(s),u=c.distance2(s);this.lineAndArcConnectionDetail(i,o,d<u?a.t[0]:a.t[1],d<u?l:c,s,r,n)}}static lineAndArcConnectionDetail(t,e,i,o,r,n,a){let s=this.isTrueArcIntersection(e,o);if(!this.isFalseIntersection(i)&&s){let l=new Jt(t.start(),o);this.rawOffsetPrimitive.push(l);let c;!e.center.equals1(o)||e.sweepAngle>1e-4?(c=Pi.build4(o,e.end(),e.center,e.rx,e.ry,e.sweep()),c instanceof Pi&&c.sweepAngle===0&&(c=new Jt(c.start(),c.end()))):c=new Jt(e.center,o),this.updateNextOffsetPrimitive(a,c)}else s?this.useLineToConnect(t,e):this.lineAndArcUseArcConnect(r,t,e,n)}static lineAndArcUseArcConnect(t,e,i,o){let r=this.getSweep(t,e,o),n=this.getSweepAngel(e.end(),i.start(),t,r);if(n===0){this.useLineToConnect(e,i);return}let a=Pi.build5(e.end(),i.start(),n);this.rawOffsetPrimitive.push(e),this.rawOffsetPrimitive.push(a)}static arcToLineConnectionDetail(t,e,i,o,r,n,a){let s=this.isTrueArcIntersection(t,o);if(!this.isFalseIntersection(i)&&s){let l;t.center.equals1(o)?l=new Jt(t.center,o):Math.abs(t.sweepAngle)<1e-4?l=new Jt(t.start(),o):(l=Pi.build4(t.start(),o,t.center,t.rx,t.ry,t.sweep()),l instanceof Pi&&l.sweepAngle===0&&(l=new Jt(l.start(),l.end()))),this.rawOffsetPrimitive.push(l);let c=new Jt(o,e.end());this.updateNextOffsetPrimitive(a,c)}else s?this.useLineToConnect(t,e):this.lineAndArcUseArcConnect(r,t,e,n)}static isTrueArcIntersection(t,e){return Bh(t,e)}static getSweepAngel(t,e,i,o){let r=t.angleD(i),n=e.angleD(i),a;return r===n?a=0:(r=Qa.regularD(r),n=Qa.regularD(n),o===1?n<=r&&(n+=360):n>=r&&(r+=360),a=n-r),a}static getLineJoinArcScalarAndIntersectionNum(t,e){let i={t:[],intersectionNum:0,points:[]},o=Gqo(e,t);if(o){i.intersectionNum=o/2;for(let r=0;r<o-1;r+=2){let n=new pi(Et[r],Et[r+1]);i.points.push(n),n.sub(t.start()).x<1e-4||n.sub(t.start()).y<1e-4?i.t.push(0):i.t.push(n.sub(t.start()).x/t.end().sub(t.start()).x)}}else i.intersectionNum=0;return i}static arcToLineConnect(t,e){let i=t.offsetEdge,o=e.offsetEdge,r=t.index,n=e.index,a=this.getLineJoinArcScalarAndIntersectionNum(o,i),s=this.originalPrimitive[n].start();if(a.intersectionNum===0)this.lineAndArcUseArcConnect(s,i,o,r);else if(a.intersectionNum===1){let l=a.points[0];this.arcToLineConnectionDetail(i,o,a.t[0],l,s,r,n)}else if(a.intersectionNum===2){let l=a.points[0],c=a.points[1],d=l.distance2(s),u=c.distance2(s);this.arcToLineConnectionDetail(i,o,d<u?a.t[0]:a.t[1],d<u?l:c,s,r,n)}}static rxChangeStatus(t){return t===1?!this.isExpansion:this.isExpansion}static arcToArcConnect(t,e){let i=t.offsetEdge,o=e.offsetEdge,r=pei(i,o);if(r){let n=this.getInters(r),a;if(n.length===2){let c=this.originalPrimitive[e.index].start(),d=n[0],u=n[1],p=d.distance2(c),m=u.distance2(c);p<m?a=d:a=u}else a=n[0];let s,l;a.equals1(i.center)?s=new Jt(i.center,a):Math.abs(i.sweepAngle)<1e-4?s=new Jt(i.start(),a):(s=Pi.build4(i.start(),a,i.center,i.rx,i.ry,i.sweep()),s instanceof Pi&&s.sweepAngle===0&&(s=new Jt(s.start(),s.end()))),this.rawOffsetPrimitive.push(s),a.equals1(o.center)?l=new Jt(a,o.center):Math.abs(o.sweepAngle)<1e-4?l=new Jt(a,o.end()):(l=Pi.build4(a,o.end(),o.center,o.rx,o.ry,o.sweep()),l instanceof Pi&&l.sweepAngle===0&&(l=new Jt(l.start(),l.end()))),this.updateNextOffsetPrimitive(e.index,l)}else{let n=this.originalPrimitive[t.index],a=this.originalPrimitive[e.index],s=this.rxChangeStatus(n.sweep()),l=this.rxChangeStatus(a.sweep()),c=this.originalPrimitive[e.index].start(),d=this.getSweep(c,i,t.index),u=Math.abs(this.offsetDistance),p=Pi.build2(c,s?n.endAngle():n.endAngle()+180,l?a.startAngle:a.startAngle+180,u,u,d);this.rawOffsetPrimitive.push(i),this.rawOffsetPrimitive.push(p)}}},ude.originalPrimitive=[],ude.offsetPrimitive=[],ude.rawOffsetPrimitive=[],ude.testI=0,ude),m$o=class K3e extends fwe{constructor(e,i,o,r,n,a){if(super(),i<0||o<0)throw new Error("The width and height of rect can't be less than 0!");this.leftUpPoint=e,this.width=i,this.height=o,this.angle=r,this.isCCW=n,this.radius=Math.min(Math.max(a,0),i/2,o/2)}get radiusRatio(){return this.radius/Math.min(this.width,this.height)}start(){return this.leftUpPoint.add(new pi(this.radius,0).multiply3(kd.rotateD(this.angle)))}end(){return this.start()}getLeftPoint(){return this.leftUpPoint.add(new pi(0,-this.height/2).multiply3(kd.rotateD(this.angle)))}getRightPoint(){return this.leftUpPoint.add(new pi(this.width,-this.height/2).multiply3(kd.rotateD(this.angle)))}extend(e){return new K3e(this.leftUpPoint.add(new pi(-e,e).rotateD(pi.ORIGIN,this.angle)),this.width+e*2,this.height+e*2,this.angle,this.isCCW,this.radius+e)}bbox(){let e=kd.rotateD(this.angle),{leftUpPoint:i,width:o,height:r,radius:n}=this,a=i.add(new pi(n,-n).multiply3(e)),s=i.add(new pi(n,n-r).multiply3(e)),l=i.add(new pi(o-n,-n).multiply3(e)),c=i.add(new pi(o-n,n-r).multiply3(e));return new _w(Math.min(a.x,s.x,l.x,c.x)-n,Math.max(a.x,s.x,l.x,c.x)+n,Math.min(a.y,s.y,l.y,c.y)-n,Math.max(a.y,s.y,l.y,c.y)+n)}toPolyline(){let e=[],{leftUpPoint:i,width:o,height:r,radius:n}=this;if(n===0){let s=pi.ORIGIN,l=new pi(o,0),c=new pi(o,-r),d=new pi(0,-r);e.push(new Jt(s,l),new Jt(l,c),new Jt(c,d),new Jt(d,s))}else{let s=new pi(0,-n),l=new pi(n,0),c=new pi(o-n,0),d=new pi(o,-n),u=new pi(o,n-r),p=new pi(o-n,-r),m=new pi(n,-r),h=new pi(0,n-r);e.push(Pi.build1(s,l,n,n,!1,0),new Jt(l,c),Pi.build1(c,d,n,n,!1,0),new Jt(d,u),Pi.build1(u,p,n,n,!1,0),new Jt(p,m),Pi.build1(m,h,n,n,!1,0),new Jt(h,s))}e=e.filter(s=>!s.start().equals1(s.end())),this.isCCW&&(e.forEach((s,l)=>e[l]=s.reverse()),e.reverse());let a=kd.rotateD(this.angle).translate1(i);return gl.build2(e.map(s=>s.multiply3(a)))}center(){return this.leftUpPoint.add1(this.width/2,this.height/2).rotateD(this.leftUpPoint,this.angle)}multiply3(e){let i=this.leftUpPoint.multiply3(e),o=new pi(this.width,0).multiply3(kd.rotateD(this.angle)).multiply3(e),r=new pi(0,-this.height).multiply3(kd.rotateD(this.angle)).multiply3(e);return e.isMirrored()?new K3e(i,r.length(),o.length(),r.angleD(pi.ORIGIN),this.isCCW===1?0:1,this.radius*o.length()/this.width):new K3e(i,o.length(),r.length(),o.angleD(pi.ORIGIN),this.isCCW,this.radius*o.length()/this.width)}reverse(){return new K3e(this.leftUpPoint,this.width,this.height,this.angle,this.isCCW===1?0:1,this.radius)}stroke(e,i,o){let r=this.stroke1(e,i,o);if(r.length===1)return r[0];{let[n,a]=r;return gl.build2(n.primitives.concat(new Jt(n.primitives[0].start(),a.primitives[0].start()),a.primitives,new Jt(a.primitives[0].start(),n.primitives[0].start())))}}stroke1(e,i,o){let r=o===this.isCCW?this:this.reverse(),n=e/2,a=Math.min(r.width,r.height)/2,s=r.extend(n).toPolyline();return a<=n?[s]:[s,r.extend(-n).toPolyline().reverse()]}points(e){let i=this.toPolyline(),o=[];return i.points(e,r=>o.push(r)),o}toBezier(){throw new Error("Method not implemented.")}},h$o=.01,kg=class g9{static simplify(e){return e=hK(e),e?new g9([e]):null}static buildByStroke(e,i,o=1,r=Sht,n){if(e instanceof Pi&&(e.rx<i/2+h$o||Math.abs(e.sweepAngle)>180&&ji.lesseq(e.start().distance1(e.end()),i))){let s=kei(e.stroke(i,o,0),n);if(s.length===0)return null;if(s.length===1)return new g9(s);let l=[null],c=Number.POSITIVE_INFINITY;return s.forEach(d=>{let u=d.area(.1);u<0?u<c&&(l[0]=d,c=u):l.push(d)}),new g9(l)}else if(e instanceof m$o){let s=e.stroke1(i,o,0).map(l=>hK(l));return s[0]?s[1]?new g9(s):new g9([s[0]]):null}let a=e.stroke(i,o,0,r);return a?this.simplify(a):null}static buildCircle(e,i){return this.simplify(gl.build7([Pi.buildCircle(e,i,0)]))}static buildRect(e){return this.simplify(e.toPolyline())}static buildBBox(e){return this.simplify(gl.buildBBox(e,0))}constructor(e){this.items=e.slice()}multiply3(e){return new g9(this.items.map(i=>i.multiply3(e)))}bbox(){return this.items[0].bbox()}isEqual(e){return e instanceof g9?this.items.every(i=>e.items.some(o=>o.isEqual(i))):!1}getOutMostPolyline(){return this.items[0]}extend(e,i){if(this.items.length!==1)throw new Error("this.items.length !== 1");if(e===0)return new eh([this]);let o=this.items[0],r=[];for(let d of o.primitives)if(d instanceof Jt)r.push(d);else if(d instanceof Pi&&d.rx===d.ry)a(d);else if(d instanceof fr)n(d);else throw new Error("not support!");o=gl.build7(r);function n(d){let u=d.points(.1);for(let p=0;p<u.length-1;p++){let m=u[p],h=u[p+1];r.push(new Jt(m,h))}}function a(d){if(Math.abs(d.sweepAngle)>270){let u=d.sweepAngle/2;a(Pi.build3(d.center,d.startAngle,u,d.rx,d.ry)),a(Pi.build3(d.center,d.startAngle+u,u,d.rx,d.ry))}else r.push(d)}let s=[],l=[];p$o.getExtendPolyLine(o,e,!0,i).forEach(d=>{(d.area(.1)>0?l:s).push(d)});let c;if(s.length===1)l.forEach(d=>s.push(d)),c=new eh([new g9(s)]);else if(s.length===0)console.warn("outlines.length === 0"),c=new eh([]);else if(l.length===0)c=new eh(s.map(d=>new g9([d])));else{let d=s.map(u=>[u]);l.forEach(u=>{let p=[],m=u.bbox();if(d.forEach(h=>{h[0].bbox().isContainsBBox1(m)&&p.push(h)}),p.length===1)p[0].push(u);else{if(p.length===0)throw new Error("inPlsArr.length === 0");for(let h of p.sort((f,g)=>f[0].bbox().area()-g[0].bbox().area()))if(h[0].getWindingNum(u.start())===-1){h.push(u);break}}}),c=new eh(d.map(u=>new g9(u)))}return c}toPolylineGroup(){return new Mht(this.items)}},f$o=(t=>(t[t.POLYGON=1]="POLYGON",t[t.POLYLINE=2]="POLYLINE",t[t.LINE=3]="LINE",t[t.ARC=4]="ARC",t[t.BEZIER2=5]="BEZIER2",t[t.BEZIER3=6]="BEZIER3",t[t.BOOLEAN_OUTPUT=7]="BOOLEAN_OUTPUT",t[t.BOOLEAN_INTERSECTION=8]="BOOLEAN_INTERSECTION",t[t.BOOLEAN_UNION=9]="BOOLEAN_UNION",t[t.BOOLEAN_DIFF=10]="BOOLEAN_DIFF",t[t.BOOLEAN_RESULT=11]="BOOLEAN_RESULT",t[t.LINES=12]="LINES",t[t.ARCS=13]="ARCS",t[t.BEZIER2S=14]="BEZIER2S",t[t.BEZIER3S=15]="BEZIER3S",t[t.CIRCLE_CW=16]="CIRCLE_CW",t[t.CIRCLE_CCW=17]="CIRCLE_CCW",t[t.POLYGON_GROUP=18]="POLYGON_GROUP",t))(f$o||{}),g$o=class{constructor(t){this.idx=-1,this.lst=t}hasNext(){return this.idx<this.lst.length-1}next(){if(this.idx<this.lst.length-1)return this.idx++,this.lst[this.idx];throw new Error("bug")}};function b$o(t){return new g$o(t)}function y$o(t){return t===32||t===9||t===13||t===10}var w$o=class{constructor(){this._line=1,this._col=0}line(){return this._line}col(){return this._col}_feed(t){return t===10?(this._col=0,this._line++):this._col++,this.feed(t)}parse(t){let e=t.length;for(let i=0;i<e;i++){let o=t.charCodeAt(i);if(!this._feed(o))return this}return this.finish(),this}},v1t=class{static repeat(t,e){let i=new Array(e);for(;e-- >0;)i[e]=t;return i.join("")}static lpad(t,e,i){let o=i-t.length;return o>0?this.repeat(e,o)+t:t}},C$o=/(\.?0+)$/,tht=class{static format(t,...e){return this.format1(t,e)}static format1(t,e){let i=this._format(t,e);if(typeof i=="string")return i;throw new Error(this.format("Invalid state on (%d) %s",i,t))}static _format(t,e){let i=[],o=0,r=0,n,a=0,s=0;for(let l=0;l<t.length;l++){let c=t.charAt(l),d=c.charCodeAt(0);switch(o){case 0:d===37?o=1:i.push(c);break;case 1:switch(d){case 100:if(n=e[r++],typeof n=="number")i.push(n.toFixed(0)),o=0;else return l;break;case 102:if(n=e[r++],typeof n=="number")i.push(n.toString()),o=0;else return l;break;case 120:if(n=e[r++],typeof n=="number")i.push((n|0).toString(16)),o=0;else return l;break;case 88:if(n=e[r++],typeof n=="number")i.push((n|0).toString(16).toUpperCase()),o=0;else return l;break;case 115:case 99:n=e[r++],i.push(n===null?"null":n.toString()),o=0;break;case 48:a=l+1,s=-1,o=2;break;case 37:i.push("%"),o=0;break;default:return l}break;case 2:switch(d){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:s=l;break;case 100:if(s>=a){let u=parseInt(t.substring(a,s+1));if(n=e[r++],typeof n=="number")i.push(v1t.lpad((n|0).toString(10),"0",u)),o=0;else return l}else return l;break;case 120:if(s>=a){let u=parseInt(t.substring(a,s+1));if(n=e[r++],typeof n=="number")i.push(v1t.lpad((n|0).toString(16),"0",u)),o=0;else return l}else return l;break;case 88:if(s>=a){let u=parseInt(t.substring(a,s+1));if(n=e[r++],typeof n=="number")i.push(v1t.lpad((n|0).toString(16).toUpperCase(),"0",u)),o=0;else return l}else return l;break;default:return l}break;default:return l}}return i.join("")}static startsWith(t,e){return t.length>=e.length?t.substring(0,e.length)===e:!1}static endsWith(t,e){return t.length>=e.length?t.substring(t.length-e.length)===e:!1}static fmtNumber(t){return t.toFixed(5).replace(C$o,"")}};function x$o(t){switch(t){case 0:return"DEBUG";case 1:return"INFO";case 2:return"WARNING";case 3:return"ERROR";case 4:return"DUMMY"}}var T$o=(t,e)=>{t===3?console.error(...e):t===2?console.warn(...e):console.log(...e)},S$o=(t,e)=>[x$o(t)].concat(e),iht=class oht{static mix(...e){return new oht(0,(i,o)=>{for(let r of e)r.write(i,o)},(i,o)=>o)}constructor(e,i=T$o,o=S$o){this.level=e,this.writer=i,this.fmt=o}setLevel(e){this.level=e}prepend(e=null,i=null){let o=e===null?this.fmt:(n,a)=>(a=e(n,a),this.fmt(n,a)),r=i===null?this.writer:(n,a)=>{i(n,a),this.writer(n,a)};return new oht(this.level,r,o)}chain(e){return e.prepend(this.fmt.bind(this),this.writer.bind(this))}include(e){return this.level<=e}formatWrite(e,i,o){this.include(e)&&this.writer(e,this.fmt(e,[tht.format(i,...o)]))}write(e,i){this.include(e)&&this.writer(e,this.fmt(e,i))}write3(e,i,o){this.include(e)&&this.writer(e,this.fmt(e,[tht.format(i,...o)]))}debug3(e,...i){this.write3(0,e,i)}warning3(e,...i){this.write3(2,e,i)}debugFmt(e,...i){this.formatWrite(0,e,i)}debug(...e){this.write(0,e)}infoFmt(e,...i){this.formatWrite(1,e,i)}info(...e){this.write(1,e)}warningFmt(e,...i){this.formatWrite(2,e,i)}warning(...e){this.write(2,e)}errorFmt(e,...i){this.formatWrite(3,e,i)}error(...e){this.write(3,e)}};iht.DUMMY=new iht(4);var M$o=iht,D1t=500,u$t=String.fromCharCode,I$o=class{constructor(){this.buffer=new Array}size(){return this.buffer.length}isEOF(){return!1}write(t){return this.buffer.push(t),1}writen1(t){return this.writen2(t,0,t.length)}writen2(t,e,i){let o=this.buffer;for(let r=0,n=e;r<i;r++,n++)o.push(t[n]);return i}writeAsync(t,e){e(this.write(t))}writenAsync1(t,e){e(this.writen1(t))}writenAsync2(t,e,i,o){o(this.writen2(t,e,i))}writeStr(t){let e=t.length,i=new Array(e);for(let o=0;o<e;o++)i[o]=t.charCodeAt(o);return this.writen1(i)}clear(){this.buffer.length=0}toString(){let t=this.buffer,e=t.length;if(e<=D1t)return u$t.apply(null,t);{let i=new Array;for(let o=0;o<t.length;o+=D1t){let r=Math.min(e-o,D1t),n=u$t.apply(null,t.slice(o,o+r));i.push(n)}return i.join("")}}},Oei=(t=>(t[t.UNKNOW=0]="UNKNOW",t[t.NUMBER_INTEGER=1]="NUMBER_INTEGER",t[t.NUMBER_DECIMAL=2]="NUMBER_DECIMAL",t[t.NUMBER_E=3]="NUMBER_E",t[t.NUMBER_E_SIGNED=4]="NUMBER_E_SIGNED",t))(Oei||{}),Rei=(t=>(t[t.UNKNOW=0]="UNKNOW",t[t.MOVE_X=1]="MOVE_X",t[t.MOVE_Y=2]="MOVE_Y",t[t.LINE_X=3]="LINE_X",t[t.LINE_Y=4]="LINE_Y",t[t.HORIZONTAL_X=5]="HORIZONTAL_X",t[t.VERTICAL_Y=6]="VERTICAL_Y",t[t.CUBIC_BEZIER_X1=7]="CUBIC_BEZIER_X1",t[t.CUBIC_BEZIER_Y1=8]="CUBIC_BEZIER_Y1",t[t.CUBIC_BEZIER_X2=9]="CUBIC_BEZIER_X2",t[t.CUBIC_BEZIER_Y2=10]="CUBIC_BEZIER_Y2",t[t.CUBIC_BEZIER_X=11]="CUBIC_BEZIER_X",t[t.CUBIC_BEZIER_Y=12]="CUBIC_BEZIER_Y",t[t.ARC_RX=13]="ARC_RX",t[t.ARC_RY=14]="ARC_RY",t[t.ARC_ROTATION=15]="ARC_ROTATION",t[t.ARC_LARGE=16]="ARC_LARGE",t[t.ARC_SWEEP=17]="ARC_SWEEP",t[t.ARC_X=18]="ARC_X",t[t.ARC_Y=19]="ARC_Y",t[t.SMOOTH_CUBIC_BEZIER_X2=20]="SMOOTH_CUBIC_BEZIER_X2",t[t.SMOOTH_CUBIC_BEZIER_Y2=21]="SMOOTH_CUBIC_BEZIER_Y2",t[t.SMOOTH_CUBIC_BEZIER_X=22]="SMOOTH_CUBIC_BEZIER_X",t[t.SMOOTH_CUBIC_BEZIER_Y=23]="SMOOTH_CUBIC_BEZIER_Y",t[t.QUADRATIC_BEZIER_X1=24]="QUADRATIC_BEZIER_X1",t[t.QUADRATIC_BEZIER_Y1=25]="QUADRATIC_BEZIER_Y1",t[t.QUADRATIC_BEZIER_X=26]="QUADRATIC_BEZIER_X",t[t.QUADRATIC_BEZIER_Y=27]="QUADRATIC_BEZIER_Y",t))(Rei||{});function L$o(t){return 97<=t&&t<=122||65<=t&&t<=90}function wb(t){let e=parseFloat(t);if(isFinite(e))return e;throw new Error("expect number")}var p$t=class extends w$o{constructor(t,e=!0,i=M$o.DUMMY){super(),this.buffer=new I$o,this.group=new Array,this.subPartStart=pi.ORIGIN,this.curPoint=pi.ORIGIN,this.lexState=0,this.parseState=0,this.isAbsolute=!1,this.isLargeArc=!1,this.x1=Number.NaN,this.y1=Number.NaN,this.x2=Number.NaN,this.y2=Number.NaN,this.x=Number.NaN,this.y=Number.NaN,this.rx=Number.NaN,this.ry=Number.NaN,this.rotation=Number.NaN,this.sweep=aK.CCW,this.prevBezierCtrl2=null,this.logger=i,this.cb=t,this.yAxis=e?-1:1}on(t){return this.cb(t)}feed(t){switch(this.logger.include(0)&&this.logger.debug3("L: %c(%s)|%s",t,String.fromCharCode(t),Oei[this.lexState]),this.lexState){case 0:return y$o(t)?!0:48<=t&&t<=57||t===45||t===43?(this.pushBuffer(t),this.lexState=1,!0):t===46?(this.pushBuffer(t),this.lexState=2,!0):L$o(t)?this.feedS(String.fromCharCode(t)):(this.logger.warning3("unknow letter %c",t),!0);case 1:return 48<=t&&t<=57?(this.pushBuffer(t),!0):t===46?(this.pushBuffer(t),this.lexState=2,!0):t===101||t===69?(this.pushBuffer(t),this.lexState=3,!0):this.feedS(this.getCleanBuffer())?(this.lexState=0,this.feed(t)):!1;case 2:return 48<=t&&t<=57?(this.pushBuffer(t),!0):t===101||t===69?(this.pushBuffer(t),this.lexState=3,!0):this.feedS(this.getCleanBuffer())?(this.lexState=0,this.feed(t)):!1;case 3:return 48<=t&&t<=57?(this.pushBuffer(t),!0):t===45||t===43?(this.pushBuffer(t),this.lexState=4,!0):this.feedS(this.getCleanBuffer())?(this.lexState=0,this.feed(t)):!1;case 4:return 48<=t&&t<=57?(this.pushBuffer(t),!0):this.feedS(this.getCleanBuffer())?(this.lexState=0,this.feed(t)):!1;default:return!0}}finish(){this.feed(32),this.tryNotify()}feedS(t){switch(this.logger.include(0)&&this.logger.debug3("P: %s|%s|%s|%s",t,Rei[this.parseState],this.curPoint,this.subPartStart),this.parseState){case 0:switch(t){case"M":this.isAbsolute=!0,this.parseState=1;break;case"m":this.isAbsolute=!1,this.parseState=1;break;case"L":this.isAbsolute=!0,this.parseState=3;break;case"l":this.isAbsolute=!1,this.parseState=3;break;case"H":this.isAbsolute=!0,this.parseState=5;break;case"h":this.isAbsolute=!1,this.parseState=5;break;case"V":this.isAbsolute=!0,this.parseState=6;break;case"v":this.isAbsolute=!1,this.parseState=6;break;case"z":case"Z":{this.group.push(new Jt(this.curPoint,this.subPartStart));let o=this.tryNotify();return this.curPoint=this.subPartStart,o}case"C":this.isAbsolute=!0,this.parseState=7;break;case"c":this.isAbsolute=!1,this.parseState=7;break;case"S":this.isAbsolute=!0,this.parseState=20;break;case"s":this.isAbsolute=!1,this.parseState=20;break;case"A":this.isAbsolute=!0,this.parseState=13;break;case"a":this.isAbsolute=!1,this.parseState=13;break;case"Q":this.isAbsolute=!0,this.parseState=24;break;case"q":this.isAbsolute=!1,this.parseState=24;break;default:this.logger.warning3("unknow %s",t)}return!0;case 1:let e=this.tryNotify();return this.x=wb(t),this.parseState=2,e;case 2:{this.y=this.yAxis*wb(t);let o;return this.isAbsolute?o=new pi(this.x,this.y):o=this.curPoint.add1(this.x,this.y),this.curPoint=o,this.subPartStart=o,this.parseState=3,!0}case 3:return this.x=parseFloat(t),isFinite(this.x)?(this.parseState=4,!0):(this.parseState=0,this.feedS(t));case 4:{this.y=this.yAxis*wb(t);let o;return this.isAbsolute?o=new pi(this.x,this.y):o=this.curPoint.add1(this.x,this.y),this.group.push(new Jt(this.curPoint,o)),this.curPoint=o,this.parseState=3,!0}case 5:if(this.x=parseFloat(t),isFinite(this.x)){let o;return this.isAbsolute?o=new pi(this.x,this.curPoint.y):o=this.curPoint.add1(this.x,0),this.group.push(new Jt(this.curPoint,o)),this.curPoint=o,!0}else return this.parseState=0,this.feedS(t);case 6:if(this.y=parseFloat(t),isFinite(this.y)){this.y=this.yAxis*this.y;let o;return this.isAbsolute?o=new pi(this.curPoint.x,this.y):o=this.curPoint.add1(0,this.y),this.group.push(new Jt(this.curPoint,o)),this.curPoint=o,!0}else return this.parseState=0,this.feedS(t);case 7:let i=parseFloat(t);return isFinite(i)?(this.x1=i,this.parseState=8,!0):(t!=="s"&&t!=="S"&&(this.prevBezierCtrl2=null),this.parseState=0,this.feedS(t));case 8:return this.y1=this.yAxis*wb(t),this.parseState=9,!0;case 9:return this.x2=wb(t),this.parseState=10,!0;case 10:return this.y2=this.yAxis*wb(t),this.parseState=11,!0;case 11:return this.x=wb(t),this.parseState=12,!0;case 12:{this.y=this.yAxis*wb(t);let o,r,n;return this.isAbsolute?(o=new pi(this.x1,this.y1),r=new pi(this.x2,this.y2),n=new pi(this.x,this.y)):(o=this.curPoint.add1(this.x1,this.y1),r=this.curPoint.add1(this.x2,this.y2),n=this.curPoint.add1(this.x,this.y)),this.prevBezierCtrl2=r,this.group.push(new fr([this.curPoint,o,r,n])),this.curPoint=n,this.parseState=7,!0}case 13:return this.rx=parseFloat(t),isFinite(this.rx)?(this.parseState=14,!0):(this.parseState=0,this.feedS(t));case 14:return this.ry=wb(t),this.parseState=15,!0;case 15:return this.rotation=wb(t),this.parseState=16,!0;case 16:return this.isLargeArc=wb(t)===1,this.parseState=17,!0;case 17:return this.sweep=wb(t)===1?aK.CW:aK.CCW,this.parseState=18,!0;case 18:return this.x=wb(t),this.parseState=19,!0;case 19:{this.y=this.yAxis*wb(t);let o;return this.isAbsolute?o=new pi(this.x,this.y):o=this.curPoint.add1(this.x,this.y),this.rx&&this.ry&&this.group.push(Pi.build1(this.curPoint,o,this.rx,this.ry,this.isLargeArc,this.sweep)),this.curPoint=o,this.parseState=13,!0}case 20:return this.x2=parseFloat(t),isFinite(this.x2)?(this.parseState=21,!0):(t!=="s"&&t!=="S"&&(this.prevBezierCtrl2=null),this.parseState=0,this.feedS(t));case 21:return this.y2=this.yAxis*wb(t),this.parseState=22,!0;case 22:return this.x=wb(t),this.parseState=23,!0;case 23:{this.y=this.yAxis*wb(t);let o,r;this.isAbsolute?(o=new pi(this.x2,this.y2),r=new pi(this.x,this.y)):(o=this.curPoint.add1(this.x2,this.y2),r=this.curPoint.add1(this.x,this.y));let n;return this.prevBezierCtrl2?n=this.curPoint.add(this.curPoint.sub(this.prevBezierCtrl2)):n=this.curPoint,this.prevBezierCtrl2=o,this.group.push(new fr([this.curPoint,n,o,r])),this.curPoint=r,this.parseState=20,!0}case 24:return this.x1=parseFloat(t),isFinite(this.x1)?(this.parseState=25,!0):(t!=="s"&&t!=="S"&&(this.prevBezierCtrl2=null),this.parseState=0,this.feedS(t));case 25:return this.y1=this.yAxis*wb(t),this.parseState=26,!0;case 26:return this.x=wb(t),this.parseState=27,!0;case 27:{this.y=this.yAxis*wb(t);let o,r;return this.isAbsolute?(o=new pi(this.x1,this.y1),r=new pi(this.x,this.y)):(o=this.curPoint.add1(this.x1,this.y1),r=this.curPoint.add1(this.x,this.y)),this.prevBezierCtrl2=o,this.group.push(new fr([this.curPoint,o,r])),this.curPoint=r,this.parseState=24,!0}default:return this.logger.warning3("unsupported parse state %s",this.parseState),!0}}pushBuffer(t){this.buffer.write(t)}getCleanBuffer(){let t=this.buffer.toString();return this.buffer.clear(),t}tryNotify(){if(this.group.length===0)return!0;{let t=gl.build1(b$o(this.group));return this.group.length=0,this.on(t)}}onException(t){throw t}},o2n=tht.fmtNumber,m$t=class{constructor(t=!0){this.buffer=new Array,this.state=0,this.prev=null,this.yAxis=t?-1:1}encPl(t){for(let e of t.primitives)this.encPt(e);return this}encPt(t){if(t instanceof Jt)this.encLine1(t);else if(t instanceof Pi)this.encArc(t);else if(t instanceof fr)this.encBezier(t);else throw new Error("");return this}encBezier(t){if(t.controls.length===3){let e=t.controls[0],i=t.controls[1],o=t.controls[2];this.state===0?this.buffer.push("M",e.x,this.yAxis*e.y,"Q",i.x,this.yAxis*i.y,o.x,this.yAxis*o.y):e.equals1(this.prev)?this.state!==4?this.buffer.push("Q",i.x,this.yAxis*i.y,o.x,this.yAxis*o.y):this.buffer.push(i.x,this.yAxis*i.y,o.x,this.yAxis*o.y):this.buffer.push("L",e.x,this.yAxis*e.y,"Q",i.x,this.yAxis*i.y,o.x,this.yAxis*o.y),this.prev=o,this.state=4}else if(t.controls.length===4){let e=t.controls[0],i=t.controls[1],o=t.controls[2],r=t.controls[3];this.state===0?this.buffer.push("M",e.x,this.yAxis*e.y,"C",i.x,this.yAxis*i.y,o.x,this.yAxis*o.y,r.x,this.yAxis*r.y):e.equals1(this.prev)?this.state!==3?this.buffer.push("C",i.x,this.yAxis*i.y,o.x,this.yAxis*o.y,r.x,this.yAxis*r.y):this.buffer.push(i.x,this.yAxis*i.y,o.x,this.yAxis*o.y,r.x,this.yAxis*r.y):this.buffer.push("L",e.x,this.yAxis*e.y,"C",i.x,this.yAxis*i.y,o.x,this.yAxis*o.y,r.x,this.yAxis*r.y),this.prev=r,this.state=3}else throw new Error("only bezier has 3 or 4 control points supported");return this}encArc(t){let e=t.svgEnd;return this.state===0?this.buffer.push("M",t.start().x,this.yAxis*t.start().y,"A",t.rx,t.ry,0,t.isLarge()?1:0,t.sweep()===aK.CCW?0:1,e.x,this.yAxis*e.y):t.start().equals1(this.prev)?this.state!==2?this.buffer.push("A",t.rx,t.ry,0,t.isLarge()?1:0,t.sweep()===aK.CCW?0:1,e.x,this.yAxis*e.y):this.buffer.push(t.rx,t.ry,0,t.isLarge()?1:0,t.sweep()===aK.CCW?0:1,e.x,this.yAxis*e.y):this.buffer.push("L",t.start().x,this.yAxis*t.start().y,"A",t.rx,t.ry,0,t.isLarge()?1:0,t.sweep()===aK.CCW?0:1,e.x,this.yAxis*e.y),this.prev=e,this.state=2,this}encLine1(t){return this.encLine2(t.start(),t.end()),this}encLine2(t,e){return this.state===0?this.buffer.push("M",t.x,this.yAxis*t.y,"L",e.x,this.yAxis*e.y):(this.state!==1&&this.buffer.push("L"),t.equals1(this.prev)?this.buffer.push(e.x,this.yAxis*e.y):this.buffer.push(t.x,this.yAxis*t.y,e.x,this.yAxis*e.y)),this.prev=e,this.state=1,this}close(t){return this.state!==0&&(t&&this.buffer.push("Z"),this.state=0,this.prev=null),this}fixNumber(t=4){return this.buffer.forEach((e,i,o)=>{typeof e=="number"&&(e|0)!==e&&(o[i]=+e.toFixed(t))}),this}toString(){return this.buffer.join(" ")}toArray(){return this.buffer}},v$o=class extends Cht{constructor(){super(),this.lockConfig=[],this.hideConfig=[],this.invisibleConfig=[],this.coverConfig={},this.commentConfig={},this.trnCtrlConfig={},this.transformConfig={},this.fontCache={},this.cache={},this.zIndex=0,this.zIndexMap=new Map}onParseLine(t){let e=t[0];switch(e){case"DOCTYPE":this.parseDocType(t);break;case"HEAD":this.parseHead(t);break;case"LOCK":this.parseLock(t);break;case"HIDE":this.parseHide(t);break;case"INVISIBLE":this.parseInvisible(t);break;case"COVER":this.parseCover(t);break;case"TRN_CTRL":this.parseTrnCtrl(t);break;case"COMMENT":this.parseComment(t);break;case"FONT_CACHE":this.parseFontCache(t);break;case"TRANSFORM":this.parseTransform(t);break;case"GROUP":{let i=t[1];this.cache[e]||(this.cache[e]={errorIds:[]}),i!==null&&!this.cache[e][i]?this.cache[e][i]=t:this.cache[e].errorIds.push(t);break}case"POLY":case"STRING":case"AUXLINE":case"DIMENSION":{this.zIndexMap.set(t[1],++this.zIndex);let i=owe(t[1]);this.cache[e]||(this.cache[e]={errorIds:[]}),i!==null&&!this.cache[e][i]?this.cache[e][i]=t:this.cache[e].errorIds.push(t);break}default:console.warn("can not find hanlder with",t)}}getZIndex(t){var e;return(e=this.zIndexMap.get(t))!=null?e:null}secondParseLine(t){switch(t[0]){case"GROUP":this.parseGroup(t);break;case"POLY":this.parsePoly(t);break;case"STRING":this.parseString(t);break;case"AUXLINE":this.parseAuxLine(t);break;case"DIMENSION":this.parseDimension(t);break}}onParseEnd(){for(let t in this.cache){let e=this.cache[t],i=Object.keys(e).sort((r,n)=>Number(r)-Number(n)),o=0;for(let r of i){if(r==="errorIds")continue;let n=Number(r),a=n-o-1;a>=1&&this.onPHolder(t,a),o=n,this.secondParseLine(e[n])}e.errorIds.forEach(r=>this.secondParseLine(r))}this.clearCache()}clearCache(){this.lockConfig=[],this.hideConfig=[],this.invisibleConfig=[],this.coverConfig={},this.commentConfig={},this.trnCtrlConfig={},this.transformConfig={},this.fontCache={},this.cache={},this.version=void 0}parseDocType(t){this.version=Number(t[2])}parseHead(t){this.version<2&&t[1]&&t[1].print==="AHead Side"&&(t[1].print="Ahead Side"),this.onCanvas(t[1])}parseGroup(t){this.onGroup(t[1],t[2],t[3],!!t[4],!!t[5])}parseLock(t){this.lockConfig.push(...t[1])}parseHide(t){this.hideConfig.push(...t[1])}parseInvisible(t){this.invisibleConfig.push(...t[1])}parseCover(t){this.coverConfig[t[1]]=t[2]}parseTrnCtrl(t){this.trnCtrlConfig[t[1]]={scope:t[2],trans_print:t[3],trans_white:t[4]}}parseComment(t){this.commentConfig[t[1]]=t[2]}matrix2svg(t){let[e,i,o,r,n,a,s,l,c]=t.data;return[e,i,r,n,s,l]}encPath(t){let e=new Array;return new p$t(i=>(e.push(new m$t(!0).encPl(i).toArray().slice(1)),!0),!0).parse(t),e}parseRect(t){var e,i,o,r,n,a,s,l;let[,c,,d,u,p,m,h,f,,,g,b]=t,y=g[0],w=y[1],x=-y[2],S=y[1]+y[3],T=-y[2]+y[4],M=y[5],I=y[6],A=+y[7],D=+y[8],E=kd.scale(S-w,T-x).rotateD(-A);D&&(E=E.multiply3(kd.MIRROR_X)),E=E.translate(w,x),E=this.matrix2svg(E),E=this.encMatrix(E),this.onPoly(c,0,d,-A,u,p,m,h,f,!0,[["R",0,0,1,1,M,I,0,0]],!0,!0,this.lockConfig.some(N=>N===t[1]),this.hideConfig.some(N=>N===t[1]),this.invisibleConfig.some(N=>N===t[1]),d===1?1:(e=this.coverConfig[t[1]])!=null?e:null,b||((i=this.commentConfig[t[1]])!=null?i:null),d===2?3:(r=(o=this.trnCtrlConfig[t[1]])==null?void 0:o.scope)!=null?r:null,d===2?f:(a=(n=this.trnCtrlConfig[t[1]])==null?void 0:n.trans_print)!=null?a:null,d===2?1-f:(l=(s=this.trnCtrlConfig[t[1]])==null?void 0:s.trans_white)!=null?l:null,E!=null?E:null)}parseObj(t){var e,i,o,r,n,a,s,l;let[,c,,d,u,p,m,h,f,,,g,b]=t,[y,w,x,S,T,M,I,A,D]=g[0],E=kd.rotateD(A);D&&(E=E.multiply3(kd.MIRROR_X));let N;D?N=new Jt(new pi(0,0),new pi(0,-T)).multiply3(E):N=new Jt(new pi(0,0),new pi(S,0)).multiply3(E);let R=N.end().angleD(N.start()),v=D===1;S=D===1?T:S,T=D===1?S:T;let k=kd.scale(S,T).rotateD(-R);v&&(k=k.multiply3(kd.MIRROR_X)),k=k.translate(w,-x),k=this.matrix2svg(k),k=this.encMatrix(k),this.onPoly(c,0,d,-R,u,p,m,h,f,!0,[["R",0,0,1,1,0,0,0,0]],!1,!1,this.lockConfig.some(P=>P===t[1]),this.hideConfig.some(P=>P===t[1]),this.invisibleConfig.some(P=>P===t[1]),d===1?1:(e=this.coverConfig[t[1]])!=null?e:null,b||((i=this.commentConfig[t[1]])!=null?i:null),d===2?3:(r=(o=this.trnCtrlConfig[t[1]])==null?void 0:o.scope)!=null?r:null,d===2?f:(a=(n=this.trnCtrlConfig[t[1]])==null?void 0:n.trans_print)!=null?a:null,d===2?1-f:(l=(s=this.trnCtrlConfig[t[1]])==null?void 0:s.trans_white)!=null?l:null,k!=null?k:null)}parseEllipse(t){var e,i,o,r,n,a,s,l;let[,c,,d,u,p,m,h,f,,,g,b]=t,y=g[0],w=y[1],x=-y[2],S=y[3],T=y[4],M=+y[5],I=+y[6],A=kd.scale(S,T).rotateD(-M);I&&(A=A.multiply3(kd.MIRROR_X)),A=A.translate(w,x),A=this.matrix2svg(A),A=this.encMatrix(A),this.onPoly(c,0,d,-M,u,p,m,h,f,!0,[["ELLIPSE",0,0,1,1,0,0]],!0,!0,this.lockConfig.some(D=>D===t[1]),this.hideConfig.some(D=>D===t[1]),this.invisibleConfig.some(D=>D===t[1]),d===1?1:(e=this.coverConfig[t[1]])!=null?e:null,b||((i=this.commentConfig[t[1]])!=null?i:null),d===2?3:(r=(o=this.trnCtrlConfig[t[1]])==null?void 0:o.scope)!=null?r:null,d===2?f:(a=(n=this.trnCtrlConfig[t[1]])==null?void 0:n.trans_print)!=null?a:null,d===2?1-f:(l=(s=this.trnCtrlConfig[t[1]])==null?void 0:s.trans_white)!=null?l:null,A!=null?A:null)}parsePolyGroup(t){var e,i,o,r,n,a,s,l;let[,c,,d,u,p,m,h,f,,,g,b]=t,y=!0,w=!0,x=this.decMultiPoly(g).d;this.onPoly(c,0,d,0,u,p,m,h,f,!0,this.encPath(x),y,w,this.lockConfig.some(S=>S===t[1]),this.hideConfig.some(S=>S===t[1]),this.invisibleConfig.some(S=>S===t[1]),d===1?1:(e=this.coverConfig[t[1]])!=null?e:null,b||((i=this.commentConfig[t[1]])!=null?i:null),d===2?3:(r=(o=this.trnCtrlConfig[t[1]])==null?void 0:o.scope)!=null?r:null,d===2?f:(a=(n=this.trnCtrlConfig[t[1]])==null?void 0:n.trans_print)!=null?a:null,d===2?1-f:(l=(s=this.trnCtrlConfig[t[1]])==null?void 0:s.trans_white)!=null?l:null,null)}parsePoly(t){var e,i,o,r,n,a,s,l,c,d;if(this.version<2)if(t[11].length===1)switch(t[11][0][0]){case"R":{let u=t[7];return u.startsWith("data:")||u.startsWith("blob:")?this.parseObj(t):this.parseRect(t)}case"ELLIPSE":return this.parseEllipse(t);default:return this.parsePolyGroup(t)}else return this.parsePolyGroup(t);else this.onPoly(t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],!!(t[12]||t[12]===void 0),!!(t[13]||t[13]===void 0),this.lockConfig.some(u=>u===t[1]),this.hideConfig.some(u=>u===t[1]),this.invisibleConfig.some(u=>u===t[1]),(e=this.coverConfig[t[1]])!=null?e:null,(i=this.commentConfig[t[1]])!=null?i:null,(r=(o=this.trnCtrlConfig[t[1]])==null?void 0:o.scope)!=null?r:null,(a=(n=this.trnCtrlConfig[t[1]])==null?void 0:n.trans_print)!=null?a:null,(l=(s=this.trnCtrlConfig[t[1]])==null?void 0:s.trans_white)!=null?l:null,(d=(c=this.transformConfig[t[1]])==null?void 0:c.matrix)!=null?d:null)}decMultiPoly(t){let e=new pS,i=t.map(o=>{let r="";return new p$t(n=>(e.ext1(n.bbox()),r=new m$t().encPl(n).toString(),!1),!1).parse("M"+o.join(" ")),r}).join(" ");return{bbox:e.build(),d:i}}encMatrix(t){let[e,i,o,r,n,a]=t,s=new kd([e,i,0,o,r,0,n,a,1]);s=kd.MIRROR_Y.multiply3(s).multiply3(kd.MIRROR_Y);let[l,c,d,u,p,m,h,f,g]=s.data;return[l,u,h,c,p,f]}parseString(t){var e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w;if(this.version<2){let[,x,S,T,M,I,A,D,E,N,R,v,k,P,O,_,j,B,V,G]=t;I=Du(I);let Q=E;D=D===1,k=k===1,P=P===1,O=O===1;let H=-(_[15]/3|0)+2,q=_%3;V=V||1,G=G||1;let U=this.fontCache[t[1]],{bbox:F,d:K}=this.decMultiPoly(U),te=F.width(),ae=F.height();ae=ae||0,te=te||0;let pe=0;switch(q){case 1:pe=-te/2;break;case 2:pe=-te;break}let Z=0;switch(H){case 1:Z=ae/2;break;case 0:Z=ae;break}let ee=kd.translate(pe,Z).scale(V,G).rotateD(-A);D&&(ee=ee.multiply3(kd.MIRROR_X)),ee=ee.translate(M,I);let ce=this.matrix2svg(ee),ne=this.encMatrix(ce);this.onString(x,S,T,A,Q,N,R,v,k,P,O,((-H||0)+2)*3+(q||0),j,B,this.lockConfig.some(oe=>oe===t[1]),this.hideConfig.some(oe=>oe===t[1]),this.invisibleConfig.some(oe=>oe===t[1]),T===1?1:(e=this.coverConfig[t[1]])!=null?e:null,(i=this.commentConfig[t[1]])!=null?i:null,T===2?3:(r=(o=this.trnCtrlConfig[t[1]])==null?void 0:o.scope)!=null?r:null,T===2?B:(a=(n=this.trnCtrlConfig[t[1]])==null?void 0:n.trans_print)!=null?a:null,T===2?1-B:(l=(s=this.trnCtrlConfig[t[1]])==null?void 0:s.trans_white)!=null?l:null,ne,!!ne,this.encPath(K))}else this.onString(t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9]===1,t[10]===1,t[11]===1,t[12],t[13],t[14],this.lockConfig.some(x=>x===t[1]),this.hideConfig.some(x=>x===t[1]),this.invisibleConfig.some(x=>x===t[1]),(c=this.coverConfig[t[1]])!=null?c:null,(d=this.commentConfig[t[1]])!=null?d:null,(p=(u=this.trnCtrlConfig[t[1]])==null?void 0:u.scope)!=null?p:null,(h=(m=this.trnCtrlConfig[t[1]])==null?void 0:m.trans_print)!=null?h:null,(g=(f=this.trnCtrlConfig[t[1]])==null?void 0:f.trans_white)!=null?g:null,(y=(b=this.transformConfig[t[1]])==null?void 0:b.matrix)!=null?y:null,!!((w=this.transformConfig[t[1]])!=null&&w.matrix),this.fontCache[t[1]])}parseFontCache(t){this.fontCache[t[1]]=t[2]}parseDimension(t){var e,i,o,r,n,a,s,l,c,d,u,p;this.onDimension(t[1],t[2],t[3],(e=t[4])!=null?e:null,t[5],t[6],t[7],t[8],this.lockConfig.some(m=>m===t[1]),this.hideConfig.some(m=>m===t[1]),this.invisibleConfig.some(m=>m===t[1]),(i=this.coverConfig[t[1]])!=null?i:null,(o=this.commentConfig[t[1]])!=null?o:null,(n=(r=this.trnCtrlConfig[t[1]])==null?void 0:r.scope)!=null?n:null,(s=(a=this.trnCtrlConfig[t[1]])==null?void 0:a.trans_print)!=null?s:null,(c=(l=this.trnCtrlConfig[t[1]])==null?void 0:l.trans_white)!=null?c:null,(u=(d=this.transformConfig[t[1]])==null?void 0:d.matrix)!=null?u:null,!!((p=this.transformConfig[t[1]])!=null&&p.matrix))}parseTransform(t){this.transformConfig[t[1]]={matrix:t[2],strokes:!!t[3]}}parseAuxLine(t){var e,i,o,r,n,a,s,l,c,d,u;this.onAuxLine(t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],this.lockConfig.some(p=>p===t[1]),this.hideConfig.some(p=>p===t[1]),this.invisibleConfig.some(p=>p===t[1]),(e=this.coverConfig[t[1]])!=null?e:null,(i=this.commentConfig[t[1]])!=null?i:null,(r=(o=this.trnCtrlConfig[t[1]])==null?void 0:o.scope)!=null?r:null,(a=(n=this.trnCtrlConfig[t[1]])==null?void 0:n.trans_print)!=null?a:null,(l=(s=this.trnCtrlConfig[t[1]])==null?void 0:s.trans_white)!=null?l:null,(d=(c=this.transformConfig[t[1]])==null?void 0:c.matrix)!=null?d:null,!!((u=this.transformConfig[t[1]])!=null&&u.matrix))}},_ei=class extends Cht{constructor(t={},e=[]){super(),this.symbolPartIds=t,this.device=e,this.defaultPartId="pid8a0e77bacb214e",this.curPart="",this.onlyPart="",this.partIdMap={},this.fontStyleIndex={},this.lineStyleIndex={},this.groupIndex={},this.zIndex=0,this.zIndexMap=new Map,this.cache={},this.errorIds={},this.tableCell={},this.hasPart=!1,this.components={},this.busEntryMap={},this.defaultLineStyle={strokeColor:null,strokeStyle:null,fillColor:null,strokeWidth:null,fillStyle:null},this.defaultFontStyle={color:null,fillColor:null,fontFamily:null,fontSize:null,strikeout:null,underline:null,italic:null,fontWeight:null,hAlign:null,vAlign:null}}getZIndex(t){var e;return(e=this.zIndexMap.get(t))!=null?e:null}transPinAttrKey(t){switch(t){case"NUMBER":{t="Pin Number";break}case"NAME":{t="Pin Name";break}}return t}transFontStyle(t){return{color:t.color,fillColor:t.fillColor,fontFamily:t.fontFamily,fontSize:t.fontSize,strikeout:t.strikeout,underline:t.underline,italic:t.italic,fontWeight:t.fontWeight,align:this.transAlign(t.vAlign,t.hAlign)}}transTableFontStyle(t){return{color:t.color,fillColor:t.fillColor,fontFamily:t.fontFamily,fontSize:t.fontSize,strikeout:t.strikeout,underline:t.underline,italic:t.italic,fontWeight:t.fontWeight,vAlign:this.transVAlign(t.vAlign),hAlign:this.transHAlign(t.hAlign)}}transVAlign(t){switch(t=t&&Number(t),t){case 0:return"TOP";case 1:return"MIDDLE";case 2:return"BOTTOM";default:return null}}transHAlign(t){switch(t=t&&Number(t),t){case 0:return"LEFT";case 1:return"CENTER";case 2:return"RIGHT";default:return null}}transAlign(t,e){if(t=t&&Number(t),e=e&&Number(e),e===0)switch(t){case 0:return"LEFT_TOP";case 1:return"LEFT_MIDDLE";case 2:return"LEFT_BOTTOM";default:return"LEFT_BOTTOM"}if(e===1)switch(t){case 0:return"CENTER_TOP";case 1:return"CENTER_MIDDLE";case 2:return"CENTER_BOTTOM";default:return"CENTER_BOTTOM"}if(e===2)switch(t){case 0:return"RIGHT_TOP";case 1:return"RIGHT_MIDDLE";case 2:return"RIGHT_BOTTOM";default:return"RIGHT_BOTTOM"}switch(t){case 0:return"LEFT_TOP";case 1:return"LEFT_MIDDLE";case 2:return"LEFT_BOTTOM";default:return null}}transStrokeStyle(t){switch(t=t&&Number(t),t){case 0:return"SOLID";case 1:return"SHORT_DASH";case 2:return"DOT";case 3:return"DOT_DASH";default:return null}}transFillStyle(t){switch(t=t&&Number(t),t){case 0:return"NONE";case 1:return"SOLID";case 2:return"GRID";case 3:return"HORIZONTAL_LINE";case 4:return"VERTICAL_LINE";case 5:return"RHOMBIC";case 6:return"LEFT_SLASH_LINE";case 7:return"RIGHT_SLASH_LINE";default:return null}}transPinShape(t){switch(t=t&&Number(t),t){case 0:return"NONE";case 1:return"CLOCK";case 2:return"INVERTED";case 3:return"INVERTED_CLOCK";default:return"NONE"}}onParseLine(t){var e,i;let o=t[0];switch(o){case"DOCTYPE":this.parseDocType(t);break;case"HEAD":this.parseHead(t);break;case"GROUP":this.parseGroup(t);break;case"FONTSTYLE":this.parseFontStyle(t);break;case"LINESTYLE":this.parseLineStyle(t);break;case"TERM":break;case"PART":this.hasPart=!0,this.parsePart(t);break;case"TABEL_CELL":this.parseTableCell(t);break;case"BUSENTRY":{this.parseBusEntry(t);break}case"WIRE":case"BUS":case"TEXT":case"POLY":case"CIRCLE":case"ARC":case"RECT":case"PIN":case"OBJ":case"COMPONENT":case"ELLIPSE":case"BEZIER":case"TABLE":{this.zIndexMap.set(t[1],++this.zIndex);let r=owe(t[1]);this.cache[o]||(this.cache[o]={}),r!==null&&!this.cache[o][r]?this.cache[o][r]={part:this.curPart,value:t}:(this.errorIds[o]||(this.errorIds[o]=[]),this.errorIds[o].push({part:this.curPart,value:t}));break}case"ATTR":{this.zIndexMap.set(t[1],++this.zIndex),t[3]==="Symbol"&&(this.components[t[2]]||(this.components[t[2]]={symbol:"",device:""}),this.components[t[2]].symbol=t[4]),t[3]==="Device"&&(this.components[t[3]]||(this.components[t[3]]={symbol:"",device:""}),this.components[t[3]].device=t[4]);let r=Object.keys(((e=this.cache)==null?void 0:e.COMPONENT)||{}).find(s=>this.cache.COMPONENT[s].value[1]===t[2]);if(r){let s=this.cache.COMPONENT[r];s.attr||(s.attr=[]),s.attr.push({part:this.curPart,value:t});break}let n=Object.keys(((i=this.cache)==null?void 0:i.PIN)||{}).find(s=>this.cache.PIN[s].value[1]===t[2]);if(n){let s=this.cache.PIN[n];s.attr||(s.attr=[]),s.attr.push({part:this.curPart,value:t});break}let a=owe(t[1]);this.cache[o]||(this.cache[o]={}),a!==null&&!(this.cache[o][a]&&this.cache[o][a].value[1]!==t[1])?this.cache[o][a]||(this.cache[o][a]={part:this.curPart,value:t}):(this.errorIds[o]||(this.errorIds[o]=[]),this.errorIds[o].push({part:this.curPart,value:t}));break}default:console.warn("can not find hanlder with",t)}}secondParseLine(t){switch(t[0]){case"DOCTYPE":case"HEAD":case"GROUP":case"FONTSTYLE":case"LINESTYLE":break;case"ATTR":this.parseAttr(t);break;case"WIRE":this.parseWire(t);break;case"BUS":this.parseBus(t);break;case"TEXT":this.parseText(t);break;case"POLY":this.parsePoly(t);break;case"CIRCLE":this.parseCircle(t);break;case"ARC":this.parseArc(t);break;case"BUSENTRY":break;case"RECT":this.parseRect(t);break;case"PIN":this.parsePin(t);break;case"OBJ":this.parseObj(t);break;case"COMPONENT":this.parseComponent(t);break;case"ELLIPSE":this.parseEllipse(t);break;case"BEZIER":this.parseBezier(t);break;case"TABLE":this.parseTable(t);break;case"TABEL_CELL":break}}onParseEnd(){this.docType==="SYMBOL"&&!this.hasPart&&(this.curPart=this.defaultPartId,this.onlyPart=this.curPart,this.partIdMap[""]=this.curPart,this.onPart(this.curPart,{title:""}));for(let t in this.cache){let e=this.cache[t],i=Object.keys(e).sort((r,n)=>Number(r)-Number(n)),o=0;for(let r of i){let n=Number(r),a=n-o-1;a>=1&&this.onPHolder(t,a),o=n,this.curPart=this.hasPart?e[n].part||this.onlyPart:this.curPart,this.secondParseLine(e[n].value),e[n].attr&&e[n].attr.forEach(s=>{this.curPart=this.hasPart?s.part||this.onlyPart:this.curPart,this.secondParseLine(s.value)})}if(this.errorIds[t])for(let r of this.errorIds[t])this.curPart=this.hasPart?r.part||this.onlyPart:this.curPart,this.secondParseLine(r.value)}this.clearCache()}clearCache(){this.fontStyleIndex={},this.lineStyleIndex={},this.groupIndex={},this.cache={},this.errorIds={},this.curPart="",this.components={},this.tableCell={},this.hasPart=!1,this.version=void 0,this.docType=void 0}parseDocType(t){this.docType=t[1];let e=parseFloat(t[2]);this.version=e}parseHead(t){this.onCanvas(t[1])}parseFontStyle(t){this.fontStyleIndex[t[1]]={color:t[3]===""?"none":t[3],fillColor:t[2],fontFamily:t[4],fontSize:typeof t[5]=="number"?t[5]:null,strikeout:t[9]===null?null:t[9]===1,underline:t[8]===null?null:t[8]===1,italic:t[6]===null?null:t[6]===1,fontWeight:t[7]===null?null:t[7]===1,vAlign:t[10],hAlign:t[11]}}parseLineStyle(t){this.lineStyleIndex[t[1]]={strokeColor:t[2],strokeStyle:this.transStrokeStyle(t[3]),fillColor:t[4]===""?"none":t[4],strokeWidth:t[5],fillStyle:this.transFillStyle(t[6])}}getGroupId(t){let e=this;for(let i in e.groupIndex){let o=e.groupIndex[i];if(o!=null&&o.includes(t))return i}return""}parseBezier(t){let e=this.lineStyleIndex[t[3]];e||(e=this.defaultLineStyle,console.warn("style not found",t));let i=this.getGroupId(t[1]);for(let o=0;o<t[2].length;o+=2)t[2][o+1]=Du(t[2][o+1]);this.onBezier(t[1],this.curPart,i,!!t[4],t[2],e.strokeColor,e.strokeStyle,e.fillColor,e.strokeWidth,e.fillStyle)}parseGroup(t){this.groupIndex[t[1]]=t[4]||[],this.onGroup(t[1],t[2]||"",t[3]||"")}parseBus(t){let e=this.lineStyleIndex[t[3]];e||(e=this.defaultLineStyle,console.warn("style not found",t));let i=t[2]||[],o=this.getGroupId(t[1]);this.onBus(t[1],this.curPart,o,!!t[4],i,e.strokeColor,e.strokeStyle,e.fillColor,e.strokeWidth,e.fillStyle,this.busEntryMap[t[1]]||{})}parseWire(t){let e=this.lineStyleIndex[t[3]];e||(e=this.defaultLineStyle,console.warn("style not found",t));let i=t[2]||[],o=this.getGroupId(t[1]);this.onWire(t[1],this.curPart,o,!!t[4],i,e.strokeColor,e.strokeStyle,e.fillColor,e.strokeWidth,e.fillStyle)}parseText(t){let e=this.fontStyleIndex[t[6]];e||(e=this.defaultFontStyle,console.warn("font not found",t));let i=this.transFontStyle(e),o=this.getGroupId(t[1]);this.onText(t[1],this.curPart,o,!!t[7],t[2],t[3],t[4],t[5],i.color,i.fillColor,i.fontFamily,i.fontSize,i.strikeout,i.underline,i.italic,i.fontWeight,i.align)}parsePoly(t){let e=this.lineStyleIndex[t[4]];e||(e=this.defaultLineStyle,console.warn("style not found",t));let i=this.getGroupId(t[1]);this.onPoly(t[1],this.curPart,i,!!t[5],t[2]||[],!!t[3],e.strokeColor,e.strokeStyle,e.fillColor,e.strokeWidth,e.fillStyle)}parseCircle(t){let e=this.lineStyleIndex[t[5]];e||(e=this.defaultLineStyle,console.warn("style not found",t));let i=this.getGroupId(t[1]);this.onCircle(t[1],this.curPart,i,!!t[6],t[2],t[3],t[4],e.strokeColor,e.strokeStyle,e.fillColor,e.strokeWidth,e.fillStyle)}parseArc(t){let e=this.lineStyleIndex[t[8]];e||(e=this.defaultLineStyle,console.warn("style not found",t));let i=this.getGroupId(t[1]);this.onArc(t[1],this.curPart,i,!!t[9],t[2],t[3],t[4],t[5],t[6],t[7],e.strokeColor,e.strokeStyle,e.fillColor,e.strokeWidth,e.fillStyle)}parseBusEntry(t){let e=t[2],i={groupId:this.getGroupId(t[1]),locked:!1,zIndex:++this.zIndex,order:t[3],pointX:t[4],pointY:Du(t[5]),rotation:t[6]};this.busEntryMap[e]||(this.busEntryMap[e]={}),this.busEntryMap[e][t[1]]=i}parseRect(t){let e=this.lineStyleIndex[t[9]];e||(e=this.defaultLineStyle,console.warn("style not found",t));let i=this.getGroupId(t[1]);this.onRect(t[1],this.curPart,i,!!t[10],t[2],t[3],t[4],t[5],t[6],t[7],t[8],e.strokeColor,e.strokeStyle,e.fillColor,e.strokeWidth,e.fillStyle)}parsePin(t){let e=this.getGroupId(t[1]);this.onPin(t[1],this.curPart,e,!!t[10],!!t[2],t[3],t[4],t[5],t[6],t[7],t[8],this.transPinShape(t[9]))}parseObj(t){let e=this.getGroupId(t[1]);this.version>=1.1?this.onObj(t[1],this.curPart,e,!!t[10],t[2],t[3],t[4],t[5],t[6],t[7],!!t[8],t[9]):this.onObj(t[1],this.curPart,e,!!t[10],t[2],t[4],t[5],t[6],t[7],t[8],!1,`data:${t[3]},${t[9]}`)}parseComponent(t){var e,i,o;let r=this.getGroupId(t[1]),n=t[2],a=this.components[t[1]];if(a){if(a.symbol){let s=this.symbolPartIds[a.symbol];s&&(n=s[t[2]]||t[2]||s[(e=Object.keys(s))==null?void 0:e[0]]||"")}else if(a.device){let s=this.device.find(c=>c.uuid===a.device),l=s?this.symbolPartIds[(i=s==null?void 0:s.attributes)==null?void 0:i.Symbol]:null;l&&(n=l[t[2]]||t[2]||l[(o=Object.keys(l))==null?void 0:o[0]]||"")}}this.onComponent(t[1],!!t[8],n,r,t[3],t[4],t[5],t[6]===1,t[7])}parseEllipse(t){let e=this.lineStyleIndex[t[7]];e||(e=this.defaultLineStyle,console.warn("style not found",t));let i=this.getGroupId(t[1]);this.onEllipse(t[1],this.curPart,i,!!t[8],t[2],t[3],t[4],t[5],t[6],e.strokeColor,e.strokeStyle,e.fillColor,e.strokeWidth,e.fillStyle)}parseTable(t){let e=this.getGroupId(t[1]);this.onTable(t[1],this.curPart,e,t[2],t[3],t[4],t[5],t[6],t[7],t[8],this.tableCell[t[1]]||[])}parseTableCell(t){let e=this.lineStyleIndex[t[8]],i=this.lineStyleIndex[t[9]],o=this.lineStyleIndex[t[10]],r=this.lineStyleIndex[t[11]],n=this.fontStyleIndex[t[12]],a=Object.assign({},n);a.color=n.fillColor,a.fillColor=n.color,(!e||!i||!o||!r||!a)&&console.warn("style not found",t);let s={id:t[1],value:t[3],rowIndex:t[4],columnIndex:t[5],rowSpan:t[6],colSpan:t[7],topStyle:e||this.defaultLineStyle,rightStyle:i||this.defaultLineStyle,bottomStyle:o||this.defaultLineStyle,leftStyle:r||this.defaultLineStyle,fontStyle:this.transTableFontStyle(a||this.defaultFontStyle),lineHeight:t[13],zIndex:++this.zIndex};this.tableCell[t[2]]||(this.tableCell[t[2]]=[]),this.tableCell[t[2]].push(s)}parseAttr(t){let e=this.fontStyleIndex[t[10]];e||(e=this.defaultFontStyle,console.warn("fontStyle not found",t));let i=this.transFontStyle(e),o=this.getGroupId(t[1]);this.onAttr(t[1],this.curPart,o,!!t[11],t[2]||"",this.transPinAttrKey(String(t[3])),t[4],t[5]===null?null:!!t[5],t[6]===null?null:!!t[6],t[7]!==null?t[7]:null,t[8]!==null?t[8]:null,t[9],i.color,i.fillColor,i.fontFamily,i.fontSize,i.strikeout,i.underline,i.italic,i.fontWeight,i.align)}parsePart(t){this.curPart=t[1]||this.defaultPartId,this.onlyPart=this.curPart,this.partIdMap[t[1]]=this.curPart;let e=Object.assign(t[2]||{},{title:t[1]||""});this.onPart(this.curPart,e)}},D$o=class{constructor(){}encodeCanvas(t){return{id:"CANVAS",dataType:"CANVAS",data:JSON.stringify(t)}}encodeGroup(t,e){return{id:t,dataType:"GROUP",data:JSON.stringify(e)}}encodeAuxLine(t,e){return{id:t,dataType:"AUXLINE",data:JSON.stringify(e)}}encodeDimension(t,e){return{id:t,dataType:"DIMENSION",data:JSON.stringify(e)}}encodeString(t,e){return{id:t,dataType:"STRING",data:JSON.stringify(e)}}encodePoly(t,e){return{id:t,dataType:"POLY",data:JSON.stringify(e)}}},r7e=class{constructor(){}editHead(t,e){let i={uuid:t.uuid,nickname:t.nickname,username:t.username,updateTime:e};return`${JSON.stringify({type:"EDIT_HEAD"})}||${JSON.stringify(i)}`}head(t){return Cb(this.doctype,t.client,t.doc,t.updateTime,t.version||String(t.updateTime),t.user,t.ticket)}creator(t,e){let i=typeof e=="string"?e:JSON.stringify(e);return ac("META_CREATE",t,"META_CREATE",i)}modifier(t,e){let i=typeof e=="string"?e:JSON.stringify(e);return ac("META_MODIFY",t,"META_MODIFY",i)}delete(t,e){let i=e||JSON.stringify({isDelete:!0});return ac("DELETE_DOC",t,"DELETE_DOC",i)}},nU=class extends r7e{constructor(){super(...arguments),this.doctype="BLOB"}buildStr(t,e,i){let o=typeof i=="string"?i:JSON.stringify(this.buildData(i));return ac("BLOB",t,e,o)}buildData(t){return{filename:t.filename,content:t.content}}},Cwe=class extends r7e{meta(t,e,i){let o=typeof e=="string"?e:JSON.stringify(this.metaData(e));return ac("META",t,"META",o,void 0,i)}},E$o=class extends Cwe{constructor(){super(...arguments),this.doctype="BOARD"}metaData(t){return{title:t.title,zIndex:t.zIndex}}},A$o=class extends Cwe{constructor(){super(...arguments),this.doctype="CONFIG"}head(t){let{client:e,updateTime:i,user:o}=t,r=i||new Date().getTime();return Cb(this.doctype,e,"CONFIG",r,String(r),o,t.ticket)}metaData(t){return{defaultSheet:t.defaultSheet}}},N$o=class extends Cwe{constructor(){super(...arguments),this.doctype="DEVICE"}metaData(t){return{title:t.title,tags:t.tags,source:t.source,images:t.images,attributes:t.attributes}}},k$o=class{constructor(){}encodeString(t,e){return{id:t,dataType:"STRING",data:JSON.stringify(e)}}encodeAttr(t,e){return{id:t,dataType:"ATTR",data:JSON.stringify(e)}}encodePadNet(t){let e=JSON.stringify(["PAD_NET",t.componentId,t.padNum,t.padId||""]),i={...t};return delete i.componentId,delete i.padNum,delete i.padId,{id:e,dataType:"PAD_NET",data:JSON.stringify(i)}}encodeComponent(t,e){return{id:t,dataType:"COMPONENT",data:JSON.stringify(e)}}encodePanelize(t){return{id:"PANELIZE",dataType:"PANELIZE",data:JSON.stringify(t)}}encodeRuleSelector(t){let e=JSON.stringify(["RULE_SELECTOR",t.ruleSelect]),i={...t};return delete i.ruleSelect,{id:e,dataType:"RULE_SELECTOR",data:JSON.stringify(i)}}encodeRule(t){let e=JSON.stringify(["RULE",t.ruleType,t.ruleName]),i={...t};return delete i.ruleType,delete i.ruleName,{id:e,dataType:"RULE",data:JSON.stringify(i)}}encodeRuleTemplate(t){return{id:"RULE_TEMPLATE",dataType:"RULE_TEMPLATE",data:JSON.stringify(t)}}encodeDimension(t,e){return{id:t,dataType:"DIMENSION",data:JSON.stringify(e)}}encodeBoss(t,e){return{id:t,dataType:"BOSS",data:JSON.stringify(e)}}encodeShellEntity(t,e){return{id:t,dataType:"SHELL_ENTITY",data:JSON.stringify(e)}}encodeShellCut(t,e){return{id:t,dataType:"SHELLCUT",data:JSON.stringify(e)}}encodeCrease(t,e){return{id:t,dataType:"CREASE",data:JSON.stringify(e)}}encodeShell(t,e){return{id:t,dataType:"SHELL",data:JSON.stringify(e)}}encodeFpcFill(t,e){return{id:t,dataType:"FPC_FILL",data:JSON.stringify(e)}}encodeTeardrop(t,e){return{id:t,dataType:"TEARDROP",data:JSON.stringify(e)}}encodeImage(t,e){return{id:t,dataType:"IMAGE",data:JSON.stringify(e)}}encodePoured(t,e){return{id:v2(t,"POURED"),dataType:"POURED",data:JSON.stringify(e)}}encodePour(t,e){return{id:t,dataType:"POUR",data:JSON.stringify(e)}}encodeRegion(t,e){return{id:t,dataType:"REGION",data:JSON.stringify(e)}}encodeFill(t,e){return{id:t,dataType:"FILL",data:JSON.stringify(e)}}encodeLayerFill(t,e){return{id:v2(t,"LAYER_FILL"),dataType:"LAYER_FILL",data:JSON.stringify(e)}}encodePoly(t,e){return{id:t,dataType:"POLY",data:JSON.stringify(e)}}encodeEQLenGrp(t,e){return{id:t,dataType:"EQLEN_GRP",data:JSON.stringify(e)}}encodeObj(t,e){return{id:t,dataType:"OBJ",data:JSON.stringify(e)}}encodeArc(t,e){return{id:t,dataType:"ARC",data:JSON.stringify(e)}}encodeLine(t,e){return{id:t,dataType:"LINE",data:JSON.stringify(e)}}encodePad(t,e){return{id:t,dataType:"PAD",data:JSON.stringify(e)}}encodeVia(t,e){return{id:t,dataType:"VIA",data:JSON.stringify(e)}}encodePreference(t){return{id:"PREFERENCE",dataType:"PREFERENCE",data:JSON.stringify(t)}}encodeSilkOpts(t,e){return{id:v2(t,"SILK_OPTS"),dataType:"SILK_OPTS",data:JSON.stringify(e)}}encodeGroup(t,e){return{id:t,dataType:"GROUP",data:JSON.stringify(e)}}encodePrimitive(t,e){return{id:v2(t,"PRIMITIVE"),dataType:"PRIMITIVE",data:JSON.stringify(e)}}encodeNet(t,e){return{id:v2(t,"NET"),dataType:"NET",data:JSON.stringify(e)}}encodePartition(t,e){return{id:t,dataType:"PARTITION",data:JSON.stringify(e)}}encodeActiveLayer(t){return{id:"ACTIVE_LAYER",dataType:"ACTIVE_LAYER",data:JSON.stringify(t)}}encodeLayerPhys(t,e){return{id:v2(t,"LAYER_PHYS"),dataType:"LAYER_PHYS",data:JSON.stringify(e)}}encodeLayer(t,e){return{id:v2(t,"LAYER"),dataType:"LAYER",data:JSON.stringify(e)}}encodeCanvas(t){return{id:"CANVAS",dataType:"CANVAS",data:JSON.stringify(t)}}},jei=class{constructor(){}encodeString(t,e){return{id:t,dataType:"STRING",data:JSON.stringify(e)}}encodeAttr(t,e){return{id:t,dataType:"ATTR",data:JSON.stringify(e)}}encodePanelize(t){return{id:"PANELIZE",dataType:"PANELIZE",data:JSON.stringify(t)}}encodeRuleSelector(t){let e=JSON.stringify(["RULE_SELECTOR",t.ruleSelect]),i={...t};return delete i.ruleSelect,{id:e,dataType:"RULE_SELECTOR",data:JSON.stringify(i)}}encodeRule(t){let e=JSON.stringify(["RULE",t.ruleType,t.ruleName]),i={...t};return delete i.ruleType,delete i.ruleName,{id:e,dataType:"RULE",data:JSON.stringify(i)}}encodeRuleTemplate(t){return{id:"RULE_TEMPLATE",dataType:"RULE_TEMPLATE",data:JSON.stringify(t)}}encodeDimension(t,e){return{id:t,dataType:"DIMENSION",data:JSON.stringify(e)}}encodeBoss(t,e){return{id:t,dataType:"BOSS",data:JSON.stringify(e)}}encodeShellEntity(t,e){return{id:t,dataType:"SHELL_ENTITY",data:JSON.stringify(e)}}encodeShellCut(t,e){return{id:t,dataType:"SHELLCUT",data:JSON.stringify(e)}}encodeCrease(t,e){return{id:t,dataType:"CREASE",data:JSON.stringify(e)}}encodeShell(t,e){return{id:t,dataType:"SHELL",data:JSON.stringify(e)}}encodeFpcFill(t,e){return{id:t,dataType:"FPC_FILL",data:JSON.stringify(e)}}encodeTeardrop(t,e){return{id:t,dataType:"TEARDROP",data:JSON.stringify(e)}}encodeImage(t,e){return{id:t,dataType:"IMAGE",data:JSON.stringify(e)}}encodePoured(t,e){return{id:v2(t,"POURED"),dataType:"POURED",data:JSON.stringify(e)}}encodePour(t,e){return{id:t,dataType:"POUR",data:JSON.stringify(e)}}encodeRegion(t,e){return{id:t,dataType:"REGION",data:JSON.stringify(e)}}encodeFill(t,e){return{id:t,dataType:"FILL",data:JSON.stringify(e)}}encodeLayerFill(t,e){return{id:v2(t,"LAYER_FILL"),dataType:"LAYER_FILL",data:JSON.stringify(e)}}encodePoly(t,e){return{id:t,dataType:"POLY",data:JSON.stringify(e)}}encodeEQLenGrp(t,e){return{id:t,dataType:"EQLEN_GRP",data:JSON.stringify(e)}}encodeObj(t,e){return{id:t,dataType:"OBJ",data:JSON.stringify(e)}}encodeArc(t,e){return{id:t,dataType:"ARC",data:JSON.stringify(e)}}encodeLine(t,e){return{id:t,dataType:"LINE",data:JSON.stringify(e)}}encodePad(t,e){return{id:t,dataType:"PAD",data:JSON.stringify(e)}}encodeVia(t,e){return{id:t,dataType:"VIA",data:JSON.stringify(e)}}encodePreference(t){return{id:"PREFERENCE",dataType:"PREFERENCE",data:JSON.stringify(t)}}encodeSilkOpts(t,e){return{id:v2(t,"SILK_OPTS"),dataType:"SILK_OPTS",data:JSON.stringify(e)}}encodeGroup(t,e){return{id:t,dataType:"GROUP",data:JSON.stringify(e)}}encodePrimitive(t,e){return{id:v2(t,"PRIMITIVE"),dataType:"PRIMITIVE",data:JSON.stringify(e)}}encodeNet(t,e){return{id:v2(t,"NET"),dataType:"NET",data:JSON.stringify(e)}}encodeActiveLayer(t){return{id:"ACTIVE_LAYER",dataType:"ACTIVE_LAYER",data:JSON.stringify(t)}}encodeLayerPhys(t,e){return{id:v2(t,"LAYER_PHYS"),dataType:"LAYER_PHYS",data:JSON.stringify(e)}}encodeLayer(t,e){return{id:v2(t,"LAYER"),dataType:"LAYER",data:JSON.stringify(e)}}encodeCanvas(t){return{id:"CANVAS",dataType:"CANVAS",data:JSON.stringify(t)}}},Bei=class extends nei{constructor(t=!1){super(void 0,void 0,void 0,void 0,t),this.encode=new jei,this.maxTicket=0,this.blobEncode=new nU,this.blobData=[],this.encodeData="",this.placeholder=0}handleData(t){this.encodeData?this.encodeData=this.encodeData+`|
`+ac(t.dataType,++this.maxTicket,t.id,t.data):this.encodeData=ac(t.dataType,++this.maxTicket,t.id,t.data)}getZIndex(t){let e=t.match(t7e);return e!=null&&e.length?e[1]:null}onPHolder(t,e){let i={dataType:t,max:e};this.handleData({id:`placeholder${++this.placeholder}`,dataType:"ELE_PLACEHOLDER",data:JSON.stringify(i)})}onLayerFill(t,e){this.handleData(this.encode.encodeLayerFill(t,e))}onString(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y){let w=this.getZIndex(t);this.handleData(this.encode.encodeString(Go(t),{groupId:i,layerId:o,x:r,y:n,text:a,fontFamily:s,fontSize:l,strokeWidth:c,bold:d,italic:u,origin:p,angle:m,reverse:h,expansion:f,mirror:g,locked:b,zIndex:w===null?null:Number(w),specialColor:y}))}onAttr(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M){let I=this.getZIndex(t);I&&T&&(I=I+"."+String(T)),this.handleData(this.encode.encodeAttr(Go(t),{groupId:i,parentId:o,layerId:r,x:n,y:a,key:s,value:l,keyVisible:c,valueVisible:d,fontFamily:u,fontSize:p,strokeWidth:m,bold:h,italic:f,origin:g,angle:b,reverse:y,expansion:w,mirror:x,locked:S,zIndex:I===null?null:Number(I),specialColor:M}))}onPadNet(t,e,i,o,r){}onComponent(t,e,i,o,r,n,a,s,l){}onPanelize(t,e,i,o,r,n,a,s,l,c){this.handleData(this.encode.encodePanelize({on:t,row:e,column:i,rowSpacing:o,columnSpacing:r,onlyOutline:n,horizontalStamp:a,verticalStamp:s,horizontalSize:l,verticalSize:c}))}onRuleSelector(t,e,i,o,r){this.handleData(this.encode.encodeRuleSelector({ruleSelect:t,ruleOrder:e,ruleKeyValue:i,copperValue:o,innerPlaneValue:r}))}onRule(t,e,i,o){this.handleData(this.encode.encodeRule({ruleType:t,ruleName:e,ruleState:i,ruleContext:o}))}onRuleTemplate(t){this.handleData(this.encode.encodeRuleTemplate({name:t}))}onDimension(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeDimension(Go(t),{type:i,layerId:o,unit:r,strokeWidth:n,precision:a,textFollow:s,coords:l,locked:c,zIndex:m===null?null:Number(m),text:d,specialColor:u,groupId:p}))}onBoss(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeBoss(Go(t),{groupId:i,layerId:o,centerX:r,centerY:n,specification:a,depth:s,thickness:l,holeDiameter:c,counterBore:d?{height:d[0],diameter:d[1]}:null,stiffener:u?{topWidth:u[0],bottomWidth:u[1],height:u[2],stiffThickness:u[3]}:null,locked:p,zIndex:m===null?null:Number(m)}))}onShellEntity(t,e,i,o,r,n,a,s,l,c,d,u){let p=this.getZIndex(t),m={groupId:i,layerId:o,type:r?"ENTITY":"SLOT",depth:s,strokeWidth:l,path:c,locked:d,zIndex:p===null?null:Number(p),refs:u};m.type==="ENTITY"&&(m.entityBelong=n),m.type==="SLOT"&&(m.slotOptions=a),this.handleData(this.encode.encodeShellEntity(Go(t),m))}onShellCut(t,e,i,o,r,n,a,s,l){let c=this.getZIndex(t);this.handleData(this.encode.encodeShellCut(Go(t),{groupId:i,layerId:o,depth:r,strokeWidth:n,path:a,locked:s,zIndex:c===null?null:Number(c),refs:l}))}onCrease(t,e,i,o,r,n,a,s,l,c){let d=this.getZIndex(t);this.handleData(this.encode.encodeCrease(Go(t),{groupId:i,layerId:o,startX:r,startY:n,endX:a,endY:s,angle:l,locked:c,zIndex:d===null?null:Number(d)}))}onShell(t,e,i,o,r,n,a,s,l,c){let d=this.getZIndex(t),u={groupId:i,shellType:o,shellHeight:r,pcbHeight:n,strokeWidth:a,path:s,thickness:l.Thickness,locked:c,zIndex:d===null?null:Number(d)};o==="DRAWER"&&(u.direction=l.Direction),o==="T&B"&&(u.bottomHeight=l.BottomHeight,u.topInnerHeight=l.TopInnerHeight,u.bottomInnerHeight=l.BottomInnerHeight),this.handleData(this.encode.encodeShell(Go(t),u))}onFpcFill(t,e,i,o,r,n,a,s){let l=this.getZIndex(t);this.handleData(this.encode.encodeFpcFill(Go(t),{groupId:i,layerId:o,material:r,thickness:n,path:a,locked:s,zIndex:l===null?null:Number(l)}))}onTeardrop(t,e,i,o,r,n,a){this.handleData(this.encode.encodeTeardrop(Go(t),{netName:i,layerId:o,path:r,groupId:n,refs:a,locked:!1}))}onImage(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeImage(Go(t),{groupId:i,layerId:o,startX:r,startY:n,width:a,height:s,angle:l,mirror:c,path:d,locked:u,zIndex:m===null?null:Number(m),specialColor:p}))}onPoured(t,e){this.handleData(this.encode.encodePoured(Go(t),e))}onPour(t,e,i,o,r,n,a,s,l,c,d,u){let p=this.getZIndex(t);this.handleData(this.encode.encodePour(Go(t),{groupId:i,netName:o,layerId:r,width:n,name:a,order:s,path:l,pourType:c,keepIsland:d,locked:u,zIndex:p===null?null:Number(p)}))}onRegion(t,e,i,o,r,n,a,s,l,c){let d=this.getZIndex(t);this.handleData(this.encode.encodeRegion(Go(t),{groupId:i,layerId:o,width:r,prohibitType:n,path:a,locked:s,zIndex:d===null?null:Number(d),name:l,regionType:c}))}onFill(t,e,i,o,r,n,a,s,l,c,d){let u=this.getZIndex(t);this.handleData(this.encode.encodeFill(Go(t),{groupId:i,netName:o,layerId:r,width:n,fillStyle:a,path:s,locked:l,zIndex:u===null?null:Number(u),isBridgingCopper:!1,networkList:[],refs:c,specialColor:d}))}onPoly(t,e,i,o,r,n,a,s,l){let c=this.getZIndex(t);this.handleData(this.encode.encodePoly(Go(t),{groupId:i,netName:o,layerId:r,width:n,path:a,locked:s,zIndex:c===null?null:Number(c),specialColor:l,polyType:r==11?"BOARD_OUTLINE":"NORMAL"}))}onEQLenGrp(t,e,i,o){this.handleData(this.encode.encodeEQLenGrp(Go(t),{name:e,sort:i,pads:o}))}onObj(t,e,i,o,r,n,a,s,l,c,d,u,p,m){if(u.startsWith("data:")){let f=m8(u);this.blobData.push(this.blobEncode.buildStr(1,f,{filename:r,content:u})),u=`blob:${f}`}let h=this.getZIndex(t);this.handleData(this.encode.encodeObj(Go(t),{groupId:i,layerId:o,fileName:r,startX:n,startY:a,width:s,height:l,angle:c,mirror:d,path:u,locked:p,zIndex:h===null?null:Number(h),specialColor:m}))}onArc(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeArc(Go(t),{groupId:i,netName:o,layerId:r,startX:n,startY:a,endX:s,endY:l,angle:c,width:d,locked:u,zIndex:m===null?null:Number(m),arcType:"DOT",specialColor:p}))}onCArc(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeArc(Go(t),{groupId:i,netName:o,layerId:r,startX:n,startY:a,endX:s,endY:l,angle:c,width:d,locked:u,zIndex:m===null?null:Number(m),arcType:"CENT",specialColor:p}))}onLine(t,e,i,o,r,n,a,s,l,c,d){let u=this.getZIndex(t);this.handleData(this.encode.encodeLine(Go(t),{groupId:i,netName:o,layerId:r,startX:n,startY:a,endX:s,endY:l,width:c,locked:d,zIndex:u===null?null:Number(u)}))}onPad(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M,I,A,D){let E=this.getZIndex(t);this.handleData(this.encode.encodePad(Go(t),{groupId:i,netName:o,layerId:r,num:n,centerX:a,centerY:s,padAngle:l,hole:c,defaultPad:d,specialPad:u,padOffsetX:p,padOffsetY:m,relativeAngle:h,plated:f,padType:g,topSolderExpansion:b,bottomSolderExpansion:y,topPasteExpansion:w,bottomPasteExpansion:x,locked:S,zIndex:E===null?null:Number(E),connectMode:T,spokeSpace:M,spokeWidth:I,spokeAngle:A,unusedInnerLayers:D,padLen:0}))}onVia(t,e,i,o,r,n,a,s,l,c,d,u,p,m){let h=this.getZIndex(t);this.handleData(this.encode.encodeVia(Go(t),{groupId:i,netName:o,ruleName:r,centerX:n,centerY:a,holeDiameter:s,viaDiameter:l,viaType:c,topSolderExpansion:d,bottomSolderExpansion:u,locked:p,zIndex:h===null?null:Number(h),unusedInnerLayers:m}))}onPreference(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w){this.handleData(this.encode.encodePreference({startTrackWidthFollowLast:t,lastTrackWidth:e,startViaSizeFollowLast:i,lastViaInnerDiameter:o,lastViaDiameter:r,snap:n,routingMode:a,routingCorner:s,removeLoop:l,rotatingObject:c,trackFollow:d,stretchTrackMinCorner:u,preferenceConfig:p,realTimeUpdateUnusedLayers:m,unusedPadRange:h,pushVia:f,pathOptimization4BePushed:g,currentPathOptimization4BePushed:b,removeCircuitsContainingVias:y,removeAntenna:w}))}onSilkOpts(t,e,i){this.handleData(this.encode.encodeSilkOpts(t,{defaultColor:e,baseColor:i}))}onGroup(t,e){this.handleData(this.encode.encodeGroup(t,{groupName:e}))}onPrimitive(t,e,i){this.handleData(this.encode.encodePrimitive(t,{display:e,pick:i}))}onNet(t,e,i,o,r,n,a){this.handleData(this.encode.encodeNet(t,{netType:e,specialColor:i,retLine:o,differentialName:r,isPositiveNet:n,equalLengthGroupName:a}))}onPartition(t,e,i,o){}onActiveLayer(t){this.handleData(this.encode.encodeActiveLayer({layerId:t}))}onLayerPhys(t,e,i,o,r,n,a){this.handleData(this.encode.encodeLayerPhys(t,{material:e,thickness:i,permittivity:o,lossTangent:r,isKeepIsland:n,zIndex:a}))}onLayer(t,e,i,o,r,n,a,s,l,c){this.handleData(this.encode.encodeLayer(t,{layerType:e,layerName:i,use:o,show:r,locked:n,activeColor:a,activateTransparency:s,inactiveColor:l,inactiveTransparency:c}))}onCanvas(t,e,i,o,r,n,a,s,l,c,d,u){this.handleData(this.encode.encodeCanvas({originX:t,originY:e,unit:i,gridXSize:o,gridYSize:r,snapXSize:n,snapYSize:a,altSnapXSize:s,altSnapYSize:l,gridType:c,multiGridType:d,multiGridRatio:u,highlightValue:.5}))}},P$o=class extends nei{constructor(t=[],e=[]){let i={};t.forEach(r=>i[r.uuid]=r.display_title||r.title);let o={};e.forEach(r=>o[r.uuid]=r.display_title||r.title),super(o,i,t,e),this.encode=new k$o,this.maxTicket=0,this.blobEncode=new nU,this.blobData=[],this.encodeData="",this.placeholder=0}handleData(t){this.encodeData?this.encodeData=this.encodeData+`|
`+ac(t.dataType,++this.maxTicket,t.id,t.data):this.encodeData=ac(t.dataType,++this.maxTicket,t.id,t.data)}getZIndex(t){let e=t.match(t7e);return e!=null&&e.length?e[1]:null}onPHolder(t,e){let i={dataType:t,max:e};this.handleData({id:`placeholder${++this.placeholder}`,dataType:"ELE_PLACEHOLDER",data:JSON.stringify(i)})}onLayerFill(t,e){this.handleData(this.encode.encodeLayerFill(t,e))}onString(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y){let w=this.getZIndex(t);this.handleData(this.encode.encodeString(Go(t),{partitionId:Go(e),groupId:i,layerId:o,x:r,y:n,text:a,fontFamily:s,fontSize:l,strokeWidth:c,bold:d,italic:u,origin:p,angle:m,reverse:h,expansion:f,mirror:g,locked:b,zIndex:w===null?null:Number(w),specialColor:y}))}onAttr(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M){let I=this.getZIndex(t);I&&T&&(I=I+"."+String(T)),this.handleData(this.encode.encodeAttr(Go(t),{partitionId:Go(e),groupId:i,parentId:Go(o),layerId:r,x:n,y:a,key:s,value:l,keyVisible:c,valueVisible:d,fontFamily:u,fontSize:p,strokeWidth:m,bold:h,italic:f,origin:g,angle:b,reverse:y,expansion:w,mirror:x,locked:S,zIndex:I===null?null:Number(I),specialColor:M}))}onPadNet(t,e,i,o,r){this.handleData(this.encode.encodePadNet({partitionId:Go(e),componentId:Go(t),padNum:i,padNet:o,padId:Go(r),padLen:0}))}onComponent(t,e,i,o,r,n,a,s,l,c){let d=this.getZIndex(t);this.handleData(this.encode.encodeComponent(Go(t),{partitionId:Go(e),groupId:i,layerId:o,x:r,y:n,angle:a,attrs:s,locked:l,zIndex:d===null?null:Number(d),specialColor:c}))}onPanelize(t,e,i,o,r,n,a,s,l,c){this.handleData(this.encode.encodePanelize({on:t,row:e,column:i,rowSpacing:o,columnSpacing:r,onlyOutline:n,horizontalStamp:a,verticalStamp:s,horizontalSize:l,verticalSize:c}))}onRuleSelector(t,e,i,o,r){this.handleData(this.encode.encodeRuleSelector({ruleSelect:t,ruleOrder:e,ruleKeyValue:i,copperValue:o,innerPlaneValue:r}))}onRule(t,e,i,o){this.handleData(this.encode.encodeRule({ruleType:t,ruleName:e,ruleState:i,ruleContext:o}))}onRuleTemplate(t){this.handleData(this.encode.encodeRuleTemplate({name:t}))}onDimension(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeDimension(Go(t),{partitionId:Go(e),type:i,layerId:o,unit:r,strokeWidth:n,precision:a,textFollow:s,coords:l,locked:c,zIndex:m===null?null:Number(m),text:d,specialColor:u,groupId:p}))}onBoss(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeBoss(Go(t),{partitionId:Go(e),groupId:i,layerId:o,centerX:r,centerY:n,specification:a,depth:s,thickness:l,holeDiameter:c,counterBore:d?{height:d[0],diameter:d[1]}:null,stiffener:u?{topWidth:u[0],bottomWidth:u[1],height:u[2],stiffThickness:u[3]}:null,locked:p,zIndex:m===null?null:Number(m)}))}onShellEntity(t,e,i,o,r,n,a,s,l,c,d,u){let p=this.getZIndex(t),m={groupId:i,layerId:o,type:r?"ENTITY":"SLOT",depth:s,strokeWidth:l,path:c,locked:d,zIndex:p===null?null:Number(p),refs:u};m.type==="ENTITY"&&(m.entityBelong=n),m.type==="SLOT"&&(m.slotOptions=a),this.handleData(this.encode.encodeShellEntity(Go(t),m))}onShellCut(t,e,i,o,r,n,a,s,l){let c=this.getZIndex(t);this.handleData(this.encode.encodeShellCut(Go(t),{partitionId:Go(e),groupId:i,layerId:o,depth:r,strokeWidth:n,path:a,locked:s,zIndex:c===null?null:Number(c),refs:l}))}onCrease(t,e,i,o,r,n,a,s,l,c){let d=this.getZIndex(t);this.handleData(this.encode.encodeCrease(Go(t),{partitionId:Go(e),groupId:i,layerId:o,startX:r,startY:n,endX:a,endY:s,angle:l,locked:c,zIndex:d===null?null:Number(d)}))}onShell(t,e,i,o,r,n,a,s,l,c){let d=this.getZIndex(t),u={groupId:i,shellType:o,shellHeight:r,pcbHeight:n,strokeWidth:a,path:s,thickness:l.Thickness,locked:c,zIndex:d===null?null:Number(d)};o==="DRAWER"&&(u.direction=l.Direction),o==="T&B"&&(u.bottomHeight=l.BottomHeight,u.topInnerHeight=l.TopInnerHeight,u.bottomInnerHeight=l.BottomInnerHeight),this.handleData(this.encode.encodeShell(Go(t),u))}onFpcFill(t,e,i,o,r,n,a,s){let l=this.getZIndex(t);this.handleData(this.encode.encodeFpcFill(Go(t),{partitionId:Go(e),groupId:i,layerId:o,material:r,thickness:n,path:a,locked:s,zIndex:l===null?null:Number(l)}))}onTeardrop(t,e,i,o,r,n,a){this.handleData(this.encode.encodeTeardrop(Go(t),{partitionId:Go(e),netName:i,layerId:o,path:r,groupId:n,refs:a,locked:!1}))}onImage(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeImage(Go(t),{partitionId:Go(e),groupId:i,layerId:o,startX:r,startY:n,width:a,height:s,angle:l,mirror:c,path:d,locked:u,zIndex:m===null?null:Number(m),specialColor:p}))}onPoured(t,e){this.handleData(this.encode.encodePoured(Go(t),e))}onPour(t,e,i,o,r,n,a,s,l,c,d,u){let p=this.getZIndex(t);this.handleData(this.encode.encodePour(Go(t),{partitionId:Go(e),groupId:i,netName:o,layerId:r,width:n,name:a,order:s,path:l,pourType:c,keepIsland:d,locked:u,zIndex:p===null?null:Number(p)}))}onRegion(t,e,i,o,r,n,a,s,l,c){let d=this.getZIndex(t);this.handleData(this.encode.encodeRegion(Go(t),{partitionId:Go(e),groupId:i,layerId:o,width:r,prohibitType:n,path:a,locked:s,zIndex:d===null?null:Number(d),name:l,regionType:c}))}onFill(t,e,i,o,r,n,a,s,l,c,d){let u=this.getZIndex(t);this.handleData(this.encode.encodeFill(Go(t),{partitionId:Go(e),groupId:i,netName:o,layerId:r,width:n,fillStyle:a,path:s,locked:l,zIndex:u===null?null:Number(u),isBridgingCopper:!1,networkList:[],refs:c,specialColor:d}))}onPoly(t,e,i,o,r,n,a,s,l){let c=this.getZIndex(t);this.handleData(this.encode.encodePoly(Go(t),{partitionId:Go(e),groupId:i,netName:o,layerId:r,width:n,path:a,locked:s,zIndex:c===null?null:Number(c),specialColor:l,polyType:r==11?"BOARD_OUTLINE":"NORMAL"}))}onEQLenGrp(t,e,i,o){this.handleData(this.encode.encodeEQLenGrp(Go(t),{name:e,sort:i,pads:o}))}onObj(t,e,i,o,r,n,a,s,l,c,d,u,p,m){if(u.startsWith("data:")){let f=m8(u);this.blobData.push(this.blobEncode.buildStr(1,f,{filename:r,content:u})),u=`blob:${f}`}let h=this.getZIndex(t);this.handleData(this.encode.encodeObj(Go(t),{partitionId:Go(e),groupId:i,layerId:o,fileName:r,startX:n,startY:a,width:s,height:l,angle:c,mirror:d,path:u,locked:p,zIndex:h===null?null:Number(h),specialColor:m}))}onArc(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeArc(Go(t),{partitionId:Go(e),groupId:i,netName:o,layerId:r,startX:n,startY:a,endX:s,endY:l,angle:c,width:d,locked:u,zIndex:m===null?null:Number(m),arcType:"DOT",specialColor:p}))}onCArc(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeArc(Go(t),{partitionId:Go(e),groupId:i,netName:o,layerId:r,startX:n,startY:a,endX:s,endY:l,angle:c,width:d,locked:u,zIndex:m===null?null:Number(m),arcType:"CENT",specialColor:p}))}onLine(t,e,i,o,r,n,a,s,l,c,d){let u=this.getZIndex(t);this.handleData(this.encode.encodeLine(Go(t),{partitionId:Go(e),groupId:i,netName:o,layerId:r,startX:n,startY:a,endX:s,endY:l,width:c,locked:d,zIndex:u===null?null:Number(u)}))}onPad(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M,I,A,D){let E=this.getZIndex(t);this.handleData(this.encode.encodePad(Go(t),{partitionId:Go(e),groupId:i,netName:o,layerId:r,num:n,centerX:a,centerY:s,padAngle:l,hole:c,defaultPad:d,specialPad:u,padOffsetX:p,padOffsetY:m,relativeAngle:h,plated:f,padType:g,topSolderExpansion:b,bottomSolderExpansion:y,topPasteExpansion:w,bottomPasteExpansion:x,locked:S,zIndex:E===null?null:Number(E),connectMode:T,spokeSpace:M,spokeWidth:I,spokeAngle:A,unusedInnerLayers:D,padLen:0}))}onVia(t,e,i,o,r,n,a,s,l,c,d,u,p,m){let h=this.getZIndex(t);this.handleData(this.encode.encodeVia(Go(t),{partitionId:Go(e),groupId:i,netName:o,ruleName:r,centerX:n,centerY:a,holeDiameter:s,viaDiameter:l,viaType:c,topSolderExpansion:d,bottomSolderExpansion:u,locked:p,zIndex:h===null?null:Number(h),unusedInnerLayers:m}))}onPreference(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w){this.handleData(this.encode.encodePreference({startTrackWidthFollowLast:t,lastTrackWidth:e,startViaSizeFollowLast:i,lastViaInnerDiameter:o,lastViaDiameter:r,snap:n,routingMode:a,routingCorner:s,removeLoop:l,rotatingObject:c,trackFollow:d,stretchTrackMinCorner:u,preferenceConfig:p,realTimeUpdateUnusedLayers:m,unusedPadRange:h,pushVia:f,pathOptimization4BePushed:g,currentPathOptimization4BePushed:b,removeCircuitsContainingVias:y,removeAntenna:w}))}onSilkOpts(t,e,i){this.handleData(this.encode.encodeSilkOpts(t,{defaultColor:e,baseColor:i}))}onGroup(t,e){this.handleData(this.encode.encodeGroup(t,{groupName:e}))}onPrimitive(t,e,i){this.handleData(this.encode.encodePrimitive(t,{display:e,pick:i}))}onNet(t,e,i,o,r,n,a){this.handleData(this.encode.encodeNet(t,{netType:e,specialColor:i,retLine:o,differentialName:r,isPositiveNet:n,equalLengthGroupName:a}))}onPartition(t,e,i,o){this.handleData(this.encode.encodePartition(Go(t),{name:e,fileUuid:i,path:o}))}onActiveLayer(t){this.handleData(this.encode.encodeActiveLayer({layerId:t}))}onLayerPhys(t,e,i,o,r,n,a){this.handleData(this.encode.encodeLayerPhys(t,{material:e,thickness:i,permittivity:o,lossTangent:r,isKeepIsland:n,zIndex:a}))}onLayer(t,e,i,o,r,n,a,s,l,c){this.handleData(this.encode.encodeLayer(t,{layerType:e,layerName:i,use:o,show:r,locked:n,activeColor:a,activateTransparency:s,inactiveColor:l,inactiveTransparency:c}))}onCanvas(t,e,i,o,r,n,a,s,l,c,d,u){this.handleData(this.encode.encodeCanvas({originX:t,originY:e,unit:i,gridXSize:o,gridYSize:r,snapXSize:n,snapYSize:a,altSnapXSize:s,altSnapYSize:l,gridType:c,multiGridType:d,multiGridRatio:u,highlightValue:.5}))}};function O$o(t,e,i,o,r,n,a=new Date().getTime(),s=String(a),l){var c,d;let u=Sp(),p=e.split(`

`),m=p.filter(b=>!b.startsWith('["DOCTYPE","PCB"')),h=p.filter(b=>b.startsWith('["DOCTYPE","PCB"'))[0],f="";for(let b=0;b<m.length;b++){let y=new Bei;y.parseFull(m[b]);let w=y.metaData;r.push({uuid:w.uuid,title:w.title,dataStr:m[b]});let x=Cb("FOOTPRINT",u,w.uuid,a,s,l);if(x=x+`|
`+ac("META",1,"META",JSON.stringify({source:w.source,version:w.version,title:(c=w==null?void 0:w.title)==null?void 0:c.replace(/[A-Z]+/g,S=>S.toLowerCase()),display_title:w.title,description:w.description||"",custom_tags:w.custom_tags||"",tags:w.tags||{},docType:4})),y.blobData.length&&(x=x+`|
`+y.blobEncode.head({doc:"BLOB",client:u,updateTime:a,version:s,user:l})+`|
`+y.blobData.join(`|
`)),y.fontCache.length){let S=new swe,T=S.head({doc:"FONT",client:Sp(),updateTime:a,version:s,user:l});for(let M of y.fontCache){let I=rU(M.text,M.fontFamily,M.fontSize,M.thickness,M.bold,M.italic,M.reverse,M.expansion),A=S.buildStr(1,I,M);T=T+`|
`+A}x=T+`|
`+x}y.encodeData&&(x=x+`|
`+y.encodeData),f=f?x+`|
`+f:x}let g=new P$o(r,n);f?f=f+`|
`+Cb("PCB",u,t,a,s,l):f=Cb("PCB",u,t,a,s,l),g.parseFull(i.join(`
`));for(let b=0;b<o.length;b++){let y=o[b];g.curPourId=(d=y.path.split("_"))==null?void 0:d[1],g.parseFull(y.dataStr)}if(g.parseFull(h),g.encodeData&&(f=f+`|
`+g.encodeData),g.blobData.length&&(f=f+`|
`+g.blobEncode.head({doc:"BLOB",client:u,updateTime:a,version:s,user:l})+`|
`+g.blobData.join(`|
`)),g.fontCache.length){let b=new swe,y=b.head({doc:"FONT",client:Sp(),updateTime:a,version:s,user:l});for(let w of g.fontCache){let x=rU(w.text,w.fontFamily,w.fontSize,w.thickness,w.bold,w.italic,w.reverse,w.expansion),S=b.buildStr(1,x,w);y=y+`|
`+S}f=y+`|
`+f}return f}function Dht(t,e,i,o=new Date().getTime(),r=String(o),n){let a=new Bei(i),s="",l=Sp();if(s=Cb("FOOTPRINT",l,t,o,r,n),a.parseFull(e),a.encodeData&&(s=s+`|
`+a.encodeData),a.blobData.length&&(s=s+`|
`+a.blobEncode.head({doc:"BLOB",client:l,updateTime:o,version:r,user:n})+`|
`+a.blobData.join(`|
`)),a.fontCache.length){let c=new swe,d=c.head({doc:"FONT",client:l,updateTime:o,version:r,user:n});for(let u of a.fontCache){let p=rU(u.text,u.fontFamily,u.fontSize,u.thickness,u.bold,u.italic,u.reverse,u.expansion),m=c.buildStr(1,p,u);d=d+`|
`+m}s=d+`|
`+s}return s}var Hie=class extends Cwe{canvas(t){let{client:e,ticket:i,data:o,id:r,dataType:n,firstTicket:a,pend:s}=t;return ac(n,i,r,o,e,a,s)}},R$o=class extends Hie{constructor(){super(...arguments),this.doctype="FOOTPRINT"}metaData(t){return{title:t.title,description:t.description,tags:t.tags,source:t.source}}transform(t){let{doc:e,dataStr:i,has_device:o,updateTime:r,version:n,user:a}=t;return Dht(e,i,o,r,n,a)}},_$o=class extends r7e{constructor(){super(...arguments),this.doctype="INSTANCE"}attr(t,e){let i=[];for(let o in e){let r=JSON.stringify(e[o]);i.push(ac("INSTANCE_ATTR",t,o,r))}return i.join(`|
`)}},j$o=class extends Hie{constructor(){super(...arguments),this.doctype="PANEL"}metaData(t){return{title:t.title,zIndex:t.zIndex||null}}transform(t){let{doc:e,dataStr:i,updateTime:o,version:r,user:n}=t;return n7e(e,i,"PANEL",o,r,n)}},B$o=class extends Hie{constructor(){super(...arguments),this.doctype="PCB"}metaData(t){return{title:t.title,parent:t.parent,source:t.source,board:t.board,zIndex:t.zIndex||null}}transform(t){let{doc:e,dataStr:i,fonts:o,coppers:r,footprints:n,devices:a,updateTime:s,version:l,user:c}=t;return O$o(e,i,o,r,n,a,s,l,c)}},z$o=class extends Cwe{constructor(){super(...arguments),this.doctype="SCH"}metaData(t){return{title:t.title,source:t.source,board:t.board,zIndex:t.zIndex||null}}sort(t){let{doc:e,client:i,ticket:o,data:r}=t,n=typeof r=="string"?r:JSON.stringify(r);return ac("META_SORT",o,"META_SORT",n)}},F$o=class{constructor(){}encodeNGSetting(t){return{id:"NG_SETTING",dataType:"NG_SETTING",data:JSON.stringify(t)}}encodeCanvas(t){return{id:"CANVAS",dataType:"CANVAS",data:JSON.stringify(t)}}encodeAttr(t,e){return{id:t,dataType:"ATTR",data:JSON.stringify(e)}}encodeTable(t,e){return{id:t,dataType:"TABLE",data:JSON.stringify(e)}}encodeEllipse(t,e){return{id:t,dataType:"ELLIPSE",data:JSON.stringify(e)}}encodeComponent(t,e){return{id:t,dataType:"COMPONENT",data:JSON.stringify(e)}}encodeObj(t,e){return{id:t,dataType:"OBJ",data:JSON.stringify(e)}}encodePin(t,e){return{id:t,dataType:"PIN",data:JSON.stringify(e)}}encodeRect(t,e){return{id:t,dataType:"RECT",data:JSON.stringify(e)}}encodeMaskRegion(t,e){return{id:t,dataType:"MASK_REGION",data:JSON.stringify(e)}}encodeArc(t,e){return{id:t,dataType:"ARC",data:JSON.stringify(e)}}encodeCircle(t,e){return{id:t,dataType:"CIRCLE",data:JSON.stringify(e)}}encodePoly(t,e){return{id:t,dataType:"POLY",data:JSON.stringify(e)}}encodeText(t,e){return{id:t,dataType:"TEXT",data:JSON.stringify(e)}}encodeBezier(t,e){return{id:t,dataType:"BEZIER",data:JSON.stringify(e)}}encodeGroup(t,e){return{id:t,dataType:"GROUP",data:JSON.stringify(e)}}encodeLine(t,e){return{id:t,dataType:"LINE",data:JSON.stringify(e)}}encodeBus(t,e){return{id:t,dataType:"BUS",data:JSON.stringify(e)}}encodeWire(t,e){return{id:t,dataType:"WIRE",data:JSON.stringify(e)}}},U$o=class{constructor(){}encodePart(t,e){return{id:t,dataType:"PART",data:JSON.stringify(e)}}encodeCanvas(t){return{id:"CANVAS",dataType:"CANVAS",data:JSON.stringify(t)}}encodeAttr(t,e){return{id:t,dataType:"ATTR",data:JSON.stringify(e)}}encodeTable(t,e){return{id:t,dataType:"TABLE",data:JSON.stringify(e)}}encodeEllipse(t,e){return{id:t,dataType:"ELLIPSE",data:JSON.stringify(e)}}encodeObj(t,e){return{id:t,dataType:"OBJ",data:JSON.stringify(e)}}encodePin(t,e){return{id:t,dataType:"PIN",data:JSON.stringify(e)}}encodeRect(t,e){return{id:t,dataType:"RECT",data:JSON.stringify(e)}}encodeArc(t,e){return{id:t,dataType:"ARC",data:JSON.stringify(e)}}encodeCircle(t,e){return{id:t,dataType:"CIRCLE",data:JSON.stringify(e)}}encodePoly(t,e){return{id:t,dataType:"POLY",data:JSON.stringify(e)}}encodeText(t,e){return{id:t,dataType:"TEXT",data:JSON.stringify(e)}}encodeBezier(t,e){return{id:t,dataType:"BEZIER",data:JSON.stringify(e)}}encodeGroup(t,e){return{id:t,dataType:"GROUP",data:JSON.stringify(e)}}},V$o=class extends _ei{constructor(){super(),this.encode=new U$o,this.maxTicket=0,this.blobEncode=new nU,this.blobData=[],this.encodeData="",this.placeholder=0}handleData(t){this.encodeData?this.encodeData=this.encodeData+`|
`+ac(t.dataType,++this.maxTicket,t.id,t.data):this.encodeData=ac(t.dataType,++this.maxTicket,t.id,t.data)}onPHolder(t,e){let i={dataType:t,max:e};this.handleData({id:`placeholder${++this.placeholder}`,dataType:"ELE_PLACEHOLDER",data:JSON.stringify(i)})}onPart(t,e){this.handleData(this.encode.encodePart(t,e||{}))}onAttr(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x){this.handleData(this.encode.encodeAttr(Go(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),parentId:r,key:n,value:a,keyVisible:s,valueVisible:l,x:c,y:Du(d),rotation:u,color:p,fillColor:m,fontFamily:h,fontSize:f,strikeout:g,underline:b,italic:y,fontWeight:w,align:x,version:"2.0"}))}onTable(t,e,i,o,r,n,a,s,l,c,d){this.handleData(this.encode.encodeTable(Go(t),{partId:e,groupId:i,startX:o,startY:Du(r),rowSizes:n,colSizes:a,rowLocked:s,colLocked:l,rotation:c,tableCell:d,zIndex:this.getZIndex(t)}))}onEllipse(t,e,i,o,r,n,a,s,l,c,d,u,p,m){this.handleData(this.encode.encodeEllipse(Go(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),centerX:r,centerY:Du(n),radiusX:a,radiusY:Du(s),rotation:l,strokeColor:c,strokeStyle:d,fillColor:u,strokeWidth:p,fillStyle:m}))}onComponent(){}onObj(t,e,i,o,r,n,a,s,l,c,d,u){if(u.startsWith("data:")){let p=m8(u);this.blobData.push(this.blobEncode.buildStr(1,p,{filename:"",content:u})),u=`blob:${p}`}this.handleData(this.encode.encodeObj(Go(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),fileName:r,startX:n,startY:Du(a),width:s,height:l,rotation:c,isMirror:d,content:u}))}onPin(t,e,i,o,r,n,a,s,l,c,d,u){this.handleData(this.encode.encodePin(Go(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),display:r,x:a,y:Du(s),length:l,rotation:c,color:d,pinShape:u}))}onRect(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f){this.handleData(this.encode.encodeRect(Go(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),dotX1:r,dotY1:Du(n),dotX2:a,dotY2:Du(s),radiusX:l,radiusY:c,rotation:d,strokeColor:u,strokeStyle:p,fillColor:m,strokeWidth:h,fillStyle:f}))}onArc(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h){this.handleData(this.encode.encodeArc(Go(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),startX:r,startY:Du(n),referX:a,referY:Du(s),endX:l,endY:Du(c),strokeColor:d,strokeStyle:u,fillColor:p,strokeWidth:m,fillStyle:h}))}onCircle(t,e,i,o,r,n,a,s,l,c,d,u){this.handleData(this.encode.encodeCircle(Go(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),centerX:r,centerY:Du(n),radius:a,strokeColor:s,strokeStyle:l,fillColor:c,strokeWidth:d,fillStyle:u}))}onPoly(t,e,i,o,r,n,a,s,l,c,d){this.handleData(this.encode.encodePoly(Go(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),points:$$t(r,!0),closed:n,strokeColor:a,strokeStyle:s,fillColor:l,strokeWidth:c,fillStyle:d}))}onText(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g){this.handleData(this.encode.encodeText(Go(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),x:r,y:Du(n),rotation:a,value:s,color:l,fillColor:c,fontFamily:d,fontSize:u,strikeout:p,underline:m,italic:h,fontWeight:f,align:g,version:"2.0"}))}onCanvas(t){this.handleData(this.encode.encodeCanvas({originX:t.originX,originY:Du(t.originY)}))}onBezier(t,e,i,o,r,n,a,s,l,c){this.handleData(this.encode.encodeBezier(Go(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),controls:r,strokeColor:n,strokeStyle:a,fillColor:s,strokeWidth:l,fillStyle:c}))}onGroup(t,e,i){this.handleData(this.encode.encodeGroup(String(t),{parentId:e,title:i}))}onBus(){}onWire(){}},H$o=class extends _ei{constructor(t,e=[]){super(t,e),this.encode=new F$o,this.maxTicket=0,this.blobEncode=new nU,this.blobData=[],this.encodeData="",this.placeholder=0}handleData(t){this.encodeData?this.encodeData=this.encodeData+`|
`+ac(t.dataType,++this.maxTicket,t.id,t.data):this.encodeData=ac(t.dataType,++this.maxTicket,t.id,t.data)}onPHolder(t,e){let i={dataType:t,max:e};this.handleData({id:`placeholder${++this.placeholder}`,dataType:"ELE_PLACEHOLDER",data:JSON.stringify(i)})}onPart(t,e){}onAttr(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x){this.handleData(this.encode.encodeAttr(Go(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),parentId:Go(r),key:n,value:a,keyVisible:s,valueVisible:l,x:c,y:Du(d),rotation:u,color:p,fillColor:m,fontFamily:h,fontSize:f,strikeout:g,underline:b,italic:y,fontWeight:w,align:x,version:"2.0"}))}onTableCell(t,e,i,o,r,n,a,s,l,c,d,u,p,m){}onTable(t,e,i,o,r,n,a,s,l,c,d){this.handleData(this.encode.encodeTable(Go(t),{groupId:i,startX:o,startY:Du(r),rowSizes:n,colSizes:a,rowLocked:s,colLocked:l,rotation:c,tableCell:d,zIndex:this.getZIndex(t)}))}onEllipse(t,e,i,o,r,n,a,s,l,c,d,u,p,m){this.handleData(this.encode.encodeEllipse(Go(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),centerX:r,centerY:Du(n),radiusX:a,radiusY:s,rotation:l,strokeColor:c,strokeStyle:d,fillColor:u,strokeWidth:p,fillStyle:m}))}onComponent(t,e,i,o,r,n,a,s,l){this.handleData(this.encode.encodeComponent(Go(t),{locked:e,zIndex:this.getZIndex(t),partId:i,groupId:o,x:r,y:Du(n),rotation:a,isMirror:s,attrs:l||{}}))}onObj(t,e,i,o,r,n,a,s,l,c,d,u){if(u.startsWith("data:")){let p=m8(u);this.blobData.push(this.blobEncode.buildStr(1,p,{filename:"",content:u})),u=`blob:${p}`}this.handleData(this.encode.encodeObj(Go(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),fileName:r,startX:n,startY:Du(a),width:s,height:l,rotation:c,isMirror:d,content:u}))}onPin(t,e,i,o,r,n,a,s,l,c,d,u){this.handleData(this.encode.encodePin(Go(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),display:r,x:a,y:Du(s),length:l,rotation:c,color:d,pinShape:u}))}onRect(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f){this.handleData(this.encode.encodeRect(Go(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),dotX1:r,dotY1:Du(n),dotX2:a,dotY2:Du(s),radiusX:l,radiusY:c,rotation:d,strokeColor:u,strokeStyle:p,fillColor:m,strokeWidth:h,fillStyle:f}))}onArc(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h){this.handleData(this.encode.encodeArc(Go(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),startX:r,startY:Du(n),referX:a,referY:Du(s),endX:l,endY:Du(c),strokeColor:d,strokeStyle:u,fillColor:p,strokeWidth:m,fillStyle:h}))}onCircle(t,e,i,o,r,n,a,s,l,c,d,u){this.handleData(this.encode.encodeCircle(Go(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),centerX:r,centerY:Du(n),radius:a,strokeColor:s,strokeStyle:l,fillColor:c,strokeWidth:d,fillStyle:u}))}onPoly(t,e,i,o,r,n,a,s,l,c,d){this.handleData(this.encode.encodePoly(Go(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),points:$$t(r,!0),closed:n,strokeColor:a,strokeStyle:s,fillColor:l,strokeWidth:c,fillStyle:d}))}onText(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g){this.handleData(this.encode.encodeText(Go(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),x:r,y:Du(n),rotation:a,value:s,color:l,fillColor:c,fontFamily:d,fontSize:u,strikeout:p,underline:m,italic:h,fontWeight:f,align:g,version:"2.0"}))}onCanvas(t){this.handleData(this.encode.encodeCanvas({originX:t.originX,originY:Du(t.originY)}))}onBezier(t,e,i,o,r,n,a,s,l,c){this.handleData(this.encode.encodeBezier(Go(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),controls:r,strokeColor:n,strokeStyle:a,fillColor:s,strokeWidth:l,fillStyle:c}))}onGroup(t,e,i){this.handleData(this.encode.encodeGroup(String(t),{parentId:e,title:i}))}onBus(t,e,i,o,r,n,a,s,l,c,d){let u=Go(t),p=vXt(r,{strokeColor:n,strokeStyle:a,fillColor:s,strokeWidth:l,fillStyle:c},u);this.handleData(this.encode.encodeBus(u,{groupId:i,locked:o,zIndex:this.getZIndex(t),busEntry:d}));for(let m of p)this.handleData(this.encode.encodeLine(Sp(),m))}onWire(t,e,i,o,r,n,a,s,l,c){let d=Go(t),u=vXt(r,{strokeColor:n,strokeStyle:a,fillColor:s,strokeWidth:l,fillStyle:c},d);this.handleData(this.encode.encodeWire(d,{groupId:i,locked:o,zIndex:this.getZIndex(t)}));for(let p of u)this.handleData(this.encode.encodeLine(Sp(),p))}};function G$o(t,e,i,o=[],r=new Date().getTime(),n=String(r),a){let s=new H$o(i,o),l="";s.parseFull(e);let c=Sp();return s.encodeData&&(l=Cb("SCH_PAGE",c,t,r,n,a)+`|
`+s.encodeData),l&&s.blobData.length&&(l=l+`|
`+s.blobEncode.head({doc:"BLOB",client:c,updateTime:r,version:n,user:a})+`|
`+s.blobData.join(`|
`)),l}function Eht(t,e,i=new Date().getTime(),o=String(i),r){let n=new V$o,a="";n.parseFull(e);let s=Sp();n.encodeData&&(a=Cb("SYMBOL",s,t,i,o,r)+`|
`+n.encodeData),a&&n.blobData.length&&(a=a+`|
`+n.blobEncode.head({doc:"BLOB",client:s,updateTime:i,version:o,user:r})+`|
`+n.blobData.join(`|
`));let l=n.partIdMap;return n.partIdMap={},{dataStr:a,partIdMap:l}}var Y$o=class extends Hie{constructor(){super(...arguments),this.doctype="SCH_PAGE"}metaData(t){return{title:t.title,schematic:t.schematic,source:t.source,zIndex:t.zIndex}}transform(t){let{doc:e,dataStr:i,partIdMap:o,device:r,updateTime:n,version:a,user:s}=t;return G$o(e,i,o,r,n,a,s)}},W$o=class extends Hie{constructor(){super(...arguments),this.doctype="SYMBOL"}metaData(t){return{title:t.title,description:t.description,tags:t.tags,docType:t.docType,source:t.source}}transform(t,e={}){let{doc:i,dataStr:o,updateTime:r,version:n,user:a}=t,s=Eht(i,o,r,n,a);return Object.assign(e,s.partIdMap||{}),s.dataStr}},swe=class extends r7e{constructor(){super(...arguments),this.doctype="FONT"}buildStr(t,e,i){let o=typeof i=="string"?i:JSON.stringify(this.buildData(i));return ac("FONT",t,e,o)}buildData(t){return{width:t.width,height:t.height,path:t.path}}},Q$o=class extends Hie{constructor(){super(...arguments),this.doctype="PANEL_LIB"}metaData(t){return{title:t.display_title||t.title,tags:t.tags,description:t.description||""}}transform(t){let{doc:e,dataStr:i}=t;return n7e(e,i,"PANEL_LIB")}},K$o=class extends Hie{constructor(){super(...arguments),this.doctype="SIMULATION"}metaData(t){return{title:t.title,docType:t.docType,source:t.source,zIndex:t.zIndex}}},INe=class{constructor(){this.blob=new nU,this.font=new swe,this.board=new E$o,this.config=new A$o,this.device=new N$o,this.footprint=new R$o,this.panel=new j$o,this.pcb=new B$o,this.schematic=new z$o,this.sheet=new Y$o,this.symbol=new W$o,this.instance=new _$o,this.panelLib=new Q$o,this.simulation=new K$o}},Z$o=class extends v$o{constructor(){super(),this.encode=new D$o,this.maxTicket=0,this.blobEncode=new nU,this.blobData=[],this.encodeData="",this.placeholder=0}handleData(t){this.encodeData?this.encodeData=this.encodeData+`|
`+ac(t.dataType,++this.maxTicket,t.id,t.data):this.encodeData=ac(t.dataType,++this.maxTicket,t.id,t.data)}onPHolder(t,e){let i={dataType:t,max:e};this.handleData({id:`placeholder${++this.placeholder}`,dataType:"ELE_PLACEHOLDER",data:JSON.stringify(i)})}strokeStyleType(t){switch(t=t&&Number(t),t){case 0:return"SOLID";case 1:return"SHORT_DASH";case 2:return"DOT";case 3:return"DOT_DASH";default:return null}}transScopeType(t){switch(t=t&&Number(t),t){case 1:return"PRINT";case 2:return"COVER";case 3:return"PRINT&COVER";default:return null}}transAlignType(t){switch(t=t&&Number(t),t){case 0:return"LEFT_BOTTOM";case 1:return"CENTER_BOTTOM";case 2:return"RIGHT_BOTTOM";case 3:return"LEFT_MIDDLE";case 4:return"CENTER_MIDDLE";case 5:return"RIGHT_MIDDLE";case 6:return"LEFT_TOP";case 7:return"CENTER_TOP";case 8:return"RIGHT_TOP";default:return null}}onAuxLine(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w){this.handleData(this.encode.encodeAuxLine(Go(t),{groupId:e?`e${e}`:"",layer:i,x:o,y:r,rotation:n,strokeWidth:a,strokeStyle:this.strokeStyleType(s),color:l,length:c,locked:d,zIndex:this.getZIndex(t),visible:!p,cover:m,name:h}))}onDimension(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b){this.handleData(this.encode.encodeDimension(Go(t),{layer:e,dimensionType:i,unit:o,strokeWidth:r,accuracy:n,controlDot:a,relationIds:s,locked:l,zIndex:this.getZIndex(t),valid:!c,visible:!d,cover:u,name:p,rotation:0}))}onString(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M,I){this.handleData(this.encode.encodeString(Go(t),{groupId:e?`e${e}`:"",layer:i,rotation:o,value:r,fontFamily:n,fontSize:a,fontWeight:s,italic:l,underline:c,strikeout:d,align:this.transAlignType(u),strokeColor:p,opacity:m,locked:h,zIndex:this.getZIndex(t),valid:!f,visible:!g,cover:b,transScope:this.transScopeType(w),transPrint:x,transWhite:S,matrix:T,strokes:M,path:I,name:y}))}onPoly(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S){if(typeof s=="string"&&s.startsWith("data:")){let T=m8(s);this.blobData.push(this.blobEncode.buildStr(1,T,{filename:"",content:s})),s=`blob:${T}`}this.handleData(this.encode.encodePoly(Go(t),{groupId:e?`e${e}`:"",layer:i,rotation:o,strokeWidth:r,strokeStyle:this.strokeStyleType(n),strokeColor:a,fillColor:s,opacity:l,autoClose:c,ploys:d,displayFill:u,displayStroke:p,locked:m,zIndex:this.getZIndex(t),valid:!h,visible:!f,cover:g,transScope:this.transScopeType(y),transPrint:w,transWhite:x,matrix:S,name:b}))}onGroup(t,e,i,o,r){this.handleData(this.encode.encodeGroup(`e${t}`,{parentId:e?`e${e}`:"",title:i,visible:o,locked:r}))}onCanvas(t){this.handleData(this.encode.encodeCanvas(t))}};function n7e(t,e,i,o=new Date().getTime(),r=String(o),n){let a=new Z$o,s="";a.parseFull(e);let l=Sp();return a.encodeData&&(s=Cb(i,l,t,o,r,n)+`|
`+a.encodeData),s&&a.blobData.length&&(s=s+`|
`+a.blobEncode.head({doc:"BLOB",client:l,updateTime:o,version:r,user:n})+`|
`+a.blobData.join(`|
`)),s}var zei=class extends HJo{constructor(t){let e=t||new X$t;super(e,0,ZZo),this.cacheNum=null}onParseLine(t,e,i,o,r,n,a){switch(this.setOrderNum(t,a,e),this.cacheNum=a,e){case"MAX_NUM":if(i)for(let l in i)this.setMaxNum(l,i[l]);break;case"BLOB":i?this.onBlob(t,o,r,i,n):this.onDelBlob(t,o,r,n);break;case"FONT":this.parseFont(t,i,o,r,n);break;case"META":i&&this.parseDetail(i,o,r,n);break;case"ELE_PLACEHOLDER":break;case"CANVAS":i&&this.parseCanvas(i,o,r,n);break;case"BOARD":i?this.parseBoard(i,o,r,n):this.onDelBoard(o,r,n);break;case"LAYER":{let l=$Q(t);i?this.parseLayer(l,i,o,r,n):this.onDelLayer(l,o,r,n);break}case"LAYER_PHYS":{let l=$Q(t);i?this.parseLayerPhys(l,i,o,r,n):this.onDelLayerPhys(l,o,r,n);break}case"ACTIVE_LAYER":i&&this.parseActiveLayer(t,i,o,r,n);break;case"PARTITION":i?this.parsePartition(t,i,o,r,n):this.onDelPartition(t,o,r,n);break;case"NET":{let l=$Q(t);i?this.parseNet(l,i,o,r,n):this.onDelNet(l,o,r,n);break}case"PRIMITIVE":{let l=$Q(t);i?this.parsePrimitive(l,i,o,r,n):this.onDelPrimitive(l,o,r,n);break}case"GROUP":i?this.parseGroup(t,i,o,r,n):this.onDelGroup(t,o,r,n);break;case"X_SIGNAL_GROUP":i?this.parseXSignalsGroup(t,i,o,r,n):this.onDelXSignalsGroup(t,o,r,n);break;case"X_SIGNALS":i?this.parseXSignals(t,i,o,r,n):this.onDelXSignals(t,o,r,n);break;case"SILK_OPTS":{let l=$Q(t);i?this.parseSilkOpts(l,i,o,r,n):this.onDelSilkOpts(l,o,r,n);break}case"PREFERENCE":i&&this.parsePreference(t,i,o,r,n);break;case"VIA":i?this.parseVia(t,i,o,r,n):this.onDelVia(t,o,r,n);break;case"PAD":i?this.parsePad(t,i,o,r,n):this.onDelPad(t,o,r,n);break;case"LINE":i?this.parseLine(t,i,o,r,n):this.onDelLine(t,o,r,n);break;case"ARC":i?this.parseArc(t,i,o,r,n):this.onDelArc(t,o,r,n);break;case"OBJ":i?this.parseObj(t,i,o,r,n):this.onDelObj(t,o,r,n);break;case"EQLEN_GRP":i?this.parseEQLenGrp(t,i,o,r,n):this.onDelEQLenGrp(t,o,r,n);break;case"POLY":i?this.parsePoly(t,i,o,r,n):this.onDelPoly(t,o,r,n);break;case"FILL":i?this.parseFill(t,i,o,r,n):this.onDelFill(t,o,r,n);break;case"LAYER_FILL":let s=$Q(t);i?this.parseLayerFill(s,i,o,r,n):this.onDelLayerFill(s,o,r,n);break;case"REGION":i?this.parseRegion(t,i,o,r,n):this.onDelRegion(t,o,r,n);break;case"POUR":i?this.parsePour(t,i,o,r,n):this.onDelPour(t,o,r,n);break;case"POURED":{t=$Q(t),i?this.parsePoured(t,i,o,r,n):this.onDelPoured(t,o,r,n);break}case"IMAGE":i?this.parseImage(t,i,o,r,n):this.onDelImage(t,o,r,n);break;case"TEARDROP":i?this.parseTeardrop(t,i,o,r,n):this.onDelTeardrop(t,o,r,n);break;case"FPC_FILL":i?this.parseFpcFill(t,i,o,r,n):this.onDelFpcFill(t,o,r,n);break;case"SHELL":i?this.parseShell(t,i,o,r,n):this.onDelShell(t,o,r,n);break;case"CREASE":i?this.parseCrease(t,i,o,r,n):this.onDelCrease(t,o,r,n);break;case"SHELLCUT":i?this.parseShellCut(t,i,o,r,n):this.onDelShellCut(t,o,r,n);break;case"SHELL_ENTITY":i?this.parseShellEntity(t,i,o,r,n):this.onDelShellEntity(t,o,r,n);break;case"BOSS":i?this.parseBoss(t,i,o,r,n):this.onDelBoss(t,o,r,n);break;case"STRING":i?this.parseString(t,i,o,r,n):this.onDelString(t,o,r,n);break;case"ATTR":i?this.parseAttr(t,i,o,r,n):this.onDelAttr(t,o,r,n);break;case"DIMENSION":i?this.parseDimension(t,i,o,r,n):this.onDelDimension(t,o,r,n);break;case"COMPONENT":i?this.parseComponent(t,i,o,r,n):this.onDelComponent(t,o,r,n);break;case"PAD_NET":{let l=JSON.parse(t);i?(i.componentId=l[1],i.padNum=l[2],i.padId=l[3],this.parsePadNet(i,o,r,n)):this.onDelPadNet(l[1],l[2],l[3]||"",o,r,n);break}case"RULE_TEMPLATE":i&&this.parseRuleTemplate(t,i,o,r,n);break;case"RULE":{let l=JSON.parse(t);i?(i.ruleType=l[1],i.ruleName=l[2],this.parseRule(i,o,r,n)):this.onDelRule(l[1],l[2],o,r,n);break}case"RULE_SELECTOR":{let l=JSON.parse(t);i?(i.ruleSelect=l[1],this.parseRuleSelector(i,o,r,n)):this.onDelRuleSelector(l[1],o,r,n);break}case"PANELIZE":i?this.parsePanelize(t,i,o,r,n):this.onDelPanelize(o,r,n);break;default:console.warn("can not find hanlder with",i,o,r)}this.cacheNum=null}onOrderNum(t,e,i){switch(this.setOrderNum(t,i,e),e){case"PARTITION":this.onPartitionNum&&this.onPartitionNum(t,i);break;case"VIA":this.onViaNum&&this.onViaNum(t,i);break;case"PAD":this.onPadNum&&this.onPadNum(t,i);break;case"LINE":this.onLineNum&&this.onLineNum(t,i);break;case"ARC":this.onArcNum&&this.onArcNum(t,i);break;case"OBJ":this.onObjNum&&this.onObjNum(t,i);break;case"POLY":this.onPolyNum&&this.onPolyNum(t,i);break;case"FILL":this.onFillNum&&this.onFillNum(t,i);break;case"REGION":this.onRegionNum&&this.onRegionNum(t,i);break;case"POUR":this.onPourNum&&this.onPourNum(t,i);break;case"POURED":let o=$Q(t);this.onPouredNum&&this.onPouredNum(o,i);break;case"IMAGE":this.onImageNum&&this.onImageNum(t,i);break;case"TEARDROP":this.onTeardropNum&&this.onTeardropNum(t,i);break;case"FPC_FILL":this.onFpcFillNum&&this.onFpcFillNum(t,i);break;case"SHELL":this.onShellNum&&this.onShellNum(t,i);break;case"CREASE":this.onCreaseNum&&this.onCreaseNum(t,i);break;case"SHELLCUT":this.onShellCutNum&&this.onShellCutNum(t,i);break;case"SHELL_ENTITY":this.onShellEntityNum&&this.onShellEntityNum(t,i);break;case"BOSS":this.onBossNum&&this.onBossNum(t,i);break;case"STRING":this.onStringNum&&this.onStringNum(t,i);break;case"ATTR":this.onAttrNum&&this.onAttrNum(t,i);break;case"DIMENSION":this.onDimensionNum&&this.onDimensionNum(t,i);break;case"COMPONENT":this.onComponentNum&&this.onComponentNum(t,i);break}}onParseEnd(){}parseCanvas(t,e,i,o){this.onCanvas(e,i,t,o)}parseBoard(t,e,i,o){this.onBoard(t,e,i,o)}parseDetail(t,e,i,o){this.onDocDetail(e,i,t,o)}parseFont(t,e,i,o,r){let n=tei(t);e?this.onFont(i,o,Object.assign(e,n),r):this.onDelFont(n,i,o,r)}parseLayer(t,e,i,o,r){this.onLayer(t,i,o,e,r)}parseLayerPhys(t,e,i,o,r){this.onLayerPhys(t,i,o,e,r)}parseActiveLayer(t,e,i,o,r){this.onActiveLayer(i,o,e,r)}parsePartition(t,e,i,o,r){this.onPartition(t,this.cacheNum,i,o,e,r)}parseNet(t,e,i,o,r){this.onNet(t,i,o,e,r)}parsePrimitive(t,e,i,o,r){this.onPrimitive(t,i,o,e,r)}parseGroup(t,e,i,o,r){this.onGroup(t,i,o,e,r)}parseXSignalsGroup(t,e,i,o,r){this.onXSignalsGroup(t,e,i,o,r)}parseXSignals(t,e,i,o,r){this.onXSignals(t,e,i,o,r)}parseSilkOpts(t,e,i,o,r){this.onSilkOpts(t,i,o,e,r)}parsePreference(t,e,i,o,r){this.onPreference(i,o,e,r)}parseVia(t,e,i,o,r){this.onVia(t,this.cacheNum,i,o,e,r)}parsePad(t,e,i,o,r){this.onPad(t,this.cacheNum,i,o,e,r)}parseLine(t,e,i,o,r){this.onLine(t,this.cacheNum,i,o,e,r)}parseArc(t,e,i,o,r){this.onArc(t,this.cacheNum,i,o,e,r)}parseObj(t,e,i,o,r){this.onObj(t,this.cacheNum,i,o,e,r)}parseEQLenGrp(t,e,i,o,r){this.onEQLenGrp(t,i,o,e,r)}parsePoly(t,e,i,o,r){this.onPoly(t,this.cacheNum,i,o,e,r)}parseFill(t,e,i,o,r){e.fillStyle!=="PLANE"&&this.onFill(t,this.cacheNum,i,o,e,r)}parseLayerFill(t,e,i,o,r){this.onLayerFill(t,i,o,e,r)}parseRegion(t,e,i,o,r){this.onRegion(t,this.cacheNum,i,o,e,r)}parsePour(t,e,i,o,r){this.onPour(t,this.cacheNum,i,o,e,r)}parsePoured(t,e,i,o,r){let n=e;Array.isArray(e)&&(n={pourFill:e}),n.pourFill&&this.onPoured(t,this.cacheNum,i,o,n,r)}parseImage(t,e,i,o,r){this.onImage(t,this.cacheNum,i,o,e,r)}parseTeardrop(t,e,i,o,r){this.onTeardrop(t,this.cacheNum,i,o,e,r)}parseFpcFill(t,e,i,o,r){this.onFpcFill(t,this.cacheNum,i,o,e,r)}parseShell(t,e,i,o,r){this.onShell(t,this.cacheNum,i,o,e,r)}parseCrease(t,e,i,o,r){this.onCrease(t,this.cacheNum,i,o,e,r)}parseShellCut(t,e,i,o,r){this.onShellCut(t,this.cacheNum,i,o,e,r)}parseShellEntity(t,e,i,o,r){this.onShellEntity(t,this.cacheNum,i,o,e,r)}parseBoss(t,e,i,o,r){this.onBoss(t,this.cacheNum,i,o,e,r)}parseDimension(t,e,i,o,r){this.onDimension(t,this.cacheNum,i,o,e,r)}parseRuleTemplate(t,e,i,o,r){this.onRuleTemplate(i,o,e,r)}parseRule(t,e,i,o){this.onRule(e,i,t,o)}parseRuleSelector(t,e,i,o){if(t.ruleKeyValue&&(t.ruleKeyValue=mde(t.ruleKeyValue)),t.copperValue&&t.copperValue.hasOwnProperty("7")){let r=t.copperValue[7];delete t.copperValue[7],t.copperValue.COPPER=r}if(t.innerPlaneValue&&t.innerPlaneValue.hasOwnProperty("6")){let r=t.innerPlaneValue[6];delete t.innerPlaneValue[6],t.innerPlaneValue.PLANE=r}this.onRuleSelector(e,i,t,o)}parsePanelize(t,e,i,o,r){this.onPanelize(i,o,e,r)}parseComponent(t,e,i,o,r){this.onComponent(t,this.cacheNum,i,o,e,r)}parsePadNet(t,e,i,o){this.onPadNet(e,i,t,o)}parseAttr(t,e,i,o,r){this.onAttr(t,this.cacheNum,i,o,e,r)}parseString(t,e,i,o,r){this.onString(t,this.cacheNum,i,o,e,r)}},J$o=(t=>(t.UNIVERSAL="UNIVERSAL",t))(J$o||{}),q$o=(t=>(t.SINGLE="SINGLE",t.MULTIPLE="MULTIPLE",t))(q$o||{}),X$o=(t=>(t.NONE="NONE",t.NAME="NAME",t.NUMBER="NUMBER",t))(X$o||{}),$$o=(t=>(t.NONE="NONE",t.ZONE="ZONE",t))($$o||{}),eer=Rde(hwe());function lwe(){return self.EDITOR_TOP||self}function Dde(t){return self[t]=self[t]||new eer.BroadcastChannelMessageBus(t)}var Nie=(t,e)=>{let i=/{([^}]*)}/gim,o=[...new Set(t.match(i))];for(let r=0;r<o.length;r++){let n=o[r],a=n.substring(1,n.length-1);e[a]&&(t=t.replace(n,e[a]))}return t},ter=Rde(hwe()),E0={getTime:"/pro-mgr/serverTime/now",getUserL:"/pro-ui/loginUser/get",subMaxTick:"/pro-mgr/project/ticket",subBlob:"/pro-mgr/canvas/BLOB/update",subFont:"/pro-mgr/canvas/FONT/update",subRevoke:"/pro-mgr/{uuid}/revoke",pushPend:"/pro-mgr/worker/batchPendData",pushSync:"/pro-mgr/dataWorker/sync",pushRevoke:"/pro-mgr/worker/revoke",pullASync:"/pro-mgr/dataWorker/sync/{id}",personDestroy:"/mgr/libWorker/destroy",projectUpdate:"/pro-mgr/canvas/{uuid}/update",personUpdate:"/mgr/libWorker/component/{uuid}/update",personSave:"/mgr/libWorker/save",projectSave:"/mgr/projectWorker/setCanvas",canSavePend:"/mgr/projectWorker/canSavePend",hasSaveData:"/mgr/check/hasSaveData"},ier={projectUpdate:E0.projectUpdate,personUpdate:E0.personUpdate,projectCanSave:E0.canSavePend,getProject:"/mgr/projectWorker/footprint/getCanvas",getPerson:"/mgr/libWorker/getFootprint",unwatch:"/mgr/projectWorker/footprint/unwatchCanvas"},oer={projectUpdate:E0.projectUpdate,projectCanSave:E0.canSavePend,getProject:"/mgr/projectWorker/pcb/getCanvas",unwatch:"/mgr/projectWorker/pcb/unwatchCanvas"},r2n={projectUpdate:E0.projectUpdate,projectCanSave:E0.canSavePend,getProject:"/mgr/projectWorker/sheet/getCanvas",unwatch:"/mgr/projectWorker/sheet/unwatchCanvas"},n2n={projectUpdate:E0.projectUpdate,getProject:"/mgr/projectWorker/schematic/getCanvas",unwatch:"/mgr/projectWorker/schematic/unwatchCanvas"},a2n={projectUpdate:E0.projectUpdate,projectCanSave:E0.canSavePend,getProject:"/mgr/projectWorker/simulation/getCanvas",unwatch:"/mgr/projectWorker/simulation/unwatchCanvas"},s2n={projectUpdate:E0.projectUpdate,personUpdate:E0.personUpdate,projectCanSave:E0.canSavePend,getProject:"/mgr/projectWorker/symbol/getCanvasOnCompiler",getPerson:"/mgr/libWorker/getSymbol",unwatch:"/mgr/projectWorker/symbol/unwatchCanvas"},l2n={projectUpdate:E0.projectUpdate,personUpdate:E0.personUpdate,projectCanSave:E0.canSavePend,getProject:"/mgr/projectWorker/panel/getCanvas",getPerson:"/mgr/libWorker/getPanelLib",unwatch:"/mgr/projectWorker/panel/unwatchCanvas"},M6={send:"/pro-mgr/notify/send",sendMsg:"/document/sendMsg/cooperation",unwatch:"/document/unwatch/cooperation",watch:"/document/watch/cooperation",message:"/pro-mgr/notify/message/{path}/{uuid}/cooperation",established:"/pro-mgr/notify/message/ws/established",getWsId:"/pro-mgr/notify/getWsId",disconnect:"/pro-mgr/notify/message/ws/disconnect"},Aht=class{constructor(t=!0){this._lockerTicket=0,this.isPull=!1,this.compiler={},this.order={SYMBOL:1,FOOTPRINT:2,DEVICE:3,SCH_PAGE:4,PCB:5},this._locker=t?++this._lockerTicket:0}getOrder(t){return this.order[t]||6}publish(){if(!this.isPull){this.isPull=!0,this._temporaryUnlock=this._locker;try{let t=Object.keys(this.compiler).sort((i,o)=>this.getOrder(i)-this.getOrder(o)),e=!1;for(let i of t){for(let[,o]of this.compiler[i])if(e=o.publish(),e)break;if(e)break}}finally{this._temporaryUnlock=0,this.isPull=!1}}}canPush(){return!this._locker||this._locker===this._temporaryUnlock}addCompiler(t){this.compiler[t.headType]||(this.compiler[t.headType]=new Map),this.compiler[t.headType].set(t.uniqueId,t)}removeCompiler(t){var e,i,o;(o=(i=(e=this.compiler)==null?void 0:e[t.headType])==null?void 0:i.delete)==null||o.call(i,t.uniqueId)}pull(){if(!this._locker)throw Error("\u4E0D\u5141\u8BB8\u5728\u975E pause \u72B6\u6001\u4E0B\u62C9\u53D6\u6570\u636E");this.publish()}resume(){this._locker=0,this.publish()}pause(){this._locker=++this._lockerTicket}dispose(){for(let t in this.compiler)this.compiler[t].clear();this.compiler=null}},tK={publish:"publish",destroy:"destroy",init:"init",selected:"selected"},rer=class{constructor(t,e,i,o=(a=>(a=lwe())==null?void 0:a._TAB_ID_)(),r,n){this.uuid=t,this.path=e,this.user=i,this.windowId=o,this.initIds={},this.sub=[];var a;this.wsBus=n||Dde(`/${this.windowId}/notify`),this.dataBus=r||this.wsBus,this._client=(a=lwe())==null?void 0:a._WS_ID_}get client(){return this._client}watch(){this.dataBus.publish(M6.send,{topic:M6.watch,uuid:this.uuid,path:this.path})}initPublish(){var t;this.dataBus.publish(M6.send,{topic:M6.sendMsg,uuid:this.uuid,path:this.path,msg:{type:tK.publish,user:this.user,client:this.client,data:((t=this.getSelect)==null?void 0:t.call(this))||""}})}async init(){if(!this.isInit){if(this.sub.push(this.wsBus.subscribe(M6.established,t=>{this._client=t,this.watch(),this.initPublish()})),!this.client){let t=await this.wsBus.rpcCall(M6.getWsId);if(!t||this.client)return;this._client=t}this.watch(),this.sub.push(this.wsBus.subscribe(M6.disconnect,t=>{this.initIds[t]&&this.onDestroy(this.initIds[t],t)})),this.sub.push(this.dataBus.subscribe(Nie(M6.message,{uuid:this.uuid,path:this.path}),t=>{if(t.type===1)t.connectId&&this.initIds[t.connectId]&&this.onDestroy(this.initIds[t.connectId],t.connectId);else if(t.msg){let e=t.msg;if(e.client===this.client)return;switch(e.type){case tK.destroy:this.onDestroy(e.userId,e.client),delete this.initIds[e.client];break;case tK.init:this.initIds[e.client]||(this.initIds[e.client]=e.user.uuid,this.onSelected(e.user,e.client,e.data||""));break;case tK.selected:this.onSelected(e.user,e.client,e.data||"");break;case tK.publish:this.dataBus.publish(M6.send,{topic:M6.sendMsg,uuid:this.uuid,path:this.path,msg:{type:tK.init,user:this.user,client:this.client,data:this.getSelect()||""}}),this.initIds[e.client]=e.user.uuid,this.onSelected(e.user,e.client,e.data||"");break;default:break}}})),this.initPublish(),this.isInit=!0}}publishSelected(t,e){this.dataBus.publish(M6.send,{topic:M6.sendMsg,uuid:this.uuid,path:this.path,msg:{type:tK.selected,user:this.user,client:this.client,data:t}}),e&&this.onSelected(this.user,this.client,t)}destroy(){if(this.isInit){this.isInit=!1,this.dataBus.publish(M6.send,{topic:M6.unwatch,uuid:this.uuid,path:this.path,msg:{type:tK.destroy,userId:this.user.uuid,client:this.client}});for(let t of this.sub)t.cancel();this.sub=[],this.initIds={}}}},h$t=class extends rer{constructor(t,e,i,o,r,n,a,s){super(t,e,s,i,r,n),this.channel=o,this.selectedProps=a,this.cache=new Map,this.deleteCache=new Map}rePublish(){var t,e,i,o;if(this.channel.canPush()){for(let[r,n]of this.cache)(e=(t=this.selectedProps)==null?void 0:t.onSelect)==null||e.call(t,n.user,r,n.data);for(let[r,n]of this.deleteCache)(o=(i=this.selectedProps)==null?void 0:i.onQuit)==null||o.call(i,n,r)}}getSelect(){var t,e;return((e=(t=this.selectedProps)==null?void 0:t.getSelect)==null?void 0:e.call(t))||""}onSelected(t,e,i){var o,r;this.channel.canPush()?!this.deleteCache.has(e)&&this.cache.set(e,{user:t,data:i}):(r=(o=this.selectedProps)==null?void 0:o.onSelect)==null||r.call(o,t,e,i)}onDestroy(t,e){var i,o;this.channel.canPush()?(this.deleteCache.set(e,t),this.cache.delete(e)):(o=(i=this.selectedProps)==null?void 0:i.onQuit)==null||o.call(i,t,e)}dispose(){this.destroy(),this.cache.clear(),this.deleteCache.clear()}publishSelected(t,e){super.publishSelected(t,e)}},ner=class{constructor(t,e,i,o=(b=>(b=lwe())==null?void 0:b._TAB_ID_)(),r=new Aht,n=null,a,s,l,c,d,u,p,m,h,f,g){this.uuid=t,this.path=e,this.isProject=i,this.windowId=o,this.channel=r,this.consistencyManager=n,this.selectedProps=l,this.setInit=c,this.onDocDetail=d,this.onUpdate=u,this.handleInit=p,this.onDelete=m,this.publishCache=h,this.onOrderNm=f,this.setMaxNum=g,this.isInit=!1,this.canSave=!0,this.sub=[],this.isInitIng=!1,this.cache={},this.deleteCache=new Map,this.pendTimer=null,this.pendCache={},this.pendCacheLength=0,this.wsBus=Dde(`/${o}/notify`),n||(this._unique=Sp()),this._headType=a,this.busTopic=s}get uniqueId(){return this._unique||this.consistencyManager.getUnique()}get headType(){return this._headType}setIsInitIng(t){var e;(e=this.setInit)==null||e.call(this,t),this.isInitIng=t}consoleDebug(...t){console.debug("[lc-protocol]",this._headType,this.uuid,...t)}publishLine(t,e,i,o,r,n=this.uuid,a,s,l,c,d){if(this.channel.canPush())return this.consistencyManager.remoteChange(e,r,n,t,i,o,void 0,void 0,void 0,a,void 0,s,l,d),!1;this.cache[n]||(this.cache[n]=new Map);let u=this.cache[n].get(t);return(c||!u||u.ticket<e||u.ticket===e&&(u.client<r||u.client===r&&!!u.pend!=!!a))&&this.cache[n].set(t,{client:r,ticket:e,dataType:o,data:i,pend:a,unique:s,pChange:u?void 0:l,num:d}),!0}onDocHead(){}onEnd(){}setDocType(t,e){t===this.uuid&&(this._headType=e)}setBusTopic(t){this.busTopic=t}publish(){var t,e,i;if(this.publishCache)return this.publishCache();let o=!1;for(let[r,n]of this.deleteCache){if(this.channel.canPush()){(t=this.onDelete)==null||t.call(this,n),delete this.cache[r];continue}o=!0;break}if(o)return o;for(let r in this.cache){let n=this.cache[r].keys();for(let a of n){let s=this.cache[r].get(a);if(o=this.publishLine(a,s.ticket,s.data,s.dataType,s.client,r,s.pend,s.unique,s.pChange,!1,s.num),o)break;this.cache[r].delete(a)}if(o)break}return(i=(e=this.selectManager)==null?void 0:e.rePublish)==null||i.call(e),o}publishSelected(t,e){this.selectManager.publishSelected(t,e)}clear(){var t,e;for(let i of this.sub)i.cancel();this.sub.length=0,this.cache={},this.deleteCache.clear(),this.setIsInitIng(!1),this.channel.removeCompiler(this),(e=(t=this.selectManager)==null?void 0:t.dispose)==null||e.call(t),this.selectManager=null,this.isInit=!1,this.setIsInitIng(!1)}async init(t=!0,e=!0,i=!0,o,r,n,a){try{if(this.isInit)return{success:!0};if(this.isInitIng)throw new Error("\u6B63\u5728\u521D\u59CB\u5316\u4E2D");return this.isProject?await this.initProject(t,e,i,o,n,a):await this.initLib(i,o,r,n,a)}catch(s){throw this.clear(),new Error(`${this._headType}+'Compiler' ${this.uuid} init false: ${(s==null?void 0:s.message)||s||""}`,{cause:s})}finally{this.isInitIng=!1}}async flowRead(t){let e=this.consistencyManager.flowParseFull(),i=e.update,o=this;e.update=r=>{if(o.isDestroy)return!0;i(r)},await(0,ter.flowRead)(t,e)}pushOnLine(t,e){if(this.consistencyManager)for(let i of t)this.publishLine(i[0],i[1],i[2],i[3],i[4],e,i[5],i[6],i[7],!1,i[8])}async initProject(t,e,i,o,r,n){if(this.setIsInitIng(!0),this.channel.addCompiler(this),this.dataBus=Dde(`/${this.windowId}/project/${this.path}`),r&&this.sub.push(this.dataBus.subscribe(`/pro-mgr/${this.uuid}/number/update`,l=>{if(this.onOrderNm)for(let c of l)this.onOrderNm(c[0],c[1],c[2])})),i&&this.busTopic.projectUpdate&&this.sub.push(this.dataBus.subscribe(Nie(this.busTopic.projectUpdate,{uuid:this.uuid}),l=>{this.onUpdate?this.onUpdate(l):this.pushOnLine(l,this.uuid)})),i&&this.busTopic.projectCanSave&&this.sub.push(this.dataBus.subscribe(this.busTopic.projectCanSave,l=>{this.canSave=l})),i&&this.busTopic.subDelete&&this.sub.push(this.dataBus.subscribe(this.busTopic.subDelete,l=>{var c;this.channel.canPush()?(c=this.onDelete)==null||c.call(this,l):this.deleteCache.set(l[0],l)})),i&&this.consistencyManager&&this.sub.push(this.dataBus.subscribe(E0.subMaxTick,l=>{this.consistencyManager.setMaxTicket(l.ticket,l.force)})),i&&e&&this.sub.push(this.dataBus.subscribe(E0.subBlob,l=>{this.pushOnLine(l,"BLOB")})),i&&t&&this.sub.push(this.dataBus.subscribe(E0.subFont,l=>{this.pushOnLine(l,"FONT")})),i&&this.consistencyManager&&this.sub.push(this.dataBus.subscribe(Nie(E0.subRevoke,{uuid:this.uuid}),l=>this.revoke(l))),!this.busTopic.getProject)throw new Error("\u83B7\u53D6\u6570\u636E\u5931\u8D25\uFF01\uFF01\uFF01");this.isDestroy=!1;let a={doc:[this.uuid],watch:i,needNum:r,needDelete:n};e&&a.doc.push("BLOB"),t&&a.doc.push("FONT");let s=await this.dataBus.rpcCall(this.busTopic.getProject,a);if(this.isWatch=i,!this.isDestroy){if(!s.success)throw new Error("\u83B7\u53D6\u6570\u636E\u5931\u8D25\uFF01\uFF01\uFF01",s);if(this.canSave=!(s!=null&&s.readOnly),this.consoleDebug("init",s.result),s.maxTicket&&this.consistencyManager&&this.consistencyManager.setMaxTicket(s.maxTicket),s.data&&this.onDocDetail&&this.onDocDetail(s.client||Sp(),0,s.data,!1),s.channel&&await this.flowRead(s.channel),!this.isDestroy){if(this.handleInit?this.handleInit(s):s.result&&this.consistencyManager&&this.consistencyManager.parseFull(s.result,this.uuid,this._headType),o){let l=this.user=this.user||s.user||await this.wsBus.rpcCall(E0.getUserL);this.selectManager=new h$t(this.uuid,this.path,this.windowId,this.channel,this.dataBus,this.wsBus,this.selectedProps,l),await this.selectManager.init()}return this.isInit=!0,this.setIsInitIng(!1),{success:!0}}}}async initLib(t,e,i,o,r){if(this.setIsInitIng(!0),this.channel.addCompiler(this),this.dataBus=Dde(`/${this.windowId}/libWorker`),!this.busTopic.getPerson)throw new Error("\u83B7\u53D6\u6570\u636E\u5931\u8D25\uFF01\uFF01\uFF01");let n=i?Sp():"";this.isDestroy=!1;let a=await this.dataBus.rpcCall(this.busTopic.getPerson,{uuid:this.uuid,path:this.path,watch:t,channel:n,needNum:o,needDelete:r});if(this.isWatch=t,this.isDestroy)return;if(!a.success)throw new Error("\u83B7\u53D6\u6570\u636E\u5931\u8D25\uFF01\uFF01\uFF01",a);this.consoleDebug("init",a.dataStr);let s=a.data||a.result;if(s&&this.onDocDetail&&this.onDocDetail(a.client||Sp(),0,s,!1),o&&this.sub.push(this.dataBus.subscribe(`/pro-mgr/${this.uuid}/number/update`,l=>{if(this.onOrderNm)for(let c of l)this.onOrderNm(c[0],c[1],c[2])})),t&&this.busTopic.personUpdate&&this.sub.push(this.dataBus.subscribe(Nie(this.busTopic.personUpdate,{uuid:this.uuid}),l=>{this.pushOnLine(l,this.uuid)})),t&&this.sub.push(this.dataBus.subscribe(Nie(Nie(E0.subRevoke,{uuid:this.uuid}),{uuid:this.uuid}),l=>this.revoke(l))),n&&await this.flowRead(n),!this.isDestroy){if(a.dataStr&&this.consistencyManager&&this.consistencyManager.parseFull(a.dataStr),e){let l=this.user=this.user||a.user||await this.wsBus.rpcCall(E0.getUserL);this.selectManager=new h$t(this.uuid,this.path,this.windowId,this.channel,this.wsBus,this.wsBus,this.selectedProps,l),await this.selectManager.init()}return this.isInit=!0,this.setIsInitIng(!1),{success:!0}}}revoke(t){for(let e of t)this.consistencyManager&&this.consistencyManager.revoke(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],(...i)=>this.publishLine(...i)),e[10]&&this.setMaxNum&&this.setMaxNum(e[6],e[10],e[1])}cachePendData(t,e,i,o,r,n){this.pendCache[t]||(this.pendCache[t]={type:n,pend:[]}),this.pendCache[t].pend.push([e,i,r,o]),this.pendCacheLength+=o.length+1,this.pendCacheLength>1e7&&this.publishPendData(),this.pendTimer||(this.pendTimer=setTimeout(()=>{this.publishPendData(),this.pendTimer=null},0))}publishPendData(){if(this.pendCacheLength){this.dataBus.publish(E0.pushPend,[this.pendCache,this.consistencyManager.getClient(),this.uniqueId,this.uuid]);for(let t in this.pendCache)this.pendCache[t].pend.length=0;this.pendCache={},this.pendCacheLength=0}}localChange(t,e,i,o=this.uuid,r,n){if(!this.isInit||!this.canSave||!this.consistencyManager)return 0;if(e&&!e.startsWith("{"))return console.error("\u4E0A\u4F20\u7684\u683C\u5F0F\u4E0D\u6B63\u786E",t,i,e),0;let a=this.consistencyManager.localChange(o,t,e,i,r,n);return this.cachePendData(o,t,a,e,i,r||this.headType),a}async sync(){if(!this.isInit)throw new Error("\u6570\u636E\u672A\u521D\u59CB\u5316\uFF0C\u65E0\u6CD5\u540C\u6B65");let t=Sp();this.dataBus.publish(E0.pushSync,t),await this.dataBus.pullA(Nie(E0.pullASync,{id:t}))}async destroy(){return this.isDestroy?{success:!1}:(this.consistencyManager&&this.dataBus&&this.dataBus.publish(E0.pushRevoke,[this.uuid,this.uniqueId,this.consistencyManager.getClient()]),this.clear(),this.isDestroy=!0,this.isWatch&&this.dataBus&&!this.isProject&&this.dataBus.publish(E0.personDestroy,{uuid:this.uuid,path:this.path}),this.isWatch&&this.dataBus&&this.busTopic.unwatch&&this.dataBus.publish(this.busTopic.unwatch,this.uuid),this.isWatch=!1,{success:!0})}async save(t=[this.uuid,"BLOB","FONT"]){try{if(!this.isInit)throw new Error("\u6570\u636E\u672A\u521D\u59CB\u5316\uFF0C\u65E0\u6CD5\u4FDD\u5B58");if(!this.consistencyManager)throw new Error("\u65E0\u6CD5\u652F\u6301\u4FDD\u5B58");let e=this.isProject?E0.projectSave:E0.personSave;if(!e)throw new Error("\u65E0\u6CD5\u652F\u6301\u4FDD\u5B58");let i=await this.dataBus.rpcCall(e,{uuid:this.uuid,path:this.path,docIds:t,uniqueId:this.uniqueId,client:this.consistencyManager.getClient()});return this.consoleDebug("save",i),i}catch(e){throw new Error(`${this._headType}+'Compiler' ${this.uuid} \u4FDD\u5B58\u5931\u8D25: ${(e==null?void 0:e.message)||e||""}`,{cause:e})}}async getBlob(t){return this.dataBus.rpcCall("/mgr/projectWorker/blob/getBlob",t)}async getFont(t,e,i,o,r,n,a,s){let l={text:t,fontFamily:e,fontSize:i,thickness:o,bold:r,italic:n,reverse:a,expansion:s},c=await this.dataBus.rpcCall("/mgr/projectWorker/font/get",l);return c.success?{success:!0,result:Object.assign(l,JSON.parse(c.result))}:c}async checkSave(){return await this.dataBus.rpcCall(E0.hasSaveData,{uuid:this.uuid,uniqueId:this.uniqueId})}},aer=(t=>(t.DIFFERENTIAL_PAIR="DIFFERENTIAL_PAIR",t.NET_CLASS="NET_CLASS",t.EQL_NET_GRP="EQL_NET_GRP",t))(aer||{}),ser=class extends zei{constructor(t){super(t)}onComponent(){}onComponentNum(){}onDelComponent(){}onPadNet(){}onDelPadNet(){}},_ie=class extends q$t{constructor(){super(),this.isExtractComponent=!1,this.extractAttrKey=["Footprint","Device","Origin Footprint","3D Model Transform","3D Model","3D Model Title","Origin 3D Model Title"],this.calculation=new iei,this.schComponents={},this.pcbComponents={},this.footprintAttr={},this.otherData={},this.notCanvas=!1,this.canvas={},this.cLine=null,this.maxTicket=0,this.datas={config:{},boards:{},schematics:{},sheets:{},pcbs:{},panels:{},panelLibs:{},symbols:{},footprints:{},devices:{},blobs:{},fonts:{},instances:{},simulations:{}}}get project(){return this.datas}setIsExtractComponent(t){this.isExtractComponent=t,this.setNotCanvas(t)}setNotCanvas(t){this.notCanvas=t}onLine(t,e,i,o,r,n,a,s,l,c,d,u){switch(e>this.maxTicket&&(this.maxTicket=e),this.cLine=this.isExtractComponent?null:u,n){case"CONFIG":{this.parseConfig(o,a,i);break}case"BOARD":{this.parseBoard(o,a,i);break}case"SCH":{this.parseSchematic(o,a,i);break}case"SCH_PAGE":{this.parseSheet(o,a,i,e,t,n,r,s);break}case"SIMULATION":{this.parseSimulation(o,a,i,e,t,n,r,s);break}case"PCB":{this.parsePcb(o,a,i,e,t,n,r,s);break}case"PANEL":{this.parsePanel(o,a,i,e,t,n,r);break}case"PANEL_LIB":{this.parsePanelLib(o,a,i,e,t,n,r);break}case"SYMBOL":{this.parseSymbol(o,a,i,e,t,n,r);break}case"FOOTPRINT":{this.parseFootprint(o,a,i,e,t,n,r);break}case"DEVICE":{this.parseDevice(o,a,i);break}case"BLOB":{this.parseBlob(o,t,i);break}case"FONT":{this.parseFont(o,t,i);break}case"INSTANCE":{this.parseInstance(o,a,t,i);break}default:this.otherData[a]||(this.otherData[a]=Cb(n,r,a)),this.otherData[a]=this.otherData[a]+`|
`+ac(o,e,t,i)}this.cLine=null}onDocHead(t,e){let i=t.user||{uuid:e==null?void 0:e.uuid,username:e==null?void 0:e.username,nickname:e==null?void 0:e.nickname},{docType:o,uuid:r}=t,n=t.updateTime||(e==null?void 0:e.updateTime),a=t.version||String(n);switch(o){case"CONFIG":break;case"BOARD":break;case"SCH":{if(!this.datas.schematics[r])this.datas.schematics[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.schematics[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"SCH_PAGE":{if(!this.datas.sheets[r])this.datas.sheets[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.sheets[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"SIMULATION":{if(!this.datas.simulations[r])this.datas.simulations[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.simulations[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"PCB":{if(!this.datas.pcbs[r])this.datas.pcbs[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.pcbs[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"PANEL":{if(!this.datas.panels[r])this.datas.panels[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.panels[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"PANEL_LIB":{if(!this.datas.panelLibs[r])this.datas.panelLibs[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.panelLibs[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"SYMBOL":{if(!this.datas.symbols[r])this.datas.symbols[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.symbols[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"FOOTPRINT":{if(!this.datas.footprints[r])this.datas.footprints[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.footprints[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"DEVICE":{if(!this.datas.devices[r])this.datas.devices[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.devices[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"BLOB":break;case"INSTANCE":break}}onEnd(){}parse(t){if(!t)return null;try{return JSON.parse(t)}catch(e){return console.error("\u5DE5\u7A0B\u6570\u636E\u89E3\u6790\u9519\u8BEF",e),null}}handleCanvas(){if(this.datas.sheets)for(let t in this.datas.sheets)this.canvas[t]&&(this.datas.sheets[t].canvas=vie(this.canvas[t],`|
`),delete this.canvas[t]),this.datas.sheets[t].doc_id=this.calculation.getOrderNum(t,this.datas.sheets[t].schematic);if(this.datas.simulations)for(let t in this.datas.simulations)this.canvas[t]&&(this.datas.simulations[t].canvas=vie(this.canvas[t],`|
`),delete this.canvas[t]);if(this.datas.pcbs)for(let t in this.datas.pcbs)this.canvas[t]&&(this.datas.pcbs[t].canvas=vie(this.canvas[t],`|
`),delete this.canvas[t]);if(this.datas.panels)for(let t in this.datas.panels)this.canvas[t]&&(this.datas.panels[t].canvas=vie(this.canvas[t],`|
`),delete this.canvas[t]);if(this.datas.panelLibs)for(let t in this.datas.panelLibs)this.canvas[t]&&(this.datas.panelLibs[t].canvas=vie(this.canvas[t],`|
`),delete this.canvas[t]);if(this.datas.symbols)for(let t in this.datas.symbols)this.canvas[t]&&(this.datas.symbols[t].canvas=vie(this.canvas[t],`|
`),delete this.canvas[t]);if(this.datas.footprints)for(let t in this.datas.footprints)this.canvas[t]&&(this.datas.footprints[t].canvas=vie(this.canvas[t],`|
`),delete this.canvas[t])}start(t){return this.parseFull(t),this.datas.otherData=this.otherData,this.handleCanvas(),this.datas}getProject(){return this.datas.otherData=this.otherData,this.handleCanvas(),this.datas}parseConfig(t,e,i){if(!this.isExtractComponent)switch(t){case"META":{let o=this.parse(i);this.datas.config=o;break}}}parseBoard(t,e,i){if(!this.isExtractComponent)switch(this.datas.boards[e]||(this.datas.boards[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let o=this.parse(i);o&&Object.assign(this.datas.boards[e],o);break}}}parseSchematic(t,e,i){if(!this.isExtractComponent)switch(this.datas.schematics[e]||(this.datas.schematics[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let o=this.parse(i);o&&Object.assign(this.datas.schematics[e],o);break}}}parseSheet(t,e,i,o,r,n,a,s){switch(this.datas.sheets[e]||(this.datas.sheets[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let l=this.parse(i);t==="META"&&this.calculation.setOrderNum(e,l.schematic,s||o,a),l&&Object.assign(this.datas.sheets[e],l);break}case"META_PLACEHOLDER":{if(!i)break;let l=this.parse(i);if(l.max<1){console.error("META_PLACEHOLDER more than 1",l);break}let c=r.split("_"),d=r.split("_")[0],u=c[1]?c[1]:d;this.calculation.setOrderNum(u,d,s||o,a,l.max),l.dataType==="META"&&delete this.datas.sheets[e];break}case"COMPONENT":if(this.isExtractComponent&&i){let l=this.parse(i);if(this.schComponents[e]||(this.schComponents[e]=new Map),!this.schComponents[e].has(r))this.schComponents[e].set(r,{component:{ticket:o,data:l},attr:{}});else{let c=this.schComponents[e].get(r);c.component.ticket<=o&&(c.component.ticket=o,c.component.data=l)}break}case"ATTR":if(this.isExtractComponent&&i){let l=this.parse(i);if(this.extractAttrKey.includes(l.key)){if(this.schComponents[e]||(this.schComponents[e]=new Map),!this.schComponents[e].has(l.parentId))this.schComponents[e].set(l.parentId,{component:{ticket:0,data:null},attr:{[r]:{ticket:o,data:l}}});else{let c=this.schComponents[e].get(l.parentId);(!c.attr[r]||c.attr[r].ticket<=o)&&(c.attr[r]={ticket:o,data:l})}break}}default:{if(this.notCanvas)break;if(!this.canvas[e]){let{updateTime:l,version:c}=this.datas.sheets[e];this.canvas[e]=[Cb(n,a,e,l,c)]}this.canvas[e].push(this.cLine);break}}}parseSimulation(t,e,i,o,r,n,a,s){switch(this.datas.simulations[e]||(this.datas.simulations[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let l=this.parse(i);l&&Object.assign(this.datas.simulations[e],l);break}case"COMPONENT":if(this.isExtractComponent&&i){let l=this.parse(i);if(this.schComponents[e]||(this.schComponents[e]=new Map),!this.schComponents[e].has(r))this.schComponents[e].set(r,{component:{ticket:o,data:l},attr:{}});else{let c=this.schComponents[e].get(r);c.component.ticket<=o&&(c.component.ticket=o,c.component.data=l)}break}case"ATTR":if(this.isExtractComponent&&i){let l=this.parse(i);if(this.extractAttrKey.includes(l.key)){if(this.schComponents[e]||(this.schComponents[e]=new Map),!this.schComponents[e].has(l.parentId))this.schComponents[e].set(l.parentId,{component:{ticket:0,data:null},attr:{[r]:{ticket:o,data:l}}});else{let c=this.schComponents[e].get(l.parentId);(!c.attr[r]||c.attr[r].ticket<=o)&&(c.attr[r]={ticket:o,data:l})}break}}default:{if(this.notCanvas)break;if(!this.canvas[e]){let{updateTime:l,version:c}=this.datas.simulations[e];this.canvas[e]=[Cb(n,a,e,l,c)]}this.canvas[e].push(this.cLine);break}}}parsePcb(t,e,i,o,r,n,a,s){switch(this.datas.pcbs[e]||(this.datas.pcbs[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let l=this.parse(i);l&&Object.assign(this.datas.pcbs[e],l);break}case"COMPONENT":if(this.isExtractComponent&&i){let l=this.parse(i);if(this.pcbComponents[e]||(this.pcbComponents[e]=new Map),!this.pcbComponents[e].has(r))this.pcbComponents[e].set(r,{component:{ticket:o,data:l},attr:{}});else{let c=this.pcbComponents[e].get(r);c.component.ticket<=o&&(c.component.ticket=o,c.component.data=l)}break}case"ATTR":if(this.isExtractComponent&&i){let l=this.parse(i);if(this.extractAttrKey.includes(l.key)){if(this.pcbComponents[e]||(this.pcbComponents[e]=new Map),!this.pcbComponents[e].has(l.parentId))this.pcbComponents[e].set(l.parentId,{component:{ticket:0,data:null},attr:{[r]:{ticket:o,data:l}}});else{let c=this.pcbComponents[e].get(l.parentId);(!c.attr[r]||c.attr[r].ticket<=o)&&(c.attr[r]={ticket:o,data:l})}break}}default:{if(this.notCanvas)break;if(!this.canvas[e]){let{updateTime:l,version:c}=this.datas.pcbs[e];this.canvas[e]=[Cb(n,a,e,l,c)]}this.canvas[e].push(this.cLine);break}}}parsePanel(t,e,i,o,r,n,a){switch(this.datas.panels[e]||(this.datas.panels[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let s=this.parse(i);s&&Object.assign(this.datas.panels[e],s);break}default:{if(this.notCanvas)break;if(!this.canvas[e]){let{updateTime:s,version:l}=this.datas.panels[e];this.canvas[e]=[Cb(n,a,e,s,l)]}this.canvas[e].push(this.cLine);break}}}parsePanelLib(t,e,i,o,r,n,a){switch(this.datas.panelLibs[e]||(this.datas.panelLibs[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let s=this.parse(i);s&&Object.assign(this.datas.panelLibs[e],s);break}default:{if(this.notCanvas)break;if(!this.canvas[e]){let{updateTime:s,version:l}=this.datas.panelLibs[e];this.canvas[e]=[Cb(n,a,e,s,l)]}this.canvas[e].push(this.cLine);break}}}parseSymbol(t,e,i,o,r,n,a){switch(this.datas.symbols[e]||(this.datas.symbols[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let s=this.parse(i);s&&Object.assign(this.datas.symbols[e],s);break}default:{if(this.notCanvas)break;if(!this.canvas[e]){let{updateTime:s,version:l}=this.datas.symbols[e];this.canvas[e]=[Cb(n,a,e,s,l)]}this.canvas[e].push(this.cLine);break}}}parseFootprint(t,e,i,o,r,n,a){switch(this.datas.footprints[e]||(this.datas.footprints[e]={uuid:e,docType:4}),t){case"META":case"DELETE_DOC":{let s=this.parse(i);s&&Object.assign(this.datas.footprints[e],s);break}case"ATTR":if(this.isExtractComponent&&i){let s=this.parse(i);if(this.extractAttrKey.includes(s.key)){this.footprintAttr[e]||(this.footprintAttr[e]={}),this.footprintAttr[e][r]={ticket:o,data:s};break}}default:{if(this.notCanvas)break;if(!this.canvas[e]){let{updateTime:s,version:l}=this.datas.footprints[e];this.canvas[e]=[Cb(n,a,e,s,l)]}this.canvas[e].push(this.cLine);break}}}parseDevice(t,e,i){switch(this.datas.devices[e]||(this.datas.devices[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let o=this.parse(i);o&&Object.assign(this.datas.devices[e],o);break}}}parseBlob(t,e,i){if(!this.notCanvas)switch(t){case"BLOB":{this.datas.blobs[e]||(this.datas.blobs[e]={hash:e});let o=this.parse(i);o?Object.assign(this.datas.blobs[e],o):delete this.datas.blobs[e];break}}}parseFont(t,e,i){if(!this.notCanvas)switch(this.datas.fonts[e]||(this.datas.fonts[e]={uuid:e}),t){case"FONT":{let o=this.parse(i);o?Object.assign(this.datas.fonts[e],tei(e),o):delete this.datas.fonts[e];break}}}parseInstance(t,e,i,o){if(!this.notCanvas)switch(this.datas.instances[e]||(this.datas.instances[e]={path:e,hash:YZo(e),attr:{}}),t){case"INSTANCE_ATTR":{let r=this.parse(o);this.datas.instances[e].attr[i]=r;break}case"DELETE_DOC":{let r=this.parse(o);this.datas.instances[e].isDelete=r.isDelete;break}}}},c2n=Rde(hwe()),ler=Rde(hwe());async function cer(t,e,i,o,r,n,a,s,l){n=n||Sp();let c=l||new Date().getTime(),d=new INe,u=a||0;if(t.config){let p=d.config.head({client:n,updateTime:c});p=p+`|
`+d.config.meta(++u,t.config),i?await e(p):e(p),delete t.config}if(t.fonts){let p=!0;for(let m in t.fonts){if(p){p=!1;let b=d.font.head({doc:"FONT",client:n,updateTime:c});i?await e(b):e(b)}let h=t.fonts[m],f=rU(h.text,h.fontFamily,h.fontSize,h.thickness,h.bold,h.italic,h.reverse,h.expansion),g=d.font.buildStr(++u,f,h);i?await e(g):e(g),delete t.fonts[m]}}if(t.blobs){let p=!0;for(let m in t.blobs){if(p){p=!1;let g=d.blob.head({doc:"BLOB",client:n,updateTime:c});i?await e(g):e(g)}let h=t.blobs[m],f=d.blob.buildStr(++u,m,h);i?await e(f):e(f),delete t.blobs[m]}}if(t.instances)for(let p in t.instances){let m=t.instances[p],h=d.instance.head({doc:m.path||p,client:n,updateTime:c});if(i?await e(h):e(h),m.isDelete){let f=ac("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}));i?await e(f):e(f)}if(m.attr){let f=d.instance.attr(++u,m.attr);i?await e(f):e(f)}delete t.instances[p]}if(t.footprints)for(let p in t.footprints){let m=t.footprints[p],h=d.footprint.head({doc:p,client:n,updateTime:m.updateTime||c,version:m.version});if(i?await e(h):e(h),s!=null&&s[p])for(let f in s[p]){let g=s[p][f],b=ac("ATTR",g.ticket,f,g.data?JSON.stringify(g.data):"");i?await e(b):e(b)}else{let f=d.footprint.meta(++u,m);i?await e(f):e(f)}if(m.isDelete){let f=ac("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}));i?await e(f):e(f)}m.canvas&&(i?await e(m.canvas):e(m.canvas)),delete t.footprints[p]}if(t.symbols)for(let p in t.symbols){let m=t.symbols[p],h=d.symbol.head({doc:p,client:n,updateTime:m.updateTime||c,version:m.version});h=h+`|
`+d.symbol.meta(++u,m),m.isDelete&&(h=h+`|
`+ac("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}))),m.canvas&&(h=h+`|
`+m.canvas),i?await e(h):e(h),delete t.symbols[p]}if(t.devices)for(let p in t.devices){let m=t.devices[p],h=d.device.head({doc:p,client:n,updateTime:m.updateTime||c,version:m.version});h=h+`|
`+d.device.meta(++u,m),m.isDelete&&(h=h+`|
`+ac("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}))),i?await e(h):e(h),delete t.devices[p]}if(t.boards)for(let p in t.boards){let m=t.boards[p],h=d.board.head({doc:p,client:n,updateTime:c});h=h+`|
`+d.board.meta(++u,m),m.isDelete&&(h=h+`|
`+ac("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}))),i?await e(h):e(h),delete t.boards[p]}if(t.schematics)for(let p in t.schematics){let m=t.schematics[p],h=d.schematic.head({doc:p,client:n,updateTime:m.updateTime||c,version:m.version});h=h+`|
`+d.schematic.meta(++u,m),m.isDelete&&(h=h+`|
`+ac("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}))),i?await e(h):e(h),delete t.schematics[p]}if(t.sheets){async function p(f,g){let b=[],y=d.sheet.head({doc:f.uuid,client:n,updateTime:f.updateTime||c,version:f.version});if(g&&!o){let w={dataType:"META_PLACEHOLDER",max:g};b.push(ac("META_PLACEHOLDER",++u,`${f.schematic}_${Sp()}`,JSON.stringify(w)))}if(o||b.push(d.sheet.meta(++u,f)),f.isDelete&&!o&&b.push(ac("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}))),f.canvas&&!o&&b.push(f.canvas),o&&o[f.uuid]){let w=o[f.uuid];for(let[x,S]of w){S.component.data&&b.push(ac("COMPONENT",S.component.ticket,x,S.component.data?JSON.stringify(S.component.data):""));for(let T in S.attr){let M=S.attr[T];b.push(ac("ATTR",M.ticket,T,M.data?JSON.stringify(M.data):""))}}}b.length&&(b.unshift(y),i?await e(b.join(`|
`)):e(b.join(`|
`)))}let m={},h=[];for(let f in t.sheets){let g=t.sheets[f];if(g.uuid=f,!g.doc_id||!g.schematic){h.push(g);continue}m[g.schematic]||(m[g.schematic]=[]),m[g.schematic].push(g)}for(let f in m){let g=m[f].sort((y,w)=>y.doc_id-w.doc_id),b=0;for(let y of g){let w=y.doc_id-b-1;i?await p(y,w>0?w:void 0):p(y,w>0?w:void 0),b=y.doc_id}}for(let f of h)i?await p(f):p(f);t.sheets={}}if(t.pcbs)for(let p in t.pcbs){let m=t.pcbs[p],h=[];if(r||h.push(d.pcb.meta(++u,m)),m.isDelete&&!r&&h.push(ac("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}))),m.canvas&&!r&&h.push(m.canvas),r&&r[m.uuid]){let f=r[m.uuid];for(let[g,b]of f){b.component.data&&h.push(ac("COMPONENT",b.component.ticket,g,b.component.data?JSON.stringify(b.component.data):""));for(let y in b.attr){let w=b.attr[y];h.push(ac("ATTR",w.ticket,y,w.data?JSON.stringify(w.data):""))}}}h.length&&(h.unshift(d.pcb.head({doc:p,client:n,updateTime:m.updateTime||c,version:m.version})),i?await e(h.join(`|
`)):e(h.join(`|
`))),delete t.pcbs[p]}if(t.panels)for(let p in t.panels){let m=t.panels[p],h=d.panel.head({doc:p,client:n,updateTime:m.updateTime||c,version:m.version});h=h+`|
`+d.panel.meta(++u,m),m.isDelete&&(h=h+`|
`+ac("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}))),m.canvas&&(h=h+`|
`+m.canvas),i?await e(h):e(h),delete t.panels[p]}if(t.simulations)for(let p in t.simulations){let m=t.simulations[p],h=d.simulation.head({doc:p,client:n,updateTime:m.updateTime||c,version:m.version});if(h=h+`|
`+d.simulation.meta(++u,m),m.isDelete&&(h=h+`|
`+ac("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}))),o&&o[m.uuid]){let f=o[m.uuid];for(let[g,b]of f){if(b.component.data){let y=ac("COMPONENT",b.component.ticket,g,b.component.data?JSON.stringify(b.component.data):"");m.canvas=m.canvas?m.canvas+`|
`+y:y}for(let y in b.attr){let w=b.attr[y],x=ac("ATTR",w.ticket,y,JSON.stringify(w.data));m.canvas=m.canvas?m.canvas+`|
`+x:x}}}m.canvas&&(h=h+`|
`+m.canvas),i?await e(h):e(h),delete t.simulations[p]}if(t.otherData){for(let p in t.otherData)i?await e(t.otherData[p]):e(t.otherData[p]);t.otherData={}}}function der(t,e,i,o,r,n=1e7,a,s,l,c){return(0,ler.flowWrite)(t,async d=>{let u=new Array,p=0,m=async h=>{p+h.length>n&&(await d.write(u.join(`|
`)),u.length=0,u.push(""),p=0),u.push(h),p+=h.length+2};if(r){for(let h=0;h<r.length;++h){let f=r[h];r[h]=null,await d.write(f)}u.push("")}if(await cer(e,m,!0,i,o,l,a,s,c),u.length>0){let h=u.join(`|
`);h.length&&await d.write(h),u.length=0,p=0}},n,!1)}var uer=class extends zei{constructor(t,e,i,o,r,n,a,s=(l=>(l=lwe())==null?void 0:l._TAB_ID_)()){let l=new X$t(s);super(l),this.isProject=i,this.encode=n,this.base=new ner(t,e,i,s,o,l,r,r==="PCB"?oer:ier,a,(...c)=>this.setIsInit(...c),(...c)=>this.onDocDetail(...c),void 0,void 0,void 0,void 0,(c,d,u)=>this.onOrderNum(c,d,u),(c,d,u)=>{this.setMaxNum(c,d,!!u),u&&this.deleteOrderNum(u)})}get dataBus(){return this.base.dataBus}set dataBus(t){this.base.dataBus=t}async init(t=!0,e=!0,i=!0,o,r=!0,n){return this.setNeedNum(r),this.base.init(t,e,i,o,!0,r,n)}async sync(){return this.base.sync()}async destroy(){return this.base.destroy()}async save(){return this.base.save()}checkSave(){return this.base.checkSave()}publishSelected(t,e){this.base.publishSelected(t,e)}uploadBlob(t,e){let i=m8(e),o={filename:t,content:e};return{success:!0,ticket:this.localChange({id:i,data:JSON.stringify(o),dataType:"BLOB"},"BLOB","BLOB"),hash:i}}deleteBlob(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"BLOB"},"BLOB","BLOB")}}uploadFont(t){let{text:e,fontFamily:i,fontSize:o,thickness:r,bold:n,italic:a,reverse:s,expansion:l,width:c,height:d,path:u}=t,p={width:c,height:d,path:u},m=rU(e,i,o,r,n,a,s,l);return{success:!0,ticket:this.localChange({id:m,data:JSON.stringify(p),dataType:"FONT"},"FONT","FONT")}}deleteFont(t){let{text:e,fontFamily:i,fontSize:o,thickness:r,bold:n,italic:a,reverse:s,expansion:l}=t,c=rU(e,i,o,r,n,a,s,l);return{success:!0,ticket:this.localChange({id:c,data:"",dataType:"FONT"},"FONT","FONT")}}async updateFootprint(t){return this.isProject?this.dataBus.rpcCall("/mgr/projectWorker/footprint/update",t):{success:!1,message:"compiler \u6682\u4E0D\u652F\u6301\u4E2A\u4EBA\u5E93\u76F4\u63A5\u4FEE\u6539\u5C01\u88C5\u4FE1\u606F"}}async generateTemplate(t,e){return this.isProject?this.dataBus.rpcCall("/mgr/projectWorker/footprint/generateTemplate",{custom:t,renameKey:e}):{success:!1,message:"compiler \u6682\u4E0D\u652F\u6301\u4E2A\u4EBA\u5E93\u8C03\u7528\u8BE5\u63A5\u53E3"}}localChange(t,e=this.base.uuid,i){var o,r;let n=this.getOrderNum(t.id);return(r=(o=this.needOrderType)==null?void 0:o.includes)!=null&&r.call(o,t.dataType)&&n===void 0&&(n=this.getMaxNum(t.dataType),this.setOrderNum(t.id,n,t.dataType),this.onOrderNum(t.id,t.dataType,n)),this.base.localChange(t.id,t.data,t.dataType,e,i,n)}uploadString(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeString(t,e))}}deleteString(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"STRING"})}}uploadAttr(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeAttr(t,e))}}deleteAttr(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"ATTR"})}}uploadPanelize(t){return{success:!0,ticket:this.localChange(this.encode.encodePanelize(t))}}deletePanelize(){return{success:!0,ticket:this.localChange({id:"PANELIZE",data:"",dataType:"PANELIZE"})}}uploadRuleSelector(t){return{success:!0,ticket:this.localChange(this.encode.encodeRuleSelector(t))}}deleteRuleSelector(t){return{success:!0,ticket:this.localChange({id:JSON.stringify(["RULE_SELECTOR",t]),data:"",dataType:"RULE_SELECTOR"})}}uploadRule(t){return{success:!0,ticket:this.localChange(this.encode.encodeRule(t))}}deleteRule(t,e){return{success:!0,ticket:this.localChange({id:JSON.stringify(["RULE",t,e]),data:"",dataType:"RULE"})}}uploadRuleTemplate(t){return{success:!0,ticket:this.localChange(this.encode.encodeRuleTemplate(t))}}uploadDimension(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeDimension(t,e))}}deleteDimension(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"DIMENSION"})}}uploadBoss(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeBoss(t,e))}}deleteBoss(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"BOSS"})}}uploadShellEntity(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeShellEntity(t,e))}}deleteShellEntity(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"SHELL_ENTITY"})}}uploadShellCut(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeShellCut(t,e))}}deleteShellCut(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"SHELLCUT"})}}uploadCrease(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeCrease(t,e))}}deleteCrease(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"CREASE"})}}uploadShell(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeShell(t,e))}}deleteShell(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"SHELL"})}}uploadFpcFill(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeFpcFill(t,e))}}deleteFpcFill(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"FPC_FILL"})}}uploadTeardrop(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeTeardrop(t,e))}}deleteTeardrop(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"TEARDROP"})}}uploadImage(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeImage(t,e))}}deleteImage(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"IMAGE"})}}uploadPoured(t,e){return{success:!0,ticket:this.localChange(this.encode.encodePoured(t,e))}}deletePoured(t){return{success:!0,ticket:this.localChange({id:v2(t,"POURED"),data:"",dataType:"POURED"})}}uploadPour(t,e){return{success:!0,ticket:this.localChange(this.encode.encodePour(t,e))}}deletePour(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"POUR"})}}uploadRegion(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeRegion(t,e))}}deleteRegion(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"REGION"})}}uploadFill(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeFill(t,e))}}deleteFill(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"FILL"})}}uploadLayerFill(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeLayerFill(t,e))}}deleteLayerFill(t){return{success:!0,ticket:this.localChange({id:v2(t,"LAYER_FILL"),data:"",dataType:"LAYER_FILL"})}}uploadPoly(t,e){return{success:!0,ticket:this.localChange(this.encode.encodePoly(t,e))}}deletePoly(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"POLY"})}}uploadEQLenGrp(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeEQLenGrp(t,e))}}deleteEQLenGrp(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"EQLEN_GRP"})}}uploadObj(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeObj(t,e))}}deleteObj(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"OBJ"})}}uploadArc(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeArc(t,e))}}deleteArc(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"ARC"})}}uploadLine(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeLine(t,e))}}deleteLine(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"LINE"})}}uploadPad(t,e){return{success:!0,ticket:this.localChange(this.encode.encodePad(t,e))}}deletePad(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"PAD"})}}uploadVia(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeVia(t,e))}}deleteVia(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"VIA"})}}uploadPreference(t){return{success:!0,ticket:this.localChange(this.encode.encodePreference(t))}}uploadSilkOpts(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeSilkOpts(t,e))}}deleteSilkOpts(t){return{success:!0,ticket:this.localChange({id:v2(t,"SILK_OPTS"),data:"",dataType:"SILK_OPTS"})}}uploadGroup(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeGroup(t,e))}}deleteGroup(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"GROUP"})}}uploadPrimitive(t,e){return{success:!0,ticket:this.localChange(this.encode.encodePrimitive(t,e))}}deletePrimitive(t){return{success:!0,ticket:this.localChange({id:v2(t,"PRIMITIVE"),data:"",dataType:"PRIMITIVE"})}}uploadNet(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeNet(t,e))}}deleteNet(t){return{success:!0,ticket:this.localChange({id:v2(t,"NET"),data:"",dataType:"NET"})}}uploadActiveLayer(t){return{success:!0,ticket:this.localChange(this.encode.encodeActiveLayer(t))}}uploadLayerPhys(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeLayerPhys(t,e))}}deleteLayerPhys(t){return{success:!0,ticket:this.localChange({id:v2(t,"LAYER_PHYS"),data:"",dataType:"LAYER_PHYS"})}}uploadLayer(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeLayer(t,e))}}deleteLayer(t){return{success:!0,ticket:this.localChange({id:v2(t,"LAYER"),data:"",dataType:"LAYER"})}}uploadCanvas(t){return{success:!0,ticket:this.localChange(this.encode.encodeCanvas(t))}}uploadBoard(t){return{success:!0,ticket:this.localChange({id:"BOARD",data:JSON.stringify(t),dataType:"BOARD"})}}deleteBoard(){return{success:!0,ticket:this.localChange({id:"BOARD",data:"",dataType:"BOARD"})}}uploadXSignalsGroup(t,e){return{success:!0,ticket:this.localChange({id:t,data:JSON.stringify(e),dataType:"X_SIGNAL_GROUP"})}}deleteXSignalsGroup(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"X_SIGNAL_GROUP"})}}uploadXSignals(t,e){return{success:!0,ticket:this.localChange({id:t,data:JSON.stringify(e),dataType:"X_SIGNALS"})}}deleteXSignals(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"X_SIGNALS"})}}},Fei=class extends uer{constructor(t,e,i,o,r=(n=>(n=lwe())==null?void 0:n._TAB_ID_)()){super(t,e,i,o,"FOOTPRINT",new jei,{getSelect:()=>{var n;return(n=this.canvasSelected)==null?void 0:n.call(this)},onSelect:(...n)=>{var a;return(a=this.onSelectChange)==null?void 0:a.call(this,n[0],n[1],n[2])},onQuit:(...n)=>{var a;return(a=this.onSelectQuit)==null?void 0:a.call(this,n[0],n[1])}},r),this.uuid=t,this.path=e,this.isProject=i,this.windowId=r}onComponent(){}onComponentNum(){}onDelComponent(){}onPadNet(){}onDelPadNet(){}},per=class extends ser{constructor(){super(...arguments),this.data={}}onXSignalsGroup(t,e,i,o,r){}onDelXSignalsGroup(t,e,i,o){}onXSignals(t,e,i,o,r){}onDelXSignals(t,e,i,o){}onBoard(t,e,i,o){}onDelBoard(t,e,i){}onLayerFill(t,e,i,o,r){}onDelLayerFill(t,e,i,o){}onBlob(t,e,i,o,r){}onDelBlob(t,e,i,o){}onFont(t,e,i,o){}onDelFont(t,e,i,o){}onString(t,e,i,o,r,n){this.data[t]=r}onDelString(t,e,i,o){delete this.data[t]}onStringNum(t,e){}onAttr(t,e,i,o,r,n){this.data[t]=r}onDelAttr(t,e,i,o){delete this.data[t]}onAttrNum(t,e){}onPanelizeSide(t,e,i,o){}onDelPanelizeSide(t,e,i,o){}onPanelizeStamp(t,e,i,o){}onDelPanelizeStamp(t,e,i,o){}onPanelize(t,e,i,o){}onDelPanelize(t,e,i){}onRuleSelector(t,e,i,o){}onDelRuleSelector(t,e,i,o){}onRule(t,e,i,o){}onDelRule(t,e,i,o,r){}onRuleTemplate(t,e,i,o){}onDimension(t,e,i,o,r,n){this.data[t]=r}onDelDimension(t,e,i,o){delete this.data[t]}onDimensionNum(t,e){}onBoss(t,e,i,o,r,n){this.data[t]=r}onDelBoss(t,e,i,o){delete this.data[t]}onBossNum(t,e){}onShellEntity(t,e,i,o,r,n){this.data[t]=r}onDelShellEntity(t,e,i,o){}onShellEntityNum(t,e){}onShellCut(t,e,i,o,r,n){this.data[t]=r}onDelShellCut(t,e,i,o){delete this.data[t]}onShellCutNum(t,e){}onCrease(t,e,i,o,r,n){this.data[t]=r}onDelCrease(t,e,i,o){delete this.data[t]}onCreaseNum(t,e){}onShell(t,e,i,o,r,n){this.data[t]=r}onDelShell(t,e,i,o){delete this.data[t]}onShellNum(t,e){}onFpcFill(t,e,i,o,r,n){this.data[t]=r}onDelFpcFill(t,e,i,o){delete this.data[t]}onFpcFillNum(t,e){}onTeardrop(t,e,i,o,r,n){this.data[t]=r}onDelTeardrop(t,e,i,o){delete this.data[t]}onTeardropNum(t,e){}onImage(t,e,i,o,r,n){this.data[t]=r}onDelImage(t,e,i,o){delete this.data[t]}onImageNum(t,e){}onPoured(t,e,i,o,r,n){this.data[t]=r}onDelPoured(t,e,i,o){delete this.data[t]}onPouredNum(t,e){}onPour(t,e,i,o,r,n){this.data[t]=r}onDelPour(t,e,i,o){delete this.data[t]}onPourNum(t,e){}onRegion(t,e,i,o,r,n){this.data[t]=r}onDelRegion(t,e,i,o){delete this.data[t]}onRegionNum(t,e){}onFill(t,e,i,o,r,n){this.data[t]=r}onDelFill(t,e,i,o){delete this.data[t]}onFillNum(t,e){}onPoly(t,e,i,o,r,n){this.data[t]=r}onDelPoly(t,e,i,o){delete this.data[t]}onPolyNum(t,e){}onEQLenGrp(t,e,i,o,r){this.data[t]=o}onDelEQLenGrp(t,e,i,o){delete this.data[t]}onDelProp(t,e,i,o){delete this.data[t]}onObj(t,e,i,o,r,n){this.data[t]=r}onDelObj(t,e,i,o){delete this.data[t]}onObjNum(t,e){}onArc(t,e,i,o,r,n){this.data[t]=r}onDelArc(t,e,i,o){delete this.data[t]}onArcNum(t,e){}onCArc(t,e,i,o,r,n){this.data[t]=r}onDelCArc(t,e,i,o){delete this.data[t]}onCArcNum(t,e){}onLine(t,e,i,o,r,n){this.data[t]=r}onDelLine(t,e,i,o){delete this.data[t]}onLineNum(t,e){}onPad(t,e,i,o,r,n){this.data[t]=r}onDelPad(t,e,i,o){delete this.data[t]}onPadNum(t,e){}onVia(t,e,i,o,r,n){this.data[t]=r}onDelVia(t,e,i,o){delete this.data[t]}onViaNum(t,e){}onDelConnect(t,e,i,o){}onPreference(t,e,i,o){}onSilkOpts(t,e,i,o,r){this.data[t]=o}onDelSilkOpts(t,e,i,o){delete this.data[t]}onGroup(t,e,i,o,r){this.data[t]=o}onDelGroup(t,e,i,o){delete this.data[t]}onPrimitive(t,e,i,o,r){}onDelPrimitive(t,e,i,o){}onNet(t,e,i,o,r){}onDelNet(t,e,i,o){}onPartition(t,e,i,o,r,n){this.data[t]=r}onDelPartition(t,e,i,o){delete this.data[t]}onPartitionNum(t,e){}onEditorMeta(t,e,i,o){}onDocDetail(t,e,i,o){}onActiveLayer(t,e,i,o){}onLayerPhys(t,e,i,o,r){this.data[t]=o}onDelLayerPhys(t,e,i,o){delete this.data[t]}onLayer(t,e,i,o,r){this.data[t]=o}onDelLayer(t,e,i,o){}onCanvas(t,e,i,o){}},mer=class extends Fei{onXSignalsGroup(t,e,i,o,r){}onDelXSignalsGroup(t,e,i,o){}onXSignals(t,e,i,o,r){}onDelXSignals(t,e,i,o){}onBoard(t,e,i,o){}onDelBoard(t,e,i){}onLayerFill(t,e,i,o,r){}onDelLayerFill(t,e,i,o){}constructor(t,e,i,o){super(t,e,i,new Aht,o)}canvasSelected(){return""}onSelectChange(t,e,i){}onSelectQuit(t,e){}async getByDataType(t){let e="";if(this.isProject?(this.dataBus=this.dataBus||Dde(`/${this.windowId}/project/${this.path}`),e=await this.dataBus.rpcCall("/mgr/projectWorker/getDataByType",{doc:this.uuid,dataType:t})):(this.dataBus=this.dataBus||Dde(`/${this.windowId}/libWorker`),e=await this.dataBus.rpcCall("/mgr/libWorker/getDataByType",{uuid:this.uuid,path:this.path,dataType:t,docType:"FOOTPRINT"})),!e)return{};let i=new per;return i.consistencyManager.parseFull(e,this.uuid,"FOOTPRINT"),i.data}async getPads(){return this.getByDataType("PAD")}onBlob(t,e,i,o,r){}onDelBlob(t,e,i,o){}onFont(t,e,i,o){}onDelFont(t,e,i,o){}onString(t,e,i,o,r,n){}onDelString(t,e,i,o){}onStringNum(t,e){}onAttr(t,e,i,o,r,n){}onDelAttr(t,e,i,o){}onAttrNum(t,e){}onPanelizeSide(t,e,i,o){}onDelPanelizeSide(t,e,i,o){}onPanelizeStamp(t,e,i,o){}onDelPanelizeStamp(t,e,i,o){}onPanelize(t,e,i,o){}onDelPanelize(t,e,i){}onRuleSelector(t,e,i,o){}onDelRuleSelector(t,e,i,o){}onRule(t,e,i,o){}onDelRule(t,e,i,o,r){}onRuleTemplate(t,e,i,o){}onDimension(t,e,i,o,r,n){}onDelDimension(t,e,i,o){}onDimensionNum(t,e){}onBoss(t,e,i,o,r,n){}onDelBoss(t,e,i,o){}onBossNum(t,e){}onShellEntity(t,e,i,o,r,n){}onDelShellEntity(t,e,i,o){}onShellEntityNum(t,e){}onShellCut(t,e,i,o,r,n){}onDelShellCut(t,e,i,o){}onShellCutNum(t,e){}onCrease(t,e,i,o,r,n){}onDelCrease(t,e,i,o){}onCreaseNum(t,e){}onShell(t,e,i,o,r,n){}onDelShell(t,e,i,o){}onShellNum(t,e){}onFpcFill(t,e,i,o,r,n){}onDelFpcFill(t,e,i,o){}onFpcFillNum(t,e){}onTeardrop(t,e,i,o,r,n){}onDelTeardrop(t,e,i,o){}onTeardropNum(t,e){}onImage(t,e,i,o,r,n){}onDelImage(t,e,i,o){}onImageNum(t,e){}onPoured(t,e,i,o,r,n){}onDelPoured(t,e,i,o){}onPouredNum(t,e){}onPour(t,e,i,o,r,n){}onDelPour(t,e,i,o){}onPourNum(t,e){}onRegion(t,e,i,o,r,n){}onDelRegion(t,e,i,o){}onRegionNum(t,e){}onFill(t,e,i,o,r,n){}onDelFill(t,e,i,o){}onFillNum(t,e){}onPoly(t,e,i,o,r,n){}onDelPoly(t,e,i,o){}onPolyNum(t,e){}onEQLenGrp(t,e,i,o,r){}onDelEQLenGrp(t,e,i,o){}onDelProp(t,e,i,o){}onObj(t,e,i,o,r,n){}onDelObj(t,e,i,o){}onObjNum(t,e){}onArc(t,e,i,o,r,n){}onDelArc(t,e,i,o){}onArcNum(t,e){}onCArc(t,e,i,o,r,n){}onDelCArc(t,e,i,o){}onCArcNum(t,e){}onLine(t,e,i,o,r,n){}onDelLine(t,e,i,o){}onLineNum(t,e){}onPad(t,e,i,o,r,n){}onDelPad(t,e,i,o){}onPadNum(t,e){}onVia(t,e,i,o,r,n){}onDelVia(t,e,i,o){}onViaNum(t,e){}onDelConnect(t,e,i,o){}onPreference(t,e,i,o){}onSilkOpts(t,e,i,o,r){}onDelSilkOpts(t,e,i,o){}onGroup(t,e,i,o,r){}onDelGroup(t,e,i,o){}onPrimitive(t,e,i,o,r){}onDelPrimitive(t,e,i,o){}onNet(t,e,i,o,r){}onDelNet(t,e,i,o){}onPartition(t,e,i,o,r,n){}onDelPartition(t,e,i,o){}onPartitionNum(t,e){}onEditorMeta(t,e,i,o){}onDocDetail(t,e,i,o){}onActiveLayer(t,e,i,o){}onLayerPhys(t,e,i,o,r){}onDelLayerPhys(t,e,i,o){}onLayer(t,e,i,o,r){}onDelLayer(t,e,i,o){}onCanvas(t,e,i,o){}},Uei=(t=>(t.LIST="/pro-mgr/api/project/list",t.CREATE="/pro-mgr/api/project/create",t.GET="/pro-mgr/api/project/get",t.UPDATE="/pro-mgr/api/project/update",t.DELETE="/pro-mgr/api/project/delete",t.TICKET="/pro-mgr/api/project/ticket",t.TICKET1="/pro-mgr/api/project/ticket1",t.BACKUP_LIST="/pro-mgr/api/project/backupList",t.BACKUP="/pro-mgr/api/project/backup",t.GET_BACKUP="/pro-mgr/api/project/getBackup",t.DELETE_BACKUP="/pro-mgr/api/project/deleteBackup",t.ARCHIVE="/pro-mgr/api/project/archive",t.CREATE_BOARD="/pro-mgr/api/project/createBoards",t.STAR="/pro-mgr/api/project/star",t.UNSTAR="/pro-mgr/api/project/unstar",t.GET_PROFILE="/pro-mgr/api/project/getProfile",t))(Uei||{}),Vei=(t=>(t.LIST="/pro-mgr/api/branch/list",t.GET="/pro-mgr/api/branch/get",t.CREATE="/pro-mgr/api/branch/create",t.UPDATE="/pro-mgr/api/branch/update",t.DELETE="/pro-mgr/api/branch/delete",t))(Vei||{}),Hei=(t=>(t.LIST="/pro-mgr/api/schematic/list",t.CREATE="/pro-mgr/api/schematic/create",t.UPLOAD="/pro-mgr/api/schematic/upload",t.DELETE="/pro-mgr/api/schematic/delete",t.UPDATE="/pro-mgr/api/schematic/update",t))(Hei||{}),Gei=(t=>(t.LIST="/pro-mgr/api/document/list",t.SEARCH_LIST="/pro-mgr/api/document/searchList",t.CREATE="/pro-mgr/api/document/create",t.UPLOAD="/pro-mgr/api/document/upload",t.UPDATE="/pro-mgr/api/document/update",t.BATCH_UPDATE="/pro-mgr/api/document/batchUpdate",t.DELETE="/pro-mgr/api/document/delete",t.GET="/pro-mgr/api/document/get",t.GET_BY_SID="/pro-mgr/api/document/getBySid",t.MOVE="/pro-mgr/api/document/move",t.CHECK_IN="/pro-mgr/api/document/checkIn",t.CHECK_OUT="/pro-mgr/api/document/checkOut",t.GET_CHECK="/pro-mgr/api/document/getCheck",t.DELETE_PCB_RELATED="/pro-mgr/api/document/deletePcbRelated",t))(Gei||{}),Yei=(t=>(t.LIST="/pro-mgr/api/device/list",t.SEARCH_LIST="/pro-mgr/api/device/searchList",t.CREATE="/pro-mgr/api/device/create",t.UPLOAD="/pro-mgr/api/device/upload",t.UPDATE="/pro-mgr/api/device/update",t.BATCH_UPDATE="/pro-mgr/api/device/batchUpdate",t.GET="/pro-mgr/api/device/get",t.SEARCH_BY_USERS_AND_TITLES="/pro-mgr/api/device/searchByUsersAndTitles",t.GET_ATTR_VALUES="/pro-mgr/api/device/getAttributeValues",t.GET_ATTR_KEYS="/pro-mgr/api/device/getAttrKeys",t.DELETE="/pro-mgr/api/device/delete",t.STAR="/pro-mgr/api/device/star",t.UNSTAR="/pro-mgr/api/device/unstar",t.PLACE="/pro-mgr/api/device/place",t))(Yei||{}),Wei=(t=>(t.LIST="/pro-mgr/api/component/list",t.SEARCH_LIST="/pro-mgr/api/component/searchList",t.CREATE="/pro-mgr/api/component/create",t.UPLOAD="/pro-mgr/api/component/upload",t.UPDATE="/pro-mgr/api/component/update",t.BATCH_UPDATE="/pro-mgr/api/component/batchUpdate",t.DELETE="/pro-mgr/api/component/delete",t.GET="/pro-mgr/api/component/get",t.SEARCH_BY_USERS_AND_TITLES="/pro-mgr/api/component/searchByUsersAndTitles",t.STAR="/pro-mgr/api/component/star",t.UNSTAR="/pro-mgr/api/component/unstar",t.GET_HISTORY="/pro-mgr/api/component/getHistory",t.SET_HISTORY="/pro-mgr/api/component/setHistory",t.GET_HISTORY_DATA="/pro-mgr/api/component/getHistoryData",t))(Wei||{}),Qei=(t=>(t.LIST="/pro-mgr/api/tag/list",t.CREATE="/pro-mgr/api/tag/create",t.UPDATE="/pro-mgr/api/tag/update",t.DELETE="/pro-mgr/api/tag/delete",t))(Qei||{}),Kei=(t=>(t.SEARCH_LIST="/pro-mgr/api/copper/searchList",t.SET="/pro-mgr/api/copper/set",t.DELETE="/pro-mgr/api/copper/delete",t))(Kei||{}),Zei=(t=>(t.SEARCH_LIST="/pro-mgr/api/font/searchList",t.SET="/pro-mgr/api/font/set",t.DELETE="/pro-mgr/api/font/delete",t))(Zei||{}),Jei=(t=>(t.SEARCH_LIST="/pro-mgr/api/blob/searchList",t.SET="/pro-mgr/api/blob/set",t))(Jei||{}),qei=(t=>(t.LIST="/pro-mgr/api/attr/list",t.SEARCH_LIST="/pro-mgr/api/attr/searchList",t.CREATE="/pro-mgr/api/attr/create",t.UPLOAD="/pro-mgr/api/attr/upload",t.DELETE="/pro-mgr/api/attr/delete",t.TICKET="/pro-mgr/api/attr/ticket",t))(qei||{}),Xei=(t=>(t.GET_BACKUP="/pro-mgr/api/client/getBackup",t.GET_LIBS="/pro-mgr/api/client/getLibs",t.CREATE_LIB="/pro-mgr/api/client/createLib",t.CREATE_PROJECT="/pro-mgr/api/client/createProject",t.OPEN_PROJECT="/pro-mgr/api/client/openProject",t.DELETE_PROJECT="/pro-mgr/api/client/deleteProject",t.COPY_PROJECT="/pro-mgr/api/client/copyProject",t.CLOSE_PROJECT="/pro-mgr/api/client/closeProject",t.GET_PROJECT_PATHS="/pro-mgr/api/client/getProjectPaths",t.SELECT_PATH="/pro-mgr/api/client/selectPath",t.OPEN_DIALOG="/pro-mgr/api/client/openDialog",t.SELECT_DIR="/pro-mgr/api/client/selectDir",t.SELECT_FILE="/pro-mgr/api/client/selectFile",t.EXPORT_FILE="/pro-mgr/api/client/exportFile",t.CACHE_LIST="/pro-mgr/api/client/cacheList",t.GET_CACHE="/pro-mgr/api/client/getCache",t.SET_CACHE="/pro-mgr/api/client/setCache",t.DELETE_CACHE="/pro-mgr/api/client/deleteCache",t.PROJECT_HISTORY="/pro-mgr/api/client/projectHistory",t.DELETE_HISTORY="/pro-mgr/api/client/deletHistory",t.IS_EXIST_KV_CACHE="/pro-mgr/api/client/isExistKVCache",t.OPEN_URL="/pro-mgr/api/client/openURL",t))(Xei||{}),$ei=(t=>(t.LOG="/pro-mgr/api/other/log",t.COMPONENT_LOG="/pro-mgr/api/other/componentLog",t.TEAMS="/pro-mgr/api/other/teams",t.GET_EDITOR_VERSION="/pro-mgr/api/other/getEditorVersion",t.SET_EDITOR_VERSION="/pro-mgr/api/other/setEditorVersion",t))($ei||{}),Ei={PROJECT:Uei,BRANCH:Vei,SCHEMATIC:Hei,DOCUMENT:Gei,DEVICE:Yei,COMPONENT:Wei,TAG:Qei,COPPER:Kei,FONT:Zei,BLOB:Jei,ATTR:qei,CLIENT:Xei,OTHER:$ei},hNe=pwe(mwe()),Z3e={bus:void 0,get messageBus(){if(Z3e.bus===void 0)if(typeof window<"u"){let t=ko();t._MSG_BUS_=t._MSG_BUS_||new hNe.MessageBus,Z3e.bus=t._MSG_BUS_}else self._WORKER_BUS_=self._WORKER_BUS_||new hNe.WorkerMessageBridge(new hNe.MessageBus,self),Z3e.bus=self._WORKER_BUS_;return Z3e.bus},get messageBus2(){return self._MSG_BUS2_=self._MSG_BUS2_||new hNe.MessageBus2},loginedUserUuid:void 0},wo=Z3e,her=(t=>(t[t.COMPONENT=2]="COMPONENT",t[t.NET_FLAG=18]="NET_FLAG",t[t.NET_PORT=19]="NET_PORT",t[t.DRAWING=20]="DRAWING",t[t.NON_ELECTRICAL=21]="NON_ELECTRICAL",t[t.SHORT_CIRCUIT_FLAG=22]="SHORT_CIRCUIT_FLAG",t[t.BLOCK_SYMBOL=17]="BLOCK_SYMBOL",t))(her||{}),fer=(t=>(t.SYMBOL="S",t.FOOTPRINT="F",t.PRODUCT="P",t.MODEL_3D="3D",t))(fer||{}),x9=(t=>(t.BOTTOM_COMPONENT_LIB="BOTTOM_COMPONENT_LIB",t.DIALOG="DIALOG",t))(x9||{}),ger=["S","F","P","3D"],ber=["F","3D"],Lo=(t=>(t.ZIP=".zip",t.PRJ=".epro",t.PRJ2=".epro2",t.EPRU=".epru",t.SCH=".esch",t.PCB=".epcb",t.PANEL=".epan",t.PANEL_LIB=".epanl",t.SYMBOL=".esym",t.FOOTPRINT=".efoo",t.INSTANCE=".eins",t.COPPER=".ecop",t.BLOB=".eblob",t.FONT=".efon",t.ELIBZ=".elibz",t.ELIBZ2=".elibz2",t.ELIBU=".elibu",t.IMAGE=".webp",t))(Lo||{}),dK="|",yer=/^[^|]+(\|[^|]+)?$/,wer=(t=>(t.Board="Board",t.Schematic="Schematic",t.Sheet="Sheet",t.Simulation="Simulation",t.Pcb="Pcb",t.Panel="Panel",t.SchCanvas="SchCanvas",t.PcbCanvas="PcbCanvas",t.PanelCanvas="PanelCanvas",t.SimulationCanvas="SimulationCanvas",t))(wer||{}),Cer=(t=>(t.Device="Device",t.Symbol="Symbol",t.Footprint="Footprint",t))(Cer||{}),UNe=[{value:"",text:"All"},{value:2,text:"Component"},{value:20,text:{content:"symbolType",value:"Drawing",options:null}},{value:18,text:"Net Flag"},{value:19,text:"Net Port"},{value:25,text:"Off Page Connector"},{value:31,text:"Differential Pairs Flag"},{value:21,text:{content:"symbolType",value:"Non-Electronic Flag",options:null}},{value:22,text:"Short Flag"}],VNe=[{value:"",text:"All"},{value:2,text:"Component Symbol"},{value:20,text:"Drawing Symbol"},{value:18,text:"Netflag Symbol"},{value:19,text:"Netport Symbol"},{value:25,text:"Off Page Connector Symbol"},{value:31,text:"Differential Pairs Flag Symbol"},{value:21,text:"Non-Electronic Symbol"},{value:22,text:"Short Flag"}],xer=["S"],Ter=["S"],Ser=["S"],Mer=["3D"],Nht={footprint:ber,device:ger,symbol:xer,model3D:Mer,panelLib:Ter,cbb:Ser,modelSimLib:[]},Ns=(t=>(t.eprj=".eprj",t.eprj_backup=".eprj_backup",t.eprj2=".eprj2",t))(Ns||{});async function Ier(t){let e=new TextEncoder().encode(t),i=await crypto.subtle.digest("SHA-256",e);return Array.from(new Uint8Array(i)).map(o=>o.toString(16).padStart(2,"0")).join("")}function Ler(t){t==null&&(t="");let e=t.split("_"),i=e.length-1,o=e[i];return e.length===1||isNaN(Number(o))?`${t}_1`:/^_+$/gim.test(t)?`${t}_1`:(e[i]=(Number(o)+1).toString(),e.join("_"))}var ver=500;async function eti(t,e){let i=0;do{if(await e(t))t=Ler(t);else return t;i++}while(i<=ver);return t}var tti=[2,20,18,19,21,22,17,25,31];function I6(t){return t&&tti.indexOf(t)>=0}function iti(t){return tti.indexOf(t)>=0&&t!==17}function Der(t){return t===""?!1:!!(t&&yer.test(t))}var Eer=async t=>{let{keys:e,values:i}=oti(t);return await Ier([...e,...i].sort().join(""))},oti=t=>{let e=new Set,i=new Set;for(let o in t){let r=t[o];if(e.add(o),Array.isArray(r))i.add(JSON.stringify(r.sort()));else if(Object.prototype.toString.call(r)==="[object Object]"){let{keys:n,values:a}=oti(r);e=new Set([...e,...n]),i=new Set([...i,...a])}else i.add(JSON.stringify(r))}return{keys:e,values:i}};function f$t(t){let{uuid:e,path:i}=t;return e?e+(i?`${dK}${i}`:""):void 0}function Aer(t){let{source:e,path:i}=t;return e+(i?`${dK}${i}`:"")}async function E1t(t,e){if(e)return e;let{updateTime:i}=t;return i?String(i):await Eer(t)}async function Ner(t){let{data:e,force:i=!0,defalut:o}=t,{source:r,version:n}=e;r?(Der(r)||(e.source=f$t(e)),r.includes(dK)||(e.source=Aer(e)),n?n==="1"&&(e.version=await E1t(e)):e.version=await E1t(e,o)):i&&(e.source=f$t(e),e.version=await E1t(e,o))}async function $1(t){if(!t)return[];let{tags:e,custom_tags:i}=t;if(i){if(Array.isArray(i))return i;try{let o=JSON.parse(i);if(Array.isArray(o))return o}catch{}return typeof i=="string"?i.split(":"):[]}if(Array.isArray(t.tags))return t.tags;if(e&&JSON.stringify(e)!=="[]"){let{message:o}=await wo.messageBus.rpcCall("isEn"),r=e,n=[];if(r.parent_tag){let{name:a,name_cn:s}=r.parent_tag;if(o&&a?n.push(a):!o&&s?n.push(s):a&&n.push(a),r.child_tag){let{name:l,name_cn:c}=r.child_tag;o&&l?n.push(l):!o&&c?n.push(c):l&&n.push(l)}}return n}return[]}function a7e(){let t=navigator.userLanguage||navigator.language;return t&&t.includes("zh")?"zh-cn":"en"}function uK(t){let{tags:e,custom_tags:i="[]"}=t;if(i==="[object Object]"&&(i=""),(!i||typeof i!="string"||i==="[]")&&e){if(Array.isArray(e)&&e.length)i=JSON.stringify(e);else if(Object.prototype.toString.call(e)==="[object Object]"){let o=a7e()==="en",r=[];if(e.parent_tag){let{name:n,name_cn:a}=e.parent_tag;if(o&&n?r.push(n):!o&&a?r.push(a):n&&r.push(n),e.child_tag){let{name:s,name_cn:l}=e.child_tag;o&&s?r.push(s):!o&&l?r.push(l):s&&r.push(s)}}i=JSON.stringify(r)}}return t.custom_tags=i,t.custom_tags}function p1(t){return String(t).length===13?Number(t):String(t).length===10?Number(t)*1e3:Number(t)}function _de(t){var e;return t.path||t.project_uuid||((e=t.owner)==null?void 0:e.uuid)}var ker=pwe(mwe()),rti=(t=>t)(rti||{}),nti=(t=>(t.GET="/PrjDB/project/getData",t.UPDATE="/PrjDB/project/updateData",t.COUNT_DOC="/PrjDB/project/countDoc",t.GET_HISTORY_NODE="/PrjDB/project/getHistoricalNodes",t.GET_HISTORY_UPDATETIME="/PrjDB/project/getHistoryUpdatetime",t.GET_HISTORY_PROJECT="/PrjDB/project/getHistoricalProject",t.START_BATCH_UPLOAD="/PrjDB/project/startBatchUpload",t.END_BATCH_UPLOAD="/PrjDB/project/endBatchUpload",t.AWAIT_UPLOAD_END="/PrjDB/project/awaitUploadEnd",t.GET_MAX_TICKET="/PrjDB/project/getMaxTicket",t.GET_DOC_MAX_TICKET="/PrjDB/project/getDocMaxTicket",t.SAVE_PEND_DATA="/PrjDB/project/savePendData",t.REVOKE_PEND_DATA="/PrjDB/project/revokePendData",t.GET_CLIENT="/PrjDB/project/getClient",t.GET_BRANCH_DATA="/PrjDB/project/getBranchData",t.HISTORIES="/PrjDB/project/histories",t.COMPRESS="/PrjDB/project/compress",t.FLOW_WRITE="/PrjDB/project/flowWrite",t.GET_RELATED="/PrjDB/project/getRelated",t))(nti||{}),ati=(t=>(t.GET="/PrjDB/config/getData",t.UPDATE="/PrjDB/config/updateData",t))(ati||{}),sti=(t=>(t.GET="/PrjDB/board/getData",t.ADD="/PrjDB/board/addData",t.UPDATE="/PrjDB/board/updateData",t.DELETE="/PrjDB/board/deleteData",t.GET_ALL_KV="/PrjDB/board/getAllKVData",t.GET_ALL_ARR="/PrjDB/board/getAllArrData",t.TRY_RENAME="/PrjDB/board/tryRename",t.IS_RENAME="/PrjDB/board/isRename",t.BATCH_DELETE="/PrjDB/board/batchDelete",t.GET_BIND_KEYS="/PrjDB/board/getBindKeys",t))(sti||{}),lti=(t=>(t.GET="/PrjDB/schematic/getData",t.GET_BY_NAME="/PrjDB/schematic/getDataByName",t.TRY_RENAME="/PrjDB/schematic/tryRename",t.UPDATE_IN_LOCAL="/PrjDB/schematic/updateDataInLocal",t.ADD="/PrjDB/schematic/addData",t.UPDATE="/PrjDB/schematic/updateData",t.DEL="/PrjDB/schematic/delData",t.GET_ALL_KV="/PrjDB/schematic/getAllKVDatas",t.GET_UUID_BY_NAME="/PrjDB/schematic/getIdByName",t.GET_NAME_BY_UUID="/PrjDB/schematic/getNameById",t.GET_DISPLAY_NAME_BY_UUID="/PrjDB/schematic/getDisplayNameById",t.GET_ALL_ARR="/PrjDB/schematic/getAllArrDatas",t.GET_BY_SOURCE_VERSION="/PrjDB/schematic/getDataBySourceAndVersion",t.GET_LAST="/PrjDB/schematic/getLastData",t.GET_ALL_ARR_BY_SOURCE="/PrjDB/schematic/getAllArrDatasBySource",t.IS_RENAME="/PrjDB/schematic/isRename",t.BATCH_DELETE="/PrjDB/schematic/batchDelete",t))(lti||{}),cti=(t=>(t.ADD="/PrjDB/sheet/addData",t.DEL="/PrjDB/sheet/delData",t.UPDATE="/PrjDB/sheet/updateData",t.UPDATE_LOTS="/PrjDB/sheet/updateLotDatas",t.GET_ALL_KV="/PrjDB/sheet/getAllKVDatas",t.GET="/PrjDB/sheet/getData",t.GET_ALL_ARR="/PrjDB/sheet/getAllArrDatas",t.GET_LOTS_ARR="/PrjDB/sheet/getLotsArrDatas",t.GET_CANVAS="/PrjDB/sheet/getCanvas",t.SET_CANVAS="/PrjDB/sheet/setCanvas",t.WATCH_CANVAS_UPDATE="/PrjDB/sheet/watchCanvas",t.UNWATCH_CANVAS_UPDATE="/PrjDB/sheet/unwatchCanvas",t.GET_BY_SOURCE_VERSION="/PrjDB/sheet/getDataBySourceAndVersion",t.GET_LAST="/PrjDB/sheet/getLastData",t.GET_ALL_ARR_BY_SOURCE="/PrjDB/sheet/getAllArrDatasBySource",t.TRY_RENAME="/PrjDB/sheet/tryRename",t.IS_RENAME="/PrjDB/sheet/isRename",t.BATCH_DELETE="/PrjDB/sheet/batchDelete",t.GET_ALL_KEYS="/PrjDB/sheet/getAllPrimaryKeys",t))(cti||{}),dti=(t=>(t.ADD="/PrjDB/simulation/addData",t.DEL="/PrjDB/simulation/delData",t.UPDATE="/PrjDB/simulation/updateData",t.UPDATE_LOTS="/PrjDB/simulation/updateLotDatas",t.GET_ALL_KV="/PrjDB/simulation/getAllKVDatas",t.GET="/PrjDB/simulation/getData",t.GET_ALL_ARR="/PrjDB/simulation/getAllArrDatas",t.GET_LOTS_ARR="/PrjDB/simulation/getLotsArrDatas",t.GET_CANVAS="/PrjDB/simulation/getCanvas",t.SET_CANVAS="/PrjDB/simulation/setCanvas",t.WATCH_CANVAS_UPDATE="/PrjDB/simulation/watchCanvas",t.UNWATCH_CANVAS_UPDATE="/PrjDB/simulation/unwatchCanvas",t.GET_BY_SOURCE_VERSION="/PrjDB/simulation/getDataBySourceAndVersion",t.GET_LAST="/PrjDB/simulation/getLastData",t.GET_ALL_ARR_BY_SOURCE="/PrjDB/simulation/getAllArrDatasBySource",t.TRY_RENAME="/PrjDB/simulation/tryRename",t.IS_RENAME="/PrjDB/simulation/isRename",t.BATCH_DELETE="/PrjDB/simulation/batchDelete",t.GET_ALL_KEYS="/PrjDB/simulation/getAllPrimaryKeys",t))(dti||{}),uti=(t=>(t.GET="/PrjDB/pcb/getData",t.GET_BY_TITLE="/PrjDB/pcb/getDataByTitle",t.GET_UUID_BY_TITLE="/PrjDB/pcb/getIdByTitle",t.ADD="/PrjDB/pcb/addData",t.DEL="/PrjDB/pcb/delData",t.CREATE_SUB="/PrjDB/pcb/createSub",t.UPDATE_SUB="/PrjDB/pcb/updateSubInherit",t.UPDATE="/PrjDB/pcb/updateData",t.UPDATE_LOTS="/PrjDB/pcb/updateLotDatas",t.GET_ALL_KV="/PrjDB/pcb/getAllKVDatas",t.GET_ALL_ARR="/PrjDB/pcb/getAllArrDatas",t.GET_CANVAS="/PrjDB/pcb/getCanvas",t.SET_CANVAS="/PrjDB/pcb/setCanvas",t.WATCH_CANVAS_UPDATE="/PrjDB/pcb/watchCanvas",t.UNWATCH_CANVAS_UPDATE="/PrjDB/pcb/unwatchCanvas",t.GET_BY_SOURCE_VERSION="/PrjDB/pcb/getDataBySourceAndVersion",t.GET_LAST="/PrjDB/pcb/getLastData",t.GET_ALL_ARR_BY_SOURCE="/PrjDB/pcb/getAllArrDatasBySource",t.TRY_RENAME="/PrjDB/pcb/tryRename",t.IS_RENAME="/PrjDB/pcb/isRename",t.BATCH_DELETE="/PrjDB/pcb/batchDelete",t.GET_ALL_KEYS="/PrjDB/pcb/getAllPrimaryKeys",t))(uti||{}),pti=(t=>(t.GET="/PrjDB/panel/getData",t.ADD="/PrjDB/panel/addData",t.DEL="/PrjDB/panel/delData",t.UPDATE="/PrjDB/panel/updateData",t.UPDATE_LOTS="/PrjDB/panel/updateLotDatas",t.GET_ALL_KV="/PrjDB/panel/getAllKVDatas",t.GET_ALL_ARR="/PrjDB/panel/getAllArrDatas",t.GET_CANVAS="/PrjDB/panel/getCanvas",t.SET_CANVAS="/PrjDB/panel/setCanvas",t.WATCH_CANVAS_UPDATE="/PrjDB/panel/watchCanvas",t.UNWATCH_CANVAS_UPDATE="/PrjDB/panel/unwatchCanvas",t.TRY_RENAME="/PrjDB/panel/tryRename",t.IS_RENAME="/PrjDB/panel/isRename",t.BATCH_DELETE="/PrjDB/panel/batchDelete",t.GET_ALL_KEYS="/PrjDB/panel/getAllPrimaryKeys",t))(pti||{}),mti=(t=>(t.GET_BY_TITLE="/PrjDB/symbol/getDataByTitle",t.GET="/PrjDB/symbol/getData",t.ADD="/PrjDB/symbol/addData",t.CREATE="/PrjDB/symbol/createData",t.COVER="/PrjDB/symbol/coverData",t.CLONE="/PrjDB/symbol/cloneData",t.DEL="/PrjDB/symbol/delData",t.UPDATE="/PrjDB/symbol/updateData",t.GET_UUIDS_BY_TITLE="/PrjDB/symbol/getIdsByTitle",t.GET_TITLE_BY_UUID="/PrjDB/symbol/getTitleById",t.GET_ALL_KV="/PrjDB/symbol/getAllKVDatas",t.GET_BY_SOURCE_VERSION="/PrjDB/symbol/getDataBySourceAndVersion",t.GET_COMPARE_TICKET="/PrjDB/symbol/getDataCompareTicket",t.GET_LAST="/PrjDB/symbol/getLastData",t.IS_EXIST="/PrjDB/symbol/isExist",t.GET_ALL_KEYS="/PrjDB/symbol/getAllPrimaryKeys",t.GET_TYPE_KEYS="/PrjDB/symbol/getTypePrimaryKeys",t.GET_ALL_ARR="/PrjDB/symbol/getAllArrDatas",t.GET_ALL_ARR_BY_SOURCE="/PrjDB/symbol/getAllArrDatasBySource",t.GET_KEYS_BY_SOURCE="/PrjDB/symbol/getKeysBySource",t.GET_ALL_ARR_BY_TYPE="/PrjDB/symbol/getTypeDatas",t.GET_STR="/PrjDB/symbol/getStr",t.GET_CANVAS="/PrjDB/symbol/getCanvas",t.SET_CANVAS="/PrjDB/symbol/setCanvas",t.WATCH_CANVAS_UPDATE="/PrjDB/symbol/watchCanvas",t.UNWATCH_CANVAS_UPDATE="/PrjDB/symbol/unwatchCanvas",t.TRY_RENAME="/PrjDB/symbol/tryRename",t.WITH_ORIGINS="/PrjDB/symbol/withOrigins",t.IS_RENAME="/PrjDB/symbol/isRename",t.IS_CHANGE="/PrjDB/symbol/isChange",t.BATCH_DELETE="/PrjDB/symbol/batchDelete",t.GET_LIST="/PrjDB/symbol/getList",t))(mti||{}),hti=(t=>(t.GET_BY_TITLE="/PrjDB/footprint/getDataByTitle",t.GET="/PrjDB/footprint/getData",t.IS_EXIST="/PrjDB/footprint/isExist",t.ADD="/PrjDB/footprint/addData",t.CREATE="/PrjDB/footprint/createData",t.COVER="/PrjDB/footprint/coverData",t.CLONE="/PrjDB/footprint/cloneData",t.DEL="/PrjDB/footprint/delData",t.GET_ALL_KV="/PrjDB/footprint/getAllKVDatas",t.UPDATE="/PrjDB/footprint/updateData",t.UPDATE_IN_LOCAL="/PrjDB/footprint/updateDataInLocal",t.GET_TITLE_BY_UUID="/PrjDB/footprint/getTitleById",t.GET_BY_SOURCE_VERSION="/PrjDB/footprint/getDataBySourceAndVersion",t.GET_COMPARE_TICKET="/PrjDB/footprint/getDataCompareTicket",t.GET_LAST="/PrjDB/footprint/getLastData",t.GET_ALL_KEYS="/PrjDB/footprint/getAllPrimaryKeys",t.GET_ALL_ARR="/PrjDB/footprint/getAllArrDatas",t.GET_ALL_ARR_BY_SOURCE="/PrjDB/footprint/getAllArrDatasBySource",t.GET_KEYS_BY_SOURCE="/PrjDB/footprint/getKeysBySource",t.GET_ALL_ARR_BY_PCB_UUID="/PrjDB/footprint/getAllArrDatasByPcbId",t.GET_KEYS_BY_PCB_UUID="/PrjDB/footprint/getKeysByPcbId",t.GET_STR="/PrjDB/footprint/getStr",t.GET_CANVAS="/PrjDB/footprint/getCanvas",t.SET_CANVAS="/PrjDB/footprint/setCanvas",t.WATCH_CANVAS_UPDATE="/PrjDB/footprint/watchCanvas",t.UNWATCH_CANVAS_UPDATE="/PrjDB/footprint/unwatchCanvas",t.TRY_RENAME="/PrjDB/footprint/tryRename",t.WITH_ORIGINS="/PrjDB/footprint/withOrigins",t.IS_CHANGE="/PrjDB/footprint/isChange",t.IS_RENAME="/PrjDB/footprint/isRename",t.BATCH_DELETE="/PrjDB/footprint/batchDelete",t.GET_LIST="/PrjDB/footprint/getList",t))(hti||{}),fti=(t=>(t.GET="/PrjDB/device/getData",t.GET_ATTRIBUTES_KEYS="/PrjDB/device/getDeviceAttributesKeys",t.GET_ATTRIBUTES_VALUES="/PrjDB/device/getDeviceAttributesValues",t.GET_BY_TITLE="/PrjDB/device/getDataByTitle",t.ADD="/PrjDB/device/addData",t.CREATE="/PrjDB/device/createData",t.DEL="/PrjDB/device/delData",t.GET_ALL_KV="/PrjDB/device/getAllKVDatas",t.UPDATE="/PrjDB/device/updateData",t.GET_TITLE_BY_UUID="/PrjDB/device/getTitleById",t.GET_SYMBOL_UUID="/PrjDB/device/getSymbolIdById",t.GET_BY_SOURCE_VERSION="/PrjDB/device/getDataBySourceAndVersion",t.GET_LAST="/PrjDB/device/getLastData",t.GET_ALL_ARR_BY_SOURCE="/PrjDB/device/getAllArrDatasBySource",t.GET_KEYS_BY_SOURCE="/PrjDB/device/getKeysBySource",t.GET_COMPARE_TICKET="/PrjDB/device/getDataCompareTicket",t.IS_EXIST="/PrjDB/device/isExist",t.GET_ALL_KEYS="/PrjDB/device/getAllPrimaryKeys",t.GET_ALL_ARR="/PrjDB/device/getAllArrDatas",t.GET_ALL_ARR_BY_SYMBOL_UUID="/PrjDB/device/getAllArrDatasBySymbolId",t.GET_ALL_ARR_BY_FOOTPRINT_UUID="/PrjDB/device/getAllArrDatasByfootprintId",t.TRY_RENAME="/PrjDB/device/tryRename",t.BIND_SYMBOL="/PrjDB/device/bindSymbol",t.BIND_fOOTPRINT="/PrjDB/device/bindFootprint",t.WITH_ORIGINS="/PrjDB/device/withOrigins",t.IS_CHANGE="/PrjDB/device/isChange",t.IS_RENAME="/PrjDB/device/isRename",t.BATCH_DELETE="/PrjDB/device/batchDelete",t.GET_LIST="/PrjDB/device/getList",t))(fti||{}),gti=(t=>(t.GET="/PrjDB/attr/getData",t.UPDATE="/PrjDB/attr/updateData",t.BATCH_UPDATE="/PrjDB/attr/batchUpdateData",t.ADD="/PrjDB/attr/addData",t.DEL="/PrjDB/attr/delData",t.GET_ALL_KV="/PrjDB/attr/getAllKVDatas",t.GET_ALL_ARR="/PrjDB/attr/getAllArrDatas",t.GET_ALL_ARR_BY_HASH="/PrjDB/attr/getAllArrDatasByHash",t.BATCH_DELETE="/PrjDB/attr/batchDelete",t))(gti||{}),bti=(t=>(t.GET="/PrjDB/blob/getData",t.ADD="/PrjDB/blob/addData",t.DEL="/PrjDB/blob/delData",t.GET_ALL_ARR="/PrjDB/blob/getAllArrDatas",t.BATCH_DELETE="/PrjDB/blob/batchDelete",t))(bti||{}),yti=(t=>(t.GET="/PrjDB/copper/getData",t.ADD="/PrjDB/copper/addData",t.DEL_LOTS="/PrjDB/copper/delLotDatas",t.DEL="/PrjDB/copper/delData",t.GET_ALL_KEYS="/PrjDB/copper/getAllPrimaryKeys",t.UPDATE="/PrjDB/copper/updateData",t.GET_ALL_ARR="/PrjDB/copper/getAllArrDatas",t.GET_ALL_ARR_BY_PCB_UUID="/PrjDB/copper/getAllArrDatasByPcbId",t.GET_ALL_KEYS_BY_PCB_UUID="/PrjDB/copper/getAllArrKeysByPcbId",t))(yti||{}),wti=(t=>(t.GET="/PrjDB/font/getData",t.ADD="/PrjDB/font/addData",t.DEL_LOTS="/PrjDB/font/delLotDatas",t.DEL="/PrjDB/font/delData",t.GET_ALL_KEYS="/PrjDB/font/getAllPrimaryKeys",t.UPDATE="/PrjDB/font/updateData",t.GET_ALL_ARR="/PrjDB/font/getAllArrDatas",t.GET_ALL_ARR_BY_PCB_UUID="/PrjDB/font/getAllArrDatasByPcbId",t.GET_ALL_KEYS_BY_PCB_UUID="/PrjDB/font/getAllArrKeysByPcbId",t))(wti||{}),Cti=(t=>(t.BATCH_ADD="/PrjDB/variant/batchAddVariant",t.ADD="/PrjDB/variant/addData",t.DELETE="/PrjDB/variant/deleteData",t.BATCH_DELETE="/PrjDB/variant/batchDeleteData",t.BATCH_RESTORE="/PrjDB/variant/batchRestoreData",t.GET="/PrjDB/variant/getData",t.GET_ALL_ARR_BY_SID="/PrjDB/variant/getAllArrDatasBySid",t.UPDATE_TITLE="/PrjDB/variant/updateTitle",t.UPDATE_NOT_GROUPED="/PrjDB/variant/updateNotGrouped",t.BATCH_UPDATE_SORT="/PrjDB/variant/batchUpdateZIndex",t))(Cti||{}),xti=(t=>(t.BATCH_ADD="/PrjDB/componentGroup/batchAddData",t.ADD="/PrjDB/componentGroup/addData",t.DELETE="/PrjDB/componentGroup/deleteData",t.BATCH_DELETE="/PrjDB/componentGroup/batchDeleteData",t.BATCH_RESTORE="/PrjDB/componentGroup/batchRestoreData",t.GET="/PrjDB/componentGroup/getData",t.GET_ALL_ARR_BY_SID="/PrjDB/componentGroup/getAllArrDatasBySid",t.GET_ATTR_DATA="/PrjDB/componentGroup/getComponentGroupData",t.UPDATE_TITLE="/PrjDB/componentGroup/updateTitle",t.BATCH_UPDATE_SORT="/PrjDB/componentGroup/batchUpdateZIndex",t.BATCH_UPLOAD_VARIANT_INDEX="/PrjDB/componentGroup/batchUploadGroupSortInVariant",t.BATCH_DELETE_VARIANT_INDEX="/PrjDB/componentGroup/batchDeleteGroupSortInVariant",t.UPLOAD_ATTR_DATA="/PrjDB/componentGroup/uploadComponentGroupData",t.BATCH_DELETE_ATTR_DATA="/PrjDB/componentGroup/batchDeleteComponentGroupData",t))(xti||{}),$e={VARIANT:Cti,COMPONENT_GROUP:xti,COMMON:rti,PROJECT:nti,CONFIG:ati,BOARD:sti,SCHEMATIC:lti,SHEET:cti,SIMULATION:dti,PCB:uti,PANEL:pti,SYMBOL:mti,FOOTPRINT:hti,DEVICE:fti,ATTR:gti,BLOB:bti,COPPER:yti,FONT:wti};function Gie(t){return!t.data}function Per(t){return!!(t.path&&t.uuid&&t.docType&&t.isProject!==void 0&&Object.keys(t).length===4)}async function bK(t){let{origin:e,target:i}=t;if(i.isProject){let o={uuid:i.uuid,data:e,overwriteCanvas:Gie(e)};if(i.docType===4)return{success:(await wo.messageBus.rpcCall($e.FOOTPRINT.COVER,[o,i.path])).message.success};if(I6(i.docType))return{success:(await wo.messageBus.rpcCall($e.SYMBOL.COVER,[o,i.path])).message.success};throw new Error("Api call error!")}else{let o=await Fw.getProLibSource(e);if(o.success===!1)return{success:!1,code:o.code,message:o.message};let r=o.result,n=await Fw.getProLibSource(i);if(n.success===!1)return{success:!1,code:n.code,message:n.message};let a=n.result,s=Sp(),l;if(i.docType===4)l=Mde(a,r,{docType:q1.FOOTPRINT,uuid:i.uuid,client:s});else if(i.docType===29)l=Mde(a,r,{docType:q1.PANEL_LIB,uuid:i.uuid,client:s});else if(I6(i.docType))l=Mde(a,r,{docType:q1.SYMBOL,uuid:i.uuid,client:s});else throw new Error("Api call error!");let c={path:i.path,uuid:i.uuid,dataStr:l},{message:d}=await wo.messageBus.rpcCall(Ei.COMPONENT.SET_HISTORY,c);return d.success===!1?{success:!1,code:d.code,message:d.message}:{success:!0}}}function s7e(t){return self[t]=self[t]||new ker.BroadcastChannelMessageBus(t)}async function A1t(){let t=ko();return s7e(`/${t._TAB_ID_}/notify`).rpcCall("/pro-mgr/serverTime/now")}async function Oer(t){let e=ko();return s7e(`/${e._TAB_ID_}/notify`).rpcCall("/pro-ui/libSource/getProLibSource",t)}var Xy=(t=>(t.OPEN="/pro-mgr/project/open",t.CLOSE="/pro-mgr/project/close",t.TEMP_OPEN="/pro-mgr/project/tempOpen",t.TEMP_OPEN_BY_STRING="/pro-mgr/project/tempOpenByString",t.TEMP_CLOSE="/pro-mgr/project/tempClose",t.ON_OPENED="/pro-mgr/project/onOpened",t.ON_TEMP_OPENED="/pro-mgr/project/onTempOpened",t.BEFORE_CLOSE="/pro-mgr/project/beforeClose",t.ON_CLOSED="/pro-mgr/project/onClosed",t.ON_TEMP_CLOSED="/pro-mgr/project/onTempClosed",t.ON_FAILED="/pro-mgr/project/onFailed",t.GET_RECENT_PROJECT_LIST="/pro-mgr/getRecentPrjList",t.UPDATE_PROJECT="/pro-mgr/updateProject",t.DEL_PROJECT="/pro-mgr/deleteProject",t.HAS="/pro-mgr/hasProject",t))(Xy||{}),Yt=(t=>(t.SYSTEM="system",t.INTERNAL="Internal",t.PERSONAL="personal",t.PROJECT="project",t.STAR="star",t.TEAMS="teams",t.USER="user",t.CLIENT="client",t.PUBLIC="public",t.OSHWHUB="oshwhub",t.EXTEND="extend",t))(Yt||{}),Tt=(t=>(t.DEVICE="device",t.SYMBOL="symbol",t.FOOTPRINT="footprint",t.CBB="cbb",t.MODEL3D="model3D",t.PANEL_LIB="panelLib",t.MODEL_SIM_LIB="modelSimLib",t))(Tt||{}),kht={D3Model:{client3DModelList:"api/client/steps"}},_e=class{};_e.CANVAS_UNIT_MM="mm",_e.CANVAS_UNIT_MIL="mil",_e.HEX_BLACK_COLOR="#000000",_e.HEX_WHITE_COLOR="#FFFFFF",_e.HEX_RED_COLOR="#FF0000",_e.HEX_GREEN_COLOR="#00FF00",_e.HEX_BLUE_COLOR="#0000FF",_e.HEX_GRAY_COLOR1="#F1F1F1",_e.HEX_GRAY_COLOR2="#EFEFEF",_e.HEX_GRAY_COLOR3="#999999",_e.HEX_GRAY_COLOR4="#666666",_e.HEX_GRAY_COLOR5="#333333",_e.HEX_GRAY_COLOR6="#CCCCCC",_e.DEFAULT_PAGESIZE=50,_e.SYMBOLTYPE_ITEM_ALL_VALUE="@all",_e.SYMBOLTYPE_ITEM_ALL_TITLE="All",_e.D3MVIEW_DEFAULT_TRANSFORM="0, 0, 0, 0, 0, 0, 0, 0, 0",_e.DEVICE_INDEX_TAG="$_",_e.DEVICE_SPLIT_TAG="@_",_e.LIB_SPLIT_TAG="#_",_e.CATEGORY_ITEM_ALL_VALUE="@all",_e.CATEGORY_ITEM_ALL_TITLE="All",_e.FAVORITELIB_UUID="star",_e.SYSTEMLIB_UUID="0819f05c4eef4c71ace90d822a990e87",_e.SYSTEMLIB_UUID_ALIAS="lcsc",_e.USERLIB_ALIAS="mine",_e.PUBLICLIB_ALIAS="user",_e.STD_PUBLIC_LIB_UUID="stdPublic",_e.RECENT_LIB_UUID="recent",_e.INTERNAL_LIB_ALIAS="Internal",_e.PERSIONAL_WORKSPACE="Personal",_e.EDU_WORKSPACE="6d84b27f18f540b6a31c4d657314ab13",_e.EDA_TEST_WORKSPACE="407ec92f2a2f4275bf08cbebf64f5e08",_e.LIB_SYSTEM_KEY="system",_e.LIB_PROJECT_KEY="project",_e.LIB_PERSONAL_KEY="personal",_e.LIB_PUBLIC_KEY="public",_e.LIB_INTERNAL_KEY="Internal",_e.LIB_FAVORITE_KEY="favorite",_e.LIB_TEMAS_KEY="teams",_e.API=kht,_e.ERR_CODE={NORMAL:-1,DUP_NAME:-9001};var g$t={},Rer=(function(t,e,i,o,r){var n=new Worker(g$t[e]||(g$t[e]=URL.createObjectURL(new Blob([t+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return n.onmessage=function(a){var s=a.data,l=s.$e$;if(l){var c=new Error(l[0]);c.code=l[1],c.stack=l[2],r(c,null)}else r(null,s)},n.postMessage(i,o),n}),Uc=Uint8Array,uS=Uint16Array,xwe=Int32Array,jde=new Uc([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Bde=new Uc([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),cwe=new Uc([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Tti=function(t,e){for(var i=new uS(31),o=0;o<31;++o)i[o]=e+=1<<t[o-1];for(var r=new xwe(i[30]),o=1;o<30;++o)for(var n=i[o];n<i[o+1];++n)r[n]=n-i[o]<<5|o;return{b:i,r}},Sti=Tti(jde,2),Pht=Sti.b,HNe=Sti.r;Pht[28]=258,HNe[258]=28;var Mti=Tti(Bde,0),Iti=Mti.b,rht=Mti.r,dwe=new uS(32768);for(A0=0;A0<32768;++A0)qF=(A0&43690)>>1|(A0&21845)<<1,qF=(qF&52428)>>2|(qF&13107)<<2,qF=(qF&61680)>>4|(qF&3855)<<4,dwe[A0]=((qF&65280)>>8|(qF&255)<<8)>>1;var qF,A0,h8=(function(t,e,i){for(var o=t.length,r=0,n=new uS(e);r<o;++r)t[r]&&++n[t[r]-1];var a=new uS(e);for(r=1;r<e;++r)a[r]=a[r-1]+n[r-1]<<1;var s;if(i){s=new uS(1<<e);var l=15-e;for(r=0;r<o;++r)if(t[r])for(var c=r<<4|t[r],d=e-t[r],u=a[t[r]-1]++<<d,p=u|(1<<d)-1;u<=p;++u)s[dwe[u]>>l]=c}else for(s=new uS(o),r=0;r<o;++r)t[r]&&(s[r]=dwe[a[t[r]-1]++]>>15-t[r]);return s}),lU=new Uc(288);for(A0=0;A0<144;++A0)lU[A0]=8;var A0;for(A0=144;A0<256;++A0)lU[A0]=9;var A0;for(A0=256;A0<280;++A0)lU[A0]=7;var A0;for(A0=280;A0<288;++A0)lU[A0]=8;var A0,Pde=new Uc(32);for(A0=0;A0<32;++A0)Pde[A0]=5;var A0,Lti=h8(lU,9,0),vti=h8(lU,9,1),Dti=h8(Pde,5,0),Eti=h8(Pde,5,1),LNe=function(t){for(var e=t[0],i=1;i<t.length;++i)t[i]>e&&(e=t[i]);return e},d8=function(t,e,i){var o=e/8|0;return(t[o]|t[o+1]<<8)>>(e&7)&i},vNe=function(t,e){var i=e/8|0;return(t[i]|t[i+1]<<8|t[i+2]<<16)>>(e&7)},zde=function(t){return(t+7)/8|0},ZR=function(t,e,i){return(e==null||e<0)&&(e=0),(i==null||i>t.length)&&(i=t.length),new Uc(t.subarray(e,i))},Ati=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Hl=function(t,e,i){var o=new Error(e||Ati[t]);if(o.code=t,Error.captureStackTrace&&Error.captureStackTrace(o,Hl),!i)throw o;return o},l7e=function(t,e,i,o){var r=t.length,n=o?o.length:0;if(!r||e.f&&!e.l)return i||new Uc(0);var a=!i,s=a||e.i!=2,l=e.i;a&&(i=new Uc(r*3));var c=function(pe){var Z=i.length;if(pe>Z){var ee=new Uc(Math.max(Z*2,pe));ee.set(i),i=ee}},d=e.f||0,u=e.p||0,p=e.b||0,m=e.l,h=e.d,f=e.m,g=e.n,b=r*8;do{if(!m){d=d8(t,u,1);var y=d8(t,u+1,3);if(u+=3,y)if(y==1)m=vti,h=Eti,f=9,g=5;else if(y==2){var w=d8(t,u,31)+257,x=d8(t,u+10,15)+4,S=w+d8(t,u+5,31)+1;u+=14;for(var T=new Uc(S),M=new Uc(19),I=0;I<x;++I)M[cwe[I]]=d8(t,u+I*3,7);u+=x*3;for(var A=LNe(M),D=(1<<A)-1,E=h8(M,A,1),I=0;I<S;){var N=E[d8(t,u,D)];u+=N&15;var R=N>>4;if(R<16)T[I++]=R;else{var v=0,k=0;for(R==16?(k=3+d8(t,u,3),u+=2,v=T[I-1]):R==17?(k=3+d8(t,u,7),u+=3):R==18&&(k=11+d8(t,u,127),u+=7);k--;)T[I++]=v}}var P=T.subarray(0,w),O=T.subarray(w);f=LNe(P),g=LNe(O),m=h8(P,f,1),h=h8(O,g,1)}else Hl(1);else{var R=zde(u)+4,_=t[R-4]|t[R-3]<<8,j=R+_;if(j>r){l&&Hl(0);break}s&&c(p+_),i.set(t.subarray(R,j),p),e.b=p+=_,e.p=u=j*8,e.f=d;continue}if(u>b){l&&Hl(0);break}}s&&c(p+131072);for(var B=(1<<f)-1,V=(1<<g)-1,G=u;;G=u){var v=m[vNe(t,u)&B],Q=v>>4;if(u+=v&15,u>b){l&&Hl(0);break}if(v||Hl(2),Q<256)i[p++]=Q;else if(Q==256){G=u,m=null;break}else{var H=Q-254;if(Q>264){var I=Q-257,q=jde[I];H=d8(t,u,(1<<q)-1)+Pht[I],u+=q}var U=h[vNe(t,u)&V],F=U>>4;U||Hl(3),u+=U&15;var O=Iti[F];if(F>3){var q=Bde[F];O+=vNe(t,u)&(1<<q)-1,u+=q}if(u>b){l&&Hl(0);break}s&&c(p+131072);var K=p+H;if(p<O){var te=n-O,ae=Math.min(O,K);for(te+p<0&&Hl(3);p<ae;++p)i[p]=o[te+p]}for(;p<K;++p)i[p]=i[p-O]}}e.l=m,e.p=G,e.b=p,e.f=d,m&&(d=1,e.m=f,e.d=h,e.n=g)}while(!d);return p!=i.length&&a?ZR(i,0,p):i.subarray(0,p)},GR=function(t,e,i){i<<=e&7;var o=e/8|0;t[o]|=i,t[o+1]|=i>>8},bde=function(t,e,i){i<<=e&7;var o=e/8|0;t[o]|=i,t[o+1]|=i>>8,t[o+2]|=i>>16},DNe=function(t,e){for(var i=[],o=0;o<t.length;++o)t[o]&&i.push({s:o,f:t[o]});var r=i.length,n=i.slice();if(!r)return{t:lK,l:0};if(r==1){var a=new Uc(i[0].s+1);return a[i[0].s]=1,{t:a,l:1}}i.sort(function(S,T){return S.f-T.f}),i.push({s:-1,f:25001});var s=i[0],l=i[1],c=0,d=1,u=2;for(i[0]={s:-1,f:s.f+l.f,l:s,r:l};d!=r-1;)s=i[i[c].f<i[u].f?c++:u++],l=i[c!=d&&i[c].f<i[u].f?c++:u++],i[d++]={s:-1,f:s.f+l.f,l:s,r:l};for(var p=n[0].s,o=1;o<r;++o)n[o].s>p&&(p=n[o].s);var m=new uS(p+1),h=GNe(i[d-1],m,0);if(h>e){var o=0,f=0,g=h-e,b=1<<g;for(n.sort(function(T,M){return m[M.s]-m[T.s]||T.f-M.f});o<r;++o){var y=n[o].s;if(m[y]>e)f+=b-(1<<h-m[y]),m[y]=e;else break}for(f>>=g;f>0;){var w=n[o].s;m[w]<e?f-=1<<e-m[w]++-1:++o}for(;o>=0&&f;--o){var x=n[o].s;m[x]==e&&(--m[x],++f)}h=e}return{t:new Uc(m),l:h}},GNe=function(t,e,i){return t.s==-1?Math.max(GNe(t.l,e,i+1),GNe(t.r,e,i+1)):e[t.s]=i},nht=function(t){for(var e=t.length;e&&!t[--e];);for(var i=new uS(++e),o=0,r=t[0],n=1,a=function(l){i[o++]=l},s=1;s<=e;++s)if(t[s]==r&&s!=e)++n;else{if(!r&&n>2){for(;n>138;n-=138)a(32754);n>2&&(a(n>10?n-11<<5|28690:n-3<<5|12305),n=0)}else if(n>3){for(a(r),--n;n>6;n-=6)a(8304);n>2&&(a(n-3<<5|8208),n=0)}for(;n--;)a(r);n=1,r=t[s]}return{c:i.subarray(0,o),n:e}},yde=function(t,e){for(var i=0,o=0;o<e.length;++o)i+=t[o]*e[o];return i},Oht=function(t,e,i){var o=i.length,r=zde(e+2);t[r]=o&255,t[r+1]=o>>8,t[r+2]=t[r]^255,t[r+3]=t[r+1]^255;for(var n=0;n<o;++n)t[r+n+4]=i[n];return(r+4+o)*8},aht=function(t,e,i,o,r,n,a,s,l,c,d){GR(e,d++,i),++r[256];for(var u=DNe(r,15),p=u.t,m=u.l,h=DNe(n,15),f=h.t,g=h.l,b=nht(p),y=b.c,w=b.n,x=nht(f),S=x.c,T=x.n,M=new uS(19),I=0;I<y.length;++I)++M[y[I]&31];for(var I=0;I<S.length;++I)++M[S[I]&31];for(var A=DNe(M,7),D=A.t,E=A.l,N=19;N>4&&!D[cwe[N-1]];--N);var R=c+5<<3,v=yde(r,lU)+yde(n,Pde)+a,k=yde(r,p)+yde(n,f)+a+14+3*N+yde(M,D)+2*M[16]+3*M[17]+7*M[18];if(l>=0&&R<=v&&R<=k)return Oht(e,d,t.subarray(l,l+c));var P,O,_,j;if(GR(e,d,1+(k<v)),d+=2,k<v){P=h8(p,m,0),O=p,_=h8(f,g,0),j=f;var B=h8(D,E,0);GR(e,d,w-257),GR(e,d+5,T-1),GR(e,d+10,N-4),d+=14;for(var I=0;I<N;++I)GR(e,d+3*I,D[cwe[I]]);d+=3*N;for(var V=[y,S],G=0;G<2;++G)for(var Q=V[G],I=0;I<Q.length;++I){var H=Q[I]&31;GR(e,d,B[H]),d+=D[H],H>15&&(GR(e,d,Q[I]>>5&127),d+=Q[I]>>12)}}else P=Lti,O=lU,_=Dti,j=Pde;for(var I=0;I<s;++I){var q=o[I];if(q>255){var H=q>>18&31;bde(e,d,P[H+257]),d+=O[H+257],H>7&&(GR(e,d,q>>23&31),d+=jde[H]);var U=q&31;bde(e,d,_[U]),d+=j[U],U>3&&(bde(e,d,q>>5&8191),d+=Bde[U])}else bde(e,d,P[q]),d+=O[q]}return bde(e,d,P[256]),d+O[256]},Nti=new xwe([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),lK=new Uc(0),kti=function(t,e,i,o,r,n){var a=n.z||t.length,s=new Uc(o+a+5*(1+Math.ceil(a/7e3))+r),l=s.subarray(o,s.length-r),c=n.l,d=(n.r||0)&7;if(e){d&&(l[0]=n.r>>3);for(var u=Nti[e-1],p=u>>13,m=u&8191,h=(1<<i)-1,f=n.p||new uS(32768),g=n.h||new uS(h+1),b=Math.ceil(i/3),y=2*b,w=function(ce){return(t[ce]^t[ce+1]<<b^t[ce+2]<<y)&h},x=new xwe(25e3),S=new uS(288),T=new uS(32),M=0,I=0,A=n.i||0,D=0,E=n.w||0,N=0;A+2<a;++A){var R=w(A),v=A&32767,k=g[R];if(f[v]=k,g[R]=v,E<=A){var P=a-A;if((M>7e3||D>24576)&&(P>423||!c)){d=aht(t,l,0,x,S,T,I,D,N,A-N,d),D=M=I=0,N=A;for(var O=0;O<286;++O)S[O]=0;for(var O=0;O<30;++O)T[O]=0}var _=2,j=0,B=m,V=v-k&32767;if(P>2&&R==w(A-V))for(var G=Math.min(p,P)-1,Q=Math.min(32767,A),H=Math.min(258,P);V<=Q&&--B&&v!=k;){if(t[A+_]==t[A+_-V]){for(var q=0;q<H&&t[A+q]==t[A+q-V];++q);if(q>_){if(_=q,j=V,q>G)break;for(var U=Math.min(V,q-2),F=0,O=0;O<U;++O){var K=A-V+O&32767,te=f[K],ae=K-te&32767;ae>F&&(F=ae,k=K)}}}v=k,k=f[v],V+=v-k&32767}if(j){x[D++]=268435456|HNe[_]<<18|rht[j];var pe=HNe[_]&31,Z=rht[j]&31;I+=jde[pe]+Bde[Z],++S[257+pe],++T[Z],E=A+_,++M}else x[D++]=t[A],++S[t[A]]}}for(A=Math.max(A,E);A<a;++A)x[D++]=t[A],++S[t[A]];d=aht(t,l,c,x,S,T,I,D,N,A-N,d),c||(n.r=d&7|l[d/8|0]<<3,d-=7,n.h=g,n.p=f,n.i=A,n.w=E)}else{for(var A=n.w||0;A<a+c;A+=65535){var ee=A+65535;ee>=a&&(l[d/8|0]=c,ee=a),d=Oht(l,d+1,t.subarray(A,ee))}n.i=a}return ZR(s,0,o+zde(d)+r)},_er=(function(){for(var t=new Int32Array(256),e=0;e<256;++e){for(var i=e,o=9;--o;)i=(i&1&&-306674912)^i>>>1;t[e]=i}return t})(),c7e=function(){var t=-1;return{p:function(e){for(var i=t,o=0;o<e.length;++o)i=_er[i&255^e[o]]^i>>>8;t=i},d:function(){return~t}}},Pti=function(){var t=1,e=0;return{p:function(i){for(var o=t,r=e,n=i.length|0,a=0;a!=n;){for(var s=Math.min(a+2655,n);a<s;++a)r+=o+=i[a];o=(o&65535)+15*(o>>16),r=(r&65535)+15*(r>>16)}t=o,e=r},d:function(){return t%=65521,e%=65521,(t&255)<<24|(t&65280)<<8|(e&255)<<8|e>>8}}},Fde=function(t,e,i,o,r){if(!r&&(r={l:1},e.dictionary)){var n=e.dictionary.subarray(-32768),a=new Uc(n.length+t.length);a.set(n),a.set(t,n.length),t=a,r.w=n.length}return kti(t,e.level==null?6:e.level,e.mem==null?r.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+e.mem,i,o,r)},d7e=function(t,e){var i={};for(var o in t)i[o]=t[o];for(var o in e)i[o]=e[o];return i},b$t=function(t,e,i){for(var o=t(),r=t.toString(),n=r.slice(r.indexOf("[")+1,r.lastIndexOf("]")).replace(/\s+/g,"").split(","),a=0;a<o.length;++a){var s=o[a],l=n[a];if(typeof s=="function"){e+=";"+l+"=";var c=s.toString();if(s.prototype)if(c.indexOf("[native code]")!=-1){var d=c.indexOf(" ",8)+1;e+=c.slice(d,c.indexOf("(",d))}else{e+=c;for(var u in s.prototype)e+=";"+l+".prototype."+u+"="+s.prototype[u].toString()}else e+=c}else i[l]=s}return e},fNe=[],jer=function(t){var e=[];for(var i in t)t[i].buffer&&e.push((t[i]=new t[i].constructor(t[i])).buffer);return e},Ber=function(t,e,i,o){if(!fNe[i]){for(var r="",n={},a=t.length-1,s=0;s<a;++s)r=b$t(t[s],r,n);fNe[i]={c:b$t(t[a],r,n),e:n}}var l=d7e({},fNe[i].e);return Rer(fNe[i].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+e.toString()+"}",i,l,jer(l),o)},Rht=function(){return[Uc,uS,xwe,jde,Bde,cwe,Pht,Iti,vti,Eti,dwe,Ati,h8,LNe,d8,vNe,zde,ZR,Hl,l7e,Yer,Oti,Ver]},zer=function(){return[Uc,uS,xwe,jde,Bde,cwe,HNe,rht,Lti,lU,Dti,Pde,dwe,Nti,lK,h8,GR,bde,DNe,GNe,nht,yde,Oht,aht,zde,ZR,kti,Fde,zti,Oti]},Fer=function(){return[_ht,_ti]},Uer=function(){return[Bti]},Oti=function(t){return postMessage(t,[t.buffer])},Ver=function(t){return t&&{out:t.size&&new Uc(t.size),dictionary:t.dictionary}},fK=function(t){return t.ondata=function(e,i){return postMessage([e,i],[e.buffer])},function(e){e.data.length?(t.push(e.data[0],e.data[1]),postMessage([e.data[0].length])):t.flush()}},u7e=function(t,e,i,o,r,n,a){var s,l=Ber(t,o,r,function(c,d){c?(l.terminate(),e.ondata.call(e,c)):Array.isArray(d)?d.length==1?(e.queuedSize-=d[0],e.ondrain&&e.ondrain(d[0])):(d[1]&&l.terminate(),e.ondata.call(e,c,d[0],d[1])):a(d)});l.postMessage(i),e.queuedSize=0,e.push=function(c,d){e.ondata||Hl(5),s&&e.ondata(Hl(4,0,1),null,!!d),e.queuedSize+=c.length,l.postMessage([c,s=d],[c.buffer])},e.terminate=function(){l.terminate()},n&&(e.flush=function(){l.postMessage([])})},Tde=function(t,e){return t[e]|t[e+1]<<8},Sde=function(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0},N1t=function(t,e){return Sde(t,e)+Sde(t,e+4)*4294967296},qp=function(t,e,i){for(;i;++e)t[e]=i,i>>>=8},Rti=function(t,e){var i=e.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=e.level<2?4:e.level==9?2:0,t[9]=3,e.mtime!=0&&qp(t,4,Math.floor(new Date(e.mtime||Date.now())/1e3)),i){t[3]=8;for(var o=0;o<=i.length;++o)t[o+10]=i.charCodeAt(o)}},_ht=function(t){(t[0]!=31||t[1]!=139||t[2]!=8)&&Hl(6,"invalid gzip data");var e=t[3],i=10;e&4&&(i+=(t[10]|t[11]<<8)+2);for(var o=(e>>3&1)+(e>>4&1);o>0;o-=!t[i++]);return i+(e&2)},_ti=function(t){var e=t.length;return(t[e-4]|t[e-3]<<8|t[e-2]<<16|t[e-1]<<24)>>>0},jti=function(t){return 10+(t.filename?t.filename.length+1:0)},Her=function(t,e){var i=e.level,o=i==0?0:i<6?1:i==9?3:2;if(t[0]=120,t[1]=o<<6|(e.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,e.dictionary){var r=Pti();r.p(e.dictionary),qp(t,2,r.d())}},Bti=function(t,e){return((t[0]&15)!=8||t[0]>>4>7||(t[0]<<8|t[1])%31)&&Hl(6,"invalid zlib data"),(t[1]>>5&1)==+!e&&Hl(6,"invalid zlib data: "+(t[1]&32?"need":"unexpected")+" dictionary"),(t[1]>>3&4)+2};function Twe(t,e){return typeof t=="function"&&(e=t,t={}),this.ondata=e,t}var aU=(function(){function t(e,i){if(typeof e=="function"&&(i=e,e={}),this.ondata=i,this.o=e||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new Uc(98304),this.o.dictionary){var o=this.o.dictionary.subarray(-32768);this.b.set(o,32768-o.length),this.s.i=32768-o.length}}return t.prototype.p=function(e,i){this.ondata(Fde(e,this.o,0,0,this.s),i)},t.prototype.push=function(e,i){this.ondata||Hl(5),this.s.l&&Hl(4);var o=e.length+this.s.z;if(o>this.b.length){if(o>2*this.b.length-32768){var r=new Uc(o&-32768);r.set(this.b.subarray(0,this.s.z)),this.b=r}var n=this.b.length-this.s.z;this.b.set(e.subarray(0,n),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(e.subarray(n),32768),this.s.z=e.length-n+32768,this.s.i=32766,this.s.w=32768}else this.b.set(e,this.s.z),this.s.z+=e.length;this.s.l=i&1,(this.s.z>this.s.w+8191||i)&&(this.p(this.b,i||!1),this.s.w=this.s.i,this.s.i-=2)},t.prototype.flush=function(){this.ondata||Hl(5),this.s.l&&Hl(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},t})(),Ger=(function(){function t(e,i){u7e([zer,function(){return[fK,aU]}],this,Twe.call(this,e,i),function(o){var r=new aU(o.data);onmessage=fK(r)},6,1)}return t})();function zti(t,e){return Fde(t,e||{},0,0)}var KL=(function(){function t(e,i){typeof e=="function"&&(i=e,e={}),this.ondata=i;var o=e&&e.dictionary&&e.dictionary.subarray(-32768);this.s={i:0,b:o?o.length:0},this.o=new Uc(32768),this.p=new Uc(0),o&&this.o.set(o)}return t.prototype.e=function(e){if(this.ondata||Hl(5),this.d&&Hl(4),!this.p.length)this.p=e;else if(e.length){var i=new Uc(this.p.length+e.length);i.set(this.p),i.set(e,this.p.length),this.p=i}},t.prototype.c=function(e){this.s.i=+(this.d=e||!1);var i=this.s.b,o=l7e(this.p,this.s,this.o);this.ondata(ZR(o,i,this.s.b),this.d),this.o=ZR(o,this.s.b-32768),this.s.b=this.o.length,this.p=ZR(this.p,this.s.p/8|0),this.s.p&=7},t.prototype.push=function(e,i){this.e(e),this.c(i)},t})(),Fti=(function(){function t(e,i){u7e([Rht,function(){return[fK,KL]}],this,Twe.call(this,e,i),function(o){var r=new KL(o.data);onmessage=fK(r)},7,0)}return t})();function Yer(t,e){return l7e(t,{i:2},e&&e.out,e&&e.dictionary)}var d2n=(function(){function t(e,i){this.c=c7e(),this.l=0,this.v=1,aU.call(this,e,i)}return t.prototype.push=function(e,i){this.c.p(e),this.l+=e.length,aU.prototype.push.call(this,e,i)},t.prototype.p=function(e,i){var o=Fde(e,this.o,this.v&&jti(this.o),i&&8,this.s);this.v&&(Rti(o,this.o),this.v=0),i&&(qp(o,o.length-8,this.c.d()),qp(o,o.length-4,this.l)),this.ondata(o,i)},t.prototype.flush=function(){aU.prototype.flush.call(this)},t})();function k1t(t,e){e||(e={});var i=c7e(),o=t.length;i.p(t);var r=Fde(t,e,jti(e),8),n=r.length;return Rti(r,e),qp(r,n-8,i.d()),qp(r,n-4,o),r}var sht=(function(){function t(e,i){this.v=1,this.r=0,KL.call(this,e,i)}return t.prototype.push=function(e,i){if(KL.prototype.e.call(this,e),this.r+=e.length,this.v){var o=this.p.subarray(this.v-1),r=o.length>3?_ht(o):4;if(r>o.length){if(!i)return}else this.v>1&&this.onmember&&this.onmember(this.r-o.length);this.p=o.subarray(r),this.v=0}KL.prototype.c.call(this,i),this.s.f&&!this.s.l&&!i&&(this.v=zde(this.s.p)+9,this.s={i:0},this.o=new Uc(0),this.push(new Uc(0),i))},t})(),Wer=(function(){function t(e,i){var o=this;u7e([Rht,Fer,function(){return[fK,KL,sht]}],this,Twe.call(this,e,i),function(r){var n=new sht(r.data);n.onmember=function(a){return postMessage(a)},onmessage=fK(n)},9,0,function(r){return o.onmember&&o.onmember(r)})}return t})();function Qer(t,e){var i=_ht(t);return i+8>t.length&&Hl(6,"invalid gzip data"),l7e(t.subarray(i,-8),{i:2},e&&e.out||new Uc(_ti(t)),e&&e.dictionary)}var u2n=(function(){function t(e,i){this.c=Pti(),this.v=1,aU.call(this,e,i)}return t.prototype.push=function(e,i){this.c.p(e),aU.prototype.push.call(this,e,i)},t.prototype.p=function(e,i){var o=Fde(e,this.o,this.v&&(this.o.dictionary?6:2),i&&4,this.s);this.v&&(Her(o,this.o),this.v=0),i&&qp(o,o.length-4,this.c.d()),this.ondata(o,i)},t.prototype.flush=function(){aU.prototype.flush.call(this)},t})(),lht=(function(){function t(e,i){KL.call(this,e,i),this.v=e&&e.dictionary?2:1}return t.prototype.push=function(e,i){if(KL.prototype.e.call(this,e),this.v){if(this.p.length<6&&!i)return;this.p=this.p.subarray(Bti(this.p,this.v-1)),this.v=0}i&&(this.p.length<4&&Hl(6,"invalid zlib data"),this.p=this.p.subarray(0,-4)),KL.prototype.c.call(this,i)},t})(),Ker=(function(){function t(e,i){u7e([Rht,Uer,function(){return[fK,KL,lht]}],this,Twe.call(this,e,i),function(o){var r=new lht(o.data);onmessage=fK(r)},11,0)}return t})(),y$t=(function(){function t(e,i){this.o=Twe.call(this,e,i)||{},this.G=sht,this.I=KL,this.Z=lht}return t.prototype.i=function(){var e=this;this.s.ondata=function(i,o){e.ondata(i,o)}},t.prototype.push=function(e,i){if(this.ondata||Hl(5),this.s)this.s.push(e,i);else{if(this.p&&this.p.length){var o=new Uc(this.p.length+e.length);o.set(this.p),o.set(e,this.p.length)}else this.p=e;this.p.length>2&&(this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(this.o):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(this.o):new this.Z(this.o),this.i(),this.s.push(this.p,i),this.p=null)}},t})(),p2n=(function(){function t(e,i){y$t.call(this,e,i),this.queuedSize=0,this.G=Wer,this.I=Fti,this.Z=Ker}return t.prototype.i=function(){var e=this;this.s.ondata=function(i,o,r){e.ondata(i,o,r)},this.s.ondrain=function(i){e.queuedSize-=i,e.ondrain&&e.ondrain(i)}},t.prototype.push=function(e,i){this.queuedSize+=e.length,y$t.prototype.push.call(this,e,i)},t})(),Uti=function(t,e,i,o){for(var r in t){var n=t[r],a=e+r,s=o;Array.isArray(n)&&(s=d7e(o,n[1]),n=n[0]),n instanceof Uc?i[a]=[n,s]:(i[a+="/"]=[new Uc(0),s],Uti(n,a,i,o))}},w$t=typeof TextEncoder<"u"&&new TextEncoder,cht=typeof TextDecoder<"u"&&new TextDecoder,Vti=0;try{cht.decode(lK,{stream:!0}),Vti=1}catch{}var Hti=function(t){for(var e="",i=0;;){var o=t[i++],r=(o>127)+(o>223)+(o>239);if(i+r>t.length)return{s:e,r:ZR(t,i-1)};r?r==3?(o=((o&15)<<18|(t[i++]&63)<<12|(t[i++]&63)<<6|t[i++]&63)-65536,e+=String.fromCharCode(55296|o>>10,56320|o&1023)):r&1?e+=String.fromCharCode((o&31)<<6|t[i++]&63):e+=String.fromCharCode((o&15)<<12|(t[i++]&63)<<6|t[i++]&63):e+=String.fromCharCode(o)}},m2n=(function(){function t(e){this.ondata=e,Vti?this.t=new TextDecoder:this.p=lK}return t.prototype.push=function(e,i){if(this.ondata||Hl(5),i=!!i,this.t){this.ondata(this.t.decode(e,{stream:!0}),i),i&&(this.t.decode().length&&Hl(8),this.t=null);return}this.p||Hl(4);var o=new Uc(this.p.length+e.length);o.set(this.p),o.set(e,this.p.length);var r=Hti(o),n=r.s,a=r.r;i?(a.length&&Hl(8),this.p=null):this.p=a,this.ondata(n,i)},t})(),h2n=(function(){function t(e){this.ondata=e}return t.prototype.push=function(e,i){this.ondata||Hl(5),this.d&&Hl(4),this.ondata(ZL(e),this.d=i||!1)},t})();function ZL(t,e){if(e){for(var i=new Uc(t.length),o=0;o<t.length;++o)i[o]=t.charCodeAt(o);return i}if(w$t)return w$t.encode(t);for(var r=t.length,n=new Uc(t.length+(t.length>>1)),a=0,s=function(u){n[a++]=u},o=0;o<r;++o){if(a+5>n.length){var l=new Uc(a+8+(r-o<<1));l.set(n),n=l}var c=t.charCodeAt(o);c<128||e?s(c):c<2048?(s(192|c>>6),s(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|t.charCodeAt(++o)&1023,s(240|c>>18),s(128|c>>12&63),s(128|c>>6&63),s(128|c&63)):(s(224|c>>12),s(128|c>>6&63),s(128|c&63))}return ZR(n,0,a)}function Zer(t,e){if(e){for(var i="",o=0;o<t.length;o+=16384)i+=String.fromCharCode.apply(null,t.subarray(o,o+16384));return i}else{if(cht)return cht.decode(t);var r=Hti(t),n=r.s,i=r.r;return i.length&&Hl(8),n}}var Gti=function(t){return t==1?3:t<6?2:t==9?1:0},Jer=function(t,e){for(;Tde(t,e)!=1;e+=4+Tde(t,e+2));return[N1t(t,e+12),N1t(t,e+4),N1t(t,e+20)]},Ede=function(t){var e=0;if(t)for(var i in t){var o=t[i].length;o>65535&&Hl(9),e+=o+4}return e},YNe=function(t,e,i,o,r,n,a,s){var l=o.length,c=i.extra,d=s&&s.length,u=Ede(c);qp(t,e,a!=null?33639248:67324752),e+=4,a!=null&&(t[e++]=20,t[e++]=i.os),t[e]=20,e+=2,t[e++]=i.flag<<1|(n<0&&8),t[e++]=r&&8,t[e++]=i.compression&255,t[e++]=i.compression>>8;var p=new Date(i.mtime==null?Date.now():i.mtime),m=p.getFullYear()-1980;if((m<0||m>119)&&Hl(10),qp(t,e,m<<25|p.getMonth()+1<<21|p.getDate()<<16|p.getHours()<<11|p.getMinutes()<<5|p.getSeconds()>>1),e+=4,n!=-1&&(qp(t,e,i.crc),qp(t,e+4,n<0?-n-2:n),qp(t,e+8,i.size)),qp(t,e+12,l),qp(t,e+14,u),e+=16,a!=null&&(qp(t,e,d),qp(t,e+6,i.attrs),qp(t,e+10,a),e+=14),t.set(o,e),e+=l,u)for(var h in c){var f=c[h],g=f.length;qp(t,e,+h),qp(t,e+2,g),t.set(f,e+4),e+=4+g}return d&&(t.set(s,e),e+=d),e},Yti=function(t,e,i,o,r){qp(t,e,101010256),qp(t,e+8,i),qp(t,e+10,i),qp(t,e+12,o),qp(t,e+16,r)},WNe=(function(){function t(e){this.filename=e,this.c=c7e(),this.size=0,this.compression=0}return t.prototype.process=function(e,i){this.ondata(null,e,i)},t.prototype.push=function(e,i){this.ondata||Hl(5),this.c.p(e),this.size+=e.length,i&&(this.crc=this.c.d()),this.process(e,i||!1)},t})(),f2n=(function(){function t(e,i){var o=this;i||(i={}),WNe.call(this,e),this.d=new aU(i,function(r,n){o.ondata(null,r,n)}),this.compression=8,this.flag=Gti(i.level)}return t.prototype.process=function(e,i){try{this.d.push(e,i)}catch(o){this.ondata(o,null,i)}},t.prototype.push=function(e,i){WNe.prototype.push.call(this,e,i)},t})(),g2n=(function(){function t(e,i){var o=this;i||(i={}),WNe.call(this,e),this.d=new Ger(i,function(r,n,a){o.ondata(r,n,a)}),this.compression=8,this.flag=Gti(i.level),this.terminate=this.d.terminate}return t.prototype.process=function(e,i){this.d.push(e,i)},t.prototype.push=function(e,i){WNe.prototype.push.call(this,e,i)},t})(),b2n=(function(){function t(e){this.ondata=e,this.u=[],this.d=1}return t.prototype.add=function(e){var i=this;if(this.ondata||Hl(5),this.d&2)this.ondata(Hl(4+(this.d&1)*8,0,1),null,!1);else{var o=ZL(e.filename),r=o.length,n=e.comment,a=n&&ZL(n),s=r!=e.filename.length||a&&n.length!=a.length,l=r+Ede(e.extra)+30;r>65535&&this.ondata(Hl(11,0,1),null,!1);var c=new Uc(l);YNe(c,0,e,o,s,-1);var d=[c],u=function(){for(var g=0,b=d;g<b.length;g++){var y=b[g];i.ondata(null,y,!1)}d=[]},p=this.d;this.d=0;var m=this.u.length,h=d7e(e,{f:o,u:s,o:a,t:function(){e.terminate&&e.terminate()},r:function(){if(u(),p){var g=i.u[m+1];g?g.r():i.d=1}p=1}}),f=0;e.ondata=function(g,b,y){if(g)i.ondata(g,b,y),i.terminate();else if(f+=b.length,d.push(b),y){var w=new Uc(16);qp(w,0,134695760),qp(w,4,e.crc),qp(w,8,f),qp(w,12,e.size),d.push(w),h.c=f,h.b=l+f+16,h.crc=e.crc,h.size=e.size,p&&h.r(),p=1}else p&&u()},this.u.push(h)}},t.prototype.end=function(){var e=this;if(this.d&2){this.ondata(Hl(4+(this.d&1)*8,0,1),null,!0);return}this.d?this.e():this.u.push({r:function(){e.d&1&&(e.u.splice(-1,1),e.e())},t:function(){}}),this.d=3},t.prototype.e=function(){for(var e=0,i=0,o=0,r=0,n=this.u;r<n.length;r++){var a=n[r];o+=46+a.f.length+Ede(a.extra)+(a.o?a.o.length:0)}for(var s=new Uc(o+22),l=0,c=this.u;l<c.length;l++){var a=c[l];YNe(s,e,a,a.f,a.u,-a.c-2,i,a.o),e+=46+a.f.length+Ede(a.extra)+(a.o?a.o.length:0),i+=a.b}Yti(s,e,this.u.length,o,i),this.ondata(null,s,!0),this.d=2},t.prototype.terminate=function(){for(var e=0,i=this.u;e<i.length;e++){var o=i[e];o.t()}this.d=2},t})();function p7e(t,e){e||(e={});var i={},o=[];Uti(t,"",i,e);var r=0,n=0;for(var a in i){var s=i[a],l=s[0],c=s[1],d=c.level==0?0:8,u=ZL(a),p=u.length,m=c.comment,h=m&&ZL(m),f=h&&h.length,g=Ede(c.extra);p>65535&&Hl(11);var b=d?zti(l,c):l,y=b.length,w=c7e();w.p(l),o.push(d7e(c,{size:l.length,crc:w.d(),c:b,f:u,m:h,u:p!=a.length||h&&m.length!=f,o:r,compression:d})),r+=30+p+g+y,n+=76+2*(p+g)+(f||0)+y}for(var x=new Uc(n+22),S=r,T=n-r,M=0;M<o.length;++M){var u=o[M];YNe(x,u.o,u,u.f,u.u,u.c.length);var I=30+u.f.length+Ede(u.extra);x.set(u.c,u.o+I),YNe(x,r,u,u.f,u.u,u.c.length,u.o,u.m),r+=16+I+(u.m?u.m.length:0)}return Yti(x,r,o.length,T,S),x}var qer=(function(){function t(){}return t.prototype.push=function(e,i){this.ondata(null,e,i)},t.compression=0,t})(),y2n=(function(){function t(){var e=this;this.i=new KL(function(i,o){e.ondata(null,i,o)})}return t.prototype.push=function(e,i){try{this.i.push(e,i)}catch(o){this.ondata(o,null,i)}},t.compression=8,t})(),w2n=(function(){function t(e,i){var o=this;i<32e4?this.i=new KL(function(r,n){o.ondata(null,r,n)}):(this.i=new Fti(function(r,n,a){o.ondata(r,n,a)}),this.terminate=this.i.terminate)}return t.prototype.push=function(e,i){this.i.terminate&&(e=ZR(e,0)),this.i.push(e,i)},t.compression=8,t})(),C2n=(function(){function t(e){this.onfile=e,this.k=[],this.o={0:qer},this.p=lK}return t.prototype.push=function(e,i){var o=this;if(this.onfile||Hl(5),this.p||Hl(4),this.c>0){var r=Math.min(this.c,e.length),n=e.subarray(0,r);if(this.c-=r,this.d?this.d.push(n,!this.c):this.k[0].push(n),e=e.subarray(r),e.length)return this.push(e,i)}else{var a=0,s=0,l=void 0,c=void 0;this.p.length?e.length?(c=new Uc(this.p.length+e.length),c.set(this.p),c.set(e,this.p.length)):c=this.p:c=e;for(var d=c.length,u=this.c,p=u&&this.d,m=function(){var b,y=Sde(c,s);if(y==67324752){a=1,l=s,h.d=null,h.c=0;var w=Tde(c,s+6),x=Tde(c,s+8),S=w&2048,T=w&8,M=Tde(c,s+26),I=Tde(c,s+28);if(d>s+30+M+I){var A=[];h.k.unshift(A),a=2;var D=Sde(c,s+18),E=Sde(c,s+22),N=Zer(c.subarray(s+30,s+=30+M),!S);D==4294967295?(b=T?[-2]:Jer(c,s),D=b[0],E=b[1]):T&&(D=-1),s+=I,h.c=D;var R,v={name:N,compression:x,start:function(){if(v.ondata||Hl(5),!D)v.ondata(null,lK,!0);else{var k=o.o[x];k||v.ondata(Hl(14,"unknown compression type "+x,1),null,!1),R=D<0?new k(N):new k(N,D,E),R.ondata=function(j,B,V){v.ondata(j,B,V)};for(var P=0,O=A;P<O.length;P++){var _=O[P];R.push(_,!1)}o.k[0]==A&&o.c?o.d=R:R.push(lK,!0)}},terminate:function(){R&&R.terminate&&R.terminate()}};D>=0&&(v.size=D,v.originalSize=E),h.onfile(v)}return"break"}else if(u){if(y==134695760)return l=s+=12+(u==-2&&8),a=3,h.c=0,"break";if(y==33639248)return l=s-=4,a=3,h.c=0,"break"}},h=this;s<d-4;++s){var f=m();if(f==="break")break}if(this.p=lK,u<0){var g=a?c.subarray(0,l-12-(u==-2&&8)-(Sde(c,l-16)==134695760&&4)):c.subarray(0,s);p?p.push(g,!!a):this.k[+(a==2)].push(g)}if(a&2)return this.push(c.subarray(s),i);this.p=c.subarray(s)}i&&(this.c&&Hl(13),this.p=null)},t.prototype.register=function(e){this.o[e.compression]=e},t})(),Pm=(t=>(t[t.UNAUTHORIZED=401]="UNAUTHORIZED",t[t.LOGIN_FAIL=402]="LOGIN_FAIL",t[t.PERMISSION_DENIED=422]="PERMISSION_DENIED",t[t.PERMISSION_DENIED1=1111111]="PERMISSION_DENIED1",t[t.PERMISSION_DENIED_PARAMS=1111112]="PERMISSION_DENIED_PARAMS",t[t.DATA_NOT_FOUND=1111113]="DATA_NOT_FOUND",t[t.PARAMS_DATA_NOT_FOUND=1111114]="PARAMS_DATA_NOT_FOUND",t[t.REQUEST_PARAM_ILLEGAL=42222]="REQUEST_PARAM_ILLEGAL",t[t.REQUEST_PARAM_ILLEGAL1=1111115]="REQUEST_PARAM_ILLEGAL1",t[t.REQUEST_PARAMS_ILLEGAL2=1111116]="REQUEST_PARAMS_ILLEGAL2",t[t.REQUEST_PARAMS_NOT_NULL=1111117]="REQUEST_PARAMS_NOT_NULL",t[t.REQUEST_PARAMS_NOT_ALL_NULL=1111118]="REQUEST_PARAMS_NOT_ALL_NULL",t[t.REQUEST_PARAMS_MUST_ARRAY=1111119]="REQUEST_PARAMS_MUST_ARRAY",t[t.REQUEST_PARAMS_MUST_STRING=1111120]="REQUEST_PARAMS_MUST_STRING",t[t.REQUEST_PARAMS_MUST_NUMBER=1111121]="REQUEST_PARAMS_MUST_NUMBER",t[t.REQUEST_PARAMS_MUST_NUMBER_ARRAY=1111122]="REQUEST_PARAMS_MUST_NUMBER_ARRAY",t[t.REQUEST_PARAMS_MUST_STRING_ARRAY=1111123]="REQUEST_PARAMS_MUST_STRING_ARRAY",t[t.REQUEST_PARAMS_LENGTH_ERROR=1111124]="REQUEST_PARAMS_LENGTH_ERROR",t[t.REQUEST_PARAMS_TYPE_ERROR=1111125]="REQUEST_PARAMS_TYPE_ERROR",t[t.ILLEGAL_NAME=2001]="ILLEGAL_NAME",t[t.ILLEGAL_NAME1=1111126]="ILLEGAL_NAME1",t[t.ILLEGAL_NAME_ZH=1111128]="ILLEGAL_NAME_ZH",t[t.UUID_ERROR=1111127]="UUID_ERROR",t[t.DUPLICATE_DATA=1000001]="DUPLICATE_DATA",t[t.DUPLICATE_DATA1=11e3]="DUPLICATE_DATA1",t[t.DUPLICATE_DATA_PARAMS=1000017]="DUPLICATE_DATA_PARAMS",t[t.UPLOAD_LIMIT=10034]="UPLOAD_LIMIT",t[t.MORE_THAN_LIMIT=1000003]="MORE_THAN_LIMIT",t[t.FILE_MORE_THAN_LIMIT=1000004]="FILE_MORE_THAN_LIMIT",t[t.PARAMS_MORE_THAN_LIMIT=1000005]="PARAMS_MORE_THAN_LIMIT",t[t.IMAGE_MORE_THAN_LIMIT_PARAMS=1000006]="IMAGE_MORE_THAN_LIMIT_PARAMS",t[t.FILE_MORE_THAN_LIMIT_PARAMS=1000007]="FILE_MORE_THAN_LIMIT_PARAMS",t[t.END_MUST_AFTER_START=1000019]="END_MUST_AFTER_START",t[t.REQUEST_PARAMS_TIME_ERROR=1000009]="REQUEST_PARAMS_TIME_ERROR",t[t.FILES_PATH_NOT_FOUND=1000018]="FILES_PATH_NOT_FOUND",t[t.FILES_DATA_NOT_FOUND=1000011]="FILES_DATA_NOT_FOUND",t[t.FILES_TYPE_ERROR=1000012]="FILES_TYPE_ERROR",t[t.FILES_TYPE_MUST_BE_ONE=1000013]="FILES_TYPE_MUST_BE_ONE",t[t.SET_WATERMARK_FAIL=1000014]="SET_WATERMARK_FAIL",t[t.MYSQL_CRUD_ERROR=1000015]="MYSQL_CRUD_ERROR",t[t.PARAMS_JSON_FAILED=1000016]="PARAMS_JSON_FAILED",t[t.MYSQL_ERROR=3000001]="MYSQL_ERROR",t[t.NOT_FOUND=404]="NOT_FOUND",t[t.PRJ_NAME_EXISTS=2002]="PRJ_NAME_EXISTS",t[t.BACKUP_NAME_EXISTS=3002]="BACKUP_NAME_EXISTS",t[t.PRJ_NOT_EXIST=2000001]="PRJ_NOT_EXIST",t[t.ERROR_PATH=4000002]="ERROR_PATH",t[t.PROJECT_NOT_FOUND=6000001]="PROJECT_NOT_FOUND",t[t.TITLE_ILLEGAL_LEN=2003]="TITLE_ILLEGAL_LEN",t[t.FILE_READ_ONLY=1000002]="FILE_READ_ONLY",t[t.FILE_READ_ONLY1=1000008]="FILE_READ_ONLY1",t[t.DATA_NOT_EXIST=1000010]="DATA_NOT_EXIST",t[t.LIB_NOT_EXIST=2000001]="LIB_NOT_EXIST",t[t.CONFIG_API_URLS_ERROR=3001001]="CONFIG_API_URLS_ERROR",t[t.ONE_CLICK_ORDER_NOT_OPEN=3001002]="ONE_CLICK_ORDER_NOT_OPEN",t[t.MATERIAL_NOT_OPEN=3001003]="MATERIAL_NOT_OPEN",t[t.SNAPSHOT_DEPTH_LIMIT=3001004]="SNAPSHOT_DEPTH_LIMIT",t[t.OCR_SYMBOL_URL_ERROR=3001005]="OCR_SYMBOL_URL_ERROR",t[t.USER_DATA_NOT_FOUND=4000001]="USER_DATA_NOT_FOUND",t[t.USER_DISABLE_ERROR=4000012]="USER_DISABLE_ERROR",t[t.USER_EXISTS_LOGIN_ERROR=4000003]="USER_EXISTS_LOGIN_ERROR",t[t.USER_UNAUTHORIZED_MODULES_ERROR=4000004]="USER_UNAUTHORIZED_MODULES_ERROR",t[t.USER_UNAUTHORIZED_ACCESS_ERROR=4000005]="USER_UNAUTHORIZED_ACCESS_ERROR",t[t.ADMIN_NOT_CHANGE_PASSWORD=4000006]="ADMIN_NOT_CHANGE_PASSWORD",t[t.SAME_PASSWORD_NEW_PASSWORD=4000007]="SAME_PASSWORD_NEW_PASSWORD",t[t.USER_ONLINE_REGISTRATION_FAILED=4000008]="USER_ONLINE_REGISTRATION_FAILED",t[t.USER_PASSWORD_CAN_NOT_DEFAULT=4000009]="USER_PASSWORD_CAN_NOT_DEFAULT",t[t.USER_BEFORE_PASSWORD_ERROR=4000010]="USER_BEFORE_PASSWORD_ERROR",t[t.USER_PASSWORD_LENGTH_ERROR=4000011]="USER_PASSWORD_LENGTH_ERROR",t[t.ORG_ROLE_NOT_CREATE=5000001]="ORG_ROLE_NOT_CREATE",t[t.ORG_ROLE_NAME_DUPLICATE=5000002]="ORG_ROLE_NAME_DUPLICATE",t[t.ORG_ROLE_ORIGIN_ERROR=5000003]="ORG_ROLE_ORIGIN_ERROR",t[t.ORG_ROLE_NOT_DEFAULT=5000004]="ORG_ROLE_NOT_DEFAULT",t[t.ADMIN_ROLE_NOT_CHANGE=5000005]="ADMIN_ROLE_NOT_CHANGE",t[t.ADMIN_NOT_CHANGE_STATUS=5000006]="ADMIN_NOT_CHANGE_STATUS",t[t.PROJECT_ARCHIVED=6000002]="PROJECT_ARCHIVED",t[t.PROJECT_UUID_NULL=6000003]="PROJECT_UUID_NULL",t[t.PROJECT_UUID_ERROR=6000004]="PROJECT_UUID_ERROR",t[t.PROJECT_OR_TEAM_UUID_ERROR=6000005]="PROJECT_OR_TEAM_UUID_ERROR",t[t.PROJECT_NOT_PERSON_ERROR=6000006]="PROJECT_NOT_PERSON_ERROR",t[t.PROJECT_DUPLICATE_NAME=6000007]="PROJECT_DUPLICATE_NAME",t[t.ANNOTATION_HAS_BE_FOUND=6000008]="ANNOTATION_HAS_BE_FOUND",t[t.ANNOTATION_NOT_FOUND=6000009]="ANNOTATION_NOT_FOUND",t[t.ANNOTATION_CREATE_ERROR=6000010]="ANNOTATION_CREATE_ERROR",t[t.ANNOTATION_UPDATE_ERROR=6000011]="ANNOTATION_UPDATE_ERROR",t[t.ANNOTATION_DELETE_ERROR=6000012]="ANNOTATION_DELETE_ERROR",t[t.PROJECT_DUPLICATE_PATH=6000013]="PROJECT_DUPLICATE_PATH",t[t.TEAM_NOT_FOUND=7000001]="TEAM_NOT_FOUND",t[t.TEAM_UUID_NULL=7000002]="TEAM_UUID_NULL",t[t.TEAM_FOLDER_ERROR=7000003]="TEAM_FOLDER_ERROR",t[t.TEAM_FOLDER_DEEP_ERROR=7000004]="TEAM_FOLDER_DEEP_ERROR",t[t.TEAM_FOLDER_UUID_ERROR=7000005]="TEAM_FOLDER_UUID_ERROR",t[t.TEAM_URL_DUPLICATE=7000006]="TEAM_URL_DUPLICATE",t[t.TEAM_CAN_NOT_DELETE=7000007]="TEAM_CAN_NOT_DELETE",t[t.COMPONENT_UUID_NULL=8000001]="COMPONENT_UUID_NULL",t[t.COMPONENT_DATA_NOT_FOUND=8000002]="COMPONENT_DATA_NOT_FOUND",t[t.COMPONENT_NAME_DUPLICATE=8000003]="COMPONENT_NAME_DUPLICATE",t[t.COMPONENT_TYPE_ERROR=8000004]="COMPONENT_TYPE_ERROR",t[t.DELETE_SON_CATEGORY=8001001]="DELETE_SON_CATEGORY",t[t.LICENSE=9000001]="LICENSE",t[t.START_TIME=9000002]="START_TIME",t[t.END_TIME=9000003]="END_TIME",t[t.PROJECT_LIMIT=9000004]="PROJECT_LIMIT",t[t.USER_LIMIT=9000005]="USER_LIMIT",t[t.ONLINE_NUMBER_LIMIT=9000006]="ONLINE_NUMBER_LIMIT",t[t.COMPANY_CODE=9000007]="COMPANY_CODE",t[t.LIMIT_PCB=9000008]="LIMIT_PCB",t[t.LIMIT_SCH=9000009]="LIMIT_SCH",t[t.LIMIT_PANEL=9000011]="LIMIT_PANEL",t[t.TIME_ERROR=9000010]="TIME_ERROR",t[t.LICENSE_ERROR=9000012]="LICENSE_ERROR",t[t.LICENSE_TYPE_ERROR=9000013]="LICENSE_TYPE_ERROR",t[t.LICENSE_ORIGIN_ERROR=9000014]="LICENSE_ORIGIN_ERROR",t[t.BRANCH_DATA_NOT_FOUND=11000001]="BRANCH_DATA_NOT_FOUND",t[t.PARENT_UUID_ERROR=11000002]="PARENT_UUID_ERROR",t[t.BRANCH_MUST_AFTER_NODE=11000003]="BRANCH_MUST_AFTER_NODE",t[t.BRANCH_NAME_ERROR=11000004]="BRANCH_NAME_ERROR",t[t.BRANCH_NAME_DUPLICATE=11000005]="BRANCH_NAME_DUPLICATE",t[t.BRANCH_UUID_ERROR=11000006]="BRANCH_UUID_ERROR",t[t.BRANCH_NODE_SET_ERROR=11000007]="BRANCH_NODE_SET_ERROR",t[t.BRANCH_DELETE_MAIN_ERROR=11000008]="BRANCH_DELETE_MAIN_ERROR",t[t.BRANCH_CHECK_OUT_ERROR=11000009]="BRANCH_CHECK_OUT_ERROR",t[t.DOCUMENT_UUID_ERROR=12000001]="DOCUMENT_UUID_ERROR",t[t.UPDATE_FAILED=12000002]="UPDATE_FAILED",t[t.INNER_API_KEY_ERROR=1000020]="INNER_API_KEY_ERROR",t[t.BRANCH_MORE_THAN_LIMIT=11000010]="BRANCH_MORE_THAN_LIMIT",t[t.WORKSPACE_API_ERROR=1000021]="WORKSPACE_API_ERROR",t))(Pm||{}),uU=(t=>(t[t.DB_INIT_ERROR=0]="DB_INIT_ERROR",t[t.PRJ_NOT_EXIST=1]="PRJ_NOT_EXIST",t[t.NET_ERROR=2]="NET_ERROR",t[t.IS_OPENING=3]="IS_OPENING",t[t.NOT_LOGGED_IN=4]="NOT_LOGGED_IN",t[t.HAS_UNSAVED=5]="HAS_UNSAVED",t[t.DIFF_TICKET=6]="DIFF_TICKET",t))(uU||{});function Mp(t,e={}){if(!t)return"";let{proCode:i,code:o,message:r}=t;switch(i||o){case 401:return yo("UNAUTHORIZED");case 402:return yo("LOGIN_FAIL");case 422:return yo("PERMISSION_DENIED");case 1111111:return yo("PERMISSION_DENIED1");case 2000001:return yo("PRJ_NOT_EXIST");case 4000002:return yo("ERROR_PATH");case 6000001:return yo("PROJECT_NOT_FOUND");case 1111112:return yo("PERMISSION_DENIED_PARAMS",{type:r});case 1111113:return yo("DATA_NOT_FOUND");case 1111114:return yo("PARAMS_DATA_NOT_FOUND",{type:r});case 42222:return yo("REQUEST_PARAM_ILLEGAL");case 1111115:return yo("REQUEST_PARAM_ILLEGAL1");case 1111116:return yo("REQUEST_PARAMS_ILLEGAL2",{type:r});case 1111117:return yo("REQUEST_PARAMS_NOT_NULL",{type:r});case 1111118:return yo("REQUEST_PARAMS_NOT_ALL_NULL",{type:r});case 1111119:return yo("REQUEST_PARAMS_MUST_ARRAY",{type:r});case 1111120:return yo("REQUEST_PARAMS_MUST_STRING",{type:r});case 1111121:return yo("REQUEST_PARAMS_MUST_NUMBER",{type:r});case 1111122:return yo("REQUEST_PARAMS_MUST_NUMBER_ARRAY",{type:r});case 1111123:return yo("REQUEST_PARAMS_MUST_STRING_ARRAY",{type:r});case 1111124:return yo("REQUEST_PARAMS_LENGTH_ERROR",{type:r});case 1111125:return yo("REQUEST_PARAMS_TYPE_ERROR",{type:r});case 2001:return yo("ILLEGAL_NAME");case 1111126:return yo("ILLEGAL_NAME1");case 1111128:return yo("ILLEGAL_NAME_ZH");case 1111127:return yo("UUID_ERROR");case 1000001:return yo("DUPLICATE_DATA");case 11e3:return yo("DUPLICATE_DATA1");case 1000017:return yo("DUPLICATE_DATA_PARAMS",{type:r});case 10034:return yo("UPLOAD_LIMIT");case 1000003:return yo("MORE_THAN_LIMIT");case 1000004:return yo("FILE_MORE_THAN_LIMIT",{type:r});case 1000005:return yo("PARAMS_MORE_THAN_LIMIT",{type:r});case 1000006:return yo("IMAGE_MORE_THAN_LIMIT_PARAMS");case 1000007:return yo("FILE_MORE_THAN_LIMIT_PARAMS");case 1000019:return yo("END_MUST_AFTER_START");case 1000002:return yo("FILE_READ_ONLY");case 1000008:return yo("FILE_READ_ONLY1");case 1000010:return yo("DATA_NOT_EXIST",{documentName:e.documentName});case 1000009:return yo("REQUEST_PARAMS_TIME_ERROR");case 1000018:return yo("FILES_PATH_NOT_FOUND");case 1000011:return yo("FILES_DATA_NOT_FOUND");case 1000012:return yo("FILES_TYPE_ERROR");case 1000013:return yo("FILES_TYPE_MUST_BE_ONE",{type:r});case 1000014:return yo("SET_WATERMARK_FAIL");case 1000015:return yo("MYSQL_CRUD_ERROR",{type:r});case 1000016:return yo("PARAMS_JSON_FAILED",{type:r});case 3000001:return yo("MYSQL_ERROR");case 404:return yo("NOT_FOUND");case 2002:return yo("PRJ_NAME_EXISTS");case 3002:return yo("BACKUP_NAME_EXISTS");case 2003:return yo("TITLE_ILLEGAL_LEN",{documentName:e.documentName});case 2000001:return yo("LIB_NOT_EXIST");case 3001001:return yo("CONFIG_API_URLS_ERROR");case 3001002:return yo("ONE_CLICK_ORDER_NOT_OPEN");case 3001003:return yo("MATERIAL_NOT_OPEN");case 3001004:return yo("SNAPSHOT_DEPTH_LIMIT");case 3001005:return yo("OCR_SYMBOL_URL_ERROR");case 4000001:return yo("USER_DATA_NOT_FOUND");case 4000012:return yo("USER_DISABLE_ERROR");case 4000003:return yo("USER_EXISTS_LOGIN_ERROR");case 4000004:return yo("USER_UNAUTHORIZED_MODULES_ERROR");case 4000005:return yo("USER_UNAUTHORIZED_ACCESS_ERROR");case 4000006:return yo("ADMIN_NOT_CHANGE_PASSWORD");case 4000007:return yo("SAME_PASSWORD_NEW_PASSWORD");case 4000008:return yo("USER_ONLINE_REGISTRATION_FAILED");case 4000009:return yo("USER_PASSWORD_CAN_NOT_DEFAULT");case 4000010:return yo("USER_BEFORE_PASSWORD_ERROR");case 4000011:return yo("USER_PASSWORD_LENGTH_ERROR");case 5000001:return yo("ORG_ROLE_NOT_CREATE");case 5000002:return yo("ORG_ROLE_NAME_DUPLICATE");case 5000003:return yo("ORG_ROLE_ORIGIN_ERROR",{message:r});case 5000004:return yo("ORG_ROLE_NOT_DEFAULT");case 5000005:return yo("ADMIN_ROLE_NOT_CHANGE");case 5000006:return yo("ADMIN_NOT_CHANGE_STATUS");case 6000002:return yo("PROJECT_ARCHIVED");case 6000003:return yo("PROJECT_UUID_NULL");case 6000004:return yo("PROJECT_UUID_ERROR");case 6000005:return yo("PROJECT_OR_TEAM_UUID_ERROR");case 6000006:return yo("PROJECT_NOT_PERSON_ERROR");case 6000007:return yo("PROJECT_DUPLICATE_NAME");case 6000008:return yo("ANNOTATION_HAS_BE_FOUND");case 6000009:return yo("ANNOTATION_NOT_FOUND");case 6000010:return yo("ANNOTATION_CREATE_ERROR");case 6000011:return yo("ANNOTATION_UPDATE_ERROR");case 6000012:return yo("ANNOTATION_DELETE_ERROR");case 6000013:return yo("PROJECT_DUPLICATE_PATH");case 7000001:return yo("TEAM_NOT_FOUND");case 7000002:return yo("TEAM_UUID_NULL");case 7000003:return yo("TEAM_FOLDER_ERROR");case 7000004:return yo("TEAM_FOLDER_DEEP_ERROR");case 7000005:return yo("TEAM_FOLDER_UUID_ERROR");case 7000006:return yo("TEAM_URL_DUPLICATE");case 7000007:return yo("TEAM_CAN_NOT_DELETE");case 8000001:return yo("COMPONENT_UUID_NULL");case 8000002:return yo("COMPONENT_DATA_NOT_FOUND");case 8000003:return yo("COMPONENT_NAME_DUPLICATE");case 8000004:return yo("COMPONENT_TYPE_ERROR");case 8001001:return yo("DELETE_SON_CATEGORY");case 9000001:return yo("LICENSE");case 9000002:return yo("START_TIME");case 9000003:return yo("END_TIME");case 9000004:return yo("PROJECT_LIMIT");case 9000005:return yo("USER_LIMIT");case 9000006:return yo("ONLINE_NUMBER_LIMIT");case 9000007:return yo("COMPANY_CODE");case 9000008:return yo("LIMIT_PCB");case 9000009:return yo("LIMIT_SCH");case 9000011:return yo("LIMIT_PANEL");case 9000010:return yo("TIME_ERROR");case 9000012:return yo("LICENSE_ERROR");case 9000013:return yo("LICENSE_TYPE_ERROR");case 9000014:return yo("LICENSE_ORIGIN_ERROR",{type:r});case 11000001:return yo("BRANCH_DATA_NOT_FOUND");case 11000002:return yo("PARENT_UUID_ERROR");case 11000003:return yo("BRANCH_MUST_AFTER_NODE");case 11000004:return yo("BRANCH_NAME_ERROR");case 11000005:return yo("BRANCH_NAME_DUPLICATE");case 11000006:return yo("BRANCH_UUID_ERROR");case 11000007:return yo("BRANCH_NODE_SET_ERROR");case 11000008:return yo("BRANCH_DELETE_MAIN_ERROR");case 11000009:return yo("BRANCH_CHECK_OUT_ERROR");case 12000001:return yo("DOCUMENT_UUID_ERROR");case 12000002:return yo("UPDATE_FAILED");case 1000020:return yo("INNER_API_KEY_ERROR");case 11000010:return yo("BRANCH_MORE_THAN_LIMIT");case 1000021:return yo("WORKSPACE_API_ERROR")}return r}function yo(t,e){return a7e()==="zh-cn"?F1t.match("codeCN",t,e)||"":F1t.match("codeEN",t,e)||""}function JL(t){return t===422||t===1111111||t===6000002}function f8(t){return t===1000001||t===11e3||t===8000003}function jht(t){switch(t){case 4:return"Not logged in yet, please log in and try again";case 5:return"Your file hasn't been saved. Would you like to save it now?";case 0:return"The CacheStorage connection failed";case 1:return"Project does not exist";case 2:return"Network error!";case 6:return"The document version is inconsistent with the cloud version!";case 3:return"project is opening!";default:return""}}var Xer=class{static blobToUint8Array(t){return new Promise((e,i)=>{let o=new FileReader;o.onload=()=>{o.result instanceof ArrayBuffer?e(new Uint8Array(o.result)):i(new Error("FileReader result is not an ArrayBuffer"))},o.onerror=()=>i(o.error),o.readAsArrayBuffer(t)})}static bufferToString(t,e="utf-8"){return new TextDecoder(e).decode(t)}},T9=(t=>(t.IsActive="/pro-ui/liveness/monitor/isActive",t))(T9||{});async function $er(){var t;if(!Ode)return!0;let e=!1,i=ko();return typeof window>"u"&&i._TAB_ID_?e=await s7e(`/${i._TAB_ID_}/notify`).rpcCall("/pro-ui/liveness/monitor/isActive"):e=(t=await wo.messageBus.rpcCall("/pro-ui/liveness/monitor/isActive"))==null?void 0:t.message,e?!0:(console.error("[\u7F16\u8F91\u5668\u5904\u4E8E\u5931\u6D3B\u72B6\u6001, \u8BF7\u68B3\u7406\u903B\u8F91, \u4E0D\u8981\u53D1\u9001\u4E0D\u5FC5\u8981\u7684\u8BF7\u6C42!!!]"),!1)}var etr=(t=>(t.Text="text/plain;charset=UTF-8",t.Json="application/json",t.Form="application/x-www-form-urlencoded;charset=UTF-8",t.FormData="multipart/form-data",t))(etr||{}),ttr=(t=>(t.ContentType="Content-Type",t.Editorversion="Editor-Version",t))(ttr||{}),itr=(t=>(t.Json="json",t.Blob="blob",t))(itr||{});async function pn(t,e,i={},o={},r=!1){if(!await otr())throw new Error("\u975E\u6CD5\u8BF7\u6C42!!!");return await rtr(t,e,i,o,r)}async function otr(){return await $er()}async function rtr(t,e,i={},o={},r=!1){return new Promise(async(n,a)=>{let s=0,l=3,c=async()=>{try{var d;t=t||"GET",ntr(t,i,o),d=i,o=o;let u=atr(t,e,d,o);d=u.params,e=u.url;let p=new XMLHttpRequest;o.withCredentials!==void 0&&(p.withCredentials=o.withCredentials),o.responseType!==void 0&&(p.responseType=o.responseType),p.open(t,e,!0),str(p,t,o,r),d=await ltr(p,t,e,d,o);let m=!1,h=()=>{if(!m)if(m=!0,p.status===200)try{if(o.responseType==="blob")n(p.response);else{let f=JSON.parse(p.responseText);f.success===!1&&(f.message=Mp(f)||f.message),n(f)}}catch(f){console.warn("catch ajax error...",f),n({success:!1,message:"Network Error!"})}else if(p.status===429)if(s<l){let f=p.getResponseHeader("Retry-After"),g=f?parseInt(f)*1e3:6e4;console.warn(`Too Many Requests, retry after ${g/1e3}s...`,p.status),s++,setTimeout(()=>{m=!1,c()},g)}else console.warn("Too Many Requests, max retry exceeded",p.status),n({success:!1,code:p.status,message:"\u8BF7\u6C42\u8FC7\u4E8E\u9891\u7E41\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"});else p.status===404?(console.warn("catch ajax error...",p.status),n({success:!1,code:p.status,message:"Network Error!"})):p.status===500?(console.warn("catch ajax error...",p.status),n({success:!1,code:p.status,message:"Network Error!"})):(console.warn("catch ajax error...",p.status),n({success:!1,code:p.status,message:"Network Error!"}))};if(p.onreadystatechange=function(){p.readyState===4&&h()},p.onerror=function(f){m||(console.warn("catch ajax error...",f),n({success:!1,message:"Network Error!"}))},p.ontimeout=function(){m||(m=!0,console.warn("ajax timeout..."),n({success:!1,message:"\u8BF7\u6C42\u8D85\u65F6"}))},p.onabort=function(){m||(m=!0,console.warn("ajax aborted..."),n({success:!1,message:"\u8BF7\u6C42\u5DF2\u53D6\u6D88"}))},d instanceof Uint8Array){let f=new Blob([d]);p.send(f)}else p.send(d)}catch(u){console.warn("catch ajax error...",u),n({success:!1,message:"Network Error!"})}};await c()})}function ntr(t,e,i={}){var o;if(t.toLowerCase()!=="get"&&!(e instanceof FormData)&&typeof e!="string"&&(i==null?void 0:i.contentType)!==!1&&!((o=i==null?void 0:i.headers)!=null&&o["Content-Type"])&&(i=i||{},i.headers=Object.assign(i.headers||{},{"Content-Type":"application/json"})),i.headers){let r={};for(let n in i.headers){let a=i.headers[n];r[n]=a}i.headers=r}}function C$t(t,e=50){return typeof t!="string"?!1:t.length*2>e*1024*1024}function atr(t,e,i,o={}){var r;let n,a,s,l=[],c=o.headers,d=!1;if(i instanceof FormData)n=i;else if(typeof i=="string")n=i;else if((r=c==null?void 0:c["Content-Type"])!=null&&r.includes("application/json")){if(typeof i=="object"&&i!==null){for(let m in i)if(C$t(i[m])){d=!0;break}}if(d){let m=new FormData;for(let h in i){let f=i[h];C$t(f)?m.append(h,new Blob([f],{type:"text/plain"})):m.append(h,typeof f=="object"?JSON.stringify(f):f)}n=m,o.headers&&(o.headers["Content-Type"]="multipart/form-data")}else n=JSON.stringify(i)}else{for(a in i)if(s=i[a],s instanceof Array)for(let m=0;m<s.length;m++){let h=s[m];l.push(encodeURIComponent(`${a}[]`)+"="+encodeURIComponent(h))}else if(Object.prototype.toString.call(s)==="[object Object]")for(let m in s){let h=s[m];l.push(encodeURIComponent(`${a}[${m}]`)+"="+(h?encodeURIComponent(h):""))}else l.push(encodeURIComponent(a)+"="+encodeURIComponent(s));n=l.join("&"),t==="GET"&&n&&typeof n=="string"&&o.searchParams===!0&&(e=e+"?"+n,n={})}let u=/{[a-zA-Z]+}/gim,p=[...new Set(e.match(u))];for(let m of p){let h=m.substring(1,m.length-1);e=e.replace(m,i[h]||"")}return{params:n,url:e}}function str(t,e,i={},o=!1){let r=i.headers;if(r){for(let n in r){let a=r[n];t.setRequestHeader(encodeURI(n),encodeURI(a))}i.contentType!==!1&&!r["Content-Type"]&&t.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=UTF-8")}else i.contentType!==!1&&t.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=UTF-8");t.setRequestHeader("Editor-Version",self.PRO_EDITOR_VERSION||"");try{if(!o&&!r.path)throw new Error("Missing path")}catch(n){console.error(n)}if(self.document){let n=e.toUpperCase();if(n!=="GET"&&n!=="HEAD"){let a=/XSRF-TOKEN=(\S+);?/.exec(document.cookie);a&&t.setRequestHeader("X-XSRF-TOKEN",decodeURIComponent(a[1]))}}}var P1t=1e4;async function ltr(t,e,i,o,r={}){if(e.match(/post/i)&&i.startsWith("/")&&!i.startsWith("/servicecenter/")&&typeof o=="string"&&o.length>=P1t&&(o=k1t(new TextEncoder().encode(o),{level:1}),t.setRequestHeader("Content-Encoding","gzip")),e.match(/post/i)&&i.startsWith("/")&&!i.startsWith("/servicecenter/")&&o instanceof FormData&&r.gzipFormData===!0){let n=new Set;o.forEach((a,s)=>{n.add(s)});for(let a of n){let s=o.get(a);if(typeof s=="string"&&s.length>=P1t){let l=new Blob([k1t(new TextEncoder().encode(s),{level:1})]);o.set(a,l)}else if(s instanceof Blob&&s.size>=P1t){let l=new Blob([k1t(await Xer.blobToUint8Array(s),{level:9})]);o.set(a,l,s.name)}}t.setRequestHeader("Content-Encoding","gzip")}return o}async function Wti(t,e,i,o){if(!o||!i){let a=`invalid parameters ${o}|${i}.`;return{code:_e.ERR_CODE.NORMAL,success:!1,msg:a,message:a,result:null}}let r=await pn("POST",e?vu(mn.DEVICE.DELETE,{uuid:o}):vu(mn.COMPONENT.DELETE,{uuid:o}),{},{headers:{"Content-Type":"application/json",path:i}});if(r.code===0&&r.success)return{code:0,success:!0,msg:"",message:"",result:{componentId:o}};let n=r.message||r.msg||"Request Error.";return{...r,msg:n,message:n,result:{componentId:o}}}async function ctr(t,e,i){if(t){let d="operations not currently supported.";return{code:_e.ERR_CODE.NORMAL,success:!1,msg:d,message:d,result:null}}let o={code:0,success:!0,result:{devices:{succeed:[],failed:[]},symbols:{succeed:[],failed:[]},footprints:{succeed:[],failed:[]},d3models:{succeed:[],failed:[]},cbbs:{succeed:[],failed:[]},panels:{succeed:[],failed:[]}},msg:"",message:""},r=await pde(t,!0,e,i.devices||[]);o.result.devices={...r.result};let n=await pde(t,!1,e,i.symbols||[]);o.result.symbols={...n.result};let a=await pde(t,!1,e,i.footprints||[]);o.result.footprints={...a.result};let s=await pde(t,!1,e,i.d3models||[]);o.result.d3models={...s.result};let l=await pde(t,!1,e,i.cbbs||[]);o.result.cbbs={...l.result};let c=await pde(t,!1,e,i.panels||[]);return o.result.panels={...c.result},o}async function pde(t,e,i,o){let r=[],n=[];for(let a=0;a<o.length;a++){let s=await Wti(t,e,i,o[a]);if(s.code===0&&s.success){r.push(o[a]);continue}r.push(o[a])}return{code:0,success:!0,result:{succeed:r,failed:n},msg:"",message:""}}function Qti(t){if(!t)return[];if(t instanceof Array)return t;let e=[];return t!=null&&t.parent_tag&&t!=null&&t.parent_tag.uuid&&e.push(t==null?void 0:t.parent_tag.uuid),t!=null&&t.child_tag&&t!=null&&t.child_tag.uuid&&e.push(t==null?void 0:t.child_tag.uuid),e}function yK(t){if(!t)return[];if(t instanceof Array)return t;let e=[];return t!=null&&t.parent_tag&&t!=null&&t.parent_tag.name&&e.push(t==null?void 0:t.parent_tag.name),t!=null&&t.child_tag&&t!=null&&t.child_tag.name&&e.push(t==null?void 0:t.child_tag.name),e}function eT(t,e=!1){return t?e?x$t(t):t.indexOf("@")>=0?dtr(t):t.indexOf("_")>=0?utr(t):x$t(t):{componentTitleOrId:void 0,path:void 0,isLocaleFilenameMode:!1}}function x$t(t){let e={componentTitleOrId:void 0,path:void 0,isLocaleFilenameMode:!1};if(!/\|/i.test(t))return e.isLocaleFilenameMode=!1,e.componentTitleOrId=t,e;let i=t.split("|");return e.componentTitleOrId=i[0],e.path=i[1],/\./.test(i[0])?(e.isLocaleFilenameMode=!0,e):(e.isLocaleFilenameMode=!1,e)}function dtr(t){let e={componentTitleOrId:void 0,path:void 0,isLocaleFilenameMode:!1};if(!/\@/i.test(t))return e.isLocaleFilenameMode=!1,e.componentTitleOrId=t,e;let i=t.split("@");return e.componentTitleOrId=i[0],e.path=i[1],/\./.test(i[0])?(e.isLocaleFilenameMode=!0,e):(e.isLocaleFilenameMode=!1,e)}function utr(t){let e={componentTitleOrId:void 0,path:void 0,isLocaleFilenameMode:!1};if(!/_/i.test(t))return e.isLocaleFilenameMode=!1,e.componentTitleOrId=t,e;let i=t.split("_");return e.componentTitleOrId=i[0],e.path=i[1],/\./.test(i[0])?(e.isLocaleFilenameMode=!0,e):(e.isLocaleFilenameMode=!1,e)}async function Bht(t,e){let i=eT(t,!0),o=i.path||e,r={code:_e.ERR_CODE.NORMAL,success:!0,result:null,msg:""};return r.result={createTime:0,created_at:"",creator:null,dataStr:JSON.stringify({model:`${i.componentTitleOrId}|${o}`,unit:"mm"}),display_title:i.componentTitleOrId||"-",uuid:`${i.componentTitleOrId}|${o}`||"",path:o,description:"",docType:16,modifier:null,owner:null,source:"",tags:{child_tag:[],parent_tag:[]},title:i.componentTitleOrId||"",updateTime:0,updated_at:"",version:"",public:void 0},r}var ptr=class{constructor(){if(!crypto||!crypto.subtle)throw new Error("\u60A8\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301crypto api");this.tool=crypto.subtle}},mtr=class extends ptr{constructor(){super(),this.keyBuffer=null,this.key=null,this.iv=null}async init(t){try{return this.keyBuffer=t.key,this.key=await this.setKey(this.keyBuffer),this.iv=await this.setIV(t.iv),this}catch{throw new Error(`invalid key or iv! ${t}`)}}setKey(t){if(t instanceof ArrayBuffer)return this.tool.importKey("raw",t,"AES-GCM",!0,["encrypt","decrypt"]);throw new Error(`invalid key! ${t}`)}setIV(t){if(t instanceof ArrayBuffer)return t;throw new Error(`invalid iv! ${t}`)}encrypt(t){return this.tool.encrypt({name:"AES-GCM",iv:this.iv},this.key,t)}decrypt(t){return this.tool.decrypt({name:"AES-GCM",iv:this.iv},this.key,t)}decrypt2(t){return this.tool.decrypt({name:"AES-GCM",iv:this.iv,tagLength:128},this.key,t)}getKey(){return this.keyBuffer}getIV(){return this.iv}};function T$t(t){let e=t.match(/[\da-f]{2}/gi);return e?new Uint8Array(e.map(function(i){return parseInt(i,16)})).buffer:null}function htr(t,e="utf-8"){var i=new TextDecoder(e);return i.decode(t)}async function Swe(t){try{if(t.dataStrId){let e=new Headers;e.append("Content-Type","text/plain;charset=UTF-8");let i=await(await fetch(t.dataStrId,{method:"GET",redirect:"error",headers:e})).arrayBuffer();if(i){let o=await ftr(t,i);return htr(o)}}else if(t.dataStr)return t.dataStr;return null}catch(e){throw new Error("fetch\u5931\u8D25!!!"+e)}}async function ftr(t,e){let i=new mtr;try{let{key:o,iv:r}=t;if(e&&r&&o){let n=T$t(o),a=T$t(r);await i.init({key:n,iv:a});let s=await i.decrypt(e);return Qer(new Uint8Array(s))}else throw new Error(`\u6570\u636E\u89E3\u5BC6\u5931\u8D25!!!\u6570\u636E\u4E0D\u6B63\u786E:data:${e},key:${o},iv:${r}`)}catch(o){throw new Error("\u6570\u636E\u89E3\u5BC6\u5931\u8D25!!!"+o)}}var Kti=(t=>(t.LIST="/api/projects",t.CBB_LIST="/api/cbbProject",t.CREATE="/api/v4/projects/add",t.GET="/api/v4/projects/{uuid}",t.UPDATE="/api/projects/{uuid}/update",t.DELETE="/api/v4/projects/{uuid}/delete",t.TICKET="/api/projects/{uuid}/ticket",t.BACKUP_LIST="/api/backups",t.BACKUP="/api/backups",t.OPERATE_BACKUP="/api/backups/{uuid}",t.ARCHIVE="/api/backups/archive",t.CREATE_BOARD="/api/projects/{uuid}/boards",t.STAR="/api/projects/{uuid}/star",t.UNSTAR="/api/projects/{uuid}/unstar",t.CREATE_DRAFT="/api/v4/projects/{project_uuid}/draft-history",t.UPLOAD_DRAFT="/api/v4/projects/{project_uuid}/draft-history/{draft_uuid}",t.STRUCTURE="/api/v4/projects/{project_uuid}/branches/{branch_uuid}/structures",t.UPDATE_IMAGES="/api/v4/projects/{projectUuid}/branches/{branchUuid}/thumbs",t.DELETE_IMAGES="/api/v4/projects/{projectUuid}/branches/{branchUuid}/thumbs/{thumbUuid}",t.GET_IMAGES="/api/v4/projects/{projectUuid}/branches/{branchUuid}/thumbs",t))(Kti||{}),Zti=(t=>(t.CREATE="/api/v4/projects/{project_uuid}/branches",t.LIST="/api/v4/projects/{project_uuid}/branches",t.GET="/api/v4/projects/{project_uuid}/branches/{branch_uuid}",t.UPDATE="/api/v4/projects/{project_uuid}/branches/{branch_uuid}",t.DELETE="/api/v4/projects/{project_uuid}/branches/{branch_uuid}",t))(Zti||{}),Jti=(t=>(t.APPLY="/api/v4/snapshots/apply",t.CREATE="/api/v4/snapshots/create",t.GET="/api/v4/projects/branches/histories?path={path}&project={project}&branch={branch}&history={history}&limit={limit}",t.UPLOAD="/api/v4/snapshots/upload-signatures",t.CONFIRM="/api/v4/snapshots/upload-confirm",t))(Jti||{}),qti=(t=>(t.SET="/api/v4/projects/{project_uuid}/branches/{branch_uuid}/histories",t.GET="/api/v4/projects/{project_uuid}/branches/{branch_uuid}/histories/{history_uuid}",t))(qti||{}),Xti=(t=>(t.SET="/api/v4/components/{uuid}/histories",t.GET="/api/v4/components/{uuid}/histories/{historyUuid}",t))(Xti||{}),$ti=(t=>(t.LIST="/api/schematic/lists",t.CREATE="/api/schematic/create",t.UPLOAD="/api/schematic/upload",t.DELETE="/api/schematic/{uuid}/delete",t.UPDATE="/api/schematic/{uuid}/update",t.UPDATE_SORT="/api/schematic/{uuid}/update_sort",t.UPDATE_SORT1="/api/v2/documents/updateSorts",t))($ti||{}),eii=(t=>(t.LIST="/api/v2/documents/lists",t.CREATE="/api/v2/documents/create",t.UPLOAD="/api/v2/documents/upload",t.UPDATE="/api/v2/documents/{uuid}/update",t.UPDATE_CANVAS="/api/v2/documents/{uuid}/update_canvas",t.BATCH_UPDATE="/api/v2/documents/updateMany",t.DELETE="/api/v2/documents/{uuid}/delete",t.GET="/api/v2/documents/{uuid}",t.GET_BY_TITLE="/api/v2/documents/searchByName",t.GET_BY_SID="/api/v2/schematic/{schematicUuid}/documents",t.MOVE="/api/v2/documents/{uuid}/sort",t.CHECK_IN="/api/v4/documents/checkin/{project}/{branch}",t.CHECK_OUT="/api/v4/documents/checkout/{project}/{branch}",t.GET_CHECK="/api/v4/documents/checkout/{project}/{branch}",t.DELETE_PCB_RELATED="/api/v2/deleteCopperFontComponents",t))(eii||{}),tii=(t=>(t.LIST="/api/v2/devices",t.SEARCH_LIST="/api/devices/search",t.CREATE="/api/devices",t.UPLOAD="/api/devices/upload",t.UPDATE="/api/devices/{uuid}",t.BATCH_UPDATE="/api/devices/updateMany",t.GET="/api/v2/devices/{uuid}",t.GET_ATTR_VALUE="/api/devices/attributes",t.GET_ATTR_KEYS="/api/devices/attributeKeys",t.GET_BY_USER_AND_TITLE="/api/v2/devices/searchByUserUuidAndTitle",t.BATCH_GET="/api/devices/searchByIds",t.DELETE="/api/v4/devices/{uuid}/delete",t.STAR="/api/devices/{uuid}/star",t.UNSTAR="/api/devices/{uuid}/unstar",t.PLACE="/api/v2/upload",t))(tii||{}),iii=(t=>(t.LIST="/api/v2/components",t.SEARCH_LIST="/api/v2/components/search",t.CREATE="/api/v2/components/add",t.UPLOAD="/api/v2/components/upload",t.UPDATE="/api/v2/components/{uuid}/update",t.UPDATE_CANVAS="/api/v2/components/{uuid}/update_canvas",t.BATCH_UPDATE="/api/v2/components/updateMany",t.DELETE="/api/v4/components/{uuid}/delete",t.GET="/api/v2/components/{uuid}",t.GET_BY_TITLE="/api/v2/searchByTitles",t.GET_BY_DOC_UUID="/api/v2/components/searchByPcbId",t.GET_BY_USER_AND_TITLE="/api/v2/components/searchByUserUuidAndTitle",t.GET_BY_C="/api/searchProductByCode",t.BATCH_GET="/api/v2/components/searchByIds",t.STAR="/api/v2/components/{uuid}/star",t.UNSTAR="/api/v2/components/{uuid}/unstar",t.UPLOAD_3DMODEL="/api/3dmodel/upload",t))(iii||{}),oii=(t=>(t.LIST="/api/categories",t.CREATE="/api/categories",t.DELETE="/api/categories/{uuid}/delete",t.UPDATE="/api/categories/{uuid}",t.DEVICE_CATE="/api/open/deviceCate",t))(oii||{}),rii=(t=>(t.SEARCH_LIST="/api/coppers/search",t.SEARCH_BY_PCB_UUID="/api/coppers/searchByPcbId",t.SET="/api/coppers/upload",t.DELETE="/api/coppers/delete",t))(rii||{}),nii=(t=>(t.SEARCH_LIST="/api/textpath/search",t.SEARCH_BY_PCB_UUID="/api/textpath/searchByPcbId",t.SET="/api/textpath/upload",t.DELETE="/api/textpath/delete",t))(nii||{}),aii=(t=>(t.SEARCH_LIST="/api/v2/resources/search",t.SET="/api/v2/resources/upload",t))(aii||{}),sii=(t=>(t.LIST="/api/projects/projectUuid/attributes",t.SEARCH_LIST="/api/block_symbol_attributes/search",t.CREATE="/api/block_symbol_attributes",t.UPLOAD="/api/block_symbol_attributes/upload",t.DELETE="/api/block_symbol_attributes/delete",t.TICKET="/api/block_symbol_attributes/tickets",t))(sii||{}),lii=(t=>(t.GET_BACKUP="/api/backups/{name}",t.GET_COMPONENT="/api/v2/components/clientSearch",t.GET_DEVICE="/api/devices/clientSearch",t.GET_LIBS="/api/client/libraryPaths",t.CREATE_LIB="/api/client/createPath",t.CREATE_PROJECT="/api/client/createProject",t.OPEN_PROJECT="/api/client/openProject",t.CLOSE_PROJECT="/api/client/closeProject",t.COPY_PROJECT="/api/client/copyProject",t.DELETE_PROJECT="/api/client/deleteProject",t.GET_PROJECT_PATHS="/api/client/projectPaths",t.SELECT_PATH_ON_OFFLINE="/api/fileDialog/saveFile",t.SELECT_PATH_ON_LINE="app://api/fileDialog/saveFile",t.OPEN_DIALOG="/api/fileDialog/openPath",t.SELECT_DIR_ON_OFFLINE="/api/fileDialog/dirtory",t.SELECT_DIR_ON_LINE="app://api/client/openDir",t.SELECT_FILE="/api/fileDialog/file",t.EXPORT_FILE_ON_OFFLINE="/api/client/uploadFile",t.EXPORT_FILE_ON_LINE="app://api/client/uploadFile",t.GET_PRJ_CACHE_LIST="/api/client/tmpBackupList",t.OPERATE_PRJ_CACHE="/api/client/tmpBackup",t.CREATE_PRJ_CACHE_ONLINE="/api/client/tmpBackup/create",t.DELETE_PRJ_CACHE_ONLINE="/api/client/tmpBackup/delete",t.GET_RECENT_PROJECT="/api/client/projectHistory",t.DELETE_RECENT_PROJECT="/api/client/projectHistory/delete",t.SET_KV_CACHE="/api/client/setEditorCache",t.GET_KV_CACHE="/api/client/getEditorCache",t.IS_EXIST_KV_CACHE="/api/client/existEditorCache",t.SEARCH_SCHEMATIC_BY_NAME="/api/schematic/searchByName",t.OPEN_URL="app://api/system/openURL",t.FIND_3DMODEL="/api/client/model/find",t))(lii||{}),cii=(t=>(t.LOG="/api/v3/editor_log/upload",t.COMPONENT_LOG="/api/v4/componentLogs",t.TEAMS="/api/teams",t.GET_EDITOR_VERSION="/api/editor/version",t.SET_EDITOR_VERSION="/api/editor/changeVersion",t.ONLINE="/api/userStatistics/registerOnline",t))(cii||{}),mn={PROJECT:Kti,BRANCH:Zti,SNAPSHOT:Jti,PROJECT_HISTORY:qti,COMPONENT_HISTORY:Xti,SCHEMATIC:$ti,DOCUMENT:eii,DEVICE:tii,COMPONENT:iii,TAG:oii,COPPER:rii,FONT:nii,BLOB:aii,ATTR:sii,CLIENT:lii,OTHER:cii};function cU(t=new Date,e="yyyy-MM-dd HH:ii:ss"){if(Number.isNaN(t.getTime()))return"-";let i={"M+":t.getMonth()+1,"d+":t.getDate(),"H+":t.getHours(),"h+":t.getHours(),"i+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));for(let o in i)new RegExp("("+o+")").test(e)&&(e=e.replace(RegExp.$1,RegExp.$1.length==1?i[o]:("00"+i[o]).substr((""+i[o]).length)));return e}function gtr(t,e){function i(d){return d>=10?String(d):"0"+d}t instanceof Date?t.getTime().toString().length>13&&(t=new Date(t.getTime()/1e3)):Number.isNaN(Number(t))||t.toString().length>13&&(t=new Date(Number(t)/1e3));let o=new Date(t);if(Number.isNaN(o.getTime()))return"-";let r=o.getFullYear(),n=i(o.getMonth()+1),a=i(o.getDate()),s=i(o.getHours()),l=i(o.getMinutes()),c=i(o.getSeconds());return e==="downProject"?r+"-"+n+"-"+a:e==="migrateStandardProject"?r+"-"+n+"-"+a+"_"+s+"-"+l+"-"+c:e==="y-m-d"||e==="yyyy-MM-dd"?r+"-"+n+"-"+a:e==="y-m-d_h-m-s"?`${r}-${n}-${a}_${s}-${l}-${c}`:r+"-"+n+"-"+a+" "+s+":"+l+":"+c}function zht(t,e,i){let o=new Date().getTime(),r=cU(new Date(o)),n={avatar:"",nickname:"",username:"",uuid:""},a=t+(i?`|${i}`:"");return{createTime:o,created_at:r,creator:{...n},dataStr:JSON.stringify({model:a,unit:"mm"}),description:"",display_title:e,docType:16,modifier:{...n},owner:{...n},path:i,public:!1,source:"",std_uuid:"",tags:{child_tag:[],parent_tag:[]},ticket:0,title:e,type:0,updateTime:o,updated_at:r,uuid:t,version:""}}async function dii(t){return t?new Promise((e,i)=>{window.fetch(`https://modules.lceda.cn/3dmodel/${t}`,{method:"GET"}).then(async o=>{let r=await o.blob();e({code:0,success:!0,result:r,message:""})}).catch(async o=>{e({code:o?o.code:-9,success:!1,result:null,message:"fetch 3D model file failed."})})}):{code:-1,success:!1,result:null,message:"missing uuid or path or detail data."}}async function Mwe(t,e=_e.SYSTEMLIB_UUID,i){if(!t)return null;let o=null,r=eT(t,!0),n=r.path||e;if(r.isLocaleFilenameMode)return o=(await Bht(r.componentTitleOrId,n)).result,o;let a=await pn("GET",vu(mn.COMPONENT.GET,{uuid:r.componentTitleOrId}),{},{headers:{"Content-Type":"application/json",path:n||void 0}});if(a.code===0&&a.success&&typeof a.result=="object"&&(o=a.result),o&&!o.dataStr)try{let s=await Swe(o);o.dataStr=s}catch(s){console.error(s)}if(!o&&t&&i){let s=await dii(t);s.success&&s.result instanceof Blob&&(o=zht(t,i,n))}return o}var btr=class{constructor(t,e){this.extendLib=e,this.getList=t.getList,this.getSupportedPreviewTypes=t.getSupportedPreviewTypes,this.getDetail=t.getDetail,this.getClassificationTree=t.getClassificationTree,this.getFile=t.getDetail}async getTransformedList(t){let e=await this.getList(t),{count:i,page:o,pageSize:r,lists:n,totalPage:a}=e;return{count:i,page:o,pageSize:r,totalPage:a,lists:n.map(s=>this.extendLib.transformer.transformCbbListItem(s))}}async getTransformedDetail(t){return await this.getDetail(t)}async getTransformedClassificationTree(){var t,e;return(e=(t=await this.getClassificationTree())==null?void 0:t.map(i=>this.extendLib.transformer.transformCategory(i)))!=null?e:[]}},ytr=class{constructor(t,e){this.extendLib=e,this.getList=t.getList,this.getSupportedPreviewTypes=t.getSupportedPreviewTypes,this.getSupportedSymbolTypes=t.getSupportedSymbolTypes,this.getDetail=t.getDetail,this.getClassificationTree=t.getClassificationTree}async getTransformedList(t){let e=await this.getList(t),{count:i,page:o,pageSize:r,lists:n,totalPage:a}=e;for(let s of n)await this.setItem3DModelTitle(s);return{count:i,page:o,pageSize:r,totalPage:a,lists:n.map(s=>this.extendLib.transformer.transformDeviceListItem(s))}}async setItem3DModelTitle(t){var e,i;let o=(e=t.attributes)==null?void 0:e["3D Model"];if(t.attributes&&o&&!((i=t.attributes)!=null&&i["3D Model Title"])){let[r,n=this.extendLib.id]=o.split("|")||[],a=await Ze.getD3Model({uuid:r,path:n,isProject:!1});t.attributes["3D Model Title"]=a.title||a.display_title,t.attributes["3D Model"]=o.includes("|")?o:[r,n].join("|")}}async getTransformedDetail(t,e){let i=await this.getDetail(t,e);return await this.setItem3DModelTitle(i),this.extendLib.transformer.transformDeviceListItem(i)}async getTransformedClassificationTree(){var t,e;return(e=(t=await this.getClassificationTree())==null?void 0:t.map(i=>this.extendLib.transformer.transformCategory(i)))!=null?e:[]}},wtr=class{constructor(t,e){this.extendLib=e,this.getList=t.getList,this.getSupportedPreviewTypes=t.getSupportedPreviewTypes,this.getDetail=t.getDetail,this.getClassificationTree=t.getClassificationTree}async getTransformedList(t){let e=await this.getList(t),{count:i,page:o,pageSize:r,lists:n=[],totalPage:a}=e,s=[];for(let l of n)s.push(await this.extendLib.transformer.transformFootprintListItem(l));return{count:i,page:o,pageSize:r,totalPage:a,lists:s}}async getTransformedDetail(t,e){let i=await this.getDetail(t,e);return await this.extendLib.transformer.transformFootprintListItem(i)}async getTransformedClassificationTree(){var t,e;return(e=(t=await this.getClassificationTree())==null?void 0:t.map(i=>this.extendLib.transformer.transformCategory(i)))!=null?e:[]}},Ctr=class{constructor(t,e){this.extendLib=e,this.getList=t.getList,this.getSupportedPreviewTypes=t.getSupportedPreviewTypes,this.getDetail=t.getDetail,this.getClassificationTree=t.getClassificationTree}async getTransformedList(t){let e=await this.getList(t),{count:i,page:o,pageSize:r,lists:n=[],totalPage:a}=e,s=[];for(let l of n)s.push(await this.extendLib.transformer.transformModel3DListItem(l));return{count:i,page:o,pageSize:r,totalPage:a,lists:s}}async getTransformedDetail(t,e){let i=await this.getDetail(t,e);return await this.extendLib.transformer.transformModel3DListItem(i)}async getTransformedClassificationTree(){var t,e;return(e=(t=await this.getClassificationTree())==null?void 0:t.map(i=>this.extendLib.transformer.transformCategory(i)))!=null?e:[]}},xtr=class{constructor(t,e){this.extendLib=e,this.getList=t.getList,this.getSupportedPreviewTypes=t.getSupportedPreviewTypes,this.getDetail=t.getDetail,this.getClassificationTree=t.getClassificationTree}async getTransformedList(t){let e=await this.getList(t),{count:i,page:o,pageSize:r,lists:n=[],totalPage:a}=e,s=[];for(let l of n)s.push(await this.extendLib.transformer.transformPanelLibListItem(l));return{count:i,page:o,pageSize:r,totalPage:a,lists:s}}async getTransformedDetail(t,e){let i=await this.getDetail(t,e);return await this.extendLib.transformer.transformPanelLibListItem(i)}async getTransformedClassificationTree(){var t,e;return(e=(t=await this.getClassificationTree())==null?void 0:t.map(i=>this.extendLib.transformer.transformCategory(i)))!=null?e:[]}},Ttr=class{constructor(t,e){this.extendLib=e,this.getList=t.getList,this.getSupportedPreviewTypes=t.getSupportedPreviewTypes,this.getDetail=t.getDetail,this.getClassificationTree=t.getClassificationTree}async getTransformedList(t){let e=await this.getList(t),{count:i,page:o,pageSize:r,lists:n=[],totalPage:a}=e,s=[];for(let l of n)s.push(await this.extendLib.transformer.transformSimModelListItem(l));return{count:i,page:o,pageSize:r,totalPage:a,lists:s}}async getTransformedDetail(t,e){let i=await this.getDetail(t,e);return await this.extendLib.transformer.transformSimModelListItem(i)}async getTransformedClassificationTree(){var t,e;return(e=(t=await this.getClassificationTree())==null?void 0:t.map(i=>this.extendLib.transformer.transformCategory(i)))!=null?e:[]}},Str=class{constructor(t,e){this.extendLib=e,this.getList=t.getList,this.getSupportedPreviewTypes=t.getSupportedPreviewTypes,this.getSupportedSymbolTypes=t.getSupportedSymbolTypes,this.getDetail=t.getDetail,this.getClassificationTree=t.getClassificationTree}async getTransformedList(t){let e=await this.getList(t),{count:i,page:o,pageSize:r,lists:n,totalPage:a}=e,s=[];for(let l of n)s.push(await this.extendLib.transformer.transformSymbolListItem(l));return{count:i,page:o,pageSize:r,totalPage:a,lists:s}}async getTransformedDetail(t,e){let i=await this.getDetail(t,e);return await this.extendLib.transformer.transformSymbolListItem(i)}async getTransformedClassificationTree(){var t,e;return(e=(t=await this.getClassificationTree())==null?void 0:t.map(i=>this.extendLib.transformer.transformCategory(i)))!=null?e:[]}},Mtr=class{constructor(t){this.extendLib=t}transformTime(t=Date.now()){return t.toString().length>13?t/1e3:t}transformTimeStr(t=Date.now()){let e=this.transformTime(t);return cU(new Date(e*1e3))}transformTags(t){let{primaryClassificationName:e,primaryClassificationUuid:i,secondaryClassificationName:o,secondaryClassificationUuid:r}=t||{};return{parent_tag:e?{uuid:i,name:e}:void 0,child_tag:o?{uuid:r,name:o}:void 0}}transformCategory(t,e){var i,o;let r=(i=t.uuid)!=null?i:crypto.randomUUID();return{id:r,title:t.name,titleAdditional:t.name_cn,children:(o=t.children)==null?void 0:o.map(n=>this.transformCategory(n,r)),parentId:e}}transformDeviceListItem(t){var e,i,o,r,n,a,s,l,c,d;return t.edaFormatedData?t.edaFormatedData:{title:t.name||"",description:t.description||"",images:[],uuid:t.uuid||this.extendLib.getDefaultItemId(),path:this.extendLib.id,source:"",version:"",ticket:0,updateTime:this.transformTime(t.updateTime),createTime:this.transformTime(t.createTime||t.updateTime),display_title:t.name||"",creator:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},modifier:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},owner:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},attributes:{...(e=t.attributes)!=null?e:{},Footprint:((i=t.footprint)==null?void 0:i.uuid)||"",Symbol:((o=t.symbol)==null?void 0:o.uuid)||"",Value:t.value||((r=t.attributes)==null?void 0:r.value)||"","Supplier Part":t.supplierPart||((n=t.attributes)==null?void 0:n.supplierPart)||"",Manufacturer:t.manufacturer||((a=t.attributes)==null?void 0:a.manufacturer)||"",Description:t.description||((s=t.attributes)==null?void 0:s.description)||""},symbol:t.symbol?{display_title:t.symbol.name||"",title:((l=t.symbol.name)==null?void 0:l.toLocaleLowerCase())||"",docType:+t.symbol.symbolType,path:this.extendLib.id,uuid:t.symbol.uuid,description:void 0,version:void 0,ticket:void 0,updateTime:void 0,createTime:void 0,creator:void 0,modifier:void 0,owner:void 0,tags:void 0,source:void 0,has_device:void 0,dataStr:void 0,dataStrId:void 0}:void 0,footprint:t.footprint?{display_title:t.footprint.name||"",title:((c=t.footprint.name)==null?void 0:c.toLocaleLowerCase())||"",docType:4,path:this.extendLib.id,uuid:t.footprint.uuid,description:void 0,version:void 0,ticket:void 0,updateTime:void 0,createTime:void 0,creator:void 0,modifier:void 0,owner:void 0,tags:void 0,source:void 0,has_device:void 0,dataStr:void 0,dataStrId:void 0}:void 0,tags:this.transformTags(t.classification),symbol_type:(d=t.symbol)==null?void 0:d.symbolType}}async transformSymbolListItem(t){var e,i,o,r,n,a,s,l,c,d;return t.edaFormatedData?t.edaFormatedData:{docType:t.symbolType,uuid:t.uuid||this.extendLib.getDefaultItemId(),title:t.name||"",description:t.description||"",path:this.extendLib.id,source:"",version:(e=t.version)!=null?e:"",ticket:0,updateTime:this.transformTime(t.updateTime),createTime:this.transformTime(t.createTime||t.updateTime),display_title:t.name||"",creator:t.creator?{nickname:(i=t.creator.name)!=null?i:"",username:(o=t.creator.name)!=null?o:"",uuid:(r=t.creator.uuid)!=null?r:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},modifier:t.modifier?{nickname:(n=t.modifier.name)!=null?n:"",username:(a=t.modifier.name)!=null?a:"",uuid:(s=t.modifier.uuid)!=null?s:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},owner:t.owner?{nickname:(l=t.owner.name)!=null?l:"",username:(c=t.owner.name)!=null?c:"",uuid:(d=t.owner.uuid)!=null?d:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},dataStr:t.data instanceof Blob?await t.data.text():t.data,tags:this.transformTags(t.classification)}}async transformFootprintListItem(t){var e,i,o,r,n,a,s,l,c,d;return t.edaFormatedData?t.edaFormatedData:{docType:4,uuid:t.uuid||this.extendLib.getDefaultItemId(),title:t.name||"",description:t.description||"",path:this.extendLib.id,source:"",version:(e=t.version)!=null?e:"",ticket:0,updateTime:this.transformTime(t.updateTime),createTime:this.transformTime(t.createTime||t.updateTime),display_title:t.name||"",creator:t.creator?{nickname:(i=t.creator.name)!=null?i:"",username:(o=t.creator.name)!=null?o:"",uuid:(r=t.creator.uuid)!=null?r:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},modifier:t.modifier?{nickname:(n=t.modifier.name)!=null?n:"",username:(a=t.modifier.name)!=null?a:"",uuid:(s=t.modifier.uuid)!=null?s:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},owner:t.owner?{nickname:(l=t.owner.name)!=null?l:"",username:(c=t.owner.name)!=null?c:"",uuid:(d=t.owner.uuid)!=null?d:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},dataStr:t.data instanceof Blob?await t.data.text():t.data,tags:this.transformTags(t.classification)}}async transformPanelLibListItem(t){var e,i,o,r,n,a,s,l,c;return t.edaFormatedData?t.edaFormatedData:{...t.edaFormatedData,docType:29,uuid:t.uuid||this.extendLib.getDefaultItemId(),title:t.name||"",description:t.description||"",path:this.extendLib.id,ticket:0,updateTime:this.transformTime(t.updateTime),createTime:this.transformTime(t.createTime||t.updateTime),display_title:t.name||"",creator:t.creator?{nickname:(e=t.creator.name)!=null?e:"",username:(i=t.creator.name)!=null?i:"",uuid:(o=t.creator.uuid)!=null?o:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},modifier:t.modifier?{nickname:(r=t.modifier.name)!=null?r:"",username:(n=t.modifier.name)!=null?n:"",uuid:(a=t.modifier.uuid)!=null?a:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},owner:t.owner?{nickname:(s=t.owner.name)!=null?s:"",username:(l=t.owner.name)!=null?l:"",uuid:(c=t.owner.uuid)!=null?c:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},tags:this.transformTags(t.classification)}}async transformModel3DListItem(t){var e,i,o,r,n,a,s,l,c;return t.edaFormatedData?t.edaFormatedData:{...t.edaFormatedData,uuid:t.uuid||this.extendLib.getDefaultItemId(),title:t.name||"",docType:16,description:t.description||"",path:this.extendLib.id,ticket:0,updateTime:this.transformTime(t.updateTime),createTime:this.transformTime(t.createTime||t.updateTime),display_title:t.name||"",creator:t.creator?{nickname:(e=t.creator.name)!=null?e:"",username:(i=t.creator.name)!=null?i:"",uuid:(o=t.creator.uuid)!=null?o:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},modifier:t.modifier?{nickname:(r=t.modifier.name)!=null?r:"",username:(n=t.modifier.name)!=null?n:"",uuid:(a=t.modifier.uuid)!=null?a:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},owner:t.owner?{nickname:(s=t.owner.name)!=null?s:"",username:(l=t.owner.name)!=null?l:"",uuid:(c=t.owner.uuid)!=null?c:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},tags:this.transformTags(t.classification)}}async transformSimModelListItem(t){var e,i,o,r,n,a,s,l,c;return t.edaFormatedData?t.edaFormatedData:{...t.edaFormatedData,uuid:t.uuid||this.extendLib.getDefaultItemId(),title:t.name||"",path:this.extendLib.id,ticket:0,updateTime:this.transformTime(t.updateTime),createTime:this.transformTime(t.createTime||t.updateTime),display_title:t.name||"",creator:t.creator?{nickname:(e=t.creator.name)!=null?e:"",username:(i=t.creator.name)!=null?i:"",uuid:(o=t.creator.uuid)!=null?o:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},modifier:t.modifier?{nickname:(r=t.modifier.name)!=null?r:"",username:(n=t.modifier.name)!=null?n:"",uuid:(a=t.modifier.uuid)!=null?a:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},owner:t.owner?{nickname:(s=t.owner.name)!=null?s:"",username:(l=t.owner.name)!=null?l:"",uuid:(c=t.owner.uuid)!=null?c:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},tags:this.transformTags(t.classification)}}transformCbbListItem(t){var e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M,I,A,D,E,N,R,v,k,P,O,_,j,B,V;return t.edaFormatedData?t.edaFormatedData:{cbb_project:!0,content:(e=t.description)!=null?e:"",creator:t.creator?{avatar:"",nickname:(i=t.creator.name)!=null?i:"",username:(o=t.creator.name)!=null?o:"",uuid:(r=t.creator.uuid)!=null?r:""}:{avatar:"",nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},modifier:t.modifier?{nickname:(n=t.modifier.name)!=null?n:"",username:(a=t.modifier.name)!=null?a:"",uuid:(s=t.modifier.uuid)!=null?s:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},owner:t.owner?{avatar:"",team:!1,nickname:(l=t.owner.name)!=null?l:"",username:(c=t.owner.name)!=null?c:"",uuid:(d=t.owner.uuid)!=null?d:""}:{avatar:"",team:!1,nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},name:t.name,path:this.extendLib.id,block_symbol:(p=(u=t.blockSymbols)==null?void 0:u.map(G=>{var Q;return{uuid:G.uuid,display_title:G.name,docType:17,project_uuid:(Q=t.uuid)!=null?Q:t.name,title:G.name.toLocaleLowerCase()}}))!=null?p:[],schematics:(h=(m=t.schematics)==null?void 0:m.map(G=>{var Q,H;let q=(H=(Q=t.sheets)==null?void 0:Q.filter(U=>U.belongSchematicUuid===G.uuid).map(U=>({uuid:U.uuid,ticket:0})))!=null?H:[];return{create_at:this.transformTimeStr(G.createTime||G.updateTime),createtime:this.transformTime(G.createTime||G.updateTime),display_name:G.name,name:G.name.toLocaleLowerCase(),project_uuid:t.uuid,sheet_count:q.length,sort:q,ticket:0,update_at:this.transformTimeStr(G.updateTime),uuid:G.uuid,updateTime:this.transformTime(G.updateTime)}}))!=null?h:[],pcb:(g=(f=t.pcbs)==null?void 0:f.map(G=>{var Q,H,q,U,F,K,te,ae,pe,Z,ee;return{description:(Q=G.description)!=null?Q:"",display_title:G.name,docType:3,project_uuid:(H=t.uuid)!=null?H:"",thumb:G.thumb,title:G.name.toLocaleLowerCase(),updateTime:this.transformTime(G.updateTime),uuid:G.uuid,creator:G.creator?{avatar:"",nickname:(U=(q=G.creator)==null?void 0:q.name)!=null?U:"",username:(K=(F=G.creator)==null?void 0:F.name)!=null?K:"",uuid:(ae=(te=G.creator)==null?void 0:te.uuid)!=null?ae:""}:{avatar:"",nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},modifier:G.modifier?{nickname:(pe=G==null?void 0:G.modifier.name)!=null?pe:"",username:(Z=G==null?void 0:G.modifier.name)!=null?Z:"",uuid:(ee=G==null?void 0:G.modifier.uuid)!=null?ee:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id}}}))!=null?g:[],schs:(y=(b=t.sheets)==null?void 0:b.map(G=>{var Q,H,q,U,F,K,te,ae;return{description:(Q=G.description)!=null?Q:"",display_title:G.name,docType:1,project_uuid:(H=t.uuid)!=null?H:"",schematic_uuid:G.belongSchematicUuid,thumb:G.thumb,title:G.name.toLocaleLowerCase(),updateTime:this.transformTime(G.updateTime),uuid:G.uuid,creator:G.creator?{avatar:"",nickname:(q=G==null?void 0:G.creator.name)!=null?q:"",username:(U=G==null?void 0:G.creator.name)!=null?U:"",uuid:(F=G==null?void 0:G.creator.uuid)!=null?F:""}:{avatar:"",nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id},modifier:G!=null&&G.modifier?{nickname:(K=G==null?void 0:G.modifier.name)!=null?K:"",username:(te=G==null?void 0:G.modifier.name)!=null?te:"",uuid:(ae=G==null?void 0:G.modifier.uuid)!=null?ae:""}:{nickname:this.extendLib.title,username:this.extendLib.title,uuid:this.extendLib.id}}}))!=null?y:[],tags:{parent_tag:{name:(x=(w=t.classification)==null?void 0:w.primaryClassificationName)!=null?x:"",name_cn:(T=(S=t.classification)==null?void 0:S.primaryClassificationName)!=null?T:"",title:(I=(M=t.classification)==null?void 0:M.primaryClassificationName)!=null?I:"",uuid:(D=(A=t.classification)==null?void 0:A.primaryClassificationUuid)!=null?D:""},child_tag:{name:(N=(E=t.classification)==null?void 0:E.secondaryClassificationName)!=null?N:"",name_cn:(v=(R=t.classification)==null?void 0:R.secondaryClassificationName)!=null?v:"",title:(P=(k=t.classification)==null?void 0:k.secondaryClassificationName)!=null?P:"",uuid:(_=(O=t.classification)==null?void 0:O.secondaryClassificationUuid)!=null?_:""}},updated_at:this.transformTimeStr(t.updateTime),uuid:(j=t.uuid)!=null?j:t.name,boards:(V=(B=t.boards)==null?void 0:B.map(G=>({name:G.name,pcb:G.pcbUuid,sch:G.schUuid})))!=null?V:[]}}},Itr=class uii{constructor(e){this.transformer=new Mtr(this),this.id=e.id,this.isVisible=i=>e.isVisible?e.isVisible(i)&&this.isInTab(i.tabName):this.isInTab(i.tabName),this.title=e.title,this.position=e.position,e.device&&(this.device=new ytr(e.device,this)),e.symbol&&(this.symbol=new Str(e.symbol,this)),e.footprint&&(this.footprint=new wtr(e.footprint,this)),e.panelLib&&(this.panelLib=new xtr(e.panelLib,this)),e.cbb&&(this.cbb=new btr(e.cbb,this)),e.model3D&&(this.model3D=new Ctr(e.model3D,this)),e.modelSimLib&&(this.modelSimLib=new Ttr(e.modelSimLib,this))}static async set(e){var i,o,r,n,a,s,l,c,d,u;let p=new uii(e);return p._deviceSupportedSymbolTypes=await((o=(i=e.device)==null?void 0:i.getSupportedSymbolTypes)==null?void 0:o.call(i)),p._symbolSupportedSymbolTypes=await((n=(r=e.symbol)==null?void 0:r.getSupportedSymbolTypes)==null?void 0:n.call(r)),p._deviceSupportedPreviewTypes=await((s=(a=e.device)==null?void 0:a.getSupportedPriviewTypes)==null?void 0:s.call(a)),p._footprintSupportedPreviewTypes=await((c=(l=e.footprint)==null?void 0:l.getSupportedPriviewTypes)==null?void 0:c.call(l)),p._panelLibSupportedPreviewTypes=await((u=(d=e.panelLib)==null?void 0:d.getSupportedPriviewTypes)==null?void 0:u.call(d)),p}getDefaultItemId(){return crypto.randomUUID().replace("-","")}getLibraryFunctionsClassInTab(e){switch(e){case"cbb":return this==null?void 0:this.cbb;case"device":return this==null?void 0:this.device;case"symbol":return this==null?void 0:this.symbol;case"footprint":return this==null?void 0:this.footprint;case"panelLib":return this==null?void 0:this.panelLib;case"model3D":return this==null?void 0:this.model3D;case"modelSimLib":return this==null?void 0:this.modelSimLib;default:return null}}isInTab(e){return!!this.getLibraryFunctionsClassInTab(e)}isHasCategoryTreeInTab(e){let i=this.getLibraryFunctionsClassInTab(e);return!!(i!=null&&i.getClassificationTree)}async getAmountByWd(e,i){var o;let r=this.getLibraryFunctionsClassInTab(e),n=await(r==null?void 0:r.getList({page:1,pageSize:1,query:{wd:i}}));return(o=n==null?void 0:n.count)!=null?o:0}getTabByCategoryType(e){switch(e){case 1:return"cbb";case 3:return"device";case 2:return"symbol";case 4:return"footprint";default:return null}}async getClassificationTreeInTab(e){var i;return this.isHasCategoryTreeInTab(e)?await((i=this.getLibraryFunctionsClassInTab(e))==null?void 0:i.getClassificationTree()):null}async getCategoryTreeDataItemsInTab(e){let i=await this.getClassificationTreeInTab(e);return i==null?void 0:i.map(o=>this.transformer.transformCategory(o))}async getClassificationTreeByCategoryType(e){let i=this.getTabByCategoryType(e);return i&&this.getClassificationTreeInTab(i)}async getCategoryTreeDataItemsByCategoryType(e){let i=this.getTabByCategoryType(e);return i&&this.getCategoryTreeDataItemsInTab(i)}getSelectTypeListInTab(e){let i=[];if(e==="device"){let o=this._deviceSupportedSymbolTypes;i=o?UNe.filter(r=>o.includes(Number(r.value))||!r.value):UNe}else if(e==="symbol"){let o=this._symbolSupportedSymbolTypes;i=o?VNe.filter(r=>o.includes(Number(r.value))||!r.value):VNe}return i.length>2?i:[]}getPreviewTypesInTab(e){let i=Nht[e];return e==="device"&&this._deviceSupportedPreviewTypes?i=i.filter(o=>{var r;return(r=this._deviceSupportedPreviewTypes)==null?void 0:r.includes(o)}):e==="footprint"&&this._footprintSupportedPreviewTypes&&(i=i.filter(o=>{var r;return(r=this._footprintSupportedPreviewTypes)==null?void 0:r.includes(o)})),i}async getListInTab(e,i){var o;return await((o=this.getLibraryFunctionsClassInTab(e))==null?void 0:o.getList(i))}async getTransformedListInTab(e,i){var o;return await((o=this.getLibraryFunctionsClassInTab(e))==null?void 0:o.getTransformedList(i))}async getDetailInTab(e,i,o){var r;return await((r=this.getLibraryFunctionsClassInTab(e))==null?void 0:r.getDetail(i,o))}async getTransformedDetailInTab(e,i,o){var r;return await((r=this.getLibraryFunctionsClassInTab(e))==null?void 0:r.getTransformedDetail(i,o))}},Ltr=class{constructor(t=10){this._runingCount=0,this._handleCount=0,this._queue=[],this._results=[],this._windowSize=t,this._finishCallback=null,this._taskStartCallback=null,this._taskEndCallback=null}pushTask(t){this._queue.push(t)}setFinishCallback(t){this._finishCallback=t}setTaskStartCallback(t){this._taskStartCallback=t}setTaskEndCallback(t){this._taskEndCallback=t}next(){for(;this._runingCount<this._windowSize&&this._queue.length>0;){this._runingCount+=1,this._handleCount+=1;let t=this._handleCount-1,e=this._queue.shift();this._taskStartCallback&&this._taskStartCallback(t),e(t).then(i=>{this._results.push(i)}).catch(i=>{this._results.push(i)}).finally(()=>{this._runingCount-=1,this._taskEndCallback&&this._taskEndCallback(this._results[this._results.length-1]),this.next()})}this._runingCount<=0&&this._finishCallback&&this._finishCallback(this._results)}},Fht=class{onString(t,e,i){}onAttr(t,e,i){}onGroup(t,e,i,o,r){}onDelGroup(t,e,i,o){}onDelString(t,e,i,o){}onDelAttr(t,e,i,o){}onPanelizeSide(t,e,i,o){}onDelPanelizeSide(t,e,i,o){}onPanelizeStamp(t,e,i,o){}onDelPanelizeStamp(t,e,i,o){}onPanelize(t,e,i,o){}onDelPanelize(t,e,i){}onRuleSelector(t,e,i,o){}onDelRuleSelector(t,e,i,o){}onRule(t,e,i,o){}onDelRule(t,e,i,o,r){}onRuleTemplate(t,e,i,o){}onDimension(t,e,i,o,r,n){}onDelDimension(t,e,i,o){}onBoss(t,e,i,o,r,n){}onDelBoss(t,e,i,o){}onShellEntity(t,e,i,o,r,n){}onDelShellEntity(t,e,i,o){}onShellCut(t,e,i,o,r,n){}onDelShellCut(t,e,i,o){}onCrease(t,e,i,o,r,n){}onDelCrease(t,e,i,o){}onShell(t,e,i,o,r,n){}onDelShell(t,e,i,o){}onFpcFill(t,e,i,o,r,n){}onDelFpcFill(t,e,i,o){}onTeardrop(t,e,i,o,r,n){}onDelTeardrop(t,e,i,o){}onImage(t,e,i,o,r,n){}onDelImage(t,e,i,o){}onPoured(t,e,i,o,r,n){}onDelPoured(t,e,i,o){}onPour(t,e,i,o,r,n){}onDelPour(t,e,i,o){}onRegion(t,e,i,o,r,n){}onDelRegion(t,e,i,o){}onFill(t,e,i,o,r,n){}onDelFill(t,e,i,o){}onPoly(t,e,i,o,r,n){}onDelPoly(t,e,i,o){}onEQLenGrp(t,e,i,o,r){}onDelEQLenGrp(t,e,i,o){}onDelProp(t,e,i,o){}onObj(t,e,i,o,r,n){}onDelObj(t,e,i,o){}onArc(t,e,i,o,r,n){}onDelArc(t,e,i,o){}onCArc(t,e,i,o,r,n){}onDelCArc(t,e,i,o){}onLine(t,e,i,o,r,n){}onDelLine(t,e,i,o){}onPad(t,e,i,o,r,n){}onDelPad(t,e,i,o){}onVia(t,e,i,o,r,n){}onDelVia(t,e,i,o){}onDelConnect(t,e,i,o){}onPreference(t,e,i,o){}onSilkOpts(t,e,i,o,r){}onDelSilkOpts(t,e,i,o){}onPrimitive(t,e,i,o,r){}onDelPrimitive(t,e,i,o){}onNet(t,e,i,o,r){}onDelNet(t,e,i,o){}onPartition(t,e,i,o,r,n){}onDelPartition(t,e,i,o){}onActiveLayer(t,e,i,o){}onLayerPhys(t,e,i,o,r){}onDelLayerPhys(t,e,i,o){}onLayer(t,e,i,o,r){}onDelLayer(t,e,i,o){}onCanvas(t,e,i,o){}onDocDetail(t,e,i,o){}onStringNum(t,e){}onAttrNum(t,e){}onDimensionNum(t,e){}onBossNum(t,e){}onShellEntityNum(t,e){}onShellCutNum(t,e){}onCreaseNum(t,e){}onShellNum(t,e){}onFpcFillNum(t,e){}onTeardropNum(t,e){}onImageNum(t,e){}onPouredNum(t,e){}onPourNum(t,e){}onRegionNum(t,e){}onFillNum(t,e){}onPolyNum(t,e){}onObjNum(t,e){}onArcNum(t,e){}onCArcNum(t,e){}onLineNum(t,e){}onPadNum(t,e){}onViaNum(t,e){}onPartitionNum(t,e){}},vtr=class extends Fht{constructor(t){super(),this.source={},this._action=t}get action(){return this._action}getSource(){return this.source}onString(t,e,i){this.source[t]=e}onAttr(t,e,i){i||(this.action&&this.action(t,e),this.source[t]=e)}onDimension(t,e,i,o,r,n){this.source[t]=r}onBoss(t,e,i,o,r,n){this.source[t]=r}onShellEntity(t,e,i,o,r,n){this.source[t]=r}onShellCut(t,e,i,o,r,n){this.source[t]=r}onCrease(t,e,i,o,r,n){this.source[t]=r}onShell(t,e,i,o,r,n){this.source[t]=r}onFpcFill(t,e,i,o,r,n){this.source[t]=r}onTeardrop(t,e,i,o,r,n){this.source[t]=r}onImage(t,e,i,o,r,n){this.source[t]=r}onPoured(t,e,i,o,r,n){this.source[t]=r}onPour(t,e,i,o,r,n){this.source[t]=r}onRegion(t,e,i,o,r,n){this.source[t]=r}onFill(t,e,i,o,r,n){this.source[t]=r}onPoly(t,e,i,o,r,n){this.source[t]=r}onObj(t,e,i,o,r,n){this.source[t]=r}onArc(t,e,i,o,r,n){this.source[t]=r}onCArc(t,e,i,o,r,n){this.source[t]=r}onLine(t,e,i,o,r,n){this.source[t]=r}onPad(t,e,i,o,r,n){this.source[t]=r}onVia(t,e,i,o,r,n){this.source[t]=r}},pii=class extends Fei{onXSignalsGroup(t,e,i,o,r){}onDelXSignalsGroup(t,e,i,o){}onXSignals(t,e,i,o,r){}onDelXSignals(t,e,i,o){}onBoard(t,e,i,o){}onDelBoard(t,e,i){}constructor(t,e,i){super(t,e,i,new Aht(!1)),this._compilerHandler=null}async init(t=!1,e=!1,i=!1,o=!1){if(!this.uuid)debugger;return super.init(t,e,i,o)}onBlob(t,e,i,o,r){}onDelBlob(t,e,i,o){}onFont(t,e,i,o){}onDelFont(t,e,i,o){}canvasSelected(){return""}onSelectChange(t,e,i){}onSelectQuit(t,e){}onLayerFill(t,e,i,o,r){}onDelLayerFill(t,e,i,o){}setHandler(t){this._compilerHandler=t}onGroup(t,e,i,o,r){this._compilerHandler&&this._compilerHandler.onGroup(t,e,i,o,r)}onDelGroup(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelGroup(t,e,i,o)}onString(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onString(t,r,n)}onDelString(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelString(t,e,i,o)}onAttr(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onAttr(t,r,n)}onDelAttr(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelAttr(t,e,i,o)}onPanelizeSide(t,e,i,o){this._compilerHandler&&this._compilerHandler.onPanelizeSide(t,e,i,o)}onDelPanelizeSide(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelPanelizeSide(t,e,i,o)}onPanelizeStamp(t,e,i,o){this._compilerHandler&&this._compilerHandler.onPanelizeStamp(t,e,i,o)}onDelPanelizeStamp(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelPanelizeStamp(t,e,i,o)}onPanelize(t,e,i,o){this._compilerHandler&&this._compilerHandler.onPanelize(t,e,i,o)}onDelPanelize(t,e,i){this._compilerHandler&&this._compilerHandler.onDelPanelize(t,e,i)}onRuleSelector(t,e,i,o){this._compilerHandler&&this._compilerHandler.onRuleSelector(t,e,i,o)}onDelRuleSelector(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelRuleSelector(t,e,i,o)}onRule(t,e,i,o){this._compilerHandler&&this._compilerHandler.onRule(t,e,i,o)}onDelRule(t,e,i,o,r){this._compilerHandler&&this._compilerHandler.onDelRule(t,e,i,o,r)}onRuleTemplate(t,e,i,o){this._compilerHandler&&this._compilerHandler.onRuleTemplate(t,e,i,o)}onDimension(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onDimension(t,e,i,o,r,n)}onDelDimension(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelDimension(t,e,i,o)}onBoss(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onBoss(t,e,i,o,r,n)}onDelBoss(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelBoss(t,e,i,o)}onShellEntity(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onShellEntity(t,e,i,o,r,n)}onDelShellEntity(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelShellEntity(t,e,i,o)}onShellCut(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onShellCut(t,e,i,o,r,n)}onDelShellCut(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelShellCut(t,e,i,o)}onCrease(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onCrease(t,e,i,o,r,n)}onDelCrease(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelCrease(t,e,i,o)}onShell(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onShell(t,e,i,o,r,n)}onDelShell(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelShell(t,e,i,o)}onFpcFill(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onFpcFill(t,e,i,o,r,n)}onDelFpcFill(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelFpcFill(t,e,i,o)}onTeardrop(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onTeardrop(t,e,i,o,r,n)}onDelTeardrop(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelTeardrop(t,e,i,o)}onImage(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onImage(t,e,i,o,r,n)}onDelImage(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelImage(t,e,i,o)}onPoured(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onPoured(t,e,i,o,r,n)}onDelPoured(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelPoured(t,e,i,o)}onPour(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onPour(t,e,i,o,r,n)}onDelPour(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelPour(t,e,i,o)}onRegion(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onRegion(t,e,i,o,r,n)}onDelRegion(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelRegion(t,e,i,o)}onFill(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onFill(t,e,i,o,r,n)}onDelFill(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelFill(t,e,i,o)}onPoly(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onPoly(t,e,i,o,r,n)}onDelPoly(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelPoly(t,e,i,o)}onEQLenGrp(t,e,i,o,r){this._compilerHandler&&this._compilerHandler.onEQLenGrp(t,e,i,o,r)}onDelEQLenGrp(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelEQLenGrp(t,e,i,o)}onDelProp(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelProp(t,e,i,o)}onObj(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onObj(t,e,i,o,r,n)}onDelObj(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelObj(t,e,i,o)}onArc(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onArc(t,e,i,o,r,n)}onDelArc(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelArc(t,e,i,o)}onCArc(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onCArc(t,e,i,o,r,n)}onDelCArc(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelCArc(t,e,i,o)}onLine(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onLine(t,e,i,o,r,n)}onDelLine(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelLine(t,e,i,o)}onPad(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onPad(t,e,i,o,r,n)}onDelPad(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelPad(t,e,i,o)}onVia(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onVia(t,e,i,o,r,n)}onDelVia(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelVia(t,e,i,o)}onDelConnect(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelConnect(t,e,i,o)}onPreference(t,e,i,o){this._compilerHandler&&this._compilerHandler.onPreference(t,e,i,o)}onSilkOpts(t,e,i,o,r){this._compilerHandler&&this._compilerHandler.onSilkOpts(t,e,i,o,r)}onDelSilkOpts(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelSilkOpts(t,e,i,o)}onPrimitive(t,e,i,o,r){this._compilerHandler&&this._compilerHandler.onPrimitive(t,e,i,o,r)}onDelPrimitive(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelPrimitive(t,e,i,o)}onNet(t,e,i,o,r){this._compilerHandler&&this._compilerHandler.onNet(t,e,i,o,r)}onDelNet(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelNet(t,e,i,o)}onPartition(t,e,i,o,r,n){this._compilerHandler&&this._compilerHandler.onPartition(t,e,i,o,r,n)}onDelPartition(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelPartition(t,e,i,o)}onActiveLayer(t,e,i,o){this._compilerHandler&&this._compilerHandler.onActiveLayer(t,e,i,o)}onLayerPhys(t,e,i,o,r){this._compilerHandler&&this._compilerHandler.onLayerPhys(t,e,i,o,r)}onDelLayerPhys(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelLayerPhys(t,e,i,o)}onLayer(t,e,i,o,r){this._compilerHandler&&this._compilerHandler.onLayer(t,e,i,o,r)}onDelLayer(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDelLayer(t,e,i,o)}onCanvas(t,e,i,o){this._compilerHandler&&this._compilerHandler.onCanvas(t,e,i,o)}onDocDetail(t,e,i,o){this._compilerHandler&&this._compilerHandler.onDocDetail(t,e,i,o)}onStringNum(t,e){this._compilerHandler&&this._compilerHandler.onStringNum(t,e)}onAttrNum(t,e){this._compilerHandler&&this._compilerHandler.onAttrNum(t,e)}onDimensionNum(t,e){this._compilerHandler&&this._compilerHandler.onDimensionNum(t,e)}onBossNum(t,e){this._compilerHandler&&this._compilerHandler.onBossNum(t,e)}onShellEntityNum(t,e){this._compilerHandler&&this._compilerHandler.onShellEntityNum(t,e)}onShellCutNum(t,e){this._compilerHandler&&this._compilerHandler.onShellCutNum(t,e)}onCreaseNum(t,e){this._compilerHandler&&this._compilerHandler.onCreaseNum(t,e)}onShellNum(t,e){this._compilerHandler&&this._compilerHandler.onShellNum(t,e)}onFpcFillNum(t,e){this._compilerHandler&&this._compilerHandler.onFpcFillNum(t,e)}onTeardropNum(t,e){this._compilerHandler&&this._compilerHandler.onTeardropNum(t,e)}onImageNum(t,e){this._compilerHandler&&this._compilerHandler.onImageNum(t,e)}onPouredNum(t,e){this._compilerHandler&&this._compilerHandler.onPouredNum(t,e)}onPourNum(t,e){this._compilerHandler&&this._compilerHandler.onPourNum(t,e)}onRegionNum(t,e){this._compilerHandler&&this._compilerHandler.onRegionNum(t,e)}onFillNum(t,e){this._compilerHandler&&this._compilerHandler.onFillNum(t,e)}onPolyNum(t,e){this._compilerHandler&&this._compilerHandler.onPolyNum(t,e)}onObjNum(t,e){this._compilerHandler&&this._compilerHandler.onObjNum(t,e)}onArcNum(t,e){this._compilerHandler&&this._compilerHandler.onArcNum(t,e)}onCArcNum(t,e){this._compilerHandler&&this._compilerHandler.onCArcNum(t,e)}onLineNum(t,e){this._compilerHandler&&this._compilerHandler.onLineNum(t,e)}onPadNum(t,e){this._compilerHandler&&this._compilerHandler.onPadNum(t,e)}onViaNum(t,e){this._compilerHandler&&this._compilerHandler.onViaNum(t,e)}onPartitionNum(t,e){this._compilerHandler&&this._compilerHandler.onPartitionNum(t,e)}};function Dtr(t,e){let i=0;return function(...o){let r=new Date().getTime();r-i>e&&(t.apply(this,o),i=r)}}function Etr(t,e,i){let o,r,n,a,s,l,c=0,d=!1,u=!1,p=!0;if(typeof t!="function")throw new TypeError("Expected a function");e=Number(e)||0,typeof i=="object"&&(d=!!i.leading,u="maxWait"in i,n=u?Math.max(Number(i.maxWait)||0,e):n,p="trailing"in i?!!i.trailing:p);function m(T){let M=o,I=r;return o=r=void 0,c=T,a=t.apply(I,M),a}function h(T){return c=T,s=window.setTimeout(b,e),d?m(T):a}function f(T){let M=T-l,I=T-c,A=e-M;return u?Math.min(A,n-I):A}function g(T){let M=T-l,I=T-c;return l===void 0||M>=e||M<0||u&&I>=n}function b(){let T=Date.now();if(g(T))return y(T);s=window.setTimeout(b,f(T))}function y(T){return s=void 0,p&&o?m(T):(o=r=void 0,a)}function w(){s!==void 0&&clearTimeout(s),c=0,o=l=r=s=void 0}function x(){return s===void 0?a:y(Date.now())}function S(){let T=Date.now(),M=g(T);if(o=arguments,r=this,l=T,M){if(s===void 0)return h(l);if(u)return s=window.setTimeout(b,e),m(l)}return s===void 0&&(s=window.setTimeout(b,e)),a}return S.cancel=w,S.flush=x,S}var Fie=new Map;Fie.set("<","&lt;");Fie.set(">","&gt;");Fie.set('"',"&quot;");Fie.set("'","&apos;");Fie.set("&","&amp;");function mii(t){if(typeof t!="string")return t;if(t==null)return"";function e(i){return Fie.get(i)}return t==null?"":JNe(t,Fie)?(t+"").replace(/[<>'"&]/g,e):t}var Yie=new Map;Yie.set("&lt;","<");Yie.set("&gt;",">");Yie.set("&quot;",'"');Yie.set("&apos;","'");Yie.set("&amp;","&");Yie.set("&#039;","'");function Atr(t){if(typeof t!="string")return t;if(t==null)return"";let e={"&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&amp;":"&","&#039;":"'"};function i(o){return Yie.get(o)}return JNe(t,e)?(t+"").replace(/&([^;]+);/g,i):t}var Iwe=new Map;Iwe.set("~","&#126;");Iwe.set("^","&#94;");Iwe.set("#@$","&#35;&#64;&#36;");Iwe.set("`","&#96;");function Ntr(t){if(typeof t!="string")return t;if(t==null)return"";let e={"~":"&#126;","^":"&#94;","#@$":"&#35;&#64;&#36;","`":"&#96;"};function i(o){return Iwe.get(o)}return JNe(t,e)?t.replace(/(\~|\^|#@\$|\`)/g,i):t}function dht(t){if(typeof t!="object"||t===null||t===void 0)return t;if(Array.isArray(t))return t.map(dht);{let e={};for(let i in t)Object.hasOwnProperty.call(t,i)&&(e[i]=dht(t[i]));return e}}function uht(t){if(typeof t!="object"||t===null||t instanceof Date)return typeof t=="string"&&t.includes("<")&&(t=mii(t)),t;if(Array.isArray(t))return t.map(uht);{let e={};for(let i in t)t.hasOwnProperty(i)&&(e[i]=uht(t[i]));return e}}function ktr(t,e){let i="",o="";for(let r=0;r<t.length;r++)String(t[r])&&(o+=t[r]+"	");o=o.slice(0,-1),i+=o+`\r
`;for(let r=0;r<e.length;r++){o="";for(let n=0;n<t.length;n++)o+='"'+(typeof e[r][n]<"u"?e[r][n]:"")+'"	';o=o.slice(0,o.length-1),i+=o+`\r
`}return i}function Ptr(t,e={targetType:"blob"}){let{targetType:i,width:o,height:r}=e,n=new Image(o,r);return new Promise((a,s)=>{n.onload=function(){let l=document.createElement("canvas"),c=l.getContext("2d");switch(l.width=n.width,l.height=n.height,c.drawImage(n,0,0,n.width,n.height),i){case"dataURL":{a(l.toDataURL());break}case"blob":default:{l.toBlob(d=>{a(d)});break}}},n.onerror=l=>{s(l)},n.src=t})}async function Otr(t,e={}){return new Promise((i,o)=>{try{let{targetType:r="blob",imageType:n="image/png"}=e,a=document.createElement("canvas"),s=a.getContext("2d");switch(a.width=t.width,a.height=t.height,s.putImageData(t,0,0),r){case"dataURL":{i(a.toDataURL(n));break}case"blob":default:{a.toBlob(l=>{i(l)},n);break}}}catch(r){o(r)}})}function Ft(t=[],e,i){if(!t||!t.length||!e)return{index:-1,data:null};let o={index:-1,data:null};for(let r=0;r<t.length;r++)if(typeof t[r]=="object"&&t[r][e]===i){o.data=t[r],o.index=r;break}return o}function Rtr(t=[],e,i){if(!t||!t.length||!e)return{indexs:[],datas:[]};let o={indexs:[],datas:[]};for(let r=0;r<t.length;r++)typeof t[r]=="object"&&t[r][e]===i&&(o.datas.push(t[r]),o.indexs.push(r));return o}var _tr=class extends Fht{constructor(t){super(),this._action=t}get action(){return this._action}onAttr(t,e,i){i||this.action(e.key,e.value)}};async function jtr(t,e,i,o=!0){let r={initResponse:null,d3modelItem:null,d3modelItemName:void 0,d3modelItemTransform:void 0,d3modelItemPath:void 0,d3modelItemId:void 0,compiler:null},n=new Map;return new Promise(async a=>{let s=new pii(t,e,i);r.compiler=s,s.setHandler(new _tr(async(l,c)=>{if(typeof c<"u"&&n.set(l,c),n.has("3D Model")&&n.has("3D Model Title")&&n.has("3D Model Transform")){r.d3modelItemId=n.get("3D Model"),r.d3modelItemName=n.get("3D Model Title"),r.d3modelItemTransform=n.get("3D Model Transform");let d=eT(r.d3modelItemId,!0);r.d3modelItemPath=d.path}})),r.initResponse=await s.init().catch(l=>({message:l.message,success:!1})),r.d3modelItemId&&o&&(r.d3modelItem=await Mwe(r.d3modelItemId)),r.compiler.destroy(),n.clear(),a(r)})}async function Btr(t,e){let i={padList:[]};return new Promise(async o=>{try{let r=new mer(t,e,!0),n=await r.getPads()||{},a=Object.keys(n);for(let s=0;s<a.length;s++)i.padList.push({...n[a[s]]});r.destroy(),o(i)}catch{o(i)}})}function ztr(t,e,i){if(typeof t!="number"&&(t=+t),isNaN(t))return NaN;if(e=e|0,e<=0||!t&&!i)return Math.round(t);let o=[1,10,100,1e3][e]||Math.pow(10,e)||10;if(i){let r=t<0?"-":"";for(t=t<0?-t:t,t=Math.round(t*o)+"";t.length<=e;)t="0"+t;return t=t.slice(0,-e)+"."+t.slice(-e),r+t}else return Math.round(t*o+1e-10)/o}function Ftr(t,e){typeof t=="string"&&(t=parseFloat(t));let i=Math.pow(10,e);return Math.round(t*i)/i}var Utr={conversion(t,e,i){let o=t+2+e;return this[o](i)},conversion1(t,e,i){let o=t+2+e,r=this[o](i);return e=="mil"?Math.round(r*10)/10:Math.round(r*1e3)/1e3},mil2mil(t){return t},mil2mm(t){return t*.0254},mil2cm(t){return t*.00254},mil2inch(t){return t/1e3},mm2mm(t){return t},mm2mil(t){let e=Math.pow(10,5);return Math.round(t*39.37007874015748*e)/e},mm2cm(t){return t/10},mm2inch(t){let e=Math.pow(10,8);return Math.round(t*.03937007874015748*e)/e},cm2mil(t){let e=Math.pow(10,6);return Math.round(t*3.937007874015748*e)/e},cm2mm(t){return t*10},cm2inch(t){let e=Math.pow(10,7);return Math.round(t*.3937007874015748*e)/e},inch2mil(t){return t*1e3},inch2mm(t){return t*25.4},inch2cm(t){return t*2.54}};function Vtr(t,e,i){var o=t-e;return i||(i=1e-10),(o>0?o:-o)<i}function Htr(t){return t<0?(360+t%360)%360:t>=360?t%360:t}function hii(t,e,i,o){var r=t-i,n=e-o;return r*r+n*n}function Gtr(t,e,i,o){return Math.sqrt(hii(t,e,i,o))}function Ytr(t,e,i,o){var r=i-t,n=o-e,a=Math.atan2(n,r);return a=a<0?a+Math.PI+Math.PI:a,a}function Wtr(t){return fii(t)&&Object.keys(t).length===0}function fii(t){return Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Qtr(t){return gii(t)||bii(t)}function gii(t){return Object.prototype.toString.call(t).slice(8,-1)==="AsyncFunction"}function bii(t){return Object.prototype.toString.call(t).slice(8,-1)==="Function"}var ue=class{};ue.unitConversion=Utr,ue.ConcurrencyTaskQueue=Ltr,ue.FootprintCompilerInstance=pii,ue.FootprintCompilerHandlerProxy=Fht,ue.FootprintCompilerAttr=vtr,ue.createCSVString=ktr,ue.svg2png=Ptr,ue.imageData2NewImage=Otr,ue.htmlEncode=mii,ue.htmlDecode=Atr,ue.strEncode=Ntr,ue.isEmptyObj=Wtr,ue.isPlainObject=fii,ue.isFn=Qtr,ue.isAsyncFunction=gii,ue.isNormalFunction=bii,ue.formatDate=cU,ue.formatDate2=gtr,ue.deepClone=dht,ue.deepCloneWithHtmlEncode=uht,ue.naturalSortComparator=_$t,ue.naturalSortSplitor=U1t,ue.naturalSort=NKo,ue.naturalStrSort=V1t,ue.naturalSort1=kKo,ue.naturalCompare=PKo,ue.isObjKeyInStr=JNe,ue.throttle=Dtr,ue.debounce=Etr,ue.findList=Ft,ue.findListAll=Rtr,ue.randomString=_Ko,ue.parseJSON=jKo,ue.splitComponentId2FolderAndFilenameMixin=eT,ue.getFootprintPadInfo=Btr,ue.getFootprint3DInfo=jtr;var li=class{};li.toFixed=ztr,li.toFixed1=Ftr,li.floatEqual=Vtr,li.fixAngle=Htr,li.getDistance=Gtr,li.getDistance2=hii,li.getAngleByDot=Ytr;var yii=class pht{constructor(){this._changeCbs=new Set,this._map=new Map,this._debounceNotify=ue.debounce(()=>{this._notify()},50)}static get context(){return ko()}static getInstance(){var e;return(e=this.context.extendLibManager)!=null?e:this.context.extendLibManager=new pht}_notify(){for(let e of this._changeCbs)e()}onChange(e){this._changeCbs.add(e)}offChange(e){this._changeCbs.delete(e)}_getLibId(e){return`${pht.LIB_ID_PREFFIX}${e}`}async addLibWithId(e){this._map.set(e.id,await Itr.set(e)),this._debounceNotify()}async addLib(e){let i=this._getLibId(e.title);return await this.addLibWithId({...e,id:i}),i}deleteLib(e){return this._debounceNotify(),this._map.delete(e)}hasLib(e){return this._map.has(e)}getLib(e){return this._map.get(e)}getLibs(){return Array.from(this._map.values())}updateLibTitle(e,i){let o=this._map.get(e);o&&(o.title=i,this._debounceNotify())}updateLibPosition(e,i){let o=this._map.get(e);o&&(o.position=i,this._debounceNotify())}};yii.LIB_ID_PREFFIX="extend_lib_";var J1=yii,Uht=class{},zo=(t=>(t.PROJECT_DOCUMENT_LOCKED="PROJECT_DOCUMENT_LOCKED",t.PROJECT_DOCUMENT_UPDATE_REJECT="PROJECT_DOCUMENT_UPDATE_REJECT",t.NOSYMBOL_ON_TARGETPATH_BY_DEVICE_BOUND="NOSYMBOL_ON_TARGETPATH_BY_DEVICE_BOUND",t.NOFOOTPRINT_ON_TARGETPATH_BY_DEVICE_BOUND="NOFOOTPRINT_ON_TARGETPATH_BY_DEVICE_BOUND",t.DEVICE_ATTRIBUTES_ERROR="DEVICE_ATTRIBUTES_ERROR",t.DEVICE_DESCRIPTION_ERROR="DEVICE_DESCRIPTION_ERROR",t.SYMBOL_DESCRIPTION_ERROR="SYMBOL_DESCRIPTION_ERROR",t.FOOTPRINT_DESCRIPTION_ERROR="FOOTPRINT_DESCRIPTION_ERROR",t.D3MODEL_DESCRIPTION_ERROR="D3MODEL_DESCRIPTION_ERROR",t.DEVICE_NAMA_ERROR="DEVICE_NAMA_ERROR",t.SYMBOL_NAMA_ERROR="SYMBOL_NAMA_ERROR",t.FOOTPRINT_NAMA_ERROR="FOOTPRINT_NAMA_ERROR",t.PANEL_LIB_NAMA_ERROR="PANEL_LIB_NAMA_ERROR",t.D3MODEL_NAMA_ERROR="D3MODEL_NAMA_ERROR",t.SIM_MODEL_NAMA_ERROR="SIM_MODEL_NAMA_ERROR",t.DEVICE_SAME_NAMA_EXISTS="DEVICE_SAME_NAMA_EXISTS",t.SYMBOL_SAME_NAMA_EXISTS="SYMBOL_SAME_NAMA_EXISTS",t.FOOTPRINT_SAME_NAMA_EXISTS="FOOTPRINT_SAME_NAMA_EXISTS",t.D3MODEL_SAME_NAMA_EXISTS="D3MODEL_SAME_NAMA_EXISTS",t.SIM_MODEL_SAME_NAMA_EXISTS="SIM_MODEL_SAME_NAMA_EXISTS",t.PANELLIB_SAME_NAMA_EXISTS="PANELLIB_SAME_NAMA_EXISTS",t.PARAMETER_VERIFICATION="PARAMETER_VERIFICATION",t.RESULT_VERIFICATION="RESULT_VERIFICATION",t.GET_DEVICE="GET_DEVICE",t.GET_DEVICE_ATTRIBUTES_KEYS="GET_DEVICE_ATTRIBUTES_KEYS",t.GET_DEVICE_ATTRIBUTES_VALUES="GET_DEVICE_ATTRIBUTES_VALUES",t.GET_DEVICE_NOT_FOUND="GET_DEVICE_NOT_FOUND",t.GET_DEVICE_LIST="GET_DEVICE_LIST",t.GET_DEVICE_SEARCH_LIST="GET_DEVICE_SEARCH_LIST",t.GET_DEVICE_SEARCH_UUIDS="GET_DEVICE_SEARCH_UUIDS",t.STAR_DEVICE="STAR_DEVICE",t.UNSTAR_DEVICE="UNSTAR_DEVICE",t.GET_SYMBOL="GET_SYMBOL",t.GET_SYMBOL_NOT_FOUND="GET_SYMBOL_NOT_FOUND",t.GET_SYMBOL_LIST="GET_SYMBOL_LIST",t.GET_SYMBOL_SEARCH_LIST="GET_SYMBOL_SEARCH_LIST",t.GET_SYMBOL_SEARCH_UUIDS="GET_SYMBOL_SEARCH_UUIDS",t.STAR_SYMBOL="STAR_SYMBOL",t.UNSTAR_SYMBOL="UNSTAR_SYMBOL",t.GET_FOOTPRINT="GET_FOOTPRINT",t.GET_FOOTPRINT_NOT_FOUND="GET_FOOTPRINT_NOT_FOUND",t.GET_FOOTPRINT_LIST="GET_FOOTPRINT_LIST",t.GET_FOOTPRINT_SEARCH_LIST="GET_FOOTPRINT_SEARCH_LIST",t.GET_FOOTPRINT_SEARCH_UUIDS="GET_FOOTPRINT_SEARCH_UUIDS",t.STAR_FOOTPRINT="STAR_FOOTPRINT",t.UNSTAR_FOOTPRINT="UNSTAR_FOOTPRINT",t.GET_PANEL_LIB="GET_PANEL_LIB",t.GET_PANEL_LIB_LIST="GET_PANEL_LIB_LIST",t.GET_PANEL_LIB_NOT_FOUND="GET_PANEL_LIB_NOT_FOUND",t.GET_PANEL_LIB_SEARCH_LIST="GET_PANEL_LIB_SEARCH_LIST",t.GET_PANEL_LIB_SEARCH_UUIDS="GET_PANEL_LIB_SEARCH_UUIDS",t.STAR_PANEL_LIB="STAR_PANEL_LIB",t.UNSTAR_PANEL_LIB="UNSTAR_PANEL_LIB",t.GET_D3MODEL="GET_D3MODEL",t.GET_D3MODEL_NOT_FOUND="GET_D3MODEL_NOT_FOUND",t.GET_D3MODEL_LIST="GET_D3MODEL_LIST",t.GET_D3MODEL_SEARCH_LIST="GET_D3MODEL_SEARCH_LIST",t.GET_D3MODEL_SEARCH_UUIDS="GET_D3MODEL_SEARCH_UUIDS",t.GET_SIM_MODEL="GET_SIM_MODEL",t.GET_SIM_NOT_FOUND="GET_SIM_NOT_FOUND",t.GET_SIM_MODEL_LIST="GET_SIM_MODEL_LIST",t.GET_SIM_MODEL_SEARCH_LIST="GET_SIM_MODEL_SEARCH_LIST",t.GET_SIM_MODEL_SEARCH_UUIDS="GET_SIM_MODEL_SEARCH_UUIDS",t.CROSS_BIND="CROSS_BIND",t.CROSS_BIND_EXIT="CROSS_BIND_EXIT",t.IMPORT_EXIST_PROJECT="IMPORT_EXIST_PROJECT",t.CREATE_PROJECT="CREATE_PROJECT",t.CREATE_DEVICE="CREATE_DEVICE",t.CREATE_DEVICE_PERMISSIONS="CREATE_DEVICE_PERMISSIONS",t.CREATE_DEVICE_GET_ORIGIN="CREATE_DEVICE_GET_ORIGIN",t.CREATE_SYMBOL="CREATE_SYMBOL",t.CREATE_SYMBOL_PERMISSIONS="CREATE_SYMBOL_PERMISSIONS",t.CREATE_SYMBOL_GET_ORIGIN="CREATE_SYMBOL_GET_ORIGIN",t.CREATE_SYMBOL_MIGRATE_CANVAS_ERROR="CREATE_SYMBOL_MIGRATE_CANVAS_ERROR",t.CREATE_FOOTPRINT="CREATE_FOOTPRINT",t.CREATE_FOOTPRINT_PERMISSIONS="CREATE_FOOTPRINT_PERMISSIONS",t.CREATE_FOOTPRINT_GET_ORIGIN="CREATE_FOOTPRINT_GET_ORIGIN",t.CREATE_FOOTPRINT_MIGRATE_CANVAS_ERROR="CREATE_FOOTPRINT_MIGRATE_CANVAS_ERROR",t.CREATE_D3MODEL="CREATE_D3MODEL",t.CREATE_D3MODEL_PERMISSIONS="CREATE_D3MODEL_PERMISSIONS",t.CREATE_PANEL_LIB="CREATE_PANEL_LIB",t.CREATE_PANEL_LIB_PERMISSIONS="CREATE_PANEL_LIB_PERMISSIONS",t.CREATE_PANEL_LIB_MIGRATE_CANVAS_ERROR="CREATE_PANEL_LIB_MIGRATE_CANVAS_ERROR",t.CREATE_SIM_MODEL="CREATE_SIM_MODEL",t.CREATE_SIM_MODEL_PERMISSIONS="CREATE_SIM_MODEL_PERMISSIONS",t.CREATE_SIM_MODEL_MIGRATE_CANVAS_ERROR="CREATE_SIM_MODEL_MIGRATE_CANVAS_ERROR",t.UPDATE_DEVICE="UPDATE_DEVICE",t.UPDATE_DEVICE_ATTRIBUTES="UPDATE_DEVICE_ATTRIBUTES",t.UPDATE_DEVICE_PERMISSIONS="CREATE_DEVICE_PERMISSIONS",t.UPDATE_SYMBOL="UPDATE_SYMBOL",t.UPDATE_SYMBOL_MIGRATE_CANVAS_ERROR="UPDATE_SYMBOL_MIGRATE_CANVAS_ERROR",t.UPDATE_SYMBOL_PERMISSIONS="UPDATE_SYMBOL_PERMISSIONS",t.UPDATE_FOOTPRINT="UPDATE_FOOTPRINT",t.UPDATE_FOOTPRINT_MIGRATE_CANVAS_ERROR="UPDATE_FOOTPRINT_MIGRATE_CANVAS_ERROR",t.UPDATE_FOOTPRINT_PERMISSIONS="UPDATE_FOOTPRINT_PERMISSIONS",t.UPDATE_D3MODEL="UPDATE_D3MODEL",t.UPDATE_D3MODEL_PERMISSIONS="UPDATE_D3MODEL_PERMISSIONS",t.UPDATE_SIM_MODEL="UPDATE_SIM_MODEL",t.UPDATE_SIM_MODEL_PERMISSIONS="UPDATE_SIM_MODEL_PERMISSIONS",t.UPDATE_PANEL_LIB="UPDATE_PANEL_LIB",t.UPDATE_PANEL_LIB_MIGRATE_CANVAS_ERROR="UPDATE_PANEL_LIB_MIGRATE_CANVAS_ERROR",t.UPDATE_PANEL_LIB_PERMISSIONS="UPDATE_PANEL_LIB_PERMISSIONS",t.DELETE_DEVICE="DELETE_DEVICE",t.DELETE_SYMBOL="DELETE_SYMBOL",t.DELETE_FOOTPRINT="DELETE_FOOTPRINT",t.DELETE_PANEL_LIB="DELETE_PANEL_LIB",t.DELETE_SIM_MODEL="DELETE_SIM_MODEL",t.DELETE_3DMODEL="DELETE_3DMODEL",t))(zo||{}),St=class{constructor(t,e=""){this._message=e,this._action=t}get message(){return this._message}set message(t){this._message=t}get action(){return this._action}set action(t){this._action=t}toJSON(){return{message:this.message,action:this.action}}};function d3(t,e){let i=Object.keys(e);for(let o=0;o<i.length;o++)bor.indexOf(i[o])<=-1||(i[o]==="title"&&"display_title"in t&&e.title&&(t.display_title=String(e.title),t.title=String(e.title).toLocaleLowerCase()),t[i[o]]=e[i[o]])}function Lwe(t,e){return t[e]}function wii(t){let e=t.trim();if(!e||e.length<=0||e.length>128){let i="The title length must be between 1~128 characters!";throw new St("DEVICE_NAMA_ERROR",i)}}function Cii(t){let e=t.trim();if(!e||e.length<=0||e.length>128){let i="The title length must be between 1~128 characters!";throw new St("SYMBOL_NAMA_ERROR",i)}}function xii(t){let e=t.trim();if(!e||e.length<=0||e.length>128){let i="The title length must be between 1~128 characters!";throw new St("FOOTPRINT_NAMA_ERROR",i)}}function Vht(t){let e=t.trim();if(!e||e.length<=0||e.length>128){let i="The title length must be between 1~128 characters!";throw new St("PANEL_LIB_NAMA_ERROR",i)}}function Tii(t){let e=t.trim();if(!e||e.length<=0||e.length>128){let i="The title length must be between 1~128 characters!";throw new St("D3MODEL_NAMA_ERROR",i)}}function Sii(t){let e=t.trim();if(!e||e.length<=0||e.length>128){let i="The title length must be between 1~128 characters!";throw new St("SIM_MODEL_NAMA_ERROR",i)}}async function Ade(t,e){let i=[],o=[],r=async s=>{let{message:l}=await wo.messageBus.rpcCall(Ei.TAG.CREATE,s);return l},n=null;try{for(let s=0;s<t.length;s++){let l=await r({...t[s],path:t[s].user_uuid});if(l.code===0&&l.success){let d={...l,message:"",result:{...t[s],path:t[s].user_uuid,...l.result[0]}};i.push(d),e&&e(d,s);continue}let c={...l,result:{...t[s]}};o.push(c)}return{code:0,success:!0,result:{successList:i,failList:o},message:""}}catch(s){n=s}let a=n?n.msg||n.message:"Add Categories Batch Error";return{code:n?n.code:_e.ERR_CODE.NORMAL,success:!1,result:null,message:a}}function z3e(t=0,e=Number.MAX_SAFE_INTEGER){return Math.floor(Math.random()*(e-t+1))+t}function uwe(t=36){let e=[],i="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";for(let o=0;o<t;o++)e[o]=i.substr(Math.floor(Math.random()*16),1);return e[14]&&(e[14]=String(z3e(1,9))),e[19]&&(e[19]=i.substr(+e[19]&3|8,1)),e[8]&&(e[8]=String(z3e(1,9))),e[13]&&(e[13]=String(z3e(1,9))),e[18]&&(e[18]=String(z3e(1,9))),e[23]&&(e[23]=String(z3e(1,9))),e.join("")}function S$t(t,e=!0){return(i,o)=>{let r=i[t],n=o[t];return typeof r<"u"&&typeof n<"u"?e?r-n:n-r:0}}var Ktr=0;async function vwe(t,e,i,o,r=!0,n,a){let s=null,l="requestid"+ ++Ktr;n&&n(l);let c={user_uuid:t,path:e,type:i};o!==void 0&&(c.bindTypes=o),a&&a(c);try{if(J1.getInstance().hasLib(t))return await Ztr(t,i,r);let u=await pn("GET",mn.TAG.LIST,c,{headers:{path:e},searchParams:!0});if(u.success)return{...u,result:await Hht(u.result,r)}}catch(u){s=u,console.error("Fetch Category List Error",u)}let d=s?s.msg||s.message:void 0;return{code:s?s.code:_e.ERR_CODE.NORMAL,success:!1,result:null,msg:d||"Fetch Category List Error"}}async function Ztr(t,e,i){var o;let r=[];for(let n of e){let a=await((o=J1.getInstance().getLib(t))==null?void 0:o.getCategoryTreeDataItemsByCategoryType(n));a&&r.push(a)}return{code:0,success:!0,result:await Hht(r.flat().map(n=>({uuid:n.id,parent_uuid:n.parentId,user_uuid:t,type:void 0,order_no:void 0,name_cn:void 0,name:n.title,created_at:n.created_at,updated_at:n.updated_at,title:n.title})),i)}}async function Jtr(t=!0){let e=null;try{let o=await pn("POST",mn.TAG.DEVICE_CATE);if(o.success)return{...o,result:await Hht(o.result,t)}}catch(o){e=o,console.error("Fetch Category List Error",o)}let i=e?e.msg||e.message:void 0;return{code:e?e.code:_e.ERR_CODE.NORMAL,success:!1,result:null,msg:i||"Fetch Category List Error"}}async function Hht(t,e=!0){let i=[],o=[],r=[],n={},a={};t.forEach(u=>{u.name&&(a[u.name]=u.name_cn||u.name)});let s=t.filter(u=>!u.parent_uuid),l=t.filter(u=>!!u.parent_uuid),c=[],d={};if(s.forEach((u,p)=>{c.push(u.uuid),r.push({name:u.name,name_cn:u.name_cn,title:u.name,titleAdditional:u.name_cn||u.name,disableTranslate:u.name_cn===""?!0:u.name_cn===u.name,id:u.uuid,children:[],order_no:+u.order_no||0,parentId:void 0,created_at:u.created_at,updated_at:u.updated_at}),n[u.uuid]=p}),l.forEach(u=>{c.push(u.uuid);let p=n[u.parent_uuid];if(typeof p<"u"&&r[p]){let m=r[p];m.children.push({name:u.name,name_cn:u.name_cn,title:u.name,titleAdditional:u.name_cn||u.name,disableTranslate:u.name_cn===""?!0:u.name_cn===u.name,id:u.uuid,order_no:+u.order_no||0,children:[],parentId:m.id,created_at:u.created_at,updated_at:u.updated_at})}d[u.uuid]=u.parent_uuid}),r.sort(S$t("order_no")),r.forEach(u=>{u.children.length>1&&u.children.sort(S$t("order_no"))}),r.forEach(u=>{i.push({...u})}),e){let u=(await wo.messageBus.rpcCall("I18nTranslateService",{str:_e.CATEGORY_ITEM_ALL_TITLE})).message;i.unshift({title:_e.CATEGORY_ITEM_ALL_TITLE,titleAdditional:u||_e.CATEGORY_ITEM_ALL_TITLE,id:_e.CATEGORY_ITEM_ALL_VALUE,order_no:Number.MAX_SAFE_INTEGER,disableTranslate:!1,children:[],parentId:void 0}),o.push(_e.CATEGORY_ITEM_ALL_VALUE)}return{languageHashtable:a,treeData:i,selectedIds:o,categoryIds:c,childCategory2ParentCategoryMap:d,sourceCategoryList:t}}async function pK(t){let{categories:e,type:i,uuid:o}=t,r=await vwe(o,o,i),n=r.result?r.result.treeData:[],a=[],s=[],l=[],c=[];for(let h=0;h<e.length;h++){let{parentName:f,childName:g,parent_order_no:b,child_order_no:y}=e[h];if(f){let w=Ft(n,"title",f);if(w.index>=0){if(a.push({name:w.data.title,type:i,user_uuid:o,order_no:w.data.order_no,parent_uuid:void 0,uuid:w.data.id}),g){let T=Ft(w.data.children,"title",g);if(T.index>=0){s.push({name:T.data.title,type:i,user_uuid:o,order_no:T.data.order_no,parent_uuid:w.data.id,uuid:T.data.id});continue}c.push({name:g,type:i,user_uuid:o,order_no:h+1,parent_uuid:w.data.id,uuid:void 0});continue}continue}let x=uwe(),S=uwe();l.push({name:f,type:i,user_uuid:o,order_no:typeof b<"u"?b:h+1,parent_uuid:void 0,uuid:x}),g&&c.push({name:g,type:i,user_uuid:o,order_no:typeof y<"u"?y:h+1,parent_uuid:x,uuid:S})}}let d=[];if(l.length){let h=await Ade(l,(f,g)=>{l[g].__remoteId=f.result.uuid});d=h.result?h.result.successList.map(f=>f.result):[]}let u=[];if(c.length){for(let f=0;f<c.length;f++){let g=Ft(l,"uuid",c[f].parent_uuid);g.index>=0&&g.data.__remoteId&&(c[f].parent_uuid=g.data.__remoteId)}let h=await Ade(c);u=h.result?h.result.successList.map(f=>f.result):[]}let p=d.concat(a),m=u.concat(s);return{allParentCreated:p,allChildCreated:m}}async function Dwe(t){let{uuid:e,path:i,types:o,names:r}=t;return new Promise(async(n,a)=>{let s=await vwe(e,i,o,void 0,!1);if(s.code!==0){n({...s,code:_e.ERR_CODE.NORMAL,success:!1,result:null});return}let l={detail:[],arguments:t},{treeData:c}=s.result;for(let d=0;d<r.length;d++){let u=r[d].primary,p=r[d].secondary,m={primary:{name:u,name_cn:"",uuid:"",exist:!1,undefine:!1},secondary:{name:p,name_cn:"",uuid:"",exist:!1,undefine:!1}};if(typeof u>"u"){m.primary.exist=!1,m.primary.undefine=!0;continue}let h=Ft(c,"title",u);if(h.index<=-1){m.primary.exist=!1,m.secondary.exist=!1,l.detail.push(m);continue}if(m.primary.exist=!0,m.primary.uuid=h.data.id,m.primary.name_cn=h.data.titleAdditional||u,typeof p>"u"){m.secondary.exist=!1,m.secondary.undefine=!0,l.detail.push(m);continue}let f=Ft(h.data.children,"title",p);if(f.index<=-1){m.secondary.exist=!1,l.detail.push(m);continue}m.secondary.exist=!0,m.secondary.uuid=f.data.id,m.secondary.name_cn=f.data.titleAdditional||p,l.detail.push(m)}n({code:0,success:!0,result:l})})}function qtr(t){let e=new Map,i=[];for(let o of t)(!e.has(o.primary)||e.get(o.primary)!==o.secondary)&&(e.set(o.primary,o.secondary),i.push(o));return i}async function Mii(t){try{let{uuid:e,path:i,types:o,names:r}=t,n={primary:r[0],secondary:r[1]},a=await Dwe({uuid:e,path:i,types:o,names:[n]});if(!a.success)return{success:!1,code:a.code,message:a.message,result:null};let s=[],{detail:l}=a.result;if(l[0]){let{primary:c,secondary:d}=l[0];c!=null&&c.uuid&&s.push(c==null?void 0:c.uuid),d!=null&&d.uuid&&s.push(d==null?void 0:d.uuid)}return{success:!0,code:0,result:s}}catch(e){return{success:!1,code:_e.ERR_CODE.NORMAL,message:e.message,result:null}}}async function Xtr(t,e,i,o=!1){let r=await Dwe(t),n=[],a=[],s=[],l=[],c=[];if(!o&&r.success&&r.result.detail.length){let u=new Map,p=new Map,m=new Map;r.result.detail.forEach((h,f)=>{(h.primary.name||h.primary.name_cn)&&!h.primary.exist&&!u.has(h.primary.name||h.primary.name_cn)&&(u.set(h.primary.name||h.primary.name_cn,!0),n.push({name:h.primary.name||h.primary.name_cn,type:e,user_uuid:i,order_no:0})),(h.primary.name||h.primary.name_cn)&&!h.primary.exist&&(h.secondary.name||h.secondary.name_cn)&&!h.secondary.exist&&p.get(h.secondary.name||h.secondary.name_cn)!==(h.primary.name||h.primary.name_cn)?(p.set(h.secondary.name||h.secondary.name_cn,h.primary.name||h.primary.name_cn),a.push({name:h.secondary.name||h.secondary.name_cn,type:e,user_uuid:i,uuid:h.secondary.uuid,order_no:0,parent_uuid:h.primary.uuid,parent_title:h.primary.name||h.primary.name_cn})):h.primary.exist&&(h.secondary.name||h.secondary.name_cn)&&!h.secondary.exist&&p.get(h.secondary.name||h.secondary.name_cn)!==(h.primary.name||h.primary.name_cn)&&(p.set(h.secondary.name||h.secondary.name_cn,h.primary.name||h.primary.name_cn),a.push({name:h.secondary.name||h.secondary.name_cn,type:e,user_uuid:i,uuid:h.secondary.uuid,order_no:0,parent_uuid:h.primary.uuid,parent_title:h.primary.name||h.primary.name_cn})),h.primary.exist&&!m.has(h.primary.uuid)&&(m.set(h.primary.uuid,h.primary.name||h.primary.name_cn),c.push({title:h.primary.name||h.primary.name_cn,uuid:h.primary.uuid,parent_uuid:""})),h.secondary.exist&&!m.has(h.secondary.uuid)&&(m.set(h.secondary.uuid,h.secondary.name||h.secondary.name_cn),c.push({title:h.secondary.name||h.secondary.name_cn,uuid:h.secondary.uuid,parent_uuid:h.primary.uuid}))})}if(!o&&n.length){let u=await Ade(n);if(u.success&&u.result.successList.length&&(s=u.result.successList.map(p=>p.result),a.forEach(p=>{s.forEach(m=>{!p.parent_uuid&&p.parent_title===m.name&&(p.parent_uuid=m.uuid)})})),a.length){let p=await Ade(a);p.success&&p.result.successList.length&&(l=p.result.successList.map(m=>m.result))}}else if(!o&&a.length){let u=await Ade(a);u.success&&u.result.successList.length&&(l=u.result.successList.map(p=>p.result))}let d=[];return d=s.map(u=>({uuid:u.uuid,title:u.name,name:u.name,parent_uuid:u.parent_uuid})),d=d.concat(l.map(u=>({uuid:u.uuid,parent_uuid:u.parent_uuid,title:u.name,name:u.name}))),d=d.concat(c),d}async function $tr(t,e){let i=[],o=[],r=async s=>{let{message:l}=await wo.messageBus.rpcCall(Ei.TAG.DELETE,s);return l},n=null;try{for(let s=0;s<t.length;s++){let l=await r({...t[s],path:t[s].user_uuid});if(l.code===0&&l.success){let d={...l,message:"",result:{...t[s],path:t[s].user_uuid,...l.result[0]}};i.push(d),e&&e(d,s);continue}let c={...l,result:{...t[s]}};o.push(c)}return{code:0,success:!0,result:{successList:i,failList:o},message:""}}catch(s){n=s}let a=n?n.msg||n.message:"Del Categories Batch Error";return{code:n?n.code:_e.ERR_CODE.NORMAL,success:!1,result:null,message:a}}async function eir(t){let{uuid:e,path:i,types:o,ids:r}=t;return new Promise(async(n,a)=>{let s=await vwe(e,i,o,void 0,!1);if(s.code!==0){n({...s,code:_e.ERR_CODE.NORMAL,success:!1,result:null});return}let l={detail:[],arguments:t},{treeData:c}=s.result;for(let d=0;d<r.length;d++){let u=r[d].primary,p=r[d].secondary,m={primary:{name:"",name_cn:"string",uuid:u,exist:!1,undefine:!1},secondary:{name:"",name_cn:"string",uuid:p,exist:!1,undefine:!1}};if(typeof u>"u"){m.primary.exist=!1,m.primary.undefine=!0;continue}let h=Ft(c,"id",u);if(h.index<=-1){m.primary.exist=!1,m.secondary.exist=!1,l.detail.push(m);continue}if(m.primary.exist=!0,m.primary.name=h.data.title,m.primary.name_cn=h.data.titleAdditional||m.primary.name,typeof p>"u"){m.secondary.exist=!1,m.secondary.undefine=!0;continue}let f=Ft(h.data.children,"id",p);if(f.index<=-1){m.secondary.exist=!1,l.detail.push(m);continue}m.secondary.exist=!0,m.secondary.name=f.data.title,m.secondary.name_cn=f.data.titleAdditional||m.secondary.name,l.detail.push(m)}n({code:0,success:!0,result:l})})}var tir=class{constructor(){this._actuatorMap=new Map}clearAll(){this._actuatorMap.clear()}async addActuator(t,e,i,o){let r=t.filter(u=>!!u),n=`${r[0]}_${e[0]||0}_${i}_${o}`,a=`${r[0]}_${r[1]}_${e[1]||e[0]||0}_${i}_${o}`;if(!r[1]){if(this._actuatorMap.has(n))return this._actuatorMap.get(n);let u=new Promise(async(p,m)=>{let h=await pK({categories:[{parentName:r[0],parent_order_no:e[0]||0}],type:[o],uuid:i});p({uuids:h.allParentCreated.map(f=>f.uuid),titles:h.allParentCreated.map(f=>f.name)}),this._actuatorMap.delete(n)});return this._actuatorMap.set(n,u),u}let s=this._actuatorMap.get(n);s||(s=new Promise(async(u,p)=>{let m=await pK({categories:[{parentName:r[0],parent_order_no:e[0]||0}],type:[o],uuid:i});u({uuids:m.allParentCreated.map(h=>h.uuid),titles:m.allParentCreated.map(h=>h.name)}),this._actuatorMap.delete(n)}),this._actuatorMap.set(n,s));let l=await s,c=this._actuatorMap.get(a);c||(c=new Promise(async(u,p)=>{let m=await pK({categories:[{parentName:r[0],childName:r[1],parent_order_no:e[0]||0,child_order_no:e[1]||e[0]||0}],type:[o],uuid:i});u({uuids:m.allChildCreated.map(h=>h.uuid),titles:m.allChildCreated.map(h=>h.name)}),this._actuatorMap.delete(a)}),this._actuatorMap.set(a,c));let d=await c;return{uuids:[l.uuids[0],d.uuids[0]],titles:[l.titles[0],d.titles[0]]}}};async function iir(t,e){let i=[],o=[],r=async s=>{let{message:l}=await wo.messageBus.rpcCall(Ei.TAG.UPDATE,s);return l},n=null;try{for(let s=0;s<t.length;s++){let l=await r({...t[s],path:t[s].user_uuid});if(l.code===0&&l.success){let d={...l,message:"",result:{...t[s],path:t[s].user_uuid,...l.result[0]}};i.push(d),e&&e(d,s);continue}let c={...l,result:{...t[s]}};o.push(c)}return{code:0,success:!0,result:{successList:i,failList:o},message:""}}catch(s){n=s}let a=n?n.msg||n.message:"Update Categories Batch Error";return{code:n?n.code:_e.ERR_CODE.NORMAL,success:!1,result:null,message:a}}var sn=class{};sn.categoryAddtition=new tir,sn.fetchCategoryList=vwe,sn.fetchInternalCategoryList=Jtr,sn.addCategoriesBatch=Ade,sn.deleteCategoriesBatch=$tr,sn.updateCategoriesBatch=iir,sn.addCategoriesBatchByNameArray=pK,sn.queryCategoryBatchByNames=Dwe,sn.queryCategoryBatchByIds=eir,sn.formatRepeatCategoryArr=qtr,sn.bindAndCreateCategory=Xtr,sn.getCategoryNamesByTags=pU;async function pU(t,e,i){if(!t)return[];if(t instanceof Array)return t;let o=yK(t);if(o=o.filter(c=>!!c),!o.length)return[];let r=(await wo.messageBus.rpcCall("LocaleCurrFetch",{})).message||"en",n=await vwe(e,e,i),a=n.result?n.result.sourceCategoryList:[],s=typeof o[1]<"u",l=[];for(let c=0;c<a.length;c++)if(a[c].name===o[0]||a[c].name_cn===o[0]){l.push(r=="en"?a[c].name:a[c].name_cn||a[c].name);break}if(s){for(let c=0;c<a.length;c++)if(a[c].name===o[1]||a[c].name_cn===o[1]){l.push(r=="en"?a[c].name:a[c].name_cn||a[c].name);break}}return l}async function Iii(t,e,i){let o=null,r=null,n=[],a=[],s=!1,l,c;if(t)if("data"in t)o=t.data,o.tags&&(o.tags instanceof Array?a=o.tags:a=yK(o.tags));else{if(!t.uuid||!t.path)throw new St("PARAMETER_VERIFICATION","missing 3d-model uuid or path data.");l=t.uuid,c=t.path,r=await Ze.getD3Model({isProject:t.isProject,uuid:t.uuid,path:t.path}),r&&(r.title=r.display_title,a=await pU(r.tags,t.path,[5]))}if(!i){let d=await sn.categoryAddtition.addActuator(a,[0],e,5);n=d.uuids,a=d.titles}return{d3modelItemOriginUuid:l,d3modelItemOriginPath:c,d3modelItemIn:o,d3modelItemOut:r,d3modelTagIds:n,d3modelTagTitles:a}}function Ude(t){return t?{uuid:t.uuid,nickname:t.nickname,username:t.username}:{}}function oir(t){return Array.isArray(t)?t:t?[t]:[]}function Vde(t){return t?{uuid:t.uuid,nickname:t.nickname,username:t.username}:{}}function Hde(t){return t?{uuid:t.uuid,nickname:t.nickname,username:t.username}:{}}function Lii(t,e){return{title:e.title,description:e.description,images:oir(e.images),attributes:e.attributes,uuid:e.uuid,path:_de(e)||t,ticket:e.ticket,updateTime:p1(e.updateTime),createTime:p1(e.createTime),display_title:e.display_title,creator:Ude(e.creator),modifier:Vde(e.modifier),owner:Hde(e.owner),symbol_type:e.symbol_type}}function wK(t,e){return{...Lii(t,e),isFavorite:e.isFavorite,tags:e.tags,produce_code:e.produce_code}}function gNe(t,e){return{...Lii(t,e),custom_tags:e.custom_tags,source:e.source,version:e.version}}function vii(t,e){return{title:e.title,description:e.description,docType:e.docType,path:_de(e)||t,uuid:e.uuid,ticket:e.ticket,updateTime:p1(e.updateTime),createTime:p1(e.createTime),display_title:e.display_title,creator:Ude(e.creator),modifier:Vde(e.modifier),owner:Hde(e.owner)}}function qR(t,e){return{...vii(t,e),tags:e.tags,has_device:e.has_device,history_uuid:e.history_uuid,key:e.key,iv:e.iv,dataStrId:e.dataStrId,dataStr:e.dataStr,isFavorite:e.isFavorite}}function O1t(t,e){return{...vii(t,e),custom_tags:e.custom_tags,source:e.source,version:e.version}}function Dii(t,e){return{title:e.title,description:e.description,docType:e.docType,uuid:e.uuid,path:_de(e)||t,ticket:e.ticket,updateTime:p1(e.updateTime),createTime:p1(e.createTime),display_title:e.display_title,creator:Ude(e.creator),modifier:Vde(e.modifier),owner:Hde(e.owner)}}function XR(t,e){return{...Dii(t,e),tags:e.tags,has_device:e.has_device,history_uuid:e.history_uuid,key:e.key,iv:e.iv,dataStrId:e.dataStrId,dataStr:e.dataStr,isFavorite:e.isFavorite}}function R1t(t,e){return{...Dii(t,e),custom_tags:e.custom_tags,source:e.source,version:e.version}}async function Gde(t,e){return{title:e.title,description:e.description,path:_de(e)||t,docType:e.docType,uuid:e.uuid,ticket:e.ticket,updateTime:p1(e.updateTime),createTime:p1(e.createTime),display_title:e.display_title,creator:Ude(e.creator),modifier:Vde(e.modifier),owner:Hde(e.owner),tags:e.tags,dataStrId:e.dataStrId,dataStr:await Swe(e)}}function Wie(t,e){return{title:e.title,description:e.description,path:_de(e)||t,docType:e.docType,uuid:e.uuid,ticket:e.ticket,updateTime:p1(e.updateTime),createTime:p1(e.createTime),display_title:e.display_title,creator:Ude(e.creator),modifier:Vde(e.modifier),owner:Hde(e.owner),tags:e.tags,history_uuid:e.history_uuid,key:e.key,iv:e.iv,dataStr:e.dataStr,dataStrId:e.dataStrId,isFavorite:e.isFavorite}}async function Qie(t,e){return{title:e.title,path:_de(e)||t,docType:e.docType,uuid:e.uuid,ticket:e.ticket,updateTime:p1(e.updateTime),createTime:p1(e.createTime),display_title:e.display_title,creator:Ude(e.creator),modifier:Vde(e.modifier),owner:Hde(e.owner),tags:e.tags,history_uuid:e.history_uuid,key:e.key,iv:e.iv,dataStrId:e.dataStrId,dataStr:await Swe(e)}}async function rir(t){let{d3modelItemIn:e,d3modelItemOut:i,d3modelTagIds:o,d3modelTagTitles:r}=await Iii(t.d3model,t.path,t.isProject),n=e||i;if(!n)throw new St("PARAMETER_VERIFICATION","missing 3d-model data.");Tii(n.title),"path"in t.d3model&&t.d3model.override&&d3(n,t.d3model.override);let a=await pn("POST",mn.COMPONENT.CREATE,{...n,tags:o,owner:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(a.code===0&&a.success){let l=a.result;return await Gde(t.path,l)}let s=a.message||a.msg||"Request Error.";throw f8(a.code)?new St("D3MODEL_SAME_NAMA_EXISTS",s):JL(a.code)?new St("CREATE_D3MODEL_PERMISSIONS",s):new St("CREATE_D3MODEL",s)}async function QNe(t=!1,e,i,o,r,n){let a=e.toLocaleLowerCase(),s=n?!!n.forceAsSymbol:!1,l=[];try{if(s||o&&[2,18,19,20,21,22,25,31,7,32,6].indexOf(o)>=0){let c={isProject:t,path:i,titles:[a],docType:o};l=(await Ze.getSymbolSearchList(c))[a]||[]}if(o===28){let c={isProject:t,path:i,titles:[a]};l=(await Ze.getDeviceSearchList(c))[a]||[]}if(o===4){let c={isProject:t,path:i,titles:[a]};l=(await Ze.getFootprintSearchList(c))[a]||[]}return o===16&&(l=(await Ze.getD3ModelSearchList({isProject:t,uid:i,path:i,page:1,pageSize:void 0,wd:a})).lists),{code:0,success:!0,result:l,message:""}}catch(c){return console.error(c),{code:-1,success:!1,result:[],message:c instanceof St?`${String(c.action)}|${String(c.message)}`:c.message||"QueryComponentsByTitle call error."}}}function M$t(t,e){return t.path==e}function I$t(t){try{let e=JSON.parse(t);return{parentName:e[0],childName:e[1]}}catch{return{parentName:"",childName:""}}}function nir(t){let e={};return e["device-owner"]=t.userIdSelected,e["device-lib"]=t.userIdSelected,e["footprint-name"]=t.footprintItem?t.footprintItem.display_title:"",e["symbol-name"]=t.symbolItem?t.symbolItem.display_title:"",e["new-symbol"]=t.isNeedCreateSymbolAndAssocia,e}function Eii(t,e){typeof t.footprintItemId<"u"&&(e.Footprint=t.footprintItemId),typeof t.symbolItemId<"u"&&(e.Symbol=t.symbolItemId)}async function Aii(t,e){let i=nir(t),o=t.footprintItem,r=t.symbolItem,n={},a=async(w,x)=>{let S="",T="",M=!1,I=e==="zh-hans",A=w.parent_tag,D=w.child_tag;if(A&&A.uuid&&(M=!0,S=I&&A.name_cn||A.name),M&&D&&D.uuid){let E=I&&D.name_cn||D.name;S+=`:${E}`}if(S){let E=S.split(":")[0],N=S.split(":")[1],R=await pK({categories:N?[{parentName:E,childName:N}]:[{parentName:E}],type:[+x],uuid:i["device-owner"]}),v=R.allParentCreated[0]?R.allParentCreated[0].uuid:void 0,k=R.allChildCreated[0]?R.allChildCreated[0].uuid:void 0;v&&(T=k?[v,k]:[v])}return T},s={"file-owner":i["device-owner"],"file-name":i["footprint-name"],"file-describe":"","file-category":await a((o==null?void 0:o.tags)||{},4),"file-lib":i["device-lib"],"file-customTags":[]};if(o&&o!=null&&o.custom_tags&&!(s!=null&&s["file-category"])){let{parentName:w,childName:x}=I$t(o.custom_tags);if(w){let S=await pK({categories:x?[{parentName:w,childName:x}]:[{parentName:w}],type:[4],uuid:i["device-owner"]}),T=S.allParentCreated[0]?S.allParentCreated[0].uuid:void 0,M=S.allChildCreated[0]?S.allChildCreated[0].uuid:void 0;T&&(s["file-customTags"]=M?[T,M]:[T])}}let l={"file-owner":i["device-owner"],"file-name":i["symbol-name"],"file-describe":"","file-category":await a((r==null?void 0:r.tags)||{},2),"file-lib":i["device-lib"],"file-customTags":[]};if(r&&r!=null&&r.custom_tags&&!l["file-category"]){let{parentName:w,childName:x}=I$t(r.custom_tags);if(w){let S=await pK({categories:x?[{parentName:w,childName:x}]:[{parentName:w}],type:[4],uuid:i["device-owner"]}),T=S.allParentCreated[0]?S.allParentCreated[0].uuid:void 0,M=S.allChildCreated[0]?S.allChildCreated[0].uuid:void 0;T&&(l["file-customTags"]=M?[T,M]:[T])}}let c,d,u,p,m=!1,h=!1,f=!1;async function g(){if(i["footprint-name"])if(M$t(o,i["device-owner"]||i["device-lib"]))u=o,c=null;else{let w=await QNe(!1,s["file-name"],i["device-lib"],4);w.result.length<=0||(h=!0,u=o,c=w.result)}else u=null,c=null}async function b(){if(!i["new-symbol"]&&i["symbol-name"]&&r)if(M$t(r,i["device-owner"]||i["device-lib"]))p=r,d=null;else{let w=await QNe(!1,l["file-name"],i["device-lib"],r.docType);w.result.length<=0||(m=!0,d=w.result,p=r)}else p=null,d=null}await g(),await b();let y={isNeedConfirm:!1,updateCache:n,formData:i,newFootPrint:c,oldFootPrint:u,newSymbol:d,oldSymbol:p,confirmRes:t};return!m&&!h&&!f?(y.isNeedConfirm=!1,y):(y.isNeedConfirm=!0,y)}async function Ght(t,e,i,o){let r=null,n=null,a=[],s=[],l=!1,c,d;if(t)if("data"in t)t.data&&(r=t.data,r.tags&&(r.tags instanceof Array?s=r.tags:s=yK(r.tags)));else{if(!t.uuid||!t.path)throw new St("PARAMETER_VERIFICATION","missing footprint uuid or path data.");c=t.uuid,d=t.path,n=await Ze.getFootprint({isProject:t.isProject,uuid:t.uuid,path:t.path}),n&&(n.title=n.display_title,o&&Array.isArray(o)?s=o:s=await pU(n.tags,t.path,[4]))}if(!i){let u=await sn.categoryAddtition.addActuator(s,[0],e,4);a=u.uuids,s=u.titles}return{footprintItemOriginUuid:c,footprintItemOriginPath:d,footprintItemIn:r,footprintItemOut:n,footprintTagIds:a,footprintTagTitles:s}}async function Yht(t,e,i,o){let r=null,n=null,a=[],s=[],l=!1,c,d;if(t)if("data"in t)t.data&&(r=t.data,r.tags&&(r.tags instanceof Array?s=r.tags:s=yK(r.tags)));else{if(!t.uuid||!t.path)throw new St("PARAMETER_VERIFICATION","missing symbol uuid or path data.");c=t.uuid,d=t.path,n=await Ze.getSymbol({isProject:t.isProject,uuid:t.uuid,path:t.path}),n&&(n.title=n.display_title,o&&Array.isArray(o)?s=o:s=await pU(n.tags,t.path,[2])),l=t.isProject}if(!i){let u=await sn.categoryAddtition.addActuator(s,[0],e,2);a=u.uuids,s=u.titles}return{symbolItemOriginUuid:c,symbolItemOriginPath:d,symbolItemIn:r,symbolItemOut:n,symbolTagIds:a,symbolTagTitles:s}}async function Nii(t,e,i,o){let r=null,n=null,a=[],s=[],l=!1;if(t)if("data"in t)t.data&&(r=t.data,r.tags&&(r.tags instanceof Array?s=r.tags:s=yK(r.tags)));else{if(!t.uuid||!t.path)throw new St("PARAMETER_VERIFICATION","missing device uuid or path data.");n=await Ze.getDevice({isProject:t.isProject,uuid:t.uuid,path:t.path}),n&&(n.title=n.display_title,o&&Array.isArray(o)?s=o:s=await pU(n.tags,t.path,[3])),l=t.isProject}if(!i){let c=await sn.categoryAddtition.addActuator(s,[0],e,3);a=c.uuids,s=c.titles}return{deviceItemIn:r,deviceItemOut:n,deviceTagIds:a,deviceTagTitles:s,isDeviceFromProject:l}}async function kii(t,e,i,o,r,n){let a=null,s=null,l=[],c=[],d,u;if(t){let{symbolItemIn:p,symbolItemOut:m,symbolTagIds:h,symbolTagTitles:f,symbolItemOriginUuid:g,symbolItemOriginPath:b}=await Yht(t,i,o,"path"in t&&t.override&&Array.isArray(t.override.tags)?t.override.tags:void 0);a=p,s=m,l=h,c=f,d=g,u=b}else if(r)if(n){let p=await Ze.getSymbol({isProject:e,uuid:r,path:n});if(d=r,u=n,p){p.title=p.display_title,s=p,c=await pU(p.tags,n,[2]);let m=await sn.categoryAddtition.addActuator(c,[0],i,2);l=m.uuids,c=m.titles}}else{let p=null;try{p=await Ze.getSymbol({isProject:e,uuid:r,path:i}),d=r,u=i}catch(m){p=null,d=r,u=i,console.warn(m)}p||console.warn("[NOSYMBOL_ON_TARGETPATH_BY_DEVICE_BOUND]: the symbol bound to this device does not exist in the target library.")}return{symbolItemOriginUuid:d,symbolItemOriginPath:u,symbolItemIn:a,symbolItemOut:s,symbolTagIds:l,symbolTagTitles:c}}async function Pii(t,e,i,o,r,n){let a=null,s=null,l=[],c=[],d,u;if(t){let{footprintItemIn:p,footprintItemOut:m,footprintTagIds:h,footprintTagTitles:f,footprintItemOriginUuid:g,footprintItemOriginPath:b}=await Ght(t,i,o,"path"in t&&t.override&&Array.isArray(t.override.tags)?t.override.tags:void 0);a=p,s=m,l=h,c=f,d=g,u=b}else if(r)if(n){let p=await Ze.getFootprint({isProject:e,uuid:r,path:n});if(d=r,u=n,p){p.title=p.display_title,s=p,c=await pU(p.tags,n,[4]);let m=await sn.categoryAddtition.addActuator(c,[0],i,4);l=m.uuids,c=m.titles}}else{let p=null;try{p=await Ze.getFootprint({isProject:e,uuid:r,path:i}),d=r,u=i}catch(m){p=null,d=r,u=i,console.warn(m)}p||console.warn("[NOFOOTPRINT_ON_TARGETPATH_BY_DEVICE_BOUND]: the footprint bound to this device does not exist in the target library.")}return{footprintItemOriginUuid:d,footprintItemOriginPath:u,footprintItemIn:a,footprintItemOut:s,footprintTagIds:l,footprintTagTitles:c}}async function Oii(t,e,i,o,r,n){if(!o)return;let a=null;if("data"in o)r.title&&(a=await Ze.createSymbol({isProject:t,path:e,symbol:{data:{...r,tags:n},ignoreDuplicateNameCheck:o.ignoreDuplicateNameCheck}})),i.attributes&&a&&typeof a=="object"&&(i.attributes.Symbol=a.uuid);else{o.override&&d3(r,o.override);try{a=await Ze.getSymbol({isProject:t,path:e,uuid:o.uuid})}catch{a=null}if(a&&typeof a=="object")i.attributes&&(i.attributes.Symbol=a.uuid);else if(r.title&&(a=await Ze.createSymbol({isProject:t,path:e,symbol:{data:{...r,tags:n},ignoreDuplicateNameCheck:o.ignoreDuplicateNameCheck}})),i.attributes&&a&&typeof a=="object"){i.attributes.Symbol=a.uuid;let s=await bK({origin:{docType:r.docType,isProject:o.isProject,uuid:o.uuid,path:o.path},target:{docType:a.docType,isProject:t,uuid:a.uuid,path:a.path}});if(!s.success)throw new St("CREATE_SYMBOL_MIGRATE_CANVAS_ERROR",s.message||"migrate canvas error.")}}}async function Rii(t,e,i,o,r,n){if(!o)return;let a=null;if("data"in o)r.title&&(a=await Ze.createFootprint({isProject:t,path:e,footprint:{data:{...r,tags:n}}})),i.attributes&&a&&typeof a=="object"&&(i.attributes.Footprint=a.uuid);else{o.override&&d3(r,o.override);try{a=await Ze.getFootprint({isProject:t,path:e,uuid:o.uuid})}catch{a=null}if(a&&typeof a=="object")i.attributes&&(i.attributes.Footprint=a.uuid);else if(r.title&&(a=await Ze.createFootprint({isProject:t,path:e,footprint:{data:{...r,tags:n}}})),i.attributes&&a&&typeof a=="object"){i.attributes.Footprint=a.uuid;let s=await bK({origin:{docType:r.docType,isProject:o.isProject,uuid:o.uuid,path:o.path},target:{docType:a.docType,isProject:t,uuid:a.uuid,path:a.path}});if(!s.success)throw new St("CREATE_FOOTPRINT_MIGRATE_CANVAS_ERROR",s.message||"migrate canvas error.")}}}async function air(t){let{deviceItemIn:e,deviceItemOut:i,deviceTagIds:o,deviceTagTitles:r,isDeviceFromProject:n}=await Nii(t.device,t.path,t.isProject,"path"in t.device&&t.device.override&&Array.isArray(t.device.override.tags)?t.device.override.tags:void 0),a=e||i;if(!a)throw new St("PARAMETER_VERIFICATION","missing device data.");a.title=t.device&&"path"in t.device&&t.device.override&&Lwe(t.device.override,"title")||a.title,wii(a.title);let{symbolItemIn:s,symbolItemOut:l,symbolTagIds:c,symbolTagTitles:d,symbolItemOriginUuid:u,symbolItemOriginPath:p}=await kii(t.symbol,n,t.path,t.isProject,a.attributes?a.attributes.Symbol:void 0,"data"in t.device?void 0:t.device.path),m=s||l,h=!!(t.symbol&&"data"in t.symbol);a.attributes&&l&&typeof l=="object"&&(a.attributes.Symbol=l.uuid),t.symbol&&"path"in t.symbol&&t.symbol.override&&d3(m,t.symbol.override);let{footprintItemIn:f,footprintItemOut:g,footprintTagIds:b,footprintTagTitles:y,footprintItemOriginUuid:w,footprintItemOriginPath:x}=await Pii(t.footprint,n,t.path,t.isProject,a.attributes?a.attributes.Footprint:void 0,"data"in t.device?void 0:t.device.path),S=f||g;t.footprint&&"path"in t.footprint&&t.footprint.override&&d3(S,t.footprint.override),a.attributes&&g&&typeof g=="object"&&(a.attributes.Footprint=g.uuid);let T=!1,M=!1,I=await Aii({symbolItem:m,footprintItem:S,userIdSelected:t.path,isNeedCreateSymbolAndAssocia:h},void 0);if(I.isNeedConfirm){let E=(await wo.messageBus.rpcCall("OpenSameNameSaveAsDlgService",{...I},31536e8)).message;if(!E){let N="an exception occurred while executing the cross-bind program.";throw new St("CROSS_BIND",N)}if(E.action==="cancel"||E.action==="close"){let N="quit operate while executing the cross-bind program.";throw new St("CROSS_BIND_EXIT",N)}I.updateCache=E.data,a.attributes&&Object.keys(I.updateCache).length&&(I.updateCache.symbolItemId&&(T=!0),I.updateCache.footprintItemId&&(M=!0),Eii(I.updateCache,a.attributes))}!T&&m&&await Oii(t.isProject,t.path,a,t.symbol,m,d),!M&&S&&await Rii(t.isProject,t.path,a,t.footprint,S,y),"path"in t.device&&t.device.override&&(delete t.device.override.tags,d3(a,t.device.override));let A=await pn("POST",mn.DEVICE.CREATE,{...a,tags:o,owner:t.path,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(A.code===0&&A.success){let E=A.result;return wK(t.path,E)}let D=A.message||A.msg||"Request Error.";throw f8(A.code)?new St("DEVICE_SAME_NAMA_EXISTS",D):JL(A.code)?new St("CREATE_DEVICE_PERMISSIONS",D):new St("CREATE_DEVICE",D)}async function sir(t){let{footprintItemIn:e,footprintItemOut:i,footprintTagIds:o,footprintTagTitles:r}=await Ght(t.footprint,t.path,t.isProject,"path"in t.footprint&&t.footprint.override&&Array.isArray(t.footprint.override.tags)?t.footprint.override.tags:void 0),n=e||i;if(!n)throw new St("PARAMETER_VERIFICATION","missing footprint data.");n.title="path"in t.footprint&&t.footprint.override&&Lwe(t.footprint.override,"title")||n.title,xii(n.title),"path"in t.footprint&&t.footprint.override&&(delete t.footprint.override.tags,d3(n,t.footprint.override));let a=await pn("POST",mn.COMPONENT.CREATE,{title:n.title,tags:o,docType:n.docType||4,description:n.description,owner:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(a.code===0&&a.success){let l=a.result;if(!("data"in t.footprint)&&t.footprint.uuid&&t.footprint.path){let c=await bK({origin:{docType:n.docType,isProject:!!t.footprint.isProject,uuid:t.footprint.uuid,path:t.footprint.path},target:{docType:l.docType,isProject:!1,uuid:l.uuid,path:l.path}});if(!c.success)throw new St("CREATE_FOOTPRINT_MIGRATE_CANVAS_ERROR",c.message||"migrate canvas error.")}return XR(t.path,l)}let s=a.message||a.msg||"Request Error.";throw f8(a.code)?new St("FOOTPRINT_SAME_NAMA_EXISTS",s):JL(a.code)?new St("CREATE_FOOTPRINT_PERMISSIONS",s):new St("CREATE_FOOTPRINT",s)}async function _ii(t,e,i,o){let r=null,n=null,a=[],s=[],l=!1,c,d;if(t)if("data"in t)r=t.data,r.tags&&(r.tags instanceof Array?s=r.tags:s=yK(r.tags));else{if(!t.uuid||!t.path)throw new St("PARAMETER_VERIFICATION","missing simModel uuid or path data.");c=t.uuid,d=t.path,n=await Ze.getSimModel({isProject:t.isProject,uuid:t.uuid,path:t.path}),n&&(n.title=n.display_title,o&&Array.isArray(o)?s=o:s=await pU(n.tags,t.path,[6]))}if(!i){let u=await sn.categoryAddtition.addActuator(s,[0],e,6);a=u.uuids,s=u.titles}return{simModelItemOriginUuid:c,simModelItemOriginPath:d,simModelItemIn:r,simModelItemOut:n,simModelTagIds:a,simModelTagTitles:s}}async function lir(t){let{simModelItemIn:e,simModelItemOut:i,simModelTagIds:o,simModelTagTitles:r}=await _ii(t.simModel,t.path,t.isProject,"path"in t.simModel&&t.simModel.override&&Array.isArray(t.simModel.override.tags)?t.simModel.override.tags:void 0),n=e||i;if(!n)throw new St("PARAMETER_VERIFICATION","missing sim-model data.");n.title="path"in t.simModel&&t.simModel.override&&Lwe(t.simModel.override,"title")||n.title,Sii(n.title),"path"in t.simModel&&t.simModel.override&&(delete t.simModel.override.tags,d3(n,t.simModel.override));let a=await pn("POST",mn.COMPONENT.CREATE,{...n,tags:o,owner:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(a.code===0&&a.success){let l=a.result;return await Qie(t.path,l)}let s=a.message||a.msg||"Request Error.";throw f8(a.code)?new St("SIM_MODEL_SAME_NAMA_EXISTS",s):JL(a.code)?new St("CREATE_SIM_MODEL_PERMISSIONS",s):new St("CREATE_SIM_MODEL",s)}async function cir(t){let{symbolItemIn:e,symbolItemOut:i,symbolTagIds:o,symbolTagTitles:r}=await Yht(t.symbol,t.path,t.isProject,"path"in t.symbol&&t.symbol.override&&Array.isArray(t.symbol.override.tags)?t.symbol.override.tags:void 0),n=e||i;if(!n)throw new St("PARAMETER_VERIFICATION","missing symbol data.");n.title="path"in t.symbol&&t.symbol.override&&Lwe(t.symbol.override,"title")||n.title,Cii(n.title),"path"in t.symbol&&t.symbol.override&&(delete t.symbol.override.tags,d3(n,t.symbol.override));let a=await pn("POST",mn.COMPONENT.CREATE,{title:n.title,tags:o,docType:n.docType,description:n.description,owner:t.path,ignoreDuplicateNameCheck:t.symbol.ignoreDuplicateNameCheck},{headers:{"Content-Type":"application/json",path:t.path}});if(a.code===0&&a.success){let l=a.result;if(!("data"in t.symbol)&&t.symbol.uuid&&t.symbol.path){let c=await bK({origin:{docType:n.docType,isProject:!!t.symbol.isProject,uuid:t.symbol.uuid,path:t.symbol.path},target:{docType:l.docType,isProject:!1,uuid:l.uuid,path:l.path}});if(!c.success)throw new St("CREATE_SYMBOL_MIGRATE_CANVAS_ERROR",c.message||"migrate canvas error.")}return qR(t.path,l)}let s=a.message||a.msg||"Request Error.";throw f8(a.code)?new St("SYMBOL_SAME_NAMA_EXISTS",s):JL(a.code)?new St("CREATE_SYMBOL_PERMISSIONS",s):new St("CREATE_SYMBOL",s)}async function dir(t){let e=await pn("GET",vu(mn.DEVICE.GET,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(e.code===0&&e.success&&typeof e.result=="object"){let o=e.result;if(typeof o.path<"u"&&o.path!==t.path)throw new St("GET_DEVICE_NOT_FOUND","data not found");return wK(t.path,o)}let i=e.message||e.msg||"Request Error.";throw new St("GET_DEVICE",i)}async function uir(t){let e=await pn("GET",vu(mn.COMPONENT.GET,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(e.code===0&&e.success&&typeof e.result=="object"){let o=e.result;if(typeof o.path<"u"&&o.path!==t.path)throw new St("GET_FOOTPRINT_NOT_FOUND","data not found");return XR(t.path,o)}let i=e.message||e.msg||"Request Error.";throw new St("GET_FOOTPRINT",i)}async function pir(t){let e=await pn("GET",vu(mn.COMPONENT.GET,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(e.code===0&&e.success&&typeof e.result=="object"){let o=e.result;return await Qie(t.path,o)}let i=e.message||e.msg||"Request Error.";throw new St("GET_SIM_MODEL",i)}function S9(t={}){let e={},i=Object.keys(t);for(let o=0;o<i.length;o++)i[o]===""||String(i[o])==="undefined"||typeof t[i[o]]>"u"||t[i[o]]==null||(e[i[o]]=t[i[o]]);return e}async function mir(t){let e=await pn("GET",mn.COMPONENT.LIST,{...S9(t.query||{}),path:t.path,uid:t.uid,page:t.page,pageSize:t.pageSize,docType:t.docType,tag:t.tags||[]},{headers:{path:t.path},searchParams:!0});if(e.code===0&&e.success&&typeof e.result=="object"){let o=e.result,r=[];for(let n of o.lists)r.push(await Qie(t.path,n));return{count:o.count,page:o.page,pageSize:o.pageSize,totalPage:o.totalPage,lists:r}}let i=e.message||e.msg||"Request Error.";throw new St("GET_SIM_MODEL_LIST",i)}async function hir(t){let e=await pn("GET",vu(mn.COMPONENT.GET,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(e.code===0&&e.success&&typeof e.result=="object"){let o=e.result;if(typeof o.path<"u"&&o.path!==t.path)throw new St("GET_SYMBOL_NOT_FOUND","data not found");return qR(t.path,o)}let i=e.message||e.msg||"Request Error.";throw new St("GET_SYMBOL",i)}async function fir(t){let{deviceItemIn:e,deviceItemOut:i,deviceTagIds:o,deviceTagTitles:r,isDeviceFromProject:n}=await Nii(t.device,t.path,t.isProject,"path"in t.device&&t.device.override&&Array.isArray(t.device.override.tags)?t.device.override.tags:void 0),a=e||i;if(!a)throw new St("PARAMETER_VERIFICATION","missing device data.");a.title!==void 0&&wii(a.title);let{symbolItemIn:s,symbolItemOut:l,symbolTagIds:c,symbolTagTitles:d,symbolItemOriginUuid:u,symbolItemOriginPath:p}=await kii(t.symbol,n,t.path,t.isProject,a.attributes?a.attributes.Symbol:void 0,"data"in t.device?void 0:t.device.path),m=s||l,h=!!(t.symbol&&"data"in t.symbol);t.symbol&&"path"in t.symbol&&t.symbol.override&&d3(m,t.symbol.override),a.attributes&&l&&typeof l=="object"&&(a.attributes.Symbol=l.uuid);let{footprintItemIn:f,footprintItemOut:g,footprintTagIds:b,footprintTagTitles:y,footprintItemOriginUuid:w,footprintItemOriginPath:x}=await Pii(t.footprint,n,t.path,t.isProject,a.attributes?a.attributes.Footprint:void 0,"data"in t.device?void 0:t.device.path),S=f||g;t.footprint&&"path"in t.footprint&&t.footprint.override&&d3(S,t.footprint.override),a.attributes&&g&&typeof g=="object"&&(a.attributes.Footprint=g.uuid);let T=!1,M=!1,I=await Aii({symbolItem:m,footprintItem:S,userIdSelected:t.path,isNeedCreateSymbolAndAssocia:h},void 0);if(I.isNeedConfirm){let E=(await wo.messageBus.rpcCall("OpenSameNameSaveAsDlgService",{...I},31536e8)).message;if(!E){let N="an exception occurred while executing the cross-bind program.";throw new St("CROSS_BIND",N)}if(E.action==="cancel"||E.action==="close"){let N="quit operate while executing the cross-bind program.";throw new St("CROSS_BIND_EXIT",N)}I.updateCache=E.data,a.attributes&&Object.keys(I.updateCache).length&&(I.updateCache.symbolItemId&&(T=!0),I.updateCache.footprintItemId&&(M=!0),Eii(I.updateCache,a.attributes))}!T&&m&&await Oii(t.isProject,t.path,a,t.symbol,m,d),!M&&S&&await Rii(t.isProject,t.path,a,t.footprint,S,y),"path"in t.device&&t.device.override&&(delete t.device.override.tags,d3(a,t.device.override));let A=await pn("POST",vu(mn.DEVICE.UPDATE,{uuid:t.uuid}),{...a,tags:o,owner:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(A.code===0&&A.success&&A.result){let E=A.result;return wK(t.path,E)}let D=A.message||A.msg||"Request Error.";throw f8(A.code)?new St("DEVICE_SAME_NAMA_EXISTS",D):JL(A.code)?new St("CREATE_DEVICE_PERMISSIONS",D):new St("UPDATE_DEVICE",D)}async function gir(t){let{footprintItemIn:e,footprintItemOut:i,footprintTagIds:o,footprintTagTitles:r}=await Ght(t.footprint,t.path,t.isProject,"path"in t.footprint&&t.footprint.override&&Array.isArray(t.footprint.override.tags)?t.footprint.override.tags:void 0),n=e||i;if(!n)throw new St("PARAMETER_VERIFICATION","missing footprint data.");n.title!==void 0&&xii(n.title),"path"in t.footprint&&t.footprint.override&&(delete t.footprint.override.tags,d3(n,t.footprint.override));let a=await pn("POST",vu(mn.COMPONENT.UPDATE,{uuid:t.uuid}),{title:n.title,tags:o,docType:n.docType||4,description:n.description,owner:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(a.code===0&&a.success&&typeof a.result=="object"){let l=a.result;if(!("data"in t.footprint)&&t.footprint.uuid&&t.footprint.path){let c=await bK({origin:{docType:n.docType,isProject:t.footprint.isProject,uuid:t.footprint.uuid,path:t.footprint.path},target:{docType:l.docType,isProject:t.isProject,uuid:t.uuid,path:t.path}});if(!c.success)throw new St("UPDATE_FOOTPRINT_MIGRATE_CANVAS_ERROR",c.message||"migrate canvas error.")}return XR(t.path,l)}let s=a.message||a.msg||"Request Error.";throw f8(a.code)?new St("FOOTPRINT_SAME_NAMA_EXISTS",s):JL(a.code)?new St("UPDATE_FOOTPRINT_PERMISSIONS",s):new St("UPDATE_FOOTPRINT",s)}async function bir(t){let{simModelItemIn:e,simModelItemOut:i,simModelTagIds:o,simModelTagTitles:r}=await _ii(t.simModel,t.path,t.isProject,"path"in t.simModel&&t.simModel.override&&Array.isArray(t.simModel.override.tags)?t.simModel.override.tags:void 0),n=e||i;if(!n)throw new St("PARAMETER_VERIFICATION","missing simModel data.");n.title!==void 0&&Sii(n.title),"path"in t.simModel&&t.simModel.override&&(delete t.simModel.override.tags,d3(n,t.simModel.override));let a=await pn("POST",vu(mn.COMPONENT.UPDATE,{uuid:t.uuid}),{...n,tags:o,owner:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!a.success){let l=a.message||a.msg||"Request Error.";throw new St("UPDATE_SIM_MODEL",l)}if(n.dataStr){let l=await pn("POST",vu(mn.COMPONENT.UPDATE_CANVAS,{uuid:t.uuid}),{...n,tags:o,owner:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!l.success){let c=l.message||l.msg||"Request Error.";throw new St("UPDATE_SIM_MODEL",c)}}if(a.code===0&&a.success&&typeof a.result=="object"){let l=a.result;return await Qie(t.path,l)}let s=a.message||a.msg||"Request Error.";throw f8(a.code)?new St("SIM_MODEL_SAME_NAMA_EXISTS",s):JL(a.code)?new St("UPDATE_SIM_MODEL_PERMISSIONS",s):new St("UPDATE_SYMBOL",s)}async function yir(t){let{symbolItemIn:e,symbolItemOut:i,symbolTagIds:o,symbolTagTitles:r}=await Yht(t.symbol,t.path,t.isProject,"path"in t.symbol&&t.symbol.override&&Array.isArray(t.symbol.override.tags)?t.symbol.override.tags:void 0),n=e||i;if(!n)throw new St("PARAMETER_VERIFICATION","missing symbol data.");n.title!==void 0&&Cii(n.title),"path"in t.symbol&&t.symbol.override&&(delete t.symbol.override.tags,d3(n,t.symbol.override));let a=await pn("POST",vu(mn.COMPONENT.UPDATE,{uuid:t.uuid}),{title:n.title,tags:o,docType:n.docType,description:n.description,owner:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(a.code===0&&a.success&&typeof a.result=="object"){let l=a.result;if(!("data"in t.symbol)&&t.symbol.uuid&&t.symbol.path){let c=await bK({origin:{docType:n.docType,isProject:t.symbol.isProject,uuid:t.symbol.uuid,path:t.symbol.path},target:{docType:l.docType,isProject:t.isProject,uuid:t.uuid,path:t.path}});if(!c.success)throw new St("UPDATE_SYMBOL_MIGRATE_CANVAS_ERROR",c.message||"migrate canvas error.")}return qR(t.path,l)}let s=a.message||a.msg||"Request Error.";throw f8(a.code)?new St("SYMBOL_SAME_NAMA_EXISTS",s):JL(a.code)?new St("UPDATE_SYMBOL_PERMISSIONS",s):new St("UPDATE_SYMBOL",s)}async function wir(t){let e=await pn("GET",mn.COMPONENT.LIST,{...t.query||{},path:t.path,uid:t.uid,page:t.page,pageSize:t.pageSize,docType:[16],tag:t.tags||[]},{headers:{path:t.path},searchParams:!0});if(e.code===0&&e.success&&typeof e.result=="object"){let o=e.result,r=[];for(let n of o.lists)r.push(await Gde(t.path,n));return{count:o.count,page:o.page,pageSize:o.pageSize,totalPage:o.totalPage,lists:r}}let i=e.message||e.msg||"Request Error.";throw new St("GET_D3MODEL_LIST",i)}async function Cir(t){let e=await pn("GET",mn.COMPONENT.LIST,{...S9(t.query||{}),path:t.path,uid:t.uid,page:t.page,pageSize:t.pageSize,docType:[4],tag:t.tags||[]},{headers:{path:t.path},searchParams:!0});if(e.code===0&&e.success&&typeof e.result=="object"){let o=e.result,r=[];for(let n of o.lists)r.push(XR(t.path,n));return{count:o.count,page:o.page,pageSize:o.pageSize,totalPage:o.totalPage,lists:r}}let i=e.message||e.msg||"Request Error.";throw new St("GET_FOOTPRINT_LIST",i)}async function xir(t){let e=await pn("GET",mn.COMPONENT.LIST,{...S9(t.query||{}),path:t.path,uid:t.uid,page:t.page,pageSize:t.pageSize,docType:t.docType,tag:t.tags||[]},{headers:{path:t.path},searchParams:!0});if(e.code===0&&e.success&&typeof e.result=="object"){let o=e.result,r=[];for(let n of o.lists)r.push(qR(t.path,n));return{count:o.count,page:o.page,pageSize:o.pageSize,totalPage:o.totalPage,lists:r}}let i=e.message||e.msg||"Request Error.";throw new St("GET_SYMBOL_LIST",i)}async function Tir(t){var e,i;let o=await pn("GET",mn.DEVICE.LIST,{...S9(t.query||{}),path:t.path,uid:t.uid,page:t.page,pageSize:t.pageSize,tag:t.tags||[]},{headers:{path:t.path},searchParams:!0});if(o.code===0&&o.success&&typeof o.result=="object"){let n=o.result,a=[];for(let s of n.lists){let l=wK(t.path,s);t.withPackage&&(e=s.symbol_info)!=null&&e.uuid&&(l.symbol=qR(t.path,s.symbol_info)),t.withPackage&&(i=s.footprint_info)!=null&&i.uuid&&(l.footprint=XR(t.path,s.footprint_info)),a.push(l)}return{count:n.count,page:n.page,pageSize:n.pageSize,totalPage:n.totalPage,lists:a}}let r=o.message||o.msg||"Request Error.";throw new St("GET_DEVICE_LIST",r)}async function Sir(t){return t.titles?await Mir(t):t.uuids?await Iir(t):await Lir(t)}async function Mir(t){var e,i;let{path:o,titles:r,user_uuids:n}=t,a=await pn("POST",mn.DEVICE.GET_BY_USER_AND_TITLE,{type:"device",titles:r,user_uuids:n||[o],path:o},{headers:{"Content-Type":"application/json",path:o}});if(a.code===0&&a.success&&a.result){let l={};for(let c in a.result){l[c]=[];let d=a.result[c];for(let u of d){let p=wK(o,u);t.withPackage&&(e=u.symbol_info)!=null&&e.uuid&&(p.symbol=qR(o,u.symbol_info)),t.withPackage&&(i=u.footprint_info)!=null&&i.uuid&&(p.footprint=XR(o,u.footprint_info)),l[c].push(p)}}return l}let s=a.message||a.msg||"Request Error.";throw new St("GET_DEVICE_SEARCH_LIST",s)}async function Iir(t){let{path:e,uuids:i}=t,o=await pn("POST",mn.DEVICE.BATCH_GET,{uuids:i},{headers:{"Content-Type":"application/json",path:e}});if(o.code===0&&o.success&&o.result){let n=[];for(let a of o.result){let s=wK(e,a);n.push(s)}return n}let r=o.message||o.msg||"Request Error.";throw new St("GET_DEVICE_SEARCH_UUIDS",r)}async function Lir(t){var e,i;let{path:o,query:r={},uid:n,page:a,pageSize:s,tags:l=[],wd:c}=t,d=await pn("POST",mn.DEVICE.SEARCH_LIST,{...S9(r),path:o,uid:n,page:a,pageSize:s,tag:l,wd:c},{headers:{path:o},searchParams:!0});if(d.code===0&&d.success&&typeof d.result=="object"){let p=d.result,m=[],h=Object.keys(p.lists);for(let f=0;f<h.length;f++){let g=p.lists[h[f]];if(Array.isArray(g)&&g.length)for(let b=0;b<g.length;b++){let y=g[b],w=wK(o,y);t.withPackage&&(e=y.symbol_info)!=null&&e.uuid&&(w.symbol=qR(o,y.symbol_info)),t.withPackage&&(i=y.footprint_info)!=null&&i.uuid&&(w.footprint=XR(o,y.footprint_info)),m.push(w)}}return{count:p.count,page:p.page,pageSize:p.pageSize,totalPage:p.totalPage,lists:m,facets:p.facets}}let u=d.message||d.msg||"Request Error.";throw new St("GET_DEVICE_SEARCH_LIST",u)}async function vir(t){return t.titles?await Dir(t):t.uuids?await Eir(t):await Air(t)}async function Dir(t){let{path:e,titles:i,docType:o,user_uuids:r}=t,n=await pn("POST",mn.COMPONENT.GET_BY_USER_AND_TITLE,{docType:o,titles:i,user_uuids:r||[e],path:e},{headers:{"Content-Type":"application/json",path:e}});if(n.code===0&&n.success&&n.result){let s={};for(let l in n.result){s[l]=[];let c=n.result[l];for(let d of c){let u=qR(e,d);s[l].push(u)}}return s}let a=n.message||n.msg||"Request Error.";throw new St("GET_SYMBOL_SEARCH_LIST",a)}async function Eir(t){let{path:e,uuids:i}=t,o=await pn("POST",mn.COMPONENT.BATCH_GET,{uuids:i},{headers:{"Content-Type":"application/json",path:e}});if(o.code===0&&o.success&&o.result){let n=[];for(let a of o.result){let s=qR(e,a);n.push(s)}return n}let r=o.message||o.msg||"Request Error.";throw new St("GET_SYMBOL_SEARCH_UUIDS",r)}async function Air(t){let{path:e,query:i,uid:o,page:r,pageSize:n,tags:a=[],wd:s,docType:l}=t,c=await pn("POST",mn.COMPONENT.SEARCH_LIST,{...S9(i||{}),path:e,uid:o,page:r,pageSize:n,docType:l,tag:a,wd:s},{headers:{path:e},searchParams:!0});if(c.code===0&&c.success&&typeof c.result=="object"){let u=c.result,p=[],m=Object.keys(u.lists);for(let h=0;h<m.length;h++){let f=u.lists[m[h]];if(Array.isArray(f)&&f.length)for(let g=0;g<f.length;g++){let b=f[g],y=qR(e,b);p.push(y)}}return{count:u.count,page:u.page,pageSize:u.pageSize,totalPage:u.totalPage,lists:p,facets:u.facets}}let d=c.message||c.msg||"Request Error.";throw new St("GET_SYMBOL_SEARCH_LIST",d)}async function Nir(t){return t.titles?await kir(t):t.uuids?await Pir(t):await Oir(t)}async function kir(t){let{path:e,titles:i,user_uuids:o}=t,r=await pn("POST",mn.COMPONENT.GET_BY_USER_AND_TITLE,{docType:4,titles:i,user_uuids:o||[e],path:e},{headers:{"Content-Type":"application/json",path:e}});if(r.code===0&&r.success&&r.result){let a={};for(let s in r.result){a[s]=[];let l=r.result[s];for(let c of l){let d=XR(e,c);a[s].push(d)}}return a}let n=r.message||r.msg||"Request Error.";throw new St("GET_FOOTPRINT_SEARCH_LIST",n)}async function Pir(t){let{path:e,uuids:i}=t,o=await pn("POST",mn.COMPONENT.BATCH_GET,{uuids:i},{headers:{"Content-Type":"application/json",path:e}});if(o.code===0&&o.success&&o.result){let n=[];for(let a of o.result){let s=XR(e,a);n.push(s)}return n}let r=o.message||o.msg||"Request Error.";throw new St("GET_FOOTPRINT_SEARCH_UUIDS",r)}async function Oir(t){let{path:e,query:i={},uid:o,page:r,pageSize:n,tags:a=[],wd:s}=t,l=await pn("POST",mn.COMPONENT.SEARCH_LIST,{...S9(i),path:e,uid:o,page:r,pageSize:n,docType:[4],tag:a,wd:s},{headers:{path:e},searchParams:!0});if(l.code===0&&l.success&&typeof l.result=="object"){let d=l.result,u=[],p=Object.keys(d.lists);for(let m=0;m<p.length;m++){let h=d.lists[p[m]];if(Array.isArray(h)&&h.length)for(let f=0;f<h.length;f++){let g=h[f],b=XR(e,g);u.push(b)}}return{count:d.count,page:d.page,pageSize:d.pageSize,totalPage:d.totalPage,lists:u,facets:d.facets}}let c=l.message||l.msg||"Request Error.";throw new St("GET_FOOTPRINT_SEARCH_LIST",c)}async function Rir(t){return t.titles?await _ir(t):t.uuids?await jir(t):await Bir(t)}async function _ir(t){let{path:e,docType:i,titles:o}=t,r=await pn("POST",mn.COMPONENT.GET_BY_USER_AND_TITLE,{docType:i,titles:o,user_uuids:[e],path:e},{headers:{"Content-Type":"application/json",path:e}});if(r.code===0&&r.success&&r.result){let a={};for(let s in r.result){a[s]=[];let l=r.result[s];for(let c of l){let d=await Qie(t.path,c);a[s].push(d)}}return a}let n=r.message||r.msg||"Request Error.";throw new St("GET_SIM_MODEL_SEARCH_LIST",n)}async function jir(t){let{path:e,uuids:i}=t,o=await pn("POST",mn.COMPONENT.BATCH_GET,{uuids:i},{headers:{"Content-Type":"application/json",path:e}});if(o.code===0&&o.success&&o.result){let n=[];for(let a of o.result){let s=await Qie(e,a);n.push(s)}return n}let r=o.message||o.msg||"Request Error.";throw new St("GET_SIM_MODEL_SEARCH_UUIDS",r)}async function Bir(t){let{path:e,query:i={},uid:o,page:r,pageSize:n,docType:a,tags:s=[],wd:l}=t,c=await pn("POST",mn.COMPONENT.SEARCH_LIST,{...S9(i),path:e,uid:o,page:r,pageSize:n,docType:a,tag:s,wd:l},{headers:{path:e},searchParams:!0});if(c.code===0&&c.success&&typeof c.result=="object"){let u=c.result,p=[],m=Object.keys(u.lists);for(let h=0;h<m.length;h++){let f=u.lists[m[h]];if(Array.isArray(f)&&f.length)for(let g=0;g<f.length;g++){let b=f[g];p.push(await Qie(t.path,b))}}return{count:u.count,page:u.page,pageSize:u.pageSize,totalPage:u.totalPage,lists:p,facets:u.facets}}let d=c.message||c.msg||"Request Error.";throw new St("GET_SIM_MODEL_SEARCH_LIST",d)}async function zir(t){if(t.attributes.Symbol){let n=await Ze.getSymbol({isProject:t.isProject,uuid:t.attributes.Symbol,path:t.path})}if(t.attributes.Footprint){let n=await Ze.getFootprint({isProject:t.isProject,uuid:t.attributes.Footprint,path:t.path})}let e=await Ze.getDevice({isProject:t.isProject,uuid:t.uuid,path:t.path}),i=Object.keys(t.attributes||{});for(let n=0;n<i.length;n++)e.attributes[i[n]]=t.attributes[i[n]];let o=await pn("POST",vu(mn.DEVICE.UPDATE,{uuid:t.uuid}),{...e,title:e.display_title||e.title,tags:e.tags?Qti(e.tags):[],owner:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(o.code===0&&o.success&&o.result){let n=o.result;return wK(t.path,n)}let r=o.message||o.msg||"Request Error.";throw JL(o.code)?new St("CREATE_DEVICE_PERMISSIONS",r):new St("UPDATE_DEVICE_ATTRIBUTES",r)}async function Fir(t){return t.titles?await Uir(t):t.uuids?await Vir(t):await Hir(t)}async function Uir(t){let{path:e,titles:i,user_uuids:o}=t;if(F$t||Nde&&e!==_e.SYSTEMLIB_UUID){let r=await pn("POST",mn.CLIENT.FIND_3DMODEL,{titles:i},{headers:{"Content-Type":"application/json",path:e}});if(r.code===0&&r.success&&r.result){let a={};for(let s in r.result){a[s]=[];let l=r.result[s];for(let c of l){let d={fileName:c.fileName,path:c.path,lib:c.lib};a[s].push(d)}}return a}let n=r.message||r.msg||"Request Error.";throw new St("GET_D3MODEL_SEARCH_LIST",n)}else{let r=await pn("POST",mn.COMPONENT.GET_BY_USER_AND_TITLE,{docType:16,titles:i,user_uuids:o||[e],path:e},{headers:{"Content-Type":"application/json",path:e}});if(r.code===0&&r.success&&r.result){let a={};for(let s in r.result){a[s]=[];let l=r.result[s];for(let c of l){let d=await Gde(t.path,c);a[s].push(d)}}return a}let n=r.message||r.msg||"Request Error.";throw new St("GET_D3MODEL_SEARCH_LIST",n)}}async function Vir(t){let{path:e,uuids:i}=t,o=await pn("POST",mn.COMPONENT.BATCH_GET,{uuids:i},{headers:{"Content-Type":"application/json",path:e}});if(o.code===0&&o.success&&o.result){let n=[];for(let a of o.result){let s=await Gde(e,a);n.push(s)}return n}let r=o.message||o.msg||"Request Error.";throw new St("GET_D3MODEL_SEARCH_UUIDS",r)}async function Hir(t){let{path:e,query:i={},uid:o,page:r,pageSize:n,tags:a=[],wd:s}=t,l=await pn("POST",mn.COMPONENT.SEARCH_LIST,{...S9(i),path:e,uid:o,page:r,pageSize:n,docType:[16],tag:a,wd:s},{headers:{path:e},searchParams:!0});if(l.code===0&&l.success&&typeof l.result=="object"){let d=l.result,u=[],p=Object.keys(d.lists);for(let m=0;m<p.length;m++){let h=d.lists[p[m]];if(Array.isArray(h)&&h.length)for(let f=0;f<h.length;f++){let g=h[f];u.push(await Gde(t.path,g))}}return{count:d.count,page:d.page,pageSize:d.pageSize,totalPage:d.totalPage,lists:u,facets:d.facets}}let c=l.message||l.msg||"Request Error.";throw new St("GET_D3MODEL_SEARCH_LIST",c)}async function Gir(t){return t.titles?await Yir(t):t.uuids?await Wir(t):await Qir(t)}async function Yir(t){let{path:e,titles:i}=t,o=await pn("POST",mn.COMPONENT.GET_BY_USER_AND_TITLE,{docType:29,titles:i,user_uuids:[e],path:e},{headers:{"Content-Type":"application/json",path:e}});if(o.code===0&&o.success&&o.result){let n={};for(let a in o.result){n[a]=[];let s=o.result[a];for(let l of s){let c=Wie(t.path,l);n[a].push(c)}}return n}let r=o.message||o.msg||"Request Error.";throw new St("GET_PANEL_LIB_SEARCH_LIST",r)}async function Wir(t){let{path:e,uuids:i}=t,o=await pn("POST",mn.COMPONENT.BATCH_GET,{uuids:i},{headers:{"Content-Type":"application/json",path:e}});if(o.code===0&&o.success&&o.result){let n=[];for(let a of o.result){let s=Wie(e,a);n.push(s)}return n}let r=o.message||o.msg||"Request Error.";throw new St("GET_PANEL_LIB_SEARCH_UUIDS",r)}async function Qir(t){let{path:e,query:i={},uid:o,page:r,pageSize:n,tags:a=[],wd:s}=t,l=await pn("POST",mn.COMPONENT.SEARCH_LIST,{...S9(i),path:e,uid:o,page:r,pageSize:n,docType:[29],tag:a,wd:s},{headers:{path:e},searchParams:!0});if(l.code===0&&l.success&&typeof l.result=="object"){let d=l.result,u=[],p=Object.keys(d.lists);for(let m=0;m<p.length;m++){let h=d.lists[p[m]];if(Array.isArray(h)&&h.length)for(let f=0;f<h.length;f++){let g=h[f];u.push(Wie(t.path,g))}}return{count:d.count,page:d.page,pageSize:d.pageSize,totalPage:d.totalPage,lists:u,facets:d.facets}}let c=l.message||l.msg||"Request Error.";throw new St("GET_PANEL_LIB_SEARCH_LIST",c)}async function Kir(t){let e=await pn("GET",vu(mn.COMPONENT.GET,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(e.code===0&&e.success&&typeof e.result=="object"){let o=e.result;if(typeof o.path<"u"&&o.path!==t.path)throw new St("GET_PANEL_LIB_NOT_FOUND","data not found");return Wie(t.path,o)}let i=e.message||e.msg||"Request Error.";throw new St("GET_PANEL_LIB",i)}async function jii(t,e,i,o){let r=null,n=null,a=[],s=[],l=!1,c,d;if(t)if("data"in t)r=t.data,r.tags&&(r.tags instanceof Array?s=r.tags:s=yK(r.tags));else{if(!t.uuid||!t.path)throw new St("PARAMETER_VERIFICATION","missing panelLib uuid or path data.");c=t.uuid,d=t.path,n=await Ze.getPanelLib({isProject:t.isProject,uuid:t.uuid,path:t.path}),n&&(n.title=n.display_title,o&&Array.isArray(o)?s=o:s=await pU(n.tags,t.path,[29]))}if(!i){let u=await sn.categoryAddtition.addActuator(s,[0],e,29);a=u.uuids,s=u.titles}return{panelLibItemOriginUuid:c,panelLibItemOriginPath:d,panelLibItemIn:r,panelLibItemOut:n,panelLibTagIds:a,panelLibTagTitles:s}}async function Zir(t){let{panelLibItemIn:e,panelLibItemOut:i,panelLibTagIds:o,panelLibTagTitles:r}=await jii(t.panelLib,t.path,t.isProject,"path"in t.panelLib&&t.panelLib.override&&Array.isArray(t.panelLib.override.tags)?t.panelLib.override.tags:void 0),n=e||i;if(!n)throw new St("PARAMETER_VERIFICATION","missing panelLib data.");n.title="path"in t.panelLib&&t.panelLib.override&&Lwe(t.panelLib.override,"title")||n.title,Vht(n.title),"path"in t.panelLib&&t.panelLib.override&&(delete t.panelLib.override.tags,d3(n,t.panelLib.override));let a=await pn("POST",mn.COMPONENT.CREATE,{title:n.title,tags:o,docType:n.docType||29,description:n.description,owner:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(a.code===0&&a.success){let l=a.result;if(!("data"in t.panelLib)&&t.panelLib.uuid&&t.panelLib.path){let c=await bK({origin:{docType:n.docType,isProject:!!t.panelLib.isProject,uuid:t.panelLib.uuid,path:t.panelLib.path},target:{docType:l.docType,isProject:!1,uuid:l.uuid,path:l.path}});if(!c.success)throw new St("CREATE_PANEL_LIB_MIGRATE_CANVAS_ERROR",c.message||"migrate canvas error.")}return Wie(t.path,l)}let s=a.message||a.msg||"Request Error.";throw f8(a.code)?new St("PANELLIB_SAME_NAMA_EXISTS",s):JL(a.code)?new St("CREATE_PANEL_LIB_PERMISSIONS",s):new St("CREATE_PANEL_LIB",s)}async function Jir(t){let{panelLibItemIn:e,panelLibItemOut:i,panelLibTagIds:o,panelLibTagTitles:r}=await jii(t.panelLib,t.path,t.isProject,"path"in t.panelLib&&t.panelLib.override&&Array.isArray(t.panelLib.override.tags)?t.panelLib.override.tags:void 0),n=e||i;if(!n)throw new St("PARAMETER_VERIFICATION","missing panelLib data.");n.title!==void 0&&Vht(n.title),"path"in t.panelLib&&t.panelLib.override&&(delete t.panelLib.override.tags,d3(n,t.panelLib.override));let a=await pn("POST",vu(mn.COMPONENT.UPDATE,{uuid:t.uuid}),{title:n.title,tags:o,docType:29,description:n.description,owner:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(a.code===0&&a.success&&typeof a.result=="object"){let l=a.result;if(!("data"in t.panelLib)&&t.panelLib.uuid&&t.panelLib.path){let c=await bK({origin:{docType:n.docType,isProject:t.panelLib.isProject,uuid:t.panelLib.uuid,path:t.panelLib.path},target:{docType:l.docType,isProject:t.isProject,uuid:t.uuid,path:t.path}});if(!c.success)throw new St("UPDATE_PANEL_LIB_MIGRATE_CANVAS_ERROR",c.message||"migrate canvas error.")}return Wie(t.path,l)}let s=a.message||a.msg||"Request Error.";throw f8(a.code)?new St("PANELLIB_SAME_NAMA_EXISTS",s):JL(a.code)?new St("UPDATE_PANEL_LIB_PERMISSIONS",s):new St("UPDATE_PANEL_LIB",s)}async function qir(t){let e=await pn("GET",mn.COMPONENT.LIST,{...S9(t.query||{}),path:t.path,uid:t.uid,page:t.page,pageSize:t.pageSize,docType:[29],tag:t.tags||[]},{headers:{path:t.path},searchParams:!0});if(e.code===0&&e.success&&typeof e.result=="object"){let o=e.result,r=[];for(let n of o.lists)r.push(Wie(t.path,n));return{count:o.count,page:o.page,pageSize:o.pageSize,totalPage:o.totalPage,lists:r}}let i=e.message||e.msg||"Request Error.";throw new St("GET_PANEL_LIB_LIST",i)}async function Xir(t){let{d3modelItemIn:e,d3modelItemOut:i,d3modelTagIds:o,d3modelTagTitles:r}=await Iii(t.d3model,t.path,t.isProject),n=e||i;if(!n)throw new St("PARAMETER_VERIFICATION","missing d3Model data.");n.title!==void 0&&Tii(n.title),"path"in t.d3model&&t.d3model.override&&d3(n,t.d3model.override);let a=await pn("POST",vu(mn.COMPONENT.UPDATE,{uuid:t.uuid}),{...n,tags:o,owner:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!a.success){let l=a.message||a.msg||"Request Error.";throw new St("UPDATE_D3MODEL",l)}if(n.dataStr){let l=await pn("POST",vu(mn.COMPONENT.UPDATE_CANVAS,{uuid:t.uuid}),{...n,tags:o,owner:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!l.success){let c=l.message||l.msg||"Request Error.";throw new St("UPDATE_D3MODEL",c)}}if(a.code===0&&a.success&&typeof a.result=="object"){let l=a.result;return await Gde(t.path,l)}let s=a.message||a.msg||"Request Error.";throw f8(a.code)?new St("D3MODEL_SAME_NAMA_EXISTS",s):JL(a.code)?new St("UPDATE_D3MODEL_PERMISSIONS",s):new St("UPDATE_SYMBOL",s)}async function $ir(t){let e={uid:t.uid,path:t.path};if(t.tags){let{result:r}=await Mii({uuid:t.uid,path:t.path,types:[3],names:t.tags});e.tag=r}let i=await pn("POST",mn.DEVICE.GET_ATTR_KEYS,e,{headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8",path:t.path}});if(i.code===0&&i.success&&typeof i.result=="object")return i.result;let o=i.message||i.msg||"Request Error.";throw new St("GET_DEVICE_ATTRIBUTES_KEYS",o)}async function eor(t){let e={uid:t.uid,path:t.path,key:t.key};if(t.tags){let{result:r}=await Mii({uuid:t.uid,path:t.path,types:[3],names:t.tags});e.tag=r}let i=await pn("POST",mn.DEVICE.GET_ATTR_VALUE,e,{headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8",path:t.path}});if(i.code===0&&i.success&&typeof i.result=="object")return i.result;let o=i.message||i.msg||"Request Error.";throw new St("GET_DEVICE_ATTRIBUTES_VALUES",o)}var tor=class extends Uht{async getDevice(t){return await dir(t)}async getDeviceAttributesKeys(t){return await $ir(t)}async getDeviceAttributesValues(t){return eor(t)}async getSymbol(t){return await hir(t)}async getFootprint(t){return await uir(t)}async getPanelLib(t){return await Kir(t)}async getD3Model(t){return await Mwe(t.uuid,t.path)}async getSimModel(t){return await pir(t)}async getDeviceList(t){return await Tir(t)}async getSymbolList(t){return await xir(t)}async getFootprintList(t){return await Cir(t)}async getPanelLibList(t){return await qir(t)}async getD3ModelList(t){return await wir(t)}async getSimModelList(t){return mir(t)}async getDeviceSearchList(t){return await Sir(t)}async getSymbolSearchList(t){return await vir(t)}async getFootprintSearchList(t){return await Nir(t)}async getPanelLibSearchList(t){return await Gir(t)}async getD3ModelSearchList(t){return await Fir(t)}async getSimModelSearchList(t){return Rir(t)}async createDevice(t){return await air(t)}async createSymbol(t){return await cir(t)}async createFootprint(t){return await sir(t)}async createD3Model(t){return await rir(t)}async createPanelLib(t){return await Zir(t)}async createSimModel(t){return await lir(t)}async updateDevice(t){return await fir(t)}async updateDeviceAttributes(t){return await zir(t)}async updateSymbol(t){return await yir(t)}async updateFootprint(t){return await gir(t)}async updatePanelLib(t){return await Jir(t)}async updateD3Model(t){return await Xir(t)}async updateSimModel(t){return await bir(t)}async deleteDevice(t){let e=await pn("POST",vu(mn.DEVICE.DELETE,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!(e.code===0&&e.success)){let i=e.message||e.msg||"Request Error.";throw new St("DELETE_DEVICE",i)}}async deleteSymbol(t){let e=await pn("POST",vu(mn.COMPONENT.DELETE,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!(e.code===0&&e.success)){let i=e.message||e.msg||"Request Error.";throw new St("DELETE_SYMBOL",i)}}async deleteFootprint(t){let e=await pn("POST",vu(mn.COMPONENT.DELETE,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!(e.code===0&&e.success)){let i=e.message||e.msg||"Request Error.";throw new St("DELETE_FOOTPRINT",i)}}async deletePanelLib(t){let e=await pn("POST",vu(mn.COMPONENT.DELETE,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!(e.code===0&&e.success)){let i=e.message||e.msg||"Request Error.";throw new St("DELETE_PANEL_LIB",i)}}async deleteSimModel(t){let e=await pn("POST",vu(mn.COMPONENT.DELETE,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!(e.code===0&&e.success)){let i=e.message||e.msg||"Request Error.";throw new St("DELETE_SIM_MODEL",i)}}async delete3DModel(t){let e=await pn("POST",vu(mn.COMPONENT.DELETE,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!(e.code===0&&e.success)){let i=e.message||e.msg||"Request Error.";throw new St("DELETE_3DMODEL",i)}}async starDevice(t){let e=await pn("POST",vu(mn.DEVICE.STAR,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!(e.code===0&&e.success)){let i=e.message||e.msg||"Request Error.";throw new St("STAR_DEVICE",i)}}async starSymbol(t){let e=await pn("POST",vu(mn.COMPONENT.STAR,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!(e.code===0&&e.success)){let i=e.message||e.msg||"Request Error.";throw new St("STAR_SYMBOL",i)}}async starFootprint(t){let e=await pn("POST",vu(mn.COMPONENT.STAR,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!(e.code===0&&e.success)){let i=e.message||e.msg||"Request Error.";throw new St("STAR_FOOTPRINT",i)}}async starPanelLib(t){let e=await pn("POST",vu(mn.COMPONENT.STAR,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!(e.code===0&&e.success)){let i=e.message||e.msg||"Request Error.";throw new St("STAR_PANEL_LIB",i)}}async unstarDevice(t){let e=await pn("POST",vu(mn.DEVICE.UNSTAR,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!(e.code===0&&e.success)){let i=e.message||e.msg||"Request Error.";throw new St("UNSTAR_DEVICE",i)}}async unstarSymbol(t){let e=await pn("POST",vu(mn.COMPONENT.UNSTAR,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!(e.code===0&&e.success)){let i=e.message||e.msg||"Request Error.";throw new St("UNSTAR_SYMBOL",i)}}async unstarFootprint(t){let e=await pn("POST",vu(mn.COMPONENT.UNSTAR,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!(e.code===0&&e.success)){let i=e.message||e.msg||"Request Error.";throw new St("UNSTAR_FOOTPRINT",i)}}async unstarPanelLib(t){let e=await pn("POST",vu(mn.COMPONENT.UNSTAR,{uuid:t.uuid}),{uuid:t.uuid,path:t.path},{headers:{"Content-Type":"application/json",path:t.path}});if(!(e.code===0&&e.success)){let i=e.message||e.msg||"Request Error.";throw new St("UNSTAR_PANEL_LIB",i)}}},dU=class{static diffVersionDevice(t){let e=Object.keys(t);if(!e||!e.length)return;let i=[];for(let o of e)i.push(...t[o].map(r=>({device:r})));wo.messageBus.publish("logI18nLogView1",{type:"warn",msg:["Devices have not been added to the project library, project library has devices with different versions from the same source,",{text:"It is recommended to update the project library:",call:{cmd:"updateComponent",args:{uuids:i,needTipModal:!1}}},e.join("\u3001")],onlyTranslateText:!0})}static diffVersionSymbol(t){let e=Object.keys(t);if(!e||!e.length)return;let i=[];for(let o of e)i.push(...t[o].map(r=>({symbol:r})));wo.messageBus.publish("logI18nLogView1",{type:"warn",msg:["Symbols have not been added to the project library, project library has symbols with different versions from the same source,",{text:"It is recommended to update the project library:",call:{cmd:"updateComponent",args:{uuids:i,needTipModal:!1}}},e.join("\u3001")],onlyTranslateText:!0})}static diffVersionFootprint(t){let e=Object.keys(t);if(!e||!e.length)return;let i=[];for(let o of e)i.push(...t[o].map(r=>({footprint:r})));wo.messageBus.publish("logI18nLogView1",{type:"warn",msg:["Footprints have not been added to the project library, project library has footprints with different versions from the same source,",{text:"It is recommended to update the project library:",call:{cmd:"updateComponent",args:{uuids:i,needTipModal:!1}}},e.join("\u3001")],onlyTranslateText:!0})}static sameVersionDevice(t){}static sameVersionSymbol(t){}static sameVersionFootprint(t){}static renamedDevice(t){wo.messageBus.publish("logI18nLogView",{type:"warn",msg:["Devices are automatically renamed when they are added to the project library :",t.join("\u3001")]})}static renamedSymbol(t){wo.messageBus.publish("logI18nLogView",{type:"warn",msg:["Symbols are automatically renamed when they are added to the project library :",t.join("\u3001")]})}static renamedFootprint(t){wo.messageBus.publish("logI18nLogView",{type:"warn",msg:["Footprints are automatically renamed when they are added to the project library :",t.join("\u3001")]})}},ior=class{constructor(t){let{renameKey:e=!0}=t;this.renameKey=e}async rename(t,...e){if(await this.hack(t,...e))return{success:!0};let i=(await wo.messageBus.rpcCall("allowDuplicateNames",...e)).message;return this.renameKey||!i?this.renaming(t,...e):i?{success:!0}:this.isRename(t,...e)}async hack(t,...e){return!1}},oor=class extends ior{constructor(t){let{matchKey:e=!0,byUUID:i=!1,byVersion:o=!1,bySource:r=!1}=t;super(t),this.matchKey=e,this.byUUID=i,this.byVersion=o,this.bySource=r}async match(t){if(this.matchKey)return this.matching(t)}},Wht=class extends oor{constructor(t){let{path:e,data:i,printLog:o=!0}=t;super(t),this.origin={},this.path=e,this.data=i,this.printLog=o}async onAdd(t){let e=JSON.parse(JSON.stringify(t));return e.path||(e.path=this.path),await Ner({data:e}),uK(e),e.project_uuid=e.path=this.path,e}async onUpdate(t){let e=JSON.parse(JSON.stringify(t));return uK(e),e}async getTemplate(t,e={}){let{uuid:i,path:o,updateTime:r}=t,n=`${i}${dK}${o}`,a=r==null?void 0:r.toString(),s=Object.assign(t,{path:o,source:n,version:a},e);return uK(s),s}},Bii=class extends Wht{async getOrigin(){var t;let{path:e,uuid:i,isProject:o}=this.data;if(Gie(this.data)){let{override:r}=this.data;if(r&&r.attributes)throw new St("CREATE_DEVICE_GET_ORIGIN","Api call error!");if(o){let{message:n}=await wo.messageBus.rpcCall("/pro-mgr/hasProject",[e]);if(n){let a=[i,e],s=(await wo.messageBus.rpcCall($e.DEVICE.GET,a)).message;if(s){let l=Object.assign(s,{uuid:i,path:e,isProject:o});this.origin=await this.getTemplate(l,r)}else throw new St("CREATE_DEVICE_GET_ORIGIN","Device details data does not exist")}else throw new St("CREATE_DEVICE_GET_ORIGIN","Get project library data source Project is not open!")}else if(J1.getInstance().hasLib(e)){let n=J1.getInstance().getLib(e),a=await((t=n==null?void 0:n.device)==null?void 0:t.getTransformedDetail(i));if(a){let s=Object.assign(a,{uuid:i,path:e,isProject:o});this.origin=await this.getTemplate(s,r)}else throw new St("CREATE_DEVICE_GET_ORIGIN","Device details data does not exist")}else{let n={path:e,uuid:i},{message:a}=await wo.messageBus.rpcCall(Ei.DEVICE.GET,n);if(a.success){let s=a.result,l=Object.assign(s,{uuid:i,path:e,isProject:o});this.origin=await this.getTemplate(l,r)}else throw new St("CREATE_DEVICE_GET_ORIGIN",a.message||"Device details data does not exist")}}else{let r=this.data.data,n=Object.assign(r,{isProject:o});this.origin=await this.onHandle(n)}return{success:!0,result:this.origin}}async renaming(t){let e=t.display_title||t.title,i=[e,this.path],o=(await wo.messageBus.rpcCall($e.DEVICE.TRY_RENAME,i)).message;return o&&(t.display_title=t.title=o),this.printLog&&e!==o&&dU.renamedDevice([e]),{success:!0}}},ror=class extends Bii{onHandle(t){return this.onAdd(t)}async matching(t){if(this.byUUID){let e=[t.uuid,this.path],i=await(await wo.messageBus.rpcCall($e.DEVICE.GET,e)).message;if(t.ticket&&i!=null&&i.ticket&&(i==null?void 0:i.ticket)===t.ticket)return i}if(t.source){if(this.byVersion){let e=[t.source,t.version,this.path],i=(await wo.messageBus.rpcCall($e.DEVICE.GET_BY_SOURCE_VERSION,e)).message;return this.printLog&&i&&dU.sameVersionDevice([t.display_title||t.title]),i}if(this.bySource){let e=[t.source,this.path],i=(await wo.messageBus.rpcCall($e.DEVICE.GET_LAST,e)).message;return this.printLog&&i&&dU.diffVersionDevice({[i.display_title||i.title]:[i.uuid]}),i}}}async isRename(t){let e=[t.display_title||t.title,this.path];if((await wo.messageBus.rpcCall($e.DEVICE.IS_RENAME,e)).message)throw new St("DEVICE_SAME_NAMA_EXISTS","Device duplicate name");return{success:!0}}async start(){let t=await this.getOrigin();if(!t.success)throw new St("CREATE_DEVICE",t.message||"Creation of the device failed!");let e,i;if(this.origin){let o=await this.match(this.origin);if(o)e={success:!0,result:o};else{let r=await this.rename(this.origin,{path:this.path});if(!r.success)throw new St("CREATE_DEVICE",r.message||"Creation of the device failed!");i=this.origin}}return{success:!0,result:{respond:e,addData:i}}}},zii=class extends Wht{async getOrigin(){var t;let{path:e,uuid:i,isProject:o}=this.data;if(Gie(this.data)){let{override:r}=this.data;if(o){let{message:n}=await wo.messageBus.rpcCall("/pro-mgr/hasProject",[e]);if(n){let a=[i,e],s=(await wo.messageBus.rpcCall($e.FOOTPRINT.GET,a)).message;if(s){let l=Object.assign(s,{uuid:i,path:e,isProject:o});this.origin=await this.getTemplate(l,r)}else throw new St("CREATE_FOOTPRINT_GET_ORIGIN","Footprint details data does not exist")}else throw new St("CREATE_FOOTPRINT_GET_ORIGIN","Get project library data source Project is not open!")}else if(J1.getInstance().hasLib(e)){let n=J1.getInstance().getLib(e),a=await((t=n==null?void 0:n.footprint)==null?void 0:t.getTransformedDetail(i));if(a){let s=Object.assign(a,{uuid:i,path:e,isProject:o});this.origin=await this.getTemplate(s,r)}else throw new St("CREATE_FOOTPRINT_GET_ORIGIN","Footprint details data does not exist")}else{let n={path:e,uuid:i},{message:a}=await wo.messageBus.rpcCall(Ei.COMPONENT.GET,n);if(a.success){let s=a.result,l=Object.assign(s,{uuid:i,path:e,isProject:o});this.origin=await this.getTemplate(l,r)}else throw new St("CREATE_FOOTPRINT_GET_ORIGIN",a.message||"Footprint details data does not exist")}}else{let r=this.data.data,n=Object.assign(r,{isProject:o});this.origin=await this.onHandle(n)}return{success:!0,result:this.origin}}async renaming(t){let e=t.display_title||t.title,i=[e,this.path],o=(await wo.messageBus.rpcCall($e.FOOTPRINT.TRY_RENAME,i)).message;return o&&(t.display_title=t.title=o),this.printLog&&e!==o&&dU.renamedFootprint([e]),{success:!0}}},Qht=class extends zii{onHandle(t){return this.onAdd(t)}async matching(t){if(this.byUUID){let e=[t.uuid,this.path],i=(await wo.messageBus.rpcCall($e.FOOTPRINT.GET,e)).message;if(t.ticket&&i!=null&&i.ticket&&(i==null?void 0:i.ticket)===t.ticket)return i}if(t.source){if(this.byVersion){let e=[t.source,t.version,this.path],i=(await wo.messageBus.rpcCall($e.FOOTPRINT.GET_BY_SOURCE_VERSION,e)).message;return this.printLog&&i&&dU.sameVersionFootprint([t.display_title||t.title]),i}if(this.bySource){let e=[t.source,this.path],i=(await wo.messageBus.rpcCall($e.FOOTPRINT.GET_LAST,e)).message;return this.printLog&&i&&dU.diffVersionFootprint({[i.display_title||i.title]:[i.uuid]}),i}}}async isRename(t){let e=[t.display_title||t.title,this.path];if((await wo.messageBus.rpcCall($e.FOOTPRINT.IS_RENAME,e)).message)throw new St("CREATE_FOOTPRINT","Library duplicate name");return{success:!0}}async start(){let t=await this.getOrigin();if(!t.success)throw new St("CREATE_FOOTPRINT",t.message||"Creation of the footprint failed!");let e,i;if(this.origin){let o=await this.match(this.origin);if(o)e={success:!0,result:o};else{let r=await this.rename(this.origin,{path:this.path});if(!r.success)throw new St("CREATE_FOOTPRINT",r.message||"Creation of the footprint failed!");i=this.origin}}return{success:!0,result:{respond:e,addData:i}}}},Fii=class extends Wht{async getOrigin(){var t;let{path:e,uuid:i,isProject:o}=this.data;if(Gie(this.data)){let{override:r}=this.data;if(o){let{message:n}=await wo.messageBus.rpcCall("/pro-mgr/hasProject",[e]);if(n){let a=[i,e],s=(await wo.messageBus.rpcCall($e.SYMBOL.GET,a)).message;if(s){let l=Object.assign(s,{uuid:i,path:e,isProject:o});this.origin=await this.getTemplate(l,r)}else throw new St("CREATE_SYMBOL_GET_ORIGIN","Symbol details data does not exist")}else throw new St("CREATE_SYMBOL_GET_ORIGIN","Get project library data source Project is not open!")}else if(J1.getInstance().hasLib(e)){let n=J1.getInstance().getLib(e),a=await((t=n==null?void 0:n.symbol)==null?void 0:t.getTransformedDetail(i));if(a){let s=Object.assign(a,{uuid:i,path:e,isProject:o});this.origin=await this.getTemplate(s,r)}else throw new St("CREATE_SYMBOL_GET_ORIGIN","Symbol details data does not exist")}else{let n={path:e,uuid:i},{message:a}=await wo.messageBus.rpcCall(Ei.COMPONENT.GET,n);if(a.success){let s=a.result,l=Object.assign(s,{uuid:i,path:e,isProject:o});this.origin=await this.getTemplate(l,r)}else throw new St("CREATE_SYMBOL_GET_ORIGIN",a.message||"Symbol details data does not exist")}}else{let r=this.data.data,n=Object.assign(r,{isProject:o});this.origin=await this.onHandle(n)}return{success:!0,result:this.origin}}async renaming(t){let e=t.display_title||t.title,i=[e,this.path],o=(await wo.messageBus.rpcCall($e.SYMBOL.TRY_RENAME,i)).message;return o&&(t.display_title=t.title=o),this.printLog&&e!==o&&dU.renamedSymbol([e]),{success:!0}}},Kht=class extends Fii{onHandle(t){return this.onAdd(t)}async matching(t){if(this.byUUID){let e=[t.uuid,this.path],i=(await wo.messageBus.rpcCall($e.SYMBOL.GET,e)).message;if(t.ticket&&i!=null&&i.ticket&&(i==null?void 0:i.ticket)===t.ticket)return i}if(t.source){if(this.byVersion){let e=[t.source,t.version,this.path],i=(await wo.messageBus.rpcCall($e.SYMBOL.GET_BY_SOURCE_VERSION,e)).message;return this.printLog&&i&&dU.sameVersionSymbol([t.display_title||t.title]),i}if(this.bySource){let e=[t.source,this.path],i=(await wo.messageBus.rpcCall($e.SYMBOL.GET_LAST,e)).message;return this.printLog&&i&&dU.diffVersionSymbol({[i.display_title||i.title]:[i.uuid]}),i}}}async hack(t){let{docType:e}=t;return e===17}async isRename(t){let e=[t.display_title||t.title,this.path];if((await wo.messageBus.rpcCall($e.SYMBOL.IS_RENAME,e)).message)throw new St("CREATE_SYMBOL","Library duplicate name");return{success:!0}}async start(){let t=await this.getOrigin();if(!t.success)throw new St("CREATE_SYMBOL",t.message||"Creation of the symbol failed!");let e,i;if(this.origin){let o=await this.match(this.origin);if(o)e={success:!0,result:o};else{let r=await this.rename(this.origin,{path:this.path});if(!r.success)throw new St("CREATE_SYMBOL",r.message||"Creation of the symbol failed!");i=this.origin}}return{success:!0,result:{respond:e,addData:i}}}},Yde=class{constructor(t){this.path=t}async check(){let{message:{hasPermission:t,errMsg:e}}=await wo.messageBus.rpcCall("canAddLib",[this.path]);if(!t)throw new St("CREATE_DEVICE_PERMISSIONS",e||"You don't have permission!");return{success:!0}}},nor=class extends Yde{constructor(t){let{path:e,data:i,options:o={}}=t,{matchKey:r=!0,byUUID:n=!0,byVersion:a=!0,bySource:s=!1,renameKey:l=!1}=o;super(e),this.addData={},this.result={device:null,symbol:null,footprint:null},this.data=i,this.matchKey=r,this.byUUID=n,this.byVersion=a,this.bySource=s,this.renameKey=l}async start(){var t,e,i,o,r,n,a,s,l,c,d,u;try{await this.check(),await this.onbefore();let p={path:this.path,matchKey:this.matchKey,byUUID:this.byUUID,byVersion:this.byVersion,bySource:this.bySource,renameKey:this.renameKey};if(this.data.device){let f={...p,data:this.data.device},g=await new ror(f).start();if(g.success===!1)throw new St("CREATE_DEVICE",g.message||"Creation of the device failed!");let{respond:b,addData:y}=g.result;if(this.result.device=b,y&&(this.addData.device=y),this.getBind(),!this.addData.device&&(t=this.result.device)!=null&&t.success&&(e=this.result.device)!=null&&e.result){let{attributes:w}=this.result.device.result,{Symbol:x,Footprint:S}=w,T=x&&(await wo.messageBus.rpcCall($e.SYMBOL.GET,[x,this.path])).message,M=S&&(await wo.messageBus.rpcCall($e.FOOTPRINT.GET,[S,this.path])).message;this.result.symbol={success:!0,result:T},this.result.footprint={success:!0,result:M}}}if(this.data.symbol){let f={...p,data:this.data.symbol},g=await new Kht(f).start();if(g.success===!1&&g.code===404){if(this.addData.device){this.addData.device.attributes.Symbol="";let{display_title:b,title:y}=this.addData.device,w=b||y;wo.messageBus.publish("logI18nLogView",{type:"warn",msg:["The following devices lose bound symbol data!",w]})}}else{if(g.success===!1)throw new St("CREATE_DEVICE",g.message||"Creation of the device failed!");{let{respond:b,addData:y}=g.result;if(this.result.symbol=b,y&&(this.addData.symbol=y),this.addData.device&&(i=this.result.symbol)!=null&&i.success&&(o=this.result.symbol)!=null&&o.result)this.addData.device.attributes.Symbol=this.result.symbol.result.uuid;else if((r=this.addData.device)!=null&&r.attributes.Symbol&&(n=this.result.symbol)!=null&&n.success&&!((a=this.result.symbol)!=null&&a.result)&&!this.addData.symbol){let w="The symbol associated with the device does not exist!";throw new St("CREATE_DEVICE",w)}}}}if(this.data.footprint){let f={...p,data:this.data.footprint},g=await new Qht(f).start();if(g.success===!1&&g.code===404){if(this.addData.device){this.addData.device.attributes.Footprint="";let{display_title:b,title:y}=this.addData.device,w=b||y;wo.messageBus.publish("logI18nLogView",{type:"warn",msg:["The following devices lose bound footprint data!",w]})}}else{if(g.success===!1)throw new St("CREATE_DEVICE",g.message||"Creation of the device failed!");{let{respond:b,addData:y}=g.result;if(this.result.footprint=b,y&&(this.addData.footprint=y),this.addData.device&&(s=this.result.footprint)!=null&&s.success&&(l=this.result.footprint)!=null&&l.result)this.addData.device.attributes.Footprint=this.result.footprint.result.uuid;else if((c=this.addData.device)!=null&&c.attributes.Footprint&&(d=this.result.footprint)!=null&&d.success&&!((u=this.result.footprint)!=null&&u.result)&&!this.addData.footprint){let w="The footprint associated with the device does not exist!";throw new St("CREATE_DEVICE",w)}}}}let m=await this.create();if(!m.success)throw new St("CREATE_DEVICE",m.message||"Creation of the device failed!");let h=await this.updateBind();if(!h.success)throw new St("CREATE_DEVICE",h.message||"Creation of the device failed!");if(!this.result)throw new St("CREATE_DEVICE","Project library device added failed!");return await this.onsuccess(this.result),{success:!0,result:this.result}}catch(p){throw new St("CREATE_DEVICE",p.message||"Creation of the device failed!")}}getBind(){if(this.addData.device){let{attributes:t}=this.addData.device,{Symbol:e,Footprint:i}=t,{isProject:o}=this.data.device;if(o===void 0)!this.data.symbol&&e&&(this.data.symbol={isProject:!0,path:this.path,uuid:e}),!this.data.footprint&&i&&(this.data.footprint={isProject:!0,path:this.path,uuid:i});else{let[r,n]=this.addData.device.source.split(dK);!this.data.symbol&&e&&(this.data.symbol={isProject:o,path:n,uuid:e}),!this.data.footprint&&i&&(this.data.footprint={isProject:o,path:n,uuid:i})}}}onbeforeCreate(){var t,e,i,o;if((t=this.addData.symbol)!=null&&t.docType&&!iti((e=this.addData.symbol)==null?void 0:e.docType))throw new St("CREATE_DEVICE","invalid symbol docType");if((i=this.addData.footprint)!=null&&i.docType&&((o=this.addData.footprint)==null?void 0:o.docType)!==4)throw new St("CREATE_DEVICE","invalid footprint docType");if(this.addData.footprint&&(this.addData.footprint.isConnectDevice=!0),this.addData.device&&this.addData.device.attributes["3D Model"]){let r=this.addData.device.attributes["3D Model"];r.includes(dK)||(this.addData.device.attributes["3D Model"]=`${r}${dK}${this.addData.device.path}`)}return{success:!0}}async create(){if(Object.keys(this.addData).length>0){this.onbeforeCreate();let t=[this.addData,this.path],{message:e}=await wo.messageBus.rpcCall($e.DEVICE.CREATE,t);if(!e.success)throw new St("CREATE_DEVICE",e.message||"Creation of the device failed!");let{device:i,symbol:o,footprint:r}=e.result;i&&(this.result.device={success:!0,result:i}),o&&(this.result.symbol={success:!0,result:o}),r&&(this.result.footprint={success:!0,result:r})}return{success:!0}}async updateBind(){let{device:t,symbol:e,footprint:i}=this.result,o=t!=null&&t.success?t==null?void 0:t.result:null,r=e!=null&&e.success?e==null?void 0:e.result:null,n=i!=null&&i.success?i==null?void 0:i.result:null;if(o){let a=!1;if(r!=null&&r.uuid&&o.attributes.Symbol&&r.uuid!==o.attributes.Symbol&&(o.attributes.Symbol=r.uuid,a=!0),n!=null&&n.uuid&&o.attributes.Footprint&&n.uuid!==o.attributes.Footprint&&(o.attributes.Footprint=n.uuid,a=!0),a){let s=(await wo.messageBus.rpcCall($e.DEVICE.UPDATE,[o,this.path])).message;this.result.device={success:!!s,result:s}}}return{success:!0}}async onbefore(){}async onsuccess(t){t.symbol&&!t.symbol.success&&(t.symbol.message=Mp(t.symbol)||t.symbol.message),t.footprint&&!t.footprint.success&&(t.footprint.message=Mp(t.footprint)||t.footprint.message),t.device&&!t.device.success&&(t.device.message=Mp(t.device)||t.device.message)}},aor=class extends Bii{constructor(t,e){super(e),this.uuid=t}onHandle(t){return this.onUpdate(t)}matching(t){throw new Error("Method not implemented.")}async isRename(t){return{success:!0}}async start(){let t=await this.getOrigin();if(!t.success)throw new St("UPDATE_DEVICE",t.message||"Update of the device failed!");if(!this.origin)throw new St("UPDATE_DEVICE","Device details data does not exist");let e=this.origin.display_title||this.origin.title,i=[{uuid:this.uuid,title:e},this.path];if((await wo.messageBus.rpcCall($e.DEVICE.IS_CHANGE,i)).message){let o=await this.rename(this.origin,{path:this.path});if(!o.success)throw new St("UPDATE_DEVICE",o.message||"Update of the device failed!")}return{success:!0,result:this.origin}}},sor=class extends Yde{constructor(t){let{path:e,uuid:i,data:o,options:r={}}=t,{matchKey:n=!0,byUUID:a=!0,bySource:s=!0,byVersion:l=!1,renameKey:c=!1}=r;super(e),this.addData={},this.map={},this.result={device:null,symbol:null,footprint:null,map:{}},this.uuid=i,this.data=o,this.matchKey=n,this.byUUID=a,this.bySource=s,this.byVersion=l,this.renameKey=c}async start(){var t,e,i,o,r,n,a,s,l,c;try{await this.check(),await this.onbefore();let d={path:this.path,matchKey:this.matchKey,byUUID:this.byUUID,bySource:this.bySource,byVersion:this.byVersion,renameKey:this.renameKey};if(this.data.device){let m={...d,data:this.data.device},h=await new aor(this.uuid,m).start();if(h.success){let f=h.result;f&&(this.updateData=f),this.getBind()}else throw new St("UPDATE_DEVICE",h.message||"Update of the device failed!")}if(this.data.symbol){let m={...d,data:this.data.symbol,renameKey:this.renameKey,printLog:!1},h=await new Kht(m).start();if(!h.success)throw new St("UPDATE_DEVICE",h.message||"Update of the device failed!");let{respond:f,addData:g}=h.result;if(this.result.symbol=f,g&&(this.addData.symbol=g),this.updateData&&this.addData.symbol)this.updateData.attributes.Symbol=this.addData.symbol.uuid;else if(this.updateData&&(t=this.result.symbol)!=null&&t.success&&this.result.symbol.result)this.updateData.attributes.Symbol=this.result.symbol.result.uuid;else if((e=this.updateData)!=null&&e.attributes.Symbol&&(i=this.result.symbol)!=null&&i.success&&!((o=this.result.symbol)!=null&&o.result)&&!this.addData.symbol){let b="The symbol associated with the device does not exist!";throw new St("UPDATE_DEVICE",b)}}if(this.data.footprint){let m={...d,data:this.data.footprint,renameKey:this.renameKey,printLog:!1},h=await new Qht(m).start();if(!h.success)throw new St("UPDATE_DEVICE",h.message||"Update of the device failed!");let{respond:f,addData:g}=h.result;if(this.result.footprint=f,g&&(this.addData.footprint=g),this.updateData&&this.addData.footprint)this.updateData.attributes.Footprint=this.addData.footprint.uuid;else if(this.updateData&&(r=this.result.footprint)!=null&&r.success&&this.result.footprint.result)this.updateData.attributes.Footprint=this.result.footprint.result.uuid;else if((n=this.updateData)!=null&&n.attributes.Footprint&&(a=this.result.footprint)!=null&&a.success&&!((s=this.result.footprint)!=null&&s.result)&&!this.addData.footprint){let b="The footprint associated with the device does not exist!";throw new St("UPDATE_DEVICE",b)}}let u=await this.create();if(!u.success)throw new St("UPDATE_DEVICE",u.message||"Update of the device failed!");let p=await this.update();if(!p.success)throw new St("UPDATE_DEVICE",p.message||"Update of the device failed!");if(!this.result){let m={text:"Failed to update project library device {title}!",args:{title:((l=this.updateData)==null?void 0:l.display_title)||((c=this.updateData)==null?void 0:c.title)||""}};throw new St("UPDATE_DEVICE",m)}return await this.onsuccess(this.result),{success:!0,result:Object.assign(this.result,{map:this.map})}}catch(d){throw new St("UPDATE_DEVICE",d.message||"Update of the device failed!")}}getBind(){if(this.updateData){let{attributes:t}=this.updateData,{Symbol:e,Footprint:i}=t||{},{isProject:o}=this.data.device;if(o===void 0)!this.data.symbol&&e&&(this.data.symbol={isProject:!0,path:this.path,uuid:e}),!this.data.footprint&&i&&(this.data.footprint={isProject:!0,path:this.path,uuid:i});else{let[r,n]=this.updateData.source.split(dK);!this.data.symbol&&e&&(this.data.symbol={isProject:o,path:n,uuid:e}),!this.data.footprint&&i&&(this.data.footprint={isProject:o,path:n,uuid:i})}}}onbeforeCreate(){var t,e,i,o;if((t=this.addData.symbol)!=null&&t.docType&&!iti((e=this.addData.symbol)==null?void 0:e.docType))throw new St("UPDATE_DEVICE","invalid symbol docType");if((i=this.addData.footprint)!=null&&i.docType&&((o=this.addData.footprint)==null?void 0:o.docType)!==4)throw new St("UPDATE_DEVICE","invalid footprint docType");return this.addData.footprint&&(this.addData.footprint.isConnectDevice=!0),{success:!0}}async create(){let{symbol:t,footprint:e}=this.addData;if(this.onbeforeCreate(),t){let i=(await wo.messageBus.rpcCall($e.SYMBOL.CREATE,[t,this.path])).message;if(!i.success)throw new St("UPDATE_DEVICE",i.message||"Project library symbol added failed!");let o=i.result;this.result.symbol={success:!0,result:o},this.map[t.uuid]=o.uuid}if(e){let i=(await wo.messageBus.rpcCall($e.FOOTPRINT.CREATE,[e,this.path])).message;if(!i.success)throw new St("UPDATE_DEVICE",i.message||"Project library footprint added failed!");let o=i.result;this.result.footprint={success:!0,result:o},this.map[e.uuid]=o.uuid}return{success:!0}}async update(){var t,e,i;let o=this.updateData;if(o){(t=this.result.symbol)!=null&&t.success&&this.result.symbol.result&&(o.attributes.Symbol=(e=this.result.symbol)==null?void 0:e.result.uuid),(i=this.result.footprint)!=null&&i.success&&this.result.footprint.result&&(o.attributes.Footprint=this.result.footprint.result.uuid);let r=[{...o,uuid:this.uuid,keepVersion:this.keepVersion},this.path],n=(await wo.messageBus.rpcCall($e.DEVICE.UPDATE,r)).message;if(!n){let a=o.display_title||o.title||"";throw new St("UPDATE_DEVICE",`Update of the device failed! title: ${a}`)}this.result.device={success:!0,result:n}}return{success:!0}}async onbefore(){Gie(this.data.device)?(this.onlyIdentity=!0,this.keepVersion=!0):(this.onlyIdentity=!1,this.keepVersion=!1)}async onsuccess(t){t.symbol&&!t.symbol.success&&(t.symbol.message=Mp(t.symbol)||t.symbol.message),t.footprint&&!t.footprint.success&&(t.footprint.message=Mp(t.footprint)||t.footprint.message),t.device&&!t.device.success&&(t.device.message=Mp(t.device)||t.device.message)}},lor=class extends Yde{constructor(t){let{path:e,data:i,options:o={}}=t,{matchKey:r=!0,byUUID:n=!0,byVersion:a=!0,bySource:s=!1,renameKey:l=!1}=o;super(e),this.data=i,this.byUUID=n,this.byVersion=a,this.bySource=s,this.renameKey=l,this.matchKey=r}async start(){await this.check(),await this.onbefore();let t={path:this.path,byUUID:this.byUUID,byVersion:this.byVersion,bySource:this.bySource,renameKey:this.renameKey,matchKey:this.matchKey},e=await new Kht({...t,data:this.data}).start();if(!e.success)throw new St("CREATE_SYMBOL",e.message||"Project library symbol added failed!");let{addData:i,respond:o}=e.result;if(o&&!o.success)throw new St("CREATE_SYMBOL",o.message||"Project library symbol added failed!");if(o&&o.success)this.result=o.result;else if(i){let r=(await wo.messageBus.rpcCall($e.SYMBOL.CREATE,[i,this.path])).message;if(!r.success)throw new St("CREATE_SYMBOL","Project library symbol added failed!");this.result=r.result}if(!this.result)throw new St("CREATE_SYMBOL","Project library symbol added failed!");return await this.onsuccess(this.result),{success:!0,result:this.result}}async onbefore(){}async onsuccess(t){}},cor=class extends Yde{constructor(t){let{path:e,data:i,options:o={}}=t,{matchKey:r=!0,byUUID:n=!0,byVersion:a=!0,bySource:s=!1,renameKey:l=!1}=o;super(e),this.data=i,this.byUUID=n,this.byVersion=a,this.bySource=s,this.renameKey=l,this.matchKey=r}async start(){await this.check(),await this.onbefore();let t={path:this.path,byUUID:this.byUUID,byVersion:this.byVersion,bySource:this.bySource,renameKey:this.renameKey,matchKey:this.matchKey},e=await new Qht({...t,data:this.data}).start();if(!e.success)throw new St("CREATE_FOOTPRINT",e.message||"Creation of the footprint failed!");let{addData:i,respond:o}=e.result;if(o&&!o.success)throw new St("CREATE_FOOTPRINT",o.message||"Creation of the footprint failed!");if(o&&o.success)this.result=o.result;else if(i){let r=(await wo.messageBus.rpcCall($e.FOOTPRINT.CREATE,[i,this.path])).message;if(!r.success)throw new St("CREATE_FOOTPRINT","Project library footprint added failed!");this.result=r.result}if(!this.result)throw new St("CREATE_FOOTPRINT","Project library footprint added failed!");return await this.onsuccess(this.result),{success:!0,result:this.result}}async onbefore(){}async onsuccess(t){}},dor=class extends Fii{constructor(t,e){super(e),this.uuid=t}onHandle(t){return this.onUpdate(t)}matching(t){throw new Error("Method not implemented.")}async hack(t){let{docType:e}=t;return e===17}async isRename(t){return{success:!0}}async start(){let t=await this.getOrigin();if(!t.success)throw new St("UPDATE_SYMBOL",t.message||"Update of the symbol failed!");if(!this.origin)throw new St("UPDATE_SYMBOL","Symbol details data does not exist");let e=this.origin.display_title||this.origin.title,i=[{uuid:this.uuid,title:e},this.path];if((await wo.messageBus.rpcCall($e.SYMBOL.IS_CHANGE,i)).message){let o=await this.rename(this.origin,{path:this.path});if(!o.success)throw new St("UPDATE_SYMBOL",o.message||"Update of the symbol failed!")}return{success:!0,result:this.origin}}},uor=class extends Yde{constructor(t){let{path:e,uuid:i,data:o,options:r={}}=t,{matchKey:n=!0,byUUID:a=!0,bySource:s=!0,byVersion:l=!1,renameKey:c=!1}=r;super(e),this.uuid=i,this.data=o,this.matchKey=n,this.byUUID=a,this.bySource=s,this.byVersion=l,this.renameKey=c}async start(){var t,e;await this.check(),await this.onbefore();let i={path:this.path,matchKey:this.matchKey,byUUID:this.byUUID,bySource:this.bySource,byVersion:this.byVersion,renameKey:this.renameKey,data:this.data},o=await new dor(this.uuid,i).start();if(!o.success)throw new St("UPDATE_SYMBOL",o.message||"Update of the symbol failed!");this.updateData=o.result;let r={uuid:this.uuid,data:this.updateData,overwriteCanvas:this.onlyIdentity,keepVersion:this.keepVersion},n=(await wo.messageBus.rpcCall($e.SYMBOL.COVER,[r,this.path])).message;if(!n.success)throw new St("UPDATE_SYMBOL",n.message||"Update of the symbol failed!");if(this.result=n.result,!this.result){let a=((t=this.updateData)==null?void 0:t.display_title)||((e=this.updateData)==null?void 0:e.title)||"",s="Failed to update project library symbol {title}!";throw new St("UPDATE_SYMBOL",{text:s,args:{title:a}})}return await this.onsuccess(this.result),{success:!0,result:this.result}}async onbefore(){Gie(this.data)?(this.onlyIdentity=!0,this.keepVersion=!0):(this.onlyIdentity=!1,this.keepVersion=!1)}async onsuccess(t){}},por=class extends zii{constructor(t,e){super(e),this.uuid=t}onHandle(t){return this.onUpdate(t)}matching(t){throw new Error("Method not implemented.")}async isRename(t){return{success:!0}}async start(){let t=await this.getOrigin();if(!t.success)throw new St("UPDATE_FOOTPRINT",t.message||"Update of the footprint failed!");if(!this.origin)throw new St("UPDATE_FOOTPRINT","Footprint details data does not exist");let e=this.origin.display_title||this.origin.title,i=[{uuid:this.uuid,title:e},this.path];if((await wo.messageBus.rpcCall($e.FOOTPRINT.IS_CHANGE,i)).message){let o=await this.rename(this.origin,{path:this.path});if(!o.success)throw new St("UPDATE_FOOTPRINT",o.message||"Update of the footprint failed!")}return{success:!0,result:this.origin}}},mor=class extends Yde{constructor(t){let{path:e,uuid:i,data:o,options:r={}}=t,{matchKey:n=!0,byUUID:a=!0,bySource:s=!0,byVersion:l=!1,renameKey:c=!1}=r;super(e),this.uuid=i,this.data=o,this.matchKey=n,this.byUUID=a,this.bySource=s,this.byVersion=l,this.renameKey=c}async start(){var t,e;await this.check(),await this.onbefore();let i={path:this.path,matchKey:this.matchKey,byUUID:this.byUUID,bySource:this.bySource,byVersion:this.byVersion,renameKey:this.renameKey,data:this.data},o=await new por(this.uuid,i).start();if(!o.success)throw new St("UPDATE_FOOTPRINT",o.message||"Update of the footprint failed!");this.updateData=o.result;let r={uuid:this.uuid,data:this.updateData,overwriteCanvas:this.onlyIdentity,keepVersion:this.keepVersion},n=(await wo.messageBus.rpcCall($e.FOOTPRINT.COVER,[r,this.path])).message;if(!n.success)throw new St("UPDATE_FOOTPRINT",n.message||"Update of the footprint failed!");if(this.result=n.result,!this.result){let a={text:"Failed to update project library footprint {title}!",args:{title:((t=this.updateData)==null?void 0:t.display_title)||((e=this.updateData)==null?void 0:e.title)||""}};throw new St("UPDATE_FOOTPRINT",a)}return await this.onsuccess(this.result),{success:!0,result:this.result}}async onbefore(){Gie(this.data)?(this.onlyIdentity=!0,this.keepVersion=!0):(this.onlyIdentity=!1,this.keepVersion=!1)}async onsuccess(t){}},hor=class extends Uht{async getDevice(t){let e=[t.uuid,t.path],{message:i}=await wo.messageBus.rpcCall($e.DEVICE.GET,e);if(!i)throw new St("GET_DEVICE","Device details data does not exist");return gNe(t.path,i)}async getDeviceAttributesKeys(t){let{message:e}=await wo.messageBus.rpcCall($e.DEVICE.GET_ATTRIBUTES_KEYS,t);if(!e.success)throw new St("GET_DEVICE_ATTRIBUTES_KEYS",e.message);return e.result}async getDeviceAttributesValues(t){let{message:e}=await wo.messageBus.rpcCall($e.DEVICE.GET_ATTRIBUTES_VALUES,t);if(!e.success)throw new St("GET_DEVICE_ATTRIBUTES_VALUES",e.message);return e.result}async getSymbol(t){let e=[t.uuid,t.path],{message:i}=await wo.messageBus.rpcCall($e.SYMBOL.GET,e);if(!i)throw new St("GET_SYMBOL","Symbol details data does not exist");return O1t(t.path,i)}async getFootprint(t){let e=[t.uuid,t.path],{message:i}=await wo.messageBus.rpcCall($e.FOOTPRINT.GET,e);if(!i)throw new St("GET_FOOTPRINT","Footprint details data does not exist");return R1t(t.path,i)}async createDevice(t){let{path:e,device:i,symbol:o,footprint:r}=t,n={path:e,data:{device:i,symbol:o,footprint:r}},a=await new nor(n).start();if(!a.success)throw new St("CREATE_DEVICE",a.message);let s=a.result.device;if(!(s!=null&&s.success))throw new St("CREATE_DEVICE",s==null?void 0:s.message);let l=s.result;return gNe(t.path,l)}async createSymbol(t){let{path:e,symbol:i}=t,o={path:e,data:i},r=await new lor(o).start();if(!r.success)throw new St("CREATE_SYMBOL",r.message);let n=r.result;return O1t(t.path,n)}async createFootprint(t){let{path:e,footprint:i}=t,o={path:e,data:i},r=await new cor(o).start();if(!r.success)throw new St("CREATE_FOOTPRINT",r.message);let n=r.result;return R1t(t.path,n)}async updateDevice(t){let{uuid:e,path:i,device:o,symbol:r,footprint:n}=t,a={path:i,uuid:e,data:{device:o,symbol:r,footprint:n}},s=await new sor(a).start();if(!s.success)throw new St("UPDATE_DEVICE",s.message);let l=s.result.device;if(!(l!=null&&l.success))throw new St("CREATE_DEVICE",l==null?void 0:l.message);let c=l.result;return gNe(t.path,c)}async updateDeviceAttributes(t){let e=(await wo.messageBus.rpcCall($e.DEVICE.UPDATE,[t,t.path])).message;if(!e)throw new St("UPDATE_DEVICE_ATTRIBUTES",e.message);return gNe(t.path,e)}async updateSymbol(t){let{uuid:e,path:i,symbol:o}=t,r={path:i,uuid:e,data:o},n=await new uor(r).start();if(!n.success)throw new St("UPDATE_SYMBOL",n.message);let a=n.result;return O1t(t.path,a)}async updateFootprint(t){let{uuid:e,path:i,footprint:o}=t,r={path:i,uuid:e,data:o},n=await new mor(r).start();if(!n.success)throw new St("UPDATE_FOOTPRINT",n.message);let a=n.result;return R1t(t.path,a)}async deleteDevice(t){if(!(await wo.messageBus.rpcCall($e.DEVICE.DEL,[t.uuid,t.path])).message)throw new St("DELETE_DEVICE","delete failed!")}async deleteSymbol(t){if(!(await wo.messageBus.rpcCall($e.SYMBOL.DEL,[t.uuid,t.path])).message)throw new St("DELETE_SYMBOL","delete failed!")}async deleteFootprint(t){if(!(await wo.messageBus.rpcCall($e.FOOTPRINT.DEL,[t.uuid,t.path])).message)throw new St("DELETE_FOOTPRINT","delete failed!")}async getDeviceList(t){let e=(await wo.messageBus.rpcCall($e.DEVICE.GET_LIST,t)).message;if(!e.success)throw new St("GET_DEVICE_LIST",e.message);return e.result}async getDeviceSearchList(t){let e=(await wo.messageBus.rpcCall($e.DEVICE.GET_LIST,t)).message;if(!e.success)throw new St("GET_DEVICE_LIST",e.message);return e.result}async getSymbolList(t){let e=(await wo.messageBus.rpcCall($e.SYMBOL.GET_LIST,t)).message;if(!e.success)throw new St("GET_SYMBOL_LIST",e.message);return e.result}async getSymbolSearchList(t){let e=(await wo.messageBus.rpcCall($e.SYMBOL.GET_LIST,t)).message;if(!e.success)throw new St("GET_SYMBOL_LIST",e.message);return e.result}async getFootprintList(t){let e=(await wo.messageBus.rpcCall($e.FOOTPRINT.GET_LIST,t)).message;if(!e.success)throw new St("GET_FOOTPRINT_LIST",e.message);return e.result}async getFootprintSearchList(t){let e=(await wo.messageBus.rpcCall($e.FOOTPRINT.GET_LIST,t)).message;if(!e.success)throw new St("GET_FOOTPRINT_LIST",e.message);return e.result}},gor=class extends Uht{constructor(){super(...arguments),this._normalErrorMsg="Request Error.",this._extendLibManager=J1.getInstance()}async getDevice(t){var e;let i=await((e=this._extendLibManager.getLib(t.path))==null?void 0:e.getTransformedDetailInTab("device",t.uuid,t.path));if(i)return i;throw new St("GET_DEVICE",this._normalErrorMsg)}async getSymbol(t){var e;let i=await((e=this._extendLibManager.getLib(t.path))==null?void 0:e.getTransformedDetailInTab("symbol",t.uuid,t.path));if(i)return i;throw new St("GET_SYMBOL",this._normalErrorMsg)}async getFootprint(t){var e;let i=await((e=this._extendLibManager.getLib(t.path))==null?void 0:e.getTransformedDetailInTab("footprint",t.uuid,t.path));if(i)return i;throw new St("GET_FOOTPRINT",this._normalErrorMsg)}async getModel3D(t){var e;let i=await((e=this._extendLibManager.getLib(t.path))==null?void 0:e.getTransformedDetailInTab("model3D",t.uuid,t.path));if(i)return i;throw new St("GET_D3MODEL",this._normalErrorMsg)}async getDeviceList(t){var e,i,o,r,n,a,s,l;let c=await((l=this._extendLibManager.getLib(t.path))==null?void 0:l.getTransformedListInTab("device",{query:{attributes:(i=(e=t.query)==null?void 0:e.attributes)!=null?i:{},symbolType:(o=t.query)==null?void 0:o.symbol_type,classification:{primaryClassificationUuid:(n=(r=t.tags)==null?void 0:r[0])!=null?n:"",secondaryClassificationUuid:(s=(a=t.tags)==null?void 0:a[1])!=null?s:""}},page:t.page,pageSize:t.pageSize}));if(c)return c;throw new St("GET_DEVICE_LIST",this._normalErrorMsg)}async getSymbolList(t){var e,i,o,r,n,a;let s=await((a=this._extendLibManager.getLib(t.path))==null?void 0:a.getTransformedListInTab("symbol",{query:{symbolType:(e=t.docType)==null?void 0:e[0],classification:{primaryClassificationUuid:(o=(i=t.tags)==null?void 0:i[0])!=null?o:"",secondaryClassificationUuid:(n=(r=t.tags)==null?void 0:r[1])!=null?n:""}},page:t.page,pageSize:t.pageSize}));if(s)return s;throw new St("GET_SYMBOL_LIST",this._normalErrorMsg)}async getFootprintList(t){var e,i,o,r,n;let a=await((n=this._extendLibManager.getLib(t.path))==null?void 0:n.getTransformedListInTab("footprint",{query:{classification:{primaryClassificationUuid:(i=(e=t.tags)==null?void 0:e[0])!=null?i:"",secondaryClassificationUuid:(r=(o=t.tags)==null?void 0:o[1])!=null?r:""}},page:t.page,pageSize:t.pageSize}));if(a)return a;throw new St("GET_FOOTPRINT_LIST",this._normalErrorMsg)}async getD3ModelSearchList1(t){var e,i,o;let{path:r,wd:n,query:a,tags:s,page:l,pageSize:c}=t,d=await((o=this._extendLibManager.getLib(r))==null?void 0:o.getTransformedListInTab("model3D",{query:{wd:n,classification:{primaryClassificationUuid:(e=s==null?void 0:s[0])!=null?e:"",secondaryClassificationUuid:(i=s==null?void 0:s[1])!=null?i:""}},page:l,pageSize:c}));if(d)return{...d,facets:{[r]:d.count}};throw new St("GET_D3MODEL_LIST",this._normalErrorMsg)}async getD3ModelSearchList2(t){var e;let{path:i,titles:o}=t,r=await((e=this._extendLibManager.getLib(i))==null?void 0:e.getTransformedListInTab("model3D",{query:{listByTitles:o},page:1,pageSize:1e8}));if(r)return r.lists.reduce((n,a)=>((n[a.display_title]||(n[a.display_title]=[])).push(a),n),{});throw new St("GET_D3MODEL_LIST",this._normalErrorMsg)}async getD3ModelSearchList3(t){var e;let{path:i,uuids:o}=t,r=await((e=this._extendLibManager.getLib(i))==null?void 0:e.getTransformedListInTab("model3D",{query:{listByUuids:o},page:1,pageSize:1e8}));if(r)return r.lists;throw new St("GET_D3MODEL_LIST",this._normalErrorMsg)}async getD3ModelSearchList(t){return t.titles?await this.getD3ModelSearchList2(t):t.uuids?await this.getD3ModelSearchList3(t):await this.getD3ModelSearchList1(t)}async getDeviceSearchList1(t){var e,i,o,r;let{path:n,wd:a,query:s,tags:l,page:c,pageSize:d}=t,u=await((r=this._extendLibManager.getLib(n))==null?void 0:r.getTransformedListInTab("device",{query:{wd:a,attributes:(e=s==null?void 0:s.attributes)!=null?e:{},symbolType:s==null?void 0:s.symbol_type,classification:{primaryClassificationUuid:(i=l==null?void 0:l[0])!=null?i:"",secondaryClassificationUuid:(o=l==null?void 0:l[1])!=null?o:""}},page:c,pageSize:d}));if(u)return{...u,facets:{[n]:u.count}};throw new St("GET_DEVICE_LIST",this._normalErrorMsg)}async getDeviceSearchList2(t){var e;let{path:i,titles:o}=t,r=await((e=this._extendLibManager.getLib(i))==null?void 0:e.getTransformedListInTab("device",{query:{listByTitles:o},page:1,pageSize:1e8}));if(r)return r.lists.reduce((n,a)=>((n[a.display_title]||(n[a.display_title]=[])).push(a),n),{});throw new St("GET_DEVICE_LIST",this._normalErrorMsg)}async getDeviceSearchList3(t){var e;let{path:i,uuids:o}=t,r=await((e=this._extendLibManager.getLib(i))==null?void 0:e.getTransformedListInTab("device",{query:{listByUuids:o},page:1,pageSize:1e8}));if(r)return r.lists;throw new St("GET_DEVICE_LIST",this._normalErrorMsg)}async getDeviceSearchList(t){return t.titles?await this.getDeviceSearchList2(t):t.uuids?await this.getDeviceSearchList3(t):await this.getDeviceSearchList1(t)}async getSymbolSearchList1(t){var e,i,o,r;let{path:n,wd:a,query:s,tags:l,page:c,pageSize:d}=t,u=await((r=this._extendLibManager.getLib(n))==null?void 0:r.getTransformedListInTab("symbol",{query:{wd:a,symbolType:(e=t.docType)==null?void 0:e[0],classification:{primaryClassificationUuid:(i=l==null?void 0:l[0])!=null?i:"",secondaryClassificationUuid:(o=l==null?void 0:l[1])!=null?o:""}},page:c,pageSize:d}));if(u)return{...u,facets:{[n]:u.count}};throw new St("GET_DEVICE_LIST",this._normalErrorMsg)}async getSymbolSearchList2(t){var e;let{path:i,titles:o}=t,r=await((e=this._extendLibManager.getLib(i))==null?void 0:e.getTransformedListInTab("symbol",{query:{listByTitles:o},page:1,pageSize:1e8}));if(r)return r.lists.reduce((n,a)=>((n[a.display_title]||(n[a.display_title]=[])).push(a),n),{});throw new St("GET_DEVICE_LIST",this._normalErrorMsg)}async getSymbolSearchList3(t){var e;let{path:i,uuids:o}=t,r=await((e=this._extendLibManager.getLib(i))==null?void 0:e.getTransformedListInTab("symbol",{query:{listByUuids:o},page:1,pageSize:1e8}));if(r)return r.lists;throw new St("GET_DEVICE_LIST",this._normalErrorMsg)}async getSymbolSearchList(t){return t.titles?await this.getSymbolSearchList2(t):t.uuids?await this.getSymbolSearchList3(t):await this.getSymbolSearchList1(t)}async getFootprintSearchList1(t){var e,i,o;let{path:r,wd:n,query:a,tags:s,page:l,pageSize:c}=t,d=await((o=this._extendLibManager.getLib(r))==null?void 0:o.getTransformedListInTab("footprint",{query:{wd:n,classification:{primaryClassificationUuid:(e=s==null?void 0:s[0])!=null?e:"",secondaryClassificationUuid:(i=s==null?void 0:s[1])!=null?i:""}},page:l,pageSize:c}));if(d)return{...d,facets:{[r]:d.count}};throw new St("GET_DEVICE_LIST",this._normalErrorMsg)}async getFootprintSearchList2(t){var e;let{path:i,titles:o}=t,r=await((e=this._extendLibManager.getLib(i))==null?void 0:e.getTransformedListInTab("footprint",{query:{listByTitles:o},page:1,pageSize:1e8}));if(r)return r.lists.reduce((n,a)=>((n[a.display_title]||(n[a.display_title]=[])).push(a),n),{});throw new St("GET_DEVICE_LIST",this._normalErrorMsg)}async getFootprintSearchList3(t){var e;let{path:i,uuids:o}=t,r=await((e=this._extendLibManager.getLib(i))==null?void 0:e.getTransformedListInTab("footprint",{query:{listByUuids:o},page:1,pageSize:1e8}));if(r)return r.lists;throw new St("GET_DEVICE_LIST",this._normalErrorMsg)}async getFootprintSearchList(t){return t.titles?await this.getFootprintSearchList2(t):t.uuids?await this.getFootprintSearchList3(t):await this.getFootprintSearchList1(t)}createDevice(t){throw new St("CREATE_DEVICE","Not Supported.")}createSymbol(t){throw new St("GET_SYMBOL","Not Supported.")}createFootprint(t){throw new St("CREATE_FOOTPRINT","Not Supported.")}updateDevice(t){throw new St("UPDATE_DEVICE","Not Supported.")}updateSymbol(t){throw new St("GET_SYMBOL","Not Supported.")}updateFootprint(t){throw new St("GET_SYMBOL","Not Supported.")}deleteDevice(t){throw new St("GET_SYMBOL","Not Supported.")}deleteSymbol(t){throw new St("GET_SYMBOL","Not Supported.")}deleteFootprint(t){throw new St("GET_SYMBOL","Not Supported.")}},Yi=(t=>(t[t.CBB=1]="CBB",t[t.SYMBOL=2]="SYMBOL",t[t.DEVICE=3]="DEVICE",t[t.FOOTPRINT=4]="FOOTPRINT",t[t.MODEL3D=5]="MODEL3D",t[t.MODELSIM=6]="MODELSIM",t[t.PANEL_LIB=29]="PANEL_LIB",t))(Yi||{}),bor=["title","description","tags","images"],ll=new tor,L2=new hor,f9=new gor,Ze=class{static getDevice(t){return J1.getInstance().hasLib(t.path)?f9.getDevice(t):t.isProject?L2.getDevice(t):ll.getDevice(t)}static getDeviceAttributesKeys(t){return t.isProject?L2.getDeviceAttributesKeys(t):ll.getDeviceAttributesKeys(t)}static getDeviceAttributesValues(t){return t.isProject?L2.getDeviceAttributesValues(t):ll.getDeviceAttributesValues(t)}static getSymbol(t){return J1.getInstance().hasLib(t.path)?f9.getSymbol(t):t.isProject?L2.getSymbol(t):ll.getSymbol(t)}static getFootprint(t){return J1.getInstance().hasLib(t.path)?f9.getFootprint(t):t.isProject?L2.getFootprint(t):ll.getFootprint(t)}static getPanelLib(t){if(t.isProject)throw new St("GET_PANEL_LIB","Api call error!");return ll.getPanelLib(t)}static getD3Model(t){return J1.getInstance().hasLib(t.path)?f9.getModel3D(t):t.isProject?null:ll.getD3Model(t)}static getSimModel(t){if(t.isProject)throw new St("GET_SIM_MODEL","Api call error!");return ll.getSimModel(t)}static getDeviceList(t){return J1.getInstance().hasLib(t.path)?f9.getDeviceList(t):t.isProject?L2.getDeviceList(t):ll.getDeviceList(t)}static getSymbolList(t){return J1.getInstance().hasLib(t.path)?f9.getSymbolList(t):t.isProject?L2.getSymbolList(t):ll.getSymbolList(t)}static getFootprintList(t){return J1.getInstance().hasLib(t.path)?f9.getFootprintList(t):t.isProject?L2.getFootprintList(t):ll.getFootprintList(t)}static getPanelLibList(t){if(t.isProject)throw new St("GET_D3MODEL_LIST","Api call error!");return ll.getPanelLibList(t)}static getD3ModelList(t){if(t.isProject)throw new St("GET_D3MODEL_LIST","Api call error!");return ll.getD3ModelList(t)}static getSimModelList(t){if(t.isProject)throw new St("GET_SIM_MODEL_LIST","Api call error!");return ll.getSimModelList(t)}static getDeviceSearchList(t){return J1.getInstance().hasLib(t.path)?f9.getDeviceSearchList(t):t.isProject?L2.getDeviceSearchList(t):ll.getDeviceSearchList(t)}static getSymbolSearchList(t){return J1.getInstance().hasLib(t.path)?f9.getSymbolSearchList(t):t.isProject?L2.getSymbolSearchList(t):ll.getSymbolSearchList(t)}static getFootprintSearchList(t){return J1.getInstance().hasLib(t.path)?f9.getFootprintSearchList(t):t.isProject?L2.getFootprintSearchList(t):ll.getFootprintSearchList(t)}static getPanelLibSearchList(t){if(t.isProject)throw new St("GET_PANEL_LIB_SEARCH_LIST","Api call error!");return ll.getPanelLibSearchList(t)}static getD3ModelSearchList(t){if(t.isProject)throw new St("GET_D3MODEL_SEARCH_LIST","Api call error!");return J1.getInstance().hasLib(t.path)?f9.getD3ModelSearchList(t):ll.getD3ModelSearchList(t)}static getSimModelSearchList(t){if(t.isProject)throw new St("GET_SIM_MODEL_SEARCH_LIST","Api call error!");return ll.getSimModelSearchList(t)}static createDevice(t){return t.isProject?L2.createDevice(t):ll.createDevice(t)}static createSymbol(t){return t.isProject?L2.createSymbol(t):ll.createSymbol(t)}static createFootprint(t){return t.isProject?L2.createFootprint(t):ll.createFootprint(t)}static createD3Model(t){return t.isProject?null:ll.createD3Model(t)}static createPanelLib(t){if(t.isProject)throw new St("CREATE_PANEL_LIB","Api call error!");return ll.createPanelLib(t)}static createSimModel(t){if(t.isProject)throw new St("CREATE_SIM_MODEL","Api call error!");return ll.createSimModel(t)}static updateDevice(t){return t.isProject?L2.updateDevice(t):ll.updateDevice(t)}static updateDeviceAttributes(t){return t.isProject?L2.updateDeviceAttributes(t):ll.updateDeviceAttributes(t)}static updateSymbol(t){return t.isProject?L2.updateSymbol(t):ll.updateSymbol(t)}static updateFootprint(t){return t.isProject?L2.updateFootprint(t):ll.updateFootprint(t)}static updatePanelLib(t){if(t.isProject)throw new St("UPDATE_PANEL_LIB","Api call error!");return ll.updatePanelLib(t)}static updateD3Model(t){if(t.isProject)throw new St("UPDATE_D3MODEL","Api call error!");return ll.updateD3Model(t)}static updateSimModel(t){if(t.isProject)throw new St("UPDATE_SIM_MODEL","Api call error!");return ll.updateSimModel(t)}static deleteDevice(t){return t.isProject?L2.deleteDevice(t):ll.deleteDevice(t)}static deleteSymbol(t){return t.isProject?L2.deleteSymbol(t):ll.deleteSymbol(t)}static deleteFootprint(t){return t.isProject?L2.deleteFootprint(t):ll.deleteFootprint(t)}static deletePanelLib(t){if(t.isProject)throw new St("DELETE_PANEL_LIB","Api call error!");return ll.deletePanelLib(t)}static deleteSimModel(t){if(t.isProject)throw new St("DELETE_SIM_MODEL","Api call error!");return ll.deleteSimModel(t)}static deleteD3Model(t){if(t.isProject)throw new St("DELETE_3DMODEL","Api call error!");return ll.delete3DModel(t)}static starDevice(t){if(t.isProject)throw new St("STAR_DEVICE","Api call error!");return ll.starDevice(t)}static starSymbol(t){if(t.isProject)throw new St("STAR_SYMBOL","Api call error!");return ll.starSymbol(t)}static starFootprint(t){if(t.isProject)throw new St("STAR_FOOTPRINT","Api call error!");return ll.starFootprint(t)}static starPanelLib(t){if(t.isProject)throw new St("STAR_PANEL_LIB","Api call error!");return ll.starPanelLib(t)}static unstarDevice(t){if(t.isProject)throw new St("UNSTAR_DEVICE","Api call error!");return ll.unstarDevice(t)}static unstarSymbol(t){if(t.isProject)throw new St("UNSTAR_SYMBOL","Api call error!");return ll.unstarSymbol(t)}static unstarFootprint(t){if(t.isProject)throw new St("UNSTAR_FOOTPRINT","Api call error!");return ll.unstarFootprint(t)}static unstarPanelLib(t){if(t.isProject)throw new St("UNSTAR_PANEL_LIB","Api call error!");return ll.unstarPanelLib(t)}};async function Uii(t,e,i,o={}){o.eachProcessHook&&o.eachProcessHook(.01);let r=i||_e.SYSTEMLIB_UUID,n=null;if(e)try{n=await Ze.getDevice({isProject:t,path:i,uuid:e})}catch(d){console.warn(d)}o.eachProcessHook&&o.eachProcessHook(.25);let a=null,s={Footprint:!1,symbol:!1,d3DModel:!1};if(n){let d=(n.attributes||{}).Symbol;if(d){try{a=await Ze.getSymbol({isProject:t,path:i,uuid:d})}catch(u){console.warn(u)}a||(s.symbol=!0)}}o.eachProcessHook&&o.eachProcessHook(.5);let l=null;if(n){let d=(n.attributes||{}).Footprint;if(d){try{l=await Ze.getFootprint({isProject:t,path:i,uuid:d})}catch(u){console.warn(u)}l||(s.Footprint=!0)}}o.eachProcessHook&&o.eachProcessHook(.75);let c=null;if(n){let d=n.attributes||{},u=d["3D Model"],p=d["3D Model Title"],m=eT(u,!0),h=m.path||_e.SYSTEMLIB_UUID||r;if(J1.getInstance().hasLib(m.path||r)?c=await Ze.getD3Model({uuid:m.componentTitleOrId,path:m.path,isProject:!1}):m.componentTitleOrId&&(m.isLocaleFilenameMode?c=(await Bht(m.componentTitleOrId,h)).result:c=await Mwe(m.componentTitleOrId,h)),!c&&u&&p){if(o.isCheckD3ModelFileExist){let f=await dii(u);f.success&&f.result instanceof Blob?s.d3DModel=!1:s.d3DModel=!0}else s.d3DModel=!0;c=zht(u,p,m.path)}}return o.eachProcessHook&&o.eachProcessHook(1),{setPath:r,deviceItem:n,symbolItem:a,footprintItem:l,d3modelItem:c,hasIdButNotFound:s}}async function yor(t=!1,e,i,o,r){let n=r?!!r.forceAsSymbol:!1,a=r?!!r.ignoreDoctypeCheck:!1,s=r?!!r.isDevice:!1,l=r?!!r.isCheckD3ModelFileExist:!1;if(!a){if(o===28){let u=r?!!r.attachedDeviceBindingExtra:!1,p=r?r.eachProcessHook:null;try{let m=null;return u?m=await Uii(t,e,i,{eachProcessHook:p,isCheckD3ModelFileExist:l}):m=await Ze.getDevice({isProject:t,path:i,uuid:e}),{code:0,success:!0,result:m,message:""}}catch(m){return{code:-1,success:!1,result:null,message:m.message.toString()}}}if(o===4)try{return{code:0,success:!0,result:await Ze.getFootprint({isProject:t,path:i,uuid:e}),message:""}}catch(u){return{code:-1,success:!1,result:null,message:u.message.toString()}}if(n||o&&[2,18,19,20,21,22,25,31,7,32,6].indexOf(o)>=0)try{return{code:0,success:!0,result:await Ze.getSymbol({isProject:t,path:i,uuid:e}),message:""}}catch(u){return{code:-1,success:!1,result:null,message:u.message.toString()}}if(o===16)try{return{code:0,success:!0,result:await Mwe(e,i),message:""}}catch(u){return{code:-1,success:!1,result:null,message:u.message.toString()}}}let c=await pn("GET",s?vu(mn.DEVICE.GET,{uuid:e}):vu(mn.COMPONENT.GET,{uuid:e}),{uuid:e,path:i},{headers:{"Content-Type":"application/json",path:i}});if(c.code===0&&c.success&&typeof c.result=="object")return{code:0,success:!0,result:c.result,message:""};let d=c.message||c.msg||"Request Error.";return{code:c.code||-1,success:!1,result:null,message:d}}function mht(t,e){let i=t.owner||{},o=typeof t.updated_at=="string"?t.updated_at:typeof t.updated_at=="number"?cU(new Date(t.updated_at)):"",r=typeof t.updateTime=="string"?t.updateTime:typeof t.updateTime=="number"?cU(new Date(p1(t.updateTime))):"";return{...t,$id:String(e),numberIndex:e+1,ownerBelong:i.username,updateTimeString:o||r}}function wor(t,e,i){let o=[];for(let r=0;r<t.length;r++){let n=t[r][e]?t[r][e].toLocaleLowerCase():"",a=i?i.toLocaleLowerCase():"";n.indexOf(a)>=0&&o.push(t[r])}return o}async function Cor(t,e,i,o){let r=await new Promise(a=>{fetch(kht.D3Model.client3DModelList+`?step_path=${t}`,{method:"GET"}).then(s=>{s.json().then(l=>{if(l){a(l);return}a(null)})})}),n={code:0,success:!0,result:{count:0,page:1,pageSize:o,totalPage:1,lists:[]},msg:""};return r&&r.success?(n.result.lists=(r.result||[]).map((a,s)=>{let l=cU(new Date(a.mtime*1e3)),c={uuid:`${a.fileName}|${e}`,rowFileTag:`${a.fileName}|${e}`,path:e,display_title:a.fileName,description:"",docType:16,isFavorite:!1,modifier:null,owner:null,tags:{child_tag:[],parent_tag:[]},title:a.fileName,updateTime:p1(a.mtime),updated_at:l,createTime:p1(a.mtime),created_at:l,creator:null,dataStr:"",public:void 0,type:16};return{...mht(c,s)}}),n.result.count=r.result.length):(n.code=_e.ERR_CODE.NORMAL,n.success=!1,n.msg=r.message||"Fetch local 3D model list error."),n}async function xor(t,e,i,o,r){let n={};for(let c=0;c<e.length;c++){let d=e[c].id,u=await new Promise(p=>{fetch(kht.D3Model.client3DModelList+`?step_path=${d}`,{method:"GET"}).then(m=>{m.json().then(h=>{if(h){p(h);return}p(null)})})});if(u&&u.success){n[d]={list:u.result.map((p,m)=>mht(p,m))};continue}n[d]=null}let a={},s={},l={count:0};for(let c=0;c<e.length;c++){let d=e[c].id;if(n[d]){let u=wor(n[d].list,"fileName",o);if(!u.length){a[d]=0,s[d]=[];continue}a[d]=u.length,s[d]=u.map((p,m)=>{let h=cU(new Date(p.mtime*1e3)),f={uuid:`${p.fileName}|${p.path}`,path:p.path,rowFileTag:`${p.fileName}|${p.path}`,display_title:p.fileName,description:"",docType:16,isFavorite:!1,modifier:null,owner:null,tags:{child_tag:[],parent_tag:[]},title:p.fileName,updateTime:p1(p.mtime),updated_at:h,createTime:p1(p.mtime),created_at:h,creator:null,dataStr:"",public:void 0,source:void 0,std_uuid:void 0,ticket:0,type:16};return{...mht(f,m)}}),l.count++;continue}a[d]=0,s[d]=[]}return{code:0,success:!0,result:{count:l.count,facets:a,lists:s[t]||[],uid:t,wd:o,page:1,pageSize:r,totalPage:1},msg:""}}function Vii(t){let e=null;return e=Zht(t.title),!e.success||(e=Hii(t.description),!e.success)?e:{code:0,success:!0,message:"",key:"",result:null}}function Tor(t){let e=null;return e=Zht(t.name),!e.success||(e=Sor(t.type),!e.success)||(e=Mor(t.model),!e.success)?e:{code:0,success:!0,message:"",key:"",result:null}}function Zht(t){let e={code:0,success:!0,message:"",key:"",result:null};return(!t||t.length<=0||t.length>128)&&(e.code=_e.ERR_CODE.NORMAL,e.success=!1,e.message="The title length must be between 1~128 characters!"),e}function Hii(t){let e={code:0,success:!0,message:"",key:"",result:null};return t&&t.length>255&&(e.code=_e.ERR_CODE.NORMAL,e.success=!1,e.message="Description should be no more than 255 letters"),e}function Sor(t){let e={code:0,success:!0,message:"",key:"",result:null};return t||(e.code=_e.ERR_CODE.NORMAL,e.success=!1,e.message="The 3D model type is incorrect!"),e}function Mor(t){let e={code:0,success:!0,message:"",key:"",result:null};return t||(e.code=_e.ERR_CODE.NORMAL,e.success=!1,e.message="The 3D model is incorrect!"),e}async function Ior(t,e,i,o){if(!e||!i||!o)return{code:-1,success:!1,result:null,message:"missing uuid or path or detail data."};let r=Vii({title:o.title,description:o.description});if(!r.success)return{code:r.code,success:!1,result:null,message:r.message};let n=await pn("POST",vu(mn.COMPONENT.UPDATE,{uuid:e}),{...o,owner:i},{headers:{"Content-Type":"application/json",path:i}});if(n.code===0&&n.success&&typeof n.result=="object")return{code:0,success:!0,result:n.result,message:""};let a=n.message||n.msg||"Request Error.";return{code:n.code||-1,success:!1,result:null,message:a}}async function Lor(t){let e=Tor(t);if(!e.success)return{code:e.code,success:!1,message:e.message};let i=new FormData;t.content&&i.append("src",new Blob([t.content]),t.name),i.append("mesh",new Blob([t.model]),"model.obj");let o=await pn("POST",mn.COMPONENT.UPLOAD_3DMODEL,i,{contentType:!1,gzipFormData:!0},!0);if(o.success)return{success:!0,result:o.result};let r=o.message||o.msg||"Request Error.";return{success:!1,code:o.code,message:r}}var As=class{};As.createDefaultD3modelItem=zht,As.fetchD3ModelItemHandle=Mwe,As.updateD3ModelItem=Ior,As.uploadD3ModelItem=Lor,As.d3modelInfoVerify=Vii,As.d3modelInfoTitleVerify=Zht,As.d3modelInfoDescriptionVerify=Hii,As.fetchD3ModelListOnLocaleFolder=Cor,As.fetchD3ModelListBySearchOnLocaleFolder=xor,As.fetchD3ModelItemOnLocaleFolder=Bht;function vor(t,e=void 0){let i=null;if(i=Gii(t.title),!i.success||(i=Yii(t.description),!i.success)||(i=Wii(t.attributes),!i.success))return i;let o={code:0,success:!0,message:"",key:"",result:null};return typeof e<"u"&&(e.length<=0||e.length>128)&&(o.code=_e.ERR_CODE.NORMAL,o.success=!1,o.message="The title length must be between 1~128 characters!"),o}function Gii(t){let e={code:0,success:!0,message:"",key:"",result:null};return(!t||t.length<=0||t.length>128)&&(e.code=_e.ERR_CODE.NORMAL,e.success=!1,e.message="The title length must be between 1~128 characters!"),e}function Yii(t){let e={code:0,success:!0,message:"",key:"",result:null};return t&&t.length>255&&(e.code=_e.ERR_CODE.NORMAL,e.success=!1,e.message="Description should be no more than 255 letters"),e}function Wii(t){let e={code:0,success:!0,message:"",key:"",result:null},i=Object.keys(t);for(let o=0;o<i.length;o++){let r=i[o],n=t[r];if(typeof n=="string"&&n.trim().length>255)return e.code=_e.ERR_CODE.NORMAL,e.message="{0} should be no more than 255 letters",e.key=r,e}return e}var rK=class{};rK.deviceInfoVerify=vor,rK.deviceInfoTitleVerify=Gii,rK.deviceInfoDescriptionVerify=Yii,rK.deviceInfoAttributesVerify=Wii,rK.fetchDeviceItem=Uii;function Dor(){return[["DOCTYPE","FOOTPRINT",""],["HEAD",{editorVersion:"dev",importFlag:0}],["CANVAS",0,0,"mm",5,5,5,5,5,5,2,2,5]].map(t=>JSON.stringify(t)).join(`
`)}function Eor(t="",e="",i=""){let o=e||"[Empty Footprint Component Item]",r=new Date().getTime(),n=cU(new Date(r)),a={avatar:"",nickname:"",username:"",uuid:""};return{$emptyItem:!0,createTime:r,created_at:n,creator:{...a},dataStr:t,description:"",display_title:o,docType:4,modifier:{...a},owner:{...a},path:_e.SYSTEMLIB_UUID,public:!1,source:"",std_uuid:"",tags:{child_tag:null,parent_tag:null},ticket:0,title:o,type:0,updateTime:r,updated_at:n,uuid:i||"",version:""}}function Aor(t){let e=null;return e=Nor(t.title),e.success?{code:0,success:!0,message:"",key:void 0,result:null}:e}function Nor(t){let e={code:0,success:!0,message:"",key:void 0,result:null};return(!t||t.length<=0||t.length>128)&&(e.code=_e.ERR_CODE.NORMAL,e.success=!1,e.message="The title length must be between 1~128 characters!"),e}var Pg=class{};Pg.footprintInfoVerify=Aor,Pg.createEmptyFootprintItem=Eor,Pg.createEmptyFootprintDataStr=Dor;function kor(t){let e=null;return e=Por(t.title),!e.success||(e=Oor(t.docType),!e.success)?e:{code:0,success:!0,message:"",key:void 0,result:null}}function Por(t){let e={code:0,success:!0,message:"",key:void 0,result:null};return(!t||t.length<=0||t.length>128)&&(e.code=_e.ERR_CODE.NORMAL,e.success=!1,e.message="The title length must be between 1~128 characters!"),e}function Oor(t){let e={code:0,success:!0,message:"",key:void 0,result:null};return(typeof t>"u"||!t)&&(e.code=_e.ERR_CODE.NORMAL,e.success=!1,e.message="Document data abnormality"),e}var Qii=class{};Qii.symbolInfoVerify=kor;async function Ror(t=!1,e,i,o,r=[]){let n={isDuplicate:!1,path:o,uuids:[]},a=i.toLocaleLowerCase(),s=await QNe(t,a,o,e,wo.loginedUserUuid);if(s.success&&s.result&&s.result.length){let l=[];for(let c=0;c<s.result.length;c++){if(r.indexOf(s.result[c].uuid)>=0)continue;let d=(s.result[c].title||s.result[c].display_title).toLocaleLowerCase();if(a===d&&s.result[c].path===o){if(typeof e>"u"||e===28){l.push(s.result[c]);continue}if(typeof s.result[c].docType>"u"){l.push(s.result[c]);continue}if(s.result[c].docType===e){l.push(s.result[c]);continue}}}for(let c=0;c<l.length;c++)n.uuids.push(l[c].uuid);n.isDuplicate=!!n.uuids.length}return n}var qr=(t=>(t.UNZIP="/pro-mgr/unzip",t.EXTRACT="/pro-mgr/unzip/extract",t.FLOW="/pro-mgr/unzip/flow",t.PARSE="/pro-mgr/unzip/parse",t.CHECK="/pro-mgr/unzip/check",t.GET_PROJECT_IN_CLOUD="/pro-mgr/getProjectInCloud",t.GET_PROJECT_IN_LOCAL="/pro-mgr/getProjectInLocal",t.GET_PROJECT_BY_IN_LOCAL="/pro-mgr/getProjectByInLocal",t.EXPORT_ZIP="/pro-mgr/export/zip",t.EXPORT_DOCUMENT="/pro-mgr/export/document",t.EXPORT_DEVICE="/pro-mgr/export/lib/device",t.EXPORT_SYMBOL="/pro-mgr/export/lib/symbol",t.EXPORT_FOOTPRIN="/pro-mgr/export/lib/footprint",t.EXPORT_PANEL_LIB="/pro-mgr/export/lib/panelLib",t.DOWNLOAD_PROJECT="/pro-mgr/export/download/project",t.DOWNLOAD_CBB="/pro-mgr/export/download/cbb",t.DOWNLOAD_DOCUMENT="/pro-mgr/export/download/document",t.BACKUP="/pro-mgr/backup",t.ARCHIVE="/pro-mgr/archive",t.LOAD_FILE="/pro-mgr/loadFile",t.CONVERT_PROJECT="/pro-mgr/convertProject/start",t.CONVERT_PROJECT_FLOWWIRTE="/pro-mgr/convertProject/flowWrite",t.CONVERT_PROJECT_FLOWREAD="/pro-mgr/convertProject/flowRead",t.IMPORT_NEW_PROJECT="/pro-mgr/importNewProject",t.PROJECT_AS_CLOUD="/pro-mgr/projectAsCloud",t.CBB_AS_CLOUD="/pro-mgr/cbbAsCloud",t.DOCUMENT_AS_CLOUD="/pro-mgr/documentAsCloud",t.COMPONENT_AS_CLOUD="/pro-mgr/componentAsCloud",t.IMPORT_TARGET_PROJECT="/pro-mgr/importTargetProject",t.UPDATE_BLOCK_SYMBOL_CONNECT="/pro-mgr/updateBlockSymbolConnect",t.IMPORT_SYMBOLS="/pro-mgr/importSymbols",t.IMPORT_FOOTPRINTS="/pro-mgr/importFootprints",t.IMPORT_DEVICES="/pro-mgr/importDevices",t.COPY_BOARD="/pro-mgr/copyBoards",t.COPY_SCHEMATIC="/pro-mgr/copySchematics",t.COPY_PAGE="/pro-mgr/copyPages",t.COPY_SIMULATION_CANVAS="/pro-mgr/copySimulationCanvas",t.COPY_SCH_CANVAS="/pro-mgr/copySchCanvas",t.COPY_PCB_CANVAS="/pro-mgr/copyPcbCanvas",t.COPY_PANEL_CANVAS="/pro-mgr/copyPanelCanvas",t.PASTE_BOARD="/pro-mgr/pasteBoards",t.PASTE_SCHEMATIC="/pro-mgr/pasteSchematics",t.PASTE_PAGE="/pro-mgr/pastePages",t.PASTE_SCH_TOP="/pro-mgr/pasteSchTop",t.PASTE_PCB="/pro-mgr/pastePcb",t.PASTE_PANEL="/pro-mgr/pastePanel",t.PASTE_SIMULATION="/pro-mgr/pasteSimulation",t.PASTE_SCH_BOTTOM="/pro-mgr/pasteSchBottom",t.BUILD_EXPORT="/pro-mgr/buildExport",t.BUILD_TARGET="/pro-mgr/buildTarget",t.PARSE_PROJECT="/pro-mgr/parseProject",t.COMPARE_LOCAL="/pro-mgr/compare/local",t.COMPARE_CLOUD="/pro-mgr/compare/cloud",t.COMPARE_DESTORY="/pro-mgr/compare/destory",t.UPDATE_REUSE_BLOCK="/pro-mgr/updateReuseBlock",t))(qr||{});function Ewe(t){return new Promise(e=>{let i=new FileReader;i.onload=function(o){var r,n=(r=o==null?void 0:o.target)==null?void 0:r.result;if(!n||typeof n!="string")throw new St("PARAMETER_VERIFICATION","missing file data.");e(n)},i.onerror=function(){throw new St("PARAMETER_VERIFICATION","missing file data.")},i.readAsText(t)})}function Jht(t,e){var i;let o=(i=e.match(/\.([^.]+)$/))==null?void 0:i[0];if(o===".epanl")return 29;if(o===".efoo")return 4;if(o===".esym"){let r=t.match(/"symbolType":[0-9]+/),n=r?Number(r[0].split(":")[1]):null;if(n)return n}throw new St("PARAMETER_VERIFICATION","missing file data.")}async function Kii(){let t=await new Promise(e=>{fetch("/api/client/config",{method:"GET"}).then(i=>{i.json().then(o=>{e(o)})})});if(t&&t.success&&t.result){let e=t.result,i=e.projectDir instanceof Array?e.projectDir:[e.projectDir];return{basePath:e.appBaseDir,cbbPath:e.reuseBlock,libPath:e.systemLib,projectPath:i,onlinePrjBackupPath:e.appOnlineBackupDir,appBaseDir:e.appBaseDir,autoCheckVersionUpdate:!!e.checkUpdate,activation:e.activation,appTmpBackupDir:e.appTmpBackupDir,cacheDir:e.cacheDir,proxy:e.proxy,log:e.log}}else return null}function m7e(t,e){let i=[],o=[];Ode?o=t:e&&e.length?o=e:o=t;let r=null;return o.forEach(n=>{n.uuid===_e.SYSTEMLIB_UUID?r={title:n.nickname,id:n.uuid,key:_e.LIB_SYSTEM_KEY}:i.push({title:n.nickname,id:n.uuid,key:_e.LIB_PERSONAL_KEY})}),r&&i.unshift(r),i}async function h7e(t,e){let i=m7e(t,e)||[],o=[],r=null;return i.forEach((n,a)=>{n.id===_e.SYSTEMLIB_UUID?r=a:o.push({title:n.title,id:n.id,key:n.key})}),(r||r===0)&&o.splice(0,0,{title:i[r].title,id:i[r].id,key:i[r].key}),o.splice(1,0,{title:"Project",id:"",key:_e.LIB_PROJECT_KEY}),[...o]}async function _or(t,e){let i=await Kii();if(!i)return await h7e(t,e);let o=m7e(t,e),r=Ft(o,"id",_e.SYSTEMLIB_UUID),n=[];r.index>=0&&n.splice(0,0,{...r.data});let{projectPath:a,cbbPath:s,libPath:l=[],onlinePrjBackupPath:c,autoCheckVersionUpdate:d}=i;return l.forEach(u=>{n.push({title:R$t(u),id:u,key:u})}),n.splice(1,0,{title:"Project",id:"",key:_e.LIB_PROJECT_KEY}),[...n]}function jor(t,e,i,o){let r=[],n=[],a={},s=[];return t.forEach(l=>{switch(l.titleAdditional=l.title,l.title){case"Project":{if(!o||!i||!i.uuid)return;l.id=i.uuid,s.push(i.uuid);break}default:}l.id||(l.id="@"+uwe(new Date().getTime())),typeof a[l.id]<"u"?(a[l.id]+=1,l.id=l.id+_e.LIB_SPLIT_TAG+a[l.id]):a[l.id]=0,e&&e.indexOf(l.id)>=0&&n.push(l.id),r.push(l)}),{treeData:r,projectsIds:s,selectedIds:n}}async function Zii(t,e){let i=m7e(t,e)||[],o=[],r=null;return i.forEach((n,a)=>{n.id===_e.SYSTEMLIB_UUID?r=a:o.push({title:n.title,id:n.id,key:n.key})}),(r||r===0)&&o.splice(0,0,{title:i[r].title,id:i[r].id,key:i[r].key}),o.splice(1,0,{title:"Project",id:"",key:_e.LIB_PROJECT_KEY}),[...o]}async function Bor(t,e){let i=await Kii();if(!i)return await h7e(t,e);let o=[],{projectPath:r,cbbPath:n,libPath:a=[],onlinePrjBackupPath:s,autoCheckVersionUpdate:l}=i;return a.forEach(c=>{o.push({title:R$t(c),id:c,key:c})}),o.splice(1,0,{title:"Project",id:"",key:_e.LIB_PROJECT_KEY}),[...o]}function zor(t,e,i,o){let r=[],n=[],a={},s=[];return t.forEach(l=>{switch(l.titleAdditional=l.title,l.title){case"Project":{if(!o||!i||!i.uuid)return;l.id=i.uuid,s.push(i.uuid);break}default:}l.id||(l.id="@"+uwe(new Date().getTime())),typeof a[l.id]<"u"?(a[l.id]+=1,l.id=l.id+_e.LIB_SPLIT_TAG+a[l.id]):a[l.id]=0,e&&e.indexOf(l.id)>=0&&n.push(l.id),r.push(l)}),{treeData:r,projectsIds:s,selectedIds:n}}function Jii(t,e){let i=[],o=[];return Ode?o=t:e&&e.length?o=e:o=t,o.forEach(r=>{i.push({title:r.nickname,id:r.uuid,key:_e.LIB_TEMAS_KEY})}),i}async function KNe(t,e){let i=Jii(t,e);return[{title:"System",id:_e.SYSTEMLIB_UUID,key:_e.LIB_SYSTEM_KEY},{title:"Project",id:"",key:_e.LIB_PROJECT_KEY},{title:"Personal",id:"",key:_e.LIB_PERSONAL_KEY},{title:"Favorite",id:_e.FAVORITELIB_UUID,key:_e.LIB_FAVORITE_KEY},...i]}function qii(t,e,i,o,r){let n=[],a=[],s={},l=[];return t.forEach(c=>{switch(c.title){case"Project":{if(!r||!o||!o.uuid)return;c.id=o.uuid,l.push(o.uuid);break}case"Personal":{if(!i||!i.uuid)return;c.id=i.uuid;break}case"Public":{c.id=_e.PUBLICLIB_ALIAS;break}default:}c.id||(c.id="@"+uwe(new Date().getTime())),typeof s[c.id]<"u"?(s[c.id]+=1,c.id=c.id+_e.LIB_SPLIT_TAG+s[c.id]):s[c.id]=0,e&&e.indexOf(c.id)>=0&&a.push(c.id),n.push(c)}),{treeData:n,projectsIds:l,selectedIds:a}}async function hht(t,e){return await KNe(t,e)}function For(t,e,i,o,r){return qii(t,e,i,o,r)}function Xii(t,e,i,o,r,n,a){if(!y9){let l=qii(t,i,o,r,typeof n<"u"?!!n:a);return bNe(l,e),yNe(l)}if(ANe){let l=For(t,i,o,r,typeof n<"u"?!!n:a);return bNe(l,e),yNe(l)}if(Nde){let l=jor(t,i,r,typeof n<"u"?!!n:a);return bNe(l,e),yNe(l)}let s=zor(t,i,r,typeof n<"u"?!!n:a);return bNe(s,e),yNe(s)}function bNe(t,e){let i=Ft(t.treeData,"key",_e.LIB_SYSTEM_KEY);i.index>=0&&t.treeData.splice(i.index,1);let o=Ft(t.treeData,"key",_e.LIB_PERSONAL_KEY);o.index>=0&&t.treeData.splice(o.index,1);let r=Ft(t.treeData,"key","project");r.index>=0&&t.treeData.splice(r.index,1);let n=Ft(t.treeData,"key",_e.LIB_FAVORITE_KEY);n.index>=0&&t.treeData.splice(n.index,1);let a=Ft(t.treeData,"key","selected");a.index>=0&&t.treeData.splice(a.index,1);let s=Ft(t.treeData,"key","oshwhub");s.index>=0&&t.treeData.splice(s.index,1),t.treeData.sort((l,c)=>(l.title||"").localeCompare(c.title||"")),n.index>=0&&t.treeData.unshift(n.data),r.index>=0&&t.treeData.unshift(r.data),e==="Personal"?Ode||o.index>=0&&t.treeData.unshift(o.data):t.selectedIds=t.selectedIds.filter(l=>{var c;return l!==((c=o==null?void 0:o.data)==null?void 0:c.id)}),s.index>=0&&t.treeData.unshift(s.data),i.index>=0&&t.treeData.unshift(i.data),a.index>=0&&t.treeData.push(a.data)}function yNe(t){return t.selectedIds.length?t.selectedIds:t.selectedIds.push(t.treeData[0].id),t}async function Uor(t,e,i,o,r,n,a,s,l=!0,c=!0,d=!0){let u={username:n.username,uuid:n.uuid},{projectId:p,title:m,isCBB:h}=r,f={uuid:p,title:m,isCBB:h},g=await qht(e,a,s,t,i,l),b=Xii(g,o,[],u,f,!l),y=[];for(let w=0;w<b.treeData.length;w++){let x=b.treeData[w];x.id===_e.SYSTEMLIB_UUID&&c||x.id===_e.FAVORITELIB_UUID&&d||(XNe||$Ne||x.key===_e.LIB_PERSONAL_KEY&&(x.title=x.titleAdditional=u.username),x.title&&y.push(x))}return y}var Hs=(t=>(t.Normal="Normal",t.D3Model="D3Model",t.AssociateDeviceDialog="associateDeviceDialog",t.Cbb="Cbb",t))(Hs||{}),XF=class{};XF.createInitLibList=qht,XF.createFixLibList=Uor,XF.filterInitLibList=Xii,XF.fetchTeamsLibsFromGVars=Jii,XF.fetchClientTeamsLibsFromGVars=m7e,XF.createSourceLibListByWebMode=KNe,XF.createSourceLibListByOnlineClientMode=hht,XF.createSourceLibListByOfflineClientMode=Zii,XF.createSourceLibListByHalfofflineClientMode=h7e;async function qht(t,e,i,o,r,n){let a=[];return t==="Normal"?y9?ANe?(a=await hht(e,i),n&&wNe(a),a):Nde?(a=await h7e(e,i),n&&wNe(a),a):(a=await Zii(e,i),n&&wNe(a),a):(a=await KNe(e,i),n&&wNe(a),a):t==="D3Model"?y9?ANe?(a=await hht(e,i),a):Nde?(a=await _or(e,i),a):(a=await Bor(e,i),a):(a=await KNe(e,i),a):[]}function wNe(t){let e=Ft(t,"key",_e.LIB_PROJECT_KEY);e.index>=0&&t.splice(e.index,1)}async function Wde(t,e,i,o,r,n){var a,s,l;if(e){if(o===q1.PANEL_LIB){let c=await A1t(),d=r?n7e(i,e,q1.PANEL_LIB):n1t(e,{[q1.PANEL_LIB]:i},c),u=n?Mde(n,d,{docType:q1.PANEL_LIB,uuid:i,client:i}):d,p=(a=await wo.messageBus.rpcCall(Ei.COMPONENT.SET_HISTORY,{path:t,uuid:i,dataStr:u}))==null?void 0:a.message;if(!(p!=null&&p.success)){let m=p.message||p.msg||"Request Error.";throw new St("CREATE_PANEL_LIB",m)}}if(o===q1.SYMBOL){let c=await A1t(),d=r?Eht(i,e,c).dataStr:n1t(e,{[q1.SYMBOL]:i},c),u=n?Mde(n,d,{docType:q1.SYMBOL,uuid:i,client:i}):d,p=(s=await wo.messageBus.rpcCall(Ei.COMPONENT.SET_HISTORY,{path:t,uuid:i,dataStr:u}))==null?void 0:s.message;if(!(p!=null&&p.success)){let m=p.message||p.msg||"Request Error.";throw new St("CREATE_SYMBOL_MIGRATE_CANVAS_ERROR",m)}}if(o===q1.FOOTPRINT){let c=await A1t(),d=r?Dht(i,e,!1,c):n1t(e,{[q1.FOOTPRINT]:i},c),u=n?Mde(n,d,{docType:q1.FOOTPRINT,uuid:i,client:i}):d,p=(l=await wo.messageBus.rpcCall(Ei.COMPONENT.SET_HISTORY,{path:t,uuid:i,dataStr:u}))==null?void 0:l.message;if(!(p!=null&&p.success)){let m=p.message||p.msg||"Request Error.";throw new St("CREATE_FOOTPRINT_MIGRATE_CANVAS_ERROR",m)}}}}function Vor(t,e,i,o,r,n){return new Promise(async(a,s)=>{var l;if(!t||!t.length)return a({});let c={titles:t,type:e,docType:i,sortBy:o,user_uuids:r,path:n};Oie&&(c.titles=t);let d;e==="device"?d=await Ze.getDeviceSearchList({titles:t,isProject:!1,path:n}):e==="symbol"?d=await Ze.getSymbolSearchList({titles:t,isProject:!1,path:n,docType:i}):e==="footprint"&&(d=await Ze.getFootprintSearchList({titles:t,isProject:!1,path:n}));let u={};for(let p of t)if(d[p]){let m=(l=d[p])==null?void 0:l[0];m&&(u[(m.title||m.display_title).toLocaleLowerCase()+i]=m)}a(u)})}function ZNe(t,e,i,o,r,n,a){return new Promise((s,l)=>{if(a=a||{},!t||!t.length)return s(t);let c=t.splice(0,100);Vor(c,e,i,o,r,n).then(d=>{typeof d=="string"?console.error(d):a=Object.assign(a,d)}).catch(d=>{console.error(d)}).finally(async()=>{await ZNe(t,e,i,o,r,n,a),s(a)})})}function Hor(t,e,i,o){return new Promise((r,n)=>{if(!t||!t.length)return r({});let a={titles:t,user_uuids:e,docType:i,path:o},s;i===28?Ze.getDeviceSearchList(a).then(l=>{l&&r(l),r({})}):i===16?Ze.getD3ModelSearchList(a).then(l=>{l&&r(l),r({})}):i===4?Ze.getFootprintSearchList(a).then(l=>{l&&r(l),r({})}):Ze.getSymbolSearchList(a).then(l=>{l&&r(l),r({})})})}function ENe(t,e,i,o,r){return new Promise((n,a)=>{if(!t||!t.length)return n(r);let s=t.splice(0,100);Hor(s,e,i,o).then(l=>{typeof l=="string"?console.error(l):r=Object.assign(r,l)}).catch(l=>{console.error(l)}).finally(async()=>{await ENe(t,e,i,o,r),n(r)})})}async function L$t(t,e,i){var o;let r={};try{if(!t.size)return r;if(!i)if(Oie&&e===16)i=(await qht(e===16?"D3Model":"associateDeviceDialog",[],void 0,void 0,void 0,!0)).map(n=>n.id).filter(n=>!!n);else{let n=(o=await wo.messageBus.rpcCall("ui/getBottomLibUuid"))==null?void 0:o.message;i=((n==null?void 0:n.other)||[]).filter(a=>a!=="recent")}if(!(i!=null&&i.length))return r;if(Ode||Nde){let n={},a=i.findIndex(l=>l===_e.SYSTEMLIB_UUID),s=a>-1?i.splice(a,1):[];s.length&&await ENe(Array.from(t),s,e,s[0],n),Object.assign(r,n),Object.keys(n).forEach(l=>{var c;return((c=n[l])==null?void 0:c.length)&&t.delete(l)}),t.size&&i.length&&await ENe(Array.from(t),i,e,i[0],r)}else await ENe(Array.from(t),i,e,i[0],r)}catch(n){console.error(n)}return r}async function Gor(t,e,i){var o,r,n,a,s,l,c,d,u,p;let m=t.data,h=(o=t==null?void 0:t.override)==null?void 0:o.footprint,f=m8(m.name),g=(r=t==null?void 0:t.override)==null?void 0:r.info;if(g&&!((a=(n=t==null?void 0:t.override)==null?void 0:n.uuids)!=null&&a.includes(f)))return{successResult:{}};let b=(l=(s=t==null?void 0:t.override)==null?void 0:s.footprints)==null?void 0:l.find(x=>x.uuid===f);if((c=t==null?void 0:t.override)!=null&&c.footprints&&!b)return{successResult:{}};let y=await Ewe(m),w={title:(b==null?void 0:b.title)||(h==null?void 0:h.title)||m.name.replace(/\.\w+$/,""),docType:4,description:(b==null?void 0:b.description)||((d=g==null?void 0:g.footprint)==null?void 0:d.description)||(h==null?void 0:h.description)||"",tags:(b==null?void 0:b.tags)||((u=g==null?void 0:g.footprint)==null?void 0:u.tags)||(h==null?void 0:h.tags)||[]};try{let x,S;if(i){let T={path:t.target.path,isProject:t.target.isProject,titles:[w.title],docType:w.docType},M=(p=(await Ze.getFootprintSearchList(T))[w.title])==null?void 0:p[0];if(M){let I=await Fw.getProLibSource({uuid:M.uuid,path:t.target.path,docType:w.docType,isProject:t.target.isProject});I.success&&I.result&&(S=I.result),x=await Ze.updateFootprint({footprint:{data:w},uuid:M.uuid,path:t.target.path,isProject:t.target.isProject})}else x=await Ze.createFootprint({footprint:{data:w},path:t.target.path,isProject:t.target.isProject})}else x=await Ze.createFootprint({footprint:{data:w},path:t.target.path,isProject:t.target.isProject});return await Wde(t.target.path,y,x.uuid,q1.FOOTPRINT,e,S),{successResult:{footprints:[x]}}}catch(x){return console.error(x),{successResult:{},failedResult:{footprints:[{title:w.title,uuid:f,message:x==null?void 0:x.message,action:x==null?void 0:x.action}]}}}}async function v$t(t,e){let i={title:t.title,description:t.description,tags:t.tags||[],docType:29,owner:e,path:e};Vht(i.title),i.tags&&i.tags.length&&(i.tags=(await sn.categoryAddtition.addActuator(i.tags,[0],e,29)).uuids);let o=await pn("POST",mn.COMPONENT.CREATE,JSON.stringify(i),{headers:{"Content-Type":"application/json",path:e}});if(o.code===0&&o.success&&o.result instanceof Object){let n=o.result;return{uuid:n.uuid,title:n.title,display_title:n.display_title,description:n.description,docType:n.docType,path:e,ticket:n.ticket,updateTime:n.updateTime,createTime:n.createTime,creator:n.creator,modifier:n.modifier,owner:n.owner,tags:n.tags}}let r=o.message||o.msg||"Request Error.";throw new St("CREATE_PANEL_LIB",r)}async function Yor(t,e,i){var o,r,n,a,s,l,c,d,u,p;let m=t.data,h=(o=t==null?void 0:t.override)==null?void 0:o.panelLib,f=m8(m.name),g=(r=t==null?void 0:t.override)==null?void 0:r.info;if(g&&!((a=(n=t==null?void 0:t.override)==null?void 0:n.uuids)!=null&&a.includes(f)))return{successResult:{}};let b=(l=(s=t==null?void 0:t.override)==null?void 0:s.panelLibs)==null?void 0:l.find(x=>x.uuid===f);if((c=t==null?void 0:t.override)!=null&&c.panelLibs&&!b)return{successResult:{}};let y=await Ewe(m),w={title:(b==null?void 0:b.title)||(h==null?void 0:h.title)||m.name.replace(/\.\w+$/,"")||m.name,description:(b==null?void 0:b.description)||((d=g==null?void 0:g.panelLib)==null?void 0:d.description)||(h==null?void 0:h.description)||"",tags:(b==null?void 0:b.tags)||((u=g==null?void 0:g.panelLib)==null?void 0:u.tags)||(h==null?void 0:h.tags)||[],docType:29};try{let x,S;if(i){let T={path:t.target.path,isProject:!1,titles:[w.title],docType:w.docType},M=(p=(await Ze.getPanelLibSearchList(T))[w.title])==null?void 0:p[0];if(M){let I=await Fw.getProLibSource({uuid:M.uuid,path:t.target.path,docType:w.docType,isProject:!1});I.success&&I.result&&(S=I.result),x=await Ze.updatePanelLib({panelLib:{data:w},uuid:M.uuid,path:t.target.path,isProject:!1})}else x=await v$t(w,t.target.path)}else x=await v$t(w,t.target.path);return await Wde(t.target.path,y,x.uuid,q1.PANEL_LIB,e,S),{successResult:{panelLibs:[x]}}}catch(x){return console.error(x),{successResult:{},failedResult:{panelLibs:[{title:w.title,uuid:f,message:x==null?void 0:x.message,action:x==null?void 0:x.action}]}}}}async function Wor(t,e,i){var o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y;let w=t.data,x=m8(w.name),S=(o=t==null?void 0:t.override)==null?void 0:o.symbol,T=(r=t==null?void 0:t.override)==null?void 0:r.info;if(T&&!((a=(n=t==null?void 0:t.override)==null?void 0:n.uuids)!=null&&a.includes(x)))return{successResult:{}};let M=(l=(s=t==null?void 0:t.override)==null?void 0:s.symbols)==null?void 0:l.find(N=>N.uuid===x);if((c=t==null?void 0:t.override)!=null&&c.symbols&&!M)return{successResult:{}};let I=await Ewe(w),A={title:(M==null?void 0:M.title)||(S==null?void 0:S.title)||w.name.replace(/\.\w+$/,""),docType:(M==null?void 0:M.docType)||(S==null?void 0:S.docType)||Jht(I,w.name),description:(M==null?void 0:M.description)||((d=T==null?void 0:T.symbol)==null?void 0:d.description)||(S==null?void 0:S.description)||"",tags:(M==null?void 0:M.tags)||((u=T==null?void 0:T.symbol)==null?void 0:u.tags)||(S==null?void 0:S.tags)||[]},D={successResult:{},failedResult:{sameNameSbMap:new Map}},E=!1;try{let N,R;if(i){let v={path:t.target.path,isProject:t.target.isProject,titles:[A.title],docType:A.docType},k=(p=(await Ze.getSymbolSearchList(v))[A.title])==null?void 0:p[0];if(k){let P=await Fw.getProLibSource({uuid:k.uuid,path:t.target.path,docType:A.docType,isProject:t.target.isProject});P.success&&P.result&&(R=P.result),N=await Ze.updateSymbol({symbol:{data:A},uuid:k.uuid,path:t.target.path,isProject:t.target.isProject})}else N=await Ze.createSymbol({symbol:{data:A},path:t.target.path,isProject:t.target.isProject})}else N=await Ze.createSymbol({symbol:{data:A},path:t.target.path,isProject:t.target.isProject});await Wde(t.target.path,I,N.uuid,q1.SYMBOL,e,R),D.successResult.symbols=[N]}catch(N){console.error(N),N.action==="SYMBOL_SAME_NAMA_EXISTS"&&(E=!0),D.failedResult.symbols=[{title:A.title,uuid:x,message:N==null?void 0:N.message,action:N==null?void 0:N.action}]}if(t.createDeviceBySymbol&&t.createDeviceBySymbol.includes(x))try{let N=((h=(m=D.successResult.symbols)==null?void 0:m[0])==null?void 0:h.uuid)||"";if(E){let v={};await ZNe([A.title],"symbol",A.docType,"mine",[t.target.path],t.target.path,v),N=((f=v[A.title.toLocaleLowerCase()+A.docType])==null?void 0:f.uuid)||""}let R=await Ze.createDevice({path:t.target.path,isProject:t.target.isProject,device:{data:{title:A.title,tags:((g=T==null?void 0:T.device)==null?void 0:g.tags)||[],description:((b=T==null?void 0:T.device)==null?void 0:b.description)||"",images:[],attributes:{Footprint:"",Symbol:N,Description:((y=T==null?void 0:T.device)==null?void 0:y.description)||""}}}});E&&N&&D.failedResult.sameNameSbMap.set(A.title,[A.title]),D.successResult.devices=[R]}catch(N){console.error(N),D.failedResult.devices=[{title:A.title,uuid:x,message:N==null?void 0:N.message,action:N==null?void 0:N.action}]}return D}var _1t=pwe(mwe()),Qor="utf-8",jie=class{constructor(t={}){var e,i;this.decoder=new TextDecoder((e=t.encoding)!=null?e:Qor),this.maxChunkSize=(i=t.maxChunkSize)!=null?i:52428800}write(t,e){if(!(!t||t.length===0))if(t.length>this.maxChunkSize)for(let i=0;i<t.length;i+=this.maxChunkSize){let o=Math.min(i+this.maxChunkSize,t.length),r=t.subarray(i,o),n=this.decoder.decode(r,{stream:!0});n&&e(n)}else{let i=this.decoder.decode(t,{stream:!0});i&&e(i)}}end(){return this.decoder.decode()||""}};async function Kor(t,e,i,o,r){var n;try{let a,s;if(r){let l={path:e,isProject:!1,titles:[t.title],docType:t.docType};if(a=(n=(await Ze.getPanelLibSearchList(l))[t.title])==null?void 0:n[0],a){let c=await Fw.getProLibSource({uuid:a.uuid,path:e,docType:t.docType,isProject:!1});c.success&&c.result&&(s=c.result)}}if(a){let{uuid:l}=a;a=await Ze.updatePanelLib({panelLib:{data:t},uuid:l,path:e,isProject:!1})}else a=await Ze.createPanelLib({panelLib:{data:t},path:e,isProject:!1});return await Wde(e,i,a.uuid,q1.PANEL_LIB,o,s),{success:!0,result:a}}catch(a){return console.error(a),{success:!1,result:t,message:a==null?void 0:a.message,action:a==null?void 0:a.action}}}async function Zor(t,e,i,o,r){var n;try{let a,s;if(r){let l={path:e,isProject:!1,titles:[t.title],docType:t.docType};if(a=(n=(await Ze.getSymbolSearchList(l))[t.title])==null?void 0:n[0],a){let c=await Fw.getProLibSource({uuid:a.uuid,path:e,docType:t.docType,isProject:!1});c.success&&c.result&&(s=c.result)}}if(a){let{uuid:l}=a;a=await Ze.updateSymbol({symbol:{data:t},uuid:l,path:e,isProject:!1})}else a=await Ze.createSymbol({symbol:{data:t},path:e,isProject:!1});return await Wde(e,i,a.uuid,q1.SYMBOL,o,s),{success:!0,result:a}}catch(a){return console.error(a),{success:!1,result:t,message:a==null?void 0:a.message,action:a==null?void 0:a.action}}}async function Jor(t,e,i,o,r){var n;try{let a,s;if(r){let l={path:e,isProject:!1,titles:[t.title],docType:t.docType};if(a=(n=(await Ze.getFootprintSearchList(l))[t.title])==null?void 0:n[0],a){let c=await Fw.getProLibSource({uuid:a.uuid,path:e,docType:t.docType,isProject:!1});c.success&&c.result&&(s=c.result)}}if(a){let{uuid:l}=a;a=await Ze.updateFootprint({footprint:{data:t},uuid:l,path:e,isProject:!1})}else a=await Ze.createFootprint({footprint:{data:t},path:e,isProject:!1});return await Wde(e,i,a.uuid,q1.FOOTPRINT,o,s),{success:!0,result:a}}catch(a){return console.error(a),{success:!1,result:t,message:a==null?void 0:a.message,action:a==null?void 0:a.action}}}async function D$t(t,e,i){var o;try{let r;if(i){let n={path:e,isProject:!1,titles:[t.title]};r=(o=(await Ze.getDeviceSearchList(n))[t.title])==null?void 0:o[0]}if(r){let{uuid:n,attributes:a}=r;t.attributes&&(t.attributes=Object.assign(a,t.attributes)),r=await Ze.updateDevice({device:{data:t},uuid:n,path:e,isProject:!1})}else r=await Ze.createDevice({device:{data:t},path:e,isProject:!1});return{success:!0,result:r}}catch(r){return console.error(r),{success:!1,result:t,message:r==null?void 0:r.message,action:r==null?void 0:r.action}}}async function $ii(t){var e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x;let{panelLibs:S,symbols:T,footprints:M,otherFootprints:I,otherSymbols:A,devices:D,dataStrMap:E,path:N,uuidMap:R,is2_0:v,ops:k,createDeviceBySymbols:P,publicInfo:O,overrideSameName:_}=t,j={successResult:{devices:[],symbols:[],footprints:[],panelLibs:[]},failedResult:{devices:[],symbols:[],footprints:[],panelLibs:[],sameNameFtMap:new Map,sameNameSbMap:new Map}},B=[],V=async()=>{await Promise.all(B),B.length=0},G=async()=>{B.length>=50&&await V()};for(let pe in S)R.get(pe)||(await G(),B.push(Kor(S[pe],N,E[pe],v).then(Z=>{var ee,ce,ne,oe,re;Z.success?((ee=j.successResult.panelLibs)==null||ee.push(Z.result),R.set(pe,(ce=Z==null?void 0:Z.result)==null?void 0:ce.uuid)):(re=(ne=j.failedResult)==null?void 0:ne.panelLibs)==null||re.push({title:(oe=Z==null?void 0:Z.result)==null?void 0:oe.title,uuid:pe,message:Z.message,action:Z.action})})));let Q=new Set,H=new Set;for(let pe in T){if(R.get(pe))continue;await G();let Z=`${T[pe].title+T[pe].docType}`.toLowerCase();if(H.has(Z)){Q.add(pe),(i=(e=j.failedResult)==null?void 0:e.symbols)==null||i.push({title:T[pe].title,uuid:pe,message:"",action:"SYMBOL_SAME_NAMA_EXISTS"});continue}H.add(Z),B.push(Zor(T[pe],N,E[pe],v,_).then(ee=>{var ce,ne;ee.success?((ce=j.successResult.symbols)==null||ce.push(ee.result),R.set(pe,(ne=ee==null?void 0:ee.result)==null?void 0:ne.uuid)):["SYMBOL_SAME_NAMA_EXISTS"].includes(ee.action)&&Q.add(pe)}))}let q=new Set;for(let pe in M){if(R.get(pe))continue;await G();let Z=`${M[pe].title+4}`.toLowerCase();if(H.has(Z)){q.add(pe),(r=(o=j.failedResult)==null?void 0:o.footprints)==null||r.push({title:M[pe].title,uuid:pe,message:"",action:"FOOTPRINT_SAME_NAMA_EXISTS"});continue}H.add(Z),B.push(Jor(M[pe],N,E[pe],v,_).then(ee=>{var ce,ne,oe,re,Y;ee.success?((ce=j.successResult.footprints)==null||ce.push(ee.result),R.set(pe,(ne=ee==null?void 0:ee.result)==null?void 0:ne.uuid)):(["FOOTPRINT_SAME_NAMA_EXISTS"].includes(ee.action)&&q.add(pe),(Y=(oe=j.failedResult)==null?void 0:oe.footprints)==null||Y.push({title:(re=ee==null?void 0:ee.result)==null?void 0:re.title,uuid:pe,message:ee.message,action:ee.action}))}))}await V();let U=new Map,F=(pe,Z)=>{var ee,ce,ne,oe;let re=U.get(pe.docType)||[];re.push(pe.title),U.set(pe.docType,re);let Y=((ce=(ee=j.failedResult)==null?void 0:ee.sameNameSbMap)==null?void 0:ce.get(pe.title))||[];Y.push(Z),(oe=(ne=j.failedResult)==null?void 0:ne.sameNameSbMap)==null||oe.set(pe.title,Y)},K={};for(let pe in D){if(R.get(pe))continue;let Z=D[pe];if(Q.has(Z.attributes.Symbol)?F(T[Z.attributes.Symbol],Z.title):Z.attributes.Symbol&&A[Z.attributes.Symbol]&&!R.get(Z.attributes.Symbol)&&F(A[Z.attributes.Symbol],Z.title),q.has(Z.attributes.Footprint)||Z.attributes.Footprint&&M[Z.attributes.Footprint]&&!R.get(Z.attributes.Footprint)){let ee=M[Z.attributes.Footprint]||I[Z.attributes.Footprint];K[ee.title]=ee.docType||4;let ce=((a=(n=j.failedResult)==null?void 0:n.sameNameFtMap)==null?void 0:a.get(ee.title))||[];ce.push(Z.title),(l=(s=j.failedResult)==null?void 0:s.sameNameFtMap)==null||l.set(ee.title,ce)}}if(P)for(let pe of P)Q.has(pe)?F(T[pe],(c=T[pe])==null?void 0:c.title):pe&&A[pe]&&!R.get(pe)&&F(A[pe],(d=A[pe])==null?void 0:d.title);let te={};for(let[pe,Z]of U)B.push(ZNe(Z.filter((ee,ce,ne)=>ne.indexOf(ee)===ce),"symbol",pe,"mine",[N],N,te));let ae={};B.push(ZNe(Object.keys(K),"footprint",4,"mine",[N],N,ae)),await V();for(let pe in D){if(R.get(pe))continue;let Z=D[pe];if(Q.has(Z.attributes.Symbol)){let ce=T[Z.attributes.Symbol];Z.attributes.Symbol=((u=te[ce.title.toLocaleLowerCase()+ce.docType])==null?void 0:u.uuid)||""}else if(R.get(Z.attributes.Symbol))Z.attributes.Symbol=R.get(Z.attributes.Symbol)||"";else if(A[Z.attributes.Symbol]){let ce=A[Z.attributes.Symbol];Z.attributes.Symbol=((p=te[ce.title.toLocaleLowerCase()+ce.docType])==null?void 0:p.uuid)||""}else Z.attributes.Symbol="";if(q.has(Z.attributes.Footprint)){let ce=M[Z.attributes.Footprint];Z.attributes.Footprint=((m=ae[ce.title.toLocaleLowerCase()+ce.docType])==null?void 0:m.uuid)||""}else if(R.get(Z.attributes.Footprint))Z.attributes.Footprint=R.get(Z.attributes.Footprint)||"";else if(k.templateMap&&R.get(k.templateMap[Z.attributes.Footprint]))Z.attributes.Footprint=R.get(k.templateMap[Z.attributes.Footprint])||"";else if(I[Z.attributes.Footprint]){let ce=I[Z.attributes.Footprint];Z.attributes.Footprint=((h=ae[ce.title.toLocaleLowerCase()+ce.docType])==null?void 0:h.uuid)||""}else Z.attributes.Footprint="";await G();let ee=`${D[pe].title+28}`.toLowerCase();if(H.has(ee)){(g=(f=j.failedResult)==null?void 0:f.devices)==null||g.push({title:D[pe].title,uuid:pe,message:"",action:"DEVICE_SAME_NAMA_EXISTS"});continue}H.add(ee),B.push(D$t(Z,N,_).then(ce=>{var ne,oe,re,Y,X;ce.success?((ne=j.successResult.devices)==null||ne.push(ce.result),R.set(pe,(oe=ce==null?void 0:ce.result)==null?void 0:oe.uuid)):(X=(re=j.failedResult)==null?void 0:re.devices)==null||X.push({title:(Y=ce==null?void 0:ce.result)==null?void 0:Y.title,uuid:pe,message:ce.message,action:ce.action})}))}if(P)for(let pe of P){let Z;if(Q.has(pe)?Z=te[T[pe].title.toLocaleLowerCase()+T[pe].docType]:R.get(pe)?Z=(b=j.successResult.symbols)==null?void 0:b.find(ce=>ce.uuid===R.get(pe)):A[pe]&&(Z=A[pe],te[Z.title.toLocaleLowerCase()+Z.docType]&&(Z=te[Z.title.toLocaleLowerCase()+Z.docType])),!Z)continue;let ee={title:(Z==null?void 0:Z.display_title)||(Z==null?void 0:Z.title)||"",description:((y=O==null?void 0:O.device)==null?void 0:y.description)||"",tags:((w=O==null?void 0:O.device)==null?void 0:w.tags)||[],images:[],attributes:{Footprint:"",Symbol:(Z==null?void 0:Z.uuid)||"",Description:((x=O==null?void 0:O.device)==null?void 0:x.description)||""}};await G(),B.push(D$t(ee,N,_).then(ce=>{var ne,oe,re,Y;ce.success?(ne=j.successResult.devices)==null||ne.push(ce.result):(Y=(oe=j.failedResult)==null?void 0:oe.devices)==null||Y.push({title:(re=ce==null?void 0:ce.result)==null?void 0:re.title,uuid:pe,message:ce.message,action:ce.action})}))}return await V(),j}async function qor(t,e){var i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w;let x=(i=await wo.messageBus.rpcCall("/pro-mgr/unzip",{file:t.data},36e5))==null?void 0:i.message;if(!(x!=null&&x.success))throw new St("PARAMETER_VERIFICATION",x.message||"missing file data.");let S=x.result,T=t.target.path,M={},I={},A={},D={},E={},N={},R={},v=[],k,P=[],O=[],_=[],j=[],B=t==null?void 0:t.override;B!=null&&B.uuids&&(v=B==null?void 0:B.uuids,v.push(""),k=B==null?void 0:B.info);let V=t==null?void 0:t.override;if(V!=null&&V.devices&&Array.isArray(V.devices)&&(P=V.devices||[],v.push(...P.map(Q=>Q.uuid))),V!=null&&V.symbols&&Array.isArray(V.symbols)&&(O=V.symbols||[],v.push(...O==null?void 0:O.map(Q=>Q.uuid))),V!=null&&V.footprints&&Array.isArray(V.footprints)&&(_=V.footprints||[],v.push(..._==null?void 0:_.map(Q=>Q.uuid))),V!=null&&V.panelLibs&&Array.isArray(V.panelLibs)&&(j=V.panelLibs||[],v.push(...j==null?void 0:j.map(Q=>Q.uuid))),S.devices)if(nK(S.devices)==="object"){let Q=Object.keys(S.devices),H=Q.length===1?t.override.device:void 0;for(let q=0;q<Q.length;q++){let U=S.devices[Q[q]];if(U&&(!v.length||v.includes(U.uuid))){let F=P.find(te=>te.uuid===U.uuid),K={title:(H==null?void 0:H.title)||(F==null?void 0:F.title)||U.display_title||U.title,description:(H==null?void 0:H.description)||((o=k==null?void 0:k.device)==null?void 0:o.description)||(F==null?void 0:F.description)||U.description,attributes:(H==null?void 0:H.attributes)||(F==null?void 0:F.attributes)||U.attributes,images:(H==null?void 0:H.images)||(F==null?void 0:F.images)||U.images,tags:(H==null?void 0:H.tags)||((r=k==null?void 0:k.device)==null?void 0:r.tags)||(F==null?void 0:F.tags)||await $1(U)};M[U.uuid]=K}}}else{let Q=S.devices.length===1?t.override.device:void 0;for(let H of S.devices)if(!v.length||v.includes(H.uuid)){let q=P.find(F=>F.uuid===H.uuid),U={title:(Q==null?void 0:Q.title)||(q==null?void 0:q.title)||H.display_title||H.title,description:(Q==null?void 0:Q.description)||((n=k==null?void 0:k.device)==null?void 0:n.description)||(q==null?void 0:q.description)||H.description,attributes:(Q==null?void 0:Q.attributes)||(q==null?void 0:q.attributes)||H.attributes,images:(Q==null?void 0:Q.images)||(q==null?void 0:q.images)||H.images,tags:(Q==null?void 0:Q.tags)||((a=k==null?void 0:k.device)==null?void 0:a.tags)||(q==null?void 0:q.tags)||await $1(H)};M[H.uuid]=U}}if(S.symbols)if(nK(S.symbols)==="object"){let Q=Object.keys(S.symbols),H=Q.length===1?t.override.symbol:void 0;for(let q=0;q<Q.length;q++){let U=S.symbols[Q[q]];if(U)if(!v.length||v.includes(U.uuid)){let F=O.find(te=>te.uuid===U.uuid),K={title:(H==null?void 0:H.title)||(F==null?void 0:F.title)||U.display_title||U.title,description:(H==null?void 0:H.description)||((s=k==null?void 0:k.symbol)==null?void 0:s.description)||(F==null?void 0:F.description)||U.description,tags:(H==null?void 0:H.tags)||((l=k==null?void 0:k.symbol)==null?void 0:l.tags)||(F==null?void 0:F.tags)||await $1(U),docType:(H==null?void 0:H.docType)||U.docType};I[U.uuid]=K,R[U.uuid]=U.dataStr}else D[U.uuid]={title:U.display_title||U.title,docType:U.docType}}}else{let Q=S.symbols.length===1?t.override.symbol:void 0;for(let H of S.symbols)if(!v.length||v.includes(H.uuid)){let q=O.find(F=>F.uuid===H.uuid),U={title:(Q==null?void 0:Q.title)||(q==null?void 0:q.title)||H.display_title||H.title,description:(Q==null?void 0:Q.description)||((c=k==null?void 0:k.symbol)==null?void 0:c.description)||(q==null?void 0:q.description)||H.description,tags:(Q==null?void 0:Q.tags)||((d=k==null?void 0:k.symbol)==null?void 0:d.tags)||(q==null?void 0:q.tags)||await $1(H),docType:(Q==null?void 0:Q.docType)||H.docType};I[H.uuid]=U,R[H.uuid]=H.dataStr}else D[H.uuid]={title:H.display_title||H.title,docType:H.docType}}if(S.footprints)if(nK(S.footprints)==="object"){let Q=Object.keys(S.footprints),H=Q.length===1?t.override.footprint:void 0;for(let q=0;q<Q.length;q++){let U=S.footprints[Q[q]];if(U)if(!v.length||v.includes(U.uuid)){let F=_.find(te=>te.uuid===U.uuid),K={title:(H==null?void 0:H.title)||(F==null?void 0:F.title)||U.display_title||U.title,description:(H==null?void 0:H.description)||((u=k==null?void 0:k.footprint)==null?void 0:u.description)||(F==null?void 0:F.description)||U.description,tags:(H==null?void 0:H.tags)||((p=k==null?void 0:k.footprint)==null?void 0:p.tags)||(F==null?void 0:F.tags)||await $1(U),docType:4};A[U.uuid]=K,R[U.uuid]=U.dataStr}else E[U.uuid]={title:U.display_title||U.title,docType:4}}}else{let Q=((m=S.footprints)==null?void 0:m.length)===1?t.override.footprint:void 0;for(let H of S.footprints)if(!v.length||v.includes(H.uuid)){let q=_.find(F=>F.uuid===H.uuid),U={title:(Q==null?void 0:Q.title)||(q==null?void 0:q.title)||H.display_title||H.title,description:(Q==null?void 0:Q.description)||((h=k==null?void 0:k.footprint)==null?void 0:h.description)||(q==null?void 0:q.description)||H.description,tags:(Q==null?void 0:Q.tags)||((f=k==null?void 0:k.footprint)==null?void 0:f.tags)||(q==null?void 0:q.tags)||await $1(H),docType:4};A[H.uuid]=U,R[H.uuid]=H.dataStr}else E[H.uuid]={title:H.display_title||H.title,docType:4}}let G=S["panel-lib"]||S.panelLibs;if(G)if(nK(G)==="object"){let Q=Object.keys(G),H=Q.length===1?t.override.panelLib:void 0;for(let q=0;q<Q.length;q++){let U=G[Q[q]];if(U&&(!v.length||v.includes(U.uuid))){let F=j.find(te=>te.uuid===U.uuid),K={title:(H==null?void 0:H.title)||(F==null?void 0:F.title)||U.display_title||U.title,description:(H==null?void 0:H.description)||((g=k==null?void 0:k.panelLib)==null?void 0:g.description)||(F==null?void 0:F.description)||U.description,tags:(H==null?void 0:H.tags)||((b=k==null?void 0:k.panelLib)==null?void 0:b.tags)||(F==null?void 0:F.tags)||await $1(U),docType:29};N[U.uuid]=K,R[U.uuid]=U.dataStr}}}else{let Q=G.length===1?t.override.panelLib:void 0;for(let H of G)if(!v.length||v.includes(H.uuid)){let q=j.find(F=>F.uuid===H.uuid),U={title:(Q==null?void 0:Q.title)||(q==null?void 0:q.title)||H.display_title||H.title,description:(Q==null?void 0:Q.description)||((y=k==null?void 0:k.panelLib)==null?void 0:y.description)||(q==null?void 0:q.description)||H.description,tags:(Q==null?void 0:Q.tags)||((w=k==null?void 0:k.panelLib)==null?void 0:w.tags)||(q==null?void 0:q.tags)||await $1(H),docType:29};N[H.uuid]=U,R[H.uuid]=H.dataStr}}return $ii({panelLibs:N,symbols:I,otherSymbols:D,footprints:A,otherFootprints:E,devices:M,dataStrMap:R,path:T,uuidMap:e,ops:t,createDeviceBySymbols:t.createDeviceBySymbol,publicInfo:k,is2_0:!0,overrideSameName:t.overrideSameName})}async function j1t(t,e,i,o){var r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M,I,A,D;let E=new _ie,N=E.flowParseFull();if(e.length<=32&&/^[a-zA-Z0-9]+$/.test(e)){let ae=[],pe=null;await(0,_1t.flowRead)(e,{update:Z=>{typeof Z!="string"?(pe||(pe=new jie),pe.write(Z,ee=>{t.stayChannel&&ae.push(ee),N.update(ee)})):Z&&(t.stayChannel&&ae.push(Z),N.update(Z))},end:()=>{let Z=pe?pe.end():"";Z&&(t.stayChannel&&ae.push(Z),N.update(Z)),N.end()}}),t.stayChannel&&ae.length&&(0,_1t.flowWrite)(e,async Z=>{for(let ee=0;ee<ae.length;++ee)await Z.write(ae[ee]),ae[ee]="";ae.length=0})}else N.update(e),N.end();let R=E.getProject();if(o){if(typeof o=="string"){let ce=[],ne=new jie;await(0,_1t.flowRead)(o,{update:oe=>{ne.write(oe,re=>{ce.push(re)})},end:()=>{let oe=ne.end();oe&&ce.push(oe)}}),o=JSON.parse(ce.join(""))}let{devices:ae,symbols:pe,footprints:Z,panelLibs:ee}=o;for(let ce in ae){let ne=ae[ce],oe=(r=R.devices)==null?void 0:r[ce];if(ne){let re=Object.assign((oe==null?void 0:oe.attributes)||{},ne.attributes);R.devices[ce]=Object.assign(oe||{},ne,{attributes:re}),ne.display_title&&(R.devices[ce].title=ne.display_title),R.devices[ce].tags=await $1(ne)}}for(let ce in pe){let ne=pe[ce],oe=(n=R.symbols)==null?void 0:n[ce];ne&&oe&&(R.symbols[ce]=Object.assign(oe,ne),ne.display_title&&(R.symbols[ce].title=ne.display_title),R.symbols[ce].tags=await $1(ne))}for(let ce in Z){let ne=Z[ce],oe=(a=R.footprints)==null?void 0:a[ce];ne&&oe&&(R.footprints[ce]=Object.assign(oe,ne),ne.display_title&&(R.footprints[ce].title=ne.display_title),R.footprints[ce].tags=await $1(ne))}for(let ce in ee){let ne=ee[ce],oe=(s=R.panelLibs)==null?void 0:s[ce];ne&&oe&&(R.panelLibs[ce]=Object.assign(oe,ne),ne.display_title&&(R.panelLibs[ce].title=ne.display_title),R.panelLibs[ce].tags=await $1(ne))}}let v=t.target.path,k={},P={},O={},_={},j={},B={},V={},G=[],Q,H=[],q=[],U=[],F=[],K=t==null?void 0:t.override;K!=null&&K.uuids&&(G=K==null?void 0:K.uuids,G.push(""),Q=K==null?void 0:K.info);let te=t==null?void 0:t.override;if(te!=null&&te.devices&&Array.isArray(te.devices)&&(H=te.devices||[],G.push(...H.map(ae=>ae.uuid))),te!=null&&te.symbols&&Array.isArray(te.symbols)&&(q=te.symbols||[],G.push(...q==null?void 0:q.map(ae=>ae.uuid))),te!=null&&te.footprints&&Array.isArray(te.footprints)&&(U=te.footprints||[],G.push(...U==null?void 0:U.map(ae=>ae.uuid))),te!=null&&te.panelLibs&&Array.isArray(te.panelLibs)&&(F=te.panelLibs||[],G.push(...F==null?void 0:F.map(ae=>ae.uuid))),!((l=t.filter)!=null&&l.device)&&R.devices){let ae=((c=Object.keys(R.devices))==null?void 0:c.length)===1?t.override.device:void 0;for(let pe in R.devices){let Z=R.devices[pe];if(!G.length||G.includes(Z.uuid)){let ee=H.find(ne=>ne.uuid===Z.uuid),ce={title:(ae==null?void 0:ae.title)||(ee==null?void 0:ee.title)||Z.title,description:(ae==null?void 0:ae.description)||((d=Q==null?void 0:Q.device)==null?void 0:d.description)||(ee==null?void 0:ee.description)||((u=Z==null?void 0:Z.attributes)==null?void 0:u.Description)||"",attributes:(ae==null?void 0:ae.attributes)||(ee==null?void 0:ee.attributes)||Z.attributes,images:(ae==null?void 0:ae.images)||(ee==null?void 0:ee.images)||Z.images,tags:(ae==null?void 0:ae.tags)||((p=Q==null?void 0:Q.device)==null?void 0:p.tags)||(ee==null?void 0:ee.tags)||Z.tags};k[Z.uuid]=ce}}}if(!((m=t.filter)!=null&&m.symbol)&&R.symbols){let ae=((h=Object.keys(R.symbols))==null?void 0:h.length)===1?t.override.symbol:void 0;for(let pe in R.symbols){let Z=R.symbols[pe];if(!G.length||G.includes(Z.uuid)){let ee=q.find(oe=>oe.uuid===Z.uuid),ce={title:(ae==null?void 0:ae.title)||(ee==null?void 0:ee.title)||Z.title,description:(ae==null?void 0:ae.description)||((f=Q==null?void 0:Q.symbol)==null?void 0:f.description)||(ee==null?void 0:ee.description)||Z.description,tags:(ae==null?void 0:ae.tags)||((g=Q==null?void 0:Q.symbol)==null?void 0:g.tags)||(ee==null?void 0:ee.tags)||Z.tags,docType:(ae==null?void 0:ae.docType)||Z.docType};P[Z.uuid]=ce;let ne=a1t(Z.canvas||"");if(ne.length){let oe=new nU,re=oe.head({doc:q1.BLOB,client:Sp(),updateTime:new Date().getTime()});for(let Y of ne){let X=(b=R==null?void 0:R.blobs)==null?void 0:b[Y];X&&(re=re+dS+oe.buildStr(1,Y,X))}Z.canvas&&(Z.canvas=re+dS+Z.canvas)}V[Z.uuid]=Z.canvas||""}else _[Z.uuid]={title:Z.title,docType:Z.docType}}}if(!((y=t.filter)!=null&&y.footprint)&&R.footprints){let ae=((w=Object.keys(R.footprints))==null?void 0:w.length)===1?t.override.footprint:void 0;for(let pe in R.footprints){let Z=R.footprints[pe];if(!G.length||G.includes(Z.uuid)){let ee=U.find(X=>X.uuid===Z.uuid),ce={title:(ae==null?void 0:ae.title)||(ee==null?void 0:ee.title)||Z.title,description:(ae==null?void 0:ae.description)||((x=Q==null?void 0:Q.footprint)==null?void 0:x.description)||(ee==null?void 0:ee.description)||Z.description,tags:(ae==null?void 0:ae.tags)||((S=Q==null?void 0:Q.footprint)==null?void 0:S.tags)||(ee==null?void 0:ee.tags)||Z.tags,docType:4};O[Z.uuid]=ce;let ne=Sp(),oe=new Date().getTime(),re=a1t(Z.canvas||""),Y=FJo(Z.canvas||"");if(re.length){let X=new nU,ie=X.head({doc:q1.BLOB,client:ne,updateTime:oe});for(let de of re){let fe=(T=R==null?void 0:R.blobs)==null?void 0:T[de];fe&&(ie=ie+dS+X.buildStr(1,de,fe))}Z.canvas&&(Z.canvas=ie+dS+Z.canvas)}if(Y.length){let X=new swe,ie=X.head({doc:q1.FONT,client:ne,updateTime:oe});for(let de of Y){let fe=Object.keys((R==null?void 0:R.fonts)||{}).find(ye=>ye===de);if(fe){let ye=R.fonts[fe];ie=ie+dS+X.buildStr(1,fe,ye)}}Z.canvas&&(Z.canvas=ie+dS+Z.canvas)}V[Z.uuid]=Z.canvas||""}else j[Z.uuid]={title:Z.title,docType:4}}}if(!((M=t.filter)!=null&&M.panelLib)&&R.panelLibs){let ae=Object.keys(R.panelLibs).length===1?t.override.panelLib:void 0;for(let pe in R.panelLibs){let Z=R.panelLibs[pe];if(!G.length||G.includes(Z.uuid)){let ee=F.find(oe=>oe.uuid===Z.uuid),ce={title:(ae==null?void 0:ae.title)||(ee==null?void 0:ee.title)||Z.display_title||Z.title,description:(ae==null?void 0:ae.description)||((I=Q==null?void 0:Q.panelLib)==null?void 0:I.description)||(ee==null?void 0:ee.description)||Z.description,tags:(ae==null?void 0:ae.tags)||((A=Q==null?void 0:Q.panelLib)==null?void 0:A.tags)||(ee==null?void 0:ee.tags)||Z.tags,docType:29};B[Z.uuid]=ce;let ne=a1t(Z.canvas||"");if(ne.length){let oe=new nU,re=oe.head({doc:q1.BLOB,client:Sp(),updateTime:new Date().getTime()});for(let Y of ne){let X=(D=R==null?void 0:R.blobs)==null?void 0:D[Y];X&&(re=re+dS+oe.buildStr(1,Y,X))}Z.canvas&&(Z.canvas=re+dS+Z.canvas)}V[Z.uuid]=Z.canvas||""}}}return $ii({panelLibs:B,symbols:P,otherSymbols:_,otherFootprints:j,footprints:O,devices:k,dataStrMap:V,path:v,uuidMap:i,publicInfo:Q,ops:t,createDeviceBySymbols:t.createDeviceBySymbol,overrideSameName:t.overrideSameName})}async function Xor(t){var e,i,o,r;switch(((e=t.data.name.match(/\.([^.]+)$/))==null?void 0:e[0])||""){case".zip":{let n=(i=await wo.messageBus.rpcCall("/pro-mgr/unzip/check",{file:t.data},36e5))==null?void 0:i.message;if(!(n!=null&&n.success))throw new St("PARAMETER_VERIFICATION",n.message||"missing file data.");return n.result==="project.json"||n.result==="project2.json"}case".epro":{let n=(o=await wo.messageBus.rpcCall("/pro-mgr/unzip/check",{file:t.data},36e5))==null?void 0:o.message;if(!(n!=null&&n.success))throw new St("PARAMETER_VERIFICATION",n.message||"missing file data.");return n.result==="project.json"}case".epro2":{let n=(r=await wo.messageBus.rpcCall("/pro-mgr/unzip/check",{file:t.data},36e5))==null?void 0:r.message;if(!(n!=null&&n.success))throw new St("PARAMETER_VERIFICATION",n.message||"missing file data.");return n.result==="project2.json"}}throw new St("PARAMETER_VERIFICATION","missing file data.")}async function $or(t){var e,i,o,r;switch(((e=t.data.name.match(/\.([^.]+)$/))==null?void 0:e[0])||""){case".zip":{let n=(i=await wo.messageBus.rpcCall("/pro-mgr/unzip/check",{file:t.data},36e5))==null?void 0:i.message;if(!(n!=null&&n.success))throw new St("PARAMETER_VERIFICATION",n.message||"missing file data.");return n.result==="device.json"||n.result==="symbol.json"||n.result==="footprint.json"||n.result==="panel-lib.json"||n.result==="device2.json"||n.result==="symbol2.json"||n.result==="footprint2.json"||n.result==="panel-lib2.json"}case".elibz":{let n=(o=await wo.messageBus.rpcCall("/pro-mgr/unzip/check",{file:t.data},36e5))==null?void 0:o.message;if(!(n!=null&&n.success))throw new St("PARAMETER_VERIFICATION",n.message||"missing file data.");return n.result==="device.json"||n.result==="symbol.json"||n.result==="footprint.json"||n.result==="panel-lib.json"}case".elibz2":{let n=(r=await wo.messageBus.rpcCall("/pro-mgr/unzip/check",{file:t.data},36e5))==null?void 0:r.message;if(!(n!=null&&n.success))throw new St("PARAMETER_VERIFICATION",n.message||"missing file data.");return n.result==="device2.json"||n.result==="symbol2.json"||n.result==="footprint2.json"||n.result==="panel-lib2.json"}}throw new St("PARAMETER_VERIFICATION","missing file data.")}async function Qde(t){var e,i,o;if((((i=(e=t==null?void 0:t.name)==null?void 0:e.match(/\.([^.]+)$/))==null?void 0:i[0])||"")!==".zip")throw new St("PARAMETER_VERIFICATION","missing file data.");let r=(o=await wo.messageBus.rpcCall("/pro-mgr/unzip/check",{file:t},36e5))==null?void 0:o.message;if(r!=null&&r.success&&r!=null&&r.result){let n=r.result;if(n==="project.json")return".epro";if(n==="device.json"||n==="symbol.json"||n==="footprint.json"||n==="panel-lib.json")return".elibz";if(n==="project2.json")return".epro2";if(n==="device2.json"||n==="symbol2.json"||n==="footprint2.json"||n==="panel-lib2.json")return".elibz2"}throw new St("PARAMETER_VERIFICATION",r.message||"missing file data.")}async function eoi(t,e=new Map){var i,o,r;if(typeof t.data=="string")return j1t(t,t.data,e);let n=((i=t.data.name.match(/\.([^.]+)$/))==null?void 0:i[0])||"";switch(n===".zip"&&(n=await Qde(t.data)),n){case".epanl":return Yor(t,!0,t.overrideSameName);case".esym":return Wor(t,!0,t.overrideSameName);case".efoo":return Gor(t,!0,t.overrideSameName);case".epro":case".elibz":return qor(t,e);case".epro2":{let a=(o=await wo.messageBus.rpcCall("/pro-mgr/unzip/flow",{file:t.data,ignore:["IMAGE"]},36e5))==null?void 0:o.message;if(!(a!=null&&a.success))throw new St("PARAMETER_VERIFICATION",a.message||"missing file data.");return j1t(t,a.result.dataStr,e)}case".elibz2":{let a=(r=await wo.messageBus.rpcCall("/pro-mgr/unzip/flow",{file:t.data},36e5))==null?void 0:r.message;if(!(a!=null&&a.success))throw new St("PARAMETER_VERIFICATION",a.message||"missing file data.");let{dataStr:s,config:l}=a.result;return j1t(t,s,e,l)}}throw new St("PARAMETER_VERIFICATION","missing file data.")}async function err(t){var e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x;let S={successResult:{devices:[],symbols:[],footprints:[],panelLibs:[]},failedResult:{devices:[],symbols:[],footprints:[],panelLibs:[],sameNameFtMap:new Map,sameNameSbMap:new Map}},T=new Map;for(let M of t.data)try{let I=await eoi({data:M,target:t.target,override:t.override,createDeviceBySymbol:t.createDeviceBySymbol},T);if(I.successResult){let A=I.successResult;A.devices&&((i=(e=S.successResult)==null?void 0:e.devices)==null||i.push(...A.devices)),A.symbols&&((r=(o=S.successResult)==null?void 0:o.symbols)==null||r.push(...A.symbols)),A.footprints&&((a=(n=S.successResult)==null?void 0:n.footprints)==null||a.push(...A.footprints)),A.panelLibs&&((l=(s=S.successResult)==null?void 0:s.panelLibs)==null||l.push(...A.panelLibs))}if(I.failedResult){let A=I.failedResult;if(A.devices&&((d=(c=S.failedResult)==null?void 0:c.devices)==null||d.push(...A.devices)),A.symbols&&((p=(u=S.failedResult)==null?void 0:u.symbols)==null||p.push(...A.symbols)),A.footprints&&((h=(m=S.failedResult)==null?void 0:m.footprints)==null||h.push(...A.footprints)),A.panelLibs&&((g=(f=S.failedResult)==null?void 0:f.panelLibs)==null||g.push(...A.panelLibs)),A.sameNameSbMap)for(let[D,E]of A.sameNameSbMap){let N=(y=(b=S.failedResult)==null?void 0:b.sameNameSbMap)==null?void 0:y.get(D);N?S.failedResult.sameNameSbMap.set(D,N.concat(E).filter((R,v,k)=>k.indexOf(R)===v)):S.failedResult.sameNameSbMap.set(D,E)}if(A.sameNameFtMap)for(let[D,E]of A.sameNameFtMap){let N=(x=(w=S.failedResult)==null?void 0:w.sameNameFtMap)==null?void 0:x.get(D);N?S.failedResult.sameNameFtMap.set(D,N.concat(E).filter((R,v,k)=>k.indexOf(R)===v)):S.failedResult.sameNameFtMap.set(D,E)}}}catch(I){console.error(I)}return S}var F3e=pwe(mwe());async function B1t(t,e){var i,o,r,n,a,s;let l={devices:[],symbols:[],footprints:[],panelLibs:[]};if(t.devices||e!=null&&e.devices)for(let c in t.devices){let d=t.devices[c],u=(i=e==null?void 0:e.devices)==null?void 0:i[c];if(u){let p=Object.assign(d.attributes,u.attributes);d=Object.assign(d,u,{attributes:p}),(o=e==null?void 0:e.devices)==null||delete o[c]}l.devices.push({uuid:c,title:(u==null?void 0:u.display_title)||d.title,description:d.attributes.Description||"",tags:await $1(u),attributes:d.attributes,images:d.images})}if(e!=null&&e.devices)for(let c in e==null?void 0:e.devices){let d=(r=e==null?void 0:e.devices)==null?void 0:r[c];l.devices.push({uuid:c,title:(d==null?void 0:d.display_title)||d.title,description:d.attributes.Description||d.description||"",tags:await $1(d),attributes:d.attributes,images:d.images})}if(t.symbols)for(let c in t.symbols){let d=t.symbols[c],u=(n=e==null?void 0:e.symbols)==null?void 0:n[c];u&&(d=Object.assign(d,u)),l.symbols.push({uuid:c,title:(u==null?void 0:u.display_title)||d.title,description:d.description,tags:await $1(u),docType:d.docType})}if(t.footprints)for(let c in t.footprints){let d=t.footprints[c],u=(a=e==null?void 0:e.footprints)==null?void 0:a[c];u&&(d=Object.assign(d,u)),l.footprints.push({uuid:c,title:(u==null?void 0:u.display_title)||d.title,description:d.description,tags:await $1(u),docType:4})}if(t.panelLibs)for(let c in t.panelLibs){let d=t.panelLibs[c],u=(s=e==null?void 0:e.panelLibs)==null?void 0:s[c];u&&(d=Object.assign(d,u)),l.panelLibs.push({uuid:c,title:(u==null?void 0:u.display_title)||d.title,description:d.description,tags:await $1(u),docType:29})}return l}async function trr(t){let e={devices:[],symbols:[],footprints:[],panelLibs:[]};if(t.devices)if(nK(t.devices)==="object"){let o=Object.keys(t.devices);for(let r=0;r<o.length;r++){let n=t.devices[o[r]];n&&e.devices.push({uuid:n.uuid,title:n.display_title||n.title,description:n.attributes.Description||"",tags:await $1(n),attributes:n.attributes,images:n.images})}}else for(let o of t.devices)e.devices.push({uuid:o.uuid,title:o.display_title||o.title,description:o.attributes.Description||"",tags:await $1(o),attributes:o.attributes,images:o.images});if(t.symbols)if(nK(t.symbols)==="object"){let o=Object.keys(t.symbols);for(let r=0;r<o.length;r++){let n=t.symbols[o[r]];n&&e.symbols.push({uuid:n.uuid,title:n.display_title||n.title,description:n.description,tags:await $1(n),docType:n.docType})}}else for(let o of t.symbols)e.symbols.push({uuid:o.uuid,title:o.display_title||o.title,description:o.description,tags:await $1(o),docType:o.docType});if(t.footprints)if(nK(t.footprints)==="object"){let o=Object.keys(t.footprints);for(let r=0;r<o.length;r++){let n=t.footprints[o[r]];n&&e.footprints.push({uuid:n.uuid,title:n.display_title||n.title,description:n.description,tags:await $1(n),docType:4})}}else for(let o of t.footprints)e.footprints.push({uuid:o.uuid,title:o.display_title||o.title,description:o.description,tags:await $1(o),docType:4});let i=t["panel-lib"]||t.panelLibs;if(i)if(nK(i)==="object"){let o=Object.keys(i);for(let r=0;r<o.length;r++){let n=i[o[r]];n&&e.panelLibs.push({uuid:n.uuid,title:n.display_title||n.title,description:n.description,tags:await $1(n),docType:29})}}else for(let o of i)e.panelLibs.push({uuid:o.uuid,title:o.display_title||o.title,description:o.description,tags:await $1(o),docType:29});return e}async function toi(t){var e,i,o,r;if(typeof t.data=="string"){let s=new _ie;s.setNotCanvas(!0);let l=s.flowParseFull();if(t.data.length<=32&&/^[a-zA-Z0-9]+$/.test(t.data)){let d=[],u=p=>{l.update(p),d.push(p)};await(0,F3e.flowRead)(t.data,{update:u,end:l.end}),d.length&&(0,F3e.flowWrite)(t.data,async p=>{for(let m=0;m<d.length;++m)await p.write(d[m]),d[m]="";d.length=0})}else l.update(t.data),l.end();let c=s.getProject();return B1t(c)}let n=t.data,a=((e=n.name.match(/\.([^.]+)$/))==null?void 0:e[0])||"";switch(a===".zip"&&(a=await Qde(t.data)),a){case".epanl":{let s={devices:[],symbols:[],footprints:[],panelLibs:[]};return s.panelLibs.push({uuid:m8(n.name),title:n.name.replace(/\.\w+$/,""),description:"",tags:[],docType:29}),s}case".esym":{let s={devices:[],symbols:[],footprints:[],panelLibs:[]},l=await Ewe(n),c=Jht(l,n.name);return s.symbols.push({uuid:m8(n.name),title:n.name.replace(/\.\w+$/,""),description:"",tags:[],docType:c}),s}case".efoo":{let s={devices:[],symbols:[],footprints:[],panelLibs:[]};return s.footprints.push({uuid:m8(n.name),title:n.name.replace(/\.\w+$/,""),description:"",tags:[],docType:4}),s}case".epro":case".elibz":{let s=(i=await wo.messageBus.rpcCall("/pro-mgr/unzip",{file:t.data},36e5))==null?void 0:i.message;if(!(s!=null&&s.success))throw new St("PARAMETER_VERIFICATION",s.message||"missing file data.");return trr(s.result)}case".epro2":{let s=(o=await wo.messageBus.rpcCall("/pro-mgr/unzip/flow",{file:t.data,ignore:["IMAGE"]},36e5))==null?void 0:o.message;if(!(s!=null&&s.success))throw new St("PARAMETER_VERIFICATION",s.message||"missing file data.");let{dataStr:l}=s.result,c=new _ie;c.setNotCanvas(!0);let d=c.flowParseFull(),u=new jie;await(0,F3e.flowRead)(l,{update:m=>{u.write(m,h=>{h&&d.update(h)})},end:()=>{let m=u.end();m&&d.update(m),d.end()}});let p=c.getProject();return B1t(p)}case".elibz2":{let s=(r=await wo.messageBus.rpcCall("/pro-mgr/unzip/flow",{file:t.data},36e5))==null?void 0:r.message;if(!(s!=null&&s.success))throw new St("PARAMETER_VERIFICATION",s.message||"missing file data.");let{dataStr:l,config:c}=s.result,d=new _ie;d.setNotCanvas(!0);let u=d.flowParseFull(),p=new jie;await(0,F3e.flowRead)(l,{update:g=>{p.write(g,b=>{b&&u.update(b)})},end:()=>{let g=p.end();g&&u.update(g),u.end()}});let m=d.getProject();console.warn("\u5E93\u89E3\u538B-----------data",m);let h="",f=new jie;return await(0,F3e.flowRead)(c,{update:g=>{f.write(g,b=>{b&&(h+=b)})},end:()=>{let g=f.end();g&&(h+=g)}}),console.warn("\u5E93\u89E3\u538B-----------config",h),B1t(m,JSON.parse(h))}}throw new St("PARAMETER_VERIFICATION","missing file data.")}async function irr(t){var e,i,o,r;let n={devices:new Map,footprints:new Map,symbols:new Map,panelLibs:new Map};for(let a of t.data){let s=await toi({data:a});if((e=s==null?void 0:s.devices)!=null&&e.length)for(let l of s.devices)n.devices.set(l.uuid,l);if((i=s==null?void 0:s.footprints)!=null&&i.length)for(let l of s.footprints)n.footprints.set(l.uuid,l);if((o=s==null?void 0:s.symbols)!=null&&o.length)for(let l of s.symbols)n.symbols.set(l.uuid,l);if((r=s==null?void 0:s.panelLibs)!=null&&r.length)for(let l of s.panelLibs)n.panelLibs.set(l.uuid,l)}return{devices:Array.from(n.devices.values()),footprints:Array.from(n.footprints.values()),symbols:Array.from(n.symbols.values()),panelLibs:Array.from(n.panelLibs.values())}}async function orr(t){var e,i,o;let r=((e=t.data.name.match(/\.([^.]+)$/))==null?void 0:e[0])||"";switch(r===".zip"&&(r=await Qde(t.data)),r){case".epro":{let n=(i=await wo.messageBus.rpcCall("/pro-mgr/unzip/extract",{file:t.data},36e5))==null?void 0:i.message;if(!(n!=null&&n.success))throw new St("PARAMETER_VERIFICATION",n.message||"missing file data.");return{title:n.result.title,cbbProject:!!n.result.cbbProject,editorVersion:n.result.editorVersion}}case".epro2":{let n=(o=await wo.messageBus.rpcCall("/pro-mgr/unzip/extract",{file:t.data},36e5))==null?void 0:o.message;if(!(n!=null&&n.success))throw new St("PARAMETER_VERIFICATION",n.message||"missing file data.");return{title:n.result.title,cbbProject:!!n.result.cbbProject,editorVersion:n.result.editorVersion,introduction:n.result.introduction,description:n.result.description,tags:n.result.tags}}}throw new St("PARAMETER_VERIFICATION","missing file data.")}async function rrr(t){var e,i,o,r,n,a,s,l,c;let{needDlg:d=!0,autoOpen:u=!1}=t,p;if(t.isCbb&&t.cbbTags){p=[];let y=await pK({categories:[{parentName:t.cbbTags[0],childName:t.cbbTags[1]}],type:[1],uuid:t.targetPath}),w=y.allParentCreated[0]?y.allParentCreated[0].uuid:void 0,x=y.allChildCreated[0]?y.allChildCreated[0].uuid:void 0;w&&(p[0]=w),x&&(p[1]=x)}let m={owner:{uuid:t.targetPath,username:"",nickname:""},name:t.title,cbb_project:t.isCbb||!1,introduction:t.introduction,description:t.description,editorVersion:t.editorVersion,ownerSelectId:t.folder,project_path:t.projectLink,path:t.targetPath,mode:t.mode,tags:p};if(typeof t.data=="string"){let y={info:m,datas:{dataStr:t.data,images:t.images},options:{needDlg:d,autoOpen:u,needTip:t.needTip}},w=(e=await wo.messageBus.rpcCall("/pro-mgr/importNewProject",y,36e5))==null?void 0:e.message;if(!(w!=null&&w.success)){let x=w.message||w.msg||"Request Error.";throw new St("CREATE_PROJECT",x)}return((i=w==null?void 0:w.result)==null?void 0:i.project)||w.result}if(!t.data)throw new St("PARAMETER_VERIFICATION","missing file data.");let h=((n=(r=(o=t==null?void 0:t.data)==null?void 0:o.name)==null?void 0:r.match(/\.([^.]+)$/))==null?void 0:n[0])||"";if(![".zip",".epro",".epro2"].includes(h))throw new St("PARAMETER_VERIFICATION","missing file data.");h===".zip"&&(h=await Qde(t.data));let f;if([".epro"].includes(h)?f=(a=await wo.messageBus.rpcCall("/pro-mgr/unzip",{file:t.data},36e5))==null?void 0:a.message:[".epro2"].includes(h)&&(f=(s=await wo.messageBus.rpcCall("/pro-mgr/unzip/flow",{file:t.data},36e5))==null?void 0:s.message),!(f!=null&&f.success))throw new St("PARAMETER_VERIFICATION",f.message||"missing file data.");let g={info:m,datas:f.result,options:{needDlg:d,autoOpen:u,progressId:t.progressId,needTip:t.needTip}},b=(l=await wo.messageBus.rpcCall("/pro-mgr/importNewProject",g,36e5))==null?void 0:l.message;if(!(b!=null&&b.success)){let y=b.message||b.msg||"Request Error.";throw new St("CREATE_PROJECT",y)}return((c=b==null?void 0:b.result)==null?void 0:c.project)||b.result}async function nrr(t){var e,i,o,r,n,a,s;if(!t.data)throw new St("PARAMETER_VERIFICATION","missing file data.");let l=null;if(typeof t.data=="string"){let d={config:{},dataStr:t.data,images:t.images};l={uuid:t.targetPath,datas:d,byUUID:!1,needTip:t.needTip,autoBindFt:t.autoBindFt}}let c=((o=(i=(e=t==null?void 0:t.data)==null?void 0:e.name)==null?void 0:i.match(/\.([^.]+)$/))==null?void 0:o[0])||"";if(c===".zip"&&(c=await Qde(t.data)),c===".epro"){let d=(r=await wo.messageBus.rpcCall("/pro-mgr/unzip",{file:t.data},36e5))==null?void 0:r.message;if(!(d!=null&&d.success))throw new St("PARAMETER_VERIFICATION",d.message||"missing file data.");l={uuid:t.targetPath,datas:d.result,byUUID:!1,needTip:t.needTip,autoBindFt:t.autoBindFt}}else if(c===".epro2"){let d=(n=await wo.messageBus.rpcCall("/pro-mgr/unzip/flow",{file:t.data,ignore:["IMAGE"]},36e5))==null?void 0:n.message;if(!(d!=null&&d.success))throw new St("PARAMETER_VERIFICATION",d.message||"missing file data.");l={uuid:t.targetPath,datas:d.result.dataStr,byUUID:!1,needTip:t.needTip,autoBindFt:t.autoBindFt}}if(l){let d=(a=await wo.messageBus.rpcCall("openProject",[t.targetPath],36e5))==null?void 0:a.message;if(!(d!=null&&d.success))throw new St("PARAMETER_VERIFICATION","project is not open!");let{message:u}=await wo.messageBus.rpcCall("/pro-ui/judgePermission",{projectId:t.targetPath,type:"project_locked",showErrorMsg:!1});if(!u.hasPermission){let h="Import failed, the project is locked.";throw new St("PROJECT_DOCUMENT_LOCKED",h)}let{message:p}=await wo.messageBus.rpcCall("/pro-ui/judgePermission",{projectId:t.targetPath,type:"project_document_update",showErrorMsg:!1});if(!p.hasPermission){let h="Import failed, no project edit permission.";throw new St("PROJECT_DOCUMENT_UPDATE_REJECT",h)}let m=(s=await wo.messageBus.rpcCall("/pro-mgr/importTargetProject",l,36e5))==null?void 0:s.message;if(!m.success){let h=m.message||m.msg||"Request Error.";throw new St("IMPORT_EXIST_PROJECT",h)}return m.result}throw new St("PARAMETER_VERIFICATION","missing file data.")}var z1t=pwe(mwe()),arr=class{constructor(t,e,i,o,r){this.originStr=r,this.auto_associate_footprint=!0,this.auto_associate_3dModel=!0,this.deviceFtUuid=new Set,this.device3dUuid=new Set,this.ft3dUuid=new Set,this.syhComponentUuid={},this.pcbComponentUuid={},this.uploadData={sheets:{},pcbs:{},devices:{},footprints:{}},this.uploadSchComponents={},this.uploadPcbComponents={},this.uploadFtAttrs={},this.alreadyAddFt={},this.auto_associate_footprint=t,this.auto_associate_3dModel=e,this.isPro=o,this.projectParse=i}get project(){return this.projectParse.project}get schComponents(){return this.projectParse.schComponents}get pcbComponents(){return this.projectParse.pcbComponents}async handle(t){var e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y;let w=new Set,x=new Set;if(this.auto_associate_footprint||this.auto_associate_3dModel){for(let v in this.project.devices){let k=this.project.devices[v],P=k.attributes[ys.Footprint],O=k.attributes[ys.OriginFootprint];if(this.collectFtName(P,O,w)&&this.deviceFtUuid.add(v),this.auto_associate_3dModel&&this.checkModify3DModel(k.attributes[ys.ModelID])){let _=P?((e=this.project.footprints[P])==null?void 0:e.title)||"":O;this.collect3DName(k.attributes[ys.OriginModelName],x),this.collect3DName(k.attributes[ys.ModelName],x),this.collect3DName(_,x),this.collect3DName(k.title,x),this.device3dUuid.add(v)}}if(this.auto_associate_footprint&&!this.isPro)for(let v in this.schComponents){let k=this.schComponents[v];for(let[P,O]of k){if(!O.component.data)continue;let _=this.getAttrValue(O.attr,ys.Footprint),j=this.getAttrValue(O.attr,ys.OriginFootprint);this.collectFtName(_,j,w)&&(this.syhComponentUuid[v]||(this.syhComponentUuid[v]=new Set),this.syhComponentUuid[v].add(P))}}if(this.auto_associate_3dModel){for(let v in this.pcbComponents){let k=this.pcbComponents[v];for(let[P,O]of k){if(!O.component.data)continue;let _=O.component.data.attrs;if(_[ys.ModelID]&&this.checkModify3DModel(_[ys.ModelID])){this.collect3DName(_[ys.ModelName],x),this.collect3DName(_[ys.OriginModelName],x);let j=this.getAttrValue(O.attr,ys.Footprint);j&&this.project.footprints[j]&&this.collect3DName(this.project.footprints[j].title,x);let B=this.getAttrValue(O.attr,ys.Device);B&&this.project.devices[B]&&this.collect3DName(this.project.devices[B].title,x),this.pcbComponentUuid[v]||(this.pcbComponentUuid[v]=new Set),this.pcbComponentUuid[v].add(P)}}}for(let v in this.project.footprints){if((i=this.projectParse.footprintAttr)!=null&&i[v]){let P=(o=this.projectParse.footprintAttr)==null?void 0:o[v],O=this.getAttrValue(P,ys.ModelID);if(!this.checkModify3DModel(O))continue;let _=this.getAttrValue(P,ys.OriginModelName);this.collect3DName(_,x)}let k=this.project.footprints[v].title;this.collect3DName(k,x),this.ft3dUuid.add(v)}}}let S=[],T=w.size?await L$t(w,4,t==null?void 0:t.footprint):null,M=x.size?await L$t(x,16,t==null?void 0:t.d3Model):null,I=(r=await wo.messageBus.rpcCall("userInfo",""))==null?void 0:r.message,A={uuid:I.uuid,nickname:I.nickname,username:I.username},D=new Date().getTime(),E=v=>{let k=this.project.devices[v];!k.attributes[ys.ModelID]&&k.attributes[ys.ModelTransform]&&(delete k.attributes[ys.ModelTransform],this.uploadData.devices[v]=k)};for(let v in this.project.devices)if(this.device3dUuid.has(v)){let k=this.project.devices[v],P=k.attributes[ys.Footprint],O=P||k.attributes[ys.OriginFootprint],_=P?((n=this.project.footprints[P])==null?void 0:n.title)||"":O,j=this.replace3dModel(M,k.attributes[ys.ModelID],k.attributes[ys.OriginModelName]||k.attributes[ys.ModelName],_,k.title);j!=null&&j.modelId?(k.attributes[ys.ModelID]=j.modelId,k.attributes[ys.ModelName]=j.modelName,this.uploadData.devices[v]=k):E(v)}else E(v);let N=v=>{var k;let P=(k=this.projectParse.footprintAttr)==null?void 0:k[v],O=this.getAttrValue(P,ys.ModelID),_=Object.keys(P).find(j=>P[j].data.key===ys.ModelTransform);!O&&_&&(this.uploadFtAttrs[v]||(this.uploadFtAttrs[v]={}),this.uploadData.footprints[v]=this.project.footprints[v],P[_].data.value="",this.uploadFtAttrs[v][_]={ticket:P[_].ticket+1,data:null})};for(let v in this.project.footprints)if(this.ft3dUuid.has(v)){let k=((a=this.project.footprints[v])==null?void 0:a.title)||"",P="",O="";if((s=this.projectParse.footprintAttr)!=null&&s[v]){let j=(l=this.projectParse.footprintAttr)==null?void 0:l[v];P=this.getAttrValue(j,ys.ModelID),O=this.getAttrValue(j,ys.OriginModelName)}let _=this.replace3dModel(M,P,O,k);if(_!=null&&_.modelId){this.uploadData.footprints[v]=this.project.footprints[v];let j=!0,B=!0;if(this.uploadFtAttrs[v]||(this.uploadFtAttrs[v]={}),(c=this.projectParse.footprintAttr)!=null&&c[v]){let V=(d=this.projectParse.footprintAttr)==null?void 0:d[v];for(let G in V){let Q=V[G].data;Q.key===ys.ModelName&&(B?(Q.value=_.modelName,this.uploadFtAttrs[v][G]={ticket:V[G].ticket+1,data:Q},B=!1):this.uploadFtAttrs[v][G]={ticket:V[G].ticket+1,data:null}),Q.key===ys.ModelID&&(Q.value=_.modelId,this.uploadFtAttrs[v][G]={ticket:V[G].ticket+1,data:Q},j=!1)}}if(B){let V=this.getDefaultAttr();V.key=ys.ModelName,V.value=_.modelName,this.uploadFtAttrs[v][Sp()]={ticket:++this.projectParse.maxTicket,data:V}}if(j){let V=this.getDefaultAttr();V.key=ys.ModelID,V.value=_.modelId,this.uploadFtAttrs[v][Sp()]={ticket:++this.projectParse.maxTicket,data:V}}}else(u=this.projectParse.footprintAttr)!=null&&u[v]&&N(v)}else(p=this.projectParse.footprintAttr)!=null&&p[v]&&N(v);for(let v in this.pcbComponentUuid){let k=this.pcbComponentUuid[v];for(let P of k){let O=this.pcbComponents[v].get(P);if(!O.component.data)continue;let _=this.getAttrValue(O.attr,ys.Footprint),j=((m=this.project.footprints[_])==null?void 0:m.title)||"",B=this.getAttrValue(O.attr,ys.Device),V=((h=this.project.devices[B])==null?void 0:h.title)||"",G=this.replace3dModel(M,O.component.data.attrs[ys.ModelID],O.component.data.attrs[ys.OriginModelName]||O.component.data.attrs[ys.ModelName],j,V);if(G!=null&&G.modelId){O.component.data.attrs[ys.ModelID]=G.modelId,O.component.data.attrs[ys.ModelName]=G.modelName,this.uploadPcbComponents[v]||(this.uploadPcbComponents[v]=new Map),this.uploadPcbComponents[v].has(P)||this.uploadPcbComponents[v].set(P,{component:{ticket:O.component.ticket+1,data:O.component.data},attr:{}});for(let Q in O.attr){let H=O.attr[Q].data;if(H.key===ys.ModelName){H.value=G.modelName;let q=this.uploadPcbComponents[v].get(P);q.attr[Q]=O.attr[Q],q.attr[Q].ticket=q.attr[Q].ticket+1}}this.uploadData.pcbs[v]=this.project.pcbs[v]}else O.component.data.attrs[ys.ModelTransform]&&(delete O.component.data.attrs[ys.ModelTransform],this.uploadPcbComponents[v]||(this.uploadPcbComponents[v]=new Map),this.uploadPcbComponents[v].has(P)||this.uploadPcbComponents[v].set(P,{component:{ticket:O.component.ticket+1,data:O.component.data},attr:{}}),this.uploadData.pcbs[v]=this.project.pcbs[v])}}for(let v in this.schComponents){let k=this.schComponents[v];for(let[P,O]of k){if(!O.component.data)continue;let _=this.getAttrValue(O.attr,ys.Footprint),j=Object.keys(O.attr).find(V=>O.attr[V].data.key===ys.OriginFootprint),B=(g=(f=O.attr[j])==null?void 0:f.data)==null?void 0:g.value;(y=(b=this.syhComponentUuid[v])==null?void 0:b.has)!=null&&y.call(b,P)&&(S.length===100&&(await Promise.all(S),S.length=0),S.push(this.addFootprint(T,_||B,A,D,V=>{let G,Q,H;for(let U in O.attr){let F=O.attr[U].data;F.key===ys.OriginFootprint&&!G?(G=F,F.key=ys.Footprint,F.value=V,Q=O.attr[U].ticket+1):F.key===ys.Footprint&&(G=F,F.key=ys.Footprint,F.value=V,H=U,Q=O.attr[U].ticket+1)}H||(H=Sp()),this.uploadSchComponents[v]||(this.uploadSchComponents[v]=new Map),this.uploadSchComponents[v].has(P)||this.uploadSchComponents[v].set(P,{component:{ticket:0,data:null},attr:{}});let q=this.uploadSchComponents[v].get(P);q.attr[H]={ticket:Q,data:G},this.uploadData.sheets[v]=this.project.sheets[v]})))}}for(let v in this.project.devices)if(this.deviceFtUuid.has(v)){let k=this.project.devices[v],P=k.attributes[ys.Footprint]||k.attributes[ys.OriginFootprint];S.length===100&&(await Promise.all(S),S.length=0),S.push(this.addFootprint(T,P,A,D,O=>{k.attributes.Footprint=O,this.uploadData.devices[k.uuid]=k}))}await Promise.all(S),S.length=0;let R=Sp();return der(R,this.uploadData,this.uploadSchComponents,this.uploadPcbComponents,this.originStr,void 0,this.projectParse.maxTicket,this.uploadFtAttrs),R}getDefaultAttr(){return{groupId:"",parentId:"",layerId:3,x:null,y:null,key:"",value:"",keyVisible:!1,valueVisible:!1,fontFamily:"default",fontSize:45,strokeWidth:6,bold:!1,italic:!1,origin:eei.LEFT_BOTTOM,angle:0,reverse:!1,expansion:0,mirror:!1,locked:!1,zIndex:-1,specialColor:"#000000"}}replace3dModel(t,e,i,o,r=""){let n=this.checkModify3DModel(e);if(!n)return;let a;for(let s of[i,o,r])if(s){let l=s.replace(/^.+?[\/\\]([^\/\\]+?)(\.[^\.\/\\]*?)?$/gi,"$1");if(t[l]&&t[l].length){a=t[l];break}}if(a&&a.length){let s="",l="";switch(n){case 1:s=Oie?`${a[0].fileName}|${a[0].path}`:a[0].path?`${a[0].uuid}|${a[0].path}`:a[0].uuid,l=Oie?`${a[0].path}\\${a[0].fileName}`:a[0].display_title;break;case 2:s=`${a[0].fileName}|${a[0].path}`,l=`${a[0].path}\\${a[0].fileName}`;break;case 3:s=a[0].path?`${a[0].uuid}|${a[0].path}`:a[0].uuid,l=a[0].display_title;break}return{modelId:s,modelName:l}}}async addFootprint(t,e,i,o,r){if(this.alreadyAddFt[e]){r(this.alreadyAddFt[e]);return}if(t&&t[e]){let n=t[e][0],a=Sp(),s="",l=await Fw.getProLibSource({uuid:n.uuid,path:n.owner.uuid,docType:4,isProject:!1});if(this.alreadyAddFt[e]){r(this.alreadyAddFt[e]);return}if(l.success)s=BJo(l.result,{[n.uuid]:a});else return;this.uploadData.footprints[a]={uuid:a,title:n.display_title,description:n.description,creator:i,createTime:o,modifier:i,updateTime:o,canvas:s,isDelete:!1,source:"",version:"",ticket:0,tags:n.tags},this.alreadyAddFt[e]=a,r(a)}}getAttrValue(t,e){if(!t||!e)return"";let i=Object.keys(t).find(o=>t[o].data.key===e);return i?t[i].data.value:""}collect3DName(t,e){if(!t)return;let i=t.replace(/^.+?[\/\\]([^\/\\]+?)(\.[^\.\/\\]*?)?$/gi,"$1");e.add(i)}collectFtName(t,e,i){return!this.isPro&&this.auto_associate_footprint&&(!t||!Object.keys(this.project.footprints).some(o=>o===t))?(e=e||t,e&&i.add(e),!!e):!1}checkModify3DModel(t){if(t){let e=ue.splitComponentId2FolderAndFilenameMixin(t,!0);if(Oie){if(!e.isLocaleFilenameMode)return 2}else if(e.isLocaleFilenameMode)return 3}else return 1;return!1}};async function srr(t){var e,i,o,r,n,a,s,l,c,d;if(!t.autoBind3d&&!t.autoBindFt)return{data:t.data};let u,p=!1,m,h=[];if(typeof t.data=="string"){m=new _ie,m.setIsExtractComponent(!0);let f=m.flowParseFull();if(t.data.length<=32&&/^[a-zA-Z0-9]+$/.test(t.data)){let g=null,b=w=>{typeof w!="string"?(g||(g=new jie),g.write(w,x=>{h.push(x),f.update(x)})):w&&(h.push(w),f.update(w))},y=()=>{let w=g?g.end():"";w&&(h.push(w),f.update(w)),f.end()};await(0,z1t.flowRead)(t.data,{update:b,end:y})}else f.update(t.data),h.push(t.data);f.end()}else{let f=((o=(i=(e=t==null?void 0:t.data)==null?void 0:e.name)==null?void 0:i.match(/\.([^.]+)$/))==null?void 0:o[0])||"";if(f===".zip"&&(f=await Qde(t.data)),f===".epro"){p=!0;let g=(r=await wo.messageBus.rpcCall("/pro-mgr/unzip",{file:t.data},36e5))==null?void 0:r.message;if(!g.success)throw new St("PARAMETER_VERIFICATION",g.message||"missing file data.");let b={name:(a=(n=g.result)==null?void 0:n.config)==null?void 0:a.title,owner:{},cbb_project:(l=(s=g.result)==null?void 0:s.config)==null?void 0:l.cbb_project},y=(c=await wo.messageBus.rpcCall("/pro-mgr/convertProject/flowWrite",{info:b,datas:g.result,options:{needDlg:!0,autoOpen:!1}},36e5))==null?void 0:c.message;if(!(y!=null&&y.success))throw new St("PARAMETER_VERIFICATION",g.message||"missing file data.");let w=y.result;m=new _ie,m.setIsExtractComponent(!0);let x=m.flowParseFull();await(0,z1t.flowRead)(w,{update:S=>{h.push(S),x.update(S)},end:x.end})}else if(f===".epro2"){p=!0;let g=(d=await wo.messageBus.rpcCall("/pro-mgr/unzip/flow",{file:t.data},36e5))==null?void 0:d.message;if(!(g!=null&&g.success))throw new St("PARAMETER_VERIFICATION",g.message||"missing file data.");let{dataStr:b}=g.result;u=g.result.images,m=new _ie,m.setIsExtractComponent(!0);let y=m.flowParseFull(),w=new jie;await(0,z1t.flowRead)(b,{update:x=>{w.write(x,S=>{S&&(h.push(S),y.update(S))})},end:()=>{let x=w.end();x&&(h.push(x),y.update(x)),y.end()}})}}return m&&(t.data=await new arr(t.autoBindFt,t.autoBind3d,m,p,h).handle(t.checkLibUuids)),{data:t.data,images:u}}var la=class{static async importLibs(t){return Array.isArray(t.data)?err(t):eoi(t)}static importNewProject(t){return rrr(t)}static importExistProject(t){return nrr(t)}static async extractLibInfo(t){return Array.isArray(t.data)?irr(t):toi(t)}static async extractProjectInfo(t){return orr(t)}static async getDoctypeByFile(t){let e=await Ewe(t);return Jht(e,t.name)}static async importAutoBind(t){return srr(t)}static async checkProjectZip(t){return Xor(t)}static async checkLibZip(t){return $or(t)}},ts=class{};ts.D3Model=As,ts.Device=rK,ts.Footprint=Pg,ts.Symbol=Qii,ts.deleteComponentItem=Wti,ts.deleteComponents=ctr,ts.fetchComponentItem=yor,ts.queryComponentsByTitle=QNe,ts.pickUpComponentTags2Ids=Qti,ts.pickUpComponentTags2Names=yK,ts.getDataStrById=Swe,ts.duplicateNameDetection=Ror;var Fw=class kie{static async getOldLibByNet(e){try{let{dataStrId:i,dataStr:o}=e;return i||o?{success:!0,result:await Swe(e)||""}:{success:!1,message:"Failed to obtain the source code of the existing component library!"}}catch(i){return{success:!1,message:i.message}}}static transform(e,i){let{uuid:o,docType:r}=i,n="";if(r===4){let a=i.isConnectDevice;n=Dht(o,e,a)}else r===29?n=n7e(o,e,q1.PANEL_LIB):I6(r)&&(n=Eht(o,e).dataStr);return n}static async getOtherLibByNet(e){try{let{isProject:i,uuid:o,path:r,docType:n}=e;if(Per(e)){let c={ignoreDoctypeCheck:!0},d=(await ts.fetchComponentItem(i,o,r,n,c)).result;e=Object.assign(e,d)}let{history_uuid:a,dataStrId:s,dataStr:l}=e;if(a){let c={path:r,uuid:o,historyUuid:a},d=(await wo.messageBus.rpcCall(Ei.COMPONENT.GET_HISTORY,c)).message;if(!d.success){let u=["Conversion component format failed!",d.message];return{success:!1,code:d.code,message:u}}return{success:!0,result:(await wo.messageBus.rpcCall(Ei.COMPONENT.GET_HISTORY_DATA,[d.result])).message}}else if(s||l){let c=await kie.getOldLibByNet(e);if(!c.success){let p=["Conversion component format failed!",c.message];return{success:!1,code:c.code,message:p}}let d=c.result,u=kie.transform(d,e);return u?{success:!0,result:u}:{success:!1,message:["Conversion component format failed!","Illegal docType!"]}}else return{success:!0,result:""}}catch(i){return{success:!1,message:i.message}}}static async getOtherLibByWorker(e){try{let i=ko();return{success:!0,result:await s7e(`/${i._TAB_ID_}/libWorker`).rpcCall("/mgr/libWorker/getDataByType",e)}}catch(i){return{success:!1,message:i.message}}}static async getProjectLibByWorker(e){try{let{path:i,uuid:o,docType:r}=e,{message:n}=await wo.messageBus.rpcCall("/pro-mgr/hasProject",[i]);return n?r===4?{success:!0,result:(await wo.messageBus.rpcCall($e.FOOTPRINT.GET_STR,[o,i])).message||""}:I6(r)?{success:!0,result:(await wo.messageBus.rpcCall($e.SYMBOL.GET_STR,[o,i])).message||""}:{success:!1,message:"Api call error! The api does not exist!"}:{success:!1,message:"Get project library data source Project is not open!"}}catch(i){return{success:!1,message:i.message}}}static async getExtendLib(e){var i,o;let{path:r,uuid:n,docType:a}=e,s=J1.getInstance().getLib(r),l;if(a===4?l=await((i=s==null?void 0:s.footprint)==null?void 0:i.getTransformedDetail(n)):l=await((o=s==null?void 0:s.symbol)==null?void 0:o.getTransformedDetail(n)),!(l!=null&&l.dataStr))return{success:!1,message:["Conversion component format failed!","Failed to obtain the source code of the existing component library!"]};let c;return l.dataStr.trim().startsWith("[")?c=kie.transform(l.dataStr,e):c=l.dataStr,c?{success:!0,result:c}:{success:!1,message:["Conversion component format failed!","Illegal docType!"]}}static async getProLibSource(e){if(typeof window>"u")return await Oer(e);try{let{isProject:i,path:o}=e;return J1.getInstance().hasLib(o)?kie.getExtendLib(e):i?kie.getProjectLibByWorker(e):kie.getOtherLibByWorker(e)}catch(i){return{success:!1,message:i.message}}}},ioi=(t=>(t.INIT_DB="/CommonDB/initDB",t))(ioi||{}),ooi=(t=>(t.GET="/CommonDB/project/getData",t.GET_ALL="/CommonDB/project/getAllArrData",t))(ooi||{}),roi=(t=>(t.GET="/CommonDB/copyAndPaste/getData",t.SET="/CommonDB/copyAndPaste/setData",t.IS_EXIST="/CommonDB/copyAndPaste/isExist",t.GET_DATA_FROM_PCB_CANVAS="/CommonDB/copyAndPaste/getDataFromPcbCanvas",t))(roi||{}),noi=(t=>(t.GET="/CommonDB/copyAndPasteTableCell/getData",t.SET="/CommonDB/copyAndPasteTableCell/setData",t.IS_EXIST="/CommonDB/copyAndPasteTableCell/isExist",t))(noi||{}),aoi=(t=>(t.SET="/CommonDB/log/setData",t.DEL="/CommonDB/log/delData",t.DEL_LOTS="/CommonDB/log/delLotsData",t.GET_ALL="/CommonDB/log/getAllArrData",t))(aoi||{}),soi=(t=>(t.SET="/CommonDB/Component/log/setData",t.DEL="/CommonDB/Component/log/delData",t.DEL_LOTS="/CommonDB/Component/log/delLotsData",t.GET_ALL="/CommonDB/Component/log/getAllArrData",t))(soi||{}),loi=(t=>(t.SET="/CommonDB/basicLibraryList/addData",t.GET="/CommonDB/basicLibraryList/getData",t.IS_EXIST="/CommonDB/basicLibraryList/isExist",t))(loi||{}),coi=(t=>(t.SET="/CommonDB/clipBoard/addData",t.GET="/CommonDB/clipBoard/getData",t.IS_EXIST="/CommonDB/clipBoard/isExist",t))(coi||{}),doi=(t=>(t.GET="/CommonDB/lockPrj/getData",t.READ_WRITE="/CommonDB/lockPrj/readwriteData",t))(doi||{}),uoi=(t=>(t.GET="/CommonDB/prjCache/getData",t.SET="/CommonDB/prjCache/addData",t.DEL="/CommonDB/prjCache/delData",t.DEL_LOTS="/CommonDB/prjCache/delLotsData",t.GET_INDEXS="/CommonDB/prjCache/getAllIndexs",t.GET_COUNT="/CommonDB/prjCache/getCount",t.GET_EARLIEST="/CommonDB/prjCache/getEarliest",t))(uoi||{}),Yo={COMMON:ioi,PROJECT:ooi,COPYANDPASTE:roi,COPYANDPASTE_TABLE_CELL:noi,LOG:aoi,COMPONENT_LOG:soi,LIB:loi,CLIP_BOARD:coi,LOCK_PROJECT:doi,PROJECT_CACHE:uoi},Og=(t=>(t.CREATE="/pro-mg/cbb/create",t.DRAW="/pro-mg/cbb/draw",t.GET_EXPORT="/pro-mg/cbb/getExport",t.GET_TARGET="/pro-mg/cbb/getTarget",t.LIST="/pro-mg/cbb/list",t.SEARCH="/pro-mg/cbb/search",t.PLACE="/pro-mg/cbb/place",t))(Og||{}),Kde=(t=>(t.GET="/pro-mg/thumb/get",t.UPLOAD="/pro-mg/thumb/upload",t.DELETE="/pro-mg/thumb/delete",t.LIST="/pro-mg/thumb/list",t))(Kde||{}),poi=(t=>(t.CREATE="/pro-mgr/new/cloud/create",t.PROJECT="/pro-mgr/new/cloud/project",t.BOARD="/pro-mgr/new/cloud/board",t.SCHEMATIC="/pro-mgr/new/cloud/schematic",t.SHEET="/pro-mgr/new/cloud/sheet",t.SIMULATION="/pro-mgr/new/cloud/simulation",t.PCB="/pro-mgr/new/cloud/pcb",t.PANEL="/pro-mgr/new/cloud/panel",t))(poi||{}),moi=(t=>(t.BOARD="/pro-mgr/new/local/board",t.SCHEMATIC="/pro-mgr/new/local/schematic",t.SHEET="/pro-mgr/new/local/sheet",t.SIMULATION="/pro-mgr/new/local/simulation",t.PCB="/pro-mgr/new/local/pcb",t.PANEL="/pro-mgr/new/local/panel",t))(moi||{}),CK={CLOUD:poi,LOCAL:moi},hoi=(t=>(t.FORCE="/pro-mgr/project/updateData/force",t.SUSPEND="/pro-mgr/project/updateData/suspend",t.RESUME="/pro-mgr/project/updateData/resume",t.GET="/pro-mgr/project/updateData/getLastest",t.IS_PUBLIC="/pro-mgr/project/updateData/isPublic",t.UPDATE_TEAM="/pro-mgr/project/updateData/updateTeam",t))(hoi||{}),foi=(t=>(t.UPDATE="/pro-mgr/project/updateData/schematic/update",t.GET="/pro-mgr/project/updateData/schematic/getData",t.MAP="/pro-mgr/project/updateData/schematic/map",t.NOTIFY="/pro-mgr/project/updateData/schematic/notify",t))(foi||{}),goi=(t=>(t.UPDATE="/pro-mgr/project/updateData/sheet/update",t.GET="/pro-mgr/project/updateData/sheet/getData",t.MAP="/pro-mgr/project/updateData/sheet/map",t.NOTIFY="/pro-mgr/project/updateData/sheet/notify",t))(goi||{}),boi=(t=>(t.UPDATE="/pro-mgr/project/updateData/pcb/update",t.GET="/pro-mgr/project/updateData/pcb/getData",t.MAP="/pro-mgr/project/updateData/pcb/map",t.NOTIFY="/pro-mgr/project/updateData/pcb/notify",t))(boi||{}),yoi=(t=>(t.UPDATE="/pro-mgr/project/updateData/blockSymbol/update",t.GET="/pro-mgr/project/updateData/blockSymbol/getData",t.MAP="/pro-mgr/project/updateData/blockSymbol/map",t.NOTIFY="/pro-mgr/project/updateData/blockSymbol/notify",t))(yoi||{}),woi=(t=>(t.UPDATE="/pro-mgr/project/updateData/symbol/update",t.GET="/pro-mgr/project/updateData/symbol/getData",t.MAP="/pro-mgr/project/updateData/symbol/map",t.NOTIFY="/pro-mgr/project/updateData/symbol/notify",t))(woi||{}),Coi=(t=>(t.UPDATE="/pro-mgr/project/updateData/footprint/update",t.GET="/pro-mgr/project/updateData/footprint/getData",t.MAP="/pro-mgr/project/updateData/footprint/map",t.NOTIFY="/pro-mgr/project/updateData/footprint/notify",t))(Coi||{}),xoi=(t=>(t.UPDATE="/pro-mgr/project/updateData/device/update",t.GET="/pro-mgr/project/updateData/device/getData",t.MAP="/pro-mgr/project/updateData/device/map",t.NOTIFY="/pro-mgr/project/updateData/device/notify",t))(xoi||{}),Pd={PUBLIC:hoi,SCHEMATIC:foi,SHEET:goi,PCB:boi,BLOCK_SYMBOL:yoi,SYMBOL:woi,FOOTPRINT:Coi,DEVICE:xoi},s0=(t=>(t.PROGRESS="/pro-ui/progressUpdate",t.OPENED_PROJECT="/pro-ui/project/openedProject",t.HAS_UNSAVED="/pro-ui/project/hasUnsaved",t.OPEN="/pro-ui/project/open",t.CLOSE="/pro-ui/project/close",t.ON_OPENED="/pro-ui/project/onOpened",t.ON_FAILED="/pro-mgr/project/onFailed",t.ON_CLOSED="/pro-ui/project/onClosed",t.ADD_HASH="/pro-ui/hash/add/id",t.REMOVE_HASH="/pro-ui/hash/remove/id",t))(s0||{}),Toi=(t=>(t.ON_UPDATE="/pro-mgr/project/project/onUpdate",t.UPLOAD_FAILED="/pro-mgr/project/upload/onfailed",t))(Toi||{}),Soi=(t=>(t.ON_UPDATE="/pro-mgr/project/config/onUpdate",t))(Soi||{}),Moi=(t=>(t.ON_ADD="/pro-mgr/project/board/onAdd",t.ON_DELETE="/pro-mgr/project/board/onDelete",t.ON_UPDATE="/pro-mgr/project/board/onUpdate",t))(Moi||{}),Ioi=(t=>(t.ON_ADD="/pro-mgr/project/schematic/onAdd",t.ON_DELETE="/pro-mgr/project/schematic/onDelete",t.ON_UPDATE="/pro-mgr/project/schematic/onUpdate",t.ON_UPDATETIME="/pro-mgr/project/schematic/onUpdateTime",t))(Ioi||{}),Loi=(t=>(t.ON_ADD="/pro-mgr/project/sheet/onAdd",t.ON_DELETE="/pro-mgr/project/sheet/onDelete",t.ON_UPDATE="/pro-mgr/project/sheet/onUpdate",t.ON_UPDATETIME="/pro-mgr/project/sheet/onUpdateTime",t))(Loi||{}),voi=(t=>(t.ON_ADD="/pro-mgr/project/pcb/onAdd",t.ON_DELETE="/pro-mgr/project/pcb/onDelete",t.ON_UPDATE="/pro-mgr/project/pcb/onUpdate",t.ON_UPDATETIME="/pro-mgr/project/pcb/onUpdateTime",t))(voi||{}),Doi=(t=>(t.ON_ADD="/pro-mgr/project/panel/onAdd",t.ON_DELETE="/pro-mgr/project/panel/onDelete",t.ON_UPDATE="/pro-mgr/project/panel/onUpdate",t.ON_UPDATETIME="/pro-mgr/project/panel/onUpdateTime",t))(Doi||{}),Eoi=(t=>(t.ON_ADD="/pro-mgr/project/simulation/onAdd",t.ON_DELETE="/pro-mgr/project/simulation/onDelete",t.ON_UPDATE="/pro-mgr/project/simulation/onUpdate",t.ON_UPDATETIME="/pro-mgr/project/simulation/onUpdateTime",t))(Eoi||{}),Aoi=(t=>(t.ON_ADD="/pro-mgr/project/device/onAdd",t.ON_DELETE="/pro-mgr/project/device/onDelete",t.ON_UPDATE="/pro-mgr/project/device/onUpdate",t.ON_UPDATETIME="/pro-mgr/project/device/onUpdateTime",t))(Aoi||{}),Noi=(t=>(t.ON_ADD="/pro-mgr/project/symbol/onAdd",t.ON_DELETE="/pro-mgr/project/symbol/onDelete",t.ON_UPDATE="/pro-mgr/project/symbol/onUpdate",t.ON_UPDATETIME="/pro-mgr/project/symbol/onUpdateTime",t))(Noi||{}),koi=(t=>(t.ON_ADD="/pro-mgr/project/footprint/onAdd",t.ON_DELETE="/pro-mgr/project/footprint/onDelete",t.ON_UPDATE="/pro-mgr/project/footprint/onUpdate",t.ON_UPDATETIME="/pro-mgr/project/footprint/onUpdateTime",t))(koi||{}),Poi=(t=>(t.ON_ADD="/pro-mgr/project/attr/onAdd",t.ON_DELETE="/pro-mgr/project/attr/onDelete",t.ON_UPDATE="/pro-mgr/project/attr/onUpdate",t))(Poi||{}),Ooi=(t=>(t.ON_ADD="/pro-mgr/project/blob/onAdd",t.ON_DELETE="/pro-mgr/project/blob/onDelete",t.ON_UPDATE="/pro-mgr/project/blob/onUpdate",t))(Ooi||{}),Roi=(t=>(t.ON_ADD="/pro-mgr/project/variant/onAdd",t.ON_DELETE="/pro-mgr/project/variant/onDelete",t.ON_UPDATE_TITLE="/pro-mgr/project/variant/onUpdatetitle",t.ON_UPDATE_NOT_GROUPED="/pro-mgr/project/variant/onUpdateNotGrouped",t.ON_UPDATE_ZINDEX="/pro-mgr/project/variant/onUpdateZIndex",t.ON_ADD_COMPONENT_GROUP="/pro-mgr/project/variant/onAddComponentGroup",t.ON_DELETE_COMPONENT_GROUP="/pro-mgr/project/variant/onDeleteComponentGroup",t.ON_UPDATE_COMPONENT_GROUP_TITLE="/pro-mgr/project/variant/onUpdateComponentGroupTitle",t.ON_UPDATE_COMPONENT_GROUP_ZINDEX="/pro-mgr/project/variant/onUpdateComponentGroupZIndex",t.ON_UPLOAD_COMPONENT_GROUP_INDEX_IN_VARIANT="/pro-mgr/project/variant/onUploadComponentGroupZIndexInVariant",t.ON_DELETE_COMPONENT_GROUP_INDEX_IN_VARIANT="/pro-mgr/project/variant/onDeleteComponentGroupZIndexInVariant",t.ON_UPLOAD_COMPONENT_GROUP_DATA="/pro-mgr/project/variant/onUploadComponentGroupData",t.ON_DELETE_COMPONENT_GROUP_DATA="/pro-mgr/project/variant/onDeleteComponentGroupData",t))(Roi||{}),tT={PROJECT:Toi,CONFIG:Soi,BOARD:Moi,SCHEMATIC:Ioi,SHEET:Loi,PCB:voi,PANEL:Doi,SIMULATION:Eoi,DEVICE:Aoi,SYMBOL:Noi,FOOTPRINT:koi,ATTR:Poi,BLOB:Ooi,VARIANT:Roi};var Xht=class{constructor(t={}){this.needProgress=t.needProgress||!1,this.progressTip=t.progressTip||`${Sp()}`,this.cur=t.cur||0,this.total=t.total||0}get options(){return{needProgress:this.needProgress,progressTip:this.progressTip,cur:this.cur,total:this.total}}get step(){return this.total}set step(t){this.total=t}update(t=!1){if(this.needProgress)if(t){let e={progress:1,title:this.progressTip};wo.messageBus.publish("/pro-ui/progressUpdate",e)}else{let e={progress:++this.cur/this.total,title:this.progressTip};wo.messageBus.publish("/pro-ui/progressUpdate",e)}}},x2n=new Error("list is empty");async function f7e(t){let{uuid:e,cPath:i,callback:o,options:r,autoClose:n=!0,notify:a}=t;try{let s={uuid:e,cPath:i,options:r,notify:a},{message:l}=await wo.messageBus.rpcCall("/pro-mgr/project/tempOpen",s);if(!l.success)throw new Error("\u4E34\u65F6\u6253\u5F00\u5DE5\u7A0B\u5931\u8D25!",l.message);if(o){let c=await o();if(!c.success)return{success:!1,message:c.message}}return{success:!0}}catch(s){throw new Error("\u4E34\u65F6\u6253\u5F00\u5DE5\u7A0B\u5931\u8D25!",s)}finally{if(n){let{message:s}=await wo.messageBus.rpcCall("/pro-mgr/project/tempClose",[e]);if(!s.success)throw new Error("\u5173\u95ED\u4E34\u65F6\u5DE5\u7A0B\u5931\u8D25!",s.message)}}}async function $ht(t){try{let{message:e}=await wo.messageBus.rpcCall("/pro-mgr/project/tempClose",[t]);if(!e.success)throw new Error("\u5173\u95ED\u4E34\u65F6\u5DE5\u7A0B\u5931\u8D25!",e.message);return{success:!0}}catch(e){throw new Error("\u5173\u95ED\u4E34\u65F6\u5DE5\u7A0B\u5931\u8D25!",e)}}async function L6(t){try{if(Oie&&t){let e=(await wo.messageBus.rpcCall(Ei.CLIENT.OPEN_PROJECT,[t])).message;if(e.success===!1)return{success:!1,message:e.message};let i=Object.keys(e.result)[0],o=e.result[i];return{success:!0,result:Object.assign({uuid:i},o)}}throw new Error("Api call error!")}catch(e){return console.error(e),{success:!1,message:e.message}}}var tr=(t=>(t.ALL_VALUE="@all",t.ALL_TITLE="All",t.ComponentSymbol="2",t.NetflagSymbol="18",t.NetportSymbol="19",t.DrawingSymbol="20",t.NonElectronicSymbol="21",t.OffPageConnectorSymbol="25",t.DiffPairsFlagSymbol="31",t))(tr||{}),Al={2:"ComponentSymbol",18:"NetFlag",19:"NetPort",20:"DrawingSymbol",21:"NonElectronicSymbol",25:"OffPageConnectorSymbol",31:"DiffPairsFlagSymbol"},eft=class{};eft.syncLoginedUserInfo=t=>{wo.loginedUserUuid=t.uuid};function lrr(t,e){if(!t){let i=cU(new Date,"y-m-d");t=`ProLib_${e>1?e:""}pcs_${i}`}return t}var g7e=class{constructor(t){this.json={devices:{},symbols:{},footprints:{},panelLibs:{}},this.result=[];let{datas:e,needProgress:i}=t,{name:o}=t;this.datas=e,this.name=o;let r=this.count();this.progress=new Xht({needProgress:i,total:r,progressTip:"Export library..."})}async start(){try{let t=await this.get();if(t.success===!1)return{success:!1,code:t.code,message:t.message};let{dataStr:e,json:i}=t.result,o=lrr(this.name,this.datas.length),r=await this.getFile(e,i,o);return this.progress.update(!0),{success:!0,result:r}}catch(t){return{success:!1,message:t.message}}}async get(){try{let t=await this.getData();if(t.success===!1)return{success:!1,code:t.code,message:t.message};let{details:e,map:i}=t.result,o=await this.buildJson(e,i);return o.success===!1?{success:!1,code:o.code,message:o.message}:{success:!0,result:{dataStr:this.result.join(dS),json:this.json}}}catch(t){return{success:!1,message:t.message}}}async buildJson(t,e){try{return await this.buildSymbols(t,e),await this.buildFootprints(t,e),await this.buildPanelLibs(t,e),await this.buildDevices(t,e),{success:!0}}catch(i){return{success:!1,message:i.message}}}async buildSymbols(t,e){if(t.symbols)for(let i in t.symbols){this.progress.update();let o=t.symbols[i],{docType:r}=o,{isProject:n,path:a}=e[i],s=await Fw.getProLibSource({uuid:i,path:a,docType:r,isProject:n});if(s.success===!0){let l=await this.getSymbolSource(o,s.result);this.json.symbols[i]={uuid:i,path:a,ticket:o.ticket,updateTime:o.updateTime,createTime:o.createTime,title:o.title,description:o.description,display_title:o.display_title,creator:o.creator,modifier:o.modifier,owner:o.owner,tags:o.tags,custom_tags:o.custom_tags,source:o.source,version:o.version,docType:o.docType},l&&this.result.push(l)}}}async getSymbolSource(t,e){if(e){let i=e.substring(0,e.indexOf(dS)),o=new INe,r=1,{display_title:n,title:a,description:s,tags:l,source:c="",docType:d}=t,u=n||a,p=uK({tags:l})||"[]",m={title:u,description:s,tags:JSON.parse(p),source:c,docType:d};return[i,o.symbol.meta(r,m),e].join(dS)}}async buildFootprints(t,e){if(t.footprints)for(let i in t.footprints){this.progress.update();let o=t.footprints[i],{docType:r}=o,{isProject:n,path:a}=e[i],s=await Fw.getProLibSource({uuid:i,path:a,docType:r,isProject:n});if(s.success===!0){let l=await this.getFootprintSource(o,s.result);this.json.footprints[i]={uuid:i,path:a,ticket:o.ticket,updateTime:o.updateTime,createTime:o.createTime,title:o.title,description:o.description,display_title:o.display_title,creator:o.creator,modifier:o.modifier,owner:o.owner,tags:o.tags,custom_tags:o.custom_tags,source:o.source,version:o.version,docType:o.docType},l&&this.result.push(l)}}}async getFootprintSource(t,e){if(e){let i=e.substring(0,e.indexOf(dS)),o=new INe,r=1,{display_title:n,title:a,description:s,tags:l,source:c="",docType:d}=t,u=n||a,p=uK({tags:l})||"[]",m={title:u,description:s,tags:JSON.parse(p),source:c,docType:d};return[i,o.footprint.meta(r,m),e].join(dS)}}async buildPanelLibs(t,e){if(t.panelLibs)for(let i in t.panelLibs){this.progress.update();let o=t.panelLibs[i],{docType:r}=o,{isProject:n,path:a}=e[i],s=await Fw.getProLibSource({...o,path:a,docType:r,isProject:n});if(s.success===!0){let l=await this.getPanelLibSource(o,s.result);this.json.panelLibs[i]={uuid:i,path:a,ticket:o.ticket,updateTime:o.updateTime,createTime:o.createTime,title:o.title,description:o.description,display_title:o.display_title,creator:o.creator,modifier:o.modifier,owner:o.owner,tags:o.tags,custom_tags:o.custom_tags,source:o.source,version:o.version,docType:o.docType},l&&this.result.push(l)}}}async getPanelLibSource(t,e){if(e){let i=e.substring(0,e.indexOf(dS)),o=new INe,r=1,{display_title:n,title:a,description:s,tags:l,source:c="",docType:d}=t,u=n||a,p=uK({tags:l})||"[]",m={title:u,description:s,tags:JSON.parse(p),source:c,docType:d};return[i,o.panelLib.meta(r,m),e].join(dS)}}async buildDevices(t,e){if(t.devices)for(let i in t.devices){this.progress.update();let o=t.devices[i],{path:r}=e[i];this.json.devices[i]={uuid:i,path:r,attributes:o.attributes,images:o.images,ticket:o.ticket,updateTime:o.updateTime,createTime:o.createTime,title:o.title,description:o.description,display_title:o.display_title,creator:o.creator,modifier:o.modifier,owner:o.owner,tags:o.tags,custom_tags:o.custom_tags,source:o.source,version:o.version,symbol_type:o.symbol_type}}}},g8=(t=>(t.PROJECT="project.json",t.DEVICE="device.json",t.SYMBOL="symbol.json",t.FOOTPRINT="footprint.json",t.PANEL_LIB="panel-lib.json",t.PROJECT2="project2.json",t.DEVICE2="device2.json",t.SYMBOL2="symbol2.json",t.FOOTPRINT2="footprint2.json",t.PANEL_LIB2="panel-lib2.json",t))(g8||{}),E$t=class extends g7e{constructor(){super(...arguments),this.details={devices:{},symbols:{},footprints:{}},this.map={}}count(){return this.datas.length*6+1}async getData(){try{let t=new Set,e=new Set,i=new Set;for(let o of this.datas){this.progress.update();let{isProject:r,path:n,uuid:a}=o,s;try{s=await Ze.getDevice(o)}catch{t.add(a)}if(!s)continue;this.details.devices[s.uuid]=s;let{attributes:l,display_title:c,title:d}=s,{Symbol:u,Footprint:p}=l,m=c||d;if(u)try{let h={isProject:r,path:n,uuid:u},f=await Ze.getSymbol(h);f&&(this.details.symbols[f.uuid]=f),this.map[u]=h}catch{e.add(m)}if(this.progress.update(),p)try{let h={isProject:r,path:n,uuid:p},f=await Ze.getFootprint(h);f&&(this.details.footprints[f.uuid]=f),this.map[p]=h}catch{i.add(m)}this.progress.update(),this.map[a]=o}if(t.size){let o=["Device details data does not exist",[...t].join("\u3001")];wo.messageBus.publish("logI18nLogView",{type:"warn",msg:o})}if(e.size){let o=["The following devices lose bound symbol data!",[...e].join("\u3001")];wo.messageBus.publish("logI18nLogView",{type:"warn",msg:o})}if(i.size){let o=["The following devices lose bound symbol data!",[...i].join("\u3001")];wo.messageBus.publish("logI18nLogView",{type:"warn",msg:o})}return{success:!0,result:{details:this.details,map:this.map}}}catch(t){return{success:!1,message:t.message}}}async getFile(t,e,i){let o=p7e({[i+".elibu"]:ZL(t),"device2.json":ZL(JSON.stringify(e,null,2))},{level:9}),r=new Blob([o],{type:"application/zip"});return new File([r],i+".elibz2",{type:"zip"})}},A$t=class extends g7e{constructor(){super(...arguments),this.details={footprints:{}},this.map={}}count(){return this.datas.length*2+1}async getData(){try{let t=new Set;for(let e of this.datas){this.progress.update();let{uuid:i}=e,o;try{o=await Ze.getFootprint(e)}catch{t.add(i)}o&&(this.details.footprints[o.uuid]=o,this.map[i]=e)}if(t.size){let e=["Footprint details data does not exist",[...t].join("\u3001")];wo.messageBus.publish("logI18nLogView",{type:"warn",msg:e})}return{success:!0,result:{details:this.details,map:this.map}}}catch(t){return{success:!1,message:t.message}}}async getFile(t,e,i){let o=p7e({[i+".elibu"]:ZL(t),"footprint2.json":ZL(JSON.stringify(e,null,2))},{level:9}),r=new Blob([o],{type:"application/zip"});return new File([r],i+".elibz2",{type:"zip"})}},N$t=class extends g7e{constructor(){super(...arguments),this.details={panelLibs:{}},this.map={}}count(){return this.datas.length*2+1}async getData(){try{let t=new Set;for(let e of this.datas){this.progress.update();let{isProject:i,path:o,uuid:r}=e,n;try{n=(await ts.fetchComponentItem(i,r,o,29)).result}catch{t.add(r)}n&&(this.details.panelLibs[n.uuid]=n,this.map[r]=e)}if(t.size){let e=["Panel lib details data does not exist",[...t].join("\u3001")];wo.messageBus.publish("logI18nLogView",{type:"warn",msg:e})}return{success:!0,result:{details:this.details,map:this.map}}}catch(t){return{success:!1,message:t.message}}}async getFile(t,e,i){let o=p7e({[i+".elibu"]:ZL(t),"panel-lib2.json":ZL(JSON.stringify(e,null,2))},{level:9}),r=new Blob([o],{type:"application/zip"});return new File([r],i+".elibz2",{type:"zip"})}},k$t=class extends g7e{constructor(){super(...arguments),this.details={symbols:{}},this.map={}}count(){return this.datas.length*2+1}async getData(){try{let t=new Set;for(let e of this.datas){this.progress.update();let{uuid:i}=e,o;try{o=await Ze.getSymbol(e)}catch{t.add(i)}o&&(this.details.symbols[o.uuid]=o,this.map[i]=e)}if(t.size){let e=["Symbol details data does not exist",[...t].join("\u3001")];wo.messageBus.publish("logI18nLogView",{type:"warn",msg:e})}return{success:!0,result:{details:this.details,map:this.map}}}catch(t){return{success:!1,message:t.message}}}async getFile(t,e,i){let o=p7e({[i+".elibu"]:ZL(t),"symbol2.json":ZL(JSON.stringify(e,null,2))},{level:9}),r=new Blob([o],{type:"application/zip"});return new File([r],i+".elibz2",{type:"zip"})}},p3=class{static async device(t){try{let e=await new E$t(t).get();if(e.success===!1)throw new St("EXPORT_DEVICE",e.message);return e.result}catch(e){throw new St("EXPORT_DEVICE",e.message)}}static async deviceFile(t){try{let e=await new E$t(t).start();if(e.success===!1)throw new St("EXPORT_DEVICE",e.message);return e.result}catch(e){throw new St("EXPORT_DEVICE",e.message)}}static async symbol(t){try{let e=await new k$t(t).get();if(e.success===!1)throw new St("EXPORT_SYMBOL",e.message);return e.result}catch(e){throw new St("EXPORT_SYMBOL",e.message)}}static async symbolFile(t){try{let e=await new k$t(t).start();if(e.success===!1)throw new St("EXPORT_SYMBOL",e.message);return e.result}catch(e){throw new St("EXPORT_SYMBOL",e.message)}}static async footprint(t){try{let e=await new A$t(t).get();if(e.success===!1)throw new St("EXPORT_FOOTPRINT",e.message);return e.result}catch(e){throw new St("EXPORT_FOOTPRINT",e.message)}}static async footprintFile(t){try{let e=await new A$t(t).start();if(e.success===!1)throw new St("EXPORT_FOOTPRINT",e.message);return e.result}catch(e){throw new St("EXPORT_FOOTPRINT",e.message)}}static async panelLib(t){try{let e=await new N$t(t).get();if(e.success===!1)throw new St("EXPORT_PANEL_LIB",e.message);return e.result}catch(e){throw new St("EXPORT_PANEL_LIB",e.message)}}static async panelLibFile(t){try{let e=await new N$t(t).start();if(e.success===!1)throw new St("EXPORT_PANEL_LIB",e.message);return e.result}catch(e){throw new St("EXPORT_PANEL_LIB",e.message)}}};EKo();var{IS_CLIENT:wi,IS_ONLINE:Uw,IS_OFFLINE:Sb,IS_HALF_OFFLINE:Af,IS_EASYEDA:vo,IS_LCEDA:Xr,IS_PRIVATE:_t,HAS_PANEL:Vw,HAS_PCB:Eu,HAS_SCH:Nl,IS_ECAD:Nt,SSO_EXTERNAL_PERMISSION_MANAGED_DOMAIN:iT,HAS_SIM:na,IS_ENTERPRISE_CLIENT:tft}=ght,Zde=wi&&Xr,b8=wi&&vo,Tn=wi&&Af,Je=wi&&!Uw,Ko=wi&&Sb,N0=wi&&Uw,M9=wi?Uw?"ONLINE":Af?"HALF_OFFLINE":Sb?"OFFLINE":"":"",Fn=tft;var ift={mil:1,inch:1e3,ft:12e3,yard:36e3,mile:6336e4,km:3937007874e-2,dm:3937,mm:39.37,um:.039,nm:394e-7,pt:13.88888888888889,"px(72)":13.88888888888889,"px(96)":10.416666666666666,"px(100)":10},crr=(()=>{let t={};for(let e in ift)t[ift[e]]=e;return t})();function mU(t,e){return crr[t]||e}function ru(t,e){return ift[t]||e}var b7e=class b7e{constructor(e,i){this.ratio=e/i}wrap(e){return e*this.ratio}static convert(e,i,o){return e*i/o}};b7e.ASIS=new b7e(1,1);var np=b7e;var ws=class t{static zero(){return new t(0,"inch")}static build1(e){var n;if(e=="0")return t.zero();let i=(n=e.match(/[a-zA-Z]/))==null?void 0:n.index;if(i==null)throw new Error(`Invalid NumberWithUnit:${e}`);let[o,r]=[e.substring(0,i),e.substring(i)];return new t(Number(o),r)}static build2(e){return new t(e.value,e.unit)}constructor(e,i){this.value=e,this.unit=i}toString(){return this.value+this.unit}toJSON(){return{value:this.value,unit:this.unit}}};var y7e=class{constructor(e,i,o,r=!0,n,a=!1,s=!0){this.tabId=e;this.modal=r;this.proportion=n;this._value=0;this._title="";this._showTitle=!1;this._title=i,this._showTitle=a,this._closeFn=o,this._closable=s}get value(){return this._value}set value(e){typeof e!="number"?(console.warn(`Progress: can not set ${e} progress value on ${this.tabId}(${this.title}), revert last value: ${this._value}`),e=this._value):e<this._value?(console.warn(`Progress: can not set ${e} progress value on ${this.tabId}(${this.title}) revert last value: ${this._value}`),e=this._value):e>1&&(console.warn(`Progress: can not set ${e} progress value on ${this.tabId}(${this.title}), reset 1`),e=1),this._value=e}get title(){return this._title}set title(e){this._title=e}get showTitle(){return this._showTitle}set showTitle(e){this._showTitle=e}get closable(){return this._closable}set closable(e){this._closable=e}get closeFn(){return this._closeFn}set closeFn(e){this._closeFn=e}destroy(e=!1){this.closeFn!=null&&(typeof this.closeFn=="function"?this.closeFn(e):(!this.closeFn.onlyInitiative||this.closeFn.onlyInitiative&&e)&&C.messageBus.publish(this.closeFn.messageTopic,this.closeFn.messageTopicData||""))}};var w7e=class{constructor(){this.map={};this.bindingCallMap={}}has(e,i){return i==null?!!this.getGroup(e):!!this.getOne(e,i)}addOne(e,i,o,r=!0,n,a=!1,s=!0){var l,c;if(((l=this.map[e])==null?void 0:l[i])!=null)return console.warn(`ProgressManager: can not add already exist progress[${e}(${i})]`);{let d=null,u=(c=this.getBindingClosedCall(e,i))==null?void 0:c.call;u?o?typeof o=="function"&&(d=function(m){o(m),u(m)}):d=u:d=o;let p=new y7e(e,i,d,r,n,a,s);this.map[e]||(this.map[e]={}),this.map[e][i]=p}}updateOne(e,i,o,r){let n=this.map[e],a=n==null?void 0:n[i];if(!a)return console.warn(`ProgressManager: can not update progress[${e}(${i})] not exist`);a.value=o,a.title=i,!a.closeFn&&r&&(a.closeFn=r),Object.values(n).every(s=>s.value===1)&&this.removeGroup(e)}removeOne(e,i){var r,n;let o=(r=this.map[e])==null?void 0:r[i];if(!o)return console.warn(`ProgressManager: can not remove progress[${e}(${i})] not exist`);o.destroy(),(n=this.map[e])==null||delete n[i]}removeAll(){Object.keys(this.map).forEach(e=>{Object.keys(this.map[e]).forEach(i=>{this.removeOne(e,i)})})}getOne(e,i){var o;return(o=this.map[e])==null?void 0:o[i]}removeGroup(e,i=!1){let o=this.map[e];if(!o)return console.warn(`ProgressManager: can not remove progressGroup[${e}] not exist`);Object.values(o).forEach(r=>r.destroy(i)),delete this.map[e]}updateGroup(e,i){let o=this.map[e];if(!o)return console.warn(`ProgressManager: can not update progressGroup[${e}] not exist`);Object.keys(o).forEach(r=>this.updateOne(e,r,i))}getGroup(e){return this.map[e]}createCallId(e,i){return(e||"")+"-"+(i||"")}getBindingClosedCall(e,i,o){let n=this.bindingCallMap.closedCallMap;if(!n)return null;let a=this.createCallId(e,i),s=n[a];return s&&o&&delete n[a],!s&&(e||i)&&(s=this.getBindingClosedCall("","")),s}bindingClosedCall(e,i,o){if(!e)return;let r=this.bindingCallMap,n=r.closedCallMap;n||(n=r.closedCallMap={});let a=this.createCallId(i,o);n[a]={progressTabId:i,progressTitle:o,call:e}}unbindingClosedCall(e,i){return this.getBindingClosedCall(e,i,!0)}clearBindingMap(){this.bindingCallMap={}}};var _oi=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;var Hw=L(Vi());function Xs(t={},e){return Object.hasOwnProperty.call(t,e)}var joi=drr(/\s+/g);function drr(t){return(e,i)=>{let o=!Object.is(i,void 0);return e?o?e.replace(t,i):t.test(e):o?"":!1}}async function Boi(t){try{let e=await t.text(),r=new DOMParser().parseFromString(e,"text/html").body.children;if(r.length===0)throw new Error("HTML Blob \u4E0D\u5305\u542B\u6709\u6548 DOM \u8282\u70B9");if(r.length===1)return r[0].cloneNode(!0);{let n=document.createDocumentFragment();return Array.from(r).forEach(a=>{n.appendChild(a.cloneNode(!0))}),n}}catch(e){return console.error("Blob \u8F6C DOM \u5931\u8D25:",e,"\u8FD4\u56DEnull"),null}}var zoi={User:"U\u017Eivatel","Join...":"P\u0159ipojit...","Login...":"P\u0159ihl\xE1sit...","Log in":"P\u0159ihl\xE1sit",Logout:"Odhl\xE1sit","Change password...":"Zm\u011Bna hesla...","User Preference":"U\u017Eivatelsk\xE9 nastaven\xED",Crash:"Zhroucen\xED","Invite friends...":"Pozvat p\u0159\xE1tele...",Language:"Jazyk","Language Setting":"Jazykov\xE9 nastaven\xED","Ti\u1EBFng Vi\u1EC7t (Vietnamese)":"Ti\u1EBFng Vi\u1EC7t (Vietnamese","Document Recovery":"Obnova dokumentu","Your Preferences Information":"Va\u0161e u\u017Eivatelsk\xE9 nastaven\xED",File:"Soubor",New:"Nov\xFD","Project...":"Projekt...",Schematic:"Sch\xE9ma","Schematic Lib":"Knihovna sch\xE9mat","Spice Symbol":"Spice symbol","PCB Lib":"Knihovna PCB","Schematic Module":"Modul sch\xE9ma","PCB Module":"PCB modul","EasyEDA File...":"Soubor EeasyEDA...","Save...":"Ulo\u017Eit...","Save As...":"Ulo\u017Eit jako...","Save As Module...":"Ulo\u017Eit modul jako...",Print:"Tisk","Export Document":"Export dokumentu","Super Menu":"Super menu",Edit:"Upravit",Undo:"Zp\u011Bt",Redo:"Vr\xE1tit zp\u011Bt",Cut:"Vyjmout",Copy:"Kop\xEDrovat",Paste:"Vlo\u017Eit",Select:"Vybrat",Delete:"Smazat",Clear:"Vymazat",Move:"P\u0159esunout",Drag:"P\u0159et\xE1hnout","Bring to Front":"P\u0159en\xE9st do pop\u0159ed\xED","Send to Back":"P\u0159en\xE9st do pozad\xED",Align:"Zarovnat","Align Left":"Zarovnat vlevo","Align Right":"Zarovnat vpravo","Align Top":"Zarovnat nahoru","Align Bottom":"Zarovnat dol\u016F","Align Horizontal Centers":"Zarovnat horizont\xE1ln\u011B na st\u0159ed","Align Vertical Centers":"Zarovnat vertik\xE1ln\u011B na st\u0159ed","Distribute Horizontally":"Rozlo\u017Eit horizont\xE1ln\u011B","Distribute Vertically":"Rozlo\u017Eit vertik\xE1ln\u011B","Distribute Left Edges Equidistantly":"Rozlo\u017Eit rovnom\u011Brn\u011B k lev\xE9 stran\u011B","Distribute Top Edges Equidistantly":"Rozlo\u017Eit rovnom\u011Brn\u011B k horn\xED stran\u011B","Align Grid":"Zarovnat na m\u0159\xED\u017Eku",Rotate:"Oto\u010Dit","Rotate Left":"Oto\u010Dit vlevo","Rotate Right":"Oto\u010Dit vpravo","Flip Horizontal":"P\u0159evr\xE1tit horizont\xE1ln\u011B","Flip Vertical":"P\u0159evr\xE1tit vertik\xE1ln\u011B","Rotate and Flip":"Oto\u010Dit a p\u0159evr\xE1tit","Group/Ungroup":"Seskupit/Rozd\u011Blit",View:"Zobrazit",Find:"Naj\xEDt","Zoom In":"P\u0159ibl\xED\u017Eit","Zoom Out":"Odd\xE1lit","Fit in Window":"Na cel\xE9 okno",Refresh:"Obnovit",Snap:"P\u0159ichytit","Cross Cursor":"Kurzor s vod\xEDtkem",Toolbars:"N\xE1stroje","Drawing Tools":"N\xE1stroje kreslen\xED","Wiring Tools":"N\xE1stroje spoj\u016F","Power Objects":"Elektrick\xE9 objekty","PCB Tools":"N\xE1stroje PCB","PCBLib Tools":"N\xE1stroje knihovny PCB","Layers Tool":"N\xE1stroje vrstev","Layer Setting":"Nastaven\xED vrstev","Net Visible":"Zobrazen\xED spoje",Auto:"Automaticky","Digital Objects":"Digit\xE1ln\xED objekty",Tools:"N\xE1stroje","Arc Center":"St\u0159ed \xFAhlu",Place:"Um\xEDstit",Arc:"\xDAhel","Elliptical Arc":"Ov\xE1ln\xFD \xFAhel",Ellipse:"Ov\xE1l",Circle:"Kruh",Pie:"Kol\xE1\u010D",Line:"\u010C\xE1ra",Polyline:"Spojovan\xE1 \u010D\xE1ra",Rectangle:"Obd\xE9ln\xEDk",Rect:"Obd\xE9ln\xEDk","Round Rectangle":"Zakulacen\xFD obd\xE9ln\xEDk",Bezier:"B\xE9zierova k\u0159ivka",Path:"Cesta",Graphic:"Grafika",Bus:"Sb\u011Brnice","Bus Entry":"Vstup sb\u011Brnice",Junction:"Spojen\xED","Net Port":"Port spoje","Voltage Probe":"Nap\u011B\u0165ov\xE1 sonda","Power Port":"Port nap\xE1jen\xED",Wire:"Spoj",Annotation:"Anotace",Track:"Cesta",Image:"Obr\xE1zek","Arrow Head":"Hlava \u0161ipky",Arrow:"\u0160ipka","No Connect Flag":"Zna\u010Dka Nezapojeno","Lock Selected Objects":"Uzamknout vybran\xE9 objekty",Miscellaneous:"Ostatn\xED","Find Component":"Naj\xEDt komponentu",Component:"Komponenta",Convert:"P\u0159ev\xE9st","Convert to PCB":"P\u0159ev\xE9st na PCB","Update PCB":"Aktualizovat PCB","Shortcut Keys Setting":"Nastaven\xED kl\xE1ves. zkratek","Edit Symbol...":"Upravit symbol...","Highlight Net...":"Zv\xFDraznit spoj",Simulate:"Simulovat",Simulation:"Simulace","Simulation Result":"V\xFDsledek simulace","Simulation Results...":"V\xFDsledky simulace...","Simulate this Sheet":"Simulace tohoto se\u0161itu","Simulate this Project":"Simulace tohoto projektu","Run the Document":"Spustit dokument","Run the Project...":"Spustit projekt...","Netlist for Document":"Netlist dokument","Netlist for Project":"Netlist projekt","Spice for this Sheet...":"Spice se\u0161it","Spice for this Project...":"Spice projekt","Protel/Altium for PCB...":"Protel/Altium PCB","Pads for PCB...":"Pads PCB","FreePCB for PCB...":"FreePCB PCB","Eagle for PCB...":"Eagle PCB","Kicad for PCB...":"Kicad PCB","OrCAD for PCB...":"OrCAD PCB","BOM for Document...":"BOM dokument","BOM for Project...":"BOM projekt","Pin Map...":"Mapa pinu","Edit Subckt...":"Upravit Subckt","Layer Options...":"Mo\u017Enosti vrstev","Design Rule Setting...":"Nastaven\xED pravidel n\xE1vrhu","Export Pick and Place File":"Exportovat soubor Pick & Place","Measure Distance":"Zm\u011B\u0159it vzd\xE1lenost","New Origin":"Nov\xFD po\u010D\xE1tek","Generates Pick and Place File":"Generovat soubor Pick & Place","Unroute All":"Rozpustit v\u0161e","Auto Router":"Autorouter","Add SubPart":"P\u0159idat d\xEDl\u010D\xED \u010D\xE1st","Add Member":"P\u0159idat \u010Dlena","Annotate...":"Anotovat",Config:"Konfigurace",Help:"Pomoc",About:"O aplikaci","Shortcut Keys":"Kl\xE1vesov\xE9 zkratky",Tutorials:"Tutori\xE1ly","Basic Tutorials":"Z\xE1kladn\xED tutori\xE1ly","Video Tutorials":"Video tutori\xE1ly","Essential Check":"Nezbytn\xE1 kontrola","Simulation Tutorials":"Tutori\xE1ly simulac\xED","Updated Instructions":"Co je nov\xE9ho","Open File Format":"Otev\u0159\xEDt form\xE1t souboru","About Upgrade":"O aktualizaci","Github Repository":"Github repozito\u0159","User Forum":"U\u017Eivatelsk\xE9 f\xF3rum","Feature Request":"Po\u017Eadavek na vylep\u0161en\xED","Feature Requests":"Po\u017Eadavky na vylep\u0161en\xED","Bug Report":"Hl\xE1\u0161en\xED chyb","Bug Reports":"Hl\xE1\u0161en\xED chyb","Tips & Skill":"Typy a dovednosti","Ask for Help":"Po\u017E\xE1dat o pomoc","Schematic Capture":"Zakreslit sch\xE9ma","Spice Simulation":"Spice simulace","PCB Layout":"N\xE1vrh PCB","General Discussion":"Hlavn\xED diskuze","More Information":"V\xEDce informac\xED","Privacy Policy":"Ochrana soukrom\xED","Terms of Service":"Podm\xEDnky u\u017Eit\xED","Plans and Pricing":"Pl\xE1ny a ceny","Contribute to EasyEDA":"P\u0159isp\u011Bt EasyEDA",Acknowledgments:"Pod\u011Bkov\xE1n\xED","Help Translate":"Pomozte p\u0159elo\u017Eit","About Us":"O n\xE1s","Contact Us":"Kontaktujte n\xE1s","Change History":"Historie zm\u011Bn","Join Us":"P\u0159idejte se k n\xE1m","PCB Fabrication":"V\xFDroba PCB","Order Capabilities":"Mo\u017Enosti objedn\xE1vky","Order Price":"Cena objedn\xE1vky","Order Essential Check":"Objedn\xE1n\xED z\xE1kladn\xED kontroly","Order FAQ":"FAQ k objedn\xE1vk\xE1m","Order Process":"Proces objedn\xE1vky",Support:"Podpora","Historical Records...":"Z\xE1znamy historie...",Extensions:"Roz\u0161\xED\u0159en\xED","Order PCB...":"Objednat PCB...","Import Changes":"Importovat zm\u011Bny","Project Main Page":"Hlavn\xED str\xE1nka projektu","Press {0}F11{1} to switch to full screen.":"Pro p\u0159epnut\xED na celou obrazovku stiskn\u011Bte {0}F11{1}.","Delete Selected":"Smazat vybran\xE9","Generate Gerber and Drill Files":"Generovat soubor Gerber","Build PCB":"Sestavit PCB","System Libraries":"Syst\xE9mov\xE9 knihovny","Simulate...":"Simulovat...","Terms of Service & Privacy Policy":"Podm\xEDnky u\u017Eit\xED a ochrana soukrom\xED","Help Topics":"N\xE1pov\u011Bda","SVG Source...":"Zdroj SVG...","EasyEDA Source...":"Zdroj EasyEDA","Group these items as a SCHLIB/Symbol":"Seskupit polo\u017Eky jako SHCLIB/Symbol","Group These Items As a Package":"Seskupit polo\u017Eky jako bal\xED\u010Dek","Set Canvas Origin":"Zadat po\u010D\xE1tek pl\xE1tna","Document Setting":"Nastaven\xED dokumentu","Sheet Attributes":"Atributy se\u0161itu","Set Board Outline":"Zadat hranici desky","Teardrop...":"Teardrop","Global Delete":"Obecn\xE9 smaz\xE1n\xED","Cross Probe":"Lokalizovat objekt","Cross Probe and Place":"Lokalizovat a um\xEDstit objekt","Paper Size":"Velikost pap\xEDru",Register:"Registrovat","User Center":"U\u017Eivatelsk\xE9 centrum",Properties:"Vlastnosti",Attributes:"Atributy",Apply:"Pou\u017E\xEDt","Save as default":"Ulo\u017Eit jako v\xFDchoz\xED","Canvas Attributes":"Atributy pl\xE1tna",Width:"\u0160\xED\u0159ka",Height:"V\xFD\u0161ka",Background:"Pozad\xED","Visible Grid":"Zobrazit m\u0159\xED\u017Eku","Grid Visible":"Zobrazen\xED m\u0159\xED\u017Eky","Grid Color":"Barva m\u0159\xED\u017Eky","Grid Size":"Velikost m\u0159\xED\u017Eky","Grid Style":"Styl m\u0159\xED\u017Eky","Stroke Color":"Barva \u010D\xE1ry","Stroke Width":"\u0160\xED\u0159ka \u010D\xE1ry","Stroke Style":"Styl \u010D\xE1ry","Fill Color":"Barva v\xFDpln\u011B","Selected Objects":"Vybran\xE9 objekty","Frame Size":"Velikost r\xE1mce","Alt Snap":"P\u0159ichycen\xED s ALT","Snap size when pressing the Alt key":"Velikost p\u0159ichycen\xED p\u0159i stisku kl\xE1vesy ALT","Prefix Start":"Prefix","Text Attributes":"Vlastnosti textu",Color:"Barva","Font Family":"P\xEDsmo","Font Size":"Velikost p\xEDsma","Font Weight":"\u0160\xED\u0159ka p\xEDsma","Font Style":"Styl p\xEDsma","Text Type":"Typ p\xEDsma","Text Anchor":"Ukotven\xED p\xEDsma",Baseline:"V\xFDchoz\xED",start:"po\u010D\xE1tek",middle:"st\u0159ed",end:"konec",inherit:"zd\u011Bdit",comment:"koment\xE1\u0159",normal:"norm\xE1ln\xED",italic:"kurz\xEDva",Default:"V\xFDchoz\xED",Add:"P\u0159idat",bold:"tu\u010Dn\xE9",bolder:"tu\u010Dn\u011Bj\u0161\xED",lighter:"slab\u0161\xED","Failed to parse the font file: {name}":"Chyba p\u0159i parsov\xE1n\xED souboru p\xEDsma: {name}","Please select a font file of ttf or woff format.":"Vyberte soubor p\xEDsma s form\xE1tem ttf nebo woff, pros\xEDm.","Add font success: {name}":"P\xEDsmo: {name} p\u0159id\xE1no","Failed to add font: {name}":"P\u0159id\xE1n\xED p\xEDsma: {name} selhalo","Add Font":"P\u0159idat p\xEDsmo","Failed to parse cached font: {name}":"Chyba p\u0159i parsov\xE1n\xED ulo\u017Een\xE9ho p\xEDsma: {name}","Load cached fonts fail!":"Na\u010D\xEDt\xE1n\xED ulo\u017Een\xFDch p\xEDsmen selhalo","X Radius":"Polom\u011Br X","Y Radius":"Polom\u011Br Y","Pin Attributes":"Vlastnosti pinu",Orientation:"Orientace","0 degrees":"0 stup\u0148\u016F","45 degrees":"45 stup\u0148\u016F","90 degrees":"90 stup\u0148\u016F","180 degrees":"180 stup\u0148\u016F","270 degrees":"270 stup\u0148\u016F","Free Angle":"Voln\xFD \xFAhel","Start X":"Po\u010D\xE1tek X","Start Y":"Po\u010D\xE1tek Y",Length:"D\xE9lka",Name:"N\xE1zev",name:"n\xE1zev",Number:"\u010C\xEDslo","Spice Pin Order":"Po\u0159ad\xED Spice pin\u016F","Name Display":"Zobrazit n\xE1zev","Number Display":"Zobrazit \u010D\xEDslo",Clock:"Hodiny",Show:"Zobrazit",Electric:"Elektrika","Junction Attributes":"Vlastnosti spoje","X Location":"Pozice X","Y Location":"Pozice Y",Size:"Velikost","Net Label":"\u0160t\xEDtek spoje","Part Attributes":"Vlastnosti \u010D\xE1sti","Image Attributes":"Vlastnosti obr\xE1zku","Image URL":"URL obr\xE1zku","Input an image URL":"Zadejte URL obr\xE1zku","Invalid image URL":"Neplatn\xE1 URL obr\xE1zku","Failed to load the image":"Chyba p\u0159i na\u010D\xEDt\xE1n\xED obr\xE1zku","Image URL contains special characters":"URL obr\xE1zku obsahuje speci\xE1ln\xED znaky","From Web URL":"URL z webu","From Local Computer":"Z lok\xE1ln\xEDho po\u010D\xEDta\u010De","Please select a png/gif/jpg file.":"Vyberte typ souboru png/gif/jpg, pros\xEDm.","Please select an image file.":"Vyberte soubor obr\xE1zku, pros\xEDm.","Select an image file":"Vyberte soubor obr\xE1zku","Insert Image to PCB":"Vlo\u017Eit obr\xE1zek na PCB",capacitance:"kapacita",frequency:"frekvence","Rated Voltage":"Jmenovit\xE9 nap\u011Bt\xED","Rated Current":"Jmenovit\xFD proud",resistance:"odpor",Resistance:"Odpor",inductance:"induk\u010Dnost","Operating Temperature":"Opera\u010Dn\xED teplota","Shape Invert":"P\u0159evr\xE1tit tvar","Image Size":"Velikost obr\xE1zku","Color Tolerance":"Barva tolerance","Simplify Level":"\xDArove\u0148 zjednodu\u0161en\xED",Units:"Jednotky","Snap Size":"Velikost uchycen\xED",Other:"Jin\xE9","Routing Width":"\u0160\xED\u0159ka cesty","Route Angle":"\xDAhel cesty",Grid:"M\u0159\xED\u017Eka","Copper Zone":"Z\xF3na m\u011Bdi",Visible:"Zobrazen\xE9",Invisible:"Skryt\xE9","Track Properties":"Vlastnosti cesty",Layer:"Vrstva",Net:"Spoj","End X":"Konec X","End Y":"Konec Y","Pad Properties":"Vlastnosti plo\u0161ky",Shape:"Tvar","Hole(D)":"D\xEDra (pr\u016Fm\u011Br)","Center X":"St\u0159ed X","Center Y":"St\u0159ed Y",Round:"Kulat\xE1",Oval:"Ov\xE1ln\xE1","Hole Shape":"Tvar d\xEDry","Hole(Length)":"D\xEDra (d\xE9lka)",Plated:"Opl\xE1tov\xE1no",None:"Nic","Via Properties":"Vlastnosti pr\u016Fchodu",Diameter:"Pr\u016Fm\u011Br","Hole Properties":"Vlastnosti d\xEDry","Text Properties":"Vlastnosti textu","Line Width":"Tlou\u0161\u0165ka \u010D\xE1ry",Rotation:"Rotace","Dimension Attributes":"Vlastnosti rozm\u011Br\u016F","Footprint Attributes":"Vlastnosti footprintu","Prefix Display":"Zobrazit prefix","Pin Name":"N\xE1zev pinu","Pin Number":"\u010C\xEDslo pinu","Spice Pin Number":"\u010C\xEDslo Spice pinu","Arc Properties":"Vlastnosti \xFAhlu","Rect Properties":"Vlastnosti obd\xE9ln\xEDku","Round radius":"Polom\u011Br zakulacen\xED","Circle Properties":"Vlastnosti kruhu",Radius:"Polom\u011Br","CopperArea Properties":"Vlastnosti oblasti m\u011Bdi",Clearance:"Ochrann\xE1 oblast","Pad Connection":"Spoj plo\u0161ky",Direct:"P\u0159\xEDm\xFD",Spoke:"Paprsek","Keep Island":"Zachovat ostr\u016Fvek","Fill Style":"Styl v\xFDpln\u011B","CopperArea conflict: copper area outlines in same layer with different net names must not overlap":"Konflikt v oblasti m\u011Bdi: hranice oblasti m\u011Bdi se nesm\u011Bj\xED p\u0159ekr\xFDvat s jin\xFDmi n\xE1zvy spoj\u016F","Please create board outline first.":"Vytvo\u0159te nejd\u0159\xEDve oblast desky, pros\xEDm.","Board outlines are not closed.":"Oblast desky nen\xED uzav\u0159en\xE1.","Rebuild CopperArea":"Obnovit oblast m\u011Bdi","Edit Points":"Upravit body",Cutout:"V\xFD\u0159ez",Solid:"Pevn\xFD","@@copperArea":{None:"\u017D\xE1dn\xE1"},"Custom Attributes":"Vlastn\xED atributy","Add new parameter":"P\u0159idat nov\xFD parametr","Add New Parameter":"P\u0159idat nov\xFD parametr","Add New Supplier":"P\u0159idat nov\xE9ho dodavatele",Mounted:"Namontov\xE1no",Unknown:"Nezn\xE1m\xFD","Create an account":"Vytvo\u0159it \xFA\u010Det",Username:"U\u017Eivatelsk\xE9 jm\xE9no",Password:"Heslo","Confirm Password":"Potvrdit heslo","Please read this before you register":"P\u0159ed registrac\xED si p\u0159e\u010Dt\u011Bte n\xE1sleduj\xEDc\xED, pros\xEDm","Hi {username}":"Ahoj {username}","Lost Password...":"Zapomenut\xE9 heslo","Find the password using your email":"Naj\xEDt heslo pomoc\xED va\u0161eho emailu",Login:"P\u0159ihl\xE1\u0161en\xED","Username or Email":"U\u017Eivatelsk\xE9 jm\xE9no nebo email","Remember Me":"Zapamatovat si m\u011B","Third party":"T\u0159et\xED strana","Login and Register":"P\u0159ihl\xE1sit a registrovat","Reset a password using your email":"Obnovit heslo pomoc\xED emailu","Your registered email":"V\xE1\u0161 registrovan\xFD email","Re-send an activation code to your email":"P\u0159eposlat aktiva\u010Dn\xED k\xF3d na v\xE1\u0161 email","Invite friends to register":"Pozvat p\u0159\xE1tele","Your friend's email":"Email va\u0161eho p\u0159\xEDtele","Add a new parameter":"P\u0159idat nov\xFD parametr",Key:"Kl\xED\u010D","Value.new_para":"Hodnota","In BOM":"Zahrnout v BOM","Invalid key":"Neplatn\xFD kl\xED\u010D","This field is required.":"Toto pole je povinn\xE9","Change your password":"Zm\u011Bna hesla","Old password":"Star\xE9 heslo","New Password":"Nov\xE9 heslo","Create a new project":"Vytvo\u0159it nov\xFD projekt","Save as a schematic":"Ulo\u017Eit jako sch\xE9ma","Save as a schematic Lib":"Ulo\u017Eit jako knihovnu sch\xE9ma","Save as a spice Symbol":"Ulo\u017Eit jako Spice symbol","Save as a spice subckt":"Ulo\u017Eit jako Subckt","YOU MUST CREATE A SPICE SYMBOL WITH EXACTLY THE SAME NAME AS THIS SUBCKT":"MUS\xCDTE VYTVO\u0158IT SPICE SYMBOL SE STEJN\xDDM N\xC1ZVEM JAKO V SUBCKT","Save as a PCB file":"Ulo\u017Eit jako soubor PCB","Save as a PCB Lib":"Ulo\u017Eit jako knihovnu PCB","Save as a Schematic Module":"Ulo\u017Eit jako modul sch\xE9ma","Save as a PCB Module":"Ulo\u017Eit jako modul PCB",Title:"N\xE1zev",Share:"Sd\xEDlet",Visibility:"Viditelnost","Allow Comments":"Povolit koment\xE1\u0159e","Public (Anyone can see this project but only you can modify it.)":"Ve\u0159ejn\xFD (Kdokoli m\xE1 p\u0159\xEDstup k projektu, ale pouze vy jej m\u016F\u017Eete upravovat)","Private (Only you can see and modify this project)":"Soukrom\xFD (Pouze vy m\u016F\u017Eete zobrazit a upravovat projekt)","Create new project success!":"Nov\xFD projekt vytvo\u0159en!","You can now create files under this project":"Nyn\xED m\u016F\u017Eete vytv\xE1\u0159et v tomto projektu nov\xE9 soubory",Categories:"Kategorie",Project:"Projekt","Short descript":"Zkr\xE1cen\xFD popis",Content:"Obsah","Modify this project info.":"Upravit informace o projektu","Modify this file info.":"Upravit informace o souboru",Notice:"Pozn\xE1mka","Search for it before creating a new one.":"P\u0159ed vytvo\u0159en\xEDm nov\xE9ho zkuste nejd\u0159\xEDve vyhledat.","Manufacturer Part Number":"\u010C\xEDslo d\xEDlu v\xFDrobce",Supplier:"Dodavatel","Supplier Part":"D\xEDl dodavatele","Supplier Part Number":"\u010C\xEDslo d\xEDlu dodavatele",Link:"Odkaz","The professional function please refer at:":"Odbornou funkci referujte na:","Clone your file":"Duplikovat soubor","Attach a Subckt to this spice symbol":"P\u0159ipojit Subckt k tomuto Spice symbolu","Subckt string":"\u0158et\u011Bzec Subckt","Design Manager":"Spr\xE1vce n\xE1vrhu",Nets:"Spoje","DRC Errors":"DRC chyby","Are you sure you want to unroute this net?":"Jste jsi opravdu jisti, \u017Ee chcete rozpojit tento spoj?",Unroute:"Rozpojit","Show your simulation report":"Zobrazit report simulace","Download netlist":"St\xE1hnout netlist",Run:"Spustit",Components:"Komponenty","Import file from your computer":"Importovat soubor z va\u0161eho po\u010D\xEDta\u010De","Maximum file size: 30 MB":"Maxim\xE1ln\xED velikost souboru je 30 MB","Chose file":"Vybrat soubor","File Operation":"Operace se souborem","Import File":"Importovat soubor","Extract Libs":"Rozbalit knihovnu","File type":"Typ souboru","The file size is too large.":"Soubor je p\u0159\xEDli\u0161 velk\xFD","Please selected the file type.":"Vyberte typ souboru, pros\xEDm.","No component was found!":"Nebyla nalezena \u017E\xE1dn\xE1 komponenta!","Import successfully":"Importov\xE1no","Import failed":"Import selhal","Select None":"Nevybr\xE1no","Modify symbol information":"Upravit informace symbolu","PCB Prefix":"PCB prefix","Spice Prefix":"Spice prefix","Hidden Pin":"Skryt\xFD pin","Pin Map":"Mapa pinu","When a power pin is hidden, it will be marked as netlabel, you don't need to wire it. If you use it as simulation, please show it or create a GND/VCC Net for it.":"Pokud je nap\xE1jec\xED pin skryt\xFD, ozna\u010D\xED se \u0161t\xEDtkem spoje a nemus\xEDte jej spojovat. Pokud jej chcete pou\u017E\xEDt v simulaci, zobrazte jej nebo vytvo\u0159te GND/VCC s\xED\u0165.",Assign:"P\u0159i\u0159adit","One-click Purchasing at LCSC":"Objednat na LSCS jedn\xEDm kliknut\xEDm","Export BOM/Order Components":"Exportovat BOM/objedn\xE1vkov\xFD list komponent","Export BOM":"Exportovat BOM","@@bom":{Name:"N\xE1zev","LCSC Assembly":"Sestaven\xED LCSC",Value:"Hodnota",Supplier:"Dodavatel",Price:"Cena",Quantity:"Mno\u017Estv\xED",Package:"Bal\xED\u010Dek",Components:"Komponenty",Manufacturer:"V\xFDrobce"},"Manufacturer Part":"D\xEDl v\xFDrobce","Run your simulation":"Spustit simulaci",Transient:"Pr\u016Fchod","Maximum Timestep":"Maxim\xE1ln\xED \u010Dasov\xFD krok","Stop Time":"\u010Cas ukon\u010Den\xED","Start Time":"\u010Cas zah\xE1jen\xED","AC Analysis":"AC anal\xFDza","Type of Sweep":"Typ vlny","Number of points":"Po\u010Det bod\u016F","Start Frequency":"Po\u010D\xE1te\u010Dn\xED frekvence","Stop Frequency":"Kone\u010Dn\xE1 frekvence","DC sweep":"DC vlna","Source to Sweep":"Zdroj vlny","Start Value":"Po\u010D\xE1te\u010Dn\xED hodnota","Stop Value":"Koncov\xE1 hodnota",Increment:"P\u0159\xEDr\u016Fstek","DC Transfer":"DC p\u0159evod",Output:"V\xFDstup",Source:"Zdroj","DC op pnt":"DC opera\u010Dn\xED bod","Compute the DC operating point treating capacitances as opens and inductances as shorts":"V\xFDpo\u010Det opera\u010Dn\xEDho bodu DC zaji\u0161\u0165uj\xEDc\xED kapacitu pro otev\u0159en\xE9 obvody a induk\u010Dnost pro uzav\u0159en\xE9 obvody.","Active File":"Aktivn\xED soubor","Active Project":"Aktivn\xED projekt","Embed it in your html files.":"Zahrnout ve va\u0161em html souboru.","Share it by e-mail, IM, blog, etc.":"Sd\xEDlet p\u0159e email, IM, blog, atd.","BBCode (used by many online discussion forums)":"BBCode (pou\u017E\xEDv\xE1 se na mnoha online diskuzn\xEDch f\xF3rech)","HTML code":"HTML k\xF3d","QRCode (Share your schematic address by QRCode )":"QR k\xF3d (sd\xEDlejte adresu va\u0161eho sch\xE9ma p\u0159es QR k\xF3d)","Short Url":"Zkr\xE1cen\xE1 URL","Share a copy of this document":"Sd\xEDlet kopii tohoto dokumentu",Readonly:"Pouze pro \u010Dten\xED",Editable:"Editovateln\xFD","Active file's owner project page":"Str\xE1nka aktivn\xEDho souboru vlastn\xEDka projektu","Active project editor page":"Str\xE1nka editoru aktivn\xEDho projektu","Active file image URL":"URL souboru aktivn\xEDho obr\xE1zku","All Projects":"V\u0161echny projekty","Unsaved files":"Neulo\u017Een\xE9 soubory","Please select a file backup!":"Vyberte z\xE1lohu souboru, pros\xEDm!","Are you sure you want to remove this backup?":"Jste si opravdu jisti, \u017Ee chcete odebrat tuto z\xE1lohu?",Search:"Hledat","Search Results":"V\xFDsledky hled\xE1n\xED","Search and press Enter":"Hledejte a stiskn\u011Bte Enter","Search Components,Footprints,Modules":"Hledat komponenty, footprinty, moduly",Assembled:"Sestaveno",Verified:"Ov\u011B\u0159eno","In stock":"Skladem","{page} of {pagecount} pages":"{page} z {pagecount}","EasyEDA Components":"Komponenty EasyEDA","Common Modules":"Obecn\xE9 moduly","User Contributions":"U\u017Eivatelsk\xE9 p\u0159\xEDsp\u011Bvky",More:"V\xEDce","Add Favorite":"P\u0159idat obl\xEDben\xE9","Remove Favorite":"Odebrat obl\xEDben\xE9","Add Sub Part":"P\u0159idat d\xEDl\u010D\xED \u010D\xE1st",Untagged:"Neozna\u010Den\xE9",Package:"Bal\xED\u010Dek",package:"bal\xED\u010Dek","Title(PartNO)":"N\xE1zev (\u010C.d\xEDlu)",Quantity:"Mno\u017Estv\xED","manufacturer Part":"d\xEDl v\xFDrobce",Manufacturer:"V\xFDrobce",manufacturer:"v\xFDrobce",voltage:"nap\u011Bt\xED","Search Libraries":"Hledat v knihovn\xE1ch","LCSC Assembled":"Sestaveno LCSC","User Contributed":"U\u017Eivatelsk\xE1 spolupr\xE1ce","SCH Libs":"Knihovny SCH","PCB Libs":"Knihovny PCB",Follow:"Sledovat",Types:"Typy",Classes:"T\u0159\xEDdy",power:"nap\xE1jen\xED",Power:"Nap\xE1jen\xED","LCSC Part#":"\u010C. d\xEDlu LCSC",Stock:"Skladem","Report Error":"Nahl\xE1sit chybu","report error success":"chyba nahl\xE1\u0161ena","Thanks for your feedback!":"D\u011Bkujeme za zp\u011Btnou vazbu!","report error failure !":"hl\xE1\u0161en\xED chyby selhalo!","The content must be at least 2 characters!":"Mus\xEDte zadat alespo\u0148 2 znaky!","@@lib":{All:"V\u0161e",System:"Syst\xE9mov\xE9",Personal:"Osobn\xED",Created:"Vytvo\u0159en\xE9",Favorite:"Obl\xEDben\xE9","No Team found. Please join or create a team first.":"Nenalezen \u017E\xE1dn\xFD t\xFDm. Nejd\u0159\xEDve se p\u0159ipojte k t\xFDmu nebo zalo\u017Ete nov\xFD, pros\xEDm.","Create a team":"Vytvo\u0159it t\xFDm","No follow user found. Please follow your friend first.":"Nikoho nesledujete. Nejd\u0159\xEDve n\u011Bkoho sledujte, pros\xEDm."},"Favorite Schematic Lib":"Obl\xEDben\xE1 knihovna sch\xE9mat","Favorite Package":"Obl\xEDben\xFD bal\xED\u010Dek","Favorite Module":"Obl\xEDben\xFD modul",BUY:"KOUPIT","In Stock":"Skladem","Out of Stock":"Nen\xED skladem",Capacitance:"Kapacita","Frequency Tolerance":"Tolerance frekvence","Power (Watts)":"V\xFDkon (Watty)","Power - Max":"Maxim\xE1ln\xED v\xFDkon",Frequency:"Frekvence","Voltage Rating(Vdc,Vac)":"Jmenovit\xE9 nap\u011Bt\xED (Vdc, Vac)",Voltage:"Nap\u011Bt\xED","Current Rating":"Jmenovit\xFD proud","Rated current":"Jmenovit\xFD proud","Resistance (Ohms)":"Odpor (Ohm)","Resistance(Ohms)":"Odpor(Ohm)",Inductance:"Indukce","FET Type":"Typ FET","Current Rating(Max)":"Jmenovit\xFD proud (max)","Impedance @ Frequency":"Frekvence impedance","Voltage - Input (Max)":"Vstupn\xED nap\u011Bt\xED (max)","Voltage - Input (Min)":"Vstupn\xED nap\u011Bt\xED (min)","Voltage - Supply":"Nap\xE1jec\xED nap\u011Bt\xED","Voltage - Max":"Nap\u011Bt\xED max","Current - Output":"V\xFDstupn\xED proud","Export your works":"Exportovat va\u0161i pr\xE1ci","Export Option":"Mo\u017Enosti exportu","Active File->pdf(1:1)":"Aktivn\xED soubor -> pdf(1:1)","Active File->image":"Aktivn\xED soubor -> obr\xE1zek","Active File->SVG":"Aktivn\xED soubor -> SVG","You can backup your EasyEDA json file to your local hard disk and import it at any time.":"M\u016F\u017Eete si ulo\u017Eit JSON soubor na v\xE1\u0161 lok\xE1ln\xED disk a kdykoli jej zp\u011Btn\u011B importovat.",Zoom:"P\u0159ibl\xED\u017Eit","Image Type":"Typ obr\xE1zku",Qualify:"Kvalifikovat","0 means real size":"0 znamen\xE1 skute\u010Dnou velikost","Merged layer":"Spojen\xE9 vrstvy","Separated layer":"Odd\u011Blen\xE9 vrstvy",Mirror:"Zrcadlit",TopLayer:"Vrchn\xED vrstva",BottomLayer:"Spodn\xED vrstva",TopSilkLayer:"Vrchn\xED vrstva potisku","Protractor Attributes":"Vlastnosti \xFAhlom\u011Bru",BottomSilkLayer:"Spodn\xED vrstva potisku",BoardOutLine:"Okraj desky",TopAssembly:"Vrchn\xED sestaven\xED",BottomAssembly:"Spodn\xED sestaven\xED",Mechanical:"Mechanika",DocumentLayer:"Vrstva dokumentace",Inner1:"Intern\xED 1",Inner2:"Intern\xED 2",Inner3:"Intern\xED 3",Inner4:"Intern\xED 4","Full Color":"Pln\xE1 barva","Canvas Setting":"Nastaven\xED pl\xE1tna","Assembly Drawings":"Mont\xE1\u017En\xED v\xFDkres","Invalid file format":"Neplatn\xFD form\xE1t souboru","Failed to export file":"Export souboru selhal","Download now":"St\xE1hnout","Wire Width":"\u0160\xED\u0159ka spoje",Sheet:"Se\u0161it","Merged sheet":"Spojen\xE9 se\u0161ity","Separated sheet":"Odd\u011Blen\xE9 se\u0161ity","@@exportDocument":{Size:"Velikost"},"Confirm Importing changes information":"Potvrdit informace o zm\u011Bn\xE1ch importu","You can't undo this operation, Please run a DRC after this operation.":"Tuto operaci nem\u016F\u017Eete vz\xEDt zp\u011Bt. Spus\u0165te pak DRC, pros\xEDm.","Apply Changes":"Pou\u017E\xEDt zm\u011Bny","This is a simple DRC.":"Toto je jednoduch\xE9 DRC.","It just can help you to find the obvious errors":"Pom\u016F\u017Ee v\xE1m naj\xEDt b\u011B\u017En\xE9 chyby.",Configured:"Zobrazit","Layer Name":"N\xE1zev vrstvy",TopPasterLayer:"Vrchn\xED vrstva lepidla",BottomPasterLayer:"Spodn\xED vrstva lepidla",TopSolderLayer:"Vrchn\xED vrstva p\xE1jky",BottomSolderLayer:"Spodn\xED vrstva p\xE1jky",TopPasteMaskLayer:"Vrchn\xED vrstva masky lepidla",BottomPasteMaskLayer:"Spodn\xED vrstva masky lepidla",TopSolderMaskLayer:"Vrchn\xED vrstva masky p\xE1jky",BottomSolderMaskLayer:"Spodn\xED vrstva masky p\xE1jky",Ratlines:"Vod\xEDc\xED \u010D\xE1ry spoj\u016F",BoardOutline:"Oblast desky","Multi-Layer":"Multi-vrstva",Document:"Dokumentace",Hole:"D\xEDra",DRCError:"DRC chyba",Setting:"Nastaven\xED","Drawing area":"Oblast kreslen\xED","Export area":"Oblast exportu","Create Files":"Vytvo\u0159it soubory","Check your {0}Gerber files{1} carefully before sending them to the factory":"P\u0159ed odesl\xE1n\xEDm do v\xFDroby zkontrolujte va\u0161e {0}Gerber soubory{1}, pros\xEDm.","Download free Gerber Viewer (gerbv)":"St\xE1hnout zdarma prohl\xED\u017Ee\u010D Gerber soubor\u016F","Before generating the Gerber files":"P\u0159ed generov\xE1n\xEDm Gerber soubor\u016F","Please check the packages size and orientation carefully.":"Zkontrolujte velikost bal\xED\u010Dk\u016F a orientaci.","Please check for DRC errors in the Design Manager.":"Zkontrolujte DRC chyby ve spr\xE1vci n\xE1vrhu.","Please rebuild the copper area after modifying tracks and packages.":"Obnovte oblast m\u011Bdi pot\xE9, co uprav\xEDte cesty a bal\xED\u010Dky.","After generating the Gerber file, please use the {0}Gerber Viewer{1} to check whether it conforms to the design requirements.":"Po vygenerov\xE1n\xED Gerber souboru zkontrolujte v {0}prohl\xED\u017Ee\u010Di Gerber soubor\u016F{1}, zda odpov\xEDd\xE1 po\u017Eadavk\u016Fm n\xE1vrhu.","Order at JLCPCB":"Objednat u JLCPCB",Item:"Polo\u017Eka",Value:"Hodnota",value:"hodnota",Unit:"Jednotka","Track Width":"\u0160\xED\u0159ka cesty","Track to Track":"Mezera mezi cestami","Track to Pad":"Mezera mezi cestou a plo\u0161kou","Pad to Pad":"Mezera mezi plo\u0161kami","Hole to Hole":"Mezera mezi d\xEDrami","Via Hole Size":"Velikost pr\u016Fchodov\xE9 d\xEDry","Realtime DRC":"DRC v re\xE1ln\xE9m \u010Dase","{0} is too small!":"Hodnota {0} je p\u0159\xEDli\u0161 mal\xE1!","Invalid DRC Rule":"Neplatn\xE9 pravidlo DRC","Update the symbol's package":"Aktualizovat symbol bal\xED\u010Dku","Invalid Package":"Neplatn\xFD bal\xED\u010Dek","The package's PAD number is different from the symbol's PIN number, e.g. the diode package's PAD numbers are [A,C] but the symbol's PIN numbers are [1,2]. You just need to change one to fit the other. It is case sensitive!":"\u010C\xEDslo plo\u0161ky bal\xED\u010Dku je odli\u0161n\xE9 od \u010D\xEDsla pinu symbolu, nap\u0159. \u010D\xEDsla plo\u0161ky diody jsou [A,C] ale \u010D\xEDsla pinu jsou [1,2]. Mus\xEDte prov\xE9st opravu pouze u jednoho z nich, aby bylo v\u0161e v po\u0159\xE1dku. Pozor na velikost znak\u016F.","Update PCB(Synchronizing PCB from schematics)":"Aktualizovat PCB (Synchronizovat PCB na z\xE1klad\u011B sch\xE9ma)","Hotkey Setting":"Nastaven\xED rychl\xFDch kl\xE1ves","Document Type":"Typ dokumentu",Shortcut:"Zkratka",Function:"Funkce",ALL:"V\u0160E","Rotate selected objects":"Oto\u010Dit vybran\xE9 objekty","Scroll Or Move selected left":"Posunout vybran\xE9 vlevo","Scroll or Move selected right":"Posunout vybran\xE9 vpravo","Scroll or Move selected up":"Posunout vybran\xE9 nahoru","Scroll or Move selected down":"Posunout vybran\xE9 dol\u016F","Cross Document Paste":"Cross document paste","Explore & Find Components":"Prozkoumat a naj\xEDt komponenty","Select All":"Vybrat v\u0161e","Cancel current drawing":"Zru\u0161it aktu\xE1ln\xED n\xE1kres",Save:"Ulo\u017Eit","Drag Tool":"N\xE1stroj p\u0159eta\u017Een\xED","Draw Wire":"Nakreslit spoj","Draw Bus":"Nakreslit sb\u011Brnici",NetLabel:"\u0160t\xEDtek spoje","NetFlag VCC":"Zna\u010Dka spoje VCC","NetFlag GND":"Zna\u010Dka spoje GND","NetFlag +5v":"Zna\u010Dka spoje +5V","Draw Polyline":"Nakreslit spojovac\xED \u010D\xE1ru","Draw Polygon":"Nakreslit polygon","Draw Bezier":"Nakreslit b\xE9zierovou k\u0159ivku","Draw Arc":"Nakreslit \xFAhel","Draw Rect":"Nakreslit obd\xE9ln\xEDk","Draw Ellipse":"Nakreslit elipsu","Freehand Draw":"Ru\u010Dn\xED kreslen\xED","Draw Text":"Nakreslit text","Edit Selected Symbol":"Upravit vybran\xFD symbol","Draw Track":"Nakreslit cestu","Draw Circle":"Nakreslit kruh","Draw Dimension":"Nakreslit rozm\u011Br","Draw Connect":"Nakreslit spojen\xED","Draw CopperArea":"Nakreslit oblast m\u011Bdi","Change To TopLayer":"P\u0159epnout na vrchn\xED vrstvu","Change To BottomLayer":"P\u0159epnout na spodn\xED vrstvu","Change To Inner1":"P\u0159epnout na vrstvu Intern\xED 1","Change To Inner2":"P\u0159epnout na vrstvu Intern\xED 2","Change To Inner3":"P\u0159epnout na vrstvu Intern\xED 3","Change To Inner4":"P\u0159epnout na vrstvu Intern\xED 4","Highlight Net":"Zv\xFDraznit spoj","Place Pad":"Um\xEDstit plo\u0161ku","Place Via":"Um\xEDstit pr\u016Fchod",Measure:"Zm\u011B\u0159it","Change Route Angle":"Zm\u011Bnit \xFAhel cesty","Decrease Routing Width":"Zmen\u0161it \u0161\xED\u0159ku cesty","Increase Routing Width":"Zv\u011Bt\u0161it \u0161\xED\u0159ku cesty","Decrease Snap Size":"Zmen\u0161it velikost uchycen\xED","Increase Snap Size":"Zv\u011Bt\u0161it velikost uchycen\xED","Remove All Copper Area":"Odebrat celou oblast m\u011Bdi","Rebuild All Copper Area":"Obnovit oblast m\u011Bdi","Toggle PCB Net Display":"Zobrazit PCB spoj","New Project":"Nov\xFD projekt","New Schematic":"Nov\xE9 sch\xE9ma","New PCB":"Nov\xE9 PCB","New Spice Subckt":"Nov\xFD Spice Subckt",Modify:"Upravit","Add sub part":"P\u0159idat d\xEDl\u010D\xED \u010D\xE1st",Clone:"Duplikovat","Contribute your components to EasyEDA":"Poskytnout komponenty EasyEDA","Version History":"Historie verze","Edit Project":"Upravit projekt","View Project Page":"Zobrazit str\xE1nku projektu","Download Project":"St\xE1hnout projekt","Reject Sharing":"Odm\xEDtnout sd\xEDlen\xED","Refresh List":"Obnovit seznam","Create New Project":"Vytvo\u0159it nov\xFD projekt","Version Control":"Kontrola verze","Packages Verification":"Kontrola bal\xED\u010Dk\u016F","Reload parts":"Obnovit \u010D\xE1sti",Layers:"Vrstvy","Display Name":"Zobrazit n\xE1zev","Document Recovery Setting":"Nastaven\xED obnovy dokumentu","Maximum backup level":"Maxim\xE1ln\xED \xFArove\u0148 z\xE1lohy","Auto backup(minutes)":"Automatick\xE1 z\xE1loha (v minut\xE1ch)","Save to Server":"Ulo\u017Eit na server","Load from Server":"Na\u010D\xEDst ze serveru","Schematic Library Wizard":"Pr\u016Fvodce knihovnou sch\xE9ma",Style:"Styl",Picture:"Obr\xE1zek","Pin Names":"N\xE1zvy pinu","Please assign the package in the right hand panel after creating the symbol.":"Jakmile vytvo\u0159\xEDte symbol, p\u0159i\u0159a\u010Fte bal\xED\u010Dek na prav\xE9 stran\u011B panelu, pros\xEDm.",Contributor:"P\u0159isp\u011Bvatel",contributor:"p\u0159isp\u011Bvatel",Annotate:"Anotovat",Scope:"Prostor","Active Schematic only":"Pouze aktivn\xED sch\xE9mata","All Opened Schematics":"V\u0161echna otev\u0159en\xE1 sch\xE9mata",Method:"Metoda","Re-annotate all":"Obnovit v\u0161echny anotace","Keep existing annotation":"Zachovat p\u016Fvodn\xED anotaci",Direction:"Sm\u011Br",Rows:"\u0158\xE1dky",Cols:"Sloupce","Order...":"Objednat...","Order your PCB from EasyEDA":"Objednat PCB z EasyEDA","PCB Qty.":"Po\u010Det PCB","PCB Thickness":"Tlou\u0161\u0165ka PCB","PCB Dimension":"Rozm\u011Br PCB","Automatic calculation":"Automatick\xE1 kalkulace","PCB Color":"Barva PCB",Green:"Zelen\xE1",White:"B\xEDl\xE1",Blue:"Modr\xE1",Red:"\u010Cerven\xE1",Yellow:"\u017Dlut\xE1",Black:"\u010Cern\xE1",Purple:"Nachov\xE1",Copper:"M\u011B\u010F",Gold:"Zlato",Silver:"St\u0159\xEDbro","Surface Finish":"Fin\xE1ln\xED povrch","Hasl(Lead Free)":"Hasl (bezolovnat\xE9)","Open Project":"Otev\u0159\xEDt projekt","Shipping Cost":"Po\u0161tovn\xE9","Cost Estimate":"Odhad n\xE1klad\u016F","Actual cost will be confirmed by email.":"Aktu\xE1ln\xED cena bude potvrzena emailem.","Shipping information":"Doru\u010Dovac\xED adresa",Address:"Adresa","ZIP/Post code":"PS\u010C",City:"Obec",Country:"Zem\u011B","After filling out the form above, we will email you with (i) the results of the design rule check, (ii) a quote and (iii) a payment link using Paypal. Shipping is normally one week from receipt of payment.":"Jakmile vypln\xEDte formul\xE1\u0159, ode\u0161leme v\xE1m na email (i) v\xFDsledky z kontroly n\xE1vrhu, (ii) prohl\xE1\u0161en\xED a (iii) odkaz na platbu p\u0159es Paypal. Doru\u010Den\xED obvykle trv\xE1 1 t\xFDden od obdr\u017Een\xED platby.","Restore All Default Shortcuts":"Obnovit v\u0161echny v\xFDchoz\xED zkratky","Save Changes":"Ulo\u017Eit zm\u011Bny","To connect electrical elements, please use Wire (W hotkey) and not Line (L hotkey).":"Pro spojen\xED elektrick\xFDch element\u016F pou\u017Eijte Spoj (kl\xE1vesa W) a ne \u010C\xE1ru (kl\xE1vesa L).","Anonymous File":"Anonymn\xED soubor","Anonymous File can not be cloned, but you can open it, then save it as a new file.":"Anonymn\xED soubor nelze duplikovat, ale m\u016F\u017Eete jej otev\u0159\xEDt a ulo\u017Eit jako nov\xFD soubor.","You must close the file before delete it!":"Soubor mus\xEDte nejd\u0159\xEDve zav\u0159\xEDt, ne\u017E ho sma\u017Eete.",Confirmation:"Potvrzen\xED",Alert:"Upozorn\u011Bn\xED",Information:"Informace",information:"informace",Prompt:"V\xFDzva",Error:"Chyba",error:"chyba","error!":"chyba!",Warning:"Varov\xE1n\xED","Imported ok!":"Importov\xE1no!","Some changes have not been saved.":"N\u011Bkter\xE9 zm\u011Bny se nepoda\u0159ilo ulo\u017Eit.","Your file hasn't been saved. Please save first!":"V\xE1\u0161 soubor nebyl ulo\u017Een. Nejd\u0159\xEDve jej ulo\u017Ete!","Your file hasn't been saved. Are you sure you want to close it?":"V\xE1\u0161 soubor nebyl ulo\u017Een. Jste si jisti, \u017Ee jej chcete zav\u0159\xEDt?","Error! Please try again later.":"Chyba! Zkuste pozd\u011Bji, pros\xEDm.","Are you sure you want to reload this page?":"Jste si jisti, \u017Ee chcete obnovit str\xE1nku?","Are you sure you want to leave this page?":"Jste si jisti, \u017Ee chcete opustit str\xE1nku?","Confirm Reload":"Potvrdit obnovu","Confirm Close":"Potvrdit zav\u0159en\xED","Leave this page":"Opustit str\xE1nku","Stay on this page":"Z\u016Fstat na str\xE1nce","Don't reload":"Neobnovovat","Load failure!":"Na\u010Dten\xED selhalo!","Load projects failed":"Na\u010Dten\xED projekt\u016F selhalo","error info":"informace o chyb\u011B","error information":"informace o chyb\u011B","Guest can't create a new project. Please login!":"Host\xE9 nem\u016F\u017Eou vytv\xE1\u0159et nov\xE9 projekty.","Please create a project before you do this!":"Nejd\u0159\xEDve opravte projekt, pros\xEDm.","Add Part success":"D\xEDl p\u0159id\xE1n","Click the new part and then edit it!":"Klikn\u011Bte na nov\xFD d\xEDl a potom upravte!","Delete my work":"Smazat mou pr\xE1ci","Delete my work. (Only deletes it from this list but not from the server)":"Smazat mou pr\xE1ci. (Odebere pouze ze seznamu, ale nesma\u017Ee ze serveru)","Do you confirm this?":"Chcete to potvrdit?","Delete successfully!":"Smaz\xE1no!","Cloning success!":"Duplikov\xE1no!","Your title is too short!":"N\xE1zev je p\u0159\xEDli\u0161 kr\xE1tk\xFD!","Remove this part":"Odebrat d\xEDl","Find and Jump to ...":"Naj\xEDt a p\u0159ej\xEDt na...","Please type the prefix, such as U1, R1, C1":"Zadejte preefix, pros\xEDm, nap\u0159. U1, R1, C1","Zoom as 1:1, you can print it and then create artwork for etching the PCB.":"Zv\u011Bt\u0161it na 1:1, m\u016F\u017Eete vytisknout a pou\u017E\xEDt pro vylept\xE1n\xED PCB.","Exporting your works!":"Exportuji va\u0161i pr\xE1ci!","Guests can't import a file. Please login!":"Host\xE9 nemohou importovat soubory.","Please create a project before you import a file!":"P\u0159ed importem souboru mus\xEDte nejd\u0159\xEDve vytvo\u0159it projekt.","Import your LTspice file!":"Import LTspice souboru!","Saved successfully!":"Ulo\u017Eeno!","Save failed!":"Ulo\u017Een\xED selhalo!","Can not place parts into this document.":"Nemohu vlo\u017Eit d\xEDl do tohoto dokumentu.","User Package":"U\u017Eivatelsk\xFD bal\xED\u010Dek","System Package":"Syst\xE9mov\xFD bal\xED\u010Dek","File error":"Chyba v souboru","Please save your file first!":"Nejd\u0159\xEDve ulo\u017Ete soubor, pros\xEDm!","Email address is too short!":"Adresa emailu je p\u0159\xEDli\u0161 kr\xE1tk\xE1!","You have not selected a file to upload.":"Nevybrali jste \u017E\xE1dn\xFD soubor pro nahr\xE1n\xED.",Update:"Aktualizovat","No changes":"\u017D\xE1dn\xE9 zm\u011Bny","PCB is the same as SCH!":"PCB je stejn\xE9 jako SCH!","Only public files can be shared":"Sd\xEDlet m\u016F\u017Eete pouze ve\u0159ejn\xE9 soubory","Conversion to PCB has failed!":"Konverze na PCB selhala!","Your username is too short!":"Va\u0161e u\u017Eivatelsk\xE9 jm\xE9no je p\u0159\xEDli\u0161 kr\xE1tk\xE9!","Your password is too short, it must be more than 6 characters!":"Va\u0161e heslo je p\u0159\xEDli\u0161 kr\xE1tk\xE9, mus\xED obsahovat alespo\u0148 6 znak\u016F!","Conflicting shortcut":"Konflikt ve zkratk\xE1ch","There is an empty PCB file. Please first run Convert Project To PCB... from the schematic":"PCB soubor je pr\xE1zdn\xFD. Nejprve p\u0159eve\u010Fte projekt na PCB, pros\xEDm","This file has been modified, are you sure you want to run this simulation before saving it first?":"Soubor byl zm\u011Bn\u011Bn. Opravdu chcete p\u0159ed ulo\u017Een\xEDm spustit tuto simulaci?","Please enter the Maximum Timestep!":"Zadejte Maxim\xE1ln\xED \u010Dasov\xFD krok, pros\xEDm!","Please enter the Stop Time!":"Zadejte Kone\u010Dn\xFD \u010Das, pros\xEDm.","All of these fields are needed.":"V\u0161echna pole jsou povinn\xE1.","Either your spice netlist is too big or the server is busy. Please try again later.":"Bu\u010F je v\xE1\u0161 seznam netlist p\u0159\xEDli\u0161 velk\xFD nebo je server zanepr\xE1zdn\u011Bn. Zkuste pozd\u011Bji.","Your spice netlist is too big! Try breaking your circuit into smaller simulatable blocks.":"V\xE1\u0161 seznam spice netlist je p\u0159\xEDli\u0161 velk\xFD! Zkuste rozd\u011Blit v\xE1\u0161 obvod na men\u0161\xED bloky.","Too many users in simulation. Please try again later!":"P\u0159\xEDli\u0161 mnoho u\u017Eivatel\u016F vyu\u017E\xEDv\xE1 simulaci. Zkuste pozd\u011Bji!","Due to limited server resources, please wait 2 minutes for the interval in every time simulation.":"Kv\u016Fli omezen\xFDm zdroj\u016Fm na serveru je mo\u017En\xE9 spou\u0161t\u011Bt simulaci ka\u017Ed\xE9 2 minuty.","Your simulation results are too large! Try reducing the total simulation time (Stop Time - Start Time), increasing the maximum time step, removing some of your probes or breaking your circuit into smaller simulatable blocks.":"V\xFDsledky simulace jsou p\u0159\xEDli\u0161 velk\xE9! Zkuste sn\xED\u017Eit dobu simulace (Po\u010D\xE1te\u010Dn\xFD \u010Das a Koncov\xFD \u010Das), zv\xFD\u0161it maxim\xE1ln\xED \u010Dasov\xFD krok, odebrat n\u011Bkter\xE9 sondy nebo rozd\u011Blit obvod na men\u0161\xED \u010D\xE1sti.","Demo accounts don't support simulation, please login first":"Demo \xFA\u010Det nepodporuje simulace, p\u0159ihlaste se pros\xEDm.","Please login first":"P\u0159ihlaste se, pros\xEDm","The schematic is showing errors, please check the simulation report carefully!":"Sch\xE9ma vykazuje chyby, zkontrolujte report simulace, pros\xEDm!","Simulation too long, maybe your schematic is too complex.":"Simulace trv\xE1 p\u0159\xEDli\u0161 dlouho, mo\u017En\xE1 je va\u0161e sch\xE9ma p\u0159\xEDli\u0161 komplexn\xED.","Load your preferences success!":"Nastaven\xED na\u010Dten\xE9!","Save preferences successfully!":"Nastaven\xED ulo\u017Een\xE9!","Update subckt ok!":"Aktualizace Subckt v po\u0159\xE1dku!","Please type a new file name":"Zadejte nov\xFD n\xE1zev souboru, pros\xEDm","Create file failure!":"Vytvo\u0159en\xED souboru selhalo!","Schematics and PCBs can't be imported under My Libs folder, please choose a different folder":"Sch\xE9mata a PCB nem\u016F\u017Eete importovat do slo\u017Eky Moje knihovny, vyberte jinou slo\u017Eku.","Libraries to be imported under My Libs folder":"Knihovny importovan\xE9 ve slo\u017Ece Moje knihovny","Please choose only the libraries needed":"Vyberte pouze pot\u0159ebn\xE9 knihovny, pros\xEDm","Maximum import is 200 libs at one time!":"Maxim\xE1ln\u011B lze importovat 200 knihoven.","You libraries will be found under the My Libs folder":"Va\u0161e knihovny lze naj\xEDt ve slo\u017Ece Moje knihovny","Add to Library":"P\u0159idat do knihovny","No items have been checked!":"Nebyly zkontrolovan\xE9 \u017E\xE1dn\xE9 polo\u017Eky!","Nothing was found, please create it for yourself":"Nic nebylo nalezeno, vytvo\u0159te si s\xE1m, pros\xEDm.","Search result":"V\xFDsledek hled\xE1n\xED","At least 3 characters needed":"Je t\u0159eba zadat alespo\u0148 3 znaky","Add to my Favorite Parts":"P\u0159idat do m\xFDch Obl\xEDben\xFDch d\xEDl\u016F","Added it OK. Please find it in your Favorite Parts":"P\u0159id\xE1no. V\xEDce najdete v Obl\xEDben\xFDch d\xEDlech","Please select its parent node":"Vyberte nad\u0159\xEDzen\xFD uzel, pros\xEDm","Libraries can not be exported as active project pdf.":"Knihovny nelze exportovat jako aktivn\xED projekt pdf.","Circuit does not have a GND":"Obvod nem\xE1 GND (uzemn\u011Bn\xED)","Circuit does not have a probe":"Obvod nem\xE1 sondu","Make sure your pin numbers are even numbers":"Ujist\u011Bte se, \u017Ee \u010D\xEDsla pin\u016F jsou sud\xE1","Duplicate Components Prefix":"Duplikovat prefix komponent","{0} exist":"{0} ji\u017E existuje","There are some invalid packages, are you sure?":"Existuj\xED neplatn\xE9 bal\xED\u010Dky, chcete pokra\u010Dovat?","Invalid Characters, library only allows [0-9a-zA-Z-_]":"Neplatn\xE9 znaky, knihovna povoluje pouze [0-9a-zA-Z-_]","Annotation success":"Anotov\xE1no","If you accept this annotation operation, please save your files. If not, close your files without saving.":"Pokud chcete p\u0159ijmout anotaci, ulo\u017Ete soubor. Jinak jej zav\u0159ete bez ulo\u017Een\xED.","This file can't be saved under libs project. Please choose other project or create a new project":"Tento soubor nelze ulo\u017Eit do knihoven projektu. Vyberte jin\xE9 um\xEDst\u011Bn\xED nebo vytvo\u0159te nov\xFD projekt.","Your file is unsaved.":"Soubor nen\xED ulo\u017Een.","You can close the editor now. Have a good day!":"Nyn\xED m\u016F\u017Eete zav\u0159\xEDt editor. P\u0159ejeme hezk\xFD den!","Logout Successfully!":"\xDAsp\u011B\u0161n\xE9 odhl\xE1\u0161eno","You have at least one unsaved file open. Please save it or close it.":"M\xE1te alespo\u0148 jeden neulo\u017Een\xFD soubor. Ulo\u017Ete jej, nebo zav\u0159ete, pros\xEDm.","Please save your file before this operation":"Nejd\u0159\xEDve ulo\u017Ete soubor, pros\xEDm.","Please open a PCB document":"Otev\u0159ete PCB dokument, pros\xEDm","Please save your file before '{0}'.":"Nejd\u0159\xEDve ulo\u017Ete soubor '{0}', pros\xEDm.","Please try again after saving this file.":"Zkuste znovu, jakmile ulo\u017E\xEDte soubor, pros\xEDm.","Connecting to server":"P\u0159ipojuji se na server","Please login before asking for help":"Nejd\u0159\xEDve se p\u0159ihlaste, ne\u017E budete \u017E\xE1dat po pomoc.","This file has been modified, please save it first!":"Soubor byl zm\u011Bn\u011Bn, nejd\u0159\xEDve jej ulo\u017Ete, pros\xEDm!","Remove this param":"Odebrat parametr","Click on an object to select then click on the canvas to place it":"Abyste mohli um\xEDstit objekt, nejd\u0159\xEDve jej vyberte a pak klikn\u011Bte na pl\xE1tno.","Undo/Redo temporary error":"Do\u010Dasn\xE1 chyba pro Zp\u011Bt/Vr\xE1tit zp\u011Bt","We are sorry but EasyEDA is exhibiting an unpredictable error in the undo/redo process. This problem will be fixed soon but in the meanwhile it is safe to continue working on your design.":"Omlouv\xE1me se, ale v EasyEDA nastala neo\u010Dek\xE1van\xE1 chyba v procesu zp\u011Bt/vr\xE1tit zp\u011Bt. Tento probl\xE9m bude brzy opraven, ale te\u010F je bezpe\u010Dn\xE9 pokra\u010Dovat v pr\xE1ci ve va\u0161em n\xE1vrhu.","The schematic has duplicate prefixes of the components, please make them unique. You can check them using the Design Manager.":"Sch\xE9ma obsahuje duplikovan\xE9 prefixy komponent, zajist\u011Bte jedine\u010Dnost, pros\xEDm.","Please click the below help button to find out how to fix this problem.":"Pokud nev\xEDte, jak probl\xE9m vy\u0159e\u0161it, klikn\u011Bte na tla\u010D\xEDtko s n\xE1pov\u011Bdou.","Please create a board outline! Click the help button to find out how to create a board outline.":"Vytvo\u0159te oblast (okraje) desky, pros\xEDm. Pokud nev\xEDte jak, klikn\u011Bte na tla\u010D\xEDtko s n\xE1pov\u011Bdou.","Can not fetch files from server, please check your network and try again":"Nem\u016F\u017Eu z\xEDskat soubory ze serveru, zkontrolujte nastaven\xED s\xEDt\u011B a zkuste znovu, pros\xEDm.","Please open a schematic first!":"Nejd\u0159\xEDve otev\u0159ete sch\xE9ma, pros\xEDm!","Can not find the schematic of this PCB":"Nem\u016F\u017Eu naj\xEDt sch\xE9ma PCB","Anonymous PCB file does not support this operation, please login and save it under your project":"Anonymn\xED PCB nepodporuj\xED tuto operaci. P\u0159ihlaste se, pros\xEDm, a ulo\u017Ete do projektu.","invalid points!":"neplatn\xE9 body!","This file does not support this operation.":"Tento soubor danou operaci nepodporuje.","Net Name Conflict":"Konflikt v n\xE1zvu spoje","Net name":"N\xE1zev spoje","{0} are in the same wire, please remove others and just keep one.":"{0} jsou ve stejn\xE9m spoji. Odeberte je a ponechte pouze jeden.","This field can't be removed!":"Toto pole nelze odstranit!","Annular ring of the pad/via is too small":"V\u011Bnec plo\u0161ky/pr\u016Fchodu je p\u0159\xEDli\u0161 mal\xFD","This project already has at least one schematic sheet. When converting to PCB, EasyEDA merges all schematics under the same project. One project does not allow two copies of the same schematic. Please do not save backups into projects to be converted to PCB.":"Projekt ji\u017E obsahuje alespo\u0148 jeden se\u0161it se sch\xE9matem. Pokud p\u0159ev\xE1d\xEDte sch\xE9ma na PCB, EasyEDA spoj\xED v\u0161echna sch\xE9mata do stejn\xE9ho projektu. Jeden projekt neumo\u017E\u0148uje, aby obsahoval dv\u011B stejn\xE9 kopie sch\xE9mat. Neukl\xE1dejte z\xE1lohy do projekt\u016F, u kter\xFDch budete p\u0159ev\xE1d\u011Bt PCB, pros\xEDm.","Are you sure you want to create a multi-sheet designs?":"Jste si jisti, \u017Ee chcete vytvo\u0159it v\xEDcen\xE1sobn\xFD n\xE1vrh?","Are you sure you want to create a {0}multi-sheet designs{1}?":"Jste si jisti, \u017Ee chcete vytvo\u0159it {0}v\xEDcen\xE1sobn\xFD n\xE1vrh{1}?","EasyEDA does not allow inner board outlines to form cut-outs, please use Fill Region or Hole":"EasyEDA neumo\u017E\u0148uje pou\u017E\xEDt vnit\u0159n\xED hrany desky pro v\xFD\u0159ezy, pou\u017Eijte Pevnou oblast nebo D\xEDry, pros\xEDm.","Please build the copper area! Click the help button to find out how to build the copper area.":"Sestavte oblast m\u011Bdi, pros\xEDm! Pokud nev\xEDte jak, klikn\u011Bte na tla\u010D\xEDtko s n\xE1pov\u011Bdou.","You are advised to set a package for this component now!":"Doporu\u010Dujeme, abyste nastavil pro tuto komponentu bal\xED\u010Dek.","Please select an opened document first.":"Vyberte otev\u0159en\xFD dokument, pros\xEDm.","Some files failed to load. Please reload the page.":"N\u011Bkter\xE9 soubory ne\u0161lo nahr\xE1t. Obnovte str\xE1nku, pros\xEDm.","We are heading to EasyEDA online components store LCSC.com. $10 off (code: WELCOMELCSC) on your first parts order, freight including!":"Sm\u011Brujeme v\xE1s do online obchodu LCSC.com od EasyEDA. Sleva $10 (k\xF3d: WELCOMELCSC) pro va\u0161i prvn\xED objedn\xE1vku d\xEDl\u016F, v\u010Detn\u011B n\xE1klad\u016F na dopravu!",Skip:"P\u0159esko\u010Dit","\xAB Back":"\xAB Zp\u011Bt","Next \xBB":"Pokra\u010Dovat \xBB",Done:"Hotovo","This is the user management menu.":"Toto je spr\xE1va u\u017Eivatele.","This is the toolbar.":"Toto je n\xE1strojov\xE1 li\u0161ta.","This is the navigation list. Under here you can find projects, files, parts and libraries.":"Toto je naviga\u010Dn\xED seznam. Zde m\u016F\u017Eete naj\xEDt projekty, soubory, d\xEDly a knihovny.","Show or hide the toolbar to the top of the window here.":"Zobrazit nebo skr\xFDt n\xE1strojovou li\u0161tu nahoru k oknu.","Show, resize or hide the left sidebar to the left of the window here.":"Zobrazit, zm\u011Bnit velikost nebo skr\xFDt lev\xFD postrann\xED panel k lev\xE9 stran\u011B okna.","Show or hide the right sidebar to the right of the window here.":"Zobrazit nebo skr\xFDt prav\xFD postrann\xED panel k prav\xE9 stran\u011B okna.","Passive Components":"Pasivn\xED komponenty","Power Supply":"Zdroj nap\xE1jen\xED",Diodes:"Diody",Regulator:"Regul\xE1tory",Transistor:"Tranzistory",Transformers:"Transform\xE1tory",Gates:"Br\xE1ny","Vacuum Tubes":"Elektronky",Switch:"P\u0159ep\xEDna\u010De",Relay:"Rel\xE9","Capacitor(US)":"Kondenz\xE1tory (US)","Capacitor(EU)":"Kondenz\xE1tory (EU)","Capacitor(EU)2":"Kondenz\xE1tory (EU)2","Electrolytic Capacitor(US)":"Elektrolytick\xE9 kondenz\xE1tory (US)","Electrolytic Capacitor(EU)":"Elektrolytick\xE9 kondenz\xE1tory (EU)","Electrolytic Capacitor(US)2":"Elektrolytick\xE9 kondenz\xE1tory (US)2","Electrolytic Capacitor(EU)2":"Elektrolytick\xE9 kondenz\xE1tory (EU)2","Inductor(US)":"Induktory (US)","Inductor(EU)":"Induktory (EU)","Potentiometer(US)":"Potenciometry (US)","Potentiometer(EU)":"Potenciometry (EU)","Resistor(US)":"Odpory (US)","Resistor(EU)":"Odpory (EU)","Resistor 45 Deg(US)":"Odpory 45\xB0 (US)","Resistor 45 Deg(EU)":"Odpory 45\xB0 (EU)","Variable Capacitor(US)":"Variabiln\xED kondenz\xE1tory (US)","Variable Capacitor(EU)":"Variabiln\xED kondenz\xE1tory (EU)","Variable Resistor(US)":"Variabiln\xED odpory (US)","Variable Resistor(EU)":"Variabiln\xED odpory (EU)","Variable Inductor(US)":"Variabiln\xED induktory (US)","Variable Inductor(EU)":"Variabiln\xED induktory (EU)",Varistor:"Varistory","Inductor2(US)":"Induktory 2 (US)","Inductor2(EU)":"Induktory 2 (EU)",Battery:"Baterie","Voltage Source":"Zdroje nap\xE1jen\xED","Current Source":"Zdroje proudu","CCCS(Current Controlled Current Source)":"CCCS (Proudov\u011B \u0159\xEDzen\xFD zdroj proudu)","CCCS2(Current Controlled Current Source)":"CCCS2 (Proudov\u011B \u0159\xEDzen\xFD zdroj proudu)","VCCS(Voltage Controlled Current Source)":"VCCS (Nap\u011B\u0165ov\u011B \u0159\xEDzen\xFD zdroj proudu)","VCVS(Voltage Controlled Voltage Source)":"VCVS (Nap\u011B\u0165ov\u011B \u0159\xEDzen\xFD zdroj nap\u011Bt\xED)","CCVS(Current Controlled Voltage Source)":"CCVS (Proudov\u011B \u0159\xEDzen\xFD zdroj nap\u011Bt\xED)","CCVS2(Current Controlled Voltage Source)":"CCVS2 (Proudov\u011B \u0159\xEDzen\xFD zdroj nap\u011Bt\xED)","BV(Behavioral Voltage Sources)":"BV (Behavior\xE1ln\xED zdroje nap\u011Bt\xED)","BI(Behavioral Voltage Sources)":"BI (Behavior\xE1ln\xED zdroje nap\u011Bt\xED)","Epoly(Non-linear Voltage Source)":"Epoly (Neline\xE1rn\xED zdroje nap\u011Bt\xED)","Gpoly(Non-linear Current Source)":"Gpoly (Neline\xE1rn\xED zdroje nap\u011Bt\xED)",Diode:"Dioda","Schottky Diode":"Dioda Schottky","Varactor Diode":"Dioda Varactor",Zener:"Zener dioda","Unidirectional TVS Diode":"Jednosm\u011Brn\xE1 TVS dioda","Bidirectional TVS Diode":"Obousm\u011Brn\xE1 TVS dioda","BJT(NPN)":"BJT (NPN)","BJT(PNP)":"BJT (PNP)","MOSFET(Nch)":"MOSFET (Nch)","Transform(US)":"M\u011Bni\u010D(US)","Transform(EU)":"M\u011Bni\u010D(EU)","Transfrom(NEUTRAL-CTR TAP)(US)":"M\u011Bni\u010D(NEUTRAL-CTR TAP)(US)","Transfrom(NEUTRAL-CTR TAP)(EU)":"M\u011Bni\u010D(NEUTRAL-CTR TAP)(EU)","Mutual Inductors":"Vz\xE1jemn\xE9 induktory","Mutual Inductors2":"Vz\xE1jemn\xE9 induktory2","Or Gate":"Br\xE1na OR","Xor Gate":"Br\xE1na XOR","And Gate":"Br\xE1na AND","Nor Gate":"Br\xE1na NOR","Nand Gate":"Br\xE1na NAND","Not Gate":"Br\xE1na NOT","Xnor Gate":"Br\xE1na XNOR","Tube Diode":"Trubkov\xE1 dioda","Tube Triode":"Trubkov\xE1 trioda","Tube Tetrode":"Trubkov\xE1 tetroda","Tube Pentode":"Trubkov\xE1 pentoda","Voltage Controlled Switch":"P\u0159ep\xEDna\u010D \u0159\xEDzen\xFD nap\u011Bt\xEDm","Current Controlled Switch":"P\u0159ep\xEDna\u010D \u0159\xEDzen\xFD proudem",Fuse:"Pojistka","555(Style2)":"555(Styl2)",Speaker:"Reproduktor","5pin Operational Amplifier":"Opera\u010Dn\xED zesilova\u010D 5pin","3pin Operational amplifier":"Opera\u010Dn\xED zesilova\u010D 3pin","Transmission Line":"P\u0159enosov\xE9 veden\xED",Voltmeter:"Voltmetr",Ammeter:"Amp\xE9rmetr","Opto Transistor":"Opto tranzistor","Keep these fields empty if you just want to build a symbol":"Pokud chcete sestavit symbol, ponechte toto pole pr\xE1zdn\xE9","Need login":"Je pot\u0159eba se p\u0159ihl\xE1sit","Bad password":"\u0160patn\xE9 heslo","We can't find your username or your email, please check it!":"Nem\u016F\u017Eeme naj\xEDt zadan\xE9 u\u017Eivatelsk\xE9 jm\xE9no nebo email.","Make sure your uploaded file size is less than 3MB!":"Ujist\u011Bte se, \u017Ee nahr\xE1v\xE1te soubor men\u0161\xED jak 3 MB!","Bad file type":"\u0160patn\xFD typ souboru","Empty file or bad file type, ensure your file is Eagle 6.0+":"Soubor je pr\xE1zdn\xFD nebo nen\xED spr\xE1vn\xE9ho typu, ujist\u011Bte se, \u017Ee soubor je typu Eagle 6.0 a v\xFD\u0161.","This operation not supported on demo account":"Tuto operaci nelze prov\xE9st v demo \xFA\u010Dtu","Can not share this file under a private project, please set the active project to public!":"Tento soubor nelze sd\xEDlet v soukrom\xE9m projektu, p\u0159epn\u011Bte projekt na ve\u0159ejn\xFD, pros\xEDm!","Login Failed Too many attempts. If you forgot your password, please {0}reset your password{1} or send an email to support@easyeda.com":"P\u0159ihl\xE1\u0161en\xED selhalo kv\u016Fli p\u0159\xEDli\u0161 mnoha pokus\u016Fm. Pokud jste zapomn\u011Bli heslo, {0}obnovte si heslo{1} nebo n\xE1m po\u0161lete email na adresu support@easyeda.com","Common Buttons Setting":"Nastaven\xED tla\u010D\xEDtek","Show/Hide":"Zobrazit/Skr\xFDt","Move Up":"Posunout nahoru","Move Down":"Posunout dol\u016F","Reset All":"Resetovat v\u0161e","Find Libraries...":"Naj\xEDt knihovny...","Place Pin":"Um\xEDstit pin",Permissions:"Opr\xE1vn\u011Bn\xED",Operation:"Operace","Access Control":"P\u0159\xEDstup","Project Access Control":"P\u0159\xEDstup k projektu",Reject:"Zam\xEDtnout","Add User":"P\u0159idat u\u017Eivatele","Bad email address":"\u0160patn\xE1 emailov\xE1 adresa","Can't find this email address in EasyEDA. Your partner must be an EasyEDA user.":"Zadanou emailovou adresu nebylo mo\u017En\xE9 nal\xE9zt v EasyEDA. Ujist\u011Bte, \u017Ee v\xE1\u0161 partner je u\u017Eivatelem EasyEDA.","Grid Background":"Pozad\xED m\u0159\xED\u017Eky","Pane Background":"Pozad\xED panelu","WaveForm Config":"Konfigurace sign\xE1lu","Export Waveform":"Export sign\xE1lu",dot:"te\u010Dka",line:"\u010D\xE1ra","A4 Portrait":"A4 na v\xFD\u0161ku","A4 Landscape":"A4 na \u0161\xED\u0159ku","A3 Portrait":"A3 na v\xFD\u0161ku","A3 Landscape":"A3 na \u0161\xED\u0159ku","A2 Portrait":"A2 na v\xFD\u0161ku","A2 Landscape":"A2 na \u0161\xED\u0159ku","A1 Portrait":"A1 na v\xFD\u0161ku","A1 Landscape":"A1 na \u0161\xED\u0159ku",Landscape:"Na \u0161\xED\u0159ku",Portrait:"Na v\xFD\u0161ku",solid:"pln\xE1 \u010D\xE1ra",dashed:"\u010D\xE1rkovan\xE1 \u010D\xE1ra",dotted:"te\u010Dkovan\xE1 \u010D\xE1ra","Fill Region":"Pevn\xE1 oblast",Type:"Typ",type:"typ","Report error":"Chybov\xE1 zpr\xE1va","Please give us some information to help us find the problem.":"Abychom v\xE1m pomohli naj\xEDt probl\xE9m, pot\u0159ebujeme od v\xE1s n\u011Bjak\xE9 informace.","Cannot place parts into this document: Schematic Symbols can only be placed into a Schematic; PCB Footprints can only be placed into a PCB.":"D\xEDly nelze vlo\u017Eit do tohoto dokumentu. Symboly sch\xE9mat lze um\xEDstit pouze do sch\xE9mat a PCB footprinty lze um\xEDstit pouze do PCB.","Save it as a favorite part":"Ulo\u017Eit jako obl\xEDben\xFD d\xEDl","Only logged-in users can save this component as a Favorite Part but guest (Anonymous) users can place this component into their design directly. Would you like to place this component now?":"Pouze p\u0159ihl\xE1\u0161en\xED u\u017Eivatel\xE9 mohou ulo\u017Eit tuto komponentu jako obl\xEDben\xFD d\xEDl. Host\xE9 (anonymn\xED u\u017Eivatel\xE9) mohou tuto komponentu um\xEDstit p\u0159\xEDmo do n\xE1vrhu.","Electronic circuit design - EasyEDA":"N\xE1vrh elektronick\xFDch obvod\u016F - EasyEDA","Find libs":"Naj\xEDt knihovnu","My Projects":"Moje projekty","My Parts":"Moje d\xEDly","My Modules":"Moje moduly","Assembly LCSC Components":"Komponenty sestaven\xED LCSC",Modules:"Moduly","SCH Modules":"Moduly SCH","PCB Modules":"Moduly PCB","System IC":"IC syst\xE9m","LCSC (Official)":"LCSC (ofici\xE1ln\u011B)","Favorite Parts":"Obl\xEDben\xE9 d\xEDly","Shared With Me":"Sd\xEDlet se mnou",Preview:"N\xE1hled","Preview Window":"N\xE1hledov\xE9 okno","System Default":"V\xFDchoz\xED syst\xE9mov\xE9","User Defined":"U\u017Eivatelem definovan\xE9",Theme:"T\xE9ma","Theme Setting":"Nastaven\xED t\xE9ma",Close:"Zav\u0159\xEDt",Open:"Otev\u0159\xEDt",Collapse:"Sbalit","Toggle toolbar":"P\u0159epnout n\xE1strojovou li\u0161tu","Toggle left bar":"P\u0159epnout lev\xFD panel","Toggle right bar":"P\u0159epnout prav\xFD panel",Reload:"Obnovit","Mouse-X":"My\u0161 X","Mouse-Y":"My\u0161 Y","Mouse-DX":"My\u0161 DX","Mouse-DY":"My\u0161 DY","Bus entry x1":"Vstup sb\u011Brnice x1","Bus entry x2":"Vstup sb\u011Brnice x2","Bus entry y1":"Vstup sb\u011Brnice y1","Bus entry y2":"Vstup sb\u011Brnice y2",Yes:"Ano",No:"Ne",Continue:"Pokra\u010Dovat",Cancel:"Zru\u0161it","Ask a question":"Polo\u017Eit ot\xE1zku","Share my work":"Sd\xEDlet pr\xE1ci","Go to my page":"Zp\u011Bt na str\xE1nku","Bus entry":"Vstup sb\u011Brnice",Filter:"Filtr",Check:"Zkontrolovat","Guest Project":"Projekt hosta","Insert into":"Vlo\u017Eit do","Insert into {site}":"Vlo\u017Eit do {site}","Upload {site}":"Na\u010D\xEDst {site}","Copy the contents of this box into a text editor, then save the file. Paste the edited text back into this box and click Apply to update the display.":"Zkop\xEDrujte obsah tohoto boxu do textov\xE9ho editoru a ulo\u017Ete soubor. Vlo\u017Ete upraven\xFD text zp\u011Bt do tohoto boxu a klikn\u011Bte na Pou\u017E\xEDt pro aktualizaci zobrazen\xED.","EasyEDA format":"Form\xE1t EasyEDA","Copy the contents of this box into a text editor, then save the file with a .svg extension. You can edit it in Inkscape or open it in your browser.":"Zkop\xEDrujte obsah tohoto boxu do textov\xE9ho editoru a ulo\u017Ete soubor s p\u0159\xEDponou .svg. M\u016F\u017Eete jej pak upravit p\u0159es Inkscape nebo otev\u0159\xEDt ve va\u0161em prohl\xED\u017Ee\u010Di.","Content is too big to show, you can download it directly.":"Obsah je pro zobrazen\xED p\u0159\xEDli\u0161 velk\xFD, m\u016F\u017Eete jej st\xE1hnout.","SVG format":"Form\xE1t SVG","SVG File":"Soubor SVG","Description should be no more than 250 letters":"Popis nesm\xED b\xFDt del\u0161\xED jak 250 znak\u016F","The file save operation has timed out. Try again and check your Internet connection.":"\u010Cas pro ulo\u017Een\xED souboru vypr\u0161el. Zkontrolujte p\u0159ipojen\xED k internetu a zkuste znovu.",Notifications:"Notifikace","Please select txt or json files.":"Vyberte, pros\xEDm, soubory s p\u0159\xEDponou txt nebo json.","Failed to read file [{file}]":"Na\u010Dten\xED souboru [{file}] selhalo","[{file}] is not a valid json file":"Soubor [{file}] nen\xED platn\xFD json soubor","Invalid parameters!":"Neplatn\xE9 parametry!",Download:"St\xE1hnout",Start:"Zah\xE1jit","You have unsaved files, are you sure you want to log out without saving the files?":"M\xE1te neulo\u017Een\xE9 soubory, chcete se odhl\xE1sit bez ulo\u017Een\xED soubor\u016F?","Please use the web version to run this function.":"Pokud chcete spustit tuto funkci, pou\u017Eijte webovou verzi, pros\xEDm.","Please save this file to you project!":"Ulo\u017Ete soubor do projektu, pros\xEDm!","Nothing changed":"\u017D\xE1dn\xE1 zm\u011Bna","Delete Node":"Smazat uzel","This layer is invisible.":"Tato vrstva je neplatn\xE1.","When the fill region is NPTH, please set the layer to Multi-Layer.":"Pokud je pevn\xE1 oblast NPTH, je t\u0159eba ji um\xEDstit do Multi-vrstvy.","You should not try to assign a net to a NPTH fill region.":"Nem\u011Bli byste umis\u0165ovat spoj do pevn\xE9 oblasti NPTH.","Net Length":"D\xE9lka spoje","EasyEDA allows you to place a Pin in the schematic, but don't forget to group all of the Pins to a schematic component. Please click the help button to find out how to group them. If you just want to mark the wire, please use NetPort or NetLabel.":"EasyEDA umo\u017E\u0148uje vlo\u017Eit pin do sch\xE9ma, ale ve sch\xE9matu komponenty je t\u0159eba v\u0161echny piny seskupit. Pokud nev\xEDte jak, klikn\u011Bte na tla\u010D\xEDtko s n\xE1pov\u011Bdou. Pokud chcete pouze ozna\u010Dit spoj, pou\u017Eijte Port spoje nebo \u0160t\xEDtek spoje, pros\xEDm.","Coming soon":"Ji\u017E brzy","No tool":"\u017D\xE1dn\xFD n\xE1stroj","Help us translate into your language":"Pomozte n\xE1m s p\u0159ekladem",Pad:"Plo\u0161ka","Via/Hole":"Pr\u016Fchod/D\xEDra","PCB Layers":"Vrstvy PCB","Order PCB":"Objednat PCB",Free:"Zdarma",Small:"Mal\xFD",Medium:"St\u0159edn\xED",Big:"Velk\xFD","Exporting as":"Exportuji jako","Exporting as image":"Exportuji jako obr\xE1zek","Exporting as {0}SVG{1} file.":"Exportuji jako {0}SVG{1} soubor.","Exporting as pdf is recommended: pdf gives good quality printed output and a small file size.":"Exportuji jako PDF: lep\u0161\xED kvalita pro tisk a mal\xE1 velikost souboru.","Generate Fabrication File(Gerber)":"Generov\xE1n\xED souboru pro v\xFDrobu (Gerber)","PenWidth-Increase":"Zv\u011Bt\u0161en\xED tlou\u0161\u0165ky pera","Generate Gerber":"Generov\xE1n\xED Gerber","PCB Details":"Detaily PCB","Gerber View":"Zobrazit Gerber","Dimensions(Estimated)":"Rozm\u011Bry (odhad)","PCB Qty":"Po\u010Det PCB","Copper Weight":"Hmotnost m\u011Bdi","PCB Price":"Cena PCB","Estimated Delivery Time":"Odhadovan\xFD \u010Das doru\u010Den\xED","For your first time order, less than $20 discount on the freight!":"Pro prvn\xED objedn\xE1vku, sleva na dopravu m\xE9n\u011B ne\u017E $20.","HASL(with lead)":"HASL (s olovem)","LeadFree HASL-RoHS":"Bez olova HASL-RoHS","The PCB has {drcErrors} DRC errors.":"PCB obsahuje DRC chyby.","Do you want to check the DRC errors?":"Chcete zkontrolovat DRC chyby?","Check DRC Errors":"Zkontrolovat DRC chyby","Ignore and Continue":"Ignorovat a pokra\u010Dovat","It will then redirect to the web site of a thirdparty JLCPCB with which we cooperate. Are you ready?":"P\u0159esm\u011Brujeme v\xE1s na webovou str\xE1nku t\u0159et\xED strany JLCPCB, se kterou spolupracujeme. Jste p\u0159ipraveni?","Failed to submit your order, please contact us via support@easyeda.com for help.":"Odesl\xE1n\xED objedn\xE1vky selhalo, kontaktujte n\xE1s na support@easyeda.com, pros\xEDm.","@@generateGerber":{Layers:"Vrstvy"},"Create a new Project...":"Vytvo\u0159it nov\xFD projekt","Create a new Schematic":"Vytvo\u0159it nov\xE9 sch\xE9ma","Create a new Schematic Lib":"Vytvo\u0159it novou knihovnu sch\xE9ma","Create a new Spice Symbol":"Vytvo\u0159it nov\xFD Spice symbol","Create a new Spice Subckt":"Vytvo\u0159it nov\xFD Spice Subckt","Create a new PCB":"Vytvo\u0159it novou desku PCB","Create a new PCB Lib":"Vytvo\u0159it novou knihovnu PCB","Create a new Schematic Module":"Vytvo\u0159it nov\xFD modul sch\xE9ma","Create a new PCB Module":"Vytvo\u0159it nov\xFD modul PCB","Export your file, then print it yourself.":"Vyexportujte soubor a pak si jej vytiskn\u011Bte.","Trace width is too small":"Tlou\u0161\u0165ka cesty je p\u0159\xEDli\u0161 mal\xE1","Images Attribute":"Vlastnosti obr\xE1zku","Connect Pad to Pad":"Spojit plo\u0161ku s plo\u0161kou","Copper Area":"Oblast m\u011Bdi",Dimension:"Rozm\u011Br","Please check that you have used Wire and not Line to connect electrical elements.":"Zkontrolujte, \u017Ee elektrick\xE9 komponenty m\xE1te propojen\xE9 spojem a ne \u010D\xE1rou, pros\xEDm.","PCB Fabrication Prices & capabilities":"Ceny a mo\u017Enosti v\xFDroby PCB","Flip all texts on bottom layer":"P\u0159evr\xE1tit v\u0161echny texty na spodn\xED vrstv\u011B","EasyEDA Libs":"Knihovny EasyEDA","Create New Document":"Vytvo\u0159it nov\xFD dokument","General Package":"Hlavn\xED bal\xED\u010Dek","General Packages":"Hlavn\xED bal\xED\u010Dky","favorite Package":"Obl\xEDben\xFD bal\xED\u010Dek","Through Hole":"Skrz d\xEDru","Surface Mount":"P\u0159id\u011Bl\xE1no k povrchu","Markdown Syntax":"Syntaxe Markdown","Markdown supported":"Markdown podporov\xE1n","Read only":"Pouze pro \u010Dten\xED","Read/Write":"\u010C\xEDst/Zapisovat","More Libraries...":"V\xEDce knihoven...","Decompress failed!":"Dekomprese selhala!","Load failed!":"Na\u010Dten\xED selhalo!","Loading...":"Na\u010D\xEDt\xE1m...","No Result":"\u017D\xE1dn\xE9 v\xFDsledky","Place Pin in schematic warning":"Varov\xE1n\xED ohledn\u011B um\xEDst\u011Bn\xED pinu ve sch\xE9matu","EasyEDA allows you to place a Pin in schematic, but don't forget to group all of the Pins to a schematic component, please click the help button to find out how to group them. If you just want to mark the wire, please use NetPort or NetNabel.":"EasyEDA umo\u017E\u0148uje vlo\u017Eit pin do sch\xE9ma, ale ve sch\xE9matu komponenty je t\u0159eba v\u0161echny piny seskupit. Pokud nev\xEDte jak, klikn\u011Bte na tla\u010D\xEDtko s n\xE1pov\u011Bdou. Pokud chcete pouze ozna\u010Dit spoj, pou\u017Eijte Port spoje nebo \u0160t\xEDtek spoje, pros\xEDm.","I know. Do not show this again.":"Rozum\xEDm, ji\u017E nezobrazovat.","Extensions Setting":"Nastaven\xED roz\u0161\xED\u0159en\xED",Remove:"Odebrat",Disable:"Zneplatnit",Enable:"Povolit","(Disabled)":"(Zneplatn\u011Bno)","(Enabled)":"(Povoleno)","Load Extension":"Na\u010D\xEDst roz\u0161\xED\u0159en\xED","Enable or disable will be applied after reload page":"Povolit nebo zneplatnit se pou\u017Eije a\u017E po obnov\u011B str\xE1nky","Your browser cannot run this function.":"V\xE1\u0161 prohl\xED\u017Ee\u010D neum\xED spustit tuto funkci","Extension Files":"Soubory roz\u0161\xED\u0159en\xED","Extension ID":"ID roz\u0161\xED\u0159en\xED","Select Files":"Vybrat soubory",Script:"Skript",Scripts:"Skripty","Script Content":"Obsah skriptu","Load from js file":"Na\u010D\xEDst z js souboru","UTF-8 encoded js file":"JS soubor s k\xF3dov\xE1n\xEDm UTF-8",Description:"Popis",description:"popis","Not a *.js file":"Nejedn\xE1 se *.js soubor","Failed to read file":"\u010Cten\xED souboru selhalo","System scripts cannot be modified":"Syst\xE9mov\xE9 skripty nelze upravovat","Create Subfolder":"Vytvo\u0159it podslo\u017Eku","Create Script":"Vytvo\u0159it skript","Install Script":"Instalovat skript",Install:"Instalovat","Are you sure you want to remove this script?":"Ur\u010Dit\u011B chcete odebrat tento skript?","Folder Name":"N\xE1zev slo\u017Eky",Rename:"P\u0159ejmenovat","Please select a script":"Vyberte skript, pros\xEDm","Failed to load script":"Na\u010Dten\xED skriptu selhalo","Run Script":"Spustit skript","Load Script":"Na\u010D\xEDst skript","Title is required":"N\xE1zev je povinn\xFD","Script content is required":"Obsah skriptu je povinn\xFD","System Scripts":"Syst\xE9mov\xE9 skripty","User Scripts":"U\u017Eivatelsk\xE9 skripty","You can right click on the tree nodes.":"M\u016F\u017Eete kliknout prav\xFDm tla\u010D\xEDtkem na uzly stromu.","Top Side":"Vrchni strana","Bottom Side":"Spodn\xED strana","With Silk Layer":"V\u010Detn\u011B vrstvy potisku","No Silk Layer":"Bez vrstvy potisku","Photo View":"Foto n\xE1hled","Check Update":"Zkontrolovat aktualizace","EasyEDA Editor {ver} is released. Would you like to switch to the new version now?":"Byla vyd\xE1na nov\xE1 verze editoru EasyEDA {ver}. Chcete se p\u0159epnout do nov\xE9 verze?","Switch to New Version":"P\u0159epnout do nov\xE9 verze","Next Time":"P\u0159\xED\u0161t\u011B","Generating download link...":"Generuji odkaz na sta\u017Een\xED...","Download project now":"St\xE1hnout projekt","DXF Unit":"Jednotka DXF","Convert circle to HOLE on BoardOutLine layer":"Pou\u017E\xEDt kruh jako d\xEDru na vrstv\u011B oblasti desky","No shapes found":"Nenalezeny \u017E\xE1dn\xE9 tvary","Fail to load the file":"Na\u010Dten\xED souboru selhalo","Please select a DXF file.":"Vyberte DXF soubor, pros\xEDm.","This feature only works for PCB document.":"Tato mo\u017Enost funguje pouze v dokumentu PCB.","Select a DXF file":"Vybrat DXF soubor","Data Sync":"Synchronizace dat","Data Conflicts":"Konflikt v datech","Project or Document":"Projekt nebo dokument","Cloud-Side":"Cloudov\xE1 strana","Local-Side":"Lok\xE1ln\xED strana",Decision:"Rozhodnut\xED",Modified:"Upraveno",Deleted:"Smaz\xE1no","As Cloud":"Jako cloud","As Local":"Jako m\xEDstn\xED","Data sync completed":"Synchronizace dat kompletn\xED",Team:"T\xFDm",Teams:"T\xFDmy","Switching team":"P\u0159epnout t\xFDm","Switch team failed":"P\u0159epnut\xED t\xFDmu selhalo!","Load team info fail!":"Na\u010Dten\xED informace o t\xFDmu selhalo!","Load team info fail! Please reload.":"Na\u010Dten\xED informace o t\xFDmu selhalo! Pros\xEDm, obnovte.","My Teams":"Moje t\xFDmy","Create Team":"Vytvo\u0159it t\xFDm","Footprint Manager":"Spr\xE1vce footprintu","Schematic Components":"Komponenty sch\xE9mat","Edit Pin Map Information":"Upravit informaci mapy pinu","Package Categories":"Kategorie bal\xED\u010Dku","Components List":"Seznam komponent",Personal:"Osobn\xED","Component PIN information":"Informace o pin komponent\u011B","Footprint PAD information":"Informace o plo\u0161ce footprintu","Footprint Categories":"Kategorie footprint\u016F","Pad Number":"\u010C\xEDslo plo\u0161ky","Search PCB Libs":"Hledat v knihovn\xE1ch PCB","Filter by keyword":"Filtrovat dle kl\xED\u010Dov\xE9ho slova","System Libs":"Syst\xE9mov\xE9 knihovny",Drawings:"N\xE1kresy","Netlabel and netFlag":"\u0160t\xEDtek a zna\u010Dka spoje",Texts:"Texty",Wires:"Spoje","Board outlines":"Oblast desky",Footprints:"Footprinty",Tracks:"Cesty","width and height":"\u0161\xED\u0159ka a v\xFD\u0161ka","Create rectangular board":"Vytvo\u0159it obd\xE9ln\xEDkovou desku","Create circular board":"Vytvo\u0159it kruhovou desku",radius:"polom\u011Br","Create round rectangular board":"Vytvo\u0159it obd\xE9ln\xEDkovou desku se zakulacen\xFDmi rohy","only number is allowed!":"povolen\xE1 jsou pouze \u010D\xEDsla!","please input valid value of width!":"zadejte platnou hodnotu \u0161\xED\u0159ky!","please input valid value of height!":"zadejte platnou hodnotu v\xFD\u0161ky!","please input valid value of radius!":"zadejte platnou hodnotu polom\u011Bru!","The object you selected was not found in other documents.":"Objekt, kter\xFD jste vybrali, nebyl nalezen v dal\u0161\xEDch dokumentech.","No valid object for cross probe selected.":"Nen\xED vybr\xE1n \u017E\xE1dn\xFD objekt pro sondu.","Can not probe. Refreshing the window may get it to work.":"Nem\u016F\u017Eu sondovat. Obnovte okno.","You need to login for this function to work.":"Pro tuto funkci se mus\xEDte p\u0159ihl\xE1sit.","An Easier EDA Experience":"Snadn\u011Bj\u0161\xED zku\u0161enost s EDA",Version:"Verze",BuiltDate:"Datum sestaven\xED","Auto Router Config":"Konfigurace autorouteru","Sorry, your web browser does not support this feature. Please run a modern browser.":"Omlouv\xE1me se, ale v\xE1\u0161 prohl\xED\u017Ee\u010D tuto vlastnost nepodporuje. Spus\u0165te v modern\u011Bj\u0161\xEDm prohl\xED\u017Ee\u010Di.","Please make sure all components are inside the board outline!":"Ujist\u011Bte se, \u017Ee jsou v\u0161echny komponenty uvnit\u0159 desky!","Cannot start again before previous activity is stopped":"Nem\u016F\u017Eu znovu spustit, dokud b\u011B\u017E\xED jin\xE1 aktivita","Please select a net":"Vyberte spoj, pros\xEDm","Router completed successfully.":"Routov\xE1n\xED hotovo","Router is time out.":"\u010Cas routov\xE1n\xED vypr\u0161el.","Server is busy, please try again later.":"Server je zanepr\xE1zdn\u011Bn\xFD, zkuste pozd\u011Bji, pros\xEDm.","Due to the limitation of {0}router server{1} resources, multiple routers executing concurrently are not supported, please try again later or do it manually :-)":"Kv\u016Fli omezen\xFDm zdroj\u016Fm {0}routovac\xEDho serveru{1} nen\xED v\xEDcen\xE1sobn\xE1 exekuce routov\xE1n\xED podporov\xE1na, zkuste pozd\u011Bji, nebo routov\xE1n\xED prove\u010Fte manu\xE1ln\u011B :-)","Track Width is invalid":"Neplatn\xE1 \u0161\xED\u0159ka cesty","General Clearance is invalid":"Obecn\xE1 ochrann\xE1 oblast je neplatn\xE1","SMD Clearance is invalid":"Ochrann\xE1 oblast pro SMD je neplatn\xE1","Diameter is invalid":"Pr\u016Fm\u011Br je neplatn\xFD","Hole(D) is invalid":"D\xEDra(pr\u016Fm\u011Br) je neplatn\xE1","Track width cannot be less than DRC setting value.":"\u0160\xED\u0159ka cesty nem\u016F\u017Ee b\xFDt men\u0161\xED, ne\u017E je v pravidlech DRC.","General Clearance cannot be less than DRC setting value.":"Obecn\xE1 ochrann\xE1 oblast nem\u016F\u017Ee b\xFDt men\u0161\xED, ne\u017E je v pravidlech DRC.","SMD Clearance cannot be less than DRC setting value.":"Ochrann\xE1 oblast pro SMD nem\u016F\u017Ee b\xFDt men\u0161\xED, ne\u017E je v pravidlech DRC.","Hole size cannot be less than DRC setting value.":"Velikost d\xEDry nem\u016F\u017Ee b\xFDt men\u0161\xED, ne\u017E je v pravidlech DRC.","Diameter must be greater than hole size.":"Pr\u016Fm\u011Br mus\xED b\xFDt v\u011Bt\u0161\xED ne\u017E velikost d\xEDry.","Clearance cannot be less than DRC setting value.":"Ochrann\xE1 oblast nem\u016F\u017Ee b\xFDt men\u0161\xED ne\u017E v pravidlech DRC.","Not a valid PCB, please check it again":"Neplatn\xE1 PCB, zkontrolujte, pros\xEDm.","Previous connection must be closed":"P\u0159edchoz\xED spojen\xED mus\xED b\xFDt uzav\u0159en\xE9.","Network error. Please try again.":"Chyba s\xEDt\u011B. Zkuste pozd\u011Bji, pros\xEDm.","Router error.":"Chyba routeru.","Invalid PCB.":"Neplatn\xE1 PCB.","General Clearance":"Obecn\xE1 ochrann\xE1 oblast","SMD Clearance":"Ochrann\xE1 oblast pro SMD","Skip Routed Nets":"P\u0159esko\u010Dit routovan\xE9 spoje","Remove Existing Tracks":"Odebrat existuj\xEDc\xED cesty","Real-time Display":"Zobrazit re\xE1ln\xFD \u010Das","Router Layers":"Vrstvy routeru",Via:"Pr\u016Fchod",Special:"Speci\xE1ln\xED","Special Nets":"Speci\xE1ln\xED spoje","Skip Nets":"P\u0159esko\u010Dit spoje","Router Server":"Server routeru",Local:"M\xEDstn\xED",Cloud:"Cloudov\xFD",Available:"Dostupn\xFD",Unavailable:"Nedostupn\xFD",Checking:"Kontroluji","How to use this?":"Jak se to m\xE1 pou\u017E\xEDt?","How to enable?":"Jak se to m\xE1 povolit?","Checking local auto router server...":"Kontroluji lok\xE1ln\xED autorouter server...","Stop Router":"Zastavit router","Auto Router is running...":"Autorouter b\u011B\u017E\xED...","@@left_bar":{"Design{0}Manager":"Spr\xE1vce{0}n\xE1vrhu"},Libraries:"Knihovny",Shared:"Sd\xEDleno","Supply Flag":"Zna\u010Dka dod\xE1vky","US Style":"Styl US","EU/IEC Style":"Styl EU/IEC",Connector:"Konektor","Switch/Relay":"P\u0159ep\xEDna\u010D/Rel\xE9","Font Height":"V\xFD\u0161ka p\xEDsma",Precision:"P\u0159esnost",Protractor:"\xDAhlom\u011Br","Changing line width won't work for silhouette fonts.":"Zm\u011Bna \u0161\xED\u0159ky \u010D\xE1ry nebude fungovat pro siluety p\xEDsma.","Font is missing! You can confirm the dialog and use default font instead or cancel the dialog then upload your font and do it again.":"Chyb\xED p\xEDsmo! M\u016F\u017Eete potvrdit dialog a pou\u017E\xEDt v\xFDchoz\xED p\xEDsmo nebo zav\u0159\xEDt dialog, nahr\xE1t chyb\u011Bj\xEDc\xED p\xEDsmo a zkusit znovu.",Owner:"Vlastn\xEDk",License:"Licence","Part Pins":"Piny d\xEDlu","Net Pins":"Piny spoje","Add Parameter":"P\u0159idat parametr","Histories record":"Z\xE1znamy historie","The Package of the SchematicLib doesn't match the PCBLib":"Bal\xED\u010Dek z knihovny sch\xE9mat se neshoduje s bal\xED\u010Dkem v knihovn\u011B PCB","No package":"\u017D\xE1dn\xFD bal\xED\u010Dek","Can't find the package":"Nem\u016F\u017Eu naj\xEDt bal\xED\u010Dek","The path is for the project URL identify, it is unique (the identity of the project owned by the user cannot be the same)":"Cesta URL identifikuje projekt, je jedine\u010Dn\xE1 (nem\u016F\u017Ee b\xFDt stejn\xE1 s identitou jin\xE9ho projektu vlastn\u011Bn\xE9ho u\u017Eivatelem)","It's with a letter or a number and can contain only numbers, letters, line-through, underscores, and points. It cannot be modified after saving.":"M\u016F\u017Ee obsahovat pouze \u010D\xEDsla, p\xEDsmena, poml\u010Dku, podtr\u017E\xEDtko a te\u010Dku. Po ulo\u017Een\xED ji\u017E nelze upravovat.","Updating document to new format, please wait......After finishing please save your document with Ctrl + S.":"Aktualizuji dokument na nov\xFD form\xE1t, \u010Dekejte pros\xEDm......Jakmile se aktualizace dokon\u010D\xED, ulo\u017Ete dokument pomoc\xED Ctrl+S.","Open at current project?":"Otev\u0159\xEDt v aktu\xE1ln\xEDm projektu?","Please select a history to recover.":"Pro obnovu vyberte historii, pros\xEDm.",'Be careful! When you click the "Recover" button, this sheet will be overwritten!':'Pozor! Pokud kliknete na tla\u010D\xEDtko "Obnovit", bude tento se\u0161it p\u0159eps\xE1n!',Recover:"Obnovit","Save As a New Project":"Ulo\u017Eit jako nov\xFD projekt","There is no PCB under this project, would you like to create one?":"Tento projekt neobsahuje \u017E\xE1dn\xE9 PCB, chcete jej vytvo\u0159it?","Please make sure that the chose Altium Designer files are saved as ASCII files.":"Ujist\u011Bte se, \u017Ee jsou soubory Altium Designer ulo\u017Eeny v ASCII.","Please make sure that the chose Eagle files are saved in Eagle v6.0 and above.":"Ujist\u011Bte se, \u017Ee jsou soubory Eagle ulo\u017Eeny ve verzi Eagle 6.0 a v\xFD\u0161e.","Please make sure that the Kicad files were compressed as the .zip file.":"Ujist\u011Bte se, \u017Ee jsou soubory Kicad komprimovan\xE9 v .zip souboru.","Open Altium Designer file":"Otev\u0159\xEDt soubor Altium Designer","Open Eagle file":"Otev\u0159\xEDt soubor Eagle","Open Kicad file":"Otev\u0159\xEDt soubor Kicad","Select file(s)":"Vybrat soubor(y)","Append to current project?":"P\u0159ipojit k aktu\xE1ln\xEDmu projektu?",Append:"P\u0159ipojit","Open as new project":"Otev\u0159\xEDt jako nov\xFD projekt","Tip: Press {0}SPACE{1} or {2}R{3} to rotate the placing object or selected object.":"Tip: Stiskn\u011Bte {0}MEZERN\xCDK{1} nebo {2}R{3} pro oto\u010Den\xED umis\u0165ovan\xE9ho nebo vybran\xE9ho objektu.","Hotkeys Setting":"Nastaven\xED kl\xE1ves. zkratek","I know. Don't show this again.":"Rozum\xEDm. Ji\u017E nezobrazovat.","Manufacturer Part Number can not be less than 2 characters.":"\u010C\xEDslo d\xEDlu v\xFDrobce nem\u016F\u017Ee b\xFDt men\u0161\xED jak 2 znaky.","This prefix was changed to non-subpart format.":"Prefix byl zm\u011Bn\u011Bn na form\xE1t pro ne-d\xEDl\u010D\xED \u010D\xE1sti.","Save as New Project":"Ulo\u017Eit jako nov\xFD projekt","Save to Existing Project":"Ulo\u017Eit do existuj\xEDc\xEDho projektu","Sheet Setting":"Nastaven\xED se\u0161itu","Sheet Size":"Velikost se\u0161itu","Invalid Data":"Neplatn\xE1 data",Others:"Ostatn\xED","You are not authorized to share this project.":"Nem\xE1te opr\xE1vn\u011Bn\xED sd\xEDlet tento projekt.","This project is private: if you continue sharing it will be made public.":"Tento projekt je soukrom\xFD: pokud budete pokra\u010Dovat ve sd\xEDlen\xED, zm\u011Bn\xED se projekt na ve\u0159ejn\xFD.","Modify file info":"Upravit informaci o souboru","Please input search keyword":"Zadejte kl\xED\u010Dov\xE9 slovo pro vyhled\xE1v\xE1n\xED, pros\xEDm","Sort By":"\u0158adit dle","Date Created":"Datum vytvo\u0159en\xED","Date Modified":"Datum \xFApravy",Ascending:"Vzestupn\u011B",Descending:"Sestupn\u011B",Stick:"P\u0159ilepit",Unstick:"Odlepit","Expand All":"Rozbalit v\u0161e","Collapse All":"Sbalit v\u0161e","Your file hasn't been saved. Would you like to save it now?":"V\xE1\u0161 soubor nebyl ulo\u017Een, chcete jej ulo\u017Eit?","Don't Save":"Neukl\xE1dat","Library Owner:":"Vlastn\xEDk knihovny:",State:"Stav","Please select!":"Vyberte pros\xEDm!",Route:"Cesta","Import successfully:":"Importov\xE1no:","Import failed:":"Import selhal:","The title must be between 2~128 characters.":"N\xE1zev mus\xED b\xFDt dlouh\xFD 2 a\u017E 128 znak\u016F.","Path only contain 'a-z\u3001A-Z\u3001- \u3001 _ \u30010-9'!":"Cesta m\u016F\u017Ee obsahovat pouze znaky 'a-z, A-Z, -, _, 0-9'!","Path must begin as 'a-z\u3001A-Z\u30010-9'!":"Cesta mus\xED za\u010D\xEDnat na znaky 'a-z, A-Z, 0-9'!","The path length must be between 4~128 characters!":"D\xE9lka cesty mus\xED b\xFDt mezi 4 a\u017E 128 znaky!","The title length must be between 2~256 characters!":"D\xE9lka n\xE1zvu mus\xED b\xFDt mezi 2 a\u017E 256 znaky!","Do you want to delete this file?":"Chcete smazat tento soubor?","Add sub part success":"D\xEDl\u010D\xED \u010D\xE1st p\u0159id\xE1na","Please input name and prefix!":"Zadejte n\xE1zev a prefix, pros\xEDm!","Board outlines are not closed":"Okraje desky nejsou uzav\u0159en\xE9",'The Pins "{0}" are not snapped on the grid point! This part maybe will cause some errors in the schematic.':'Piny "{0}" nejsou p\u0159ichycen\xE9 k m\u0159\xED\u017Ece! Tento d\xEDl m\u016F\u017Ee ve sch\xE9matu zp\u016Fsobit chyby.',"Check Pin":"Kontrola pinu","Failed to read {0}":"Chyba p\u0159i \u010Dten\xED {0}","{0} is invalid":"Neplatn\xFD {0}","{0} not found":"{0} nenalezen","Failed to execute script:":"Chyba p\u0159i vykon\xE1v\xE1n\xED skriptu:","One or more js files not found":"Jeden nebo v\xEDce js soubor\u016F nenalezeny","Only ONE {0} file is required":"Pouze JEDEN {0} soubor je pot\u0159eba","Extension ID is required":"ID roz\u0161\xED\u0159en\xED je povinn\xE9","Extension ID is invalid":"ID roz\u0161\xED\u0159en\xED je neplatn\xE9;","Extension ID is duplicated":"ID roz\u0161\xED\u0159en\xED je duplikovan\xE9","No Result!":"\u017D\xE1dn\xFD v\xFDsledek!","Load Error":"Chyby p\u0159i na\u010D\xEDt\xE1n\xED",loading:"na\u010D\xEDt\xE1m","Failed to load spice data":"Chyba p\u0159i na\u010D\xEDt\xE1n\xED Spice dat",Tags:"\u0160t\xEDtky","Update successfully!":"Aktualizov\xE1no!","Pin Information:":"Informace o pinu:","Incorrect format, please check!":"Nespr\xE1vn\xFD form\xE1t, zkontrolujte, pros\xEDm!","Round Radius":"Polom\u011Br zakulacen\xED","Keyword:":"Kl\xED\u010Dov\xE9 slovo:","Image Attribute":"Vlastnosti obr\xE1zku",Locked:"Zamknuto","Unlock All":"Odemknout v\u0161e",Unlock:"Odemknout",Lock:"Zamknout","Please input pin name and pin number!":"Zadejte \u010D\xEDslo a n\xE1zev pinu, pros\xEDm!","Left-Hand Panel":"Lev\xFD panel","Right-Hand Panel":"Prav\xFD panel","Update from Libraries":"Aktualizovat z knihovny","Update All from Libraries":"Aktualizovat v\u0161e z knihovny","The pin number(s) can't find the same pad number(s)":"\u010C\xEDsla pin\u016F nem\u016F\u017Eou nal\xE9zt stejn\xE1 \u010D\xEDsla plo\u0161ek.",Designator:"Ozna\u010Den\xED",Replace:"Nahradit","Update fail":"Aktualizace selhala","Update succuss":"Aktualizov\xE1no","Update failed!":"Aktualizace selhala!","Update succuss!":"Aktualizov\xE1no!",Change:"Zm\u011Bna","Check the Packages":"Zkontrolovat bal\xED\u010Dky","Network Error!":"Chyba s\xEDt\u011B!","Find Similar Objects":"Naj\xEDt podobn\xE9 objekty","Current Sheet":"Aktu\xE1ln\xED se\u0161it","All Sheets":"V\u0161echny se\u0161ity",Kind:"Druh",Range:"Rozsah","Prefix or Name invalid!":"Neplatn\xFD prefix nebo n\xE1zev!","Net Label/Net Flag/Net Port/Voltage Probe":"\u0160t\xEDtek spoje/Zna\u010Dka spoje/Port spoje/Nap\u011B\u0165ov\xE1 sonda","Bezier/Freehand Draw":"B\xE9zierov\xE9/Ru\u010Dn\xED kreslen\xED","Arc/Pie":"\xDAhel/Kol\xE1\u010D","Objects Attributes":"Vlastnosti objekt\u016F","Distribute Array":"Distribuovat pole",Any:"Jak\xFDkoli",Same:"Stejn\xFD",Different:"Rozd\xEDln\xFD","Array Type":"Typ pole","Matrix Array":"Maticov\xE9 pole","Circular Array":"Kruhov\xE9 pole","Item Rotation":"Rotace polo\u017Eky",Location:"Lokace","Items per Column":"Polo\u017Eek ve sloupci","Items per Row":"Polo\u017Eek v \u0159\xE1dku","Distance X":"Vzd\xE1lenost X","Distance Y":"Vzd\xE1lenost Y","Spacing(Degrees)":"Mezery(Stupn\u011B)","Start Degree":"Po\u010D\xE1te\u010Dn\xED stupe\u0148","Rotate Item to Match":"Oto\u010Dit polo\u017Eku aby pasovala",Clockwise:"Po sm\u011Bru hodin. ru\u010Di\u010Dek","Anti-Clockwise":"Proti sm\u011Bru hodin. ru\u010Di\u010Dek","Distribute by":"Distribuovat podle",Column:"Sloupec",Row:"\u0158\xE1dek","Create Solder Mask":"Vytvo\u0159it p\xE1jic\xED masku",'"{0}" font is missing. Please add the font to the font family list.':'P\xEDsmo "{0}" chyb\xED. P\u0159idejte p\xEDsmo do seznamu p\xEDsmen, pros\xEDm.',"Place Component":"Um\xEDstit komponentu","Delete Segment":"Smazat segment",BusEntry:"Vstup sb\u011Brnice",Foreground:"Barva pop\u0159ed\xED","Part Graphics":"Grafika \u010D\xE1sti","Common Used":"B\u011B\u017En\u011B u\u017E\xEDvan\xE9","Original Theme":"P\u016Fvodn\xED t\xE9ma","Change the theme colors of your design":"Zm\u011Bna barev t\xE9ma n\xE1vrhu","White on Black":"B\xEDl\xE9 na \u010Dern\xE9m","Black on White":"\u010Cern\xE9 na b\xEDl\xE9m","Theme Setting...":"Nastaven\xED t\xE9ma...","Theme List":"Seznam t\xE9mat",Draw:"N\xE1kres","The original theme only works for placing the new symbols.":"P\u016Fvodn\xED t\xE9ma funguje pouze pro um\xEDst\u011Bn\xED nov\xFDch symbol\u016F.","Selection Highlight":"Zv\xFDraznit v\xFDb\u011Br","Net Label / Port":"\u0160t\xEDtek / Port spoje","Net Flag":"Zna\u010Dka spoje","@@theme":{Sheet:"Se\u0161it"},"@@history-dlg":{Number:"\u010C\xEDslo"},"View File History":"Zobrazit historii souboru","Save Time":"\u010Cas ulo\u017Een\xED","Invalid format":"Neplatn\xFD form\xE1t","Round Pad / Via":"Kulat\xE1 plo\u0161ka/pr\u016Fchod","Rectangle / Oval / Polygon Pad":"Obd\xE9ln\xEDkov\xE1/Ov\xE1ln\xE1/Mnoho\xFAheln\xEDkov\xE1 plo\u0161ka","Applying teardrops to the document, please wait...":"Aplikuji teardropy do dokumentu, pros\xEDm \u010Dekejte...","No schematic in the project!":"Projekt neobsahuje \u017E\xE1dn\xE9 sch\xE9ma!","@@editPathPoints-dlg":{"Arc(R)":"\xDAhel(polom\u011Br)",Type:"Typ",Action:"Akce","add before":"p\u0159idat p\u0159ed","add after":"p\u0159idat za",delete:"smazat"},"you have unconfirmed editting!":"m\xE1te nepotvrzenou editaci!","invalid editting!":"neplatn\xE1 editace!"};var Foi={"Join...":"Mitglied werden\u2026","Login...":"Einloggen\u2026","Log in":"Einloggen",Logout:"Ausloggen","Change password...":"Passwort \xE4ndern\u2026","User Preferences...":"Benutzer Einstellungen\u2026","Document Recovery...":"Absturz Wiederherstellung\u2026","Invite friends...":"Freunde einladen\u2026",Language:"Sprache",English:"Englisch","Polski (Polish)":"Polnisch","Deutsch (German)":"Deutsch","Fran\xE7ais (French)":"Franz\xF6sisch","\u7B80\u4F53\u4E2D\u6587 (Chinese - Simplified)":"Chinesisch vereinfacht","\u6B63\u9AD4\u4E2D\u6587 (Chinese - Traditional)":"Chinesisch traditionell","\uD55C\uAD6D\uC5B4 (Korean)":"Koreanisch","Document Recovery":"Dokument Wiederherstellung",Recover:"Wiederherstellung","Your Preferences Information":"Ihre Einstellungs Informationen",File:"Datei",New:"Neu","Project...":"Projekt\u2026",Schematic:"Schaltplan","Schematic Lib":"Schaltplan Bibliothek","Spice Symbol":"Spice Schaltsymbol","Spice Subckt":"Spice (Unter)Schaltsymbol","PCB Lib":"PCB Bibliothek","Save...":"Speichern\u2026","Save As...":"Speichern unter\u2026","Print...":"Drucken\u2026","Export...":"Exportieren\u2026","LTspice...":"LTspice\u2026","Eagle...":"Eagle\u2026","Altium...":"Altium\u2026","Cadence...":"Cadence\u2026","Pads...":"Pads\u2026","DXF...":"DXF\u2026",Import:"Importieren","Import...":"Importieren\u2026","Super Menu":"Haupt Menue",Edit:"Editieren",Undo:"R\xFCckg\xE4ngig",Redo:"Vorg\xE4ngig",Cut:"Ausschneiden",Copy:"Kopieren",Paste:"Einsetzen",Select:"Ausw\xE4hlen",Delete:"L\xF6schen",Clear:"Leeren",Move:"Bewegen",Drag:"Nehmen","Bring to Front":"Nach vorne bringen","Send to Back":"Nach hinten senden",Align:"Ausrichten","Align Left":"Links ausrichten","Align Right":"Rechts ausrichten","Align Top":"Oben ausrichten","Align Bottom":"Unten ausrichten",Rotate:"Drehen","Rotate Left":"Links drehen","Rotate Right":"Rechts drehen","Flip Horizontal":"Horizontal spiegeln","Flip Vertical":"Vertikal spiegeln","Rotate and Flip":"Drehen und spiegeln","Group/Ungroup Symbol...":"Gruppieren/Ungruppieren Zeichnung\u2026",View:"Ansichten","Zoom In":"Vergr\xF6\xDFern","Zoom Out":"Verkleinern","Fit in Window":"Am Fenster Anpassen",Refresh:"Auffrischen",Snap:"Schnappen",Toolbars:"Werkzeugleiste","Drawing Tools":"Zeichen Werkzeuge","Wiring Tools":"Verdrahtung Werkzeuge","Power Objects":"Netz Objekte","PCB Tools":"PCB Werkzeuge","PCBLib Tools":"PCPBibliothek Werkzeuge",Place:"Plazieren",Arc:"Bogen","Elliptical Arc":"elliptischer Bogen",Circle:"Kreis",Pie:"Kuchen",Line:"Linie",Polyline:"Polylinie",Rectangle:"Rechteck",Rect:"Rechteck Funktion","Round Rectangle":"Rechteck abgerundet",Polygon:"Vieleck",Bezier:"Bezierkurve",Path:"Pfad",Graphic:"Grafik",Bus:"Datenbus","Bus Entry":"Datenbus Einspeisung",Junction:"Verbindungsstelle","Net Port":"Netzanschluss","Voltage Probe":"Spannungsmesser","Power Port":"Spannungsanschluss",Wire:"Leitung",Annotation:"Anmerkung",Track:"Strecke",Image:"Bild","Arrow Head":"Pfeilspitze",Miscellaneous:"Verschiedenes","Find Component":"Finde Komponente","Convert Project To PCB...":"Konvertiere Projekt nach PCB\u2026","Hotkeys Setting...":"Schnelltasten Einstellung\u2026","Edit Symbol...":"Symbol bearbeiten\u2026","Highlight Net...":"Netz hervorheben\u2026",Simulate:"Simuliere","Simulate...":"Simulieren\u2026","Simulation Results...":"Simulations Ergebnisse\u2026","Run the Document":"Dokument ausf\xFChren","Run the Project...":"Projekt ausf\xFChren\u2026","Netlist for Document":"Netzliste f\xFCr das Dokument","Netlist for Project":"Netzliste f\xFCr das Projekt","Spice...":"Spice\u2026","Protel/Altium for PCB...":"Protel/Altium f\xFCr PCB\u2026","Pads for PCB...":"Pads f\xFCr PCB\u2026","FreePCB for PCB...":"FreePCB f\xFCr PCB\u2026","Eagle for PCB...":"Eagle f\xFCr PCB\u2026","Kicad for PCB...":"Kicad f\xFCr PCB\u2026","OrCAD for PCB...":"OrCAD f\xFCr PCB\u2026","BOM report...":"BOM Report\u2026","BOM for Document...":"BOM f\xFCr das Dokument\u2026","BOM for Project...":"BOM f\xFCr das Projekt\u2026","Pin Map...":"Pin Liste\u2026","Edit Subckt...":"Editiere (Unter)Schaltsymbol\u2026","Layer Options...":"Lagen Optionen\u2026","Design Rule Check...":"Design Rule Check\u2026","Fabrication Output...":"Herstellungs Ausgabe","Measure Distance":"messe Distanz","Measure Distance...":"messe Distanz\u2026","New Origin":"neuer Ursprung","Add SubPart":"(Unter)Teil hinzuf\xFCgen","Annotate...":"kommentieren\u2026",Config:"Konfigurieren","Config...":"Konfigurieren\u2026",Help:"Hilfe",Support:"Unterst\xFCtzung","Help Topics":"Hilfethemen","Change History":"\xC4nderungshistorie","Historical Records...":"Historie Aufnahme\u2026","Bug Report...":"Fehler Report\u2026","Feature Request...":"Funktionsw\xFCnsche\u2026","Thank You List":"Dankesliste","Terms of Use & Privacy Policy":"Nutzungsbedingungen & Datenschutz","Check Hotkeys":"\xFCberpr\xFCfe Schnelltasten",About:"\xDCber","Order PCB...":"Bestelle PCB\u2026","Import Changes":"Importiere \xC4nderungen",Press:"Pressen","To switch to Full Screen":"Zum Vollbildschirm wechseln","Delete Selected":"L\xF6sche Ausgew\xE4hltes","Generate Gerber and Drill Files":"Generiere Gerber und Bohrungs Datei","Anonymous Files":"Anonyme Date","Build PCB":"Baue PCB","Digital Objects":"Digital Objekte",Properties:"Eigenschaften",Attributes:"Merkmale",Apply:"Anwenden","Save as default":"Als Voreinstellung speichern","Canvas Attributes":"Zeichenblatt Merkmale",Width:"Breite",Height:"H\xF6he",Background:"Hintergrund","Visible Grid":"Sichtbares Raster","Grid Color":"Raster Farbe","Grid Size":"Raster Gr\xF6\xDFe","Grid Style":"Raster Stil","Stroke color":"Strichfarbe","Stroke width":"Strichdicke","Stroke style":"Strichstil","Fill color":"F\xFCllfarbe","Selected Objects":"Ausgew\xE4hlte Objekte","Frame Size":"Rahmengr\xF6\xDFe","Text Attributes":"Texteigenschaften",Color:"Farbe","Font-family":"Schriftfamilie","Font-size":"Schriftgr\xF6\xDFe","Font-weight":"Schriftdicke","Font-style":"Schrifstil","Text type":"Schrifttyp","Text-anchor":"Textanker",Baseline:"Basislinie","X radius":"X Radius","Y radius":"Y Radius","Pin Attributes":"Pin Eigenschaften",Orientation:"Orientierung","0 degrees":"0 Grad","45 degrees":"45 Grad","90 degrees":"90 Grad","180 degrees":"180 Grad","270 degrees":"270 Grad",Length:"L\xE4nge",Number:"Nummer","Spice Pin order":"Spice Pin Anordnung","Name Display":"Anzeigenahme","Number display":"Anzeigenummer","Junction Attributes":"Verbindungsstelle Eigenschaften","X-Location":"X-Position","Y-Location":"Y-Position",Size:"Gr\xF6\xDFe","Net Label":"Netzbeschriftung","Part Attributes":"Teile Eigenschaften",Prefix:"Vorsilbe","Image Attributes":"Bildeigenschaften","Image URL":"Verweis Internet",Units:"Einheiten","Snap Size":"Einrastgr\xF6\xDFe",Other:"Andere","Routing Width":"Verlegebreite","Routing Angle":"Verlegewinkel",Grid:"Raster","Copper Zone":"Kupferzone",Visible:"Sichtbar",Invisible:"Unsichtbar","Track Properties":"Leiterbahneigenschaften",Layer:"Lage",Net:"Netz","Pad Properties":"Pad Eigenschaften",Shape:"Form","Hole(D)":"Lochdurchmesser","Center-X":"Zentrum-X","Center-Y":"Zentrum-Y",Diameter:"Durchmesser","Text Properties":"Texteigenschaften",LineWidth:"Liniendicke",Rotation:"Drehung","Dimension Attributes":"Abmessung Eigenschaften","Footprint Attributes":"Grundfl\xE4che Eigenschaften","Prefix Display":"Vorwahldisplay","Arc Properties":"Bogen Eigenschaften","Rect Properties":"Rechteck Eigenschaften","Round radius":"Runder Radius","Circle Properties":"Kreis Eigenschaften","CopperArea Properties":"Kupferbereich Eigenschaften",Clearance:"Zwischenraum","Pad Connection":"Pad Verbindungen",Direct:"Direkt",Spoke:"Speichenf\xF6rmig","Keep Island":"Einzelne Bereiche","Fill Style":"F\xFCllstil","CopperArea conflict: copper area outlines in same layer with different net names must not overlap":"Kupferbereichs Konflikt: Kupfer Konturen in der gleichen Lage mit unterschiedlichen Netznamen d\xFCrfen nicht \xFCberlappen.","Please create board outline first":"Bitte zuerst Platinenumriss erzeugen.","Board outlines are not closed.":"Platinenumriss ist nicht geschlossen.","Rebuild CopperArea":"Kupferbereich neu aufbauen","Custom Attributes":"Benutzerdefinierte Eigenschaften","Add new parameter":"Neuen Parameter","Create an account":"Konto einrichten","Username:":"Benutername:","Password:":"Passwort:","Confirm Password:":"Best\xE4tige Passwort","Email:":"E-mail:","Please read this before you register":"Bitte vorher lesen bevor Sie sich anmelden","Lost Password...":"Passwort verloren","Find the password using your email":"Passwort anhand Ihrer E-Mail wiederherstellen","Username or Email:":"Benutzername oder E-Mail:","Remember Me":"Einstellung speichern","Third party:":"Drittanbieter","Reset a password using your email:":"R\xFCcksetzen des Passwortes anhand Ihrer E-Mail","Your registered email:":"Ihre registrierte E-Mail:","Re-send an activation code to your email:":"Erneutes versenden des Aktivierungscodes an Ihre E-Mail.","Invite friends to register":"Freunde zur Anmeldung einladen","Add a new parameter":"Neuen Parameter hinzuf\xFCgen","Key:":"Schl\xFCssel","Value:":"Wert","Change your password":"Passwort \xE4ndern","Old password:":"Altes Passwort","New Password:":"Neues Passwort","Create a new project":"Neues Projekt anlegen","Save as a schematic":"Als Schaltplan speichern","Save as a schematic Lib":"Als Schaltplan Bibliothek speichern","Save as a spice Symbol":"Als Spice Schaltsymbol speichern","Save as a spice subckt":"Als Spice (Unter)Schaltsymbol speichern","YOU MUST CREATE A SPICE SYMBOL WITH EXACTLY THE SAME NAME AS THIS SUBCKT":"Sie m\xFCssen ein Spice Schaltsymbol mit exakt dem gleichen Namen erzeugen wie das (Unter)Schaltsymbol.","Save as a PCB file":"Als PCB Datei speichern","Save as a PCB Lib":"Als PCB Bibliothek speichern","Title:":"\xDCberschrift:","Share:":"Teilen:","Visibility:":"Sichtbarkeit:","Allow Comments:":"Kommentare erlauben:","Public (Anyone can see this project but only you can modify it.)":"\xD6ffentlich (Nur Sie k\xF6nnen das Projekt \xE4ndern. Jeder kann es sehen.)","Private (Only you can see and modify this project)":"Privat (Nur Sie k\xF6nnen das Projekt \xE4ndern und sehen.)","Categories:":"Kategorien:","Project:":"Projekt:","Short descript:":"Kurze Beschreibung:","Content:":"Kommentar:","Modify this project info.":"Diese Projektinfo \xE4ndern.","Modify this file info.":"Diese Dateiinfo \xE4ndern.","Notice:":"Merken","Search for it before creating a new one.":"Finden Sie es zuerst bevor Sie es neu Erzeugen.","Save your file":"Eigene Datei speichern","Clone it to a project":"Zu einem Projekt klonen","Clone it,then re-edit it":"Klonen und erneut bearbeiten.","Clone your file":"Klonen Sie Ihre Datei","Attach a Subckt to this spice symbol":"(Unter)Schaltsymbol zu diesem Spice Schaltsymbol einarbeiten.","Subckt string:":"(Unter)Schaltsymbol Zeichenkette","Schematic Design Manager":"Schaltplan Design Manager","Show your simulation report":"Ihren Schaltplan Report zeigen","Download netlist":"Netzliste herunterladen",Run:"Starten","Import file from your computer":"Datei von Ihrem Computer importieren","File Operation":"Datei Operation","Import File":"Datei importieren","Extract Libs":"Bibliotheken entpacken","Modify symbol information":"Schaltsymbol Informationen \xE4ndern","PCB Prefix:":"PCB Vorsilbe","Spice Prefix:":"Spice Vorsilbe","Hidden Pin:":"Versteckter Pin","Pin Map":"Pinbelegung","Export BOM":"Exportiere BOM","Run your simulation":"Starten Sie Ihre Simulation","Maximum Timestep:":"Maximaler Zeitschritt:","Stop Time:":"Stop Zeit:","Start Time:":"Start Zeit:","AC Analysis":"AC Analyse","Type of Sweep:":"Type der Abtastung:","Number of points:":"Anzahl der Punkte:","Start Frequency:":"Start Frequenz:","Stop Frequency:":"Stop Freqeunz:","DC sweep":"DC Abtastung","Source to Sweep:":"Quelle der Abtastung:","Start Value:":"Start Wert:","Stop Value:":"Stop Wert:","Increment:":"Steigerung:","DC Transfer":"DC Transfer:","Output:":"Ausgabe:","Source:":"Quelle:","Compute the DC operating point treating capacitances as opens and inductances as shorts":"Berechne den DC Betriebspunkt wie mit offenen Kondensatoren und mit kurzgeschlossenen Induktivit\xE4ten.","Active File":"Aktive Datei","Active Project":"Aktives Projekt","Embed it in your html files.":"In Ihre HTML Datei einbetten.","Share it by e-mail, IM, blog, etc.)":"Per E-Mail teilen (IM,Blog, etc).","BBCode (used by many online discussion forums)":"BBCode (Wird in den meisten Onlineforen benutzt)","HTML code":"HTML Code",Picture:"Bild","QRCode (Share your schematic address by QRCode )":"QRCode (Verteile deinen Schaltplan Adresse durch einen QRCode)","Short Url":"Kurze Url","Share a copy of this document":"Teile eine Kopie diese Dokuments",Readonly:"Nur Lesen",Editable:"Ver\xE4nderbar","Export your works":"Exportieren Sie Ihre Arbeit","Export Option:":"Export Optionen","Zoom:":"Vergr\xF6\xDFerung","Image Type:":"Bild Typ","Qualify:":"berechtigen","0 means real size":"0 bedeutet original Gr\xF6\xDFe","Merged layer":"Vereinigte Lagen","Separated layer":"getrennte Lagen",Mirror:"Spiegel",TopLayer:"ObereLage",BottomLayer:"UntereLage",TopSilkLayer:"ObereBeschriftungslage",BottomSilkLayer:"UntereBeschriftungslage",Inner1:"Innere Lage1",Inner2:"Innere Lage2",Inner3:"Innere Lage3",Inner4:"Innere Lage4",Colour:"Farbe","Width:":"Breite:","Confirm Importing changes information":"Importierte \xC4nderungen Best\xE4tigen","Layer Options Settings":"Lagen Optionen Einstellungen","Layers setting:":"Lagen Einstellungen:",Configured:"Konfigurieren","Layer Name":"Lagen Name",TopSolderLayer:"ObereL\xF6tLage",BottomSolderLayer:"UntereL\xF6tlage",Ratlines:"Leiterbahnen(Unverlegt)",BoardOutline:"Platinenumriss",All:"Alle",Document:"Dokumente",Hole:"Bohrung",DRCError:"DRCFehler",Setting:"Einstellung","Drawing area":"Zeichenbereich","Export area:":"Exportbereich","Create Files":"Erzeuge Dateien","Check your Gerber files carefully before sending them to the factory":"Pr\xFCfen Sie Ihre Gerber Dateien vor dem versenden an die Fabrik","Download free Gerber Viewer (gerbv)":"Laden Sie den freien Gerber Viewer (gerbv) herunter",Item:"Artikel",Value:"Wert",Unit:"Einheit","Track Width":"Strichdicke","Track to Track":"Strich zu Strich","Track to Pad":"Strich zu Pad","Pad to Pad":"Pad zu Pad","Hole to Hole":"Bohrung zu Bohrung","Via Hole Size":"Durchgangbohrungs Gr\xF6\xDFe","DRC results":"DRC Ergebniss","Invalid Package":"Ung\xFCltiges Paket","Hotkey Setting":"Schnelltasten Einstellung","Document Type":"Dokumententyp",Shortcut:"Verkn\xFCpfung",Function:"Funktion",ALL:"Alle","Rotate selected objects":"Rotiere ausgew\xE4hltes Objekt","Scroll Or Move selected left":"Scrolle oder Bewege Ausgew\xE4hltes Links","Scroll or Move selected right":"Scrolle oder Bewege Ausgew\xE4hltes Rechts","Scroll or Move selected up":"Scrolle oder Bewege Ausgew\xE4hltes Rauf","Scroll or Move selected down":"Scrolle oder Bewege Ausgew\xE4hltes Runter","Select All":"Alles Ausw\xE4hlen","Cancel current drawing":"Annulliere aktuelle Zeichnung",Save:"Speichern","Drag Tool":"Nehme Werkzeug","Draw Wire":"Zeichne Leitung","Draw Bus":"Zeichne Datenbus",NetLabel:"Netzbeschriftung","NetFlag VCC":"Netzbezeichnung VCC","NetFlag GND":"Netzbezeichnung GND","NetFlag +5v":"Netzbezeichnung +5V","Draw Polyline":"Zeichne Polyline","Draw Polygon":"Zeichne Vieleck","Draw Bezier":"ZeichnenBezierkurve","Draw Arc":"Zeichne Bogen","Draw Rect":"Zeichne Rechteck","Draw Ellipse":"Zeichne Ellipse","Freehand Draw":"Freihandzeichnung","Draw Text":"Zeichne Text","Edit Selected Symbol":"Editiere Ausgew\xE4hltes Schaltsymbol","Draw Track":"Zeichne Strich","Draw Circle":"Zeichne Kreis","Draw Dimension":"Zeichne Abma\xDFe","Draw Connect":"Zeichne Verbindung","Draw CopperArea":"Zeichne Kupferbereich","Change To TopLayer":"Wechsle zur OberenLage","Change To BottomLayer":"Wechsle zur UnterenLage","Change To Inner1":"Wechsle zur Inneren Lage1","Change To Inner2":"Wechsle zur Inneren Lage2","Change To Inner3":"Wechsle zur Inneren Lage3","Change To Inner4":"Wechsle zur Inneren Lage4","Highlight Net":"Netz hervorheben","Place Pad":"Platziere Pad","Place Via":"Platziere Bohrung",Measure:"Messen","Change Routing Angle":"Wechsle Verlegewinkel","Decrease Routing Width":"Verkleinere Verlegedicke","Increase Routing Width":"Vergr\xF6\xDFere Verledicke","Decrease Snap Size":"Vergr\xF6\xDFere Einrastgr\xF6\xDFe","Increase Snap Size":"Verkleinere Einrastgr\xF6\xDFe","Remove All Copper Area":"Entferne Alle Kupferbereiche","Rebuild All Copper Area":"Kupferbereiche neu aufbauen","New Project":"Neues Projekt",Modify:"\xC4ndern","Add sub part":"Zum (Unter)Teil hinzuf\xFCgen","Clone it":"Klone es","Please type a short summary!":"Bitte tippe eine kurze Zusammenfassung!","Support...":"Unterst\xFCtzung\u2026","A short summary":"Eine kurze Zusammenfassung","Make sure your reports are clear and detailed":"Stellen Sie sicher das Ihr Report klar und detailliert ist.",Submit:"Senden","Verify the packages":"\xDCberpr\xFCfen der Pakete",Clone:"Klonen","Reload parts":"Teile neuladen",Layers:"Lagen","Language:":"Sprache:","Display Name:":"Angezeigter Name:","HotKey Sync:":"Schnelltaste synchronisieren:","Document Recovery Setting:":"Sicherungs Einstellungen:","Maximum backup level:":"Maximale Sicherungs Ebene:","Auto backup(minutes):":"Autospeicherung (Minuten):","Save to Server":"Auf dem Server speichern","Load from Server":"Vom Server Laden","Style:":"Stil:","Picture:":"Bild:","Pin Names:":"Pin Namen:",Annotate:"Kommentieren",Scope:"Anwendungsbereich","Active Schematic only":"Nur aktiver Schaltplan","All Opened Schematics":"Alle ge\xF6ffneten Schaltpl\xE4ne",Method:"Verfahren","Re-annotate all":"Alle Neukommentieren","Keep existing annotation":"Existierende Kommentare beibehalten",Direction:"Richtung",Rows:"Reihen",Reset:"Zur\xFCcksetzen","Order...":"Bestellen\u2026","Order your PCB from EasyEDA":"Bestelle Sie Ihre PCB von EasyEDA","PCB Qty.":"PCB Anzahl","PCB Thickness":"PCB Dicke","PCB Dimension":"PCB Abma\xDFe","Automatic calculation":"Automatische Kalkulation","PCB Color":"PCB Farbe",Green:"Gr\xFCn",White:"Wei\xDF",Blue:"Blau",Red:"Rot",Yellow:"Gelb",Black:"Schwarz","Surface Finish":"Oberfl\xE4chenbehandlung","Hasl(Lead Free)":"Hasl(Beifrei)","Open Project":"Offenes Projekt","Cost Estimate":"Kostenvoranschlag","Actual cost will be confirmed by email.":"Aktuelle Kosten werden durch E-Mail best\xE4tigt.","Shipping information":"Versandinformationen",Address:"Adresse","ZIP/Post code":"Postleitzahl",City:"Stadt",Country:"Land","After filling out the form above, we will email you with (i) the results of the design rule check, (ii) a quote and (iii) a payment link using Paypal. Shipping is normally one week from receipt of payment.":"Nachdem Sie oberes Formular ausgef\xFCllt haben, werden wir Ihnen 1. das Ergebnis des Design Rule Check, 2. ein Angebot und 3. einen Bezahllink f\xFCr Paypal senden. Der Versand dauert normalerweise eine Woche nach Erreichen der Zahlung.","Restore All Default Shortcuts":"Alle Standart Verkn\xFCpfungen wiederherstellen","Save Changes":"\xC4nderungen speichern","To connect electrical elements, please use Wire (W hotkey) and not Line (L hotkey).":"Um elektrische Elemente zu verbinden, benutzen Sie bitte Leitung (W Schnellstaste) und nicht Linie (L Schnelltaste).",Confirmation:"Best\xE4tigung",Alert:"Alarm",Prompt:"Eingabeaufforderung",Error:"Fehler",error:"fehler","error!":"fehler!",Warning:"Warnung","Imported ok!":"Importierung ok!","Some changes have not been saved.":"Einige \xC4nderungen wurden nicht gespeichert.","load failure !":"Ladefehler !","error info":"Fehlerinformation","error information":"fehlerinformation","Please create a project before you do this!":"Bitte erzeugen Sie ein Projekt bevor Sie dies tun!","Add Part success":"Teile hinzuf\xFCgen erfolgreich","Click the new part and then edit it !":"Klicken Sie die neuen Teile an und bearbeiten Sie sie!","Delete my work":"L\xF6sche meine Arbeit","Do you confirm this?":"Best\xE4tigen Sie dies?","Successfully deleted!":"Erfolgreich gel\xF6scht !","Cloning success!":"Klonen erfolgreich !","Your title is too short!":"Ihre \xDCberschrift ist zu kurz!","Remove this part":"Entfernen Sie diesen Teil","Find and Jump to ...":"Suche und springe zu \u2026","Please type the prefix, such as U1, R1, C1":"Bitte geben Sie Vorsilben ein, wie U1,R1,C1 etc.","Zoom as 1:1, you can print it and then create artwork for etching the PCB.":"Vergr\xF6\xDFerungsfaktor auf 1:1 stellen, dann k\xF6nnen Sie Drucken und die Platine f\xFCr den \xC4tzvorgang erstellen.","Exporting your works!":"Exportiere Ihre Arbeiten!","Guests can't import a file. Please login!":"Besucher k\xF6nnen keine Dateien importieren, bitte einloggen","Please create a project before you import a file!":"Bitte erzeugen Sie zuerst ein Projekt bevor Sie eine Datei importieren!","Import your LTspice file!":"Importieren Sie Ihre LTspice Datei!","Saved successfully!":"Erfolgreich gespeichert !","Can not place parts into this document.":"Es k\xF6nnen keine Teile in dieses Dokument eingef\xFCgt werden.","User Package":"Benutzer Pakete","System Package":"System Pakete","File error":"Dateifehler","Please save your file first!":"Bitte speichern Sie Ihre Datei zuerst!","Email address is too short!":"E-Mail Adresse ist zu kurz!","You have not selected a file to upload.":"Sie haben keine Datei zum Hochladen ausgew\xE4hlt.",Update:"Aktualisieren","No changes":"Keine \xC4nderungen","PCB is the same as SCH!":"PCB ist die gleiche wie SCH!","Only public files can be shared":"Nur \xD6ffentliche Dateien k\xF6nnen geteilt werden","Conversion to PCB has failed!":"Umwandlung nach PCB ist fehlgeschlagen!","Your username is too short!":"Ihr Benutzername ist zu kurz!","Your password is too short, it must be more than 6 characters!":"Ihr Passwort ist zu kurz, es muss mehr als 6 Zeichen lang sein!","Conflicting shortcut:":"widerspr\xFCchliche Verkn\xFCpfung","There is an empty PCB file. Please first run Convert Project To PCB... from the schematic":"Dies ist eine leere PCB Datei. Bitte starten Sie zuerst \u201EProjekt zu PCB umwandeln\u2026\u201C vom Schaltplan aus","This file has been modified, are you sure you want to run this simulation before saving it first?":"Diese Datei wurde ge\xE4ndert, sind Sie sicher das Sie diese Simulation starten m\xF6chten? Vielleicht sollten Sie Sie erst speichern?","Please enter the Maximum Timestep!":"Bitte geben Sie den maximalen Zeitschritt ein!","Please enter the Stop Time!":"Bitte geben Sie die Stop Zeit ein!","All of these fields are needed.":"Alle diese Felder werden ben\xF6tigt.","Either your spice netlist is too big or the server is busy. Please try again later.":"Entweder Ihre Spice Netzliste ist zu gro\xDF oder der Server ist \xFCberlastet. Bitte versuchen Sie sp\xE4ter noch einmal.","Your spice netlist is too big! Try breaking your circuit into smaller simulatable blocks.":"Ihre Spice Netzliste ist zu gro\xDF! Versuchen Sie Ihre Schaltung in kleinere simulierbare Bl\xF6cke zu unterteilen.","Too many users in simulation. Please try again later!":"Zu viele Benutzer in der Simulation. Bitte versuchen Sie es sp\xE4ter noch einmal!","Your simulation results are too large! Try reducing the total simulation time (Stop Time - Start Time), increasing the maximum time step, removing some of your probes or breaking your circuit into smaller simulatable blocks.":"Ihre Simulationsergebnisse sind zu gro\xDF! Versuchen Sie die gesamte Simulationszeit zu verringern (Stop Zeit - Start Zeit), erh\xF6hen Sie den maximalen Zeitschritt, entfernen Sie einige Ihrer Messpitzen oder versuchen Sie Ihre Schaltung in kleinere simulierbare Bl\xF6cke zu unterteilen.","Some unexpected error has happened, please contact us.(http://easyeda.com/cms_files_about-us.htm#ContactUs)":"Ein unerwarteter Fehler ist geschehen, bitte kontaktieren Sie uns.(http://easyeda.com/cms_files_about-us.htm#ContactUs)","The schematic is showing errors, please check the simulation report carefully!":"Der Schaltplan zeigt Fehler, bitte pr\xFCfen Sie den Simulationsreport sorgf\xE4lltig!","Simulation too long, maybe your schematic is too complex.":"Simulation ist zu lang, es kann sein das die Schaltung zu komplex ist.","Load your preferences success!":"Ihre Einstellungen wurden erfolgreich geladen !","Save preferences successfully!":"Ihre Einstellungen wurden erfolgreich gespeichert !","Update subckt ok!":"Aktualisierung des (Unter)Schaltsymbols ok !","Please type a new file name":"Bitte geben Sie einen neuen Dateinamen ein","Create file failure!":"Dateierzeugung fehlgeschlagen!","Libraries to be imported under My Libs folder":"Bibliotheken m\xFCssen in \u201EMeine Bibliotheken\u201C Ordner importiert werden","Please choose only the libraries needed":"Bitte w\xE4hlen Sie nur die Bibliotheken die Sie ben\xF6tigen","Maximum import is 200 libs at one time!":"Maximal 200 Bibliotheken zur gleichen Zeit importieren","Import Libraries success":"Import Bibliotheken erfolgreich","You libraries will be found under the My Libs folder":"Ihre Bibliotheken finden Sie in \u201EMeine Bibliotheken\u201C Ordner","Add to My Libs":"Zu meinen Bibliotheken hinzuf\xFCgen","No items have been checked!":"Es wurden keine Artikel gepr\xFCft!","Nothing was found, please create it for yourself":"Es wurde nichts gefunden, bitte erzeugen Sie diese selber","Search result":"Suchergebniss","At least 3 characters needed":"Es werden mindestens 3 Zeichen ben\xF6tigt","Add to my Favorite Parts":"Zu meinen bevorzugten Teilen hinzuf\xFCgen","Added it OK. Please find it in your Favorite Parts":"Erfolgreich hinzugef\xFCgt. Bitte suchen Sie Sie in Ihren \u201EBevorzugten Teilen\u201C","Please select its parent node":"Bitte w\xE4hlen Sie den Hauptnetzknoten","Libraries can not be exported as active project pdf.":"Bibliotheken k\xF6nnen nicht wie aktive Projekt PDFs exportiert werden.","Circuit does not have a GND,":"Der Schaltplan hat keinen GND,","Circuit does not have a probe,":"Der Schaltplan hat keine Messspitze,","Make sure your pin numbers are even numbers":"Stellen Sie sicher das die Pinummern gerade sind","Prefix Conflict":"Vorsilben Konflikt","There are some invalid packages, are you sure?":"Es gibt einige ung\xFCltige Pakete, sind Sie sicher ?","Invalid Characters, library only allows [0-9a-zA-Z-_]":"Ung\xFCltige Zeichen, Bibliotheken erlauben nur [0-9a-zA-Z-_]","Annotation success":"Anmerkung erfolgreich","If you accept this annotation operation, please save your files. If not, close your files without saving.":"Wenn Sie die \xC4nderung dieser Anmerkung akzeptieren, speichern Sie bitte Ihre Datei. Wenn nicht, schlie\xDFen Sie diese Datei ohne zu speichern.","Your file is unsaved.":"Ihre Datei wurde nicht gespeichert.","You can close the editor now. Have a good day!":"Sie k\xF6nnen den Editor jetzt schlie\xDFen und haben Sie noch einen sch\xF6nen Tag!","Logout Successfully!":"Erfolgreich ausgeloggt","You have unsaved file, please save it or close it":"Sie haben eine nicht gespeicherte Datei, bitte speichern oder schlie\xDFen Sie die Datei","Please Save your file before the this operation":"Bitte speichern Sie vor Bearbeitung die Datei ab.","Please try again after saving this file.":"Versuchen Sie es nochmal nachdem Sie die Datei gespeichert haben.","Connecting to server":"Verbinden zum Server","You will save your file as anonymous file, do you like to create your own project?":"Sie wollen Ihre Datei als Anonym speichern oder m\xF6chten Sie Ihre eigenes Projekt erzeugen?","Please login before asking for help":"Bitte loggen Sie sich zuerst ein bevor Sie nach Hilfe fragen","This file has been modified, please save it first!":"Die Datei wurde ver\xE4ndert, bitte speichern Sie Sie zuerst!","Remove this param":"Entferne diesen Parameter","Welcome & Thanks for Joining Us! Do you like to create your own project now?":"Willkommen & Danke das Sie uns beigetreten sind! M\xF6chten Sie jetzt Ihr eigenes Projekt erzeugen?","Click on an object to select then click on the canvas to place it":"Klicken Sie auf ein Objekt zum Ausw\xE4hlen und dann auf das Zeichenblatt, um es zu platzieren","Undo/Redo temporary error":"R\xFCckg\xE4ngig/Vorg\xE4nging vor\xFCbergehenden Fehler machen.","Please click the below help button to find out how to fix this problem.":"Es tut uns leid, aber EasyEDA hat einen unvorhersehbaren Fehler im R\xFCckg\xE4ngig/Vorg\xE4ngig Prozess erkannt. Das Problem wird bald behoben, aber in der Zwischenzeit ist es sicherer ab zuspeichern, um weiter an Ihrem Design arbeiten zu k\xF6nnen.",Skip:"\xDCberspringen","\u2190 Back":"\u2190 Zur\xFCck","Next \u2192":"Weiter \u2192","This is user management menu.":"Dies ist das Benutzermen\xFC.","This is super menu.":"Das ist das Hauptmen\xFC.","This is toolbar.":"Das ist die Werkzeugleiste.","This is config menu button.":"Das ist das Einstellungsmen\xFC Buttons.","This is share button.":"Das ist der Teilen Button.","This is document management menu.":"Das ist das Dokumentenmen\xFC.","Show or hide your toolbar at here.":"Zeige oder Verstecke Sie Ihre Werkzeugleiste hier.","Show or hide your left sidebar at here.":"Zeigen oder Verstecken Sie Ihre linke Seitenleiste hier.","Show or hide your right sidebar at here.":"Zeigen oder Verstecken Sie Ihre rechte Seitenleiste hier.","Passive Components":"Passive Komponenten","Power Supply":"Netzversorung",Diodes:"Dioden",Regulator:"Spannungsregler",Transistor:"Transistoren",Transformers:"Transformatoren","Vacuum Tubes":"Vacuum R\xF6hren",Switch:"Schalter",Relay:"Relais","Capacitor(US)":"Kondensator(US)","Capacitor(EU)":"Kondensator(EU)","Capacitor(EU)2":"Kondensator(EU)2","Electrolytic Capacitor(US)":"Elektrolyt Kondensator(US)","Electrolytic Capacitor(EU)":"Elektrolyt Kondensator(EU)","Electrolytic Capacitor(US)2":"Elektrolyt Kondensator(US)2","Electrolytic Capacitor(EU)2":"Elektrolyt Kondensator(EU)2","Inductor(US)":"Spule(US)","Inductor(EU)":"Spule(EU)","Resistor(US)":"Widerstand(US)","Resistor(EU)":"Widerstand(EU)","Resistor 45 Deg(US)":"Widerstand 45 Grad(US)","Resistor 45 Deg(EU)":"Widerstand 45 Grad(EU)","Variable Capacitor(US)":"Ver\xE4nderbarer Kondensator(US)","Variable Capacitor(EU)":"Ver\xE4nderbarer Kondensator(EU)","Variable Resistor(US)":"Ver\xE4nderbarer Widerstand(US)","Variable Resistor(EU)":"Ver\xE4nderbarer Widerstand(EU)","Variable Inductor(US)":"Ver\xE4nderbare Spule(US)","Variable Inductor(EU)":"Ver\xE4nderbare Spule(EU)","Inductor2(US)":"Spule2(US)","Inductor2(EU)":"Spule2(EU)",Battery:"Batterie","Voltage Source":"Spannungsquelle","Current Source":"Stromquelle","CCCS(Current Controlled Current Source)":"CCCS(Strom kontrollierte Stromquelle)","CCCS2(Current Controlled Current Source)":"CCCS2(Strom kontrollierte Stromquelle)","VCCS(Voltage Controlled Current Source)":"VCCS(Spannungs kontrollierte Stromquelle)","VCVS(Voltage Controlled Voltage Source)":"VCVS(Spannungs kontrollierte Spannungsquelle)","CCVS(Current Controlled Voltage Source)":"CCVS(Strom kontrollierte Spannungsquelle)","CCVS2(Current Controlled Voltage Source)":"CCVS2(Strom kontrollierte Spannungsquelle)","BV(Behavioral Voltage Sources)":"BV(Verhaltensabh\xE4ngige(Spannung) Spannungsquelle)","BI(Behavioral Voltage Sources)":"Bi(Verhaltensabh\xE4ngige(Strom) Spannungsquelle)","Epoly(Non-linear Voltage Source)":"Epoly(Nicht lineare Spannungsquelle)","Gpoly(Non-linear Current Source)":"Gpoly(Nicht lineare Stromquelle)",Bridge:"Br\xFCcke","Transform(US)":"Transformator(US)","Transform(EU)":"Transformator(EU)","Transfrom(NEUTRAL-CTR TAP)(US)":"Transformator(NEUTRAL-CTR TAP)(US)","Transfrom(NEUTRAL-CTR TAP)(EU)":"Transformator(NEUTRAL-CTR TAP)(eu)","Mutual Inductors":"gegenseitige Induktivit\xE4ten","Mutual Inductors2":"gegenseitige Induktivit\xE4ten2","Tube Diode":"R\xF6hrendiode","Tube Triode":"R\xF6hrentriode","Tube Tetrode":"R\xF6hrentetrode","Tube Pentode":"R\xF6hrenpentode","Voltage Controlled Switch":"Spannungs kontrollierter Schalter","Current Controlled Switch":"Strom kontrollierter Schalter",Fuse:"Sicherung",Speaker:"Lautsprecher",XTAL:"Quarz","5pin Operational Amplifier":"5pin Operationsverst\xE4rker","3pin Operational amplifier":"3pin Operationsverst\xE4rker",Voltmeter:"Spannungsmesser",Ammeter:"Amperemeter","Find libs":"Suche Bibliothek","My Projects":"Meine Projekte","My Parts":"Meine Teile","Favorite Parts":"Bevorzugte Teile","Shared With Me":"Mit mir geteilt",Preview:"Voransicht",Close:"Schlie\xDFen",Open:"\xD6ffnen","Toggle toolbar":"Werkzeugleiste umschalten","Toggle left bar":"Linke Leiste umschalten","Toggle right bar":"Rechte Leiste umschalten",Reload:"Neuladen",Yes:"Ja",Cancel:"Abrechen","Ask a question":"Stelle eine Frage","Click to Share my work":"Klicken, um meine Arbeit mit anderen zu teilen","Go to my page":"Gehe zu meiner Seite","Bus entry":"Datenbus Einspeisung",Check:"\xDCberpr\xFCfen",User:"Benutzer"};var Uoi={"ID.bom":"ID","Name.bom":"Name","@@bom":{LCSC:"LCSC Part #",Price:"Price(USD)"},"Quantity.bom":"Quantity","Price.bom":"Price(USD)","Package.bom":"Package","verifyPkg.Value":"Value","Value.new_para":"Value","Histories record":"Histories Record","ALL.layer":"All","Copper.layer":"Copper","Non-Copper.layer":"Non-Copper","Other.layer":"Other","All.object":"All","Grid.Line Width":"Line Width","Grid.Line Spacing":"Line Spacing","Import.Import Changes":"Import Changes","B.spice":"B","spice.open":"Open","spice.close":"Close",libConvert:"Convert to PCB","LicensedTo.licensedTo1":"Licensed to","LicensedTo.licensedTo2":"Licensed to","EmailText.email":"Email","3DShell.outline":"Outline","3DShell.screwPillar":"Screw Pillar","3DShell.sideDatumLine":"Side Datum Line","3DShell.sideSlotRegion":"Side Slot Region","3DShell.topBottomSlotRegion":"Top/Bottom Slot Region","3DShell.screwThickness":"Thickness","3DShell.screwHoleDiameter":"Hole Diameter","Type.attr":"Type","0819f05c4eef4c71ace90d822a990e87":"System"};var Voi={"Join...":"\xDAnete...","Login...":"Acceso...","Log in":"Acceso",Logout:"Desconectar","Change password...":"Cambiar contrase\xF1a","User Preferences...":"Preferencias del usuario","Document Recovery...":"Recuperaci\xF3n de error","Invite friends...":"Invitar amigos",Language:"Idioma",English:"Ingl\xE9s","Polski (Polish)":"Polaco","Deutsch (German)":"Alem\xE1n","Fran\xE7ais (French)":"Franc\xE9s","\u7B80\u4F53\u4E2D\u6587 (Chinese - Simplified)":"Chino (Simplificado)","\u6B63\u9AD4\u4E2D\u6587 (Chinese - Traditional)":"Chino (Tradicional)","\uD55C\uAD6D\uC5B4 (Korean)":"Koreano","\u65E5\u672C\u8A9E (Japanese)":"\u65E5\u672C\u8A9E (Japon\xE9s)","Document Recovery":"Recuperar documento",Recover:"Recuperar","Your Preferences Information":"Informaci\xF3n sobre tus preferencias",File:"Archivo",New:"Nuevo","Project...":"Proyecto...",Schematic:"Esquem\xE1tico","Schematic Lib":"Librer\xEDa del Esquem\xE1tico","Spice Symbol":"S\xEDmbolo Spice","PCB Lib":"Librer\xEDa PCB","Save...":"Guardar...","Save As...":"Guardar como...","Print...":"Imprimir...","Export...":"Exportar...","Altium...":"Altium..",Import:"Importar",Edit:"Editar",Undo:"Deshacer",Redo:"Rehacer",Cut:"Cortar",Copy:"Copiar",Paste:"Pegar","Duplicate to":"Duplicate","Duplicate view":"Duplicate",Select:"Seleccionar",Delete:"Eliminar",Clear:"Limpiar",Move:"Mover",Drag:"Arrastrar","Bring to Front":"Traer al Frente","Send to Back":"Enviar al Fondo",Align:"Alinear","Align Left":"Alineaci\xF3n Izquierda","Align Right":"Alineaci\xF3n Derecha","Align Top":"Alineaci\xF3n Superior","Align Bottom":"Alineaci\xF3n Inferior",Rotate:"Rotar","Rotate Left":"Rotar hacia la Izquierda","Rotate Right":"Rotar hacia la Derecha","Flip Horizontal":"Voltear Horizontalmente","Flip Vertical":"Voltear Verticalmente","Rotate and Flip":"Rotar y Voltear","Group/Ungroup Symbol...":"S\xEDmbolo Agrupar/desagrupar...",View:"Ver","Zoom In":"Acercar","Zoom Out":"Alejar","Fit in Window":"Ajustar a la pantalla",Refresh:"Refrescar",Snap:"Captura",Toolbars:"Barras de herramientas","Drawing Tools":"Herramientas de Dibujo","Wiring Tools":"Herramientas de Cableado","Power Objects":"Objetos de Potencia","PCB Tools":"Herramientas PCB","PCBLib Tools":"Herramientas PCBLib",Place:"Ubicar",Arc:"Arco","Elliptical Arc":"Arco el\xEDptico",Ellipse:"Elipse",Circle:"C\xEDrculo",Pie:"Tarta",Line:"L\xEDnea",Polyline:"Polil\xEDnea",Rectangle:"Rect\xE1ngulo",Rect:"Recta","Round Rectangle":"Rect\xE1ngulo redondeado",Polygon:"Pol\xEDgono",Path:"Ruta",Graphic:"Gr\xE1fico","Bus Entry":"Entrada Bus",Junction:"Junta","Net Port":"Nuevo puerto","Voltage Probe":"Sonda de voltaje","Power Port":"Puerto de potencia",Wire:"Cable",Annotation:"Anotaci\xF3n",Track:"Pista",Image:"Imagen","Arrow Head":"Flecha",Miscellaneous:"Miscelaneo","Find Component":"Encontrar componente","Convert Project To PCB...":"Convertir proyecto a PCB","Hotkeys Setting...":"Configurar HotKeys","Edit Symbol...":"Editar S\xEDmbolo...","Highlight Net...":"Seleccionar Net...",Simulate:"Simular","Simulate...":"Simular...","Simulation Results...":"Resultados de la simulaci\xF3n","Run the Document":"Ejecutar el Documento","Run the Project...":"Ejecutar el Proyecto","Netlist for Document":"Netlist para Documento","Netlist for Project":"Netlist para Proyecto","Protel/Altium for PCB...":"Protel/Altium para PCB","Pads for PCB...":"Pads para PCB","FreePCB for PCB...":"FreePCB para PCB","Eagle for PCB...":"Eable para PCB","Kicad for PCB...":"Kicad para PCB","OrCAD for PCB...":"OrCAD para PCB","BOM report...":"Informe BOM","BOM for Document...":"BOM para Documento","BOM for Project...":"BOM para Proyecto","Pin Map...":"Mapa de pines...","Edit Subckt...":"Editar Subckt...","Layer Options...":"Opciones de Capas...","Fabrication Output...":"Salida de Fabricaci\xF3n...","Measure Distance":"Medir Distancia","Design Manager":"Manager de dise\xF1o","New Origin":"Nuevo Origen","Add SubPart":"A\xF1adir SubPart","Annotate...":"Numerar...",Config:"Configurar",Help:"Ayuda",Support:"Soporte","Help Topics":"Temas de ayuda","Change History":"Hist\xF3rico de Cambios","Historical Records...":"Historial de registros...","Bug Report...":"Informar de Bugs","Feature Request...":"Pedido de funciones...","Thank You List":"Lista de agradecimientos","Terms of Use & Privacy Policy":"Terminos de Uso y Pol\xEDtica de privacidad","Check Hotkeys":"Comprobar HotKeys",About:"Acerca de","Order PCB...":"Ordenar PCB...","Import Changes":"Importar Cambios",Press:"Pulsar","To switch to Full Screen":"para mostrar en pantalla completa","Delete Selected":"Eliminar selecci\xF3n","Generate Gerber and Drill Files":"Generar archivo Gerber y Drill","Anonymous Files":"Archivos An\xF3nimos","Build PCB":"Construir PCB","Symbol Wizard...":"S\xEDmbolo Wizard","System Libraries":"Librer\xEDas del Sistema","Terms of Service & Privacy Policy":"Terminos de Servicio y Pol\xEDtica de privacidad","About...":"Acerca de...","SVG Source...":"Fuente SVG...","Easyeda Source...":"Fuente EasyEDA...","Group these items as a SCHLIB/Symbol":"Agrupar estos objetos como SCHLIB/S\xEDmbolo","Digital Objects":"Objetos Digitales",Properties:"Propiedades",Attributes:"Atributos",Apply:"Aplicar","Save as default":"Gruardar como predeterminado","Canvas Attributes":"Atributos del lienzo",Width:"Anchura",Height:"Altura",Background:"Fondo","Visible Grid":"Rejilla Visible","Grid Color":"Color de la rejilla","Grid Size":"Tama\xF1o de la rejilla","Grid Style":"Estilo de la rejilla","Stroke color":"Color del trazo","Stroke width":"Anchura del trazo","Stroke style":"Estilo del trazo","Fill color":"Rellenar con color","Selected Objects":"Seleccionar Objetos","Frame Size":"Tama\xF1o del marco","Text Attributes":"Atributos del texto",Text:"Texto","Font-family":"Fuente - Familia","Font-size":"Fuente - Tama\xF1o","Font-weight":"Fuente - Anchura","Font-style":"Fuente - Estilo","Text type":"Tipo de Texto","Text-anchor":"Texto - Ancla",Baseline:"L\xEDnea Base","X radius":"Radio X","Y radius":"Radio Y","Pin Attributes":"Atributo de los pines",Orientation:"Orientaci\xF3n","0 degrees":"0 Grados","45 degrees":"45 Grados","90 degrees":"90 Grados","180 degrees":"180 Grados","270 degrees":"270 Grados","Start-X":"Origen - X","Start-Y":"Origen - Y",Length:"Longitud",Name:"Nombre",Number:"Numero","Spice Pin order":"Spice orden de pines","Name Display":"Nombre a mostrar","Number display":"Numero a mostrar",Show:"Mostrar",Electric:"El\xE9ctrico","Junction Attributes":"Atributos de junta","X-Location":"Localizaci\xF3n X","Y-Location":"Localizaci\xF3n Y",Size:"Tama\xF1o","Net Label":"Etiqueta de la Net","Part Attributes":"Atributos del componente",Prefix:"Prefijo","Image Attributes":"Atributos de la imagen",Units:"Unidades","Snap Size":"Tama\xF1o de captura",Other:"Otro","Routing Width":"Anchura de ruteado","Routing Angle":"\xC1ngulo de ruteado",Grid:"Rejilla","Copper Zone":"Zona de cobre","Track Properties":"Propiedades de Pistas",Layer:"Capas","End-X":"Fin - X","End-Y":"Fin - Y","Pad Properties":"Propiedades de Pads",Shape:"Forma","Hole(D)":"Orificio(D)","Center-X":"Centro - X","Center-Y":"Centro - Y",Diameter:"Di\xE1metro","Text Properties":"Propiedades del Texto",LineWidth:"Ancho de L\xEDnea",Rotation:"Rotaci\xF3n","Dimension Attributes":"Atributos de dimensi\xF3n","Footprint Attributes":"Atributos Footprint","Prefix Display":"Prefijo a mostrar","Arc Properties":"Propiedades de Arco","Rect Properties":"Propiedades de Recta","Round radius":"Radio circular","Circle Properties":"Propiedades de C\xEDrculo",Radius:"Radio","CopperArea Properties":"Propiedades de \xE1rea de cobre",Clearance:"Espaciado","Pad Connection":"Conexi\xF3n Pad",Direct:"Directo",Spoke:"Radio","Keep Island":"Mantener Isla","Fill Style":"Estilo de relleno","CopperArea conflict: copper area outlines in same layer with different net names must not overlap":"Conflicto en el \xE1rea de cobre: Diferentes \xE1reas de cobre con distinto nombre en la misma capa no pueden superponerse.","Board outlines are not closed.":"Los bordes de la placa no est\xE1n cerrados","Rebuild CopperArea":"Reconstruir el \xE1rea de cobre","Custom Attributes":"Atributos personalizados","Add new parameter":"A\xF1adir nuevo par\xE1metro","Create an account":"Crear una cuenta","Username:":"Nombre de Usuario","Password:":"Contrase\xF1a","Confirm Password:":"Confirmar Contrase\xF1a","Please read this before you register":"Leer esto antes de registrarse","Lost Password...":"Contrase\xF1a perdida...","Find the password using your email":"Recuperar la contrase\xF1a usando tu email","Username or Email:":"Nombre de Usuario o Email","Reset a password using your email:":"Restablecer contrase\xF1a usando tu Email:","Your registered email:":"Tu Email de registro:","Re-send an activation code to your email:":"Volver a mandar el c\xF3digo de activaci\xF3n a tu Email","Invite friends to register":"Invitar a registrarse a tus amigos","Add a new parameter":"A\xF1adir nuevo par\xE1metro","Key:":"Tecla","Value:":"Valor","Change your password":"Cambiar tu contrase\xF1a","Old password:":"Antigua contrase\xF1a","New Password:":"Nueva contrase\xF1a","Create a new project":"Crear un nuevo proyecto","Save as a schematic":"Guardar como Esquem\xE1tico","Save as a schematic Lib":"Guardar como Librer\xEDa de Esquem\xE1tico","Save as a spice Symbol":"Guardar como S\xEDmbolo Spice","Save as a spice subckt":"Guardar como Spice Subckt","YOU MUST CREATE A SPICE SYMBOL WITH EXACTLY THE SAME NAME AS THIS SUBCKT":"DEBES CREAR UN S\xCDMBOLO SPICE CON EL MISMO NOMBRE QUE ESTE SUBCKT","Save as a PCB file":"Guardar como Archibo PCB","Save as a PCB Lib":"Guardar como Librer\xEDa PCB","Title:":"T\xEDtulo","Share:":"Compartir","Visibility:":"Visibilidad","Allow Comments:":"Permitir comentarios","Public (Anyone can see this project but only you can modify it.)":"P\xFAblico (Solo tu puedes modificar este proyecto. Cualquiera puede verlo)","Private (Only you can see and modify this project)":"Privado (Solo tu puedes ver y modificar este proyecto)","Categories:":"Categor\xEDas:","Project:":"Proyecto:","Short descript:":"Descripci\xF3n corta:","Content:":"Contenido:","Modify this project info.":"Modificar la informaci\xF3n del proyecto.","Modify this file info.":"Modificar la informaci\xF3n del archivo.","Notice:":"Aviso:","Search for it before creating a new one.":"Encuentralo antes de crearlo.","Save your file":"Guarda tu archivo","Clone it to a project":"Cl\xF3nalo en un proyecto","Clone it,then re-edit it":"Cl\xF3nalo, luego editalo","Clone your file":"Clonar tu archivo","Attach a Subckt to this spice symbol":"Enlazar un Subckt a este s\xEDmbolo SPICE","Subckt string:":"Cadena Subckt","Show your simulation report":"Muestra el informe de tu simulaci\xF3n","Download netlist":"Descargar Netlist",Run:"Ejecutar","Import file from your computer":"Importar archivo desde tu ordenador","File Operation":"Operaci\xF3n con el archivo","Import File":"Importar archivo","Extract Libs":"Extraer Librer\xEDas","Modify symbol information":"Modifica la informaci\xF3n de tu s\xEDmbolo","PCB Prefix:":"Prefijo PCB","Spice Prefix:":"Prefijo SPICE","Hidden Pin:":"Pin oculto","Pin Map":"Mapa Pin","Export BOM":"Exportar BOM","Run your simulation":"Ejecuta tu simulaci\xF3n",Transient:"Transitorio","Maximum Timestep:":"M\xE1ximo paso de tiempo","Stop Time:":"Tiempo de finalizaci\xF3n","Start Time:":"Tiempo de comienzo","AC Analysis":"An\xE1lisis AC","Type of Sweep:":"Tipo de barrido","Number of points:":"Numero de puntos","Start Frequency:":"Frecuencia inicial","Stop Frequency:":"Frecuencia final","DC sweep":"Barrido DC","Source to Sweep:":"Fuente de barrido","Start Value:":"Valor inicial","Stop Value:":"Valor final","Increment:":"Incremento","DC Transfer":"Transferencia DC","Output:":"Salida","Source:":"Fuente","Compute the DC operating point treating capacitances as opens and inductances as shorts":"La operaci\xF3n de c\xE1lculo DC trata a las capacidades como circuitos abiertos y las inductancias como cortocircuitos","Active File":"Activar archivo","Active Project":"Activar Proyecto","Embed it in your html files.":"Incrustar en tus archivos html.","Share it by e-mail, IM, blog, etc.)":"Compartir v\xEDa Email, IM, Blog, etc.","BBCode (used by many online discussion forums)":"BBCode (Usado en la mayor\xEDa de foros)","HTML code":"C\xF3digo HTML",Picture:"Ilustraci\xF3n","QRCode (Share your schematic address by QRCode )":"QRCode (Comparte la direcci\xF3n de tu Esquem\xE1tico v\xEDa QRCode)","Short Url":"Url corta","Share a copy of this document":"Compartir una copia de este documento",Readonly:"Solo lectura","Export your works":"Exportar tus trabajos","Export Option:":"Exportar opciones","Image Type:":"Tipo de imagen","Qualify:":"Calificar","0 means real size":"0 significa tama\xF1o real","Merged layer":"Capa fusionada","Separated layer":"Capa independiente",Export:"Exportar",Mirror:"Espejo",TopLayer:"Capa superior",BottomLayer:"Capa inferior",TopSilkLayer:"Capa de serigrafica superior",BottomSilkLayer:"Capa de serigrafica inferior",Inner1:"Interior1",Inner2:"Interior2",Inner3:"Interior3",Inner4:"Interior4",Colour:"Color","Width:":"Anchura","Confirm Importing changes information":"Confirmar informaci\xF3n importada de los cambios","Layer Options Settings":"Configurar opciones de capas","Layers setting:":"Configurar capas",Configured:"Configurado","Layer Name":"Nombre de capa",TopPasterLayer:"Capa superior Parche",BottomPasterLayer:"Capa inferior Parche",TopSolderLayer:"Capa superior de soldaduras",BottomSolderLayer:"Capa inferior de soldaduras",BoardOutline:"Bordes de placa",All:"Todos",Document:"Documento",Hole:"Orificio",DRCError:"Error DRC",Setting:"Configuraci\xF3n","Drawing area":"\xC1rea de dibujo","Export area:":"Exportar \xC1rea","Create Files":"Crear archivos","Download free Gerber Viewer (gerbv)":"Descargar el visor gratuito Gerber (gerbv)",Item:"Objeto",Value:"Valor",Unit:"Unidad","Track Width":"Ancho del trazado","Track to Track":"Pista a pista","Track to Pad":"Pista a pad","Pad to Pad":"Pad a pad","Hole to Hole":"Orificio a orificio","Via Hole Size":"Tama\xF1o del orificio de v\xEDa","Invalid Package":"Paquete no v\xE1lido","Hotkey Setting":"Configurar HotKey","Document Type":"Tipo de documento",Shortcut:"Acceso directo",Function:"funci\xF3n",ALL:"Todos","Rotate selected objects":"Rotar los objetos seleccionados","Scroll Or Move selected left":"Scroll o mover objeto seleccionado a la izquierda","Scroll or Move selected right":"Scroll o mover objeto seleccionado a la derecha","Scroll or Move selected up":"Scroll o mover objeto seleccionado hacia arriba","Scroll or Move selected down":"Scroll o mover objeto seleccionado hacia abajo","Select All":"Seleccionar todo","Cancel current drawing":"Cancelar el dibujo actual",Save:"Guardar","Drag Tool":"Herramienta Arrastrar","Draw Wire":"Dibujar Calbe","Draw Bus":"Dibujar Bus",NetLabel:"Etiqueta Net","Draw Polyline":"Dibujar Polil\xEDnea","Draw Polygon":"Dibujar Pol\xEDgono","Draw Bezier":"Dibujar Bezier","Draw Arc":"Dibujar Arco","Draw Rect":"Dibujar Recta","Draw Ellipse":"Dibujar Elipse","Freehand Draw":"Dibujo a mano alzada","Draw Text":"Dibujar Texto","Edit Selected Symbol":"Editar el s\xEDmbolo seleccionado","Draw Track":"Dibujar Pista","Draw Circle":"Dibujar C\xEDrculo","Draw Dimension":"Dibujar Dimensi\xF3n","Draw Connect":"Dibujar Conexi\xF3n","Draw CopperArea":"Dibujar \xC1rea de cobre","Change To TopLayer":"Cambiar a la capa superior","Change To BottomLayer":"Cambiar a la capa inferior","Change To Inner1":"Cambiar a Interior1","Change To Inner2":"Cambiar a Interior2","Change To Inner3":"Cambiar a Interior3","Change To Inner4":"Cambiar a Interior4","Highlight Net":"Seleccionar Net","Place Pad":"Colocar Pad","Place Via":"Colocar V\xEDa",Measure:"Medir","Change Routing Angle":"Cambiar \xE1ngulo de rotaci\xF3n","Decrease Routing Width":"Disminuir anchura de ruteo","Increase Routing Width":"Aumentar anchura de ruteo","Decrease Snap Size":"Disminuir tama\xF1o de captura","Increase Snap Size":"Aumentar tama\xF1o de captura","Remove All Copper Area":"Eliminar todas las \xC1reas de cobre","Rebuild All Copper Area":"Reconstruir todas las \xC1reas de cobre","New Project":"Nuevo Proyecto",Modify:"Modificar","Add sub part":"A\xF1adir sub part","Clone it":"Cl\xF3nalo","Please type a short summary!":"Por favor, escribe un breve resumen","Support...":"Soporte...","A short summary":"Un breve resumen","Make sure your reports are clear and detailed":"Asegurate de que tus informes est\xE1n claros y detallados",Submit:"Enviar","Verify the packages":"Verificar paquetes",Clone:"Clonar","Reload parts":"Recargar componentes",Layers:"Capas","Language:":"Idioma:","Display Name:":"Nombre a mostrar:","HotKey Sync:":"Sincronizaci\xF3n de Hotkey:","Document Recovery Setting:":"Configuraci\xF3n de copia de seguridad:","Maximum backup level:":"M\xE1ximo nivel de copias de seguridad:","Auto backup(minutes):":"Autoguardado (Minutos):","Save to Server":"Guardar en servidor","Load from Server":"Cargar desde el servidor","Style:":"Estilo:","Picture:":"Ilustraci\xF3n:","Pin Names:":"Nombre de los Pines:",Annotate:"Numerar",Scope:"Visualizador","Active Schematic only":"Esquem\xE1tico activo solo","All Opened Schematics":"Todos los Esquem\xE1ticos abiertos",Method:"M\xE9todo","Re-annotate all":"Volver a numerar todo","Keep existing annotation":"Mantener la numeraci\xF3n actual",Direction:"Direcci\xF3n",Rows:"Filas",Cols:"Columnas","Order...":"Ordenar...","Order your PCB from EasyEDA":"Ordenar tu PCB desde EasyEDA","PCB Qty.":"Cantidad PCB.","PCB Thickness":"Espesor PCB","PCB Dimension":"Dimension PCB","Automatic calculation":"Calculo Autom\xE1tico","PCB Color":"Color PCB",Green:"Verde",White:"Blanco",Blue:"Azul",Red:"Rojo",Yellow:"Amarillo",Black:"Negro","Surface Finish":"Acabado superficial","Hasl(Lead Free)":"Hasl (sin plomo)","Open Project":"Abrir proyecto","Cost Estimate":"Coste estimado","Actual cost will be confirmed by email.":"Los costes actuales se confirmar\xE1n por Email","Shipping information":"Informaci\xF3n de envio",Address:"Direcci\xF3n","ZIP/Post code":"ZIP/C\xF3digo postal",City:"Ciudad",Country:"Pa\xEDs","After filling out the form above, we will email you with (i) the results of the design rule check, (ii) a quote and (iii) a payment link using Paypal. Shipping is normally one week from receipt of payment.":"Despu\xE9s de rellenar el formulario, te mandaremos un correo con (i) los resultados de la comprobaci\xF3n de dise\xF1o, (ii) una cita y (iii) un enlace de pago en PayPal. El envio tiene lugar normalmente una semana despues de recibir el pago.","Restore All Default Shortcuts":"Restaurar todos los accesos directos predeterminados","Save Changes":"Guardar Cambios",Confirmation:"Confirmaci\xF3n",information:"Informaci\xF3n",error:"Error","error!":"\xA1Error!",Warning:"Alerta","Imported ok!":"Importaci\xF3n completada","Some changes have not been saved.":"Algunos cambios no han sido guardados","load failure !":"\xA1Fallo en la carga!","error info":"Informaci\xF3n del error","error information":"informaci\xF3n del error","Please create a project before you do this!":"Por favor crea un nuevo proyecto antes de hacer esto","Add Part success":"A\xF1adir componente completado","Click the new part and then edit it !":"\xA1Clic sobre el nuevo componente y editalo!","Delete my work":"Eliminar mi trabajo","Do you confirm this?":"\xBFDeseas confirmar esto?","Successfully deleted!":"\xA1Eliminaci\xF3n completada!","Cloning success!":"\xA1Clonaci\xF3n completada!","Your title is too short!":"\xA1El t\xEDtulo es demasiado corto!","Remove this part":"elimina este componente","Find and Jump to ...":"Encontrar y saltar a...","Please type the prefix, such as U1, R1, C1":"Por favor escribe el prefijo, como U1, R1, C1","Zoom as 1:1, you can print it and then create artwork for etching the PCB.":"Zoom est\xE1 a 1:1, puedes imprimir y crear detalles para el grabado del la PCB","Exporting your works!":"\xA1Exporta tus trabajos!","Guests can't import a file. Please login!":"Invitados no pueden importar archivos, \xA1por favor accede como usuario!","Please create a project before you import a file!":"\xA1Por favor crea un proyecto antes de importar un archivo!","Import your LTspice file!":"\xA1Importa tu archivo LTspice!","Saved successfully!":"\xA1Guardado correcto!","Can not place parts into this document.":"No se puede colocar componentes en este documento","User Package":"Paquete del usuario","System Package":"Paquete del sistema","File error":"Error del archivo","Please save your file first!":"Por favor, \xA1guardar el archivo primero!","Email address is too short!":"\xA1La direcci\xF3n de correo es demasiado corta!","You have not selected a file to upload.":"No hay ning\xFAn archivo seleccionado para subir.",Update:"Actualizar","No changes":"sin cambios","PCB is the same as SCH!":"PCB es igual que SCH!","Only public files can be shared":"Solo los archivos p\xFAblicos se pueden compartir","Conversion to PCB has failed!":"\xA1La conversi\xF3n a PCB ha fallado!","Your username is too short!":"\xA1El nombre de usuario es demasiado corto!","Your password is too short, it must be more than 6 characters!":"\xA1La contrase\xF1a es demasiado corta, debe contener al menos 6 car\xE1cteres!","Conflicting shortcut:":"Conflicto con el acceso directo:","There is an empty PCB file. Please first run Convert Project To PCB... from the schematic":"Hay un archivo PCB vac\xEDo. Por favor, ejecuta el Convertidor Proyecto a PCB... desde el Esquem\xE1tico","This file has been modified, are you sure you want to run this simulation before saving it first?":"El archivo ha sido modificado, est\xE1s seguro que quieres ejecutar la simulaci\xF3n? \xBFQuiz\xE1s prefieres guardar primero?","Please enter the Maximum Timestep!":"\xA1Por favor, introduce el Tiempo de Paso M\xE1ximo!","Please enter the Stop Time!":"\xA1Por favor, introduce el tiempo de Stop!","All of these fields are needed.":"Todos estos campos son necesarios.","Either your spice netlist is too big or the server is busy. Please try again later.":"Puede que tu netlist spice sea demasiado grande o el servidor est\xE9 ocupado. Por favor, intentalo m\xE1s tarde.","Your spice netlist is too big! Try breaking your circuit into smaller simulatable blocks.":"Tu netlist spice es demasiado grande! Intenta desglosar tu circuito en bloques simulables m\xE1s peque\xF1os.","Too many users in simulation. Please try again later!":"Hay demasiados usuarios en simulaci\xF3n. Por favor, intentalo m\xE1s tarde.","Your simulation results are too large! Try reducing the total simulation time (Stop Time - Start Time), increasing the maximum time step, removing some of your probes or breaking your circuit into smaller simulatable blocks.":"\xA1Los resultados de la simulaci\xF3n son demasiado grandes! Intenta reducir el tiempo total de simulaci\xF3n (Tiempo de finalizaci\xF3n - Tiempo de comienzo), incrementando el Tiempo de Pasos M\xE1ximo , eliminando algunas sondas de medida o desglosando el circuito en bloques simulables m\xE1s peque\xF1os.","The schematic is showing errors, please check the simulation report carefully!":"El esquem\xE1tico muestra errores, por favor comprueba el informe de simulaci\xF3n detenidamente.","Simulation too long, maybe your schematic is too complex.":"La simulaci\xF3n es demasiado larga, quiz\xE1s tu Esquem\xE1tico es demasiado complejo.","Load your preferences success!":"\xA1Se han cargado tus preferencias correctamente!","Save preferences successfully!":"\xA1Se han guardado tus preferencias correctamente!","Update subckt ok!":"\xA1Actualizaci\xF3n de subckt correcta!","Please type a new file name":"Por favor escribe el numbre del nuevo archivo","Create file failure!":"\xA1Fallo al crear el archivo!","Libraries to be imported under My Libs folder":"Las librer\xEDas que ser\xE1n importadas bajo la carpeta Mis Librer\xEDas","Please choose only the libraries needed":"Por favor, elige solo las librer\xEDas necesarias","Maximum import is 200 libs at one time!":"\xA1Como m\xE1ximo 200 librer\xEDas para importar a la vez!","Import Libraries success":"Importar Librer\xEDas Completado","You libraries will be found under the My Libs folder":"Puedes encontrar tus librer\xEDas en la carpeta Mis Librer\xEDas","Add to My Libs":"A\xF1adir a Mis Librer\xEDas","No items have been checked!":"\xA1Ning\xFAn objeto ha sido comprobado!","Nothing was found, please create it for yourself":"Nada encontrado, por favor crealo tu mismo","Search result":"Resultados de la b\xFAsqueda","At least 3 characters needed":"Se requieren como m\xEDnimo 3 car\xE1cteres","Add to my Favorite Parts":"A\xF1adir a mis Componentes Favoritos","Added it OK. Please find it in your Favorite Parts":"A\xF1adido correcto. Por favor busca en tus Componentes Favoritos","Please select its parent node":"Por favor selecciona un nodo padre","Libraries can not be exported as active project pdf.":"Las librer\xEDas no pueden ser exportadas como pdf del proyecto activo.","Make sure your pin numbers are even numbers":"Asegurate que la numeraci\xF3n de los pines siguen siendo numeros","Prefix Conflict":"Conflicto de prefijo","There are some invalid packages, are you sure?":"Hay algunos paquetes invalidos, \xBFest\xE1s seguro?","Invalid Characters, library only allows [0-9a-zA-Z-_]":"Car\xE1cteres no validos, las librer\xEDas solo permiten [0-9 a-z A-Z -_]","Annotation success":"Numeraci\xF3n completada","If you accept this annotation operation, please save your files. If not, close your files without saving.":"Si aceptas esta operaci\xF3n de numeraci\xF3n, por favor guarda tus archivos. Si no, cierra tus archivos sin guardar.","Your file is unsaved.":"Tu archivo no ha sido guardado.","You can close the editor now. Have a good day!":"\xA1Puedes cerrar el editor ahora y pasa un buen d\xEDa!","Logout Successfully!":"Cierre de sesi\xF3n correcto","You have unsaved file, please save it or close it":"Tienes un archivo no guardado, por favor guarda o cierralo","Please try again after saving this file.":"Vuelve a intentarlo tras guardar el archivo.","Connecting to server":"Conectando con el servidor","Please login before asking for help":"Por favor accede como usuario antes de realizalizar una consulta de ayuda","This file has been modified, please save it first!":"Este archivo ha sido modificado, por favor guardalo primero.","Remove this param":"Eliminar este par\xE1metro",Skip:"Saltar","\u2190 Back":"\u2190 Anterior","Next \u2192":"Siguiente \u2192","This is user management menu.":"Este es el men\xFA de gesti\xF3n del usuario.","This is super menu.":"Este es el super men\xFA.","This is toolbar.":"Esto es una barra de herramientas.","This is config menu button.":"Este es el bot\xF3n del men\xFA de configuraci\xF3n.","This is share button.":"Este es el bot\xF3n de compartir.","This is document management menu.":"Este es el men\xFA de gesti\xF3n del documento.","Show or hide your toolbar at here.":"Mostrar u ocultar tu barra de herramientas as\xED.","Show or hide your left sidebar at here.":"Mostrar u ocultar tu barra lateral izquierda as\xED.","Show or hide your right sidebar at here.":"Mostrar u ocultar tu barra lateral derecha as\xED.","Passive Components":"Componentes pasivos","Power Supply":"Fuente de alimentaci\xF3n",Diodes:"Diodos",Regulator:"Regulador",Transformers:"Tranformadores",Gates:"Puertas","Vacuum Tubes":"Tubos de vac\xEDo",Switch:"Interruptor",Relay:"Rel\xE9","Capacitor(US)":"Condensador (US)","Capacitor(EU)":"Condensador (EU)","Capacitor(EU)2":"Condensador 2 (EU)","Electrolytic Capacitor(US)":"Condensador Electrol\xEDtico (US)","Electrolytic Capacitor(EU)":"Condensador Electrol\xEDtico (EU)","Electrolytic Capacitor(US)2":"Condensador Electrol\xEDtico 2 (US)","Electrolytic Capacitor(EU)2":"Condensador Electrol\xEDtico 2 (EU)","Potentiometer(US)":"Potenciometro (US)","Potentiometer(EU)":"Potenciometro (EU)","Resistor(US)":"Resistencia (US)","Resistor(EU)":"Resistencia (EU)","Resistor 45 Deg(US)":"Resistencia 45 grados (US)","Resistor 45 Deg(EU)":"Resistencia 45 grados (EU)","Variable Capacitor(US)":"Condensador Variable (US)","Variable Capacitor(EU)":"Condensador Variable (EU)","Variable Resistor(US)":"Resistencia Variable (US)","Variable Resistor(EU)":"Resistencia Variable (EU)","Variable Inductor(US)":"Inductor Variable (US)","Variable Inductor(EU)":"Inductor Variable (EU)",Battery:"Bater\xEDa","Voltage Source":"Fuente de tensi\xF3n","Current Source":"Fuente de corriente","CCCS(Current Controlled Current Source)":"CCCS (Fuente de corriente controlada por corriente)","CCCS2(Current Controlled Current Source)":"CCCS2 (Fuente de corriente controlada por corriente)","VCCS(Voltage Controlled Current Source)":"VCCS (Fuente de corriente controlada por tensi\xF3n)","VCVS(Voltage Controlled Voltage Source)":"VCVS (Fuente de tensi\xF3n controlada por tensi\xF3n)","CCVS(Current Controlled Voltage Source)":"CCVS (Fuente de tensi\xF3n controlada por corriente)","CCVS2(Current Controlled Voltage Source)":"CCVS2 (Fuente de tensi\xF3n controlada por corriente)","Epoly(Non-linear Voltage Source)":"Epoly(Fuente de tensi\xF3n no lineal)","Gpoly(Non-linear Current Source)":"Gpoly(Fuente de corriente no lineal)",Diode:"Diodo","Schottky Diode":"Diodo Schottky","Varactor Diode":"Diodo Varactor","Unidirectional TVS Diode":"Diodo TVS Unidireccional","Bidirectional TVS Diode":"Diodo TVS Bidireccional",Bridge:"Puente","Transform(US)":"Transformador (US)","Transform(EU)":"Transformador (EU)","Transfrom(NEUTRAL-CTR TAP)(US)":"Transformador (Neutro - CTR TAP)(US)","Transfrom(NEUTRAL-CTR TAP)(EU)":"Transformador (Neutro - CTR TAP)(EU)","Mutual Inductors":"Inductores mutuos","Mutual Inductors2":"Inductores mutuos 2","Or Gate":"Puert OR","Xor Gate":"Puerta XOR","And Gate":"Puerta AND","Nor Gate":"Puerta NOR","Nand Gate":"Puerta NAND","Not Gate":"Puerta NOT","Xnor Gate":"Puerta XNOR","Tube Diode":"Tubo Diodo","Tube Triode":"Tubo Triodo","Tube Tetrode":"Tubo Treode","Tube Pentode":"Tubo P\xE9ntodo","Voltage Controlled Switch":"Interruptor controlado por voltaje","Current Controlled Switch":"Interruptor controlado por corriente",Fuse:"Fusible","555(Style2)":"555(Estilo 2)",Speaker:"Altavoz","5pin Operational Amplifier":"Amplificador operacional de 5 pines","3pin Operational amplifier":"Amplificador operacional de 3 pines","Transmission Line":"L\xEDnea de Transmisi\xF3n",Voltmeter:"Volt\xEDmetro",Ammeter:"Amper\xEDmetro",LAMP:"Bombilla","Schematic Library Wizard":"Librer\xEDa de Esquem\xE1tico Wizard","Prefix:":"Prefijo:","Name:":"Nombre:","Package:":"Paquete:","Need login":"Necesario Login","Bad password":"Contrase\xF1a erronea","We can't find your username or your email, please check it!":"No podemos encontrar tu nombre de usuario o tu email, por favor revisalo","Make sure your uploaded file size is less than 3MB!":"Asegurate de que el tama\xF1o del archivo a subir es inferior a 3MB","Bad file type":"Tipo de archivo incorrecto","Empty file or bad file type, ensure your file is Eagle 6.0+":"Archivo vac\xEDo o tipo de archivo incorrecto, asegurate de que el archivo es de Eagle 6.0+","This operation not supported on demo account":"Esta operaci\xF3n no est\xE1 permitida en una cuenta de demostraci\xF3n","Can not share this file under a private project, please set the active project to public!":"No puedes compartir este archivo bajo un proyecto p\xFAblico, por favor activa el proyecto como p\xFAblico.","Common Buttons Setting":"Configuraci\xF3n com\xFAn de los botones","Show/Hide":"Mostrar/Ocultar","Move Up":"Mover hacia arriba","Move Down":"Mover hacia abajo","Reset All":"Restablecer Todo","Find Libraries...":"Encontrar Librer\xEDas","Place Pin":"Colocar Pin","Permissions:":"Permisos:",Permissions:"Permisos",Operation:"Operaci\xF3n","Access Control":"Control de Acceso",Reject:"Rechazar","Add User":"A\xF1adir usuario","Bad email address":"Direcci\xF3n de correo erronea","Grid Background":"Rejilla de fondo","Pane Background":"Panel de fondo","WaveForm Config":"Configuraci\xF3n visualizador de forma de onda","Export Waveform to CSV":"Exportar forma de onda en CSV",dot:"Punto",line:"L\xEDnea","A4 Portrait":"A4 Vertical","A4 Landscape":"A4 Horizontal","A3 Portrait":"A3 Vertical","A3 Landscape":"A3 Horizontal","A2 Portrait":"A2 Vertical","A2 Landscape":"A2 Horizontal","A1 Portrait":"A1 Vertical","A1 Landscape":"A1 Horizontal",solid:"s\xF3lido",dashed:"discontinuas",dotted:"punteado","Find libs":"Encontrar librer\xEDas","My Projects":"Mis Proyectos","My Parts":"Mis Componentes","System IC":"Sistema IC","Favorite Parts":"Componentes Favoritos","Shared With Me":"Compartir conmigo",Preview:"Previsualizar",Close:"Clonar",Open:"Abrir","Toggle toolbar":"Activar/desactivar barra de herramientas","Toggle left bar":"Activar/desactivar barra izquierda","Toggle right bar":"Activar/desactivar barra derecha",Reload:"Recargar",Yes:"S\xED",Cancel:"Cancelar","Ask a question":"Hacer una pregunta","Go to my page":"Ir a mi p\xE1gina","Bus entry":"Entrada Bus",Filter:"Filtro",Check:"Comprobar","Guest Project":"Proyecto de invitados","Insert into":"Insertar dentro","Copy the contents of this box into a text editor, then save the file. Paste the edited text back into this box and click Apply to update the display.":"Copiar los contenidos de esta caja en el editor de texto, despu\xE9s guarda el archivo. Pega el texto editado de vuelta en esta caja y haz clic en Aplicar para actualizar el display.","EasyEDA format":"Formato EasyEDA","Copy the contents of this box into a text editor, then save the file with a .svg extension. You can edit it in Inkscape or open it in your browser.":"Copiar los contenidos de esta caja en el editor de texto, despu\xE9s guarda el archivo con la extensi\xF3n .svg. Puedes editarlo en Inkscape o abrirlo en tu buscador.","SVG format":"Formato SVG","SVG File":"Archivo SVG","Description should be no more than 250 letters":"La descripcion no puede superar las 250 letras","The file save operation has timed out. Try again and check your Internet connection.":"La operaci\xF3n de guardado del archivo ha sobrepasado el tiempo m\xE1ximo. Intentalo de nuevo y revisa tu conexi\xF3n a Internet.","Export Netlist":"Exportar Netlist","Coming soon":"Muy pronto","No tool":"Sin herramienta","Help us translate into your language":"Ay\xFAdanos a traducir a tu idioma","PCB Layers":"Capas PCB","Order PCB":"Ordenar PCB",Share:"Compartir",Free:"Libre",Small:"Peque\xF1o",Medium:"Mediano",Big:"Grande",Embed:"Incrustar",BBCode:"C\xF3digo BB","Exporting as":"Exportar como","Exporting as image":"Exportar como imagen","Exporting as pdf is recommended: pdf gives good quality printed output and a small file size.":"Exportar como PDF recomendado: PDF da gran calidad de impresi\xF3n y el archivo tiene un tama\xF1o peque\xF1o.","PenWidth-Increase:":"Aumentar el grosor del trazo","Create a new Project...":"Crear un nuevo proyecto","Create a new Schematic":"Crear un nuevo Esquem\xE1tico","Create a new Schematic Lib":"Crear una nueva librer\xEDa de Esquem\xE1tico","Create a new Spice Symbol":"Crear un nuevo S\xEDmbolo Spice","Create a new Spice Subckt":"Crear un nuevo Spice Subckt","Create a new PCB":"Crear una nueva PCB","Create a new PCB Lib":"Crear una nueva librer\xEDa PCB","Export your file, then print it yourself.":"Exporta tu archivo e imprimelo tu mismo.","Trace width is too small":"El tama\xF1o del trazo es demasiado peque\xF1o","Images Attribute":"Atributos de Imagen","Connect Pad to Pad":"Conexi\xF3n de Pad a Pad","Copper Area":"\xC1rea de Cobre",Dimension:"Dimensi\xF3n",User:"Usuario",Tutorials:"Tutoriales","Support Forum":"Foro Soporte",Extensions:"Extensiones","Group These Items As a Package":"Agrupar objetos Como Paquete"};var Hoi={555:"NE555","Join...":"Rejoindre","Login...":"S'identifier...","Log in":"Connexion",Logout:"D\xE9connexion","Change password...":"Changer le Mot de Passe...","User Preferences...":"Pr\xE9f\xE9rences utilisateur...","Document Recovery...":"R\xE9cup\xE9ration d'un crash...","Invite friends...":"Inviter des amis...",Language:"Langue",English:"Anglais","Polski (Polish)":"Polonais","Deutsch (German)":"Allemand","Fran\xE7ais (French)":"Fran\xE7ais","\u7B80\u4F53\u4E2D\u6587 (Chinese - Simplified)":"Chinois simplifi\xE9","\u6B63\u9AD4\u4E2D\u6587 (Chinese - Traditional)":"Chinois traditionnel","\uD55C\uAD6D\uC5B4 (Korean)":"Cor\xE9en","Document Recovery":"R\xE9cup\xE9ration de Document",Recover:"R\xE9cup\xE9rer","Your Preferences Information":"Information sur Vos pr\xE9f\xE9rences",File:"Fichiers",New:"Nouveau","Project...":"Projet...",Schematic:"Sch\xE9ma","Schematic Lib":"Librairie Sch\xE9ma","Spice Symbol":"Symbole Spice","Spice Subckt":"Sous-circuit Spice",PCB:"Circuit","PCB Lib":"Librairie de Circuit","Save...":"Enregistre...","Save As...":"Enregistre sous...","Print...":"Imprimer...","Export...":"Exporter...","Pads...":"Pastilles...",Import:"Importer","Super Menu":"Menu G\xE9n\xE9ral",Edit:"Editer",Undo:"D\xE9faire",Redo:"Refaire",Cut:"Couper",Copy:"Copier",Paste:"Coller",Select:"S\xE9lectionner",Delete:"Supprimer",Clear:"Effacer",Move:"D\xE9placer",Drag:"Glisser","Bring to Front":"Ammener \xE0 l'avant","Send to Back":"Envoyer en arri\xE8re",Align:"Aligner","Align Left":"Aligner \xE0 Gauche","Align Right":"Aligner \xE0 Droite","Align Top":"Aligner en Haut","Align Bottom":"Aligner en Bas",Rotate:"Rotation","Rotate Left":"Rotation vers la gauche","Rotate Right":"Rotation vers la droite","Flip Horizontal":"Miroir Horizontal","Flip Vertical":"Miroir Vertical","Rotate and Flip":"Rotation et Miroir","Group/Ungroup Symbol...":"Grouper/D\xE9grouper les Symboles...",View:"Vues","Zoom In":"Zoom +","Zoom Out":"Zoom -","Fit in Window":"Ajuster \xE0 la fen\xEAtre",Refresh:"Rafraichir",Snap:"Basculer",Toolbars:"Barres d'Outils","Drawing Tools":"Outils de Dessin","Wiring Tools":"Outils de Cabl\xE2ge","Power Objects":"Organes de Puissance","PCB Tools":"Outils de Circuits","PCBLib Tools":"Outils de Librairies Circuits",Place:"Placer","Elliptical Arc":"Arc Eliptique",Ellipse:"Elipse",Circle:"Cercle",Line:"Ligne",Polyline:"Ligne multiple","Round Rectangle":"Rectangle arrondi",Polygon:"Polygone",Bezier:"B\xE9zier",Path:"Chemin",Graphic:"Grapique","Bus Entry":"Entr\xE9e de Bus",Junction:"Jonction","Net Port":"Port de Liaison","Voltage Probe":"Sonde tension","Power Port":"Port de Puissance",Wire:"Connexion",Track:"Piste","Arrow Head":"Fl\xEAche d'ent\xEAte",Pin:"Broche",Miscellaneous:"Divers","Find Component":"Chercher Composant","Convert Project To PCB...":"Convertir le projet en Circuit","Hotkeys Setting...":"R\xE9glages de touches de Raccourcis...","Edit Symbol...":"Edition de Symbole...","Highlight Net...":"Piste en surbrillance...",Simulate:"Simuler","Simulate...":"Simulation...","Simulation Results...":"R\xE9sultats de simulation...","Run the Document":"d\xE9marrer le Document","Run the Project...":"D\xE9marrer le Projet...","Netlist for Document":"NetList du Document","Netlist for Project":"NetList du Projet","Protel/Altium for PCB...":"Protel/Altium pour Circuit...","Pads for PCB...":"Pads pour Circuit...","FreePCB for PCB...":"FreePCB pour Circuit...","Eagle for PCB...":"Eagle pour Circuit...","Kicad for PCB...":"Kicad pour Circuit...","OrCAD for PCB...":"OrCAD pour Circuit...","BOM report...":"Rapport de Nommenclature...","BOM for Document...":"Nommenclature du Document...","BOM for Project...":"Nommenclature du Projet...","Pin Map...":"Plan des broches...","Edit Subckt...":"Editer un sous-Circuit...","Layer Options...":"Options de couches...","Fabrication Output...":"Sortie fichiers de Fabrication...","Measure Distance":"Mesurer une distance","Design Manager":"Gestionnaire de Projets","New Origin":"Nouvelle Origine","Add SubPart":"Ajoute une sous-partie","Annotate...":"Annoter...",Config:"Configurer",Help:"Aide","Help Topics":"Sujets de l'aide","Change History":"Modifier l'historique","Historical Records...":"Enregistrements de l'historique","Bug Report...":"Rapprts de Bugs...","Feature Request...":"Demande de fonctionnalit\xE9s...","Thank You List":"Liste de Remerciements","Terms of Use & Privacy Policy":"Conditions d'utilisations & Politique de Vie priv\xE9e","Check Hotkeys":"V\xE9rifier les touches de raccourcis",About:"A Propos de","Order PCB...":"Commander des circuits...","Import Changes":"Importer les changements",Press:"Appuyer sur","To switch to Full Screen":"Basculer vers plein \xE9cran","Delete Selected":"Supprilmer la s\xE9lection","Generate Gerber and Drill Files":"Produire les fichiers Gerber et de per\xE7age","Anonymous Files":"Fichier anonyme","Build PCB":"Construire le Circuit","Symbol Wizard...":"Assistant Symboles...","System Libraries":"Librairies Syst\xE8me","Terms of Service & Privacy Policy":"Conditions d'utilisatioons & Politique de Vie priv\xE9e","About...":"A propos...","SVG Source...":"Source SVG...","Easyeda Source...":"Source EasyEDA...","Group these items as a SCHLIB/Symbol":"Grouper ces \xE9l\xE9ments comme symbole SCHLIB","Digital Objects":"Objets Num\xE9riques",Properties:"Propri\xE9t\xE9s",Attributes:"Attributs",Apply:"Appliquer","Save as default":"Enregistrer comme valeurs par d\xE9faut","Canvas Attributes":"Attibuts des fils a\xE9riens",Width:"Largeur",Height:"Hauteur",Background:"Arri\xE8re-plan","Visible Grid":"Grille Visible","Grid Color":"Couleur de Grille","Grid Size":"Taille de Grille","Grid Style":"Style de Grille","Stroke color":"Couleur du segment","Stroke width":"Largeur du segment","Stroke style":"Style du segment","Fill color":"Couleur de remplissage","Selected Objects":"Objets s\xE9lectionn\xE9s","Frame Size":"Taille du cadre","Text Attributes":"Attributs du texte",Text:"Texte",Color:"Couleur","Font-family":"Famille de Fonte","Font-size":"Taille de Fonte","Font-weight":"Epaisseur de Fonte","Font-style":"Style de Fonte","Text type":"Type de Texte","Text-anchor":"Ancre du Texte",Baseline:"Ligne de base","X radius":"Rayon en X","Y radius":"Rayon en Y","Pin Attributes":"Attributs de la broche","0 degrees":"0 degr\xE9s","45 degrees":"45 degr\xE9s","90 degrees":"90 degr\xE9s","180 degrees":"180 degr\xE9s","270 degrees":"270 degr\xE9s","Start-X":"D\xE9part en X","Start-Y":"D\xE9part en Y",Length:"Longueur",Name:"Nom",Number:"Nombre","Spice Pin order":"Ordre des broches Spice","Name Display":"Afficher le Nom","Number display":"Afficher le Nombre",Clock:"Horloge",Show:"Montrer",Electric:"Electrique","Junction Attributes":"Attibuts de la jonction","X-Location":"Position en X","Y-Location":"Position en Y",Size:"Taille","Net Label":"Etiquette de la connexion","Part Attributes":"Attibuts de l'\xE9l\xE9ment",Prefix:"Prefixe","Image Attributes":"Attibuts de l'image",Units:"Unit\xE9s","Snap Size":"Taille du contact",Other:"Autre","Routing Width":"Largeur de routage","Routing Angle":"Angle de routage",Grid:"Grille","Copper Zone":"ZOne de cuivre","Track Properties":"Propri\xE9t\xE9s des pistes",Layer:"Couche",Net:"Connexion","End-X":"Fin en X","End-Y":"Fin en Y",ID:"Rep\xE8re","Pad Properties":"Propri\xE9t\xE9s des pastilles",Shape:"Forme","Hole(D)":"Per\xE7age (Diam\xE8tre)","Center-X":"Centre en X","Center-Y":"Centre en Y",Diameter:"Diam\xE8tre","Text Properties":"Propri\xE9t\xE9s du texte",LineWidth:"Epaisseur de trait","Dimension Attributes":"Attributs des dimensions","Footprint Attributes":"Attributs des empreintes","Prefix Display":"Affichage du Pr\xE9fixe","Arc Properties":"Propri\xE9t\xE9s des arcs de cercles","Rect Properties":"Propri\xE9t\xE9s des rectangles","Round radius":"Rayon de l'arrondi","Circle Properties":"Propri\xE9t\xE9s des cercles",Radius:"Rayon","CopperArea Properties":"Propri\xE9t\xE9s des zones de cuivre",Clearance:"espacement","Pad Connection":"connection aux pastilles",Direct:"Directe",Spoke:"Rayon","Keep Island":"Conserver les zones orphelines","Fill Style":"Style de remplissage","CopperArea conflict: copper area outlines in same layer with different net names must not overlap":"Conflit de zones de cuivre : les diff\xE9rentes zones de cuivre d'une m\xEAme couche ne peuvent pas se superposer.","Board outlines are not closed.":"le contour n'est pas ferm\xE9.","Rebuild CopperArea":"Reconstruire les zones de cuivre","Custom Attributes":"Attributs personnalis\xE9s","Add new parameter":"Ajouter un nouveau param\xE8tre","Create an account":"Cr\xE9er un Compte","Username:":"Nom Utilisateur :","Password:":"Mot de passe :","Confirm Password:":"Conirmer le Mot de passe :","Email:":"Email :","Please read this before you register":"Lisez avant de vous enregistrer","Lost Password...":"Mot de passe oubli\xE9...","Find the password using your email":"R\xE9cup\xE9rer le Mot de passe avec l'adresse mail",Login:"S'identifier","Username or Email:":"Nom Utilisateur ou Email :","Remember Me":"Se souvenir de moi","Third party:":"Tierce partie :","Reset a password using your email:":"R\xE9initialiser le Mot de passe avec mon Email :","Your registered email:":"Votre Email d'enregistrement :","Re-send an activation code to your email:":"Recevoir le Mot de passe par Email :","Invite friends to register":"Inviter des amis \xE0 s'enregistrer","Add a new parameter":"Ajouter un nouveau param\xE8tre","Key:":"Cl\xE9 :","Value:":"Valeur :","Change your password":"Changer votre Mot de passe","Old password:":"Ancien Mot de passe :","New Password:":"Nouveau Mot de passe :","Create a new project":"Cr\xE9er un nouveau Projet","Save as a schematic":"Enregistrer comme Sch\xE9ma","Save as a schematic Lib":"Enregistrer comme Librairie de Sch\xE9ma","Save as a spice Symbol":"Enregistrer comme symbole Spice","Save as a spice subckt":"Enregistrer comme sous-circuit Spice","YOU MUST CREATE A SPICE SYMBOL WITH EXACTLY THE SAME NAME AS THIS SUBCKT":"VOUS DEVEZ CREER UN SYMBOLE SPICE AVEC EXCATEMENT E MEME NOM QUE CE SOUS-CIRCUIT","Save as a PCB file":"Enregistrer comme Fichier de Circuit","Save as a PCB Lib":"Enregistrer comme Librairie de Circuit","Title:":"Titre :","Share:":"Partager :","Visibility:":"Visibilit\xE9 :","Allow Comments:":"Autoriser les commentaires :","Public (Anyone can see this project but only you can modify it.)":"Publique (Vous seul pouvez modifier le Projet. Tout le monde peut le consulter.)","Private (Only you can see and modify this project)":"Priv\xE9 (Vous seul pouvez modifier ou afficher le Projet.)","Categories:":"Cat\xE9gories :","Project:":"Projet :","Short descript:":"Description courte :","Content:":"Contenu :","Modify this project info.":"Modifier les informations du Projet","Modify this file info.":"Modifier les informations du Document","Notice:":"Remarque :","Search for it before creating a new one.":"Trouver avant de cr\xE9er.","Save your file":"Enregistrer votre fichier","Clone it to a project":"Dupliquer dans un Projet","Clone it,then re-edit it":"Dupilquer puis r\xE9-ouvrir","Clone your file":"Dupliquer ce fichier","Attach a Subckt to this spice symbol":"Lier un sous-circuit \xE0 un Symbole Spice","Subckt string:":"Nom du sous-circuit","Show your simulation report":"Afficher le rapport de simulation","Download netlist":"T\xE9l\xE9charger la NetList",Run:"D\xE9marrer","Import file from your computer":"Importer un fichier \xE0 partir de votre ordinateur","File Operation":"Op\xE9ration sur le fichier","Import File":"Importer le fichier","Extract Libs":"\xCAxtraire les Librairies","Modify symbol information":"Modifier les informations du symbole","PCB Prefix:":"Pr\xE9fixe des Circuits :","Spice Prefix:":"Pr\xE9fixes Spice :","Hidden Pin:":"Broches cach\xE9es :","Pin Map":"Plan des broches","Export BOM":"Exporter la nommencature","Run your simulation":"Lancer la Simulation",Transient:"Transitoires","Maximum Timestep:":"Dur\xE9e maximale d'un pas :","Stop Time:":"Fin de la simulation :","Start Time:":"D\xE9but de la simulation :","AC Analysis":"Analyse AC","Type of Sweep:":"Type de balayage :","Number of points:":"Nombre de points :","Start Frequency:":"Fr\xE9quence initiale :","Stop Frequency:":"Fr\xE9quence finale :","DC sweep":"Modulation DC","Source to Sweep:":"Source \xE0 moduler :","Start Value:":"Valeur initiale :","Stop Value:":"Valeur finale :","Increment:":"Incr\xE9ment :","DC Transfer":"Transfert DC :","Output:":"Sortie :","Source:":"Source :","Compute the DC operating point treating capacitances as opens and inductances as shorts":"Calculer le point de onctionnement DC en traitant les condensateurs comme des circuits ouverts et les bobines comme des circuits ferm\xE9s","Active File":"Fichier actif","Active Project":"Projet actif","Embed it in your html files.":"Inclure dans le fichier HTML","Share it by e-mail, IM, blog, etc.)":"Partager par Email, Messagerie, blog","BBCode (used by many online discussion forums)":"BBCode (utilis\xE9 par certains forums en ligne)","HTML code":"Code HTML",Picture:"Image","QRCode (Share your schematic address by QRCode )":"QR Code (partager l'adresse du Sch\xE9ma avec un QR Code)","Short Url":"URL courte","Share a copy of this document":"Partager une copie de ce document",Readonly:"Lecture seule",Editable:"Modifiable","Export your works":"Exporter votre travail","Export Option:":"Option d'exportation :","Zoom:":"Zoom :","Image Type:":"Type d'image","Qualify:":"Qualification :","0 means real size":"0 signifie taille r\xE9elle","Merged layer":"Couche fusionn\xE9e","Separated layer":"Couche s\xE9par\xE9e",Export:"Exporter",Mirror:"Mirroir",TopLayer:"C\xF4t\xE9 Composants",BottomLayer:"C\xF4t\xE9 Cuivre",TopSilkLayer:"S\xE9rigraphie c\xF4t\xE9 Composants",BottomSilkLayer:"S\xE9rigraphie c\xF4t\xE9 Cuivre",Inner1:"Couche interne 1",Inner2:"Couche interne 2",Inner3:"Couche interne 3",Inner4:"Couche interne 4",Colour:"Couleur","Width:":"Largeur :","Confirm Importing changes information":"Confirmer l'importation des changements","Layer Options Settings":"R\xE9glages des options des couches","Layers setting:":"R\xE9glage des couches :",Configured:"Configur\xE9e :","Layer Name":"Nom de la couche",TopPasterLayer:"Couche dessus",BottomPasterLayer:"Couche dessous",TopSolderLayer:"Couche Cuivre dessus",BottomSolderLayer:"Couche Cuivre dessous",Ratlines:"Chevelu",BoardOutline:"Bordure du Circuit",All:"Tous",Hole:"Trous",DRCError:"Erreurs de v\xE9ricication R\xE8gles de Routage",Setting:"R\xE9glages","Drawing area":"Zone de dessin","Export area:":"Zone \xE0 exporter","Create Files":"G\xE9n\xE9rer les fichiers","Download free Gerber Viewer (gerbv)":"T\xE9l\xE9charger GerbV pour visualiser les fichiers Gerber",Item:"El\xE9ment",Value:"Valeur",Unit:"Unit\xE9","Track Width":"Largeur de piste","Track to Track":"Piste \xE0 piste","Track to Pad":"Piste \xE0 pastille","Pad to Pad":"Pastille \xE0 pastille","Hole to Hole":"Trou \xE0 trou","Via Hole Size":"Taille de per\xE7age des vias","Invalid Package":"Boitier invalide","Hotkey Setting":"R\xE9glages des touches de raccourcis","Document Type":"Type de document",Shortcut:"Raccourci",Function:"Fonction",ALL:"TOUS","Rotate selected objects":"Tourner les objets s\xE9lectionn\xE9s","Scroll Or Move selected left":"Glisser ou d\xE9placer la s\xE9lection vers la gauche","Scroll or Move selected right":"Glisser ou d\xE9placer la s\xE9lection vers la droite","Scroll or Move selected up":"Glisser ou d\xE9placer la s\xE9lection vers le haut","Scroll or Move selected down":"Glisser ou d\xE9placer la s\xE9lection vers le bas","Select All":"S\xE9lectionner Tout","Cancel current drawing":"Annuler le dessin courant",Save:"Enregistrer","Drag Tool":"Outil de d\xE9placement","Draw Wire":"Dessiner une Liaison","Draw Bus":"Dessiner un Bus",NetLabel:"Etiquette de Connexion","NetFlag VCC":"Drapeau Piste Vcc","NetFlag GND":"Drapeau Piste Gnd","NetFlag +5v":"Drapeau Piste +5V","Draw Polyline":"Dessiner une ligne multiple","Draw Polygon":"Dessiner un polygone","Draw Bezier":"Dessiner un B\xE9zier","Draw Arc":"Dessiner un arc","Draw Rect":"Dessiner un rectangle","Draw Ellipse":"Dessiner une \xE9lipse","Freehand Draw":"Dessin \xE0 main lev\xE9e","Draw Text":"Dessiner un texte","Edit Selected Symbol":"Editer le symbole s\xE9lectionn\xE9","Draw Track":"Dessiner un piste","Draw Circle":"Dessiner un cercle","Draw Dimension":"Dessiner les dimensions","Draw Connect":"Dessiner une connection","Draw CopperArea":"Dessiner une zone de cuivre","Change To TopLayer":"Modifier en couche Composants","Change To BottomLayer":"Modifier en couche Cuivre","Change To Inner1":"Modifier en couche interne 1","Change To Inner2":"Modifier en couche interne 2","Change To Inner3":"Modifier en couche interne 3","Change To Inner4":"Modifier en couche interne 4","Highlight Net":"onnecion en Surbrillance","Place Pad":"Placer une pastille","Place Via":"Placer un Via",Measure:"Merurer","Change Routing Angle":"Changer l'angle de routage","Decrease Routing Width":"Diminuer la largeur de routage","Increase Routing Width":"Augmenter la largeur de routage","Decrease Snap Size":"Diminuer l'espacement","Increase Snap Size":"Augmenter l'espacement","Remove All Copper Area":"Supprimer toutes les zones de cuivre","Rebuild All Copper Area":"Reconstruire toutes les zones de cuivre","New Project":"Nouveau Projet",Modify:"Modifier","Add sub part":"Ajouter une sous-partie","Clone it":"Dupliquer","Please type a short summary!":"Merci d'envoyer un court r\xE9sum\xE9 !","A short summary":"Un court r\xE9sum\xE9","Make sure your reports are clear and detailed":"V\xE9rifier si votre rapport est clair et d\xE9taill\xE9.",Submit:"Soumettre","Verify the packages":"V\xE9rifier les boitiers",Clone:"Dupliquer","Reload parts":"Recharger les \xE9l\xE9ments",Layers:"Couches","Language:":"Langue :","Display Name:":"Afficher le Nom :","HotKey Sync:":"Synchroniser les touches de raccourcis :","Document Recovery Setting:":"R\xE9glages de la sauvegarde :","Maximum backup level:":"Nombre de sauvegardes automatiques :","Auto backup(minutes):":"Enregistrement automatique (minutes) :","Save to Server":"Enregistrer sur le serveur","Load from Server":"Charger \xE0 partir du serveur","Style:":"Style :","Picture:":"Image :","Pin Names:":"Nom des broches :",Annotate:"Annoter",Scope:"Pointer","Active Schematic only":"Uniquement le Sch\xE9ma actif","All Opened Schematics":"Tous les Sch\xE9mas ouverts",Method:"M\xE9thode","Re-annotate all":"R\xE9-annoter Tout","Keep existing annotation":"Conserver les annotations existantes",Rows:"Lignes",Cols:"Colonnes",Reset:"Remise \xE0 z\xE9ro","Order...":"Commander...","Order your PCB from EasyEDA":"Commander votre circuit \xE0 partir de EasyEDA","PCB Qty.":"Quantit\xE9 de Circuits","PCB Thickness":"Epaisseur du circuit","PCB Dimension":"SDimensions du circuit","Automatic calculation":"Calcul automatique","PCB Color":"Couleur du circuit",Green:"Vert",White:"Blanc",Blue:"Bleu",Red:"Rouge",Yellow:"Jaune",Black:"Noir","Surface Finish":"Fintion",Hasl:"Brasure","Hasl(Lead Free)":"Brasure sans plomb","Open Project":"Projet ouvert","E-Test":"E_-Test","Cost Estimate":"Estimation du prix","Actual cost will be confirmed by email.":"Le co\xFBt sera confirm\xE9 par Email","Shipping information":"Information d'exp\xE9dition",Address:"Adresse","ZIP/Post code":"Code Postal",City:"Ville",Country:"Pays","After filling out the form above, we will email you with (i) the results of the design rule check, (ii) a quote and (iii) a payment link using Paypal. Shipping is normally one week from receipt of payment.":"Apr\xE8s avoir compl\xE9t\xE9 et envoy\xE9 le formulaire ci-dessus, vous vous enverrons un Email (i) avec les r\xE9sultats des v\xE9rifications \xE9lectriques (ii), un devis (iii) et un lien PayPal de paiement. L'exp\xE9dition se fait en une semaine environ apr\xE8s r\xE9ception du paiement.","Restore All Default Shortcuts":"Restaurer les raccourcis par d\xE9faut","Save Changes":"Enregistrer les Changements",Confirmation:"Confiermation",Alert:"Alerte",information:"Information",Error:"Erreur",error:"Erreur","error!":"Erreur !",Warning:"Attntion","Imported ok!":"Importation Correcte !","Some changes have not been saved.":"Certaines modifications n'ont pas \xE9t\xE9 enregistr\xE9es","load failure !":"Erreur de chargement !","error info":"Information sur l'erreur","error information":"Information sur l'erreur","Please create a project before you do this!":"Vous devez d'abord cr\xE9er un nouveau projet !","Add Part success":"Ajout d'\xE9l\xE9ment r\xE9ussi","Click the new part and then edit it !":"Cliquer sur l'\xE9l\xE9ment pour l'\xE9diter","Delete my work":"Effacer mon travail","Do you confirm this?":"Vous confirmez ?","Successfully deleted!":"Effacement r\xE9ussi !","Cloning success!":"Copie R\xE9ussie !","Your title is too short!":"Le titre est trop court !","Remove this part":"Supprimer l'\xE9l\xE9ment","Find and Jump to ...":"Chercher et Aller vers...","Please type the prefix, such as U1, R1, C1":"Veuillez saisir un pr\xE9fixe (U1, R1, C1, ...)","Zoom as 1:1, you can print it and then create artwork for etching the PCB.":"Zoom 100 %. Vous pouvez imprimer puis cr\xE9er votre typon.","Exporting your works!":"Exportation en cours !","Guests can't import a file. Please login!":"Les invit\xE9s ne peuvent pas importer un fichier. Vous devez vous inscrire !","Please create a project before you import a file!":"Vous devez cr\xE9er un projet avant d'omporter un fichier !","Import your LTspice file!":"Importer votre fichier LTspice !","Saved successfully!":"Enregistrement r\xE9ussi !","Can not place parts into this document.":"Vou ne pouvez pas placer d'\xE9l\xE9ments dans ce document.","User Package":"Pack Utilisateur","System Package":"Pack Syst\xE8me","File error":"Erreur de fichier","Please save your file first!":"Vous devez d'abord enregistrer votre fichier !","Email address is too short!":"L'adresse email est trop courte !","You have not selected a file to upload.":"Vous n'avez pas s\xE9lectionn\xE9 de fichier \xE0 transf\xE9rer.",Update:"Mettre \xE0 jour","No changes":"Aucun changements","PCB is the same as SCH!":"Le circuit est identique au Sch\xE9ma !","Only public files can be shared":"Seuls les fichiers publiques peuvent \xEAtre part\xE9g\xE9s","Conversion to PCB has failed!":"Erreur lors de la conversion en circuit !","Your username is too short!":"Le Nom Utilisateur est trop court !","Your password is too short, it must be more than 6 characters!":"Le mot de passe est trop court (6 caract\xE8res au minimum) !","Conflicting shortcut:":"Conflit entre les Raccourcis :","There is an empty PCB file. Please first run Convert Project To PCB... from the schematic":"Le Circuit n'existe pas. Vous devez d'abord cr\xE9er un Circuit \xE0 partir du Sch\xE9ma...","This file has been modified, are you sure you want to run this simulation before saving it first?":"Le fichier a \xE9t\xE9 modifi\xE9. Voulez-vous quand m\xEAme lancer la simulation ?","Please enter the Maximum Timestep!":"Veuillez saisir la dur\xE9e maximale d'un pas de simulation !","Please enter the Stop Time!":"Veuillez saisir la Fin de simulation !","All of these fields are needed.":"Tous les champs sont requis.","Either your spice netlist is too big or the server is busy. Please try again later.":"Votre netlist est trop grande ou le serveur est occup\xE9. R\xE9essayez plus tard.","Your spice netlist is too big! Try breaking your circuit into smaller simulatable blocks.":"Votre netlist est trop grande ! Essayez de d\xE9couper votre ciruit en blocs plus petits.","Too many users in simulation. Please try again later!":"Trop de connexions pour la simulation. R\xE9essayez plus tard.","Your simulation results are too large! Try reducing the total simulation time (Stop Time - Start Time), increasing the maximum time step, removing some of your probes or breaking your circuit into smaller simulatable blocks.":"Les r\xE9sultats de la simulaton sont trop grands ! R\xE9duisez la dur\xE9e de simulation (Fin - d\xE9but) ou augmentez la dur\xE9e maximale d'un pas de simulation ou supprimez certaines sondes ou d\xE9coupez votre ciruit en blocs plus petits.","The schematic is showing errors, please check the simulation report carefully!":"Le Sch\xE9ma comporte des erreurs, V\xE9rifiez la simulation attentivement !","Simulation too long, maybe your schematic is too complex.":"La simulation est trop longue. Votre sch\xE9ma est trop complexe.","Load your preferences success!":"Chargement de vos pr\xE9f\xE9rences r\xE9ussi !","Save preferences successfully!":"Enregistrement de vos pr\xE9f\xE9rences r\xE9ussi !","Update subckt ok!":"Mise \xE0 jour du sous-circuit r\xE9ussie !","Please type a new file name":"Veuillez saisir un nouveau nom de fichier","Create file failure!":"Erreur de cr\xE9ation du fichier !","Libraries to be imported under My Libs folder":"Librairies \xE0 importer dans le dossier 'Mes Librairies'","Please choose only the libraries needed":"S\xE9lectionnez seulement les librairies n\xE9cessaires","Maximum import is 200 libs at one time!":"Importation sumultan\xE9e de 200 librairies au maximum !","Import Libraries success":"Importation des librairies r\xE9ussie","You libraries will be found under the My Libs folder":"Vos librairies sont dans le dossier 'Mes Librairies'","Add to My Libs":"Ajouter \xE0 'Mes Librairies'","No items have been checked!":"Aucun \xE9l\xE9ment s\xE9lectionn\xE9 !","Nothing was found, please create it for yourself":"Rien trouv\xE9, Cr\xE9ez-le pour vous m\xEAme","Search result":"R\xE9sultat de la recherche","At least 3 characters needed":"Au moins 3 caract\xE8res sont requis","Add to my Favorite Parts":"Ajouter \xE0 mes 'Composants Favoris'","Added it OK. Please find it in your Favorite Parts":"Ajout r\xE9ussi dans le dossier 'Composants Favoris'","Please select its parent node":"S\xE9lectionnez le noeud sup\xE9rieur","Libraries can not be exported as active project pdf.":"Les librairies ne peuvent \xEAtre export\xE9es en pdf.","Make sure your pin numbers are even numbers":"V\xE9rifiez que le nombre de broches soit pair","Prefix Conflict":"Conflit de pr\xE9fixe","There are some invalid packages, are you sure?":"Il y a des boitiers non valides, confirmez-vous ?","Invalid Characters, library only allows [0-9a-zA-Z-_]":"Carat\xE8res invalides, utilisez [0 \xE0 9, a \xE0 z, A \xE0 Z, -, _]","Annotation success":"Annotation r\xE9ussie","If you accept this annotation operation, please save your files. If not, close your files without saving.":"Si vous confirmez cette op\xE9ration, veuillez enregistrer vos fichiers. Sinon, ils seront ferm\xE9s sans enregistrement.","Your file is unsaved.":"Votre fichier n'est pas enregistr\xE9","You can close the editor now. Have a good day!":"Vous pouvez maintenant fermer l'\xE9diteur. Bonne journ\xE9e !","Logout Successfully!":"D\xE9connexion r\xE9ussie","You have unsaved file, please save it or close it":"Vous avez des fichiers non enregistr\xE9s. Enregistrez-les ou fermez-les","Please try again after saving this file.":"R\xE9essayez apr\xE8s avoir enregistr\xE9 vos fichiers","Connecting to server":"Connexion au serveur","Please login before asking for help":"Veuillez vous connecter avant de demander de l'aide","This file has been modified, please save it first!":"Ce fichier a \xE9t\xE9 modifi\xE9. Enregistrez le avant de poursuivre !","Remove this param":"Supprimer ce param\xE8tre",Skip:"Sauter","\u2190 Back":"\u2190 Arri\xE8re","Next \u2192":"Avant \u2192","This is user management menu.":"Menu de Gestion Utilisateur","This is super menu.":"Menu G\xE9n\xE9ral","This is toolbar.":"Barre d'outils","This is config menu button.":"Bouton de Configuration du Menu","This is share button.":"Bouton Partager","This is document management menu.":"Menu de Gestion Documents","Show or hide your toolbar at here.":"Montrer ou cacher la Barre d'outils","Show or hide your left sidebar at here.":"Montrer ou cacher la Barre d'outils Gauche","Show or hide your right sidebar at here.":"Montrer ou cacher la Barre d'outils Droite","Passive Components":"Composants passifs","Power Supply":"Alimentation",Regulator:"R\xE9gulateurs",Transistor:"Transistors",Transformers:"Tranformateurs",Gates:"Op\xE9rateurs Logiques","Vacuum Tubes":"Tubes \xE9lectroniques",Switch:"Interrupteurs",Relay:"Relais","Capacitor(US)":"Condensateurs (US)","Capacitor(EU)":"Condensateurs (EU)","Capacitor(EU)2":"Condensateurs (EU)2","Electrolytic Capacitor(US)":"Condensateurs Chimiques (US)","Electrolytic Capacitor(EU)":"Condensateurs Chimiques (EU)","Electrolytic Capacitor(US)2":"Condensateurs Chimiques (US)2","Electrolytic Capacitor(EU)2":"Condensateurs Chimiques (EU)2","Inductor(US)":"Inductances/Bobines (US)","Inductor(EU)":"Inductances/Bobines (EU)","Potentiometer(US)":"Potentiom\xE8tres (US)","Potentiometer(EU)":"Potentiom\xE8tres (EU)","Resistor(US)":"R\xE9sistances (US)","Resistor(EU)":"R\xE9sistances (EU)","Resistor 45 Deg(US)":"R\xE9sistances 45 degr\xE9s (US)","Resistor 45 Deg(EU)":"R\xE9sistances 45 degr\xE9s (EU)","Variable Capacitor(US)":"Condensateurs variables (US)","Variable Capacitor(EU)":"Condensateurs variables (EU)","Variable Resistor(US)":"R\xE9sistances variables (US)","Variable Resistor(EU)":"R\xE9sistances variables (EU)","Variable Inductor(US)":"Inductances variables (US)",Varistor:"Varistances","Inductor2(US)":"Inductances/Bobines (US)2","Inductor2(EU)":"Inductances/Bobines (US)2",Battery:"Batteries/Accumulateurs","Voltage Source":"Sources de tension","Current Source":"Sources de courant","CCCS(Current Controlled Current Source)":"Sources de courant command\xE9s en courant","CCCS2(Current Controlled Current Source)":"Sources de courant command\xE9s en courant-2","VCCS(Voltage Controlled Current Source)":"Sources de courant command\xE9s en tension","VCVS(Voltage Controlled Voltage Source)":"Sources de tension command\xE9s en tension","CCVS(Current Controlled Voltage Source)":"Sources de tension command\xE9s en courant","CCVS2(Current Controlled Voltage Source)":"Sources de tension command\xE9s en courant-2","BV(Behavioral Voltage Sources)":"Sources de tension programmables","BI(Behavioral Voltage Sources)":"Sources de courant programmables","Epoly(Non-linear Voltage Source)":"Sources de tension non-lin\xE9aires","Gpoly(Non-linear Current Source)":"Sources de courant non-lin\xE9aires",LED:"DEL","Schottky Diode":"Diode Schottky","Varactor Diode":"Diode Varactance",Zener:"Diode Zener","Unidirectional TVS Diode":"Diode TVS uni-directionnelle","Bidirectional TVS Diode":"Diode TVS bi-directionnelle",Bridge:"Pont","BJT(NPN)":"Transistor bipolaire NPN","BJT(PNP)":"Transistor bipolaire PNP","MOSFET(Nch)":"MOSFET canal N","MOSFET(Nch) Depletion Four-pins":"MOSFET canal N \xE0 D\xE9pl\xE9tion (4 broches)","MOSFET(Nch) Enhancement":"MOSFET canal N \xE0 Enrichissement","MOSFET(Nch) Enhancement Four-pins":"MOSFET canal N \xE0 Enrichissement (4 broches)","MOSFET(Pch)":"MOSFET canal P","MOSFET(Pch) Depletion Four-pins":"MOSFET canal P \xE0 D\xE9pl\xE9tion (4 broches)","MOSFET(Pch) Enhancement":"MOSFET canal P \xE0 Enrichissement","MOSFET(Pch) Enhancement Four-pins":"MOSFET canal P \xE0 Enrichissement (4 broches)","JFET(Nch)":"Transistor \xE0 effet de champ (JFET) Canal N","JFET(Pch)":"Transistor \xE0 effet de champ (JFET) Canal P","MESFET(Nch)":"MESFET canal N","MESFET(Pch)":"MESFET canal P",SCR:"Thyristor","Transform(US)":"Tranformateur (US)","Transform(EU)":"Tranformateur (EU)","Transfrom(NEUTRAL-CTR TAP)(US)":"Tranformateur avec neutre (US)","Transfrom(NEUTRAL-CTR TAP)(EU)":"Tranformateur avec neutre (EU)","Mutual Inductors":"Inductance mutuelle","Mutual Inductors2":"Inductance mutuelle-2","Or Gate":"Op\xE9rateur OU","Xor Gate":"Op\xE9rateur OU exclusif","And Gate":"Op\xE9rateur ET","Nor Gate":"Op\xE9rateur OU-NON","Nand Gate":"Op\xE9rateur ET-NON","Not Gate":"Op\xE9rateur NON","Xnor Gate":"Op\xE9rateur NON-OU exclusif","Voltage Controlled Switch":"Interrupteur command\xE9 en tension","Current Controlled Switch":"Interrupteur command\xE9 en courant","SPST ON":"Contact Ferm\xE9","SPST OFF":"Contact Ouvert",Fuse:"Fusible","555(Style2)":"NE555-2",Speaker:"Haut Parleur",XTAL:"Quartz","5pin Operational Amplifier":"AIL 5 broches","3pin Operational amplifier":"AIL 3 broches","Transmission Line":"Ligne de transmission",Voltmeter:"Voltm\xE8tre",Ammeter:"Amp\xE8rem\xE8tre",LAMP:"Lampe","Opto Transistor":"Opto-Transistor","Schematic Library Wizard":"Assitant Sh\xE9ma et Librairie","Prefix:":"Pr\xE9fixe :","Name:":"Nom :","Package:":"Boitier :","Need login":"Vous devez vous identifier","Bad password":"Erreur de mot de passe","We can't find your username or your email, please check it!":"Nom d'utilisateur ou adresse mail inconnu, v\xE9rifiez !","Make sure your uploaded file size is less than 3MB!":"V\xE9rifiez que votre t\xE9l\xE9chargement ne d\xE9passe pas 3 Mo!","bad file type":"Type de fichier non support\xE9","Empty file or bad file type, ensure your file is Eagle 6.0+":"Mauvais nom de fichier ou fichier inexistant. V\xE9rifiez que la version d'Eagle est sup\xE9rieure \xE0 6.0+","This operation not supported on demo account":"Op\xE9ration non autoris\xE9e avec un compte de d\xE9monstration","Common Buttons Setting":"R\xE9glage des boutons","Show/Hide":"Monter/Cacher","Move Up":"Monter","Move Down":"Descendre","Reset All":"R\xE9initialiser tout","Find Libraries...":"Rechercher une librairie","Place Pin":"Placer une broche","Permissions:":"Autorisations :",Permissions:"Autorisations",Operation:"Op\xE9ration","Access Control":"Contr\xF4le d'acc\xE8s",Reject:"Rejeter","Add User":"Ajouter un utilisateur","Bad email address":"Adresse mail invalide","Grid Background":"Arri\xE8re plan de la grille","Pane Background":"Arri\xE8re plan du panneau","WaveForm Config":"Configuration de  .....","Export Waveform to CSV":"Exporter ....... vers CSV",dot:"points",line:"lignes","A4 Portrait":"A4 PORTRAIT","A4 Landscape":"A4 paysage","A3 Portrait":"A3 PORTRAIT","A3 Landscape":"A3 paysage","A2 Portrait":"A2 PORTRAIT","A2 Landscape":"A2 paysage","A1 Portrait":"A1 PORTRAIT","A1 Landscape":"A1 paysage",solid:"plein",dashed:"tirets",dotted:"pointill\xE9","Find libs":"Trouver une librairie","My Projects":"Mes Projets","My Parts":"Mes Composants","System IC":"Circuits Syst\xE8me","Favorite Parts":"Composants Favoris","Shared With Me":"Partager avec moi",Preview:"Apper\xE7u",Close:"Fermer",Open:"Ouvrir","Toggle toolbar":"Basculer la barre d'outils","Toggle left bar":"Basculer barre de gauche","Toggle right bar":"Basculer barre de droite",Reload:"Recharger","Mouse-X":"Souris X","Mouse-Y":"Souris Y",Yes:"Oui",No:"Non",Cancel:"Annuler","Ask a question":"Poser une question","Go to my page":"Aller \xE0 ma page","Bus entry":"Entr\xE9s de Bus",Filter:"Filtre",Check:"V\xE9rifier","Guest Project":"Projet Invit\xE9","Insert into":"In\xE9rer dans","EasyEDA format":"Format EasyEDA","Copy the contents of this box into a text editor, then save the file with a .svg extension. You can edit it in Inkscape or open it in your browser.":"Copier le contenu de cette fen\xEAtre dans le Bloc-notes et enregistrer le fichier avec une extension SVG. Vous pouvez alors le modifier avec Inkscape ou l'ouvrir dans un navigateur.","SVG format":"format SVG","SVG File":"fichier SVG","Description should be no more than 250 letters":"La descripton ne doit pas d\xE9passer 250 caract\xE8res","The file save operation has timed out. Try again and check your Internet connection.":"Dur\xE9e d'enregistrement d\xE9pass\xE9e. V\xE9rifiez votre connexion internet et r\xE9essayez \xE0 nouveau.","Export Netlist":"Exporter la NetList","Coming soon":"Bient\xF4t disponible","No tool":"Aucun outils","Help us translate into your language":"Aidez nous \xE0 traduire dans votre langue",Pad:"Pastille","PCB Layers":"Couches de cuivre","Order PCB":"Commander un Circuit",Share:"Partag\xE9",Free:"Gratuit",Small:"Petit",Medium:"Moyen",Big:"Large",Embed:"Embarqu\xE9","Exporting as":"Exporter comme ...","Exporting as image":"Exporter comme image","Exporting as {0}SVG{1} file.":"Exporter fichier SVG","Exporting as pdf is recommended: pdf gives good quality printed output and a small file size.":"Exportation en pdf recommand\xE9e : le pdf est de petite taille et permet une bonne qualit\xE9 d'impression.","PenWidth-Increase:":"Augmenter largeur trace","Create a new Project...":"Cr\xE9er un nouveau Projet","Create a new Schematic":"Cr\xE9er un nouveau  Sch\xE9ma","Create a new Schematic Lib":"Cr\xE9er une nouvelle librairie Sch\xE9ma","Create a new Spice Symbol":"Cr\xE9er un nouveau Symbole","Create a new Spice Subckt":"Cr\xE9er un nouveau Sous-Symbole","Create a new PCB":"Cr\xE9er un nouveau Circuit","Create a new PCB Lib":"Cr\xE9er une nouvelle librairie d'Empreintes","Export your file, then print it yourself.":"Exporter le fichier puis imprimez-le.","Trace width is too small":"Piste trop \xE9troite","Images Attribute":"Attibuts de l'image","Connect Pad to Pad":"Connecter pastille \xE0 pastille","Copper Area":"Zone de cuivre","Contribute to EasyEDA":"Contribuer \xE0 EasyEDA","More Libraries...":"Plus de librairies...",User:"Utilisateur"};var Goi={"Join...":"Collegati","Login...":"Logon","Log in":"Entra",Logout:"Esci","Change password...":"Cambia password","User Preferences...":"Preferenze","Document Recovery...":"Recupero dati","Invite friends...":"Invita amici",Language:"Lingua",English:"Inglese","Polski (Polish)":"Polacco","Deutsch (German)":"Tedesco","Fran\xE7ais (French)":"Francese","\u7B80\u4F53\u4E2D\u6587 (Chinese - Simplified)":"Cinese semplice","\u6B63\u9AD4\u4E2D\u6587 (Chinese - Traditional)":"Cinese tradizionale","\uD55C\uAD6D\uC5B4 (Korean)":"Coreano","\u65E5\u672C\u8A9E (Japanese)":"Giapponese","Document Recovery":"Recupero documenti",Recover:"Recupera","Your Preferences Information":"Le tue informazioni preferite",New:"Nuovo","Project...":"Progetto",Schematic:"Schema elettrico","Schematic Lib":"Schema librerie",PCB:"Circuito stampato","PCB Lib":"Libreria circuiti stampati","Save...":"Salva","Save As...":"Salva con nome","Print...":"Stampa","Export...":"Esporta",Import:"Importa","Super Menu":"Super menu",Edit:"Modifica",Undo:"Annulla",Redo:"Ripristina",Cut:"Taglia",Copy:"Copia",Paste:"Incolla",Select:"Seleziona",Clear:"Cancella",Move:"Muovi",Drag:"Trascina","Bring to Front":"Porta in primo piano","Send to Back":"Porta sullo sfondo",Align:"Allinea","Align Left":"Allinea a sinistra","Align Right":"Allinea a destra","Align Top":"Allinea in alto","Align Bottom":"Allinea in basso",Rotate:"Ruota","Rotate Left":"Ruota a sinistra","Rotate Right":"Ruota a destra","Flip Horizontal":"Scambia in orizzontale","Flip Vertical":"Scambia in verticale","Rotate and Flip":"Ruota e capovolgi",View:"Visualizza","Zoom In":"Zoom Pi\xF9","Zoom Out":"Zoom Meno",Refresh:"Aggiorna",Snap:"Agganci",Toolbars:"Barre degli strumenti","Drawing Tools":"Strumenti di disegno",Place:"Posiziona",Arc:"Arco","Elliptical Arc":"Arco ellittico",Ellipse:"Ellisse",Circle:"Cerchio",Pie:"Torta",Line:"Linea",Polyline:"Polilinea",Rectangle:"Rettangolo",Rect:"Rettangolo","Round Rectangle":"Rettangolo arrotondato",Polygon:"Poligono",Bezier:"Curva Bezier",Path:"Percorso",Graphic:"Grafico",Junction:"Giunzione","Net Port":"Porta di rete","Voltage Probe":"Sonda di tensione",Wire:"Cavo",Annotation:"Annotazione",Image:"Immagine",Pin:"Piedino",Miscellaneous:"Miscellanea","Find Component":"Trova componente","Convert Project To PCB...":"Converti il progetto in PCB...","Hotkeys Setting...":"Impostazione dei tasti di scelta rapida...",Simulate:"Simula","Simulate...":"Simula...","Simulation Results...":"Risultati della simulazione...","Run the Document":"Esegui il documento","Run the Project...":"Esegui il progetto...","Measure Distance":"Misura distanza","Annotate...":"Annota...",Config:"Configura",Help:"Aiuto",Support:"Supporto","Help Topics":"Argomenti della guida","Bug Report...":"Segnala un bug...","Feature Request...":"Richiesta di una caratteristica...","Thank You List":"Lista dei ringraziamenti","Terms of Use & Privacy Policy":"Termini di utilizzo & Privacy","Order PCB...":"Ordina PCB...","Import Changes":"Importa le modifiche","Delete Selected":"Cancella selezionati","Generate Gerber and Drill Files":"Genera file Gerber e Drill","Build PCB":"Costruisci PCB",Properties:"Propriet\xE0",Attributes:"Attributi",Apply:"Applica",Width:"Larghezza",Height:"Altezza",Background:"Sfondo","Visible Grid":"Griglia visibile","Grid Color":"Colore della griglia","Grid Size":"Dimensione della griglia","Grid Style":"Stile della griglia","Stroke color":"Colore del tratto","Stroke width":"Spessore del tratto","Stroke style":"Stile del tratto","Fill color":"Colore di riempimento","Selected Objects":"Oggetti selezionati","Text Attributes":"Attributi del testo",Text:"Testo",Color:"Colore","Font-family":"Famiglia del font","Font-size":"Dimensione del font","Font-weight":"Spessore del font","Font-style":"Stile del font","Text type":"Tipo di testo","X radius":"Raggio X","Y radius":"Raggio Y","Pin Attributes":"Attributi dei piedini",Orientation:"Orientazione","0 degrees":"0 gradi","45 degrees":"45 gradi","90 degrees":"90 gradi","180 degrees":"180 gradi","270 degrees":"270 gradi",Length:"Lunghezza",Name:"Nome",Number:"Numero",Show:"Mostra","Junction Attributes":"Attributi della giunzione","X-Location":"Posizione X","Y-Location":"Posizione Y",Size:"Dimensione","Part Attributes":"Attributi della parte",Prefix:"Prefisso","Image Attributes":"Attributi dell'immagine","Image URL":"URL dell'immagine",Diameter:"Diametro","Text Properties":"Propriet\xE0 del testo",Rotation:"Rotazione","Dimension Attributes":"Propriet\xE0 delle dimensioni","Arc Properties":"Propriet\xE0 dell'arco","Rect Properties":"Propriet\xE0 del rettangolo","Round radius":"Raggio del raccordo","Circle Properties":"Propriet\xE0 del cerchio",Radius:"Raggio","Custom Attributes":"Attributi personalizzati","Add new parameter":"Aggiungi nuovo parametro","Create an account":"Crea un account:","Username:":"Nome utente:","Confirm Password:":"Conferma password:","Please read this before you register":"Leggete questo prima di effettuare la registrazione","Lost Password...":"Password persa...","Find the password using your email":"Ottenete la vostra password utilizzando la vostra email",Login:"Accesso","Username or Email:":"Nome utente o Email:","Remember Me":"Ricordami","Reset a password using your email:":"Reimposta una password utilizzando la tua email:","Your registered email:":"La tua email di registrazione:","Re-send an activation code to your email:":"Invia nuovamente un codice di attivazione alla tua email:","Invite friends to register":"Invita amici per la registrazione","Your friend's email":"L'email del tuo amico","Add a new parameter":"Aggiungi un nuovo parametro","Key:":"Chiave:","Value:":"Valore:","Change your password":"Cambia la tua password","Old password:":"Vecchia password:","New Password:":"Nuova password:","Create a new project":"Crea un nuovo progetto","Save as a PCB file":"Salva come file PCB","Save as a PCB Lib":"Salva come libreria PCB","Title:":"Titolo:","Share:":"Condividi:","Visibility:":"Visibilit\xE0:","Allow Comments:":"Permetti commenti:","Public (Anyone can see this project but only you can modify it.)":"Pubblico (Solo tu potrai modificare questo progetto. Tutti potranno vederlo)","Private (Only you can see and modify this project)":"Privato (Solo tu potrai vedere e modificare questo progetto)","Categories:":"Categorie:","Project:":"Progetto:","Short descript:":"Breve descrizione:","Content:":"Contenuto:","Modify this project info.":"Modifica le informazioni di questo progetto.","Modify this file info.":"Modifica le informazioni di questo file.","Notice:":"Avviso:","Search for it before creating a new one.":"Trovalo prima di crearlo.","Save your file":"Salva il tuo file","Clone it to a project":"Clonalo in un progetto","Clone it,then re-edit it":"Clonalo poi rimodificalo",Run:"Avvia","Import file from your computer":"Importa file dal computer","Chose file":"Scegli file","Import File":"Importa file","Extract Libs":"Estrai librerie","File type":"Tipo di file","Run your simulation":"Esegui la tua simulazione","Output:":"Uscita:","Source:":"Sorgente:","HTML code":"Codice HTML",Picture:"Immagine","Short Url":"URL breve","Share a copy of this document":"Condividi una copia di questo documento",Readonly:"Sola lettura",Editable:"Modificabile","Export your works":"Esporta i tuoi lavori","Image Type:":"Tipo di immagine:","Qualify:":".",Export:"Esporta",Colour:"Colore","Width:":"Larghezza:","Apply Changes":"Applica le modifiche",Document:"Documento",Setting:"Impostazione","Drawing area":"Area di disegno","Export area:":"Esporta area","Create Files":"Crea file","Download free Gerber Viewer (gerbv)":"Scarica un visualizzatore Gerber gratis (gerbv)",Value:"Valore",Unit:"Unit\xE0","Hotkey Setting":"Impostazione del tasto di scelta rapida","Select All":"Seleziona tutto","Cancel current drawing":"Elimina il disegno attuale",Save:"Salva","Drag Tool":"Strumento di trascinamento","Draw Wire":"Disegna cavo","Draw Bus":"Disegna bus","Draw Polyline":"Disegna polilinea","Draw Polygon":"Disegna poligono","Draw Bezier":"Disegna curva di Bezier","Draw Arc":"Disegna arco","Draw Rect":"Disegna rettangolo","Draw Ellipse":"Disegna ellisse","Freehand Draw":"Disegno a mano libera","Draw Text":"Disegna testo","Draw Circle":"Disegna cerchio","Draw Dimension":"Disegna dimensione","Draw Connect":"Disegna connessione","Draw CopperArea":"Disegna area ramata",Clone:"Clona","Reload parts":"Ricarica parti",Layers:"Layer","Language:":"Lingua:","Style:":"Stile:","Picture:":"Immagine:","Order...":"Ordina...","Order your PCB from EasyEDA":"Ordina la tua PCB da EasyEDA","PCB Qty.":"Qt\xE0 delle PCB","PCB Thickness":"Spessore della PCB","PCB Dimension":"Dimensione della PCB","Automatic calculation":"Calcolo automatico","PCB Color":"Colore della PCB",Green:"Verde",White:"Bianco",Blue:"Blu",Red:"Rosso",Yellow:"Giallo",Black:"Nero","Open Project":"Apri progetto","Shipping Cost":"Costo di spedizione","Cost Estimate":"Costo stimato","Shipping information":"Informazioni di spedizione",Address:"Indirizzo","ZIP/Post code":"ZIP/Codice postale",City:"Citt\xE0",Country:"Paese","To connect electrical elements, please use Wire (W hotkey) and not Line (L hotkey).":".",Confirmation:"Conferma",Information:"Informazione",information:"informazione",Error:"Errore",error:"errore","error!":"errore!",Warning:"Attenzione","Imported ok!":"Importazione ok!","Some changes have not been saved.":"Alcuni cambiamenti non sono stati salvati.","Your file hasn't been saved. Are you sure you want to close it?":"Il tuo file non \xE8 stato salvato. Sei sicuro di volerlo chiudere?","load failure !":"caricamento fallito!","error info":"info sull'errore","error information":"informazioni sull'errore","Guest can't create a new project. Please login!":"L'utente ospite non pu\xF2 creare un nuovo progetto, esegui il login!","Please create a project before you do this!":"Ti prego di creare un progetto prima di fare questo!","Delete my work":"Cancella il mio lavoro","Load your preferences success!":"Caricamento delle preferenze avvenuto con successo!","Import Libraries success":"Importazione delle librerie avvenuta con successo","Add to My Libs":"Aggiungi alle mie librerie","Nothing was found, please create it for yourself":"Nulla \xE8 stato trovato, ti prego di creartelo da solo!","Search result":"Risultati della ricerca","Your file is unsaved.":"Il tuo file non \xE8 salvato.","You can close the editor now. Have a good day!":"Ora puoi chiudere l'editor e avere una buona giornata!","Logout Successfully!":"Uscita avvenuta con successo","You have unsaved file, please save it or close it":"Non hai salvato il file, ti prego di salvarlo o chiuderlo","Please try again after saving this file.":"Provaci di nuovo dopo aver salvato questo file.","Connecting to server":"Connessione al server","Please login before asking for help":"Ti prego di effettuare il login prima di chiedere aiuto","This file has been modified, please save it first!":"Il file \xE8 stato modificato, ti prego di salvarlo prima!","Remove this param":"Rimuovi questo parametro","\u2190 Back":"\u2190 Precedente","Next \u2192":"Successivo \u2192","This is user management menu.":"Questo il men\xF9 di gestione utente.","This is super menu.":"Questo \xE8 il super men\xF9","This is toolbar.":"Questa \xE8 la barra degli strumenti","This is config menu button.":"Questo \xE8 il pulsante di configurazione del men\xF9.","This is share button.":"Questo \xE8 il pulsante di condivisione.","This is document management menu.":"Questo \xE8 il men\xF9 di gestione del documento","Show or hide your toolbar at here.":"Mostra o nascondi la barra degli strumenti da qui.","Show or hide your left sidebar at here.":"Mostra o nascondi la barra di sinistra da qui.","Show or hide your right sidebar at here.":"Mostra o nascondi la barra di destra da qui.","Permissions:":"Permessi:",Permissions:"Permessi",Operation:"Operazione","Add User":"Aggiungi utente","Bad email address":"Indirizzo email non corretto",User:"Utente",Tutorials:"Tutorial","Open File Format":"Apri formato file","Support Forum":"Forum di supporto",Extensions:"Estensioni","Hi {username}":"Ciao {username}",Components:"Componenti","DRC Errors":"Errori DRC","All Projects":"Tutti i progetti",Recovery:"Recupero","Search and press Enter":"Cerca e premi Invio","You can backup your EasyEDA json file to your local hard disk and import it at any time.":"Puoi fare una copia di backup del tuo file json di EasyEDA nel tuo disco fisso per importarlo in ogni momento successivo.","It just can help you to find the obvious errors":"Ti pu\xF2 aiutare per trovare gli errori ovvi",Purple:"Viola",Copper:"Rame",Gold:"Oro",Silver:"Argento"};var Yoi={User:"\u30E6\u30FC\u30B6\u30FC\u30ED\u30B0\u30A2\u30A6\u30C8","Join...":"\u53C2\u52A0","Login...":"\u30ED\u30B0\u30A4\u30F3","Log in":"\u30ED\u30B0\u3000\u30A4\u30F3",Logout:"\u30ED\u30B0\u30A2\u30A6\u30C8","Change password...":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u5909\u66F4","User Preferences...":"\u30E6\u30FC\u30B6\u30FC\u8A2D\u5B9A","Document Recovery...":"\u30AF\u30E9\u30C3\u30B7\u30E5\u306E\u56DE\u5FA9","Invite friends...":"\u53CB\u9054\u3092\u62DB\u304F",Language:"\u8A00\u8A9E",English:"English\uFF08\u82F1\u8A9E\uFF09","Polski (Polish)":"Polski\uFF08\u30DD\u30FC\u30E9\u30F3\u30C9\u8A9E\uFF09","Deutsch (German)":"Deutsch\uFF08\u30C9\u30A4\u30C4\u8A9E\uFF09","Fran\xE7ais (French)":"Fran\xE7ais\uFF08\u30D5\u30E9\u30F3\u30B9\u8A9E\uFF09","\u7B80\u4F53\u4E2D\u6587 (Chinese - Simplified)":"\u4E2D\u56FD\u8A9E\uFF08\u7C21\u4F53\u5B57\uFF09","\u6B63\u9AD4\u4E2D\u6587 (Chinese - Traditional)":"\u4E2D\u56FD\u8A9E\uFF08\u7E41\u4F53\u5B57\uFF09","\uD55C\uAD6D\uC5B4 (Korean)":"\uD55C\uAD6D\uC5B4\uFF08\u97D3\u56FD\u8A9E\uFF09","Document Recovery":"\u6587\u7AE0\u306E\u56DE\u5FA9",Recover:"\u56DE\u5FA9","Your Preferences Information":"\u3042\u306A\u305F\u306E\u8A2D\u5B9A\u60C5\u5831",File:"\u30D5\u30A1\u30A4\u30EB",New:"\u65B0\u898F","Project...":"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",Schematic:"\u56DE\u8DEF\u56F3","Schematic Lib":"\u56DE\u8DEF\u56F3\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC","Spice Symbol":"SPICE\u30B7\u30F3\u30DC\u30EB","Spice Subckt":"SPICE\u30B5\u30D6\u30B5\u30FC\u30AD\u30C3\u30C8","PCB Lib":"PCB\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC","Save...":"\u4FDD\u5B58","Save As...":"\u5225\u540D\u3067\u4FDD\u5B58","Print...":"\u5370\u5237","Export...":"\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8","LTspice...":"LTspice","Eagle...":"Eagle","Altium...":"Altium","Cadence...":"Cedence","Pads...":"Pads","DXF...":"DXF",Import:"\u30A4\u30F3\u30DD\u30FC\u30C8","Import...":"\u30A4\u30F3\u30DD\u30FC\u30C8","Super Menu":"\u30B9\u30FC\u30D1\u30FC\u30E1\u30CB\u30E5\u30FC",Edit:"\u7DE8\u96C6",Undo:"\u3084\u308A\u76F4\u3057",Redo:"\u5143\u306B\u623B\u3059",Cut:"\u5207\u308A\u53D6\u308A",Copy:"\u30B3\u30D4\u30FC",Paste:"\u8CBC\u308A\u4ED8\u3051",Select:"\u9078\u629E",Delete:"\u524A\u9664",Clear:"\u6D88\u53BB",Move:"\u79FB\u52D5",Drag:"\u30C9\u30E9\u30C3\u30B0","Bring to Front":"\u524D\u9762\u306B\u7F6E\u304F","Send to Back":"\u80CC\u9762\u306B\u7F6E\u304F",Align:"\u6574\u5217","Align Left":"\u5DE6\u306B\u6574\u5217","Align Right":"\u53F3\u306B\u6574\u5217","Align Top":"\u4E0A\u306B\u6574\u5217","Align Bottom":"\u4E0B\u306B\u6574\u5217",Rotate:"\u56DE\u8EE2","Rotate Left":"\u5DE6\u306B\u56DE\u8EE2","Rotate Right":"\u53F3\u306B\u56DE\u8EE2","Flip Horizontal":"\u6C34\u5E73\u306B\u53CD\u8EE2","Flip Vertical":"\u5782\u76F4\u306B\u53CD\u8EE2","Rotate and Flip":"\u56DE\u8EE2\u3057\u3066\u53CD\u8EE2","Group/Ungroup Symbol...":"\u30B7\u30F3\u30DC\u30EB\u306E\u30B0\u30EB\u30FC\u30D7\u5316/\u30B0\u30EB\u30FC\u30D7\u5316\u89E3\u9664",View:"\u898B\u308B","Zoom In":"\u30BA\u30FC\u30E0\u30A4\u30F3","Zoom Out":"\u30BA\u30FC\u30E0\u30A2\u30A6\u30C8","Fit in Window":"\u30A6\u30A3\u30F3\u30C9\u30A6\u306B\u5408\u308F\u305B\u308B",Refresh:"\u30EA\u30D5\u30EC\u30C3\u30B7\u30E5",Snap:"\u30B9\u30CA\u30C3\u30D7",Toolbars:"\u30C4\u30FC\u30EB\u30D0\u30FC","Drawing Tools":"\u30C9\u30ED\u30FC\u30A4\u30F3\u30B0\u30C4\u30FC\u30EB","Wiring Tools":"\u30C4\u30FC\u30EB\u30D0\u30FC","Power Objects":"\u30D1\u30EF\u30FC\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8","PCB Tools":"PCB\u30C4\u30FC\u30EB","PCBLib Tools":"PCB\u30E9\u30A4\u30D6\u30E9\u30EA\u30C4\u30FC\u30EB",Place:"\u914D\u7F6E",Arc:"\u5186\u5F27","Elliptical Arc":"\u6955\u5186\u5F27",Ellipse:"\u6955\u5186",Circle:"\u5186",Pie:"\u5186\u5468\u7387\uFF1F",Line:"\u7DDA",Polyline:"\u30DD\u30EA\u30E9\u30A4\u30F3",Rectangle:"\u77E9\u5F62",Rect:"\u77E9\u5F62","Round Rectangle":"\u9762\u53D6\u308A\u77E9\u5F62",Polygon:"\u591A\u89D2\u5F62",Bezier:"\u30D9\u30B8\u30A8\u66F2\u7DDA",Path:"\u30D1\u30B9",Graphic:"\u30B0\u30E9\u30D5\u30A3\u30C3\u30AF",Bus:"\u30D0\u30B9","Bus Entry":"\u30D0\u30B9\u30A8\u30F3\u30C8\u30EA\u30FC",Junction:"\u30B8\u30E3\u30F3\u30AF\u30B7\u30E7\u30F3","Net Port":"\u65B0\u3057\u3044\u30DD\u30FC\u30C8","Voltage Probe":"\u96FB\u5727\u30D7\u30ED\u30FC\u30D6","Power Port":"\u30D1\u30EF\u30FC\u30DD\u30FC\u30C8",Wire:"\u914D\u7DDA",Annotation:"\u6CE8\u91C8",Track:"\u30C8\u30E9\u30C3\u30AF",Image:"\u30A4\u30E1\u30FC\u30B8","Arrow Head":"\u77E2\u5370",Pin:"\u30D4\u30F3",Miscellaneous:"\u96D1\u591A\u306A","Find Component":"\u90E8\u54C1\u3092\u63A2\u3059","Convert Project To PCB...":"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3092PCB\uFF08\u57FA\u677F\uFF09\u306B\u5909\u63DB","Hotkeys Setting...":"\u30DB\u30C3\u30C8\u30AD\u30FC\u8A2D\u5B9A","Edit Symbol...":"\u30B7\u30F3\u30DC\u30EB\u306E\u7DE8\u96C6","Highlight Net...":"Net\u306E\u30CF\u30A4\u30E9\u30A4\u30C8",Simulate:"\u89E3\u6790","Simulate...":"\u89E3\u6790","Simulation Results...":"\u89E3\u6790\u7D50\u679C","Run the Document":"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u5B9F\u884C","Run the Project...":"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3092\u5B9F\u884C","Netlist for Document":"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306E\u30CD\u30C3\u30C8\u30EA\u30B9\u30C8","Netlist for Project":"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306E\u30CD\u30C3\u30C8\u30EA\u30B9\u30C8","Spice...":"SPICE","Protel/Altium for PCB...":"PCB\u8A2D\u8A08\u7528Protel/Altium","Pads for PCB...":"PCB\u8A2D\u8A08\u7528Pads","FreePCB for PCB...":"PCB\u8A2D\u8A08\u7528FreePCB","Eagle for PCB...":"PCB\u8A2D\u8A08\u7528Eagle","Kicad for PCB...":"PCB\u8A2D\u8A08\u7528Kicad","OrCAD for PCB...":"PCB\u8A2D\u8A08\u7528OrCAD","BOM report...":"BOM\uFF08\u90E8\u54C1\u8868\uFF09\u30EC\u30DD\u30FC\u30C8","BOM for Document...":"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306EBOM","BOM for Project...":"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306EBOM","Pin Map...":"\u30D4\u30F3\u306E\u30DE\u30C3\u30D7","Edit Subckt...":"\u30B5\u30D6\u30B5\u30FC\u30AD\u30C3\u30C8\u306E\u7DE8\u96C6","Layer Options...":"\u30EC\u30A4\u30E4\u30FC\u306E\u30AA\u30D7\u30B7\u30E7\u30F3","Design Rule Check...":"\u30C7\u30B6\u30A4\u30F3\u30EB\u30FC\u30EB\u306E\u30C1\u30A7\u30C3\u30AF","Fabrication Output...":"\u88FD\u9020\u7528\u51FA\u529B","Measure Distance":"\u5BF8\u6CD5\u6E2C\u5B9A","Measure Distance...":"\u5BF8\u6CD5\u6E2C\u5B9A","Design Manager":"\u30C7\u30B6\u30A4\u30F3\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC","New Origin":"\u65B0\u3057\u3044\u539F\u70B9","Add SubPart":"\u30B5\u30D6\u30D1\u30FC\u30C8\u306E\u8FFD\u52A0","Annotate...":"\u6CE8\u91C8",Config:"\u8A2D\u5B9A","Config...":"\u8A2D\u5B9A",Help:"\u30D8\u30EB\u30D7",Support:"\u30B5\u30DD\u30FC\u30C8","Help Topics":"\u30D8\u30EB\u30D7\u30C8\u30D4\u30C3\u30AF","Change History":"\u5909\u66F4\u5C65\u6B74","Historical Records...":"\u5C65\u6B74\u30EC\u30B3\u30FC\u30C9","Bug Report...":"\u30D0\u30B0\u30EC\u30B3\u30FC\u30C9","Feature Request...":"\u6A5F\u80FD\u8981\u6C42","Thank You List":"\u8B1D\u8F9E","Terms of Use & Privacy Policy":"\u5229\u7528\u898F\u7D04\u30FB\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC",About:"\u306B\u3064\u3044\u3066","Order PCB...":"PCB\u306E\u767A\u6CE8","Import Changes":"\u5909\u66F4\u306E\u30A4\u30F3\u30DD\u30FC\u30C8","Build PCB":"PCB\u306E\u69CB\u7BC9","Symbol Wizard...":"\u30B7\u30F3\u30DC\u30EB\u30A6\u30A3\u30B6\u30FC\u30C9","System Libraries":"\u30B7\u30B9\u30C6\u30E0\u30E9\u30A4\u30D6\u30E9\u30EA","Terms of Service & Privacy Policy":"\u30B5\u30FC\u30D3\u30B9\uFF06\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC\u5229\u7528\u898F\u7D04","About...":"\u306B\u3064\u3044\u3066","SVG Source...":"SVG\u30BD\u30FC\u30B9","Easyeda Source...":"Easyeda\u30BD\u30FC\u30B9","Group these items as a SCHLIB/Symbol":"\u3053\u308C\u3089\u306E\u30A2\u30A4\u30C6\u30E0\u3092SCHLIB/Symbol\u3068\u3057\u3066\u30B0\u30EB\u30FC\u30D7\u5316\u3059","Digital Objects":"\u30C7\u30B8\u30BF\u30EB\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8",Properties:"\u30D7\u30ED\u30D1\u30C6\u30A3",Attributes:"\u5C5E\u6027",Apply:"\u9069\u7528","Save as default":"\u30C7\u30D5\u30A9\u30EB\u30C8\u3068\u3057\u3066\u4FDD\u5B58","Canvas Attributes":"\u30AD\u30E3\u30F3\u30D0\u30B9\u306E\u5C5E\u6027",Width:"\u5E45",Height:"\u9AD8\u3055",Background:"\u80CC\u666F","Visible Grid":"\u30B0\u30EA\u30C3\u30C9\u8868\u793A","Grid Color":"\u30B0\u30EA\u30C3\u30C9\u30AB\u30E9\u30FC","Grid Size":"\u30B0\u30EA\u30C3\u30C9\u30B5\u30A4\u30BA","Grid Style":"\u30B0\u30EA\u30C3\u30C9\u30B9\u30BF\u30A4\u30EB","Stroke color":"\u30B9\u30C8\u30ED\u30FC\u30AF\u306E\u30AB\u30E9\u30FC","Stroke width":"\u30B9\u30C8\u30ED\u30FC\u30AF\u306E\u5E45","Stroke style":"\u30B9\u30C8\u30ED\u30FC\u30AF\u306E\u30B9\u30BF\u30A4\u30EB","Fill color":"\u5857\u308A\u3064\u3076\u3057","Selected Objects":"\u9078\u629E\u3055\u308C\u305F\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8","Frame Size":"\u30D5\u30EC\u30FC\u30E0\u30B5\u30A4\u30BA","Text Attributes":"\u30C6\u30AD\u30B9\u30C8\u306E\u5C5E\u6027",Text:"\u30C6\u30AD\u30B9\u30C8",Color:"\u30AB\u30E9\u30FC","Font-family":"\u30D5\u30A9\u30F3\u30C8-\u30D5\u30A1\u30DF\u30EA\u30FC","Font-size":"\u30D5\u30A9\u30F3\u30C8-\u30B5\u30A4\u30BA","Font-weight":"\u30D5\u30A9\u30F3\u30C8-\u30A6\u30A7\u30A4\u30C8","Font-style":"\u30D5\u30A9\u30F3\u30C8-\u30B9\u30BF\u30A4\u30EB","Text type":"\u30C6\u30AD\u30B9\u30C8\u30BF\u30A4\u30D7","Text-anchor":"\u30C6\u30AD\u30B9\u30C8-\u30A2\u30F3\u30AB\u30FC",Baseline:"\u30D9\u30FC\u30B9\u30E9\u30A4\u30F3","X radius":"\uFF38\u534A\u5F84","Y radius":"\uFF39\u534A\u5F84","Pin Attributes":"\u30D4\u30F3\u306E\u5C5E\u6027",Orientation:"\u30AA\u30EA\u30A8\u30F3\u30C6\u30FC\u30B7\u30E7\u30F3","0 degrees":"0\u5EA6","45 degrees":"45\u5EA6","90 degrees":"90\u5EA6","180 degrees":"180\u5EA6","270 degrees":"270\u5EA6","Start-X":"\uFF38\u958B\u59CB\u70B9","Start-Y":"\uFF39\u958B\u59CB\u70B9",Length:"\u9577\u3055",Name:"\u540D\u524D",Number:"\u756A\u53F7","Spice Pin order":"SPICE\u30D4\u30F3\u306E\u6307\u5B9A","Name Display":"\u540D\u524D\u306E\u8868\u793A","Number display":"\u756A\u53F7\u306E\u8868\u793A",Clock:"\u30AF\u30ED\u30C3\u30AF",Show:"\u898B\u305B\u308B",Electric:"\u96FB\u6C17","Junction Attributes":"\u30B8\u30E3\u30F3\u30AF\u30B7\u30E7\u30F3\u306E\u5C5E\u6027","X-Location":"X\u4F4D\u7F6E","Y-Location":"Y\u4F4D\u7F6E",Size:"\u30B5\u30A4\u30BA","Net Label":"\u30CD\u30C3\u30C8\u306E\u30E9\u30D9\u30EB","Part Attributes":"\u90E8\u54C1\u306E\u5C5E\u6027","Image Attributes":"\u30A4\u30E1\u30FC\u30B8\u306E\u5C5E\u6027",Units:"\u5358\u4F4D","Snap Size":"\u30B9\u30CA\u30C3\u30D7\u30B5\u30A4\u30BA",Other:"\u305D\u306E\u4ED6","Routing Width":"\u30EB\u30FC\u30C6\u30A3\u30F3\u30B0\u306E\u5E45","Routing Angle":"\u30EB\u30FC\u30C8\u306E\u89D2\u5EA6",Grid:"\u30B0\u30EA\u30C3\u30C9","Copper Zone":"\u9285\u306E\u9818\u57DF",Visible:"\u8868\u793A",Invisible:"\u975E\u8868\u793A","Track Properties":"\u30C8\u30E9\u30C3\u30AF\u306E\u5C5E\u6027",Layer:"\u30EC\u30A4\u30E4\u30FC",Net:"\u30CD\u30C3\u30C8","End-X":"X\u7D42\u70B9","End-Y":"Y\u7D42\u70B9","Pad Properties":"\u30D1\u30C3\u30C9\u306E\u5C5E\u6027",Shape:"\u5F62","Hole(D)":"Hole\uFF08D)","Center-X":"X\u30BB\u30F3\u30BF\u30FC","Center-Y":"Y\u30BB\u30F3\u30BF\u30FC",Diameter:"\u76F4\u5F84","Text Properties":"\u30C6\u30AD\u30B9\u30C8\u306E\u5C5E\u6027",LineWidth:"\u30E9\u30A4\u30F3\u5E45",Rotation:"\u56DE\u8EE2","Dimension Attributes":"\u5BF8\u6CD5\u306E\u5C5E\u6027","Footprint Attributes":"\u30D5\u30C3\u30C8\u30D7\u30EA\u30F3\u30C8\u306E\u5C5E\u6027","Prefix Display":"Prefix\u306E\u8868\u793A","Arc Properties":"\u5186\u5F27\u306E\u5C5E\u6027","Rect Properties":"\u77E9\u5F62\u306E\u5C5E\u6027","Round radius":"\u9762\u53D6\u308A\u306E\u534A\u5F84","Circle Properties":"\u5186\u306E\u5C5E\u6027",Radius:"\u534A\u5F84","CopperArea Properties":"CopperArea\u306E\u7279\u6027",Clearance:"\u30AF\u30EA\u30A2\u30E9\u30F3\u30B9","Pad Connection":"\u30D1\u30C3\u30C9\u306E\u63A5\u7D9A","CopperArea conflict: copper area outlines in same layer with different net names must not overlap":"CopperArea\u306E\u7AF6\u5408\uFF1A\u540C\u3058\u30EC\u30A4\u30E4\u30FC\u306B\u3042\u308B\u7570\u306A\u3063\u305FNET\u306ECopperArea\u306E\u5916\u5F62\u306F\u91CD\u306A\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u305B\u3093","Please create board outline first":"\u57FA\u677F\u306E\u5916\u5F62\u3092\u6700\u521D\u306B\u5B9A\u7FA9\u3057\u3066\u304F\u3060\u3055\u3044","Board outlines are not closed.":"\u57FA\u677F\u306E\u5916\u5F62\u304C\u9589\u3058\u3066\u3044\u307E\u305B\u3093","Rebuild CopperArea":"CopperArea\u306E\u518D\u5B9A\u7FA9","Custom Attributes":"\u30AB\u30B9\u30BF\u30E0\u306E\u5C5E\u6027","Add new parameter":"\u65B0\u3057\u3044\u30D1\u30E9\u30E1\u30FC\u30BF\u306E\u8FFD\u52A0","Create an account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u4F5C\u6210","Username:":"\u30E6\u30FC\u30B6\u30FC\u30CD\u30FC\u30E0","Password:":"\u30D1\u30B9\u30EF\u30FC\u30C9","Confirm Password:":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u78BA\u8A8D","Email:":"E\u30E1\u30FC\u30EB:","Lost Password...":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u305F","Find the password using your email":"E\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u4F7F\u3063\u3066\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u63A2\u3059",Login:"\u30ED\u30B0\u30A4\u30F3","Username or Email:":"\u30E6\u30FC\u30B6\u30FC\u30CD\u30FC\u30E0\u304BE\u30E1\u30FC\u30EB","Remember Me":"\u899A\u3048\u308B","Third party:":"\u30B5\u30FC\u30C9\u30D1\u30FC\u30C6\u30A3\u30FC","Reset a password using your email:":"\u3042\u306A\u305F\u306EE\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u4F7F\u3063\u3066\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8\u3059\u308B","Your registered email:":"\u3042\u306A\u305F\u306E\u767B\u9332\u3055\u308C\u305FE\u30E1\u30FC\u30EB","Re-send an activation code to your email:":"activation code\u3092\u3042\u306A\u305F\u306EE\u30E1\u30FC\u30EB\u306B\u518D\u9001\u3059\u308B","Invite friends to register":"\u53CB\u4EBA\u3092\u767B\u9332\u306B\u3055\u305D\u3046","Add a new parameter":"\u65B0\u3057\u3044\u30D1\u30E9\u30E1\u30FC\u30BF\u306E\u8FFD\u52A0","Key:":"\u30AD\u30FC","Value:":"\u5024","Change your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u5909\u66F4","Old password:":"\u53E4\u3044\u30D1\u30B9\u30EF\u30FC\u30C9","New Password:":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9","Create a new project":"\u65B0\u3057\u3044\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306E\u4F5C\u6210","Save as a schematic":"\u56DE\u8DEF\u56F3\u3092\u4FDD\u5B58","Save as a schematic Lib":"\u56DE\u8DEF\u56F3\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC\u3092\u4FDD\u5B58","Save as a spice Symbol":"SPICE\u30B7\u30F3\u30DC\u30EB\u3092\u4F5C\u6210","Save as a spice subckt":"SPICE\u30B5\u30D6\u30B5\u30FC\u30AD\u30C3\u30C8\u3092\u4F5C\u6210","YOU MUST CREATE A SPICE SYMBOL WITH EXACTLY THE SAME NAME AS THIS SUBCKT":"\u540C\u3058\u540D\u524D\u306ESPICE\u30B7\u30F3\u30DC\u30EB\u306E\u4F5C\u6210\u304C\u5FC5\u8981\u3067\u3059","Save as a PCB file":"PCB\u30D5\u30A1\u30A4\u30EB\u3092\u4FDD\u5B58","Save as a PCB Lib":"PCB\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC\u3092\u4FDD\u5B58","Title:":"\u30BF\u30A4\u30C8\u30EB","Share:":"\u5171\u6709","Visibility:":"\u8868\u793A","Allow Comments:":"\u30B3\u30E1\u30F3\u30C8\u3092\u8A31\u53EF\u3059\u308B","Public (Anyone can see this project but only you can modify it.)":"\u5171\u7528\uFF08\u8AB0\u3067\u3082\u898B\u3089\u308C\u308B\u3088\u3046\u306B\u306A\u308A\u307E\u3059\uFF09","Private (Only you can see and modify this project)":"\u500B\u4EBA\u7528","Categories:":"\u30AB\u30C6\u30B4\u30EA\u30FC","Project:":"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8","Short descript:":"\u7C21\u5358\u306A\u8AAC\u660E","Content:":"\u5185\u5BB9","Modify this project info.":"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u60C5\u5831\u306E\u5909\u66F4","Modify this file info.":"\u30D5\u30A1\u30A4\u30EB\u60C5\u5831\u306E\u5909\u66F4","Notice:":"\u6CE8\u610F","Search for it before creating a new one.":"\u4F5C\u6210\u3059\u308B\u524D\u306B\u898B\u3066\u78BA\u8A8D\u3059\u308B","Save your file":"\u30D5\u30A1\u30A4\u30EB\u306E\u4FDD\u5B58","Clone it to a project":"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306B\u8907\u88FD\u3059\u308B","Clone it,then re-edit it":"\u8907\u88FD\u3057\u3066\u518D\u7DE8\u96C6\u3059\u308B","Clone your file":"\u30D5\u30A1\u30A4\u30EB\u3092\u8907\u88FD\u3059\u308B","Attach a Subckt to this spice symbol":"\u30B5\u30D6\u30B5\u30FC\u30AD\u30C3\u30C8\u306B\u3053\u306ESPICE\u30B7\u30F3\u30DC\u30EB\u3092\u6DFB\u3048\u3064\u3051\u308B","Subckt string:":"\u30B5\u30D6\u30B5\u30FC\u30AD\u30C3\u30C8\u306E\u6587\u5B57\u5217","Import file from your computer":"\u3042\u306A\u305F\u306E\u30B3\u30F3\u30D4\u30E5\u30FC\u30BF\u304B\u3089\u30D5\u30A1\u30A4\u30EB\u3092\u30A4\u30F3\u30DD\u30FC\u30C8\u3059\u308B","File Operation":"\u30D5\u30A1\u30A4\u30EB\u64CD\u4F5C","Import File":"\u30D5\u30A1\u30A4\u30EB\u306E\u30A4\u30F3\u30DD\u30FC\u30C8","Extract Libs":"\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC\u3092\u62BD\u51FA\u3059\u308B","Modify symbol information":"\u3042\u306A\u305F\u306E\u30B7\u30F3\u30DC\u30EB\u60C5\u5831\u306E\u5909\u66F4","Hidden Pin:":"\u96A0\u3055\u308C\u305F\u30D4\u30F3","Pin Map":"\u30D4\u30F3\u30DE\u30C3\u30D7","Export BOM":"BOM\u306E\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8","Run your simulation":"\u89E3\u6790\u306E\u5B9F\u52B9",Transient:"\u30C8\u30E9\u30F3\u30B8\u30A7\u30F3\u30C8\u89E3\u6790","Maximum Timestep:":"\u6700\u5927Timestep","Stop Time:":"\u7D42\u4E86\u6642\u9593","Start Time:":"\u958B\u59CB\u6642\u9593","AC Analysis":"AC\u89E3\u6790","Type of Sweep:":"Sweep\u306E\u30BF\u30A4\u30D7","Number of points:":"\u30DD\u30A4\u30F3\u30C8\u6570","Start Frequency:":"\u958B\u59CB\u5468\u6CE2\u6570","Stop Frequency:":"\u7D42\u4E86\u5468\u6CE2\u6570","Start Value:":"\u958B\u59CB\u5024","Stop Value:":"\u7D42\u4E86\u5024","Increment:":"\u5897\u5206","Output:":"\u51FA\u529B","Source:":"\u30BD\u30FC\u30B9","Compute the DC operating point treating capacitances as opens and inductances as shorts":"DC\u52D5\u4F5C\u306E\u30DD\u30A4\u30F3\u30C8\u3092\u8A08\u7B97\u3059\u308B\u305F\u3081\u306B\u3001\u30AD\u30E3\u30D1\u30B7\u30BF\u30F3\u30B9\u306F\u30AA\u30FC\u30D7\u30F3\u3001\u30A4\u30F3\u30C0\u30AF\u30BF\u30F3\u30B9\u306F\u30B7\u30E7\u30FC\u30C8\u3068\u3057\u3066\u6271\u3044\u307E\u3059","Active File":"\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30D5\u30A1\u30A4\u30EB","Active Project":"\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8","Embed it in your html files.":"\u3042\u306A\u305F\u306EHTML\u30D5\u30A1\u30A4\u30EB\u306B\u62E1\u5F35\u3059\u308B","Share it by e-mail, IM, blog, etc.)":"\u5171\u6709\uFF08e-mailIM,blogetc.)","BBCode (used by many online discussion forums)":"BBCode","QRCode (Share your schematic address by QRCode )":"QRCode","Share a copy of this document":"\u3053\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u30B3\u30D4\u30FC",Readonly:"\u8AAD\u307F\u8FBC\u307F\u306E\u307F",Editable:"\u7DE8\u96C6\u53EF\u80FD","Export your works":"\u4F5C\u696D\u3092\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8","Export Option:":"\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8","Zoom:":"\u30BA\u30FC\u30E0","Image Type:":"\u30A4\u30E1\u30FC\u30B8\u30BF\u30A4\u30D7","Qualify:":"\u4FEE\u6B63","0 means real size":"\u30BC\u30ED\u306B\u5B9F\u969B\u306E\u30B5\u30A4\u30BA\u3092\u4E0E\u3048\u308B","Merged layer":"\u878D\u5408\u3055\u308C\u305F\u30EC\u30A4\u30E4\u30FC","Separated layer":"\u5206\u96E2\u3055\u308C\u305F\u30EC\u30A4\u30E4\u30FC",Export:"\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8",Mirror:"\u30DF\u30E9\u30FC",TopLayer:"\u30C8\u30C3\u30D7\u30EC\u30A4\u30E4\u30FC",BottomLayer:"\u30DC\u30C8\u30E0\u30EC\u30A4\u30E4\u30FC",TopSilkLayer:"\u30C8\u30C3\u30D7\u30B7\u30EB\u30AF\u30EC\u30A4\u30E4\u30FC",BottomSilkLayer:"\u30DC\u30C8\u30E0\u30B7\u30EB\u30AF\u30EC\u30A4\u30E4\u30FC",Inner1:"\u30A4\u30F3\u30CA\u30FC\uFF11",Inner2:"\u30A4\u30F3\u30CA\u30FC\uFF12",Inner3:"\u30A4\u30F3\u30CA\u30FC\uFF13",Inner4:"\u30A4\u30F3\u30CA\u30FC\uFF14",Colour:"\u30AB\u30E9\u30FC","Width:":"\u5E45","Confirm Importing changes information":"\u30A4\u30F3\u30DD\u30FC\u30C8\u3055\u308C\u305F\u5909\u66F4\u60C5\u5831\u306E\u78BA\u8A8D","Layer Options Settings":"\u30EC\u30A4\u30E4\u30FC\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u8A2D\u5B9A","Layers setting:":"\u30EC\u30A4\u30E4\u30FC\u306E\u8A2D\u5B9A",Configured:"\u8A2D\u5B9A","Layer Name":"\u30EC\u30A4\u30E4\u30FC\u540D",TopPasterLayer:"\u30C8\u30C3\u30D7\u30DA\u30FC\u30B9\u30C8\u30EC\u30A4\u30E4\u30FC",BottomPasterLayer:"\u30DC\u30C8\u30E0\u30DA\u30FC\u30A6\u30C8\u30EC\u30A4\u30E4\u30FC",TopSolderLayer:"\u30C8\u30C3\u30D7\u30BD\u30EB\u30C0\u30FC\u30EC\u30A4\u30E4\u30FC",BottomSolderLayer:"\u30DC\u30C8\u30E0\u30BD\u30EB\u30C0\u30FC\u30EC\u30A4\u30E4\u30FC",Ratlines:"\u30E9\u30C3\u30C8\u30E9\u30A4\u30F3",BoardOutline:"\u57FA\u677F\u5916\u5F62",All:"\u5168\u3066",Document:"\u8CC7\u6599",Setting:"\u8A2D\u5B9A","Drawing area":"Drawing\u9818\u57DF","Export area:":"\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u9818\u57DF","Create Files":"\u30D5\u30A1\u30A4\u30EB\u306E\u4F5C\u6210","Check your Gerber files carefully before sending them to the factory":"\u88FD\u9020\u696D\u8005\u306B\u30AC\u30FC\u30D0\u30FC\u30D5\u30A1\u30A4\u30EB\u3092\u9001\u308B\u524D\u306B\u6CE8\u610F\u6DF1\u304F\u30C1\u30A7\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044","Download free Gerber Viewer (gerbv)":"Gerber View free\u306E\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9","Design Rule Check":"\u30C7\u30B6\u30A4\u30F3\u30EB\u30FC\u30EB\u306E\u30C1\u30A7\u30C3\u30AF",Item:"\u30A2\u30A4\u30C6\u30E0",Value:"\u5024",Unit:"\u5358\u4F4D","Track Width":"\u30C8\u30E9\u30C3\u30AF\u306E\u5E45","Track to Track":"\u30C8\u30E9\u30C3\u30AF\u304B\u3089\u30C8\u30E9\u30C3\u30AF","Track to Pad":"\u30C8\u30E9\u30C3\u30AF\u304B\u3089\u30D1\u30C3\u30C9","Pad to Pad":"\u30D1\u30C3\u30C9\u304B\u3089\u30D1\u30C3\u30C9","Hole to Hole":"Hole\u304B\u3089Hole","Via Hole Size":"\u30D3\u30A2\u306EHole\u30B5\u30A4\u30BA","DRC results":"DRC\u306E\u7D50\u679C","Invalid Package":"\u7121\u52B9\u306A\u30D1\u30C3\u30B1\u30FC\u30B8","Scroll Or Move selected left":"Scroll left Or Move selected left","Scroll or Move selected right":"Scroll right or Move selected right","Scroll or Move selected up":"Scroll up or Move selected up","Scroll or Move selected down":"Scroll down or Move selected down","Draw Arc":"Draw Arc=","New Project":"\u65B0\u3057\u3044\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",Modify:"\u66F4\u65B0","Add sub part":"\u30B5\u30D6\u30D1\u30FC\u30C8\u306E\u8FFD\u52A0","Clone it":"\u8907\u88FD","Please type a short summary!":"\u77ED\u3044\u8981\u7D04\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044","Support...":"\u30B5\u30DD\u30FC\u30C8","A short summary":"\u7C21\u5358\u306A\u8981\u7D04","Make sure your reports are clear and detailed":"\u3042\u306A\u305F\u306E\u30EC\u30DD\u30FC\u30C8\u304C\u660E\u78BA\u3067\u8A73\u7D30\u3067\u3042\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044",Submit:"\u63D0\u51FA","Verify the packages":"\u30D1\u30C3\u30B1\u30FC\u30B8\u306E\u78BA\u8A8D",Clone:"\u8907\u88FD","Reload parts":"\u30D1\u30FC\u30C4\u3092\u30EA\u30ED\u30FC\u30C9",Layers:"\u30EC\u30A4\u30E4\u30FC","Language:":"\u8A00\u8A9E","Display Name:":"\u540D\u524D\u306E\u8868\u793A","HotKey Sync:":"HotKey Sync","Document Recovery Setting:":"\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u306E\u8A2D\u5B9A","Maximum backup level:":"\u6700\u5927\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u30EC\u30D9\u30EB","Auto backup(minutes):":"\u30AA\u30FC\u30C8\u30BB\u30FC\u30D6\uFF08\u5206\uFF09","Save to Server":"\u30B5\u30FC\u30D0\u30FC\u3078\u306E\u4FDD\u5B58","Load from Server":"\u30B5\u30FC\u30D0\u30FC\u304B\u3089\u306E\u30ED\u30FC\u30C9","Style:":"\u30B9\u30BF\u30A4\u30EB","Picture:":"Picture","Pin Names:":"\u30D4\u30F3\u306E\u540D\u524D",Annotate:"\u6CE8\u91C8",Scope:"\u30B9\u30B3\u30FC\u30D7","Active Schematic only":"\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u56DE\u8DEF","All Opened Schematics":"\u958B\u304B\u308C\u305F\u56DE\u8DEF","Re-annotate all":"\u518D\u6CE8\u91C8","Keep existing annotation":"\u73FE\u5728\u306E\u6CE8\u91C8\u3092\u7DAD\u6301\u3059\u308B",Rows:"\u884C",Cols:"\u5217",Reset:"\u30EA\u30BB\u30C3\u30C8","Order...":"\u767A\u6CE8","Order your PCB from EasyEDA":"EasyEDA\u304B\u3089\u767A\u6CE8\u3059\u308B","PCB Qty.":"\u57FA\u677F\u679A\u6570","PCB Thickness":"\u57FA\u677F\u539A","PCB Dimension":"\u57FA\u677F\u5BF8\u6CD5","Automatic calculation":"\u81EA\u52D5\u8A08\u7B97","PCB Color":"\u57FA\u677F\u306E\u8272",Green:"\u7DD1",White:"\u767D",Blue:"\u9752",Red:"\u8D64",Yellow:"\u9EC4",Black:"\u9ED2","Surface Finish":"\u8868\u9762\u51E6\u7406",Hasl:"\u534A\u7530\u30E1\u30C3\u30AD","Hasl(Lead Free)":"\u534A\u7530\u30E1\u30C3\u30AD\uFF08\u925B\u30D5\u30EA\u30FC\uFF09",ENIG:"\u7121\u96FB\u89E3\u30CB\u30C3\u30B1\u30EB\u30E1\u30C3\u30AD","Open Project":"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3092\u958B\u304F","Cost Estimate":"\u30B3\u30B9\u30C8\u306E\u898B\u7A4D\u3082\u308A","Shipping information":"\u51FA\u8377\u60C5\u5831",Address:"\u30A2\u30C9\u30EC\u30B9",City:"\u5E02",Country:"\u56FD","Tel.":"\u96FB\u8A71","Restore All Default Shortcuts":"\u3059\u3079\u3066\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u30B7\u30E7\u30FC\u30C8\u30AB\u30C3\u30C8\u3092\u5FA9\u5143","Save Changes":"\u5909\u66F4\u3092\u4FDD\u5B58",information:"\u60C5\u5831",error:"\u30A8\u30E9\u30FC","error!":"\u30A8\u30E9\u30FC\uFF01",Warning:"\u8B66\u544A","Imported ok!":"\u30A4\u30F3\u30DD\u30FC\u30C8OK\uFF01","Some changes have not been saved.":"\u3044\u304F\u3064\u304B\u306E\u5909\u66F4\u304C\u4FDD\u5B58\u3055\u308C\u3066\u3044\u307E\u305B\u3093","load failure !":"\u30ED\u30FC\u30C9\u306B\u5931\u6557","error info":"\u30A8\u30E9\u30FC\u60C5\u5831","error information":"\u30A8\u30E9\u30FC\u60C5\u5831","Please create a project before you do this!":"\u3053\u306E\u4F5C\u696D\u3092\u3059\u308B\u524D\u306B\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3092\u4F5C\u6210\u3057\u3066\u304F\u3060\u3055\u3044","Add Part success":"\u30D1\u30FC\u30C4\u306E\u8FFD\u52A0\u306B\u6210\u529F","Click the new part and then edit it !":"\u65B0\u3057\u3044\u30D1\u30FC\u30C4\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u7DE8\u96C6\u3057\u307E\u3059","Delete my work":"\u4F5C\u696D\u3092\u524A\u9664","Do you confirm this?":"\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044","Successfully deleted!":"\u524A\u9664\u306B\u6210\u529F","Cloning success!":"\u8907\u88FD\u306B\u6210\u529F","Your title is too short!":"\u30BF\u30A4\u30C8\u30EB\u304C\u77ED\u3059\u304E\u307E\u3059","Remove this part":"\u3053\u306E\u30D1\u30FC\u30C4\u3092\u524A\u9664\u3057\u307E\u3059","Find and Jump to ...":"\u898B\u3064\u3051\u3066\u305D\u3053\u306B\u884C\u304D\u307E\u3059","Please type the prefix, such as U1, R1, C1":"U1,R1,C1\u306E\u3088\u3046\u306Aprefix\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044","Zoom as 1:1, you can print it and then create artwork for etching the PCB.":"1:1\u3067\u30BA\u30FC\u30E0\u3057\u30D7\u30EA\u30F3\u30C8\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u305D\u306E\u5F8C\u57FA\u677F\u306E\u30A8\u30C3\u30C1\u30F3\u30B0\u306E\u305F\u3081\u306E\u30A2\u30FC\u30C8\u30EF\u30FC\u30AF\u3092\u4F5C\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Exporting your works!":"\u4F5C\u696D\u3092\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8","Guests can't import a file. Please login!":"\u30B2\u30B9\u30C8\u3067\u306F\u30D5\u30A1\u30A4\u30EB\u3092\u30A4\u30F3\u30DD\u30FC\u30C8\u3067\u304D\u307E\u305B\u3093\u3002\u30ED\u30B0\u30A4\u30F3\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Please create a project before you import a file!":"\u30D5\u30A1\u30A4\u30EB\u3092\u30A4\u30F3\u30DD\u30FC\u30C8\u3059\u308B\u524D\u306B\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3092\u4F5C\u6210\u3057\u3066\u304F\u3060\u3055\u3044","Import your LTspice file!":"LTspice\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A4\u30F3\u30DD\u30FC\u30C8\u3057\u3066\u304F\u3060\u3055\u3044","Saved successfully!":"\u4FDD\u5B58\u306B\u6210\u529F","Can not place parts into this document.":"\u3053\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306B\u30D1\u30FC\u30C4\u3092\u7F6E\u3051\u307E\u305B\u3093","User Package":"\u30E6\u30FC\u30B6\u30FC\u30D1\u30C3\u30B1\u30FC\u30B8","System Package":"\u30B7\u30B9\u30C6\u30E0\u30D1\u30C3\u30B1\u30FC\u30B8","File error":"\u30D5\u30A1\u30A4\u30EB\u30A8\u30E9\u30FC","Please save your file first!":"\u6700\u521D\u306B\u3042\u306A\u305F\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u4FDD\u5B58\u3057\u3066\u304F\u3060\u3055\u3044\uFF01","Email address is too short!":"E\u30E1\u30FC\u30EB\u306E\u30A2\u30C9\u30EC\u30B9\u304C\u77ED\u3059\u304E\u307E\u3059","You have not selected a file to upload.":"\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3059\u308B\u30D5\u30A1\u30A4\u30EB\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093",Update:"\u66F4\u65B0","No changes":"\u5909\u66F4\u306A\u3057","PCB is the same as SCH!":"PCB\u306FSCH\u3068\u540C\u3058\u3067\u3059","Only public files can be shared":"\u5171\u6709\u30D5\u30A1\u30A4\u30EB\u306E\u307F\u914D\u5E03\u3067\u304D\u307E\u3059","Conversion to PCB has failed!":"PCB\u3078\u306E\u5909\u63DB\u306B\u5931\u6557","Your username is too short!":"\u3042\u306A\u305F\u306E\u30E6\u30FC\u30B6\u30CD\u30FC\u30E0\u306F\u77ED\u3059\u304E\u307E\u3059","Your password is too short, it must be more than 6 characters!":"\u3042\u306A\u305F\u306E\u30D1\u30B9\u30EF\u30FC\u30C9\u306F\u77ED\u3059\u304E\u307E\u3059\u30026\u6587\u5B57\u4EE5\u4E0A\u5FC5\u8981\u3067\u3059\u3002","Conflicting shortcut:":"\u30B7\u30E7\u30FC\u30C8\u30AB\u30C3\u30C8\u304C\u7AF6\u5408\u3057\u307E\u3059","This file has been modified, are you sure you want to run this simulation before saving it first?":"\u3053\u306E\u30D5\u30A1\u30A4\u30EB\u306F\u5909\u66F4\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u89E3\u6790\u3092\u5B9F\u884C\u3057\u307E\u3059\u304B\uFF1F\u307E\u305A\u4FDD\u5B58\u3092\u304A\u52E7\u3081\u3057\u307E\u3059","Please enter the Maximum Timestep!":"\u6700\u5927Timetep\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093","Please enter the Stop Time!":"\u7D42\u4E86\u6642\u9593\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044","All of these fields are needed.":"\u5168\u3066\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u304C\u5FC5\u8981\u3067\u3059","Either your spice netlist is too big or the server is busy. Please try again later.":"\u3042\u306A\u305F\u306ESPICE\u30CD\u30C3\u30C8\u30EA\u30B9\u30C8\u304C\u5927\u304D\u3059\u304E\u308B\u304B\u30B5\u30FC\u30D0\u30FC\u304C\u30D3\u30B8\u30FC\u3067\u3059\u3002\u3057\u3070\u3089\u304F\u305F\u3063\u3066\u304B\u3089\u8A66\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Your spice netlist is too big! Try breaking your circuit into smaller simulatable blocks.":"\u3042\u306A\u305F\u306ESPICE\u30CD\u30C3\u30C8\u30EA\u30B9\u30C8\u304C\u5927\u304D\u3059\u304E\u307E\u3059","Too many users in simulation. Please try again later!":"\u3042\u307E\u308A\u306B\u3082\u591A\u304F\u306E\u30E6\u30FC\u30B6\u30FC\u304C\u89E3\u6790\u3092\u884C\u3063\u3066\u3044\u307E\u3059\u3002\u3057\u3070\u3089\u304F\u305F\u3063\u3066\u304B\u3089\u8A66\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Your simulation results are too large! Try reducing the total simulation time (Stop Time - Start Time), increasing the maximum time step, removing some of your probes or breaking your circuit into smaller simulatable blocks.":"\u3042\u306A\u305F\u306E\u89E3\u6790\u7D50\u679C\u306F\u5927\u304D\u3059\u304E\u307E\u3059","The schematic is showing errors, please check the simulation report carefully!":"\u56DE\u8DEF\u56F3\u306B\u30A8\u30E9\u30FC\u304C\u898B\u3089\u308C\u307E\u3059\u89E3\u6790\u30EC\u30DD\u30FC\u30C8\u3092\u6CE8\u610F\u6DF1\u304F\u30C1\u30A7\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044","Simulation too long, maybe your schematic is too complex.":"\u89E3\u6790\u6642\u9593\u304C\u9577\u3059\u304E\u307E\u3059\u3002\u3042\u306A\u305F\u306E\u56DE\u8DEF\u306F\u8907\u96D1\u3059\u304E\u308B\u304B\u3082\u3057\u308C\u307E\u305B\u3093\u3002","Load your preferences success!":"\u597D\u307F\u306E\u6210\u529F\u4F8B\u3092\u30ED\u30FC\u30C9","Save preferences successfully!":"\u597D\u307F\u306E\u6210\u529F\u4F8B\u3068\u3057\u3066\u4FDD\u5B58","Update subckt ok!":"\u30B5\u30D6\u30B5\u30FC\u30AD\u30C3\u30C8\u306E\u66F4\u65B0OK","Please type a new file name":"\u65B0\u3057\u3044\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u5165\u529B","Create file failure!":"\u30D5\u30A1\u30A4\u30EB\u306E\u4F5C\u6210\u306B\u5931\u6557","Libraries to be imported under My Libs folder":"\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC\u306FMy Libs\u30D5\u30A9\u30EB\u30C0\u30FC\u306B\u30A4\u30F3\u30DD\u30FC\u30C8\u3055\u308C\u307E\u3059","Please choose only the libraries needed":"\u5FC5\u8981\u306A\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC\u3060\u3051\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044","Maximum import is 200 libs at one time!":"1\u56DE\u306B\uFF12\uFF10\uFF10\u307E\u3067\u306E\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC\u3057\u304B\u30A4\u30F3\u30DD\u30FC\u30C8\u3067\u304D\u307E\u305B\u3093","Import Libraries success":"\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC\u306E\u30A4\u30F3\u30DD\u30FC\u30C8\u306B\u6210\u529F","You libraries will be found under the My Libs folder":"\u3042\u306A\u305F\u306E\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC\u306FMy Libs\u30D5\u30A9\u30EB\u30C0\u30FC\u306B\u3042\u308A\u307E\u3059","Add to My Libs":"My Libs\u306B\u8FFD\u52A0","No items have been checked!":"\u30A2\u30A4\u30C6\u30E0\u304C\u30C1\u30A7\u30C3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093","Nothing was found, please create it for yourself":"\u4F55\u3082\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u3042\u306A\u305F\u304C\u4F5C\u6210\u3057\u3066\u304F\u3060\u3055\u3044","Search result":"\u691C\u7D22\u7D50\u679C","At least 3 characters needed":"3\u6587\u5B57\u4EE5\u4E0A\u5FC5\u8981","Add to my Favorite Parts":"my Favorite Parts\u306B\u8FFD\u52A0","Added it OK. Please find it in your Favorite Parts":"\u8FFD\u52A0\u306FOK\u3067\u3059\u3002Favorite Parts\u3092\u898B\u3066\u304F\u3060\u3055\u3044","Please select its parent node":"\u89AA\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044","Libraries can not be exported as active project pdf.":"\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC\u306F\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306EPDF\u3068\u3057\u3066\u306F\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u3067\u304D\u307E\u305B\u3093","Circuit does not have a GND,":"\u56DE\u8DEF\u306BGND\u304C\u3042\u308A\u307E\u305B\u3093","Circuit does not have a probe,":"\u56DE\u8DEF\u306B\u30D7\u30ED\u30FC\u30D6\u304C\u3042\u308A\u307E\u305B\u3093","Make sure your pin numbers are even numbers":"\u30D4\u30F3\u756A\u53F7\u304C\u5076\u6570\u3067\u3042\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044","Prefix Conflict":"Prefix\u306E\u7AF6\u5408","There are some invalid packages, are you sure?":"\u3044\u304F\u3064\u304B\u306E\u7121\u52B9\u306A\u30D1\u30C3\u30B1\u30FC\u30B8\u304C\u3042\u308A\u307E\u3059\u3002\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F","Invalid Characters, library only allows [0-9a-zA-Z-_]":"\u7121\u52B9\u306A\u6587\u5B57\u3067\u3059\u3002\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC\u3067\u306F[0-9a-zA-Z-_]\u304C\u4F7F\u7528\u3067\u304D\u307E\u3059","Annotation success":"\u6CE8\u91C8\u6210\u529F","If you accept this annotation operation, please save your files. If not, close your files without saving.":"\u3082\u3057\u3053\u306E\u6CE8\u91C8\u306E\u64CD\u4F5C\u3092\u53D7\u3051\u5165\u308C\u308B\u306A\u3089\u30D5\u30A1\u30A4\u30EB\u3092\u4FDD\u5B58\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u305D\u3046\u3067\u306A\u3051\u308C\u3070\u3001\u4FDD\u5B58\u305B\u305A\u306B\u30D5\u30A1\u30A4\u30EB\u3092\u9589\u3058\u3066\u304F\u3060\u3055\u3044","Your file is unsaved.":"\u30D5\u30A1\u30A4\u30EB\u306F\u4FDD\u5B58\u3055\u308C\u307E\u305B\u3093","You can close the editor now. Have a good day!":"\u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u9589\u3058\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002","Logout Successfully!":"\u30ED\u30B0\u30A2\u30A6\u30C8\u6210\u529F","You have unsaved file, please save it or close it":"\u30D5\u30A1\u30A4\u30EB\u3092\u4FDD\u5B58\u3057\u3066\u3044\u307E\u305B\u3093\u3002\u4FDD\u5B58\u3059\u308B\u304B\u9589\u3058\u3066\u304F\u3060\u3055\u3044","Please Save your file before the this operation":"\u64CD\u4F5C\u306E\u524D\u306B\u30D5\u30A1\u30A4\u30EB\u3092\u4FDD\u5B58\u3057\u3066\u304F\u3060\u3055\u3044","Please try again after saving this file.":"\u4FDD\u5B58\u5F8C\u3082\u3046\u4E00\u5EA6\u8A66\u3057\u3066\u304F\u3060\u3055\u3044\u300D",Skip:"\u30BA\u30AD\u30C3\u30D7","\u2190 Back":"<-\u623B\u308B","Next \u2192":"\u6B21->","This is user management menu.":"\u30E6\u30FC\u30B6\u30FC\u30DE\u30CD\u30FC\u30B8\u30E1\u30F3\u30C8\u30E1\u30CB\u30E5\u30FC","This is super menu.":"\u30B9\u30FC\u30D1\u30FC\u30E1\u30CB\u30E5\u30FC","This is toolbar.":"\u30C4\u30FC\u30EB\u30D0\u30FC","This is config menu button.":"\u8A2D\u5B9A\u30E1\u30CB\u30E5\u30FC\u30DC\u30BF\u30F3","This is share button.":"\u914D\u4ED8\u30DC\u30BF\u30F3","This is document management menu.":"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u7BA1\u7406\u30E1\u30CB\u30E5\u30FC","Show or hide your toolbar at here.":"\u30C4\u30FC\u30EB\u30D0\u30FC\u3092\u898B\u305B\u308B/\u6D88\u3059","Show or hide your left sidebar at here.":"\u5DE6\u306E\u30B5\u30A4\u30C9\u30D0\u30FC\u3092\u898B\u305B\u308B/\u6D88\u3059","Show or hide your right sidebar at here.":"\u53F3\u306E\u30B5\u30A4\u30C9\u30D0\u30FC\u3092\u898B\u305B\u308B/\u6D88\u3059","Passive Components":"\u53D7\u52D5\u90E8\u54C1","Power Supply":"\u96FB\u6E90",Diodes:"\u30C0\u30A4\u30AA\u30FC\u30C9",Regulator:"\u30EC\u30AE\u30E5\u30EC\u30FC\u30BF",Transistor:"\u30C8\u30E9\u30F3\u30B8\u30B9\u30BF",Transformers:"\u30C8\u30E9\u30F3\u30B9",Gates:"\u30B2\u30FC\u30C8","Vacuum Tubes":"\u771F\u7A7A\u30C1\u30E5\u30FC\u30D7",Switch:"\u30B9\u30A4\u30C3\u30C1",Relay:"\u30EA\u30EC\u30FC","Capacitor(US)":"\u30B3\u30F3\u30C7\u30F3\u30B5\uFF08US\uFF09","Capacitor(EU)":"\u30B3\u30F3\u30C7\u30F3\u30B5\uFF08EU\uFF09","Capacitor(EU)2":"\u30B3\u30F3\u30C7\u30F3\u30B5\uFF08EU)2","Electrolytic Capacitor(US)":"\u96FB\u754C\u30B3\u30F3\u30C7\u30F3\u30B5(US)","Electrolytic Capacitor(EU)":"=\u96FB\u754C\u30B3\u30F3\u30C7\u30F3\u30B5(EU)","Electrolytic Capacitor(US)2":"=\u96FB\u754C\u30B3\u30F3\u30C7\u30F3\u30B5(US)2","Electrolytic Capacitor(EU)2":"=\u96FB\u754C\u30B3\u30F3\u30C7\u30F3\u30B5(EU)2","Inductor(US)":"\u30A4\u30F3\u30C0\u30AF\u30BF(US)","Inductor(EU)":"\u30A4\u30F3\u30C0\u30AF\u30BF(EU)","Potentiometer(US)":"\u30DD\u30C6\u30F3\u30B7\u30E7\u30E1\u30FC\u30BF(US)","Potentiometer(EU)":"\u30DD\u30C6\u30F3\u30B7\u30E7\u30E1\u30FC\u30BF(EU)","Resistor(US)":"\u62B5\u6297(US)","Resistor(EU)":"\u62B5\u6297(EU)","Resistor 45 Deg(US)":"\u62B5\u629745\u5EA6(US)","Resistor 45 Deg(EU)":"\u62B5\u629745\u5EA6(ES)","Variable Capacitor(US)":"\u53EF\u5909\u30B3\u30F3\u30C7\u30F3\u30B5(US)","Variable Capacitor(EU)":"\u53EF\u5909\u30B3\u30F3\u30C7\u30F3\u30B5(EU)","Variable Resistor(US)":"\u53EF\u5909\u62B5\u6297(US)","Variable Resistor(EU)":"\u53EF\u5909\u62B5\u6297(EU)","Variable Inductor(US)":"\u53EF\u5909\u30A4\u30F3\u30C0\u30AF\u30BF(US)","Variable Inductor(EU)":"\u53EF\u5909\u30A4\u30F3\u30C0\u30AF\u30BF(EU)",Varistor:"\u30D0\u30EA\u30B9\u30BF","Inductor2(US)":"\u30A4\u30F3\u30C0\u30AF\u30BF2(US)","Inductor2(EU)":"\u30A4\u30F3\u30C0\u30AF\u30BF2(EU)",Battery:"\u30D0\u30C3\u30C6\u30EA\u30FC","Voltage Source":"\u96FB\u5727\u6E90","Current Source":"\u96FB\u6D41\u6E90","CCCS(Current Controlled Current Source)":"CCCS(\u96FB\u6D41\u5236\u5FA1\u96FB\u6D41\u6E90\uFF09","CCCS2(Current Controlled Current Source)":"CCCS2(\u96FB\u6D41\u5236\u5FA1\u96FB\u6D41\u6E90\uFF09","VCCS(Voltage Controlled Current Source)":"VCCS(\u96FB\u5727\u5236\u5FA1\u96FB\u6D41\u6E90\uFF09","VCVS(Voltage Controlled Voltage Source)":"VCVS(\u96FB\u5727\u5236\u5FA1\u96FB\u5727\u6E90\uFF09","CCVS(Current Controlled Voltage Source)":"CCVS(\u96FB\u6D41\u5236\u5FA1\u96FB\u5727\u6E90\uFF09","CCVS2(Current Controlled Voltage Source)":"CCCS2(\u96FB\u6D41\u5236\u5FA1\u96FB\u5727\u6E90\uFF09","BV(Behavioral Voltage Sources)":"BV(\u30D3\u30D8\u30A4\u30D3\u30A2\u96FB\u5727\u6E90\uFF09","Epoly(Non-linear Voltage Source)":"\u975E\u7DDA\u5F62\u96FB\u5727\u6E90","Gpoly(Non-linear Current Source)":"\u975E\u7DDA\u5F62\u96FB\u6D41\u6E90",Diode:"\u30C0\u30A4\u30AA\u30FC\u30C9","Schottky Diode":"\u30B7\u30E7\u30C3\u30C8\u30AD\u30FC\u30C0\u30A4\u30AA\u30FC\u30C9","Varactor Diode":"\u30D0\u30E9\u30AF\u30BF\u30C0\u30A4\u30AA\u30FC\u30C9",Zener:"\u30C4\u30A7\u30CA\u30FC","Unidirectional TVS Diode":"\u4E00\u65B9\u5411\u306ETVS\u30C0\u30A4\u30AA\u30FC\u30C9","Bidirectional TVS Diode":"\u53CC\u65B9\u5411\u306ETVS\u30C0\u30A4\u30AA\u30FC\u30C9",Bridge:"\u30D6\u30EA\u30C3\u30B8","MOSFET(Nch) Enhancement Four-pins":"MOSFET(Nch) Enhancement Four-pin","MOSFET(Pch)":"MOSFET(Nch)","MOSFET(Pch) Depletion Four-pins":"MOSFET(Nch) Depletion Four-pins","MOSFET(Pch) Enhancement":"MOSFET(Nch) Enhancement","MOSFET(Pch) Enhancement Four-pins":"MOSFET(Nch) Enhancement Four-pins","Darlington NPN":"\u30C0\u30FC\u30EA\u30F3\u30C8\u30F3NPN","Darlington PNP":"\u30C0\u30FC\u30EA\u30F3\u30C8\u30F3PNP",IGBT:">IGBT",Triac:"\u30B5\u30A4\u30EA\u30B9\u30BF","Transform(US)":"\u30C8\u30E9\u30F3\u30B9(US)","Transform(EU)":"\u30C8\u30E9\u30F3\u30B9(EU)","Mutual Inductors":"\u76F8\u4E92\u30A4\u30F3\u30C0\u30AF\u30BF\u30F3\u30B9","Mutual Inductors2":"\u76F8\u4E92\u30A4\u30F3\u30C0\u30AF\u30BF\u30F3\u30B92","Or Gate":"Or\u30B2\u30FC\u30C8","Xor Gate":"Xor\u30B2\u30FC\u30C8","And Gate":"And\u30B2\u30FC\u30C8","Nor Gate":"Nor\u30B2\u30FC\u30C8","Nand Gate":"Nand\u30B2\u30FC\u30C8","Not Gate":"Not\u30B2\u30FC\u30C8","Xnor Gate":"Xnor\u30B2\u30FC\u30C8","Tube Diode":"\uFF12\u6975\u771F\u7A7A\u7BA1","Tube Triode":"\uFF13\u6975\u771F\u7A7A\u7BA1","Tube Tetrode":"\uFF14\u6975\u771F\u7A7A\u7BA1","Tube Pentode":"\uFF15\u6975\u771F\u7A7A\u7BA1","Voltage Controlled Switch":"\u96FB\u5727\u5236\u5FA1\u30B9\u30A4\u30C3\u30C1","Current Controlled Switch":"\u96FB\u6D41\u5236\u5FA1\u30B9\u30A4\u30C3\u30C1",Fuse:"\u30D2\u30E5\u30FC\u30BA",Speaker:"\u30B9\u30D4\u30FC\u30AB\u30FC","5pin Operational Amplifier":"5pin\u30AA\u30DA\u30A2\u30F3\u30D7","3pin Operational amplifier":"3pin\u30AA\u30DA\u30A2\u30F3\u30D7","Transmission Line":"\u4F1D\u9001\u7DDA\u8DEF",Voltmeter:"\u96FB\u5727\u8A08",Ammeter:"\u96FB\u6D41\u8A08","Opto Transistor":"\u30AA\u30D7\u30C8\u30C8\u30E9\u30F3\u30B8\u30B9\u30BF","Schematic Library Wizard":"Schematic Library \u30A6\u30A3\u30B6\u30FC\u30C9","Prefix:":"Prefix","Name:":"\u540D\u524D","Package:":"\u30D1\u30C3\u30B1\u30FC\u30B8","Need login":"\u30ED\u30B0\u30A4\u30F3\u304C\u5FC5\u8981","Bad password":"\u7121\u52B9\u306A\u30D1\u30B9\u30EF\u30FC\u30C9","We can't find your username or your email, please check it!":"\u3042\u306A\u305F\u306E\u30E6\u30FC\u30B6\u30CD\u30FC\u30E0\u3084E\u30E1\u30FC\u30EB\u304C\u307F\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u30C1\u30A7\u30C3\u30AF\u9858\u3044\u307E\u3059\u3002","Make sure your uploaded file size is less than 3MB!":"\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u30D5\u30A1\u30A4\u30EB\u306F3MB\u4EE5\u4E0B\u3067\u3059","Bad file type":"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7\u304C\u7121\u52B9","Empty file or bad file type, ensure your file is Eagle 6.0+":"\u30D5\u30A1\u30A4\u30EB\u304C\u306A\u3044\u304B\u7121\u52B9\u3067\u3059\u3002\u3042\u306A\u305F\u306E\u30D5\u30A1\u30A4\u30EB\u304C Eagle 6.0+\u3067\u3042\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044","This operation not supported on demo account":"\u3053\u306E\u64CD\u4F5C\u306F\u30C7\u30E2\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093","Common Buttons Setting":"\u30B3\u30E2\u30F3\u30DC\u30BF\u30F3\u306E\u8A2D\u5B9A","Show/Hide":"\u898B\u305B\u308B/\u96A0\u3059","Move Up":"\u4E0A\u306B\u52D5\u304B\u3059","Move Down":"\u4E0B\u306B\u52D5\u304B\u3059","Reset All":"\u5168\u3066\u3092\u30EA\u30BB\u30C3\u30C8",Zoom:"\u30BA\u30FC\u30E0","Find Libraries...":"\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC\u3092\u898B\u308B","Place Pin":"\u30D4\u30F3\u3092\u7F6E\u304F",dot:"\u30C9\u30C3\u30C8",line:"\u7DDA",solid:"\u30BD\u30EA\u30C3\u30C9",dashed:"\u30C0\u30C3\u30B7\u30E5",dotted:"\u30C9\u30C3\u30C8","Find libs":"\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC\u3092\u898B\u308B","My Projects":"My\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8","My Parts":"My\u30D1\u30FC\u30C4",Preview:"\u30D7\u30EC\u30D3\u30E5\u30FC",Close:"\u9589\u3058\u308B",Open:"\u958B\u304F",Reload:"\u30EA\u30ED\u30FC\u30C9","Mouse-X":"\u30DE\u30A6\u30B9-X","Mouse-Y":"\u30DE\u30A6\u30B9-Y",Yes:"\u306F\u3044",No:"\u3044\u3044\u3048",Cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB","Click to Share my work":"\u4F5C\u696D\u306E\u5171\u6709\u3092\u30AF\u30EA\u30C3\u30AF","Go to my page":"\u30DE\u30A4\u30DA\u30FC\u30B8\u306B\u884C\u304F","Bus entry":"\u30D0\u30B9\u30A8\u30F3\u30C8\u30EA\u30FC",Filter:"\u30D5\u30A3\u30EB\u30BF\u30FC",Check:"\u30C1\u30A7\u30C3\u30AF","Guest Project":"\u30B2\u30B9\u30C8\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8","Insert into":"\u633F\u5165","Copy the contents of this box into a text editor, then save the file. Paste the edited text back into this box and click Apply to update the display.":"\u3053\u306E\u30DC\u30C3\u30AF\u30B9\u306E\u5185\u5BB9\u3092\u30C6\u30AD\u30B9\u30C8\u30A8\u30C7\u30A3\u30BF\u306B\u30B3\u30D4\u30FC\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u305D\u308C\u304B\u3089\u30D5\u30A1\u30A4\u30EB\u3092\u4FDD\u5B58\u3057\u3001\u30DC\u30C3\u30AF\u30B9\u306E\u5185\u5BB9\u3092\u7DE8\u96C6\u3057\u3066\u3044\u308B\u30C6\u30AD\u30B9\u30C8\u306B\u30DA\u30FC\u30B9\u30C8\u3057\u3001\u8868\u793A\u3092\u66F4\u65B0\u3059\u308B\u305F\u3081\u306BApply[\u9069\u7528]\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u307E\u3059\u3002","Copy the contents of this box into a text editor, then save the file with a .svg extension. You can edit it in Inkscape or open it in your browser.":"\u3053\u306E\u30DC\u30C3\u30AF\u30B9\u306E\u5185\u5BB9\u3092\u30C6\u30AD\u30B9\u30C8\u30A8\u30C7\u30A3\u30BF\u306B\u30B3\u30D4\u30FC\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u305D\u308C\u304B\u3089.svg\u62E1\u5F35\u5B50\u3067\u30D5\u30A1\u30A4\u30EB\u3092\u4FDD\u5B58\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u305D\u308C\u3067Inkscape\u3067\u7DE8\u96C6\u3067\u304D\u3001\u30D6\u30E9\u30A6\u30B6\u30FC\u3067\u958B\u304F\u3053\u3068\u304C\u3067\u304D\u307E\u3059","SVG format":"EasyEDA\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8","SVG File":"SVG\u30D5\u30A1\u30A4\u30EB","Description should be no more than 250 letters":"\u8AAC\u660E\u306F250\u4EE5\u4E0B\u306E\u6587\u5B57\u6570\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093","The file save operation has timed out. Try again and check your Internet connection.":"\u30D5\u30A1\u30A4\u30EB\u4FDD\u5B58\u306E\u64CD\u4F5C\u306F\u30BF\u30A4\u30E0\u30A2\u30A6\u30C8\u306B\u306A\u308A\u307E\u3057\u305F\u3002\u7E70\u308A\u8FD4\u3059\u304B\u30A4\u30F3\u30BF\u30FC\u30CD\u30C3\u30C8\u63A5\u7D9A\u3092\u30C1\u30A7\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044","Export Netlist":"\u30CD\u30C3\u30C8\u30EA\u30B9\u30C8\u306E\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8","Coming soon":"\u3059\u3050\u3067\u3059","No tool":"\u30C4\u30FC\u30EB\u306A\u3057","Help us translate into your language":"\u3042\u306A\u305F\u306E\u8A00\u8A9E\u306B\u8A33\u3059\u52A9\u3051",Pad:"\u30D1\u30C3\u30C9","PCB Layers":"\u57FA\u677F\u306E\u30EC\u30A4\u30E4\u30FC","Order PCB":"\u57FA\u677F\u306E\u767A\u6CE8",Share:"\u914D\u5E03",Embed:"\u62E1\u5F35",BBCode:"BBCodde",PNG:"PNG]","Exporting as":"\u3068\u3057\u3066\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8","Exporting as image":"\u30A4\u30E1\u30FC\u30B8\u3068\u3057\u3066\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8","Gerber...":"\u30AC\u30FC\u30D0\u30FC","Create a new Project...":"\u65B0\u3057\u3044\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306E\u4F5C\u6210","Create a new Schematic":"\u65B0\u3057\u3044\u56DE\u8DEF\u56F3\u306E\u4F5C\u6210","Create a new Schematic Lib":"\u65B0\u3057\u3044\u56DE\u8DEF\u56F3\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC\u306E\u4F5C\u6210","Create a new Spice Symbol":"\u65B0\u3057\u3044SPICE\u30B7\u30F3\u30DC\u30EB\u306E\u4F5C\u6210","Create a new Spice Subckt":"\u65B0\u3057\u3044SPICE\u30B5\u30D6\u30B5\u30FC\u30AD\u30C3\u30C8\u306E\u4F5C\u6210","Create a new PCB":"\u65B0\u3057\u3044PCB\u306E\u4F5C\u6210","Create a new PCB Lib":"\u65B0\u3057\u3044PCB\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC\u306E\u4F5C\u6210","Export your file, then print it yourself.":"\u30D5\u30A1\u30A4\u30EB\u3092\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u3057\u3066\u5370\u5237\u3057\u3066\u304F\u3060\u3055\u3044","Trace width is too small":"\u30C8\u30EC\u30FC\u30B9\u306E\u5E45\u304C\u5C0F\u3055\u3059\u304E\u307E\u3059","Images Attribute":"\u30A4\u30E1\u30FC\u30B8\u306E\u5C5E\u6027","Connect Pad to Pad":"\u30D1\u30C3\u30C9\u3068\u30D1\u30C3\u30C9\u3092\u63A5\u7D9A",Dimension:"\u5BF8\u6CD5"};var Woi={};var Qoi={User:"U\u017Cytkownik","Join...":"Do\u0142\u0105cz...","Log in":"Zaloguj",Logout:"Wyloguj","Change password...":"Zmie\u0144 has\u0142o...","User Preference":"Preferencje u\u017Cytkownika",Crash:"awaria...","Invite friends...":"Zapro\u015B przyjaci\xF3\u0142...",Language:"J\u0119zyk","Language Setting":"Ustawienia j\u0119zyka",English:"Angielski (\u82F1\u8BED)","Polski (Polish)":"Polski (\u6CE2\u5170\u8BED)","Deutsch (German)":"Niemiecki (\u5FB7\u8BED)","Fran\xE7ais (French)":"Francuski (\u6CD5\u8BED)","\uD55C\uAD6D\uC5B4 (Korean)":"Korea\u0144ski \uD55C\uAD6D\uC5B4 (\u97E9\u8BED)","\u65E5\u672C\u8A9E (Japanese)":"Japo\u0144ski \u65E5\u672C\u8A9E","Document Recovery":"Odtworzenie po awarii","Your Preferences Information":"Informacja o twoich preferencjach",File:"Plik",New:"Nowy","Project...":"Projekt...",Schematic:"Schemat","Schematic Lib":"Biblioteka sachemat\xF3w","Spice Symbol":"Symbol Spice","Spice Subckt":"Spice","PCB Lib":"Biblioteka PCB","Schematic Module":"Modu\u0142 schematu","PCB Module":"Modu\u0142 PCB","EasyEDA File...":"Plik EasyEDA...","Save...":"Zapisz...","Save As...":"Zapisz jako...","Save As Module...":"Zapisz jako Modu\u0142...",Print:"Drukuj","Export Document":"Eksport Dokumentu",Edit:"Edycja",Undo:"Cofnij",Redo:"Pon\xF3w",Cut:"Wytnik",Copy:"Kopiuj",Paste:"Wklej",Select:"Wybierz",Delete:"Usu\u0144",Clear:"Wyczy\u015B\u0107",Move:"Przenie\u015B",Drag:"Przeci\u0105gnij","Bring to Front":"Przesu\u0144 na wierzch","Send to Back":"Przesu\u0144 na sp\xF3d",Align:"Wyr\xF3wnywanie","Align Left":"Wyr\xF3wnaj do lewej","Align Right":"Wyr\xF3wnaj do prawej","Align Top":"Wyr\xF3wnaj do g\xF3ry","Align Bottom":"Wyr\xF3wnaj do spodu","Align Horizontal Centers":"Wy\u015Brodkuj w poziomie","Align Vertical Centers":"Wy\u015Brodkuj w pionie","Distribute Horizontally":"Rozmie\u015B\u0107 w poziomie","Distribute Vertically":"Rozmie\u015B\u0107 w pionie","Distribute Left Edges Equidistantly":"Rozmie\u015B\u0107 r\xF3wnomiernie lew\u0105 kraw\u0119d\u017A","Distribute Top Edges Equidistantly":"Rozmie\u015B\u0107 r\xF3wnomiernie g\xF3rn\u0105 kraw\u0119d\u017A","Align Grid":"Siatka wyr\xF3wnania",Rotate:"Obr\xF3\u0107","Rotate Left":"Obr\xF3\u0107 w lewo o 90&deg;","Rotate Right":"Obr\xF3\u0107 w prawoo 90&deg;","Flip Horizontal":"Odbij w poziomie","Flip Vertical":"Odbij w pionie","Rotate and Flip":"Obr\xF3\u0107 i odbij","Group/Ungroup":"Grupuj/Rozgrupuj",View:"Zobacz",Find:"Znajd\u017A","Zoom In":"Powieksz","Zoom Out":"Pomniejsz","Fit in Window":"Dopasuj do okna",Refresh:"Od\u015Bwierz",Snap:"Przyci\u0105gaj","Drawing Tools":"Narz\u0119dzia rysowania","Wiring Tools":"Narz\u0119dzia Po\u0142\u0105cze\u0144","Power Objects":"Obiekty Mocy","PCB Tools":"Narz\u0119dzia PCB","PCBLib Tools":"Narz\u0119dzia bibliotek PCB","Layers Tool":"Narz\u0119dzia warstw","Layer Setting":"Ustawienia warstw","Net Visible":"Widzialno\u015B\u0107 sieci","Digital Objects":"Obiekty Cyfrowe",Tools:"Narz\u0119dzia","Arc Center":"\u0141uk z \u015Brodkiem",Place:"Umie\u015B\u0107",Arc:"\u0141uk","Elliptical Arc":"\u0141uk eliptyczny",Ellipse:"Elipsa",Circle:"Okr\u0105g",Pie:"PIe",Line:"Linia",Polyline:"Polilinia",Rectangle:"Prostok\u0105t",Rect:"Prostok\u0105t","Round Rectangle":"Zaokr\u0105glony prostok\u0105t",Polygon:"Wielobok",Bezier:"Krzywa Beziera",Path:"\u015Acie\u017Cka",Graphic:"Grafika",Bus:"Szyna","Bus Entry":"Wej\u015Bcie szyny",Junction:"W\u0119ze\u0142","Net Port":"Port sieci","Voltage Probe":"Sonda napi\u0119cia","Power Port":"Port Zasilania",Wire:"Przew\xF3d",Annotation:"Adnotacja",Track:"Tor",Image:"Obraz","Arrow Head":"KO\u0144c\xF3wka Strza\u0142ki",Arrow:"Strza\u0142ka","No Connect Flag":"Flaga braku po\u0142\u0105czenia","Lock Selected Objects":"Zablokuj Wybrane po\u0142\u0105czenia",Miscellaneous:"R\xF3\u017Cne","Find Component":"Znajd\u017A komponent",Component:"Komponent",Convert:"Konwersja","Convert to PCB":"Konwertuj do PCB","Update PCB":"Aktualizuj PCB","Shortcut Keys Setting":"Ustawienia skr\xF3t\xF3w klawiszowych","Edit Symbol...":"Edycja sumbolu...","Highlight Net...":"Pod\u017Awietlenie Sieci...",Simulate:"Symulacja",Simulation:"Symulacja","Simulation Result":"Wynik symulacji","Simulation Results...":"Wyniki symulacji...","Run the Document":"Uruchom Dokument","Run the Project...":"Uruchom Projekt...","Netlist for Document":"Lista sieci Dokumentu","Netlist for Project":"Lista Sieci Projektu","Protel/Altium for PCB...":"Protel/Altium dla PCB...","Pads for PCB...":"Pads dla PCB...","FreePCB for PCB...":"FreePCB dla PCB...","Eagle for PCB...":"Eagle dla PCB...","Kicad for PCB...":"Kicad dla PCB...","OrCAD for PCB...":"OrCAD dla PCB...","BOM report...":"Raport BOM...","BOM for Document...":"Raport BOM dla Dokumentu...","BOM for Project...":"Raport BOM dla Projektu...","Pin Map...":"Mapa pin\xF3w...","Edit Subckt...":"EdycjaSubckt...","Layer Options...":"Opcje warstw...","Design Rule Setting...":"Ustawienia Zasad Designu...","Export Pick and Place File":"Eksportuj plik wsp\xF3\u0142rz\u0119dnych","Measure Distance":"Pomiar odleg\u0142o\u015Bci","New Origin":"Nowe Pochodzenie","Generates Pick and Place File":"Generuje plik Pick and Place","Unroute All":"Cofnij ca\u0142y Routing","Add SubPart":"Dodaj Podcz\u0119\u015Bci","Add Member":"Dodaj Cz\u0142onka","Annotate...":"Adnotacja...",Config:"Konfiguracja",Help:"Pomoc",About:"O","Shortcut Keys":"Skr\xF3ty klawiszowe",Tutorials:"Tutoriale","Basic Tutorials":"Podstawowe Tutoriale","Video Tutorials":"Video Tutoriale","Essential Check":"Niezb\u0119dne zgody","Simulation Tutorials":"Tutoriale Symulacji","Updated Instructions":"Zaktualizowane instrukcje","EasyEDA API":"API EasyEDA","Open File Format":"Format Otwieranych plik\xF3w","About Upgrade":"O Aktualizacjach","Github Repository":"Repozytorium Github","User Forum":"Forum u\u017Cytkownik\xF3w","Feature Request":"\u017B\u0105danie funkcji","Feature Requests":"\u017B\u0105dania funkcji","Bug Report":"Raport b\u0142\u0119du","Bug Reports":"Raporty b\u0142\u0119d\xF3w","Tips & Skill":"Wskaz\xF3wki i umiej\u0119tno\u015Bci","Ask for Help":"Popro\u015B o pomoc","Schematic Capture":"Przechwytywanie schematu","Spice Simulation":"Symulacja Spice","PCB Layout":"Uk\u0142ad PCB","General Discussion":"Dyskusja og\xF3lna","More Information":"Wi\u0119cej informacji","Privacy Policy":"Polityka prywatno\u015Bci","Terms of Service":"Warunki u\u017Cytkowania","Plans and Pricing":"Abonamenty i ceny","Contribute to EasyEDA":"Wspieraj EasyEDA",Acknowledgments:"Podzi\u0119kowanie","Help Translate":"Pomc w t\u0142umaczeniu","About Us":"O nas","Contact Us":"Kontakt z nami","Change History":"Historia zmian","Join Us":"Do\u0142\u0105cz do nas","PCB Fabrication":"Produkcja PCB","Order Capabilities":"Mo\u017Cliwo\u015B\u0107 zam\xF3wienia","Order Price":"Ceny zam\xF3wienia","Order Essential Check":"Essential Check zam\xF3wienia","Order FAQ":"FAQ zam\xF3wie\u0144","Order Process":"Przetwarzanie zam\xF3wie\u0144",Support:"Wsparcie","Historical Records...":"Zapisy Historii...",Extensions:"Rozszerzenia","Order PCB...":"Zam\xF3w PCB...","Import Changes":"Import zmian","Project Main Page":"Strona g\u0142\xF3wna projektu","Delete Selected":"Wybrano usuni\u0119cie","Generate Gerber and Drill Files":"Generuj plik Wierce\u0144 oraz Gerber","Build PCB":"Utw\xF3rz PCB","System Libraries":"Biblioteki Systemowe","Simulate...":"Symulacja...","Help Topics":"Tematy Pomocy","SVG Source...":"\u0179r\xF3d\u0142o SVG...","Group these items as a SCHLIB/Symbol":"Grupuj elementy jako SCHLIB/Symbol","Group These Items As a Package":"Grupuj te elementy jako Obudow\u0119","Document Setting":"Ustawienia dokumentu","Sheet Attributes":"Atrybuty arkusza","Set Board Outline":"Ustaw obrys p\u0142yty","Global Delete":"Usuwanie Globalne","Paper Size":"Rozmiar Papieru",Register:"Rejestracja","User Center":"Centrum u\u017Cytkownika",Properties:"W\u0142a\u015Bciwo\u015Bci",Attributes:"Atrybuty",Apply:"Zastosuj","Save as default":"Zapisz jako domy\u015Blne","Canvas Attributes":"Atrybuty obszaru roboczego",Width:"Szeroko\u015B\u0107",Height:"Wysoko\u015B\u0107",Background:"T\u0142o","Visible Grid":"Wy\u015Bwietlanie siatki","Grid Visible":"Wy\u015Bwietlanie siatki","Grid Color":"Kolor siatki","Grid Size":"Rozmiar siatki","Grid Style":"Styl siatki","Selected Objects":"Zaznaczone obiekty","Frame Size":"Rozmiar ramki","Snap size when pressing the Alt key":"Rozmiar przyci\u0105gania po wci\u015Bni\u0119ciu klawisza Alt","Prefix Start":"Pocz\u0105tek prefiksu","Text Attributes":"Atrybuty tekstu",Text:"Tekst",Color:"Kolor","Font Family":"Rodzina czcionki","Font Size":"Rozmiar czcionki","Font Weight":"Grubo\u015B\u0107 czcionki","Font Style":"Stylk czcionki","Text Anchor":"Kotwica tekstu",Baseline:"Linia bazowa",start:"pocz\u0105tek",middle:"\u015Brodek",end:"koniec",inherit:"dziedziczenie",comment:"komentarz",spice:"Spice",normal:"Normalny",italic:"Kursywa",Default:"Domy\u015Blny",Add:"Dodaj",bold:"Pogrubiony",bolder:"Grubszy",lighter:"L\u017Cejszy","Failed to parse the font file: {name}":"B\u0142\u0105t przetwarzania pliku fontu: {name}","Please select a font file of ttf or woff format.":"Prosz\u0119 wybra\u0107 plik fontu ttf lub woff.","Add font success: {name}":"Dodano plik fontu: {name}","Failed to add font: {name}":"B\u0142\u0105d dodania pliku fontu: {name}","Failed to parse cached font: {name}":"B\u0142\u0105d przetwarzania fontu w buforze: {name}","Load cached fonts fail!":"B\u0142\u0105d \u0142adowania fon\xF3w z bufora!","Pin Attributes":"Atrybut Pinu",Orientation:"Orientacja","0 degrees":"0\xB0","45 degrees":"45\xB0","90 degrees":"90\xB0","180 degrees":"180\xB0","270 degrees":"270\xB0","Free Angle":"Wolny k\u0105t","Start X":"Pocz\u0105tek X","Start Y":"Pocz\u0105tek Y",Length:"D\u0142ugo\u015B\u0107",Name:"nazwa",Number:"Numer","Name Display":"Wy\u015Bwietlana nazwa",Show:"Poka\u017C",Electric:"Elektrycznie","Junction Attributes":"Atrybuty w\u0119z\u0142\u0105","X Location":"Lokalizacja X","Y Location":"Lokalizacja Y",Size:"Rozmiar","Net Label":"Etykieta sieci","Part Attributes":"Atrybuty cz\u0119\u015Bci",Prefix:"Prefiks","Image Attributes":"Atrybuty Obrazka","Image URL":"URL Obrazka","Input an image URL":"Wprowad\u017A URL Obrazka","Invalid image URL":"Nieprawid\u0142owy URL Obrazka","Failed to load the image":"B\u0142\u0105d \u0142adowania obrazka","From Web URL":"Z adresu URL","From Local Computer":"Z komputera","Please select a png/gif/jpg file.":"Wybierz plik png/gif/jpg","Please select an image file.":"Prosz\u0119 wybra\u0107 plik obrazka","Select an image file":"Wybierz plik obrazka","Insert Image to PCB":"Umie\u015B\u0107 obrazek na PCB",Tolerance:"tolerancja",capacitance:"pojemno\u015B\u0107",frequency:"cz\u0119stotliwo\u015B\u0107","Rated Voltage":"Napi\u0119cie znamionowe","Rated Current":"Pr\u0105d znamionowy",resistance:"rezystancja",inductance:"induktancja","Operating Temperature":"Temperatura pracy","Shape Invert":"Inwersja kszta\u0142tu","Image Size":"Rozmiar obrazka","Color Tolerance":"Tolerancja koloru","Simplify Level":"Poziom uproszczenia",Units:"Jednostki","Snap Size":"Rozmiar przyci\u0105gania",Other:"Inny","Routing Width":"Szeroko\u015B\u0107 routingu","Routing Angle":"k\u0105t routingu",Grid:"Siatka","Copper Zone":"Strefa miedzi",Visible:"Wy\u015Bwietlane",Invisible:"Nie wy\u015Bwietlane",inch:"cal",pixel:"piksel","Track Properties":"W\u0142a\u015Bciwo\u015Bci \u015Bcie\u017Cki",Layer:"Warstwy",Net:"Sie\u0107","End X":"Koniec X","End Y":"Koniec Y","Pad Properties":"W\u0142a\u015Bciwo\u015Bci pola lutowniczego",Shape:"Kszta\u0142t","Hole(D)":"Otw\xF3r","Center X":"\u015Arodek X","Center Y":"\u015Arodek Y",Round:"Okr\u0105g",Oval:"Owal","Hole Shape":"Kszta\u0142t Otworu","Hole(Length)":"Otw\xF3r (d\u0142ugo\u015B\u0107)",Plated:"Powlekany",None:"Nie","Via Properties":"W\u0142a\u015Bciwo\u015Bci przelotki",Diameter:"\u015Arednica","Hole Properties":"W\u0142a\u015Bciwo\u015Bci otworu","Text Properties":"W\u0142a\u015Bciwo\u015Bci tekstu","Line Width":"Szeroko\u015B\u0107 linii",Rotation:"Obr\xF3t","Dimension Attributes":"W\u0142a\u015Bciwo\u015Bci wymar\xF3w","Footprint Attributes":"W\u0142a\u015Bciwo\u015Bci Footprintu","Prefix Display":"Wy\u015Bwietlany Prefix","Pin Name":"Nazwa Pinu","Pin Number":"Numer Pinu","Spice Pin Number":"Numer Pinu Spice","Arc Properties":"W\u0142a\u015Bciwo\u015Bci \u0142uku","Rect Properties":"W\u0142a\u015Bciwo\u015Bci prostok\u0105tu","Round radius":"Promie\u0144 zaokr\u0105glenia","Circle Properties":"W\u0142a\u015Bciwo\u015Bci okr\u0119gu",Radius:"promie\u0144","CopperArea Properties":"W\u0142a\u015Bciwo\u015Bci powierzchni miedzi",Clearance:"Odst\u0119p","Pad Connection":"Po\u0142\u0105czenie z polem lutowniczym",Direct:"Bezpo\u015Brednio","Keep Island":"Pozostaw jako wysp\u0119","Fill Style":"Styl wype\u0142nienia","CopperArea conflict: copper area outlines in same layer with different net names must not overlap":"Konflikt obszaru miedzi: kraw\u0119dzie obszaru miedzi na tej samej warstwie z r\xF3\u017Cnymi nazwami sieci nie mog\u0105 na siebie zachodzi\u0107.","Please create board outline first.":"W pierwszej kolejno\u015Bci prosz\u0119 utworzy\u0107 obrys p\u0142yty","Board outlines are not closed.":"Obrys p\u0142yty nie jest zamkni\u0119ty","Rebuild CopperArea":"Przbuduj Obszar Miedzi",Cutout:"Odci\u0119cie","@@copperArea":{None:"Nie"},"Custom Attributes":"Atrybuty dodatkowe","Add new parameter":"dodaj parametr","Add New Supplier":"Dodaj Nowego Dostawc\u0119",Mounted:"Zamontowany",Unknown:"Nieznany","Create an account":"Utw\xF3rz konto",Username:"Nazwa u\u017Cytkownika",Password:"Has\u0142o","Confirm Password":"Potwierd\u017A Has\u0142o","Hi {username}":"Witaj {username}","Lost Password...":"Zgubi\u0142em has\u0142o...","Find the password using your email":"Odnajd\u017A swoje has\u0142o za pomoc\u0105 email","Username or Email":"Nazwa u\u017Cytkownika oraz Has\u0142o","Remember Me":"Zapami\u0119taj mnie","Third party":"Inny spos\xF3b logowania","Login and Register":"Zaloguj i zarejestruj","Reset a password using your email":"Zresetuj has\u0142o za pomoc\u0105 emiail","Your registered email":"Tw\xF3j mail rejestracyjny","Re-send an activation code to your email":"Wy\u015Blij ponownie kod aktywacyjny na Tw\xF3j email","Invite friends to register":"Zapro\u015B przyjaci\xF3\u0142 do rejestracji","Your friend's email":"Email Twoich Przyjaci\xF3\u0142","Add a new parameter":"Dodaj nowy parametr",Key:"Klucz","In BOM":"W BOM","Invalid key":"Nieprawid\u0142owy klucz","This field is required.":"To pole jest wymagane","Change your password":"Zmie\u0144 swoje has\u0142o","Old password":"Stare has\u0142o","New Password":"Nowe has\u0142o","Create a new project":"Utw\xF3rz nowy projekt","Save as a schematic":"Zapisz jako schemat","Save as a schematic Lib":"Zabisz jako bibliotek\u0119 schematu","Save as a spice Symbol":"Zapisz jako symbol Spice","Save as a spice subckt":"Zapisz jako subckt","YOU MUST CREATE A SPICE SYMBOL WITH EXACTLY THE SAME NAME AS THIS SUBCKT":"MUSISZ UTWORZY\u0106 SYMBOL SPICE Z DOK\u0141ADNIE TAK\u0104 SAM\u0104 NAZW\u0104 JA KEGO SUBCKT","Save as a PCB file":"Zapisz jako plik PCB","Save as a PCB Lib":"Zapisz jako biblioteka PCB","Save as a Schematic Module":"Zapisz jako Modu\u0142 Schematu","Save as a PCB Module":"Zapisz jako Modu\u0142 PCB",Title:"Tytu\u0142",Share:"Udost\u0119pnij",Visibility:"Widoczno\u015B\u0107","Allow Comments":"Umo\u017Cliw komentowanie","Private (Only you can see and modify this project)":"Prywatny (Tylko ty mo\u017Cesz zobaczy\u0107 i edytowa\u0107 projekt)","Create new project success!":"Nowy projekt utworzony!",Categories:"Kategorie",Project:"Projekt","Short descript":"Kr\xF3tki Opis",Content:"Zawarto\u015B\u0107","Modify this project info.":"Modyfikuj informacje o tym projekcie.","Modify this file info.":"Modyfikuj informacje o tym pliku.",Notice:"Notatka",Supplier:"Dostawca",Or:"Lub","Supplier Part Number":"Numer cz\u0119\u015Bci dostawcy","Clone your file":"Klonuj plik","Attach a Subckt to this spice symbol":"Dodaj Subckt do symboli spice","Subckt string":"Ci\u0105g znak\xF3w Subckt",Components:"Komponenty",Nets:"Sieci","DRC Errors":"B\u0142\u0119dy DRC",Unroute:"Odroutuj","Show your simulation report":"Poka\u017C raport Twojej symulacji","Download netlist":"Pobierz list\u0119 sieci",Run:"Uruchom","Import file from your computer":"Importuj plik z komputera","Maximum file size: 30 MB":"Maksymalny rozmiar pliku: 30MB","Chose file":"Wybierz plik","File Operation":"Opreracje na pliku","Import File":"Importuj plik","Extract Libs":"Wyci\u0105gnij biblioteki","File type":"Typ pliku","The file size is too large.":"Plik jest za du\u017Cy","Please selected the file type.":"Prosz\u0119 wybra\u0107 typ pliku","No component was found!":"Nie znaleziono komponentu!","Import successfully":"Zaimportowano","Import failed":"B\u0142\u0105d importu","Select None":"Nic nie zaznaczono","Modify symbol information":"Modyfikacja informacji o symbolu","PCB Prefix":"Prefix PCB","Spice Prefix":"Prefix Spice","Hidden Pin":"Ukryty pin","Pin Map":"Mapa Pin\xF3w",Assign:"Przydzia\u0142","Supplier.bom":"Dostawca","LCSC.bom":"LCSC","Price.bom":"Cena","Quantity.bom":"Ilo\u015B\u0107","Package.bom":"Obudowa","Components.bom":"Komponenty","Manufacturer Part.bom":"Cz\u0119\u015B\u0107 Producenta","Manufacturer.bom":"Producent","One-click Purchasing at LCSC":"Zakup jednym klikni\u0119ciem w LCSC","Export BOM":"Eksport BOM","ID.bom":"ID","Name.bom":"Nazwa","@@bom":{Name:"Nazwa","LCSC Assembly":"Monta\u017C LCSC",Value:"Warto\u015B\u0107",Supplier:"Dostawca",Price:"Cena",Quantity:"Ilo\u015B\u0107",Package:"Obudowa",Components:"Komponenty","Manufacturer Part":"Cz\u0119\u015B\u0107 producenta",Manufacturer:"producent"},"Run your simulation":"Uruchom symulacj\u0119","Maximum Timestep":"Maksymalny krok czasu","Stop Time":"Czas zatrzymania","Start Time":"Czas rozpocz\u0119cia","AC Analysis":"Analiza AC","Type of Sweep":"Typ przemiatania","Number of points":"Liczba punkt\xF3w","Start Frequency":"Cz\u0119stotliwo\u015B\u0107 pocz\u0105tkowa","Stop Frequency":"Cz\u0119stotliwo\u015B\u0107 ko\u0144cowa","DC sweep":"Przemiatanie DC","Source to Sweep":"\u0179r\xF3d\u0142o przemiatania","Start Value":"Warto\u015B\u0107 pocz\u0105tkowa","Stop Value":"Warto\u015B\u0107 ko\u0144cowa",Increment:"Przyrost","DC Transfer":"Transfer DC",Output:"Wyj\u015Bcie",Source:"\u0179r\xF3d\u0142o","DC op pnt":"Punkt prazy DC","Compute the DC operating point treating capacitances as opens and inductances as shorts":"Oblicz punkt pracy DC traktuj\u0105c pojemno\u015B\u0107 jako przerw\u0119 a induktancj\u0119 jako zwarcie","Active File":"Aktywny plik","Active Project":"Aktywny Projekt","Embed it in your html files.":"Osad\u017A sw\xF3j plik HTML","Share it by e-mail, IM, blog, etc.":"Udost\u0119pnij przez e-mail, IM, bloga itp.","BBCode (used by many online discussion forums)":"BBCode (U\u017Cywany na wielu forach internetowych)","HTML code":"Kod HTML","QRCode (Share your schematic address by QRCode )":"QRCode (Udost\u0119pnij sw\xF3j schemat kodem QR)","Short Url":"Kr\xF3tki URL","Share a copy of this document":"Udost\u0119pnij kopi\u0119 tego dokumentu",Readonly:"Tylko do odczytu",Editable:"Edytowalny","Active file's owner project page":"Aktywne pliki sw\u0142a\u015Bciciela strony projektu","Active project editor page":"Strona edytora katywnego projektu","Active file image URL":"Aktywny url pliku obrazka","All Projects":"Wszystkie kategorie","Unsaved files":"Nie zapisane pliki","Please select a file backup!":"Prosz\u0119 wybra\u0107 plik kopii zapasowej!",Search:"Wyszukiwanie","Search Results":"Wyniki wyszukiwania","Search and press Enter":"Wyszukaj i wci\u015Bnij Enter","Search Components,Footprints,Modules":"Wyszukaj Komponent\xF3w, Footprint\xF3w, Modu\u0142\xF3w","{page} of {pagecount} pages":"{page} z {pagecount} stron","EasyEDA Components":"Komponenty EasyEDA","Common Modules":"Powszechne modu\u0142y","User Contributions":"Wk\u0142ad u\u017Cytkownika",More:"Wi\u0119cej","Add Favorite":"Dodaj Ulubione","Remove Favorite":"Usu\u0144 z ulubionych",Untagged:"Nieotagowane",Package:"obudowa","Title(PartNO)":"Nazwa\uFF08Numer cz\u0119\u015Bci\uFF09",Quantity:"Ilo\u015B\u0107","Manufacturer Part":"cz\u0119\u015B\u0107 producenta",Manufacturer:"Producent",voltage:"Napi\u0119cie","Search Libraries":"Wyszukaj bibliotek\u0119","LCSC Assembled":"Monta\u017C LCSC","User Contributed":"Wk\u0142ad u\u017Cytkownika","SCH Libs":"Biblioteki schemat\xF3w","PCB Libs":"Bibiloteki PCB",Follow:"\u015Aled\u017A",Types:"Typy",Classes:"Klasy",power:"zasilanie","LCSC Part#":"Numer cz\u0119\u015Bci LCSC",Stock:"Stan","@@lib":{All:"Wszystko",Personal:"Osobiste",Created:"Utworzone",Favorite:"Ulubione","No Team,Please join a team or create a team first.":"Brak zepo\u0142u. Prosz\u0119 w pierszej kolejno\u015Bci do\u0142\u0105czy\u0107 do zespo\u0142u lub utworzy\u0107 zesp\xF3\u0142.","create a team":"tworzenie zespo\u0142u","No follow user,Please follow your friend first.":"Brak \u015Bledz\u0105cych u\u017Cytkownik\xF3w. Prosz\u0119 w pierwszej kolejno\u015Bci zaznaczy\u0107 \u015Bledzenie u\u017Cytkownika."},"Favorite Schematic Lib":"Ulubione biblioteki schemat\xF3w","favorite Package":"ulubione obudowy","Favorite Module":"Ulubione modu\u0142y",BUY:"Kup","In stock":"Na stanie","Out of Stock":"Brak na stanie",Distributor:"Dystrybutor","Export your works":"Eksportuj swoj\u0105 prac\u0119","Export Option":"Opcje eksportu","Active File->pdf(1:1)":"Aktywne Plik->PDF(1:1)","Active File->image":"Aktywne Plik->PNG","Active File->SVG":"Aktywne Plik->SVG",Zoom:"Przybli\u017Cenie","Image Type":"Typ Obrazu",Qualify:"Kwalifikacja","0 means real size":"0 oznacza rozmir rzeczywisty","Merged layer":"Po\u0142\u0105czone warstwy","Separated layer":"Osobne warstwy",Export:"Eksport",Mirror:"Lustrzany Obraz",TopLayer:"G\xF3rna warstwa",BottomLayer:"Dolna warstwa",TopSilkLayer:"G\xF3rna warstwa opisowa","Protractor Attributes":"W\u0142a\u015Bciwo\u015Bci k\u0105tomierza",BottomSilkLayer:"Dolna warstwa opisowa",TopAssembly:"G\xF3rny monta\u017C",BottomAssembly:"Dolny monta\u017C",Mechanical:"Mechanika",DocumentLayer:"Warstwa dokumentu",Inner1:"Wewn\u0119trzna 1",Inner2:"Wewn\u0119trzna 2",Inner3:"Wewn\u0119trzna 3",Inner4:"Wewn\u0119trzna 4","Black on White":"Czarny na bia\u0142ym","White on Black":"Bia\u0142y na czarnym","Canvas Setting":"Ustawienia obszaru roboczego","Assembly Drawings":"Rysowanie monta\u017Cu","Invalid file format":"Nieprawid\u0142owy format pliku","Failed to export file":"B\u0142\u0105d eksportu pliku","Download now":"Pobierz teraz","Wire Width":"Szeroko\u015B\u0107 po\u0142\u0105cze\u0144",Sheet:"Arkusz","Merged sheet":"Po\u0142\u0105cz Arkusze","Separated sheet":"Oddzielne arkusze","@@exportDocument":{Size:"Rozmiar"},"Confirm Importing changes information":"Potwierd\u017A Importowanie informacji o zmianach","You can't undo this operation, Please run a DRC after this operation.":"Tej operacji nie mo\u017Cna cofn\u0105\u0107. Po tej operacji prosz\u0119 uruchomi\u0107 DRC.","Apply Changes":"Zastosuj zmiany","This is a simple DRC.":"To jest proste DRC","It just can help you to find the obvious errors":"To po prostu pomo\u017Ce ci znale\u017A\u0107 oczywiste b\u0142\u0119dy",Configured:"Skonfigurowany","Layer Name":"Nazwa warstwy",TopPasterLayer:"G\xF3rna warstwa opisowa",BottomPasterLayer:"Dolna warsta opisowa",TopSolderLayer:"G\xF3rna warstwa lutownicza",BottomSolderLayer:"Dolna warstwa lutownicza",TopPasteMaskLayer:"G\xF3rna warstwa maski pasty lutowniczej",BottomPasteMaskLayer:"G\xF3rna warstwa maski pasty lutowniczej",TopSolderMaskLayer:"G\xF3rna warstwa maski lutowniczej",BottomSolderMaskLayer:"Dolna warstwa maski lutowniczej",BoardOutline:"Obrys p\u0142yty","Multi-Layer":"Wielowastwa",Document:"Dokument",Hole:"Otw\xF3r",DRCError:"B\u0142\u0119dy DRC",Setting:"Ustawienia","Drawing area":"Obszar rysowania","Export area":"Obszar Eksportu","Create Files":"Tworzenie plik\xF3w","Check your {0}Gerber files{1} carefully before sending them to the factory":"Sprawd\u017A dok\u0142adnie swoje pliki{1} {0}Gerber przed wys\u0142aniem ich do fabryki","Download free Gerber Viewer (gerbv)":"Pobierz darmow\u0105 przegl\u0105dark\u0119 plik\xF3w Gerber (gerbv)","Before generating the Gerber files":"Przed generacj\u0105 plik\xF3w Gerber","Please rebuild the copper area after modifying tracks and packages.":"Przebuduj obszary mierdzi po modyfikacji \u015Bcie\u017Cek i obud\xF3w","After generating the Gerber file, please use the {0}Gerber Viewer{1} to check whether it conforms to the design requirements.":"Po generacji plikow Gerber, aby sprawdzi\u0107, czy spe\u0142nia on wymagania projektowe prosz\u0119 u\u017Cy\u0107 {0}Gerber Viewer{1}","Order at JLCPCB":"Zam\xF3w w JLCPCB",Item:"Cz\u0119\u015B\u0107",Value:"warto\u015B\u0107",Unit:"jednostka","Track Width":"Szeroko\u015B\u0107 \u015Bcie\u017Cki","Track to Track":"\u015Acie\u017Cka do \u015Bcie\u017Cki","Track to Pad":"\u015Acie\u017Cka do pola lutowniczego","Pad to Pad":"Pole lutownicze do pola lutowniczego","Hole to Hole":"Otw\xF3r do otworu","Via Hole Size":"Rozmiar przelotki","Realtime DRC":"DRC czasu rzeczywistego","{0} is too small!":"Za ma\u0142e!: {0}","Update the symbol's package":"Aktualizuj obudow\u0119 symbolu","Invalid Package":"Nieprawid\u0142owa obudowa","The package's PAD number is different from the symbol's PIN number, e.g. the diode package's PAD numbers are [A,C] but the symbol's PIN numbers are [1,2]. You just need to change one to fit the other. It is case sensitive!":"Numery p\xF3l lutowniczych jest r\xF3\u017Cna od numer\xF3w PIN symbolu, np. pola lutownicze obudowy maj\u0105 numery [A,C] ale PIN'y symbolu maj\u0105 numery [1,2]. Musisz zmieni\u0107 w jednym by by\u0142y zgodne. Wielko\u015B\u0107 liter ma znaczenie","Update PCB(Synchronizing PCB from schematics)":"Aktualizuj PCB (Synchronizacja PCB ze schematem)","Hotkey Setting":"Ustawienie skr\xF3t\xF3w klawiszowych",Shortcut:"Skr\xF3t",Function:"Funkcja",ALL:"Wsz\u0119dzie",SCH:"Schematy","Rotate selected objects":"Obr\xF3t zaznaczonych element\xF3w","Scroll Or Move selected left":"Przewi\u0144 lub przenie\u015B zaznaczenie w lewo","Scroll or Move selected right":"Przewi\u0144 lub przenie\u015B zaznaczenie w prawo","Scroll or Move selected up":"Przewi\u0144 lub przenie\u015B zaznaczenie w g\xF3r\u0119","Scroll or Move selected down":"Przewi\u0144 lub przenie\u015B zaznaczenie w d\xF3\u0142","Cross Document Paste":"Wklejanie pomi\u0119dzy dokumentami","Explore & Find Components":"Przegl\u0105daj i znajd\u017A komponenty","Select All":"Zaznacz wszystko","Cancel current drawing":"Anuluj obecne rysowanie",Save:"Zapisz","Drag Tool":"Narz\u0119dzie przenoszenia","Draw Wire":"Rysuj po\u0142\u0105czenie","Draw Bus":"Rysuj szyn\u0119",NetLabel:"Nazwa sieci","NetFlag VCC":"Flaga sieci VCC","NetFlag GND":"Flaga sieci GND","NetFlag +5v":"Flaga sieci +5V","Draw Polyline":"Rysuj Polilini\u0119","Draw Polygon":"Rysuj obszar","Draw Bezier":"Rysuj krzyw\u0105 beizera","Draw Arc":"Rysuj \u0142uk","Draw Rect":"Rysuj prostok\u0105t","Draw Ellipse":"Rysuj Elips\u0119","Freehand Draw":"Rysowanie dowolne","Draw Text":"Rysuj tekst","Edit Selected Symbol":"Edytuj zaznaczony symbol","Draw Track":"Rysuj \u015Bcie\u017Ck\u0119","Draw Circle":"Rysuj okr\u0105g","Draw Dimension":"Rysuj Wymiar","Draw Connect":"Rysuj po\u0142\u0105czenie","Change To TopLayer":"Zmie\u0144 na G\xF3rn\u0105 warstw\u0119","Change To BottomLayer":"Zmie\u0144 na doln\u0105 warstw\u0119","Change To Inner1":"Zmie\u0144 na 1 warstw\u0119 wewn\u0119trzn\u0105","Change To Inner2":"Zmie\u0144 na 2 warstw\u0119 wewn\u0119trzn\u0105","Change To Inner3":"Zmie\u0144 na 3 warstw\u0119 wewn\u0119trzn\u0105","Change To Inner4":"Zmie\u0144 na 4 warstw\u0119 wewn\u0119trzn\u0105","Highlight Net":"Pod\u015Bwietlanie sieci","Place Pad":"Umie\u015B\u0107 pole lutownicze","Place Via":"Umie\u015B\u0107 przelotk\u0119",Measure:"Miarka","Change Routing Angle":"Zmie\u0144 k\u0105t routingu","Decrease Routing Width":"Zmniejsz szeroko\u015B\u0107 routingu","Increase Routing Width":"Zwi\u0119ksz szeroko\u015B\u0107 routingu","Decrease Snap Size":"Zmniejsz rozmiar przyci\u0105gania","Increase Snap Size":"Zwi\u0119ksz rozmiar przyci\u0105gania","Remove All Copper Area":"Usu\u0144 wszystkie obszary miedzi","Rebuild All Copper Area":"Przebuduj wszystkie obszary miedzi","Toggle PCB Net Display":"Prze\u0142\u0105cz wy\u015Bwietlanie sieci PCB","New Project":"Nowy projekt","New Schematic":"Nowy schemat","New PCB":"Nowe PCB","New Spice Subckt":"Nowy Spice Subckt",Modify:"Modyfikuj","Add sub part":"Dodaj poduk\u0142ad",Clone:"Klonuj","Contribute your components to EasyEDA":"Przeka\u017C komponenty do EasyEDA","Version History":"Historia wersji","Edit Project":"Edytuj projekt","View Project Page":"Wy\u015Bwietl stron\u0119 projektu","Download Project":"Pobierz projekt","Reject Sharing":"Odrzu\u0107 udost\u0119pnianie","Refresh List":"Od\u015Bwierz list\u0119","Create New Project":"Utw\xF3rz nowy projekt","Version Control":"Kontrla wersji","Verify the packages":"Zweryfikuj obudow\u0119","Edit Points":"Edycja punkt\xF3w","Reload parts":"Prze\u0142aduj cz\u0119\u015Bci",Layers:"Warstwy","Display Name":"Wy\u015Bwietlana nazwa","HotKey Sync":"Synchronizacja skr\xF3t\xF3w klawiszowych","Document Recovery Setting":"Kopia zapasowa ustawie\u0144","Maximum backup level":"Maksymalny poziom kopi bezpiecze\u0144stwa","Auto backup(minutes)":"Austomatyczny zapis (w minutach)","Save to Server":"Zapisz na serwer","Load from Server":"Odczytaj z serwera","Schematic Library Wizard":"Kreator Bibliotei Schemat\xF3w",Style:"Styl",Picture:"Pbrazek","Pin Names":"Nazwa Pin\xF3w",Contributor:"wsp\xF3\u0142tw\xF3rca",Annotate:"Adnotacja",Scope:"Zakres","Active Schematic only":"Tylko aktywny schemat","All Opened Schematics":"Tylko otwarty schemat",Method:"Metoda","Re-annotate all":"Ponownie wsz\u0119dzie adnotuj","Keep existing annotation":"Pozostaw istniej\u0105c\u0105 adnotacj\u0119",Direction:"Kierunek",Rows:"Wierszy",Cols:"Kolumn",Reset:"Resetuj","Order...":"Zam\xF3w...","Order your PCB from EasyEDA":"Zam\xF3w PCB z EasyEDA","PCB Qty.":"Ilo\u015B\u0107 PCB","PCB Thickness":"Grubo\u015B\u0107 PCB","PCB Dimension":"Wymiary PCB","Automatic calculation":"Automatyczna kalkulacja","PCB Color":"Kolor PCB",Green:"Zielony",White:"Bia\u0142y",Blue:"Niebieski",Red:"Czerwony",Yellow:"\u017B\xF3\u0142ty",Black:"Czarny",Purple:"Purpurowy",Copper:"Miedziany",Gold:"Z\u0142oty",Silver:"Srebrny","Surface Finish":"Wyko\u0144czenie powierzchni","Hasl(Lead Free)":"Hasl (Bezo\u0142owiowy)","Open Project":"Otwarty Projekt","Shipping Cost":"Koszt transportu","Cost Estimate":"Szacowany koszt","Actual cost will be confirmed by email.":"Dok\u0142adny koszt zostanie potwierdzony przez email.","Shipping information":"Informacje o transporcie",Address:"Adres","ZIP/Post code":"Kod pocztowy",City:"Miasto",Country:"Pa\u0144stwo","After filling out the form above, we will email you with (i) the results of the design rule check, (ii) a quote and (iii) a payment link using Paypal. Shipping is normally one week from receipt of payment.":"Po wype\u0142nieniu pormularza powy\u017Cej wy\u015Blemyemail z (i) wynikami sprawdzenia zasad, (ii) wycen\u0105, oraz (iii) linkiem p\u0142atno\u015Bci z wykorzystaniem Paypal. Wysy\u0142ka trwa normalnie jeden tydzie\u0144 od otrzymania p\u0142atno\u015Bci","Restore All Default Shortcuts":"Przywr\xF3\u0107 wszystkie domy\u015Ble skr\xF3ty klawiszowe","Save Changes":"Zapisz zmiany","To connect electrical elements, please use Wire (W hotkey) and not Line (L hotkey).":"\u017Beby wykona\u0107 po\u0142\u0105czenie elektryncze zastosuj Po\u0142\u0105czenie (skr\xF3t W) a nie Linia (skr\xF3t L)","You must close the file before delete it!":"musisz zamkn\u0105\u0107 plik, zanim go usuniesz!",Confirmation:"Potwierdzenie",Alert:"Alarm",Information:"Informacja",information:"informacja",Prompt:"Potwierdzenie",Error:"B\u0142\u0105d",error:"b\u0142\u0105d","error!":"b\u0142\u0105d!",Warning:"Ostrze\u017Cenie","Some changes have not been saved.":"Niekt\xF3re zmiany nie zosta\u0142y zapisane.","Your file hasn't been saved. Please save first!":"Tw\xF3j plik nie zosta\u0142 zapisany. W pierszej kolejno\u015Bci zapisz plik!","Error! Please try again later.":"B\u0142\u0105d! Spr\xF3buj ponownie.","Are you sure you want to reload this page?":"Czy jeste\u015B pewien \u017Ceby prze\u0142adowa\u0107 stron\u0119?","Are you sure you want to leave this page?":"Jeste\u015B pewien \u017Ce chcesz opu\u015Bci\u0107 stron\u0119?","Confirm Reload":"Potwierd\u017A prze\u0142adowanie","Confirm Close":"Potwierd\u017A zamkni\u0119cie","Leave this page":"Opu\u015B\u0107 stron\u0119","Stay on this page":"Pozosta\u0144 na stronie","Don't reload":"Nie prze\u0142adowuj","Load failure!":"\u0141adowanie nieudane!","Load projects failed":"\u0141adowanie projektu nieudane!","error info":"informacna o b\u0142\u0119dzie","error information":"informacja o b\u0142\u0119dzie","Please create a project before you do this!":"Przed wykonaniem tej operacji prosz\u0119 utworzy\u0107 projekt","Add Part success":"Cz\u0119\u015B\u0107 zosta\u0142a dodana","Click the new part and then edit it!":"Kliknij na now\u0105 cz\u0119\u015B\u0107 i edytuj j\u0105!","Delete my work":"Usu\u0144 moj\u0105 prac\u0119","Do you confirm this?":"Czy potwierdzasz?","Find and Jump to ...":"Znajd\u017A i Przeskocz do...","Exporting your works!":"Eksportuj swoj\u0105 prac\u0119!","Please create a project before you import a file!":"Prosz\u0119 utworzy\u0107 projekty przed importem pliku!","Import your LTspice file!":"Importuj tw\xF3j plik LTspice!","Can not place parts into this document.":"Nie mo\u017Cesz umieszcza\u0107 cz\u0119\u015Bci w tym dokumencie.","User Package":"Obudowa u\u017Cytkownika","System Package":"obudowa systemowa","File error":"B\u0142\u0105d pliku","Please save your file first!":"Wprsz\u0119 w pierwszej kolejno\u015Bci zapisa\u0107!","Email address is too short!":"Adres email jest zbyt kr\xF3tki!","You have not selected a file to upload.":"Nie wybra\u0142e\u015B pliku do zapisania.",Update:"Aktualizuj","PCB is the same as SCH!":"PCB jest takie samo jak SCH!","Only public files can be shared":"Udost\u0119pniane mog\u0105 by\u0107 tylko pliki publiczne","Conversion to PCB has failed!":"Konwersja do PCB nie powiod\u0142a si\u0119!","Your username is too short!":"Twoja nazwa u\u017Cytkownika jest zbyt kr\xF3tka!","Conflicting shortcut":"Konflikt skr\xF3tu klawiszowego","There is an empty PCB file. Please first run Convert Project To PCB... from the schematic":"To jest pusty plik PCB. Prosz\u0119 w pierwszej kolejno\u015Bci ze schematu uruchomi\u0107 Konwertuj Projekt do PCB...","Please enter the Maximum Timestep!":"Prosz\u0119 wprowadzi\u0107 maksymalny krok!","Please enter the Stop Time!":"Prosz\u0119 wprowadzi\u0107 czas zatrzymania","All of these fields are needed.":"Wszystkie pola s\u0105 wymagane.","Either your spice netlist is too big or the server is busy. Please try again later.":"Lista sieci Spice jest zbyt du\u017Ca, lub serwer zbyt zaj\u0119ty. Prosz\u0119 spr\xF3bowa\u0107 p\xF3\u017Aniej.","Your spice netlist is too big! Try breaking your circuit into smaller simulatable blocks.":"Twoja lista sieci spice jest za du\u017Ca! Spr\xF3buj podzieli\u0107 uk\u0142ad na mniejsze symulowalne bloki.","Too many users in simulation. Please try again later!":"Zbyt du\u017Co u\u017Cytkownik\xF3w do symulacji. Prsz\u0119 spr\xF3bowa\u0107 p\xF3\u017Aniej.","Your simulation results are too large! Try reducing the total simulation time (Stop Time - Start Time), increasing the maximum time step, removing some of your probes or breaking your circuit into smaller simulatable blocks.":"Twoje wyniki symuacji s\u0105 zbyt du\u017Ce! Spr\xF3buj zredukowa\u0107 ca\u0142kowity czas symulacji (Czas Zako\u0144czenia - Czas Rozpocz\u0119cia), zwi\u0119kszy\u0107 maksymalny krok czasu, usun\u0105c kilka sond lub podziel uk\u0142ad na mniejsze bloki do symulacji.","Demo accounts don't support simulation, please login first":"Konto demo nie wspiera symulacji, prosz\u0119 si\u0119 zalogowa\u0107.","Please login first":"W pierwszej kolejno\u015Bci prosz\u0119 sie zalogowa\u0107","The schematic is showing errors, please check the simulation report carefully!":"Schemat pokazuje b\u0142\u0119dy, sprawd\u017A dok\u0142adnie wyniki symulacji","Please type a new file name":"Prosz\u0119 wprowadzi\u0107 now\u0105 nazw\u0119 pliku","Schematics and PCBs can't be imported under My Libs folder, please choose a different folder":"Schematy i PCB nie mog\u0105 by\u0107 importowane w folderze My Libs, wybierz inny folder","Libraries to be imported under My Libs folder":"Biblioteki do zaimportowania w folderze My Libs","Please choose only the libraries needed":"Prosz\u0119 wybra\u0107 tylko potrzebne biblioteki","Maximum import is 200 libs at one time!":"Jednocze\u015Bnie mo\u017Cna zaimportowa\u0107 maksymalnie 200 bibliotek!","You libraries will be found under the My Libs folder":"Swoje biblioteki znajdziesz w katalogu My Libs","Add to Library":"Dodaj do Bibiloteki","No items have been checked!":"Nie zaznaczono \u017Cadnej pozycji","Nothing was found, please create it for yourself":"Nic nie znaleziono, utw\xF3rz samodzielnie","Search result":"Wynik wyszukiwania","At least 3 characters needed":"Potrzebne s\u0105 przynajmniej 3 znaki","Add to my Favorite Parts":"Dodaj do ulubionych cz\u0119\u015Bci","Added it OK. Please find it in your Favorite Parts":"Dodane. Znajdziesz to w Ulubionych Cz\u0119\u015Bciach","Libraries can not be exported as active project pdf.":"Bibliotek nie mo\u017Cna eksportowa\u0107 jako aktywnego projektu pdf.","Circuit does not have a GND":"Obw\xF3d nie posiada masy GND","Circuit does not have a probe":"Obw\xF3d nie posiada sondy","Make sure your pin numbers are even numbers":"Upewnij si\u0119, \u017Ce numery PIN s\u0105 liczbami parzystymi","Duplicate Components Prefix":"Duplikuj Prefix Komponent\xF3w","{0} exist":"{0} ju\u017C istnieje","Invalid Characters, library only allows [0-9a-zA-Z-_]":"Nieprawid\u0142owe znaki, biblioteki akceptuj\u0105 wy\u0142\u0105cznie [0-9a-zA-Z-_]","Annotation success":"Adnotacja dodana.","If you accept this annotation operation, please save your files. If not, close your files without saving.":"Je\u017Celi kaceptujesz operacje tej adnotacji, prosz\u0119 zapisz sw\xF3j plik.","Your file is unsaved.":"Tw\xF3j plik nie jest zapisany.","Logout Successfully!":"Zosta\u0142e\u015B wylogowany.","You have at least one unsaved file open. Please save it or close it.":"Masz przynajmniej jeden niezapisany plik. Zapisz go przed zamkni\u0119ciem.","Please open a PCB document":"Otw\xF3rz dokument PCB","Please save your file before '{0}'.":"Zapisz sw\xF3j plik przed '{0}'.","Connecting to server":"\u0141\u0105czenie z serwerem","Please login before asking for help":"Przed poproszeniem o pomoc prosz\u0119 si\u0119 zalogowa\u0107.","This file has been modified, please save it first!":"Ten plik zosta\u0142 zmodyfikowany, zapisz go w pierwszej kolejno\u015Bci!","Remove this param":"Usu\u0144 ten parametr","Click on an object to select then click on the canvas to place it":"\u017Beby wybra\u0107 klinkuj na obiekt, nastepnie \u017Ceby umie\u015Bci\u0107 kliknij na obszar roboczy","Undo/Redo temporary error":"Tymczasowy b\u0142\u0105d Cofnij/Pon\xF3w","We are sorry but EasyEDA is exhibiting an unpredictable error in the undo/redo process. This problem will be fixed soon but in the meanwhile it is safe to continue working on your design.":"Przykro nam, ale program EasyEDA wykazuje nieprzewidziany b\u0142\u0105d w procesie Cofania/Ponawiania. Ten problem zostanie wkr\xF3tce rozwi\u0105zany, a w mi\u0119dzyczasie mo\u017Cna bezpiecznie kontynuowa\u0107 prac\u0119 nad swoim projektem.","Can not fetch files from server, please check your network and try again":"Nie mo\u017Cna pobra\u0107 plik\xF3w z serwera. Sprawd\u017A po\u0142\u0105czenie sieciowe i spr\xF3buj ponownie","Can not find the schematic of this PCB":"Nie mog\u0119 znale\u017A\u0107 schematu do tego PCB","invalid points!":"nieprawid\u0142owe punkty!","This file does not support this operation.":"Ten plik nie wspiera tej operacji.","Net Name Conflict":"Konflikt nazwy sieci","Net name":"Nazwa sieci","This field can't be removed!":"To pole nie mo\u017Ce zosta\u0107 usuni\u0119te!","Annular ring of the pad/via is too small":"Pier\u015Bcie\u0144 pola lutowniczego/przelotki jest za ma\u0142y",Skip:"Pomi\u0144","\xAB Back":"\xAB Wstecz","Next \xBB":"Dalej \xBB",Done:"Gotowe","This is the user management menu.":"To jest menu zarz\u0105dzania u\u017Cytkownikami.","This is the toolbar.":"To jest pasek narz\u0119dzi.","This is the navigation list. Under here you can find projects, files, parts and libraries.":"To jest lista nawigacyjna. Tutaj mo\u017Cesz znale\u017A\u0107 projekty, pliki, cz\u0119\u015Bci i biblioteki.","Show or hide the toolbar to the top of the window here.":"Poka\u017C lub ukryj pasek narz\u0119dzi w g\xF3rnej cz\u0119\u015Bci okna.","Show, resize or hide the left sidebar to the left of the window here.":"Poka\u017C, zmie\u0144 rozmiar lub ukryj lewy pasek boczny po lewej stronie okna.","Show or hide the right sidebar to the right of the window here.":"Poka\u017C lub ukryj prawy pasek boczny po prawej stronie okna.","Passive Components":"Komponenty pasywne","Power Supply":"Zasilanie",Diodes:"Diody",Regulator:"Stabilizatory",Transistor:"Tranzystory",Transformers:"Transformatory",Gates:"Bramki","Vacuum Tubes":"Lampy Elektronowe",Switch:"Prze\u0142\u0105cznik",Relay:"Przeka\u017Anik","Capacitor(US)":"Kondensator(US)","Capacitor(EU)":"Kondensator(EU)","Capacitor(EU)2":"Kondensator(EU)2","Electrolytic Capacitor(US)":"Kondensator Elektrolityczny(US)","Electrolytic Capacitor(EU)":"Kondensator Elektrolityczny(EU)","Electrolytic Capacitor(US)2":"Kondensator Elektrolityczny(US)2","Electrolytic Capacitor(EU)2":"Kondensator Elektrolityczny(EU)2","Inductor(US)":"Cewka(US)","Inductor(EU)":"Cewka(EU)","Potentiometer(US)":"Potencjometr(US)","Potentiometer(EU)":"Potencjometr(EU)","Resistor(US)":"Rezystor(US)","Resistor(EU)":"Rezystor(EU)","Resistor 45 Deg(US)":"Rezystor 45&deg;(US)","Resistor 45 Deg(EU)":"Rezystor 45&deg;(EU)","Variable Capacitor(US)":"Kondensator regulowany(US)","Variable Capacitor(EU)":"Kondensator regulowany(ES)","Variable Resistor(US)":"Rezystor regulowany(US)","Variable Resistor(EU)":"Rezystor regulowany(EU)","Variable Inductor(US)":"Cewka regulowana(US)","Variable Inductor(EU)":"Cewka regulowana(EU)",Varistor:"Warystor","Inductor2(US)":"Induktor2(US)","Inductor2(EU)":"Induktor2(EU)",Battery:"Bateria","Voltage Source":"\u0179r\xF3d\u0142o napi\u0119cia","Current Source":"\u0179r\xF3d\u0142o pr\u0105du","CCCS(Current Controlled Current Source)":"CCCS(\u0179r\xF3d\u0142o pr\u0105du kontrolowane pr\u0105dem)","CCCS2(Current Controlled Current Source)":"CCCS2(\u0179r\xF3d\u0142o pr\u0105du kontrolowane pr\u0105dem)","VCCS(Voltage Controlled Current Source)":"VCCS(\u0179r\xF3d\u0142o pr\u0105du kontrolowane napi\u0119ciem)","VCVS(Voltage Controlled Voltage Source)":"VCVS(\u0179r\xF3d\u0142o napi\u0119cia kontrolowane napi\u0119ciem)","CCVS(Current Controlled Voltage Source)":"CCVS(\u0179r\xF3d\u0142o napi\u0119cia kontrolowane pr\u0105dem)","CCVS2(Current Controlled Voltage Source)":"CCVS2(\u0179r\xF3d\u0142o napi\u0119cia kontrolowane pr\u0105dem)","BV(Behavioral Voltage Sources)":"BV(Behawioralne \u017Ar\xF3d\u0142o napi\u0119cia)","BI(Behavioral Voltage Sources)":"BI(Behawioralne \u017Ar\xF3d\u0142o pr\u0105du)","Epoly(Non-linear Voltage Source)":"Epoly(Nieliniowe \u017Ar\xF3d\u0142o napi\u0119cia)","Gpoly(Non-linear Current Source)":"Gpoly(Nieliniowe \u017Ar\xF3d\u0142o pr\u0105du)",Diode:"Dioda","Schottky Diode":"Dioda Schotkiego","Varactor Diode":"Waraktor",Zener:"Dioda Zenera","Unidirectional TVS Diode":"Transil jednokierunkowy","Bidirectional TVS Diode":"Transil dwukierunkowy",Diac:"Diak",Bridge:"Mostek","BJT(NPN)":"Tranzystor bipolarny(NPN)","BJT(PNP)":"Tranzystor bipolarny(PNP)","MOSFET(Nch)":"MOSFET(z kana\u0142em typu N)","MOSFET(Nch) Depletion Four-pins":"MOSFET zubo\u017Cony 4 pin (z kana\u0142em typu N)","MOSFET(Nch) Enhancement":"MOSFET wzbogacony (z kana\u0142em typu N)","MOSFET(Nch) Enhancement Four-pins":"MOSFET wzbogacony 4 pin (z kana\u0142em typu N)","MOSFET(Pch)":"MOSFET(z kana\u0142em typu P)","MOSFET(Pch) Depletion Four-pins":"MOSFET zubo\u017Cony 4 pin (z kana\u0142em typu P)","MOSFET(Pch) Enhancement":"MOSFET wzbogacony 4 (z kana\u0142em typu P)","MOSFET(Pch) Enhancement Four-pins":"MOSFET wzbogacony 4 pin (z kana\u0142em typu P)","JFET(Nch)":"JFET (z kana\u0142em typu N)","JFET(Pch)":"JFET (z kana\u0142em typu P)","Darlington NPN":"Darlington (NPN)","Darlington PNP":"Darlington (PNP)","MESFET(Nch)":"MESFET (z kana\u0142em typu N)","MESFET(Pch)":"MESFET (z kana\u0142em typu P)",Triac:"Triak","Transform(US)":"Transformator(US)","Transform(EU)":"Transformator(EU)","Transfrom(NEUTRAL-CTR TAP)(US)":"Transformator(\u015Arodkowy odczep neutralny)(US)","Transfrom(NEUTRAL-CTR TAP)(EU)":"Transformator(\u015Arodkowy odczep neutralny)(EU)","Mutual Inductors":"Indukcyjno\u015B\u0107 wsp\xF3lna","Mutual Inductors2":"Indukcyjno\u015B\u0107 wsp\xF3lna2","Or Gate":"Bramka Or","Xor Gate":"Bramka Xor","And Gate":"Bramka And","Nor Gate":"Bramka Nor","Nand Gate":"Bramka Nand","Not Gate":"Bramka Not","Xnor Gate":"Bramka Xnor","Tube Diode":"Lampa Dioda","Tube Triode":"Lampa Trioda","Tube Tetrode":"Lampa Tetroda","Tube Pentode":"Lampa Pentoda","Voltage Controlled Switch":"Prze\u0142\u0105cznik sterowany napi\u0119ciowo","Current Controlled Switch":"Prze\u0142\u0105cznik sterowany pr\u0105dowo",Fuse:"Bezpiecznik","555(Style2)":"555(Styl2)",Speaker:"G\u0142o\u015Bnik",XTAL:"Kwarc","5pin Operational Amplifier":"Wzmacniacz operacyjny 5pin","3pin Operational amplifier":"Wzmacniacz operacyjny 3pin","Transmission Line":"Linia transmisyjna",Voltmeter:"Woltomierz",Ammeter:"Amperomierz",LAMP:"\u017Bar\xF3wka","Opto Transistor":"Opto Tranzystor","Keep these fields empty if you just want to build a symbol":"Je\u017Celi chcesz zbudowa\u0107 symbol, pozostaw to pole puste","Empty file or bad file type, ensure your file is Eagle 6.0+":"Pusty lub z\u0142y typ pliku, upewnij si\u0119 \u017Ce plik pochodzi z Eagle 6.0+","This operation not supported on demo account":"Ta operacja nie jest wspierana przez konto demo","Login Failed Too many attempts. If you forgot your password, please {0}reset your password{1} or send an email to support@easyeda.com":"B\u0142\u0105d logowania, zbyt du\u017Co pr\xF3b. Je\u017Celi zapomnia\u0142e\u015B swojego has\u0142a, {0}zresetu has\u0142o{1} lub skontaktuj sie z support@easyeda.com","Common Buttons Setting":"Wsp\xF3lne ustawienia przycisk\xF3w","Show/Hide":"Poka\u017C/Ukryj","Move Up":"Przesu\u0144 w g\xF3r\u0119","Move Down":"Przesu\u0144 w d\xF3\u0142","Reset All":"Zresetuj wszystko","Find Libraries...":"Znajd\u017A biblioteki...","Place Pin":"Umie\u015B\u0107 Pin",Permissions:"Uprawnienia",Operation:"Operacja","Access Control":"Kontrola dost\u0119pu","Project Access Control":"Kontrola dost\u0119pu projektu",Reject:"Odmowa","Add User":"Dodaj u\u017Cytkownika","Bad email address":"B\u0142\u0119dny adres email","Grid Background":"Siatka t\u0142a","Pane Background":"T\u0142o p\u0142yty","WaveForm Config":"Konfiguracja kszta\u0142tu fali","Export Waveform":"Eksport fali",dot:"punkt",line:"linia","A4 Portrait":"A4 Pionowo","A4 Landscape":"A4 Poziomo","A3 Portrait":"A3 Pionowo","A3 Landscape":"A3 Poziomo","A2 Portrait":"A2 Pionowo","A2 Landscape":"A2 Poziomo","A1 Portrait":"A1 Pionowo","A1 Landscape":"A1 Poziomo",Landscape:"Poziomo",Portrait:"Pionowo",solid:"pe\u0142ny",dashed:"kreskowana",dotted:"punktowana","Fill Region":"Obszar wype\u0142niony",Type:"Typ","Report error":"B\u0142\u0105d raportu","Cannot place parts into this document: Schematic Symbols can only be placed into a Schematic; PCB Footprints can only be placed into a PCB.":"Nie mo\u017Cna umieszcza\u0107 cz\u0119\u015Bci w tym dokumencie: Symbole schemat\xF3w mo\u017Cna umieszcza\u0107 tylko w schemacie; PCB Footprints mo\u017Cna umie\u015Bci\u0107 tylko w PCB.","Save it as a favorite part":"Zapisz w ulubionych cz\u0119\u015Bciach","Only logged-in users can save this component as a Favorite Part but guest (Anonymous) users can place this component into their design directly. Would you like to place this component now?":"Tylko zalogowani u\u017Cytkownicy mog\u0105 zapisa\u0107 ten komponent jako element Ulubiony, ale go\u015Bcie (anonimowi u\u017Cytkownicy) mog\u0105 umie\u015Bci\u0107 ten komponent bezpo\u015Brednio w swoim projekcie. Czy chcesz teraz umie\u015Bci\u0107 ten komponent?","Electronic circuit design - EasyEDA":"Projektowanie obwod\xF3w elektronicznych - EasyEDA","Find libs":"Znajd\u017A bibliotek\u0119","My Projects":"Moje projekty","My Parts":"Moje cz\u0119\u015Bci","My Modules":"Moje modu\u0142y","Assembly LCSC Components":"Z\u0142\xF3\u017C komponenty LCSC",Modules:"Modu\u0142y","SCH Modules":"Modu\u0142y SCH","PCB Modules":"Modu\u0142y PCB","LCSC (Official)":"LCSC (Oficialne)","Favorite Parts":"Ulubione cz\u0119\u015Bci","Shared With Me":"Podziel si\u0119 ze mn\u0105",Preview:"Podgl\u0105d","Preview Window":"Okno podgl\u0105du","System Default":"Domy\u015Blne ustawienie systemu","User Define":"Zdefiniowane przez u\u017Cytkownika",Theme:"Motyw","Theme Setting":"Ustawienia motywu",Close:"Zamknij",Open:"Otw\xF3rz",Collapse:"Zwi\u0144","Toggle toolbar":"Prze\u0142\u0105cz pasek narz\u0119dziowy","Toggle left bar":"Prze\u0142\u0105cz\u0105cz lewy pasek","Toggle right bar":"Prze\u0142\u0105cz prawy pasek",Reload:"Prze\u0142aduj","Mouse-X":"Mysz-X","Mouse-Y":"Mysz-Y","Mouse-DX":"Mysz-DX","Mouse-DY":"Mysz-DY","Bus entry x1":"Wej\u015Bcie szyny x1","Bus entry x2":"Wej\u015Bcie szyny x2","Bus entry y1":"Wej\u015Bcie szyny y1","Bus entry y2":"Wej\u015Bcie szynyy2",Yes:"Tak",No:"Nie",OK:"Ok",Cancel:"Anuluj","Ask a question":"Zadaj pytanie","Go to my page":"Id\u017A do mojej strony","Bus entry":"Wej\u015Bcie szyny",Filter:"Filtr",Check:"Sprawd\u017A","Guest Project":"Projekt go\u015Bcia","Insert into":"Wstaw do","Insert into {site}":"Wstaw do {site}","Upload {site}":"Prze\u015Blij {site}","Copy the contents of this box into a text editor, then save the file. Paste the edited text back into this box and click Apply to update the display.":"Skopiuj zawarto\u015B\u0107 tego pola do edytora tekstu, a nast\u0119pnie zapisz plik. Wklej edytowany tekst z powrotem do tego pola i kliknij Zastosuj, aby zaktualizowa\u0107 wy\u015Bwietlenie.","EasyEDA format":"Format easyEDA","Copy the contents of this box into a text editor, then save the file with a .svg extension. You can edit it in Inkscape or open it in your browser.":"Skopiuj zawarto\u015B\u0107 tego pola do edytora tekstu, a nast\u0119pnie zapisz plik z rozszerzeniem .svg. Mo\u017Cesz go edytowa\u0107 w Inkscape lub otworzy\u0107 w przegl\u0105darce.","SVG format":"Format SVG","SVG File":"Plik SVG","The file save operation has timed out. Try again and check your Internet connection.":"Zapis pliku przekroczy\u0142 dpuszczalny czas. Sprawd\u017A swoje po\u0142\u0105czenie sieciowe i spr\xF3buj ponownie.","Export Netlist":"Eksportuj list\u0119 sieci",Notifications:"Powiadomienia","Please select txt or json files.":"Prosz\u0119 wybra\u0107 plik txt lub json","Failed to read file [{file}]":"B\u0142\u0105d odczytu pliku [{file}]","[{file}] is not a valid json file":"Piik [{file}] nie jest prawid\u0142owym plikiem JSON","Invalid parameters!":"Nieprawid\u0142owy parametr!",Download:"Pobierz","Please use the web version to run this function.":"Do uruchomienia tej funkcji prosz\u0119 wybra\u0107 wersj\u0119 webow\u0105.","Please save this file to you project!":"Prosz\u0119 zapisa\u0107 ten plik w swoim projekcie.","Nothing changed":"brak zmian","Delete Node":"Usu\u0144 w\u0119ze\u0142","This layer is invisible.":"Ta warstwa nie jest wy\u015Bwietlana","Net Length":"D\u0142ugo\u015B\u0107 sieci","Coming soon":"Ju\u017C wkr\xF3tce","No tool":"Brak narz\u0119dzia",Pad:"Pole lutownicze","Via/Hole":"Przelotka/otw\xF3r","PCB Layers":"Warstwy PCB","Order PCB":"Zam\xF3w PCB",Free:"Za darmo",Small:"Ma\u0142e",Medium:"\u015Arednie",Big:"Du\u017Ce","Exporting as":"Eksportuj jako","Exporting as image":"Eksportuj jako obrazek","Exporting as {0}SVG{1} file.":"Eksportuj jako plik {0}SVG{1}","Exporting as pdf is recommended: pdf gives good quality printed output and a small file size.":"Eksport jako PDF jest zalecany: PDF daje dobrej jako\u015Bci wydruk oraz ma\u0142y rozmiar pliku.","Generate Fabrication File(Gerber)":"Generuj Gerber","PenWidth-Increase":"Zwi\u0119ksz PenWidth","PCB Details":"Szczeg\xF3\u0142y PCB","Gerber View":"Widok Gerber","Dimensions(Estimated)":"Wymiary (szacunkowe)","PCB Qty":"Ilo\u015B\u0107 PCB","Copper Weight":"Waga miedzi","HASL(with lead)":"HASL (z o\u0142owiem)","LeadFree HASL-RoHS":"Bezo\u0142owiowy HASL-RoHS","The PCB has {drcErrors} DRC errors.":"PCB posiada {drcErrors} b\u0142\u0119dy DRC","Do you want to check the DRC errors?":"Chcesz sprawdzi\u0107 b\u0142\u0119dy DRC?","Check DRC Errors":"Sprawd\u017A b\u0142\u0119dy DRC","Ignore and Continue":"Ignoruj i kontynuuj","@@generateGerber":{Layers:"Warstwy"},"Create a new Project...":"Utw\xF3rz nowy projekt...","Create a new Schematic":"Utw\xF3rz nowy schemat","Create a new Schematic Lib":"Utw\xF3rz now\u0105 bibliotek\u0119 schematu","Create a new Spice Symbol":"Utw\xF3rz nowy Sybol Spice","Create a new Spice Subckt":"Utw\xF3rz nowy Spice Subckt","Create a new PCB":"Utw\xF3rz nowe PCB","Create a new PCB Lib":"Utw\xF3rz now\u0105 bibliote\u0119 PCB","Create a new Schematic Module":"Utw\xF3rz nowy Modu\u0142 Schematu","Create a new PCB Module":"Utw\xF3rz nowy Modu\u0142 PCB","Export your file, then print it yourself.":"Eksportuj plik i wydrukuj samodzielnie","Trace width is too small":"Szeroko\u015B\u0107 \u015Bcie\u017Cki jest zbyt ma\u0142a","Images Attribute":"Wl\u0142a\u015Bciwo\u015Bci obrazka","Connect Pad to Pad":"Po\u0142\u0105cz Pad do Pad","Copper Area":"Obszar Miedzi",Dimension:"Wymiar","PCB Fabrication Prices & capabilities":"Produkcja PCB, Ceny i mo\u017Cliwo\u015Bci","Flip all texts on bottom layer":"Odwr\xF3\u0107 wszystkie napisy na dolnej warstwie","EasyEDA Libs":"Biblioteki EasyEDA","Create New Document":"Utw\xF3rz nowy dokument","Anonymous File":"Plik anonimowy","General Packages":"Obudowy og\xF3lne","Through Hole":"Monta\u017C przewlekany","Surface Mount":"Monta\u017C powierzchniowy","Markdown Syntax":"Sk\u0142adnia Markdown","Read only":"Tylko do odczytu","Read/Write":"Odczyt/Zapis","More Libraries...":"Wi\u0119cej bibliotek...","Decompress failed!":"Rozpakowywanie nie powiod\u0142o si\u0119!","Load failed!":"\u0141adowanie nie powiod\u0142o si\u0119!","Loading...":"\u0141adowanie...","No Result":"Brak wyniku","I know. Do not show this again.":"Wiem. Nie pokazuj tego ponownie.","Extensions Setting":"Ustawienia rozszerze\u0144",Remove:"Usu\u0144",Disable:"Wy\u0142\u0105cz",Enable:"Za\u0142\u0105cz","(Disabled)":"(Wy\u0142\u0105czony)","(Enabled)":"(W\u0142\u0105czony)","Load Extension":"Wczytaj rozszerzenie","Enable or disable will be applied after reload page":"W\u0142\u0105czenie lub wy\u0142\u0105czenie zostanie zastosowane po prze\u0142adowaniu strony","Your browser cannot run this function.":"Twoja przegl\u0105darka nie mo\u017Ce uruchomi\u0107 tej funkcji.","Extension Files":"Pliki rozszerze\u0144","Extension ID":"ID rozszerzenia","Select Files":"Wybierz pliki",Script:"Skrypt",Scripts:"Skrypty","Script Content":"Zawarto\u015B\u0107 skryptu","Load from js file":"Pobierz z pliku js","UTF-8 encoded js file":"plik js enkodowany UTF-8",Description:"opis","Failed to read file":"Wczytanie pliku nie powiod\u0142o si\u0119","System scripts cannot be modified":"Skrypty systemowe nie mog\u0105 by\u0107 modyfikowane","Create Subfolder":"Utw\xF3rz Podkatalog","Create Script":"Utw\xF3rz skrypt","Install Script":"Instaluj skrypt",Install:"Instaluj","Folder Name":"Nazwa folderu",Rename:"Zmie\u0144 nazw\u0119","Please select a script":"Prosz\u0119 wybra\u0107 skrypt","Failed to load script":"\u0141adowanie skryptu nie powiod\u0142o si\u0119","Run Script":"Uruchom skrypt","Load Script":"Wczytaj skrypt","Title is required":"Tytu\u0142 jest wymagany","Script content is required":"Zawarto\u015B\u0107 skryptu jest wymagana","System Scripts":"Skrypty systemowe","User Scripts":"Skrypty u\u017Cytkownika","You can right click on the tree nodes.":"Mo\u017Cesz klikn\u0105\u0107 prawym klawiszem myszy na drzewie w\u0119z\u0142\xF3w.","Top Side":"G\xF3rna strona","Bottom Side":"Dolna strona","With Silk Layer":"Z warstw\u0105 opisow\u0105","No Silk Layer":"Bez warstwy opisowej","Photo View":"Widok fotograficzny","Check Update":"Sprawd\u017A aktualizacje","EasyEDA Editor {ver} is released. Would you like to switch to the new version now?":"Edytor EasyEDA V{ver} zosta\u0142 opublikowany. Chcesz prze\u0142\u0105czy\u0107 si\u0119 na now\u0105 wersj\u0119?","Switch to New Version":"Prze\u0142\u0105cz na now\u0105 wersj\u0119","Next Time":"Nast\u0119pnym razem","Generating download link...":"Generuj link do pobrania...","Download project now":"Pobierz projekt","Import DXF":"Importuj DXF","DXF Unit":"Jednostka DXF","Convert circle to HOLE on BoardOutLine layer":"Na warstwie obrysu p\u0142ytki okr\u0105g traktuj jako otw\xF3r","No shapes found":"Nie znaleziono kszta\u0142tu","Fail to load the file":"Wczytanie pliku nie powiod\u0142o si\u0119.","Please select a DXF file.":"Prosz\u0119 wybra\u0107 plik DXF","This feature only works for PCB document.":"Ta funkcja dzia\u0142a wy\u0142\u0105cznie w dokumencie PCB","Select a DXF file":"Wybierz plik DXF","Data Sync":"Synchronizacja danych","Data Conflicts":"Konflikty danych","Project or Document":"Projekt lub dkument","Cloud-Side":"W chmurze","Local-Side":"Lokalnie",Decision:"Decyzja",Modified:"Modyfikacja",Deleted:"usuni\u0119to","As Cloud":"W chmura","As Local":"Lokalnie","Data sync completed":"Synchronizacja danych kompletna",Team:"Zesp\xF3\u0142",Teams:"Zespo\u0142y","Switching team":"Prze\u0142\u0105czanie zespo\u0142u","Switch team failed":"Prze\u0142czanie zepo\u0142u nie powiod\u0142o si\u0119","Load team info fail!":"Wczytanie informacji o zepole nie powiod\u0142o si\u0119!","My Teams":"Moje zespo\u0142y","Create Team":"Utw\xF3rz zesp\xF3\u0142","Footprint Manager":"Manager Footprint\xF3w","Schematic Components":"Komponenty schemat\xF3w","Edit Pin Map Information":"Edytuj informacj\u0119 o mapie pin\xF3w","Package Categories":"Kategorie obud\xF3w","Components List":"Lista komponent\xF3w",Personal:"Osobiste","Component PIN information":"Informacja o PINach komponent\xF3w","Footprint PAD information":"Informacja o Footprincie p\xF3l lutowniczych","Footprint Categories":"Kategorie Footprint\xF3w","Pad Number":"Liczba p\xF3l lutowniczych","Search PCB Libs":"Szukaj bilbioteki PCB","Filter by keyword":"Filtruj s\u0142owa kluczowe","System Libs":"Bibiloteki systemowe",Drawings:"Rysunki","Netlabel and netFlag":"Nazwy i flagi sieci",Texts:"Teksty",Wires:"Po\u0142\u0105czenia","Board outlines":"Obrysy p\u0142ytki",Footprints:"Footprinty",Tracks:"\u015Acie\u017Cki","width and height":"Szeroko\u015B\u0107 i wysoko\u015B\u0107","Create rectangular board":"Utw\xF3rz kwadratow\u0105 p\u0142ytk\u0119","Create circular board":"Utw\xF3rz okr\u0105g\u0142\u0105 p\u0142ytk\u0119","Create round rectangular board":"Utw\xF3rz kwadratow\u0105 p\u0142ytk\u0119 z zaokr\u0105gleniami","No valid object for cross probe selected.":"Nieprawid\u0142owy obiekt lub zaznaczona sonda krzy\u017Cowa","An Easier EDA Experience":"\u0141atwiejsze Do\u015Bwiadczenie EDA",Version:"Wersja",BuiltDate:"Data wydania","Auto Router Config":"Konfiguracja automatycznego routera","Sorry, your web browser does not support this feature. Please run a modern browser.":"Przepraszamy, Twoja przegl\u0105darka nie wspiera tej funkcji. Uruchom wsp\xF3\u0142czesn\u0105 przegl\u0105dark\u0119.","Please select a net":"prosz\u0119 wybra\u0107 sie\u0107","Router completed successfully.":"Router zako\u0144czy\u0142 powodzeniem","Router is time out.":"Koniec czasu routera","Server is busy, please try again later.":"Serwer jest zbyt obci\u0105\u017Cony, spr\xF3buj ponownie p\xF3\u017Aniej.","Track Width is invalid":"Szeroko\u015B\u0107 \u015Bcie\u017Cek jest nieprawid\u0142owa","General Clearance is invalid":"Og\xF3lne odst\u0119py s\u0105 nieprawid\u0142owe","SMD Clearance is invalid":"Odst\u0119py SMD s\u0105 nieprawid\u0142owe","Diameter is invalid":"\u015Arednica jest nieprawid\u0142owa","Hole(D) is invalid":"Odtw\xF3r jest nieprawid\u0142owy","Track width cannot be less than DRC setting value.":"Szeroko\u015B\u0107 \u015Bcie\u017Cki nie mo\u017Ce by\u0107 mniejsza ni\u017C wart\u015B\u0107 ustawie\u0144 DRC","General Clearance cannot be less than DRC setting value.":"Og\xF3lne odst\u0119py nie mog\u0105 by\u0107 mniejsze ni\u017C wart\u015B\u0107 ustawie\u0144 DRC","SMD Clearance cannot be less than DRC setting value.":"Odst\u0119ppy SMD nie mog\u0105 by\u0107 mniejsze ni\u017C wart\u015B\u0107 ustawie\u0144 DRC","Hole size cannot be less than DRC setting value.":"Rozmiar otworu nie mo\u017Ce by\u0107 mniejszy ni\u017C wart\u015B\u0107 ustawie\u0144 DRC","Diameter must be greater than hole size.":"\u015Arednica musi by\u0107 wi\u0119ksza ni\u017C rozmiar otworu","Clearance cannot be less than DRC setting value.":"Odst\u0119py nie mog\u0105 by\u0107 mniejsze ni\u017C wart\u015B\u0107 ustawie\u0144 DRC","Not a valid PCB, please check it again":"Niepoprawne PCB, prosz\u0119 sprawd\u017A ponownie","Previous connection must be closed":"Poprzednie po\u0142\u0105czenie musi by\u0107 zamkni\u0119te","Network error. Please try again.":"B\u0142\u0105d sieci, spr\xF3buj ponownie","Router error.":"B\u0142\u0105d Routera","Invalid PCB.":"Nieprawid\u0142owe PCB","General Clearance":"Og\xF3lne odst\u0119py","SMD Clearance":"Odst\u0119py SMD","Skip Routed Nets":"Pomi\u0144 routowanie sieci","Remove Existing Tracks":"Usu\u0144 wyst\u0119puj\u0105ce \u015Bcie\u015Bki","Real-time Display":"Wy\u015Bwietlanie w czasie rzeczywistym","Router Layers":"Warstwy routera",Via:"Przelotka",Special:"Specjalne","Special Nets":"Sieci Specjalne","Skip Nets":"Pomi\u0144 sieci","Router Server":"Serwer Routera",Local:"Lokalnie",Cloud:"W Chmurze",Available:"Dost\u0119pne",Unavailable:"Niedost\u0119pne",Checking:"Sprawdzanie","Checking local auto router server...":"Sprawdzanie lokalnego serwera automatycznego routera ...","Stop Router":"Zatrzymaj router","Auto Router is running...":"Router automatyczny pracuje...",Libraries:"Biblioteki",Shared:"Udost\u0119pnione","Supply Flag":"Flaga zasilania","US Style":"Styl US","EU/IEC Style":"Styl EU/IEC",Connector:"Z\u0142\u0105cze","Switch/Relay":"Prze\u0142\u0105cznik/Przeka\u017Anik","Font Height":"Wysoko\u015B\u0107 czcionki",Precision:"Dok\u0142adno\u015B\u0107",Protractor:"K\u0105tomierz","Changing line width won't work for silhouette fonts.":"Zmiana szeroko\u015Bci linii nie b\u0119dzie dzia\u0142a\u0107 dla czcionek obrazkowych.","Font is missing! You can confirm the dialog and use default font instead or cancel the dialog then upload your font and do it again.":"Brak czcionki! Mo\u017Cesz potwierdzi\u0107 to okno dialogowe i zamiast tego u\u017Cy\u0107 domy\u015Blnej czcionki, lub anulowa\u0107 okno dialogowe, a nast\u0119pnie za\u0142adowa\u0107 czcionk\u0119 i zrobi\u0107 to ponownie.",Owner:"W\u0142a\u015Bciciel",License:"Licencja","Part Pins":"Piny cz\u0119\u015Bci","Net Pins":"Piny Sieci","Histories record":"Historia rekordu","The assigned package has been modified, please re-assign.":"Przypisany pakiet zosta\u0142 zmodyfikowany, prosz\u0119 ponownie przypisa\u0107.","The path is for the project URL identify, it is unique (the identity of the project owned by the user cannot be the same)":"\u015Acie\u017Cka s\u0142u\u017Cy do identyfikacji adresu URL projektu, jest unikatowa (identyfiktor projektu posiadanego przez u\u017Cytkownika nie mo\u017Ce by\u0107 taki sam)","Open at current project?":"Otworzy\u0107 obecny dokument?","Please select a history to recover.":"Do odtworzenia prosz\u0119 wybra\u0107 histori\u0119",Recover:"Odtw\xF3rz","Save As a New Project":"Zapisz jako Nowy Projekt","Please make sure that the chose Altium Designer files are saved as ASCII files.":"Upewnij si\u0119 ze wybrane pliki Altium Designer s\u0105 zapisane jako ASCII","Please make sure that the chose Eagle files are saved in Eagle v6.0 and above.":"Upewnij si\u0119 ze wybrane pliki Eagle s\u0105 zapisane z Eagle 6.0 lub wy\u017Cszego","Please make sure that the Kicad files were compressed as the .zip file.":"Upewnij si\u0119 ze wybrane pliki KiCad s\u0105 skompresowane jako ZIP","Open Altium Designer file":"Otw\xF3rz plik Altium Designer","Open Eagle file":"Otw\xF3rz plik Eagle","Open Kicad file":"Otw\xF3rz plik Kicad","Select file(s)":"Wybierz plik(i)","Append to current project?":"Do\u0142\u0105czy\u0107 do obecnego projektu?",Append:"Do\u0142\u0105cz","Open as new project":"Otw\xF3rz jako nowy projekt","Tip: Press {0}SPACE{1} or {2}R{3} to rotate the placing object or selected object.":"Podpowied\u017A\uFF1A\u017Beby obr\xF3ci\u0107 obiekt wci\u015Bnij {0}Spacj\u0119{1} lub {2}R{3}.","Hotkeys Setting":"Ustawienia skt\xF3t\xF3w klawiszowych","I know. Don't show this again.":"Wiem. Nie pokazuj ponownie","This prefix was changed to non-subpart format.":"Ten prefiks zosta\u0142 zmieniony do formatu non-subpart","Save as New Project":"Zapisz jako nowy projekt","Save to Existing Project":"Zapisz do Wyst\u0119puj\u0105cego projektu","Sheet Setting":"Zapisz ustawienia","Sheet Size":"Rozmiar arkusza",Pre:"przed","Invalid Data":"Nieprawid\u0142owe dane",Others:"Inne","You are not authorized to share this project.":"Nie masz autoryzacji do udost\u0119pniania tego projektu","Modify file info":"Modyfikuj informacj\u0119 o pliku","Please input search keyword":"Prosz\u0119 wprowadzi\u0107 wyszukiwane s\u0142owo kluczowe","Sort By":"Sortuj wed\u0142ug","Date Created":"Data utworzenia","Date Modified":"Data modyfikacji",Ascending:"Rosn\u0105co",Descending:"Malej\u0105co",Stick:"Przyklej",Unstick:"Odklej","Expand All":"Rozwi\u0144 wszystko","Collapse All":"Zwi\u0144 wszystko","Your file hasn't been saved. Would you like to save it now?":"Tw\xF3j plik nie zosta\u0142 zapisany, czy chcesz go zapisa\u0107?","Don't Save":"Nie zapisuj","Library Owner:":"W\u0142a\u015Bciciel Biblioteki\uFF1A",State:"Status","Please select!":"Prosz\u0119 wybra\u0107!",Route:"Trasa","Import successfully:":"Import poprawny.","Import failed:":"Import nie powi\xF3d\u0142 si\u0119\uFF1A","Path only contain 'a-z\u3001A-Z\u3001- \u3001 _ \u30010-9'!":"\u015Acie\u017Cka zawiera wy\u0142\u0105cznie 'a-z\u3001A-Z\u3001- \u3001_ \u30010-9'!","Path must begin as 'a-z\u3001A-Z\u30010-9'!":"\u015Acie\u017Cka m usi si\u0119 zaczyna\u0107 od 'a-z\u3001A-Z\u30010-9'!","Add sub part success":"Dodano sub cz\u0119\u015B\u0107","Board outlines are not closed":"Obrys p\u0142yty nie jest zamkni\u0119ty","Failed to read {0}":"b\u0142\u0105d odczytu {0}","{0} is invalid":"{0} jest nieprawid\u0142owy","{0} not found":"nie znaleziono {0}","Failed to execute script:":"b\u0142\u0105d wykonywania skryptu\uFF1A","One or more js files not found":"jednego lub wi\u0119cej pli\xF3w js nie znaleziono","Only ONE {0} file is required":"Tylko JEDEN plik {0} jest wymagany","Extension ID is required":"Wymagane jest ID rozszerzenia","Extension ID is invalid":"ID rozszerzeni jest nieprawid\u0142owe","Extension ID is duplicated":"Duplikat ID rozszerzenia","No Result!":"Brak wynik\xF3w!","Load Error":"B\u0142\u0105d odczytu",loading:"wczytywanie","Failed to load spice data":"\u0142adowanie danych spice nie powiod\u0142o si\u0119",BusEntry:"Wej\u015Bcie Sieci",Foreground:"Pierwszy plan",PartGraphics:"Cz\u0119\u015B\u0107 graficzna","Common Used":"Najcz\u0119\u015Bciej u\u017Cywane","@@history-dlg":{Number:"Numer",Editor:"Edytor"},"View File History":"Poka\u017C plik historii","Save Time":"Czas zapisu","Invalid format":"Nieprawid\u0142owy format","EasyEDA Source...":"\u0179r\xF3d\u0142o EasyEDA...","Stroke Color":"Kolor kraw\u0119dzi","Stroke Width":"Szeroko\u015B\u0107 kraw\u0119dzi","Stroke Style":"Styl kraw\u0119dzi","Fill Color":"Kolor wype\u0142nienia","ALT Snap":"ALT przyci\u0105gaj","Text Type":"Typ tekstu","X radius":"promie\u0144 X","Y radius":"promie\u0144 Y","Spice Pin order":"porz\u0105dek pin\xF3w Spice","Number display":"Poka\u017C numer",Solid:"Sta\u0142e",BoardOutLine:"Obrys p\u0142yty","Draw copperArea":"Rysuj obszar miedi","Your title is too short!":"tytu\u0142 jest zbyt kr\xF3tki !","Remove this part":"usu\u0144 t\u0119 cz\u0119\u015B\u0107","No changes":"bez zmian","Create file failure!":"tworzenie pliku nie powiod\u0142o si\u0119!","Please select its parent node":"wybierz jego w\u0119ze\u0142 nadrz\u0119dny","Please Save your file before this operation":"Zapisz plik przed t\u0105 operacj\u0105","Need login":"wymagane logowanie","Bad password":"b\u0142\u0119dne has\u0142o","Bad file type":"b\u0142\u0119dny typ pliku","General Package":"Obudowa og\xF3lna","This component is verified":"\u5143\u4EF6\u5DF2\u7ECF\u9A8C\u8BC1","This component is unmounted":"\u5143\u4EF6\u4E0D\u4E0A\u4EF6"};var Koi={User:"Usu\xE1rio","Join...":"Registrar...","Login...":"Logar...","Log in":"Conectar",Logout:"Desconectar","Change password...":"Trocar senha...","User Preference":"Prefer\xEAncias de usu\xE1rio",Crash:"Pane","Invite friends...":"Convidar amigos...",Language:"Idioma","Language Setting":"Configura\xE7\xE3o de idioma","Document Recovery":"Recupera\xE7\xE3o de Documentos","Your Preferences Information":"Suas informa\xE7\xF5es de prefer\xEAncia",File:"Arquivo",New:"Novo","Project...":"Projeto...",Schematic:"Esquem\xE1tico","Schematic Lib":"Biblioteca esquem\xE1tico","Spice Symbol":"S\xEDmbolo Spice","PCB Lib":"Biblioteca PCB","Schematic Module":"M\xF3dulo Esquem\xE1tico","PCB Module":"M\xF3dulo PCB","EasyEDA File...":"Arquivo EasyEDA...","Save...":"Salvar\u2026","Save As...":"Salvar como\u2026","Save As Module...":"Salvar m\xF3dulo como\u2026",Print:"Imprimir","Export Document":"Exportar Documento","LTspice...":"Ltspice\u2026","Eagle...":"Eagle\u2026","Altium...":"Altium\u2026","Cadence...":"Cadence\u2026","Pads...":"Pads\u2026",Import:"Importar",Edit:"Editar",Undo:"Desfazer",Redo:"Refazer",Cut:"Cortar",Copy:"Copoiar",Paste:"Colar",Select:"Selecionar",Delete:"Excluir","Clear All":"Limpar Todos",Move:"Mover",Drag:"Arrastar","Bring to Front":"Trazer para Frente","Send to Back":"Mover para Tr\xE1s",Align:"Alinhar","Align Left":"Alinhar \xE0 Esquerda","Align Right":"Alinhar \xE0 Direita","Align Top":"Alinhar ao Topo","Align Bottom":"Alinhar \xE0 Base","Align Horizontal Centers":"Alinhar Centros Horizontais","Align Vertical Centers":"Alinhar Centros Verticais","Distribute Horizontally":"Distribuir Horizontalmente","Distribute Vertically":"Distribuir Verticalmente","Distribute Left Edges Equidistantly":"Distribuir Bordas Esquerda Equidistantemente","Distribute Top Edges Equidistantly":"Distribuir Bordas Superiores Equidistantemente","Align Grid":"Alinhar Grade",Rotate:"Rotacionar","Rotate Left":"Rotacionar \xE0 Esquerda","Rotate Right":"Rotacionar \xE0 Direita","Flip Horizontal":"Inverter Horizontal","Flip Vertical":"Inverter Vertical","Rotate and Flip":"Rotacionar e Inverter","Group/Ungroup":"Agrupar/Desagrupar",View:"Visualizar",Find:"Encontrar","Zoom In":"Mais Zoom","Zoom Out":"Menos Zoom","Fit in Window":"Caber na Janela",Refresh:"Atualizar",Snap:"Encaixar","Cross Cursor":"Cursor Cruzado",Toolbars:"Barra de Ferramentas","Drawing Tools":"Ferramentas de Desenho","Wiring Tools":"Ferramentas de Liga\xE7\xE3o","PCB Tools":"Ferramentas PCB","PCBLib Tools":"Ferramentas PCBLib","Layers Tool":"Ferramenta de Camadas","Layer Setting":"Configura\xE7\xF5es de Camada","Net Visible":"Net Vis\xEDvel","Digital Objects":"Objetos Digitais",Tools:"Ferramentas","Arc Center":"Centro do Arco",Place:"Colocar",Arc:"Arco","Elliptical Arc":"Arco El\xEDptico",Ellipse:"Elipse",Circle:"C\xEDrculo",Line:"Linha",Polyline:"PoliLinha",Rectangle:"Ret\xE2ngulo",Rectangular:"Retangular",Rect:"Retificar","Round Rectangle":"Ret\xE2ngulo Arredondado",Polygon:"Pol\xEDgono",Bezier:"B\xE9zier",Path:"Caminho",Graphic:"Gr\xE1fico","Bus Entry":"Entrada de \xF4nibus",Junction:"Jun\xE7\xE3o","Net Port":"Porta Net","Voltage Probe":"Sonda de Tens\xE3o",Wire:"Fio",Annotation:"Anota\xE7\xE3o",Track:"Faixas",Image:"Imagem","Arrow Head":"Cabe\xE7a de Seta",Arrowhead:"Ponta de Seta",Arrow:"Seta","No Connect Flag":"Nenhum Sinal de Conex\xE3o",Pin:"Pino","Lock Selected Objects":"Bloquear Objetos Selecionados",Miscellaneous:"Diversos","Find Component":"Encontrar Componente",Component:"Componente","Footprint...":"Pegada\u2026",Convert:"Converter","Convert to PCB":"Converter para PCB","Update PCB":"Atualizar PCB","Shortcut Keys Setting":"Configura\xE7\xE3o de Teclas de Atalho","Edit Symbol...":"Editar S\xEDmbolo\u2026","Highlight Net...":"Realce Net\u2026",Simulate:"Simular",Simulation:"Simula\xE7\xE3o","Simulation Result":"Resultado da Simula\xE7\xE3o","Simulation Results...":"Resultados da Simula\xE7\xE3o\u2026","Simulate this Sheet":"Simular esta Folha","Simulate this Project":"Simular este Projeto","Run the Document":"Executar este Documento","Run the Project...":"Executar este Projeto\u2026","Netlist for Document":"Netlist para o Documento","Netlist for Project":"Netlist para o Projeto","Spice for this Sheet...":"Spice para esta Folha\u2026","Spice for this Project...":"Spice para este Projeto\u2026","Protel/Altium for PCB...":"Protel/Altium para PCB\u2026","Pads for PCB...":"Pads para PCB\u2026","FreePCB for PCB...":"FreePCB para PCB\u2026","Eagle for PCB...":"Eagle para PCB\u2026","Kicad for PCB...":"Kicad para PCB\u2026","OrCAD for PCB...":"OrCAD Para PCB\u2026","BOM report...":"Relat\xF3rio de Lista T\xE9cnica\u2026","BOM for Document...":"BOM para Documento\u2026","BOM for Project...":"BOM para Projeto\u2026","Pin Map...":"Mapa de pinos\u2026","Edit Subckt...":"Editar Subckt\u2026","Layer Options...":"Op\xE7\xF5es de Camada\u2026","Design Rule Setting...":"Configura\xE7\xE3o para Design de R\xE9gua\u2026","Export Pick and Place File":"Exportar Arquivo de Pick and Place","Measure Distance":"Medir Dist\xE2ncia","New Origin":"Nova Origem","Generates Pick and Place File":"Gerar Arquivo Pick and Place","Unroute All":"Remover todas as Rotas","Auto Router":"Roteamento Autom\xE1tico","Add SubPart":"Adicionar SubParte","Annotate...":"Anotar\u2026",Config:"Configurar",Help:"Ajuda",About:"Sobre","Shortcut Keys":"Teclas de Atalho",Tutorials:"Tutoriais","Basic Tutorials":"Tutoriais B\xE1sicos","Video Tutorials":"V\xEDdeo Tutoriais","Essential Check":"Verifica\xE7\xE3o Essencial","Simulation Tutorials":"Tutoriais de Simula\xE7\xE3o","Updated Instructions":"Instru\xE7\xF5es Atualizadas","EasyEDA API":"API EasyEDA","Open File Format":"Abrir Formato de Arquivo","About Upgrade":"Sobre Atualiza\xE7\xE3o","Github Repository":"Reposit\xF3rio Github","User Forum":"F\xF3rum de Usu\xE1rio","Feature Request":"Solicita\xE7\xE3o de Recurso","Feature Requests":"Solicita\xE7\xF5es de Recurso","Bug Report":"Relat\xF3rio de Bug","Bug Reports":"Relat\xF3ris de Bugs","Tips & Skill":"Dicas e Habilidades","Ask for Help":"Pe\xE7a Ajuda","Schematic Capture":"Captura esquem\xE1tica","Spice Simulation":"Simula\xE7\xE3o Spice","PCB Layout":"Layout do PCB","General Discussion":"Discuss\xE3o Geral","More Information":"Mais Informa\xE7\xF5es","Privacy Policy":"Pol\xEDtica e Privacidade","Terms of Service":"Termos do Servi\xE7o","Plans and Pricing":"Planos e Pre\xE7os","Contribute to EasyEDA":"Contribua para o EasyEDA",Acknowledgments:"Agradecimentos","Help Translate":"Ajudar a Traduzir","About Us":"Sobre n\xF3s","Contact Us":"Contate-nos","Change History":"Hist\xF3rico de Mudan\xE7as","Join Us":"Junte-se a n\xF3s","PCB Fabrication":"Fabrica\xE7\xE3o de PCB","Order Capabilities":"Capacidade de Pedidos","Order Price":"Pre\xE7o do Pedido","Order Essential Check":"Checar Pedido Essencial","Order FAQ":"FAQ Pedido","Order Process":"Processo do Pedido",Support:"Suporte","Historical Records...":"Registros Hist\xF3ricos\u2026",Extensions:"Extens\xF5es","Order PCB...":"Encomendar PCB\u2026","Import Changes":"Importar altera\xE7\xF5es","Press {0}F11{1} to switch to full screen.":"Pressione {0} F11 {1} para mudar para tela cheia.","Delete Selected":"Excluir selecionado","Generate Gerber and Drill Files":"Gerar Gerber e Drill Files","Build PCB":"Construir PCB","System Libraries":"Bibliotecas do sistema","Simulate...":"Simular\u2026","Terms of Service & Privacy Policy":"Termos de Servi\xE7o e Pol\xEDtica de Privacidade","Help Topics":"T\xF3picos da Ajuda","SVG Source...":"Fonte SVG\u2026","EasyEDA Source...":"Fonte EasyEDA\u2026","Group these items as a SCHLIB/Symbol":"Agrupar esses itens como um SCHLIB / Symbol","Group These Items As a Package":"Agrupar estes itens como um pacote","Set Canvas Origin":"Definir Origem da Tela","Document Setting":"Configura\xE7\xE3o do documento","Sheet Attributes":"Atributos da folha","Set Board Outline":"Definir contorno da placa","Teardrop...":"Teardrop\u2026","Panelize...":"Panelize\u2026","Check Dimension":"Verificar dimens\xE3o","Global Delete":"Apagar global","Paper Size":"Tamanho do papel",Register:"Registrador","User Center":"Centro de Usu\xE1rios",Properties:"Propriedades",Attributes:"Atributos",Apply:"Aplicar","Save as default":"Salvar como padr\xE3o","Canvas Attributes":"Atributos do Canvas",Width:"Largura",Height:"Altura",Background:"Fundo","Visible Grid":"Grade Vis\xEDvel","Grid Visible":"Grade Vis\xEDvel","Grid Color":"Cor da Grade","Grid Size":"Tamanho da grade","Grid Style":"Estilo da grade","Stroke Color":"Cor do tra\xE7o","Stroke Width":"Largura do tra\xE7ado","Stroke Style":"Estilo do tra\xE7ado","Fill Color":"Cor de preenchimento","Selected Objects":"Objetos Selecionados","Frame Size":"Tamanho do quadro","Snap size when pressing the Alt key":"Grudar o tamanho quando pressionar a tecla Alt","Prefix Start":"Prefixo de In\xEDcio","Text Attributes":"Atributos de texto",Text:"Texto",Color:"Cor","Font Family":"Fam\xEDlia de Fontes","Font Size":"Tamanho da Fonte","Font Weight":"Peso da Fonte","Font Style":"Estilo da Fonte","Text Type":"Tipo de Texto","Text Anchor":"\xC2ncora de texto",Baseline:"Linha de base",start:"in\xEDcio",middle:"meio",end:"fim",inherit:"herdar",comment:"coment\xE1rio",italic:"it\xE1lico",Default:"Padr\xE3o",bold:"negrito",bolder:"mais negrito",lighter:"mais claro","Failed to parse the font file: {name}":"Falha ao analisar o arquivo de fonte: {name}","Please select a font file of ttf or woff format.":"Por favor, selecione um arquivo de fonte do formato ttf ou woff.","Add font success: {name}":"Adicione o sucesso da fonte: {name}","Failed to add font: {name}":"Falha ao adicionar fonte: {name}","Add Font":"Adicionar Fonte","Failed to parse cached font: {name}":"Falha ao analisar a fonte em cache: {name}","Load cached fonts fail!":"Falha ao carregar fontes armazenadas em cache!","X Radius":"Raio X","Y Radius":"Raio Y","Pin Attributes":"Atributos do Pin",Orientation:"Orienta\xE7\xE3o","0 degrees":"0 graus","45 degrees":"45 graus","90 degrees":"90 graus","180 degrees":"180 graus","270 degrees":"270 graus","Free Angle":"\xC2ngulo Livre","Start X":"Inic\xEDo X","Start Y":"In\xEDcio Y",Length:"Comprimento",Name:"Nome",name:"nome",Number:"N\xFAmero","Spice Pin Order":"Pedido Spice Pin","Name Display":"Exibi\xE7\xE3o de nome","Number Display":"Display Num\xE9rico",Clock:"Tempo",Show:"Mostrar",Electric:"El\xE9trico","Junction Attributes":"Atributos de jun\xE7\xE3o","X Location":"localiza\xE7\xE3o X","Y Location":"localiza\xE7\xE3o Y",Size:"Tamanho","Net Label":"R\xF3tulo L\xEDquido","Part Attributes":"Atributos da Parte",Prefix:"Prefixo","Add Image":"Adicionar imagem","Image Attributes":"Atributos de Imagem","Image URL":"URL da imagem","Input an image URL":"Insira uma URL de imagem","Invalid image URL":"URL de imagem inv\xE1lido","Failed to load the image":"Falha ao carregar a imagem","Image URL contains special characters":"URL da imagem cont\xE9m caracteres especiais","From Web URL":"De URL da Web","From Local Computer":"De computador local","Please select a png/gif/jpg file.":"Por favor, selecione um arquivo png / gif / jpg.","Please select an image file.":"Por favor, selecione um arquivo de imagem.","Select an image file":"Selecione um arquivo de imagem","Insert Image to PCB":"Inserir imagem para PCB",Tolerance:"Toler\xE2ncia",tolerance:"toler\xE2ncia",capacitance:"capacit\xE2ncia",frequency:"frequ\xEAncia","Rated Voltage":"Tens\xE3o Nominal","Rated Current":"Corrente Nominal",resistance:"resist\xEAncia",Resistance:"Resist\xEAncia",inductance:"indut\xE2ncia","Operating Temperature":"Temperatura de opera\xE7\xE3o","Shape Invert":"Forma Invertida","Image Size":"Tamanho da imagem","Color Tolerance":"Toler\xE2ncia de Cor","Simplify Level":"Simplificar N\xEDvel",Units:"Unidades","Snap Size":"Tamanho Snap",Other:"Outro","Routing Width":"Largura de Roteamento","Routing Angle":"\xC2ngulo de roteamento","Routing Conflict":"Conflito de roteamento","Copper Zone":"Zona de Cobre",Visible:"Vis\xEDvel",Invisible:"Invis\xEDvel",Block:"Bloquear","Track Properties":"Propriedades da trilha",Layer:"Camada","End X":"Fim X","End Y":"Fim Y","Pad Properties":"Propriedades de Pads",Shape:"Forma","Hole(D)":"Buraco (D)","Center X":"Centro X","Center Y":"Centro Y",Round:"Rodada","Hole Shape":"Forma do Buraco","Hole(Length)":"Buraco (Comprimento)",Plated:"Banhado",None:"Nenhum","Via Properties":"Propriedades da Via",Diameter:"Di\xE2metro","Drill Diameter":"Di\xE2metro de Perfura\xE7\xE3o","Hole Properties":"Propriedades do furo","Text Properties":"Propriedades de texto","Line Width":"Largura da linha",Rotation:"Rota\xE7\xE3o","Fonts Management":"Gerenciamento de fontes","Dimension Attributes":"Atributos de dimens\xE3o","Footprint Attributes":"Atributos da pegada","Prefix Display":"Prefixo do Display","Pin Name":"Nome do Pin","Pin Number":"N\xFAmero do Pin","Spice Pin Number":"N\xFAmero do Spice Pin","Arc Properties":"Propriedades do Arco","Start Angle":"In\xEDcio do \xC2nhulo","End Angle":"Final do \xC2ngulo","Rotation Direction":"Dire\xE7\xE3o de Rota\xE7\xE3o","Rect Properties":"Propriedades de retoque","Round radius":"Raio Redondo","Circle Properties":"Propriedades do C\xEDrculo",Radius:"Raio","CopperArea Properties":"Propriedades de CopperArea",Clearance:"Apuramento","Pad Connection":"Conex\xE3o do Pad",Direct:"Direto","Keep Island":"Mantenha a ilha","Fill Style":"Completar Estilo","CopperArea conflict: copper area outlines in same layer with different net names must not overlap":"Conflito CopperArea: os contornos da \xE1rea de cobre na mesma camada com nomes de rede diferentes n\xE3o devem se sobrepor","Please create board outline first.":"Por favor, crie primeiro o esbo\xE7o da placa.","Board outlines are not closed.":"Contornos da placa n\xE3o est\xE3o fechados.","Rebuild CopperArea":"Reconstruir CopperArea","Edit Points":"Editar pontos",Spoke:"Falou",Cutout:"Recorte",Solid:"S\xF3lido","@@copperArea":{None:"Nenhum","Custom Attributes":"Atributos personalizados","Add new parameter":"Adicionar novo par\xE2metro","Add New Parameter":"Adicionar Novo par\xE2metro","Add New Supplier":"Adicionar Novo Fornecedor",Mounted:"Montado",Unknown:"Desconhecido","Create an account":"Crie uma conta",Username:"Nome de usu\xE1rio",Password:"Senha","Confirm Password":"Confirme a Senha","Please read this before you register":"Por favor, leia isto antes de se registrar","Hi {username}":"Ol\xE1 {username}","Lost Password...":"Esqueci a Senha\u2026","Find the password using your email":"Encontre a senha usando seu email","Username or Email":"Nome do Usu\xE1rio ou Email","Remember Me":"Lembrar da Conta","Third party":"Terceiros","Login and Register":"Login e Registro","Reset a password using your email":"Redefinir uma senha usando seu Email","Your registered email":"Seu E-mail cadastrado","Re-send an activation code to your email":"Reenvie um c\xF3digo de ativa\xE7\xE3o para o seu email","Invite friends to register":"Convide amigos para se cadastrarem","Your friend's email":"E-mail do seus amigos","Add a new parameter":"Adicione um novo par\xE2metro",Key:"Chave","In BOM":"Na lista de materiais (BOM)","Invalid key":"Chave inv\xE1lida","This field is required.":"Este campo \xE9 obrigat\xF3rio.","Change your password":"Mude sua senha","Old password":"Senha antiga","New Password":"Nova senha","Create a new project":"Crie um novo projeto","Save as a schematic":"Salvar como um esquema","Save as a schematic Lib":"Salvar como um esquema Lib","Save as a spice Symbol":"Salvar como um s\xEDmbolo Spice","Save as a spice subckt":"Salvar como um subckt Spice","YOU MUST CREATE A SPICE SYMBOL WITH EXACTLY THE SAME NAME AS THIS SUBCKT":"VOC\xCA DEVE CRIAR UM S\xCDMBOLO SPICE EXATAMENTE O MESMO NOME DESTE SUBCKT","Save as a PCB file":"Salvar como um arquivo PCB","Save as a PCB Lib":"Salvar como um PCB Lib","Save as a Schematic Module":"Salvar como um m\xF3dulo esquem\xE1tico","Save as a PCB Module":"Salvar como um m\xF3dulo PCB",Title:"T\xEDtulo",Share:"Compartilhar",Visibility:"Visibilidade","Allow Comments":"Permitir coment\xE1rios","Public (Anyone can see this project but only you can modify it.)":"P\xFAblico (qualquer um pode ver este projeto, mas somente voc\xEA pode modific\xE1-lo)","Private (Only you can see and modify this project)":"Particular (somente voc\xEA pode ver e modificar este projeto)","Create new project success!":"Criado novo projeto com sucesso!","You can now create files under this project":"Agora voc\xEA pode criar arquivos sob este projeto",Categories:"Categorias",Project:"Projeto","Short descript":"Descri\xE7\xE3o curta",Content:"Conte\xFAdo","Modify this project info.":"Modifique esta informa\xE7\xE3o do projeto.","Modify this file info.":"Modifique esta informa\xE7\xE3o de arquivo.",Notice:"Aviso","Search for it before creating a new one.":"Pesquise antes de criar um novo.","Manufacturer Part Number":"N\xFAmero da Pe\xE7a do fabricante",Supplier:"Fornecedor",Or:"Ou","Supplier Part":"Pe\xE7a do Fornecedor","Supplier Part Number":"N\xFAmero da Pe\xE7a do fornecedor","The professional function please refer at:":"A fun\xE7\xE3o profissional, por favor consulte:","Clone your file":"Clone seu arquivo","Attach a Subckt to this spice symbol":"Anexe um Subckt a este s\xEDmbolo Spice","Subckt string":"Cadeia Subckt","Design Manager":"Gerente de Design",Nets:"Redes","DRC Errors":"Erros DRC","Are you sure you want to unroute this net?":"Tem certeza de que deseja desviar esta rede?","Track Length":"Comprimento da faixa","Via/Hole Outer Size":"Via / Hole Outer Size","Object to Board Outline":"Objeto para abordar o esbo\xE7o","Via to Pad":"Via para Pad","Via to Fill Region":"Via para a regi\xE3o s\xF3lida","Track to Via":"Seguir para Via","Track to Fill Region":"Rastrear para regi\xE3o s\xF3lida","Filter nets":"Redes de filtro","Track to Copper Area":"Acompanhar a \xE1rea de cobre","Via to Copper Area":"Via para a \xE1rea de cobre","Running DRC":"Correndo DRC"},"@@drcRule][drcRule":{Width:"Largura","DRC Width":"Largura DRC",Length:"Comprimento","DRC Length":"Comprimento DRC","Drill Diameter":"Di\xE2metro de Perfura\xE7\xE3o","DRC Drill Diameter":"Di\xE2metro Drill DRC",Diameter:"Di\xE2metro","DRC Diameter":"Di\xE2metro DRC",Object:"Objeto","DRC Clearance":"Autoriza\xE7\xE3o DRC",All:"Tudo"},"Show your simulation report":"Mostrar seu relat\xF3rio de simula\xE7\xE3o",Components:"Componentes","Import file from your computer":"Importar arquivo do seu computador","Maximum file size: 30 MB":"Tamanho m\xE1ximo do arquivo: 30 MB","Chose file":"Escolheu o arquivo","File Operation":"Opera\xE7\xE3o de Arquivo","Import File":"Importar arquivo","Extract Libs":"Extrair Libs","Import File and Extract Libs":"Importar arquivo e extrair libera\xE7\xF5es","File type":"Tipo de arquivo","The file size is too large.":"O tamanho do arquivo \xE9 muito grande.","Please selected the file type.":"Por favor, selecione o tipo de arquivo.","No component was found!":"Nenhum componente foi encontrado!","Import successfully":"Importar com sucesso","Import failed":"Falha na importa\xE7\xE3o","Click OK to continue with the import":"Clique em OK para continuar com a importa\xE7\xE3o","Select None":"Selecione Nenhum","Modify symbol information":"Modificar informa\xE7\xE3o do s\xEDmbolo","PCB Prefix":"Prefixo PCB","Spice Prefix":"Pref\xE1cio Spice","Hidden Pin":"Pin oculto","Pin Map":"Mapa do Pin","When a power pin is hidden, it will be marked as netlabel, you don't need to wire it. If you use it as simulation, please show it or create a GND/VCC Net for it.":"Quando um pino de energia est\xE1 oculto, ele ser\xE1 marcado como netlabel, voc\xEA n\xE3o precisa conect\xE1-lo. Se voc\xEA us\xE1-lo como simula\xE7\xE3o, por favor, mostre-o ou crie uma rede GND / VCC para ele.",Assign:"Atribuir","Manufacturer Part.bom":"Fabricante Part.bom","One-click Purchasing at LCSC":"Compre com um clique em LCSC","Export BOM/Order Components":"Exportar BOM / Pedir Componentes","Export BOM":"Exportar BOM","@@bom][bom":{Name:"Nome","LCSC Assembly":"Montagem da LCSC",Value:"Valor",Supplier:"Fornecedor",Price:"Pre\xE7o",Quantity:"Quantidade",Package:"Pacote",Components:"Componentes",Manufacturer:"Fabricante"},"Manufacturer Part":"Pe\xE7a do Fabricante","Run your simulation":"Execute sua simula\xE7\xE3o",Transient:"Transit\xF3rio","Maximum Timestep":"Timestep m\xE1ximo","Stop Time":"Hora de parada","Start Time":"Hora de in\xEDcio","AC Analysis":"An\xE1lise AC","Type of Sweep":"Tipo de varredura","Number of points":"N\xFAmero de pontos","Start Frequency":"Freq\xFC\xEAncia de Partida","Stop Frequency":"Parar Freq\xFC\xEAncia","DC sweep":"Varredura DC","Source to Sweep":"Fonte para varrer","Start Value":"Valor inicial","Stop Value":"Valor de Parada",Increment:"Incremento","DC Transfer":"Transfer\xEAncia CC",Output:"Sa\xEDda",Source:"Fonte","Compute the DC operating point treating capacitances as opens and inductances as shorts":"Calcule as capacit\xE2ncias de tratamento do ponto de opera\xE7\xE3o CC como abertas e indut\xE2ncias como fechadas","Active File":"Arquivo Ativo","Active Project":"Projeto ativo","Embed it in your html files.":"Incorpor\xE1-lo em seus arquivos html.","Share it by e-mail, IM, blog, etc.":"Compartilhe por e-mail, mensagens instant\xE2neas, blog, etc.","BBCode (used by many online discussion forums)":"BBCode (usado por muitos f\xF3runs de discuss\xE3o online)","HTML code":"C\xF3digo HTML","QRCode (Share your schematic address by QRCode )":"QRCode (compartilhe seu endere\xE7o esquem\xE1tico por QRCode)","Short Url":"URL curto","Share a copy of this document":"Compartilhar uma c\xF3pia deste documento",Readonly:"Somente Leitura",Editable:"Edit\xE1vel","Active file's owner project page":"Arquivo Ativo da P\xE1gina do projeto do propriet\xE1rio","Active project editor page":"Projeto Ativo do Editor de P\xE1gina","Active file image URL":"Arquivo de imagem URL ativo","All Projects":"Todos os projetos","Unsaved files":"Arquivos n\xE3o salvos","Please select a file backup!":"Por favor, selecione um backup de arquivo!","Are you sure you want to remove this backup?":"Tem certeza de que deseja remover este backup?",Search:"Pesquisa","Search Results":"Resultados da pesquisa","Search and press Enter":"Pesquisar e pressione Enter","Search Components,Footprints,Modules":"Componentes de pesquisa, pegadas, m\xF3dulos",Assembled:"Montado",Verified:"Verificado","In stock":"Em estoque","{page} of {pagecount} pages":"{page} de {pagecount} p\xE1ginas","EasyEDA Components":"Componentes EasyEDA","Common Modules":"M\xF3dulos comuns","User Contributions":"Contribui\xE7\xF5es do usu\xE1rio",More:"Mais","Add Favorite":"Adicionar Favorito","Remove Favorite":"Remover Favorito","Add Sub Part":"Adicionar Sub Part",Untagged:"Sem etiqueta",Package:"Pacote",package:"pacote","Title(PartNO)":"T\xEDtulo (PartNO)",Quantity:"Quantidade","manufacturer Part":"pe\xE7a do fabricante",Manufacturer:"Fabricante",manufacturer:"fabricante",voltage:"tens\xE3o","Search Libraries":"Bibliotecas de Pesquisa","LCSC Assembled":"LCSC montado","User Contributed":"Usu\xE1rio Contribu\xEDdo",Follow:"Seguir",Types:"Tipos",power:"poder",Power:"Poder","LCSC Part#":"LCSC Part #",Stock:"Estoque","Report Error...":"Reportar erro...","report error success":"Sucesso ao reportar erro","Thanks for your feedback!":"Obrigado pelo seu feedback!","report error failure !":"Erro Reportando falha !","The content must be at least 2 characters!":"O conte\xFAdo deve ter pelo menos 2 caracteres!","This library was user contributed, please notice.":"Esta biblioteca foi contribu\xEDda pelo usu\xE1rio, por favor note.","@@lib][lib":{All:"Tudo",System:"Sistema",Personal:"Pessoal",Created:"Criado",Favorite:"Favorito","No Team found. Please join or create a team first.":"Nenhuma equipe encontrada. Por favor, junte-se ou crie uma equipe primeiro.","Create a team":"Crie um equipe","No follow user found. Please follow your friend first.":"Nenhum usu\xE1rio segue encontrado. Por favor, siga seu amigo primeiro."},"Favorite Schematic Lib":"Esquema Lib Favorito","Favorite Package":"Pacote Favorito","Favorite Module":"M\xF3dulo Favorito",BUY:"COMPRA","In Stock":"Em estoque","Out of Stock":"Fora de estoque",Minimum:"M\xEDnimo",Distributor:"Distribuidor",Capacitance:"Capacit\xE2ncia","Frequency Tolerance":"Toler\xE2ncia de Freq\xFC\xEAncia","Power (Watts)":"Pot\xEAncia (Watts)","Power - Max":"Pot\xEAncia - Max",Frequency:"Freq\xFC\xEAncia","Voltage Rating(Vdc,Vac)":"Classifica\xE7\xE3o de Voltagem (Vcc, Vac)",Voltage:"Voltagem","Current Rating":"Classifica\xE7\xE3o atual","Rated current":"Corrente nominal","Resistance (Ohms)":"Resist\xEAncia (Ohms)","Resistance(Ohms)":"Resist\xEAncia(Ohms)",Inductance:"Indut\xE2ncia","FET Type":"Tipo FET","Current Rating(Max)":"Classifica\xE7\xE3o de Corrente (m\xE1x.)","Impedance @ Frequency":"Imped\xE2ncia @ Frequ\xEAncia","Voltage - Input (Max)":"Tens\xE3o - Entrada (M\xE1x)","Voltage - Input (Min)":"Tens\xE3o - Entrada (Min)","Voltage - Supply":"Tens\xE3o - Fornecimento","Voltage - Max":"Tens\xE3o - Max","Current - Output":"Tens\xE3o - Sa\xEDda","Export your works":"Exportar suas trabalhos","Export Option":"Op\xE7\xE3o de Exporta\xE7\xE3o","Active File->pdf(1:1)":"Arquivo Ativo-> pdf (1: 1)","Active File->image":"Arquivo Ativo-> imagem","Active File->SVG":"Arquivo Ativo-> SVG","You can backup your EasyEDA json file to your local hard disk and import it at any time.":"Voc\xEA pode fazer backup do seu arquivo json EasyEDA para o disco r\xEDgido local e import\xE1-lo a qualquer momento.","Image Type":"Tipo de imagem",Qualify:"Qualificar","0 means real size":"0 significa tamanho real","Merged layer":"Camada mesclada","Separated layer":"Camada Separada",Export:"Exportar",Mirror:"Espelho","Protractor Attributes":"Atributos do transferidor",Mechanical:"Mec\xE2nico","Inner{number}":"Inner {number}","Substrate{number}":"Substrato {number}","Full Color":"Cor completa","Canvas Setting":"Defini\xE7\xE3o de tela","Assembly Drawings":"Desenhos de montagem","Invalid file format":"Formato de arquivo inv\xE1lido","Failed to export file":"Falha ao exportar arquivo","Download now":"Baixe agora","Wire Width":"Largura do fio",Sheet:"Folha","Merged sheet":"Folha mesclada","Separated sheet":"Folha separada","@@exportDocument][exportDocument":{Size:"Tamanho"},"Confirm Importing changes information":"Confirme Importando informa\xE7\xF5es de mudan\xE7as","You can't undo this operation, Please run a DRC after this operation.":"Voc\xEA n\xE3o pode desfazer esta opera\xE7\xE3o, por favor, execute um DRC ap\xF3s esta opera\xE7\xE3o.","Apply Changes":"Aplicar altera\xE7\xF5es","This is a simple DRC.":"Este \xE9 um simples DRC.","It just can help you to find the obvious errors":"Ele s\xF3 pode ajud\xE1-lo a encontrar os erros \xF3bvios",Configured:"Configurado","Layer Name":"Nome da camada","Multi-Layer":"Camada M\xFAltipla",Document:"Documento",Hole:"Buraco",Setting:"Configura\xE7\xE3o","Drawing area":"\xC1rea de desenho","Export area":"\xC1rea de exporta\xE7\xE3o","Create Files":"Criar arquivos","Check your {0}Gerber files{1} carefully before sending them to the factory":"Verifique seus {0} arquivos Gerber {1} cuidadosamente antes de envi\xE1-los para a f\xE1brica","Download free Gerber Viewer (gerbv)":"Download gr\xE1tis Gerber Viewer (gerbv)","Before generating the Gerber files":"Antes de gerar os arquivos Gerber","Please check the packages size and orientation carefully.":"Por favor, verifique o tamanho dos pacotes e orienta\xE7\xE3o cuidadosamente.","Please check for DRC errors in the Design Manager.":"Por favor, verifique se h\xE1 erros de DRC no Gerenciador de Design.","Please rebuild the copper area after modifying tracks and packages.":"Por favor, reconstrua a \xE1rea de cobre depois de modificar faixas e pacotes.","After generating the Gerber file, please use the {0}Gerber Viewer{1} to check whether it conforms to the design requirements.":"Depois de gerar o arquivo Gerber, use o {0} Gerber Viewer {1} para verificar se ele est\xE1 em conformidade com os requisitos de design.","Order at JLCPCB":"Encomendar em JLCPCB",Value:"Valor",value:"valor",Unit:"Unidade","Track Width":"Largura da trilha","Track to Track":"Trilha para Trilha","Track to Pad":"Trilha para Pad","Pad to Pad":"Pad para Pad","Via to Via":"Via a Via","Via Hole Size":"Tamanho do buraco de Via","Realtime DRC":"DRC em tempo real","{0} is too small!":"{0} \xE9 muito pequeno!","Invalid DRC Rule":"Regra de DRC Inv\xE1lida",Rule:"Regra","Via Diameter":"Via Di\xE2metro","Via Drill Diameter":"Di\xE2metro do furo da Via","Net List":"Lista Net","Set Rule":"Definir Regra","Check object to Board OutLine":"Verifique o objeto para Board OutLine","Rule name already exists!":"O nome da regra j\xE1 existe!","You should not delete default rule!":"Voc\xEA n\xE3o deve excluir a regra padr\xE3o!","Rule list contains invalid rule setting!":"Lista de regras cont\xE9m configura\xE7\xF5es de regras inv\xE1lidas!","Duplicate rule name exists!":"Existe um nome de regra duplicado!","via diameter is smaller than via drill diameter!":"via di\xE2metro \xE9 menor do que atrav\xE9s do di\xE2metro da broca!","Update the symbol's package":"Atualize o pacote do s\xEDmbolo","Invalid Package":"Pacote inv\xE1lido","The package's PAD number is different from the symbol's PIN number, e.g. the diode package's PAD numbers are [A,C] but the symbol's PIN numbers are [1,2]. You just need to change one to fit the other. It is case sensitive!":"O n\xFAmero PAD da embalagem \xE9 diferente do n\xFAmero PIN do s\xEDmbolo, por ex. os n\xFAmeros PAD do pacote de diodo s\xE3o [A, C], mas os n\xFAmeros PIN do s\xEDmbolo s\xE3o [1,2]. Voc\xEA s\xF3 precisa mudar um para encaixar o outro. \xC9 sens\xEDvel a mai\xFAsculas!","Update PCB(Synchronizing PCB from schematics)":"Atualizar PCB (Sincronizando PCB do esquema)","Hotkey Setting":"Configura\xE7\xE3o de atalho","Document Type":"Tipo de Documento",Shortcut:"Atalho",Function:"Fun\xE7\xE3o","Rotate selected objects":"Rodar objetos selecionados","Scroll Or Move selected left":"Rolar ou Mover selecionado para a esquerda","Scroll or Move selected right":"Rolar ou Mover selecionado para a direita","Scroll or Move selected up":"Rolar ou Mover para cima","Scroll or Move selected down":"Rolar ou Mover selecionado para baixo","Cross Document Paste":"Colar documento cruzado","Explore & Find Components":"Explorar e Encontrar Componentes","Select All":"Selecione tudo","Cancel current drawing":"Cancelar desenho atual",Save:"Salvar","Drag Tool":"Arrastar Ferramenta","Draw Wire":"Desenhe Fio","Draw Bus":"Empate Bus","Draw Polyline":"Desenhar Polilinha","Draw Polygon":"Desenhar Pol\xEDgono","Draw Bezier":"Desenhar B\xE9zier","Draw Arc":"Desenhar Arco","Draw Rect":"Desenho Retificado","Draw Ellipse":"Desenhar Elipse","Freehand Draw":"Desenhar M\xE3os Livres",Freedraw:"Desenho Livre","Draw Text":"Desenhar Texto","Edit Selected Symbol":"Editar s\xEDmbolo selecionado","Draw Track":"Desenhar Trilha","Draw Circle":"Desenhar C\xEDrculo","Draw Dimension":"Desenhar Dimens\xE3o","Draw Connect":"Desenhar Conectar","Draw CopperArea":"Desenhar CopperArea","Change To TopLayer":"Alterar para TopLayer","Change To BottomLayer":"Alterar para BottomLayer","Change To Inner1":"Alterar para Inner1","Change To Inner2":"Alterar para Inner2","Change To Inner3":"Alterar para Inner3","Change To Inner4":"Alterar para Inner4","Highlight Net":"Destaque Net","Place Pad":"Coloque o Pad","Place Via":"Coloque Via",Measure:"Medida","Change Routing Angle":"Alterar o \xC2ngulo de Roteamento","Decrease Routing Width":"Diminuir Largura de Roteamento","Increase Routing Width":"Aumentar Largura de Roteamento","Decrease Snap Size":"Diminuir tamanho do Snap","Increase Snap Size":"Aumentar Tamanho do Snap","Remove All Copper Area":"Remover toda a \xE1rea de cobre","Rebuild All Copper Area":"Reconstruir toda a \xE1rea de cobre","Toggle PCB Net Display":"Alternar exibi\xE7\xE3o de rede PCB","New Project":"Novo projeto","New Schematic":"Novo esquema","New PCB":"Novo PCB",Modify:"Modificar","Add sub part":"Adicionar subparti\xE7\xE3o","Contribute your components to EasyEDA":"Contribua com seus componentes para o EasyEDA","Version History":"Hist\xF3rico de vers\xF5es","Refresh List":"Atualizar lista","Create New Project":"Criar novo projeto","Packages Verification":"Verifica\xE7\xE3o de Pacotes","Reload parts":"Recarregar pe\xE7as",Layers:"Camadas","Display Name":"Nome de exibi\xE7\xE3o","HotKey Sync":"Sincroniza\xE7\xE3o HotKey","My Theme Sync":"Minha sincronia de tema","Document Recovery Setting":"Configura\xE7\xE3o de Recupera\xE7\xE3o de Documentos","Maximum backup level":"N\xEDvel m\xE1ximo de backup","Auto backup(minutes)":"Backup autom\xE1tico (minutos)","Save to Server":"Salvar no servidor","Load from Server":"Carregar do servidor","Schematic Library Wizard":"Assistente de biblioteca esquem\xE1tica",Style:"Estilo",Picture:"Quadro","Pin Names":"Nomes dos Pinos","Please assign the package in the right hand panel after creating the symbol.":"Por favor, atribua o pacote no painel do lado direito depois de criar o s\xEDmbolo.",Contributor:"Colaborador",contributor:"contribuidor",Annotate:"Anotar",Scope:"Escopo","Active Schematic only":"Esquema Ativo apenas","All Opened Schematics":"Todos os esquemas abertos",Method:"M\xE9todo","Re-annotate all":"Re-anotar todos","Keep existing annotation":"Manter anota\xE7\xE3o existente",Direction:"Dire\xE7\xE3o",Rows:"Linhas",Cols:"Colunas","Order...":"Ordem...","Order your PCB from EasyEDA":"Encomende o seu PCB da EasyEDA","PCB Qty.":"PCB Qtd.","PCB Thickness":"Espessura do PCB","PCB Dimension":"Dimens\xE3o PCB","Automatic calculation":"C\xE1lculo Autom\xE1tico",Green:"Verde",White:"Branco",Blue:"Azul",Red:"Vermelho",Yellow:"Amarelo",Black:"Preto",Purple:"Roxo",Copper:"Cobre",Gold:"Ouro",Silver:"Prata","Surface Finish":"Acabamento de Superf\xEDcie","Hasl(Lead Free)":"Hasl (sem chumbo)","Open Project":"Projeto Aberto","Shipping Cost":"Custo de envio","Cost Estimate":"Estimativa de Custo","Actual cost will be confirmed by email.":"O custo real ser\xE1 confirmado por email.","Shipping information":"Informa\xE7\xF5es de envio",Address:"Endere\xE7o","ZIP/Post code":"C\xF3digo postal / postal",City:"Cidade",Country:"Pa\xEDs","After filling out the form above, we will email you with (i) the results of the design rule check, (ii) a quote and (iii) a payment link using Paypal. Shipping is normally one week from receipt of payment.":"Depois de preencher o formul\xE1rio acima, enviaremos um e-mail com (i) os resultados da verifica\xE7\xE3o da regra de design, (ii) uma cota\xE7\xE3o e (iii) um link de pagamento usando o Paypal. O envio \xE9 normalmente de uma semana a partir do recebimento do pagamento.","Restore All Default Shortcuts":"Restaurar todos os atalhos padr\xE3o","Save Changes":"Salvar altera\xE7\xF5es","To connect electrical elements, please use Wire (W hotkey) and not Line (L hotkey).":"Para conectar elementos el\xE9tricos, use Wire (tecla de atalho W) e n\xE3o Line (tecla de atalho L).","Anonymous File":"Arquivo an\xF4nimo","Anonymous File can not be cloned, but you can open it, then save it as a new file.":"Arquivo an\xF4nimo n\xE3o pode ser clonado, mas voc\xEA pode abri-lo e salv\xE1-lo como um novo arquivo.","You must close the file before delete it!":"Voc\xEA deve fechar o arquivo antes de exclu\xED-lo!",Confirmation:"Confirma\xE7\xE3o",Alert:"Alerta",Information:"Informa\xE7\xE3o",information:"informa\xE7\xE3o",Error:"Erro",error:"erro","error!":"erro!",Warning:"Aviso","Imported ok!":"Importado ok!","Some changes have not been saved.":"Algumas altera\xE7\xF5es n\xE3o foram salvas.","Your file hasn't been saved. Please save first!":"Seu arquivo n\xE3o foi salvo. Por favor, salve primeiro!","Your file hasn't been saved. Are you sure you want to close it?":"Seu arquivo n\xE3o foi salvo. Tem certeza de que deseja fech\xE1-lo?","Error! Please try again later.":"Erro! Por favor, tente novamente mais tarde.","Are you sure you want to reload this page?":"Tem certeza de que deseja recarregar esta p\xE1gina?","Are you sure you want to leave this page?":"Tem certeza de que deseja sair desta p\xE1gina?","Confirm Reload":"Confirme Recarregar","Confirm Close":"Confirme Fechar","Leave this page":"Deixar esta p\xE1gina","Stay on this page":"Fique nessa p\xE1gina","Don't reload":"N\xE3o recarregue","Load failure!":"Falha de carga!","Load projects failed":"Falha ao carregar projetos","error info":"informa\xE7\xE3o de erro","error information":"informa\xE7\xE3o de erro","Guest can't create a new project. Please login!":"O convidado n\xE3o pode criar um novo projeto. Por favor, fa\xE7a login!","Please create a project before you do this!":"Por favor, crie um projeto antes de fazer isso!","Add Part success":"Sucesso ao adicionar parte","Click the new part and then edit it!":"Clique na nova parte e edite-a!","Delete my work":"Excluir meu trabalho","Delete my work. (Only deletes it from this list but not from the server)":"Excluir meu trabalho. (Exclui apenas desta lista, mas n\xE3o do servidor)","Do you confirm this?":"Voc\xEA confirma isso?","Delete successfully!":"Exclu\xEDdo com sucesso!","Cloning success!":"Sucesso ao clonar!","Your title is too short!":"Seu t\xEDtulo \xE9 muito curto!","Remove this part":"Remover esta parte","Find and Jump to ...":"Encontre e pule para ...","Please type the prefix, such as U1, R1, C1":"Por favor digite o prefixo, como U1, R1, C1","Zoom as 1:1, you can print it and then create artwork for etching the PCB.":"Zoom como 1: 1, voc\xEA pode imprimi-lo e, em seguida, criar obras de arte para gravar o PCB.","Exporting your works!":"Exportando seus trabalhos!","Guests can't import a file. Please login!":"Os convidados n\xE3o podem importar um arquivo. Por favor entre!","Please create a project before you import a file!":"Por favor, crie um projeto antes de importar um arquivo!","Import your LTspice file!":"Importe seu arquivo LTspice!","Saved successfully!":"Salvo com sucesso!","Save failed!":"Falha ao salvar!","Can not place parts into this document.":"N\xE3o \xE9 poss\xEDvel colocar pe\xE7as neste documento.","User Package":"Pacote de Usu\xE1rios","System Package":"Pacote de sistema","File error":"Erro de arquivo","Please save your file first!":"Por favor, salve seu arquivo primeiro!","Email address is too short!":"Endere\xE7o de email \xE9 muito curto!","You have not selected a file to upload.":"Voc\xEA n\xE3o selecionou um arquivo para upload.",Update:"Atualiza\xE7\xE3o","No changes":"Sem altera\xE7\xF5es","PCB is the same as SCH!":"PCB \xE9 o mesmo que o SCH!","Only public files can be shared":"Somente arquivos p\xFAblicos podem ser compartilhados","Conversion to PCB has failed!":"Convers\xE3o para PCB falhou!","Your username is too short!":"Seu nome de usu\xE1rio \xE9 muito curto!","Your password is too short, it must be more than 6 characters!":"Sua senha \xE9 muito curta, esta deve ter mais de 6 caracteres!","Conflicting shortcut":"Atalho conflitante","There is an empty PCB file. Please first run Convert Project To PCB... from the schematic":"Existe um arquivo PCB vazio. Por favor, primeiro execute Converter Projeto para PCB... do esquema","This file has been modified, are you sure you want to run this simulation before saving it first?":"Este arquivo foi modificado. Tem certeza de que deseja executar esta simula\xE7\xE3o antes de salv\xE1-lo primeiro?","Please enter the Maximum Timestep!":"Por favor, insira o Timestep m\xE1ximo!","Please enter the Stop Time!":"Por favor, insira a Hora de Parada!","All of these fields are needed.":"Todos esses campos s\xE3o necess\xE1rios.","Either your spice netlist is too big or the server is busy. Please try again later.":"A sua netlist Spice \xE9 muito grande ou o servidor est\xE1 ocupado. Por favor, tente novamente mais tarde.","Your spice netlist is too big! Try breaking your circuit into smaller simulatable blocks.":"Sua netlist Spice \xE9 muito grande! Tente quebrar seu circuito em pequenos blocos simul\xE1veis.","Too many users in simulation. Please try again later!":"Muitos usu\xE1rios na simula\xE7\xE3o. Por favor, tente novamente mais tarde!","Due to limited server resources, please wait 2 minutes for the interval in every time simulation.":"Devido aos recursos limitados do servidor, aguarde 2 minutos por intervalo em todas as simula\xE7\xF5es de tempo.","Your simulation results are too large! Try reducing the total simulation time (Stop Time - Start Time), increasing the maximum time step, removing some of your probes or breaking your circuit into smaller simulatable blocks.":"Seus resultados de simula\xE7\xE3o s\xE3o muito grandes! Tente reduzir o tempo total da simula\xE7\xE3o (Hora de Parada - Hora de In\xEDcio), aumentando o tempo m\xE1ximo, removendo algumas de suas sondas ou quebrando seu circuito em blocos simul\xE1veis \u200B\u200Bmenores.","Demo accounts don't support simulation, please login first":"Contas demo n\xE3o suportam simula\xE7\xE3o, por favor fa\xE7a o login primeiro","Please login first":"Por favor, fa\xE7a o login primeiro","The schematic is showing errors, please check the simulation report carefully!":"O esquema est\xE1 mostrando erros, por favor, verifique o relat\xF3rio de simula\xE7\xE3o com cuidado!","Simulation too long, maybe your schematic is too complex.":"Simula\xE7\xE3o por muito tempo, talvez seu esquema seja complexo demais.","Load your preferences success!":"Prefer\xEAncias carregadas com sucesso!","Save preferences successfully!":"Prefer\xEAncias salvas com sucesso!","Update subckt ok!":"Atualizar subckt ok!","Clone your file":"Clone seu arquivo","Please type a new file name":"Por favor digite um novo nome de arquivo","Create file failure!":"Criar falha no arquivo!","Schematics and PCBs can't be imported under My Libs folder, please choose a different folder":"Esquemas e PCBs n\xE3o podem ser importados na pasta My Libs, por favor escolha uma pasta diferente","Libraries to be imported under My Libs folder":"Bibliotecas a serem importadas na pasta My Libs","Please choose only the libraries needed":"Por favor, escolha apenas as bibliotecas necess\xE1rias","Maximum import is 200 libs at one time!":"A importa\xE7\xE3o m\xE1xima \xE9 de 200 libs ao mesmo tempo!","Your libraries will be found under the My Libs folder":"Suas bibliotecas ser\xE3o encontradas na pasta My Libs","Add to Library":"Adicionar \xE0 Biblioteca","No items have been checked!":"Nenhum item foi verificado!","Nothing was found, please create it for yourself":"Nada foi encontrado, por favor crie para voc\xEA","Search result":"Resultado da pesquisa","At least 3 characters needed":"Pelo menos 3 caracteres necess\xE1rios","Add to my Favorite Parts":"Adicionar \xE0s minhas partes favoritas","Added it OK. Please find it in your Favorite Parts":"Adicionado OK. Por favor, encontre nas suas Partes Favoritas","Please select its parent node":"Por favor, selecione seu n\xF3 pai","Libraries can not be exported as active project pdf.":"Bibliotecas n\xE3o podem ser exportadas como projeto ativo pdf.","Circuit does not have a GND":"O circuito n\xE3o tem um GND","Circuit does not have a probe":"Circuito n\xE3o tem uma sonda","Make sure your pin numbers are even numbers":"Certifique-se de que seus n\xFAmeros de pin s\xE3o n\xFAmeros pares","Duplicate Components Prefix":"Prefixo de Componentes Duplicados","{0} exist":"{0} existe","There are some invalid packages, are you sure?":"Existem alguns pacotes inv\xE1lidos, tem certeza?","Invalid Characters, library only allows [0-9a-zA-Z-_]":"Caracteres inv\xE1lidos, a biblioteca permite apenas [0-9a-zA-Z-_]","Annotation success":"Anota\xE7\xE3o de sucesso","If you accept this annotation operation, please save your files. If not, close your files without saving.":"Se voc\xEA aceitar esta opera\xE7\xE3o de anota\xE7\xE3o, salve seus arquivos. Se n\xE3o, feche seus arquivos sem salvar.","This file can't be saved under libs project. Please choose other project or create a new project":"Este arquivo n\xE3o pode ser salvo no projeto libs. Por favor, escolha outro projeto ou crie um novo projeto","Your file is unsaved.":"Seu arquivo n\xE3o est\xE1 salvo.","You can close the editor now. Have a good day!":"Voc\xEA pode fechar o editor agora. Tenha um bom dia!","Logout Successfully!":"Logout com \xEAxito","You have at least one unsaved file open. Please save it or close it.":"Voc\xEA tem pelo menos um arquivo n\xE3o salvo aberto. Por favor salve ou feche.","Please save your file before this operation":"Por favor, salve seu arquivo antes desta opera\xE7\xE3o","Please open a PCB document":"Por favor, abra um documento PCB","Please save your file before '{0}'.":"Por favor, salve seu arquivo antes de '{0}'.","Please try again after saving this file.":"Por favor, tente novamente depois de salvar este arquivo.","Connecting to server":"Conectando ao servidor","Please login before asking for help":"Por favor, fa\xE7a o login antes de pedir ajuda","This file has been modified, please save it first!":"Este arquivo foi modificado, salve-o primeiro!","Remove this param":"Remova este par\xE2metro","Click on an object to select then click on the canvas to place it":"Clique em um objeto para selecionar, em seguida, clique na tela para coloc\xE1-lo","Undo/Redo temporary error":"Erro tempor\xE1rio de desfazer / refazer","We are sorry but EasyEDA is exhibiting an unpredictable error in the undo/redo process. This problem will be fixed soon but in the meanwhile it is safe to continue working on your design.":"Lamentamos, mas o EasyEDA est\xE1 exibindo um erro imprevis\xEDvel no processo de desfazer / refazer. Este problema ser\xE1 corrigido em breve, mas enquanto isso, \xE9 seguro continuar trabalhando no seu projeto.","The schematic has duplicate prefixes of the components, please make them unique. You can check them using the Design Manager.":"O esquema tem prefixos duplicados dos componentes, por favor, os torne \xFAnicos. Voc\xEA pode verific\xE1-los usando o Gerenciador de Design.","Please click the below help button to find out how to fix this problem.":"Por favor, clique no bot\xE3o de ajuda abaixo para descobrir como corrigir esse problema.","Please create a board outline! Click the help button to find out how to create a board outline.":"Por favor, crie um esbo\xE7o da placa! Clique no bot\xE3o de ajuda para descobrir como criar um esbo\xE7o da placa.","Can not fetch files from server, please check your network and try again":"N\xE3o \xE9 poss\xEDvel recuperar arquivos do servidor, verifique sua rede e tente novamente","Please open a schematic first!":"Por favor, abra um esquema primeiro!","Can not find the schematic of this PCB":"N\xE3o \xE9 poss\xEDvel encontrar o esquema deste PCB","Anonymous PCB file does not support this operation, please login and save it under your project":"Arquivo PCB an\xF4nimo n\xE3o suporta esta opera\xE7\xE3o, fa\xE7a o login e salve-o sob o seu projeto","invalid points!":"pontos inv\xE1lidos!","This file does not support this operation.":"Este arquivo n\xE3o suporta esta opera\xE7\xE3o.","Net Name Conflict":"Conflito de nome de rede","Net name":"Nome da rede","{0} are in the same wire, please remove others and just keep one.":"{0} est\xE3o no mesmo fio, por favor remova os outros e mantenha apenas um.","This field can't be removed!":"Este campo n\xE3o pode ser removido!","Annular ring of the pad/via is too small":"Annular ring do pad / via \xE9 muito pequeno","This project already has at least one schematic sheet. When converting to PCB, EasyEDA merges all schematics under the same project. One project does not allow two copies of the same schematic. Please do not save backups into projects to be converted to PCB.":"Este projeto j\xE1 tem pelo menos uma folha esquem\xE1tica. Ao converter para PCB, EasyEDA mescla todos os esquemas sob o mesmo projeto. Um projeto n\xE3o permite duas c\xF3pias do mesmo esquema. Por favor, n\xE3o salve backups em projetos para serem convertidos em PCB.","Are you sure you want to create a multi-sheet designs?":"Tem certeza de que deseja criar um design de v\xE1rias folhas?","Are you sure you want to create a {0}multi-sheet designs{1}?":"Tem certeza de que deseja criar {0} designs de v\xE1rias folhas {1}?","EasyEDA does not allow inner board outlines to form cut-outs, please use Fill Region or Hole":"A EasyEDA n\xE3o permite que os contornos da placa interna formem recortes, use Regi\xE7ao S\xF3lida ou o Furo","Please build the copper area! Click the help button to find out how to build the copper area.":"Por favor, construa a \xE1rea de cobre! Clique no bot\xE3o de ajuda para descobrir como construir a \xE1rea de cobre.","You are advised to set a package for this component now!":"Voc\xEA \xE9 aconselhado a definir um pacote para este componente agora!","Please select an opened document first.":"Por favor, selecione um documento aberto primeiro.","Some files failed to load. Please reload the page.":"Alguns arquivos n\xE3o foram carregados. Por favor recarregue a p\xE1gina.","We are heading to EasyEDA online components store LCSC.com. $10 off (code: WELCOMELCSC) on your first parts order, freight including!":"Estamos indo para a loja de componentes on-line da EasyEDA, LCSC.com. $ 10 de desconto (c\xF3digo: WELCOMELCSC) na sua primeira encomenda de pe\xE7as, incluindo frete!",Skip:"Pular","\xAB Back":"\xAB Voltar","Next \xBB":"Pr\xF3ximo \xBB",Done:"Pronto","This is the user management menu.":"Este \xE9 o menu de gerenciamento de usu\xE1rios.","This is the toolbar.":"Esta \xE9 a barra de ferramentas.","This is the navigation list. Under here you can find projects, files, parts and libraries.":"Esta \xE9 a lista de navega\xE7\xE3o. Abaixo voc\xEA pode encontrar projetos, arquivos, partes e bibliotecas.","Show or hide the toolbar to the top of the window here.":"Mostrar ou ocultar a barra de ferramentas na parte superior da janela aqui.","Show, resize or hide the left sidebar to the left of the window here.":"Mostrar, redimensionar ou ocultar a barra lateral esquerda \xE0 esquerda da janela aqui.","Show or hide the right sidebar to the right of the window here.":"Mostre ou oculte a barra lateral direita \xE0 direita da janela aqui.","Passive Components":"Componentes passivos","Power Supply":"Fonte de Alimenta\xE7\xE3o",Diodes:"Diodos",Regulator:"Regulador",Transformers:"Transformadores",Gates:"Port\xF5es","Vacuum Tubes":"Tubos de v\xE1cuo",Relay:"Rel\xE9","Capacitor(US)":"Capacitor (EUA)","Capacitor(EU)":"Capacitor (UE)","Capacitor(EU)2":"Capacitor (UE) 2","Electrolytic Capacitor(US)":"Capacitor eletrol\xEDtico (US)","Electrolytic Capacitor(EU)":"Capacitor eletrol\xEDtico (UE)","Electrolytic Capacitor(US)2":"Capacitor eletrol\xEDtico (US) 2","Electrolytic Capacitor(EU)2":"Capacitor eletrol\xEDtico (UE) 2","Inductor(US)":"Indutor (EUA)","Inductor(EU)":"Indutor (UE)","Potentiometer(US)":"Potenci\xF4metro (US)","Potentiometer(EU)":"Potenci\xF4metro (UE)","Resistor(US)":"Resistor (EUA)","Resistor(EU)":"Resistor (EU)","Resistor 45 Deg(US)":"Resistor 45 Deg (US)","Resistor 45 Deg(EU)":"Resistor 45 Deg (EU)","Variable Capacitor(US)":"Capacitor Vari\xE1vel (US)","Variable Capacitor(EU)":"Capacitor Vari\xE1vel (UE)","Variable Resistor(US)":"Resistor Vari\xE1vel (US)","Variable Resistor(EU)":"Resistor Vari\xE1vel (UE)","Variable Inductor(US)":"Indutor Vari\xE1vel (US)","Variable Inductor(EU)":"Indutor Vari\xE1vel (UE)","Inductor2(US)":"Inductor2 (US)","Inductor2(EU)":"Inductor2 (EU)",Battery:"Bateria","Voltage Source":"Fonte de tens\xE3o","Current Source":"Fonte atual","CCCS(Current Controlled Current Source)":"CCCS (corrente atual controlada)","CCCS2(Current Controlled Current Source)":"CCCS2 (corrente atual controlada)","VCCS(Voltage Controlled Current Source)":"VCCS (fonte de corrente controlada por tens\xE3o)","VCVS(Voltage Controlled Voltage Source)":"VCVS (fonte de corrente controlada por tens\xE3o)","CCVS(Current Controlled Voltage Source)":"CCVS (fonte de tens\xE3o controlada atual)","CCVS2(Current Controlled Voltage Source)":"CCVS2 (fonte de tens\xE3o controlada atual)","BV(Behavioral Voltage Sources)":"BV (Fontes de Voltagem Comportamental)","BI(Behavioral Voltage Sources)":"BI (Fontes de Voltagem Comportamental)","Epoly(Non-linear Voltage Source)":"Epoly (fonte de tens\xE3o n\xE3o linear)","Gpoly(Non-linear Current Source)":"Gpoly (fonte de corrente n\xE3o linear)",Diode:"Diodo","Schottky Diode":"Diodo Schottky","Varactor Diode":"Diodo Varactor","Unidirectional TVS Diode":"Diodo de TVS unidirecional","Bidirectional TVS Diode":"Diodo de TVS bidirecional",Bridge:"Ponte","BJT(NPN)":"BJT (NPN)","BJT(PNP)":"BJT (PNP)","MOSFET(Nch)":"MOSFET (Nch)","MOSFET(Nch) Depletion Four-pins":"MOSFET (Nch) Desvio Quatro pinos","MOSFET(Nch) Enhancement":"MOSFET (Nch) Aprimoramento","MOSFET(Nch) Enhancement Four-pins":"MOSFET (Nch) Pot\xEAncia Quatro pinos","MOSFET(Pch)":"MOSFET (Pch)","MOSFET(Pch) Depletion Four-pins":"MOSFET (Pch) Desvio Quatro pinos","MOSFET(Pch) Enhancement":"MOSFET (Pch) Aprimoramento","MOSFET(Pch) Enhancement Four-pins":"MOSFET (Pch) Pot\xEAncia Quatro pinos","JFET(Nch)":"JFET (Nch)","JFET(Pch)":"JFET (Pch)","MESFET(Nch)":"MESFET (Nch)","MESFET(Pch)":"MESFET (Pch)","Transform(US)":"Transformador (US)","Transform(EU)":"Transformador (UE)","Transfrom(NEUTRAL-CTR TAP)(US)":"Transfromador (NEUTRAL-CTR TAP) (US)","Transfrom(NEUTRAL-CTR TAP)(EU)":"Transfromador (NEUTRAL-CTR TAP) (EU)","Mutual Inductors":"Indutores M\xFAtuos","Mutual Inductors2":"Indutores M\xFAtuos2","Voltage Controlled Switch":"Interruptor Controlado por Voltagem","Current Controlled Switch":"Interruptor Controlado por Corrente",Fuse:"Fus\xEDvel","555(Style2)":"555 (Style2)","5pin Operational Amplifier":"Amplificador Operacional de 5pin","3pin Operational amplifier":"Amplificador operacional de 3 pinos","Transmission Line":"Linha de Transmiss\xE3o",Voltmeter:"Volt\xEDmetro",Ammeter:"Amper\xEDmetro",LAMP:"L\xE2mpada","Opto Transistor":"Transistor Opto","Keep these fields empty if you just want to build a symbol":"Mantenha esses campos vazios se voc\xEA quiser apenas construir um s\xEDmbolo","Need login":"Precisa de login","Bad password":"Senha incorreta","We can't find your username or your email, please check it!":"N\xE3o encontramos o seu nome de usu\xE1rio ou seu email, por favor, verifique!","Make sure your uploaded file size is less than 3MB!":"Verifique se o tamanho do arquivo enviado \xE9 menor que 3 MB!","Bad file type":"Tipo de arquivo incorreto","Empty file or bad file type, ensure your file is Eagle 6.0+":"Arquivo vazio ou tipo de arquivo inv\xE1lido, garanta que seu arquivo seja Eagle 6.0+","This operation not supported on demo account":"Esta opera\xE7\xE3o n\xE3o \xE9 suportada na conta de demonstra\xE7\xE3o","Can not share this file under a private project, please set the active project to public!":"N\xE3o \xE9 poss\xEDvel compartilhar este arquivo em um projeto privado, por favor, defina o projeto ativo para p\xFAblico!","Login Failed Too many attempts. If you forgot your password, please {0}reset your password{1} or send an email to support@easyeda.com":"Falha no login. Muitas tentativas. Se voc\xEA esqueceu sua senha, {0} redefina sua senha {1} ou envie um email para support@easyeda.com","Common Buttons Setting":"Configura\xE7\xE3o de Bot\xF5es Comuns","Show/Hide":"Mostrar / Esconder","Move Up":"Mover para Cima","Move Down":"Mover para baixo","Reset All":"Repor tudo","Find Libraries...":"Encontre bibliotecas\u2026","Place Pin":"Coloque o Pin",Permissions:"Permiss\xF5es",Operation:"Opera\xE7\xE3o","Access Control":"Controle de acesso","Project Access Control":"Projeto de Controle de acesso",Reject:"Rejeitar","Add User":"Adicionar usu\xE1rio","Bad email address":"Endere\xE7o de email incorreto","Can't find this email address in EasyEDA. Your partner must be an EasyEDA user.":"N\xE3o \xE9 poss\xEDvel encontrar este endere\xE7o de e-mail no EasyEDA. Seu parceiro deve ser um usu\xE1rio EasyEDA.","Grid Background":"Contexto da Grade","Pane Background":"Painel Background","WaveForm Config":"Configura\xE7\xE3o da Forma de Onda","Export Waveform":"Exportar forma de onda",dot:"ponto",line:"linha","A4 Portrait":"A4 retrato","A4 Landscape":"Paisagem A4","A3 Portrait":"A3 retrato","A3 Landscape":"A3 paisagem","A2 Portrait":"A2 Retrato","A2 Landscape":"A2 paisagem","A1 Portrait":"A1 retrato","A1 Landscape":"A1 paisagem",Landscape:"Paisagem",Portrait:"Retrato",solid:"s\xF3lido",dashed:"tracejado",dotted:"pontilhado","Fill Region":"Regi\xE3o S\xF3lida","Report error":"Reportar erro","Please give us some information to help us find the problem.":"Por favor, nos d\xEA algumas informa\xE7\xF5es para nos ajudar a encontrar o problema.","Cannot place parts into this document: Schematic Symbols can only be placed into a Schematic; PCB Footprints can only be placed into a PCB.":"N\xE3o \xE9 poss\xEDvel colocar partes neste documento: S\xEDmbolos esquem\xE1ticos s\xF3 podem ser colocados em um esquema; Pegadas PCB s\xF3 podem ser colocadas em um PCB.","Save it as a favorite part":"Salve como parte favorita","Only logged-in users can save this component as a Favorite Part but guest (Anonymous) users can place this component into their design directly. Would you like to place this component now?":"Somente usu\xE1rios conectados podem salvar este componente como uma Parte Favorita, mas os usu\xE1rios convidados (An\xF4nimos) podem colocar esse componente diretamente em seu design. Voc\xEA gostaria de colocar este componente agora?","Electronic circuit design - EasyEDA":"Projeto de circuito eletr\xF4nico - EasyEDA","Find libs":"Encontre libs","My Projects":"Meus projetos","My Parts":"Minhas partes","My Modules":"Meus m\xF3dulos","Assembly LCSC Components":"Componentes de Montagem da LCSC",Modules:"M\xF3dulos","SCH Modules":"M\xF3dulos SCH","PCB Modules":"M\xF3dulos PCB","System IC":"IC do sistema","LCSC (Official)":"LCSC (oficial)","Favorite Parts":"Partes Favoritas","Shared With Me":"Compartilhado Comigo",Preview:"Visualizar","Preview Window":"Janela de pr\xE9-visualiza\xE7\xE3o","System Default":"Padr\xE3o do sistema","User Defined":"Definido pelo usu\xE1rio",Theme:"Tema","Theme Setting":"Defini\xE7\xE3o de Tema",Close:"Fechar",Open:"Aberto",Collapse:"Colapso","Toggle toolbar":"Barra de altern\xE2ncia","Toggle left bar":"Alternar barra esquerda","Toggle right bar":"Alternar barra direita",Reload:"Recarregar","Bus entry x1":"Entrada de \xF4nibus x1","Bus entry x2":"Entrada de \xF4nibus x2","Bus entry y1":"Entrada de \xF4nibus y1","Bus entry y2":"Entrada de \xF4nibus y2",Yes:"Sim",No:"N\xE3o",Cancel:"Cancelar","Ask a question":"Fa\xE7a uma pergunta","Share my work":"Compartilhe meu trabalho","Go to my page":"V\xE1 para minha p\xE1gina","Bus entry":"Entrada de \xF4nibus",Filter:"Filtro","Guest Project":"Projeto Convidado","Insert into":"Inserir em","Insert into {site}":"Inserir em {site}","Upload {site}":"Carregar {site}","Copy the contents of this box into a text editor, then save the file. Paste the edited text back into this box and click Apply to update the display.":"Copie o conte\xFAdo dessa caixa em um editor de texto e salve o arquivo. Cole o texto editado de volta nesta caixa e clique em Aplicar para atualizar a exibi\xE7\xE3o.","EasyEDA format":"Formato EasyEDA","Copy the contents of this box into a text editor, then save the file with a .svg extension. You can edit it in Inkscape or open it in your browser.":"Copie o conte\xFAdo dessa caixa em um editor de texto e salve o arquivo com uma extens\xE3o .svg. Voc\xEA pode edit\xE1-lo no Inkscape ou abri-lo no seu navegador.","Content is too big to show, you can download it directly.":"O conte\xFAdo \xE9 muito grande para mostrar, voc\xEA pode baix\xE1-lo diretamente.","SVG format":"Formato SVG","SVG File":"Arquivo SVG","Description should be no more than 250 letters":"A descri\xE7\xE3o n\xE3o deve conter mais de 250 letras","The file save operation has timed out. Try again and check your Internet connection.":"A opera\xE7\xE3o de salvamento de arquivos atingiu o tempo limite. Tente novamente e verifique sua conex\xE3o com a Internet.","Export Netlist":"Exportar Netlist",Notifications:"Notifica\xE7\xF5es","Please select txt or json files.":"Por favor selecione arquivos txt ou json.","Failed to read file [{file}]":"Falha ao ler o arquivo [{file}]","[{file}] is not a valid json file":"[{file}] n\xE3o \xE9 um arquivo json v\xE1lido","Invalid parameters!":"Par\xE2metros inv\xE1lidos!",Start:"Iniciar","You have unsaved files, are you sure you want to log out without saving the files?":"Voc\xEA tem arquivos n\xE3o salvos, tem certeza de que deseja efetuar logout sem salvar os arquivos?","Please use the web version to run this function.":"Por favor, use a vers\xE3o web para executar esta fun\xE7\xE3o.","Please save this file to you project!":"Por favor, salve este arquivo para o seu projeto!","Nothing changed":"Nada mudou","Delete Node":"Excluir n\xF3","This layer is invisible.":"Essa camada \xE9 invis\xEDvel.","When the fill region is NPTH, please set the layer to Multi-Layer.":"Quando a regi\xE3o s\xF3lida for NPTH, por favor, defina a camada para Multi-Layer.","You should not try to assign a net to a NPTH fill region.":"Voc\xEA n\xE3o deve tentar atribuir uma rede a uma regi\xE3o s\xF3lida NPTH.","Net Length":"Comprimento Net","EasyEDA allows you to place a Pin in the schematic, but don't forget to group all of the Pins to a schematic component. Please click the help button to find out how to group them. If you just want to mark the wire, please use NetPort or NetLabel.":"O EasyEDA permite que voc\xEA coloque um Pin no esquema, mas n\xE3o se esque\xE7a de agrupar todos os Pins em um componente esquem\xE1tico. Por favor, clique no bot\xE3o de ajuda para descobrir como agrup\xE1-los. Se voc\xEA quiser apenas marcar o fio, use NetPort ou NetLabel.","Coming soon":"Em breve","No tool":"Nenhuma ferramenta","Help us translate into your language":"Ajude-nos a traduzir para o seu idioma","Via/Hole":"Via / Furo","PCB Layers":"Camadas de PCB","Order PCB":"Pedido PCB",Share:"Compartilhar",Free:"Livre",Small:"Pequeno",Medium:"M\xE9dio",Big:"Grande",Embed:"Incorporar","Exporting as":"Exportando como","Exporting as image":"Exportando como imagem","Exporting as {0}SVG{1} file.":"Exportando como {0} arquivo SVG {1}.","Exporting as pdf is recommended: pdf gives good quality printed output and a small file size.":"Recomenda-se exportar como pdf: o pdf fornece sa\xEDda impressa de boa qualidade e um pequeno tamanho de arquivo.","Generate Fabrication File(Gerber)":"Gerar Arquivo de Fabrica\xE7\xE3o (Gerber)","PenWidth-Increase":"Aumento da Largura da caneta","Generate Gerber":"Gerar Gerber","Gerber View":"Visualizar Gerber","Dimensions(Estimated)":"Dimens\xF5es (estimado)","PCB Qty":"PCB Qtd","Copper Weight":"Peso do Cobre","PCB Price":"Pre\xE7o do PCB","Estimated Delivery Time":"Tempo estimado de entrega","For your first time order, less than $20 discount on the freight!":"Para o seu primeiro pedido de tempo, menos de US $ 20 de desconto no frete!","HASL(with lead)":"HASL (com chumbo)","The PCB has {drcErrors} DRC errors.":"O PCB tem {drcErrors} erros de DRC.","Do you want to check the DRC errors?":"Voc\xEA quer verificar os erros do DRC?","Check DRC Errors":"Verificar erros de DRC","Ignore and Continue":"Ignorar e continuar","It will then redirect to the web site of a thirdparty JLCPCB with which we cooperate. Are you ready?":"Em seguida, ele ser\xE1 redirecionado para o site do terceiro JLCPCB com o qual n\xF3s cooperamos. Voc\xEA est\xE1 pronto?","Failed to submit your order, please contact us via support@easyeda.com for help.":"Falha ao enviar seu pedido, entre em contato conosco pelo support@easyeda.com para obter ajuda.","@@generateGerber][gerarGerber":{Layers:"Camadas"},"Create a new Project...":"Crie um novo projeto\u2026","Create a new Schematic":"Crie um novo esquema","Create a new Schematic Lib":"Crie um novo Schematic Lib","Create a new Spice Symbol":"Crie um novo s\xEDmbolo Spice","Create a new Spice Subckt":"Crie um novo Spice Subckt","Create a new PCB":"Crie um novo PCB","Create a new PCB Lib":"Crie um novo PCB Lib","Create a new Schematic Module":"Crie um novo m\xF3dulo esquem\xE1tico","Create a new PCB Module":"Crie um novo m\xF3dulo PCB","Export your file, then print it yourself.":"Exporte seu arquivo e imprima voc\xEA mesmo.","Trace width is too small":"A largura do tra\xE7o \xE9 muito pequena","Images Attribute":"Atributo de Imagens","Connect Pad to Pad":"Conecte o Pad ao Pad","Copper Area":"\xC1rea de Cobre",Dimension:"Dimens\xE3o","Please check that you have used Wire and not Line to connect electrical elements.":"Por favor, verifique se voc\xEA usou Fio e n\xE3o Linha para conectar elementos el\xE9tricos.","PCB Fabrication Prices & capabilities":"Pre\xE7os e capacidades de fabrica\xE7\xE3o de PCBs","Flip all texts on bottom layer":"Inverta todos os textos na camada inferior","Create New Document":"Criar novo documento","General Package":"Pacote Geral","General Packages":"Pacotes Gerais","favorite Package":"Pacote favorito","Through Hole":"Atrav\xE9s do furo","Surface Mount":"Montagem de Superf\xEDcie","Markdown Syntax":"Sintaxe de Markdown","Markdown supported":"Suporte ao Markdown","Read only":"Somente leitura","Read/Write":"Leitura / grava\xE7\xE3o","More Libraries...":"Mais bibliotecas...","Decompress failed!":"Falha na descompress\xE3o!","Load failed!":"Erro de carregamento!","Loading...":"Carregando\u2026","No Result":"Nenhum resultado","Place Pin in schematic warning":"Coloque o pino no aviso esquem\xE1tico","EasyEDA allows you to place a Pin in schematic, but don't forget to group all of the Pins to a schematic component, please click the help button to find out how to group them. If you just want to mark the wire, please use NetPort or NetNabel.":"EasyEDA permite que voc\xEA coloque um Pin no esquema, mas n\xE3o se esque\xE7a de agrupar todos os pinos para um componente esquem\xE1tico, por favor, clique no bot\xE3o de ajuda para descobrir como agrup\xE1-los. Se voc\xEA quiser apenas marcar o fio, use NetPort ou NetNabel.","I know. Do not show this again.":"Eu sei. N\xE3o mostre isso novamente.","Extensions Setting":"Configura\xE7\xE3o de Extens\xF5es",Remove:"Remover",Disable:"Desativar",Enable:"Ativar","(Disabled)":"(Desativado)","(Enabled)":"(Habilitado)","Load Extension":"Carregar extens\xE3o","Enable or disable will be applied after reload page":"Ativar ou desativar ser\xE1 aplicado ap\xF3s recarregar a p\xE1gina","Your browser cannot run this function.":"Seu navegador n\xE3o pode executar esta fun\xE7\xE3o.","Extension Files":"Arquivos de Extens\xE3o","Extension ID":"ID de extens\xE3o","Select Files":"Selecione Arquivos","Script Content":"Conte\xFAdo do Script","Load from js file":"Carregar do arquivo js","UTF-8 encoded js file":"Arquivo js codificado em UTF-8",Description:"Descri\xE7\xE3o",description:"descri\xE7\xE3o","Not a *.js file":"N\xE3o \xE9 um arquivo *.js","Failed to read file":"Falha ao ler o arquivo","System scripts cannot be modified":"Scripts do sistema n\xE3o podem ser modificados","Create Subfolder":"Criar subpasta","Create Script":"Criar Script","Install Script":"Instalar script",Install:"Instalar","Are you sure you want to remove this script?":"Tem certeza de que deseja remover este script?","Folder Name":"Nome da pasta",Rename:"Renomear","Please select a script":"Por favor selecione um script","Failed to load script":"Falha ao carregar script","Run Script":"Executar script","Load Script":"Carregar Script","Title is required":"T\xEDtulo \xE9 obrigat\xF3rio","Script content is required":"O conte\xFAdo do script \xE9 obrigat\xF3rio","System Scripts":"Scripts do sistema","User Scripts":"Scripts do usu\xE1rio","You can right click on the tree nodes.":"Voc\xEA pode clicar com o bot\xE3o direito nos n\xF3s da \xE1rvore.","Top Side":"Lado Superior","Bottom Side":"Lado Inferior","With Silk Layer":"Com camada Silk","No Silk Layer":"Sem camada Silk","Photo View":"Visualiza\xE7\xE3o da foto","Check Update":"Verificar atualiza\xE7\xE3o","EasyEDA Editor {ver} is released. Would you like to switch to the new version now?":"O editor EasyEDA {ver} foi lan\xE7ado. Gostaria de mudar para a nova vers\xE3o agora?","Switch to New Version":"Mudar para nova vers\xE3o","Next Time":"Outra Hora","Generating download link...":"Gerando link de download...","Download project now":"Baixe o projeto agora","Import DXF":"Importar DXF","DXF Unit":"Unidade DXF","Convert circle to HOLE on BoardOutLine layer":"Trate o c\xEDrculo como FURO na camada BoardOutLine","No shapes found":"Nenhuma forma encontrada","Fail to load the file":"Falha ao carregar o arquivo","Please select a DXF file.":"Por favor, selecione um arquivo DXF.","This feature only works for PCB document.":"Este recurso s\xF3 funciona para documentos PCB.","Select a DXF file":"Selecione um arquivo DXF","Data Sync":"Sincroniza\xE7\xE3o de dados","Data Conflicts":"Conflitos de dados","Project or Document":"Projeto ou Documento","Cloud-Side":"Lado da nuvem","Local-Side":"Lado Local",Decision:"Decis\xE3o",Modified:"Modificado",Deleted:"Exclu\xEDdo","As Cloud":"Como nuvem","As Local":"Como local","Data sync completed":"Sincroniza\xE7\xE3o de dados conclu\xEDda",Team:"Equipe",Teams:"Equipes","Switching team":"Trocando equipe","Switch team failed":"Falha na troca de equipe","Load team info fail!":"Falha ao carregar informa\xE7\xF5es da equipe!","Load team info fail! Please reload.":"Falha ao carregar informa\xE7\xF5es da equipe! Por favor, recarregue.","My Teams":"Minhas equipes","Create Team":"Criar equipe","Footprint Manager":"Gerenciador de pegada","Schematic Components":"Componentes esquem\xE1ticos","Edit Pin Map Information":"Editar informa\xE7\xF5es do mapa de pinos","Package Categories":"Categorias de pacote","Components List":"Lista de Componentes",Personal:"Pessoal","Component PIN information":"Informa\xE7\xE3o do PIN do componente","Footprint PAD information":"Informa\xE7\xF5es sobre a pegada do PAD","Footprint Categories":"Categorias de pegada","Pad Number":"N\xFAmero do Pad","Search PCB Libs":"Pesquisar PCB Libs","Filter by keyword":"Filtrar por palavra-chave","System Libs":"Libs do sistema",Drawings:"Desenhos","Netlabel and netFlag":"Netlabel e netFlag",Texts:"Textos",Wires:"Fios","Board outlines":"Contornos da placa",Footprints:"Pegadas",Footprint:"Pegada",Tracks:"Trilhas","width and height":"largura e altura","Create rectangular board":"Criar quadro retangular","Create circular board":"Crie uma placa circular",radius:"raio","Create round rectangular board":"Criar uma placa retangular redonda","only number is allowed!":"somente n\xFAmero \xE9 permitido!","please input valid value of width!":"por favor introduza um valor v\xE1lido de largura!","please input valid value of height!":"por favor introduza um valor v\xE1lido de altura!","please input valid value of radius!":"por favor introduza um valor v\xE1lido de raio!","The object you selected was not found in other documents.":"O objeto selecionado n\xE3o foi encontrado em outros documentos.","No valid object for cross probe selected.":"Nenhum objeto v\xE1lido para a sonda cross selecionada.","Can not probe. Refreshing the window may get it to work.":"N\xE3o pode sondar. A atualiza\xE7\xE3o da janela pode fazer com que ela funcione.","You need to login for this function to work.":"Voc\xEA precisa fazer o login para esta fun\xE7\xE3o funcionar.","An Easier EDA Experience":"Uma experi\xEAncia EDA mais f\xE1cil",Version:"Vers\xE3o","Sorry, your web browser does not support this feature. Please run a modern browser.":"Desculpe, o seu navegador n\xE3o suporta este recurso. Por favor, execute em um navegador moderno.","Please make sure all components are inside the board outline!":"Por favor, certifique-se de que todos os componentes est\xE3o dentro do contorno da placa!","Cannot start again before previous activity is stopped":"N\xE3o \xE9 poss\xEDvel iniciar novamente antes que a atividade anterior seja interrompida","Please select a net":"Por favor, selecione uma net","Router completed successfully.":"Roteador conclu\xEDdo com sucesso.","Router is time out.":"O roteador esgotou o tempo limite.","Server is busy, please try again later.":"O servidor est\xE1 ocupado, por favor, tente novamente mais tarde.","Due to the limitation of {0}router server{1} resources, multiple routers executing concurrently are not supported, please try again later or do it manually :-)":"Devido \xE0 limita\xE7\xE3o dos recursos do {0} servidor de roteadores {1}, v\xE1rios roteadores em execu\xE7\xE3o concorrente n\xE3o s\xE3o suportados, tente novamente mais tarde ou fa\xE7a-o manualmente :-)","Track Width is invalid":"Largura da trilha \xE9 inv\xE1lido","General Clearance is invalid":"O espa\xE7o geral \xE9 inv\xE1lida","SMD Clearance is invalid":"Espa\xE7o SMD \xE9 inv\xE1lido","Diameter is invalid":"O di\xE2metro \xE9 inv\xE1lido","Drill Diameter is invalid":"O di\xE2metro da broca \xE9 inv\xE1lido","Track width cannot be less than DRC setting value.":"A largura da trilha n\xE3o pode ser menor que o valor da configura\xE7\xE3o DRC.","General Clearance cannot be less than DRC setting value.":"O espa\xE7o geral n\xE3o pode ser menor que o valor de configura\xE7\xE3o da DRC.","SMD Clearance cannot be less than DRC setting value.":"O espa\xE7o SMD n\xE3o pode ser menor que o valor de configura\xE7\xE3o DRC.","Hole size cannot be less than DRC setting value.":"O tamanho do furo n\xE3o pode ser menor que o valor de configura\xE7\xE3o do DRC.","Diameter must be greater than hole size.":"O di\xE2metro deve ser maior que o tamanho do furo.","Clearance cannot be less than DRC setting value.":"A folga n\xE3o pode ser menor que o valor de configura\xE7\xE3o da DRC.","Not a valid PCB, please check it again":"N\xE3o \xE9 um PCB v\xE1lido, por favor, verifique novamente","Previous connection must be closed":"Conex\xE3o anterior deve estar fechada","Network error. Please try again.":"Erro de rede. Por favor, tente novamente.","Router error.":"Erro do roteador.","Invalid PCB.":"PCB inv\xE1lido.","General Clearance":"Espa\xE7o Geral","SMD Clearance":"Espa\xE7o SMD","Skip Routed Nets":"Ignorar redes roteadas","Remove Existing Tracks":"Remover faixas existentes","Realtime Display":"Exibi\xE7\xE3o em Tempo Real","Router Layers":"Camadas de Roteador",Special:"Especial","Special Nets":"Net Especiais","Skip Nets":"Pular Nets","Router Server":"Servidor Router",Cloud:"Nuvem",Available:"Dispon\xEDvel",Unavailable:"Indispon\xEDvel",Checking:"Verifica\xE7\xE3o","How to use this?":"Como usar isso?","How to enable?":"Como habilitar?","Checking local auto router server...":"Verificando o servidor do roteador autom\xE1tico local\u2026","Stop Router":"Parar Roteador","Auto Router is running...":"Auto Routeamento est\xE1 rodando\u2026","Design Manager":"Gerenciamento de Design",Libraries:"Bibliotecas",Shared:"Compartilhado","Supply Flag":"Bandeira de suprimento","US Style":"Padr\xE3o dos EUA","EU/IEC Style":"Padra\xF5 EU / IEC",Connector:"Conector","Switch/Relay":"Interruptor / Rel\xE9","Font Height":"Altura da Fonte",Precision:"Precis\xE3o",Protractor:"Transferidor","Changing line width won't work for silhouette fonts.":"Alterar a largura da linha n\xE3o funcionar\xE1 para fontes de silhueta.","Font is missing! You can confirm the dialog and use default font instead or cancel the dialog then upload your font and do it again.":"Est\xE1 faltando a fonte! Voc\xEA pode confirmar a caixa de di\xE1logo e usar a fonte padr\xE3o ou cancelar a caixa de di\xE1logo e, em seguida, carregar sua fonte e faz\xEA-lo novamente.",Owner:"Propriet\xE1rio",License:"Licen\xE7a","Part Pins":"Pinos de Pe\xE7a","Net Pins":"Pinos da Net","Add Parameter":"Adicionar Par\xE2metro","Histories record":"Registro de Hist\xF3rias","The Package of the SchematicLib doesn't match the PCBLib":"O pacote do SchematicLib n\xE3o corresponde ao PCBLib","No package":"Nenhum pacote","Can't find the package":"N\xE3o \xE9 poss\xEDvel encontrar o pacote","The path is for the project URL identify, it is unique (the identity of the project owned by the user cannot be the same)":"O caminho \xE9 para a identifica\xE7\xE3o do URL do projeto, \xE9 \xFAnico (a identidade do projeto pertencente ao usu\xE1rio n\xE3o pode ser a mesma)","It's with a letter or a number and can contain only numbers, letters, line-through, underscores, and points. It cannot be modified after saving.":"\xC9 com uma letra ou um n\xFAmero e pode conter apenas n\xFAmeros, letras, linhas, sublinhados e pontos. N\xE3o pode ser modificado depois de salvar.","Updating document to new format, please wait......After finishing please save your document with Ctrl + S.":"Atualizando documento para novo formato, por favor aguarde...  Depois de terminar, por favor salve seu documento com Ctrl + S.","Open at current project?":"Aberto no projeto atual?","Please select a history to recover.":"Por favor, selecione um hist\xF3rico para recuperar.",'Be careful! When you click the "Recover" button, this sheet will be overwritten!':'Seja cuidadoso! Quando voc\xEA clica no bot\xE3o "Recuperar", esta folha ser\xE1 substitu\xEDda!',Recover:"Recuperar","Save As a New Project":"Salvar como um novo projeto","There is no PCB under this project, would you like to create one?":"N\xE3o h\xE1 PCB sob este projeto, voc\xEA gostaria de criar um?","Please make sure that the chose Altium Designer files are saved as ASCII files.":"Por favor, certifique-se de que os arquivos escolhidos pelo Altium Designer s\xE3o salvos como arquivos ASCII.","Please make sure that the chose Eagle files are saved in Eagle v6.0 and above.":"Por favor, certifique-se de que os arquivos Eagle escolhidos est\xE3o salvos no Eagle v6.0 e superiores.","Please make sure that the Kicad files were compressed as the .zip file.":"Por favor, certifique-se de que os arquivos do Kicad foram compactados como arquivos .zip.","Open Altium Designer file":"Abra o arquivo Altium Designer","Open Eagle file":"Arquivo Open Eagle","Open Kicad file":"Abra o arquivo Kicad","Select file(s)":"Selecione arquivo(s)","Append to current project?":"Anexar ao projeto atual?",Append:"Anexar","Open as new project":"Abrir como novo projeto","Tip: Press {0}SPACE{1} or {2}R{3} to rotate the placing object or selected object.":"Dica: Pressione {0} ESPA\xC7O {1} ou {2} R {3} para girar o objeto de coloca\xE7\xE3o ou o objeto selecionado.","Hotkeys Setting":"Configura\xE7\xE3o de Teclas de Atalho","I know. Don't show this again.":"Eu sei. N\xE3o mostre isso novamente.","Manufacturer Part Number can not be less than 2 characters.":"O n\xFAmero da pe\xE7a do fabricante n\xE3o pode ter menos de 2 caracteres.","This prefix was changed to non-subpart format.":"Este prefixo foi alterado para o formato n\xE3o-subparte.","Save as New Project":"Salvar como novo projeto","Save to Existing Project":"Salvar no projeto existente","Sheet Setting":"Configura\xE7\xE3o de Folha","Sheet Size":"Tamanho da folha","Invalid Data":"Dados inv\xE1lidos",Others:"Outros","You are not authorized to share this project.":"Voc\xEA n\xE3o est\xE1 autorizado a compartilhar este projeto.","This project is private: if you continue sharing it will be made public.":"Este projeto \xE9 privado: se voc\xEA continuar compartilhando, ser\xE1 tornado p\xFAblico.","Modify file info":"Modificar informa\xE7\xF5es do arquivo","Please input search keyword":"Por favor insira a palavra-chave de pesquisa","Sort By":"Ordenar por","Date Created":"Data de cria\xE7\xE3o","Date Modified":"Data de modifica\xE7\xE3o",Title:"T\xEDtulo",Ascending:"Ascendente",Descending:"Descendente","Pin to Top":"Pino para o Topo","Unpin from Top":"Soltar Pino do Topo","Expand All":"Expandir tudo","Collapse All":"Recolher tudo","Your file hasn't been saved. Would you like to save it now?":"Seu arquivo n\xE3o foi salvo, voc\xEA quer salv\xE1-lo?","Don't Save":"N\xE3o salvar","Library Owner:":"Propriet\xE1rio da biblioteca:",State:"Estado","Please select!":"Por favor, selecione!",Route:"Rota","Import successfully:":"Importar com sucesso:","Import failed:":"Falha na importa\xE7\xE3o:","The title must be between 2~128 characters.":"O t\xEDtulo deve ter entre 2 e 128 caracteres.","Path only contain 'a-z\u3001A-Z\u3001- \u3001 _ \u30010-9'!":"O caminho cont\xE9m apenas 'a-z' A-Z '- \u3001 _ \u3001 0-9'!","Path must begin as 'a-z\u3001A-Z\u30010-9'!":"O caminho deve come\xE7ar como 'a-z' A-Z '0-9'!","The path length must be between 4~128 characters!":"O comprimento do caminho deve estar entre 4 ~ 128 caracteres!","The title length must be between 2~256 characters!":"O tamanho do t\xEDtulo deve estar entre 2 e 256 caracteres!","Do you want to delete this file?":"Voc\xEA quer apagar este arquivo?","Add sub part success":"Sub-parte adicionado com sucesso","Please input name and prefix!":"Por favor insira o nome e o prefixo!","Board outlines are not closed":"Os contornos da placa n\xE3o est\xE3o fechados",'The Pins "{0}" are not snapped on the grid point! This part maybe will cause some errors in the schematic.':'Os pinos "{0}" n\xE3o s\xE3o encaixados no ponto da grade! Esta parte talvez cause alguns erros no esquema.',"Check Pin":"Verifique o Pin","Failed to read {0}":"Falha ao ler {0}","{0} is invalid":"{0} \xE9 inv\xE1lido","{0} not found":"{0} n\xE3o encontrado","Failed to execute script:":"Falha ao executar script:","One or more js files not found":"Um ou mais arquivos js n\xE3o encontrados","Only ONE {0} file is required":"Apenas UM {0} arquivo \xE9 necess\xE1rio","Extension ID is required":"O ID de extens\xE3o \xE9 obrigat\xF3rio","Extension ID is invalid":"O ID da extens\xE3o \xE9 inv\xE1lido","Extension ID is duplicated":"O ID da extens\xE3o \xE9 duplicado","No Result!":"Nenhum resultado!","Load Error":"Erro de carga",loading:"carregamento","Failed to load spice data":"Falha ao carregar dados do Spice","Update successfully!":"Atualiza\xE7\xE3o feita com sucesso!","Pin Information:":"Informa\xE7\xE3o de Pin:","Incorrect format, please check!":"Formato incorreto, por favor, verifique!","Round Radius":"Raio Redondo","Keyword:":"Palavra chave:","Image Attribute":"Atributo de Imagem",Locked:"Bloqueado","Unlock All":"Desbloquear todos",Unlock:"Desbloquear",Lock:"Bloqueio","Please input pin name and pin number!":"Por favor insira o nome e o n\xFAmero do pino!","Left-Hand Panel":"Painel Canhoto","Right-Hand Panel":"Painel Destro","Update from Libraries":"Atualizar a partir das Bibliotecas","Update All from Libraries":"Atualizar tudo a partir das bibliotecas","The pin number(s) can't find the same pad number(s)":"O(s) n\xFAmero(s) dos pinos n\xE3o podem encontrar o(s) mesmo(s) n\xFAmero(s) do(s) bloco(s)",Designator:"Designador",Replace:"Substituir","Update fail":"Falha de atualiza\xE7\xE3o","Update succuss":"Atualizado com sucesso","Update failed!":"Atualiza\xE7\xE3o falhou!","Update succuss!":"Atualizado com sucesso!",Change:"Trocar","Check the Packages":"Verifique os pacotes","Network Error!":"Erro de rede!","Find Similar Objects":"Encontre Objetos Similares","Current Sheet":"Folha atual","All Sheets":"Todas as folhas",Kind:"Tipo",Range:"Faixa","Prefix or Name invalid!":"Prefixo ou Nome inv\xE1lido!","Net Label/Net Flag/Net Port/Voltage Probe":"R\xF3tulo Net / Bandeira Net / PortaNet / Sonda de Tens\xE3o","Bezier/Freehand Draw":"B\xE9zier / Desenho a m\xE3o livre","Arc/Pie":"Arco / Pie","Objects Attributes":"Atributos de Objetos","Distribute Array":"Distribuir Matriz",Any:"Qualquer",Same:"Mesmo",Different:"Diferente","Array Type":"Tipo de Matriz","Matrix Array":"Matriz Matriz","Circular Array":"Array Circular","Item Rotation":"Rota\xE7\xE3o do Item",Location:"Localiza\xE7\xE3o","Items per Column":"Itens por Coluna","Items per Row":"Itens por linha","Column Spacing":"Espa\xE7amento da Coluna","Row Spacing":"Espa\xE7amento entre Linhas","Spacing(Degrees)":"Espa\xE7amento (Graus)","Start Degree":"Grau inicial","Rotate Item to Match":"Rodar Item para Corresponder",Clockwise:"Sentido hor\xE1rio","Anti-Clockwise":"Anti-hor\xE1rio","Distribute by":"Distribuir por",Column:"Coluna",Row:"Linha","Create Solder Mask":"Criar m\xE1scara de solda","{0} font is missing. Please add the font to the font family list.":'A fonte "{0}" est\xE1 faltando. Por favor, adicione a fonte \xE0 lista da fam\xEDlia de fontes.',"Place Component":"Coloque o componente","Delete Segment":"Excluir segmento",Angle:"\xC2ngulo","Board Thickness":"Espessura da placa","Layer Distance":"Dist\xE2ncia de Camada","Silk Screen":"Tela de seda","Surface Finish Color":"Cor de Acabamento da Superf\xEDcie",Colors:"Cores","Board Color":"Cor da placa","Board Side":"Lado da placa","Silk Screen Color":"Cor da tela de seda",Foreground:"Primeiro plano","Part Graphics":"Gr\xE1ficos de Pe\xE7a","Common Used":"Mais Usado","Original Theme":"Tema Original","Change the theme colors of your design":"Mude as cores do tema do seu design","White on Black":"Branco em preto","Black on White":"Preto em branco","Theme Setting...":"Defini\xE7\xE3o de Tema\u2026","Theme List":"Lista de temas",Draw:"Desenho","The original theme only works for placing the new symbols.":"O tema original s\xF3 funciona para colocar os novos s\xEDmbolos.","Selection Highlight":"Destaque de sele\xE7\xE3o","Net Label / Port":"R\xF3tulo Net / Porta","My Theme":"Meu tema","My Theme Settings":"Minhas configura\xE7\xF5es de tema","Apply 'My Theme' On":"Aplicar 'Meu tema'","Creating New Schematic":"Criando Novo Esquema","Opening Existed Schematic":"Abrindo o esquema existente","Please fill in all parameters!":"Por favor, preencha todos os par\xE2metros!","Convert to NPTH":"Converter para NPTH","Reset Prefix Position":"Repor Posi\xE7\xE3o do Prefixo",Top:"Topo",Bottom:"Fundo",Left:"Esquerda",Right:"Direita","Does not support multiple objects to convert to NPTH at the same time":"N\xE3o suporta v\xE1rios objetos para converter para NPTH ao mesmo tempo",Substrate:"Substrato","3D View":"Visualiza\xE7\xE3o 3D","Pin Color":"Cor do Pino","Name Color":"Nome da Cor","Number Color":"Cor do N\xFAmero",Dot:"Ponto","@@theme][tema":{Sheet:"Folha"},"@@history-dlg][hist\xF3ria-dlg":{Number:"N\xFAmero"},"View File History":"Visualizar Hist\xF3rico do Arquivo","Save Time":"Economize Tempo","Invalid format":"Formato inv\xE1lido","Round Pad / Via":"Pad Redondo / Via","Rectangle / Oval / Polygon Pad":"Ret\xE2ngulo / Oval / Pol\xEDgono Pad","Applying Teardrops":"Aplicando Teardrops",Waiting:"Esperando","No schematic in the project!":"Nenhum esquema no projeto!","Border and Marking":"Fronteira e Marca\xE7\xE3o","Create Border":"Criar Borda","Border Height":"Altura da Borda","Border Position":"Posi\xE7\xE3o da Fronteira","Create Positioning Holes":"Criar furos de posicionamento","Create Fiducial Marks":"Criar marcas fiduci\xE1rias","Top and Bottom":"Superior e Inferior","Left and Right":"Esquerda e Direita","@@editPathPoints-dlg][editPathPoints-dlg":{"Arc(R)":"Arco(R)",Type:"Tipo",Action:"A\xE7\xE3o","add before":"adicionar antes","add after":"adicione depois"},"@@editPolygonPoints-dlg][editPolygonPoints-dlg":{Action:"A\xE7\xE3o","add before":"adicionar antes","add after":"adicione depois"},"You have unconfirmed edit!":"Voc\xEA tem uma edi\xE7\xE3o n\xE3o confirmada!","Invalid edit!":"Edi\xE7\xE3o inv\xE1lida!","PCB Information...":"Informa\xE7\xE3o do PCB...","Signal Layers":"Camadas de Sinal","None Signal Layers":"Nenhum Camada Signal","Surface Pads":"Pads de Superf\xEDcie","Plated Through-hole Pads":"Pads inseridos em orif\xEDcios","None Plated Through-hole Pads":"Nenhum Pad inserido em orif\xEDcio",Holes:"Furos","Length of Tracks":"Comprimento de Trilhas","Copper Areas":"\xC1reas de cobre","Differential Pair Routing":"Roteamento Diferencial de Pares","Differential Pair Rule Setting":"Ajuste da Regra de Par Diferencial","Please input track width":"Por favor, insira a largura da faixa","Please input clearance":"Por favor introduza espa\xE7o","Track Length Tunning...":"Ajuste do Comprimento da Trilha\u2026","Tracks with different net or non-track found in current targets.":"Faixas com rede ou n\xE3o rastreio diferentes encontradas nos destinos atuais.","Please select the signal tracks to be tunning.":"Por favor, selecione as faixas de sinal para sintonizar.","The total length exceeds the DRC constraint, continue ?":"O comprimento total excede a restri\xE7\xE3o DRC, continuar?","45\xB0 Angle":"\xC2ngulo de 45 \xB0","90\xB0 Angle":"\xC2ngulo de 90 \xB0","DRC Track Length :":"Comprimento da faixa DRC:","Current Length :":"Comprimento Atual:","Additional Length :":"Comprimento Adicional:","Target Length:":"Comprimento Alvo:","Current Length:":"Comprimento Atual:","can not connect to the server":"n\xE3o pode conectar-se ao servidor","Copper Area Manager...":"Gerenciamento da \xC1rea de Cobre\u2026","Copper Area Manager":"Gerenciamento da \xC1rea de Cobre",Order:"Ordem","Copper Area do not allow self-intersection!":"\xC1rea de Cobre n\xE3o permite auto-interse\xE7\xE3o!","No copper area!":"Nenhuma \xE1rea de cobre!",Verification:"Verifica\xE7\xE3o",Symbol:"S\xEDmbolo","Pad Size":"Tamanho do Pad",Remark:"Coment\xE1rio",Correct:"Correto",Incorrect:"Incorreto","Package polarity match the symbol":"A polaridade do pacote corresponde ao s\xEDmbolo",Submit:"Submeter",Tip:"Dica","Please select one component":"Por favor selecione um componente","Location X":"Localiza\xE7\xE3o X","Location Y":"Localiza\xE7\xE3o Y","Your current browser doesn't support EasyEDA editor. Please use the latest version of Chrome or Firefox, or try EasyEDA Client:":"Seu navegador atual n\xE3o suporta o editor EasyEDA. Por favor, use a \xFAltima vers\xE3o do Chrome ou Firefox, ou tente EasyEDA Client:","EasyEDA Client":"Cliente EasyEDA","New Version":"Nova vers\xE3o","Switch Version":"Vers\xE3o do Comutador",Member:"Membro","Update Time":"Atualizar hora","This component is verified":"Este componente \xE9 verificado","This component is unmounted":"Este componente \xE9 desmontado","Find Next":"Encontrar pr\xF3ximo","Object not found":"Objeto n\xE3o encontrado"};var Zoi={User:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C","Join...":"\u041F\u0440\u0438\u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u044C\u0441\u044F...","Login...":"\u0412\u043E\u0439\u0442\u0438...","Log in":"\u0412\u043E\u0439\u0442\u0438",Logout:"\u0412\u044B\u0439\u0442\u0438","Change password...":"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C...","User Preference":"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",Crash:"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0431\u0435\u043A\u0430\u043F...","Invite friends...":"\u041F\u0440\u0438\u0433\u043B\u0430\u0441\u0438\u0442\u044C \u0434\u0440\u0443\u0437\u0435\u0439...",Language:"\u042F\u0437\u044B\u043A","Language Setting":"\u042F\u0437\u044B\u043A\u043E\u0432\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",English:"English (English)","Fran\xE7ais (French)":"Fran\xE7aise (French)","\u6B63\u9AD4\u4E2D\u6587 (Chinese - Traditional)":"\u7E41\u4F53\u4E2D\u6587 (Chinese - Traditional)","Document Recovery":"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u043F\u043E\u0441\u043B\u0435 \u043F\u0430\u0434\u0435\u043D\u0438\u044F","Your Preferences Information":"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043F\u043E \u0432\u0430\u0448\u0438\u043C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u043C",File:"\u0424\u0430\u0439\u043B",New:"\u041D\u043E\u0432\u044B\u0439","Project...":"\u041F\u0440\u043E\u0435\u043A\u0442...",Schematic:"\u0421\u0445\u0435\u043C\u0430","Schematic Lib":"\u0411\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u043E\u0432",PCB:"\u041F\u0435\u0447\u0430\u0442\u043D\u0430\u044F \u043F\u043B\u0430\u0442\u0430","PCB Lib":"\u0411\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430 \u043A\u043E\u0440\u043F\u0443\u0441\u043E\u0432","Schematic Module":"\u041C\u043E\u0434\u0443\u043B\u044C \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u043E\u0432","PCB Module":"\u041C\u043E\u0434\u0443\u043B\u044C \u043A\u043E\u0440\u043F\u0443\u0441\u043E\u0432","EasyEDA File...":"\u0424\u0430\u0439\u043B EasyEDA...","Save...":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C...","Save As...":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043A\u0430\u043A...","Save As Module...":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043A\u0430\u043A \u043C\u043E\u0434\u0443\u043B\u044C...",Print:"\u041F\u0435\u0447\u0430\u0442\u044C","Export Document":"\u042D\u043A\u0441\u043F\u043E\u0440\u0442 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430",Import:"\u0418\u043C\u043F\u043E\u0440\u0442","Super Menu":"\u0421\u0443\u043F\u0435\u0440-\u043C\u0435\u043D\u044E",Edit:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C",Undo:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",Redo:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C",Cut:"\u0412\u044B\u0440\u0435\u0437\u0430\u0442\u044C",Copy:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",Paste:"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C",Select:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",Delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",Clear:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",Move:"\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C",Drag:"\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u044C","Bring to Front":"\u041D\u0430 \u043F\u0435\u0440\u0435\u0434\u043D\u0438\u0439 \u043F\u043B\u0430\u043D","Send to Back":"\u041D\u0430 \u0437\u0430\u0434\u043D\u0438\u0439 \u043F\u043B\u0430\u043D",Align:"\u0412\u044B\u0440\u043E\u0432\u043D\u044F\u0442\u044C","Align Left":"\u0412\u044B\u0440\u043E\u0432\u043D\u044F\u0442\u044C \u043F\u043E \u043B\u0435\u0432\u043E\u043C\u0443 \u043A\u0440\u0430\u044E","Align Right":"\u0412\u044B\u0440\u043E\u0432\u043D\u044F\u0442\u044C \u043F\u043E \u043F\u0440\u0430\u0432\u043E\u043C\u0443 \u043A\u0440\u0430\u044E","Align Top":"\u0412\u044B\u0440\u043E\u0432\u043D\u044F\u0442\u044C \u043F\u043E \u0432\u0435\u0440\u0445\u043D\u0435\u043C\u0443 \u043A\u0440\u0430\u044E","Align Bottom":"\u0412\u044B\u0440\u043E\u0432\u043D\u044F\u0442\u044C \u043F\u043E \u043D\u0438\u0436\u043D\u0435\u043C\u0443 \u043A\u0440\u0430\u044E","Align Horizontal Centers":"\u0412\u044B\u0440\u043E\u0432\u043D\u044F\u0442\u044C \u043F\u043E \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u0438","Align Vertical Centers":"\u0412\u044B\u0440\u043E\u0432\u043D\u044F\u0442\u044C \u043F\u043E \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u0438","Distribute Horizontally":"\u0420\u0430\u0441\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u043F\u043E \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u0438","Distribute Vertically":"\u0420\u0430\u0441\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u043F\u043E \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u0438","Distribute Left Edges Equidistantly":"\u0420\u0430\u0441\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u0440\u0430\u0432\u043D\u043E\u043C\u0435\u0440\u043D\u043E \u0441\u043B\u0435\u0432\u0430","Distribute Top Edges Equidistantly":"\u0420\u0430\u0441\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u0440\u0430\u0432\u043D\u043E\u043C\u0435\u0440\u043D\u043E \u0441\u0432\u0435\u0440\u0445\u0443","Align Grid":"\u0412\u044B\u0440\u043E\u0432\u043D\u044F\u0442\u044C \u0441\u0435\u0442\u043A\u0443",Rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C","Rotate Left":"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043D\u0430\u043B\u0435\u0432\u043E","Rotate Right":"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043E","Flip Horizontal":"\u041E\u0442\u0440\u0430\u0437\u0438\u0442\u044C \u043F\u043E \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u0438","Flip Vertical":"\u041E\u0442\u0440\u0430\u0437\u0438\u0442\u044C \u043F\u043E \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u0438","Rotate and Flip":"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438 \u043E\u0442\u0440\u0430\u0437\u0438\u0442\u044C","Group/Ungroup":"\u0413\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C/\u0420\u0430\u0437\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",View:"\u0412\u0438\u0434",Find:"\u041D\u0430\u0439\u0442\u0438","Zoom In":"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C","Zoom Out":"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C","Fit in Window":"\u0412\u043F\u0438\u0441\u0430\u0442\u044C \u0432 \u043E\u043A\u043D\u043E",Refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",Snap:"\u0421\u0434\u0432\u0438\u0433 \u043F\u043E \u0441\u0435\u0442\u043A\u0435",Toolbars:"\u041F\u0430\u043D\u0435\u043B\u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432","Drawing Tools":"\u0418\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u044B \u0440\u0438\u0441\u043E\u0432\u0430\u043D\u0438\u044F","Wiring Tools":"\u0421\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F","Power Objects":"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u043F\u0438\u0442\u0430\u043D\u0438\u044F","PCB Tools":"\u0418\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u044B \u043F\u043B\u0430\u0442\u044B","PCBLib Tools":"\u0418\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u044B \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438 \u043A\u043E\u0440\u043F\u0443\u0441\u043E\u0432","Layers Tool":"\u0421\u043B\u043E\u0438","Layer Setting":"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0441\u043B\u043E\u0451\u0432","Net Visible":"\u0412\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C \u0441\u0435\u0442\u043A\u0438",Auto:"\u0410\u0432\u0442\u043E","Digital Objects":"\u0426\u0438\u0444\u0440\u043E\u0432\u044B\u0435 \u043E\u0431\u044A\u0435\u043A\u0442\u044B",Tools:"\u0418\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u044B","Arc Center":"\u0426\u0435\u043D\u0442\u0440 \u0434\u0443\u0433\u0438",Place:"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C",Arc:"\u0414\u0443\u0433\u0430","Elliptical Arc":"\u042D\u043B\u043B\u0438\u043F\u0442\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0434\u0443\u0433\u0430",Ellipse:"\u042D\u043B\u043B\u0438\u043F\u0441",Circle:"\u041A\u0440\u0443\u0433",Pie:"\u0421\u0435\u0433\u043C\u0435\u043D\u0442",Line:"\u041B\u0438\u043D\u0438\u044F",Polyline:"\u041F\u043E\u043B\u0438\u043B\u0438\u043D\u0438\u044F",Rectangle:"\u041F\u0440\u044F\u043C\u043E\u0443\u0433\u043E\u043B\u044C\u043D\u0438\u043A",Rect:"\u041F\u0440\u044F\u043C\u043E\u0443\u0433\u043E\u043B\u044C\u043D\u0438\u043A","Round Rectangle":"\u0421\u043A\u0440\u0443\u0433\u043B\u0435\u043D\u043D\u044B\u0439 \u043F\u0440\u044F\u043C\u043E\u0443\u0433\u043E\u043B\u044C\u043D\u0438\u043A",Polygon:"\u041C\u043D\u043E\u0433\u043E\u0443\u0433\u043E\u043B\u044C\u043D\u0438\u043A",Bezier:"\u0411\u0435\u0437\u044C\u0435",Path:"\u041A\u043E\u043D\u0442\u0443\u0440",Graphic:"\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435",Bus:"\u0428\u0438\u043D\u0430","Bus Entry":"\u0412\u0435\u0442\u043A\u0430 \u0448\u0438\u043D\u044B",Junction:"\u0422\u043E\u0447\u043A\u0430 \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F","Net Port":"\u041F\u043E\u0440\u0442","Voltage Probe":"\u0417\u0430\u043C\u0435\u0440 \u043D\u0430\u043F\u0440\u044F\u0436\u0435\u043D\u0438\u044F","Power Port":"\u041F\u043E\u0440\u0442 \u043F\u0438\u0442\u0430\u043D\u0438\u044F",Wire:"\u041F\u0440\u043E\u0432\u043E\u0434",Annotation:"\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0439",Track:"\u0414\u043E\u0440\u043E\u0436\u043A\u0430",Image:"\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435","Arrow Head":"\u0421\u0442\u0440\u0435\u043B\u043A\u0430",Arrow:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430","No Connect Flag":'\u0424\u043B\u0430\u0433 "\u043D\u0435 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u043E"',Pin:"\u041A\u043E\u043D\u0442\u0430\u043A\u0442","Lock Selected Objects":"\u0417\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435 \u043E\u0431\u044A\u0435\u043A\u0442\u044B",Miscellaneous:"\u0420\u0430\u0437\u043D\u043E\u0435","Find Component":"\u041D\u0430\u0439\u0442\u0438 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",Component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442","Footprint...":"\u0428\u0435\u043B\u043A\u043E\u0433\u0440\u0430\u0444\u0438\u044F...",Convert:"\u041A\u043E\u043D\u0432\u0435\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C","Convert to PCB":"\u041A\u043E\u043D\u0432\u0435\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u043F\u0435\u0447\u0430\u0442\u043D\u0443\u044E \u043F\u043B\u0430\u0442\u0443","Update PCB":"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u0435\u0447\u0430\u0442\u043D\u0443\u044E \u043F\u043B\u0430\u0442\u0443","Shortcut Keys Setting":"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448","Edit Symbol...":"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0441\u0438\u043C\u0432\u043E\u043B...","Highlight Net...":"\u041F\u043E\u0434\u0441\u0442\u0432\u0435\u0442\u0438\u0442\u044C \u0441\u0435\u0442\u043A\u0443...",Simulate:"\u0421\u0438\u043C\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u0442\u044C",Simulation:"\u0421\u0438\u043C\u0443\u043B\u044F\u0446\u0438\u044F","Simulation Result":"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 \u0441\u0438\u043C\u0443\u043B\u044F\u0446\u0438\u0438","Simulation Results...":"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u0441\u0438\u043C\u0443\u043B\u044F\u0446\u0438\u0438...","Simulate this Sheet":"\u0421\u0438\u043C\u0443\u043B\u044F\u0446\u0438\u044F \u043B\u0438\u0441\u0442\u0430","Simulate this Project":"\u0421\u0438\u043C\u0443\u043B\u044F\u0446\u0438\u044F \u0441\u0445\u0435\u043C\u044B","Run the Document":"\u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442","Run the Project...":"\u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u043F\u0440\u043E\u0435\u043A\u0442...","Netlist for Document":"Netlist \u0434\u043B\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430","Netlist for Project":"Netlist \u0434\u043B\u044F \u043F\u0440\u043E\u0435\u043A\u0442\u0430","Protel/Altium for PCB...":"\u041F\u043B\u0430\u0442\u0430 \u0434\u043B\u044F Protel/Altium...","Pads for PCB...":"\u041F\u043B\u0430\u0442\u0430 \u0434\u043B\u044F Pads...","FreePCB for PCB...":"\u041F\u043B\u0430\u0442\u0430 \u0434\u043B\u044F FreePCB...","Eagle for PCB...":"\u041F\u043B\u0430\u0442\u0430 \u0434\u043B\u044F Eagle...","Kicad for PCB...":"\u041F\u043B\u0430\u0442\u0430 \u0434\u043B\u044F Kicad...","OrCAD for PCB...":"\u041F\u043B\u0430\u0442\u0430 \u0434\u043B\u044F OrCAD...","BOM report...":"\u041E\u0442\u0447\u0451\u0442 BOM...","BOM for Document...":"BOM \u0434\u043B\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430...","BOM for Project...":"BOM \u0434\u043B\u044F \u043F\u0440\u043E\u0435\u043A\u0442\u0430...","Pin Map...":"\u041F\u0440\u0438\u043A\u0440\u0435\u043F\u0438\u0442\u044C \u043A\u0430\u0440\u0442\u0443...","Edit Subckt...":"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C Subckt...","Layer Options...":"\u041E\u043F\u0446\u0438\u0438 \u0441\u043B\u043E\u044F...","Design Rule Setting...":"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u043F\u0440\u0430\u0432\u0438\u043B...","Export Pick and Place File":"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0444\u0430\u0439\u043B \u043A\u043E\u043E\u0440\u0434\u0438\u043D\u0430\u0446\u0438\u0438","Measure Distance":"\u0418\u0437\u043C\u0435\u0440\u0438\u0442\u044C \u0440\u0430\u0441\u0441\u0442\u043E\u044F\u043D\u0438\u0435","New Origin":"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C origin","Generates Pick and Place File":"\u0413\u0435\u043D\u0435\u0440\u0438\u0440\u0443\u0435\u0442 pick and place \u0444\u0430\u0439\u043B","Unroute All":"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u044E \u0440\u0430\u0437\u0432\u043E\u0434\u043A\u0443","Auto Router":"\u0410\u0432\u0442\u043E\u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043E\u0432\u0449\u0438\u043A","Add SubPart":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u0434\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442","Add Member":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u0430","Annotate...":"\u041F\u0440\u043E\u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C...",Config:"\u041A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F",Help:"\u041F\u043E\u043C\u043E\u0449\u044C",About:"\u041E \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438","Shortcut Keys":"\u0413\u043E\u0440\u044F\u0447\u0438\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",FAQ:"\u0427.\u0417.\u0412.",Tutorials:"\u041E\u0431\u0443\u0447\u0435\u043D\u0438\u0435","Basic Tutorials":"\u0411\u0430\u0437\u043E\u0432\u044B\u0435 \u0438\u043D\u0441\u0442\u0440\u0443\u043A\u0446\u0438\u0438","Video Tutorials":"\u0412\u0438\u0434\u0435\u043E\u0443\u0440\u043E\u043A\u0438","Essential Check":"\u0412\u0430\u0436\u043D\u0430\u044F \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0430","Simulation Tutorials":"\u0418\u043D\u0441\u0442\u0443\u043A\u0446\u0438\u0438 \u043F\u043E \u0441\u0438\u043C\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044E","Updated Instructions":"\u041E\u0431\u043D\u043E\u0432\u043B\u0451\u043D\u043D\u044B\u0435 \u0438\u043D\u0441\u0442\u0440\u0443\u043A\u0446\u0438\u0438","Open File Format":"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0444\u043E\u0440\u043C\u0430\u0442 \u0444\u0430\u0439\u043B\u0430","About Upgrade":"\u041E\u0431 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0438","Github Repository":"\u0420\u0435\u043F\u043E\u0437\u0438\u0442\u043E\u0440\u0438\u0439 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432","User Forum":"\u0424\u043E\u0440\u0443\u043C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439","Feature Request":"\u0417\u0430\u043F\u0440\u043E\u0441 \u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438","Feature Requests":"\u0417\u0430\u043F\u0440\u043E\u0441\u044B \u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438","Bug Report":"\u041E\u0442\u0447\u0451\u0442 \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435","Bug Reports":"\u041E\u0442\u0447\u0451\u0442\u044B \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0430\u0445","Tips & Skill":"\u0421\u043E\u0432\u0435\u0442\u044B \u0438 \u043E\u0431\u043C\u0435\u043D \u043E\u043F\u044B\u0442\u043E\u043C","Ask for Help":"\u041F\u043E\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u043F\u043E\u043C\u043E\u0449\u0438","Schematic Capture":"\u0417\u0430\u0445\u0432\u0430\u0442 \u0441\u0445\u0435\u043C\u044B","Spice Simulation":"\u0421\u0438\u043C\u0443\u043B\u044F\u0446\u0438\u044F Spice","PCB Layout":"\u041C\u0430\u043A\u0435\u0442 \u043F\u0435\u0447\u0430\u0442\u043D\u043E\u0439 \u043F\u043B\u0430\u0442\u044B","General Discussion":"\u041E\u0431\u0449\u0438\u0435 \u043E\u0431\u0441\u0443\u0436\u0434\u0435\u043D\u0438\u044F","More Information":"\u0411\u043E\u043B\u044C\u0448\u0435 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438","Privacy Policy":"\u041F\u043E\u043B\u0438\u0442\u0438\u043A\u0430 \u043F\u0440\u0438\u0432\u0430\u0442\u043D\u043E\u0441\u0442\u0438","Terms of Service":"\u0423\u0441\u043B\u043E\u0432\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F","Plans and Pricing":"\u041F\u043B\u0430\u043D\u044B \u0438 \u0446\u0435\u043D\u044B","Contribute to EasyEDA":"\u0412\u043D\u0435\u0441\u0442\u0438 \u0432\u043A\u043B\u0430\u0434 \u0432 EasyEDA",Acknowledgments:"\u0411\u043B\u0430\u0433\u043E\u0434\u0430\u0440\u043D\u043E\u0441\u0442\u0438","Help Translate":"\u041F\u043E\u043C\u043E\u0447\u044C \u0441 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u043E\u043C","About Us":"\u041E \u043D\u0430\u0441","Contact Us":"\u0421\u0432\u044F\u0437\u0430\u0442\u044C\u0441\u044F \u0441 \u043D\u0430\u043C\u0438","Change History":"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439","Join Us":"\u041F\u0440\u0438\u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u044C\u0441\u044F","PCB Fabrication":"\u041F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0441\u0442\u0432\u043E \u043F\u0435\u0447\u0430\u0442\u043D\u044B\u0445 \u043F\u043B\u0430\u0442","Order Capabilities":"\u0414\u0440\u0443\u0433\u0438\u0435 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0438","Order Price":"\u0421\u0443\u043C\u043C\u0430 \u0437\u0430\u043A\u0430\u0437\u0430","Order Essential Check":"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0437\u0430\u043A\u0430\u0437\u043E\u0432","Order FAQ":"\u0427.\u0417.\u0412. \u043F\u043E \u0437\u0430\u043A\u0430\u0437\u0430\u043C","Order Process":"\u041F\u0440\u043E\u0446\u0435\u0441\u0441 \u0437\u0430\u043A\u0430\u0437\u0430",Support:"\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430","Historical Records...":"\u0418\u0441\u0442\u043E\u0440\u0438\u044F...",Extensions:"\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F","Order PCB...":"\u0417\u0430\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u043B\u0430\u0442\u0443...","Import Changes":"\u0418\u043C\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F",Press:"\u041F\u0440\u0435\u0441\u0441\u0435","Project Main Page":"\u0413\u043B\u0430\u0432\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043F\u0440\u043E\u0435\u043A\u0442\u0430","to switch to Full Sceen":"\u0447\u0442\u043E\u0431\u044B \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0441\u044F \u0432 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C","Delete Selected":"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435","Generate Gerber and Drill Files":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C Gerber-\u0444\u0430\u0439\u043B\u044B \u0438 \u0444\u0430\u0439\u043B\u044B \u0441\u0432\u0435\u0440\u043B\u043E\u0432\u043A\u0438","Anonymous Files":"\u0410\u043D\u043E\u043D\u0438\u043C\u043D\u044B\u0435 \u0444\u0430\u0439\u043B\u044B","Build PCB":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043F\u043B\u0430\u0442\u0443","System Libraries":"\u0421\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0435 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438","Simulate...":"\u0421\u0438\u043C\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u0442\u044C...","Terms of Service&Privacy Policy":"\u0423\u0441\u043B\u043E\u0432\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u0438 \u043F\u043E\u043B\u0438\u0442\u043A\u0430 \u043F\u0440\u0438\u0432\u0430\u0442\u043D\u043E\u0441\u0442\u0438","Help Topics":"\u0422\u0435\u043C\u044B \u043F\u043E\u043C\u043E\u0449\u0438","SVG Source...":"SVG \u0438\u0441\u0445\u043E\u0434\u043D\u0438\u043A...","EasyEDA Source...":"EasyEDA \u0438\u0441\u0445\u043E\u0434\u043D\u0438\u043A...","Group these items as a SCHLIB/Symbol":"\u0413\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u044D\u0442\u0438 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043A\u0430\u043A SCHLIB/Symbol","Group These Items As a Package":"\u0413\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u044D\u0442\u0438 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043A\u0430\u043A \u043F\u0430\u043A\u0435\u0442","Canvas Origin":"\u0426\u0435\u043D\u0442\u0440 \u043E\u043A\u043D\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430","Document Setting":"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430","Sheet Attributes":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043B\u0438\u0441\u0442\u0430","Set Board Outline":"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u043B\u0438\u0441\u0442\u0430","Global Delete":"\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u043E\u0435 \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435","Paper Size":"\u0420\u0430\u0437\u043C\u0435\u0440 \u043B\u0438\u0441\u0442\u0430",Register:"\u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F","User Center":"\u0426\u0435\u043D\u0442\u0440 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F",Properties:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430",Attributes:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B",Apply:"\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C","Save as default":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E","Canvas Attributes":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043E\u043A\u043D\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430",Width:"\u0428\u0438\u0440\u0438\u043D\u0430",Height:"\u0412\u044B\u0441\u043E\u0442\u0430",Background:"\u0424\u043E\u043D","Visible Grid":"\u0412\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C \u0441\u0435\u0442\u043A\u0438","Grid Visible":"\u0412\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C \u0441\u0435\u0442\u043A\u0438","Grid Color":"\u0426\u0432\u0435\u0442 \u0441\u0435\u0442\u043A\u0438","Grid Size":"\u0420\u0430\u0437\u043C\u0435\u0440 \u0441\u0435\u0442\u043A\u0438","Grid Style":"\u0421\u0442\u0438\u043B\u044C \u0441\u0435\u0442\u043A\u0438","Stroke Color":"\u0426\u0432\u0435\u0442 \u043B\u0438\u043D\u0438\u0439","Stroke Width":"\u0428\u0438\u0440\u0438\u043D\u0430 \u043B\u0438\u043D\u0438\u0439","Stroke Style":"\u0421\u0442\u0438\u043B\u044C \u043B\u0438\u043D\u0438\u0439","Fill Color":"\u0426\u0432\u0435\u0442 \u0437\u0430\u043B\u0438\u0432\u043A\u0438","Selected Objects":"\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435 \u043E\u0431\u044A\u0435\u043A\u0442\u044B","Frame Size":"\u0420\u0430\u0437\u043C\u0435\u0440 \u0440\u0430\u043C\u043A\u0438","Alt Snap":"\u0421\u0434\u0432\u0438\u0433 (+Alt)","Snap size when pressing the Alt key":"\u0420\u0430\u0437\u043C\u0435\u0440 \u0441\u0434\u0432\u0438\u0433\u0430 \u043F\u043E \u0441\u0435\u0442\u043A\u0435 \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 Alt","Prefix Start":"\u041F\u0440\u0435\u0444\u0438\u043A\u0441","Text Attributes":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0442\u0435\u043A\u0441\u0442\u0430",Text:"\u0422\u0435\u043A\u0441\u0442",Color:"\u0426\u0432\u0435\u0442","Font Family":"\u0428\u0440\u0438\u0444\u0442","Font Size":"\u0420\u0430\u0437\u043C\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430","Font Weight":"\u0422\u043E\u043B\u0449\u0438\u043D\u0430 \u0448\u0440\u0438\u0444\u0442\u0430","Font Style":"\u0421\u0442\u0438\u043B\u044C \u0442\u0435\u043A\u0441\u0442\u0430","Text Type":"\u0422\u0438\u043F \u0442\u0435\u043A\u0441\u0442\u0430",Baseline:"\u0411\u0430\u0437\u043E\u0432\u0430\u044F \u043B\u0438\u043D\u0438\u044F","(Auto)":"(\u0410\u0432\u0442\u043E)","(auto)":"(\u0430\u0432\u0442\u043E)",start:"\u043D\u0430\u0447\u0430\u043B\u043E",middle:"\u0441\u0435\u0440\u0435\u0434\u0438\u043D\u0430",end:"\u043A\u043E\u043D\u0435\u0446",comment:"\u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0439",normal:"\u043E\u0431\u044B\u0447\u043D\u044B\u0439",italic:"\u043A\u0443\u0440\u0441\u0438\u0432",Default:"\u041F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",Add:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C",bold:"\u0436\u0438\u0440\u043D\u044B\u0439",bolder:"\u0436\u0438\u0440\u043D\u0435\u0435",lighter:"\u0442\u043E\u043D\u044C\u0449\u0435","Failed to parse the font file: {name}":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0440\u0430\u0441\u043F\u0430\u0440\u0441\u0438\u0442\u044C \u0444\u0430\u0439\u043B \u0448\u0440\u0438\u0444\u0442\u0430: {name}","Please select a font file of ttf or woff format.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u0448\u0440\u0438\u0444\u0442\u0430 \u0432 ttf \u0438\u043B\u0438 woff \u0444\u043E\u0440\u043C\u0430\u0442\u0435.","Add font success: {name}":"\u0428\u0440\u0438\u0444\u0442 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D: {name}","Failed to add font: {name}":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0448\u0440\u0438\u0444\u0442: {name}","Failed to parse cached font: {name}":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0440\u0430\u0441\u043F\u0430\u0440\u0441\u0438\u0442\u044C \u043A\u0435\u0448\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0448\u0440\u0438\u0444\u0442: {name}","Load cached fonts fail!":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0437\u0430\u043A\u0435\u0448\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0448\u0440\u0438\u0444\u0442\u044B!","X Radius":"\u0420\u0430\u0434\u0438\u0443\u0441 \u043F\u043E X","Y Radius":"\u0420\u0430\u0434\u0438\u0443\u0441 \u043F\u043E Y","Pin Attributes":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u0430",Orientation:"\u041E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F","0 degrees":"0\xB0","45 degrees":"45\xB0","90 degrees":"90\xB0","180 degrees":"180\xB0","270 degrees":"270\xB0","Start X":"\u041D\u0430\u0447\u0430\u043B\u043E \u043F\u043E X","Start Y":"\u041D\u0430\u0447\u0430\u043B\u043E \u043F\u043E Y",Length:"\u0414\u043B\u0438\u043D\u0430",Name:"\u0418\u043C\u044F",name:"\u0438\u043C\u044F",Number:"\u041D\u043E\u043C\u0435\u0440","Spice Pin Order":"spice \u043F\u043E\u0440\u044F\u0434\u043E\u043A \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u0430","Name Display":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u043E\u0435 \u0438\u043C\u044F","Number Display":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u044B\u0439 \u043D\u043E\u043C\u0435\u0440",Show:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C",Electric:"\u042D\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0439","Junction Attributes":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F","X Location":"\u041F\u043E\u0437\u0438\u0446\u0438\u044F \u043F\u043E X","Y Location":"\u041F\u043E\u0437\u0438\u0446\u0438\u044F \u043F\u043E Y",Size:"\u0420\u0430\u0437\u043C\u0435\u0440","Net Label":"\u0418\u043C\u044F \u0448\u0438\u043D\u044B","Part Attributes":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0430",Prefix:"\u041F\u0440\u0435\u0444\u0438\u043A\u0441","Image Attributes":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F","Image URL":"URL \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F","Input an Image URL":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 URL \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F","Invalid image url":"\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 URL \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F","Failed to load the image":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435","Image url contains special character":"URL \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0439 \u0441\u0438\u043C\u0432\u043E\u043B","From Web URL":"\u041F\u043E \u0441\u0441\u044B\u043B\u043A\u0435","From Local Computer":"\u0421 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430","Please select a png/gif/jpg file.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 png/gif/jpg \u0444\u0430\u0439\u043B.","Please select an image file.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F.","Select an image file":"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F","Insert Image to PCB":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u043D\u0430 \u043F\u043B\u0430\u0442\u0443",Tolerance:"\u0414\u043E\u043F\u0443\u0441\u043A",tolerance:"\u0434\u043E\u043F\u0443\u0441\u043A",capacitance:"\u0451\u043C\u043A\u043E\u0441\u0442\u044C",frequency:"\u0447\u0430\u0441\u0442\u043E\u0442\u0430","Rated Voltage":"\u041D\u043E\u043C\u0438\u043D\u0430\u043B\u044C\u043D\u043E\u0435 \u043D\u0430\u043F\u0440\u044F\u0436\u0435\u043D\u0438\u0435","Rated Current":"\u041D\u043E\u043C\u0438\u043D\u0430\u043B\u044C\u043D\u044B\u0439 \u0442\u043E\u043A",resistance:"\u0441\u043E\u043F\u0440\u0438\u0442\u0438\u0432\u043B\u0435\u043D\u0438\u0435",inductance:"\u0438\u043D\u0434\u0443\u043A\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u044C","Operating Temperature":"\u0420\u0430\u0431\u043E\u0447\u0430\u044F \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430","Shape Invert":"\u0418\u043D\u0432\u0435\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u043E\u0440\u043C\u044B","Image Size":"\u0420\u0430\u0437\u043C\u0435\u0440 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F","Color Tolerance":"\u0414\u043E\u043F\u0443\u0441\u043A \u0446\u0432\u0435\u0442\u0430","Simplify Level":"\u041F\u043E\u043D\u0438\u0437\u0438\u0442\u044C \u0443\u0440\u043E\u0432\u0435\u043D\u044C",Units:"\u0415\u0434\u0438\u043D\u0438\u0446\u044B","Snap Size":"\u0420\u0430\u0437\u043C\u0435\u0440 \u0441\u0434\u0432\u0438\u0433\u0430",Other:"\u0414\u0440\u0443\u0433\u043E\u0439","Routing Width":"\u0428\u0438\u0440\u0438\u043D\u0430 \u0434\u043E\u0440\u043E\u0436\u043A\u0438","Routing Angle":"\u0423\u0433\u043E\u043B \u0434\u043E\u0440\u043E\u0436\u043A\u0438",Grid:"\u0421\u0435\u0442\u043A\u0430","Copper Zone":"\u041C\u0435\u0434\u043D\u0430\u044F \u043F\u043B\u043E\u0449\u0430\u0434\u043A\u0430",Visible:"\u0412\u0438\u0434\u0438\u043C\u0430\u044F",Invisible:"\u041D\u0435\u0432\u0438\u0434\u0438\u043C\u0430\u044F",inch:"\u0434\u044E\u0439\u043C\u044B",mm:"\u043C\u043C",mil:"\u043C\u0438\u043B",cm:"\u0441\u043C",pixel:"\u043F\u0438\u043A\u0441\u0435\u043B\u0438","Track Properties":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0434\u043E\u0440\u043E\u0436\u043A\u0438",Layer:"\u0421\u043B\u043E\u0439",Net:"\u0428\u0438\u043D\u0430","End X":"\u041A\u043E\u043D\u0435\u0446 \u043F\u043E X","End Y":"\u041A\u043E\u043D\u0435\u0446 \u043F\u043E Y","Pad Properties":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043F\u043E\u043B\u0438\u0433\u043E\u043D\u0430",Shape:"\u0424\u043E\u0440\u043C\u0430","Hole(D)":"\u041E\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u0435 (D)","Center X":"\u0426\u0435\u043D\u0442\u0440 \u043F\u043E X","Center Y":"\u0426\u0435\u043D\u0442\u0440 \u043F\u043E Y",Round:"\u041A\u0440\u0443\u0433",Oval:"\u041E\u0432\u0430\u043B","Hole Shape":"\u0424\u043E\u0440\u043C\u0430 \u043E\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u044F","Hole(Length)":"\u041E\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u0435 (\u0433\u043B\u0443\u0431\u0438\u043D\u0430)",None:"\u041D\u0435\u0442","Via Properties":"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u043F\u0435\u0440\u0435\u0445\u043E\u0434\u043D\u043E\u0433\u043E \u043E\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u044F",Diameter:"\u0414\u0438\u0430\u043C\u0435\u0442\u0440","Hole Properties":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043E\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u044F","Text Properties":"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u0442\u0435\u043A\u0441\u0442\u0430","Line Width":"\u0428\u0438\u0440\u0438\u043D\u0430 \u043B\u0438\u043D\u0438\u0439",Rotation:"\u041F\u043E\u0432\u043E\u0440\u043E\u0442","Dimension Attributes":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0438\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u044F","Footprint Attributes":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0448\u0435\u043B\u043A\u043E\u0433\u0440\u0430\u0444\u0438\u0438","Prefix Display":"\u041F\u0440\u0435\u0444\u0438\u043A\u0441","Pin Name":"\u0418\u043C\u044F \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u0430","Pin Number":"\u041D\u043E\u043C\u0435\u0440 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u0430","Spice Pin Number":"\u041D\u043E\u043C\u0435\u0440 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u0430 Spice","Arc Properties":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0434\u0443\u0433\u0438","Rect Properties":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043F\u0440\u044F\u043C\u043E\u0443\u0433\u043E\u043B\u044C\u043D\u0438\u043A\u0430","Round radius":"\u0420\u0430\u0434\u0438\u0443\u0441 \u0441\u043A\u0440\u0443\u0433\u043B\u0435\u043D\u0438\u044F","Circle Properties":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043A\u0440\u0443\u0433\u0430",Radius:"\u0420\u0430\u0434\u0438\u0443\u0441","CopperArea Properties":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043C\u0435\u0434\u043D\u043E\u0433\u043E \u043F\u043E\u043B\u0438\u0433\u043E\u043D\u0430",Clearance:"\u0427\u0438\u0441\u0442\u043E\u0442\u0430","Pad Connection":"\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043F\u043E\u043B\u0438\u0433\u043E\u043D\u0430",Direct:"\u041F\u0440\u044F\u043C\u043E\u0439","Fill Style":"\u0421\u0442\u0438\u043B\u044C \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F","CopperArea conflict: copper area outlines in same layer with different net names must not overlap":"\u041A\u043E\u043D\u0444\u043B\u0438\u043A\u0442 \u043C\u0435\u0434\u043D\u044B\u0445 \u043F\u043E\u043B\u0438\u0433\u043E\u043D\u043E\u0432: \u043C\u0435\u0434\u043D\u044B\u0439 \u043F\u043E\u043B\u0438\u0433\u043E\u043D \u043F\u0435\u0440\u0435\u043A\u0440\u044B\u0432\u0430\u0435\u0442 \u0434\u0440\u0443\u0433\u0438\u0435 \u0434\u043E\u0440\u043E\u0436\u043A\u0438 \u0432 \u0442\u043E\u043C \u0436\u0435 \u0441\u043B\u043E\u0435","Please create board outline first.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u043B\u0430\u0442\u044B.","Board outlines are not closed.":"\u0413\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u043B\u0430\u0442\u044B \u043D\u0435 \u0437\u0430\u043C\u043A\u043D\u0443\u0442\u044B.","Rebuild CopperArea":"\u041F\u0435\u0440\u0435\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u043C\u0435\u0434\u043D\u044B\u0439 \u043F\u043E\u043B\u0438\u0433\u043E\u043D",Cutout:"\u0412\u044B\u0440\u0435\u0437",Solid:"\u0421\u043F\u043B\u043E\u0448\u043D\u043E\u0439","@@copperArea":{None:"\u041D\u0435\u0442"},"Custom Attributes":"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B","Add new parameter":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440","Add New Parameter":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440","Add New Supplier":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043D\u043E\u0432\u043E\u0433\u043E \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A\u0430",Mounted:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D",Unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E","Create an account":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0430\u043A\u043A\u0430\u0443\u043D\u0442",Username:"\u0418\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F",Password:"\u041F\u0430\u0440\u043E\u043B\u044C","Confirm Password":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043F\u0430\u0440\u043E\u043B\u044C",Email:"\u042D\u043B. \u043F\u043E\u0447\u0442\u0430","Reading this before you register":"\u041F\u0440\u043E\u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u044D\u0442\u043E \u043F\u0435\u0440\u0435\u0434 \u0442\u0435\u043C, \u043A\u0430\u043A \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0439\u0442\u0435\u0441\u044C","Hi {username}":"\u041F\u0440\u0438\u0432\u0435\u0442\uFF0C{username}","Lost Password...":"\u0417\u0430\u0431\u044B\u043B\u0438 \u043F\u0430\u0440\u043E\u043B\u044C...","Find the password using your email":"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0435 \u043F\u0430\u0440\u043E\u043B\u044C, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044F \u044D\u043B. \u043F\u043E\u0447\u0442\u0443",Login:"\u041B\u043E\u0433\u0438\u043D","Username or Email":"\u0418\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0438\u043B\u0438 \u044D\u043B. \u043F\u043E\u0447\u0442\u0430","Remember Me":"\u0417\u0430\u043F\u043E\u043C\u043D\u0438\u0442\u044C \u043C\u0435\u043D\u044F","Third party":"\u0422\u0440\u0435\u0442\u044C\u0441\u044F \u0441\u0442\u043E\u0440\u043E\u043D\u0430","Login and Register":"\u0412\u043E\u0439\u0442\u0438 \u0438\u043B\u0438 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F","Reset a password using your email":"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044F \u0432\u0430\u0448\u0443 \u044D\u043B. \u043F\u043E\u0447\u0442\u0443","Your registered email":"\u0412\u0430\u0448\u0430 \u044D\u043B. \u043F\u043E\u0447\u0442\u0430","Re-send an activation code to your email":"\u041F\u0435\u0440\u0435\u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u0434 \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438 \u043D\u0430 \u0432\u0430\u0448\u0443 \u044D\u043B. \u043F\u043E\u0447\u0442\u0443","Invite friends to register":"\u041F\u0440\u0438\u0433\u043B\u0430\u0441\u0438\u0442\u044C \u0434\u0440\u0443\u0437\u0435\u0439 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F","Your friend's email":"\u042D\u043B. \u043F\u043E\u0447\u0442\u0430 \u0434\u0440\u0443\u0433\u0430","Add a new parameter":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043D\u043E\u043C\u0435\u0440 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440",Key:"\u041A\u043B\u044E\u0447","Value.new_para":"\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440","In BOM":"\u0412 BOM","Invalid key":"\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 \u043A\u043B\u044E\u0447","This field is required.":"\u042D\u0442\u043E \u043F\u043E\u043B\u0435 \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0435.","Change your password":"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u043C\u043E\u0439 \u043F\u0430\u0440\u043E\u043B\u044C","Old password":"\u0421\u0442\u0430\u0440\u044B\u0439 \u043F\u0430\u0440\u043E\u043B\u044C","New Password":"\u041D\u043E\u0432\u044B\u0439 \u043F\u0430\u0440\u043E\u043B\u044C","Create a new project":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043F\u0440\u043E\u0435\u043A\u0442","Save as a schematic":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043A\u0430\u043A \u0441\u0445\u0435\u043C\u0443","Save as a schematic Lib":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043A\u0430\u043A \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442","Save as a spice Symbol":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043A\u0430\u043A spice Symbol","Save as a spice subckt":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043A\u0430\u043A spice subckt","YOU MUST CREATE A SPICE SYMBOL WITH EXACTLY THE SAME NAME AS THIS SUBCKT":"\u0412\u042B \u0414\u041E\u041B\u0416\u041D\u042B \u0421\u041E\u0417\u0414\u0410\u0412\u0410\u0422\u042C SPICE SYMBOL \u0421 \u0422\u041E\u0427\u041D\u041E \u0422\u0410\u041A\u0418\u041C \u0416\u0415 \u0418\u041C\u0415\u041D\u0415\u041C \u041A\u0410\u041A \u0418 \u0415\u0413\u041E SUBCKT","Save as a PCB file":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043A\u0430\u043A \u0444\u0430\u0439\u043B \u043F\u043B\u0430\u0442\u044B","Save as a PCB Lib":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043A\u0430\u043A \u043A\u043E\u0440\u043F\u0443\u0441","Save as a Schematic Module":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043A\u0430\u043A \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442","Save as a PCB Module":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043A\u0430\u043A \u043A\u043E\u0440\u043F\u0443\u0441",Title:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",Share:"\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u044C\u0441\u044F",Visibility:"\u0412\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C","Allow Comments":"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0438","Public (Only you can modify this project. Anyone can see it.)":"\u041F\u0443\u0431\u043B\u0438\u0447\u043D\u044B\u0439 (\u0422\u043E\u043B\u044C\u043A\u043E \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u044D\u0442\u043E\u0442 \u043F\u0440\u043E\u0435\u043A\u0442. \u041B\u044E\u0431\u043E\u0439 \u043C\u043E\u0436\u0435\u0442 \u043F\u0440\u043E\u0441\u043C\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044C \u0435\u0433\u043E)","Private (Only you can see and modify this project)":"\u041F\u0440\u0438\u0432\u0430\u0442\u043D\u044B\u0439 (\u0422\u043E\u043B\u044C\u043A\u043E \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0440\u043E\u0441\u043C\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044C \u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u044D\u0442\u043E\u0442 \u043F\u0440\u043E\u0435\u043A\u0442)","Create new project success!":"\u041D\u043E\u0432\u044B\u0439 \u043F\u0440\u043E\u0435\u043A\u0442 \u0441\u043E\u0437\u0434\u0430\u043D!","You can create files under this project":"\u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0441\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u0444\u0430\u0439\u043B\u044B \u0432 \u044D\u0442\u043E\u043C \u043F\u0440\u043E\u0435\u043A\u0442\u0435",Categories:"\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438",Project:"\u041F\u0440\u043E\u0435\u043A\u0442","Short descript":"\u041A\u0440\u0430\u0442\u043A\u043E\u0435 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",Content:"\u041A\u043E\u043D\u0442\u0435\u043D\u0442","Modify this project info.":"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043E\u0431 \u044D\u0442\u043E\u043C \u043F\u0440\u043E\u0435\u043A\u0442\u0435","Modify this file info.":"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043E\u0431 \u044D\u0442\u043E\u043C \u0444\u0430\u0439\u043B\u0435",Notice:"\u0417\u0430\u043C\u0435\u0447\u0430\u043D\u0438\u0435","Find it before creating it.":"\u041D\u0430\u0439\u0434\u0438\u0442\u0435 \u0435\u0433\u043E \u043F\u0435\u0440\u0435\u0434 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435\u043C","Manfactuer Part Number":"\u041D\u043E\u043C\u0435\u0440 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0430 \u0443 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044F",Supplier:"\u041F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A",Or:"\u0418\u043B\u0438","Supplier Part Number":"\u041D\u043E\u043C\u0435\u0440 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0430 \u0443 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A\u0430","Datasheet/Supplier Link":"Datasheet/\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A\u0430","Clone your file":"\u041A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043C\u043E\u0439 \u0444\u0430\u0439\u043B","Attach a Subckt to this spice symbol":"\u041F\u0440\u0438\u043A\u0440\u0435\u043F\u0438\u0442\u0435 Subckt \u043A \u044D\u0442\u043E\u043C\u0443 spice symbol","Subckt string":"Subckt \u0441\u0442\u0440\u043E\u043A\u0430","Design Manager":"\u041C\u0435\u043D\u0435\u0434\u0436\u0435\u0440 \u043F\u0440\u043E\u0435\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F",Components:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",Nets:"\u0428\u0438\u043D\u044B","DRC Errors":"DRC \u043E\u0448\u0438\u0431\u043A\u0438","Are you sure to unroute this net?":"\u0412\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0445\u043E\u0442\u0438\u0442\u044C \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u0440\u0430\u0437\u0432\u043E\u0434\u043A\u0443 \u044D\u0442\u043E\u0439 \u0448\u0438\u043D\u044B\uFF1F",Unroute:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0440\u0430\u0437\u0432\u043E\u0434\u043A\u0443","Show your simulation report":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043E\u0442\u0447\u0451\u0442 \u043E \u0441\u0438\u043C\u0443\u043B\u044F\u0446\u0438\u0438","Download netlist":"\u0421\u043A\u0430\u0447\u0430\u0442\u044C netlist",Run:"\u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C","Import file from your computer":"\u0418\u043C\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0444\u0430\u0439\u043B \u0441 \u0432\u0430\u0448\u0435\u0433\u043E \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430","Maximum file size: 30 MB":"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u044B\u0439 \u0440\u0430\u0437\u043C\u0435\u0440 \u0444\u0430\u0439\u043B\u0430: 30MB","Chose file":"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B","File Operation":"\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0441 \u0444\u0430\u0439\u043B\u0430\u043C\u0438","Import File":"\u0418\u043C\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0444\u0430\u0439\u043B","Extract Libs":"\u0420\u0430\u0441\u043F\u0430\u043A\u043E\u0432\u0430\u0442\u044C \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438","File type":"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430","The file size is too large.":"\u0420\u0430\u0437\u043C\u0435\u0440 \u0444\u0430\u0439\u043B\u0430 \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439.","Please selected the file type.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u0438\u043F \u0444\u0430\u0439\u043B\u0430.","No component was found!":"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u043E\u0432 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E!","Import successfully":"\u0423\u0441\u043F\u0435\u0448\u043D\u043E \u0438\u043C\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043E","Import failed":"\u0418\u043C\u043F\u043E\u0440\u0442 \u043D\u0435 \u0443\u0434\u0430\u043B\u0441\u044F","Select None":"\u041D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u043E","Modify symbol information":"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E symbol","PCB Prefix":"\u041F\u0440\u0435\u0444\u0438\u043A\u0441 \u043F\u043B\u0430\u0442\u044B","Spice Prefix":"\u041F\u0440\u0435\u0444\u0438\u043A\u0441 Spice","Hidden Pin":"\u0421\u043A\u0440\u044B\u0442\u044B\u0439 \u043A\u043E\u043D\u0442\u0430\u043A\u0442","Pin Map":"\u041A\u0430\u0440\u0442\u0430 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043E\u0432",Assign:"\u041D\u0430\u0437\u043D\u0430\u0447\u0438\u0442\u044C","Supplier.bom":"\u041F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A","LCSC.bom":"LCSC","Price.bom":"\u0426\u0435\u043D\u0430","Quantity.bom":"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E","Package.bom":"\u041A\u043E\u0440\u043F\u0443\u0441","Components.bom":"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B","Manufacturer Part.bom":"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435","Manufacturer.bom":"\u041F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C","One-click Purchasing at LCSC":"\u041F\u043E\u043A\u0443\u043F\u043A\u0430 \u0443 LCSC \u0432 \u043E\u0434\u0438\u043D \u043A\u043B\u0438\u043A","Export BOM":"\u042D\u043A\u0441\u043F\u043E\u0440\u0442 BOM","ID.bom":"ID","Name.bom":"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435","@@bom":{Name:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",Value:"\u041D\u043E\u043C\u0438\u043D\u0430\u043B",Supplier:"\u041F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A",Price:"\u0426\u0435\u043D\u0430",Quantity:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E",Package:"\u041A\u043E\u0440\u043F\u0443\u0441",Components:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B","Manufacturer Part":"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",Manufacturer:"\u041F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C"},"Run your simulation":"\u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u043C\u043E\u044E \u0441\u0438\u043C\u0443\u043B\u044F\u0446\u0438\u044E","Maximum Timestep":"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u044B\u0439 \u0440\u0430\u0437\u043C\u0435\u0440 \u0448\u0430\u0433\u0430","Stop Time":"\u0412\u0440\u0435\u043C\u044F \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438","Start Time":"\u0412\u0440\u0435\u043C\u044F \u0437\u0430\u043F\u0443\u0441\u043A\u0430","AC Analysis":"\u0410\u043D\u0430\u043B\u0438\u0437 AC","Type of Sweep":"\u0422\u0438\u043F \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u043A\u0438","Number of points":"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0442\u043E\u0447\u0435\u043A","Start Frequency":"\u041D\u0430\u0447\u0430\u043B\u044C\u043D\u0430\u044F \u0447\u0430\u0441\u0442\u043E\u0442\u0430","Stop Frequency":"\u041A\u043E\u043D\u0435\u0447\u043D\u0430\u044F \u0447\u0430\u0441\u0442\u043E\u0442\u0430","DC sweep":"\u0410\u043D\u0430\u043B\u0438\u0437 DC","Source to Sweep":"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0434\u043B\u044F \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u043A\u0438","Start Value":"\u041D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435","Stop Value":"\u041A\u043E\u043D\u0435\u0447\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435",Increment:"\u0418\u043D\u043A\u0440\u0435\u043C\u0435\u043D\u0442",Output:"\u0412\u044B\u0445\u043E\u0434",Source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A","DC op pnt":"DC \u0440\u0430\u0431\u043E\u0447\u0430\u044F \u0442\u043E\u0447\u043A\u0430","Compute the DC operating point treating capacitances as opens and inductances as shorts":"\u0412\u044B\u0447\u0438\u0441\u043B\u044F\u0435\u0442 \u0440\u0430\u0431\u043E\u0447\u0443\u044E \u0442\u043E\u0447\u043A\u0443 \u043F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u043E\u0433\u043E \u0442\u043E\u043A\u0430, \u0441\u0447\u0438\u0442\u0430\u044F \u0451\u043C\u043A\u043E\u0441\u0442\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u044B\u043C\u0438, \u0430 \u0438\u043D\u0434\u0443\u043A\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u0438 \u043D\u0435 \u0438\u043C\u0435\u044E\u0449\u0438\u043C\u0438 \u0441\u043E\u043F\u0440\u043E\u0442\u0438\u0432\u043B\u0435\u043D\u0438\u044F","Active File":"\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u0444\u0430\u0439\u043B","Active Project":"\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u043F\u0440\u043E\u0435\u043A\u0442","Embed it in your html files.":"\u0412\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u0432 \u0432\u0430\u0448\u0438 html \u0444\u0430\u0439\u043B\u044B.","Share it by e-mail, IM, blog, etc.":"\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u0435\u0441\u044C \u0438\u043C \u043F\u043E \u044D\u043B. \u043F\u043E\u0447\u0442\u0435, \u0432 \u043C\u0435\u0441\u0435\u043D\u0434\u0436\u0435\u0440\u0430\u0445, \u0431\u043B\u043E\u0433\u0435 \u0438 \u0442.\u0434.","BBCode (used by many online discussion forums)":"BBCode(\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u043C\u043D\u043E\u0433\u0438\u043C\u0438 \u0434\u0432\u0438\u0436\u043A\u0430\u043C\u0438 \u0444\u043E\u0440\u0443\u043C\u043E\u0432)","HTML code":"HTML \u043A\u043E\u0434","QRCode (Share your schematic address by QRCode )":"QR-\u043A\u043E\u0434 (\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u0435\u0441\u044C \u0441\u0441\u044B\u043B\u043A\u043E\u0439 \u043D\u0430 \u0432\u0430\u0448\u0443 \u0441\u0445\u0435\u043C\u0443 QR-\u043A\u043E\u0434\u043E\u043C)","Short Url":"\u041A\u043E\u0440\u043E\u0442\u043A\u0438\u0439 URL","Share a copy of this document":"\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u044C\u0441\u044F \u043A\u043E\u043F\u0438\u0435\u0439 \u044D\u0442\u043E\u0433\u043E \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430",Readonly:"\u0422\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F \u0447\u0442\u0435\u043D\u0438\u044F",Editable:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u0443\u0435\u043C\u044B\u0439","Active file's owner project page":"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043F\u0440\u043E\u0435\u043A\u0442\u0430, \u043A \u043A\u043E\u0442\u043E\u0440\u043E\u043C\u0443 \u043F\u0440\u0438\u043D\u0430\u0434\u043B\u0435\u0436\u0438\u0442 \u0442\u0435\u043A\u0443\u0449\u0438\u0439 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442","Active project editor page":"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u043F\u0440\u043E\u0435\u043A\u0442\u0430","Active file image url":"URL \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0442\u0435\u043A\u0443\u0449\u0435\u0433\u043E \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430","All Projects":"\u0412\u0441\u0435 \u043F\u0440\u043E\u0435\u043A\u0442\u044B","Unsaved files":"\u041D\u0435\u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0435 \u0444\u0430\u0439\u043B\u044B","Please select a file backup!":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u0431\u0435\u043A\u0430\u043F\u0430!","Are you sure to remove this backup?":"\u0412\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0431\u0435\u043A\u0430\u043F?",Search:"\u041F\u043E\u0438\u0441\u043A","Search Results":"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430","Search and press Enter":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 Enter \u0434\u043B\u044F \u043F\u043E\u0438\u0441\u043A\u0430","Search Components,Footprints,Modules":"\u041F\u043E\u0438\u0441\u043A \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0430, \u043A\u043E\u0440\u043F\u0443\u0441\u0430, \u043C\u043E\u0434\u0443\u043B\u044F","{page} of {pagecount} pages":"\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430 {page} \u0438\u0437 {pagecount}","EasyEDA Components":"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B EasyEDA","Common Modules":"\u0412\u0441\u0435 \u043C\u043E\u0434\u0443\u043B\u0438","User Contributions":"\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043D\u044B\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F\u043C\u0438",More:"\u0415\u0449\u0451","Add Favorite":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432 \u043B\u044E\u0431\u044B\u043C\u044B\u0435","Remove Favorite":"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0438\u0437 \u043B\u044E\u0431\u044B\u043C\u044B\u0435","Add Sub Part":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u0434\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",Untagged:"\u041D\u0435\u0442 \u0442\u0435\u0433\u043E\u0432",Package:"\u041A\u043E\u0440\u043F\u0443\u0441",package:"\u043A\u043E\u0440\u043F\u0443\u0441","Title(PartNO)":"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435(PartNO)",Quantity:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E","Manufacturer Part":"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435","manufacturer Part":"\u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",Manufacturer:"\u041F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C",manufacturer:"\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C",voltage:"\u043D\u0430\u043F\u0440\u044F\u0436\u0435\u043D\u0438\u0435","Search Libraries":"\u041F\u043E\u0438\u0441\u043A \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A","User Contributed":"\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043E \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u043C","SCH Libs":"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B","PCB Libs":"\u041A\u043E\u0440\u043F\u0443\u0441\u0430",Follow:"\u041F\u043E\u0434\u043F\u0438\u0441\u0430\u0442\u044C\u0441\u044F",Types:"\u0422\u0438\u043F\u044B",Classes:"\u041A\u043B\u0430\u0441\u0441\u044B",power:"\u043C\u043E\u0449\u043D\u043E\u0441\u0442\u044C",Stock:"\u041D\u0430\u043B\u0438\u0447\u0438\u0435","@@lib":{All:"\u0412\u0441\u0435",System:"\u0421\u0438\u0441\u0442\u0435\u043C\u0430",Personal:"\u041B\u0438\u0447\u043D\u044B\u0435",Created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043D\u044B\u0435",Favorite:"\u041B\u044E\u0431\u0438\u043C\u044B\u0435","No Team,Please join a team or create a team first.":"\u041D\u0435\u0442 \u043A\u043E\u043C\u0430\u043D\u0434\u044B, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0440\u0438\u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u0435\u0441\u044C \u043A \u043A\u043E\u043C\u0430\u043D\u0434\u0435 \u0438\u043B\u0438 \u0441\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u0441\u0432\u043E\u044E.","create a team":"\u0441\u043E\u0437\u0434\u0430\u0442\u044C \u043A\u043E\u043C\u0430\u043D\u0434\u0443","No follow user,Please follow your friend first.":"\u0412\u044B \u043D\u0435 \u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u044B \u043D\u0430 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u043F\u043E\u0434\u043F\u0438\u0448\u0438\u0442\u0435\u0441\u044C \u043D\u0430 \u043D\u0435\u0433\u043E."},"Favorite Schematic Lib":"\u041B\u044E\u0431\u0438\u043C\u044B\u0435 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u043E\u0432","Favorite Package":"\u041B\u044E\u0431\u0438\u043C\u044B\u0435 \u043A\u043E\u0440\u043F\u0443\u0441\u0430","Favorite Module":"\u041B\u044E\u0431\u0438\u043C\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438",BUY:"\u041A\u0423\u041F\u0418\u0422\u042C","In Stock":"\u0412 \u043D\u0430\u043B\u0438\u0447\u0438\u0438","Out of Stock":"\u041D\u0435\u0442 \u0432 \u043D\u0430\u043B\u0438\u0447\u0438\u0438",Minimum:"\u041C\u0438\u043D\u0438\u043C\u0443\u043C",Distributor:"\u0414\u0438\u0441\u0442\u0440\u0438\u0431\u044C\u044E\u0442\u043E\u0440","Export your works":"\u042D\u043A\u0441\u043F\u043E\u0440\u0442 \u0432\u0430\u0448\u0435\u0439 \u0440\u0430\u0431\u043E\u0442\u044B","Export Option":"\u041E\u043F\u0446\u0438\u0438 \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0430","Active File->pdf(1:1)":"\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u0444\u0430\u0439\u043B->PDF(1:1)","Active File->image":"\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u0444\u0430\u0439\u043B->PNG","Active File->SVG":"\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u0444\u0430\u0439\u043B->SVG","You can backup your easyEDA json file to your local hard disk, and import it at any time.":"\u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0440\u0435\u0437\u0435\u0440\u0432\u043D\u0443\u044E \u043A\u043E\u043F\u0438\u044E \u0432\u0430\u0448\u0435\u0433\u043E json \u0444\u0430\u0439\u043B\u0430 EasyEDA \u043D\u0430 \u0432\u0430\u0448 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u0434\u0438\u0441\u043A, \u0438 \u0438\u043C\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0435\u0433\u043E \u0432 \u043B\u044E\u0431\u043E\u0435 \u0432\u0440\u0435\u043C\u044F.",Zoom:"\u0417\u0443\u043C","Image Type":"\u0422\u0438\u043F \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F","0 means real size":"0 \u043E\u0437\u043D\u0430\u0447\u0430\u0435\u0442 \u0440\u0435\u0430\u043B\u044C\u043D\u044B\u0439 \u0440\u0430\u0437\u043C\u0435\u0440","Merged layer":"\u041E\u0431\u044A\u0435\u0434\u0438\u043D\u0451\u043D\u043D\u044B\u0439 \u0441\u043B\u043E\u0439","Separated layer":"\u041E\u0442\u0434\u0435\u043B\u0451\u043D\u043D\u044B\u0439 \u0441\u043B\u043E\u0439",Export:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442",Mirror:"\u0417\u0435\u0440\u043A\u0430\u043B\u044C\u043D\u043E",TopLayer:"\u0412\u0435\u0440\u0445\u043D\u0438\u0439 \u0441\u043B\u043E\u0439",BottomLayer:"\u041D\u0438\u0436\u043D\u0438\u0439 \u0441\u043B\u043E\u0439",TopSilkLayer:"\u0412\u0435\u0440\u0445\u043D\u044F\u044F \u0448\u0435\u043B\u043A\u043E\u0433\u0440\u0430\u0444\u0438\u044F","Protractor Attributes":"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u043F\u0440\u043E\u0442\u0440\u0430\u043A\u0442\u043E\u0440\u0430",BottomSilkLayer:"\u041D\u0438\u0436\u043D\u044F\u044F \u0448\u0435\u043B\u043A\u043E\u0433\u0440\u0430\u0444\u0438\u044F",Colour:"\u0426\u0432\u0435\u0442","Full Colour":"\u041F\u043E\u043B\u043D\u043E\u0446\u0432\u0435\u0442\u043D\u044B\u0439","Black on White":"\u0427\u0451\u0440\u043D\u043E\u0435 \u043D\u0430 \u0431\u0435\u043B\u043E\u043C","White on Black":"\u0411\u0435\u043B\u043E\u0435 \u043D\u0430 \u0447\u0451\u0440\u043D\u043E\u043C","Canvas Setting":"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043E\u043A\u043D\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430","Assembly Drawings":"\u041C\u043E\u043D\u0442\u0430\u0436\u043D\u044B\u0435 \u0447\u0435\u0440\u0442\u0435\u0436\u0438","Invalid file format":"\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u0444\u0430\u0439\u043B\u0430","Failed to export file":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0444\u0430\u0439\u043B","Download now":"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0441\u0435\u0439\u0447\u0430\u0441","Wire Width":"\u0428\u0438\u0440\u0438\u043D\u0430 \u043F\u0440\u043E\u0432\u043E\u0434\u0430",Sheet:"\u041B\u0438\u0441\u0442","Merged sheet":"\u041E\u0431\u044A\u0435\u0434\u0438\u043D\u0451\u043D\u043D\u044B\u0439 \u043B\u0438\u0441\u0442","Separated sheet":"\u041E\u0442\u0434\u0435\u043B\u0451\u043D\u043D\u044B\u0439 \u043B\u0438\u0441\u0442","@@exportDocument":{Size:"\u0420\u0430\u0437\u043C\u0435\u0440"},"Confirm Importing changes information":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u0438\u043C\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439","You can't undo this operation, Please run a DRC after this operation.":"\u0412\u044B \u043D\u0435 \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u044D\u0442\u0443 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044E, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435 DRC \u043F\u043E\u0441\u043B\u0435 \u044D\u0442\u043E\u0439 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438.","Apply Changes":"\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F","This is a simple DRC.":"\u042D\u0442\u043E \u043F\u0440\u043E\u0441\u0442\u043E DRC.","It just can help you to find the obvious errors":"\u041C\u043E\u0436\u0435\u0442 \u043F\u043E\u043C\u043E\u0447\u044C \u043D\u0430\u0439\u0442\u0438 \u0432\u0430\u043C \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u044B\u0435 \u043E\u0448\u0438\u0431\u043A\u0438",Configured:"\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043C\u043E\u0435","Layer Name":"\u0418\u043C\u044F \u0441\u043B\u043E\u044F",BoardOutline:"\u0413\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u043B\u0430\u0442\u044B","Multi-Layer":"\u041C\u043D\u043E\u0433\u043E\u0441\u043B\u043E\u0439\u043D\u0430\u044F",Document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",Hole:"\u041E\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u0435",DRCError:"\u041E\u0448\u0438\u0431\u043A\u0430 DRC",Setting:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438","Drawing area":"\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0440\u0438\u0441\u043E\u0432\u0430\u043D\u0438\u044F","Export area":"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u0431\u043B\u0430\u0441\u0442\u044C","Create Files":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0444\u0430\u0439\u043B\u044B","Check your {0}Gerber files{1} carefully before sending them to the factory":"\u0412\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0432\u0430\u0448\u0438{0}Gerber-\u0444\u0430\u0439\u043B\u044B{1} \u043F\u0435\u0440\u0435\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u043E\u0439 \u0438\u0445 \u043D\u0430 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0441\u0442\u0432\u043E","Download free Gerber Viewer (gerbv)":"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0439 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0449\u0438\u043A Gerber (gerbv)","Before generating the Gerber files":"\u041F\u0435\u0440\u0435\u0434 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435\u043C Gerber-\u0444\u0430\u0439\u043B\u043E\u0432","Please check the packages size and polarity carefully.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0440\u0430\u0437\u043C\u0435\u0440\u044B \u043A\u043E\u0440\u043F\u0443\u0441\u043E\u0432 \u0438 \u043F\u043E\u043B\u044F\u0440\u043D\u043E\u0441\u0442\u044C.","Please check the DRC error in Design Manager.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 DRC-\u043E\u0448\u0438\u0431\u043A\u0438 \u0432 \u043C\u0435\u043D\u0435\u0434\u0436\u0435\u0440\u0435 \u043F\u0440\u043E\u0435\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F.","Please rebuild the copper area after modifying tracks and packages.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0435\u0440\u0435\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043C\u0435\u0434\u043D\u044B\u0435 \u043F\u043E\u043B\u0438\u0433\u0438\u043D\u044B, \u043F\u043E\u0441\u043B\u0435 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0434\u043E\u0440\u043E\u0436\u0435\u043A \u0438 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u043E\u0432.","After generating the Gerber file, please use the {0}Gerber Viewer{1} to check whether it conforms to the design requirements.":"\u041F\u043E\u0441\u043B\u0435 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F Gerber-\u0444\u0430\u0439\u043B\u043E\u0432, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {0}\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0449\u0438\u043A Gerber{1}, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C, \u0447\u0442\u043E \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0432\u0443\u044E\u0442 \u0432\u0430\u0448\u0438\u043C \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u044F\u043C.","Order at JLCPCB":"\u0417\u0430\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u0430 JLCPCB",Item:"\u042D\u043B\u0435\u043C\u0435\u043D\u0442",Value:"\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435",value:"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435",Unit:"\u0415\u0434\u0438\u043D\u0438\u0446\u0430","Track Width":"\u0428\u0438\u0440\u0438\u043D\u0430 \u0434\u043E\u0440\u043E\u0436\u043A\u0438","Track to Track":"\u0414\u043E\u0440\u043E\u0436\u043A\u0430 \u043A \u0434\u043E\u0440\u043E\u0436\u043A\u0435","Track to Pad":"\u0414\u043E\u0440\u043E\u0436\u043A\u0430 \u043A \u043F\u043E\u043B\u0438\u0433\u043E\u043D\u0443","Via Hole Size":"\u0414\u0438\u0430\u043C\u0435\u0442\u0440 \u043F\u0435\u0440\u0435\u0445\u043E\u0434\u043D\u043E\u0433\u043E \u043E\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u044F","{0} is too small!":"{0} \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u0438\u0439!","Update the symbol's package":"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043A\u043E\u0440\u043F\u0443\u0441 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0430","Invalid Package":"\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 \u043A\u043E\u0440\u043F\u0443\u0441","Update PCB(Synchronizing PCB from schematics)":"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u043B\u0430\u0442\u0443 (\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043B\u0430\u0442\u0443 \u0441\u043E \u0441\u0445\u0435\u043C\u043E\u0439)","Hotkey Setting":"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",ALL:"\u0412\u0421\u0415","Rotate selected objects":"\u041F\u0435\u0440\u0435\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435 \u043E\u0431\u044A\u0435\u043A\u0442\u044B","Scroll Or Move selected left":"\u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0435 \u0432\u043B\u0435\u0432\u043E","Scroll or Move selected right":"\u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0435 \u0432\u043F\u0440\u0430\u0432\u043E","Scroll or Move selected up":"\u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0435 \u0432\u0432\u0435\u0440\u0445","Scroll or Move selected down":"\u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0435 \u0432\u043D\u0438\u0437","Cross Document Paste":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0438\u0437 \u0434\u0440\u0443\u0433\u043E\u0433\u043E \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430","Explore & Find Components":"\u041D\u0430\u0439\u0442\u0438 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B","Select All":"\u0412\u044B\u0434\u0435\u043B\u0438\u0442\u044C \u0432\u0441\u0451","Cancel current drawing":"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u0440\u0438\u0441\u043E\u0432\u0430\u043D\u0438\u044F",Save:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C","Drag Tool":"\u0418\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442 \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F","Draw Wire":"\u041D\u0430\u0440\u0438\u0441\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0432\u043E\u0434","Draw Bus":"\u041D\u0430\u0440\u0438\u0441\u043E\u0432\u0430\u0442\u044C \u0448\u0438\u043D\u0443","NetFlag VCC":"\u0424\u043B\u0430\u0433 VCC","NetFlag GND":"\u0424\u043B\u0430\u0433 GND","NetFlag +5v":"\u0424\u043B\u0430\u0433 +5v","Draw Polyline":"\u041D\u0430\u0440\u0438\u0441\u043E\u0432\u0430\u0442\u044C \u043F\u043E\u043B\u0438\u043B\u0438\u043D\u0438\u044E","Draw Polygon":"\u041D\u0430\u0440\u0438\u0441\u043E\u0432\u0430\u0442\u044C \u043C\u043D\u043E\u0433\u043E\u0443\u0433\u043E\u043B\u044C\u043D\u0438\u043A","Draw Bezier":"\u041D\u0430\u0440\u0438\u0441\u043E\u0432\u0430\u0442\u044C \u0411\u0435\u0437\u044C\u0435","Draw Arc":"\u041D\u0430\u0440\u0438\u0441\u043E\u0432\u0430\u0442\u044C \u0434\u0443\u0433\u0443","Draw Rect":"\u041D\u0430\u0440\u0438\u0441\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u044F\u043C\u043E\u0443\u0433\u043E\u043B\u044C\u043D\u0438\u043A","Draw Ellipse":"\u041D\u0430\u0440\u0438\u0441\u043E\u0432\u0430\u0442\u044C \u043E\u0432\u0430\u043B","Freehand Draw":"\u0421\u0432\u043E\u0431\u043E\u0434\u043D\u043E\u0435 \u0440\u0438\u0441\u043E\u0432\u0430\u043D\u0438\u0435","Draw Text":"\u041D\u0430\u0440\u0438\u0441\u043E\u0432\u0430\u0442\u044C \u0442\u0435\u043A\u0441\u0442","Edit Selected Symbol":"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 Symbol","Draw Track":"\u041D\u0430\u0440\u0438\u0441\u043E\u0432\u0430\u0442\u044C \u0434\u043E\u0440\u043E\u0436\u043A\u0443","Draw Circle":"\u041D\u0430\u0440\u0438\u0441\u043E\u0432\u0430\u0442\u044C \u043A\u0440\u0443\u0433","Draw Connect":"\u041D\u0430\u0440\u0438\u0441\u043E\u0432\u0430\u0442\u044C \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435","Draw copperArea":"\u041D\u0430\u0440\u0438\u0441\u043E\u0432\u0430\u0442\u044C \u043C\u0435\u0434\u043D\u044B\u0439 \u043F\u043E\u043B\u0438\u0433\u043E\u043D","Place Pad":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u043B\u0438\u0433\u043E\u043D","Place Via":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u0445\u043E\u0434\u043D\u043E\u0435 \u043E\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u0435",Measure:"\u0418\u0437\u043C\u0435\u0440\u0438\u0442\u044C","Change Routing Angle":"\u0418\u0437\u043C\u0435\u0440\u0438\u0442\u044C \u0443\u0433\u043E\u043B \u043F\u043E\u0432\u043E\u0440\u043E\u0442\u0430","Decrease Routing Width":"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0448\u0438\u0440\u0438\u043D\u0443 \u0434\u043E\u0440\u043E\u0436\u043A\u0438","Increase Routing Width":"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0448\u0438\u0440\u0438\u043D\u0443 \u0434\u043E\u0440\u043E\u0436\u043A\u0438","Decrease Snap Size":"\u0423\u043C\u043D\u044C\u0448\u0435\u043D\u0438\u0435 \u0440\u0430\u0437\u043C\u0435\u0440\u0430 \u0441\u0434\u0432\u0438\u0433\u0430 \u043F\u043E \u0441\u0435\u0442\u043A\u0435","Increase Snap Size":"\u0423\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u0435 \u0440\u0430\u0437\u043C\u0435\u0440\u0430 \u0441\u0434\u0432\u0438\u0433\u0430 \u043F\u043E \u0441\u0435\u0442\u043A\u0435Increase Snap Size","Remove All Copper Area":"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435 \u043C\u0435\u0434\u043D\u044B\u0435 \u043F\u043E\u043B\u0438\u0433\u043E\u043D\u044B","Rebuild All Copper Area":"\u041F\u0435\u0440\u0435\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0432\u0441\u0435 \u043C\u0435\u0434\u043D\u044B\u0435 \u043F\u043E\u043B\u0438\u0433\u043E\u043D\u044B","New Project":"\u041D\u043E\u0432\u044B\u0439 \u043F\u0440\u043E\u0435\u043A\u0442","New Schematic":"\u041D\u043E\u0432\u0430\u044F \u0441\u0445\u0435\u043C\u0430","New PCB":"\u041D\u043E\u0432\u0430\u044F \u043F\u043B\u0430\u0442\u0430","New Spice Subckt":"\u041D\u043E\u0432\u044B\u0439 Spice Subckt",Modify:"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C","Add sub part":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u0434\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",Clone:"\u041A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C","Contribute your components to EasyEDA":"\u0414\u043E\u0431\u0430\u0432\u043B\u044F\u0439\u0442\u0435 \u0441\u0432\u043E\u0438 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B \u0432 EasyEDA","Version History":"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439","Edit Project":"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0435\u043A\u0442","View Project Page":"\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u043F\u0440\u043E\u0435\u043A\u0442\u0430","Download Project":"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u043F\u0440\u043E\u0435\u043A\u0442","Reject Sharing":"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0448\u044D\u0440\u0438\u043D\u0433","Refresh List":"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A","Create New Project":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043F\u0440\u043E\u0435\u043A\u0442","Version Control":"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u044C \u0432\u0435\u0440\u0441\u0438\u0439","Verify the packages":"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u043A\u043E\u0440\u043F\u0443\u0441\u0430","Edit Points":"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0442\u043E\u0447\u043A\u0438","Reload parts":"\u041F\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0447\u0430\u0441\u0442\u0438",Layers:"\u0421\u043B\u043E\u0438","Display Name":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u043E\u0435 \u0438\u043C\u044F","HotKey Sync":"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0430\u0446\u0438\u044F \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448","Document Recovery Setting":"\u0411\u0435\u043A\u0430\u043F \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A","Maximum backup level":"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u044B\u0439 \u0443\u0440\u043E\u0432\u0435\u043D\u044C \u0431\u0435\u043A\u0430\u043F\u043E\u0432","Auto backup(minutes)":"\u0410\u0432\u0442\u043E\u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 (\u043C\u0438\u043D\u0443\u0442)","Save to Server":"\u0421\u043E\u0445\u0440\u0430\u043D\u044F\u0442\u044C \u043D\u0430 \u0441\u0435\u0440\u0432\u0435\u0440","Load from Server":"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044C \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430","Schematic Library Wizard":"\u041C\u0430\u0441\u0442\u0435\u0440 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u043E\u0432",Style:"\u0421\u0442\u0438\u043B\u044C",Picture:"\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435","Pin Names":"\u0418\u043C\u0435\u043D\u0430 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043E\u0432","Please assign the package at right panel after created the symbol.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0443\u043A\u0430\u0436\u0438\u0442\u0435 \u043A\u043E\u0440\u043F\u0443\u0441 \u0432 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u043F\u0440\u0430\u0432\u0430 \u043F\u043E\u0441\u043B\u0435 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F symbol.",Contributor:"\u041F\u043E\u043C\u043E\u0449\u043D\u0438\u043A",contributor:"\u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A",Annotate:"\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C",Scope:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C","Active Schematic only":"\u0422\u043E\u043B\u044C\u043A\u043E \u0442\u0435\u043A\u0443\u0449\u0430\u044F \u0441\u0445\u0435\u043C\u0430","All Opened Schematics":"\u0412\u0441\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044B\u0435 \u0441\u0445\u0435\u043C\u044B",Method:"\u041C\u0435\u0442\u043E\u0434","Re-annotate all":"\u041F\u0435\u0440\u0435\u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u0441\u0435","Keep existing annotation":"\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0438\u0435 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0438",Direction:"\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",Rows:"\u0421\u0442\u0440\u043E\u043A\u0438",Cols:"\u0421\u0442\u043E\u043B\u0431\u0446\u044B",Reset:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C","Order...":"\u0417\u0430\u043A\u0430\u0437\u0430\u0442\u044C...","Order your PCB from EasyEDA":"\u0417\u0430\u043A\u0430\u0436\u0438\u0442\u0435 \u0441\u0432\u043E\u044E \u043F\u043B\u0430\u0442\u0443 \u0441 EasyEDA","PCB Qty.":"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u043B\u0430\u0442","PCB Thickness":"\u0422\u043E\u043B\u0449\u0438\u043D\u0430 \u0442\u0435\u043A\u0441\u0442\u043E\u043B\u0438\u0442\u0430","PCB Dimension":"\u0420\u0430\u0437\u043C\u0435\u0440\u044B \u043F\u043B\u0430\u0442\u044B","Automatic calculation":"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u0440\u0430\u0441\u0447\u0451\u0442","PCB Color":"\u0426\u0432\u0435\u0442 \u043F\u0430\u044F\u043B\u044C\u043D\u043E\u0439 \u043C\u0430\u0441\u043A\u0438",Green:"\u0417\u0435\u043B\u0451\u043D\u044B\u0439",White:"\u0411\u0435\u043B\u044B\u0439",Blue:"\u0413\u043E\u043B\u0443\u0431\u043E\u0439",Red:"\u041A\u0440\u0430\u0441\u043D\u044B\u0439",Yellow:"\u0416\u0451\u043B\u0442\u044B\u0439",Black:"\u0427\u0451\u0440\u043D\u044B\u0439",Purple:"\u0424\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u044B\u0439",Copper:"\u041C\u0435\u0434\u044C",Gold:"\u0417\u043E\u043B\u043E\u0442\u043E",Silver:"\u0421\u0435\u0440\u0435\u0431\u0440\u043E","Surface Finish":"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u043F\u043E\u0432\u0435\u0440\u0445\u043D\u043E\u0441\u0442\u0438",Hasl:"\u0421\u0432\u0438\u043D\u0446\u043E\u0432\u044B\u0439 \u043F\u0440\u0438\u043F\u043E\u0439","Hasl(Lead Free)":"\u0411\u0435\u0437\u0441\u0432\u0438\u043D\u0446\u043E\u0432\u044B\u0439 \u043F\u0440\u0438\u043F\u043E\u0439","Open Project":"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043F\u0440\u043E\u0435\u043A\u0442","E-Test":"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435","Shipping Cost":"\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0438","Cost Estimate":"\u041E\u0446\u0435\u043D\u0438\u0432\u0430\u0435\u043C\u0430\u044F \u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C","Actual cost will be confirmed by email.":"\u0424\u0438\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0431\u0443\u0434\u0435\u0442 \u0432\u044B\u0441\u043B\u0430\u043D\u0430 \u043D\u0430 \u044D\u043B. \u043F\u043E\u0447\u0442\u0443.","Shipping information":"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0435",Address:"\u0410\u0434\u0440\u0435\u0441","ZIP/Post code":"\u041F\u043E\u0447\u0442\u043E\u0432\u044B\u0439 \u0438\u043D\u0434\u0435\u043A\u0441",City:"\u0413\u043E\u0440\u043E\u0434",Country:"\u0421\u0442\u0440\u0430\u043D\u0430","Tel.":"\u0422\u0435\u043B\u0435\u0444\u043E\u043D","After filling out the form above, we will email you with (i) the results of the design rule check, (ii) a quote and (iii) a payment link using Paypal. Shipping is normally one week from receipt of payment.":"\u041F\u043E\u0441\u043B\u0435 \u0437\u0430\u043F\u043E\u043D\u0435\u043D\u0438\u044F \u0444\u043E\u0440\u043C\u044B \u043D\u0438\u0436\u0435, \u0432\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 \u043F\u0438\u0441\u044C\u043C\u043E \u0441 (i) \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043C\u0438 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u043F\u043B\u0430\u0442\u044B, (ii) \u0446\u0435\u043D\u043E\u0439 (iii) \u0438 \u0441\u0441\u044B\u043B\u043A\u043E\u0439 \u043E\u043F\u043B\u0430\u0442\u044B \u0447\u0435\u0440\u0435\u0437 Paypal. \u041E\u0431\u044B\u0447\u043D\u043E \u043C\u044B \u0432\u044B\u0441\u044B\u043B\u0430\u0435\u043C \u043F\u043B\u0430\u0442\u044B \u0447\u0435\u0440\u0435\u0437 \u043D\u0435\u0434\u0435\u043B\u044E \u043F\u043E\u0441\u043B\u0435 \u043E\u043F\u043B\u0430\u0442\u044B.","Restore All Default Shortcuts":"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E","Save Changes":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F","To connect electrical elements, please use Wire (W hotkey) and not Line (L hotkey).":"\u0427\u0442\u043E\u0431\u044B \u0441\u043E\u0435\u0434\u0438\u043D\u044F\u0442\u044C \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u044B\u0435 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u041F\u0440\u043E\u0432\u043E\u0434 (\u043A\u043B\u0430\u0432\u0438\u0448\u0430 W), \u0430 \u043D\u0435 \u041B\u0438\u043D\u0438\u044E (\u043A\u043B\u0430\u0432\u0438\u0448\u0430 L).","Anonymous file warning":"\u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435 \u043E\u0431 \u0430\u043D\u043E\u043D\u0438\u043C\u043D\u043E\u043C \u0444\u0430\u0439\u043B\u0435","You will save your file as {0}Anonymous file{1}, you must remember the url of the file to find it again after saving. You would better to create a personal project. Would you like to create a project now?":"\u0415\u0441\u043B\u0438 \u0432\u044B \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u0432\u0430\u0448 \u0444\u0430\u0439\u043B {0}\u0430\u043D\u043E\u043D\u0438\u043C\u043D\u044B\u043C{1}, \u0432\u044B \u0431\u0443\u0434\u0435\u0442\u0435 \u0434\u043E\u043B\u0436\u043D\u044B \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C url \u0444\u0430\u0439\u043B\u0430, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043A \u043D\u0435\u043C\u0443 \u0434\u043E\u0441\u0442\u0443\u043F \u0441\u043D\u043E\u0432\u0430. \u0421\u043E\u0432\u0435\u0442\u0443\u0435\u043C \u0432\u0430\u043C \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u043B\u0438\u0447\u043D\u044B\u0439 \u043F\u0440\u043E\u0435\u043A\u0442. \u0412\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u043F\u0440\u043E\u0435\u043A\u0442 \u0441\u0435\u0439\u0447\u0430\u0441?","Create Anonymous File":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0430\u043D\u043E\u043D\u0438\u043C\u043D\u044B\u0439 \u0444\u0430\u0439\u043B","you must close the file before delete it!":"\u0412\u044B \u0434\u043E\u043B\u0436\u043D\u044B \u0437\u0430\u043A\u0440\u044B\u0442\u044C \u0444\u0430\u0439\u043B \u043F\u0435\u0440\u0435\u0434 \u0435\u0433\u043E \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435\u043C!",Confirmation:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435",Alert:"\u0412\u043D\u0438\u043C\u0430\u043D\u0438\u0435",Information:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",information:"\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",Prompt:"\u0417\u0430\u043F\u0440\u043E\u0441",Error:"\u041E\u0448\u0438\u0431\u043A\u0430",error:"\u043E\u0448\u0438\u0431\u043A\u0430","error!":"\u043E\u0448\u0438\u0431\u043A\u0430!",Warning:"\u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435","Imported ok !":"\u0418\u043C\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043E!","Some changes have not been saved.":"\u041D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u043D\u0435 \u0431\u044B\u043B\u0438 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u044B.","Your file hasn't been saved. Please save first!":"\u0412\u0430\u0448 \u0444\u0430\u0439\u043B \u043D\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u0435\u0433\u043E!","Your file hasn't been saved. Are you sure to close it?":"\u0412\u0430\u0448 \u0444\u0430\u0439\u043B \u043D\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D. \u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0437\u0430\u043A\u0440\u044B\u0442\u044C \u0435\u0433\u043E?","Error! Please try again later.":"\u041E\u0448\u0438\u0431\u043A\u0430! \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.","Are you sure you want to reload this page?":"\u0412\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u043F\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u044D\u0442\u0443 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443?","Are you sure you want to leave this page?":"\u0412\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u043F\u043E\u043A\u0438\u043D\u0443\u0442\u044C \u044D\u0442\u0443 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443?","Confirm Reload":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0443","Confirm Close":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u0437\u0430\u043A\u0440\u044B\u0442\u0438\u0435","Leave this page":"\u041F\u043E\u043A\u0438\u043D\u0443\u0442\u044C \u044D\u0442\u0443 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443","Stay on this page":"\u041E\u0441\u0442\u0430\u0442\u044C\u0441\u044F \u043D\u0430 \u044D\u0442\u043E\u0439 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435","Don't reload":"\u041D\u0435 \u043F\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044C","Load failure!":"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043D\u0435 \u0443\u0434\u0430\u043B\u0430\u0441\u044C!","Load projects failed":"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043F\u0440\u043E\u0435\u043A\u0442\u043E\u0432 \u043D\u0435 \u0443\u0434\u0430\u043B\u0430\u0441\u044C","error info":"\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435","error information":"\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435","Guest can't create a new project, please login!":"\u0413\u043E\u0441\u0442\u0438 \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0441\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u043D\u043E\u0432\u044B\u0435 \u043F\u0440\u043E\u0435\u043A\u0442\u044B, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u043E\u0439\u0434\u0438\u0442\u0435!","Please create a project before you do this!":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u043F\u0440\u043E\u0435\u043A\u0442 \u043F\u0435\u0440\u0435\u0434 \u0442\u0435\u043C, \u043A\u0430\u043A \u0432\u044B \u0431\u0443\u0434\u0435\u0442\u0435 \u044D\u0442\u043E \u0434\u0435\u043B\u0430\u0442\u044C!","Add Part success":"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D","Click the new part and then edit it!":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043D\u0430 \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442 \u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u043E\u0442\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0435\u0433\u043E!","Delete my work":"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u043C\u043E\u044E \u0440\u0430\u0431\u043E\u0442\u0443","Delete my work. (Only delete it from this list but not server)":"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u043C\u043E\u044E \u0440\u0430\u0431\u043E\u0442\u0443. (\u0420\u0430\u0431\u043E\u0442\u0430 \u0443\u0434\u0430\u043B\u0438\u0442\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u0438\u0437 \u044D\u0442\u043E\u0433\u043E \u0441\u043F\u0438\u0441\u043A\u0430, \u043D\u043E \u043D\u0435 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430)","Do you confirm this?":"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B?","Successfully deleted !":"\u0423\u0441\u043F\u0435\u0448\u043D\u043E \u0443\u0434\u0430\u043B\u0435\u043D\u043E!","Cloning success !":"\u041A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0443\u0441\u043F\u0435\u0448\u043D\u043E!","your title is too short!":"\u0432\u0430\u0448 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043A\u043E\u0440\u043E\u0442\u043A\u0438\u0439!","remove this part":"\u0443\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442","Find and Jump to ...":"\u041D\u0430\u0439\u0442\u0438 \u0438 \u043F\u0435\u0440\u0435\u0439\u0442\u0438...","Please type the prefix,such as U1,R1,C1":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043E\u0431\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, U1,R1,C1","Zoom as 1:1, you can print it, and then create artwork for etching the PCB.":"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0435 \u0440\u0430\u0437\u043C\u0435\u0440 1:1, \u0442\u043E\u0433\u0434\u0430 \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0440\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u044E \u043F\u043B\u0430\u0442\u0443 \u0438 \u0432\u044B\u0442\u0440\u0430\u0432\u0438\u0442\u044C \u0435\u0451.","Exporting your works!":"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u043C \u0432\u0430\u0448\u0443 \u0440\u0430\u0431\u043E\u0442\u0443!","Guests cant import a file,Please login!":"\u0413\u043E\u0441\u0442\u0438 \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0438\u043C\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0444\u0430\u0439\u043B\u044B, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u043E\u0439\u0434\u0438\u0442\u0435!","Please create a project before you import a file!":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u043F\u0440\u043E\u0435\u043A\u0442 \u043F\u0435\u0440\u0435\u0434 \u0438\u043C\u043F\u043E\u0440\u0442\u043E\u043C \u0444\u0430\u0439\u043B\u0430!","Import your LTspice file!":"\u0418\u043C\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0432\u0430\u0448 LTspice \u0444\u0430\u0439\u043B!","Save success !":"\u0423\u0441\u043F\u0435\u0448\u043D\u043E \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043E!","Save failed !":"\u0421\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 \u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C!","Can not place parts into this document.":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B \u0432 \u044D\u0442\u043E\u0442 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442.","user Package":"\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0439 \u043A\u043E\u0440\u043F\u0443\u0441","system Package":"\u0441\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0439 \u043A\u043E\u0440\u043F\u0443\u0441","File error":"\u041E\u0448\u0438\u0431\u043A\u0430 \u0444\u0430\u0439\u043B\u0430","Please save your file first!":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u0432\u0430\u0448 \u0444\u0430\u0439\u043B!","Email address is too short!":"\u0410\u0434\u0440\u0435\u0441 \u044D\u043B. \u043F\u043E\u0447\u0442\u044B \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043A\u043E\u0440\u043E\u0442\u043A\u0438\u0439!","You have not selected a file to upload.":"\u0412\u044B \u043D\u0435 \u0432\u044B\u0431\u0440\u0430\u043B\u0438 \u0444\u0430\u0439\u043B \u0434\u043B\u044F \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0438.",Update:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C","no changes":"\u043D\u0435\u0442 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439","PCB is the same as SCH!":"\u041F\u043B\u0430\u0442\u0430 \u0438 \u0441\u0445\u0435\u043C\u0430 \u0431\u044B\u043B\u0438 \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u044B!","Only public files can be shared":"\u041C\u043E\u0436\u043D\u043E \u0434\u0435\u043B\u0438\u0442\u044C\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u043F\u0443\u0431\u043B\u0438\u0447\u043D\u044B\u043C\u0438 \u0444\u0430\u0439\u043B\u0430\u043C\u0438","Conversion to PCB has failed!":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043A\u043E\u043D\u0432\u0435\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u043F\u043B\u0430\u0442\u0443!","Your username is too short!":"\u0418\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043A\u043E\u0440\u043E\u0442\u043A\u043E\u0435!","Your password is too short,it must be more than 6 characters!":"\u0412\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043A\u043E\u0440\u043E\u0442\u043A\u0438\u0439, \u0438 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043A\u043E\u0440\u043E\u0447\u0435 6 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432!","Conflicting shortcut":"\u041A\u043E\u043D\u0444\u043B\u0438\u043A\u0442 \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448","There is an empty PCB file. Please first run Convert Project To PCB... from the schematic":"\u041F\u0443\u0441\u0442\u043E\u0439 \u0444\u0430\u0439\u043B \u043F\u043B\u0430\u0442\u044B. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435 \u043A\u043E\u043D\u0432\u0435\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u043F\u0440\u043E\u0435\u043A\u0442\u0430 \u0432 \u043F\u043B\u0430\u0442\u0443...","This file has been modified, are you sure you want run this simulation? Maybe save it first?":"\u042D\u0442\u043E\u0442 \u0444\u0430\u0439\u043B \u0431\u044B\u043B \u0438\u0437\u043C\u0435\u043D\u0451\u043D, \u0432\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u044D\u0442\u0443 \u0441\u0438\u043C\u0443\u043B\u044F\u0446\u0438\u044E? \u041C\u043E\u0436\u0435\u0442 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u0435\u0433\u043E \u0441\u043D\u0430\u0447\u0430\u043B\u0430?","Please enter the Maximum Timestep!":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u044B\u0439 \u0440\u0430\u0437\u043C\u0435\u0440 \u0448\u0430\u0433\u0430!","Please enter the Stop Time!":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0432\u0440\u0435\u043C\u044F \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438!","All of these fields are needed.":"\u041D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0432\u0441\u0435 \u044D\u0442\u0438 \u043F\u043E\u043B\u044F.","Too many users in simulation. Please try again later!":"\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u043D\u043E\u0433\u043E \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u043B\u0438 \u0441\u0438\u043C\u0443\u043B\u044F\u0446\u0438\u044E. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435!","Demo accounts don't support simulation, please login first":"\u0414\u0435\u043C\u043E \u0430\u043A\u043A\u0430\u0443\u043D\u0442\u0430\u043C \u043D\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u043E \u0437\u0430\u043F\u0443\u0441\u043A\u0430\u0442\u044C \u0441\u0438\u043C\u0443\u043B\u044F\u0446\u0438\u044E, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0432\u043E\u0439\u0434\u0438\u0442\u0435","Please login first":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0432\u043E\u0439\u0434\u0438\u0442\u0435","The schematic is showing errors, please check the simulation report carefully!":"\u042D\u0442\u0430 \u0441\u0445\u0435\u043C\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043E\u0448\u0438\u0431\u043A\u0438, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043E\u0442\u0447\u0451\u0442 \u043E \u0441\u0438\u043C\u0443\u043B\u044F\u0446\u0438\u0438!","Simulation too long, maybe you schematic is too complex.":"\u0421\u0438\u043C\u0443\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0434\u043E\u043B\u0433\u043E\u0435 \u0432\u0440\u0435\u043C\u044F, \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u0432\u0430\u0448\u0430 \u0441\u0445\u0435\u043C\u0430 \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0441\u043B\u043E\u0436\u043D\u0430\u044F.","Load your preferences success !":"\u0412\u0430\u0448\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043D\u044B!","Save your preferences success !":"\u0412\u0430\u0448\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u044B!","update subckt ok !":"subckt \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043E!","Please type a new file name":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0438\u043C\u044F \u043D\u043E\u0432\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0430","create file failure!":"\u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u0444\u0430\u0439\u043B!","Schematics and PCBs can't be imported under My Libs folder, please choose a different folder":"\u0421\u0445\u0435\u043C\u044B \u0438 \u043F\u043B\u0430\u0442\u044B \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u0438\u043C\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u0432 \u043F\u0430\u043F\u043A\u0443 \u041C\u043E\u0438 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u0443\u044E \u043F\u0430\u043F\u043A\u0443","Libraries to be imported under My Libs folder":"\u0424\u0430\u0439\u043B\u044B \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u0438\u043C\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u043F\u0430\u043F\u043A\u0443 \u041C\u043E\u0438 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438","Please choose only the libraries needed":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u043E\u043B\u044C\u043A\u043E \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u0435 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438","Maximum import is 200 libs at one time!":"\u041D\u0435\u043B\u044C\u0437\u044F \u0438\u043C\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0431\u043E\u043B\u0435\u0435 200 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A \u0437\u0430 \u043E\u0434\u0438\u043D \u0440\u0430\u0437!","You libraries will be found under the My Libs folder":"\u0412\u0430\u0448\u0438 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438 \u043C\u043E\u0436\u043D\u043E \u043D\u0430\u0439\u0442\u0438 \u0432 \u043F\u0430\u043F\u043A\u0435 \u041C\u043E\u0438 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438","Add to Library":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432 \u043C\u043E\u044E \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0443","No items have been checked!":"\u042D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u044B!","Nothing was found, please create it for yourself":"\u041D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u0447\u0442\u043E-\u043D\u0438\u0431\u0443\u0434\u044C \u0441\u0430\u043C\u0438","Search result":"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430","At least 3 characters needed":"\u041D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u043A\u0430\u043A \u043C\u0438\u043D\u0438\u043C\u0443\u043C 3 \u0441\u0438\u043C\u0432\u043E\u043B\u0430","Add to my Favorite Parts":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432 \u043C\u043E\u0438 \u043B\u044E\u0431\u0438\u043C\u044B\u0435 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B","Added it OK. Please find it in your Favorite Parts":"\u0423\u0441\u043F\u0435\u0448\u043D\u043E \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043E. \u0422\u0435\u043F\u0435\u0440\u044C \u0432\u044B \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u043D\u0430\u0439\u0442\u0438 \u044D\u0442\u043E\u0442 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442 \u0432 \u043B\u044E\u0431\u0438\u043C\u044B\u0445","please select its parent node":"\u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0439 \u0443\u0437\u0435\u043B","Libraries can not be exported as active project pdf.":"\u0411\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438 \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 pdf.","Circuit does not have a GND":"\u0421\u0445\u0435\u043C\u0430 \u043D\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 GND(\u0437\u0435\u043C\u043B\u0438)","Circuit does not have a probe":"\u0421\u0445\u0435\u043C\u0430 \u043D\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 probe","Make sure your pin numbers are even numbers":"\u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044C, \u0447\u0442\u043E \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043E\u0432 \u0447\u0451\u0442\u043D\u043E\u0435","Duplicate Components Prefix":"\u0414\u0443\u0431\u043B\u0438\u0440\u0443\u044E\u0449\u0438\u0439 \u043F\u0440\u0435\u0444\u0438\u043A\u0441 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0430","{0} exist":"{0} \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442","There are some invalid packages,are you sure ?":"\u0415\u0441\u0442\u044C \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0445 \u043A\u043E\u0440\u043F\u0443\u0441\u043E\u0432, \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C?","Invalid Characters, library only allows [0-9a-zA-Z-_]":"\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B, \u0434\u043B\u044F \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u044B \u0442\u043E\u043B\u044C\u043A\u043E \u0446\u0438\u0444\u0440\u044B, \u043B\u0430\u0442\u0438\u043D\u0441\u043A\u0438\u0435 \u0431\u0443\u043A\u0432\u044B, \u0442\u0438\u0440\u0435 \u0438 \u043D\u0438\u0436\u043D\u0435\u0435 \u043F\u043E\u0434\u0447\u0451\u0440\u043A\u0438\u0432\u0430\u043D\u0438\u0435","Annotation success":"\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0439 \u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D","If you accept this annotation operation, please save your files. If not, close your files without saving.":"\u0412\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0439, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u0432\u0430\u0448\u0438 \u0444\u0430\u0439\u043B\u044B. \u0418\u043D\u0430\u0447\u0435, \u0437\u0430\u043A\u0440\u043E\u0439\u0442\u0435 \u0444\u0430\u0439\u043B\u044B \u0431\u0435\u0437 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F.","This file can't be saved under libs project,choose other project or create a new project":"\u0424\u0430\u0439\u043B \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D \u0432 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430\u0445 \u0442\u0435\u043A\u0443\u0449\u0435\u0433\u043E \u043F\u0440\u043E\u0435\u043A\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0439 \u043F\u0440\u043E\u0435\u043A\u0442 \u0438\u043B\u0438 \u0441\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u043D\u043E\u0432\u044B\u0439","Your file is unsaved.":"\u0412\u0430\u0448 \u0444\u0430\u0439\u043B \u043D\u0435\u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D.","You can close the editor now and have a good day!":"\u0422\u0435\u043F\u0435\u0440\u044C \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u0430\u043A\u0440\u044B\u0442\u044C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0438 \u043E\u0442\u0434\u043E\u0445\u043D\u0443\u0442\u044C!","Logout Successfully!":"\u0412\u044B\u0445\u043E\u0434 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D \u0443\u0441\u043F\u0435\u0448\u043D\u043E","You have at least one unsaved file open. Please save it or close it.":"\u0423 \u0432\u0430\u0441 \u043E\u0442\u043A\u0440\u044B\u0442 \u043A\u0430\u043A \u043C\u0438\u043D\u0438\u043C\u0443\u043C \u043E\u0434\u0438\u043D \u043D\u0435\u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0439 \u0444\u0430\u0439\u043B. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u0435\u0433\u043E \u0438\u043B\u0438 \u0437\u0430\u043A\u0440\u043E\u0439\u0442\u0435.","Please save your file before this operation":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u0432\u0430\u0448 \u0444\u0430\u0439\u043B \u043F\u0435\u0440\u0435\u0434 \u044D\u0442\u043E\u0439 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0435\u0439","Please open a PCB document":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u0444\u0430\u0439\u043B \u0441 \u043F\u043B\u0430\u0442\u043E\u0439","Please save your file before '{0}'.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u043F\u0435\u0440\u0435\u0434 \u0442\u0435\u043C, \u043A\u0430\u043A {0}.","Try it again after saving this file.":"\u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437 \u043F\u043E\u0441\u043B\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F \u044D\u0442\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0430.","Connecting to server":"\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A \u0441\u0435\u0440\u0432\u0435\u0440\u0443","Please login before asking for help":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u043E\u0439\u0434\u0438\u0442\u0435 \u043F\u0435\u0440\u0435\u0434 \u0442\u0435\u043C \u043A\u0430\u043A \u043F\u043E\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u043F\u043E\u043C\u043E\u0449\u0438","This file has been modified, please save it first!":"\u042D\u0442\u043E\u0442 \u0444\u0430\u0439\u043B \u0431\u044B\u043B \u0438\u0437\u043C\u0435\u043D\u0451\u043D, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u0435\u0433\u043E!","Remove this param":"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440","Click on an object to select then click on the canvas to place it":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043D\u0430 \u043E\u0431\u044A\u0435\u043A\u0442, \u0430 \u0437\u0430\u0442\u0435\u043C \u0449\u0451\u043B\u043A\u043D\u0438\u0442\u0435 \u043D\u0430 \u043E\u043A\u043D\u0435 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 \u0442\u0430\u043C, \u0433\u0434\u0435 \u0445\u043E\u0442\u0438\u0442\u0435 \u0440\u0430\u0437\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0435\u0433\u043E","Undo/Redo temporary error":'\u041E\u0448\u0438\u0431\u043A\u0430 "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C/\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C"',"We are sorry but EasyEDA is exhibiting an unpredictable error in the undo/redo process. This problem will be fixed soon but in the meanwhile it is safe to continue working on your design.":'\u041F\u0440\u0438\u043D\u043E\u0441\u0438\u043C \u0441\u0432\u043E\u0438 \u0438\u0437\u0432\u0438\u043D\u0435\u043D\u0438\u044F, EasyEDA \u0441\u0442\u043E\u043B\u043A\u043D\u0443\u043B\u0430\u0441\u044C \u0441 \u043D\u0435\u043F\u0440\u0435\u0434\u0432\u0438\u0434\u0435\u043D\u043D\u043E\u0439 \u043E\u0448\u0438\u0431\u043A\u043E\u0439 \u043F\u0440\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0438 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C/\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C". \u041F\u0440\u043E\u0431\u043B\u0435\u043C\u0430 \u0431\u0443\u0434\u0435\u0442 \u0441\u043A\u043E\u0440\u043E \u0438\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0430, \u0441\u0435\u0439\u0447\u0430\u0441 \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0440\u0430\u0431\u043E\u0442\u0443 \u043D\u0430\u0434 \u0432\u0430\u0448\u0438\u043C \u043F\u0440\u043E\u0435\u043A\u0442\u043E\u043C.',"The schematic has the duplicate prefixes of the components, please make them unique. You can check them at design manager.":"\u0421\u0445\u0435\u043C\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u0434\u0443\u0431\u043B\u0438\u0440\u0443\u044E\u0449\u0438\u0435\u0441\u044F \u043F\u0440\u0435\u0444\u0438\u043A\u0441\u044B \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u043E\u0432, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u0438\u0445 \u0443\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u043C\u0438. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u044D\u0442\u043E \u043F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u0432 \u041C\u0435\u043D\u0435\u0434\u0436\u0435\u0440\u0435 \u043F\u0440\u043E\u0435\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F.","Please click the below help button to know how to fix this problem.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0449\u0451\u043B\u043A\u043D\u0438\u0442\u0435 \u043F\u043E \u043A\u043D\u043E\u043F\u043A\u0435 \u043F\u043E\u043C\u043E\u0449\u0438 \u043D\u0438\u0436\u0435, \u0447\u0442\u043E\u0431\u044B \u0443\u0437\u043D\u0430\u0442\u044C \u043A\u0430\u043A \u0438\u0441\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u044D\u0442\u0443 \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0443.","Please create a board outline! Click the help button to know how to create board outline.":'\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u043B\u0430\u0442\u044B! \u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043D\u0430 \u043A\u043D\u043E\u043F\u043A\u0443 "\u041F\u043E\u043C\u043E\u0449\u044C", \u0447\u0442\u043E\u0431\u044B \u0443\u0437\u043D\u0430\u0442\u044C, \u043A\u0430\u043A \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u043B\u0430\u0442\u044B.',"Can not fetch files from server, please check your network and try again":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u0444\u0430\u0439\u043B\u044B \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0432\u0430\u0448\u0435 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A \u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0443 \u0438 \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437","Please open a schematic firstly!":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u0441\u0445\u0435\u043C\u0443!","Can not find the schematic of this PCB":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043D\u0430\u0439\u0442\u0438 \u0441\u0445\u0435\u043C\u0443 \u0434\u043B\u044F \u044D\u0442\u043E\u0439 \u043F\u043B\u0430\u0442\u044B","Anonymous PCB file can not support this operation, please login and save it under your project":"\u0410\u043D\u043E\u043D\u0438\u043C\u043D\u044B\u0439 \u0444\u0430\u0439\u043B \u043F\u043B\u0430\u0442 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u044D\u0442\u0443 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044E, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u043E\u0439\u0442\u0438 \u0438 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u0435\u0433\u043E \u0432 \u0441\u0432\u043E\u0439 \u043F\u0440\u043E\u0435\u043A\u0442","invalid points!":"\u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435 \u043A\u043E\u043E\u0440\u0434\u0438\u043D\u0430\u0442\u044B!","This file does not support this operation.":"\u042D\u0442\u043E\u0442 \u0444\u0430\u0439\u043B \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u044D\u0442\u0443 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044E.","Net Name Conflict":"\u041A\u043E\u043D\u0444\u043B\u0438\u043A\u0442 \u0438\u043C\u0451\u043D \u0448\u0438\u043D","Net name":"\u0418\u043C\u044F \u0448\u0438\u043D\u044B","in the same wire, please remove others and just keep one.":"\u043F\u0440\u043E\u0432\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u0435\u0442\u0441\u044F, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0443\u0434\u0430\u043B\u0438\u0442\u0435 \u043A\u043E\u043F\u0438\u0438.","This field can't be removed!":"\u042D\u0442\u043E \u043F\u043E\u043B\u0435 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0443\u0434\u0430\u043B\u0435\u043D\u043E!","Annular ring of the pad/via is too small":"Annular ring of the pad/\u043F\u0435\u0440\u0435\u0445\u043E\u0434\u043D\u043E\u0435 \u043E\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u0435 \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435","This project already has at least one schematic sheet. When converting to PCB, EasyEDA merges all schematics under the same project. One project does not allow two same schematics. Do not save backups into projects to be converted to PCB.":"\u0412 \u044D\u0442\u043E\u043C \u043F\u0440\u043E\u0435\u043A\u0442\u0435 \u0443\u0436\u0435 \u0435\u0441\u0442\u044C \u043E\u0434\u043D\u0430 \u0441\u0445\u0435\u043C\u0430. \u041F\u0440\u0438 \u043A\u043E\u043D\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u0438 \u0432 \u043F\u043B\u0430\u0442\u0443, EasyEDA \u0441\u043E\u0435\u0434\u0438\u043D\u044F\u0435\u0442 \u0432\u0441\u0435 \u0441\u0445\u0435\u043C\u044B \u043D\u0430 \u043E\u0434\u043D\u043E\u0439 \u043F\u043B\u0430\u0442\u0435. \u0412 \u043E\u0434\u043D\u043E\u043C \u043F\u0440\u043E\u0435\u043A\u0442\u0435 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0434\u0432\u0435 \u043E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u044B\u0445 \u0441\u0445\u0435\u043C\u044B. \u041D\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u044F\u0439\u0442\u0435 \u0431\u0435\u043A\u0430\u043F\u044B, \u0432 \u043F\u0440\u043E\u0435\u043A\u0442\u0430\u0445, \u043A\u043E\u043D\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u043C\u044B\u0445 \u0432 \u043F\u043B\u0430\u0442\u0443.","Please build the copper area! Click the help button to know how to build the copper area.":'\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0435\u0440\u0435\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043C\u0435\u0434\u043D\u044B\u0435 \u043F\u043E\u043B\u0438\u0433\u043E\u043D\u044B! \u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043D\u0430 \u043A\u043D\u043E\u043F\u043A\u0443 "\u041F\u043E\u043C\u043E\u0449\u044C", \u0447\u0442\u043E\u0431\u044B \u0443\u0437\u043D\u0430\u0442\u044C, \u043A\u0430\u043A \u043F\u0435\u0440\u0435\u0441\u0442\u043E\u0438\u0442\u044C \u043C\u0435\u0434\u043D\u044B\u0435 \u043E\u0431\u043B\u0430\u0441\u0442\u0438.',"You would better to set a package for this component now!":"\u041B\u0443\u0447\u0448\u0435 \u0443\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u043E\u0440\u043F\u0443\u0441 \u0434\u043B\u044F \u044D\u0442\u043E\u0433\u043E \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0430 \u0441\u0435\u0439\u0447\u0430\u0441!","Please select an opened document at first.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044B\u0439 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442.","Some files were failed to load. Please reload the page.":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0444\u0430\u0439\u043B\u044B. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443.",Skip:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C","\xAB Back":"\xAB \u041D\u0430\u0437\u0430\u0434","Next \xBB":"\u0412\u043F\u0435\u0440\u0451\u0434 \xBB",Done:"\u0413\u043E\u0442\u043E\u0432\u043E","This is the user management menu.":"\u042D\u0442\u043E \u043C\u0435\u043D\u044E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u043C\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u043C\u0438.","This is the toolbar.":"\u042D\u0442\u043E \u043F\u0430\u043D\u0435\u043B\u044C \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432.","This is the navigation list. Under here you can find projects, files, parts and libraries.":"\u042D\u0442\u043E \u043F\u0430\u043D\u0435\u043B\u044C \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438. \u0417\u0434\u0435\u0441\u044C \u0432\u044B \u043D\u0430\u0439\u0434\u0451\u0442\u0435 \u043F\u0440\u043E\u0435\u043A\u0442\u044B, \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438, \u0444\u0430\u0439\u043B\u044B \u0438 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B.","Show or hide the toolbar to the top of the window here.":"\u0421\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435/\u043E\u0442\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435 \u0432\u0435\u0440\u0445\u043D\u044E\u044E \u043F\u0430\u043D\u0435\u043B\u044C.","Show, resize or hide the left sidebar to the left of the window here.":"\u0418\u0437\u043C\u0435\u043D\u044F\u0439\u0442\u0435 \u0440\u0430\u0437\u043C\u0435\u0440 \u043B\u0435\u0432\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0438\u043B\u0438 \u0441\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435 \u0435\u0451.","Show or hide the right sidebar to the right of the window here.":"\u0421\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435/\u043E\u0442\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435 \u043F\u0440\u0430\u0432\u0443\u044E \u043F\u0430\u043D\u0435\u043B\u044C.","Passive Components":"\u041F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0435 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B","Power Supply":"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u043F\u0438\u0442\u0430\u043D\u0438\u044F",Diodes:"\u0414\u0438\u043E\u0434\u044B",Regulator:"\u0420\u0435\u0433\u0443\u043B\u044F\u0442\u043E\u0440",Transistor:"\u0422\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440",Transformers:"\u0422\u0440\u0430\u043D\u0441\u0444\u043E\u0440\u043C\u0430\u0442\u043E\u0440\u044B",Gates:"\u0417\u0430\u0442\u0432\u043E\u0440\u044B","Vacuum Tubes":"\u041B\u0430\u043C\u043F\u043E\u0432\u0430\u044F \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u0438\u043A\u0430",Switch:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u0438",Relay:"\u0420\u0435\u043B\u0435","Capacitor(US)":"\u041A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440(\u0421\u0428\u0410)","Capacitor(EU)":"\u041A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440(\u0415\u0421)","Capacitor(EU)2":"\u041A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440(\u0415\u0421)2","Electrolytic Capacitor(US)":"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043B\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440 (\u0421\u0428\u0410)","Electrolytic Capacitor(EU)":"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043B\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440 (\u0415\u0421)","Electrolytic Capacitor(US)2":"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043B\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440 (\u0421\u0428\u0410)2","Electrolytic Capacitor(EU)2":"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043B\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440 (\u0415\u0421)2","Inductor(US)":"\u0414\u0440\u043E\u0441\u0441\u0435\u043B\u044C(\u0421\u0428\u0410)","Inductor(EU)":"\u0414\u0440\u043E\u0441\u0441\u0435\u043B\u044C(\u0415\u0421)","Potentiometer(US)":"\u041F\u043E\u0442\u0435\u043D\u0446\u0438\u043E\u043C\u0435\u0442\u0440(\u0421\u0428\u0410)","Potentiometer(EU)":"\u041F\u043E\u0442\u0435\u043D\u0446\u0438\u043E\u043C\u0435\u0442\u0440(\u0415\u0421)","Resistor(US)":"\u0420\u0435\u0437\u0438\u0441\u0442\u043E\u0440 (\u0421\u0428\u0410)","Resistor(EU)":"\u0420\u0435\u0437\u0438\u0441\u0442\u043E\u0440 (\u0415\u0421)","Resistor 45 Deg(US)":"\u0420\u0435\u0437\u0438\u0441\u0442\u043E\u0440, \u043F\u043E\u0432\u0451\u0440\u043D\u0443\u0442\u044B\u0439 \u043D\u0430 45 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432(\u0421\u0428\u0410)","Resistor 45 Deg(EU)":"\u0420\u0435\u0437\u0438\u0441\u0442\u043E\u0440, \u043F\u043E\u0432\u0451\u0440\u043D\u0443\u0442\u044B\u0439 \u043D\u0430 45 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432(\u0415\u0421)","Variable Capacitor(US)":"\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0439 \u043A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440(\u0421\u0428\u0410)","Variable Capacitor(EU)":"\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0439 \u043A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440(\u0415\u0421)","Variable Resistor(US)":"\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0439 \u0440\u0435\u0437\u0438\u0441\u0442\u043E\u0440(\u0421\u0428\u0410)","Variable Resistor(EU)":"\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0439 \u0440\u0435\u0437\u0438\u0441\u0442\u043E\u0440(\u0415\u0421)","Variable Inductor(US)":"\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0439 \u0434\u0440\u043E\u0441\u0441\u0435\u043B\u044C(\u0421\u0428\u0410)","Variable Inductor(EU)":"\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0439 \u0434\u0440\u043E\u0441\u0441\u0435\u043B\u044C(\u0415\u0421)",Varistor:"\u0412\u0430\u0440\u0438\u0441\u0442\u043E\u0440","Inductor2(US)":"\u0414\u0440\u043E\u0441\u0441\u0435\u043B\u044C2(\u0421\u0428\u0410)","Inductor2(EU)":"\u0414\u0440\u043E\u0441\u0441\u0435\u043B\u044C2(\u0415\u0421)",Battery:"\u0411\u0430\u0442\u0430\u0440\u0435\u044F","Voltage Source":"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u043D\u0430\u043F\u0440\u044F\u0436\u0435\u043D\u0438\u044F","Current Source":"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u043A\u0430","CCCS(Current Controlled Current Source)":"CCCS(\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u043A\u0430 \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0439 \u0442\u043E\u043A\u043E\u043C)","CCCS2(Current Controlled Current Source)":"CCCS2(\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u043A\u0430 \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0439 \u0442\u043E\u043A\u043E\u043C2)","VCCS(Voltage Controlled Current Source)":"VCCS(\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u043A\u0430 \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0439 \u043D\u0430\u043F\u0440\u044F\u0436\u0435\u043D\u0438\u0435\u043C)","VCVS(Voltage Controlled Voltage Source)":"VCVS(\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u043D\u0430\u043F\u0440\u044F\u0436\u0435\u043D\u0438\u044F \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0439 \u043D\u0430\u043F\u0440\u044F\u0436\u0435\u043D\u0438\u0435\u043C)","CCVS(Current Controlled Voltage Source)":"CCVS(\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u043D\u0430\u043F\u0440\u044F\u0436\u0435\u043D\u0438\u044F \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0439 \u0442\u043E\u043A\u043E\u043C)","CCVS2(Current Controlled Voltage Source)":"CCVS2(\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u043D\u0430\u043F\u0440\u044F\u0436\u0435\u043D\u0438\u044F \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0439 \u0442\u043E\u043A\u043E\u043C2)","BV(Behavioral Voltage Sources)":"BV(\u041F\u043E\u0432\u0435\u0434\u0435\u043D\u0447\u0435\u0441\u043A\u0438\u0435 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0438 \u043D\u0430\u043F\u0440\u044F\u0436\u0435\u043D\u0438\u044F)","BI(Behavioral Voltage Sources)":"BI(\u041F\u043E\u0432\u0435\u0434\u0435\u043D\u0447\u0435\u0441\u043A\u0438\u0435 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0438 \u0442\u043E\u043A\u0430)","Epoly(Non-linear Voltage Source)":"Epoly(\u041D\u0435\u043B\u0438\u043D\u0435\u0439\u043D\u044B\u0439 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u043D\u0430\u043F\u0440\u044F\u0436\u0435\u043D\u0438\u044F)","Gpoly(Non-linear Current Source)":"Gpoly(\u041D\u0435\u043B\u0438\u043D\u0435\u0439\u043D\u044B\u0439 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u043A\u0430)",Diode:"\u0414\u0438\u043E\u0434",LED:"\u0421\u0432\u0435\u0442\u043E\u0434\u0438\u043E\u0434","Schottky Diode":"\u0414\u0438\u043E\u0434 \u0428\u043E\u0442\u0442\u043A\u0438","Varactor Diode":"\u0412\u0430\u0440\u0430\u043A\u0442\u043E\u0440",Zener:"\u0421\u0442\u0430\u0431\u0438\u043B\u0438\u0442\u0440\u043E\u043D","Unidirectional TVS Diode":"\u041E\u0434\u043D\u043E\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043D\u044B\u0439 \u0441\u0443\u043F\u0440\u0435\u0441\u0441\u043E\u0440","Bidirectional TVS Diode":"\u0414\u0432\u0443\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043D\u044B\u0439 \u0441\u0443\u043F\u0440\u0435\u0441\u0441\u043E\u0440",Diac:"\u0414\u0438\u043D\u0438\u0441\u0442\u043E\u0440",Bridge:"\u041C\u043E\u0441\u0442","MOSFET(Nch)":"MOSFET(N-\u043A\u0430\u043D\u0430\u043B\u044C\u043D\u044B\u0439)","MOSFET(Nch) Depletion Four-pins":"MOSFET(N-\u043A\u0430\u043D\u0430\u043B\u044C\u043D\u044B\u0439) Depletion Four-pins","MOSFET(Nch) Enhancement":"MOSFET(N-\u043A\u0430\u043D\u0430\u043B\u044C\u043D\u044B\u0439) Enhancement","MOSFET(Nch) Enhancement Four-pins":"MOSFET(N-\u043A\u0430\u043D\u0430\u043B\u044C\u043D\u044B\u0439) Enhancement Four-pins","MOSFET(Pch)":"MOSFET(P-\u043A\u0430\u043D\u0430\u043B\u044C\u043D\u044B\u0439)","MOSFET(Pch) Depletion Four-pins":"MOSFET(P-\u043A\u0430\u043D\u0430\u043B\u044C\u043D\u044B\u0439) Depletion Four-pins","MOSFET(Pch) Enhancement":"MOSFET(P-\u043A\u0430\u043D\u0430\u043B\u044C\u043D\u044B\u0439) Enhancement","MOSFET(Pch) Enhancement Four-pins":"MOSFET(P-\u043A\u0430\u043D\u0430\u043B\u044C\u043D\u044B\u0439) Enhancement Four-pins","JFET(Nch)":"JFET(N-\u043A\u0430\u043D\u0430\u043B\u044C\u043D\u044B\u0439)","JFET(Pch)":"JFET(N-\u043A\u0430\u043D\u0430\u043B\u044C\u043D\u044B\u0439)","Darlington NPN":"\u0421\u0431\u043E\u0440\u043A\u0430 \u0414\u0430\u0440\u043B\u0438\u043D\u0433\u0442\u043E\u043D\u0430(NPN)","Darlington PNP":"\u0421\u0431\u043E\u0440\u043A\u0430 \u0414\u0430\u0440\u043B\u0438\u043D\u0433\u0442\u043E\u043D\u0430(PNP)","MESFET(Nch)":"MESFET(N-\u043A\u0430\u043D\u0430\u043B\u044C\u043D\u044B\u0439)","MESFET(Pch)":"MESFET(N-\u043A\u0430\u043D\u0430\u043B\u044C\u043D\u044B\u0439)",IGBT:"IGBT \u0442\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440",SCR:"\u0422\u0438\u0440\u0438\u0441\u0442\u043E\u0440",Triac:"\u0421\u0438\u043C\u0438\u0441\u0442\u043E\u0440","Transform(US)":"\u0422\u0440\u0430\u043D\u0441\u0444\u043E\u0440\u043C\u0430\u0442\u043E\u0440 (\u0421\u0428\u0410)","Transform(EU)":"\u0422\u0440\u0430\u043D\u0441\u0444\u043E\u0440\u043C\u0430\u0442\u043E\u0440 (\u0415\u0421)","Or Gate":"\u0418\u041B\u0418","Xor Gate":"\u0418\u0441\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0435 \u0418\u041B\u0418","And Gate":"\u0418","Nor Gate":"\u0418\u041B\u0418 \u041D\u0415","Nand Gate":"\u0418 \u041D\u0415","Not Gate":"\u041D\u0415","Xnor Gate":"\u0418\u0441\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0435 \u0418\u041B\u0418 \u0438 \u0438\u043D\u0432\u0435\u0440\u0441\u0438\u0435\u0439","Tube Diode":"\u041B\u0430\u043C\u043F\u043E\u0432\u044B\u0439 \u0434\u0438\u043E\u0434","Tube Triode":"\u041B\u0430\u043C\u043F\u043E\u0432\u044B\u0439 \u0442\u0440\u0438\u043E\u0434","Tube Tetrode":"\u041B\u0430\u043C\u043F\u043E\u0432\u044B\u0439 \u0442\u0435\u0442\u0440\u043E\u0434","Tube Pentode":"\u041B\u0430\u043C\u043F\u043E\u0432\u044B\u0439 \u043F\u0435\u043D\u0442\u043E\u0434","Voltage Controlled Switch":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u044C \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u0438\u0440\u0443\u0435\u043C\u044B\u0439 \u043D\u0430\u043F\u0440\u044F\u0436\u0435\u043D\u0438\u0435\u043C","Current Controlled Switch":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u044C \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u0438\u0440\u0443\u0435\u043C\u044B\u0439 \u0442\u043E\u043A\u043E\u043C",Fuse:"\u041F\u0440\u0435\u0434\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435\u043B\u044C","555(Style2)":"555(\u0441\u0442\u0438\u043B\u044C 2)",Speaker:"\u0414\u0438\u043D\u0430\u043C\u0438\u043A",XTAL:"\u041A\u0432\u0430\u0440\u0446\u0435\u0432\u044B\u0439 \u0440\u0435\u0437\u043E\u043D\u0430\u0442\u043E\u0440","5pin Operational Amplifier":"5 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u044B\u0439 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0439 \u0443\u0441\u0438\u043B\u0438\u0442\u0435\u043B\u044C","3pin Operational amplifier":"3 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u044B\u0439 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0439 \u0443\u0441\u0438\u043B\u0438\u0442\u0435\u043B\u044C",Voltmeter:"\u0412\u043E\u043B\u044C\u0442\u043C\u0435\u0442\u0440",Ammeter:"\u0410\u043C\u043F\u0435\u0440\u043C\u0435\u0442\u0440",LAMP:"\u041B\u0430\u043C\u043F\u0430","Opto Transistor":"\u041E\u043F\u0442\u043E-\u0442\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440","Keep these fields empty if you just want to build a symbol":"\u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u044D\u0442\u0438 \u043F\u043E\u043B\u044F \u043F\u0443\u0441\u0442\u044B\u043C\u0438, \u0435\u0441\u043B\u0438 \u0432\u044B \u043F\u0440\u043E\u0441\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0441\u043E\u0437\u0434\u0430\u0442\u044C symbol","need login":"\u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u0432\u043E\u0439\u0442\u0438","bad password":"\u043D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043F\u0430\u0440\u043E\u043B\u044C","We cant find your username or your email,please check it!":"\u041C\u044B \u043D\u0435 \u0441\u043C\u043E\u0433\u043B\u0438 \u043D\u0430\u0439\u0442\u0438 \u0432\u0430\u0448\u0435 \u0438\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0438\u043B\u0438 \u044D\u043B. \u043F\u043E\u0447\u0442\u0443, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0438\u0445!","Make sure your uploaded file size is less than 3MB !":"\u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044C, \u0447\u0442\u043E \u0440\u0430\u0437\u043C\u0435\u0440 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0433\u043E \u0444\u0430\u0439\u043B\u0430 \u043D\u0435 \u043F\u0440\u0435\u0432\u044B\u0448\u0430\u0435\u0442 3\u041C\u0411!","bad file type":"\u043F\u043B\u043E\u0445\u043E\u0439 \u0442\u0438\u043F \u0444\u0430\u0439\u043B\u0430","Empty file or bad file type, ensure your file is Eagle 6.0+":"\u041F\u0443\u0441\u0442\u043E\u0439 \u0444\u0430\u0439\u043B \u0438\u043B\u0438 \u043F\u043B\u043E\u0445\u043E\u0439 \u0442\u0438\u043F \u0444\u0430\u0439\u043B\u0430, \u0443\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044C, \u0447\u0442\u043E \u0432\u0430\u0448 \u0444\u0430\u0439\u043B \u0441\u043E\u0437\u0434\u0430\u043D \u0432 Eagle 6.0+","This operation not supported on demo account":"\u042D\u0442\u0430 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u043D\u0430 \u0434\u0435\u043C\u043E \u0430\u043A\u043A\u0430\u0443\u043D\u0442\u0435","Can not share this file that under a public project, please set the active project to public!":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0434\u0435\u043B\u0438\u0442\u044C\u0441\u044F \u0444\u0430\u0439\u043B\u043E\u043C \u0438\u0437 \u043F\u0440\u0438\u0432\u0430\u0442\u043D\u043E\u0433\u043E \u043F\u0440\u043E\u0435\u043A\u0442\u0430, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u043F\u0440\u043E\u0435\u043A\u0442 \u043F\u0443\u0431\u043B\u0438\u0447\u043D\u044B\u043C!","Login Failed Too many attempts. If you forgot your password, please {0}reset your password{1} or send an email to support@easyeda.com":"\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u043D\u043E\u0433\u043E \u043F\u043E\u043F\u044B\u0442\u043E\u043A \u0432\u043E\u0439\u0442\u0438. \u0415\u0441\u043B\u0438 \u0432\u044B \u0437\u0430\u0431\u044B\u043B\u0438 \u0441\u0432\u043E\u0439 \u043F\u0430\u0440\u043E\u043B\u044C, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, {0}\u0441\u0431\u0440\u043E\u0441\u044C\u0442\u0435 \u0435\u0433\u043E{1} \u0438\u043B\u0438 \u043E\u0442\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u043F\u0438\u0441\u044C\u043C\u043E \u043D\u0430 support@easyeda.com","Common Buttons Setting":"\u041E\u0431\u0449\u0438\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043A\u043B\u0430\u0432\u0438\u0448","Show/Hide":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C/\u0421\u043A\u0440\u044B\u0442\u044C","Move Up":"\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432\u044B\u0448\u0435","Move Down":"\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u043D\u0438\u0436\u0435","Reset All":"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u0432\u0441\u0451","Find Libraries...":"\u041D\u0430\u0439\u0442\u0438 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438...","Place Pin":"\u0420\u0430\u0437\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0430\u043A\u0442",Permissions:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F",Operation:"\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u044F","Access Control":"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u0430","Project Access Control":"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043A \u043F\u0440\u043E\u0435\u043A\u0442\u0443",Reject:"\u041E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C","Add User":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F","Bad email address":"\u041F\u043B\u043E\u0445\u043E\u0439 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B. \u043F\u043E\u0447\u0442\u044B","Can't find the email in EasyEDA, your parter should be an EasyEDA user at frist.":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043D\u0430\u0439\u0442\u0438 \u044D\u043B. \u043F\u043E\u0447\u0442\u0443, \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C \u043D\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.","Grid Background":"\u0424\u043E\u043D \u0441\u0435\u0442\u043A\u0438","Pane Background":"\u0424\u043E\u043D \u043F\u0430\u043D\u0435\u043B\u0435\u0439","WaveForm Config":"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u0444\u043E\u0440\u043C\u044B \u0432\u043E\u043B\u043D\u044B","Export Waveform":"\u042D\u043A\u0441\u043F\u043E\u0440\u0442 \u0444\u043E\u0440\u043C\u044B \u0441\u0438\u0433\u043D\u0430\u043B\u0430 \u0432 \u0444\u0430\u0439\u043B CSV",dot:"\u0442\u043E\u0447\u043A\u0438",line:"\u043B\u0438\u043D\u0438\u044F","A4 Portrait":"A4 \u041A\u043D\u0438\u0436\u043D\u044B\u0439","A4 Landscape":"A4 \u0410\u043B\u044C\u0431\u043E\u043C\u043D\u044B\u0439","A3 Portrait":"A3 \u041A\u043D\u0438\u0436\u043D\u044B\u0439","A3 Landscape":"A3 \u0410\u043B\u044C\u0431\u043E\u043C\u043D\u044B\u0439","A2 Portrait":"A2 \u041A\u043D\u0438\u0436\u043D\u044B\u0439","A2 Landscape":"A2 \u0410\u043B\u044C\u0431\u043E\u043C\u043D\u044B\u0439","A1 Portrait":"A1 \u041A\u043D\u0438\u0436\u043D\u044B\u0439","A1 Landscape":"A1 \u0410\u043B\u044C\u0431\u043E\u043C\u043D\u044B\u0439",Landscape:"\u041A\u043D\u0438\u0436\u043D\u044B\u0439",Portrait:"\u0410\u043B\u044C\u0431\u043E\u043C\u043D\u044B\u0439",solid:"\u0441\u043F\u043B\u043E\u0448\u043D\u0430\u044F",dashed:"\u043F\u0443\u043D\u043A\u0442\u0438\u0440\u043D\u0430\u044F",dotted:"\u0442\u043E\u0447\u0435\u0447\u043D\u0430\u044F","Fill Region":"\u0421\u043F\u043B\u043E\u0448\u043D\u0430\u044F \u043E\u0431\u043B\u0430\u0441\u0442\u044C",Type:"\u0422\u0438\u043F","Report error":"\u041E\u0442\u0447\u0451\u0442 \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435","Please give us some information to help us find the problems.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043E\u043E\u0431\u0449\u0438\u0442\u0435 \u043D\u0430\u043C \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u0443\u044E \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043C\u043E\u0447\u044C \u043D\u0430\u043C \u0438\u0441\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0443.","Cannot place parts into this document: Schematic Symbols can only be placed into a Schematic; PCB Footprints can only be placed into a PCB.":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0440\u0430\u0437\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B \u0432 \u044D\u0442\u043E\u043C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0435: \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0441\u0445\u0435\u043C \u043D\u0443\u0436\u043D\u043E \u0440\u0430\u0437\u043C\u0435\u0449\u0430\u0442\u044C \u043D\u0430 \u0441\u0445\u0435\u043C\u0435, \u0448\u0435\u043B\u043A\u043E\u0433\u0440\u0430\u0444\u0438\u044E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430 \u043F\u0435\u0447\u0430\u0442\u043D\u043E\u0439 \u043F\u043B\u0430\u0442\u0435.","Save it as a favorite part":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043A\u0430\u043A \u043B\u044E\u0431\u0438\u043C\u044B\u0439 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442","Only logged-in users can save this component as a Favorite Part but guest (Anonymous) users can place this component into their design directly. Would you like to place this component now?":"\u0422\u043E\u043B\u044C\u043A\u043E \u0432\u043E\u0448\u0435\u0434\u0448\u0438\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0438 \u043C\u043E\u0433\u0443\u0442 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442 \u0432 \u043B\u044E\u0431\u0438\u043C\u044B\u0435, \u0430 \u0433\u043E\u0441\u0442\u0438 (\u0430\u043D\u043E\u043D\u0438\u043C\u044B) \u043C\u043E\u0433\u0443\u0442 \u0440\u0430\u0437\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442 \u0441\u0442\u043E\u043B\u044C\u043A\u043E \u0441\u0440\u0430\u0437\u0443 \u0432 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442. \u0412\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u0440\u0430\u0437\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442 \u0432 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0435?","Electronic circuit design - EasyEDA":"\u0421\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0441\u0445\u0435\u043C \u0438 \u043F\u0435\u0447\u0430\u0442\u043D\u044B\u0445 \u043F\u043B\u0430\u0442 \u043E\u043D\u043B\u0430\u0439\u043D - EasyEDA","Find libs":"\u041D\u0430\u0439\u0442\u0438 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438","My Projects":"\u041C\u043E\u0438 \u043F\u0440\u043E\u0435\u043A\u0442\u044B","My Parts":"\u041C\u043E\u0438 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B","My Modules":"\u041C\u043E\u0438 \u043C\u043E\u0434\u0443\u043B\u0438",Modules:"\u041C\u043E\u0434\u0443\u043B\u0438","SCH Modules":"\u041C\u043E\u0434\u0443\u043B\u0438 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u043E\u0432","PCB Modules":"\u041C\u043E\u0434\u0443\u043B\u0438 \u043A\u043E\u0440\u043F\u0443\u0441\u043E\u0432","LCSC (Official)":"LCSC (\u041E\u0444\u0444\u0438\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0439)","Favorite Parts":"\u041B\u044E\u0431\u0438\u043C\u044B\u0435 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B","Shared With Me":"\u041F\u043E\u0434\u0435\u043B\u0438\u043B\u0438\u0441\u044C \u0441\u043E \u043C\u043D\u043E\u0439",Preview:"\u041F\u0440\u0435\u0434\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440","Preview Window":"\u041E\u043A\u043D\u043E \u043F\u0440\u0435\u0434\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430","System Default":"\u041F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E","User Defined":"\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043E \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u043C",Theme:"\u0422\u0435\u043C\u0430","Theme Setting":"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0442\u0435\u043C\u044B",Close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",Open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C",Collapse:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C","Toggle toolbar":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C/\u0441\u043A\u0440\u044B\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432","Toggle left bar":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C/\u0441\u043A\u0440\u044B\u0442\u044C \u043B\u0435\u0432\u0443\u044E \u043F\u0430\u043D\u0435\u043B\u044C","Toggle right bar":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C/\u0441\u043A\u0440\u044B\u0442\u044C \u043F\u0440\u0430\u0432\u0443\u044E \u043F\u0430\u043D\u0435\u043B\u044C",Reload:"\u041F\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C","Mouse-X":"\u041F\u043E\u0437\u0438\u0446\u0438\u044F \u043C\u044B\u0448\u0438 \u043F\u043E X","Mouse-Y":"\u041F\u043E\u0437\u0438\u0446\u0438\u044F \u043C\u044B\u0448\u0438 \u043F\u043E Y","Mouse-DX":"\u041F\u043E\u0437\u0438\u0446\u0438\u044F DX","Mouse-DY":"\u041F\u043E\u0437\u0438\u0446\u0438\u044F DY",Yes:"\u0414\u0430",No:"\u041D\u0435\u0442",OK:"\u041E\u043A",Cancel:"\u041E\u0442\u043C\u0435\u043D\u0430","Ask a question":"\u0417\u0430\u0434\u0430\u0442\u044C \u0432\u043E\u043F\u0440\u043E\u0441","Share my works":"\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u044C\u0441\u044F \u043C\u043E\u0435\u0439 \u0440\u0430\u0431\u043E\u0442\u043E\u0439","Go to my page":"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u043C\u043E\u044E \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443","Bus entry":"\u0412\u0435\u0442\u043A\u0430 \u0448\u0438\u043D\u044B",Filter:"\u041F\u043E\u0438\u0441\u043A",Check:"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C","Guest Project":"\u0413\u043E\u0441\u0442\u0435\u0432\u043E\u0439 \u043F\u0440\u043E\u0435\u043A\u0442","Insert into":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0432","Insert into {site}":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0432 {site}","Upload {site}":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C {site}","Copy the contents of this box into a text editor, then save the file. Paste the edited text back into this box and click Apply to update the display.":'\u0421\u043A\u043E\u043F\u0438\u0440\u0443\u0439\u0442\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u044D\u0442\u043E\u0433\u043E \u043F\u043E\u043B\u044F \u0432 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440, \u0437\u0430\u0442\u0435\u043C \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u0444\u0430\u0439\u043B. \u0412\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043E\u0442\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0442\u0435\u043A\u0441\u0442 \u043E\u0431\u0440\u0430\u0442\u043D\u043E \u0432 \u044D\u0442\u043E \u043F\u043E\u043B\u0435 \u0438 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 "\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C", \u0447\u0442\u043E\u0431\u044B \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435.',"EasyEDA format":"\u0424\u043E\u0440\u043C\u0430\u0442 EasyEDA","Copy the contents of this box into a text editor, then save the file with a .svg extension. You can edit it in Inkscape or open it in your browser.":"\u0421\u043A\u043E\u043F\u0438\u0440\u0443\u0439\u0442\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u044D\u0442\u043E\u0433\u043E \u043F\u043E\u043B\u044F \u0432 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440, \u0437\u0430\u0442\u0435\u043C \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435\u043C svg. \u0412\u044B \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0435\u0433\u043E \u0432 Inkscape \u0438\u043B\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u0432\u0430\u0448\u0435\u043C \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435.","SVG format":"SVG \u0444\u043E\u0440\u043C\u0430\u0442","SVG File":"SVG-\u0444\u0430\u0439\u043B","Descript should be no more than 250 letters":"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u043F\u0440\u0435\u0432\u044B\u0448\u0430\u0442\u044C 250 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432","The file save operation has timed out. Try again and check your Internet connection.":"\u041F\u0440\u0435\u0432\u044B\u0448\u0435\u043D\u043E \u0432\u0440\u0435\u043C\u044F \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F \u0444\u0430\u0439\u043B\u0430. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437 \u0438 \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0441\u0432\u043E\u0451 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A \u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0443.","Export Netlist":"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C Netlist",Notifications:"\u0423\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F","Please select txt or json files.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 txt \u0438\u043B\u0438 json \u0444\u0430\u0439\u043B.","Failed to read file [{file}]":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044C \u0444\u0430\u0439\u043B [{file}]","[{file}] is not a valid json file":"[{file}] \u043D\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u043C json \u0444\u0430\u0439\u043B\u043E\u043C","Invalid parameters!":"\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B!",Download:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C",Start:"\u041D\u0430\u0447\u0430\u0442\u044C","You have unsaved files, are you sure to log out without saving the files?":"\u0423 \u0432\u0430\u0441 \u0435\u0441\u0442\u044C \u043D\u0435\u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0435 \u0444\u0430\u0439\u043B\u044B, \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u0432\u044B\u0439\u0442\u0438 \u0431\u0435\u0437 \u0438\u0445 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F?","Please use the web version to run this function.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0432\u0435\u0431-\u0432\u0435\u0440\u0441\u0438\u044E, \u0447\u0442\u043E\u0431\u044B \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u044D\u0442\u0443 \u0444\u0443\u043D\u043A\u0446\u0438\u044E.","Please save this file to you project!":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u044D\u0442\u043E\u0442 \u0444\u0430\u0439\u043B \u0432 \u0432\u0430\u0448 \u043F\u0440\u043E\u0435\u043A\u0442!","nothing changed":"\u041D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u043E\u0441\u044C","Delete Node":"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0443\u0437\u0435\u043B","This layer is invisible.":"\u042D\u0442\u043E\u0442 \u0441\u043B\u043E\u0439 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u044B\u0439.","Coming soon":"\u0421\u043A\u043E\u0440\u043E","No tool":"\u041D\u0435\u0442 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430","Help us translate to your language":"\u041F\u043E\u043C\u043E\u0433\u0438\u0442\u0435 \u043D\u0430\u043C \u0441 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u043E\u043C \u043D\u0430 \u0432\u0430\u0448 \u044F\u0437\u044B\u043A",Pad:"\u041F\u043E\u043B\u0438\u0433\u043E\u043D","Via/Hole":"\u041E\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u0435","PCB Layers":"\u0421\u043B\u043E\u0438 \u043F\u043B\u0430\u0442\u044B","Order PCB":"\u0417\u0430\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u043B\u0430\u0442\u044B",Free:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",Small:"\u041C\u0430\u043B\u0435\u043D\u044C\u043A\u0438\u0439",Medium:"\u0421\u0440\u0435\u0434\u043D\u0438\u0439",Big:"\u0411\u043E\u043B\u044C\u0448\u043E\u0439","Exporting as":"\u042D\u043A\u0441\u043F\u043E\u0440\u0442 \u0432","Exporting as image":"\u042D\u043A\u0441\u043F\u043E\u0440\u0442 \u0432 \u0432\u0438\u0434\u0435 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F","Exporting as {0}SVG{1} file.":"\u042D\u043A\u0441\u043F\u043E\u0440\u0442 \u0432 {0}SVG{1}-\u0444\u0430\u0439\u043B.","Exporting as pdf is recommended: pdf gives good quality printed output and a small file size.":"\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 pdf: pdf \u0434\u0430\u0451\u0442 \u0445\u043E\u0440\u043E\u0448\u0435\u0435 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u0440\u0438 \u043F\u0435\u0447\u0430\u0442\u0438 \u0438 \u0438\u043C\u0435\u0435\u0442 \u043D\u0435\u0431\u043E\u043B\u044C\u0448\u043E\u0439 \u0440\u0430\u0437\u043C\u0435\u0440 \u0444\u0430\u0439\u043B\u0430.","Generate Fabrication File(Gerber)":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C Gerber","PenWidth-Increase":"Pen Width Increase","PCB Details":"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u043F\u043B\u0430\u0442\u0435","Gerber View":"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 Gerber","Dimensions(Estimated)":"\u0420\u0430\u0437\u043C\u0435\u0440\u044B (\u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E)","PCB Qty":"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u043B\u0430\u0442","Copper Weight":"\u0422\u043E\u043B\u0449\u0438\u043D\u0430 \u043C\u0435\u0434\u0438","PCB Refer Price(USD)":"\u041F\u0440\u0438\u043C\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u043F\u043B\u0430\u0442 (USB)","Shipping Estimated Time":"\u041F\u0440\u0438\u043C\u0435\u0440\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F \u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0438","The first time order,  the shipping cost will be free!":"\u041F\u0435\u0440\u0432\u044B\u0439 \u0437\u0430\u043A\u0430\u0437, \u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u0431\u0443\u0434\u0435\u0442 \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E\u0439!","HASL(with lead)":"HASL(\u0441\u043E \u0441\u0432\u0438\u043D\u0446\u043E\u043C)","LeadFree HASL-RoHS":"HASL-RoHS(\u0431\u0435\u0441\u0441\u0432\u0438\u043D\u0435\u0446)","The PCB has {drcErrors} DRC errors.":"\u0423 \u043F\u043B\u0430\u0442\u044B \u0435\u0441\u0442\u044C {drcErrors} DRC \u043E\u0448\u0438\u0431\u043E\u043A.","Do you want to check the DRC errors?":"\u0412\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u043F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u043D\u0430 DRC \u043E\u0448\u0438\u0431\u043A\u0438\uFF1F","Check DRC Errors":"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u043D\u0430 DRC \u043E\u0448\u0438\u0431\u043A\u0438","Ignore and Continue":"\u0418\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C","It will then redirect to the web site of a thirdparty JLCPCB with which we cooperate.Are you ready?":"\u0412\u044B \u0431\u0443\u0434\u0435\u0442\u0435 \u043F\u0435\u0440\u0435\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u044B \u043D\u0430 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0438\u0439 \u0441\u0430\u0439\u0442 JLCPCB, \u0441 \u043A\u043E\u0442\u043E\u0440\u044B\u043C \u043C\u044B \u0441\u043E\u0442\u0440\u0443\u0434\u043D\u0438\u0447\u0430\u0435\u043C. \u0412\u044B \u0433\u043E\u0442\u043E\u0432\u044B?","Failed to submit your order,please contact us via support@easyeda.com for help.":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0432\u0430\u0448 \u0437\u0430\u043A\u0430\u0437, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u0432\u044F\u0436\u0438\u0442\u0435\u0441\u044C \u0441 \u043D\u0430\u043C\u0438 \u043F\u043E \u0430\u0434\u0440\u0435\u0441\u0443 support@easyeda.com.","@@generateGerber":{Layers:"\u0421\u043B\u043E\u0438"},"Create a new Project...":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043F\u0440\u043E\u0435\u043A\u0442...","Create a new Schematic":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0441\u0445\u0435\u043C\u0443","Create a new Schematic Lib":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0443 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u043E\u0432","Create a new Spice Symbol":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442","Create a new Spice Subckt":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0441\u0445\u0435\u043C\u0443","Create a new PCB":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u043F\u043B\u0430\u0442\u0443","Create a new PCB Lib":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0440\u043F\u0443\u0441","Create a new Schematic Module":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043C\u043E\u0434\u0443\u043B\u044C","Create a new PCB Module":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u044B\u0439 PCB \u043C\u043E\u0434\u0443\u043B\u044C","Export your file, then print it yourself.":"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0441\u0432\u043E\u0439 \u0444\u0430\u0439\u043B, \u0437\u0430\u0442\u0435\u043C \u043D\u0430\u043F\u0435\u0447\u0430\u0442\u0430\u0439\u0442\u0435 \u0435\u0433\u043E \u0441\u0430\u043C\u0438.","Trace width is too small":"\u0428\u0438\u0440\u0438\u043D\u0430 \u0434\u043E\u0440\u043E\u0436\u043A\u0438 \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u0430\u044F","Images Attribute":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0439","Connect Pad to Pad":"\u0421\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u044C \u043F\u043B\u043E\u0449\u0430\u0434\u043A\u0443 \u0441 \u043F\u043B\u043E\u0449\u0430\u0434\u043A\u043E\u0439","Copper Area":"\u041C\u0435\u0434\u043D\u044B\u0439 \u043F\u043E\u043B\u0438\u0433\u043E\u043D",Dimension:"\u0420\u0430\u0437\u043C\u0435\u0440\u044B","May be you should use wire but not polyline to connect electrical elements.":"\u0412\u044B \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0432\u043E\u0434\u0430, \u0430 \u043D\u0435 \u043F\u043E\u043B\u0438\u043B\u0438\u043D\u0438\u0438 \u0434\u043B\u044F \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u044D\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u043E\u0432.","PCB Fabrication Prices & capabilities":"\u0412\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0438 \u043F\u043E \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0441\u0442\u0432\u0443 \u043F\u043B\u0430\u0442 \u0438 \u0446\u0435\u043D\u044B","Flip all texts on bottom layer":"\u0420\u0430\u0437\u043C\u0435\u0441\u0442\u0438\u0442\u0435 \u0432\u0435\u0441\u044C \u0442\u0435\u043A\u0441\u0442 \u043D\u0430 \u043D\u0438\u0436\u043D\u0435\u043C \u0441\u043B\u043E\u0435","EasyEDA Libs":"\u0411\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438 EasyEDA","Your parter's email":"\u042D\u043B. \u043F\u043E\u0447\u0442\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043F\u0430\u0440\u0442\u043D\u0451\u0440\u0430","Create New Document":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442","Anonymous file":"\u0410\u043D\u043E\u043D\u0438\u043C\u043D\u044B\u0439 \u0444\u0430\u0439\u043B","User Package":"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0439 \u043A\u043E\u0440\u043F\u0443\u0441","General Package":"\u0421\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0439 \u043A\u043E\u0440\u043F\u0443\u0441","General Packages":"\u0421\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0435 \u043A\u043E\u0440\u043F\u0443\u0441\u0430","favorite Package":"\u043B\u044E\u0431\u0438\u043C\u044B\u0435 \u043A\u043E\u0440\u043F\u0443\u0441\u0430","Through Hole":"\u041C\u043E\u043D\u0442\u0430\u0436 \u0432 \u043E\u0442\u0432\u0435\u0440\u0441\u0438\u044F","Surface Mount":"\u041F\u043E\u0432\u0435\u0440\u0445\u043D\u043E\u0441\u0442\u043D\u044B\u0439 \u043C\u043E\u043D\u0442\u0430\u0436","Markdown Syntax":"\u0421\u0438\u043D\u0442\u0430\u043A\u0441\u0438\u0441 \u0440\u0430\u0437\u043C\u0435\u0442\u043A\u0438","Support markdown":"\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u0440\u0430\u0437\u043C\u0435\u0442\u043A\u0430","Read only":"\u0422\u043E\u043B\u044C\u043A\u043E \u0447\u0442\u0435\u043D\u0438\u0435","Read/Write":"\u0427\u0442\u0435\u043D\u0438\u0435/\u0437\u0430\u043F\u0438\u0441\u044C","More Libraries...":"\u0411\u043E\u043B\u044C\u0448\u0435 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A...","Decompress failed!":"\u0420\u0430\u0441\u043F\u0430\u043A\u043E\u0432\u043A\u0430 \u043D\u0435 \u0443\u0434\u0430\u043B\u0430\u0441\u044C\uFF01","Load failed!":"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043D\u0435 \u0443\u0434\u0430\u043B\u0430\u0441\u044C!","Loading...":"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...","No Result":"\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432","I know. Do not show this again.":"\u042F \u0437\u043D\u0430\u044E, \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C.","Extensions Setting":"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0439",Remove:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",Disable:"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C",Enable:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C","(Disabled)":"(\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043E)","(Enabled)":"(\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u043E)","Load Extension":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435","Enable or disable will be applied after reload page":"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0432\u0441\u0442\u0443\u043F\u0438\u0442 \u0432 \u0441\u0438\u043B\u0443 \u043F\u043E\u0441\u043B\u0435 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B","Your browser cannot run this function.":"\u0412\u0430\u0448\u0435\u043C\u0443 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0443 \u043D\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u044D\u0442\u0430 \u0444\u0443\u043D\u043A\u0446\u0438\u044F.","Extension Files":"\u0424\u0430\u0439\u043B\u044B \u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F","Extension ID":"ID \u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F","Select Files":"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B",Script:"\u0421\u043A\u0440\u0438\u043F\u0442",Scripts:"\u0421\u043A\u0440\u0438\u043F\u0442\u044B","Script Content":"\u0421\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0441\u043A\u0440\u0438\u043F\u0442\u0430","Load from js file":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0438\u0437 js \u0444\u0430\u0439\u043B\u0430","UTF-8 encoded js file":"js \u0444\u0430\u0439\u043B \u0432 \u043A\u043E\u0434\u0438\u0440\u043E\u0432\u043A\u0435 UTF-8",Description:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",description:"\u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435","Not a *.js file":"\u041D\u0435 *.js \u0444\u0430\u0439\u043B","Failed to read file":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044C \u0444\u0430\u0439\u043B","System scripts cannot be modified":"\u041D\u0435\u043B\u044C\u0437\u044F \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0435 \u0441\u043A\u0440\u0438\u043F\u0442\u044B","Create Subfolder":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043F\u043E\u0434\u043F\u0430\u043F\u043A\u0443","Create Script":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0441\u043A\u0440\u0438\u043F\u0442","Install Script":"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u043A\u0440\u0438\u043F\u0442",Install:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C","Are you sure to remove this script?":"\u0412\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0441\u043A\u0440\u0438\u043F\u0442\uFF1F","Folder Name":"\u0418\u043C\u044F \u043F\u0430\u043F\u043A\u0438",Rename:"\u041F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u044C","Please select a script":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u043A\u0440\u0438\u043F\u0442","Failed to load script":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0441\u043A\u0440\u0438\u043F\u0442","Run Script":"\u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0441\u043A\u0440\u0438\u043F\u0442","Load Script":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0441\u043A\u0440\u0438\u043F\u0442","Title is required":"\u0423\u043A\u0430\u0436\u0438\u0442\u0435 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435","Script content is required":"\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0441\u043A\u0440\u0438\u043F\u0442\u0430","System Scripts":"\u0421\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0435 \u0441\u043A\u0440\u0438\u043F\u0442\u044B","User Scripts":"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u0441\u043A\u0440\u0438\u043F\u0442\u044B","You can right click on the tree nodes.":"\u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0449\u0451\u043B\u043A\u043D\u0443\u0442\u044C \u043F\u0440\u0430\u0432\u043E\u0439 \u043A\u043D\u043E\u043F\u043A\u043E\u0439 \u043C\u044B\u0448\u0438 \u043F\u043E tree nodes.","Top Side":"\u0412\u0435\u0440\u0445\u043D\u044F\u044F \u0441\u0442\u043E\u0440\u043E\u043D\u0430","Bottom Side":"\u041D\u0438\u0436\u043D\u044F\u044F \u0441\u0442\u043E\u0440\u043E\u043D\u0430","With Silk Layer":"\u0421 \u0448\u0435\u043B\u043A\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439","No Silk Layer":"\u0411\u0435\u0437 \u0448\u0435\u043B\u043A\u043E\u0433\u0440\u0430\u0444\u0438\u0438","Photo View":"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u043F\u043B\u0430\u0442\u044B","Check Update":"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F","EasyEDA Editor {ver} is released. Would you like to switch to the new version now?":"\u0412\u044B\u0448\u043B\u0430 {ver} \u0432\u0435\u0440\u0441\u0438\u044F \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 EasyEDA. \u0425\u043E\u0442\u0438\u0442\u0435 \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u043D\u043E\u0432\u0443\u044E \u0432\u0435\u0440\u0441\u0438\u044E \u0441\u0435\u0439\u0447\u0430\u0441?","Switch to New Version":"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u043D\u043E\u0432\u0443\u044E \u0432\u0435\u0440\u0441\u0438\u044E","Next Time":"\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u0440\u0430\u0437","Generating download link...":"\u0413\u0435\u043D\u0435\u0440\u0438\u0440\u0443\u0435\u043C \u0441\u0441\u044B\u043B\u043A\u0443 \u0441\u043A\u0430\u0447\u0438\u0432\u0430\u043D\u0438\u044F...","Download project now":"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u043F\u0440\u043E\u0435\u043A\u0442 \u0441\u0435\u0439\u0447\u0430\u0441","Import DXF":"\u0418\u043C\u043F\u043E\u0440\u0442 dxf","DXF Unit":"\u0415\u0434\u0438\u043D\u0438\u0446\u044B DXF","No shapes found":"\u0424\u0438\u0433\u0443\u0440 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E","Fail to load the file":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0444\u0430\u0439\u043B","Please select a DXF file.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 DXF \u0444\u0430\u0439\u043B.","This feature only works for PCB document.":"\u042D\u0442\u0430 \u0444\u0443\u043D\u043A\u0446\u0438\u044F \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442 \u0442\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043F\u043B\u0430\u0442.","Select a dxf file":"\u0412\u044B\u0431\u0440\u0430\u0442\u044C dxf \u0444\u0430\u0439\u043B","Data Sync":"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0430\u0446\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445","Data Conflicts":"\u041A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u044B \u0434\u0430\u043D\u043D\u044B\u0445","Project or Document":"\u041F\u0440\u043E\u0435\u043A\u0442 \u0438\u043B\u0438 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442","Cloud-Side":"\u041D\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435","Local-Side":"\u0412 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435",Decision:"\u0420\u0435\u0448\u0435\u043D\u0438\u0435",Modified:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u043E",Deleted:"\u0423\u0434\u0430\u043B\u0435\u043D\u043E","As Cloud":"\u0412 \u043E\u0431\u043B\u0430\u043A\u0435","As Local":"\u0412 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435","Data sync completed":"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0430\u0446\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0430",Team:"\u041A\u043E\u043C\u0430\u043D\u0434\u0430",Teams:"\u041A\u043E\u043C\u0430\u043D\u0434\u044B","Switching team":"\u041C\u0435\u043D\u044F\u0435\u043C \u043A\u043E\u043C\u0430\u043D\u0434\u0443","Switch team failed":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043C\u0435\u043D\u0438\u0442\u044C \u043A\u043E\u043C\u0430\u043D\u0434\u0443","Load team info fail!":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043E \u043A\u043E\u043C\u0430\u043D\u0434\u0435!","Load team info fail! Please reload again.":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043E \u043A\u043E\u043C\u0430\u043D\u0434\u0435! \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.","My Teams":"\u041C\u043E\u0438 \u043A\u043E\u043C\u0430\u043D\u0434\u044B","Create Team":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043A\u043E\u043C\u0430\u043D\u0434\u0443","Footprint Manager":"\u041C\u0435\u043D\u0435\u0434\u0436\u0435\u0440 \u0448\u0435\u043B\u043A\u043E\u0433\u0440\u0430\u0444\u0438\u0438","Schematic Components":"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B \u0441\u0445\u0435\u043C\u044B","Package Categories":"\u0412\u0438\u0434\u044B \u043A\u043E\u0440\u043F\u0443\u0441\u043E\u0432","Components List":"\u0421\u043F\u0438\u0441\u043E\u043A \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u043E\u0432",Personal:"\u041B\u0438\u0447\u043D\u044B\u0439","Component PIN information":"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u0430\u0445 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0430","Footprint Categories":"\u0412\u0438\u0434\u044B \u0448\u0435\u043B\u043A\u043E\u0433\u0440\u0430\u0444\u0438\u0438","Pad Number":"\u041D\u043E\u043C\u0435\u0440 \u043F\u043B\u043E\u0449\u0430\u0434\u043A\u0438","Search PCB Libs":"\u041F\u043E\u0438\u0441\u043A \u043A\u043E\u0440\u043F\u0443\u0441\u043E\u0432","Filter by keyword":"\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u043A\u043B\u044E\u0447\u0435\u0432\u044B\u043C \u0441\u043B\u043E\u0432\u0430\u043C","System Libs":"\u0421\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0435 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438",Drawings:"\u0413\u0440\u0430\u0444\u0438\u043A\u0443","Netlabel and netFlag":"Netlabel \u0438 netFlag",Texts:"\u0422\u0435\u043A\u0441\u0442",Wires:"\u041F\u0440\u043E\u0432\u043E\u0434\u0430","Board outlines":"\u0413\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u043B\u0430\u0442\u044B",Footprints:"\u0428\u0435\u043B\u043A\u043E\u0433\u0440\u0430\u0444\u0438\u044E",Tracks:"\u0414\u043E\u0440\u043E\u0436\u043A\u0438","width and height":"\u0448\u0438\u0440\u0438\u043D\u0430 \u0438 \u0432\u044B\u0441\u043E\u0442\u0430","Create rectangular board":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043A\u0432\u0430\u0434\u0440\u0430\u0442\u043D\u0443\u044E \u043F\u043B\u0430\u0442\u0443","Create circular board":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043A\u0440\u0443\u0433\u043B\u0443\u044E \u043F\u043B\u0430\u0442\u0443",radius:"\u0440\u0430\u0434\u0438\u0443\u0441","Create round rectangular board":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0441\u043E \u0441\u043A\u0440\u0443\u0433\u043B\u0451\u043D\u043D\u044B\u043C\u0438 \u0443\u0433\u043B\u0430\u043C\u0438","The object you select was not found in other documents.":"\u041E\u0431\u044A\u0435\u043A\u0442, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0432\u044B \u0432\u044B\u0431\u0440\u0430\u043B\u0438 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0445.","No valid object for cross probe selected.":"\u041D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D \u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 \u043E\u0431\u044A\u0435\u043A\u0442 \u0434\u043B\u044F cross probe.","Can not probe.Refreshing the window may get it to work.":"Can not probe. \u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u043E\u043A\u043D\u0430 \u043C\u043E\u0436\u0435\u0442 \u043F\u043E\u043C\u043E\u0447\u044C.","You need to login to get the function to work.":"\u0427\u0442\u043E\u0431\u044B \u044D\u0442\u0430 \u0444\u0443\u043D\u043A\u0446\u0438\u044F \u0437\u0430\u0440\u0430\u0431\u043E\u0442\u0430\u043B\u0430 \u0432\u0430\u043C \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u0432\u043E\u0439\u0442\u0438.","An Easier EDA Experience":"\u0415\u0449\u0451 \u0431\u043E\u043B\u0435\u0435 \u043F\u0440\u043E\u0441\u0442\u0430\u044F EasyEDA",Version:"\u0412\u0435\u0440\u0441\u0438\u044F",BuiltDate:"\u0414\u0430\u0442\u0430 \u0441\u0431\u043E\u0440\u043A\u0438","Auto Router Config":"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0430\u0432\u0442\u043E\u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043E\u0432\u0449\u0438\u043A\u0430","Sorry, your web browser does not support this feature. Please run a modern browser.":"\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0432\u0430\u0448 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u044D\u0442\u0443 \u0444\u0443\u043D\u043A\u0446\u0438\u044E. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0441\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440.","Please make sure all components inside the board outline!":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0443\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044C, \u0447\u0442\u043E \u0432\u0441\u0435 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B \u043D\u0430\u0445\u043E\u0434\u044F\u0442\u0441\u044F \u0432 \u0433\u0440\u0430\u043D\u0438\u0446\u0430\u0445 \u043F\u043B\u0430\u0442\u044B!","Cannot start again before previous is not stopped":"\u041D\u0435\u043B\u044C\u0437\u044F \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E, \u043F\u043E\u043A\u0430 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0430 \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043E\u0432\u043A\u0430","Please select a net":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0448\u0438\u043D\u0443","Router completed successfully.":"\u0422\u0440\u0430\u0441\u0441\u0438\u0440\u043E\u0432\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0430.","Router is time out.":"\u0412\u0440\u0435\u043C\u044F \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043E\u0432\u043A\u0438 \u0432\u044B\u0448\u043B\u043E.","Server is busy, please try again later.":"\u0421\u0435\u0440\u0432\u0435\u0440 \u0437\u0430\u043D\u044F\u0442, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435.","Due to the limitation of {0}router server{1} resources, multiple routers execute concurrently are not supported, please try again later or do it manually :-)":"\u0418\u0437-\u0437\u0430 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F \u0440\u0435\u0441\u0443\u0440\u0441\u043E\u0432 {0}\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0430\u0432\u0442\u043E\u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043E\u0432\u0449\u0438\u043A\u0430{1} \u043E\u0434\u043D\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0439 \u0437\u0430\u043F\u0443\u0441\u043A \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u0445 \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043E\u0432\u0449\u0438\u043A \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435 \u0438\u043B\u0438 \u0441\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0432\u043E\u0434\u043A\u0443 \u0432\u0440\u0443\u0447\u043D\u0443\u044E :-)","Track Width is invalid":"\u0428\u0438\u0440\u0438\u043D\u0430 \u0434\u043E\u0440\u043E\u0436\u043A\u0438 \u043D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u0430","General Clearance is invalid":"\u041E\u0442\u0441\u0442\u0443\u043F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u043D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u0435\u043D","SMD Clearance is invalid":"\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 \u043E\u0442\u0441\u0442\u0443\u043F \u043C\u0435\u0436\u0434\u0443 SMD","Diameter is invalid":"\u0414\u0438\u0430\u043C\u0435\u0442\u0440 \u043D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u0435\u043D","Hole(D) is invalid":"\u0414\u0438\u0430\u043C\u0435\u0442\u0440 \u043E\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u044F \u043D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u0435\u043D","Track width cannot be less than DRC setting value.":"\u0428\u0438\u0440\u0438\u043D\u0430 \u0434\u043E\u0440\u043E\u0436\u043A\u0438 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043C\u0435\u043D\u044C\u0448\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F DRC.","General Clearance cannot be less than DRC setting value.":"\u041E\u0442\u0441\u0442\u0443\u043F\u044B \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u043C\u0435\u043D\u044C\u0448\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F DRC.","SMD Clearance cannot be less than DRC setting value.":"\u041E\u0442\u0441\u0442\u0443\u043F \u043C\u0435\u0436\u0434\u0443 SMD \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043C\u0435\u043D\u044C\u0448\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F DRC.","Hole size cannot be less than DRC setting value.":"\u0420\u0430\u0437\u043C\u0435\u0440 \u043E\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u044F \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043C\u0435\u043D\u044C\u0448\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F DRC.","Diameter must be greater than hole size.":"\u0414\u0438\u0430\u043C\u0435\u0442\u0440 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u0431\u043E\u043B\u044C\u0448\u0435 \u0440\u0430\u0437\u043C\u0435\u0440\u0430 \u043E\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u044F.","Clearance cannot be less than DRC setting value.":"\u041E\u0442\u0441\u0442\u0443\u043F \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043C\u0435\u043D\u044C\u0448\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F DRC.","Not a valid PCB, please check it again":"\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u0430\u044F \u043F\u043B\u0430\u0442\u0430, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437","Previous connection must be closed":"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u0437\u0430\u043C\u043A\u043D\u0443\u0442\u043E","Network error. Please try again.":"\u041E\u0448\u0438\u0431\u043A\u0430 \u0441\u0435\u0442\u0438. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437 \u043F\u043E\u0437\u0436\u0435.","Router error.":"\u041E\u0448\u0438\u0431\u043A\u0430 \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043E\u0432\u0449\u0438\u043A\u0430.","Invalid PCB.":"\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u0430\u044F \u043F\u043B\u0430\u0442\u0430.","General Clearance":"\u041E\u0442\u0441\u0442\u0443\u043F\u044B \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E","SMD Clearance":"\u041E\u0442\u0441\u0442\u0443\u043F \u043C\u0435\u0436\u0434\u0443 SMD","Skip Routed Nets":"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0430\u0437\u0432\u0435\u0434\u0451\u043D\u043D\u044B\u0435 \u0448\u0438\u043D\u044B","Remove Existing Tracks":"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u0434\u043E\u0440\u043E\u0436\u043A\u0438","Real-time Display":"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0432 \u0440\u0435\u0430\u043B\u044C\u043D\u043E\u043C \u0432\u0440\u0435\u043C\u0435\u043D\u0438","Router Layers":"\u0421\u043B\u043E\u0438 \u0442\u0440\u0430\u043D\u0441\u0441\u0438\u0440\u043E\u0432\u043A\u0438",Via:"\u041F\u0435\u0440\u0435\u0445\u043E\u0434\u043D\u043E\u0435 \u043E\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u0435",Special:"\u0421\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0435","Special Nets":"\u0421\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0435 \u0448\u0438\u043D\u044B","Skip Nets":"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0448\u0438\u043D\u0443","Router Server":"\u0421\u0435\u0440\u0432\u0435\u0440 \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043E\u0432\u043A\u0438",Local:"\u041B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439",Cloud:"\u041E\u0431\u043B\u0430\u0447\u043D\u044B\u0439",Available:"\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u043E",Unavailable:"\u041D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E",Checking:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430","How to use?":"\u041A\u0430\u043A \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C?","How to available?":"\u041A\u0430\u043A \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C?","Checking local auto router server...":"\u041F\u0440\u043E\u0432\u0435\u0440\u044F\u0435\u043C \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0430\u0432\u0442\u043E\u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043E\u0432\u0449\u0438\u043A\u0430...","Stop Router":"\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043E\u0432\u0449\u0438\u043A","Auto Router is running...":"\u0410\u0432\u0442\u043E\u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043E\u0432\u0449\u0438\u043A \u0432 \u0440\u0430\u0431\u043E\u0442\u0435...","@@left_bar":{"Design{0}Manager":"\u041C\u0435\u043D\u0435\u0434\u0436\u0435\u0440{0}\u043F\u0440\u043E\u0435\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F"},Libraries:"\u0411\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438","US Style":"\u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u0441\u043A\u0438\u0439 \u0441\u0442\u0438\u043B\u044C","EU/IEC Style":"\u0415\u0432\u0440\u043E\u043F\u0435\u0439\u0441\u043A\u0438\u0439 \u0441\u0442\u0438\u043B\u044C",Connector:"\u041A\u043E\u043D\u043D\u0435\u043A\u0442\u043E\u0440","Switch/Relay":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u044C/\u0420\u0435\u043B\u0435","Font Height":"\u0412\u044B\u0441\u043E\u0442\u0430 \u0448\u0440\u0438\u0444\u0442\u0430",Precision:"\u0422\u043E\u0447\u043D\u043E\u0441\u0442\u044C",Protractor:"\u041F\u0440\u043E\u0442\u0440\u0430\u043A\u0442\u043E\u0440","Changing line width won't work for silhouette fonts.":"\u0428\u0438\u0440\u0438\u043D\u0430 \u0448\u0440\u0438\u0444\u0442\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E.","Font is missing! You can confirm the dialog and use default font instead or cancel the dialog then upload your font and do it again.":"\u0428\u0440\u0438\u0444\u0442 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442! \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0448\u0440\u0438\u0444\u0442 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0438\u043B\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0441\u0432\u043E\u0439 \u0448\u0440\u0438\u0444\u0442 \u0441\u043D\u043E\u0432\u0430.",Owner:"\u0412\u043B\u0430\u0434\u0435\u043B\u0435\u0446",License:"\u041B\u0438\u0446\u0435\u043D\u0437\u0438\u044F","Part Pins":"\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u044B \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u043E\u0432","Net Pins":"\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A \u0448\u0438\u043D\u0435","Histories record":"\u0418\u0441\u0442\u043E\u0440\u0438\u044F","The assigned package has been modified, please re-assign.":"\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u043A\u043E\u0440\u043F\u0443\u0441 \u0431\u044B\u043B \u0438\u0437\u043C\u0435\u043D\u0451\u043D, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u0435 \u043A\u043E\u0440\u043F\u0443\u0441.","Package is not assigned. Please assign a package.":"\u041A\u043E\u0440\u043F\u0443\u0441 \u043D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043A\u043E\u0440\u043F\u0443\u0441.","The path is for the project URL identify, it is unique (the identity of the project owned by the user cannot be the same)":"ID \u043F\u0440\u043E\u0435\u043A\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u043A\u0430\u043A \u0447\u0430\u0441\u0442\u044C URL \u043F\u0440\u043E\u0435\u043A\u0442\u0430 \u0438 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u0443\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u043C","It's with a letter or a number and can contain only numbers, letters, line-through, underscores, and points, and it cannot be modified after saving.":"\u041C\u043E\u0436\u0435\u0442 \u043D\u0430\u0447\u0438\u043D\u0430\u0442\u044C\u0441\u044F \u0441 \u0446\u0438\u0444\u0440 \u0438 \u0431\u0443\u043A\u0432, \u0438 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C \u0446\u0438\u0444\u0440\u044B, \u0431\u0443\u043A\u0432\u044B, \u0442\u0438\u0440\u0435, \u043D\u0438\u0436\u043D\u0435\u0435 \u043F\u043E\u0434\u0447\u0451\u0440\u043A\u0438\u0432\u0430\u043D\u0438\u0435 \u0438 \u0442\u043E\u0447\u043A\u0438, \u0438 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043E \u043F\u043E\u0441\u043B\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F.","Updating document to new format, please wait......After finish please save your document with Ctrl + S.":"\u041E\u0431\u043D\u043E\u0432\u043B\u044F\u0435\u043C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0434\u043E \u043D\u043E\u0432\u043E\u0433\u043E \u0444\u043E\u0440\u043C\u0430\u0442\u0430, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u043E\u0436\u0434\u0438\u0442\u0435... \u041F\u043E\u0441\u043B\u0435 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u0432\u0430\u0448 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043D\u0430\u0436\u0430\u0432 Ctrl + S).","Open at current project?":"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u0442\u0435\u043A\u0443\u0449\u0435\u043C \u043F\u0440\u043E\u0435\u043A\u0442\u0435\uFF1F","Please select a history to recover.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0437\u0430\u043F\u0438\u0441\u044C \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0434\u043B\u044F \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F.",'Becareful! When you click the "Recover" button, this sheet will be overwritten!':'\u0411\u0443\u0434\u044C\u0442\u0435 \u043E\u0441\u0442\u043E\u0440\u043E\u0436\u043D\u044B! \u041A\u043E\u0433\u0434\u0430 \u0432\u044B \u043D\u0430\u0436\u043C\u0451\u0442\u0435 "\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C", \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0438\u0441\u0430\u043D!',Recover:"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C","Save As a New Project":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043A\u0430\u043A \u043D\u043E\u0432\u044B\u0439 \u043F\u0440\u043E\u0435\u043A\u0442","There is no PCB under this project, do you like to create one?":"\u041D\u0435\u0442 \u043F\u043B\u0430\u0442 \u0432 \u044D\u0442\u043E\u043C \u043F\u0440\u043E\u0435\u043A\u0442\u0435, \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u043F\u043B\u0430\u0442\u0443?","Please make sure that the chose Altium Designer files are saved as ASCII files.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0443\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044C, \u0447\u0442\u043E \u0444\u0430\u0439\u043B\u044B Altium Designer \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u044B \u0432 \u043A\u043E\u0434\u0438\u0440\u043E\u0432\u043A\u0435 ASCII.","Please make sure that the chose Eagle files are saved in Eagle v6.0 and above.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0443\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044C, \u0447\u0442\u043E \u0444\u0430\u0439\u043B\u044B Eagle \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u044B \u0432 Eagle v6.0 \u0438\u043B\u0438 \u0432\u044B\u0448\u0435.","Please make sure that the Kicad files were compressed as the .zip file.":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0443\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044C, \u0447\u0442\u043E Kicad \u0444\u0430\u0439\u043B\u044B \u0431\u044B\u043B\u0438 \u0443\u043F\u0430\u043A\u043E\u0432\u0430\u043D\u044B \u0432 .zip \u0430\u0440\u0445\u0438\u0432.","Open Altium Designer file":"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0444\u0430\u0439\u043B Altium Designer","Open Eagle file":"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0444\u0430\u0439\u043B Eagle","Open Kicad file":"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0444\u0430\u0439\u043B Kicad","Select file(s)":"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B(\u044B)","Append to current project?":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0432 \u0442\u0435\u043A\u0443\u0449\u0438\u0439 \u043F\u0440\u043E\u0435\u043A\u0442\uFF1F",Append:"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C","Open as new project":"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u043A \u043D\u043E\u0432\u044B\u0439 \u043F\u0440\u043E\u0435\u043A\u0442","Tip: Press {0}SPACE{1} or {2}R{3} to rotate the placing object or selected object.":"\u0421\u043E\u0432\u0435\u0442: \u041D\u0430\u0436\u043C\u0438\u0442\u0435 {0}\u043F\u0440\u043E\u0431\u0435\u043B{1} \u0438\u043B\u0438 {2}R{3}, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0434\u043E\u0431\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0439 \u0438\u043B\u0438 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u043E\u0431\u044A\u0435\u043A\u0442.","Hotkeys Setting":"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448","I know. Don't show this again.":"\u0417\u043D\u0430\u044E, \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C","Manfactuer Part Number can not be empty, if you don't konw, just type  any words":"\u041D\u043E\u043C\u0435\u0440 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0430 \u0443 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043F\u0443\u0441\u0442\u044B\u043C, \u0435\u0441\u043B\u0438 \u0432\u044B \u043D\u0435 \u0437\u043D\u0430\u0435\u0442\u0435, \u043F\u0440\u043E\u0441\u0442\u043E \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043B\u044E\u0431\u044B\u0435 \u0431\u0443\u043A\u0432\u044B \u0438 \u0446\u0438\u0444\u0440\u044B","This prefix was changed to non-subpart format.":"\u042D\u0442\u043E\u0442 \u043F\u0440\u0435\u0444\u0438\u043A\u0441 \u0431\u044B\u043B \u0438\u0437\u043C\u0435\u043D\u0451\u043D \u043D\u0430 \u043D\u0435\u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C\u044B\u0439 \u0441 \u043F\u043E\u0434\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0430\u043C\u0438 \u0444\u043E\u0440\u043C\u0430\u0442.","Save as New Project":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0432 \u043D\u043E\u0432\u044B\u0439 \u043F\u0440\u043E\u0435\u043A\u0442","Save to Existing Project":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0432 \u0442\u0435\u043A\u0443\u0449\u0435\u043C \u043F\u0440\u043E\u0435\u043A\u0442\u0435","Sheet Setting":"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043B\u0438\u0441\u0442\u0430","Sheet Size":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043B\u0438\u0441\u0442\u0430",Pre:"\u041D\u043E\u043C\u0435\u0440",pre:"\u043D\u043E\u043C\u0435\u0440","Invalid Data":"\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435",Others:"\u0414\u0440\u0443\u0433\u0438\u0435","You are not authorized to share this project.":"\u0412\u0430\u043C \u043D\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u043E \u0434\u0435\u043B\u0438\u0442\u044C\u0441\u044F \u044D\u0442\u0438\u043C \u043F\u0440\u043E\u0435\u043A\u0442\u043E\u043C.","This project is private, it will be public if you continue sharing.":"\u042D\u0442\u043E\u0442 \u043F\u0440\u043E\u0435\u043A\u0442 \u043F\u0440\u0438\u0432\u0430\u0442\u043D\u044B\u0439, \u043E\u043D \u0441\u0442\u0430\u043D\u0435\u0442 \u043F\u0443\u0431\u043B\u0438\u0447\u043D\u044B\u043C, \u0435\u0441\u043B\u0438 \u0432\u044B \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u0435 \u0434\u0435\u043B\u0438\u0442\u044C\u0441\u044F.","Modify file info":"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043E \u0444\u0430\u0439\u043B\u0435","Please input search keyword":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043B\u044E\u0447\u0435\u0432\u044B\u0435 \u0441\u043B\u043E\u0432\u0430 \u0434\u043B\u044F \u043F\u043E\u0438\u0441\u043A\u0430","Sort By":"\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E","Date Created":"\u0414\u0430\u0442\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F","Date Modified":"\u0414\u0430\u0442\u0430 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F",Ascending:"\u041F\u043E \u0432\u043E\u0437\u0440\u0430\u0441\u0442\u0430\u043D\u0438\u044E",Descending:"\u041F\u043E \u0443\u0431\u044B\u0432\u0430\u043D\u0438\u044E","Expand All":"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435","Collapse All":"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435","Your file hasn't been saved. Would you like to save it now?":"\u0412\u0430\u0448 \u0444\u0430\u0439\u043B \u043D\u0435 \u0431\u044B\u043B \u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D, \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0435\u0433\u043E?","Don't Save":"\u041D\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u044F\u0442\u044C","Library Owner:":"\u0412\u043B\u0430\u0434\u0435\u043B\u0435\u0446 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438:","verifyPkg.Value":"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",State:"\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435","Please select!":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435\uFF01",Route:"\u0420\u0430\u0437\u0432\u043E\u0434\u043A\u0430","Import successfully:":"\u0423\u0441\u043F\u0435\u0448\u043D\u043E \u0438\u043C\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043E:","Import failed:":"\u0418\u043C\u043F\u043E\u0440\u0442 \u043D\u0435 \u0443\u0434\u0430\u043B\u0441\u044F:","The title must be between 4 and 128 charaters.":"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043E\u0442 4 \u0434\u043E 128 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432.","your title is too short":"\u0432\u0430\u0448\u0435 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043A\u043E\u0440\u043E\u0442\u043A\u043E\u0435","Path only contain 'a-z\u3001A-Z\u3001- \u3001 _ \u30010-9'!":"\u041F\u0443\u0442\u044C \u043C\u043E\u0436\u0435\u0442 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u0446\u0438\u0444\u0440\u044B, \u043B\u0430\u0442\u0438\u043D\u0441\u043A\u0438\u0435 \u0431\u0443\u043A\u0432\u044B, \u0442\u0438\u0440\u0435 \u0438 \u043D\u0438\u0436\u043D\u0435\u0435 \u043F\u043E\u0434\u0447\u0451\u0440\u043A\u0438\u0432\u0430\u043D\u0438\u0435!","Path must begin as 'a-z\u3001A-Z\u30010-9'!":"\u041F\u0443\u0442\u044C \u043C\u043E\u0436\u0435\u0442 \u043D\u0430\u0447\u0438\u043D\u0430\u0442\u044C\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u0441 \u043B\u0430\u0442\u0438\u043D\u0441\u043A\u0438\u0445 \u0431\u0443\u043A\u0432 \u0438 \u0446\u0438\u0444\u0440!","The path length is in 4~128 charaters!":"\u0414\u043B\u0438\u043D\u0430 \u043F\u0443\u0442\u0438 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043E\u0442 4 \u0434\u043E 128 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432!","Do you want to delete the file":"\u0412\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B","Add sub part success":"\u041F\u043E\u0434\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D","Please input name and pre!":"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0438\u043C\u044F \u0438 \u043D\u043E\u043C\u0435\u0440!","Board outlines are not closed":"\u0413\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u043B\u0430\u0442\u044B \u043D\u0435 \u0437\u0430\u043C\u043A\u043D\u0443\u0442\u044B","failed to read {0}":"\u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044C {0}","{0} is invalid":"{0} \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u043C","{0} not found":"{0} \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D","failed to execute script:":"\u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0441\u043A\u0440\u0438\u043F\u0442:","one or more js files not found":"\u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E \u043E\u0434\u0438\u043D \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 js \u0444\u0430\u0439\u043B\u043E\u0432","Only ONE {0} file is required":"\u041D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C \u0442\u043E\u043B\u044C\u043A\u043E \u043E\u0434\u0438\u043D {0} \u0444\u0430\u0439\u043B","Extension ID is required":"\u041D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u0443\u043A\u0430\u0437\u0430\u0442\u044C ID \u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F","Extension ID is invalid":"ID \u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u043D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439","Extension ID is duplicated":"ID \u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u0435\u0442\u0441\u044F","No Result!":"\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432\uFF01","Load Error":"\u041E\u0448\u0438\u0431\u043A\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0438",loading:"\u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0430","failed to load spice data":"\u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 spice","Part Graphics":"PartGraphics","Common Used":"\u0427\u0430\u0441\u0442\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0435","@@history-dlg":{Number:"\u041D\u043E\u043C\u0435\u0440",Editor:"\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440"},"View File History":"\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0438\u0441\u0442\u043E\u0440\u0438\u044E \u0444\u0430\u0439\u043B\u0430","Save Time":"\u0412\u0440\u0435\u043C\u044F \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F","Invalid format":"\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442"};var Joi={"Join...":"Anslut","Login...":"Inloggning","Log in":"Logga in",Logout:"Logga ut","Change password...":"\xC4ndra l\xF6senord","User Preferences...":"Inst\xE4llningar","Invite friends...":"Invetera v\xE4nner",Language:"Svenska",English:"Engelska","Polski (Polish)":"Polska","Deutsch (German)":"Tyska","Fran\xE7ais (French)":"Franska","\u7B80\u4F53\u4E2D\u6587 (Chinese - Simplified)":"F\xF6renklad Kinesiska","\u6B63\u9AD4\u4E2D\u6587 (Chinese - Traditional)":"Traditionell Kinesiska","\uD55C\uAD6D\uC5B4 (Korean)":"Koreanska","Document Recovery":"\xC5terst\xE4ll dokument",Recover:"\xC5terst\xE4ll","Your Preferences Information":"Din inst\xE4llnings information",File:"Fil",New:"Ny","Project...":"Projekt",Schematic:"Schema","Schematic Lib":"Schema kat",PCB:"Kretskort","PCB Lib":"PCB kat","Save...":"Spara","Save As...":"Spara som","Print...":"Skriv ut","Export...":"Exportera",Import:"Importera","Import...":"Importera","Super Menu":"Super Meny",Edit:"Redigera",Undo:"\xC5ngra",Redo:"G\xF6r om",Cut:"Klipp ut",Copy:"Kopiera",Paste:"Klistra in",Select:"V\xE4lj",Delete:"Radera",Clear:"Rensa",Move:"Flytta","Bring to Front":"Flytta fram","Send to Back":"Flytta bak\xE5t",Align:"Justera","Align Left":"Justera till v\xE4nster","Align Right":"Justera till h\xF6ger","Align Top":"Justera till toppen","Align Bottom":"Justera till botten",Rotate:"Rotera","Rotate Left":"Rotera v\xE4nster","Rotate Right":"Rotera h\xF6ger","Flip Horizontal":"V\xE4nd Horisontellt","Flip Vertical":"V\xE4nd vertikalt","Rotate and Flip":"Rotera och v\xE4nd","Group/Ungroup Symbol...":"Grupp/ogruppera Symbol",View:"Visa","Zoom In":"Zooma in","Zoom Out":"Zooma ut","Fit in Window":"Anpassa i F\xF6nster",Refresh:"Uppdatera",Snap:"Sn\xE4pp",Toolbars:"Verktygsf\xE4lt","Drawing Tools":"Ritnings Verktyg","Wiring Tools":"Lednings Verktyg","Power Objects":"Effekt Objekt","PCB Tools":"PCB Verktyg","PCBLib Tools":"PCBKat Verktyg",Place:"Placera",Arc:"B\xE5ge","Elliptical Arc":"Eliptkel Arc",Ellipse:"Elips",Circle:"Cirkel",Pie:"Paj",Line:"Linje",Polyline:"Polylinje",Rectangle:"Rektangel",Rect:"Rekt","Round Rectangle":"Rundad Rektangel",Path:"S\xF6kv\xE4g",Graphic:"Grafik","Bus Entry":"Bus Ing\xE5ng",Junction:"Anslutning","Net Port":"N\xE4t Port","Voltage Probe":"Volt Probe","Power Port":"Effekt Probe",Wire:"Ledning",Annotation:"Anno",Track:"Sp\xE5r",Image:"Bild","Arrow Head":"Pilhuvud",Pin:"Pinne",Miscellaneous:"Diverse","Find Component":"Hitta Komponent","Convert Project To PCB...":"Konvertera Projekt till PCB","Hotkeys Setting...":"Inst\xE4llning av Funktinstangenter","Edit Symbol...":"Redigera Symbol","Highlight Net...":"Highlight N\xE4t",Simulate:"Simulera","Simulate...":"Simulera","Simulation Results...":"Simulations Resultat","Run the Document":"K\xF6r Dokumentet","Run the Project...":"K\xF6r Projektet","Netlist for Document":"N\xE4tlista f\xF6r Dokument","Netlist for Project":"N\xE4tlista f\xF6r Projekt","Spice...":"Utrymme","Protel/Altium for PCB...":"Protel/Altium f\xF6r PCB","Pads for PCB...":"Elektroder f\xF6r PCB","FreePCB for PCB...":"FriPCB f\xF6r PCB","Eagle for PCB...":"Eagle f\xF6r PCB","Kicad for PCB...":"Kicad f\xF6r PCB","OrCAD for PCB...":"OrCAD f\xF6r PCB","BOM report...":"BOM Rapport","BOM for Document...":"BOM f\xF6r Dokument","BOM for Project...":"BOM f\xF6r Projekt","Pin Map...":"Pinn Karta","Layer Options...":"Lager val","Design Rule Check...":"Designa Regel Kontroll","Fabrication Output...":"Fabrikations Utg\xE5ng","Measure Distance":"M\xE4t Distans","Measure Distance...":"M\xE4t Distans","Design Manager":"Design Chef","New Origin":"Nytt Ursprung","Add SubPart":"L\xE4gg till Underdel","Annotate...":"Anno",Config:"Konfugurera","Config...":"Konfigurera",Help:"Hj\xE4lp","Help Topics":"Hj\xE4lp \xC4mnen","Change History":"\xC4ndra Historik","Historical Records...":"Historik Poster","Bug Report...":"Fel Rapport","Feature Request...":"F\xF6rb\xE4ttrings \xD6nskem\xE5l","Thank You List":"Tack Lista","Terms of Use & Privacy Policy":"Anv\xE4ndarvillkor & Integritets Villkor","Check Hotkeys":"Kontrollera Funktionstangenter",About:"Om","Order PCB...":"Best\xE4ll PCB","Import Changes":"Inport \xC4ndringar",Press:"Tryck","To switch to Full Screen":"f\xF6r att anv\xE4nda Helsk\xE4rm","Delete Selected":"Radera Vald","Generate Gerber and Drill Files":"Generera Gerber och Borr Filer","Anonymous Files":"Annonyma Filer","Build PCB":"Bygg PCB","Symbol Wizard...":"Symbol Guide","System Libraries":"System Bibliotek","Terms of Service & Privacy Policy":"Anv\xE4ndarvillkor f\xF6r Service&Integritets Villkor","About...":"Om","SVG Source...":"SVG K\xE4lla","Easyeda Source...":"EasyEda K\xE4lla","Group these items as a SCHLIB/Symbol":"Gruppera dessa objekt som ett SCHBIB/Symbol","Digital Objects":"Digitala Objekt",Properties:"Egenskaper",Attributes:"Attribut",Apply:"Godtag","Save as default":"Spara som Standard","Canvas Attributes":"Canvas Attribut",Width:"Bredd",Height:"H\xF6jd",Background:"Bakgrund","Visible Grid":"Synlig Grid","Grid Color":"Grid F\xE4rg","Grid Size":"Grid Storlek","Grid Style":"Grid Stil","Stroke color":"Stroke F\xE4rg","Stroke width":"Stroke Bredd","Stroke style":"Stroke Stil","Fill color":"Fyllnads F\xE4rg","Selected Objects":"Valda Objekt","Frame Size":"Ram Storlek","Text Attributes":"Text Egenskaper",Color:"F\xE4rg","Font-family":"Typsnitts Familj","Font-size":"Typsnitt-storlek","Font-weight":"Typsnitt-vidd","Font-style":"Typsnitt-f\xE4rg","Text type":"Text Typ","Text-anchor":"Text-ankare",Baseline:"Baslinje","X radius":"X radie","Y radius":"Y radie","Pin Attributes":"Pinn Egenskaper",Orientation:"Orientering","0 degrees":"0 grader","45 degrees":"45 grader","90 degrees":"90 grader","180 degrees":"180 grader","270 degrees":"270 grader","Start-Y":"Star-Y",Length:"L\xE4ngd",Name:"Namn",Number:"Nummer","Spice Pin order":"Spice Pinn ordning","Name Display":"Visa Namn","Number display":"Visa Nummer",Show:"Visa",Electric:"Elektrisk","Junction Attributes":"Anslutnings Egenskaper","X-Location":"X-L\xE4ge","Y-Location":"Y-L\xE4ge",Size:"Storlek","Net Label":"N\xE4t Ettikett","Part Attributes":"Del Egenskaper","Image Attributes":"Bild Egenskaper",Units:"Enheter","Snap Size":"Sn\xE4pp Storlek",Other:"Annat","Routing Width":"Routing Bredd","Routing Angle":"Rout Vinkel","Copper Zone":"Koppar Zon",Visible:"Synlig",Invisible:"Osynlig","Track Properties":"Sp\xE5rnings Egenskaper",Layer:"Lager",Net:"N\xE4t","End-X":"Slut-X","End-Y":"Slut-Y","Hole(D)":"H\xE5l(D)","Center-X":"Centrum-X","Center-Y":"Centrum-Y","Text Properties":"Text Egenskaper",LineWidth:"Linjebredd","Dimension Attributes":"Dimension Egenskaper","Footprint Attributes":"Avtrycks Egenskaper","Prefix Display":"Visa Prefix","Arc Properties":"B\xE5g Egenskaper","Rect Properties":"Rekt Egenskaper","Round radius":"Rund Radie","Circle Properties":"Cirkel Egenskaper",Radius:"Radie","CopperArea Properties":"Egenskaper Kopparomr\xE5de",Clearance:"Utrymme","Pad Connection":"Pad Anslutning",Direct:"Direkt","Keep Island":"Beh\xE5ll \xD6n","Fill Style":"Fyllnads Stil","CopperArea conflict: copper area outlines in same layer with different net names must not overlap":"Konflikt kopparomr\xE5de: Konturer f\xF6r kopparomr\xE5de i samma lager med olika n\xE4t namn f\xE5r inte \xF6verlappa","Please create board outline first":"Var v\xE4nlig skapa kort kontur f\xF6rst","Board outlines are not closed.":"Kort kontur \xE4r inte l\xE5st","Rebuild CopperArea":"\xC5teruppbygg kopparomr\xE5de","Custom Attributes":"Anpassade Egenskaper","Add new parameter":"L\xE4gg till ny parameter","Create an account":"Skapa ett konto","Username:":"Anv\xE4ndarnamn","Password:":"L\xF6senord","Confirm Password:":"Bekr\xE4fta L\xF6senord","Email:":"Epost","Please read this before you register":"L\xE4s detta innan du registrerar","Lost Password...":"Gl\xF6mt L\xF6senord","Find the password using your email":"F\xE5 ditt l\xF6senord genom din epost","Username or Email:":"Anv\xE4ndarnamn eller Epost","Remember Me":"Kom ih\xE5g Mig","Third party:":"Tredje part","Reset a password using your email:":"\xC5terst\xE4ll l\xF6senord genom din epost","Your registered email:":"Din registrerade epost","Re-send an activation code to your email:":"\xC5ters\xE4nd en aktiverinskod to din epost","Invite friends to register":"Bjud in v\xE4nner att registrera","Add a new parameter":"L\xE4gg till ny parameter","Key:":"Nyckel","Value:":"V\xE4rde","Change your password":"\xC4ndra ditt l\xF6senord","Old password:":"Gammalt l\xF6senord","New Password:":"Nytt l\xF6senord","Create a new project":"Skapa ett nytt projekt","Save as a schematic":"Spara som ett schema","Save as a schematic Lib":"Spara som schematisk Kat","Save as a spice Symbol":"Spara som spice Symbol","Save as a spice subckt":"Spara som Spice underckt","YOU MUST CREATE A SPICE SYMBOL WITH EXACTLY THE SAME NAME AS THIS SUBCKT":"DU M\xC5STE SKAPA EN SPICE SYMBOL MED EXAKT SAMMA NAMN SOM DETTA UNDERCKT","Save as a PCB file":"Spara som PCB fil","Save as a PCB Lib":"Spara som PCB Kat","Title:":"Titel","Share:":"Dela","Visibility:":"Synlighet","Allow Comments:":"Till\xE5t Kommentarer","Public (Anyone can see this project but only you can modify it.)":"Allm\xE4n(Bara du kan modifiera detta projekt","Private (Only you can see and modify this project)":"Privat(Bara du kan se och modifiera detta projekt","Categories:":"Kategorier","Project:":"Projekt","Short descript:":"Kort beskrivning","Content:":"Inneh\xE5ll","Modify this project info.":"Modifiera denna projekt info.","Modify this file info.":"Modifiera denna fil info.","Notice:":"Notera","Search for it before creating a new one.":"Hitta det innan skapa det.","Save your file":"Spara din fil","Clone it to a project":"Klona det till ett projekt","Clone it,then re-edit it":"Klona det,sedan \xE5terredigera det","Clone your file":"Klona din fil","Attach a Subckt to this spice symbol":"L\xE4gg till en Underckt till denna spice symbol","Subckt string:":"Underckt str\xE4ng","Schematic Design Manager":"Schematisk Design Chef","Show your simulation report":"Visa din simulations rapport","Download netlist":"Ladda ner n\xE4tlista",Run:"K\xF6r","Import file from your computer":"Inportera fil fr\xE5n din dator","File Operation":"Fil Operation","Import File":"Inportera Fil","Extract Libs":"Extrhera Kat","Modify symbol information":"Modifiera din symol information","Hidden Pin:":"G\xF6mda pinnar","Pin Map":"Pinn Karta","Export BOM":"Exportera BOM","Run your simulation":"K\xF6r din simulation","Maximum Timestep:":"Maximalt tidsteg","Stop Time:":"Stoppa Tid","Start Time:":"Starta Tid","AC Analysis":"AC Analys","Type of Sweep:":"Typ av Svep","Number of points:":"Antal punkter","Start Frequency:":"Starta Frekvens","Stop Frequency:":"Stoppa Frekvens","DC sweep":"DC Svep","Source to Sweep:":"K\xE4lla att Svepa","Start Value:":"Start V\xE4rde","Stop Value:":"Stopp V\xE4rde","Increment:":"Inkrement","DC Transfer":"DC F\xF6rflyttning","Output:":"Utg\xE5ng","Source:":"K\xE4lla","Compute the DC operating point treating capacitances as opens and inductances as shorts":"Ber\xE4kna DC oprations punkt behandla kapasistans som oppen induktans","Active File":"Aktiv Fil","Active Project":"Aktivt Projekt","Share it by e-mail, IM, blog, etc.)":"dela det med e-post, IM, blogg, etc.)","BBCode (used by many online discussion forums)":"BBCKod (anv\xE4nds av m\xE5nga diskusions forum)","HTML code":"HTML kod",Picture:"Bild","QRCode (Share your schematic address by QRCode )":"QRKod (Dela din schema adress genom QRKod)","Short Url":"Kort Url","Share a copy of this document":"Dela en kopia av detta dokument",Readonly:"Endast l\xE4sa",Editable:"Redigerbar","Export your works":"Exportera ditt arbete","Export Option:":"Export Val:","Image Type:":"Bild Typ:","Qualify:":"Kvalifiserad:","0 means real size":"0 betyde standard storlek","Merged layer":"Sammanfogat lager","Separated layer":"Separerat lager",Mirror:"Spegla",TopLayer:"ToppLager",BottomLayer:"BottenLager",TopSilkLayer:"ToppSilkLager",BottomSilkLayer:"BottenSilkLager",Inner1:"Innre1",Inner2:"Innre2",Inner3:"Innre3",Inner4:"Innre4",Colour:"F\xE4rg","Width:":"Bredd","Confirm Importing changes information":"Bekr\xE4fta inport \xE4ndrings information","Layer Options Settings":"Inst\xE4llning Lager Val","Layers setting:":"Inst\xE4llning Lager",Configured:"Konfigurerad","Layer Name":"Lager Namn",TopPasterLayer:"ToppPasterLager",BottomPasterLayer:"BottenPasterLager",TopSolderLayer:"ToppL\xF6dLager",BottomSolderLayer:"BottenL\xF6dLager",Ratlines:"R\xE5ttLinjer",BoardOutline:"KortKontur",All:"Alla",Document:"Dokument",Hole:"H\xE5l",DRCError:"DRCFel",Setting:"Inst\xE4llning","Drawing area":"Ritnings omr\xE5de","Export area:":"Export omr\xE5de","PCB Design Manager":"PCB Design Chef","Create Files":"Skapa Filer","Check your Gerber files carefully before sending them to the factory":"Kontrollera dina Gerber filer  nogrant innan du skickar dom till fabriken","Download free Gerber Viewer (gerbv)":"Ladda ner gratis Gerber Visare (gerbv)","Design Rule Check":"Design Roll Kontroll",Item:"F\xF6rem\xE5l",Value:"V\xE4rde",Unit:"Enhet","Track Width":"Sp\xE5r Bredd","Track to Track":"Sp\xE5r till Sp\xE5r","Track to Pad":"Sp\xE5r till Pad","Pad to Pad":"Pad till Pad","Hole to Hole":"H\xE5l till H\xE5l","Via Hole Size":"Via H\xE5l Storlek","DRC results":"DRC resultat","Invalid Package":"Felaktigt Paket","Hotkey Setting":"Inst\xE4llning Funktionstangent","Document Type":"dokTyp",Shortcut:"genv\xE4g",Function:"funktion",ALL:"ALLA","Rotate selected objects":"Rotera valt objekt","Scroll Or Move selected left":"Skrolla eller flytta valt v\xE4nster","Scroll or Move selected right":"Skrolla eller flytta valt h\xF6ger","Scroll or Move selected up":"Skrolla eller flytta valt upp","Scroll or Move selected down":"Skrolla eller flytta valt ner","Select All":"V\xE4lj Alla","Cancel current drawing":"Avbryt",Save:"Spara","Drag Tool":"Drag Verktyg","Draw Wire":"Rita Ledning","Draw Bus":"Rita Bus",NetLabel:"N\xE4tEttikett","NetFlag VCC":"N\xE4tFlagga VCC","NetFlag GND":"N\xE4tFlagga GND","NetFlag +5v":"N\xE4tFlagga +5v","Draw Polyline":"Rita Polylinje","Draw Polygon":"Rita Polygon","Draw Bezier":"Rita Bezier","Draw Arc":"Rita B\xE5ge","Draw Rect":"Rita Rekt","Draw Ellipse":"Rita Ellips","Freehand Draw":"Rita Frihand","Draw Text":"Rita Text","Edit Selected Symbol":"Redigera Vald Symbol","Draw Track":"Rita Sp\xE5r","Draw Circle":"Rita Cirkel","Draw Dimension":"Rita Dimension","Draw Connect":"Rita Anslutning","Draw CopperArea":"Rita KopparOmr\xE5de","Change To TopLayer":"\xC4ndra ToppLager","Change To BottomLayer":"\xC4ndra BottenLager","Change To Inner1":"\xC4ndra till Inre1","Change To Inner2":"\xC4ndra till Inre2","Change To Inner3":"\xC4ndra till Inre3","Change To Inner4":"\xC4ndra till Inre4","Highlight Net":"LysUpp N\xE4t","Place Pad":"Placera PAD","Place Via":"Placera Via",Measure:"M\xE4t","Change Routing Angle":"\xC4ndra Route Vinkel","Decrease Routing Width":"Minska Routing Bredd","Increase Routing Width":"\xD6ka Routing Bredd","Decrease Snap Size":"Minska Sn\xE4pp Storlek","Increase Snap Size":"\xD6ka Sn\xE4pp Storlek","Remove All Copper Area":"Ta Bort all Koppar Yta","Rebuild All Copper Area":"\xC5teruppbygg All Koppar Yta","New Project":"Nytt Projekt",Modify:"Modifiera","Add sub part":"L\xE4gg till underdel","Clone it":"Klona det","Please type a short summary!":"Var v\xE4nlig skriv en kort sumering!","A short summary":"En kort sumering","Make sure your reports are clear and detailed":"Se till att raporterna \xE4r klara och detaljerande",Submit:"Skicka","Verify the packages":"Verifiera paketen",Clone:"Klona","Reload parts":"\xC5terladda delar",Layers:"Lager","Language:":"Spr\xE5k:","Display Name:":"Visa Namn:","HotKey Sync:":"Synk F-tangent:","Document Recovery Setting:":"Backup Inst\xE4llning:","Maximum backup level:":"Max Backup Niv\xE5","Auto backup(minutes):":"Auto spara (minuter):","Save to Server":"Spara till Server","Load from Server":"H\xE4mta fr\xE5n Server","Style:":"Stil:","Picture:":"Bild:","Pin Names:":"Pinn Namn:",Annotate:"Anno",Scope:"Till\xE4mpningsomr\xE5de","Active Schematic only":"Endast Aktivt Schema","All Opened Schematics":"Alla \xD6ppna Scheman",Method:"Metod","Re-annotate all":"\xC5ter-anno alla","Keep existing annotation":"Beh\xE5ll existerande anno",Direction:"Riktning",Rows:"Rader",Cols:"Kolumner",Reset:"\xC5terst\xE4ll","Order...":"Best\xE4ll...","Order your PCB from EasyEDA":"Best\xE4ll ditt PCB fr\xE5n EasyEda","PCB Qty.":"PCB Kval.","PCB Thickness":"PCB Tjocklek","Automatic calculation":"Automatisk ber\xE4kning","PCB Color":"PCB F\xE4rg",Green:"Gr\xF6n",White:"Vit",Blue:"Bl\xE5",Red:"R\xF6d",Yellow:"Gul",Black:"Svart","Surface Finish":"Ytnogrannhet","Hasl(Lead Free)":"Hasl(Ledarfri)","Open Project":"\xD6ppna Projekt","Cost Estimate":"Ber\xE4knad Kostnad","Actual cost will be confirmed by email.":"Aktuell kostnad bekr\xE4ftas med epost.","Shipping information":"Leverans information",Address:"Adress","ZIP/Post code":"Postkod",City:"Stad",Country:"Land","After filling out the form above, we will email you with (i) the results of the design rule check, (ii) a quote and (iii) a payment link using Paypal. Shipping is normally one week from receipt of payment.":"Efter du fyllt i formul\xE4ret ovan, skickar vi dig epost med (i) resultatet av design kontrollen, (ii) en offert och (iii) en betal l\xE4nk till Paypal. Leverans \xE4r normalt en vecka fr\xE5n mottagande av betalning.","Restore All Default Shortcuts":"\xC5terst\xE4ll Alla Standard Genv\xE4gar","Save Changes":"Spara \xC4ndringar","To connect electrical elements, please use Wire (W hotkey) and not Line (L hotkey).":"F\xF6r att ansluta elektriska element, v\xE4ligen anv\xE4nd Ledning (W F-tangent) och inte Linje (L F-tangent).",Confirmation:"Bekr\xE4fta",Alert:"OBS",Error:"Fel",error:"fel","error!":"fel!",Warning:"Varning","Imported ok!":"Inport ok !","Some changes have not been saved.":"N\xE5gra \xE4ndringar har inte sparats.","load failure !":"H\xE4mtnings fel !","error info":"fel info","error information":"fel information","Please create a project before you do this!":"V\xE4nligen skapa ett projekt innan du g\xF6r detta!","Add Part success":"La till del med framg\xE5ng","Click the new part and then edit it !":"Klicka p\xE5 ny del och sedan redigera den !","Delete my work":"Radera mitt arbete","Do you confirm this?":"Bekr\xE4ftar du detta?","Successfully deleted!":"Med framg\xE5ng raderad !","Cloning success!":"Framg\xE5ng att klona !","Your title is too short!":"din titel \xE4r f\xF6r kort!","Remove this part":"ta bort denna del","Find and Jump to ...":"Hitta och hoppa till ...","Please type the prefix, such as U1, R1, C1":"V\xE4nligen skriv prefix som U1,R1,C1","Zoom as 1:1, you can print it and then create artwork for etching the PCB.":"Zoma som 1:1, du kan skriva ut det, och sedan skapa arbete f\xF6r etsning av PCB.","Exporting your works!":"Exporterar ditt arbete!","Guests can't import a file. Please login!":"G\xE4st kan inte inportera fil, v\xE4nligen logga in!","Please create a project before you import a file!":"V\xE4nligen skapa ett projekt innan di inporterar en fil!","Import your LTspice file!":"Inportera din LT fil!","Saved successfully!":"med framg\xE5ng sparat !","Can not place parts into this document.":"Kan inte placera del i detta dokument.","User Package":"anv\xE4ndar paket","System Package":"system paket","File error":"Fil fel","Please save your file first!":"V\xE4nligen spara din fil f\xF6rst!","Email address is too short!":"Epost adressen \xE4r f\xF6r kort!","You have not selected a file to upload.":"Du har inte valt n\xE5gon fil att h\xE4mta.",Update:"Uppdatera","No changes":"inga \xE4ndringar","PCB is the same as SCH!":"PCB \xE4r samma som SCH!","Only public files can be shared":"Endast allm\xE4na filer kan delas","Conversion to PCB has failed!":"Konvertering till PCB har misslyckats!","Your username is too short!":"Ditt anv\xE4darnamn \xE4r f\xF6r kort!","Your password is too short, it must be more than 6 characters!":"Ditt l\xF6senord \xE4r f\xF6r kort,det m\xE5ste vara fler \xE4n 6 tecken!","Conflicting shortcut:":"Konflikt med genv\xE4g:","There is an empty PCB file. Please first run Convert Project To PCB... from the schematic":"Det \xE4r en tom PCB fil. V\xE4nligen konvertera f\xF6rst Projektet Till PCB ... fr\xE5n schemat","This file has been modified, are you sure you want to run this simulation before saving it first?":"Den h\xE4r filen har modefierats, \xE4r du s\xE4ker att du vill k\xF6ra simulering? Kanske spara f\xF6rst?","Please enter the Maximum Timestep!":"V\xE4nligen ange Max Tid steg!","Please enter the Stop Time!":"V\xE4nligen ange Stopp Tid!","All of these fields are needed.":"Alla dessa f\xE4lt beh\xF6vs.","Either your spice netlist is too big or the server is busy. Please try again later.":"Antingen \xE4r din utrymmes n\xE4tlista \xE4r f\xF6r stor eller \xE4r servern upptagen.","Your spice netlist is too big! Try breaking your circuit into smaller simulatable blocks.":"Din utrymmes n\xE4tlista \xE4r f\xF6r stor! F\xF6rs\xF6k din krets i mindre  simulerings block.","Too many users in simulation. Please try again later!":"F\xF6r m\xE5nga anv\xE4ndare i simulering. V\xE4nligen f\xF6rs\xF6k senare!","Your simulation results are too large! Try reducing the total simulation time (Stop Time - Start Time), increasing the maximum time step, removing some of your probes or breaking your circuit into smaller simulatable blocks.":"Ditt simulerings resultat \xE4r f\xF6r stort! F\xF6rs\xF6k reducera den totala simulerings tiden (stopp Tid - Start tid), \xF6ka max tid steg, ta bort n\xE5gra prober eller bryt ned kretsen i mindre simulerings block.","Some unexpected error has happened, please contact us.(http://easyeda.com/cms_files_about-us.htm#ContactUs)":"N\xE5got ov\xE4ntat fel uppstod, v\xE4nligen kontakta oss.(http://easyeda.com/cms_files_about-us.htm#ContactUs)","The schematic is showing errors, please check the simulation report carefully!":"Schemat visar fel, v\xE4nligen kontrollera simulations rapporten noga!","Simulation too long, maybe your schematic is too complex.":"Simulation f\xF6r l\xE5ng, kanske \xE4r ditt schema f\xF6r komplext.","Load your preferences success!":"Framg\xE5ng med h\xE4mtning av dina preferenser !","Save preferences successfully!":"Framg\xE5ng att spara dina preferenser !","Update subckt ok!":"Uppdatering av underckt ok !","Please type a new file name":"V\xE4nligen skriv ett nytt fil namn","Create file failure!":"fel vid skapande av fil!","Libraries to be imported under My Libs folder":"Bibliotek som skall importeras under Min Bib katalog","Please choose only the libraries needed":"V\xE4nligen v\xE4lj endast n\xF6dv\xE4ndiga bibliotek","Maximum import is 200 libs at one time!":"Max inport \xE4r 200 bib vid ett tillf\xE4lle!","Import Libraries success":"Framg\xE5ng med inport av Bibliotek","You libraries will be found under the My Libs folder":"Dina bibliotek hittar du under Mina Bib katalog","Add to My Libs":"L\xE4gg till till Mina Bib","No items have been checked!":"Ingen detalj har kontrollerats!","Nothing was found, please create it for yourself":"Hittar inget, v\xE4nligen skapa det f\xF6r dig sj\xE4lv","Search result":"S\xF6k resultat","At least 3 characters needed":"Minst 3 tecken beh\xF6vs","Add to my Favorite Parts":"L\xE4gg till till min favoritplats","Added it OK. Please find it in your Favorite Parts":"Tillagd OK. V\xE4nligen hitta det i dina Favorit delar","Please select its parent node":"v\xE4nligen v\xE4lj \xF6verordnad nod","Libraries can not be exported as active project pdf.":"Bibliotek kan inte exporteras som aktivt projekt pdf.","Circuit does not have a GND,":"Kretsen har ingen GND","Circuit does not have a probe,":"Kretsen har ingen probe,","Make sure your pin numbers are even numbers":"Se till att pinn nummer har j\xE4mna nummer","Prefix Conflict":"Prefix Konflikt","There are some invalid packages, are you sure?":"Det \xE4r n\xE5gra felaktiga paket, \xE4r du s\xE4ker ?","Invalid Characters, library only allows [0-9a-zA-Z-_]":"Felaktigt Tecken, bibliotek ill\xE5ter bara [0-9a-zA-Z-_]","Annotation success":"Framg\xE5ng med Anno","If you accept this annotation operation, please save your files. If not, close your files without saving.":"Om du accepterar denna anno operation,v\xE4nligen spara din fil. Om inte, st\xE4ng din a filer utan att spara.","Your file is unsaved.":"Din fil \xE4r inte sparad.","You can close the editor now. Have a good day!":"Du kan st\xE4nga editorn nu och ha en bra dag!","Logout Successfully!":"Framg\xE5ng med utloggning","You have unsaved file, please save it or close it":"Du har osparad fil, v\xE4nligen spara eller st\xE4ng den","Please Save your file before the this operation":"V\xE4nligen Spar din fil innan denna operation","Please try again after saving this file.":"F\xF6rs\xF6k igen efter du sparat denna fil.","Connecting to server":"Ansluter till server","You will save your file as anonymous file, do you like to create your own project?":"Du vill Spara din fil som annonym fil, vill du skapa ditt eget projekt","Please login before asking for help":"V\xE4nligen logga in innan du beg\xE4r hj\xE4lp","This file has been modified, please save it first!":"Denna fil har modefierats, v\xE4nligen spara den f\xF6rst!","Remove this param":"Ta bort denna param","Welcome & Thanks for Joining Us! Do you like to create your own project now?":"V\xE4lkommen & Tack f\xF6r att du Ansluter till Oss! Vill du skapa ditt eget projekt nu?","Click on an object to select then click on the canvas to place it":"Klicka p\xE5 ett objekt f\xF6r att v\xE4lja sedan klicka p\xE5 canvas f\xF6r att placera det","Undo/Redo temporary error":"\xC5ngra/G\xF6r Om tempor\xE4rt fel","We are sorry but EasyEDA is exhibiting an unpredictable error in the undo/redo process. This problem will be fixed soon but in the meanwhile it is safe to continue working on your design.":"Vi \xE4r ledsna men EasyEda l\xE4gger ut ett of\xF6ruts\xE4gbart fel vid \xE5ngra/g\xF6r om processen.","Please click the below help button to find out how to fix this problem.":"V\xE4nligen klicka p\xE5 hj\xE4lp knappen under f\xF6r att f\xE5 veta hur du fixar problemet.",Skip:"Hoppa \xF6ver","\u2190 Back":"\u2190 Tillbaka","Next \u2192":"N\xE4sta \u2192","This is user management menu.":"Detta \xE4r anv\xE4ndar lednings meny.","This is super menu.":"Detta \xE4r super meny.","This is toolbar.":"Detta \xE4r verktygsf\xE4lt.","This is config menu button.":"Detta \xE4r konfig meny knapp.","This is share button.":"Detta \xE4r dela knapp.","This is document management menu.":"Detta \xE4r dokument lednings meny.","Show or hide your toolbar at here.":"Visa eller g\xF6m ditt verktygsf\xE4lt h\xE4r.","Show or hide your left sidebar at here.":"Visa eller g\xF6m ditt v\xE4nsta sidof\xE4lt h\xE4r.","Show or hide your right sidebar at here.":"Visa eller g\xF6m ditt h\xF6gra sidof\xE4lt h\xE4r.","Passive Components":"Passiva Komponenter","Power Supply":"N\xE4tdel",Diodes:"Dioder",Transformers:"Transformatorer",Gates:"Portar","Vacuum Tubes":"Vakum Tuber",Switch:"Brytare",Relay:"Rel\xE4er","Capacitor(US)":"Kondensator(US)","Capacitor(EU)":"Kondensator(EU)","Capacitor(EU)2":"Kondensator(EU)2","Electrolytic Capacitor(US)":"Elektrolyt Kondensator(US)","Electrolytic Capacitor(EU)":"Elektrolyt Kondensator(EU)","Electrolytic Capacitor(US)2":"Elektrolyt Kondensator(US)2","Electrolytic Capacitor(EU)2":"Elektrolyt Kondensator(EU)2","Inductor(US)":"Induktor(US)","Inductor(EU)":"Induktor(EU)","Resistor(US)":"Motst\xE5nd(US)","Resistor(EU)":"Motst\xE5nd(EU)","Resistor 45 Deg(US)":"Motst\xE5nd 45 Grad(US)","Resistor 45 Deg(EU)":"Motst\xE5nd 45 Grad(EU)","Variable Capacitor(US)":"Variabel Kondensator(US)","Variable Capacitor(EU)":"Variabel Kondensator(EU)","Variable Resistor(US)":"Variabel Motst\xE5nd(US)","Variable Resistor(EU)":"Variabel Motst\xE5nd(EU)","Variable Inductor(US)":"Variabel Induktor(US)","Variable Inductor(EU)":"Variabel Induktor(EU)","Inductor2(US)":"Induktor2(US)","Inductor2(EU)":"Induktor2(EU)",Battery:"Batteri","Voltage Source":"Volt K\xE4lla","Current Source":"Str\xF6m K\xE4lla","CCCS(Current Controlled Current Source)":"CCCS(Str\xF6m Kontrollerad Str\xF6m K\xE4lla)","CCCS2(Current Controlled Current Source)":"CCCS2(Str\xF6m Kontrollerad Str\xF6m K\xE4lla)","VCCS(Voltage Controlled Current Source)":"VCCS(Volt Kontrollerad Str\xF6m K\xE4lla)","VCVS(Voltage Controlled Voltage Source)":"VCVS(Volt Kontrollerad Volt K\xE4lla)","CCVS(Current Controlled Voltage Source)":"CCVS(Str\xF6m Kontrollerad Volt K\xE4lla)","CCVS2(Current Controlled Voltage Source)":"CCVS2(Str\xF6m Kontrollerad Volt K\xE4lla)","BV(Behavioral Voltage Sources)":"BV(Beteendem\xE4ssig Volt K\xE4lla)","BI(Behavioral Voltage Sources)":"BI(Beteendem\xE4ssig Str\xF6m K\xE4lla)","Epoly(Non-linear Voltage Source)":"Epoly(Ej-linj\xE4r Volt K\xE4lla)","Gpoly(Non-linear Current Source)":"Gpoly(Ej-linj\xE4r Str\xF6m K\xE4lla)",Diode:"Diod","Schottky Diode":"Schottky Diod","Varactor Diode":"Varaktor Diod","Unidirectional TVS Diode":"I samma riktning TVS Diod","Bidirectional TVS Diode":"I Motsatt riktning TVS Diod",Bridge:"Brygga","MOSFET(Nch) Depletion Four-pins":"Utramning Fyra-pinnars","MOSFET(Nch) Enhancement":"Ut\xF6kning","MOSFET(Nch) Enhancement Four-pins":"Ut\xF6kning Fyra-pinnars","MOSFET(Pch) Depletion Four-pins":"Utramning Fyra-pinnars","MOSFET(Pch) Enhancement":"Ut\xF6kning","MOSFET(Pch) Enhancement Four-pins":"Ut\xF6kning Fyra-pinnars","Voltage Controlled Switch":"Sp\xE4nning Konrollerad Brytare","Current Controlled Switch":"Str\xF6m Konrollerad Brytare","SPST ON":"SPST TILL","SPST OFF":"SPST FR\xC5N",Fuse:"S\xE4kring","555(Style2)":"555(Stil2)",Speaker:"H\xF6gtalare","5pin Operational Amplifier":"5pinnars Operationsf\xF6rst\xE4rkare","3pin Operational amplifier":"3pinnars Operationsf\xF6rst\xE4rkare","Transmission Line":"Transmisionslinje",Voltmeter:"Ampmeter",LAMP:"LAMPA","Opto Transistor":"Optisk Transistor","Schematic Library Wizard":"Schema Bibliotek Guide","Name:":"Namn","Package:":"Paket","Need login":"beh\xF6ver inloggning","Bad password":"fel l\xF6senord","We can't find your username or your email, please check it!":"Vi hittar inte ditt anv\xE4ndarnamn eller din epost,v\xE4nligen kontrollera det!","Make sure your uploaded file size is less than 3MB!":"Se till att din uppladdade filstorlek \xE4r mindre \xE4n 3MB !","Bad file type":"fel filtyp","Empty file or bad file type, ensure your file is Eagle 6.0+":"Tom fil eller fel filtyp, se till att din fil \xE4r Eagle 6.0+","This operation not supported on demo account":"Denna operation \xE4r inte till\xE5ten p\xE5 demo konto","Can not share this file under a private project, please set the active project to public!":"Kan inte dela denna fil under allm\xE4nt projekt, v\xE4nligen aktivera det till allm\xE4nt projekt!","Common Buttons Setting":"Gemensam knapp inst\xE4llning","Show/Hide":"Visa/G\xF6m","Move Up":"Flytta Upp","Move Down":"Flytta Ner","Reset All":"\xC5terst\xE4ll Allt","Find Libraries...":"Hitta Bibliotek","Place Pin":"Placera pinne","Permissions:":"Beh\xF6righeter:",Permissions:"Beh\xF6righeter","Access Control":"Tillst\xE5nds Kontroll",Reject:"Avvisa","Add User":"L\xE4gg till Anv\xE4ndare","Bad email address":"Fel epost adress","Grid Background":"Grid Bakgrund","Pane Background":"Pane Bakgrund","WaveForm Config":"V\xE5gForm Inst\xE4llning","Export Waveform to CSV":"Exportera V\xE5gform till CSV",dot:"punkt",line:"linje","A4 Portrait":"A4 Portr\xE4tt","A4 Landscape":"A4 Landskap","A3 Portrait":"A3 Portr\xE4tt","A3 Landscape":"A3 Landskap","A2 Portrait":"A2 Portr\xE4tt","A2 Landscape":"A2 Landskap","A1 Portrait":"A1 Portr\xE4tt","A1 Landscape":"A1 Landskap",dashed:"streckad",dotted:"prickad","Find libs":"Hitta bibli","My Projects":"Mina Projekt","My Parts":"Mina Delar","Favorite Parts":"Favorit Delar","Shared With Me":"Delat Med Mig",Preview:"F\xF6rhandsgranska",Close:"St\xE4ng",Open:"\xD6ppna","Toggle toolbar":"V\xE4xla verktygsf\xE4lt","Toggle left bar":"V\xE4xla v\xE4nste f\xE4lt","Toggle right bar":"V\xE4xla h\xF6ger f\xE4lt",Reload:"\xC5terh\xE4mta","Mouse-X":"Mus-X","Mouse-Y":"Mus-Y",Yes:"Ja",No:"Nej",Cancel:"Avbryt","Ask a question":"St\xE4ll en fr\xE5ga","Click to Share my work":"Klicka f\xF6r att dela med mitt arbete","Go to my page":"G\xE5 till min sida","Bus entry":"Bus Ing\xE5ng",Check:"Kontroll","Guest Project":"G\xE4st projekt","Insert into":"S\xE4tt in","Copy the contents of this box into a text editor, then save the file. Paste the edited text back into this box and click Apply to update the display.":"Kopiera inneh\xE5llet av denna box till en text editor, spara sedan filen. Klistra den redigerade texten in till boxen och klicka utf\xF6r och uppdatera bildsk\xE4rmen.","Copy the contents of this box into a text editor, then save the file with a .svg extension. You can edit it in Inkscape or open it in your browser.":"Kopiera inneh\xE5llet av denna box till en text editor, spara sedan filen med .svg extension. Du kan redigera den i Inkscape eller i din webl\xE4sare.","SVG File":"SVG Fil","Description should be no more than 250 letters":"Beskrivningen skall inte vara mer \xE4n 250 tecken","The file save operation has timed out. Try again and check your Internet connection.":"Tiden f\xF6r att spra filen har g\xE5tt ut.","Export Netlist":"Exportera N\xE4tlista","Coming soon":"Kommer snart","No tool":"Inget verktyg","Help us translate into your language":"Hj\xE4lp oss \xF6vers\xE4tta till ditt spr\xE5k","PCB Layers":"PCB Lager","Order PCB":"Best\xE4ll PCB",Share:"Dela",Free:"Fri",Small:"Liten",Medium:"Medel",Big:"Stor","Exporting as":"Exportera som","Exporting as image":"Exportera som bild","Exporting as pdf is recommended: pdf gives good quality printed output and a small file size.":"Exportera som pdf rekommenderas: pdf ger god kvalitet vid utskrift och liten filstorlek.","PenWidth-Increase:":"\xD6ka-PennBredd:","Create a new Project...":"Skapa ett nytt Projekt","Create a new Schematic":"Skapa ett nytt schema","Create a new Schematic Lib":"Skapa ett nytt Schema bib","Create a new Spice Symbol":"Skapa en ny Spice Symbol","Create a new Spice Subckt":"Skapa en ny Underckt","Create a new PCB":"Skapa ett nytt PCB","Create a new PCB Lib":"Skapa ett nytt PCB Bib","Export your file, then print it yourself.":"Exportera din fil, och skriv ut den sj\xE4lv.","Trace width is too small":"Sp\xE5rningsvidd \xE4r f\xF6r liten","Images Attribute":"Bild Attribut","Connect Pad to Pad":"Anslut Pad till Pad","Copper Area":"Koppar Yta","Contribute to EasyEDA":"Bidrag till EasyEda","More Libraries...":"Fler Bibliotek...",User:"Anv\xE4ndare"};var qoi={555:"\u0422\u0430\u0439\u043C\u0435\u0440 555 (\u041A1006\u0412\u04181)","Join...":"\u041F\u0440\u0438\u0454\u0434\u043D\u0430\u0442\u0438\u0441\u044F...","Login...":"\u0423\u0432\u0456\u0439\u0442\u0438...","Log in":"\u0423\u0432\u0456\u0439\u0442\u0438",Logout:"\u0412\u0438\u0439\u0442\u0438","Change password...":"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C...","User Preferences...":"\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430...","Document Recovery...":"\u0412\u0456\u0434\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u043F\u0456\u0441\u043B\u044F \u0437\u0431\u043E\u044E...","Invite friends...":"\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u0438 \u0434\u0440\u0443\u0437\u0456\u0432...",Language:"\u041C\u043E\u0432\u0430",English:"\u0410\u043D\u0433\u043B\u0456\u0439\u0441\u044C\u043A\u0430 (English)","Polski (Polish)":"\u041F\u043E\u043B\u044C\u0441\u044C\u043A\u0430 (Polski)","Deutsch (German)":"\u041D\u0456\u043C\u0435\u0446\u044C\u043A\u0430 (Deutsch)","Fran\xE7ais (French)":"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u044C\u043A\u0430 (Fran\xE7ais)","\u7B80\u4F53\u4E2D\u6587 (Chinese - Simplified)":"\u041A\u0438\u0442\u0430\u0439\u0441\u044C\u043A\u0430 \u0441\u043F\u0440\u043E\u0449\u0435\u043D\u0430 (\u7B80\u4F53\u4E2D\u6587)","\u6B63\u9AD4\u4E2D\u6587 (Chinese - Traditional)":"\u041A\u0438\u0442\u0430\u0439\u0441\u044C\u043A\u0430 \u0442\u0440\u0430\u0434\u0438\u0446\u0456\u0439\u043D\u0430 (\u6B63\u9AD4\u4E2D\u6587)","\uD55C\uAD6D\uC5B4 (Korean)":"\u041A\u043E\u0440\u0435\u0439\u0441\u044C\u043A\u0430 (\uD55C\uAD6D\uC5B4)","Document Recovery":"\u0412\u0456\u0434\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0443",Recover:"\u0412\u0456\u0434\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F","Your Preferences Information":"\u0406\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044F \u043F\u0440\u043E \u0432\u0430\u0448\u0456 \u0443\u043F\u043E\u0434\u043E\u0431\u0430\u043D\u043D\u044F",File:"\u0424\u0430\u0439\u043B",New:"\u041D\u043E\u0432\u0438\u0439","Project...":"\u041F\u0440\u043E\u0435\u043A\u0442...",Schematic:"\u0421\u0445\u0435\u043C\u0430","Schematic Lib":"\u0411\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0430 \u0441\u0445\u0435\u043C","Spice Symbol":"\u0421\u043F\u0435\u0446\u0456\u0430\u043B\u044C\u043D\u0438\u0439 \u0441\u0438\u043C\u0432\u043E\u043B","Spice Subckt":"\u0421\u043F\u0435\u0446\u0456\u0430\u043B\u044C\u043D\u0438\u0439 \u0431\u043B\u043E\u043A",PCB:"\u0414\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0430 \u043F\u043B\u0430\u0442\u0430","PCB Lib":"\u0411\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0430 \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0445 \u043F\u043B\u0430\u0442","Save...":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438...","Save As...":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u044F\u043A...","Print...":"\u041D\u0430\u0434\u0440\u0443\u043A\u0443\u0432\u0430\u0442\u0438...","Export...":"\u0415\u043A\u0441\u043F\u043E\u0440\u0442...",Import:"\u0406\u043C\u043F\u043E\u0440\u0442","Import...":"\u0406\u043C\u043F\u043E\u0440\u0442...","Super Menu":"\u0413\u043E\u043B\u043E\u0432\u043D\u0435 \u043C\u0435\u043D\u044E",Edit:"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438",Undo:"\u0412\u0456\u0434\u043C\u0456\u043D\u0438\u0442\u0438",Redo:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0438",Cut:"\u0412\u0438\u0440\u0456\u0437\u0430\u0442\u0438",Copy:"\u0417\u043A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438",Paste:"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438",Select:"\u0412\u0438\u0442\u0440\u0430\u0442\u0438",Delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438",Clear:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438",Move:"\u041F\u0435\u0440\u0435\u043C\u0456\u0441\u0442\u0438\u0442\u0438",Drag:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438","Bring to Front":"\u041D\u0430 \u043F\u0440\u0435\u0434\u043D\u0456\u0439 \u043F\u043B\u0430\u043D","Send to Back":"\u041D\u0430 \u0437\u0430\u0434\u043D\u0456\u0439 \u043F\u043B\u0430\u043D",Align:"\u0412\u0438\u0440\u0456\u0432\u043D\u044F\u0442\u0438","Align Left":"\u0412\u0438\u0440\u0456\u0432\u043D\u044F\u0442\u0438 \u0437\u043B\u0456\u0432\u0430","Align Right":"\u0412\u0438\u0440\u0456\u0432\u043D\u044F\u0442\u0438 \u0437\u043F\u0440\u0430\u0432\u0430","Align Top":"\u0412\u0438\u0440\u0456\u0432\u043D\u044F\u0442\u0438 \u0437\u0432\u0435\u0440\u0445\u0443","Align Bottom":"\u0412\u0438\u0440\u0456\u0432\u043D\u044F\u0442\u0438 \u0437\u043D\u0438\u0437\u0443",Rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u0438","Rotate Left":"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u0438 \u0432\u043B\u0456\u0432\u043E","Rotate Right":"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u0438 \u0432\u043F\u0440\u0430\u0432\u043E","Flip Horizontal":"\u0412\u0456\u0434\u0431\u0438\u0442\u0438 \u043F\u043E \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u0456","Flip Vertical":"\u0412\u0456\u0434\u0431\u0438\u0442\u0438 \u043F\u043E \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u0456","Rotate and Flip":"\u041E\u0431\u0435\u0440\u0442\u0430\u043D\u043D\u044F \u0442\u0430 \u0432\u0456\u0434\u0431\u0438\u0432\u0430\u043D\u043D\u044F","Group/Ungroup Symbol...":"\u0413\u0440\u0443\u043F\u0443\u0432\u0430\u0442\u0438/\u0420\u043E\u0437\u0433\u0440\u0443\u043F\u0443\u0432\u0430\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u0438...",View:"\u041F\u0435\u0440\u0435\u0433\u043B\u044F\u0434","Zoom In":"\u0417\u0431\u0456\u043B\u044C\u0448\u0438\u0442\u0438","Zoom Out":"\u0417\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u0438","Fit in Window":"\u041D\u0430 \u0432\u0441\u0435 \u0432\u0456\u043A\u043D\u043E",Refresh:"\u041F\u043E\u043D\u043E\u0432\u0438\u0442\u0438",Snap:"\u041F\u0440\u0438\u0432'\u044F\u0437\u043A\u0430",Toolbars:"\u041F\u0430\u043D\u0435\u043B\u0456 \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0456\u0432","Drawing Tools":"\u0406\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0438 \u043C\u0430\u043B\u044E\u0432\u0430\u043D\u043D\u044F","Wiring Tools":"\u0406\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0438 \u0440\u043E\u0437\u0432\u0435\u0434\u0435\u043D\u043D\u044F","Power Objects":"\u041F\u043E\u0442\u0443\u0436\u043D\u0456 \u043E\u0431\u044C\u0435\u043A\u0442\u044B","PCB Tools":"\u0406\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0438 \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u043E\u0457 \u043F\u043B\u0430\u0442\u0438","PCBLib Tools":"\u0406\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0438 \u0431\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0438 \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u043E\u0457 \u043F\u043B\u0430\u0442\u0438",Place:"\u0420\u043E\u0437\u043C\u0456\u0449\u0435\u043D\u043D\u044F",Arc:"\u0414\u0443\u0433\u0430","Elliptical Arc":"\u0415\u043B\u0456\u043F\u0442\u0438\u0447\u043D\u0430 \u0434\u0443\u0433\u0430",Ellipse:"\u0415\u043B\u0456\u043F\u0441",Circle:"\u041A\u043E\u043B\u043E",Pie:"\u0421\u0435\u043A\u0442\u043E\u0440",Line:"\u041B\u0456\u043D\u0456\u044F",Polyline:"\u041B\u0430\u043C\u0430\u043D\u0430 \u043B\u0438\u043D\u0438\u044F",Rectangle:"\u041F\u0440\u044F\u043C\u043E\u043A\u0443\u0442\u043D\u0438\u043A",Rect:"\u041F\u0440\u044F\u043C\u0430","Round Rectangle":"\u041E\u043A\u0440\u0443\u0433\u043B\u0435\u043D\u0438\u0439 \u043F\u0440\u044F\u043C\u043E\u043A\u0443\u0442\u043D\u0438\u043A",Polygon:"\u041F\u043E\u043B\u0456\u0433\u043E\u043D",Bezier:"\u041A\u0440\u0438\u0432\u0430 \u0411\u0435\u0437'\u0454",Path:"\u041A\u043E\u043D\u0442\u0443\u0440",Graphic:"\u0413\u0440\u0430\u0444\u0456\u043A",Bus:"\u0428\u0438\u043D\u0430","Bus Entry":"\u0412\u0456\u0432\u043E\u0434\u0438 \u0448\u0438\u043D\u0438",Junction:"\u0417'\u0454\u0434\u043D\u0443\u0432\u0430\u0447","Net Port":"\u041A\u043E\u043D\u0442\u0430\u043A\u0442 \u0448\u0438\u043D\u0438","Voltage Probe":"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u044C \u043D\u0430\u043F\u0440\u0443\u0433\u0438","Power Port":"\u041A\u043E\u043D\u0442\u0430\u043A\u0442 \u0436\u0438\u0432\u043B\u0435\u043D\u043D\u044F",Wire:"\u041F\u0440\u043E\u0432\u0456\u0434\u043D\u0438\u043A",Annotation:"\u041E\u043F\u0438\u0441",Track:"\u0414\u043E\u0440\u0456\u0436\u043A\u0430",Image:"\u0420\u0438\u0441\u0443\u043D\u043E\u043A","Arrow Head":"\u041D\u0430\u043A\u0456\u043D\u0435\u0447\u043D\u0438\u043A \u0441\u0442\u0440\u0456\u043B\u043A\u0438",Pin:"\u0412\u0438\u0432\u0456\u0434",Miscellaneous:"\u0406\u043D\u0448\u0435","Find Component":"\u0417\u043D\u0430\u0439\u0442\u0438 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442","Convert Project To PCB...":"\u041A\u043E\u043D\u0432\u0435\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u043F\u0440\u043E\u0435\u043A\u0442 \u0432 \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0443 \u043F\u043B\u0430\u0442\u0443...","Hotkeys Setting...":"\u0412\u0438\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0433\u0430\u0440\u0430\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0456\u0448...","Edit Symbol...":"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u043D\u043D\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u0430...","Highlight Net...":"\u041F\u043E\u0434\u0441\u0432\u0456\u0442\u043A\u0430 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u0430...",Simulate:"\u041C\u043E\u0434\u0435\u043B\u044E\u0432\u0430\u043D\u0438\u0435","Simulate...":"\u041C\u043E\u0434\u0435\u043B\u044E\u0432\u0430\u043D\u043D\u044F...","Simulation Results...":"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0438 \u043C\u043E\u0434\u0435\u043B\u044E\u0432\u0430\u043D\u0438\u044F...","Run the Document":"\u0412\u0438\u043A\u043E\u043D\u0430\u0442\u0438 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442","Run the Project...":"\u0412\u0438\u043A\u043E\u043D\u0430\u0442\u0438 \u043F\u0440\u043E\u0435\u043A\u0442...","Netlist for Document":"\u0421\u043F\u0438\u0441\u043E\u043A \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u0456\u0432 \u0434\u043B\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0443","Netlist for Project":"\u0421\u043F\u0438\u0441\u043E\u043A \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u0456\u0432 \u0434\u043B\u044F \u043F\u0440\u043E\u0435\u043A\u0442\u0443","Spice...":"\u0421\u043F\u0435\u0446\u0456\u0430\u043B\u044C\u043D\u0438\u0439...","Protel/Altium for PCB...":"Protel/Altium \u0434\u043B\u044F \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0445 \u043F\u043B\u0430\u0442...","Pads for PCB...":"Pads \u0434\u043B\u044F \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0445 \u043F\u043B\u0430\u0442...","FreePCB for PCB...":"FreePCB \u0434\u043B\u044F \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0445 \u043F\u043B\u0430\u0442...","Eagle for PCB...":"Eagle \u0434\u043B\u044F \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0445 \u043F\u043B\u0430\u0442...","Kicad for PCB...":"Kicad \u0434\u043B\u044F \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0445 \u043F\u043B\u0430\u0442...","OrCAD for PCB...":"OrCAD \u0434\u043B\u044F \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0445 \u043F\u043B\u0430\u0442...","BOM report...":"\u0417\u0432\u0456\u0442 BOM...","BOM for Document...":"BOM \u0434\u043B\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430...","BOM for Project...":"BOM \u0434\u043B\u044F \u043F\u0440\u043E\u0435\u043A\u0442\u0430...","Pin Map...":"\u041C\u0430\u043F\u0430 \u0432\u0438\u0432\u043E\u0434\u0456\u0432...","Edit Subckt...":"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0431\u043B\u043E\u043A...","Layer Options...":"\u041E\u043F\u0446\u0456\u0457 \u0448\u0430\u0440\u0443...","Design Rule Check...":"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F \u043F\u0440\u0430\u0432\u0438\u043B \u043F\u0435\u0440\u0435\u0432\u0456\u0440\u043A\u0438...","Fabrication Output...":"\u0413\u0435\u043D\u0435\u0440\u0443\u0432\u0430\u043D\u043D\u044F \u0432\u0438\u0445\u0456\u0434\u043D\u043E\u0433\u043E \u0441\u0438\u0433\u043D\u0430\u043B\u0443...","Measure Distance":"\u0412\u0438\u043C\u0456\u0440\u044E\u0432\u0430\u043D\u043D\u044F \u0432\u0456\u0434\u0441\u0442\u0430\u043D\u0456","Measure Distance...":"\u0412\u0438\u043C\u0456\u0440\u044E\u0432\u0430\u043D\u043D\u044F \u0432\u0456\u0434\u0441\u0442\u0430\u043D\u0456...","Design Manager":"\u041C\u0435\u043D\u0435\u0434\u0436\u0435\u0440 \u0440\u043E\u0437\u0440\u043E\u0431\u043A\u0438","New Origin":"\u041D\u043E\u0432\u0435 \u0434\u0436\u0435\u0440\u0435\u043B\u043E","Add SubPart":"\u0414\u043E\u0434\u0430\u0442\u0438 \u043F\u0456\u0434\u0440\u043E\u0437\u0434\u0456\u043B","Annotate...":"\u041E\u043F\u0438\u0441...",Config:"\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F","Config...":"\u041D\u0430\u043B\u0430\u0433\u043E\u0434\u0436\u0435\u043D\u043D\u044F...",Help:"\u0414\u043E\u043F\u043E\u043C\u043E\u0433\u0430",Support:"\u041F\u0456\u0434\u0442\u0440\u0438\u043C\u043A\u0430","Help Topics":"\u0420\u043E\u0437\u0434\u0456\u043B\u0438 \u0414\u043E\u043F\u043E\u043C\u043E\u0433\u0438","Change History":"\u0416\u0443\u0440\u043D\u0430\u043B \u0437\u043C\u0456\u043D","Historical Records...":"\u0417\u0430\u043F\u0438\u0441\u0438 \u0436\u0443\u0440\u043D\u0430\u043B\u0430 \u0437\u043C\u0456\u043D...","Bug Report...":"\u0417\u0432\u0456\u0442 \u043F\u0440\u043E \u043F\u043E\u043C\u0438\u043B\u043A\u0438...","Feature Request...":"\u0417\u0430\u043F\u0438\u0442 \u043F\u0440\u043E \u043C\u043E\u0436\u043B\u0438\u0432\u043E\u0441\u0442\u0456...","Thank You List":"\u041F\u0435\u0440\u0435\u043B\u0456\u043A \u043F\u043E\u0434\u044F\u043A","Terms of Use & Privacy Policy":"\u041F\u0440\u0430\u0432\u0438\u043B\u0430 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u043D\u043D\u044F \u0442\u0430 \u041F\u043E\u043B\u0456\u0442\u0438\u043A\u0430 \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456","Check Hotkeys":"\u041F\u0435\u0440\u0435\u0432\u0456\u0440\u043A\u0430 \u0433\u0430\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0456\u0448",About:"\u041F\u0440\u043E \u043F\u0440\u043E\u0435\u043A\u0442","Order PCB...":"\u0417\u0430\u043C\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0445 \u043F\u043B\u0430\u0442...","Import Changes":"\u0417\u043C\u0456\u043D\u0438 \u0432 \u0406\u043C\u043F\u043E\u0440\u0442\u0456",Press:"\u041D\u0430\u0442\u0438\u0441\u043D\u0438","To switch to Full Screen":"\u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0443 \u0434\u043E \u043F\u043E\u0432\u043D\u043E\u0435\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0443","Delete Selected":"\u0412\u0438\u0434\u0430\u043B\u0438\u043C\u0438 \u0432\u0438\u0434\u0456\u043B\u0435\u043D\u0435","Generate Gerber and Drill Files":"\u0417\u0433\u0435\u043D\u0435\u0440\u0443\u0432\u0430\u0442\u0438 Gerber \u0444\u0430\u0439\u043B \u0442\u0430 \u0444\u0430\u0439\u043B \u0434\u043B\u044F \u0441\u0432\u0435\u0440\u043B\u0456\u043D\u043D\u044F","Anonymous Files":"\u0411\u0435\u0437\u0456\u043C\u0435\u043D\u043D\u0456 \u0444\u0430\u0439\u043B\u0438","Build PCB":"\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0443 \u043F\u043B\u0430\u0442\u0443","Symbol Wizard...":"\u041C\u0430\u0439\u0441\u0442\u0435\u0440 \u0441\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432","System Libraries":"\u0421\u0438\u0441\u0442\u0435\u043C\u043D\u0456 \u0431\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0438","Terms of Service & Privacy Policy":"\u0423\u043C\u043E\u0432\u0438 \u043D\u0430\u0434\u0430\u043D\u043D\u044F \u043F\u043E\u0441\u043B\u0443\u0433 \u0442\u0430 \u041F\u043E\u043B\u0456\u0442\u0438\u043A\u0430 \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456","About...":"\u041F\u0440\u043E...","SVG Source...":"\u0422\u0435\u043A\u0441\u0442 SVG...","Easyeda Source...":"\u0422\u0435\u043A\u0441\u0442 Easyeda...","Group these items as a SCHLIB/Symbol":"\u0417\u0433\u0440\u0443\u043F\u0443\u0432\u0430\u0442\u0438 \u0446\u0456 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u044F\u043A \u0431\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0443 \u0441\u0445\u0435\u043C/\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432","Digital Objects":"\u0426\u0438\u0444\u0440\u043E\u0432\u0456 \u043E\u0431'\u0454\u043A\u0442\u0438",Properties:"\u0412\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456",Attributes:"\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u0438",Apply:"\u0417\u0430\u0441\u0442\u043E\u0441\u0443\u0432\u0430\u0442\u0438","Save as default":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u044F\u043A \u0437\u0430\u043C\u043E\u0432\u0447\u0443\u0432\u0430\u043D\u043D\u044F","Canvas Attributes":"\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u0438 \u043F\u043E\u043B\u043E\u0442\u043D\u0430",Width:"\u0428\u0438\u0440\u0438\u043D\u0430",Height:"\u0412\u0438\u0441\u043E\u0442\u0430",Background:"\u0424\u043E\u043D","Visible Grid":"\u0412\u0438\u0434\u0438\u043C\u0430 \u0441\u0456\u0442\u043A\u0430","Grid Color":"\u041A\u043E\u043B\u0456\u0440 \u0441\u0456\u0442\u043A\u0438","Grid Size":"\u0420\u043E\u0437\u043C\u0456\u0440 \u0441\u0456\u0442\u043A\u0438","Grid Style":"\u0421\u0442\u0438\u043B\u044C \u0441\u0456\u0442\u043A\u0438","Stroke color":"\u041A\u043E\u043B\u0456\u0440 \u043E\u0431\u0432\u0435\u0434\u0435\u043D\u043D\u044F","Stroke width":"\u0422\u043E\u0432\u0449\u0438\u043D\u0430 \u043E\u0431\u0432\u0435\u0434\u0435\u043D\u043D\u044F","Stroke style":"\u0421\u0442\u0438\u043B\u044C \u043E\u0431\u0432\u0435\u0434\u0435\u043D\u043D\u044F","Fill color":"\u041A\u043E\u043B\u0456\u0440 \u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u043D\u044F","Selected Objects":"\u0412\u0438\u0431\u0440\u0430\u043D\u0456 \u043E\u0431'\u0454\u043A\u0442\u0438","Frame Size":"\u0420\u043E\u0437\u043C\u0456\u0440 \u0440\u0430\u043C\u043A\u0438","ALT Snap":"\u041F\u0440\u0438\u0432'\u044F\u0437\u043A\u0430 \u0437 ALT","Snap size when pressing the Alt key":"\u0420\u043E\u0437\u043C\u0456\u0440 \u043F\u0440\u0438\u0432'\u044F\u0437\u043A\u0438 \u043F\u0440\u0438 \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u043D\u043D\u0456 \u043D\u0430 \u043A\u043B\u0430\u0432\u0456\u0448\u0443 Alt","Text Attributes":"\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u0438 \u0442\u0435\u043A\u0441\u0442\u0443",Text:"\u0422\u0435\u043A\u0441\u0442",Color:"\u041A\u043E\u043B\u0456\u0440","Font-family":"\u0420\u043E\u0434\u0438\u043D\u0430 \u0448\u0440\u0438\u0444\u0442\u0443","Font-size":"\u0420\u043E\u0437\u043C\u0456\u0440 \u0448\u0440\u0438\u0444\u0442\u0443","Font-weight":"\u0428\u0438\u0440\u0438\u043D\u0430 \u0448\u0440\u0438\u0444\u0442\u0443","Font-style":"\u0421\u0442\u0438\u043B\u044C \u0448\u0440\u0438\u0444\u0442\u0443","Text type":"\u0422\u0438\u043F \u0442\u0435\u043A\u0441\u0442\u0430","Text-anchor":"\u042F\u043A\u0456\u0440 \u0442\u0435\u043A\u0441\u0442\u0430",Baseline:"\u0411\u0430\u0437\u043E\u0432\u0430\u044F \u043B\u0456\u043D\u0456\u044F","X radius":"X \u0440\u0430\u0434\u0456\u0443\u0441","Y radius":"Y \u0440\u0430\u0434\u0456\u0443\u0441","Pin Attributes":"\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u0438 \u0432\u0438\u0432\u043E\u0434\u0443",Orientation:"\u041E\u0440\u0456\u0454\u043D\u0442\u0430\u0446\u0456\u044F","0 degrees":"0 \u0433\u0440\u0430\u0434\u0443\u0441\u0456\u0432","45 degrees":"45 \u0433\u0440\u0430\u0434\u0443\u0441\u0456\u0432","90 degrees":"90 \u0433\u0440\u0430\u0434\u0443\u0441\u0456\u0432","180 degrees":"180 \u0433\u0440\u0430\u0434\u0443\u0441\u0456\u0432","270 degrees":"270 \u0433\u0440\u0430\u0434\u0443\u0441\u0456\u0432","Start-X":"\u041F\u043E\u0447\u0430\u0442\u043E\u043A \u043F\u043E X","Start-Y":"\u041F\u043E\u0447\u0430\u0442\u043E\u043A \u043F\u043E Y",Length:"\u0414\u0438\u0432\u0436\u0438\u043D\u0430",Name:"\u0406\u043C'\u044F",Number:"\u041D\u043E\u043C\u0435\u0440","Spice Pin order":"\u041E\u0441\u043E\u0431\u043B\u0438\u0432\u0438\u0439 \u043F\u043E\u0440\u044F\u0434\u043E\u043A \u0432\u0438\u0432\u043E\u0434\u0456\u0432","Name Display":"\u0406\u043C'\u044F \u0434\u0438\u0441\u043F\u043B\u0435\u044F","Number display":"\u041D\u043E\u043C\u0435\u0440 \u0434\u0438\u0441\u043F\u043B\u0435\u044F",Clock:"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0456\u0437\u0430\u0446\u0456\u044F",Show:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438",Electric:"\u0415\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u043D\u0456","Junction Attributes":"\u0420\u043E\u0437\u043F\u043E\u0434\u0456\u043B\u044C\u043D\u0456 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0438","X-Location":"\u041F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044F \u043F\u043E X","Y-Location":"\u041F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044F \u043F\u043E Y",Size:"\u0420\u043E\u0437\u043C\u0456\u0440","Net Label":"\u041D\u0430\u0437\u0432\u0430 \u0448\u0438\u043D\u0438","Part Attributes":"\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u0438 \u0447\u0430\u0441\u0442\u0438\u043D",Prefix:"\u041F\u0440\u0435\u0444\u0456\u043A\u0441","Image Attributes":"\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u0438 \u0440\u0438\u0441\u0443\u043D\u043A\u0443","Image URL":"\u0410\u0434\u0440\u0435\u0441\u0430 \u0440\u0438\u0441\u0443\u043D\u043A\u0443",Units:"\u041F\u0443\u043D\u043A\u0442\u0438","Snap Size":"\u0420\u043E\u0437\u043C\u0456\u0440 \u043F\u0440\u0438\u0432'\u044F\u0437\u043A\u0438",Other:"\u0406\u043D\u0448\u0438\u0439","Routing Width":"\u0428\u0438\u0440\u0438\u043D\u0430 \u043C\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0456\u0457","Routing Angle":"\u041A\u0443\u0442 \u043C\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0456\u0457",Grid:"\u0421\u0456\u0442\u043A\u0430","Copper Zone":"\u041C\u0456\u0434\u043D\u0430 \u043F\u043B\u043E\u0449\u0438\u043D\u043A\u0430",Visible:"\u0412\u0438\u0434\u043D\u043E",Invisible:"\u041D\u0435 \u0432\u0438\u0434\u043D\u043E","Track Properties":"\u0412\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456 \u0434\u043E\u0440\u0456\u0436\u043A\u0438",Layer:"\u0428\u0430\u0440",Net:"\u041C\u0435\u0440\u0435\u0436\u0430","End-X":"\u041A\u0456\u043D\u0435\u0446\u044C \u043F\u043E X","End-Y":"\u041A\u0456\u043D\u0435\u0446\u044C \u043F\u043E Y","Pad Properties":"\u0412\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456 \u043F\u043B\u043E\u0449\u0438\u043D\u043E\u043A",Shape:"\u0424\u043E\u0440\u043C\u0430","Hole(D)":"\u041E\u0442\u0432\u0456\u0440 (\u0434\u0456\u0430\u043C\u0435\u0442\u0440)","Center-X":"\u0426\u0435\u043D\u0442\u0440 \u043F\u043E X","Center-Y":"\u0426\u0435\u043D\u0442\u0440 \u043F\u043E Y","Via/Hole Properties":"\u0412\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456 \u043F\u0440\u043E\u0445\u0456\u0434\u043D\u0438\u0445 \u043E\u0442\u0432\u043E\u0440\u0456\u0432",Diameter:"\u0414\u0456\u0430\u043C\u0435\u0442\u0440","Text Properties":"\u0412\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456 \u0442\u0435\u043A\u0441\u0442\u0443",LineWidth:"\u0422\u043E\u0432\u0449\u0438\u043D\u0430 \u043B\u0456\u043D\u0456\u0457",Rotation:"\u041E\u0431\u0435\u0440\u0442\u0430\u043D\u043D\u044F","Dimension Attributes":"\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u0438 \u0432\u0438\u043C\u0456\u0440\u0443","Footprint Attributes":"\u0412\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456 \u0432\u0456\u0434\u0431\u0438\u0442\u043A\u0456\u0432","Prefix Display":"\u041F\u0440\u0435\u0444\u0456\u043A\u0441 \u0449\u043E \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u044C\u0441\u044F","Arc Properties":"\u0412\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456 \u0434\u0443\u0433\u0438","Rect Properties":"\u0412\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456 \u043F\u0440\u044F\u043C\u043E\u0457","Round radius":"\u0420\u0430\u0434\u0456\u0443\u0441 \u0437\u0430\u043E\u043A\u0440\u0443\u0433\u043B\u0435\u043D\u043D\u044F","Circle Properties":"\u0412\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456 \u043A\u043E\u043B\u0430",Radius:"\u0420\u0430\u0434\u0456\u0443\u0441","CopperArea Properties":"\u0412\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456 \u043C\u0435\u0442\u0430\u043B\u0456\u0437\u0430\u0446\u0456\u0457",Clearance:"\u0417\u0430\u0437\u043E\u0440","Pad Connection":"\u041F\u0456\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044F \u043F\u043B\u043E\u0449\u0438\u043D\u043A\u0438",Direct:"\u041D\u0430\u043F\u0440\u044F\u043C\u043E\u043A",Spoke:"\u0429\u0430\u0431\u0435\u043B\u044C","Keep Island":"\u0417\u0430\u043B\u0438\u0448\u0438\u0442\u0438 \u043E\u0441\u0442\u0440\u0456\u0432\u0446\u0456","Fill Style":"\u0421\u0442\u0438\u043B\u044C \u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u043D\u044F","CopperArea conflict: copper area outlines in same layer with different net names must not overlap":"\u041A\u043E\u043D\u0444\u043B\u0456\u043A\u0442 \u043C\u0435\u0442\u0430\u043B\u0456\u0437\u0430\u0446\u0456\u0457: \u043C\u0456\u0434\u043D\u0430 \u043F\u043B\u043E\u0449\u0438\u043D\u043A\u0430, \u0449\u043E \u0437\u043D\u0430\u0445\u043E\u0434\u0438\u0442\u044C\u0441\u044F \u0432 \u0442\u043E\u043C\u0443 \u0436 \u0448\u0430\u0440\u0456, \u0449\u043E \u0456 \u043D\u0430\u0437\u0432\u0430\u043D\u0430 \u0448\u0438\u043D\u0430, \u043D\u0435 \u043F\u043E\u0432\u0438\u043D\u043D\u0456 \u043F\u0435\u0440\u0435\u0442\u0438\u043D\u0430\u0442\u0438\u0441\u044F","Please create board outline first":"\u0421\u0442\u0432\u043E\u0440\u0456\u0442\u044C, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u043A\u043E\u043D\u0442\u0443\u0440 \u043F\u043B\u0430\u0442\u0438 \u0437\u043D\u043E\u0432\u0443","Board outlines are not closed.":"\u041A\u043E\u043D\u0442\u0443\u0440 \u043F\u043B\u0430\u0442\u0438 \u043D\u0435 \u0437\u0430\u043C\u043A\u043D\u0435\u043D\u043E.","Rebuild CopperArea":"\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u044C \u043C\u0435\u0442\u0430\u043B\u0456\u0437\u0430\u0446\u0456\u044E \u0437\u0430\u043D\u043E\u0432\u043E","Custom Attributes":"\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u0438 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Add new parameter":"\u0414\u043E\u0434\u0430\u0442\u0438 \u043D\u043E\u0432\u0438\u0439 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440","Create an account":"\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u0438\u0439 \u0437\u0430\u043F\u0438\u0441","Username:":"\u0406\u043C'\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430:","Password:":"\u041F\u0430\u0440\u043E\u043B\u044C:","Confirm Password:":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0435\u043D\u043D\u044F \u043D\u043E\u0432\u043E\u0433\u043E \u043F\u0430\u0440\u043E\u043B\u044E:","Email:":"e-mail:","Please read this before you register":"\u041F\u0440\u043E\u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u0446\u0435 \u043F\u0435\u0440\u0435\u0434 \u0440\u0435\u0433\u0456\u0441\u0442\u0440\u0430\u0446\u0456\u0454\u044E","Lost Password...":"\u041F\u0430\u0440\u043E\u043B\u044C \u0432\u0442\u0440\u0430\u0447\u0435\u043D\u043E...","Find the password using your email":"\u041E\u0434\u0435\u0440\u0436\u0430\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C \u0437\u0430 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u043E\u044E \u0432\u043B\u0430\u0441\u043D\u043E\u0457 e-mail",Login:"\u0423\u0432\u0456\u0439\u0442\u0438","Username or Email:":"\u0406\u043C'\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0430\u0431\u043E e-mail:","Remember Me":"\u0417\u0430\u043F\u0430\u043C'\u044F\u0442\u0430\u0442\u0438 \u043C\u0435\u043D\u0435","Third party:":"\u0422\u0440\u0435\u0442\u044F \u0441\u0442\u043E\u0440\u043E\u043D\u0430:","Reset a password using your email:":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C \u0437\u0430 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u043E\u044E \u043C\u043E\u0454\u0457 \u0432\u043B\u0430\u0441\u043D\u043E\u0457 e-mail:","Your registered email:":"\u0412\u0430\u0448\u0430 \u0437\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u043E\u0432\u0430\u043D\u0430 e-mail:","Re-send an activation code to your email:":"\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0456\u0439\u043D\u0438\u0439 \u043A\u043E\u0434 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043E \u043D\u0430 \u0432\u0430\u0448\u0443 e-mail:","Invite friends to register":"\u0417\u0430\u043F\u0440\u043E\u0441\u0456\u0442\u044C \u0434\u0440\u0443\u0437\u0456\u0432 \u0434\u043B\u044F \u0440\u0435\u0454\u0441\u0442\u0440\u0430\u0446\u0456\u0457","Your friend's email":"e-mail \u0432\u0430\u0448\u0438\u0445 \u0434\u0440\u0443\u0437\u0456\u0432","Add a new parameter":"\u0414\u043E\u0434\u0430\u0442\u0438 \u043D\u043E\u0432\u0456 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438","Key:":"\u041A\u043B\u044E\u0447:","Value:":"\u0417\u043D\u0430\u0447\u0435\u043D\u043D\u044F:","Change your password":"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C","Old password:":"\u0421\u0442\u0430\u0440\u0438\u0439 \u043F\u0430\u0440\u043E\u043B\u044C:","New Password:":"\u041D\u043E\u0432\u0438\u0439 \u043F\u0430\u0440\u043E\u043B\u044C:","Create a new project":"\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u043D\u043E\u0432\u0438\u0439 \u043F\u0440\u043E\u0435\u043A\u0442","Save as a schematic":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u044F\u043A \u0441\u0445\u0435\u043C\u0443","Save as a schematic Lib":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u044F\u043A \u0431\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0443 \u0437\u0456 \u0441\u0445\u0435\u043C","Save as a spice Symbol":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u044F\u043A \u0441\u043F\u0435\u0446\u0456\u0430\u043B\u044C\u043D\u0438\u0439 \u0441\u0438\u043C\u0432\u043E\u043B","Save as a spice subckt":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u044F\u043A \u0441\u043F\u0435\u0446\u0456\u0430\u043B\u044C\u043D\u0438\u0439 \u0431\u043B\u043E\u043A","YOU MUST CREATE A SPICE SYMBOL WITH EXACTLY THE SAME NAME AS THIS SUBCKT":"\u0412\u0410\u041C \u041F\u041E\u0422\u0420\u0406\u0411\u041D\u041E \u0421\u0422\u0412\u041E\u0420\u0418\u0422\u0418 \u0421\u041F\u0415\u0426\u0406\u0410\u041B\u042C\u041D\u0418\u0419 \u0421\u0418\u041C\u0412\u041E\u041B \u0417 \u0422\u0418\u041C \u0416\u0415 \u0418\u041C'\u042F\u041C, \u0429\u041E \u0419 \u0426\u0415\u0419 \u0411\u041B\u041E\u041A","Save as a PCB file":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u044F\u043A \u0444\u0430\u0439\u043B \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u043E\u0457 \u043F\u043B\u0430\u0442\u0438","Save as a PCB Lib":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u044F\u043A \u0431\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0443 \u0437 \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0445 \u043F\u043B\u0430\u0442","Title:":"\u041D\u0430\u0437\u0432\u0430:","Share:":"\u041D\u0430\u0434\u0430\u043D\u043D\u044F:","Visibility:":"\u0412\u0438\u0434\u0438\u043C\u0456\u0441\u0442\u044C:","Allow Comments:":"\u0414\u043E\u0437\u0432\u043E\u043B\u0438\u0442\u0438 \u043A\u043E\u043C\u0435\u043D\u0442\u0443\u0432\u0430\u0442\u0438:","Public (Anyone can see this project but only you can modify it.)":"\u041F\u0443\u0431\u043B\u0438\u0447\u043D\u0438\u0439 (\u0422\u0456\u043B\u044C\u043A\u043E \u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u043C\u0456\u043D\u044E\u0432\u0430\u0442\u0438 \u0446\u0435\u0439 \u043F\u0440\u043E\u0435\u043A\u0442. \u0406\u043D\u0448\u0456 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0456, \u043B\u0438\u0448\u0435 \u0431\u0430\u0447\u0438\u0442\u0438.)","Private (Only you can see and modify this project)":"\u041F\u0440\u0438\u0432\u0430\u0442\u043D\u0438\u0439 (\u0422\u0456\u043B\u044C\u043A\u0438 \u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u0431\u0430\u0447\u0438\u0442\u0438 \u0438 \u0437\u043C\u0456\u043D\u044E\u0432\u0430\u0442\u0438 \u0446\u0435\u0439 \u043F\u0440\u043E\u0435\u043A\u0442)","Categories:":"\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0456\u0457:","Project:":"\u041F\u0440\u043E\u0435\u043A\u0442:","Short descript:":"\u041A\u043E\u0440\u043E\u0442\u043A\u0438\u0439 \u043E\u043F\u0438\u0441:","Content:":"\u0417\u043C\u0456\u0441\u0442:","Modify this project info.":"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044E \u0446\u044C\u043E\u0433\u043E \u043F\u0440\u043E\u0435\u043A\u0442\u0443.","Modify this file info.":"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044E \u0446\u044C\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0443.","Notice:":"\u041F\u0440\u0438\u043C\u0456\u0442\u043A\u0430:","Search for it before creating a new one.":"\u0428\u0443\u043A\u0430\u0442\u0438 \u0446\u0435 \u043F\u0435\u0440\u0435\u0434 \u0439\u043E\u0433\u043E \u0441\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F\u043C.","Save your file":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0432\u0430\u0448 \u0444\u0430\u0439\u043B","Clone it to a project":"\u041A\u043B\u043E\u043D\u0443\u0432\u0430\u0442\u0438 \u0432 \u043F\u0440\u043E\u0435\u043A\u0442\u0456","Clone it,then re-edit it":"\u041A\u043B\u043E\u043D\u0443\u0432\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u0438\u043C \u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u043D\u043D\u044F\u043C","Clone your file":"\u041A\u043B\u043E\u043D\u0443\u0432\u0430\u043D\u043D\u044F \u0432\u0430\u0448\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0430","Attach a Subckt to this spice symbol":"\u041F\u0440\u0438\u0454\u0434\u043D\u0430\u0442\u0438 \u0431\u043B\u043E\u043A \u0434\u043E \u0446\u044C\u043E\u0433\u043E \u044D\u0442\u043E\u043C\u0443 \u0441\u043F\u0435\u0446. \u0441\u0438\u043C\u0432\u043E\u043B\u0443","Subckt string:":"\u0420\u044F\u0434\u043E\u043A \u0431\u043B\u043E\u043A\u0443:","Schematic Design Manager":"\u041C\u0435\u043D\u0435\u0434\u0436\u0435\u0440 \u0441\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F \u0441\u0445\u0435\u043C\u0438","Show your simulation report":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u0437\u0432\u0456\u0442 \u043F\u0440\u043E \u043C\u043E\u0434\u0435\u043B\u044E\u0432\u0430\u043D\u043D\u044F","Download netlist":"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u043E\u043F\u0438\u0441 \u0448\u0438\u043D",Run:"\u0412\u0438\u043A\u043E\u043D\u0430\u0442\u0438","Import file from your computer":"\u0406\u043C\u043F\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0444\u0430\u0439\u043B \u0437 \u0432\u0430\u0448\u043E\u0433\u043E \u043A\u043E\u043C\u043F'\u044E\u0442\u0435\u0440\u0443","Chose file":"\u041E\u0431\u0440\u0430\u0442\u0438 \u0444\u0430\u0439\u043B","File Operation":"\u041E\u043F\u0435\u0440\u0430\u0446\u0456\u044F \u043D\u0430\u0434 \u0444\u0430\u0439\u043B\u043E\u043C","Import File":"\u0406\u043C\u043F\u043E\u0440\u0442 \u0444\u0430\u0439\u043B\u0430","Extract Libs":"\u0412\u0438\u043B\u0443\u0447\u0438\u0442\u0438 \u0431\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0438","File type":"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443","Modify symbol information":"\u0417\u043C\u0456\u043D\u0430 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457 \u043F\u0440\u043E \u0432\u0430\u0448\u0456 \u0441\u0438\u043C\u0432\u043E\u043B\u0438","PCB Prefix:":"\u041F\u0440\u0435\u0444\u0456\u043A\u0441 \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0445 \u043F\u043B\u0430\u0442:","Spice Prefix:":"\u0421\u043F\u0435\u0446\u0456\u0430\u043B\u044C\u043D\u0438\u0439 \u043F\u0440\u0435\u0444\u0456\u043A\u0441:","Hidden Pin:":"\u041F\u0440\u0438\u0445\u043E\u0432\u0430\u043D\u0438\u0439 \u0432\u044B\u0432\u043E\u0434:","Pin Map":"\u041C\u0430\u043F\u0430 \u0432\u0438\u0432\u043E\u0434\u0456\u0432","Export BOM":"\u0415\u043A\u0441\u043F\u043E\u0440\u0442 BOM","Run your simulation":"\u0412\u0438\u043A\u043E\u043D\u0430\u0442\u0438 \u043C\u043E\u0434\u0435\u043B\u044E\u0432\u0430\u043D\u043D\u044F",Transient:"\u0422\u0438\u043C\u0447\u0430\u0441\u043E\u0432\u043E","Maximum Timestep:":"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0438\u0439 \u043A\u0440\u043E\u043A \u0447\u0430\u0441\u0443:","Stop Time:":"\u0417\u0443\u043F\u0438\u043D\u0438\u0442\u0438 \u0432\u0456\u0434\u043B\u0456\u043A \u0447\u0430\u0441\u0443:","Start Time:":"\u041F\u043E\u0447\u0430\u0442\u0438 \u0432\u0456\u0434\u043B\u0456\u043A \u0447\u0430\u0441\u0443:","AC Analysis":"\u0410\u043D\u0430\u043B\u0456\u0437 \u0437\u043C\u0456\u043D\u043D\u043E\u0433\u043E \u0441\u0442\u0440\u0443\u043C\u0443","Type of Sweep:":"\u0422\u0438\u043F \u0440\u043E\u0437\u0433\u043E\u0440\u0442\u043A\u0438:","Number of points:":"\u041A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0442\u043E\u0447\u043E\u043A:","Start Frequency:":"\u041F\u043E\u0447\u0430\u0442\u043A\u043E\u0432\u0430 \u0447\u0430\u0441\u0442\u043E\u0442\u0430:","Stop Frequency:":"\u041A\u0456\u043D\u0446\u0435\u0432\u0430 \u0447\u0430\u0441\u0442\u043E\u0442\u0430:","DC sweep":"\u0420\u043E\u0437\u0433\u043E\u0440\u0442\u043A\u0430 \u043F\u043E\u0441\u0442\u0456\u0439\u043D\u043E\u0433\u043E \u0441\u0442\u0440\u0443\u043C\u0443","Source to Sweep:":"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0440\u043E\u0437\u0433\u043E\u0440\u0442\u043A\u0438","Start Value:":"\u041F\u043E\u0447\u0430\u0442\u043A\u043E\u0432\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F:","Stop Value:":"\u041A\u0456\u043D\u0446\u0435\u0432\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F:","Increment:":"\u041A\u0440\u043E\u043A:","DC Transfer":"\u041F\u043E\u0441\u0442\u0456\u0439\u043D\u0435 \u0437\u043C\u0456\u0449\u0435\u043D\u043D\u044F:","Output:":"\u0412\u0438\u0445\u0456\u0434:","Source:":"\u0414\u0436\u0435\u0440\u0435\u043B\u043E:","DC op pnt":"\u0420\u043E\u0431\u043E\u0447\u0456 \u0442\u043E\u0447\u043A\u0438 \u043F\u043E \u043F\u043E\u0441\u0442\u0456\u0439\u043D\u043E\u043C\u0443 \u0441\u0442\u0440\u0443\u043C\u0443","Compute the DC operating point treating capacitances as opens and inductances as shorts":"\u041E\u0431\u0447\u0438\u0441\u043B\u0435\u043D\u043D\u044F \u0442\u043E\u0447\u043E\u043A \u043F\u043E \u043F\u043E\u0441\u0442\u0456\u0439\u043D\u043E\u043C\u0443 \u0441\u0442\u0440\u0443\u043C\u0443, \u0449\u043E \u0432\u0438\u043A\u043B\u044E\u0447\u0430\u044E\u0442\u044C \u043E\u0431\u0440\u0438\u0432 \u0454\u043C\u043D\u043E\u0441\u0442\u0435\u0439 \u0447\u0438 \u0437\u0430\u043A\u043E\u0440\u043E\u0447\u0435\u043D\u043D\u044F \u0456\u043D\u0434\u0443\u043A\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u0435\u0439","Active File":"\u0410\u043A\u0442\u0438\u0432\u043D\u0438\u0439 \u0444\u0430\u0439\u043B","Active Project":"\u0410\u043A\u0442\u0438\u0432\u043D\u0438\u0439 \u043F\u0440\u043E\u0435\u043A\u0442","Embed it in your html files.":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432 \u0432\u0430\u0448 html \u0444\u0430\u0439\u043B.","Share it by e-mail, IM, blog, etc.)":"\u041D\u0430\u0434\u0430\u0442\u0438 \u043F\u043E e-mail, ICQ, \u0431\u043B\u043E\u0433\u0430\u043C \u0442\u0430 \u0456\u043D.","BBCode (used by many online discussion forums)":"BB \u043A\u043E\u0434 (\u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0454\u0442\u044C\u0441\u044F \u043D\u0430 \u0431\u0430\u0433\u0430\u0442\u044C\u043E\u0445 \u043E\u043D\u043B\u0430\u0439\u043D \u0444\u043E\u0440\u0443\u043C\u0430\u0445)","HTML code":"HTML \u043A\u043E\u0434",Picture:"\u041C\u0430\u043B\u044E\u043D\u043E\u043A","QRCode (Share your schematic address by QRCode )":"QR \u043A\u043E\u0434 (\u0417\u0440\u043E\u0431\u0438\u0442\u0438 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F \u043D\u0430 \u0432\u0430\u0448\u0443 \u0441\u0445\u0435\u043C\u0443 \u0443 \u043F\u043B\u043E\u0449\u0438\u043D\u043D\u043E\u043C\u0443 QR \u043A\u043E\u0434\u0456)","Short Url":"\u041A\u043E\u0440\u043E\u0442\u043A\u0435 \u0456\u043D\u0442\u0435\u0440\u043D\u0435\u0442 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F","Share a copy of this document":"\u041D\u0430\u0434\u0430\u0442\u0438 \u043A\u043E\u043F\u0456\u044E \u0446\u044C\u043E\u0433\u043E \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0443",Readonly:"\u0422\u0456\u043B\u044C\u043A\u0438 \u0447\u0438\u0442\u0430\u043D\u043D\u044F",Editable:"\u0427\u0438\u0442\u0430\u043D\u043D\u044F/\u0417\u0430\u043F\u0438\u0441","Export your works":"\u0415\u043A\u0441\u043F\u043E\u0440\u0442 \u0432\u0430\u0448\u0438\u0445 \u0440\u043E\u0437\u0440\u043E\u0431\u043E\u043A","Export Option:":"\u041E\u043F\u0446\u0456\u0457 \u0435\u043A\u0441\u043F\u043E\u0440\u0442\u0443:","Zoom:":"\u0417\u0431\u0456\u043B\u044C\u0448\u0435\u043D\u043D\u044F:","Image Type:":"\u0422\u0438\u043F \u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F:","Qualify:":"\u042F\u043A\u0456\u0441\u0442\u044C:","0 means real size":"0 - \u0446\u0435 \u0434\u0456\u0439\u0441\u043D\u0456\u0439 \u0440\u043E\u0437\u043C\u0456\u0440","Merged layer":"\u041E\u0431'\u0454\u0434\u043D\u0430\u043D\u0438\u0439 \u0448\u0430\u0440","Separated layer":"\u0420\u043E\u0437\u0434\u0456\u043B\u0435\u043D\u0438\u0439 \u0448\u0430\u0440",Export:"\u0415\u043A\u0441\u043F\u043E\u0440\u0442",Mirror:"\u0414\u0437\u0435\u0440\u043A\u0430\u043B\u043E",TopLayer:"\u0412\u0435\u0440\u0445\u043D\u0456\u0439 \u0448\u0430\u0440",BottomLayer:"\u041D\u0438\u0436\u043D\u0456\u0439 \u0448\u0430\u0440",TopSilkLayer:"\u0412\u0435\u0440\u0445\u043D\u0456\u0439 \u0448\u043E\u0432\u043A\u043E\u0432\u0438\u0439 \u0448\u0430\u0440",BottomSilkLayer:"\u041D\u0438\u0436\u043D\u0456\u0439 \u0448\u043E\u0432\u043A\u043E\u0432\u0438\u0439 \u0448\u0430\u0440",Inner1:"\u0412\u043D\u0443\u0442\u0440\u0456\u0448\u043D\u0456\u0439 1",Inner2:"\u0412\u043D\u0443\u0442\u0440\u0456\u0448\u043D\u0456\u0439 2",Inner3:"\u0412\u043D\u0443\u0442\u0440\u0456\u0448\u043D\u0456\u0439 3",Inner4:"\u0412\u043D\u0443\u0442\u0440\u0456\u0448\u043D\u0456\u0439 4",Colour:"\u041A\u043E\u043B\u0456\u0440","Width:":"\u0422\u043E\u0432\u0449\u0438\u043D\u0430","Confirm Importing changes information":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438 \u0437\u043C\u0456\u043D\u0438 \u0432 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457 \u0449\u043E\u0434\u043E \u0456\u043C\u043F\u043E\u0440\u0442\u0430","Layer Options Settings":"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u043E\u043F\u0446\u0456\u0439 \u0448\u0430\u0440\u0443","Layers setting:":"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u0448\u0430\u0440\u0443:",Configured:"\u041D\u0430\u043B\u0430\u0448\u0442\u043E\u0432\u0430\u043D\u0438\u0439","Layer Name":"\u0406\u043C'\u044F \u0448\u0430\u0440\u0443",TopPasterLayer:"\u0412\u0435\u0440\u0445\u043D\u0456\u0439 \u0448\u0430\u0440 \u0437 \u043F\u0430\u0441\u0442\u0438",BottomPasterLayer:"\u041D\u0438\u0436\u043D\u0456\u0439 \u0448\u0430\u0440 \u0437 \u043F\u0430\u0441\u0442\u0438",TopSolderLayer:"\u0412\u0435\u0440\u0445\u043D\u0456\u0439 \u0437\u0430\u043B\u0443\u0436\u0435\u043D\u0438\u0439 \u0448\u0430\u0440",BottomSolderLayer:"\u041D\u0438\u0436\u043D\u0456\u0439 \u0437\u0430\u043B\u0443\u0436\u0435\u043D\u0438\u0439 \u0448\u0430\u0440",Ratlines:"\u0422\u043E\u0432\u0441\u0442\u0456 \u043B\u0456\u043D\u0456\u0457",BoardOutline:"\u041A\u043E\u043D\u0442\u0443\u0440 \u043F\u043B\u0430\u0442\u0438",All:"\u0412\u0441\u0456",Document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",Hole:"\u041E\u0442\u0432\u0456\u0440",DRCError:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430 \u0440\u043E\u0437\u0432\u0435\u0434\u0435\u043D\u043D\u044F",Setting:"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F","Drawing area":"\u0417\u043E\u043D\u0430 \u043C\u0430\u043B\u044E\u0432\u0430\u043D\u043D\u044F","Export area:":"\u0417\u043E\u043D\u0430 \u0435\u043A\u0441\u043F\u043E\u0440\u0442\u0430","PCB Design Manager":"\u041C\u0435\u043D\u0435\u0434\u0436\u0435\u0440 \u0441\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0445 \u043F\u043B\u0430\u0442","Create Files":"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432","Check your Gerber files carefully before sending them to the factory":"\u0420\u0435\u0442\u0435\u043B\u044C\u043D\u043E \u043F\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435 \u0432\u0430\u0448 Gerber \u0444\u0430\u0439\u043B, \u043F\u0435\u0440\u0435\u0434 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u043A\u043E\u044E \u0439\u043E\u0433\u043E \u043D\u0430 \u0437\u0430\u0432\u043E\u0434","Download free Gerber Viewer (gerbv)":"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0431\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u0438\u0439 \u043F\u0440\u0435\u0433\u043B\u044F\u0434\u0430\u0447 Gerber \u0444\u0430\u0439\u043B\u0456\u0432 (gerbv)","Design Rule Check":"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u044C \u043D\u043E\u0440\u043C \u0440\u043E\u0437\u0440\u043E\u0431\u043A\u0438 (DRC)",Item:"\u041F\u0443\u043D\u043A\u0442",Value:"\u0417\u043D\u0430\u0447\u0435\u043D\u043D\u044F",Unit:"\u0411\u043B\u043E\u043A","Track Width":"\u0422\u043E\u0432\u0449\u0438\u043D\u0430 \u0434\u043E\u0440\u0456\u0436\u043A\u0438","Track to Track":"\u0414\u043E\u0440\u0456\u0436\u043A\u0430 \u0434\u043E \u0434\u043E\u0440\u0456\u0436\u043A\u0438","Track to Pad":"\u0414\u043E\u0440\u0456\u0436\u043A\u0430 \u0434\u043E \u043F\u043B\u043E\u0449\u0438\u043D\u043A\u0438","Pad to Pad":"\u041F\u043B\u043E\u0449\u0438\u043D\u043A\u0430 \u0434\u043E \u043F\u043B\u043E\u0449\u0438\u043D\u043A\u0438","Hole to Hole":"\u041E\u0442\u0432\u0456\u0440 \u0434\u043E \u043E\u0442\u0432\u043E\u0440\u0443","Via Hole Size":"\u0420\u043E\u0437\u043C\u0456\u0440 \u043F\u0435\u0440\u0435\u0445\u0456\u0434\u043D\u043E\u0433\u043E \u043E\u0442\u0432\u043E\u0440\u0443","DRC results":"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 DRC","Update the symbol's package":"\u041F\u043E\u043D\u043E\u0432\u0438\u0442\u0438 \u043F\u0430\u043A\u0435\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432","Invalid Package":"\u041D\u0435\u0432\u0456\u0440\u043D\u0438\u0439 \u043F\u0430\u043A\u0435\u0442","The package's PAD number is different from the symbol's PIN number, e.g. the diode package's PAD numbers are [A,C] but the symbol's PIN numbers are [1,2]. You just need to change one to fit the other. It is case sensitive!":"\u041F\u0430\u043A\u0435\u0442\u0438 \u0437 \u043D\u043E\u043C\u0435\u0440\u0430\u043C\u0438 \u043F\u043B\u043E\u0449\u0438\u043D\u043E\u043A PAD \u043D\u0435 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0454 \u043D\u043E\u043C\u0435\u0440\u0430\u043C \u0432\u0438\u0432\u043E\u0434\u0456\u0432 PIN. \u041D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434: \u043F\u043B\u043E\u0449\u0438\u043D\u043A\u0438 \u0434\u043B\u044F \u0434\u0456\u043E\u0434\u0430 \u0446\u0435 [A,C], \u0430 \u043D\u043E\u043C\u0435\u0440\u0430 \u0432\u0438\u0432\u043E\u0434\u0456\u0432 [1,2]. \u0412\u0430\u043C \u043F\u043E\u0442\u0440\u0456\u0431\u043D\u043E \u0443\u0441\u0443\u043D\u0443\u0442\u0438 \u0446\u044E \u043D\u0435\u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u043D\u0456\u0441\u0442\u044C. \u041B\u0456\u0442\u0435\u0440\u0438 \u0447\u0443\u0442\u043B\u0438\u0432\u0456 \u0434\u043E \u0440\u0435\u0433\u0456\u0441\u0442\u0440\u0443!","Hotkey Setting":"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u0433\u0430\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0456\u0448","Document Type":"\u0442\u0438\u043F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430",Shortcut:"\u044F\u0440\u043B\u0438\u043A",Function:"\u0444\u0443\u043D\u043A\u0446\u0456\u044F",ALL:"\u0412\u0421\u0406",SCH:"\u0421\u0418\u041C\u0412","Rotate selected objects":"\u041E\u0431\u0435\u0440\u0442\u0430\u0442\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u0456 \u043E\u0431'\u0454\u043A\u0442\u0438","Scroll Or Move selected left":"\u0417\u0440\u0443\u0448\u0438\u0442\u0438 \u0430\u0431\u043E \u0432\u0438\u0431\u0440\u0430\u0442\u0438 \u0431\u0456\u043B\u044C\u0448\u0435 \u0437\u043B\u0456\u0432\u0430","Scroll or Move selected right":"\u0417\u0440\u0443\u0448\u0438\u0442\u0438 \u0430\u0431\u043E \u0432\u0438\u0431\u0440\u0430\u0442\u0438 \u0431\u0456\u043B\u044C\u0448\u0435 \u0437\u043F\u0440\u0430\u0432\u0430","Scroll or Move selected up":"\u0417\u0440\u0443\u0448\u0438\u0442\u0438 \u0430\u0431\u043E \u0432\u0438\u0431\u0440\u0430\u0442\u0438 \u0431\u0456\u043B\u044C\u0448\u0435 \u0437\u0432\u0435\u0440\u0445\u0443","Scroll or Move selected down":"\u0417\u0440\u0443\u0448\u0438\u0442\u0438 \u0430\u0431\u043E \u0432\u0438\u0431\u0440\u0430\u0442\u0438 \u0431\u0456\u043B\u044C\u0448\u0435 \u0437\u043D\u0438\u0437\u0443","Select All":"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0435","Cancel current drawing":"\u0421\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438 \u043F\u043E\u0442\u043E\u0447\u043D\u0435 \u043F\u0440\u043E\u043C\u0430\u043B\u044C\u043E\u0432\u0443\u0432\u0430\u043D\u043D\u044F",Save:"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438","Drag Tool":"\u0406\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442 \u043C\u0430\u043B\u044E\u0432\u0430\u043D\u043D\u044F","Draw Wire":"\u041D\u0430\u043C\u0430\u043B\u044E\u0432\u0430\u0442\u0438 \u043F\u0440\u043E\u0432\u0456\u0434\u043D\u0438\u043A","Draw Bus":"\u041D\u0430\u043C\u0430\u043B\u044E\u0432\u0430\u0442\u0438 \u0448\u0438\u043D\u0443",NetLabel:"\u041D\u0430\u0437\u0432\u0430 \u0448\u0438\u043D\u0438","NetFlag VCC":"\u041A\u043E\u043D\u0442\u0430\u043A\u0442 \u0448\u0438\u043D\u0438 \u0436\u0438\u0432\u043B\u0435\u043D\u043D\u044F","NetFlag GND":"\u041A\u043E\u043D\u0442\u0430\u043A\u0442 \u0448\u0438\u043D\u044B \u0417\u0435\u043C\u043B\u044F","NetFlag +5v":"\u041A\u043E\u043D\u0442\u0430\u043A\u0442 +5\u0412","Draw Polyline":"\u041D\u0430\u043C\u0430\u043B\u044E\u0432\u0430\u0442\u0438 \u043B\u0430\u043C\u0430\u043D\u0443 \u043B\u0456\u043D\u0456\u044E","Draw Polygon":"\u041D\u0430\u043C\u0430\u043B\u044E\u0432\u0430\u0442\u0438 \u043F\u043E\u043B\u0456\u0433\u043E\u043D","Draw Bezier":"\u041D\u0430\u043C\u0430\u043B\u044E\u0432\u0430\u0442\u0438 \u043A\u0440\u0438\u0432\u0443 \u0411\u0435\u0437'\u0454","Draw Arc":"\u041D\u0430\u043C\u0430\u043B\u044E\u0432\u0430\u0442\u0438 \u0434\u0443\u0433\u0443","Draw Rect":"\u041D\u0430\u043C\u0430\u043B\u044E\u0432\u0430\u0442\u0438 \u043F\u0440\u044F\u043C\u0443","Draw Ellipse":"\u041D\u0430\u043C\u0430\u043B\u044E\u0432\u0430\u0442\u0438 \u044D\u043B\u0456\u043F\u0441","Freehand Draw":"\u0412\u0456\u043B\u044C\u043D\u0435 \u043C\u0430\u043B\u044E\u0432\u0430\u043D\u043D\u044F","Draw Text":"\u041D\u0430\u043C\u0430\u043B\u044E\u0432\u0430\u0442\u0438 \u0442\u0435\u043A\u0441\u0442","Edit Selected Symbol":"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0439 \u0441\u0438\u043C\u0432\u043E\u043B","Draw Track":"\u041D\u0430\u043C\u0430\u043B\u044E\u0432\u0430\u0442\u0438 \u0434\u043E\u0440\u0456\u0436\u043A\u0443","Draw Circle":"\u041D\u0430\u043C\u0430\u043B\u044E\u0432\u0430\u0442\u0438 \u043A\u043E\u043B\u043E","Draw Dimension":"\u041D\u0430\u043C\u0430\u043B\u044E\u0432\u0430\u0442\u0438 \u0440\u043E\u0437\u043C\u0456\u0440\u0438","Draw Connect":"\u041D\u0430\u043C\u0430\u043B\u044E\u0432\u0430\u0442\u0438 \u0437'\u0454\u0434\u043D\u0430\u043D\u043D\u044F","Draw CopperArea":"\u041D\u0430\u043C\u0430\u043B\u044E\u0432\u0430\u0442\u0438 \u043F\u043B\u043E\u0449\u0438\u043D\u043A\u0443 \u043C\u0435\u0442\u0430\u043B\u0456\u0437\u0430\u0446\u0456\u0457","Change To TopLayer":"\u041F\u043E\u043C\u0456\u043D\u044F\u0442\u0438 \u0437 \u0432\u0435\u0440\u0445\u043D\u0456\u043C \u0448\u0430\u0440\u043E\u043C","Change To BottomLayer":"\u041F\u043E\u043C\u0456\u043D\u044F\u0442\u0438 \u0437 \u043D\u0438\u0436\u043D\u0456\u043C \u0448\u0430\u0440\u043E\u043C","Change To Inner1":"\u041F\u043E\u043C\u0456\u043D\u044F\u0442\u0438 \u0437 \u0432\u043D\u0443\u0442\u0440\u0456\u0448\u043D\u0456\u043C \u0448\u0430\u0440\u043E\u043C 1","Change To Inner2":"\u041F\u043E\u043C\u0456\u043D\u044F\u0442\u0438 \u0437 \u0432\u043D\u0443\u0442\u0440\u0456\u0448\u043D\u0456\u043C \u0448\u0430\u0440\u043E\u043C 2","Change To Inner3":"\u041F\u043E\u043C\u0456\u043D\u044F\u0442\u0438 \u0437 \u0432\u043D\u0443\u0442\u0440\u0456\u0448\u043D\u0456\u043C \u0448\u0430\u0440\u043E\u043C 3","Change To Inner4":"\u041F\u043E\u043C\u0456\u043D\u044F\u0442\u0438 \u0437 \u0432\u043D\u0443\u0442\u0440\u0456\u0448\u043D\u0456\u043C \u0448\u0430\u0440\u043E\u043C 4","Highlight Net":"\u041F\u0456\u0434\u0441\u0432\u0456\u0447\u0443\u0432\u0430\u043D\u043D\u044F \u0448\u0438\u043D\u0438","Place Pad":"\u041C\u0456\u0441\u0446\u0435 \u0434\u043B\u044F \u043F\u043B\u043E\u0449\u0438\u043D\u043A\u0438","Place Via":"\u041C\u0456\u0441\u0446\u0435 \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430",Measure:"\u0412\u0438\u043C\u0456\u0440\u044E\u0432\u0430\u043D\u043D\u044F","Change Routing Angle":"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043A\u0443\u0442 \u043F\u043E\u0432\u043E\u0440\u043E\u0442\u0443","Decrease Routing Width":"\u0417\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u0438 \u0448\u0438\u0440\u0438\u043D\u0443 \u0440\u043E\u0437\u0432\u0435\u0434\u0435\u043D\u043D\u044F","Increase Routing Width":"\u0417\u0431\u0456\u043B\u044C\u0448\u0438\u0442\u0438 \u0448\u0438\u0440\u0438\u043D\u0443 \u0440\u043E\u0437\u0432\u0435\u0434\u0435\u043D\u043D\u044F","Decrease Snap Size":"\u0417\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u0438 \u0440\u043E\u0437\u043C\u0456\u0440 \u043F\u0440\u0438\u0432'\u044F\u0437\u043A\u0438","Increase Snap Size":"\u0417\u0431\u0456\u043B\u044C\u0448\u0438\u0442\u0438 \u0440\u043E\u0437\u043C\u0456\u0440 \u043F\u0440\u0438\u0432'\u044F\u0437\u043A\u0438","Remove All Copper Area":"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0432\u0441\u0456 \u043F\u043B\u043E\u0449\u0438\u043D\u043A\u0438 \u043C\u0435\u0442\u0430\u043B\u0456\u0437\u0430\u0446\u0456\u0457","Rebuild All Copper Area":"\u041F\u0435\u0440\u0435\u0431\u0443\u0434\u0443\u0432\u0430\u0442\u0438 \u0432\u0441\u0456 \u043F\u043B\u043E\u0449\u0438\u043D\u043A\u0438 \u043C\u0435\u0442\u0430\u043B\u0456\u0437\u0430\u0446\u0456\u0457","New Project":"\u041D\u043E\u0432\u0438\u0439 \u043F\u0440\u043E\u0435\u043A\u0442",Modify:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438","Add sub part":"\u0414\u043E\u0434\u0430\u0442\u0438 \u043D\u043E\u0432\u0443 \u0447\u0430\u0441\u0442\u0438\u043D\u0443","Clone it":"\u041A\u043B\u043E\u043D\u0443\u0432\u0430\u0442\u0438","Please type a short summary!":"\u041D\u0430\u0434\u0440\u0443\u043A\u0443\u0439\u0442\u0435, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u043A\u043E\u0440\u043E\u0442\u043A\u0438\u0439 \u0437\u0432\u0456\u0442!","Support...":"\u041F\u0456\u0434\u0442\u0440\u0438\u043C\u043A\u0430...","A short summary":"\u041A\u043E\u0440\u043E\u0442\u043A\u0438\u0439 \u0437\u0432\u0456\u0442","Make sure your reports are clear and detailed":"\u041F\u0435\u0440\u0435\u043A\u043E\u043D\u0430\u0439\u0442\u0435\u0441\u044F, \u0449\u043E \u0412\u0430\u0448 \u0437\u0432\u0456\u0442 \u043A\u043E\u0440\u043E\u0442\u043A\u0438\u0439 \u0442\u0430 \u0434\u0435\u0442\u0430\u043B\u0456\u0437\u043E\u0432\u0430\u043D\u0438\u0439","Please visit our {0}Support Home{1} page for more information":"\u041F\u0440\u0435\u0439\u0434\u0456\u0442\u044C, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u043D\u0430 {0}\u0414\u043E\u043C\u0430\u0448\u043D\u044E \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0443 \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u043A\u0438{1}, \u0449\u043E\u0431 \u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 \u0431\u0456\u043B\u044C\u0448\u0435 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",Submit:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438","Verify the packages":"\u041F\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438 \u043F\u0430\u043A\u0435\u0442\u0438",Clone:"\u041A\u043B\u043E\u043D\u0443\u0432\u0430\u0442\u0438","Reload parts":"\u041F\u0435\u0440\u0435\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0431\u043B\u043E\u043A\u0438",Layers:"\u0428\u0430\u0440\u0438","Language:":"\u041C\u043E\u0432\u0430:","Display Name:":"\u0412\u0456\u0434\u0442\u0432\u043E\u0440\u044E\u0432\u0430\u043D\u0435 \u0456\u043C'\u044F:","HotKey Sync:":"\u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0433\u0430\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0456\u0448:","Document Recovery Setting:":"\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F \u0440\u0435\u0437\u0435\u0440\u0432\u0443\u0432\u0430\u043D\u043D\u044F:","Maximum backup level:":"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0438\u0439 \u0440\u0456\u0432\u0435\u043D\u044C \u0440\u0435\u0437\u0435\u0440\u0432\u0443\u0432\u0430\u043D\u043D\u044F:","Auto backup(minutes):":"\u0410\u0432\u0442\u043E\u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F (\u0443 \u0445\u0432\u0438\u043B\u0438\u043D\u0430\u0445)","Save to Server":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u043D\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0456","Load from Server":"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0437 \u0441\u0435\u0440\u0432\u0435\u0440\u0430","Style:":"\u0421\u0442\u0438\u043B\u044C:","Picture:":"\u041C\u0430\u043B\u044E\u043D\u043E\u043A:","Pin Names:":"\u041D\u0430\u0437\u0432\u0438 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u0456\u0432:",Annotate:"\u0410\u0432\u0442\u043E\u0440\u0441\u0442\u0432\u043E",Scope:"\u0421\u0444\u0435\u0440\u0430 \u0437\u0430\u0441\u0442\u043E\u0441\u0443\u0432\u0430\u043D\u043D\u044F","Active Schematic only":"\u0422\u0456\u043B\u044C\u043A\u043E \u0430\u043A\u0442\u0438\u0432\u043D\u0430 \u0441\u0445\u0435\u043C\u0430","All Opened Schematics":"\u0412\u0441\u0456 \u043E\u0442\u043A\u0440\u044B\u0442\u044B\u0435 \u0441\u0445\u0435\u043C\u044B",Method:"\u041C\u0435\u0442\u043E\u0434","Re-annotate all":"\u041F\u0440\u0438\u0441\u0432\u043E\u0457\u0442\u0438 \u0430\u0432\u0442\u043E\u0440\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u0432\u0441\u0456\u0445","Keep existing annotation":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0456\u0441\u043D\u0443\u044E\u0447\u0435 \u0430\u0432\u0442\u043E\u0440\u0441\u0442\u0432\u043E",Direction:"\u041D\u0430\u043F\u0440\u044F\u043C\u043E\u043A",Rows:"\u0420\u044F\u0434\u043A\u0456\u0432",Cols:"\u0421\u0442\u043E\u0432\u0431\u0446\u0456\u0432",Reset:"\u0417\u043A\u0438\u0434\u0430\u043D\u043D\u044F","Order...":"\u0417\u0430\u043C\u043E\u0432\u043B\u0435\u043D\u043D\u044F...","Order your PCB from EasyEDA":"\u0417\u0430\u043C\u043E\u0432\u0438\u0442\u0438 \u0432\u0430\u0448\u0443 \u043F\u043B\u0430\u0442\u0443 \u0437 EasyEDA","PCB Qty.":"\u041A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u043F\u043B\u0430\u0442","PCB Thickness":"\u0422\u043E\u0432\u0449\u0438\u043D\u0430 \u043F\u043B\u0430\u0442\u0438","PCB Dimension":"\u0420\u043E\u0437\u043C\u0456\u0440 \u043F\u043B\u0430\u0442\u0438","Automatic calculation":"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u043D\u0438\u0439 \u0440\u043E\u0437\u0440\u0430\u0445\u0443\u043D\u043E\u043A","PCB Color":"\u041A\u043E\u043B\u0456\u0440 \u043F\u043B\u0430\u0442\u0438",Green:"\u0417\u0435\u043B\u0435\u043D\u0438\u0439",White:"\u0411\u0456\u043B\u0438\u0439",Blue:"\u0421\u0438\u043D\u0456\u0439",Red:"\u0427\u0435\u0440\u0432\u043E\u043D\u0438\u0439",Yellow:"\u0416\u0435\u0432\u0442\u0438\u0439",Black:"\u0427\u043E\u0440\u043D\u0438\u0439","Surface Finish":"\u041E\u0431\u0440\u043E\u0431\u043A\u0430 \u043F\u043E\u0432\u0435\u0440\u0445\u043D\u0456",Hasl:"\u041F\u0440\u0438\u043F\u0456\u0439","Hasl(Lead Free)":"\u041F\u0440\u0438\u043F\u0456\u0439 (\u0431\u0435\u0437 \u0441\u0432\u0438\u043D\u0446\u044E)","Open Project":"\u0412\u0456\u0434\u043A\u0440\u0438\u0442\u0438\u0439 \u043F\u0440\u043E\u0435\u043A\u0442","E-Test":"\u0415\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u043D\u0456 \u0432\u0438\u043F\u0440\u043E\u0431\u0443\u0432\u0430\u043D\u043D\u044F","Shipping Cost":"\u0412\u0430\u0440\u0442\u0456\u0441\u0442\u044C \u043F\u0435\u0440\u0435\u0441\u0438\u043B\u043A\u0438","Cost Estimate":"\u041A\u043E\u0448\u0442\u043E\u0440\u0438\u0441 \u0432\u0438\u0442\u0440\u0430\u0442","Actual cost will be confirmed by email.":"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u0430 \u0432\u0430\u0440\u0442\u0456\u0441\u0442\u044C \u043F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0435\u043D\u0430 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u044E \u043F\u043E\u0448\u0442\u043E\u044E","Shipping information":"\u0406\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044F \u043F\u0440\u043E \u043F\u0435\u0440\u0435\u0441\u0438\u043B\u043A\u0443",Address:"\u0410\u0434\u0440\u0435\u0441\u0430","ZIP/Post code":"\u041F\u043E\u0447\u0442\u043E\u0432\u0438\u0439 \u0456\u043D\u0434\u0435\u043A\u0441",City:"\u041C\u0456\u0441\u0442\u043E",Country:"\u041A\u0440\u0430\u0457\u043D\u0430","Tel.":"\u0422\u0435\u043B\u0435\u0444\u043E\u043D","After filling out the form above, we will email you with (i) the results of the design rule check, (ii) a quote and (iii) a payment link using Paypal. Shipping is normally one week from receipt of payment.":"\u041F\u0456\u0441\u043B\u044F \u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u043D\u044F \u0432\u043A\u0430\u0437\u0430\u043D\u043E\u0457 \u0432\u0438\u0449\u0435 \u0444\u043E\u0440\u043C\u0438, \u043C\u0438 \u0432\u0438\u0448\u043B\u0435\u043C\u043E \u0412\u0430\u043C: (I) \u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0432\u0456\u0440\u043A\u0438 \u043F\u0440\u043E\u0435\u043A\u0442\u043D\u0438\u0445 \u043D\u043E\u0440\u043C, (II) \u043A\u0432\u043E\u0442\u0438 \u0456 (III) \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F \u0434\u043B\u044F \u043E\u043F\u043B\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 Paypal. \u0414\u043E\u0441\u0442\u0430\u0432\u043A\u0430, \u043A\u0430\u043A \u043F\u0440\u0430\u0432\u0438\u043B\u043E, \u0437\u0434\u0456\u0439\u0441\u043D\u044E\u0454\u0442\u044C\u0441\u044F \u0447\u0435\u0440\u0435\u0437 \u0442\u0438\u0436\u0434\u0435\u043D\u044C \u043F\u0456\u0441\u043B\u044F \u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u043D\u044F \u043E\u043F\u043B\u0430\u0442\u0438.","Restore All Default Shortcuts":"\u0412\u0456\u0434\u043D\u043E\u0432\u0438\u0442\u0438 \u0432\u0441\u0456 \u044F\u0440\u043B\u0438\u043A\u0438 \u0437\u0430 \u0437\u0430\u043C\u043E\u0432\u0447\u0443\u0432\u0430\u043D\u043D\u044F\u043C","Save Changes":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0437\u043C\u0456\u043D\u0438","To connect electrical elements, please use Wire (W hotkey) and not Line (L hotkey).":"\u0414\u043B\u044F \u0437'\u0454\u0434\u043D\u0430\u043D\u043D\u044F \u0435\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u043D\u0438\u0445 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0456\u0432, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0439\u0442\u0435 \u041F\u0440\u043E\u0432\u0456\u0434 (\u043A\u043B\u0430\u0432\u0456\u0448\u0430 W) \u0456 \u043D\u0435 \u041B\u0456\u043D\u0456\u044F (\u043A\u043B\u0430\u0432\u0456\u0448\u0430 L).",Confirmation:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0435\u043D\u043D\u044F",Alert:"\u0422\u0440\u0438\u0432\u043E\u0433\u0430",Information:"\u0406\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044F",information:"\u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044F",Prompt:"\u041F\u0456\u0434\u043A\u0430\u0437\u043A\u0430",Error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",error:"\u043F\u043E\u043C\u0438\u043B\u043A\u0430","error!":"\u043F\u043E\u043C\u0438\u043B\u043A\u0430!",Warning:"\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u0436\u0435\u043D\u043D\u044F","Imported ok!":"\u0406\u043C\u043F\u043E\u0440\u0442 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043E!","Some changes have not been saved.":"\u0414\u0435\u044F\u043A\u0456 \u0437\u043C\u0456\u043D\u0438 \u043D\u0435 \u0431\u0443\u043B\u043E \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043E.","Your file hasn't been saved. Are you sure you want to close it?":"\u0412\u0430\u0448 \u0444\u0430\u0439\u043B \u043D\u0435 \u0431\u0443\u043B\u043E \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043E. \u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456, \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0439\u043E\u0433\u043E \u0437\u0430\u043A\u0440\u0438\u0442\u0438?","load failure !":"\u043F\u043E\u043C\u0438\u043B\u043A\u0430 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F !","error info":"\u0456\u043D\u0444. \u043F\u0440\u043E \u043F\u043E\u043C\u0438\u043B\u043A\u0443","error information":"\u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044F \u043F\u0440\u043E \u043F\u043E\u043C\u0438\u043B\u043A\u0443","Guest can't create a new project. Please login!":"\u0413\u0456\u0441\u0442\u044C \u043D\u0435 \u043C\u043E\u0436\u0435 \u0441\u0442\u0432\u043E\u0440\u044E\u0432\u0430\u0442\u0438 \u043D\u043E\u0432\u0456 \u043F\u0440\u043E\u0435\u043A\u0442\u0438, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0437\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0439\u0442\u0435\u0441\u044F!","Please create a project before you do this!":"\u0411\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0441\u0442\u0432\u043E\u0440\u0456\u0442\u044C \u043F\u0440\u043E\u0435\u043A\u0442, \u043F\u0435\u0440\u0435\u0434 \u0442\u0438\u043C \u044F\u043A \u0437\u0440\u043E\u0431\u0438\u0442\u0438 \u0446\u0435!","Add Part success":"\u0414\u043E\u0434\u0430\u0432\u0430\u043D\u043D\u044F \u0431\u043B\u043E\u043A\u0443 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043E","Click the new part and then edit it !":"\u0421\u0442\u0432\u043E\u0440\u0456\u0442\u044C \u043D\u043E\u0432\u0438\u0439 \u0431\u043B\u043E\u043A, \u0430 \u043F\u043E\u0442\u0456\u043C \u0440\u0435\u0434\u0430\u0433\u0443\u0439\u0442\u0435 \u0439\u043E\u0433\u043E !","Delete my work":"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0432\u043B\u0430\u0441\u043D\u0456 \u0440\u043E\u0437\u0440\u043E\u0431\u043A\u0438","Do you confirm this?":"\u0412\u0438 \u0437\u0433\u0456\u0434\u043D\u0456 \u0437 \u0446\u0438\u043C?","Successfully deleted!":"\u0423\u0441\u043F\u0456\u0448\u043D\u043E \u0432\u0438\u0434\u0430\u043B\u0435\u043D\u043E !","Cloning success!":"\u041A\u043B\u043E\u043D\u0443\u0432\u0430\u043D\u043D\u044F \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043E !","Your title is too short!":"\u0432\u0430\u0448\u0430 \u043D\u0430\u0437\u0432\u0430 \u0437\u0430\u043D\u0430\u0434\u0442\u043E \u043A\u043E\u0440\u043E\u0442\u043A\u0430!","Remove this part":"\u0432\u0438\u0434\u0438\u043B\u0438\u0442\u0438 \u0446\u044E \u0447\u0430\u0441\u0442\u0438\u043D\u0443","Find and Jump to ...":"\u0417\u043D\u0430\u0439\u0442\u0438 \u0442\u0430 \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u0434\u043E...","Please type the prefix, such as U1, R1, C1":"\u0411\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u043D\u0430\u0434\u0440\u0443\u043A\u0443\u0439\u0442\u0435 \u043F\u0440\u0435\u0444\u0456\u043A\u0441, \u0442\u0438\u043F\u0443 U1,R1,C1","Zoom as 1:1, you can print it and then create artwork for etching the PCB.":"\u0417\u0431\u0456\u043B\u044C\u0448\u0435\u043D\u043D\u044F 1:1, \u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u043D\u0430\u0434\u0440\u0443\u043A\u0443\u0432\u0430\u0442\u0438 \u0439\u043E\u0433\u043E, \u0442\u0430 \u0437\u0440\u043E\u0431\u0438\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D \u0434\u043B\u044F \u0442\u0440\u0430\u0432\u043B\u0456\u043D\u043D\u044F \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u043E\u0457 \u043F\u043B\u0430\u0442\u0438.","Exporting your works!":"\u0412\u0430\u0448\u0456 \u0440\u043E\u0437\u0440\u043E\u0431\u043A\u0438 \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u043E\u0432\u0430\u043D\u043E!","Guests can't import a file. Please login!":"\u0413\u043E\u0441\u0442\u0456 \u043D\u0435 \u043C\u043E\u0436\u0443\u0442\u044C \u0456\u043C\u043F\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0444\u0430\u0439\u043B\u0438, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0437\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0439\u0442\u0435\u0441\u044C!","Please create a project before you import a file!":"\u0411\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0441\u0442\u0432\u043E\u0440\u0456\u0442\u044C \u043F\u0440\u043E\u0435\u043A\u0442, \u043F\u0435\u0440\u0448 \u043D\u0456\u0436 \u0456\u043C\u043F\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0444\u0430\u0439\u043B!","Import your LTspice file!":"\u0406\u043C\u043F\u043E\u0440\u0442 \u0432\u0430\u0448\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0456 LTspice!","Saved successfully!":"\u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043E !","Can not place parts into this document.":"\u0412 \u0446\u044C\u043E\u043C\u0443 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0456 \u043D\u0435\u043C\u043E\u0436\u043B\u0438\u0432\u043E \u0440\u043E\u0437\u043C\u0456\u0449\u0443\u0432\u0430\u0442\u0438 \u0431\u043B\u043E\u043A\u0438.","User Package":"\u041F\u0430\u043A\u0435\u0442 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","System Package":"\u0441\u0438\u0441\u0442\u0435\u043C\u043D\u0438\u0439 \u043F\u0430\u043A\u0435\u0442","File error":"\u041F\u043E\u043C\u0438\u043B\u043A\u0430 \u0444\u0430\u0439\u043B\u0430","Please save your file first!":"\u0421\u043F\u043E\u0447\u0430\u0442\u043A\u0443 \u0437\u0431\u0435\u0440\u0435\u0436\u0456\u0442\u044C, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0432\u0430\u0448 \u0444\u0430\u0439\u043B!","Email address is too short!":"\u0410\u0434\u0440\u0435\u0441\u0430 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u044B \u0437\u0430\u043D\u0430\u0434\u0442\u043E \u043A\u043E\u0440\u043E\u0442\u043A\u0430!","You have not selected a file to upload.":"\u0412\u0438 \u043D\u0435 \u043E\u0431\u0440\u0430\u043B\u0438 \u0444\u0430\u0439\u043B \u0434\u043B\u044F \u0432\u0438\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F.",Update:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0438","No changes":"\u0431\u0435\u0437 \u0437\u043C\u0456\u043D","PCB is the same as SCH!":"\u0414\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0430 \u043F\u043B\u0430\u0442\u0430 \u0442\u0435 \u0436 \u0441\u0430\u043C\u0435 \u0449\u043E \u0439 \u0441\u0445\u0435\u043C\u0430!","Only public files can be shared":"\u041D\u0430\u0434\u0430\u0432\u0430\u0442\u0438 \u043C\u043E\u0436\u043B\u0438\u0432\u043E \u0442\u0456\u043B\u044C\u043A\u0438 \u043F\u0443\u0431\u043B\u0456\u0447\u043D\u0456 \u0444\u0430\u0439\u043B\u0438","Conversion to PCB has failed!":"\u041A\u043E\u043D\u0432\u0435\u0440\u0442\u0430\u0446\u0456\u044F \u0432 \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0443 \u043F\u043B\u0430\u0442\u0443 \u043D\u0435 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043E!","Your username is too short!":"\u0412\u0430\u0448\u0435 \u0456\u043C'\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0437\u0430\u043D\u0430\u0434\u0442\u043E \u043A\u043E\u0440\u043E\u0442\u043A\u0435!","Your password is too short, it must be more than 6 characters!":"\u0412\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C \u0437\u0430\u043D\u0430\u0434\u0442\u043E \u043A\u043E\u0440\u043E\u0442\u043A\u0438\u0439, \u0432\u0456\u043D \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0456\u0441\u0442\u0438\u0442\u0438 \u043D\u0435 \u043C\u0435\u043D\u0448 \u043D\u0456\u0436 6 \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432!","Conflicting shortcut:":"\u041A\u043E\u043D\u0444\u043B\u0456\u043A\u0442 \u044F\u0440\u043B\u0438\u043A\u0456\u0432:","There is an empty PCB file. Please first run Convert Project To PCB... from the schematic":"\u0424\u0430\u0439\u043B \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u043E\u0457 \u043F\u043B\u0430\u0442\u0438 \u043F\u043E\u0440\u043E\u0436\u043D\u0456\u0439. \u0421\u043F\u043E\u0447\u0430\u0442\u043A\u0443 \u0432\u0438\u043A\u043E\u043D\u0430\u0439\u0442\u0435, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u041A\u043E\u043D\u0432\u0435\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u043F\u0440\u043E\u0435\u043A\u0442 \u0432 \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0443 \u043F\u043B\u0430\u0442\u0443... \u0437\u0456 \u0441\u0445\u0435\u043C\u0438","This file has been modified, are you sure you want to run this simulation before saving it first?":"\u0426\u0435\u0439 \u0444\u0430\u0439\u043B \u0431\u0443\u043B\u043E \u0437\u043C\u0456\u043D\u0435\u043D\u043E, \u0412\u0438 \u0443\u043F\u0435\u0432\u043D\u0435\u043D\u0456 \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0432\u0438\u043A\u043E\u043D\u0430\u0442\u0438 \u043C\u043E\u0434\u0435\u043B\u044E\u0432\u0430\u043D\u043D\u044F? \u041C\u043E\u0436\u0435 \u0441\u043F\u043E\u0447\u0430\u0442\u043A\u0443 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0439\u043E\u0433\u043E?","Please enter the Maximum Timestep!":"\u0411\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0438\u0439 \u0447\u0430\u0441\u043E\u0432\u0438\u0439 \u043A\u0440\u043E\u043A!","Please enter the Stop Time!":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0447\u0430\u0441 \u0437\u0443\u043F\u0438\u043D\u043A\u0438!","All of these fields are needed.":"\u0423\u0441\u0456 \u0446\u0456 \u043F\u043E\u043B\u044F \u043D\u0435\u043E\u0431\u0445\u0456\u0434\u043D\u043E \u0437\u0430\u043F\u043E\u0432\u043D\u0438\u0442\u0438.","Either your spice netlist is too big or the server is busy. Please try again later.":"\u0412\u0432\u0435\u0434\u0435\u043D\u0438\u0439 \u0412\u0430\u043C\u0438 \u0441\u043F\u0438\u0441\u043E\u043A \u0437'\u0454\u0434\u043D\u0430\u043D\u043D\u044C \u0437\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0438\u0439, \u0430\u0431\u043E \u0436 \u0441\u0435\u0440\u0432\u0435\u0440 \u0437\u0430\u0439\u043D\u044F\u0442\u0438\u0439. \u0411\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0441\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u0456\u0437\u043D\u0456\u0448\u0435.","Your spice netlist is too big! Try breaking your circuit into smaller simulatable blocks.":"\u0412\u0430\u0448 \u0441\u043F\u0438\u0441\u043E\u043A \u0437'\u0454\u0434\u043D\u0430\u043D\u043D\u044C \u0437\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0438\u0439! \u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0440\u043E\u0437\u0434\u0456\u043B\u0438\u0442\u0438 \u0432\u0430\u0448\u0443 \u0441\u0445\u0435\u043C\u0443 \u043D\u0430 \u0431\u0456\u043B\u044C\u0448 \u0434\u0440\u0456\u0431\u043D\u0456 \u0431\u043B\u043E\u043A\u0438 \u0434\u043B\u044F \u043C\u043E\u0434\u0435\u043B\u044E\u0432\u0430\u043D\u043D\u044F.","Too many users in simulation. Please try again later!":"\u0414\u0443\u0436\u0435 \u0431\u0430\u0433\u0430\u0442\u043E \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0456\u0432 \u0432\u0438\u043A\u043E\u043D\u0443\u044E\u0442\u044C \u043C\u043E\u0434\u0435\u043B\u044E\u0432\u0430\u043D\u043D\u044F. \u0411\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u043F\u043E\u0432\u0442\u043E\u0440\u0456\u0442\u044C \u0441\u043F\u0440\u043E\u0431\u0443 \u043F\u0456\u0437\u043D\u0456\u0448\u0435.","Your simulation results are too large! Try reducing the total simulation time (Stop Time - Start Time), increasing the maximum time step, removing some of your probes or breaking your circuit into smaller simulatable blocks.":"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0438 \u0432\u0430\u0448\u043E\u0433\u043E \u043C\u043E\u0434\u0435\u043B\u044E\u0432\u0430\u043D\u043D\u044F \u0437\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0456. \u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0437\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u0438 \u0437\u0430\u0433\u0430\u043B\u044C\u043D\u0438\u0439 \u0447\u0430\u0441 \u043C\u043E\u0434\u0435\u043B\u044E\u0432\u0430\u043D\u043D\u044F (\u0427\u0430\u0441 \u0437\u0430\u043A\u0456\u043D\u0447\u0435\u043D\u043D\u044F - \u0427\u0430\u0441 \u043F\u043E\u0447\u0430\u0442\u043A\u0443), \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E \u0437\u0431\u0456\u043B\u044C\u0448\u0456\u0442\u044C \u0447\u0430\u0441\u043E\u0432\u0438\u0439 \u043A\u0440\u043E\u043A, \u0437\u043C\u0435\u043D\u044C\u0448\u0456\u0442\u044C \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C\u043D\u0438\u0445 \u0442\u043E\u0447\u043E\u043A, \u0430\u0431\u043E \u0440\u043E\u0437\u0434\u0456\u043B\u0456\u0442\u044C \u0441\u0445\u0435\u043C\u0443 \u043D\u0430 \u0431\u0456\u043B\u044C\u0448 \u0434\u0440\u0456\u0431\u043D\u0456 \u0447\u0430\u0441\u0442\u0438\u043D\u0438 \u0434\u043B\u044F \u043C\u043E\u0434\u0435\u043B\u044E\u0432\u0430\u043D\u043D\u044F.","Demo accounts don't support simulation, please login first":"\u0414\u0435\u043C\u043E\u043D\u0441\u0442\u0440\u0430\u0446\u0456\u0439\u043D\u0438\u0439 \u0430\u043A\u043A\u0430\u0443\u043D\u0442 \u043D\u0435 \u043F\u0435\u0440\u0435\u0434\u0431\u0430\u0447\u0430\u0454 \u043C\u043E\u0434\u0435\u043B\u044E\u0432\u0430\u043D\u043D\u044F, \u0441\u043F\u043E\u0447\u0430\u0442\u043A\u0443 \u043F\u043E\u0442\u0440\u0456\u0431\u043D\u043E \u0437\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044C","Some unexpected error has happened, please contact us.(http://easyeda.com/cms_files_about-us.htm#ContactUs)":"\u0422\u0440\u0430\u043F\u0438\u043B\u0430\u0441\u044F \u043D\u0435\u043F\u0435\u0440\u0435\u0434\u0431\u0430\u0447\u0435\u043D\u0430 \u043F\u043E\u043C\u0438\u043B\u043A\u0430, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u0442\u0435 \u043F\u043E \u0446\u0435 \u043D\u0430 (http://easyeda.com/cms_files_about-us.htm#ContactUs)","The schematic is showing errors, please check the simulation report carefully!":"\u0421\u0445\u0435\u043C\u0430 \u043F\u043E\u043A\u0430\u0437\u0443\u0454 \u043F\u043E\u043C\u0438\u043B\u043A\u0443, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u043F\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435 \u0431\u0456\u043B\u044C\u0448 \u0440\u0435\u0442\u0435\u043B\u044C\u043D\u043E \u0437\u0432\u0456\u0442 \u0437 \u043C\u043E\u0434\u0435\u043B\u044E\u0432\u0430\u043D\u043D\u044F","Simulation too long, maybe your schematic is too complex.":"\u041C\u043E\u0434\u0435\u043B\u044E\u0432\u0430\u043D\u043D\u044F \u0437\u0430\u0442\u044F\u0433\u043B\u043E\u0441\u044F \u0443 \u0447\u0430\u0441\u0456, \u043C\u043E\u0436\u0435 \u0432\u0430\u0448\u0430 \u0441\u0445\u0435\u043C\u0430 \u0437\u0430\u043D\u0430\u0434\u0442\u043E \u0441\u043A\u043B\u0430\u0434\u043D\u0430.","Load your preferences success!":"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F \u0443\u043F\u043E\u0434\u043E\u0431\u0430\u043D\u043D\u044C \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043E !","Save preferences successfully!":"\u0417\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F \u0443\u043F\u043E\u0434\u043E\u0431\u0430\u043D\u043D\u044C \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043E !","Update subckt ok!":"\u043E\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u0431\u043B\u043E\u043A\u0430 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043E !","Please type a new file name":"\u0411\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u043D\u0430\u0431\u0435\u0440\u0456\u0442\u044C \u0456\u043C'\u044F \u043D\u043E\u0432\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0430","Create file failure!":"\u0441\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0430 \u043D\u0435 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043E!","Schematics and PCBs can't be imported under My Libs folder, please choose a different folder":"\u0421\u0445\u0435\u043C\u0443 \u0456 \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0443 \u043F\u043B\u0430\u0442\u0443 \u043D\u0435 \u043C\u043E\u0436\u043B\u0438\u0432\u043E \u0456\u043C\u043F\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0434\u043E \u043F\u0430\u043F\u043A\u0438 My Libs, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u043E\u0431\u0435\u0440\u0456\u0442\u044C \u0456\u043D\u0448\u0448\u0443 \u043F\u0430\u043F\u043A\u0443","Libraries to be imported under My Libs folder":"\u0411\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0438 \u0456\u043C\u043F\u043E\u0440\u0442\u043E\u0432\u0430\u043D\u043E \u0434\u043E \u043F\u0430\u043F\u043A\u0438 My Libs","Please choose only the libraries needed":"\u0411\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u043E\u0431\u0435\u0440\u0456\u0442\u044C \u0442\u0456\u043B\u044C\u043A\u0438 \u043D\u0435\u043E\u0431\u0445\u0456\u0434\u043D\u0456 \u0431\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0438","Maximum import is 200 libs at one time!":"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0430 \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u043E\u043F\u0435\u0440\u0430\u0446\u0456\u0439 \u0456\u043C\u043F\u043E\u0440\u0442\u0443 \u0441\u043A\u043B\u0430\u0434\u0430\u0454 200 \u0431\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A \u0437\u0430 \u0440\u0430\u0437!","Import Libraries success":"\u0406\u043C\u043F\u043E\u0440\u0442 \u0431\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043E","You libraries will be found under the My Libs folder":"\u041F\u043E\u0448\u0443\u043A \u0431\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A \u0431\u0443\u0434\u0435 \u043F\u0440\u043E\u0432\u043E\u0434\u0438\u0442\u0438\u0441\u044C \u0443 \u043F\u0430\u043F\u0446\u0456 My Libs","Add to My Libs":"\u0414\u043E\u0434\u0430\u0442\u0438 \u0434\u043E My Libs","No items have been checked!":"\u041D\u0435 \u043E\u0431\u0440\u0430\u043D\u043E \u043F\u0443\u043D\u043A\u0442\u0438 \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0432\u0456\u0440\u043A\u0438!","Nothing was found, please create it for yourself":"\u041D\u0456\u0447\u043E\u0433\u043E \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E, \u0441\u0442\u0432\u043E\u0440\u0456\u0442\u044C \u0439\u043E\u0433\u043E, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0441\u0430\u043C\u043E\u0441\u0442\u0456\u0439\u043D\u043E","Search result":"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 \u043F\u043E\u0448\u0443\u043A\u0443","At least 3 characters needed":"\u041D\u0435\u043E\u0431\u0445\u0456\u0434\u043D\u043E \u044F\u043A \u043C\u0456\u043D\u0456\u043C\u0443\u043C 3 \u0441\u0438\u043C\u0432\u043E\u043B\u0438","Add to my Favorite Parts":"\u0414\u043E\u0434\u0430\u0442\u0438 \u0434\u043E \u043C\u043E\u0457\u0445 \u043E\u0431\u0440\u0430\u043D\u0438\u0445 \u0431\u043B\u043E\u043A\u0456\u0432","Added it OK. Please find it in your Favorite Parts":"\u0414\u043E\u0434\u0430\u0432\u0430\u043D\u043D\u044F \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043E. \u0411\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0448\u0443\u043A\u0430\u0439\u0442\u0435 \u0439\u043E\u0433\u043E \u0443 \u0441\u0432\u043E\u0457\u0445 \u043E\u0431\u0440\u0430\u043D\u0438\u0445 \u0431\u043B\u043E\u043A\u0430\u0445","Please select its parent node":"\u043E\u0431\u0435\u0440\u0456\u0442\u044C, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0431\u0430\u0442\u044C\u043A\u0456\u0432\u0441\u044C\u043A\u0438\u0439 \u0432\u0443\u0437\u043E\u043B","Libraries can not be exported as active project pdf.":"\u0411\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0438 \u043D\u0435 \u043C\u043E\u0436\u043B\u0438\u0432\u043E \u0435\u043A\u0441\u043F\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u044F\u043A \u0430\u043A\u0442\u0438\u0432\u043D\u0456 \u043F\u0440\u043E\u0435\u043A\u0442\u0438 pdf.","Circuit does not have a GND,":"\u0421\u0445\u0435\u043C\u0430 \u043D\u0435 \u043C\u0430\u0454 \u0432\u0438\u0432\u043E\u0434\u0430 \u0417\u0435\u043C\u043B\u0456 GND,","Circuit does not have a probe,":"\u0441\u0445\u0435\u043C\u0430 \u043D\u0435 \u043C\u0430\u0454 \u0432\u0438\u043C\u0456\u0440\u044E\u0432\u0430\u043B\u044C\u043D\u0438\u0445 \u0442\u043E\u0447\u043E\u043A,","Make sure your pin numbers are even numbers":"\u041F\u0435\u0440\u0435\u043A\u043E\u043D\u0430\u0439\u0442\u0435\u0441\u044F, \u0449\u043E \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0432\u0438\u0432\u043E\u0434\u0456\u0432 \u0454 \u043F\u0430\u0440\u043D\u0438\u043C \u0447\u0438\u0441\u043B\u043E\u043C","Prefix Conflict":"\u041A\u043E\u043D\u0444\u043B\u0456\u043A\u0442 \u043F\u0440\u0435\u0444\u0456\u043A\u0441\u0430","There are some invalid packages, are you sure?":"\u0414\u0435\u044F\u043A\u0456 \u043A\u043E\u0440\u043F\u0443\u0441\u0438 \u043D\u0435\u0432\u0456\u0440\u043D\u0456, \u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456?","Invalid Characters, library only allows [0-9a-zA-Z-_]":"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0441\u0438\u043C\u0432\u043E\u043B\u0438, \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u0443\u044E\u0442\u044C\u0441\u044F \u0442\u0456\u043B\u044C\u043A\u0438 \u0437 \u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D\u0443 [0-9a-zA-Z-_]","Annotation success":"\u0410\u043D\u043E\u0442\u0430\u0446\u0456\u044E \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043E","If you accept this annotation operation, please save your files. If not, close your files without saving.":"\u042F\u043A\u0449\u043E \u0412\u0438 \u043F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0443\u0454\u0442\u0435 \u0446\u044E \u0430\u043D\u043E\u0442\u0430\u0446\u0456\u044E, \u0442\u043E \u0437\u0431\u0435\u0440\u0435\u0436\u0456\u0442\u044C, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0432\u0430\u0448 \u0444\u0430\u0439\u043B. \u042F\u043A\u0449\u043E \u0436 \u043D\u0456, \u0442\u043E \u0437\u0430\u043A\u0440\u0438\u0439\u0442\u0435 \u0439\u043E\u0433\u043E \u0431\u0435\u0437 \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F.","This file can't be saved under libs project. Please choose other project or create a new project":"\u0426\u0435\u0439 \u0444\u0430\u0439\u043B \u043D\u0435\u043C\u043E\u0436\u043B\u0438\u0432\u043E \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0443 \u044F\u043A\u043E\u0441\u0442\u0456 \u043F\u0440\u043E\u0435\u043A\u0442\u0430 \u0431\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0438, \u043E\u0431\u0435\u0440\u0456\u0442\u044C \u0456\u043D\u0448\u0438\u0439 \u0442\u0438\u043F \u043F\u0440\u043E\u0435\u043A\u0442\u0443, \u0447\u0438 \u0441\u0442\u0432\u043E\u0440\u0456\u0442\u044C \u043D\u043E\u0432\u0438\u0439 \u043F\u0440\u043E\u0435\u043A\u0442.","Your file is unsaved.":"\u0412\u0430\u0448 \u0444\u0430\u0439\u043B \u043D\u0435 \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043E.","You can close the editor now. Have a good day!":"\u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u0430\u0440\u0430\u0437 \u0437\u0430\u043A\u0440\u0438\u0442\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0438 \u0441\u043A\u0430\u0437\u0430\u0442\u0438 \u043D\u0430\u043C \u0434\u043E \u043F\u043E\u0431\u0430\u0447\u0435\u043D\u043D\u044F!","Logout Successfully!":"\u0412\u0438\u0445\u0456\u0434 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043E","You have unsaved file, please save it or close it":"\u0412\u0438 \u043C\u0430\u0454\u0442\u0435 \u043D\u0435\u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u0438\u0439 \u0444\u0430\u0439\u043B, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0437\u0431\u0435\u0440\u0435\u0436\u0456\u0442\u044C \u0439\u043E\u0433\u043E, \u0430\u0431\u043E \u043F\u0440\u043E\u0441\u0442\u043E \u0437\u0430\u043A\u0440\u0438\u0439\u0442\u0435","Please Save your file before the this operation":"\u0417\u0431\u0435\u0440\u0435\u0436\u0456\u0442\u044C, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0441\u0432\u0456\u0439 \u0444\u0430\u0439\u043B \u043F\u0435\u0440\u0435\u0434 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043D\u044F\u043C \u0446\u0456\u0454\u0457 \u043E\u043F\u0435\u0440\u0430\u0446\u0456\u0457","Please try again after saving this file.":"\u041F\u043E\u0432\u0442\u043E\u0440\u0456\u0442\u044C \u0437\u043D\u043E\u0432\u0443 \u043F\u0456\u0441\u043B\u044F \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F \u0446\u044C\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0443.","Connecting to server":"\u041F\u0456\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044F \u0434\u043E \u0441\u0435\u0440\u0432\u0435\u0440\u0443","You will save your file as anonymous file, do you like to create your own project?":"\u0411\u0430\u0436\u0430\u0454\u0442\u0435 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0446\u0435\u0439 \u0444\u0430\u0439\u043B \u0431\u0435\u0437 \u043D\u0430\u0437\u0432\u0438, \u0449\u043E\u0431 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u0442\u0438 \u0439\u043E\u0433\u043E \u0443 \u043C\u0430\u0439\u0431\u0443\u0442\u043D\u044C\u043E\u043C\u0443 \u043F\u0440\u043E\u0435\u043A\u0442\u0456?","Please login before asking for help":"\u0412\u0438\u043A\u043E\u043D\u0430\u0439\u0442\u0435 \u0432\u0445\u0456\u0434, \u043F\u0435\u0440\u0435\u0434 \u0442\u0438\u043C \u044F\u043A \u0437\u0432\u0435\u0440\u043D\u0443\u0442\u0438\u0441\u044F \u043F\u043E \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u0443","This file has been modified, please save it first!":"\u0426\u0435\u0439 \u0444\u0430\u0439\u043B \u0431\u0443\u043B\u043E \u0437\u043C\u0456\u043D\u0435\u043D\u043E, \u0441\u043F\u043E\u0447\u0430\u0442\u043A\u0443 \u0437\u0431\u0435\u0440\u0435\u0436\u0456\u0442\u044C \u0439\u043E\u0433\u043E, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430!","Remove this param":"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0446\u0435\u0439 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440","Welcome & Thanks for Joining Us! Do you like to create your own project now?":"\u041B\u0430\u0441\u043A\u0430\u0432\u043E \u043F\u0440\u043E\u0441\u0438\u043C\u043E \u0456 \u0434\u044F\u043A\u0443\u0454\u043C\u043E, \u0449\u043E \u043F\u0440\u0438\u0454\u0434\u043D\u0430\u043B\u0438\u0441\u044C \u0434\u043E \u043D\u0430\u0441! \u0411\u0430\u0436\u0430\u0454\u0442\u0435 \u0441\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0441\u0432\u0456\u0439 \u0432\u043B\u0430\u0441\u043D\u0438\u0439 \u043F\u0440\u043E\u0435\u043A\u0442 \u043F\u0440\u044F\u043C\u043E \u0437\u0430\u0440\u0430\u0437?","Click on an object to select then click on the canvas to place it":"\u041A\u043B\u0430\u0446\u043D\u0456\u0442\u044C \u043D\u0430 \u043E\u0431'\u0454\u043A\u0442\u0456, \u0449\u043E\u0431 \u043E\u0431\u0440\u0430\u0442\u0438 \u0439\u043E\u0433\u043E, \u0456 \u043A\u043B\u0430\u0446\u043D\u0456\u0442\u044C \u043D\u0430 \u043F\u0443\u0441\u0442\u043E\u043C\u0443 \u043C\u0456\u0441\u0446\u0456, \u0449\u043E\u0431 \u0440\u043E\u0437\u043C\u0456\u0441\u0442\u0438\u0442\u0438 \u0439\u043E\u0433\u043E \u0442\u0430\u043C","Undo/Redo temporary error":"\u0422\u0438\u043C\u0447\u0430\u0441\u043E\u0432\u0430 \u043F\u043E\u043C\u0438\u043B\u043A\u0430 \u0412\u0456\u0434\u043C\u0456\u043D\u0438/\u041F\u043E\u0432\u0442\u043E\u0440\u0443","We are sorry but EasyEDA is exhibiting an unpredictable error in the undo/redo process. This problem will be fixed soon but in the meanwhile it is safe to continue working on your design.":"\u041D\u0430\u0436\u0430\u043B\u044C, \u0443 EasyEDA \u0437'\u044F\u0432\u043B\u044F\u0454\u0442\u044C\u0441\u044F \u043D\u0435\u043F\u0435\u0440\u0435\u0434\u0431\u0430\u0447\u0435\u043D\u0430 \u043F\u043E\u043C\u0438\u043B\u043A\u0430 \u043F\u0440\u0438 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u0456 \u043E\u043F\u0435\u0440\u0430\u0446\u0456\u0439 \u0412\u0456\u0434\u043C\u0456\u043D\u0438/\u041F\u043E\u0432\u0442\u043E\u0440\u0443. \u0426\u044E \u043F\u043E\u043C\u0438\u043B\u043A\u0443 \u0431\u0443\u0434\u0435 \u0432\u0438\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043E \u0443 \u043D\u0430\u0439\u0431\u043B\u0438\u0436\u0447\u0438\u0439 \u0447\u0430\u0441, \u0430 \u0440\u043E\u0431\u043E\u0442\u0443 \u043D\u0430\u0434 \u0432\u0430\u0448\u043E\u044E \u0440\u043E\u0437\u0440\u043E\u0431\u043A\u043E\u044E \u0446\u0456\u043B\u043A\u043E\u043C \u043C\u043E\u0436\u043B\u0438\u0432\u043E \u043F\u0440\u043E\u0434\u043E\u0432\u0436\u0443\u0432\u0430\u0442\u0438.","Please click the below help button to find out how to fix this problem.":"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u043D\u0430 \u043A\u043D\u043E\u043F\u043A\u0443, \u0449\u043E \u043D\u0438\u0436\u0447\u0435 \u043A\u043D\u043E\u043F\u043A\u0438 \u0414\u043E\u043F\u043E\u043C\u043E\u0433\u0430, \u0434\u043B\u044F \u0443\u0441\u0443\u043D\u0435\u043D\u043D\u044F \u0446\u0456\u0454\u0457 \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0438.","Please create a board outline! Click the help button to find out how to create a board outline.":"\u0421\u0442\u0432\u043E\u0440\u0456\u0442\u044C, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u043A\u043E\u043D\u0442\u0443\u0440\u0438 \u043F\u043B\u0430\u0442\u0438! \u041A\u043B\u0430\u0446\u043D\u0456\u0442\u044C \u043D\u0430 \u043A\u043D\u043E\u043F\u0446\u0456 \u0414\u043E\u043F\u043E\u043C\u043E\u0433\u0430, \u0449\u043E\u0431 \u0434\u0456\u0437\u043D\u0430\u0442\u0438\u0441\u044F, \u044F\u043A \u0441\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0443\u0440\u0438 \u043F\u043B\u0430\u0442\u0438.",Skip:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u0438","\u2190 Back":"\u2190 \u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u0456\u0439","Next \u2192":"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0438\u0439 \u2192","This is user management menu.":"\u0426\u0435 \u043C\u0435\u043D\u044E \u0443\u043F\u0440\u0430\u0432\u043B\u0456\u043D\u043D\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0435\u043C.","This is super menu.":"\u0426\u0435 \u0433\u043E\u043B\u043E\u0432\u043D\u0435 \u043C\u0435\u043D\u044E.","This is toolbar.":"\u0426\u0435 \u043F\u0430\u043D\u0435\u043B\u044C \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0456\u0432.","This is config menu button.":"\u0426\u0435 \u043A\u043D\u043E\u043F\u043A\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043C\u0435\u043D\u044E.","This is share button.":"\u0426\u0435 \u043A\u043D\u043E\u043F\u043A\u0438 \u043D\u0430\u0434\u0430\u043D\u043D\u044F.","This is document management menu.":"\u0426\u0435 \u043C\u0435\u043D\u044E \u0443\u043F\u0440\u0430\u0432\u043B\u0456\u043D\u043D\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u043C.","Show or hide your toolbar at here.":"\u0421\u0445\u043E\u0432\u0430\u0439\u0442\u0435 \u0430\u0431\u043E \u043F\u043E\u043A\u0430\u0436\u0456\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0456\u0432 \u0437 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u043E\u044E \u0446\u044C\u043E\u0433\u043E.","Show or hide your left sidebar at here.":"\u0421\u0445\u043E\u0432\u0430\u0439\u0442\u0435 \u0430\u0431\u043E \u043F\u043E\u043A\u0430\u0436\u0456\u0442\u044C \u043B\u0456\u0432\u0443 \u0431\u043E\u043A\u043E\u0432\u0443 \u043F\u0430\u043D\u0435\u043B\u044C \u0437 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u043E\u044E \u0446\u044C\u043E\u0433\u043E.","Show or hide your right sidebar at here.":"\u0421\u0445\u043E\u0432\u0430\u0439\u0442\u0435 \u0430\u0431\u043E \u043F\u043E\u043A\u0430\u0436\u0456\u0442\u044C \u043F\u0440\u0430\u0432\u0443 \u0431\u043E\u043A\u043E\u0432\u0443 \u043F\u0430\u043D\u0435\u043B\u044C \u0437 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u043E\u044E \u0446\u044C\u043E\u0433\u043E.","Passive Components":"\u041F\u0430\u0441\u0438\u0432\u043D\u0456 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0438","Power Supply":"\u0414\u0436\u0435\u0440\u0435\u043B\u0430 \u0436\u0438\u0432\u043B\u0435\u043D\u043D\u044F",Diodes:"\u0414\u0456\u043E\u0434\u0438",Regulator:"\u0421\u0442\u0430\u0431\u0456\u043B\u0456\u0437\u0430\u0442\u043E\u0440\u0438",Transistor:"\u0422\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440\u0438",Transformers:"\u0422\u0440\u0430\u043D\u0441\u0444\u043E\u0440\u043C\u0430\u0442\u043E\u0440\u0438",Gates:"\u041B\u043E\u0433\u0456\u0447\u043D\u0456 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438","Vacuum Tubes":"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0456 \u043B\u0430\u043C\u043F\u0438",Switch:"\u0412\u0438\u043C\u0438\u043A\u0430\u0447\u0456",Relay:"\u0420\u0435\u043B\u0435","Capacitor(US)":"\u041A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440 (\u0421\u0428\u0410)","Capacitor(EU)":"\u041A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440 (\u0404\u0421)","Capacitor(EU)2":"\u041A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440 (\u0404\u0421)2","Electrolytic Capacitor(US)":"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043B\u0456\u0442\u0438\u0447\u043D\u0438\u0439 \u043A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440 (\u0421\u0428\u0410)","Electrolytic Capacitor(EU)":"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043B\u0456\u0442\u0438\u0447\u043D\u0438\u0439 \u043A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440 (\u0404\u0421)","Electrolytic Capacitor(US)2":"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043B\u0456\u0442\u0438\u0447\u043D\u0438\u0439 \u043A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440 (\u0421\u0428\u0410)2","Electrolytic Capacitor(EU)2":"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043B\u0456\u0442\u0438\u0447\u043D\u0438\u0439 \u043A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440 (\u0404\u0421)2","Inductor(US)":"\u041A\u043E\u0442\u0443\u0448\u043A\u0430 (\u0421\u0428\u0410)","Inductor(EU)":"\u041A\u043E\u0442\u0443\u0448\u043A\u0430 (\u0404\u0421)","Potentiometer(US)":"\u041F\u043E\u0442\u0435\u043D\u0446\u0456\u043E\u043C\u0435\u0442\u0440 (\u0421\u0428\u0410)","Potentiometer(EU)":"\u041F\u043E\u0442\u0435\u043D\u0446\u0456\u043E\u043C\u0435\u0442\u0440 (\u0404\u0421)","Resistor(US)":"\u0420\u0435\u0437\u0438\u0441\u0442\u043E\u0440 (\u0421\u0428\u0410)","Resistor(EU)":"\u0420\u0435\u0437\u0438\u0441\u0442\u043E\u0440 (\u0404\u0421)","Resistor 45 Deg(US)":"\u0420\u0435\u0437\u0438\u0441\u0442\u043E\u0440 \u043F\u043E\u0434 45\xB0 (\u0421\u0428\u0410)","Resistor 45 Deg(EU)":"\u0420\u0435\u0437\u0438\u0441\u0442\u043E\u0440 \u043F\u043E\u0434 45\xB0 (\u0404\u0421)","Variable Capacitor(US)":"\u0417\u043C\u0456\u043D\u043D\u0438\u0439 \u043A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440 (\u0421\u0428\u0410)","Variable Capacitor(EU)":"\u0417\u043C\u0456\u043D\u043D\u0438\u0439 \u043A\u043E\u043D\u0434\u0435\u043D\u0441\u0430\u0442\u043E\u0440 (\u0404\u0421)","Variable Resistor(US)":"\u0417\u043C\u0456\u043D\u043D\u0438\u0439 \u0440\u0435\u0437\u0438\u0441\u0442\u043E\u0440 (\u0421\u0428\u0410)","Variable Resistor(EU)":"\u0417\u043C\u0456\u043D\u043D\u0438\u0439 \u0440\u0435\u0437\u0438\u0441\u0442\u043E\u0440 (\u0404\u0421)","Variable Inductor(US)":"\u0417\u043C\u0456\u043D\u043D\u0430 \u0456\u043D\u0434\u0443\u043A\u0442\u0438\u0432\u043D\u0456\u0441\u0442\u044C (\u0421\u0428\u0410)","Variable Inductor(EU)":"\u0417\u043C\u0456\u043D\u043D\u0430 \u0456\u043D\u0434\u0443\u043A\u0442\u0438\u0432\u043D\u0456\u0441\u0442\u044C (\u0404\u0421)",Varistor:"\u0412\u0430\u0440\u0438\u0441\u0442\u043E\u0440","Inductor2(US)":"\u041A\u043E\u0442\u0443\u0448\u043A\u04302(\u0421\u0428\u0410)","Inductor2(EU)":"\u041A\u043E\u0442\u0443\u0448\u043A\u04302(\u0404\u0421)",Battery:"\u0411\u0430\u0442\u0430\u0440\u0435\u044F","Voltage Source":"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u043D\u0430\u043F\u0440\u0443\u0433\u0438","Current Source":"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0441\u0442\u0440\u0443\u043C\u0443","CCCS(Current Controlled Current Source)":"\u0414\u0421\u041A\u0421(\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0421\u0442\u0440\u0443\u043C\u0443 \u041A\u0435\u0440\u043E\u0432\u0430\u043D\u0435 \u0421\u0442\u0440\u0443\u043C\u043E\u043C)","CCCS2(Current Controlled Current Source)":"\u0414\u0421\u041A\u04212(\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0421\u0442\u0440\u0443\u043C\u0443 \u041A\u0435\u0440\u043E\u0432\u0430\u043D\u0435 \u0421\u0442\u0440\u0443\u043C\u043E\u043C)","VCCS(Voltage Controlled Current Source)":"\u0414\u0421\u041A\u041D(\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0421\u0442\u0440\u0443\u043C\u0443 \u041A\u0435\u0440\u043E\u0432\u0430\u043D\u0435 \u041D\u0430\u043F\u0440\u0443\u0433\u043E\u044E)","VCVS(Voltage Controlled Voltage Source)":"\u0414\u041D\u041A\u041D(\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u041D\u0430\u043F\u0440\u0443\u0433\u0438 \u041A\u0435\u0440\u043E\u0432\u0430\u043D\u0435 \u041D\u0430\u043F\u0440\u0443\u0433\u043E\u044E)","CCVS(Current Controlled Voltage Source)":"\u0414\u041D\u041A\u0421(\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u041D\u0430\u043F\u0440\u0443\u0433\u0438 \u041A\u0435\u0440\u043E\u0432\u0430\u043D\u0435 \u0421\u0442\u0440\u0443\u043C\u043E\u043C)","CCVS2(Current Controlled Voltage Source)":"\u0414\u041D\u041A\u04212(\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u041D\u0430\u043F\u0440\u0443\u0433\u0438 \u041A\u0435\u0440\u043E\u0432\u0430\u043D\u0435 \u0421\u0442\u0440\u0443\u043C\u043E\u043C)","BV(Behavioral Voltage Sources)":"BV (\u041F\u043E\u0432\u0435\u0434\u0456\u043D\u043A\u043E\u0432\u0435 \u0434\u0436\u0435\u0440\u0435\u043B\u043E \u043D\u0430\u043F\u0440\u0443\u0433\u0438)","BI(Behavioral Voltage Sources)":"BI (\u041F\u043E\u0432\u0435\u0434\u0456\u043D\u043A\u043E\u0432\u0435 \u0434\u0436\u0435\u0440\u0435\u043B\u043E \u0441\u0442\u0440\u0443\u043C\u0443)","Epoly(Non-linear Voltage Source)":"Epoly(\u041D\u0435\u043B\u0456\u043D\u0456\u0439\u043D\u0435 \u0434\u0436\u0435\u0440\u0435\u043B\u043E \u043D\u0430\u043F\u0440\u0443\u0433\u0438)","Gpoly(Non-linear Current Source)":"Gpoly(\u041D\u0435\u043B\u0456\u043D\u0456\u0439\u043D\u0435 \u0434\u0436\u0435\u0440\u0435\u043B\u043E \u0441\u0442\u0440\u0443\u043C\u0443)",Diode:"\u0414\u0456\u043E\u0434",LED:"\u0421\u0432\u0456\u0442\u043B\u043E\u0434\u0456\u043E\u0434","Schottky Diode":"\u0414\u0456\u043E\u0434 \u0428\u043E\u0442\u0442\u043A\u0456","Varactor Diode":"\u0412\u0430\u0440\u0430\u043A\u0442\u043E\u0440\u043D\u0438\u0439 \u0434\u0456\u043E\u0434",Zener:"\u0414\u0456\u043E\u0434 \u0417\u0435\u043D\u0435\u0440\u0430","Unidirectional TVS Diode":"\u041E\u0434\u043D\u043E\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u043E\u0431\u043C\u0435\u0436\u0443\u0432\u0430\u043B\u044C\u043D\u0438\u0439 \u0434\u0456\u043E\u0434 (\u0441\u0443\u043F\u0440\u0435\u0441\u0441\u043E\u0440)","Bidirectional TVS Diode":"\u0421\u0438\u043C\u0435\u0442\u0440\u0438\u0447\u043D\u0438\u0439 \u043E\u0431\u043C\u0435\u0436\u0443\u0432\u0430\u043B\u044C\u043D\u0438\u0439 \u0434\u0456\u043E\u0434 (\u0441\u0443\u043F\u0440\u0435\u0441\u0441\u043E\u0440)",Diac:"\u0414\u0438\u043D\u0438\u0441\u0442\u043E\u0440",Bridge:"\u0414\u0456\u043E\u0434\u043D\u0438\u0439 \u043C\u0456\u0441\u0442","78XX":"78XX \u043F\u043E\u0437\u0438\u0442\u0438\u0432\u043D\u0438\u0439 \u0444\u0456\u043A\u0441\u043E\u0432\u0430\u043D\u0438\u0439","79XX":"79XX \u043D\u0435\u0433\u0430\u0442\u0438\u0432\u043D\u0438\u0439 \u0444\u0456\u043A\u0441\u043E\u0432\u0430\u043D\u0438\u0439",LM317:"LM317 \u043F\u043E\u0437\u0438\u0442\u0438\u0432\u043D\u0438\u0439 \u043F\u0456\u0434\u043B\u0430\u0448\u0442\u043E\u0432\u0443\u0432\u0430\u043B\u044C\u043D\u0438\u0439",LM337:"LM337 \u043D\u0435\u0433\u0430\u0442\u0438\u0432\u043D\u0438\u0439 \u043F\u0456\u0434\u043B\u0430\u0448\u0442\u043E\u0432\u0443\u0432\u0430\u043B\u044C\u043D\u0438\u0439",TL431:"TL431 \u043F\u0440\u0435\u0446\u0438\u0437\u0456\u0439\u043D\u0438\u0439","BJT(NPN)":"\u0411\u0456\u043F\u043E\u043B\u044F\u0440\u043D\u0438\u0439 \u0442\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440(npn)","BJT(PNP)":"\u0411\u0456\u043F\u043E\u043B\u044F\u0440\u043D\u0438\u0439 \u0442\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440(pnp)","MOSFET(Nch)":"\u041C\u041E\u041D \u0442\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440 (n-\u043A\u0430\u043D\u0430\u043B)","MOSFET(Nch) Depletion Four-pins":"\u041C\u041E\u041D \u0442\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440 (n-\u043A\u0430\u043D\u0430\u043B) \u0432\u0431\u0443\u0434\u043E\u0432\u0430\u043D\u0438\u0439 \u043A\u0430\u043D\u0430\u043B 4-\u0432\u0438\u0432\u043E\u0434\u0438","MOSFET(Nch) Enhancement":"\u041C\u041E\u041D \u0442\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440 (n-\u043A\u0430\u043D\u0430\u043B) \u0456\u043D\u0434\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0439 \u043A\u0430\u043D\u0430\u043B","MOSFET(Nch) Enhancement Four-pins":"\u041C\u041E\u041D \u0442\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440 (n-\u043A\u0430\u043D\u0430\u043B) \u0456\u043D\u0434\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0439 \u043A\u0430\u043D\u0430\u043B 4-\u0432\u0438\u0432\u043E\u0434\u0438","MOSFET(Pch)":"\u041C\u041E\u041D \u0442\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440 (p-\u043A\u0430\u043D\u0430\u043B)","MOSFET(Pch) Depletion Four-pins":"\u041C\u041E\u041D \u0442\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440 (p-\u043A\u0430\u043D\u0430\u043B) \u0432\u0431\u0443\u0434\u043E\u0432\u0430\u043D\u0438\u0439 \u043A\u0430\u043D\u0430\u043B 4-\u0432\u0438\u0432\u043E\u0434\u0438","MOSFET(Pch) Enhancement":"\u041C\u041E\u041D \u0442\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440 (p-\u043A\u0430\u043D\u0430\u043B) \u0456\u043D\u0434\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0439 \u043A\u0430\u043D\u0430\u043B","MOSFET(Pch) Enhancement Four-pins":"\u041C\u041E\u041D \u0442\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440 (p-\u043A\u0430\u043D\u0430\u043B) \u0456\u043D\u0434\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0439 \u043A\u0430\u043D\u0430\u043B 4-\u0432\u0438\u0432\u043E\u0434\u0438","JFET(Nch)":"\u041F\u043E\u043B\u044C\u043E\u0432\u0438\u0439 \u0442\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440 (n-\u043A\u0430\u043D\u0430\u043B)","JFET(Pch)":"\u041F\u043E\u043B\u044C\u043E\u0432\u0438\u0439 \u0442\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440 (p-\u043A\u0430\u043D\u0430\u043B)","Darlington NPN":"\u0422\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440 \u0414\u0430\u0440\u043B\u0456\u043D\u0433\u0442\u043E\u043D\u0430 (npn)","Darlington PNP":"\u0422\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440 \u0414\u0430\u0440\u043B\u0456\u043D\u0433\u0442\u043E\u043D\u0430 (pnp)","MESFET(Nch)":"\u041F\u043E\u043B\u044C\u043E\u0432\u0438\u0439 \u0442\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440 \u0437 \u043C\u0435\u0442\u0430\u043B\u0456\u0447\u043D\u0438\u043C \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043E\u043C(n-\u043A\u0430\u043D\u0430\u043B)","MESFET(Pch)":"\u041F\u043E\u043B\u044C\u043E\u0432\u0438\u0439 \u0442\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440 \u0437 \u043C\u0435\u0442\u0430\u043B\u0456\u0447\u043D\u0438\u043C \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043E\u043C(p-\u043A\u0430\u043D\u0430\u043B)",SCR:"\u0422\u0438\u0440\u0438\u0441\u0442\u043E\u0440",Triac:"\u0421\u0438\u043C\u0456\u0441\u0442\u043E\u0440","Transform(US)":"\u0422\u0440\u0430\u043D\u0441\u0444\u043E\u0440\u043C\u0430\u0442\u043E\u0440 (\u0421\u0428\u0410)","Transform(EU)":"\u0422\u0440\u0430\u043D\u0441\u0444\u043E\u0440\u043C\u0430\u0442\u043E\u0440 (\u0404\u0421)","Transfrom(NEUTRAL-CTR TAP)(US)":"\u0422\u0440\u0430\u043D\u0441\u0444\u043E\u0440\u043C\u0430\u0442\u043E\u0440 \u0437 \u0432\u0456\u0434\u0432\u043E\u0434\u043E\u043C \u0432\u0456\u0434 \u0441\u0435\u0440\u0435\u0434\u0438\u043D\u0438 (\u0421\u0428\u0410)","Transfrom(NEUTRAL-CTR TAP)(EU)":"\u0422\u0440\u0430\u043D\u0441\u0444\u043E\u0440\u043C\u0430\u0442\u043E\u0440 \u0437 \u0432\u0456\u0434\u0432\u043E\u0434\u043E\u043C \u0432\u0456\u0434 \u0441\u0435\u0440\u0435\u0434\u0438\u043D\u0438 (\u0404\u0421)","Mutual Inductors":"\u0417\u0432'\u044F\u0437\u0430\u043D\u0456 \u043A\u043E\u0442\u0443\u0448\u043A\u0438","Mutual Inductors2":"\u0417\u0432'\u044F\u0437\u0430\u043D\u0456 \u043A\u043E\u0442\u0443\u0448\u043A\u0438 \u0437 \u0432\u0456\u0434\u0432\u043E\u0434\u043E\u043C \u0432\u0456\u0434 \u0441\u0435\u0440\u0435\u0434\u0438\u043D\u0438","Or Gate":"\u0415\u043B\u0435\u043C\u0435\u043D\u0442 \u0410\u0411\u041E","Xor Gate":"\u0415\u043B\u0435\u043C\u0435\u043D\u0442 \u0412\u0418\u041A\u041B\u042E\u0427\u041D\u0415 \u0410\u0411\u041E","And Gate":"\u0415\u043B\u0435\u043C\u0435\u043D\u0442 \u0406","Nor Gate":"\u0415\u043B\u0435\u043C\u0435\u043D\u0442 \u0410\u0411\u041E-\u041D\u0406","Nand Gate":"\u0415\u043B\u0435\u043C\u0435\u043D\u0442 \u0406-\u041D\u0406","Not Gate":"\u0415\u043B\u0435\u043C\u0435\u043D\u0442 \u041D\u0406","Xnor Gate":"\u0415\u043B\u0435\u043C\u0435\u043D\u0442 \u0412\u0418\u041A\u041B\u042E\u0427\u041D\u0415 \u0410\u0411\u041E-\u041D\u0406","Tube Diode":"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430 \u043B\u0430\u043C\u043F\u0430 \u0414\u0456\u043E\u0434","Tube Triode":"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430 \u043B\u0430\u043C\u043F\u0430 \u0422\u0440\u0456\u043E\u0434","Tube Tetrode":"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430 \u043B\u0430\u043C\u043F\u0430 \u0422\u0435\u0442\u0440\u043E\u0434","Tube Pentode":"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430 \u043B\u0430\u043C\u043F\u0430 \u041F\u0435\u043D\u0442\u043E\u0434","Voltage Controlled Switch":"\u0412\u0438\u043C\u0438\u043A\u0430\u0447 \u0449\u043E \u043A\u0435\u0440\u0443\u0454\u0442\u044C\u0441\u044F \u043D\u0430\u043F\u0440\u0443\u0433\u043E\u044E","Current Controlled Switch":"\u0412\u0438\u043C\u0438\u043A\u0430\u0447 \u0449\u043E \u043A\u0435\u0440\u0443\u0454\u0442\u044C\u0441\u044F \u0441\u0442\u0440\u0443\u043C\u043E\u043C","SPST ON":"\u0412\u0438\u043C\u0438\u043A\u0430\u0447 \u0449\u043E \u0437\u0430\u043C\u043A\u043D\u0443\u0442\u043E","SPST OFF":"\u0412\u0438\u043C\u0438\u043A\u0430\u0447 \u0449\u043E \u0440\u043E\u0437\u0456\u043C\u043A\u043D\u0435\u043D\u043E",Fuse:"\u0417\u0430\u043F\u043E\u0431\u0456\u0436\u043D\u0438\u043A","555(Style2)":"\u0422\u0430\u0439\u043C\u0435\u0440 555 (\u041A1006\u0412\u04181) \u0441\u0442\u0438\u043B\u044C2",Speaker:"\u0414\u0438\u043D\u0430\u043C\u0456\u043A",XTAL:"\u041A\u0432\u0430\u0440\u0446\u043E\u0432\u0438\u0439 \u0440\u0435\u0437\u043E\u043D\u0430\u0442\u043E\u0440","5pin Operational Amplifier":"\u041E\u043F\u0435\u0440\u0430\u0446\u0456\u0439\u043D\u0438\u0439 \u043F\u0456\u0434\u0441\u0438\u043B\u044E\u0432\u0430\u0447 5 \u0432\u0438\u0432\u043E\u0434\u0456\u0432","3pin Operational amplifier":"\u041E\u043F\u0435\u0440\u0430\u0446\u0456\u0439\u043D\u0438\u0439 \u043F\u0456\u0434\u0441\u0438\u043B\u044E\u0432\u0430\u0447 3 \u0432\u0438\u0432\u043E\u0434\u0438","Transmission Line":"\u041B\u0456\u043D\u0456\u044F \u0442\u0435\u0440\u0435\u0434\u0430\u0447\u0456",Voltmeter:"\u0412\u043E\u043B\u044C\u0442\u043C\u0435\u0442\u0440",Ammeter:"\u0410\u043C\u043F\u0435\u0440\u043C\u0435\u0442\u0440",LAMP:"\u041B\u0430\u043C\u043F\u043E\u0447\u043A\u0430","Opto Transistor":"\u041E\u043F\u0442\u043E\u0442\u0440\u0430\u043D\u0437\u0438\u0441\u0442\u043E\u0440","Schematic Library Wizard":"\u041C\u0430\u0439\u0441\u0442\u0435\u0440 \u0431\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A \u0441\u0445\u0435\u043C","Prefix:":"\u041F\u0440\u0435\u0444\u0456\u043A\u0441:","Name:":"\u0406\u043C'\u044F:","Package:":"\u041A\u043E\u0440\u043F\u0443\u0441:","Need login":"\u043F\u043E\u0442\u0440\u0456\u0431\u0435\u043D \u043B\u043E\u0433\u0456\u043D","Bad password":"\u043D\u0435\u0432\u0456\u0440\u043D\u0438\u0439 \u043F\u0430\u0440\u043E\u043B\u044C","We can't find your username or your email, please check it!":"\u041C\u0438 \u043D\u0435 \u043C\u043E\u0436\u0435\u043C\u043E \u0437\u043D\u0430\u0439\u0442\u0438 \u0432\u0430\u0448 \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u0438\u0439 \u0437\u0430\u043F\u0438\u0441 \u0456 \u0430\u0434\u0440\u0435\u0441\u0443 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u0438, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u043F\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456\u0441\u0442\u044C \u0457\u0445 \u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u043D\u044F!","Make sure your uploaded file size is less than 3MB!":"\u0412\u0438 \u0443\u043F\u0435\u0432\u043D\u0435\u043D\u0456 \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0432\u0438\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0444\u0430\u0439\u043B \u0440\u043E\u0437\u043C\u0456\u0440\u043E\u043C \u0431\u0456\u043B\u044C\u0448\u0435 3\u041C\u0411 !","Bad file type":"\u043D\u0435\u0432\u0456\u0440\u043D\u0438\u0439 \u0442\u0438\u043F \u0444\u0430\u0439\u043B\u0443","Empty file or bad file type, ensure your file is Eagle 6.0+":"\u041F\u043E\u0440\u043E\u0436\u043D\u0456\u0439 \u0430\u0431\u043E \u0437\u0456\u043F\u0441\u043E\u0432\u0430\u043D\u0438\u0439 \u0444\u0430\u0439\u043B, \u043F\u0435\u0440\u0435\u043A\u043E\u043D\u0430\u0439\u0442\u0435\u0441\u044F, \u0449\u043E \u0444\u0430\u0439\u043B \u0443 \u0444\u043E\u0440\u043C\u0430\u0442\u0456 Eagle 6.0+","This operation not supported on demo account":"\u0426\u044E \u043E\u043F\u0435\u0440\u0430\u0446\u0456\u044E \u043D\u0435 \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u0430\u043D\u043E \u0443 \u0434\u0435\u043C\u043E\u043D\u0441\u0442\u0440\u0430\u0446\u0456\u0439\u043D\u043E\u043C\u0443 \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u043E\u043C\u0443 \u0437\u0430\u043F\u0438\u0441\u0456","Can not share this file under a private project, please set the active project to public!":"\u041D\u0435 \u043C\u043E\u0436\u043B\u0438\u0432\u043E \u043D\u0430\u0434\u0430\u0442\u0438 \u0446\u0435\u0439 \u0444\u0430\u0439\u043B \u043D\u0435 \u0432 \u043F\u0443\u0431\u043B\u0456\u0447\u043D\u043E\u043C\u0443 \u043F\u0440\u043E\u0435\u043A\u0442\u0456, \u0432\u0441\u0442\u0430\u043D\u043E\u0432\u0456\u0442\u044C, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0430\u043A\u0442\u0438\u0432\u043D\u0438\u0439 \u043F\u0440\u043E\u0435\u043A\u0442 \u044F\u043A \u043F\u0443\u0431\u043B\u0456\u0447\u043D\u0438\u0439!","Common Buttons Setting":"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u0437\u0430\u0433\u0430\u043B\u044C\u043D\u0438\u0445 \u043A\u043D\u043E\u043F\u043E\u043A","Show/Hide":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438/\u0421\u0445\u043E\u0432\u0430\u0442\u0438","Move Up":"\u041F\u0435\u0440\u0435\u043C\u0456\u0441\u0442\u0438\u0442\u0438 \u0432\u0432\u0435\u0440\u0445","Move Down":"\u041F\u0435\u0440\u0435\u043C\u0456\u0441\u0442\u0438\u0442\u0438 \u0432\u043D\u0438\u0437","Reset All":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u0432\u0441\u0435",Zoom:"\u0417\u0431\u0456\u043B\u044C\u0448\u0435\u043D\u043D\u044F","Find Libraries...":"\u041F\u043E\u0448\u0443\u043A \u0431\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0438...","Place Pin":"\u0420\u043E\u0437\u043C\u0456\u0449\u0435\u043D\u043D\u044F \u0432\u0438\u0432\u043E\u0434\u0430","Permissions:":"\u0414\u043E\u0437\u0432\u043E\u043B\u0438:",Permissions:"\u0414\u043E\u0437\u0432\u0456\u043B",Operation:"\u041E\u043F\u0435\u0440\u0430\u0446\u0456\u044F","Access Control":"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u0443",Reject:"\u0412\u0456\u0434\u0445\u0438\u043B\u0438\u0442\u0438","Add User":"\u0414\u043E\u0434\u0430\u0442\u0438 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Bad email address":"\u041D\u0435\u0432\u0456\u0440\u043D\u0430 \u0430\u0434\u0440\u0435\u0441\u0430 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u0438","Grid Background":"\u0424\u043E\u043D \u0441\u0456\u0442\u043A\u0438","Pane Background":"\u041F\u0430\u043D\u0435\u043B\u044C \u0444\u043E\u043D\u0443","WaveForm Config":"\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F \u0433\u0440\u0430\u0444\u0456\u043A\u0430","Export Waveform to CSV":"\u0415\u043A\u0441\u043F\u043E\u0440\u0442 \u0433\u0440\u0430\u0444\u0456\u043A\u0430 \u0432 CSV",dot:"\u043A\u0440\u0430\u043F\u043A\u0430",line:"\u043B\u0456\u043D\u0456\u044F","A4 Portrait":"A4 \u043A\u043D\u0438\u0436\u043D\u0438\u0439","A4 Landscape":"A4 \u0430\u043B\u044C\u0431\u043E\u043C\u043D\u0438\u0439","A3 Portrait":"A3 \u043A\u043D\u0438\u0436\u043D\u0438\u0439","A3 Landscape":"A3 \u0430\u043B\u044C\u0431\u043E\u043C\u043D\u0438\u0439","A2 Portrait":"A2 \u043A\u043D\u0438\u0436\u043D\u0438\u0439","A2 Landscape":"A2 \u0430\u043B\u044C\u0431\u043E\u043C\u043D\u0438\u0439","A1 Portrait":"A1 \u043A\u043D\u0438\u0436\u043D\u0438\u0439","A1 Landscape":"A1 \u0430\u043B\u044C\u0431\u043E\u043C\u043D\u0438\u0439",solid:"\u0441\u0443\u0446\u0456\u043B\u044C\u043D\u0430",dashed:"\u0448\u0442\u0440\u0438\u0445\u043E\u0432\u0430\u043D\u0430",dotted:"\u043F\u0443\u043D\u043A\u0442\u0438\u0440\u043D\u0430","Fill Region":"\u0421\u0443\u0446\u0456\u043B\u044C\u043D\u0438\u0439 \u0440\u0435\u0433\u0456\u043E\u043D",Type:"\u0422\u0438\u043F","Browse and search hundreds of thousands of components":"\u041F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u0443\u0442\u0438 \u0456 \u0437\u043D\u0430\u0439\u0442\u0438 \u0437\u0456 \u0441\u0442\u0430 \u0442\u0438\u0441\u044F\u0447 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0456\u0432","Report error":"\u041F\u043E\u043C\u0438\u043B\u043A\u0430 \u0437\u0432\u0456\u0442\u0443","Please give us some information to help us find the problem.":"\u0414\u0430\u0439\u0442\u0435, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u043D\u0430\u043C \u0434\u0435\u044F\u043A\u0443 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044E, \u0449\u043E\u0431 \u043C\u0438 \u043C\u043E\u0433\u043B\u0438 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u0442\u0438 \u0412\u0430\u043C \u0443\u0441\u0443\u043D\u0443\u0442\u0438 \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0443.","Cannot place parts into this document: Schematic Symbols can only be placed into a Schematic; PCB Footprints can only be placed into a PCB.":"\u041D\u0435\u043C\u043E\u0436\u043B\u0438\u0432\u043E \u0440\u043E\u0437\u043C\u0456\u0441\u0442\u0438\u0442\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442 \u0443 \u0446\u044C\u043E\u043C\u0443 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0456: \u0421\u0445\u0435\u043C\u043E\u0442\u0435\u0445\u043D\u0456\u0447\u043D\u0456 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u043C\u043E\u0436\u043B\u0438\u0432\u043E \u0440\u043E\u0441\u043C\u0456\u0441\u0442\u0438\u0442\u0438 \u0442\u0456\u043B\u044C\u043A\u0438 \u043D\u0430 \u0441\u0445\u0435\u043C\u0456; \u0435\u043B\u0435\u043C\u0435\u043D\u0442 \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u043E\u0457 \u043F\u043B\u0430\u0442\u0438 \u0442\u0456\u043B\u044C\u043A\u0438 \u043D\u0430 \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0456\u0439 \u043F\u043B\u0430\u0442\u0456.","Save it as a favorite part":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0439\u043E\u0433\u043E \u044F\u043A \u043E\u0431\u0440\u0430\u043D\u0438\u0439 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442","Only logged-in users can save this component as a Favorite Part but guest (Anonymous) users can place this component into their design directly. Would you like to place this component now?":"\u0422\u0456\u043B\u044C\u043A\u0438 \u0437\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u043E\u0432\u0430\u043D\u0456 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0456 \u043C\u043E\u0436\u0443\u0442\u044C \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0442\u0438 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0456 \u044F\u043A \u043E\u0431\u0440\u0430\u043D\u0456, \u0430 \u0433\u043E\u0441\u0442\u0456 (\u0430\u043D\u043E\u043D\u0456\u043C\u0438) \u043C\u043E\u0436\u0443\u0442\u044C \u0442\u0456\u043B\u044C\u043A\u0438 \u0431\u0435\u0437\u043F\u043E\u0441\u0435\u0440\u0435\u0434\u043D\u044C\u043E \u0440\u043E\u0437\u043C\u0456\u0449\u0443\u0432\u0430\u0442\u0438 \u0457\u0445 \u043D\u0430 \u0441\u0432\u043E\u0457\u0445 \u0441\u0445\u0435\u043C\u0430\u0445. \u0411\u0430\u0436\u0430\u0454\u0442\u0435 \u0437\u0430\u0440\u0430\u0437 \u0440\u043E\u0437\u043C\u0456\u0441\u0442\u0438\u0442\u0438 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442?","Find libs":"\u041F\u043E\u0448\u0443\u043A \u0431\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0438","My Projects":"\u041C\u0456\u0439 \u043F\u0440\u043E\u0435\u043A\u0442","My Parts":"\u041C\u043E\u0457 \u0431\u043B\u043E\u043A\u0438","System IC":"\u0421\u0438\u0441\u0442\u0435\u043C\u043D\u0430 \u0406\u041C\u0421","Favorite Parts":"\u041E\u0431\u0440\u0430\u043D\u0456 \u0431\u043B\u043E\u043A\u0438","Shared With Me":"\u041F\u043E\u0434\u0456\u043B\u0438\u0442\u0438\u0441\u044F \u0437\u0456 \u043C\u043D\u043E\u044E",Preview:"\u041F\u0440\u0435\u0432'\u044E",Close:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",Open:"\u0412\u0456\u0434\u043A\u0440\u0438\u0442\u0438",Collapse:"\u0417\u0433\u043E\u0440\u043D\u0443\u0442\u0438","Toggle toolbar":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u0438 \u043F\u0430\u043D\u0435\u043B\u044C \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0456\u0432","Toggle left bar":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u0438 \u043B\u0456\u0432\u0443 \u043F\u0430\u043D\u0435\u043B\u044C","Toggle right bar":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u0438 \u043F\u0440\u0430\u0432\u0443 \u043F\u0430\u043D\u0435\u043B\u044C",Reload:"\u041F\u0435\u0440\u0435\u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F","Mouse-X":"\u041A\u0443\u0440\u0441\u043E\u0440 \u043F\u043E X","Mouse-Y":"\u041A\u0443\u0440\u0441\u043E\u0440 \u043F\u043E Y",Yes:"\u0422\u0430\u043A",No:"\u041D\u0456",OK:"\u041E\u041A",Cancel:"\u0412\u0456\u0434\u043C\u0456\u043D\u0438\u0442\u0438","Ask a question":"\u0417\u0430\u0434\u0430\u0439\u0442\u0435 \u043F\u0438\u0442\u0430\u043D\u043D\u044F","Click to Share my work":"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C, \u0449\u043E\u0431 \u043F\u043E\u0434\u0456\u043B\u0438\u0442\u0438\u0441\u044F \u0441\u0432\u043E\u0457\u043C\u0438 \u043D\u0430\u043F\u0440\u0430\u0446\u044E\u0432\u0430\u043D\u043D\u044F\u043C\u0438","Go to my page":"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0432\u043E\u044E \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0443","Bus entry":"\u0412\u0438\u0432\u043E\u0434\u0438 \u0448\u0438\u043D\u0438",Filter:"\u0424\u0456\u043B\u044C\u0442\u0440",Check:"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C","Guest Project":"\u0413\u043E\u0441\u0442\u044C\u043E\u0432\u0438\u0439 \u043F\u0440\u043E\u0435\u043A\u0442","Insert into":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432\u0441\u0435\u0440\u0435\u0434\u0438\u043D\u0443","Copy the contents of this box into a text editor, then save the file. Paste the edited text back into this box and click Apply to update the display.":"\u0421\u043A\u043E\u043F\u0456\u044E\u0439\u0442\u0435 \u0432\u043C\u0456\u0441\u0442 \u0446\u044C\u043E\u0433\u043E \u043F\u043E\u043B\u044F \u0432 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u0438\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440, \u043F\u043E\u0442\u0456\u043C \u0437\u0431\u0435\u0440\u0435\u0436\u0456\u0442\u044C \u0444\u0430\u0439\u043B. \u0412\u0441\u0442\u0430\u0432\u0442\u0435 \u0432\u0456\u0434\u0440\u0435\u0434\u0430\u0433\u043E\u0432\u0430\u043D\u0438\u0439 \u0442\u0435\u043A\u0441\u0442 \u0437\u043D\u043E\u0432\u0443 \u0432 \u043F\u043E\u043B\u0435 \u0456 \u043D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u043A\u043D\u043E\u043F\u043A\u0443 \u0417\u0430\u0441\u0442\u043E\u0441\u0443\u0432\u0430\u0442\u0438 \u0434\u043B\u044F \u043E\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u0435\u043A\u0440\u0430\u043D\u0443.","EasyEDA format":"\u0424\u043E\u0440\u043C\u0430\u0442 EasyEDA","Copy the contents of this box into a text editor, then save the file with a .svg extension. You can edit it in Inkscape or open it in your browser.":"\u0421\u043A\u043E\u043F\u0456\u044E\u0439\u0442\u0435 \u0432\u043C\u0456\u0441\u0442 \u0446\u044C\u043E\u0433\u043E \u043F\u043E\u043B\u044F \u0432 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u0438\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440, \u043F\u043E\u0442\u0456\u043C \u0437\u0431\u0435\u0440\u0435\u0436\u0456\u0442\u044C \u0444\u0430\u0439\u043B \u0437 \u0440\u043E\u0437\u0448\u0438\u0440\u0435\u043D\u043D\u044F\u043C .svg . \u041F\u043E\u0442\u0456\u043C \u0439\u043E\u0433\u043E \u043C\u043E\u0436\u043B\u0438\u0432\u043E \u0431\u0443\u0434\u0435 \u0432\u0456\u0434\u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0432 Inkscape \u0430\u0431\u043E \u0432\u0456\u0434\u043A\u0440\u0438\u0442\u0438 \u0443 \u0432\u0430\u0448\u043E\u043C\u0443 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0456.","SVG format":"\u0424\u043E\u0440\u043C\u0430\u0442 SVG","SVG File":"\u0424\u0430\u0439\u043B SVG","Description should be no more than 250 letters":"\u041E\u043F\u0438\u0441 \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0430\u0442\u0438 \u043D\u0435 \u0431\u0456\u043B\u044C\u0448 250 \u043B\u0438\u0441\u0442\u0456\u0432\u043E\u043A","The file save operation has timed out. Try again and check your Internet connection.":"\u041E\u043F\u0435\u0440\u0430\u0446\u0456\u044F \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0443 \u0437\u0430\u0442\u044F\u0433\u043D\u0443\u043B\u0430\u0441\u044C. \u041F\u043E\u0432\u0442\u043E\u0440\u0456\u0442\u044C \u0457\u0457 \u043F\u0456\u0437\u043D\u0456\u0448\u0435 \u0456 \u043F\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435 \u0432\u0430\u0448\u0435, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0456\u043D\u0442\u0435\u0440\u043D\u0435\u0442 \u0437'\u0454\u0434\u043D\u0430\u043D\u043D\u044F.","Export Netlist":"\u0415\u043A\u0441\u043F\u043E\u0440\u0442 \u043F\u0435\u0440\u0435\u043B\u0456\u043A\u0443 \u0437'\u0454\u0434\u043D\u0430\u043D\u043D\u044C","Coming soon":"\u041D\u0435\u0437\u0430\u0431\u0430\u0440\u043E\u043C \u0437'\u044F\u0432\u0438\u0442\u044C\u0441\u044F","No tool":"\u041D\u0435\u043C\u0430 \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430","Help us translate into your language":"\u0414\u043E\u043F\u043E\u043C\u043E\u0436\u0456\u0442\u044C \u043D\u0430\u043C \u043F\u0435\u0440\u0435\u043A\u043B\u0430\u0441\u0442\u0438 \u043D\u0430 \u0432\u0430\u0448\u0443 \u043C\u043E\u0432\u0443",Pad:"\u041F\u043B\u043E\u0449\u0438\u043D\u043A\u0430","Via/Hole":"\u041F\u0435\u0440\u0435\u0445\u0456\u0434/\u041E\u0442\u0432\u0456\u0440","PCB Layers":"\u0428\u0430\u0440 \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0445 \u043F\u0440\u043E\u0432\u0456\u0434\u043D\u0438\u043A\u0456\u0432","Order PCB":"\u0417\u0430\u043C\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u043E\u0457 \u043F\u043B\u0430\u0442\u0438",Share:"\u041D\u0430\u0434\u0430\u0442\u0438",Free:"\u0412\u0456\u043B\u044C\u043D\u0435",Small:"\u041C\u0430\u043B\u0438\u0439",Medium:"\u0421\u0435\u0440\u0435\u0434\u043D\u0456\u0439",Big:"\u0412\u0435\u043B\u0438\u043A\u0438\u0439",Embed:"\u0412\u0431\u0443\u0434\u043E\u0432\u0430\u043D\u0438\u0439",URL:"\u0406\u043D\u0442\u0435\u0440\u043D\u0435\u0442 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",BBCode:"BB \u043A\u043E\u0434",PNG:"\u0424\u043E\u0440\u043C\u0430\u0442 PNG","Exporting as":"\u0415\u043A\u0441\u043F\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u044F\u043A","Exporting as image":"\u0415\u043A\u0441\u043F\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u044F\u043A \u043C\u0430\u043B\u044E\u043D\u043E\u043A","Exporting as {0}SVG{1} file.":"\u0415\u043A\u0441\u043F\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u044F\u043A {0}SVG{1} \u0444\u0430\u0439\u043B.","Exporting as pdf is recommended: pdf gives good quality printed output and a small file size.":"\u0415\u043A\u0441\u043F\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u044F\u043A pdf \u0444\u0430\u0439\u043B, \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0454\u043C\u043E: \u0432\u0456\u043D \u043C\u0430\u0454 \u0445\u043E\u0440\u043E\u0448\u0443 \u044F\u043A\u0456\u0441\u0442\u044C \u0434\u0440\u0443\u043A\u0443 \u043D\u0430 \u043F\u0440\u0438\u043D\u0442\u0435\u0440\u0456 \u0456 \u043D\u0435\u0432\u0435\u043B\u0438\u043A\u0438\u0439 \u0440\u0430\u0437\u043C\u0456\u0440 \u0444\u0430\u0439\u043B\u0443.","Gerber...":"Gerber \u0444\u043E\u0440\u043C\u0430\u0442...","PenWidth-Increase:":"\u0417\u0431\u0456\u043B\u044C\u0448\u0438\u0442\u0438 \u0442\u043E\u0432\u0449\u0438\u043D\u0443 \u043F\u0435\u0440\u0430:","Create a new Project...":"\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u043D\u043E\u0432\u0438\u0439 \u043F\u0440\u043E\u0435\u043A\u0442...","Create a new Schematic":"\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u043D\u043E\u0432\u0443 \u0441\u0445\u0435\u043C\u0443","Create a new Schematic Lib":"\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u043D\u043E\u0432\u0443 \u0431\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0443 \u0441\u0445\u0435\u043C","Create a new Spice Symbol":"\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u043D\u043E\u0432\u0438\u0439 \u0441\u043F\u0435\u0446 \u0441\u0438\u043C\u0432\u043E\u043B","Create a new Spice Subckt":"\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u043D\u043E\u0432\u0438\u0439 \u0431\u043B\u043E\u043A","Create a new PCB":"\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u043D\u043E\u0432\u0443 \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0443 \u043F\u043B\u0430\u0442\u0443","Create a new PCB Lib":"\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u043D\u043E\u0432\u0443 \u0431\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0443 \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0445 \u043F\u043B\u0430\u0442","Export your file, then print it yourself.":"\u0415\u043A\u0441\u043F\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0444\u0430\u0439\u043B, \u0430 \u043F\u043E\u0442\u0456\u043C \u043D\u0430\u0434\u0440\u0443\u043A\u0443\u0432\u0430\u0442\u0438 \u0439\u043E\u0433\u043E \u0441\u0430\u043C\u043E\u0441\u0442\u0456\u0439\u043D\u043E.","Trace width is too small":"\u0422\u043E\u0432\u0449\u0438\u043D\u0430 \u0434\u043E\u0440\u0456\u0436\u043A\u0438 \u0437\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0430","Images Attribute":"\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u0438 \u043C\u0430\u043B\u044E\u043D\u043A\u0430","Connect Pad to Pad":"\u0417'\u0454\u0434\u043D\u0430\u0442\u0438 \u043F\u043B\u043E\u0449\u0438\u043D\u043A\u0443 \u0437 \u043F\u043B\u043E\u0449\u0438\u043D\u043A\u043E\u044E","Copper Area":"\u041C\u0435\u0442\u0430\u043B\u0456\u0437\u043E\u0432\u0430\u043D\u0430 \u043E\u0431\u043B\u0430\u0441\u0442\u044C",Dimension:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C","Contribute to EasyEDA":"\u0421\u043F\u0440\u0438\u044F\u043D\u043D\u044F EasyEDA","Please check that you have used Wire and not Line to connect electrical elements.":"\u041C\u043E\u0436\u043B\u0438\u0432\u043E \u0412\u0430\u043C \u043F\u043E\u0442\u0440\u0456\u0431\u043D\u043E \u0441\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u0442\u0438\u0441\u044F \u043F\u0440\u043E\u0432\u0456\u0434\u043D\u0438\u043A\u043E\u043C, \u0430 \u043D\u0435 \u043F\u043E\u043B\u0456\u043B\u0456\u043D\u0456\u0454\u044E, \u0434\u043B\u044F \u0437'\u0454\u0434\u043D\u0430\u043D\u043D\u044F \u0435\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u043D\u0438\u0445 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0456\u0432.","PCB Fabrication Prices & capabilities":"\u0412\u0438\u0433\u043E\u0442\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u0434\u0440\u0443\u043A\u043E\u0432\u0430\u043D\u0438\u0445 \u043F\u043B\u0430\u0442: \u0446\u0456\u043D\u0438 \u0438 \u043C\u043E\u0436\u043B\u0438\u0432\u043E\u0441\u0442\u0456","Flip all texts on bottom layer":"\u0412\u0456\u0434\u0431\u0438\u0442\u0438 \u0432\u0435\u0441\u044C \u0442\u0435\u043A\u0441\u0442 \u0434\u043B\u044F \u043D\u0438\u0436\u043D\u0456\u0445 \u0448\u0430\u0440\u0456\u0432","EasyEDA Libs":"\u0411\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0438 EasyEDA","Your parter's email":"\u0410\u0434\u0440\u0435\u0441\u0438 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u0438 \u0432\u0430\u0448\u0438\u0445 \u043F\u0430\u0440\u0442\u043D\u0435\u0440\u0456\u0432","Create New Document":"\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u043D\u043E\u0432\u0438\u0439 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442","general Package":"\u043E\u0441\u043D\u043E\u0432\u043D\u0438\u0439 \u041F\u0430\u043A\u0435\u0442","General Packages":"\u041E\u0441\u043D\u043E\u0432\u043D\u0438\u0439 \u041F\u0430\u043A\u0435\u0442","favorite Package":"\u043E\u0431\u0440\u0430\u043D\u0438\u0439 \u041F\u0430\u043A\u0435\u0442","Through Hole":"\u041D\u0430\u0441\u043A\u0440\u0456\u0437\u043D\u0438\u0439 \u043E\u0442\u0432\u0456\u0440","Surface Mount":"\u041F\u043E\u0432\u0435\u0440\u0445\u043D\u0435\u0432\u0438\u0439 \u043C\u043E\u043D\u0442\u0430\u0436","Multi-Layer":"\u0411\u0430\u0433\u0430\u0442\u043E-\u0448\u0430\u0440\u043E\u0432\u0430","Markdown Syntax":"\u0421\u043F\u0440\u043E\u0449\u0435\u043D\u0438\u0439 \u0441\u0438\u043D\u0442\u0430\u043A\u0441\u0438\u0441","Read only":"\u0422\u0456\u043B\u044C\u043A\u0438 \u0447\u0438\u0442\u0430\u043D\u043D\u044F","Read/Write":"\u0427\u0438\u0442\u0430\u043D\u043D\u044F/\u0417\u0430\u043F\u0438\u0441\u0443\u0432\u0430\u043D\u043D\u044F","More Libraries...":"\u0429\u0435 \u0431\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0438...","Decompress failed!":"\u041F\u043E\u043C\u0438\u043B\u043A\u0430 \u0440\u043E\u0437\u043F\u0430\u043A\u0443\u0432\u0430\u043D\u043D\u044F!",User:"\u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447"};var Xoi={555:"555 gi\u1EDD",User:"Ng\u01B0\u1EDDi d\xF9ng","Join...":"Tham gia...","Login...":"\u0110\u0103ng nh\u1EADp...","Log in":"\u0110\u0103ng nh\u1EADp",Logout:"\u0110\u0103ng xu\u1EA5t","Change password...":"\u0110\u1ED5i m\u1EADt kh\u1EA9u...","User Preference":"\u01AFu ti\xEAn ng\u01B0\u1EDDi s\u1EED d\u1EE5ng",Crash:"Kh\xF4i ph\u1EE5c d\u1EEF li\u1EC7u d\u1EF1 ph\xF2ng...","Invite friends...":"M\u1EDDi b\u1EA1n b\xE8...",Language:"Ng\xF4n ng\u1EEF","Language Setting":"C\xE0i \u0111\u1EB7t ng\xF4n ng\u1EEF","Ti\u1EBFng Vi\u1EC7t":"Vietnamese\uFF08\u8D8A\u5357\u8BED\uFF09",English:"English (\u82F1\u8BED)","Polski (Polish)":"Polski (\u6CE2\u5170\u8BED)","Deutsch (German)":"Deutsch (\u5FB7\u8BED)","Fran\xE7ais (French)":"Fran\xE7aise (\u6CD5\u8BED)","\u7B80\u4F53\u4E2D\u6587 (Chinese - Simplified)":"\u7B80\u4F53\u4E2D\u6587","\u6B63\u9AD4\u4E2D\u6587 (Chinese - Traditional)":"\u7E41\u4F53\u4E2D\u6587","\uD55C\uAD6D\uC5B4 (Korean)":"\uD55C\uAD6D\uC5B4 (\u97E9\u8BED)","\u65E5\u672C\u8A9E (Japanese)":"\u65E5\u672C\u8A9E","Document Recovery":"Ph\u1EE5c h\u1ED3i t\xE0i li\u1EC7u","Your Preferences Information":"Th\xF4ng tin \u01AFu \u0111\xE3i c\u1EE7a b\u1EA1n",File:"T\u1EADp tin",New:"M\u1EDBi","Project...":"D\u1EF1 \xE1n...",Schematic:"S\u01A1 \u0111\u1ED3","Spice Symbol":"K\xFD hi\u1EC7u Spice","Spice Subckt":"Ti\u1EC3u m\u1EA1ch","PCB Lib":"Th\u01B0 vi\u1EC7n PCB","Schematic Module":"M\xF4-\u0111un Schematic","PCB Module":"M\xF4 \u0111un PCB","EasyEDA File...":"T\u1EC7p EasyEDA...","Save...":"Ti\u1EBFt ki\u1EC7m...","Save As...":"L\u01B0u th\xE0nh...","Save As Module...":"L\u01B0u d\u01B0\u1EDBi d\u1EA1ng Module...",Print:"In","Export Document":"T\xE0i li\u1EC7u xu\u1EA5t kh\u1EA9u","Eagle...":"chim \u01B0ng...","Pads...":"T\u1EA5m l\xF3t...",Import:"Nh\u1EADp kh\u1EA9u",Edit:"Ch\u1EC9nh s\u1EEDa",Undo:"Ho\xE0n t\xE1c",Redo:"L\xE0m l\u1EA1i",Cut:"C\u1EAFt t\u1EC9a",Copy:"Sao ch\xE9p",Paste:"D\xE1n",Select:"L\u1EF1a ch\u1ECDn",Delete:"X\xF3a",Clear:"X\xF3a",Move:"Di chuy\u1EC3n",Drag:"K\xE9o","Bring to Front":"Di chuy\u1EC3n l\xEAn \u0111\u1EA7u","Send to Back":"Di chuy\u1EC3n xu\u1ED1ng d\u01B0\u1EDBi c\xF9ng",Align:"C\u0103n ch\u1EC9nh","Align Left":"C\u0103n tr\xE1i","Align Right":"C\u0103n ch\u1EC9nh ph\u1EA3i","Align Top":"C\u0103n tr\xEAn c\xF9ng","Align Bottom":"C\u0103n l\u1EC1 d\u01B0\u1EDBi","Align Horizontal Centers":"C\u0103n ch\u1EC9nh Trung t\xE2m Ngang","Align Vertical Centers":"C\u0103n ch\u1EC9nh Trung t\xE2m D\u1ECDc","Distribute Horizontally":"Ph\xE2n ph\u1ED1i theo chi\u1EC1u ngang","Distribute Vertically":"Ph\xE2n ph\u1ED1i theo chi\u1EC1u d\u1ECDc","Distribute Left Edges Equidistantly":"Ph\xE2n ph\u1ED1i c\xE1c c\u1EA1nh b\xEAn tr\xE1i m\u1ED9t c\xE1ch c\xE2n b\u1EB1ng","Distribute Top Edges Equidistantly":"Ph\xE2n ph\u1ED1i c\xE1c c\u1EA1nh tr\xEAn c\xF9ng m\u1ED9t c\xE1ch c\xE2n b\u1EB1ng","Align Grid":"C\u0103n l\u1EC1 l\u01B0\u1EDBi",Rotate:"Quay","Rotate Left":"Xoay ng\u01B0\u1EE3c chi\u1EC1u kim \u0111\u1ED3ng h\u1ED3","Rotate Right":"Xoay ph\u1EA3i","Flip Horizontal":"Xo ngang ngang","Flip Vertical":"L\u1EADt d\u1ECDc","Rotate and Flip":"Xoay v\xE0 L\u1EADt","Group/Ungroup":"Nh\xF3m / Nh\xF3m nh\xF3m",View:"L\u01B0\u1EE3t xem",Find:"T\xECm th\u1EA5y","Zoom In":"Ph\xF3ng to","Zoom Out":"Thu nh\u1ECF","Fit in Window":"Ph\xF9 h\u1EE3p trong c\u1EEDa s\u1ED5",Refresh:"L\xE0m t\u01B0\u01A1i",Snap:"H\u1EA5p ph\u1EE5","Cross Cursor":"Con tr\u1ECF",Toolbars:"Thanh c\xF4ng c\u1EE5","Drawing Tools":"C\xF4ng c\u1EE5 v\u1EBD","Wiring Tools":"C\xF4ng c\u1EE5 L\u1EAFp","Power Objects":"C\xE1c \u0111\u1ED1i t\u01B0\u1EE3ng quy\u1EC1n l\u1EF1c","PCB Tools":"C\xF4ng c\u1EE5 PCB","PCBLib Tools":"C\xF4ng c\u1EE5 PCBLib","Layers Tool":"C\xF4ng c\u1EE5 Layers","Layer Setting":"C\xE0i \u0111\u1EB7t l\u1EDBp","Net Visible":"M\u1EA1ng hi\u1EC3n th\u1ECB",Auto:"T\u1EF1 \u0111\u1ED9ng","Digital Objects":"\u0110\u1ED1i t\u01B0\u1EE3ng k\u1EF9 thu\u1EADt s\u1ED1",Tools:"C\xF4ng c\u1EE5","Arc Center":"Trung t\xE2m Arc",Place:"N\u01A1i",Arc:"V\xF2ng cung","Elliptical Arc":"Arc Elliptical",Circle:"V\xF2ng tr\xF2n",Pie:"B\xE1nh",Line:"H\xE0ng",Rectangle:"H\xECnh ch\u1EEF nh\u1EADt","Round Rectangle":"H\xECnh ch\u1EEF nh\u1EADt tr\xF2n",Polygon:"\u0110a gi\xE1c",Path:"Con \u0111\u01B0\u1EDDng",Graphic:"\u0110\u1ED3 h\u1ECDa",Bus:"Xe bu\xFDt","Bus Entry":"Giao di\u1EC7n con xe bu\xFDt",Junction:"N\xFAt","Net Port":"C\u1EA3ng Net","Voltage Probe":"\u0110i\u1EC7n \xE1p Probe","Power Port":"C\u1ED5ng \u0111i\u1EC7n",Wire:"D\xE2y \u0111i\u1EC7n",Annotation:"Ch\xFA th\xEDch",Track:"C\xE1p",Image:"H\xECnh \u1EA3nh","Arrow Head":"M\u0169i t\xEAn \u0111\u1EA7u",Arrow:"M\u0169i t\xEAn","No Connect Flag":"Kh\xF4ng g\u1EAFn c\u1EDD",Pin:"Ghim","Lock Selected Objects":"Kh\xF3a c\xE1c \u0111\u1ED1i t\u01B0\u1EE3ng \u0111\xE3 ch\u1ECDn",Miscellaneous:"Kh\xE1c","Find Component":"T\xECm H\u1EE3p ph\u1EA7n",Component:"H\u1EE3p ph\u1EA7n","Footprint...":"D\u1EA5u ch\xE2n...",Convert:"\u0110\u1ED5i","Convert to PCB":"Chuy\u1EC3n \u0111\u1ED5i sang PCB","Update PCB":"C\u1EADp nh\u1EADt PCB","Shortcut Keys Setting":"C\xE0i \u0111\u1EB7t ph\xEDm t\u1EAFt","Edit Symbol...":"Ch\u1EC9nh s\u1EEDa thi\u1EBFt b\u1ECB...","Highlight Net...":"\u0110\xE1nh d\u1EA5u Net...",Simulate:"M\xF4 ph\u1ECFng",Simulation:"M\xF4 ph\u1ECFng","Simulation Result":"K\u1EBFt qu\u1EA3 M\xF4 ph\u1ECFng","Simulation Results...":"K\u1EBFt qu\u1EA3 M\xF4 ph\u1ECFng...","Simulate this Sheet":"M\xF4 ph\u1ECFng t\u1EA5m","Simulate this Project":"M\xF4 ph\u1ECFng Schematic","Run the Document":"Ch\u1EA1y t\xE0i li\u1EC7u","Run the Project...":"Ch\u1EA1y d\u1EF1 \xE1n...","Netlist for Document":"Netlist cho t\xE0i li\u1EC7u","Netlist for Project":"Netlist cho d\u1EF1 \xE1n","Spice...":"Gia v\u1ECB m\xF4 ph\u1ECFng...","Protel/Altium for PCB...":"Protel / Altium cho PCB...","Pads for PCB...":"T\u1EA5m l\xF3t...","FreePCB for PCB...":"FreePCB cho PCB...","Eagle for PCB...":"Eagle cho PCB...","Kicad for PCB...":"Kicad cho PCB...","OrCAD for PCB...":"OrCAD cho PCB...","BOM report...":"B\xE1o c\xE1o c\u1EE7a BOM...","BOM for Document...":"BOM cho t\xE0i li\u1EC7u...","BOM for Project...":"BOM cho d\u1EF1 \xE1n...","Pin Map...":"B\u1EA3n \u0111\u1ED3 Pin...","Edit Subckt...":"Ch\u1EC9nh s\u1EEDa Subckt...","Layer Options...":"T\xF9y ch\u1ECDn L\u1EDBp...","Design Rule Setting...":"Thi\u1EBFt l\u1EADp quy t\u1EAFc thi\u1EBFt k\u1EBF...","Export Pick and Place File":"Xu\u1EA5t t\u1EC7p T\u1ECDa \u0111\u1ED9","Measure Distance":"Kho\u1EA3ng c\xE1ch \u0111o l\u01B0\u1EDDng","New Origin":"Ngu\u1ED3n g\u1ED1c m\u1EDBi","Generates Pick and Place File":"T\u1EA1o t\u1EC7p ch\u1ECDn v\xE0 v\u1ECB tr\xED","Unroute All":"Xo\xE1 d\xE2y \u0111i\u1EC7n","Auto Router":"\u0110\u1ECBnh tuy\u1EBFn t\u1EF1 \u0111\u1ED9ng","Add SubPart":"Th\xEAm SubPart","Add Member":"Th\xEAm th\xE0nh vi\xEAn","Annotate...":"Ch\xFA th\xEDch...",Config:"C\u1EA5u h\xECnh",Help:"C\u1EE9u gi\xFAp",About:"Trong kho\u1EA3ng","Shortcut Keys":"Ph\xEDm t\u1EAFt",FAQ:"C\xE2u h\u1ECFi th\u01B0\u1EDDng g\u1EB7p",Tutorials:"H\u01B0\u1EDBng d\u1EABn","Basic Tutorials":"H\u01B0\u1EDBng d\u1EABn c\u01A1 b\u1EA3n","Video Tutorials":"Video h\u01B0\u1EDBng d\u1EABn","Essential Check":"Ki\u1EC3m tra c\u01A1 b\u1EA3n","Simulation Tutorials":"H\u01B0\u1EDBng d\u1EABn M\xF4 ph\u1ECFng","Updated Instructions":"H\u01B0\u1EDBng d\u1EABn c\u1EADp nh\u1EADt","EasyEDA API":"API EasyEDA","Open File Format":"M\u1EDF \u0110\u1ECBnh d\u1EA1ng T\u1EC7p","About Upgrade":"Gi\u1EDBi thi\u1EC7u v\u1EC1 N\xE2ng c\u1EA5p","Github Repository":"Kho Github","User Forum":"Di\u1EC5n \u0111\xE0n ng\u01B0\u1EDDi d\xF9ng","Feature Request":"Y\xEAu c\u1EA7u t\xEDnh n\u0103ng","Feature Requests":"Y\xEAu c\u1EA7u t\xEDnh n\u0103ng","Bug Report":"B\xE1o c\xE1o l\u1ED7i","Bug Reports":"B\xE1o c\xE1o l\u1ED7i","Tips & Skill":"M\u1EB9o & K\u1EF9 n\u0103ng","Ask for Help":"Y\xEAu c\u1EA7u gi\xFAp \u0111\u1EE1","Schematic Capture":"S\u01A1 \u0111\u1ED3","Spice Simulation":"M\xF4 ph\u1ECFng gia v\u1ECB","PCB Layout":"Giao di\u1EC7n PCB","General Discussion":"th\u1EA3o lu\u1EADn chung","More Information":"Th\xEAm th\xF4ng tin","Privacy Policy":"Ch\xEDnh s\xE1ch b\u1EA3o m\u1EADt","Terms of Service":"\u0110i\u1EC1u kho\u1EA3n d\u1ECBch v\u1EE5","Plans and Pricing":"K\u1EBF ho\u1EA1ch v\xE0 Gi\xE1 c\u1EA3","Contribute to EasyEDA":"\u0110\xF3ng g\xF3p cho EasyEDA",Acknowledgments:"L\u1EDDi c\u1EA3m \u01A1n","Help Translate":"Tr\u1EE3 gi\xFAp D\u1ECBch","About Us":"V\u1EC1 ch\xFAng t\xF4i","Contact Us":"Li\xEAn h\u1EC7 ch\xFAng t\xF4i","Change History":"thay \u0111\u1ED5i l\u1ECBch s\u1EED","Join Us":"Tham gia v\u1EDBi ch\xFAng t\xF4i","PCB Fabrication":"Ch\u1EBF t\u1EA1o PCB","Order Capabilities":"Kh\u1EA3 n\u0103ng \u0110\u1EB7t h\xE0ng","Order Price":"Gi\xE1 \u0111\u1EB7t h\xE0ng","Order Essential Check":"Ki\u1EC3m tra Essential Essential","Order FAQ":"\u0110\u1EB7t c\xE2u h\u1ECFi th\u01B0\u1EDDng g\u1EB7p","Order Process":"Qu\xE1 tr\xECnh \u0111\u1EB7t h\xE0ng",Support:"\u1EE6ng h\u1ED9","Historical Records...":"Ghi ch\xE9p l\u1ECBch s\u1EED...",Extensions:"Ti\u1EC7n \xEDch m\u1EDF r\u1ED9ng","Order PCB...":"\u0110\u1EB7t h\xE0ng PCB...","Import Changes":"Nh\u1EADp Thay \u0111\u1ED5i",Press:"nh\u1EA5n","Project Main Page":"Trang ch\u1EE7 c\u1EE7a d\u1EF1 \xE1n","To switch to Full Screen":"\u0111\u1EC3 chuy\u1EC3n sang to\xE0n m\xE0n h\xECnh","Delete Selected":"X\xF3a \u0111\xE3 ch\u1ECDn","Generate Gerber and Drill Files":"T\u1EA1o t\u1EC7p Gerber v\xE0 Drill","Anonymous Files":"T\xE0i li\u1EC7u v\xF4 danh","Build PCB":"X\xE2y d\u1EF1ng PCB","System Libraries":"Th\u01B0 vi\u1EC7n h\u1EC7 th\u1ED1ng","Simulate...":"M\xF4 ph\u1ECFng","Terms of Service & Privacy Policy":"V\u1EC1 ch\xEDnh s\xE1ch b\u1EA3o m\u1EADt d\u1ECBch v\u1EE5","Help Topics":"Ch\u1EE7 \u0111\u1EC1 tr\u1EE3 gi\xFAp","SVG Source...":"Ngu\u1ED3n SVG...","EasyEDA Source...":"Ngu\u1ED3n EasyEDA...","Group these items as a SCHLIB/Symbol":"Nh\xF3m c\xE1c m\u1EE5c n\xE0y d\u01B0\u1EDBi d\u1EA1ng m\u1ED9t SCHLIB / Symbol","Group These Items As a Package":"Nh\xF3m nh\u1EEFng m\u1EE5c n\xE0y d\u01B0\u1EDBi d\u1EA1ng g\xF3i","Set Canvas Origin":"Canvas Xu\u1EA5t x\u1EE9","Document Setting":"C\xE0i \u0111\u1EB7t t\xE0i li\u1EC7u","Sheet Attributes":"Thu\u1ED9c t\xEDnh B\u1EA3ng","Set Board Outline":"\u0110\u1EB7t Ban ph\xE1c th\u1EA3o","Global Delete":"X\xF3a to\xE0n c\u1EA7u","Cross Probe":"L\u1EF1a ch\u1ECDn ch\xE9o","Cross Probe and Place":"Ph\xE2n ph\u1ED1i giao di\u1EC7n","Paper Size":"K\xEDch th\u01B0\u1EDBc gi\u1EA5y",Register:"Ghi danh","User Center":"Trung t\xE2m Ng\u01B0\u1EDDi d\xF9ng",Properties:"T\xEDnh ch\u1EA5t",Attributes:"Thu\u1ED9c t\xEDnh",Apply:"\u1EE8ng d\u1EE5ng","Save as default":"L\u01B0u m\u1EB7c \u0111\u1ECBnh","Canvas Attributes":"Thu\u1ED9c t\xEDnh Canvas",Width:"Chi\u1EC1u r\u1ED9ng",Height:"Chi\u1EC1u cao",Background:"L\xFD l\u1ECBch","Visible Grid":"L\u01B0\u1EDBi hi\u1EC3n th\u1ECB","Grid Visible":"L\u01B0\u1EDBi nh\xECn th\u1EA5y \u0111\u01B0\u1EE3c","Grid Color":"M\xE0u l\u01B0\u1EDBi","Grid Size":"K\xEDch th\u01B0\u1EDBc l\u01B0\u1EDBi","Grid Style":"Ki\u1EC3u l\u01B0\u1EDBi","Stroke Color":"M\xE0u s\u1EAFc","Stroke Width":"\u0110\u1ED9 d\u1EA7y","Stroke Style":"Ki\u1EC3u d\xE1ng.","Fill Color":"\u0110\u1ED5 \u0111\u1EA7y m\xE0u s\u1EAFc.","Selected Objects":"\u0110\u1ED1i t\u01B0\u1EE3ng \u0111\u01B0\u1EE3c ch\u1ECDn","Frame Size":"K\xEDch th\u01B0\u1EDBc t\u1ED5ng th\u1EC3","Snap size when pressing the Alt key":"K\xEDch th\u01B0\u1EDBc snap khi nh\u1EA5n ph\xEDm Alt","Prefix Start":"Ti\u1EC1n b\u1EAFt \u0111\u1EA7u","Text Attributes":"Thu\u1ED9c t\xEDnh v\u0103n b\u1EA3n",Text:"B\u1EA3n v\u0103n",Color:"M\xE0u","Font Family":"Gia \u0111\xECnh ch\u1EEF","Font Size":"C\u1EE1 ch\u1EEF","Font Weight":"Tr\u1ECDng l\u01B0\u1EE3ng Ph\xF4ng ch\u1EEF","Font Style":"Phong c\xE1ch Ph\xF4ng ch\u1EEF","Text Type":"D\u1EA1ng v\u0103n b\u1EA3n","Text Anchor":"V\u0103n b\u1EA3n Anchor",Baseline:"\u0110\u01B0\u1EDDng c\u01A1 s\u1EDF","(Auto)":"T\u1EF1 \u0111\u1ED9ng","(auto)":"T\u1EF1 \u0111\u1ED9ng",start:"\u0110\u1EA7u",middle:"Trung",end:"\u0110u\xF4i",inherit:"th\u1EEBa k\u1EBF",comment:"Nh\u1EADn x\xE9t",spice:"M\xF4 ph\u1ECFng Spice",normal:"b\xECnh th\u01B0\u1EDDng",italic:"ch\u1EEF nghi\xEAng",Default:"M\u1EB7c \u0111\u1ECBnh",Add:"Th\xEAm v\xE0o",bold:"D\u0169ng c\u1EA3m",bolder:"d\u1EDF nh\u1EA5t",lighter:"Nh\u1ECF h\u01A1n","Failed to parse the font file: {name}":"Kh\xF4ng th\u1EC3 ph\xE2n t\xEDch c\xFA ph\xE1p t\u1EC7p font: {name}","Please select a font file of ttf or woff format.":"Vui l\xF2ng ch\u1ECDn t\u1EC7p ph\xF4ng c\xF3 \u0111\u1ECBnh d\u1EA1ng ttf ho\u1EB7c woff.","Add font success: {name}":"Th\xEAm th\xE0nh c\xF4ng font: {name}","Failed to add font: {name}":"Kh\xF4ng th\u1EC3 th\xEAm ph\xF4ng ch\u1EEF: {name}","Failed to parse cached font: {name}":"Kh\xF4ng ph\xE2n t\xEDch \u0111\u01B0\u1EE3c ph\xF4ng l\u01B0u tr\u1EEF trong b\u1ED9 nh\u1EDB cache: {name}","Load cached fonts fail!":"T\u1EA3i c\xE1c ph\xF4ng \u0111\xE3 l\u01B0u trong b\u1ED9 nh\u1EDB cache kh\xF4ng th\xE0nh c\xF4ng!","X Radius":"B\xE1n k\xEDnh X","Y Radius":"B\xE1n k\xEDnh y","Pin Attributes":"Thu\u1ED9c t\xEDnh Pins",Orientation:"H\u01B0\u1EDBng","0 degrees":"0 \u0111\u1ED9.","45 degrees":"45 \u0111\u1ED9.","90 degrees":"90 \u0111\u1ED9.","180 degrees":"180 \u0111\u1ED9.","270 degrees":"270 \u0111\u1ED9.","Free Angle":"Do g\xF3c","Start X":"\u0110i\u1EC3m kh\u1EDFi \u0111\u1EA7u X","Start Y":"\u0110i\u1EC3m kh\u1EDFi \u0111\u1EA7u Y",Length:"Chi\u1EC1u d\xE0i",Name:"T\xEAn h\u1EE3p ph\u1EA7n",name:"T\xEAn",Number:"S\u1ED1","Spice Pin Order":"Spice s\u1ED1 \u1ED1ng ch\xE2n","Name Display":"Hi\u1EC7n t\xEAn","Number Display":"Hi\u1EC7n s\u1ED1",Clock:"\u0110\u1ED3ng h\u1ED3",Show:"Hi\u1EC3n th\u1ECB Pins",Electric:"\u0110\u1EB7c t\xEDnh \u0111i\u1EC7n","Junction Attributes":"Thu\u1ED9c t\xEDnh Node","X Location":"Ph\u1ED1i h\u1EE3p X","Y Location":"Ph\u1ED1i h\u1EE3p Y",Size:"K\xEDch th\u01B0\u1EDBc","Net Label":"Nh\xE3n m\u1EA1ng","Part Attributes":"Thu\u1ED9c t\xEDnh th\xE0nh ph\u1EA7n",Prefix:"Ti\u1EC1n t\u1ED1","Image Attributes":"Thu\u1ED9c t\xEDnh \u1EA3nh","Image URL":"H\xECnh \u1EA3nh m\u1ED9t URL","Input an image URL":"H\xE3y nh\u1EADp \u0111\u1ECBa ch\u1EC9 URL \u1EA3nh","Invalid image URL":"H\xECnh \u1EA3nh m\u1ED9t URL kh\xF4ng h\u1EE3p l\u1EC7","Failed to load the image":"T\u1EA3i h\xECnh \u1EA3nh th\u1EA5t b\u1EA1i","Image URL contains special characters":"\u1EA2nh website ch\u1EE9a c\xE1c k\xFD t\u1EF1 \u0111\u1EB7c bi\u1EC7t.","From Web URL":"T\u1EEB Web URL","From Local Computer":"T\u1EEB m\xE1y t\xEDnh \u0111\u1ECBa ph\u01B0\u01A1ng","Please select a png/gif/jpg file.":"Vui l\xF2ng ch\u1ECDn m\u1ED9t t\u1EC7p tin png / gif / jpg.","Please select an image file.":"Vui l\xF2ng ch\u1ECDn m\u1ED9t t\u1EC7p h\xECnh \u1EA3nh","Select an image file":"Ch\u1ECDn t\u1EC7p h\xECnh \u1EA3nh","Insert Image to PCB":"Ch\xE8n h\xECnh \u1EA3nh v\xE0o PCB",Tolerance:"L\xF2ng khoan dung",tolerance:"L\xF2ng khoan dung",capacitance:"\u0111i\u1EC7n dung",frequency:"t\u1EA7n s\u1ED1","Rated Voltage":"\u0110i\u1EC7n \xE1p \u0111\u1ECBnh m\u1EE9c","Rated Current":"\u0110\xE1nh gi\xE1 hi\u1EC7n t\u1EA1i",resistance:"Kh\xE1ng chi\u1EBFn",inductance:"H\u1EC7 s\u1ED1 t\u1EF1 c\u1EA3m","Operating Temperature":"Nhi\u1EC7t \u0111\u1ED9 l\xE0m vi\u1EC7c","Shape Invert":"\u0110\u1EA3o ng\u01B0\u1EE3c h\xECnh \u1EA3nh","Image Size":"K\xEDch th\u01B0\u1EDBc \u1EA3nh","Color Tolerance":"Dung sai m\xE0u","Simplify Level":"\u0110\u01A1n gi\u1EA3n m\u1EE9c",Units:"C\xE1c \u0111\u01A1n v\u1ECB","Snap Size":"K\xEDch th\u01B0\u1EDBc l\u01B0\u1EDBi",Other:"Kh\xE1c","Routing Width":"Chi\u1EC1u r\u1ED9ng d\xF2ng","Routing Angle":"G\xF3c \u0111\u01B0\u1EDDng",Grid:"L\u01B0\u1EDBi \u0111i\u1EC7n","Copper Zone":"\u0110\u1ED3ng Khu",Visible:"C\xF3 th\u1EC3 nh\xECn th\u1EA5y",Invisible:"Kh\xF4ng hi\u1EC3n th\u1ECB",inch:"Inch",mm:"Mm",pixel:"Pixel","Track Properties":"T\xEDnh ch\u1EA5t d\xE2y",Layer:"L\u1EDBp",Net:"M\u1EA1ng l\u01B0\u1EDBi","End X":"K\u1EBFt th\xFAc X","End Y":"K\u1EBFt th\xFAc Y",ID:"S\u1ED1 s\xEA ri","Pad Properties":"Thu\u1ED9c t\xEDnh Pad",Shape:"H\xECnh d\u1EA1ng","Hole(D)":"\u0110\u01B0\u1EDDng k\xEDnh l\u1ED7","Center X":"Trung t\xE2m X","Center Y":"Trung t\xE2m Y",Round:"V\xF2ng",Oval:"H\xECnh b\u1EA7u d\u1EE5c","Hole Shape":"H\xECnh d\u1EA1ng l\u1ED7",Slot:"Khe","Hole(Length)":"Chi\u1EC1u d\xE0i l\u1ED7",Plated:"\u0110\u1ED3ng",None:"Kh\xF4ng","Via Properties":"Th\xF4ng qua t\xEDnh ch\u1EA5t l\u1ED7",Diameter:"\u0110\u01B0\u1EDDng k\xEDnh","Hole Properties":"Thu\u1ED9c t\xEDnh Hole","Text Properties":"Thu\u1ED9c t\xEDnh v\u0103n b\u1EA3n","Line Width":"Chi\u1EC1u r\u1ED9ng d\xF2ng",Rotation:"G\xF3c quay","Dimension Attributes":"Thu\u1ED9c t\xEDnh k\xEDch th\u01B0\u1EDBc","Footprint Attributes":"Thu\u1ED9c t\xEDnh g\xF3i","Prefix Display":"Hi\u1EC3n th\u1ECB s\u1ED1","Pin Name":"T\xEAn pin","Pin Number":"S\u1ED1 pin","Spice Pin Number":"Spice S\u1ED1 pin","Arc Properties":"T\xE0i s\u1EA3n Arc","Rect Properties":"Thu\u1ED9c t\xEDnh ch\u1EEF nh\u1EADt","Round radius":"B\xE1n k\xEDnh l\xE1t","Circle Properties":"Thu\u1ED9c t\xEDnh v\xF2ng tr\xF2n",Radius:"B\xE1n k\xEDnh","CopperArea Properties":"T\xE0i s\u1EA3n \u0111\u1ED3ng",Clearance:"Pitch","Pad Connection":"K\u1EBFt n\u1ED1i pad",Direct:"K\u1EBFt n\u1ED1i tr\u1EF1c ti\u1EBFp",Spoke:"N\xF3i","Keep Island":"Gi\u1EEF h\xF2n \u0111\u1EA3o","Fill Style":"\u0110i\u1EC1n ki\u1EC3u","CopperArea conflict: copper area outlines in same layer with different net names must not overlap":"M\xE2u thu\u1EABn xung quanh \u0111\u1ED3ng: Di\u1EC7n t\xEDch \u0111\u1ED3ng b\u1EB1ng \u0111\u1ED3ng b\u1EB1ng, bi\xEAn gi\u1EDBi kh\xF4ng th\u1EC3 tr\xF9ng nhau","Please create board outline first.":"Xin vui l\xF2ng t\u1EA1o m\u1ED9t ranh gi\u1EDBi ban \u0111\u1EA7u","Board outlines are not closed.":"\u0110\u01B0\u1EDDng bi\xEAn c\u1EE7a b\u1EA3ng m\u1EA1ch kh\xF4ng \u0111\xF3ng","Rebuild CopperArea":"T\xE1i thi\u1EBFt v\xF9ng \u0111\u1ED3ng",Cutout:"R\u1ED7ng",NPTH:"Kh\xF4ng l\u1ED7 m\u1EA1",Solid:"\u0110\u1EA7y v\u1EDBi ch\u1EA5t r\u1EAFn","@@copperArea":{None:"Kh\xF4ng \u0111i\u1EC1n"},"Custom Attributes":"Thu\u1ED9c t\xEDnh t\xF9y ch\u1EC9nh","Add new parameter":"Th\xEAm th\xF4ng s\u1ED1 m\u1EDBi","Add New Parameter":"Th\xEAm c\xE1c th\xF4ng s\u1ED1 m\u1EDBi","Add New Supplier":"Th\xEAm nh\xE0 cung c\u1EA5p m\u1EDBi",Mounted:"G\u1EAFn",Unknown:"kh\xF4ng x\xE1c \u0111\u1ECBnh","Create an account":"T\u1EA1o m\u1ED9t t\xE0i kho\u1EA3n",Username:"T\xEAn ng\u01B0\u1EDDi d\xF9ng",Password:"M\u1EADt m\xE3","Confirm Password":"X\xE1c nh\u1EADn m\u1EADt kh\u1EA9u",Email:"E-mail","Please read this before you register":"Khuy\u1EBFn ngh\u1ECB \u0111\u1ECDc tr\u01B0\u1EDBc khi \u0111\u0103ng k\xFD","Hi {username}":"Xin ch\xE0o, {username}","Lost Password...":"Qu\xEAn m\u1EADt kh\u1EA9u...","Find the password using your email":"Truy xu\u1EA5t m\u1EADt kh\u1EA9u b\u1EB1ng th\u01B0",Login:"\u0110\u0103ng nh\u1EADp","Username or Email":"T\xEAn ng\u01B0\u1EDDi d\xF9ng ho\u1EB7c th\u01B0","Remember Me":"Nh\u1EDB t\xF4i","Third party":"B\xEAn th\u1EE9 ba","Login and Register":"\u0110\u0103ng nh\u1EADp v\xE0 \u0111\u0103ng k\xFD","Reset a password using your email":"Nh\u1EADp email \u0111\xE3 \u0111\u0103ng k\xFD c\u1EE7a b\u1EA1n, \u0111\u1EB7t l\u1EA1i m\u1EADt kh\u1EA9u c\u1EE7a b\u1EA1n","Your registered email":"\u0110\u0103ng k\xFD th\u01B0","Re-send an activation code to your email":"G\u1EEDi l\u1EA1i m\xE3 k\xEDch ho\u1EA1t th\u01B0","Invite friends to register":"M\u1EDDi b\u1EA1n b\xE8 \u0111\u1EC3 \u0111\u0103ng k\xFD","Your friend's email":"Th\u01B0 b\u1EA1n b\xE8","Add a new parameter":"Th\xEAm th\xF4ng s\u1ED1 t\xF9y ch\u1EC9nh",Key:"T\xEAn","Value.new_para":"Tham s\u1ED1","In BOM":"Th\xEAm v\xE0o BOM","Invalid key":"T\xEAn b\u1EA5t h\u1EE3p ph\xE1p","This field is required.":"H\u1ED9p nh\u1EADp n\xE0y l\xE0 b\u1EAFt bu\u1ED9c","Change your password":"Thay \u0111\u1ED5i m\u1EADt kh\u1EA9u","Old password":"M\u1EADt kh\u1EA9u c\u0169","New Password":"M\u1EADt kh\u1EA9u m\u1EDBi","Create a new project":"T\u1EA1o m\u1ED9t d\u1EF1 \xE1n m\u1EDBi","Save as a schematic":"L\u01B0u d\u01B0\u1EDBi d\u1EA1ng gi\u1EA3n \u0111\u1ED3","Save as a schematic Lib":"L\u01B0u d\u01B0\u1EDBi d\u1EA1ng t\u1EC7p th\u01B0 vi\u1EC7n gi\u1EA3n \u0111\u1ED3","Save as a spice Symbol":"L\u01B0u d\u01B0\u1EDBi d\u1EA1ng bi\u1EC3u t\u01B0\u1EE3ng Spice","Save as a spice subckt":"L\u01B0u d\u01B0\u1EDBi d\u1EA1ng m\u1EA1ch ph\u1EE5 Spice","YOU MUST CREATE A SPICE SYMBOL WITH EXACTLY THE SAME NAME AS THIS SUBCKT":"L\u01B0u \xFD r\u1EB1ng b\u1EA1n ph\u1EA3i t\u1EA1o m\u1ED9t bi\u1EC3u t\u01B0\u1EE3ng gia v\u1ECB c\xF3 c\xF9ng t\xEAn","Save as a PCB file":"L\u01B0u d\u01B0\u1EDBi d\u1EA1ng t\u1EC7p PCB","Save as a PCB Lib":"L\u01B0u d\u01B0\u1EDBi d\u1EA1ng t\u1EC7p th\u01B0 vi\u1EC7n PCB","Save as a Schematic Module":"L\u01B0u d\u01B0\u1EDBi d\u1EA1ng m\xF4-\u0111un s\u01A1 \u0111\u1ED3","Save as a PCB Module":"L\u01B0u d\u01B0\u1EDBi d\u1EA1ng m\xF4-\u0111un PCB",Title:"Ti\xEAu \u0111\u1EC1",Share:"Chia s\u1EBB",Visibility:"Kh\u1EA3 n\u0103ng hi\u1EC3n th\u1ECB","Allow Comments":"Cho ph\xE9p nh\u1EADn x\xE9t","Public (Anyone can see this project but only you can modify it.)":"C\xF4ng khai (ch\u1EC9 b\u1EA1n m\u1EDBi c\xF3 th\u1EC3 s\u1EEDa \u0111\u1ED5i d\u1EF1 \xE1n, m\u1ECDi ng\u01B0\u1EDDi c\xF3 th\u1EC3 nh\xECn th\u1EA5y n\xF3)","Private (Only you can see and modify this project)":"Ri\xEAng t\u01B0 (ch\u1EC9 b\u1EA1n m\u1EDBi c\xF3 th\u1EC3 xem v\xE0 s\u1EEDa \u0111\u1ED5i n\xF3)","Create new project success!":"X\xE2y d\u1EF1ng m\u1EDBi th\xE0nh c\xF4ng","You can now create files under this project":"B\xE2y gi\u1EDD b\u1EA1n c\xF3 th\u1EC3 t\u1EA1o t\xE0i li\u1EC7u theo d\u1EF1 \xE1n",Categories:"Th\u01B0 m\u1EE5c",Project:"K\u1EF9 thu\u1EADt","Short descript":"M\xF4 t\u1EA3 ng\u1EAFn",Content:"N\u1ED9i dung","Modify this project info.":"S\u1EEDa \u0111\u1ED5i th\xF4ng tin d\u1EF1 \xE1n","Modify this file info.":"S\u1EEDa \u0111\u1ED5i th\xF4ng tin t\xE0i li\u1EC7u",Notice:"L\u01B0u \xFD","Search for it before creating a new one.":"H\xE3y th\u1EED ki\u1EC3m tra tr\u01B0\u1EDBc khi t\u1EA1o","Manufacturer Part Number":"S\u1ED1 th\xE0nh ph\u1EA7n nh\xE0 s\u1EA3n xu\u1EA5t",Supplier:"Nh\xE0 cung c\u1EA5p",Or:"Ho\u1EB7c","Supplier Part Number":"S\u1ED1 ph\u1EA7n c\u1EE7a nh\xE0 cung c\u1EA5p","Datasheet/Supplier Link":"Li\xEAn k\u1EBFt Datasheet / Nh\xE0 cung c\u1EA5p","Clone your file":"Sao ch\xE9p t\u1EC7p c\u1EE7a b\u1EA1n","Attach a Subckt to this spice symbol":"Th\xEAm d\u1EEF li\u1EC7u m\xF4 h\xECnh m\xF4 ph\u1ECFng cho thi\u1EBFt b\u1ECB n\xE0y","Subckt string":"D\u1EEF li\u1EC7u m\xF4 h\xECnh","Design Manager":"Qu\u1EA3n l\xFD Thi\u1EBFt k\u1EBF",Components:"Ti\u1EC1n t\u1ED1 c\u1EE7a th\xE0nh ph\u1EA7n",Nets:"M\u1EA1ng","DRC Errors":"L\u1ED7i DRC","Are you sure you want to unroute this net?":"B\u1EA1n c\xF3 ch\u1EAFc ch\u1EAFn mu\u1ED1n x\xF3a m\u1EA1ng c\xE1p?",Unroute:"Xo\xE1 d\xE2y \u0111i\u1EC7n","Show your simulation report":"Hi\u1EC3n th\u1ECB b\xE1o c\xE1o m\xF4 ph\u1ECFng","Download netlist":"T\u1EA3i xu\u1ED1ng b\u1EA3ng m\u1EA1ng",Run:"Ch\u1EA1y","Import file from your computer":"Nh\u1EADp t\u1EC7p t\u1EEB m\xE1y t\xEDnh c\u1EE7a b\u1EA1n","Maximum file size: 30 MB":"K\xEDch th\u01B0\u1EDBc t\u1EC7p t\u1ED1i \u0111a: 30MB","Chose file":"Ch\u1ECDn t\u1EC7p","File Operation":"Thao t\xE1c t\u1EC7p","Import File":"Nh\u1EADp t\u1EC7p tin","Extract Libs":"Tr\xEDch xu\u1EA5t c\xE1c t\u1EC7p th\u01B0 vi\u1EC7n","File type":"Lo\u1EA1i t\u1EC7p","The file size is too large.":"K\xEDch th\u01B0\u1EDBc t\u1EC7p qu\xE1 l\u1EDBn","Please selected the file type.":"Vui l\xF2ng ch\u1ECDn lo\u1EA1i t\u1EC7p","No component was found!":"Kh\xF4ng t\xECm th\u1EA5y thi\u1EBFt b\u1ECB","Import successfully":"Nh\u1EADp th\xE0nh c\xF4ng","Import failed":"Nh\u1EADp kh\xF4ng th\xE0nh c\xF4ng","Select None":"T\u1EA5t c\u1EA3 kh\xF4ng ch\u1ECDn","Modify symbol information":"S\u1EEDa \u0111\u1ED5i th\xF4ng tin thi\u1EBFt b\u1ECB c\u1EE7a b\u1EA1n","PCB Prefix":"Ti\u1EC1n t\u1ED1 PCB","Spice Prefix":"Ti\u1EC1n t\u1ED1 Spice","Hidden Pin":"Ghim \u1EA9n","Pin Map":"L\u1EADp b\u1EA3n \u0111\u1ED3 Pin",Assign:"Ph\xE2n ph\u1ED1i","Supplier.bom":"Nh\xE0 cung c\u1EA5p","LCSC.bom":"S\u1ED1 LCSC","Price.bom":"Gi\xE1","Quantity.bom":"S\u1ED1 l\u01B0\u1EE3ng","Package.bom":"Tr\u1ECDn g\xF3i","Components.bom":"S\u1ED1 Ph\u1EA7n","Manufacturer Part.bom":"S\u1ED1 ph\u1EA7n c\u1EE7a nh\xE0 s\u1EA3n xu\u1EA5t","Manufacturer.bom":"Nh\xE0 s\u1EA3n xu\u1EA5t","One-click Purchasing at LCSC":"Mua h\xE0ng t\u1EEB trung t\xE2m mua s\u1EAFm Li Chong","Export BOM":"BOM Xu\u1EA5t kh\u1EA9u","ID.bom":"S\u1ED1 ID","Name.bom":"T\xEAn H\u1EE3p ph\u1EA7n [bom]","LCSC Assembly":"Ph\u1EA7n SMD Li Chong",Value:"Gi\xE1 tr\u1ECB",LCSC:"Trung t\xE2m mua s\u1EAFm Li Chong",Price:"Gi\xE1",Quantity:"S\u1ED1 l\u01B0\u1EE3ng",Package:"Tr\u1ECDn g\xF3i","Manufacturer Part":"S\u1ED1 ph\u1EA7n c\u1EE7a nh\xE0 s\u1EA3n xu\u1EA5t",Manufacturer:"Nh\xE0 s\u1EA3n xu\u1EA5t","Run your simulation":"Ch\u1EA1y m\xF4 ph\u1ECFng",Transient:"T\u1EA1m th\u1EDDi","Maximum Timestep":"B\u01B0\u1EDBc l\u1EDBn nh\u1EA5t","Stop Time":"Th\u1EDDi gian ch\u1EA5m d\u1EE9t","Start Time":"Th\u1EDDi gian b\u1EAFt \u0111\u1EA7u","AC Analysis":"Ph\xE2n t\xEDch trao \u0111\u1ED5i","Type of Sweep":"Lo\u1EA1i m\xF4 t\u1EA3","Number of points":"S\u1ED1 \u0111i\u1EC3m","Start Frequency":"T\u1EA7n s\u1ED1 b\u1EAFt \u0111\u1EA7u","Stop Frequency":"T\u1EA1m d\u1EEBng t\u1EA7n su\u1EA5t","DC sweep":"Qu\xE9t DC","Source to Sweep":"Qu\xE9t ngu\u1ED3n","Start Value":"Gi\xE1 tr\u1ECB b\u1EAFt \u0111\u1EA7u","Stop Value":"Gi\xE1 tr\u1ECB ch\u1EA5m d\u1EE9t",Increment:"T\u0103ng","DC Transfer":"Chuy\u1EC3n \u0111\u1ED5i DC",Output:"\u0110\u1EA7u ra",Source:"Ngu\u1ED3n","DC op pnt":"\u0110i\u1EC3m c\xF4ng vi\u1EC7c t\u0129nh","Compute the DC operating point treating capacitances as opens and inductances as shorts":"T\xEDnh to\xE1n c\xE1c \u0111i\u1EC3m ho\u1EA1t \u0111\u1ED9ng t\u0129nh, c\xE1c t\u1EE5 \u0111i\u1EC7n m\u1EA1ch m\u1EDF, c\xE1c inductor ng\u1EAFn m\u1EA1ch","Active File":"T\xE0i li\u1EC7u hi\u1EC7n t\u1EA1i","Active Project":"D\u1EF1 \xE1n hi\u1EC7n t\u1EA1i","Embed it in your html files.":"Nh\xFAng v\xE0o t\u1EC7p trang web c\u1EE7a b\u1EA1n","Share it by e-mail, IM, blog, etc.":"B\u1EB1ng th\u01B0, QQ, blog, ti\u1EC3u blog v\xE0 nh\u01B0 v\u1EADy","BBCode (used by many online discussion forums)":"BBCode (h\u1EA7u h\u1EBFt c\xE1c di\u1EC5n \u0111\xE0n h\u1ED7 tr\u1EE3 ph\u01B0\u01A1ng ph\xE1p chia s\u1EBB n\xE0y)","HTML code":"M\xE3 HTML, th\xEDch h\u1EE3p \u0111\u1EC3 ch\xE8n v\xE0o trang web","QRCode (Share your schematic address by QRCode )":"Chia s\u1EBB URL gi\u1EA3n \u0111\u1ED3 c\u1EE7a b\u1EA1n v\u1EDBi m\xE3 QR","Short Url":"URL Ng\u1EAFn","Share a copy of this document":"Chia s\u1EBB b\u1EA3n sao c\u1EE7a t\xE0i li\u1EC7u hi\u1EC7n t\u1EA1i",Readonly:"Ch\u1EC9 \u0111\u1ECDc",Editable:"C\xF3 th\u1EC3 ch\u1EC9nh s\u1EEDa \u0111\u01B0\u1EE3c","Active file's owner project page":"T\xE0i li\u1EC7u hi\u1EC7n t\u1EA1i thu\u1ED9c v\u1EC1 trang d\u1EF1 \xE1n","Active project editor page":"Tr\xECnh so\u1EA1n th\u1EA3o d\u1EF1 \xE1n hi\u1EC7n t\u1EA1i m\u1EDF ra \u0111\u1ECBa ch\u1EC9 web","Active file image URL":"URL h\xECnh \u1EA3nh c\u1EE7a t\xE0i li\u1EC7u hi\u1EC7n t\u1EA1i","All Projects":"T\u1EA5t c\u1EA3 c\xE1c t\xE1c ph\u1EA9m","Unsaved files":"T\xE0i li\u1EC7u ch\u01B0a l\u01B0u","Please select a file backup!":"Vui l\xF2ng ch\u1ECDn m\u1ED9t b\u1EA3n sao l\u01B0u t\xE0i li\u1EC7u","Are you sure you want to remove this backup?":"B\u1EA1n c\xF3 ch\u1EAFc ch\u1EAFn mu\u1ED1n x\xF3a b\u1EA3n sao l\u01B0u n\xE0y?",Search:"T\xECm ki\u1EBFm","Search Results":"K\u1EBFt qu\u1EA3 t\xECm ki\u1EBFm","Search and press Enter":"Nh\u1EA5n Enter \u0111\u1EC3 t\xECm ki\u1EBFm","Search Components,Footprints,Modules":"T\xECm ki\u1EBFm c\xE1c th\xE0nh ph\u1EA7n, g\xF3i, m\xF4-\u0111un","{page} of {pagecount} pages":"Trang {page} / trang {pagecount}","EasyEDA Components":"Th\u01B0 vi\u1EC7n EasyEDA","Common Modules":"M\xF4 \u0111un ph\u1ED5 qu\xE1t","User Contributions":"\u0110\xF3ng g\xF3p c\u1EE7a ng\u01B0\u1EDDi d\xF9ng",More:"Th\xEAm","Add Favorite":"Th\xEAm y\xEAu th\xEDch","Remove Favorite":"H\u1EE7y b\u1ED9 s\u01B0u t\u1EADp","Add Sub Part":"Th\xEAm th\u01B0 vi\u1EC7n con",Untagged:"Kh\xF4ng c\xF3 nh\xE3n",package:"Tr\u1ECDn g\xF3i","Title(PartNO)":"Ti\xEAu \u0111\u1EC1 (T\xEAn ph\u1EA7n)","manufacturer Part":"S\u1ED1 ph\u1EA7n c\u1EE7a nh\xE0 s\u1EA3n xu\u1EA5t",manufacturer:"Nh\xE0 s\u1EA3n xu\u1EA5t",voltage:"\u0110i\u1EC7n \xE1p","Search Libraries":"T\xECm ki\u1EBFm th\u01B0 vi\u1EC7n","LCSC Assembled":"Li Chong Patch","User Contributed":"\u0110\xF3ng g\xF3p c\u1EE7a ng\u01B0\u1EDDi d\xF9ng","SCH Libs":"Schematic gallery","PCB Libs":"PCB th\u01B0 vi\u1EC7n",Follow:"Quan t\xE2m",Types:"Lo\u1EA1i",Classes:"Ku Bu",power:"\u0110i\u1EC7n","LCSC Part#":"Trung t\xE2m mua s\u1EAFm Li Chong",Stock:"C\u1ED5 ph\u1EA7n [lib]",All:"T\u1EA5t c\u1EA3",System:"Th\u01B0 vi\u1EC7n h\u1EC7 th\u1ED1ng",Personal:"C\xE1 nh\xE2n",Created:"\u0110\xE3 t\u1EA1o",Favorite:"Y\xEAu th\xEDch","No Team found. Please join or create a team first.":"Kh\xF4ng c\xF3 \u0111\u1ED9i, vui l\xF2ng tham gia ho\u1EB7c t\u1EA1o ra m\u1ED9t \u0111\u1ED9i.","Create a team":"T\u1EA1o nh\xF3m","No follow user found. Please follow your friend first.":"Kh\xF4ng ch\xFA \xFD \u0111\u1EBFn ng\u01B0\u1EDDi d\xF9ng, h\xE3y ch\xFA \xFD. [/ lib]","Favorite Schematic Lib":"B\u1ED9 s\u01B0u t\u1EADp c\u1EE7a c\xE1c th\u01B0 vi\u1EC7n gi\u1EA3n \u0111\u1ED3","Favorite Package":"B\u1ED9 s\u01B0u t\u1EADp bao b\xEC","Favorite Module":"M\xF4\u0111un y\xEAu th\xEDch",BUY:"Mua","In Stock":"H\xE0ng t\u1ED3n kho","Out of Stock":"H\u1EBFt h\xE0ng",Minimum:"T\u1ED1i thi\u1EC3u",Distributor:"Ng\u01B0\u1EDDi b\xE1n","Export your works":"Xu\u1EA5t kh\u1EA9u c\xF4ng vi\u1EC7c c\u1EE7a b\u1EA1n","Export Option":"T\xF9y ch\u1ECDn xu\u1EA5t","Active File->pdf(1:1)":"T\xE0i li\u1EC7u hi\u1EC7n t\u1EA1i -> PDF (1: 1)","Active File->image":"T\u1EC7p hi\u1EC7n t\u1EA1i -> PNG","Active File->SVG":"T\u1EC7p hi\u1EC7n t\u1EA1i -> SVG","You can backup your EasyEDA json file to your local hard disk and import it at any time.":"B\u1EA1n c\xF3 th\u1EC3 sao l\u01B0u c\xE1c t\u1EC7p tin json EasyEDA v\xE0o \u1ED5 c\u1EE9ng c\u1EE5c b\u1ED9 \u0111\u1EC3 nh\u1EADp sau.",Zoom:"Ph\xF3ng to","Image Type":"Lo\u1EA1i \u0111\u1ED3 ho\u1EA1",Qualify:"Ch\u1EA5t l\u01B0\u1EE3ng","0 means real size":"0 \u0111\u1EA1i di\u1EC7n cho k\xEDch th\u01B0\u1EDBc th\u1EF1c t\u1EBF","Merged layer":"L\u1EDBp k\u1EBFt h\u1EE3p","Separated layer":"T\xE1ch l\u1EDBp",Export:"Xu\u1EA5t kh\u1EA9u",Mirror:"G\u01B0\u01A1ng",TopLayer:"L\u1EDBp tr\xEAn c\xF9ng",BottomLayer:"L\u1EDBp d\u01B0\u1EDBi c\xF9ng",TopSilkLayer:"T\u1EA7ng tr\xEAn T\u01A1 l\u1EE5a","Protractor Attributes":"Thu\u1ED9c t\xEDnh g\xF3c ng\u1EAFm",BottomSilkLayer:"T\u1EA7ng t\u01A1 d\u01B0\u1EDBi c\xF9ng",BoardOutLine:"Bi\xEAn gi\u1EDBi",TopAssembly:"L\u1EDBp l\u1EAFp r\xE1p h\xE0ng \u0111\u1EA7u",BottomAssembly:"L\u1EDBp l\u1EAFp r\xE1p ph\xEDa d\u01B0\u1EDBi",Mechanical:"L\u1EDBp c\u01A1",DocumentLayer:"L\u1EDBp t\xE0i li\u1EC7u",Inner1:"L\u1EDBp b\xEAn trong 1",Inner2:"L\u1EDBp b\xEAn trong 2",Inner3:"L\u1EDBp b\xEAn trong 3",Inner4:"L\u1EDBp b\xEAn trong 4",Colour:"M\xE0u","Full Colour":"M\xE0u \u0111\u1EA7y \u0111\u1EE7","Black on White":"B\u1EA3n \u0111\u1ED3 m\xE0u \u0111en tr\xEAn n\u1EC1n tr\u1EAFng","White on Black":"B\u1EA3n \u0111\u1ED3 m\xE0u tr\u1EAFng tr\xEAn n\u1EC1n \u0111en","Canvas Setting":"C\xE0i \u0111\u1EB7t Canvas","Assembly Drawings":"B\u1EA3n v\u1EBD h\u1ED9i \u0111\u1ED3ng","Invalid file format":"\u0110\u1ECBnh d\u1EA1ng t\u1EC7p kh\xF4ng h\u1EE3p l\u1EC7","Failed to export file":"Xu\u1EA5t t\u1EC7p kh\xF4ng th\xE0nh c\xF4ng","Download now":"T\u1EA3i xu\u1ED1ng ngay b\xE2y gi\u1EDD","Wire Width":"Chi\u1EC1u r\u1ED9ng d\xF2ng",Sheet:"Trang","Merged sheet":"H\u1EE3p nh\u1EA5t trang","Separated sheet":"Trang ri\xEAng","@@exportDocument":{Size:"K\xEDch th\u01B0\u1EDBc"},"Confirm Importing changes information":"X\xE1c nh\u1EADn th\xF4ng tin nh\u1EADp","You can't undo this operation, Please run a DRC after this operation.":"B\u1EA1n kh\xF4ng th\u1EC3 ho\xE0n t\xE1c thao t\xE1c Sau khi thao t\xE1c ho\xE0n t\u1EA5t, h\xE3y ch\u1EA1y x\xE1c minh quy t\u1EAFc thi\u1EBFt k\u1EBF m\u1ED9t l\u1EA7n","Apply Changes":"\xC1p d\u1EE5ng thay \u0111\u1ED5i","This is a simple DRC.":"\u0110\xE2y l\xE0 m\u1ED9t x\xE1c minh DRC \u0111\u01A1n gi\u1EA3n","It just can help you to find the obvious errors":"Ch\u1EC9 \u0111\u1EC3 gi\xFAp b\u1EA1n t\xECm ra m\u1ED9t s\u1ED1 l\u1ED7i r\xF5 r\xE0ng",Configured:"C\u1EA5u h\xECnh \u0111\u01B0\u1EE3c","Layer Name":"T\xEAn l\u1EDBp",TopPasterLayer:"L\u1EDBp Paster h\xE0ng \u0111\u1EA7u",BottomPasterLayer:"L\u1EDBp ph\u1EE7 d\u01B0\u1EDBi c\xF9ng",TopSolderLayer:"L\u1EDBp h\xE0n \u0111\u1EA7u",BottomSolderLayer:"L\u1EDBp \u0111\xE1y d\u01B0\u1EDBi c\xF9ng",TopPasteMaskLayer:"D\xE1n Mask Layer Tr\xEAn c\xF9ng",BottomPasteMaskLayer:"H\xE0n d\u01B0\u1EDBi",TopSolderMaskLayer:"M\u1EB7t n\u1EA1 h\xE0n h\xE0ng \u0111\u1EA7u",BottomSolderMaskLayer:"M\u1EB7t n\u1EA1 h\xE0n d\u01B0\u1EDBi",Ratlines:"\u0110\u01B0\u1EDDng bay",BoardOutline:"Bi\xEAn gi\u1EDBi","Multi-Layer":"Nhi\u1EC1u l\u1EDBp",Document:"T\xE0i li\u1EC7u",Hole:"L\u1ED7",DRCError:"L\u1ED7i DRC",Setting:"Thi\u1EBFt l\u1EADp","Drawing area":"V\u1EBD khu v\u1EF1c","Export area":"Khu v\u1EF1c xu\u1EA5t kh\u1EA9u","Create Files":"T\u1EADp tin \u0111\u1EA7u ra","Check your {0}Gerber files{1} carefully before sending them to the factory":"Tr\u01B0\u1EDBc khi g\u1EEDi n\xF3 \u0111\u1EBFn nh\xE0 m\xE1y, ki\u1EC3m tra l\u1EA1i {0} t\u1EC7p Gerber {1}","Download free Gerber Viewer (gerbv)":"T\u1EA3i c\xE1c t\u1EC7p ngu\u1ED3n m\u1EDF Gerber mi\u1EC5n ph\xED \u0111\u1EC3 xem ph\u1EA7n m\u1EC1m","Before generating the Gerber files":"Tr\u01B0\u1EDBc khi t\u1EA1o Gerber","Please check the packages size and orientation carefully.":"H\xE3y ki\u1EC3m tra c\u1EA9n th\u1EADn k\xEDch th\u01B0\u1EDBc g\xF3i, ph\xE2n c\u1EF1c","Please check for DRC errors in the Design Manager.":"Vui l\xF2ng ki\u1EC3m tra l\u1ED7i DRC trong Qu\u1EA3n l\xFD Thi\u1EBFt k\u1EBF","Please rebuild the copper area after modifying tracks and packages.":"\u0110\u1EA3m b\u1EA3o \u0111\u1ECBnh tuy\u1EBFn l\u1EA1i \u0111\u1ED3ng sau khi s\u1EEDa \u0111\u1ED5i g\xF3i v\xE0 d\xE2y \u0111i\u1EC7n","After generating the Gerber file, please use the {0}Gerber Viewer{1} to check whether it conforms to the design requirements.":"Sau khi Gerber \u0111\u01B0\u1EE3c t\u1EA1o ra, s\u1EED d\u1EE5ng {0} Gerber viewer {1} \u0111\u1EC3 xem \u0111\u1ED3 ho\u1EA1 Gerber c\xF3 \u0111\xE1p \u1EE9ng c\xE1c y\xEAu c\u1EA7u thi\u1EBFt k\u1EBF","Order at JLCPCB":"Jia Li \u0111\u1EB7t m\u1ED9t \u0111\u01A1n \u0111\u1EB7t h\xE0ng",Item:"D\u1EF1 \xE1n",value:"Gi\xE1 tr\u1ECB",Unit:"\u0110\u01A1n v\u1ECB","Track Width":"Chi\u1EC1u r\u1ED9ng d\xF2ng","Track to Track":"Kho\u1EA3ng c\xE1ch d\xF2ng","Track to Pad":"Line \u0111\u1EBFn pad","Pad to Pad":"Pad \u0111\u1EC3 pad","Hole to Hole":"L\u1ED7 \u0111\u1EC3 l\u1ED7","Via Hole Size":"Th\xF4ng qua \u0111\u01B0\u1EDDng k\xEDnh","Realtime DRC":"Th\u1EDDi gian th\u1EF1c ki\u1EC3m tra quy t\u1EAFc thi\u1EBFt k\u1EBF","{0} is too small!":"Ph\xE1t hi\u1EC7n quy t\u1EAFc th\u1EDDi gian th\u1EF1c = {0} qu\xE1 nh\u1ECF","Update the symbol's package":"C\u1EADp nh\u1EADt g\xF3i thi\u1EBFt b\u1ECB","Invalid Package":"G\xF3i sai","The package's PAD number is different from the symbol's PIN number, e.g. the diode package's PAD numbers are [A,C] but the symbol's PIN numbers are [1,2]. You just need to change one to fit the other. It is case sensitive!":"S\u1ED1 g\xF3i pad kh\xF4ng kh\u1EDBp v\u1EDBi s\u1ED1 pin c\u1EE7a t\u1EADp tin th\u01B0 vi\u1EC7n.V\xED d\u1EE5, n\u1EBFu g\xF3i diode c\xF3 m\u1ED9t s\u1ED1 pad c\u1EE7a [AC] nh\u01B0ng s\u1ED1 pin c\u1EE7a n\xF3 l\xE0 [1,2], b\u1EA1n c\xF3 th\u1EC3 thay \u0111\u1ED5i b\u1EA5t k\u1EF3 kho\u1EA3ng th\u1EDDi gian n\xE0o, Ph\xE2n bi\u1EC7t ch\u1EEF hoa ch\u1EEF th\u01B0\u1EDDng.","Update PCB(Synchronizing PCB from schematics)":"C\u1EADp nh\u1EADt PCB (Synchronous Schematic v\xE0 PCB)","Hotkey Setting":"C\xE0i \u0111\u1EB7t ph\xEDm n\xF3ng","Document Type":"Lo\u1EA1i t\xE0i li\u1EC7u",shortcut:"Ph\xEDm t\u1EAFt",function:"ch\u1EE9c n\u0103ng",ALL:"T\u1EA5t c\u1EA3",SCH:"S\u01A1 \u0111\u1ED3","Rotate selected objects":"Xoay \u0111\u1ED3 h\u1ECDa \u0111\xE3 ch\u1ECDn","Scroll Or Move selected left":"Di chuy\u1EC3n sang tr\xE1i ho\u1EB7c tr\xE1i \u0111\u1EC3 ch\u1ECDn h\xECnh d\u1EA1ng","Scroll or Move selected right":"Di chuy\u1EC3n sang ph\u1EA3i ho\u1EB7c sang ph\u1EA3i \u0111\u1EC3 ch\u1ECDn h\xECnh d\u1EA1ng","Scroll or Move selected up":"Cu\u1ED9n l\xEAn ho\u1EB7c l\xEAn \u0111\u1ED3 h\u1ECDa \u0111\u01B0\u1EE3c ch\u1ECDn","Scroll or Move selected down":"Cu\u1ED9n xu\u1ED1ng ho\u1EB7c xu\u1ED1ng \u0111\u1ED3 h\u1ECDa \u0111\xE3 ch\u1ECDn","Cross Document Paste":"D\xE1n ch\xE9o t\xE0i li\u1EC7u","Explore & Find Components":"Duy\u1EC7t v\xE0 t\xECm c\xE1c th\u01B0 vi\u1EC7n th\xE0nh ph\u1EA7n","Select All":"Ch\u1ECDn t\u1EA5t c\u1EA3","Cancel current drawing":"Kh\xF4ng m\u1EDF",Save:"L\u01B0u l\u1EA1i","Drag Tool":"K\xE9o","Draw Wire":"V\u1EBD d\xE2y","Draw Bus":"V\u1EBD xe bu\xFDt",NetLabel:"Nh\xE3n m\u1EA1ng","NetFlag VCC":"B\u1ED9 nh\u1EADn di\u1EC7n VCC","NetFlag GND":"B\u1ED9 nh\u1EADn di\u1EC7n GND","NetFlag +5v":"B\u1ED9 nh\u1EADn di\u1EC7n +5V","Draw Polyline":"V\u1EBD \u0111\u01B0\u1EDDng th\u1EB3ng","Draw Polygon":"V\u1EBD \u0111a gi\xE1c","Draw Bezier":"V\u1EBD Bezier","Draw Arc":"V\u1EBD \u0111\u01B0\u1EDDng cong","Draw Rect":"V\u1EBD Rect","Draw Ellipse":"V\u1EBD h\xECnh b\u1EA7u d\u1EE5c","Freehand Draw":"V\u1EBD t\u1EF1 do","Draw Text":"V\u1EBD v\u0103n b\u1EA3n","Edit Selected Symbol":"S\u1EEDa \u0111\u1ED5i thi\u1EBFt b\u1ECB \u0111\xE3 ch\u1ECDn","Draw Track":"V\u1EBD d\xE2y","Draw Circle":"V\u1EBD m\u1ED9t v\xF2ng tr\xF2n","Draw Dimension":"V\u1EBD k\xEDch th\u01B0\u1EDBc","Draw Connect":"V\u1EBD c\xE1p","Draw CopperArea":"V\u1EBD \u0111\u1ED3ng","Change To TopLayer":"Chuy\u1EC3n sang c\u1EA5p cao nh\u1EA5t","Change To BottomLayer":"Chuy\u1EC3n sang ph\xEDa d\u01B0\u1EDBi","Change To Inner1":"Chuy\u1EC3n sang l\u1EDBp b\xEAn trong 1","Change To Inner2":"Chuy\u1EC3n sang l\u1EDBp b\xEAn trong 2","Change To Inner3":"Chuy\u1EC3n sang l\u1EDBp b\xEAn trong 3","Change To Inner4":"Chuy\u1EC3n sang l\u1EDBp b\xEAn trong 4","Highlight Net":"\u0110\xE1nh d\u1EA5u web","Place Pad":"\u0110\u1EB7t mi\u1EBFng \u0111\u1EC7m","Place Via":"\u0110\u1EB7t l\u1ED7",Measure:"\u0110o kho\u1EA3ng c\xE1ch","Change Routing Angle":"Thay \u0111\u1ED5i g\xF3c d\xE2y","Decrease Routing Width":"Gi\u1EA3m chi\u1EC1u r\u1ED9ng \u0111\u01B0\u1EDDng k\u1EBB","Increase Routing Width":"T\u0103ng chi\u1EC1u r\u1ED9ng \u0111\u01B0\u1EDDng k\u1EBB","Decrease Snap Size":"Gi\u1EA3m k\xEDch th\u01B0\u1EDBc l\u01B0\u1EDBi","Increase Snap Size":"T\u0103ng k\xEDch th\u01B0\u1EDBc l\u01B0\u1EDBi","Remove All Copper Area":"Lo\u1EA1i b\u1ECF t\u1EA5t c\u1EA3 \u0111\u1ED3ng","Rebuild All Copper Area":"T\xE1i thi\u1EBFt \u0111\u1ED3ng","Toggle PCB Net Display":"PCB Net hi\u1EC3n th\u1ECB m\u1EA1ng","New Project":"X\xE2y d\u1EF1ng m\u1EDBi","New Schematic":"S\u01A1 \u0111\u1ED3 m\u1EDBi","New PCB":"M\u1EDBi PCB","New Spice Subckt":"M\u1EA1ch m\xF4 ph\u1ECFng m\u1EDBi",Modify:"Ch\u1EC9nh s\u1EEDa","Add sub part":"Th\xEAm thi\u1EBFt b\u1ECB ph\u1EE5","Contribute your components to EasyEDA":"\u0110\xF3ng g\xF3p c\xE1c t\u1EC7p th\u01B0 vi\u1EC7n cho EasyEDA","Version History":"Phi\xEAn b\u1EA3n l\u1ECBch s\u1EED","Edit Project":"Ch\u1EC9nh s\u1EEDa d\u1EF1 \xE1n","View Project Page":"Trang ch\u1EE7 v\u1EC1 k\u1EF9 thu\u1EADt","Download Project":"T\u1EA3i xu\u1ED1ng d\u1EF1 \xE1n","Reject Sharing":"T\u1EEB ch\u1ED1i chia s\u1EBB","Refresh List":"L\xE0m m\u1EDBi danh s\xE1ch","Create New Project":"T\u1EA1o d\u1EF1 \xE1n m\u1EDBi","Version Control":"Ki\u1EC3m so\xE1t phi\xEAn b\u1EA3n","Verify the packages":"X\xE1c minh c\xE1c g\xF3i h\xE0ng","Edit Points":"G\xF3i ki\u1EC3m tra","Reload parts":"T\u1EA3i l\u1EA1i",Layers:"L\u1EDBp","Display Name":"Hi\u1EC3n th\u1ECB t\xEAn","HotKey Sync":"\u0110\u1ED3ng b\u1ED9 h\xF3a ph\xEDm n\xF3ng","Document Recovery Setting":"C\xE0i \u0111\u1EB7t sao l\u01B0u","Maximum backup level":"S\u1ED1 l\u01B0\u1EE3ng sao l\u01B0u t\u1ED1i \u0111a","Auto backup(minutes)":"T\u1EF1 \u0111\u1ED9ng sao l\u01B0u (ph\xFAt)","Save to Server":"L\u01B0u v\xE0o m\xE1y ch\u1EE7","Load from Server":"T\u1EA3i t\u1EEB m\xE1y ch\u1EE7","Schematic Library Wizard":"Thu\u1EADt s\u0129 Th\u01B0 Vi\u1EC7n Schematic",Style:"Phong c\xE1ch",Picture:"H\xECnh \u1EA3nh","Pin Names":"T\xEAn pin","Please assign the package in the right hand panel after creating the symbol.":"Vui l\xF2ng t\u1EA1o n\xF3 trong b\u1EA3ng thu\u1ED9c t\xEDnh b\xEAn ph\u1EA3i",Contributor:"Ng\u01B0\u1EDDi \u0111\xF3ng g\xF3p",contributor:"Ng\u01B0\u1EDDi \u0111\xF3ng g\xF3p",Annotate:"\u0110\xE1nh d\u1EA5u",Scope:"Ph\u1EA1m vi \u1EE9ng d\u1EE5ng","Active Schematic only":"Ch\u1EC9 c\xF3 s\u01A1 \u0111\u1ED3 m\u1EA1ch","All Opened Schematics":"T\u1EA5t c\u1EA3 c\xE1c s\u01A1 \u0111\u1ED3 m\u1EDF",Method:"Ph\u01B0\u01A1ng ph\xE1p","Re-annotate all":"\u0110\xE1nh d\u1EA5u l\u1EA1i","Keep existing annotation":"Gi\u1EEF nh\xE3n ban \u0111\u1EA7u",Direction:"H\u01B0\u1EDBng",Rows:"H\xE0ng",Reset:"C\xE0i l\u1EA1i","Order...":"\u0110\u1EB7t h\xE0ng...","Order your PCB from EasyEDA":"\u0110\u1EB7t h\xE0ng PCB t\u1EEB EasyEDA","PCB Qty.":"PCB S\u1ED1 l\u01B0\u1EE3ng.","PCB Thickness":"\u0110\u1ED9 d\xE0y PCB","PCB Dimension":"K\xEDch th\u01B0\u1EDBc PCB","Automatic calculation":"T\xEDnh t\u1EF1 \u0111\u1ED9ng","PCB Color":"M\xE0u PCB",Green:"m\xE0u xanh l\xE1",White:"Tr\u1EAFng",Blue:"M\xE0u xanh da tr\u1EDDi",Red:"\u0110\u1ECF",Yellow:"M\xE0u v\xE0ng",Black:"\u0110en",Purple:"M\xE0u t\xEDm",Copper:"\u0110\u1ED3ng",Gold:"V\xE0ng",Silver:"B\u1EA1c","Surface Finish":"B\u1EC1 m\u1EB7t ho\xE0n thi\u1EC7n",Hasl:"C\xF3 Ch\xEC","Hasl(Lead Free)":"Kh\xF4ng ch\xEC",ENIG:"Ch\xECm v\xE0ng","Open Project":"D\u1EF1 \xE1n ngu\u1ED3n m\u1EDF","E-Test":"Th\u1EED th\u0103m d\xF2 bay","Shipping Cost":"Chi ph\xED v\u1EADn chuy\u1EC3n","Cost Estimate":"D\u1EF1 to\xE1n chi ph\xED","Actual cost will be confirmed by email.":"Ph\xED cu\u1ED1i c\xF9ng s\u1EBD \u0111\u01B0\u1EE3c x\xE1c nh\u1EADn b\u1EB1ng th\u01B0","Shipping information":"Th\xF4ng tin v\u1EADn chuy\u1EC3n",Address:"\u0110\u1ECBa ch\u1EC9","ZIP/Post code":"M\xE3 b\u01B0u \u0111i\u1EC7n",City:"Th\xE0nh ph\u1ED1",Country:"Qu\u1ED1c gia","Tel.":"\u0110i\u1EC7n tho\u1EA1i","After filling out the form above, we will email you with (i) the results of the design rule check, (ii) a quote and (iii) a payment link using Paypal. Shipping is normally one week from receipt of payment.":"Sau khi ho\xE0n th\xE0nh m\u1EABu tr\xEAn, ch\xFAng t\xF4i s\u1EBD ti\u1EBFn h\xE0nh ki\u1EC3m tra DRC tr\xEAn PCB c\u1EE7a b\u1EA1n. Ch\xFAng t\xF4i s\u1EBD g\u1EEDi cho b\u1EA1n k\u1EBFt qu\u1EA3 ki\u1EC3m tra, b\xE1o gi\xE1, li\xEAn k\u1EBFt thanh to\xE1n Paypal qua email","Restore All Default Shortcuts":"Kh\xF4i ph\u1EE5c l\u1EA1i t\u1EA5t c\u1EA3 c\xE1c shortcut m\u1EB7c \u0111\u1ECBnh","Save Changes":"L\u01B0u thay \u0111\u1ED5i","To connect electrical elements, please use Wire (W hotkey) and not Line (L hotkey).":"Thay v\xEC m\u1ED9t \u0111\u01B0\u1EDDng th\u1EB3ng (ph\xEDm t\u1EAFt L), s\u1EED d\u1EE5ng m\u1ED9t d\xE2y (ph\xEDm t\u1EAFt W) \u0111\u1EC3 n\u1ED1i n\xFAt \u0111i\u1EC7n.","Anonymous file warning":"C\u1EA3nh b\xE1o t\xE0i li\u1EC7u v\xF4 danh","You will save your file as {0}Anonymous file{1}, you must remember the url of the file to find it again after saving. You would better to create a personal project. Would you like to create a project now?":"L\u01B0u t\u1EC7p d\u01B0\u1EDBi d\u1EA1ng {0} T\xE0i li\u1EC7u \u1EA9n danh {1}, b\u1EA1n kh\xF4ng th\u1EC3 t\xECm th\u1EA5y t\u1EC7p trong t\u01B0\u01A1ng lai v\xE0 ch\xFAng t\xF4i khuy\xEAn b\u1EA1n n\xEAn t\u1EA1o d\u1EF1 \xE1n v\xE0 l\u01B0u t\u1EC7p v\xE0o d\u1EF1 \xE1n c\u1EE7a b\u1EA1n. B\u1EA1n c\xF3 mu\u1ED1n t\u1EA1o ra m\u1ED9t d\u1EF1 \xE1n b\xE2y gi\u1EDD?","Create Anonymous File":"T\u1EA1o t\xE0i li\u1EC7u \u1EA9n danh","You must close the file before delete it!":"Xin vui l\xF2ng x\xF3a c\xE1c t\u1EADp tin tr\u01B0\u1EDBc khi x\xF3a!",Confirmation:"X\xE1c nh\u1EADn",Alert:"C\u1EA3nh b\xE1o",Information:"Th\xF4ng tin",information:"Th\xF4ng tin",Prompt:"L\u1EDDi nh\u1EAFc",Error:"l\u1ED7i",error:"l\u1ED7i","error!":"l\u1ED7i",Warning:"C\u1EA3nh b\xE1o","Imported ok!":"Nh\u1EADp th\xE0nh c\xF4ng","Some changes have not been saved.":"S\u1EEDa \u0111\u1ED5i t\xE0i li\u1EC7u ch\u01B0a \u0111\u01B0\u1EE3c l\u01B0u","Your file hasn't been saved. Please save first!":"T\xE0i li\u1EC7u c\u1EE7a b\u1EA1n ch\u01B0a \u0111\u01B0\u1EE3c l\u01B0u, vui l\xF2ng l\u01B0u!","Your file hasn't been saved. Are you sure you want to close it?":"T\xE0i li\u1EC7u c\u1EE7a b\u1EA1n ch\u01B0a \u0111\u01B0\u1EE3c l\u01B0u, ch\u1EAFc ch\u1EAFn \u0111\xF3ng n\xF3?","Error! Please try again later.":"\u0110\xE3 x\u1EA3y ra l\u1ED7i! Vui l\xF2ng th\u1EED l\u1EA1i sau.","Are you sure you want to reload this page?":"B\u1EA1n c\xF3 ch\u1EAFc ch\u1EAFn mu\u1ED1n t\u1EA3i l\u1EA1i trang hi\u1EC7n t\u1EA1i kh\xF4ng?","Are you sure you want to leave this page?":"B\u1EA1n c\xF3 ch\u1EAFc ch\u1EAFn mu\u1ED1n tho\xE1t kh\u1ECFi trang hi\u1EC7n t\u1EA1i kh\xF4ng?","Confirm Reload":"X\xE1c nh\u1EADn t\u1EA3i l\u1EA1i","Confirm Close":"X\xE1c nh\u1EADn \u0111\u1EC3 \u0111\xF3ng","Leave this page":"R\u1EDDi kh\u1ECFi trang","Stay on this page":"\u1EDE tr\xEAn trang n\xE0y","Don't reload":"Kh\xF4ng t\u1EA3i l\u1EA1i","Load failure!":"Kh\xF4ng th\u1EC3 t\u1EA3i","Load projects failed":"Kh\xF4ng th\u1EC3 t\u1EA3i danh s\xE1ch d\u1EF1 \xE1n","error info":"Th\xF4ng b\xE1o l\u1ED7i","error information":"Th\xF4ng b\xE1o l\u1ED7i","Guest can't create a new project. Please login!":"Kh\xE1ch kh\xF4ng th\u1EC3 t\u1EA1o d\u1EF1 \xE1n m\u1EDBi, vui l\xF2ng \u0111\u0103ng nh\u1EADp tr\u01B0\u1EDBc ti\xEAn","Please create a project before you do this!":"H\xE3y t\u1EA1o m\u1ED9t d\u1EF1 \xE1n m\u1EDBi tr\u01B0\u1EDBc khi th\u1EF1c hi\u1EC7n ho\u1EA1t \u0111\u1ED9ng n\xE0y","Click the new part and then edit it!":"Nh\u1EA5p v\xE0o th\u01B0 vi\u1EC7n con m\u1EDBi \u0111\u01B0\u1EE3c th\xEAm v\xE0o v\xE0 ch\u1EC9nh s\u1EEDa n\xF3","Delete my work":"X\xF3a c\xF4ng vi\u1EC7c c\u1EE7a t\xF4i","Delete my work. (Only deletes it from this list but not from the server)":"X\xF3a t\xE0i li\u1EC7u (ch\u1EC9 x\xF3a kh\u1ECFi danh s\xE1ch, t\xE0i li\u1EC7u \u0111\xE3 kh\xF4ng \u0111\u01B0\u1EE3c th\u1EF1c s\u1EF1 x\xF3a)","Do you confirm this?":"B\u1EA1n c\xF3 x\xE1c nh\u1EADn c\xE1c ho\u1EA1t \u0111\u1ED9ng?","Delete successfully!":"\u0110\xE3 x\xF3a th\xE0nh c\xF4ng","Cloning success!":"Clone th\xE0nh c\xF4ng!","Your title is too short!":"Ti\xEAu \u0111\u1EC1 t\xE0i li\u1EC7u c\u1EE7a b\u1EA1n qu\xE1 ng\u1EAFn","Remove this part":"Xo\xE1 t\u1EC7p n\xE0y","Find and Jump to ...":"T\xECm v\xE0 nh\u1EA3y sang thi\u1EBFt b\u1ECB ...","Please type the prefix, such as U1, R1, C1":"Nh\u1EADp s\u1ED1 nh\u1EADn d\u1EA1ng c\u1EE7a thi\u1EBFt b\u1ECB, ch\u1EB3ng h\u1EA1n nh\u01B0 U1, R1, C1","Zoom as 1:1, you can print it and then create artwork for etching the PCB.":"Thu ph\xF3ng 1: 1, b\u1EA1n c\xF3 th\u1EC3 in t\u1EC7p, v\xE0 sau \u0111\xF3 t\u1EF1 kh\u1EAFc PCB","Exporting your works!":"Xu\u1EA5t kh\u1EA9u c\xF4ng vi\u1EC7c c\u1EE7a b\u1EA1n","Guests can't import a file. Please login!":"Kh\xE1ch truy c\u1EADp kh\xF4ng th\u1EC3 nh\u1EADp t\u1EC7p tin, vui l\xF2ng \u0111\u0103ng nh\u1EADp tr\u01B0\u1EDBc!","Please create a project before you import a file!":"Nh\u1EADp t\u1EC7p tin tr\u01B0\u1EDBc khi t\u1EA1o d\u1EF1 \xE1n","Import your LTspice file!":"Nh\u1EADp t\u1EC7p LTspice c\u1EE7a b\u1EA1n!","Saved successfully!":"L\u01B0u th\xE0nh c\xF4ng","Save failed!":"L\u01B0u th\u1EA5t b\u1EA1i","Can not place parts into this document.":"Kh\xF4ng th\u1EC3 \u0111\u1EB7t thi\u1EBFt b\u1ECB trong t\xE0i li\u1EC7u n\xE0y, c\xE1c lo\u1EA1i t\xE0i li\u1EC7u kh\xF4ng kh\u1EDBp","User Package":"G\xF3i ng\u01B0\u1EDDi d\xF9ng","System Package":"G\xF3i h\u1EC7 th\u1ED1ng","File error":"L\u1ED7i t\u1EC7p","Please save your file first!":"H\xE3y l\u01B0u t\u1EC7p c\u1EE7a b\u1EA1n tr\u01B0\u1EDBc ti\xEAn","You have not selected a file to upload.":"\u0110\u1ECBa ch\u1EC9 e-mail qu\xE1 ng\u1EAFn",Update:"\u0110\xE3 c\u1EADp nh\u1EADt","No changes":"Kh\xF4ng thay \u0111\u1ED5i","PCB is the same as SCH!":"PCB v\xE0 s\u01A1 \u0111\u1ED3 \u0111\xE3 \u0111\u01B0\u1EE3c k\u1EBFt h\u1EE3p!","Only public files can be shared":"Ch\u1EC9 c\xF3 th\u1EC3 chia s\u1EBB c\xE1c t\u1EC7p tin c\xF4ng khai. T\u1EC7p hi\u1EC7n t\u1EA1i l\xE0 t\u1EC7p c\xE1 nh\xE2n","Conversion to PCB has failed!":"Chuy\u1EC3n \u0111\u1ED5i PCB kh\xF4ng th\xE0nh c\xF4ng","Your username is too short!":"T\xEAn ng\u01B0\u1EDDi d\xF9ng qu\xE1 ng\u1EAFn","Your password is too short, it must be more than 6 characters!":"M\u1EADt kh\u1EA9u qu\xE1 ng\u1EAFn v\xE0 ph\u1EA3i l\u1EDBn h\u01A1n 6 k\xFD t\u1EF1","Conflicting shortcut":"Xung \u0111\u1ED9t quan tr\u1ECDng","There is an empty PCB file. Please first run Convert Project To PCB... from the schematic":'\u0110\xE2y l\xE0 m\u1ED9t PCB tr\u1ED1ng, xin vui l\xF2ng m\u1EDF schematic \u0111\u1EC3 ch\u1EA1y "schematic \u0111\u1EC3 PCB',"This file has been modified, are you sure you want to run this simulation before saving it first?":"T\xE0i li\u1EC7u \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EEDa \u0111\u1ED5i, b\u1EA1n x\xE1c nh\u1EADn m\xF4 ph\u1ECFng? C\xF3 l\u1EBD b\u1EA1n n\xEAn l\u01B0u n\xF3","Please enter the Maximum Timestep!":"Vui l\xF2ng \u0111i\u1EC1n v\xE0o b\u01B0\u1EDBc l\u1EDBn nh\u1EA5t","Please enter the Stop Time!":"Vui l\xF2ng \u0111i\u1EC1n v\xE0o ng\xE0y h\u1EBFt h\u1EA1n","All of these fields are needed.":"T\u1EA5t c\u1EA3 c\xE1c t\xF9y ch\u1ECDn ph\u1EA3i \u0111\u01B0\u1EE3c ho\xE0n th\xE0nh","Either your spice netlist is too big or the server is busy. Please try again later.":"B\u1EA3ng m\u1EA1ng Spice c\u1EE7a b\u1EA1n qu\xE1 l\u1EDBn ho\u1EB7c m\xE1y ch\u1EE7 qu\xE1 b\u1EADn \u0111\u1EC3 th\u1EED l\u1EA1i sau","Your spice netlist is too big! Try breaking your circuit into smaller simulatable blocks.":"Spice m\u1EA1ng c\u1EE7a b\u1EA1n b\u1EA3ng l\xE0 qu\xE1 l\u1EDBn, xin vui l\xF2ng chia nh\u1ECF m\u1EA1ch v\xE0o m\xF4 ph\u1ECFng m\u1EA1ch ti\u1EC3u","Too many users in simulation. Please try again later!":"Qu\xE1 nhi\u1EC1u ng\u01B0\u1EDDi d\xF9ng \u0111ang ch\u1EA1y m\xF4 ph\u1ECFng v\xE0 s\u1EBD th\u1EED l\u1EA1i sau","Your simulation results are too large! Try reducing the total simulation time (Stop Time - Start Time), increasing the maximum time step, removing some of your probes or breaking your circuit into smaller simulatable blocks.":"K\u1EBFt qu\u1EA3 m\xF4 ph\u1ECFng qu\xE1 l\u1EDBn, h\xE3y gi\u1EA3m th\u1EDDi gian m\xF4 ph\u1ECFng v\xE0 gi\u1EA3m s\u1ED1 l\u01B0\u1EE3ng \u0111\u1EA7u d\xF2.","Demo accounts don't support simulation, please login first":"Kh\xF4ng cho ph\xE9p m\xF4 ph\u1ECFng t\xE0i kho\u1EA3n demo, vui l\xF2ng \u0111\u0103ng nh\u1EADp","Please login first":"Vui l\xF2ng \u0111\u0103ng nh\u1EADp tr\u01B0\u1EDBc","The schematic is showing errors, please check the simulation report carefully!":"D\u01B0\u1EDDng nh\u01B0 m\u1ED9t s\u1ED1 sai l\u1EA7m trong m\u1EA1ch n\xE0y, xin vui l\xF2ng \u0111\u1ECDc b\xE1o c\xE1o m\xF4 ph\u1ECFng m\u1ED9t c\xE1ch c\u1EA9n th\u1EADn, h\xE3y th\u1EED t\xECm ra nh\u1EEFng sai l\u1EA7m n\xE0y.","Simulation too long, maybe your schematic is too complex.":"Emulation timeout, c\xF3 l\u1EBD m\u1EA1ch c\u1EE7a b\u1EA1n qu\xE1 ph\u1EE9c t\u1EA1p.","Load your preferences success!":"T\u1EA3i t\xF9y ch\u1ECDn c\xE1 nh\xE2n c\u1EE7a b\u1EA1n th\xE0nh c\xF4ng!","Save preferences successfully!":"L\u01B0u t\xF9y ch\u1ECDn c\xE1 nh\xE2n c\u1EE7a b\u1EA1n th\xE0nh c\xF4ng!","Update subckt ok!":"C\u1EADp nh\u1EADt ti\u1EC3u m\u1EA1ch l\xE0 th\xE0nh c\xF4ng.","Please type a new file name":"Vui l\xF2ng nh\u1EADp t\xEAn t\u1EC7p m\u1EDBi","Create file failure!":"Kh\xF4ng th\u1EC3 t\u1EA1o t\u1EC7p","Schematics and PCBs can't be imported under My Libs folder, please choose a different folder":"Schematic v\xE0 PCB kh\xF4ng th\u1EC3 \u0111\u01B0\u1EE3c nh\u1EADp v\xE0o th\u01B0 m\u1EE5c My Libs, vui l\xF2ng ch\u1ECDn m\u1ED9t th\u01B0 m\u1EE5c kh\xE1c","Libraries to be imported under My Libs folder":"C\xE1c t\u1EC7p th\u01B0 vi\u1EC7n ch\u1EC9 c\xF3 th\u1EC3 \u0111\u01B0\u1EE3c nh\u1EADp v\xE0o th\u01B0 m\u1EE5c My Libs","Please choose only the libraries needed":"Vui l\xF2ng ch\u1EC9 ch\u1ECDn c\xE1c t\u1EC7p th\u01B0 vi\u1EC7n y\xEAu c\u1EA7u","Maximum import is 200 libs at one time!":"Ch\xFAng t\xF4i kh\xF4ng h\u1ED7 tr\u1EE3 nh\u1EADp h\u01A1n 200 t\u1EC7p th\u01B0 vi\u1EC7n c\xF9ng m\u1ED9t l\xFAc","You libraries will be found under the My Libs folder":"C\xE1c t\u1EC7p th\u01B0 vi\u1EC7n c\u1EE7a b\u1EA1n s\u1EBD xu\u1EA5t hi\u1EC7n trong th\u01B0 m\u1EE5c My Libs","Add to Library":"Th\xEAm v\xE0o th\u01B0 vi\u1EC7n","No items have been checked!":"Kh\xF4ng ki\u1EC3m tra b\u1EA5t k\u1EF3 thi\u1EBFt b\u1ECB!","Nothing was found, please create it for yourself":"Kh\xF4ng t\xECm th\u1EA5y g\xEC, b\u1EA1n c\xF3 th\u1EC3 t\u1EF1 t\u1EA1o n\xF3","Search result":"K\u1EBFt qu\u1EA3 t\xECm ki\u1EBFm","At least 3 characters needed":"\xCDt nh\u1EA5t 3 ch\u1EEF c\xE1i ti\u1EBFng Anh","Add to my Favorite Parts":"Th\xEAm v\xE0o y\xEAu th\xEDch c\u1EE7a t\xF4i","Added it OK. Please find it in your Favorite Parts":"Th\xEAm th\xE0nh c\xF4ng, h\xE3y ki\u1EC3m tra c\xE1c thi\u1EBFt b\u1ECB y\xEAu th\xEDch c\u1EE7a b\u1EA1n","Please select its parent node":"xin vui l\xF2ng ch\u1ECDn n\xFAt g\u1ED1c c\u1EE7a n\xF3","Libraries can not be exported as active project pdf.":"Kh\xF4ng th\u1EC3 xu\u1EA5t t\u1EC7p tin th\u01B0 vi\u1EC7n th\xE0nh t\u1EC7p PDF d\u1EF1 \xE1n","Circuit does not have a GND":"M\u1EA1ch kh\xF4ng c\xF3 m\u1ED9t GND","Circuit does not have a probe":"Vi m\u1EA1ch kh\xF4ng c\xF3 m\u1ED9t th\u0103m d\xF2","Make sure your pin numbers are even numbers":"\u0110\u1EA3m b\u1EA3o s\u1ED1 pin c\u1EE7a b\u1EA1n l\xE0 s\u1ED1","Duplicate Components Prefix":"Ch\xFA th\xEDch thi\u1EBFt b\u1ECB l\u1EB7p l\u1EA1i","{0} exist":"\u0110\xE3 t\u1ED3n t\u1EA1i","There are some invalid packages, are you sure?":"M\u1ED9t s\u1ED1 g\xF3i kh\xF4ng h\u1EE3p l\u1EC7, b\u1EA1n x\xE1c nh\u1EADn thao t\xE1c?","Invalid Characters, library only allows [0-9a-zA-Z-_]":"C\xE1c k\xFD t\u1EF1 b\u1EA5t h\u1EE3p ph\xE1p, t\u1EC7p th\u01B0 vi\u1EC7n ch\u1EC9 cho ph\xE9p [0-9a-zA-Z-_] v\xE0 c\xE1c k\xFD t\u1EF1 kh\xE1c","Annotation success":"D\xE1n nh\xE3n th\xE0nh c\xF4ng","If you accept this annotation operation, please save your files. If not, close your files without saving.":"N\u1EBFu b\u1EA1n ch\u1EA5p nh\u1EADn ho\u1EA1t \u0111\u1ED9ng ghi nh\xE3n, h\xE3y l\u01B0u t\u1EC7p c\u1EE7a b\u1EA1n, n\u1EBFu kh\xF4ng, \u0111\xF3ng t\u1EC7p c\u1EE7a b\u1EA1n tr\u1EF1c ti\u1EBFp v\xE0 kh\xF4ng l\u01B0u t\u1EC7p.","This file can't be saved under libs project. Please choose other project or create a new project":"Kh\xF4ng th\u1EC3 l\u01B0u t\xE0i li\u1EC7u trong d\u1EF1 \xE1n th\u01B0 vi\u1EC7n, h\xE3y ch\u1ECDn d\u1EF1 \xE1n kh\xE1c ho\u1EB7c t\u1EA1o m\u1ED9t d\u1EF1 \xE1n m\u1EDBi","Your file is unsaved.":"T\xE0i li\u1EC7u c\u1EE7a b\u1EA1n kh\xF4ng \u0111\u01B0\u1EE3c l\u01B0u","You can close the editor now. Have a good day!":"B\xE2y gi\u1EDD b\u1EA1n c\xF3 th\u1EC3 \u0111\xF3ng tr\xECnh bi\xEAn t\u1EADp v\xE0 ch\xFAc b\u1EA1n m\u1ED9t cu\u1ED9c s\u1ED1ng h\u1EA1nh ph\xFAc!","Logout Successfully!":"\u0110\u0103ng xu\u1EA5t th\xE0nh c\xF4ng","You have at least one unsaved file open. Please save it or close it.":"B\u1EA1n c\xF3 \xEDt nh\u1EA5t m\u1ED9t t\xE0i li\u1EC7u kh\xF4ng \u0111\u01B0\u1EE3c l\u01B0u, vui l\xF2ng l\u01B0u n\xF3 ho\u1EB7c \u0111\xF3ng n\xF3","Please save your file before this operation":"Vui l\xF2ng l\u01B0u v\u0103n b\u1EA3n tr\u01B0\u1EDBc khi ti\u1EBFp t\u1EE5c","Please open a PCB document":"Xin vui l\xF2ng m\u1EDF m\u1ED9t t\xE0i li\u1EC7u PCB","Please save your file before '{0}'.":"Vui l\xF2ng l\u01B0u t\u1EC7p c\u1EE7a b\u1EA1n tr\u01B0\u1EDBc khi th\u1EF1c hi\u1EC7n {0}","Please try again after saving this file.":"L\u01B0u t\xE0i li\u1EC7u v\xE0 th\u1EED l\u1EA1i","Connecting to server":"K\u1EBFt n\u1ED1i v\u1EDBi m\xE1y ch\u1EE7","Please login before asking for help":"Vui l\xF2ng \u0111\u0103ng nh\u1EADp tr\u01B0\u1EDBc khi y\xEAu c\u1EA7u tr\u1EE3 gi\xFAp","This file has been modified, please save it first!":"T\xE0i li\u1EC7u n\xE0y \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EEDa \u0111\u1ED5i, xin l\u01B0u tr\u01B0\u1EDBc!","Remove this param":"Lo\u1EA1i b\u1ECF tham s\u1ED1 n\xE0y","Click on an object to select then click on the canvas to place it":"Nh\u1EA5p \u0111\u1EC3 ch\u1ECDn thi\u1EBFt b\u1ECB, sau \u0111\xF3 nh\u1EA5p v\xE0o v\u1EA3i \u0111\u1EC3 \u0111\u1EB7t thi\u1EBFt b\u1ECB","Undo/Redo temporary error":"Ho\xE0n t\xE1c / l\xE0m l\u1EA1i l\u1ED7i t\u1EA1m th\u1EDDi","We are sorry but EasyEDA is exhibiting an unpredictable error in the undo/redo process. This problem will be fixed soon but in the meanwhile it is safe to continue working on your design.":"Ho\xE0n t\xE1c l\xE0m l\u1EA1i l\u1ED7i t\u1EA1m th\u1EDDi kh\xF4ng d\u1EF1 \u0111o\xE1n \u0111\u01B0\u1EE3c, ch\xFAng t\xF4i s\u1EBD kh\u1EAFc ph\u1EE5c s\u1EF1 c\u1ED1 c\xE0ng s\u1EDBm c\xE0ng t\u1ED1t v\xE0 c\xF4ng vi\u1EC7c thi\u1EBFt k\u1EBF c\u1EE7a b\u1EA1n an to\xE0n, b\u1EA1n c\xF3 th\u1EC3 y\xEAn t\xE2m r\u1EB1ng ti\u1EBFp t\u1EE5c l\xE0m vi\u1EC7c","The schematic has duplicate prefixes of the components, please make them unique. You can check them using the Design Manager.":"C\xF3 m\u1ED9t s\u1ED1 ph\u1EA7n tr\xF9ng l\u1EB7p cho s\u01A1 \u0111\u1ED3 hi\u1EC7n t\u1EA1i, s\u1EEDa \u0111\u1ED5i ch\xFAng v\xE0 \u0111\u1EA3m b\u1EA3o ch\xFAng l\xE0 duy nh\u1EA5t. B\u1EA1n c\xF3 th\u1EC3 xem ch\xFAng trong Qu\u1EA3n l\xFD Thi\u1EBFt k\u1EBF","Please click the below help button to find out how to fix this problem.":"Vui l\xF2ng nh\u1EA5p v\xE0o n\xFAt tr\u1EE3 gi\xFAp b\xEAn d\u01B0\u1EDBi \u0111\u1EC3 t\xECm hi\u1EC3u c\xE1ch kh\u1EAFc ph\u1EE5c l\u1ED7i n\xE0y","Please create a board outline! Click the help button to find out how to create a board outline.":"Xin vui l\xF2ng t\u1EA1o ra m\u1ED9t bi\xEAn gi\u1EDBi PCB \u0111\u1EA7u ti\xEAn v\xE0 nh\u1EA5p v\xE0o n\xFAt Tr\u1EE3 gi\xFAp \u0111\u1EC3 t\xECm hi\u1EC3u l\xE0m th\u1EBF n\xE0o \u0111\u1EC3 t\u1EA1o ra m\u1ED9t bi\xEAn gi\u1EDBi PCB","Can not fetch files from server, please check your network and try again":"Kh\xF4ng th\u1EC3 th\u1EED l\u1EA1i sau khi ki\u1EC3m tra m\u1EA1ng t\u1EEB m\xE1y ch\u1EE7 ho\u1EB7c t\xE0i li\u1EC7u","Please open a schematic first!":"Xin vui l\xF2ng m\u1EDF m\u1ED9t schematic.","Can not find the schematic of this PCB":"Kh\xF4ng th\u1EC3 t\xECm schematic c\u1EE7a PCB n\xE0y","invalid points!":"Ch\u1EE9a c\xE1c \u0111i\u1EC3m t\u1ECDa \u0111\u1ED9 kh\xF4ng h\u1EE3p l\u1EC7","This file does not support this operation.":"T\xE0i li\u1EC7u n\xE0y kh\xF4ng h\u1ED7 tr\u1EE3 ho\u1EA1t \u0111\u1ED9ng n\xE0y","Net Name Conflict":"M\xE2u thu\u1EABn v\u1EC1 t\xEAn m\u1EA1ng","Net name":"T\xEAn m\u1EA1ng","{0} are in the same wire, please remove others and just keep one.":"{0} Trong c\xF9ng m\u1ED9t d\xE2y, xin vui l\xF2ng x\xF3a c\xE1c kh\xE1c, ch\u1EC9 \u0111\u1EC3 l\u1EA1i m\u1ED9t","This field can't be removed!":"Kh\xF4ng th\u1EC3 t\xECm th\u1EA5y PCB t\u01B0\u01A1ng \u1EE9ngbschematic","Annular ring of the pad/via is too small":"Conductive l\u1ED7 ho\u1EB7c l\u1ED7 c\u1EAFm m\u1ED9t v\xF2ng h\xE0n \u0111\u01A1n l\xE0 qu\xE1 nh\u1ECF","This project already has at least one schematic sheet. When converting to PCB, EasyEDA merges all schematics under the same project. One project does not allow two copies of the same schematic. Please do not save backups into projects to be converted to PCB.":"D\u1EF1 \xE1n c\xF3 \xEDt nh\u1EA5t m\u1ED9t s\u01A1 \u0111\u1ED3. Khi chuy\u1EC3n sang PCB, EasyEDA h\u1EE3p nh\u1EA5t t\u1EA5t c\u1EA3 c\xE1c s\u01A1 \u0111\u1ED3 theo d\u1EF1 \xE1n. C\xF9ng m\u1ED9t d\u1EF1 \xE1n kh\xF4ng cho ph\xE9p hai c\xF9ng m\u1ED9t s\u01A1 \u0111\u1ED3.","Are you sure you want to create a multi-sheet designs?":"B\u1EA1n c\xF3 ch\u1EAFc ch\u1EAFn mu\u1ED1n t\u1EA1o m\u1ED9t d\u1EF1 \xE1n nhi\u1EC1u trang s\u01A1 \u0111\u1ED3?","Are you sure you want to create a {0}multi-sheet designs{1}?":"B\u1EA1n c\xF3 ch\u1EAFc ch\u1EAFn mu\u1ED1n t\u1EA1o m\u1ED9t {0} D\u1EF1 \xE1n Nhi\u1EC1u Trang Schematic {1}?","EasyEDA does not allow inner board outlines to form cut-outs, please use Fill Region or Hole":"EDA kh\xF4ng cho ph\xE9p khoan l\u1ED7, thay v\xE0o \u0111\xF3 s\u1EED d\u1EE5ng c\xE1c l\u1ED7 ho\u1EB7c l\u1ED7 \u0111\u1EB7c","Please build the copper area! Click the help button to find out how to build the copper area.":"Vui l\xF2ng x\xE2y d\u1EF1ng l\u1EA1i l\u1EDBp \u0111\u1ED3ng, nh\u1EA5p v\xE0o n\xFAt tr\u1EE3 gi\xFAp \u0111\u1EC3 bi\u1EBFt th\xEAm th\xF4ng tin","You are advised to set a package for this component now!":"B\u1EA1n c\u1EA7n ph\u1EA3i \u0111\u1EB7t g\xF3i cho ph\u1EA7n n\xE0y!","Please select an opened document first.":"Tr\u01B0\u1EDBc ti\xEAn h\xE3y ch\u1ECDn m\u1ED9t t\xE0i li\u1EC7u m\u1EDF","Some files failed to load. Please reload the page.":"T\u1EA3i t\u1EC7p t\u1EEBng ph\u1EA7n kh\xF4ng th\xE0nh c\xF4ng, vui l\xF2ng t\u1EA3i l\u1EA1i trang.",Skip:"B\u1ECF qua","\xAB Back":"\xABTr\u01B0\u1EDBc","Next \xBB":"Ti\u1EBFp theo \xBB",Done:"Ho\xE0n th\xE0nh","This is the user management menu.":"\u0110\xE2y l\xE0 menu ng\u01B0\u1EDDi d\xF9ng","This is the toolbar.":"\u0110\xE2y l\xE0 thanh c\xF4ng c\u1EE5 h\xE0ng \u0111\u1EA7u","This is the navigation list. Under here you can find projects, files, parts and libraries.":"\u0110\xE2y l\xE0 \u0111i\u1EC1u h\u01B0\u1EDBng t\xE0i li\u1EC7u, xem c\xE1c d\u1EF1 \xE1n, t\xE0i li\u1EC7u, th\u01B0 vi\u1EC7n \u1EDF \u0111\xE2y.","Show or hide the toolbar to the top of the window here.":"\u0110\xE2y l\xE0 thanh c\xF4ng c\u1EE5 tr\xEAn c\xF9ng","Show, resize or hide the left sidebar to the left of the window here.":"\u0110\xE2y l\xE0 c\xF4ng t\u1EAFc b\u1EADt t\u1EAFt b\xEAn tr\xE1i","Show or hide the right sidebar to the right of the window here.":"\u0110\xE2y l\xE0 c\xF4ng t\u1EAFc b\u1EADt t\u1EAFt b\xEAn ph\u1EA3i","Passive Components":"Thi\u1EBFt b\u1ECB th\u1EE5 \u0111\u1ED9ng","Power Supply":"\u0110i\u1EC7n",Diodes:"\u0110i\u1ED1t",Regulator:"B\u1ED9 \u0111i\u1EC1u ch\u1EC9nh",Transistor:"B\xF3ng b\xE1n d\u1EABn",Transformers:"Bi\u1EBFn \xE1p",Gates:"C\u1ED5ng logic","Vacuum Tubes":"\u1ED0ng ch\xE2n kh\xF4ng",Switch:"Chuy\u1EC3n \u0111\u1ED5i",Relay:"Chuy\u1EC3n ti\u1EBFp","Capacitor(US)":"T\u1EE5 (M\u1EF9)","Capacitor(EU)":"T\u1EE5 (Ch\xE2u \xC2u)","Capacitor(EU)2":"T\u1EE5 (Ch\xE2u \xC2u)2","Electrolytic Capacitor(US)":"T\u1EE5 \u0111i\u1EC7n \u0111i\u1EC7n (M\u1EF9)","Electrolytic Capacitor(EU)":"T\u1EE5 \u0111i\u1EC7n \u0111i\u1EC7n (Ch\xE2u \xC2u)","Electrolytic Capacitor(US)2":"T\u1EE5 \u0111i\u1EC7n \u0111i\u1EC7n (M\u1EF9)2","Electrolytic Capacitor(EU)2":"T\u1EE5 \u0111i\u1EC7n \u0111i\u1EC7n (Ch\xE2u \xC2u)2","Inductor(US)":"T\u1EF1 c\u1EA3m (M\u1EF9)","Inductor(EU)":"T\u1EF1 c\u1EA3m (Ch\xE2u \xC2u)","Potentiometer(US)":"Chi\u1EBFt \xE1p (M\u1EF9)","Potentiometer(EU)":"Chi\u1EBFt \xE1p (ch\xE2u \xC2u)","Resistor(US)":"\u0110i\u1EC7n tr\u1EDF (M\u1EF9)","Resistor(EU)":"\u0110i\u1EC7n tr\u1EDF (ch\xE2u \xC2u)","Resistor 45 Deg(US)":"45 \u0111\u1ED9 kh\xE1ng (M\u1EF9)","Resistor 45 Deg(EU)":"45 \u0111\u1ED9 kh\xE1ng (ch\xE2u \xC2u)","Variable Capacitor(US)":"\u0110i\u1EC1u ch\u1EC9nh dung (M\u1EF9)","Variable Capacitor(EU)":"\u0110i\u1EC1u ch\u1EC9nh dung (ch\xE2u \xC2u)","Variable Resistor(US)":"\u0110i\u1EC1u ch\u1EC9nh \u0111i\u1EC7n tr\u1EDF (M\u1EF9)","Variable Resistor(EU)":"\u0110i\u1EC1u ch\u1EC9nh \u0111i\u1EC7n tr\u1EDF (ch\xE2u \xC2u)","Variable Inductor(US)":"\u0110i\u1EC1u ch\u1EC9nh \u0111\u1ED9 t\u1EF1 c\u1EA3m (M\u1EF9)","Variable Inductor(EU)":"\u0110i\u1EC1u ch\u1EC9nh \u0111\u1ED9 t\u1EF1 c\u1EA3m (ch\xE2u \xC2u)","Inductor2(US)":"\u0110i\u1EC7n c\u1EA3m 2 (M\u1EF9)","Inductor2(EU)":"\u0110i\u1EC7n c\u1EA3m 2 (ch\xE2u \xC2u)",Battery:"Pin","Voltage Source":"Ngu\u1ED3n \u0111i\u1EC7n \xE1p","Current Source":"Hi\u1EC7n t\u1EA1i ngu\u1ED3n","CCCS(Current Controlled Current Source)":"CCCS (hi\u1EC7n nay ki\u1EC3m so\xE1t hi\u1EC7n t\u1EA1i ngu\u1ED3n)","CCCS2(Current Controlled Current Source)":"CCCS (hi\u1EC7n nay ki\u1EC3m so\xE1t hi\u1EC7n t\u1EA1i ngu\u1ED3n)","VCCS(Voltage Controlled Current Source)":"VCCS (ngu\u1ED3n \u0111i\u1EC7n \xE1p ki\u1EC3m so\xE1t)","VCVS(Voltage Controlled Voltage Source)":"VCVS (\u0110i\u1EC7n \xE1p \u0111i\u1EC1u khi\u1EC3n \u0111i\u1EC7n \xE1p)","CCVS(Current Controlled Voltage Source)":"CCVS (ngu\u1ED3n \u0111i\u1EC7n \xE1p ki\u1EC3m so\xE1t hi\u1EC7n t\u1EA1i)","CCVS2(Current Controlled Voltage Source)":"CCVS2 (ngu\u1ED3n \u0111i\u1EC7n \xE1p ki\u1EC3m so\xE1t hi\u1EC7n t\u1EA1i)","BV(Behavioral Voltage Sources)":"BV (Ngu\u1ED3n \u0111i\u1EC7n \xE1p h\xE0nh vi)","BI(Behavioral Voltage Sources)":"BI (Ngu\u1ED3n \u0111i\u1EC7n \xE1p h\xE0nh vi)","Epoly(Non-linear Voltage Source)":"Epoly (ngu\u1ED3n \u0111i\u1EC7n \xE1p phi tuy\u1EBFn t\xEDnh)","Gpoly(Non-linear Current Source)":"Gpoly (ngu\u1ED3n kh\xF4ng tuy\u1EBFn t\xEDnh)","Schottky Diode":"Diode Schottky","Varactor Diode":"Diode Varactor","Unidirectional TVS Diode":"Diode TVS v\xF4 h\u01B0\u1EDBng","Bidirectional TVS Diode":"Di truy\u1EC1n TVS hai chi\u1EC1u",Diac:"Diode k\xEDch ho\u1EA1t hai chi\u1EC1u",Bridge:"C\u1EA7u ch\u1EC9nh l\u01B0u","BJT(NPN)":"Transistor (NPN)","BJT(PNP)":"Transistor (PNP)","MESFET(Pch)":"MESFET(Pch","Transform(EU)":"Transform(EU","Mutual Inductors":"Cu\u1ED9n c\u1EA3m t\u01B0\u01A1ng h\u1ED7","Mutual Inductors2":"Cu\u1ED9n c\u1EA3m t\u01B0\u01A1ng h\u1ED7 2","Voltage Controlled Switch":"\u0110i\u1EC1u khi\u1EC3n \u0111i\u1EC7n \xE1p","Current Controlled Switch":"Ki\u1EC3m so\xE1t hi\u1EC7n t\u1EA1i Switch",Fuse:"C\u1EA7u ch\xEC","555(Style2)":"555 gi\u1EDD (Style2)",Speaker:"Loa","5pin Operational Amplifier":"5-\u0111\u1EA7u cu\u1ED1i op amp","3pin Operational amplifier":"3-\u0111\u1EA7u cu\u1ED1i op amp","Transmission Line":"\u0110\u01B0\u1EDDng d\xE2y truy\u1EC1n t\u1EA3i",Voltmeter:"V\xF4n k\u1EBF",Ammeter:"Ampe k\u1EBF",LAMP:"B\xF3ng \u0111\xE8n","Opto Transistor":"Phototransistor","Keep these fields empty if you just want to build a symbol":"N\u1EBFu b\u1EA1n ch\u1EC9 mu\u1ED1n t\u1EA1o m\u1ED9t s\u1ED1 nh\u1EADn d\u1EA1ng, h\xE3y \u0111\u1EC3 tr\u1ED1ng bi\u1EC3u m\u1EABu \u1EDF tr\xEAn","Need login":"C\u1EA7n ph\u1EA3i \u0111\u0103ng nh\u1EADp","Bad password":"M\u1EADt kh\u1EA9u sai","We can't find your username or your email, please check it!":"Ch\xFAng t\xF4i kh\xF4ng th\u1EC3 t\xECm th\u1EA5y t\xEAn ng\u01B0\u1EDDi d\xF9ng ho\u1EB7c email n\xE0y, vui l\xF2ng ki\u1EC3m tra l\u1EA1i","Make sure your uploaded file size is less than 3MB!":"Vui l\xF2ng \u0111\u1EA3m b\u1EA3o r\u1EB1ng k\xEDch th\u01B0\u1EDBc t\u1EC7p \u0111\xE3 t\u1EA3i l\xEAn c\u1EE7a b\u1EA1n kh\xF4ng \u0111\u01B0\u1EE3c v\u01B0\u1EE3t qu\xE1 3MB!","Bad file type":"Lo\u1EA1i t\u1EC7p sai","Empty file or bad file type, ensure your file is Eagle 6.0+":"T\u1EC7p tr\u1ED1ng ho\u1EB7c lo\u1EA1i t\u1EC7p kh\xF4ng h\u1EE3p l\u1EC7, \u0111\u1EA3m b\u1EA3o t\u1EC7p c\u1EE7a b\u1EA1n l\xE0 Eagle 6.0+","This operation not supported on demo account":"Thao t\xE1c n\xE0y kh\xF4ng \u0111\u01B0\u1EE3c h\u1ED7 tr\u1EE3 tr\xEAn t\xE0i kho\u1EA3n demo","Can not share this file under a private project, please set the active project to public!":"Kh\xF4ng th\u1EC3 chia s\u1EBB t\xE0i li\u1EC7u c\xE1 nh\xE2n, h\xE3y \u0111\u1EB7t d\u1EF1 \xE1n tr\u01B0\u1EDBc \u0111\xF3 l\xE0m c\xF4ng khai","Login Failed Too many attempts. If you forgot your password, please {0}reset your password{1} or send an email to support@easyeda.com":"Qu\xE1 nhi\u1EC1u l\u1ED7i v\u1EC1 m\u1EADt kh\u1EA9u, n\u1EBFu b\u1EA1n qu\xEAn m\u1EADt kh\u1EA9u, h\xE3y nh\u1EA5p v\xE0o {0} \u0110\u1EB7t l\u1EA1i m\u1EADt kh\u1EA9u {1}","Common Buttons Setting":"B\u1ED9 n\xFAt","Show/Hide":"Hi\u1EC3n th\u1ECB / \u1EA9n","Move Up":"\u0110i l\xEAn","Move Down":"\u0110i xu\u1ED1ng","Reset All":"\u0110\u1EB7t l\u1EA1i t\u1EA5t c\u1EA3","Find Libraries...":"T\xECm t\u1EC7p th\u01B0 vi\u1EC7n ...","Place Pin":"\u0110\u1EB7t ghim",Permissions:"Quy\u1EC1n",Operation:"Ho\u1EA1t \u0111\u1ED9ng","Access Control":"Ki\u1EC3m so\xE1t truy c\u1EADp","Project Access Control":"Ki\u1EC3m so\xE1t truy c\u1EADp d\u1EF1 \xE1n",Reject:"B\u1ECB t\u1EEB ch\u1ED1i","Add User":"Th\xEAm ng\u01B0\u1EDDi d\xF9ng","Bad email address":"\u0110\u1ECBa ch\u1EC9 email sai","Can't find this email address in EasyEDA. Your partner must be an EasyEDA user.":"Ng\u01B0\u1EDDi d\xF9ng kh\xF4ng t\u1ED3n t\u1EA1i","Grid Background":"L\u01B0\u1EDBi n\u1EC1n","Pane Background":"N\u1EC1n n\u1EC1n","WaveForm Config":"C\u1EA5u h\xECnh d\u1EA1ng s\xF3ng","Export Waveform":"D\u1EA1ng s\xF3ng xu\u1EA5t kh\u1EA9u",dot:"d\u1EA5u ch\u1EA5m",line:"h\xE0ng","A4 Portrait":"A4 d\u1ECDc","A4 Landscape":"A4 ngang","A3 Portrait":"A3 d\u1ECDc","A3 Landscape":"A3 ngang","A2 Portrait":"A2 d\u1ECDc","A2 Landscape":"A2 ngang","A1 Portrait":"A1 d\u1ECDc","A1 Landscape":"A1 ngang",Landscape:"ngang",Portrait:"d\u1ECDc",solid:"ch\u1EA5t r\u1EAFn",dashed:"\u0111\u1EE9t",dotted:"say m\xEA","Fill Region":"V\xF9ng r\u1EAFn",Type:"Ki\u1EC3u","Report error":"B\xE1o l\u1ED7i","Please give us some information to help us find the problem.":"Vui l\xF2ng cho ch\xFAng t\xF4i m\u1ED9t g\u1EE3i \xFD \u0111\u1EC3 t\xECm th\xF4ng b\xE1o sai","Cannot place parts into this document: Schematic Symbols can only be placed into a Schematic; PCB Footprints can only be placed into a PCB.":"Lo\u1EA1i t\xE0i li\u1EC7u kh\xF4ng ph\xF9 h\u1EE3p, schematic th\u01B0 vi\u1EC7n ch\u1EC9 c\xF3 th\u1EC3 \u0111\u01B0\u1EE3c \u0111\u1EB7t tr\xEAn b\u1EA3n g\u1ED1c, g\xF3i PCB ch\u1EC9 c\xF3 th\u1EC3 \u0111\u01B0\u1EE3c \u0111\u1EB7t tr\xEAn PCB","Save it as a favorite part":"L\u01B0u n\xF3 nh\u01B0 m\u1ED9t thi\u1EBFt b\u1ECB y\xEAu th\xEDch","Only logged-in users can save this component as a Favorite Part but guest (Anonymous) users can place this component into their design directly. Would you like to place this component now?":"Ch\u1EC9 nh\u1EEFng ng\u01B0\u1EDDi d\xF9ng \u0111\xE3 \u0111\u0103ng nh\u1EADp m\u1EDBi c\xF3 th\u1EC3 l\u01B0u n\xF3 nh\u01B0 m\u1ED9t thi\u1EBFt b\u1ECB y\xEAu th\xEDch v\xE0 kh\xE1ch truy c\u1EADp \u0111\u01B0\u1EE3c ph\xE9p \u0111\u1EB7t thi\u1EBFt b\u1ECB v\xE0o khung v\u1EA3i v\xE0 b\u1EA1n \u0111\xE3 s\u1EB5n s\xE0ng \u0111\u1EC3 \u0111\u1EB7t n\xF3 ngay b\xE2y gi\u1EDD","Electronic circuit design - EasyEDA":"EasyEDA Editor - c\xF4ng c\u1EE5 thi\u1EBFt k\u1EBF \u0111i\u1EC7n t\u1EED tr\u1EF1c tuy\u1EBFn, m\xF4 ph\u1ECFng PCB gi\u1EA3n \u0111\u1ED3","Find libs":"T\xECm th\u01B0 vi\u1EC7n","My Projects":"D\u1EF1 \xE1n c\u1EE7a t\xF4i","My Parts":"T\u1EADp tin th\u01B0 vi\u1EC7n c\u1EE7a t\xF4i","My Modules":"M\xF4-\u0111un c\u1EE7a t\xF4i","Assembly LCSC Components":"Li Chong c\xE1c b\u1ED9 ph\u1EADn SMD",Modules:"M\xF4 \u0111un","SCH Modules":"M\xF4-\u0111un Schematic","PCB Modules":"M\xF4 \u0111un PCB","System IC":"Th\u01B0 vi\u1EC7n h\u1EC7 th\u1ED1ng","LCSC (Official)":"Trung t\xE2m mua s\u1EAFm Li Chong","Favorite Parts":"B\u1ED9 s\u01B0u t\u1EADp thi\u1EBFt b\u1ECB","Shared With Me":"Chia s\u1EBB v\u1EDBi t\xF4i",Preview:"Xem tr\u01B0\u1EDBc","Preview Window":"Xem tr\u01B0\u1EDBc c\u1EEDa s\u1ED5","System Default":"M\u1EB7c \u0111\u1ECBnh h\u1EC7 th\u1ED1ng","User Defined":"Ng\u01B0\u1EDDi d\xF9ng x\xE1c \u0111\u1ECBnh",Theme:"Ch\u1EE7 \u0111\u1EC1","Theme Setting":"C\xE0i \u0111\u1EB7t ch\u1EE7 \u0111\u1EC1",Close:"\u0110\xF3ng",Open:"M\u1EDF",Collapse:"Thu g\u1ECDn","Toggle toolbar":"M\u1EDF / \u0111\xF3ng thanh c\xF4ng c\u1EE5","Toggle left bar":"M\u1EDF / \u0111\xF3ng c\u1ED9t b\xEAn tr\xE1i","Toggle right bar":"M\u1EDF / \u0111\xF3ng c\u1ED9t b\xEAn ph\u1EA3i",Reload:"L\xE0m m\u1EDBi","Mouse-X":"Con tr\u1ECF X","Mouse-Y":"Con tr\u1ECF Y","Mouse-DX":"Con tr\u1ECF DX","Mouse-DY":"Con tr\u1ECF DY","Bus entry x1":"Nh\u1EADp xe bu\xFDt x1","Bus entry x2":"Nh\u1EADp xe bu\xFDt x2","Bus entry y1":"Nh\u1EADp xe bu\xFDt y1","Bus entry y2":"Nh\u1EADp xe bu\xFDt y2",Yes:"C\xF3",No:"Kh\xF4ng",Cancel:"H\u1EE7y","Ask a question":"T\xECm ki\u1EBFm tr\u1EE3 gi\xFAp","Share my work":"Chia s\u1EBB c\xF4ng vi\u1EC7c c\u1EE7a t\xF4i","Go to my page":"M\u1EDF trang ch\u1EE7 c\u1EE7a t\xF4i","Bus entry":"\u0110\u1EA7u v\xE0o Bus",Filter:"B\u1ED9 l\u1ECDc",Check:"Ki\u1EC3m tra","Guest Project":"D\u1EF1 \xE1n kh\xE1ch","Insert into":"Ch\xE8n v\xE0o","Insert into {site}":"Ch\xE8n v\xE0o {site}","Upload {site}":"T\u1EA3i l\xEAn {site}","Copy the contents of this box into a text editor, then save the file. Paste the edited text back into this box and click Apply to update the display.":"Sao ch\xE9p n\u1ED9i dung c\u1EE7a h\u1ED9p v\u0103n b\u1EA3n v\xE0o m\xE1y t\xEDnh x\xE1ch tay v\xE0 l\u01B0u n\xF3. B\u1EA1n c\xF3 th\u1EC3 d\xE1n n\u1ED9i dung \u1EDF \u0111\xE2y v\xE0 ch\u1EC9nh s\u1EEDa l\u1EA1i.","EasyEDA format":"\u0111\u1ECBnh d\u1EA1ng EasyEDA","Copy the contents of this box into a text editor, then save the file with a .svg extension. You can edit it in Inkscape or open it in your browser.":"Sao ch\xE9p n\u1ED9i dung c\u1EE7a h\u1ED9p v\u0103n b\u1EA3n v\xE0o m\xE1y t\xEDnh x\xE1ch tay v\xE0 l\u01B0u n\xF3 b\u1EB1ng \u0111u\xF4i .svg. B\u1EA1n c\xF3 th\u1EC3 ch\u1EC9nh s\u1EEDa n\xF3 b\u1EB1ng inkscape, ho\u1EB7c b\u1EA1n c\xF3 th\u1EC3 m\u1EDF n\xF3 b\u1EB1ng tr\xECnh duy\u1EC7t c\u1EE7a b\u1EA1n.","SVG format":"\u0110\u1ECBnh d\u1EA1ng SVG","SVG File":"T\u1EC7p SVG","Description should be no more than 250 letters":"M\xF4 t\u1EA3 kh\xF4ng th\u1EC3 v\u01B0\u1EE3t qu\xE1 250 k\xFD t\u1EF1","The file save operation has timed out. Try again and check your Internet connection.":"Xu\u1EA5t t\u1EADp tin m\u1EA1ng l\u01B0u ho\u1EA1t \u0111\u1ED9ng h\u1EBFt th\u1EDDi gian, ph\xE1t hi\u1EC7n k\u1EBFt n\u1ED1i m\u1EA1ng v\xE0 th\u1EED l\u1EA1i","Export Netlist":"Xu\u1EA5t m\u1EA1ng",Notifications:"Th\xF4ng B\xE1o","Please select txt or json files.":"Vui l\xF2ng ch\u1ECDn t\u1EADp tin txt ho\u1EB7c json","Failed to read file [{file}]":"\u0110\u1ECDc t\u1EC7p [{file}] kh\xF4ng th\xE0nh c\xF4ng","[{file}] is not a valid json file":"[{file}] kh\xF4ng ph\u1EA3i l\xE0 t\u1EC7p JSON h\u1EE3p l\u1EC7","Invalid parameters!":"Tham s\u1ED1 kh\xF4ng h\u1EE3p l\u1EC7",Download:"T\u1EA3i v\u1EC1",Start:"B\u1EAFt \u0111\u1EA7u","You have unsaved files, are you sure you want to log out without saving the files?":"C\xF3 nh\u1EEFng t\u1EC7p tin ch\u01B0a \u0111\u01B0\u1EE3c l\u01B0u, b\u1ECF qua ch\xFAng v\xE0 \u0111\u0103ng xu\u1EA5t?","Please use the web version to run this function.":"Vui l\xF2ng s\u1EED d\u1EE5ng ch\u1EE9c n\u0103ng n\xE0y trong phi\xEAn b\u1EA3n web","Please save this file to you project!":"Xin l\u01B0u t\xE0i li\u1EC7u v\xE0o d\u1EF1 \xE1n","Nothing changed":"Kh\xF4ng thay \u0111\u1ED5i","Delete Node":"X\xF3a giao l\u1ED9","This layer is invisible.":"L\u1EDBp n\xE0y l\xE0 v\xF4 h\xECnh","When the fill region is NPTH, please set the layer to Multi-Layer.":"C\xE1c lo\u1EA1i l\u1ED7 kh\xF4ng m\u1EA1 kh\xF4ng \u0111\u01B0\u1EE3c l\u1EA5p \u0111\u1EA7y, c\xE1c l\u1EDBp c\u1EE7a n\xF3 ph\u1EA3i \u0111\u01B0\u1EE3c \u0111\u1EB7t th\xE0nh nhi\u1EC1u l\u1EDBp","You should not try to assign a net to a NPTH fill region.":"Nano kh\xF4ng m\u1EA1 th\xF4ng qua lo\u1EA1i l\u1ED7, b\u1EA1n kh\xF4ng n\xEAn \u0111\u1EB7t m\u1EA1ng.","Net Length":"Chi\u1EC1u d\xE0i m\u1EA1ng","EasyEDA allows you to place a Pin in the schematic, but don't forget to group all of the Pins to a schematic component. Please click the help button to find out how to group them. If you just want to mark the wire, please use NetPort or NetLabel.":"Pins c\xF3 th\u1EC3 \u0111\u01B0\u1EE3c \u0111\u1EB7t tr\u1EF1c ti\u1EBFp trong s\u01A1 \u0111\u1ED3, nh\u01B0ng \u0111\u1EEBng qu\xEAn k\u1EBFt h\u1EE3p c\xE1c ch\xE2n v\xE0o th\xE0nh ph\u1EA7n. Nh\u1EA5p v\xE0o n\xFAt Tr\u1EE3 gi\xFAp \u0111\u1EC3 xem vi\u1EC7c s\u1EED d\u1EE5ng c\xE1c ch\u1EE9c n\u0103ng k\u1EBFt h\u1EE3p. N\u1EBFu b\u1EA1n ch\u1EC9 c\u1EA7n \u0111\xE1nh d\u1EA5u d\xE2y, s\u1EED d\u1EE5ng c\u1ED5ng m\u1EA1ng ho\u1EB7c nh\xE3n m\u1EA1ng.","Coming soon":"H\xE3y theo d\xF5i","No tool":"Kh\xF4ng c\xF3 c\xF4ng c\u1EE5","Help us translate into your language":"Gi\xFAp ch\xFAng t\xF4i d\u1ECBch",Pad:"T\u1EA5m l\xF3t","Via/Hole":"Th\xF4ng qua l\u1ED7","PCB Layers":"L\u1EDBp PCB","Order PCB":"\u0110\u1EB7t h\xE0ng PCB",Free:"Mi\u1EC5n ph\xED",Small:"Nh\u1ECF",Medium:"Trong",Big:"L\u1EDBn","Exporting as":"Xu\u1EA5t kh\u1EA9u d\u01B0\u1EDBi d\u1EA1ng","Exporting as image":"Xu\u1EA5t d\u01B0\u1EDBi d\u1EA1ng \u1EA3nh","Exporting as {0}SVG{1} file.":"Xu\u1EA5t d\u01B0\u1EDBi d\u1EA1ng t\u1EC7p {0} SVG {1}","Exporting as pdf is recommended: pdf gives good quality printed output and a small file size.":"\u0110\u1EC1 xu\u1EA5t xu\u1EA5t sang PDF, ch\u1EA5t l\u01B0\u1EE3ng in cao, k\xEDch th\u01B0\u1EDBc t\u1EC7p nh\u1ECF.","Generate Fabrication File(Gerber)":"T\u1EA1o Gerber","PenWidth-Increase":"Chi\u1EC1u r\u1ED9ng","PCB Details":"Th\xF4ng tin PCB","Gerber View":"Xem tr\u01B0\u1EDBc Gerber","Dimensions(Estimated)":"K\xEDch th\u01B0\u1EDBc (\u01B0\u1EDBc t\xEDnh)","PCB Qty":"S\u1ED1 l\u01B0\u1EE3ng PCB","Copper Weight":"\u0110\u1ED9 d\xE0y \u0111\u1ED3ng","PCB Refer Price(USD)":"Gi\xE1 tham kh\u1EA3o PCB","Estimated Delivery Time":"Th\u1EDDi gian nhanh","For your first time order,  the shipping cost will be free!":"Mi\u1EC5n ph\xED v\u1EADn chuy\u1EC3n mi\u1EC5n ph\xED!","HASL(with lead)":"Ch\xEC","LeadFree HASL-RoHS":"kh\xF4ng ch\xEC","ENIG-RoHS":"M\u1EA1 v\xE0ng","The PCB has {drcErrors} DRC errors.":"C\xF3 l\u1ED7i {DRCErrors} DRC tr\xEAn PCB","Do you want to check the DRC errors?":"B\u1EA1n c\xF3 ki\u1EC3m tra cho c\xE1c l\u1ED7i DRC?","Check DRC Errors":"Ki\u1EC3m tra l\u1ED7i DRC","Ignore and Continue":"B\u1ECF qua v\xE0 ti\u1EBFp t\u1EE5c","It will then redirect to the web site of a thirdparty JLCPCB with which we cooperate.Are you ready?":"Nh\u1EA3y t\u1EDBi trang web c\u1EE7a b\xEAn th\u1EE9 ba, JLCPCB, \u0111\u1EC3 x\xE1c nh\u1EADn b\u01B0\u1EDBc nh\u1EA3y?","Failed to submit your order, please contact us via support@easyeda.com for help.":"L\u1EC7nh th\u1EA5t b\u1EA1i, vui l\xF2ng li\xEAn h\u1EC7 v\u1EDBi support@easyeda.com \u0111\u1EC3 \u0111\u01B0\u1EE3c tr\u1EE3 gi\xFAp.","@@generateGerber":{Layers:"L\u1EDBp"},"Create a new Project...":"X\xE2y d\u1EF1ng m\u1EDBi...","Create a new Schematic":"S\u01A1 \u0111\u1ED3 m\u1EDBi","Create a new Schematic Lib":"Ph\xF2ng tr\u01B0ng b\xE0y m\u1EDBi","Create a new Spice Symbol":"Bi\u1EC3u t\u01B0\u1EE3ng Spice m\u1EDBi","Create a new Spice Subckt":"M\u1EA1ch \u0111i\u1EC7n Spice m\u1EDBi","Create a new PCB":"M\u1EDBi PCB","Create a new PCB Lib":"Th\u01B0 vi\u1EC7n PCB m\u1EDBi","Create a new Schematic Module":"M\xF4-\u0111un m\u1EDBi","Create a new PCB Module":"M\xF4 \u0111un m\u1EDBi c\u1EE7a PCB","Export your file, then print it yourself.":"Xu\u1EA5t t\u1EADp tin v\xE0 in n\xF3","Trace width is too small":"Chi\u1EC1u r\u1ED9ng c\u1EE7a d\u1EA5u v\u1EBFt qu\xE1 nh\u1ECF","Images Attribute":"Thu\u1ED9c t\xEDnh h\xECnh \u1EA3nh","Connect Pad to Pad":"K\u1EBFt n\u1ED1i Pad Pad","Copper Area":"\u0110\u1ED3ng",Dimension:"K\xEDch th\u01B0\u1EDBc","Please check that you have used Wire and not Line to connect electrical elements.":"C\xF3 th\u1EC3 b\u1EA1n n\xEAn s\u1EED d\u1EE5ng d\xE2y nh\u01B0ng kh\xF4ng nhi\u1EC1u d\xE2y \u0111\u1EC3 k\u1EBFt n\u1ED1i c\xE1c y\u1EBFu t\u1ED1 \u0111i\u1EC7n.","PCB Fabrication Prices & capabilities":"PCB ch\u1EBF t\u1EA1o Gi\xE1 c\u1EA3 v\xE0 kh\u1EA3 n\u0103ng","Flip all texts on bottom layer":"L\u1EADt t\u1EA5t c\u1EA3 v\u0103n b\u1EA3n tr\xEAn l\u1EDBp d\u01B0\u1EDBi c\xF9ng","EasyEDA Libs":"Th\u01B0 vi\u1EC7n EasyEDA","Create New Document":"T\xE0i li\u1EC7u m\u1EDBi","Anonymous file":"T\xE0i li\u1EC7u v\xF4 danh","General Package":"G\xF3i th\u01B0\u1EDDng d\xF9ng","General Packages":"G\xF3i th\u01B0\u1EDDng d\xF9ng","favorite Package":"G\xF3i b\u1ED9 s\u01B0u t\u1EADp","Through Hole":"Th\xF4ng qua Hole","Surface Mount":"N\u1EC1n b\u1EC1 m\u1EB7t","Markdown Syntax":"Ng\u1EEF ph\xE1p Markdown","Markdown supported":"H\u1ED7 tr\u1EE3 Markdown","Read only":"Ch\u1EC9 \u0111\u1ECDc","Read/Write":"\u0110\u1ECDc vi\u1EBFt","More Libraries...":"Nhi\u1EC1u th\xE0nh ph\u1EA7n th\u01B0 vi\u1EC7n ...","Decompress failed!":"Gi\u1EA3i n\xE9n kh\xF4ng th\xE0nh c\xF4ng!","Load failed!":"Kh\xF4ng th\u1EC3 t\u1EA3i","Loading...":"\u0110ang n\u1EA1p...","No Result":"Kh\xF4ng c\xF3 k\u1EBFt qu\u1EA3","Place Pin in schematic warning":"Pin s\u1EAFp x\u1EBFp c\xE1c bi\u1EC7n ph\xE1p ph\xF2ng ng\u1EEBa tr\xEAn schematic","EasyEDA allows you to place a Pin in schematic, but don't forget to group all of the Pins to a schematic component, please click the help button to find out how to group them. If you just want to mark the wire, please use NetPort or NetNabel.":"EasyEDA cho ph\xE9p b\u1EA1n \u0111\u1EB7t ch\xE2n tr\xEAn s\u01A1 \u0111\u1ED3, nh\u01B0ng \u0111\u1EEBng qu\xEAn k\u1EBFt h\u1EE3p c\xE1c ch\xE2n v\xE0o m\u1ED9t th\u01B0 vi\u1EC7n gi\u1EA3n \u0111\u1ED3, nh\u1EA5p v\xE0o n\xFAt tr\u1EE3 gi\xFAp \u0111\u1EC3 xem c\xE1ch s\u1EED d\u1EE5ng. N\u1EBFu b\u1EA1n ch\u1EC9 g\u1EAFn nh\xE3n d\xE2y, s\u1EED d\u1EE5ng tab M\u1EA1ng.","I know. Do not show this again.":"T\xF4i bi\u1EBFt, kh\xF4ng nh\u1EAFc l\u1EA1i tin nh\u1EAFn.","Extensions Setting":"C\u1EA5u h\xECnh m\u1EDF r\u1ED9ng",Remove:"H\u1EE7y b\u1ECF",Disable:"B\u1ECB t\u1EAFt",Enable:"\u0110\xE3 b\u1EADt","(Disabled)":"(B\u1ECB v\xF4 hi\u1EC7u)","(Enabled)":"(B\u1EADt)","Load Extension":"T\u1EA3i ph\u1EA7n m\u1EDF r\u1ED9ng","Enable or disable will be applied after reload page":"B\u1EADt ho\u1EB7c t\u1EAFt s\u1EBD c\xF3 hi\u1EC7u l\u1EF1c sau khi trang \u0111\u01B0\u1EE3c l\xE0m m\u1EDBi","Your browser cannot run this function.":"Tr\xECnh duy\u1EC7t c\u1EE7a b\u1EA1n kh\xF4ng th\u1EC3 ch\u1EA1y t\xEDnh n\u0103ng n\xE0y.","Extension Files":"ID m\u1EDF r\u1ED9ng","Extension ID":"ID m\u1EDF r\u1ED9ng","Select Files":"Ch\u1ECDn t\u1EC7p",Script:"K\u1ECBch b\u1EA3n",Scripts:"K\u1ECBch b\u1EA3n","Script Content":"N\u1ED9i dung k\u1ECBch b\u1EA3n","Load from js file":"N\u1EA1p t\u1EEB t\u1EC7p JS","UTF-8 encoded js file":"T\u1EC7p JS \u0111\xE3 m\xE3 ho\xE1 UTF-8",Description:"M\xF4 t\u1EA3",description:"M\xF4 t\u1EA3","Not a *.js file":"Kh\xF4ng ph\u1EA3i t\u1EC7p * .js","Failed to read file":"Kh\xF4ng th\u1EC3 t\u1EA3i t\u1EC7p","System scripts cannot be modified":"Kh\xF4ng th\u1EC3 s\u1EEDa \u0111\u1ED5i t\u1EADp l\u1EC7nh h\u1EC7 th\u1ED1ng","Create Subfolder":"T\u1EA1o m\u1ED9t th\u01B0 m\u1EE5c con","Create Script":"T\u1EA1o m\u1ED9t k\u1ECBch b\u1EA3n","Install Script":"C\xE0i \u0111\u1EB7t k\u1ECBch b\u1EA3n",Install:"C\xE0i \u0111\u1EB7t","Are you sure you want to remove this script?":"B\u1EA1n c\xF3 ch\u1EAFc ch\u1EAFn mu\u1ED1n xo\xE1 t\u1EADp l\u1EC7nh?","Folder Name":"T\xEAn th\u01B0 m\u1EE5c",Rename:"\u0110\u1ED5i t\xEAn","Please select a script":"Vui l\xF2ng ch\u1ECDn m\u1ED9t k\u1ECBch b\u1EA3n","Failed to load script":"Kh\xF4ng th\u1EC3 t\u1EA3i t\u1EADp l\u1EC7nh","Run Script":"Ch\u1EA1y t\u1EADp l\u1EC7nh","Load Script":"T\u1EA3i t\u1EADp l\u1EC7nh","Title is required":"Ti\xEAu \u0111\u1EC1 l\xE0 b\u1EAFt bu\u1ED9c","Script content is required":"N\u1ED9i dung k\u1ECBch b\u1EA3n l\xE0 b\u1EAFt bu\u1ED9c","System Scripts":"K\u1ECBch b\u1EA3n h\u1EC7 th\u1ED1ng","User Scripts":"T\u1EADp l\u1EC7nh ng\u01B0\u1EDDi d\xF9ng","You can right click on the tree nodes.":"B\u1EA1n c\xF3 th\u1EC3 k\xEDch chu\u1ED9t ph\u1EA3i v\xE0o n\xFAt c\xE2y.","Top Side":"\u0110\u1EA7u trang","Bottom Side":"\u0110\xE1y","With Silk Layer":"L\u1EDBp m\xE0n t\u01A1 l\u1EE5a","No Silk Layer":"Kh\xF4ng c\xF3 l\u1EDBp t\u01A1 l\u1EE5a","Photo View":"Xem tr\u01B0\u1EDBc \u1EA3nh","Check Update":"Ki\u1EC3m tra c\u1EADp nh\u1EADt","EasyEDA Editor {ver} is released. Would you like to switch to the new version now?":"EasyEDA V {ver} \u0111\xE3 \u0111\u01B0\u1EE3c ph\xE1t h\xE0nh, b\xE2y gi\u1EDD chuy\u1EC3n sang phi\xEAn b\u1EA3n m\u1EDBi?","Switch to New Version":"Chuy\u1EC3n sang phi\xEAn b\u1EA3n m\u1EDBi","Next Time":"N\xF3i l\u1EA1i","Generating download link...":"T\u1EA1o li\xEAn k\u1EBFt t\u1EA3i xu\u1ED1ng","Download project now":"Nh\u1EA5n v\xE0o \u0111\xE2y \u0111\u1EC3 t\u1EA3i v\u1EC1 d\u1EF1 \xE1n","Import DXF":"Nh\u1EADp DXF","DXF Unit":"\u0110\u01A1n v\u1ECB DXF","Convert circle to HOLE on BoardOutLine layer":"V\xF2ng tr\xF2n c\u1EE7a l\u1EDBp BoardOutLine \u0111\u01B0\u1EE3c coi l\xE0 m\u1ED9t l\u1ED7","No shapes found":"Kh\xF4ng c\xF3 n\u1ED9i dung","Fail to load the file":"Kh\xF4ng th\u1EC3 t\u1EA3i t\u1EC7p","Please select a DXF file.":"Vui l\xF2ng ch\u1ECDn t\u1EC7p DXF","This feature only works for PCB document.":"Ch\u1EE9c n\u0103ng n\xE0y ch\u1EC9 c\xF3 th\u1EC3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng cho c\xE1c t\xE0i li\u1EC7u PCB","Select a DXF file":"Ch\u1ECDn t\u1EC7p DXF","Data Sync":"\u0110\u1ED3ng b\u1ED9 h\xF3a d\u1EEF li\u1EC7u","Data Conflicts":"Xung \u0111\u1ED9t d\u1EEF li\u1EC7u","Project or Document":"D\u1EF1 \xE1n ho\u1EB7c t\xE0i li\u1EC7u","Local-Side":"\u0110\u1ECBa ph\u01B0\u01A1ng k\u1EBFt th\xFAc",Decision:"Ra quy\u1EBFt \u0111\u1ECBnh",Modified:"S\u1EEDa \u0111\u1ED5i",Deleted:"B\u1ECB x\xF3a","As Cloud":"Nh\u1EA5n \u0111\xE1m m\xE2y","As Local":"B\xE1o \u0111\u1ECBa ph\u01B0\u01A1ng","Data sync completed":"\u0110\u1ED3ng b\u1ED9 h\xF3a d\u1EEF li\u1EC7u \u0111\xE3 ho\xE0n t\u1EA5t",Team:"\u0110\u1ED9i",Teams:"\u0110\u1ED9i","Switching team":"Chuy\u1EC3n nh\xF3m","Switch team failed":"Nh\xF3m chuy\u1EC3n \u0111\u1ED5i kh\xF4ng th\xE0nh c\xF4ng","Load team info fail!":"Kh\xF4ng \u0111\u1ECDc \u0111\u01B0\u1EE3c th\xF4ng tin v\u1EC1 \u0111\u1ED9i","Load team info fail! Please reload.":"Kh\xF4ng \u0111\u1ECDc \u0111\u01B0\u1EE3c th\xF4ng tin v\u1EC1 nh\xF3m, vui l\xF2ng l\xE0m m\u1EDBi th\u1EED l\u1EA1i","My Teams":"\u0110\u1ED9i c\u1EE7a t\xF4i","Create Team":"T\u1EA1o nh\xF3m","Footprint Manager":"Qu\u1EA3n l\xFD d\u1EA5u ch\xE2n","Schematic Components":"Thi\u1EBFt b\u1ECB Schematic","Edit Pin Map Information":"Ch\u1EC9nh s\u1EEDa Th\xF4ng tin B\u1EA3n \u0111\u1ED3 Pin","Package Categories":"Danh m\u1EE5c g\xF3i h\xE0ng","Components List":"Danh s\xE1ch c\xE1c th\xE0nh ph\u1EA7n","Component PIN information":"Th\xF4ng tin v\u1EC1 PIN th\xE0nh ph\u1EA7n","Footprint PAD information":"D\u1EA5u ch\xE2n th\xF4ng tin PAD","Footprint Categories":"Danh m\u1EE5c d\u1EA5u ch\xE2n","Pad Number":"S\u1ED1 Pad","Search PCB Libs":"G\xF3i t\xECm ki\u1EBFm","Filter by keyword":"L\u1ECDc t\u1EEB kho\xE1","System Libs":"Th\u01B0 vi\u1EC7n h\u1EC7 th\u1ED1ng",Drawings:"Kh\xE1c","Netlabel and netFlag":"Th\u1EBB m\u1EA1ng v\xE0 \u0111\u1ECBnh danh",Texts:"V\u0103n b\u1EA3n",Wires:"D\xE2y","Board outlines":"Bi\xEAn gi\u1EDBi",Footprints:"Tr\u1ECDn g\xF3i",Tracks:"D\xE2y","width and height":"R\u1ED9ng v\xE0 cao","Create rectangular board":"T\u1EA1o m\u1ED9t \u0111\u01B0\u1EDDng vi\u1EC1n h\xECnh ch\u1EEF nh\u1EADt","Create circular board":"T\u1EA1o m\u1ED9t \u0111\u01B0\u1EDDng vi\u1EC1n tr\xF2n","Create round rectangular board":"T\u1EA1o m\u1ED9t \u0111\u01B0\u1EDDng vi\u1EC1n h\xECnh ch\u1EEF nh\u1EADt tr\xF2n","The object you selected was not found in other documents.":"C\xE1c t\xE0i li\u1EC7u kh\xE1c kh\xF4ng t\xECm th\u1EA5y c\xE1c th\xE0nh ph\u1EA7n t\u01B0\u01A1ng \u1EE9ng","No valid object for cross probe selected.":"C\xE1c th\xE0nh ph\u1EA7n c\xF3 th\u1EC3 ki\u1EC3m tra ch\xE9o kh\xF4ng \u0111\u01B0\u1EE3c ch\u1ECDn.","Can not probe. Refreshing the window may get it to work.":"Ki\u1EC3m tra ch\xE9o kh\xF4ng th\xE0nh c\xF4ng, l\xE0m m\u1EDBi th\u1EED","You need to login for this function to work.":"\u0110\u0103ng nh\u1EADp \u0111\u1EC3 s\u1EED d\u1EE5ng t\xEDnh n\u0103ng n\xE0y.","An Easier EDA Experience":"Hi\u1EC7u qu\u1EA3 c\xF4ng c\u1EE5 thi\u1EBFt k\u1EBF \u0111i\u1EC7n t\u1EED tr\u1EF1c tuy\u1EBFn",Version:"Phi\xEAn b\u1EA3n",BuiltDate:"Bi\xEAn d\u1ECBch ng\xE0y","Auto Router Config":"C\xE0i \u0111\u1EB7t \u0111\u1ECBnh tuy\u1EBFn t\u1EF1 \u0111\u1ED9ng","Sorry, your web browser does not support this feature. Please run a modern browser.":"Tr\xECnh duy\u1EC7t hi\u1EC7n t\u1EA1i kh\xF4ng h\u1ED7 tr\u1EE3 ch\u1EE9c n\u0103ng n\xE0y, vui l\xF2ng s\u1EED d\u1EE5ng tr\xECnh duy\u1EC7t hi\u1EC7n \u0111\u1EA1i","Please make sure all components are inside the board outline!":"\u0110\u1EA3m b\u1EA3o t\u1EA5t c\u1EA3 c\xE1c th\xE0nh ph\u1EA7n n\u1EB1m trong bi\xEAn gi\u1EDBi","Cannot start again before previous activity is stopped":"Kh\xF4ng th\u1EC3 b\u1EAFt \u0111\u1EA7u l\u1EA1i tr\u01B0\u1EDBc khi d\xE2y cu\u1ED1i c\xF9ng","Please select a net":"Vui l\xF2ng ch\u1ECDn m\u1EA1ng","Router completed successfully.":"Ho\xE0n thi\u1EC7n h\u1EC7 th\u1ED1ng d\xE2y \u0111i\u1EC7n","Router is time out.":"Thu\xEA ngo\xE0i gi\u1EDD","Server is busy, please try again later.":"M\xE1y ch\u1EE7 b\u1EADn, vui l\xF2ng th\u1EED l\u1EA1i sau","Due to the limitation of {0}router server{1} resources, multiple routers executing concurrently are not supported, please try again later or do it manually :-)":"H\u1EA1n ch\u1EBF b\u1EDFi c\xE1c t\xE0i nguy\xEAn m\xE1y ch\u1EE7 \u0111\u1ECBnh tuy\u1EBFn t\u1EF1 \u0111\u1ED9ng, trong khi h\u1EC7 th\u1ED1ng d\xE2y \u0111a nhi\u1EC7m kh\xF4ng \u0111\u01B0\u1EE3c h\u1ED7 tr\u1EE3, vui l\xF2ng th\u1EED l\u1EA1i sau","Track Width is invalid":"Chi\u1EC1u r\u1ED9ng d\xE2y kh\xF4ng h\u1EE3p l\u1EC7","General Clearance is invalid":"Gi\u1EA3i ph\xF3ng m\u1EB7t b\u1EB1ng chung kh\xF4ng h\u1EE3p l\u1EC7","SMD Clearance is invalid":"Kho\u1EA3ng c\xE1ch SMT kh\xF4ng h\u1EE3p l\u1EC7","Diameter is invalid":"\u0110\u01B0\u1EDDng k\xEDnh kh\xF4ng h\u1EE3p l\u1EC7","Hole(D) is invalid":"Vias (\u0111\u01B0\u1EDDng k\xEDnh) kh\xF4ng h\u1EE3p l\u1EC7","Track width cannot be less than DRC setting value.":"C\xE1c d\u1EA5u v\u1EBFt chi\u1EC1u r\u1ED9ng kh\xF4ng th\u1EC3 \u0111\u01B0\u1EE3c \xEDt h\u01A1n c\xE1c thi\u1EBFt l\u1EADp DRC","General Clearance cannot be less than DRC setting value.":"S\u1EF1 th\xF4ng quan chung kh\xF4ng th\u1EC3 th\u1EA5p h\u01A1n thi\u1EBFt l\u1EADp c\u1EE7a DRC","SMD Clearance cannot be less than DRC setting value.":"\u0110\u1ED9 r\xF2 r\u1EC9 SMD kh\xF4ng \u0111\u01B0\u1EE3c th\u1EA5p h\u01A1n thi\u1EBFt l\u1EADp c\u1EE7a DRC.","Hole size cannot be less than DRC setting value.":"\u0110\u01B0\u1EDDng k\xEDnh qua kh\xF4ng \u0111\u01B0\u1EE3c nh\u1ECF h\u01A1n c\xE0i \u0111\u1EB7t DRC","Diameter must be greater than hole size.":"\u0110\u01B0\u1EDDng k\xEDnh ph\u1EA3i l\u1EDBn h\u01A1n kh\u1EA9u \u0111\u1ED9","Clearance cannot be less than DRC setting value.":"S\u1EF1 gi\u1EA3i ph\xF3ng m\u1EB7t n\u01B0\u1EDBc kh\xF4ng th\u1EC3 th\u1EA5p h\u01A1n thi\u1EBFt l\u1EADp c\u1EE7a DRC.","Not a valid PCB, please check it again":"PCB kh\xF4ng h\u1EE3p l\u1EC7, vui l\xF2ng ki\u1EC3m tra l\u1EA1i","Previous connection must be closed":"B\u1EA1n ph\u1EA3i \u0111\xF3ng k\u1EBFt n\u1ED1i tr\u01B0\u1EDBc","Network error. Please try again.":"L\u1ED7i m\u1EA1ng, vui l\xF2ng th\u1EED l\u1EA1i sau","Router error.":"Sai d\xE2y","Invalid PCB.":"PCB kh\xF4ng h\u1EE3p l\u1EC7","General Clearance":"Gi\u1EA3i ph\xF3ng m\u1EB7t b\u1EB1ng chung","SMD Clearance":"Kho\u1EA3ng c\xE1ch SMD","Skip Routed Nets":"B\u1ECF qua m\u1EA1ng \u0111\u1ECBnh tuy\u1EBFn","Remove Existing Tracks":"Xo\xE1 d\xE2y \u0111i\u1EC7n hi\u1EC7n c\xF3","Real-time Display":"Hi\u1EC3n th\u1ECB th\u1EDDi gian th\u1EF1c","Router Layers":"L\u1EDBp d\xE2y",Via:"Th\xF4ng qua l\u1ED7",Special:"\u0110\u1EB7c bi\u1EC7t","Special Nets":"M\u1EA1ng \u0111\u1EB7c bi\u1EC7t","Skip Nets":"B\u1ECF qua m\u1EA1ng","Router Server":"M\xE1y ch\u1EE7 c\xE1p",Local:"\u0110\u1ECBa ph\u01B0\u01A1ng",Available:"C\xF3 s\u1EB5n",Unavailable:"Kh\xF4ng c\xF3 s\u1EB5n",Checking:"Th\u1EED nghi\u1EC7m","How to use this?":"C\xE1ch s\u1EED d\u1EE5ng","How to enable?":"L\xE0m th\u1EBF n\xE0o \u0111\u1EC3 k\xEDch ho\u1EA1t?","Checking local auto router server...":"D\u1ECBch v\u1EE5 c\xE1p \u0111\u1ECBa ph\u01B0\u01A1ng \u0111ang \u0111\u01B0\u1EE3c th\u1EED nghi\u1EC7m","Stop Router":"D\u1EEBng d\xE2y","Auto Router is running...":"Ho\u1EA1t \u0111\u1ED9ng d\xE2y t\u1EF1 \u0111\u1ED9ng",EELib:"Th\u01B0 vi\u1EC7n c\u01A1 b\u1EA3n","@@left_bar":{"Design{0}Manager":"Ng\u01B0\u1EDDi thi\u1EBFt k\u1EBF {0} Thi\u1EBFt k\u1EBF"},Libraries:"Th\u01B0 vi\u1EC7n th\xE0nh ph\u1EA7n",Shared:"Chia s\u1EBB","Supply Flag":"B\u1ED9 nh\u1EADn d\u1EA1ng \u0111i\u1EC7n","US Style":"Phong c\xE1ch M\u1EF9 chu\u1EA9n","EU/IEC Style":"Phong c\xE1ch ch\xE2u \xC2u ti\xEAu chu\u1EA9n",Connector:"K\u1EBFt n\u1ED1i","Switch/Relay":"Chuy\u1EC3n m\u1EA1ch / chuy\u1EC3n ti\u1EBFp",JLCPCB:"Jia Li Chong","Font Height":"Chi\u1EC1u cao ch\u1EEF",Precision:"\u0110\u1ED9 ch\xEDnh x\xE1c",Protractor:"\u0110o g\xF3c","Changing line width won't work for silhouette fonts.":"\u0110\u01B0\u1EDDng n\xE9t ph\xE1c th\u1EA3o \u0111\u01B0\u1EDDng vi\u1EC1n t\u1EA1m th\u1EDDi kh\xF4ng th\u1EC3 s\u1EEDa \u0111\u1ED5i.","Font is missing! You can confirm the dialog and use default font instead or cancel the dialog then upload your font and do it again.":"Ph\xF4ng b\u1ECB m\u1EA5t! B\u1EA1n c\xF3 th\u1EC3 nh\u1EA5p OK \u0111\u1EC3 s\u1EED d\u1EE5ng ph\xF4ng ch\u1EEF m\u1EB7c \u0111\u1ECBnh ho\u1EB7c H\u1EE7y, sau \u0111\xF3 t\u1EA3i l\xEAn ph\xF4ng ch\u1EEF.",Owner:"Ch\u1EE7 s\u1EDF h\u1EEFu",License:"H\u1EE3p \u0111\u1ED3ng","Part Pins":"Ch\xE2n th\xE0nh ph\u1EA7n","Net Pins":"Pin m\u1EA1ng","Histories record":"L\u1ECBch s\u1EED","The assigned package has been modified, please re-assign.":"G\xF3i \u0111\xE3 x\xE1c \u0111\u1ECBnh \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EEDa \u0111\u1ED5i, vui l\xF2ng ch\u1EC9 \u0111\u1ECBnh l\u1EA1i g\xF3i.","Package is not assigned. Please assign a package.":"G\xF3i c\u01B0\u1EDBc kh\xF4ng \u0111\u01B0\u1EE3c ch\u1EC9 \u0111\u1ECBnh, h\xE3y ch\u1EC9 \u0111\u1ECBnh m\u1ED9t g\xF3i","The path is for the project URL identify, it is unique (the identity of the project owned by the user cannot be the same)":"Logo d\u1EF1 \xE1n cho h\u1EADu t\u1ED1 url d\u1EF1 \xE1n, bi\u1EC3u t\u01B0\u1EE3ng \u0111\u1ED9c \u0111\xE1o (ng\u01B0\u1EDDi d\xF9ng c\xF3 logo c\u1EE7a d\u1EF1 \xE1n kh\xF4ng th\u1EC3 gi\u1ED1ng nhau)","It's with a letter or a number and can contain only numbers, letters, line-through, underscores, and points. It cannot be modified after saving.":"Bi\u1EC3u tr\u01B0ng b\u1EAFt \u0111\u1EA7u b\u1EB1ng m\u1ED9t ch\u1EEF c\xE1i ho\u1EB7c s\u1ED1, ch\u1EC9 c\xF3 th\u1EC3 ch\u1EE9a c\xE1c con s\u1ED1, ch\u1EEF c\xE1i, ch\u1EEF th\u1EADp, g\u1EA1ch d\u01B0\u1EDBi v\xE0 kh\xF4ng th\u1EC3 s\u1EEDa \u0111\u1ED5i \u0111i\u1EC3m sau khi l\u01B0u","Updating document to new format, please wait......After finishing please save your document with Ctrl + S.":"\u0110ang c\u1EADp nh\u1EADt t\xE0i li\u1EC7u sang \u0111\u1ECBnh d\u1EA1ng m\u1EDBi, vui l\xF2ng ch\u1EDD ... Sau khi c\u1EADp nh\u1EADt ho\xE0n t\u1EA5t, nh\u1EA5n Ctrl + S \u0111\u1EC3 l\u01B0u t\u1EC7p.","Open at current project?":"Trong d\u1EF1 \xE1n hi\u1EC7n t\u1EA1i m\u1EDF?","Please select a history to recover.":"Vui l\xF2ng ch\u1ECDn kh\xF4i ph\u1EE5c l\u1ECBch s\u1EED.",'Be careful! When you click the "Recover" button, this sheet will be overwritten!':'Xin l\u01B0u \xFD! N\u1EBFu b\u1EA1n nh\u1EA5p v\xE0o n\xFAt "ph\u1EE5c h\u1ED3i", trang s\u1EBD \u0111\u01B0\u1EE3c b\u1EA3o v\u1EC7!',Recover:"Ph\u1EE5c h\u1ED3i","Save As a New Project":"L\u01B0u th\xE0nh d\u1EF1 \xE1n m\u1EDBi","There is no PCB under this project, would you like to create one?":"Kh\xF4ng c\xF3 PCB theo d\u1EF1 \xE1n, cho d\xF9 \u0111\u1EC3 t\u1EA1o ra m\u1ED9t?","Please make sure that the chose Altium Designer files are saved as ASCII files.":"Vui l\xF2ng \u0111\u1EA3m b\u1EA3o r\u1EB1ng c\xE1c t\u1EC7p tin \u0111\u01B0\u1EE3c ch\u1ECDn c\u1EE7a Altium Designer \u0111\u01B0\u1EE3c l\u01B0u d\u01B0\u1EDBi d\u1EA1ng t\u1EC7p ASCII.","Please make sure that the chose Eagle files are saved in Eagle v6.0 and above.":"\u0110\u1EA3m b\u1EA3o t\u1EC7p Eagle b\u1EA1n \u0111\xE3 ch\u1ECDn l\xE0 t\u1EC7p l\u01B0u \u1EDF Eagle v6.0 tr\u1EDF l\xEAn.","Please make sure that the Kicad files were compressed as the .zip file.":"H\xE3y ch\u1EAFc ch\u1EAFn r\u1EB1ng c\xE1c t\u1EADp tin Kicad \u0111\u01B0\u1EE3c n\xE9n trong kho l\u01B0u tr\u1EEF zip.","Open Altium Designer file":"M\u1EDF t\u1EADp tin thi\u1EBFt k\u1EBF c\u1EE7a Altium","Open Eagle file":"T\u1EC7p m\u1EDF Eagle","Open Kicad file":"M\u1EDF t\u1EADp tin Kicad","Select file(s)":"Ch\u1ECDn t\u1EC7p","Append to current project?":"Ch\xE8n v\xE0o d\u1EF1 \xE1n hi\u1EC7n t\u1EA1i?",Append:"Ch\xE8n","Open as new project":"M\u1EDF cho d\u1EF1 \xE1n m\u1EDBi","Tip: Press {0}SPACE{1} or {2}R{3} to rotate the placing object or selected object.":"M\u1EB9o: Nh\u1EA5n ph\xEDm c\xE1ch ph\xEDm {0} spacebar {1} ho\u1EB7c {2} R {3} \u0111\u1EC3 xoay ph\u1EA7n \u0111\u01B0\u1EE3c \u0111\u1EB7t ho\u1EB7c ch\u1ECDn.","Hotkeys Setting":"C\xE0i \u0111\u1EB7t ph\xEDm t\u1EAFt","I know. Don't show this again.":"T\xF4i bi\u1EBFt, kh\xF4ng c\xF2n hi\u1EC3n th\u1ECB g\u1EE3i \xFD n\xE0y.","Manufacturer Part Number can not be empty, if you don't know the part number, just make up a name or number":"S\u1ED1 s\u1EA3n ph\u1EA9m c\u1EE7a nh\xE0 s\u1EA3n xu\u1EA5t kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng, nh\u1EADp b\u1EA5t k\u1EF3 k\xFD t\u1EF1 n\xE0o n\u1EBFu b\u1EA1n kh\xF4ng bi\u1EBFt.","This prefix was changed to non-subpart format.":"S\u1ED1 \u0111\xE3 \u0111\u01B0\u1EE3c thay \u0111\u1ED5i th\xE0nh \u0111\u1ECBnh d\u1EA1ng kh\xF4ng ph\u1EA3i l\xE0 th\u01B0 vi\u1EC7n con","Save as New Project":"L\u01B0u v\xE0o d\u1EF1 \xE1n m\u1EDBi","Save to Existing Project":"L\u01B0u v\xE0o d\u1EF1 \xE1n hi\u1EC7n t\u1EA1i","Sheet Setting":"C\xE0i \u0111\u1EB7t t\xE0i li\u1EC7u","Sheet Size":"K\xEDch th\u01B0\u1EDBc t\xE0i li\u1EC7u",Pre:"S\u1ED1",pre:"S\u1ED1","Invalid Data":"\u0110\u1ECBnh d\u1EA1ng d\u1EEF li\u1EC7u sai",Others:"Kh\xE1c","You are not authorized to share this project.":"B\u1EA1n kh\xF4ng c\xF3 quy\u1EC1n chia s\u1EBB d\u1EF1 \xE1n","This project is private: if you continue sharing it will be made public.":"D\u1EF1 \xE1n l\xE0 m\u1ED9t d\u1EF1 \xE1n t\u01B0 nh\xE2n, ti\u1EBFp t\u1EE5c chia s\u1EBB s\u1EBD \u0111\u01B0\u1EE3c m\u1EDF.","Modify file info":"S\u1EEDa \u0111\u1ED5i th\xF4ng tin t\xE0i li\u1EC7u","Please input search keyword":"Vui l\xF2ng nh\u1EADp t\u1EEB kh\xF3a t\xECm ki\u1EBFm","Sort By":"S\u1EAFp x\u1EBFp theo","Date Created":"T\u1EA1o th\u1EDDi gian","Date Modified":"S\u1EEDa \u0111\u1ED5i th\u1EDDi gian",Ascending:"Th\u1EE9 t\u1EF1 t\u0103ng d\u1EA7n",Descending:"Th\u1EE9 t\u1EF1 gi\u1EA3m d\u1EA7n",Stick:"Tr\u01B0\u1EDBc",Unstick:"H\u1EE7y tr\u01B0\u1EDBc","Expand All":"M\u1EDF r\u1ED9ng t\u1EA5t c\u1EA3","Collapse All":"Thu g\u1ECDn t\u1EA5t c\u1EA3","Your file hasn't been saved. Would you like to save it now?":"T\u1EC7p c\u1EE7a b\u1EA1n ch\u01B0a \u0111\u01B0\u1EE3c l\u01B0u, c\xF3 l\u01B0u kh\xF4ng?","Don't Save":"Kh\xF4ng l\u01B0u","Library Owner:":"Ch\u1EE7 th\u01B0 vi\u1EC7n","verifyPkg.Value":"T\xEAn",State:"Tr\u1EA1ng th\xE1i","Please select!":"H\xE3y ch\u1ECDn!",Route:"D\xE2y \u0111i\u1EC7n","Import successfully:":"Nh\u1EADp th\xE0nh c\xF4ng","Import failed:":"Nh\u1EADp kh\xF4ng th\xE0nh c\xF4ng","The title must be between 2~128 characters.":"Chi\u1EC1u d\xE0i ti\xEAu \u0111\u1EC1 ph\u1EA3i t\u1EEB 4 \u0111\u1EBFn 128 byte","Path only contain 'a-z\u3001A-Z\u3001- \u3001 _ \u30010-9'!":"\u0110\u01B0\u1EDDng d\u1EABn ch\u1EC9 c\xF3 th\u1EC3 ch\u1EE9a 'a-z, A-Z, -, _, 0-9'!","Path must begin as 'a-z\u3001A-Z\u30010-9'!":"\u0110\u01B0\u1EDDng d\u1EABn ph\u1EA3i b\u1EAFt \u0111\u1EA7u b\u1EB1ng 'a-z, A-Z, 0-9'!","The path length must be between 4~128 characters!":"\u0110\u1ED9 d\xE0i \u0111\u01B0\u1EDDng d\u1EABn t\u1EEB 4 ~ 128 byte!","Do you want to delete this file?":"B\u1EA1n x\xE1c nh\u1EADn r\u1EB1ng b\u1EA1n c\u1EA7n ph\u1EA3i x\xF3a?","Add sub part success":"Th\xEAm th\u01B0 vi\u1EC7n ph\u1EE5 th\xE0nh c\xF4ng","Please input name and prefix!":"Vui l\xF2ng nh\u1EADp s\u1ED1 v\xE0 t\xEAn","Board outlines are not closed":"\u0110\u01B0\u1EDDng bi\xEAn c\u1EE7a h\u1ED9i \u0111\u1ED3ng qu\u1EA3n tr\u1ECB kh\xF4ng b\u1ECB \u0111\xF3ng",'The Pins "{0}" are not snapped on the grid point! This part maybe will cause some errors in the schematic.':'Pin "{0}" kh\xF4ng b\u1ECB h\u1EA5p ph\u1EE5 tr\xEAn l\u01B0\u1EDBi \u0111i\u1EC7n! Th\u01B0 vi\u1EC7n n\xE0y c\xF3 th\u1EC3 t\u1EA1o ra c\xE1c l\u1ED7i trong s\u01A1 \u0111\u1ED3 m\u1EA1ch.',"Failed to read {0}":"Kh\xF4ng t\u1EA3i \u0111\u01B0\u1EE3c {0}","{0} is invalid":"{0} kh\xF4ng c\xF3 s\u1EB5n","{0} not found":"{0} kh\xF4ng t\u1ED3n t\u1EA1i","Failed to execute script:":"Kh\xF4ng th\u1EC3 th\u1EF1c thi t\u1EADp l\u1EC7nh","One or more js files not found":"Kh\xF4ng t\xECm th\u1EA5y m\u1ED9t js","Only ONE {0} file is required":"Ch\u1EC9 {0} m\u1ED9t t\u1EC7p","Extension ID is required":"ID m\u1EDF r\u1ED9ng kh\xF4ng th\u1EC3 \u0111\u1EC3 tr\u1ED1ng","Extension ID is invalid":"ID ti\u1EC7n \xEDch m\u1EDF r\u1ED9ng kh\xF4ng h\u1EE3p l\u1EC7","Extension ID is duplicated":"ID ti\u1EC7n \xEDch m\u1EDF r\u1ED9ng \u0111\xE3 t\u1ED3n t\u1EA1i","No Result!":"Kh\xF4ng c\xF3 k\u1EBFt qu\u1EA3","Load Error":"Kh\xF4ng th\u1EC3 t\u1EA3i",loading:"\u0110ang n\u1EA1p","Failed to load spice data":"Kh\xF4ng th\u1EC3 t\u1EA3i d\u1EEF li\u1EC7u m\xF4 ph\u1ECFng",Foreground:"M\xE0u m\u1EB7t tr\u01B0\u1EDBc","Part Graphics":"\u0110\u1ED3 h\u1ECDa b\u1ED9 ph\u1EADn","Common Used":"Th\u01B0\u1EDDng \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng","@@history-dlg":{Number:"S\u1ED1",Editor:"Bi\xEAn t\u1EADp vi\xEAn"},"View File History":"\u1ECBch s\u1EED","Save Time":"Ti\u1EBFt ki\u1EC7m th\u1EDDi gian","Invalid format":"\u0110\u1ECBnh d\u1EA1ng sai","This component is verified":"\u5143\u4EF6\u5DF2\u7ECF\u9A8C\u8BC1","This component is unmounted":"\u5143\u4EF6\u4E0D\u4E0A\u4EF6"};var $oi={Home:"\u4E3B\u9875",Work:"\u5DE5\u4F5C",User:"\u7528\u6237","Join...":"\u6CE8\u518C...","Login...":"\u767B\u5F55...","Log in":"\u767B\u5F55",Logout:"\u9000\u51FA\u767B\u5F55","Change password...":"\u4FEE\u6539\u5BC6\u7801...","User Preference":"\u4E2A\u4EBA\u504F\u597D","System Settings...":"\u7CFB\u7EDF\u8BBE\u7F6E...","System Settings":"\u7CFB\u7EDF\u8BBE\u7F6E",Crash:"\u6062\u590D\u5907\u4EFD\u6570\u636E...","Invite friends...":"\u9080\u8BF7\u597D\u53CB...",Language:"\u8BED\u8A00","Language Setting":"\u8BED\u8A00\u8BBE\u7F6E",English:"English (\u82F1\u8BED)","Polski (Polish)":"Polski (\u6CE2\u5170\u8BED)","Deutsch (German)":"Deutsch (\u5FB7\u8BED)","Fran\xE7ais (French)":"Fran\xE7aise (\u6CD5\u8BED)","\u7B80\u4F53\u4E2D\u6587 (Chinese - Simplified)":"\u7B80\u4F53\u4E2D\u6587","Chinese - Simplified":"\u7B80\u4F53\u4E2D\u6587","\u6B63\u9AD4\u4E2D\u6587 (Chinese - Traditional)":"\u7E41\u4F53\u4E2D\u6587","\uD55C\uAD6D\uC5B4 (Korean)":"\uD55C\uAD6D\uC5B4 (\u97E9\u8BED)","\u65E5\u672C\u8A9E (Japanese)":"\u65E5\u672C\u8A9E (\u65E5\u8BED)","Ti\u1EBFng Vi\u1EC7t (Vietnamese)":"Ti\u1EBFng Vi\u1EC7t (\u8D8A\u5357\u8BED)","Recovery...":"\u6062\u590D...","Recovery Backup":"\u6062\u590D\u5907\u4EFD","Recovery Backup...":"\u6062\u590D\u5907\u4EFD...","Manual Backup":"\u624B\u52A8\u5907\u4EFD","Clear Auto Backup...":"\u6E05\u9664\u81EA\u52A8\u5907\u4EFD\u8BB0\u5F55",Backup:"\u5907\u4EFD","Backup...":"\u5907\u4EFD...","Auto Backup":"\u81EA\u52A8\u5907\u4EFD",Rollback:"\u56DE\u6EDA",Archive:"\u5F52\u6863","Archive...":"\u5F52\u6863...","Backup Project":"\u5907\u4EFD\u5DE5\u7A0B","Archive Project":"\u5F52\u6863\u5DE5\u7A0B","Please open the project before backing up.":"\u5907\u4EFD\u4E4B\u524D\u8BF7\u5148\u6253\u5F00\u5DE5\u7A0B\u3002","Please open the project before archive.":"\u5F52\u6863\u4E4B\u524D\u8BF7\u5148\u6253\u5F00\u5DE5\u7A0B\u3002","This operation will clear your automatic backup record. Continue?":"\u6B64\u64CD\u4F5C\u4F1A\u6E05\u7A7A\u4F60\u7684\u81EA\u52A8\u5907\u4EFD\u8BB0\u5F55\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","The archive will be packaged for persistent storage according to the current project status. At the same time, all backups before the project will be cleared, including automatic backups and manual backups of all project members. Please notify all project related personnel and exercise caution!":"\u5F52\u6863\u4F1A\u6839\u636E\u5F53\u524D\u5DE5\u7A0B\u72B6\u6001\u8FDB\u884C\u6253\u5305\u505A\u6301\u4E45\u5316\u5B58\u50A8\uFF0C\u540C\u65F6\u4F1A\u6E05\u9664\u5DE5\u7A0B\u4E4B\u524D\u7684\u6240\u6709\u5907\u4EFD\uFF0C\u5305\u62EC\u6240\u6709\u5DE5\u7A0B\u6210\u5458\u7684\u81EA\u52A8\u5907\u4EFD\u548C\u624B\u52A8\u5907\u4EFD\uFF0C\u8BF7\u901A\u77E5\u6240\u6709\u5DE5\u7A0B\u76F8\u5173\u4EBA\u5458\uFF0C\u5E76\u8C28\u614E\u64CD\u4F5C\uFF01","Your Preferences Information":"\u4F60\u7684\u4E2A\u4EBA\u504F\u597D\u4FE1\u606F","You can click the header to modify clearances in batch.":"\u4F60\u53EF\u4EE5\u70B9\u51FB\u8868\u5934\u6279\u91CF\u4FEE\u6539\u95F4\u8DDD\u3002",'Current unit is "mm", the minimum\xA0value is {0}, the maximum value is {1}, 3 decimal places.':"\u5F53\u524D\u5355\u4F4D\u5236\u4E3A mm\uFF0C\u9650\u5236\u8F93\u5165\u7684\u6700\u5C0F\u503C\u4E3A {0}\uFF0C\u6700\u5927\u503C\u4E3A {1}\uFF0C\u4E14\u5C0F\u6570\u4F4D\u4EC5\u9650 3 \u4F4D\u3002",'Current unit is "mil", the minimum\xA0value is {0}, the maximum value is {1}, 1 decimal places.':"\u5F53\u524D\u5355\u4F4D\u5236\u4E3A mil\uFF0C\u9650\u5236\u8F93\u5165\u7684\u6700\u5C0F\u503C\u4E3A {0}\uFF0C\u6700\u5927\u503C\u4E3A {1}\uFF0C\u4E14\u5C0F\u6570\u4F4D\u4EC5\u9650 1 \u4F4D\u3002","The current project has no content and is creating a board for you.":"\u5F53\u524D\u5DE5\u7A0B\u6CA1\u6709\u5185\u5BB9\uFF0C\u6B63\u5728\u4E3A\u60A8\u521B\u5EFA\u677F\u5B50\u3002",File:"\u6587\u4EF6",New:"\u65B0\u5EFA","New template":"\u65B0\u5EFA\u6A21\u677F","Expand/Collapse Left Panel":"\u5C55\u5F00/\u6536\u8D77\u5DE6\u4FA7\u9762\u677F","Expand/Collapse Right Panel":"\u5C55\u5F00/\u6536\u8D77\u5F00\u53F3\u4FA7\u9762\u677F","Expand/Collapse Bottom Panel":"\u5C55\u5F00/\u6536\u8D77\u5E95\u90E8\u9762\u677F","Show/Hide Special Symbol Floating Window":"\u663E\u793A/\u9690\u85CF\u7279\u6B8A\u7B26\u53F7\u6D6E\u7A97","Show/Hide Value":"\u663E\u793A/\u9690\u85CF\u5C5E\u6027\u503C","Show layer":"\u663E\u793A\u5C42","Hide the layer":"\u9690\u85CF\u672C\u5C42","Show the layer":"\u663E\u793A\u672C\u5C42","Layer window":"\u56FE\u5C42\u7A97\u53E3","New...":"\u65B0\u5EFA...","Project...":"\u5DE5\u7A0B...",Schematic:"\u539F\u7406\u56FE",Primitive:"\u56FE\u5143","Primitive Style":"\u56FE\u5143\u98CE\u683C","Reset Default":"\u6062\u590D\u9ED8\u8BA4","Restore Default Scale":"\u6062\u590D\u9ED8\u8BA4\u6BD4\u4F8B","Restore Original Scale":"\u6062\u590D\u539F\u59CB\u6BD4\u4F8B",Board:"\u677F",Page:"\u56FE\u9875","Block...":"\u5757...","Block Symbol":"\u6A21\u5757\u7B26\u53F7","Drawing Symbol":"\u56FE\u7EB8\u7B26\u53F7",NoneElecSymbol:"\u65E0\u7535\u6C14\u7B26\u53F7","Non-Electronic Symbol":"\u65E0\u7535\u6C14\u7B26\u53F7","Non-Electronic Symbol...":"\u65E0\u7535\u6C14\u6807\u8BC6...","Non-Electronic Flag":"\u65E0\u7535\u6C14\u6807\u8BC6","Off Page Connector...":"\u8DE8\u9875\u8FDE\u63A5\u6807\u8BC6...","Off Page Connector":"\u8DE8\u9875\u8FDE\u63A5\u6807\u8BC6","Off Page Connector - IN":"\u8DE8\u9875\u8FDE\u63A5\u6807\u8BC6- \u8F93\u5165","Off Page Connector - OUT":"\u8DE8\u9875\u8FDE\u63A5\u6807\u8BC6- \u8F93\u51FA","Off Page Connector - BI":"\u8DE8\u9875\u8FDE\u63A5\u6807\u8BC6- \u53CC\u5411","Off Page Connector Symbol":"\u8DE8\u9875\u8FDE\u63A5\u6807\u8BC6\u7B26\u53F7",Netflag:"\u7F51\u7EDC\u6807\u8BC6","Netflag...":"\u7F51\u7EDC\u6807\u8BC6...","Netflag Symbol":"\u7F51\u7EDC\u6807\u8BC6\u7B26\u53F7","Component Symbol":"\u5143\u4EF6\u7B26\u53F7","Netport Symbol":"\u7F51\u7EDC\u7AEF\u53E3\u7B26\u53F7",Netport:"\u7F51\u7EDC\u7AEF\u53E3","Part Symbol":"\u5668\u4EF6\u7B26\u53F7",ComponentSymbol:"\u5143\u4EF6\u7B26\u53F7","Device Type":"\u5668\u4EF6\u7C7B\u578B","Symbol Type":"\u7B26\u53F7\u7C7B\u578B","Save...":"\u4FDD\u5B58...","Save All":"\u4FDD\u5B58\u5168\u90E8","Save Version":"\u4FDD\u5B58\u7248\u672C","Save as...":"\u53E6\u5B58\u4E3A...","Save as (Local)...":"\u53E6\u5B58\u4E3A(\u672C\u5730)...","Rollback...":"\u56DE\u6EDA...","Project Save as...":"\u5DE5\u7A0B\u53E6\u5B58\u4E3A...","Project Save as (Local)...":"\u5DE5\u7A0B\u53E6\u5B58\u4E3A(\u672C\u5730)...","Library Save as (Local)...":"\u5E93\u53E6\u5B58\u4E3A(\u672C\u5730)...","Document Save as...":"\u6587\u6863\u53E6\u5B58\u4E3A...","Document Save as (Local)...":"\u6587\u6863\u53E6\u5B58\u4E3A(\u672C\u5730)...","Document Save as (.zip)...":"\u6587\u6863\u53E6\u5B58\u4E3A(.zip)...","Save as Reuse Block...":"\u53E6\u5B58\u4E3A\u590D\u7528\u6A21\u5757...","Save as Reuse Block (Local)...":"\u53E6\u5B58\u4E3A\u590D\u7528\u6A21\u5757(\u672C\u5730)...","Save as Reuse Block Based on Selected...":"\u6839\u636E\u9009\u4E2D\u53E6\u5B58\u4E3A\u590D\u7528\u6A21\u5757...","Save as Reuse Block(Local) Based on Selected...":"\u6839\u636E\u9009\u4E2D\u53E6\u5B58\u4E3A\u590D\u7528\u6A21\u5757(\u672C\u5730)...","Project Save as (.epro)":"\u5DE5\u7A0B\u53E6\u5B58\u4E3A(.epro)","Document Save as (.epro)":"\u6587\u6863\u53E6\u5B58\u4E3A(.epro)","Save as (.esym)":"\u53E6\u5B58\u4E3A(.esym)","Save as (.efoo)":"\u53E6\u5B58\u4E3A(.efoo)","Save as Module...":"\u53E6\u5B58\u4E3A\u6A21\u5757...","The current project is a version below V3.Once opened, it will no longer be supported by clients V2.2 or lower. If you need to re-import the project into a V2.2 client after upgrading the project to V3, please save it as epro format and then import it. Are you sure you want to open this project?":"\u5F53\u524D\u5DE5\u7A0B\u4E3AV3\u4EE5\u4E0B\u7248\u672C\uFF0C\u6253\u5F00\u540E\u5C06\u4E0D\u518D\u652F\u6301V2.2\u53CA\u4EE5\u4E0B\u7248\u672C\u5BA2\u6237\u7AEF\u6253\u5F00\u3002\u5DE5\u7A0B\u5347\u7EA7\u4E3AV3\u7248\u672C\u540E\u5982\u9700\u91CD\u65B0\u5BFC\u5165V2.2\u5BA2\u6237\u7AEF\uFF0C\u8BF7\u53E6\u5B58\u4E3Aepro\u683C\u5F0F\u540E\u5BFC\u5165\u3002\u662F\u5426\u786E\u8BA4\u6253\u5F00\u8BE5\u5DE5\u7A0B\uFF1F","Failed to update project library device {title}!":"\u66F4\u65B0\u5DE5\u7A0B\u5E93\u5668\u4EF6{title}\u5931\u8D25!","Failed to update project library symbol {title}!":"\u66F4\u65B0\u5DE5\u7A0B\u5E93\u7B26\u53F7{title}\u5931\u8D25!","Failed to update project library footprint {title}!":"\u66F4\u65B0\u5DE5\u7A0B\u5E93\u5C01\u88C5{title}\u5931\u8D25!","project is opening!":"\u5DE5\u7A0B\u6B63\u5728\u6253\u5F00\u4E2D!","Copying boards failure! The reason is:":"\u590D\u5236\u677F\u5B50\u5931\u8D25! \u539F\u56E0\u662F:","Copying schematic failure! The reason is:":"\u590D\u5236\u539F\u7406\u56FE\u5931\u8D25! \u539F\u56E0\u662F:","Copying page failure!The reason is:":"\u590D\u5236\u56FE\u9875\u5931\u8D25! \u539F\u56E0\u662F:","Failed to update personal library device {title}: {reason}":"\u66F4\u65B0\u4E2A\u4EBA\u5E93\u5668\u4EF6{title}\u5931\u8D25: {reason}","Failed to update personal library symbol {title}: {reason}":"\u66F4\u65B0\u4E2A\u4EBA\u5E93\u7B26\u53F7{title}\u5931\u8D25: {reason}","Failed to update personal library footprint {title}: {reason}":"\u66F4\u65B0\u4E2A\u4EBA\u5E93\u5C01\u88C5{title}\u5931\u8D25: {reason}","Failed to update personal library component {title}: {reason}":"\u66F4\u65B0\u4E2A\u4EBA\u5E93{title}\u5931\u8D25: {reason}",Print:"\u6253\u5370","Export Document":"\u5BFC\u51FA\u6587\u6863","Import Netlist":"\u5BFC\u5165\u7F51\u8868","Invalid format.":"\u683C\u5F0F\u9519\u8BEF","The code does not match current document type.":"\u4EE3\u7801\u4E0E\u5F53\u524D\u6587\u6863\u7C7B\u578B\u4E0D\u5339\u914D","Import a large number of symbol data failed:":"\u6279\u91CF\u4E0A\u4F20\u7B26\u53F7\u6570\u636E\u5931\u8D25\uFF1A","Import a large number of footprint data failed:":"\u6279\u91CF\u4E0A\u4F20\u5C01\u88C5\u6570\u636E\u5931\u8D25\uFF1A","Import a large number of device data failed:":"\u6279\u91CF\u4E0A\u4F20\u5668\u4EF6\u6570\u636E\u5931\u8D25\uFF1A","Import a large number of schematic data failed:":"\u6279\u91CF\u4E0A\u4F20\u539F\u7406\u56FE\u6570\u636E\u5931\u8D25\uFF1A","Import a large number of sheet data failed:":"\u6279\u91CF\u4E0A\u4F20\u56FE\u9875\u6570\u636E\u5931\u8D25\uFF1A","Import a large number of pcb data failed:":"\u6279\u91CF\u4E0A\u4F20pcb\u6570\u636E\u5931\u8D25\uFF1A","Import a large number of panel data failed:":"\u6279\u91CF\u4E0A\u4F20\u9762\u677F\u6570\u636E\u5931\u8D25\uFF1A","Import a large number of blockSymbolAttribute data failed:":"\u6279\u91CF\u4E0A\u4F20\u5B9E\u4F8B\u5C5E\u6027\u6570\u636E\u5931\u8D25\uFF1A","Import a large number of copperPour data failed:":"\u6279\u91CF\u4E0A\u4F20\u94FA\u94DC\u6570\u636E\u5931\u8D25\uFF1A","Import a large number of textPath data failed:":"\u6279\u91CF\u4E0A\u4F20\u5B57\u4F53\u6570\u636E\u5931\u8D25\uFF1A","Please select a font type!":"\u8BF7\u9009\u62E9\u5B57\u4F53\u7C7B\u578B\uFF01","Import project failure information:":"\u5BFC\u5165\u5DE5\u7A0B\u5931\u8D25\uFF1A","Project saves successfully!":"\u5DE5\u7A0B\u53E6\u5B58\u4E3A\u6210\u529F\uFF01","Project save as failure!":"\u5DE5\u7A0B\u53E6\u5B58\u4E3A\u5931\u8D25\uFF01","Project saves failure information:":"\u5DE5\u7A0B\u53E6\u5B58\u4E3A\u5931\u8D25\uFF1A","Document saves successfully!":"\u6587\u6863\u53E6\u5B58\u4E3A\u6210\u529F\uFF01","Document save as failure!":"\u6587\u6863\u53E6\u5B58\u4E3A\u5931\u8D25\uFF01","Document saves failure information:":"\u6587\u6863\u53E6\u5B58\u4E3A\u5931\u8D25\uFF1A","Reuse block saves successfully!":"\u590D\u7528\u6A21\u5757\u53E6\u5B58\u4E3A\u6210\u529F\uFF01","Reuse block save as failure!":"\u590D\u7528\u6A21\u5757\u53E6\u5B58\u4E3A\u5931\u8D25\uFF01","Reuse block saves failure information:":"\u590D\u7528\u6A21\u5757\u53E6\u5B58\u4E3A\u5931\u8D25\uFF1A","Library saves successfully!":"\u5E93\u53E6\u5B58\u4E3A\u6210\u529F\uFF01","Library save as failure!":"\u5E93\u53E6\u5B58\u4E3A\u5931\u8D25\uFF01","All Pins":"\u5168\u90E8\u5F15\u811A","Pin Only Selected":"\u4EC5\u9009\u4E2D\u5F15\u811A","Can not change to Blind/Buried Via, please add Blind/Buried Via rule at Design Rule first.":"\u65E0\u6CD5\u5207\u6362\u5230\u76F2\u57CB\u5B54\u7C7B\u578B\uFF0C\u8BF7\u5148\u5728\u8BBE\u8BA1\u89C4\u5219\u8BBE\u7F6E\u76F2\u57CB\u5B54\u7C7B\u578B\u3002","Device Import successfully:":"\u5668\u4EF6\u5BFC\u5165\u6210\u529F\uFF1A","Device Import failed:":"\u5668\u4EF6\u5BFC\u5165\u5931\u8D25\uFF1A","Symbol Import failed:":"\u5668\u4EF6\u5BFC\u5165\u5931\u8D25\uFF1A","Footprint Import failed:":"\u5668\u4EF6\u5BFC\u5165\u5931\u8D25\uFF1A","Please select data again!":"\u8BF7\u91CD\u65B0\u9009\u62E9\u6570\u636E!","Please select xlsx format file.":"\u8BF7\u9009\u62E9xlsx\u683C\u5F0F\u6587\u4EF6\u3002","Delete Template":"\u5220\u9664\u6A21\u677F","Decide whether to delete the BOM template":"\u662F\u5426\u5220\u9664Bom\u6A21\u677F","You can upload up to 10 BOM templates. Please delete the other templates before uploading.":"\u6700\u591A\u53EF\u4EE5\u4E0A\u4F2010\u4E2Abom\u6A21\u677F\uFF0C\u8BF7\u5148\u5220\u9664\u5176\u4ED6\u6A21\u677F\u518D\u4E0A\u4F20\u3002","The template file format is incorrect, please select again.":"\u6A21\u677F\u6587\u4EF6\u683C\u5F0F\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u3002","The template has the same name. Please change the name of the file to be uploaded.":"\u5B58\u5728\u91CD\u540D\u7684\u6A21\u677F\uFF0C\u8BF7\u4FEE\u6539\u4E0A\u4F20\u6587\u4EF6\u540D\u79F0\u3002","Failed to add fillet, please try again with a smaller number":"\u5706\u89D2\u6DFB\u52A0\u5931\u8D25\uFF0C\u8BF7\u5C1D\u8BD5\u4E00\u4E2A\u66F4\u5C0F\u7684\u6570\u503C","Failed to add chamfer, please try again with a smaller number":"\u659C\u89D2\u6DFB\u52A0\u5931\u8D25\uFF0C\u8BF7\u5C1D\u8BD5\u4E00\u4E2A\u66F4\u5C0F\u7684\u6570\u503C","Please enter a number larger than zero":"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5927\u4E8E0\u7684\u6570\u503C","Automatic chamfering when drawing outline objects":"\u7ED8\u5236\u8F6E\u5ED3\u5BF9\u8C61\u65F6\u81EA\u52A8\u5012\u89D2","Automatic chamfering during routing":"\u5E03\u7EBF\u65F6\u81EA\u52A8\u5012\u89D2","Project \u3010{name}\u3011 has no content and cannot be migrated":"\u5DE5\u7A0B\u3010{name}\u3011\u6CA1\u6709\u5185\u5BB9, \u65E0\u6CD5\u8FC1\u79FB","The data is empty!":"\u6570\u636E\u4E3A\u7A7A!","Found this device have been updated, do you want to update this device first in the project? Placing directly will use the older version from project library.":"\u53D1\u73B0\u8FD9\u4E2A\u5668\u4EF6\u6709\u66F4\u65B0\uFF0C\u662F\u5426\u5148\u66F4\u65B0\u6389\u5DE5\u7A0B\u91CC\u7684\u8FD9\u4E2A\u5668\u4EF6\uFF1F\u76F4\u63A5\u653E\u7F6E\u5C06\u4F7F\u7528\u5DE5\u7A0B\u5E93\u7684\u8001\u7248\u672C\u3002","Don't show again":"\u4E0D\u518D\u63D0\u793A","Do you want to open 3D Shell Preview window in the same time? Follow-up can be through: Top menu - View - 3D Shell Preview open":"\u662F\u5426\u540C\u65F6\u6253\u5F003D\u5916\u58F3\u9884\u89C8\u7A97\u53E3\uFF1F\u540E\u7EED\u53EF\u901A\u8FC7\uFF1A\u9876\u90E8\u83DC\u5355 - \u89C6\u56FE - 3D\u5916\u58F3\u9884\u89C8 \u6253\u5F00","It is detected that another browser tab has opened the {0}, whether to pass it to another window to use this function?":"\u68C0\u6D4B\u5230\u53E6\u4E00\u4E2A\u6D4F\u89C8\u5668\u6807\u7B7E\u9875\u6253\u5F00\u4E86{0}\uFF0C\u662F\u5426\u4F20\u9012\u5230\u53E6\u4E00\u4E2A\u7A97\u53E3\u4F7F\u7528\u8BE5\u529F\u80FD\uFF1F","It is detected that another window has opened the {0}, whether to pass it to another window to use this function?":"\u68C0\u6D4B\u5230\u53E6\u4E00\u4E2A\u7A97\u53E3\u6253\u5F00\u4E86{0}\uFF0C\u662F\u5426\u4F20\u9012\u5230\u53E6\u4E00\u4E2A\u7A97\u53E3\u4F7F\u7528\u8BE5\u529F\u80FD\uFF1F","It is detected that the document is opened in another browser tab. Do you want to save and close the other document page and open it in the current page?":"\u68C0\u6D4B\u5230\u53E6\u4E00\u4E2A\u6D4F\u89C8\u5668\u6807\u7B7E\u9875\u6253\u5F00\u4E86\u8BE5\u6587\u6863\uFF0C\u662F\u5426\u4FDD\u5B58\u5173\u95ED\u5176\u4ED6\u6587\u6863\u9875\u5E76\u5728\u5F53\u524D\u9875\u6253\u5F00\uFF1F",'Next time the device placing will use the project library version, you can re-enable "Show updated notice dialog" at "Setting - System - Placing updated device".':"\u4E0B\u6B21\u653E\u7F6E\u4F1A\u76F4\u63A5\u4F7F\u7528\u5DE5\u7A0B\u5E93\u4E2D\u7684\u7248\u672C\u8FDB\u884C\u653E\u7F6E\uFF0C\u4F60\u53EF\u4EE5\u5728\u201C\u8BBE\u7F6E - \u7CFB\u7EDF - \u653E\u7F6E\u66F4\u65B0\u7684\u5668\u4EF6\u201D\u8BBE\u7F6E\u3002","Tip: only the component model imported in step format can be reflected in the exported step file":"\u63D0\u793A\uFF1A\u53EA\u6709\u4EE5STEP\u683C\u5F0F\u5BFC\u5165\u7684\u5143\u4EF6\u6A21\u578B\uFF0C\u624D\u80FD\u5728\u5BFC\u51FA\u7684STEP\u6587\u4EF6\u4F53\u73B0","Open project will not check the library updated or not, you can enable it again at: Top Menu - Setting - System Setting.":"\u6253\u5F00\u5DE5\u7A0B\u5C06\u4E0D\u518D\u68C0\u6D4B\u662F\u5426\u6709\u5143\u4EF6\u5E93\u66F4\u65B0\uFF0C\u4F60\u53EF\u4EE5\u5728\uFF1A\u9876\u90E8\u83DC\u5355 - \u8BBE\u7F6E - \u7CFB\u7EDF\u8BBE\u7F6E\uFF0C\u91CD\u65B0\u6253\u5F00\u3002","Corresponding PCB have been closed, please re-preview and try again":"\u5BF9\u5E94PCB\u5DF2\u5173\u95ED\uFF0C\u8BF7\u91CD\u65B0\u9884\u89C8\u540E\u518D\u5C1D\u8BD5",Import:"\u5BFC\u5165","JLCEDA(Standard)...":"\u5609\u7ACB\u521BEDA(\u6807\u51C6\u7248)...","JLCEDA(Standard)":"\u5609\u7ACB\u521BEDA(\u6807\u51C6\u7248)","JLCEDA(Professional)...":"\u5609\u7ACB\u521BEDA(\u4E13\u4E1A\u7248)...","JLCEDA(Professional)":"\u5609\u7ACB\u521BEDA(\u4E13\u4E1A\u7248)","JLCEDA Pro":"\u5609\u7ACB\u521BEDA(\u4E13\u4E1A\u7248)","JLCEDA(.json)":"\u5609\u7ACB\u521BEDA(.json)","JLCEDA File...":"\u5609\u7ACB\u521BEDA\u6587\u4EF6...","JLCEDA Project...":"\u5609\u7ACB\u521BEDA\u5DE5\u7A0B...","JLCEDA...":"\u5609\u7ACB\u521BEDA...",JLCEDA_STD:"\u5609\u7ACB\u521BEDA\u6807\u51C6\u7248",JLCEDA:"\u5609\u7ACB\u521BEDA",JLCECAD:"\u5609\u7ACB\u521BECAD","No libraries need to be updated":"\u6CA1\u6709\u9700\u8981\u66F4\u65B0\u7684\u5E93","Will remove all histories record of this project, do you want to continue?":"\u5C06\u79FB\u9664\u8BE5\u5DE5\u7A0B\u7684\u5168\u90E8\u6062\u590D\u8BB0\u5F55\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","BlockSymbol saves cloud missing data!":"\u590D\u7528\u6A21\u5757\u53E6\u5B58\u4E91\u7AEF\u7F3A\u5931\u6570\u636E!","BlockSymbol saves local missing data!":"\u590D\u7528\u6A21\u5757\u53E6\u5B58\u672C\u5730\u7F3A\u5931\u6570\u636E!","Project {title} Not downloaded: {reason}":"\u5DE5\u7A0B {title} \u672A\u4E0B\u8F7D\uFF1A{reason}","EasyEDA(Standard)...":"EasyEDA(\u6807\u51C6\u7248)...","EasyEDA(Professional)...":"EasyEDA(\u4E13\u4E1A\u7248)...","EasyEDA(Professional)":"EasyEDA(\u4E13\u4E1A\u7248)","EasyEDA Professional":"EasyEDA\u4E13\u4E1A\u7248","EasyEDA File...":"EasyEDA\u6587\u4EF6...","EasyEDA Project...":"EasyEDA\u5DE5\u7A0B...","Full Offline":"\u5168\u79BB\u7EBF","Half Offline":"\u534A\u79BB\u7EBF","Full Online":"\u5168\u5728\u7EBF","Full Offline Mode":"\u5168\u79BB\u7EBF\u6A21\u5F0F","Half Offline Mode":"\u534A\u79BB\u7EBF\u6A21\u5F0F","Online Mode":"\u5728\u7EBF\u6A21\u5F0F","No matching data found in the cache!":"\u5728\u7F13\u5B58\u4E2D\u65E0\u6CD5\u627E\u5230\u5339\u914D\u6570\u636E!","Licensed to":"\u6B63\u7248\u6388\u6743","Drawings applied successfully":"\u56FE\u7EB8\u5E94\u7528\u6210\u529F","Drawing application failed":"\u56FE\u7EB8\u5E94\u7528\u5931\u8D25","The preset drawing device of the project is not binding drawings and cannot be edited. Please bind the symbol or replace the preset drawing":"\u5DE5\u7A0B\u9884\u8BBE\u56FE\u7EB8\u5668\u4EF6\u672A\u7ED1\u5B9A\u56FE\u7EB8\u7B26\u53F7\uFF0C\u65E0\u6CD5\u7F16\u8F91\uFF0C\u8BF7\u7ED1\u5B9A\u7B26\u53F7\u6216\u66F4\u6362\u9884\u8BBE\u56FE\u7EB8","Common Library":"\u5E38\u7528\u5E93","Opened Project({0})":"\u5DF2\u6253\u5F00\u5DE5\u7A0B({0})","Failed to open project, {msg}":"\u6253\u5F00\u5DE5\u7A0B\u5931\u8D25\uFF0C{msg}","{length} files failed to be imported. Batch import of reuse block is not supported:{names}":"{length}\u4E2A\u6587\u4EF6\u5BFC\u5165\u5931\u8D25\uFF0C\u4E0D\u652F\u6301\u6279\u91CF\u5BFC\u5165\u590D\u7528\u6A21\u5757\uFF1A{names}","Login has expired, please log in again":"\u767B\u5F55\u5DF2\u5931\u6548\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55","Please select a name":"\u8BF7\u9009\u62E9\u540D\u79F0","Export Gerber":"\u5BFC\u51FAGerber","Export ODB++":"\u5BFC\u51FAODB++","Export Auto Router(JSON)":"\u5BFC\u51FA\u81EA\u52A8\u5E03\u7EBF(JSON)","Auto Router(DSN)...":"\u81EA\u52A8\u5E03\u7EBF(DSN)...","Auto Router(dsn)...":"\u81EA\u52A8\u5E03\u7EBF(dsn)...","Auto Router(SES)...":"\u81EA\u52A8\u5E03\u7EBF(SES)...","Auto Router(JSON)...":"\u81EA\u52A8\u5E03\u7EBF(JSON)...","PCB Fabrication File(Gerber)":"PCB\u5236\u677F\u6587\u4EF6(Gerber)","PCB Fabrication File(Gerber)(old)":"PCB\u5236\u677F\u6587\u4EF6(Gerber)(\u65E7)","Export PCB Fabrication File":"\u5BFC\u51FAPCB\u5236\u677F\u6587\u4EF6","One-click Export Manufacturing Files":"\u4E00\u952E\u5BFC\u51FA\u5236\u9020\u6587\u4EF6","Packaging configuration":"\u6253\u5305\u914D\u7F6E","Coordinate File":"\u5750\u6807\u6587\u4EF6","3D File":"3D\u6587\u4EF6","Manufacturing File Type":"\u5236\u9020\u6587\u4EF6\u7C7B\u578B",FileName:"\u6587\u4EF6\u540D\u79F0","File SetUp":"\u6587\u4EF6\u8BBE\u7F6E","Some Files export Failed!":"\u90E8\u5206\u6587\u4EF6\u5BFC\u51FA\u5931\u8D25\uFF01","{files}File Export failed!":"{files}\u6587\u4EF6\u5BFC\u51FA\u5931\u8D25\uFF01","Pick and Place File(CPL)...":"\u5750\u6807\u6587\u4EF6(CPL)...","Flying Probe Testing File":"\u98DE\u9488\u6D4B\u8BD5\u6587\u4EF6","Structure File(VRML)...":"\u7ED3\u6784\u6587\u4EF6(VRML)...","Clear Recent Projects...":"\u6E05\u9664\u6700\u8FD1\u5DE5\u7A0B...","Super Menu":"\u8D85\u7EA7\u83DC\u5355","Export Origin Data":"\u5BFC\u51FA\u539F\u59CB\u6570\u636E","Choose Import":"\u9009\u62E9\u5BFC\u5165","One Key Export":"\u4E00\u952E\u5BFC\u51FA",Integer:"\u6574\u6570",Decimals:"\u5C0F\u6570","Title contains special characters, automatically filtered":"\u6807\u9898\u5305\u542B\u7279\u6B8A\u5B57\u7B26\uFF0C\u5DF2\u81EA\u52A8\u8FC7\u6EE4","Existing duplicate data":"\u5DF2\u5B58\u5728\u91CD\u590D\u6570\u636E","No file or export failed!":"\u65E0\u6587\u4EF6\u6216\u5BFC\u51FA\u5931\u8D25\uFF01","@@leftTree":{Object:"\u5BF9\u8C61",Page:"\u56FE\u9875",Component:"\u5143\u4EF6",Net:"\u7F51\u7EDC",Search:"\u641C\u7D22"},"@@treeMyProject-content":{"Design Tree":"\u8BBE\u8BA1\u6811",Page:"\u56FE\u9875",Element:"\u5143\u7D20",Symbols:"\u7B26\u53F7",Nets:"\u7F51\u7EDC",Component:"\u5143\u4EF6","Reuse Block":"\u590D\u7528\u6A21\u5757",Netport:"\u7F51\u7EDC\u7AEF\u53E3","Netport...":"\u7F51\u7EDC\u7AEF\u53E3...",Netflag:"\u7F51\u7EDC\u6807\u8BC6","Wire/Bus":"\u5BFC\u7EBF/\u603B\u7EBF","Short Symbol":"\u77ED\u63A5\u7B26","None Electric Symbol":"\u65E0\u7535\u6C14\u7279\u6027\u7B26\u53F7",Combination:"\u7EC4\u5408"},"The Pin Name are not allowed to repeat in the same part:":"\u76F8\u540C\u90E8\u4EF6\u7684\u5F15\u811A\u540D\u4E0D\u5141\u8BB8\u91CD\u590D:","Pin numbers can only be a combination of letters and numbers:":"\u5F15\u811A\u7F16\u53F7\u5FC5\u987B\u4E3A\u5B57\u6BCD+\u6570\u5B57\u7EC4\u5408:","The Pin Number are not allowed to repeat in same Part:":"\u76F8\u540C\u90E8\u4EF6\u7684\u5F15\u811A\u7F16\u53F7\u4E0D\u5141\u8BB8\u91CD\u590D:","The part, side and order of the pins cannot be completely repeated:":"\u5F15\u811A\u6240\u5C5E\u90E8\u4EF6\uFF0C\u65B9\u5411\uFF0C\u5E8F\u53F7\u4E0D\u80FD\u5B8C\u5168\u4E00\u81F4:","The side and order of the pins cannot be completely repeated:":"\u4E0D\u540C\u5F15\u811A\u7684\u65B9\u5411\uFF0C\u5E8F\u53F7\u4E0D\u80FD\u5B8C\u5168\u4E00\u81F4:","Pin Number cannot be empty!":"\u5F15\u811A\u7F16\u53F7\u4E0D\u80FD\u4E3A\u7A7A!","Pin Name cannot be empty!":"\u5F15\u811A\u540D\u4E0D\u5141\u8BB8\u4E3A\u7A7A\uFF01","Importing the owning schematic failed! Schematic page cannot continue importing!":"\u5BFC\u5165\u6240\u5C5E\u539F\u7406\u56FE\u5931\u8D25\uFF01\u539F\u7406\u56FE\u9875\u65E0\u6CD5\u7EE7\u7EED\u5BFC\u5165\uFF01","Target schematics don't exist! Schematic page cannot continue importing!":"\u76EE\u6807\u539F\u7406\u56FE\u4E0D\u5B58\u5728!\u539F\u7406\u56FE\u56FE\u9875\u65E0\u6CD5\u7EE7\u7EED\u5BFC\u5165!","The following data loss association boards:":"\u4EE5\u4E0B\u6570\u636E\u4E22\u5931\u5173\u8054\u677F\u5B50:","The following devices are lost:":"\u4EE5\u4E0B\u5668\u4EF6\u4E22\u5931:","The following footprints are lost:":"\u4EE5\u4E0B\u5C01\u88C5\u4E22\u5931:","The following symbols are lost:":"\u4EE5\u4E0B\u7B26\u53F7\u4E22\u5931:","The following instance attributes are lost:":"\u4EE5\u4E0B\u5B9E\u4F8B\u5C5E\u6027\u4E22\u5931:","The symbol for the following device was not found. Please re-associate it:":"\u4EE5\u4E0B\u5668\u4EF6\u7684\u7B26\u53F7\u672A\u627E\u5230\uFF0C\u8BF7\u91CD\u65B0\u5173\u8054:","The footprint for the following device was not found. Please re-associate it:":"\u4EE5\u4E0B\u5668\u4EF6\u7684\u5C01\u88C5\u672A\u627E\u5230\uFF0C\u8BF7\u91CD\u65B0\u5173\u8054:","The following sheet is missing the source path, which may cause the instance properties in the diagram page to be lost!":"\u4EE5\u4E0Bsheet\u4E22\u5931\u6765\u6E90\u8DEF\u5F84, \u53EF\u80FD\u4F1A\u9020\u6210\u56FE\u9875\u4E2D\u7684\u5B9E\u4F8B\u5C5E\u6027\u4E22\u5931!","The following {type} data has the same name in the target project:":"\u4EE5\u4E0B{type}\u6570\u636E\u5728\u76EE\u6807\u5DE5\u7A0B\u4E2D\u6709\u91CD\u540D\u6570\u636E:","Design Tree":"\u5DE6\u4FA7\u8BBE\u8BA1\u6811",Boards:"\u677F\u5B50",Blocks:"\u6A21\u5757",Block:"\u963B\u6321",Element:"\u5143\u7D20",Symbols:"\u7B26\u53F7",Nets:"\u7F51\u7EDC","Reuse Block":"\u590D\u7528\u6A21\u5757",NetPort:"\u7F51\u7EDC\u7AEF\u53E3","Wire Name":"\u5BFC\u7EBF\u540D\u79F0","NetFlag cross layer connection":"\u7F51\u7EDC\u6807\u8BC6\u8DE8\u5C42\u8FDE\u63A5","NetLabel cross Page connection":"\u7F51\u7EDC\u6807\u7B7E\u8DE8\u9875\u8FDE\u63A5","Bus generate Net Class":"\u603B\u7EBF\u751F\u6210\u7F51\u7EDC\u7C7B","Reuse Block symbol":"\u590D\u7528\u6A21\u5757\u7B26\u53F7","None Electric Symbol":"\u65E0\u7535\u6C14\u7279\u6027\u7B26\u53F7","New Page":"\u65B0\u5EFA\u56FE\u9875","Expand All":"\u5168\u90E8\u5C55\u5F00","Collapse All":"\u5168\u90E8\u6298\u53E0","Expand Lower":"\u5C55\u5F00\u4E0B\u5C42","Collapse Lower":"\u6298\u53E0\u4E0B\u5C42","New Board":"\u65B0\u5EFA\u677F\u5B50","New Box":"\u65B0\u5EFA\u7535\u67DC","Batch Rename":"\u6279\u91CF\u91CD\u547D\u540D","Batch rename":"\u6279\u91CF\u4FEE\u6539","Get the wrong symbol data.":"\u83B7\u53D6\u9519\u8BEF\u7684\u7B26\u53F7\u6570\u636E.","Get the wrong footprint data.":"\u83B7\u53D6\u9519\u8BEF\u7684\u5C01\u88C5\u6570\u636E.","Get the wrong device data.":"\u83B7\u53D6\u9519\u8BEF\u7684\u5668\u4EF6\u6570\u636E.","Get the wrong instance data, path is":"\u83B7\u53D6\u9519\u8BEF\u7684\u5B9E\u4F8B\u5C5E\u6027\u6570\u636E,\u8DEF\u5F84\u4E3A","Get the wrong pour data, path is":"\u83B7\u53D6\u9519\u8BEF\u7684\u5B9E\u4F8B\u5C5E\u6027\u6570\u636E,\u8DEF\u5F84\u4E3A","The contents to be updated include those belonging to the public library. Please operate carefully":"\u9700\u8981\u66F4\u65B0\u7684\u5185\u5BB9\u5305\u542B\u5F52\u5C5E\u4E8E\u516C\u5F00\u5E93\u7684\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C","3DSHELL":"3D\u5916\u58F3","3D Shell":"3D\u5916\u58F3","3D Library...":"3D\u5E93...","Overall height of shell":"\u5916\u58F3\u6574\u4F53\u9AD8\u5EA6","PCB Height From The Bottom Surface of Shell":"PCB\u8DDD\u5916\u58F3\u5E95\u9762\u9AD8\u5EA6","Height of lower shell":"\u4E0B\u58F3\u9AD8\u5EA6","Shell thickness":"\u5916\u58F3\u539A\u5EA6","Screw column":"\u87BA\u4E1D\u67F1","Fix PCB and shell":"\u56FA\u5B9APCB\u4E0E\u5916\u58F3","Fix the upper and lower shells":"\u56FA\u5B9A\u4E0A\u58F3\u4E0E\u4E0B\u58F3","Type.attr":"\u7C7B\u578B","The auto backup of Cache Recovery failed, please contact with the customer support or restart the application!":"\u7F13\u5B58\u6062\u590D\u529F\u80FD\u7684\u81EA\u52A8\u5907\u4EFD\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB\u6280\u672F\u652F\u6301\u6216\u91CD\u542F\u5E94\u7528\uFF01","Screw specifications":"\u87BA\u4E1D\u89C4\u683C","3DShell.screwHoleDiameter":"\u901A\u5B54\u76F4\u5F84","3DShell.screwThickness":"\u58C1\u539A",Stiffener:"\u52A0\u5F3A\u7B4B","Need Stiffener":"\u9700\u8981\u52A0\u5F3A\u7B4B","Top Width of Stiffener":"\u52A0\u5F3A\u7B4B\u4E0A\u7AEF\u5BBD\u5EA6","Bottom Width of Stiffener":"\u52A0\u5F3A\u7B4B\u4E0B\u7AEF\u5BBD\u5EA6","Stiffener Height":"\u52A0\u5F3A\u7B4B\u9AD8\u5EA6","Stiffener Thickness":"\u52A0\u5F3A\u7B4B\u539A\u5EA6",Counterbore:"\u6C89\u5934\u5B54","Need Counterbore":"\u9700\u8981\u6C89\u5934\u5B54","Counterbore Height":"\u6C89\u5934\u5B54\u9AD8\u5EA6","Counterbore Diameter":"\u6C89\u5934\u5B54\u76F4\u5F84","Illegal docType!":"\u975E\u6CD5\u6570\u636E\u7C7B\u578B!","Side baseline":"\u4FA7\u9762\u57FA\u51C6\u7EBF","Slot Region":"\u6316\u69FD\u533A\u57DF","Starting point of upper shell screw column z":"\u4E0A\u58F3\u87BA\u4E1D\u67F1\u8D77\u70B9z","End point of upper shell screw post z":"\u4E0A\u58F3\u87BA\u4E1D\u67F1\u7EC8\u70B9z","Starting point of lower shell screw column z":"\u4E0B\u58F3\u87BA\u4E1D\u67F1\u8D77\u70B9z","End point of lower shell screw post z":"\u4E0B\u58F3\u87BA\u4E1D\u67F1\u7EC8\u70B9z","Automatic calibration":"\u81EA\u52A8\u6821\u51C6","Rotate relative to the baseline":"\u76F8\u5BF9\u57FA\u51C6\u7EBF\u65CB\u8F6C","Slot depth":"\u6316\u69FD\u6DF1\u5EA6","Slot start point z":"\u6316\u69FD\u8D77\u70B9z","Slot end point z":"\u6316\u69FD\u7EC8\u70B9z","Automatic calibration (top digging)":"\u81EA\u52A8\u6821\u51C6(\u6316\u9876\u9762)","Automatic calibration (bottom digging)":"\u81EA\u52A8\u6821\u51C6(\u6316\u5E95\u9762)","Top/Bottom Slot Region":"\u9876\u9762/\u5E95\u9762\u6316\u69FD","Side Slot Region":"\u4FA7\u9762\u6316\u69FD","3D Model...":"3D\u6A21\u578B...","New 3D Model":"\u65B0\u5EFA3D\u6A21\u578B","NGspice Model":"NGspice\u6A21\u578B","New Simulation Model":"\u65B0\u5EFA\u4EFF\u771F\u6A21\u578B","Simulide Model":"Simulide\u6A21\u578B","Model unit:":"\u6A21\u578B\u5355\u4F4D:","3D file:":"3D\u6587\u4EF6:","Maximum file size: 300MB":"\u6700\u5927\u6587\u4EF6\u5C3A\u5BF8:300MB","Conversion Accuracy":"\u8F6C\u6362\u7CBE\u7EC6\u5EA6","When importing STEP format files, this option affects theaccuracy of 3D preview and exported obj files.":"\u5F53\u5BFC\u5165\u7684\u4E3ASTEP\u683C\u5F0F\u6587\u4EF6\u65F6\uFF0C\u8BE5\u9009\u9879\u5F71\u54CD3D\u9884\u89C8\u548C\u5BFC\u51FAobj\u6587\u4EF6\u7684\u7CBE\u7EC6\u5EA6","Model list":"\u6A21\u578B\u5217\u8868","Solder Paste Thickness":"\u9521\u818F\u539A\u5EA6","Reuse Block...":"\u590D\u7528\u6A21\u5757...","Open Selected":"\u6253\u5F00\u9009\u4E2D","Open All":"\u6253\u5F00\u5168\u90E8","Set as an existing board":"\u8BBE\u7F6E\u4E3A\u5DF2\u6709\u677F\u5B50","Set as New Board":"\u8BBE\u7F6E\u4E3A\u65B0\u677F\u5B50","Remove from Board":"\u8131\u79BB\u677F\u5B50","Clear Designator":"\u6E05\u9664\u4F4D\u53F7","This page doesn't allow to delete!":"\u8BE5\u56FE\u9875\u4E0D\u5141\u8BB8\u88AB\u5220\u9664","The title can not less than 1 character!":"\u8BE5\u540D\u5B57\u4E0D\u80FD\u5C11\u4E8E1\u4E2A\u5B57\u7B26!","The title must be 2~256 bytes":"\u8BE5\u540D\u79F0\u957F\u5EA6\u5FC5\u9700\u5904\u4E8E 2~256 \u4E2A\u5B57\u7B26\u957F\u5EA6","The {documentName} length must be 1~128 bytes!":"{documentName}\u957F\u5EA6\u5FC5\u987B\u4E3A1~128\u5B57\u7B26\u957F\u5EA6\uFF01","Failed to update Schematic!":"\u66F4\u65B0Schematic\u51FA\u9519!","Failed to update Symbol!":"\u66F4\u65B0Symbol\u51FA\u9519!","Failed to update Board!":"\u66F4\u65B0Board\u51FA\u9519!","Duplicated board title!":"\u677F\u5B50\u540D\u79F0\u5DF2\u5B58\u5728!","Duplicated page title!":"\u56FE\u9875\u540D\u79F0\u5DF2\u5B58\u5728!","Duplicated scheamtic title!":"\u539F\u7406\u56FE\u540D\u79F0\u5DF2\u5B58\u5728!","Duplicated symbol title!":"Symbol\u540D\u79F0\u5DF2\u5B58\u5728!","Duplicated pcb title!":"Pcb \u540D\u79F0\u5DF2\u5B58\u5728\uFF01","Duplicated panel title!":"\u9762\u677F\u540D\u79F0\u5DF2\u5B58\u5728\uFF01","Schematic {0} rename Failed: {1} schematic already exist":"\u539F\u7406\u56FE {0} \u91CD\u547D\u540D\u5931\u8D25\uFF1A{1} \u539F\u7406\u56FE\u5DF2\u5B58\u5728","CBB {0} rename Failed: {1} CBB already exist":"\u590D\u7528\u6A21\u5757 {0} \u91CD\u547D\u540D\u5931\u8D25\uFF1A{1} \u590D\u7528\u6A21\u5757\u5DF2\u5B58\u5728","Creation failed!":"\u521B\u5EFA\u5931\u8D25!","Creation failed! {message}":"\u521B\u5EFA\u5931\u8D25! {message}","Create BlockSymbol failed! {message}":"\u521B\u5EFA\u590D\u7528\u6A21\u5757\u5931\u8D25! {message}","New project timeout!":"\u521B\u5EFA\u5DE5\u7A0B\u8D85\u65F6!","New reuse module project timeout!":"\u521B\u5EFA\u590D\u7528\u6A21\u5757\u5DE5\u7A0B\u8D85\u65F6!","delete failed!":"\u5220\u9664\u5931\u8D25!","Do not operate frequently!":"\u8BF7\u52FF\u9891\u7E41\u64CD\u4F5C!",Remind:"\u63D0\u9192","Project tree structure generation failed!":"\u5DE5\u7A0B\u6811\u7ED3\u6784\u751F\u6210\u5931\u8D25!","Add / remove teardrops complete, rebuild all copper?":"\u6DFB\u52A0/\u79FB\u9664\u6CEA\u6EF4\u5B8C\u6210\uFF0C\u662F\u5426\u91CD\u5EFA\u6240\u6709\u94FA\u94DC\uFF1F",Edit:"\u7F16\u8F91",Undo:"\u64A4\u9500",Redo:"\u91CD\u505A",Repeat:"\u91CD\u590D\u52A8\u4F5C",Cut:"\u526A\u5207",Copy:"\u590D\u5236","Copy as Image":"\u590D\u5236\u4E3A\u56FE\u7247","Copy as SVG":"\u590D\u5236\u4E3ASVG","Copy as PNG":"\u590D\u5236\u4E3APNG","Paste As Plain Text":"\u7C98\u8D34\u4E3A\u7EAF\u6587\u672C",Paste:"\u7C98\u8D34","Paste In Place":"\u539F\u4F4D\u7C98\u8D34",Duplicate:"\u91CD\u590D","Duplicate to":"\u91CD\u590D","Duplicate view":"\u91CD\u590D","Duplicate to Cursor":"\u91CD\u590D\u5230\u5149\u6807","Duplicate to the Original Position":"\u91CD\u590D\u5230\u539F\u4F4D\u7F6E","Duplicate to Other Layer":"\u91CD\u590D\u5230\u5176\u5B83\u5C42","Center the view based on the cursor position":"\u6839\u636E\u5149\u6807\u4F4D\u7F6E\u5C45\u4E2D\u89C6\u56FE","Array Paste...":"\u9635\u5217\u7C98\u8D34...",Select:"\u9009\u62E9",Delete:"\u5220\u9664","Batch Delete":"\u6279\u91CF\u5220\u9664","Batch Modify Category":"\u6279\u91CF\u4FEE\u6539\u5206\u7C7B","Batch Export To Local":"\u6279\u91CF\u5BFC\u51FA\u5230\u672C\u5730","Batch Save As":"\u6279\u91CF\u53E6\u5B58\u4E3A","Save as":"\u53E6\u5B58\u4E3A","When it is empty, clicking confirm will delete the existing category":"\u4E3A\u7A7A\u65F6\u70B9\u51FB\u786E\u8BA4\u4F1A\u5220\u9664\u73B0\u6709\u5206\u7C7B","Delete Selected":"\u5220\u9664\u6240\u9009","Delete Objects...":"\u5220\u9664\u5143\u7D20...","Grid/Snap Keep Ratio":"\u7F51\u683C/\u6805\u683C\u4FDD\u6301\u6BD4\u4F8B","Not Keep Grid/Snap Ratio":"\u7F51\u683C/\u6805\u683C\u4E0D\u4FDD\u6301\u6BD4\u4F8B","Grid/Bold Grid Keep Type":"\u7F51\u683C/\u52A0\u7C97\u7F51\u683C\u4FDD\u6301\u7C7B\u578B","Not Grid/Bold Grid Keep Type":"\u7F51\u683C/\u52A0\u7C97\u7F51\u683C\u4E0D\u4FDD\u6301\u7C7B\u578B","Delete All":"\u5220\u9664\u5168\u90E8","Find...":"\u67E5\u627E...","Find and Replace...":"\u67E5\u627E\u66FF\u6362...","Replce Symbol...":"\u66FF\u6362\u7B26\u53F7...","All...":"\u5168\u90E8...",Move:"\u79FB\u52A8",Drag:"\u62D6\u52A8",Slice:"\u5206\u5272","Select Objects":"\u9009\u62E9\u5BF9\u8C61","Array Objects...":"\u9635\u5217\u5BF9\u8C61...","Move by Center Point":"\u6839\u636E\u4E2D\u5FC3\u79FB\u52A8","Move by Origin Point":"\u6839\u636E\u539F\u70B9\u79FB\u52A8","Move by Reference Point":"\u6839\u636E\u53C2\u8003\u70B9\u79FB\u52A8","Move Sequential":"\u6309\u987A\u5E8F\u79FB\u52A8","The Origin Position of Reference Point":"\u53C2\u8003\u70B9\u539F\u4F4D\u7F6E","Move Type":"\u79FB\u52A8\u65B9\u5F0F","Relative Move":"\u76F8\u5BF9\u79FB\u52A8","Absolute Position":"\u7EDD\u5BF9\u4F4D\u7F6E","Modify Reference Point":"\u4FEE\u6539\u53C2\u8003\u70B9","Selected elements has no origin, select a reference point and then move":"\u6240\u9009\u5143\u7D20\u6CA1\u6709\u539F\u70B9\uFF0C\u8BF7\u9009\u62E9\u53C2\u8003\u70B9\u540E\u79FB\u52A8",Level:"\u5C42\u7EA7","Bring to Front":"\u79FB\u5230\u9876\u5C42","Send to Back":"\u79FB\u5230\u5E95\u5C42","Raise one level":"\u63D0\u5347\u4E00\u5C42","Lower one level":"\u964D\u4F4E\u4E00\u5C42",Align:"\u5BF9\u9F50","Align Left":"\u5DE6\u5BF9\u9F50","Align Right":"\u53F3\u5BF9\u9F50","Align Top":"\u9876\u90E8\u5BF9\u9F50","Align Bottom":"\u5E95\u90E8\u5BF9\u9F50","Align Horizontal Centers":"\u5DE6\u53F3\u5C45\u4E2D","Align Vertical Centers":"\u4E0A\u4E0B\u5C45\u4E2D","Distribute Horizontally":"\u6C34\u5E73\u7B49\u8DDD\u5206\u5E03","Distribute Vertically":"\u5782\u76F4\u7B49\u8DDD\u5206\u5E03","Distribute Left Edges Equidistantly":"\u5DE6\u8FB9\u6CBF\u7B49\u8DDD\u5206\u5E03","Distribute Top Edges Equidistantly":"\u4E0A\u8FB9\u6CBF\u7B49\u8DDD\u5206\u5E03","Set Spacing":"\u6307\u5B9A\u95F4\u8DDD","Distribute Horizontally by Center Distance":"\u6C34\u5E73\u6307\u5B9A\u4E2D\u5FC3\u95F4\u8DDD\u5206\u5E03","Distribute Vertically by Center Distance":"\u5782\u76F4\u6307\u5B9A\u4E2D\u5FC3\u95F4\u8DDD\u5206\u5E03","Distribute Horizontally by Edges Distance":"\u6C34\u5E73\u6307\u5B9A\u8FB9\u6CBF\u95F4\u8DDD\u5206\u5E03","Distribute Vertically by Edges Distance":"\u5782\u76F4\u6307\u5B9A\u8FB9\u6CBF\u95F4\u8DDD\u5206\u5E03",Spacing:"\u95F4\u8DDD",Edges:"\u8FB9\u6CBF","Align Grid":"\u5BF9\u9F50\u7F51\u683C",Rotate:"\u65CB\u8F6C","Rotate Left":"\u5DE6\u5411\u65CB\u8F6C","Rotate Right":"\u53F3\u5411\u65CB\u8F6C","Flip Horizontal":"\u5DE6\u53F3\u7FFB\u8F6C","Flip Vertical":"\u4E0A\u4E0B\u7FFB\u8F6C","Fit Selection View":"\u9002\u5E94\u9009\u4E2D","Convert stroke to shape":"\u8F6C\u6362\u63CF\u8FB9\u4E3A\u586B\u5145\u5F62\u72B6","Convert rect or ellipse to path":"\u8F6C\u6362\u77E9\u5F62\u548C\u692D\u5706\u4E3A\u8DEF\u5F84","Combine shapes":"\u5F62\u72B6\u5408\u5E76","Break shape apart":"\u5F62\u72B6\u6253\u6563","Join path":"\u8FDE\u7EED\u5206\u6BB5\u8DEF\u5F84\u8FDE\u63A5","Reverse path":"\u8DEF\u5F84\u53CD\u8F6C","Simplify path":"\u8DEF\u5F84\u7B80\u5316","Select Wire":"\u9009\u62E9\u5BFC\u7EBF","Select Single Wire":"\u9009\u62E9\u5355\u6BB5\u5BFC\u7EBF","Select Bus":"\u9009\u62E9\u603B\u7EBF","Update Symbol":"\u66F4\u65B0\u7B26\u53F7","Replace Symbol":"\u66FF\u6362\u7B26\u53F7","Replace Symbol...":"\u66FF\u6362\u7B26\u53F7...","Update Symbol...":"\u66F4\u65B0\u7B26\u53F7...","Update...":"\u66F4\u65B0...","Update Project Library...":"\u66F4\u65B0\u5DE5\u7A0B\u5E93...","Update Project Library":"\u66F4\u65B0\u5DE5\u7A0B\u5E93","Update Reuse Block...":"\u66F4\u65B0\u590D\u7528\u6A21\u5757...","Update Reuse Block":"\u66F4\u65B0\u590D\u7528\u6A21\u5757","Reset Component Unique ID...":"\u91CD\u7F6E\u5143\u4EF6\u552F\u4E00ID...","Clear CBB Ref Designator":"\u6E05\u9664\u5C42\u6B21\u56FE\u4F4D\u53F7","Edit Block Symbol":"\u7F16\u8F91\u6A21\u5757\u7B26\u53F7","Goto Page...":"\u8DF3\u8F6C\u56FE\u9875...","Simulation Settings":"\u7535\u8DEF\u8BBE\u7F6E","Property...":"\u5C5E\u6027...","Rotate 90\xB0Counterclockwise":"\u9006\u65F6\u9488\u65CB\u8F6C90\xB0","Annotate Designator...":"\u5206\u914D\u4F4D\u53F7...","PCB Design Rule...":"PCB\u8BBE\u8BA1\u89C4\u5219...","Property Location...":"\u5C5E\u6027\u4F4D\u7F6E...","Property Location":"\u5C5E\u6027\u4F4D\u7F6E","@@contextMenu":{"Rotate and Flip":"\u65CB\u8F6C\u4E0E\u955C\u50CF","Group/Ungroup Symbol...":"\u7EC4\u5408/\u89E3\u6563","Reset Component Unique ID...":"\u91CD\u7F6E\u5143\u4EF6\u552F\u4E00ID...","Designator Location":"\u4F4D\u53F7\u4F4D\u7F6E","Name Location":"\u540D\u79F0\u4F4D\u7F6E","Fit All in Window":"\u9002\u5E94\u5168\u90E8",Add:"\u6DFB\u52A0","Add...":"\u6DFB\u52A0..."},"@@hotkey":{"Fit in Window":"\u9002\u5E94\u7A97\u53E3","Zoom In":"\u653E\u5927\u89C6\u56FE","Zoom Out":"\u7F29\u5C0F\u89C6\u56FE"},"Draw Pin":"\u7ED8\u5236\u5F15\u811A","Clone schematic {title} copy failed!":"\u514B\u9686\u539F\u7406\u56FE {title} \u526F\u672C\u5931\u8D25!","Clone PCB {title} copy failed!":"\u514B\u9686 PCB {title} \u526F\u672C\u5931\u8D25!","Update schematic {title} failed!":"\u66F4\u65B0\u539F\u7406\u56FE{title}\u5931\u8D25!","Update sheet {title} failed!":"\u66F4\u65B0\u539F\u7406\u56FE\u56FE\u9875 {title}\u5931\u8D25!","Failed to update sheet {title} canvas!":"\u66F4\u65B0\u539F\u7406\u56FE\u56FE\u9875 {title} \u753B\u5E03\u5931\u8D25!","Update PCB {title} failed!":"\u66F4\u65B0 PCB {title}\u5931\u8D25!","Failed to update PCB {title} canvas!":"\u66F4\u65B0 PCB {title} \u753B\u5E03\u5931\u8D25!","Failed to update old blockSymbol {title}!":"\u66F4\u65B0\u65E7\u590D\u7528\u6A21\u5757\u7B26\u53F7 {title} \u5931\u8D25!","Update blockSymbol {title} failed!":"\u66F4\u65B0\u6A21\u5757\u7B26\u53F7 {title}\u5931\u8D25!","Failed to update blockSymbol {title} canvas!":"\u66F4\u65B0\u6A21\u5757\u7B26\u53F7 {title} \u753B\u5E03\u5931\u8D25!","Generating panel fabrication file":"\u6B63\u5728\u5BFC\u51FA\u9762\u677F\u751F\u4EA7\u6587\u4EF6","Failed to generate panel fabrication file!":"\u5BFC\u51FA\u9762\u677F\u751F\u4EA7\u6587\u4EF6\u5931\u8D25\uFF01","Posting panel ordering data":"\u6B63\u5728\u53D1\u9001\u9762\u677F\u4E0B\u5355\u6570\u636E",'Please check the panel preview, click "OK" button to continue.':"\u8BF7\u68C0\u67E5\u9762\u677F\u9884\u89C8\u6548\u679C\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u7EE7\u7EED\u3002",'Panel ordering data have been generated, please click "OK" button and continue.':"\u9762\u677F\u4E0B\u5355\u6570\u636E\u5DF2\u7ECF\u751F\u6210\u5B8C\u6BD5\uFF0C\u8BF7\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u7EE7\u7EED\u3002","Failed to generate 3d preview data.":"\u751F\u62103D\u9884\u89C8\u6570\u636E\u5931\u8D25","Checking DRC found error: {0}, warning: {1}, do you want to confirm before continuing?":"\u68C0\u67E5DRC\u53D1\u73B0\u9519\u8BEF\uFF1A{0}\uFF0C\u8B66\u544A\uFF1A{1}\uFF0C\u662F\u5426\u5148\u53BB\u786E\u8BA4\u518D\u7EE7\u7EED\uFF1F","Checking DRC found error: {0}, do you want to confirm before continuing?":"\u68C0\u67E5DRC\u53D1\u73B0\u9519\u8BEF\uFF1A{0}\uFF0C\u662F\u5426\u5148\u53BB\u786E\u8BA4\u518D\u7EE7\u7EED\uFF1F","Checking DRC found warning: {1}, do you want to confirm before continuing?":"\u68C0\u67E5DRC\u53D1\u73B0\u8B66\u544A\uFF1A{1}\uFF0C\u662F\u5426\u5148\u53BB\u786E\u8BA4\u518D\u7EE7\u7EED\uFF1F","Checking DRC found fatal error: {0}, operation failed!":"\u68C0\u67E5DRC\u53D1\u73B0\u81F4\u547D\u9519\u8BEF:{0}\uFF0C\u64CD\u4F5C\u5931\u8D25!","Yes,Confirm It":"\u662F\uFF0C\u53BB\u786E\u8BA4","No,Continue Operate":"\u5426\uFF0C\u7EE7\u7EED\u64CD\u4F5C","Warning prompt when placing an order/exporting":"\u5BFC\u51FA/\u4E0B\u5355\u65F6\u8B66\u544A\u63D0\u793A","Generate Outline":"\u751F\u6210\u63CF\u8FB9","Outline has been generated.":"\u63CF\u8FB9\u5DF2\u751F\u6210\u3002","System path failure!":"\u7CFB\u7EDF\u8DEF\u5F84\u5931\u6548\uFF01","Edit Simulation Light":"\u7F16\u8F91\u4EFF\u771F\u706F\u5149","Edit Glue":"\u7F16\u8F91\u80CC\u80F6","Edit Opacity":"\u7F16\u8F91\u900F\u660E","Edit Print":"\u7F16\u8F91\u6253\u5370","Edit Board":"\u7F16\u8F91\u677F\u6846","Edit Simulation Light(Default)":"\u7F16\u8F91\u4EFF\u771F\u706F\u5149(\u9ED8\u8BA4)","Edit Glue(Default)":"\u7F16\u8F91\u80CC\u80F6(\u9ED8\u8BA4)","Edit Opacity(Default)":"\u7F16\u8F91\u900F\u660E(\u9ED8\u8BA4)","Edit Print(Default)":"\u7F16\u8F91\u6253\u5370(\u9ED8\u8BA4)","Edit Board(Default)":"\u7F16\u8F91\u677F\u6846(\u9ED8\u8BA4)","ALL(Default)":"\u6240\u6709(\u9ED8\u8BA4)","Images can only be placed on the print layer":"\u56FE\u7247\u53EA\u80FD\u88AB\u653E\u7F6E\u4E8E\u6253\u5370\u5C42","Texts can only be placed on the print layer or the opacity layer":"\u6587\u5B57\u53EA\u80FD\u88AB\u653E\u7F6E\u4E8E\u6253\u5370\u5C42\u6216\u900F\u660E\u63A7\u5236\u5C42","Transparency must be a number between 0 and 100.":"\u900F\u660E\u5EA6\u5FC5\u987B\u662F0\u5230100\u7684\u6574\u6570",Opaque:"\u4E0D\u900F\u660E",View:"\u89C6\u56FE","Normal View":"\u6B63\u5E38\u89C6\u56FE","Outline View":"\u8F6E\u5ED3\u89C6\u56FE","2D Preview":"2D\u9884\u89C8","3D Preview":"3D\u9884\u89C8",Explode:"\u7206\u70B8","3D Shell Preview...":"3D\u5916\u58F3\u9884\u89C8...",Find:"\u67E5\u627E","Zoom In":"\u653E\u5927","Zoom Out":"\u7F29\u5C0F","Fit in Window":"\u9002\u5408\u7A97\u53E3",Refresh:"\u5237\u65B0",Snap:"\u5438\u9644","ALT Snap":"Alt\u5438\u9644","ALT Snap :":"Alt\u5438\u9644\uFF1A","Cross Cursor":"\u5341\u5B57\u5149\u6807",Toolbars:"\u5DE5\u5177\u680F","Drawing Tools":"\u7ED8\u56FE\u5DE5\u5177","Wiring Tools":"\u7535\u6C14\u5DE5\u5177","Power Objects":"\u7535\u6E90","PCB Tools":"PCB\u5DE5\u5177","PCBLib Tools":"PCB\u5E93\u5DE5\u5177","Layers Tool":"\u5C42\u5DE5\u5177","Net Visible":"\u663E\u793A\u7F51\u7EDC",Auto:"\u81EA\u52A8\u6A21\u5F0F","Digital Objects":"\u6570\u5B57\u5B9E\u4F53",Tools:"\u5DE5\u5177","Arc Center":"\u4E2D\u5FC3\u5706\u5F27","Fit All in Window":"\u9002\u5E94\u5168\u90E8","Fit Area Selection View":"\u9002\u5E94\u6846\u9009",PCB_Arc:"\u5706\u5F27","Fit Board Outline View":"\u9002\u5E94\u677F\u6846","Flip Board":"\u7FFB\u8F6C\u677F\u5B50","Open in New Window":"\u5728\u65B0\u7A97\u53E3\u6253\u5F00","Open in New Window...":"\u5728\u65B0\u7A97\u53E3\u6253\u5F00...","Ctrl+Shift+Click":"Ctrl+Shift+\u5DE6\u952E","Add Project Directory...":"\u6DFB\u52A0\u5DE5\u7A0B\u76EE\u5F55...","Split Windows":"\u62C6\u5206\u7A97\u53E3",Millimeter:"\u6BEB\u7C73",Centimeter:"\u5398\u7C73",Mil:"\u5BC6\u8033",Inch:"\u82F1\u5BF8",Objects:"\u5BF9\u8C61",Unhighlight:"\u53D6\u6D88\u9AD8\u4EAE","Highlight/Unhighlight":"\u9AD8\u4EAE/\u53D6\u6D88\u9AD8\u4EAE","Coordinate...":"\u5750\u6807\u70B9...","Multiple Windows":"\u591A\u89C6\u56FE","Split Vertical":"\u5782\u76F4\u62C6\u5206","Split Horizontal":"\u6A2A\u5411\u62C6\u5206","Special Symbol":"\u7279\u6B8A\u7B26\u53F7",Panel:"\u9762\u677F","Panel Lib":"\u9762\u677F\u5E93","Panel Lib...":"\u9762\u677F\u5E93...","Create Panel Lib":"\u65B0\u5EFA\u9762\u677F\u5E93","Edit Panel Lib":"\u7F16\u8F91\u9762\u677F\u5E93","Property Panel":"\u5C5E\u6027\u9762\u677F","Bottom Panel":"\u5E95\u90E8\u9762\u677F","Design Panel":"\u8BBE\u8BA1\u9762\u677F","Floating Tool":"\u6D6E\u52A8\u5DE5\u5177","Top Toolbar":"\u9876\u90E8\u5DE5\u5177\u680F","Project Setting":"\u5DE5\u7A0B\u8BBE\u7F6E","Project Setting...":"\u5DE5\u7A0B\u8BBE\u7F6E...","Open Project Setting":"\u6253\u5F00\u5DE5\u7A0B\u8BBE\u7F6E","Partial project setting is unset in current project {projectName}, do you want to open project setting dialog?":"\u5F53\u524D\u5DE5\u7A0B {projectName} \u7684\u90E8\u5206\u5DE5\u7A0B\u8BBE\u7F6E\u672A\u914D\u7F6E\uFF0C\u662F\u5426\u6253\u5F00\u5DE5\u7A0B\u8BBE\u7F6E?","Navigation Tree":"\u5DE6\u4FA7\u5BFC\u822A\u6811","Footprint Preview":"\u5C01\u88C5\u9884\u89C8",Goto:"\u8DF3\u8F6C","Backup Name already exists":"\u5907\u4EFD\u540D\u79F0\u5DF2\u5B58\u5728","Ctrl / Shift / Alt + Enter for new line":"Ctrl / Shift / Alt + Enter \u6362\u884C","More settings>>":"\u66F4\u591A\u8BBE\u7F6E>>",Place:"\u653E\u7F6E","Suture Vias":"\u7F1D\u5408\u5B54","Suture Via":"\u7F1D\u5408\u5B54","Polygon Pad":"\u591A\u8FB9\u5F62\u710A\u76D8","Shaped Pad":"\u5F02\u5F62\u710A\u76D8","Line Pads":"\u6761\u5F62\u591A\u710A\u76D8","Rectangle Pads":"\u77E9\u5F62\u591A\u710A\u76D8","Screw Hole":"\u87BA\u4E1D\u5B54","Fiducial Point":"\u6807\u8BC6\u70B9","Test Point":"\u6D4B\u8BD5\u70B9","Place Test Point":"\u653E\u7F6E\u6D4B\u8BD5\u70B9","Single Test Point":"\u5355\u4E2A","Auto Place Test Point...":"\u81EA\u52A8...","Screw Hole...":"\u87BA\u4E1D\u5B54...","Board Outline Wizard...":"\u677F\u6846\u5411\u5BFC...","Board Cutout Area":"\u69FD\u5B54","Prohibited Region":"\u7981\u6B62\u533A\u57DF","Constraint Region":"\u7EA6\u675F\u533A\u57DF","Center Arc":"\u4E2D\u5FC3\u5706\u5F27","Two Points Arc":"\u4E24\u70B9\u5706\u5F27","Three Points Arc":"\u4E09\u70B9\u5706\u5F27","Canvas Origin":"\u753B\u5E03\u539F\u70B9","By Cursor...":"\u4ECE\u5149\u6807...","By Coordinate...":"\u4ECE\u5750\u6807\u70B9...","By Center Grid of Graphics":"\u4ECE\u56FE\u5F62\u4E2D\u5FC3\u683C\u70B9","By First Pin":"\u4ECE\u7B2C\u4E00\u4E2A\u5F15\u811A","By Center of Pads":"\u4ECE\u710A\u76D8\u4E2D\u592E","By First Pad":"\u4ECE\u7B2C\u4E00\u4E2A\u710A\u76D8","Convert as PCB":"\u8F6C\u4E3APCB","Import Changes":"\u5BFC\u5165\u66F4\u65B0","Update Schematics":"\u66F4\u65B0\u539F\u7406\u56FE","Update PCB":"\u66F4\u65B0PCB","Locked/Unlock":"\u9501\u5B9A/\u89E3\u9501","Electrical Rule":"\u7535\u6C14\u89C4\u5219","Electrical Rule...":"\u7535\u6C14\u89C4\u5219...","Design Rule Check":"\u8BBE\u8BA1\u89C4\u5219\u68C0\u67E5","Check DRC":"\u68C0\u67E5DRC","Check DRC(Custom)...":"\u68C0\u67E5DRC(\u81EA\u5B9A\u4E49)...","Check DFM...":"\u68C0\u67E5DFM...","Clear Errors":"\u6E05\u9664\u9519\u8BEF","Check ERC":"\u68C0\u67E5ERC","Electric Rule Check":"\u7535\u6C14\u89C4\u5219\u68C0\u67E5","Two-Side Selection":"\u53CC\u5411\u9009\u4E2D","Replace Footprint...":"\u66FF\u6362\u5C01\u88C5...","Replace Footprint":"\u66FF\u6362\u5C01\u88C5","Update Symbol from Library":"\u4ECE\u5143\u4EF6\u5E93\u66F4\u65B0\u7B26\u53F7","Symbol Editor Display Scale Ruler":"\u7B26\u53F7\u7F16\u8F91\u5668\u663E\u793A\u6807\u5C3A","Show Ruler":"\u663E\u793A\u6807\u5C3A","Update Footprint":"\u66F4\u65B0\u5C01\u88C5","Update Device":"\u66F4\u65B0\u5668\u4EF6","Project Drawing Setting...":"\u5DE5\u7A0B\u56FE\u7EB8\u8BBE\u7F6E...","Drawing Presetting":"\u56FE\u7EB8\u9884\u8BBE","Drawing Presetting...":"\u56FE\u7EB8\u9884\u8BBE...","Submit Device Data Failer!":"\u63D0\u4EA4\u5668\u4EF6\u6570\u636E\u5931\u8D25\uFF01","Auto Place":"\u81EA\u52A8\u653E\u7F6E","All Components":"\u5168\u90E8\u5668\u4EF6","Selected Components":"\u9009\u4E2D\u5668\u4EF6","Reset All Placement":"\u6E05\u9664\u5E03\u5C40",Group:"\u7EC4\u5408",Ungroup:"\u53D6\u6D88\u7EC4\u5408","Group/Ungroup":"\u7EC4\u5408/\u53D6\u6D88\u7EC4\u5408","Group Selected":"\u7EC4\u5408\u9009\u4E2D","Ungroup Selected":"\u53D6\u6D88\u7EC4\u5408","Ungroup All Empty Groups":"\u53D6\u6D88\u6240\u6709\u7A7A\u7EC4\u5408","Ungroup All":"\u53D6\u6D88\u5168\u90E8\u7EC4\u5408","Enter Group":"\u8FDB\u5165\u7EC4\u5408","{0} objects grouped successfully":"{0} \u4E2A\u5143\u7D20\u7EC4\u5408\u6210\u529F","Group {0} deleted grouped successfully":"\u7EC4\u5408 {0} \u5DF2\u88AB\u5220\u9664","No group":"\u6CA1\u6709\u7EC4\u5408","Ungrouped successfully":"\u53D6\u6D88\u7EC4\u5408\u6210\u529F","Successfully cancel all empty group":"\u6240\u6709\u7A7A\u7EC4\u5408\u53D6\u6D88\u6210\u529F","Successfully cancel all group":"\u6240\u6709\u7EC4\u5408\u53D6\u6D88\u6210\u529F","Successfully cancel {num} group:{value}":"\u6210\u529F\u53D6\u6D88{num}\u4E2A\u7EC4\u5408\uFF1A{value}","{num} Ungrouped successfully:{name}":"{num}\u4E2A\u7EC4\u5408\u53D6\u6D88\u6210\u529F\uFF1A{name}","{num} Ungrouped successfully:{groupIdWithNames}":"{num}\u4E2A\u7EC4\u5408\u53D6\u6D88\u6210\u529F\uFF1A{groupIdWithNames}",Swap:"\u4E92\u6362","Swap Location":"\u4E92\u6362\u4F4D\u7F6E","Swap Pin":"\u5F15\u811A\u4E92\u6362",Distribute:"\u5206\u5E03","Distribute Array...":"\u9635\u5217\u5206\u5E03...","Rotate By Reference Point":"\u53C2\u8003\u70B9\u65CB\u8F6C",Flip:"\u7FFB\u8F6C","Flip Right and Left":"\u5DE6\u53F3\u7FFB\u8F6C","Flip Up and Down":"\u4E0A\u4E0B\u7FFB\u8F6C","Flip Right and Left by Reference Point":"\u53C2\u8003\u70B9\u5DE6\u53F3\u7FFB\u8F6C","Flip Up and Down by Reference Point":"\u53C2\u8003\u70B9\u4E0A\u4E0B\u7FFB\u8F6C","Flip to Top Side":"\u7FFB\u8F6C\u5230\u9876\u9762","Flip to Bottom Side":"\u7FFB\u8F6C\u5230\u5E95\u9762","Component Distribute By Region":"\u5143\u4EF6\u533A\u57DF\u5206\u5E03","Single Routing":"\u5355\u8DEF\u5E03\u7EBF","Single Routing(old)":"\u5355\u8DEF\u5E03\u7EBF\uFF08\u65E7\uFF09","Differential Pair Routing(old)":"\u5DEE\u5206\u5BF9\u5E03\u7EBF\uFF08\u65E7\uFF09","Stretch Track(old)":"\u62C9\u4F38\u5BFC\u7EBF\uFF08\u65E7\uFF09",Stretch:"\u62C9\u4F38","Stretch Track":"\u62C9\u4F38\u5BFC\u7EBF","Push and Stretch":"\u63A8\u6324\u62C9\u4F38","Push and Stretch Track":"\u63A8\u6324\u62C9\u4F38\u5BFC\u7EBF","Multiple Routing":"\u591A\u8DEF\u5E03\u7EBF","Auto Route...":"\u81EA\u52A8\u5E03\u7EBF...","Auto Route":"\u81EA\u52A8\u5E03\u7EBF","Auto\xA0Component\xA0Placement":"\u81EA\u52A8\u5143\u4EF6\u5E03\u5C40","Selected Component":"\u6240\u9009\u5143\u4EF6","Selected Component Connections":"\u6240\u9009\u5143\u4EF6\u7684\u8FDE\u63A5","Recycle Bin...":"\u56DE\u6536\u7AD9...","Equal Length Routing":"\u7B49\u957F\u7EBF\u5E03\u7EBF","Differential Pair Routing...":"\u5DEE\u5206\u5BF9\u5E03\u7EBF...","Differential Pair Setting...":"\u5DEE\u5206\u5BF9\u914D\u7F6E...","Fanout Routing...":"\u6247\u51FA\u5E03\u7EBF...","Routing Mode":"\u5E03\u7EBF\u6A21\u5F0F","Routing Corner":"\u5E03\u7EBF\u62D0\u89D2","Line 45\xB0":"\u7EBF\u676145\xB0","Line 90\xB0":"\u7EBF\u676190\xB0","Arc 90\xB0":"\u5706\u5F2790\xB0","Arc 45\xB0":"\u5706\u5F2745\xB0","Routing Width":"\u7EBF\u5BBD","Fellow Rule":"\u8DDF\u968F\u89C4\u5219","Rule Setting":"\u89C4\u5219\u8BBE\u7F6E","Rule Setting...":"\u89C4\u5219\u8BBE\u7F6E...","Common Width Setting...":"\u5E38\u7528\u7EBF\u5BBD\u8BBE\u7F6E...","Enter Width...":"\u8F93\u5165\u5BBD\u5EA6...","Width...":"\u5BBD\u5EA6...","Fanout Routing":"\u6247\u51FA\u5E03\u7EBF","Unroute Connection":"\u5220\u9664\u8FDE\u63A5","Unroute Net":"\u6E05\u9664\u7F51\u7EDC","Unroute All":"\u6E05\u9664\u5168\u90E8\u5E03\u7EBF","Symbol Wizard...":"\u7B26\u53F7\u5411\u5BFC...","Symbol Wizard":"\u7B26\u53F7\u5411\u5BFC","Footprint Wizard...":"\u5C01\u88C5\u5411\u5BFC...","Footprint Wizard":"\u5C01\u88C5\u5411\u5BFC","Measure Distance":"\u6D4B\u91CF\u8DDD\u79BB","Measure Object":"\u6D4B\u91CF\u5BF9\u8C61","Clear Measure Results":"\u6E05\u9664\u6D4B\u91CF\u7ED3\u679C","Clear Results":"\u6E05\u9664\u7ED3\u679C","Keep Results":"\u4FDD\u7559\u7ED3\u679C","Show angle and unit converted value":"\u663E\u793A\u89D2\u5EA6\u53CA\u5355\u4F4D\u6362\u7B97\u503C","Check Dimension":"\u68C0\u67E5\u5C3A\u5BF8","Check Footprint Dimension":"\u68C0\u67E5\u5C01\u88C5\u5C3A\u5BF8","Check Pad Dimension":"\u68C0\u67E5\u710A\u76D8\u5C3A\u5BF8","Net Class Length Tolerance":"\u7F51\u7EDC\u7C7B\u957F\u5EA6\u8BEF\u5DEE","Whether to check DRC\xA0immediately?":"\u662F\u5426\u7ACB\u5373\u6267\u884C\u4E00\u6B21DRC\u68C0\u67E5\uFF1F","Renumber Pads":"\u91CD\u65B0\u7F16\u53F7\u710A\u76D8","Renumber Pins":"\u91CD\u65B0\u7F16\u53F7\u5F15\u811A","Sequence:":"\u987A\u5E8F:","Starting number:":"\u8D77\u59CB\u7F16\u53F7:","Numbering rules:":"\u7F16\u53F7\u89C4\u5219:","Prefix increment":"\u524D\u7F00\u9012\u589E","Suffix increment":"\u540E\u7F00\u9012\u589E","Increment by suffix, then prefix":"\u5148\u540E\u7F00\u9012\u589E\uFF0C\u518D\u524D\u7F00\u9012\u589E","The prefix is empty and cannot be incremented!":"\u524D\u7F00\u4E3A\u7A7A\uFF0C\u65E0\u6CD5\u9012\u589E\uFF01","The suffix is empty and cannot be incremented!":"\u540E\u7F00\u4E3A\u7A7A\uFF0C\u65E0\u6CD5\u9012\u589E\uFF01","The prefix does not allow a combination of numbers and letters!":"\u524D\u7F00\u4E0D\u5141\u8BB8\u6570\u5B57\u548C\u5B57\u6BCD\u7684\u7EC4\u5408\uFF01","The suffix does not allow a combination of numbers and letters!":"\u540E\u7F00\u4E0D\u5141\u8BB8\u6570\u5B57\u548C\u5B57\u6BCD\u7684\u7EC4\u5408\uFF01","New Panel":"\u65B0\u5EFA\u9762\u677F","Footprint File missing:":"\u5C01\u88C5\u6587\u4EF6\u4E22\u5931\uFF1A","The format of the {type} document is invalid":"{type}\u6587\u6863\u5185\u5BB9\u683C\u5F0F\u4E0D\u5408\u6CD5!","File missing!":"\u6587\u4EF6\u4E22\u5931!","Create scheamtic failed!":"\u521B\u5EFA\u539F\u7406\u56FE\u5931\u8D25!","Create sheet failed!":"\u521B\u5EFA\u539F\u7406\u56FE\u56FE\u9875\u5931\u8D25!","Create pcb failed!":"\u521B\u5EFAPCB\u5931\u8D25!","Create panel failed!":"\u521B\u5EFA\u9762\u677F\u5931\u8D25!","Create symbol failed!":"\u521B\u5EFA\u7B26\u53F7\u5931\u8D25!","Create footprint failed!":"\u521B\u5EFA\u5C01\u88C5\u5931\u8D25!","Create device failed!":"\u521B\u5EFA\u5668\u4EF6\u5931\u8D25\uFF01","Create copper failed!":"\u521B\u5EFA\u94FA\u94DC\u5931\u8D25!","Create font failed!":"\u521B\u5EFA\u5B57\u4F53\u5931\u8D25!","Create Colorful Image failed!":"\u521B\u5EFA\u771F\u5F69\u56FE\u7247\u5931\u8D25!","Custom footprint lost template data!":"\u81EA\u5B9A\u4E49\u5C01\u88C5\u4E22\u5931\u6A21\u677F\u6570\u636E!","Custom symbol lost template data!":"\u81EA\u5B9A\u4E49\u7B26\u53F7\u4E22\u5931\u6A21\u677F\u6570\u636E!","The owning PCB is missing":"\u6240\u5C5E\u7684PCB\u4E22\u5931","The owning Sheet is missing":"\u6240\u5C5E\u7684\u539F\u7406\u56FE\u9875\u4E22\u5931","Instance properties missing top-level schematics!":"\u5B9E\u4F8B\u5C5E\u6027\u4E22\u5931\u9876\u5C42\u539F\u7406\u56FE!","Instance attribute conversion path failed!":"\u5B9E\u4F8B\u5C5E\u6027\u8F6C\u5316\u8DEF\u5F84\u5931\u8D25!","Invalid blob!":"\u65E0\u6548\u771F\u5F69\u56FE!","The following devices lose bound symbol data!":"\u4EE5\u4E0B\u5668\u4EF6\u4E22\u5931\u7ED1\u5B9A\u7684\u7B26\u53F7\u6570\u636E!","The following devices lose bound footprint data!":"\u4EE5\u4E0B\u5668\u4EF6\u4E22\u5931\u7ED1\u5B9A\u7684\u5C01\u88C5\u6570\u636E!","Child PCB {title} lost the parent PCB!":"\u5B50 PCB {title} \u4E22\u5931\u6240\u5C5E\u7684\u7236\u7EA7 PCB","Footprint Manager...":"\u5C01\u88C5\u7BA1\u7406\u5668...","Layer Manager...":"\u56FE\u5C42\u7BA1\u7406\u5668...","Layer Management":"\u56FE\u5C42\u7BA1\u7406","Physical Stacking":"\u7269\u7406\u5806\u53E0","physical stacking":"\u7269\u7406\u5806\u53E0",Material:"\u6750\u8D28","Thickness(mm)":"\u539A\u5EA6(mm)","Thickness(mil)":"\u539A\u5EA6(mil)",Thickness:"\u539A\u5EA6","Thickness({0})":"\u539A\u5EA6({0})",Permittivity:"\u4ECB\u7535\u5E38\u6570","Dielectric layer {0}":"\u4ECB\u7535\u5C42{0}",Dielectric:"\u4ECB\u7535","Dielectric{0}":"\u4ECB\u7535{0}",Multi:"\u591A\u5C42","Multi{0}":"\u591A\u5C42{0}",multi:"\u591A\u5C42","multi{0}":"\u591A\u5C42{0}","Loss Tangent":"\u635F\u8017\u5207\u7EBF","Board Thickness":"\u677F\u539A","Current stack thickness":"\u5F53\u524D\u5806\u53E0\u539A\u5EA6","Auto Assign substrate thickness":"\u81EA\u52A8\u5206\u914D\u57FA\u677F\u539A\u5EA6","Set the board thickness is too small!":"\u8BBE\u7F6E\u7684\u677F\u539A\u5EA6\u8FC7\u5C0F\uFF01",CopperThickness1oz:"1oz\u94DC\u539A",CopperThickness2oz:"2oz\u94DC\u539A","JLCPCB Capability(Two Layers Board)":"\u5609\u7ACB\u521B\u5DE5\u827A(\u53CC\u9762\u677F)","JLCPCB Capability(Single Layer Board)":"\u5609\u7ACB\u521B\u5DE5\u827A(\u5355\u9762\u677F)","JLCPCB Capability(Multiple Layers Board)":"\u5609\u7ACB\u521B\u5DE5\u827A(\u591A\u5C42\u677F)","JLCPCB Capability(High Frequency Board)":"\u5609\u7ACB\u521B\u5DE5\u827A(\u9AD8\u9891\u677F)","JLCPCB Capability(Aluminum Substrate Board)":"\u5609\u7ACB\u521B\u5DE5\u827A(\u94DD\u57FA\u677F)","JLCPCB Capability(Copper Substrate Board)":"\u5609\u7ACB\u521B\u5DE5\u827A(\u94DC\u57FA\u677F)","User Custom Config":"\u7528\u6237\u81EA\u5B9A\u4E49\u914D\u7F6E","Drill Drawing":"\u94BB\u5B54\u56FE","Model Manager...":"\u6A21\u578B\u7BA1\u7406\u5668...","Circuit Calculator...":"\u7535\u8DEF\u8BA1\u7B97\u5668...","Bill of Materials(BOM)...":"\u7269\u6599\u6E05\u5355(BOM)...","Bill of Materials(BOM)":"\u7269\u6599\u6E05\u5355(BOM)","Order Parts...":"\u5143\u4EF6\u4E0B\u5355...","Order Parts at LCSC...":"\u7ACB\u521B\u5546\u57CE\u5143\u4EF6\u4E0B\u5355...","Order Parts at LCSC":"\u7ACB\u521B\u5546\u57CE\u5143\u4EF6\u4E0B\u5355","Order PCB...":"PCB\u4E0B\u5355...","Order PCB at JLCPCB...":"\u5609\u7ACB\u521BPCB\u4E0B\u5355...","Order PCB at JLCPCB":"\u5609\u7ACB\u521BPCB\u4E0B\u5355","Order PCB":"PCB\u4E0B\u5355","Order Panel":"\u9762\u677F\u4E0B\u5355","Order Panel at LCSC...":"\u7ACB\u521B\u9762\u677F\u4E0B\u5355...","Order Panel at LCSC":"\u7ACB\u521B\u9762\u677F\u4E0B\u5355","One-Click Order\xA0Parts":"\u5143\u4EF6\u4E00\u952E\u4E0B\u5355","One-Click Order\xA0PCB":"PCB\u4E00\u952E\u4E0B\u5355","One-Click Order 3D Shell":"3D\u5916\u58F3\u4E00\u952E\u4E0B\u5355","One-Click Order Panel":"\u9762\u677F\u4E00\u952E\u4E0B\u5355","LCSC - Parts":"\u7ACB\u521B\u5546\u57CE - \u5143\u4EF6/\u9762\u677F","JLCPCB - PCB/SMT":"\u5609\u7ACB\u521B - PCB/SMT","JLC3DP - 3D Printing":"\u5609\u7ACB\u521B - 3D\u6253\u5370","JLCFA-Parts":"\u5609\u7ACB\u521BFA\u5546\u57CE-\u5143\u4EF6","JLCPCB Layout Service":"\u5609\u7ACB\u521BLayout\u670D\u52A1","JLCPCB - PCB Layout Service":"\u5609\u7ACB\u521B - PCB Layout\u670D\u52A1","Order PCB Layout at JLCPCB...":"\u5609\u7ACB\u521BLayout\u4E0B\u5355...","Order PCB Layout at JLCPCB":"\u5609\u7ACB\u521BLayout\u4E0B\u5355","Request New Part":"\u7533\u8BF7\u65B0\u5143\u4EF6","Popup Window":"\u5F39\u51FA\u7A97\u53E3","Restore Window":"\u8FD8\u539F\u7A97\u53E3","Schematic Information...":"\u539F\u7406\u56FE\u4FE1\u606F...","Document Recovery...":"\u6587\u6863\u6062\u590D...","Document Recovery":"\u6587\u6863\u6062\u590D","Document Histories...":"\u6587\u6863\u5386\u53F2...","Plugins Manager...":"\u63D2\u4EF6\u7BA1\u7406\u5668...","Issue Report":"\u95EE\u9898\u53CD\u9988","Online Chat":"\u5728\u7EBF\u4EA4\u8C08","About...":"\u5173\u4E8E...","The width and height of the current left, right, bottom panels and specific symbol are recorded when the settings are applied, and are applied when the editor is opened.":"\u5E94\u7528\u8BBE\u7F6E\u65F6\u4F1A\u8BB0\u5F55\u5F53\u524D\u5DE6\u4FA7\u3001\u53F3\u4FA7\u3001\u5E95\u90E8\u9762\u677F\u548C\u7279\u6B8A\u7B26\u53F7\u7684\u5BBD\u9AD8\uFF0C\u5728\u7F16\u8F91\u5668\u6253\u5F00\u65F6\u4F1A\u5E94\u7528\u3002","It is detected that the cloud document {0} is updated, refresh document can update it to local, this operation cannot be undone, do you want to to refresh?":"\u68C0\u6D4B\u5230\u4E91\u7AEF\u6587\u6863 {0} \u6709\u66F4\u65B0\uFF0C\u5237\u65B0\u6587\u6863\u53EF\u4EE5\u66F4\u65B0\u5230\u672C\u5730\uFF0C\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u64A4\u9500\uFF0C\u662F\u5426\u5237\u65B0\uFF1F",Format:"\u683C\u5F0F",Design:"\u8BBE\u8BA1",Settings:"\u8BBE\u7F6E",Fabrication:"\u5236\u9020",Object:"\u5BF9\u8C61","Primitive Style:":"\u56FE\u5143\u98CE\u683C:",Property:"\u5C5E\u6027","Property Value":"\u5C5E\u6027\u503C",Layout:"\u5E03\u5C40",Hotkey:"\u5FEB\u6377\u952E","Custom Toolbar...":"\u81EA\u5B9A\u4E49\u5DE5\u5177\u680F...","Custom Toolbar":"\u81EA\u5B9A\u4E49\u5DE5\u5177\u680F","Custom path":"\u81EA\u5B9A\u4E49\u8DEF\u5F84","Number prohibits I, O, Q, S, X, Z letters":"\u7F16\u53F7\u7981\u6B62I\u3001O\u3001Q\u3001S\u3001X\u3001Z\u5B57\u6BCD","The increment value is wrong, please re-enter!":"\u6B65\u8FDB\u503C\u9519\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8F93\u5165\uFF01","Share...":"\u5206\u4EAB...","New Version...":"\u521B\u5EFA\u7248\u672C...","Cache Recovery":"\u7F13\u5B58\u6062\u590D","Cache Recovery...":"\u7F13\u5B58\u6062\u590D...",Historical:"\u5386\u53F2","New Device":"\u65B0\u5EFA\u5668\u4EF6",Community:"\u793E\u533A","HIT Tools":"HIT\u5DE5\u5177","Tool Link":"\u5DE5\u5177\u8FDE\u63A5","ICP Tools":"ICP\u5DE5\u5177",Connect:"\u8FDE\u63A5",Disconnect:"\u65AD\u5F00\u8FDE\u63A5",Default:"\u9ED8\u8BA4","(Default)":"(\u9ED8\u8BA4)","{key}(Default)":"{key}(\u9ED8\u8BA4)","{key}\uFF08Default\uFF09":"{key}(\u9ED8\u8BA4)","Keep designator and update nets while pasting":"\u7C98\u8D34\u65F6\u4FDD\u6301\u4F4D\u53F7\u5E76\u66F4\u65B0\u7F51\u7EDC\u540D","Tips: After changing the path, you need to restart the client":"\u63D0\u793A\uFF1A\u6539\u53D8\u8DEF\u5F84\u540E\uFF0C\u9700\u8981\u91CD\u65B0\u542F\u52A8\u5BA2\u6237\u7AEF","1. Full online mode the projects and libraries are saved on the server":"1.\u5728\u7EBF\u6A21\u5F0F\u5DE5\u7A0B\u548C\u5E93\u5747\u4FDD\u5B58\u5728\u670D\u52A1\u5668","2. After changing the operating mode, you need to restart the client":"2.\u5207\u6362\u8FD0\u884C\u6A21\u5F0F\u540E\uFF0C\u9700\u8981\u91CD\u65B0\u542F\u52A8\u5BA2\u6237\u7AEF","3. When switching to online mode but unable to connect to the internet, the client will automatically switch to offline mode to make sure that the software can be run normally":"3.\u5F53\u5207\u6362\u4E3A\u5728\u7EBF\u6A21\u5F0F\u4F46\u65E0\u6CD5\u6B63\u5E38\u8054\u7F51\u65F6\uFF0C\u5BA2\u6237\u7AEF\u542F\u52A8\u4F1A\u81EA\u52A8\u5207\u6362\u4E3A\u79BB\u7EBF\u6A21\u5F0F\uFF0C\u786E\u4FDD\u8F6F\u4EF6\u53EF\u6B63\u5E38\u8FD0\u884C\u3002","1. Half offline mode the projects and libraries are saved on the local, support to use the online system libraries":"1.\u534A\u79BB\u7EBF\u6A21\u5F0F\u5DE5\u7A0B\u548C\u5E93\u5747\u4FDD\u5B58\u5230\u672C\u5730\uFF0C\u53EF\u4EE5\u4F7F\u7528\u5728\u7EBF\u7CFB\u7EDF\u5E93","1. Full offline mode the projects and libraries are saved on the local, doesn't support to use the online system libraries":"1.\u5168\u79BB\u7EBF\u6A21\u5F0F\u5DE5\u7A0B\u548C\u5E93\u5747\u4FDD\u5B58\u5230\u672C\u5730\uFF0C\u4E0D\u652F\u6301\u4F7F\u7528\u5728\u7EBF\u7CFB\u7EDF\u5E93","Project Cache Recovery Path":"\u5DE5\u7A0B\u7F13\u5B58\u6062\u590D\u8DEF\u5F84","Activation File":"\u6FC0\u6D3B\u6587\u4EF6","Client Logs":"\u5BA2\u6237\u7AEF\u65E5\u5FD7","Clear Logs":"\u6E05\u7A7A\u65E5\u5FD7","Use Proxy":"\u4F7F\u7528\u4EE3\u7406",Protocol:"\u534F\u8BAE",host:"\u5730\u5740",Port:"\u7AEF\u53E3",Account:"\u8D26\u6237",Password:"\u5BC6\u7801","Running Mode":"\u8FD0\u884C\u6A21\u5F0F","Data Path":"\u6570\u636E\u8DEF\u5F84","Network Proxy":"\u7F51\u7EDC\u4EE3\u7406","Software Updates":"\u8F6F\u4EF6\u66F4\u65B0","Other Setting":"\u5176\u4ED6\u8BBE\u7F6E","Trace log (including warning and error logs)":"\u8FFD\u8E2A\u65E5\u5FD7(\u5305\u542B\u4FE1\u606F\u3001\u8B66\u544A\u548C\u9519\u8BEF\u65E5\u5FD7)","Debug log (Contains some information, warning and error logs)":"\u8C03\u8BD5\u65E5\u5FD7(\u5305\u542B\u90E8\u5206\u4FE1\u606F\u3001\u8B66\u544A\u548C\u9519\u8BEF\u65E5\u5FD7)","Information log (only Information logs are recorded)":"\u4FE1\u606F\u65E5\u5FD7(\u4EC5\u8BB0\u5F55\u4FE1\u606F\u65E5\u5FD7)","Warning log (only warning logs are recorded)":"\u8B66\u544A\u65E5\u5FD7(\u4EC5\u8BB0\u5F55\u8B66\u544A\u65E5\u5FD7)","Error log (only error logs are recorded)":"\u9519\u8BEF\u65E5\u5FD7(\u4EC5\u8BB0\u5F55\u9519\u8BEF\u65E5\u5FD7)","The network proxy setting host and port cannot be empty!":"\u7F51\u7EDC\u4EE3\u7406\u8BBE\u7F6E\u5730\u5740\u548C\u7AEF\u53E3\u4E0D\u80FD\u4E3A\u7A7A\uFF01","Network connection failed!":"\u7F51\u7EDC\u8FDE\u63A5\u5931\u8D25\uFF01","Failed to read the activation file!":"\u8BFB\u53D6\u6FC0\u6D3B\u6587\u4EF6\u5931\u8D25\uFF01","Failed to replace the activation file!":"\u66FF\u6362\u6FC0\u6D3B\u6587\u4EF6\u5931\u8D25\uFF01","Logs cleared successfully":"\u6210\u529F\u6E05\u7A7A\u65E5\u5FD7","Failed to clear logs":"\u65E5\u5FD7\u6E05\u7A7A\u5931\u8D25","An error occurred while clearing log":"\u65E5\u5FD7\u6E05\u7A7A\u53D1\u751F\u9519\u8BEF","Are you sure you want to clear all log files? This action cannot be undone.":"\u4F60\u786E\u5B9A\u8981\u6E05\u9664\u6240\u6709\u65E5\u5FD7\u6587\u4EF6\u5417\uFF1F\u6B64\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500\u3002",Advanced:"\u9AD8\u7EA7",Convention:"\u5E38\u89C4","No Data!":"\u6CA1\u6709\u6570\u636E","Fixed Config:":"\u56FA\u5B9A\u914D\u7F6E:","Custom Config:":"\u81EA\u5B9A\u4E49\u914D\u7F6E:","Custom Config":"\u81EA\u5B9A\u4E49\u914D\u7F6E","Custom Config1":"\u81EA\u5B9A\u4E49\u914D\u7F6E1","Export Pin Number":"\u5BFC\u51FA\u5F15\u811A\u6570","Import Setting":"\u5BFC\u5165\u8BBE\u7F6E","Export Setting":"\u5BFC\u51FA\u914D\u7F6E",Drill:"\u94BB\u5B54","Drill Table":"\u94BB\u5B54\u8868","Export Metallic Drilling Information":"\u5BFC\u51FA\u91D1\u5C5E\u5316\u94BB\u5B54\u4FE1\u606F","Export Non-metallic Drilling Information":"\u5BFC\u51FA\u975E\u91D1\u5C5E\u5316\u94BB\u5B54\u4FE1\u606F","Non-metallic Drilling":"\u975E\u91D1\u5C5E\u5316\u94BB\u5B54","Metallic Drilling":"\u91D1\u5C5E\u5316\u94BB\u5B54","Export Drill Table":"\u5BFC\u51FA\u94BB\u5B54\u8868","Export Flying Probe Testing File":"\u5BFC\u51FA\u98DE\u9488\u6D4B\u8BD5\u6587\u4EF6","3D model too large to import":"3D\u6A21\u578B\u8FC7\u5927\uFF0C\u65E0\u6CD5\u5BFC\u5165","3D model is too large to load":"3D\u6A21\u578B\u5C3A\u5BF8\u8FC7\u5927\uFF0C\u65E0\u6CD5\u52A0\u8F7D","{0} 3D models import successfully:":"{0}\u4E2A3D\u6A21\u578B\u5BFC\u5165\u6210\u529F\uFF1A","{0} 3D models import failure.A library with the same name already exists:":"{0}\u4E2A3D\u6A21\u578B\u5BFC\u5165\u5931\u8D25\u3002\u5DF2\u7ECF\u5B58\u5728\u76F8\u540C\u540D\u79F0\u7684\u5E93\uFF1A","{0} 3D models import failure.":"{0}\u4E2A3D\u6A21\u578B\u5BFC\u5165\u5931\u8D25\u3002",Arc:"\u5706\u5F27","Elliptical Arc":"\u692D\u5706\u5F27",Ellipse:"\u692D\u5706",Cover:"\u906E\u76D6",Pie:"\u997C\u5F62",Line:"\u7EBF\u6761",Polyline:"\u6298\u7EBF",Rectangle:"\u77E9\u5F62",Rect:"\u77E9\u5F62",Circle:"\u5706\u5F62",angle:"\u89D2\u5EA6","Table...":"\u8868\u683C...","Some of the content has been truncated and successfully pasted!":"\u90E8\u5206\u5185\u5BB9\u5DF2\u88AB\u88C1\u526A\u5E76\u7C98\u8D34\u6210\u529F\uFF01","Paste failed, target paste area conflicts with merged cell area!":"\u7C98\u8D34\u5931\u8D25\uFF0C\u76EE\u6807\u7C98\u8D34\u533A\u57DF\u4E0E\u5408\u5E76\u5355\u5143\u683C\u533A\u57DF\u5B58\u5728\u51B2\u7A81\uFF01","Table Setting...":"\u8868\u683C\u8BBE\u7F6E...","Table Line Width":"\u8868\u683C\u7EBF\u5BBD","Array...":"\u9635\u5217...",Array:"\u9635\u5217","Stack Table":"\u5806\u53E0\u8868",Separator:"\u5206\u9694\u7B26","Special Components...":"\u7279\u6B8A\u5143\u5668...","The rectangle does not support non-90 degree rotation. Please use Fill Region instead.":"\u77E9\u5F62\u4E0D\u652F\u6301\u975E 90 \u5EA6\u89D2\u65CB\u8F6C\uFF0C\u8BF7\u4F7F\u7528\u5B9E\u5FC3\u586B\u5145\u4EE3\u66FF\u3002","Objects within component cannot be arrayed":"\u5143\u4EF6\u5185\u7684\u5BF9\u8C61\u4E0D\u80FD\u88AB\u9635\u5217","Document {documentName} size over 15MB, it is too big to save in the server, please modify and then try again.":"\u6587\u6863 {documentName} \u8D85\u8FC715MB\uFF0C\u5BFC\u81F4\u65E0\u6CD5\u6B63\u5E38\u4FDD\u5B58\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u5BFC\u5165","Bulk acquisition of {dataType} data:":"\u6279\u91CF\u83B7\u53D6{dataType}\u6570\u636E\uFF1A","Round Rectangle":"\u5706\u89D2\u77E9\u5F62",Polygon:"\u591A\u8FB9\u5F62",Bezier:"\u8D1D\u585E\u5C14\u66F2\u7EBF",Pen:"\u94A2\u7B14\u5DE5\u5177",Path:"\u8DEF\u5F84",Graphic:"\u56FE\u7247",Bus:"\u603B\u7EBF","Bus Entry":"\u603B\u7EBF\u5206\u652F","The Name Of BusEntry":"\u603B\u7EBF\u540D\u79F0",Junction:"\u8FDE\u63A5\u70B9","Junction Flag":"\u8FDE\u63A5\u70B9\u6807\u8BC6","Net Port":"\u7F51\u7EDC\u7AEF\u53E3","Voltage Probe":"\u7535\u538B\u63A2\u9488","Power Port":"\u7535\u6E90",Wire:"\u5BFC\u7EBF",NoConnect:"\u672A\u8FDE\u63A5\u70B9","No Connect Point":"\u672A\u8FDE\u63A5\u70B9","No Connect Flag":"\u975E\u8FDE\u63A5\u6807\u8BC6","Net Name/Netflag":"\u7F51\u7EDC\u540D\u79F0/\u7F51\u7EDC\u6807\u7B7E","Net Property":"\u7F51\u7EDC\u5C5E\u6027","Symbol Name":"\u7B26\u53F7\u540D\u79F0","Symbol Property":"\u7B26\u53F7\u5C5E\u6027","Pin Name":"\u5F15\u811A\u540D\u79F0","Pin Property":"\u5F15\u811A\u5C5E\u6027","Unusual Hint":"\u5F02\u5E38\u63D0\u793A",Annotation:"\u6279\u6CE8",Track:"\u5BFC\u7EBF",Image:"\u56FE\u7247",Drawing:"\u56FE\u7EB8","Arrow Head":"\u7BAD\u5934",Arrowhead:"\u7BAD\u5934",Arrow:"\u7BAD\u5934",Pin:"\u5F15\u811A","Lock Selected Objects":"\u9501\u5B9A\u9009\u4E2D\u5BF9\u8C61","Generate Block Symbol...":"\u751F\u6210\u6A21\u5757\u7B26\u53F7...","Update Netports from Block Symbol...":"\u4ECE\u6A21\u5757\u7B26\u53F7\u66F4\u65B0\u7AEF\u53E3...","Real-Time DRC":"\u5B9E\u65F6DRC","DFM Rule...":"DFM\u89C4\u5219...","Net Class...":"\u7F51\u7EDC\u7C7B...",Designator:"\u4F4D\u53F7","Open CBB":"\u751F\u6210/\u66F4\u65B0\u6A21\u5757\u539F\u7406\u56FE","Generate/Update Block Symbol...":"\u751F\u6210/\u66F4\u65B0\u6A21\u5757\u7B26\u53F7...","Back to the Upper":"\u56DE\u5230\u4E0A\u5C42","Open Template Page":"\u6253\u5F00\u6A21\u7248\u9875","Update Pins from Schematic":"\u6839\u636E\u539F\u7406\u56FE\u66F4\u65B0\u5F15\u811A","Generate/Update Block Symbol":"\u751F\u6210/\u66F4\u65B0\u6A21\u5757\u7B26\u53F7","Place Block Symbol":"\u653E\u7F6E\u6A21\u5757\u7B26\u53F7","Place Block":"\u653E\u7F6E\u6A21\u5757","Update Netport from Block Symbol":"\u6839\u636E\u6A21\u5757\u7B26\u53F7\u66F4\u65B0\u7AEF\u53E3","Symbol Update Tips":"\u7B26\u53F7\u66F4\u65B0\u63D0\u793A","EasyEDA Pro Panel Software Practical Training":"\u5609\u7ACB\u521BEDA\u9762\u677F\u8F6F\u4EF6\u5B9E\u64CD\u6559\u5B66","EasyEDA Pro Panel Software Tutorial Documentation":"\u5609\u7ACB\u521BEDA\u9762\u677F\u8F6F\u4EF6\u6559\u7A0B\u6587\u6863","Schemaitc-General":"\u539F\u7406\u56FE-\u901A\u7528","Drag Net Name":"\u62D6\u52A8\u7F51\u7EDC\u540D","Modify Net Name":"\u4FEE\u6539\u7F51\u7EDC\u540D","Modify Property Position":"\u8C03\u6574\u5C5E\u6027\u4F4D\u7F6E","Via: Settings - Schematic - General":"\u5165\u53E3\uFF1A\u8BBE\u7F6E - \u539F\u7406\u56FE - \u5E38\u7528","(Strict; PADS or OrCAD net name behaviour)":"(\u4E25\u8C28\uFF1BPADS\u6216OrCAD\u7684\u7F51\u7EDC\u540D\u79F0\u884C\u4E3A)","(Flexible; Std Edition or Altium net label behaviour)":"(\u7075\u6D3B\uFF1B\u6807\u51C6\u7248\u6216Altium\u7684\u7F51\u7EDC\u6807\u7B7E\u884C\u4E3A)","(Strict; The habit of PADS or OrCAD)":"(\u4E25\u8C28\uFF1BPADS\u3001OrCAD\u7528\u6237\u4E60\u60EF)","(Flexible; The habit of Std Edition or Altium Designer)":"(\u7075\u6D3B\uFF1B\u6807\u51C6\u7248\u3001AD\u7528\u6237\u4E60\u60EF)","The editor adds new settings, please chose your preference as below. And you can change it at settings menu.":"\u7F16\u8F91\u5668\u65B0\u589E\u4E86\u8BBE\u7F6E\uFF0C\u8BF7\u6839\u636E\u60A8\u7684\u4E2A\u4EBA\u4E60\u60EF\u9009\u62E9\u5BF9\u5E94\u7684\u914D\u7F6E\u3002\u4E5F\u53EF\u4EE5\u5728\u8BBE\u7F6E\u83DC\u5355\u8FDB\u884C\u4FEE\u6539","Drag the net name away from the wire, the wire's net name will be changed; It doesn't impact previous designs":"\u62D6\u52A8\u7F51\u7EDC\u540D\u79BB\u5F00\u5BFC\u7EBF\uFF0C\u5BFC\u7EBF\u7F51\u7EDC\u540D\u4F1A\u88AB\u4FEE\u6539\uFF1B\u8BE5\u9009\u9879\u4E0D\u5F71\u54CD\u4E4B\u524D\u7684\u8BBE\u8BA1","Drag the net name away from the wire, only changes the net name position, it doesn't change wire's net name":"\u62D6\u52A8\u7F51\u7EDC\u540D\u79BB\u5F00\u5BFC\u7EBF\uFF0C\u4EC5\u4FEE\u6539\u7F51\u7EDC\u540D\u7684\u4F4D\u7F6E\uFF0C\u4E0D\u4FEE\u6539\u5BFC\u7EBF\u7F51\u7EDC\u540D\u79F0","The hole must be inside the pad!":"\u5B54\u5FC5\u987B\u5728\u710A\u76D8\u5185!","Ref Designator":"\u4F4D\u53F7",REFDES:"\u4F4D\u53F7","Ref Designator Annotate...":"\u5206\u914D\u4F4D\u53F7...","Ref Designator Annotate":"\u5206\u914D\u4F4D\u53F7","Ref Designator Remove...":"\u6E05\u9664\u4F4D\u53F7...","BOM Service":"BOM\u670D\u52A1","Export BOM...":"\u5BFC\u51FABOM...","Current generated list properties":"\u5F53\u524D\u751F\u6210\u6E05\u5355\u5C5E\u6027","Fabrication Output":"\u5236\u9020\u8F93\u51FA","Print...":"\u6253\u5370...",Miscellaneous:"\u6742\u9879","Find Component":"\u67E5\u627E\u5143\u4EF6",Component:"\u5143\u4EF6","Specific Symbol":"\u7279\u6B8A\u7B26\u53F7","This component is deleted!":"\u8FD9\u4E2A\u5143\u4EF6\u5DF2\u7ECF\u88AB\u5220\u9664\uFF01",Convert:"\u8F6C\u6362","Convert Schematic to PCB":"\u539F\u7406\u56FE\u8F6C\u4E3APCB","Update/Convert Schematic to PCB":"\u66F4\u65B0/\u8F6C\u6362\u539F\u7406\u56FE\u5230PCB","Order JLCPCB Layout Service...":"\u4E0B\u5355\u5609\u7ACB\u521BLayout\u670D\u52A1...","Select Range":"\u9009\u62E9\u8303\u56F4","Import Changes from PCB":"\u4ECEPCB\u5BFC\u5165\u53D8\u66F4","Import Changes from Schematic":"\u4ECE\u539F\u7406\u56FE\u5BFC\u5165\u53D8\u66F4","Update Changes to Schematic":"\u66F4\u65B0\u4FEE\u6539\u5230\u539F\u7406\u56FE","Update Changes to PCB":"\u66F4\u65B0\u4FEE\u6539\u5230PCB","Update Pins from Schematic...":"\u4ECE\u539F\u7406\u56FE\u66F4\u65B0\u5F15\u811A...",libConvert:"\u8F6C\u5230PCB","Edit Symbol...":"\u4FEE\u6539\u5668\u4EF6...","Highlight Net...":"\u9AD8\u4EAE\u7F51\u7EDC...","Choose Net":"\u9009\u4E2D\u8FDE\u63A5","Choose Parent":"\u9009\u4E2D\u7236\u7EA7","Connected Thermals":"\u8FDE\u63A5\u7684\u70ED\u710A",Std:"\u6807\u51C6","Standard Mode":"\u6807\u51C6\u6A21\u5F0F","Change to Standard Mode":"\u5207\u6362\u81F3\u6807\u51C6\u6A21\u5F0F","Welcome to Use JLCEDA":"\u6B22\u8FCE\u4F7F\u7528\u5609\u7ACB\u521BEDA","Welcome to Use EasyEDA":"\u6B22\u8FCE\u4F7F\u7528EasyEDA","Apply Education Edition for Free >>>":"\u514D\u8D39\u7533\u8BF7\u6559\u80B2\u7248>>>","Shortcut Keys Setting":"\u5FEB\u6377\u952E\u8BBE\u7F6E","Quick Start":"\u5FEB\u901F\u5F00\u59CB","More Help":"\u66F4\u591A\u5E2E\u52A9",More:"\u66F4\u591A",Explore:"\u5F00\u6E90\u5E73\u53F0",Message:"\u6D88\u606F",Service:"\u670D\u52A1",Tutorial:"\u4F7F\u7528\u6559\u7A0B",Feedback:"\u53CD\u9988","Start Page":"\u5F00\u59CB\u9875","Recent Projects":"\u8FD1\u671F\u5DE5\u7A0B","Please enter the name of the project you need to query":"\u8BF7\u8F93\u5165\u9700\u8981\u67E5\u8BE2\u7684\u5DE5\u7A0B\u540D","New Symbol":"\u65B0\u5EFA\u7B26\u53F7","New Component":"\u65B0\u5EFA\u5143\u4EF6","Associate Existing Symbol":"\u5173\u8054\u5DF2\u6709\u7B26\u53F7","New Part":"\u65B0\u5EFA\u90E8\u4EF6","Clone Part":"\u514B\u9686\u90E8\u4EF6","New Reuse Block":"\u65B0\u5EFA\u590D\u7528\u6A21\u5757","CBB...":"\u590D\u7528\u6A21\u5757...",CBB:"\u590D\u7528\u6A21\u5757","Symbol...":"\u7B26\u53F7...","@@start":{Example:"\u793A\u4F8B\u5DE5\u7A0B",Forum:"\u7ACB\u521B\u793E\u533A",Tutorials:"\u6587\u6863\u6559\u7A0B",Videos:"\u89C6\u9891\u6559\u7A0B","Open Project":"\u6253\u5F00\u5DE5\u7A0B",View:"\u89C6\u56FE",Block:"\u6A21\u5757","Reuse Block":"\u590D\u7528\u6A21\u5757",Symbol:"\u7B26\u53F7","Ref Designator Annotate":"\u4F4D\u53F7\u5206\u914D",Result:"\u7ED3\u679C","Selected Objects":"\u9009\u4E2D\u7684\u5143\u7D20","Shaped Pad":"\u5F02\u5F62\u710A\u76D8",Pad:"\u710A\u76D8"},"Please Open a project at first!":"\u8BF7\u5148\u6253\u5F00\u4E00\u4E2A\u5DE5\u7A0B\uFF01","Please create a Board at first!":"\u8BF7\u5148\u521B\u5EFA\u4E00\u5757\u677F\u5B50\uFF01","Copy Result Image":"\u590D\u5236\u56FE\u5F62\u7ED3\u679C","Export Result Image":"\u5BFC\u51FA\u56FE\u5F62\u7ED3\u679C","Run the Document":"\u8FD0\u884C\u5F53\u524D\u6587\u6863","Run the Project...":"\u8FD0\u884C\u6574\u4E2A\u5DE5\u7A0B...","Netlist for Document":"\u751F\u6210\u672C\u6587\u4EF6\u7F51\u7EDC","Netlist for Project":"\u751F\u6210\u672C\u5DE5\u7A0B\u7F51\u7EDC","LTspice for This Sheet...":"LTspice\u683C\u5F0F(\u5F53\u524D\u9875)...","Spice for this Project...":"\u5F53\u524D\u5DE5\u7A0BSpice\u7F51\u8868...","Protel/Altium for PCB...":"Protel/Altium\u683C\u5F0F...","PADS for PCB...":"PADS\u683C\u5F0F...","FreePCB for PCB...":"FreePCB\u683C\u5F0F...","Eagle for PCB...":"Eagle \u683C\u5F0F...F","Kicad for PCB...":"Kicad \u683C\u5F0F...","OrCAD for PCB...":"OrCAD \u683C\u5F0F...","BOM report...":"\u5143\u5668\u4EF6\u6E05\u5355...","BOM for Document...":"\u5F53\u524D\u6587\u6863\u6E05\u5355...","BOM for Project...":"\u5F53\u524D\u5DE5\u7A0B\u6E05\u5355...","Pin Manager...":"\u5F15\u811A\u7BA1\u7406\u5668...","Net Color...":"\u7F51\u7EDC\u989C\u8272...","Design Rule...":"\u8BBE\u8BA1\u89C4\u5219...","Copper Area":"\u94FA\u94DC","Line Width":"\u7EBF\u5BBD","@@pcbAttrMgrAttribute":{Copper:"\u94FA\u94DC","Copper Or Plane":"\u94FA\u94DC\u548C\u5185\u7535\u5C42","Line Width":"\u7F51\u683C\u7EBF\u5BBD",Solid:"\u5168\u586B\u5145"},"Copper Region(Filled)":"\u94FA\u94DC\u533A\u57DF(\u586B\u5145)","Schematic Netlist":"\u539F\u7406\u56FE\u7F51\u8868","PCB Netlist":"PCB\u7F51\u8868","Rebuild Selected":"\u91CD\u5EFA\u9009\u4E2D","Rebuild All":"\u91CD\u5EFA\u6240\u6709","Export Pick and Place File":"\u5BFC\u51FA\u5750\u6807\u6587\u4EF6","Set Canvas Origin by Mouse Location":"\u4FEE\u6539\u539F\u70B9","Set Canvas Origin by Center Grid of Graphics":"\u653E\u7F6E\u539F\u70B9\u5230\u56FE\u5F62\u4E2D\u5FC3\u683C\u70B9","Canvas Origin - by Center Grid of Graphics":"\u753B\u5E03\u539F\u70B9 - \u4ECE\u56FE\u5F62\u4E2D\u5FC3\u683C\u70B9","Canvas Origin - by Center of Pads":"\u753B\u5E03\u539F\u70B9 - \u4ECE\u710A\u76D8\u4E2D\u592E","Set Canvas Origin by Center of Pads":"\u653E\u7F6E\u539F\u70B9\u5230\u710A\u76D8\u4E2D\u592E","Generates Pick and Place File":"\u751F\u6210\u8D34\u7247\u5750\u6807\u6587\u4EF6","Generates BOM File":"\u751F\u6210BOM\u6587\u4EF6","Generates SMT merge File":"\u751F\u6210SMT\u5408\u6587\u4EF6",Generate:"\u81EA\u52A8\u751F\u6210","SMT Tools":"SMT\u5DE5\u5177","Auto Router":"\u81EA\u52A8\u5E03\u7EBF","Terminate Routing Automatically":"\u81EA\u52A8\u7ED3\u675F\u5E03\u7EBF","Delete Segments":"\u5220\u9664\u7EBF\u6BB5","Unroute Connections":"\u6E05\u9664\u8FDE\u63A5",Segments:"\u7EBF\u6BB5",Connection:"\u8FDE\u63A5",Net:"\u7F51\u7EDC","Apply Design Rule While Routing and Placing Via":"\u5E03\u7EBF\u4E0E\u653E\u7F6E\u8FC7\u5B54\u65F6\u5E94\u7528\u8BBE\u8BA1\u89C4\u5219","Add SubPart":"\u6DFB\u52A0\u5B50\u6A21\u5757","Annotate...":"\u6807\u6CE8\u7F16\u53F7...",Config:"\u914D\u7F6E",Help:"\u5E2E\u52A9","Live Q&A":"\u76F4\u64AD\u7B54\u7591",About:"\u5173\u4E8E","@@bottomBar":{"Batch Operation":"\u6279\u91CF\u64CD\u4F5C",Library:"\u5143\u4EF6\u5E93"},Library:"\u5E93","Library...":"\u5E93...","@@newLibrary":{"Library...":"\u5143\u4EF6\u5E93..."},"New Library":"\u65B0\u5EFA\u5143\u4EF6\u5E93",FAQ:"\u5E38\u89C1\u95EE\u9898",Tutorials:"\u6559\u7A0B","Basic Tutorials":"\u57FA\u7840\u6559\u7A0B","Video Tutorials":"\u89C6\u9891\u6559\u7A0B","Essential Check":"\u7279\u522B\u68C0\u67E5","Updated Instructions":"\u66F4\u65B0\u8BF4\u660E","EasyEDA API":"API \u63A5\u53E3","Open File Format":"\u6587\u4EF6\u683C\u5F0F","Open Easyeda Standard file":"\u6253\u5F00easyeda\u6807\u51C6\u7248\u6587\u4EF6","About Upgrade":"\u5173\u4E8E\u5347\u7EA7","Github Repository":"\u6587\u6863\u4ED3\u5E93","User Forum":"\u7528\u6237\u8BBA\u575B","Feature Request":"\u529F\u80FD\u5EFA\u8BAE","Feature Requests":"\u529F\u80FD\u5EFA\u8BAE","Bug Report":"Bug \u62A5\u544A","Bug Reports":"Bug \u62A5\u544A","Tips & Skill":"\u5C0F\u6280\u5DE7","Ask for Help":"\u5BFB\u6C42\u5E2E\u52A9","Schematic Capture":"\u539F\u7406\u56FE","PCB Layout":"PCB\u8BBE\u8BA1","General Discussion":"\u4E00\u822C\u8BA8\u8BBA","More Information":"\u66F4\u591A\u4FE1\u606F","Privacy Policy":"\u9690\u79C1\u653F\u7B56","Terms of Service":"\u670D\u52A1\u6761\u6B3E","Plans and Pricing":"\u4EF7\u683C\u653F\u7B56","Contribute to EasyEDA":"\u4E3AEasyEDA\u8D21\u732E\u4E00\u4EFD\u529B",Acknowledgments:"\u611F\u8C22\u540D\u5355","Help Translate":"\u5E2E\u52A9\u7FFB\u8BD1","About Us":"\u56E2\u961F\u4ECB\u7ECD",Contact:"\u8054\u7CFB","Change History":"\u66F4\u65B0\u65E5\u5FD7","Join Us":"\u8BDA\u8058\u82F1\u624D","PCB Fabrication":"PCB\u5236\u9020","Order Capabilities":"\u5DE5\u827A\u80FD\u529B","Order Price":"\u4EF7\u683C\u8BA1\u7B97","Order Essential Check":"\u7279\u522B\u68C0\u67E5","Order FAQ":"\u5E38\u89C1\u95EE\u9898","Order Process":"\u4E0B\u5355\u6D41\u7A0B","Shortcut Keys":"\u5FEB\u6377\u952E","Full Screen":"\u5168\u5C4F","Project Attribute":"\u5DE5\u7A0B\u5C5E\u6027","Public Project":"\u516C\u5F00\u5DE5\u7A0B","Private Project":"\u79C1\u6709\u5DE5\u7A0B",Support:"\u652F\u6301","Historical Records...":"\u5DE5\u7A0B\u5386\u53F2...","Projects Backup":"\u5DE5\u7A0B\u5907\u4EFD",Extensions:"\u6269\u5C55","Press {0}F11{1} to switch to full screen.":"\u6309{0}F11{1}\u5207\u6362\u5230\u5168\u5C4F\u6A21\u5F0F","Generate Gerber and Drill Files":"\u751F\u6210Gerber\u4E0E\u94BB\u5B54\u6587\u4EF6","Build PCB":"\u751F\u6210PCB","Terms of Service & Privacy Policy":"\u670D\u52A1\u6761\u6B3E\u548C\u9690\u79C1\u653F\u7B56","Help Topics":"\u5E2E\u52A9","SVG Source...":"SVG\u6E90\u7801...","EasyEDA File Source...":"\u5609\u7ACB\u521BEDA\u6587\u4EF6\u6E90\u7801...","Group these items as a SCHLIB/Symbol":"\u7EC4\u5408\u8FD9\u4E9B\u56FE\u5F62\u4E3A\u4E00\u4E2A\u539F\u7406\u56FE\u5E93/\u6807\u8BC6\u7B26","Group These Items As a Package":"\u7EC4\u5408\u8FD9\u4E9B\u56FE\u5F62\u6210\u4E3A\u4E00\u4E2A\u5C01\u88C5","Group Name":"\u5206\u7EC4\u540D\u79F0","Set Canvas Origin":"\u753B\u5E03\u539F\u70B9","Document Setting":"\u56FE\u7EB8\u8BBE\u7F6E","Select Drawing":"\u9009\u62E9\u56FE\u7EB8","Sheet Attributes":"\u8868\u683C\u5C5E\u6027","Set Board Outline":"\u8FB9\u6846\u8BBE\u7F6E","Panelize...":"\u62FC\u677F...","Remove Unused Pad":"\u79FB\u9664\u672A\u4F7F\u7528\u7684\u710A\u76D8","Application Range":"\u5E94\u7528\u8303\u56F4","Valid only for Selected":"\u4EC5\u5BF9\u9009\u4E2D\u751F\u6548","Real-Time Update":"\u5B9E\u65F6\u66F4\u65B0","Unused Pad Operation":"\u672A\u4F7F\u7528\u710A\u76D8\u64CD\u4F5C","Tip: This function is only valid for the signal layer of the inner layer, the pads of the top layer, bottom layer and plane layer will not be removed":"\u63D0\u793A\uFF1A\u8BE5\u529F\u80FD\u4EC5\u5BF9\u5185\u5C42\u7684\u4FE1\u53F7\u5C42\u751F\u6548\uFF0C\u9876\u5C42\u3001\u5E95\u5C42\u548C\u5185\u7535\u5C42\u7684\u710A\u76D8\u4E0D\u4F1A\u79FB\u9664","Pad Coordinate File":"\u710A\u76D8\u5750\u6807\u6587\u4EF6","Tip: Please follow the template below to create a pick and place file and import it":"\u63D0\u793A\uFF1A\u8BF7\u6309\u7167\u4E0B\u65B9\u6A21\u677F\u521B\u5EFA\u5750\u6807\u6587\u4EF6\u5E76\u5BFC\u5165","Download Template":"\u4E0B\u8F7D\u6A21\u677F","The format of the imported CSV file is abnormal, please click the download template button to get the template":"\u5BFC\u5165CSV\u6587\u4EF6\u683C\u5F0F\u5F02\u5E38\uFF0C\u8BF7\u70B9\u51FB\u4E0B\u8F7D\u6A21\u677F\u83B7\u53D6\u6A21\u677F","@@remove_unused_pad":{Restore:"\u6062\u590D"},Horizontal:"\u6C34\u5E73",Vertical:"\u5782\u76F4","Width * Height":"\u5BBDx\u9AD8","Keep width/height ratio":"\u4FDD\u6301\u5BBD\u9AD8\u6BD4","Not keep width/height ratio":"\u4E0D\u4FDD\u6301\u5BBD\u9AD8\u6BD4","Smart Dimension":"\u667A\u80FD\u5C3A\u5BF8","Horizontal Dimension":"\u6C34\u5E73\u5C3A\u5BF8","Vertical Dimension":"\u5782\u76F4\u5C3A\u5BF8",Dimension:"\u5C3A\u5BF8","Dimension Length":"\u957F\u5EA6\u5C3A\u5BF8","Dimension Radius":"\u534A\u5F84\u5C3A\u5BF8","Dimension Angle":"\u89D2\u5EA6\u5C3A\u5BF8",dimensionLength:"\u957F\u5EA6\u5C3A\u5BF8",dimensionAngle:"\u89D2\u5EA6\u5C3A\u5BF8",dimensionRadius:"\u534A\u5F84\u5C3A\u5BF8","Both {0} {a} and {1} {b} are currently locked.Please unlock them first.":"{0} {a}\u3001{1} {b} \u5F53\u524D\u5747\u4E3A\u9501\u5B9A\u72B6\u6001\uFF0C\u8BF7\u5148\u89E3\u9501\u3002","{0} {a} are currently locked.Please unlock first.":"{0} {a} \u5F53\u524D\u4E3A\u9501\u5B9A\u72B6\u6001\uFF0C\u8BF7\u5148\u89E3\u9501\u3002","StartPosition X/Y":"\u8D77\u70B9X/Y","EndPosition X/Y":"\u7EC8\u70B9X/Y","AnglePoint X/Y":"\u89D2\u70B9X/Y",ShortRadius:"\u77ED\u534A\u5F84",LongRadius:"\u957F\u534A\u5F84","Smart Dimension - Smart Dimension":"\u667A\u80FD\u5C3A\u5BF8 - \u667A\u80FD\u5C3A\u5BF8","Smart Dimension - Horizontal Dimension":"\u667A\u80FD\u5C3A\u5BF8 - \u6C34\u5E73\u5C3A\u5BF8","Smart Dimension - Vertical Dimension":"\u667A\u80FD\u5C3A\u5BF8 - \u5782\u76F4\u5C3A\u5BF8","Smart Dimension Attributes":"\u667A\u80FD\u5C3A\u5BF8\u5C5E\u6027","Global Delete":"\u5168\u5C40\u5220\u9664","Placement Transfer":"\u5E03\u5C40\u4F20\u9012","Property Position...":"\u5C5E\u6027\u4F4D\u7F6E...","Property Position":"\u5C5E\u6027\u4F4D\u7F6E","Reset Placement":"\u91CD\u7F6E\u5E03\u5C40","Paper Size":"\u7EB8\u5F20\u5927\u5C0F",Register:"\u6CE8\u518C","User Center":"\u4E2A\u4EBA\u4E2D\u5FC3","Format Painter...":"\u683C\u5F0F\u5237...","By Mouse Location":"\u4ECE\u5149\u6807\u4F4D\u7F6E","Set Coordinate":"\u8BBE\u7F6E\u5750\u6807","By Coordinates...":"\u4ECE\u8F93\u5165\u5750\u6807...","By Center Grid of Symbols":"\u4ECE\u56FE\u5F62\u4E2D\u5FC3\u683C\u70B9",Properties:"\u5C5E\u6027",Attributes:"\u5C5E\u6027",Apply:"\u5E94\u7528","Save as default":"\u5B58\u4E3A\u9ED8\u8BA4\u503C","Canvas Attributes":"\u753B\u5E03\u5C5E\u6027",Width:"\u5BBD",Height:"\u9AD8",Background:"\u80CC\u666F\u8272","Visible Grid":"\u7F51\u683C\u53EF\u89C1","Grid Settings...":"\u7F51\u683C\u8BBE\u7F6E...","Common Grid Size...":"\u5E38\u7528\u7F51\u683C\u5C3A\u5BF8...","Common Grid/Snap Size...":"\u5E38\u7528\u7F51\u683C/\u6805\u683C\u5C3A\u5BF8...","Grid Visible":"\u663E\u793A\u7F51\u683C","Real-Time Track Length":"\u663E\u793A\u5B9E\u65F6\u7EBF\u957F","Display Real-Time Track Length":"\u663E\u793A\u5B9E\u65F6\u7EBF\u957F","Show Grid":"\u663E\u793A\u7F51\u683C","Grid X":"\u7F51\u683CX","Grid Y":"\u7F51\u683CY","Grid/Snap X":"\u7F51\u683C/\u6805\u683CX","Grid/Snap Y":"\u7F51\u683C/\u6805\u683CY","Grid Color":"\u7F51\u683C\u989C\u8272",Grid:"\u7F51\u683C","Grid Size":"\u7F51\u683C\u5C3A\u5BF8","Grid Size(SCH)":"\u7F51\u683C\u5927\u5C0F(\u539F\u7406\u56FE)","Grid Size(SCHLib)":"\u7F51\u683C\u5927\u5C0F(\u7B26\u53F7)","Grid Style":"\u7F51\u683C\u7C7B\u578B","Grid Style Unit":"\u7F51\u683C\u7C7B\u578B\u5355\u4F4D","Grid.Line Width":"\u7F51\u683C\u7EBF\u5BBD","Grid.Line Spacing":"\u7F51\u683C\u95F4\u8DDD","Line Spacing":"\u7F51\u683C\u95F4\u8DDD","Copper to Board Outline":"\u5230\u8FB9\u6846\u95F4\u8DDD","Improve Fabrication":"\u5236\u9020\u4F18\u5316","Spoke Width":"\u53D1\u6563\u7EBF\u5BBD","Stroke Color":"\u63CF\u8FB9\u989C\u8272","Stroke Width":"\u7EBF\u5BBD","Stroke Style":"\u6837\u5F0F","Bold Grid":"\u52A0\u7C97\u7F51\u683C","Bold Grid Type":"\u52A0\u7C97\u7F51\u683C\u7C7B\u578B","Bold Grid Ratio":"\u52A0\u7C97\u7F51\u683C\u500D\u6570","Bold Multiple":"\u52A0\u7C97\u500D\u6570","Selected Objects":"\u9009\u4E2D\u6570\u91CF","Frame Size":"\u5916\u5F62\u5C3A\u5BF8","Alt Snap":"ALT\u952E\u6805\u683C","Snap size when pressing the Alt key":"\u6309\u4E0BALT\u952E\u65F6\u7684\u6805\u683C\u5C3A\u5BF8","Prefix Start":"\u6807\u6CE8\u8D77\u59CB","Previous Page":"\u4E0A\u4E00\u9875","Next Page":"\u4E0B\u4E00\u9875","GoTo Page":"\u8DF3\u8F6C\u56FE\u9875","GoTo Page...":"\u8DF3\u8F6C\u56FE\u9875...","Last page of the schematic":"\u539F\u7406\u56FE\u7684\u6700\u540E\u4E00\u9875","The current page is the first page.":"\u5F53\u524D\u9875\u662F\u7B2C\u4E00\u9875\u3002","Need to create a new page?":"\u9700\u8981\u65B0\u5EFA\u4E00\u4E2A\u56FE\u9875\u5417\uFF1F","The current page is the last page of the schematic, need to create a new page?":"\u5F53\u524D\u662F\u539F\u7406\u56FE\u7684\u6700\u540E\u4E00\u9875\uFF0C\u9700\u8981\u65B0\u5EFA\u4E00\u4E2A\u56FE\u9875\u5417\uFF1F","Jump to target page:":"\u8DF3\u8F6C\u5230\u76EE\u6807\u9875\uFF1A","Current page:":"\u5F53\u524D\u9875\uFF1A","Total pages:":"\u603B\u9875\u6570\uFF1A","Input error":"\u8F93\u5165\u9519\u8BEF","Cannot jump":"\u65E0\u6CD5\u8DF3\u8F6C","Toggle Layer Highlight":"\u56FE\u5C42\u9AD8\u4EAE\u5207\u6362","Text Attributes":"\u6587\u672C\u5C5E\u6027",Text:"\u6587\u672C",Color:"\u989C\u8272",Font:"\u5B57\u4F53","Font Family":"\u5B57\u4F53","Font Size":"\u5B57\u4F53\u5927\u5C0F","Font Color":"\u5B57\u4F53\u989C\u8272","Font Weight":"\u5B57\u4F53\u7C97\u7EC6","Font Style":"\u5B57\u4F53\u6837\u5F0F","Text Type":"\u6587\u672C\u7C7B\u578B","Text Size":"\u5B57\u53F7","Text Anchor":"\u6587\u672C\u951A\u70B9","Font Underline":"\u4E0B\u5212\u7EBF","Font Through":"\u5220\u9664\u7EBF",Baseline:"\u57FA\u51C6\u7EBF","Net Length":"\u7F51\u7EDC\u957F\u5EA6","Net Length Range":"\u7F51\u7EDC\u957F\u5EA6\u8303\u56F4","Net Length Tolerance":"\u7F51\u7EDC\u957F\u5EA6\u516C\u5DEE","Net length tolerance":"\u7F51\u7EDC\u957F\u5EA6\u516C\u5DEE","Target Net":"\u76EE\u6807\u7F51\u7EDC","Add to":"\u589E\u52A0\u5230","Network {addToNet} is shorter than the current equal-length network and cannot be selected.":"\u7F51\u7EDC {addToNet} \u957F\u5EA6\u5C0F\u4E8E\u5F53\u524D\u7B49\u957F\u7F51\u7EDC, \u65E0\u6CD5\u9009\u62E9\u3002","Additional Length":"\u8981\u589E\u52A0\u7684\u957F\u5EA6","Specified Length":"\u6307\u5B9A\u957F\u5EA6","Has Increased":"\u5DF2\u589E\u52A0","(Auto)":"(\u81EA\u52A8)","(auto)":"(\u81EA\u52A8)",start:"\u5934\u90E8",to:"\u5230",middle:"\u4E2D\u95F4",end:"\u5C3E\u90E8",inherit:"\u7EE7\u627F",comment:"\u5907\u6CE8",normal:"\u6B63\u5E38",Italic:"\u659C\u4F53",italic:"\u659C\u4F53",Bold:"\u7C97\u4F53",bold:"\u7C97\u4F53",bolder:"\u66F4\u7C97",auto:"\u81EA\u52A8",lighter:"\u66F4\u7EC6","Failed to parse the font file: {name}":"\u89E3\u6790\u5B57\u4F53\u5931\u8D25: {name}","Please select a font file of ttf or woff format.":"\u8BF7\u9009\u62E9\u4E00\u4E2A\u683C\u5F0F\u4E3A ttf \u6216 woff \u7684\u5B57\u4F53\u6587\u4EF6","Add font success!":"\u5B57\u4F53\u6DFB\u52A0\u6210\u529F!","Failed to add font!":"\u5B57\u4F53\u6DFB\u52A0\u5931\u8D25!","Add Font":"\u6DFB\u52A0\u5B57\u4F53","Failed to parse cached font: {name}":"\u52A0\u8F7D\u7F13\u5B58\u5B57\u4F53\u5931\u8D25: {name}","Load cached fonts fail!":"\u52A0\u8F7D\u7F13\u5B58\u5B57\u4F53\u5931\u8D25","Font not exist!":"\u5B57\u4F53\u4E0D\u5B58\u5728","Line Style":"\u7EBF\u578B",linear:"\u7EBF\u578B",Underline:"\u4E0B\u5212\u7EBF",'The property name can not contain character " $ " and character " . " and garbage characters.':"\u5C5E\u6027\u540D\u79F0\u4E0D\u80FD\u5305\u542B\u7F8E\u5143\u7B26\u201C $ \u201D\u548C\u82F1\u6587\u70B9\u201C . \u201D\u548C\u4E71\u7801\u5B57\u7B26\u3002","Fill Color":"\u586B\u5145\u989C\u8272",Fill:"\u586B\u5145","X Radius":"X \u534A\u5F84","Y Radius":"Y \u534A\u5F84","Color/Fill Color":"\u989C\u8272/\u586B\u5145\u989C\u8272","Color/Stroke Color":"\u989C\u8272/\u63CF\u8FB9\u989C\u8272","Color exchange":"\u989C\u8272\u4E92\u6362","Switch mode":"\u5207\u6362\u6A21\u5F0F","Switching mode need to close the opened document(s), all close down?":"\u5207\u6362\u6A21\u5F0F\u9700\u8981\u5148\u5173\u95ED\u5DF2\u6253\u5F00\u7684\u6587\u6863\uFF0C\u662F\u5426\u5168\u90E8\u5173\u95ED\uFF1F",'Please change the editor to "Simulation" mode first at the top left corner.':"\u8BF7\u5148\u70B9\u51FB\u5DE6\u4E0A\u89D2\u5207\u6362\u7F16\u8F91\u5668\u81F3\u201C\u4EFF\u771F\u201D\u6A21\u5F0F",'Please change the editor to "Standard" mode first at the top left corner.':"\u8BF7\u5148\u70B9\u51FB\u7F16\u8F91\u5668\u5DE6\u4E0A\u89D2\u5207\u6362\u81F3\u201C\u6807\u51C6\u201D\u6A21\u5F0F",Common:"\u5E38\u7528","spice.open":"\u65AD\u5F00","spice.close":"\u95ED\u5408",Sources:"\u7535\u6E90",Instrument:"\u4EEA\u5668",Transistors:"\u6676\u4F53\u7BA1","Digital Circuits":"\u6570\u5B57\u7535\u8DEF","Operational Amplifier":"\u8FD0\u7B97\u653E\u5927\u5668",multimeter:"\u4E07\u7528\u8868","multimeter Settings":"\u4E07\u7528\u8868\u8BBE\u7F6E","FunctionGenerator Settings":"\u51FD\u6570\u53D1\u751F\u5668\u8BBE\u7F6E","Voltage Source Settings":"\u7535\u538B\u6E90\u8BBE\u7F6E","Current Source Settings":"\u7535\u6D41\u6E90\u8BBE\u7F6E","Powersw Settings":"\u7535\u6D41\u5F00\u5173\u8BBE\u7F6E","Resistor Settings":"\u7535\u963B\u8BBE\u7F6E","Capacitor Settings":"\u7535\u5BB9\u8BBE\u7F6E","Diode Settings":"\u4E8C\u6781\u7BA1\u8BBE\u7F6E","voltPowersw Settings":"\u7535\u538B\u63A7\u5236\u5F00\u5173\u8BBE\u7F6E","Inductor Settings":"\u7535\u611F\u8BBE\u7F6E","VCVS Settings":"\u7535\u538B\u63A7\u5236\u7535\u538B\u6E90\u8BBE\u7F6E","CCCS Settings":"\u7535\u6D41\u63A7\u5236\u7535\u6D41\u6E90\u8BBE\u7F6E","VCCS Settings":"\u7535\u538B\u63A7\u5236\u7535\u6D41\u6E90\u8BBE\u7F6E","CCVS Settings":"\u7535\u6D41\u63A7\u5236\u7535\u538B\u6E90\u8BBE\u7F6E","JFET Settings":"\u7ED3\u5F62\u573A\u6548\u5E94\u7BA1\u8BBE\u7F6E","FET Settings":"\u573A\u6548\u5E94\u7BA1\u8BBE\u7F6E","Transmission Line Settings":"\u4F20\u8F93\u7EBF\u8BBE\u7F6E","Oscilloscope Settings":"\u793A\u6CE2\u5668\u8BBE\u7F6E","XFMR Settings":"\u53D8\u538B\u5668\u8BBE\u7F6E","LOGIC Settings":"\u903B\u8F91\u5668\u4EF6\u8BBE\u7F6E","LOGICSTATE Settings":"\u903B\u8F91\u95E8\u8BBE\u7F6E","DIGITALCLOCK Settings":"\u6570\u5B57\u949F\u8BBE\u7F6E","Potentiometer Settings":"\u6ED1\u52A8\u53D8\u963B\u5668\u8BBE\u7F6E","MUTUAL_INDUCTORS Settings":"\u53D8\u538B\u5668\u8BBE\u7F6E","NE555 Settings":"NE555 \u8BBE\u7F6E","THREE_PHASE Settings":"\u4E09\u76F8\u4EA4\u6D41\u7535\u6E90\u8BBE\u7F6E","Logic_Probe Settings":"\u903B\u8F91\u63A2\u9488\u8BBE\u7F6E","78XX Settings":"78XX \u8BBE\u7F6E","79XX Settings":"79XX \u8BBE\u7F6E","OPAMP5PEE Settings":"5\u7AEF\u653E\u5927\u8FD0\u7B97\u5668\u8BBE\u7F6E","OPAMP5PEECN Settings":"5\u7AEF\u653E\u5927\u8FD0\u7B97\u5668\u8BBE\u7F6E","OPAMP3PEE Settings":"3\u7AEF\u653E\u5927\u8FD0\u7B97\u5668\u8BBE\u7F6E","OPAMP3PEECN Settings":"3\u7AEF\u653E\u5927\u8FD0\u7B97\u5668\u8BBE\u7F6E","DELAY_FUSE Settings":"\u5EF6\u65F6\u4FDD\u9669\u4E1D\u8BBE\u7F6E",Ratio:"\u6BD4\u4F8B","K[%]":"\u6BD4\u4F8B\u56E0\u5B50[%]",Model:"\u6A21\u578B",States:"\u7535\u5E73","Voltage[V]":"\u7535\u538B[V]","Voltage gain[V/V]":"\u7535\u538B\u589E\u76CA[V/V]","Current gain[A/A]":"\u7535\u6D41\u589E\u76CA[A/A]","Transconductance[Mho]":"\u8DE8\u5BFC[Mho]","Transresistance[\u03A9]":"\u4E92\u963B[\u03A9]","Voltage Source Type":"\u7535\u538B\u6E90\u7C7B\u578B","Current Source Type":"\u7535\u6D41\u6E90\u7C7B\u578B","multimeter type":"\u4E07\u7528\u8868\u7C7B\u578B",LiveValue:"\u5B9E\u65F6\u503C","power type":"\u7535\u6E90\u7C7B\u578B","Voltmeter Resistance(R)(\u03A9)":"\u4F0F\u7279\u8BA1\u7535\u963B(R)(\u03A9)","Amperometer Resistance(R)(\u03A9)":"\u5B89\u57F9\u8BA1\u7535\u963B(R)(\u03A9)","mu.V":"\u4F0F\u7279\u8BA1","mu.A":"\u5B89\u57F9\u8BA1","Sine Wave":"\u6B63\u5F26\u6CE2","Triangular Wave":"\u4E09\u89D2\u6CE2","Rectangular Wave":"\u77E9\u5F62\u6CE2",AC:"\u4EA4\u6D41",DC:"\u76F4\u6D41\u6E90",SINE:"\u6B63\u5F26\u6E90",PULSE:"\u8109\u51B2\u6E90",EXP:"\u6307\u6570\u6E90",SFFM:"\u5355\u9891\u8C03\u9891\u6E90",PWL:"\u5206\u6BB5\u7EBF\u6027\u6E90","B.spice":"\u884C\u4E3A\u6E90","DC Value[V]":"\u76F4\u6D41\u503C[V]","DC Value[A]":"\u76F4\u6D41\u503C[A]","DC offset[V]":"\u76F4\u6D41\u504F\u79FB[V]","DC offset[A]":"\u76F4\u6D41\u504F\u79FB[A]","Amplitude[V]":"\u632F\u5E45[V]","Amplitude[A]":"\u632F\u5E45[A]","Freq[Hz]":"\u9891\u7387[Hz]","Theta[1/s]":"\u963B\u5C3C\u56E0\u5B50[1/s]","Tdelay[s]":"\u5EF6\u65F6[s]","Phi[deg]":"\u76F8\u4F4D[deg]","Tperiod[s]":"\u8109\u51B2\u5468\u671F[s]","Ton[s]":"\u8109\u51B2\u5BBD\u5EA6[s]","Tfall[s]":"\u4E0B\u964D\u65F6\u95F4[s]","Trise[s]":"\u4E0A\u5347\u65F6\u95F4[s]","Von[V]":"\u8109\u52A8\u503C[V]","Von[A]":"\u8109\u52A8\u503C[A]","Vinitial[V]":"\u521D\u59CB\u503C[V]","Vinitial[A]":"\u521D\u59CB\u503C[A]","Vpulsed[V]":"\u5CF0\u503C[V]","Vpulsed[A]":"\u5CF0\u503C[A]","Rise Delay[s]":"\u4E0A\u5347\u5EF6\u8FDF[s]","Rise Tau[s]":"\u4E0A\u5347\u65F6\u95F4\u5E38\u6570[s]","Fall Delay[s]":"\u4E0B\u964D\u5EF6\u8FDF[s]","Fall Tau[s]":"\u4E0B\u964D\u65F6\u95F4\u5E38\u6570[s]","Carrier Freq[Hz]":"\u8F7D\u6CE2\u9891\u7387[Hz]","Modulation Index":"\u8C03\u5236\u6307\u6570","Signal Freq[Hz]":"\u4FE1\u53F7\u9891\u7387[Hz]","Time[s]":"\u65F6\u95F4[s]","Value[V]":"\u503C[V]","Value[A]":"\u503C[A]",Waveforms:"\u6CE2\u5F62","Duty cycle[%]":"\u5360\u7A7A\u6BD4[%]","Amplitude[Vp]":"\u632F\u5E45[Vp]","Offset[V]":"\u504F\u7F6E[V]","Rise/Fall Time[sec]":"\u4E0A\u5347/\u4E0B\u964D\u65F6\u95F4[sec]","Capacitance[F]":"\u5BB9\u503C[F]",sComponent:"\u6A21\u578B","Inductance[H]":"\u7535\u611F[H]",Gbw:"\u589E\u76CA\u5E26\u5BBD\u79EF",Slewrate:"\u6446\u7387",Avol:"\u5F00\u73AF\u589E\u76CA","Rout(\u03A9)":"\u8F93\u51FA\u7535\u963B","Rin(\u03A9)":"\u8F93\u5165\u7535\u963B","Ibias[A]":"\u8F93\u5165\u504F\u7F6E\u7535\u6D41[A]","Inhi[V]":"\u5171\u6A21\u8F93\u5165\u7535\u538B(Vp)","Inlo[V]":"\u5171\u6A21\u8F93\u5165\u7535\u538B(Vn)","Isc[A]":"\u77ED\u8DEF\u8F93\u51FA\u7535\u6D41[A]","Outhi[V]":"\u7A7A\u8F7D\u8F93\u51FA\u7535\u538B\u5DEE(Vp)","Outlo[V]":"\u7A7A\u8F7D\u8F93\u51FA\u7535\u538B\u5DEE(Vn)","Vabsmax[V]":"\u7535\u538B\u6700\u5927\u538B\u5DEE[V]","Vmin[V]":"\u6700\u5C0F\u4F9B\u7535\u7535\u538B[V]","Iq[A]":"\u9759\u6001\u7535\u6D41[A]","Cin[F]":"\u8F93\u5165\u7535\u5BB9[F]",high:"\u9AD8",low:"\u4F4E",Less:"\u4F4E",Oscilloscope:"\u793A\u6CE2\u5668","Logic Analyzer":"\u903B\u8F91\u5206\u6790\u4EEA",Channel_A:"\u901A\u9053_A",Channel_B:"\u901A\u9053_B","Channel A":"\u901A\u9053 A","Channel B":"\u901A\u9053 B",Time:"\u65F6\u95F4",Reverse:"\u4F4E\u6709\u6548",Timebase:"\u65F6\u57FA","Scale:":"\u523B\u5EA6\uFF1A","X pos.(Div):":"X \u8F74\u4F4D\u79FB(\u683C)\uFF1A","Y pos.(Div):":"Y \u8F74\u4F4D\u79FB(\u683C)\uFF1A","View meter...":"\u67E5\u770B\u4EEA\u8868...",Resistor1_US:"\u7535\u963B\u56681_\u7F8E\u6807","Resistor1_EU/IEC":"\u7535\u963B\u56681_\u6B27\u6807",Resistor1_3D:"\u7535\u963B\u56681_3D",Capacitor1_US:"\u7535\u5BB9\u5668_\u7F8E\u6807","Capacitor1_EU/IEC":"\u7535\u5BB9\u5668_\u6B27\u6807",Capacitor1_3D:"\u7535\u5BB9\u5668_3D",Rheostat_US:"\u53D8\u963B\u5668_\u7F8E\u6807","Rheostat_EU/IEC":"\u53D8\u963B\u5668_\u6B27\u6807",Rheostat_3D:"\u53D8\u963B\u5668_3D",Capacitor_Electrolytic_US:"\u7535\u89E3\u7535\u5BB9\u5668_\u7F8E\u6807","Capacitor_Electrolytic_EU/IEC":"\u7535\u89E3\u7535\u5BB9\u5668_\u6B27\u6807",Capacitor_Electrolytic_3D:"\u7535\u89E3\u7535\u5BB9\u5668_3D",Inductor_US:"\u7535\u611F\u5668_\u7F8E\u6807","Inductor_EU/IEC":"\u7535\u611F\u5668_\u6B27\u6807",Inductor_3D:"\u7535\u611F\u5668_3D",Resistor2_US:"\u7535\u963B\u56682_\u7F8E\u6807","Resistor2_EU/IEC":"\u7535\u963B\u56682_\u6B27\u6807",Resistor2_3D:"\u7535\u963B\u56682_3D",Multimeter:"\u4E07\u7528\u8868",Multimeter_3D:"\u4E07\u7528\u8868_3D",Oscilloscope_3D:"\u793A\u6CE2\u5668_3D",Signal_Generator:"\u51FD\u6570\u53D1\u751F\u5668","Signal Generator_3D":"\u51FD\u6570\u53D1\u751F\u5668_3D",Wattmeter:"\u74E6\u7279\u8BA1",Wattmeter_3D:"\u74E6\u7279\u8BA1_3D",NSSWS1080T_3D:"\u53D1\u5149\u4E8C\u6781\u7BA1_3D",Voltage_Source_VDC:"\u7535\u538B\u6E90_\u76F4\u6D41\u6E90(DC)",Voltage_Source_VSin:"\u7535\u538B\u6E90_\u6B63\u5F26\u6E90(SINE)",Voltage_Source_VPULSE:"\u7535\u538B\u6E90_\u8109\u51B2\u6E90(PULSE)",Voltage_Source_VEXP:"\u7535\u538B\u6E90_\u6307\u6570\u6E90(EXP)",Voltage_Source_VSFFM:"\u7535\u538B\u6E90_\u5355\u9891\u8C03\u9891\u6E90(SFFM)",Voltage_Source_VPWL:"\u7535\u538B\u6E90_\u5206\u6BB5\u7EBF\u6027\u6E90(PWL)",Voltage_Source_V_Behavioral_Source:"\u7535\u538B\u6E90_\u884C\u4E3A\u6E90(B)",Current_Source_IDC:"\u7535\u6D41\u6E90_\u76F4\u6D41\u6E90(DC)",Current_Source_ISin:"\u7535\u6D41\u6E90_\u6B63\u5F26\u6E90(SINE)",Current_Source_IPULSE:"\u7535\u6D41\u6E90_\u8109\u51B2\u6E90(PULSE)",Current_Source_IEXP:"\u7535\u6D41\u6E90_\u6307\u6570\u6E90(EXP)",Current_Source_ISFFM:"\u7535\u6D41\u6E90_\u5355\u9891\u8C03\u9891\u6E90(SFFM)",Current_Source_IPWL:"\u7535\u6D41\u6E90_\u5206\u6BB5\u7EBF\u6027\u6E90(PWL)",Current_Source_I_Behavioral_Source:"\u7535\u6D41\u6E90_\u884C\u4E3A\u6E90(B)",CCCS_1:"\u7535\u6D41\u63A7\u5236\u7535\u6D41\u6E90_1",CCCS_2:"\u7535\u6D41\u63A7\u5236\u7535\u6D41\u6E90_2",CCVS_1:"\u7535\u6D41\u63A7\u5236\u7535\u538B\u6E90_1",CCVS_2:"\u7535\u6D41\u63A7\u5236\u7535\u538B\u6E90_2",VCCS:"\u7535\u538B\u63A7\u5236\u7535\u6D41\u6E90",VCVS:"\u7535\u538B\u63A7\u5236\u7535\u538B\u6E90",Three_Phase_Wye_Load:"\u4E09\u76F8\u7535\u6E90Y\u578B",Three_Phase_Delta_Load:"\u4E09\u76F8\u7535\u6E90\u4E09\u89D2\u578B","78XX":"78\u7CFB\u5217\u7A33\u538B\u5668","79XX":"79\u7CFB\u5217\u7A33\u538B\u5668","@@professional-vocabulary":{555:"555\u5B9A\u65F6\u5668","555_3D":"555\u5B9A\u65F6\u5668_3D","555(Style2)":"555\u5B9A\u65F6\u5668(Style2)"},Transformer_US:"\u53D8\u538B\u5668_\u7F8E\u6807","Transformer_EU/IEC":"\u53D8\u538B\u5668_\u6B27\u6807",Transformer_Center_Tapped_US:"\u4E2D\u5FC3\u62BD\u5934\u53D8\u538B\u5668_\u7F8E\u6807","Transformer_Center_Tapped_EU/IEC":"\u4E2D\u5FC3\u62BD\u5934\u53D8\u538B\u5668_\u6B27\u6807",Mutual_Inductor_US:"\u4E92\u611F\u56681_\u7F8E\u6807","Mutual_Inductor_EU/IEC":"\u4E92\u611F\u56681_\u6B27\u6807",Mutual_Inductor2_US:"\u4E92\u611F\u56682_\u7F8E\u6807","Mutual_Inductor2_EU/IEC":"\u4E92\u611F\u56682_\u6B27\u6807",OR2EE_US:"2\u8F93\u5165\u6216\u95E8_\u7F8E\u6807",OR3EE_US:"3\u8F93\u5165\u6216\u95E8_\u7F8E\u6807",OR4EE_US:"4\u8F93\u5165\u6216\u95E8_\u7F8E\u6807",OR2EE_CN:"2\u8F93\u5165\u6216\u95E8_\u56FD\u6807",OR3EE_CN:"3\u8F93\u5165\u6216\u95E8_\u56FD\u6807",OR4EE_CN:"4\u8F93\u5165\u6216\u95E8_\u56FD\u6807",NOR2EE_US:"2\u8F93\u5165\u6216\u975E\u95E8_\u7F8E\u6807",NOR3EE_US:"3\u8F93\u5165\u6216\u975E\u95E8_\u7F8E\u6807",NOR4EE_US:"4\u8F93\u5165\u6216\u975E\u95E8_\u7F8E\u6807",NOR2EE_CN:"2\u8F93\u5165\u6216\u975E\u95E8_\u56FD\u6807",NOR3EE_CN:"3\u8F93\u5165\u6216\u975E\u95E8_\u56FD\u6807",NOR4EE_CN:"4\u8F93\u5165\u6216\u975E\u95E8_\u56FD\u6807",AND2EE_US:"2\u8F93\u5165\u4E0E\u95E8_\u7F8E\u6807",AND3EE_US:"3\u8F93\u5165\u4E0E\u95E8_\u7F8E\u6807",AND4EE_US:"4\u8F93\u5165\u4E0E\u95E8_\u7F8E\u6807",AND2EE_CN:"2\u8F93\u5165\u4E0E\u95E8_\u56FD\u6807",AND3EE_CN:"3\u8F93\u5165\u4E0E\u95E8_\u56FD\u6807",AND4EE_CN:"4\u8F93\u5165\u4E0E\u95E8_\u56FD\u6807",NAND2EE_US:"2\u8F93\u5165\u4E0E\u975E\u95E8_\u7F8E\u6807",NAND3EE_US:"3\u8F93\u5165\u4E0E\u975E\u95E8_\u7F8E\u6807",NAND4EE_US:"4\u8F93\u5165\u4E0E\u975E\u95E8_\u7F8E\u6807",NAND2EE_CN:"2\u8F93\u5165\u4E0E\u975E\u95E8_\u56FD\u6807",NAND3EE_CN:"3\u8F93\u5165\u4E0E\u975E\u95E8_\u56FD\u6807",NAND4EE_CN:"4\u8F93\u5165\u4E0E\u975E\u95E8_\u56FD\u6807",XOR2EE_US:"\u5F02\u6216\u95E8_\u7F8E\u6807",XOR2EE_CN:"\u5F02\u6216\u95E8_\u56FD\u6807",XNOR2EE_US:"\u540C\u6216\u95E8_\u7F8E\u6807",XNOR2EE_CN:"\u540C\u6216\u95E8_\u56FD\u6807",Digital_Clock_1Hz:"\u6570\u5B57\u949F",Logicstate_0:"\u903B\u8F91\u72B6\u6001_0",Logicstate_1:"\u903B\u8F91\u72B6\u6001_1",Logic_Probe:"\u903B\u8F91\u63A2\u9488",Buffee:"\u9A71\u52A8\u95E8",INVEE_US:"\u53D6\u53CD\u6307\u4EE4_\u7F8E\u6807",INVEE_CN:"\u53D6\u53CD\u6307\u4EE4_\u56FD\u6807",Schmittbuffee:"\u65BD\u5BC6\u7279\u9A71\u52A8\u95E8",LM358N_US:"LM358N_\u7F8E\u6807",LM358N_CN:"LM358N_\u56FD\u6807",OPAMP3PEE_US:"3\u7AEF\u8FD0\u7B97\u653E\u5927\u5668_\u7F8E\u6807",OPAMP3PEE_CN:"3\u7AEF\u5165\u8FD0\u7B97\u653E\u5927\u5668_\u56FD\u6807",OPAMP5PEE_US:"5\u7AEF\u5165\u8FD0\u7B97\u653E\u5927\u5668_\u7F8E\u6807",OPAMP5PEE_CN:"5\u7AEF\u5165\u8FD0\u7B97\u653E\u5927\u5668_\u56FD\u6807",Voltage_Controlled_Switch:"\u7535\u538B\u63A7\u5236\u5F00\u5173",Current_Controlled_Switch:"\u7535\u6D41\u63A7\u5236\u5F00\u5173",FUSE:"\u7194\u65AD\u5668",Delay_Fuse:"\u5EF6\u65F6\u7194\u65AD\u5668",Transmission_Line:"\u4F20\u8F93\u7EBF",Crystal:"\u6676\u4F53",DFFEE:"D\u89E6\u53D1\u5668",TFFEE:"T\u89E6\u53D1\u5668",JKFFEE:"JK\u89E6\u53D1\u5668",SRFFEE:"SR\u89E6\u53D1\u5668",SRLATCHEE:"SR\u9501\u5B58\u5668",SRNANDFFEE:"\u4E0E\u975E\u578B\u57FA\u672CSR\u89E6\u53D1\u5668",SRNORFFEE:"\u6216\u975E\u578B\u57FA\u672CSR\u89E6\u53D1\u5668",INVTSEE:"\u65BD\u5BC6\u7279\u53CD\u76F8\u5668",INVODEE:"\u96C6\u7535\u6781\u5F00\u8DEF\u53CD\u76F8\u5668",Cbuffer:"\u7F13\u51B2\u5668",SPDT_Open:"\u5355\u5200\u53CC\u63B7(\u65AD\u5F00)",SPDT_Close:"\u5355\u5200\u53CC\u63B7(\u95ED\u5408)",SPST_Close:"\u5355\u5200\u5355\u63B7(\u95ED\u5408)",SPST_Open:"\u5355\u5200\u5355\u63B7(\u65AD\u5F00)",Fast_Crystal:"\u5FEB\u901F\u6676\u632F",Lamp:"\u706F\u6CE1",BCD_Segment:"\u6570\u7801\u7BA1",Seven_Segment:"\u4E03\u6BB5\u6570\u7801\u7BA1",Traffic_Light:"\u4EA4\u901A\u706F","Lamp Settings":"\u706F\u6CE1\u8BBE\u7F6E","Power[W]":"\u529F\u7387[W]","Dropout Voltage[V]":"\u538B\u5DEE[V]","Current[A]":"\u7535\u6D41[A]","Threshold[V]":"\u9608\u503C\u7535\u538B[V]","Clock Rate":"\u65F6\u949F\u9891\u7387","TrafficLight Settings":"\u4EA4\u901A\u706F\u8BBE\u7F6E","BCDSegment Settings":"\u6570\u7801\u7BA1\u8BBE\u7F6E","SevenSegment Settings":"\u4E03\u6BB5\u6570\u7801\u7BA1\u8BBE\u7F6E","SPDT Settings":"\u5355\u5200\u53CC\u63B7\u5F00\u5173\u8BBE\u7F6E","SPST Settings":"\u5355\u5200\u5355\u63B7\u5F00\u5173\u8BBE\u7F6E","LogicAnalyzer Settings":"\u903B\u8F91\u5206\u6790\u4EEA\u8BBE\u7F6E","Fuse Settings":"\u7194\u65AD\u5668\u8BBE\u7F6E","Wattmeter Settings":"\u74E6\u7279\u8BA1\u8BBE\u7F6E",open:"\u6253\u5F00","Open...":"\u6253\u5F00\u5DE5\u7A0B...",close:"\u5173\u95ED","Common Anode":"\u5171\u9633","Common Cathode":"\u5171\u9634","Project {name} missing branch information!":"\u5DE5\u7A0B{name}\u7F3A\u5C11\u5206\u652F\u4FE1\u606F!","Pin Attributes":"\u5F15\u811A\u5C5E\u6027",Orientation:"\u65B9\u5411","0 degrees":"0\xB0","45 degrees":"45\xB0","90 degrees":"90\xB0","180 degrees":"180\xB0","270 degrees":"270\xB0","Free Angle":"\u81EA\u7531\u89D2\u5EA6","Line Free Angle":"\u7EBF\u6761\u81EA\u7531\u89D2\u5EA6","Arc Free Angle":"\u5706\u5F27\u81EA\u7531\u89D2\u5EA6","Start X":"\u8D77\u70B9X","Start Y":"\u8D77\u70B9Y",Length:"\u957F\u5EA6",Name:"\u540D\u79F0",name:"\u540D\u79F0",Number:"\u7F16\u53F7","Pin Order":"\u5F15\u811A\u65B9\u5411","Spice Pin Order":"spice\u7BA1\u811A\u7F16\u53F7","Name Display":"\u663E\u793A\u540D\u5B57","Number Display":"\u663E\u793A\u7F16\u53F7",Clock:"\u65F6\u949F",Show:"\u663E\u793A",Electric:"\u7535\u6C14\u7279\u6027","Pin Type":"\u5F15\u811A\u7C7B\u578B",Side:"\u65B9\u5411","Junction Attributes":"\u8282\u70B9\u5C5E\u6027","X Location":"X\u5750\u6807","Y Location":"Y\u5750\u6807",Size:"\u5927\u5C0F","Net Label":"\u7F51\u7EDC\u6807\u7B7E",Part:"\u90E8\u4EF6","Part Attributes":"\u5143\u4EF6\u5C5E\u6027","Base Attributes":"\u57FA\u7840\u5C5E\u6027","Key Attributes":"\u5173\u952E\u5C5E\u6027","Drawing Attributes":"\u56FE\u7EB8\u5C5E\u6027","More Attributes":"\u66F4\u591A\u5C5E\u6027","Drawing Properties":"\u56FE\u7EB8\u5C5E\u6027","Add Image":"\u6DFB\u52A0\u56FE\u7247","Image Attributes":"\u56FE\u7247\u5C5E\u6027","Image URL":"\u56FE\u7247\u7F51\u5740","Input an image URL":"\u8BF7\u8F93\u5165\u56FE\u7247\u7F51\u5740","Please enter a description of the panel":"\u8BF7\u8F93\u5165\u9762\u677F\u63CF\u8FF0\u4FE1\u606F","Invalid image URL":"\u65E0\u6548\u7684\u56FE\u7247\u7F51\u5740","Invalid Prefix":"\u65E0\u6548\u7684\u7F16\u53F7","Failed to load the image":"\u56FE\u7247\u52A0\u8F7D\u5931\u8D25","Failed to get owneruuid!":"owneruuid\u83B7\u53D6\u5931\u8D25!","Image URL contains special characters":"\u56FE\u7247\u7F51\u5740\u5305\u542B\u7279\u6B8A\u5B57\u7B26","From Web URL":"\u56FE\u7247\u7F51\u5740","From Local Computer":"\u4ECE\u672C\u5730\u8BA1\u7B97\u673A","Please select a png/gif/jpg file.":"\u8BF7\u9009\u62E9\u4E00\u4E2Apng/gif/jpg\u6587\u4EF6","Please select png, gif, jpeg, jpg, svg files.":"\u8BF7\u9009\u62E9\u4E00\u4E2Apng, gif, jpeg, jpg, svg\u6587\u4EF6","Please select an image file.":"\u8BF7\u9009\u62E9\u4E00\u4E2A\u56FE\u7247\u6587\u4EF6","Please select an plain text file.":"\u8BF7\u9009\u62E9\u4E00\u4E2A\u7EAF\u6587\u672C\u6587\u4EF6","Please select a SVG file.":"\u8BF7\u9009\u62E9\u4E00\u4E2ASVG\u6587\u4EF6","Please Select Search Objects!":"\u8BF7\u52FE\u9009\u67E5\u627E\u5BF9\u8C61\uFF01","Select an image file":"\u9009\u62E9\u4E00\u4E2A\u56FE\u7247\u6587\u4EF6","Insert Image to PCB":"\u63D2\u5165\u56FE\u7247\u5230PCB",Tolerance:"\u5BB9\u5DEE",tolerance:"\u5BB9\u5DEE",capacitance:"\u5BB9\u91CF",frequency:"\u9891\u7387","Rated Voltage":"\u989D\u5B9A\u7535\u538B","Rated Current":"\u989D\u5B9A\u7535\u6D41",resistance:"\u963B\u503C",Resistance:"\u7535\u963B","Resistance[\u03A9]":"\u963B\u503C[\u03A9]",inductance:"\u7535\u611F\u7CFB\u6570","Operating Temperature":"\u64CD\u4F5C\u6E29\u5EA6","Shape Invert":"\u56FE\u5F62\u53CD\u8F6C","Image Size":"\u56FE\u7247\u5C3A\u5BF8","Color Tolerance":"\u989C\u8272\u5BB9\u5DEE","Simplify Level":"\u7B80\u5316\u6C34\u5E73","Simplify Setting":"\u7CBE\u7B80\u8BBE\u7F6E",Simplify:"\u7B80\u5316",Smoothness:"\u5E73\u6ED1",Despeckle:"\u53BB\u6591",Antiphase:"\u53CD\u76F8","White As Background Color":"\u767D\u8272\u4F5C\u4E3A\u80CC\u666F\u8272",imageWidth:"\u56FE\u50CF\u5BBD\u5EA6",imageHeight:"\u56FE\u50CF\u9AD8\u5EA6","Corner Threshold":"\u5E73\u6ED1\u5C16\u89D2",Rotation:"\u65CB\u8F6C\u89D2\u5EA6",Units:"\u5355\u4F4D",Layered:"\u5206\u5C42","Snap Size":"\u6805\u683C\u5C3A\u5BF8","Default Grid Size":"\u9ED8\u8BA4\u7F51\u683C\u5C3A\u5BF8","Snap Type":"\u6805\u683C\u7C7B\u578B",Other:"\u5176\u4ED6","@@router":{"Routing Width":"\u5E03\u7EBF\u5BBD\u5EA6"},"Please using hotkey {0}{shiftw}{1} or {2}{tab}{3} to change track width while on routing.":"\u5728\u5E03\u7EBF\u8FC7\u7A0B\u4E2D\uFF0C\u8BF7\u4F7F\u7528\u5FEB\u6377\u952E {0}{shiftw}{1} \u6216\u8005 {2}{tab}{3} \u4FEE\u6539\u7EBF\u5BBD\u3002","Routing Angle":"\u62D0\u89D2","Routing Conflict":"\u5E03\u7EBF\u51B2\u7A81","Remove Loop":"\u79FB\u9664\u56DE\u8DEF","Cut SilkScreen":"\u88C1\u526A\u4E1D\u5370","Auto Trim Silkscreen":"\u81EA\u52A8\u88C1\u526A\u4E1D\u5370","Grid Dot":"\u7F51\u70B9","Copper Zone":"\u94FA\u94DC",Visible:"\u53EF\u89C1",Invisible:"\u4E0D\u53EF\u89C1",Ignore:"\u5FFD\u7565",Around:"\u73AF\u7ED5",Push:"\u63A8\u6324","Around & Push":"\u73AF\u7ED5\u5E76\u63A8\u6324","Next segment":"\u4E0B\u4E00\u6BB5","Track Properties":"\u5BFC\u7EBF\u5C5E\u6027",Layer:"\u56FE\u5C42","End X":"\u7EC8\u70B9X","End Y":"\u7EC8\u70B9Y","The charaters of name doesn't macth rules as below:":"\u540D\u79F0\u5B57\u7B26\u4E0D\u7B26\u5408\u4EE5\u4E0B\u89C4\u5219\uFF1A","1. Can not contain charaters as":"1.\u4E0D\u80FD\u5305\u542B\u5B57\u7B26","2. Can not be . or ..":"2.\u4E0D\u80FD\u662F . \u6216\u8005 ..","Pin information cannot contain special characters:":"\u5F15\u811A\u4FE1\u606F\u4E2D\u4E0D\u80FD\u5305\u542B\u5B57\u7B26\uFF1A","Pad Properties":"\u710A\u76D8\u5C5E\u6027",Shape:"\u5F62\u72B6","Hole(D)":"\u5B54\u76F4\u5F84",Round:"\u5706\u5F62",Oval:"\u957F\u5706\u5F62","Hole Shape":"\u5B54\u5F62\u72B6","Hole(Length)":"\u5B54\u957F\u5EA6",Plated:"\u91D1\u5C5E\u5316",None:"\u65E0","Paste Mask Expansion":"\u52A9\u710A\u6269\u5C55","Solder Mask Expansion":"\u963B\u710A\u6269\u5C55","Arc Type":"\u5706\u5F27\u7C7B\u578B","Arc Angle":"\u5706\u5F27\u89D2\u5EA6","Arc Rotation":"\u5706\u5F27\u89D2\u5EA6","Start Arc Angle":"\u8D77\u59CB\u89D2\u5EA6","End Arc Angle":"\u7ED3\u675F\u89D2\u5EA6","Start Arc Rotation":"\u8D77\u59CB\u89D2\u5EA6","End Arc Rotation":"\u7ED3\u675F\u89D2\u5EA6","CircleCenter X/Y":"\u5706\u5FC3X/Y","Via Properties":"\u8FC7\u5B54\u5C5E\u6027",Diameter:"\u76F4\u5F84","Drill Diameter":"\u8FC7\u5B54\u5185\u5F84","Hole Properties":"\u5B54\u5C5E\u6027","Text Properties":"\u6587\u672C\u5C5E\u6027","Fonts Management":"\u5B57\u4F53\u7BA1\u7406","Dimension Attributes":"\u5C3A\u5BF8\u5C5E\u6027","Component Attributes":"\u5143\u4EF6\u5C5E\u6027","Component Silkscreen":"\u5143\u4EF6\u4E1D\u5370","Prefix Display":"\u663E\u793A\u7F16\u53F7","Pin Length":"\u5F15\u811A\u957F\u5EA6","Reuse Pin":"\u590D\u7528\u5F15\u811A","Pin Number":"\u5F15\u811A\u7F16\u53F7",Graphics:"\u56FE\u5F62",Pattern:"\u5F62\u72B6","Arc Properties":"\u5706\u5F27\u5C5E\u6027","Start Angle":"\u8D77\u59CB\u89D2\u5EA6","End Angle":"\u7ED3\u675F\u89D2\u5EA6","Rotation Direction":"\u65CB\u8F6C\u65B9\u5411","Rect Properties":"\u77E9\u5F62\u5C5E\u6027","Round radius":"\u5706\u89D2\u534A\u5F84","Circle Properties":"\u5706\u5C5E\u6027",Radius:"\u534A\u5F84","CopperArea Properties":"\u94FA\u94DC\u5C5E\u6027",Clearance:"\u95F4\u8DDD","Pad Connection":"\u710A\u76D8\u8FDE\u63A5\u65B9\u5F0F",Direct:"\u76F4\u8FDE",Spoke:"\u53D1\u6563","Keep Island":"\u4FDD\u7559\u5B64\u5C9B","Fill Style":"\u586B\u5145\u6837\u5F0F","Grid Line Width":"\u7F51\u683C\u7EBF\u5BBD","Grid Line Spacing":"\u7F51\u683C\u95F4\u8DDD","CopperArea conflict: copper area outlines in same layer with different net names must not overlap":"\u94FA\u94DC\u533A\u51B2\u7A81: \u540C\u4E00\u5C42\u7684\u4E0D\u540C\u94FA\u94DC\u533A\u8FB9\u754C\u4E0D\u80FD\u91CD\u53E0","Copper area rebuild complete! If you want to check the copper area, please set Copper Zone to Visible.":"\u94FA\u94DC\u5B8C\u6210\uFF01\u5982\u679C\u9700\u8981\u67E5\u770B\u94FA\u94DC\u8BF7\u5C06\u201C\u94FA\u94DC\u533A\u201D\u8BBE\u7F6E\u4E3A\u201C\u53EF\u89C1\u201D\u3002","Please create board outline first!":"\u8BF7\u5148\u521B\u5EFA\u7535\u8DEF\u677F\u8FB9\u754C\uFF01","There is a conflict between blind/buried via rule and layer":"\u5B58\u5728\u4E0E\u76F2\u57CB\u5B54\u89C4\u5219\u4E0E\u5C42\u51B2\u7A81","Board outlines are not closed.":"\u7535\u8DEF\u677F\u8FB9\u754C\u6CA1\u6709\u95ED\u5408","Rebuild CopperArea":"\u91CD\u5EFA\u94FA\u94DC\u533A","New Copper Rule...":"\u65B0\u5EFA\u94FA\u94DC\u89C4\u5219...","New Plane Rule...":"\u65B0\u5EFA\u5185\u7535\u5C42\u89C4\u5219...","New Rule...":"\u65B0\u5EFA\u89C4\u5219...","(Clear)":"(\u6E05\u7A7A)","Edit Points":"\u7F16\u8F91\u5750\u6807\u70B9","Spoke Angles":"\u53D1\u6563\u89D2\u5EA6",Degrees:"\u5EA6","No Solid":"\u65E0\u586B\u5145","No Connection":"\u65E0\u8FDE\u63A5","Board Cutout":"\u69FD\u5B54",Solid:"\u5B9E\u7EBF","@@copperArea":{None:"\u65E0\u586B\u5145"},SubpartGroupID:"\u591APart\u5206\u7EC4",SubpartNo:"\u591APart\u7F16\u53F7",SubpartCount:"\u591APart\u603B\u6570",SymbolName:"\u7B26\u53F7\u540D\u79F0",DrawingSymbol:"\u56FE\u7EB8\u7B26\u53F7",ShortSymbol:"\u77ED\u63A5\u7B26\u53F7","45 Degrees":"45 \u5EA6","90 Degrees":"90 \u5EA6","No svg shapes":"\u6CA1\u6709 svg \u8DEF\u5F84","Custom Attributes":"\u81EA\u5B9A\u4E49\u5C5E\u6027","Add new parameter":"\u589E\u52A0\u53C2\u6570","Add New Parameter":"\u589E\u52A0\u53C2\u6570","Add New Supplier":"\u589E\u52A0\u4F9B\u5E94\u5546",Mounted:"\u4E0A\u4EF6",Unknown:"\u672A\u77E5",net:"\u7F51\u7EDC",DEVICE:"\u5143\u4EF6",CATEGORY_NAME:"\u5C0F\u7C7B\u540D\u79F0",DESCRIPTION:"\u63CF\u8FF0",PKG_TYPE:"\u5C01\u88C5",COMPONENT_HIGH_MAX:"\u5668\u4EF6\u9AD8\u5EA6","Part Name":"\u90E8\u4EF6\u540D\u79F0","Multi-Part No":"\u591A\u90E8\u4EF6\u5E8F\u53F7","Multi-Part Count":"\u591A\u90E8\u4EF6\u603B\u6570","Multi-Part Group":"\u591A\u90E8\u4EF6\u5206\u7EC4","@Create Date":"@\u521B\u5EFA\u65E5\u671F","@Create Time":"@\u521B\u5EFA\u65F6\u95F4","@Page Count":"@\u56FE\u9875\u603B\u6570","@Page No":"@\u56FE\u9875\u7F16\u53F7","@Page Name":"@\u56FE\u9875\u540D\u79F0","@Project Name":"@\u5DE5\u7A0B\u540D\u79F0","@Board Name":"@\u677F\u5B50\u540D\u79F0","@Schematic Name":"@\u539F\u7406\u56FE\u540D\u79F0","@PCB Name":"@PCB\u540D\u79F0","@Update Date":"@\u66F4\u65B0\u65E5\u671F","@Update Time":"@\u66F4\u65B0\u65F6\u95F4","@Assembly Variant":"@\u88C5\u914D\u53D8\u91CF","@Simulation Name":"@\u4EFF\u771F\u56FE\u540D\u79F0",Company:"\u516C\u53F8",Drawed:"\u7ED8\u5236","Page Size":"\u56FE\u9875\u5C3A\u5BF8",Reviewed:"\u5BA1\u9605","drawing:{sheetAttr}":"\u56FE\u7EB8: {sheetAttr}","Sheet Property":"\u56FE\u7EB8\u5C5E\u6027","Drawing Property":"\u56FE\u7EB8\u5C5E\u6027","Global Net Name":"\u5168\u5C40\u7F51\u7EDC\u540D","Net name cannot be empty":"\u7F51\u7EDC\u540D\u4E0D\u53EF\u4EE5\u4E3A\u7A7A","Wire name connected to the bus cannot be empty":"\u8FDE\u63A5\u4E86\u603B\u7EBF\u7684\u5BFC\u7EBF\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A","Does not conform to the naming rule for wire":"\u4E0D\u7B26\u5408\u5BFC\u7EBF\u547D\u540D\u89C4\u5219","Does not conform to the naming rule for bus":"\u4E0D\u7B26\u5408\u603B\u7EBF\u547D\u540D\u89C4\u5219","Does not conform to the naming rule for wire and bus":"\u4E0D\u7B26\u5408\u5BFC\u7EBF\u548C\u603B\u7EBF\u7684\u547D\u540D\u89C4\u5219","Invalid incremental step":"\u9012\u589E\u6B65\u8FDB\u65E0\u6548","Invalid start digit":"\u5F00\u59CB\u6570\u5B57\u65E0\u6548","The start digit is over the maximum range":"\u5F00\u59CB\u6570\u5B57\u8D85\u51FA\u6700\u5927\u8303\u56F4","New Custom Property...":"\u65B0\u589E\u81EA\u5B9A\u4E49\u5C5E\u6027...","Export Design Rules":"\u5BFC\u51FA\u8BBE\u8BA1\u89C4\u5219","Import Design Rules":"\u5BFC\u5165\u8BBE\u8BA1\u89C4\u5219","The typing cannot over 255 charaters.":"\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u8D85\u8FC7 255 \u4E2A\u5B57\u7B26\u3002","Text cannot be more than 255 characters!":"\u6587\u672C\u5185\u5BB9\u957F\u5EA6\u4E0D\u80FD\u8D85\u8FC7 255 \u4E2A\u5B57\u7B26\uFF01","Text cannot be more than 4096 characters!":"\u6587\u672C\u957F\u5EA6\u5185\u5BB9\u4E0D\u80FD\u8D85\u8FC7 4096 \u4E2A\u5B57\u7B26\uFF01","The typing cannot over {0} characters.":"\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u8D85\u8FC7 {0} \u4E2A\u5B57\u7B26\u3002","No more than 5 custom configurations":"\u81EA\u5B9A\u4E49\u914D\u7F6E\u4E0D\u80FD\u8D85\u8FC7 5 \u4E2A","Negative and zero cannot be allowed":"\u4E0D\u53EF\u8F93\u5165\u8D1F\u6570\u548C0","Negative cannot be allowed":"\u4E0D\u53EF\u8F93\u5165\u8D1F\u6570","Project({0})":"\u5DE5\u7A0B({0})","Symbol({0})":"\u7B26\u53F7({0})","dxdOrigin({0})":"\u5B58\u91CF\u5DE5\u7A0B({0})","CBB({0})":"\u590D\u7528\u6A21\u5757({0})","Footprint({0})":"\u5C01\u88C5({0})","Device({0})":"\u5668\u4EF6({0})","Scan the QR code below and open it on the mobile side":"\u626B\u63CF\u4E0B\u65B9\u4E8C\u7EF4\u7801\uFF0C\u5728\u79FB\u52A8\u7AEF\u6253\u5F00","How to create a single layer PCB":"\u5609\u7ACB\u521BEDA\u5982\u4F55\u7ED8\u5236\u5355\u5C42\u677F","EasyEDA doesn't support layout single layer directly, please refer at:":"\u5609\u7ACB\u521BEDA\u4E0D\u652F\u6301\u76F4\u63A5\u7ED8\u5236\u5355\u5C42\u677F\uFF0C\u5355\u5C42\u677F\u7684\u7ED8\u5236\u65B9\u6CD5\u8BF7\u67E5\u770B\uFF1A","Doesn't support layout single layer PCB directly, please layout at single side first, when export the Gerber you can select the single layer as you want.":"\u5609\u7ACB\u521BEDA\u4E0D\u652F\u6301\u76F4\u63A5\u7ED8\u5236\u5355\u5C42\u677F\uFF0C\u8BF7\u5148\u5728\u5355\u9762\u7ED8\u5236\uFF0C\u540E\u9762\u5728\u5BFC\u51FA Gerber \u65F6\u52FE\u9009\u6240\u9700\u8981\u7684\u5355\u5C42\u5185\u5BB9\u3002","Rules with the same design rule name will be overwritten, whether the import is confirmed or not":"\u8BBE\u8BA1\u89C4\u5219\u540D\u79F0\u76F8\u540C\u7684\u89C4\u5219\u5C06\u88AB\u8986\u76D6\uFF0C\u662F\u5426\u786E\u8BA4\u5BFC\u5165","Create an account":"\u521B\u5EFA\u8D26\u53F7",Username:"\u7528\u6237\u540D","Confirm Password":"\u786E\u8BA4\u5BC6\u7801",Email:"\u7535\u5B50\u90AE\u4EF6","Customer service WeChat":"\u5BA2\u670D\u5FAE\u4FE1","WeChat Public":"\u516C\u4F17\u53F7","Please read this before you register":"\u6CE8\u518C\u524D\u5EFA\u8BAE\u9605\u8BFB","Hi {username}":"\u4F60\u597D\uFF0C{username}","LicensedTo.licensedTo1":"\u6388\u6743\u4E8E","LicensedTo.licensedTo2":"\u6B63\u7248\u6388\u6743","The validity period of the authorization license is less than":"\u6388\u6743\u8BB8\u53EF\u8BC1\u6709\u6548\u671F\u5DF2\u4E0D\u8DB3",seven:"7",", Please contact the administrator promptly to change the authorization file using the admin account.":"\uFF0C\u8BF7\u53CA\u65F6\u8054\u7CFB\u7BA1\u7406\u5458\u4F7F\u7528admin\u8D26\u53F7\u53D8\u66F4\u6388\u6743\u6587\u4EF6\u3002","Customer Code":"\u5BA2\u6237\u7F16\u53F7",Phone:"\u7535\u8BDD","EmailText.email":"\u90AE\u7BB1","Lost Password...":"\u4E22\u5931\u5BC6\u7801...","Find the password using your email":"\u901A\u8FC7\u90AE\u4EF6\u627E\u56DE\u5BC6\u7801","The number of sumultaneous online accounts is full. Please contact other menbers to colse the Page and try again.":"\u540C\u65F6\u5728\u7EBF\u8D26\u53F7\u6570\u5DF2\u6EE1\uFF0C\u8BF7\u8054\u7CFB\u5176\u4ED6\u6210\u5458\u5173\u95ED\u9875\u9762\u540E\u518D\u6B21\u5C1D\u8BD5\u3002","The authorization has been revoked due to prolonged inactivity. Continuing the operation will attempt to reacquire authorization.":"\u957F\u65F6\u95F4\u672A\u64CD\u4F5C\uFF0C\u6388\u6743\u5DF2\u56DE\u6536\uFF0C\u7EE7\u7EED\u64CD\u4F5C\u4F1A\u91CD\u65B0\u5C1D\u8BD5\u83B7\u53D6\u6388\u6743\u3002","Automatically request reconnetcion after {time}s.":"{time}s \u540E\u81EA\u52A8\u8BF7\u6C42\u91CD\u65B0\u8FDE\u63A5...","The project doesn't exist or has no permission to preview.":"\u5DE5\u7A0B\u4E0D\u5B58\u5728\u6216\u6CA1\u6709\u67E5\u770B\u6743\u9650","The Pin already connected with the wire, doesn't support to connect another wire, please wiring the wire to the wire.":"\u5F15\u811A\u5DF2\u7ECF\u8FDE\u63A5\u4E86\u5BFC\u7EBF\uFF0C\u4E0D\u652F\u6301\u8FDE\u63A5\u5230\u53E6\u5916\u4E00\u6761\uFF0C\u8BF7\u628A\u5BFC\u7EBF\u8FDE\u63A5\u5230\u5BFC\u7EBF\u4E0A\u3002","The wire shorted! Doesn't support the wire loop!.":"\u5BFC\u7EBF\u77ED\u8DEF\uFF01\u4E0D\u652F\u6301\u5BFC\u7EBF\u56DE\u8DEF\uFF01","Bus entry too short!":"\u603B\u7EBF\u5206\u652F\u592A\u77ED\u3002","Bus doesn't setting the name, cannot generate the bus entry.":"\u603B\u7EBF\u672A\u547D\u540D\uFF0C\u4E0D\u80FD\u5F15\u51FA\u603B\u7EBF\u5206\u652F\u3002","Copy Success!":"\u590D\u5236\u6210\u529F\uFF01","Cut Success!":"\u526A\u5207\u6210\u529F\uFF01","Copy Failed!":"\u590D\u5236\u5931\u8D25\uFF01","Paste Success!":"\u7C98\u8D34\u6210\u529F\uFF01","Paste Failed!":"\u7C98\u8D34\u5931\u8D25\uFF01","Open Snap Already!":"\u5DF2\u5F00\u542F\u5438\u9644!","Close snap Already!":"\u5DF2\u5173\u95ED\u5438\u9644!","@@rename-wire":{Step:"\u9012\u589E\u6B65\u8FDB",Prefix:"\u524D\u7F00",Suffix:"\u540E\u7F00"},"Differential Pairs Flag":"\u5DEE\u5206\u5BF9\u6807\u8BC6","Differential Pairs Flag Symbol":"\u5DEE\u5206\u5BF9\u6807\u8BC6\u7B26\u53F7","Differential Pairs Flag...":"\u5DEE\u5206\u5BF9\u6807\u8BC6...","Place Diff Paris Flag":"\u653E\u7F6E\u5DEE\u5206\u5BF9\u6807\u8BC6","The Front Of Prefix":"\u524D\u7F00\u524D\u9762","The Back Of Prefix":"\u524D\u7F00\u540E\u9762","The Back Of Digit":"\u6570\u503C\u540E\u9762","The Back Of Suffix":"\u540E\u7F00\u540E\u9762","Set as _P,_N":"\u8BBE\u7F6E\u4E3A_P,_N","Set as +,-":"\u8BBE\u7F6E\u4E3A+,-","The Ending is _P , _ N or + , - , Identified as a Differential Pair":"\u7ED3\u5C3E\u662F_P,_N\u6216+,-\u65F6\uFF0C\u8BC6\u522B\u4E3A\u5DEE\u5206\u5BF9","Batch rename wire":"\u5BFC\u7EBF\u6279\u91CF\u91CD\u547D\u540D",Login:"\u767B\u5F55","Username or Email":"\u7528\u6237\u540D\u6216\u90AE\u4EF6","Remember Me":"\u8BB0\u4F4F\u6211","Third party":"\u7B2C\u4E09\u65B9","Login and Register":"\u767B\u5F55\u4E0E\u6CE8\u518C","Reset a password using your email":"\u8F93\u5165\u4F60\u6CE8\u518C\u7684email,\u91CD\u7F6E\u5BC6\u7801","Your registered email":"\u6CE8\u518C\u90AE\u4EF6","Re-send an activation code to your email":"\u91CD\u53D1\u90AE\u4EF6\u6FC0\u6D3B\u7801","Invite friends to register":"\u9080\u8BF7\u670B\u53CB\u6CE8\u518C","Your friend's email":"\u670B\u53CB\u90AE\u4EF6","Add a new parameter":"\u6DFB\u52A0\u81EA\u5B9A\u4E49\u53C2\u6570",Key:"\u952E\u540D","Value.new_para":"\u53C2\u6570","In BOM":"\u6DFB\u52A0\u5728BOM\u4E2D","Add into BOM":"\u52A0\u5165BOM","Invalid key":"\u4E0D\u5408\u6CD5\u7684\u540D\u79F0","Invalid name":"\u4E0D\u5408\u6CD5\u7684\u540D\u79F0","invalid name":"\u4E0D\u5408\u6CD5\u7684\u540D\u79F0","This field is required.":"\u8BE5\u8F93\u5165\u6846\u5FC5\u586B\u3002","File Encrypted":"\u6587\u4EF6\u5DF2\u52A0\u5BC6","Bulk import completed!":"\u6279\u91CF\u5BFC\u5165\u5DF2\u5B8C\u6210!","{filename} Importing...":"{filename}\u6B63\u5728\u5BFC\u5165...","{filename}File Encrypted":"{filename}\u6587\u4EF6\u5DF2\u52A0\u5BC6","{number} project import successfully:{projectNames}":"{number}\u4E2A\u5DE5\u7A0B\u5BFC\u5165\u6210\u529F:{projectNames}","{number} project import failed:{projectNames}":"{number}\u4E2A\u5DE5\u7A0B\u5BFC\u5165\u5931\u8D25:{projectNames}","Set Password":"\u8BBE\u7F6E\u5BC6\u7801","Please enter password":"\u8BF7\u8F93\u5165\u5BC6\u7801","Password incorrect, please re-enter":"\u5BC6\u7801\u9519\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8F93\u5165","The passwords entered do not match":"\u4E24\u6B21\u8F93\u5165\u5BC6\u7801\u4E0D\u4E00\u81F4","Change your password":"\u4FEE\u6539\u5BC6\u7801","Old password":"\u65E7\u5BC6\u7801","New Password":"\u65B0\u5BC6\u7801","Save as Attachment":"\u4FDD\u5B58\u4E3A\u9644\u4EF6",Importing:"\u6B63\u5728\u5BFC\u5165","Create a new project":"\u521B\u5EFA\u4E00\u4E2A\u65B0\u5DE5\u7A0B","Save as a schematic":"\u4FDD\u5B58\u4E3A\u539F\u7406\u56FE","Save as a schematic Lib":"\u4FDD\u5B58\u4E3A\u539F\u7406\u56FE\u5E93\u6587\u4EF6","Save as a PCB file":"\u4FDD\u5B58\u4E3APCB\u6587\u4EF6","Save as a PCB Lib":"\u4FDD\u5B58\u4E3APCB\u5E93\u6587\u4EF6","Save as a Schematic Module":"\u4FDD\u5B58\u4E3A\u539F\u7406\u56FE\u6A21\u5757","Save as a PCB Module":"\u4FDD\u5B58\u4E3APCB\u6A21\u5757","Save as PCB 3D Lib":"\u4FDD\u5B58\u4E3APCB 3D\u5E93","Save as a WaveForm":"\u4FDD\u5B58\u4E3A\u6CE2\u5F62",Title:"\u6807\u9898",Share:"\u5206\u4EAB","Add file":"\u6DFB\u52A0\u6587\u4EF6",Visibility:"\u53EF\u89C1\u6027","Allow Comments":"\u5141\u8BB8\u8BC4\u8BBA",Allowed:"\u5141\u8BB8",Prohibited:"\u7981\u6B62",Public:"\u516C\u5F00","Public (Anyone can see this project but only you can modify it.)":"\u516C\u5F00 (\u53EA\u6709\u4F60\u80FD\u4FEE\u6539\u8BE5\u5DE5\u7A0B\uFF0C\u6240\u6709\u4EBA\u90FD\u53EF\u4EE5\u770B\u5230\u5B83)","Private (Only you can see and modify this project)":"\u79C1\u6709(\u53EA\u80FD\u4F60\u80FD\u770B\u5230\u5E76\u4FEE\u6539\u5B83)","Create new project success!":"\u65B0\u5EFA\u5DE5\u7A0B\u6210\u529F!","Create new project failed!":"\u65B0\u5EFA\u5DE5\u7A0B\u5931\u8D25!","You can now create files under this project":"\u73B0\u5728\u53EF\u4EE5\u5728\u5DE5\u7A0B\u4E0B\u521B\u5EFA\u6587\u6863\u4E86","This file must be saved under a project, choose other project or create a new project":"\u8BE5\u6587\u4EF6\u5FC5\u987B\u4FDD\u5B58\u5728\u5DE5\u7A0B\u4E0B\uFF0C\u8BF7\u9009\u62E9\u6216\u65B0\u5EFA\u4E00\u4E2A\u8FC7\u7A0B\u3002","Please login to save this kind of document":"\u8BF7\u767B\u5F55\u540E\u4FDD\u5B58\u8BE5\u6587\u6863","Duplicated project title":"\u5DE5\u7A0B\u6807\u9898\u5DF2\u5B58\u5728","Duplicated title":"\u6807\u9898\u5DF2\u5B58\u5728","Project does not exist":"\u5DE5\u7A0B\u4E0D\u5B58\u5728","Document does not exist":"\u6587\u4EF6\u4E0D\u5B58\u5728","document not exists":"\u6587\u4EF6\u4E0D\u5B58\u5728","document {documentName} not exists":"\u6587\u6863{documentName}\u4E0D\u5B58\u5728","Open Project failed":"\u5DE5\u7A0B\u6253\u5F00\u5931\u8D25","Failed to get project path":"\u5DE5\u7A0B\u8DEF\u5F84\u83B7\u53D6\u5931\u8D25","The CacheStorage connection failed":"CacheStorage\u8FDE\u63A5\u5931\u8D25","Unable to access CacheStorage, unable to run editor properly.":"\u65E0\u6CD5\u8BBF\u95EECacheStorage\uFF0C\u4E0D\u80FD\u6B63\u5E38\u8FD0\u884C\u7F16\u8F91\u5668","1.Please use the latest Google or Firefox browser.":"1\u3001\u8BF7\u4F7F\u7528\u6700\u65B0\u7684\u8C37\u6B4C\u6216\u8005\u706B\u72D0\u6D4F\u89C8\u5668","2.If using Firefox browser, please do not open the editor in privacy mode.":"2\u3001\u5982\u679C\u4F7F\u7528\u7684\u662F\u706B\u72D0\u6D4F\u89C8\u5668\uFF0C\u8BF7\u4E0D\u8981\u5728\u9690\u79C1\u6A21\u5F0F\u6253\u5F00\u7F16\u8F91\u5668",Categories:"\u76EE\u5F55",Project:"\u5DE5\u7A0B",project:"\u5DE5\u7A0B","Short descript":"\u7B80\u77ED\u63CF\u8FF0",Content:"\u5185\u5BB9","Modify this project info.":"\u4FEE\u6539\u8BE5\u5DE5\u7A0B\u4FE1\u606F","Modify this file info.":"\u4FEE\u6539\u8BE5\u6587\u6863\u4FE1\u606F",Notice:"\u63D0\u793A","Search for it before creating a new one.":"\u521B\u5EFA\u524D\u5148\u5C1D\u8BD5\u67E5\u8BE2\u4E00\u4E0B","Manufacturer Part Number":"\u5236\u9020\u5546\u5143\u5668\u4EF6\u7F16\u53F7",Supplier:"\u4F9B\u5E94\u5546",Or:"\u6216","Supplier Part":"\u4F9B\u5E94\u5546\u7F16\u53F7","Supplier Part Number":"\u4F9B\u5E94\u5546\u6599\u53F7","Part Number":"\u6599\u53F7","@@connect":{Link:"\u8FDE\u7ED3"},link:"\u94FE\u63A5",Unlink:"\u53D6\u6D88\u8FDE\u7ED3",Handbook:"\u4F7F\u7528\u624B\u518C","Export Netlist":"\u5BFC\u51FA\u7F51\u8868","Export Netlist...":"\u5BFC\u51FA\u7F51\u8868...","Netlist Files...":"\u7F51\u8868\u6587\u4EF6...","The professional function please refer at:":"\u9AD8\u7EA7\u529F\u80FD\u8BF7\u67E5\u9605\uFF1A","Clone your file":"\u514B\u9686\u4F60\u7684\u6587\u4EF6","Design Manager":"\u8BBE\u8BA1\u7BA1\u7406\u5668","DRC Errors":"DRC\u9519\u8BEF","Are you sure you want to unroute this net?":"\u786E\u5B9A\u8981\u6E05\u9664\u8BE5\u7F51\u7EDC\u7684\u5E03\u7EBF\u5417\uFF1F",Unroute:"\u6E05\u9664\u5E03\u7EBF","Track Length":"\u7EBF\u957F","Via/Hole Outer Size":"\u5B54\u5916\u5F84","Filter nets":"\u7B5B\u9009\u7F51\u7EDC","Board Outline":"\u677F\u6846","Plane Zone":"\u5185\u7535\u5C42","@@drcRule":{Width:"\u5BBD","DRC Width":"DRC\u5BBD",Length:"\u7EBF\u957F","DRC Length":"DRC\u7EBF\u957F","Drill Diameter":"\u5B54\u5185\u5F84","DRC Drill Diameter":"DRC\u5B54\u5185\u5F84",Diameter:"\u5B54\u5916\u5F84","DRC Diameter":"DRC\u5B54\u5916\u5F84",Object:"\u5143\u7D20","DRC Clearance":"DRC\u95F4\u8DDD",All:"\u5168\u90E8"},"More than one netlabel is found in net, please checked whether this is correct.":"\u8BE5\u7F51\u7EDC\u5B58\u5728\u591A\u4E2A\u7F51\u7EDC\u6807\u7B7E\uFF0C\u8BF7\u6CE8\u610F\u662F\u5426\u6B63\u5E38\u3002","Incomplete net, a complete net should contain two or more pins.":"\u8BE5\u7F51\u7EDC\u8FDE\u63A5\u4E0D\u5B8C\u6574\uFF0C\u5B8C\u6574\u7684\u7F51\u7EDC\u9700\u8981\u8FDE\u63A5\u4E24\u4E2A\u53CA\u4EE5\u4E0A\u5F15\u811A\u3002","This netlabel is not connected with any pin.":"\u8BE5\u7F51\u7EDC\u6807\u7B7E\u672A\u4E0E\u4EFB\u4F55\u5F15\u811A\u8FDE\u63A5\u3002","Incomplete connection, please check.":"\u8BE5\u7F51\u7EDC\u8FDE\u63A5\u4E0D\u5B8C\u6574\uFF0C\u8BF7\u68C0\u67E5\u3002","The clearance between two objects is less than the Design Rule Check (DRC) clearance which has different nets.":"\u8FD9\u4E24\u4E2A\u4E0D\u540C\u7F51\u7EDC\u7684\u5143\u7D20\u95F4\u8DDD\u5C0F\u4E8E\u8BBE\u8BA1\u89C4\u5219(DRC)\u7684\u95F4\u8DDD","The diameter is less than Design Rule Check (DRC) diameter":"\u5B54\u5916\u5F84\u5C0F\u4E8E\u8BBE\u8BA1\u89C4\u5219(DRC)\u7684\u5B54\u5916\u5F84","The drill diameter is less than Design Rule Check (DRC) drill diameter":"\u5B54\u5185\u5F84\u5C0F\u4E8E\u8BBE\u8BA1\u89C4\u5219(DRC)\u7684\u5B54\u5185\u5F84","The track length is longer than Design Rule Check (DRC) track length":"\u5BFC\u7EBF\u603B\u957F\u5EA6\u5927\u4E8E\u8BBE\u8BA1\u89C4\u5219(DRC)\u7684\u7EBF\u957F","The track width is less than Design Rule Check (DRC) track width":"\u5BFC\u7EBF\u5BBD\u5EA6\u4E0D\u80FD\u5C0F\u4E8E\u8BBE\u8BA1\u89C4\u5219(DRC)\u7684\u7EBF\u5BBD","Do you want to continue?":"\u662F\u5426\u7EE7\u7EED\uFF1F","Import file from your computer":"\u4ECE\u4F60\u7684\u7535\u8111\u5BFC\u5165\u6587\u4EF6","Maximum file size: 300 MB":"\u6700\u5927\u6587\u4EF6\u5C3A\u5BF8: 300MB","Maximum file size: {size}":"\u6700\u5927\u6587\u4EF6\u5C3A\u5BF8\uFF1A{size}","Maximum file size":"\u6700\u5927\u6587\u4EF6\u5C3A\u5BF8","Exceeded the maximum allowed file size: {size}!":"\u8D85\u51FA\u5141\u8BB8\u7684\u6700\u5927\u6587\u4EF6\u5C3A\u5BF8: {size}\uFF01","Chose File":"\u9009\u62E9\u6587\u4EF6","File Operation":"\u6587\u4EF6\u64CD\u4F5C","Import File":"\u5BFC\u5165\u6587\u4EF6","Extract Libraries":"\u63D0\u53D6\u5E93\u6587\u4EF6","Import Document and Extract Libraries":"\u5BFC\u5165\u6587\u6863\u5E76\u63D0\u53D6\u5E93","Use system theme(Change theme will update color)":"\u4F7F\u7528\u7CFB\u7EDF\u4E3B\u9898(\u5207\u6362\u4E3B\u9898\u81EA\u52A8\u66F4\u65B0\u989C\u8272)","Use source file style(Change theme will not update color)":"\u4F7F\u7528\u6E90\u6587\u4EF6\u6837\u5F0F(\u5207\u6362\u4E3B\u9898\u4E0D\u81EA\u52A8\u66F4\u65B0\u989C\u8272)","Associate footprint automatically":"\u81EA\u52A8\u5173\u8054\u5C01\u88C5","Associate 3D model automatically":"\u81EA\u52A8\u5173\u80543D\u6A21\u578B",Notes:"\u6CE8\u91CA","Import Footprint\xA0Notes Layer":"\u5BFC\u5165\u5C01\u88C5\u6CE8\u91CA\u5C42","File type":"\u6587\u4EF6\u7C7B\u578B","There is no available library":"\u6CA1\u6709\u53EF\u63D0\u53D6\u7684\u5E93","Display attributes as annotations":"\u6279\u6CE8\u663E\u793A\u5C5E\u6027","Display attributes as menu":"\u83DC\u5355\u663E\u793A\u5C5E\u6027","Width:":"\u5BBD:","Height:":"\u9AD8:","The file size is too large.":"\u6587\u4EF6\u5C3A\u5BF8\u8FC7\u5927","Please selected the file type.":"\u8BF7\u9009\u62E9\u6587\u4EF6\u7C7B\u578B","No component was found!":"\u6CA1\u6709\u53D1\u73B0\u5668\u4EF6","Import successfully!":"\u5BFC\u5165\u6210\u529F\uFF01","Import project successfully!":"\u5BFC\u5165\u5DE5\u7A0B\u6210\u529F\uFF01","Import project failed!":"\u5BFC\u5165\u5DE5\u7A0B\u5931\u8D25\uFF01","Import failed!":"\u5BFC\u5165\u5931\u8D25\uFF01","Conversion project format failed!":"\u8F6C\u6362\u5DE5\u7A0B\u683C\u5F0F\u5931\u8D25!","Conversion component format failed!":"\u8F6C\u6362\u5E93\u683C\u5F0F\u5931\u8D25!","Click Confirm to continue with the import":"\u70B9\u51FB\u786E\u8BA4\u5C06\u7EE7\u7EED\u5BFC\u5165\u6587\u4EF6","Select None":"\u5168\u4E0D\u9009","Confirm Font":"\u662F","Cancel Font":"\u5426","File size(Width*Height)":"\u6587\u4EF6\u5C3A\u5BF8(\u957Fx\u5BBD)","Real size(Width*Height)":"\u5B9E\u9645\u5C3A\u5BF8(\u957Fx\u5BBD)","Outline depth":"\u8F6E\u5ED3\u6DF1\u5EA6","Please compress schematic and PCB together as a zip file and then import it, if you only import the schematic you need to binding with the footprint manually.":"\u8BF7\u628A\u539F\u7406\u56FE\u548C PCB \u4E00\u8D77\u538B\u7F29\u6210 zip \u538B\u7F29\u5305\u540E\u5BFC\u5165\uFF0C\u53EA\u5BFC\u5165\u539F\u7406\u56FE\u9700\u8981\u624B\u52A8\u91CD\u65B0\u7ED1\u5B9A\u5C01\u88C5\u3002","Please compress schematic and PCB in ASCII format together as a zip file and then import it, if you only import the schematic you need to binding with the footprint manually.":"\u8BF7\u628A ASCII \u683C\u5F0F\u7684\u539F\u7406\u56FE\u548C PCB \u4E00\u8D77\u538B\u7F29\u6210 zip \u538B\u7F29\u5305\u540E\u5BFC\u5165\uFF0C\u53EA\u5BFC\u5165\u539F\u7406\u56FE\u9700\u8981\u624B\u52A8\u91CD\u65B0\u7ED1\u5B9A\u5C01\u88C5\u3002",'Import failed! The imported files were not ASCII format, please save the files as "Advanced Schematic ascii(*.SchDoc)" or"PCB ASCII File(*.PcbDoc)" at Altium Designer first, and then import.':"\u5BFC\u5165\u5931\u8D25\uFF01\u4F60\u5BFC\u5165\u7684\u6587\u4EF6\u4E0D\u662F ASCII \u683C\u5F0F\u7684\uFF0C\u8BF7\u5148\u5728 Altium Designer \u53E6\u5B58\u4E3A\u201CAdvanced Schematic ascii(*.SchDoc)\u201D\u6216\u201CPCB ASCII File(*.PcbDoc)\u201D\u540E\u518D\u5BFC\u5165\u3002","The PCB text will use the editor new font family, the text maybe will appear a litte excursion.":"\u5BFC\u5165\u7684 PCB \u6587\u672C\u5C06\u4F7F\u7528\u7F16\u8F91\u5668\u65B0\u7684\u5B57\u4F53\uFF0C\u6587\u672C\u53EF\u80FD\u4F1A\u51FA\u73B0\u8F7B\u5FAE\u53D8\u5F62\u548C\u504F\u79FB\u3002","Because of different file format and element design, the imported element may have some differences, please check carefully. The more information please refer the tutorials.":"\u56E0\u683C\u5F0F\u548C\u56FE\u5143\u8BBE\u8BA1\u4E0D\u4E00\u81F4\uFF0C\u56FE\u5143\u5BFC\u5165\u540E\u53EF\u80FD\u4F1A\u6709\u4E00\u5B9A\u5DEE\u5F02\uFF0C\u8BF7\u4ED4\u7EC6\u68C0\u67E5\u3002\u5177\u4F53\u5DEE\u5F02\u8BF7\u67E5\u770B\u5E2E\u52A9\u6587\u6863\u3002","EasyEDA is not responsible for any losses caused by format conversion differences, if you do not agree, please do not import.":"\u5609\u7ACB\u521BEDA\u4E0D\u627F\u62C5\u4EFB\u4F55\u56E0\u683C\u5F0F\u8F6C\u6362\u5DEE\u5F02\u4EA7\u751F\u7684\u635F\u5931\uFF0C\u5982\u4E0D\u540C\u610F\u8BF7\u4E0D\u8981\u5BFC\u5165\u3002","Please make sure the EAGLE file is saved in EAGLE v6.0 and higher version.":"\u8BF7\u786E\u4FDD\u9009\u62E9\u7684 EAGLE \u6587\u4EF6\u662F EAGLE v6.0 \u53CA\u4EE5\u4E0A\u7248\u672C\u4FDD\u5B58\u7684\u6587\u4EF6\u3002","Please compress schematic and PCB together as a zip file by KiCad and then import it, if you only import the schematic you need to binding with the footprint manually.":"\u8BF7\u628A\u539F\u7406\u56FE\u548C PCB \u4F7F\u7528 KiCad \u4E00\u8D77\u538B\u7F29\u6210 zip \u538B\u7F29\u5305\u540E\u5BFC\u5165\uFF0C\u53EA\u5BFC\u5165\u539F\u7406\u56FE\u9700\u8981\u624B\u52A8\u91CD\u65B0\u7ED1\u5B9A\u5C01\u88C5\u3002","Please make sure the PADS file is exported as PADS 9.5 or PADS Pro VX 2.X ASCII format file.":"\u8BF7\u786E\u4FDD PADS \u6587\u4EF6\u662F\u5BFC\u51FA\u4E3A PADS 9.5 \u6216PADS Pro VX 2.X \u7248\u672C\u7684 ASCII \u683C\u5F0F\u7684\u6587\u4EF6\u3002","Please make sure the Protel file is exported as ASCII format file.":"\u8BF7\u786E\u4FDD Protel \u6587\u4EF6\u662F\u5BFC\u51FA\u4E3A ASCII \u683C\u5F0F\u7684\u6587\u4EF6\u3002","Please compress the schematic and corresponding symbols together as a zip file and then import it.":"\u8BF7\u628A\u539F\u7406\u56FE\u548C\u5BF9\u5E94\u7684\u7B26\u53F7\u4E00\u8D77\u538B\u7F29\u6210 zip \u6587\u4EF6\u518D\u5BFC\u5165\u3002","No library files are detected for extraction, please reselect and import.":"\u6CA1\u6709\u627E\u5230\u53EF\u4F9B\u63D0\u53D6\u7684\u5E93\u6587\u4EF6\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u5BFC\u5165\u3002",'Please follow the official tutorial to convert Allegro PCB file(*.brd) or footprint file(*.dra) as "ebrd" or "edra" suffix files; OrCad/ConceptHDL schematic as EDIF format, the schematic library export as XML format and and then import. Please compress schematic and PCB together as a zip file and then import it, if you only import the schematic you need to binding with the footprint manually.':"\u8BF7\u6839\u636E\u5B98\u65B9\u6559\u7A0B\u628A Allegro PCB \u6587\u4EF6(*.brd)\u6216\u5C01\u88C5\u5E93\u6587\u4EF6(*.dra)\u8F6C\u6362\u4E3A ebrd \u6216 edra \u540E\u7F00\u7684\u6587\u4EF6\uFF1BOrCad/ConceptHDL \u539F\u7406\u56FE\u5BFC\u51FA\u4E3A EDIF \u683C\u5F0F\uFF0C\u539F\u7406\u56FE\u5E93\u5BFC\u51FA\u4E3A XML \u683C\u5F0F\u540E\u518D\u5BFC\u5165\u3002\u8BF7\u628A\u539F\u7406\u56FE\u548C PCB \u4E00\u8D77\u538B\u7F29\u6210 zip \u538B\u7F29\u5305\u540E\u5BFC\u5165\uFF0C\u53EA\u5BFC\u5165\u539F\u7406\u56FE\u9700\u8981\u624B\u52A8\u91CD\u65B0\u7ED1\u5B9A\u5C01\u88C5\u3002","EasyEDA Std import tutorial":"\u5609\u7ACB\u521BEDA(\u6807\u51C6\u7248)\u5BFC\u5165\u6559\u7A0B","Altium Designer import tutorial":"Altium Designer\u5BFC\u5165\u6559\u7A0B","Allegro/OrCad import tutorial":"Allegro/OrCad\u5BFC\u5165\u6559\u7A0B","EAGLE import tutorial":"EAGLE\u5BFC\u5165\u6559\u7A0B","KiCad import tutorial":"KiCad\u5BFC\u5165\u6559\u7A0B","PADS import tutorial":"PADS\u5BFC\u5165\u6559\u7A0B","Protel import tutorial":"Protel\u5BFC\u5165\u6559\u7A0B","LTspice import tutorial":"LTspice\u5BFC\u5165\u6559\u7A0B","Modify symbol information":"\u4FEE\u6539\u4F60\u7684\u5668\u4EF6\u4FE1\u606F","Hide Pin":"\u9690\u85CF\u5F15\u811A","Pin Manager":"\u5F15\u811A\u7BA1\u7406\u5668",Assign:"\u5206\u914D","Supplier.bom":"\u4F9B\u5E94\u5546","LCSC.bom":"LCSC\u7F16\u53F7",Price:"\u4EF7\u683C","Quantity.bom":"\u6570\u91CF","Package.bom":"\u5C01\u88C5","Components.bom":"\u5143\u4EF6\u7F16\u53F7","Manufacturer Part.bom":"\u5236\u9020\u5546\u7F16\u53F7","Manufacturer.bom":"\u5236\u9020\u5546","Load Capacitance":"\u8D1F\u8F7D\u7535\u5BB9\u503C","Frequency Tolerance":"\u9891\u7387\u5BB9\u5DEE","Equivalent Series Resistance (ESR)":"\u7B49\u6548\u4E32\u8054\u7535\u963B(ESR)","Crystal Type":"\u6676\u632F\u7C7B\u578B","Frequency Stability":"\u7A33\u5B9A\u5EA6","One-click Purchasing at LCSC":"\u4ECE\u7ACB\u521B\u5546\u57CE\u8D2D\u4E70","Order Parts/Check Stock":"\u8D2D\u4E70\u5143\u4EF6/\u68C0\u67E5\u5E93\u5B58","Export BOM":"\u5BFC\u51FABOM","ID.bom":"\u7F16\u53F7","Name.bom":"\u5143\u4EF6\u540D\u79F0","@@bom":{Name:"\u5143\u4EF6\u540D\u79F0","LCSC Assembly":"\u7ACB\u521B\u8D34\u7247\u96F6\u4EF6",Value:"\u5143\u4EF6\u540D\u79F0","NO.":"\u7F16\u53F7","Name Inverted":"\u540D\u79F0\u53D6\u53CD",Supplier:"\u4F9B\u5E94\u5546",LCSC:"LCSC\u7F16\u53F7",Price:"\u4EF7\u683C",Quantity:"\u6570\u91CF",Package:"\u5C01\u88C5",Components:"\u5143\u4EF6\u7F16\u53F7",Manufacturer:"\u5236\u9020\u5546",Remove:"\u53BB\u6389",Layer:"\u5C42",Group:"\u5206\u7EC4"},"Manufacturer Part":"\u5236\u9020\u5546\u7F16\u53F7","Desktop client's\xA0project paths don't exits, please re-setting!":"\u5BA2\u6237\u7AEF\u7684\u5DE5\u7A0B\u8DEF\u5F84\u4E0D\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\uFF01","Active File":"\u5F53\u524D\u6587\u6863","Active Project":"\u5F53\u524D\u5DE5\u7A0B","Embed it in your html files.":"\u5D4C\u5165\u5230\u4F60\u7684\u7F51\u9875\u6587\u4EF6\u4E2D","Share it by e-mail, IM, blog, etc.":"\u901A\u8FC7\u90AE\u4EF6,QQ,\u535A\u5BA2,\u5FAE\u535A\u7B49\u5206\u4EAB","BBCode (used by many online discussion forums)":"BBCode(\u5927\u90E8\u5206\u8BBA\u575B\u652F\u6301\u8FD9\u79CD\u5206\u4EAB\u65B9\u5F0F)","HTML code":"HTML\u4EE3\u7801,\u9002\u5408\u63D2\u5165\u5230\u7F51\u9875\u4E2D","QRCode (Share your schematic address by QRCode )":"\u4EE5\u4E8C\u7EF4\u7801\u5206\u4EAB\u4F60\u7684\u7535\u8DEF\u56FE\u7F51\u5740","Short Url":"\u77ED\u7F51\u5740","Share a copy of this document":"\u5206\u4EAB\u5F53\u524D\u6587\u6863\u7684\u526F\u672C",Readonly:"\u53EA\u8BFB",Editable:"\u53EF\u7F16\u8F91","Active file's owner project page":"\u5F53\u524D\u6587\u6863\u6240\u5C5E\u5DE5\u7A0B\u7684\u9875\u9762","Active project editor page":"\u5F53\u524D\u5DE5\u7A0B\u7684\u7F16\u8F91\u5668\u6253\u5F00\u7F51\u5740","Active file image URL":"\u5F53\u524D\u6587\u6863\u7684\u56FE\u7247\u7F51\u5740","Cloud local sync":"\u4E91\u7AEF\u672C\u5730\u540C\u6B65","Please do not close the editor without completing the upload.":"\u672A\u5B8C\u6210\u4E0A\u4F20\u65F6\u8BF7\u4E0D\u8981\u5173\u95ED\u7F16\u8F91\u5668\u3002","Upload is complete":"\u4E0A\u4F20\u5DF2\u5B8C\u6210","The document has been updated. Please select the action you want.":"\u6587\u6863\u5B58\u5728\u66F4\u65B0\uFF0C\u8BF7\u9009\u62E9\u60A8\u9700\u8981\u7684\u64CD\u4F5C\u3002","Save the current version":"\u4FDD\u5B58\u5F53\u524D\u7248\u672C","Update to a new version":"\u66F4\u65B0\u5230\u65B0\u7248\u672C","Current version":"\u5F53\u524D\u7248\u672C","Updated version":"\u66F4\u65B0\u7248\u672C",modifier:"\u66F4\u65B0\u4EBA","Please select data first!":"\u8BF7\u5148\u9009\u62E9\u6570\u636E!","Please select group first!":"\u8BF7\u5148\u9009\u62E9\u5206\u7EC4!","The same pad pair already exists,please re-select!":"\u5DF2\u5B58\u5728\u76F8\u540C\u710A\u76D8\u5BF9\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9!","The same pad pair already exists in group {0},please re-select!":"\u5DF2\u5B58\u5728\u76F8\u540C\u710A\u76D8\u5BF9\u5728{0}\u7EC4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9!","Null network":"\u7A7A\u7F51\u7EDC","Pad1 is the same as pad2, please re-select!":"\u710A\u76D81\u4E0E\u710A\u76D82\u76F8\u540C\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9!","successfully deleted!":"\u5220\u9664\u6210\u529F!","failed to delete!":"\u5220\u9664\u5931\u8D25!","All Projects":"\u6240\u6709\u5DE5\u7A0B","Unsaved files":"\u672A\u4FDD\u5B58\u7684\u6587\u6863","Please choose the owner!":"\u8BF7\u9009\u62E9\u5F52\u5C5E\u8005!","Please upload the 3D file!":"\u8BF7\u4E0A\u4F203D\u6587\u4EF6!","Please select a file!":"\u8BF7\u9009\u4E2D\u4E00\u4E2A\u6587\u6863","Please expand the folder first, then select a document to recover.":"\u8BF7\u5148\u5C55\u5F00\u6587\u4EF6\u5939\uFF0C\u518D\u9009\u4E2D\u4E00\u4E2A\u6587\u6863\u5907\u4EFD\u8FDB\u884C\u6062\u590D\u3002","Are you sure you want to remove this backup?":"\u60A8\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u5907\u4EFD\u5417\uFF1F","Please open a project or CBB at editor first!":"\u8BF7\u5148\u5728\u7F16\u8F91\u5668\u6253\u5F00\u4E00\u4E2A\u5DE5\u7A0B\u6216\u8005\u590D\u7528\u6A21\u5757\uFF01",Search:"\u641C\u7D22","Search Results":"\u641C\u7D22\u7ED3\u679C","Search and press Enter":"\u6309\u56DE\u8F66\u952E\u641C\u7D22","Search Components,Footprints,Modules":"\u641C\u7D22\u5143\u4EF6\uFF0C\u5C01\u88C5\uFF0C\u6A21\u5757",Assembled:"\u53EF\u8D34\u7247",Verified:"\u5DF2\u8BA4\u8BC1","In stock":"\u53EF\u8D2D\u4E70","{page} of {pagecount} pages":"\u7B2C {page} \u9875 / \u5171 {pagecount} \u9875","EasyEDA Components":"EasyEDA\u5E93","EasyEDA Source":"\u5609\u7ACB\u521BEDA\u6587\u4EF6\u6E90\u7801","EasyEDA Professional File":"\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248\u6587\u4EF6","Common Modules":"\u901A\u7528\u6A21\u5757","User Contributions":"\u7528\u6237\u8D21\u732E","Add Favorite":"\u6DFB\u52A0\u6536\u85CF","Remove Favorite":"\u53D6\u6D88\u6536\u85CF","Remove/Add Favorite":"\u53D6\u6D88/\u6DFB\u52A0\u6536\u85CF","Remove/Add from Common Library":"\u79FB\u51FA/\u52A0\u5165\u5E38\u7528\u5E93","Add into Common Library":"\u52A0\u5165\u5E38\u7528\u5E93","Remove from Common Library":"\u79FB\u51FA\u5E38\u7528\u5E93","Add into Common Library Success":"\u52A0\u5165\u5E38\u7528\u5E93\u6210\u529F","Remove from Common Library Success":"\u79FB\u51FA\u5E38\u7528\u5E93\u6210\u529F","Add Sub Part":"\u6DFB\u52A0\u5B50\u5E93",Untagged:"\u65E0\u6807\u7B7E",Package:"\u5C01\u88C5",package:"\u5C01\u88C5","Title(PartNO)":"\u6807\u9898(\u96F6\u4EF6\u540D\u79F0)",footprint:"\u5C01\u88C5",Footprint:"\u5C01\u88C5",Quantity:"\u6570\u91CF",Manufacturer:"\u5236\u9020\u5546",manufacturer:"\u5236\u9020\u5546","JLCPCB Part Class":"\u5609\u7ACB\u521B\u5E93\u7C7B\u522B","JLCPCB Assembly Type":"\u5609\u7ACB\u521B\u710A\u63A5\u7C7B\u578B",voltage:"\u7535\u538B","Search Libraries":"\u641C\u7D22\u5E93","LCSC Assembled":"\u7ACB\u521B\u8D34\u7247","JLCPCB Assembled":"\u5609\u7ACB\u521B\u8D34\u7247","User Contributed":"\u7528\u6237\u8D21\u732E","SCH Libs":"\u539F\u7406\u56FE\u5E93","PCB Libs":"PCB\u5E93",Follow:"\u8DDF\u968F",Types:"\u7C7B\u578B",Classes:"\u5E93\u522B",power:"\u529F\u7387",Power:"\u529F\u7387","LCSC Part#":"\u7ACB\u521B\u5546\u57CE\u7F16\u53F7",Stock:"\u5E93\u5B58","Report Error...":"\u62A5\u544A\u9519\u8BEF...","Report Error":"\u62A5\u544A\u9519\u8BEF","Thanks for your feedback!":"\u611F\u8C22\u60A8\u7684\u53CD\u9988\uFF01","Report error success, thanks for your report!":"\u62A5\u544A\u9519\u8BEF\u6210\u529F\uFF0C\u611F\u8C22\u60A8\u7684\u53CD\u9988\uFF01","An error occurred while parsing the file":"\u89E3\u6790\u6587\u4EF6\u65F6\u51FA\u73B0\u9519\u8BEF","The content must be at least 2 characters!":"\u5185\u5BB9\u81F3\u5C11\u5305\u542B\u4E24\u4E2A\u5B57\u7B26\uFF01","Keyword must be at least 2 characters":"\u5173\u952E\u8BCD\u81F3\u5C11\u5305\u542B\u4E24\u4E2A\u5B57\u7B26","Please enter your keyword":"\u8BF7\u8F93\u5165\u9700\u8981\u641C\u7D22\u7684\u5173\u952E\u5B57","This library is user contributed, please check before using.":"\u8FD9\u4E2A\u5E93\u662F\u7528\u6237\u8D21\u732E\u5E93\uFF0C\u4F7F\u7528\u524D\u8BF7\u6CE8\u610F\u68C0\u67E5\u3002","@@lib":{All:"\u5168\u90E8",System:"\u7CFB\u7EDF\u5E93",Personal:"\u4E2A\u4EBA\u5E93",Created:"\u521B\u5EFA\u7684",Favorite:"\u6536\u85CF\u7684","Create a team":"\u521B\u5EFA\u56E2\u961F","No follow user found. Please follow your friend first.":"\u65E0\u5173\u6CE8\u7528\u6237\uFF0C\u8BF7\u5148\u8FDB\u884C\u5173\u6CE8\u3002"},"The save path is empty.":"\u4FDD\u5B58\u8DEF\u5F84\u4E3A\u7A7A","No Team found. Please join or create a team first.":"\u65E0\u56E2\u961F\uFF0C\u8BF7\u5148\u52A0\u5165\u6216\u521B\u5EFA\u4E00\u4E2A\u56E2\u961F\u3002","Create a team":"\u521B\u5EFA\u56E2\u961F","Manage Category":"\u7BA1\u7406\u5206\u7C7B\u5E93","Manage Categories":"\u7BA1\u7406\u5206\u7C7B","Create Component library":"\u521B\u5EFA\u5143\u4EF6\u5E93","Library name: {0} already exists":"\u5E93\u540D\u79F0: {0} \u5DF2\u5B58\u5728","Create Library Failed!":"\u521B\u5EFA\u5E93\u5931\u8D25\uFF01","Project name: {0} already exists":"\u5DE5\u7A0B\u540D\u79F0: {0} \u5DF2\u5B58\u5728","Project name: {0} contains special characters":"\u5DE5\u7A0B\u540D\u79F0: {0} \u5305\u542B\u7279\u6B8A\u5B57\u7B26","Offline Project path":"\u79BB\u7EBF\u5DE5\u7A0B\u8DEF\u5F84","Project path":"\u5DE5\u7A0B\u8DEF\u5F84","Reuse Block path":"\u590D\u7528\u6A21\u5757\u8DEF\u5F84","Online projects backup path":"\u5728\u7EBF\u5DE5\u7A0B\u5907\u4EFD\u8DEF\u5F84","Open the reuse block directory":"\u6253\u5F00\u590D\u7528\u6A21\u5757\u76EE\u5F55","The library does not exist yet, please create it first!":"\u8FD8\u4E0D\u5B58\u5728\u5143\u4EF6\u5E93\uFF0C\u8BF7\u5148\u521B\u5EFA\u5143\u4EF6\u5E93","The projectPath is empty":"\u4FDD\u5B58\u8DEF\u5F84\u4E3A\u7A7A","Favorite Schematic Lib":"\u6536\u85CF\u7684\u539F\u7406\u56FE\u5E93","Favorite Package":"\u6536\u85CF\u7684\u5C01\u88C5","Favorite Module":"\u6536\u85CF\u7684\u6A21\u5757",BUY:"\u8D2D\u4E70","In Stock":"\u4EF6\u5E93\u5B58","Out of Stock":"\u7F3A\u8D27",Minimum:"\u6700\u5C0F",Distributor:"\u9500\u552E\u5546",Capacitance:"\u7535\u5BB9","Power (Watts)":"\u529F\u7387","Power - Max":"\u529F\u7387(\u6700\u5927)",Frequency:"\u9891\u7387","Voltage Rating(Vdc,Vac)":"\u989D\u5B9A\u7535\u538B",Voltage:"\u989D\u5B9A\u7535\u538B","Current Rating":"\u989D\u5B9A\u7535\u6D41","Rated current":"\u989D\u5B9A\u7535\u6D41","Resistance (Ohms)":"\u963B\u503C","Resistance(Ohms)":"\u963B\u503C",Inductance:"\u7535\u611F","FET Type":"\u7C7B\u578B","Current Rating(Max)":"\u989D\u5B9A\u7535\u6D41(\u6700\u5927)","Impedance @ Frequency":"\u963B\u6297@\u9891\u7387","Voltage - Input (Max)":"\u8F93\u5165\u7535\u538B(\u6700\u5927)","Voltage - Input (Min)":"\u8F93\u5165\u7535\u538B(\u6700\u5C0F)","Voltage - Supply":"\u4F9B\u7535\u7535\u538B","Voltage - Max":"\u6700\u5927\u7535\u538B","Current - Output":"\u8F93\u51FA\u7535\u6D41","Export Altium Designer":"\u5BFC\u51FAAltium Designer","Export PADS":"\u5BFC\u51FA PADS","Notice:":"\u6CE8\u610F\uFF1A","Because the different file format and object design, the format translation will has some different, please check carefully after exported.":"\u56E0\u683C\u5F0F\u548C\u56FE\u5143\u7684\u8BBE\u8BA1\u4E0D\u4E00\u81F4\uFF0C\u683C\u5F0F\u8F6C\u6362\u4F1A\u6709\u4E00\u5B9A\u7684\u5DEE\u5F02\uFF0C\u5BFC\u51FA\u540E\u8BF7\u52A1\u5FC5\u4ED4\u7EC6\u68C0\u67E5\u3002","Because the different file format and object design, the format translation will has some different, please check carefully at Altium Designer after exported.":"\u56E0\u683C\u5F0F\u548C\u56FE\u5143\u7684\u8BBE\u8BA1\u4E0D\u4E00\u81F4\uFF0C\u683C\u5F0F\u8F6C\u6362\u4F1A\u6709\u4E00\u5B9A\u7684\u5DEE\u5F02\uFF0C\u5BFC\u51FA\u540E\u8BF7\u52A1\u5FC5\u5728 Altium Designer \u4ED4\u7EC6\u68C0\u67E5\u3002","Because the different file format and object design, the format translation will has some different, please check carefully at PADS after exported.":"\u56E0\u683C\u5F0F\u548C\u56FE\u5143\u7684\u8BBE\u8BA1\u4E0D\u4E00\u81F4\uFF0C\u683C\u5F0F\u8F6C\u6362\u4F1A\u6709\u4E00\u5B9A\u7684\u5DEE\u5F02\uFF0C\u5BFC\u51FA\u540E\u8BF7\u52A1\u5FC5\u5728 PADS \u4ED4\u7EC6\u68C0\u67E5\u3002","Please\xA0export Gerber file instead of exporting Altium if you are going to do PCB manufacturing. All PCB factories support the Gerber file.":"\u5982\u679C\u4F60\u9700\u8981\u751F\u4EA7PCB\uFF0C\u5EFA\u8BAE\u4F7F\u7528Gerber\u6587\u4EF6\u800C\u4E0D\u662F\u5BFC\u51FAAltium\u6587\u4EF6\uFF0C\u677F\u5382\u5747\u652F\u6301\u4F7F\u7528Gerber\u751F\u4EA7PCB\u3002","Please\xA0export Gerber file instead of exporting PADS if you are going to do PCB manufacturing. All PCB factories support the Gerber file.":"\u5982\u679C\u4F60\u9700\u8981\u751F\u4EA7PCB\uFF0C\u5EFA\u8BAE\u4F7F\u7528Gerber\u6587\u4EF6\u800C\u4E0D\u662F\u5BFC\u51FAPADS\u6587\u4EF6\uFF0C\u677F\u5382\u5747\u652F\u6301\u4F7F\u7528Gerber\u751F\u4EA7PCB\u3002","Please be sure to read the notice before exporting:":"\u5BFC\u51FA\u524D\u8BF7\u52A1\u5FC5\u9605\u8BFB\uFF1A","EasyEDA\xA0are not responsible for any loss of fabrication\xA0due to export differences.":"\u5609\u7ACB\u521BEDA\u4E0D\u627F\u62C5\u56E0\u5BFC\u51FA\u5DEE\u5F02\u5BFC\u81F4\u7684\u4EFB\u4F55\u751F\u4EA7\u635F\u5931\u3002","I have learned and agreed, contiune to export":"\u6211\u5DF2\u77E5\u6089\u5E76\u540C\u610F\uFF0C\u7EE7\u7EED\u5BFC\u51FA","Export Altium Designer/PADS Notice and Disclaimer":"\u5BFC\u51FA Altium Designer/PADS \u6CE8\u610F\u4E8B\u9879\u4E0E\u514D\u8D23\u58F0\u660E","Export your works":"\u5BFC\u51FA\u4F60\u7684\u4F5C\u54C1","Export to":"\u5BFC\u51FA\u4E3A","Active File->pdf(1:1)":"\u5F53\u524D\u6587\u4EF6->PDF(1:1)","Active File->image":"\u5F53\u524D\u6587\u4EF6->PNG","Active File->SVG":"\u5F53\u524D\u6587\u4EF6->SVG","You can backup your EasyEDA json file to your local hard disk and import it at any time.":"\u4F60\u53EF\u4EE5\u5C06EasyEDA json\u6587\u4EF6\u5907\u4EFD\u5230\u672C\u5730\u786C\u76D8\uFF0C\u4EE5\u540E\u968F\u65F6\u5BFC\u5165\u3002",Zoom:"\u7F29\u653E","Image Type":"\u56FE\u7247\u7C7B\u578B",Qualify:"\u54C1\u8D28","0 means real size":"0\u4EE3\u8868\u5B9E\u9645\u5C3A\u5BF8","Merged layer":"\u5408\u5E76\u5C42","Separated layer":"\u5206\u79BB\u5C42","Paged layer":"\u5206\u9875\u5C42","A Multi Page PDF":"\u5355\u4E2A\u591A\u9875PDF","Multiple Single Page PDF":"\u591A\u4E2A\u5355\u9875PDF","A Single Page PDF":"\u5355\u4E2A\u5355\u9875PDF","Import pdf config failed, Invalid Format.":"\u5BFC\u5165pdf\u914D\u7F6E\u5931\u8D25\uFF0C\u6570\u636E\u683C\u5F0F\u9519\u8BEF\u3002",Export:"\u5BFC\u51FA",Mirror:"\u955C\u50CF",Reversed:"\u53CD\u76F8","Reversed Extend":"\u53CD\u76F8\u6269\u5C55",Typeface:"\u5B57\u4F53",TopLayer:"\u9876\u5C42",BottomLayer:"\u5E95\u5C42",TopSilkLayer:"\u9876\u5C42\u4E1D\u5370\u5C42","Protractor Attributes":"\u91CF\u89D2\u5668\u5C5E\u6027","Protractor Dimension":"\u91CF\u89D2\u5668\u5C3A\u5BF8","You can only add up to 30 custom layers!":"\u6700\u591A\u53EA\u80FD\u6DFB\u52A030\u4E2A\u81EA\u5B9A\u4E49\u5C42\uFF01","Full Color":"\u5168\u5F69",Canvas:"\u753B\u5E03","Canvas Setting":"\u753B\u5E03\u8BBE\u7F6E","Full Graphics":"\u5168\u56FE\u5F62","Assembly Drawings":"\u88C5\u914D\u56FE","Object Outlines":"\u5143\u7D20\u8FB9\u754C","Show outline only":"\u4EC5\u663E\u793A\u8F6E\u5ED3","Invalid file format":"\u65E0\u6548\u7684\u6587\u4EF6\u683C\u5F0F","Failed to export file":"\u5BFC\u51FA\u6587\u4EF6\u5931\u8D25","Download now":"\u7ACB\u5373\u4E0B\u8F7D","Unlock now":"\u7ACB\u5373\u89E3\u9501","Wire Width":"\u7EBF\u5BBD",Sheet:"\u9875\u9762","Merged sheet":"\u5408\u5E76\u9875\u9762","Separated sheet":"\u5355\u72EC\u9875\u9762",Engine:"\u5F15\u64CE","Exporting PDF":"\u5BFC\u51FAPDF","Exporting PNG":"\u5BFC\u51FAPNG","PDF/Image...":"PDF/\u56FE\u7247...","Export EDIF":"\u5BFC\u51FAEDIF","Output Method":"\u8F93\u51FA\u65B9\u5F0F",Range:"\u8303\u56F4","Circle Pad/Via":"\u5706\u5F62\u710A\u76D8/\u8FC7\u5B54","Width(W):":"\u5BBD\u5EA6(W)\uFF1A","Height(H):":"\u9AD8\u5EA6(H)\uFF1A","Width(W)":"\u5BBD\u5EA6(W)","Height(H)":"\u9AD8\u5EA6(H)","Only Selected":"\u4EC5\u9009\u4E2D","Rectangle/Oval/Polygon Pad":"\u77E9\u5F62/\u957F\u5706\u5F62/\u591A\u8FB9\u5F62\u710A\u76D8","File Type:":"\u6587\u4EF6\u7C7B\u578B:","Template:":"\u6A21\u677F:","Click here to select file":"\u70B9\u51FB\u6B64\u5904\u9009\u62E9\u6587\u4EF6","Export Failed:":"\u5BFC\u51FA\u5931\u8D25\uFF1A","Export Failed!":"\u5BFC\u51FA\u5931\u8D25\uFF01","Export Layer":"\u5BFC\u51FA\u5C42","Select Layer":"\u9009\u62E9\u5C42","Export Object":"\u5BFC\u51FA\u5BF9\u8C61","AutoCAD Version":"AutoCAD \u7248\u672C","PDF Page":"PDF\u9875","PDF Page Name/Config":"PDF\u9875\u540D\u79F0/\u914D\u7F6E","Top Assembly Drawings":"\u88C5\u914D\u56FE\u9876\u5C42","Bottom Assembly Drawings":"\u88C5\u914D\u56FE\u5E95\u5C42","Import Config":"\u5BFC\u5165\u914D\u7F6E","Export Config":"\u5BFC\u51FA\u914D\u7F6E","Current PCB":"\u5F53\u524DPCB","Always 1px":"\u59CB\u7EC81px","@@exportDocument":{Size:"\u5C3A\u5BF8","Top/Bottom Slot Region":"\u9876/\u5E95\u9762\u6316\u69FD\u533A\u57DF","Side Slot Region":"\u4FA7\u9762\u6316\u69FD\u533A\u57DF",BOM:"BOM\u8868","Top Auto Designator Placement":"\u9876\u9762\u81EA\u52A8\u4F4D\u53F7\u56FE","Bottom Auto Designator Placement":"\u5E95\u9762\u81EA\u52A8\u4F4D\u53F7\u56FE",Single:"\u5355\u4E2A"},"Confirm Importing changes information":"\u786E\u8BA4\u5BFC\u5165\u4FE1\u606F","You can't undo this operation, Please run a Design Rule Check (DRC) after this operation.":"\u4F60\u4E0D\u80FD\u64A4\u9500\u8BE5\u64CD\u4F5C, \u5B8C\u6210\u8BE5\u64CD\u4F5C\u540E,\u8BF7\u8FD0\u884C\u4E00\u6B21\u8BBE\u8BA1\u89C4\u5219(DRC)\u9A8C\u8BC1","Apply Changes":"\u5E94\u7528\u4FEE\u6539","This is a simple Design Rule Check (DRC).":"\u8FD9\u53EA\u662F\u7B80\u5355\u7684\u8BBE\u8BA1\u89C4\u5219(DRC)\u9A8C\u8BC1","It just can help you to find the obvious errors":"\u4EC5\u80FD\u5E2E\u4F60\u53D1\u73B0\u90E8\u5206\u5F88\u660E\u663E\u7684\u9519\u8BEF","There are some unfinished nets, do you want to check the nets first?":"\u5B58\u5728\u672A\u5B8C\u6210\u7684\u7F51\u7EDC\uFF0C\u662F\u5426\u5148\u68C0\u67E5\u7F51\u7EDC\uFF1F","Yes, Check Nets":"\u662F\uFF0C\u68C0\u67E5\u7F51\u7EDC","No, Keep Going":"\u5426\uFF0C\u7EE7\u7EED\u8FDB\u884C","@@layerName":{All:"\u6240\u6709"},Configured:"\u53EF\u914D\u7F6E","Layer Name":"\u5C42\u540D\u79F0",TopPasterLayer:"\u9876\u5C42\u9521\u818F",BottomPasterLayer:"\u5E95\u5C42\u9521\u818F",TopSolderLayer:"\u9876\u5C42\u963B\u710A",BottomSolderLayer:"\u5E95\u5C42\u963B\u710A",TopPasteMaskLayer:"\u9876\u5C42\u9521\u818F",BottomPasteMaskLayer:"\u5E95\u5C42\u9521\u818F",TopSolderMaskLayer:"\u9876\u5C42\u963B\u710A",BottomSolderMaskLayer:"\u5E95\u5C42\u963B\u710A",ComponentShapeLayer:"\u5143\u4EF6\u5916\u5F62\u5C42",LeadShapeLayer:"\u5F15\u811A\u5916\u5F62\u5C42",Ratlines:"\u98DE\u7EBF",Ratline:"\u98DE\u7EBF","Net Classes":"\u7F51\u7EDC\u7C7B",Differentails:"\u5DEE\u5206\u5BF9",Differentail:"\u5DEE\u5206\u5BF9","Hide Selected":"\u9690\u85CF\u6240\u9009","Hide Component Ratlines":"\u9690\u85CF\u5668\u4EF6\u98DE\u7EBF","Hide All":"\u9690\u85CF\u5168\u90E8","Show Selected":"\u663E\u793A\u6240\u9009",Selected:"\u5DF2\u9009","Show Component Ratlines":"\u663E\u793A\u5668\u4EF6\u98DE\u7EBF","Show All":"\u663E\u793A\u5168\u90E8","Ratlines Color":"\u98DE\u7EBF\u989C\u8272","Manage Colors":"\u7BA1\u7406\u989C\u8272",BoardOutline:"\u677F\u6846",Document:"\u6587\u6863",Hole:"\u94BB\u5B54",DRCError:"DRC \u9519\u8BEF",Setting:"\u8BBE\u7F6E","Drawing area":"\u753B\u56FE\u533A\u57DF","Export area":"\u5BFC\u51FA\u533A\u57DF","Transparency(%)":"\u900F\u660E\u5EA6(%)","Border Color":"\u8FB9\u6846\u989C\u8272","Border Line Style":"\u8FB9\u6846\u7EBF\u578B","Transparency(Print,White)":"\u900F\u660E\u5EA6(\u6253\u5370\u5C42,\u767D\u5E95)","White Transparency":"\u767D\u5E95\u900F\u660E\u5EA6","Print Transparency":"\u6253\u5370\u5C42\u900F\u660E\u5EA6","Copper Layer":"\u94DC\u7B94\u5C42",Signal:"\u4FE1\u53F7\u5C42","@@layerManager":{Plane:"\u5185\u7535\u5C42",Enable:"\u5F00\u542F",Disable:"\u4E0D\u5F00\u542F"},"@@layerManagerDialog":{Copper:"\u542B\u94DC","No copper":"\u4E0D\u542B\u94DC"},Plane:"\u5E73\u9762","Import layer manager config failed.":"\u5BFC\u5165\u56FE\u5C42\u7BA1\u7406\u5668\u914D\u7F6E\u5931\u8D25\u3002","Non-Signal":"\u975E\u4FE1\u53F7\u5C42","Please delete or adjust all the objects of the layers and the design rules of the blind/buried hole first:":"\u8BF7\u5148\u5220\u9664\u6216\u8C03\u6574\u5BF9\u5E94\u5C42\u7684\u5168\u90E8\u56FE\u5143\uFF0C\u4E0E\u5BF9\u5E94\u5C42\u7684\u76F2\u57CB\u5B54\u7684\u8BBE\u8BA1\u89C4\u5219\uFF1A","You are converting Signal Layer to Plane Layer, There're some non-track objects remain on following layers. Please delete the objects manually on the canvas.":"\u4F60\u6B63\u5728\u5C06\u4FE1\u53F7\u5C42\u8F6C\u4E3A\u5185\u7535\u5C42\u3002\u4EE5\u4E0B\u5C42\u4E2D\u6709\u4E9B\u975E\u5BFC\u7EBF\u7684\u5143\u7D20\uFF0C\u8BF7\u624B\u52A8\u5C06\u5B83\u4EEC\u5220\u9664\u3002","Please delete all the objects of this layer first!":"\u8BF7\u5148\u5220\u9664\u8BE5\u5C42\u7684\u6240\u6709\u5143\u7D20\uFF01","Devices have not been added to the project library, project library has devices with different versions from the same source,":"\u5668\u4EF6\u672A\u52A0\u5165\u5DE5\u7A0B\u5E93\uFF0C\u5DE5\u7A0B\u5E93\u6709\u540C\u6E90\u4E0D\u540C\u7248\u672C\u7684\u5668\u4EF6,","Symbols have not been added to the project library, project library has symbols with different versions from the same source,":"\u7B26\u53F7\u672A\u52A0\u5165\u5DE5\u7A0B\u5E93\uFF0C\u5DE5\u7A0B\u5E93\u6709\u540C\u6E90\u4E0D\u540C\u7248\u672C\u7684\u7B26\u53F7,","Footprints have not been added to the project library, project library has footprints with different versions from the same source,":"\u5C01\u88C5\u672A\u52A0\u5165\u5DE5\u7A0B\u5E93\uFF0C\u5DE5\u7A0B\u5E93\u6709\u540C\u6E90\u4E0D\u540C\u7248\u672C\u7684\u5C01\u88C5,","It is recommended to update the project library:":"\u5EFA\u8BAE\u4F7F\u7528\u66F4\u65B0\u5DE5\u7A0B\u5E93:","Devices have not been added to the project library, project library has devices with same versions from the same source :":"\u5668\u4EF6\u672A\u52A0\u5165\u5DE5\u7A0B\u5E93\uFF0C\u5DE5\u7A0B\u5E93\u6709\u540C\u6E90\u540C\u7248\u672C\u7684\u5668\u4EF6\uFF1A","Symbols have not been added to the project library, project library has symbols with same versions from the same source :":"\u7B26\u53F7\u672A\u52A0\u5165\u5DE5\u7A0B\u5E93\uFF0C\u5DE5\u7A0B\u5E93\u6709\u540C\u6E90\u540C\u7248\u672C\u7684\u7B26\u53F7\uFF1A","Footprints have not been added to the project library, project library has footprints with same versions from the same source :":"\u5C01\u88C5\u672A\u52A0\u5165\u5DE5\u7A0B\u5E93\uFF0C\u5DE5\u7A0B\u5E93\u6709\u540C\u6E90\u540C\u7248\u672C\u7684\u5C01\u88C5\uFF1A","Devices are automatically renamed when they are added to the project library :":"\u5668\u4EF6\u52A0\u5165\u5DE5\u7A0B\u5E93\u65F6\u88AB\u81EA\u52A8\u91CD\u547D\u540D\uFF1A","Symbols are automatically renamed when they are added to the project library :":"\u7B26\u53F7\u52A0\u5165\u5DE5\u7A0B\u5E93\u65F6\u88AB\u81EA\u52A8\u91CD\u547D\u540D\uFF1A","Footprints are automatically renamed when they are added to the project library :":"\u5C01\u88C5\u52A0\u5165\u5DE5\u7A0B\u5E93\u65F6\u88AB\u81EA\u52A8\u91CD\u547D\u540D\uFF1A","Create Files":"\u8F93\u51FA\u6587\u4EF6","Check your {0}Gerber files{1} carefully before sending them to the factory":"\u53D1\u9001\u5230\u5DE5\u5382\u524D\uFF0C\u8BF7\u4ED4\u7EC6\u68C0\u67E5\u4F60\u7684{0}Gerber\u6587\u4EF6{1}","Download free Gerber Viewer (gerbv)":"\u4E0B\u8F7D\u514D\u8D39\u5F00\u6E90\u7684Gerber\u6587\u4EF6\u67E5\u770B\u8F6F\u4EF6","Before generating the Gerber files":"\u5728\u751F\u6210Gerber\u524D","Please check the packages size and orientation carefully.":"\u8BF7\u4ED4\u7EC6\u68C0\u67E5\u5C01\u88C5\u5C3A\u5BF8\uFF0C\u6781\u6027\u3002","Please check for Design Rule Check (DRC) errors in the Design Manager.":"\u8BF7\u5728\u8BBE\u8BA1\u7BA1\u7406\u5668\u68C0\u67E5\u8BBE\u8BA1\u89C4\u5219(DRC)\u9519\u8BEF\u3002","Please rebuild the copper area after modifying tracks and packages.":"\u8BF7\u786E\u4FDD\u5728\u4FEE\u6539\u5C01\u88C5\u548C\u5E03\u7EBF\u540E\u5DF2\u7ECF\u91CD\u65B0\u94FA\u94DC\u3002","After generating the Gerber file, please use the {0}Gerber Viewer{1} to check whether it conforms to the design requirements.":"\u5728\u751F\u6210Gerber\u540E\uFF0C\u8BF7\u4F7F\u7528{0}Gerber\u9884\u89C8\u5668{1}\u67E5\u770BGerber\u56FE\u5F62\u662F\u5426\u7B26\u5408\u8BBE\u8BA1\u8981\u6C42\u3002","Order at JLCPCB":"\u5728\u5609\u7ACB\u521B\u4E0B\u5355","Fanout Setting":"\u6247\u51FA\u8BBE\u7F6E",modify:"\u4FEE\u6539","@@batchFanout":{"Fanout Option":"\u6247\u51FA\u9009\u9879","Operation Type":"\u64CD\u4F5C\u7C7B\u578B",Add:"\u65B0\u589E",add:"\u65B0\u589E",Remove:"\u79FB\u9664","Fanout Type":"\u6247\u51FA\u7C7B\u578B","Via in Pad":"\u76D8\u4E2D\u5B54",Top:"\u4E0A",Bottom:"\u4E0B",Left:"\u5DE6",Right:"\u53F3","Upper Left":"\u5DE6\u4E0A","Lower Left":"\u5DE6\u4E0B","Upper Right":"\u53F3\u4E0A","Lower Right":"\u53F3\u4E0B",Outward:"\u5411\u5916",Inward:"\u5411\u5185","Out/In":"\u5411\u5916\u548C\u5411\u5185","Fanout Direction":"\u6247\u51FA\u65B9\u5411","Via - Pad Spacing":"\u8FC7\u5B54-\u710A\u76D8\u95F4\u8DDD","Pad Center":"\u710A\u76D8\u4E2D\u5FC3",Custom:"\u81EA\u5B9A\u4E49","Min Channel Space":"\u6700\u5C0F\u901A\u9053\u95F4\u8DDD","Include Unassigned Pins":"\u65E0\u7F51\u7EDC\u710A\u76D8\u6247\u51FA","Fanout Outer 2 Rows of Pads":"\u6247\u51FA\u5916\u9762\u4E24\u884C\u710A\u76D8","Ignore DRC When Fanning Out":"\u6247\u51FA\u65F6\u5FFD\u7565DRC","Track Via Property":"\u5BFC\u7EBF\u5C5E\u6027","Follow Rule":"\u8DDF\u968F\u89C4\u5219","Track Width":"\u7EBF\u5BBD","Via Type":"\u8FC7\u5B54\u7C7B\u578B"},"Please select the component or pad to fanout on the canvas":"\u8BF7\u5728\u753B\u5E03\u9009\u62E9\u8981\u6247\u51FA\u7684\u5143\u4EF6\u6216\u710A\u76D8","@@pcbDRCCustomConfig":{Track:"\u5BFC\u7EBF",track:"\u5BFC\u7EBF",Pad:"\u710A\u76D8",pad:"\u710A\u76D8","SMD Pad":"\u8D34\u7247\u710A\u76D8","TH Pad":"\u63D2\u4EF6\u710A\u76D8",Hole:"\u94BB\u5B54",hole:"\u94BB\u5B54",Via:"\u8FC7\u5B54",via:"\u8FC7\u5B54","Fill region":"\u586B\u5145\u533A\u57DF","fill region":"\u586B\u5145\u533A\u57DF","Slot region":"\u6316\u69FD\u533A\u57DF","slot region":"\u6316\u69FD\u533A\u57DF",Line:"\u7EBF\u6761",line:"\u7EBF\u6761","Text/Image":"\u6587\u672C/\u56FE\u7247","Text/image":"\u6587\u672C/\u56FE\u7247","text/image":"\u6587\u672C/\u56FE\u7247","Board outline":"\u677F\u6846","board outline":"\u677F\u6846",Component:"\u5143\u4EF6",component:"\u5143\u4EF6","Copper zone":"\u94FA\u94DC","Copper Zone":"\u94FA\u94DC","Plane zone":"\u5185\u7535\u5C42","Plane Zone":"\u5185\u7535\u5C42","Prohibited Region":"\u7981\u6B62\u533A\u57DF","thru pad":"\u591A\u5C42\u710A\u76D8","Thru pad":"\u591A\u5C42\u710A\u76D8","SMD component":"SMD\u5143\u4EF6","{0} to {1} distance":"{0} \u5230 {1} \u7684\u95F4\u8DDD","Prohibited region and other object overlap":"\u7981\u6B62\u533A\u57DF\u4E0E\u5176\u4ED6\u5BF9\u8C61\u6709\u91CD\u53E0","The distance between two objects in the same footprint violates the DRC value":"\u540C\u4E00\u5C01\u88C5\u5185\u7684\u4E24\u56FE\u5143\u95F4\u8DDD\u8FDD\u53CDDRC\u503C","Track width min":"\u5BFC\u7EBF\u6700\u5C0F\u7EBF\u5BBD","Track width max":"\u5BFC\u7EBF\u6700\u5927\u7EBF\u5BBD","Net length min":"\u6700\u5C0F\u7F51\u7EDC\u957F\u5EA6","Net length max":"\u6700\u5927\u7F51\u7EDC\u957F\u5EA6","Via size min":"\u6700\u5C0F\u8FC7\u5B54\u5C3A\u5BF8","Via size max":"\u6700\u5927\u8FC7\u5B54\u5C3A\u5BF8","Object is disconnected from other object of the same network":"\u5BF9\u8C61\u4E0E\u5176\u4ED6\u76F8\u540C\u7F51\u7EDC\u7684\u5BF9\u8C61\u65AD\u5F00\u8FDE\u63A5","Free copper region":"\u6E38\u79BB\u7684\u94DC\u5757","Free track":"\u6E38\u79BB\u7684\u5BFC\u7EBF","Free line":"\u6E38\u79BB\u7684\u7EBF\u6761","Schematic Netlist":"\u539F\u7406\u56FE\u7F51\u8868","PCB Netlist":"PCB\u7F51\u8868","Free fill region":"\u6E38\u79BB\u7684\u586B\u5145\u533A\u57DF","Differential pair track width min":"\u5DEE\u5206\u5BF9\u6700\u5C0F\u7EBF\u5BBD","Differential pair track width max":"\u5DEE\u5206\u5BF9\u6700\u5927\u7EBF\u5BBD","Differential pair spacing min":"\u5DEE\u5206\u5BF9\u6700\u5C0F\u95F4\u8DDD","Differential pair length tolerance max":"\u5DEE\u5206\u5BF9\u6700\u5927\u957F\u5EA6\u8BEF\u5DEE","There is a difference between the netlist of the schematic under the same board":"\u4E0E\u540C\u677F\u5B50\u4E0B\u539F\u7406\u56FE\u7684\u7F51\u8868\u5DEE\u5F02","{0} Spacing":"{0}\u95F4\u8DDD","Hole Size":"\u5B54\u5F84",Connection:"\u8FDE\u63A5\u6027","Differential Pair":"\u5DEE\u5206\u5BF9"},"Check Now":"\u7ACB\u5373\u68C0\u67E5",Item:"\u9879\u76EE",Value:"\u503C",value:"\u503C",Unit:"\u5355\u4F4D","Track Width":"\u7EBF\u5BBD","Track to Track":"\u7EBF\u8DDD","Track to Pad":"\u7EBF\u5230\u710A\u76D8","Pad to Pad":"\u710A\u76D8\u5230\u710A\u76D8","Via to Via":"\u8FC7\u5B54\u95F4\u8DDD","Via Hole Size":"\u8FC7\u5B54\u76F4\u5F84","Realtime DRC":"\u5B9E\u65F6\u8BBE\u8BA1\u89C4\u5219\u68C0\u6D4B","{0} is too small!":"{0}\u7684\u503C\u592A\u5C0F","Invalid DRC Rule":"\u65E0\u6548\u7684DRC\u89C4\u5219",Rule:"\u89C4\u5219","Via Diameter":"\u8FC7\u5B54\u5C3A\u5BF8","Via Drill Diameter":"\u5B54\u5185\u5F84","Net List":"\u7F51\u7EDC\u5217\u8868","Set Rule":"\u8BBE\u7F6E\u89C4\u5219","Check Object to Copper Area":"\u68C0\u6D4B\u5143\u7D20\u5230\u94FA\u94DC\u7684\u8DDD\u79BB","Show DRC Boundary while Routing":"\u5728\u5E03\u7EBF\u65F6\u663E\u793ADRC\u5B89\u5168\u8FB9\u754C","Check Object to Board Outline":"\u68C0\u6D4B\u5143\u7D20\u5230\u8FB9\u6846\u7684\u8DDD\u79BB","Rule name already exists!":"\u89C4\u5219\u5DF2\u5B58\u5728\uFF01","You should not delete default rule!":"\u4E0D\u80FD\u5220\u9664\u9ED8\u8BA4\u7684\u89C4\u5219\uFF01","Rule list contains invalid rule setting!":"\u53D1\u73B0\u6709\u65E0\u6548\u7684\u89C4\u5219\u8BBE\u7F6E\uFF01","Duplicate rule name exists!":"\u53D1\u73B0\u6709\u91CD\u590D\u7684\u89C4\u5219\u540D\u79F0\uFF01","Duplicate name exists!":"\u53D1\u73B0\u6709\u91CD\u590D\u7684\u540D\u79F0\uFF01","Empty name exists!":"\u53D1\u73B0\u6709\u7A7A\u7684\u540D\u79F0\uFF01","via diameter is smaller than via drill diameter!":"\u5B54\u5916\u5F84\u6BD4\u5B54\u5185\u5F84\u8FD8\u5C0F\uFF01","Currently rule name is not allowed to contain magical characters like . and $":"\u76EE\u524D\u89C4\u5219\u540D\u79F0\u4E0D\u5141\u8BB8\u51FA\u73B0\u201C.\u201D\u53CA\u201C$\u201D\u7B49\u7279\u6B8A\u5B57\u7B26\uFF01","Update the symbol's package":"\u66F4\u65B0\u5668\u4EF6\u7684\u5C01\u88C5","Invalid Package":"\u9519\u8BEF\u7684\u5C01\u88C5","The package's PAD number is different from the symbol's PIN number, e.g. the diode package's PAD numbers are [A,C] but the symbol's PIN numbers are [1,2]. You just need to change one to fit the other. It is case sensitive!":"\u5C01\u88C5\u710A\u76D8\u7684\u7F16\u53F7\u4E0E\u5E93\u6587\u4EF6\u7684\u5F15\u811A\u7684\u7F16\u53F7\u4E0D\u4E00\u81F4\uFF0C\u5982\u4E8C\u6781\u7BA1\u7684\u5C01\u88C5\u7684\u710A\u76D8\u7684\u7F16\u53F7\u662F[A C],\u4F46\u662F\u5176\u5F15\u811A\u7684\u7F16\u53F7\u662F[1,2],\u4F60\u53EA\u8981\u6539\u53D8\u671F\u4E2D\u7684\u4EFB\u4F55\u4E00\u4E2A\uFF0C\u5927\u5C0F\u5199\u654F\u611F\u3002","Update PCB(Synchronizing PCB from schematics)":"\u66F4\u65B0PCB(\u540C\u6B65\u539F\u7406\u56FE\u4E0EPCB)","Change Canvas Unit":"\u4FEE\u6539\u753B\u5E03\u5355\u4F4D","Copy Selected Object(s) by Reference Point":"\u6839\u636E\u53C2\u8003\u70B9\u590D\u5236\u5143\u7D20",Fullscreen:"\u5168\u5C4F","Undo the Previous Draw":"\u64A4\u9500\u5230\u4E0A\u6B21\u7ED8\u5236","Undo the Inflection Point":"\u64A4\u9500\u62D0\u70B9","Set Canvas Origin by Coordinate":"\u6253\u5F00\u539F\u70B9\u5750\u6807\u5BF9\u8BDD\u6846","Switch to the Next Signal Layer":"\u5207\u6362\u5230\u4E0B\u4E00\u4E2A\u94DC\u5C42","Switch to the Previous Signal Layer":"\u5207\u6362\u5230\u4E0A\u4E00\u4E2A\u94DC\u5C42","Switch object to top layer or bottom layer":"\u5C06\u5143\u7D20\u5207\u6362\u5230\u9876\u5C42\u6216\u5E95\u5C42","Cycle Forward to the Next Open Tabbed Document":"\u5FAA\u73AF\u5207\u6362\u5230\u4E0B\u4E00\u4E2A\u6807\u7B7E","Cycle Backward to the Previous Open Tabbed Document":"\u5FAA\u73AF\u5207\u6362\u5230\u4E0A\u4E00\u4E2A\u6807\u7B7E","Cycle Forward to the Next Operation Tabbed Document":"\u5FAA\u73AF\u5207\u6362\u5230\u4E0B\u4E00\u4E2A\u64CD\u4F5C\u7684\u6807\u7B7E","Cycle Backward to the Previous Operation Tabbed Document":"\u5FAA\u73AF\u5207\u6362\u5230\u4E0A\u4E00\u4E2A\u64CD\u4F5C\u7684\u6807\u7B7E","Switch to the Previous Layer(on the Numeric Keypad)":"\u5207\u6362\u81F3\u4E0A\u4E00\u4E2A\u5C42(\u6570\u5B57\u952E\u76D8)","Switch to the Next Layer(on the Numeric Keypad)":"\u5207\u6362\u81F3\u4E0B\u4E00\u4E2A\u5C42(\u6570\u5B57\u952E\u76D8)","Toggle Layers Which is Not Active":"\u663E\u793A\u6216\u9690\u85CF\u672A\u9009\u4E2D\u7684\u5C42","Hotkey Setting":"\u5FEB\u6377\u952E","Document Type":"\u6587\u6863\u7C7B\u578B",Shortcut:"\u5FEB\u6377\u952E",Function:"\u529F\u80FD",ALL:"\u6240\u6709",SCH:"\u539F\u7406\u56FE","Rotate Selected Objects":"\u65CB\u8F6C\u6240\u9009\u56FE\u5F62","Scroll View towards Left":"\u5411\u5DE6\u6EDA\u52A8\u89C6\u56FE","Scroll View towards Right":"\u5411\u53F3\u6EDA\u52A8\u89C6\u56FE","Scroll View towards Up":"\u5411\u4E0A\u6EDA\u52A8\u89C6\u56FE","Scroll View towards Down":"\u5411\u4E0B\u6EDA\u52A8\u89C6\u56FE","Scroll or Move Selected Left":"\u5411\u5DE6\u6EDA\u52A8\u6216\u8005\u5DE6\u79FB\u6240\u9009\u56FE\u5F62","Scroll or Move Selected Right":"\u5411\u53F3\u6EDA\u52A8\u6216\u8005\u53F3\u79FB\u6240\u9009\u56FE\u5F62","Scroll or Move Selected Up":"\u5411\u4E0A\u6EDA\u52A8\u6216\u8005\u4E0A\u79FB\u6240\u9009\u56FE\u5F62","Scroll or Move Selected Down":"\u5411\u4E0B\u6EDA\u52A8\u6216\u8005\u4E0B\u79FB\u6240\u9009\u56FE\u5F62","Cross Document Paste":"\u8DE8\u6587\u6863\u7C98\u8D34","Explore & Find Components":"\u6D4F\u89C8\u4E0E\u67E5\u627E\u5143\u4EF6\u5E93","Select All":"\u5168\u9009",Overlap:"\u91CD\u53E0","Please draw a path":"\u8BF7\u7ED8\u5236\u8DEF\u5F84","@@select-object":{All:"\u6240\u6709"},"Rectangle Outside":"\u77E9\u5F62\u5916\u90E8","Rectangle Inside":"\u77E9\u5F62\u5185\u90E8","Polygon Inside":"\u591A\u8FB9\u5F62\u5185\u90E8","Polygon Outside":"\u591A\u8FB9\u5F62\u5916\u90E8","Line Touched":"\u63A5\u89E6\u5230\u7EBF\u6761\u7684","Connected Copper":"\u8FDE\u63A5\u7684\u94DC\u76AE","Cancel Current Drawing":"\u53D6\u6D88\u7ED8\u5236",Save:"\u4FDD\u5B58","Drag Tool":"\u62D6\u52A8","Draw Wire":"\u7ED8\u5236\u5BFC\u7EBF","Draw Bus":"\u7ED8\u5236\u603B\u7EBF","Draw Net Label":"\u7ED8\u5236\u7F51\u7EDC\u6807\u7B7E","Place Junction":"\u653E\u7F6E\u8FDE\u63A5\u70B9\u6807\u8BC6","Junction flag only can be placed where wires cross non-junctions":"\u8FDE\u63A5\u70B9\u6807\u5FD7\u53EA\u80FD\u653E\u7F6E\u5728\u5BFC\u7EBF\u4EA4\u53C9\u4E0D\u8FDE\u63A5\u5904","Net Flag GND":"\u6807\u8BC6\u7B26GND","Net Flag":"\u7F51\u7EDC\u6807\u8BC6","Draw Polyline":"\u7ED8\u5236\u6298\u7EBF","Draw Polygon":"\u7ED8\u5236\u591A\u8FB9\u5F62","Draw Bezier":"\u7ED8\u5236\u8D1D\u585E\u5C14\u66F2\u7EBF","Draw Arc":"\u7ED8\u5236\u5706\u5F27","Draw Rect":"\u7ED8\u5236\u77E9\u5F62","Draw Ellipse":"\u7ED8\u5236\u692D\u5706\u5F62","Freehand Draw":"\u81EA\u7531\u7ED8\u5236",Freedraw:"\u81EA\u7531\u7ED8\u5236","Draw Text":"\u7ED8\u5236\u6587\u672C","Edit Selected Symbol":"\u4FEE\u6539\u9009\u4E2D\u5668\u4EF6","Draw Track":"\u7ED8\u5236\u5BFC\u7EBF","Draw Circle":"\u7ED8\u5236\u5706\u5F62","Draw Length Dimension":"\u7ED8\u5236\u957F\u5EA6\u5C3A\u5BF8","Draw Polygon Copper":"\u7ED8\u5236\u591A\u8FB9\u5F62\u94FA\u94DC","Place Short Symbol":"\u653E\u7F6E\u77ED\u63A5\u7B26","Place VCC":"\u653E\u7F6EVCC","Place +5V":"\u653E\u7F6E+5V","Place GND":"\u653E\u7F6E\u5730","Place No Connect":"\u653E\u7F6E\u975E\u8FDE\u63A5","Place Reuse Block":"\u653E\u7F6E\u590D\u7528\u6A21\u5757","Place Shaped Pad":"\u653E\u7F6E\u5F02\u5F62\u710A\u76D8",'Change Selected Component"s Layer to TopLayer':"\u5207\u6362\u9009\u62E9\u7684\u5143\u4EF6\u5230\u9876\u5C42",'Change Selected Component"s Layer to BottomLayer':"\u5207\u6362\u9009\u62E9\u7684\u5143\u4EF6\u5230\u5E95\u5C42","Cycle Select Object at Current Location":"\u5FAA\u73AF\u9009\u62E9\u5F53\u524D\u4F4D\u7F6E\u7684\u5143\u7D20","Draw Dimension":"\u7ED8\u5236\u5C3A\u5BF8","Draw Connect":"\u7ED8\u5236\u8FDE\u63A5\u7EBF","Draw CopperArea":"\u7ED8\u5236\u94FA\u94DC","Change to TopLayer;<br/>Change Seleted Component's Layer to TopLayer;":"\u5207\u6362\u5230\u9876\u5C42\uFF1B<br/>\u5207\u6362\u9009\u62E9\u7684\u5143\u4EF6\u7684\u5C42\u5230\u9876\u5C42\uFF1B","Change to BottomLayer;<br/>Change Seleted Component's Layer to BottomLayer;":"\u5207\u6362\u5230\u5E95\u5C42\uFF1B<br/>\u5207\u6362\u9009\u62E9\u7684\u5143\u4EF6\u7684\u5C42\u5230\u5E95\u5C42\uFF1B","Change to Inner1":"\u5207\u6362\u5230\u5185\u5C421","Change to Inner2":"\u5207\u6362\u5230\u5185\u5C422","Change to Inner3":"\u5207\u6362\u5230\u5185\u5C423","Change to Inner4":"\u5207\u6362\u5230\u5185\u5C424","Change to Inner5":"\u5207\u6362\u5230\u5185\u5C425","Change to Inner6":"\u5207\u6362\u5230\u5185\u5C426","Highlight Net":"\u9AD8\u4EAE\u7F51\u7EDC","Show/Hide Selected Ratline":"\u663E\u793A/\u9690\u85CF\u6240\u9009\u98DE\u7EBF","Highlight/Unhighlight Net":"\u9AD8\u4EAE/\u53D6\u6D88\u9AD8\u4EAE\u7F51\u7EDC","Show/Hide Number/Net Name":"\u663E\u793A/\u9690\u85CF\u7F16\u53F7/\u7F51\u7EDC","Highlight Net/Objects":"\u9AD8\u4EAE\u7F51\u7EDC/\u5BF9\u8C61","Highlight Component":"\u9AD8\u4EAE\u5668\u4EF6","Highlight Selected":"\u9AD8\u4EAE\u9009\u4E2D","Unhighlight Net":"\u53D6\u6D88\u9AD8\u4EAE\u7F51\u7EDC","Highlight Net while Hovering Wire":"\u60AC\u6D6E\u5BFC\u7EBF\u9AD8\u4EAE\u7F51\u7EDC","Unhighlight Component":"\u53D6\u6D88\u9AD8\u4EAE\u5668\u4EF6","Unhighlight Selected":"\u53D6\u6D88\u9AD8\u4EAE\u9009\u4E2D","Unhighlight All":"\u53D6\u6D88\u5168\u90E8\u9AD8\u4EAE","DRC Mark":"DRC\u6807\u8BC6","DRC Marking":"DRC\u6807\u8BC6","Place Pad":"\u653E\u7F6E\u710A\u76D8","Place Via":"\u653E\u7F6E\u8FC7\u5B54",Measure:"\u6D4B\u91CF","Change Routing Angle":"\u6539\u53D8\u5E03\u7EBF\u89D2\u5EA6","Change Routing Mode":"\u6539\u53D8\u5E03\u7EBF\u6A21\u5F0F","Change Routing Conflict":"\u6539\u53D8\u5E03\u7EBF\u51B2\u7A81","Decrease Routing Width":"\u51CF\u5C11\u7EBF\u5BBD","Increase Routing Width":"\u589E\u52A0\u7EBF\u5BBD","Decrease Snap Size":"\u51CF\u5C11\u6805\u683C\u5C3A\u5BF8","Increase Snap Size":"\u589E\u52A0\u6805\u683C\u5C3A\u5BF8","Move Selected Left by Alt Grid":"\u4EE5alt\u6805\u683C\u5DE6\u79FB\u6240\u9009\u56FE\u5F62","Move Selected Right by Alt Grid":"\u4EE5alt\u6805\u683C\u53F3\u79FB\u6240\u9009\u56FE\u5F62","Move Selected Up by Alt Grid":"\u4EE5alt\u6805\u683C\u4E0A\u79FB\u6240\u9009\u56FE\u5F62","Move Selected Down by Alt Grid":"\u4EE5alt\u6805\u683C\u4E0B\u79FB\u6240\u9009\u56FE\u5F62","Change Copper Zone Visible or Invisible":"\u5FAA\u73AF\u5207\u6362\u94FA\u94DC\u533A\u53EF\u89C1\u6027","Rebuild All Copper Area":"\u91CD\u5EFA\u6240\u6709\u94FA\u94DC","Toggle PCB Net Display":"\u5207\u6362PCB\u7F51\u7EDC\u663E\u793A","Show Attribute Dialog When Placing Object;<br/>Show Location Setting Dialog When Pasting Object(s)":"\u5F53\u653E\u7F6E\u5143\u7D20\u65F6\u663E\u793A\u5C5E\u6027\u5BF9\u8BDD\u6846;<br/>\u5F53\u7C98\u8D34\u65F6\u663E\u793A\u5B9A\u4F4D\u5143\u7D20\u5BF9\u8BDD\u6846;","Show Attribute Dialog When Placing Object;<br/>Show Absolute Offset Dialog When Selecting Object(s);<br/>Show Location Setting Dialog When Pasting Object(s)":"\u5F53\u653E\u7F6E\u5143\u7D20\u65F6\u663E\u793A\u5C5E\u6027\u5BF9\u8BDD\u6846;<br/>\u5F53\u9009\u4E2D\u5143\u7D20\u65F6\u663E\u793A\u7EDD\u5BF9\u504F\u79FB\u91CF\u5BF9\u8BDD\u6846;<br/>\u5F53\u7C98\u8D34\u65F6\u663E\u793A\u5B9A\u4F4D\u5143\u7D20\u5BF9\u8BDD\u6846;","Show Relative Offset Dialog When Selecting Object(s)":"\u5F53\u9009\u4E2D\u5143\u7D20\u65F6\u663E\u793A\u76F8\u5BF9\u504F\u79FB\u91CF\u5BF9\u8BDD\u6846","Open the FAQ Page":"\u6253\u5F00\u5E38\u89C1\u95EE\u9898\u9875\u9762","Move Object(s) by Reference Point":"\u6839\u636E\u53C2\u8003\u70B9\u79FB\u52A8\u5143\u7D20","Choose Favorite Track Width While Routing":"\u5E03\u7EBF\u65F6\u6539\u53D8\u7EBF\u5BBD\u503C","Copy Selected Object(s) and Paste Repeatedly":"\u590D\u5236\u9009\u4E2D\u7684\u5143\u7D20\u8FDE\u7EED\u7C98\u8D34","Place Device":"\u653E\u7F6E\u5668\u4EF6","Ignore DRC when generating teardrops":"\u751F\u6210\u6CEA\u6EF4\u65F6\u5FFD\u7565DRC",Operation:"\u64CD\u4F5C",Routing:"\u8D70\u7EBF","T Connection":"T\u5F62\u8FDE\u63A5","New Project":"\u65B0\u5EFA\u5DE5\u7A0B","Open Project":"\u6253\u5F00\u5DE5\u7A0B","Open All Projects":"\u6253\u5F00\u5168\u90E8\u5DE5\u7A0B","New Schematic":"\u65B0\u5EFA\u539F\u7406\u56FE","New PCB":"\u65B0\u5EFAPCB",Modify:"\u4FEE\u6539","Modify...":"\u4FEE\u6539...","Move...":"\u79FB\u52A8...","Project Management":"\u5DE5\u7A0B\u7BA1\u7406","Project Name":"\u5DE5\u7A0B\u540D\u79F0","Creation Time":"\u521B\u5EFA\u65F6\u95F4","Modification Time":"\u4FEE\u6539\u65F6\u95F4","Ascending Order":"\u5347\u5E8F","Descending Order":"\u964D\u5E8F","View Schema":"\u67E5\u770B\u6982\u8981","Move Project":"\u79FB\u52A8\u5DE5\u7A0B","Add sub part":"\u589E\u52A0\u5B50\u5668\u4EF6",Clone:"\u514B\u9686","Contribute your components to EasyEDA":"\u8D21\u732E\u5E93\u6587\u4EF6\u5230EasyEDA","Version History":"\u5386\u53F2\u7248\u672C","Refresh List":"\u5237\u65B0\u5217\u8868","Create New Project":"\u65B0\u5EFA\u5DE5\u7A0B","Create New Project...":"\u65B0\u5EFA\u5DE5\u7A0B...","Create New Folder...":"\u65B0\u5EFA\u6587\u4EF6\u5939...","Create New Folder":"\u65B0\u5EFA\u6587\u4EF6\u5939","Edit New Folder":"\u4FEE\u6539\u6587\u4EF6\u5939","Move New Folder":"\u79FB\u52A8\u6587\u4EF6\u5939","Close Project":"\u5173\u95ED\u5DE5\u7A0B","Close All":"\u5173\u95ED\u5168\u90E8","File Source...":"\u6587\u4EF6\u6E90\u7801...","Recycle Bin":"\u56DE\u6536\u7AD9",Attachment:"\u9644\u4EF6",Transfer:"\u8F6C\u79FB","Delete Folder":"\u5220\u9664\u6587\u4EF6\u5939","Are you sure to delete this folder?":"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6587\u4EF6\u5939\u5417?","Projects in the folder will be moved to the root directory.":"\u6587\u4EF6\u5939\u5185\u5DE5\u7A0B\u5C06\u88AB\u79FB\u5230\u6839\u76EE\u5F55\u4E0B","Packages Verification":"\u68C0\u9A8C\u5C01\u88C5","Center point is outside the pad":"\u4E2D\u5FC3\u70B9\u5728\u710A\u76D8\u5916","Hole should be inside the pad":"\u5B54\u5FC5\u987B\u5728\u710A\u76D8\u5185","Hole is draggable":"\u53EF\u62D6\u52A8\u5B54\u6765\u4FEE\u6539\u4F4D\u7F6E","Reload parts":"\u91CD\u65B0\u52A0\u8F7D",Layers:"\u5C42","Display Name":"\u663E\u793A\u540D\u79F0","HotKey Sync":"\u540C\u6B65\u70ED\u952E","My Theme Sync":"\u540C\u6B65\u6211\u7684\u4E3B\u9898","Document Recovery Setting":"\u6587\u6863\u6062\u590D\u8BBE\u7F6E","Enable auto backup":"\u542F\u7528\u81EA\u52A8\u5907\u4EFD","Maximum backup level":"\u6700\u5927\u5907\u4EFD\u7EA7\u6570","Auto backup interval":"\u81EA\u52A8\u5907\u4EFD\u95F4\u9694",days:"\u5929",hours:"\u5C0F\u65F6",minutes:"\u5206\u949F",seconds:"\u79D2","Save to Server":"\u4FDD\u5B58\u5230\u670D\u52A1\u5668","Load from Server":"\u4ECE\u670D\u52A1\u5668\u52A0\u8F7D","Form style":"\u7A97\u4F53\u98CE\u683C",Light:"\u6D45\u8272",Dark:"\u6DF1\u8272","Follow System":"\u8DDF\u968F\u7CFB\u7EDF","Interface Theme":"\u754C\u9762\u4E3B\u9898",Primary:"\u4E3B\u952E",Secondary:"\u6B21\u952E",Wizard:"\u5411\u5BFC",Devices:"\u5668\u4EF6","Schematic Library Wizard":"\u539F\u7406\u56FE\u5E93\u5411\u5BFC","Pin Wizard":"\u5F15\u811A\u5411\u5BFC","Pin Wizard...":"\u5F15\u811A\u5411\u5BFC...","Advanced Symbol Wizard":"\u9AD8\u7EA7\u7B26\u53F7\u5411\u5BFC","Advanced Symbol Wizard...":"\u9AD8\u7EA7\u7B26\u53F7\u5411\u5BFC...",Style:"\u6837\u5F0F",Picture:"\u56FE\u7247","Pin Names":"\u5F15\u811A\u540D\u5B57","Pin Count":"\u5F15\u811A\u7EDF\u8BA1","Please assign the package in the right hand panel after creating the symbol.":"\u8BF7\u521B\u5EFA\u540E\u5728\u53F3\u8FB9\u5C5E\u6027\u9762\u677F\u6307\u5B9A\u3002",Contributor:"\u8D21\u732E\u8005",contributor:"\u8D21\u732E\u8005",owner:"\u5F52\u5C5E",Owner:"\u5F52\u5C5E","Renumber Pins...":"\u91CD\u65B0\u7F16\u53F7\u5F15\u811A...","Renumber Pads...":"\u91CD\u65B0\u7F16\u53F7\u710A\u76D8...",Prefix:"\u524D\u7F00",Suffix:"\u540E\u7F00",Digit:"\u6570\u503C",Stepping:"\u6B65\u8FDB","Alt Stepping":"Alt\u6B65\u8FDB",Fast:"\u5FEB",Slow:"\u6162","Name Prefix":"\u540D\u79F0\u524D\u7F00","Name Suffix":"\u540D\u79F0\u540E\u7F00","Start Digit":"\u5F00\u59CB\u6570\u5B57","Incremental Step":"\u9012\u589E\u6B65\u8FDB","All Pads":"\u5168\u90E8\u710A\u76D8","Pad Only Selected":"\u4EC5\u9009\u4E2D\u710A\u76D8","More Setting":"\u66F4\u591A\u8BBE\u7F6E","The prefix only allows to enter numbers or letters alone!":"\u524D\u7F00\u4EC5\u5141\u8BB8\u5355\u72EC\u8F93\u5165\u6570\u5B57\u6216\u8005\u5355\u72EC\u8F93\u5165\u5B57\u6BCD\uFF01","The suffix only allows to enter numbers or letters alone!":"\u540E\u7F00\u4EC5\u5141\u8BB8\u5355\u72EC\u8F93\u5165\u6570\u5B57\u6216\u8005\u5355\u72EC\u8F93\u5165\u5B57\u6BCD\uFF01","The minimum step value is 1!":"\u6B65\u8FDB\u503C\u6700\u5C0F\u503C\u4E3A1\uFF01","Auto Pin Placement":"\u81EA\u52A8\u5F15\u811A\u5E03\u5C40","Pin auto placement finish":"\u5F15\u811A\u81EA\u52A8\u5E03\u5C40\u5B8C\u6210","Please select the symbol type after automatic pin grouping":"\u8BF7\u9009\u62E9\u81EA\u52A8\u5F15\u811A\u5206\u7EC4\u540E\u7684\u7B26\u53F7\u7C7B\u578B","You are an observer and don't have permission to save!":"\u4F60\u662F\u89C2\u5BDF\u8005\uFF0C\u6CA1\u6709\u4FDD\u5B58\u6743\u9650\uFF01","You don't have permission to save!":"\u4F60\u6CA1\u6709\u4FDD\u5B58\u6743\u9650\uFF01","You don't have permission!":"\u4F60\u6CA1\u6709\u6743\u9650\uFF01","Dont't have permission to edit":"\u6CA1\u6709\u7F16\u8F91\u6743\u9650","You don't have copy and paste permission!":"\u4F60\u6CA1\u6709\u590D\u5236\u7C98\u8D34\u6743\u9650!","The project is locked, if you need to modify or save, please contact the project owner or manager.":"\u5DE5\u7A0B\u5DF2\u9501\u5B9A\uFF0C\u5982\u679C\u9700\u8981\u4FEE\u6539\u3001\u4FDD\u5B58\uFF0C\u8BF7\u8054\u7CFB\u5DE5\u7A0B\u6240\u6709\u8005\u6216\u7BA1\u7406\u5458\u3002","Footprint {title} failed to update title!":"\u5C01\u88C5{title}\u66F4\u65B0\u540D\u79F0\u5931\u8D25!","Footprint {title} failed to update title! The footprint title cannot be duplicated.":"\u5C01\u88C5{title}\u66F4\u65B0\u540D\u79F0\u5931\u8D25\uFF01\u5C01\u88C5\u4E0D\u80FD\u91CD\u540D\u3002",Annotate:"\u6807\u6CE8","@@dimensionType":{Annotation:"\u6807\u6CE8",Constraint:"\u7EA6\u675F"},Scope:"\u8303\u56F4","Active Schematic only":"\u4EC5\u5F53\u524D\u539F\u7406\u56FE","All Opened Schematics":"\u6240\u6709\u6253\u5F00\u7684\u539F\u7406\u56FE","All PCB":"\u6240\u6709PCB",Method:"\u65B9\u6CD5","Re-annotate all":"\u91CD\u65B0\u6807\u6CE8","Keep existing annotation":"\u4FDD\u7559\u539F\u6765\u7684\u6807\u6CE8",Direction:"\u65B9\u5411",Rows:"\u884C\u6570",Cols:"\u5217",Reset:"\u91CD\u7F6E","Order...":"\u8BA2\u8D2D...","Order your PCB from EasyEDA":"\u4ECEEasyEDA\u8BA2\u8D2DPCB","PCB Qty.":"\u677F\u5B50\u6570\u91CF","PCB Thickness":"\u677F\u5B50\u539A\u5EA6","PCB Dimension":"\u677F\u5B50\u5927\u5C0F","Automatic calculation":"\u81EA\u52A8\u8BA1\u7B97","PCB Color":"\u963B\u710A\u989C\u8272",Green:"\u7EFF\u8272",green:"\u7EFF\u8272",White:"\u767D\u8272",white:"\u767D\u8272",Blue:"\u84DD\u8272",blue:"\u84DD\u8272",Red:"\u7EA2\u8272",red:"\u7EA2\u8272",Amber:"\u7425\u73C0\u8272",Yellow:"\u9EC4\u8272",yellow:"\u9EC4\u8272",Black:"\u9ED1\u8272",black:"\u9ED1\u8272",Purple:"\u7D2B\u8272",purple:"\u7D2B\u8272","@@pcb2DViewAttrMgrAttribute":{Copper:"\u94DC\u57FA\u677F","Board Color":"\u677F\u5B50\u989C\u8272","Board Material":"\u57FA\u677F\u6750\u8D28","FR-4":"\u73BB\u7EA4\u677F(FR4)",Aluminum:"\u94DD\u57FA\u677F",Ceramics:"\u9676\u74F7\u677F",Teflon:"\u94C1\u6C1F\u9F99"},"@@pcb3DViewAttrMgrAttribute":{Copper:"\u94DC\u57FA\u677F","Board Color":"\u677F\u5B50\u989C\u8272","Board Material":"\u57FA\u677F\u6750\u8D28","FR-4":"\u73BB\u7EA4\u677F(FR4)",Aluminum:"\u94DD\u57FA\u677F",Ceramics:"\u9676\u74F7\u677F",Teflon:"\u94C1\u6C1F\u9F99"},"Flip cover":"\u7FFB\u76D6","Push cover":"\u63A8\u76D6","Push Cover Direction":"\u63A8\u76D6\u65B9\u5411","Shell X Axis Positive":"\u5916\u58F3X\u8F74\u6B63\u5411","Shell X Axis Negative":"\u5916\u58F3X\u8F74\u8D1F\u5411","Shell Y Axis Positive":"\u5916\u58F3Y\u8F74\u6B63\u5411","Shell Y Axis Negative":"\u5916\u58F3Y\u8F74\u8D1F\u5411","Top Inner Height":"\u4E0A\u58F3\u5185\u58C1\u9AD8\u5EA6","Bottom Inner Height":"\u4E0B\u58F3\u5185\u58C1\u9AD8\u5EA6","Upper and lower shell":"\u4E0A\u4E0B\u58F3",silver:"\u94F6\u8272",Silver:"\u94F6\u8272",Gold:"\u91D1\u8272",copper:"\u94DC\u8272",Coppery:"\u94DC\u8272",coppery:"\u94DC\u8272","Surface Finish":"\u710A\u76D8\u55B7\u9540",Hasl:"\u6709\u94C5","Hasl(Lead Free)":"\u65E0\u94C5",ENIG:"\u6C89\u91D1","Open Project...":"\u6253\u5F00\u5DE5\u7A0B...",Open:"\u6253\u5F00","E-Test":"\u98DE\u9488\u6D4B\u8BD5","Shipping Cost":"\u8FD0\u8D39","Cost Estimate":"\u6210\u672C\u4F30\u7B97","Actual cost will be confirmed by email.":"\u6700\u7EC8\u8D39\u7528\u5C06\u901A\u8FC7\u90AE\u4EF6\u786E\u8BA4","Shipping information":"\u8D27\u8FD0\u4FE1\u606F",Address:"\u5730\u5740","ZIP/Post code":"\u90AE\u7F16",City:"\u57CE\u5E02",Country:"\u56FD\u5BB6","Tel.":"\u7535\u8BDD","After filling out the form above, we will email you with (i) the results of the Design Rule Check (DRC), (ii) a quote and (iii) a payment link using Paypal. Shipping is normally one week from receipt of payment.":"\u586B\u5199\u4E0A\u8FF0\u8868\u683C\u540E\uFF0C\u6211\u4EEC\u5C06\u5BF9\u60A8\u7684PCB\u8FDB\u884C\u8BBE\u8BA1\u89C4\u5219(DRC)\u68C0\u6D4B\uFF0C\u6211\u4EEC\u5C06\u628A\u68C0\u6D4B\u7ED3\u679C\u3001\u62A5\u4EF7\u3001Paypal\u4ED8\u6B3E\u94FE\u63A5\u901A\u8FC7\u90AE\u4EF6\u53D1\u9001\u7D66\u60A8","Restore All Default Shortcuts":"\u6062\u590D\u5168\u90E8\u9ED8\u8BA4\u5FEB\u6377\u952E","Save Changes":"\u4FDD\u5B58\u4FEE\u6539","To connect electrical elements, please use Wire (W hotkey) and not Line (L hotkey).":"\u8BF7\u7528\u5BFC\u7EBF(\u5FEB\u6377\u952EW)\u6765\u8FDE\u63A5\u7535\u6C14\u8282\u70B9,\u800C\u975E\u7528\u76F4\u7EBF(\u5FEB\u6377\u952EL).","Anonymous File":"\u533F\u540D\u6587\u6863","Anonymous File can not be cloned, but you can open it, then save it as a new file.":"\u533F\u540D\u6587\u6863\u4E0D\u80FD\u514B\u9686\uFF0C\u53EF\u4EE5\u6253\u5F00\u540E\u518D\u53E6\u5B58\u4E3A\u65B0\u6587\u6863\u3002","Free Documents":"\u81EA\u7531\u6587\u6863","You must close the file before delete it!":"\u5220\u9664\u524D\u8BF7\u5148\u5173\u95ED\u8BE5\u6587\u4EF6\uFF01","Offline Project":"\u79BB\u7EBF\u5DE5\u7A0B",Confirmation:"\u786E\u8BA4",Alert:"\u8B66\u793A",Information:"\u4FE1\u606F",information:"\u4FE1\u606F",Prompt:"\u8BE2\u95EE",Error:"\u9519\u8BEF",error:"\u9519\u8BEF","error!":"\u9519\u8BEF!",Warning:"\u8B66\u544A","Imported ok!":"\u5BFC\u5165\u6210\u529F","Some changes have not been saved.":"\u6587\u6863\u4FEE\u6539\u5C1A\u672A\u4FDD\u5B58","Your file hasn't been saved. Please save first!":"\u4F60\u7684\u6587\u6863\u6CA1\u6709\u4FDD\u5B58\uFF0C\u8BF7\u5148\u4FDD\u5B58!","Your file hasn't been saved. Are you sure you want to close it?":"\u4F60\u7684\u6587\u6863\u6CA1\u6709\u4FDD\u5B58\uFF0C\u786E\u5B9A\u5173\u95ED\u5B83\u5417?","Error! Please try again later.":"\u53D1\u751F\u9519\u8BEF\uFF01\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002","Are you sure you want to reload this page?":"\u786E\u5B9A\u8981\u91CD\u65B0\u52A0\u8F7D\u5F53\u524D\u9875\u9762\u5417\uFF1F","Are you sure you want to leave this page?":"\u786E\u5B9A\u8981\u79BB\u5F00\u5F53\u524D\u9875\u9762\u5417\uFF1F","Confirm Reload":"\u786E\u8BA4\u91CD\u65B0\u52A0\u8F7D","Confirm Close":"\u786E\u8BA4\u5173\u95ED","Reload this page":"\u91CD\u65B0\u52A0\u8F7D","Leave this page":"\u79BB\u5F00\u8BE5\u9875\u9762","Stay on this page":"\u7559\u5728\u8BE5\u9875\u9762","Don't reload":"\u4E0D\u91CD\u65B0\u52A0\u8F7D","No connect flag only can be placed on Pin dot or the wire which is connected one Pin.":"\u975E\u8FDE\u63A5\u6807\u5FD7\u53EA\u80FD\u653E\u7F6E\u5728\u5F15\u811A\u7AEF\u70B9\u6216\u8005\u8FDE\u63A5\u5355\u4E2A\u5F15\u811A\u7684\u5BFC\u7EBF\u7AEF\u70B9\u4E0A\u3002","can not be placed on the wire which is placing No Connect Flag.":"\u4E0D\u80FD\u653E\u7F6E\u5728\u542B\u6709\u975E\u8FDE\u63A5\u6807\u5FD7\u7684\u5BFC\u7EBF\u4E0A\u3002","The current project is an official case, which cannot be saved after modification. You can save it and modify it later.":"\u5F53\u524D\u5DE5\u7A0B\u4E3A\u5B98\u65B9\u6848\u4F8B\u4FEE\u6539\u65E0\u6CD5\u4FDD\u5B58\uFF0C\u5EFA\u8BAE\u53E6\u5B58\u540E\u4FEE\u6539\u3002","Differentail Pair Routing":"\u5DEE\u5206\u5BF9\u5E03\u7EBF","Equal Length Tuning":"\u7B49\u957F\u8C03\u8282","Differential Pair Equal Length Tuning":"\u5DEE\u5206\u5BF9\u7B49\u957F\u8C03\u8282","Target length is less than or equal to current length.":"\u76EE\u6807\u957F\u5EA6\u5C0F\u4E8E\u6216\u7B49\u4E8E\u5F53\u524D\u957F\u5EA6\u3002","Mounting Plate":"\u5B89\u88C5\u677F","Gloss Selected Track":"\u4F18\u5316\u9009\u4E2D\u5BFC\u7EBF","Equal Length Tuning(old)":"\u7B49\u957F\u8C03\u8282(\u65E7)","Differential Pair Equal Length Tuning(old)":"\u5DEE\u5206\u5BF9\u7B49\u957F\u8C03\u8282(\u65E7)","Select the loop segment in the pop-up window when removing the loop":"\u79FB\u9664\u56DE\u8DEF\u65F6\u5F39\u7A97\u9009\u5B9A\u56DE\u8DEF\u7EBF\u6BB5","Load failure!":"\u52A0\u8F7D\u5931\u8D25","Load projects failed":"\u52A0\u8F7D\u5DE5\u7A0B\u5217\u8868\u5931\u8D25","error info":"\u9519\u8BEF\u4FE1\u606F","error information":"\u9519\u8BEF\u4FE1\u606F","Guest can't create a new project. Please login!":"\u8BBF\u5BA2\u4E0D\u80FD\u521B\u5EFA\u65B0\u5DE5\u7A0B\uFF0C\u8BF7\u5148\u767B\u5F55","Please create a project before you do this!":"\u6267\u884C\u8BE5\u64CD\u4F5C\u524D\u8BF7\u5148\u521B\u5EFA\u4E00\u4E2A\u65B0\u5DE5\u7A0B","Add Part success":"\u6210\u529F\u6DFB\u52A0\u6A21\u5757","Click the new part and then edit it!":"\u70B9\u51FB\u65B0\u6DFB\u52A0\u7684\u5B50\u5E93\uFF0C\u7136\u540E\u7F16\u8F91\u5B83","Delete my work":"\u5220\u9664\u6211\u7684\u4F5C\u54C1","Delete my work. (Only deletes it from this list but not from the server)":"\u5220\u9664\u8BE5\u6587\u6863(\u4EC5\u4ECE\u8BE5\u5217\u8868\u5185\u5220\u9664\uFF0C\u6587\u6863\u6CA1\u6709\u88AB\u771F\u6B63\u7684\u5220\u9664)","Do you confirm this?":"\u4F60\u662F\u5426\u786E\u8BA4\u8BE5\u64CD\u4F5C?","Delete successfully!":"\u6210\u529F\u5220\u9664\uFF01","Successfully Copied!":"\u6210\u529F\u590D\u5236\uFF01","Successfully added solder mask region!":"\u6210\u529F\u6DFB\u52A0\u963B\u710A\u533A\u57DF\uFF01","Add solder mask region":"\u6DFB\u52A0\u963B\u710A\u533A\u57DF","Cloning success!":"\u514B\u9686\u6210\u529F!","Your title is too short!":"\u4F60\u7684\u6587\u4EF6\u6807\u9898\u592A\u77ED!","Remove this part":"\u79FB\u9664\u8FD9\u4E2A\u6587\u4EF6","Find and Jump to ...":"\u67E5\u627E\u5E76\u8DF3\u8F6C\u5230\u8BE5\u5668\u4EF6...",Previous:"\u4E0A\u4E00\u4E2A","Previous(P)":"\u4E0A\u4E00\u4E2A(P)","Next(N)":"\u4E0B\u4E00\u4E2A(N)","Search Objects":"\u67E5\u627E\u5BF9\u8C61","Input Format":"\u8F93\u5165\u683C\u5F0F","Normal String":"\u5E38\u89C4\u5B57\u7B26\u4E32","Use Regex":"\u4F7F\u7528\u901A\u914D\u7B26","Please type the prefix, such as U1, R1, C1":"\u8F93\u5165\u8BE5\u5668\u4EF6\u7684\u6807\u8BC6\u7B26\uFF0C\u5982U1,R1,C1","Zoom as 1:1, you can print it and then create artwork for etching the PCB.":"1:1\u7F29\u653E\uFF0C\u4F60\u53EF\u4EE5\u6253\u5370\u8BE5\u6587\u4EF6\uFF0C\u7136\u540E\u81EA\u5DF1\u8150\u8680PCB","Exporting your works!":"\u5BFC\u51FA\u4F60\u7684\u4F5C\u54C1","Guests can't import a file. Please login!":"\u8BBF\u5BA2\u4E0D\u80FD\u5BFC\u5165\u6587\u4EF6\uFF0C\u8BF7\u767B\u5F55\u5148!","Please create a project before you import a file!":"\u5BFC\u5165\u6587\u4EF6\u524D\u8BF7\u5148\u521B\u5EFA\u4E00\u4E2A\u5DE5\u7A0B","Import your LTspice file!":"\u5BFC\u5165\u4F60\u7684LTspice\u6587\u4EF6!","Open LTspice file":"\u6253\u5F00LTspice\u6587\u4EF6","Please make sure the selected LTspice file is a file saved in LTspice V and above.":"\u8BF7\u786E\u4FDD\u9009\u62E9\u7684LTspice\u6587\u4EF6\u662FLTspice V \u53CA\u4EE5\u4E0A\u7248\u672C\u4FDD\u5B58\u7684\u6587\u4EF6.","Import your EasyEDA file!":"\u5BFC\u5165\u4F60\u7684easyeda\u6807\u51C6\u7248\u6587\u4EF6!","Saved successfully!":"\u4FDD\u5B58\u6210\u529F!","Apply successfully!":"\u5E94\u7528\u6210\u529F!","Save failed!":"\u4FDD\u5B58\u5931\u8D25","Saved failed!":"\u4FDD\u5B58\u5931\u8D25","Failed to save the project data. Please try saving it again or contact technical support.":"\u5DE5\u7A0B\u6570\u636E\u4FDD\u5B58\u5931\u8D25\uFF01\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u4FDD\u5B58\u6216\u8054\u7CFB\u6280\u672F\u652F\u6301\u3002","Categories Save failed!":"\u5206\u7C7B\u4FDD\u5B58\u5931\u8D25\uFF01","Project drawing symbol has been successfully updated!":"\u5DE5\u7A0B\u56FE\u7EB8\u6A21\u677F\u66F4\u65B0\u6210\u529F!","Project drawing symbol failed to update!":"\u5DE5\u7A0B\u56FE\u7EB8\u6A21\u677F\u66F4\u65B0\u5931\u8D25!","Can not place parts into this document.":"\u4E0D\u80FD\u653E\u7F6E\u8BE5\u5668\u4EF6\u5728\u672C\u6587\u6863\u4E2D\uFF0C\u6587\u6863\u7C7B\u578B\u4E0D\u5339\u914D","Selected objects cannot be duplicated to {0}":"\u9009\u4E2D\u7684\u56FE\u5143\u65E0\u6CD5\u91CD\u590D\u5230{0}","{0} objects duplicated successfully":"{0}\u4E2A\u56FE\u5143\u91CD\u590D\u6210\u529F","User Package":"\u7528\u6237\u5C01\u88C5","System Package":"\u7CFB\u7EDF\u5C01\u88C5","File error":"\u6587\u4EF6\u9519\u8BEF","cannot be deleted. Found existing linked device(s)":"\u672A\u5220\u9664\uFF0C\u5B58\u5728\u5173\u8054\u7684\u5668\u4EF6","Nothing selected":"\u672A\u9009\u4E2D\u4EFB\u4F55\u5185\u5BB9","Please login":"\u8BF7\u767B\u5F55","It is detected that the cloud document(s)\xA0different with local, refresh document(s) can update local same as cloud, this operation cannot be undone, do you want to to refresh? Document(s):":"\u68C0\u6D4B\u5230\u4E91\u7AEF\u6587\u6863\u4E0E\u672C\u5730\u6587\u6863\u6709\u5DEE\u5F02\uFF0C\u5237\u65B0\u6587\u6863\u53EF\u4EE5\u66F4\u65B0\u672C\u5730\u4E0E\u4E91\u7AEF\u7684\u4E00\u81F4\uFF0C\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u64A4\u9500\uFF0C\u662F\u5426\u5237\u65B0\uFF1F\u6587\u6863\uFF1A","Delete Symbol":"\u5220\u9664\u7B26\u53F7","Delete Footprint":"\u5220\u9664\u5C01\u88C5","Delete Device":"\u5220\u9664\u5668\u4EF6",failed:"\u5931\u8D25","Delete Device {name} failed!":"\u5220\u9664\u5668\u4EF6{name}\u5931\u8D25\uFF01","Delete Footprint {name} failed!":"\u5220\u9664\u5C01\u88C5{name}\u5931\u8D25\uFF01","Delete Symbol {name} failed!":"\u5220\u9664\u7B26\u53F7{name}\u5931\u8D25\uFF01","The imported data has its own nested relationship!":"\u5BFC\u5165\u7684\u6570\u636E\u5B58\u5728\u81EA\u6211\u5D4C\u5957!","Found existing component(s) referenced by this symbol":"\u53D1\u73B0\u6709\u5143\u4EF6\u5F15\u7528\u5B83","Found existing component(s) referenced by this footprint":"\u53D1\u73B0\u6709\u5143\u4EF6\u5F15\u7528\u5B83","Found existing component(s) referenced by this device":"\u53D1\u73B0\u6709\u5143\u4EF6\u5F15\u7528\u5B83","Found existing device(s) referenced by this symbol":"\u53D1\u73B0\u6709\u5668\u4EF6\u5F15\u7528\u5B83","Found existing device(s) referenced by this footprint":"\u53D1\u73B0\u6709\u5668\u4EF6\u5F15\u7528\u5B83","Found existing special footprint(s) referenced by this footprint":"\u53D1\u73B0\u6709\u7279\u6B8A\u5668\u4EF6\u5F15\u7528\u5B83","is\xA0referenced\uFF1A":"\u88AB\u5F15\u7528\uFF1A","is\xA0referenced by special footprint(s)\uFF1A":"\u88AB\u7279\u6B8A\u5668\u4EF6\u5F15\u7528\uFF1A","is\xA0referenced by device(s)\uFF1A":"\u88AB\u5143\u4EF6\u5F15\u7528\uFF1A","Cannot Delete(is referenced):":"\u65E0\u6CD5\u5220\u9664(\u88AB\u5F15\u7528)\uFF1A","Project library reuse block symbol":"\u5DE5\u7A0B\u5E93\u590D\u7528\u6A21\u5757\u7B26\u53F7","Reuse block {0} is not used in the current project. Do you need to delete the copy in the project library?":"\u590D\u7528\u6A21\u5757 {0} \u5728\u5F53\u524D\u5DE5\u7A0B\u672A\u88AB\u4F7F\u7528\uFF0C\u662F\u5426\u9700\u8981\u5220\u9664\u5DE5\u7A0B\u5E93\u4E2D\u7684\u526F\u672C\uFF1F","Please save your file first!":"\u8BF7\u5148\u4FDD\u5B58\u4F60\u7684\u6587\u4EF6","Email address is too short!":"\u90AE\u4EF6\u5730\u5740\u592A\u77ED","You have not selected a file to upload.":"\u4F60\u8FD8\u6CA1\u6709\u9009\u62E9\u6587\u4EF6",Update:"\u66F4\u65B0","Import.Import Changes":"\u5BFC\u5165\u66F4\u65B0","No changes, the PCB already matches the schematic!":"\u65E0\u53D8\u66F4\uFF0CPCB\u4E0E\u539F\u7406\u56FE\u5DF2\u7ECF\u5339\u914D\uFF01","No changes, the schematic already matches the PCB!":"\u65E0\u53D8\u66F4\uFF0C\u539F\u7406\u56FE\u4E0EPCB\u5DF2\u7ECF\u5339\u914D\uFF01","No changes, the PCB already matches the netlist!":"\u65E0\u53D8\u66F4\uFF0CPCB\u5DF2\u4E0E\u7F51\u8868\u76F8\u5339\u914D\uFF01","No changes, the schematic already matches the netlist!":"\u65E0\u53D8\u66F4\uFF0C\u539F\u7406\u56FE\u5DF2\u4E0E\u7F51\u8868\u76F8\u5339\u914D\uFF01","Import netlist failed! There is a duplicated Unique ID in the netlist: {uniqueIDValue}.":"\u5BFC\u5165\u7F51\u8868\u5931\u8D25\uFF01\u7F51\u8868\u4E2D\u6709\u91CD\u590D\u7684\u552F\u4E00ID: {uniqueIDValue}.","Import netlist failed! The Unique ID {uniqueIDValue} of the component is duplicated:":"\u5BFC\u5165\u7F51\u8868\u5931\u8D25\uFF01\u5143\u4EF6\u7684\u552F\u4E00ID: {uniqueIDValue} \u51FA\u73B0\u91CD\u590D:","Schematic {sch} and PCB {pcb} have no differences.":"\u539F\u7406\u56FE {sch} \u548C PCB {pcb} \u65E0\u5DEE\u5F02\u3002","Only public files can be shared":"\u53EA\u6709\u516C\u5F00\u6587\u4EF6\u624D\u80FD\u88AB\u5206\u4EAB\uFF0C\u5F53\u524D\u6587\u4EF6\u662F\u79C1\u6709\u6587\u4EF6","Conversion to PCB has failed!":"\u8F6C\u6362PCB\u5931\u8D25","Your username is too short!":"\u7528\u6237\u540D\u592A\u77ED","Your password is too short, it must be more than 6 characters!":"\u5BC6\u7801\u592A\u77ED\uFF0C\u5FC5\u987B\u5927\u4E8E6\u4E2A\u5B57\u7B26","Conflicting shortcut":"\u70ED\u952E\u51B2\u7A81","There is an empty PCB file. Please first run Convert Project To PCB... from the schematic":'\u8FD9\u662F\u4E00\u4E2A\u7A7A\u767DPCB,\u8BF7\u5148\u6253\u5F00\u539F\u7406\u56FE\u8FD0\u884C"\u539F\u7406\u56FE\u8F6CPCB"',"Choose one wire net":"\u8BF7\u9009\u62E9\u7F51\u7EDC\u540D","Wires of {0} will merge, please choose one:":"\u4EE5\u4E0B\u7EC4 {0} \u5C06\u5408\u5E76\uFF0C\u8BF7\u9009\u62E9\u4E00\u4E2A\u7F51\u7EDC\u540D\uFF1A","Please choose a proper way to handle each group:":"\u8BF7\u9009\u62E9\u7F51\u7EDC\u5206\u5272\u7684\u65B9\u5F0F\uFF1A","Split Net":"\u7F51\u7EDC\u5206\u5272","Empty all":"\u6E05\u7A7A\u6240\u6709",Toggle:"\u5207\u6362","Set selected as current name":"\u5C06\u9009\u4E2D\u8BBE\u4E3A\u5F53\u524D\u7F51\u7EDC\u540D","This file can only be opened in standard mode. To open it, please switch to standard mode.":"\u8BE5\u6587\u4EF6\u53EA\u80FD\u5728\u6807\u51C6\u6A21\u5F0F\u6253\u5F00\uFF0C\u5982\u8981\u6253\u5F00\u8BF7\u5207\u6362\u81F3\u6807\u51C6\u6A21\u5F0F","Save preferences successfully!":"\u4FDD\u5B58\u4E2A\u4EBA\u504F\u597D\u6210\u529F!","Save preferences failed!":"\u4FDD\u5B58\u4E2A\u4EBA\u504F\u597D\u5931\u8D25!","Update subckt ok!":"\u66F4\u65B0\u5B50\u7535\u8DEF\u6210\u529F \u3002","Please type a new file name":"\u8BF7\u8F93\u5165\u4E00\u4E2A\u65B0\u7684\u6587\u4EF6\u540D","Create file failure!":"\u521B\u5EFA\u6587\u4EF6\u5931\u8D25","Schematics and PCBs can't be imported under My Libs folder, please choose a different folder":"\u539F\u7406\u56FE\u4E0EPCB\u4E0D\u80FD\u5BFC\u5165\u5230My Libs\u76EE\u5F55\u4E0B\uFF0C\u8BF7\u9009\u62E9\u5176\u5B83\u76EE\u5F55","Libraries to be imported under My Libs folder":"\u5E93\u6587\u4EF6\u4EC5\u80FD\u5BFC\u5165\u5230My Libs\u76EE\u5F55\u4E0B","Please choose only the libraries needed":"\u8BF7\u4EC5\u4EC5\u9009\u62E9\u9700\u8981\u7684\u5E93\u6587\u4EF6","Import Library":"\u5BFC\u5165\u5E93\u6587\u4EF6","Maximum import is 200 libs at one time!":"\u6211\u4EEC\u4E0D\u652F\u6301\u4E00\u6B21\u5BFC\u5165\u591A\u4E8E200\u4E2A\u5E93\u6587\u4EF6","You libraries will be found under the My Libs folder":"\u4F60\u7684\u5E93\u6587\u4EF6\u5C06\u51FA\u73B0\u5728My Libs\u6587\u4EF6\u5939\u4E0B","Add to Library":"\u6DFB\u52A0\u5230\u5E93\u4E2D","No items have been checked!":"\u6CA1\u6709\u52FE\u9009\u4EFB\u4F55\u5E93\u6587\u4EF6!","No symbol checked!":"\u6CA1\u6709\u52FE\u9009\u7B26\u53F7\uFF01","No footprint checked!":"\u6CA1\u6709\u52FE\u9009\u5C01\u88C5\uFF01","Nothing was found, please create it for yourself":"\u4EC0\u4E48\u4E5F\u6CA1\u6709\u627E\u5230\uFF0C\u4F60\u53EF\u4EE5\u81EA\u5DF1\u521B\u5EFA\u5B83","Search result":"\u641C\u7D22\u7ED3\u679C","Search result is empty!":"\u641C\u7D22\u7ED3\u679C\u4E3A\u7A7A!","At least 3 characters needed":"\u6700\u5C113\u4E2A\u82F1\u6587\u5B57\u6BCD","Add to my Favorite Parts":"\u6DFB\u52A0\u5230\u6211\u7684\u6536\u85CF","Added it OK. Please find it in your Favorite Parts":"\u6DFB\u52A0\u6210\u529F\uFF0C\u8BF7\u68C0\u67E5\u4F60\u7684\u6536\u85CF\u5668\u4EF6","Please select its parent node":"\u8BF7\u9009\u62E9\u5B83\u7684\u7236\u8282\u70B9","Libraries can not be exported as active project pdf.":"\u5E93\u6587\u4EF6\u4E0D\u80FD\u4F5C\u4E3A\u5DE5\u7A0BPDF\u6587\u4EF6\u5BFC\u51FA","Make sure your pin numbers are even numbers":"\u8BF7\u786E\u8BA4\u4F60\u8F93\u5165\u7684\u5F15\u811A\u7684\u4E2A\u6570\u662F\u5076\u6570","Duplicate Components Prefix":"\u5668\u4EF6\u6807\u6CE8\u91CD\u590D","All components are hidden successfully!":"\u5168\u90E8\u5143\u4EF6\u9690\u85CF\u6210\u529F\uFF01","All components":"\u5168\u90E8\u5143\u4EF6","Only selected components":"\u4EC5\u9009\u4E2D\u5143\u4EF6","All nets are hidden successfully!":"\u5168\u90E8\u7F51\u7EDC\u9690\u85CF\u6210\u529F\uFF01","is hidden successfully!":"\u9690\u85CF\u6210\u529F\uFF01","Duplicate Footprints Prefix":"\u5C01\u88C5\u6807\u6CE8\u91CD\u590D","{0} exist":"{0} \u5DF2\u5B58\u5728","{0} exist!":"{0} \u5DF2\u5B58\u5728!","There are some invalid packages, are you sure?":"\u6709\u4E9B\u5C01\u88C5\u662F\u65E0\u6548\u7684\uFF0C\u4F60\u786E\u8BA4\u8BE5\u64CD\u4F5C?","Invalid Characters, library only allows [0-9a-zA-Z-_]":"\u975E\u6CD5\u5B57\u7B26\uFF0C\u5E93\u6587\u4EF6\u53EA\u5141\u8BB8[0-9a-zA-Z-_]\u7B49\u5B57\u7B26","Annotation success":"\u6807\u6CE8\u6210\u529F","If you accept this annotation operation, please save your files. If not, close your files without saving.":"\u5047\u5982\u4F60\u63A5\u53D7\u8BE5\u6807\u6CE8\u64CD\u4F5C\uFF0C\u8BF7\u4FDD\u5B58\u4F60\u7684\u6587\u4EF6.\u5426\u5219\u76F4\u63A5\u5173\u95ED\u4F60\u7684\u6587\u4EF6\u4E0D\u8981\u4FDD\u5B58\u5B83.","This file can't be saved under libs project. Please choose other project or create a new project":"\u8BE5\u6587\u6863\u4E0D\u80FD\u4FDD\u5B58\u5728\u5E93\u5DE5\u7A0B\u4E0B\uFF0C\u8BF7\u9009\u62E9\u5176\u5B83\u5DE5\u7A0B\uFF0C\u6216\u8005\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u5DE5\u7A0B","Your file is unsaved.":"\u4F60\u7684\u6587\u6863\u6CA1\u6709\u4FDD\u5B58","You can close the editor now. Have a good day!":"\u73B0\u5728\u4F60\u53EF\u4EE5\u5173\u95ED\u7F16\u8F91\u5668\uFF0C\u795D\u751F\u6D3B\u6109\u5FEB!","Logout Successfully!":"\u9000\u51FA\u6210\u529F\uFF01","You have at least one unsaved file open. Please save it or close it.":"\u4F60\u81F3\u5C11\u6709\u4E00\u4E2A\u6587\u6863\u6CA1\u6709\u4FDD\u5B58\uFF0C\u8BF7\u4FDD\u5B58\u5B83\u6216\u8005\u5173\u95ED\u5B83","Please save your file before this operation":"\u8BF7\u5148\u4FDD\u5B58\u6587\u540E\u518D\u8FDB\u884C\u8BE5\u64CD\u4F5C","Please open a PCB document":"\u8BF7\u6253\u5F00\u4E00\u4E2APCB\u6587\u6863","The editor's environment is not prepared":"\u7F16\u8F91\u5668\u73AF\u5883\u672A\u51C6\u5907\u597D","Please save your file before '{0}'.":"\u8FDB\u884C{0}\u524D\u8BF7\u5148\u4FDD\u5B58\u4F60\u7684\u6587\u4EF6\u3002","Please try again after saving this file.":"\u4FDD\u5B58\u6587\u6863\u540E\u518D\u8BD5\u4E00\u6B21","This text can not be empty!":"\u6B64\u5904\u6587\u672C\u4E0D\u80FD\u4E3A\u7A7A\uFF01","Export to Altium fail, please try again or contact us.":"\u5BFC\u51FAAltium\u5931\u8D25\uFF0C\u8BF7\u518D\u6B21\u5C1D\u8BD5\u6216\u8054\u7CFB\u6211\u4EEC\u3002","Connecting to server":"\u6B63\u5728\u8FDE\u63A5\u670D\u52A1\u5668",Saving:"\u6B63\u5728\u4FDD\u5B58","Processing...":"\u6B63\u5728\u5904\u7406...","Please login before asking for help":"\u5BFB\u6C42\u5E2E\u52A9\u524D\u8BF7\u5148\u767B\u5F55","This file has been modified, please save it first!":"\u8BE5\u6587\u6863\u5DF2\u7ECF\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5148\u4FDD\u5B58!","Remove this param":"\u79FB\u9664\u8BE5\u53C2\u6570","Don't support to drag a part to the canvas, please click the part and move the cursor to the canvas and then right-click to place.":"\u4E0D\u652F\u6301\u76F4\u63A5\u62D6\u52A8\u5143\u4EF6\u5230\u753B\u5E03\u4E2D\uFF0C\u8BF7\u70B9\u51FB\u5143\u4EF6\uFF0C\u518D\u79FB\u52A8\u9F20\u6807\u5230\u753B\u5E03\uFF0C\u518D\u70B9\u51FB\u9F20\u6807\u5DE6\u952E\u8FDB\u884C\u653E\u7F6E\u3002","Undo/Redo temporary error":"\u64A4\u9500/\u91CD\u505A\u4E34\u65F6\u9519\u8BEF","We are sorry but EasyEDA is exhibiting an unpredictable error in the undo/redo process. This problem will be fixed soon but in the meanwhile it is safe to continue working on your design.":"\u64A4\u9500\u91CD\u505A\u6682\u65F6\u51FA\u73B0\u4E0D\u53EF\u9884\u77E5\u9519\u8BEF,\u6211\u4EEC\u5C06\u5C3D\u5FEB\u4FEE\u590D\u8FD9\u4E2A\u95EE\u9898, \u540C\u65F6\u4F60\u7684\u8BBE\u8BA1\u4F5C\u54C1\u662F\u5B89\u5168\u7684,\u4F60\u53EF\u4EE5\u653E\u5FC3\u7EE7\u7EED\u5DE5\u4F5C.","The schematic has duplicate prefixes of the components, please make them unique. You can check them using the Design Manager.":"\u5F53\u524D\u539F\u7406\u56FE\u5B58\u5728\u91CD\u590D\u7684\u5143\u4EF6\u7F16\u53F7\uFF0C\u8BF7\u4FEE\u6539\u5B83\u4EEC\u5E76\u786E\u4FDD\u662F\u552F\u4E00\u7684\u3002\u4F60\u53EF\u4EE5\u5728\u8BBE\u8BA1\u7BA1\u7406\u5668\u4E2D\u67E5\u770B\u5B83\u4EEC\u3002","Please click the below help button to find out how to fix this problem.":"\u8BF7\u70B9\u51FB\u4E0B\u9762\u7684\u5E2E\u52A9\u6309\u94AE\u83B7\u77E5\u5982\u4F55\u4FEE\u590D\u8FD9\u4E2A\u9519\u8BEF","Please create a board outline! Click the help button to find out how to create a board outline.":"\u8BF7\u5148\u521B\u5EFAPCB\u8FB9\u6846, \u70B9\u51FB\u5E2E\u52A9\u6309\u94AE\u4E86\u89E3\u5982\u4F55\u521B\u5EFAPCB\u8FB9\u6846","Can not fetch files from server, please check your network and try again":"\u4E0D\u80FD\u4ECE\u670D\u52A1\u5668\u7AEF\u83B7\u53D6\u6587\u6863, \u68C0\u67E5\u7F51\u7EDC\u540E\u91CD\u8BD5","Please open a schematic first!":"\u8BF7\u5148\u6253\u5F00\u4E00\u4E2A\u539F\u7406\u56FE.","Can not find the schematic of this PCB":"\u4E0D\u80FD\u627E\u5230\u8BE5PCB\u5BF9\u5E94\u7684\u539F\u7406\u56FE","invalid points!":"\u542B\u6709\u65E0\u6548\u5750\u6807\u70B9","This file does not support this operation.":"\u8BE5\u6587\u6863\u4E0D\u652F\u6301\u8BE5\u64CD\u4F5C","Net Name Conflict":"\u7F51\u7EDC\u540D\u51B2\u7A81","Net name":"\u7F51\u7EDC\u540D","{0} are in the same wire, please remove others and just keep one.":"{0} \u5728\u540C\u4E00\u6761\u5BFC\u7EBF\u4E0A\uFF0C\u8BF7\u5220\u9664\u5176\u5B83\u7684\uFF0C\u4EC5\u4FDD\u7559\u4E00\u4E2A","This field can't be removed!":"\u8BE5\u5B57\u6BB5\u4E0D\u80FD\u88AB\u79FB\u9664","Annular ring of the pad/via is too small":"\u5BFC\u7535\u5B54\u6216\u63D2\u4EF6\u5B54\u5355\u8FB9\u710A\u73AF\u8FC7\u5C0F","The size of the hole cannot exceed the size of the pad":"\u710A\u76D8\u4E0A\u5B54\u7684\u5C3A\u5BF8\u4E0D\u80FD\u8D85\u8FC7\u710A\u76D8\u7684\u5927\u5C0F","This project already has at least one schematic sheet. When converting to PCB, EasyEDA merges all schematics under the same project. One project does not allow two copies of the same schematic. Please do not save backups into projects to be converted to PCB.":"\u8BE5\u5DE5\u7A0B\u4E0B\u5DF2\u7ECF\u81F3\u5C11\u6709\u4E00\u4E2A\u539F\u7406\u56FE\u3002\u5F53\u8F6C\u6362\u6210PCB\u7684\u65F6\u5019\uFF0CEasyEDA\u4F1A\u5408\u5E76\u8BE5\u5DE5\u7A0B\u4E0B\u7684\u6240\u6709\u539F\u7406\u56FE\u3002\u540C\u4E00\u4E2A\u5DE5\u7A0B\u4E0B\u4E0D\u5141\u8BB8\u4E24\u4E2A\u76F8\u540C\u7684\u539F\u7406\u56FE\u3002","Are you sure you want to create a multi-sheet designs?":"\u4F60\u786E\u5B9A\u8981\u521B\u5EFA\u4E00\u4E2A\u591A\u9875\u539F\u7406\u56FE\u5DE5\u7A0B\uFF1F","Are you sure you want to create a {0}multi-sheet designs{1}?":"\u4F60\u786E\u5B9A\u8981\u521B\u5EFA\u4E00\u4E2A{0}\u591A\u9875\u539F\u7406\u56FE{1}\u5DE5\u7A0B\uFF1F","EasyEDA does not allow inner board outlines to form cut-outs, please use Fill Region or Hole":"EasyEDA\u4E0D\u5141\u8BB8\u7528\u8FB9\u6846\u6316\u5B54\uFF0C\u8BF7\u7528\u5B9E\u5FC3\u586B\u5145\u6216\u8005\u5B54\u4EE3\u66FF","Please build the copper area! Click the help button to find out how to build the copper area.":"\u8BF7\u91CD\u5EFA\u94FA\u94DC\u5C42\uFF0C\u70B9\u51FB\u5E2E\u52A9\u6309\u94AE\u83B7\u53D6\u66F4\u591A\u4FE1\u606F","Suggest to set a package for this component first!":"\u5EFA\u8BAE\u5148\u5BF9\u8FD9\u4E2A\u96F6\u4EF6\u8BBE\u7F6E\u5C01\u88C5\u518D\u4FDD\u5B58!","Please select an opened document first.":"\u8BF7\u5148\u9009\u62E9\u4E00\u4E2A\u6253\u5F00\u7684\u6587\u6863",'The editor modules have been upgraded to new version, please click "OK" button to reload the editor.':"\u7F16\u8F91\u5668\u7EC4\u4EF6\u5DF2\u7ECF\u66F4\u65B0\u4E3A\u65B0\u7248\u672C\uFF0C\u8BF7\u70B9\u51FB\u786E\u5B9A\u6309\u94AE\u91CD\u65B0\u52A0\u8F7D\u7F16\u8F91\u5668\u3002","We are heading to EasyEDA online components store LCSC.com. $10 off (code: WELCOMELCSC) on your first parts order, freight including!":"\u524D\u5F80EasyEDA\u7EBF\u4E0A\u5143\u5668\u4EF6\u5546\u5E97LCSC.com\u3002 \u4EAB\u53D7\u5143\u5668\u4EF6\u9996\u5355$10\u51CF\u514D(\u4F18\u60E0\u7801\uFF1AWELCOMELCSC)\u3002","We are heading to EasyEDA online components store LCSC.com. $6 off on your first parts order.":"\u524D\u5F80EasyEDA\u7EBF\u4E0A\u5143\u5668\u4EF6\u5546\u5E97LCSC.com\u3002 \u4EAB\u53D7\u5143\u5668\u4EF6\u9996\u5355$6\u51CF\u514D\u3002",Skip:"\u5FFD\u7565","\xAB Back":"\xAB \u4E0A\u4E00\u4E2A","Next \xBB":"\u4E0B\u4E00\u4E2A \xBB",Done:"\u5B8C\u6210","This is the user management menu.":"\u8FD9\u91CC\u662F\u7528\u6237\u83DC\u5355","This is the toolbar.":"\u8FD9\u91CC\u662F\u9876\u90E8\u5DE5\u5177\u680F","This is the navigation list. Under here you can find projects, files, parts and libraries.":"\u8FD9\u91CC\u662F\u6587\u6863\u5BFC\u822A\uFF0C\u5728\u8FD9\u91CC\u67E5\u770B\u5DE5\u7A0B\u3001\u6587\u6863\u3001\u5E93\u3002","Show or hide the toolbar to the top of the window here.":"\u8FD9\u91CC\u662F\u9876\u90E8\u5DE5\u5177\u680F\u5207\u6362\u5F00\u5173","Show, resize or hide the left sidebar to the left of the window here.":"\u8FD9\u91CC\u662F\u5DE6\u4FA7\u680F\u5207\u6362\u5F00\u5173","Show or hide the right sidebar to the right of the window here.":"\u8FD9\u91CC\u662F\u53F3\u4FA7\u680F\u5207\u6362\u5F00\u5173","Passive Components":"\u65E0\u6E90\u5668\u4EF6",Passive:"\u65E0\u6E90","Power Supply":"\u7535\u6E90",Resistors:"\u7535\u963B","Chip Resistor - Surface Mount":"\u8D34\u7247\u7535\u963B",Capacitors:"\u7535\u5BB9","Multilayer Ceramic Capacitors MLCC - SMD/SMT":"\u8D34\u7247\u7535\u5BB9(MLCC)","Zener Diodes":"\u7A33\u538B\u4E8C\u6781\u7BA1",Connectors:"\u8FDE\u63A5\u5668","Barrier Terminal Blocks":"\u6805\u680F\u5F0F\u63A5\u7EBF\u7AEF\u5B50",Relays:"\u7EE7\u7535\u5668","Power Relays":"\u529F\u7387\u7EE7\u7535\u5668",Memory:"\u5B58\u50A8\u5668",FRAM:"\u94C1\u7535\u5B58\u50A8\u5668(FRAM)","Logic ICs":"\u903B\u8F91\u5668\u4EF6","Flip Flops":"\u89E6\u53D1\u5668",MOSFETs:"\u573A\u6548\u5E94\u7BA1(MOSFET)","Inductors/Coils/Transformers":"\u7535\u611F/\u7EBF\u5708/\u53D8\u538B\u5668","Power Inductors":"\u529F\u7387\u7535\u611F","Display Modules / LED Drivers / Display Drivers":"\u663E\u793A\u6A21\u5757/LED\u9A71\u52A8/\u663E\u793A\u9A71\u52A8","LCD Drivers":"LCD\u9A71\u52A8","Clock and Timing":"\u65F6\u949F\u548C\u8BA1\u65F6","Real-time Clocks (RTC)":"\u5B9E\u65F6\u65F6\u949FRTC","Audio Products/Micromotors":"\u97F3\u9891\u5668\u4EF6/\u5FAE\u7535\u673A(\u9A6C\u8FBE)",Buzzers:"\u8702\u9E23\u5668","Interface ICs":"\u63A5\u53E3\u82AF\u7247","USB ICs":"USB\u82AF\u7247",Sensors:"\u4F20\u611F\u5668","Reflective Optical Interrupters":"\u53CD\u5C04\u5F0F\u5149\u7535\u5F00\u5173",Amplifiers:"\u653E\u5927\u5668\u3001\u7EBF\u6027\u5668\u4EF6","FET InputAmplifiers":"FET\u8F93\u5165\u8FD0\u653E","RF & Radio":"\u5C04\u9891\u65E0\u7EBF\u7535","SAW Filters":"\u58F0\u8868\u9762\u6CE2\u6EE4\u6CE2\u5668(SAW)","Filters/EMI Optimization":"\u6EE4\u6CE2\u5668/EMI\u4F18\u5316","Ferrite Beads":"\u78C1\u73E0","Functional Modules":"\u529F\u80FD\u6A21\u5757",Modules:"\u6A21\u5757","Data Converters":"\u6570\u636E\u8F6C\u6362\u82AF\u7247","Analog To Digital Converters (ADCs)":"\u6A21\u6570\u8F6C\u6362\u82AF\u7247ADC","Crystals/Oscillators/Resonators":"\u6676\u4F53/\u632F\u8361\u5668/\u8C10\u632F\u5668",Crystals:"\u65E0\u6E90\u6676\u632F",Optoelectronics:"\u5149\u7535\u5668\u4EF6","Optocouplers - Phototransistor Output":"\u5149\u8026-\u5149\u7535\u6676\u4F53\u7BA1\u8F93\u51FA","Power Management ICs":"\u7535\u6E90\u7BA1\u7406","Linear Voltage Regulators (LDO)":"\u7EBF\u6027\u7A33\u538B\u5668(LDO)",Switches:"\u5F00\u5173","Tactile Switches":"\u8F7B\u89E6\u5F00\u5173","Circuit Protection":"\u677F\u7EA7\u7535\u8DEF\u4FDD\u62A4",Varistors:"\u538B\u654F\u7535\u963B","IoT/Communication Modules":"\u7269\u8054\u7F51/\u901A\u4FE1\u6A21\u5757","WiFi Modules":"WiFi\u6A21\u5757","Solders / Accessories / Batteries":"\u710A\u6750/\u8F85\u6599/\u7535\u6C60","Heat Sinks":"\u6563\u70ED\u677F/\u6563\u70ED\u7247","Embedded Processors & Controllers":"\u5904\u7406\u5668\u53CA\u5FAE\u63A7\u5236\u5668","ST Microelectronics":"ST(\u610F\u6CD5\u534A\u5BFC\u4F53)","Electromechanical Devices & Components":"\u5DE5\u63A7\u7535\u6C14","Power Connectors":"\u7535\u6E90\u8FDE\u63A5\u5668",Diodes:"\u4E8C\u6781\u7BA1",Regulator:"\u7A33\u538B\u5668\u4EF6",Transistor:"\u6676\u4F53\u7BA1",Transformers:"\u53D8\u538B\u5668",Gates:"\u903B\u8F91\u95E8","Vacuum Tubes":"\u771F\u7A7A\u7BA1",Switch:"\u5F00\u5173",Relay:"\u7EE7\u7535\u5668","Capacitor(US)":"\u7535\u5BB9(\u7F8E\u5F0F)","Capacitor(EU)":"\u7535\u5BB9(\u6B27\u5F0F)","Capacitor(EU)2":"\u7535\u5BB9(\u6B27\u5F0F)2","Electrolytic Capacitor(US)":"\u7535\u89E3\u7535\u5BB9(\u7F8E\u5F0F)","Electrolytic Capacitor(EU)":"\u7535\u89E3\u7535\u5BB9(\u6B27\u5F0F)","Electrolytic Capacitor(US)2":"\u7535\u89E3\u7535\u5BB9(\u7F8E\u5F0F)2","Electrolytic Capacitor(EU)2":"\u7535\u89E3\u7535\u5BB9(\u6B27\u5F0F)2","Inductor(US)":"\u7535\u611F(\u7F8E\u5F0F)","Inductor(EU)":"\u7535\u611F(\u6B27\u5F0F)",Potentiometer_US:"\u53EF\u53D8\u7535\u963B_\u7F8E\u6807","Potentiometer_EU/IEC":"\u53EF\u53D8\u7535\u963B_\u6B27\u6807",Potentiometer_3D:"\u53EF\u53D8\u7535\u963B_3D","Resistor(US)":"\u7535\u963B(\u7F8E\u5F0F)","Resistor(EU)":"\u7535\u963B(\u6B27\u5F0F)","Resistor 45 Deg(US)":"\u7535\u963B 45 \u5EA6(\u7F8E\u5F0F)","Resistor 45 Deg(EU)":"\u7535\u963B 45 \u5EA6(\u6B27\u5F0F)","Variable Capacitor(US)":"\u53EF\u8C03\u7535\u5BB9(\u7F8E\u5F0F)","Variable Capacitor(EU)":"\u53EF\u8C03\u7535\u5BB9(\u6B27\u5F0F)","Variable Resistor(US)":"\u53EF\u8C03\u7535\u963B(\u7F8E\u5F0F)","Variable Resistor(EU)":"\u53EF\u8C03\u7535\u963B(\u6B27\u5F0F)","Variable Inductor(US)":"\u53EF\u8C03\u7535\u611F(\u7F8E\u5F0F)","Variable Inductor(EU)":"\u53EF\u8C03\u7535\u611F(\u6B27\u5F0F)",Varistor:"\u538B\u654F\u7535\u963B","Inductor2(US)":"\u7535\u611F2(\u7F8E\u5F0F)","Inductor2(EU)":"\u7535\u611F2(\u6B27\u5F0F)",Battery:"\u7535\u6C60","Voltage Source":"\u7535\u538B\u6E90","Current Source":"\u7535\u6D41\u6E90","CCCS(Current Controlled Current Source)":"CCCS(\u7535\u6D41\u63A7\u5236\u7535\u6D41\u6E90)","CCCS2(Current Controlled Current Source)":"CCCS2(\u7535\u6D41\u63A7\u5236\u7535\u6D41\u6E90)","VCCS(Voltage Controlled Current Source)":"VCCS(\u7535\u538B\u63A7\u5236\u7535\u6D41\u6E90)","VCVS(Voltage Controlled Voltage Source)":"VCVS(\u7535\u538B\u63A7\u5236\u7535\u538B\u6E90)","CCVS(Current Controlled Voltage Source)":"CCVS(\u7535\u6D41\u63A7\u5236\u7535\u538B\u6E90)","CCVS2(Current Controlled Voltage Source)":"CCVS2(\u7535\u6D41\u63A7\u5236\u7535\u538B\u6E90)","BV(Behavioral Voltage Sources)":"BV(\u884C\u4E3A\u7535\u538B\u6E90)","BI(Behavioral Voltage Sources)":"BI(\u884C\u4E3A\u7535\u6D41\u6E90)","Epoly(Non-linear Voltage Source)":"Epoly(\u975E\u7EBF\u6027\u7535\u538B\u6E90)","Gpoly(Non-linear Current Source)":"Gpoly(\u975E\u7EBF\u6027\u7535\u6D41\u6E90)",Diode:"\u4E8C\u6781\u7BA1",LED:"\u53D1\u5149\u4E8C\u6781\u7BA1",LED_3D:"\u53D1\u5149\u4E8C\u6781\u7BA1_3D","Schottky Diode":"\u8096\u7279\u57FA\u4E8C\u6781\u7BA1","Varactor Diode":"\u53D8\u5BB9\u4E8C\u6781\u7BA1",Zener:"\u7A33\u538B\u4E8C\u6781\u7BA1","Unidirectional TVS Diode":"\u5355\u5411\u77AC\u6001\u7535\u538B\u6291\u5236\u4E8C\u6781\u7BA1","Bidirectional TVS Diode":"\u53CC\u5411\u77AC\u6001\u7535\u538B\u6291\u5236\u4E8C\u6781\u7BA1",Diac:"\u53CC\u5411\u89E6\u53D1\u4E8C\u6781\u7BA1",Bridge:"\u6865\u63A5","BJT(NPN)":"\u4E09\u6781\u7BA1(NPN)","BJT(PNP)":"\u4E09\u6781\u7BA1(PNP)","MOSFET(Nch)":"\u573A\u6548\u5E94\u7BA1(N\u6C9F\u9053)","MOSFET(Nch) Depletion Four-pins":"\u8017\u5C3D\u578B\u573A\u6548\u5E94\u7BA1(N\u6C9F\u9053)4\u811A","MOSFET(Nch) Enhancement":"\u589E\u5F3A\u578B\u573A\u6548\u5E94\u7BA1(N\u6C9F\u9053)","MOSFET(Nch) Enhancement Four-pins":"\u589E\u5F3A\u578B\u573A\u6548\u5E94\u7BA1(N\u6C9F\u9053)4\u811A","MOSFET(Pch)":"\u573A\u6548\u5E94\u7BA1(P\u6C9F\u9053)","MOSFET(Pch) Depletion Four-pins":"\u8017\u5C3D\u578B\u573A\u6548\u5E94\u7BA1(P\u6C9F\u9053)4\u811A","MOSFET(Pch) Enhancement":"\u589E\u5F3A\u578B\u573A\u6548\u5E94\u7BA1(P\u6C9F\u9053)","MOSFET(Pch) Enhancement Four-pins":"\u589E\u5F3A\u578B\u573A\u6548\u5E94\u7BA1(P\u6C9F\u9053)4\u811A","JFET(Nch)":"\u7ED3\u578B\u573A\u6548\u5E94\u7BA1(N\u6C9F\u9053)","JFET(Pch)":"\u7ED3\u578B\u573A\u6548\u5E94\u7BA1(P\u6C9F\u9053)","Darlington NPN":"\u8FBE\u6797\u987F(NPN)","Darlington PNP":"\u8FBE\u6797\u987F(PNP)","MESFET(Nch)":"\u91D1\u5C5E\u534A\u5BFC\u4F53\u573A\u6548\u5E94\u6676\u4F53\u7BA1(N\u6C9F\u9053)","MESFET(Pch)":"\u91D1\u5C5E\u534A\u5BFC\u4F53\u573A\u6548\u5E94\u6676\u4F53\u7BA1(P\u6C9F\u9053)",IGBT:"\u7EDD\u7F18\u6805\u53CC\u6781\u578B\u6676\u4F53\u7BA1",SCR:"\u53EF\u63A7\u7845",Triac:"\u53CC\u5411\u6676\u95F8\u7BA1","Transform(US)":"\u53D8\u538B\u5668(\u7F8E\u5F0F)","Transform(EU)":"\u53D8\u538B\u5668(\u6B27\u5F0F)","Transfrom(NEUTRAL-CTR TAP)(US)":"\u4E2D\u5FC3\u62BD\u5934\u53D8\u538B\u5668(\u7F8E\u5F0F)","Transfrom(NEUTRAL-CTR TAP)(EU)":"\u4E2D\u5FC3\u62BD\u5934\u53D8\u538B\u5668(\u6B27\u5F0F)","Mutual Inductors":"\u4E92\u611F","Mutual Inductors2":"\u4E92\u611F2","Or Gate":"\u6216\u95E8","Xor Gate":"\u5F02\u6216\u95E8","And Gate":"\u4E0E\u95E8","Nor Gate":"\u6216\u975E\u95E8","Nand Gate":"\u4E0E\u975E\u95E8","Not Gate":"\u975E\u95E8","Xnor Gate":"\u540C\u6216\u95E8","Tube Diode":"\u771F\u7A7A\u4E8C\u6781\u7BA1","Tube Triode":"\u771F\u7A7A\u4E09\u6781\u7BA1","Tube Tetrode":"\u771F\u7A7A\u56DB\u6781\u7BA1","Tube Pentode":"\u771F\u7A7A\u4E94\u6781\u7BA1","Voltage Controlled Switch":"\u7535\u538B\u63A7\u5236\u5F00\u5173","Current Controlled Switch":"\u7535\u6D41\u63A7\u5236\u5F00\u5173","SPST ON":"\u5355\u5200\u5355\u95F8(\u5408)","SPST OFF":"\u5355\u5200\u5355\u95F8(\u5F00)",Fuse:"\u4FDD\u9669\u4E1D",Speaker:"\u5587\u53ED",XTAL:"\u6676\u632F","5pin Operational Amplifier":"5\u7AEF\u8FD0\u653E","3pin Operational amplifier":"3\u7AEF\u8FD0\u653E","Transmission Line":"\u4F20\u8F93\u7EBF",Voltmeter:"\u7535\u538B\u8868",Ammeter:"\u7535\u6D41\u8868",LAMP:"\u706F\u6CE1","Opto Transistor":"\u5149\u7535\u4E09\u6781\u7BA1","Keep these fields empty if you just want to build a symbol":"\u5982\u679C\u53EA\u662F\u8981\u521B\u5EFA\u6807\u8BC6\u7B26\uFF0C\u8BF7\u5C06\u4EE5\u4E0A\u8868\u5355\u7559\u7A7A\u3002","Need login":"\u9700\u8981\u767B\u5F55",Need:"\u9700\u8981","Bad password":"\u9519\u8BEF\u7684\u5BC6\u7801","We can't find your username or your email, please check it!":"\u6211\u4EEC\u4E0D\u80FD\u627E\u5230\u8FD9\u4E2A\u7528\u6237\u540D\u6216\u8005\u90AE\u4EF6,\u8BF7\u4ED4\u7EC6\u68C0\u67E5","Make sure your uploaded file size is less than 3MB!":"\u8BF7\u786E\u4FDD\u60A8\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u4E0D\u8D85\u8FC73MB\uFF01","Make sure your uploaded svg file size is less than {0}MB!":"\u8BF7\u786E\u4FDD\u60A8\u4E0A\u4F20\u7684SVG\u6587\u4EF6\u5927\u5C0F\u4E0D\u8D85\u8FC7{0}MB\uFF01","The image size cannot be more than {size} MB":"\u56FE\u7247\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 {size} MB","Bad file type":"\u9519\u8BEF\u7684\u6587\u4EF6\u7C7B\u578B","Empty file or bad file type, ensure your file is Eagle 6.0+":"\u9519\u8BEF\u7684\u6587\u4EF6\u7C7B\u578B,\u8BF7\u786E\u8BA4\u4F60\u7684eagle\u6587\u4EF6\u7248\u672C\u5927\u4E8E6.0","This operation not supported on demo account":"\u6F14\u793A\u8D26\u53F7\u7981\u6B62\u8BE5\u64CD\u4F5C","Can not share this file under a private project, please set the active project to public!":"\u4E0D\u80FD\u5206\u4EAB\u79C1\u6709\u6587\u6863\uFF0C\u8BF7\u628A\u4F46\u524D\u5DE5\u7A0B\u8BBE\u7F6E\u4E3A\u516C\u5F00","Login Failed Too many attempts. If you forgot your password, please {0}reset your password{1} or send an email to support@easyeda.com":"\u5BC6\u7801\u9519\u8BEF\u6B21\u6570\u592A\u591A\uFF0C\u5047\u5982\u5FD8\u8BB0\u5BC6\u7801\uFF0C\u8BF7\u70B9\u51FB{0}\u91CD\u7F6E\u5BC6\u7801{1}","Common Buttons Setting":"\u6309\u94AE\u8BBE\u7F6E","Menu Setting...":"\u83DC\u5355\u680F\u8BBE\u7F6E...","Show/Hide":"\u663E\u793A/\u9690\u85CF",Hide:"\u9690\u85CF",Conceal:"\u9690\u85CF","Move Up":"\u4E0A\u79FB","Move Down":"\u4E0B\u79FB","Reset All":"\u91CD\u7F6E","Find Libraries...":"\u67E5\u627E\u5E93\u6587\u4EF6...","Place Pin":"\u653E\u7F6E\u7BA1\u811A","Snap to Grid":"\u5438\u9644\u7F51\u683C",System:"\u7CFB\u7EDF",Mine:"\u6211\u7684",Client:"\u5BA2\u6237\u7AEF","0819f05c4eef4c71ace90d822a990e87":"\u7CFB\u7EDF","Schematic/Symbol/Simulation":"\u539F\u7406\u56FE/\u7B26\u53F7/\u4EFF\u771F","PCB/Footprint":"PCB/\u5C01\u88C5","Zoom Mode":"\u7F29\u653E\u65B9\u5F0F","Scroll Key":"\u6EDA\u8F6E\u7F29\u653E","CTRL + Scroll":"CTRL+\u6EDA\u8F6E","Canvas Coordinate System":"\u753B\u5E03\u5750\u6807\u7CFB\u7EDF","Coordinate\uFF1A":"\u5750\u6807\u7CFB\uFF1A","SVG Coordinate":"SVG\u5750\u6807\u7CFB","Coordinate Axis":"\u5750\u6807\u8F74","Cartesian Coordinate":"\u7B1B\u5361\u5C14\u5750\u6807\u7CFB","Open Wizard Dialog for New Schematic":"\u65B0\u5EFA\u539F\u7406\u56FE\u65F6\u6253\u5F00\u5411\u5BFC","Default Unit":"\u9ED8\u8BA4\u5355\u4F4D","Canvas Zoom Effect":"\u753B\u5E03\u7F29\u653E\u6548\u679C","Quality Priority":"\u8D28\u91CF\u4F18\u5148","Speed Priority":"\u901F\u5EA6\u4F18\u5148","Rotation Step":"\u6BCF\u6B21\u65CB\u8F6C\u89D2\u5EA6","Command...":"\u547D\u4EE4...",Teardrop:"\u6CEA\u6EF4",TearDrop:"\u6CEA\u6EF4",TEARDROP:"\u6CEA\u6EF4","Teardrop...":"\u6CEA\u6EF4...","Add Teardrop Automatically":"\u81EA\u52A8\u6DFB\u52A0\u6CEA\u6EF4","Add Teardrops":"\u6DFB\u52A0\u6CEA\u6EF4","Add Teardrops...":"\u6DFB\u52A0\u6CEA\u6EF4...","Remove Teardrops":"\u79FB\u9664\u6CEA\u6EF4","Teardrop Setting...":"\u6CEA\u6EF4\u8BBE\u7F6E...","Assign Net for Free Track/Arc/Circle":"\u4E3A\u81EA\u7531\u5BFC\u7EBF/\u5706\u5F27/\u5706\u5206\u914D\u7F51\u7EDC","Open Wizard Dialog for New PCB":"\u65B0\u5EFAPCB\u65F6\u6253\u5F00\u5411\u5BFC","Rebuild Plane Automatically":"\u81EA\u52A8\u91CD\u5EFA\u5185\u7535\u5C42","The Track's Routing Follows Component's Rotation":"\u5143\u4EF6\u65CB\u8F6C\u65F6\u5BFC\u7EBF\u8DDF\u968F","Display Pad's Number and Net":"\u710A\u76D8\u540C\u65F6\u663E\u793A\u7F51\u7EDC\u4E0E\u7F16\u53F7","Favorite Track width":"\u5E38\u7528\u5BFC\u7EBF\u5BBD\u5EA6","Track Width Setting":"\u5BFC\u7EBF\u5BBD\u5EA6\u8BBE\u7F6E","add new param":"\u65B0\u589E\u81EA\u5B9A\u4E49\u5C5E\u6027",userParams:"\u4E2A\u4EBA\u81EA\u5B9A\u4E49\u5C5E\u6027",projectParams:"\u5DE5\u7A0B\u81EA\u5B9A\u4E49\u5C5E\u6027",Snapping:"\u5438\u9644\u56FE\u5C42\u914D\u7F6E","Current Layer":"\u4EC5\u5F53\u524D\u6FC0\u6D3B\u5C42","Snap Distance":"\u5438\u9644\u8DDD\u79BB","Layout/Route":"\u5E03\u5C40\u5E03\u7EBF","Snap Point":"\u6805\u683C\u70B9","Extended Line":"\u5EF6\u957F\u7EBF","Pad Center":"\u710A\u76D8\u4E2D\u5FC3","Pad Vertices":"\u710A\u76D8\u9876\u70B9","Pad Edges":"\u710A\u76D8\u8FB9\u7F18","Via Center":"\u8FC7\u5B54\u4E2D\u5FC3","Track Center":"\u5BFC\u7EBF\u4E2D\u5FC3","Outline Object":"\u8F6E\u5ED3\u5BF9\u8C61",Endpoint:"\u7AEF\u70B9",Midpoint:"\u4E2D\u70B9",Intersection:"\u4EA4\u70B9","Arc/Circle Center Point":"\u5706\u5FC3","Perpendicular Foot":"\u5782\u8DB3","Tangent Point":"\u5207\u70B9","Region Center":"\u533A\u57DF\u4E2D\u5FC3","Line Center":"\u7EBF\u6BB5\u4E2D\u5FC3","Snap Setting...":"\u5438\u9644\u8BBE\u7F6E...","Client Setting":"\u5BA2\u6237\u7AEF\u8BBE\u7F6E","Running mode setting":"\u8FD0\u884C\u6A21\u5F0F\u8BBE\u7F6E",track:"\u8FFD\u8E2A",debug:"\u8C03\u8BD5",info:"\u4FE1\u606F",warn:"\u8B66\u544A","Verifying the proxy":"\u9A8C\u8BC1\u4EE3\u7406\u4E2D","Your browser cannot run fileReader":"\u4F60\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301fileReader","Please select a .txt file.":"\u8BF7\u9009\u62E9txt\u6587\u4EF6","Please select exactly one valid .txt file.":"\u8BF7\u9009\u62E9\u6709\u6548\u7684txt\u6587\u4EF6","Failed to select the activation file!":"\u9009\u62E9\u6FC0\u6D3B\u6587\u4EF6\u5931\u8D25\uFF01","Tip: After changing the operating mode and changing the path, you need to restart the software":"\u63D0\u793A\uFF1A\u5207\u6362\u8FD0\u884C\u6A21\u5F0F\u548C\u6539\u53D8\u8DEF\u5F84\u540E\uFF0C\u9700\u8981\u91CD\u65B0\u542F\u52A8\u672C\u8F6F\u4EF6","After changing the operating mode and changing the path, you need to restart the program.":"\u5207\u6362\u8FD0\u884C\u6A21\u5F0F\u548C\u6539\u53D8\u8DEF\u5F84\u540E\uFF0C\u9700\u8981\u91CD\u65B0\u542F\u52A8\u7A0B\u5E8F\u3002","After changing the operating mode,changing the path,replace activation File and switch client logging, you need to restart the program.":"\u5207\u6362\u8FD0\u884C\u6A21\u5F0F\u3001\u6539\u53D8\u8DEF\u5F84\u3001\u66FF\u6362\u6FC0\u6D3B\u6587\u4EF6\u548C\u5207\u6362\u5BA2\u6237\u7AEF\u65E5\u5FD7\u540E\uFF0C\u9700\u8981\u91CD\u65B0\u542F\u52A8\u7A0B\u5E8F\u3002","After changing the operating mode and switch client logging, you need to restart the program.":"\u5207\u6362\u8FD0\u884C\u6A21\u5F0F\u548C\u5207\u6362\u5BA2\u6237\u7AEF\u65E5\u5FD7\u540E\uFF0C\u9700\u8981\u91CD\u65B0\u542F\u52A8\u7A0B\u5E8F\u3002","Whether to restart the program immediately?":"\u662F\u5426\u7ACB\u5373\u91CD\u65B0\u542F\u52A8\u7A0B\u5E8F\uFF1F","There is no {0} log directory at present. After switching the log application and restarting the client, the folder will be automatically generated.":"\u5F53\u524D\u6CA1\u6709{0}\u65E5\u5FD7\u76EE\u5F55\uFF0C\u5207\u6362\u65E5\u5FD7\u5E94\u7528\u540E\u91CD\u542F\u5BA2\u6237\u7AEF\u5C06\u81EA\u52A8\u751F\u6210\u8BE5\u6587\u4EF6\u5939","Default path of the new project":"\u65B0\u5EFA\u5DE5\u7A0B\u9ED8\u8BA4\u8DEF\u5F84","The path cannot be empty!":"\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A\uFF01","10 {0} paths at most can be saved\uFF01":"\u6700\u591A\u5141\u8BB8\u4FDD\u5B5810\u4E2A{0}\u8DEF\u5F84\uFF01","Produce Color Silkscreen":"\u751F\u4EA7\u5F69\u8272\u4E1D\u5370\u62FC\u7248","Generate Color Silkscreen":"\u751F\u6210\u5F69\u8272\u4E1D\u5370\u62FC\u7248","Set Technology Side":"\u8BBE\u7F6E\u5DE5\u827A\u8FB9","I Got it, Continue":"\u5DF2\u77E5\u6089\uFF0C\u7EE7\u7EED",'1.If your colorful silkscreen boards need JLCPCB SMT service, please make sure you have set the Technology Side at "Panelize" feature(Type: V-Cut, Create Technology Side: Yes, the panelized size length or width must large than 70mm) or add Technology Side by manually, otherwise, the colorful silkscreen will not be printed if you choose the SMT service.':"1.\u5982\u679C\u4F60\u7684\u5F69\u8272\u4E1D\u5370\u677F\u5B50\u9700\u8981\u5609\u7ACB\u521BSMT\u7684\u670D\u52A1\uFF0C\u8BF7\u786E\u4FDD\u5728\u201C\u62FC\u677F\u201D\u529F\u80FD\u4E2D\u8BBE\u7F6E\u5DE5\u827A\u8FB9(\u7C7B\u578B\uFF1AV\u5272\uFF0C\u521B\u5EFA\u5DE5\u827A\u8FB9\uFF1A\u662F\uFF0C\u62FC\u677F\u540E\u957F\u5BBD\u5747\u5927\u4E8E70mm)\u6216\u624B\u52A8\u6DFB\u52A0\u4E86\u5DE5\u827A\u8FB9\uFF0C\u5426\u5219\u5982\u679C\u4F60\u9009\u62E9SMT\u670D\u52A1\u540E\uFF0C\u5F69\u8272\u53D6\u4E1D\u5370\u5C06\u4E0D\u4F1A\u6253\u5370\u3002","2.Colorful silkscreen doesn't support to panelize more then 1x1 yet, the panelize feature will not copy the colorful silkscreen, the exported Gerber only one board has colorful image silkscreen.":"2.\u5F69\u8272\u4E1D\u5370\u6682\u4E0D\u652F\u6301\u62FC\u677F\u8D85\u8FC71x1\uFF0C\u62FC\u677F\u529F\u80FD\u4E0D\u4F1A\u5C06\u5F69\u8272\u4E1D\u5370\u7684\u5185\u5BB9\u8FDB\u884C\u590D\u5236\uFF0C\u60A8\u5BFC\u51FA\u5F69\u8272\u4E1D\u5370\u7684Gerber\u53EA\u4F1A\u5728\u6BCD\u677F\u4E2D\u6709\u6570\u636E\uFF0C\u5176\u4ED6\u62FC\u677F\u7684\u6587\u4EF6\u4E0D\u4F1A\u6709\u5F69\u8272\u4E1D\u5370\u7684\u6587\u4EF6\u3002","The more information for colorful silkscreen design and manufacturing, please refer at:":"\u66F4\u591A\u5F69\u8272\u4E1D\u5370\u8BBE\u8BA1\u4E0E\u751F\u4EA7\u76F8\u5173\u8BF4\u660E\u8BF7\u67E5\u770B\uFF1A","Colorful silkscreen tutorial":"\u5F69\u8272\u4E1D\u5370\u7ED8\u5236\u8BF4\u660E","Preview colorful silkscreen":"\u9884\u89C8\u5F69\u8272\u4E1D\u5370","Generate colorful silkscreen fabrication file(Only for JLCPCB)":"\u751F\u6210\u5F69\u8272\u4E1D\u5370\u5236\u9020\u6587\u4EF6(\u5609\u7ACB\u521B\u4E13\u7528)","There are protruding threads in the board and frame data you designed, which will cause the color silk screen to be unable to be produced. Please modify the board and frame first and then export the data.":"\u60A8\u8BBE\u8BA1\u7684\u677F\u6846\u6570\u636E\u5B58\u5728\u7A81\u51FA\u7EBF\u5934\uFF0C\u8FD9\u4F1A\u5BFC\u81F4\u5F69\u8272\u4E1D\u5370\u65E0\u6CD5\u751F\u4EA7\uFF0C\u8BF7\u5148\u4FEE\u6539\u677F\u6846\u518D\u5BFC\u51FA\u6570\u636E\u3002","PCB has colorful silkscreen objects, if generate the colorful silkscreen fabrication files?":"PCB\u6709\u5F69\u8272\u4E1D\u5370\u56FE\u5143\uFF0C\u662F\u5426\u751F\u6210\u5F69\u8272\u4E1D\u5370\u5236\u9020\u6587\u4EF6\uFF1F",Permissions:"\u6743\u9650","Permission Dend":"\u6CA1\u6709\u6743\u9650","Permission denied":"\u6CA1\u6709\u6743\u9650","Access Control":"\u8BBF\u95EE\u63A7\u5236","Project Access Control":"\u5DE5\u7A0B\u8BBF\u95EE\u63A7\u5236",Reject:"\u62D2\u7EDD","Add User":"\u6DFB\u52A0\u7528\u6237","Bad email address":"\u9519\u8BEF\u7684\u90AE\u4EF6\u5730\u5740","Can't find this email address in EasyEDA. Your partner must be an EasyEDA user.":"\u7528\u6237\u4E0D\u5B58\u5728.","Grid Background":"\u7F51\u683C\u80CC\u666F","Pane Background":"\u9762\u677F\u80CC\u666F","WaveForm Config":"\u6CE2\u5F62\u914D\u7F6E","Export Waveform":"\u5BFC\u51FA\u6CE2\u5F62\u4E3ACSV\u6587\u4EF6",dot:"\u70B9",line:"\u5B9E\u7EBF","A4 Portrait":"A4\u7EB5\u5411","A4 Landscape":"A4\u6A2A\u5411","A3 Portrait":"A3\u7EB5\u5411","A3 Landscape":"A3\u6A2A\u5411","A2 Portrait":"A2\u7EB5\u5411","A2 Landscape":"A2\u6A2A\u5411","A1 Portrait":"A1\u7EB5\u5411","A1 Landscape":"A1\u6A2A\u5411",Landscape:"\u6A2A\u5411",Portrait:"\u7EB5\u5411",solid:"\u5B9E\u7EBF",dashed:"\u77ED\u5212\u7EBF",dotted:"\u70B9\u7EBF",dotdashed:"\u70B9\u5212\u7EBF","solid{key}":"\u5B9E\u7EBF{key}","dashed{key}":"\u77ED\u5212\u7EBF{key}","dotted{key}":"\u70B9\u7EBF{key}","dotdashed{key}":"\u70B9\u5212\u7EBF{key}","Yes{key}":"\u662F{key}","No{key}":"\u5426{key}",Dotted:"\u865A\u7EBF","Fill Region":"\u586B\u5145\u533A\u57DF",Type:"\u7C7B\u578B",type:"\u7C7B\u578B","Report error":"\u62A5\u544A\u9519\u8BEF","Please give us some information to help us find the problem.":"\u8BF7\u7ED9\u6211\u4EEC\u4E00\u70B9\u63D0\u793A\u4EE5\u627E\u5230\u9519\u8BEF\u4FE1\u606F","Cannot place parts into this document: Schematic Symbols can only be placed into a Schematic; PCB Footprints can only be placed into a PCB.":"\u6587\u6863\u7C7B\u578B\u4E0D\u5339\u914D,\u539F\u7406\u56FE\u5E93\u53EA\u80FD\u653E\u7F6E\u5230\u539F\u7406\u56FE\u4E0A,PCB\u5C01\u88C5\u53EA\u80FD\u653E\u7F6E\u5230PCB\u4E0A","Save it as a favorite part":"\u4FDD\u5B58\u5B83\u4E3A\u6536\u85CF\u5668\u4EF6","Only logged-in users can save this component as a Favorite Part but guest (Anonymous) users can place this component into their design directly. Would you like to place this component now?":"\u4EC5\u767B\u5F55\u7528\u6237\u80FD\u4FDD\u5B58\u5B83\u4E3A\u6536\u85CF\u5668\u4EF6, \u8BBF\u5BA2\u5141\u8BB8\u653E\u7F6E\u8BE5\u5668\u4EF6\u5230\u753B\u5E03, \u4F60\u613F\u610F\u73B0\u5728\u653E\u7F6E\u8BE5\u5668\u4EF6\u5230\u753B\u5E03\u5417?","Electronic circuit design - EasyEDA":"EasyEDA\u7F16\u8F91\u5668 - \u5728\u7EBF\u7535\u5B50\u8BBE\u8BA1\u5229\u5668\uFF0C\u539F\u7406\u56FE PCB \u4EFF\u771F","Find libs":"\u67E5\u627E\u5E93","My Projects":"\u6211\u7684\u5DE5\u7A0B","My Parts":"\u6211\u7684\u5E93\u6587\u4EF6","My Modules":"\u6211\u7684\u6A21\u5757","Assembly LCSC Components":"\u7ACB\u521B\u8D34\u7247\u96F6\u4EF6","SCH Modules":"\u539F\u7406\u56FE\u6A21\u5757","PCB Modules":"PCB\u6A21\u5757","System IC":"\u7CFB\u7EDF\u5E93","LCSC (Official)":"\u7ACB\u521B\u5546\u57CE","LCSC Electronics":"\u7ACB\u521B\u5546\u57CE","Favorite Parts":"\u6536\u85CF\u5668\u4EF6","Shared With Me":"\u4E0E\u6211\u5206\u4EAB",Preview:"\u9884\u89C8","Preview Window":"\u9884\u89C8\u7A97\u53E3","System Default":"\u7CFB\u7EDF\u9ED8\u8BA4","User Defined":"\u7528\u6237\u81EA\u5B9A\u4E49",Theme:"\u4E3B\u9898","Theme Setting":"\u4E3B\u9898\u8BBE\u7F6E",Close:"\u5173\u95ED",Collapse:"\u6536\u8D77","Toggle toolbar":"\u6253\u5F00/\u5173\u95ED\u5DE5\u5177\u680F","Toggle left bar":"\u6253\u5F00/\u5173\u95ED\u5DE6\u4FA7\u680F","Toggle right bar":"\u6253\u5F00/\u5173\u95ED\u53F3\u4FA7\u680F","Toggle bottom bar":"\u6253\u5F00/\u5173\u95ED\u5E95\u90E8\u9762\u677F",Reload:"\u5237\u65B0","Mouse-X":"\u5149\u6807X","Mouse-Y":"\u5149\u6807Y","Mouse-DX":"\u5149\u6807DX","Mouse-DY":"\u5149\u6807DY","Busentry rotation":"\u603B\u7EBF\u5206\u652F\u89D2\u5EA6",Yes:"\u662F",No:"\u5426",OK:"\u786E\u5B9A",Confirm:"\u786E\u8BA4",Continue:"\u7EE7\u7EED",Cancel:"\u53D6\u6D88","Bus entry":"\u603B\u7EBF\u5206\u652F",Filter:"\u8FC7\u6EE4","Filter...":"\u8FC7\u6EE4...",Check:"\u68C0\u67E5","Please select the revised category":"\u8BF7\u9009\u62E9\u4FEE\u6539\u540E\u7684\u5206\u7C7B","Guest Project":"\u8BBF\u5BA2\u5DE5\u7A0B","Insert into":"\u63D2\u5165\u5230","Insert into {site}":"\u63D2\u5165\u5230{site}","Upload {site}":"\u4E0A\u4F20\u5230 {site}",Upload:"\u4E0A\u4F20","Whether it is applied to the current document?":"\u662F\u5426\u540C\u65F6\u5E94\u7528\u4E8E\u5F53\u524D\u6587\u6863\uFF1F","Copy the contents of this box into a text editor, then save the file. Paste the edited text back into this box and click Apply to update the display.":"\u62F7\u8D1D\u6587\u672C\u6846\u4E2D\u7684\u5185\u5BB9\u5230\u8BB0\u4E8B\u672C\u4E2D\uFF0C\u5E76\u4FDD\u5B58\u5B83\u3002\u4F60\u53EF\u4EE5\u628A\u5185\u5BB9\u7C98\u8D34\u5230\u8FD9\u91CC\u5E76\u518D\u6B21\u7F16\u8F91\u5B83\u3002","EasyEDA format":"EasyEDA \u683C\u5F0F","Copy the contents of this box into a text editor, then save the file with a .svg extension. You can edit it in Inkscape or open it in your browser.":"\u62F7\u8D1D\u6587\u672C\u6846\u4E2D\u7684\u5185\u5BB9\u5230\u8BB0\u4E8B\u672C\u4E2D\uFF0C\u4EE5.svg\u540E\u7F00\u4FDD\u5B58\u4E4B\u3002\u4F60\u53EF\u4EE5\u7528inkscape\u7F16\u8F91\u5B83\uFF0C\u4E5F\u53EF\u4EE5\u7528\u6D4F\u89C8\u5668\u6253\u5F00\u5B83.","Content is too big to show, you can download it directly.":"\u5185\u5BB9\u592A\u957F\u65E0\u6CD5\u76F4\u63A5\u663E\u793A\uFF0C\u4F60\u53EF\u4EE5\u76F4\u63A5\u4E0B\u8F7D\u3002","SVG format":"SVG \u683C\u5F0F","SVG File":"SVG\u6587\u4EF6","Description should be no more than 250 letters":"\u63CF\u8FF0\u4E0D\u80FD\u8D85\u8FC7 250 \u4E2A\u5B57\u7B26","Description should be no more than 255 letters":"\u63CF\u8FF0\u4E0D\u80FD\u8D85\u8FC7 255 \u4E2A\u5B57\u7B26","{0} should be no more than 255 letters":"{0} \u4E0D\u80FD\u8D85\u8FC7 255 \u4E2A\u5B57\u7B26","The file save operation has timed out. Try again and check your Internet connection.":"\u6587\u6863\u4FDD\u5B58\u8D85\u65F6\u3002\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5\u5E76\u91CD\u65B0\u5C1D\u8BD5","Netlist(JLCEDA Professional)":"\u7F51\u8868(\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248)","Netlist(EasyEDA Professional)":"\u7F51\u8868(EasyEDA\u4E13\u4E1A\u7248)",Notifications:"\u901A\u77E5","Please select {type} files":"\u8BF7\u9009\u62E9 {type} \u683C\u5F0F\u7684\u6587\u4EF6","Please select txt , json or zip files.":"\u8BF7\u9009\u62E9txt\uFF0Cjson\u6216\u8005zip\u6587\u4EF6","Please select esym , efoo or zip files.":"\u8BF7\u9009\u62E9esym\uFF0Cefoo\u6216\u8005zip\u6587\u4EF6","Doesn't support multiple file extensions import at the same time.":"\u4E0D\u652F\u6301\u591A\u79CD\u6587\u4EF6\u540E\u7F00\u540C\u65F6\u5BFC\u5165","Please select json or zip files.":"\u8BF7\u9009\u62E9json\u6216\u8005zip\u6587\u4EF6","Please select pcbdoc, schdoc or zip files.":"\u8BF7\u9009\u62E9pcbdoc\uFF0Cschdoc\u6216\u8005zip\u6587\u4EF6","Please select sch, brd, lbr or zip files.":"\u8BF7\u9009\u62E9sch\uFF0Cbrd\uFF0Clbr\u6216\u8005zip\u6587\u4EF6","Please select asc, txt, d, c or zip files.":"\u8BF7\u9009\u62E9asc\uFF0Ctxt\uFF0Cd\uFF0Cc\u6216\u8005zip\u6587\u4EF6","Please select pcb, sch, asc or zip files.":"\u8BF7\u9009\u62E9pcb\uFF0Csch\uFF0Casc\u6216\u8005zip\u6587\u4EF6","Please select lib, mod, kicad_mod, kicad_pcb, kicad_sch, kicad_sym, kicad_wks or zip files.":"\u8BF7\u9009\u62E9lib\uFF0Cmod, kicad_mod, kicad_pcb, kicad_sch, kicad_sym, kicad_wks\u6216\u8005zip\u6587\u4EF6","Please select lib, kicad_sch, kicad_pcb, kicad_sym, kicad_mod, mod or zip files.":"\u8BF7\u9009\u62E9lib\uFF0Ckicad_sch\uFF0Ckicad_pcb\uFF0Ckicad_sym\uFF0Ckicad_mod\uFF0Cmod\u6216\u8005zip\u6587\u4EF6","Please select pcb, sch or zip files.":"\u8BF7\u9009\u62E9pcb\uFF0Csch\u6216\u8005zip\u6587\u4EF6","Please select asy or zip files.":"\u8BF7\u9009\u62E9asy\u6216\u8005zip\u6587\u4EF6","Please select txt or csv files.":"\u8BF7\u9009\u62E9txt\u6216csv\u683C\u5F0F\u7684\u6587\u4EF6","Please select xml files.":"\u8BF7\u9009\u62E9xml\u683C\u5F0F\u7684\u6587\u4EF6","Please select js files.":"\u8BF7\u9009\u62E9js\u683C\u5F0F\u7684\u6587\u4EF6","Please select csv files.":"\u8BF7\u9009\u62E9csv\u683C\u5F0F\u7684\u6587\u4EF6","Please select edf, xml or zip files.":"\u8BF7\u9009\u62E9edf\uFF0Cxml\u6216\u8005zip\u6587\u4EF6","Failed to read file [{file}]":"\u8BFB\u53D6\u6587\u4EF6 [{file}] \u5931\u8D25","[{file}] is not a valid json file":"[{file}] \u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684JSON\u6587\u4EF6","Invalid parameters!":"\u65E0\u6548\u53C2\u6570",Download:"\u4E0B\u8F7D",Start:"\u8D77\u59CB","You have unsaved files, are you sure you want to log out without saving the files?":"\u8FD8\u6709\u672A\u4FDD\u5B58\u7684\u6587\u4EF6\uFF0C\u662F\u5426\u5FFD\u7565\u5B83\u4EEC\u5E76\u9000\u51FA\u767B\u5F55\uFF1F","Please use the web version to run this function.":"\u8BF7\u5728\u7F51\u9875\u7248\u4E2D\u4F7F\u7528\u8BE5\u529F\u80FD","Please save this file to you project!":"\u8BF7\u4FDD\u5B58\u6587\u6863\u5230\u5DE5\u7A0B\u4E2D","Nothing changed":"\u6CA1\u6709\u4EFB\u4F55\u6539\u53D8","Delete Node":"\u5220\u9664\u8282\u70B9","Delete Anchor":"\u5220\u9664\u951A\u70B9","Add Handle Point":"\u589E\u52A0\u624B\u67C4\u70B9","Delete Handle Point":"\u5220\u9664\u624B\u67C4\u70B9","Symmetric Handle Point":"\u5BF9\u79F0\u624B\u67C4\u70B9","This layer is invisible.":"\u8BE5\u5C42\u4E3A\u4E0D\u53EF\u89C1\u72B6\u6001","When the fill region is Board Cutout, please set the layer to Multi-Layer.":"\u5B9E\u5FC3\u586B\u5145\u4E3A\u69FD\u5B54\u7C7B\u578B\u65F6\uFF0C\u5B83\u7684\u5C42\u5FC5\u987B\u8BBE\u4E3A\u591A\u5C42\u3002","You should not try to assign a net to a Board Cutout fill region.":"\u5B9E\u5FC3\u586B\u5145\u4E3A\u69FD\u5B54\u7C7B\u578B\u65F6\uFF0C\u4E0D\u5E94\u8BBE\u7F6E\u7F51\u7EDC\u3002","Please upload correct json file":"\u8BF7\u4E0A\u4F20\u6B63\u786E\u7684json\u6587\u4EF6","Please upload json file":"\u8BF7\u4E0A\u4F20json\u6587\u4EF6","EasyEDA allows you to place a Pin in the schematic, but don't forget to group all of the Pins to a schematic component. Please click the help button to find out how to group them. If you just want to mark the wire, please use Net Port or NetLabel.":"\u539F\u7406\u56FE\u4E2D\u53EF\u4EE5\u76F4\u63A5\u653E\u7F6E\u5F15\u811A\uFF0C\u4F46\u522B\u5FD8\u4E86\u5C06\u5F15\u811A\u7EC4\u5408\u5230\u5143\u4EF6\u4E2D\u3002\u70B9\u51FB\u5E2E\u52A9\u6309\u94AE\u67E5\u770B\u7EC4\u5408\u529F\u80FD\u7684\u4F7F\u7528\u3002\u5982\u679C\u53EA\u662F\u9700\u8981\u4E3A\u5BFC\u7EBF\u505A\u6807\u8BB0\uFF0C\u8BF7\u4F7F\u7528\u7F51\u7EDC\u7AEF\u53E3\u6216\u7F51\u7EDC\u6807\u7B7E\u3002","Export timed out, if you have any questions, please":"\u5BFC\u51FA\u8D85\u65F6\uFF0C\u5982\u6709\u7591\u95EE\u8BF7","Contact customer service":"\u8054\u7CFB\u5BA2\u670D","Export\xA0failed, please try again or":"\u5BFC\u51FA\u6587\u4EF6\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\u6216","contact with technical support":"\u8054\u7CFB\u6280\u672F\u652F\u6301","Coming soon":"\u656C\u8BF7\u671F\u5F85","No tool":"\u65E0","Help us translate into your language":"\u5E2E\u52A9\u6211\u4EEC\u7FFB\u8BD1",Pad:"\u710A\u76D8","Via/Hole":"\u8FC7\u5B54","PCB Layers":"PCB\u5C42","PCB Layer":"PCB\u5C42",Free:"\u81EA\u7531",Small:"\u5C0F",Medium:"\u4E2D",Big:"\u5927","Exporting as":"\u5BFC\u51FA\u4E3A","Exporting as image":"\u5BFC\u51FA\u4E3A\u56FE\u7247","Exporting as {0}SVG{1} file.":"\u5BFC\u51FA\u4E3A{0}SVG{1}\u6587\u4EF6","Exporting as pdf is recommended: pdf gives good quality printed output and a small file size.":"\u63A8\u8350\u5BFC\u51FA\u4E3APDF\uFF0C\u6253\u5370\u8D28\u91CF\u9AD8\uFF0C\u6587\u4EF6\u5C3A\u5BF8\u5C0F\u3002","Generate Fabrication File(Gerber)":"\u751F\u6210\u5236\u9020\u6587\u4EF6(Gerber)","PenWidth-Increase":"\u7EBF\u5BBD\u589E\u91CF","Set to the default Settings of {0} layers":"\u8BBE\u4E3A{0}\u5C42\u677F\u9ED8\u8BA4\u914D\u7F6E","Generate Gerber":"\u751F\u6210Gerber","Gerber View":"Gerber\u89C6\u56FE","Dimensions(Estimated)":"\u5C3A\u5BF8(\u4F30\u7B97)","PCB Qty":"\u677F\u5B50\u6570\u91CF","Copper Weight":"\u94DC\u539A","PCB Price":"PCB\u53C2\u8003\u4EF7\u683C","Estimated Delivery Time":"\u5FEB\u9012\u65F6\u95F4","For your first time order, less than $20 discount on the freight!":"\u9996\u6B21\u4E0B\u5355\uFF0C\u5C06\u670920\u7F8E\u5143\u4EE5\u5185\u7684\u8FD0\u8D39\u6298\u6263\u3002","HASL(with lead)":"\u6709\u94C5\u55B7\u9521","LeadFree HASL-RoHS":"\u65E0\u94C5\u55B7\u9521","ENIG-RoHS":"\u6C89\u91D1","Would you like to do Design Rule Check (DRC) before generating the Gerber files?":"\u5728\u751F\u6210Gerber\u4E4B\u524D\u662F\u5426\u68C0\u67E5\u8BBE\u8BA1\u89C4\u5219(DRC)\uFF1F","Yes, Check DRC":"\u662F\uFF0C\u68C0\u67E5DRC","No, Generate Gerber":"\u5426\uFF0C\u751F\u6210Gerber","This PCB has incompleted connection(s), do you want to check the connection(s)?":"\u8BE5PCB\u5B58\u5728\u672A\u5B8C\u6210\u5E03\u7EBF\u7684\u7F51\u7EDC\u8FDE\u63A5\uFF0C\u662F\u5426\u68C0\u67E5\u7F51\u7EDC\uFF1F","Yes, Check Connection(s)":"\u662F\uFF0C\u68C0\u67E5\u7F51\u7EDC","It will then redirect to the web site of a thirdparty JLCPCB with which we cooperate. Are you ready?":"\u5373\u5C06\u524D\u5F80\u6211\u4EEC\u7684\u5144\u5F1F\u516C\u53F8JLCPCB\u5B8C\u6210\u8BA2\u5355\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","Failed to submit your order, please contact us via support@easyeda.com for help.":"\u4E0B\u5355\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFBsupport@easyeda.com\u83B7\u53D6\u5E2E\u52A9\u3002","@@generateGerber":{Layers:"\u5C42\u6570"},"@@version":{Switch:"\u5207\u6362"},"Create a new Project...":"\u65B0\u5EFA\u5DE5\u7A0B...","Create a new Schematic":"\u65B0\u5EFA\u539F\u7406\u56FE","Create a new Schematic Lib":"\u65B0\u5EFA\u539F\u7406\u56FE\u5E93","Create a new Spice Symbol":"\u65B0\u5EFA\u4EFF\u771F\u7B26\u53F7","Create a new Spice Subckt":"\u65B0\u5EFASpice\u5B50\u7535\u8DEF","Create a new PCB":"\u65B0\u5EFAPCB","Create a new PCB Lib":"\u65B0\u5EFAPCB\u5E93","Create a new Schematic Module":"\u65B0\u5EFA\u539F\u7406\u56FE\u6A21\u5757","Create a new PCB Module":"\u65B0\u5EFAPCB\u6A21\u5757","Export your file, then print it yourself.":"\u5BFC\u51FA\u6587\u4EF6\u518D\u6253\u5370","Trace width is too small":"\u5BFC\u7EBF\u5BBD\u5EA6\u592A\u5C11","Images Attribute":"\u56FE\u7247\u5C5E\u6027","Connect Pad to Pad":"\u8FDE\u63A5\u710A\u76D8","Please check that you have used Wire and not Line to connect electrical elements.":"\u4E5F\u8BB8\u4F60\u5E94\u8BE5\u4F7F\u7528\u5BFC\u7EBF(Wire)\u800C\u4E0D\u662F\u6298\u7EBF(Polyline)\u8FDE\u63A5\u7535\u6C14\u5143\u7D20\u3002","PCB Fabrication Prices & capabilities":"PCB\u52A0\u5DE5\u4EF7\u683C\u4E0E\u80FD\u529B","Flip all texts on bottom layer":"\u955C\u50CF\u7FFB\u8F6C\u6240\u6709\u5E95\u5C42\u6587\u5B57","EasyEDA Libs":"EasyEDA\u5E93","Create New Document":"\u65B0\u5EFA\u6587\u6863","General Package":"\u5E38\u7528\u5C01\u88C5","General Packages":"\u5E38\u7528\u5C01\u88C5","favorite Package":"\u6536\u85CF\u5C01\u88C5","Surface Mount":"\u8D34\u7247","SMT Type":"\u8D34\u7247\u7C7B\u578B","Markdown Syntax":"Markdown\u8BED\u6CD5","Markdown supported":"\u652F\u6301Markdown","Read only":"\u53EA\u8BFB","Read/Write":"\u8BFB\u5199","More Libraries...":"\u66F4\u591A\u5E93\u5143\u4EF6...","Decompress failed!":"\u89E3\u6790\u5931\u8D25!","Load failed!":"\u52A0\u8F7D\u5931\u8D25",Loading:"\u52A0\u8F7D\u4E2D","Loading...":"\u52A0\u8F7D\u4E2D...",DownloadPath:"\u4E0B\u8F7D\u8DEF\u5F84","No Result":"\u6CA1\u6709\u7ED3\u679C","Place Pin in schematic warning":"\u5728\u539F\u7406\u56FE\u653E\u7F6E\u5F15\u811A\u7684\u6CE8\u610F\u4E8B\u9879","EasyEDA allows you to place a Pin in schematic, but don't forget to group all of the Pins to a schematic component, please click the help button to find out how to group them. If you just want to mark the wire, please use Net Port or NetNabel.":"EasyEDA\u5141\u8BB8\u4F60\u5728\u539F\u7406\u56FE\u653E\u7F6E\u5F15\u811A\uFF0C\u4F46\u522B\u5FD8\u4E86\u8981\u5C06\u5F15\u811A\u7EC4\u5408\u4E3A\u539F\u7406\u56FE\u5E93\uFF0C\u70B9\u51FB\u5E2E\u52A9\u6309\u94AE\u67E5\u770B\u7528\u6CD5\u3002\u5982\u679C\u53EA\u662F\u6807\u6CE8\u7535\u7EBF\uFF0C\u8BF7\u4F7F\u7528\u7F51\u7EDC\u6807\u7B7E\u3002","I know. Do not show this again.":"\u6211\u77E5\u9053\u4E86\uFF0C\u4E0D\u8981\u518D\u63D0\u793A\u8BE5\u4FE1\u606F\u3002","I know":"\u6211\u77E5\u9053\u4E86","Extensions Setting":"\u6269\u5C55\u914D\u7F6E",Remove:"\u79FB\u9664",Disable:"\u7981\u7528",Enable:"\u542F\u7528","Not Enabled":"\u4E0D\u542F\u7528","Stop Using":"\u505C\u7528","(Disabled)":"(\u5DF2\u7981\u7528)","(Enabled)":"(\u5DF2\u542F\u7528)","Load Extension":"\u52A0\u8F7D\u6269\u5C55","Enable or disable will be applied after reload page":"\u542F\u7528\u6216\u7981\u7528\u5C06\u5728\u5237\u65B0\u9875\u9762\u540E\u751F\u6548","Your browser cannot run this function.":"\u60A8\u7684\u6D4F\u89C8\u5668\u65E0\u6CD5\u8FD0\u884C\u8BE5\u529F\u80FD\u3002","Current browser environment doesn't support to run JLCEDA(Professional), Recommended to use the latest Chrome or Firefox.":"\u5F53\u524D\u6D4F\u89C8\u5668\u73AF\u5883\u4E0D\u652F\u6301\u8FD0\u884C\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248\uFF0C\u63A8\u8350\u4F7F\u7528\u6700\u65B0\u7684\u8C37\u6B4C\u6216\u8005\u706B\u72D0\u6D4F\u89C8\u5668\u3002","Current browser environment doesn't support to run EasyEDA(Professional), Recommended to use the latest Chrome or Firefox.":"\u5F53\u524D\u6D4F\u89C8\u5668\u73AF\u5883\u4E0D\u652F\u6301\u8FD0\u884C\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248\uFF0C\u63A8\u8350\u4F7F\u7528\u6700\u65B0\u7684\u8C37\u6B4C\u6216\u8005\u706B\u72D0\u6D4F\u89C8\u5668\u3002","If you are using Firefox, please don't open JLCEDA(Professional) at incognito mode.":"\u5982\u679C\u4F7F\u7528\u7684\u662F\u706B\u72D0\u6D4F\u89C8\u5668\u8BF7\u4E0D\u8981\u5728\u9690\u8EAB\u6A21\u5F0F\u6253\u5F00\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248\u3002","If you are using Firefox, please don't open EasyEDA(Professional) at incognito mode.":"\u5982\u679C\u4F7F\u7528\u7684\u662F\u706B\u72D0\u6D4F\u89C8\u5668\u8BF7\u4E0D\u8981\u5728\u9690\u8EAB\u6A21\u5F0F\u6253\u5F00\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248\u3002","Close the editor":"\u5173\u95ED\u7F16\u8F91\u5668","Extension Files":"\u6269\u5C55\u6587\u4EF6","Extension ID":"\u6269\u5C55ID","Select Files":"\u9009\u62E9\u6587\u4EF6","@@settings":{Disable:"\u505C\u7528"},Script:"\u811A\u672C",Scripts:"\u811A\u672C","Script Content":"\u811A\u672C\u5185\u5BB9","Load from js file":"\u4ECEJS\u6587\u4EF6\u52A0\u8F7D","UTF-8 encoded js file":"UTF-8\u7F16\u7801\u7684JS\u6587\u4EF6",Description:"\u63CF\u8FF0",Introduction:"\u7B80\u4ECB","Symbol Description":"\u7B26\u53F7\u63CF\u8FF0","Device Description":"\u5668\u4EF6\u63CF\u8FF0","Sim Model":"Simulide\u6A21\u578B",description:"\u63CF\u8FF0","Not a *.js file":"\u4E0D\u662F*.js\u6587\u4EF6","Failed to read file":"\u52A0\u8F7D\u6587\u4EF6\u5931\u8D25","System scripts cannot be modified":"\u7CFB\u7EDF\u811A\u672C\u4E0D\u80FD\u88AB\u4FEE\u6539","Create Subfolder":"\u521B\u5EFA\u5B50\u76EE\u5F55","Create Script":"\u521B\u5EFA\u811A\u672C","Install Script":"\u5B89\u88C5\u811A\u672C",Install:"\u5B89\u88C5","Are you sure you want to remove this script?":"\u786E\u5B9A\u8981\u79FB\u9664\u8BE5\u811A\u672C\u5417\uFF1F","Folder Name":"\u76EE\u5F55\u540D\u79F0",Rename:"\u91CD\u547D\u540D","Please select a script":"\u8BF7\u9009\u62E9\u4E00\u4E2A\u811A\u672C","Failed to load script":"\u52A0\u8F7D\u811A\u672C\u5931\u8D25","Run Script":"\u8FD0\u884C\u811A\u672C","Load Script":"\u52A0\u8F7D\u811A\u672C","Title is required":"\u6807\u9898\u662F\u5FC5\u9700\u7684","Script content is required":"\u811A\u672C\u5185\u5BB9\u662F\u5FC5\u9700\u7684","System Scripts":"\u7CFB\u7EDF\u811A\u672C","User Scripts":"\u7528\u6237\u811A\u672C","You can right click on the tree nodes.":"\u4F60\u53EF\u4EE5\u5728\u6811\u8282\u70B9\u4E0A\u9F20\u6807\u53F3\u51FB\u3002","Print Type":"\u6253\u5370\u65B9\u5F0F","Photo View":"\u7167\u7247\u9884\u89C8","Check Update":"\u68C0\u67E5\u66F4\u65B0","Editor {ver} is released. Would you like to switch to the new version now?":"\u5609\u7ACB\u521BEDA V{ver} \u5DF2\u53D1\u5E03\uFF0C\u662F\u5426\u73B0\u5728\u5207\u6362\u5230\u65B0\u7248\u672C\uFF1F","Switch to New Version":"\u5207\u6362\u5230\u65B0\u7248\u672C","Next Time":"\u4E0B\u6B21\u518D\u8BF4","Generating download link...":"\u6B63\u5728\u751F\u6210\u4E0B\u8F7D\u94FE\u63A5...","Download project now":"\u70B9\u51FB\u4E0B\u8F7D\u5DE5\u7A0B","Import DXF":"\u5BFC\u5165DXF","DXF Unit":"DXF\u5355\u4F4D","Convert circle to HOLE on BoardOutLine layer":"\u5C06\u8FB9\u6846\u5C42\u7684\u5706\u8F6C\u4E3A\u5B54","No shapes found":"\u65E0\u5185\u5BB9","Fail to load the file":"\u52A0\u8F7D\u6587\u4EF6\u5931\u8D25","Please select a DXF file.":"\u8BF7\u9009\u62E9DXF\u6587\u4EF6","This feature only works for PCB document.":"\u8BE5\u529F\u80FD\u4EC5\u80FD\u9488\u5BF9PCB\u6587\u6863\u4F7F\u7528","Select a DXF file":"\u9009\u62E9DXF\u6587\u4EF6","Export DXF":"\u5BFC\u51FADXF","Plated-Through-Hole Pads":"\u91D1\u5C5E\u5316\u710A\u76D8","Non-Plated-Through-Hole Pads":"\u975E\u91D1\u5C5E\u5316\u710A\u76D8","Data Sync":"\u6570\u636E\u540C\u6B65","Data Conflicts":"\u6570\u636E\u51B2\u7A81","Project or Document":"\u5DE5\u7A0B\u6216\u6587\u6863","Cloud-Side":"\u4E91\u7AEF","Local-Side":"\u672C\u5730\u7AEF",Decision:"\u51B3\u7B56",Modified:"\u5DF2\u4FEE\u6539",Deleted:"\u5DF2\u5220\u9664","As Cloud":"\u6309\u4E91\u7AEF","As Local":"\u6309\u672C\u5730","Data sync completed":"\u6570\u636E\u540C\u6B65\u5B8C\u6210",Team:"\u56E2\u961F",Teams:"\u56E2\u961F","Switching team":"\u5207\u6362\u56E2\u961F","Switch team failed":"\u5207\u6362\u56E2\u961F\u5931\u8D25","Load team info fail!":"\u8BFB\u53D6\u56E2\u961F\u4FE1\u606F\u5931\u8D25","Load team info fail! Please reload.":"\u8BFB\u53D6\u56E2\u961F\u4FE1\u606F\u5931\u8D25\uFF0C\u8BF7\u5237\u65B0\u91CD\u8BD5","Load library info fail! Please reload.":"\u8BFB\u53D6\u5E93\u4FE1\u606F\u5931\u8D25\uFF0C\u8BF7\u5237\u65B0\u91CD\u8BD5","My Teams":"\u6211\u7684\u56E2\u961F","Create Team":"\u521B\u5EFA\u56E2\u961F","Footprint Manager":"\u5C01\u88C5\u7BA1\u7406\u5668","Schematic Components":"\u539F\u7406\u56FE\u5668\u4EF6","Edit Pin Map Information":"\u7F16\u8F91\u5F15\u811A\u6620\u5C04","Package Categories":"\u5C01\u88C5\u5206\u7C7B","Components List":"\u5143\u4EF6\u5217\u8868","Component PIN information":"\u5143\u4EF6\u5F15\u811A\u4FE1\u606F","Footprint PAD information":"\u5C01\u88C5\u710A\u76D8\u4FE1\u606F","Lib Type":"\u5E93\u522B",Personal:"\u4E2A\u4EBA","Footprint Categories":"\u5C01\u88C5\u5206\u7C7B","Pad Number":"\u710A\u76D8\u7F16\u53F7","Search PCB Libs":"\u641C\u7D22\u5C01\u88C5","Filter by keyword":"\u5173\u952E\u5B57\u7B5B\u9009","System Libs":"\u7CFB\u7EDF\u5E93",Drawings:"\u5176\u4ED6","Netlabel and netFlag":"\u7F51\u7EDC\u6807\u7B7E\u548C\u6807\u8BC6\u7B26",Texts:"\u6587\u672C",Wires:"\u5BFC\u7EBF","Wire/Bus":"\u5BFC\u7EBF/\u603B\u7EBF","Board outlines":"\u8FB9\u6846",Footprints:"\u5C01\u88C5",Schlib:"\u539F\u7406\u56FE\u5E93",Tracks:"\u5BFC\u7EBF","Current Size":"\u5F53\u524D\u5927\u5C0F",Paramenters:"\u53C2\u6570","Start X:":"\u8D77\u59CBX:","Start Y:":"\u8D77\u59CBY:","Round Rectangular":"\u5706\u89D2\u77E9\u5F62",radius:"\u534A\u5F84","only number is allowed!":"\u53EA\u5141\u8BB8\u8F93\u5165\u6570\u5B57\uFF01","please input valid name!":"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u540D\u79F0\uFF01","please input valid value of width!":"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u5BBD\u5EA6\u503C\uFF01","please input valid value of height!":"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u9AD8\u5EA6\u503C\uFF01","please input valid value of radius!":"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u534A\u5F84\u503C\uFF01","The object you selected was not found in other documents.":"\u5176\u4ED6\u6587\u6863\u91CC\u6CA1\u6709\u627E\u5230\u76F8\u5E94\u7684\u5143\u4EF6\u3002","No valid object for cross probe selected.":"\u6CA1\u6709\u9009\u4E2D\u80FD\u8FDB\u884C\u4EA4\u53C9\u9009\u4E2D\u7684\u5143\u4EF6\u3002","Can not probe. Refreshing the window may get it to work.":"\u4EA4\u53C9\u9009\u4E2D\u5931\u8D25\uFF0C\u5237\u65B0\u4E0B\u8BD5\u8BD5\u3002","You need to login for this function to work.":"\u767B\u5F55\u540E\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD\u3002","{type} requires the schematic / PCB to be set under the same board\uFF0CPlease adjust in the left panel":"{type}\u9700\u8981\u5C06\u539F\u7406\u56FE/PCB\u8BBE\u7F6E\u5230\u540C\u4E00\u677F\u5B50\u4E0B\uFF0C\u8BF7\u5728\u5DE6\u4FA7\u9762\u677F\u8C03\u6574","Please click or select the object you want to cross probe":"\u8BF7\u70B9\u9009\u6216\u6846\u9009\u9700\u8981\u4EA4\u53C9\u9009\u62E9\u7684\u5BF9\u8C61","An Easier EDA Experience":"\u9AD8\u6548\u7684\u5728\u7EBF\u7535\u5B50\u8BBE\u8BA1\u5DE5\u5177",Version:"\u7248\u672C",Subversion:"\u5B50\u7248\u672C",BuiltDate:"\u7F16\u8BD1\u65E5\u671F","Auto Router Config":"\u81EA\u52A8\u5E03\u7EBF\u8BBE\u7F6E","General Options":"\u901A\u7528\u9009\u9879","All Layers":"\u6240\u6709\u5C42",Configure:"\u914D\u7F6E","Sorry, your web browser does not support this feature. Please run a modern browser.":"\u5F53\u524D\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u8BE5\u529F\u80FD\uFF0C\u8BF7\u4F7F\u7528\u73B0\u4EE3\u6D4F\u89C8\u5668\u3002","Please make sure all components are inside the board outline!":"\u8BF7\u786E\u8BA4\u6240\u6709\u7EC4\u4EF6\u90FD\u5728\u8FB9\u6846\u5185","Cannot start again before previous activity is stopped":"\u524D\u4E00\u6B21\u5E03\u7EBF\u672A\u7ED3\u675F\u524D\u4E0D\u80FD\u518D\u5F00\u59CB","Please select a net":"\u8BF7\u9009\u62E9\u4E00\u4E2A\u7F51\u7EDC","Please select":"\u8BF7\u9009\u62E9","TrackWidth cannot be empty":"\u7EBF\u5BBD\u4E0D\u80FD\u4E3A\u7A7A","Clearance cannot be empty":"\u95F4\u8DDD\u4E0D\u80FD\u4E3A\u7A7A","Router is time out.":"\u5E03\u7EBF\u8D85\u65F6","Server is busy, please try again later.":"\u670D\u52A1\u5668\u5FD9\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5","The package of the imported file is not in the library.":"\u5BFC\u5165\u6587\u4EF6\u7684\u5C01\u88C5\u5747\u4E0D\u5728\u5E93\u4E2D\u3002","The device of the imported file is not in the library.":"\u5BFC\u5165\u6587\u4EF6\u7684\u5668\u4EF6\u5747\u4E0D\u5728\u5E93\u4E2D\u3002","The devices used are not bound and packaged.":"\u4F7F\u7528\u7684\u5668\u4EF6\u5747\u672A\u7ED1\u5B9A\u5C01\u88C5\u3002","Due to the limitation of {0}router server{1} resources, multiple routers executing concurrently are not supported, please try again later or do it manually :-)":"\u53D7\u9650\u4E8E\u81EA\u52A8\u5E03\u7EBF\u670D\u52A1\u5668\u8D44\u6E90\uFF0C\u540C\u65F6\u591A\u4EFB\u52A1\u5E03\u7EBF\u4E0D\u652F\u6301\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002","Track Width is invalid":"\u7EBF\u5BBD\u65E0\u6548","General Clearance is invalid":"\u901A\u7528\u95F4\u9699\u65E0\u6548","SMD Clearance is invalid":"SMT\u95F4\u9699\u65E0\u6548","Diameter is invalid":"\u76F4\u5F84\u65E0\u6548","Drill Diameter is invalid":"\u8FC7\u5B54\u5185\u5F84\u65E0\u6548","Track width cannot be less than Design Rule Check (DRC) setting value.":"\u8D70\u7EBF\u5BBD\u5EA6\u4E0D\u80FD\u5C11\u4E8E\u8BBE\u8BA1\u89C4\u5219(DRC)\u7684\u8BBE\u5B9A\u503C\u3002","General Clearance cannot be less than Design Rule Check (DRC) setting value.":"\u901A\u7528\u95F4\u9699\u4E0D\u80FD\u5C11\u4E8E\u8BBE\u8BA1\u89C4\u5219(DRC)\u7684\u8BBE\u5B9A\u503C\u3002","SMD Clearance cannot be less than Design Rule Check (DRC) setting value.":"SMD\u95F4\u9699\u4E0D\u80FD\u5C11\u4E8E\u8BBE\u8BA1\u89C4\u5219(DRC)\u7684\u8BBE\u5B9A\u503C\u3002","Hole size cannot be less than Design Rule Check (DRC) setting value.":"\u8FC7\u5B54\u76F4\u5F84\u4E0D\u80FD\u5C11\u4E8E\u8BBE\u8BA1\u89C4\u5219(DRC)\u7684\u8BBE\u5B9A\u503C\u3002","Diameter must be greater than hole size.":"\u76F4\u5F84\u5FC5\u987B\u5927\u4E8E\u5B54\u5F84\u3002","Clearance cannot be less than Design Rule Check (DRC) setting value.":"\u95F4\u9699\u4E0D\u80FD\u5C11\u4E8E\u8BBE\u8BA1\u89C4\u5219(DRC)\u7684\u8BBE\u5B9A\u503C\u3002","Not a valid PCB, please check it again":"\u65E0\u6548\u7684PCB\uFF0C\u8BF7\u91CD\u65B0\u68C0\u67E5","Previous connection must be closed":"\u5FC5\u987B\u5173\u95ED\u5148\u524D\u7684\u8FDE\u63A5","Network error. Please try again.":"\u7F51\u7EDC\u9519\u8BEF\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5","Order data(Gerber, Pick and Place file, BOM) generated finish, please click OK button and continue.":"\u4E0B\u5355\u6570\u636E(Gerber, \u5750\u6807\u6587\u4EF6\u3001BOM)\u751F\u6210\u5B8C\u6BD5\uFF0C\u8BF7\u70B9\u51FB\u201C\u786E\u8BA4\u201D\u6309\u94AE\u7EE7\u7EED\u3002","Failed to open new window":"\u6253\u5F00\u65B0\u7A97\u53E3\u5931\u8D25","Router error.":"\u5E03\u7EBF\u9519\u8BEF","Invalid PCB.":"\u65E0\u6548PCB","General Clearance":"\u901A\u7528\u95F4\u9699","SMD Clearance":"SMD\u95F4\u9699","Skip Routed Nets":"\u5FFD\u7565\u5DF2\u5E03\u7EBF\u7684\u7F51\u7EDC","Remove Existing Tracks":"\u6E05\u9664\u5DF2\u6709\u5E03\u7EBF","Real-time Display":"\u5B9E\u65F6\u663E\u793A","Router Layers":"\u5E03\u7EBF\u5C42",Via:"\u8FC7\u5B54",Special:"\u7279\u6B8A","Special Nets":"\u7279\u6B8A\u7F51\u7EDC","Skip Nets":"\u5FFD\u7565\u7F51\u7EDC","Router Server":"\u5E03\u7EBF\u670D\u52A1\u5668",Local:"\u672C\u5730",Cloud:"\u4E91\u7AEF",Available:"\u53EF\u7528",Unavailable:"\u4E0D\u53EF\u7528",Checking:"\u68C0\u6D4B\u4E2D","Install Local Auto Router":"\u5B89\u88C5\u672C\u5730\u81EA\u52A8\u5E03\u7EBF","Checking local auto router server...":"\u6B63\u5728\u68C0\u6D4B\u672C\u5730\u5E03\u7EBF\u670D\u52A1...","Stop Router":"\u505C\u6B62\u5E03\u7EBF","Auto Router is running...":"\u81EA\u52A8\u5E03\u7EBF\u8FD0\u884C\u4E2D...",EELib:"\u57FA\u7840\u5E93",Basic:"\u57FA\u7840",Base:"\u57FA\u7840",Extend:"\u6269\u5C55","@@left_bar":{"Design{0}Manager":"\u8BBE\u8BA1{0}\u7BA1\u7406\u5668"},Libraries:"\u5143\u4EF6\u5E93","Libraries...":"\u5143\u4EF6\u5E93...","Find Result":"\u67E5\u627E\u7ED3\u679C","Private Lib":"\u79C1\u6709\u5E93","Spice Lib":"\u4EFF\u771F\u5E93",Shared:"\u5171\u4EAB",LCSC:"\u7ACB\u521B\u5546\u57CE",Parts:"\u7ACB\u521B\u5546\u57CE","Supply Flag":"\u7535\u6C14\u6807\u8BC6\u7B26",US:"\u7F8E\u6807\u6837\u5F0F","EU/IEC":"\u6B27\u6807\u6837\u5F0F","US Style":"\u7F8E\u6807\u6837\u5F0F","EU/IEC Style":"\u6B27\u6807\u6837\u5F0F",CN:"\u56FD\u6807\u6837\u5F0F",Connector:"\u8FDE\u63A5\u5668","Switch/Relay":"\u5F00\u5173/\u7EE7\u7535\u5668",JLCPCB:"\u5609\u7ACB\u521B","Adapt column width":"\u9002\u5E94\u5217\u5BBD","Adapt all column widths":"\u9002\u5E94\u5168\u90E8\u5217\u5BBD","Adapt Window":"\u9002\u5E94\u7A97\u53E3","Custom Column Header":"\u81EA\u5B9A\u4E49\u8868\u5934","Header Name":"\u8868\u5934\u540D\u79F0","All Header":"\u5168\u90E8\u8868\u5934","Property List":"\u5C5E\u6027\u6E05\u5355","Batch Edit":"\u6279\u91CF\u7F16\u8F91","Cannot be edited":"\u65E0\u6CD5\u7F16\u8F91","Place Symbol":"\u653E\u7F6E\u7B26\u53F7","Find by code":"\u6309\u7F16\u7801\u67E5\u627E","Find by name":"\u6309\u540D\u79F0\u67E5\u627E","Find from favorites":"\u4ECE\u6536\u85CF\u5939\u67E5\u627E","Team Space":"\u56E2\u961F\u7A7A\u95F4","Personal Space":"\u4E2A\u4EBA\u7A7A\u95F4","Personal Library":"\u4E2A\u4EBA\u5E93","Team Library":"\u56E2\u961F\u5E93","Favorite Library":"\u6536\u85CF\u5E93","Project Library":"\u5DE5\u7A0B\u5E93","Project library name duplication":"\u5DE5\u7A0B\u5E93\u91CD\u540D","Allow duplicated":"\u5141\u8BB8\u91CD\u540D","Rename automatically(_number)":"\u81EA\u52A8\u91CD\u547D\u540D(_\u6570\u5B57)","Design Selection Platform":"\u8BBE\u8BA1\u9009\u578B\u5E73\u53F0",Log:"\u65E5\u5FD7","There is already data with the same name and the same origin!":"\u5DF2\u6709\u540C\u540D\u4E14\u540C\u6E90\u7684\u6570\u636E!","Automatic rename failed!":"\u81EA\u52A8\u91CD\u540D\u5931\u8D25!","Clear Log":"\u6E05\u7A7A\u65E5\u5FD7","Export Log":"\u5BFC\u51FA\u65E5\u5FD7","Add Boundary":"\u6DFB\u52A0\u8FB9\u754C","Edit Symbol":"\u7F16\u8F91\u7B26\u53F7","Edit Schematic":"\u7F16\u8F91\u539F\u7406\u56FE","Project library symbol added failed!":"\u5DE5\u7A0B\u5E93\u7B26\u53F7\u65B0\u589E\u5931\u8D25!","Project library footprint added failed!":"\u5DE5\u7A0B\u5E93\u5C01\u88C5\u65B0\u589E\u5931\u8D25!",Scene:"\u573A\u666F","Last modified by":"\u6700\u540E\u4FEE\u6539\u4EBA",Belong:"\u5F52\u5C5E","After this operation is completed, the symbol will be disconnected from the source, whether to continue?":"\u6B64\u64CD\u4F5C\u5B8C\u6210\u540E\u4F1A\u65AD\u5F00\u8BE5\u7B26\u53F7\u4E0E\u6765\u6E90\u7684\u5173\u8054\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F",Collect:"\u6536\u85CF","Private Library":"\u79C1\u6709\u5E93","Failed to add project library, placement failed.":"\u6DFB\u52A0\u5DE5\u7A0B\u5E93\u5931\u8D25\uFF0C\u653E\u7F6E\u5931\u8D25\u3002","Repeat Name!":"\u540D\u5B57\u91CD\u590D\uFF01","not deleted, Found existing symbol instance.":"\u5220\u9664\u5931\u8D25\uFF0C\u5DE5\u7A0B\u4E2D\u5DF2\u6709\u5176\u7B26\u53F7\u5B9E\u4F8B\u3002","Update Time":"\u66F4\u65B0\u65F6\u95F4","Device duplicate name":"\u5668\u4EF6\u91CD\u540D","Library duplicate name":"\u5E93\u91CD\u540D","Library duplicate name.":"\u5E93\u91CD\u540D\u3002","Symbol can not have the same name":"\u7B26\u53F7\u4E0D\u80FD\u91CD\u540D","Library duplicate name or illegal name.":"\u5E93\u91CD\u540D\u6216\u975E\u6CD5\u540D\u79F0\u3002","{libname} duplicate name or illegal name: {componentname}":"{libname} \u5DF2\u6709\u540C\u540D\u5E93: {componentname}","{libName} duplicate name or illegal name: {componentName}":"{libName} \u5DF2\u6709\u540C\u540D\u5E93: {componentName}","Illegal name":"\u975E\u6CD5\u540D\u79F0","Illegal device ID":"\u975E\u6CD5\u7684\u5668\u4EF6 ID","Illegal symbol ID":"\u975E\u6CD5\u7684\u7B26\u53F7 ID","Illegal footprint ID":"\u975E\u6CD5\u7684\u5C01\u88C5 ID","Parameter error":"\u53C2\u6570\u9519\u8BEF","Project name modify failed!":"\u5DE5\u7A0B\u540D\u4FEE\u6539\u5931\u8D25\uFF01","This action will:":"\u6B64\u64CD\u4F5C\u5C06\uFF1A","Modifying the project library will:":"\u4FEE\u6539\u5DE5\u7A0B\u5E93\u5C06\uFF1A","Affect all references to the library in the whole project.":"\u5F71\u54CD\u6574\u4E2A\u5DE5\u7A0B\u6240\u6709\u5F15\u7528\u8BE5\u5E93\u7684\u4F4D\u7F6E\u3002","Clear the history, You will not be able to undo/redo the previous action":"\u6E05\u7A7A\u5386\u53F2\u8BB0\u5F55\uFF0C\u4F60\u5C06\u4E0D\u80FD\u5BF9\u4E4B\u524D\u7684\u64CD\u4F5C\u8FDB\u884C\u64A4\u9500/\u91CD\u505A","Will disconnect from the source":"\u65AD\u5F00\u4E0E\u6765\u6E90\u7684\u5173\u8054","Create a new template with suffix and apply it to selected component(s)":"\u5728\u5DE5\u7A0B\u5E93\u4E2D\u65B0\u5EFA\u4E00\u4E2A\u52A0\u540E\u7F00\u7684\u6A21\u677F\u5E94\u7528\u4E8E\u9009\u4E2D\u5143\u4EF6","Create a new template with suffix and apply it to current PCB":"\u5728\u5DE5\u7A0B\u5E93\u4E2D\u65B0\u5EFA\u4E00\u4E2A\u52A0\u540E\u7F00\u7684\u6A21\u677F\u5E94\u7528\u4E8E\u5F53\u524DPCB","This action will clear the history, You will not be able to undo/redo the previous action. Do you want to continue?":"\u6B64\u64CD\u4F5C\u5C06\u6E05\u7A7A\u5386\u53F2\u8BB0\u5F55\uFF0C\u4F60\u5C06\u4E0D\u80FD\u5BF9\u4E4B\u524D\u7684\u64CD\u4F5C\u8FDB\u884C\u64A4\u9500/\u91CD\u505A\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","The delete action will clear the history, You will not be able to undo/redo the previous action.":"\u5220\u9664\u64CD\u4F5C\u5C06\u6E05\u7A7A\u5386\u53F2\u8BB0\u5F55\uFF0C\u4F60\u5C06\u4E0D\u80FD\u5BF9\u4E4B\u524D\u7684\u64CD\u4F5C\u8FDB\u884C\u64A4\u9500/\u91CD\u505A\u3002","The PCB to which the footprint belongs has been closed, please open the PCB before saving! Do you want to continue?":"\u8BE5\u5C01\u88C5\u6240\u5C5E\u7684PCB\u5DF2\u88AB\u5173\u95ED\uFF0C\u8BF7\u6253\u5F00PCB\u540E\u518D\u8FDB\u884C\u4FDD\u5B58\u64CD\u4F5C\uFF01\u662F\u5426\u7EE7\u7EED\uFF1F","Custom footprint must be an engineering library":"\u81EA\u5B9A\u4E49\u5C01\u88C5\u4E00\u5B9A\u662F\u5DE5\u7A0B\u5E93","Clear Selected":"\u6E05\u9664\u9009\u4E2D","Symbol Choose":"\u7B26\u53F7\u9009\u62E9","Primitive Choose":"\u56FE\u5143\u9009\u62E9","The currently selected object is:":"\u5F53\u524D\u9009\u62E9\u7684\u5BF9\u8C61\u4E3A\uFF1A","Part Choose":"Part\u9009\u62E9","The contents to be updated:":"\u9700\u8981\u66F4\u65B0\u7684\u5185\u5BB9:","include those belonging to the public library":"\u5305\u542B\u5F52\u5C5E\u4E8E\u516C\u5F00\u5E93\u7684","include the current version is later than the updated version":"\u5305\u542B\u5F53\u524D\u7248\u672C\u665A\u4E8E\u66F4\u65B0\u7248\u672C\u7684\u66F4\u65B0","Please operate carefully":"\u8BF7\u8C28\u614E\u64CD\u4F5C","Project Library Device:":"\u5DE5\u7A0B\u5E93\u5668\u4EF6\uFF1A","Project Library Symbol:":"\u5DE5\u7A0B\u5E93\u7B26\u53F7\uFF1A","Project Library Footprint:":"\u5DE5\u7A0B\u5E93\u5C01\u88C5\uFF1A","Project Library Device":"\u5DE5\u7A0B\u5E93\u5668\u4EF6","Project Library Symbol":"\u5DE5\u7A0B\u5E93\u7B26\u53F7","Project Library Footprint":"\u5DE5\u7A0B\u5E93\u5C01\u88C5","Library Device:":"\u5668\u4EF6\uFF1A","Library Symbol:":"\u7B26\u53F7\uFF1A","Library Footprint:":"\u5C01\u88C5\uFF1A","Library Device":"\u5668\u4EF6","Library Symbol":"\u7B26\u53F7","Library Footprint":"\u5C01\u88C5","Library 3D Model":"3D\u6A21\u578B","Project library data or source data lost!":"\u5DE5\u7A0B\u5E93\u6570\u636E\u6216\u8005\u6E90\u6570\u636E\u4E22\u5931!","Together Delete:":"\u540C\u65F6\u5220\u9664\uFF1A","Together Delete: Schematic":"\u540C\u65F6\u5220\u9664\uFF1A\u539F\u7406\u56FE","Together Delete: PCB":"\u540C\u65F6\u5220\u9664\uFF1APCB","Delete symbol too":"\u540C\u65F6\u5220\u9664\u7B26\u53F7","Delete footprint too":"\u540C\u65F6\u5220\u9664\u5C01\u88C5","Delete 3D model too":"\u540C\u65F6\u5220\u96643D\u6A21\u578B","Warming: Delete the symbol/footprint/3D model at the same time will impact the other binded devices!":"\u8B66\u544A\uFF1A\u540C\u65F6\u5220\u9664\u7B26\u53F7/\u5C01\u88C5/3D\u6A21\u578B\u5E93\u5C06\u5F71\u54CD\u5176\u4ED6\u5DF2\u5173\u8054\u7684\u5668\u4EF6\u5E93\uFF01","Warming: Delete the footprint(s) will impact the other binded devices!":"\u8B66\u544A\uFF1A\u5220\u9664\u5C01\u88C5\u5C06\u5F71\u54CD\u5176\u4ED6\u5DF2\u5173\u8054\u7684\u5668\u4EF6\u5E93\uFF01","Warming: Delete the symbol(s) will impact the other binded devices!":"\u8B66\u544A\uFF1A\u5220\u9664\u7B26\u53F7\u5C06\u5F71\u54CD\u5176\u4ED6\u5DF2\u5173\u8054\u7684\u5668\u4EF6\u5E93\uFF01","Warming: Delete the 3d model(s) will impact the other binded devices!":"\u8B66\u544A\uFF1A\u5220\u96643D\u6A21\u578B\u5C06\u5F71\u54CD\u5176\u4ED6\u5DF2\u5173\u8054\u7684\u5668\u4EF6\u5E93\uFF01","Delete symbol at the same time failed, no permission or it was deleted: {symbols}":"\u540C\u6B65\u5220\u9664\u7B26\u53F7\u5931\u8D25\uFF0C\u6CA1\u6709\u6743\u9650\u6216\u5DF2\u88AB\u5220\u9664\uFF1A{symbols}","Delete footprint at the same time failed, no permission or it was deleted: {footprints}":"\u540C\u6B65\u5220\u9664\u5C01\u88C5\u5931\u8D25\uFF0C\u6CA1\u6709\u6743\u9650\u6216\u5DF2\u88AB\u5220\u9664\uFF1A{footprints}","Delete 3D model at the same time failed, no permission or it was deleted: {models}":"\u540C\u6B65\u5220\u96643D\u6A21\u578B\u5931\u8D25\uFF0C\u6CA1\u6709\u6743\u9650\u6216\u5DF2\u88AB\u5220\u9664\uFF1A{models}","Delete component failed: {component}":"\u5C01\u88C5\u5220\u9664\u5931\u8D25: {component}","Backup Setting":"\u5907\u4EFD\u8BBE\u7F6E","Save Setting":"\u4FDD\u5B58\u8BBE\u7F6E","Auto backup interval:":"\u81EA\u52A8\u5907\u4EFD\u95F4\u9694\uFF1A","Auto save interval:":"\u81EA\u52A8\u4FDD\u5B58\u95F4\u9694\uFF1A","Auto backup:":"\u81EA\u52A8\u5907\u4EFD\uFF1A","Auto save:":"\u81EA\u52A8\u4FDD\u5B58\uFF1A","Maximum backup:":"\u6700\u5927\u5907\u4EFD\u6B21\u6570\uFF1A","Detected that you enabled automatic backup, whether to back up immediately?":"\u68C0\u6D4B\u5230\u60A8\u542F\u7528\u4E86\u81EA\u52A8\u5907\u4EFD\uFF0C\u662F\u5426\u7ACB\u9A6C\u5907\u4EFD\u4E00\u6B21\uFF1F","Detected that you enabled automatic save, whether to execute it immediately?":"\u68C0\u6D4B\u5230\u60A8\u542F\u7528\u4E86\u81EA\u52A8\u4FDD\u5B58\uFF0C\u662F\u5426\u7ACB\u9A6C\u6267\u884C\u4E00\u6B21\uFF1F",ProductLine:"\u4EA7\u54C1\u7EBF","Company level":"\u516C\u53F8\u7EA7","IT hardware":"IT\u786C\u4EF6","Fixed network":"\u56FA\u5B9A\u7F51\u7EDC","Sea network":"\u6D77\u6D0B\u7F51\u7EDC","Wireless network":"\u65E0\u7EBF\u7F51\u7EDC","Enterprise network":"\u4F01\u4E1A\u7F51\u7EDC",terminal:"\u7EC8\u7AEF",energy:"\u80FD\u6E90","For Huawei terminal":"\u534E\u4E3A\u7EC8\u7AEF\u4E13\u7528","Hierarchical screening":"\u5206\u5C42\u7B5B\u9009",CODE:"\u7F16\u7801",Code:"\u7F16\u7801",VALUE:"\u503C","Subclass name":"\u5C0F\u7C7B\u540D\u79F0",Encapsulation:"\u5C01\u88C5",PreferLevel:"\u4F18\u9009\u7B49\u7EA7",SubSystem:"\u8D23\u4EFB\u7530",Attribute:"\u5C5E\u6027",Summary:"\u6458\u8981","Summary{text}":"\u6982\u89C8{text}","Testpoints Count":"\u6D4B\u8BD5\u70B9\u7EDF\u8BA1","Nets Count":"\u7F51\u7EDC\u7EDF\u8BA1","Test Point Count":"\u6D4B\u8BD5\u70B9\u7EDF\u8BA1","Net Count":"\u7F51\u7EDC\u603B\u6570",PDMStatus:"PDM\u72B6\u6001",LastModifiedTime:"\u4E0A\u6B21\u4FEE\u6539\u65F6\u95F4",Classification:"\u5C0F\u7C7B\u540D\u79F0",CompanyPreferLevel:"\u516C\u53F8\u4F18\u9009\u7B49\u7EA7",ProductPreferLevel:"\u4EA7\u54C1\u4F18\u9009\u7B49\u7EA7",SupplyGrade:"\u4F9B\u5E94\u5C5E\u6027",AdaptProduct:"\u9002\u7528\u4EA7\u54C1","A Info":"A\u56FD\u4FE1\u606F",ComponentHeight:"\u5668\u4EF6\u9AD8\u5EA6","Component Height":"\u5668\u4EF6\u9AD8\u5EA6",Category:"\u5206\u7C7B",category:"\u5206\u7C7B","Symbol Category":"\u7B26\u53F7\u5206\u7C7B","Device Category":"\u5668\u4EF6\u5206\u7C7B","Symbol Category:":"\u7B26\u53F7\u5206\u7C7B\uFF1A","Device Category:":"\u5668\u4EF6\u5206\u7C7B\uFF1A","Footprint Category:":"\u5C01\u88C5\u5206\u7C7B\uFF1A","Panel Lib Category:":"\u9762\u677F\u5E93\u5206\u7C7B\uFF1A",Data:"\u6570\u636E\u6E90","Query object not found":"\u672A\u627E\u5230\u67E5\u8BE2\u5BF9\u8C61",Remark:"\u5907\u6CE8","Font Height":"\u5B57\u4F53\u9AD8\u5EA6",Precision:"\u7CBE\u5EA6",Protractor:"\u91CF\u89D2\u5668","Changing line width won't work for silhouette fonts.":"\u8F6E\u5ED3\u5B57\u4F53\u7684\u7EBF\u5BBD\u6682\u4E0D\u80FD\u4FEE\u6539\u3002","Font is missing! You can confirm the dialog and use default font instead or cancel the dialog then upload your font and do it again.":"\u5B57\u4F53\u7F3A\u5931\uFF0C\u8BF7\u4F7F\u7528\u9ED8\u8BA4\u5B57\u4F53\u6216\u6DFB\u52A0\u8BE5\u5B57\u4F53\u3002",License:"\u534F\u8BAE","Part Pins":"\u5143\u4EF6\u5F15\u811A","Net Pins":"\u7F51\u7EDC\u5F15\u811A","Add Parameter":"\u6DFB\u52A0\u65B0\u53C2\u6570","Histories record":"\u5386\u53F2\u8BB0\u5F55","Single Pin":"\u5355\u5F15\u811A","Line Pins":"\u6761\u5F62\u591A\u5F15\u811A","Rect Pins":"\u77E9\u5F62\u591A\u5F15\u811A","Rectangle Pins":"\u77E9\u5F62\u591A\u5F15\u811A","Create device for single symbol":"\u4E3A\u5355\u7B26\u53F7\u521B\u5EFA\u5668\u4EF6","Automatically update existing library with the same name":"\u81EA\u52A8\u66F4\u65B0\u5DF2\u6709\u540C\u540D\u5E93","The Package of the SchematicLib doesn't match the PCBLib":"\u539F\u7406\u56FE\u5E93\u7684\u5C01\u88C5\u672A\u80FD\u4E0EPCB\u5E93\u5339\u914D","No package":"\u672A\u6307\u5B9A\u5C01\u88C5","Can't find the package":"\u672A\u627E\u5230\u5C01\u88C5","The path is for the project URL identify, it is unique (the identity of the project owned by the user cannot be the same)":"\u5DE5\u7A0B\u8DEF\u5F84\u7528\u4E8E\u5DE5\u7A0Burl\u7684\u540E\u7F00\uFF0C\u8DEF\u5F84\u5177\u6709\u552F\u4E00\u6027(\u7528\u6237\u6240\u62E5\u6709\u5DE5\u7A0B\u7684\u8DEF\u5F84\u4E0D\u80FD\u76F8\u540C)","It's with a letter or a number and can contain only numbers, letters, line-through, underscores, and points. It cannot be modified after saving.":"\u8DEF\u5F84\u4EE5\u5B57\u6BCD\u6216\u6570\u5B57\u5F00\u5934\uFF0C\u53EA\u80FD\u5305\u542B\u6570\u5B57\u3001\u5B57\u6BCD\u3001\u4E2D\u5212\u7EBF\u3001\u4E0B\u5212\u7EBF\u53CA\u70B9\uFF0C\u4FDD\u5B58\u540E\u4E0D\u80FD\u4FEE\u6539","Updating document to new format, please wait......After finishing please save your document with Ctrl + S.":"\u6B63\u5728\u66F4\u65B0\u6587\u6863\u81F3\u65B0\u683C\u5F0F\uFF0C\u8BF7\u7A0D\u5019......\u66F4\u65B0\u5B8C\u6210\u540E\u8BF7\u6309Ctrl+S\u4FDD\u5B58\u6587\u4EF6\u3002","Open at current project?":"\u5728\u5F53\u524D\u5DE5\u7A0B\u6253\u5F00\uFF1F","Please select a history to recover.":"\u8BF7\u9009\u62E9\u4E00\u4E2A\u5386\u53F2\u8BB0\u5F55\u6062\u590D\u3002",'Be careful! When you click the "Recover" button, this sheet will be overwritten!':"\u8BF7\u6CE8\u610F\uFF01\u82E5\u4F60\u70B9\u51FB\u4E86\u201C\u6062\u590D\u201D\u6309\u94AE\u540E\uFF0C\u8BE5\u9875\u4F1A\u88AB\u8986\u76D6\uFF01",Recover:"\u6062\u590D","Save As a New Project":"\u53E6\u5B58\u4E3A\u65B0\u5DE5\u7A0B","There is no PCB under this project, would you like to create one?":"\u5DE5\u7A0B\u4E0B\u65E0PCB\uFF0C\u662F\u5426\u521B\u5EFA\u4E00\u4E2A\uFF1F","Please make sure that the chose Altium Designer files are saved as ASCII files.":"\u8BF7\u786E\u4FDD\u9009\u62E9\u7684Altium Designer\u6587\u4EF6\u662F\u53E6\u5B58\u4E3AASCII\u683C\u5F0F\u7684\u6587\u4EF6\u3002","Export to Altium function is currently in beta:":"\u5BFC\u51FAAltium\u529F\u80FD\u6682\u65F6\u5728\u6D4B\u8BD5\u7248\uFF1A","1. Please be sure to read the notice before exporting:":"1\u3001\u5BFC\u51FA\u524D\u8BF7\u52A1\u5FC5\u9605\u8BFB\uFF1A","Export Altium notice and disclaimer":"\u5BFC\u51FAAltium\u6CE8\u610F\u4E8B\u9879\u4E0E\u514D\u8D23\u58F0\u660E","2. Please be sure to check again after export!":"2\u3001\u5BFC\u51FA\u540E\u8BF7\u52A1\u5FC5\u518D\u6B21\u68C0\u67E5\uFF01","I have read and agree":"\u6211\u5DF2\u9605\u8BFB\u5E76\u540C\u610F","Export to Altium":"\u5BFC\u51FAAltium","Please make sure that the chose Eagle files are saved in Eagle v6.0 and above.":"\u8BF7\u786E\u4FDD\u9009\u62E9\u7684Eagle\u6587\u4EF6\u662FEagle v6.0\u53CA\u4EE5\u4E0A\u7248\u672C\u4FDD\u5B58\u7684\u6587\u4EF6\u3002","Please make sure that the Kicad files were compressed as the .zip file.":"\u8BF7\u786E\u4FDDKicad\u6587\u4EF6\u662F\u538B\u7F29\u5728zip\u538B\u7F29\u5305\u6587\u4EF6\u4E2D\u3002","Open Altium Designer file":"\u6253\u5F00Altium Designer\u6587\u4EF6","The more information please refer at :":"\u66F4\u591A\u4FE1\u606F\u8BF7\u67E5\u770B\uFF1A","Please use Gerber file instead of exporting Altium if you are going to do PCB manufacturing. All PCB factories support the Gerber file. Is it ok to Generate the Gerber file?":"\u5982\u679C\u4F60\u9700\u8981\u751F\u4EA7PCB\uFF0C\u5EFA\u8BAE\u4F7F\u7528Gerber\u6587\u4EF6\u800C\u4E0D\u662F\u5BFC\u51FAAltium\u6587\u4EF6\uFF0C\u677F\u5382\u5747\u652F\u6301\u4F7F\u7528Gerber\u751F\u4EA7PCB\u3002\u662F\u5426\u751F\u6210Gerber\uFF1F","Yes, Generate Gerber":"\u662F\uFF0C\u751F\u6210Gerber","No, Export Altium":"\u5426\uFF0C\u5BFC\u51FAAltium","Open Eagle file":"\u6253\u5F00Eagle\u6587\u4EF6","Open Kicad file":"\u6253\u5F00Kicad\u6587\u4EF6","Select file(s)":"\u9009\u62E9\u6587\u4EF6","Append to current project?":"\u63D2\u5165\u5230\u5F53\u524D\u5DE5\u7A0B\uFF1F",Append:"\u63D2\u5165","Open as new project":"\u6253\u5F00\u4E3A\u65B0\u5DE5\u7A0B","Tip: Press {0}SPACE{1} or {2}R{3} to rotate the placing object or selected object.":"\u63D0\u793A\uFF1A\u6309 {0}\u7A7A\u683C\u952E{1} \u6216 {2}R\u952E{3} \u65CB\u8F6C\u5F85\u653E\u7F6E\u6216\u9009\u4E2D\u7684\u96F6\u4EF6\u3002","Hotkeys Setting":"\u5FEB\u6377\u952E\u8BBE\u7F6E","I know. Don't show this again.":"\u6211\u77E5\u9053\uFF0C\u4E0D\u518D\u663E\u793A\u8BE5\u63D0\u793A\u3002","Manufacturer Part Number can not be less than 2 characters.":"\u5236\u9020\u5546\u5143\u4EF6\u7F16\u53F7\u4E0D\u80FD\u5C11\u4E8E2\u4E2A\u5B57\u7B26\u3002","This prefix was changed to non-subpart format.":"\u7F16\u53F7\u5DF2\u88AB\u4FEE\u6539\u4E3A\u975E\u5B50\u5E93\u683C\u5F0F\u3002","Save as New Project":"\u4FDD\u5B58\u81F3\u65B0\u5DE5\u7A0B","Save to Existing Project":"\u4FDD\u5B58\u81F3\u5DF2\u6709\u5DE5\u7A0B","Sheet Setting":"\u6587\u6863\u8BBE\u7F6E","Sheet Size":"\u6587\u6863\u5C3A\u5BF8",Pre:"\u7F16\u53F7",pre:"\u7F16\u53F7","Invalid Data":"\u6570\u636E\u683C\u5F0F\u4E0D\u5BF9",Others:"\u5176\u5B83","You are not authorized to share this project.":"\u4F60\u65E0\u6743\u9650\u5206\u4EAB\u8BE5\u5DE5\u7A0B\u3002","This project is private: if you continue sharing it will be made public.":"\u8BE5\u5DE5\u7A0B\u662F\u79C1\u6709\u5DE5\u7A0B\uFF0C\u7EE7\u7EED\u5206\u4EAB\u5C06\u516C\u5F00\u3002","Modify file info":"\u4FEE\u6539\u6587\u6863\u4FE1\u606F","Modify info":"\u4FEE\u6539\u4FE1\u606F","Please input search keyword":"\u8BF7\u8F93\u5165\u641C\u7D22\u5173\u952E\u8BCD","Please input search content":"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",Sort:"\u6392\u5E8F","Date Created":"\u521B\u5EFA\u65F6\u95F4","Date Modified":"\u4FEE\u6539\u65F6\u95F4",Ascending:"\u5347\u5E8F",Descending:"\u964D\u5E8F",Operate:"\u64CD\u4F5C","Pin to Top":"\u9876\u7F6E","Sticky on Top":"\u7F6E\u9876","Sticky on Bot":"\u7F6E\u5E95","Unpin from Top":"\u53D6\u6D88\u9876\u7F6E",Expand:"\u5C55\u5F00",Maximize:"\u6700\u5927\u5316",Initialization:"\u521D\u59CB\u5316","Your file hasn't been saved. Would you like to save it now?":"\u4F60\u7684\u6587\u4EF6\u5C1A\u672A\u4FDD\u5B58\uFF0C\u662F\u5426\u4FDD\u5B58\uFF1F","Don't Save":"\u4E0D\u4FDD\u5B58","Library Owner:":"\u5E93\u5F52\u5C5E\uFF1A","verifyPkg.Value":"\u540D\u79F0",State:"\u72B6\u6001","Please select!":"\u8BF7\u9009\u62E9\uFF01",Route:"\u5E03\u7EBF","Library import":"\u5E93\u5BFC\u5165","Import successfully:":"\u5BFC\u5165\u6210\u529F\uFF1A","{nums} devices import successfully":"{nums}\u4E2A\u5668\u4EF6\u5BFC\u5165\u6210\u529F","{nums} devices update successfully":"{nums}\u4E2A\u5668\u4EF6\u66F4\u65B0\u6210\u529F","{nums} symbols import successfully":"{nums}\u4E2A\u7B26\u53F7\u5BFC\u5165\u6210\u529F","{nums} panel libraries import successfully":"{nums}\u4E2A\u9762\u677F\u5E93\u5BFC\u5165\u6210\u529F","{nums} footprints import successfully":"{nums}\u4E2A\u5C01\u88C5\u5BFC\u5165\u6210\u529F","{nums} projects import successfully":"{nums}\u4E2A\u5DE5\u7A0B\u5BFC\u5165\u6210\u529F","{nums} devices import failed":"{nums}\u4E2A\u5668\u4EF6\u5BFC\u5165\u5931\u8D25","{nums} devices update failed":"{nums}\u4E2A\u5668\u4EF6\u66F4\u65B0\u5931\u8D25","{nums} symbols import failed":"{nums}\u4E2A\u7B26\u53F7\u5BFC\u5165\u5931\u8D25","{nums} panel libraries import failed":"{nums}\u4E2A\u9762\u677F\u5E93\u5BFC\u5165\u5931\u8D25","{nums} projects import failed":"{nums}\u4E2A\u5DE5\u7A0B\u5BFC\u5165\u5931\u8D25","{nums} devices content is the same and has not been updated":"{nums}\u4E2A\u5668\u4EF6\u5185\u5BB9\u4E00\u81F4\u672A\u66F4\u65B0","{nums} devices import failed, have the same name":"{nums}\u4E2A\u5668\u4EF6\u5BFC\u5165\u5931\u8D25\uFF0C\u5B58\u5728\u91CD\u540D","{nums} footprints import failed":"{nums}\u4E2A\u5C01\u88C5\u5BFC\u5165\u5931\u8D25","Already exist the same name footprint library {0},\xA0below\xA0device(s) binding with existed footprint:\xA0{1}":"\u5DF2\u5B58\u5728\u540C\u540D\u5C01\u88C5\u5E93 {0}\uFF0C\u4EE5\u4E0B\u5668\u4EF6\u4F7F\u7528\u5DF2\u6709\u5C01\u88C5\u8FDB\u884C\u5173\u8054\uFF1A{1}","Already exist the same name symbol library {0},\xA0below\xA0device(s) binding with existed symbol:\xA0{1}":"\u5DF2\u5B58\u5728\u540C\u540D\u7B26\u53F7\u5E93 {0}\uFF0C\u4EE5\u4E0B\u5668\u4EF6\u4F7F\u7528\u5DF2\u6709\u7B26\u53F7\u8FDB\u884C\u5173\u8054\uFF1A{1}","Already exists":"\u5DF2\u5B58\u5728","A library with the same name already exists":"\u5DF2\u5B58\u5728\u76F8\u540C\u540D\u79F0\u7684\u5E93","Duplicated the following sheet names: {0}":"\u4EE5\u4E0B\u56FE\u9875\u540D\u79F0\u91CD\u590D\uFF01: {0}","Path only contain 'a-z\u3001A-Z\u3001- \u3001 _ \u30010-9'!":"\u8DEF\u5F84\u53EA\u80FD\u5305\u542B'a-z\u3001A-Z\u3001- \u3001_ \u30010-9'\uFF01","Path must begin as 'a-z\u3001A-Z\u30010-9'!":"\u8DEF\u5F84\u5FC5\u987B\u4EE5'a-z\u3001A-Z\u30010-9'\u5F00\u5934\uFF01","Project Path only contain 'a-z\u3001A-Z\u3001- \u3001 _ \u30010-9'!":"\u5DE5\u7A0B\u94FE\u63A5\u53EA\u80FD\u5305\u542B'a-z\u3001A-Z\u3001- \u3001_ \u30010-9'\uFF01","Project Path must begin as 'a-z\u3001A-Z\u30010-9'!":"\u5DE5\u7A0B\u94FE\u63A5\u5FC5\u987B\u4EE5'a-z\u3001A-Z\u30010-9'\u5F00\u5934\uFF01","The Project path length must be between 1~128 characters!":"\u5DE5\u7A0B\u94FE\u63A5\u957F\u5EA6\u5FC5\u987B\u4E3A1~128\u5B57\u8282\uFF01","The title length must be between 1~128 characters!":"\u6807\u9898\u957F\u5EA6\u5FC5\u987B\u4E3A1~128\u5B57\u7B26\uFF01","The symbol name length must be between 1~128 characters!":"\u7B26\u53F7\u540D\u79F0\u957F\u5EA6\u5FC5\u987B\u4E3A1~128\u5B57\u7B26\uFF01","The title length must be between 2~128 characters!":"\u6807\u9898\u957F\u5EA6\u5FC5\u987B\u4E3A2~128\u5B57\u7B26\uFF01","The title length must be between {0}~{1} characters!":"\u6807\u9898\u957F\u5EA6\u5FC5\u987B\u4E3A{0}~{1}\u5B57\u7B26\uFF01","The {0} length must be between {1}~{2} characters!":"{0}\u957F\u5EA6\u5FC5\u987B\u4E3A{1}~{2}\u5B57\u7B26\uFF01","Device {0} update title failed! The devie title cannot be duplicated.":"\u5668\u4EF6 {0} \u66F4\u65B0\u540D\u79F0\u5931\u8D25\uFF01\u5668\u4EF6\u4E0D\u80FD\u91CD\u540D\u3002","{0} schematic name is exist!":"{0}\u539F\u7406\u56FE\u540D\u5B57\u5DF2\u5B58\u5728\uFF01","Error : Found same name object exist, please use another name.":"\u9519\u8BEF : \u53D1\u73B0\u5B58\u5728\u540C\u540D\u7684\u5BF9\u8C61\uFF0C\u8BF7\u4F7F\u7528\u53E6\u5916\u4E00\u4E2A\u540D\u79F0","Name can not contain any characters as follows{0}":"\u540D\u79F0\u4E0D\u80FD\u5305\u542B\u4E0B\u5217\u4EFB\u610F\u5B57\u7B26{0}","Name can not contain any characters as follows{0} or double colon":"\u540D\u79F0\u4E0D\u80FD\u5305\u542B\u4E0B\u5217\u4EFB\u610F\u5B57\u7B26{0}\u6216\u8005\u4E24\u4E2A\u5192\u53F7","chinese character or":"\u4E2D\u6587\u5B57\u7B26\u6216","{0} symbol name is exist!":"{0}\u5757\u7B26\u53F7\u540D\u5DF2\u5B58\u5728\uFF01","The title can not less than 3 charaters!":"\u6807\u9898\u4E0D\u80FD\u5C11\u4E8E3\u4E2A\u5B57\u7B26\uFF01","Your are trying to delete document":"\u4F60\u6B63\u5728\u5220\u9664\u6587\u6863",Deleting:"\u6B63\u5728\u5220\u9664","Carefully, this operation CAN NOT BE UNDONE!":"\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01\u8BE5\u64CD\u4F5C\u5C06\u4E0D\u53EF\u6062\u590D\uFF01","Do you want to delete this file?":"\u4F60\u786E\u8BA4\u8981\u5220\u9664\u8BE5\u6587\u4EF6\u5417\uFF1F","Add sub part success":"\u6DFB\u52A0\u5B50\u5E93\u6210\u529F","Please input name and prefix!":"\u8BF7\u8F93\u5165\u7F16\u53F7\u548C\u540D\u79F0","Board outlines are not closed":"\u677F\u5B50\u8FB9\u6846\u6CA1\u6709\u95ED\u5408",'The Pins "{0}" are not snapped on the grid point! This part maybe will cause some errors in the schematic.':"\u5F15\u811A\u201C{0}\u201D\u6CA1\u6709\u5438\u9644\u5728\u683C\u70B9\u4E0A\uFF01\u8FD9\u4E2A\u5E93\u5728\u539F\u7406\u56FE\u91CC\u53EF\u80FD\u4F1A\u4EA7\u751F\u9519\u8BEF\u3002","Check Pin":"\u5F15\u811A\u68C0\u6D4B","Pin connection points are not allowed to overlap!":"\u5F15\u811A\u8FDE\u63A5\u70B9\u4E0D\u5141\u8BB8\u91CD\u53E0\uFF01","Failed to read {0}":"\u52A0\u8F7D{0}\u5931\u8D25","{0} is invalid":"{0}\u4E0D\u53EF\u7528","{0} not found":"{0}\u4E0D\u5B58\u5728","Failed to execute script:":"\u6267\u884C\u811A\u672C\u5931\u8D25\uFF1A","One or more js files not found":"\u4E00\u4E2A\u6216\u591A\u4E2Ajs\u672A\u627E\u5230","Only ONE {0} file is required":"\u53EA\u6709{0}\u4E00\u4E2A\u6587\u4EF6","Extension ID is required":"\u6269\u5C55ID\u4E0D\u80FD\u4E3A\u7A7A","Import data is empty!":"\u5BFC\u5165\u6570\u636E\u4E3A\u7A7A!","BOM data is empty!":"BOM \u6570\u636E\u4E3A\u7A7A!","Coordinate data is empty!":"\u5750\u6807\u6570\u636E\u4E3A\u7A7A!","Gerber data is empty!":"Gerber \u6570\u636E\u4E3A\u7A7A!","Extension ID is invalid":"\u6269\u5C55ID\u4E0D\u5408\u6CD5","Extension ID is duplicated":"\u6269\u5C55ID\u5DF2\u5B58\u5728","No Result!":"\u65E0\u7ED3\u679C\uFF01","Load Error":"\u52A0\u8F7D\u5931\u8D25",loading:"\u6B63\u5728\u52A0\u8F7D","loading...":"\u6B63\u5728\u52A0\u8F7D...","load failer":"\u52A0\u8F7D\u5931\u8D25",empty:"\u7A7A",Netlist:"\u7F51\u8868","Please select the pad first!":"\u8BF7\u5148\u9009\u62E9\u710A\u76D8!","select pad(s)":"\u9009\u62E9\u710A\u76D8","Please select the pad1":"\u8BF7\u5148\u9009\u62E9\u710A\u76D81","Please select the pad2":"\u8BF7\u5148\u9009\u62E9\u710A\u76D82","Nets Total":"\u7F51\u7EDC\u603B\u6570","All Nets":"\u6240\u6709\u7F51\u7EDC","Selected Nets":"\u6240\u9009\u7F51\u7EDC","Selected Component Nets":"\u6240\u9009\u5668\u4EF6\u7F51\u7EDC","Routing Nets":"\u5E03\u7EBF\u7F51\u7EDC","All nets":"\u6240\u6709\u7F51\u7EDC","Has Testpoint Nets":"\u6709\u6D4B\u8BD5\u70B9\u7684\u7F51\u7EDC","Testpoint Coverage":"\u6D4B\u8BD5\u70B9\u8986\u76D6\u7387","Top Side Testpoints":"\u9876\u9762\u6D4B\u8BD5\u70B9","Bottom Side Testpoints":"\u5E95\u9762\u6D4B\u8BD5\u70B9",Tags:"\u6807\u7B7E","Tags:":"\u6807\u7B7E\uFF1A","Files that failed to convert:":"\u8F6C\u6362\u5931\u8D25\u7684\u6587\u4EF6\uFF1A","Update successfully!":"\u66F4\u65B0\u6210\u529F!","Operation success!":"\u66F4\u65B0\u6210\u529F!","Currently there are sub-picture partitions, and the design rules cannot be modified. Please try after merging them into the main picture":"\u5F53\u524D\u5B58\u5728\u5206\u51FA\u5B50\u56FE\u7684\u5206\u533A\uFF0C\u65E0\u6CD5\u4FEE\u6539\u8BBE\u8BA1\u89C4\u5219\uFF0C\u8BF7\u5168\u90E8\u5408\u5165\u4E3B\u56FE\u540E\u5C1D\u8BD5","Cannot be added beyond drawing range":"\u8D85\u51FA\u7ED8\u5236\u8303\u56F4\uFF0C\u65E0\u6CD5\u6DFB\u52A0!","beyond drawing range":"\u8D85\u51FA\u7ED8\u5236\u8303\u56F4","The input range is 100\u2265x>0, up to two decimal places!":"\u8F93\u5165\u8303\u56F4\u4E3A100\u2265x>0\uFF0C\u6700\u591A2\u4F4D\u5C0F\u6570\uFF01","Pin Information:":"\u5F15\u811A\u4FE1\u606F\uFF1A","Format incorrect, please check for the extra spaces or commas!":"\u683C\u5F0F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u662F\u5426\u6709\u591A\u4F59\u7684\u7A7A\u683C\u6216\u9017\u53F7\uFF01","Round Radius":"\u5706\u89D2\u534A\u5F84","Fillet Radius":"\u5012\u89D2\u534A\u5F84","Keyword:":"\u5173\u952E\u8BCD\uFF1A","Image...":"\u56FE\u7247...","Image copied.":"\u56FE\u50CF\u5DF2\u590D\u5236","Copy failed.":"\u590D\u5236\u5931\u8D25","Image Attribute":"\u56FE\u7247\u5C5E\u6027",Locked:"\u9501\u5B9A","Unlock All":"\u89E3\u9501\u5168\u90E8",Unlock:"\u89E3\u9501",Lock:"\u9501\u5B9A","Please input pin name and pin number!":"\u8BF7\u8F93\u5165\u5F15\u811A\u540D\u79F0\u548C\u5F15\u811A\u7F16\u53F7\uFF01","Right-Side Panel":"\u53F3\u4FA7\u9762\u677F","Left-Side Panel":"\u5DE6\u4FA7\u9762\u677F","Bottom-Side Panel":"\u5E95\u90E8\u9762\u677F",Single:"\u5355\u5C42","Update All":"\u66F4\u65B0\u5168\u90E8","The pin number(s) can't find the same pad number(s)":"\u5F15\u811A\u7F16\u53F7\u672A\u627E\u5230\u76F8\u540C\u710A\u76D8\u7F16\u53F7","It is used as a reuse pin when the pin number is empty":"\u5F15\u811A\u7F16\u53F7\u4E3A\u7A7A\u4F5C\u4E3A\u590D\u7528\u5F15\u811A",Replace:"\u66FF\u6362","Find Content":"\u67E5\u627E\u5185\u5BB9","Find And Replace...":"\u67E5\u627E\u548C\u66FF\u6362...","Boolean Operation":"\u5E03\u5C14\u8FD0\u7B97","Boolean Operation - Preserve overlapping areas":"\u5E03\u5C14\u8FD0\u7B97-\u4FDD\u7559\u91CD\u53E0\u533A\u57DF","Boolean Operation - Merge Areas":"\u5E03\u5C14\u8FD0\u7B97-\u5408\u5E76\u533A\u57DF","Boolean Operation - Subtract Top Area":"\u5E03\u5C14\u8FD0\u7B97-\u51CF\u53BB\u9876\u5C42\u533A\u57DF","Boolean Operation - Exclude Overlapping Areas":"\u5E03\u5C14\u8FD0\u7B97-\u6392\u9664\u91CD\u53E0\u533A\u57DF","Boolean Operation - Split Area with Holes":"\u5E03\u5C14\u8FD0\u7B97-\u62C6\u5206\u5E26\u6D1E\u533A\u57DF","Preserve overlapping areas":"\u4FDD\u7559\u91CD\u53E0\u533A\u57DF","Merge Areas":"\u5408\u5E76\u533A\u57DF","Subtract Top Area":"\u51CF\u53BB\u9876\u5C42\u533A\u57DF","Exclude Overlapping Areas":"\u6392\u9664\u91CD\u53E0\u533A\u57DF","Split Area with Holes":"\u62C6\u5206\u5E26\u6D1E\u533A\u57DF","does not support polygons with holes,do you want to split the shape?":"\u4E0D\u652F\u6301\u5E26\u6D1E\u7684\u591A\u8FB9\u5F62\uFF0C\u662F\u5426\u5C06\u5F62\u72B6\u62C6\u5206\uFF1F","Replace As":"\u66FF\u6362\u4E3A","Update fail":"\u66F4\u65B0\u5931\u8D25","Update failed!":"\u66F4\u65B0\u5931\u8D25\uFF01","Update Success!":"\u66F4\u65B0\u6210\u529F\uFF01",Change:"\u53D8\u66F4","Check the Packages":"\u68C0\u67E5\u5C01\u88C5","Network Error!":"\u7F51\u7EDC\u9519\u8BEF\uFF01","Find Similar Objects":"\u67E5\u627E\u76F8\u4F3C\u5BF9\u8C61","Current Sheet":"\u5F53\u524D\u56FE\u9875","All Sheets":"\u5168\u90E8\u9875\u9762",Kind:"\u79CD\u7C7B","Prefix or Name invalid!":"\u7F16\u53F7\u6216\u540D\u79F0\u65E0\u6548\uFF01","Net Label/Net Flag/Net Port/Voltage Probe":"\u7F51\u7EDC\u6807\u7B7E/\u6807\u8BC6\u7B26/\u7F51\u7EDC\u7AEF\u53E3/\u7535\u538B\u63A2\u9488","Bezier/Freehand Draw":"\u8D1D\u585E\u5C14\u66F2\u7EBF/\u81EA\u7531\u7ED8\u5236","Arc/Pie":"\u5706\u5F27/\u997C\u5F62","Objects Attributes":"\u591A\u5BF9\u8C61\u5C5E\u6027","Distribute Array":"\u9635\u5217\u5206\u5E03","Create Array":"\u521B\u5EFA\u9635\u5217",Any:"\u4EFB\u610F",Same:"\u76F8\u7B49",Different:"\u4E0D\u7B49",Rectangular:"\u77E9\u5F62",Circular:"\u5706\u5F62","Array Type":"\u9635\u5217\u7C7B\u578B","Matrix Array":"\u77E9\u5F62\u9635\u5217","Circular Array":"\u5706\u5F62\u9635\u5217","Item Rotation":"\u5143\u7D20\u65CB\u8F6C\u89D2\u5EA6",Location:"\u6240\u5728\u4F4D\u7F6E","Items per Column":"\u6BCF\u5217\u6570\u91CF","Items per Row":"\u6BCF\u884C\u6570\u91CF","Column Spacing":"\u5217\u8DDD","Row Spacing":"\u884C\u8DDD",Count:"\u6570\u91CF","Currently there are many objects on PCB, which may cause lag. It is recommended to switch the panelize type to only board outline":"\u5F53\u524DPCB\u62FC\u677F\u56FE\u5143\u8F83\u591A\uFF0C\u53EF\u80FD\u51FA\u73B0\u5361\u987F\uFF0C\u5EFA\u8BAE\u5207\u6362\u62FC\u677F\u65B9\u5F0F\u4E3A\u53EA\u62FC\u8FB9\u6846","Switch Immediately":"\u7ACB\u5373\u5207\u6362","Spacing Degree":"\u95F4\u9694\u89D2\u5EA6","Horizontal, then vertical":"\u5148\u6C34\u5E73\u540E\u5782\u76F4","Vertical, then horizontal":"\u5148\u5782\u76F4\u540E\u6C34\u5E73","Start Rotation Degree":"\u8D77\u59CB\u65CB\u8F6C\u89D2\u5EA6","Start Degree":"\u8D77\u59CB\u89D2\u5EA6","Rotate Item to Match":"\u65CB\u8F6C\u5BF9\u8C61\u4EE5\u9002\u5408\u5706\u5F62",Clockwise:"\u987A\u65F6\u9488","Anti-Clockwise":"\u9006\u65F6\u9488","Distribute by":"\u5206\u5E03\u7C7B\u578B",Column:"\u5217",Row:"\u884C","Expose Copper":"\u521B\u5EFA\u5F00\u7A97\u533A",'"{0}" font is missing. Please add the font to the font family list.':'"{0}"\u5B57\u4F53\u4E22\u5931\uFF0C\u8BF7\u6DFB\u52A0\u8BE5\u5B57\u4F53\u3002',"Place Component":"\u653E\u7F6E\u5143\u4EF6","Delete Segment":"\u5220\u9664\u7EBF\u6BB5",Angle:"\u89D2\u5EA6","Layer Expose":"\u5C42\u53D1\u6563","Silk Screen":"\u4E1D\u5370",Silk:"\u4E1D\u5370","Surface Finish Color":"\u710A\u76D8\u55B7\u9540",Colors:"\u989C\u8272","Board Color":"\u677F\u5B50\u989C\u8272","Export results":"\u5BFC\u51FA\u6548\u679C","Board Side":"\u677F\u9762","Standard Silk Screen":"\u6807\u51C6\u4E1D\u5370","Colorful Silk Screen":"\u5F69\u8272\u4E1D\u5370","Silk Screen Color":"\u4E1D\u5370\u989C\u8272",Display:"\u663E\u793A","Please select a reference point":"\u8BF7\u9009\u62E9\u53C2\u8003\u70B9","Please select a network":"\u8BF7\u5355\u51FB\u9009\u62E9\u7F51\u7EDC","Please select an area":"\u8BF7\u6846\u9009\u4E00\u4E2A\u533A\u57DF","Please draw a line":"\u8BF7\u7ED8\u5236\u7EBF\u6761","Please select a center point":"\u8BF7\u9009\u62E9\u4E2D\u5FC3\u70B9","Please select a starting point":"\u8BF7\u9009\u62E9\u8D77\u70B9","Please select a center reference object":"\u8BF7\u9009\u62E9\u5C45\u4E2D\u53C2\u8003\u5BF9\u8C61","Select point by click":"\u5355\u51FB\u9009\u70B9","Please select a point":"\u8BF7\u9009\u62E9\u8282\u70B9","Please select a object":"\u8BF7\u9009\u62E9\u4E00\u4E2A\u5BF9\u8C61","Edit failed. Unable to determine the retained outline. Please try again!":"\u7F16\u8F91\u5931\u8D25\uFF0C\u65E0\u6CD5\u786E\u5B9A\u4FDD\u7559\u7684\u8F6E\u5ED3\uFF0C\u8BF7\u91CD\u8BD5\uFF01","Please select a positive network":"\u8BF7\u9009\u62E9\u6B63\u7F51\u7EDC","Please select a negative network":"\u8BF7\u9009\u62E9\u8D1F\u7F51\u7EDC","Please select a pad to associate":"\u8BF7\u5355\u51FB\u9009\u62E9\u5173\u8054\u710A\u76D8","Please select a Side Datum Line":"\u8BF7\u5355\u51FB\u9009\u62E9\u4E00\u4E2A\u4FA7\u9762\u57FA\u51C6\u7EBF","Please select a pad":"\u8BF7\u9009\u62E9\u4E00\u4E2A\u710A\u76D8","Related Pad Id":"\u5173\u8054\u710A\u76D8id","Related Symbol":"\u5173\u8054\u7B26\u53F7","Related Footprint":"\u5173\u8054\u5C01\u88C5","No Preview":"\u6682\u65E0\u9884\u89C8","Click to Preview 3D":"\u70B9\u51FB\u9884\u89C83D","Related 3D Model":"\u5173\u8054 3D\u6A21\u578B","3D Model Title":"3D\u6A21\u578B","Data does not exist!":"\u6570\u636E\u4E0D\u5B58\u5728!","3D Model details data does not exist":"3D \u6A21\u578B\u8BE6\u60C5\u6570\u636E\u4E0D\u5B58\u5728","Device details data does not exist":"\u5668\u4EF6\u8BE6\u60C5\u6570\u636E\u4E0D\u5B58\u5728","Symbol details data does not exist":"\u7B26\u53F7\u8BE6\u60C5\u6570\u636E\u4E0D\u5B58\u5728","Footprint details data does not exist":"\u5C01\u88C5\u8BE6\u60C5\u6570\u636E\u4E0D\u5B58\u5728","Panel lib details data does not exist":"\u9762\u677F\u5E93\u8BE6\u60C5\u6570\u636E\u4E0D\u5B58\u5728","Update 3D":"\u4E0A\u4F20 3D","Update Image":"\u4E0A\u4F20\u56FE\u7247","The suture via spacing is too small, please modify":"\u7F1D\u5408\u5B54\u95F4\u8DDD\u8FC7\u5C0F\uFF0C\u8BF7\u4FEE\u6539",BusEntry:"\u603B\u7EBF\u5206\u652F",Foreground:"\u524D\u666F\u8272","Part Graphics":"\u5143\u4EF6\u56FE\u5F62","Common Used":"\u5E38\u7528","Original Theme":"\u539F\u59CB\u4E3B\u9898","Change the theme colors of your design":"\u4FEE\u6539\u8BBE\u8BA1\u56FE\u7684\u4E3B\u9898\u989C\u8272\u3002","White on Black":"\u9ED1\u5E95\u767D\u56FE","Color Picture on Black":"\u9ED1\u5E95\u5F69\u56FE","Black on White":"\u767D\u5E95\u9ED1\u56FE","Color Picture on White":"\u767D\u5E95\u5F69\u56FE","Custom Theme":"\u81EA\u5B9A\u4E49\u4E3B\u9898",Custom:"\u81EA\u5B9A\u4E49",Customize:"\u81EA\u5B9A\u4E49","Custom Rule":"\u81EA\u5B9A\u4E49\u89C4\u5219","By Network":"\u6309\u7F51\u7EDC","Color Setting":"\u989C\u8272\u914D\u7F6E","Color Setting...":"\u989C\u8272\u8BBE\u7F6E...","Apply Setting":"\u5E94\u7528\u8BBE\u7F6E","Theme Setting...":"\u4E3B\u9898\u8BBE\u7F6E...",Draw:"\u7ED8\u56FE","The original theme only works for placing the new symbols.":"\u539F\u59CB\u4E3B\u9898\u4EC5\u5BF9\u65B0\u653E\u7F6E\u7684\u539F\u7406\u56FE\u5E93\u6709\u6548\u3002","Selection Highlight":"\u9009\u62E9\u9AD8\u4EAE","Net Label / Port":"\u7F51\u7EDC\u6807\u7B7E / \u7AEF\u53E3",Label:"\u6807\u7B7E",Highlight:"\u9AD8\u4EAE",Selection:"\u9009\u62E9","The number of pin columns doesn't match the symbol wizard format!":"\u5F15\u811A\u4FE1\u606F\u8868\u683C\u6BCF\u884C\u5217\u6570\u4E0D\u4E00\u81F4","The Part column needs to be filled with a Positive integer!":"\u90E8\u4EF6\u5217\u9700\u5FC5\u987B\u586B\u5199\u6B63\u6574\u6570\uFF01","The Order column needs to be filled with a Positive integer!":"\u5E8F\u53F7\u5217\u9700\u5FC5\u987B\u586B\u5199\u6B63\u6574\u6570\uFF01","The Part Tree abnormally!":"\u5DE6\u4FA7\u6811\u5F02\u5E38!","Please fill in the pin information!":"\u8BF7\u586B\u5199\u5F15\u811A\u4FE1\u606F!","Imported file is empty!":"\u5BFC\u5165\u7684\u6587\u4EF6\u4E3A\u7A7A!","Coordinate files are missing!":"\u5750\u6807\u6587\u4EF6\u7F3A\u5931!","No silk print file!":"\u65E0\u4E1D\u5370\u6587\u4EF6!","My Theme":"\u6211\u7684\u4E3B\u9898","My Theme Settings":"\u6211\u7684\u4E3B\u9898\u8BBE\u7F6E","Apply 'Custom Theme' On":"\u5728\u4EE5\u4E0B\u60C5\u5F62\u5E94\u7528 \u201C\u81EA\u5B9A\u4E49\u4E3B\u9898\u201D","Creating New Schematic":"\u521B\u5EFA\u65B0\u7684\u539F\u7406\u56FE","Opening Existed Schematic":"\u6253\u5F00\u5DF2\u5B58\u5728\u7684\u539F\u7406\u56FE","Please fill in all parameters!":"\u8BF7\u586B\u5199\u5168\u90E8\u53C2\u6570","Convert to Board Cutout":"\u8F6C\u4E3A\u69FD\u5B54","Prefix Position":"\u7F16\u53F7\u4F4D\u7F6E","Name Position":"\u540D\u79F0\u4F4D\u7F6E",Center:"\u4E2D\u95F4",Top:"\u4E0A\u8FB9",Bottom:"\u4E0B\u8FB9",Left:"\u5DE6\u8FB9",Right:"\u53F3\u8FB9",Split:"\u88C1\u526A","Does not support multiple objects to convert to Board Cutout at the same time":"\u4E0D\u652F\u6301\u591A\u5BF9\u8C61\u540C\u65F6\u8F6C\u4E3A\u69FD\u5B54","Does not support multiple objects to convert to pad at the same time":"\u4E0D\u652F\u6301\u591A\u5BF9\u8C61\u540C\u65F6\u8F6C\u4E3A\u710A\u76D8",Cutout:"\u6316\u7A7A","Avoid Slots":"\u907F\u5F00\u69FD\u5B54","Avoid Pads":"\u907F\u5F00\u710A\u76D8","Enter Expansion Distance":"\u8F93\u5165\u5916\u6269\u8DDD\u79BB","Expansion Distance":"\u5916\u6269\u8DDD\u79BB","Cutout operation complete. Please inspect the resulting geometry.":"\u907F\u5F00\u6210\u529F\uFF0C\u8BF7\u68C0\u67E5\u6700\u7EC8\u6548\u679C\u662F\u5426\u7B26\u5408\u9884\u671F\u3002","Cutout failed. Please check and try again.":"\u672A\u907F\u5F00\u4EFB\u4F55\u56FE\u5143\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u8BD5\u3002","Stiffener overlaps pads, board outlines, or slot holes. Perform a right-click cutout operation on the stiffener to avoid overlaps. Continue export?":"FPC\u8865\u5F3A\u4E0B\u65B9\u8986\u76D6\u4E86\u710A\u76D8\u3001\u677F\u6846\u6216\u69FD\u5B54\uFF0C\u5EFA\u8BAE\u5BF9\u8865\u5F3A\u8FDB\u884C\u53F3\u952E\u5E03\u5C14\u8FD0\u7B97\u907F\u5F00\u710A\u76D8\u3001\u677F\u6846\u6216\u69FD\u5B54\uFF0C\u662F\u5426\u7EE7\u7EED\u5BFC\u51FA\uFF1F","Continue Exporting":"\u7EE7\u7EED\u5BFC\u51FA","Go to cutout":"\u53BB\u6316\u7A7A","Convert to":"\u8F6C\u4E3A","Convert to Pad":"\u8F6C\u4E3A\u710A\u76D8","Merge pads":"\u5408\u5E76\u710A\u76D8","Convert to 3D Shell - Outline":"\u8F6C\u4E3A3D\u5916\u58F3-\u8FB9\u6846","Convert to 3D Shell - Slot Region":"\u8F6C\u4E3A3D\u5916\u58F3-\u6316\u69FD\u533A\u57DF","Convert to 3D Shell - Entity":"\u8F6C\u4E3A3D\u5916\u58F3-\u5B9E\u4F53","Convert to FPC Stiffener":"\u8F6C\u4E3A\u8865\u5F3A\u677F","Convert to Line":"\u8F6C\u4E3A\u7EBF\u6761","Convert to Board Outline":"\u8F6C\u4E3A\u677F\u6846","Convert to Constraint Region":"\u8F6C\u4E3A\u7EA6\u675F\u533A\u57DF","Convert to Copper Region":"\u8F6C\u4E3A\u94FA\u94DC\u533A\u57DF","Convert to Slot Region":"\u8F6C\u4E3A\u6316\u69FD\u533A\u57DF","Convert to Fill Region":"\u8F6C\u4E3A\u586B\u5145\u533A\u57DF","Convert to Prohibited Region":"\u8F6C\u4E3A\u7981\u6B62\u533A\u57DF",Substrate:"\u57FA\u677F","Duplicate names exist in the layer list":"\u56FE\u5C42\u5217\u8868\u5B58\u5728\u91CD\u590D\u540D\u5B57","Duplicate names exist in the physical stacking list":"\u7269\u7406\u5806\u53E0\u5217\u8868\u5B58\u5728\u91CD\u590D\u540D\u5B57","Layer Stacking":"\u5C42\u5806\u53E0","Pin Color":"\u5F15\u811A\u989C\u8272","Name Color":"\u540D\u79F0\u989C\u8272","Number Color":"\u7F16\u53F7\u989C\u8272",Dot:"\u5706\u5708","Join Net Class":"\u6DFB\u52A0\u5230\u7F51\u7EDC\u7C7B","Edit Net Class":"\u7F16\u8F91\u7F51\u7EDC\u7C7B","Join Differential Pair":"\u52A0\u5165\u5DEE\u5206\u5BF9","Join Equal Length Group":"\u6DFB\u52A0\u5230\u7B49\u957F\u7F51\u7EDC\u7EC4","Edit Equal Length Group":"\u7F16\u8F91\u5230\u7B49\u957F\u7F51\u7EDC\u7EC4","Remove From Net Class":"\u4ECE\u7F51\u7EDC\u7C7B\u4E2D\u5220\u9664","New Equal Length Group":"\u65B0\u5EFA\u7B49\u957F\u7F51\u7EDC\u7EC4","Remove From Equal Length Group":"\u4ECE\u7B49\u957F\u7F51\u7EDC\u7EC4\u4E2D\u5220\u9664","Rename Net Class":"\u91CD\u547D\u540D\u7F51\u7EDC\u7C7B","New Net Class":"\u65B0\u5EFA\u7F51\u7EDC\u7C7B","New Differential Pair":"\u65B0\u5EFA\u5DEE\u5206\u5BF9","Net Class Manager":"\u7F51\u7EDC\u7C7B\u7BA1\u7406\u5668","Equal Length Group Manager":"\u7B49\u957F\u7F51\u7EDC\u7EC4\u7BA1\u7406\u5668","Differential Pair Manager":"\u5DEE\u5206\u5BF9\u7BA1\u7406\u5668","Do you want to move out and join the current net class?":"\u662F\u5426\u79FB\u51FA\u5E76\u52A0\u5165\u5F53\u524D\u7F51\u7EDC\u7EC4\uFF1F","No net class found, please create before join!":"\u6CA1\u6709\u7F51\u7EDC\u7C7B\uFF0C\u8BF7\u65B0\u5EFA\u540E\u518D\u6DFB\u52A0\uFF01","No net class selected, please choose before join!":"\u6CA1\u6709\u9009\u62E9\u7F51\u7EDC\u7C7B\uFF0C\u8BF7\u9009\u62E9\u540E\u518D\u6DFB\u52A0\uFF01","No equal length group found, please create before join!":"\u6CA1\u6709\u7B49\u957F\u7F51\u7EDC\u7EC4\uFF0C\u8BF7\u65B0\u5EFA\u540E\u518D\u6DFB\u52A0\uFF01","No equal length group selected, please choose before join!":"\u6CA1\u6709\u9009\u62E9\u7B49\u957F\u7F51\u7EDC\u7EC4\uFF0C\u8BF7\u9009\u62E9\u540E\u518D\u6DFB\u52A0\uFF01","Sure to remove this net from its net class?":"\u786E\u8BA4\u8981\u4ECE\u5C06\u6B64\u7F51\u7EDC\u4ECE\u5176\u6240\u5728\u7F51\u7EDC\u7C7B\u4E2D\u79FB\u9664\u5417","Sure to remove this net from its equal length group?":"\u786E\u8BA4\u8981\u4ECE\u5C06\u6B64\u7F51\u7EDC\u4ECE\u5176\u6240\u5728\u7B49\u957F\u7F51\u7EDC\u7EC4\u4E2D\u79FB\u9664\u5417","Sure to delete net class?":"\u786E\u8BA4\u8981\u5220\u9664\u6B64\u7F51\u7EDC\u7C7B\u5417\uFF1F","Sure to delete differential-pair?":"\u786E\u8BA4\u8981\u5220\u9664\u6B64\u5DEE\u5206\u5BF9\u5417\uFF1F","Sure to delete differential pair(s) {0}?":"\u786E\u8BA4\u8981\u5220\u9664\u5DEE\u5206\u5BF9 {0} \u5417\uFF1F","Sure to delete equal length group?":"\u786E\u8BA4\u8981\u5220\u9664\u6B64\u7B49\u957F\u7F51\u7EDC\u7EC4\u5417\uFF1F","Sure to delete?":"\u786E\u8BA4\u5220\u9664\uFF1F","Has removed {0} from its net class":"\u5DF2\u5C06\u7F51\u7EDC {0} \u4ECE\u7F51\u7EDC\u7C7B\u4E2D\u5220\u9664","Has removed {0} from its equal length group":"\u5DF2\u5C06\u7F51\u7EDC {0} \u4ECE\u7B49\u957F\u7F51\u7EDC\u7EC4\u4E2D\u5220\u9664","Net class name cannot be empty!":"\u7F51\u7EDC\u7C7B\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A\uFF01","Equal length group name cannot be empty!":"\u7B49\u957F\u7F51\u7EDC\u7EC4\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A\uFF01","Positive network and negative network cannot be empty!":"\u6B63\u7F51\u7EDC\u548C\u8D1F\u7F51\u7EDC\u4E0D\u80FD\u4E3A\u7A7A\uFF01","You have not downloaded the JLCDFM client, whether to download the installation package immediately?":"\u4F60\u8FD8\u672A\u4E0B\u8F7D\u5609\u7ACB\u521B DFM \u5BA2\u6237\u7AEF\uFF0C\u662F\u5426\u5E0C\u671B\u7ACB\u5373\u4E0B\u8F7D\u5B83\uFF1F","After downloading and installing, click Check DFM function again to use it.":"\u4E0B\u8F7D\u5B89\u88C5\u5B8C\u6210\u540E\uFF0C\u91CD\u65B0\u70B9\u51FB\u68C0\u67E5 DFM \u529F\u80FD\u5373\u53EF\u4F7F\u7528\u3002","View tool introduction":"\u67E5\u770B\u5F15\u64CE\u4ECB\u7ECD","@@theme":{"Font Style":"\u5B57\u4F53\u98CE\u683C","Shape Style":"\u5F62\u72B6\u98CE\u683C",None:"\u65E0",Solid:"\u5B9E\u5FC3",Grid:"\u7F51\u683C","Horizontal Line":"\u6A2A\u7EBF","Vertical Line":"\u7AD6\u7EBF","Rhombic Grid":"\u83F1\u5F62\u7F51\u683C","Left Slash Line":"\u5DE6\u659C\u7EBF","Right Slash Line":"\u53F3\u659C\u7EBF"},"@@history-dlg":{Number:"\u7F16\u53F7",Editor:"\u7F16\u8F91\u8005"},"View File History":"\u5386\u53F2\u8BB0\u5F55","Save Time":"\u4FDD\u5B58\u65F6\u95F4","Invalid Format":"\u683C\u5F0F\u9519\u8BEF","Invalid Format of":"\u6570\u636E\u683C\u5F0F\u9519\u8BEF:","Round Pad / Via":"\u5706\u5F62\u710A\u76D8 / \u8FC7\u5B54","Rectangle / Oval / Polygon Pad":"\u77E9\u5F62 / \u692D\u5706 / \u591A\u8FB9\u5F62\u710A\u76D8","Applying Teardrops":"\u6B63\u5728\u5E94\u7528\u6CEA\u6EF4","Removing Teardrops":"\u6B63\u5728\u79FB\u9664\u6CEA\u6EF4",Waiting:"\u8BF7\u7B49\u5F85","Progressing...":"\u6267\u884C\u4E2D...","No schematic in the project!":"\u5DE5\u7A0B\u5185\u65E0\u539F\u7406\u56FE\uFF01","Move Forward":"\u524D\u79FB","Move Backward":"\u540E\u79FB","V-CUT":"V\u5272","Stamp Hole":"\u90AE\u7968\u5B54","V-CUT + Stamp Hole":"V\u5272 + \u90AE\u7968\u5B54","No Panelize":"\u4E0D\u62FC\u677F","V-CUT Direction":"V\u5272\u65B9\u5411","Stamp Hole Diameter":"\u90AE\u7968\u5B54\u76F4\u5F84","Stamp Hole Spacing":"\u90AE\u7968\u5B54\u95F4\u8DDD","Border and Marking":"\u8FB9\u754C\u4E0E\u6807\u8BB0","Number of Stamp Holes Per Group":"\u6BCF\u7EC4\u90AE\u7968\u5B54\u6570\u91CF","Border Height":"\u8FB9\u754C\u9AD8\u5EA6","Border Position":"\u8FB9\u754C\u4F4D\u7F6E","Create Positioning Holes":"\u521B\u5EFA\u5B9A\u4F4D\u5B54","Top and Bottom":"\u9876\u90E8\u548C\u5E95\u90E8","Left and Right":"\u5DE6\u8FB9\u548C\u53F3\u8FB9","Board Around":"\u677F\u5B50\u56DB\u5468","All Objects":"\u5168\u90E8\u5BF9\u8C61","Stamp Hole Group - Column":"\u90AE\u7968\u5B54\u7EC4\u6570 - \u5217","Stamp Hole Group - Row":"\u90AE\u7968\u5B54\u7EC4\u6570 - \u884C","Technology Side":"\u5DE5\u827A\u8FB9","Create Technology Side":"\u521B\u5EFA\u5DE5\u827A\u8FB9","Technology Side Height":"\u5DE5\u827A\u8FB9\u9AD8\u5EA6","Technology Side Position":"\u5DE5\u827A\u8FB9\u4F4D\u7F6E","Positioning Holes Diameter":"\u5B9A\u4F4D\u5B54\u76F4\u5F84","Create Fiducial Marks":"\u521B\u5EFAMark\u70B9","Fiducial Mark Diameter":"Mark\u70B9\u76F4\u5F84","Fiducial Mark Solder Mask Expansion":"Mark\u70B9\u963B\u710A\u6269\u5C55","Canvas Origin Position":"\u753B\u5E03\u539F\u70B9\u4F4D\u7F6E","Panelize Type":"\u62FC\u677F\u65B9\u5F0F","Only BoardOutline":"\u53EA\u62FC\u8FB9\u6846","Library canvas content upload failed!":"\u5E93\u753B\u5E03\u5185\u5BB9\u4E0A\u4F20\u5931\u8D25!",Unchanged:"\u4E0D\u53D8","Bottom left corner":"\u5DE6\u4E0B\u89D2","Keep current position":"\u4FDD\u6301\u5F53\u524D\u4F4D\u7F6E",Position:"\u4F4D\u7F6E","Tips: When only panelizing the board outline, the Gerber and Pick and Place file only contains single board data, the Gerber file has a small size, most PCB manufacturers support this option.":"\u63D0\u793A\uFF1A\u53EA\u62FC\u8FB9\u6846\u65F6\uFF0CGerber\u548C\u5750\u6807\u6587\u4EF6\u4EC5\u5305\u62EC\u5355\u677F\u6570\u636E\uFF0CGerber\u6587\u4EF6\u4F53\u79EF\u5C0F\uFF0C\u5927\u90E8\u5206\u677F\u5382\u652F\u6301\u8BE5\u62FC\u677F\u65B9\u5F0F\u3002","Tips: When panelizing the full objects, the Gerber and Pick and Place file contains all boards data, the Gerber file has a big size, some PCB manufacturers need this option.":"\u63D0\u793A\uFF1A\u62FC\u63A5\u5168\u90E8\u56FE\u5143\u65F6\uFF0CGerber\u548C\u5750\u6807\u6587\u4EF6\u5305\u542B\u5168\u90E8\u62FC\u677F\u6570\u636E\uFF0CGerber\u6587\u4EF6\u4F53\u79EF\u5927\uFF0C\u90E8\u5206\u677F\u5382\u9700\u8981\u8BE5\u65B9\u5F0F\u3002","Go to set the technology side":"\u53BB\u8BBE\u7F6E\u5DE5\u827A\u8FB9","Go to place an order while existing technology side":"\u5DF2\u6709\u5DE5\u827A\u8FB9\u53BB\u4E0B\u5355","If you need the service of JLCPCB SMT,":"\u5982\u679C\u60A8\u9700\u8981\u5609\u7ACB\u521BSMT\u7684\u670D\u52A1\uFF0C","Please check whether the PCB has a technology side first,":"\u8BF7\u60A8\u5148\u68C0\u67E5\u4E0BPCB\u662F\u5426\u6709\u5DE5\u827A\u8FB9\uFF0C","If there is no technology side in the PCB file,":"\u5982\u679CPCB\u6587\u4EF6\u4E2D\u6CA1\u6709\u5DE5\u827A\u8FB9\uFF0C","After you choose the SMT service, the color silkscreen seal will not print.":"\u5728\u60A8\u9009\u62E9SMT\u670D\u52A1\u540E\uFF0C\u5F69\u8272\u4E1D\u5370\u5C06\u4E0D\u4F1A\u6253\u5370\u3002","@@editPathPoints-dlg":{"Arc(R)":"\u5706\u5F27\u534A\u5F84",Type:"\u5706\u5F27\u7C7B\u578B",Action:"\u64CD\u4F5C","add before":"\u5728\u524D\u9762\u6DFB\u52A0\u4E00\u884C","add after":"\u5728\u540E\u9762\u6DFB\u52A0\u4E00\u884C",delete:"\u5220\u9664"},"@@editPolygonPoints-dlg":{Action:"\u64CD\u4F5C","add before":"\u5728\u524D\u9762\u6DFB\u52A0\u4E00\u884C","add after":"\u5728\u540E\u9762\u6DFB\u52A0\u4E00\u884C",delete:"\u5220\u9664"},"You have unconfirmed edit!":"\u4F60\u8FD8\u6CA1\u6709\u5B8C\u6210\u7F16\u8F91\uFF01","Invalid edit!":"\u4F60\u6240\u7F16\u8F91\u7684\u70B9\u4E0D\u7B26\u5408\u89C4\u5219\uFF01","PCB Information...":"PCB\u4FE1\u606F...","Signal Layers":"\u4FE1\u53F7\u5C42","None Signal Layers":"\u975E\u4FE1\u53F7\u5C42",Pads:"\u710A\u76D8","Surface Pads":"\u5355\u5C42\u710A\u76D8","Plated Through-hole Pads":"\u91D1\u5C5E\u5316\u710A\u76D8","None Plated Through-hole Pads":"\u975E\u91D1\u5C5E\u5316\u710A\u76D8",Holes:"\u5B54",Vias:"\u8FC7\u5B54","Length of Tracks":"\u5BFC\u7EBF\u957F\u5EA6","Copper Areas":"\u94FA\u94DC\u6570\u91CF","Table Stick":"\u8868\u8D34","Top Side Table Stick":"\u9876\u9762\u8868\u8D34","Bottom Side Table Stick":"\u5E95\u9762\u8868\u8D34","Metallized Hole":"\u91D1\u5C5E\u5316\u5B54","Nonmetallic Hole":"\u975E\u91D1\u5C5E\u5316\u5B54","Differential Pair Routing":"\u5DEE\u5206\u5BF9\u5E03\u7EBF","Differential Pair Rule Setting":"\u5DEE\u5206\u5BF9\u5E03\u7EBF\u89C4\u5219","Please input track width":"\u8BF7\u8F93\u5165\u7EBF\u5BBD","Please input clearance":"\u8BF7\u8F93\u5165\u95F4\u8DDD","Track Length Tunning...":"\u7EBF\u957F\u8C03\u6574...","Tracks with different net or non-track found in current targets.":"\u5F53\u524D\u76EE\u6807\u4E2D\u5B58\u5728\u4E0D\u540C\u7F51\u7EDC\u7684\u5BFC\u7EBF\u6216\u975E\u5BFC\u7EBF\u3002","Please select the signal tracks to be tunning.":"\u8BF7\u9009\u62E9\u8981\u8C03\u6574\u7684\u4FE1\u53F7\u5C42\u5BFC\u7EBF\u3002","The total length exceeds the Design Rule Check (DRC) constraint, continue ?":"\u603B\u957F\u5EA6\u8D85\u8FC7\u4E86\u8BBE\u8BA1\u89C4\u5219(DRC)\u9650\u5236\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","45\xB0 Angle":"45\xB0 \u89D2","90\xB0 Angle":"90\xB0\u89D2","DRC Track Length :":"DRC\u5BFC\u7EBF\u957F\u5EA6 :","Current Length :":"\u5F53\u524D\u957F\u5EA6 :","Additional Length :":"\u8981\u589E\u52A0\u7684\u957F\u5EA6 :","Target Length:":"\u76EE\u6807\u957F\u5EA6:","Current Length:":"\u5F53\u524D\u957F\u5EA6:","can not connect to the server":"\u65E0\u6CD5\u8FDE\u63A5\u670D\u52A1\u5668","Copper Area Manager...":"\u94FA\u94DC\u7BA1\u7406\u5668...","Copper Area Manager":"\u94FA\u94DC\u7BA1\u7406\u5668","Copper Manager...":"\u94FA\u94DC\u7BA1\u7406\u5668...","Copper Manager":"\u94FA\u94DC\u7BA1\u7406\u5668","Copper Manager Dialog":"\u94FA\u94DC\u7BA1\u7406\u5668",Order:"\u5E8F\u53F7","Copper Area do not allow self-intersection!":"\u94FA\u94DC\u4E0D\u5141\u8BB8\u81EA\u76F8\u4EA4\uFF01","No copper area!":"\u65E0\u94FA\u94DC\uFF01",Datasheet:"\u6570\u636E\u624B\u518C",Verification:"\u5BA1\u6838","Pad Size":"\u710A\u76D8\u5C3A\u5BF8",Correct:"\u6B63\u786E",Incorrect:"\u9519\u8BEF","Package polarity match the symbol":"\u5C01\u88C5\u6781\u6027\u5339\u914D\u539F\u7406\u56FE\u5E93",Submit:"\u63D0\u4EA4",Tip:"\u63D0\u793A","Please select one component":"\u8BF7\u9009\u62E9\u4E00\u4E2A\u5143\u4EF6","Please select one symbol":"\u8BF7\u9009\u62E9\u4E00\u4E2A\u7B26\u53F7","Please select one footprint":"\u8BF7\u9009\u62E9\u4E00\u4E2A\u5C01\u88C5","Please select one 3D model":"\u8BF7\u9009\u62E9\u4E00\u4E2A 3D \u6A21\u578B","Location X":"X \u5750\u6807","Location Y":"Y \u5750\u6807","Your current browser doesn't support EasyEDA editor. Please use the latest version of Chrome or Firefox, or try EasyEDA Client:":"\u5F53\u524D\u6D4F\u89C8\u5668\u7248\u672C\u4E0D\u652F\u6301\uFF0C\u8BF7\u4E0B\u8F7D\u4E0B\u9762\u8F6F\u4EF6\u7684\u6700\u65B0\u7248\u672C\u8FDB\u884C\u4F53\u9A8C\uFF1A","EasyEDA Client":"\u5609\u7ACB\u521BEDA\u5BA2\u6237\u7AEF",Chrome:"\u8C37\u6B4C\u6D4F\u89C8\u5668",FireFox:"\u706B\u72D0\u6D4F\u89C8\u5668","New Version":"\u521B\u5EFA\u7248\u672C","Switch Version":"\u5207\u6362\u7248\u672C","New Backup":"\u521B\u5EFA\u5907\u4EFD","Switch Backup":"\u5207\u6362\u5907\u4EFD","Version Control":"\u7248\u672C\u63A7\u5236","New{tip}Version":"\u65B0\u5EFA{tip}\u7248\u672C","New Branch":"\u521B\u5EFA\u5206\u652F","New Node":"\u521B\u5EFA\u8282\u70B9","Edit Branch":"\u7F16\u8F91\u5206\u652F","Edit Node":"\u7F16\u8F91\u8282\u70B9","Modified successfully!":"\u4FEE\u6539\u6210\u529F\uFF01","Modified failed!":"\u4FEE\u6539\u5931\u8D25\uFF01","Create successful!Open the new branch?":"\u521B\u5EFA\u6210\u529F\uFF01\u662F\u5426\u6253\u5F00\u65B0\u5206\u652F\uFF1F","Create successful!Open the new node?":"\u521B\u5EFA\u6210\u529F\uFF01\u662F\u5426\u6253\u5F00\u65B0\u5206\u652F\uFF1F","You have created {num} version branches, reaching the creation limit. If you need to create more branches, please delete deprecated branches and clean up":"\u60A8\u5DF2\u521B\u5EFA {num} \u4E2A\u7248\u672C\u5206\u652F\uFF0C\u5DF2\u8FBE\u5230\u521B\u5EFA\u4E0A\u9650\u3002\u5982\u9700\u521B\u5EFA\u66F4\u591A\u5206\u652F\uFF0C\u8BF7\u5220\u9664\u5F03\u7528\u5206\u652F\u5E76\u6E05\u7406","the Recycle Bin.":"\u56DE\u6536\u7AD9\u3002","Open the new branch?":"\u662F\u5426\u6253\u5F00\u5206\u652F\uFF1F","Open the new node?":"\u662F\u5426\u6253\u5F00\u8282\u70B9\uFF1F","Please choose how to open the branch!":"\u8BF7\u9009\u62E9\u5206\u652F\u6253\u5F00\u65B9\u5F0F!","Please choose how to open the node!":"\u8BF7\u9009\u62E9\u8282\u70B9\u6253\u5F00\u65B9\u5F0F!","The currently opened version type is node. Editing is not supported.":"\u5F53\u524D\u6253\u5F00\u7684\u7248\u672C\u7C7B\u578B\u4E3A\u8282\u70B9\uFF0C\u4E0D\u652F\u6301\u7F16\u8F91\u3002","Open in Current Window":"\u5728\u5F53\u524D\u7A97\u53E3\u6253\u5F00","Please enter a name with at least two characters.":"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E24\u4E2A\u5B57\u7684\u540D\u79F0\u3002","The input name length must not exceed 30 characters.":"\u8F93\u5165\u540D\u79F0\u957F\u5EA6\u4E0D\u5F97\u8D85\u8FC730\u4E2A\u5B57\u3002","{name} must be between 2 and 30 characters":"{name}\u957F\u5EA6\u9650\u52362-30\u4F4D","{name} can only include letters, numbers, Chinese characters, and dots, and -, and _":"{name}\u9650\u5236\u5B57\u6BCD+\u6570\u5B57+\u4E2D\u6587+\u70B9+-+_","Set As Default Editing Branch":"\u8BBE\u4E3A\u9ED8\u8BA4\u7F16\u8F91\u5206\u652F","Default Editing Version":"\u9ED8\u8BA4\u7F16\u8F91\u7248\u672C","Creation failed, branch or node has the same name":"\u521B\u5EFA\u5931\u8D25\uFF0C\u5206\u652F\u6216\u8005\u8282\u70B9\u91CD\u540D","Node and branch creation failed!":"\u8282\u70B9\u548C\u5206\u652F\u521B\u5EFA\u5931\u8D25!","Branch creation failed!":"\u5206\u652F\u521B\u5EFA\u5931\u8D25!","Node creation failed!":"\u8282\u70B9\u521B\u5EFA\u5931\u8D25!","Branch name already exists!":"\u5206\u652F\u540D\u79F0\u5DF2\u5B58\u5728!","Node name already exists!":"\u8282\u70B9\u540D\u79F0\u5DF2\u5B58\u5728!","You are trying to delete a version, so be careful!":"\u4F60\u5728\u5C1D\u8BD5\u5220\u9664\u4EE5\u4E0B\u7248\u672C\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C!","Edit Success!":"\u7F16\u8F91\u6210\u529F!","Edit Failed!":"\u7F16\u8F91\u5931\u8D25!",Current:"\u5F53\u524D","default{branch}":"\u9ED8\u8BA4\u7F16\u8F91\u5206\u652F{branch}",node:"\u8282\u70B9",branch:"\u5206\u652F","Node Name":"\u8282\u70B9\u540D\u79F0","Branch Name":"\u5206\u652F\u540D\u79F0","Branch Description":"\u5206\u652F\u63CF\u8FF0","Version Tree":"\u7248\u672C\u6811","Version Name":"\u7248\u672C\u540D\u79F0",Create:"\u521B\u5EFA","Last Update":"\u6700\u8FD1\u66F4\u65B0",Member:"\u6210\u5458",Editor:"\u7F16\u8F91\u5668","Current Version:":"\u5F53\u524D\u7248\u672C\uFF1A","Select a version to switch":"\u8BF7\u9009\u62E9\u4E00\u4E2A\u7248\u672C\u5207\u6362","PCB 3D Lib":"PCB 3D\u5E93","Create New Version":"\u521B\u5EFA\u65B0\u7248\u672C","Create new version success!":"\u65B0\u7248\u672C\u521B\u5EFA\u6210\u529F\uFF01","Version Management":"\u7248\u672C\u7BA1\u7406","Backup Management":"\u5907\u4EFD\u7BA1\u7406","Team Management":"\u56E2\u961F\u7BA1\u7406",Members:"\u6210\u5458",Fans:"\u7C89\u4E1D",Assignment:"\u8F6C\u8BA9",Dissolve:"\u89E3\u6563","Switch success!":"\u5207\u6362\u6210\u529F\uFF01","Please close current version's documents first!":"\u8BF7\u5148\u5173\u95ED\u5F53\u524D\u7248\u672C\u7684\u6240\u6709\u6587\u6863\uFF01",Creator:"\u521B\u5EFA\u8005","Create Time":"\u521B\u5EFA\u65F6\u95F4","Network Error! Please check your network and try again!":"\u7F51\u7EDC\u9519\u8BEF\uFF01\u8BF7\u68C0\u67E5\u4F60\u7684\u7F51\u7EDC\u5E76\u518D\u6B21\u5C1D\u8BD5\uFF01",sCreate:"\u521B\u5EFA","3D Outline":"3D\u4F53\u5F62\u7EBF","Tips: To create a branch, you need to first create the version node":"\u63D0\u793A\uFF1A\u5728\u5206\u652F\u521B\u5EFA\u5206\u652F\u9700\u8981\u5148\u521B\u5EFA\u8282\u70B9","EasyEDA doesn't support to create the slot hole via the board outline, please use the following methods:":"EasyEDA\u4E0D\u652F\u6301\u8FB9\u6846\u6316\u69FD\uFF0C\u6316\u69FD\u65B9\u6CD5\u8BF7\u53C2\u8003\u4E0B\u65B9\uFF1A","Use the fill region and set its type as Board Cutout":"\u76F4\u63A5\u4F7F\u7528\u5B9E\u5FC3\u586B\u5145\u7684\u69FD\u5B54",'Select a Track/Arc, right-click to use the "Convert to Board Cutout"':"\u9009\u4E2D\u5BFC\u7EBF\u6216\u5706\u5F27\uFF0C\u53F3\u952E\u9009\u62E9\u201C\u8F6C\u4E3A\u69FD\u5B54\u201D",'Select all the closed Tracks/Arcs, right-click to use the "Convert to Board Cutout"':"\u5168\u9009\u95ED\u5408\u7684\u5BFC\u7EBF\u6216\u5706\u5F27\u6846\uFF0C\u53F3\u952E\u9009\u62E9\u201C\u8F6C\u4E3A\u69FD\u5B54\u201D","The more information please refer at":"\u66F4\u591A\u4FE1\u606F\u8BF7\u67E5\u770B",'Save "{0}" success!':'\u4FDD\u5B58 "{0}" \u6210\u529F\uFF01','Save "{0}" failed!':'\u4FDD\u5B58 "{0}" \u5931\u8D25\uFF01',"Invalid Size":"\u975E\u6CD5\u5C3A\u5BF8","Invalid Path! {0}":"\u975E\u6CD5\u8DEF\u5F84\uFF01","Duplicate library name: {0}":"\u5E93\u540D\u79F0\u5B58\u5728\u91CD\u590D: {0}",Procesing:"\u5904\u7406","NetFlag GND":"\u6807\u8BC6\u7B26GND","NetFlag VCC":"\u6807\u8BC6\u7B26VCC","NetFlag +5v":"\u6807\u8BC6\u7B26+5v","No Useful Data!":"\u65E0\u53EF\u7528\u6570\u636E\uFF01","SVG Preview":"SVG\u9884\u89C8","Create Grid Path":"\u751F\u6210\u7F51\u683C\u8DEF\u5F84","Please Input Name":"\u8BF7\u8F93\u5165\u540D\u79F0","Building Copper Area":"\u6B63\u5728\u94FA\u94DC",IN:"\u8F93\u5165",OUT:"\u8F93\u51FA",BI:"\u53CC\u5411","Sawtooth Wave":"\u952F\u9F7F\u6CE2",Pulses:"\u8109\u51B2","Impacted Function":"\u54CD\u5E94\u51FD\u6570","Positive Pulse":"\u6B63\u8109\u51B2","Negative Pulse":"\u8D1F\u8109\u51B2","Short Symbol":"\u77ED\u63A5\u7B26","Short Flag":"\u77ED\u63A5\u6807\u8BC6",Processing:"\u5904\u7406\u4E2D","Opening File":"\u6B63\u5728\u6253\u5F00\u6587\u4EF6","Update from Libraries":"\u4ECE\u5E93\u91CC\u66F4\u65B0","The PCBLib(s) of the server have been updated, would you like to update the footprint(s) of the PCB? After updated, the footprint's position maybe will be changed.":"\u670D\u52A1\u5668\u7684PCB\u5E93\u5DF2\u7ECF\u66F4\u65B0\uFF0C\u662F\u5426\u9700\u8981\u66F4\u65B0PCB\u4E0A\u7684\u5C01\u88C5\uFF1F\u66F4\u65B0\u540E\u5C01\u88C5\u4F4D\u7F6E\u53EF\u80FD\u53D1\u751F\u6539\u53D8\u3002","3D File:":"3D\u6587\u4EF6","3D File...":"3D\u6587\u4EF6...","Export 3D File":"\u5BFC\u51FA3D\u6587\u4EF6","3D Shell File...":"3D\u5916\u58F3\u6587\u4EF6...","Export 3D Shell File":"\u5BFC\u51FA3D\u5916\u58F3\u6587\u4EF6","The file is too large to export.":"\u6587\u4EF6\u8FC7\u5927\uFF0C\u65E0\u6CD5\u5BFC\u51FA\u3002","Order 3D Shell":"3D\u5916\u58F3\u4E0B\u5355","Order 3D Shell at JLC3DP...":"\u5609\u7ACB\u521B3D\u5916\u58F3\u4E0B\u5355...","Order 3D Shell at JLC3DP":"\u5609\u7ACB\u521B3D\u5916\u58F3\u4E0B\u5355",'Export failed, doesn\'t found 3D shell objects, please draw them first at "Place" menu':"\u5BFC\u51FA\u5931\u8D25\uFF0C\u672A\u53D1\u73B03D\u5916\u58F3\u56FE\u5143\uFF0C\u8BF7\u5148\u5728\u653E\u7F6E\u83DC\u5355\u7ED8\u5236","Order failed! Please try again later or contact with user support":"\u4E0B\u5355\u5931\u8D25\uFF01\u8BF7\u7A0D\u540E\u518D\u8BD5\u6216\u8054\u7CFB\u6280\u672F\u652F\u6301",'Order data generate successfully, please click "OK" button and continue.':"\u4E0B\u5355\u6587\u4EF6\u751F\u6210\u6210\u529F\uFF0C\u8BF7\u70B9\u51FB\u201C\u786E\u8BA4\u201D\u6309\u94AE\u7EE7\u7EED\u3002","Model List":"\u6A21\u578B\u5217\u8868","Are you sure merge net {0} and net {1}?":"\u4F60\u786E\u5B9A\u5408\u5E76\u7F51\u7EDC {0} \u548C\u7F51\u7EDC {1} \u5417\uFF1F","Package Display":"\u663E\u793A\u5C01\u88C5","Display Package While Placing Component":"\u653E\u7F6E\u5143\u4EF6\u663E\u793A\u5C01\u88C5","Annotate Prefix Automatically After Placing Component":"\u653E\u7F6E\u5143\u4EF6\u81EA\u52A8\u7F16\u53F7","Program Error, Please Contact Technical Support!":"\u7A0B\u5E8F\u9519\u8BEF\uFF0C\u8BF7\u8054\u7CFB\u6280\u672F\u652F\u6301\u3002","Search Engine":"\u641C\u7D22\u5F15\u64CE","Keyword to Filter":"\u8F93\u5165\u5173\u952E\u5B57\u8FC7\u6EE4","Normal Mode":"\u7CBE\u7B80\u6A21\u5F0F","Expand Mode":"\u653E\u5927\u6A21\u5F0F","3D Model Manager":"3D\u6A21\u578B\u7BA1\u7406\u5668","3D Model Preview":"3D\u6A21\u578B\u9884\u89C8","JLCPCB SMT Part Selection Tool...":"\u5609\u7ACB\u521BSMT\u9009\u578B\u5DE5\u5177...","Soldering Assistance Tool...":"\u710A\u63A5\u8F85\u52A9\u5DE5\u5177...","PCB Comparison...":"PCB\u5BF9\u6BD4...","Comparison Mistake":"\u5BF9\u6BD4\u8BEF\u5DEE","Comparison Size":"\u5BF9\u6BD4\u5C3A\u5BF8",Comparison:"\u5BF9\u6BD4","Please open a project with two or more PCB documents":"\u8BF7\u6253\u5F00\u5305\u542B\u4E24\u4E2A\u53CA\u4EE5\u4E0APCB\u6587\u6863\u7684\u5DE5\u7A0B","Please select different PCB documents for comparison":"\u8BF7\u9009\u62E9\u4E0D\u540C\u7684PCB\u6587\u6863\u8FDB\u884C\u5BF9\u6BD4","Start comparing":"\u5F00\u59CB\u5BF9\u6BD4","Document data abnormality":"\u6587\u6863\u6570\u636E\u5F02\u5E38","Document decoding exception":"\u6587\u6863\u89E3\u7801\u5F02\u5E38","Comparison failed, program exception":"\u5BF9\u6BD4\u5931\u8D25\uFF0C\u7A0B\u5E8F\u5F02\u5E38\u3002","Comparison failed, engineering data is abnormal.":"\u5BF9\u6BD4\u5931\u8D25, \u5DE5\u7A0B\u6570\u636E\u5F02\u5E38\u3002","Abnormal data appears during the comparison process, please check carefully:":"\u6BD4\u5BF9\u8FC7\u7A0B\u4E2D\u51FA\u73B0\u5F02\u5E38\u6570\u636E\uFF0C\u8BF7\u4ED4\u7EC6\u68C0\u67E5\uFF1A","Comparison results of {pcb1} and {pcb2}:":"{pcb1} \u548C {pcb2} \u5BF9\u6BD4\u7ED3\u679C\uFF1A","No difference.":"\u65E0\u5DEE\u5F02\u3002","{pcb1} is the same as {pcb2}!":"{pcb1} \u548C {pcb2} \u65E0\u5DEE\u5F02\uFF01","There are some differences.":"\u5B58\u5728\u5DEE\u5F02\u3002","[Object Overview]":"[\u5BF9\u8C61\u603B\u89C8]","[Document1]:":"[\u6587\u68631]\uFF1A","[Document2]:":"[\u6587\u68632]\uFF1A","[Compare Results]":"[\u5BF9\u6BD4\u7ED3\u679C]","[Same]:":"[\u76F8\u540C]\uFF1A","[Modify]:":"[\u53D8\u66F4]\uFF1A","[Less]:":"[\u7F3A\u5931]\uFF1A","[More]:":"[\u591A\u4F59]\uFF1A","[Other]:":"[\u5176\u4ED6]\uFF1A","[Abnormal Data]:":"[\u5F02\u5E38\u6570\u636E]\uFF1A","No abnormality.":"\u65E0\u3002","There are abnormal data, please check manually.":"\u5B58\u5728\u5F02\u5E38\u6570\u636E\uFF0C\u8BF7\u624B\u52A8\u68C0\u67E5\u3002","Uncompared objects:":"\u672A\u5BF9\u6BD4\u5BF9\u8C61\uFF1A","Duplicate Record Object:":"\u91CD\u590D\u8BB0\u5F55\u5BF9\u8C61\uFF1A","For details, please refer to:":"\u7EC6\u8282\u8BF7\u53C2\u8003\uFF1A","Comparison Result Tab":"\u5BF9\u6BD4\u7ED3\u679C\u9762\u677F","Clear Mark":"\u6E05\u7A7A\u6807\u8BB0",ComponentPad:"\u5143\u4EF6\u710A\u76D8","Difference Type":"\u5DEE\u5F02\u7C7B\u578B","Object Type":"\u5BF9\u8C61\u7C7B\u578B","Clear Differences":"\u6E05\u9664\u5DEE\u5F02","Comparison Result":"\u5BF9\u6BD4\u7ED3\u679C","SCH DRC":"\u539F\u7406\u56FEDRC","Please select the PCB you want to compare!":"\u8BF7\u9009\u62E9\u9700\u8981\u5BF9\u6BD4\u7684PCB\uFF01","Select Local File":"\u9009\u62E9\u672C\u5730\u6587\u4EF6","File upload failed and project data was not read.":"\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25\uFF0C\u672A\u8BFB\u53D6\u5230\u5DE5\u7A0B\u6570\u636E\u3002","Failed to switch projects. Project data was not read.":"\u5207\u6362\u5DE5\u7A0B\u5931\u8D25\uFF0C\u672A\u8BFB\u53D6\u5230\u5DE5\u7A0B\u6570\u636E\u3002","@@pcb-comparison":{Same:"\u76F8\u540C",Less:"\u7F3A\u5931",More:"\u591A\u4F59",Modify:"\u53D8\u66F4"},"Project data acquisition failed!":"\u5DE5\u7A0B\u6570\u636E\u83B7\u53D6\u5931\u8D25\uFF01","Library data acquisition failed!":"\u5E93\u6570\u636E\u83B7\u53D6\u5931\u8D25\uFF01","Interactive BOM":"\u4EA4\u4E92\u5F0FBOM","Connect Pads":"\u8FDE\u63A5\u710A\u76D8","Please select a Pad":"\u8BF7\u9009\u62E9\u710A\u76D8","3DModel":"3D\u6A21\u578B",Adjustment:"\u6821\u51C6","View Larger Image":"\u70B9\u51FB\u67E5\u770B\u5927\u56FE","Previous Image":"\u4E0A\u4E00\u7EC4\u56FE\u7247","Next Image":"\u4E0B\u4E00\u7EC4\u56FE\u7247","Notice: For reference only, please refer to the real product":"\u6E29\u99A8\u63D0\u9192\uFF1A\u56FE\u7247\u4EC5\u4F9B\u53C2\u8003\uFF0C\u5546\u54C1\u4EE5\u5B9E\u7269\u4E3A\u51C6","It's under designing, please wait.":"\u6B63\u5728\u8BBE\u8BA1\u4E2D\uFF0C\u656C\u8BF7\u671F\u5F85\u3002","The width of track/arc/circle can not less than 0.051mm/2mil/0.002inch!":"\u5BFC\u7EBF/\u5706\u5F27/\u5706\u7684\u7EBF\u5BBD\u4E0D\u80FD\u5C0F\u4E8E0.051mm/2mil/0.0002inch\uFF01","clone success !":"\u514B\u9686\u6210\u529F\uFF01","Will jump to the Lichuang open source hardware platform (OSHWHub.com) to improve the information and share. Whether to continue?":"\u5C06\u8DF3\u8F6C\u5230\u7ACB\u521B\u5F00\u6E90\u786C\u4EF6\u5E73\u53F0(OSHWHub.com)\u5B8C\u5584\u4FE1\u606F\u540E\u8FDB\u884C\u5206\u4EAB\u3002\u662F\u5426\u7EE7\u7EED\uFF1F","The added object contains layers that are not currently enabled on the PCB. Do you want to enable the corresponding layers immediately?":"\u6DFB\u52A0\u7684\u5BF9\u8C61\u4E2D\u5B58\u5728\u5F53\u524DPCB\u672A\u5F00\u542F\u7684\u5C42\uFF0C\u662F\u5426\u7ACB\u5373\u5F00\u542F\u5BF9\u5E94\u5C42\uFF1A","Since an inner layer named {oldName} already exists, the new inner layer will be named {newName}":"\u5DF2\u5B58\u5728\u5185\u5C42\u540D\u79F0{oldName}\uFF0C\u56E0\u6B64\u5C06\u65B0\u589E\u7684\u5185\u5C42\u547D\u540D\u4E3A\uFF1A{newName}","Since an custom layer named {oldName} already exists, the new custom layer will be named {newName}":"\u5DF2\u5B58\u5728\u81EA\u5B9A\u4E49\u5C42\u540D\u79F0{oldName}\uFF0C\u56E0\u6B64\u5C06\u65B0\u589E\u7684\u81EA\u5B9A\u4E49\u5C42\u547D\u540D\u4E3A\uFF1A{newName}","If it is not enable, the object of the corresponding layer will not be pasted":"\u4E0D\u5F00\u542F\u5C06\u4E0D\u7C98\u8D34\u5BF9\u5E94\u5C42\u7684\u5BF9\u8C61","@@grid":{None:"\u65E0\u586B\u5145"},"This component is verified":"\u5143\u4EF6\u5DF2\u7ECF\u9A8C\u8BC1","This component is unmounted":"\u5143\u4EF6\u4E0D\u4E0A\u4EF6","Find Previous(P)":"\u4E0A\u4E00\u4E2A (P)","Find Next(N)":"\u4E0B\u4E00\u4E2A (N)","Object not found":"\u6CA1\u6709\u627E\u5230\u76F8\u5E94\u5143\u4EF6","Offset X":"\u504F\u79FBX","Offset Y":"\u504F\u79FBY",Offset:"\u504F\u79FB","Absolute Offset":"\u7EDD\u5BF9\u504F\u79FB","Relative Offset":"\u76F8\u5BF9\u504F\u79FB","Absolute Offset...":"\u7EDD\u5BF9\u504F\u79FB...","Relative Offset...":"\u76F8\u5BF9\u504F\u79FB...","Reference Point X":"\u53C2\u8003\u70B9X","Reference Point Y":"\u53C2\u8003\u70B9Y","Rebuild Plane":"\u91CD\u5EFA\u5185\u7535\u5C42","PlaneZone Properties":"\u5185\u7535\u5C42\u5C5E\u6027",PlaneZone:"\u5185\u7535\u5C42","Change to a plane layer is not allowed during track routing.":"\u5728\u5E03\u7EBF\u65F6\u4E0D\u5141\u8BB8\u5C06\u5BFC\u7EBF\u5207\u6362\u5230\u5185\u7535\u5C42\u3002","Fill Type":"\u586B\u5145\u7C7B\u578B","@@PlaneZone":{Solid:"\u586B\u5145"},"Fill Region do not allow self-intersection!":"\u5B9E\u5FC3\u586B\u5145\u4E0D\u5141\u8BB8\u81EA\u76F8\u4EA4\uFF01","The prefix or name or text too far away from the footprint, if you don't want it to show up please make it hidden.":"\u7F16\u53F7\u6216\u540D\u79F0\u6216\u6587\u672C\u8DDD\u79BB\u5C01\u88C5\u592A\u8FDC\uFF0C\u5982\u679C\u4E0D\u60F3\u8BA9\u5B83\u663E\u793A\u8BF7\u9690\u85CF\u5B83\u3002","The prefixs are not allowed to repeat!":"\u7F16\u53F7\u4E0D\u5141\u8BB8\u91CD\u590D\uFF01","Save failed! The origin of the canvas is not in the graphics! Whether to set the origin automatically?":"\u4FDD\u5B58\u5931\u8D25\uFF01\u753B\u5E03\u539F\u70B9\u6CA1\u6709\u5728\u56FE\u5F62\u5185\u90E8\uFF01\u662F\u5426\u81EA\u52A8\u8BBE\u7F6E\u539F\u70B9\uFF1F","The origin of the canvas has been set in the graphics now, you can save again.":"\u753B\u5E03\u539F\u70B9\u5DF2\u8BBE\u5728\u56FE\u5F62\u5185\u90E8\uFF0C\u4F60\u53EF\u4EE5\u518D\u6B21\u4FDD\u5B58","Open Project Directory":"\u6253\u5F00\u5DE5\u7A0B\u76EE\u5F55","{0} items updated":"{0} \u4E2A\u5143\u4EF6\u5DF2\u66F4\u65B0","The current file {0} has an updated version. Do you want to overwrite it? If you want to open the latest version, please close the current file and reopen it.":"\u5F53\u524D\u6587\u4EF6 {0} \u5B58\u5728\u66F4\u65B0\u7684\u7248\u672C\uFF0C\u662F\u5426\u8FDB\u884C\u8986\u76D6\uFF1F\u5982\u9700\u6253\u5F00\u6700\u65B0\u7248\u672C\uFF0C\u8BF7\u5173\u95ED\u5F53\u524D\u6587\u4EF6\u518D\u91CD\u65B0\u6253\u5F00\u3002","Yes, Overwrite It":"\u662F\uFF0C\u8986\u76D6","No, Keep It":"\u5426\uFF0C\u4FDD\u7559","Download Client":"\u4E0B\u8F7D\u5BA2\u6237\u7AEF","Search tutorial\u3001open source projects etc.":"\u641C\u7D22\u6559\u7A0B\u3001\u5F00\u6E90\u5DE5\u7A0B\u7B49","Go to LCSC and search for":"\u53BB\u7ACB\u521B\u5546\u57CE\u641C\u7D22","Go to LCSC":"\u53BB\u7ACB\u521B\u5546\u57CE","Hide Ratline Layer and Keep the Component Prefix When Paste Objects":"\u5F53\u7C98\u8D34\u5143\u7D20\u65F6\u9690\u85CF\u98DE\u7EBF\u5C42\u5E76\u4FDD\u6301\u5143\u4EF6\u7F16\u53F7\u4E0D\u53D8","Please enter at least 2 characters!":"\u8BF7\u8F93\u5165\u81F3\u5C112\u4E2A\u5B57\u7B26\uFF01","Please enter at least 1 characters!":"\u8BF7\u8F93\u5165\u81F3\u5C111\u4E2A\u5B57\u7B26\uFF01","Cannot enter more than 128 characters!":"\u8F93\u5165\u4E0D\u80FD\u8D85\u8FC7 128 \u4E2A\u5B57\u7B26\uFF01","Cannot enter more than 36 characters!":"\u8F93\u5165\u4E0D\u80FD\u8D85\u8FC7 36 \u4E2A\u5B57\u7B26\uFF01","Cannot enter more than 30 characters!":"\u8F93\u5165\u4E0D\u80FD\u8D85\u8FC7 30 \u4E2A\u5B57\u7B26\uFF01","View Datasheet":"\u67E5\u770B\u89C4\u683C\u4E66","View Datasheet...":"\u67E5\u770B\u6570\u636E\u624B\u518C...","View Product Link...":"\u67E5\u770B\u4EA7\u54C1\u94FE\u63A5...","View Product Detail...":"\u67E5\u770B\u4EA7\u54C1\u8BE6\u60C5...","The corresponding package or network could not be found in the currently open PCB document":"\u5F53\u524D\u6253\u5F00\u7684PCB\u6587\u6863\u4E2D\u627E\u4E0D\u5230\u76F8\u5E94\u7684\u5C01\u88C5\u6216\u7F51\u7EDC","delete fail":"\u5220\u9664\u5931\u8D25","initialization failed":"\u521D\u59CB\u5316\u5931\u8D25","@@crashRecovery":{Libraries:"\u5E93\u6587\u4EF6"},"Canvas origin anomaly!":"\u753B\u5E03\u539F\u70B9\u5F02\u5E38","Component's Name":"\u5143\u4EF6\u540D\u79F0","Component's Prefix":"\u5143\u4EF6\u7F16\u53F7","Component's Package":"\u5143\u4EF6\u5C01\u88C5","Filter Component":"\u7B5B\u9009\u5668\u4EF6","@@findlib":{Clear:"\u6E05\u9664\u7B5B\u9009","Apply Filters":"\u5E94\u7528\u7B5B\u9009","Price Filter":"\u7B5B\u9009\u4EF7\u683C",Result:"\u7B5B\u9009\u7ED3\u679C",Place:"\u653E\u7F6E\u5728\u753B\u5E03",Prev:"\u4E0A\u4E00\u9875",Next:"\u4E0B\u4E00\u9875","Total {count} Count":"\u5171{count}\u6761\u8BB0\u5F55",About:"\u7EA6",Items:"\u6761\u7ED3\u679C"},"Layers and Objects":"\u5C42\u4E0E\u5143\u7D20",All:"\u5168\u90E8",Clear:"\u6E05\u7A7A",Items:"\u6761","Failed to get the blockSymbol dataStr!":"\u83B7\u53D6\u590D\u7528\u56FE\u5757\u5185\u5BB9\u5931\u8D25!","Failed to get historical project data!":"\u83B7\u53D6\u5386\u53F2\u5DE5\u7A0B\u6570\u636E\u5931\u8D25!","Add custom":"\u65B0\u589E\u81EA\u5B9A\u4E49","Also update track's net (Only applies to circumstance under which net name changes and no component/wire is added or removed)":"\u540C\u65F6\u66F4\u65B0\u5BFC\u7EBF\u7684\u7F51\u7EDC(\u53EA\u9002\u7528\u7F51\u7EDC\u540D\u53D8\u66F4\u7684\u573A\u666F\uFF0C\u4E0D\u9002\u7528\u4E8E\u5143\u4EF6\u6216\u5BFC\u7EBF\u589E\u5220\u7684\u573A\u666F)","System Library":"\u7CFB\u7EDF\u5E93","Contribute Library":"\u8D21\u732E\u5E93",Connections:"\u8FDE\u63A5","Attempted:":"\u5168\u90E8:","Completed:":"\u5DF2\u5B8C\u6210:","Failed:":"\u5931\u8D25:","Total Vias:":"\u8FC7\u5B54\u6570:","Can only change the device and attributes":"\u53EA\u80FD\u8FDB\u884C\u5668\u4EF6\u548C\u5C5E\u6027\u7684\u53D8\u66F4","Please confirm moving option":"\u8BF7\u786E\u8BA4\u79FB\u52A8\u65B9\u5F0F","Only this pad":"\u4EC5\u79FB\u52A8\u710A\u76D8","For this component":"\u79FB\u52A8\u6574\u4E2A\u5143\u4EF6","View Owner":"\u67E5\u770B\u6240\u6709\u8005","View Detail":"\u67E5\u770B\u8BE6\u60C5","Library:":"\u5E93\uFF1A",Role:"\u89D2\u8272","Owner:":"\u5F52\u5C5E\uFF1A",Observer:"\u89C2\u5BDF\u8005",Manager:"\u7BA1\u7406\u8005",Developer:"\u5F00\u53D1\u8005","Place Vias":"\u653E\u7F6E\u8FC7\u5B54","Placing Vias":"\u6B63\u5728\u653E\u7F6E\u8FC7\u5B54","Multiple Vias":"\u6279\u91CF\u653E\u7F6E\u8FC7\u5B54","Row Height":"\u884C\u9AD8","Column Width":"\u5217\u5BBD","Multiple vias have been placed, do you want to rebuild the copper area?":"\u6279\u91CF\u653E\u7F6E\u8FC7\u5B54\u5DF2\u7ECF\u5B8C\u6210\u3002\u662F\u5426\u91CD\u5EFA\u94FA\u94DC\uFF1F","Save fail! Please try again!":"\u4FDD\u5B58\u5931\u8D25\uFF01\u8BF7\u91CD\u8BD5\uFF01","Add favorite successfully!":"\u6536\u85CF\u6210\u529F\uFF01","Remove favorite successully!":"\u53D6\u6D88\u6536\u85CF\u6210\u529F\uFF01","Remove favorite failed!":"\u53D6\u6D88\u6536\u85CF\u5931\u8D25\uFF01","Whether if remove favorite?":"\u662F\u5426\u53D6\u6D88\u6536\u85CF?","Split by ';' for multi tags":"\u7528\u5206\u53F7\u5206\u9694\u591A\u4E2A\u6807\u7B7E","This size is the determined size!":"\u8FD9\u4E2A\u5C3A\u5BF8\u662F\u5DF2\u7ECF\u786E\u5B9A\u7684\u5C3A\u5BF8\uFF01","The associated pad has been locked":"\u76F8\u5173\u8054\u7684\u710A\u76D8\u5DF2\u88AB\u9501\u5B9A","Split by space or , for multi tags":"\u7528\u7A7A\u683C\u6216\u9017\u53F7\u5206\u9694\u591A\u4E2A\u6807\u7B7E","Rotation X":"X\u8F74\u65CB\u8F6C","Rotation Y":"Y\u8F74\u65CB\u8F6C","Rotation Z":"Z\u8F74\u65CB\u8F6C","Some fields are filled invalid data":"\u67D0\u4E9B\u5B57\u6BB5\u586B\u5145\u4E86\u65E0\u6548\u6570\u636E","start time should be earlier than stop time":"\u8D77\u59CB\u65F6\u95F4\u5E94\u5C0F\u4E8E\u7ED3\u675F\u65F6\u95F4","Number of points should be less than 100 in octave variation":"octave\u7C7B\u578B\u53D8\u5316\u4E2D\u7684\u70B9\u6570\u5E94\u5C0F\u4E8E100","Start frequency should be less than stop frequency. The suffix meg stands for Mega,m stands for milli":"\u8D77\u59CB\u9891\u7387\u5E94\u5C0F\u4E8E\u505C\u6B62\u9891\u7387\u3002\u540E\u7F00meg\u4EE3\u8868Mrga\uFF0Cm\u4EE3\u8868milli","Get historical records fail!":"\u83B7\u53D6\u5386\u53F2\u8BB0\u5F55\u5931\u8D25\uFF01","Historical record has been successfully restored!":"\u5386\u53F2\u8BB0\u5F55\u8FD8\u539F\u6210\u529F\uFF01","Failed to restore historical record!":"\u5386\u53F2\u8BB0\u5F55\u8FD8\u539F\u5931\u8D25\uFF01","This part has 0 stock and may not be available for purchase at LCSC.com":"\u8FD9\u4E2A\u5143\u4EF6\u7684\u5E93\u5B58\u4E3A 0\uFF0C\u53EF\u80FD\u65E0\u6CD5\u5728\u7ACB\u521B\u5546\u57CE\u8D2D\u4E70\u3002","This 3D model didn't create the outlines successfully, please import it again or contact with us.":"\u8FD9\u4E2A 3D\u6A21\u578B\u7684\u5916\u5F62\u6570\u636E\u6CA1\u6709\u521B\u5EFA\u6210\u529F\uFF0C\u8BF7\u518D\u6B21\u5BFC\u5165\u6216\u8005\u8054\u7CFB\u6211\u4EEC\u3002","There is No Tag!":"\u6CA1\u6709\u5206\u7C7B\uFF01","Assign successful!":"\u5206\u914D\u6210\u529F\uFF01","package pad number is not correct, please check!":"\u5C01\u88C5\u710A\u76D8\u7F16\u53F7\u5BF9\u4E0D\u4E0A\uFF0C\u8BF7\u68C0\u67E5\uFF01","Update Attribute":"\u66F4\u65B0\u5C5E\u6027","Please fill in at least 5 words.":"\u8BF7\u81F3\u5C11\u586B\u5199 5 \u4E2A\u5B57\u3002","Mouse hovering over the track to highlight the entire network":"\u9F20\u6807\u60AC\u6D6E\u5728\u5BFC\u7EBF\u4E0A\u9AD8\u4EAE\u6574\u4E2A\u7F51\u7EDC","Net Highlighting on Track Hover":"\u9F20\u6807\u5BFC\u7EBF\u65F6\u60AC\u6D6E\u9AD8\u4EAE\u7F51\u7EDC",'When circle set as "Yes", the Pin length must more than 6':"\u5F53\u5706\u5708\u8BBE\u7F6E\u4E3A\u201C\u662F\u201D\u65F6\uFF0C\u5F15\u811A\u957F\u5EA6\u9700\u8981\u5927\u4E8E 6","No permission to create branches":"\u6CA1\u6709\u521B\u5EFA\u5206\u652F\u7684\u6743\u9650","There is no permission to upload the project history":"\u6CA1\u6709\u4E0A\u4F20\u5DE5\u7A0B\u65E5\u5FD7\u7684\u6743\u9650","Logout failed! Please try again!":"\u9000\u51FA\u767B\u5F55\u5931\u8D25\uFF01\u8BF7\u518D\u6B21\u5C1D\u8BD5\uFF01","@@logoutDialog":{Logout:"\u9000\u51FA\u767B\u5F55","Click to Preview 3D":"\u70B9\u51FB\u9884\u89C83D"},"@@findlibTag":{All:"\u5168\u90E8"},"@@exportPickPlaceDialog":{"Other options":"\u5176\u4ED6\u9009\u9879","Mirror bottom components' coordinate(JLCPCB doesn't need)":"\u955C\u50CF\u5E95\u5C42\u5143\u4EF6\u5750\u6807(\u5609\u7ACB\u521B\u4E0D\u9700\u8981)","Mirror coordinate Y":"\u955C\u50CF Y \u5750\u6807","Mirror coordinate X":"\u955C\u50CF X \u5750\u6807","Include panelized components' coordinates(JLCPCB doesn't need)":"\u5305\u542B\u62FC\u677F\u540E\u7684\u5143\u4EF6\u5750\u6807(\u5609\u7ACB\u521B\u4E0D\u9700\u8981)","Include panelized fiducial marks' coordinates(JLCPCB doesn't need)":"\u5305\u542B\u62FC\u677F\u540E\u7684Mark\u70B9\u5750\u6807(\u5609\u7ACB\u521B\u4E0D\u9700\u8981)","Mid X":"\u4E2D\u5FC3X","Mid Y":"\u4E2D\u5FC3Y","Ref X":"\u539F\u70B9X","Ref Y":"\u539F\u70B9Y","Pad X":"1\u53F7\u710A\u76D8X","Pad Y":"1\u53F7\u710A\u76D8Y",Layer:"\u5C42",Rotation:"\u65CB\u8F6C\u89D2\u5EA6",SMD:"\u8D34\u7247\u5668\u4EF6",Pins:"\u5F15\u811A\u6570"},"Work Space":"\u5DE5\u4F5C\u533A","Personal Workspace":"\u4E2A\u4EBA\u5DE5\u4F5C\u533A","Work Space - {name}":"\u5DE5\u4F5C\u533A - {name}","Work Space - Personal":"\u5DE5\u4F5C\u533A - \u4E2A\u4EBA",Cloning:"\u514B\u9686\u4E2D","@@projectCloneDialog":{"Work Space":"\u5DE5\u4F5C\u73AF\u5883"},"Project Owner":"\u5DE5\u7A0B\u5F52\u5C5E","Clone Project":"\u514B\u9686\u5DE5\u7A0B",Homepage:"\u4E2A\u4EBA\u4E3B\u9875","Apply for Education Edition":"\u7533\u8BF7\u6559\u80B2\u7248","Load Organization failed":"\u52A0\u8F7D\u7EC4\u7EC7\u5931\u8D25",Joined:"\u6211\u53C2\u4E0E\u7684",Participated:"\u6211\u53C2\u4E0E\u7684",Favorite:"\u6536\u85CF","This operation will unfavorite this project, do you want to continue?":"\u6B64\u64CD\u4F5C\u5C06\u53D6\u6D88\u6536\u85CF\u8BE5\u5DE5\u7A0B\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","View Homepage":"\u67E5\u770B\u4E3B\u9875","3-7 days":"3-7 \u5929","Close Tab":"\u5173\u95ED\u6807\u7B7E","Close Other Tabs":"\u5173\u95ED\u5176\u4ED6\u6807\u7B7E","Close All Tabs":"\u5173\u95ED\u6240\u6709\u6807\u7B7E","Open Footprint Manager":"\u6253\u5F00\u5C01\u88C5\u7BA1\u7406\u5668","Draw Center Arc":"\u7ED8\u5236\u4E2D\u5FC3\u5706\u5F27","Layer Manager":"\u56FE\u5C42\u7BA1\u7406\u5668","Switch to the Previous Layer":"\u5207\u6362\u81F3\u4E0A\u4E00\u4E2A\u5C42","Switch to the Next Layer":"\u5207\u6362\u81F3\u4E0B\u4E00\u4E2A\u5C42","Display Real-Time Net Length and Length Tolerance":"\u663E\u793A\u5B9E\u65F6\u7EBF\u957F\u548C\u957F\u5EA6\u8BEF\u5DEE","Cursor Snap to Component's Origin or Pad Center While Dragging Component":"\u79FB\u52A8\u5143\u4EF6\u65F6\u5149\u6807\u5438\u9644\u5230\u5143\u4EF6\u539F\u70B9\u6216\u710A\u76D8\u4E2D\u5FC3","PCB Type":"PCB\u7C7B\u578B","Common Material":"\u666E\u901A\u677F\u6750","FPC Flexible":"FPC\u8F6F\u677F","Switch board type failed, found some stiffener objects, please delete them first.":"\u5F53\u524DPCB\u4E2D\u6709FPC\u8865\u5F3A\u677F\u56FE\u5143, \u65E0\u6CD5\u5207\u6362, \u8BF7\u5148\u5220\u9664\u3002","JLCPCB doesn't support to fabricate more than four layers FPC flexiable board.":"\u5609\u7ACB\u521B\u6682\u4E0D\u652F\u6301\u751F\u4EA7\u56DB\u5C42\u4EE5\u4E0A\u7684FPC\u8F6F\u677F\u3002","FPC stiffener(only for JLCPCB ordering) is the material used to increase the strength of a specific area. it will open the relevant layer for you in the layer manager. Tip: JLCPCB doesn't support to fabricate more than four layers FPC flexiable board.":"FPC\u8865\u5F3A\u677F(\u4EC5\u7528\u4E8E\u5609\u7ACB\u521B\u4E0B\u5355\uFF09\u662F\u7528\u4E8E\u589E\u52A0\u7279\u5B9A\u533A\u57DF\u5F3A\u5EA6\u6240\u4F7F\u7528\u7684\u6750\u6599\uFF0C\u5C06\u4F1A\u4E3A\u60A8\u5728\u56FE\u5C42\u7BA1\u7406\u5668\u4E2D\u6253\u5F00\u76F8\u5173\u7684\u56FE\u5C42\u3002\u63D0\u793A\uFF1A\u5609\u7ACB\u521B\u6682\u4E0D\u652F\u6301\u751F\u4EA7\u56DB\u5C42\u4EE5\u4E0A\u7684FPC\u8F6F\u677F\u3002","Manufacturing Properties":"\u5236\u9020\u5C5E\u6027","@@FPCStiffenerAttr":{Material:"\u6750\u8D28",Model:"\u578B\u53F7",Thickness:"\u539A\u5EA6"},Polyimide:"PI","Stainless Steel":"\u94A2\u7247",Tape:"\u53CC\u9762\u80F6","EMI Shielding Film":"\u7535\u78C1\u5C4F\u853D\u819C","Thickness Calculation Tool":"\u539A\u5EA6\u8BA1\u7B97\u5DE5\u5177",Undefined:"\u672A\u5B9A\u4E49",Input:"\u8F93\u5165","@@saveAs":{Power:"\u7535\u6E90"},"Unexpected error while converting. Perhaps unsupported file type or program bug.":"\u8F6C\u6362\u65F6\u51FA\u73B0\u610F\u5916\u9519\u8BEF\u3002\u53EF\u80FD\u662F\u4E0D\u652F\u6301\u7684\u6587\u4EF6\u7C7B\u578B\u6216\u7A0B\u5E8F\u9519\u8BEF","@@selectFilter":{Symbol:"\u7B26\u53F7","Wire and Bus":"\u5BFC\u7EBF\u548C\u603B\u7EBF",Pin:"\u5F15\u811A",Name:"\u540D\u79F0",Operation:"\u64CD\u4F5C",Property:"\u5C5E\u6027",Text:"\u6587\u672C",Arc:"\u5706\u5F27",Rectangle:"\u77E9\u5F62",Circle:"\u5706",Line:"\u7EBF\u6761",Table:"\u8868\u683C",Sheet:"\u56FE\u7EB8",Drawing:"\u56FE\u7EB8",Polyline:"\u6298\u7EBF",Image:"\u56FE\u7247"},"Table Properties":"\u8868\u683C\u5C5E\u6027",Columns:"\u5217\u6570","Cell Attributes":"\u5355\u5143\u683C\u5C5E\u6027","Mouse determines cell size":"\u9F20\u6807\u51B3\u5B9A\u5355\u5143\u683C\u5C3A\u5BF8","Row Sapcing":"\u884C\u95F4\u8DDD","Please enter a value not less than {value}!":"\u8BF7\u8F93\u5165\u4E0D\u5C0F\u4E8E{value}\u7684\u503C!","Add To":"\u6DFB\u52A0","Add Row Above":"\u4E0A\u65B9\u6DFB\u52A0\u884C","Add Row Below":"\u4E0B\u65B9\u6DFB\u52A0\u884C","Add Column Left":"\u5DE6\u4FA7\u6DFB\u52A0\u5217","Add Column Right":"\u53F3\u4FA7\u6DFB\u52A0\u5217","Merge Cell":"\u5408\u5E76\u5355\u5143\u683C","Split Cell":"\u62C6\u5206\u5355\u5143\u683C","Clear Away":"\u6E05\u9664","Clear All":"\u6E05\u9664\u5168\u90E8","Clear Format":"\u6E05\u9664\u683C\u5F0F","Clear Content":"\u6E05\u9664\u5185\u5BB9","Delete Row":"\u5220\u9664\u884C","Delete Column":"\u5220\u9664\u5217","Select Row":"\u9009\u4E2D\u884C","Select Column":"\u9009\u4E2D\u5217",Border:"\u8FB9\u6846","Full Border":"\u5168\u8FB9\u6846","Outer Border":"\u5916\u8FB9\u6846","Inner Border":"\u5185\u8FB9\u6846","No Border":"\u65E0\u8FB9\u6846","Left Border":"\u5DE6\u8FB9\u6846","Right Border":"\u53F3\u8FB9\u6846","Top Border":"\u4E0A\u8FB9\u6846","Bottom Border":"\u4E0B\u8FB9\u6846","Horizontal Align":"\u6C34\u5E73\u5BF9\u9F50","Vertical Align":"\u5782\u76F4\u5BF9\u9F50","The merge will preserve only the properties of the upper-left cell. Are you sure to merge?":"\u5408\u5E76\u5C06\u53EA\u4FDD\u7559\u6700\u5DE6\u4E0A\u89D2\u5355\u5143\u683C\u7684\u5C5E\u6027\uFF0C\u786E\u8BA4\u5408\u5E76\u5417?","Local Cached Proejcts":"\u672C\u5730\u7F13\u5B58\u5DE5\u7A0B","The number of local cached of up to 10 projects,":"\u672C\u5730\u7F13\u5B58\u7684\u5DE5\u7A0B\u6570\u91CF\u6700\u591A10\u4E2A\uFF0C","please delete the local cached projects for a long time do not use (that will not delete server project).":"\u8BF7\u5220\u9664\u957F\u65F6\u95F4\u4E0D\u4F7F\u7528\u7684\u672C\u5730\u7F13\u5B58\u5DE5\u7A0B(\u4E0D\u4F1A\u5220\u9664\u670D\u52A1\u5668\u7684\u5DE5\u7A0B)\u3002",'Click the "Cancel" button will remove your an oldest cached project.':"\u70B9\u51FB\u201C\u53D6\u6D88\u201D\u6309\u94AE\u5C06\u4E3A\u4F60\u5220\u9664\u4E00\u4E2A\u6700\u65E9\u7684\u7F13\u5B58\u5DE5\u7A0B\u3002","Delete all local cache projects?":"\u662F\u5426\u5220\u9664\u5168\u90E8\u672C\u5730\u7F13\u5B58\u5DE5\u7A0B?","Clear Record":"\u6E05\u9664\u5386\u53F2\u8BB0\u5F55","The drawing you are looking for does not exist\uFF01":"\u60A8\u67E5\u627E\u7684\u56FE\u7EB8\u4E0D\u5B58\u5728!","The project you are looking for does not exist!":"\u60A8\u67E5\u627E\u7684\u5DE5\u7A0B\u4E0D\u5B58\u5728!","The open schematic page does not exist!":"\u6253\u5F00\u7684\u539F\u7406\u56FE\u9875\u4E0D\u5B58\u5728!","Please login first!":"\u8BF7\u5148\u767B\u5F55!","filename:":"\u6587\u4EF6\u540D:",Filename:"\u6587\u4EF6\u540D","setpath:":"\u8DEF\u5F84\u8BBE\u7F6E:","choose path...":"\u9009\u62E9\u8DEF\u5F84...","Generating files...":"\u6B63\u5728\u751F\u6210\u6587\u4EF6...","No cache project!":"\u6682\u65E0\u7F13\u5B58\u7684\u5DE5\u7A0B!","You didn't logged\xA0yet, you can't do the operations such as save as etc. , please login first":"\u4F60\u672A\u767B\u5F55\uFF0C\u5C06\u65E0\u6CD5\u8FDB\u884C\u53E6\u5B58\u4E3A\u7B49\u64CD\u4F5C\uFF0C\u8BF7\u5148\u767B\u5F55","Only one project is allowed to be imported at a time!":"\u4E00\u6B21\u53EA\u5141\u8BB8\u5BFC\u5165\u4E00\u4E2A\u5DE5\u7A0B\uFF01","Please open a project schematic page label before importing!":"\u8BF7\u5148\u6253\u5F00\u4E00\u4E2A\u5DE5\u7A0B\u7684\u539F\u7406\u56FE\u9875\u6807\u7B7E\u518D\u5BFC\u5165\uFF01","Create board failed!":"\u521B\u5EFA\u677F\u5B50\u5931\u8D25!","Import project success !Open the imported project?":"\u5DE5\u7A0B\u5DF2\u5BFC\u5165\u6210\u529F\uFF01\u662F\u5426\u6253\u5F00\u5BFC\u5165\u7684\u5DE5\u7A0B\uFF1F","The imported ZIP does not conform to the format standard!":"\u5BFC\u5165\u7684zip\u683C\u5F0F\u4E0D\u7B26\u5408\u6807\u51C6!",'The project lost the configuration file "<project.json>"\uFF01':'\u5DE5\u7A0B\u7F3A\u5C11\u914D\u7F6E\u6587\u4EF6"<project.json>"!',"Import failed! Incorrect file format!":"\u5BFC\u5165\u5931\u8D25\uFF01\u6587\u4EF6\u683C\u5F0F\u9519\u8BEF!","Import failed! No valid component information was extracted.":"\u5BFC\u5165\u5931\u8D25\uFF01\u672A\u63D0\u53D6\u5230\u6709\u6548\u7684\u5143\u4EF6\u4FE1\u606F\u3002","To extract an invalid component, please check:":"\u63D0\u53D6\u5230\u65E0\u6548\u5143\u4EF6, \u8BF7\u68C0\u67E5\uFF1A","File size exceeds 300M!":"\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC7300M!","Incorrect file format!":"\u6587\u4EF6\u683C\u5F0F\u9519\u8BEF!","The imported file format incorrect or doesn't match current type, please re-select and import.":"\u9009\u62E9\u5BFC\u5165\u7684\u6587\u4EF6\u683C\u5F0F\u4E0D\u6B63\u786E\u6216\u4E0D\u5339\u914D\u5F53\u524D\u7C7B\u578B\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u5BFC\u5165\u3002","The selected file format does not conform to the correct project structure, please re-select import!":"\u9009\u62E9\u5BFC\u5165\u7684\u6587\u4EF6\u683C\u5F0F\u4E0D\u7B26\u5408\u6B63\u786E\u7684\u5DE5\u7A0B\u7ED3\u6784\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u5BFC\u5165!","Please select {fileExt} file.":"\u8BF7\u9009\u62E9{fileExt}\u683C\u5F0F\u6587\u4EF6\u3002","Please select {fileExts} or {fileExt} files.":"\u8BF7\u9009\u62E9{fileExts}\u6216{fileExt}\u683C\u5F0F\u6587\u4EF6\u3002","Recover to original document":"\u6062\u590D\u81F3\u539F\u6587\u6863","Recover as new document":"\u6062\u590D\u4E3A\u65B0\u6587\u6863","File\xA0Format":"\u6587\u4EF6\u683C\u5F0F","V2 format":"V2\u683C\u5F0F","V3 format":"V3\u683C\u5F0F","Drawing Type":"\u56FE\u7EB8\u7C7B\u578B","Drawing Size":"\u56FE\u7EB8\u5C3A\u5BF8","Drawing Direction":"\u56FE\u7EB8\u65B9\u5411","Drawing Attribute":"\u56FE\u7EB8\u5C5E\u6027","No Drawing":"\u65E0\u56FE\u7EB8","Edit Drawing":"\u7F16\u8F91\u56FE\u7EB8","The set drawing has been deleted! Please reset":"\u8BBE\u7F6E\u7684\u56FE\u7EB8\u5DF2\u88AB\u5220\u9664!\u8BF7\u91CD\u65B0\u8BBE\u7F6E","Object has been exists and cannot be grouped.":"\u5BF9\u8C61\u5DF2\u5B58\u5728\u5206\u7EC4\u4FE1\u606F\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5206\u7EC4\u3002","Schematic Editor":"\u539F\u7406\u56FE\u7F16\u8F91\u5668","Symbol Editor":"\u7B26\u53F7\u7F16\u8F91\u5668",Auxiliary:"\u8F85\u52A9","Horizontal Auxiliary Line":"\u6C34\u5E73\u8F85\u52A9\u7EBF","Vertical Auxiliary Line":"\u5782\u76F4\u8F85\u52A9\u7EBF","Cross Auxiliary Line":"\u5341\u5B57\u8F85\u52A9\u7EBF","Auxiliary Line":"\u8F85\u52A9\u7EBF","Auxiliary Point":"\u8F85\u52A9\u70B9","Auxiliary - Horizontal Auxiliary Line":"\u8F85\u52A9 - \u6C34\u5E73\u8F85\u52A9\u7EBF","Auxiliary - Vertical Auxiliary Line":"\u8F85\u52A9 - \u5782\u76F4\u8F85\u52A9\u7EBF","Auxiliary - Cross Auxiliary Line":"\u8F85\u52A9 - \u5341\u5B57\u8F85\u52A9\u7EBF","Auxiliary - Auxiliary Point":"\u8F85\u52A9 - \u8F85\u52A9\u70B9","Build BOM":"\u751F\u6210BOM","Build Netlist":"\u751F\u6210\u7F51\u8868","BOM Number":"BOM\u7F16\u53F7",Cooperation:"\u534F\u4F5C","Collaborative mode":"\u534F\u4F5C\u6A21\u5F0F","CBB Ref Designator Annotate":"\u5C42\u6B21\u56FE\u4F4D\u53F7\u5206\u914D","Hierarchical Graph":"\u5C42\u6B21\u56FE","Some documents import fail while import project ! Please import it again. Detail :":"\u5BFC\u5165\u5DE5\u7A0B\u65F6\uFF0C\u90E8\u5206\u6587\u6863\u5BFC\u5165\u51FA\u73B0\u5931\u8D25\uFF01\u8BF7\u91CD\u65B0\u5BFC\u5165\u3002\u8BE6\u60C5\uFF1A","Save project, part of the document save failure!Please save it again.Details:":"\u53E6\u5B58\u5DE5\u7A0B\u65F6\uFF0C\u90E8\u5206\u6587\u6863\u53E6\u5B58\u51FA\u73B0\u5931\u8D25\uFF01\u8BF7\u91CD\u65B0\u53E6\u5B58\u3002\u8BE6\u60C5:","Please enter a file name":"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D","The library name is called null":"\u5E93\u540D\u79F0\u4E3A\u7A7A","Create Library failed!":"\u521B\u5EFA\u5143\u4EF6\u5E93\u5931\u8D25\uFF01","System library not detected, please place system library file in":"\u6CA1\u6709\u68C0\u6D4B\u5230\u7CFB\u7EDF\u5E93\uFF0C\u8BF7\u5C06\u7CFB\u7EDF\u5E93\u6587\u4EF6\u653E\u5230","No system library detected, please download the latest version of the client to install":"\u6CA1\u6709\u68C0\u6D4B\u5230\u7CFB\u7EDF\u5E93\uFF0C\u8BF7\u4E0B\u8F7D\u6700\u65B0\u7248\u5BA2\u6237\u7AEF\u5B89\u88C5","To download":"\u524D\u5F80\u4E0B\u8F7D","The network is down and data cannot be obtained":"\u7F51\u7EDC\u5DF2\u4E2D\u65AD\uFF0C\u65E0\u6CD5\u83B7\u53D6\u6570\u636E","Unable to get footprint data!":"\u65E0\u6CD5\u83B7\u53D6\u5C01\u88C5\u6570\u636E!","Files have been deleted or moved":"\u5DF2\u5220\u9664\u6216\u79FB\u52A8\u6587\u4EF6","Please enter a BOM number":"\u8BF7\u8F93\u5165BOM\u7F16\u53F7","Please select the exported object":"\u8BF7\u9009\u62E9\u5BFC\u51FA\u7684\u9879","Schematic :":"\u539F\u7406\u56FE\uFF1A","Page :":"\u56FE\u9875\uFF1A","Block Symbol :":"\u6A21\u5757\u7B26\u53F7\uFF1A","Symbol :":"\u7B26\u53F7\uFF1A","Import Info:":"\u5BFC\u5165\u4FE1\u606F\uFF1A","The property corresponding to the blockSymbol you are looking for does not exist!":"\u4F60\u67E5\u627E\u7684\u590D\u7528\u56FE\u5E93\u5BF9\u5E94\u7684\u5C5E\u6027\u4E0D\u5B58\u5728!","Please select the project first!":"\u8BF7\u5148\u9009\u62E9\u5DE5\u7A0B\uFF01","Note: the earliest engineering data has been cleared for you!":"\u6CE8\u610F\uFF1A\u5DF2\u4E3A\u60A8\u6E05\u9664\u6700\u65E9\u7684\u5DE5\u7A0B\u6570\u636E\uFF01","Note: Custom font files for the standard PCB will be replaced with the system default font, which may cause text shape and position offsets":"\u6CE8\u610F\uFF1A\u6807\u51C6\u7248PCB\u7684\u81EA\u5B9A\u4E49\u5B57\u4F53\u6587\u4EF6\u5C06\u88AB\u66FF\u6362\u4E3A\u7CFB\u7EDF\u9ED8\u8BA4\u5B57\u4F53\uFF0C\u53EF\u80FD\u5BFC\u81F4\u6587\u672C\u5F62\u72B6\u548C\u4F4D\u7F6E\u504F\u79FB","Please select the project to delete first!":"\u8BF7\u5148\u9009\u62E9\u8981\u5220\u9664\u7684\u5DE5\u7A0B\uFF01","Failed to update existing project data!":"\u66F4\u65B0\u5DF2\u5B58\u5728\u7684\u5DE5\u7A0B\u6570\u636E\u5931\u8D25\uFF01","Current Drawing:":"\u5F53\u524D\u56FE\u7EB8:","Current frame":"\u5F53\u524D\u56FE\u7EB8","Drawing Template(For New Project)":"\u56FE\u7EB8\u6A21\u677F(\u65B0\u5EFA\u5DE5\u7A0B)","Application drawing of the new schematic diagram page of the current project":"\u5F53\u524D\u5DE5\u7A0B\u65B0\u5EFA\u539F\u7406\u56FE\u56FE\u9875\u5E94\u7528\u56FE\u7EB8","Current project drawing template":"\u5F53\u524D\u5DE5\u7A0B\u56FE\u7EB8\u6A21\u677F","Preset drawing (only for new schematic)":"\u9884\u8BBE\u56FE\u7EB8(\u4EC5\u5E94\u7528\u4E8E\u65B0\u5EFA\u539F\u7406\u56FE)","Preset Drawing":"\u9884\u8BBE\u56FE\u7EB8","The preset drawing is only applicable to the new schematic page. If you need to modify the existing drawing, you can select the drawing page and modify it in the properties on the right.":"\u9884\u8BBE\u56FE\u7EB8\u4EC5\u5E94\u7528\u4E8E\u65B0\u5EFA\u539F\u7406\u56FE\u9875\uFF0C\u5982\u9700\u4FEE\u6539\u5DF2\u6709\u56FE\u7EB8\uFF0C\u53EF\u4EE5\u9009\u4E2D\u56FE\u9875\u540E\uFF0C\u5728\u53F3\u4FA7\u5C5E\u6027\u4E2D\u4FEE\u6539\u3002","Preset Drawing Properties":"\u9884\u8BBE\u56FE\u7EB8\u5C5E\u6027","End of import":"\u5BFC\u5165\u7ED3\u675F","The associated custom footprint could not be found for the following components and have been reverted to footprint template:":"\u4EE5\u4E0B\u5143\u4EF6\u65E0\u6CD5\u627E\u5230\u5173\u8054\u7684\u81EA\u5B9A\u4E49\u5C01\u88C5\uFF0C\u5DF2\u8FD8\u539F\u4E3A\u5C01\u88C5\u6A21\u677F:","Project Drawing":"\u5DE5\u7A0B\u56FE\u7EB8","Default Drawing":"\u9ED8\u8BA4\u56FE\u7EB8","Private Drawing":"\u4E91\u7AEF\u56FE\u7EB8","Drawing Templates":"\u56FE\u7EB8\u6A21\u677F","Set as Current Drawing":"\u8BBE\u4E3A\u5F53\u524D\u56FE\u7EB8","Do not use drawings":"\u4E0D\u4F7F\u7528\u56FE\u7EB8","Current Drawing Properties":"\u5F53\u524D\u56FE\u7EB8\u5C5E\u6027","Default Drawing A3":"\u9ED8\u8BA4\u56FE\u7EB8A3","Default Drawing A4":"\u9ED8\u8BA4\u56FE\u7EB8A4","There will clear canvas when change symbol type, do you want to contiune?":"\u5207\u6362\u7B26\u53F7\u7C7B\u578B\u5C06\u4F1A\u6E05\u7A7A\u753B\u5E03\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","Update custom drawing list":"\u66F4\u65B0\u81EA\u5B9A\u4E49\u56FE\u7EB8\u5217\u8868","Apply Current Drawing...":"\u5E94\u7528\u5F53\u524D\u56FE\u7EB8...","Drawing...":"\u56FE\u7EB8...","No differential pair, do you want to create a differential pair?":"\u4E0D\u5B58\u5728\u5DEE\u5206\u5BF9\uFF0C\u662F\u5426\u65B0\u5EFA\u5DEE\u5206\u5BF9\uFF1F",Printing:"\u6253\u5370","Horizontal Equidistant Distribution":"\u6C34\u5E73\u7B49\u8DDD\u5206\u5E03","Vertical Equidistant Distribution":"\u5782\u76F4\u7B49\u8DDD\u5206\u5E03","Previous page":"\u4E0A\u4E00\u9875","Next page / New Page":"\u4E0B\u4E00\u9875/\u65B0\u5EFA\u56FE\u9875","Select Mode":"\u9009\u62E9\u6A21\u5F0F","Select Box":"\u9009\u62E9\u6846","Draw Line":"\u7ED8\u5236\u7EBF","Search Range":"\u67E5\u627E\u8303\u56F4","Current Schematic":"\u5F53\u524D\u539F\u7406\u56FE","Please enter the name of the device first":"\u8BF7\u5148\u8F93\u5165\u5668\u4EF6\u540D\u79F0","Current Schematic(Not Including the Reuse Block)":"\u5F53\u524D\u539F\u7406\u56FE(\u4E0D\u5305\u542B\u590D\u7528\u6A21\u5757)","Current Schematic(Include the Reuse Block)":"\u5F53\u524D\u539F\u7406\u56FE(\u5305\u542B\u590D\u7528\u6A21\u5757)","Current Page":"\u5F53\u524D\u56FE\u9875","Current Page Selected Items":"\u5F53\u524D\u9875\u9009\u4E2D\u9879","Conditions:":"\u6761\u4EF6\uFF1A",Pins:"\u5F15\u811A","Delete Property":"\u5220\u9664\u5C5E\u6027","Delete Attribution":"\u5220\u9664\u5C5E\u6027","Add Instance Value":"\u6DFB\u52A0\u5B9E\u4F8B\u503C","Delete Instance Value":"\u5220\u9664\u5B9E\u4F8B\u503C","Delete All Instance Value":"\u8986\u76D6\u5B9E\u4F8B\u503C","All instance value deleted":"\u5B9E\u4F8B\u503C\u5DF2\u8986\u76D6","The overwritten instance value:":"\u88AB\u8986\u76D6\u7684\u5B9E\u4F8B\u503C\uFF1A","Duplicate Tag":"\u91CD\u590D\u4F4D\u53F7",Calibration:"\u6821\u9A8C","No Calibration":"\u4E0D\u6821\u9A8C","Starting Tag":"\u8D77\u59CB\u4F4D\u53F7","Rule Description":"\u89C4\u5219\u63CF\u8FF0","Current Active Module":"\u5F53\u524D\u6D3B\u52A8\u6A21\u5757","CBB Ref Designator Annotate,":"\u5C42\u6B21\u56FE\u4F4D\u53F7\u5206\u914D,","The assigned bit numbers are reserved and skipped; for example;":"\u5DF2\u5206\u914D\u7684\u4F4D\u53F7\u8FDB\u884C\u4FDD\u7559\u5E76\u8DF3\u8FC7\uFF1B","when starting to convert 853,":"\u4F8B\u5982\u8D77\u59CB\u503C\u4E3A853\uFF0C","the step-by-step map is assigned as: R853.R854, ...":"\u5219\u5E95\u5C42\u56FE\u4F9D\u6B21\u5206\u914D\u4E3A\uFF1AR853\uFF0CR854\uFF0C...","Tag numbers are assigned according to page numbers,":"\u6839\u636E\u9875\u7801\u8FDB\u884C\u4F4D\u53F7\u5206\u914D\uFF0C","assigned tail numbers are reserved and skipped.":"\u5DF2\u5206\u914D\u4F4D\u53F7\u4FDD\u7559\u4E14\u8DF3\u8FC7\u3002","As on the second page, the allocation is: R201, R202 ...":"\u5982\u7B2C\u4E8C\u9875\uFF0C\u5219\u4F9D\u6B21\u4E3A\uFF1AR201,R202\u2026","Iterate through all pages,":"\u904D\u5386\u6240\u6709\u7684\u9875\uFF0C","Assign refdes according to page number,":"\u6839\u636E\u9875\u7801\u8FDB\u884C\u4F4D\u53F7\u5206\u914D\uFF0C","assign refdes according to page number,":"\u6839\u636E\u9875\u7801\u8FDB\u884C\u4F4D\u53F7\u5206\u914D\uFF0C","assigned tail number is reserved and skipped.":"\u5DF2\u5206\u914D\u4F4D\u53F7\u4FDD\u7559\u4E14\u8DF3\u8FC7\u3002","Refdes are assigned according to start refdes,":"\u6839\u636E\u8D77\u59CB\u503C\u8FDB\u884C\u4F4D\u53F7\u5206\u914D,","assigned refdes are reserved and skipped.":"\u5DF2\u7ECF\u5206\u914D\u7684\u4F4D\u53F7\u4FDD\u7559\u5E76\u8DF3\u8FC7\u3002","As on the start refdes is 853,the allocation is:R853,R854,...":"\u5982\u8D77\u59CB\u4F4D\u53F7\u4E3A853\uFF0C\u5219\u5206\u914D\u4F9D\u6B21\u4E3A\uFF1AR853,R854,...","Page By Page":"\u9010\u9875",Allocation:"\u5206\u914D\u65B9\u5F0F",Manual:"\u624B\u52A8","Current page":"\u5F53\u524D\u9875","Project Name:":"\u5DE5\u7A0B\u540D\u79F0\uFF1A","Library name":"\u5E93\u540D\u79F0","Library name:":"\u5E93\u540D\u79F0\uFF1A","Project Owner:":"\u5DE5\u7A0B\u5F52\u5C5E\uFF1A","Library Owner":"\u5E93\u5F52\u5C5E","Remark:":"\u5907\u6CE8:","Save path":"\u4FDD\u5B58\u8DEF\u5F84","Open Directory":"\u6253\u5F00\u76EE\u5F55","Open the 3D model library directory":"\u6253\u5F003D\u6A21\u578B\u5E93\u76EE\u5F55","Rebuild Search Index":"\u91CD\u5EFA\u641C\u7D22\u7D22\u5F15","Please move 3D Model files (*.step/*.stp) into paths below, libs are available after refresh":"\u8BF7\u5C063D\u6A21\u578B\u6587\u4EF6(*.step/*.stp)\u79FB\u5165\u5982\u4E0B\u8DEF\u5F84\uFF0C\u5237\u65B0\u5E93\u5373\u53EF\u4F7F\u7528","Whether to open a new project?":"\u662F\u5426\u6253\u5F00\u65B0\u5DE5\u7A0B\uFF1F","Please open origin document at editor first!":"\u8BF7\u5148\u5728\u7F16\u8F91\u5904\u6253\u5F00\u539F\u59CB\u6587\u6863\uFF01","Symbol template data does not exist in the project!":"\u5DE5\u7A0B\u4E0D\u5B58\u5728\u7B26\u53F7\u6A21\u677F\u6570\u636E\uFF01","Footprint data does not exist in the PCB! {title}":"PCB\u4E0D\u5B58\u5728\u5C01\u88C5\u6570\u636E\uFF01{title}","There is no data to update for this project!":"\u8BE5\u5DE5\u7A0B\u6CA1\u6709\u9700\u8981\u66F4\u65B0\u7684\u6570\u636E\uFF01","NoneElec Symbol or Drawing Symbol doesn't support to place Pin!":"\u65E0\u7535\u6C14\u7B26\u53F7\u6216\u56FE\u7EB8\u7B26\u53F7\u4E0D\u80FD\u653E\u7F6E\u5F15\u811A\uFF01","Please pick a reference point":"\u8BF7\u9009\u62E9\u53C2\u8003\u70B9","Drag/double click node to edit":"\u62D6\u52A8/\u53CC\u51FB\u8282\u70B9\u7F16\u8F91","Please pick an object for align center":"\u8BF7\u9009\u62E9\u5C45\u4E2D\u53C2\u8003\u5BF9\u8C61","Error Type":"\u9519\u8BEF\u7C7B\u578B","Clearance Error":"\u95F4\u8DDD\u9519\u8BEF","Physical Error":"\u7269\u7406\u9519\u8BEF","Connection Error":"\u8FDE\u63A5\u6027\u9519\u8BEF","Differential Pair Error":"\u5DEE\u5206\u5BF9\u9519\u8BEF","Netlist Error":"\u7F51\u8868\u9519\u8BEF","Via Size":"\u8FC7\u5B54\u5C3A\u5BF8","Error Object":"\u9519\u8BEF\u5BF9\u8C61","Object 1":"\u5BF9\u8C61 1","Object 2":"\u5BF9\u8C61 2","Rule Name":"\u89C4\u5219\u540D\u79F0",Explanation:"\u89E3\u91CA","Default font type for component properties":"\u5143\u4EF6\u5C5E\u6027\u9ED8\u8BA4\u5B57\u4F53","Clearance Error in the same footprint":"\u540C\u5C01\u88C5\u5185\u95F4\u8DDD\u9519\u8BEF","{obj1} and {obj2} overlap":"{obj1}\u4E0E{obj2}\u6709\u91CD\u53E0",'PCB and schematic netlist does not match. You can click on the rule name "Import Changes" to view the difference.':'PCB\u4E0E\u539F\u7406\u56FE\u7F51\u8868\u4E0D\u4E00\u81F4\uFF0C\u4F60\u53EF\u4EE5\u70B9\u51FB\u89C4\u5219\u540D\u79F0"\u5BFC\u5165\u66F4\u65B0"\u67E5\u770B\u5DEE\u5F02.',"PCB Netlist and schematic netlist does not match":"PCB\u7F51\u8868\u4E0E\u539F\u7406\u56FE\u7F51\u8868\u4E0D\u4E00\u81F4","{obj1} to {obj2} distance is {minDistance}, should be {shouldBe}":"{obj1}\u5230{obj2}\u8DDD\u79BB\u4E3A{minDistance}\uFF0C\u5E94\u8BE5{shouldBe}","{obj1} to {obj2} in the same footprint distance is {minDistance}, should be {shouldBe}":"\u540C\u4E00\u5C01\u88C5\u5185\u7684{obj1}\u5230{obj2}\u8DDD\u79BB\u4E3A{minDistance}\uFF0C\u5E94\u8BE5{shouldBe}","{obj1} stroke width is {width}, should be {shouldBe}":"{obj1}\u7EBF\u5BBD\u4E3A{width}\uFF0C\u5E94\u8BE5\u5728{shouldBe}","{obj1} layer pair is {startLayer} - {endLayer}, which is not allowed by the rule":"{obj1}\u5C42\u5BF9\u4E3A{startLayer} - {endLayer}\uFF0C\u89C4\u5219\u4E2D\u4E0D\u5141\u8BB8\u8BE5\u5C42\u5BF9","{layerOrder}.Top Layer":"{layerOrder}.\u9876\u5C42","{layerOrder}.Bottom Layer":"{layerOrder}.\u5E95\u5C42","{layerOrder}.Inner{number}":"{layerOrder}.\u5185\u5C42{number}","object 1":"\u5BF9\u8C61 1","object 2":"\u5BF9\u8C61 2","The outer diameter of the via hole of {obj1} is {diameter}, which should be {shouldBe}":"{obj1}\u8FC7\u5B54\u5916\u5F84\u4E3A{diameter}\uFF0C\u5E94\u8BE5\u5728{shouldBe}","The inner diameter of the via hole of {obj1} is {diameter}, which should be {shouldBe}":"{obj1}\u8FC7\u5B54\u5185\u5F84\u4E3A{diameter}\uFF0C\u5E94\u8BE5\u5728{shouldBe}","{obj1} to {obj2} length tolerance is {width}, should be {shouldBe}":"{obj1}\u5230{obj2}\u5DEE\u5206\u5BF9\u957F\u5EA6\u8BEF\u5DEE\u4E3A{width}\uFF0C\u5E94\u8BE5\u5728{shouldBe}","{obj1} is disconnected from other objects of the same network":"{obj1}\u4E0E\u5176\u4ED6\u76F8\u540C\u7F51\u7EDC\u7684\u5BF9\u8C61\u65AD\u5F00\u4E86\u8FDE\u63A5","{obj1} net length is {netLength}, should be {shouldBe}":"{obj1}\u7F51\u7EDC\u957F\u5EA6\u4E3A{netLength}, \u5E94\u8BE5\u5728{shouldBe}","{obj1} net length tolerance is {netLengthDiff}, should be {shouldBe}":"{obj1}\u7F51\u7EDC\u957F\u5EA6\u516C\u5DEE\u4E3A{netLengthDiff}, \u5E94\u8BE5\u5728{shouldBe}","{obj1} is a free copper region":"{obj1}\u4E3A\u6E38\u79BB\u7684\u94DC\u5757","{obj1} is a free track":"{obj1}\u4E3A\u6E38\u79BB\u7684\u5BFC\u7EBF","{obj1} is a free line":"{obj1}\u4E3A\u6E38\u79BB\u7684\u7EBF\u6761","{obj1} is a free fill region":"{obj1}\u4E3A\u6E38\u79BB\u7684\u586B\u5145\u533A\u57DF","{obj1} is copper bridge, but has no connected to {net} net":"{obj1}\u4E3A\u6865\u63A5\u94DC\uFF0C\u4F46\u6CA1\u6709\u8FDE\u63A5{net}\u7F51\u7EDC","The filter panel on the right can disable the selection of DRC Marking.":"\u53F3\u4FA7\u8FC7\u6EE4\u9762\u677F\u53EF\u7981\u7528DRC\u6807\u8BC6\u7684\u9009\u4E2D","This action will clear history. You wil not be able undo/redo previous actions. Do you want to continue?":"\u6B64\u64CD\u4F5C\u5C06\u6E05\u7A7A\u5386\u53F2\u8BB0\u5F55\uFF0C\u4F60\u5C06\u4E0D\u80FD\u64A4\u9500/\u91CD\u505A\u4E4B\u524D\u7684\u64CD\u4F5C\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","Placement failed, no footprint has linked to this device":"\u5668\u4EF6\u5C1A\u672A\u5173\u8054\u5C01\u88C5\uFF0C\u65E0\u6CD5\u653E\u7F6E","Cannot find linked footprint":"\u65E0\u6CD5\u627E\u5230\u5173\u8054\u7684\u5C01\u88C5","Operation success. The layer pair of blind/buried via is not allowed to be the top layer to the bottom layer, which has been automatically deleted!":"\u66F4\u65B0\u6210\u529F\uFF0C\u76F2\u57CB\u5B54\u4E0D\u5141\u8BB8\u5C42\u5BF9\u4E3A\u9876\u5C42\u5230\u5E95\u5C42\uFF0C\u5DF2\u88AB\u81EA\u52A8\u5220\u9664\uFF01","Operation success,The layer pair of blind/buried via is not allowed to be the top layer to the bottom layer or exactly the same\uFF0Cwhich has been automatically deleted!":"\u66F4\u65B0\u6210\u529F\uFF0C\u76F2\u57CB\u5B54\u4E0D\u5141\u8BB8\u5C42\u5BF9\u4E3A\u9876\u5C42\u5230\u5E95\u5C42\u6216\u5B8C\u5168\u76F8\u540C\uFF0C\u5DF2\u88AB\u81EA\u52A8\u5220\u9664\uFF01","The layer pair of blind/buried via is not allowed to be the top layer to the bottom layer or exactly the same":"\u76F2\u57CB\u5B54\u4E0D\u5141\u8BB8\u5C42\u5BF9\u4E3A\u9876\u5C42\u5230\u5E95\u5C42\u6216\u5B8C\u5168\u76F8\u540C","Cartesian Coordinate System":"\u76F4\u89D2\u5750\u6807\u7CFB","Polar Coordinate System":"\u6781\u5750\u6807\u7CFB",TRACK:"\u5BFC\u7EBF",VIA:"\u8FC7\u5B54",PAD:"\u710A\u76D8","2DLINE":"\u56FE\u5143\u8F6E\u5ED3",TEXT:"\u6587\u672C",TAGGING:"\u6807\u6CE8",DIMENSION:"\u6807\u6CE8",SMARTDIMENSION:"\u667A\u80FD\u5C3A\u5BF8",TESTPOINTER:"\u6D4B\u8BD5\u70B9",COMPONENT_ATTR_TEXT:"\u5143\u4EF6\u5C5E\u6027",IMAGE:"\u56FE\u7247",TRUECOLORPICTRUE:"\u771F\u5F69\u56FE\u7247","Prohibited Option":"\u7981\u6B62\u9009\u9879","Constraint Option":"\u7EA6\u675F\u9009\u9879","Fill Setup":"\u586B\u5145\u8BBE\u7F6E","Round Outline":"\u5706\u5F62\u8F6E\u5ED3","Rectangle Outline":"\u77E9\u5F62\u8F6E\u5ED3","Line Outline":"\u7EBF\u6BB5\u8F6E\u5ED3","Arc Outline":"\u5706\u5F27\u8F6E\u5ED3","Hole Property":"\u94BB\u5B54\u5C5E\u6027","Solder/Paste Mask Expansion":"\u963B\u710A/\u52A9\u710A\u6269\u5C55","Font Type":"\u5B57\u4F53\u7C7B\u578B","Via Outside Diameter":"\u8FC7\u5B54\u5916\u76F4\u5F84","Via Inside Diameter":"\u8FC7\u5B54\u5185\u76F4\u5F84","Outside Diameter":"\u5916\u76F4\u5F84","Inside Diameter":"\u5185\u76F4\u5F84","Layer Pair":"\u5C42\u5BF9","Start Layer":"\u8D77\u59CB\u5C42","End Layer":"\u7ED3\u675F\u5C42","Through Via":"\u901A\u5B54","Blind Or buried Via":"\u76F2\u57CB\u5B54","Blind/Buried Via":"\u76F2\u57CB\u5B54","Blind Via":"\u76F2\u57CB\u5B54",General:"\u901A\u7528","Follow Rule":"\u8DDF\u968F\u89C4\u5219","TopLayer Solder Mask Expansion":"\u9876\u5C42\u963B\u710A\u6269\u5C55","BottomLayer Solder Mask Expansion":"\u5E95\u5C42\u963B\u710A\u6269\u5C55",Innerlayer:"\u5185\u5C42",Toplayer:"\u9876\u5C42","Package Property":"\u5C01\u88C5\u5C5E\u6027","Click To Select Network":"\u5355\u51FB\u9009\u62E9\u7F51\u7EDC","Please Choose":"\u8BF7\u9009\u62E9","Copper Region":"\u94FA\u94DC\u533A\u57DF","Copper Region(Outline)":"\u94FA\u94DC\u533A\u57DF(\u8F6E\u5ED3)","Solid Region":"\u586B\u5145\u533A\u57DF","FPC Stiffener":"FPC\u8865\u5F3A\u677F","Fill Region/Teardrop":"\u586B\u5145\u533A\u57DF/\u6CEA\u6EF4","Left Top":"\u5DE6\u4E0A","Left Middle":"\u5DE6\u4E2D","Left Bottom":"\u5DE6\u4E0B","Center Top":"\u4E2D\u4E0A","Center Middle":"\u4E2D\u5FC3","Center Bottom":"\u4E2D\u4E0B","Right Top":"\u53F3\u4E0A","Right Middle":"\u53F3\u4E2D","Right Bottom":"\u53F3\u4E0B","Center Point":"\u4E2D\u5FC3\u70B9",yes:"\u662F",no:"\u5426","Tag Type":"\u5C3A\u5BF8\u7C7B\u578B","Dimension Type":"\u5C3A\u5BF8\u7C7B\u578B","Radius Tag":"\u534A\u5F84\u5C3A\u5BF8","Length Tag":"\u957F\u5EA6\u5C3A\u5BF8","Arc Tag":"\u89D2\u5EA6\u5C3A\u5BF8","Radius Dimension":"\u534A\u5F84\u5C3A\u5BF8","Length Dimension":"\u957F\u5EA6\u5C3A\u5BF8","Arc Dimension":"\u89D2\u5EA6\u5C3A\u5BF8","Tag Accuracy":"\u5C3A\u5BF8\u7CBE\u5EA6","Dimension Accuracy":"\u5C3A\u5BF8\u7CBE\u5EA6","Text Height":"\u5B57\u4F53\u9AD8\u5EA6",Origin:"\u539F\u70B9","Origin X":"\u539F\u70B9 X","Origin Y":"\u539F\u70B9 Y","Center X":"\u4E2D\u5FC3 X","Center Y":"\u4E2D\u5FC3 Y","Add Common Fonts...":"\u65B0\u589E\u5E38\u7528\u5B57\u4F53...","Common Fonts":"\u5E38\u7528\u5B57\u4F53","All Fonts":"\u6240\u6709\u5B57\u4F53",default:"\u9ED8\u8BA4",default2:"\u9ED8\u8BA42","default(mm)":"\u9ED8\u8BA4(mm)",round:"\u5706\u5F62",slot:"\u69FD\u578B",square:"\u65B9\u5F62",Square:"\u65B9\u5F62","Component Property - Name":"\u5143\u4EF6\u5C5E\u6027-\u540D\u79F0","Component Property - Designator":"\u5143\u4EF6\u5C5E\u6027-\u4F4D\u53F7","Component Property - Device":"\u5143\u4EF6\u5C5E\u6027-\u5668\u4EF6","Component Property - Footprint":"\u5143\u4EF6\u5C5E\u6027-\u5C01\u88C5","Component Property - Value":"\u5143\u4EF6\u5C5E\u6027-\u503C","Canvas Display":"\u753B\u5E03\u663E\u793A","Global Net":"\u5168\u5C40\u7F51\u7EDC","@@pcb-attributes":{Round:"\u5706\u5F62",Parent:"\u7236\u7EA7",Slot:"\u69FD\u5F62",Solid:"\u5168\u586B\u5145",Any:"\u4E0D\u9650",Square:"\u65B9\u5F62",Height:"\u9AD8"},"Edit Pad Shape":"\u7F16\u8F91\u710A\u76D8\u5F62\u72B6",ROUND:"\u5706\u5F62",SLOT:"\u69FD\u578B",SQUARE:"\u65B9\u5F62",Ruler:"\u6807\u5C3A","Ruler:":"\u6807\u5C3A:","Upper Left":"\u5DE6\u4E0A","Middle Left":"\u5DE6\u4E2D","Lower Left":"\u5DE6\u4E0B","Lower Left{key}":"\u5DE6\u4E0B{key}","Upper Center":"\u4E2D\u4E0A","Middle Center":"\u4E2D\u5FC3","Lower Center":"\u4E2D\u4E0B","Upper Right":"\u53F3\u4E0A","Middle Right":"\u53F3\u4E2D","Lower Right":"\u53F3\u4E0B","Open Now":"\u7ACB\u5373\u6253\u5F00",Later:"\u7A0D\u540E","Arc Length":"\u5706\u5F27\u957F\u5EA6","Line Length":"\u7EBF\u6BB5\u957F\u5EA6","Modify Title":"\u7F16\u8F91\u6807\u9898","Select a Schematic to Recover":"\u9009\u62E9\u4E00\u4E2A\u539F\u7406\u56FE\u8FDB\u884C\u6062\u590D","Under Line":"\u4E0B\u5212\u7EBF",Deleteline:"\u5220\u9664\u7EBF","Delete Line":"\u5220\u9664\u7EBF",Inverted:"\u53CD\u76F8","Inverted Expansion":"\u53CD\u76F8\u6269\u5C55","Preserve Previous REFDES Assignments":"\u4FDD\u7559\u5DF2\u5206\u914D\u4F4D\u53F7\u503C","REFDES processing rules":"\u4F4D\u53F7\u5904\u7406\u89C4\u5219","Preserve Gaps in REFDES Numbering Assignments":"\u4ECE\u6700\u5927\u4F4D\u53F7\u5F00\u59CB\u5206\u914D\u4F4D\u53F7(\u4F7F\u7528\u8FC7\u7684\u4F4D\u53F7\u4E0D\u518D\u4F7F\u7528)","Designator Starting Value":"\u4F4D\u53F7\u8D77\u59CB\u503C",Option:"\u9009\u9879","Schematic object style":"\u539F\u7406\u56FE\u56FE\u5143\u6837\u5F0F","Footprint and 3D Model":"\u5C01\u88C5\u548C\u6A21\u578B","Netlist Type":"\u7F51\u8868\u7C7B\u578B","Netlist filename":"\u7F51\u8868\u6587\u4EF6\u540D","Additive attribute-Value":"\u9644\u52A0\u5C5E\u6027-Value","Additive attribute-Tolerance":"\u9644\u52A0\u5C5E\u6027-Tolerance","Special Characters":"\u7279\u6B8A\u5B57\u7B26","Replace spaces and ;!.\uFF1B\uFF01 in the Footprint with":"\u5C01\u88C5\u4E2D\u7A7A\u683C\u548C;!.\uFF1B\uFF01\u66FF\u6362\u4E3A","Replace spaces and *?:\uFF1F\uFF1A in the Footprint with":"\u5C01\u88C5\u4E2D\u7A7A\u683C\u548C*?:\uFF1F\uFF1A\u66FF\u6362\u4E3A","Replace spaces and *?:\uFF1F\uFF1A in the Device with":"\u5668\u4EF6\u4E2D\u7A7A\u683C\u548C*?:\uFF1F\uFF1A@\u66FF\u6362\u4E3A",Output:"\u8F93\u51FA","Component Properties":"\u5143\u4EF6\u5C5E\u6027","Footprint Name":"\u5C01\u88C5\u540D\u79F0","Entity Colour":"\u5B9E\u4F53\u989C\u8272","Device Name":"\u5668\u4EF6\u540D","Remove the code":"\u53BB\u6389\u7F16\u7801","with the beginning of 990":"\u542B990\u5F00\u5934\u9879","with the beginning of 00":"\u542B00\u5F00\u5934\u9879","less than 5 bits":"\u5C0F\u4E8E5\u4F4D\u9879","Remove the tag":"\u53BB\u6389\u4F4D\u53F7","with ID starting item":"\u542BID\u5F00\u5934\u9879","with TP at the beginning":"\u542BTP\u5F00\u5934\u9879","with the beginning of ICT":"\u542BICT\u5F00\u5934\u9879","with the leading M":"\u542BM\u5F00\u5934\u9879",has:"\u542B\u6709","at start of words":"\u5F00\u5934\u9879","All.Layer":"\u5168\u90E8","Copper.Layer":"\u94DC\u5C42","Other.Layer":"\u5176\u4ED6","Selective soldering device":"\u9009\u710A\u5668\u4EF6","Format Configuration":"\u683C\u5F0F\u914D\u7F6E",Normal:"\u6B63\u5E38",Blur:"\u6A21\u7CCA",Equal:"\u7CBE\u51C6","Not equal to":"\u4E0D\u7B49\u4E8E","Please Input Value!":"\u8BF7\u8F93\u5165\u503C\uFF01","Unique ID":"\u552F\u4E00ID","PCB + Component Model":"PCB+\u5143\u4EF6\u6A21\u578B","PCB + Component Model + 3D Shell":"PCB+\u5143\u4EF6\u6A21\u578B+3D\u5916\u58F3","Parsing 3D file...":"\u6B63\u5728\u89E3\u67903D\u6587\u4EF6...",Outline:"\u8FB9\u6846","3D Model":"3D\u6A21\u578B","Model Name":"\u6A21\u578B\u540D\u79F0","Track Or Fill Region":"\u5BFC\u7EBF\u548C\u586B\u5145\u533A\u57DF","Hole Diameter":"\u5B54\u76F4\u5F84","Hole Width":"\u5B54\u5BBD\u5EA6","Hole Length":"\u5B54\u957F\u5EA6","Hole Rotation":"\u5B54\u65CB\u8F6C\u89D2\u5EA6","The imported file has no package information.":"\u5BFC\u5165\u7684\u6587\u4EF6\u4E0D\u5B58\u5728\u5C01\u88C5\u4FE1\u606F\u3002","Device that does not exist in the library:":"\u4EE5\u4E0B\u5668\u4EF6\u5728\u5E93\u4E2D\u4E0D\u5B58\u5728\uFF1A","Footprint that does not exist in the library:":"\u4EE5\u4E0B\u5C01\u88C5\u5728\u5E93\u4E2D\u4E0D\u5B58\u5728\uFF1A","Pad that does not exist in the footprint:":"\u4EE5\u4E0B\u710A\u76D8\u5728\u5C01\u88C5\u5E93\u4E2D\u4E0D\u5B58\u5728\uFF1A","Component pins number\xA0doesn't match footprint pads number, please re-binding footprint:":"\u5143\u4EF6\u7684\u5F15\u811A\u7F16\u53F7\u4E0E\u5C01\u88C5\u710A\u76D8\u7F16\u53F7\u4E0D\u5339\u914D\uFF0C\u8BF7\u91CD\u65B0\u7ED1\u5B9A\u5C01\u88C5:","Component that does not linked with footprint:":"\u4EE5\u4E0B\u5143\u4EF6\u672A\u914D\u7F6E\u5C01\u88C5\uFF1A","Component that does without uuid:":"\u4EE5\u4E0B\u5668\u4EF6uuid\u672A\u7ED1\u5B9A\uFF1A","The following Components are not assigned the Footprint:":"\u4EE5\u4E0B\u5143\u4EF6\u672A\u7ED1\u5B9A\u5C01\u88C5:","Component pins does not match footprint pads number, please re-binding foorprint:":"\u5143\u4EF6\u5F15\u811A\u7F16\u53F7\u4E0E\u5C01\u88C5\u7F16\u53F7\u4E0D\u5339\u914D\uFF0C\u8BF7\u91CD\u65B0\u7ED1\u5B9A\u5C01\u88C5:","The format of the netlist is incorrect, and the device information is not found":"\u7F51\u8868\u683C\u5F0F\u9519\u8BEF\uFF0C\u672A\u67E5\u8BE2\u5230device\u4FE1\u606F","Find All":"\u67E5\u627E\u5168\u90E8",Next:"\u4E0B\u4E00\u4E2A","Replace All":"\u66FF\u6362\u5168\u90E8","Replace Current":"\u66FF\u6362\u5F53\u524D","Use Regular[*?]":"\u4F7F\u7528\u901A\u914D\u7B26[*?]","Filter objects":"\u7B5B\u9009\u5BF9\u8C61","Project(schematic)":"\u5DE5\u7A0B(\u539F\u7406\u56FE)","Find in Result":"\u5728\u5DF2\u67E5\u627E\u7ED3\u679C\u4E2D\u67E5\u627E","The title can not be empty!":"\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A\uFF01","The name can not be empty!":"\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A\uFF01","The symbol name can not be empty!":"\u7B26\u53F7\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A\uFF01","At least one part exists":"\u81F3\u5C11\u5B58\u5728\u4E00\u4E2A part",'Part Name "{partName}" already exists':'\u540D\u79F0 "{partName}" \u5DF2\u5B58\u5728',"Update Selected Only":"\u4EC5\u4FEE\u6539\u9009\u4E2D","Update All of the Same Size Via":"\u66F4\u65B0\u6240\u6709\u540C\u5C3A\u5BF8\u8FC7\u5B54",Pick:"\u62FE\u53D6","Indepent Primitive":"\u72EC\u7ACB\u56FE\u5143","Component-Attr":"\u5143\u4EF6\u5C5E\u6027","Suture Hole":"\u7F1D\u5408\u5B54",Combination:"\u7EC4\u5408","2DLine Primitive":"\u56FE\u5143\u8F6E\u5ED3","Pad Pair":"\u710A\u76D8\u5BF9",Optimization:"\u5236\u9020\u4F18\u5316","Rebuild Copper Area":"\u91CD\u5EFA\u94FA\u94DC\u533A","Independent Object":"\u72EC\u7ACB\u5BF9\u8C61","Restore to device characteristics":"\u8FD8\u539F\u5668\u4EF6\u5C5E\u6027","Pad Plating Color":"\u710A\u76D8\u55B7\u9540",Silkscreen:"\u4E1D\u5370",Golden:"\u91D1\u8272",Total:"\u603B\u8BA1",top:"\u9876\u90E8",page:"\u9875",pages:"\u9875",Surface:"\u8868\u9762",surface:"\u8868\u9762","Surface Technology":"\u8868\u9762\u5DE5\u827A","Silkscreen Technology":"\u4E1D\u5370\u5DE5\u827A","Plated Through-hole":"\u7535\u9540\u901A\u5B54","None Plated Through-hole":"\u65E0\u7535\u9540\u901A\u5B54","Nono Plated Through-role":"\u65E0\u7535\u9540\u901A\u5B54",unrouted:"\u672A\u5E03\u7EBF",Unrouted:"\u672A\u5E03\u7EBF","Through Vias":"\u901A\u5B54","Blind Or Buried Vais":"\u76F2\u57CB\u5B54","Rebuild Copper Outline":"\u91CD\u5EFA\u94FA\u94DC\u533A","Rebuild Copper Region":"\u91CD\u5EFA\u94FA\u94DC\u533A","Auto Place Suture Vias":"\u81EA\u52A8\u653E\u7F6E\u7F1D\u5408\u5B54","Rebuild Plane Zone":"\u91CD\u5EFA\u5185\u7535\u5C42","There is no common property.":"\u4E0D\u5B58\u5728\u5171\u6709\u7684\u5C5E\u6027.","JLCPCB On Sale":"\u5609\u7ACB\u521B\u5728\u552E","JLCPCB Stock":"\u5609\u7ACB\u521B\u5E93\u5B58","LCSC Stock":"\u7ACB\u521B\u5546\u57CE\u5E93\u5B58","LCSC On Sale":"\u7ACB\u521B\u5546\u57CE\u5728\u552E","Supplier Footprint":"\u4F9B\u5E94\u5546\u5C01\u88C5","JLCPCB Price":"\u5609\u7ACB\u521B\u4EF7\u683C","LCSC Price":"\u7ACB\u521B\u5546\u57CE\u4EF7\u683C","Extended Part":"\u6269\u5C55\u5E93","Basic Part":"\u57FA\u7840\u5E93","Unable to get pcb document content!":"Unable to get pcb document content","No.":"\u5E8F\u53F7","Delete Target":"\u5220\u9664\u6240\u9009\u76EE\u6807","Select All/Unselect All":"\u5168\u9009/\u5168\u4E0D\u9009","Operation Type":"\u64CD\u4F5C\u7C7B\u578B","Export File Type":"\u5BFC\u51FA\u6587\u4EF6\u7C7B\u578B","File Type":"\u6587\u4EF6\u7C7B\u578B","Confirm Export":"\u786E\u8BA4\u5BFC\u51FA","File Name":"\u6587\u4EF6\u540D","Search Keywords":"\u641C\u7D22\u5173\u952E\u8BCD","Search keyword cannot be empty":"\u641C\u7D22\u5173\u952E\u8BCD\u4E0D\u80FD\u4E3A\u7A7A","Please enter at least 2 characters":"\u6700\u5C11\u8F93\u5165\u4E24\u4E2A\u5B57\u7B26","The default value needs to be between the minimum value and the maximum value!":"\u9ED8\u8BA4\u503C\u9700\u8981\u5728\u6700\u5C0F\u503C\u5230\u6700\u5927\u503C\u4E4B\u95F4\uFF01","The minimum value of Spoke Width is":"\u53D1\u6563\u7EBF\u5BBD\u7684\u6700\u5C0F\u503C\u4E3A","The minimum value of Spoke Spacing is":"\u53D1\u6563\u95F4\u8DDD\u7684\u6700\u5C0F\u503C\u4E3A","The minimum value of Network Spacing is":"\u7F51\u7EDC\u95F4\u8DDD\u7684\u6700\u5C0F\u503C\u4E3A",Device:"\u5668\u4EF6","Device...":"\u5668\u4EF6...","Component...":"\u5143\u4EF6...","Device Property":"\u5668\u4EF6\u5C5E\u6027","Device Attribute":"\u5668\u4EF6\u5C5E\u6027","Component Property":"\u5143\u4EF6\u5C5E\u6027","SMD Pad":"\u8D34\u7247\u710A\u76D8","TH Pad":"\u63D2\u4EF6\u710A\u76D8",SMD_Test_Point:"\u8D34\u7247\u6D4B\u8BD5\u70B9",TH_Test_Point:"\u63D2\u4EF6\u6D4B\u8BD5\u70B9","SMD Test Point":"\u5355\u5C42\u6D4B\u8BD5\u70B9","TH Test Point":"\u591A\u5C42\u6D4B\u8BD5\u70B9",outline:"\u8F6E\u5ED3",Slot:"\u63D2\u69FD",Region:"\u586B\u5145\u533A\u57DF",Prohibit:"\u7981\u6B62\u533A\u57DF",Pour:"\u94FA\u94DC",Mark:"\u6807\u8BB0","BoardOutline Inner":"\u677F\u6846\u5F62\u72B6\u5185\u90E8",BoardCutout:"\u69FD\u5B54","Canvas Zooming Type":"\u753B\u5E03\u7F29\u653E","Placing updated device":"\u653E\u7F6E\u66F4\u65B0\u7684\u5668\u4EF6","Double-click the Project":"\u53CC\u51FB\u5DE5\u7A0B","New window open project":"\u65B0\u5EFA\u7A97\u53E3\u6253\u5F00\u5DE5\u7A0B","Current window open project":"\u5F53\u524D\u7A97\u53E3\u6253\u5F00\u5DE5\u7A0B","Will merge these networks, please select a network as latest network after merged.":"\u5373\u5C06\u8FDB\u884C\u7F51\u7EDC\u5408\u5E76\uFF0C\u8BF7\u9009\u62E9\u5408\u5E76\u540E\u7684\u7F51\u7EDC\u540D\u3002","Side Panel Auto Hide":"\u9762\u677F\u81EA\u52A8\u6536\u8D77","Show updated notice dialog":"\u663E\u793A\u66F4\u65B0\u63D0\u793A\u5F39\u7A97","Don't show updated notice dialog(using project library)":"\u4E0D\u663E\u793A\u66F4\u65B0\u63D0\u793A\u5F39\u7A97(\u4F7F\u7528\u5DE5\u7A0B\u5E93)",Scroll:"\u6EDA\u8F6E\u7F29\u653E","Ctrl + Scroll":"CTRL + \u6EDA\u8F6E","Base Lib Setting":"\u57FA\u7840\u5E93\u8BBE\u7F6E","Category Setting":"\u5206\u7C7B\u8BBE\u7F6E","Element Property":"\u5143\u7D20\u5C5E\u6027","Show Symbol/Footprint Update Dialog and Tip":"\u663E\u793A\u7B26\u53F7/\u5C01\u88C5\u66F4\u65B0\u5BF9\u8BDD\u6846\u4E0E\u63D0\u793A",'Show PCB "Common Library"':"\u663E\u793A PCB \u5E38\u7528\u5E93","Panel/Panel Lib":"\u9762\u677F/\u9762\u677F\u5E93","Grid Type":"\u7F51\u683C\u7C7B\u578B","Cursor Type":"\u5149\u6807\u5C3A\u5BF8","Display Effect":"\u663E\u793A\u6548\u679C","Default Unit for New Document":"\u65B0\u5EFA\u6587\u6863\u9ED8\u8BA4\u5355\u4F4D","Default Unit for New PCB":"\u65B0\u5EFA PCB \u9ED8\u8BA4\u5355\u4F4D","Default Unit for New Footprint":"\u65B0\u5EFA\u5C01\u88C5\u9ED8\u8BA4\u5355\u4F4D","Alt Snap Size":"Alt\u6805\u683C\u5C3A\u5BF8",gridX:"\u6805\u683CX",gridY:"\u6805\u683CY","Snap Radius for Cursor":"\u5149\u6807\u5438\u9644\u534A\u5F84","Common Track/Line Width":"\u5E38\u7528\u5BFC\u7EBF\u5C3A\u5BF8\u8BBE\u7F6E","Common Via Size":"\u5E38\u7528\u8FC7\u5B54\u5C3A\u5BF8\u8BBE\u7F6E","Typeface Setting":"\u5B57\u4F53\u8BBE\u7F6E","Common Pad Size":"\u5E38\u7528\u710A\u76D8\u5C3A\u5BF8\u8BBE\u7F6E","Track/Line Width Setting":"\u7EBF\u5BBD\u8BBE\u7F6E","Via Size Setting":"\u8FC7\u5B54\u8BBE\u7F6E","Grid Size Setting":"\u7F51\u683C\u5C3A\u5BF8\u8BBE\u7F6E","Grid/Snap Size Setting":"\u7F51\u683C/\u6805\u683C\u5C3A\u5BF8\u8BBE\u7F6E","Pad Size Setting":"\u710A\u76D8\u5C3A\u5BF8\u8BBE\u7F6E","Show Scale Ruler":"\u663E\u793A\u7F29\u653E\u6807\u5C3A","Mouse Hover":"\u9F20\u6807\u60AC\u505C","Highlight Object While Cursor Hover Object":"\u9F20\u6807\u60AC\u505C\u5728\u5BF9\u8C61\u65F6\u9AD8\u4EAE\u5BF9\u8C61","Highlight the Net When Hovering Over the Net":"\u9F20\u6807\u60AC\u505C\u5728\u7F51\u7EDC\u65F6\u9AD8\u4EAE\u7F51\u7EDC","Display Object Property While Cursor Hover Object":"\u9F20\u6807\u60AC\u505C\u5728\u5BF9\u8C61\u65F6\u663E\u793A\u5BF9\u8C61\u5C5E\u6027","Auto Rebuild Copper Region/Plane Zone":"\u81EA\u52A8\u91CD\u5EFA\u94FA\u94DC/\u5185\u7535\u5C42","Auto Add Teardrops":"\u81EA\u52A8\u6DFB\u52A0\u6CEA\u6EF4","Show Track Net Name":"\u5BFC\u7EBF\u663E\u793A\u7F51\u7EDC","Show Via Layer Pair":"\u8FC7\u5B54\u663E\u793A\u5C42\u5BF9","Auto Terminate Routing":"\u81EA\u52A8\u7ED3\u675F\u5E03\u7EBF","Auto Rebuild Copper Area/Plane":"\u81EA\u52A8\u91CD\u5EFA\u94FA\u94DC/\u5185\u7535\u5C42","Show Number or Net":"\u663E\u793A\u7F16\u53F7\u6216\u7F51\u7EDC","Show Pad Net Name":"\u710A\u76D8\u663E\u793A\u7F51\u7EDC","Show Pad Number":"\u710A\u76D8\u663E\u793A\u7F16\u53F7","Show Via Net Name":"\u8FC7\u5B54\u663E\u793A\u7F51\u7EDC","New PCB using template":"\u65B0\u5EFAPCB\u4F7F\u7528\u6A21\u677F","Allow Footprint Flipping":"\u5141\u8BB8\u5C01\u88C5\u7FFB\u8F6C",'"Allow Footprint Flipping" is not enabled and the selected footprint is being ignored. To enable it, please go to':"\u201C\u5141\u8BB8\u5C01\u88C5\u7FFB\u8F6C\u201D\u672A\u5F00\u542F\uFF0C\u5DF2\u5FFD\u7565\u6240\u9009\u5C01\u88C5\uFF0C\u5982\u9700\u5F00\u542F\u8BF7\u524D\u5F80","PCB Settings":"PCB\u8BBE\u7F6E","This operation will cause the footprint to flip within the same layer,please handle with caution.":"\u8BE5\u64CD\u4F5C\u5C06\u4F7F\u5C01\u88C5\u5728\u540C\u5C42\u5185\u7FFB\u8F6C\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002",Cursor:"\u5149\u6807","Check DRC and Net Connections Before Generating the Fabrication File":"\u751F\u6210\u5236\u9020\u6587\u4EF6\u524D\u68C0\u67E5DRC\u4E0E\u7F51\u7EDC\u8FDE\u63A5","Highlight Whole Network while Cursor Hover Primitive":"\u9F20\u6807\u5728\u56FE\u5143\u65F6\u9AD8\u4EAE\u6574\u4E2A\u7F51\u7EDC","Prefer Place Blind/Burried Via while Change Layer on Routing":"\u5E03\u7EBF\u5207\u5C42\u65F6\u4F18\u5148\u653E\u7F6E\u76F2\u57CB\u5B54","Track Follows while Component Moving":"\u79FB\u52A8\u5143\u4EF6\u65F6\u5BFC\u7EBF\u8DDF\u968F","Check Net Connections Before Generating the Fabrication File":"\u751F\u6210\u5236\u9020\u6587\u4EF6\u524D\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5","Check DRC Before Generating the Fabrication File":"\u751F\u6210\u5236\u9020\u6587\u4EF6\u524D\u68C0\u67E5DRC","Drag/Move":"\u62D6\u52A8/\u79FB\u52A8","Cursor snaps to center while\xA0dragging pads/vias":"\u62D6\u52A8\u710A\u76D8/\u8FC7\u5B54\u65F6\u5149\u6807\u5438\u9644\u5230\u4E2D\u5FC3","Cursor snaps to center while dragging pads/vias":"\u62D6\u52A8\u710A\u76D8/\u8FC7\u5B54\u65F6\u5149\u6807\u5438\u9644\u5230\u4E2D\u5FC3","Cursor snaps to origin\xA0while\xA0dragging footprints":"\u62D6\u52A8\u5C01\u88C5\u65F6\u5149\u6807\u5438\u9644\u5230\u539F\u70B9","Cursor snaps to origin while dragging footprints":"\u62D6\u52A8\u5C01\u88C5\u65F6\u5149\u6807\u5438\u9644\u5230\u539F\u70B9","Align in adjacent footprint/pads when mobile footprint/pads":"\u62D6\u52A8\u5C01\u88C5/\u710A\u76D8\u65F6\u5438\u9644\u5BF9\u9F50\u5230\u76F8\u90BB\u5C01\u88C5/\u710A\u76D8\u8FB9\u754C","Do you want to check the DRC first?":"\u662F\u5426\u5148\u68C0\u67E5DRC\u518D\u7EE7\u7EED\uFF1F","This PCB doesn't draw the board outline layer lines please check, do you want to continue? Order at JLCPCB the board outline will not be recognized.":"\u8BE5PCB\u6CA1\u6709\u677F\u6846\u5C42\u7EBF\u6761\u8BF7\u68C0\u67E5\uFF0C\u662F\u5426\u7EE7\u7EED\u5BFC\u51FA\uFF1F\u5728\u5609\u7ACB\u521B\u4E0B\u5355\u677F\u6846\u5C06\u65E0\u6CD5\u88AB\u8BC6\u522B\u3002","Detected that some components are missing reference designators, which may lead to partial parsing errors. Would you like to automatically add reference designators upon export?":"\u68C0\u6D4B\u5230\u90E8\u5206\u5668\u4EF6\u65E0\u4F4D\u53F7\uFF0C\u53EF\u80FD\u5BFC\u81F4\u90E8\u5206\u89E3\u6790\u51FA\u9519\uFF0C\u662F\u5426\u5BFC\u51FA\u65F6\u81EA\u52A8\u6DFB\u52A0\u4F4D\u53F7\uFF1F","Found incomplete connection(ratlines), do you want to check the ratline?":"\u68C0\u6D4B\u5230 PCB \u5B58\u5728\u672A\u8FDE\u63A5\u7684\u7F51\u7EDC(\u98DE\u7EBF)\uFF0C\u662F\u5426\u68C0\u67E5\u98DE\u7EBF\uFF1F","You are restoring the design rule as default setting, continue?":"\u4F60\u5C06\u6062\u590D\u8BBE\u8BA1\u89C4\u5219\u4E3A\u9ED8\u8BA4\u8BBE\u7F6E\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","This PCB has blind/buried vias please check, do you want to continue? Order at JLCPCB the blind/buried vias will not be\xA0supported.":"\u8BE5PCB\u5B58\u5728\u76F2\u57CB\u5B54\uFF0C\u662F\u5426\u7EE7\u7EED\u5BFC\u51FA?\u5728\u5609\u7ACB\u521B\u4E0B\u5355\u76F2\u57CB\u5B54\u5C06\u65E0\u6CD5\u88AB\u652F\u6301\u3002","Yes, Check Ratline":"\u662F\uFF0C\u68C0\u67E5\u98DE\u7EBF","No, Continue Exporting":"\u5426\uFF0C\u7EE7\u7EED\u5BFC\u51FA","No, Continue Ordering":"\u5426\uFF0C\u7EE7\u7EED\u4E0B\u5355","Primary Category":"\u4E00\u7EA7\u5206\u7C7B","Secondary Category":"\u4E8C\u7EA7\u5206\u7C7B","Background Color":"\u80CC\u666F\u989C\u8272","Cursor Color":"\u5149\u6807\u989C\u8272","Up Move":"\u4E0A\u79FB","Down Move":"\u4E0B\u79FB",Del:"\u5220\u9664",Add:"\u65B0\u589E","High Quality Priority":"\u9AD8\u8D28\u91CF\u4F18\u5148","Rendering Engine":"\u6E32\u67D3\u5F15\u64CE","After switching the rendering engine, you need to restart the PCB to take effect":"\u5207\u6362\u6E32\u67D3\u5F15\u64CE\u540E\uFF0C\u9700\u8981\u91CD\u65B0\u542F\u52A8PCB\u624D\u80FD\u751F\u6548",Dialog:"\u5F39\u7A97","System Setting":"\u7CFB\u7EDF\u8BBE\u7F6E","Input Value":"\u8F93\u5165\u503C","Property Footprint Pad":"\u5C01\u88C5\u710A\u76D8\u5F39\u7A97","Input Via Size Value":"\u8F93\u5165\u8FC7\u5B54\u5C3A\u5BF8","Property For 2Dline":"\u56FE\u5143\u8F6E\u5ED3\u5C5E\u6027","Property For PAD":"\u710A\u76D8\u5C5E\u6027","Net Class Operation":"\u7F51\u7EDC\u7C7B\u64CD\u4F5C","Batch Modify Spacing Value":"\u6279\u91CF\u4FEE\u6539\u95F4\u8DDD\u503C","Global CMD":"\u5168\u5C40\u6307\u4EE4","Component Category":"\u5668\u4EF6\u5206\u7C7B","Place Text":"\u653E\u7F6E\u6587\u672C","Property For Independent Via":"\u72EC\u7ACB\u8FC7\u5B54\u5C5E\u6027","Save Symbol File":"\u4FDD\u5B58\u7B26\u53F7","Save Footprint File":"\u4FDD\u5B58\u5C01\u88C5","New/Modify Device":"\u65B0\u5EFA/\u4FEE\u6539\u5668\u4EF6","Search Symbol":"\u641C\u7D22\u7B26\u53F7","Search Footprint":"\u641C\u7D22\u5C01\u88C5","Template Manager":"\u6A21\u677F\u7BA1\u7406\u5668","New PCB by template":"\u4F9D\u636E\u6A21\u677F\u65B0\u5EFA PCB","New project by template":"\u4F9D\u636E\u6A21\u677F\u65B0\u5EFA\u5DE5\u7A0B","Design Rules":"\u8BBE\u8BA1\u89C4\u5219","Upload Image":"\u4E0A\u4F20\u56FE\u7247","Property For Place-PAD":"\u710A\u76D8\u5C5E\u6027","Property For Ind VIA":"\u72EC\u7ACB\u8FC7\u5B54\u5C5E\u6027","Property For Sut VIA":"\u7F1D\u5408\u5B54\u5C5E\u6027","Tear Drap":"\u6CEA\u6EF4","Colorful Image":"\u771F\u5F69\u56FE\u7247","Insert Image":"\u63D2\u5165\u56FE\u7247","Place Original Image":"\u653E\u7F6E\u539F\u56FE","Image Name":"\u56FE\u7247\u540D\u79F0","Select Image":"\u9009\u62E9\u56FE\u7247","Read image file error.":"\u8BFB\u53D6\u56FE\u7247\u5931\u8D25.","Using JLC color silkscreen technology":"\u4F7F\u7528\u5609\u7ACB\u521B\u5F69\u8272\u4E1D\u5370\u5DE5\u827A","Ctrl drag to copy":"Ctrl\u62D6\u52A8\u590D\u5236","Assign Net for Free Track":"\u4E3A\u81EA\u7531\u5BFC\u7EBF\u5206\u914D\u7F51\u7EDC","Apply for JLCPCB colorful silkscreen manufacturing(only png and jpg format)":"\u5E94\u7528\u4E8E\u5609\u7ACB\u521B\u5F69\u8272\u4E1D\u5370\u751F\u4EA7(\u4EC5png\u548Cjpg\u683C\u5F0F)","The photo you upload exceeds 5M, the system will automatically compress it for you":"\u60A8\u4E0A\u4F20\u7684\u7167\u7247\u8D85\u8FC7\u4E865M,\u7CFB\u7EDF\u5C06\u4F1A\u4E3A\u60A8\u81EA\u52A8\u538B\u7F29","The image size cannot be more than 2 MB":"\u56FE\u7247\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 2MB","The image has been compressed to less than {size} MB":"\u56FE\u7247\u5DF2\u538B\u7F29\u81F3\u5C0F\u4E8E{size}MB","Display Overlap Primitive":"\u91CD\u53E0\u56FE\u5143\u5217\u8868","Custom Attribute Setting":"\u81EA\u5B9A\u4E49\u5C5E\u6027\u8BBE\u7F6E","Common Via Size Setting":"\u5E38\u7528\u8FC7\u5B54\u5C3A\u5BF8\u8BBE\u7F6E","Common Grid/Snap(Cartesian Coordinate System) Size Setting":"\u5E38\u7528\u7F51\u683C/\u6805\u683C(\u76F4\u89D2\u5750\u6807\u7CFB)\u5C3A\u5BF8\u8BBE\u7F6E","Common Grid/Snap(Polar Coordinate System) Size Setting":"\u5E38\u7528\u7F51\u683C/\u6805\u683C(\u6781\u5750\u6807\u7CFB)\u5C3A\u5BF8\u8BBE\u7F6E","Common Grid/Snap Size Setting":"\u5E38\u7528\u7F51\u683C/\u6805\u683C\u5C3A\u5BF8\u8BBE\u7F6E","Common Track Width Setting":"\u5E38\u7528\u7EBF\u5BBD\u8BBE\u7F6E","Typeface Manager":"\u5B57\u4F53\u7BA1\u7406","Export Pick Place File":"\u5BFC\u51FA\u5750\u6807\u6587\u4EF6","PCB Information":"PCB \u4FE1\u606F","Rule Management":"\u89C4\u5219\u7BA1\u7406","Net Rule":"\u7F51\u7EDC\u89C4\u5219","Net Spacing Rule":"\u7F51\u7EDC\u95F4\u8DDD\u89C4\u5219","Custom Spacing Rule":"\u81EA\u5B9A\u4E49\u95F4\u8DDD\u89C4\u5219","Net Thermals Rule":"\u7F51\u7EDC\u70ED\u710A\u89C4\u5219","Custom Thermals Rule":"\u81EA\u5B9A\u4E49\u70ED\u710A\u89C4\u5219","Net-Net Rule(test)":"\u7F51\u7EDC-\u7F51\u7EDC\u89C4\u5219(\u6D4B\u8BD5)","Net-Net Rule":"\u7F51\u7EDC-\u7F51\u7EDC\u89C4\u5219","Region Rule":"\u533A\u57DF\u89C4\u5219","Safe Spacing":"\u5B89\u5168\u95F4\u8DDD","Other Spacing":"\u5176\u4ED6\u95F4\u8DDD",Physics:"\u7269\u7406",ArcTrack:"\u5706\u5F27\u5F62\u5BFC\u7EBF","Copper/Plane Zone":"\u94FA\u94DC/\u5185\u7535\u5C42",Expansion:"\u6269\u5C55","Device-To-Device":"\u5668\u4EF6\u5230\u5668\u4EF6","Component to Component":"\u5143\u4EF6\u5230\u5143\u4EF6","TH Solder Joint to SMD Component":"\u63D2\u4EF6\u710A\u70B9\u5230SMD\u5143\u4EF6","Hole to Hole":"\u94BB\u5B54\u5230\u94BB\u5B54","Stroke Width Min":"\u6700\u5C0F","Stroke Width Default":"\u9ED8\u8BA4","Stroke Width Max":"\u6700\u5927","Differential Pair":"\u5DEE\u5206\u5BF9","Delete Differential Pair":"\u5220\u9664\u5DEE\u5206\u5BF9","Edit Differential Pair":"\u7F16\u8F91\u5DEE\u5206\u5BF9","Differential Pair Spacing Min":"\u6700\u5C0F","Differential Pair Spacing Default":"\u9ED8\u8BA4","Differential Pair Spacing Max":"\u6700\u5927","Differential Pair Length Tolerance":"\u5DEE\u5206\u5BF9\u957F\u5EA6\u8BEF\u5DEE","Differential Pair Length Tolerance Max":"\u6700\u5927","Outer Diameter":"\u5916\u5F84","Inner Diameter":"\u5185\u5F84","Via Outer Diameter":"\u8FC7\u5B54\u5916\u76F4\u5F84","Via Inner Diameter":"\u8FC7\u5B54\u5185\u76F4\u5F84",Min:"\u6700\u5C0F",Max:"\u6700\u5927","Network Spacing":"\u7F51\u7EDC\u95F4\u8DDD","Connection Type":"\u8FDE\u63A5\u65B9\u5F0F","Single-layer Pad":"\u5355\u5C42\u710A\u76D8","Multi-layer Pad":"\u591A\u5C42\u710A\u76D8","Track Connection":"\u5BFC\u7EBF\u8FDE\u63A5\u65B9\u5F0F","Spoke Spacing":"\u53D1\u6563\u95F4\u8DDD","Top Layer Expansion":"\u9876\u5C42\u6269\u5C55","Bottom Layer Expansion":"\u5E95\u5C42\u6269\u5C55","Set as Default":"\u8BBE\u4E3A\u9ED8\u8BA4","Make a Copy":"\u521B\u5EFA\u526F\u672C","Restore Default":"\u6062\u590D\u9ED8\u8BA4","Filter by type":"\u641C\u7D22\u7C7B\u578B","Filter by name":"\u641C\u7D22\u540D\u79F0","Filter by rule":"\u641C\u7D22\u89C4\u5219","Rule Type":"\u89C4\u5219\u7C7B\u578B","Copper Rule":"\u94FA\u94DC\u89C4\u5219","Plane Rule":"\u5185\u7535\u5C42\u89C4\u5219","Region Name":"\u533A\u57DF\u540D\u79F0","When the copper rule/plane rule is not empty, the copper/plane spacing takes precedence over the spacing parameters of the copper rule/plane rule":"\u5F53\u94FA\u94DC\u89C4\u5219/\u5185\u7535\u5C42\u89C4\u5219\u4E0D\u4E3A\u7A7A\u65F6\uFF0C\u94FA\u94DC/\u5185\u7535\u5C42\u95F4\u8DDD\u4F18\u5148\u53D6\u94FA\u94DC\u89C4\u5219/\u5185\u7535\u5C42\u89C4\u5219\u7684\u95F4\u8DDD\u53C2\u6570","Move Component,The way Track Follows":"\u79FB\u52A8\u5143\u4EF6\uFF0C\u5BFC\u7EBF\u8DDF\u968F\u65B9\u5F0F","Stay Connected,Disconnect While Pressing Ctrl + Alt Key":"\u4FDD\u6301\u8FDE\u63A5\uFF0C\u6309\u4F4FCtrl+Alt\u65AD\u5F00\u8FDE\u63A5","Disconnect,Stay Connected While Pressing Ctrl + Alt Key":"\u65AD\u5F00\u8FDE\u63A5\uFF0C\u6309\u4F4FCtrl+Alt\u4FDD\u6301\u8FDE\u63A5","[Default]":"[\u9ED8\u8BA4]","Project Title":"\u5DE5\u7A0B\u6807\u9898","Borard Title":"\u677F\u5B50\u6807\u9898","PCB Title":"PCB \u6807\u9898","Borard Size":"\u677F\u5B50\u5C3A\u5BF8",CopperAreas:"\u94FA\u94DC\u533A\u57DF","Pick and Place":"\u5750\u6807","Footprint Center":"\u5C01\u88C5\u4E2D\u5FC3","Footprint Origin":"\u5C01\u88C5\u539F\u70B9","Pad No.1":"1\u53F7\u710A\u76D8","Export Component Pin Count":"\u5BFC\u51FA\u5143\u4EF6\u5F15\u811A\u6570","Mirror the coordinates of the components on the buttom side (Some SMT manuafacturer may need it, while JLCPCB does not)":"\u955C\u50CF\u5E95\u5C42\u5143\u4EF6\u5750\u6807(\u4EC5\u90E8\u5206\u8D34\u7247\u4EA7\u5546\u9700\u8981\uFF0C\u5609\u7ACB\u521B\u4E0D\u9700\u8981\u52FE\u9009)","Include panelized components' coordinates":"\u5305\u542B\u62FC\u677F\u540E\u7684\u5750\u6807\u6587\u4EF6","Text/Image":"\u6587\u672C/\u56FE\u7247","Convert to PCB":"\u8F6C\u5230PCB",The:"\u8BE5","will be disconnected from the source":"\u5C06\u88AB\u65AD\u5F00\u4E0E\u5176\u6765\u6E90\u7684\u5173\u8054",Uploaded:"\u5DF2\u4E0A\u4F20",Uploading:"\u4E0A\u4F20\u4E2D","Waiting to Upload":"\u5F85\u4E0A\u4F20","Upload Failed":"\u4E0A\u4F20\u5931\u8D25","Upload Success":"\u4E0A\u4F20\u6210\u529F","Re Upload":"\u91CD\u65B0\u4E0A\u4F20","Unknown Status":"\u672A\u77E5\u72B6\u6001","Unknown type: {0}":"\u672A\u77E5\u7C7B\u578B\uFF1A{0}","Unknown Mistakes":"\u672A\u77E5\u9519\u8BEF","Created successfully!":"\u521B\u5EFA\u6210\u529F\uFF01","Are you sure you want to delete?":"\u786E\u5B9A\u8981\u5220\u9664\uFF1F","Are you sure you want to delete this item?":"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E00\u9879\uFF1F","Are you sure you want to clear this item?":"\u786E\u5B9A\u8981\u6E05\u7A7A\u8FD9\u4E00\u9879\uFF1F","Are you sure you want to delete this path?":"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E00\u8DEF\u5F84\uFF1F","Whether to update all attributes of the same package in the canvas?":"\u662F\u5426\u66F4\u65B0\u753B\u5E03\u5185\u6240\u6709\u540C\u5C01\u88C5\u7684\u5C5E\u6027\uFF1F","There are repeated copper names":"\u6709\u91CD\u590D\u94FA\u94DC\u540D","The name cannot be empty, please modify":"\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A, \u8BF7\u4FEE\u6539","The name already exists, please modify":"\u540D\u79F0\u5DF2\u7ECF\u5B58\u5728, \u8BF7\u4FEE\u6539","When undoing/redoing, it was found that the rule name {name} does not exist, and the {type} rule in the constraint region has been cleared":"\u64A4\u9500/\u91CD\u505A\u65F6\u53D1\u73B0\u89C4\u5219\u540D\u79F0{name}\u4E0D\u5B58\u5728\uFF0C\u5DF2\u6E05\u7A7A\u7EA6\u675F\u533A\u57DF\u7684{type}\u89C4\u5219","Already change the via network,whether to change the network of the wire connected to the via synchronously?":"\u5DF2\u53D8\u66F4\u8FC7\u5B54\u7F51\u7EDC\uFF0C\u662F\u5426\u540C\u6B65\u53D8\u66F4\u4E0E\u8FC7\u5B54\u76F8\u8FDE\u5BFC\u7EBF\u7684\u7F51\u7EDC\uFF1F","This action will\xA0Make the component\xA0flip on the current layer,Do you want to continue?":"\u6B64\u64CD\u4F5C\u5C06\u4F7F\u5143\u4EF6\u5728\u5F53\u524D\u5C42\u7FFB\u8F6C\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","There are locked objects, do you want to unlock them?":"\u5B58\u5728\u88AB\u9501\u5B9A\u7684\u5BF9\u8C61\uFF0C\u662F\u5426\u89E3\u9501\uFF1F","Certain layers of the dragged objects have been locked, do you want to unlock the corresponding layers?":"\u62D6\u52A8\u7684\u7EC4\u5408\u4E2D\u90E8\u5206\u5BF9\u8C61\u7684\u5C42\u88AB\u9501\u5B9A\uFF0C\u662F\u5426\u89E3\u9501\u5BF9\u5E94\u7684\u5C42\uFF1F","No frame can be placed inside the frame":"\u4E0D\u53EF\u5728\u677F\u6846\u5185\u90E8\u518D\u653E\u7F6E\u677F\u6846","Board outline are placed inside the board outline detected, Suggesting convert the internal board outline to slot region\uFF1A":"\u68C0\u6D4B\u5230\u677F\u6846\u5185\u90E8\u5B58\u5728\u677F\u6846\uFF0C\u5EFA\u8BAE\u5C06\u5185\u90E8\u677F\u6846\u8F6C\u4E3A\u6316\u69FD\u533A\u57DF\uFF1A","If the figure is not closed, it will be closed automatically after conversion. Do you want to continue?":"\u8BE5\u56FE\u5F62\u672A\u95ED\u5408\uFF0C\u8F6C\u6362\u540E\u5C06\u81EA\u52A8\u95ED\u5408\u8BE5\u56FE\u5F62\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","Tip: after holding down ALT key, right mouse button moves component model in X and Y direction, middle mouse button moves component model in Z direction, and left mouse button rotates component model":"\u63D0\u793A\uFF1A\u6309\u4F4FAlt\u952E\u540E\uFF0C\u9F20\u6807\u53F3\u952E\u79FB\u52A8\u5143\u4EF6\u6A21\u578BX\u3001Y\u65B9\u5411\uFF0C\u9F20\u6807\u4E2D\u952E\u79FB\u52A8\u5143\u4EF6\u6A21\u578BZ\u65B9\u5411\uFF0C\u9F20\u6807\u5DE6\u952E\u65CB\u8F6C\u5143\u4EF6\u6A21\u578B","Please select a picture":"\u8BF7\u9009\u62E9\u56FE\u7247",supplier:"\u4F9B\u5E94\u5546","supplier-id":"\u4F9B\u5E94\u5546ID","manufacturer-id":"\u4F9B\u5E94\u5546ID","Device Infomation":"\u5668\u4EF6\u4FE1\u606F",Infomation:"\u6D88\u606F\u63D0\u793A","Property/Property Value":"\u5C5E\u6027/\u5C5E\u6027\u503C","Position of Text Relative to Package":"\u5C01\u88C5\u6587\u672C\u5C5E\u6027\u4F4D\u7F6E","Left-Top":"\u5DE6\u4E0A","Left-Bottom":"\u5DE6\u4E0B","Right-Top":"\u53F3\u4E0A","Right-Bottom":"\u53F3\u4E0B",Priority:"\u4F18\u5148\u7EA7","Tip:system will copper area in order of priority":"\u63D0\u793A\uFF1A\u7CFB\u7EDF\u5C06\u6309\u7167\u4F18\u5148\u7EA7\u6765\u6267\u884C\u94FA\u94DC","Tip: When rebuilding multiple copper zones, the system will pour copper in order of priority number from small to large":"\u63D0\u793A\uFF1A\u91CD\u5EFA\u591A\u4E2A\u94FA\u94DC\u65F6\uFF0C\u7CFB\u7EDF\u5C06\u6309\u7167\u4F18\u5148\u7EA7\u6570\u5B57\u4ECE\u5C0F\u5230\u5927\u6765\u6267\u884C\u94FA\u94DC","Lib Categoray":"\u5E93\u7C7B\u522B","categoray name":"\u5206\u7C7B\u540D\u79F0","Empty list":"\u7A7A\u5217\u8868","No Results!":"\u6682\u65E0\u7ED3\u679C\uFF01","Do not save":"\u4E0D\u4FDD\u5B58","Whether to save current page configuration?":"\u662F\u5426\u4FDD\u5B58\u5F53\u524D\u9875\u914D\u7F6E\uFF1F","Always Show Cross Cursor":"\u59CB\u7EC8\u663E\u793A\u5341\u5B57\u5149\u6807","Wire Drawing Type":"\u5BFC\u7EBF\u7ED8\u5236\u6A21\u5F0F","Right-Click Turn Corner, Left-Click End":"\u53F3\u952E\u62D0\u89D2\uFF0C\u5DE6\u952E\u7ED3\u675F","Left-Click Turn Corner, Right-Click End":"\u5DE6\u952E\u62D0\u89D2\uFF0C\u53F3\u952E\u7ED3\u675F","System Error":"\u7CFB\u7EDF\u9519\u8BEF","System error!":"\u7CFB\u7EDF\u9519\u8BEF\uFF01","Add Item":"\u65B0\u589E",Describe:"\u63CF\u8FF0","Before import":"\u5BFC\u5165\u524D","After import":"\u5BFC\u5165\u540E","@@import_change":{Action:"\u52A8\u4F5C","Project Owner":"\u5DE5\u7A0B\u6240\u6709\u8005"},"Add Component":"\u589E\u52A0\u5143\u4EF6","Remove Component":"\u79FB\u9664\u5143\u4EF6","Update Net":"\u4FEE\u6539\u7F51\u7EDC","Add Property":"\u65B0\u589E\u5C5E\u6027","Update Property":"\u4FEE\u6539\u5C5E\u6027","Modify Device":"\u66FF\u6362\u5668\u4EF6","Modify Component":"\u4FEE\u6539\u5143\u4EF6","Modify Footprint":"\u4FEE\u6539\u5C01\u88C5","Add Design Rule":"\u65B0\u589E\u8BBE\u8BA1\u89C4\u5219","Delete Design Rule":"\u5220\u9664\u8BBE\u8BA1\u89C4\u5219","Modify Design Rule":"\u4FEE\u6539\u8BBE\u8BA1\u89C4\u5219","Design Rule-TrackPhysics":"\u8BBE\u8BA1\u89C4\u5219-\u7269\u7406\u5BFC\u7EBF","Default=Yes":"\u9ED8\u8BA4=\u662F","Default=No":"\u9ED8\u8BA4=\u5426","TrackPhysics:{ruleName}":"\u7269\u7406\u5BFC\u7EBF\uFF1A{ruleName}","Unit={unitName}":"\u5355\u4F4D={unitName}","Stroke-min={val}":"\u7EBF\u5BBD-\u6700\u5C0F={val}","Stroke-default={val}":"\u7EBF\u5BBD-\u9ED8\u8BA4={val}","Stroke-max={val}":"\u7EBF\u5BBD-\u6700\u5927={val}","Stroke-TopLayer-min={val}":"\u7EBF\u5BBD-\u9876\u5C42-\u6700\u5C0F={val}","Stroke-TopLayer-default={val}":"\u7EBF\u5BBD-\u9876\u5C42-\u9ED8\u8BA4={val}","Stroke-TopLayer-max={val}":"\u7EBF\u5BBD-\u9876\u5C42-\u6700\u5927={val}","Stroke-BotLayer-min={val}":"\u7EBF\u5BBD-\u5E95\u5C42-\u6700\u5C0F={val}","Stroke-BotLayer-default={val}":"\u7EBF\u5BBD-\u5E95\u5C42-\u9ED8\u8BA4={val}","Stroke-BotLayer-max={val}":"\u7EBF\u5BBD-\u5E95\u5C42-\u6700\u5927={val}","Stroke-Inner{layerOrder}-min={val}":"\u7EBF\u5BBD-\u5185\u5C42{layerOrder}-\u6700\u5C0F={val}","Stroke-Inner{layerOrder}-default={val}":"\u7EBF\u5BBD-\u5185\u5C42{layerOrder}-\u9ED8\u8BA4={val}","Stroke-Inner{layerOrder}-max={val}":"\u7EBF\u5BBD-\u5185\u5C42{layerOrder}-\u6700\u5927={val}","Add Net Rule":"\u65B0\u589E\u7F51\u7EDC\u89C4\u5219","Delete Net Rule":"\u5220\u9664\u7F51\u7EDC\u89C4\u5219","Modify Net Rule":"\u4FEE\u6539\u7F51\u7EDC\u89C4\u5219","TrackPhysics={ruleName}":"\u7269\u7406\u5BFC\u7EBF={ruleName}","TrackPhysics=default":"\u7269\u7406\u5BFC\u7EBF=\u9ED8\u8BA4","Add Net Class":"\u65B0\u589E\u7F51\u7EDC\u7C7B","Delete Net Class":"\u5220\u9664\u7F51\u7EDC\u7C7B","Modify Net Class":"\u4FEE\u6539\u7F51\u7EDC\u7C7B","Nets={netListStr}":"\u7F51\u7EDC\u8868={netListStr}","Add Equal Length Group":"\u65B0\u589E\u7B49\u957F\u7F51\u7EDC\u7EC4","Delete Equal Length Group":"\u5220\u9664\u7B49\u957F\u7F51\u7EDC\u7EC4","Modify Equal Length Group":"\u4FEE\u6539\u7B49\u957F\u7F51\u7EDC\u7EC4","Net Class":"\u7F51\u7EDC\u7C7B","Equal length group":"\u7B49\u957F\u7F51\u7EDC\u7EC4","Add Differential Pair":"\u65B0\u589E\u5DEE\u5206\u5BF9","Modify Differential Pair":"\u4FEE\u6539\u5DEE\u5206\u5BF9","positiveNet={positiveNet}":"\u6B63\u7F51\u7EDC={positiveNet}","negativeNet={negativeNet}":"\u8D1F\u7F51\u7EDC={negativeNet}","Contains Design Rules":"\u5305\u542B\u8BBE\u8BA1\u89C4\u5219","Unknown unit":"\u672A\u77E5\u5355\u4F4D","Custom unit":"\u81EA\u5B9A\u4E49\u5355\u4F4D","Apply Unit":"\u5E94\u7528\u5355\u4F4D","DXF Layer":"DXF\u5C42","Import Type":"\u5BFC\u5165\u7C7B\u578B","Import Layer":"\u5BFC\u5165\u5C42","Please update the left panel before refreshing the preview!":"\u8BF7\u66F4\u65B0\u5DE6\u4FA7\u9762\u677F\u540E\u518D\u5237\u65B0\u9884\u89C8\uFF01","Update Preview":"\u66F4\u65B0\u9884\u89C8","Scaling Ratio":"\u7F29\u653E\u6BD4\u4F8B","Remove Net Class":"\u79FB\u51FA\u7F51\u7EDC\u7C7B","Didn't parse out the primitives!":"\u6CA1\u6709\u89E3\u6790\u5230\u56FE\u5143!","File parsing failed!":"\u6587\u4EF6\u89E3\u6790\u5931\u8D25\uFF01","Reference Point":"\u53C2\u8003\u70B9","DXF Origin":"DXF\u539F\u70B9","Graphics Center":"\u56FE\u5F62\u4E2D\u5FC3","The exported file is empty, please check the layer or object.":"\u5BFC\u51FA\u6587\u4EF6\u4E3A\u7A7A\uFF0C\u8BF7\u52FE\u9009\u5C42\u6216\u5BF9\u8C61\u3002","Copy as an image":"\u590D\u5236\u4E3A\u56FE\u7247","No selected primitives!":"\u65E0\u9009\u4E2D\u56FE\u5143\uFF01","Select export layer":"\u9009\u62E9\u5BFC\u51FA\u5C42","Select export object":"\u9009\u62E9\u5BFC\u51FA\u5BF9\u8C61","BoardOutLine layer":"\u8FB9\u6846\u5C42","BoardCutout layer":"\u69FD\u5B54\u5C42","Pad drilling layer":"\u710A\u76D8\u94BB\u5B54\u5C42","Via drilling layer":"\u8FC7\u5B54\u94BB\u5B54\u5C42","TopSilk layer":"\u9876\u5C42\u4E1D\u5370\u5C42","BottomSilk layer":"\u5E95\u5C42\u4E1D\u5370\u5C42","TopPasteMask layer":"\u9876\u5C42\u9521\u818F\u5C42","BottomPasteMask layer":"\u5E95\u5C42\u9521\u818F\u5C42","TopSolderMask layer":"\u9876\u5C42\u963B\u710A\u5C42","BottomSolderMask layer":"\u5E95\u5C42\u963B\u710A\u5C42","Inner1 layer":"\u5185\u5C421","Inner2 layer":"\u5185\u5C422","TopLayer Pad":"\u9876\u5C42\u710A\u76D8","BottomLayer Pad":"\u5E95\u5C42\u710A\u76D8","MultiLayer Pad":"\u591A\u5C42\u710A\u76D8","Via drilling":"\u8FC7\u5B54\u94BB\u5B54","Pad drilling":"\u710A\u76D8\u94BB\u5B54","Please check at least one layer that needs to be exported!":"\u8BF7\u52FE\u9009\u81F3\u5C11\u4E00\u9879\u9700\u8981\u5BFC\u51FA\u7684\u5C42","Please check at least one object that needs to be exported!":"\u8BF7\u52FE\u9009\u81F3\u5C11\u4E00\u9879\u9700\u8981\u5BFC\u51FA\u7684\u5BF9\u8C61","Save as (local) need to be saved, do you want to continue?":"\u53E6\u5B58\u4E3A(\u672C\u5730)\u9700\u8981\u4FDD\u5B58\u540E\u8FDB\u884C\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","Copying the page needs to be saved, do you want to continue?":"\u590D\u5236\u56FE\u9875\u9700\u8981\u4FDD\u5B58\u540E\u8FDB\u884C\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","Part Tree":"Part \u6811","Something has not been saved.":"\u6709\u5185\u5BB9\u5C1A\u672A\u4FDD\u5B58\u3002","Ignore and exit":"\u5FFD\u7565\u5E76\u9000\u51FA","Save and exit":"\u4FDD\u5B58\u5E76\u9000\u51FA","Save as symbol":"\u4FDD\u5B58\u4E3A\u7B26\u53F7","Type:":"\u7C7B\u578B:","Title:":"\u6807\u9898:","Update Symbols":"\u66F4\u65B0\u7B26\u53F7","Add/Update Symbol":"\u6DFB\u52A0/\u66F4\u65B0\u7B26\u53F7","Add/Update Footprint":"\u6DFB\u52A0/\u66F4\u65B0\u5C01\u88C5","Symbol name cannot be empty!":"\u7B26\u53F7\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A\uFF01","The project lost the configuration file project.json\uFF01":"\u5DE5\u7A0B\u4E22\u5931\u914D\u7F6E\u6587\u4EF6 project.json\uFF01","Lost the configuration file device.json\uFF01":"\u4E22\u5931\u914D\u7F6E\u6587\u4EF6 device.json\uFF01","Lost the configuration file symbol.json\uFF01":"\u4E22\u5931\u914D\u7F6E\u6587\u4EF6 symbol.json\uFF01","Lost the configuration file footprint.json\uFF01":"\u4E22\u5931\u914D\u7F6E\u6587\u4EF6 footprint.json\uFF01","Lost the configuration file panel-lib.json\uFF01":"\u4E22\u5931\u914D\u7F6E\u6587\u4EF6 panel-lib.json\uFF01","Symbol save as cloud successful!":"\u7B26\u53F7\u53E6\u5B58\u4E3A\u4E91\u7AEF\u6210\u529F\uFF01","Symbol save as cloud failed!":"\u7B26\u53F7\u53E6\u5B58\u4E3A\u4E91\u7AEF\u5931\u8D25\uFF01","Please open the project first!":"\u8BF7\u5148\u6253\u5F00\u4E00\u4E2A\u5DE5\u7A0B\uFF01","Saving project to cloud!":"\u6B63\u5728\u53E6\u5B58\u5DE5\u7A0B\u5230\u4E91\u7AEF!","Project save as success!Open the new project?":"\u5DE5\u7A0B\u53E6\u5B58\u4E3A\u4E91\u7AEF\u6210\u529F\uFF01\u6253\u5F00\u65B0\u5DE5\u7A0B?","Download the symbol file failed!":"\u4E0B\u8F7D\u7B26\u53F7\u6587\u4EF6\u5931\u8D25\uFF01","Title format error!":"\u6807\u9898\u683C\u5F0F\u9519\u8BEF\uFF01","Partition format error!":"\u5206\u7C7B\u683C\u5F0F\u9519\u8BEF\uFF01","import CBB":"\u5BFC\u5165\u590D\u7528\u6A21\u5757","import symbol":"\u5BFC\u5165\u7B26\u53F7","Semicolons are not allowed in tags":"\u6807\u7B7E\u4E2D\u4E0D\u5141\u8BB8\u51FA\u73B0\u5206\u53F7","Failed to obtain project data!":"\u83B7\u53D6\u5DE5\u7A0B\u6570\u636E\u5931\u8D25\uFF01","Failed to obtain CBB data!":"\u83B7\u53D6\u590D\u7528\u6A21\u5757\u5DE5\u7A0B\u6570\u636E\u5931\u8D25\uFF01","Please choose a pcb file":"\u8BF7\u9009\u62E9\u4E00\u4E2A PCB \u6587\u4EF6",'Print\xA0data generated finish, please click "OK" and continue.':"\u6253\u5370\u6570\u636E\u5DF2\u7ECF\u751F\u6210\u5B8C\u6BD5\uFF0C\u8BF7\u70B9\u201C\u786E\u5B9A\u201D\u7EE7\u7EED\u3002","Current Version":"\u5F53\u524D\u7248\u672C","Updated Version":"\u66F4\u65B0\u7248\u672C",dxdOrigin:"\u5B58\u91CF\u5DE5\u7A0B","Please update all symbols of the current tab before editing the project":"\u8BF7\u66F4\u65B0\u5F53\u524D\u9875\u7B7E\u5168\u90E8\u7B26\u53F7\u540E\u518D\u7F16\u8F91\u5DE5\u7A0B","CBB update symbol is not supported at present. It is only used as update symbol prompt":"\u6682\u4E0D\u652F\u6301\u590D\u7528\u6A21\u5757\u66F4\u65B0\u7B26\u53F7\u7684\u64CD\u4F5C\uFF0C\u4EC5\u4F5C\u4E3A\u66F4\u65B0\u63D0\u793A\u4F7F\u7528","Current Value":"\u5F53\u524D\u503C","Target Value":"\u76EE\u6807\u503C",Choose:"\u9009\u62E9","Please select the device that needs to be replaced and the target device!":"\u8BF7\u9009\u62E9\u9700\u8981\u66FF\u6362\u7684\u5668\u4EF6\u548C\u76EE\u6807\u5668\u4EF6\uFF01","Please select the target device!":"\u8BF7\u9009\u62E9\u76EE\u6807\u5668\u4EF6\uFF01","Please select the device that needs to be replaced!":"\u8BF7\u9009\u62E9\u9700\u8981\u66FF\u6362\u7684\u5668\u4EF6\uFF01","Target Device:":"\u76EE\u6807\u5668\u4EF6\uFF1A","Current Device:":"\u5F53\u524D\u5668\u4EF6\uFF1A","Property:":"\u5C5E\u6027\uFF1A","Replacement strategy":"\u66FF\u6362\u7B56\u7565","Merge properties(target first)":"\u5408\u5E76\u5C5E\u6027(\u76EE\u6807\u4F18\u5148)","Merge properties(current first)":"\u5408\u5E76\u5C5E\u6027(\u5F53\u524D\u4F18\u5148)","Empty Value:":"\u7A7A\u503C\uFF1A","Keep not empty value first":"\u4F18\u5148\u4FDD\u7559\u4E0D\u4E3A\u7A7A\u7684\u503C","Keep designator and unique ID":"\u4FDD\u7559\u4F4D\u53F7\u548C\u552F\u4E00ID","Keep current footprint":"\u4FDD\u7559\u5F53\u524D\u5C01\u88C5","Only keep target device\xA0properties":"\u76EE\u6807\u5668\u4EF6\u4E3A\u51C6","Keep current symbol":"\u4FDD\u7559\u5F53\u524D\u7B26\u53F7","Keep current 3D model":"\u4FDD\u7559\u5F53\u524D3D\u6A21\u578B","Key Properties":"\u5173\u952E\u5C5E\u6027","More Properties":"\u66F4\u591A\u5C5E\u6027","Simulation Properties":"\u4EFF\u771F\u5C5E\u6027","Model Binding":"\u6A21\u578B\u7ED1\u5B9A",Keep:"\u4FDD\u7559","No keep":"\u4E0D\u4FDD\u7559","All opened pages":"\u6240\u6709\u6253\u5F00\u9875","Replace all with target symbols":"\u5168\u90E8\u66FF\u6362\u6210\u76EE\u6807\u7B26\u53F7","Merge attributes(Current symbol priority)":"\u5408\u5E76\u5C5E\u6027(\u5F53\u524D\u7B26\u53F7\u4F18\u5148)","Merge attributes(Target symbol priority)":"\u5408\u5E76\u5C5E\u6027(\u76EE\u6807\u7B26\u53F7\u4F18\u5148)","Please select a symbol to replace":"\u8BF7\u9009\u4E2D\u8981\u66FF\u6362\u7684\u7B26\u53F7","Replace successfully!":"\u66FF\u6362\u6210\u529F\uFF01","Create successful!Open the new project?":"\u521B\u5EFA\u6210\u529F\uFF01\u662F\u5426\u6253\u5F00\u65B0\u5DE5\u7A0B\uFF1F","Origin Footprint":"\u539F\u5C01\u88C5","Origin Footprint 1":"\u539F\u5C01\u88C51","Origin Footprint 2":"\u539F\u5C01\u88C52","Origin Footprint 3":"\u539F\u5C01\u88C53","Origin Footprint 4":"\u539F\u5C01\u88C54","Origin Footprint 5":"\u539F\u5C01\u88C55","Origin Footprint 6":"\u539F\u5C01\u88C56","Origin Footprint 7":"\u539F\u5C01\u88C57","Origin Footprint 8":"\u539F\u5C01\u88C58","Origin Footprint 9":"\u539F\u5C01\u88C59","Net {0} Will Merge\uFF0CPlease Choose A NetLabel For The Merged Net":"\u7F51\u7EDC{0}\u5C06\u5408\u5E76\uFF0C\u8BF7\u9009\u62E9\u4E00\u4E2A\u7F51\u7EDC\u540D\u7528\u4E8E\u5408\u5E76\u540E\u7684\u7F51\u7EDC","The name does not meet the rule of bus":"\u540D\u79F0\u4E0D\u7B26\u5408\u603B\u7EBF\u547D\u540D\u89C4\u5219","Bus name cannot be empty":"\u603B\u7EBF\u540D\u4E0D\u53EF\u7F6E\u7A7A","Invalid characters exist in the name":"\u540D\u79F0\u5B58\u5728\u975E\u6CD5\u5B57\u7B26","Character(wire allows capital letters, numbers, and /_~+-.)":"\u5B57\u7B26(\u5BFC\u7EBF\u5141\u8BB8\u5927\u5199\u5B57\u6BCD\u3001\u6570\u5B57\u53CA/_~+-.)","The name out of range":"\u540D\u79F0\u8D85\u51FA\u8303\u56F4","Can not place netlabel":"\u4E0D\u80FD\u653E\u7F6E\u7F51\u7EDC\u6807\u7B7E","The name is inconsistent width Global Net Name":"\u540D\u79F0\u4E0E\u5168\u5C40\u7F51\u7EDC\u540D\u4E0D\u4E00\u81F4","Different types of documents are not allowed to paste!":"\u4E0D\u540C\u7C7B\u578B\u6587\u6863\u4E4B\u95F4\u4E0D\u5141\u8BB8\u7C98\u8D34!","This is now the final part of the symbol.Do you need to create a new part?":"\u5F53\u524D\u662F\u7B26\u53F7\u7684\u6700\u540E\u4E00\u4E2A\u90E8\u4EF6\uFF0C\u9700\u8981\u65B0\u5EFA\u4E00\u4E2A\u90E8\u4EF6\u5417?","The current Part is the first part!":"\u5F53\u524DPart\u662F\u7B2C\u4E00\u4E2APart!","Open up illegal project!":"\u6253\u5F00\u975E\u6CD5\u5DE5\u7A0B\uFF01","Close an illegal project!":"\u5173\u95ED\u975E\u6CD5\u5DE5\u7A0B\uFF01","Download an illegal project!":"\u4E0B\u8F7D\u975E\u6CD5\u5DE5\u7A0B\uFF01","Sync cloud data failed!":"\u540C\u6B65\u4E91\u7AEF\u6570\u636E\u5931\u8D25!","Failed to get data":"\u83B7\u53D6\u6570\u636E\u5931\u8D25","Failed to send data":"\u53D1\u9001\u6570\u636E\u5931\u8D25","Canvas Theme":"\u753B\u5E03\u4E3B\u9898","Layer Theme(Create New Document)":"\u56FE\u5C42\u4E3B\u9898(\u65B0\u5EFA\u6587\u6863)","Canvas/Primitive":"\u753B\u5E03/\u56FE\u5143","Follow Layer":"\u8DDF\u968F\u5C42","Switch Brightness":"\u5207\u6362\u4EAE\u5EA6","Hover Highlight":"\u60AC\u6D6E\u9AD8\u4EAE",Tips:"\u63D0\u793A",Components:"\u5143\u4EF6","Display in Canvas":"\u753B\u5E03\u663E\u793A","Placing device in the schematic page":"\u539F\u7406\u56FE\u653E\u7F6E\u5668\u4EF6","Placing device in the PCB":"PCB\u653E\u7F6E\u5668\u4EF6","Display property name":"\u663E\u793A\u5C5E\u6027\u540D","Display property value":"\u663E\u793A\u5C5E\u6027\u503C","Schematic Page":"\u539F\u7406\u56FE\u9875","Unzip file {title} failed!":"\u6587\u4EF6 {title} \u89E3\u538B\u5931\u8D25!","Pin Shape":"\u5F15\u811A\u5F62\u72B6",outerdiameter:"\u5916\u76F4\u5F84",innerdiameter:"\u5185\u76F4\u5F84",number:"\u7F16\u53F7",layer:"\u5C42","layer-2-layer":"\u5C42\u5230\u5C42",Tagging:"\u6807\u6CE8","test point":"\u6D4B\u8BD5\u70B9","Already exists, cannot be added":"\u5DF2\u5B58\u5728\uFF0C\u4E0D\u53EF\u6DFB\u52A0",'"{0}" Already exists, cannot be added':'"{0}"\u5DF2\u5B58\u5728\uFF0C\u4E0D\u53EF\u6DFB\u52A0',"Invalid name, cannot be added":"\u540D\u79F0\u4E0D\u5408\u6CD5\uFF0C\u4E0D\u53EF\u6DFB\u52A0",'"{0}" Invalid name, cannot be added':'"{0}"\u540D\u79F0\u4E0D\u5408\u6CD5\uFF0C\u4E0D\u53EF\u6DFB\u52A0',"has duplicate values":"\u5B58\u5728\u91CD\u590D\u7684\u503C","Please enter pinName or pinNumber":"\u8BF7\u8F93\u5165\u5F15\u811A\u540D\u79F0/\u5F15\u811A\u7F16\u53F7","Only letters and numbers can be entered for the Pin Number":"\u5F15\u811A\u7F16\u53F7\u53EA\u80FD\u8F93\u5165\u5B57\u6BCD\u548C\u6570\u5B57","Symbol Pin cannot be copy or cut!":"\u7B26\u53F7\u5F15\u811A\u4E0D\u80FD\u5355\u72EC\u590D\u5236\u6216\u526A\u5207","You have not logged in yet, and the modification will not be saved!":"\u60A8\u8FD8\u6CA1\u6709\u767B\u5F55\uFF0C\u4FEE\u6539\u7684\u4E0D\u4F1A\u4FDD\u5B58\u54E6!","You are about to connect net {oldNet} to global signal {globalNet}. Net {oldNet} will be renamed to {globalNet}.":"\u7F51\u7EDC\u540D {oldNet} \u4F1A\u88AB\u91CD\u547D\u540D {globalNet}\u3002","The name of the netport ({portName}) is inconsistent with the name of the net ({netName}). Do you change the name of the net to {portName}?":"\u7F51\u7EDC\u7AEF\u53E3({portName})\u4E0E\u6240\u8FDE\u7F51\u7EDC({netName})\u540D\u79F0\u4E0D\u4E00\u81F4\uFF0C\u662F\u5426\u5C06\u6240\u8FDE\u7F51\u7EDC\u7684\u540D\u79F0\u6539\u4E3A{portName}\uFF1F",'"{value}" is a system-level attribute and cannot be added':'"{value}"\u662F\u7CFB\u7EDF\u7EA7\u5C5E\u6027\uFF0C\u4E0D\u53EF\u6DFB\u52A0','Property names can not have an "."':"\u5C5E\u6027\u540D\u4E0D\u80FD\u542B\u6709\u201C.\u201D","Test Point Property":"\u6D4B\u8BD5\u70B9\u5C5E\u6027",Query:"\u67E5\u8BE2","The number of rows and columns cannot be set to 1 simultaneously":"\u884C\u6570\u6216\u5217\u6570\u4E0D\u80FD\u540C\u65F6\u8BBE\u7F6E\u4E3A1","Please select the object to be used:":"\u8BF7\u9009\u62E9\u9700\u8981\u4F5C\u7528\u7684\u5BF9\u8C61\uFF1A","Please select the situation as you want":"\u8BF7\u9009\u62E9\u9700\u8981\u5C5E\u6027\u663E\u793A\u5728\u753B\u5E03\u4E0A\u7684\u573A\u666F","The project has been opened in another window!":"\u8BE5\u5DE5\u7A0B\u5DF2\u5728\u5176\u4ED6\u7A97\u53E3\u6253\u5F00\uFF01","Regular Expression Illegal!":"\u6B63\u5219\u8868\u8FBE\u5F0F\u4E0D\u6B63\u786E\uFF01","Cancel Find":"\u53D6\u6D88\u67E5\u627E","Are you sure to replace as blank?":"\u66FF\u6362\u4E3A\u76EE\u6807\u503C\u4E3A\u7A7A\uFF0C\u662F\u5426\u9700\u8981\u6267\u884C\u66FF\u6362\uFF1F","Not ignoring case":"\u533A\u5206\u5927\u5C0F\u5199","Match case":"\u533A\u5206\u5927\u5C0F\u5199","Match Case":"\u533A\u5206\u5927\u5C0F\u5199","Use expression":"\u4F7F\u7528\u8868\u8FBE\u5F0F","Use Expression":"\u4F7F\u7528\u8868\u8FBE\u5F0F","Save in the cloud successfully!":"\u4E91\u7AEF\u4FDD\u5B58\u6210\u529F\uFF01","Failed saved in the cloud!":"\u4E91\u7AEF\u4FDD\u5B58\u5931\u8D25\uFF01","Add Pin>> {info2}":"\u6DFB\u52A0\u5F15\u811A>> {info2}","Delete Pin>> {info2}":"\u5220\u9664\u5F15\u811A>> {info2}","Update Pin>> {info2}":"\u66F4\u65B0\u5F15\u811A>> {info2}","Net Port deleted":"\u7F51\u7EDC\u7AEF\u53E3\u5DF2\u5220\u9664","Net Port added":"\u7F51\u7EDC\u7AEF\u53E3\u5DF2\u6DFB\u52A0","Net Port updated":"\u7F51\u7EDC\u7AEF\u53E3\u5DF2\u66F4\u65B0","Delete Net Port/{info2}:":"\u5220\u9664\u7F51\u7EDC\u7AEF\u53E3/{info2}","Add Net Port/{info2}:":"\u6DFB\u52A0\u7F51\u7EDC\u7AEF\u53E3/{info2}","Update Net Port/{info2}:":"\u66F4\u65B0\u7F51\u7EDC\u7AEF\u53E3/{info2}","Delete Net Port{info}":"\u5220\u9664\u7F51\u7EDC\u7AEF\u53E3{info}","BlockSymbol : {info0}'s Pins, {info1} type mismatch with bottom Schematic's Netport {info2}":"\u6A21\u5757 : {info0}\u7684\u5F15\u811A, {info1} \u4E0E\u5E95\u5C42\u539F\u7406\u56FE\u7684\u7684\u7F51\u7EDC\u7AEF\u53E3 {info2} \u7684\u7C7B\u578B\u4E0D\u5BF9\u5E94","Block Symbol's pins type mismatch with bottom schematic's netports":"\u6A21\u5757\u5F15\u811A\u4E0E\u5E95\u5C42\u539F\u7406\u56FE\u7684\u7684\u7F51\u7EDC\u7AEF\u53E3\u7C7B\u578B\u4E0D\u5BF9\u5E94","BlockSymbol : {info0}'s bottom Schematic's Netport, {info1} have no matching Pins in BlockSymbol":"\u6A21\u5757 : {info0}\u7684\u5E95\u5C42\u539F\u7406\u56FE\u7AEF\u53E3, {info1}\u5728\u6A21\u5757\u7B26\u53F7\u4E0A\u6CA1\u6709\u5BF9\u5E94\u7684\u5F15\u811A","BlockSymbol : {info0}'s Pins, {info1} have no matching Netport in bottom Schematic":"\u6A21\u5757 : {info0}\u7684\u5F15\u811A\uFF0C{info1}\u5728\u5E95\u5C42\u539F\u7406\u56FE\u6CA1\u6709\u5BF9\u5E94\u7684\u7AEF\u53E3","Incorrect classification format!":"\u5206\u7C7B\u683C\u5F0F\u9519\u8BEF!","Tip: when the differential pair rule conflicts with the safe spacing rule and the track rule, the differential pair rule shall prevail":"\u63D0\u793A\uFF1A\u5F53\u5DEE\u5206\u5BF9\u89C4\u5219\u4E0E\u5B89\u5168\u95F4\u8DDD\u89C4\u5219\u548C\u5BFC\u7EBF\u89C4\u5219\u51B2\u7A81\u65F6\uFF0C\u4EE5\u5DEE\u5206\u89C4\u5219\u4E3A\u51C6","Reserve Designators when Pasting:":"\u7C98\u8D34\u65F6\u4FDD\u7559\u4F4D\u53F7:","Draw Using Dynamic Input Box":"\u7ED8\u5236\u65F6\u4F7F\u7528\u52A8\u6001\u8F93\u5165\u6846","No need to paste data!":"\u6CA1\u6709\u9700\u8981\u7C98\u8D34\u6570\u636E\uFF01","The project has been published, but after editing, the project becomes unpublished. Do you want to continue?":"\u8BE5\u5DE5\u7A0B\u5DF2\u53D1\u5E03\uFF0C\u7F16\u8F91\u540E\u5DE5\u7A0B\u8F6C\u4E3A\u672A\u53D1\u5E03\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","The project has been released and is currently in a read-only state. It is normal for some operations to prompt that there is no permission or an error. If you want to edit the project, you need to save the project as a draft box on the open source platform.":"\u8BE5\u5DE5\u7A0B\u5DF2\u53D1\u5E03\uFF0C\u76EE\u524D\u4E3A\u53EA\u8BFB\u72B6\u6001\uFF0C\u90E8\u5206\u64CD\u4F5C\u63D0\u793A\u65E0\u6743\u9650\u6216\u62A5\u9519\u662F\u6B63\u5E38\u7684\uFF0C\u82E5\u8981\u7F16\u8F91\u5DE5\u7A0B\uFF0C\u9700\u5728\u5F00\u6E90\u5E73\u53F0\u5C06\u5DE5\u7A0B\u4FDD\u5B58\u4E3A\u8349\u7A3F\u7BB1\u3002","Unlock/Lock File":"\u89E3\u9501/\u9501\u5B9A\u6587\u4EF6","Import Netlist...":"\u5BFC\u5165\u7F51\u8868...","PCB Fabrication File(Gerber)...":"PCB\u5236\u677F\u6587\u4EF6(Gerber)...","PCB Fabrication File(Gerber)(old)...":"PCB\u5236\u677F\u6587\u4EF6(Gerber)(\u65E7)...","Pick and Place File(CSV)...":"\u5750\u6807\u6587\u4EF6(CSV)...","Pad Pairs":"\u710A\u76D8\u5BF9","Add Routing":"\u6DFB\u52A0\u8D70\u7EBF","Add Via":"\u6DFB\u52A0\u8FC7\u5B54","Add Test Point":"\u6DFB\u52A0\u6D4B\u8BD5\u70B9","Add Node":"\u6DFB\u52A0\u8282\u70B9","Add Arc":"\u6DFB\u52A0\u5706\u5F27","Add Track":"\u6DFB\u52A0\u5BFC\u7EBF","Add Solder Mask":"\u6DFB\u52A0\u963B\u710A\u533A",Alignment:"\u5BF9\u9F50","Hide Selected Copper Fills":"\u9690\u85CF\u6240\u9009\u94FA\u94DC\u586B\u5145","Show Selected Copper Fills":"\u663E\u793A\u6240\u9009\u94FA\u94DC\u586B\u5145","Hide All Copper":"\u9690\u85CF\u5168\u90E8\u94FA\u94DC","Show All Copper":"\u663E\u793A\u5168\u90E8\u94FA\u94DC","Common Grid Setting...":"\u5E38\u7528\u7F51\u683C\u8BBE\u7F6E...","Common Grid/Snap Setting...":"\u5E38\u7528\u7F51\u683C/\u6805\u683C\u8BBE\u7F6E...","Grid Range Setting(Polar coordinate)...":"\u7F51\u683C\u8303\u56F4\u8BBE\u7F6E(\u6781\u5750\u6807)...","Grid Range Setting(Polar coordinate)":"\u7F51\u683C\u8303\u56F4\u8BBE\u7F6E(\u6781\u5750\u6807)","Angle, Radius":"\u89D2\u5EA6,\u534A\u5F84","Move Node":"\u79FB\u52A8\u8282\u70B9","Edit Footprint":"\u7F16\u8F91\u5C01\u88C5","Edit Footprint in Library":"\u4ECE\u5143\u4EF6\u5E93\u66F4\u65B0\u5C01\u88C5","Footprint Property":"\u5C01\u88C5\u5C5E\u6027","Component-ATTR":"\u5143\u4EF6","Place Blind/Buried Via":"\u653E\u7F6E\u76F2\u5B54\u6216\u57CB\u5B54","Show Ratline":"\u663E\u793A\u98DE\u7EBF","Hide Ratline":"\u9690\u85CF\u98DE\u7EBF","Add Solder Mask Region":"\u6DFB\u52A0\u963B\u710A\u533A\u57DF","Edit Symbol in Library":"\u7F16\u8F91\u7B26\u53F7\u5E93","Flip to Opposite Side":"\u7FFB\u9762","Common Size Setting...":"\u5E38\u7528\u5C3A\u5BF8\u8BBE\u7F6E...","Enter Via Size...":"\u8F93\u5165\u8FC7\u5B54\u5C3A\u5BF8...","Via Type":"\u8FC7\u5B54\u7C7B\u578B","Via Type Setting...":"\u8FC7\u5B54\u7C7B\u578B\u8BBE\u7F6E...",Finish:"\u5B8C\u6210",Backspace:"\u56DE\u9000",Arrays:"\u9635\u5217\u5BF9\u8C61","Detaching Wires From Devices":"\u53D6\u6D88\u9644\u7740\u5668\u4EF6\u7684\u5BFC\u7EBF","Unroute Component Connections":"\u6E05\u9664\u5143\u4EF6\u8FDE\u63A5","Selected Element":"\u9009\u4E2D\u7684\u5143\u7D20","Select Overlap":"\u9009\u62E9\u91CD\u53E0","Insert Node":"\u63D2\u5165\u8282\u70B9","Please select a node to insert":"\u8BF7\u9009\u62E9\u63D2\u5165\u7684\u8282\u70B9","Edit Outline":"\u7F16\u8F91\u8F6E\u5ED3","Generate 3D Shell - Outline":"\u751F\u62103D\u5916\u58F3 - \u8FB9\u6846","Extend the distance":"\u5916\u6269\u8DDD\u79BB","Change Layer":"\u6362\u5C42","Flip Path":"\u7FFB\u8F6C\u8DEF\u5F84","Select Net":"\u9009\u62E9\u7F51\u7EDC","Edit Rule":"\u7F16\u8F91\u89C4\u5219",Corner:"\u62D0\u89D2","Group of Object":"\u6240\u5728\u7684\u7EC4\u5408","Edit Device":"\u7F16\u8F91\u5668\u4EF6","Save to The Library...":"\u4FDD\u5B58\u5230\u5E93\u4E2D...","Replace 3D Model":"\u66FF\u63623D\u6A21\u578B","3D Model Save as":"3D\u6A21\u578B\u53E6\u5B58\u4E3A","Modify Information...":"\u4FEE\u6539\u4FE1\u606F...","Merge as a Closed Line":"\u5408\u5E76\u4E3A\u95ED\u5408\u7EBF\u6761","Dispersed as Independent Line":"\u5206\u6563\u4E3A\u72EC\u7ACB\u7EBF\u6761","{0} line Merge succeeded":"{0} \u4E2A\u7EBF\u6761\u5408\u5E76\u6210\u529F","{0} pad convert completed":"{0} \u4E2A\u710A\u76D8\u8F6C\u6362\u5B8C\u6210","{0} line dispersed succeeded":"{0} \u4E2A\u7EBF\u6761\u5206\u6563\u6210\u529F","Multiple line segments have the same endpoint,cannot be closed":"\u591A\u4E2A\u7EBF\u6BB5\u7AEF\u70B9\u91CD\u5408\uFF0C\u65E0\u6CD5\u95ED\u5408","Add Fillet":"\u6DFB\u52A0\u5706\u89D2","Add Fillet...":"\u6DFB\u52A0\u5706\u89D2...","Add Chamfer":"\u6DFB\u52A0\u659C\u89D2","Add Chamfer...":"\u6DFB\u52A0\u659C\u89D2...","Unroute Attached Segments":"\u6E05\u9664\u9644\u7740\u7684\u5BFC\u7EBF\u6BB5","Design Rule":"\u8BBE\u8BA1\u89C4\u5219","Message Level":"\u6D88\u606F\u7B49\u7EA7","Fatal Error":"\u81F4\u547D\u9519\u8BEF",Note:"\u63D0\u9192",Checks:"\u68C0\u67E5\u9879","Apply only selected":"\u4EC5\u5E94\u7528\u9009\u4E2D","Apply only selected components":"\u4EC5\u5E94\u7528\u9009\u4E2D\u5143\u4EF6","Apply current PCB":"\u5E94\u7528\u5F53\u524DPCB","Apply the whole project":"\u5E94\u7528\u6574\u4E2A\u5DE5\u7A0B","Show updates to public library":"\u663E\u793A\u516C\u5F00\u5E93\u7684\u66F4\u65B0","Show the current version is later than the updated version of the update":"\u663E\u793A\u5F53\u524D\u7248\u672C\u665A\u4E8E\u66F4\u65B0\u7248\u672C\u7684\u66F4\u65B0","Link selected associated block symbols, schematics and PCB":"\u8054\u52A8\u9009\u4E2D\u5173\u8054\u7684\u6A21\u5757\u7B26\u53F7\u3001\u539F\u7406\u56FE\u548CPCB","Device library duplicate name or illegal name":"\u5668\u4EF6\u5E93\u91CD\u540D\u6216\u975E\u6CD5\u540D\u79F0","Symbol library duplicate name or illegal name":"\u7B26\u53F7\u5E93\u91CD\u540D\u6216\u975E\u6CD5\u540D\u79F0","Symbol library, device library duplicate name or illegal name":"\u7B26\u53F7\u5E93\u3001\u5668\u4EF6\u5E93\u91CD\u540D\u6216\u975E\u6CD5\u540D\u79F0","Import options":"\u5BFC\u5165\u9009\u9879","New symbol and new device":"\u65B0\u5EFA\u7B26\u53F7\u4E0E\u5668\u4EF6","New symbol, footprint and device":"\u65B0\u5EFA\u7B26\u53F7\uFF0C\u5C01\u88C5\u4E0E\u5668\u4EF6","New devices, symbols and footprints":"\u65B0\u5EFA\u5668\u4EF6\uFF0C\u7B26\u53F7\u4E0E\u5C01\u88C5","New footprints only":"\u4EC5\u65B0\u5EFA\u5C01\u88C5","New devices only":"\u4EC5\u65B0\u5EFA\u5668\u4EF6","New symbols only":"\u4EC5\u65B0\u5EFA\u7B26\u53F7","Library path":"\u5E93\u8DEF\u5F84","Libraries path":"\u5E93\u8DEF\u5F84","Priority library path":"\u4F18\u5148\u5E93\u8DEF\u5F84","Violation of DRC rules, whether to ignore?":"\u8FDD\u53CDDRC\u89C4\u5219\uFF0C\u662F\u5426\u5FFD\u7565\uFF1F","Symbol/Footprint Save as":"\u7B26\u53F7/\u5C01\u88C5\u53E6\u5B58\u4E3A","The symbol/footprint with the same name already exists in the library to be saved as, please select the operation on the document with the same name":"\u8981\u53E6\u5B58\u4E3A\u7684\u5E93\u4E2D\u5DF2\u5B58\u5728\u540C\u540D\u7B26\u53F7/\u5C01\u88C5\uFF0C\u8BF7\u9009\u62E9\u5BF9\u540C\u540D\u6587\u6863\u7684\u64CD\u4F5C","Use this symbol/footprint of the same name to link to the device":"\u4F7F\u7528\u8FD9\u4E2A\u540C\u540D\u7684\u7B26\u53F7/\u5C01\u88C5\u5173\u8054\u5230\u5668\u4EF6","Replace the symbol/footprint with the target document and link to the device":"\u5C06\u7B26\u53F7/\u5C01\u88C5\u66FF\u6362\u4E3A\u76EE\u6807\u6587\u6863\u540E\u5173\u8054\u5230\u5668\u4EF6","Link a new symbol/footprint copy to the device(the copy will add a suffix of _n to the name)":"\u65B0\u5EFA\u7B26\u53F7/\u5C01\u88C5\u526F\u672C\u5173\u8054\u5230\u5668\u4EF6(\u526F\u672C\u4F1A\u5728\u540D\u79F0\u4E2D\u6DFB\u52A0_n\u7684\u540E\u7F00)","Document with The Same Name":"\u540C\u540D\u6587\u6863","Target Document":"\u76EE\u6807\u6587\u6863","Same Name":"\u540C\u540D\u540D\u79F0","Linked Device":"\u5F15\u7528\u5668\u4EF6","Common Font Family":"\u5E38\u7528\u5B57\u4F53",Product:"\u4EA7\u54C1","Online editor":"\u5728\u7EBF\u7F16\u8F91\u5668","Desktop Client":"\u684C\u9762\u5BA2\u6237\u7AEF","Education Index":"\u6559\u80B2\u7248","Part Store":"\u5143\u4EF6\u8D2D\u4E70- \u7ACB\u521B\u5546\u57CE",PcbManufacturing:"PCB\u5B9A\u5236 - \u5609\u7ACB\u521B",Source:"\u6E90","Oshwhub Square":"\u5F00\u6E90\u5E7F\u573A","Contact Us":"\u8054\u7CFB\u6211\u4EEC","Schematic Projects":"\u539F\u7406\u56FE\u5DE5\u7A0B","New Schematic Project":"\u65B0\u5EFA\u539F\u7406\u56FE\u5DE5\u7A0B","New Package":"\u65B0\u5EFA\u5C01\u88C5","New Footprint":"\u65B0\u5EFA\u5C01\u88C5","Import Standard":"\u5BFC\u5165\u6807\u51C6\u7248","Migrate Standard":"\u8FC1\u79FB\u6807\u51C6\u7248","Migrate Standard...":"\u8FC1\u79FB\u6807\u51C6\u7248...","Import Professional":"\u5BFC\u5165\u4E13\u4E1A\u7248","Import Document":"\u5BFC\u5165\u6587\u6863","Import Other EDA":"\u5BFC\u5165\u5176\u4ED6EDA","Import Altium":"\u5BFC\u5165Altium","Import Allegro/OrCad":"\u5BFC\u5165Allegro/OrCad","Import KiCad":"\u5BFC\u5165KiCad","Import Other":"\u5BFC\u5165\u5176\u4ED6","Recent Design":"\u6700\u8FD1\u8BBE\u8BA1","Recent Project":"\u6700\u8FD1\u5DE5\u7A0B","Not Found The File":"\u6CA1\u6709\u627E\u5230\u6587\u4EF6","Last Update User":"\u6700\u540E\u66F4\u65B0\u4EBA","Add Tools/Service":"\u6DFB\u52A0\u5DE5\u5177/\u670D\u52A1",Icon:"\u56FE\u6807",URL:"\u7F51\u5740","Replace Icon":"\u66F4\u6362\u56FE\u6807","Project List":"\u5DE5\u7A0B\u5217\u8868","Icon Size recommended 48*48px":"\u56FE\u6807\u5C3A\u5BF8\u5EFA\u8BAE48*48px","Please enter name of the project":"\u8BF7\u8F93\u5165\u5DE5\u7A0B\u540D","Please enter a name":"\u8BF7\u8F93\u5165\u540D\u79F0","Please enter URL":"\u8BF7\u8F93\u5165URL","Cannot delete Unknown Service!":"\u4E0D\u80FD\u5220\u9664\u4E0D\u5B58\u5728\u7684\u670D\u52A1\uFF01","Belongs to":"\u5F52\u5C5E\u4E8E","Last Modified by":"\u6700\u8FD1\u66F4\u65B0\u4EBA","@@home":{"No Data!":"\u6682\u65E0\u6570\u636E"},"JLCEDA(Standard) (*.zip, *.json)":"\u5609\u7ACB\u521BEDA(\u6807\u51C6\u7248) (*.zip, *.json)","EasyEDA(Standard) (*.zip, *.json)":"\u5609\u7ACB\u521BEDA(\u6807\u51C6\u7248) (*.zip, *.json)","JLCEDA(Professional) (*.zip,*.epro,*.elibz,*.elibz2,*.esym,*.efoo,*.epanl)":"\u5609\u7ACB\u521BEDA(\u4E13\u4E1A\u7248) (*.zip,*.epro,*.elibz,*.elibz2,*.esym,*.efoo,*.epanl)","JLCEDA(Professional) (*.zip,*.epro,*.epro2,*.elibz,*.elibz2,*.esym,*.efoo,*.epanl)":"\u5609\u7ACB\u521BEDA(\u4E13\u4E1A\u7248) (*.zip,*.epro,*.epro2,*.elibz,*.elibz2,*.esym,*.efoo,*.epanl)","EasyEDA(Professional) (*.zip, *.esym,*.efoo)":"\u5609\u7ACB\u521BEDA(\u4E13\u4E1A\u7248) (*.zip, *.esym,*.efoo)","Select Object":"\u9009\u62E9\u5BF9\u8C61","Multiple Objects":"\u591A\u5BF9\u8C61","Absolute Coordinate Command":"\u7EDD\u5BF9\u5750\u6807\u547D\u4EE4","Relative Coordinate Command":"\u76F8\u5BF9\u5750\u6807\u547D\u4EE4","X Direction Relative Coordinate Command":"X\u65B9\u5411\u76F8\u5BF9\u5750\u6807\u547D\u4EE4","Y Direction Relative Coordinate Command":"Y\u65B9\u5411\u76F8\u5BF9\u5750\u6807\u547D\u4EE4","Change Width":"\u4FEE\u6539\u5BBD\u5EA6","Property Name":"\u5C5E\u6027\u540D",'The font family\xA0"{0}" doesn\'t support to set as Inverted\u3002Do you want to set the text font family as another one?':"{0}\u5B57\u4F53\u4E0D\u652F\u6301\u8BBE\u7F6E\u53CD\u76F8\u3002\u662F\u5426\u8BBE\u7F6E\u6587\u672C\u4E3A\u5176\u4ED6\u5B57\u4F53\uFF1F","Cannot found the corresponding schematic":"\u6CA1\u6709\u627E\u5230\u5BF9\u5E94\u7684\u539F\u7406\u56FE","There are polygons with holes that cannot be converted to filled region.":"\u5B58\u5728\u5E26\u6D1E\u7684\u591A\u8FB9\u5F62\uFF0C\u5C06\u65E0\u6CD5\u8F6C\u4E3A\u586B\u5145\u533A\u57DF","Duplicate designators!":"\u4F4D\u53F7\u91CD\u590D\uFF01","Duplicate device title!":"\u5668\u4EF6\u540D\u79F0\u91CD\u590D\uFF01","Duplicate symbol title!":"\u7B26\u53F7\u540D\u79F0\u91CD\u590D\uFF01","Duplicate unique ID!":"\u552F\u4E00ID\u91CD\u590D\uFF01","Please place the component first!":"\u8BF7\u5148\u653E\u7F6E\u5143\u4EF6\uFF01","Open in Workspace":"\u5728\u5DE5\u4F5C\u533A\u6253\u5F00",Quit:"\u9000\u51FA",acrylic:"\u4E9A\u514B\u529B",Acrylic:"\u4E9A\u514B\u529B",Transparent:"\u900F\u660E","Copper Fills":"\u94FA\u94DC\u586B\u5145",Parent:"\u7236\u7EA7","Black Translucent":"\u9ED1\u8272\u534A\u900F\u660E","Glossy Transparent":"\u5149\u9762\u900F\u660E","Frosted Translucent":"\u78E8\u7802\u534A\u900F\u660E","Not Hide(Hide = No)":"\u672A\u9690\u85CF(\u9690\u85CF=\u5426)","Hide(Hide = Yes)":"\u9690\u85CF(\u9690\u85CF=\u662F)","Lock(Lock = Yes)":"\u9501\u5B9A(\u9501\u5B9A=\u662F)","Unlocked(Lock = No)":"\u672A\u9501\u5B9A(\u9501\u5B9A=\u5426)","Fully transparent(Opacity = 0%)":"\u5168\u900F\u660E(\u4E0D\u900F\u660E\u5EA6=0%)","Translucence(100% > Opacity > 0%)":"\u534A\u900F\u660E(100%>\u4E0D\u900F\u660E\u5EA6>0%)","Opacification(Opacity = 100%)":"\u4E0D\u900F\u660E(\u4E0D\u900F\u660E\u5EA6=100%)","Covered(Covered = Yes)":"\u6709\u906E\u6321(\u906E\u6321=\u662F)","No Covered(Covered = No)":"\u65E0\u906E\u6321(\u906E\u6321=\u5426)","White background":"\u767D\u5E95\u72B6\u6001","Have white background":"\u6709\u767D\u5E95","No white background":"\u65E0\u767D\u5E95","Bulge layer":"\u9F13\u5305\u5C42","Transparent control":"\u900F\u660E\u63A7\u5236","Plate and frame layer":"\u677F\u6846\u5C42","Plate and frame hollowed out":"\u677F\u6846\u6316\u7A7A","Glue hollowed out back":"\u80CC\u80F6\u6316\u7A7A",Boundary:"\u8FB9\u754C",Unlocked:"\u672A\u9501\u5B9A",Pellucidity:"\u900F\u660E\u72B6\u6001","The element type":"\u5143\u7D20\u7C7B\u578B","Filter Type":"\u8FC7\u6EE4\u7C7B\u578B","Panel Fabrication File":"\u9762\u677F\u5236\u9020\u6587\u4EF6...",Valid:"\u751F\u6548","No (The production file is not output)":"\u5426(\u751F\u4EA7\u6587\u4EF6\u4E0D\u8F93\u51FA)","Valid(Valid = Yes)":"\u751F\u6548(\u751F\u6548=\u662F)","Not Valid(Valid = No)":"\u672A\u751F\u6548(\u751F\u6548=\u5426)","Found abnormal data, components {0} lost the binding symbol. Please delete these components, and placing again.":"\u53D1\u73B0\u5F02\u5E38\u6570\u636E\uFF0C\u5143\u4EF6 {0} \u7ED1\u5B9A\u7684\u7B26\u53F7\u4E22\u5931\u3002\u8BF7\u5220\u9664\u8BE5\u5143\u4EF6\uFF0C\u518D\u91CD\u65B0\u653E\u7F6E\u3002","When some content is not uploaded, the project is edited and saved. Please select the operation you need.":"\u90E8\u5206\u5185\u5BB9\u672A\u4E0A\u4F20\u65F6\uFF0C\u5DE5\u7A0B\u88AB\u7F16\u8F91\u4FDD\u5B58\uFF0C\u8BF7\u9009\u62E9\u60A8\u9700\u8981\u7684\u64CD\u4F5C\u3002","Unuploaded content:":"\u672A\u4E0A\u4F20\u7684\u5185\u5BB9\uFF1A","Tip: Reload project from cloud will backup locad data to locad automatically.":"\u63D0\u793A\uFF1A\u4ECE\u4E91\u7AEF\u91CD\u65B0\u52A0\u8F7D\u5DE5\u7A0B\u4F1A\u81EA\u52A8\u5907\u4EFD\u672C\u5730\u6570\u636E\u5230\u672C\u5730\u3002","Reload from Cloud":"\u4ECE\u4E91\u7AEF\u91CD\u65B0\u52A0\u8F7D","Upload Local to Cloud":"\u66F4\u65B0\u672C\u5730\u5230\u4E91\u7AEF","Update content":"\u66F4\u65B0\u5185\u5BB9","Before uploading version":"\u672A\u4E0A\u4F20\u524D\u7248\u672C",GND:"\u5730",AGND:"\u6A21\u62DF\u5730",PGND:"\u4FDD\u62A4\u5730",'Copper pour completed! Please set the "Copper Region(Filled)" to visible in the "Right Hand Panel - Filter - Display".':"\u94FA\u94DC\u5B8C\u6210\uFF01\u8BF7\u5728\u201C\u53F3\u4FA7\u9762\u677F - \u8FC7\u6EE4 - \u663E\u793A\u201D\u628A\u201C\u94FA\u94DC\u533A\u57DF(\u586B\u5145)\u201D\u8BBE\u7F6E\u4E3A\u53EF\u89C1\u3002","The schematic/symbol does not support commands temporarily":"\u539F\u7406\u56FE/\u7B26\u53F7\u6682\u4E0D\u652F\u6301\u547D\u4EE4","There are too many open documents. Do you want to save and close":"\u6253\u5F00\u6587\u6863\u8FC7\u591A\uFF0C\u662F\u5426\u4FDD\u5B58\u5E76\u5173\u95ED","then open the new document?":"\u7136\u540E\u6253\u5F00\u8FD9\u4E2A\u65B0\u6587\u6863\uFF1F","@@dlgSave":{"Non-Electronic Symbol":"\u65E0\u7535\u6C14\u7B26\u53F7"},"operation failed!The schematic diagram and PCB need to be under the same board to use this feature.":"\u64CD\u4F5C\u5931\u8D25\uFF01\u539F\u7406\u56FE\u548CPCB\u9700\u8981\u5728\u540C\u4E00\u4E2A\u677F\u5B50\u4E0B\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD\u3002",'Right click on the schematic diagram of the left document list or PCB. Use the "Set as an existing board" or "Set as New Board" function to set the schematic diagram and PCB under the unified board.':"\u8BF7\u5728\u5DE6\u4FA7\u6587\u6863\u5217\u8868\u7684\u539F\u7406\u56FE\u6216PCB\u4E0A\u53F3\u952E\uFF0C\u4F7F\u7528\u201C\u8BBE\u7F6E\u4E3A\u5DF2\u6709\u677F\u5B50\u201D\u6216\u201C\u8BBE\u7F6E\u4E3A\u65B0\u677F\u5B50\u201D\u529F\u80FD\uFF0C\u5C06\u539F\u7406\u56FE\u548CPCB\u8BBE\u7F6E\u5230\u540C\u4E00\u4E2A\u677F\u5B50\u4E0B\u3002","Generate netlist failed!":"\u751F\u6210\u7F51\u8868\u5931\u8D25!","The rectangle does not support non-90 degree rotation":"\u77E9\u5F62\u4E0D\u652F\u6301\u975E90\u5EA6\u65CB\u8F6C","Counter clockwise rotation degrees":"\u9006\u65F6\u9488\u65CB\u8F6C\u89D2\u5EA6","The Device:{devicename} No symbol":"\u5668\u4EF6\uFF1A{devicename}\u6CA1\u6709\u7B26\u53F7","The Device:{devicename} No footprint":"\u5668\u4EF6\uFF1A{devicename}\u6CA1\u6709\u5C01\u88C5","The First Pin":"\u7B2C\u4E00\u811A","Pins on Left":"\u5DE6\u8FB9\u5F15\u811A\u6570","Pins on Right":"\u53F3\u8FB9\u5F15\u811A\u6570","Pins on Top":"\u9876\u90E8\u5F15\u811A\u6570","Pins on Bottom":"\u5E95\u90E8\u5F15\u811A\u6570","Pin Distance":"\u5F15\u811A\u95F4\u8DDD","Pin Width":"\u5F15\u811A\u5BBD\u5EA6","Pin Numbering":"\u5F15\u811A\u7F16\u53F7\u65B9\u5411","Counter Clockwise Round":"\u9006\u65F6\u9488\u5706","Left to Right, Top to Bottom":"\u4ECE\u5DE6\u5230\u53F3\uFF0C\u4ECE\u4E0A\u5230\u4E0B","Generate Symbol":"\u751F\u6210\u7B26\u53F7","Generate symbol will empty current Pins and other objects of the canvas, do you want to continue?":"\u751F\u6210\u7B26\u53F7\u5C06\u6E05\u7A7A\u753B\u5E03\u5F53\u524D\u5B58\u5728\u7684\u5F15\u811A\u548C\u5176\u4ED6\u56FE\u5143\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","The {errKey} value is invalid!":"{errKey}\u4E0D\u5408\u6CD5!","@@designator":{"Operation:":"\u64CD\u4F5C\uFF1A","Range:":"\u8303\u56F4\uFF1A","Order:":"\u987A\u5E8F\uFF1A","Designator Rule:":"\u4F4D\u53F7\u89C4\u5219\uFF1A","Hierarchical:":"\u5C42\u6B21\u56FE\uFF1A",Apply:"\u5E94\u7528","Not Apply":"\u4E0D\u5E94\u7528","Define Designator Value:":"\u4F4D\u53F7\u503C\u5B9A\u4E49\uFF1A","Selected Components at Current Page":"\u5F53\u524D\u56FE\u9875\u9009\u4E2D\u5143\u4EF6","Horizontal then Vertical":"\u5148\u6C34\u5E73\u518D\u5782\u76F4","Vertical then Horizontal":"\u5148\u5782\u76F4\u518D\u6C34\u5E73","Across Then Down":"\u5148\u5DE6\u800C\u53F3\uFF0C\u540E\u4E0A\u800C\u4E0B","Across Then Up":"\u5148\u5DE6\u800C\u53F3\uFF0C\u540E\u4E0B\u800C\u4E0A","Down Then Across":"\u5148\u4E0A\u800C\u4E0B\uFF0C\u540E\u5DE6\u800C\u53F3","Up Then Across":"\u5148\u4E0B\u800C\u4E0A\uFF0C\u540E\u5DE6\u800C\u53F3","Annotate but Keep Existing Designators":"\u5206\u914D\u4F4D\u53F7\u4F46\u4FDD\u7559\u5DF2\u6709\u4F4D\u53F7","Annotate Designator":"\u5206\u914D\u4F4D\u53F7","Existing Designators":"\u4FDD\u7559\u5DF2\u6709\u4F4D\u53F7","Simultaneously Operate The Underlying Graph":"\u540C\u65F6\u64CD\u4F5C\u5E95\u5C42\u56FE","Assign instance\xA0Designator (which will overwrite the splice Designator generated from the template page)":"\u5206\u914D\u5B9E\u4F8B\u4F4D\u53F7\uFF08\u5C06\u4F1A\u8986\u76D6\u6839\u636E\u6A21\u677F\u9875\u751F\u6210\u7684\u62FC\u63A5\u4F4D\u53F7\uFF09","Clear instance Designator (which will restore the splice Designator generated from the template page)":"\u6E05\u9664\u5B9E\u4F8B\u4F4D\u53F7\uFF08\u5C06\u4F1A\u6062\u590D\u6839\u636E\u6A21\u677F\u9875\u751F\u6210\u7684\u62FC\u63A5\u4F4D\u53F7\uFF09","Re-annotate All Designators":"\u5168\u90E8\u91CD\u65B0\u5206\u914D\u4F4D\u53F7","Add Page Number":"\u6DFB\u52A0\u56FE\u9875\u7F16\u53F7\u524D\u7F00","Current Page":"\u5F53\u524D\u56FE\u9875","Custom Starting Number":"\u81EA\u5B9A\u4E49\u8D77\u59CB\u7F16\u53F7","All Components":"\u5168\u90E8\u5143\u4EF6","Top Layer Components":"\u9876\u5C42\u5143\u4EF6","Bottom Layer Components":"\u5E95\u5C42\u5143\u4EF6","Selected Components":"\u9009\u4E2D\u7684\u5143\u4EF6"},"Non-canvas":"\u975E\u753B\u5E03","Select canvas":"\u753B\u5E03\u9009\u4E2D","Not select canvas":"\u753B\u5E03\u672A\u9009\u4E2D","Drawing canvas":"\u753B\u5E03\u7ED8\u5236","Range of application":"\u5E94\u7528\u8303\u56F4",Command:"\u547D\u4EE4","Show Attribute Dialog When Placing Object":"\u653E\u7F6E\u5143\u7D20\u65F6\u663E\u793A\u5C5E\u6027\u5BF9\u8BDD\u6846","Show Pin Attribute Dialog When Placing Pin Object":"\u653E\u7F6E\u5F15\u811A\u5143\u7D20\u65F6\u663E\u793A\u5F15\u811A\u5C5E\u6027\u5BF9\u8BDD\u6846","Show Pin Attribute Dialog When Placing Multi Pin Object":"\u653E\u7F6E\u591A\u5F15\u811A\u65F6\u663E\u793A\u5F15\u811A\u5C5E\u6027\u5BF9\u8BDD\u6846","Show NetLabel Attribute Dialog When Placing NetLabel Object":"\u653E\u7F6E\u7F51\u7EDC\u6807\u7B7E\u65F6\u663E\u793A\u7F51\u7EDC\u6807\u7B7E\u4FE1\u606F\u5BF9\u8BDD\u6846","Switch Selected Range When Object Is Selected":"\u9009\u4E2D\u5BF9\u8C61\u65F6\u5207\u6362\u9009\u4E2D\u8303\u56F4","Show Net Port Name Attribute Dialog When Placing Net Port Object":"\u653E\u7F6E\u7F51\u7EDC\u7AEF\u53E3\u65F6\u663E\u793A\u7F51\u7EDC\u7AEF\u53E3\u540D\u79F0\u4FE1\u606F\u5BF9\u8BDD\u6846","Show Off Page Connector Name Attribute Dialog When Placing Off Page Connector Object":"\u653E\u7F6E\u8DE8\u9875\u8FDE\u63A5\u6807\u8BC6\u65F6\u663E\u793A\u8DE8\u9875\u8FDE\u63A5\u6807\u8BC6\u540D\u79F0\u4FE1\u606F\u5BF9\u8BDD\u6846","Switch The Selected Status Of Various Premitive":"\u5207\u6362\u5404\u4E2A\u56FE\u5143\u7684\u9009\u4E2D\u72B6\u6001","Change Track Width While Routing":"\u5E03\u7EBF\u65F6\u4FEE\u6539\u7EBF\u5BBD","Switch Common Track Width":"\u5E03\u7EBF\u65F6\u5207\u6362\u5E38\u7528\u7EBF\u5BBD","Change Via Size While Placing":"\u653E\u7F6E\u8FC7\u5B54\u65F6\u4FEE\u6539\u8FC7\u5B54\u5C3A\u5BF8","Switch Common Via Size While Routing/Placing Via":"\u5E03\u7EBF/\u653E\u7F6E\u8FC7\u5B54\u65F6\u5207\u6362\u5E38\u7528\u8FC7\u5B54","Flip Path While Drawing":"\u7ED8\u5236\u65F6\u7FFB\u8F6C\u8DEF\u5F84","Hotkey Settings conflict, please reset!":"\u5FEB\u6377\u952E\u8BBE\u7F6E\u51B2\u7A81\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E!","None of the selected objects meets the conditions for joining the group":"\u6240\u9009\u5BF9\u8C61\u5747\u4E0D\u6EE1\u8DB3\u52A0\u5165\u7EC4\u5408\u7684\u6761\u4EF6","Next Page/New Page":"\u4E0B\u4E00\u9875/\u65B0\u5EFA\u56FE\u9875","Previous Part":"\u4E0A\u4E00\u4E2A\u90E8\u4EF6","Next Part/New Part":"\u4E0B\u4E00\u4E2A\u90E8\u4EF6/\u65B0\u5EFA\u90E8\u4EF6","Zoom To Fit":"\u9002\u5E94\u5168\u90E8","Scroll Left":"\u89C6\u56FE\u5411\u5DE6\u6EDA\u52A8","Scroll Right":"\u89C6\u56FE\u5411\u53F3\u6EDA\u52A8","Scroll Up":"\u89C6\u56FE\u5411\u4E0A\u6EDA\u52A8","Scroll Down":"\u89C6\u56FE\u5411\u4E0B\u6EDA\u52A8","Hide Selected Ratline":"\u9690\u85CF\u6240\u9009\u98DE\u7EBF","Show Selected Ratline":"\u663E\u793A\u6240\u9009\u98DE\u7EBF","Unhighlight Selected Objects":"\u53D6\u6D88\u9AD8\u4EAE\u6240\u9009\u5BF9\u8C61","Switch Layer Brightness":"\u5207\u6362\u56FE\u5C42\u4EAE\u5EA6","Place Single Pad":"\u653E\u7F6E\u5355\u4E2A\u710A\u76D8","Single Pad":"\u5355\u710A\u76D8","Move Selected Left":"\u5DE6\u79FB\u6240\u9009\u56FE\u5F62","Move Selected Right":"\u53F3\u79FB\u6240\u9009\u56FE\u5F62","Move Selected Up":"\u4E0A\u79FB\u6240\u9009\u56FE\u5F62","Move Selected Down":"\u4E0B\u79FB\u6240\u9009\u56FE\u5F62",hotkey:"\u547D\u4EE4","Change to TopLayer":"\u5207\u6362\u5230\u9876\u5C42","Change to BottomLayer":"\u5207\u6362\u5230\u5E95\u5C42","Don't Open":"\u4E0D\u6253\u5F00","Due to the different format of the inner plane layer, it is not fully compatible with the imported inner plane layer nets, please carefully check and re-assign the net of the inner plane layer!":"\u56E0\u4E3A\u5167\u7535\u5C42\u683C\u5F0F\u5DEE\u5F02\uFF0C\u65E0\u6CD5\u5B8C\u5168\u517C\u5BB9\u5BFC\u5165\u7684\u5185\u7535\u5C42\u7F51\u7EDC\uFF0C\u8BF7\u4ED4\u7EC6\u68C0\u67E5\u5E76\u91CD\u65B0\u5206\u914D\u7F51\u7EDC\uFF01","Please enter the URL that needs acceleration":"\u8BF7\u8F93\u5165\u9700\u8981\u8DF3\u8F6C\u7684\u7F51\u5740","Grid 45\xB0":"\u7F51\u683C45\xB0","Grid 90\xB0":"\u7F51\u683C90\xB0","DRC violation detected":"\u68C0\u6D4B\u5230\u8FDD\u53CDDRC","No objects to be replaced!":"\u6CA1\u6709\u53EF\u66FF\u6362\u7684\u5BF9\u8C61","Are you sure you want to restore the configuration of the current page to the default state?":"\u662F\u5426\u6062\u590D\u5F53\u524D\u9875\u8BBE\u7F6E\u4E3A\u9ED8\u8BA4\u8BBE\u7F6E\uFF1F","Are you sure you want to restore the configuration of the custom header to the default state?":"\u662F\u5426\u6062\u590D\u81EA\u5B9A\u4E49\u8868\u5934\u4E3A\u9ED8\u8BA4\u8BBE\u7F6E\uFF1F","The contents of the file you imported do not conform to the format!":"\u60A8\u5BFC\u5165\u7684\u6587\u4EF6\u5185\u5BB9\u4E0E\u683C\u5F0F\u4E0D\u7B26\uFF01","The component: {0} Can't find this footprint on the server,please reassociate it.":"{0} \u670D\u52A1\u5668\u4E0A\u672A\u627E\u5230\u8BE5\u5C01\u88C5\uFF0C\u8BF7\u91CD\u65B0\u5173\u8054.","The component: {0} Can't find this 3D Model on the server,please reassociate it.":"{0} \u670D\u52A1\u5668\u4E0A\u672A\u627E\u5230\u8BE5 3D\u6A21\u578B\uFF0C\u8BF7\u91CD\u65B0\u5173\u8054.","The component: {0} Can't find this SIM Model on the server,please reassociate it.":"{0} \u670D\u52A1\u5668\u4E0A\u672A\u627E\u5230\u8BE5\u6A21\u578B\uFF0C\u8BF7\u91CD\u65B0\u5173\u8054.","The component: {0} pin number(s) of the component does not match the associated footprint pad number(s),please modify the symbol pin number(s) or reassociate the footprint.":"{0} \u7684\u5143\u4EF6\u5F15\u811A\u7F16\u53F7\u4E0E\u5173\u8054\u7684\u5C01\u88C5\u710A\u76D8\u7F16\u53F7\u4E0D\u5339\u914D\uFF0C\u8BF7\u4FEE\u6539\u5143\u4EF6\u5F15\u811A\u7F16\u53F7\u6216\u91CD\u65B0\u5173\u8054\u5C01\u88C5","The component: {0} No footprint,please associate the footprint first.":"{0} \u6CA1\u6709\u5C01\u88C5\uFF0C\u8BF7\u5148\u5173\u8054\u5C01\u88C5.","The component: {0} No 3D Model,please associate the 3D Model first.":"{0} \u6CA1\u6709 3D\u6A21\u578B\uFF0C\u8BF7\u5148\u5173\u8054 3D\u6A21\u578B.","The component: {0} No SIM Model,please associate the SIM Model first.":"{0} \u6CA1\u6709\u6A21\u578B\uFF0C\u8BF7\u5148\u5173\u8054\u6A21\u578B.","DX: {0}, DY: {1}, Length: {2}, Angle: {3}":"DX: {0}, DY: {1} ,\u957F\u5EA6: {2}, \u89D2\u5EA6: {3}","No pad pair found.":"\u6CA1\u6709\u627E\u5230\u710A\u76D8\u5BF9.","The minimum value of Net Length is":"\u7F51\u7EDC\u957F\u5EA6\u7684\u6700\u5C0F\u503C\u662F","The maximum value of Net Length is":"\u7F51\u7EDC\u957F\u5EA6\u7684\u6700\u5927\u503C\u662F","The minimum value cannot be greater than the maximum value":"\u6700\u5C0F\u503C\u4E0D\u80FD\u5927\u4E8E\u6700\u5927\u503C","The default value cannot be less than the minimum value":"\u9ED8\u8BA4\u503C\u4E0D\u80FD\u5C0F\u4E8E\u6700\u5C0F\u503C","The default value cannot be greater than the maximum value":"\u9ED8\u8BA4\u503C\u4E0D\u80FD\u5927\u4E8E\u6700\u5927\u503C",Maximum:"\u6700\u5927","This object has self-intersection, please modify":"\u8BE5\u56FE\u5143\u5B58\u5728\u81EA\u76F8\u4EA4\uFF0C\u8BF7\u4FEE\u6539","There is a self-intersection and will be split automatically":"\u5B58\u5728\u81EA\u76F8\u4EA4\uFF0C\u5C06\u81EA\u52A8\u62C6\u5206","There is a self-intersection and please redraw a polygon":"\u5B58\u5728\u81EA\u76F8\u4EA4\uFF0C\u8BF7\u91CD\u65B0\u7ED8\u5236\u591A\u8FB9\u5F62","Continuous Selection":"\u8FDE\u7EED\u9009\u62E9","Toggle Selection":"\u5207\u6362\u9009\u62E9","Filter Option":"\u8FC7\u6EE4\u89C4\u5219","Filter Option:":"\u8FC7\u6EE4\u89C4\u5219\uFF1A","All Properties":"\u5168\u90E8\u5C5E\u6027","Duplicate pad number":"\u710A\u76D8\u7F16\u53F7\u91CD\u590D","Unsupported document type":"\u4E0D\u652F\u6301\u7684\u6587\u6863\u7C7B\u578B","Please check at least one primitive.":"\u8BF7\u81F3\u5C11\u52FE\u9009\u4E00\u4E2A\u56FE\u5143","Please check at least one component.":"\u8BF7\u81F3\u5C11\u52FE\u9009\u4E00\u4E2A\u5143\u4EF6","Please select at least one symbol.":"\u8BF7\u81F3\u5C11\u9009\u4E2D\u4E00\u4E2A\u7B26\u53F7","Please select at least one component.":"\u8BF7\u81F3\u5C11\u9009\u4E2D\u4E00\u4E2A\u5143\u4EF6","Please select at least one 3D model.":"\u8BF7\u81F3\u5C11\u9009\u4E2D\u4E00\u4E2A 3D\u6A21\u578B","JLCEDA Professional Edition":"\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248","JLCEDA Schematic Design Software":"\u5609\u7ACB\u521BEDA\u539F\u7406\u56FE\u8BBE\u8BA1\u8F6F\u4EF6","JLCEDA PCB Design Software":"\u5609\u7ACB\u521BEDA\u7248\u56FE\u8BBE\u8BA1\u8F6F\u4EF6","EasyEDA Professional Edition":"EasyEDA\u4E13\u4E1A\u7248","EasyEDA Schematic Design Software":"EasyEDA\u539F\u7406\u56FE\u8BBE\u8BA1\u8F6F\u4EF6","EasyEDA PCB Design Software":"EasyEDA\u7248\u56FE\u8BBE\u8BA1\u8F6F\u4EF6",'The format of the imported CSV file is abnormal, please use the "Export" function at symbol wizard to get the template':"\u5BFC\u5165CSV\u6587\u4EF6\u683C\u5F0F\u5F02\u5E38\uFF0C\u8BF7\u4F7F\u7528\u5F15\u811A\u5411\u5BFC\u201C\u5BFC\u51FA\u201D\u529F\u80FD\u83B7\u53D6\u6A21\u677F",'The format of the imported CSV file is abnormal, please use the "Export" function at {functionArea} to get the template':"\u5BFC\u5165CSV\u6587\u4EF6\u683C\u5F0F\u5F02\u5E38\uFF0C\u8BF7\u4F7F\u7528{functionArea}\u5BFC\u51FA\u529F\u80FD\u83B7\u53D6\u6A21\u677F","If the schematic page has Block Symbol, the Reuse Block can not be without the underlying schematic":"\u5F53\u539F\u7406\u56FE\u56FE\u9875\u6709\u590D\u7528\u6A21\u5757\u7B26\u53F7\u65F6\uFF0C\u590D\u7528\u6A21\u5757\u4E0D\u80FD\u6CA1\u6709\u5E95\u5C42\u539F\u7406\u56FE",'Component must has the property name "Device" and "Footprint", and they can not be emplty':"\u5143\u4EF6\u9700\u8981\u6709\u201C\u5668\u4EF6\u201D\u3001\u201C\u5C01\u88C5\u201D\u5C5E\u6027\uFF0C\u4E0D\u80FD\u4E3A\u7A7A",'If component has the property name "Value", it can not be empty':"\u5143\u4EF6\u5982\u679C\u6709\u201C\u503C\u201D\u5C5E\u6027\uFF0C\u4E0D\u80FD\u4E3A\u7A7A",'The Pins of the components must exist the property name "Number", and they can not be empty':"\u5143\u4EF6\u7684\u5F15\u811A\u9700\u8981\u6709\u201C\u7F16\u53F7\u201D\u5C5E\u6027\uFF0C\u4E0D\u80FD\u4E3A\u7A7A","The endpoint of pins cannot overlap and are not connected":"\u5F15\u811A\u7684\u8FDE\u63A5\u7AEF\u70B9\u4E0D\u80FD\u91CD\u53E0\u4E14\u672A\u8FDE\u63A5","The bus name needs to conform to the rules":"\u603B\u7EBF\u540D\u9700\u8981\u7B26\u5408\u89C4\u5219","The bus name needs to conform to the rules: The upper case English letter, number\xA0and visible ASCII charaters+[suffix start value : end value], for example: BUS[0:5]":"\u603B\u7EBF\u540D\u9700\u8981\u7B26\u5408\u89C4\u5219\uFF1A\u5927\u5199\u82F1\u6587\u5B57\u6BCD\uFF0C\u6570\u5B57\u4E0E\u53EF\u89C1\u7684ASCII\u5B57\u7B26+[\u540E\u7F00\u8D77\u59CB\u503C:\u7ED3\u675F\u503C]\uFF0C\u5982BUS[0:5]","The wire name needs to conform to the rules":"\u7F51\u7EDC\u540D\u9700\u8981\u7B26\u5408\u89C4\u5219","The net name needs to conform to the rules: The upper case English letter, number\xA0and visible ASCII charaters":"\u7F51\u7EDC\u540D\u9700\u8981\u7B26\u5408\u89C4\u5219\uFF1A\u5927\u5199\u82F1\u6587\u5B57\u6BCD\uFF0C\u6570\u5B57\u4E0E\u53EF\u89C1\u7684ASCII\u5B57\u7B26","The net name needs to conform to the rules:  Chinese,English, number and visible ASCII charaters":"\u7F51\u7EDC\u540D\u9700\u8981\u7B26\u5408\u89C4\u5219\uFF1A\u4E2D\u6587\u3001\u82F1\u6587\u3001\u6570\u5B57\u4E0E\u53EF\u89C1\u7684ASCII\u5B57\u7B26","The bus name needs to conform to the rules: Chinese,English,number and visible ASCII charaters+[suffix start value : end value], for example: BUS[0:5]":"\u603B\u7EBF\u540D\u9700\u8981\u7B26\u5408\u89C4\u5219\uFF1A\u4E2D\u6587\u3001\u82F1\u6587\u3001\u6570\u5B57\u4E0E\u53EF\u89C1\u7684ASCII\u5B57\u7B26+[\u540E\u7F00\u8D77\u59CB\u503C:\u7ED3\u675F\u503C]\uFF0C\u5982BUS[0:5]","Wires connected to a bus through a branch of the bus must be named and conform to the naming rules of the bus they are connected to":"\u901A\u8FC7\u603B\u7EBF\u5206\u652F\u8DDF\u603B\u7EBF\u76F8\u8FDE\u7684\u5BFC\u7EBF\uFF0C\u5FC5\u987B\u6709\u540D\u79F0\u4E14\u7B26\u5408\u6240\u8FDE\u603B\u7EBF\u7684\u547D\u540D\u89C4\u5219",'The wire name must same as "Global Net Name" value if netflag or netport has "Global Net Name" property':"\u7F51\u7EDC\u6807\u8BC6\uFF0C\u7F51\u7EDC\u7AEF\u53E3\u542B\u6709\u201C\u5168\u5C40\u7F51\u7EDC\u540D\u201D\u5C5E\u6027\u65F6\uFF0C\u6240\u8FDE\u5BFC\u7EBF\u7684\u540D\u79F0\u9700\u8981\u4E0E\u201C\u5168\u5C40\u7F51\u7EDC\u540D\u201D\u7684\u503C\u4E00\u81F4","The Designator of component needs to conform the rules: English letter + number or English question mark":"\u5143\u4EF6\u4F4D\u53F7\u9700\u8981\u7B26\u5408\u89C4\u5219\uFF1A\u82F1\u6587\u5B57\u6BCD + \u6570\u5B57\u6216\u82F1\u6587\u95EE\u53F7",'If component contains multiple parts, the "Device, Footprint, Designator" properties of each part must be consistent':"\u5982\u679C\u5143\u4EF6\u542B\u6709\u591A\u90E8\u4EF6\uFF0C\u6BCF\u4E2A\u90E8\u4EF6\u7684\u201C\u5668\u4EF6\uFF0C\u5C01\u88C5\uFF0C\u4F4D\u53F7\u201D\u8FD9\u51E0\u4E2A\u5C5E\u6027\u5FC5\u987B\u4E00\u81F4",'If component contains multiple parts, except the "Device, Footprint, Designator" properties, other properties of each part must be consistent':"\u5982\u679C\u5143\u4EF6\u542B\u6709\u591A\u90E8\u4EF6\uFF0C\u6BCF\u4E2A\u90E8\u4EF6\u9664\u4E86\u201C\u5668\u4EF6\uFF0C\u5C01\u88C5\uFF0C\u4F4D\u53F7\u201D\u8FD9\u51E0\u4E2A\u5C5E\u6027\u5916\uFF0C\u5176\u4ED6\u5C5E\u6027\u5FC5\u987B\u4E00\u81F4","Component attributes need to match the Supplier Part":"\u5143\u4EF6\u7684\u5C5E\u6027\u9700\u8981\u4E0E\u4F9B\u5E94\u5546\u7F16\u53F7\u5339\u914D","The pins and pads of the components need to be matched one by one":"\u5143\u4EF6\u7684\u5F15\u811A\u548C\u710A\u76D8\u9700\u8981\u4E00\u4E00\u5BF9\u5E94","Global net should not be shorted":"\u5168\u5C40\u7F51\u7EDC\u4E0D\u5E94\u8BE5\u77ED\u63A5","Component attributes does not match the Supplier Part, It is recommended to use Device Standardization: : {ObjectID}":"\u5143\u4EF6\u7684\u5C5E\u6027\u4E0E\u4F9B\u5E94\u5546\u7F16\u53F7\u4E0D\u5339\u914D\u3002\uFF0C\u5EFA\u8BAE\u4F7F\u7528\u5668\u4EF6\u6807\u51C6\u5316: {ObjectID}","If component contains multiple parts, the same Pin Number of parts must connect to a same network":"\u5982\u679C\u5143\u4EF6\u542B\u6709\u591A\u90E8\u4EF6\uFF0C\u6BCF\u4E2A\u90E8\u4EF6\u76F8\u540C\u5F15\u811A\u7F16\u53F7\u7684\u5F15\u811A\u9700\u8981\u8FDE\u63A5\u5230\u540C\u4E00\u4E2A\u7F51\u7EDC","The same Pin Number of parts must connect to a same network":"\u5143\u4EF6\u76F8\u540C\u5F15\u811A\u7F16\u53F7\u7684\u5F15\u811A\u9700\u8981\u8FDE\u63A5\u5230\u540C\u4E00\u4E2A\u7F51\u7EDC","The Netflag, Netport needs\xA0a name":"\u7F51\u7EDC\u6807\u8BC6\uFF0C\u7F51\u7EDC\u7AEF\u53E3\u9700\u8981\u6709\u540D\u79F0","Netflag {objectID}\xA0has no name.":"\u7F51\u7EDC\u6807\u8BC6 {objectID} \u6CA1\u6709\u540D\u79F0.","Netport {objectID} has no name.":"\u7F51\u7EDC\u7AEF\u53E3 {objectID} \u6CA1\u6709\u540D\u79F0","If component contains multiple parts, each part needs to appear":"\u5982\u679C\u5143\u4EF6\u542B\u6709\u591A\u90E8\u4EF6\uFF0C\u6BCF\u4E2A\u90E8\u4EF6\u90FD\u9700\u8981\u51FA\u73B0","The Netport of the schematic page and the pin of the Block Symbol need to correspond one to one":"\u539F\u7406\u56FE\u56FE\u9875\u7684\u7F51\u7EDC\u7AEF\u53E3\u4E0E\u590D\u7528\u6A21\u5757\u7B26\u53F7\u7684\u5F15\u811A\u9700\u8981\u4E00\u4E00\u5BF9\u5E94","The net name cannot be exceed 255 characters":"\u7F51\u7EDC\u540D\u4E0D\u80FD\u8D85\u8FC7 255 \u4E2A\u5B57\u7B26","The wire must not be a free wire (no components Pin attached)":"\u5BFC\u7EBF\u4E0D\u80FD\u662F\u6E38\u79BB\u5BFC\u7EBF(\u672A\u8FDE\u63A5\u4EFB\u4F55\u5143\u4EF6\u5F15\u811A)","The wire must not be a single net wire (Only one component Pin attached)":"\u5BFC\u7EBF\u4E0D\u80FD\u662F\u72EC\u7ACB\u7F51\u7EDC\u7684\u5BFC\u7EBF(\u4EC5\u8FDE\u63A5\u4E86\u4E00\u4E2A\u5143\u4EF6\u5F15\u811A)","Components need to \xA0annotate Designator(Designator willi be auto annotated when exporting netlist or converting the schematic to PCB)":"\u5143\u4EF6\u9700\u8981\u5206\u914D\u4F4D\u53F7(\u751F\u6210\u7F51\u8868\u3001\u539F\u7406\u56FE\u8F6CPCB\u8FC7\u7A0B\u4E2D\u4F1A\u81EA\u52A8\u5206\u914D\u4F4D\u53F7)","Components Designator can not be repeated(The duplicated Designator willi be auto annotated when exporting netlist or converting the schematic to PCB)":"\u5143\u4EF6\u4F4D\u53F7\u4E0D\u80FD\u91CD\u590D(\u751F\u6210\u7F51\u8868\u3001\u539F\u7406\u56FE\u8F6CPCB\u8FC7\u7A0B\u4E2D\u4F1A\u81EA\u52A8\u4FEE\u6539\u91CD\u590D\u4F4D\u53F7)","The Component {objectID}  Designator  {designatorValue}  are repeated.":"\u5143\u4EF6 {objectID} \u7684\u4F4D\u53F7 {designatorValue} \u91CD\u590D\u3002","The component {objectID} is not annotate Designator.":"\u5143\u4EF6 {objectID} \u672A\u5206\u914D\u4F4D\u53F7\u3002","The Netport name needs to be consistent with the name of the connected Wire":"\u7F51\u7EDC\u7AEF\u53E3\u540D\u79F0\u9700\u8981\u4E0E\u6240\u8FDE\u63A5\u5BFC\u7EBF\u7684\u540D\u79F0\u4E00\u81F4","The Netport name needs to be consistent with the name of the connected Bus":"\u7F51\u7EDC\u7AEF\u53E3\u540D\u79F0\u9700\u8981\u4E0E\u6240\u8FDE\u63A5\u603B\u7EBF\u7684\u540D\u79F0\u4E00\u81F4","The Netflag name needs to be consistent with the name of the connected Wire":"\u7F51\u7EDC\u6807\u8BC6\u540D\u79F0\u9700\u8981\u4E0E\u6240\u8FDE\u63A5\u5BFC\u7EBF\u7684\u540D\u79F0\u4E00\u81F4","The Netflag name needs to be consistent with the name of the connected Bus":"\u7F51\u7EDC\u6807\u8BC6\u540D\u79F0\u9700\u8981\u4E0E\u6240\u8FDE\u63A5\u603B\u7EBF\u7684\u540D\u79F0\u4E00\u81F4","The Off Page Connector name needs to be consistent with the name of the connected Wire":"\u8DE8\u9875\u8FDE\u63A5\u6807\u8BC6\u540D\u79F0\u9700\u8981\u4E0E\u6240\u8FDE\u63A5\u5BFC\u7EBF\u7684\u540D\u79F0\u4E00\u81F4","The Off Page Connector name needs to be consistent with the name of the connected Bus":"\u8DE8\u9875\u8FDE\u63A5\u6807\u8BC6\u540D\u79F0\u9700\u8981\u4E0E\u6240\u8FDE\u63A5\u603B\u7EBF\u7684\u540D\u79F0\u4E00\u81F4","A symbol with a Global Net Name attribute is connected, but the name is inconsistent with the value of Global Net Name":"\u8FDE\u63A5\u4E86\u542B\u6709Global Net Name\u5C5E\u6027\u7684\u7B26\u53F7\uFF0C\u4F46\u540D\u79F0\u4E0EGlobal Net Name\u7684\u503C\u4E0D\u4E00\u81F4","The Netport needs to be connected to the Wire":"\u7F51\u7EDC\u7AEF\u53E3\u9700\u8981\u8FDE\u63A5\u5BFC\u7EBF","The Netlable,Netflag,Netport,Shortsymbol, Differential Pairs Flag needs to be connected to the Wire or Bus":"\u7F51\u7EDC\u6807\u7B7E\u3001\u7F51\u7EDC\u6807\u8BC6\u3001\u7F51\u7EDC\u7AEF\u53E3\u3001\u77ED\u63A5\u7B26\u3001\u5DEE\u5206\u5BF9\u6807\u8BC6\u9700\u8981\u8FDE\u63A5\u5BFC\u7EBF\u6216\u603B\u7EBF","When wires and buses are not connected to netflag or netport, the name needs to be displayed on the canvas":"\u5BFC\u7EBF\u548C\u603B\u7EBF\u672A\u8FDE\u63A5\u7F51\u7EDC\u6807\u8BC6\u6216\u7F51\u7EDC\u7AEF\u53E3\u65F6\uFF0C\u540D\u79F0\u9700\u8981\u663E\u793A\u5728\u753B\u5E03","Wires and buses are not connected to netflag or netport, name not displayed in the canvas: {objectID}":"\u5BFC\u7EBF\u3001\u603B\u7EBF\u672A\u8FDE\u63A5\u7F51\u7EDC\u6807\u8BC6\u6216\u7F51\u7EDC\u7AEF\u53E3\uFF0C\u540D\u79F0\u672A\u663E\u793A\u5728\u753B\u5E03\uFF1A{objectID}","Found component designators aren't annotated or designators duplicated, please annotate them first.":"\u53D1\u73B0\u5143\u4EF6\u4F4D\u53F7\u672A\u5206\u914D\u6216\u8005\u4F4D\u53F7\u6709\u91CD\u590D\uFF0C\u8BF7\u5148\u5206\u914D\u4F4D\u53F7\u3002","Check component floating Pins":"\u68C0\u6D4B\u5143\u4EF6\u60AC\u7A7A\u5F15\u811A","The networks connected to different ports at the bottom layer are not allowed to be shorted together":"\u4E0D\u540C\u7AEF\u53E3\u5728\u5E95\u5C42\u6240\u8FDE\u7684\u7F51\u7EDC\u4E0D\u5141\u8BB8\u88AB\u77ED\u63A5\u5728\u4E00\u8D77","Only one net name is required for a set of wires":"\u4E00\u7EC4\u5BFC\u7EBF\u4E0A\u53EA\u9700\u8981\u4E00\u4E2A\u7F51\u7EDC\u540D\u79F0","Differential pair must come in pairs":"\u5DEE\u5206\u5BF9\u5FC5\u987B\u6210\u5BF9\u51FA\u73B0","The net does not form a difference pair: {netLink}":"\u7F51\u7EDC\u672A\u7EC4\u6210\u5DEE\u5206\u5BF9: {netLink}","The net appears in multiple differential pairs: {netName}(difference pair: {differPairName})":"\u7F51\u7EDC\u51FA\u73B0\u5728\u4E86\u591A\u7EC4\u5DEE\u5206\u5BF9: {netName}(\u5DEE\u5206\u5BF9: {differPairName})","Receiving real-time synchronous updates, please try again later!":"\u6B63\u5728\u63A5\u6536\u5B9E\u65F6\u540C\u6B65\u66F4\u65B0\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5!","Local transaction is running, please try again later!":"\u672C\u5730\u4E8B\u52A1\u6B63\u5728\u8FD0\u884C\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5!","Existing same name symbol, has been associated automatically":"\u5B58\u5728\u540C\u540D\u7B26\u53F7\uFF0C\u5DF2\u81EA\u52A8\u5173\u8054","Annotate Designator":"\u5206\u914D\u4F4D\u53F7",'All "{0}" network copper rules will be set to "{1}" (except custom plane rules). Are you sure?':"\u6240\u6709\u201C{0}\u201D\u7F51\u7EDC\u94FA\u94DC\u7684\u89C4\u5219\u5C06\u90FD\u88AB\u8BBE\u7F6E\u4E3A\u201C{1}\u201D(\u81EA\u5B9A\u4E49\u7684\u94FA\u94DC\u89C4\u5219\u9664\u5916)\uFF0C\u662F\u5426\u786E\u5B9A\uFF1F",'All "{0}" network plane rules will be set to "{1}" (except custom plane rules). Are you sure?':"\u6240\u6709\u201C{0}\u201D\u7F51\u7EDC\u5185\u7535\u5C42\u7684\u89C4\u5219\u5C06\u90FD\u88AB\u8BBE\u7F6E\u4E3A\u201C{1}\u201D(\u81EA\u5B9A\u4E49\u7684\u5185\u7535\u5C42\u89C4\u5219\u9664\u5916)\uFF0C\u662F\u5426\u786E\u5B9A\uFF1F","Move Up failed":"\u4E0A\u79FB\u5931\u8D25","Move Down failed":"\u4E0B\u79FB\u5931\u8D25","JLCPCB SMD":"\u5609\u7ACB\u521B\u8D34\u7247","JLCPCB SMD Type":"\u5609\u7ACB\u521B\u8D34\u7247\u7C7B\u578B","Delete Objects":"\u5220\u9664\u5BF9\u8C61","Create Differential Pair":"\u521B\u5EFA\u5DEE\u5206\u5BF9","Positive Net":"\u6B63\u7F51\u7EDC","Negative Net":"\u8D1F\u7F51\u7EDC","@@Grid Type":{Dot:"\u7F51\u70B9","Grid Type":"\u7F51\u683C\u7C7B\u578B",Grid:"\u7F51\u683C",None:"\u65E0"},"The Device: {0} No footprint":"\u5668\u4EF6\uFF1A{0}\u6CA1\u6709\u5C01\u88C5","The Device: {0} No symbol":"\u5668\u4EF6\uFF1A{0}\u6CA1\u6709\u7B26\u53F7","Type a command(ESC key to exit)":"\u8F93\u5165\u547D\u4EE4(ESC\u952E\u9000\u51FA)","Unknown Command":"\u672A\u77E5\u547D\u4EE4","Rectangle does not support non-90 degree rotation":"\u77E9\u5F62\u4E0D\u652F\u6301\u975E90\u5EA6\u65CB\u8F6C","Ellipse does not support non-90 degree rotation":"\u692D\u5706\u4E0D\u652F\u6301\u975E90\u5EA6\u65CB\u8F6C","Rectangle and Ellipse do not support non-90 degree rotation. Please convert to path before rotating.":"\u77E9\u5F62\u548C\u692D\u5706\u4E0D\u652F\u6301\u975E90\u5EA6\u65CB\u8F6C\u3002\u8BF7\u8F6C\u4E3A\u8DEF\u5F84\u540E\u518D\u8FDB\u884C\u65CB\u8F6C\u3002","SVG file can be imported as shapes or an image. What do you want to do?":"SVG\u6587\u4EF6\u53EF\u4EE5\u5BFC\u5165\u4E3A\u5F62\u72B6\u6216\u56FE\u7247\u3002\u4F60\u5E0C\u671B\u662F\u54EA\u4E00\u79CD\uFF1F","Import as Shapes":"\u5BFC\u5165\u4E3A\u5F62\u72B6","Import as Image":"\u5BFC\u5165\u4E3A\u56FE\u7247","SVG image contains unsupported content":"SVG\u6587\u4EF6\u5305\u542B\u4E0D\u652F\u6301\u7684\u5185\u5BB9","Found footprint {0} canvas origin doesn't inside the graphics.":"\u53D1\u73B0\u5C01\u88C5 {0} \u753B\u5E03\u539F\u70B9\u4E0D\u5728\u56FE\u5F62\u5185\u90E8\u3002","The operation name\uFF1A":"\u64CD\u4F5C\u540D\u79F0\uFF1A","Object not found!":"\u5BF9\u8C61\u672A\u627E\u5230\uFF01","Found symbol {0} canvas origin doesn\u2018t inside the graphics.":"\u53D1\u73B0\u7B26\u53F7 {0} \u753B\u5E03\u539F\u70B9\u4E0D\u5728\u56FE\u5F62\u5185\u90E8\u3002","Link Symbol":"\u5173\u8054\u7B26\u53F7","Link Footprint":"\u5173\u8054\u5C01\u88C5","Link 3D Model":"\u5173\u80543D\u6A21\u578B","Link to New Device":"\u5173\u8054\u5230\u65B0\u5668\u4EF6","Link to Existing Device":"\u5173\u8054\u5230\u5DF2\u6709\u5668\u4EF6","Symbol Save as":"\u7B26\u53F7\u53E6\u5B58\u4E3A","Footprint Save as":"\u5C01\u88C5\u53E6\u5B58\u4E3A","Device Save as":"\u5668\u4EF6\u53E6\u5B58\u4E3A","The selected object":"\u9009\u62E9\u7684\u5BF9\u8C61","cannot be reused":"\u65E0\u6CD5\u88AB\u590D\u7528","already exists in group":"\u5DF2\u5B58\u5728\u4E8E\u7EC4\u5408","already exists in component":"\u5DF2\u5B58\u5728\u4E8E\u5143\u4EF6","cannot be grouped":"\u65E0\u6CD5\u7EC4\u5408","Group name already exists!":"\u7EC4\u5408\u540D\u5DF2\u5B58\u5728\uFF01","Partition name already exists!":"\u5206\u533A\u540D\u5DF2\u5B58\u5728\uFF01","Name already exists":"\u540D\u79F0\u5DF2\u5B58\u5728","Name already exists, please modify":"\u540D\u79F0\u5DF2\u5B58\u5728\uFF0C\u8BF7\u4FEE\u6539","Spacing - Safe Spacing":"\u95F4\u8DDD - \u5B89\u5168\u95F4\u8DDD","Physics - Track":"\u7269\u7406 - \u5BFC\u7EBF","Physics - Blind/Buried Via":"\u7269\u7406 - \u76F2\u57CB\u5B54","Physics - Blind Via":"\u7269\u7406 - \u76F2\u57CB\u5B54","Physics - Differential Pair":"\u7269\u7406 - \u5DEE\u5206\u5BF9","Physics - Net Length":"\u7269\u7406 - \u7F51\u7EDC\u957F\u5EA6","Physics - Via Size":"\u7269\u7406 - \u8FC7\u5B54\u5C3A\u5BF8","Plane - Plane Zone":"\u5E73\u9762 - \u5185\u7535\u5C42","Plane - Copper Zone":"\u5E73\u9762 - \u94FA\u94DC","Expansion - Paste Mask Expansion":"\u6269\u5C55 - \u52A9\u710A\u6269\u5C55","Expansion - Solder Mask Expansion":"\u6269\u5C55 - \u963B\u710A\u6269\u5C55","Net 1":"\u7F51\u7EDC 1","Net 2":"\u7F51\u7EDC 2","Net Merge":"\u7F51\u7EDC\u5408\u5E76",amount:"\u6570\u91CF","EasyEDA Pro Edition - The new generation PCB design tool, Powerful, Easier, Effecient, and huge amounts of free libraries.":"EasyEDA\u4E13\u4E1A\u7248 - \u65B0\u4E00\u4EE3\u56FD\u4EA7PCB\u8BBE\u8BA1\u5DE5\u5177\uFF0C\u5F3A\u5927\uFF0C\u6613\u7528\uFF0C\u9AD8\u6548\uFF0C\u534F\u4F5C\uFF0C\u62E5\u6709\u6D77\u91CF\u514D\u8D39\u5E93\u6587\u4EF6\u3002","JLCEDA Pro Edition - The new generation PCB design tool, Powerful, Easier, Effecient, and huge amounts of free libraries.":"\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248 - \u65B0\u4E00\u4EE3\u56FD\u4EA7PCB\u8BBE\u8BA1\u5DE5\u5177\uFF0C\u5F3A\u5927\uFF0C\u6613\u7528\uFF0C\u9AD8\u6548\uFF0C\u534F\u4F5C\uFF0C\u62E5\u6709\u6D77\u91CF\u514D\u8D39\u5E93\u6587\u4EF6\u3002","EasyEDA Pro, JLCEDA, Schematic Capture, PCB Layout, EDA, PCB Software, PCB Tool for Free, Online PCB Tool":"EasyEDA\u4E13\u4E1A\u7248\uFF0C\u5609\u7ACB\u521BPCB\uFF0C\u5609\u7ACB\u521BEDA\uFF0C\u539F\u7406\u56FE\u8BBE\u8BA1\uFF0CPCB\u8BBE\u8BA1\uFF0CEDA\uFF0C\u56FD\u4EA7PCB\u8F6F\u4EF6\uFF0C\u56FD\u4EA7PCB\u5DE5\u5177\uFF0C\u514D\u8D39PCB\u5DE5\u5177\uFF0C\u5728\u7EBFPCB\u5DE5\u5177","JLCEDA Pro, JLCEDA, Schematic Capture, PCB Layout, EDA, PCB Software, PCB Tool for Free, Online PCB Tool":"\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248\uFF0C\u5609\u7ACB\u521BPCB\uFF0C\u5609\u7ACB\u521BEDA\uFF0C\u539F\u7406\u56FE\u8BBE\u8BA1\uFF0CPCB\u8BBE\u8BA1\uFF0CEDA\uFF0C\u56FD\u4EA7PCB\u8F6F\u4EF6\uFF0C\u56FD\u4EA7PCB\u5DE5\u5177\uFF0C\u514D\u8D39PCB\u5DE5\u5177\uFF0C\u5728\u7EBFPCB\u5DE5\u5177","Open EasyEDA standard edition file":"\u6253\u5F00\u5609\u7ACB\u521BEDA\u6807\u51C6\u7248\u6587\u4EF6","EasyEDA Professional - The new generation PCB design tool, powerful, easier, efficient, collaboration, has a large number of libraries.":"EasyEDA\u4E13\u4E1A\u7248 - \u65B0\u4E00\u4EE3\u56FD\u4EA7PCB\u8BBE\u8BA1\u5DE5\u5177\uFF0C\u5F3A\u5927\uFF0C\u6613\u7528\uFF0C\u9AD8\u6548\uFF0C\u534F\u4F5C\uFF0C\u62E5\u6709\u6D77\u91CF\u514D\u8D39\u5E93\u6587\u4EF6\u3002","EasyEDA Professional, schematic design, PCB design, EDA, free PCB tool, online PCB tool":"EasyEDA\u4E13\u4E1A\u7248\uFF0C\u539F\u7406\u56FE\u8BBE\u8BA1\uFF0CPCB\u8BBE\u8BA1\uFF0CEDA\uFF0C\u514D\u8D39PCB\u5DE5\u5177\uFF0C\u5728\u7EBFPCB\u5DE5\u5177","Do you want to remove the local cache data?":"\u662F\u5426\u6E05\u9664\u672C\u5730\u7F13\u5B58\u6570\u636E\uFF1F","Found that some files are being saved one after another, do you interrupt and exit?":"\u53D1\u73B0\u6709\u6587\u4EF6\u5728\u9646\u7EED\u4FDD\u5B58\u4E2D\uFF0C\u662F\u5426\u4E2D\u65AD\u5E76\u9000\u51FA\uFF1F","Don't Remove":"\u4E0D\u79FB\u9664","New Group":"\u65B0\u5EFA\u7EC4\u5408","Join Group":"\u52A0\u5165\u7EC4\u5408","Reuse Layout Route":"\u590D\u7528\u5E03\u5C40\u5E03\u7EBF","{0} objects join group successfully":"{0}\u4E2A\u5BF9\u8C61\u52A0\u5165\u7EC4\u5408\u6210\u529F","{0} objects join group successfully:{name}":"{0}\u4E2A\u5143\u7D20\u52A0\u5165\u7EC4\u5408\u6210\u529F\uFF1A{name}","{0} objects join group successfully:group{idWithName}":"{0}\u4E2A\u5143\u7D20\u52A0\u5165\u7EC4\u5408\u6210\u529F\uFF1A\u7EC4\u5408{idWithName}","Track has been stretched, exited group":"\u5BFC\u7EBF\u5DF2\u88AB\u62C9\u4F38\uFF0C\u9000\u51FA\u4E86\u7EC4\u5408","Object has been deleted, exited group":"\u5BF9\u8C61\u5DF2\u88AB\u5220\u9664\uFF0C\u9000\u51FA\u4E86\u7EC4\u5408","Multiple Routing can only be performed on graphic elements that are on the same layer simultaneously.":"\u53EA\u80FD\u5BF9\u540C\u4E00\u4E2A\u5C42\u7684\u56FE\u5143\u8FDB\u884C\u591A\u8DEF\u5E03\u7EBF","has been deleted, exited group":"\u5DF2\u88AB\u5220\u9664\uFF0C\u9000\u51FA\u4E86\u7EC4\u5408","Line Width Display":"1 \u7EBF\u5BBD\u663E\u793A","Always 1px Line Width":"\u59CB\u7EC8 1px \u7EBF\u5BBD","Follow the Zoom Change":"\u8DDF\u968F\u7F29\u653E\u53D8\u5316","Board outline are not allowed to be placed inside the board outline, do you want to  convert the internal highlight primitive to slot region?":"\u4E0D\u5141\u8BB8\u5728\u677F\u6846\u5185\u90E8\u653E\u7F6E\u677F\u6846\uFF0C\u662F\u5426\u5C06\u5185\u90E8\u9AD8\u4EAE\u56FE\u5143\u8F6C\u4E3A\u6316\u69FD\u533A\u57DF\uFF1F","Missing project data!":"\u7F3A\u5C11\u5DE5\u7A0B\u6570\u636E!","Missing file name!":"\u7F3A\u5C11\u6587\u4EF6\u540D\u79F0!","Please try the following:":"\u8BF7\u5C1D\u8BD5\u4EE5\u4E0B\u65B9\u6CD5\uFF1A","@@designRule":{"Reuse Block {objectID} doesn't have underlying schematic.":"\u590D\u7528\u6A21\u5757 {objectID} \u6CA1\u6709\u5E95\u5C42\u539F\u7406\u56FE\u3002",'Component {objectID} lacks of property "Footprint".':"\u5143\u4EF6 {objectID} \u7F3A\u5C11\u201C\u5C01\u88C5\u201D\u5C5E\u6027\u3002",'Component {objectID} lacks of property "Device".':"\u5143\u4EF6 {objectID} \u7F3A\u5C11\u201C\u5668\u4EF6\u201D\u5C5E\u6027\u3002",'Component {objectID} has empty value of property "Value".':"\u5143\u4EF6 {objectID} \u7684\u5C5E\u6027\u201C\u503C\u201D\u5185\u5BB9\u4E3A\u7A7A\u3002",'Pin {objectID} has empty value of property "Pin Number".':"\u5F15\u811A {objectID} \u5C5E\u6027\u201C\u5F15\u811A\u7F16\u53F7\u201D\u4E3A\u7A7A\u3002",'The property "Designator" of Component {objectID} doesn\'t match the suggestion rule. Suggesting the Designator value combine into: English letters + numeric or question mark.':"\u5143\u4EF6 {objectID} \u7684\u4F4D\u53F7\u4E0D\u7B26\u5408\u5EFA\u8BAE\u7684\u89C4\u5219\u3002\u5EFA\u8BAE\u4F4D\u53F7\u503C\u7EC4\u6210\uFF1A\u82F1\u6587\u5B57\u6BCD+\u6570\u5B57\u6216\u82F1\u6587\u95EE\u53F7\u3002","The endpoints of pins {objectID} overlap and are not connected.":"\u5F15\u811A {objectID} \u7684\u7AEF\u70B9\u91CD\u53E0\u4E14\u672A\u8FDE\u63A5\u3002","The name of Bus {objectID} contains illegal characters ({characters}).":"\u603B\u7EBF {objectID} \u7F51\u7EDC\u540D\u4E0D\u6B63\u786E\uFF0C\u5176\u542B\u6709\u975E\u6CD5\u5B57\u7B26 ({characters})\u3002","The name of Wire {objectID}  contains illegal characters ({characters}).":"\u5BFC\u7EBF {objectID} \u7F51\u7EDC\u540D\u4E0D\u6B63\u786E\uFF0C\u542B\u6709\u975E\u6CD5\u5B57\u7B26 ({characters})\u3002",'Bus Entry {objectID} isn\'t connect with Bus. It has empty value of property "Name".':"\u603B\u7EBF\u5206\u652F {objectID} \u6CA1\u6709\u548C\u603B\u7EBF\u8FDE\u63A5\u3002\u5B83\u7684\u540D\u79F0\u5C5E\u6027\u7F3A\u5C11\u503C\u3002","Bus Entry {objectID} isn't connect with Bus. It\u2018s \"Name\" doesn't macth the Bus naming rule.":"\u603B\u7EBF\u5206\u652F {objectID} \u6CA1\u6709\u548C\u603B\u7EBF\u8FDE\u63A5\u3002\u5B83\u7684\u540D\u79F0\u4E0D\u7B26\u5408\u603B\u7EBF\u547D\u540D\u89C4\u5219\u3002",'Bus Entry {objectID} isn\'t connect with Bus. It\'s "Name" doesn\'t within the Bus index. Please modify it\'s "Name" or use "Short Symbol" to connect with Bus.':"\u603B\u7EBF\u5206\u652F {objectID} \u6CA1\u6709\u548C\u603B\u7EBF\u8FDE\u63A5\u3002\u5B83\u7684\u540D\u79F0\u4E0D\u5728\u603B\u7EBF\u7D22\u5F15\u8303\u56F4\u3002\u8BF7\u4FEE\u6539\u540D\u79F0\u6216\u8005\u4F7F\u7528\u77ED\u63A5\u7B26\u3002","Bus Entry {objectID} of Bus {objectID2} doesn\u2018t within the Bus or Wire.":"\u603B\u7EBF {objectID2} \u7684\u603B\u7EBF\u5206\u652F {objectID} \u672A\u8FDE\u63A5\u603B\u7EBF\u6216\u5BFC\u7EBF\u3002",'Wire {objectID} connects with the Symbol which has property "Global Net Name", but wire\'s "Name" doesn\'t same as the value of "Global Net Name".':"\u5BFC\u7EBF {objectID} \u8FDE\u63A5\u4E86\u542B\u6709\u201C\u5168\u5C40\u7F51\u7EDC\u540D\u201D\u5C5E\u6027\u7684\u7B26\u53F7\uFF0C\u4F46\u5176\u540D\u79F0\u4E0E\u201C\u5168\u5C40\u7F51\u7EDC\u540D\u201D\u7684\u503C\u4E0D\u4E00\u81F4\u3002",'Wire {objectID} connects with the Net Flag which property "Global Net Name" is\xA0{objectID2}, wire\'s "Name" needs to be same as the Net Flag "Global Net Name" value, please modify.':"\u5BFC\u7EBF {objectID} \u8FDE\u63A5\u4E86\u201C\u5168\u5C40\u7F51\u7EDC\u540D\u201D\u5C5E\u6027\u503C\u4E3A {objectID2} \u7684\u7F51\u7EDC\u6807\u8BC6\uFF0C\u5BFC\u7EBF\u540D\u79F0\u548C\u7F51\u7EDC\u6807\u8BC6\u7684\u201C\u5168\u5C40\u7F51\u7EDC\u540D\u201D\u7684\u503C\u5E94\u8BE5\u4E00\u81F4\uFF0C\u8BF7\u4FEE\u6539\u3002","Component {ComponentName} is a multi-part component, the properties of each part should be the same. {partID} have different property {propertyName}.":"\u5143\u4EF6 {ComponentName} \u662F\u4E00\u4E2A\u591A\u90E8\u4EF6\u5143\u4EF6\uFF0C\u6BCF\u4E00\u4E2A\u90E8\u4EF6\u7684\u5C5E\u6027\u9700\u8981\u76F8\u540C\u3002{partID} \u5B58\u5728\u4E0D\u540C\u7684\u5C5E\u6027 {propertyName}\u3002","Component {ComponentID} is a multi-part component, the same Pin Number of Pins {PinID1} must connect to the same network.":"\u5143\u4EF6 {componentID} \u662F\u4E00\u4E2A\u591A\u90E8\u4EF6\u5143\u4EF6\uFF0C\u76F8\u540C\u7F16\u53F7\u7684\u5F15\u811A {PinID1} \u9700\u8981\u8FDE\u63A5\u5230\u76F8\u540C\u7684\u7F51\u7EDC\u3002","Component {ComponentID} have the same Pin Number of Pins {PinID1} must connect to the same network.":"\u5143\u4EF6 {componentID} \u76F8\u540C\u7F16\u53F7\u7684\u5F15\u811A {PinID1} \u9700\u8981\u8FDE\u63A5\u5230\u76F8\u540C\u7684\u7F51\u7EDC\u3002","Component {ComponentID}\xA0\xA0pins with the same number are connected to different networks, {PinID1} .":"\u5143\u4EF6\xA0{ComponentID}\xA0\u76F8\u540C\u7F16\u53F7\u7684\u5F15\u811A\u8FDE\u63A5\u4E86\u4E0D\u540C\u7F51\u7EDC\uFF0C{PinID1} \u3002","Component {ComponentID} is a multi-part component. The part {objectID} can not combine as a complete component. There is lacking of other part(s).":"\u5143\u4EF6 {componentID} \u662F\u4E00\u4E2A\u591A\u90E8\u4EF6\u5143\u4EF6\u3002{objectID} \u4E0D\u80FD\u7EC4\u6210\u5B8C\u6574\u591A\u90E8\u4EF6\u5143\u4EF6\u3002\u5F53\u524D\u7F3A\u5C11\u5176\u4ED6\u7684\u90E8\u4EF6\u3002","There is no Pin in the Reuse Block Symbol {objectID} that corresponds to the underlying schematic Netport {netportID}.":"\u590D\u7528\u6A21\u5757\u7B26\u53F7 {objectID} \u91CC\u6CA1\u6709\u4E0E\u5E95\u5C42\u539F\u7406\u56FE\u7AEF\u53E3 {netportID} \u5BF9\u5E94\u7684\u5F15\u811A\u3002","There is no Netport in the underlying schematic that corresponds to the Block Symbol {objectID} pin {pinID}":"\u5728\u5E95\u5C42\u539F\u7406\u56FE\u6CA1\u6709\u4E0E\u590D\u7528\u6A21\u5757\u7B26\u53F7 {objectID} \u7684\u5F15\u811A {pinID} \u76F8\u5BF9\u5E94\u7684\u7AEF\u53E3\u3002","The wire {objectID} network name more than 255 characters. The underlying schematic network name needs to be added with the ID of the upper block symbol resulting in greater than 255.":"\u5BFC\u7EBF {objectID} \u7F51\u7EDC\u540D\u8D85\u8FC7 255 \u4E2A\u5B57\u7B26\u3002\u5E95\u5C42\u56FE\u7F51\u7EDC\u540D\u9700\u8981\u52A0\u4E0A\u9876\u5C42\u590D\u7528\u6A21\u5757\u7B26\u53F7\u7684 id \u5BFC\u81F4\u5927\u4E8E 255\u3002","The wire {objectID} is a free network with no pins attached.":"\u5BFC\u7EBF {objectID} \u662F\u6E38\u79BB\u7F51\u7EDC\uFF0C\u672A\u8FDE\u63A5\u4EFB\u4F55\u5F15\u811A\u3002","The wire {objectID} is a single network connected to only one component pin.":"\u5BFC\u7EBF {objectID} \u662F\u5355\u7F51\u7EDC\uFF0C\u4EC5\u8FDE\u63A5\u4E86\u4E00\u4E2A\u5143\u4EF6\u5F15\u811A\u3002","The name of the Netport {objectID} does not match the name of the connected Wire.":"\u7F51\u7EDC\u7AEF\u53E3 {objectID} \u7684\u540D\u79F0\u4E0E\u6240\u8FDE\u5BFC\u7EBF\u540D\u79F0\u4E0D\u4E00\u81F4\u3002","The name of the Netport {objectID} does not match the name of the connected Bus.":"\u7F51\u7EDC\u7AEF\u53E3 {objectID} \u7684\u540D\u79F0\u4E0E\u6240\u8FDE\u603B\u7EBF\u540D\u79F0\u4E0D\u4E00\u81F4\u3002","The name of the Netport {objectID} does not match the name {name} of the connected Wire.":"\u7F51\u7EDC\u7AEF\u53E3 {objectID} \u7684\u540D\u79F0\u4E0E\u6240\u8FDE\u5BFC\u7EBF\u540D\u79F0{name}\u4E0D\u4E00\u81F4\u3002","The name of the Netport {objectID} does not match the name {name} of the connected Bus.":"\u7F51\u7EDC\u7AEF\u53E3 {objectID} \u7684\u540D\u79F0\u4E0E\u6240\u8FDE\u603B\u7EBF\u540D\u79F0{name}\u4E0D\u4E00\u81F4\u3002","The name of the Netflag {objectID} does not match the name {name} of the connected Wire.":"\u7F51\u7EDC\u6807\u8BC6 {objectID} \u7684\u540D\u79F0\u4E0E\u6240\u8FDE\u5BFC\u7EBF {name} \u540D\u79F0\u4E0D\u4E00\u81F4\u3002","The name of the Netflag {objectID} does not match the name {name} of the connected Bus.":"\u7F51\u7EDC\u6807\u8BC6 {objectID} \u7684\u540D\u79F0\u4E0E\u6240\u8FDE\u603B\u7EBF {name} \u540D\u79F0\u4E0D\u4E00\u81F4\u3002","The name of the Off Page Connector {objectID} does not match the name {name} of the connected Wire.":"\u8DE8\u9875\u8FDE\u63A5\u6807\u8BC6 {objectID} \u7684\u540D\u79F0\u4E0E\u6240\u8FDE\u5BFC\u7EBF {name} \u540D\u79F0\u4E0D\u4E00\u81F4\u3002","The name of the Off Page Connector {objectID} does not match the name {name} of the connected Bus.":"\u8DE8\u9875\u8FDE\u63A5\u6807\u8BC6 {objectID} \u7684\u540D\u79F0\u4E0E\u6240\u8FDE\u603B\u7EBF {name} \u540D\u79F0\u4E0D\u4E00\u81F4\u3002","The Netport {objectID} is not connected to wire.":"\u7F51\u7EDC\u7AEF\u53E3 {objectID} \u672A\u8FDE\u63A5\u5BFC\u7EBF\u3002","Netlabel {objectID}\xA0is not connected to wire or bus.":"\u7F51\u7EDC\u6807\u7B7E {objectID}\xA0\u6CA1\u6709\u8FDE\u63A5\u5BFC\u7EBF\u6216\u603B\u7EBF\u3002","NetFlag {objectID} is not connected to wire or bus.":"\u7F51\u7EDC\u6807\u8BC6 {objectID}\xA0\u6CA1\u6709\u8FDE\u63A5\u5BFC\u7EBF\u6216\u603B\u7EBF\u3002","Netport {objectID}\xA0is not connected to wire or bus.":"\u7F51\u7EDC\u7AEF\u53E3 {objectID}\xA0\u6CA1\u6709\u8FDE\u63A5\u5BFC\u7EBF\u6216\u603B\u7EBF\u3002","Shortsymbol {objectID} is not connected to wire or bus.":"\u77ED\u63A5\u7B26 {objectID}\xA0\u6CA1\u6709\u8FDE\u63A5\u5BFC\u7EBF\u6216\u603B\u7EBF\u3002","Differential Pairs Flag {objectID}\xA0is not connected to wire or bus.":"\u5DEE\u5206\u5BF9\u6807\u8BC6 {objectID}\xA0\u6CA1\u6709\u8FDE\u63A5\u5BFC\u7EBF\u6216\u603B\u7EBF\u3002","The Component {objectID} designator is repeated with other component(s), and it is annotated a new designator: {designatorValue} when generating the netlist.":"\u5143\u4EF6 {objectID} \u4F4D\u53F7\u4E0E\u5176\u4ED6\u5143\u4EF6\u91CD\u590D\uFF0C\u751F\u6210\u7F51\u8868\u65F6\u7ED9\u5B83\u91CD\u65B0\u5206\u914D\u4E86\u4F4D\u53F7\uFF1A{designatorValue}\u3002","The Component {objectID} Unique ID is repeated with other component(s), and it is annotated a new Unique ID: {UniqueId} when generating the netlist.":"\u5143\u4EF6 {objectID} \u552F\u4E00 ID \u4E0E\u5176\u4ED6\u5143\u4EF6\u91CD\u590D\uFF0C\u751F\u6210\u7F51\u8868\u65F6\u7ED9\u5B83\u91CD\u65B0\u5206\u914D\u4E86\u552F\u4E00ID\uFF1A{UniqueId}\u3002","The Multiple parts {objectID}  have inconsistent Unique ID, and it is annotated a new Unique ID: {UniqueId} when generating the netlist.":"\u591A\u90E8\u4EF6\u5143\u4EF6 {objectID} \u552F\u4E00ID\u4E0D\u4E00\u81F4\uFF0C\u751F\u6210\u7F51\u8868\u65F6\u7ED9\u5B83\u91CD\u65B0\u5206\u914D\u4E86\u552F\u4E00ID\uFF1A{UniqueId}\u3002","The Component {objectID} designator is repeated with other component(s), and it is annotated a new designator: {designatorValue}.":"\u5143\u4EF6 {objectID} \u4F4D\u53F7\u4E0E\u5176\u4ED6\u5143\u4EF6\u91CD\u590D\uFF0C\u7ED9\u5B83\u91CD\u65B0\u5206\u914D\u4E86\u4F4D\u53F7\uFF1A{designatorValue}\u3002","The component {objectID} is annotated a designator: {designatorValue} when generating the netlist.":"\u751F\u6210\u7F51\u8868\u65F6\u7ED9\u5143\u4EF6 {objectID} \u5206\u914D\u4E86\u4F4D\u53F7\uFF1A{designatorValue}\u3002","Export {boardName} netlist successfully!":"\u5BFC\u51FA {boardName} \u7F51\u8868\u6210\u529F\u3002","Export {boardName} BOM successfully!":"\u5BFC\u51FA {boardName} BOM\u6210\u529F\u3002","Export {boardName} netlist failed!":"\u5BFC\u51FA {boardName} \u7F51\u8868\u5931\u8D25\u3002","Export {boardName} BOM failed!":"\u5BFC\u51FA {boardName} BOM\u5931\u8D25\u3002","Fatal Error: {fatalErrorNumber}, Error: {errorNumber}, Warning: {warningNumber}, Info: {infoNumber}.":"\u81F4\u547D\u9519\u8BEF\uFF1A {fatalErrorNumber}, \u9519\u8BEF\uFF1A{errorNumber}\uFF0C\u8B66\u544A\uFF1A{warningNumber}\uFF0C\u4FE1\u606F\uFF1A{infoNumber}\u3002","Abnormal data(to ensure the normal use of the editor, please finish cleaning first):{ObjectID}":"\u5F02\u5E38\u6570\u636E(\u4E3A\u4FDD\u8BC1\u7F16\u8F91\u5668\u7684\u6B63\u5E38\u4F7F\u7528\uFF0C\u8BF7\u5148\u5B8C\u6210\u6E05\u7406)\uFF1A {ObjectID}","Found some components\xA0Pins floating, suggest placing No Connect Flag on the Pins : {ObjectID}":"\u53D1\u73B0\u5143\u4EF6\u5F15\u811A\u60AC\u7A7A\uFF0C\u5EFA\u8BAE\u653E\u7F6E\u975E\u8FDE\u63A5\u6807\u8BC6\u5728\u5F15\u811A\u4E0A : {ObjectID}","The CBB ports {bottomNetContent} are shorted together in the network connected to the bottom layer.":"CBB\u7AEF\u53E3{bottomNetContent}\u5728\u5E95\u5C42\u6240\u8FDE\u7684\u7F51\u7EDC\u4E2D\u88AB\u77ED\u63A5\u5230\u4E00\u8D77","The pin of the component {component} does not correspond to the pad (Pin has no corresponding pad : {pins} ;Pad has no corresponding pin: {pads}): {object}":"\u5143\u4EF6 {component} \u7684\u5F15\u811A\u4E0E\u710A\u76D8\u672A\u5BF9\u5E94(\u5F15\u811A\u6CA1\u6709\u5BF9\u5E94\u710A\u76D8\uFF1A{pins}\uFF1B\u710A\u76D8\u6CA1\u6709\u5BF9\u5E94\u5F15\u811A\uFF1A{pads})\uFF1A {object}","The pin of the component {component} does not correspond to the pad (Pin has no corresponding pad : {pins}): {object}":"\u5143\u4EF6 {component} \u7684\u5F15\u811A\u4E0E\u710A\u76D8\u672A\u5BF9\u5E94(\u5F15\u811A\u6CA1\u6709\u5BF9\u5E94\u710A\u76D8\uFF1A{pins})\uFF1A {object}","The pin of the component {component} does not correspond to the pad (Pad has no corresponding pin: {pads}): {object}":"\u5143\u4EF6 {component} \u7684\u5F15\u811A\u4E0E\u710A\u76D8\u672A\u5BF9\u5E94(\u710A\u76D8\u6CA1\u6709\u5BF9\u5E94\u5F15\u811A\uFF1A{pads})\uFF1A {object}","Global net {globalNets}\xA0is shorted, please check : {wireLink}":"\u5168\u5C40\u7F51\u7EDC {globalNets} \u88AB\u77ED\u63A5\uFF0C\u8BF7\u68C0\u67E5\uFF1A{wireLink}","The net {netName} has pin type {pinTypeA} was connected with type {pinTypeB}. {pinTypeA}: {pinLinkA}, {pinTypeB}: {pinLinkB}":"\u7F51\u7EDC {netName} \u4E2D\u7684\u5F15\u811A\u7C7B\u578B {pinTypeA} \u8FDE\u63A5\u4E86\u7C7B\u578B {pinTypeB}\u3002{pinTypeA}\uFF1A{pinLinkA}, {pinTypeB}\uFF1A{pinLinkB}","The net {netName} has pin type {pinTypeA} was connected with type {pinTypeB}. {pinTypeA}: {pinLinkA}":"\u7F51\u7EDC {netName} \u4E2D\u7684\u5F15\u811A\u7C7B\u578B {pinTypeA} \u8FDE\u63A5\u4E86\u7C7B\u578B {pinTypeB}\u3002{pinTypeA}\uFF1A{pinLinkA}","Wire {netLink} has multiple net names: {netName}":"\u5BFC\u7EBF {netLink} \u6709\u591A\u4E2A\u7F51\u7EDC\u540D: {netName}",Input:"\u8F93\u5165",Output:"\u8F93\u51FA",Bidirectional:"\u53CC\u5411","Open Collector":"\u5F00\u96C6\u7535\u6781","Open Emitter":"\u5F00\u53D1\u5C04\u6781",Power:"\u7535\u6E90",HIZ:"\u9AD8\u963B",Undefined:"\u672A\u5B9A\u4E49",Terminator:"\u4FE1\u53F7\u7EC8\u7AEF",Ground:"\u5730",Hole:"\u94BB\u5B54"},"Finish Design Rule Checking.":"\u5B8C\u6210\u8BBE\u8BA1\u89C4\u5219\u68C0\u67E5\u3002","Start Design Rule Checking.":"\u5F00\u59CB\u8BBE\u8BA1\u89C4\u5219\u68C0\u67E5\u3002","Designators annotated more than 99, the remaining components are not automatically annotated:":"\u4F4D\u53F7\u5206\u914D\u8D85\u8FC7 99 , \u5269\u4F59\u5143\u4EF6\u672A\u81EA\u52A8\u5206\u914D\u4F4D\u53F7\uFF1A","The number of annotated Designator are less than the starting Designator number:":"\u5DF2\u5206\u914D\u7684\u4F4D\u53F7\u6570\u503C\u5C0F\u4E8E\u8D77\u59CB\u4F4D\u53F7\u6570\u503C\uFF1A","Found that some designators does not conform to the rules:":"\u53D1\u73B0\u6709\u4F4D\u53F7\u4E0D\u7B26\u5408\u89C4\u5219:","There are no components that need to annotate.":"\u6CA1\u6709\u5143\u4EF6\u9700\u8981\u5206\u914D\u4F4D\u53F7\u3002","There are no components that need to annotate Unqiue ID.":"\u6CA1\u6709\u5143\u4EF6\u9700\u8981\u5206\u914D\u552F\u4E00ID\u3002","Start Annotating Designator.":"\u5F00\u59CB\u5206\u914D\u4F4D\u53F7\u3002","Finish Annotating Designator.":"\u5B8C\u6210\u5206\u914D\u4F4D\u53F7\u3002","Start Annotating Unique ID.":"\u5F00\u59CB\u5206\u914D\u552F\u4E00ID\u3002","Finish Annotating Unique ID.":"\u5B8C\u6210\u5206\u914D\u552F\u4E00ID\u3002","Finish Clear Designator.":"\u5B8C\u6210\u6E05\u9664\u4F4D\u53F7\u3002",Warn:"\u8B66\u544A","Verify Now":"\u7ACB\u5373\u6821\u9A8C",Guideline:"\u6307\u793A\u7EBF","Display when selected, bad for performance":"\u9009\u4E2D\u65F6\u663E\u793A(\u5F71\u54CD\u6027\u80FD)","Display when single component or property selected":"\u5355\u9009\u5668\u4EF6\u548C\u9009\u4E2D\u5C5E\u6027\u65F6\u663E\u793A","@@guide-line":{Hide:"\u4E0D\u663E\u793A"},Unfollow:"\u4E0D\u8DDF\u968F","Drag symbol, wire's following way":"\u79FB\u52A8\u7B26\u53F7\uFF0C\u5BFC\u7EBF\u8DDF\u968F\u65B9\u5F0F","Rotate symbol, wire's following way":"\u65CB\u8F6C\u7B26\u53F7\uFF0C\u5BFC\u7EBF\u8DDF\u968F\u65B9\u5F0F","Move the symbol, the wire follows":"\u79FB\u52A8\u7B26\u53F7\uFF0C\u5BFC\u7EBF\u8DDF\u968F","Move the footprint, wire's following way":"\u79FB\u52A8\u5C01\u88C5\uFF0C\u5BFC\u7EBF\u8DDF\u968F\u65B9\u5F0F","Move the Via, wire's following way":"\u79FB\u52A8\u8FC7\u5B54\uFF0C\u5BFC\u7EBF\u8DDF\u968F\u65B9\u5F0F","Wire following, disconnect when pressed ctrl + alt at drag start":"\u9ED8\u8BA4\u8DDF\u968F\uFF0C\u79FB\u52A8\u5F00\u59CB\u524D\u6309\u4F4F Ctrl+Alt \u65AD\u5F00\u8FDE\u63A5","Wire not following, connect when pressed ctrl + alt at drag start":"\u9ED8\u8BA4\u4E0D\u8DDF\u968F\uFF0C\u79FB\u52A8\u5F00\u59CB\u524D\u6309\u4F4F Ctrl+Alt \u4FDD\u6301\u8FDE\u63A5",Info:"\u4FE1\u606F","New project backup successfully!":"\u65B0\u5EFA\u5DE5\u7A0B\u5907\u4EFD\u6210\u529F!","New project backup failed!":"\u65B0\u5EFA\u5DE5\u7A0B\u5907\u4EFD\u5931\u8D25!","New project backup failed, code {code} !":"\u65B0\u5EFA\u5DE5\u7A0B\u5907\u4EFD\u5931\u8D25\uFF0C\u9519\u8BEF\u7801 {code} \uFF01","Auto backup project {title} successfully!":"\u81EA\u52A8\u5907\u4EFD\u5DE5\u7A0B {title} \u6210\u529F\uFF01","New Version project {title} successfully!":"\u5DE5\u7A0B {title} \u65B0\u5EFA\u7248\u672C\u6210\u529F\uFF01","Backup project {title} successfully!":"\u5907\u4EFD\u5DE5\u7A0B {title} \u6210\u529F\uFF01","Auto backup project {title} failed, code {code} !":"\u81EA\u52A8\u5907\u4EFD\u5DE5\u7A0B {title} \u5931\u8D25\uFF0C\u9519\u8BEF\u7801 {code} \uFF01","New Version project {title} failed, code {code} !":"\u5DE5\u7A0B {title} \u65B0\u5EFA\u7248\u672C\u5931\u8D25\uFF0C\u9519\u8BEF\u7801 {code} \uFF01","Backup project {title} failed, code {code} !":"\u5907\u4EFD\u5DE5\u7A0B {title} \u5931\u8D25\uFF0C\u9519\u8BEF\u7801 {code} \uFF01","Auto backup project {title} failed!":"\u81EA\u52A8\u5907\u4EFD\u5DE5\u7A0B {title} \u5931\u8D25\uFF01","New Version project {title} failed!":"\u5DE5\u7A0B {title} \u65B0\u5EFA\u7248\u672C\u5931\u8D25\uFF01","Backup project {title} failed!":"\u5907\u4EFD\u5DE5\u7A0B {title} \u5931\u8D25\uFF01","Auto save files successfully!":"\u81EA\u52A8\u4FDD\u5B58\u6210\u529F\uFF01","Auto save files failed!":"\u81EA\u52A8\u4FDD\u5B58\u5931\u8D25\uFF01","Create target file failed!":"\u521B\u5EFA\u76EE\u6807\u6587\u4EF6\u5931\u8D25\uFF01","Save failed! Found the duplicated Pad Number in this footprint":"\u4FDD\u5B58\u5931\u8D25\uFF01\u5728\u5C01\u88C5\u5185\u53D1\u73B0\u6709\u91CD\u590D\u7684\u710A\u76D8\u7F16\u53F7","Found the schematic Netport(s) doesn't the name of the Block Symbol pin(s), do you want to update the {0}(s)?":"\u68C0\u6D4B\u5230\u539F\u7406\u56FE\u7684\u7F51\u7EDC\u7AEF\u53E3\u548C\u590D\u7528\u6A21\u5757\u7684\u5F15\u811A\u4E0D\u540C\u6B65\uFF0C\u662F\u5426\u66F4\u65B0{0}\uFF1F","Export failed! The selected format: integer {integerNumber} , decimal {decimalNumber} is too small to meet the accuracy requirements of the current document":"\u5BFC\u51FA\u5931\u8D25\uFF01\u9009\u62E9\u7684\u683C\u5F0F\uFF1A\u6574\u6570{integerNumber}\uFF0C\u5C0F\u6570{decimalNumber}\u8FC7\u5C0F\uFF0C\u4E0D\u6EE1\u8DB3\u5F53\u524D\u6587\u6863\u7684\u7CBE\u5EA6\u8981\u6C42","Seems there are some\xA0abnormal coordinate objects, suggesting adjust or delete them:{0}":"\u4F3C\u4E4E\u5B58\u5728\u5750\u6807\u5F02\u5E38\u504F\u8FDC\u7684\u56FE\u5143\uFF0C\u5EFA\u8BAE\u8C03\u6574\u56FE\u5143\u5750\u6807\u6216\u8005\u5220\u9664:{0}","Found some objects are far away from board outline, whether if move them to board outline bottom right corner\xA0for adjust?":"\u53D1\u73B0\u6709\u56FE\u5143\u504F\u79BB\u677F\u6846\u8F83\u8FDC\uFF0C\u662F\u5426\u5C06\u8FD9\u4E9B\u56FE\u5143\u79FB\u52A8\u5728\u677F\u5B50\u53F3\u4E0B\u89D2\u4EE5\u4FBF\u8C03\u6574\uFF1F","X Region Count":"X\u8F74\u5206\u533A\u6570\u91CF","Y Region Count":"Y\u8F74\u5206\u533A\u6570\u91CF","Margin Width":"\u5203\u5E26\u5BBD","Generate Drawing Outline":"\u751F\u6210\u56FE\u7EB8\u8FB9\u6846","@@sheet-wizard":{Size:"\u8FB9\u6846\u5C3A\u5BF8"},'Please fill in "Belonging"':"\u8BF7\u586B\u5199\u201C\u5F52\u5C5E\u201D",'Please select "Owner"':"\u8BF7\u9009\u62E9\u201C\u6240\u6709\u8005\u201D","Found the duplicated Pad Number in this footprint":"\u5728\u5C01\u88C5\u5185\u53D1\u73B0\u6709\u91CD\u590D\u7684\u710A\u76D8\u7F16\u53F7","Save failed! Found the duplicated Pin Number in this symbol":"\u4FDD\u5B58\u5931\u8D25\uFF01\u5728\u7B26\u53F7\u5185\u53D1\u73B0\u6709\u91CD\u590D\u7684\u5F15\u811A\u7F16\u53F7","The library file is empty!":"\u5E93\u6587\u4EF6\u4E3A\u7A7A\uFF01","The uploaded image failed the review, please confirm the image":"\u4E0A\u4F20\u56FE\u7247\u672A\u901A\u8FC7\u5BA1\u6838\uFF0C\u8BF7\u786E\u8BA4\u56FE\u7247","All Parts":"\u5168\u90E8\u90E8\u4EF6",'The different "Part" will create the different parts of symbol':"\u4E0D\u540C\u7684\u201C\u90E8\u4EF6\u201D\u5C06\u521B\u5EFA\u4E0D\u540C\u7684\u7B26\u53F7\u90E8\u4EF6","I got it, continue to delete.":"\u6211\u5DF2\u77E5\u6089\uFF0C\u7EE7\u7EED\u5220\u9664\u3002","You are trying to delete the document as below, this operation cannot be undone, please be careful!":"\u4F60\u5728\u5C1D\u8BD5\u5220\u9664\u4EE5\u4E0B\u6587\u6863\uFF0C\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u6062\u590D\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01","You are trying to delete the {xxx} as below, this operation cannot be undone, please be careful!":"\u4F60\u5728\u5C1D\u8BD5\u5220\u9664\u4EE5\u4E0B{xxx}\uFF0C\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u6062\u590D\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01","You are trying to delete the {xxx} as below, please be careful!":"\u4F60\u5728\u5C1D\u8BD5\u5220\u9664\u4EE5\u4E0B{xxx}\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01","You are trying to delete the project as below, this operation cannot be undone, please be careful!":"\u4F60\u5728\u5C1D\u8BD5\u5220\u9664\u4EE5\u4E0B\u5DE5\u7A0B\uFF0C\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u6062\u590D\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01","You are trying to delete the following partitions and sub-picture. This operation can not be recovered. Please be careful!":"\u4F60\u5728\u5C1D\u8BD5\u5220\u9664\u4EE5\u4E0B\u5206\u533A\u548C\u5B50\u56FE\uFF0C\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u6062\u590D\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01","The Name: {0} already exists!":"\u540D\u79F0: {0} \u5DF2\u5B58\u5728","There is a loop, whether to remove the picked loop segment.":"\u5B58\u5728\u56DE\u8DEF\uFF0C\u662F\u5426\u5220\u9664\u9009\u5B9A\u7684\u56DE\u8DEF\u7EBF\u6BB5\u3002","Tip: Add fonts please copy font names directly in the operating system font list, see":"\u6DFB\u52A0\u5B57\u4F53\u8BF7\u76F4\u63A5\u5728\u64CD\u4F5C\u7CFB\u7EDF\u5B57\u4F53\u5217\u8868\u590D\u5236\u5B57\u4F53\u540D\u79F0\uFF0C\u5177\u4F53\u6559\u7A0B\u8BF7\u67E5\u770B","add common fonts":"\u6DFB\u52A0\u5E38\u7528\u5B57\u4F53","The font was not found,has automatically switched to the browser's default font.":"\u672A\u627E\u5230\u8BE5\u5B57\u4F53\uFF0C\u5DF2\u81EA\u52A8\u5207\u6362\u4E3A\u6D4F\u89C8\u5668\u9ED8\u8BA4\u5B57\u4F53","Please select a device for placement":"\u8BF7\u9009\u62E9\u4E00\u4E2A\u5668\u4EF6\u8FDB\u884C\u653E\u7F6E","Content copied to clipboard":"\u5185\u5BB9\u5DF2\u590D\u5236\u5230\u526A\u5207\u677F","Paste Type":"\u8D34\u7247\u7C7B\u578B","Assembly Type":"\u710A\u63A5\u7C7B\u578B","Import failed! Unrecognized file format!":"\u5BFC\u5165\u5931\u8D25\uFF01\u6587\u4EF6\u683C\u5F0F\u65E0\u6CD5\u8BC6\u522B\uFF01","Do not nest the same CBB:{title}":"\u4E0D\u5141\u8BB8\u5D4C\u5957\u653E\u7F6E\u76F8\u540C\u7684\u590D\u7528\u6A21\u5757\uFF1A{title}","Modify failed! Nest the same CBB after Modification.":"\u4FEE\u6539\u5931\u8D25\uFF01\u4FEE\u6539\u540E\u5B58\u5728\u5D4C\u5957\u81EA\u8EAB\u7684\u590D\u7528\u6A21\u5757","Cannot Swap Location for objects within the same group":"\u4E0D\u80FD\u4EA4\u6362\u540C\u4E00\u7EC4\u5408\u5185\u5BF9\u8C61","Exit Smart Size Mode":"\u9000\u51FA\u667A\u80FD\u5C3A\u5BF8\u6A21\u5F0F","Exit Edit Pad Shape Mode":"\u9000\u51FA\u7F16\u8F91\u710A\u76D8\u5F62\u72B6\u6A21\u5F0F","Notice\uFF1AHaven't login standard edition, please login":"\u63D0\u793A\uFF1A\u672A\u767B\u5F55\u6807\u51C6\u7248\uFF0C\u8BF7\u5148\u767B\u5F55","the Standard Edition Editor":"\u6807\u51C6\u7248\u7F16\u8F91\u5668","first, and then imagrate the data.":", \u624D\u53EF\u4EE5\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3002","Import Local File":"\u5BFC\u5165\u672C\u5730\u6587\u4EF6","Already exist a net class named {0}":"\u5DF2\u7ECF\u5B58\u5728\u4E00\u4E2A\u540D\u4E3A {0} \u7684\u7F51\u7EDC\u7C7B","Already exist an equal length group named {0}":"\u5DF2\u7ECF\u5B58\u5728\u4E00\u4E2A\u540D\u4E3A {0} \u7684\u7B49\u957F\u7F51\u7EDC\u7EC4","Already exist a differentail-pair named {0}":"\u5DF2\u7ECF\u5B58\u5728\u4E00\u4E2A\u540D\u4E3A {0} \u7684\u5DEE\u5206\u5BF9","A positive network is not the same as a negative network":"\u6B63\u7F51\u7EDC\u4E0E\u8D1F\u7F51\u7EDC\u4E0D\u53EF\u76F8\u540C","The network {0} already exists in the Differentail-pair {1}, Unable to added success.":"\u7F51\u7EDC{0} \u5DF2\u7ECF\u5B58\u5728\u4E8E\u5DEE\u5206\u5BF9 {1}, \u65E0\u6CD5\u6DFB\u52A0\u6210\u529F\u3002","Failed to {0} differential pair {DP1}! {NW} network already exists in differential pair {DP2}.":"{0}\u5DEE\u5206\u5BF9 {DP1} \u5931\u8D25\uFF01{NW} \u7F51\u7EDC\u5DF2\u5B58\u5728\u4E8E\u5DEE\u5206\u5BF9 {DP2} \u4E2D","Failed to {0} differential pair {DP}! Network {NW} does not exist.":"{0}\u5DEE\u5206\u5BF9 {DP} \u5931\u8D25\uFF01\u7F51\u7EDC {NW} \u4E0D\u5B58\u5728","{Type} {Object1} failed to add net {Nets}! Net {Nets} does not exist.":"{Type} {Object1} \u589E\u52A0\u7F51\u7EDC {Nets} \u5931\u8D25\uFF01\u7F51\u7EDC {Nets} \u4E0D\u5B58\u5728","{Type} {Object1} failed to add net {Nets}! Net {Nets} already exists in {Type} {Object2}":"{Type} {Object1} \u589E\u52A0\u7F51\u7EDC {Nets} \u5931\u8D25\uFF01\u7F51\u7EDC {Nets} \u5DF2\u5B58\u5728\u4E8E{Type} {Object2} \u4E2D","@@differential-pair":{add:"\u65B0\u589E",modify:"\u4FEE\u6539"},"Highlight entire network when hovering wire":"\u9F20\u6807\u60AC\u6D6E\u5BFC\u7EBF\u9AD8\u4EAE\u6574\u4E2A\u7F51\u7EDC","Adjust properties location automatically when components are rotated":"\u65CB\u8F6C\u5143\u4EF6\u65F6\u81EA\u52A8\u8C03\u6574\u5C5E\u6027\u4F4D\u7F6E","Multi-Part Component Cross Layer":"\u591A\u90E8\u4EF6\u8DE8\u5C42","(Switching affects multi-part component grouping)":"(\u5207\u6362\u4F1A\u5F71\u54CD\u591A\u90E8\u4EF6\u5206\u7EC4)","Annotate designator automatically while placing or paste device":"\u653E\u7F6E\u6216\u7C98\u8D34\u5668\u4EF6\u81EA\u52A8\u5206\u914D\u4F4D\u53F7","Assign from the end":"\u4ECE\u672B\u5C3E\u5206\u914D","Fill Gaps":"\u4ECE\u7A7A\u7F3A\u5206\u914D","Do Not Assign":"\u4E0D\u81EA\u52A8\u5206\u914D","Suture vias have been placed,do you want to rebuid the copper area?":"\u7F1D\u5408\u5B54\u653E\u7F6E\u5DF2\u7ECF\u5B8C\u6210\uFF0C\u662F\u5426\u91CD\u5EFA\u94FA\u94DC\uFF1F","Angle Increment":"\u89D2\u5EA6\u6B65\u8FDB","Radius Increment":"\u534A\u5F84\u6B65\u8FDB","Angle Range":"\u89D2\u5EA6\u8303\u56F4","Radius Range":"\u534A\u5F84\u8303\u56F4","Start Radius":"\u8D77\u59CB\u534A\u5F84","End Radius":"\u7ED3\u675F\u534A\u5F84","The starting angle cannot be greater than the ending angle":"\u8D77\u59CB\u89D2\u5EA6\u4E0D\u80FD\u5927\u4E8E\u7ED3\u675F\u89D2\u5EA6","The starting radius cannot be greater than the ending radius":"\u8D77\u59CB\u534A\u5F84\u4E0D\u80FD\u5927\u4E8E\u7ED3\u675F\u534A\u5F84","The starting radius cannot be less than 0":"\u8D77\u59CB\u534A\u5F84\u4E0D\u80FD\u5C0F\u4E8E0","The ending radius cannot be less than 0":"\u7ED3\u675F\u534A\u5F84\u4E0D\u80FD\u5C0F\u4E8E0","Automatic Generation...":"\u81EA\u52A8\u751F\u6210...","Positive Net Suffix":"\u6B63\u7F51\u7EDC\u540E\u7F00","Negative Net Suffix":"\u8D1F\u7F51\u7EDC\u540E\u7F00","Differential Pair Title":"\u5DEE\u5206\u5BF9\u540D\u79F0","Auto Create Differential Pair":"\u81EA\u52A8\u751F\u6210\u5DEE\u5206\u5BF9","The positive network suffix and negative network suffixes cannot be empty!":"\u6B63\u7F51\u7EDC\u540E\u7F00\u548C\u8D1F\u7F51\u7EDC\u540E\u7F00\u4E0D\u53EF\u4E3A\u7A7A\uFF01","Positive network suffix and negative network suffix cannot be the same!":"\u6B63\u7F51\u7EDC\u540E\u7F00\u548C\u8D1F\u7F51\u7EDC\u540E\u7F00\u4E0D\u53EF\u76F8\u540C\uFF01","Difference pair names cannot exceed 32 characters\uFF1A{0}!":"\u5DEE\u5206\u5BF9\u540D\u79F0\u4E0D\u80FD\u8D85\u8FC732\u4E2A\u5B57\u7B26\uFF1A{0}\uFF01","Rule name cannot exceed 128 characters!":"\u89C4\u5219\u540D\u79F0\u4E0D\u80FD\u8D85\u8FC7 128 \u4E2A\u5B57\u7B26\u957F\u5EA6\uFF01","{0} differential pairs are created.":"{0} \u4E2A\u5DEE\u5206\u5BF9\u521B\u5EFA\u5B8C\u6210\u3002","The following difference pair name already exist: {0}":"\u4EE5\u4E0B\u5DEE\u5206\u5BF9\u540D\u79F0\u5DF2\u5B58\u5728\uFF1A{0}","Region rule > Net-net rule > Net rule":"\u533A\u57DF\u89C4\u5219>\u7F51\u7EDC-\u7F51\u7EDC\u89C4\u5219>\u7F51\u7EDC\u89C4\u5219","Tips: Design rule apply priority is:":"\u89C4\u5219\u5206\u914D\u4F18\u5148\u7EA7\u4E3A\uFF1A",", when the object has different rules, it will use the high\xA0priority rule first.":"\uFF0C\u4E0D\u540C\u56FE\u5143\u8BBE\u8BA1\u89C4\u5219\u51B2\u7A81\u65F6\uFF0C\u5C06\u4F9D\u636E\u4F18\u5148\u7EA7\u53D6\u4F18\u5148\u7EA7\u9AD8\u7684\u503C","3D Shell - Outline":"3D\u5916\u58F3 - \u8FB9\u6846","3D Shell - Screw Pillar":"3D\u5916\u58F3 - \u87BA\u4E1D\u67F1","3D Shell - Side Datum Line":"3D\u5916\u58F3 - \u4FA7\u9762\u57FA\u51C6\u7EBF","3D Shell - Side Slot Region":"3D\u5916\u58F3 - \u4FA7\u9762\u6316\u69FD\u533A\u57DF","3D Shell - Top/Bottom Slot Region":"3D\u5916\u58F3 - \u9876\u9762/\u5E95\u9762\u6316\u69FD\u533A\u57DF","3D Shell - Side Entity":"3D\u5916\u58F3 - \u4FA7\u9762\u5B9E\u4F53","3D Shell - Top/Bottom Entity":"3D\u5916\u58F3 - \u9876\u9762/\u5E95\u9762\u5B9E\u4F53","3D Shell - Top Slot Region":"3D\u5916\u58F3 - \u9876\u9762\u6316\u69FD\u533A\u57DF","3D Shell - Slot Region":"3D\u5916\u58F3 - \u6316\u69FD\u533A\u57DF","3D Shell - Entity":"3D\u5916\u58F3 - \u5B9E\u4F53","3DShell.outline":"\u8FB9\u6846","3DShell.screwPillar":"\u87BA\u4E1D\u67F1","3DShell.sideDatumLine":"\u4FA7\u9762\u57FA\u51C6\u7EBF","3DShell.sideSlotRegion":"\u4FA7\u9762\u6316\u69FD\u533A\u57DF","3DShell.topBottomSlotRegion":"\u9876\u9762/\u5E95\u9762\u6316\u69FD\u533A\u57DF","Slot Option":"\u6316\u69FD\u9009\u9879","Shell Outline":"\u5916\u58F3\u8FB9\u6846","Screw Pillar":"\u87BA\u4E1D\u67F1",Entity:"\u5B9E\u4F53","Top/Bottom Entity":"\u9876\u9762/\u5E95\u9762\u5B9E\u4F53","Side Entity":"\u4FA7\u9762\u5B9E\u4F53","Stretch Length":"\u62C9\u4F38\u957F\u5EA6","Upper shell":"\u4E0A\u58F3","Lower shell":"\u4E0B\u58F3","Pins correspond to ports.":"\u5F15\u811A\u4E0E\u7AEF\u53E3\u4E00\u4E00\u5BF9\u5E94\u3002","duplication of netport name!":"\u7AEF\u53E3\u91CD\u540D!","Pin does not match port type":"\u5F15\u811A\u4E0E\u7AEF\u53E3\u7C7B\u578B\u4E0D\u5339\u914D","Port does not match pin type":"\u7AEF\u53E3\u4E0E\u5F15\u811A\u7C7B\u578B\u4E0D\u5339\u914D","Under smart dimension mode, only one pad or dimension can be dragged at a time!":"\u667A\u80FD\u5C3A\u5BF8\u6A21\u5F0F\u4E0B\uFF0C\u4E00\u6B21\u53EA\u80FD\u62D6\u52A8\u4E00\u4E2A\u710A\u76D8\u6216\u6807\u6CE8\u3002","Add 3D model failed, name duplicated!":"\u65B0\u5EFA3D\u6A21\u578B\u5931\u8D25\uFF0C\u540D\u79F0\u91CD\u590D\uFF01","The length of reverse pin must be equal to or greater than 0.1 inch.":"\u4F4E\u6709\u6548\u7684\u5F15\u811A\u957F\u5EA6\u5FC5\u987B\u7B49\u4E8E\u6216\u5927\u4E8E0.1inch\u3002","Do not import single Sheet files!":"\u4E0D\u5141\u8BB8\u5BFC\u5165\u5355\u4E2A\u56FE\u9875\u6587\u4EF6\uFF01","Do not import single PCB files!":"\u4E0D\u5141\u8BB8\u5BFC\u5165\u5355\u4E2APCB\u6587\u4EF6\uFF01","Do not import single Panel files!":"\u4E0D\u5141\u8BB8\u5BFC\u5165\u5355\u4E2APanel\u6587\u4EF6\uFF01","Normal Brightness":"\u6B63\u5E38\u4EAE\u5EA6","Inactive Layer Turns Grey":"\u975E\u6FC0\u6D3B\u5C42\u53D8\u7070","Inactive Layer Hiding":"\u975E\u6FC0\u6D3B\u5C42\u9690\u85CF","Inactive Layer Transparency":"\u975E\u6FC0\u6D3B\u5C42\u900F\u660E\u5EA6","Only Display Layer":"\u4EC5\u663E\u793A\u56FE\u5C42","Display All Layers":"\u663E\u793A\u6240\u6709\u56FE\u5C42","Pushing failed and unable to go back, please adjust the path":"\u63A8\u6324\u5931\u8D25\u5BFC\u81F4\u65E0\u6CD5\u56DE\u9000\uFF0C\u8BF7\u8C03\u6574\u8DEF\u5F84","Export Test Point Report":"\u5BFC\u51FA\u6D4B\u8BD5\u70B9\u62A5\u544A","Test Point Report":"\u6D4B\u8BD5\u70B9\u62A5\u544A","Click to preview 3D":"\u70B9\u51FB\u9884\u89C83D","Single Routing Mode":"\u5355\u8DEF\u5E03\u7EBF\u6A21\u5F0F","Change Track":"\u5207\u6362\u5BFC\u7EBF","The rule is used for via, and cannot be deleted!":"\u5B58\u5728\u8FC7\u5B54\u4F7F\u7528\u8BE5\u89C4\u5219\uFF0C\u4E0D\u53EF\u5220\u9664\uFF01","Slot Hole Layer":"\u6316\u5B54\u5C42","Opacity Control Layer":"\u900F\u660E\u63A7\u5236\u5C42","Board Outline Layer":"\u677F\u6846\u5C42","Glue Cutout Layer":"\u80CC\u80F6\u6316\u7A7A\u5C42","Lighting Simulation Layer":"\u706F\u5149\u4EFF\u771F\u5C42","Print Layer":"\u6253\u5370\u5C42","Bun Layer":"\u9F13\u5305\u5C42","Material Boarder Layer":"\u6750\u6599\u8FB9\u754C\u5C42","Print and Cover":"\u6253\u5370\u5C42\u548C\u906E\u76D6\u5C42","Cover Layer":"\u906E\u76D6\u5C42","White Cover Layer":"\u767D\u8272\u906E\u76D6\u5C42","Black Cover Layer":"\u9ED1\u8272\u906E\u76D6\u5C42","Glue Layer":"\u80CC\u80F6\u5C42","Assist Drawing Layer":"\u8F85\u52A9\u7ED8\u5236\u5C42","Width Percent":"\u5BBD\u5EA6\u6BD4\u4F8B","Height Percent":"\u9AD8\u5EA6\u6BD4\u4F8B",Opacity:"\u4E0D\u900F\u660E\u5EA6",Transparency:"\u900F\u660E\u5EA6","Basic Info":"\u57FA\u672C\u4FE1\u606F","Basic Properties":"\u57FA\u7840\u5C5E\u6027","Other Properties":"\u5176\u5B83\u5C5E\u6027","Custom Properties":"\u81EA\u5B9A\u4E49\u5C5E\u6027","Position and Size":"\u4F4D\u7F6E\u548C\u5C3A\u5BF8","Overall Position and Size":"\u6574\u4F53\u4F4D\u7F6E\u548C\u5C3A\u5BF8",Transformation:"\u53D8\u6362","Overall Transformation":"\u6574\u4F53\u53D8\u6362","Round Angle":"\u5706\u89D2","Disable Snap Function,When The Number of Segments of The Outline Object is Greater Than":"\u7981\u7528\u5438\u9644\u529F\u80FD\uFF0C\u5F53\u8F6E\u5ED3\u5BF9\u8C61\u7EBF\u6BB5\u6570\u91CF\u5927\u4E8E","Amplifier Type":"\u8FD0\u653E\u7C7B\u578B","Gain Bandwidth Product\uFF08GBP\uFF09":"\u589E\u76CA\u5E26\u5BBD\u79EF(GBP)","Iq per channel (Typ)":"\u5404\u901A\u9053\u529F\u8017","Number of Circuits":"\u7535\u8DEF\u6570","Output Type":"\u8F93\u51FA\u6A21\u5F0F","Output Template":"\u8F93\u51FA\u6A21\u677F","Slew Rate\uFF08SR\uFF09":"\u538B\u6446\u7387(SR)","Supply Voltage\uFF08Single\uFF09":"\u7535\u6E90\u7535\u538B","@@attrs":{Link:"\u94FE\u63A5","Forward Voltage (Vf) @ If":"\u6B63\u5411\u538B\u964D(Vf)","Collector Current (Ic)":"\u96C6\u7535\u6781\u7535\u6D41(Ic)","Collector-Emitter Breakdown Voltage (Vceo)":"\u96C6\u5C04\u6781\u51FB\u7A7F\u7535\u538B(Vceo)","Power Dissipation (Pd)":"\u529F\u7387(Pd)","Luminous Color":"\u53D1\u5149\u989C\u8272","DC Resistance":"\u76F4\u6D41\u7535\u963B",param_name_en:"param_name","Resistance (Ohms)":"\u963B\u503C(\u6B27\u59C6)",Tolerance:"\u7CBE\u5EA6","Power (Watts)":"\u529F\u7387",Capacitance:"\u5BB9\u503C","Voltage - Rated":"\u989D\u5B9A\u7535\u538B","Temperature Coefficient":"\u6E29\u5EA6\u7CFB\u6570","ESR (Equivalent Series Resistance)":"\u7B49\u6548\u4E32\u8054\u7535\u963B(ESR)","Lifetime @ Temp":"\u5DE5\u4F5C\u5BFF\u547D","Operating Temperature":"\u5DE5\u4F5C\u6E29\u5EA6","Lead Spacing (mm)":"\u811A\u95F4\u8DDD(mm)","Size / Dimension":"\u5927\u5C0F/\u5C3A\u5BF8",Copper:"\u94DC\u7B94\u5C42","Non-Copper":"\u975E\u94DC\u5C42",All:"\u6240\u6709\u5C42","Height - Seated (Max)":"\u5B89\u88C5\u9AD8\u5EA6(\u6700\u5927\u503C)","Surface Mount Land Size":"\u8D34\u7247(LAND)\u5C3A\u5BF8","Voltage Rating - DC":"\u76F4\u6D41\u989D\u5B9A\u7535\u538B(VDC)","DC Resistance (DCR)":"\u76F4\u6D41\u7535\u963B(DCR)","Rated current":"\u989D\u5B9A\u7535\u6D41","Impedance @ Frequency":"\u963B\u6297 @ \u9891\u7387","Number of Lines":"\u7EBF\u8DEF\u6570","Height (Max)":"\u9AD8\u5EA6(\u6700\u5927\u503C)","Diode Type":"\u53D8\u5BB9\u4E8C\u6781\u7BA1\u7684\u7C7B\u578B","Voltage - DC Reverse (Vr) (Max)":"\u76F4\u6D41\u53CD\u5411\u8010\u538B(Vr)","Current - Average Rectified (Io)":"\u5E73\u5747\u6574\u6D41\u7535\u6D41(Io)","Voltage - Forward (Vf) (Max) @ If":"\u6B63\u5411\u538B\u964D(Vf)","Reverse Recovery Time (trr)":"\u53CD\u5411\u6062\u590D\u65F6\u95F4(trr)","Voltage - Zener (Nom) (Vz)":"\u7A33\u538B\u503C(\u5178\u578B\u503C)","Power - Max":"\u989D\u5B9A\u529F\u7387","Current - Reverse Leakage @ Vr":"\u53CD\u5411\u6F0F\u7535\u6D41","Unidirectional Channels":"\u5355\u5411\u901A\u9053","Bidirectional Channels":"\u53CC\u5411\u901A\u9053","Voltage - Reverse Standoff (Typ)":"\u53CD\u5411\u5173\u65AD\u7535\u538B(\u5178\u578B\u503C)","Voltage - Breakdown (Min)":"\u51FB\u7A7F\u7535\u538B(\u6700\u5C0F\u503C)","Voltage - Clamping (Max) @ Ipp":"\u7B9D\u4F4D\u7535\u538B","Current - Peak Pulse (10/1000\u03BCs)":"\u5CF0\u503C\u8109\u51B2\u7535\u6D41(10/1000us)","Power - Peak Pulse":"\u53CD\u5411\u8109\u51B2\u7684\u5CF0\u503C\u529F\u7387","Illumination Color":"\u7167\u660E\u989C\u8272","Dominant Wavelength / Coordinate rank":"\u4E3B\u6CE2\u957F/\u8272\u5750\u6807","Vf - Forward Voltage":"\u6B63\u5411\u538B\u964D","Luminous Intensity (IF":"20mA)","Mounting Type":"\u5B89\u88C5\u7C7B\u578B","Number of Characters":"\u6570\u7801\u7BA1\u4F4D\u6570","Digit/Alpha Size":"\u6570\u7801\u7BA1\u7684\u663E\u793A\u5C3A\u5BF8(inch)","Common Pin":"\u7535\u8DEF\u8FDE\u7EBF\u7C7B\u578B",Color:"\u989C\u8272","Wavelength - Dominant":"\u6CE2\u957F - nm\u5178\u578B","Responsivity @ nm":"\u63A5\u6536\u5CF0\u503C\u7684\u6CE2\u957F","Spectral Range":"\u54CD\u5E94\u8303\u56F4",Wavelength:"\u6CE2\u957F","Current - DC Forward (If) (Max)":"\u6B63\u5411\u7535\u6D41-DC (If)","BPF Center Frequency":"\u8F7D\u6CE2\u4E2D\u5FC3\u9891\u7387","Voltage - Supply":"\u5DE5\u4F5C\u7535\u538B","Current - Supply":"\u5DE5\u4F5C\u7535\u6D41","Transistor Type":"\u6676\u4F53\u7BA1\u7C7B\u578B","Current - Collector (Ic) (Max)":"\u96C6\u7535\u6781\u7535\u6D41Ic","Voltage - Collector Emitter Breakdown (Max)":"\u96C6\u5C04\u6781\u51FB\u7A7F\u7535\u538BVce","FET Type":"FET\u7C7B\u578B","Drain to Source Voltage(Vdss)":"\u6F0F\u6E90\u7535\u538B(Vdss)","Continuous Drain Current (Id) @ 25\xB0C":"\u8FDE\u7EED\u6F0F\u6781\u7535\u6D41(Id)(25\xB0C \u65F6)","Vgs(th) (Max) @ Id":"\u6805\u6E90\u6781\u9608\u503C\u7535\u538B","Drive Voltage (Max Rds On, Min Rds On)":"Vg(th)\u7684\u8303\u56F4","Rds On (Max) @ Id, Vgs":"\u6F0F\u6E90\u5BFC\u901A\u7535\u963B","Power Dissipation-Max (Ta":"25\xB0C)",Type:"\u7C7B\u578B","Type.attr":"\u7C7B\u578B","Voltage - Off State (Max)":"\u65AD\u6001\u7535\u538BVdrm","Current - On State (It (AV)) (Max)":"\u901A\u6001\u7535\u6D41 (It (AV)) (Max)","Voltage - Gate Trigger (Vgt) (Max)":"\u6805\u6781\u89E6\u53D1\u7535\u538B","Current - Gate Trigger (Igt) (Max)":"\u6805\u6781\u89E6\u53D1\u7535\u6D41","IGBT Type":"\u7C7B\u578B","Vce(on) (Max) @ Vge, Ic":"\u4E0D\u540C Vge\uFF0CIc \u65F6\u7684 Vce(on)","Gate Threshold Voltage-VGE(th)":"\u6805\u6781\u9608\u503C\u7535\u538B-VGE(th)","Core Size":"CPU\u4F4D\u6570","Core Processor":"CPU\u5185\u6838",Speed:"\u4E3B\u9891(MAX)","Program Memory Type":"ROM\u7C7B\u578B","Program Memory Size":"ROM\u5C3A\u5BF8","RAM Size":"RAM\u5BB9\u91CF","Number of I/O":"I/O \u6570","Voltage - Supply (Vcc/Vdd)":"\u5DE5\u4F5C\u7535\u538B",Series:"\u7CFB\u5217","Logic Type":"\u903B\u8F91\u7C7B\u578B","Number of Circuits/Elements":"\u7535\u8DEF/\u5143\u4EF6\u6570","Number of Inputs/Bits per Element":"\u8F93\u5165\u6570/\u6BCF\u5143\u4EF6\u4F4D\u6570","Number of Circuits":"\u7535\u8DEF\u6570","Number of Elements":"\u6BD4\u8F83\u5668\u7EC4\u6570","Propagation Delay (Max)":"\u4F20\u64AD\u5EF6\u8FDF","Voltage - Supply, Single/Dual (\xB1)":"\u5DE5\u4F5C\u7535\u538B\u8303\u56F4","Number of Bits":"\u4F4D\u6570","Sampling Rate (Per Second)":"\u91C7\u6837\u7387(sps)","Number of Inputs":"\u8F93\u5165\u6570","Input Type":"\u8F93\u5165\u7C7B\u578B","Data Interface":"\u6570\u636E\u63A5\u53E3","Reference Type":"\u7535\u538B\u57FA\u51C6\u7C7B\u578B","Number of D/A Converters":"D/A\u901A\u9053\u6570","Output Type":"\u8F93\u51FA\u7C7B\u578B","Voltage - Supply, Analog":"\u5DE5\u4F5C\u7535\u538B",Function:"\u529F\u80FD","Output Configuration":"\u8F93\u51FA\u914D\u7F6E",Topology:"\u62D3\u6251\u7ED3\u6784","Number of Outputs":"\u8F93\u51FA\u901A\u9053\u6570","Voltage - Input (Min)":"\u6700\u5C0F\u8F93\u5165\u7535\u538B","Voltage - Input (Max)":"\u6700\u5927\u8F93\u5165\u7535\u538B","Voltage - Output (Min/Fixed)":"\u8F93\u51FA\u7535\u538B(\u6700\u5C0F\u503C/\u56FA\u5B9A\u503C)","Voltage - Output (Max)":"OC \u7AEF\u8010\u538B\u503C","Current - Output":"\u53EF\u8F93\u51FA\u7535\u6D41","Frequency - Switching":"\u5F00\u5173\u5DE5\u4F5C\u9891\u7387","Synchronous Rectifier":"\u540C\u6B65\u6574\u6D41\u4E0E\u5426","Regulator Topology":"\u7535\u6E90\u62D3\u6251","Voltage \u2013 Output (Min)":"\u8F93\u51FA\u7535\u538B (Min)","Output Current":"\u8F93\u51FA\u7535\u6D41","Current - Limit (Min)":"\u7535\u6D41\u9650\u5236","Voltage - Dropout (Typical)":"\u538B\u5DEE(\u53C2\u6570)","Number of Regulators":"\u7A33\u538B\u5668\u6570","Number of Channels":"\u901A\u9053\u6570","Rise / Fall Time (Typ)":"\u4E0A\u5347/\u4E0B\u964D\u65F6\u95F4(\u5178\u578B\u503C)","Voltage - Isolation":"\u9694\u79BB\u7535\u538B","Data Rate":"\u6570\u636E\u901F\u7387",Frequency:"\u9891\u7387","Frequency Stability":"\u9891\u7387\u7A33\u5B9A\u5EA6","Frequency Tolerance":"\u9891\u7387\u516C\u5DEE","Load Capacitance":"\u8D1F\u8F7D\u7535\u5BB9\u503C","Current - Supply (Max)":"\u5DE5\u4F5C\u7535\u6E90\u7535\u6D41(\u6700\u5927\u503C)","Voltage \u2013 Input":"\u7535\u538B\u8F93\u5165(\u8303\u56F4)","Voltage - Output 1":"\u7B2C\u4E00\u7EC4\u8F93\u51FA\u7684\u7535\u538B","Voltage - Output 2":"\u7B2C\u4E8C\u7EC4\u8F93\u51FA\u7684\u7535\u538B","Voltage - Output 3":"\u7B2C\u4E09\u7EC4\u8F93\u51FA\u7684\u7535\u538B","Voltage - Output 4":"\u7B2C\u56DB\u7EC4\u8F93\u51FA\u7684\u7535\u538B","Current \u2013 Output  (Max)":"\u6700\u5927\u8F93\u51FA\u7535\u6D41","Current \u2013 Output (Max)":"\u6700\u5927\u8F93\u51FA\u7535\u6D41","With Magnetics?":"\u662F\u5426\u5E26\u53D8\u538B\u5668?","Relay Type":"\u7EE7\u7535\u5668\u7C7B\u578B","Coil Voltage":"\u7EBF\u5708\u7535\u538B","Contact Form":"\u89E6\u70B9\u5F62\u5F0F","Contact Rating (Current)":"\u89E6\u70B9\u7684\u989D\u5B9A\u7535\u6D41","Switching Voltage":"\u5F00\u5173\u7535\u538B",Circuit:"\u7535\u8DEF\u7ED3\u6784","Voltage - Input":"\u8F93\u5165\u7535\u538B","On-State Resistance (Max)":"\u5F00\u6001\u7535\u963B(Max)","Load Current":"\u8D1F\u8F7D\u7535\u6D41","Voltage - Load":"\u8D1F\u8F7D\u7535\u538B","Resistance in Ohms @ 25\xB0C":"\u5E38\u6E29\u963B\u503C(25\xB0C\uFF0C\u6B27\u59C6)","Resistance Tolerance":"\u7535\u963B\u7CBE\u5EA6","B25/50":"B\u503C(25\xB0C~50\xB0C)","B Value Tolerance":"B\u503C\u7684\u7CBE\u5EA6","Resistance(Ohms)":"\u603B\u963B\u503C(\u6B27\u59C6)","Size(mm)":"\u5916\u89C2\u5C3A\u5BF8(\uFFE0DxL,mm)","Allowable Voltage(Vdc)":"\u6807\u79F0\u7535\u538B","Varistor Voltage":"\u538B\u654F\u7535\u538B","Clamping Voltage":"\u94B3\u4F4D\u7535\u538B","surge current":"\u6D6A\u6D8C\u7535\u6D41",Connectivity:"\u901A\u8BAF\u8FDE\u63A5\u6027","Voltage - Peak Reverse (Max)":"\u6700\u5927\u53CD\u5411\u5DE5\u4F5C\u7535\u538B","Voltage - Breakover":"\u8F6C\u6298\u89E6\u53D1\u7535\u538B","Current - Breakover":"\u8F6C\u6298\u7535\u6D41","Current - Peak Output":"\u5CF0\u503C\u8F93\u51FA\u7535\u6D41","Ripple Current":"\u7EB9\u6CE2\u7535\u6D41","Voltage Rating - AC":"\u989D\u5B9A\u7535\u538B - AC","Capacitance Range":"\u53EF\u8C03\u5BB9\u91CF\u8303\u56F4","Voltage Rating (VDC,VAC)":"\u989D\u5B9A\u7535\u538B(VDC\uFF0CVAC)",Polarity:"\u6781\u6027","Voltage - DC Spark Over (Nom)":"\u76F4\u6D41\u51FB\u7A7F\u7535\u538B","Impulse Discharge Current (8/20us)":"\u51B2\u51FB\u7535\u6D41","Size / Dimension(\uFFE0DxL,mm)":"\u672C\u4F53\u5C3A\u5BF8(\uFFE0DxL,mm)","Cell Resistance @ Illuminance":"\u4EAE\u7535\u963B","Cell Resistance (Min) @ Dark":"\u6697\u7535\u963B","Voltage - Max":"\u6700\u5927\u5DE5\u4F5C\u7535\u538B","Current Rating (Max)":"\u6700\u5927\u7535\u6D41","Frequency Range":"\u9891\u7387\u8303\u56F4","Inductance @ Frequency":"\u7535\u611F @ \u9891\u7387","DC Resistance (DCR) (Max)":"\u76F4\u6D41\u7535\u963B(DCR)(\u6700\u5927)","Withstanding Voltage":"\u8010\u7535\u538B","Filter Type":"\u6EE4\u6CE2\u5668\u7C7B\u578B","Capacitance Ratio":"\u7535\u5BB9\u6BD4","Capacitance @ Vr, F":"\u4E8C\u6781\u7BA1\u5BB9\u503C",Features:"\u7279\u6027","Current Rating":"\u989D\u5B9A\u7535\u6D41","Rated Voltage(DC)":"\u989D\u5B9A\u7535\u538B DC","Response Time":"\u54CD\u5E94\u65F6\u95F4","Current - Max":"\u6700\u5927\u7535\u6D41","Current - Hold (Ih)":"\u4FDD\u6301\u7535\u6D41","Current - Trip (It)":"\u8DF3\u95F8\u7535\u6D41","Power Dissipation (Max)":"\u529F\u7387\u8017\u6563(\u6700\u5927\u503C)","Voltage Dropout (Max)":"\u538B\u964D(max)","Number of Voltages Monitored":"\u53D7\u76D1\u63A7\u7535\u538B\u6570",Output:"\u8F93\u51FA",Reset:"\u6709\u6548\u590D\u4F4D\u7535\u5E73","Reset Threshold Voltage":"\u590D\u4F4D\u9600\u503C\u7535\u538B","Input Voltage":"\u8F93\u5165\u7535\u538B","Supply Current":"\u7535\u6E90\u7535\u6D41","Max Output Power x Channels @ Load":"\u8F93\u51FA\u529F\u7387","Vout/Iout":"\u8F93\u51FA\u7535\u538B/\u7535\u6D41",Efficiency:"\u8F6C\u6362\u6548\u7387","Battery Chemistry":"\u5145\u7535\u7535\u6C60\u7684\u7C7B\u578B","Number of Cells":"\u7535\u6C60\u8282\u6570","Charge Current - Max":"\u6700\u5927\u5145\u7535\u7535\u6D41","Battery Pack Voltage":"\u5145\u6EE1\u7684\u7535\u6C60\u7EC4\u7535\u538B","Voltage - Supply (Max)":"\u6700\u5927\u4F9B\u5E94\u7535\u538B",Interface:"\u63A5\u53E3\u7C7B\u578B","Overcharge Detection Voltage":"\u8FC7\u5145\u7535\u68C0\u6D4B\u7535\u538B","Overcharge Release Voltage":"\u8FC7\u5145\u7535\u89E3\u9664\u7535\u538B","Overdischarge Detection Voltage":"\u8FC7\u653E\u7535\u68C0\u6D4B\u7535\u538B","Overdischarge Release Voltage":"\u8FC7\u653E\u7535\u89E3\u9664\u7535\u538B","Overcurrent Detection Current":"\u8FC7\u6D41\u68C0\u6D4B\u7535\u6D41","EEPROM Size":"EEPROM \u5C3A\u5BF8","I2C\uFF08SMBUS/PMBUS\uFF09":"I2C(SMBUS/PMBUS)","Coil Type":"\u7EBF\u5708\u7C7B\u578B","Voltage - Threshold":"\u7535\u538B\u9608\u503C","Memory Type":"\u5B58\u50A8\u5668\u7C7B\u578B","Memory Format":"\u5B58\u50A8\u5668\u6784\u67B6(\u683C\u5F0F)","Memory Size":"\u5B58\u50A8\u5BB9\u91CF","Memory Interface":"\u5B58\u50A8\u5668\u63A5\u53E3\u7C7B\u578B","RF Family/Standard":"\u5C04\u9891\u7CFB\u5217/\u6807\u51C6",Protocol:"\u534F\u8BAE",Modulation:"\u8C03\u5236\u65B9\u5F0F","Data Rate (Max)":"\u6570\u636E\u901F\u7387(\u6700\u5927\u503C)","Power - Output":"\u8F93\u51FA\u529F\u7387","Serial Interfaces":"\u63A5\u53E3\u7C7B\u578B","Number of Drivers/Receivers":"\u9A71\u52A8\u5668/\u63A5\u6536\u5668\u6570","Supply Voltage":"\u5DE5\u4F5C\u7535\u538B",Sensitivity:"\u7075\u654F\u5EA6",Technology:"\u9694\u79BB\u5668\u7684\u6280\u672F\u6784\u67B6","bulit-in oscillator circuit":"\u5185\u7F6E\u632F\u8361\u5668\u7535\u8DEF","Frequency - Self Resonant":"\u81EA\u8C10\u632F\u9891\u7387","Sound Pressure Level (SPL)":"\u58F0\u538B(SPL)","Rated Voltage":"\u989D\u5B9A\u7535\u538B","Operating Voltage":"\u5DE5\u4F5C\u7535\u538B","Size(D/(LxW))":"\u5916\u5F62\u5C3A\u5BF8(D/(LxW))","Monitor Type":"\u76D1\u63A7\u7C7B\u578B","Gain Error":"\u589E\u76CA\u8BEF\u5DEE",Gain:"\u589E\u76CA","Common-mode Input Voltage":"\u5171\u6A21\u8F93\u5165\u7535\u538B","Gain Bandwidth Product":"\u5DE5\u4F5C\u5E26\u5BBD","Time Format":"\u65F6\u95F4\u683C\u5F0F","Date Format":"\u65E5\u671F\u683C\u5F0F","Voltage - Supply, Battery":"\u7535\u6C60\u4F9B\u5E94\u7535\u538B","Current - Timekeeping (Max)":"\u7535\u6D41\u6D88\u8017","Interrupt Output":"\u4E2D\u65AD\u8F93\u51FA","Current - Output Source/Sink":"\u704C/\u62C9\u7535\u6D41\u8F93\u51FA","Isolated Power":"\u662F\u5426\u5E26\u9694\u79BB\u4FA7\u7535\u6E90","Inputs - Side 1/Side 2":"\u8F93\u5165\u7AEF\u53E3/\u8F93\u51FA\u7AEF\u53E3","Channel Type":"\u901A\u9053\u7C7B\u578B",Outline:"\u5916\u5F62\u5C3A\u5BF8(\u957F\u5BBD)","Switch Height":"\u5F00\u5173\u9AD8\u5EA6","Actuator Orientation":"\u6309\u94AE\u4F5C\u7528\u65B9\u5411","Actuator Type":"\u65CB\u94AE\u5F62\u72B6","Contact Rating @ Voltage":"\u89E6\u70B9\u989D\u5B9A\u7535\u6D41",Illumination:"\u662F\u5426\u5E26\u6307\u793A\u706F","Illumination Type, Color":"\u6307\u793A\u706F\u7C7B\u578B\uFF0C\u989C\u8272","Number of Positions":"\u9488\u811A\u6570",Pitch:"\u95F4\u8DDD","res-":"\u6B27\u59C6\u7535\u963B(R)","Switch Function":"\u5F00\u5173\u529F\u80FD","Operating Force":"\u4F5C\u7528\u529B","Current - On State (It (RMS)) (Max)":"\u901A\u6001\u7535\u6D41(It (RMS)) (Max)","Sensor Type":"\u4F20\u611F\u5668\u6A21\u5757\u7C7B\u578B","Humidity Range":"\u6E7F\u5EA6\u8303\u56F4","Temperature Range":"\u6E29\u5EA6\u8303\u56F4",Accuracy:"\u6C34\u5E73\u4F4D\u7F6E\u7CBE\u786E\u5EA6","Voltage-Supply":"\u5DE5\u4F5C\u7535\u538B","Sensing Temperature-Local":"\u5C40\u90E8\u611F\u6E29","Sensing Temperature-remote":"\u8FDC\u7A0B\u611F\u6E29",Resolution:"\u5206\u8FA8\u7387","Accuracy-Highest(lowest)":"\u7CBE\u5EA6-\u6700\u9AD8(\u6700\u4F4E)","Current-Supply":"\u4F9B\u5E94\u7535\u6D41","Pixel Size":"\u50CF\u7D20\u5C3A\u5BF8","Frames Per Second":"\u6BCF\u79D2\u5E27\u6570","Active Pixel Array":"\u6709\u6E90\u50CF\u7D20\u9635\u5217","Product Type":"\u4EA7\u54C1\u7C7B\u578B","Voltage-Isolation":"\u9694\u79BB\u7535\u538B","Output-Voltage(Max)":"\u8F93\u51FA\u7535\u538B(\u6700\u5927)","Output-Current(Max)":"\u8F93\u51FA\u7535\u6D41(Max)","Voltage - Output":"\u8F93\u51FA\u7535\u538B","Current - Output(Max)":"\u8F93\u51FA\u7535\u6D41(\u6700\u5927\u503C/\u6EE1\u8F7D)","Insertion Loss":"\u63D2\u635F","Turns Ratio":"\u7EBF\u531D\u6BD4","Inductor(100KHz,1/10V/8mA)(Min)":"\u7535\u611F( uH Min )","CWW( pF Max )":"\u5206\u5E03\u7535\u5BB9( pF Max )","LL(K)( uH Max )":"\u6F0F\u611F( uH Max )","DCR( \u03A9 Max )":"\u76F4\u6D41\u7535\u963B( \u03A9 Max )","HI-POT( Vrms )":"\u7EDD\u7F18\u7535\u538B( Vrms )","Insertion Loss ( dB Max )":"\u63D2\u5165\u635F\u8017( dB Max )","Return Loss ( dB Min )":"\u56DE\u6CE2\u635F\u8017( dB Min )","Cross talk  ( dB Min )":"\u4E32\u6270( dB Min )","CMRRDCMR ( dB Min )":"\u5171\u6A21\u6291\u5236\u5DEE\u6A21\u5BF9\u5171\u6A21\u6291\u5236( dB Min )","Number of Loop":"\u7EBF\u5708\u7EC4\u6570","Current - LED Trigger (Ift) (Max)":"LED\u89E6\u53D1\u7535\u6D41(Ift) (Max)","Voltage - Off State":"\u65AD\u6001\u7535\u538B","Zero Crossing Circuit":"\u8FC7\u96F6\u7535\u8DEF","Circuit Style":"\u7535\u8DEF\u7C7B\u578B","Maximum Time to Trip":"\u6700\u5927\u52A8\u4F5C\u65F6\u95F4","Termination Style":"\u5F15\u811A\u6837\u5F0F","Color - Actuator/Cap":"\u81F4\u52A8\u5668/\u76D6\u5E3D\u989C\u8272","Actuator Marking":"\u7FD8\u677F\u6807\u5FD7","Ingress Protection":"\u4FB5\u5165\u9632\u62A4",Standards:"\u6807\u51C6","Switch Circuit":"\u5F00\u5173\u7535\u8DEF","On Resistance (Max)":"\u5BFC\u901A\u7535\u963B(\u6700\u5927\u503C)","Switch Voltage (Max)":"\u5F00\u5173\u7535\u538B(\u6700\u5927\u503C)","On Time (Max)":"\u8FD0\u884C\u65F6\u95F4(\u6700\u5927\u503C)","Off Time (Max)":"\u7A7A\u95F2\u65F6\u95F4(\u6700\u5927\u503C)",Application:"\u5E94\u7528","Proximity Detection":"\u8FD1\u8DDD\u79BB\u63A2\u6D4B","Standby Current":"\u5F85\u673A\u7535\u6D41","Connector Style":"\u8FDE\u63A5\u5668\u6837\u5F0F","Connector Type":"\u8FDE\u63A5\u5668\u7C7B\u578B","Number of Rows":"\u6392\u6570","Mounting Angle":"\u5B89\u88C5\u89D2","Contact Plating":"\u89E6\u5934\u9540\u5C42",Gender:"\u516C\u6BCD",Standard:"\u6267\u884C\u6807\u51C6","Number of Contacts":"\u89E6\u70B9\u6570\u91CF","Number of Ports":"\u7AEF\u53E3\u6570\u91CF","Card Type":"\u5361\u7C7B\u578B","Insertion, Removal Method":"\u63D2\u5165\uFF0C\u62C6\u9664\u65B9\u5F0F",Termination:"\u7AEF\u63A5","Voltage Rating":"\u989D\u5B9A\u7535\u538B(AC)","Inside Contact Diameter":"\u89E6\u70B9\u5185\u5F84","Outside Contact Diameter":"\u89E6\u70B9\u5916\u5F84","Number of Positions/Contacts":"\u9488\u811A/\u89E6\u5934\u6570",Orientation:"\u65B9\u5411","USOC Codes":"USOC\u4EE3\u7801",Shielding:"\u5C4F\u853D","Simplex/Duplex":"\u5355\u5DE5/\u53CC\u5DE5",Mode:"\u6A21\u5F0F","Fiber Core Diameter":"\u7EA4\u82AF\u76F4\u5F84","RF Series":"\u5C04\u9891\u7CFB\u5217",Impedance:"\u963B\u6297","Cable Type":"\u7535\u7F06\u7C7B\u578B","Frequency - Max":"\u9891\u7387 - \u6700\u5927\u503C","Contact Type":"\u89E6\u5934\u7C7B\u578B","Row Spacing":"\u884C\u8DDD","Contact Material":"\u89E6\u5934\u6750\u8D28","Positions Per Level":"\u6BCF\u7EA7\u9488\u811A\u6570","Number of Levels":"\u7EA7\u522B\u6570","Header Orientation":"\u9488\u5EA7\u65B9\u5411","Terminal Block Type":"\u7AEF\u5B50\u5757\u7C7B\u578B","Number of Wire Entries":"\u8FDB\u7EBF\u6570","Wire Gauge":"\u7EBF\u89C4","Barrier Type":"\u9694\u677F\u7C7B\u578B","Terminal - Width":"\u7AEF\u5B50\u5BBD\u5EA6","Current - IEC":"\u7535\u6D41 - IEC","Voltage - IEC":"\u7535\u538B - IEC","Current - UL":"\u7535\u6D41 - UL","Voltage - UL":"\u7535\u538B - UL","Wire Gauge - AWG":"\u7EBF\u89C4 - AWG","Wire Gauge - mm\xB2":"\u7EBF\u89C4 - mm\xB2","Flat Flex Type":"\u8F6F\u6392\u7EBF\u7C7B\u578B","FFC, FCB Thickness":"\u63A5\u5165\u67D4\u6027\u7535\u7F06\u539A\u5EA6","Height Above Board":"\u677F\u4E0A\u9AD8\u5EA6","Contact Location":"\u89E6\u70B9","Locking Feature":"\u9501\u5B9A\u7279\u6027",Product:"\u4EA7\u54C1","Plug/Mating Plug Diameter":"\u63D2\u5934/\u914D\u63A5\u63D2\u5934\u76F4\u5F84",Insulation:"\u7EDD\u7F18",Ratings:"\u8F66\u89C4\u7B49\u7EA7","LED Color":"LED \u989C\u8272","Current - Dark (Max)":"\u7535\u6D41 - \u6697","Reverse Voltage (DC) (Max)":"\u53CD\u5411\u7535\u538B","Radiant Intensity":"\u8F90\u5C04\u5F3A\u5EA6","Current - Collector (Max)":"\u7535\u6D41 - \u96C6\u7535\u6781(\u6700\u5927\u503C)","PSRR / Ripple Rejection":"PSRR/\u7EB9\u6CE2\u6291\u5236","Fuseholder Type":"\u4FDD\u9669\u4E1D\u5EA7\u7C7B\u578B","Fuse Type":"\u4FDD\u9669\u4E1D\u7C7B\u578B","For Use With/Related Products":"\u914D\u5957\u4F7F\u7528\u4EA7\u54C1/\u76F8\u5173\u4EA7\u54C1","Fuse Size":"\u4FDD\u9669\u4E1D\u5C3A\u5BF8","Contact Finish":"\u89E6\u5934\u9540\u5C42","Number of Bits per Element":"\u5355\u5143\u4EF6\u4F4D\u6570","Current - Output High, Low":"\u7535\u6D41 - \u8F93\u51FA\u9AD8\uFF0C\u4F4E","Independent Circuits":"\u72EC\u7ACB\u7535\u8DEF","Voltage Supply Source":"\u4F9B\u7535\u7535\u6E90","Quiescent Current (Max)":"\u9759\u6001\u7535\u6D41(\u6700\u5927\u503C)","Clock Frequency":"\u65F6\u949F\u9891\u7387","Max Propagation Delay @ V, Max CL":"\u4E0D\u540C V,\u6700\u5927 CL \u65F6\u7684\u6700\u5927\u4F20\u64AD\u5EF6\u8FDF","Trigger Type":"\u89E6\u53D1\u5668\u7C7B\u578B","Quiescent Current (Iq)":"\u9759\u6001\u7535\u6D41(Iq)","Input Capacitance":"\u8F93\u5165\u7535\u5BB9","Translator Type":"\u8F6C\u6362\u5668\u7C7B\u578B","Channels per Circuit":"\u6BCF\u4E2A\u7535\u8DEF\u901A\u9053\u6570","Internal Switch(s)":"\u5185\u90E8\u5F00\u5173","Supply Voltage (Min)":"\u5DE5\u4F5C\u7535\u538B(\u6700\u5C0F\u503C)","Supply Voltage (Max)":"\u5DE5\u4F5C\u7535\u538B(\u6700\u5927\u503C)","Output Voltage":"\u8F93\u51FA\u7535\u538B","Output / Channel Current":"\u8F93\u51FA/\u901A\u9053\u7535\u6D41","Driven Configuration":"\u9A71\u52A8\u914D\u7F6E","Number of Drivers":"\u9A71\u52A8\u901A\u9053\u6570","Gate Type":"\u6805\u6781\u7C7B\u578B","Logic Voltage - VIL, VIH":"\u903B\u8F91\u7535\u538B\xA0- VIL\uFF0CVIH","Current - Peak Output (Source, Sink)":"\u7535\u6D41 - \u5CF0\u503C\u8F93\u51FA(\u704C\u5165\uFF0C\u62C9\u51FA)","High Side Voltage - Max (Bootstrap)":"\u9AD8\u538B\u4FA7\u7535\u538B - \u6700\u5927\u503C(\u81EA\u4E3E)",Taper:"\u5706\u9525",Configuration:"\u914D\u7F6E","Number of Taps":"\u62BD\u5934\u6570","Select Parent":"\u9009\u62E9\u7236\u7EA7","Temperature Coefficient (Typ)":"\u6E29\u5EA6\u7CFB\u6570(\u5178\u578B\u503C)","Resistance - Wiper (Ohms) (Typ)":"\u7535\u963B -\xA0\u6E38\u6807(\u6B27\u59C6)(\u5178\u578B\u503C)","Multiplexer/Demultiplexer Circuit":"\u591A\u8DEF\u590D\u7528\u5668/\u89E3\u590D\u7528\u5668\u7535\u8DEF","-3db Bandwidth\uFF08G":"1\uFF09 = \u5355\u4F4D\u589E\u76CA\u5E26\u5BBD(-3db)","Current - Input Bias\uFF08Ib\uFF09":"\u8F93\u5165\u504F\u7F6E\u7535\u6D41(Ib)","Voltage - Input Offset\uFF08Vos\uFF09":"\u8F93\u5165\u5931\u8C03\u7535\u538B(Vos)","Holder Type":"\u5C01\u88C5\u5F62\u5F0F","Unbalance Port Impedence":"\u4E0D\u5E73\u8861\u7AEF\u53E3\u963B\u6297","Balance Port Impedence":"\u5E73\u8861\u7AEF\u53E3\u963B\u6297","Insertion Loss (Max)":"\u63D2\u5165\u635F\u8017(\u6700\u5927\u503C)","Return Loss (Min)":"\u56DE\u6CE2\u635F\u8017(\u6700\u5C0F\u503C)","Phase Difference":"\u76F8\u4F4D\u5DEE","Amplitude Difference (Max)":"\u5E45\u5EA6\u5DEE(\u6700\u5927\u503C)","VSWR (Max)":"\u7535\u538B\u9A7B\u6CE2\u6BD4(\u6700\u5927\u503C)","CMRR (dB)":"\u5171\u6A21\u6291\u5236\u6BD4(dB)","Cathode Current":"\u9634\u6781\u7535\u6D41","Output Voltage Rating":"\u989D\u5B9A\u538B\u964D","Thermoelectric Power":"\u70ED\u7535\u52BF","Circuit Size":"\u9488\u4F4D\u6570","Byte-Program Time - tBP":"\u5199\u5468\u671F\u65F6\u95F4(\u5B57\u8282)","Page\xA0Programming Time - tPP":"\u5199\u5468\u671F\u65F6\u95F4(\u9875)","Crystal Type":"\u6676\u632F\u7C7B\u578B","Pin or Socket":"\u5F15\u811A\u6216\u63D2\u5EA7","Finish Thickness":"\u9540\u5C42\u539A\u5EA6",CPU:"\u5904\u7406\u5668","ROM Size":"ROM\u5BB9\u91CF","WIFI Protocols":"WIFI\u534F\u8BAE",Bluetooth:"\u84DD\u7259","Audio & Video Interface":"\u97F3\u89C6\u9891\u63A5\u53E3","Multimedia Support":"\u591A\u5A92\u4F53\u652F\u6301","Power Supply Type":"\u4F9B\u7535\u65B9\u5F0F","Power Supply":"\u4F9B\u7535\u6807\u51C6","POE Support":"POE\u652F\u6301","Programmable Type":"\u53EF\u7F16\u7A0B\u7C7B\u578B","Number of Macrocells":"\u5B8F\u5355\u5143\u6570","Number of Logic Elements/Blocks":"\u903B\u8F91\u5143\u4EF6/\u5757\u6570","Delay Time - Propagation":"\u5EF6\u8FDF\u65F6\u95F4-\u4F20\u64AD","Body Style":"\u4E3B\u4F53\u7C7B\u578B","Rated Voltage(AC)":"\u989D\u5B9A\u7535\u538B AC","Nominal Cold Resistance":"\u6807\u79F0\u51B7\u7535\u963B","Nominal Voltage Drop":"\u6807\u79F0\u7535\u538B\u964D","Melting I\xB2t":"\u7194\u65AD I\xB2t","Mounting Feature":"\u5B89\u88C5\u7279\u6027","Breaking Capacity @ Rated Voltage":"\u5206\u65AD\u80FD\u529B","Typical Power Dissipation":"\u6D88\u8017\u529F\u7387","Material Type":"\u6750\u6599\u7C7B\u578B","Resistance - Initial (Ri) (Min)":"\u521D\u59CB\u6001\u963B\u503C(\u6700\u5C0F\u503C)","Post Trip Resistance (R1max)":"\u710A\u540E\u7535\u963B\u503C(R1max)","Electrical Life Cycles":"\u64CD\u4F5C\u5BFF\u547D","Contact Timing":"\u5207\u6362\u65F6\u9650",Touchscreen:"\u89E6\u6478\u5C4F","Resolution (Bits)":"\u5206\u8FA8\u7387(\u4F4D)","Voltage Reference":"\u7535\u538B\u57FA\u51C6","Correlated Color Temperature - CCT(K)":"\u8272\u6E29 - CCT(K)","Module Type":"\u6A21\u5757\u7C7B\u578B","Frequency Bands":"\u9891\u6BB5","Number of Frequency Bands":"\u9891\u6BB5\u6570\u91CF","GNSS Types":"GNSS\u7C7B\u578B","Flash Memory Capacity":"FLASH\u5BB9\u91CF","Range of Power Supply":"\u4F9B\u7535\u7535\u538B\u8303\u56F4","Typical Power Supply":"\u5178\u578B\u4F9B\u7535\u7535\u538B","SIM Interface":"USIM\u5361\u63A5\u53E3",SMS:"\u77ED\u6D88\u606F(SMS)","Voice Calls":"\u8BED\u97F3\u901A\u8BDD","Real Time Clock":"\u5B9E\u65F6\u65F6\u949F(RTC)",Size:"\u5C3A\u5BF8",Weight:"\u91CD\u91CF",Certifications:"\u8BA4\u8BC1","Frequency Group":"\u9891\u7387\u7EC4","Frequency (Center/Band)":"\u9891\u7387(\u4E2D\u5FC3/\u5E26)","Antenna Type":"\u5929\u7EBF\u7C7B\u578B","Number of Bands":"\u9891\u5E26\u6570","Power Max":"\u6700\u5927\u529F\u7387","Dimming Control":"\u8C03\u5149\u63A7\u5236","Lens Color":"\u900F\u955C\u989C\u8272","Peak Wavelength":"\u5CF0\u503C\u6CE2\u957F","Luminous Flux/Radiant Flux":"\u5149\u901A\u91CF/\u8F90\u5C04\u901A\u91CF","Color Rendering Index(CRI)":"\u663E\u8272\u6307\u6570(CRI)","If - Forward Current":"\u6B63\u5411\u7535\u6D41(If)","Power Dissipation":"\u6D88\u8017\u529F\u7387","Viewing Angle":"\u53D1\u5149\u89D2\u5EA6","Varistor Voltage(Max)":"\u538B\u654F\u7535\u538B(\u6700\u5927\u503C)","Varistor Voltage(Typ)":"\u538B\u654F\u7535\u538B(\u5178\u578B\u503C)","Varistor Voltage(Min)":"\u538B\u654F\u7535\u538B(\u6700\u5C0F\u503C)",Duplex:"\u53CC\u5DE5","Receiver Hysteresis":"\u63A5\u6536\u5668\u6EDE\u540E","Master fclk":"\u4E3B fclk","Tunning Word Width (Bits)":"\u5B57\u5BBD\u8C03\u8C10(\u4F4D)","Delay Time":"\u5EF6\u8FDF\u65F6\u95F4","Signal Conditioning":"\u4FE1\u53F7\u8C03\u8282","Metal Size(D/(LxW))":"\u91D1\u5C5E\u7247\u5C3A\u5BF8(D/(LxW))",Travel:"\u884C\u7A0B","Switching Life":"\u52A8\u4F5C\u5BFF\u547D(\u6B21\u6570)","RF Type":"RF \u7C7B\u578B",Isolation:"\u662F\u5426\u9694\u79BB","Test Frequency":"\u6D4B\u8BD5\u9891\u7387","Noise Figure":"\u566A\u58F0\u7CFB\u6570","Number of Mixers":"\u6DF7\u9891\u5668\u6570","Secondary Attributes":"\u8F85\u52A9\u5C5E\u6027","Attenuation Value":"\u8870\u51CF\u503C","Detection Range":"\u68C0\u6D4B\u8303\u56F4","Frequency Bands (Low / High)":"\u9891\u5E26(\u4F4E/\u9AD8)","Low Band Attenuation (Min / Max)":"\u4F4E\u9891\u5E26\u8870\u51CF(\u6700\u5C0F/\u6700\u5927)","High Band Attenuation (Min / Max)":"\u9AD8\u9891\u5E26\u8870\u51CF(\u6700\u5C0F/\u6700\u5927)","Return Loss (Low Band / High Band)":"\u56DE\u6CE2\u635F\u8017(\u4F4E\u9891\u5E26/\u9AD8\u9891\u5E26)","Self lock/No lock":"\u81EA\u9501/\u65E0\u9501","Number of Conductors":"PIN\u6570","Total Length":"\u603B\u957F\u5EA6","Power-  Max":"\u6700\u5927\u529F\u7387","Rated Voltage - UL":"\u989D\u5B9A\u7535\u538B - UL","Rated Voltage - IEC":"\u989D\u5B9A\u7535\u538B - IEC","Rated Current - UL":"\u989D\u5B9A\u7535\u6D41 - UL","Rated Current - IEC":"\u989D\u5B9A\u7535\u6D41 - IEC","Number of Poles":"\u7535\u6781\u6570","Number of Resistors":"\u7535\u963B\u5668\u6570","Number of Pins":"\u603BPIN\u6570","Power Per Element":"\u6BCF\u5143\u4EF6\u529F\u7387","Gain Max(V/V)":"\u589E\u76CAMax(V/V)","Gain Error(%)":"\u589E\u76CA\u8BEF\u5DEE(%)",t:"\u6E29\u5EA6\u7CFB\u6570",Resistance:"\u963B\u503C","Power(Watts)":"\u529F\u7387","Number of Output Channels":"\u8F93\u51FA\u901A\u9053\u6570","Enabling feet":"\u4F7F\u80FD\u811A","Voltage - Output (Fixed)":"\u8F93\u51FA\u7535\u538B(\u56FA\u5B9A)","Voltage - Output (adj)":"\u8F93\u51FA\u7535\u538B(\u53EF\u8C03)","Output Current (Max)":"\u6700\u5927\u8F93\u51FA\u7535\u6D41","Ripple Rejection (PSRR)":"\u7EB9\u6CE2\u6291\u5236(PSRR)","Withstand Voltage":"\u8010\u7535\u538B","Tail Length - Post":"\u5C3E\u67F1\u957F\u5EA6","Overall Length":"\u9488\u957F","Insulation Height":"\u5851\u9AD8","Contact Finish - Mating":"\u7535\u9540\u6750\u6599",Enable:"\u4F7F\u80FD","Diode Configuration":"\u4E8C\u6781\u7BA1\u914D\u7F6E","Maximum Reverse Voltage (Vr)":"\u6700\u5927\u53CD\u5411\u8010\u538B(Vr)","Reverse Leakage Current (Ir)":"\u53CD\u5411\u7535\u6D41(Ir)","Diode Capacitance":"\u4E8C\u6781\u7BA1\u7535\u5BB9(CT)","Capacitance Ratio   Condition":"\u7535\u5BB9\u6BD4\u6761\u4EF6","Series Resistance (Rs)":"\u4E32\u8054\u7535\u963B(Rs)","Operating Temperature Range":"\u5DE5\u4F5C\u6E29\u5EA6","Reverse Voltage (Vr)":"\u76F4\u6D41\u53CD\u5411\u8010\u538B(Vr)","Average Rectified Current (Io)":"\u5E73\u5747\u6574\u6D41\u7535\u6D41(Io)","Forward Voltage (Vf@If)":"\u6B63\u5411\u538B\u964D(Vf)","Static Capacitance":"\u9759\u6001\u7535\u5BB9","Resonant Impedance":"\u8C10\u632F\u963B\u6297","Built-in Load Capacitance":"\u5185\u7F6E\u8D1F\u8F7D\u7535\u5BB9","Peak Forward Surge Current":"\u6B63\u5411\u6D6A\u6D8C\u7535\u6D41(Ifsm)","Operating Junction Temperature Range":"\u5DE5\u4F5C\u7ED3\u6E29(Tj)","Number of Capacitors":"\u7535\u5BB9\u6570\u91CF","Circuit Type":"\u7535\u8DEF\u5F62\u5F0F",\u03C6D:"\u7535\u5BB9\u4F53\u76F4\u5F84",L:"\u7535\u5BB9\u4F53\u957F\u5EA6","Lead Spacing":"\u811A\u95F4\u8DDD","Equivalent Series Resistance (ESR)":"\u7B49\u6548\u4E32\u8054\u7535\u963B(ESR)","Lifetime @ Temperature":"\u5DE5\u4F5C\u5BFF\u547D","Leakage Current(DCL)":"\u6F0F\u7535\u6D41","Equivalent Series   Resistance(ESR)":"\u7B49\u6548\u4E32\u8054\u7535\u963B","Dissipation Factor":"\u8017\u6563\u56E0\u6570","Minimum electrostatic capacity":"\u6700\u5C0F\u9759\u7535\u5BB9\u91CF","Maximum electrostatic capacity":"\u6700\u5927\u9759\u7535\u5BB9\u91CF","Q @ Freq":"Q\u503C","Voltage Rated":"\u989D\u5B9A\u7535\u538B","Dielectric Material":"\u4ECB\u7535\u6750\u6599","Safety subclass":"\u5B89\u89C4\u7C7B\u578B","Voltage Rated(VAC)":"\u989D\u5B9A\u7535\u538B(VAC)","Equivalent Series Resistance(ESR)":"\u7B49\u6548\u4E32\u8054\u7535\u963B","Cycle Life Expectancy":"\u5FAA\u73AF\u5BFF\u547D","Nominal of Bolt":"\u87BA\u6813\u7C7B\u578B","Reverse Leakage Current":"\u53CD\u5411\u7535\u6D41(Ir)","Vbo (Min)":"\u8F6C\u6298\u7535\u538B(\u6700\u5C0F\u503C)","Vbo (Typ)":"\u8F6C\u6298\u7535\u538B(\u5178\u578B\u503C)","Vbo (Max)":"\u8F6C\u6298\u7535\u538B(\u6700\u5927\u503C)","Breakover Current (Ibo)":"\u8F6C\u6298\u7535\u6D41(Ibo)","Repetitive Peak On-state Current (Itrm)":"\u901A\u6001\u91CD\u590D\u5CF0\u503C\u7535\u6D41(Itrm)","Rise Time (tr)":"\u4E0A\u5347\u65F6\u95F4(tr)","Operating Junction Temperature":"\u5DE5\u4F5C\u7ED3\u6E29(Tj)","Zener Voltage (Min) (Vz)":"\u7A33\u538B\u503C(\u6700\u5C0F\u503C)","Zener Voltage (Nom) (Vz)":"\u7A33\u538B\u503C(\u6807\u79F0\u503C)","Zener Voltage (Max) (Vz)":"\u7A33\u538B\u503C(\u6700\u5927\u503C)","Zener Impedance":"\u963B\u6297(Zzt)",Products:"\u4EA7\u54C1","Body Thickness":"\u7535\u5BB9\u4F53\u539A\u5EA6","Body Height":"\u7535\u5BB9\u4F53\u9AD8","JLCPCB On Sale":"\u5609\u7ACB\u521B\u5728\u552E","JLCPCB Stock":"\u5609\u7ACB\u521B\u5E93\u5B58","LCSC Stock":"\u7ACB\u521B\u5546\u57CE\u5E93\u5B58","LCSC On Sale":"\u7ACB\u521B\u5546\u57CE\u5728\u552E","Supplier Footprint":"\u4F9B\u5E94\u5546\u5C01\u88C5",Drawing:"\u56FE\u7EB8","Drawing Size":"\u56FE\u7EB8\u5C3A\u5BF8","Drawing Width":"\u56FE\u7EB8\u5BBD\u5EA6","Drawing Height":"\u56FE\u7EB8\u9AD8\u5EA6","Communication System":"\u901A\u4FE1\u5236\u5F0F","Interface Type":"\u63A5\u53E3\u7C7B\u578B","Communication Frequency":"\u901A\u4FE1\u9891\u6BB5","Current Consumption":"\u6D88\u8017\u7535\u6D41","Mounting Style":"\u5B89\u88C5\u65B9\u5F0F","Voltage Rating (Max)":"\u989D\u5B9A\u7535\u538B","Welding Temperature (Max)":"\u710A\u63A5\u6E29\u5EA6(\u6700\u5927\u503C)","Output Isolation":"\u8F93\u51FA\u9694\u79BB","Breakdown Voltage":"\u6676\u4F53\u7BA1\u8010\u538B",power:"\u529F\u7387","current output":"\u8F93\u51FA\u7535\u6D41","Duty Cycle":"\u6700\u5927\u5360\u7A7A\u6BD4","Switching Frequency":"\u5F00\u5173\u9891\u7387","Serial Interface":"\u8F93\u51FA\u63A5\u53E3","Service Voltage":"\u4F9B\u7535\u7535\u538B","Quiescent Current":"\u9759\u6001\u7535\u6D41(Iq)","Forward Voltage":"\u6B63\u5411\u7535\u538B","Operating Current":"\u5DE5\u4F5C\u7535\u6D41",Power:"\u529F\u7387","Luminous Flux (25\u2103)":"\u5149\u901A\u91CF(25\u2103)","Color Temperature":"\u8272\u6E29","CRI Color Rendering Index":"CRI\u663E\u8272\u6307\u6570","Synchronous Rectification":"\u540C\u6B65\u6574\u6D41","Duty Cycle (Max)":"\u5360\u7A7A\u6BD4(\u6700\u5927\u503C)","Clock Frequency (fc)":"\u65F6\u949F\u9891\u7387(fc)","Supply current":"\u5DE5\u4F5C\u7535\u6D41","Refresh Current":"\u5237\u65B0\u7535\u6D41","Supply Current (Read)":"\u8BFB-\u5DE5\u4F5C\u7535\u6D41","Supply Current (Write)":"\u5199-\u5DE5\u4F5C\u7535\u6D41","Standby supply current":"\u5F85\u673A\u7535\u6D41","Write Cycle Time (Tw)":"\u5199\u5468\u671F\u65F6\u95F4(Tw)","Data Retention - TDR (Year)":"\u6570\u636E\u4FDD\u7559 - TDR(\u5E74)","Write Cycle Endurance":"\u5199\u5468\u671F\u5BFF\u547D","Filter Order":"\u6EE4\u6CE2\u5668\u9636\u6570",Inductance:"\u7535\u611F","Frequency - Cutoff or Center":"\u9891\u7387\u8303\u56F4","ESD Protection":"ESD \u4FDD\u62A4","DC Rated Voltage":"\u989D\u5B9A\u7535\u538B","Rated Current":"\u989D\u5B9A\u7535\u6D41",OperatingTemperature:"\u5DE5\u4F5C\u6E29\u5EA6",configuration:"\u914D\u7F6E","Sequential Read/Write (MB/s)":"\u987A\u5E8F\u8BFB/\u5199","Random Read/Write (IOPS)":"\u968F\u673A\u8BFB/\u5199",Density:"\u5BB9\u91CF","Iq per channel (Typ)":"\u5404\u901A\u9053\u4F9B\u7535\u7535\u6D41","Amplifier Type":"\u8FD0\u653E\u7C7B\u578B","Gain Bandwidth Product\uFF08GBP\uFF09":"\u589E\u76CA\u5E26\u5BBD\u79EF(GBP)","Slew Rate\uFF08SR\uFF09":"\u538B\u6446\u7387(SR)","Supply Voltage\uFF08Single\uFF09":"\u7535\u6E90\u7535\u538B","Insert Thickness":"\u63D2\u5165\u539A\u5EA6","Data Bus Width":"\u6570\u636E\u603B\u7EBF\u5BBD\u5EA6","Supply Current (Max)":"\u4F9B\u7535\u7535\u6D41","Access Time":"\u8BBF\u95EE\u65F6\u95F4","Bus Directional":"\u603B\u7EBF\u65B9\u5411","Programmable Flags Support":"\u53EF\u7F16\u7A0B\u6807\u5FD7\u652F\u6301","IC Type":"\u9002\u7528IC\u5C01\u88C5\u7C7B\u578B","Circular Holes/Square Holes":"\u5706\u5B54/\u65B9\u5B54","Pin Number in each Row":"\u6BCF\u6392PIN\u6570","Collector-Emitter Breakdown Voltage (Vces)":"\u96C6\u5C04\u6781\u51FB\u7A7F\u7535\u538B(Vces)","Pulsed Collector Current (Icm)":"\u96C6\u7535\u6781\u8109\u51B2\u7535\u6D41(Icm)","Collector Cut-Off Current (Ices@Vce)":"\u96C6\u7535\u6781\u622A\u6B62\u7535\u6D41(Ices@Vce)","Collector-Emitter Saturation Voltage (VCE(sat)@Ic,Vge)":"\u96C6\u5C04\u6781\u9971\u548C\u7535\u538B(VCE(sat)@Ic,Vge)","Gate-Emitter Threshold Voltage (Vge(th)@Ic)":"\u6805\u6781\u9608\u503C\u7535\u538B(Vge(th)@Ic)","Total Gate Charge (Qg@Ic,Vge)":"\u6805\u6781\u7535\u8377(Qg@Ic,Vge)","Input Capacitance (Cies@Vce)":"\u8F93\u5165\u7535\u5BB9(Cies@Vce)","Turn?on Delay Time (Td(on))":"\u5F00\u542F\u5EF6\u8FDF\u65F6\u95F4(Td(on))","Turn?off Delay Time (Td(off))":"\u5173\u65AD\u5EF6\u8FDF\u65F6\u95F4(Td(off))","Turn?on Switching Loss (Eon)":"\u5BFC\u901A\u635F\u8017(Eon)","Turn?off Switching Loss (Eoff)":"\u5173\u65AD\u635F\u8017(Eoff)","Diode Forward Voltage (Vf@If)":"\u6B63\u5411\u538B\u964D(Vf@If)","Diode Reverse Recovery Time (Trr)":"\u53CD\u5411\u6062\u590D\u65F6\u95F4(Trr)","Link Range(Standard mode)":"\u4F20\u8F93\u8DDD\u79BB","Idle Current":"\u5F85\u673A\u7535\u6D41","Screen Resolution":"\u5206\u8FA8\u7387","Master Control Chip":"\u4E3B\u63A7\u82AF\u7247","Working Current":"\u5DE5\u4F5C\u7535\u6D41","Dot Matrix Number":"\u4F4D\u6570","Emitting Color":"\u53D1\u5149\u989C\u8272","Input Voltage(VAC)":"\u8F93\u5165\u7535\u538B(VAC)",Channels:"\u901A\u9053\u6570","Switch Frequency":"\u5F00\u5173\u9891\u7387",Dimming:"\u8C03\u5149","Operating temperature":"\u5DE5\u4F5C\u6E29\u5EA6","Digit Drive Current":"\u4F4D\u9A71\u52A8\u7535\u6D41","Segment Drive Current":"\u6BB5\u9A71\u52A8\u7535\u6D41","Output Power":"\u8F93\u51FA\u529F\u7387","Support Interface":"\u652F\u6301\u63A5\u53E3","Modulation System":"\u8C03\u5236\u65B9\u5F0F","Receive  Current":"\u63A5\u6536\u7535\u6D41","Send  Current":"\u53D1\u9001\u7535\u6D41","Communication Distance":"\u901A\u8BAF\u8DDD\u79BB",Direction:"\u65B9\u5411","SNR(Signal to Noise Ratio)":"\u4FE1\u566A\u6BD4","Supply Current (Program)":"\u5199-\u5DE5\u4F5C\u7535\u6D41","Supply Current (Erase)":"\u64E6\u9664-\u5DE5\u4F5C\u7535\u6D41","Write Cycle Time (tWC)":"\u5199\u5468\u671F\u65F6\u95F4(tWC)","Page Program time (Tprog)":"\u9875\u5199\u5165\u65F6\u95F4(Tprog)","Block Erase Time (tBE)":"\u5757\u64E6\u9664\u65F6\u95F4(tBE)","Page Programming Time (Tpp)":"\u9875\u5199\u5165\u65F6\u95F4(Tpp)","Resistance @ 25\u2103":"\u963B\u503C(25\u2103)","B Constant Tolerance":"B\u503C\u7CBE\u5EA6","B Constant (25\u2103/50\u2103)":"B\u503C(25\u2103/50\u2103)","B Constant (25\u2103/75\u2103)":"B\u503C(25\u2103/75\u2103)","B Constant (25\u2103/85\u2103)":"B\u503C(25\u2103/85\u2103)","B Constant (25\u2103/100\u2103)":"B\u503C(25\u2103/100\u2103)","Steady State Current (Max)":"\u6700\u5927\u7A33\u6001\u7535\u6D41(25\u2103)",Colour:"\u989C\u8272",Vmax:"\u6700\u5927\u5DE5\u4F5C\u7535\u538B","Working Frequency":"\u5DE5\u4F5C\u9891\u7387","Working Voltage":"\u5DE5\u4F5C\u7535\u538B","Reading Distance":"\u8BFB\u5361\u8DDD\u79BB","Operation Temperature":"\u5DE5\u4F5C\u6E29\u5EA6","Frequency-Max":"\u9891\u7387-\u6700\u5927\u503C",Style:"\u6837\u5F0F","Interface Diameter":"\u63A5\u53E3\u76F4\u5F84","Interface Length/Height":"\u63A5\u53E3\u957F\u5EA6/\u9AD8\u5EA6",Types:"\u7C7B\u578B","Driver/receiver":"\u9A71\u52A8\u5668/\u63A5\u6536\u5668","ESD Protect":"\u9759\u7535\u4FDD\u62A4","Whether the isolation":"\u662F\u5426\u9694\u79BB","charge pump":"\u6709\u65E0\u7535\u8377\u6CF5",isolation:"\u9694\u79BB\u5EA6","Node Number":"\u8282\u70B9\u6570","Automatic flow control":"\u81EA\u52A8\u6D41\u63A7","Card Connection Mode":"\u5361\u8FDE\u63A5\u65B9\u5F0F","Maximum Body Height":"\u672C\u4F53\u6700\u5927\u9AD8\u5EA6","Body Height (Max)":"\u672C\u4F53\u6700\u5927\u9AD8\u5EA6","Current Rating - Power (Max)":"\u989D\u5B9A\u7535\u6D41 - \u7535\u6E90","Input Port":"\u8F93\u5165\u7AEF","Output Port":"\u8F93\u51FA\u7AEF","Specification Standard":"\u89C4\u683C\u6807\u51C6","Wireless Standard":"\u652F\u6301\u534F\u8BAE","Core IC":"\u6838\u5FC3\u82AF\u7247","Send  Curren":"\u53D1\u9001\u7535\u6D41","Transmission Distance":"\u63A5\u6536\u8DDD\u79BB","safety certification":"\u5B89\u89C4\u8BA4\u8BC1",Subclass:"\u7B49\u7EA7","Contact Current":"\u89E6\u70B9\u7535\u6D41","Voltage Rating (AC)":"\u989D\u5B9A\u7535\u538B(AC)","Voltage Rating (DC)":"\u989D\u5B9A\u7535\u538B(DC)","Insulation Resistance":"\u7EDD\u7F18\u7535\u963B","Self Lock / No Lock":"\u81EA\u9501/\u65E0\u9501","Actuator Style":"\u6309\u952E\u5F62\u72B6","Actuator/Cap Color":"\u6309\u952E/\u76D6\u5E3D\u989C\u8272","With Lamp":"\u5E26\u706F","Pin Style":"\u5F15\u811A\u6837\u5F0F","IP Rating":"\u9632\u62A4\u7B49\u7EA7","Mechanical Life":"\u673A\u68B0\u5BFF\u547D","Repetitive Peak Off-state Voltage (Vdrm)":"\u53CD\u5411\u622A\u6B62\u7535\u538B(Vdrm)","Maximum Peak Off-state Current (Idrm)":"\u53CD\u5411\u6F0F\u7535\u6D41(Idrm)","Switching Voltage (Vs)":"\u5F00\u5173\u7535\u538B(Vs)","Holding Current (Ih)":"\u4FDD\u6301\u7535\u6D41(Ih)","On-state Voltage (Vt)":"\u901A\u6001\u7535\u538B(Vt)","On-state Current (It)":"\u901A\u6001\u7535\u6D41(It)","Peak Pulse Current-Ipp (10/1000us)":"\u5CF0\u503C\u8109\u51B2\u7535\u6D41-Ipp(10/1000us)","Off-state Capacitance (Co)":"\u65AD\u6001\u7535\u5BB9(Co)","Number of ADC":"ADC\u6570\u91CF","Number of DAC":"DAC\u6570\u91CF","Lead Pitch":"\u5F15\u811A\u95F4\u8DDD","Operating Life":"\u4F7F\u7528\u5BFF\u547D","DC Spark-over Voltage":"\u76F4\u6D41\u51FB\u7A7F\u7535\u538B","Insulation Resistance (Min)":"\u7EDD\u7F18\u7535\u963B","Electrostatic Capacitance":"\u9759\u7535\u5BB9","Surge Current Capacity (8/20us)":"\u901A\u6D41\u91CF","Dielectric material":"\u4ECB\u7535\u6750\u6599","Number of PINs Per Row":"\u6BCF\u6392PIN\u6570","Wire Gauge - mm?":"\u7EBF\u89C4 - mm?","fixed form":"\u56FA\u5B9A\u65B9\u5F0F","Overload Voltage (Max)":"\u6700\u5927\u5DE5\u4F5C\u7535\u538B","Drain Source Voltage (Vdss)":"\u6F0F\u6E90\u7535\u538B(Vdss)","Continuous Drain Current (Id)":"\u8FDE\u7EED\u6F0F\u6781\u7535\u6D41(Id)","Drain Source On Resistance (RDS(on)@Vgs,Id)":"\u5BFC\u901A\u7535\u963B(RDS(on)@Vgs,Id)","Gate Threshold Voltage (Vgs(th)@Id)":"\u9608\u503C\u7535\u538B(Vgs(th)@Id)","Total Gate Charge (Qg@Vgs)":"\u6805\u6781\u7535\u8377(Qg@Vgs)","Input Capacitance (Ciss@Vds)":"\u8F93\u5165\u7535\u5BB9(Ciss@Vds)","Reverse Transfer Capacitance (Crss@Vds)":"\u53CD\u5411\u4F20\u8F93\u7535\u5BB9(Crss@Vds)","The power supply voltage":"\u4F9B\u7535\u7535\u538B","Standby current":"\u5F85\u673A\u7535\u6D41","The interface type":"\u63A5\u53E3\u7C7B\u578B","Current-OutputLow":"\u4F4E\u7535\u5E73\u8F93\u51FA\u7535\u6D41(IOL)","Current-OutputHigh":"\u9AD8\u7535\u5E73\u8F93\u51FA\u7535\u6D41(IOH)","The channel number":"\u901A\u9053\u6570","Actuator Color":"\u5F00\u5173\u989C\u8272","Switch Length":"\u5F00\u5173\u957F\u5EA6","Switch Width":"\u5F00\u5173\u5BBD\u5EA6","Coil Resistance":"\u7EBF\u5708\u7535\u963B","Contact Rating":"\u89E6\u70B9\u5BB9\u91CF(\u7535\u963B\u8D1F\u8F7D)","Maximum Switching Voltage":"\u6700\u5927\u5207\u6362\u7535\u538B","Maximum Switching Current":"\u6700\u5927\u5207\u6362\u7535\u6D41","Operate Time":"\u52A8\u4F5C\u65F6\u95F4","Release Time":"\u91CA\u653E\u65F6\u95F4","Coil Rated Power":"\u989D\u5B9A\u7EBF\u5708\u529F\u7387","Contact Resistance":"\u63A5\u89E6\u7535\u963B",Circuits:"\u7535\u8DEF\u6570","Controller Type":"\u5B58\u50A8\u5668\u63A7\u5236\u5668\u7C7B\u578B","Collector-emitter voltage (Vceo)":"\u96C6\u5C04\u6781\u51FB\u7A7F\u7535\u538B(Vceo)","Collector cut-off current (Icbo@Vcb)":"\u96C6\u7535\u6781\u622A\u6B62\u7535\u6D41(Icbo@Vcb)","Collector-emitter saturation voltage (VCE(sat)@Ic,Ib)":"\u96C6\u7535\u6781-\u53D1\u5C04\u6781\u9971\u548C\u7535\u538B((VCE(sat)@Ic,Ib)","DC current gain (hFE@Vce,Ic)":"\u76F4\u6D41\u7535\u6D41\u589E\u76CA(hFE@Vce,Ic)","Transition frequency (fT)":"\u7279\u5F81\u9891\u7387(fT)","ON-state input   voltage(VI(on)@Vce,Ic)":"\u5F00\u6001\u8F93\u5165\u7535\u538B(VI(on)@Vce,Ic)","Collector-emitter   saturation voltage (VCE(sat)@Ii,Ic)":"\u96C6\u5C04\u6781\u9971\u548C\u538B\u964D(VCE(sat)@Ii,Ic)","Output leakage current (Icex@Vce)":"\u8F93\u51FA\u6F0F\u7535\u6D41(Icex@Vce)","Input current (Ii@Vi)":"\u5F00\u6001\u8F93\u5165\u7535\u6D41(Ii@Vi)","Off-state input current (Ii(off)@Vce,Ic)":"\u5173\u6001\u8F93\u5165\u7535\u6D41(Ii(off)@Vce,Ic)","Clamp Diode Leakage Current (IR@VR)":"\u5D4C\u4F4D\u4E8C\u6781\u7BA1\u6F0F\u7535\u6D41(IR@VR)","Clamp Diode Forward Voltage (VF@IF)":"\u5D4C\u4F4D\u4E8C\u6781\u7BA1\u6B63\u5411\u538B\u964D(VF@IF)","Input Capacitance (Ci)":"\u8F93\u5165\u7535\u5BB9(Ci)","Collector Current(Ic)":"\u96C6\u7535\u6781\u7535\u6D41(Ic)","CPU Core":"CPU\u5185\u6838","Maximum Frequency":"CPU\u6700\u5927\u4E3B\u9891","Supply Voltage Range":"\u5DE5\u4F5C\u7535\u538B","Internal Oscillator":"\u5185\u90E8\u632F\u8361\u5668","External Clock Frequency Rang":"\u5916\u90E8\u65F6\u949F\u9891\u7387\u8303\u56F4","Program FLASH Size":"\u7A0B\u5E8F FLASH\u5BB9\u91CF","EEPROM/Data FLASH Size":"EEPROM/\u6570\u636E FLASH\u5BB9\u91CF","GPIO Ports Number":"GPIO\u7AEF\u53E3\u6570\u91CF","ADC (Units/Channels/bits)":"ADC(\u5355\u5143\u6570/\u901A\u9053\u6570/\u4F4D\u6570)","DAC (Units/Channels/bits)":"DAC(\u5355\u5143\u6570/\u901A\u9053\u6570/\u4F4D\u6570)","(E)PWM (Units/Channels/bits)":"(E)PWM(\u5355\u5143\u6570/\u901A\u9053\u6570/\u4F4D\u6570)","8Bit Timer Number":"8\u4F4DTimer\u6570\u91CF","16Bit Timer Number":"16\u4F4DTimer\u6570\u91CF","32Bit Timer Number":"32\u4F4DTimer\u6570\u91CF","CMP Number":"\u5185\u90E8\u6BD4\u8F83\u5668\u6570\u91CF","U(S)ART Number":"U(S)ART\u8DEF\u6570","I2C Number":"I2C\u8DEF\u6570","I2S Number":"I2S\u8DEF\u6570","(Q)SPI Number":"(Q)SPI\u8DEF\u6570","CAN Number":"CAN\u8DEF\u6570","USB (H/D/OTG)":"USB(\u4E3B/\u4ECE/\u81EA\u9002\u5E94)","Peripherals / Functions / Protocol Stacks":"\u5916\u8BBE/\u529F\u80FD/\u534F\u8BAE\u6808","Maximum Speed":"\u6700\u5927\u4E3B\u9891","I/O Number":"I/O\u6570\u91CF","Logic Family":"\u903B\u8F91\u7CFB\u5217","Logic Gate Type":"\u903B\u8F91\u7C7B\u578B","Number Of Channels":"\u901A\u9053\u6570","Schmidt trigger input":"\u65BD\u5BC6\u7279\u89E6\u53D1\u5668\u8F93\u5165","propagation delay":"\u4F20\u64AD\u5EF6\u65F6","type of battery":"\u7535\u6C60\u7C7B\u578B","The chip type":"\u82AF\u7247\u7C7B\u578B",current:"\u7535\u6D41","saturation voltage":"\u5145\u7535\u9971\u548C\u7535\u538B","non-conducting voltage":"\u653E\u7535\u622A\u6B62\u7535\u538B","Battery Type":"\u9002\u7528\u7535\u6C60\u89C4\u683C","Welding Temperature":"\u710A\u63A5\u6E29\u5EA6","Saturation Current (Isat)":"\u9971\u548C\u7535\u6D41(Isat)","Q @ Frequency":"Q\u503C",subsection:"\u7EC6\u5206","on resistance":"\u5BFC\u901A\u7535\u963B","Rated Output Voltage":"\u989D\u5B9A\u538B\u964D","Current type AC/DC":"\u7535\u6D41\u7C7B\u578BAC/DC","Current range":"\u7535\u6D41\u8303\u56F4",sensitivity:"\u7075\u654F\u5EA6","Minimum Cathode Current for Regulation":"\u6700\u5C0F\u9634\u6781\u7535\u6D41\u8C03\u8282","Noise - 1/10Hz to 10Hz":"\u566A\u58F0(0.1Hz-10Hz)","Noise - 10Hz to 10kHz":"\u566A\u58F0(10Hz-10kHz)","Dynamic Impedance":"\u52A8\u6001\u963B\u6297","Primary Side Voltage":"\u521D\u7EA7\u7535\u538B","Secondary Side Voltage":"\u6B21\u7EA7\u7535\u538B","Primary Winding":"\u4E00\u6B21\u7ED5\u7EC4","Secondary Winding":"\u4E8C\u6B21\u7ED5\u7EC4","Isolation Voltage":"\u9694\u79BB\u7535\u538B","Conversion Type":"\u8F6C\u6362\u7C7B\u578B","Isolated Or Voltage Regulation":"\u662F\u5426\u9694\u79BB\u7A33\u538B","Output Channel":"\u8F93\u51FA\u8DEF\u6570","Input Voltage(DC)":"\u8F93\u5165\u7535\u538B(DC)","Insulated Voltage":"\u9694\u79BB\u7535\u538B","Conversion Efficiency":"\u8F6C\u6362\u6548\u7387",Feature:"\u7279\u6027","Maximum capacitive load":"\u6700\u5927\u5BB9\u6027\u8D1F\u8F7D","Input Voltage(AC)":"\u8F93\u5165\u7535\u538B(AC)",Count:"\u8BA1\u6570","Open Top/Close Top":"\u5F00\u9876/\u5C01\u9876","Clock Frequency(Max)":"\u65F6\u949F\u9891\u7387","Emitted Color":"\u53D1\u5149\u989C\u8272","Dominant Wavelength":"\u4E3B\u6CE2\u957F","Luminous Flux (@25\u2103)":"\u5149\u901A\u91CF(25\u2103\u65F6)","Forward Current":"\u6B63\u5411\u7535\u6D41","Forward Voltage (VF)":"\u6B63\u5411\u7535\u538B(VF)","Luminous Intensity":"\u53D1\u5149\u5F3A\u5EA6","Number of channels":"\u901A\u9053\u6570","Number of inputs per channel":"\u6BCF\u901A\u9053\u8F93\u5165\u6570","Supply Voltage(Single)":"\u7535\u6E90\u7535\u538B","Low Level Output Current":"\u4F4E\u7535\u5E73\u8F93\u51FA\u7535\u6D41(IOL)","Hight Level Output Current":"\u9AD8\u7535\u5E73\u8F93\u51FA\u7535\u6D41(IOH)","Logical Level - High":"\u903B\u8F91\u7535\u5E73-\u9AD8","Logical Level - low":"\u903B\u8F91\u7535\u5E73-\u4F4E","Supply current (Ipp)":"\u5DE5\u4F5C\u7535\u6D41(Ipp)","Resonant Frequency":"\u8C10\u632F\u9891\u7387","Electrostatic Capacity":"\u7535\u5BB9",Ceramic:"\u9676\u74F7\u76F4\u5F84","Sheet diameter":"\u91D1\u5C5E\u7247\u76F4\u5F84","Oscillator Circuit":"\u9A71\u52A8\u65B9\u5F0F","Technology Type":"\u6784\u9020\u7C7B\u578B","Diameter (\u03C6D)":"\u76F4\u5F84(\u03C6D)",Length:"\u957F\u5EA6",Width:"\u5BBD",Height:"\u9AD8","Switch Type":"\u7C7B\u578B","Control Input Logic":"\u8F93\u5165\u63A7\u5236\u903B\u8F91","Resistor On-State":"\u5BFC\u901A\u7535\u963B","Operating Temperature	-":"\u5DE5\u4F5C\u6E29\u5EA6","Relay Contact Form":"\u7EE7\u7535\u5668\u89E6\u70B9\u5F62\u5F0F","Load Type":"\u9002\u7528\u8D1F\u8F7D\u7C7B\u578B","Input Forward Voltage":"\u6B63\u5411\u538B\u964D","Continuous Load Current":"\u8FDE\u7EED\u8D1F\u8F7D\u7535\u6D41","On Resistance":"\u5BFC\u901A\u7535\u963B","Turn-on time":"\u5BFC\u901A\u65F6\u95F4(Ton)","Turn-off time":"\u622A\u6B62\u65F6\u95F4(Toff)","Peak  Wavelength":"\u5CF0\u503C\u6CE2\u957F","DC Reverse Voltage":"\u53CD\u5411\u7535\u538B","Current Dark":"\u6697\u7535\u6D41","Reception Angle":"\u63A5\u6536\u89D2","control mode":"\u63A7\u5236\u65B9\u5F0F","Load Voltage":"\u8D1F\u8F7D\u7535\u538B","zero-cross":"\u8FC7\u96F6","Load Voltage(AC)":"\u8D1F\u8F7D\u7535\u538B(AC)","Collector Emitter Breakdown Voltage(Vceo)":"\u96C6\u5C04\u6781\u51FB\u7A7F\u7535-Vceo","Collector Dark Current":"\u96C6\u7535\u6781\u6697\u7535\u6D41","Dissipation Power(Max)":"\u6700\u5927\u529F\u8017","Spectral Peak":"\u5149\u8C31\u5CF0\u503C(\u6CE2\u957F)","Applied Voltage":"\u6700\u5927\u7535\u538B","Rise Time":"\u4E0A\u5347\u65F6\u95F4","Fall Time":"\u4E0B\u964D\u65F6\u95F4","Illuminated Resistance @ 10Lux":"\u4EAE\u7535\u963B @ 10Lux","Dark Resistance":"\u6697\u7535\u963B","Input voltage type":"\u8F93\u5165\u7535\u538B\u7C7B\u578B","Threshold current":"\u9608\u503C\u7535\u6D41","Reverse Voltage":"\u76F4\u6D41\u53CD\u5411\u8010\u538B","Receiving End Voltage":"\u63A5\u6536\u7AEF\u7535\u538B","Collector-Emitter Saturation Voltage (Vce(sat)@Ic,IF)":"\u96C6\u5C04\u6781\u9971\u548C\u7535\u538B(Vce(sat)@Ic,IF)","Rise time":"\u4E0A\u5347\u65F6\u95F4","Fall time":"\u4E0B\u964D\u65F6\u95F4","Isolation Voltage(rms)":"\u9694\u79BB\u7535\u538B(rms)","SCR Type":"\u53EF\u63A7\u7845\u7C7B\u578B","Peak Repetitive Off?State Voltage(Vdrm)":"\u65AD\u6001\u5CF0\u503C\u7535\u538B(Vdrm)","Static dv/dt":"\u9759\u6001dv/dt","RMS On-State Current(It(rms))":"\u8F93\u51FA\u7535\u6D41(It(rms))","Common Mode Transient Immunity (CMTI)":"\u5171\u6A21\u77AC\u53D8\u6297\u6270\u5EA6CMTI","Propagation Delay tpLH/tpHL":"\u4F20\u64AD\u5EF6\u8FDFtpLH/tpHL","Breakdown voltage (BV)":"\u7535\u538B-\u51FB\u7A7F","Equivalent Series Resistance":"ESR(\u7B49\u6548\u4E32\u8054\u7535\u963B)","Equivalent Series Inductance":"ESL(\u7B49\u6548\u4E32\u8054\u7535\u611F)","operating temperature":"\u5DE5\u4F5C\u6E29\u5EA6","Metal Size":"\u91D1\u5C5E\u7247\u5C3A\u5BF8(D/(LxW))","Current - DC Forward (If)":"\u6B63\u5411\u7535\u6D41-DC (If)","View Angle":"\u89C6\u89D2","Center Frequency":"\u4E2D\u5FC3\u9891\u7387","Half Angle":"\u63A5\u6536\u89D2\u5EA6","Power Consumption":"\u529F\u8017","Current Ratio":"\u7535\u6D41\u6BD4","Secondary Side Inductance":"\u6B21\u7EA7\u4FA7\u7535\u611F\u503C","DCR Primary Side (Max)":"\u521D\u7EA7\u4FA7\u5185\u963B(\u6700\u5927\u503C)","DCR Secondary Side (Max)":"\u6B21\u7EA7\u4FA7\u5185\u963B(\u6700\u5927\u503C)","High Potential":"\u9694\u79BB\u8010\u538B","Current Rating (DC)":"\u989D\u5B9A\u7535\u6D41(DC)","Current Rating (AC)":"\u989D\u5B9A\u7535\u6D41(AC)","Input type":"\u8F93\u5165\u7C7B\u578B","output type":"\u8F93\u51FA\u7C7B\u578B","Range of magnetic field strength":"\u78C1\u573A\u5F3A\u5EA6\u8303\u56F4","supply voltage":"\u7535\u6E90\u7535\u538B",Angle:"\u89D2\u5EA6","Modulated Current":"\u8C03\u5236\u7535\u6D41","Bias Current":"\u504F\u7F6E\u7535\u6D41","Reset Style":"\u590D\u4F4D\u65B9\u5F0F","Timing Style":"\u5B9A\u65F6\u65B9\u5F0F","Count Rate":"\u8BA1\u6570\u901F\u7387","With Relay/Socket Model":"\u914D\u7528\u7EE7\u7535\u5668/\u63D2\u5EA7\u578B\u53F7","Reset Active Level":"\u590D\u4F4D\u6709\u6548\u7535\u5E73","Threshold Voltage":"\u9608\u503C\u7535\u538B","Manual Reset":"\u624B\u52A8\u590D\u4F4D",Watchdog:"\u770B\u95E8\u72D7\u5B9A\u65F6\u5668","Reset Timeout":"\u590D\u4F4D\u8D85\u65F6","Type of the power management chip":"\u7535\u6E90\u7BA1\u7406\u82AF\u7247\u7684\u7C7B\u578B","Gate-Source Breakdown Voltage (V(BR)GSS)":"\u6805\u6E90\u51FB\u7A7F\u7535\u538B(V(BR)GSS)","Gate-Source Cutoff Voltage (VGS(off)@ID)":"\u6805\u6E90\u622A\u6B62\u7535\u538B(VGS(off)@ID)","Drain Current (Idss@Vds,Vgs":"0) = \u9971\u548C\u6F0F\u6E90\u7535\u6D41(Idss@Vds,Vgs=0)","Static Drain-Source On Resistance (RDS(on))":"\u6F0F\u6E90\u5BFC\u901A\u7535\u963B(RDS(on))","Total Device Dissipation (Pd)":"\u529F\u7387(Pd)","Nominal Frequency":"\u4E2D\u5FC3\u9891\u7387",Bandwidth:"\u5E26\u5BBD",Ripple:"\u7EB9\u6CE2","Terminating Impedance":"\u963B\u6297","Operating Temperature (Min)":"\u5DE5\u4F5C\u6E29\u5EA6(\u6700\u5C0F\u503C)","Operating Temperature (Max)":"\u5DE5\u4F5C\u6E29\u5EA6(\u6700\u5927\u503C)","Peak Repetitive Off?State Voltage (Vdrm)":"\u65AD\u6001\u5CF0\u503C\u7535\u538B(Vdrm)","RMS On-State Current(It (rms))":"\u901A\u6001RMS\u7535\u6D41(lt(rms))","Peak non-repetitive surge current (Itsm@f)":"\u6D6A\u6D8C\u7535\u6D41(ltsm@f)","Average Gate Power Dissipation (PG(AV))":"\u95E8\u6781\u5E73\u5747\u8017\u6563\u529F\u7387(PG(AV))","Peak Forward On?State Voltage (Vtm)":"\u901A\u6001\u5CF0\u503C\u7535\u538B(Vtm)","Gate Trigger Current(Igt)":"\u95E8\u6781\u89E6\u53D1\u7535\u6D41(Igt)","Gate Trigger   Voltage (Vgt)":"\u95E8\u6781\u89E6\u53D1\u7535\u538B(Vgt)","upply Voltage (Vcc)":"\u5DE5\u4F5C\u7535\u538B(Vcc)","Supply current (Icc)":"\u5DE5\u4F5C\u7535\u6D41(Icc)","Number of Filters":"\u6EE4\u6CE2\u5668\u6570","Clock to Corner Frequency Ratio":"\u65F6\u949F\u622A\u6B62\u9891\u7387\u6BD4","Clock Feedthrough":"\u65F6\u949F\u9988\u901A","Logic Elements / Cells":"\u903B\u8F91\u5355\u5143\u6570","Logic Array Blocks":"\u903B\u8F91\u9635\u5217\u5757\u6570",Macrocell:"\u7B49\u6548\u5B8F\u5355\u5143","Number of Logic Gates":"\u903B\u8F91\u95E8\u6570\u91CF","Maximum Delay Time Tpd":"\u6700\u5927\u5F15\u811A\u5EF6\u8FDF","Embedded Block RAM":"\u5185\u5D4C\u5F0F\u5757RAM(EBR)","Supply Voltage Range - VCCIO":"\u5DE5\u4F5C\u7535\u538B\u8303\u56F4 - VCCIO",Diameter:"\u76F4\u5F84","electrostatic capacity":"\u9759\u7535\u5BB9\u91CF",Turns:"\u5708\u6570","Nominal Capacitance":"\u7535\u5BB9\u91CF",CapacitanceTolerance:"\u7CBE\u5EA6","Temperature   Coefficient":"\u6E29\u5EA6\u7CFB\u6570","Output Power  (Max)":"\u6700\u5927\u53D1\u5C04\u529F\u7387","Core  IC":"\u6838\u5FC3\u82AF\u7247","number of channels":"\u901A\u9053\u6570","Groove Profile":"\u69FD\u578B",Headform:"\u5934\u578B","Full thread/half thread":"\u5168\u7259/\u534A\u7259","Thread Features":"\u87BA\u7EB9\u7279\u5F81","The Tail Features":"\u5C3E\u90E8\u7279\u5F81","The Head Diameter (Not Include the Mat)":"\u5934\u90E8\u76F4\u5F84(\u4E0D\u5305\u542B\u4ECB\u5B50)","The Thickness of the Head":"\u5934\u90E8\u539A\u5EA6","Nominal Length":"\u516C\u79F0\u957F\u5EA6","Thread Pitch":"\u7259\u8DDD","Nominal Diameter/Specification":"\u516C\u79F0\u76F4\u5F84/\u89C4\u683C",Materials:"\u6750\u8D28","Surface Treatment":"\u8868\u9762\u5904\u7406","Nut Type":"\u87BA\u6BCD\u7C7B\u578B","Nominal Diameter":"\u516C\u79F0\u76F4\u5F84","Pitch of Thread":"\u87BA\u8DDD",Thickness:"\u6574\u4F53\u539A\u5EA6","Nut Performance Class":"\u5F3A\u5EA6\u7B49\u7EA7",Material:"\u6750\u6599",Finish:"\u8868\u9762\u5904\u7406","Bolts Type":"\u87BA\u67F1\u7C7B\u578B","Voltage Time (ET)":"\u7535\u538B\u65F6\u95F4(ET)",Directivity:"\u6307\u5411\u6027","Operating Voltage(Min)":"\u5DE5\u4F5C\u7535\u538B(\u6700\u5C0F\u503C)","Operating Voltage(Max)":"\u5DE5\u4F5C\u7535\u538B(\u6700\u5927\u503C)","Output Impedance":"\u8F93\u51FA\u963B\u6297","Signal to noise ratio":"\u4FE1\u566A\u6BD4","differential input":"\u5DEE\u5206\u8F93\u5165","Integral nonlinearity":"\u79EF\u5206\u975E\u7EBF\u6027","sampling frequency":"\u91C7\u6837\u7387",resolution:"\u5206\u8FA8\u7387","Date Rate":"\u6570\u636E\u901F\u7387","Memory type":"\u5185\u5B58\u7C7B\u578B","Operating Temperatue":"\u5DE5\u4F5C\u6E29\u5EA6","Number of Holes":"\u603B\u5B54\u4F4D\u6570","Holes Structure":"\u63D2\u5B54\u7ED3\u6784","Circular Hole / Square Hole":"\u5706\u5B54/\u65B9\u5B54","Holes Direction":"\u63D2\u5B54\u65B9\u5411","Pin Structure":"\u63D2\u9488\u7ED3\u6784","Circluar Pins/Square Pins":"\u5706\u9488/\u65B9\u9488","Length of Mating Pin":"\u914D\u5408\u9488\u957F\u5EA6","Length of End Connection Pin":"\u7AEF\u63A5\u9488\u957F\u5EA6","Sink Current":"\u704C\u7535\u6D41(IOL)","Source Current":"\u62C9\u7535\u6D41(IOH)","Propagation Delay Time":"\u4F20\u64AD\u5EF6\u8FDF(tpd)","Operature Temperature":"\u5DE5\u4F5C\u6E29\u5EA6","Gas range":"\u6D4B\u91CF\u8303\u56F4","operating voltage":"\u5DE5\u4F5C\u7535\u538B","Nominal Impulse Discharge Current":"\u8109\u51B2\u653E\u7535\u7535\u6D41","Maximum Capacitance @ 1MHz":"\u6781\u95F4\u7535\u5BB9","Interrupting Rating":"\u5206\u65AD\u80FD\u529B","Voltage Drop":"\u7535\u538B\u964D","Melt I?t":"\u7194\u65ADI?t","Number of PINs":"\u603BPIN\u6570","Hole/Pin Spacing":"\u5B54/\u9488\u95F4\u8DDD","Power Rating":"\u989D\u5B9A\u529F\u7387","Strike Gundam":"\u5E26\u652F\u67B6","Collector Cut-Off Current (Icbo)":"\u96C6\u7535\u6781\u622A\u6B62\u7535\u6D41(Icbo)","Collector-Emitter Saturation Voltage (VCE(sat)@Ic,Ib)":"\u96C6\u5C04\u6781\u9971\u548C\u7535\u538B(VCE(sat)@Ic,Ib)","DC Current Gain (hFE@Ic,Vce)":"\u76F4\u6D41\u7535\u6D41\u589E\u76CA(hFE@Ic,Vce)","Transition Frequency (fT)":"\u7279\u5F81\u9891\u7387(fT)","RMS On-State CuPeak Forward On?State Voltage (Vtmrrent(It (rms))":"\u901A\u6001\u5CF0\u503C\u7535\u538B(Vtm)","Transition Frequency(fT)":"\u7279\u5F81\u9891\u7387(fT)","Current - Saturation (Isat)":"\u9971\u548C\u7535\u6D41(Isat)",agreement:"\u534F\u8BAE","interface type":"\u63A5\u53E3\u7C7B\u578B","transmission rate":"\u4F20\u8F93\u901F\u7387","mains input":"\u7535\u6E90\u7535\u538B","center frequency":"\u4E2D\u5FC3\u9891\u70B9","Insertion loss":"\u63D2\u5165\u635F\u8017","Frequency range":"\u9891\u7387\u8303\u56F4","Supply voltage":"\u7535\u6E90\u7535\u538B","Central Frequency":"\u4E2D\u5FC3\u9891\u70B9",Bandwitch:"\u5E26\u5BBD","Peak Gain":"\u5CF0\u503C\u589E\u76CA",Model:"\u6A21\u5F0F","Passband bandwidth":"\u901A\u5E26\u5E26\u5BBD",impedance:"\u963B\u6297","Transmission Loss":"\u4F20\u8F93\u635F\u8017","Operating temperature range":"\u5DE5\u4F5C\u6E29\u5EA6\u8303\u56F4","Ratio-Input:Output":"\u8F93\u5165\u8F93\u51FA\u6BD4\u7387","crystal oscillator":"\u6676\u632F","The alarm clock output":"\u95F9\u949F\u8F93\u51FA","Frequency output function":"\u9891\u7387\u8F93\u51FA\u529F\u80FD","Battery holding current":"\u7535\u6C60\u4FDD\u6301\u7535\u6D41","current consumption":"\u6D88\u8017\u7535\u6D41","Low-level output current":"\u4F4E\u7535\u5E73\u8F93\u51FA\u7535\u6D41(IOL)","High-level output current":"\u9AD8\u7535\u5E73\u8F93\u51FA\u7535\u6D41(IOH)","Books Type":"\u4E66\u7C4D\u7C7B\u578B","built-up time":"\u5EFA\u7ACB\u65F6\u95F4","Comparator Type":"\u6BD4\u8F83\u5668\u7C7B\u578B","Output Function":"\u8F93\u51FA\u529F\u80FD","Maximum Propagation Delay":"\u6700\u5927\u4F20\u64AD\u5EF6\u8FDF(tpd)","Input Voltage (VI(on)@Ic,Vce)":"\u6700\u5C0F\u8F93\u5165\u7535\u538B(VI(on)@Ic/Io,Vce/Vo)","Input Voltage (VI(off)@Ic,Vce)":"\u6700\u5927\u8F93\u5165\u7535\u538B(VI(off)@Ic/Io,Vce/Vcc)","Output Voltage (VO(on)@Io/Ii)":"\u8F93\u51FA\u7535\u538B(VO(on)@Io/Ii)","Input Resistor":"\u8F93\u5165\u7535\u963B","Resistor Ratio":"\u7535\u963B\u6BD4\u7387","FLASH Size":"FLASH\u5BB9\u91CF","OTP Memory Size":"OTP\u5B58\u50A8\u5668\u5BB9\u91CF","Reverse Stand-Off Voltage (Vrwm)":"\u53CD\u5411\u622A\u6B62\u7535\u538B(Vrwm)","Breakdown Voltage (Min)":"\u51FB\u7A7F\u7535\u538B(\u6700\u5C0F\u503C)","Breakdown Voltage (Max)":"\u51FB\u7A7F\u7535\u538B(\u6700\u5927\u503C)","Peak Pulse Current (Ipp)@10/1000\u03BCs":"\u5CF0\u503C\u8109\u51B2\u7535\u6D41(Ipp)@10/1000\u03BCs","Maximum Clamping Voltage":"\u6700\u5927\u94B3\u4F4D\u7535\u538B","Peak Pulse Power Dissipation (Ppp)@10/1000\u03BCs":"\u5CF0\u503C\u8109\u51B2\u529F\u7387(Ppp)@10/1000\u03BCs","Center frequency":"\u4E2D\u5FC3\u9891\u7387",VSWR:"\u9A7B\u6CE2\u6BD4","Polarization Type":"\u6781\u5316\u65B9\u5F0F","Power capacity":"\u529F\u7387\u5BB9\u91CF","Standby supply current (Isb)":"\u5F85\u673A\u7535\u6D41(Isb)","Sleep mode current (Izz)":"\u7761\u7720\u6A21\u5F0F\u7535\u6D41(Izz)",Family:"\u7CFB\u5217",port:"\u7AEF\u53E3",rate:"\u901F\u7387",function:"\u529F\u80FD(POE\u6216\u975EPOE)","GNSS Type":"GNSS\u7C7B\u578B","Operating Supply Voltage":"\u5DE5\u4F5C\u7535\u6E90\u7535\u538B","Operating Power Supply Current":"\u5DE5\u4F5C\u7535\u6E90\u7535\u6D41","Time To First Fix":"\u51B7\u542F\u52A8-\u9996\u6B21\u5B9A\u4F4D\u65F6\u95F4(TTFF)","Rated Functioning Temperature":"\u989D\u5B9A\u52A8\u4F5C\u6E29\u5EA6(Tf)","Holding Temperature Limit":"\u6700\u9AD8\u7EF4\u6301\u6E29\u5EA6(Th)","Maximum Temperature Limit":"\u6700\u9AD8\u6781\u9650\u6E29\u5EA6(Tm)","Supply Voltage (Typ)":"\u5DE5\u4F5C\u7535\u538B(\u5178\u578B\u503C)","Temperature range":"\u6E29\u5EA6\u8303\u56F4","Switch state":"\u5F00\u5173\u72B6\u6001","Switch life":"\u5F00\u5173\u5BFF\u547D","temperature range":"\u6E29\u5EA6\u8303\u56F4",humidity:"\u6E7F\u5EA6","Zener Voltage (Range)":"\u7A33\u538B\u503C(\u8303\u56F4)","Zener Voltage (Nom)":"\u7A33\u538B\u503C(\u6807\u79F0\u503C)","Zener Impedance (Zzt)":"\u963B\u6297(Zzt)","Number of Coils":"\u7EBF\u5708\u6570\u91CF","Number of Internal Switches Tubes":"\u5185\u90E8\u5F00\u5173\u7BA1\u6570\u91CF","Frequency Of Communication":"\u901A\u4FE1\u9891\u7387",Pattern:"\u6A21\u5F0F","Reference Series":"\u53C2\u8003\u7CFB\u5217","Pins Structure":"\u63D2\u9488\u7ED3\u6784","Output Polarity":"\u8F93\u51FA\u6781\u6027","Maximum Input Voltage":"\u6700\u5927\u8F93\u5165\u7535\u538B","Dropout Voltage":"\u538B\u5DEE","Quiescent Current (Ground Current)":"\u9759\u6001\u7535\u6D41(\u5730\u7535\u6D41)","Power Supply Rejection Ratio (PSRR)":"\u7535\u6E90\u7EB9\u6CE2\u6291\u5236\u6BD4(PSRR)",Noise:"\u566A\u58F0","Contact Current (DC)":"\u989D\u5B9A\u7535\u6D41(DC)","Contact Current (AC)":"\u989D\u5B9A\u7535\u6D41(AC)","Angle of Throw":"\u5207\u6362\u89D2\u5EA6","Type of Contacts":"\u89E6\u70B9\u7C7B\u578B","Number of Decks":"\u5C42\u6570","Number of Poles Per Deck":"\u6BCF\u5C42\u6781\u6570",Positions:"\u63A5\u70B9\u6570","With lamp":"\u5E26\u706F","Operating Temp":"\u5DE5\u4F5C\u6E29\u5EA6","frequency range":"\u9891\u7387\u8303\u56F4","phase noise":"\u76F8\u4F4D\u566A\u58F0","harmonic suppression":"\u8C10\u6CE2\u6291\u5236","Pressure range":"\u538B\u529B\u8303\u56F4","Rated Wattage":"\u9759\u6001\u529F\u7387","Allowable Voltage (AC)":"\u6700\u5927\u5DE5\u4F5C\u7535\u538B(AC)","Allowable Voltage (DC)":"\u6700\u5927\u5DE5\u4F5C\u7535\u538B(DC)","Peak Current":"\u5CF0\u503C\u6D6A\u6D8C\u7535\u6D41","Maximum Energy":"\u80FD\u91CF","Typical Capatitance":"\u9759\u6001\u7535\u5BB9","With Locker":"\u5E26\u9501\u6263","Continuous Adjustable Delay Range":"\u53EF\u7528\u603B\u5EF6\u8FDF\u8303\u56F4","Number of Independent Delays":"\u72EC\u7ACB\u5EF6\u8FDF\u6570","Rated Power":"\u989D\u5B9A\u529F\u7387","Max Power":"\u6700\u5927\u529F\u7387","Rated Impeance":"\u963B\u6297","Total Harmonic Distortion":"\u5931\u771F(THD)","limiting current":"\u9650\u5236\u7535\u6D41","Level of Protection":"\u9632\u62A4\u7B49\u7EA7",loadtype:"\u8D1F\u8F7D\u7C7B\u578B","Peak Output Current(sink)":"\u5CF0\u503C\u704C\u7535\u6D41","Peak Output Current(source)":"\u5CF0\u503C\u62C9\u7535\u6D41","Propagation Delay tpLH":"\u4F20\u64AD\u5EF6\u8FDF tpLH","Propagation Delay tpHL":"\u4F20\u64AD\u5EF6\u8FDF tpHL","Pin Location":"\u5F15\u811A\u4F4D\u7F6E","Rated Speed":"\u989D\u5B9A\u8F6C\u901F","Sense Of Rotation":"\u65CB\u8F6C\u65B9\u5411","Tuning Word Width (Bits)":"\u5B57\u5BBD\u8C03\u8C10(\u4F4D)","Supply Voltage (VCCA)":"\u5DE5\u4F5C\u7535\u538B(VCCA)","Supply Voltage (VCCB)":"\u5DE5\u4F5C\u7535\u538B(VCCB)","Input Signal":"\u8F93\u5165\u4FE1\u53F7","Output Signal":"\u8F93\u51FA\u4FE1\u53F7","Antistatic Ability":"\u6297\u9759\u7535\u80FD\u529B","Radiant Flux":"\u8F90\u5C04\u529F\u7387","Character Set":"\u5B57\u7B26\u96C6","Dot Pitch":"\u70B9\u9635\u5927\u5C0F","Clock Rate":"\u65F6\u949F\u9891\u7387","Operating Voltage Range":"\u5DE5\u4F5C\u7535\u538B","Operating Voltage (Max)":"\u6700\u5927\u7535\u538B","Hold Current":"\u4FDD\u6301\u7535\u6D41","Trip Current":"\u8DF3\u95F8\u7535\u6D41","Resistance - Post Trip (R1) (Max)":"\u8DF3\u65AD\u540E\u963B\u503C(\u6700\u5927\u503C)","FIFO's":"FIFO\u5BB9\u91CF","With Auto Flow Control":"\u5E26\u81EA\u52A8\u6D41\u91CF\u63A7\u5236","With IrDA Encoder/Decoder":"\u5E26IrDA\u7F16\u7801\u5668/\u89E3\u7801\u5668","With False Start Bit Detection":"\u5E26\u5047\u8D77\u59CB\u4F4D\u68C0\u6D4B","With Modem Control":"\u5E26\u8C03\u5236\u89E3\u8C03\u5668\u63A7\u5236","LCSC Assembly":"\u7ACB\u521B\u8D34\u7247\u96F6\u4EF6","NO.":"\u7F16\u53F7","Name Inverted":"\u540D\u79F0\u53D6\u53CD",Supplier:"\u4F9B\u5E94\u5546",LCSC:"LCSC\u7F16\u53F7",Price:"\u4EF7\u683C",Quantity:"\u6570\u91CF",Package:"\u5C01\u88C5",Components:"\u5143\u4EF6\u7F16\u53F7",Manufacturer:"\u5236\u9020\u5546",Remove:"\u53BB\u6389",Layer:"\u5C42"},"Select Device":"\u9009\u62E9\u5668\u4EF6","Selected Items":"\u5DF2\u9009\u9879","Available Items":"\u53EF\u9009\u9879","Associated Device":"\u5173\u8054\u5668\u4EF6","Disassociate Device":"\u53D6\u6D88\u5173\u8054\u5668\u4EF6","Layer Fill Setting":"\u5C42\u586B\u5145\u8BBE\u7F6E","The content of {name}'s drawing page is missing!":"{name}\u7684\u5185\u5BB9\u4E22\u5931!","The current settings are applied to the schematic of the new project.":"\u5F53\u524D\u8BBE\u7F6E\u4F1A\u5E94\u7528\u5230\u4E4B\u540E\u65B0\u5EFA\u5DE5\u7A0B\u7684\u539F\u7406\u56FE\u3002","The current setting will be applied to the new schematic.":"\u5F53\u524D\u8BBE\u7F6E\u4F1A\u5E94\u7528\u5230\u4E4B\u540E\u65B0\u5EFA\u7684\u539F\u7406\u56FE\u3002","Does it need to be applied to the following scope?":"\u8FD8\u9700\u8981\u5E94\u7528\u5230\u4EE5\u4E0B\u8303\u56F4\u5417\uFF1F","Current project new schematic":"\u5F53\u524D\u5DE5\u7A0B\u540E\u7EED\u65B0\u5EFA\u539F\u7406\u56FE","The current project drawing presetting":"\u5373\u5F53\u524D\u5DE5\u7A0B\u7684\u56FE\u7EB8\u9884\u8BBE","All schematics of the current project":"\u5F53\u524D\u5DE5\u7A0B\u6240\u6709\u539F\u7406\u56FE","Current schematic {scheamticname}":"\u5F53\u524D\u539F\u7406\u56FE {scheamticname}","Current sheet{pageNameAndSchematicName}":"\u5F53\u524D\u9875 {pageNameAndSchematicName}","The symbol needs to be used by the associated device, the current symbol has not been associated with the device, please associate the device first.":"\u7B26\u53F7\u9700\u8981\u5173\u8054\u5668\u4EF6\u4F7F\u7528\uFF0C\u5F53\u524D\u7B26\u53F7\u5C1A\u672A\u5173\u8054\u5668\u4EF6\uFF0C\u8BF7\u5148\u5173\u8054\u5668\u4EF6\u3002","The footprint needs to be used by the associated device, the current footprint has not been associated with the device, please associate the device first.":"\u5C01\u88C5\u9700\u8981\u5173\u8054\u5668\u4EF6\u4F7F\u7528\uFF0C\u5F53\u524D\u5C01\u88C5\u5C1A\u672A\u5173\u8054\u5668\u4EF6\uFF0C\u8BF7\u5148\u5173\u8054\u5668\u4EF6\u3002","Association failed":"\u5173\u8054\u5931\u8D25","Association successfully!":"\u5173\u8054\u6210\u529F","Can't find matching objects":"\u6CA1\u6709\u627E\u5230\u4EFB\u4F55\u5339\u914D\u7684\u5BF9\u8C61","Too many documents opened, some cross probe pages not opened":"\u6253\u5F00\u6587\u6863\u8FC7\u591A\uFF0C\u90E8\u5206\u4EA4\u53C9\u9009\u62E9\u7684\u56FE\u9875\u672A\u6253\u5F00","DRC Require":"DRC \u8981\u6C42","Real Time Display":"\u5B9E\u65F6\u663E\u793A","Display Real-Time Differential Pair Length Tolerance While Route or Stretch Track":"\u5E03\u7EBF\u3001\u62C9\u4F38\u5BFC\u7EBF\u65F6\u663E\u793A\u5B9E\u65F6\u5DEE\u5206\u5BF9\u957F\u5EA6\u8BEF\u5DEE","Rebuild copper region automatically":"\u81EA\u52A8\u91CD\u5EFA\u94FA\u94DC\u533A\u57DF","Display Real-Time Net Length While Route or Stretch Track":"\u5E03\u7EBF\u3001\u62C9\u4F38\u5BFC\u7EBF\u65F6\u663E\u793A\u5B9E\u65F6\u7F51\u7EDC\u957F\u5EA6","You can add up to 20 configurations":"\u6700\u591A\u53EF\u6DFB\u52A020\u4E2A\u914D\u7F6E","Import Footprint":"\u5BFC\u5165\u5C01\u88C5","Import Symbol":"\u5BFC\u5165\u7B26\u53F7","Import Device":"\u5BFC\u5165\u5668\u4EF6","Import Component":"\u5BFC\u5165\u5143\u4EF6","Width X Height":"\u5BBD X \u9AD8","DXF Size(Width * Height)":"DXF\u5C3A\u5BF8(\u5BBDx\u9AD8)","Import Size(Width * Height)":"\u5BFC\u5165\u5C3A\u5BF8(\u5BBDx\u9AD8)","Original Size(Width * Height)":"\u539F\u59CB\u5C3A\u5BF8(\u5BBDx\u9AD8)","Total {0} page(s),":"\u5171 {0} \u9875\uFF0C","{0} record(s)":"{0} \u6761\u8BB0\u5F55",", current page count\uFF1A{0}":"\uFF0C\u672C\u9875\u6570\u91CF\uFF1A{0}","{0}/page":"{0}\u6761/\u9875","/page":"\u6761/\u9875","Equal Length Tunning":"\u7B49\u957F\u8C03\u8282","Equal Length Tunning Setting":"\u7B49\u957F\u8C03\u8282\u8BBE\u7F6E","Equal Length Group":"\u7B49\u957F\u7F51\u7EDC\u7EC4","Single Side":"\u5355\u8FB9","Double Side":"\u53CC\u8FB9","Routing Constraints":"\u8D70\u7EBF\u7EA6\u675F",Constraint:"\u7EA6\u675F",constraint:"\u7EA6\u675F","Constraint Dimension":"\u7EA6\u675F\u5C3A\u5BF8","Constrained Dimension":"\u7EA6\u675F\u5C3A\u5BF8","Label Dimension":"\u6807\u6CE8\u5C3A\u5BF8","Annotated Dimension":"\u6807\u6CE8\u5C3A\u5BF8",label:"\u6807\u6CE8","Gap (W)":"\u95F4\u8DDD (W)","Minimum Amplitude (H)":"\u6700\u5C0F\u632F\u5E45 (H)","Routing Method":"\u8D70\u7EBF\u65B9\u5F0F","@@netClass":{Selected:"\u5DF2\u9009\u62E9","Not Selected":"\u672A\u9009\u62E9"},"Nets below are ready in other net class: {0}":"\u4EE5\u4E0B\u7F51\u7EDC\u5DF2\u5B58\u5728\u4E8E\u5176\u4ED6\u7F51\u7EDC\u7C7B: {0}","Nets below are ready in other equal length group: {0}":"\u4EE5\u4E0B\u7F51\u7EDC\u5DF2\u5B58\u5728\u4E8E\u5176\u4ED6\u7B49\u957F\u7F51\u7EDC\u7EC4: {0}","Already belonged to {0}":"(\u5DF2\u5F52\u5C5E\u4E8E{0})","Already belonged to":"\u5DF2\u5F52\u5C5E\u4E8E","Cross Probe requires the schematic / PCB to be set under the same board\uFF0CPlease adjust in the left panel":"\u4EA4\u53C9\u9009\u62E9\u9700\u8981\u5C06\u539F\u7406\u56FE/PCB\u8BBE\u7F6E\u5230\u540C\u4E00\u677F\u5B50\u4E0B\uFF0C\u8BF7\u5728\u5DE6\u4FA7\u9762\u677F\u8C03\u6574","Placement Transfer requires the schematic / PCB to be set under the same board\uFF0CPlease adjust in the left panel":"\u5E03\u5C40\u4F20\u9012\u9700\u8981\u5C06\u539F\u7406\u56FE/PCB\u8BBE\u7F6E\u5230\u540C\u4E00\u677F\u5B50\u4E0B\uFF0C\u8BF7\u5728\u5DE6\u4FA7\u9762\u677F\u8C03\u6574","Net name doesn't match Bus name rule. For example: BUS[0:3]":"\u7F51\u7EDC\u540D\u4E0D\u7B26\u5408\u603B\u7EBF\u89C4\u5219\u3002\u6BD4\u5982\uFF1ABUS[0:3]","Different bus names cannot be merged":"\u4E0D\u540C\u540D\u603B\u7EBF\u65E0\u6CD5\u5408\u5E76","Net Group cannot be merged":"\u7F51\u7EDC\u7EC4\u65E0\u6CD5\u5408\u5E76","The network identifier global network name of the network group connection has been modified in conjunction":"\u5DF2\u8054\u52A8\u4FEE\u6539\u7F51\u7EDC\u7EC4\u8FDE\u63A5\u7684\u7F51\u7EDC\u6807\u8BC6\u5168\u5C40\u7F51\u7EDC\u540D","Net rename failed that groupId is {groupId}":"\u7F51\u7EDC\u7EC4{groupId}\u91CD\u547D\u540D\u5931\u8D25","TAB key to switch input box":"TAB\u952E\u5207\u6362\u8F93\u5165\u6846","Please select a starting point for Track Tunning,press the tab key to set parameters":"\u8BF7\u5355\u51FB\u9009\u62E9\u5BFC\u7EBF\u8C03\u8282\u7684\u8D77\u70B9\uFF0C\u6309tab\u952E\u53EF\u8BBE\u7F6E\u53C2\u6570","Please select a starting point for Differential Pair Track Tunning,press the tab key to set parameters":"\u8BF7\u5355\u51FB\u9009\u62E9\u5DEE\u5206\u5BFC\u7EBF\u7684\u8D77\u70B9\uFF0C\u6309tab\u952E\u53EF\u8BBE\u7F6E\u53C2\u6570","Increase Gap":"\u589E\u5927\u95F4\u9699","Decrease Gap":"\u51CF\u5C0F\u95F4\u9699","Gap Step Value":"\u95F4\u9699\u6B65\u8FDB\u503C","Equal length tunning setting":"\u7B49\u957F\u8C03\u8282\u8BBE\u7F6E","Net Class Length Tolerance Rule Setting":"\u7F51\u7EDC\u957F\u5EA6\u8BEF\u5DEE\u89C4\u5219\u8BBE\u7F6E","Differential Pair Length Tolerance Rule Setting":"\u5DEE\u5206\u957F\u5EA6\u8BEF\u5DEE\u89C4\u5219\u8BBE\u7F6E","Ignore DRC":"\u5FFD\u7565DRC","Increase Gap While Equal Length Tunning":"\u7B49\u957F\u8C03\u8282\u65F6\u589E\u5927\u95F4\u9699","Decrease Gap While Equal Length Tunning":"\u7B49\u957F\u8C03\u8282\u65F6\u51CF\u5C0F\u95F4\u9699","Net Short Of Different Names Need Short Symbol In Special Symbols":"\u4E0D\u540C\u540D\u7F51\u7EDC\u77ED\u63A5\u9700\u8981\u4F7F\u7528\u7279\u6B8A\u7B26\u53F7\u4E2D\u7684\u77ED\u63A5\u7B26","Locked objects found, please choose your operation":"\u5B58\u5728\u88AB\u9501\u5B9A\u7684\u5BF9\u8C61\uFF0C\u8BF7\u9009\u62E9\u4F60\u7684\u64CD\u4F5C","Continue current operation, skip the locked object":"\u7EE7\u7EED\u5F53\u524D\u64CD\u4F5C\uFF0C\u8DF3\u8FC7\u9501\u5B9A\u5BF9\u8C61","Continue current operation, but do not unlock the object":"\u7EE7\u7EED\u5F53\u524D\u64CD\u4F5C\uFF0C\u4F46\u4E0D\u89E3\u9501\u5BF9\u8C61","Continue current operation\uFF0Cwhile unlocking the object":"\u7EE7\u7EED\u5F53\u524D\u64CD\u4F5C\uFF0C\u540C\u65F6\u89E3\u9501\u5BF9\u8C61","Locked objects found, please try again after unlock":"\u5B58\u5728\u88AB\u9501\u5B9A\u7684\u56FE\u5143\uFF0C\u8BF7\u53D6\u6D88\u9501\u5B9A\u540E\u91CD\u8BD5","@@filterPanel":{Common:"\u5E38\u7528"},"@@PanelLayerContext":{Common:"\u5E38\u7528"},"Only Component":"\u4EC5\u5143\u4EF6","Only Component Attribute":"\u4EC5\u5143\u4EF6\u5C5E\u6027","Only Track":"\u4EC5\u5BFC\u7EBF","Only Via":"\u4EC5\u8FC7\u5B54","Only Pad Pair":"\u4EC5\u710A\u76D8\u5BF9","Only Net":"\u4EC5\u7F51\u7EDC","Only Group":"\u4EC5\u7EC4\u5408","Only Image":"\u4EC5\u56FE\u7247","Only Pad":"\u4EC5\u710A\u76D8","Only Line":"\u4EC5\u7EBF\u6761","Only Symbol":"\u4EC5\u7B26\u53F7","Only Wire and Bus":"\u4EC5\u5BFC\u7EBF\u548C\u603B\u7EBF","Only Pin Pair":"\u4EC5\u5F15\u811A\u5BF9","Only Pin":"\u4EC5\u5F15\u811A","Only Polyline":"\u4EC5\u6298\u7EBF","Only Top Side":"\u4EC5\u9876\u9762","Only Bottom Side":"\u4EC5\u5E95\u9762","Only Inner Side":"\u4EC5\u5185\u5C42","Only 3D Shell":"\u4EC5 3D \u5916\u5F62\u5C42","Hide inactive elements":"\u9690\u85CF\u672A\u751F\u6548\u5143\u7D20","Do not show hidden elements":"\u4E0D\u663E\u793A\u9690\u85CF\u5143\u7D20","Single layer view":"\u5355\u5C42\u67E5\u770B","Save As Config":"\u53E6\u5B58\u4E3A\u914D\u7F6E","Save As Config...":"\u53E6\u5B58\u4E3A\u914D\u7F6E...","Rename Config...":"\u91CD\u547D\u540D\u914D\u7F6E...","Save Config":"\u4FDD\u5B58\u914D\u7F6E","Save config failed":"\u914D\u7F6E\u4FDD\u5B58\u5931\u8D25","Delete Config":"\u5220\u9664\u914D\u7F6E",Status:"\u72B6\u6001",UnLocked:"\u672A\u9501\u5B9A","Pin Pair":"\u5F15\u811A\u5BF9","Wire and Bus":"\u5BFC\u7EBF\u548C\u603B\u7EBF","Move Canvas":"\u79FB\u52A8\u753B\u5E03","Zoom Canvas":"\u7F29\u653E\u753B\u5E03","Drag the Middle Mouse Button":"\u9F20\u6807\u4E2D\u952E\u62D6\u52A8","Auto Panning":"\u81EA\u52A8\u5E73\u79FB","Uniform Translation":"\u5300\u901F\u5E73\u79FB","Variable Speed Translation":"\u53D8\u901F\u5E73\u79FB","The configuration name can not be system config name":"\u914D\u7F6E\u540D\u4E0D\u53EF\u4EE5\u662F\u7CFB\u7EDF\u914D\u7F6E\u540D","The configuration name can be up to 20 characters":"\u914D\u7F6E\u540D\u6700\u591A20\u4E2A\u5B57\u7B26","The configuration name can not be null":"\u914D\u7F6E\u540D\u4E0D\u80FD\u4E3A\u7A7A","Up to five custom configurations":"\u81EA\u5B9A\u4E49\u914D\u7F6E\u6700\u591A\u4E94\u4E2A","Configuration already exists":"\u914D\u7F6E\u5DF2\u5B58\u5728","* ALL":"* \u6240\u6709","* Default":"* \u9ED8\u8BA4","* Common":"* \u5E38\u7528","* Only Component":"* \u4EC5\u5143\u4EF6","* Only Component Attribute":"* \u4EC5\u5143\u4EF6\u5C5E\u6027","* Only Track":"* \u4EC5\u5BFC\u7EBF","* Only Via":"* \u4EC5\u8FC7\u5B54","* Only Pad Pair":"* \u4EC5\u710A\u76D8\u5BF9","* Only Net":"* \u4EC5\u7F51\u7EDC","* Only Group":"* \u4EC5\u7EC4\u5408","* Only Image":"* \u4EC5\u56FE\u7247","* Only Pad":"* \u4EC5\u710A\u76D8","* Only Line":"* \u4EC5\u7EBF\u6761","* Only Symbol":"* \u4EC5\u7B26\u53F7","* Only Wire and Bus":"* \u4EC5\u5BFC\u7EBF\u548C\u603B\u7EBF","* Only Pin Pair":"* \u4EC5\u5F15\u811A\u5BF9","* Only Pin":"* \u4EC5\u5F15\u811A","* Only Polyline":"* \u4EC5\u6298\u7EBF","* Do not show hidden elements":"* \u4E0D\u663E\u793A\u9690\u85CF\u5143\u7D20","* Single layer view":"* \u5355\u5C42\u67E5\u770B","* Hide inactive elements":"* \u9690\u85CF\u672A\u751F\u6548\u5143\u7D20","* Top Assembly View":"* \u9876\u5C42\u88C5\u914D\u5C42\u89C6\u56FE","* Bottom Assembly View":"* \u5E95\u5C42\u88C5\u914D\u5C42\u89C6\u56FE","* Only Top Side":"* \u4EC5\u9876\u9762","* Only Bottom Side":"* \u4EC5\u5E95\u9762","* ALL(Default)":"* \u6240\u6709(\u9ED8\u8BA4)","* Only Component(Default)":"* \u4EC5\u5143\u4EF6(\u9ED8\u8BA4)","* Only Component Attribute(Default)":"* \u4EC5\u5143\u4EF6\u5C5E\u6027(\u9ED8\u8BA4)","* Only Track(Default)":"* \u4EC5\u5BFC\u7EBF(\u9ED8\u8BA4)","* Only Via(Default)":"* \u4EC5\u8FC7\u5B54(\u9ED8\u8BA4)","* Only Pad Pair(Default)":"* \u4EC5\u710A\u76D8\u5BF9(\u9ED8\u8BA4)","* Only Net(Default)":"* \u4EC5\u7F51\u7EDC(\u9ED8\u8BA4)","* Only Group(Default)":"* \u4EC5\u7EC4\u5408(\u9ED8\u8BA4)","* Only Image(Default)":"* \u4EC5\u56FE\u7247(\u9ED8\u8BA4)","* Only Pad(Default)":"* \u4EC5\u710A\u76D8(\u9ED8\u8BA4)","* Only Line(Default)":"* \u4EC5\u7EBF\u6761(\u9ED8\u8BA4)","* Only Symbol(Default)":"* \u4EC5\u7B26\u53F7(\u9ED8\u8BA4)","* Only Wire and Bus(Default)":"* \u4EC5\u5BFC\u7EBF\u548C\u603B\u7EBF(\u9ED8\u8BA4)","* Only Pin Pair(Default)":"* \u4EC5\u5F15\u811A\u5BF9(\u9ED8\u8BA4)","* Only Pin(Default)":"* \u4EC5\u5F15\u811A(\u9ED8\u8BA4)","* Only Polyline(Default)":"* \u4EC5\u6298\u7EBF(\u9ED8\u8BA4)","* Do not show hidden elements(Default)":"* \u4E0D\u663E\u793A\u9690\u85CF\u5143\u7D20(\u9ED8\u8BA4)","* Single layer view(Default)":"* \u5355\u5C42\u67E5\u770B(\u9ED8\u8BA4)","* Hide inactive elements(Default)":"* \u9690\u85CF\u672A\u751F\u6548\u5143\u7D20(\u9ED8\u8BA4)","* Top Assembly View(Default)":"* \u9876\u5C42\u88C5\u914D\u5C42\u89C6\u56FE(\u9ED8\u8BA4)","* Bottom Assembly View(Default)":"* \u5E95\u5C42\u88C5\u914D\u5C42\u89C6\u56FE(\u9ED8\u8BA4)","* Only Top Side(Default)":"* \u4EC5\u9876\u9762(\u9ED8\u8BA4)","* Only Bottom Side(Default)":"* \u4EC5\u5E95\u9762(\u9ED8\u8BA4)","Common(Default)":"\u5E38\u7528(\u9ED8\u8BA4)","Only Component(Default)":"\u4EC5\u5143\u4EF6(\u9ED8\u8BA4)","Only Component Attribute(Default)":"\u4EC5\u5143\u4EF6\u5C5E\u6027(\u9ED8\u8BA4)","Only Track(Default)":"\u4EC5\u5BFC\u7EBF(\u9ED8\u8BA4)","Only Via(Default)":"\u4EC5\u8FC7\u5B54(\u9ED8\u8BA4)","Only Pad Pair(Default)":"\u4EC5\u710A\u76D8\u5BF9(\u9ED8\u8BA4)","Only Net(Default)":"\u4EC5\u7F51\u7EDC(\u9ED8\u8BA4)","Only Group(Default)":"\u4EC5\u7EC4\u5408(\u9ED8\u8BA4)","Only Image(Default)":"\u4EC5\u56FE\u7247(\u9ED8\u8BA4)","Only Pad(Default)":"\u4EC5\u710A\u76D8(\u9ED8\u8BA4)","Only Line(Default)":"\u4EC5\u7EBF\u6761(\u9ED8\u8BA4)","Only Symbol(Default)":"\u4EC5\u7B26\u53F7(\u9ED8\u8BA4)","Only Wire and Bus(Default)":"\u4EC5\u5BFC\u7EBF\u548C\u603B\u7EBF(\u9ED8\u8BA4)","Only Pin Pair(Default)":"\u4EC5\u5F15\u811A\u5BF9(\u9ED8\u8BA4)","Only Pin(Default)":"\u4EC5\u5F15\u811A(\u9ED8\u8BA4)","Only Polyline(Default)":"\u4EC5\u6298\u7EBF(\u9ED8\u8BA4)","Do not show hidden elements(Default)":"\u4E0D\u663E\u793A\u9690\u85CF\u5143\u7D20(\u9ED8\u8BA4)","Single layer view(Default)":"\u5355\u5C42\u67E5\u770B(\u9ED8\u8BA4)","Hide inactive elements(Default)":"\u9690\u85CF\u672A\u751F\u6548\u5143\u7D20(\u9ED8\u8BA4)","Top Assembly View(Default)":"\u9876\u5C42\u88C5\u914D\u5C42\u89C6\u56FE(\u9ED8\u8BA4)","Bottom Assembly View(Default)":"\u5E95\u5C42\u88C5\u914D\u5C42\u89C6\u56FE(\u9ED8\u8BA4)","Only Top Side(Default)":"\u4EC5\u9876\u9762(\u9ED8\u8BA4)","Only Bottom Side(Default)":"\u4EC5\u5E95\u9762(\u9ED8\u8BA4)","\uFF08Default\uFF09":"(\u9ED8\u8BA4)","ALL\uFF08Default\uFF09":"\u5168\u90E8(\u9ED8\u8BA4)","Set as default config":"\u8BBE\u4E3A\u9ED8\u8BA4\u914D\u7F6E","Auto Routing":"\u81EA\u52A8\u5E03\u7EBF","Automatic Routing interrupt!":"\u81EA\u52A8\u5E03\u7EBF\u4E2D\u65AD!","Please make sure the object with net is inside the board outline!":"\u8BF7\u786E\u4FDD\u5E26\u7F51\u7EDC\u7684\u5BF9\u8C61\u5C45\u4E8E\u8FB9\u6846\u5185\u90E8\uFF01","Please draw a board outline first!":"\u8BF7\u5148\u7ED8\u5236\u677F\u6846\uFF01","Auto routing completed!":"\u81EA\u52A8\u5E03\u7EBF\u5DF2\u5B8C\u6210\uFF01","Auto routing completed! Add tracks: {0}, add vias: {1}, nets completion: {2}, use time: {3}s.":"\u81EA\u52A8\u5E03\u7EBF\u5DF2\u5B8C\u6210\uFF01\u65B0\u589E\u5BFC\u7EBF\uFF1A{0}\uFF1B\u65B0\u589E\u8FC7\u5B54\uFF1A{1}\uFF1B\u7F51\u7EDC\u5E03\u901A\u7387\uFF1A{2}\uFF1B\u7528\u65F6\uFF1A{3}s\u3002","Automatic layouting interrupt!":"\u81EA\u52A8\u5E03\u5C40\u4E2D\u65AD\uFF01","Automatic layouting interrupt":"\u81EA\u52A8\u5E03\u5C40\u4E2D\u65AD","Auto component placement failed, has duplicated designator, please modify":"\u81EA\u52A8\u5143\u4EF6\u5E03\u5C40\u5931\u8D25\uFF0C\u5B58\u5728\u91CD\u590D\u7684\u5143\u4EF6\u4F4D\u53F7\uFF0C\u8BF7\u4FEE\u6539","Auto component routing failed, has duplicated designator, please modify":"\u81EA\u52A8\u5143\u4EF6\u5E03\u7EBF\u5931\u8D25\uFF0C\u5B58\u5728\u91CD\u590D\u7684\u5143\u4EF6\u4F4D\u53F7\uFF0C\u8BF7\u4FEE\u6539","Auto layout completed!":"\u81EA\u52A8\u5E03\u5C40\u5DF2\u5B8C\u6210\uFF01","Auto layout completed! Has moved components: {0}, use time: {1}s.":"\u81EA\u52A8\u5E03\u5C40\u5DF2\u5B8C\u6210\uFF01\u79FB\u52A8\u5143\u4EF6\uFF1A{0}; \u7528\u65F6\uFF1A{1}s\u3002","The proportion of the available layout area is too small, which may result in layout failure. Do you want to proceed anyway?":"\u53EF\u5E03\u5C40\u533A\u57DF\u9762\u79EF\u5360\u6BD4\u8FC7\u5C0F\uFF0C\u5E03\u5C40\u53EF\u80FD\u5931\u8D25\uFF0C\u662F\u5426\u7EE7\u7EED?","Auto layout canceled\uFF01":"\u81EA\u52A8\u5E03\u5C40\u53D6\u6D88\uFF01","Set as New PCB Default Config":"\u8BBE\u4E3A\u65B0\u5EFAPCB\u9ED8\u8BA4\u914D\u7F6E","Backup project failed! The content is the same as that of the last backup.":"\u5907\u4EFD\u5DE5\u7A0B \u5931\u8D25\uFF01\u4E0E\u4E0A\u6B21\u5907\u4EFD\u5185\u5BB9\u4E00\u81F4\u3002",'Found the auto backup of "Cache Recovery" feature failed, it may impacts documents saving, please contact with support for help!':"\u53D1\u73B0\u201C\u7F13\u5B58\u6062\u590D\u201D\u529F\u80FD\u7684\u5B9A\u65F6\u81EA\u52A8\u5907\u4EFD\u5931\u6548\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u6587\u4EF6\u6B63\u5E38\u4FDD\u5B58\uFF0C\u8BF7\u8054\u7CFB\u6280\u672F\u6392\u67E5\uFF01","{name} Config":"{name}\u914D\u7F6E","Netname Select":"\u7F51\u7EDC\u540D\u9009\u4E2D","Click on the netname to select":"\u70B9\u51FB\u9009\u4E2D\u7F51\u7EDC\u540D","Select the property itself first, and click again to select the parent":"\u4F18\u5148\u9009\u4E2D\u5C5E\u6027\u672C\u8EAB\uFF0C\u518D\u6B21\u70B9\u51FB\u9009\u4E2D\u7236\u7EA7","Select the the parent first, and click again to select the property itself":"\u4F18\u5148\u9009\u4E2D\u7236\u7EA7\uFF0C\u518D\u6B21\u70B9\u51FB\u9009\u4E2D\u5C5E\u6027\u672C\u8EAB","Please select the row that requires action":"\u8BF7\u9009\u62E9\u9700\u8981\u64CD\u4F5C\u7684\u884C","No valid data esist":"\u4E0D\u5B58\u5728\u6709\u6548\u6570\u636E",Netlabel:"\u7F51\u7EDC\u6807\u7B7E","Wire / Bus Length":"\u5BFC\u7EBF/\u603B\u7EBF\u957F\u5EA6","Adapt To Netname":"\u9002\u5E94\u7F51\u7EDC\u540D","Fixed Length":"\u56FA\u5B9A\u957F\u5EA6","Adapt To Longest Netname":"\u9002\u5E94\u6700\u957F\u7F51\u7EDC\u540D","Preserve Existing Wire Length":"\u4FDD\u7559\u5DF2\u6709\u5BFC\u7EBF\u957F\u5EA6","Fill in the pin name with the net name":"\u5C06\u5F15\u811A\u540D\u79F0\u586B\u5165\u7F51\u7EDC\u540D","Add no connect flag when the net name and length are empty":"\u7F51\u7EDC\u540D\u548C\u957F\u5EA6\u90FD\u4E3A\u7A7A\u65F6\u6DFB\u52A0\u975E\u8FDE\u63A5\u6807\u8BC6","Fan Out BusEntry":"\u6247\u51FA\u603B\u7EBF\u5206\u652F","Fan Out BusEntry...":"\u6247\u51FA\u603B\u7EBF\u5206\u652F...","Fan Out Entry":"\u6247\u51FA\u5206\u652F","New Entry Length":"\u65B0\u589E\u5206\u652F\u957F\u5EA6","Entry Direction":"\u5206\u652F\u65B9\u5411","Entry Position":"\u5206\u652F\u4F4D\u7F6E","Existing Entry":"\u5DF2\u6709\u5206\u652F","Existing Entry will not be added":"\u5DF2\u6709\u5206\u652F\u4E0D\u65B0\u589E","From left to right":"\u4ECE\u5DE6\u5230\u53F3","From right to left":"\u4ECE\u53F3\u5230\u5DE6","From top to bottom":"\u4ECE\u4E0A\u5230\u4E0B","From bottom to top":"\u4ECE\u4E0B\u5230\u4E0A","Some busEntries already exist but are not generated: {names}":"\u90E8\u5206\u5206\u652F\u5DF2\u5B58\u5728\uFF0C\u672A\u751F\u6210\uFF1A{names}","Some busEntries were not generated because the length of the bus segment was exceeded: from {startName} to {endName}":"\u603B\u7EBF\u6BB5\u957F\u5EA6\u4E0D\u8DB3\uFF0C\u90E8\u5206\u5206\u652F\u672A\u751F\u6210\uFF1A\u4ECE{startName}\u5230{endName}","Fan Out Netlabel":"\u6247\u51FA\u7F51\u7EDC\u6807\u7B7E","Fan Out Netlabel/No Connect Flag":"\u6247\u51FA\u7F51\u7EDC\u6807\u7B7E/\u975E\u8FDE\u63A5\u6807\u8BC6","Length Range: {start}~{end}{suffix}":"\u957F\u5EA6\u8303\u56F4\uFF1A{start}~{end}{suffix}","The wire cannot connect with the pin which has No Connect Flag":"\u5BFC\u7EBF\u4E0D\u80FD\u8FDE\u63A5\u5230\u6709\u975E\u8FDE\u63A5\u6807\u8BC6\u7684\u5F15\u811A\u4E0A","Netlabel can not be placed on the pin which\xA0has No Connect Flag":"\u7F51\u7EDC\u6807\u7B7E\u4E0D\u80FD\u653E\u7F6E\u5728\u6709\u975E\u8FDE\u63A5\u6807\u8BC6\u7684\u5F15\u811A\u4E0A","Select single, click again to select the whole paragraph":"\u9009\u4E2D\u5355\u6BB5\uFF0C\u518D\u6B21\u70B9\u51FB\u9009\u4E2D\u6574\u6BB5","Select the whole paragraph, click again to select single":"\u9009\u4E2D\u6574\u6BB5\uFF0C\u518D\u6B21\u70B9\u51FB\u9009\u4E2D\u5355\u6BB5","Click on the wire to select":"\u5355\u51FB\u5BFC\u7EBF\u9009\u4E2D","Wire Multiple Net":"\u5BFC\u7EBF\u591A\u7F51\u7EDC","Add via method while route":"\u5E03\u7EBF\u65F6\u6DFB\u52A0\u8FC7\u5B54\u65B9\u5F0F","Add at the last inflection point":"\u5728\u4E0A\u4E00\u62D0\u70B9\u6DFB\u52A0","Add at the current inflection point":"\u5728\u5F53\u524D\u62D0\u70B9\u6DFB\u52A0","Track DRC violation detected,track could not be generated,please check the white DRC border":"\u68C0\u6D4B\u5230\u5BFC\u7EBF\u8FDD\u53CD DRC\uFF0C\u65E0\u6CD5\u751F\u6210\u5BFC\u7EBF\uFF0C\u8BF7\u67E5\u770B\u767D\u8272DRC\u8FB9\u6846","Via DRC violation detected,please check the white DRC border.Whether to ignore DRC and continue placing via?":"\u68C0\u6D4B\u5230\u8FC7\u5B54\u8FDD\u53CDDRC\uFF0C\u8BF7\u67E5\u770B\u767D\u8272DRC\u8FB9\u6846\u3002\u662F\u5426\u5FFD\u7565DRC\u7EE7\u7EED\u6253\u5B54\uFF1F","The selected starting point is within the prohibited track region.Do you want to ignore DRC and continue?":"\u9009\u62E9\u7684\u8D77\u70B9\u5728\u7981\u6B62\u5E03\u7EBF\u533A\u57DF\u5185\uFF0C\u662F\u5426\u5FFD\u7565DRC\u7EE7\u7EED\uFF1F","Confirm track\xA0segment while routing":"\u7ED8\u5236\u65F6\u786E\u5B9A\u5BFC\u7EBF\u6BB5","Confirm track segment while routing":"\u7ED8\u5236\u65F6\u786E\u5B9A\u5BFC\u7EBF\u6BB5","Confirm to\xA0previous segment":"\u786E\u5B9A\u81F3\u524D\u4E00\u6BB5","Confirm to previous segment":"\u786E\u5B9A\u81F3\u524D\u4E00\u6BB5","Confirm to\xA0current segment":"\u786E\u5B9A\u81F3\u5F53\u524D\u6BB5","Confirm to current segment":"\u786E\u5B9A\u81F3\u5F53\u524D\u6BB5","End primitives\xA0drawing":"\u7ED3\u675F\u56FE\u5143\u7ED8\u5236","End primitives drawing":"\u7ED3\u675F\u56FE\u5143\u7ED8\u5236","Ctrl+Right-Click to end drawing, Right-Click to show menu":"Ctrl+\u53F3\u952E\u7ED3\u675F\u7ED8\u5236\uFF0C\u53F3\u952E\u5355\u51FB\u663E\u793A\u83DC\u5355","Right-click to end drawing, Ctrl+Right-Click to show menu":"\u53F3\u952E\u5355\u51FB\u7ED3\u675F\uFF0CCtrl+\u53F3\u952E\u663E\u793A\u83DC\u5355","LCSC Part Name":"\u7ACB\u521B\u5143\u4EF6\u540D","No Connect":"\u975E\u8FDE\u63A5","Current Page Selected Objects":"\u5F53\u524D\u9009\u4E2D\u5BF9\u8C61","Copy/Cut":"\u590D\u5236/\u526A\u5207","No Select reference point":"\u4E0D\u9009\u62E9\u53C2\u8003\u70B9","Select reference point":"\u9009\u62E9\u53C2\u8003\u70B9","Select the Reference Object":"\u9009\u62E9\u53C2\u8003\u5BF9\u8C61","Please Select The Reference Object":"\u8BF7\u9009\u62E9\u53C2\u8003\u5BF9\u8C61","Please wait for the paste to finish!":"\u8BF7\u7B49\u5F85\u7C98\u8D34\u5B8C\u6210!","The file hadn't opened which you expected to save!":"\u60A8\u5E0C\u671B\u4FDD\u5B58\u7684\u6587\u4EF6\u5C1A\u672A\u6253\u5F00!","JsonCache does not comply with the rule!":"JsonCache\u4E0D\u7B26\u5408\u89C4\u5219!","Document {title} version is inconsistent!":"\u6587\u6863{title}\u7248\u672C\u4E0D\u4E00\u81F4!","The document version is inconsistent with the cloud version!":"\u5B58\u5728\u6587\u6863\u7248\u672C\u4E0E\u4E91\u7AEF\u7248\u672C\u4E0D\u4E00\u81F4!","sheet failed to update title!":"\u539F\u7406\u56FE\u9875\u66F4\u65B0\u540D\u79F0\u5931\u8D25!","Symbol {title} failed to update title! The symbol title cannot be duplicated.":"\u7B26\u53F7{title}\u66F4\u65B0\u540D\u79F0\u5931\u8D25! \u7B26\u53F7\u4E0D\u80FD\u91CD\u540D\u3002","Symbol {title} failed to update title! You don't have permission to save!":"\u7B26\u53F7{title}\u66F4\u65B0\u540D\u79F0\u5931\u8D25, \u4F60\u6CA1\u6709\u4FDD\u5B58\u6743\u9650\uFF01","@@searchDevice":{Clear:"\u6E05\u9664\u7B5B\u9009","Apply Filters":"\u5E94\u7528\u7B5B\u9009",Result:"\u7B5B\u9009\u7ED3\u679C",Place:"\u653E\u7F6E\u5728\u753B\u5E03",Prev:"\u4E0A\u4E00\u9875",Next:"\u4E0B\u4E00\u9875","Total {count} Count":"\u5171{count}\u6761\u8BB0\u5F55",About:"\u7EA6",Items:"\u6761\u7ED3\u679C"},"Found more than one symbol named\xA0{0},\xA0will use one of them as template, the related devices already re-associate the symbol. Please check carefully. Related devices are:":"\u53D1\u73B0\u591A\u4E2A\u540D\u79F0\u4E3A\xA0{0} \u7684\u7B26\u53F7\uFF0C\u4F1A\u53D6\u5176\u4E2D\u4E00\u4E2A\u505A\u4E3A\u6A21\u677F\uFF0C\u76F8\u5173\u5668\u4EF6\u5DF2\u7ECF\u91CD\u65B0\u5173\u8054\u7B26\u53F7\uFF0C\u8BF7\u4ED4\u7EC6\u68C0\u67E5\u3002\u5173\u8054\u7684\u5668\u4EF6\uFF1A","Found more than one footprint named\xA0{0},\xA0will use one of them as template, the related devices already re-associate the footprint. Please check carefully. Related devices are:":"\u53D1\u73B0\u591A\u4E2A\u540D\u79F0\u4E3A {0} \u7684\u5C01\u88C5\uFF0C\u4F1A\u53D6\u5176\u4E2D\u4E00\u4E2A\u505A\u4E3A\u6A21\u677F\uFF0C\u76F8\u5173\u5668\u4EF6\u5DF2\u7ECF\u91CD\u65B0\u5173\u8054\u5C01\u88C5\uFF0C\u8BF7\u4ED4\u7EC6\u68C0\u67E5\u3002\u5173\u8054\u7684\u5668\u4EF6\uFF1A","Exist more than one footprint {0} which are the same title but different shape, the\xA0editor only import one of them as template, the related devices already re-associate footprint. Please check carefully. Related devices are:":"\u5B58\u5728\u591A\u4E2A\u76F8\u540C\u540D\u79F0\u4F46\u56FE\u5F62\u6709\u5DEE\u5F02\u7684\u5C01\u88C5 {0}\uFF0C\u6240\u4EE5\u53EA\u5BFC\u5165\u4E86\u5176\u4E2D\u4E00\u4E2A\uFF0C\u76F8\u5173\u5668\u4EF6\u5DF2\u7ECF\u91CD\u65B0\u5173\u8054\uFF0C\u8BF7\u4ED4\u7EC6\u68C0\u67E5\u3002\u5173\u8054\u7684\u5668\u4EF6\uFF1A","Exist more than one symbol {0} which are the same title but different shape, the\xA0editor only import one of them as template, the related devices already re-associate symbol. Please check carefully. Related devices are:":"\u5B58\u5728\u591A\u4E2A\u76F8\u540C\u540D\u79F0\u4F46\u56FE\u5F62\u6709\u5DEE\u5F02\u7684\u7B26\u53F7 {0}\uFF0C\u6240\u4EE5\u53EA\u5BFC\u5165\u4E86\u5176\u4E2D\u4E00\u4E2A\uFF0C\u76F8\u5173\u5668\u4EF6\u5DF2\u7ECF\u91CD\u65B0\u5173\u8054\uFF0C\u8BF7\u4ED4\u7EC6\u68C0\u67E5\u3002\u5173\u8054\u7684\u5668\u4EF6\uFF1A","Found some component pads with the same number but different nets, after importing these pads will take one of these nets, please check:":"\u53D1\u73B0\u4E00\u4E9B\u5143\u4EF6\u710A\u76D8\u5B58\u5728\u7F16\u53F7\u76F8\u540C\u4F46\u7F51\u7EDC\u4E0D\u540C\uFF0C\u5BFC\u5165\u540E\u5C06\u7EDF\u4E00\u53D6\u5176\u4E2D\u4E00\u4E2A\u7F51\u7EDC\uFF0C\u8BF7\u6CE8\u610F\u68C0\u67E5\uFF1A","The device {0} is not found in the project!":"\u5668\u4EF6{0}\u5728\u5DE5\u7A0B\u5E93\u4E2D\u4E0D\u5B58\u5728\uFF01","The device {0} is not bound a footprint!":"\u5668\u4EF6{0}\u672A\u7ED1\u5B9A\u5C01\u88C5\uFF01","Found that the footprints have the same name\xA0{0} but different shape, one of them have been renamed as {1}. Related devices are :":"\u53D1\u73B0\u5B58\u5728\u540C\u540D\u5C01\u88C5 {0} \u4F46\u56FE\u5F62\u4E0D\u4E00\u81F4\uFF0C\u5176\u4E2D\u4E00\u4E2A\u5DF2\u91CD\u547D\u540D\u4E3A {1}\u3002\u5173\u8054\u7684\u5668\u4EF6\uFF1A","Found that the symbols have the same name\xA0{0} but different shape, one of them have been renamed as {1}. Related devices are :":"\u53D1\u73B0\u5B58\u5728\u540C\u540D\u7B26\u53F7 {0} \u4F46\u56FE\u5F62\u4E0D\u4E00\u81F4\uFF0C\u5176\u4E2D\u4E00\u4E2A\u5DF2\u91CD\u547D\u540D\u4E3A {1}\u3002\u5173\u8054\u7684\u5668\u4EF6\uFF1A","Found some components' layer is top layer but they inside object's layer is bottom layer, already fixed these components layer as bottom layer.":"\u53D1\u73B0\u5143\u4EF6\u5728\u9876\u5C42\u4F46\u5176\u5185\u90E8\u56FE\u5143\u5728\u5E95\u5C42\uFF0C\u5DF2\u7ECF\u4FEE\u6B63\u8FD9\u4E9B\u5143\u4EF6\u7684\u5C42\u4E3A\u5E95\u5C42\u3002","Found some components' layer is bottom layer but\xA0they inside object's layer is top layer, already fixed these components layer as top layer.":"\u53D1\u73B0\u5143\u4EF6\u5728\u5E95\u5C42\u4F46\u5176\u5185\u90E8\u56FE\u5143\u5728\u9876\u5C42\uFF0C\u5DF2\u7ECF\u4FEE\u6B63\u8FD9\u4E9B\u5143\u4EF6\u7684\u5C42\u4E3A\u9876\u5C42\u3002","Found component(s) has empty pin number(s), already completed by pin name.":"\u53D1\u73B0\u5143\u4EF6\u5B58\u5728\u7A7A\u7684\u5F15\u811A\u7F16\u53F7\uFF0C\u5DF2\u7ECF\u81EA\u52A8\u6839\u636E\u5F15\u811A\u540D\u79F0\u8865\u5168\u3002","Found multiple net labels on the same wire, have add short flags to connect automatically.":"\u53D1\u73B0\u591A\u4E2A\u7F51\u7EDC\u6807\u7B7E\u5728\u540C\u4E00\u6761\u5BFC\u7EBF\u4E0A\uFF0C\u5DF2\u81EA\u52A8\u6DFB\u52A0\u77ED\u63A5\u6807\u8BC6\u8FDB\u884C\u8FDE\u63A5\u3002","Found multiple net labels on the same wire, failed to add short flags to connect automatically, please fix the connection manually.":"\u53D1\u73B0\u591A\u4E2A\u7F51\u7EDC\u6807\u7B7E\u5728\u540C\u4E00\u6761\u5BFC\u7EBF\u4E0A\uFF0C\u81EA\u52A8\u6DFB\u52A0\u77ED\u63A5\u6807\u8BC6\u5931\u8D25\uFF0C\u8BF7\u624B\u52A8\u4FEE\u6B63\u5BFC\u7EBF\u8FDE\u63A5\u3002","The imported PCB contains multiple layers rules, and the minimum track width and minimum spacing in each layer will be used as the default rule.":"\u9ED8\u8BA4\u89C4\u5219\u7684\u9ED8\u8BA4\u7EBF\u5BBD\u3001\u6700\u5C0F\u7EBF\u5BBD\u53D6\u5404\u89C4\u5219\u4E2D\u6700\u5C0F\u7684\uFF0C\u9ED8\u8BA4\u89C4\u5219\u7684\u6700\u5927\u7EBF\u5BBD\u53D6\u5404\u89C4\u5219\u4E2D\u6700\u5927\u7684\u3002","The layer {layerName} exists abnormal Polygon\xA0Cutout data, already convert to\xA0Fill Region.":"\u5C42 {layerName} \u5B58\u5728\u5F02\u5E38 Polygon\xA0Cutout \u6570\u636E\uFF0C\u5DF2\u5168\u90E8\u8F6C\u4E3A\u586B\u5145\u533A\u57DF\u3002","It was found that the symbol({symbolTitle}) had an empty or duplicate pin number. It has been automatically repaired or de-duplicated based on the pin name":"\u53D1\u73B0\u7B26\u53F7({symbolTitle}) \u5B58\u5728\u5F15\u811A\u7F16\u53F7\u4E3A\u7A7A\u6216\u91CD\u590D\uFF0C\u5DF2\u6839\u636E\u5F15\u811A\u540D\u79F0\u81EA\u52A8\u4FEE\u590D\u6216\u53BB\u91CD\u3002","Save failed! The imported file is old format version of EasyEDA(Standard), please open and save at latest EasyEDA(Standard), and then try again.":"\u5BFC\u5165\u5931\u8D25\uFF01\u5BFC\u5165\u7684\u6587\u6863\u662F\u5609\u7ACB\u521BEDA(\u6807\u51C6\u7248)\u65E7\u7248\u672C\u7684\u683C\u5F0F\uFF0C\u8BF7\u5148\u5728\u6700\u65B0\u7684\u5609\u7ACB\u521BEDA(\u6807\u51C6\u7248)\u7F16\u8F91\u5668\u6253\u5F00\u5E76\u91CD\u65B0\u4FDD\u5B58\uFF0C\u7136\u540E\u518D\u6B21\u5C1D\u8BD5\u3002","Create Device":"\u521B\u5EFA\u5668\u4EF6","Symbols need to be associated with components before they can be placed on the schematic page by placing components":"\u7B26\u53F7\u9700\u8981\u5173\u8054\u5668\u4EF6\uFF0C\u624D\u80FD\u901A\u8FC7\u653E\u7F6E\u5668\u4EF6\u653E\u7F6E\u5230\u539F\u7406\u56FE\u56FE\u9875\u4E0A","Upload to LCSC ERP":"\u4E0A\u4F20\u7ACB\u521BERP","Order Parts":"\u5143\u4EF6\u4E0B\u5355",'Current BOM upload to LCSC ERP successfully, click "OK" button to access LCSC ERP.':"\u5F53\u524D BOM \u5DF2\u7ECF\u6210\u529F\u4E0A\u4F20\u81F3\u7ACB\u521BERP\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u6253\u5F00\u7ACB\u521BERP\u67E5\u770B\u3002","No components, upload failed!":"\u5143\u4EF6\u4E0D\u5B58\u5728\uFF0C\u4E0A\u4F20\u5931\u8D25\uFF01","Found multiple board outlines, please change the extra board outlines as solt regions or delete them. All board outlines:":"\u81EA\u52A8\u5E03\u7EBF\u5931\u8D25\uFF0C\u53D1\u73B0\u591A\u4E2A\u677F\u6846\uFF0C\u8BF7\u628A\u591A\u4F59\u7684\u677F\u6846\u6539\u4E3A\u6316\u69FD\u533A\u57DF\u6216\u5220\u9664\u3002\u6240\u6709\u677F\u6846\uFF1A","Upload to LCSC ERP failed, please try again later.":"\u4E0A\u4F20\u7ACB\u521BERP\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5\u3002",'Upload to LCSC ERP failed, found some components miss some properties value, please check property "Footprint, Manufacturer Part" value if exist.':"\u4E0A\u4F20\u7ACB\u521BERP\u5931\u8D25\uFF0C\u53D1\u73B0\u6709\u5143\u4EF6\u7F3A\u5931\u5C5E\u6027\u503C\uFF0C\u8BF7\u68C0\u67E5\u5143\u4EF6\u7684\u201C\u5C01\u88C5\uFF0C\u5236\u9020\u5546\u7F16\u53F7\u201D\u5C5E\u6027\u503C\u662F\u5426\u5B58\u5728\u3002",'BOM generated successfully, please click "OK" button to open parts order page.':"BOM\u751F\u6210\u6210\u529F\uFF0C\u8BF7\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6253\u5F00\u5143\u4EF6\u4E0B\u5355\u9875\u9762","BOM upload failed, please try again later.":"BOM\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5\u3002","JLCPCB SMT":"\u5609\u7ACB\u521BSMT","@@placeDevice":{Part:"\u53EF\u8D34",Choose:"\u9009\u7528"},"Footprint:":"\u5C01\u88C5\uFF1A","Brand:":"\u54C1\u724C\uFF1A","Model:":"\u6A21\u578B\uFF1A","LCSC Part Name:":"\u7ACB\u521B\u5143\u4EF6\u540D\uFF1A","Description:":"\u63CF\u8FF0\uFF1A","LCSC Part#:":"\u7F16\u53F7\uFF1A","Product Link":"\u4EA7\u54C1\u94FE\u63A5","No Price":"\u65E0\u4EF7\u683C","LCSC Stock:":"\u5546\u57CE\u5E93\u5B58\uFF1A","JLCPCB Stock:":"\u8D34\u88C5\u5E93\u5B58\uFF1A","Apply Drawing":"\u7533\u8BF7\u7ED8\u5236","Click To Expand":"\u70B9\u51FB\u5C55\u5F00","Clear Filters":"\u6E05\u9664\u7B5B\u9009","Apply Filters":"\u5E94\u7528\u7B5B\u9009","Filter Result:":"\u7B5B\u9009\u7ED3\u679C:","Detail list":"\u8BE6\u60C5\u5217\u8868","Grid list":"\u8868\u683C\u5217\u8868","Waiting for drawing":"\u7B49\u5F85\u7ED8\u5236","Click to view":"\u70B9\u51FB\u67E5\u770B","'s brand information":"\u7684\u54C1\u724C\u4FE1\u606F","Data is empty!":"\u6570\u636E\u4E3A\u7A7A\uFF01","@@simTitle":{"Model:":"\u6A21\u578B\uFF1A"},"All Schematics":"\u5168\u90E8\u539F\u7406\u56FE","Canvas Show Properties":"\u753B\u5E03\u663E\u793A\u5C5E\u6027","@@find-similar":{"Type:":"\u79CD\u7C7B\uFF1A","Range:":"\u8303\u56F4\uFF1A",Any:"\u4E0D\u9650",Condition:"\u6761\u4EF6",Contain:"\u5305\u542B","Not Contain":"\u4E0D\u5305\u542B",Equal:"\u7B49\u4E8E","Not Equal":"\u4E0D\u7B49\u4E8E","Only Key Displayed":"\u4EC5\u663E\u793A\u5C5E\u6027\u540D","Only Value Displayed":"\u4EC5\u663E\u793A\u5C5E\u6027\u503C","Both Displayed":"\u5747\u663E\u793A","Both Not Displayed":"\u5747\u672A\u663E\u793A","Value Displayed":"\u663E\u793A\u5C5E\u6027\u503C","Value Not Displayed":"\u672A\u663E\u793A\u5C5E\u6027\u503C","Component Name/Property":"\u5143\u4EF6\u540D\u79F0/\u5C5E\u6027","Net Name/Property":"\u7F51\u7EDC\u540D\u79F0/\u5C5E\u6027","Pin Name/Property":"\u5F15\u811A\u540D\u79F0/\u5C5E\u6027","Current Selected Object":"\u5F53\u524D\u9009\u4E2D\u5BF9\u8C61"},"Name/Property":"\u540D\u79F0/\u5C5E\u6027","Less than Rule":"\u5C0F\u4E8E\u89C4\u5219","Match the Rule":"\u7B26\u5408\u89C4\u5219","More than Rule":"\u5927\u4E8E\u89C4\u5219","Placement failed, footprint has no content":"\u653E\u7F6E\u5931\u8D25\uFF0C\u5C01\u88C5\u65E0\u5185\u5BB9","Placement failed, symbol has no content":"\u653E\u7F6E\u5931\u8D25\uFF0C\u7B26\u53F7\u65E0\u5185\u5BB9","Placement failed, symbol has no content or it has no content parts":"\u653E\u7F6E\u5931\u8D25\uFF0C\u7B26\u53F7\u65E0\u5185\u5BB9\u6216\u5B58\u5728\u65E0\u5185\u5BB9\u90E8\u4EF6","Placement failed, panel library has no content":"\u653E\u7F6E\u5931\u8D25\uFF0C\u9762\u677F\u5E93\u65E0\u5185\u5BB9","Found incorrect board outline clearance of":"\u53D1\u73B0","Found incorrect via size of":"\u53D1\u73B0","Found incorrect track width of":"\u53D1\u73B0","Incorrect via size!":"\u4E0D\u6B63\u786E\u7684\u8FC7\u5B54\u5C3A\u5BF8\uFF01","Incorrect track width!":"\u4E0D\u6B63\u786E\u7684\u5BFC\u7EBF\u5BBD\u5EA6\uFF01","Incorrect board outline clearance!":"\u4E0D\u6B63\u786E\u7684\u8FB9\u6846\u95F4\u8DDD\uFF01",", it must large than 0 mm, and via outside diameter must large than inside diameter, please modify":"\u5B58\u5728\u4E0D\u6B63\u786E\u7684\u8FC7\u5B54\u5C3A\u5BF8\uFF0C\u5B83\u5FC5\u987B\u5927\u4E8E 0 mm\uFF0C\u5E76\u4E14\u5B54\u5916\u76F4\u5F84\u5FC5\u987B\u5927\u4E8E\u5B54\u5185\u76F4\u5F84\uFF0C\u8BF7\u4FEE\u6539",", it must large than 0 mm, please modify":"\u5B58\u5728\u4E0D\u6B63\u786E\u7684\u8FB9\u6846\u95F4\u8DDD\uFF0C\u5B83\u5FC5\u987B\u5927\u4E8E 0 mm\uFF0C\u8BF7\u4FEE\u6539","@@routing-dlg-track":{", it must large than 0 mm, please modify":"\u5B58\u5728\u4E0D\u6B63\u786E\u7684\u5BFC\u7EBF\u5BBD\u5EA6\uFF0C\u5B83\u5FC5\u987B\u5927\u4E8E 0 mm\uFF0C\u8BF7\u4FEE\u6539"},"Corner Radius":"\u5706\u89D2\u534A\u5F84","Corner Radius Ratio":"\u5706\u89D2\u534A\u5F84\u6BD4","Routing corner":"\u5E03\u7EBF\u62D0\u89D2","Existing tracks/vias":"\u5DF2\u6709\u5BFC\u7EBF/\u8FC7\u5B54","minutes (2~30)":"\u5206\u949F (2~30)","Nets priority":"\u7F51\u7EDC\u4F18\u5148\u7EA7","Routing layer":"\u5E03\u7EBF\u56FE\u5C42",Random:"\u968F\u673A","Custom net name first":"\u81EA\u5B9A\u4E49\u7F51\u7EDC\u540D\u4F18\u5148","Pads from more to less":"\u710A\u76D8\u4ECE\u591A\u5230\u5C11","Pads from less to more":"\u710A\u76D8\u4ECE\u5C11\u5230\u591A","Pads from far to near":"\u710A\u76D8\u4ECE\u8FDC\u5230\u8FD1","Pads from near to far":"\u710A\u76D8\u4ECE\u8FD1\u5230\u8FDC","Effect priority":"\u6548\u679C\u4F18\u5148\u7EA7","Speed first":"\u901F\u5EA6\u4F18\u5148","Completion first":"\u5B8C\u6210\u5EA6\u4F18\u5148","Via quatity":"\u8FC7\u5B54\u6570\u91CF","@@routing-dlg":{Less:"\u5C11",More:"\u591A"},"All Part":"\u6240\u6709\u90E8\u4EF6","Current Part":"\u5F53\u524D\u90E8\u4EF6","Clear cache":"\u6E05\u7406\u7F13\u5B58","Clear Cache":"\u6E05\u7406\u7F13\u5B58","Temporary Files":"\u4E34\u65F6\u6587\u4EF6","Check for updates":"\u68C0\u67E5\u66F4\u65B0","Automatically check for updates":"\u81EA\u52A8\u68C0\u67E5\u66F4\u65B0","View update notes":"\u67E5\u770B\u66F4\u65B0\u8BF4\u660E","Update immediately":"\u7ACB\u5373\u5347\u7EA7","Download Immediately":"\u7ACB\u5373\u4E0B\u8F7D","Download immediately":"\u7ACB\u5373\u4E0B\u8F7D","{0} downloading... {1} %":"{0} \u4E0B\u8F7D\u4E2D... {1} %","Currently the latest version":"\u5F53\u524D\u5DF2\u662F\u6700\u65B0\u7248\u672C","EasyEDA Pro {0} is ready, do you want to upgrade it immediately?":"\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248 {0} \u5DF2\u51C6\u5907\u5C31\u7EEA\uFF0C\u662F\u5426\u7ACB\u5373\u5347\u7EA7\uFF1F","There is a new version {0} released, do you want to download it immediately?":"\u5B58\u5728\u65B0\u7248\u672C {0} \uFF0C\u662F\u5426\u7ACB\u5373\u4E0B\u8F7D\u5B89\u88C5\u5305?","JLCEDA Pro {0} is ready,whether to update now":"\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248 {0} \u5DF2\u51C6\u5907\u5C31\u7EEA,\u662F\u5426\u7ACB\u5373\u5347\u7EA7","EasyEDA Pro {0} is ready,whether to update now":"EasyEDA\u4E13\u4E1A\u7248 {0} \u5DF2\u51C6\u5907\u5C31\u7EEA,\u662F\u5426\u7ACB\u5373\u5347\u7EA7","Update immediately will automatically save the document and close the client":"\u7ACB\u5373\u5347\u7EA7\u5C06\u81EA\u52A8\u4FDD\u5B58\u6587\u6863\u5E76\u5173\u95ED\u5BA2\u6237\u7AEF","Do you confirm that you want to interrupt the upgrade operation?":"\u60A8\u786E\u8BA4\u8981\u4E2D\u65AD\u5347\u7EA7\u64CD\u4F5C\u5417\uFF1F","Updating {0}":"\u5347\u7EA7\u4E2D {0}","Client version":"\u5BA2\u6237\u7AEF\u7248\u672C","Cache used":"\u7F13\u5B58\u5DF2\u5360\u7528","Ignore net":"\u5FFD\u7565\u7F51\u7EDC","No connect flag only can be placed on unconnected pin dot.":"\u975E\u8FDE\u63A5\u6807\u5FD7\u53EA\u80FD\u653E\u7F6E\u5728\u672A\u8FDE\u63A5\u7684\u5F15\u811A\u7AEF\u70B9\u4E0A\u3002","You are trying to delete the association relationship with the following devices (the device will not be deleted), this operation cannot be restored, please operate with caution!":"\u4F60\u5728\u5C1D\u8BD5\u5220\u9664\u4E0E\u4EE5\u4E0B\u5668\u4EF6\u7684\u5173\u8054\u5173\u7CFB(\u4E0D\u4F1A\u5220\u9664\u5668\u4EF6)\uFF0C\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u6062\u590D\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01",Statistics:"\u7EDF\u8BA1","Data reading failed:":"\u6570\u636E\u8BFB\u53D6\u5931\u8D25\uFF1A","Get the list of the symbol dialog failed:":"\u9009\u62E9\u7B26\u53F7\u5F39\u7A97\u5217\u8868\u83B7\u53D6\u5931\u8D25\uFF1A","Get the tags of the symbol dialog failed:":"\u7B26\u53F7\u5F39\u7A97\u6807\u7B7E\u83B7\u53D6\u5931\u8D25\uFF1A","Get the details of the symbol dialog failed:":"\u9009\u62E9\u7B26\u53F7\u5F39\u7A97\u8BE6\u60C5\u83B7\u53D6\u5931\u8D25\uFF1A","@@3d-view-layers":{"Top Solder Mask Layer":"\u9876\u5C42\u963B\u710A","Top Side":"\u9876\u5C42","Bottom Side":"\u5E95\u5C42","Top Layer":"\u9876\u5C42","Bottom Layer":"\u5E95\u5C42","Bottom Solder Mask Layer":"\u5E95\u5C42\u963B\u710A","Top Silkscreen Layer":"\u9876\u5C42\u4E1D\u5370\u5C42","Board Outline Layer":"\u677F\u6846\u5C42","Multi-Layer":"\u591A\u5C42","Component Shape Layer":"\u5143\u4EF6\u5916\u5F62\u5C42","Component Marking Layer":"\u5143\u4EF6\u6807\u8BC6\u5C42","Pin Soldering Layer":"\u5F15\u811A\u710A\u63A5\u5C42","3D Model":"3D\u6A21\u578B","3D Shell":"3D\u5916\u58F3",Other:"\u5176\u5B83"},"Top Side":"\u9876\u9762","Right Side":"\u53F3\u9762","Left Side":"\u5DE6\u9762","Front Side":"\u524D\u9762","Ahead Side":"\u6B63\u9762","Bottom Side":"\u5E95\u9762","Back Side":"\u540E\u9762","Inner Side":"\u5185\u5C42",Inner:"\u5185\u5C42","With Silk Layer":"\u6709\u4E1D\u5370\u5C42","No Silk Layer":"\u65E0\u4E1D\u5370\u5C42","Top Layer":"\u9876\u5C42","Bottom Layer":"\u5E95\u5C42","Top Silkscreen Layer":"\u9876\u5C42\u4E1D\u5370\u5C42","Bottom Silkscreen Layer":"\u5E95\u5C42\u4E1D\u5370\u5C42","Top Paste Mask Layer":"\u9876\u5C42\u9521\u818F\u5C42","Bottom Paste Mask Layer":"\u5E95\u5C42\u9521\u818F\u5C42","Top Solder Mask Layer":"\u9876\u5C42\u963B\u710A\u5C42","Bottom Solder Mask Layer":"\u5E95\u5C42\u963B\u710A\u5C42","Top Assembly Layer":"\u9876\u5C42\u88C5\u914D\u5C42","Bottom Assembly Layer":"\u5E95\u5C42\u88C5\u914D\u5C42","Top Stiffener Layer":"\u9876\u5C42\u8865\u5F3A\u5C42","Bottom Stiffener Layer":"\u5E95\u5C42\u8865\u5F3A\u5C42","Document Layer":"\u6587\u6863\u5C42","Mechanical Layer":"\u673A\u68B0\u5C42","Hole Layer":"\u5B54\u5C42","Component Shape Layer":"\u5143\u4EF6\u5916\u5F62\u5C42","Component Polarity Layer":"\u5143\u4EF6\u6781\u6027\u5C42","Component Marking Layer":"\u5143\u4EF6\u6807\u8BC6\u5C42","Pin Soldering Layer":"\u5F15\u811A\u710A\u63A5\u5C42","Pin Floating Layer":"\u5F15\u811A\u60AC\u7A7A\u5C42","Component Model Layer":"\u5143\u4EF6\u6A21\u578B\u5C42","Component Model":"\u5143\u4EF6\u6A21\u578B","3D Shell Layer":"3D\u5916\u58F3\u5C42","3D Shell Outline Layer":"3D\u5916\u58F3\u8FB9\u6846\u5C42","Outline Layer":"\u8FB9\u6846\u5C42","3D Shell Top Layer":"3D\u5916\u58F3\u9876\u5C42","3D Shell Bottom Layer":"3D\u5916\u58F3\u5E95\u5C42","Multi Layer":"\u591A\u5C42",TopAssembly:"\u9876\u5C42\u88C5\u914D\u5C42",BottomAssembly:"\u5E95\u5C42\u88C5\u914D\u5C42",Assembly:"\u88C5\u914D",Mechanical:"\u673A\u68B0\u5C42","Inner{number}":"\u5185\u5C42{number}","Inner{0}":"\u5185\u5C42{0}","Multi-Layer":"\u591A\u5C42","Silk Layer":"\u4E1D\u5370\u5C42","SolderMask Layer":"\u963B\u710A\u5C42","PasteMask Layer":"\u9521\u818F\u5C42","Drill Drawing Layer":"\u94BB\u5B54\u56FE\u5C42",BottomSilkLayer:"\u5E95\u5C42\u4E1D\u5370",BoardOutLine:"\u8FB9\u6846","Top Assembly View":"\u9876\u5C42\u88C5\u914D\u5C42\u89C6\u56FE","Bottom Assembly View":"\u5E95\u5C42\u88C5\u914D\u5C42\u89C6\u56FE",DocumentLayer:"\u6587\u6863\u5C42","Substrate{number}":"\u57FA\u677F{number}","Custom{number}":"\u7528\u6237\u81EA\u5B9A\u4E49\u5C42{number}",CustomLayer:"\u7528\u6237\u81EA\u5B9A\u4E49\u5C42","Custom Layer":"\u81EA\u5B9A\u4E49\u5C42",Copper:"\u94DC\u7B94\u5C42","Non-Copper":"\u975E\u94DC\u5C42","@@pcb-layers":{All:"\u6240\u6709\u5C42",Ratline:"\u98DE\u7EBF\u5C42","Ratline Layer":"\u98DE\u7EBF\u5C42","Dielectric{number}":"\u4ECB\u7535{number}",Copper:"\u94DC\u7B94"},"@@system-dialog":{General:"\u5E38\u89C4"},"Ratline Layer":"\u98DE\u7EBF\u5C42","The Part Name is not allowed to be empty.":"\u90E8\u4EF6\u540D\u4E0D\u80FD\u4E3A\u7A7A\u3002","The Pin Name is not allowed to be empty.":"\u5F15\u811A\u540D\u4E0D\u80FD\u4E3A\u7A7A\u3002","The Pin Number is not allowed to be empty.":"\u5F15\u811A\u7F16\u53F7\u4E0D\u80FD\u4E3A\u7A7A\u3002","The Pin Name are not allowed to repeat in the same part":"\u540C\u4E00\u90E8\u4EF6\u4E0A\u7684\u5F15\u811A\u540D\u4E0D\u80FD\u91CD\u590D","The Pin Number are not allowed to repeat in same Part":"\u540C\u4E00\u90E8\u4EF6\u4E0A\u7684\u5F15\u811A\u7F16\u53F7\u4E0D\u80FD\u91CD\u590D","The part, side and order of the pins cannot be completely repeated":"\u6B64\u90E8\u4EF6\u4E0A\uFF0C\u5F15\u811A\u7684\u65B9\u5411\u4E0E\u5E8F\u53F7\u4E0D\u80FD\u91CD\u53E0","The side and order of the pins cannot be completely repeated":"\u5F15\u811A\u7684\u65B9\u5411\u4E0E\u5E8F\u53F7\u4E0D\u80FD\u91CD\u53E0","Components placement for per page":"\u6BCF\u9875\u5143\u4EF6\u653E\u7F6E\u6570\u91CF","View More":"\u67E5\u770B\u66F4\u591A","Pin overlap:":"\u5F15\u811A\u91CD\u53E0\uFF1A","Export production files":"\u5BFC\u51FA\u751F\u4EA7\u6587\u4EF6","@@basic-library":{"Each row":"\u6BCF\u884C",items:"\u4E2A",Personal:"\u4E2A\u4EBA"},"Didn't find the imprtable files":"\u672A\u627E\u5230\u53EF\u5BFC\u5165\u7684\u6587\u4EF6","Get banner info failed":"\u83B7\u53D6\u6A2A\u5E45\u4FE1\u606F\u5931\u8D25","Get server info failed":"\u83B7\u53D6\u670D\u52A1\u4FE1\u606F\u5931\u8D25","Get advertising info failed":"\u83B7\u53D6\u5E7F\u544A\u4F4D\u4FE1\u606F\u5931\u8D25","Save config successfully":"\u914D\u7F6E\u4FDD\u5B58\u6210\u529F","The same name net pair exist":"\u5B58\u5728\u540D\u79F0\u76F8\u540C\u7684\u7F51\u7EDC\u5BF9","Empty name net pair exist":"\u5B58\u5728\u540D\u79F0\u4E3A\u7A7A\u7684\u7F51\u7EDC\u5BF9\u8C61","Duplicate net pairs exist":"\u5B58\u5728\u91CD\u590D\u7684\u7F51\u7EDC\u5BF9\u8C61","The duplicate layer group exist at blind/buried via rule list":"\u76F2\u57CB\u5B54\u89C4\u5219\u5217\u8868\u4E2D\u5B58\u5728\u91CD\u590D\u7684\u5C42\u7EC4\u5408","Placing failed, create the block symbol failed":"\u653E\u7F6E\u5931\u8D25\uFF0C\u65B0\u5EFA\u590D\u7528\u6A21\u5757\u7B26\u53F7\u5931\u8D25","Component Property-Name":"\u5143\u4EF6\u5C5E\u6027-\u540D\u79F0","Component Property-Designator":"\u5143\u4EF6\u5C5E\u6027-\u4F4D\u53F7","Component Property-Device":"\u5143\u4EF6\u5C5E\u6027-\u5668\u4EF6","Component Property-Footprint":"\u5143\u4EF6\u5C5E\u6027-\u5C01\u88C5","Component Property-Value":"\u5143\u4EF6\u5C5E\u6027-\u503C","All Component Property":"\u6240\u6709\u5143\u4EF6\u5C5E\u6027","Wire Property-Name":"\u5BFC\u7EBF\u5C5E\u6027-\u540D\u79F0","Bus Property-Name":"\u603B\u7EBF\u5C5E\u6027-\u540D\u79F0","Add common library failed! The devices limitation is 200":"\u6DFB\u52A0\u5E38\u7528\u5E93\u5931\u8D25\uFF01\u5668\u4EF6\u6570\u91CF\u4E0A\u9650\u4E3A200","Current\xA0page\xA0components\xA0number\xA0reach\xA0setting\xA0value {value},\xA0suggest\xA0creating\xA0a new\xA0page\xA0to\xA0design":"\u5F53\u524D\u56FE\u9875\u5143\u4EF6\u6570\u5DF2\u5230\u8FBE\u8BBE\u5B9A\u7684 {value}\uFF0C\u5EFA\u8BAE\u65B0\u5EFA\u56FE\u9875\u518D\u7ED8\u5236","Classification cannot be renamed":"\u5206\u7C7B\u4E0D\u53EF\u4EE5\u91CD\u540D","Classification cannot be null":"\u5206\u7C7B\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A","Some objects aren't allowed to be replaced in the list! Others are replaced successfully!":"\u4E00\u4E9B\u5BF9\u8C61\u4E0D\u5141\u8BB8\u88AB\u66FF\u6362\uFF01\u5176\u4F59\u5BF9\u8C61\u5DF2\u66FF\u6362\u6210\u529F\uFF01","Tip: Only supports real-time updates of 3D shell and component models":"\u63D0\u793A\uFF1A\u4EC5\u652F\u63013D\u5916\u58F3\u548C\u5143\u4EF6\u6A21\u578B\u7684\u5B9E\u65F6\u66F4\u65B0","No permission or project does not exist":"\u6CA1\u6709\u6743\u9650\u6216\u5DE5\u7A0B\u4E0D\u5B58\u5728","Not logged in yet, please log in and try again":"\u5C1A\u672A\u767B\u5F55\uFF0C\u8BF7\u767B\u5F55\u540E\u518D\u8BD5",'The desktop client full online mode doesn\'t support to open "eprj" and "eprj2" project file, please open it at half-offline mode or full offline mode.':"\u5BA2\u6237\u7AEF\u5168\u5728\u7EBF\u6A21\u5F0F\u4E0D\u652F\u6301\u6253\u5F00 eprj \u548C eprj2 \u5DE5\u7A0B\u6587\u4EF6\uFF0C\u8BF7\u5728\u534A\u79BB\u7EBF\u6A21\u5F0F\u6216\u5168\u79BB\u7EBF\u6A21\u5F0F\u6253\u5F00\u3002","Change Mode":"\u5207\u6362\u6A21\u5F0F","Adjust Array Spacing By Cursor":"\u9F20\u6807\u8C03\u6574\u9635\u5217\u95F4\u8DDD","Import finished, suggest to use auto layout to finish layout":"\u5BFC\u5165\u5B8C\u6210\uFF0C\u63A8\u8350\u4F7F\u7528\u81EA\u52A8\u5E03\u5C40\u5B8C\u6210\u5E03\u5C40","Failed to upload data!":"\u4E0A\u4F20\u6570\u636E\u5931\u8D25!","Import finished":"\u5BFC\u5165\u5B8C\u6210","Tip: After the spoke width is set to 0, the connection will be automatically generated according to the size of the pad":"\u63D0\u793A\uFF1A\u53D1\u6563\u7EBF\u5BBD\u8BBE\u7F6E\u4E3A0\u540E\uFF0C\u4F1A\u6839\u636E\u710A\u76D8\u5C3A\u5BF8\u81EA\u52A8\u751F\u6210\u8FDE\u63A5","Auto Change Layer While Routing Vias":"\u5E03\u7EBF\u6253\u5B54\u65F6\u81EA\u52A8\u5207\u5C42","Automatic fan-out at the start/end of routing":"\u5E03\u7EBF\u5F00\u59CB/\u7ED3\u675F\u65F6\u81EA\u52A8\u6247\u51FA","Double-Click The Mouse To Place Vias When Routing":"\u5E03\u7EBF\u65F6\u53CC\u51FB\u9F20\u6807\u653E\u7F6E\u8FC7\u5B54","Finish Design Rule Checking.Fatal Error: {1}, Error: {2}, Waring: {3}, Info: {4}.":"\u5B8C\u6210\u8BBE\u8BA1\u89C4\u5219\u68C0\u67E5\u3002\u81F4\u547D\u9519\u8BEF\uFF1A{1}\uFF0C\u9519\u8BEF\uFF1A{2}\uFF0C\u8B66\u544A\uFF1A{3}\uFF0C\u4FE1\u606F\uFF1A{4}\u3002","Generate {0} fabrication file successfully! Error: {1}, Warning: {2}, Info: {3}.":"\u751F\u6210 {0} \u751F\u4EA7\u6587\u4EF6\u6210\u529F\u3002\u9519\u8BEF\uFF1A{1}\uFF0C\u8B66\u544A\uFF1A{2}\uFF0C\u4FE1\u606F\uFF1A{3}\u3002","Generate {0} fabrication file failed! Fatal Error: {1}, Error: {2}, Warning: {3}, Info: {4}.":"\u751F\u6210 {0} \u751F\u4EA7\u6587\u4EF6\u5931\u8D25\u3002\u81F4\u547D\u9519\u8BEF\uFF1A{1}\uFF0C\u9519\u8BEF\uFF1A{2}\uFF0C\u8B66\u544A\uFF1A{3}\uFF0C\u4FE1\u606F\uFF1A{4}\u3002","Objects in the board outline layer should be drawn within the material boarder box. To adjust:":"\u677F\u6846\u5C42\u5BF9\u8C61\u5E94\u4FDD\u6301\u7ED8\u5236\u5728\u6750\u6599\u8FB9\u754C\u6846\u5185\uFF0C\u53BB\u8C03\u6574\uFF1A","No Board Outline Layer, that used to define the shape of the panel.":"\u6CA1\u6709\u677F\u6846\u5C42\uFF0C\u7528\u4E8E\u5B9A\u4E49\u9762\u677F\u7684\u5916\u5F62\u3002","Draw it":"\u53BB\u7ED8\u5236","No Print Layer, that used to define the need to display the contents of the panel.":"\u6CA1\u6709\u6253\u5370\u5C42\uFF0C\u7528\u4E8E\u5B9A\u4E49\u9762\u677F\u4E0A\u9700\u8981\u663E\u793A\u7684\u5185\u5BB9\u3002","No Slot Hole Layer, that used to define the need hollow out part of the panel.":"\u6CA1\u6709\u6316\u5B54\u5C42\uFF0C\u7528\u4E8E\u5B9A\u4E49\u9762\u677F\u4E2D\u9700\u8981\u6316\u7A7A\u7684\u90E8\u5206\u3002","No Opacity Control Layer, that used to define needs transparent area of the panel.":"\u6CA1\u6709\u900F\u660E\u63A7\u5236\u5C42\uFF0C\u7528\u4E8E\u5B9A\u4E49\u9762\u677F\u4E0A\u9700\u8981\u900F\u660E\u7684\u533A\u57DF\u3002","No Glue Cutout Layer, that used to define the area within the board layer that does not need to be glued except for the board hole.":"\u6CA1\u6709\u80CC\u80F6\u6316\u7A7A\uFF0C\u7528\u4E8E\u5B9A\u4E49\u9762\u677F\u4E0A\u677F\u6846\u5C42\u5185\u9664\u677F\u6846\u6316\u7A7A\u5916\uFF0C\u4E0D\u9700\u8981\u8D34\u80F6\u7684\u533A\u57DF\u3002","No Lighting Simulation Layer, that used for simulating panel lights.":"\u6CA1\u6709\u706F\u5149\u4EFF\u771F\u5C42\uFF0C\u7528\u4E8E\u6A21\u62DF\u9762\u677F\u4E0B\u7684\u706F\u5149\u3002","Objects that only in assist drawing layer or board outline layer are allowed to exist independently outside the board outline. If you need a note, please fill it in on the order page. Please check:":"\u4EC5\u8F85\u52A9\u7ED8\u5236\u5C42\u6216\u677F\u6846\u5C42\u7684\u5BF9\u8C61\u5141\u8BB8\u72EC\u7ACB\u5B58\u5728\u4E8E\u677F\u6846\u5916\uFF0C\u5982\u9700\u5907\u6CE8\u8BF7\u5728\u4E0B\u5355\u9875\u9762\u586B\u5199\u3002\u8BF7\u68C0\u67E5\uFF1A","To avoid the overall cutting offset caused by inaccurate positioning, do not draw objects within the four vertex rectangles of the material bounding box:":"\u4E3A\u907F\u514D\u5B9A\u4F4D\u4E0D\u51C6\u5BFC\u81F4\u6574\u4F53\u5207\u5272\u504F\u79FB\uFF0C\u8BF7\u52FF\u5728\u6750\u6599\u8FB9\u754C\u6846\u56DB\u4E2A\u9876\u89D2\u77E9\u5F62\u5185\u7ED8\u5236\u5BF9\u8C61\uFF1A","A certain distance should be maintained between the board outline layer objects, and the recommended minimum spacing is 2mm. To adjust:":"\u677F\u6846\u5C42\u5BF9\u8C61\u4E4B\u95F4\u5E94\u4FDD\u6301\u4E00\u5B9A\u8DDD\u79BB\uFF0C\u5EFA\u8BAE\u6700\u5C0F\u95F4\u8DDD\u4E3A2mm\u3002\u53BB\u8C03\u6574\uFF1A",And:"\u4E0E","Project Link":"\u5DE5\u7A0B\u94FE\u63A5","File Name:":"\u6587\u4EF6\u540D\u79F0:","Common Settings":"\u5E38\u7528\u8BBE\u7F6E","Start Track Width for New Document":"\u65B0\u5EFA\u6587\u6863\u8D77\u59CB\u5E03\u7EBF\u5BBD\u5EA6","Start Via Size for New Document":"\u65B0\u5EFA\u6587\u6863\u8D77\u59CB\u6253\u5B54\u5C3A\u5BF8","Start Track Width":"\u8D77\u59CB\u5E03\u7EBF\u5BBD\u5EA6","Stretch Track Min Corner":"\u62C9\u4F38\u5BFC\u7EBF\u6700\u5C0F\u62D0\u89D2","@@StretchTrackMinCorner":{Width:"\u7EBF\u5BBD"},"Start Via Size":"\u8D77\u59CB\u6253\u5B54\u5C3A\u5BF8","Rotation Objects":"\u65CB\u8F6C\u5BF9\u8C61","Rotate Single Object":"\u5BF9\u5355\u5BF9\u8C61\u65CB\u8F6C","Rotate the Selected Whole":"\u5BF9\u9009\u4E2D\u6574\u4F53\u65CB\u8F6C","Move Footprint The Wire Follows":"\u79FB\u52A8\u5C01\u88C5\u5BFC\u7EBF\u8DDF\u968F","Top Side Board Color":"\u9876\u9762\u677F\u5B50\u989C\u8272","Top Side Silkscreen Color":"\u9876\u9762\u4E1D\u5370\u989C\u8272","Bottom Side Board Color":"\u5E95\u9762\u677F\u5B50\u989C\u8272","Bottom Side Silkscreen Color":"\u5E95\u9762\u4E1D\u5370\u989C\u8272","Colorful Silkscreen Settings":"\u5F69\u8272\u4E1D\u5370\u8BBE\u7F6E","Follow Last Settings":"\u8DDF\u968F\u4E0A\u6B21\u8BBE\u7F6E","Symbols and footprint are only used to record graphics and attribute positions. Attribute values should be maintained in the device. You can associate and create new devices in the devices tab.":"\u7B26\u53F7/\u5C01\u88C5\u53EA\u7528\u4E8E\u8BB0\u5F55\u56FE\u5F62\u548C\u5C5E\u6027\u4F4D\u7F6E\uFF0C\u5C5E\u6027\u503C\u8BF7\u5728\u5668\u4EF6\u4E2D\u7EF4\u62A4\u3002","Binding Device":"\u5173\u8054\u5668\u4EF6","Select the associated device":"\u8BF7\u9009\u62E9\u5173\u8054\u7684\u5668\u4EF6",'The panel order data has been generated, please click the "OK" button to continue':"\u9762\u677F\u4E0B\u5355\u6570\u636E\u5DF2\u7ECF\u751F\u6210\u5B8C\u6BD5\uFF0C\u8BF7\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u7EE7\u7EED","Origin Project not Opened!":"\u6E90\u5DE5\u7A0B\u672A\u6253\u5F00!","Target Project not Opened!":"\u76EE\u6807\u5DE5\u7A0B\u672A\u6253\u5F00!","Revert to Footprint Template":"\u8FD8\u539F\u4E3A\u5C01\u88C5\u6A21\u677F","Revert to Template":"\u8FD8\u539F\u6A21\u677F","Complete Setting>":"\u5B8C\u6574\u8BBE\u7F6E>","Layer Bar":"\u56FE\u5C42\u680F","Board {value} duplicate name":"\u677F\u5B50 {value} \u91CD\u540D","Schematic {value} duplicate name":"\u539F\u7406\u56FE {value} \u91CD\u540D","Sheet {value} duplicate name":"\u539F\u7406\u56FE\u56FE\u9875 {value} \u91CD\u540D","Simulation {value} duplicate name":"\u4EFF\u771F\u9875 {value} \u91CD\u540D","Pcb {value} duplicate name":"PCB {value} \u91CD\u540D","Panel {value} duplicate name":"\u9762\u677F {value} \u91CD\u540D","Symbol {value} duplicate name":"\u7B26\u53F7 {value} \u91CD\u540D","Block Symbol {value} duplicate name":"\u590D\u7528\u6A21\u5757 {value} \u91CD\u540D","Footprint {value} duplicate name":"\u5C01\u88C5 {value} \u91CD\u540D","Device {value} duplicate name":"\u5668\u4EF6 {value} \u91CD\u540D","Panel Lib {value} duplicate name":"\u9762\u677F\u5E93 {value} \u91CD\u540D","Invalid color value":"\u4E0D\u5408\u6CD5\u989C\u8272\u503C","<System Assignment>":"<\u7CFB\u7EDF\u8D4B\u503C>","invalid value":"\u4E0D\u5408\u6CD5\u7684\u503C","The current net\xA0is connected to the netflag\xA0({name}), continuing to modify will modify the Global Net Name of the netflag,do you want to continue?":"\u5F53\u524D\u7F51\u7EDC\u8FDE\u63A5\u4E86\u7F51\u7EDC\u6807\u8BC6({name})\uFF0C\u7EE7\u7EED\u4FEE\u6539\u5C06\u8054\u52A8\u4FEE\u6539\u7F51\u7EDC\u6807\u8BC6\u7684\u5168\u5C40\u7F51\u7EDC\u540D\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","@@topMenu":{Order:"\u4E0B\u5355",All:"\u5168\u90E8","All{num}":"\u5168\u90E8{num}","File{num}":"\u6587\u4EF6{num}","Edit{num}":"\u7F16\u8F91{num}","View{num}":"\u89C6\u56FE{num}","Place{num}":"\u653E\u7F6E{num}","Design{num}":"\u8BBE\u8BA1{num}","Route{num}":"\u5E03\u7EBF{num}","Layout{num}":"\u5E03\u5C40{num}","Tools{num}":"\u5DE5\u5177{num}","Export{num}":"\u5BFC\u51FA{num}","Order{num}":"\u4E0B\u5355{num}","Settings{num}":"\u8BBE\u7F6E{num}","Help{num}":"\u5E2E\u52A9{num}","Other{num}":"\u5176\u4ED6{num}"},"@@System-setting":{Simplify:"\u7CBE\u7B80",Complete:"\u5B8C\u6574","New Library Popup":"\u65B0\u5EFA\u5E93\u5F39\u7A97","Simplify Setting>":"\u7CBE\u7B80\u8BBE\u7F6E>","Simplify Setting":"\u7CBE\u7B80\u8BBE\u7F6E"},"@@SystemConfig":{Intersection:"\u4EA4\u70B9"},"Project Design":"\u5DE5\u7A0B\u8BBE\u8BA1","Lib Design":"\u5E93\u8BBE\u8BA1","EasyEDA Pro":"\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248","EasyEDA Std":"\u5609\u7ACB\u521BEDA\u6807\u51C6\u7248","is ready, do you want to upgrade it immediately?":"\u5DF2\u51C6\u5907\u5C31\u7EEA\uFF0C\u662F\u5426\u7ACB\u5373\u5347\u7EA7\uFF1F","Update immediately will save the document and reload the editor\xA0automatically.":"\u7ACB\u5373\u5347\u7EA7\u5C06\u81EA\u52A8\u4FDD\u5B58\u6587\u6863\u5E76\u91CD\u65B0\u52A0\u8F7D\u7F16\u8F91\u5668","Update Notice":"\u66F4\u65B0\u8BF4\u660E","Latest Version":"\u6700\u65B0\u7248\u672C","Upgrade Immediately":"\u7ACB\u5373\u5347\u7EA7","View Update Notice":"\u67E5\u770B\u66F4\u65B0\u8BF4\u660E","It takes a long time to open multiple pages,continue will perform a save all at once,exceeding the limit will close the old tab to open the new tab, Are you ready?":"\u6253\u5F00\u591A\u9875\u9700\u8981\u8F83\u957F\u65F6\u95F4\uFF0C\u7EE7\u7EED\u5C06\u4F1A\u6267\u884C\u4E00\u6B21\u4FDD\u5B58\u5168\u90E8\uFF0C\u8D85\u8FC7\u6570\u91CF\u9650\u5236\u5C06\u4F1A\u5173\u95ED\u65E7\u9875\u7B7E\u4EE5\u6253\u5F00\u65B0\u9875\u7B7E\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","Convert abnormalities, wrong code:":"\u8F6C\u6362\u5F02\u5E38\uFF0C\u9519\u8BEF\u7801\uFF1A","There is a schematic with the same name as the block symbol in the project. Do you want to modify the schematic name ?":"\u5DE5\u7A0B\u5185\u5B58\u5728\u4E0E\u8BE5\u590D\u7528\u6A21\u5757\u7B26\u53F7\u540C\u540D\u7684\u539F\u7406\u56FE\uFF0C\u662F\u5426\u540C\u6B65\u4FEE\u6539\u539F\u7406\u56FE\u540D\u79F0\uFF1F","Note: Schematic and reusable block symbols are associated by name.":"\u6CE8\u610F\uFF1A\u539F\u7406\u56FE\u4E0E\u590D\u7528\u6A21\u5757\u7B26\u53F7\u6839\u636E\u540D\u79F0\u8FDB\u884C\u5173\u8054\u3002","Note: Schematic and reusable block symbols PCB are associated by name.":"\u6CE8\u610F\uFF1A\u539F\u7406\u56FE\u3001\u590D\u7528\u6A21\u5757\u7B26\u53F7\u3001PCB\u6839\u636E\u540D\u79F0\u8FDB\u884C\u5173\u8054","There is a reusable block symbol with the same name as the schematic in the project. Do you want to modify the name of the reusable block symbol ?":"\u5DE5\u7A0B\u5185\u5B58\u5728\u4E0E\u8BE5\u539F\u7406\u56FE\u540C\u540D\u7684\u590D\u7528\u6A21\u5757\u7B26\u53F7\uFF0C\u662F\u5426\u540C\u6B65\u4FEE\u6539\u590D\u7528\u6A21\u5757\u7B26\u53F7\u540D\u79F0\uFF1F","There is a reusable block symbol/PCB with the same name as the schematic in the project. Do you want to modify the name of the reusable block symbol/PCB?":"\u5DE5\u7A0B\u5185\u5B58\u5728\u4E0E\u8BE5\u539F\u7406\u56FE\u540C\u540D\u7684\u590D\u7528\u6A21\u5757\u7B26\u53F7/PCB\uFF0C\u662F\u5426\u540C\u6B65\u4FEE\u6539\u590D\u7528\u6A21\u5757\u7B26\u53F7/PCB\u540D\u79F0\uFF1F","There is a schematic/reusable block symbol with the same name as the PCB in the project. Do you want to modify the name of the schematic/reusable block symbol?":"\u5DE5\u7A0B\u5185\u5B58\u5728\u4E0E\u8BE5PCB\u540C\u540D\u7684\u539F\u7406\u56FE/\u590D\u7528\u6A21\u5757\u7B26\u53F7\uFF0C\u662F\u5426\u540C\u6B65\u4FEE\u6539\u539F\u7406\u56FE/\u590D\u7528\u6A21\u5757\u7B26\u53F7\u540D\u79F0\uFF1F","There is a schematic/PCB with the same name as the reusable block symbol in the project. Do you want to modify the name of the schematic/PCB ?":"\u5DE5\u7A0B\u5185\u5B58\u5728\u4E0E\u8BE5\u590D\u7528\u6A21\u5757\u7B26\u53F7\u540C\u540D\u7684\u539F\u7406\u56FE/PCB\uFF0C\u662F\u5426\u540C\u6B65\u4FEE\u6539\u539F\u7406\u56FE/PCB\u540D\u79F0\uFF1F","The modified value is not within the DRC requirements":"\u4FEE\u6539\u7684\u503C\u4E0D\u5728DRC\u8981\u6C42\u8303\u56F4","New pad pair group":"\u65B0\u5EFA\u710A\u76D8\u5BF9\u7EC4","Remove from Pad Pair Group":"\u4ECE\u710A\u76D8\u5BF9\u7EC4\u4E2D\u79FB\u9664","Sure to delete pads pair?":"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E00\u710A\u76D8\u5BF9\u4E48\uFF1F","Sure to delete pads pair group?":"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E00\u710A\u76D8\u5BF9\u7EC4\u4E48\uFF1F","Select a pad":"\u9009\u62E9\u710A\u76D8","Pad Pair Group Manager":"\u710A\u76D8\u5BF9\u7EC4\u7BA1\u7406\u5668","Pads Pair Group":"\u710A\u76D8\u5BF9\u7EC4","Pad(s): {0} has been lost.":"\u710A\u76D8: {0} \u5DF2\u4E22\u5931","Teardrop(s): {0} has been lost.":"\u6CEA\u6EF4: {0} \u5DF2\u4E22\u5931","File Menu":"\u6587\u4EF6\u83DC\u5355","Edit Menu":"\u7F16\u8F91\u83DC\u5355","View Menu":"\u89C6\u56FE\u83DC\u5355","Place Menu":"\u653E\u7F6E\u83DC\u5355","Design Menu":"\u8BBE\u8BA1\u83DC\u5355","Route Menu":"\u5E03\u7EBF\u83DC\u5355","Layout Menu":"\u5E03\u5C40\u83DC\u5355","Tools Menu":"\u5DE5\u5177\u83DC\u5355","Export Menu":"\u5BFC\u51FA\u83DC\u5355","Order Menu":"\u4E0B\u5355\u83DC\u5355","Settings Menu":"\u8BBE\u7F6E\u83DC\u5355","Help Menu":"\u5E2E\u52A9\u83DC\u5355","Advanced Menu":"\u9AD8\u7EA7\u83DC\u5355","New Net Flag":"\u65B0\u5EFA\u7F51\u7EDC\u6807\u8BC6","New Net Port":"\u65B0\u5EFA\u7F51\u7EDC\u7AEF\u53E3","New Drawing":"\u65B0\u5EFA\u56FE\u7EB8","New Non-Electronic":"\u65B0\u5EFA\u65E0\u7535\u6C14\u7B26\u53F7","Project Save as":"\u5DE5\u7A0B\u53E6\u5B58\u4E3A","Project Save as(Local)":"\u5DE5\u7A0B\u53E6\u5B58\u4E3A(\u672C\u5730)","Document Save as":"\u6587\u6863\u53E6\u5B58\u4E3A","Document Save as(Local)":"\u6587\u6863\u53E6\u5B58\u4E3A(\u672C\u5730)","Import SVG":"\u5BFC\u5165SVG","Import Image":"\u5BFC\u5165\u56FE\u7247","Import JLCEDA(Standard)":"\u5BFC\u5165\u5609\u7ACB\u521BEDA(\u6807\u51C6\u7248)","Import JLCEDA(Professional)":"\u5BFC\u5165\u5609\u7ACB\u521BEDA(\u4E13\u4E1A\u7248)","Import Altium Designer":"\u5BFC\u5165Altium Designer","Import EAGLE":"\u5BFC\u5165EAGLE","Import PADS":"\u5BFC\u5165PADS","Import Protel":"\u5BFC\u5165Protel","Import LTspice":"\u5BFC\u5165LTspice","Import DISA 4001":"\u5BFC\u5165DISA 4001","Import Autoroute File(SES)":"\u5BFC\u5165\u81EA\u52A8\u5E03\u7EBF(SES)","Select Rectangle Outside":"\u9009\u62E9\u77E9\u5F62\u5916\u90E8","Select Rectangle Inside":"\u9009\u62E9\u77E9\u5F62\u5185\u90E8","Select Polygon Inside":"\u9009\u62E9\u591A\u8FB9\u5F62\u5185\u90E8","Select Polygon Outside":"\u9009\u62E9\u591A\u8FB9\u5F62\u5916\u90E8","Select Line Touched":"\u9009\u62E9\u63A5\u89E6\u5230\u7EBF\u6761\u7684","Mutually Exclusive":"\u4E92\u65A5","Inactive Layer hiding":"\u975E\u6FC0\u6D3B\u5C42\u9690\u85CF","Grid Size 0.1/mm":"\u7F51\u683C\u5C3A\u5BF80.1/mm","Grid Size 0.05/mm":"\u7F51\u683C\u5C3A\u5BF80.05/mm","Grid Size 0.01/mm":"\u7F51\u683C\u5C3A\u5BF80.01/mm","Grid Size 1mm":"\u7F51\u683C\u5C3A\u5BF81mm","Grid Size 0.5mm":"\u7F51\u683C\u5C3A\u5BF80.5mm","Grid Size 0.1mm":"\u7F51\u683C\u5C3A\u5BF80.1mm","Grid Size 0.05mm":"\u7F51\u683C\u5C3A\u5BF80.05mm","Grid Size 0.01mm":"\u7F51\u683C\u5C3A\u5BF80.01mm","Grid Range Setting(Polar Coordinate System)":"\u7F51\u683C\u8303\u56F4\u8BBE\u7F6E(\u6781\u5750\u6807\u7CFB)","Hide All Ratlines":"\u9690\u85CF\u5168\u90E8\u98DE\u7EBF","Show All Ratlines":"\u663E\u793A\u5168\u90E8\u98DE\u7EBF","Highlight Selected Objects":"\u9AD8\u4EAE\u6240\u9009\u5BF9\u8C61","Place AGND":"\u653E\u7F6E\u6A21\u62DF\u5730","Place PGND":"\u653E\u7F6E\u4FDD\u62A4\u5730","Place Net Flag":"\u653E\u7F6E\u7F51\u7EDC\u6807\u8BC6","Place Line Pins":"\u653E\u7F6E\u6761\u5F62\u591A\u5F15\u811A","Place Rectangle Pins":"\u653E\u7F6E\u77E9\u5F62\u591A\u5F15\u811A","Place Input Port":"\u653E\u7F6E\u8F93\u5165\u7AEF\u53E3","Place Output Port":"\u653E\u7F6E\u8F93\u51FA\u7AEF\u53E3","Place Bidrectional Port":"\u653E\u7F6E\u53CC\u5411\u7AEF\u53E3","Draw PCB Text":"\u653E\u7F6EPCB\u6587\u672C","Place Rectangle Suture Vias":"\u653E\u7F6E\u77E9\u5F62\u7F1D\u5408\u5B54","Place Polygon Suture Vias":"\u653E\u7F6E\u591A\u8FB9\u5F62\u7F1D\u5408\u5B54","Place Polyline Suture Vias":"\u653E\u7F6E\u6298\u7EBF\u7F1D\u5408\u5B54","Place Line Pads":"\u653E\u7F6E\u6761\u5F62\u591A\u710A\u76D8","Place Rectangle Pads":"\u653E\u7F6E\u77E9\u5F62\u591A\u710A\u76D8","Place Rectangle Board Outline":"\u653E\u7F6E\u77E9\u5F62\u677F\u6846","Place Polygon Board Outline":"\u653E\u7F6E\u591A\u8FB9\u5F62\u677F\u6846","Place Circle Board Outline":"\u653E\u7F6E\u5706\u5F62\u677F\u6846","Rectangle Copper Region":"\u77E9\u5F62\u94FA\u94DC\u533A\u57DF","Circle Copper Region":"\u5706\u5F62\u94FA\u94DC\u533A\u57DF","Rectangle Fill Region":"\u77E9\u5F62\u586B\u5145\u533A\u57DF","Polygon Fill Region":"\u591A\u8FB9\u5F62\u586B\u5145\u533A\u57DF","Circle Fill Region":"\u5706\u5F62\u586B\u5145\u533A\u57DF","Rectangle Slot Region":"\u77E9\u5F62\u6316\u69FD\u533A\u57DF","Polygon Slot Region":"\u591A\u8FB9\u5F62\u6316\u69FD\u533A\u57DF","Circle Slot Region":"\u5706\u5F62\u6316\u69FD\u533A\u57DF","Rectangle Prohibited Region":"\u77E9\u5F62\u7981\u6B62\u533A\u57DF","Polygon Prohibited Region":"\u591A\u8FB9\u5F62\u7981\u6B62\u533A\u57DF","Circle Prohibited Region":"\u5706\u5F62\u7981\u6B62\u533A\u57DF","Set Canvas Origin by First Pin":"\u653E\u7F6E\u539F\u70B9\u5230\u7B2C\u4E00\u4E2A\u5F15\u811A","Set Canvas Origin by First Pad":"\u653E\u7F6E\u539F\u70B9\u5230\u7B2C\u4E00\u4E2A\u710A\u76D8","Canvas Origin - by First Pin":"\u753B\u5E03\u539F\u70B9 - \u4ECE\u7B2C\u4E00\u4E2A\u5F15\u811A","Canvas Origin - by First Pad":"\u753B\u5E03\u539F\u70B9 - \u4ECE\u7B2C\u4E00\u4E2A\u710A\u76D8","Draw Two Points Arc":"\u753B\u4E24\u70B9\u5706\u5F27","Draw Angle Dimension":"\u753B\u89D2\u5EA6\u5C3A\u5BF8","Draw Radius Dimension":"\u753B\u534A\u5F84\u5C3A\u5BF8","Place Table":"\u653E\u7F6E\u8868\u683C","Place Stack Table":"\u653E\u7F6E\u5806\u53E0\u8868","Place Drill Table":"\u653E\u7F6E\u94BB\u5B54\u8868","3D Shell - Outline - Rectangle":"3D\u5916\u58F3 - \u8FB9\u6846 - \u77E9\u5F62","3D Shell - Outline - Circle":"3D\u5916\u58F3 - \u8FB9\u6846 - \u5706\u5F62","3D Shell - Outline - Polygon":"3D\u5916\u58F3 - \u8FB9\u6846 - \u591A\u8FB9\u5F62","3D Shell - Side Slot Region - Rectangle":"3D\u5916\u58F3 - \u4FA7\u9762\u6316\u69FD\u533A\u57DF - \u77E9\u5F62","3D Shell - Side Slot Region - Circle":"3D\u5916\u58F3 - \u4FA7\u9762\u6316\u69FD\u533A\u57DF - \u5706\u5F62","3D Shell - Side Slot Region - Polygon":"3D\u5916\u58F3 - \u4FA7\u9762\u6316\u69FD\u533A\u57DF - \u591A\u8FB9\u5F62","3D Shell - Top/Bottom Slot Region - Rectangle":"3D\u5916\u58F3 - \u9876\u9762/\u5E95\u9762\u6316\u69FD\u533A\u57DF - \u77E9\u5F62","3D Shell - Top/Bottom Slot Region - Circle":"3D\u5916\u58F3 - \u9876\u9762/\u5E95\u9762\u6316\u69FD\u533A\u57DF - \u5706\u5F62","3D Shell - Top/Bottom Slot Region - Polygon":"3D\u5916\u58F3 - \u9876\u9762/\u5E95\u9762\u6316\u69FD\u533A\u57DF - \u591A\u8FB9\u5F62","3D Shell - Side Entity - Rectangle":"3D\u5916\u58F3 - \u4FA7\u9762\u5B9E\u4F53 - \u77E9\u5F62","3D Shell - Side Entity - Circle":"3D\u5916\u58F3 - \u4FA7\u9762\u5B9E\u4F53 - \u5706\u5F62","3D Shell - Side Entity - Polygon":"3D\u5916\u58F3 - \u4FA7\u9762\u5B9E\u4F53 - \u591A\u8FB9\u5F62","3D Shell - Top/Bottom Entity - Rectangle":"3D\u5916\u58F3 - \u9876\u9762/\u5E95\u9762\u5B9E\u4F53 - \u77E9\u5F62","3D Shell - Top/Bottom Entity - Circle":"3D\u5916\u58F3 - \u9876\u9762/\u5E95\u9762\u5B9E\u4F53 - \u5706\u5F62","3D Shell - Top/Bottom Entity - Polygon":"3D\u5916\u58F3 - \u9876\u9762/\u5E95\u9762\u5B9E\u4F53 - \u591A\u8FB9\u5F62","Update Pins from Block Schematic":"\u4ECE\u6A21\u5757\u539F\u7406\u56FE\u66F4\u65B0\u5F15\u811A","Related Offset":"\u76F8\u5BF9\u504F\u79FB","Component Distribute by Region":"\u5143\u4EF6\u533A\u57DF\u5206\u5E03","Rotate by Reference Point":"\u53C2\u8003\u70B9\u65CB\u8F6C","Export Bill of Materials(BOM)":"\u5BFC\u51FA\u7269\u6599\u6E05\u5355(BOM)","Export PCB Fabrication File(Gerber)":"\u5BFC\u51FAPCB\u5236\u677F\u6587\u4EF6(Gerber)","Flying-Probe JSON":"\u98DE\u9488JSON","Export SVG":"\u5BFC\u51FASVG","Export PDF/Image":"\u5BFC\u51FAPDF/\u56FE\u7247","Export PDF":"\u5BFC\u51FAPDF","Export PNG":"\u5BFC\u51FAPNG","Export Pads":"\u5BFC\u51FAPads","Export Autoroute File(DSN)":"\u5BFC\u51FA\u81EA\u52A8\u5E03\u7EBF(DSN)","One-Click Order Parts":"\u5143\u4EF6\u4E00\u952E\u4E0B\u5355","LCSC - Parts/Panel":"\u7ACB\u521B\u5546\u57CE - \u5143\u4EF6/\u9762\u677F","JLCPCB - PCB":"\u5609\u7ACB\u521B - PCB","System Category":"\u7CFB\u7EDF\u5206\u7C7B","System Common Library":"\u7CFB\u7EDF\u5E38\u7528\u5E93","Schematic/Symbol Theme":"\u539F\u7406\u56FE/\u7B26\u53F7\u4E3B\u9898","Schematic/Sheet":"\u539F\u7406\u56FE/\u56FE\u7EB8","PCB/Footprint Theme":"PCB/\u5C01\u88C5\u4E3B\u9898","PCB/Footprint Common Grid Size Setting":"PCB/\u5C01\u88C5\u5E38\u7528\u7F51\u683C\u5C3A\u5BF8\u8BBE\u7F6E","PCB/Footprint Common Track Width Setting":"PCB/\u5C01\u88C5\u5E38\u7528\u7EBF\u5BBD\u8BBE\u7F6E","PCB/Footprint Common Via Size Setting":"PCB/\u5C01\u88C5\u5E38\u7528\u8FC7\u5B54\u5C3A\u5BF8\u8BBE\u7F6E","PCB/Footprint Snap":"PCB/\u5C01\u88C5\u5438\u9644","Panel Theme":"\u9762\u677F\u4E3B\u9898","Common Typeface":"\u5E38\u7528\u5B57\u4F53","Group ID":"\u5206\u7EC4ID","Channel ID":"\u901A\u9053ID","{value} group reuse completed":"{value}\u4E2A\u7EC4\u5408\u590D\u7528\u5B8C\u6210","No exact matching":"\u672A\u627E\u5230\u5B8C\u5168\u5339\u914D\u7684\u5143\u4EF6","Please select a group":"\u8BF7\u5355\u51FB\u9009\u62E9\u4E00\u4E2A\u7EC4\u5408","Locked components found, whether to reuse the locked components together?":"\u5B58\u5728\u88AB\u9501\u5B9A\u7684\u5143\u4EF6\uFF0C\u662F\u5426\u5C06\u9501\u5B9A\u7684\u5143\u4EF6\u4E00\u8D77\u590D\u7528\uFF1F","The selected object {objectID} already exists in group {groupName}, cannot be reused":"\u9009\u62E9\u7684\u5BF9\u8C61 {objectID} \u5DF2\u5B58\u5728\u7EC4\u5408 {groupName} \u4E2D\uFF0C\u65E0\u6CD5\u88AB\u590D\u7528\u3002","Constraint associated object {0} is currently locked, please unlock first.":"\u7EA6\u675F\u5173\u8054\u5BF9\u8C61 {0} \u5F53\u524D\u4E3A\u9501\u5B9A\u72B6\u6001\uFF0C\u8BF7\u5148\u89E3\u9501\u3002","Constraint associated object {0} are currently locked, please unlock them first.":"\u7EA6\u675F\u5173\u8054\u5BF9\u8C61 {0} \u5F53\u524D\u5747\u4E3A\u9501\u5B9A\u72B6\u6001\uFF0C\u8BF7\u5148\u89E3\u9501\u3002","This change will lead to over definition or no solution, modification failed.":"\u6B64\u53D8\u66F4\u5C06\u5BFC\u81F4\u8FC7\u5B9A\u4E49\u6216\u65E0\u89E3\uFF0C\u4FEE\u6539\u5931\u8D25\u3002",RECTANGLE:"\u77E9\u5F62",OCTAGONAL:"\u957F\u5706\u5F62","Upper left":"\u5DE6\u4E0A","Lower left":"\u5DE6\u4E0B","Center of Pads":"\u710A\u76D8\u4E2D\u592E","First Pin":"\u7B2C\u4E00\u5F15\u811A","Package Name":"\u5C01\u88C5\u540D","Pins Number":"\u5F15\u811A\u6570\u91CF","Rows Of Pin":"\u5F15\u811A\u884C\u6570","Columns Of Pin":"\u5F15\u811A\u5217\u6570",Polarity:"\u6781\u6027","Pad Shape":"\u710A\u76D8\u5F62\u72B6","Body Diameter":"\u672C\u4F53\u76F4\u5F84","Lead Span":"\u5F15\u811A\u8DE8\u8DDD","Lead Height":"\u5F15\u811A\u9AD8\u5EA6","Lead Vertical Span":"\u5F15\u811A\u7EB5\u5411\u8DE8\u8DDD","Body Length":"\u672C\u4F53\u957F\u5EA6","Body Width":"\u672C\u4F53\u5BBD\u5EA6","Pin Diameter":"\u5F15\u811A\u76F4\u5F84","Pin Height":"\u5F15\u811A\u5BBD\u5EA6","Pin Real Length":"\u5F15\u811A\u5B9E\u9645\u957F\u5EA6","Bending Spacing":"\u5F15\u811A\u5F2F\u6298\u95F4\u8DDD","Pin Solid Width":"\u5F15\u811A\u710A\u63A5\u957F\u5EA6","Pin Solid Height":"\u5F15\u811A\u710A\u63A5\u5BBD\u5EA6","Pin Spacing":"\u5F15\u811A\u95F4\u8DDD","Pin Horizontal Spacing":"\u5F15\u811A\u6A2A\u5411\u95F4\u8DDD","Pin Vertical Spacing":"\u5F15\u811A\u7EB5\u5411\u95F4\u8DDD",ThermalPad:"\u70ED\u710A\u76D8","Pad Expansion":"\u710A\u76D8\u6269\u5C55","Custom PasteMask":"\u81EA\u5B9A\u4E49\u9521\u818F\u5C42","Fabrication Tolerance":"\u5236\u9020\u5BB9\u5DEE","Placement Tolerance":"\u653E\u7F6E\u5BB9\u5DEE","FirstPin Position":"\u7B2C\u4E00\u5F15\u811A\u4F4D\u7F6E","Package Origin":"\u5C01\u88C5\u539F\u70B9","Expansion Size":"\u6269\u5C55\u5C3A\u5BF8","Right Angle":"\u76F4\u89D2",Fillet:"\u5706\u89D2",Chamfer:"\u659C\u89D2","Generate 3D Model":"\u751F\u62103D\u6A21\u578B","Apply IPC-7351B Footprint Name":"\u5E94\u7528IPC-7351B\u5C01\u88C5\u540D","Number of pins (left and right)":"\u5F15\u811A\u6570(\u5DE6\u53F3)","Number of pins (up and down)":"\u5F15\u811A\u6570(\u4E0A\u4E0B)","Reference Use Cases":"\u53C2\u8003\u7528\u4F8B","Package Type":"\u5C01\u88C5\u7C7B\u578B","Bidirectional Diode":"\u53CC\u5411\u4E8C\u6781\u7BA1","Crystal Oscillator":"\u6676\u632F","Entity Height":"\u5B9E\u4F53\u9AD8\u5EA6","Solder balls characteristic":"\u710A\u6599\u7403\u7279\u6027","Can collapse":"\u53EF\u584C\u843D","Non collapsible":"\u975E\u584C\u843D","Lead Overhang":"\u672C\u4F53\u60AC\u7A7A\u9AD8\u5EA6","Top Height":"\u5F15\u811A\u4E0A\u7AEF\u9AD8\u5EA6","Bottom Height":"\u5F15\u811A\u4E0B\u7AEF\u9AD8\u5EA6","Lead Thickness":"\u5F15\u811A\u539A\u5EA6","Unknown mistake":"\u672A\u77E5\u9519\u8BEF","Has ThermalVias":"\u6563\u70ED\u8FC7\u5B54","Polar Capacitance":"\u6781\u6027\u7535\u5BB9","Generate Footprint":"\u751F\u6210\u5C01\u88C5","Device Manager":"\u5668\u4EF6\u7BA1\u7406\u5668","Component Manager":"\u5143\u4EF6\u7BA1\u7406\u5668","Via Solder Mask Expansion":"\u8FC7\u5B54\u963B\u710A\u6269\u5C55","All Cover Oil":"\u5168\u90E8\u9ED8\u8BA4\u76D6\u6CB9","Follow Original Setting":"\u8DDF\u968F\u539F\u8BBE\u7F6E","The selection area must contain the same network copper filled before adding suture holes":"\u6846\u9009\u533A\u57DF\u5185\u5FC5\u987B\u5305\u542B\u540C\u7F51\u7EDC\u94FA\u94DC\u586B\u5145\u624D\u53EF\u6DFB\u52A0\u7F1D\u5408\u5B54","The selection area must contain the same network copper filled before removing suture holes":"\u6846\u9009\u533A\u57DF\u5185\u5FC5\u987B\u5305\u542B\u7F51\u7EDC\u94FA\u94DC\u586B\u5145\u624D\u53EF\u79FB\u9664\u7F1D\u5408\u5B54",Comment:"\u5907\u6CE8","The parameter does not conform to the rules: The pin span is at least 0.1 mm more than the body length!":"\u53C2\u6570\u4E0D\u7B26\u5408\u89C4\u5219\uFF1A\u5F15\u811A\u8DE8\u8DDD\u81F3\u5C11\u8D85\u51FA\u672C\u4F53\u957F\u5EA60.1\u6BEB\u7C73\uFF01","The parameter does not conform to the rules: The pin length is not less than 0.2 mm and not less than 0.05 of the body length!":"\u53C2\u6570\u4E0D\u7B26\u5408\u89C4\u5219\uFF1A\u5F15\u811A\u957F\u5EA6\u4E0D\u5C0F\u4E8E0.2\u6BEB\u7C73\u4E14\u4E0D\u5C0F\u4E8E\u672C\u4F53\u957F\u5EA6\u76840.05\uFF01","The parameter does not conform to the rules: The sum of the pin spacing and pin diameter cannot exceed the body length!":"\u53C2\u6570\u4E0D\u7B26\u5408\u89C4\u5219\uFF1A\u5F15\u811A\u95F4\u8DDD\u548C\u5F15\u811A\u76F4\u5F84\u4E4B\u548C\u4E0D\u80FD\u8D85\u8FC7\u672C\u4F53\u957F\u5EA6\uFF01","The parameter does not conform to the rules: The length of the dangling pin cannot exceed 2 times the length of the pin, and the pin length cannot be less than 0.5 mm!":"\u53C2\u6570\u4E0D\u7B26\u5408\u89C4\u5219\uFF1A\u60AC\u7A7A\u5F15\u811A\u957F\u5EA6\u4E0D\u80FD\u8D85\u8FC7\u5F15\u811A\u957F\u5EA6\u76842\u500D\uFF0C\u4E14\u5F15\u811A\u957F\u5EA6\u4E0D\u80FD\u5C0F\u4E8E0.5\u6BEB\u7C73\uFF01","The parameter does not conform to the rules: The length of the dangling pin cannot exceed 2 times the length of the pin!":"\u53C2\u6570\u4E0D\u7B26\u5408\u89C4\u5219\uFF1A\u60AC\u7A7A\u5F15\u811A\u957F\u5EA6\u4E0D\u80FD\u8D85\u8FC7\u5F15\u811A\u957F\u5EA6\u76842\u500D\uFF01","The parameter does not conform to the rules: The number of pins can only be 3, 5 or 6!":"\u53C2\u6570\u4E0D\u7B26\u5408\u89C4\u5219\uFF1A\u5F15\u811A\u6570\u91CF\u53EA\u80FD\u4E3A3,5\u62166!","You are trying to open a later version document, it may fail to open or an exception may be displayed. It is recommended to use the latest editor version to open it.":"\u4F60\u6B63\u5728\u5C1D\u8BD5\u6253\u5F00\u66F4\u9AD8\u7248\u672C\u7684\u6587\u6863\uFF0C\u53EF\u80FD\u4F1A\u51FA\u73B0\u65E0\u6CD5\u6253\u5F00\u6216\u663E\u793A\u5F02\u5E38\u73B0\u8C61\u3002\u5EFA\u8BAE\u4F7F\u7528\u6700\u65B0\u7248\u7F16\u8F91\u5668\u6253\u5F00\u3002","Default Netname":"\u9ED8\u8BA4\u7F51\u7EDC\u540D","Wire ID":"\u5BFC\u7EBFID","Designator + Pin Number":"\u4F4D\u53F7 + \u5F15\u811A\u7F16\u53F7","This computer":"\u672C\u673A","Menu Hotkey":"\u83DC\u5355\u5FEB\u6377\u952E","Shortcut keys used":"\u5DF2\u4F7F\u7528\u8BE5\u5FEB\u6377\u952E","Command used":"\u5DF2\u4F7F\u7528\u8BE5\u547D\u4EE4","Global Shortcut key":"\u5168\u5C40\u5FEB\u6377\u952E","Shortcut keys for menu display":"\u83DC\u5355\u663E\u793A\u65F6\u4F7F\u7528\u7684\u5FEB\u6377\u952E","Find by the hotkey":"\u6839\u636E\u5FEB\u6377\u952E\u67E5\u627E","Design Rule(Schematic)":"\u539F\u7406\u56FE\u8BBE\u8BA1\u89C4\u5219","Design Rule(PCB)":"PCB\u8BBE\u8BA1\u89C4\u5219","One-Click Order PCB":"PCB\u4E00\u952E\u4E0B\u5355","Expand and Modify Properties":"\u5C55\u5F00\u5E76\u4FEE\u6539\u5C5E\u6027","Symbol library management":"\u7B26\u53F7\u5E93\u7BA1\u7406","Easy Mode":"\u7B80\u6613\u6A21\u5F0F","Easy Mode(Std Edition library creation behavior, easy to use)":"\u7B80\u6613\u6A21\u5F0F(\u6807\u51C6\u7248\u5EFA\u5E93\u4EA4\u4E92\uFF0C\u7B80\u5355\u6613\u4E0A\u624B)","Professional Mode(Support the symbol reuse)":"\u4E13\u4E1A\u6A21\u5F0F(\u652F\u6301\u7B26\u53F7\u590D\u7528)","Professional Mode":"\u4E13\u4E1A\u6A21\u5F0F","Entry: Settings - System - General":"\u5165\u53E3\uFF1A\u8BBE\u7F6E - \u7CFB\u7EDF - \u5E38\u7528","(Std Edition library creation behavior, easy to use)":"(\u6807\u51C6\u7248\u5EFA\u5E93\u4EA4\u4E92\uFF0C\u7B80\u5355\u6613\u4E0A\u624B)","Will create the schematic symbol automatically when create component library, don't need to think about the symbol reuse concept":"\u521B\u5EFA\u5143\u4EF6\u81EA\u52A8\u521B\u5EFA\u539F\u7406\u56FE\u5E93\uFF0C\u4E0D\u9700\u8981\u8003\u8651\u7B26\u53F7\u590D\u7528\u7684\u6982\u5FF5","(Support the symbol reuse)":"\u652F\u6301\u7B26\u53F7\u590D\u7528","Support to bind with existed symbol when create component library, and independent symbol library management entry":"\u521B\u5EFA\u5143\u4EF6\u652F\u6301\u7ED1\u5B9A\u5DF2\u6709\u7B26\u53F7\uFF0C\u72EC\u7ACB\u7684\u7B26\u53F7\u5E93\u7BA1\u7406\u5165\u53E3","@@symbolType":{"Non-Electronic":"\u65E0\u7535\u6C14\u6807\u8BC6","Non-Electronic Symbol":"\u65E0\u7535\u6C14\u7B26\u53F7",Drawing:"\u56FE\u7EB8","Drawing Symbol":"\u56FE\u7EB8\u7B26\u53F7"},":":"\uFF1A","The component unique ID will be reset according to the component designator, this operation will clear Undo histories. Please notice:":"\u5C06\u6839\u636E\u5143\u4EF6\u4F4D\u53F7\u91CD\u7F6E\u5143\u4EF6\u552F\u4E00ID\uFF0C\u8BE5\u64CD\u4F5C\u5C06\u6E05\u7A7A\u56DE\u9000\u8BB0\u5F55\u3002\u91CD\u7F6E\u524D\u8BF7\u6CE8\u610F\uFF1A","1. Please make sure the component designators\xA0of the schematic and PCB are corresponding":"1. \u8BF7\u786E\u4FDD\u539F\u7406\u56FE\u548C PCB \u7684\u5143\u4EF6\u4F4D\u53F7\u76F8\u5BF9\u5E94","2.\xA0Please reset the\xA0corresponding schematic or PCB too":"2.\xA0\u8BF7\u628A\u5BF9\u5E94\u7684\u539F\u7406\u56FE\u6216\u8005PCB\u4E5F\u8FDB\u884C\u91CD\u7F6E\u64CD\u4F5C","The component unique ID will be reset according to the component designator. Please notice:":"\u5C06\u6839\u636E\u5143\u4EF6\u4F4D\u53F7\u91CD\u7F6E\u5143\u4EF6\u552F\u4E00ID\u3002\u91CD\u7F6E\u524D\u8BF7\u6CE8\u610F\uFF1A","2.\xA0Please reset the\xA0corresponding schematic or PCB too, when\xA0reset the schematic\xA0this operation will clear undo/redo\xA0histories":"2.\xA0\u8BF7\u628A\u5BF9\u5E94\u7684\u539F\u7406\u56FE\u6216\u8005PCB\u4E5F\u8FDB\u884C\u91CD\u7F6E\u64CD\u4F5C\uFF0C\u539F\u7406\u56FE\u91CD\u7F6E\u65F6\u5C06\u6E05\u7A7A\u64A4\u9500/\u91CD\u505A\u8BB0\u5F55","Reset component unique ID successfully":"\u91CD\u7F6E\u5143\u4EF6\u552F\u4E00ID\u6210\u529F","Your browser doesn't support or version too low(less than v100) to use the editor, please try below methods to solve:":"\u4F60\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u6216\u7248\u672C\u8FC7\u4F4E(\u5C0F\u4E8E v100)\uFF0C\u65E0\u6CD5\u6B63\u5E38\u8FD0\u884C\u7F16\u8F91\u5668\uFF0C\u8BF7\u6309\u7167\u4E0B\u9762\u7684\u65B9\u6CD5\u89E3\u51B3\uFF1A","1. Download the latest desktop client, or use the latest Chrome, Firefox or Edge browser(over than v100), and enable the hardware acceleration at browser setting.  Edge browser:":"1\u3001\u4E0B\u8F7D\u6700\u65B0\u7684\u5BA2\u6237\u7AEF\uFF0C\u6216\u4F7F\u7528\u6700\u65B0\u7684\u8C37\u6B4C\uFF0C\u706B\u72D0\u6216Edge\u6D4F\u89C8\u5668(\u5927\u4E8Ev100)\uFF0C\u5E76\u5728\u6D4F\u89C8\u5668\u8BBE\u7F6E\u91CC\u9762\u5F00\u542F\u786C\u4EF6\u52A0\u901F\u3002Edge\u6D4F\u89C8\u5668\uFF1A","2. Download the latest desktop client. Desktop client:":"2\u3001\u4E0B\u8F7D\u6700\u65B0\u7684\u5BA2\u6237\u7AEF\u3002\u5BA2\u6237\u7AEF\uFF1A","3. If Jiali created an order assistant, please download the latest version (greater than v5.0)":"3\u3001\u5982\u679C\u662F\u5609\u7ACB\u521B\u4E0B\u5355\u5C0F\u52A9\u624B, \u8BF7\u4E0B\u8F7D\u6700\u65B0\u7684\u7248\u672C(\u5927\u4E8Ev5.0)","Board Outline Source":"\u8FB9\u6846\u6765\u6E90","From Keepout Layer":"\u4ECEKeepout\u5C42","From Mechanical Layer 1":"\u4ECE\u673A\u68B0\u5C421","Device Name Source":"\u5668\u4EF6\u540D\u79F0\u6765\u6E90","From comment":"\u4ECEComment","From design Item ID":"\u4ECEDesign Item ID","The selected object contains components, whether to delete it?":"\u9009\u4E2D\u5BF9\u8C61\u4E2D\u542B\u6709\u5143\u4EF6\uFF0C\u662F\u5426\u540C\u65F6\u5220\u9664\uFF1F","Remove From Group":"\u79FB\u51FA\u7EC4\u5408","{0} element removed from the group":"{0}\u4E2A\u5143\u7D20\u4ECE\u7EC4\u5408\u4E2D\u79FB\u51FA","{0} element removed from the group:group{idWithName}":"{0}\u4E2A\u5143\u7D20\u4ECE\u7EC4\u5408\u4E2D\u79FB\u51FA\uFF1A\u7EC4\u5408{idWithName}","The head and tail of the text cannot have more than 15 consecutive numbers, otherwise it will exceed the computer operation range and cause some unpredictable bug!":"\u6587\u672C\u5934\u548C\u5C3E\u4E0D\u80FD\u51FA\u73B0\u8FDE\u7EED15\u4E2A\u4EE5\u4E0A\u6570\u5B57\uFF0C\u5426\u5219\u8D85\u51FA\u8BA1\u7B97\u673A\u8FD0\u7B97\u8303\u56F4\uFF0C\u9020\u6210\u4E00\u4E9B\u65E0\u6CD5\u9884\u6599\u7684bug\uFF01","Create device successfully!":"\u521B\u5EFA\u5668\u4EF6\u6210\u529F\uFF01","Update device failed!":"\u4FEE\u6539\u5668\u4EF6\u5931\u8D25\uFF01","@@component-manager-dialog":{Search:"\u641C\u7D22"},"Datasheet Extract Wizard":"\u89C4\u683C\u4E66\u63D0\u53D6\u5411\u5BFC","Or double click here to add image(<5MB)":"\u6216\u53CC\u51FB\u6DFB\u52A0\u56FE\u7247(<5MB)","Pins Information":"\u5F15\u811A\u4FE1\u606F","Next Step":"\u4E0B\u4E00\u6B65","Drop graphic files here":"\u5728\u6B64\u5904\u653E\u7F6E\u56FE\u5F62\u6587\u4EF6","Please drag graphic file":"\u8BF7\u62D6\u9009\u56FE\u5F62\u7C7B\u6587\u4EF6","Click to cancel loading":"\u5355\u51FB\u53D6\u6D88loading","Use rolling wheels to zoom preview screen":"\u4F7F\u7528\u6EDA\u8F6E\u6765\u7F29\u653E\u9884\u89C8\u753B\u9762","Please add pin information first":"\u8BF7\u5148\u6DFB\u52A0\u5F15\u811A\u4FE1\u606F","The current environment does not support the paste content from the clipboard":"\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301\u4ECE\u526A\u8D34\u677F\u7C98\u8D34\u5185\u5BB9","The current environment does not read the permissions of the clipboard":"\u5F53\u524D\u73AF\u5883\u6CA1\u6709\u8BFB\u53D6\u526A\u8D34\u677F\u7684\u6743\u9650","Please copy a picture and paste the paste":"\u8BF7\u590D\u5236\u4E00\u5F20\u56FE\u7247\u518D\u8FDB\u884C\u7C98\u8D34","Image compression failure":"\u56FE\u7247\u538B\u7F29\u5931\u8D25","Please drag or paste image at here":"\u8BF7\u62D6\u62FD\u6216\u7C98\u8D34\u56FE\u7247\u5728\u6B64\u5904","Pins Data without extraction":"\u672A\u63D0\u53D6\u5230\u5F15\u811A\u6570\u636E","Please make sure the editor is connect with internet, the extraction need some time, please wait a while":"\u8BF7\u786E\u4FDD\u7F16\u8F91\u5668\u5DF2\u7ECF\u8FDE\u63A5\u4E92\u8054\u7F51\uFF0C\u63D0\u53D6\u9700\u8981\u4E00\u5B9A\u65F6\u95F4\uFF0C\u8BF7\u7A0D\u5019","Add image failed, please add an image which small than 5MB":"\u56FE\u7247\u6DFB\u52A0\u5931\u8D25\uFF0C\u8BF7\u6DFB\u52A0\u5C0F\u4E8E5MB\u7684\u56FE\u7247","SOP type":"SOP\u7C7B\u578B","QFN type":"QFN\u7C7B\u578B","Table type":"\u8868\u683C\u7C7B\u578B","New - Project":"\u65B0\u5EFA - \u5DE5\u7A0B","New - Board":"\u65B0\u5EFA - \u677F\u5B50","New - Schematic":"\u65B0\u5EFA - \u539F\u7406\u56FE","New - Page":"\u65B0\u5EFA - \u56FE\u9875","New - PCB":"\u65B0\u5EFA - PCB","New - Panel":"\u65B0\u5EFA - \u9762\u677F","New - Component":"\u65B0\u5EFA - \u5143\u4EF6","New - Symbol":"\u65B0\u5EFA - \u7B26\u53F7","New - Footprint":"\u65B0\u5EFA - \u5C01\u88C5","New - 3D Model":"\u65B0\u5EFA - 3D\u6A21\u578B","New - Drawing":"\u65B0\u5EFA - \u56FE\u7EB8","New - Netflag":"\u65B0\u5EFA - \u7F51\u7EDC\u6807\u8BC6","New - Netport":"\u65B0\u5EFA - \u7F51\u7EDC\u7AEF\u53E3","New - Off Page Connector":"\u65B0\u5EFA - \u8DE8\u9875\u8FDE\u63A5\u6807\u8BC6","New - Differential Pairs Flag":"\u65B0\u5EFA - \u5DEE\u5206\u5BF9\u6807\u8BC6","New - Non-Electronic Flag":"\u65B0\u5EFA - \u65E0\u7535\u6C14\u6807\u8BC6","New - Reuse Block":"\u65B0\u5EFA - \u590D\u7528\u6A21\u5757","New - Panel Lib":"\u65B0\u5EFA - \u9762\u677F\u5E93","New - Part":"\u65B0\u5EFA - \u90E8\u4EF6","Delete - Objects":"\u5220\u9664 - \u5BF9\u8C61","Delete - Selected":"\u5220\u9664 - \u5DF2\u9009","Delete - All":"\u5220\u9664 - \u5168\u90E8","Cutout - Rectangle":"\u6316\u7A7A - \u77E9\u5F62","Cutout - Circle":"\u6316\u7A7A - \u5706\u5F62","Cutout - Polygon":"\u6316\u7A7A - \u591A\u8FB9\u5F62","Select Objects - All":"\u9009\u62E9\u5BF9\u8C61 - \u6240\u6709","Select Objects - Rectangle Outside":"\u9009\u62E9\u5BF9\u8C61 - \u77E9\u5F62\u5916\u90E8","Select Objects - Rectangle Inside":"\u9009\u62E9\u5BF9\u8C61 - \u77E9\u5F62\u5185\u90E8","Select Objects - Polygon Outside":"\u9009\u62E9\u5BF9\u8C61 - \u591A\u8FB9\u5F62\u5916\u90E8","Select Objects - Polygon Inside":"\u9009\u62E9\u5BF9\u8C61 - \u591A\u8FB9\u5F62\u5185\u90E8","Select Objects - Line Touched":"\u9009\u62E9\u5BF9\u8C61 - \u63A5\u89E6\u5230\u7EBF\u6761\u7684","Select Objects - Connected Copper":"\u9009\u62E9\u5BF9\u8C61 - \u8FDE\u63A5\u7684\u94DC\u76AE","Select Objects - Toggle Selection":"\u9009\u62E9\u5BF9\u8C61 - \u5207\u6362\u9009\u62E9","Duplicate - Duplicate to Cursor":"\u91CD\u590D - \u91CD\u590D\u5230\u5149\u6807","Duplicate - Duplicate to the Original Position":"\u91CD\u590D - \u91CD\u590D\u5230\u539F\u4F4D\u7F6E","Duplicate - Duplicate to Other Layer":"\u91CD\u590D - \u91CD\u590D\u5230\u5176\u4ED6\u5C42","Move - Move by Center Point":"\u79FB\u52A8 - \u6839\u636E\u4E2D\u5FC3\u79FB\u52A8","Move - Move by Origin Point":"\u79FB\u52A8 - \u6839\u636E\u539F\u70B9\u79FB\u52A8","Move - Move by Reference Point":"\u79FB\u52A8 - \u6839\u636E\u53C2\u8003\u70B9\u79FB\u52A8","Ratline - Show/Hide Selected":"\u98DE\u7EBF - \u663E\u793A/\u9690\u85CF\u6240\u9009","Ratline - Hide Component Ratlines":"\u98DE\u7EBF - \u9690\u85CF\u5668\u4EF6\u98DE\u7EBF","Ratline - Hide All":"\u98DE\u7EBF - \u9690\u85CF\u5168\u90E8","Ratline - Show Component Ratlines":"\u98DE\u7EBF - \u663E\u793A\u5668\u4EF6\u98DE\u7EBF","Ratline - Show All":"\u98DE\u7EBF - \u663E\u793A\u5168\u90E8","Highlight - Highlight/Unhighlight Net":"\u9AD8\u4EAE - \u9AD8\u4EAE/\u53D6\u6D88\u9AD8\u4EAE\u7F51\u7EDC","Highlight - Highlight Component":"\u9AD8\u4EAE - \u9AD8\u4EAE\u5668\u4EF6","Highlight - Highlight Selected":"\u9AD8\u4EAE - \u9AD8\u4EAE\u9009\u4E2D","Highlight - Unhighlight Component":"\u9AD8\u4EAE - \u53D6\u6D88\u9AD8\u4EAE\u5668\u4EF6","Highlight - Unhighlight Selected":"\u9AD8\u4EAE - \u53D6\u6D88\u9AD8\u4EAE\u9009\u4E2D","Highlight - Unhighlight All":"\u9AD8\u4EAE - \u53D6\u6D88\u5168\u90E8\u9AD8\u4EAE","Suture Vias - Rectangle":"\u7F1D\u5408\u5B54 - \u77E9\u5F62","Suture Vias - Polygon":"\u7F1D\u5408\u5B54 - \u591A\u8FB9\u5F62","Suture Vias - Line":"\u7F1D\u5408\u5B54 - \u7EBF\u6761","Board Outline - Rectangle":"\u677F\u6846 - \u77E9\u5F62","Board Outline - Circle":"\u677F\u6846 - \u5706\u5F62","Board Outline - Polygon":"\u677F\u6846 - \u591A\u8FB9\u5F62","Copper Region - Rectangle":"\u94FA\u94DC\u533A\u57DF - \u77E9\u5F62","Copper Region - Circle":"\u94FA\u94DC\u533A\u57DF - \u5706\u5F62","Copper Region - Polygon":"\u94FA\u94DC\u533A\u57DF - \u591A\u8FB9\u5F62","Fill Region - Rectangle":"\u586B\u5145\u533A\u57DF - \u77E9\u5F62","Fill Region - Circle":"\u586B\u5145\u533A\u57DF - \u5706\u5F62","Fill Region - Polygon":"\u586B\u5145\u533A\u57DF - \u591A\u8FB9\u5F62","FPC Stiffener - Rectangle":"FPC\u8865\u5F3A\u677F - \u77E9\u5F62","FPC Stiffener - Circle":"FPC\u8865\u5F3A\u677F - \u5706\u5F62","FPC Stiffener - Polygon":"FPC\u8865\u5F3A\u677F - \u591A\u8FB9\u5F62","Slot Region - Rectangle":"\u6316\u69FD\u533A\u57DF - \u77E9\u5F62","Slot Region - Circle":"\u6316\u69FD\u533A\u57DF - \u5706\u5F62","Slot Region - Polygon":"\u6316\u69FD\u533A\u57DF - \u591A\u8FB9\u5F62","Prohibited Region - Rectangle":"\u7981\u6B62\u533A\u57DF - \u77E9\u5F62","Prohibited Region - Circle":"\u7981\u6B62\u533A\u57DF - \u5706\u5F62","Prohibited Region - Polygon":"\u7981\u6B62\u533A\u57DF - \u591A\u8FB9\u5F62","Line - Polyline":"\u7EBF\u6761 - \u6298\u7EBF","Line - Center Arc":"\u7EBF\u6761 - \u4E2D\u5FC3\u5706\u5F27","Line - Two Points Arc":"\u7EBF\u6761 - \u4E24\u70B9\u5706\u5F27","Line - Three Points Arc":"\u7EBF\u6761 - \u4E09\u70B9\u5706\u5F27","Line - Circle":"\u7EBF\u6761 - \u5706\u5F62","Line - Rectangle":"\u7EBF\u6761 - \u77E9\u5F62","Line - Bezier":"\u7EBF\u6761 - \u8D1D\u585E\u5C14\u66F2\u7EBF","Line - Ellipse":"\u7EBF\u6761 - \u692D\u5706","Dimension - Length":"\u5C3A\u5BF8 - \u957F\u5EA6","Dimension - Angle":"\u5C3A\u5BF8 - \u89D2\u5EA6","Dimension - Radius":"\u5C3A\u5BF8 - \u534A\u5F84","Canvas Origin - By Cursor":"\u753B\u5E03\u539F\u70B9 - \u4ECE\u5149\u6807","Canvas Origin - By Coordinate":"\u753B\u5E03\u539F\u70B9 - \u4ECE\u5750\u6807\u70B9","Routing Width - Follow Rule":"\u5E03\u7EBF\u5BBD\u5EA6 - \u8DDF\u968F\u89C4\u5219","Routing Width - Rule Setting":"\u5E03\u7EBF\u5BBD\u5EA6 - \u89C4\u5219\u8BBE\u7F6E","Routing Width - Enter Width":"\u5E03\u7EBF\u5BBD\u5EA6 - \u8F93\u5165\u5BBD\u5EA6","Unroute - Connection":"\u6E05\u9664\u5E03\u7EBF - \u8FDE\u63A5","Unroute - Net":"\u6E05\u9664\u5E03\u7EBF - \u7F51\u7EDC","Unroute - All":"\u6E05\u9664\u5E03\u7EBF - \u5168\u90E8","Group - Group Selected":"\u7EC4\u5408 - \u7EC4\u5408\u9009\u4E2D","Group - Join Group":"\u7EC4\u5408 - \u52A0\u5165\u7EC4\u5408","Group - Remove From Group":"\u7EC4\u5408 - \u79FB\u51FA\u7EC4\u5408","Group - Reuse Layout Route":"\u7EC4\u5408 - \u590D\u7528\u5E03\u5C40\u5E03\u7EBF","Group - Ungroup Selected":"\u7EC4\u5408 - \u53D6\u6D88\u7EC4\u5408","Group - Ungroup All":"\u7EC4\u5408 - \u53D6\u6D88\u5168\u90E8\u7EC4\u5408","Offset - Absolute Offset":"\u504F\u79FB - \u7EDD\u5BF9\u504F\u79FB","Offset - Related Offset":"\u504F\u79FB - \u76F8\u5BF9\u504F\u79FB","Align - Align Left":"\u5BF9\u9F50 - \u5DE6\u5BF9\u9F50","Align - Align Right":"\u5BF9\u9F50 - \u53F3\u5BF9\u9F50","Align - Align Top":"\u5BF9\u9F50 - \u9876\u90E8\u5BF9\u9F50","Align - Align Bottom":"\u5BF9\u9F50 - \u5E95\u90E8\u5BF9\u9F50","Align - Align Horizontal Centers":"\u5BF9\u9F50 - \u5DE6\u53F3\u5C45\u4E2D","Align - Align Vertical Centers":"\u5BF9\u9F50 - \u4E0A\u4E0B\u5C45\u4E2D","Align - Align Grid":"\u5BF9\u9F50 - \u5BF9\u9F50\u7F51\u683C","Distribute - Distribute Horizontally":"\u5206\u5E03 - \u6C34\u5E73\u7B49\u8DDD\u5206\u5E03","Distribute - Distribute Vertically":"\u5206\u5E03 - \u5782\u76F4\u7B49\u8DDD\u5206\u5E03","Distribute - Distribute Left Edges Equidistantly":"\u5206\u5E03 - \u5DE6\u8FB9\u6CBF\u7B49\u8DDD\u5206\u5E03","Distribute - Distribute Top Edges Equidistantly":"\u5206\u5E03 - \u4E0A\u8FB9\u6CBF\u7B49\u8DDD\u5206\u5E03","Distribute - Distribute Horizontally by Center Distance":"\u5206\u5E03 - \u6C34\u5E73\u6307\u5B9A\u4E2D\u5FC3\u95F4\u8DDD\u5206\u5E03","Distribute - Distribute Vertically by Center Distance":"\u5206\u5E03 - \u5782\u76F4\u6307\u5B9A\u4E2D\u5FC3\u95F4\u8DDD\u5206\u5E03","Distribute - Distribute Horizontally by Edges Distance":"\u5206\u5E03 - \u6C34\u5E73\u6307\u5B9A\u8FB9\u6CBF\u95F4\u8DDD\u5206\u5E03","Distribute - Distribute Vertically by Edges Distance":"\u5206\u5E03 - \u5782\u76F4\u6307\u5B9A\u8FB9\u6CBF\u95F4\u8DDD\u5206\u5E03","Distribute - Distribute Array":"\u5206\u5E03 - \u9635\u5217\u5206\u5E03","Distribute - Component Distribute By Region":"\u5206\u5E03 - \u5143\u4EF6\u533A\u57DF\u5206\u5E03","Rotate - Rotate Left":"\u65CB\u8F6C - \u5DE6\u5411\u65CB\u8F6C","Rotate - Rotate Right":"\u65CB\u8F6C - \u53F3\u5411\u65CB\u8F6C","Rotate - Rotate by Reference Point":"\u65CB\u8F6C - \u53C2\u8003\u70B9\u65CB\u8F6C","Flip - Flip Right and Left":"\u7FFB\u8F6C - \u5DE6\u53F3\u7FFB\u8F6C","Flip - Flip Up and Down":"\u7FFB\u8F6C - \u4E0A\u4E0B\u7FFB\u8F6C","Flip - Flip Right and Left by Reference Point":"\u7FFB\u8F6C - \u53C2\u8003\u70B9\u5DE6\u53F3\u7FFB\u8F6C","Flip - Flip Up and Down by Reference Point":"\u7FFB\u8F6C - \u53C2\u8003\u70B9\u4E0A\u4E0B\u7FFB\u8F6C","Net Flag - VCC":"\u7F51\u7EDC\u6807\u8BC6 - VCC","Net Flag - +5V":"\u7F51\u7EDC\u6807\u8BC6 - +5V","Net Flag - GND":"\u7F51\u7EDC\u6807\u8BC6 - \u5730","Net Flag - AGND":"\u7F51\u7EDC\u6807\u8BC6 - \u6A21\u62DF\u5730","Net Flag - PGND":"\u7F51\u7EDC\u6807\u8BC6 - \u4FDD\u62A4\u5730","Net Port - IN":"\u7F51\u7EDC\u7AEF\u53E3 - \u8F93\u5165","Net Port - OUT":"\u7F51\u7EDC\u7AEF\u53E3 - \u8F93\u51FA","Net Port - BI":"\u7F51\u7EDC\u7AEF\u53E3 - \u53CC\u5411","System - Category":"\u7CFB\u7EDF - \u5206\u7C7B","System - Common Library":"\u7CFB\u7EDF - \u5E38\u7528\u5E93","Schematic/Symbol - Theme":"\u539F\u7406\u56FE/\u7B26\u53F7 - \u4E3B\u9898","PCB/Footprint - Theme":"PCB/\u5C01\u88C5 - \u4E3B\u9898","PCB/Footprint - Common Grid/Snap Size Setting":"PCB/\u5C01\u88C5 - \u5E38\u7528\u7F51\u683C/\u6805\u683C\u5C3A\u5BF8\u8BBE\u7F6E","PCB/Footprint - Common Track Width Setting":"PCB/\u5C01\u88C5 - \u5E38\u7528\u7EBF\u5BBD\u8BBE\u7F6E","PCB/Footprint - Common Via Size Setting":"PCB/\u5C01\u88C5 - \u5E38\u7528\u8FC7\u5B54\u5C3A\u5BF8\u8BBE\u7F6E","PCB/Footprint - Snap":"PCB/\u5C01\u88C5 - \u5438\u9644","Panel - Theme":"\u9762\u677F - \u4E3B\u9898","Grid Size(Schematic\u3001Panel)":"\u7F51\u683C\u5C3A\u5BF8(\u539F\u7406\u56FE\u3001\u9762\u677F)","Grid Type(Schematic\u3001Panel)":"\u7F51\u683C\u7C7B\u578B(\u539F\u7406\u56FE\u3001\u9762\u677F)","System - System":"\u7CFB\u7EDF - \u7CFB\u7EDF","Schematic/Symbol - Schematic/Symbol":"\u539F\u7406\u56FE/\u7B26\u53F7 - \u539F\u7406\u56FE/\u7B26\u53F7","Schematic/Symbol":"\u539F\u7406\u56FE/\u7B26\u53F7","PCB/Footprint - PCB/Footprint":"PCB/\u5C01\u88C5 - PCB/\u5C01\u88C5","Panel - Panel":"\u9762\u677F - \u9762\u677F","The document {title} you want to save does not belong to the current project!!":"\u9700\u8981\u4FDD\u5B58\u7684\u6587\u6863{title}\u4E0D\u5C5E\u4E8E\u5F53\u524D\u5DE5\u7A0B!!","The project file eprj or library file elib property was set as read only, please enable the read only property at File Manager and try again, and contact with support":"\u5DE5\u7A0B\u6587\u4EF6eprj\u6216\u5E93\u6587\u4EF6elib\u5C5E\u6027\u53D8\u4E3A\u53EA\u8BFB\uFF0C\u8BF7\u5728\u8D44\u6E90\u7BA1\u7406\u5668\u53D6\u6D88\u53EA\u8BFB\u540E\u518D\u8BD5\uFF0C\u5E76\u8054\u7CFB\u6280\u672F\u652F\u6301","Equal proportion adjustment":"\u7B49\u6BD4\u4F8B\u8C03\u6574","Cancel Equal proportion adjustment":"\u53D6\u6D88\u7B49\u6BD4\u4F8B\u8C03\u6574","Width and height confrontation":"\u5BBD\u9AD8\u5BF9\u8C03","The size of the drawing does not comply with the specification!":"\u56FE\u7EB8\u5C3A\u5BF8\u4E0D\u7B26\u5408\u89C4\u8303\uFF01","The current canvas no drawings":"\u5F53\u524D\u753B\u5E03\u65E0\u56FE\u7EB8","Drawing symbol does not exist":"\u56FE\u7EB8\u7B26\u53F7\u4E0D\u5B58\u5728","Failure to create a copy":"\u521B\u5EFA\u526F\u672C\u5931\u8D25","No Sheet":"\u65E0\u56FE\u7EB8","Failure to restore":"\u8FD8\u539F\u5931\u8D25","The current template has been bound to the device":"\u5F53\u524D\u6A21\u677F\u5DF2\u4E3A\u5668\u4EF6\u7ED1\u5B9A\u7B26\u53F7","The size of the drawing is not changed":"\u56FE\u7EB8\u5C3A\u5BF8\u65E0\u53D8\u66F4","Data abnormalities":"\u6570\u636E\u5F02\u5E38","The component {component-designator}({component-id}) not found at the schematic\u3002":"\u5143\u4EF6 {component-designator}({component-id}) \u5728\u539F\u7406\u56FE\u672A\u627E\u5230\u3002","The component {component-designator}({component-id}) not found at the PCB":"\u5143\u4EF6 {component-designator}({component-id}) \u5728PCB\u672A\u627E\u5230\u3002","The component {component-designator}({component-id}) not found at the NetList":"\u5143\u4EF6 {component-designator}({component-id}) \u5728\u7F51\u8868\u672A\u627E\u5230\u3002","Component does not have Unique ID:":"\u5143\u4EF6\u6CA1\u6709\u552F\u4E00ID\uFF1A","The difference between the schematic {sch} diagram and the {pcb} requires manual modification.":"\u539F\u7406\u56FE {sch} \u548C {pcb} \u90E8\u5206\u5DEE\u5F02\u9700\u8981\u624B\u52A8\u4FEE\u6539\u3002",NetList:"\u7F51\u8868","Update PCB to Schematic":"\u66F4\u65B0PCB\u5230\u539F\u7406\u56FE","No PCB page information is not obtained":"\u672A\u83B7\u53D6\u5230PCB\u56FE\u9875\u4FE1\u606F","The component":"\u5143\u4EF6","not found at the schematic.":"\u5728\u539F\u7406\u56FE\u672A\u627E\u5230\u3002","not found at the PCB.":"\u5728PCB\u672A\u627E\u5230\u3002","not found at the NetList.":"\u5728\u7F51\u8868\u672A\u627E\u5230\u3002","The difference between the schematic {sch} diagram and the PCB {pcb} requires manual modification.":"\u539F\u7406\u56FE {sch} \u548C PCB {pcb} \u90E8\u5206\u5DEE\u5F02\u9700\u8981\u624B\u52A8\u4FEE\u6539\u3002","Component Unique ID repeat:":"\u5143\u4EF6\u552F\u4E00ID\u91CD\u590D\uFF1A","Part Code":"\u5143\u4EF6\u7F16\u7801",JLCEDA_PRO:"\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248","The component {pre} ({ids}) symbol is not replaced because the number of parts is not the same.":"\u5143\u4EF6 {pre} ({ids}) \u7B26\u53F7\u672A\u66FF\u6362\uFF0C\u56E0\u4E3A\u90E8\u4EF6\u6570\u91CF\u4E0D\u4E00\u81F4\u3002","Replace failed,because the number of parts is not the same.":"\u66FF\u6362\u5931\u8D25\uFF0C\u7B26\u53F7\u90E8\u4EF6\u6570\u91CF\u4E0D\u4E00\u81F4","Label Menu":"\u6807\u7B7E\u83DC\u5355","Edit PCB":"\u7F16\u8F91PCB","Update Place and Route from Reuse Template...":"\u4ECE\u590D\u7528\u6A21\u677F\u66F4\u65B0\u5E03\u5C40\u5E03\u7EBF...","The number of components in the following group templates is inconsistent with the reuse group, and the missing components are automatically ignored:":"\u4EE5\u4E0B\u7EC4\u5408\u6A21\u677F\u7684\u5143\u4EF6\u6570\u91CF\u4E0E\u590D\u7528\u7EC4\u5408\u4E0D\u4E00\u81F4\uFF0C\u7F3A\u5931\u7684\u5143\u4EF6\u5DF2\u81EA\u52A8\u5FFD\u7565\uFF1A","Place content empty!":"\u653E\u7F6E\u5185\u5BB9\u4E3A\u7A7A\uFF01","Reset default settings":"\u6062\u590D\u9ED8\u8BA4\u8BBE\u7F6E","Reset Default Style":"\u6062\u590D\u9ED8\u8BA4\u6837\u5F0F","Place/Remove Suture Vias":"\u653E\u7F6E/\u79FB\u9664\u7F1D\u5408\u5B54","Shortcut Device":"\u5FEB\u6377\u5668\u4EF6","Shortcut Device - Resistor":"\u5FEB\u6377\u5668\u4EF6 - \u7535\u963B","Shortcut Device - Capacitor":"\u5FEB\u6377\u5668\u4EF6 - \u7535\u5BB9","Shortcut Device - Inductor":"\u5FEB\u6377\u5668\u4EF6 - \u7535\u611F","Shortcut Device - Diode":"\u5FEB\u6377\u5668\u4EF6 - \u4E8C\u6781\u7BA1","Shortcut Device - Test Point":"\u5FEB\u6377\u5668\u4EF6 - \u6D4B\u8BD5\u70B9",Resistor:"\u7535\u963B",Capacitor:"\u7535\u5BB9",Inductor:"\u7535\u611F",add:"\u589E\u52A0",delete:"\u5220\u9664","Project does not have the reuse module {title}!":"\u5DE5\u7A0B\u4E0D\u5B58\u5728\u590D\u7528\u6A21\u5757{title}!","Please select the current project data to save as reuse module!":"\u8BF7\u9009\u62E9\u5F53\u524D\u5DE5\u7A0B\u6570\u636E\u53E6\u5B58\u4E3A\u590D\u7528\u6A21\u5757!","Save As Reuse Block":"\u53E6\u5B58\u4E3A\u590D\u7528\u6A21\u5757","Save As Reuse Block(Local)":"\u53E6\u5B58\u4E3A\u590D\u7528\u6A21\u5757(\u672C\u5730)","Template Schematic:":"\u6A21\u677F\u539F\u7406\u56FE:","Template PCB:":"\u6A21\u677FPCB:","Reuse Module Name:":"\u590D\u7528\u6A21\u5757\u540D\u79F0:","Tips: The template schematic and PCB will be named according to the name of the reuse module and added to the board with the same name":"\u63D0\u793A\uFF1A\u6A21\u677F\u539F\u7406\u56FE\u548CPCB\u5C06\u6309\u7167\u590D\u7528\u6A21\u5757\u540D\u79F0\u547D\u540D\uFF0C\u5E76\u52A0\u5165\u540C\u540D\u677F\u5B50\u4E0B","Please select at least one template schematic or PCB.":"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u6A21\u677F\u539F\u7406\u56FE\u6216PCB","Please select at least one import object":"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5BFC\u5165\u5BF9\u8C61","Delete failed, the current devices {deviceName} not associated symbol.":"\u5220\u9664\u5931\u8D25\uFF0C\u5F53\u524D\u5668\u4EF6 {deviceName} \u672A\u5173\u8054\u7B26\u53F7\u3002","Deletion failed, the symbol associated with the current device {deviceName}\xA0has no content.":"\u5220\u9664\u5931\u8D25\uFF0C\u5F53\u524D\u5668\u4EF6 {deviceName} \u5173\u8054\u7684\u7B26\u53F7\u6CA1\u6709\u5185\u5BB9\u3002","The current pop-up window exists, please continue to operate or close!":"\u5F53\u524D\u5F39\u7A97\u5B58\u5728\u7A97\u53E3\uFF0C\u8BF7\u7EE7\u7EED\u64CD\u4F5C\u6216\u5173\u95ED\uFF01",Popup:"\u5F39\u51FA",Restore:"\u8FD8\u539F","Before Replacement":"\u66FF\u6362\u524D","After Replacement":"\u66FF\u6362\u540E","Available Sale":"\u6709\u552E","Device Standardization":"\u5668\u4EF6\u6807\u51C6\u5316","Device Standardization...":"\u5668\u4EF6\u6807\u51C6\u5316...",Undetermined:"\u5F85\u786E\u5B9A","Allocation number":"\u5F85\u5206\u914D\u7F16\u53F7","Exact Match":"\u5B8C\u5168\u5339\u914D","Not Check":"\u4E0D\u68C0\u67E5","Combined Designators":"\u4F4D\u53F7\u805A\u5408","Show Recommendations":"\u663E\u793A\u63A8\u8350","Assign LCSC Part":"\u5206\u914D\u7ACB\u521B\u7F16\u53F7","Use Recommended Device":"\u4F7F\u7528\u63A8\u8350\u5668\u4EF6","Set to Not Check":"\u8BBE\u7F6E\u4E3A\u4E0D\u68C0\u67E5","Set to Check":"\u8BBE\u7F6E\u4E3A\u68C0\u67E5","LCSC Stock/SMT Stock":"\u7ACB\u521B\u5E93\u5B58/SMT\u5E93\u5B58",Recommended:"\u63A8\u8350","Unit Price":"\u5355\u4EF7",'It is recommended to use "Device Standardization" for inspection and assign of LCSC part numbers, which can reduce BOM errors and facilitate accurate parts purchase in LCSC and parts assembly of JLCPCB SMT. Device standardization inspection is strongly recommended!':"\u63A8\u8350\u4F7F\u7528\u201C\u5668\u4EF6\u6807\u51C6\u5316\u201D\u8FDB\u884C\u68C0\u67E5\u4E0E\u5206\u914D\u7ACB\u521B\u7F16\u53F7\uFF0C\u53EF\u51CF\u5C11BOM\u9519\u8BEF\uFF0C\u4FBF\u4E8E\u5728\u7ACB\u521B\u5546\u57CE\u51C6\u786E\u91C7\u8D2D\u5143\u4EF6\u4E0E\u5728\u5609\u7ACB\u521BSMT\u51C6\u786E\u8D34\u7247\u3002\u5F3A\u70C8\u5EFA\u8BAE\u8FDB\u884C\u5668\u4EF6\u6807\u51C6\u5316\u68C0\u67E5\uFF01",Standardization:"\u6807\u51C6\u5316\u68C0\u67E5","DXF version too old, please import DXF 2007 and above version":"DXF\u7248\u672C\u592A\u4F4E\uFF0C\u8BF7\u5BFC\u5165DXF 2007\u53CA\u4EE5\u4E0A\u7248\u672C","No Device":"\u672A\u7ED1\u5B9A\u5668\u4EF6","Not Related Symbol":"\u672A\u7ED1\u5B9A\u7B26\u53F7","Not Related Footprint":"\u672A\u7ED1\u5B9A\u5C01\u88C5","Found abnormal data, The {AttrKey} property of the following element is incorrect: {components}. Please delete these components, and placing again.":"\u53D1\u73B0\u5F02\u5E38\u6570\u636E\uFF0C\u4EE5\u4E0B\u5143\u4EF6\u7684 {AttrKey} \u5C5E\u6027\u6709\u8BEF\uFF1A {components}\u3002\u8BF7\u5220\u9664\u8BE5\u5143\u4EF6\uFF0C\u518D\u91CD\u65B0\u653E\u7F6E\u3002","Found abnormal data, The {AttrKey} property of the following element is incorrect: {components}. Please delete these components, and placing again, {clearLink}.":"\u53D1\u73B0\u5F02\u5E38\u6570\u636E\uFF0C\u4EE5\u4E0B\u5143\u4EF6\u7684 {AttrKey} \u5C5E\u6027\u6709\u8BEF\uFF1A {components}\u3002\u8BF7\u5220\u9664\u8BE5\u5143\u4EF6\uFF0C\u518D\u91CD\u65B0\u653E\u7F6E, {clearLink}\u3002","Found abnormal data, The {AttrKey} property of the following element is incorrect: {components}. Please re-binding the footprint":"\u53D1\u73B0\u5F02\u5E38\u6570\u636E\uFF0C\u4EE5\u4E0B\u5143\u4EF6\u7684 {AttrKey} \u5C5E\u6027\u6709\u8BEF\uFF1A {components}\u3002\u8BF7\u91CD\u65B0\u5173\u8054\u5C01\u88C5\u3002","Found abnormal data, The {AttrKey} property of the following device library is incorrect: {components}.":"\u53D1\u73B0\u5F02\u5E38\u6570\u636E\uFF0C\u4EE5\u4E0B\u5668\u4EF6\u5E93\u7684 {AttrKey} \u5C5E\u6027\u6709\u8BEF\uFF1A {components}\u3002","The Altium is converting, please wait......":"Altium\u8F6C\u6362\u4E2D\uFF0C\u8BF7\u7A0D\u5019......","Please compress schematic and PCB together as a zip file and then import it, if you only import the schematic you need to binding with the footprint manually. Recommended to save schematic and PCB as ASCII file format to import, otherwise, the importing may be failed or use too much time.":"\u8BF7\u628A\u539F\u7406\u56FE\u548C PCB \u4E00\u8D77\u538B\u7F29\u6210 zip \u538B\u7F29\u5305\u540E\u5BFC\u5165\uFF0C\u53EA\u5BFC\u5165\u539F\u7406\u56FE\u9700\u8981\u624B\u52A8\u91CD\u65B0\u7ED1\u5B9A\u5C01\u88C5\u3002\u5EFA\u8BAE\u628A\u539F\u7406\u56FE\u548C PCB \u53E6\u5B58\u4E3A ASCII \u683C\u5F0F\u540E\u5BFC\u5165\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u5BFC\u5165\u5931\u8D25\u6216\u5BFC\u5165\u65F6\u95F4\u8FC7\u957F\u3002",Thermals:"\u70ED\u710A","Double-click to view the reuse block project":"\u53CC\u51FB\u67E5\u770B\u590D\u7528\u5DE5\u7A0B","The placed block symbol {xxx} has the same name as the block symbol of the current project. Please select the operation you want.":"\u653E\u7F6E\u7684\u590D\u7528\u6A21\u5757\u7B26\u53F7 {xxx} \u4E0E\u5F53\u524D\u5DE5\u7A0B\u7684\u590D\u7528\u6A21\u5757\u7B26\u53F7\u91CD\u540D \uFF0C\u8BF7\u9009\u62E9\u60A8\u9700\u8981\u7684\u64CD\u4F5C\u3002","The placed schematic {xxx} has the same name as the block symbol of the current project. Please select the operation you want.":"\u653E\u7F6E\u7684\u539F\u7406\u56FE {xxx} \u4E0E\u5F53\u524D\u5DE5\u7A0B\u7684\u590D\u7528\u6A21\u5757\u7B26\u53F7\u91CD\u540D \uFF0C\u8BF7\u9009\u62E9\u60A8\u9700\u8981\u7684\u64CD\u4F5C\u3002","The placed schematic {xxx} has the same name as the schematic of the current project. Please select the operation you want.":"\u653E\u7F6E\u7684\u539F\u7406\u56FE {xxx} \u4E0E\u5F53\u524D\u5DE5\u7A0B\u7684\u539F\u7406\u56FE\u91CD\u540D \uFF0C\u8BF7\u9009\u62E9\u60A8\u9700\u8981\u7684\u64CD\u4F5C\u3002","The placed sheet {xxx} has the same name as the sheet of the current project. Please select the operation you want.":"\u653E\u7F6E\u7684\u539F\u7406\u56FE\u56FE\u9875 {xxx} \u4E0E\u5F53\u524D\u5DE5\u7A0B\u7684\u539F\u7406\u56FE\u56FE\u9875\u91CD\u540D \uFF0C\u8BF7\u9009\u62E9\u60A8\u9700\u8981\u7684\u64CD\u4F5C\u3002","The placed pcb {xxx} has the same name as the pcb of the current project. Please select the operation you want.":"\u653E\u7F6E\u7684PCB {xxx} \u4E0E\u5F53\u524D\u5DE5\u7A0B\u7684PCB\u91CD\u540D \uFF0C\u8BF7\u9009\u62E9\u60A8\u9700\u8981\u7684\u64CD\u4F5C\u3002","The current project shall prevail, and no new content will be introduced, and the block symbol xxxx of the current project will be used for placement.":"\u5F53\u524D\u5DE5\u7A0B\u4E3A\u51C6\uFF0C\u5219\u4E0D\u4F1A\u5F15\u5165\u65B0\u5185\u5BB9\uFF0C\u4EE5\u5F53\u524D\u5DE5\u7A0B\u540C\u540D\u5185\u5BB9\u8FDB\u884C\u653E\u7F6E\u3002","When reintroducing, the number suffix will be added to the block symbol, schematic and PCB with the same name as the current project.":"\u91CD\u65B0\u5F15\u5165\u65F6\uFF0C\u4E0E\u5F53\u524D\u5DE5\u7A0B\u91CD\u540D\u7684\u590D\u7528\u6A21\u5757\u7B26\u53F7\u3001\u539F\u7406\u56FE\u3001PCB\u4F1A\u589E\u52A0\u7F16\u53F7\u540E\u7F00\u3002","Current Project Shall Prevail":"\u5F53\u524D\u5DE5\u7A0B\u4E3A\u51C6",Reintroduce:"\u91CD\u65B0\u5F15\u5165","Edit Block Project":"\u7F16\u8F91\u6A21\u5757\u5DE5\u7A0B","Open Block Project":"\u6253\u5F00\u6A21\u5757\u5DE5\u7A0B","Lead Wire\xA0From Pin":"\u5F15\u811A\u5F15\u51FA\u5BFC\u7EBF","No download permission":"\u6CA1\u6709\u4E0B\u8F7D\u6743\u9650","No permission, please contact project manager to enable permission, after enable please refresh the project list and try again":"\u6CA1\u6709\u6743\u9650\uFF0C\u8BF7\u8054\u7CFB\u8D1F\u8D23\u4EBA\u5F00\u542F\uFF0C\u5F00\u542F\u540E\u8BF7\u5237\u65B0\u5DE5\u7A0B\u5217\u8868\u518D\u6B21\u5C1D\u8BD5","Forbidden cross -engineering paste":"\u7981\u6B62\u8DE8\u5DE5\u7A0B\u7C98\u8D34","The exam has ended and cannot be edited":"\u8003\u8BD5\u5DF2\u7ED3\u675F\uFF0C\u65E0\u6CD5\u7F16\u8F91","Exam remaining time":"\u8003\u8BD5\u5269\u4F59\u65F6\u95F4","Exam is over":"\u8003\u8BD5\u7ED3\u675F","Your exam is about to start,":"\u60A8\u7684\u8003\u8BD5\u5373\u5C06\u5F00\u59CB\uFF0C","Your exam is in progress,":"\u60A8\u7684\u8003\u8BD5\u8FDB\u884C\u4E2D\uFF0C","click here to quickly take the exam":"\u70B9\u51FB\u6B64\u5904\u5FEB\u901F\u8003\u8BD5","The exam is over and the test papers are being corrected":"\u8003\u8BD5\u7ED3\u675F\uFF0C\u8BD5\u5377\u6279\u6539\u4E2D","Forbidden cross -engineering paste during the exam":"\u8003\u8BD5\u4E2D\u7981\u6B62\u8DE8\u5DE5\u7A0B\u7C98\u8D34",". The system will automatically submit your exam when it ends, no manual submission required.":"\u3002 \u7ED3\u675F\u540E\u7CFB\u7EDF\u81EA\u52A8\u4EA4\u5377\uFF0C\u65E0\u9700\u624B\u52A8\u63D0\u4EA4\u3002","Forbidden cross -engineering paste during the correction":"\u6279\u6539\u4E2D\u7981\u6B62\u8DE8\u5DE5\u7A0B\u7C98\u8D34","No permission, please contact project manager, after enble please refresh project list":"\u6CA1\u6709\u6743\u9650\uFF0C\u8BF7\u8054\u7CFB\u8D1F\u8D23\u4EBA\uFF0C\u5F00\u542F\u540E\u5237\u65B0\u5DE5\u7A0B\u5217\u8868","No {0} permission,please contact project manager":"\u6CA1\u6709\u3010{0}\u3011\u6743\u9650\uFF0C\u8BF7\u8054\u7CFB\u8D1F\u8D23\u4EBA","No {0} permission,please contact team manager":"\u6CA1\u6709\u3010{0}\u3011\u6743\u9650\uFF0C\u8BF7\u8054\u7CFB\u56E2\u961F\u8D1F\u8D23\u4EBA","Add/Edit Category":"\u65B0\u589E/\u7F16\u8F91\u5206\u7C7B","Delete Category":"\u5220\u9664\u5206\u7C7B","Edit Document":"\u7F16\u8F91\u6587\u6863","Create Document":"\u65B0\u5EFA\u6587\u6863","Add Project Lib":"\u65B0\u5EFA\u5DE5\u7A0B\u5E93","Cross -engineering paste":"\u8DE8\u5DE5\u7A0B\u7C98\u8D34","More Operations":"\u66F4\u591A\u64CD\u4F5C","Failure, please check the relevant parameters:{msg}":"\u751F\u6210\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u76F8\u5173\u53C2\u6570\uFF1A{msg}",Forbidden:"\u4E0D\u53EF\u9009",Operational:"\u53EF\u9009","@@attrPanel":{Common:"\u5E38\u7528"},"Undo successful, the copper priority has been modified in this operation":"\u64A4\u9500\u6210\u529F\uFF0C\u672C\u6B21\u64CD\u4F5C\u5BF9\u94FA\u94DC\u4F18\u5148\u7EA7\u8FDB\u884C\u4E86\u4FEE\u6539","Redo successful, the copper priority has been modified in this operation":"\u91CD\u505A\u6210\u529F\uFF0C\u672C\u6B21\u64CD\u4F5C\u5BF9\u94FA\u94DC\u4F18\u5148\u7EA7\u8FDB\u884C\u4E86\u4FEE\u6539","No data, please try again later!":"\u6682\u65E0\u6570\u636E\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5\uFF01",'Component have been modified the property "Value", the property "Supplier Part" was cleared by automatically:':"\u5143\u4EF6\u4FEE\u6539\u4E86\u5C5E\u6027\u201C\u503C\u201D\uFF0C\u5C5E\u6027\u201C\u4F9B\u5E94\u5546\u7F16\u53F7\u201D \u5DF2\u88AB\u81EA\u52A8\u6E05\u7A7A\uFF1A",'Component have been modified the property "Value", the property "Supplier Part" was cleared by automatically: {ids}':"\u5143\u4EF6\u4FEE\u6539\u4E86\u5C5E\u6027\u201C\u503C\u201D\uFF0C\u5C5E\u6027\u201C\u4F9B\u5E94\u5546\u7F16\u53F7\u201D \u5DF2\u88AB\u81EA\u52A8\u6E05\u7A7A: {ids}",Windows:"\u7A97\u53E3","Can only be moved by select a row":"\u53EA\u80FD\u5355\u9009\u79FB\u52A8","Pin spacing recommendations":"\u5F15\u811A\u95F4\u8DDD\u5EFA\u8BAE","Grid size input range:":"\u7F51\u683C\u5927\u5C0F\u8F93\u5165\u8303\u56F4:","Pin length input range:":"\u5F15\u811A\u957F\u5EA6\u8F93\u5165\u8303\u56F4:","The grid size is recommended to be set to a multiple of {1}":"\u7F51\u683C\u5927\u5C0F\u5EFA\u8BAE\u8BBE\u7F6E\u4E3A{1}\u7684\u500D\u6570","The pin length is recommended to be set to a multiple of {1}":"\u5F15\u811A\u957F\u5EA6\u5EFA\u8BAE\u8BBE\u7F6E\u4E3A{1}\u7684\u500D\u6570","Drawing Width":"\u56FE\u7EB8\u5BBD\u5EA6","Drawing Height":"\u56FE\u7EB8\u9AD8\u5EA6","The generated pads size will little bigger than input size, good for welding":"\u751F\u6210\u7684\u710A\u76D8\u5C3A\u5BF8\u5C06\u7A0D\u5FAE\u5927\u4E8E\u586B\u5199\u7684\u5C3A\u5BF8\uFF0C\u4FBF\u4E8E\u710A\u63A5","Found same name {object} exist!":"\u5B58\u5728\u540C\u540D {object}!","Could not find a unique match based on Designator and ID\uFF1ALine":"\u6839\u636E\u4F4D\u53F7\u548CID\u672A\u80FD\u627E\u5230\u552F\u4E00\u5339\u914D\u9879\uFF1A\u884C","Failed to import some content!":"\u90E8\u5206\u5185\u5BB9\u5BFC\u5165\u5931\u8D25!","The following partitions already has a sub-picture, whether to overwrite the latest partition to the sub-picture:":"\u4EE5\u4E0B\u5206\u533A\u5DF2\u5B58\u5728\u5B50\u56FE\uFF0C\u662F\u5426\u5C06\u6700\u65B0\u5206\u533A\u8986\u76D6\u5230\u5B50\u56FE\uFF1A","This operation will overwrite sub-PCBs with same name. Do you want to continue?":"\u8BE5\u64CD\u4F5C\u5C06\u8986\u76D6\u6389\u5DE6\u4FA7\u6811\u5DF2\u6709\u7684\u540C\u540D\u5206\u533A\u6587\u4EF6, \u662F\u5426\u7EE7\u7EED?","3D Model Manager cannot be used in sub-picture":"\u5B50\u56FE\u6A21\u5F0F\u4E0B\u65E0\u6CD5\u4F7F\u7528\u6A21\u578B\u7BA1\u7406\u5668","No module symbols":"\u6CA1\u6709\u6A21\u5757\u7B26\u53F7","Symbols are automatically generated when placed":"\u653E\u7F6E\u65F6\u4F1A\u81EA\u52A8\u751F\u6210\u7B26\u53F7","Unsaved configs":"\u672A\u4FDD\u5B58\u7684\u914D\u7F6E","Server Error.":"\u670D\u52A1\u9519\u8BEF.","Fetch local 3D model list error.":"\u83B7\u53D6\u672C\u5730 3D \u6A21\u578B\u5217\u8868\u51FA\u9519","Fetch list error.":"\u83B7\u53D6\u5217\u8868\u51FA\u9519","Export Document(Cannot be used for manufacturing)":"\u5BFC\u51FA\u6587\u6863(\u65E0\u6CD5\u7528\u4E8E\u751F\u4EA7\u5236\u9020)","Block Symbol Name":"\u6A21\u5757\u7B26\u53F7\u540D\u79F0","Block Symbol Property":"\u6A21\u5757\u7B26\u53F7\u5C5E\u6027","Instance Position":"\u5B9E\u4F8B\u4F4D\u7F6E","Template Page":"\u6A21\u677F\u9875","Failed to obtain engineering data from local!":"\u4ECE\u672C\u5730\u83B7\u53D6\u5DE5\u7A0B\u6570\u636E\u5931\u8D25!","Prioritize object selection":"\u4F18\u5148\u9009\u62E9\u5BF9\u8C61",Mode:"\u6A21\u5F0F",End:"\u7ED3\u675F",Distance:"\u8DDD\u79BB",Result:"\u7ED3\u679C","Batch Reuse":"\u6279\u91CF\u590D\u7528","Sharing Pin":"\u5171\u7528\u5F15\u811A","Pin Reuse":"\u5F15\u811A\u590D\u7528","Standalone Script...":"\u72EC\u7ACB\u811A\u672C...","Extensions Manager...":"\u6269\u5C55\u7BA1\u7406\u5668...","Standalone Script":"\u72EC\u7ACB\u811A\u672C","Extensions Manager":"\u6269\u5C55\u7BA1\u7406\u5668","Import Extensions":"\u5BFC\u5165\u6269\u5C55","Select the Installation Version":"\u9009\u62E9\u4F60\u60F3\u8981\u5B89\u88C5\u7684\u7248\u672C","Save As":"\u53E6\u5B58\u4E3A","@@extensionApi":{"Standalone Script":"\u72EC\u7ACB\u811A\u672C","Extensions Manager":"\u6269\u5C55\u7BA1\u7406\u5668","Script Name":"\u811A\u672C\u540D\u79F0","Save Script":"\u4FDD\u5B58\u811A\u672C","Delete Selected":"\u5220\u9664\u9009\u4E2D","Please enter or double-click to select the script content you want to edit/execute, and call the EDA Professional Extension API.":"\u8BF7\u8F93\u5165\u6216\u53CC\u51FB\u9009\u62E9\u4F60\u60F3\u8981\u7F16\u8F91/\u6267\u884C\u7684\u811A\u672C\u5185\u5BB9\uFF0C\u652F\u6301\u8C03\u7528\u5609\u7ACB\u521B EDA \u4E13\u4E1A\u7248\u6269\u5C55 API\u3002","Run Script":"\u8FD0\u884C\u811A\u672C",Close:"\u5173\u95ED",Install:"\u5B89\u88C5","Script ID":"\u811A\u672C ID","Import Extensions":"\u5BFC\u5165\u6269\u5C55","Delete Extension":"\u5220\u9664\u6269\u5C55","Extension Name":"\u6269\u5C55\u540D\u79F0",Enable:"\u542F\u7528","Space Occupied":"\u5B58\u50A8\u7A7A\u95F4",Sync:"\u4E91\u7AEF\u540C\u6B65",Yes:"\u662F",No:"\u5426",Categories:"\u7C7B\u578B",Keywords:"\u5173\u952E\u8BCD",Other:"\u5176\u5B83\u4FE1\u606F","engines.eda":"\u9002\u7528 EDA \u7248\u672C",license:"\u8BB8\u53EF",More:"\u66F4\u591A",Repository:"\u4ED3\u5E93",Bugs:"\u53CD\u9988",Homepage:"\u4E3B\u9875","Allow interactive with external":"\u5141\u8BB8\u5916\u90E8\u4EA4\u4E92","Auto update":"\u81EA\u52A8\u66F4\u65B0","Register Menu":"\u6CE8\u518C\u83DC\u5355",uuid:"UUID","No details available.":"\u6682\u65E0\u8BE6\u60C5\u3002","No changelog available.":"\u6682\u65E0\u65E5\u5FD7\u3002","No extensions data available.":"\u6682\u65E0\u6570\u636E\u3002","Change Log":"\u66F4\u6539\u65E5\u5FD7","Show at header menu":"\u663E\u793A\u5728\u9876\u90E8\u83DC\u5355",Version:"\u7248\u672C","Created Time":"\u521B\u5EFA\u65F6\u95F4","Compatibility (Mark by author)":"\u517C\u5BB9\u6027\uFF08\u7531\u4F5C\u8005\u6807\u8BB0\uFF09","Not supported":"\u4E0D\u652F\u6301",Unknown:"\u672A\u77E5","Main line support":"\u652F\u6301\u5F53\u524D\u7248\u672C","Not tested":"\u672A\u5728\u5F53\u524D\u7248\u672C\u6D4B\u8BD5","Install a specific version...":"\u5B89\u88C5\u7279\u5B9A\u7248\u672C...","Starting the DFM client":"\u6B63\u5728\u542F\u52A8 DFM \u5BA2\u6237\u7AEF","The DFM connection attempt is in progress...":"\u6B63\u5728\u8FDB\u884C DFM \u8FDE\u63A5\u5C1D\u8BD5...","The DFM client is successfully connected!":"\u6210\u529F\u8FDE\u63A5 DFM \u5BA2\u6237\u7AEF\uFF01","Do this on the PCB canvas!":"\u8BF7\u5728 PCB \u753B\u5E03\u6267\u884C\u672C\u64CD\u4F5C\uFF01","Compare linkage has begun!":"\u5BF9\u6BD4\u8054\u52A8\u5DF2\u5F00\u59CB\uFF01","The DFM WebSocket server failed to start!":"DFM WebSocket \u670D\u52A1\u65E0\u6CD5\u542F\u52A8\uFF01","Compare linkage has stopped.":"\u5BF9\u6BD4\u8054\u52A8\u5DF2\u505C\u6B62\u3002","The current canvas change has been detected, and the linkage has stopped.":"\u68C0\u6D4B\u5230\u5F53\u524D\u753B\u5E03\u53D8\u66F4\uFF0C\u8054\u52A8\u5DF2\u505C\u6B62\u3002"},"Extension installation failed!":"\u6269\u5C55\u5B89\u88C5\u5931\u8D25\uFF01","Extension installation failed! No download permissions!":"\u6269\u5C55\u5B89\u88C5\u5931\u8D25\uFF0C\u60A8\u6CA1\u6709\u4E0B\u8F7D\u6269\u5C55\u7684\u6743\u9650\uFF01","The simulation connection attempt is in progress...":"\u6B63\u5728\u8FDB\u884C\u4EFF\u771F\u8FDE\u63A5\u5C1D\u8BD5...","The simulation engine is successfully connected!":"\u6210\u529F\u8FDE\u63A5\u4EFF\u771F\u5F15\u64CE\uFF01","Starting the simulation engine...":"\u6B63\u5728\u542F\u52A8\u4EFF\u771F\u5F15\u64CE...","Horizontal Split":"\u6C34\u5E73\u5206\u5272","Vertical Split":"\u5782\u76F4\u5206\u5272","Tile All":"\u5E73\u94FA\u6240\u6709","Merge All":"\u5408\u5E76\u6240\u6709","Window Arrangement":"\u7A97\u53E3\u6392\u5217","Tile Horizontally":"\u6C34\u5E73\u5E73\u94FA","Tile Vertically":"\u5782\u76F4\u5E73\u94FA","Tip: Clicking cancel will only delete objects that are not components":"\u63D0\u793A\uFF1A\u70B9\u51FB\u53D6\u6D88\u540E\u5C06\u4EC5\u5220\u9664\u975E\u5143\u4EF6\u5BF9\u8C61","Modify failed\uFF01Please type in the format: start value, end value.":"\u4FEE\u6539\u5931\u8D25\uFF01\u8BF7\u6309\u683C\u5F0F\u8F93\u5165\uFF1A\u8D77\u59CB\u503C\uFF0C\u7ED3\u675F\u503C","Board Thickness0.11mm":"\u677F\u539A0.11mm","Board Thickness0.12mm":"\u677F\u539A0.12mm","Board Thickness0.2mm":"\u677F\u539A0.2mm","Export DSN failed! Found abnormal pad(s) data, please modify the pad width and height to fix, the pads(s) please refer at the log.":"\u5BFC\u51FA DSN \u5931\u8D25\uFF01\u53D1\u73B0\u5F02\u5E38\u710A\u76D8\u6570\u636E\uFF0C\u8BF7\u4FEE\u6539\u710A\u76D8\u7684\u5BBD\u548C\u9AD8\u8FDB\u884C\u4FEE\u6B63\u3002\u5177\u4F53\u710A\u76D8\u8BF7\u67E5\u770B\u65E5\u5FD7\u3002","Export DSN failed! Found abnormal pad(s) data, please modify the pad width and height to fix:":"\u65E5\u5FD7\uFF1A\u5BFC\u51FA DSN \u5931\u8D25\uFF01\u53D1\u73B0\u5F02\u5E38\u710A\u76D8\u6570\u636E\uFF0C\u8BF7\u4FEE\u6539\u710A\u76D8\u7684\u5BBD\u548C\u9AD8\u8FDB\u884C\u4FEE\u6B63\uFF1A","Format is not supported!":"\u683C\u5F0F\u4E0D\u652F\u6301\uFF01","The conversion of binary files failed!":"\u4E8C\u8FDB\u5236\u6587\u4EF6\u8F6C\u6362\u5931\u8D25\uFF01","Do not support binary files!":"\u6682\u4E0D\u652F\u6301\u4E8C\u8FDB\u5236\u6587\u4EF6\u5BFC\u5165\uFF01","You need to close the copper manager before drawing, whether to save and close immediately.":"\u9700\u8981\u5173\u95ED\u94FA\u94DC\u7BA1\u7406\u5668\u518D\u8FDB\u884C\u7ED8\u5236\uFF0C\u662F\u5426\u7ACB\u5373\u4FDD\u5B58\u5E76\u5173\u95ED","Print Failed":"\u6253\u5370\u5931\u8D25","Page Config":"\u9875\u914D\u7F6E","Raise Priority":"\u63D0\u9AD8\u4F18\u5148\u7EA7","Lower Priority":"\u964D\u4F4E\u4F18\u5148\u7EA7","The {temp} to which this object belongs is currently hidden. Do you want to unhide them?":"\u8BE5\u5BF9\u8C61\u6240\u5C5E\u7684{temp}\u5F53\u524D\u4E3A\u9690\u85CF\u72B6\u6001\uFF0C\u662F\u5426\u53D6\u6D88\u9690\u85CF\uFF1F","The {temp} to which this object belongs is currently hidden. Do you want to unhide it?":"\u8BE5\u5BF9\u8C61\u6240\u5C5E\u7684{temp}\u5F53\u524D\u4E3A\u9690\u85CF\u72B6\u6001\uFF0C\u662F\u5426\u53D6\u6D88\u9690\u85CF\uFF1F",and:"\u548C",Action:"\u52A8\u4F5C",Processed:"\u5DF2\u5904\u7406",Unprocessed:"\u672A\u5904\u7406","mark as open":"\u6807\u8BB0\u4E3A\u672A\u5904\u7406","mark as done":"\u6807\u8BB0\u4E3A\u5DF2\u5904\u7406","Current Project":"\u5F53\u524D\u5DE5\u7A0B","Current Document":"\u5F53\u524D\u6587\u6863","Canvas Display Annotions":"\u753B\u5E03\u663E\u793A\u6279\u6CE8",Reply:"\u56DE\u590D","Primitives deleted":"\u56FE\u5143\u5DF2\u5220\u9664","Document deleted":"\u6587\u6863\u5DF2\u5220\u9664","User does not exist":"\u7528\u6237\u4E0D\u5B58\u5728","Please enter comment content":"\u8BF7\u8F93\u5165\u6279\u6CE8\u5185\u5BB9","Add Annotation":"\u6DFB\u52A0\u6279\u6CE8","Instance Page":"\u5B9E\u4F8B\u9875","Mininum Optimized Width":"\u6700\u5C0F\u4F18\u5316\u5BBD\u5EA6","@@Annotation":{Region:"\u533A\u57DF"},Sales:"\u9500\u91CF","4 Hours Delivery from Stock":"\u73B0\u8D27\u5E93\u5B58\u6700\u5FEB4\u5C0F\u65F6\u53D1\u8D27",Discount:"\u6298\u6263","Check Out":"\u7B7E\u51FA","Check In":"\u7B7E\u5165","Check Out All":"\u7B7E\u51FA\u5168\u90E8","Check In All":"\u7B7E\u5165\u5168\u90E8","Clear Unlock":"\u6E05\u9664\u7B7E\u51FA","Check Out Top Page":"\u7B7E\u51FA\u9876\u5C42\u9875","Check Out Template Page":"\u7B7E\u51FA\u6A21\u677F\u9875","Check In Top Page":"\u7B7E\u5165\u9876\u5C42\u9875","Check In Template Page":"\u7B7E\u5165\u6A21\u677F\u9875","Comprehensive Sort":"\u7EFC\u5408\u6392\u5E8F","Spot inventory can be shipped within 4 hours at the fastest":"\u73B0\u8D27\u5E93\u5B58\u6700\u5FEB4\u5C0F\u65F6\u53D1\u8D27","check out":"\u7B7E\u51FA","Failed to modification some content":"\u90E8\u5206\u5185\u5BB9\u4FEE\u6539\u5931\u8D25",Strict:"\u4E25\u683C","Free Collaboration Mode":"\u81EA\u7531\u534F\u4F5C\u6A21\u5F0F","Strict Collaboration Mode":"\u4E25\u683C\u534F\u4F5C\u6A21\u5F0F","checkOut success!":"\u7B7E\u51FA\u6210\u529F","checkIn success!":"\u7B7E\u5165\u6210\u529F","You do not need to check in or out to edit the document, and saving the same page by multiple people will overwrite each other.":"\u4E0D\u9700\u8981\u7B7E\u5165\u7B7E\u51FA\u64CD\u4F5C\u5373\u53EF\u7F16\u8F91\u6587\u6863\uFF0C\u591A\u4EBA\u7F16\u8F91\u4FDD\u5B58\u540C\u4E00\u9875\u4F1A\u76F8\u4E92\u8986\u76D6\u3002","You need to check out to obtain editing permission, and multiple people cannot check out the same page at the same time.":"\u9700\u8981\u7B7E\u51FA\u83B7\u53D6\u7F16\u8F91\u6743\u9650\uFF0C\u4E0D\u80FD\u591A\u4EBA\u540C\u65F6\u7B7E\u51FA\u540C\u4E00\u9875\u3002","In strict collaboration mode, if you need to edit the page, please right-click on the page of the project design module, or right-click on the blank of the opened page, check out and edit the page.":"\u4E25\u683C\u534F\u4F5C\u6A21\u5F0F\u4E0B\uFF0C\u5982\u9700\u7F16\u8F91\u56FE\u9875\uFF0C\u8BF7\u5728\u5DE5\u7A0B\u8BBE\u8BA1\u6A21\u5757\u7684\u56FE\u9875\u4E0A\u53F3\u952E\uFF0C\u6216\u5728\u5DF2\u6253\u5F00\u7684\u56FE\u9875\u7A7A\u767D\u5904\u53F3\u952E,\u7B7E\u51FA\u540E\u7F16\u8F91\u56FE\u9875\u3002","{pageName} checked out by {nickName} ,unable to edit;Contact the checked out user or project owner for editing.":"{pageName} \u5DF2\u88AB {nickName} \u7B7E\u51FA\uFF0C\u65E0\u6CD5\u7F16\u8F91\uFF1B\u5982\u9700\u7F16\u8F91\u8BF7\u8054\u7CFB\u7B7E\u51FA\u4EBA\u6216\u5DE5\u7A0B\u6240\u6709\u8005\u3002","In strict collaboration mode, if you need to edit the canvas, please check out the template page {rootPage}; To edit instance properties, please check out the top-level diagram page {topPage}.":"\u4E25\u683C\u534F\u4F5C\u6A21\u5F0F\u4E0B\uFF0C\u5982\u9700\u7F16\u8F91\u753B\u5E03\uFF0C\u8BF7\u7B7E\u51FA\u6A21\u7248\u9875 {rootPage}\uFF1B\u5982\u9700\u7F16\u8F91\u5B9E\u4F8B\u5C5E\u6027\uFF0C\u8BF7\u7B7E\u51FA\u6700\u4E0A\u5C42\u56FE\u9875 {topPage}\u3002","In strict collaboration mode, the template page {rootPage} has already been checked out by {rootNickName} needs to be displayed simultaneously. If you need to edit the canvas, please contact the checker or project owner; The top-level diagram page {topPage} has already been checked out by {topNickName} needs to be displayed simultaneously. To edit instance properties, please contact the person who checked out or the project owner.":"\u4E25\u683C\u534F\u4F5C\u6A21\u5F0F\u4E0B\uFF0C\u6A21\u7248\u9875 {rootPage} \u5DF2\u88AB {rootNickName} \u7B7E\u51FA\uFF0C\u5982\u9700\u7F16\u8F91\u753B\u5E03\u8BF7\u8054\u7CFB\u7B7E\u51FA\u4EBA\u6216\u5DE5\u7A0B\u6240\u6709\u8005\uFF1B\u6700\u4E0A\u5C42\u56FE\u9875 {topPage} \u5DF2\u88AB {topNickName} \u7B7E\u51FA\uFF0C\u5982\u9700\u7F16\u8F91\u5B9E\u4F8B\u5C5E\u6027\uFF0C\u8BF7\u8054\u7CFB\u7B7E\u51FA\u4EBA\u6216\u5DE5\u7A0B\u6240\u6709\u8005\u3002","{userName}(project owner)":"{userName}\uFF08\u5DE5\u7A0B\u6240\u6709\u8005\uFF09","The files to be restored do not have edit permissions":"\u5C06\u8981\u8FD8\u539F\u7684\u8FD9\u4E9B\u6587\u4EF6\u6CA1\u6709\u7F16\u8F91\u6743\u9650","Import failed, the project is locked.":"\u5BFC\u5165\u5931\u8D25\uFF0C\u5DE5\u7A0B\u5DF2\u9501\u5B9A\u3002","Import failed, no project edit permission.":"\u5BFC\u5165\u5931\u8D25\uFF0C\u6CA1\u6709\u5DE5\u7A0B\u7F16\u8F91\u6743\u9650\u3002","Import failed, no {0} permission.":"\u5BFC\u5165\u5931\u8D25\uFF0C\u6CA1\u6709{0}\u6743\u9650\u3002","File import":"\u6587\u4EF6\u5BFC\u5165","Instance properties":"\u5B9E\u4F8B\u5C5E\u6027","Missing!":"\u4E22\u5931!","In strict collaboration mode,":"\u4E25\u683C\u534F\u4F5C\u6A21\u5F0F\u4E0B\uFF0C","if you need to edit the diagram page,Please check out the template page{rootPage};":"\u5982\u9700\u7F16\u8F91\u753B\u5E03\uFF0C\u8BF7\u7B7E\u51FA\u6A21\u7248\u9875{rootPage};","template page {rootPage} checked out by {rootNickName} ,Contact the checked out user or project owner for edit diagram page.":"\u6A21\u7248\u9875 {rootPage} \u5DF2\u88AB {rootNickName} \u7B7E\u51FA\uFF0C\u5982\u9700\u7F16\u8F91\u753B\u5E03\uFF0C\u8BF7\u8054\u7CFB\u7B7E\u51FA\u4EBA\u6216\u5DE5\u7A0B\u6240\u6709\u8005\uFF1B","To edit instance properties,Please check out the top page {topPage}.":"\u5982\u9700\u7F16\u8F91\u5B9E\u4F8B\u5C5E\u6027\uFF0C\u8BF7\u7B7E\u51FA\u9876\u5C42\u9875{topPage}\u3002","top page {topPage} checked out by {topNickName} ,Contact the checked out user or project owner for edit instance properties.":"\u6700\u4E0A\u5C42\u56FE\u9875 {topPage} \u5DF2\u88AB {topNickName} \u7B7E\u51FA\uFF0C\u5982\u9700\u7F16\u8F91\u5B9E\u4F8B\u5C5E\u6027\uFF0C\u8BF7\u8054\u7CFB\u7B7E\u51FA\u4EBA\u6216\u5DE5\u7A0B\u6240\u6709\u8005\u3002","The project has been locked,Contact the project owner {nickName} or administrator for edit project.":"\u5DE5\u7A0B\u5DF2\u9501\u5B9A\uFF0C\u5982\u679C\u9700\u8981\u7F16\u8F91\u8BF7\u8054\u7CFB\u5DE5\u7A0B\u8D1F\u8D23\u4EBA{nickName}\u6216\u7BA1\u7406\u5458\u3002","The project has been archived,Contact the project owner {nickName} or administrator for edit project.":"\u5DE5\u7A0B\u5DF2\u5F52\u6863\uFF0C\u5982\u679C\u9700\u8981\u7F16\u8F91\u8BF7\u8054\u7CFB\u5DE5\u7A0B\u8D1F\u8D23\u4EBA{nickName}\u6216\u7BA1\u7406\u5458\u3002","You do not have permission to edit the project,Contact the project owner {nickName} or administrator for edit project.":"\u6CA1\u6709\u5DE5\u7A0B\u7F16\u8F91\u6743\u9650\uFF0C\u5982\u679C\u9700\u8981\u7F16\u8F91\u8BF7\u8054\u7CFB\u5DE5\u7A0B\u6240\u6709\u8005 {nickName} \u6216\u7BA1\u7406\u5458\u3002","This project is an open source project(license: {license}). If you need to edit it, please save as a new project and continue.":"\u8BE5\u5DE5\u7A0B\u662F\u5F00\u6E90\u5DE5\u7A0B(\u534F\u8BAE: {license})\uFF0C\u5982\u679C\u9700\u8981\u7F16\u8F91\uFF0C\u8BF7\u53E6\u5B58\u4E3A\u65B0\u5DE5\u7A0B\u540E\u7EE7\u7EED\u3002","The current project directory is read-only,please modify it before editing.":"\u5F53\u524D\u5DE5\u7A0B\u6240\u5728\u76EE\u5F55\u4E3A\u53EA\u8BFB\u5C5E\u6027\uFF0C \u8BF7\u4FEE\u6539\u540E\u8FDB\u884C\u7F16\u8F91","Checkout Person":"\u7B7E\u51FA\u4EBA","Check in auto save failed!":"\u7B7E\u5165\u81EA\u52A8\u4FDD\u5B58\u5931\u8D25\uFF01","check out the top page":"\u7B7E\u51FA\u9876\u5C42\u9875","check out the template page":"\u7B7E\u51FA\u6A21\u7248\u9875","Autorouting...":"\u81EA\u52A8\u5E03\u7EBF\u4E2D...","Initializing...":"\u521D\u59CB\u5316...","Routing...":"\u5E03\u7EBF\u4E2D...","Track optimizing...":"\u5BFC\u7EBF\u4F18\u5316\u4E2D...","Export Annotation":"\u5BFC\u51FA\u6279\u6CE8","IPC/DAC-2552 Properties...":"IPC/DAC-2552\u5C5E\u6027...",'Preview 3D File to Generate Component 3D Model Automatically (based on the "Height" property)':'\u9884\u89C83D\u6587\u4EF6\u81EA\u52A8\u751F\u6210\u5143\u4EF63D\u6A21\u578B(\u6839\u636E"\u9AD8\u5EA6"\u5C5E\u6027)',"Device/Reuse Block":"\u5668\u4EF6/\u590D\u7528\u6A21\u5757","Simulate Device":"\u4EFF\u771F\u5668\u4EF6",OSHWHub:"\u5F00\u6E90\u5E7F\u573A",OSHWLab:"\u5F00\u6E90\u5E7F\u573A","Select Font":"\u9009\u62E9\u5B57\u4F53","The following pages need to be checked out before it can be renamed: {sheets}.":"\u4EE5\u4E0B\u56FE\u9875\u9700\u8981\u5148\u7B7E\u51FA\u624D\u80FD\u8FDB\u884C\u91CD\u547D\u540D\uFF1A{sheets}","The following panels need to be checked out before it can be renamed: {panels}.":"\u4EE5\u4E0B\u9762\u677F\u9700\u8981\u5148\u7B7E\u51FA\u624D\u80FD\u8FDB\u884C\u91CD\u547D\u540D\uFF1A{panels}","The following PCB need to be checked out before it can be renamed: {pcbs}.":"\u4EE5\u4E0BPCB\u9700\u8981\u5148\u7B7E\u51FA\u624D\u80FD\u8FDB\u884C\u91CD\u547D\u540D\uFF1A{pcbs}","The following pages need to be checked out before it can be delete: {checkoutlink}.":"\u4EE5\u4E0B\u56FE\u9875\u9700\u8981\u5148\u7B7E\u51FA\u624D\u80FD\u8FDB\u884C\u5220\u9664\uFF1A{checkoutlink}","The following PCB need to be checked out before it can be delete: {checkoutlink}.":"\u4EE5\u4E0BPCB\u9700\u8981\u5148\u7B7E\u51FA\u624D\u80FD\u8FDB\u884C\u5220\u9664\uFF1A{checkoutlink}","The following panels need to be checked out before it can be delete: {checkoutlink}.":"\u4EE5\u4E0B\u9762\u677F\u9700\u8981\u5148\u7B7E\u51FA\u624D\u80FD\u8FDB\u884C\u5220\u9664\uFF1A{checkoutlink}","Some content does not have editing privileges.":"\u90E8\u5206\u5185\u5BB9\u6CA1\u6709\u7F16\u8F91\u6743\u9650.","Some content does not have editing privileges\uFF1A{checkoutLink}.":"\u90E8\u5206\u5185\u5BB9\u6CA1\u6709\u7F16\u8F91\u6743\u9650\uFF1A{checkoutLink}.",Uncategorized:"\u672A\u5206\u7C7B","New in Batch":"\u6279\u91CF\u521B\u5EFA","Create Devices in Batch":"\u6279\u91CF\u521B\u5EFA\u5668\u4EF6","Create doesn't exist Symbol and Footprint automatically":"\u81EA\u52A8\u521B\u5EFA\u4E0D\u5B58\u5728\u7684\u7B26\u53F7\u548C\u5C01\u88C5","Export Template":"\u5BFC\u51FA\u6A21\u677F","Automatically update existing devices with the same name":"\u81EA\u52A8\u66F4\u65B0\u5DF2\u6709\u540C\u540D\u5668\u4EF6","1. Please follow the template xlsx file to edit and then import.":"1\u3001\u8BF7\u6839\u636E\u8868\u683C\u6A21\u677F\u6587\u4EF6\u7F16\u8F91\u597D\u540E\u518D\u5BFC\u5165\u3002","2. Please create the Symbol/Footprint/3D Model libraries first at the corresponding owner library, when create devices, the editor will binding with the same name Symbol/Footprint/3D Model libraries automatically.":"2\u3001\u8BF7\u5148\u5728\u5BF9\u5E94\u7684\u6240\u6709\u8005\u5E93\u522B\u4E2D\u521B\u5EFA\u597D\u7B26\u53F7/\u5C01\u88C5/3D\u6A21\u578B\u5E93\uFF0C\u6279\u91CF\u521B\u5EFA\u5668\u4EF6\u65F6\uFF0C\u5C06\u6839\u636E\u540C\u540D\u7684\u7B26\u53F7/\u5C01\u88C5/3D\u6A21\u578B\u5E93\u540D\u8FDB\u884C\u81EA\u52A8\u5173\u8054\u7ED1\u5B9A\u3002",'3. The first columns "Device" of the template file is the must item, the content can\'t be duplicated. The columns title cannot appear charater "." and "$"':"3\u3001\u6A21\u677F\u6587\u4EF6\u7684 Device \u5217\u4E3A\u5FC5\u586B\u9879\uFF0C\u5185\u5BB9\u4E0D\u5141\u8BB8\u91CD\u590D\u3002\u5217\u8868\u5934\u540D\u4E0D\u80FD\u51FA\u73B0\u5B57\u7B26 \u201C.\u201D \u548C \u201C$\u201D\u3002","4. Suggest no more than 2000 devices in per time importing.":"4\u3001\u5EFA\u8BAE\u6BCF\u6B21\u5BFC\u5165\u4E0D\u8D85\u8FC72000\u5668\u4EF6\u3002",'Import failed! The property name cannot appear charater "." and "$"':"\u5BFC\u5165\u5931\u8D25\uFF01\u5C5E\u6027\u540D\u4E0D\u80FD\u51FA\u73B0\u5B57\u7B26 \u201C.\u201D \u548C \u201C$\u201D",'Import failed! The columns "Device" has empty content or doesn\'t exist':"\u5BFC\u5165\u5931\u8D25\uFF01Device\u5217\u5B58\u5728\u7A7A\u5185\u5BB9\u6216\u4E0D\u5B58\u5728","{nums} devices import failed, has duplicated content at the sheet \u201CDevice\u201D columns:":"{nums}\u4E2A\u5668\u4EF6\u5BFC\u5165\u5931\u8D25\uFF0C\u8868\u683C\u91CCDevice\u5217\u5B58\u5728\u91CD\u540D\uFF1A","{nums} devices binding symbol failed, the symbol doesn't exist":"{nums}\u4E2A\u5668\u4EF6\u5173\u8054\u7B26\u53F7\u5931\u8D25\uFF0C\u7B26\u53F7\u4E0D\u5B58\u5728","{nums} devices binding footprint failed, the footprint doesn't exist":"{nums}\u4E2A\u5668\u4EF6\u5173\u8054\u5C01\u88C5\u5931\u8D25\uFF0C\u5C01\u88C5\u4E0D\u5B58\u5728","{nums} devices binding 3d model failed, the 3d model doesn't exist":"{nums}\u4E2A\u5668\u4EF6\u5173\u80543D\u6A21\u578B\u5931\u8D25\uFF0C3D\u6A21\u578B\u4E0D\u5B58\u5728","Warning! The footprint name has Allegro doesn't support charaters \u201C; ! .\u201D or space":"\u8B66\u544A\uFF01\u5C01\u88C5\u540D\u5B58\u5728Allegro\u4E0D\u652F\u6301\u7684\u5B57\u7B26\u201C; ! .\u201D\u6216\u7A7A\u683C","The footprint name has Allegro doesn't support charaters \u201C; ! .\u201D or space, suggest modify and then export netlist again: {checkoutLink}.":"\u5143\u4EF6\u5C01\u88C5\u540D\u5B58\u5728Allegro\u4E0D\u652F\u6301\u7684\u5B57\u7B26\u201C; ! .\u201D\u6216\u7A7A\u683C\uFF0C\u5EFA\u8BAE\u4FEE\u6539\u540E\u518D\u5BFC\u51FA\u7F51\u8868\uFF1A{checkoutLink}.","Warning! The component or footprint name has PADS doesn't support charaters \u201C* : ? @\u201D or space":"\u8B66\u544A\uFF01\u5143\u4EF6\u540D\u6216\u5C01\u88C5\u540D\u5B58\u5728PADS\u4E0D\u652F\u6301\u7684\u5B57\u7B26\u201C* : ? @\u201D\u6216\u7A7A\u683C","The component or footprint name has PADS doesn't support charaters \u201C* : ? @\u201D or space, suggest modify and then export netlist again: {checkoutLink}.":"\u5143\u4EF6\u6216\u5C01\u88C5\u540D\u5B58\u5728PADS\u4E0D\u652F\u6301\u7684\u5B57\u7B26\u201C* : ? @\u201D\u6216\u7A7A\u683C\uFF0C\u5EFA\u8BAE\u4FEE\u6539\u540E\u518D\u5BFC\u51FA\u7F51\u8868\uFF1A{checkoutLink}.","Warming! The footprint name has Allegro doesn't support charaters\xA0\u201C; ! .\u201D\xA0or space":"\u8B66\u544A\uFF01\u5C01\u88C5\u540D\u5B58\u5728Allegro\u4E0D\u652F\u6301\u7684\u5B57\u7B26\u201C; ! .\u201D\u6216\u7A7A\u683C","The footprint name\xA0has Allegro doesn't support charaters\xA0\u201C; ! .\u201D\xA0or space,\xA0suggest modify and then export netlist again:\xA0{checkoutLink}":"\u5143\u4EF6\u5C01\u88C5\u540D\u5B58\u5728Allegro\u4E0D\u652F\u6301\u7684\u5B57\u7B26\u201C; ! .\u201D\u6216\u7A7A\u683C\uFF0C\u5EFA\u8BAE\u4FEE\u6539\u540E\u518D\u5BFC\u51FA\u7F51\u8868\uFF1A{checkoutLink}","Warming! The footprint name has\xA0PADS doesn't support charaters \u201C* : ? @\u201D\xA0or space":"\u8B66\u544A\uFF01\u5C01\u88C5\u540D\u5B58\u5728PADS\u4E0D\u652F\u6301\u7684\u5B57\u7B26\u201C* : ? @\u201D\u6216\u7A7A\u683C","The\xA0component\xA0or footprint name has\xA0PADS doesn't support charaters\xA0\u201C* : ? @\u201D\xA0or space,\xA0suggest modify and then export netlist again:\xA0{checkoutLink}":"\u5143\u4EF6\u6216\u5C01\u88C5\u540D\u5B58\u5728PADS\u4E0D\u652F\u6301\u7684\u5B57\u7B26\u201C* : ? @\u201D\u6216\u7A7A\u683C\uFF0C\u5EFA\u8BAE\u4FEE\u6539\u540E\u518D\u5BFC\u51FA\u7F51\u8868\uFF1A{checkoutLink}","@@pinType":{Input:"\u8F93\u5165",Output:"\u8F93\u51FA",Bidirectional:"\u53CC\u5411","Open Collector":"\u5F00\u96C6\u7535\u6781","Open Emitter":"\u5F00\u53D1\u5C04\u6781",Power:"\u7535\u6E90",HIZ:"\u9AD8\u963B",Undefined:"\u672A\u5B9A\u4E49",Terminator:"\u4FE1\u53F7\u7EC8\u7AEF",Ground:"\u5730"},"Inverted Clock":"\u53CD\u76F8\u65F6\u949F",PinShape:"\u5F15\u811A\u5F62\u72B6","Real-time Price":"\u5B9E\u65F6\u4EF7\u683C","Real-time Stock":"\u5B9E\u65F6\u5E93\u5B58","Real-time Price:":"\u5B9E\u65F6\u4EF7\u683C\uFF1A","Real-time Stock:":"\u5B9E\u65F6\u5E93\u5B58\uFF1A","Price:":"\u4EF7\u683C\uFF1A","Stock:":"\u5E93\u5B58\uFF1A","Please enter correct price":"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u4EF7\u683C","Separate sub-picture":"\u5206\u51FA\u5B50\u56FE","Merge into main image":"\u5408\u5165\u4E3B\u56FE",partition:"\u5206\u533A","Partition Manager":"\u5206\u533A\u7BA1\u7406\u5668","Partition Manager...":"\u5206\u533A\u7BA1\u7406\u5668...","Update into current PCB":"\u66F4\u65B0\u5230\u5F53\u524D PCB","No data":"\u6682\u65E0\u6570\u636E","No partition selected":"\u672A\u9009\u62E9\u4EFB\u4F55\u5206\u533A","Only a single partition can be selected for viewing":"\u53EA\u80FD\u9009\u4E2D\u5355\u4E2A\u5206\u533A\u67E5\u770B","Draw Partition":"\u7ED8\u5236\u5206\u533A","Tips: When merged into the main picture state, the main picture can operate the partition; after the sub-picture is separated, the main picture can not operate the partition, only the sub-picture can be operated":"\u63D0\u793A\uFF1A\u5408\u5165\u4E3B\u56FE\u72B6\u6001\u65F6\uFF0C\u4E3B\u56FE\u53EF\u4EE5\u64CD\u4F5C\u5206\u533A\uFF1B\u5206\u51FA\u5B50\u56FE\u540E\uFF0C\u4E3B\u56FE\u4E0D\u53EF\u64CD\u4F5C\u5206\u533A\uFF0C\u4EC5\u5B50\u56FE\u53EF\u4EE5\u64CD\u4F5C","It is detected that the {name} partition overlaps with other partitions, and the sub-picture cannot be separated":"\u68C0\u6D4B\u5230 {name} \u5206\u533A\u4E0E\u5176\u4ED6\u5206\u533A\u6709\u91CD\u53E0\uFF0C\u65E0\u6CD5\u5206\u51FA\u5B50\u56FE","The following partitions already have sub-pictures, whether to overwrite the latest partitions to the sub-pictures:":"\u4EE5\u4E0B\u5206\u533A\u5DF2\u5B58\u5728\u5B50\u56FE\uFF0C\u662F\u5426\u5C06\u6700\u65B0\u5206\u533A\u8986\u76D6\u5230\u5B50\u56FE:","The name of the libraries you binding or save as already existed at current library owner, please select the option and continue:":"\u4F60\u7ED1\u5B9A\u6216\u53E6\u5B58\u4E3A\u7684\u5E93\u5728\u5F53\u524D\u5F52\u5C5E\u4E0B\u5DF2\u6709\u540C\u540D\u5E93\uFF0C\u8BF7\u9009\u62E9\u9009\u9879\u7EE7\u7EED\u64CD\u4F5C\uFF1A","Use the existed library":"\u4F7F\u7528\u5DF2\u6709\u7684\u5E93","Create new and auto rename":"\u65B0\u5EFA\u5E76\u81EA\u52A8\u5904\u7406\u91CD\u540D","Use the existed library and replace the content":"\u4F7F\u7528\u5DF2\u6709\u7684\u5E93\u5E76\u66FF\u6362\u5176\u5185\u5BB9","@@exportD3File":{Part:"\u96F6\u4EF6",Assembly:"\u88C5\u914D\u4F53"},"Export Option":"\u5BFC\u51FA\u9009\u9879","Signal layer circuits":"\u4FE1\u53F7\u5C42\u7EBF\u8DEF","The export time might be significantly lengthened to between 10 and 20 minutes by choosing to export via, silkscreen, and signal layer circuits, Please be informed.":"\u9009\u62E9\u5BFC\u51FA\u8FC7\u5B54\u3001\u4E1D\u5370\u3001\u4FE1\u53F7\u5C42\u7EBF\u8DEF\uFF0C\u5BFC\u51FA\u65F6\u95F4\u4F1A\u6210\u500D\u589E\u52A0\uFF0C\u53EF\u80FD\u4F1A\u5360\u752810-20\u5206\u949F\uFF0C\u8BF7\u77E5\u6089\u3002",'For components without bound 3D models, 3D models will be automatically generated (based on the "Height" property)':'\u4E3A\u672A\u7ED1\u5B9A3D\u6A21\u578B\u7684\u5143\u4EF6\u81EA\u52A8\u751F\u62103D\u6A21\u578B(\u6839\u636E"\u9AD8\u5EA6"\u5C5E\u6027)',"components were not generated in 3D because the 3D model was not bound":"\u4E2A\u5143\u4EF6\u672A\u751F\u62103D\uFF0C\u56E0\u4E3A\u672A\u7ED1\u5B9A3D\u6A21\u578B","components only generated entities based on the Height property because the 3D model was not bound":"\u4E2A\u5143\u4EF6\u4EC5\u6839\u636EHeight\u5C5E\u6027\u751F\u6210\u4E86\u5B9E\u4F53\uFF0C\u56E0\u4E3A\u672A\u7ED1\u5B9A3D\u6A21\u578B","components did not generate 3D, Because the bound 3D model id was not found":"\u4E2A\u5143\u4EF6\u672A\u751F\u62103D\uFF0C\u56E0\u4E3A\u7ED1\u5B9A\u76843D\u6A21\u578Bid\u672A\u627E\u5230","components did not generate 3D, because the network failed to load the 3D model":"\u4E2A\u5143\u4EF6\u672A\u751F\u62103D\uFF0C\u56E0\u4E3A\u7F51\u7EDC\u539F\u56E0\u672A\u6210\u529F\u52A0\u8F7D3D\u6A21\u578B","components were not generated in 3D because the 3D model in STEP format was not bound":"\u5143\u4EF6\u7ED1\u5B9A\u4E86\u6A21\u578B\uFF0C\u4F46\u4E0D\u662Fstep\u683C\u5F0F\u7684\uFF0C\u9009\u62E9step\u683C\u5F0F3D\u6587\u4EF6\u65F6\u65E0\u6CD5\u751F\u62103D","components only generated entities based on the Height property, because the 3D model in STEP format is not bound":"\u5143\u4EF6\u7ED1\u5B9A\u4E86\u6A21\u578B\uFF0C\u4F46\u4E0D\u662Fstep\u683C\u5F0F\u7684\uFF0C\u9009\u62E9step\u683C\u5F0F3D\u6587\u4EF6\u5BFC\u51FA\uFF0C\u56E0\u8BBE\u7F6E\u4E86\u5668\u4EF6\u9AD8\u5EA6\u5C5E\u6027\uFF0C\u751F\u6210\u4E86\u5B9E\u4F53","Please check the reason for the following component's failure to load the 3D model.You can either ignore them and export right away or handle all the anomalies, and export them after successful loading.":"\u4EE5\u4E0B\u5143\u4EF6\u672A\u6210\u529F\u52A0\u8F7D3D\u6A21\u578B\uFF0C\u8BF7\u67E5\u770B\u5931\u8D25\u539F\u56E0\u3002\u4F60\u53EF\u4EE5\u5FFD\u7565\u5B83\u4EEC\u76F4\u63A5\u5BFC\u51FA\uFF0C\u6216\u5904\u7406\u5168\u90E8\u5F02\u5E38\u5E76\u52A0\u8F7D\u6210\u529F\u540E\u518D\u5BFC\u51FA","Failure Cause":"\u5931\u8D25\u539F\u56E0","Unbound 3D model":"\u672A\u7ED1\u5B9A\u6A21\u578B","3D model loading failed due to network issues":"\u7F51\u7EDC\u539F\u56E0\u672A\u6210\u529F\u52A0\u8F7D3D\u6A21\u578B","The bound 3D model id was not found":"\u7ED1\u5B9A\u76843D\u6A21\u578Bid\u672A\u627E\u5230","Unbound 3D model in STEP format":"\u672A\u7ED1\u5B9ASTEP\u683C\u5F0F\u76843D\u6A21\u578B","Bind 3D models":"\u7ED1\u5B9A3D\u6A21\u578B","Bind 3D models successfully.":"\u7ED1\u5B9A3D\u6A21\u578B\u6210\u529F.","Entity height(H) must be greater than or equal to the body width(BW).":"\u5B9E\u4F53\u9AD8\u5EA6(H)\u5FC5\u987B\u5927\u4E8E\u7B49\u4E8E\u672C\u4F53\u5BBD\u5EA6(BW).","Reduce the pin diameter value.":"\u51CF\u5C11\u5F15\u811A\u76F4\u5F84\u503C.","Entity Height(H) is too small to generate a 3D model.":"\u5B9E\u4F53\u9AD8\u5EA6(H)\u8FC7\u5C0F,\u65E0\u6CD5\u751F\u62103D\u6A21\u578B.","Reload all models":"\u91CD\u65B0\u52A0\u8F7D\u5168\u90E8\u6A21\u578B","Processing completed, continue  to export":"\u5904\u7406\u5B8C\u6210\uFF0C\u7EE7\u7EED\u5BFC\u51FA","The following components entirely overlap one another, resulting in thin surfaces when the shell file is exported. Please adjust before exporting":"\u4EE5\u4E0B\u56FE\u5143\u5B8C\u5168\u91CD\u53E0\uFF0C\u5BFC\u51FA\u5916\u58F3\u6587\u4EF6\u540E\u5C06\u4EA7\u751F\u8584\u9762\uFF0C\u8BF7\u8C03\u6574\u540E\u518D\u5BFC\u51FA","The following components have problems. Thin surfaces will be formed following the export of the shell file. Please adjust before exporting":"\u4EE5\u4E0B\u56FE\u5143\u5B58\u5728\u95EE\u9898\uFF0C\u5BFC\u51FA\u5916\u58F3\u6587\u4EF6\u540E\u5C06\u4EA7\u751F\u8584\u9762\uFF0C\u8BF7\u8C03\u6574\u540E\u518D\u5BFC\u51FA","Group by":"\u5206\u7EC4\u4F9D\u636E","Check All":"\u52FE\u9009\u6240\u6709","Uncheck All":"\u53D6\u6D88\u6240\u6709","Check Selected":"\u52FE\u9009\u6240\u9009","Uncheck Selected":"\u53D6\u6D88\u6240\u9009","Check All In The Group":"\u52FE\u9009\u9009\u4E2D\u540C\u7EC4","Uncheck All In The Group":"\u53D6\u6D88\u9009\u4E2D\u540C\u7EC4","Reverse Selection":"\u53CD\u5411\u9009\u62E9","Export Report":"\u5BFC\u51FA\u62A5\u544A","Export XML":"\u5BFC\u51FAXML","Import XML":"\u5BFC\u5165XML","A multi-part component  annotate designator to the same group({designator})":"\u591A\u90E8\u4EF6\u5143\u4EF6\u4F4D\u53F7\u5206\u914D\u4E3A\u540C\u7EC4({designator})","A multi-part component  annotate designator to the same group({designator}) : {designatorLink}":"\u591A\u90E8\u4EF6\u5143\u4EF6\u4F4D\u53F7\u5206\u914D\u4E3A\u540C\u7EC4({designator}): {designatorLink}","Switch Control Line":"\u5207\u6362\u63A7\u5236\u7EBF","Maximum Radius":"\u6700\u5927\u534A\u5F84","Push Via":"\u63A8\u6324\u8FC7\u5B54",Strong:"\u5F3A",Weak:"\u5F31",Off:"\u5173",On:"\u5F00","Be Pushed Track Path Optimization":"\u88AB\u63A8\u6324\u5BFC\u7EBF\u8DEF\u5F84\u4F18\u5316","Current Track Path Optimization":"\u5F53\u524D\u5BFC\u7EBF\u8DEF\u5F84\u4F18\u5316","Remove Loops With Vias":"\u79FB\u9664\u6709\u8FC7\u5B54\u7684\u56DE\u8DEF","Remove Antenna":"\u79FB\u9664\u5929\u7EBF","Minimum Track Corners":"\u6700\u5C0F\u5BFC\u7EBF\u62D0\u89D2","Times Line Width":"\u500D\u7EBF\u5BBD","Hide Copper Region":"\u9690\u85CF\u94FA\u94DC\u533A\u57DF","Individual Segment":"\u5355\u6BB5","Full Routing":"\u6574\u6761","After Placing The Via, Switch To The":"\u6253\u5B54\u540E\u5207\u5230","Track Spacing":"\u5BFC\u7EBF\u95F4\u8DDD","Set as Rule Minium Spacing":"\u8BBE\u4E3A\u89C4\u5219\u6700\u5C0F\u95F4\u8DDD","@@wiringRightPanel":{"Track Property":"\u5E03\u7EBF\u5C5E\u6027","Track Options":"\u5E03\u7EBF\u9009\u9879","Remove Loops":"\u79FB\u9664\u56DE\u8DEF",G:"\u683C",D:"\u70B9",N:"\u65E0"},"Notice: Please select the symbol area that needs to be extracted and then extract it. It supports continuous box selection of multiple areas":"\u63D0\u793A\uFF1A\u8BF7\u6846\u9009\u9700\u8981\u63D0\u53D6\u7684\u7B26\u53F7\u533A\u57DF\u540E\u63D0\u53D6\uFF0C\u652F\u6301\u8FDE\u7EED\u6846\u9009\u591A\u4E2A\u533A\u57DF","Load PDF":"\u52A0\u8F7DPDF","Select Area":"\u6846\u9009\u533A\u57DF",Extract:"\u63D0\u53D6","Extract Pages":"\u6309\u9875\u63D0\u53D6","Extracting, please wait...":"\u6B63\u5728\u63D0\u53D6\u4E2D\uFF0C\u8BF7\u7A0D\u5019...","Extracting failed, please try again":"\u63D0\u53D6\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5","Click the button to add a PDF or drag the PDF file here to preview it":"\u70B9\u51FB\u6309\u94AE\u6DFB\u52A0PDF\u6216\u62D6\u52A8PDF\u6587\u4EF6\u5230\u6B64\u5904\u8FDB\u884C\u9884\u89C8","End Page":"\u7ED3\u675F\u9875","Batch Operation":"\u6279\u91CF\u5904\u7406","Tip: Extraction by page only supports table type extraction":"\u63D0\u793A\uFF1A\u6309\u9875\u63D0\u53D6\u53EA\u652F\u6301\u8868\u683C\u7C7B\u578B\u63D0\u53D6","Reset Sort":"\u91CD\u7F6E\u6392\u5E8F","Set Part":"\u8BBE\u7F6E\u90E8\u4EF6","Set Side":"\u8BBE\u7F6E\u65B9\u5411","Set Type":"\u8BBE\u7F6E\u7C7B\u578B","Set Shape":"\u8BBE\u7F6E\u5F62\u72B6","Copy Pin Information":"\u590D\u5236\u5F15\u811A\u4FE1\u606F","Please\xA0choose\xA0the extraction graphic type":"\u8BF7\u9009\u62E9\u63D0\u53D6\u7684\u56FE\u50CF\u7C7B\u578B","Select Type":"\u9009\u62E9\u7C7B\u578B","Text Information":"\u6587\u672C\u4FE1\u606F","Image Preview":"\u56FE\u7247\u9884\u89C8","Load Image":"\u52A0\u8F7D\u56FE\u7247","Enter Text":"\u8F93\u5165\u6587\u672C","The set spacing is smaller than the minimum spacing specified by the design rules":"\u8BBE\u7F6E\u7684\u95F4\u8DDD\u5C0F\u4E8E\u8BBE\u8BA1\u89C4\u5219\u6700\u5C0F\u95F4\u8DDD\uFF01","Move/Place/Paste Via Follows Routing Mode":"\u79FB\u52A8/\u653E\u7F6E/\u7C98\u8D34\u8FC7\u5B54\u8DDF\u968F\u5E03\u7EBF\u6A21\u5F0F","Cross Probe":"\u4EA4\u53C9\u9009\u62E9","Cross Probe Mode":"\u4EA4\u53C9\u9009\u62E9\u6A21\u5F0F","Automatically move canvas during cross probe":"\u4EA4\u53C9\u9009\u62E9\u65F6\u81EA\u52A8\u79FB\u52A8\u753B\u5E03","Automatically fit selection view during cross probe":"\u4EA4\u53C9\u9009\u62E9\u65F6\u81EA\u52A8\u9002\u5E94\u9009\u4E2D","Other objects become dim during cross probe":"\u4EA4\u53C9\u9009\u62E9\u65F6\u5176\u4ED6\u56FE\u5143\u53D8\u6697","Please select the project opening method!":"\u8BF7\u9009\u62E9\u5DE5\u7A0B\u6253\u5F00\u65B9\u5F0F\uFF01","@@system-property":{Height:"\u9AD8",Link:"\u94FE\u63A5"},"Single Row Display":"\u5355\u884C\u663E\u793A","Multiple Row Display":"\u591A\u884C\u663E\u793A","Belong Page":"\u6240\u5728\u56FE\u9875",Example:"\u793A\u4F8B",Zone:"\u533A\u57DF","@@sch-relevance":{None:"\u4E0D\u663E\u793A"},"Jump to {cmdKey} on {title}":"\u8DF3\u8F6C\u5230 {cmdKey} \u5728 {title}",Relevance:"\u5173\u8054","No relevance item":"\u6CA1\u6709\u5173\u8054\u9879","This is the last item":"\u5F53\u524D\u662F\u6700\u540E\u4E00\u9879","This is the first item":"\u5F53\u524D\u662F\u7B2C\u4E00\u9879","Drawing Border":"\u56FE\u7EB8\u8FB9\u754C","Title Block":"\u660E\u7EC6\u8868","Title Block Position":"\u660E\u7EC6\u8868\u4F4D\u7F6E","Blade Width":"\u5203\u5E26\u5BBD","Region Start":"\u5206\u533A\u8D77\u70B9","A new drawing frame will be used. After confirmation, the history will be saved and cleared. You will not be able to undo/redo previous operations. Do you want to continue?":"\u5C06\u4F7F\u7528\u65B0\u7684\u56FE\u7EB8\u8FB9\u6846\uFF0C\u786E\u8BA4\u540E\u5C06\u4F1A\u4FDD\u5B58\u5E76\u6E05\u7A7A\u5386\u53F2\u8BB0\u5F55\uFF0C\u4F60\u5C06\u4E0D\u80FD\u5BF9\u4E4B\u524D\u7684\u64CD\u4F5C\u8FDB\u884C\u64A4\u9500/\u91CD\u505A\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","The width and height of the push cover type 3D shell should not be less than 5mm":"\u63A8\u76D6\u7C7B\u578B\u76843D\u5916\u58F3\u5BBD\u9AD8\u4E0D\u53EF\u5C0F\u4E8E5mm","Gloss Mode":"\u4F18\u5316\u6A21\u5F0F","Shortest Path":"\u6700\u77ED\u8DEF\u5F84","Average Spacing":"\u7B49\u95F4\u8DDD","Gloss Option":"\u4F18\u5316\u9009\u9879","Attempts to push adjacent track when gloss is not possible":"\u65E0\u6CD5\u4F18\u5316\u65F6\u5C1D\u8BD5\u63A8\u6324\u76F8\u90BB\u5BFC\u7EBF","Please click or select the track to be glossed":"\u8BF7\u70B9\u9009\u6216\u6846\u9009\u9700\u8981\u4F18\u5316\u7684\u5BFC\u7EBF","Copy number successfully!":"\u590D\u5236\u5E8F\u53F7\u6210\u529F\uFF01","Internal Library":"\u5185\u90E8\u5668\u4EF6\u5E93","Material Library":"\u7269\u6599\u5E93","Please select the start point or make a choice before entering the wiring process":"\u8BF7\u6846\u9009\u8D77\u70B9\u6216\u9009\u62E9\u540E\u518D\u8FDB\u5165\u5E03\u7EBF","Batch Export System Library Devices":"\u6279\u91CF\u5BFC\u51FA\u7CFB\u7EDF\u5E93\u5668\u4EF6","Contain pages":"\u5305\u542B\u56FE\u7EB8","@@ECAD":{"Electric cabinet":"\u7535\u67DC",Page:"\u9875","Installation board":"\u5B89\u88C5\u677F","Component...":"\u90E8\u4EF6","2D Graphics...":"2D\u56FE\u5F62...","2D Graphics":"2D\u56FE\u5F62","Frame...":"\u56FE\u6846...",Restore:"\u6062\u590D","Flip Board":"\u7FFB\u8F6C\u5B89\u88C5\u677F",Pad:"\u8FDE\u63A5\u70B9","Connection point":"\u5355\u8FDE\u63A5\u70B9","Custom Installation Board":"\u81EA\u5B9A\u4E49\u5B89\u88C5\u677F","Device...":"\u8BBE\u5907...",Pin:"\u8FDE\u63A5\u70B9","Single Pin":"\u5355\u8FDE\u63A5\u70B9","Connection Point to Group Manager":"\u8FDE\u63A5\u70B9\u5BF9\u7EC4\u7BA1\u7406\u5668...","Frame Presetting...":"\u56FE\u6846\u9884\u8BBE...","2D Manager...":"2D\u7BA1\u7406\u5668...","Update/Convert Schematic to Installation board":"\u66F4\u65B0/\u8F6C\u6362\u539F\u7406\u56FE\u5230\u5B89\u88C5\u677F",Box:"\u7535\u67DC"},"Mounting plate":"\u5B89\u88C5\u677F","Move Component":"\u79FB\u52A8\u5143\u4EF6","Increase The Bus Routing Spacing":"\u589E\u52A0\u591A\u8DEF\u5E03\u7EBF\u95F4\u8DDD","Decrease The Bus Routing Spacing":"\u51CF\u5C0F\u591A\u8DEF\u5E03\u7EBF\u95F4\u8DDD","Please click to select a track to serve as the control line.":"\u8BF7\u70B9\u51FB\u9009\u62E9\u4E00\u6839\u5BFC\u7EBF\u4F5C\u4E3A\u63A7\u5236\u7EBF","Please select csv, txt, or xlsx files.":"\u8BF7\u9009\u62E9csv\uFF0Ctxt\uFF0C\u6216\u8005xlsx\u6587\u4EF6","Please select two files.":"\u8BF7\u9009\u62E9\u4E24\u4E2A\u6587\u4EF6","Undefined\xA0IPC/DAC-2552 properties":"\u672A\u8BBE\u7F6EIPC/DAC-2552\u5C5E\u6027","Data not found":"\u6570\u636E\u672A\u627E\u5230","Order SMT Parts":"SMT\u5907\u6599\u4E0B\u5355","Order SMT Parts...":"SMT\u5143\u4EF6\u4E0B\u5355...","Order SMT Parts at JLCPCB...":"\u5609\u7ACB\u521BSMT\u5907\u6599\u4E0B\u5355...","Order SMT Parts at JLCPCB":"\u5609\u7ACB\u521BSMT\u5907\u6599\u4E0B\u5355","Draw Partition - Rectangle":"\u7ED8\u5236\u5206\u533A - \u77E9\u5F62","Draw Partition - Circle":"\u7ED8\u5236\u5206\u533A - \u5706\u5F62","Draw Partition - Polygon":"\u7ED8\u5236\u5206\u533A - \u591A\u8FB9\u5F62","Outer layer thickness 1oz":"\u5916\u5C42\u94DC\u539A1oz","Outer layer copper thickness 1oz":"\u5916\u5C42\u94DC\u539A1oz","Inner layer thickness":"\u5185\u5C42\u94DC\u539A","Inner layer copper thickness":"\u5185\u5C42\u94DC\u539A","No copper":"\u4E0D\u542B\u94DC","Enter Columns...":"\u8F93\u5165\u5217","Retain Network":"\u4FDD\u7559\u7F51\u7EDC",Contract:"\u5185\u7F29","@@specialcopy":{Expand:"\u5916\u6269"},"Specify Scale":"\u6307\u5B9A\u6BD4\u4F8B","Contract Distance":"\u5185\u7F29\u8DDD\u79BB","Expand Distance":"\u5916\u6269\u8DDD\u79BB","Delete the original object after copying":"\u590D\u5236\u540E\u5220\u9664\u539F\u5BF9\u8C61","Copy As":"\u590D\u5236\u4E3A","Copy Option":"\u590D\u5236\u9009\u9879","Copy Special":"\u7279\u6B8A\u590D\u5236","Restore to footprint model":"\u8FD8\u539F\u4E3A\u5C01\u88C5\u6A21\u578B","The import data is empty, please check the import file format!":"\u5BFC\u5165\u6570\u636E\u4E3A\u7A7A, \u8BF7\u68C0\u67E5\u5BFC\u5165\u6587\u4EF6\u683C\u5F0F\uFF01","Reuse Layout Route Matching":"\u590D\u7528\u5E03\u5C40\u5E03\u7EBF\u5339\u914D","Tip: No exact matching components were found. You can select matching partial components for reuse below":"\u63D0\u793A\uFF1A\u672A\u627E\u5230\u5B8C\u5168\u5339\u914D\u7684\u5143\u4EF6\uFF0C\u4F60\u53EF\u4EE5\u5728\u4E0B\u65B9\u9009\u62E9\u5339\u914D\u90E8\u5206\u5143\u4EF6\u8FDB\u884C\u590D\u7528","Not matched":"\u672A\u5339\u914D","Template Component":"\u6A21\u677F\u5143\u4EF6","Matchable component":"\u53EF\u5339\u914D\u5143\u4EF6","Output Config":"\u8F93\u51FA\u914D\u7F6E","Copy from PCB":"\u590D\u5236\u4E8EPCB","Import failed! Please check if the configuration file is correct.":"\u5BFC\u5165\u5931\u8D25\uFF01\u8BF7\u68C0\u67E5\u914D\u7F6E\u6587\u4EF6\u662F\u5426\u6B63\u786E\u3002","There are too many existing configurations. Please delete some before adding new ones.":"\u5DF2\u6709\u914D\u7F6E\u8FC7\u591A\uFF0C\u8BF7\u5220\u9664\u540E\u518D\u8FDB\u884C\u6DFB\u52A0\u3002","Original Size":"\u539F\u59CB\u5C3A\u5BF8",'Input of \\ / : * ? " < > | is not supported':'\u4E0D\u652F\u6301\u8F93\u5165 \\ / : * ? " < > |',"Graph Page Config":"\u56FE\u9875\u914D\u7F6E","Color Config":"\u8272\u5F69\u914D\u7F6E","Please select or box select the object to copy":"\u8BF7\u70B9\u9009\u6216\u6846\u9009\u9700\u8981\u590D\u5236\u7684\u5BF9\u8C61","Copy Failed: {error}!":"\u590D\u5236\u5931\u8D25: {error}\uFF01","Click to Copy:":"\u70B9\u51FB\u590D\u5236:","The selected element is not closed and cannot be copied":"\u9009\u62E9\u7684\u56FE\u5143\u672A\u95ED\u5408\uFF0C\u65E0\u6CD5\u590D\u5236","The scaled primitive is too small and cannot be generated":"\u7F29\u653E\u56FE\u5143\u8FC7\u5C0F\uFF0C\u65E0\u6CD5\u751F\u6210","The newly generated primitive exceeds the partition range and cannot be generated":"\u65B0\u751F\u6210\u7684\u56FE\u5143\u8D85\u51FA\u5206\u533A\u8303\u56F4\uFF0C\u65E0\u6CD5\u751F\u6210","There are too many 3D shell primitives and insufficient memory to generate them":"3D\u5916\u58F3\u56FE\u5143\u6570\u91CF\u8FC7\u591A\uFF0C\u5185\u5B58\u4E0D\u8DB3\u65E0\u6CD5\u751F\u6210","Output each configuration's different layers onto the same page and merge them into a single PDF file.":"\u5C06\u6BCF\u4E2A\u914D\u7F6E\u7684\u4E0D\u540C\u56FE\u5C42\u8F93\u51FA\u5230\u540C\u4E00\u9875\uFF0C\u5E76\u4E14\u5408\u5E76\u4E3A\u4E00\u4E2APDF\u6587\u4EF6","Output different layers of each configuration onto separate pages in PDF format, then package the different PDF files from each configuration into a single compressed file. If multiple configurations are selected, multiple compressed files will be output.":"\u5C06\u6BCF\u4E2A\u914D\u7F6E\u7684\u4E0D\u540C\u56FE\u5C42\u8F93\u51FA\u5230\u5355\u72EC\u4E00\u9875PDF\uFF0C\u7136\u540E\u5C06\u4E00\u4E2A\u914D\u7F6E\u5185\u7684\u4E0D\u540CPDF\u6587\u4EF6\u6253\u5305\u5230\u540C\u4E00\u4E2A\u538B\u7F29\u5305,\u5982\u679C\u52FE\u9009\u4E86\u591A\u4E2A\u914D\u7F6E\u5C06\u8F93\u51FA\u591A\u4E2A\u538B\u7F29\u5305","Output the different layers of each configuration into a single-page PDF. If multiple configurations are selected, they will be packaged into a single compressed file.":"\u5C06\u6BCF\u4E2A\u914D\u7F6E\u7684\u4E0D\u540C\u56FE\u5C42\u8F93\u51FA\u5230\u4E00\u4E2A\u5355\u9875PDF\uFF0C\u5982\u679C\u52FE\u9009\u4E86\u591A\u4E2A\u914D\u7F6E\u5C06\u8F93\u51FA\u5230\u4E00\u4E2A\u538B\u7F29\u5305","Content Config":"\u5185\u5BB9\u914D\u7F6E","Abnormal data!":"\u5F02\u5E38\u6570\u636E\uFF01","Not add into BOM/Not convert to PCB":"\u4E0D\u52A0\u5165BOM/\u4E0D\u8F6CPCB","Not add into BOM":"\u4E0D\u52A0\u5165BOM","Not convert to PCB":"\u4E0D\u8F6C\u5230PCB","Component Mask":"\u5143\u4EF6\u5C4F\u853D","Set Component Mask":"\u8BBE\u7F6E\u5143\u4EF6\u5C4F\u853D","Set Style":"\u8BBE\u7F6E\u6837\u5F0F",'You can select or box select the component after clicking\xA0"OK" button, and you can press the TAB key to popup current dialog.':"\u786E\u8BA4\u540E\u53EF\u4EE5\u70B9\u9009\u6216\u6846\u9009\u5143\u4EF6\uFF0CTAB\u952E\u518D\u6B21\u6253\u5F00\u5F53\u524D\u5F39\u7A97\u3002","Holding Shift key can temporarily change the setting rules.":"\u6309\u4F4FShift\u53EF\u4EE5\u4E34\u65F6\u6539\u53D8\u8BBE\u7F6E\u89C4\u5219\u3002","Page{i}":"\u56FE\u9875{i}","Current Version Update Time":"\u5F53\u524D\u7248\u672C\u66F4\u65B0\u65F6\u95F4","Update Version Update Time":"\u66F4\u65B0\u7248\u672C\u66F4\u65B0\u65F6\u95F4","Not Component":"\u975E\u5143\u4EF6","Default Pin Length":"\u9ED8\u8BA4\u5F15\u811A\u957F\u5EA6","Default Pin Distance":"\u9ED8\u8BA4\u5F15\u811A\u95F4\u8DDD","Auto Hide : Open":"\u81EA\u52A8\u6536\u8D77\uFF1A\u5F00\u542F","Auto Hide : Close":"\u81EA\u52A8\u6536\u8D77\uFF1A\u5173\u95ED","DRC Error Style":"DRC \u9519\u8BEF\u6837\u5F0F","DRC Error Zoom":"DRC \u9519\u8BEF\u7F29\u653E","Fixed Pixel Size":"\u56FA\u5B9A\u50CF\u7D20\u5927\u5C0F","Display Component Spacing":"\u663E\u793A\u5143\u4EF6\u95F4\u8DDD","Follow Object Scaling":"\u8DDF\u968F\u56FE\u5143\u7F29\u653E","The filter panel on the right can disable the selection of DRC Marking":"\u53F3\u4FA7\u8FC7\u6EE4\u9762\u677F\u53EF\u7981\u7528DRC\u6807\u8BC6\u7684\u9009\u4E2D","Board Name":"\u677F\u5B50\u540D\u79F0","Document Name":"\u6587\u6863\u540D\u79F0","Export User":"\u5BFC\u51FA\u4EBA","Export Time":"\u5BFC\u51FA\u65F6\u95F4",Slope:"\u503E\u659C\u89D2\u5EA6",Denseness:"\u5BC6\u5EA6","Style Settings":"\u6837\u5F0F\u8BBE\u7F6E","Watermark Style Config":"\u6C34\u5370\u6837\u5F0F\u8BBE\u7F6E",Watermark:"\u6C34\u5370",Sparse:"\u7A00\u758F",Dense:"\u5BC6\u96C6","Assembly Variants":"\u88C5\u914D\u53D8\u91CF","Add NC Mark to components without a BOM":"\u6DFB\u52A0\u672A\u52A0\u5165BOM NC\u6807\u8BC6","Add X Mark to components without a BOM":"\u6DFB\u52A0\u672A\u52A0\u5165BOM X\u6807\u8BC6","Through-Hole Component":"\u63D2\u4EF6\u5143\u4EF6","Surface-Mount Component":"\u8D34\u7247\u5143\u4EF6","Isolated Top Layer Pad":"\u6E38\u79BB\u9876\u5C42\u710A\u76D8","Isolated Bottom Layer Pad":"\u6E38\u79BB\u5E95\u5C42\u710A\u76D8","Isolated Multi Layer Pad":"\u6E38\u79BB\u591A\u5C42\u710A\u76D8","Side Datum Line":"\u4FA7\u9762\u57FA\u51C6\u7EBF","Multiple routing lines are selected for flying wire, but are filtered by the right filter panel.":"\u591A\u8DEF\u5E03\u7EBF\u6846\u9009\u98DE\u7EBF\uFF0C\u4F46\u88AB\u53F3\u4FA7\u8FC7\u6EE4\u9762\u677F\u8FC7\u6EE4.","Multiple routing lines are selected for pads, but are filtered by the right panel.":"\u591A\u8DEF\u5E03\u7EBF\u6846\u9009\u710A\u76D8\uFF0C\u4F46\u88AB\u53F3\u4FA7\u9762\u677F\u8FC7\u6EE4\u3002","Multiple routing lines are selected for vias, but are filtered by the right panel.":"\u591A\u8DEF\u5E03\u7EBF\u6846\u9009\u8FC7\u5B54\uFF0C\u4F46\u88AB\u53F3\u4FA7\u9762\u677F\u8FC7\u6EE4\u3002","Multiple routing lines are selected for traces, but are filtered by the right panel.":"\u591A\u8DEF\u5E03\u7EBF\u6846\u9009\u5BFC\u7EBF\uFF0C\u4F46\u88AB\u53F3\u4FA7\u9762\u677F\u8FC7\u6EE4\u3002","Multiple routing lines are selected for traces and vias, but are filtered by the right panel.":"\u591A\u8DEF\u5E03\u7EBF\u6846\u9009\u5BFC\u7EBF\u3001\u8FC7\u5B54\uFF0C\u4F46\u88AB\u53F3\u4FA7\u9762\u677F\u8FC7\u6EE4\u3002","Multiple routing lines are selected for traces and pads, but are filtered by the right panel.":"\u591A\u8DEF\u5E03\u7EBF\u6846\u9009\u5BFC\u7EBF\u3001\u710A\u76D8\uFF0C\u4F46\u88AB\u53F3\u4FA7\u9762\u677F\u8FC7\u6EE4\u3002","Multiple routing lines are selected for vias and pads, but are filtered by the right panel.":"\u591A\u8DEF\u5E03\u7EBF\u6846\u9009\u8FC7\u5B54\u3001\u710A\u76D8\uFF0C\u4F46\u88AB\u53F3\u4FA7\u9762\u677F\u8FC7\u6EE4\u3002","Multiple routing lines are selected for traces,vias and pads, but are filtered by the right panel.":"\u591A\u8DEF\u5E03\u7EBF\u6846\u9009\u5BFC\u7EBF\u3001\u8FC7\u5B54\u3001\u710A\u76D8\uFF0C\u4F46\u88AB\u53F3\u4FA7\u9762\u677F\u8FC7\u6EE4\u3002","When switching to {variantName}, all changes will be saved and the history will be cleared. You will not be able to undo/redo previous actions. Do you want to continue?":"\u5207\u6362\u81F3 {variantName} \u65F6\uFF0C\u5C06\u4FDD\u5B58\u5168\u90E8\u5E76\u6E05\u7A7A\u5386\u53F2\u8BB0\u5F55\uFF0C\u4F60\u5C06\u4E0D\u80FD\u5BF9\u4E4B\u524D\u7684\u64CD\u4F5C\u8FDB\u884C\u64A4\u9500/\u91CD\u505A\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","Pin Delay":"\u5F15\u811A\u5EF6\u8FDF","Pin length":"\u5F15\u811A\u957F\u5EA6","export IPC_2581C File":"\u5BFC\u51FAIPC-2581C\u6587\u4EF6","OEM Num":"OEM \u7F16\u53F7","Pin Delay Manager...":"\u5F15\u811A\u5EF6\u8FDF\u7BA1\u7406\u5668...","The following component not found":"\u4EE5\u4E0B\u5143\u4EF6\u672A\u627E\u5230","Component not found":"\u5143\u4EF6\u672A\u627E\u5230","The following pad not found":"\u4EE5\u4E0B\u710A\u76D8\u672A\u627E\u5230","The following pad number are repeated":"\u4EE5\u4E0B\u710A\u76D8\u7F16\u53F7\u91CD\u590D","Export Pin Delay":"\u5BFC\u51FA\u5F15\u811A\u5EF6\u8FDF","Start generating test points":"\u5F00\u59CB\u751F\u6210\u6D4B\u8BD5\u70B9","remove test points":"\u79FB\u9664\u6D4B\u8BD5\u70B9","generates test points":"\u751F\u6210\u6D4B\u8BD5\u70B9","net have no test points generated because of DRC violations":"\u4E2A\u7F51\u7EDC\u672A\u751F\u6210\u6D4B\u8BD5\u70B9\uFF0C\u56E0\u4E3A\u8FDD\u53CDDRC:","net have no test points generated because the required number of test points was met":"\u4E2A\u7F51\u7EDC\u672A\u751F\u6210\u6D4B\u8BD5\u70B9\uFF0C\u56E0\u4E3A\u5DF2\u6EE1\u8DB3\u8981\u6C42\u6570\u91CF","net have no test points generated because there were no regions to generate":"\u4E2A\u7F51\u7EDC\u672A\u751F\u6210\u6D4B\u8BD5\u70B9\uFF0C\u56E0\u4E3A\u6CA1\u6709\u533A\u57DF\u53EF\u4EE5\u751F\u6210:","Finish generating test points":"\u7ED3\u675F\u751F\u6210\u6D4B\u8BD5\u70B9",item:"\u4E2A\uFF1A","Only Top":"\u4EC5\u9876\u5C42","Only Bottom":"\u4EC5\u5E95\u5C42",AllowedWithinComponent:"\u5141\u8BB8\u5728\u5143\u4EF6\u5185","Remove existing test points and regenerate":"\u79FB\u9664\u5DF2\u6709\u6D4B\u8BD5\u70B9\u91CD\u65B0\u751F\u6210",ignoreDRC:"\u5FFD\u7565DRC",holeDiaMeter:"\u94BB\u5B54\u76F4\u5F84","Top Solder":"\u9876\u5C42\u963B\u710A\u62D3\u5C55","Bottom Solder":"\u5E95\u5C42\u963B\u710A\u62D3\u5C55",NumberPrefix:"\u7F16\u53F7\u524D\u7F00",RequiredQuantity:"\u8981\u6C42\u6570\u91CF",SetQuantity:"\u8BBE\u7F6E\u6570\u91CF","Test point have been placed,do you want to rebuid the copper area?":"\u6D4B\u8BD5\u70B9\u653E\u7F6E\u5DF2\u7ECF\u5B8C\u6210\uFF0C\u662F\u5426\u91CD\u5EFA\u94FA\u94DC\uFF1F","Auto Place Test Pad":"\u81EA\u52A8\u751F\u6210\u6D4B\u8BD5\u70B9","Current Run: Net Coverage {0}% (Successfully Added Nets: {1} / Target Nets: {2})":"\u7F51\u7EDC\u8986\u76D6\u7387 {0}% (\u6210\u529F\u6DFB\u52A0\u7F51\u7EDC\u6570: {1} / \u672C\u6B21\u76EE\u6807\u7F51\u7EDC\u6570: {2})","Global Testpoint Coverage: {0}% (Total Covered Nets: {1} / Total Nets: {2})":"\u5168\u5C40\u6D4B\u8BD5\u70B9\u8986\u76D6\u7387\uFF1A{0}% (\u5DF2\u8986\u76D6\u603B\u7F51\u7EDC\u6570: {1} / \u7F51\u7EDC\u603B\u6570: {2})","Please select\xA0devices with the same symbol type for substitution.":"\u8BF7\u9009\u62E9\u76F8\u540C\u7B26\u53F7\u7C7B\u578B\u7684\u5668\u4EF6\u8FDB\u884C\u66FF\u6362\u3002","Std Edition Public":"\u6807\u51C6\u7248\u516C\u5F00",Plugins:"\u63D2\u4EF6","Screen Info":"\u5C4F\u5E55\u4FE1\u606F","Performance Diagnostic Tools":"\u6027\u80FD\u8BCA\u65AD\u5DE5\u5177",Browser:"\u6D4F\u89C8\u5668","Please carefully check the replaced network connection relationships.":"\u8BF7\u4ED4\u7EC6\u68C0\u67E5\u66FF\u6362\u540E\u7684\u7F51\u7EDC\u8FDE\u63A5\u5173\u7CFB","Mask Region":"\u5C4F\u853D\u533A\u57DF",Mask:"\u5C4F\u853D","Via Fence":"\u5305\u5730\u5B54","Add Via Fence":"\u6DFB\u52A0\u5305\u5730\u5B54","Add Via Fence...":"\u6DFB\u52A0\u5305\u5730\u5B54...","Object Space":"\u56FE\u5143\u95F4\u8DDD","Line Space":"\u884C\u95F4\u8DDD","Via Space":"\u8FC7\u5B54\u95F4\u8DDD","Row Count":"\u8FC7\u5B54\u884C\u6570","Please select the elements to which you want to add ground vias.":"\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u5305\u5730\u5B54\u7684\u56FE\u5143.","Placement Successful.":"\u653E\u7F6E\u6210\u529F","No vias have been placed. Please check and try again.":"\u672A\u653E\u7F6E\u4EFB\u4F55\u8FC7\u5B54\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u8BD5","Via Fence have been placed,do you want to rebuild the copper area?":"\u5305\u5730\u5B54\u653E\u7F6E\u5DF2\u7ECF\u5B8C\u6210\uFF0C\u662F\u5426\u91CD\u5EFA\u94FA\u94DC\uFF1F","If this document is newly created after being referenced from a reused block library, this operation will force the current document to be refreshed to the latest reference library status, and the operation cannot be undo/redo, so please operate with caution!":"\u5982\u679C\u6B64\u6587\u6863\u4E3A\u4ECE\u590D\u7528\u6A21\u5757\u5E93\u4E2D\u5F15\u7528\u540E\u65B0\u5EFA\u7684\uFF0C\u6B64\u64CD\u4F5C\u5C06\u5F3A\u5236\u5237\u65B0\u5F53\u524D\u6587\u6863\u4E3A\u6700\u65B0\u5F15\u7528\u5E93\u72B6\u6001\uFF0C\u4E14\u64CD\u4F5C\u4E0D\u53EF\u64A4\u9500/\u91CD\u505A\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01","Distance To Border Cutout":"\u5230\u8FB9\u6846\u95F4\u8DDD","Distance To Border Outline":"\u5230\u8FB9\u6846/\u69FD\u5B54\u95F4\u8DDD","Distance to Board Outline/Slot Region":"\u5230\u677F\u6846/\u69FD\u5B54\u95F4\u8DDD","Distance to Board Outline":"\u5230\u677F\u6846","Distance to Slot Region":"\u5230\u6316\u69FD\u533A\u57DF","Distance to Track":"\u5230\u5BFC\u7EBF","Distance to SMD Pad":"\u5230\u8D34\u7247\u710A\u76D8","Distance to TH Pad":"\u5230\u63D2\u4EF6\u710A\u76D8","Distance to SMD_Test_Point":"\u5230\u8D34\u7247\u6D4B\u8BD5\u70B9","Distance to TH_Test_Point":"\u5230\u63D2\u4EF6\u6D4B\u8BD5\u70B9","Distance to Via":"\u5230\u8FC7\u5B54","Distance to Fill Region/Teardrop":"\u5230\u586B\u5145\u533A\u57DF/\u6CEA\u6EF4","Distance to Copper Region/Plane Zone":"\u5230\u94FA\u94DC/\u5185\u7535\u5C42","Distance to Line":"\u5230\u7EBF\u6761","Distance to Text/Image":"\u5230\u6587\u672C/\u56FE\u7247","Distance to Hole":"\u5230\u94BB\u5B54",MultimeterTpye:"\u4E07\u7528\u8868\u7C7B\u578B","Type:TR":"\u7C7B\u578B\uFF1A\u77AC\u6001\u5206\u6790","Type:AC":"\u7C7B\u578B\uFF1A\u4EA4\u6D41\u5206\u6790","Type:DC":"\u7C7B\u578B\uFF1A\u76F4\u6D41\u626B\u63CF",Sim:"\u4EFF\u771F","Sim Lib":"\u4EFF\u771F",Simulate:"\u4EFF\u771F","Simulate...":"\u4EFF\u771F...",Simulation:"\u4EFF\u771F","Spice Simulation":"\u4EFF\u771F","NG Analysis":"\u5206\u6790\u7C7B\u578B","Model Category":"\u6A21\u578B\u7C7B\u522B","Sim Lib Category":"\u6A21\u578B\u5206\u7C7B","Sim Model Manager":"\u4EFF\u771F\u6A21\u578B\u7BA1\u7406\u5668",spice:"Spice\u4EFF\u771F","Simulation Mode":"\u4EFF\u771F\u6A21\u5F0F","Non-emulation mode":"\u975E\u4EFF\u771F\u6A21\u5F0F","Change to Simulation Mode":"\u5207\u6362\u81F3\u4EFF\u771F\u6A21\u5F0F","Schematic-Simulation":"\u539F\u7406\u56FE-\u4EFF\u771F","Simulate this Sheet":"\u4EFF\u771F\u5F53\u524D\u9875","Simulate this Project":"\u4EFF\u771F\u5F53\u524D\u5DE5\u7A0B","Simulide Pin":"Simulide\u5F15\u811A","NGspice Pin":"NGspice\u5F15\u811A","NGSpice Model":"NGspice\u6A21\u578B","SimulIDE Model":"SimulIDE\u6A21\u578B","SIM Model":"\u4EFF\u771F\u6A21\u578B","Simulation Model":"\u4EFF\u771F\u6A21\u578B","SimModel Type":"\u6A21\u578B\u7C7B\u522B","Simulide CirTime":"\u4EFF\u771F\u65F6\u95F4",VSource:"\u7535\u538B\u6E90","Time basic":"\u65F6\u57FA",Trigger:"\u89E6\u53D1",SimulationOscilloscope:"\u793A\u6CE2\u5668","Simulation Menu":"\u4EFF\u771F\u83DC\u5355","Simulation Example":"\u4EFF\u771F\u6848\u4F8B","New Simulation":"\u65B0\u5EFA\u4EFF\u771F","Waveform Menu":"\u6CE2\u5F62\u83DC\u5355",Once:"\u5355\u6B21",Simulide_Cir_Time:"\u4EFF\u771F\u65F6\u95F4","Rising edge":"\u4E0A\u5347\u6CBF","Falling edge":"\u4E0B\u964D\u6CBF","Spice Symbol":"\u4EFF\u771F\u7B26\u53F7","Save as a spice Symbol":"\u4FDD\u5B58\u4E3A\u4EFF\u771F\u7B26\u53F7","Spice Prefix":"\u4EFF\u771F\u7F16\u53F7","NGspice Pin Number":"\u4EFF\u771F\u5F15\u811A\u7F16\u53F7","Sim Model...":"\u4EFF\u771F\u6A21\u578B...",SimModel:"\u4EFF\u771F\u6A21\u578B","Model Title":"\u6A21\u578B\u540D\u79F0","Sim Model Title":"Simulide\u6A21\u578B","NGSpice Model Title":"NGspice\u6A21\u578B",SimName:"\u6A21\u578B\u5F15\u811A","Model Pin":"\u6A21\u578B\u5F15\u811A","Subckt string":"\u6A21\u578B\u6570\u636E","Creart New SimModel":"\u65B0\u5EFA\u4EFF\u771F\u6A21\u578B","Model Type":"\u6A21\u578B\u7C7B\u578B",Probe:"\u63A2\u9488","Probe/L":"\u903B\u8F91\u63A2\u9488","Probe/V":"\u7535\u538B\u63A2\u9488","Probe/I":"\u7535\u6D41\u63A2\u9488",Instrumentation:"\u4EEA\u5668\u4EEA\u8868","Four Channel Oscilloscope":"\u56DB\u901A\u9053\u793A\u6CE2\u5668","Edit SimModelLib...":"\u7F16\u8F91\u4EFF\u771F\u6A21\u578B...","SimulationDevice...":"\u4EFF\u771F\u5668\u4EF6","Attach a Subckt to this spice symbol":"\u4E3A\u8BE5\u5668\u4EF6\u6DFB\u52A0\u4EFF\u771F\u6A21\u578B\u6570\u636E",ModelData:"\u6A21\u578B\u6570\u636E",SimExample:"\u4EFF\u771F\u6848\u4F8B",SimFilter:"\u6EE4\u6CE2\u5668","Creart New Simulation":"\u65B0\u5EFA\u4EFF\u771F","Simulation Netlist...":"\u4EFF\u771F\u7F51\u8868...","Simulation Netlist":"\u4EFF\u771F\u7F51\u8868","Download netlist":"\u4E0B\u8F7D\u7F51\u7EDC\u8868","Non-simulated file":"\u975E\u4EFF\u771F\u6587\u4EF6","Simulation Tutorials":"\u4EFF\u771F\u6559\u7A0B","New Spice Subckt":"\u65B0\u5EFA\u4EFF\u771F\u5B50\u7535\u8DEF","Save as a spice subckt":"\u4FDD\u5B58\u4E3ASpice\u5B50\u7535\u8DEF","Simulation Result":"\u4EFF\u771F\u7ED3\u679C","Simulation Results...":"\u4EFF\u771F\u7ED3\u679C...","Show your simulation report":"\u663E\u793A\u4EFF\u771F\u62A5\u544A","Modelling duplication":"\u6A21\u578B\u91CD\u590D","Start Sim":"\u5F00\u59CB\u4EFF\u771F","Start/Stop":"\u5F00\u59CB/\u6682\u505C","Stop Sim":"\u505C\u6B62\u4EFF\u771F",NGSetting:"\u4EFF\u771F\u8BBE\u7F6E",Run:"\u8FD0\u884C",Pause:"\u6682\u505C",Stop:"\u505C\u6B62","Not Connected":"\u6CA1\u6709\u8FDE\u63A5","Primary[H]":"\u4E00\u6B21\u7ED5\u7EC4[H]","Secondary[H]":"\u4E8C\u6B21\u7ED5\u7EC4[H]","Coupling Coefficient":"\u8026\u5408\u7CFB\u6570","Vpulse[V]":"\u8109\u51B2\u503C[V]","Vpulse[A]":"\u8109\u51B2\u503C[A]","Pulse Width[s]":"\u8109\u51B2\u5BBD\u5EA6[s]","Period[s]":"\u5468\u671F[s]","Delay Time[s]":"\u5EF6\u65F6[s]","Damping Factor[1/s]":"\u963B\u5C3C\u56E0\u5B50[1/s]","Phase[deg]":"\u76F8\u4F4D[deg]","Rise Time[s]":"\u4E0A\u5347\u65F6\u95F4[s]","Fall Time[s]":"\u4E0B\u964D\u65F6\u95F4[s]","Duty Cycle[%]":"\u5360\u7A7A\u6BD4[%]","AC Analysis Magnitude[V]":"AC\u5206\u6790\u5E45\u5EA6[V]","AC Analysis Magnitude[A]":"AC\u5206\u6790\u5E45\u5EA6[A]","AC Analysis Phase[\xB0]":"AC\u5206\u6790\u76F8\u4F4D[\xB0]","Voltage Offset[V]":"\u7535\u538B\u504F\u79FB[V]","Current Offset[A]":"\u7535\u6D41\u504F\u79FB[A]","Input High Threshold[V]":"\u8F93\u51FA\u9AD8\u7535\u5E73\u9608\u503C[V]","Input Low Threshold[V]":"\u8F93\u5165\u4F4E\u7535\u5E73\u9608\u503C[V]","NG Sim Setting":"\u4EFF\u771F\u8BBE\u7F6E",NGSimSetting:"\u4EFF\u771F\u8BBE\u7F6E","Run your simulation":"\u8FD0\u884C\u4EFF\u771F","Simulation limit":"\u4EFF\u771F\u9650\u5236","The simulation failed, check the logs for error details!":"\u4EFF\u771F\u8FD0\u884C\u5931\u8D25\uFF0C\u8BF7\u67E5\u770B\u65E5\u5FD7\u83B7\u53D6\u9519\u8BEF\u8BE6\u60C5\uFF01","circuit not parsed.":"\u7535\u8DEF\u89E3\u6790\u9519\u8BEF\uFF01",SimulationSettings:"\u6A21\u62DF\u8BBE\u7F6E","Current Animation":"\u7535\u6D41\u52A8\u6548","Current Speed":"\u7535\u6D41\u901F\u5EA6","Simulation Speed":"\u4EFF\u771F\u901F\u5EA6","Simulation Timestep(s)":"\u4EFF\u771F\u6B65\u957F(S)",Maxiters:"\u6700\u5927\u975E\u7EBF\u6027\u8FED\u4EE3\u6B21\u6570","Transient Analysis":"\u77AC\u6001\u5206\u6790","Transient analysis parameter settings":"\u77AC\u6001\u5206\u6790\u53C2\u6570\u8BBE\u7F6E","Time Step":"\u65F6\u95F4\u6B65\u957F","Max Time Step":"\u6700\u5927\u65F6\u95F4\u6B65\u957F","Stop Time":"\u7EC8\u6B62\u65F6\u95F4","Start Time":"\u8D77\u59CB\u65F6\u95F4","AC scanning":"\u4EA4\u6D41\u5206\u6790","description type":"\u63CF\u8FF0\u7C7B\u578B","AC analysis parameter settings":"\u4EA4\u6D41\u5206\u6790\u53C2\u6570\u8BBE\u7F6E","Data Points":"\u6570\u636E\u70B9","Eight Frequency Number Of Points":"\u516B\u500D\u9891\u70B9","Decade Frequency Number Of Points":"\u5341\u500D\u9891\u70B9","Start Frequency":"\u8D77\u59CB\u9891\u7387","Stop Frequency":"\u505C\u6B62\u9891\u7387","DC sweep":"\u76F4\u6D41\u626B\u63CF","DC scanning":"\u76F4\u6D41\u626B\u63CF","DC scanning parameter settings":"\u76F4\u6D41\u626B\u63CF\u53C2\u6570\u8BBE\u7F6E",DC_Analysis:"\u76F4\u6D41\u5206\u6790","Source to Sweep":"\u626B\u63CF\u6E90","Start Value":"\u8D77\u59CB\u503C","End Value":"\u7ED3\u675F\u503C","Stop Value":"\u7EC8\u6B62\u503C",Increment:"\u6B65\u8FDB","DC Transfer":"DC \u53D8\u6362",Source1:"\u6E901",Source2:"\u6E902","DC op pnt":"\u9759\u6001\u5DE5\u4F5C\u70B9","Compute the DC operating point treating capacitances as opens and inductances as shorts":"\u8BA1\u7B97\u9759\u6001\u5DE5\u4F5C\u70B9\uFF0C\u7535\u5BB9\u5F00\u8DEF\uFF0C\u7535\u611F\u77ED\u8DEF","reset default vale":"\u6062\u590D\u9ED8\u8BA4\u503C",SimWaveform:"\u6CE2\u5F62","Waveform Configuration":"\u6CE2\u5F62\u914D\u7F6E","Copy Waveform":"\u590D\u5236\u6CE2\u5F62\u7ED3\u679C","Export Waveform at CSV":"\u5BFC\u51FA\u6CE2\u5F62\u4E3ACSV...","Export Waveform at PDF":"\u5BFC\u51FA\u6CE2\u5F62\u4E3APDF...","Download successfully!":"\u4E0B\u8F7D\u6210\u529F","Download Failed!":"\u4E0B\u8F7D\u5931\u8D25\uFF01","Simulation Netlist is empty, cannot download":"\u4EFF\u771F\u7F51\u8868\u4E3A\u7A7A\uFF0C\u65E0\u6CD5\u4E0B\u8F7D","Warn:":"\u8B66\u544A\uFF1A",Timeout:"\u4EFF\u771F\u8D85\u65F6","Open Oscilloscope...":"\u6253\u5F00\u793A\u6CE2\u5668...","Error:No GND":"\u9519\u8BEF\uFF1A\u6CA1\u6709GND(\u5730)","Error:No Spice Symbol":"\u6CA1\u6709\u4EFF\u771F\u6A21\u578B","Simulation file exceed":"\u4EFF\u771F\u6587\u4EF6\u8FC7\u5927","Failed to load spice data":"\u52A0\u8F7D\u4EFF\u771F\u6570\u636E\u5931\u8D25","Please enter the Stop Time!":"\u8BF7\u586B\u5199\u7EC8\u6B62\u65F6\u95F4","Circuit does not have a probe":"\u8BE5\u7535\u8DEF\u6CA1\u6709\u63A2\u9488","All of these fields are needed.":"\u6240\u6709\u9009\u9879\u5FC5\u987B\u586B\u5199","Please enter the Maximum Timestep!":"\u8BF7\u586B\u5199\u6700\u5927\u6B65\u957F","Probe can not connect with ground(GND)!":"\u63A2\u9488\u4E0D\u80FD\u4E0E\u5730(GND)\u8FDE\u63A5\uFF01","Demo accounts don't support simulation, please login first":"\u4E0D\u5141\u8BB8\u6F14\u793A\u8D26\u53F7\u4EFF\u771F\uFF0C\u8BF7\u767B\u5F55","The circuit has components without simulation model:":"\u8BE5\u7535\u8DEF\u5B58\u5728\u6CA1\u6709\u4EFF\u771F\u6A21\u578B\u7684\u5143\u5668\u4EF6\uFF1A","Too many users in simulation. Please try again later!":"\u592A\u591A\u7528\u6237\u6B63\u5728\u8FD0\u884C\u4EFF\u771F\uFF0C\u7A0D\u540E\u518D\u5C1D\u8BD5.","Simulation calculation timed out. Please check the circuit connection for correctness.":"\u4EFF\u771F\u8BA1\u7B97\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u7535\u8DEF\u8FDE\u63A5\u5408\u7406\u6027.","Simulation too long, maybe your schematic is too complex.":"\u4EFF\u771F\u8D85\u65F6,\u4E5F\u8BB8\u4F60\u7684\u7535\u8DEF\u592A\u590D\u6742.","PCB related documents are not allowed in emulation mode":"\u4EFF\u771F\u6A21\u5F0F\u4E0B\u4E0D\u5141\u8BB8\u6253\u5F00PCB\u76F8\u5173\u6587\u6863","Spice symbol title just allow [0-9][a-z][A-Z] and _":"\u4EFF\u771F\u7B26\u53F7\u7684\u6807\u9898\u53EA\u5141\u8BB8\u6570\u5B57\uFF0C\u5B57\u6BCD\u548C\u4E0B\u5212\u7EBF\uFF01","Your simulation times have reached the maximum of a day (500 times).":"\u60A8\u7684\u4EFF\u771F\u6B21\u6570\u5DF2\u8FBE\u5F53\u65E5\u4E0A\u9650(500\u6B21)","YOU MUST CREATE A SPICE SYMBOL WITH EXACTLY THE SAME NAME AS THIS SUBCKT":"\u6CE8\u610F\u4F60\u5FC5\u987B\u521B\u5EFA\u4E00\u4E2A\u4E0E\u4E4B\u540C\u540D\u7684\u4EFF\u771F\u7B26\u53F7","Non-emulation mode, please switch to the simulation mode first and then run":"\u975E\u4EFF\u771F\u6A21\u5F0F\uFF0C\u8BF7\u5148\u5207\u6362\u81F3\u4EFF\u771F\u6A21\u5F0F\u518D\u8FD0\u884C","The simulation file is too large and has been stopped for performance reasons.":"\u4EFF\u771F\u6587\u4EF6\u8FC7\u5927\uFF0C\u51FA\u4E8E\u6027\u80FD\u539F\u56E0\u5DF2\u505C\u6B62\u3002","Either your spice netlist is too big or the server is busy. Please try again later.":"\u4F60\u7684spice \u7F51\u7EDC\u8868\u592A\u5927,\u6216\u8005\u670D\u52A1\u5668\u592A\u5FD9,\u7A0D\u540E\u518D\u5C1D\u8BD5","Your spice netlist is too big! Try breaking your circuit into smaller simulatable blocks.":"\u4F60\u7684spice\u7F51\u7EDC\u8868\u592A\u5927\uFF0C\u8BF7\u628A\u7535\u8DEF\u5DEE\u5206\u6210\u5B50\u7535\u8DEF\u4EFF\u771F","The schematic is showing errors, please check the simulation report carefully!":"\u8FD9\u4E2A\u7535\u8DEF\u4E2D\u8C8C\u4F3C\u6709\u4E9B\u9519\u8BEF\uFF0C\u8BF7\u4ED4\u7EC6\u9605\u8BFB\u4EFF\u771F\u62A5\u544A,\u5C1D\u8BD5\u627E\u51FA\u8FD9\u4E9B\u9519\u8BEF\u3002","Due to limited server resources, please wait 10 seconds for the interval in every time simulation.":"\u7531\u4E8E\u670D\u52A1\u5668\u8D44\u6E90\u9650\u5236\uFF0C\u6BCF\u6B21\u4EFF\u771F\u8BF7\u7B49\u5F8510\u79D2\u3002","This file has been modified, are you sure you want to run this simulation before saving it first?":"\u8BE5\u6587\u6863\u5DF2\u7ECF\u88AB\u4FEE\u6539\uFF0C\u4F60\u786E\u8BA4\u4EFF\u771F\u5B83?\u4E5F\u8BB8\u4F60\u5E94\u8BE5\u5148\u4FDD\u5B58\u5B83\u3002","This circuit does not have GND. Please select GND from the circuit tool to add to the circuit.":"\u8BE5\u7535\u8DEF\u6CA1\u6709GND(\u5730)\uFF0C\u8BF7\u4ECE\u7535\u8DEF\u5DE5\u5177\u4E2D\u9009\u53D6GND(\u5730)\u52A0\u5165\u5230\u7535\u8DEF\u4E2D\u3002","An oscilloscope exists in the circuit and needs to be simulated using the simulation command .tran":"\u7535\u8DEF\u4E2D\u5B58\u5728\u793A\u6CE2\u5668\uFF0C\u9700\u8981\u4F7F\u7528\u4EFF\u771F\u547D\u4EE4 .tran \u8FDB\u884C\u4EFF\u771F","There is a multimeter in the circuit that needs to be simulated using the emulation command .tran or .op":"\u7535\u8DEF\u4E2D\u5B58\u5728\u4E07\u7528\u8868\uFF0C\u9700\u8981\u4F7F\u7528\u4EFF\u771F\u547D\u4EE4 .tran \u6216 .op \u8FDB\u884C\u4EFF\u771F","Your circuit is too complex, we have not enough CPU resouce to support this simulation, please reduce your circuit as small as you can.":"\u60A8\u7684\u7535\u8DEF\u6709\u70B9\u590D\u6742\uFF0C\u6211\u4EEC\u6CA1\u6709\u8DB3\u591F\u7684\u8D44\u6E90\u6765\u652F\u6301\u4F60\u7684\u8FD9\u6B21\u4EFF\u771F\uFF0C\u8BF7\u5C3D\u53EF\u80FD\u7B80\u5316\u4F60\u7684\u7535\u8DEF\u3002","There are components in this circuit that do not have a simulation model. Please use the base library component of the simulation mode for simulation.":"\u8BE5\u7535\u8DEF\u5B58\u5728\u6CA1\u6709\u4EFF\u771F\u6A21\u578B\u7684\u5143\u5668\u4EF6\uFF0C\u8BF7\u4F7F\u7528\u4EFF\u771F\u6A21\u5F0F\u7684\u57FA\u7840\u5E93\u5143\u4EF6\u8FDB\u884C\u4EFF\u771F\u3002","No AC signal source is detected in the circuit, please set the AC parameters manually.":"\u7535\u8DEF\u4E2D\u672A\u68C0\u6D4B\u5230\u4EA4\u6D41\u4FE1\u53F7\u6E90\uFF0C\u8BF7\u624B\u52A8\u8BBE\u7F6EAC\u53C2\u6570.","An AC excitation source needs to be set for AC analysis":"\u4EA4\u6D41\u5206\u6790\u65F6\u9700\u8981\u8BBE\u7F6EAC\u6FC0\u52B1\u6E90","Model data must be in . Subckt or .Model, followed by the simulation name and type, otherwise the model data may be empty, causing the simulation to fail!":"\u6A21\u578B\u6570\u636E\u5FC5\u987B\u4EE5.Subckt\u6216.Model\u5F00\u5934\uFF0C\u540E\u63A5\u4EFF\u771F\u540D\u79F0\u548C\u7C7B\u578B\uFF0C\u5426\u5219\u6A21\u578B\u6570\u636E\u53EF\u80FD\u4E3A\u7A7A\uFF0C\u5BFC\u81F4\u4EFF\u771F\u5931\u8D25\uFF01","Model data parsing error!":"\u6A21\u578B\u4FE1\u606F\u89E3\u6790\u9519\u8BEF\uFF01","Pin information is missing.":"\u5F15\u811A\u4FE1\u606F\u7F3A\u5931\u3002","Failed to pull the symbol pin list!":"\u62C9\u53BB\u7B26\u53F7\u5F15\u811A\u5217\u8868\u5931\u8D25\uFF01","Simulation engine starting, please wait.":"\u4EFF\u771F\u5F15\u64CE\u542F\u52A8\u4E2D\uFF0C\u8BF7\u7A0D\u5019\u3002",Analysis:"\u5206\u6790\u7C7B\u578B","Load From The File":"\u4ECE\u6587\u4EF6\u52A0\u8F7D","Editor Simulation Pins...":"\u7F16\u8F91\u4EFF\u771F\u5F15\u811A...","Pin mapping table":"\u5F15\u811A\u6620\u5C04\u8868","Symbol:":"\u7B26\u53F7\uFF1A","Frequency[Hz]":"\u9891\u7387[Hz]",Channel:"\u901A\u9053","Channel C":"\u901A\u9053 C","Channel D":"\u901A\u9053 D",Scale:"\u523B\u5EA6","Y-axis(grid)":"Y\u8F74\u4F4D\u79FB(\u683C)","X-axis(grid)":"X\u8F74\u4F4D\u79FB(\u683C)","Engine Detecton":"\u5F15\u64CE\u68C0\u6D4B",edge:"\u8FB9\u6CBF",level:"\u6C34\u5E73",CopyPhoto:"\u590D\u5236\u56FE\u7247",PlayPhoto:"\u653E\u7F6E\u56FE\u7247",LoadPhoto:"\u5BFC\u51FA\u56FE\u7247","Model Created successfully!":"\u6A21\u578B\u521B\u5EFA\u6210\u529F\uFF01","Model Update successfully!":"\u6A21\u578B\u66F4\u65B0\u6210\u529F\uFF01","Duplicated simulide title!":"simulide\u56FE\u9875\u5DF2\u5B58\u5728!","Duplicated ngspice title!":"ngspice\u56FE\u9875\u5DF2\u5B58\u5728\uFF01","look for Engine introduct":"\u67E5\u770B\u5F15\u64CE\u4ECB\u7ECD","(fix the decade Frequency)":"(\u56FA\u5B9A\u4E3A\u5341\u500D\u9891)","Click to Preview Simulation Model":"\u70B9\u51FB\u67E5\u770B\u4EFF\u771F\u6A21\u578B","s (The available options default to zero.)":"s (\u53EF\u9009\u9879\uFF0C\u9ED8\u8BA4\u4E3A0)","s (Optional, default (Tstop-Tstart)/50)":"s (\u53EF\u9009\u9879\uFF0C\u9ED8\u8BA4\u4E3A(Tstop-Tstart)/50)","Simulide  (Entry-level simulation, supporting real-time analysis)":"Simulide  (\u5165\u95E8\u7EA7\u4EFF\u771F\uFF0C\u652F\u6301\u5B9E\u65F6\u5206\u6790)","NGspice  (Advanced simulation, supporting various analyses such as transient and AC)":"NGspice  (\u8FDB\u9636\u7EA7\u4EFF\u771F\uFF0C\u652F\u6301\u77AC\u6001/\u4EA4\u6D41\u7B49\u591A\u79CD\u5206\u6790)","Please select the corresponding engine according to the type of analysis":"\u8BF7\u6839\u636E\u5206\u6790\u7C7B\u578B\u9009\u62E9\u5BF9\u5E94\u7684\u5F15\u64CE\uFF0C\u521B\u5EFA\u6210\u529F\u540E\u4E0D\u5141\u8BB8\u5F15\u64CE\u5207\u6362",'There are some parts haven\'t spice model, please use "EElib" and "Spice Symol" at "Libraries" of "Simulation" mode, or you can assign the spice model for them:':"\u5B58\u5728\u6CA1\u6709\u4EFF\u771F\u6A21\u578B\u7684\u5143\u5668\u4EF6\uFF0C\u8BF7\u4F18\u5148\u4F7F\u7528\u4EFF\u771F\u6A21\u5F0F\u4E0B\u7684\u201C\u57FA\u7840\u5E93\u201D\u548C\u5143\u4EF6\u5E93\u4E2D\u7684\u201C\u4EFF\u771F\u7B26\u53F7\u201D\u8FDB\u884C\u4EFF\u771F\uFF0C\u6216\u6307\u5B9A\u4EFF\u771F\u6A21\u578B\uFF1A","When a power pin is hidden, it will be marked as netlabel, you don't need to wire it. If you use it as simulation, please show it or create a GND/VCC Net for it.":"\u5F53\u4E00\u4E2A\u7535\u6E90\u5F15\u811A\u88AB\u9690\u85CF\uFF0C\u5B83\u5C06\u88AB\u6807\u8BB0\u4E3A\u7F51\u7EDC\u6807\u7B7E\uFF0C\u4F60\u4E0D\u9700\u8981\u8FDE\u63A5\u5B83\u3002\u5982\u679C\u60A8\u4F7F\u7528\u5B83\u8FDB\u884C\u4EFF\u771F\uFF0C\u8BF7\u5C06\u5B83\u663E\u793A\u6216\u4E3A\u5B83\u521B\u5EFA\u4E00\u4E2AGND/VCC\u7F51\u7EDC\u3002","Warming: Delete the Simulation model(s) will impact the other binded devices!":"\u8B66\u544A\uFF1A\u5220\u9664\u4EFF\u771F\u6A21\u578B\u5C06\u5F71\u54CD\u5176\u4ED6\u5DF2\u5173\u8054\u7684\u5668\u4EF6\u5E93\uFF01","You have downloaded the Jialichuang simulation plug-in, whether to download the installation package now?":"\u4F60\u8FD8\u672A\u4E0B\u8F7D\u5609\u7ACB\u521B\u4EFF\u771F\u63D2\u4EF6\uFF0C\u662F\u5426\u7ACB\u5373\u4E0B\u8F7D\u5B89\u88C5\u5305?","After the download is complete, click the Start Simulation button again to use it.":"\u4E0B\u8F7D\u5B8C\u6210\u540E\uFF0C\u91CD\u65B0\u70B9\u51FB\u5F00\u59CB\u4EFF\u771F\u6309\u952E\u5373\u53EF\u4F7F\u7528\u3002","Click to view the pin naming specification.":"\u70B9\u51FB\u67E5\u770B\u5F15\u811A\u547D\u540D\u89C4\u8303\u3002","It must comply with the Spice model specification, otherwise the simulation will fail! Click for details.":"\u9700\u7B26\u5408Spice\u6A21\u578B\u89C4\u8303\uFF0C\u5426\u5219\u4EFF\u771F\u5931\u8D25\uFF01\u70B9\u51FB\u67E5\u770B\u8BE6\u60C5\u3002","The input contains invalid characters. Please check and re-enter":"\u8F93\u5165\u5305\u542B\u65E0\u6548\u5B57\u7B26\uFF0C\u8BF7\u68C0\u67E5\u5E76\u91CD\u65B0\u8F93\u5165","This parameter cannot be empty, Please enter a value":"\u6B64\u53C2\u6570\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u8F93\u5165\u5185\u5BB9","The end time must be greater than the start time":"\u7EC8\u6B62\u65F6\u95F4\u5FC5\u987B\u5927\u4E8E\u521D\u59CB\u65F6\u95F4","This parameter must be a positive number":"\u8BE5\u53C2\u6570\u5FC5\u987B\u4E3A\u6B63\u6570","The stop frequency must be greater than the start frequency":"\u505C\u6B62\u9891\u7387\u5FC5\u987B\u5927\u4E8E\u8D77\u59CB\u9891\u7387","The stop value must be greater than the start value":"\u505C\u6B62\u503C\u9700\u8981\u5927\u4E8E\u8D77\u59CB\u503C","(Stop time - Start time) / timestep must be less than 10w":"(\u7EC8\u6B62\u65F6\u95F4-\u521D\u59CB\u65F6\u95F4)/\u65F6\u95F4\u6B65\u957F\u9700\u5C0F\u4E8E10w","The REC check failed,please check the circuit!":"ERC\u68C0\u6D4B\u672A\u901A\u8FC7\uFF0C\u8BF7\u68C0\u67E5\u7535\u8DEF\uFF01","Start Design SimRule Checking.":"\u5F00\u59CB\u4EFF\u771F\u8BBE\u8BA1\u89C4\u5219\u68C0\u67E5\u3002","Finish Design SimRule Checking.":"\u5B8C\u6210\u4EFF\u771F\u8BBE\u8BA1\u89C4\u5219\u68C0\u67E5\u3002","Component {objectID} does not have a corresponding simulation model.":"\u5143\u4EF6 {objectID} \u7F3A\u5C11\u201C\u4EFF\u771F\u6A21\u578B\u201D\u5C5E\u6027\u3002",'The component needs to have a "device" attribute and cannot be empty':"\u5143\u4EF6\u9700\u8981\u6709\u201C\u5668\u4EF6\u201D\u5C5E\u6027\uFF0C\u4E0D\u80FD\u4E3A\u7A7A","The circuit needs a signal input":"\u7535\u8DEF\u9700\u8981\u6709\u4FE1\u53F7\u6E90\u8F93\u5165","Component need to be bound to simulation models":"\u5143\u4EF6\u9700\u8981\u7ED1\u5B9A\u4EFF\u771F\u6A21\u578B","The simulated circuit is missing a signal source, check the circuit.":"\u4EFF\u771F\u7535\u8DEF\u7F3A\u5C11\u4FE1\u53F7\u6E90\uFF0C\u8BF7\u68C0\u67E5\u7535\u8DEF\u3002","Always validate that every simulation schematic has a clearly defined GND node to guarantee a closed-loop topology":"\u7535\u8DEF\u9700\u8981\u5F62\u6210\u7535\u6D41\u56DE\u8DEF\uFF1A\u4EFF\u771F\u7535\u8DEF\u4E2D\u5FC5\u987B\u5305\u542BGND","No valid ground reference point detected All circuits must contain at least one GND connection.":"\u672A\u68C0\u6D4B\u5230\u6709\u6548\u63A5\u5730\u53C2\u8003\u70B9,\u7535\u8DEF\u5FC5\u987B\u5305\u542B\u81F3\u5C11\u4E00\u4E2AGND\u8FDE\u63A5\u3002","Components Designator can not be repeated(generating a netlist, clicking start simulation will automatically assign tags)":"\u5143\u4EF6\u4F4D\u53F7\u4E0D\u80FD\u91CD\u590D(\u751F\u6210\u7F51\u8868\u3001\u70B9\u51FB\u5F00\u59CB\u4EFF\u771F\u540E\u4F1A\u81EA\u52A8\u4FEE\u6539\u91CD\u590D\u4F4D\u53F7)","Components need to be assigned tags (generating a netlist, clicking start simulation will automatically assign tags)":"\u5143\u4EF6\u9700\u8981\u5206\u914D\u4F4D\u53F7(\u751F\u6210\u7F51\u8868\u3001\u70B9\u51FB\u5F00\u59CB\u4EFF\u771F\u540E\u4F1A\u81EA\u52A8\u5206\u914D\u4F4D\u53F7)","Found some components\xA0Pins floating, suggest placing No Connect Flag on the Pins : {ObjectID}":"\u53D1\u73B0\u5143\u4EF6\u5F15\u811A\u60AC\u7A7A\uFF0C\u5EFA\u8BAE\u653E\u7F6E\u975E\u8FDE\u63A5\u6807\u8BC6\u5728\u5F15\u811A\u4E0A : {ObjectID}\u3002",'The property "Designator" of Component {objectID} doesn\'t match the suggestion rule. Suggesting the Designator value combine into: English letters + numeric or question mark.':"\u5143\u4EF6 {objectID} \u7684\u4F4D\u53F7\u4E0D\u7B26\u5408\u5EFA\u8BAE\u7684\u89C4\u5219\u3002\u5EFA\u8BAE\u4F4D\u53F7\u503C\u7EC4\u6210\uFF1A\u82F1\u6587\u5B57\u6BCD+\u6570\u5B57\u6216\u82F1\u6587\u95EE\u53F7\u3002","The circuit needs to have detection points":"\u7535\u8DEF\u9700\u8981\u6709\u63A2\u6D4B\u70B9","No probe detected, please add or check the probe location number.":"\u672A\u68C0\u6D4B\u5230\u63A2\u9488\uFF0C\u8BF7\u6DFB\u52A0\u6216\u68C0\u67E5\u63A2\u9488\u4F4D\u53F7\u3002","Transactional analysis and branch scanning only support voltage data calculations":"\u4EA4\u6D41\u5206\u6790\u548C\u76F4\u6D41\u626B\u63CF\u4EC5\u652F\u6301\u7535\u538B\u6570\u636E\u7684\u6D4B\u7B97","This analysis mode only supports the calculation of voltage data. Please remove the other probes: {objectID}.":"\u6B64\u5206\u6790\u6A21\u5F0F\u4EC5\u652F\u6301\u7535\u538B\u6570\u636E\u7684\u6D4B\u7B97\uFF0C\u8BF7\u5220\u9664\u5176\u4F59\u63A2\u9488: {objectID}\u3002",'Component {objectID} has empty value of property "Value".':"\u5143\u4EF6 {objectID} \u7684\u5C5E\u6027\u201C\u503C\u201D\u5185\u5BB9\u4E3A\u7A7A\u3002",'Pin {objectID} has empty value of property "Pin Number".':"\u5F15\u811A {objectID} \u5C5E\u6027\u201C\u5F15\u811A\u7F16\u53F7\u201D\u4E3A\u7A7A\u3002","The Simulide engine does not support network identifiers(Except GND)":"Simulide\u5F15\u64CE\u4E0D\u652F\u6301\u7F51\u7EDC\u6807\u8BC6(GND\u9664\u5916)","The Simulide engine does not support network tags":"Simulide\u5F15\u64CE\u4E0D\u652F\u6301\u7F51\u7EDC\u6807\u7B7E","Simulide does not support network identifiers, please remove {objectID}":"Simulide\u4E0D\u652F\u6301\u7F51\u7EDC\u6807\u8BC6\uFF0C\u8BF7\u5220\u9664 {objectID}","Simulide does not support network tags, please remove {objectID}":"Simulide\u4E0D\u652F\u6301\u7F51\u7EDC\u6807\u7B7E\uFF0C\u8BF7\u5220\u9664 {objectID}","If the simulation convergence fails, please check the circuit design or adjust the parameters. {dataStr}":"\u4EFF\u771F\u6536\u655B\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7535\u8DEF\u8BBE\u8BA1\u6216\u8C03\u6574\u53C2\u6570\u3002 {dataStr}","If the plotting fails and the data volume is too large (> 100,000 points), adjust the simulation step size or reduce the detection points. {dataStr}":"\u7ED8\u56FE\u5931\u8D25\uFF0C\u6570\u636E\u91CF\u8FC7\u5927(>100,000\u70B9)\uFF0C\u8BF7\u8C03\u6574\u4EFF\u771F\u6B65\u957F\u6216\u51CF\u5C11\u63A2\u6D4B\u70B9\u3002 {dataStr}","If the simulation times out, check the circuit design or adjust the parameters. {dataStr}":"\u4EFF\u771F\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u7535\u8DEF\u8BBE\u8BA1\u6216\u8C03\u6574\u53C2\u6570\u3002 {dataStr}","Circuit import failed. {dataStr}":"\u7535\u8DEF\u5BFC\u5165\u5931\u8D25\u3002 {dataStr}","Simulation analysis warning: Please check the circuit configuration. {dataStr}":"\u4EFF\u771F\u5206\u6790\u8B66\u544A\uFF0C\u8BF7\u68C0\u67E5\u7535\u8DEF\u914D\u7F6E\u3002 {dataStr}","Notice: The width or height max size is 4096px":"\u63D0\u793A\uFF1A\u5BBD\u6216\u9AD8\u6700\u5927\u652F\u63014096px","Network primitives":"\u7F51\u7EDC\u56FE\u5143","Performance Diagnostic...":"\u6027\u80FD\u8BCA\u65AD...","Performance Diagnostic":"\u6027\u80FD\u8BCA\u65AD","Rebuilding search index, please wait a while...":"\u91CD\u5EFA\u641C\u7D22\u7D22\u5F15\u4E2D\uFF0C\u8BF7\u7A0D\u5019...","Rebuild search index maybe need some time, do you want to continue?":"\u91CD\u5EFA\u641C\u7D22\u7D22\u5F15\u53EF\u80FD\u9700\u8981\u4E00\u5B9A\u7684\u65F6\u95F4\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","Extension Library":"\u6269\u5C55\u5E93","Internal Extension":"\u5185\u90E8\u6269\u5C55","External Extension":"\u5916\u90E8\u6269\u5C55","Extension Square":"\u6269\u5C55\u5E7F\u573A",Installed:"\u5DF2\u5B89\u88C5",Uninstall:"\u5378\u8F7D",Upgrade:"\u66F4\u65B0","Uninstall Extension":"\u5378\u8F7D\u6269\u5C55","This action will permanently uninstall the following extensions. Do you wish to continue?":"\u6B64\u64CD\u4F5C\u5C06\u6C38\u4E45\u5378\u8F7D\u5982\u4E0B\u6269\u5C55\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","I got it, continue to operate.":"\u6211\u5DF2\u77E5\u6089\uFF0C\u7EE7\u7EED\u64CD\u4F5C","Not Installed":"\u672A\u5B89\u88C5",PanelLibrary:"\u9762\u677F\u5E93",DocumentTree:"\u6587\u6863\u6811",IntegratedLibrary:"\u5143\u4EF6\u5E93",Tool:"\u5DE5\u5177",Fun:"\u5A31\u4E50",Enabled:"\u5DF2\u542F\u7528",Disabled:"\u5DF2\u7981\u7528","Not Category":"\u672A\u5206\u7C7B",Basis:"\u57FA\u7840",Variants:"\u53D8\u4F53",Variant:"\u53D8\u91CF","Component Group":"\u5143\u4EF6\u5206\u7EC4","Not Grouping":"\u672A\u5F52\u7EC4","Join In Selected Variant":"\u52A0\u5165\u5DF2\u9009\u53D8\u4F53","Join In Assembly Variant Group":"\u52A0\u5165\u88C5\u914D\u53D8\u91CF\u5206\u7EC4","Variant View Mode":"\u53D8\u91CF\u89C6\u56FE\u6A21\u5F0F","Assembly Variant View Mode":"\u88C5\u914D\u53D8\u91CF\u89C6\u56FE\u6A21\u5F0F","Rename Variant":"\u91CD\u547D\u540D\u53D8\u4F53","Rename Component Group":"\u91CD\u547D\u540D\u5206\u7EC4","Component Group Name":"\u5206\u7EC4\u540D\u79F0","Variant Name":"\u53D8\u4F53\u540D\u79F0","Error\uFF1AThe component is defined multiple times in the variant !":"\u9519\u8BEF\uFF1A\u5143\u4EF6\u5728\u53D8\u4F53\u4E2D\u88AB\u591A\u6B21\u5B9A\u4E49\uFF01","The selected components will be removed from parent and subset groupings under the source group and will be added to all group under destination group.":"\u9009\u5B9A\u7684\u5143\u4EF6\u5C06\u4ECE\u6E90\u7EC4\u4E0B\u7684\u6240\u6709\u7236\u7EA7\u5206\u7EC4\u548C\u5B50\u96C6\u5206\u7EC4\u4E2D\u5220\u9664\uFF0C\u5E76\u6DFB\u52A0\u5230\u76EE\u6807\u7EC4\u4E0B\u7684\u6240\u6709\u7EC4\u4E2D\u3002","The selected components will be removed from parent and subset groupings.":"\u9009\u5B9A\u7684\u5143\u4EF6\u5C06\u4ECE\u7236\u7EA7\u5206\u7EC4\u548C\u5B50\u96C6\u5206\u7EC4\u4E2D\u79FB\u9664\u3002","The component  is defined multiple times in the variant {variantName}: {object}":"\u5143\u4EF6\u5728\u53D8\u4F53{variantName}\u88AB\u591A\u6B21\u5B9A\u4E49: {object}","Create Node Above":"\u4E0A\u65B9\u521B\u5EFA\u8282\u70B9","Create Node Below":"\u4E0B\u65B9\u521B\u5EFA\u8282\u70B9","Create Subnode":"\u521B\u5EFA\u5B50\u8282\u70B9","Clone Node":"\u514B\u9686\u8282\u70B9","Delete All Subnode":"\u5220\u9664\u6240\u6709\u5B50\u8282\u70B9","Display variable components only":"\u4EC5\u663E\u793A\u53D8\u91CF\u5143\u4EF6","Hierarchical Position":"\u5C42\u6B21\u4F4D\u7F6E","Alternative Component":"\u66FF\u4EE3\u5668\u4EF6","Variant Source":"\u53D8\u91CF\u6765\u6E90","Create Group":"\u521B\u5EFA\u5206\u7EC4","Clone Group":"\u514B\u9686\u5206\u7EC4","Create Variant":"\u521B\u5EFA\u53D8\u4F53","Clone Variant":"\u514B\u9686\u53D8\u4F53","Edit Variant":"\u7F16\u8F91\u53D8\u4F53","Move Into Group":"\u79FB\u5165\u5206\u7EC4","Set As Assembly":"\u8BBE\u4E3A\u88C5\u914D","Set As Non-Assembly":"\u8BBE\u4E3A\u4E0D\u88C5\u914D","Set Alternative Component":"\u8BBE\u7F6E\u66FF\u4EE3\u5668\u4EF6","Clear Alternative Component":"\u6E05\u9664\u66FF\u4EE3\u5668\u4EF6","Restore Base Properties":"\u6062\u590D\u57FA\u7840\u5C5E\u6027","Invert Selection":"\u53CD\u9009","Go to Canvas And Select the Component":"\u53BB\u753B\u5E03\u9009\u4E2D\u5143\u4EF6","Please select the group to add to the variant.":"\u8BF7\u9009\u62E9\u9700\u8981\u52A0\u2F0A\u53D8\u4F53\u7684\u5206\u7EC4","Pre-select the variants to join.":"\u8BF7\u9009\u62E9\u9700\u8981\u52A0\u2F0A\u7684\u53D8\u4F53","Not Grouping components cannot be set!":"\u672A\u5F52\u7EC4\u5143\u4EF6\u4E0D\u80FD\u8BBE\u7F6E!","Not Grouping components cannot be set assigned alternative components":"\u672A\u5F52\u7EC4\u5143\u4EF6\u4E0D\u80FD\u8BBE\u7F6E\u66FF\u4EE3\u5668\u4EF6","Execution Successful!":"\u6267\u884C\u6210\u529F!","Execution Failed!":"\u6267\u884C\u5931\u8D25!","Some groups are referenced, continue deletion?":"\u90E8\u5206\u5206\u7EC4\u88AB\u5F15\u7528\uFF0C\u662F\u5426\u7EE7\u7EED\u5220\u9664\uFF1F","Export BOM failed!":"\u5BFC\u51FABOM\u5931\u8D25!","Missing the following sheets":"\u4EE5\u4E0BSheet\u9875\u7F3A\u5931","Varaint Import failed:":"\u53D8\u4F53\u5BFC\u5165\u5931\u8D25","Component Group Import failed:":"\u5143\u4EF6\u5206\u7EC4\u5BFC\u5165\u5931\u8D25","Component Group Join successfully":"\u52A0\u5165\u5143\u4EF6\u5206\u7EC4\u6210\u529F","Component Group Join failed":"\u52A0\u5165\u5143\u4EF6\u5206\u7EC4\u5931\u8D25","Components not found in Variant {variant}: {component}":"\u53D8\u4F53 {variant} \u672A\u627E\u5230\u5BF9\u5E94\u7684\u5143\u4EF6: {component}","Components not found in Component Group {componentGroup}: {component}":"\u5143\u4EF6\u5206\u7EC4 {componentGroup} \u672A\u627E\u5230\u5BF9\u5E94\u7684\u5143\u4EF6: {component}","Run Script...":"\u8FD0\u884C\u811A\u672C...","Run Command...":"\u8FD0\u884C\u547D\u4EE4...","Run Command":"\u8FD0\u884C\u547D\u4EE4","Script List":"\u811A\u672C\u5217\u8868","Script Manager...":"\u811A\u672C\u7BA1\u7406\u5668...","Script Manager":"\u811A\u672C\u7BA1\u7406\u5668","Extension Manager...":"\u63D2\u4EF6\u7BA1\u7406\u5668...","New Script":"\u65B0\u811A\u672C","Create New Script":"\u65B0\u5EFA\u811A\u672C","Modify Script":"\u4FEE\u6539\u811A\u672C","Expand more history":"\u5C55\u5F00\u66F4\u591A\u5386\u53F2\u8BB0\u5F55",Today:"\u4ECA\u5929",Yesterday:"\u6628\u5929",Monday:"\u5468\u4E00",Tuesday:"\u661F\u671F\u4E8C",Wednesday:"\u661F\u671F\u4E09",Thursday:"\u661F\u671F\u56DB",Friday:"\u661F\u671F\u4E94",Saturday:"\u661F\u671F\u516D",Sunday:"\u661F\u671F\u65E5","A Week Ago":"\u4E00\u5468\u524D","Within 30 Days":"30\u5929\u5185","A Month Ago":"\u4E00\u4E2A\u6708\u524D","Two Months Ago":"\u4E24\u4E2A\u6708\u524D","Three Months Ago":"\u4E09\u4E2A\u6708\u524D","Four Months Ago":"\u56DB\u4E2A\u6708\u524D","Five Months Ago":"\u4E94\u4E2A\u6708\u524D","Half Year Ago":"\u534A\u5E74\u524D","A Year Ago":"\u4E00\u5E74\u524D","Two Years Ago":"\u4E24\u5E74\u524D","Other {0} changes exist after the current history. Do you want to restore all?":"\u5F53\u524D\u5386\u53F2\u8BB0\u5F55\u4E4B\u540E\u540C\u65F6\u5B58\u5728\u5176\u4ED6{0}\u7684\u66F4\u6539,\u662F\u5426\u540C\u65F6\u8FD8\u539F?","Restore Current Document":"\u4EC5\u8FD8\u539F\u5F53\u524D\u9875\u9762","Restore All":"\u540C\u65F6\u8FD8\u539F","Netlist Comparison":"\u7F51\u8868\u5BF9\u6BD4","Schematic Comparison":"\u539F\u7406\u56FE\u5BF9\u6BD4","Show Only Differences":"\u4EC5\u663E\u793A\u5DEE\u5F02","Object Comparison":"\u5BF9\u8C61\u6BD4\u8F83","Network Comparison":"\u7F51\u7EDC\u6BD4\u8F83",comparison:"\u5BF9\u6BD4","Attribute Filters":"\u5C5E\u6027\u8FC7\u6EE4","Attributes not to be compared":"\u4E0D\u5BF9\u6BD4\u5C5E\u6027","Case-insensitive handling of net name":"\u4E0D\u533A\u5206\u7F51\u7EDC\u540D\u79F0\u7684\u5927\u5C0F\u5199",Net1:"\u7F51\u7EDC1",Net2:"\u7F51\u7EDC2",Detail:"\u8BE6\u60C5","Schematic1 is the same as Schematic2!":"\u539F\u7406\u56FE1\u4E0E\u539F\u7406\u56FE2\u76F8\u540C!","{n} Components":"{n}\u4E2A\u5143\u4EF6","{n} Pins":"{n}\u4E2A\u5F15\u811A","There is no difference in the netlist":"\u7F51\u8868\u65E0\u5DEE\u5F02","The schematic diagram and PCB need to be under the same board to use this feature.":"\u539F\u7406\u56FE\u548CPCB\u9700\u8981\u5728\u540C\u4E00\u4E2A\u677F\u5B50\u4E0B\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD\u3002","Select the schematics that need to be placed on the same board":"\u8BF7\u9009\u62E9\u9700\u8981\u7F6E\u4E8E\u540C\u4E00\u677F\u5B50\u4E0B\u7684\u539F\u7406\u56FE","Select the PCB that need to be placed on the same board":"\u8BF7\u9009\u62E9\u9700\u8981\u7F6E\u4E8E\u540C\u4E00\u677F\u5B50\u4E0B\u7684PCB","Create a new PCB and place it on the same board":"\u65B0\u5EFAPCB\u5E76\u7F6E\u4E8E\u540C\u4E00\u677F\u5B50\u4E0B","Create a new schematic and place it on the same board":"\u65B0\u5EFA\u539F\u7406\u56FE\u5E76\u7F6E\u4E8E\u540C\u4E00\u677F\u5B50\u4E0B","Your script hasn't been saved. Would you like to save it now?":"\u4F60\u7684\u811A\u672C\u5C1A\u672A\u4FDD\u5B58\uFF0C\u662F\u5426\u4FDD\u5B58\uFF1F","EasyEDA Pro Archive Format V1(*.epro)":"\u5609\u7ACB\u521BEDA\u5F52\u6863\u683C\u5F0FV1(*.epro)","EasyEDA Pro Archive Format V2(*.epro2)":"\u5609\u7ACB\u521BEDA\u5F52\u6863\u683C\u5F0FV2(*.epro2)","EasyEDA Pro Archive Format V1(*.elibz)":"\u5609\u7ACB\u521BEDA\u5F52\u6863\u683C\u5F0FV1(*.elibz)","EasyEDA Pro Archive Format V2(*.elibz2)":"\u5609\u7ACB\u521BEDA\u5F52\u6863\u683C\u5F0FV2(*.elibz2)","Input Command":"\u8F93\u5165\u547D\u4EE4","Double-clicking on a historical command allows it to be filled in again":"\u53CC\u51FB\u5386\u53F2\u547D\u4EE4\u518D\u6B21\u53EF\u518D\u6B21\u586B\u5165","Tip: The Line object will not generate teardrop. If no teardrop is generated, please use the Track instead of Line.":"\u63D0\u793A\uFF1A\u7EBF\u6761\u4E0D\u4F1A\u751F\u6210\u6CEA\u6EF4\uFF0C\u5982\u672A\u751F\u6210\u6CEA\u6EF4\u8BF7\u5C06\u7EBF\u6761\u5220\u9664\u7528\u5BFC\u7EBF\u7ED8\u5236","Edit Symbols - Apply Only Selected:":"\u7F16\u8F91\u7B26\u53F7-\u4EC5\u5E94\u7528\u9009\u4E2D\u5C06\u4F1A\uFF1A","The selected symbols {xxx} will be replaced with the newly saved symbol {xxx_1}.":"\u9009\u4E2D\u8303\u56F4\u5185\u7684\u7B26\u53F7 {xxx} \u88AB\u66FF\u6362\u4E3A\u53E6\u5B58\u7684\u7B26\u53F7 {xxx_1}\u3002","Restore Symbol Bound to the Device":"\u6062\u590D\u4E3A\u5668\u4EF6\u7ED1\u5B9A\u7684\u7B26\u53F7","Video Capture...":"\u89C6\u9891\u5F55\u5236...","Video Capture":"\u89C6\u9891\u5F55\u5236","Tip: Please select the currect screen to capture the video to reproduce the issue, and then send the video to technical support.":"\u63D0\u793A\uFF1A\u8BF7\u9009\u62E9\u5F53\u524D\u5C4F\u5E55\u540E\uFF0C\u8FDB\u884C\u5F55\u5236\u95EE\u9898\u7684\u590D\u73B0\u6B65\u9AA4\uFF0C\u518D\u53D1\u7ED9\u6280\u672F\u652F\u6301\u3002","Video Capture Finish":"\u89C6\u9891\u5F55\u5236\u7ED3\u675F","Stop Recording":"\u7ED3\u675F\u5F55\u5236","Pin Conflicts Detection":"\u5F15\u811A\u51B2\u7A81\u68C0\u6D4B","All Set To Ignore":"\u6240\u6709\u5FFD\u7565","All Set To Warning":"\u6240\u6709\u8B66\u544A","All Set To Error":"\u6240\u6709\u9519\u8BEF","All Set To Fatal Error":"\u6240\u6709\u81F4\u547D\u9519\u8BEF","Copper Bridge List":"\u6865\u63A5\u7F51\u7EDC","Copper Bridge":"\u6865\u63A5\u94DC","{net} net has been selected, please select another bridge net":"{net}\u7F51\u7EDC\u5DF2\u88AB\u9009\u62E9\uFF0C\u8BF7\u9009\u62E9\u5176\u4ED6\u6865\u63A5\u7F51\u7EDC","@@setting-pcbshow":{"Manual Highlight Style":"\u624B\u52A8\u9AD8\u4EAE\u6837\u5F0F","Main Color Mask":"\u4E3B\u4F53\u989C\u8272\u906E\u7F69","Non-main Colors Darkened":"\u975E\u4E3B\u4F53\u989C\u8272\u53D8\u6697","Temporarily highlight all elements when non-active layers are grayed out or hidden":"\u975E\u6FC0\u6D3B\u5C42\u53D8\u7070\u6216\u9690\u85CF\u65F6\uFF0C\u4E34\u65F6\u9AD8\u4EAE\u663E\u793A\u6240\u6709\u56FE\u5143",Highlight:"\u7A81\u51FA\u663E\u793A","Other objects become dim when dragging a network object":"\u62D6\u52A8\u7F51\u7EDC\u56FE\u5143\u65F6\u5176\u5B83\u56FE\u5143\u53D8\u6697"},"Increase Brightness":"\u63D0\u9AD8\u4EAE\u5EA6","Decrease Brightness":"\u964D\u4F4E\u4EAE\u5EA6","The element is locked. Please unlock it and try again.":"\u5B58\u5728\u88AB\u9501\u5B9A\u7684\u56FE\u5143\uFF0C\u8BF7\u53D6\u6D88\u9501\u5B9A\u540E\u91CD\u8BD5","Split failed, non-stiffener region and non-fill region doesn't support for internal split.":"\u88C1\u526A\u5931\u8D25\uFF0C\u5185\u90E8\u88C1\u526A\u4E0D\u652F\u6301\u975E\u586B\u5145\u533A\u57DF\u4E0E\u975E\u8865\u5F3A\u533A\u57DF","About the Library Files Note":"\u5173\u4E8E\u5E93\u6587\u4EF6\u7684\u63D0\u793A","The device is not associated with a symbol":"\u5668\u4EF6\u6CA1\u6709\u5173\u8054\u7B26\u53F7","Symbol {symbol_name} has no content":"\u7B26\u53F7 {symbol_name} \u6CA1\u6709\u5185\u5BB9","Part {part_name} of symbol {symbol_name} has no content":"\u7B26\u53F7 {symbol_name} \u7684\u90E8\u4EF6 {part_name} \u6CA1\u6709\u5185\u5BB9","The device is not associated with a footprint":"\u5668\u4EF6\u6CA1\u6709\u5173\u8054\u5C01\u88C5","Footprint {package_name} has no content":"\u5C01\u88C5 {package_name} \u6CA1\u6709\u5185\u5BB9","Windows7 doesn't support video capture feature!":"Windows7\u4E0D\u652F\u6301\u89C6\u9891\u5F55\u5236\u529F\u80FD\uFF01","Search, at lease 2 charaters":"\u641C\u7D22\uFF0C\u81F3\u5C112\u4E2A\u5B57\u7B26","Search, at lease 3 charaters":"\u641C\u7D22\uFF0C\u81F3\u5C113\u4E2A\u5B57\u7B26","Not support copy this type content":"\u4E0D\u652F\u6301\u590D\u5236\u8BE5\u7C7B\u578B\u6570\u636E","Save failed, already exist the same name script":"\u4FDD\u5B58\u5931\u8D25\uFF0C\u5DF2\u5B58\u5728\u540C\u540D\u811A\u672C","Do not use template":"\u4E0D\u4F7F\u7528\u6A21\u677F","New without Template":"\u4E0D\u4F7F\u7528\u6A21\u677F\u65B0\u5EFA","Reuse Template Content":"\u590D\u7528\u6A21\u677F\u5185\u5BB9","@@setting-hotkey":{"JLCEDA Pro":"\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248","JLCEDA Std":"\u5609\u7ACB\u521BEDA\u6807\u51C6\u7248"},"Automatically Highlight Selection":"\u81EA\u52A8\u9AD8\u4EAE\u9009\u4E2D","Update Pin Name Synchronously":"\u540C\u6B65\u66F4\u65B0\u5F15\u811A\u540D\u79F0","Please wait for the copy to complete":"\u8BF7\u7B49\u5F85\u590D\u5236\u5B8C\u6210","Please wait for the cut to complete":"\u8BF7\u7B49\u5F85\u526A\u5207\u5B8C\u6210","Please select file type":"\u8BF7\u9009\u62E9\u6587\u4EF6\u7C7B\u578B","There are files that cannot be recognized as correct EDA types. Please select a file type to continue opening.":"\u5B58\u5728\u6587\u4EF6\u65E0\u6CD5\u8BC6\u522BEDA\u7C7B\u578B\uFF0C\u8BF7\u9009\u62E9\u4E00\u4E2A\u6587\u4EF6\u7C7B\u578B\u7EE7\u7EED\u6253\u5F00\u3002","This file type is not currently supported":"\u6682\u4E0D\u652F\u6301\u8BE5\u6587\u4EF6\u7C7B\u578B","@@global-web-search":{OSHWLAB:"\u5F00\u6E90",Tutorials:"\u6559\u7A0B"},"Copy Reuse Blocks":"\u590D\u5236\u590D\u7528\u6A21\u5757","Show Action Selection Popup":"\u663E\u793A\u64CD\u4F5C\u5F39\u7A97","The copied content uses the following reuse blocks. Please select whether to also copy the reuse blocks?":"\u590D\u5236\u7684\u5185\u5BB9\u4F7F\u7528\u4E86\u4EE5\u4E0B\u590D\u7528\u6A21\u5757\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u540C\u65F6\u590D\u5236\u590D\u7528\u6A21\u5757\u6A21\u677F\uFF1F","By checking \u201CDo not prompt\u201D, the next operation will be executed automatically according to \u201CNon-Copy\u201D, and there will be no more prompts, which can be modified in {position}.":"\u52FE\u9009\u201C\u4E0D\u518D\u63D0\u2F70\u201D\uFF0C\u4E0B\u6B21\u64CD\u4F5C\u5C06\u4F1A\u6309\u7167\u201C\u4E0D\u590D\u5236\u201C\u2F83\u52A8\u6267\u2F8F\uFF0C\u4E0D\u4F1A\u518D\u6709\u63D0\u2F70\uFF0C\u53EF\u4EE5\u5728 {position} \u4E2D\u8FDB\u2F8F\u4FEE\u6539\u3002","Settings-System-General":"\u8BBE\u7F6E-\u7CFB\u7EDF-\u901A\u7528","Non-Copy":"\u4E0D\u590D\u5236","Backup\xA0by manually have reached 10 times, please delete some backups and then try again":"\u624B\u52A8\u5907\u4EFD\u6B21\u6570\u8FBE\u5230\u4E0A\u9650\uFF0C\u8BF7\u5148\u5220\u9664\u4E00\u4E9B\u5907\u4EFD\u518D\u64CD\u4F5C","Save failed, please login first and try again!":"\u4FDD\u5B58\u5931\u8D25\uFF0C\u8BF7\u5148\u767B\u5F55\u540E\u518D\u6B21\u5C1D\u8BD5\uFF01","Not support paste, check your clipboard permission":"\u4E0D\u652F\u6301\u7C98\u8D34\uFF0C\u8BF7\u68C0\u67E5\u4F60\u7684\u526A\u8D34\u677F\u6743\u9650","Not support copy, check your clipboard permission":"\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u68C0\u67E5\u4F60\u7684\u526A\u8D34\u677F\u6743\u9650","Create project component failed, can not place":"\u521B\u5EFA\u5DE5\u7A0B\u5E93\u5931\u8D25\uFF0C\u65E0\u6CD5\u653E\u7F6E","Failed to get file data!":"\u83B7\u53D6\u6587\u4EF6\u6570\u636E\u5931\u8D25\uFF01","Found board is far away from the origin. Will it be output in relative origin coordinates?":"\u53D1\u73B0\u677F\u6846\u504F\u79BB\u539F\u70B9\u8F83\u8FDC\uFF0C\u5C06\u91C7\u7528\u76F8\u5BF9\u539F\u70B9\u5750\u6807\u8F93\u51FA?","Place Device failed, get footprint failed":"\u653E\u7F6E\u5668\u4EF6\u5931\u8D25\uFF0C\u83B7\u53D6\u4E0D\u5230\u5C01\u88C5","Place Device failed, get symbol failed":"\u653E\u7F6E\u5668\u4EF6\u5931\u8D25\uFF0C\u83B7\u53D6\u4E0D\u5230\u7B26\u53F7","Get Device failed":"\u83B7\u53D6\u5668\u4EF6\u5931\u8D25","Missing {it} License":"\u7F3A\u5C11{it}\u6388\u6743","Found un-poured copper region object(s), suggesting rebuild copper region(s) at copper region manager.":"\u5B58\u5728\u672A\u586B\u5145\u7684\u94FA\u94DC\u56FE\u5143\uFF0C\u5EFA\u8BAE\u5728\u94FA\u94DC\u7BA1\u7406\u5668\u8FDB\u884C\u91CD\u5EFA\u3002","The preview images of the following documents are missing:":"\u4EE5\u4E0B\u6587\u6863\u4E22\u5931\u9884\u89C8\u56FE:","Temporary Page Files":"\u9875\u9762\u4E34\u65F6\u6587\u4EF6","Affects Login Information":"\u5F71\u54CD\u767B\u5F55\u4FE1\u606F","Affects\xA0Local Cache":"\u5F71\u54CD\u672C\u5730\u7F13\u5B58","Affects Personal Preferences":"\u5F71\u54CD\u4E2A\u4EBA\u504F\u597D\u8BBE\u7F6E","Follow DXF":"\u8DDF\u968FDXF","Non-3.0 project conversion failed":"\u975E3.0\u5DE5\u7A0B\u8F6C\u5316\u5931\u8D25","There can only be one PCB and board in one project":"\u4E00\u4E2A\u5DE5\u7A0B\u4E0B\u53EA\u80FD\u6709\u4E00\u4E2APCB\u548C\u677F\u5B50","Safety Tips":"\u5B89\u5168\u63D0\u793A","The currently installed extension has called external interaction interfaces such as networking and local file access, and the external interaction permission of the extension has been disabled by default. Make sure you trust the publisher of your extension before enabling this permission, or your assets may be compromised.":"\u5F53\u524D\u5B89\u88C5\u7684\u6269\u5C55\u5DF2\u8C03\u7528\u8054\u7F51\u3001\u672C\u5730\u6587\u4EF6\u5B58\u53D6\u7B49\u5916\u90E8\u4EA4\u4E92\u63A5\u53E3\uFF0C\u6269\u5C55\u7684\u5916\u90E8\u4EA4\u4E92\u6743\u9650\u5DF2\u9ED8\u8BA4\u7981\u7528\u3002\u8BF7\u786E\u4FDD\u60A8\u4FE1\u4EFB\u6269\u5C55\u7684\u53D1\u5E03\u8005\u540E\u518D\u542F\u7528\u8BE5\u6743\u9650\uFF0C\u5426\u5219\u60A8\u7684\u8D44\u4EA7\u53EF\u80FD\u906D\u53D7\u635F\u5931\u3002","Mirror bottom component's rotation(JLCPCB doesn't need)":"\u955C\u50CF\u5E95\u5C42\u5143\u4EF6\u65CB\u8F6C\u89D2\u5EA6(\u5609\u7ACB\u521B\u4E0D\u9700\u8981)","Coordinates do not include units":"\u5750\u6807\u4E0D\u5305\u542B\u5355\u4F4D","Paste Property":"\u7C98\u8D34\u5C5E\u6027",paste2CurrentActiveLayer:"\u7C98\u8D34\u5230\u5F53\u524D\u6FC0\u6D3B\u5C42","Keep Origin Nets":"\u4FDD\u7559\u539F\u7F51\u7EDC","Clear Nets":"\u6E05\u9664\u7F51\u7EDC","Inherit Nets from Touched Objects":"\u7EE7\u627F\u63A5\u89E6\u5BF9\u8C61\u7684\u7F51\u7EDC","Some networks were not inherited, please check":"\u90E8\u5206\u7F51\u7EDC\u672A\u7EE7\u627F\uFF0C\u8BF7\u8FDB\u884C\u68C0\u67E5","The selected shape is not closed,Should the automatically closed shape be converted to a board shape?":"\u9009\u4E2D\u7684\u56FE\u5F62\u672A\u95ED\u5408\uFF0C\u662F\u5426\u5C06\u81EA\u52A8\u95ED\u5408\u7684\u56FE\u5F62\u8F6C\u4E3A\u677F\u5B50\u5F62\u72B6","@@pastePanel":{Location:"\u4F4D\u7F6E"},"The Outside of Board Shape":"\u677F\u5B50\u5F62\u72B6\u5916\u90E8","Board Shape":"\u677F\u5B50\u5F62\u72B6","Generate Board Shape from Selection":"\u6839\u636E\u9009\u4E2D\u751F\u6210\u677F\u5B50\u5F62\u72B6","Generate Lines from Board Shape":"\u6839\u636E\u677F\u5B50\u5F62\u72B6\u751F\u6210\u7EBF\u6761","Convert to Track":"\u8F6C\u4E3A\u5BFC\u7EBF","{number} symbols conversion failed[data compatible]:{symbolNames}.":"{number}\u4E2A\u7B26\u53F7\u8F6C\u6362\u5931\u8D25[\u6570\u636E\u517C\u5BB9]:{symbolNames}","Export Within Frame Only":"\u4EC5\u5BFC\u51FA\u56FE\u6846\u5185","Modify Category":"\u4FEE\u6539\u5206\u7C7B","Table Cell":"\u8868\u683C-\u5355\u5143\u683C",Recent:"\u6700\u8FD1","Remove from list":"\u4ECE\u5217\u8868\u4E2D\u79FB\u9664","Selected Pad and Via Transparency":"\u710A\u76D8\u3001\u8FC7\u5B54\u9009\u4E2D\u900F\u660E\u5EA6","Gererate/Update Preview Image":"\u751F\u6210/\u66F4\u65B0\u9884\u89C8\u56FE","Order Layout Service":"Layout\u670D\u52A1\u4E0B\u5355","Order data(schematic compress file) generated finish, please click OK button and continue.":"\u4E0B\u5355\u6570\u636E(\u539F\u7406\u56FE\u538B\u7F29\u5305)\u751F\u6210\u5B8C\u6BD5\uFF0C\u8BF7\u70B9\u51FB\u201C\u786E\u8BA4\u201D\u6309\u94AE\u7EE7\u7EED\u3002","User Client":"\u7528\u6237\u7AEF","Get coupon Now":"\u7ACB\u5373\u83B7\u53D6\u4F18\u60E0\u5238","Exclusive JLCPCB offer<br/>$35 OFF your multilayer PCB order!":"\u5609\u7ACB\u521BPCB \u72EC\u5BB6\u4F18\u60E0<br/>\u591A\u5C42 PCB \u8BA2\u5355\u7ACB\u51CF 35 \u7F8E\u5143\uFF01","Backup Name can only include letters, numbers, and dots, and -, and _":"\u5907\u4EFD\u540D\u79F0\u9650\u5236\u5B57\u6BCD+\u6570\u5B57+\u70B9+-+_","Backup name length limit 2-50.":"\u5907\u4EFD\u540D\u79F0\u957F\u5EA6\u9650\u52362-50\u4F4D","Active Client":"\u6FC0\u6D3B\u5BA2\u6237\u7AEF","Please select activation method":"\u8BF7\u9009\u62E9\u6FC0\u6D3B\u65B9\u5F0F","Import activation file on standalone machine":"\u5355\u673A\u5BFC\u5165\u6FC0\u6D3B\u6587\u4EF6","Connect to the server to obtain authorization":"\u8FDE\u63A5\u5230\u670D\u52A1\u5668\u83B7\u53D6\u6388\u6743","Please import the activation file, or copy and paste all the contents in the activation file, and then activate the client":"\u8BF7\u5BFC\u5165\u6FC0\u6D3B\u6587\u4EF6\uFF0C\u6216\u590D\u5236\u7C98\u8D34\u6FC0\u6D3B\u6587\u4EF6\u4E2D\u5168\u90E8\u5185\u5BB9\uFF0C\u518D\u6FC0\u6D3B\u5BA2\u6237\u7AEF","Please provide this code to the sales to get the activation file:":"\u8BF7\u63D0\u4F9B\u8BE5\u6807\u8BC6\u7ED9\u9500\u552E\u4EBA\u5458\uFF0C\u83B7\u53D6\u6FC0\u6D3B\u6587\u4EF6\uFF1A","Copy successfully, please send to the sales to get the activation code":"\u590D\u5236\u6210\u529F\uFF0C\u8BF7\u53D1\u9001\u7ED9\u9500\u552E\u4EBA\u5458\u83B7\u53D6\u6FC0\u6D3B\u7801","Get Activation File":"\u83B7\u53D6\u6FC0\u6D3B\u6587\u4EF6","Previous step":"\u4E0A\u4E00\u6B65","Import Activation File":"\u5BFC\u5165\u6FC0\u6D3B\u6587\u4EF6",Activation:"\u6FC0\u6D3B","Visit the website or scan the QR code to contact us\uFF1A":"\u8BBF\u95EE\u7F51\u5740 \u6216 \u626B\u63CF\u4E8C\u7EF4\u7801 \u8054\u7CFB\u6211\u4EEC\uFF1A","The activation file content is incorrect. Please check it.":"\u6FC0\u6D3B\u6587\u4EF6\u5185\u5BB9\u4E0D\u6B63\u786E\uFF0C\u8BF7\u68C0\u67E5","Server IP Address":"\u670D\u52A1\u5668IP\u5730\u5740","Download Server":"\u4E0B\u8F7D\u670D\u52A1\u7AEF","Connecting to the server":"\u8FDE\u63A5\u670D\u52A1\u5668\u4E2D","Server connection failed!":"\u670D\u52A1\u5668\u8FDE\u63A5\u5931\u8D25\uFF01","The number of client devices being used simultaneously has reached its limit,please contact other members to log out of the client and try again.":"\u540C\u65F6\u4F7F\u7528\u5BA2\u6237\u7AEF\u8BBE\u5907\u5DF2\u6EE1\uFF0C\u8BF7\u901A\u77E5\u5176\u4ED6\u4EBA\u9000\u51FA\u5BA2\u6237\u7AEF\u540E\u518D\u5C1D\u8BD5","Duration of the Authorization":"\u6388\u6743\u6709\u6548\u671F\u9650","EasyEDA Pro - Enterprise":"\u5609\u7ACB\u521BEDA(\u4E13\u4E1A\u7248) - \u4F01\u4E1A\u7248","No network selected!":"\u6CA1\u6709\u9009\u62E9\u7F51\u7EDC\uFF01","Generate a footprint with the same name based on the part type":"\u4F9D\u636E\u5C01\u88C5\u7C7B\u578B\u751F\u6210\u540C\u540D\u5C01\u88C5","Creepage Distance":"\u722C\u7535\u95F4\u8DDD","Min Creepage Distance":"\u6700\u5C0F\u722C\u7535\u8DDD\u79BB","Creepage distance between an object and other objects":"\u5BF9\u8C61\u5230\u5176\u4ED6\u5BF9\u8C61\u7684\u722C\u7535\u95F4\u8DDD","{obj1} to {obj2} creepage is {minDistance}, should be {shouldBe}":"{obj1}\u5230{obj2}\u722C\u7535\u8DDD\u79BB\u4E3A{minDistance}\uFF0C\u5E94\u8BE5{shouldBe}","Ignore the inner layer":"\u5FFD\u7565\u5185\u5C42","Measuring Object":"\u6D4B\u91CF\u5BF9\u8C61","Measuring Distance":"\u6D4B\u91CF\u8DDD\u79BB","Selection failed. Selected object is not within the board outline.":"\u9009\u62E9\u5931\u8D25\uFF0C\u9009\u62E9\u7684\u5BF9\u8C61\u6CA1\u6709\u5728\u677F\u5185","Creepage Error":"\u722C\u7535\u9519\u8BEF"};var eri={User:"\u7528\u6236","Login...":"\u767B\u5165\u2026","Log in":"\u767B\u5165",File:"\u6A94\u6848","Saved successfully!":"\u4FDD\u5B58\u6210\u529F!"};var oft={cs:zoi,de:Foi,en:Uoi,es:Voi,fr:Hoi,it:Goi,ja:Yoi,jp:Woi,pl:Qoi,pt:Koi,ru:Zoi,sv:Joi,uk:qoi,vn:Xoi,"zh-hans":$oi,"zh-hant":eri};var S7e=L(Se()),qe=class{constructor(){this.ticket=0;this.checkPoint=0;this.watcherCnt=0;this.watcherIndex=new Map}notify(){this.ticket===this.checkPoint&&(Promise.resolve().then(()=>{this.watcherIndex.forEach(async e=>{e.callback?await e.callback()&&e.setState(this.ticket):e.setState(this.ticket)}),this.checkPoint=this.ticket}),this.ticket++)}createEffectFb(e,i){let o=this.watcherCnt++;return()=>(this.watcherIndex.set(o,{setState:e,callback:i}),()=>{this.watcherIndex.delete(o)})}};function Ce(t,e){let[,i]=(0,S7e.useState)(0);(0,S7e.useLayoutEffect)(t.createEffectFb(i,e))}var cft=class extends qe{constructor(){super(...arguments);this.lang="en"}setLang(i){this.lang!==i&&(this.lang=i,this.notify(),Promise.resolve().then(()=>{C.messageBus.publish("userLanguageChanged",{lang:i})}))}},is=new cft;var Lrr=["en","zh-hans","pl","ja","fr","es","de","sv","ru","uk","vn","cs","pt"],me={_curr:"en",_cache:{en:{_status:"loaded"}},get curr(){return this._curr},set curr(t){this._curr=t,navigator.userLanguage=t},getLocaleTranslation(t,e){let i=this._cache[t][e];if(typeof i=="string")return i},load:function(t){if(is.setLang(t),!!me.isSupportedLangCode(t)){if(typeof oft=="object"){me._cache=oft||{},me._cache.en=me._cache.en||{_status:"loaded"},me._cache[t]&&me.update(t);return}var e=me._cache,i=e[t]&&e[t]._status;if(i!=="loading"){if(i==="loaded"){me.update(t);return}e[t]||(e[t]={}),e[t]._status="loading";var o="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548//locale/ui_data_"+t+".txt";return Hw.default.get(o,null,null,"text").then(function(r){debugger;var n=me._cache[t];n._status="loaded";for(var a=r.split(/[\r\n]+/),s,l,c,d=0,u=a.length;d<u;d++)a[d]=Hw.default.trim(a[d]),a[d].charAt(0)!="#"&&(s=a[d].indexOf("="),!(s<=0)&&(l=Hw.default.trim(a[d].substring(0,s)),c=Hw.default.trim(a[d].substring(s+1)),n[l]=c))},function(r){delete me._cache[t]._status,console.warn("ajax error : status:"+r.status+", url:"+this.url)}).then(function(){me.update(t)})}}},_getValue:function(t,e){if(!t||!e)return"";if(e[t])return e[t];t=joi(t," ").toString().trim();var i=null;t.match&&(i=t.match(/\.\.\.$|\:$/));var o=i?i[0]:"",r;if(o){if(r=t.slice(0,-o.length),r&&e[r])return e[r]+o}else{if(e[t+"..."])return e[t+"..."].replace(/\.\.\.$/,"");if(e[t+":"])return e[t+":"].replace(/\:$/,"")}if(i=t.match(/(.+)\((.+)\)(.*)/),i&&i.length===4){let n=i[1],a=i[2],s=i[3],l=`${e[n]||n}(${e[a]||a})${e[s]||s}`;return l===t?"":l}return e[t]||""},i18n:function(t,e,i){t=Hw.default.trim(t);let o=typeof e=="string"?"@@"+e:void 0,r=me._cache[i||me.curr],n=me._cache.en,a=o?r[o]:r,s=o?n[o]:n;var l=me._getValue(t,a)||me._getValue(t,s)||me._getValue(t,r)||me._getValue(t,n)||t;return e&&(l=l.replace(/{.+?}/g,function(c){var d=c.slice(1,-1);return Xs(e,d)?e[d]:c})),Nt&&(l=me.replaceWordsECAD(l)),l},_context_i18n:function(t,e,i=null,o){if(!t)return me.i18n(e);var r=o||me.curr,n=r=="en",a=me._cache[r]||{},s=me._cache.en||{},l=me._getValue(e,s)||e,c;if(n)c=l;else{if(t){var d=a["@@"+t]||{},u=s["@@"+t]||{};c=me._getValue(e,d)||me._getValue(e,u)||e}c==e&&(c=me._getValue(e,a)||me._getValue(e,s)||e)}return i&&(c=c.replace(/\{.+?\}/g,function(p){var m=p.slice(1,-1);return Xs(i,m)?i[m]:p})),Nt&&(c=me.replaceWordsECAD((c==null?void 0:c.value)||c)),c},context:function(t){return{i18n:me._context_i18n.bind(this,t)}},update:function(t,e){typeof t=="object"&&(e=t,t="");var i=me._cache[t||me.curr];if(i){t&&!e&&(me.curr=t);var o=me.curr=="en",r=me._cache.en,n=(0,Hw.default)(".i18n",e);e&&(0,Hw.default)(e).hasClass("i18n")&&(n=n.addBack()),n.each(function(){var a=this,s=a.childNodes,l=Hw.default.trim(a.getAttribute("i18n")||""),c=a.getAttribute("data-i18n-context"),d,u;if(!l&&!a.textContent)return;if(!l){if(s.length>1){var p=Hw.default.trim(a.innerHTML);u=0,l=p.replace(/<.*?>/g,function(g){return a.setAttribute("i18n-params-"+u,g),"{"+u+++"}"})}else l=Hw.default.trim(a.textContent);if(!l)return;a.setAttribute("i18n",l)}var m=c?i&&i["@@"+c]:i,h=c?r&&r["@@"+c]:r;let f=me._getValue(l,m);if(d=f||me._getValue(l,i),!d&&!o&&(f=me._getValue(l,h),d=f||me._getValue(l,r)),d=d||l,d.search(/\{.+?\}/)>=0){d=d.replace(/\{.+?\}/g,function(g){var b=g.slice(1,-1),y=a.getAttribute("i18n-params-"+b);return y!==null?y.search(/\<.+?\>/)>=0?y:me._context_i18n(c,y,null):g});try{a.innerHTML=d}catch{}}else for(u=0;u<s.length;u++)if(s[u].nodeType==3&&Hw.default.trim(s[u].nodeValue)){s[u].nodeValue=d;break}}),n=(0,Hw.default)("[data-i18n-attr]",e),e&&(0,Hw.default)(e).attr("data-i18n-attr")!==void 0&&(n=n.addBack()),n.each(function(){let a=this,s=a.getAttribute("data-i18n-attr"),l=a.getAttribute("data-i18n-context");if(!s)return;let c=s.split(" "),d=Hw.default.data(a,"i18n-attr-en");d||(d=Hw.default.data(a,"i18n-attr-en",{}));var u=l?i&&i["@@"+l]:i,p=l?r&&r["@@"+l]:r;for(let m=0,h=c.length;m<h;m++){let f=c[m],g=a.getAttribute(f);if(d[f]=d[f]||g,d[f]!==g&&me.getLocaleTranslation("zh-hans",g)&&(d[f]=g),d[f]){let b=me._getValue(d[f],u)||!o&&me._getValue(d[f],p);b=b||me._getValue(d[f],i)||d[f],b=b.replace(/\{.+?\}/g,function(y){var w=y.slice(1,-1),x=a.getAttribute("i18n-params-"+w);return x!==null?x:y}),b=b.replace(/\((.+)\)/g,(y,w)=>y.replace(w,me.i18n(w))),a.tagName==="INPUT"&&f==="value"?a.value=b:a.setAttribute(f,b)}}})}},_getSupportedLangCodes:function(){let t=Object.create(null);for(let e of Lrr)t[e]=!0;return t},getProperLangCode:function(t){var e=me._getSupportedLangCodes();if(!Xs(e,t))if(e["zh-hant"]&&t.match(/^zh-(tw|hk|mo|hant|cht)/i))t="zh-hant";else if(e["zh-hans"]&&(t=="cn"||t=="zh"||t.match(/^zh-/i)))t="zh-hans";else if(t.indexOf("-")>0){var i;Hw.default.each(e,function(o){if(t.indexOf(o+"-")===0)return t=i=o,!1}),i||(t="en")}else t="en";return t},isSupportedLangCode:function(t){var e=me._getSupportedLangCodes();return Xs(e,t)},parseExtINI:function(t){var e={},i,o,r,n=/^\[[a-z]{2}(?:-[a-z]{2,6})?\]$|^\s*[^;#=\s][^=\r\n]*=.+$/gm,a=t.match(n);return a&&[].forEach.call(a,function(s){s.charAt(0)=="["?(i=s.substr(1,s.length-2),e[i]||(e[i]={})):i&&(o=s.substr(0,s.indexOf("=")).trim(),r=s.substr(s.indexOf("=")+1).trim(),o&&r&&(e[i][o]=r))}),e},ext:function(t){var e=me._getSupportedLangCodes();for(var i in t)if(Xs(t,i)){var o=t[i];Xs(e,i)||(e["zh-hant"]&&i.match(/^zh-(tw|hk|mo|hant)/i)?i="zh-hant":e["zh-hans"]&&i.match(/^zh-/i)&&(i="zh-hans")),me._cache[i]||(me._cache[i]={});for(var r in o)Xs(o,r)&&!me._cache[i][r]&&(me._cache[i][r]=o[r])}},replaceWordsECAD(t){return me.curr==="en"?t=t.replace(/PCB/g,"Mounting Plate").replace(/footprint/gi,"2D Graphic").replace(/JLCEDA/g,"JLCECAD").replace(/LCSC/g,"JLCFA").replace(/EasyEDA/g,"JLCECAD"):me.curr==="zh-hans"&&(t=t.replace(/PCB/g,"\u5B89\u88C5\u677F").replace(/封装/g,"2D\u56FE\u5F62").replace(/嘉立创EDA/g,"\u5609\u7ACB\u521BECAD").replace(/立创商城/g,"FA\u7535\u6C14\u5546\u57CE").replace(/立创商城库存/g,"FA\u7535\u6C14\u5546\u573A\u5E93\u5B58").replace(/立创商城价格/g,"FA\u7535\u6C14\u5546\u573A\u4EF7\u683C").replace(/\(专业版\)/g,"").replace(/专业版/g,"").replace(/EasyEDA/g,"JLCECAD")),t}};var M7e=class t extends qe{constructor(){super();this.manager=J1.getInstance();this.manager.onChange(()=>{this.notify()})}static getInstance(){var i;return(i=this._instance)!=null?i:this._instance=new t}};var dft={},C={tempOpenProjectUuids:new Set([]),editorCurrentVersion:void 0,needOpenTooManyDocDialog:!0,attributePanelColumnWidth:{},PropertyKey:void 0,regChar:["\\","+","[","]","-","/","{","}",".","?","$","*","^","!","(",")","|","!"],hasOnlineUpdate:!1,clickTimer:void 0,clickWhat:void 0,openBottomPanel:void 0,openLeftPanel:void 0,openRightPanel:void 0,deviceDetail:void 0,footprintDetail:void 0,footprintMap:{},smt:void 0,wel:void 0,autoTrimSilkscreen:!0,hasAntiShakeCrossWin:null,logoutClearAll:void 0,HelpURL:void 0,bomUsedAttrs:void 0,contentData:void 0,currentprojectType:"SCH",ui_instance:!0,ui_module:!0,prjOpenSyncTimeout:100,leftTreeActiveTab:"project_list",leftProjectDesignActiveTab:"pages",leftLibDesignActiveTab:"part-attr",leftTreeDbClickId:[],rightPanelActiveTab:{SCH:"sch-attr",PRJ:"project-attr",PANEL:"panel-layer",PCB:"pcb-layer",PCB2D:"pcb2d-attr",PCB3D:"pcb3d-attr",PANEL3D:"panel3d-attr",ASSEMBLY_VARIANT:"sch-attr",SIMULATION:"simulation-attr"},rightPanelActiveTabBefore:{SCH:"sch-attr",PCB:"pcb-layer"},panelRightTabOnSelect:null,worker:void 0,messageBus:void 0,windowBridge:void 0,pcbMessageBus:void 0,chameleonBus:void 0,extensionApiMessageBus2:void 0,concurrentBus:void 0,tabId:void 0,schematicUuid:void 0,sheetUniqueNumber:void 0,sessionStorageTabs:void 0,viewframe:void 0,selectBox1:void 0,gControlDots:void 0,gControlRects:void 0,gControlLines:void 0,gCanvas:void 0,cmdToken:"",stopFind:!1,gZoom:1,isReadOnlyMode:!1,zoomRatio:{min:20,max:1e5},urlCmd:null,layoutCache:void 0,currZoom:100,svgRoot:void 0,activeElement:void 0,helperCursor:void 0,schToolBarSymbol:void 0,privateSheets:void 0,projectSheets:void 0,localStorageDisabled:void 0,updateThemeBackGroundColor:!1,enterEnforceFocus:!1,defaultImage:{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA1MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB4PSIxIiB5PSIxIiB3aWR0aD0iNDgiIGhlaWdodD0iMzgiIGZpbGw9IiNGRkYiIHN0cm9rZT0iI0NDQyIgc3Ryb2tlLXdpZHRoPSIyIi8+PHBvbHlsaW5lIHBvaW50cz0iMS41LDIzLDE2LDEzLDM0LDI2LDQ4LjUsMjAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI0NDQyIgc3Ryb2tlLXdpZHRoPSIyIi8+PGNpcmNsZSBjeD0iMzUiIGN5PSIxMiIgcj0iNCIgZmlsbD0iI0NDQyIgc3Ryb2tlPSJub25lIi8+PC9zdmc+",width:50,height:40},isOpenInternalLib:!1,specialCodeReg:new RegExp(String.raw`[${["/"," ","\\-","_","\\{","\\}","=","\\]","\\[",":","\uFF1A",",","&","@",".","~","!","\uFF01","#","\uFFE5","%","\uFF1B",";","*","\uFF0C","(",")","\uFF08","\uFF09","\u03A9"].join("|")}]`),emojiReg:_oi(),normalCodeReg:/[\u4e00-\u9fa50-9A-Za-z\u0000-\u00FF]/,drawing:void 0,userAvatar:void 0,loginHandle:void 0,isMouseOnEditFrame:!1,lastMouseOrKeyBoardEventTime:new Date().getTime(),mousePlace:void 0,hoverCache:void 0,contextmenuDisableOnce:void 0,gRecover:void 0,helperCursorConfig:{},flipBoard:!1,eventFn:void 0,isNewEditorToSaving:!1,cloneObjects:void 0,symbolParam:void 0,checkNotificationInterval:12e4,checkUpdateInterval:36e5,saveFileTimeout:3e5,autoSaveMaxCount:1e3,autoSaveMaxBackupLevel:10,autoGzipAjaxPostSize:1e4,version:"V"+CXt,lastestVersion:void 0,buildDate:xXt,ignoreConfirmClose:!1,globalVariableCookieData:{},teams:[],lcscPublicProject:[],multiSelect:!1,isSaving:!1,pasteCount:0,pasteFrom:null,canvasStrTolerance:10,cmdFromUserCenter:{saveAsLocal:!1,saveAsCloud:!1},systemAttrs:[],userPropertyKeys:new Set([]),symbolGrid:null,ToolAttrs:[],hideAttrObj:{},isPanel:typeof document<"u"&&document.location&&document.location.search?document.location.search.indexOf("entry=dev-panel")>-1:!1,timer:!1,isRefreshFootprintAssociatedDeviceGrid:!1,isBatchDelState:!1,isBatchCategoryState:!1,isBatchExportState:!1,clientTeamList:[],clientTeamListNoSort:[],workspace:"Personal",servicesUrlConfig:{oshwhubIndex:vo?"https://oshwlab.com":"https://oshwhub.com",lcedaIndex:vo?"https://easyeda.com":"https://lceda.cn",ecadIndex:"https://www.jlc-ecad.com"},originalTitle:"",schTopMenuStatus:[],netLabelLeadWireLength:new ws(.3,"inch"),systemCategoryTranslateStatus:!1,apis:{projects:{order3DShell:"/api/3dshell_order"},devices:{lcscSearch:"/api/szlcsc/eda/product/list",searchByCodes:"/api/devices/searchByCodes"},components:{matchForEda:"/servicecenter/toEdaApi/v1/matchForEda"},folders:{createUserFolders:"/api/folder/createUserFolders",createTeamFolders:"/api/folder/createTeamFolders",addProject:"/api/folder/addProject",getUserFolderAllData:"/api/folder/getUserFolderAllData",getTeamFolderAllData:"/api/folder/getTeamFolderAllData",moveProject:"/api/folder/moveProject",deleteProject:"/api/folder/deleteProject",moveFolder:"/api/folder/moveFolder",deleteUserFolder:"/api/folder/deleteUserFolder",editFolder:"/api/folder/editFolder",getTeamFolderData:"/api/folder/getTeamFolderData",loadTeamFolder:"/api/folder/loadTeamFolder",loadUserFolder:"/api/folder/loadUserFolder"},others:{waterMark:"/api/org/{uuid}/watermark",login:"/api/editor/login",bugReport:"/api/client/bugs",userInfo:"/api/user",userOnline:"/api/user/online",startPage_new:"/api/page/start-page-new",update_notice:"/api/page/system-update-notice",notification:"/api/notifications/unread-count",preference:"/api/user/preference",organizations:"/api/org/getOrganizations",lcscPublicProject:"/api/lcscPublicProject",editorLog:"/api/editor/log",pullImage:"/api/pullimage",systemConfig:"/api/system/config",lcscPreference:"/api/system/preference",servicesUrlConfig:"/api/services_url_config",saveAsAttachment:t=>`/api/projects/${t}/attachments`,lockUserInfo:"/api/user/",componentLogs:"/api/componentLogs",outsideExtension:"/api/org/outside-ext",outsideExtensionDataDetail:"/api/extensions/ext-detail",outsideExtensionDataSearch:"/api/extensions/ext-search",searchExtensions:"/api/extensions/editor/search",getExtensionDetail:"/api/extensions/detail",getExtensionVersionList_SYH:"/api/extensions/",getExtensionVersionList_DEV:"/api/extensions/editor/his_version_list",deviceLogs:"/api/deviceLogs",updateImage:"/api/v4/projects/{projectUuid}/branches/{branchUuid}/thumbs",deleteImage:"/api/v4/projects/{projectUuid}/branches/{branchUuid}/thumbs/{thumbUuid}",getImage:"/api/v4/projects/{projectUuid}/branches/{branchUuid}/thumbs",getBranchs:t=>`/api/v4/projects/${t}/branches`,editBranch:(t,e)=>`/api/v4/projects/${t}/branches/${e}`,createBranch:t=>`/api/v4/projects/${t}/branches`,layoutOrder:"/api/pro-editor/v1/layout-order",orgInfo:"/api/org/info"},hw:{systemAttrs:"/api/system/attributes"},client:{showItemInFolder:"/api/fileDialog/showItemInFolder",config:"/api/client/config",version:"/api/client/version",openDirectoryDlg:"/api/fileDialog/dirtory",openFileDlg:"/api/fileDialog/file",clientOpenDir:"app://api/client/openDir",clientOpenFolder:"app://api/client/openFolder",openSaveFileDlg:"/api/fileDialog/saveFile",uploadFile:"/api/client/uploadFile",launchType:"app://api/client/changeLaunchType",activationInfo:"/api/client/activationInfo",syncSysCtxmenuArea:"app://api/system/syncSysCtxmenuArea",projectPaths:"/api/client/projectPaths",exampleProjectPaths:"/api/client/exampleProjectPaths",download:"app://api/client/update/download",updateProgress:"app://api/client/update/progress",install:"app://api/client/update/install",clear:"app://api/client/update/clear",model3DLists:"api/client/steps",readFileSync:"app://api/client/readFileSync",writeFileSync:"app://api/client/writeFileSync",rebuildSearchIndex:"api/client/libraryUpdateFts",systemVersion:"app://api/system/version"},enterprise:{updateLicenseService:"app://api/client/updateLicenseService",getClientMachineCode:"app://api/client/getClientMachineCode",importClientLicense:"app://api/client/importClientLicense"},eda:{productList:"/api/v2/eda/product/list",catalogTree:"/api/eda/catalog/tree",productSearch:"/api/v2/eda/product/search",paramFilter:"/api/eda/param/filter",getSmtPartInfo:"/api/components/getSmtPartInfo",easyMatchForEda:"/api/eda/matchForEda",getRealTimePriceAndStock:"/api/getPartInfo"},annotation:{projectAnnotations:"/api/v3/annotation/getAllData/{projectId}",createAnnotationBlock:"/api/v3/annotation/createChunk",updateAnnotationBlock:"/api/v3/annotation/updateChunk",createAnnotationItem:"/api/v3/annotation/createItem",removeAnnotationItem:"/api/v3/annotation/deleteItem"},oshwhub:{getCbb:"/api/publishProjectSearch",getCbbCategory:"/api/getProjectTags"},open:{getCategory:"/api/open/deviceCate",getDeviceAttr:"/api/open/deviceAttr",getDeviceList:"/api/open/deviceList"},std:{search:"/api/std/v2/components/search",searchPCBAndModule:"/api/std/v2/components/search/PCBAndModules",ajaxDetail:"/api/std/v2/components/{uuid}",projects:"/api/std/projects?document=true",prjOwner:"/api/teams",user:"/api/user",symbolTags:"/api/std/components/tags?uid=personal&docType=2",footprintTags:"/api/std/components/tags?uid=personal&docType=4",symbol:"/api/std/components?docType=2&uid&type=3",foontprint:"/api/std/components?docType=4&uid&type=3",componentStr:"/api/std/components/",docStr:"/api/std/documents/"}},currentProject:{projectId:void 0,title:void 0,isCBB:void 0,owner:"",isPublic:void 0,isPublish:void 0,ownerData:{nickname:"",uuid:""},projectManagerName:"",settings:void 0,branchUuid:"",branchNum:void 0},client:{currentProjectPath:"",currentProjectDir:"",currentProjectName:"",activationClientInfo:"",userLicenseInfo:"",clientCreatePrjPath:""},pcbTo3DView:{},selectableObjMap:void 0,FileDataStr:void 0,copySheets:[],copySchematics:[],inExam:!1,projectInterval:void 0,projectUpdateInterval:void 0,lastActionTime:void 0,bomGrid:void 0,bomGridSelectGroup:void 0,customDeviceHeaderGrid:void 0,dlgCustomDeviceHeaderGrid:void 0,bottomBarStatus:0,placeDeviceDlgStatus:0,profileSetting:null,panelGridSize:null,profileCatgory:{},globalKeyCodeCache:[],globalKeyCodeStorage:[],defaultFont:null,deviceType:null,differentailPairCache:null,tabRuntimeConfig:{layerColorPresets:{}},pcbAttributeManagerHandler:null,projectSortOrder:"descending",projectSortType:"modification_time",personFolders:{children:[],projectList:[]},teamFolders:[],loginedUserInfo:null,uploadSvgFileMaxMB:1,pcbLayersBar:null,pcbAllLayersBars:[],pcbMainAttrPanel:null,setPreference:null,getPreference:null,disablePreference:null,progressManager:new w7e,extensionApiBackupForHeaderMenus:void 0,projectMembers:[],archive:!1,store:!1,offLineClientReadOnly:!1,role:void 0,license:"",watermarkConfig:void 0,localFontsName:[],showCompareNetTab:!1,fileLibImportOption:!1,isHistoryMode:!1,translate(t,e,i){return me.i18n(t,e,i)},allProjectList:[],trackBrowser:void 0,downloadFileForExtensionApi:!1,interruptBasePreviewImage:!1,extendLibStore:M7e.getInstance()};var hri="shapeBox";var Tce=L(hU());var jx=L(Vi()),_ko=L($de());var Pft=L(Vi());var v7e=["NotAddIntoBomWithNcMark","NotAddIntoBomWithXMark"],xft=["ThroughHoleTopPad","ThroughHoleBottomPad","ThroughHoleMultiPad","ThroughHoleComponentProperty","ThroughHoleComponentSilkscreen"],Tft=["SurfaceMountTopPad","SurfaceMountBottomPad","SurfaceMountComponentProperty","SurfaceMountComponentSilkscreen"],Sft=["IsolatedTopPad","IsolatedBottomPad","IsolatedMultiPad","Via","PadDrill","ViaDrill","Track","Text","Image","Dimension","BoardOutline","BoardCutout","CopperOutline","CopperFilled","TearDrop","SolidRegion","ProhibitedRegion","FPCStiffener","Line","PlaneZone"],Mft=["Shell_Outline","Shell_ScrewPillar","Shell_SideDatumLine","Shell_SideSlotRegion","Shell_TopBottomSlotRegion","Shell_SideEntity","Shell_TopBottomEntity"],eue={ThroughHoleComponent:xft,SurfaceMountComponent:Tft,Others:Sft,"3D Shell":Mft},tue=Reflect.ownKeys(eue),fU={NotAddIntoBomWithNcMark:"#FF0000",NotAddIntoBomWithXMark:"#FF0000"};var oT={NGSpcie:1,Simulide:2};var kwe={OWNER:1,MANAGER:2,DEVELOPER:3,OBSERVER:4};var Nri="http://www.w3.org/2000/svg",kri="http://www.w3.org/1999/xlink",gU=(function(){var t={svg:Nri,xlink:kri};return t[Nri]="svg",t[kri]="xlink",t})(),TK=0;var SK=2;var uCn=(function(){var t={RATLINES:9,MODEL3D:19,ALL:11,TOPSILKLAYER:3,TOPLAYER:1,TOPPASTERLAYER:5,TOPSOLDERLAYER:7,LIBBODY:99,PADSURFACE:100,BOARDOUTLINE:10,DOCUMENT:12,TOPASSEMBLY:13,MECHANICAL:15,TOPCOMPONENT:16,SUBSTRATE:18},e;for(e=21;e<53;e++)t["INNER"+(e-20)]=e;for(t.BOTTOMSILKLAYER=4,t.BOTTOMLAYER=2,t.BOTTOMPASTERLAYER=6,t.BOTTOMSOLDERLAYER=8,t.BOTTOMASSEMBLY=14,t.BOTTOMCOMPONENT=17,e=53;e<85;e++)t["BOARD"+(e-52)]=e;return t})(),se=ve,Rri={device:[Yi.DEVICE],symbol:[Yi.SYMBOL],footprint:[Yi.FOOTPRINT],cbb:[Yi.CBB],model3D:[Yi.MODEL3D],modelSimLib:[Yi.MODELSIM],panelLib:[Yi.PANEL_LIB]},Ee={OTHER:"-1",HOME:"1",COMMON_BLANK:"2",SCH:"3",CBB_BLANK:"4",CBB_SCH:"5",PART:"6",BLOCK_SYMBOL:"7",NETFLAG:"8",NETPORT:"9",SHEET_SYMBOL:"10",NONEELEC_SYMBOL:"11",SCH_INSTANCE:"12",BLOCK_SCH:"14",CBB_BLOCK_SCH:"15",PCB:"16",FOOTPRINT:"17",PCB2D:"18",PCB3D:"19",SCHMODULE:"20",PCBMODULE:"21",OFF_PAGE_CONNECTOR:"25",PANEL:"26",PANEL3D:"27",PANEL_LIB:"29",ASSEMBLYVARIANT:"30",DIFF_PAIRS_FLAG:"31",NGSPICE:"32",SIMULIDE:"33",WAVEFORM:"34"},pCn=(function(){var t={};for(let e in se)t[se[e]]=e;return t})();var ks=Object.freeze({}),D7e=[],mCn={width:1920,height:1360,maxSize:300*1024},E7e="DBCommon";var _ri=["Value","Manufacturer","Manufacturer Part","Supplier","Supplier Part","Global Net Name"],bU=[{name:"TopLayer Pad",value:"TopPad"},{name:"BottomLayer Pad",value:"BottomPad"},{name:"MultiLayer Pad",value:"MultiPad"},{name:"Via",value:"Via"},{name:"Pad drilling",value:"PadDrill"},{name:"Via drilling",value:"ViaDrill"},{name:"Track",value:"Track"},{name:"Text",value:"Text"},{name:"Image",value:"Image"},{name:"Dimension",value:"Dimension"},{name:"Board Outline",value:"BoardOutline"},{name:"Slot Region",value:"BoardCutout"},{name:"Copper Region",value:"CopperOutline"},{name:"Copper Region(Filled)",value:"CopperFilled"},{name:"TearDrop",value:"TearDrop"},{name:"Fill Region",value:"SolidRegion"},{name:"Prohibited Region",value:"ProhibitedRegion"},{name:"FPC Stiffener",value:"FPCStiffener"},{name:"Line",value:"Line"},{name:"PlaneZone",value:"PlaneZone"},{name:"Component Property",value:"ComponentProperty"},{name:"Component Silkscreen",value:"ComponentSilkscreen"},{name:"3D Shell - Outline",value:"Shell_Outline"},{name:"3D Shell - Screw Pillar",value:"Shell_ScrewPillar"},{name:"3D Shell - Side Datum Line",value:"Shell_SideDatumLine"},{name:"3D Shell - Side Slot Region",value:"Shell_SideSlotRegion"},{name:"3D Shell - Top/Bottom Slot Region",value:"Shell_TopBottomSlotRegion"},{name:"3D Shell - Side Entity",value:"Shell_SideEntity"},{name:"3D Shell - Top/Bottom Entity",value:"Shell_TopBottomEntity"}],st={PRJ:"1",BOARDS:"2",BOARD:"3",BLOCKS:"4",BLOCK:"5",SCH:"6",SHEET:"7",SYMBOLS:"8",SYMBOL:"9",NETS:"10",NET:"11",WIRE:"13",BLOCK_SYMBOL:"12",BUS:"14",SYMBOLCOLLECT:"15",NETCLASS:"16",NETCOLLECT:"17",NETTREENODE:"18",REUSEBLOCKS:"19",REUSEBLOCK:"20",NETPORTS:"23",NETPORT:"24",NETFLAGS:"25",NETFLAG:"26",SHORTSYMBOLS:"27",SHORTSYMBOL:"28",NONEELECSYMBOLS:"29",NONEELECSYMBOL:"30",PINNODE:"31",PANEL:"32",NETCOLLECTNODE:"33",NETTREEBUSNODE:"34",OTHER:"36",MULTIPART:"37",MULTIPARTGROUP:"38",NETLABEL:"39",POLYLINE:"40",CIRCLE:"41",RECT:"42",ARC:"43",TEXT:"44",IMAGE:"45",TABLE:"46",BEZIER:"47",ELLIPSE:"48",BATCHBLOCKSYMBOL:"49",COMBINATIONS:"50",COMBINATION:"51",NETLABELS:"52",CHILDPCB:"53",MASKREGIONS:"54",MASKREGION:"55",OFFPAGECONNECTORS:"56",OFFPAGECONNECTOR:"57",DIFFPAIRFLAG:"58",NGSPICE:"66",SIMULIDE:"67",PANEL_OBJECT_ROOT_NODE:"201",PANEL_OBJECT_LAYER_NODE:"202",PANEL_OBJECT_NODE:"203",PANEL_COMBINATION_ROOT_NODE:"204",PANEL_COMBINATION_OBJECT_NODE:"205",PCB:"101",ObjectRoot:"objectRoot",Object:"object",TrackNet:"trackNet",TestPadNet:"testPadNet",CopperLayer:"copperLayer",Copper:"copper",Group:"group",ComponentClassification:"componentClassification",Nets:"nets",Net:"net",NetClasses:"netClasses",NetClass:"netClass",RatlineNets:"ratlineNets",RatlineNet:"ratlineNet",Ratline:"ratline",Differentials:"differentials",Differential:"differential",EqualLengthGroups:"equalLengthGroups",EqualLengthGroup:"equalLengthGroup",PadsPairGroups:"PadsPairGroups",PadsPairGroup:"padsPairGroup",PadsPair:"padsPair",NetComponents:"netComponents",Errors:"errors",ErrorType:"errorType",ErrorObjType:"errorObjType",PcbComparison:"pcbComparison",COMPONENTS:"102",COMPONENT:"103",PINS:"104",PIN:"105",ALLNETROOT:"106",RATLINES:"107",RATLINE:"108",RATLINENETS:"109",RATLINENET:"110",ERRORS:"111",ERRORTYPE:"112",ERROROBJTYPE:"113",NETCLASSES_PCB:"114",NETCLASS_PCB:"115",PINTYPE:"117",TRACKNET:"118",GROUP:"119",ALLOBJROOT:"120",ALLCOMPONENTROOT:"121",CLASSIFICATION:"122",CLASSIFICATIONCOMPONENT:"123",COPPERLAYER:"124",DIFFERENTAILS:"125",DIFFERENTAIL:"126",EQUAL_LENGTH_GROUP_ROOT:"127",EQUAL_LENGTH_GROUP:"128",NET_COMPONENT_ROOT:"129",NET_COMPONENT:"130",COPPER:"131",PADSPAIR_GROUP_ROOT:"132",PADSPAIR_GROUP:"133",PADSPAIR:"134"},iue=[{name:"Add NC Mark to components without a BOM",value:"NotAddIntoBomWithNcMark"},{name:"Add X Mark to components without a BOM",value:"NotAddIntoBomWithXMark"},{name:"TopLayer Pad",value:"ThroughHoleTopPad"},{name:"BottomLayer Pad",value:"ThroughHoleBottomPad"},{name:"MultiLayer Pad",value:"ThroughHoleMultiPad"},{name:"Component Property",value:"ThroughHoleComponentProperty"},{name:"Component Silkscreen",value:"ThroughHoleComponentSilkscreen"},{name:"TopLayer Pad",value:"SurfaceMountTopPad"},{name:"BottomLayer Pad",value:"SurfaceMountBottomPad"},{name:"Component Property",value:"SurfaceMountComponentProperty"},{name:"Component Silkscreen",value:"SurfaceMountComponentSilkscreen"},{name:"Isolated Top Layer Pad",value:"IsolatedTopPad"},{name:"Isolated Bottom Layer Pad",value:"IsolatedBottomPad"},{name:"Isolated Multi Layer Pad",value:"IsolatedMultiPad"},{name:"Via",value:"Via"},{name:"Pad drilling",value:"PadDrill"},{name:"Via drilling",value:"ViaDrill"},{name:"Track",value:"Track"},{name:"Text",value:"Text"},{name:"Image",value:"Image"},{name:"Dimension",value:"Dimension"},{name:"Board Outline",value:"BoardOutline"},{name:"Slot Region",value:"BoardCutout"},{name:"Copper Region",value:"CopperOutline"},{name:"Copper Region(Filled)",value:"CopperFilled"},{name:"TearDrop",value:"TearDrop"},{name:"Fill Region",value:"SolidRegion"},{name:"Prohibited Region",value:"ProhibitedRegion"},{name:"FPC Stiffener",value:"FPCStiffener"},{name:"Line",value:"Line"},{name:"PlaneZone",value:"PlaneZone"},{name:"Outline",value:"Shell_Outline"},{name:"Screw Pillar",value:"Shell_ScrewPillar"},{name:"Side Datum Line",value:"Shell_SideDatumLine"},{name:"Side Slot Region",value:"Shell_SideSlotRegion"},{name:"Top/Bottom Slot Region",value:"Shell_TopBottomSlotRegion"},{name:"Side Entity",value:"Shell_SideEntity"},{name:"Top/Bottom Entity",value:"Shell_TopBottomEntity"}],jri="|";function Ift(t){return[se.PART,se.BLOCK_SYMBOL,se.SHEET_SYMBOL,se.NETFLAG,se.NETPORT,se.NONEELEC_SYMBOL,se.SHORT_SYMBOL,se.OFF_PAGE_CONNECTOR,se.DIFF_PAIRS_FLAG].includes(t)}function enr(t){return t==se.FOOTPRINT}function Zie(t){return enr(t)||Ift(t)}var Bri=[{value:oT.Simulide,text:"SimulIDE Model"},{value:oT.NGSpcie,text:"NGSpice Model"}];function Lft(){return window.innerWidth||document.documentElement.clientWidth}function vft(){return window.innerHeight||document.documentElement.clientHeight}var Gw={winWidth:Lft(),winHeight:vft()};function Nf(t){return navigator.userAgent.indexOf(t)}var oue=Nf("Mac OS")>0,tnr=Nf("chromeframe")>0||Nf("x-clock")>0,Dft=(Nf("MSIE")>0||Nf("Trident")>=0)&&!tnr,zri=Dft&&Nf("MSIE 9.0")>0,Fri=Nf("Edge/")>0,A7e=Nf("Opera/")===0,A2=Nf("Firefox/")>0,fCn=A2&&navigator.userAgent.match(/Firefox\/(\d+(\.\d+)?)/)[1],gCn=Nf("AppleWebKit")>0,Pwe=Nf("Chrome/")>0&&!Dft&&!Fri&&!A7e&&!A2,bCn=Pwe&&navigator.userAgent.match(/Chrome\/(\d+(\.\d+)?)/)[1],yCn=Nf("Safari/")>-1&&!Dft&&!Fri&&!A7e&&!A2&&!Pwe,qL=!!(self!=null&&self.electronAPI),wCn=document.createDocumentFragment();var N7e=null,Nft=new ArrayBuffer(8),Eft=new Float64Array(Nft),Aft=new Uint32Array(Nft),Uri=new Uint16Array(Nft),inr=self[["e","v","a","l"].join("")];function Vri(t,e,i,o){r(t,null,e,i,o);function r(a,s,l,c,d){let u,p,m,h;if(c<d-1)if(d-c>50)s===null&&(s=new Array(d-c+1)),n(a,s,l,c,(c+d)/2|0,d);else{for(u=a[c],p=c,m=c,h=d;p+1<h;){if(m!=h){if(h=h+-1,l(u,a[h])<=0)continue;a[m]=a[h],m=h;continue}let f=p+1;if(l(u,a[f])>=0){p=f;continue}a[m]=a[f],p=f,m=f}a[m]=u,r(a,s,l,c,m),r(a,s,l,m+1,d)}}function n(a,s,l,c,d,u){r(a,s,l,c,d),r(a,s,l,d,u);for(var p=c,m=d,h=0,f=a[p],g=a[m];p<d&&m<u;){var b=l(f,g);isNaN(b)?(s[h++]=g,g=a[++m]):(b<=0&&(s[h++]=f,f=a[++p]),b>=0&&(s[h++]=g,g=a[++m]))}for(;p<d;p++)s[h++]=a[p];for(;m<u;m++)s[h++]=a[m];for(p=c,m=0;m<h;p++,m++)a[p]=s[m]}}var N2=class{static repeat(e,i){let o=new Array(i);for(;i-- >0;)o[i]=e;return o.join("")}static lpad(e,i,o){let r=o-e.length;return r>0?this.repeat(i,r)+e:e}static rpad(e,i,o){let r=o-e.length;return r>0?e+this.repeat(i,r):e}static strHashcode(e){if(e.length>0){let i=0;for(let o=0;o<e.length;o++)i=31*i+e.charCodeAt(o)|0;return i}else return 0}static arraycopy(e,i,o,r,n){if(e.length>=i+n&&o.length>=r+n)for(;n-- >0;)o[r++]=e[i++];else throw new Error("arraycopy out of range")}static undefAsNull(e){return null}static reverse(e,i){for(let o=0,r=e.length-1;r>=0;o++,r--)i[o]=e[r];return i}static sortAsc(e,i){return e-i}static xmlDecode(e){let i=e.length,o=new Array,r=-1;for(let n=0;n<i;n++){let a=e.charAt(n);if(r>=0){if(a===";"){let s=e.substring(r+1,n);switch(s){case"lt":o.push("<");break;case"gt":o.push(">");break;case"quot":o.push('"');break;case"apos":o.push("'");break;case"amp":o.push("&");break;default:if(s.charAt(0)==="#"){let l=parseInt(s.substring(1));o.push(String.fromCharCode(l))}else o.push("&"+s+";")}r=-1}}else a==="&"?r=n:o.push(a)}return r>=0&&o.push(e.substring(r)),o.join("")}static addAll(e,i){for(let o of i)e.push(o)}static contains(e,i){for(let o of e)if(o.equals(i))return!0;return!1}static equals(e,i){if(e.length==i.length){for(let o=0;o<e.length;o++)if(e[o]!==i[o])return!1;return!0}else return!1}static remove(e,i){let o=0,r=e.length;for(let n=0;n<r;n++)e[n]===i&&(e.splice(n,1),n--,r--,o++);return o}static getUrlVars(){for(var e={},i=location.href.slice(location.href.indexOf("?")+1).split("&"),o=0;o<i.length;o++){var r=i[o].split("=");e[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return e}static prefix(){if(!N7e){let e=this.getUrlVars().version;e?N7e="/analyzer/v"+e:N7e="/analyzer"}return N7e}static add2objS(e,i,o){if(i in e)return e[i];{let r=o(i);return e[i]=r,r}}static downloadFile(e,i){let o=document.createElement("a"),r=URL.createObjectURL(i);o.download=e,o.href=r,o.click(),URL.revokeObjectURL(r)}static uuid(){let e=new Array;Eft[0]=new Date().getTime(),e.push(Aft[1].toString(16)),Eft[0]=Math.random(),e.push(Uri[3].toString(16));let i=Uri[2].toString(16);e.push("4"+i.substr(0,3)),Eft[0]=performance.now();let o=Aft[0].toString(16)+Aft[1].toString(16);return e.push("0"+o.substr(0,3)),e.push(o.substr(3)),e.join("-")}static funcCopy(e){return inr("("+e.toString()+")")}static NVL(...e){for(let i of e)if(i!==null)return i;return null}};var onr=/(\.?0+)$/,yU=class{static format(e,...i){return this.format1(e,i)}static format1(e,i){let o=this._format(e,i);if(typeof o=="string")return o;throw new Error(this.format("Invalid state on (%d) %s",o,e))}static _format(e,i){let o=[],r=0,n=0,a,s=0,l=0;for(let c=0;c<e.length;c++){let d=e.charAt(c),u=d.charCodeAt(0);switch(r){case 0:u===37?r=1:o.push(d);break;case 1:switch(u){case 100:if(a=i[n++],typeof a=="number")o.push(a.toFixed(0)),r=0;else return c;break;case 102:if(a=i[n++],typeof a=="number")o.push(a.toString()),r=0;else return c;break;case 120:if(a=i[n++],typeof a=="number")o.push((a|0).toString(16)),r=0;else return c;break;case 88:if(a=i[n++],typeof a=="number")o.push((a|0).toString(16).toUpperCase()),r=0;else return c;break;case 115:case 99:a=i[n++],o.push(a===null?"null":a.toString()),r=0;break;case 48:s=c+1,l=-1,r=2;break;case 37:o.push("%"),r=0;break;default:return c}break;case 2:switch(u){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:l=c;break;case 100:if(l>=s){let p=parseInt(e.substring(s,l+1));if(a=i[n++],typeof a=="number")o.push(N2.lpad((a|0).toString(10),"0",p)),r=0;else return c}else return c;break;case 120:if(l>=s){let p=parseInt(e.substring(s,l+1));if(a=i[n++],typeof a=="number")o.push(N2.lpad((a|0).toString(16),"0",p)),r=0;else return c}else return c;break;case 88:if(l>=s){let p=parseInt(e.substring(s,l+1));if(a=i[n++],typeof a=="number")o.push(N2.lpad((a|0).toString(16).toUpperCase(),"0",p)),r=0;else return c}else return c;break;default:return c}break;default:return c}}return o.join("")}static startsWith(e,i){return e.length>=i.length?e.substring(0,i.length)===i:!1}static endsWith(e,i){return e.length>=i.length?e.substring(e.length-i.length)===i:!1}static split(e,i){let o=new Array,r=0;for(;;){let n=e.exec(i);if(n!==null){let a=e.lastIndex-n[0].length;o.push(i.substring(r,a)),r=e.lastIndex}else{let a=i.substring(r);XL.nullOrEmpty(a)||o.push(a);break}}return o}static fmtNumber(e){return e.toFixed(5).replace(onr,"")}};var XL=class{static rgb(e){if(0<=e&&e<=255)return e;throw new Error(yU.format("RGB should not nagative and not over 255(0xFF): %X",e))}static normal(e){if(isFinite(e))return e;throw new Error(yU.format("%f is not permitted",e))}static positiveOr0(e){if(e>=0)return e;throw new Error(yU.format("%f must >= 0",e))}static positive(e){if(e>0)return e;throw new Error(yU.format("%f must > 0",e))}static notnull(e){if(e!=null)return e;throw new Error("invalid null value")}static mustnull(e){if(e===null)return null;throw new Error("value must be null")}static notEmpty(e){if(e==null||e.length===0)throw new Error("invalid empty string");return e}static nullOrEmpty(e){return e==null||e.length===0}static notNullOrUndef(e){if(e!=null)return e;throw new Error("null or undefined is not permitted")}};function Hri(t,e){rnr(t.iterator(),e)}function rnr(t,e){let i=0;for(;t.hasNext();){let o=t.next();e(i++,o)}}var rT=class rT{static toDegrees(e){return e*180/Math.PI}static toRadians(e){return e/180*Math.PI}static regularD(e){return e=e%360,e<0?360+e:e}static regular(e){return e=e%rT.PIx2,e<0?rT.PIx2+e:e}static toQuarterBase(e){return rT.regular((e+rT.PI_4)/rT.PI_2*rT.PI_2)}static toQuarterBaseD(e){return rT.regularD(((e+45)/90|0)*90)}static transformD(e,i){return rT.toDegrees(rT.transform(rT.toRadians(e),i))}static transform(e,i){let o=Math.cos(e),r=Math.sin(e),n=new Mb(i.data[6],i.data[7]),a=new Mb(o,r).multiply3(i);return rT.regular(a.angle(n))}};rT.PIx2=Math.PI*2,rT.PI_2=Math.PI/2,rT.PI_4=Math.PI/4;var v6=rT;var k7e=class{static dotProd1(e,i,o,r){return e*o+i*r}static dotProd2(e,i,o,r,n,a){return this.dotProd1(o-e,r-i,n-o,a-r)}static dotProd3(e,i,o){return this.dotProd2(e.x,e.y,i.x,i.y,o.x,o.y)}static crossProd1(e,i,o,r){return e*r-i*o}static crossProd2(e,i,o,r,n,a){return this.crossProd1(o-e,r-i,n-o,a-r)}static crossProd3(e,i,o){return this.crossProd2(e.x,e.y,i.x,i.y,o.x,o.y)}static distance2(e,i,o,r){let n=o-e,a=r-i;return n*n+a*a}static distance1(e,i,o,r){return this.hypot(o-e,r-i)}static distance1p(e,i){return this.distance1(e.x,e.y,i.x,i.y)}static hypot(e,i){if(e=Math.abs(e),i=Math.abs(i),i>e){var o=i;i=e,e=o}if(e===0)return i;var r=i/e;return e*Math.sqrt(1+r*r)}};var nT=class{static regular(e){return Math.round(e*this.precision)/this.precision}static eq(e,i){return Math.abs(e-i)<=this.eps}static neq(e,i){return Math.abs(e-i)>this.eps}static less(e,i){return e-i<-this.eps}static lesseq(e,i){return e-i<this.eps}static greater(e,i){return e-i>this.eps}static greatereq(e,i){return e-i>-this.eps}static sqrt(e){return Math.abs(e)<=1e-10?0:Math.sqrt(e)}static sortAsc(e,i){return e-i}static sortDesc(e,i){return i-e}};nT.eps=1e-8,nT.precision=1e8;var Yri=new ArrayBuffer(16),Gri=new Float64Array(Yri),P7e=new Int32Array(Yri),D6=class D6{static sortByXAsc(e,i){return e.x-i.x}static sortByYAsc(e,i){return e.y-i.y}static sortByXYAsc(e,i){return e.x<i.x?-1:e.x>i.x?1:e.y-i.y}normalize(){if(this.x===0&&this.y===0)return new D6(0,0);let e=this.x/this.length(),i=this.y/this.length();return new D6(e,i)}static normal(e,i,o){let r=i.sub(e),n=o.sub(i);return r.cross(n)}static getVector2(e){return new D6(Math.cos(e),Math.sin(e))}constructor(e,i){this.x=XL.normal(e),this.y=XL.normal(i),Gri[0]=e,Gri[1]=i,this.hashed=P7e[0]^P7e[1]^P7e[2]^P7e[3]}dot(e){return this.x*e.x+this.y*e.y}length(){return Math.sqrt(this.dot(this))}getCos(){return this.x/this.length()}sub(e){var i=this.x-e.x,o=this.y-e.y;return new D6(i,o)}add(e){var i=this.x+e.x,o=this.y+e.y;return new D6(i,o)}add1(e,i){return new D6(this.x+e,this.y+i)}mul(e){return new D6(this.x*e,this.y*e)}cross(e){return this.x*e.y-this.y*e.x}getSin(){return this.y/this.length()}angle(e){return Math.atan2(this.y-e.y,this.x-e.x)}angleD(e){return v6.toDegrees(this.angle(e))}distance1(e){let i=e.x-this.x,o=e.y-this.y;return k7e.hypot(i,o)}distance2(e){let i=e.x-this.x,o=e.y-this.y;return i*i+o*o}rotateD(e,i){return this.rotate(e,v6.toRadians(i))}rotate(e,i){let o=Math.cos(i),r=Math.sin(i),n=this.x-e.x,a=this.y-e.y,s=n*o+a*-r,l=n*r+a*o;return e.add1(s,l)}regular(e){return new D6(Math.round(this.x/e)*e,Math.round(this.y/e)*e)}multiply3(e){let i=this.x*e.data[0]+this.y*e.data[3]+e.data[6],o=this.x*e.data[1]+this.y*e.data[4]+e.data[7];return new D6(i,o)}hashCode(){return this.hashed}equals(e){return e instanceof D6?e.x===this.x&&e.y===this.y:!1}equals1(e){return nT.eq(this.x,e.x)&&nT.eq(this.y,e.y)}toString(){return"Vector [X="+this.x+", Y="+this.y+"]"}bbox(){let e=this.x,i=this.y;return new Yw(e,e,i,i)}};D6.ORIGIN=new D6(0,0);var Mb=D6;var kft=class{constructor(){this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.minY=Number.POSITIVE_INFINITY,this.maxY=Number.NEGATIVE_INFINITY}ext1(e){return this.minX=Math.min(this.minX,e.minX),this.maxX=Math.max(this.maxX,e.maxX),this.minY=Math.min(this.minY,e.minY),this.maxY=Math.max(this.maxY,e.maxY),this}ext2(e){return this.minX=Math.min(this.minX,e.x),this.maxX=Math.max(this.maxX,e.x),this.minY=Math.min(this.minY,e.y),this.maxY=Math.max(this.maxY,e.y),this}ext3(e){for(let i=0;i<e.length;i++){let o=e[i];this.ext2(o)}return this}ext4(e){return Hri(e,(i,o)=>(this.ext2(o),!0)),this}ext5(e,i,o,r){return this.minX=Math.min(this.minX,e),this.maxX=Math.max(this.maxX,i),this.minY=Math.min(this.minY,o),this.maxY=Math.max(this.maxY,r),this}ext6(e,i){return this.minX=Math.min(this.minX,e),this.maxX=Math.max(this.maxX,e),this.minY=Math.min(this.minY,i),this.maxY=Math.max(this.maxY,i),this}ext7(e){if(e<0){let i=e*2;if(i<this.minX-this.maxX||i<this.minY-this.maxY)throw new Error("")}return this.minX-=e,this.maxX+=e,this.minY-=e,this.maxY+=e,this}valid(){return isFinite(this.minX)&&isFinite(this.maxX)&&isFinite(this.minY)&&isFinite(this.maxY)}clear(){this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.minY=Number.POSITIVE_INFINITY,this.maxY=Number.NEGATIVE_INFINITY}build(){return new Yw(this.minX,this.maxX,this.minY,this.maxY)}},Yw=class t{static extend1(e,i){if(e===null)return new t(i.x,i.x,i.y,i.y);{let o=Math.min(e.minX,i.x),r=Math.max(e.maxX,i.x),n=Math.min(e.minY,i.y),a=Math.max(e.maxY,i.y);return new t(o,r,n,a)}}static extend2(e,i){if(e===null)return i;{let o=Math.min(e.minX,i.minX),r=Math.max(e.maxX,i.maxX),n=Math.min(e.minY,i.minY),a=Math.max(e.maxY,i.maxY);return new t(o,r,n,a)}}constructor(e,i,o,r){this.minX=XL.normal(e),this.maxX=XL.normal(i),this.minY=XL.normal(o),this.maxY=XL.normal(r)}isContains(e){return this.isContains1(e.x,e.y)}isContains1(e,i){return this.isContainsX(e)&&this.isContainsY(i)}isContains2(e,i){return this.isContainsX1(e)&&this.isContainsY1(i)}isContainsX(e){return e>=this.minX&&e<=this.maxX}isContainsX1(e){return nT.greatereq(e,this.minX)&&nT.lesseq(e,this.maxX)}isContainsY(e){return e>=this.minY&&e<=this.maxY}isContainsY1(e){return nT.greatereq(e,this.minY)&&nT.lesseq(e,this.maxY)}isIntersect(e){let i=Math.max(this.minX,e.minX),o=Math.min(this.maxX,e.maxX);if(i>o)return!1;let r=Math.max(this.minY,e.minY),n=Math.min(this.maxY,e.maxY);return!(r>n)}intersection1(e){let i=Math.max(this.minX,e.minX),o=Math.min(this.maxX,e.maxX);if(nT.greater(i,o))return null;i>o&&(o=i);let r=Math.max(this.minY,e.minY),n=Math.min(this.maxY,e.maxY);return nT.greater(r,n)?null:(r>n&&(n=r),new t(i,o,r,n))}extendOfSize(e){return XL.positiveOr0(e),new t(this.minX-e,this.maxX+e,this.minY-e,this.maxY+e)}isInside(e){return this.minX>=e.minX&&this.maxX<=e.maxX&&this.minY>=e.minY&&this.maxY<=e.maxY}width(){return this.maxX-this.minX}height(){return this.maxY-this.minY}UL(){return new Mb(this.minX,this.maxY)}UR(){return new Mb(this.maxX,this.maxY)}LL(){return new Mb(this.minX,this.minY)}LR(){return new Mb(this.maxX,this.minY)}center(){return new Mb(this.maxX-(this.maxX-this.minX)/2,this.maxY-(this.maxY-this.minY)/2)}area(){return this.width()*this.height()}transform(e){let i=new kft;return i.ext2(this.LL().multiply3(e)),i.ext2(this.LR().multiply3(e)),i.ext2(this.UR().multiply3(e)),i.ext2(this.UL().multiply3(e)),i.build()}isSeparated(e){let i;this.minX>=e.minX?i=this.minX:i=e.minX;let o;if(this.maxX<=e.maxX?o=this.maxX:o=e.maxX,i>o)return!0;{let r;this.minY>=e.minY?r=this.minY:r=e.minY;let n;return this.maxY<=e.maxY?n=this.maxY:n=e.maxY,r>n}}relation(e){let i=0,o=0,r;this.minX>e.minX?(i++,r=this.minX):this.minX===e.minX?r=this.minX:(o++,r=e.minX);let n;if(this.maxX<e.maxX?(i++,n=this.maxX):this.maxX===e.maxX?n=this.maxX:(o++,n=e.maxX),r>n)return 2;{let a;this.minY>e.minY?(i++,a=this.minY):this.minY===e.minY?a=this.minY:(o++,a=e.minY);let s;return this.maxY<e.maxY?(i++,s=this.maxY):this.maxY===e.maxY?s=this.maxY:(o++,s=e.maxY),a>s?2:i===4?0:o===4?1:i===0&&o===0?4:r===n||a===s?6:i!==o?5:3}}toString(){return"BBox [minX="+this.minX+", maxX="+this.maxX+", minY="+this.minY+", maxY="+this.maxY+"]"}};function rn(t,e,i){if(!t)return null;var o=arguments.length,r,n,a,s;if(t.tagName){if(typeof e=="string")return o===2?t.getAttribute(e):(e.indexOf(":")>0?(n=e.substr(0,e.indexOf(":")),n in gU&&(a=e.substr(n.length+1),Pwe?t.setAttributeNS(gU[n],e,i):t.setAttributeNS(gU[n],a,i))):(t.setAttribute(e,i),(i===""||i===null||i===void 0)&&(e==="transform"&&t.setAttribute(e,""),t.removeAttribute(e))),t);for(r in e)Object.hasOwnProperty.call(e,r)&&(r.indexOf(":")>0?(n=r.substr(0,r.indexOf(":")),n in gU&&(a=r.substr(n.length+1),e[r]===""?t.hasAttributeNS(gU[n],a)&&t.removeAttributeNS(gU[n],a):Pwe?t.setAttributeNS(gU[n],r,e[r]):t.setAttributeNS(gU[n],a,e[r]))):e[r]===""?t.hasAttribute(r)&&(r==="transform"&&t.setAttribute(r,""),t.removeAttribute(r)):t.setAttribute(r,e[r]));return t}if(Array.isArray(t)||t instanceof NodeList||t instanceof HTMLCollection||A7e&&typeof t.length=="number"){if(typeof e=="string"&&o==2)return t[0]?rn(t[0],e):null;if(o==2)for(s=0;s<t.length;s++)rn(t[s],e);else if(o>=3)for(s=0;s<t.length;s++)rn(t[s],e,i);return t}}function Wri(t){return rn(t,"c_partid")==="sheet"}function Qri(){return Nf("chromeframe")>0||Nf("x-clock")>0?"chromeframe":Nf("MSIE")>0||Nf("Trident")>=0?"ie":Nf("Edge/")>0?"edge":Nf("Electron/")>0?"electron":Nf("Firefox/")>0?"firefox":Nf("Opera/")===0?"opera":Nf("Chrome/")===0?"chrome":Nf("Safari/")===0?"safari":"other"}function Owe(t,e=28){let i=(0,Pft.default)("<a></a>");i.text(t).css({fontSize:12,marign:"0 4px"}),(0,Pft.default)("body").append(i);let o=i.width()+e;return i.remove(),o}function rue(t,e){let i=(()=>{let o=[];if(e instanceof Element)o.push(e);else if(typeof e=="string")o.push(...document.querySelectorAll(e));else{let r=Object.prototype.toString.call(e).slice(8,-1);["NodeList","HTMLCollection","Array"].includes(r)&&o.push(...e)}return o})();do{if(i.indexOf(t)>-1)return t;t=t.parentElement}while(t!==null);return null}var Kri=t=>{if(!(t instanceof Element))throw new TypeError(`${t} is not a Element!`);let e=t;if(!e.getClientRects().length)return{left:0,top:0,width:0,height:0};let i=e.getBoundingClientRect(),o=e.ownerDocument.defaultView;return{left:i.left+o.pageXOffset,top:i.top+o.pageYOffset,width:i.width,height:i.height}};function Zri(t,e){let i=t.x,o=0,r=t.width,n=e,a=new Yw(0,window.innerWidth,0,window.innerHeight),s=new Yw(t.x,t.width+t.x,t.y,t.y+t.height);if(s.maxY+n<=a.height())o=s.maxY;else if(s.minY-e>=0)o=s.minY-e;else{let l=s.minY,c=a.height()-s.maxY;c<l?(n=l,o=0):(n=c,o=s.maxY)}return{left:i,top:o,height:n,width:r}}async function Jri(t,e={}){return new Promise((i,o)=>{let r=document.querySelector(`script[src="${t}"]`);if(r){i(r);return}let n=document.createElement("script");if(n.type="text/javascript",n.async=!0,n.src=t,e.attrs)for(let[u,p]of Object.entries(e.attrs))n.setAttribute(u,p);let a=()=>{l(),i(n)},s=()=>{l(),o(new Error(`Failed to load script: ${t}`))},l=()=>{n.removeEventListener("load",a),n.removeEventListener("error",s),c&&clearTimeout(c)},c;e.timeout&&(c=window.setTimeout(()=>{l(),o(new Error(`Script load timeout: ${t}`))},e.timeout)),n.addEventListener("load",a),n.addEventListener("error",s),e.beforeAppend&&e.beforeAppend(n);let d=document.head||document.body;d?d.appendChild(n):document.addEventListener("DOMContentLoaded",()=>{(document.head||document.body).appendChild(n)})})}var nue=L(Vi());function O7e(t){return t&&(/^(https?:)?\/\/[\w.-]+\/[^\s#?"]+\.(jpg|jpeg|png|bmp|webp|gif|svg)$/i.test(t)||/^data:image\/(jpeg|png|webp|bmp|gif|svg\+xml);base64,/.test(t)||/^\/assets\/static\/images\//.test(t))}function Rg(t){return!t||typeof t!="object"?t:ue.parseJSON(JSON.stringify(t))}function qri(t,e){if(t&&Object.hasOwnProperty.call(t,e))return t[e];let i=e.charAt(0).toUpperCase()+e.substr(1);return t["webkit"+i]||t["moz"+i]||t["o"+i]||t["ms"+i]}function MK(t){if(t=t.toString(),t.length===10)return Number(t)*1e3;if(t.length===13)return Number(t);console.error("\u83B7\u53D6\u6BEB\u79D2\u5931\u8D25")}function Om(t,e){return e=e||C,e.decimalPlacesShow=e.decimalPlacesShow||2,li.toFixed(t,e.decimalPlacesShow,e.fixedDecimal)}function m1(...t){let e=0,i=t.length,o,r=!1;if(i<1)return{};for(typeof t[0]=="boolean"?(r=t[0],o=t[1],e=1):typeof t[i-1]=="boolean"?(r=t[i-1],o=t[0],i--):o=t[0],(!o||typeof o!="object"&&typeof o!="function")&&(o={});e<i;e++){let n=t[e];if(n&&typeof n=="object"){if(n==o)continue;for(let a in n)Object.hasOwnProperty.call(n,a)&&(r&&n[a]&&typeof n[a]=="object"?o[a]=m1({},n[a]):o[a]=n[a])}}return o}function Vc(t,e,i,o={}){if(typeof t=="string")return nue.default.ajax({type:"POST",url:t,data:e,dataType:"json",success(...r){i&&i(...r)},...o});if(nue.default.isPlainObject(t))return nue.default.ajax(m1({type:"POST",dataType:"json",...o},t));throw Error("Invalid parameters")}function R7e(){let t=window,e=navigator,i=e.userAgent.replace(/Mozilla\/\S*|AppleWebKit\/\S*|KHTML, like Gecko|/,""),o=document.body,r={os:[["Windows 10",/Windows NT (?:10\.|6\.4)/],["Windows 8.1",/Windows (?:8\.1|NT 6\.3)/],["Windows 8",/Windows (?:8|NT 6\.2)/],["Windows 7",/Windows (?:7|NT 6\.1)/],["Windows Phone",/Windows Phone/],["$1",/((?:Windows (?:NT )?|WinNT) \d+\.?\d*)/],["Mac OS",/Mac OS X|MacPPC|MacIntel|Mac_PowerPC|Macintosh/],["$&",/iPhone|iPad|iPod|OpenBSD|FreeBSD|Ubuntu|Linux|Unix|BlackBerry|OS\/2|Android/]],browser:[["IEMobile $1",/ IEMobile\/(\d+)/],["IE 11",/Edge\/12|Trident\/7.* rv:11/],["IE 10",/MSIE 10|Trident\/6/],["IE 9",/MSIE 9|Trident\/5/],["IE $1",/MSIE (\d+)/],["Firefox $1",/Firefox\/(\d+)/],["Opera $1",/Opera\/.*Version\/(\d+)/],["Chrome $1",/Chrome\/(\d+)/],["Safari $1",/Version\/(\d+).* Safari/,/Android/]]},n={platform:e.platform||"",language:e.language||e.userLanguage||"",os:"other",browser:"other",screen:{width:screen.width,height:screen.height,devicePixelRatio:t.devicePixelRatio||1,touch:"ontouchstart"in t?1:0},features:{applicationCache:!!t.applicationCache,IndexedDB:!!qri(t,"indexedDB"),FileSystem:!!qri(t,"requestFileSystem"),WebWorker:!!t.Worker,history:"pushState"in t.history,hashchange:"onhashchange"in t,draganddrop:"draggable"in o||"ondragstart"in o&&"ondrop"in o}};return r.os.some(function(a){let s=a[0],l=a[1],c=a[2],d;if((d=i.match(l))&&(s=s.indexOf("$")<0?s:s=="$&"?d[0]:s.replace("$1",d[1]),!c||!c.test(i)))return n.os=s,!0}),r.browser.some(function(a){let s=a[0],l=a[1],c=a[2],d;if((d=i.match(l))&&(s=s.indexOf("$")<0?s:s=="$&"?d[0]:s.replace("$1",d[1]),!c||!c.test(i)))return n.browser=s,!0}),n}function $L(t,e,i,o){return o?Promise.resolve(nue.default.ajax({type:"GET",url:t,data:e,dataType:"json",success(...r){i&&i(...r)},...o})):Promise.resolve(nue.default.getJSON(t,e,i))}var rc=L(Vi());var HDe=L(Vi());var xWt=L(Vi());var ice=L(Vi());var e3=L(Vi());var yAo=L(hS());var fAo=L(Vi());var Xin=L(Vi());var Zin=L(Vi());var pd=L(Vi());var Tye=L(Vi());function nnr(t){if(t)return t.context?me._context_i18n(t.context,t.value,t.options):me.i18n(t.value,t.options)}var Rr=t=>typeof t=="object"?nnr(t):me.i18n(t);function J(){return Ce(is),Rr}var $ri=L($de());function Mt(t=0){return(0,$ri.default)(Date.now()+e(!0,3,32)+t).substr(8,16);function e(i,o,r){o=o||1,r=r||32;let n="",a=o,s=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];i&&(a=Math.round(Math.random()*(r-o))+o);for(let l=0;l<a;l++){let c=Math.round(Math.random()*(s.length-1));n+=s[c]}return n}}var Rft=!1;var eni={type:"info",msg:"",timer:3},_7e={},anr=Rft?6:3,tni={error:"messager-error2",warn:"messager-warning2",info:"messager-info2",success:"messager-success",question:"messager-question"},Fi=class{constructor(e){this.resetConfig(e)&&(this.hashId=Mt(),this.createPanel(),this.show())}resetConfig(e){if(!e||!e.msg)return!1;this.config=Object.assign({},eni,e),this.config.timer=this.autoTimer(this.config.timer),this.config.btnClickedCallback=e.btnClickedCallback||null,this.config.timer<0&&(this.config.timer=eni.timer),Rft&&(this.config.timer=0);let i=this.config.bottomBarMsg;if(i){typeof i=="object"&&(i.openTab=!1,C.messageBus.publish("bottomBarLog",this.config.bottomBarMsg));let o=this.config.msg,n={text:"View More",call:typeof i=="string"?{name:"showBottomBarByType",args:i}:"showBottomBarLog",class:"space-btn"};Array.isArray(o)?o.push(n):this.config.msg=[o,n]}return!0}autoTimer(e){return li.toFixed(e,1,!1)}getCloseEle(){return k0(".btns .close",this.panel)}getTimerEle(){return k0(".btns .timer",this.panel)}getMsgEle(){return k0(".msg",this.panel)}createPanel(){let e="template",i=k0("#toast-messager-container > div."+e);this.panel=i.cloneNode(!0),aue(this.panel,e),this.updatePanelStyle(),this.updatePanelText(),this.updatePanelTimer();let o=this.panel.cloneNode(!0),r=Vr("test-container-dom");r.appendChild(o),aue(r,"hidden"),y8(r,"toast-messager-container");let n=o.clientHeight;y8(r,"hidden"),m3(o),aue(r,"toast-messager-container");let a=n>50?"line2":"line1";y8(this.panel,a),this.addListener()}updatePanelStyle(){let e=this.config,i=Vr("toast-messager-container");aue(i,"on-ruler on-ruler2 on-home");let o=k2();o===Ee.HOME?y8(i,"on-home"):[Ee.PCB,Ee.FOOTPRINT,Ee.PCBMODULE,Ee.PCB2D,Ee.PCBMODULE].includes(o)?y8(i,"on-ruler"):[Ee.PART,Ee.BLOCK_SYMBOL,Ee.NETFLAG,Ee.NETPORT,Ee.OFF_PAGE_CONNECTOR,Ee.DIFF_PAIRS_FLAG,Ee.SHEET_SYMBOL,Ee.NONEELEC_SYMBOL,Ee.PANEL].includes(o)&&y8(i,"on-ruler2"),y8(this.panel,e.type);let r=k0(".icon > .messager-icon",this.panel);y8(r,tni[e.type]||tni.info);let n=k0(".btns > .close",this.panel);y8(n,"icon-eda-x")}updatePanelText(){let e=this.config.msg,i=this.config.dataTestContent||e,o=null,r=null;Array.isArray(e)?(o=e,r=i):(o=[e],r=[i]);let n="";o.forEach((s,l)=>{let c="",d="";if(typeof s=="string")d=r&&Array.isArray(r)?r[l]:s,c=this.isContainHtmlTag(s)?s:`<span data-test="${d}">${Rr(s)}</span>`;else if(typeof s=="object"&&s.text){let u=s;d=r&&Array.isArray(r)?r[l]:u.text;let p="",m=u.call,h="",f=u.class?" "+u.class:"";m&&(p=` call-info-index="${l}"`,f="",h=u.class||""),c=`<span data-test="${d}" class="${f}"${p}>${u.translate===!1?u.text:Rr(u.text)}</span>`,m&&(c=`<a class="${h}" href="#"${p}>${c}</a>`)}else{let u=s,p=[],m=(u.value||"").replace(/\"|\'/g,"");u.options&&(p=Object.keys(u.options)),p.forEach(h=>{m=m.replace(`{${h}}`,u.options[h])}),(u.translateOptionKeys||[]).forEach(h=>{u.options[h]&&(Array.isArray(u.options[h])?u.options[h]=this.translateArray(u.options[h],u.translateIndexOfArray):u.options[h]=me.i18n(u.options[h]))}),c=`<span data-test="${m.replace(/"/g,"'")}">${Rr(u)}</span>`}n+=c});let a=this.getMsgEle();this.config.autoHeight&&a.classList.add("auto-height"),a&&(a.innerHTML=n)}translateArray(e,i="all"){let o=/[a-zA-Z\s]+/;if(Array.isArray(i)&&i.length)for(let r of i){let n=e[r].match(o)[0]||"";e[r]=e[r].replace(n,me.i18n(n))}else e=e.map((r,n)=>{let a=r.match(o)[0]||"";switch(i){case"all":return r.replace(a,me.i18n(a));case"odd":return n%2==1?r.replace(a,me.i18n(a)):r;case"even":return n%2==0?r.replace(a,me.i18n(a)):r;default:break}});return e.join("\u3001")}isContainHtmlTag(e){return e=e.trim(),e.includes("<")&&e.includes(">")}updatePanelTimer(){let e=this.getTimerEle();this.config.timer>0?e.textContent=this.config.timer.toString():m3(e)}addListener(){var r;let e=this;(r=this.getCloseEle())==null||r.addEventListener("click",n=>{this.close()}),Rd(".msg *[call-info-index]",this.panel).forEach(n=>{n.addEventListener("click",o)});function o(n){let a=rn(n.target,"call-info-index"),s=e.config.msg,l=Array.isArray(s)?s[a]:s;if(typeof l=="string"||!l.text)return;let c=l.call,d=null;if(typeof c=="string"?d={name:c}:d=c,d){let u=d.args;d.useMessageBus?C.messageBus.publish(d.name,u):C.messageBus.publish("doCommand_ui",[d.name,u])}e.config.btnClickedCallback&&e.config.btnClickedCallback(+a)}}show(){if(!this.panel)return;let e=Object.keys(_7e),i=e.length+1-anr;i>0&&e.slice(0,i).forEach(n=>_7e[n].close());let o="enter-in";Vr("toast-messager-container").appendChild(this.panel),y8(this.panel,o),_7e[this.hashId]=this;let r=.1;me.update(this.panel),setTimeout(()=>{if(aue(this.panel,o),this.config.timer==0)return;let n=.1,a=.2;this.config.timer-=r,this.config.timer-=n,this.config.timer<=0&&this.close();let s=this.getTimerEle();s.textContent=this.autoTimer(this.config.timer).toString(),this.timerId=setInterval(()=>{let l=this.autoTimer(s.textContent);l<1||isNaN(l)?setTimeout(()=>{this.close()},Math.max(l-a,0)*1e3):s.textContent=(l-1).toString()},1e3)},r*1e3)}close(){if(!this.panel)return;delete _7e[this.hashId],clearInterval(this.timerId),y8(this.panel,"leave-to"),setTimeout(()=>{m3(this.panel),this.panel=null},400)}updateMsg(e){this.config.msg=e,this.updatePanelText()}};Fi.testModel=Rft;function ini(){new Fi({type:"error",msg:"Import pdf config failed, Invalid Format."});let t=1e3;setTimeout(()=>{new Fi({type:"info",msg:"This size is the determined size!"})},t+=1e3),setTimeout(()=>{new Fi({type:"question",msg:"Sure to remove this net from its net class?"})},t+=1e3),setTimeout(()=>{new Fi({type:"success",msg:"Import project successfully!"})},t+=1e3),setTimeout(()=>{new Fi({type:"warn",msg:"can not be placed on the wire which is placing No Connect Flag."})},t+=1e3),setTimeout(()=>{new Fi({type:"error",msg:{value:"Already exist a net class named {0}",options:{0:"GND"}}})},t+=1e3)}var m8o=L(Vi());function L9(t){switch(t){case se.SCH:case se.SCHMODULE:return"sch";case se.PANEL:case se.PANEL_LIB:return"panel";case se.BLOCK_SYMBOL:case se.PART:case se.SHEET_SYMBOL:case se.NETFLAG:case se.NETPORT:case se.OFF_PAGE_CONNECTOR:case se.DIFF_PAIRS_FLAG:case se.NONEELEC_SYMBOL:case se.SHORT_SYMBOL:case se.SUBPART:case se.NGSPICE_MODEL:case se.SIMULIDE_MODEL:return"schlib";case se.PCB:case se.PCBMODULE:return"pcb";case se.PHOTOVIEW:return"2Dview";case se.VIEW3D:return"3Dview";case se.PANEL3D:return"panel3D";case se.FOOTPRINT:return"pcblib";case se.NGSPICE:case se.SIMULIDE:return"simulation";default:return}}function _ft(t){return Fh(t)||t==se.PCB}var jft=[se.PART,se.SHEET_SYMBOL,se.NETFLAG,se.NETPORT,se.OFF_PAGE_CONNECTOR,se.DIFF_PAIRS_FLAG,se.NONEELEC_SYMBOL,se.SHORT_SYMBOL,se.BLOCK_SYMBOL];function pr(t){return jft.indexOf(t)>=0}function Rwe(t){return jft.indexOf(t)>=0&&t!==se.BLOCK_SYMBOL}function sue(t){return jft.indexOf(t)>=0&&t!==se.SHEET_SYMBOL}var oni=[se.NGSPICE,se.SIMULIDE],snr=oni.concat([se.WAVEFORM]);function zh(t){return oni.indexOf(t)>=0}function _we(t){return snr.indexOf(t)>=0}var Ni={PRJ:"1",BOARDS:"2",BOARD:"3",BLOCKS:"4",BLOCK:"5",SCH:"6",SHEET:"7",SYMBOLS:"8",SYMBOL:"9",NETS:"10",NET:"11",WIRE:"13",BLOCK_SYMBOL:"12",BUS:"14",SYMBOLCOLLECT:"15",NETCLASS:"16",NETCOLLECT:"17",NETTREENODE:"18",REUSEBLOCKS:"19",REUSEBLOCK:"20",NETPORTS:"23",NETPORT:"24",NETFLAGS:"25",NETFLAG:"26",SHORTSYMBOLS:"27",SHORTSYMBOL:"28",NONEELECSYMBOLS:"29",NONEELECSYMBOL:"30",PINNODE:"31",PANEL:"32",NETCOLLECTNODE:"33",NETTREEBUSNODE:"34",OTHER:"36",MULTIPART:"37",MULTIPARTGROUP:"38",NETLABEL:"39",POLYLINE:"40",CIRCLE:"41",RECT:"42",ARC:"43",TEXT:"44",IMAGE:"45",TABLE:"46",BEZIER:"47",ELLIPSE:"48",BATCHBLOCKSYMBOL:"49",COMBINATIONS:"50",COMBINATION:"51",NETLABELS:"52",CHILDPCB:"53",PANEL_OBJECT_ROOT_NODE:"201",PANEL_OBJECT_LAYER_NODE:"202",PANEL_OBJECT_NODE:"203",PANEL_COMBINATION_ROOT_NODE:"204",PANEL_COMBINATION_OBJECT_NODE:"205",PCB:"101",ObjectRoot:"objectRoot",Object:"object",TrackNet:"trackNet",TestPadNet:"testPadNet",CopperLayer:"copperLayer",Copper:"copper",Group:"group",ComponentClassification:"componentClassification",Nets:"nets",Net:"net",NetClasses:"netClasses",NetClass:"netClass",RatlineNets:"ratlineNets",RatlineNet:"ratlineNet",Ratline:"ratline",Differentials:"differentials",Differential:"differential",EqualLengthGroups:"equalLengthGroups",EqualLengthGroup:"equalLengthGroup",PadsPairGroups:"PadsPairGroups",PadsPairGroup:"padsPairGroup",PadsPair:"padsPair",NetComponents:"netComponents",Errors:"errors",ErrorType:"errorType",ErrorObjType:"errorObjType",PcbComparison:"pcbComparison",Radiuse:"radiuse",LayerPair:"layerpair",COMPONENTS:"102",COMPONENT:"103",PINS:"104",PIN:"105",ALLNETROOT:"106",RATLINES:"107",RATLINE:"108",RATLINENETS:"109",RATLINENET:"110",ERRORS:"111",ERRORTYPE:"112",ERROROBJTYPE:"113",NETCLASSES_PCB:"114",NETCLASS_PCB:"115",PINTYPE:"117",TRACKNET:"118",GROUP:"119",ALLOBJROOT:"120",ALLCOMPONENTROOT:"121",CLASSIFICATION:"122",CLASSIFICATIONCOMPONENT:"123",COPPERLAYER:"124",DIFFERENTAILS:"125",DIFFERENTAIL:"126",EQUAL_LENGTH_GROUP_ROOT:"127",EQUAL_LENGTH_GROUP:"128",NET_COMPONENT_ROOT:"129",NET_COMPONENT:"130",COPPER:"131",PADSPAIR_GROUP_ROOT:"132",PADSPAIR_GROUP:"133",PADSPAIR:"134"};var fl=L(Vi());var BEo=L(Vi());var NEo=L(Vi());var j7e=L(Vi());var nu=class t{constructor(){this.config=function(e){return m1(this.options,e),"multiple"in e&&(this._input.multiple=e.multiple),"accept"in e&&(this._input.accept=e.accept,(0,j7e.default)(this._input).attr("accept",e.accept)),this};this.openSelect=function(){return this._input.value="",this._input.click(),this}}static instance(e){var i=e.data("fileSelector");return i||(i=new t,i.options={},i.target=e,i._input=(0,j7e.default)('<input type="file" multiple>')[0],(0,j7e.default)(i._input).on("change",function(){if(i.options.onSelectFiles){var o=i._input.files;if(o.length)if(i.options.fileFilter){var r=[].slice.call(o,0).filter(function(n){return i.options.fileFilter(n)!==!1});i.options.onValidate&&i.options.onValidate(r.length>0),r.length?i.options.onSelectFiles(r):console.log("Files cannot pass fileFilter")}else i.options.onSelectFiles(o)}}),e.data("fileSelector",i)),i}};var ein=L(Vi());var ite=L(Vi()),yEo=L(hS());var en=L(Vi());function lnr(){let t=document.getElementById("top-wrap"),e=document.getElementById("editorTabbar"),i=document.getElementById("toolbar-bottom"),o=document.getElementById("layoutBottom"),r=t.getBoundingClientRect(),n=e.getBoundingClientRect(),a=o.getBoundingClientRect(),s=i.getBoundingClientRect(),l=document.getElementById("editor-start-page");return{topMenuRect:JSON.stringify(r.toJSON()),defaultContentRect:JSON.stringify(n.toJSON()),bottomPanelRect:JSON.stringify(a.toJSON()),isInDefaultContent:l.offsetWidth>0&&l.offsetHeight>0?JSON.stringify(!0):JSON.stringify(!1)}}var rni=null;function lue(){window.clearTimeout(rni),rni=window.setTimeout(async()=>{if(qL){let t=C.apis.client.syncSysCtxmenuArea;await fetch(t,{method:"post",body:JSON.stringify(lnr())}).catch(e=>{})}},50)}var nni=L(Vi()),jwe=class{getCurrentVersion(){return(0,nni.default)('meta[name="editorMainVersion"]').attr("content")}compareVersion(e,i,o=4){let r=e.split("."),n=i.split(".");o==-1&&(o=Math.max(r.length,n.length));for(let a=0;a<o;a++){let s=parseInt(r[a])||0,l=parseInt(n[a])||0;if(s>l)return a+1;if(s<l)return-1}return 0}},au=new jwe;var lEo=L(z7e());var rEo=L(Hr());var dQ=L(Se());var Eli=L(Se());var n9e=L(Se()),Dli=L(uT()),ca=t=>{let[e,i]=(0,n9e.useState)(0);return(0,n9e.useCallback)(()=>{(t==null?void 0:t.flush)==="sync"?(0,Dli.flushSync)(()=>{i(o=>o+1)}):i(o=>o+1)},[])};var Bue=L(Se());var X2t=L(Se());var a9e=class extends qe{constructor(){super()}getPCBData(){return this.pcbData}setPCBData(e){this.pcbData=e,this.notify()}},WK=(0,X2t.createContext)(void 0),_r=(0,X2t.createContext)(window);function usr(t,e){if(!t)return e;let i;return typeof t=="function"?i=t():"current"in t?i=t.current:i=t,i}function Gs(t,e,i){let{window:o}=(0,Bue.useContext)(_r);i=i===void 0?{}:i;let r=(0,Bue.useRef)(e);r.current=e,(0,Bue.useEffect)(()=>{let n=usr(i.target,o.document);if(!(n!=null&&n.addEventListener))return;let a=s=>{r.current(s)};return n.addEventListener(t,a,{capture:i.capture,once:i.once,passive:i.passive}),()=>{n.removeEventListener(t,a,{capture:i.capture,once:i.once,passive:i.passive})}},[t,i.capture,i.once,i.passive])}var zue=L(Se());function La(){let[t,e]=zue.default.useState(null),i=(0,zue.useContext)(_r),o=new i.ResizeObserver(a=>{e(a[0].contentRect)}),r=zue.default.useCallback(a=>{a!==null&&o.observe(a)},[]),n=zue.default.useCallback(()=>{o.disconnect()},[]);return[t,r,n]}var Ali=L(Se());function pT(t){let{value:e,defaultValue:i,onChange:o}=t,r=e!==void 0,[n,a]=(0,Ali.useState)(r?e:i);return r&&(n=e),[n,(l,...c)=>{r||a(l),o==null||o(l,...c)}]}var s9e=L(Se());var $2t=(t,e=document)=>{let i=t.uuid;if(!e.getElementById(`${i}`)){let r=e.head||e.getElementsByTagName("head")[0],n=e.createElement("style");n.id=`${i}`,n.setAttribute("type","text/css"),n.innerHTML=String(t),r.appendChild(n)}},Ae=t=>{let e=(0,s9e.useContext)(_r).document,i=(0,s9e.useRef)(!0);i.current&&(i.current=!1,$2t(t,e))};var ete=L(Se());var ebt=(i=>(i.popup="Popup",i.restore="Restore",i))(ebt||{});var YDo=L(tbt());var Ex=L(Se()),Cst=L(Hr());var Fue=L(Se());var l9e=(o=>(o[o.sm=24]="sm",o[o.md=72]="md",o[o.lg=96]="lg",o))(l9e||{}),c9e=(o=>(o[o.sm=24]="sm",o[o.md=28]="md",o[o.lg=28]="lg",o))(c9e||{});var ibt=L(Pli());var zli=L(z()),{locals:ECe}=ibt.default,jli=new Map,Bli=({id:t,class:e,style:i,type:o,size:r,disabled:n,readonly:a,children:s,dataTest:l,needCompressText:c,title:d,onClick:u,onFocus:p,...m})=>{Ae(ibt.default);let h=J(),f=(0,Fue.useRef)(null),[g,b]=(0,Fue.useState)(s),y=is.lang,w=be(`${ECe.lc_btn} ${e} ${ECe.compressible}`,{[ECe[`lc_btn__type_${o}`]]:o,[ECe[`lc_btn__type_${o}_disabled`]]:n,[ECe[`lc_btn__type_${o}_readonly`]]:a}),x={minWidth:l9e[r],height:c9e[r],lineHeight:c9e[r]+"px"},S=typeof s=="string"?h(s):"",T=d!==void 0?d:typeof s=="string"?h(s):g;return(0,Fue.useLayoutEffect)(()=>{if(!c){b(s);return}let M=E=>{if(E<l9e[r]&&S.length>1){let N;return y!=="zh-hans"?N=S.split(" ").slice(-1)[0]:N=S.slice(-1),N}},I,A=f.current,D=new ResizeObserver(E=>{let R=E[0].contentRect.width;if(R>0){let v=M(R);if(jli.get(S)==R&&v){A.innerText=v;return}v?b(v):(A.innerText!==S&&(A.innerText=S),b(s)),I=R}});return A&&D.observe(A),()=>{I>0&&jli.set(S,I),D.unobserve(A)}},[s,f,c,y]),(0,zli.jsx)("button",{ref:f,id:t,className:w,style:{...x,...i},"data-test":l||(typeof s=="string"?s:""),onClick:M=>{!n&&(u==null||u(M))},title:T,...m,children:typeof g=="string"?h(g):g})};Bli.defaultProps={class:"",style:{},type:"default",size:"lg"};var Me=Bli;var QK=L(Se());var nbt=L(Se());var abt=L(Uli());var rbt=L(Hli());var h9e=L(Se());var Gli=L(z());function n_(t,e,i=!0){return h9e.default.Children.map(t,(o,r)=>{let n=h9e.default.isValidElement(o)?o:(0,Gli.jsx)("span",{children:o}),a=(n==null?void 0:n.props)||{},{className:s,style:l,...c}=a,d={...e,className:be(e==null?void 0:e.className,s),style:{...e==null?void 0:e.style,...l},...c},u=i!=null?typeof i=="function"?i(d,r):i:r===0;return h9e.default.cloneElement(n,u?d:{})})}var ACe=L(z()),{locals:Yli}=rbt.default,{input:ysr}=Yli,obt=be.bind(Yli),wsr=t=>{var I;let{id:e,checked:i,isHalfCheck:o,defaultChecked:r,disabled:n,children:a,translate:s=!0,className:l,name:c,tabIndex:d="",hoverTitle:u="",dataTest:p,textStyle:m,onChange:h,onFocus:f,onBlur:g,...b}=t;Ae(rbt.default);let y=J(),[w,x]=pT({value:i,defaultValue:r,onChange:h}),S=be(obt("checkbox-label"),l),T=a;s&&typeof a=="string"&&(typeof s=="boolean"?T=y(a):T=(I=s(a))==null?void 0:I.toString());let M={};return typeof d<"u"&&(M.tabIndex=d),(0,ACe.jsxs)("label",{...b,className:S,title:u,children:[(0,ACe.jsx)("input",{"data-tabfocus":"tabfocus",id:e,"data-test":p||(typeof a=="string"?a:""),className:ysr,type:"checkbox","data-halfchecked":o,name:c,checked:w,disabled:n,onChange:A=>x==null?void 0:x(A.target.checked,A),onFocus:A=>{g==null||g(A)},onBlur:A=>{f==null||f(A)},...M}),(0,ACe.jsx)("span",{className:obt("checkbox-inner"),style:{cursor:"pointer"}}),n_(T,{className:obt("checkbox-text"),style:m},!0)]})},qt=wsr;var jg=L(z()),Csr=({id:t="lc-tips-modal-id",title:e="Warning",content:i,icon:o="warning",confirmText:r="Confirm",confirmDataTest:n="Confirm",confirmTextClass:a="",cancelText:s="Cancel",cancelDataTest:l="Cancel",showCancel:c,showConfirm:d=!0,onConfirm:u,onCancel:p,onClose:m,footer:h,footerStyle:f,confirmButtonSize:g="md",cancelButtonSize:b="md",closed:y=!0,width:w=400,height:x=200,contentHeight:S,centered:T,isHtml:M,esc:I=!0,mask:A=!0,confirmButtonType:D="primary",cancelButtonType:E="default",confirmButtonDisable:N=!1,onKeyup:R,showAgain:v=!1,againMessage:k,onShowAgain:P,defaultShowAgain:O,needChangeConfirmStatus:_=!1,btnAntiShake:j=!1})=>{let B=async()=>{await le.destroy(t)},V=()=>{m?m():B()},G=({content:Q,icon:H,contentHeight:q})=>{let{locals:U}=abt.default,F=be.bind(U),K=J(),te=document.getElementById(t),[ae,pe]=(0,QK.useState)(""),[Z,ee]=(0,QK.useState)(N),[ce,ne]=(0,QK.useState)(O);(0,nbt.useEffect)(()=>{ee(N)},[N]);let oe=async()=>{await le.destroy(t)},re=async()=>{j&&ee(!0);let X={id:t,closeDialog:!0,closeDlg:le.destroy.bind(null,t)};typeof u=="string"?X=(await C.messageBus.rpcCall(u,X)).message:typeof u=="function"&&await u(X),X.closeDialog&&oe(),ee(!1)};Bt(({code:X})=>{X==="Escape"&&m&&m(),X==="Enter"&&re()}).keyboard(t),(0,nbt.useEffect)(()=>{M&&me.update(void 0,te)},[ae]),(0,QK.useLayoutEffect)(()=>{M&&pe(Q)},[]);let Y=()=>(0,jg.jsxs)(jg.Fragment,{children:[v&&!h&&(0,jg.jsx)("div",{style:{flex:1,height:"28px",lineHeight:"28px"},children:(0,jg.jsx)(qt,{children:k||me.i18n("Don't show again"),defaultChecked:O,checked:ce,onChange:X=>{P&&P(X),ne(X),_&&ee(!X)}})}),d&&!h&&(0,jg.jsx)(Me,{type:D,size:g,class:a,dataTest:n,disabled:Z,onClick:re,children:r}),c&&!h&&(0,jg.jsx)(Me,{size:b,dataTest:l,onClick:async()=>{p&&await p(t),oe()},type:E,children:s}),h]});return(0,jg.jsxs)(jg.Fragment,{children:[(0,jg.jsx)("style",{children:String(abt.default)}),(0,jg.jsxs)("div",{className:F("lc-tips-modal"),children:[(0,jg.jsxs)("div",{style:{position:"relative",overflow:"auto",height:"100%"},children:[H!=="none"&&(0,jg.jsx)("div",{className:F(`messager-icon messager-${H}`)}),(0,jg.jsx)("div",{className:F("lc-tips-modal-content-body"),style:{paddingLeft:H!=="none"?"25px":void 0,height:`${q}px`},children:M?(0,jg.jsx)("div",{dangerouslySetInnerHTML:{__html:ae}}):(0,jg.jsx)("div",{children:QK.default.isValidElement(Q)?Q:(0,jg.jsx)("span",{children:K(Q)})})})]}),(0,jg.jsx)("div",{className:F("lc-tips-modal-footer"),style:f,children:(0,jg.jsx)(Y,{})})]})]})};return le.open({id:t,title:e,width:w,height:x,closed:y,onClose:V,esc:I,mask:A,centered:T,children:(0,jg.jsx)(G,{content:i,icon:o,contentHeight:S}),onKeyup:R}),t},Dt=Csr;var BE=L(Vi());var Wli="Don't show again",Qli="Show the current version is later than the updated version of the update",Kli="Show updates to public library",f9e=["All","Symbol","Footprint","Device"],Zli=["strikeout"],Jli="dxdOrigin",sbt="dxdOrigin_updated";var yS={S:"S",F:"F",P:"P",VIEW3D:"3D"},EU={BelongPublicLib:"include those belonging to the public library",curLaterThanUpdated:"include the current version is later than the updated version",operateCarefully:"Please operate carefully",contentToUpdate:"The contents to be updated"};async function qli(t=!0){t&&await C.messageBus.rpcCall(Pd.PUBLIC.FORCE),await C.messageBus.rpcCall(Pd.PUBLIC.UPDATE_TEAM);let e=(await C.messageBus.rpcCall(Pd.SYMBOL.GET)).message.result||{};e=lbt(e);let i=Object.keys(e).length,o=(await C.messageBus.rpcCall(Pd.FOOTPRINT.GET)).message.result||{};o=lbt(o);let r=Object.keys(o).length,n=(await C.messageBus.rpcCall(Pd.DEVICE.GET)).message.result||{};n=lbt(n);let a=Object.keys(n).length;return{canUpdate:!(i<=0&&r<=0&&a<=0),data:{symbol:e,footprint:o,device:n}}}function lbt(t){let e={};for(let i in t)t[i].source.includes("|")&&(e[i]=t[i]);return e}function Xli({symbol:t,device:e,footprint:i}){let o=[],r=[],n=[],a=[];for(let l in e){let c=e[l],d=ue.formatDate2(+c.version*1e3),u=ue.formatDate2(+c.updateTime*1e3),p={disableChecked:c.docType===se.BLOCK_SYMBOL,name:c.display_title,type:"Device",currentVersion:d,updateVersion:u,owner:c.owner?c.owner.nickname:"",docType:c.docType,value:c.uuid,id:c.uuid,source:c.source,updateTime:c.updateTime,uuid:c.uuid,version:c.version,isPublic:c.isPublic,isLaterCurVersion:c.isLaterCurVersion,tags:c.tags};c.isPublic&&c.isLaterCurVersion?o.push(p):c.isPublic?n.push(p):c.isLaterCurVersion?r.push(p):a.push(p)}for(let l in t){let c=t[l],d=[Jli,sbt].includes(c.version)?c.version:ue.formatDate2(+c.version*1e3),u=c.updateTime===sbt?c.updateTime:ue.formatDate2(+c.updateTime*1e3),p={disableChecked:c.docType===se.BLOCK_SYMBOL,name:c.display_title,type:"Symbol",currentVersion:d,updateVersion:u,owner:c.owner?c.owner.nickname:"",value:c.uuid,id:c.uuid,isPublic:c.isPublic,isLaterCurVersion:c.isLaterCurVersion,docType:c.docType,source:c.source,updateTime:c.updateTime,uuid:c.uuid,version:c.version,tags:c.tags};c.isPublic&&c.isLaterCurVersion?o.push(p):c.isPublic?n.push(p):c.isLaterCurVersion?r.push(p):a.push(p)}for(let l in i){let c=i[l],d=ue.formatDate2(+c.version*1e3),u=ue.formatDate2(+c.updateTime*1e3),p={disableChecked:c.docType===se.BLOCK_SYMBOL,name:c.display_title,type:"Footprint",currentVersion:d,updateVersion:u,owner:c.owner?c.owner.nickname:"",value:c.uuid,id:c.uuid,uuid:c.uuid,isPublic:c.isPublic,isLaterCurVersion:c.isLaterCurVersion,docType:c.docType,source:c.source,updateTime:c.updateTime,version:c.version,tags:c.tags};c.isPublic&&c.isLaterCurVersion?o.push(p):c.isPublic?n.push(p):c.isLaterCurVersion?r.push(p):a.push(p)}let s=o.concat(n,r,a);return s.sort((l,c)=>ue.naturalSortComparator(ue.naturalSortSplitor(l.name),ue.naturalSortSplitor(c.name))),s.filter(l=>l.docType!==se.BLOCK_SYMBOL)}var g9e={type:function(t,e){return e==="All"?t:t.filter(i=>i.type===e)},name:function(t,e){let i="[\\^$.|?*+()",o="";for(let n=0;n<e.length;n++){let a=e[n];i.includes(a)?o+="\\"+a:o+=a}let r=new RegExp(o,"i");return e?t.filter(n=>r.test(n.name)):t},isShowByUpdateTime:function(t,{isShowPublicLibUpdate:e,isShowLaterCurVersion:i}){return e&&i?t.concat():e?Je?t.filter(o=>!o.isLaterCurVersion):t.filter(o=>!(o.isLaterCurVersion&&!o.isPublic)):i?t.filter(o=>!(o.isPublic&&!o.isLaterCurVersion)):t.filter(o=>!(o.isPublic||o.isLaterCurVersion))}};function $li(t,{isShowPublicLibUpdate:e,isShowLaterCurVersion:i,name:o,type:r}){let n=t,a=g9e.isShowByUpdateTime(t,{isShowLaterCurVersion:i,isShowPublicLibUpdate:e});return a=g9e.name(a,o),a=g9e.type(a,r),a}function pbt(t,e){let i=g9e.isShowByUpdateTime(t,e),o=Object();return i.forEach(r=>{r.docType!==se.BLOCK_SYMBOL&&(o[r.uuid]=r)}),o}function Uue(t){if(t){if(typeof t=="string")return JSON.parse(t).join(":");{let e="";return t.parent_tag&&t.parent_tag.name&&(e+=t.parent_tag.name),t.child_tag&&t.child_tag.name&&(e+=`:${t.child_tag.name}`),e}}}function cbt(t){if(!t)return;let e="";return t.parent_tag&&t.parent_tag.name_cn&&(e+=t.parent_tag.name_cn),t.child_tag&&t.child_tag.name_cn&&(e+=`:${t.child_tag.name_cn}`),e}function dbt(t){me.ext({"zh-hans":t})}function xsr(t,e,i){switch(t){case"strikeout":if(!!e!=!!i)return!1;break}return!0}function eci(t,e){for(let i in e)if(i in t)if(Object.prototype.toString.call(e[i])==="[object Object]")if(eci(t[i],e[i]))delete t[i];else return!1;else if(Zli.includes(i)){let o=xsr(i,t[i],e[i]);return o&&delete t[i],o}else{if(JSON.stringify(t[i])!==JSON.stringify(e[i]))return!1;delete t[i]}else return!1;return JSON.stringify(t)==="{}"}async function tci(t={},e={}){var a,s;let i=[],o=[],r={},n={};return t.shapes instanceof Map?((a=t.shapes)==null||a.forEach((l,c)=>{let d=Cs(r,c);l.forEach(u=>d[u.id]=u.attributes)}),(s=e.shapes)==null||s.forEach((l,c)=>{let d=Cs(n,c);l.forEach(u=>d[u.id]=u.attributes)})):(r=ue.deepClone(t.shapes||{}),n=ue.deepClone(e.shapes||{})),it(n,(l,c)=>{it(c,(d,u)=>{let p=(r[l]||{})[d];if(p){let m=!0;m=eci(p,u),!m&&o.push(d)&&i.push(d),delete r[l][d]}else o.push(d)}),i=r[l]&&i.concat(Object.keys(r[l]))||i}),it(r,(l,c)=>{i=r[l]&&i.concat(Object.keys(r[l]))||i}),[i,o]}var NCe={Symbol:{async getCompareData(t){let{message:e}=await C.messageBus.rpcCall($e.SYMBOL.GET,[t,C.currentProject.projectId]),[i,o]=e.source.split("|"),n=await Ze.getSymbol({path:o,isProject:o===C.currentProject.projectId,uuid:i});return await C.messageBus.rpcCall("Decompress",{data:e,cb:a=>{e.jsonCache=a}}),await C.messageBus.rpcCall("Decompress",{data:n,cb:a=>{n.jsonCache=a}}),{curData:e,latestData:n}},getTableRows({curData:t,latestData:e}){let i=t.display_title===e.display_title,o=t.description===e.description,r=Uue(t.custom_tags||t.tags),n=Uue(e.tags),a=cbt(e.tags),s=r===n||r===a;a&&dbt({[n]:a});let l=[{property:"name",currentVersion:t.display_title,updateVersion:e.display_title,class:`${i?"":"redFont"}`,sortValue:i?1:0},{property:"Category",currentVersion:r,updateVersion:n,class:`${i?"":"redFont"}`,sortValue:s?1:0},{property:"description",currentVersion:t.description,updateVersion:e.description,class:`${o?"":"redFont"}`,sortValue:o?1:0}],[c,d]=[t,e].map(u=>{let p=u.jsonCache.activePart.getAttr()||[],m=Object();return it(p,(h,f)=>{["Symbol"].includes(f.key)||(m[f.key]={value:f.value,class:"redFont"})}),m});return it(d,(u,p)=>{c.hasOwnProperty(u)&&c[u].value===p.value?(c[u].class="",p.class=""):c.hasOwnProperty(u)||(c[u]={value:"",class:"redFont"}),l.splice(l.length-1,0,{property:u,currentVersion:c[u].value,updateVersion:p.value,class:p.class,sortValue:p.class==="redFont"?0:1}),delete c[u]}),it(c,(u,p)=>{l.splice(l.length-1,0,{property:u,currentVersion:p.value,updateVersion:"",class:"redFont",sortValue:0})}),l.sort((u,p)=>u.sortValue-p.sortValue),l},getMultiplePartIdList({curData:t,latestData:e}){let i=new Set,o=[t.jsonCache.parts,e.jsonCache.parts].map(r=>r.map(n=>(i.add(n.partId),{text:n.partTitle,value:n.partId,isNeedless:!1})));return o.forEach(r=>r.forEach(n=>{n.isNeedless=!i.has(n.value)})),o},async getViewerData({curData:t,latestData:e},{targetPartId:i}=ks){let o=t.jsonCache.parts,r=e.jsonCache.parts,n=i||(o[0]||r[0]).partId,a=o.findIndex(u=>u.partId===n);a=a>0?a:0,t.jsonCache.parts=o=o.filter(u=>u.partId===n),e.jsonCache.parts=r=r.filter(u=>u.partId===n);let[s,l]=await tci(o[0],r[0]),c=[{data:t,highlightAttrs:s},{data:e,highlightAttrs:l}],d=[];for(let{data:u,highlightAttrs:p}of c){let m=u.docType===se.PART&&!o.length,h={background:"",content:""};if(m)h.background="#e2e2e2";else{let f={...u};f.jsonCache=null,u.svgStr=(await C.messageBus.rpcCall("getPartSvgStr",{partIndex:a,component:f})).message,await Rf(u,{hightLightIds:p}).then(g=>{h.background=g.bg,h.content=g.src})}d.push(h)}return d}},Footprint:{async getCompareData(t){let{message:e}=await C.messageBus.rpcCall($e.FOOTPRINT.GET,[t,C.currentProject.projectId]),[i,o]=e.source.split("|"),n=await Ze.getFootprint({path:o,isProject:o===C.currentProject.projectId,uuid:i});return{curData:e,latestData:n}},async getTableRows({curData:t,latestData:e}){let i=t.display_title===e.display_title,o=t.description===e.description,r=Uue(t.custom_tags||t.tags),n=Uue(e.tags),a=cbt(e.tags);a&&dbt({[n]:a});let s=r===n||r===a,l=[{property:"name",currentVersion:t.display_title,updateVersion:e.display_title,class:`${i?"":"redFont"}`,sortValue:i?1:0},{property:"Category",currentVersion:r,updateVersion:n,class:`${s?"":"redFont"}`,sortValue:s?1:0},{property:"description",currentVersion:t.description,updateVersion:e.description,class:`${o?"":"redFont"}`,sortValue:o?1:0}];async function c(p){let m={},h=new ue.FootprintCompilerInstance(p.uuid,p.path,p.path===C.currentProject.projectId),f=new ue.FootprintCompilerAttr((g,b)=>{let{key:y,value:w}=b;["Footprint"].includes(y)||(m[y]={value:w,class:"redFont"})});return h.setHandler(f),await h.init(),h.destroy(),m}let d=await c(t),u=await c(e);return it(u,(p,m)=>{d.hasOwnProperty(p)&&d[p].value===m.value?(d[p].class="",m.class=""):d.hasOwnProperty(p)||(d[p]={value:"",class:"redFont"}),l.splice(l.length-1,0,{property:p,currentVersion:d[p].value,updateVersion:m.value,class:{current:d[p].class,latest:m.class},sortValue:m.class==="redFont"?0:1}),delete d[p]}),it(d,(p,m)=>{l.splice(l.length-1,0,{property:p,currentVersion:m.value,updateVersion:"",class:"redFont",sortValue:0})}),l.sort((p,m)=>p.sortValue-m.sortValue),l},async getViewerData({curData:t,latestData:e}){async function i(s){let l=new ue.FootprintCompilerInstance(s.uuid,s.path,s.path===C.currentProject.projectId),c=new ue.FootprintCompilerAttr(null);return l.setHandler(c),await l.init(),l.destroy(),c.getSource()}let o=await i(t),r=await i(e),n=[],a=[];return it(r,(s,l)=>{o.hasOwnProperty(s)?(JSON.stringify(l)!==JSON.stringify(o[s])&&(n.push(s),a.push(s)),delete o[s]):a.push(s)}),it(o,s=>{n.push(s)}),{data:[t,e],highlightSymbolAttrs:[n,a]}}},Device:{async getCompareData(t){let{message:e}=await C.messageBus.rpcCall($e.DEVICE.GET,[t,C.currentProject.projectId]),i=(await C.messageBus.rpcCall(Pd.PUBLIC.GET,["device",e.source])).message;return i.success||console.warn(i.result),{curData:e,latestData:i.success?i.result:null}},async getTableRows({curData:t,latestData:e}){let i=t.display_title===e.display_title,o=t.description===e.description,r=Uue(t.custom_tags||t.tags),n=Uue(e.tags),a=cbt(e.tags);a&&dbt({[n]:a});let s=r===n||r===a,l=[{property:"name",currentVersion:t.display_title,updateVersion:e.display_title,class:`${i?"":"redFont"}`,sortValue:i?1:0},{property:"Category",currentVersion:r,updateVersion:n,class:`${s?"":"redFont"}`,sortValue:s?1:0},{property:"Description",currentVersion:t.description,updateVersion:e.description,class:`${o?"":"redFont"}`,sortValue:o?1:0}],c={},[d,u]=t.source.split("|");await Ro(t.attributes,async(m,h)=>{if(m==="Symbol"&&(h=(await C.messageBus.rpcCall($e.SYMBOL.GET_TITLE_BY_UUID,[h,C.currentProject.projectId])).message),m==="Footprint"&&(h=(await C.messageBus.rpcCall($e.FOOTPRINT.GET_TITLE_BY_UUID,[h,C.currentProject.projectId])).message),m!=="3D Model"&&m!=="3D Model Transform"&&m!=="Description"&&m!=="NGSpice Model"&&m!=="Sim Model"&&m!=="Sim Model Path"&&m!=="NGspice Model Path"){if(!h){delete c[m];return}c[m]={value:h,class:"redFont"}}});let p={};return await Ro(e.attributes,async(m,h)=>{if(m==="Symbol"&&h){let f=await Ze.getSymbol({path:u,isProject:u===C.currentProject.projectId,uuid:h});h=f==null?void 0:f.display_title}if(m==="Footprint"&&h){let f=await Ze.getFootprint({path:u,isProject:u===C.currentProject.projectId,uuid:h});h=f==null?void 0:f.display_title}if(!h&&!c[m]){delete c[m];return}m!=="3D Model"&&m!=="3D Model Transform"&&m!=="Description"&&m!=="NGSpice Model"&&m!=="Sim Model"&&m!=="Sim Model Path"&&m!=="NGspice Model Path"&&(p[m]={value:h,class:"redFont"})}),it(p,(m,h)=>{c.hasOwnProperty(m)&&c[m].value===h.value?(c[m].class="",h.class=""):c.hasOwnProperty(m)||(c[m]={value:"",class:"redFont"}),l.splice(l.length-1,0,{property:m,currentVersion:c[m].value,updateVersion:h.value,class:{current:c[m].class,latest:h.class},sortValue:h.class==="redFont"?0:1}),delete c[m]}),it(c,(m,h)=>{l.splice(l.length-1,0,{property:m,currentVersion:h.value,updateVersion:"",class:"redFont",sortValue:0})}),l.sort((m,h)=>m.sortValue-h.sortValue),l}}};async function ici(t,e){let i=t?t.attributes.Footprint:null,{message:o}=await C.messageBus.rpcCall($e.FOOTPRINT.GET,[i,C.currentProject.projectId]),r=e?e.attributes.Footprint:null,n;if(r===i)n=o;else if(r){let[a,s]=(t==null?void 0:t.source.split("|"))||[],l=await Ze.getFootprint({path:s,isProject:s===C.currentProject.projectId,uuid:r});l&&(n=l)}return{curFootprint:o,lastestFootprint:n}}async function oci(t,e){let{curSymbol:i,lastestSymbol:o}=await Tsr(t,e),r={...i},n={...o},a=[[],[]],s=[],l=Object(),c,d=[],u=[i,o];for(let m=0;m<u.length;m++){let h={partIdList:null,viewer:null};d.push(h);let f=u[m],g=f?f.jsonCache.parts.reduce((b,y)=>(Kr(c)&&(c=y.partId),b[y.partId]=y.partTitle,l[y.partId]=y.partTitle,b),Object()):Object();s.push(async()=>{h.partIdList=Object.entries(l).map(([w,x])=>({value:w,text:x,isNeedless:!g[w]})),f.jsonCache.parts=f.jsonCache.parts.filter(w=>w.partId===c);let b=f.jsonCache.parts.findIndex(w=>w.partId===c);b=b>0?b:0;let y={...f};y.jsonCache=null,f.svgStr=(await C.messageBus.rpcCall("getPartSvgStr",{component:y,partIndex:b})).message,h.viewer={background:"",content:""},await Rf(f,{hightLightIds:a[m]}).then(w=>{h.viewer.background=w.bg,h.viewer.content=w.src})})}let p=u.map(m=>m.jsonCache.parts.find(h=>h.partId===c));a=await tci(p[0],p[1]);for(let m of s)await m();return s=null,{data:d,correlative:{curData:r,latestData:n}}}async function Tsr(t,e){let i=t?t.attributes.Symbol:null,{message:o}=await C.messageBus.rpcCall($e.SYMBOL.GET,[i,C.currentProject.projectId]);o&&await C.messageBus.rpcCall("Decompress",{data:o,cb:a=>{o.jsonCache=a}});let r=e?e.attributes.Symbol:null,n;if(r===i)n=o;else if(r){let[a,s]=(t==null?void 0:t.source.split("|"))||[],l=await Ze.getSymbol({path:s,isProject:s===C.currentProject.projectId,uuid:r});l&&(n=l)}return n&&await C.messageBus.rpcCall("Decompress",{data:n,cb:a=>{n.jsonCache=a}}),{curSymbol:o,lastestSymbol:n}}function rci(t){return t.replace(/&/,"&amp;")}function nci(t){for(let e of t)if(e[0].isPublic)return!0;return!1}function aci(t){for(let e of t)if(e[0].isLaterCurVersion)return!0;return!1}var fF=L(Vi());var cci=L(Vi());var b9e={PlaceViaFence:{hotkey:"",hotkeyCmd:"PlaceViaFence"},variant_view_mode:{hotkey:"",funcE:"Variant View Mode",hotkeyCmd:"variant_view_mode"},enterGroup:{hotkey:"",funcE:"Enter Group"},removeFromGroup:{hotkey:"",funcE:"Remove From Group",hotkeyCmd:"removeFromGroup"},ref_designator_annotate:{hotkey:"",hotkeyCmd:"ref_designator_annotate"},pcb_design_rule:{hotkey:"",hotkeyCmd:"pcb_design_rule"},"opensubmenu-new":{hotkey:"N",hotkeyCmd:"opensubmenu-new"},"opensubmenu-booleanoperation":{funcE:"Boolean Operation",hotkey:""},"opensubmenu-drawpartition":{funcE:"Draw Partition",hotkey:""},"drawpartition(Rectangle)":{hotkey:"",hotkeyCmd:"drawpartition(Rectangle)"},"drawpartition(Circle)":{hotkey:"",hotkeyCmd:"drawpartition(Circle)"},"drawpartition(Polygon)":{hotkey:"",hotkeyCmd:"drawpartition(Polygon)"},OPEN_PARTITION_MANAGER:{hotkey:"",hotkeyCmd:"OPEN_PARTITION_MANAGER"},"opensubmenu-convertTo":{funcE:"Convert to",hotkey:""},newProject:{hotkey:"J",hotkeyCmd:"newProject"},repeat:{hotkey:"F4",funcE:"Repeat",hotkeyCmd:"repeat"},new_board:{hotkey:"",hotkeyCmd:"new_board"},new_schematic:{hotkey:"",hotkeyCmd:"new_schematic"},new_page:{hotkey:"S",hotkeyCmd:"new_page"},new_PCB:{hotkey:"P",hotkeyCmd:"new_PCB"},new_Panel:{hotkey:"",hotkeyCmd:"new_Panel"},new_device:{hotkey:"",hotkeyCmd:"new_device"},new_NetFlag:{hotkey:"",hotkeyCmd:"new_NetFlag"},new_NetPort:{hotkey:"",hotkeyCmd:"new_NetPort"},new_OffPageConnector:{hotkey:"",hotkeyCmd:"new_OffPageConnector"},new_Drawing:{hotkey:"",hotkeyCmd:"new_Drawing"},new_Non_Electronic:{hotkey:"",hotkeyCmd:"new_Non_Electronic"},new_schematicLib:{hotkey:"L",hotkeyCmd:"new_schematicLib"},new_footprint:{hotkey:"Y",hotkeyCmd:"new_footprint"},new_3D_model:{hotkey:"D",hotkeyCmd:"new_3D_model"},"partTree(newPart)":{hotkey:"",hotkeyCmd:"partTree(newPart)"},new_CBB:{hotkey:"",hotkeyCmd:"new_CBB"},open_create_panel_lib_dialog:{hotkey:"",hotkeyCmd:"open_create_panel_lib_dialog"},standard_edition_migration:{hotkey:"",hotkeyCmd:"standard_edition_migration"},openProject:{hotkey:"O",hotkeyCmd:"openProject"},file_save:{hotkey:"S",hotkeyCmd:"file_save"},save_all:{hotkey:"L",hotkeyCmd:"save_all"},"opensubmenu-saveas":{hotkey:"",hotkeyCmd:"opensubmenu-saveas"},projectSaveAsCloud:{hotkey:"Y",hotkeyCmd:"projectSaveAsCloud"},projectSaveAsLocal:{hotkey:"A",hotkeyCmd:"projectSaveAsLocal"},docSaveAsCloud:{hotkey:"",hotkeyCmd:"docSaveAsCloud"},docSaveAsLocal:{hotkey:"",hotkeyCmd:"docSaveAsLocal"},selectedBSSaveAsCloud:{hotkey:"",hotkeyCmd:"selectedBSSaveAsCloud"},selectedBSSaveAsLocal:{hotkey:"",hotkeyCmd:"selectedBSSaveAsLocal"},backup:{hotkey:"",hotkeyCmd:"backup"},switchVersion:{hotkey:"",hotkeyCmd:"switchVersion"},backup_project:{hotkey:"",hotkeyCmd:"backup_project"},historicalRecords:{hotkey:"",hotkeyCmd:"historicalRecords"},new_branch:{hotkey:"",hotkeyCmd:"new_branch"},new_node:{hotkey:"",hotkeyCmd:"new_node"},version_management:{hotkey:"",hotkeyCmd:"version_management"},cacheRecovery:{hotkey:"",hotkeyCmd:"cacheRecovery"},"opensubmenu-import":{hotkey:"I",hotkeyCmd:"opensubmenu-import"},importDXF:{hotkey:"",hotkeyCmd:"importDXF"},importSVG:{hotkey:"",hotkeyCmd:"importSVG"},insertImage:{hotkey:"G",hotkeyCmd:"insertImage"},"importFile(easyeda)":{hotkey:"",hotkeyCmd:"importFile(easyeda)"},file_open:{hotkey:"",hotkeyCmd:"importEDAPro"},"importFile(altium)":{hotkey:"",hotkeyCmd:"importFile(altium)"},"importFile(eagle)":{hotkey:"",hotkeyCmd:"importFile(eagle)"},"importFile(kicad)":{hotkey:"",hotkeyCmd:"importFile(kicad)"},"importFile(pads)":{hotkey:"",hotkeyCmd:"importFile(pads)"},"importFile(protel)":{hotkey:"",hotkeyCmd:"importFile(protel)"},"importFile(ltspice)":{hotkey:"",hotkeyCmd:"importFile(ltspice)"},importSes:{hotkey:"",hotkeyCmd:"importSes"},importNetlist:{hotkey:"",hotkeyCmd:"importNetlist"},printPDF:{hotkey:"P",hotkeyCmd:"printPDF"},closeProject:{hotkey:"X",hotkeyCmd:"closeProject"},"opensubmenu-recent":{hotkey:"R",hotkeyCmd:"opensubmenu-recent"},clearRecentList:{hotkey:"",hotkeyCmd:"clearRecentList"},recycleBin:{hotkey:"",hotkeyCmd:"recycleBin"},"source(easyEDA)":{hotkey:"",hotkeyCmd:"source(easyEDA)"},"sheet(toPrevious)":{hotkey:"",hotkeyCmd:"sheet(toPrevious)"},"sheet(toNext)":{hotkey:"",hotkeyCmd:"sheet(toNext)"},"sheet(toPreviousPart)":{hotkey:"",hotkeyCmd:"sheet(toPreviousPart)"},"sheet(toNextPart)":{hotkey:"",hotkeyCmd:"sheet(toNextPart)"},switchNextDoc:{hotkey:"",hotkeyCmd:"switchNextDoc"},switchPreDoc:{hotkey:"",hotkeyCmd:"switchPreDoc"},switchNextDocByNatural:{hotkey:"",hotkeyCmd:"switchNextDocByNatural"},switchPreDocByNatural:{hotkey:"",hotkeyCmd:"switchPreDocByNatural"},close_tab:{hotkey:"",hotkeyCmd:"close_tab"},close_other_tabs:{hotkey:"",funcE:"Close Other Tabs"},close_all_tabs:{hotkey:"",hotkeyCmd:"close_all_tabs"},undo:{hotkey:"",hotkeyCmd:"undo"},redo:{hotkey:"",hotkeyCmd:"redo"},cut:{hotkey:"T",hotkeyCmd:"cut"},copy:{hotkey:"C",hotkeyCmd:"copy"},paste:{hotkey:"P",hotkeyCmd:"paste"},pasteInPlace:{hotkey:"R",hotkeyCmd:"pasteInPlace"},cellPaste:{hotkey:"P",hotkeyCmd:"cellPaste"},cellCut:{hotkey:"T",hotkeyCmd:"cellCut"},cellCopy:{hotkey:"C",hotkeyCmd:"cellCopy"},"opensubmenu-duplicate":{hotkey:"",hotkeyCmd:"opensubmenu-duplicate"},"opensubmenu-duplicate-panel":{hotkey:"",hotkeyCmd:"opensubmenu-duplicate-panel"},specialPaste:{hotkey:"",hotkeyCmd:"specialPaste"},centerViewByCursor:{hotkey:"",hotkeyCmd:"centerViewByCursor"},duplicateToCursor:{hotkey:"",hotkeyCmd:"duplicateToCursor"},duplicatePaste:{hotkey:"",hotkeyCmd:"duplicatePaste"},duplicateToOtherLayer:{hotkey:"",hotkeyCmd:"duplicateToOtherLayer"},copySpecial:{hotkey:"",hotkeyCmd:"copySpecial"},copyToImage:{hotkey:"",hotkeyCmd:"copyToImage"},copyToSvg:{hotkey:"",hotkeyCmd:"copyToSvg"},copyToPng:{hotkey:"",hotkeyCmd:"copyToPng"},"opensubmenu-move":{hotkey:"M",hotkeyCmd:"opensubmenu-move"},MOVE_BY_CENTER_POINT:{hotkey:"",hotkeyCmd:"MOVE_BY_CENTER_POINT"},MOVE_BY_ORIGIN_POINT:{hotkey:"",hotkeyCmd:"MOVE_BY_ORIGIN_POINT"},MOVE_BY_REFERENCE_POINT:{hotkey:"",hotkeyCmd:"MOVE_BY_REFERENCE_POINT"},"opensubmenu-delete":{hotkey:"",hotkeyCmd:"opensubmenu-delete"},Delete:{hotkey:"",hotkeyCmd:"Delete"},"delete-target":{hotkey:"",hotkeyCmd:"delete-target"},"delete-all":{hotkey:"",hotkeyCmd:"delete-all"},"opensubmenu-selectobj":{hotkey:"S",hotkeyCmd:"opensubmenu-selectobj"},select_all:{hotkey:"A",hotkeyCmd:"select_all"},continuousSelection:{hotkey:"",hotkeyCmd:"continuousSelection"},rectangleOutside:{hotkey:"O",hotkeyCmd:"rectangleOutside"},rectangleInside:{hotkey:"I",hotkeyCmd:"rectangleInside"},polygonInside:{hotkey:"",hotkeyCmd:"polygonInside"},polygonOutside:{hotkey:"",hotkeyCmd:"polygonOutside"},lineTouched:{hotkey:"L",hotkeyCmd:"lineTouched"},connectedCopper:{hotkey:"P",hotkeyCmd:"connectedCopper"},editArray:{hotkey:"",hotkeyCmd:"editArray"},ADD_FILLET:{hotkey:"",hotkeyCmd:"ADD_FILLET"},ADD_CHAMFER:{hotkey:"",hotkeyCmd:"ADD_CHAMFER"},boolAggregate:{hotkey:"",hotkeyCmd:"boolAggregate"},boolSubtraction:{hotkey:"",hotkeyCmd:"boolSubtraction"},boolIntersection:{hotkey:"",hotkeyCmd:"boolIntersection"},boolExclusive:{hotkey:"",hotkeyCmd:"boolExclusive"},boolSplit:{hotkey:"",hotkeyCmd:"boolSplit"},findObjects:{hotkey:"F",hotkeyCmd:"findObjects"},findSimilar:{hotkey:"N",hotkeyCmd:"findSimilar"},unlockAll:{hotkey:"",hotkeyCmd:"unlockAll"},Preview2D:{hotkey:"",hotkeyCmd:"Preview2D"},Preview3D:{hotkey:"",hotkeyCmd:"Preview3D"},Preview3DInNewWindow:{hotkey:"",hotkeyCmd:"Preview3DInNewWindow"},"zoom(in)":{hotkey:"I",hotkeyCmd:"zoom(in)"},"zoom(out)":{hotkey:"O",hotkeyCmd:"zoom(out)"},fitview:{hotkey:"F",hotkeyCmd:"fitview"},adaptSelectionView:{hotkey:"E",hotkeyCmd:"adaptSelectionView"},adaptAreaSelectionView:{hotkey:"A",hotkeyCmd:"adaptAreaSelectionView"},fitBoard:{hotkey:"",hotkeyCmd:"fitBoard"},full_screen:{hotkey:"",hotkeyCmd:"full_screen"},"switchView(normal)":{hotkey:"",hotkeyCmd:"switchView(normal)"},"switchView(outline)":{hotkey:"",hotkeyCmd:"switchView(outline)"},"brightness(0)":{hotkey:"",hotkeyCmd:"brightness(0)"},"brightness(1)":{hotkey:"",hotkeyCmd:"brightness(1)"},"brightness(2)":{hotkey:"",hotkeyCmd:"brightness(2)"},"Flip Board":{hotkey:"",hotkeyCmd:"Flip Board"},Unit:{hotkey:"",hotkeyCmd:"Unit"},"opensubmenu-gridsize-pcb":{hotkey:"G",hotkeyCmd:"opensubmenu-gridsize-pcb"},"opensubmenu-gridsize":{hotkey:"G",hotkeyCmd:"opensubmenu-gridsize"},"switchGridSizeBtn(size_0.1)":{hotkey:"",hotkeyCmd:"switchGridSizeBtn(size_0.1)"},"switchGridSizeBtn(size_0.05)":{hotkey:"",hotkeyCmd:"switchGridSizeBtn(size_0.05)"},"switchGridSizeBtn(size_0.01)":{hotkey:"",hotkeyCmd:"switchGridSizeBtn(size_0.01)"},"switchGridSizeBtn(size_1)":{hotkey:"",hotkeyCmd:"switchGridSizeBtn(size_1)"},"switchGridSizeBtn(size_0.5)":{hotkey:"",hotkeyCmd:"switchGridSizeBtn(size_0.5)"},"opensubmenu-snapsize":{hotkey:"",hotkeyCmd:"opensubmenu-snapsize"},gridSnapKeepRatio:{hotkey:"",hotkeyCmd:"gridSnapKeepRatio"},setGridSize:{hotkey:"",hotkeyCmd:"setGridSize"},setGridRange:{hotkey:"",hotkeyCmd:"setGridRange"},"opensubmenu-gridtype-pcb":{hotkey:"",hotkeyCmd:"opensubmenu-gridtype-pcb"},"opensubmenu-gridtype":{hotkey:"",hotkeyCmd:"opensubmenu-gridtype"},"switchGridType(outlets)":{hotkey:"",hotkeyCmd:"switchGridType(outlets)"},"switchGridType(grid)":{hotkey:"",hotkeyCmd:"switchGridType(grid)"},"switchGridType(none)":{hotkey:"",hotkeyCmd:"switchGridType(none)"},"opensubmenu-ratline":{hotkey:"",hotkeyCmd:"opensubmenu-ratline"},showOrHideSelectedObjRatline:{hotkey:"",hotkeyCmd:"showOrHideSelectedObjRatline"},hideSelectedComponentRatline:{hotkey:"",hotkeyCmd:"hideSelectedComponentRatline"},hideAllRatline:{hotkey:"",hotkeyCmd:"hideAllRatline"},showSelectedComponentRatline:{hotkey:"",hotkeyCmd:"showSelectedComponentRatline"},showAllRatline:{hotkey:"",hotkeyCmd:"showAllRatline"},"opensubmenu-highlight-pcb":{hotkey:"",hotkeyCmd:"opensubmenu-highlight-pcb"},"opensubmenu-highlight-sch":{hotkey:"",hotkeyCmd:"opensubmenu-highlight-sch"},highlightConnectedsByWire:{hotkey:"",hotkeyCmd:"highlightConnectedsByWire"},HIGHLIGHT_COMPONENT:{hotkey:"",hotkeyCmd:"HIGHLIGHT_COMPONENT"},HIGHLIGHT_SELECTED_OBJECTS:{hotkey:"",hotkeyCmd:"HIGHLIGHT_SELECTED_OBJECTS"},UnhighlightSelectedObjects:{hotkey:"",hotkeyCmd:"UnhighlightSelectedObjects"},INCREASE_BRIGHTNESS:{hotkey:"",hotkeyCmd:"INCREASE_BRIGHTNESS"},DECREASE_BRIGHTNESS:{hotkey:"",hotkeyCmd:"DECREASE_BRIGHTNESS"},HIGHLIGHT_CANCEL_COMPONENT:{hotkey:"",hotkeyCmd:"HIGHLIGHT_CANCEL_COMPONENT"},HIGHLIGHT_CANCEL_SELECTED_OBJECTS:{hotkey:"",hotkeyCmd:"HIGHLIGHT_CANCEL_SELECTED_OBJECTS"},scrollLeft:{hotkey:"",hotkeyCmd:"scrollLeft"},scrollRight:{hotkey:"",hotkeyCmd:"scrollRight"},scrollUp:{hotkey:"",hotkeyCmd:"scrollUp"},scrollDown:{hotkey:"",hotkeyCmd:"scrollDown"},showOrHideNumberOrNetName:{hotkey:"",hotkeyCmd:"showOrHideNumberOrNetName"},SwitchLayerBrightness:{hotkey:"",hotkeyCmd:"SwitchLayerBrightness"},"toolbar_toggle(topbar)":{hotkey:"",hotkeyCmd:"toolbar_toggle(topbar)"},"toolbar_toggle(leftbar)":{hotkey:"",hotkeyCmd:"toolbar_toggle(leftbar)"},"toolbar_toggle(rightbar)":{hotkey:"",hotkeyCmd:"toolbar_toggle(rightbar)"},operateBottomPanel:{hotkey:"",hotkeyCmd:"operateBottomPanel"},editTag:{hotkey:"",hotkeyCmd:"editTag"},refresh:{hotkey:"",hotkeyCmd:"refresh"},open_in_new_window:{hotkey:"",hotkeyCmd:"open_in_new_window"},clone:{hotkey:"",hotkeyCmd:"clone"},modifyFile:{hotkey:"",hotkeyCmd:"modifyFile"},leftTreeMenu_open_selected:{hotkey:"",funcE:"Open Selected"},leftTreeMenu_open_all:{hotkey:"",funcE:"Open All"},leftTreeMenu_open:{hotkey:"",funcE:"Open"},leftTreeMenu_set_as_root:{hotkey:"",funcE:"Set as an existing board"},leftTreeMenu_set_as_new_Board:{hotkey:"",funcE:"Set as New Board"},leftTreeMenu_remove_from_board:{hotkey:"",funcE:"Remove from Board"},leftTreeMenu_generate_update_block_symbol:{hotkey:"",funcE:"Generate/Update Block Symbol"},leftTreeMenu_place_block_symbol:{hotkey:"",funcE:"Place Block Symbol"},leftTreeMenu_place_block:{hotkey:"",funcE:"Place Block"},leftTreeMenu_move_up:{hotkey:"",funcE:"Move Up"},leftTreeMenu_move_down:{hotkey:"",funcE:"Move Down"},leftTreeMenu_expand_lower:{hotkey:"",funcE:"Expand All"},leftTreeMenu_collapse_lower:{hotkey:"",funcE:"Collapse All"},leftTreeMenu_globalHighlightNetSelected:{hotkey:"",funcE:"Highlight Net"},leftTreeMenu_globalUnhighlightNetSelected:{hotkey:"",funcE:"Unhighlight Net"},leftTreeMenu_copyLeftTree:{hotkey:"",funcE:"Copy"},leftTreeMenu_pasteLeftTree:{hotkey:"",funcE:"Paste"},leftTreeMenu_deleteFile:{hotkey:"",funcE:"Delete"},leftTreeMenu_saveAsCloud:{hotkey:"",funcE:"Document Save as"},leftTreeMenu_cbb_saveAsCloud:{hotkey:"",funcE:"Block Symbol save as..."},leftTreeMenu_saveAsLocal:{hotkey:"",funcE:"Document Save as (Local)"},leftTreeMenu_cbb_saveAsLocal:{hotkey:"",funcE:"Block Symbol Save as(Local)..."},leftTreeMenu_saveAsLocalZip:{hotkey:"",funcE:"Document Save as (.epro)..."},leftTreeMenu_batchReName:{hotkey:"",funcE:"Batch Rename"},leftTreeMenu_clear_designator:{hotkey:"",funcE:"Clear Designator"},leftTreeMenu_properties:{hotkey:"",funcE:"Properties"},leftTreeMenu_open_in_workspace:{hotkey:"",funcE:"Open in Workspace"},leftTreeMenu_project_manager:{hotkey:"",funcE:"Project Management"},leftTreeMenu_version_manager_container:{hotkey:"",funcE:"Version Management"},leftTreeMenu_new_version:{hotkey:"",funcE:"New Version"},leftTreeMenu_switch_version:{hotkey:"",funcE:"Version Management"},leftTreeMenu_version_manager:{hotkey:"",funcE:"Version Management"},leftTreeMenu_new_branch:{hotkey:"",funcE:"New Branch"},leftTreeMenu_new_node:{hotkey:"",funcE:"New Node"},leftTreeMenu_version_management:{hotkey:"",funcE:"Version Management"},leftTreeMenu_view_schema:{hotkey:"",funcE:"View Schema"},leftTreeMenu_edit:{hotkey:"",funcE:"Edit"},leftTreeMenu_member:{hotkey:"",funcE:"Member"},leftTreeMenu_attachment:{hotkey:"",funcE:"Attachment"},leftTreeMenu_transfer:{hotkey:"",funcE:"Transfer"},leftTreeMenu_share:{hotkey:"",funcE:"Share"},leftTreeMenu_view_homePage:{hotkey:"",funcE:"View Homepage"},leftTreeMenu_unlock:{hotkey:"",funcE:"Unlock"},leftTreeMenu_lock:{hotkey:"",funcE:"Lock"},leftTreeMenu_delete_project:{hotkey:"",funcE:"Delete"},leftTreeMenu_quit_project:{hotkey:"",funcE:"Quit"},placeDevice:{hotkey:"P",hotkeyCmd:"placeDevice"},"opensubmenu-shortcutDevice":{hotkey:"F",hotkeyCmd:"opensubmenu-shortcutDevice"},"place_shortcut_device(resistor)":{hotkey:"R",hotkeyCmd:"place_shortcut_device(resistor)"},"place_shortcut_device(capacitor)":{hotkey:"C",hotkeyCmd:"place_shortcut_device(capacitor)"},"place_shortcut_device(inductor)":{hotkey:"I",hotkeyCmd:"place_shortcut_device(inductor)"},"place_shortcut_device(diode)":{hotkey:"D",hotkeyCmd:"place_shortcut_device(diode)"},"place_shortcut_device(test_point)":{hotkey:"T",hotkeyCmd:"place_shortcut_device(test_point)"},"place_part(line_pins)":{hotkey:"",hotkeyCmd:"place_part(line_pins)"},"place_part(rect_pins)":{hotkey:"",hotkeyCmd:"place_part(rect_pins)"},"draw(wire)":{hotkey:"W",hotkeyCmd:"draw(wire)"},"draw(bus)":{hotkey:"B",hotkeyCmd:"draw(bus)"},"place_part(netlabel)":{hotkey:"N",hotkeyCmd:"place_part(netlabel)"},"place_special_part(short_symbol)":{hotkey:"D",hotkeyCmd:"place_special_part(short_symbol)"},"opensubmenu-netflag":{hotkey:"O",hotkeyCmd:"opensubmenu-netflag"},"place_special_part(netflag_VCC)":{hotkey:"V",hotkeyCmd:"place_special_part(netflag_VCC)"},"place_special_part(netflag_5V)":{hotkey:"",hotkeyCmd:"place_special_part(netflag_5V)"},"place_special_part(netflag_gnD)":{hotkey:"G",hotkeyCmd:"place_special_part(netflag_gnD)"},"place_special_part(netflag_GNd)":{hotkey:"A",hotkeyCmd:"place_special_part(netflag_GNd)"},"place_special_part(netflag_gNd)":{hotkey:"P",hotkeyCmd:"place_special_part(netflag_gNd)"},"opensubmenu-netPort":{hotkey:"I",hotkeyCmd:"opensubmenu-netPort"},"place_special_part(netport_IN)":{hotkey:"I",hotkeyCmd:"place_special_part(netport_IN)"},"place_special_part(netport_OUT)":{hotkey:"O",hotkeyCmd:"place_special_part(netport_OUT)"},"place_special_part(netport_BI)":{hotkey:"B",hotkeyCmd:"place_special_part(netport_BI)"},"opensubmenu-offPageConnector":{hotkey:"V",hotkeyCmd:"opensubmenu-offPageConnector"},"place_special_part(offPageConnector_IN)":{hotkey:"I",hotkeyCmd:"place_special_part(offPageConnector_IN)"},"place_special_part(offPageConnector_OUT)":{hotkey:"O",hotkeyCmd:"place_special_part(offPageConnector_OUT)"},"place_special_part(offPageConnector_BI)":{hotkey:"B",hotkeyCmd:"place_special_part(offPageConnector_BI)"},"place_part(noconnect)":{hotkey:"C",hotkeyCmd:"place_part(noconnect)"},"place_part(junction)":{hotkey:"J",hotkeyCmd:"place_part(junction)"},"place_part(diffPairsFlag)":{hotkey:"F",hotkeyCmd:"place_part(diffPairsFlag)"},"draw(block)":{hotkey:"S",hotkeyCmd:"draw(block)"},"draw(pen)":{hotkey:"P",hotkeyCmd:"draw(pen)"},"opensubmenu-drawline":{hotkey:"L",hotkeyCmd:"opensubmenu-drawline"},"opensubmenu-panel-arc":{hotkey:"A",hotkeyCmd:"opensubmenu-panel-arc"},"opensubmenu-auxiliary":{hotkey:"A",hotkeyCmd:"opensubmenu-auxiliary"},"opensubmenu-placepin":{hotkey:"P",hotkeyCmd:"opensubmenu-placepin"},"place_part(pin)":{hotkey:"",hotkeyCmd:"place_part(pin)"},"draw(arc)":{hotkey:"A",hotkeyCmd:"draw(arc)"},"draw(bezier)":{hotkey:"Z",hotkeyCmd:"draw(bezier)"},"draw(rect)":{hotkey:"R",hotkeyCmd:"draw(rect)"},"draw(circle)":{hotkey:"U",hotkeyCmd:"draw(circle)"},"draw(ellipse)":{hotkey:"E",hotkeyCmd:"draw(ellipse)"},"draw(polyline)":{hotkey:"L",hotkeyCmd:"draw(polyline)"},"draw(maskRegion)":{hotkey:"",hotkeyCmd:"draw(maskRegion)"},openSetComponentMaskDialog:{hotkey:"",hotkeyCmd:"openSetComponentMaskDialog"},showTextDialog:{hotkey:"T",hotkeyCmd:"showTextDialog"},"opensubmenu-testPad":{hotkey:"",hotkeyCmd:"opensubmenu-testPad"},"place_part(testPad)":{hotkey:"",hotkeyCmd:"place_part(testPad)"},"place_part(autoTestPad)":{hotkey:"",hotkeyCmd:"place_part(autoTestPad)"},showTextDialog_pcb:{hotkey:"",hotkeyCmd:"showTextDialog_pcb"},PlaceVia:{hotkey:"V",hotkeyCmd:"PlaceVia"},"draw(rectSutureVia)":{hotkey:"",hotkeyCmd:"draw(rectSutureVia)"},"opensubmenu-suturevias":{hotkey:"",hotkeyCmd:"opensubmenu-suturevias"},"draw(polygonSutureVia)":{hotkey:"",hotkeyCmd:"draw(polygonSutureVia)"},"draw(lineSutureVia)":{hotkey:"",hotkeyCmd:"draw(lineSutureVia)"},"opensubmenu-pad":{hotkey:"P",hotkeyCmd:"opensubmenu-pad"},PlaceSinglePad:{hotkey:"P",hotkeyCmd:"PlaceSinglePad"},"place_part(line_pads)":{hotkey:"",hotkeyCmd:"place_part(line_pads)"},"place_part(rect_pads)":{hotkey:"",hotkeyCmd:"place_part(rect_pads)"},"opensubmenu-boardoutline":{hotkey:"",hotkeyCmd:"opensubmenu-boardoutline"},"draw(ROutline)":{hotkey:"",hotkeyCmd:"draw(ROutline)"},"draw(POutline)":{hotkey:"",hotkeyCmd:"draw(POutline)"},"draw(COutline)":{hotkey:"",hotkeyCmd:"draw(COutline)"},"draw(RCopper)":{hotkey:"",hotkeyCmd:"draw(RCopper)"},copperRegion:{hotkey:"",hotkeyCmd:"copperRegion"},"draw(CCopper)":{hotkey:"",hotkeyCmd:"draw(CCopper)"},fillRegion:{hotkey:"",hotkeyCmd:"fillRegion"},"draw(RRegion)":{hotkey:"",hotkeyCmd:"draw(RRegion)"},"draw(PRegion)":{hotkey:"",hotkeyCmd:"draw(PRegion)"},"draw(CRegion)":{hotkey:"",hotkeyCmd:"draw(CRegion)"},"opensubmenu-fpcStiffener":{hotkey:"",hotkeyCmd:"opensubmenu-fpcStiffener"},"draw(RectFPCStiffener)":{hotkey:"",hotkeyCmd:"draw(RectFPCStiffener)"},"draw(CirFPCStiffener)":{hotkey:"",hotkeyCmd:"draw(CirFPCStiffener)"},"draw(PolyFPCStiffener)":{hotkey:"",hotkeyCmd:"draw(PolyFPCStiffener)"},"draw(RSlot)":{hotkey:"",hotkeyCmd:"draw(RSlot)"},"opensubmenu-slotRegion":{hotkey:"",hotkeyCmd:"opensubmenu-slotRegion"},"draw(PSlot)":{hotkey:"",hotkeyCmd:"draw(PSlot)"},"draw(CSlot)":{hotkey:"",hotkeyCmd:"draw(CSlot)"},"draw(RProhibit)":{hotkey:"",hotkeyCmd:"draw(RProhibit)"},prohibitedRegion:{hotkey:"",hotkeyCmd:"prohibitedRegion"},"draw(PProhibit)":{hotkey:"",hotkeyCmd:"draw(PProhibit)"},"draw(CProhibit)":{hotkey:"",hotkeyCmd:"draw(CProhibit)"},groupSelected:{hotkey:"",hotkeyCmd:"groupSelected"},ungroupSelected:{hotkey:"",hotkeyCmd:"ungroupSelected"},setOriginByCoordinate:{hotkey:"",hotkeyCmd:"setOriginByCoordinate"},setOriginByFirstPin:{hotkey:"",hotkeyCmd:"setOriginByFirstPin"},placeOriginPad:{hotkey:"",hotkeyCmd:"placeOriginPad"},"opensubmenu-canvasOrigin":{hotkey:"",hotkeyCmd:"opensubmenu-canvasOrigin"},"draw(origin)":{hotkey:"",hotkeyCmd:"draw(origin)"},setOriginByCenter:{hotkey:"",hotkeyCmd:"setOriginByCenter"},placeOriginCenter:{hotkey:"",hotkeyCmd:"placeOriginCenter"},"draw(arcCenter)":{hotkey:"",hotkeyCmd:"draw(arcCenter)"},"draw(arc2)":{hotkey:"",hotkeyCmd:"draw(arc2)"},"opensubmenu-dimension":{hotkey:"D",hotkeyCmd:"opensubmenu-dimension"},"draw(dimension)":{hotkey:"",hotkeyCmd:"draw(dimension)"},"draw(protractor)":{hotkey:"A",hotkeyCmd:"draw(protractor)"},"draw(radius)":{hotkey:"",hotkeyCmd:"draw(radius)"},"draw(PCopper)":{hotkey:"",hotkeyCmd:"draw(PCopper)"},editTable:{hotkey:"",hotkeyCmd:"editTable"},"place_part(stack_table)":{hotkey:"",hotkeyCmd:"place_part(stack_table)"},"place_part(drill_table)":{hotkey:"",hotkeyCmd:"place_part(drill_table)"},"opensunmenu-3dShellOutline":{hotkey:"",hotkeyCmd:"opensunmenu-3dShellOutline"},"draw(R3dShellOutline)":{hotkey:"",hotkeyCmd:"draw(R3dShellOutline)"},"draw(C3dShellOutline)":{hotkey:"",hotkeyCmd:"draw(C3dShellOutline)"},"draw(P3dShellOutline)":{hotkey:"",hotkeyCmd:"draw(P3dShellOutline)"},"place_part(3dShellScrewPillar)":{hotkey:"",hotkeyCmd:"place_part(3dShellScrewPillar)"},"draw(3dShellSideSlotDatumLine)":{hotkey:"",hotkeyCmd:"draw(3dShellSideSlotDatumLine)"},"opensubmenu-3DShellSideSlotRegion":{hotkey:"",hotkeyCmd:"opensubmenu-3DShellSideSlotRegion"},"draw(R3dShellSideSlotRegion)":{hotkey:"",hotkeyCmd:"draw(R3dShellSideSlotRegion)"},"draw(C3dShellSideSlotRegion)":{hotkey:"",hotkeyCmd:"draw(C3dShellSideSlotRegion)"},"draw(P3dShellSideSlotRegion)":{hotkey:"",hotkeyCmd:"draw(P3dShellSideSlotRegion)"},"opensubmenu-3DShell-Top_Bottom-SlotRegion":{hotkey:"",hotkeyCmd:"opensubmenu-3DShell-Top_Bottom-SlotRegion"},"draw(R3dShellTopSlotRegion)":{hotkey:"",hotkeyCmd:"draw(R3dShellTopSlotRegion)"},"draw(C3dShellTopSlotRegion)":{hotkey:"",hotkeyCmd:"draw(C3dShellTopSlotRegion)"},"draw(P3dShellTopSlotRegion)":{hotkey:"",hotkeyCmd:"draw(P3dShellTopSlotRegion)"},"draw(R3dShellSideEntity)":{hotkey:"",hotkeyCmd:"draw(R3dShellSideEntity)"},"opensubmenu-3DShell-SideEntity":{hotkey:"",hotkeyCmd:"opensubmenu-3DShell-SideEntity"},"draw(C3dShellSideEntity)":{hotkey:"",hotkeyCmd:"draw(C3dShellSideEntity)"},"draw(P3dShellSideEntity)":{hotkey:"",hotkeyCmd:"draw(P3dShellSideEntity)"},"opensubmenu-3DShell-TopEntity":{hotkey:"",hotkeyCmd:"opensubmenu-3DShell-TopEntity"},"draw(R3dShellTopBottomEntity)":{hotkey:"",hotkeyCmd:"draw(R3dShellTopBottomEntity)"},"draw(C3dShellTopBottomEntity)":{hotkey:"",hotkeyCmd:"draw(C3dShellTopBottomEntity)"},"draw(P3dShellTopBottomEntity)":{hotkey:"",hotkeyCmd:"draw(P3dShellTopBottomEntity)"},place5V:{hotkey:"",hotkeyCmd:"place5V"},backToUpper:{hotkey:"",hotkeyCmd:"backToUpper"},generateOrUpdateBlockSymbol2:{hotkey:"",hotkeyCmd:"generateOrUpdateBlockSymbol2"},generateOrUpdateBlockSymbol:{hotkey:"",hotkeyCmd:"generateOrUpdateBlockSymbol"},updateSchematicNetPort:{hotkey:"",hotkeyCmd:"updateSchematicNetPort"},openElecRule:{hotkey:"",hotkeyCmd:"openElecRule"},pcb_DRC:{hotkey:"",hotkeyCmd:"pcb_DRC"},checkERC:{hotkey:"",hotkeyCmd:"checkERC"},clearErrors:{hotkey:"",hotkeyCmd:"clearErrors"},toggleRealTimeDRC:{hotkey:"",hotkeyCmd:"toggleRealTimeDRC"},netClassManager:{hotkey:"",hotkeyCmd:"netClassManager"},differentialPairManager:{hotkey:"",hotkeyCmd:"differentialPairManager"},equalLengthGroupManager:{hotkey:"",hotkeyCmd:"equalLengthGroupManager"},EditPadsPairGroupDialog:{hotkey:"",hotkeyCmd:"EditPadsPairGroupDialog"},updateComponent:{hotkey:"",hotkeyCmd:"updateComponent"},resetUniqueId:{hotkey:"",hotkeyCmd:"resetUniqueId"},projectSheetSetting:{hotkey:"",hotkeyCmd:"projectSheetSetting"},MeasureDistance:{hotkey:"",hotkeyCmd:"MeasureDistance"},Command:{hotkey:"C",hotkeyCmd:"Command"},crossProbe:{hotkey:"",hotkeyCmd:"crossProbe"},placeTransfer:{hotkey:"",hotkeyCmd:"placeTransfer"},connectPads:{hotkey:"",hotkeyCmd:"connectPads"},openFootPrintManager:{hotkey:"",hotkeyCmd:"openFootPrintManager"},openDeviceManager:{hotkey:"",hotkeyCmd:"openDeviceManager"},openDeviceStandardizationTab:{hotkey:"",hotkeyCmd:"openDeviceStandardizationTab"},layerOptionsSet:{hotkey:"",hotkeyCmd:"layerOptionsSet"},switchToThePreviousLayer:{hotkey:"",hotkeyCmd:"switchToThePreviousLayer"},switchToTheNextLayer:{hotkey:"",hotkeyCmd:"switchToTheNextLayer"},importChangesFromSch:{hotkey:"",hotkeyCmd:"importChangesFromSch"},importChangesFromPcb:{hotkey:"",hotkeyCmd:"importChangesFromPcb"},reuseTemplateLayoutAndRoute:{hotkey:"",hotkeyCmd:"reuseTemplateLayoutAndRoute"},toggleAdsorb:{hotkey:"",hotkeyCmd:"toggleAdsorb"},SingleRouting:{hotkey:"",hotkeyCmd:"SingleRouting"},MultiRouting:{hotkey:"",hotkeyCmd:"MultiRouting"},"draw(stretchtrack)":{hotkey:"",hotkeyCmd:"draw(stretchtrack)"},"draw(difftrack)":{hotkey:"",hotkeyCmd:"draw(difftrack)"},equalLengthTuning:{hotkey:"",hotkeyCmd:"equalLengthTuning"},diffPairEqualLengthTuning:{hotkey:"",hotkeyCmd:"diffPairEqualLengthTuning"},"auto-routing":{hotkey:"",hotkeyCmd:"auto-routing"},changeRoutingMode:{hotkey:"",hotkeyCmd:"changeRoutingMode"},RoutingCorner:{hotkey:"",hotkeyCmd:"RoutingCorner"},"opensubmenu-routingWidth":{hotkey:"",hotkeyCmd:"opensubmenu-routingWidth"},"trackWidthSetting(WIRING_WIDTH_FOLLOWRULES)":{hotkey:"",hotkeyCmd:"trackWidthSetting(WIRING_WIDTH_FOLLOWRULES)"},"trackWidthSetting(WIRING_WIDTH_RULESSETTING)":{hotkey:"",hotkeyCmd:"trackWidthSetting(WIRING_WIDTH_RULESSETTING)"},"opensubmenu-unroute":{hotkey:"",hotkeyCmd:"opensubmenu-unroute"},unrouteClearConnect:{hotkey:"",hotkeyCmd:"unrouteClearConnect"},unrouteClearNetwork:{hotkey:"",hotkeyCmd:"unrouteClearNetwork"},clearAllRoute:{hotkey:"",hotkeyCmd:"clearAllRoute"},removeLoop:{hotkey:"",hotkeyCmd:"removeLoop"},"trackWidthSetting(WIRING_WIDTH_INPUT)":{hotkey:"",hotkeyCmd:"trackWidthSetting(WIRING_WIDTH_INPUT)"},autoTrimSilkscreen:{hotkey:"",hotkeyCmd:"autoTrimSilkscreen"},changeRoutingAngle:{hotkey:"",hotkeyCmd:"changeRoutingAngle"},"opensubmenu-group":{hotkey:"",hotkeyCmd:"opensubmenu-group"},joinGroup:{hotkey:"",hotkeyCmd:"joinGroup"},reuseLayoutRoute:{hotkey:"",hotkeyCmd:"reuseLayoutRoute"},ungroupAll:{hotkey:"",hotkeyCmd:"ungroupAll"},autoLayout:{hotkey:"",hotkeyCmd:"autoLayout"},"set-attr-text-position":{hotkey:"",hotkeyCmd:"set-attr-text-position"},swapLocation:{hotkey:"",hotkeyCmd:"swapLocation"},flip2OppositeSide:{hotkey:"",hotkeyCmd:"flip2OppositeSide"},"opensubmenu-offset":{hotkey:"",hotkeyCmd:"opensubmenu-offset"},absoluteOffset:{hotkey:"",hotkeyCmd:"absoluteOffset"},relativeOffset:{hotkey:"",hotkeyCmd:"relativeOffset"},"opensubmenu-distribute":{hotkey:"",hotkeyCmd:"opensubmenu-distribute"},distribute_left_side_edge_equidistant:{hotkey:"",hotkeyCmd:"distribute_left_side_edge_equidistant"},distribute_top_side_edge_equidistant:{hotkey:"",hotkeyCmd:"distribute_top_side_edge_equidistant"},distribute_horizontal_by_center_distance:{hotkey:"",hotkeyCmd:"distribute_horizontal_by_center_distance"},distribute_vertical_by_center_distance:{hotkey:"",hotkeyCmd:"distribute_vertical_by_center_distance"},distribute_horizontal_by_edges_distance:{hotkey:"",hotkeyCmd:"distribute_horizontal_by_edges_distance"},distribute_vertical_by_edges_distance:{hotkey:"",hotkeyCmd:"distribute_vertical_by_edges_distance"},distribute:{hotkey:"",hotkeyCmd:"distribute"},component_distribute_by_region:{hotkey:"",hotkeyCmd:"component_distribute_by_region"},rotate_right:{hotkey:"",hotkeyCmd:"rotate_right"},rotate_reference_point:{hotkey:"",hotkeyCmd:"rotate_reference_point"},fliph_reference_point:{hotkey:"",hotkeyCmd:"fliph_reference_point"},flipv_reference_point:{hotkey:"",hotkeyCmd:"flipv_reference_point"},"opensubmenu-level":{hotkey:"",hotkeyCmd:"opensubmenu-level"},bring_to_front:{hotkey:"",hotkeyCmd:"bring_to_front"},send_to_back:{hotkey:"",hotkeyCmd:"send_to_back"},rotate_left:{hotkey:"",hotkeyCmd:"rotate_left"},"opensubmenu-align":{hotkey:"",hotkeyCmd:"opensubmenu-align"},align_left:{hotkey:"",hotkeyCmd:"align_left"},align_horizontal_center:{hotkey:"",hotkeyCmd:"align_horizontal_center"},align_right:{hotkey:"",hotkeyCmd:"align_right"},align_top:{hotkey:"",hotkeyCmd:"align_top"},align_vertical_center:{hotkey:"",hotkeyCmd:"align_vertical_center"},align_bottom:{hotkey:"",hotkeyCmd:"align_bottom"},align_grid:{hotkey:"",hotkeyCmd:"align_grid"},align_horizontal_equidistant:{hotkey:"",hotkeyCmd:"align_horizontal_equidistant"},align_vertical_equidistant:{hotkey:"",hotkeyCmd:"align_vertical_equidistant"},"opensubmenu-flip":{hotkey:"",hotkeyCmd:"opensubmenu-flip"},fliph:{hotkey:"",hotkeyCmd:"fliph"},flipv:{hotkey:"",hotkeyCmd:"flipv"},moveSelectedLeft:{hotkey:"",hotkeyCmd:"moveSelectedLeft"},moveSelectedRight:{hotkey:"",hotkeyCmd:"moveSelectedRight"},moveSelectedUp:{hotkey:"",hotkeyCmd:"moveSelectedUp"},moveSelectedDown:{hotkey:"",hotkeyCmd:"moveSelectedDown"},switchToTheNextSignalLayer:{hotkey:"",hotkeyCmd:"switchToTheNextSignalLayer"},switchToThePreviousSignalLayer:{hotkey:"",hotkeyCmd:"switchToThePreviousSignalLayer"},"switchToLayer(1)":{hotkey:"",hotkeyCmd:"switchToLayer(1)"},"switchToLayer(2)":{hotkey:"",hotkeyCmd:"switchToLayer(2)"},toggleLocked:{hotkey:"",hotkeyCmd:"toggleLocked"},SCHLibWizard:{hotkey:"",hotkeyCmd:"SCHLibWizard"},OcrWizard:{hotkey:"",hotkeyCmd:"OcrWizard"},smartSize:{hotkey:"",hotkeyCmd:"smartSize"},checkDimension:{hotkey:"",hotkeyCmd:"checkDimension"},renumberPads:{hotkey:"",hotkeyCmd:"renumberPads"},renumberPins:{hotkey:"",hotkeyCmd:"renumberPins"},teardrop:{hotkey:"",hotkeyCmd:"teardrop"},openPanelizeDlg:{hotkey:"",hotkeyCmd:"openPanelizeDlg"},removeUnusedPad:{hotkey:"",hotkeyCmd:"removeUnusedPad"},prioritizeObjectSelection:{hotkey:"",hotkeyCmd:"prioritizeObjectSelection"},creepageDistance:{hotkey:"",hotkeyCmd:"Creepage Distance"},"log-tool":{hotkey:"",hotkeyCmd:"log-tool"},view3DModelManager:{hotkey:"",hotkeyCmd:"view3DModelManager"},viewPinDelayManager:{hotkey:"",hotkeyCmd:"viewPinDelayManager"},viewCopperAreaManager:{hotkey:"",hotkeyCmd:"viewCopperAreaManager"},openAssemblyVariants:{hotkey:"",hotkeyCmd:"openAssemblyVariants"},compareNetlist:{hotkey:"",hotkeyCmd:"compareNetlist"},compareSchematic:{hotkey:"",hotkeyCmd:"compareSchematic"},openPcbComparisonDlg:{hotkey:"",hotkeyCmd:"openPcbComparisonDlg"},"opensubmenu-export":{hotkey:"E",hotkeyCmd:"opensubmenu-export"},exportBOM:{hotkey:"",hotkeyCmd:"exportBOM"},pcb_fabrication:{hotkey:"",hotkeyCmd:"pcb_fabrication"},pcb_export_coordinate_file:{hotkey:"",hotkeyCmd:"pcb_export_coordinate_file"},export3DFile:{hotkey:"",hotkeyCmd:"export3DFile"},export3DShellFile:{hotkey:"",hotkeyCmd:"export3DShellFile"},openDxfExportDlg:{hotkey:"",hotkeyCmd:"openDxfExportDlg"},"export(panelSVG)":{hotkey:"",hotkeyCmd:"export(panelSVG)"},"export(filePdf)":{hotkey:"G",hotkeyCmd:"export(filePdf)"},exportTestPointReport:{hotkey:"",hotkeyCmd:"exportTestPointReport"},exportNetlist:{hotkey:"",hotkeyCmd:"exportNetlist"},exportPng:{hotkey:"",hotkeyCmd:"exportPng"},exportManufacturingFilesForOneClick:{hotkey:"",hotkeyCmd:"exportManufacturingFilesForOneClick"},"export(altium)":{hotkey:"",hotkeyCmd:"export(altium)"},"export(pads)":{hotkey:"",hotkeyCmd:"export(pads)"},exportDSN:{hotkey:"",hotkeyCmd:"exportDSN"},viewPCBInformation:{hotkey:"",hotkeyCmd:"viewPCBInformation"},bom_order_parts:{hotkey:"",hotkeyCmd:"bom_order_parts"},orderPCB:{hotkey:"",hotkeyCmd:"orderPCB"},order3DShell:{hotkey:"",hotkeyCmd:"order3DShell"},panelProductionOrder:{hotkey:"",hotkeyCmd:"panelProductionOrder"},"show_help_file(part_store)":{hotkey:"",hotkeyCmd:"show_help_file(part_store)"},"show_help_file(pcb_manu_facturing)":{hotkey:"",hotkeyCmd:"show_help_file(pcb_manu_facturing)"},"show_help_file(3d_cnc)":{hotkey:"",hotkeyCmd:"show_help_file(3d_cnc)"},"opensubmenu-system":{hotkey:"",hotkeyCmd:"opensubmenu-system"},"commonButtonsSetting(SYSTEM)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(SYSTEM)"},"commonButtonsSetting(CATEGORY)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(CATEGORY)"},"commonButtonsSetting(BASE_LIBRARY)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(BASE_LIBRARY)"},"opensubmenu-schematic_symbol":{hotkey:"",hotkeyCmd:"opensubmenu-schematic_symbol"},"commonButtonsSetting(CANVAS)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(CANVAS)"},"commonButtonsSetting(OBJECT)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(OBJECT)"},"opensubmenu-pcb_footprint":{hotkey:"",hotkeyCmd:"opensubmenu-pcb_footprint"},"commonButtonsSetting(PCB_FOOTPRINT)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(PCB_FOOTPRINT)"},"commonButtonsSetting(PCB_THEME)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(PCB_THEME)"},"commonButtonsSetting(PCB_COMM_GRID_SIZE)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(PCB_COMM_GRID_SIZE)"},"commonButtonsSetting(PCB_COMM_TRACK_WIDTH)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(PCB_COMM_TRACK_WIDTH)"},"commonButtonsSetting(PCB_COMM_VIA_SIZE)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(PCB_COMM_VIA_SIZE)"},"commonButtonsSetting(ADSORPTION)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(ADSORPTION)"},"opensubmenu-panel":{hotkey:"",hotkeyCmd:"opensubmenu-panel"},"commonButtonsSetting(PANEL_CANVAS)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(PANEL_CANVAS)"},"commonButtonsSetting(PANEL_THEME)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(PANEL_THEME)"},"commonButtonsSetting(COMM_TYPEFACE)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(COMM_TYPEFACE)"},"commonButtonsSetting(DESIGN)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(DESIGN)"},"commonButtonsSetting(PROPERTY)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(PROPERTY)"},"commonButtonsSetting(HOTKEY)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(HOTKEY)"},"commonButtonsSetting(CUSTOM_TOOLBAR)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(CUSTOM_TOOLBAR)"},"commonButtonsSetting(SAVE)":{hotkey:"",hotkeyCmd:"commonButtonsSetting(SAVE)"},"show_help_file(community)":{hotkey:"",hotkeyCmd:"show_help_file(community)"},tutorials:{hotkey:"",hotkeyCmd:"tutorials"},"show_help_file(feedback)":{hotkey:"",hotkeyCmd:"show_help_file(feedback)"},"show_help_file(contact)":{hotkey:"",hotkeyCmd:"show_help_file(contact)"},show_about:{hotkey:"",hotkeyCmd:"show_about"},ChangetoTopLayer:{hotkey:"",hotkeyCmd:"ChangetoTopLayer"},ChangetoBottomLayer:{hotkey:"",hotkeyCmd:"ChangetoBottomLayer"},ChangetoInner1:{hotkey:"",hotkeyCmd:"ChangetoInner1"},ChangetoInner2:{hotkey:"",hotkeyCmd:"ChangetoInner2"},ChangetoInner3:{hotkey:"",hotkeyCmd:"ChangetoInner3"},ChangetoInner4:{hotkey:"",hotkeyCmd:"ChangetoInner4"},ChangetoInner5:{hotkey:"",hotkeyCmd:"ChangetoInner5"},ChangetoInner6:{hotkey:"",hotkeyCmd:"ChangetoInner6"},ChangeCopperZoneVisibleorInvisible:{hotkey:"",hotkeyCmd:"ChangeCopperZoneVisibleorInvisible"},RebuildAllCopperArea:{hotkey:"",hotkeyCmd:"RebuildAllCopperArea"},finish:{hotkey:"",hotkeyCmd:"finish"},draw_end:{hotkey:"",hotkeyCmd:"draw_end"},undoDraw:{hotkey:"",hotkeyCmd:"undoDraw"},SelectOverlap:{hotkey:"",hotkeyCmd:"SelectOverlap"},FilpPathWhileDrawing:{hotkey:"",hotkeyCmd:"FilpPathWhileDrawing"},show_drawing_attr_dlg:{hotkey:"",hotkeyCmd:"show_drawing_attr_dlg"},showSymbolPinModifyDialog:{hotkey:"",hotkeyCmd:"showSymbolPinModifyDialog"},showMultiPinMotifyAttrDialog:{hotkey:"",hotkeyCmd:"showMultiPinMotifyAttrDialog"},showNetLabelPinModifyDialog:{hotkey:"",hotkeyCmd:"showNetLabelPinModifyDialog"},showSchMoveConfigDialog:{hotkey:"",hotkeyCmd:"showSchMoveConfigDialog"},showEditTableDialog:{hotkey:"",hotkeyCmd:"showEditTableDialog"},showPartModifyDialog:{hotkey:"",hotkeyCmd:"showPartModifyDialog"},showNetPortModifyDialog:{hotkey:"",hotkeyCmd:"showNetPortModifyDialog"},showOfPageConnectorModifyDialog:{hotkey:"",hotkeyCmd:"showOfPageConnectorModifyDialog"},showNetFlagModifyDialog:{hotkey:"",hotkeyCmd:"showNetFlagModifyDialog"},switchSelectedRangeWhenObjectIsSelected:{hotkey:"",hotkeyCmd:"switchSelectedRangeWhenObjectIsSelected"},open_set_net_property_dialog:{hotkey:"",hotkeyCmd:"open_set_net_property_dialog"},changeDiffPairFanOutMode:{hotkey:"",hotkeyCmd:"changeDiffPairFanOutMode"},change_track_width_while_routing:{hotkey:"",hotkeyCmd:"change_track_width_while_routing"},increaseSnakeGap:{hotkey:"",hotkeyCmd:"increaseSnakeGap"},decreaseSnakeGap:{hotkey:"",hotkeyCmd:"decreaseSnakeGap"},switch_common_track_width:{hotkey:"",hotkeyCmd:"switch_common_track_width"},switch_common_via_size:{hotkey:"",hotkeyCmd:"switch_common_via_size"},Absolute:{hotkey:"",hotkeyCmd:"Absolute"},Relative:{hotkey:"",hotkeyCmd:"Relative"},RelativeX:{hotkey:"",hotkeyCmd:"RelativeX"},RelativeY:{hotkey:"",hotkeyCmd:"RelativeY"},ToggleLayer:{hotkey:"",hotkeyCmd:"ToggleLayer"},DisplayLayer:{hotkey:"",hotkeyCmd:"DisplayLayer"},DisplayAllLayers:{hotkey:"",hotkeyCmd:"DisplayAllLayers"},expandAndModifyProperties:{hotkey:"",hotkeyCmd:"expandAndModifyProperties"},Find:{hotkey:"",hotkeyCmd:"Find"},WireWidth:{hotkey:"",hotkeyCmd:"WireWidth"},displayRealTimeNetLengthAndLengthTolerance:{hotkey:"",hotkeyCmd:"displayRealTimeNetLengthAndLengthTolerance"},"place_auxiliary(horizontalLine)":{hotkey:"X",hotkeyCmd:"place_auxiliary(horizontalLine)"},"place_auxiliary(verticalLine)":{hotkey:"Y",hotkeyCmd:"place_auxiliary(verticalLine)"},"place_auxiliary(crossLine)":{hotkey:"C",hotkeyCmd:"place_auxiliary(crossLine)"},"place_auxiliary(point)":{hotkey:"P",hotkeyCmd:"place_auxiliary(point)"},deleteCDotNode:{hotkey:"",funcE:"Delete Node"},raise_one_level:{hotkey:"",funcE:"Raise one level"},lower_one_level:{hotkey:"",funcE:"Lower one level"},rotate_ccw:{hotkey:"",funcE:"Rotate...",hotkeyCmd:"rotate_ccw"},convertStrokeToShape:{hotkey:"",funcE:"Convert stroke to shape"},convertBaseShapeToPath:{hotkey:"",funcE:"Convert rect or ellipse to path"},combineShapes:{hotkey:"",funcE:"Combine shapes"},breakShapeApart:{hotkey:"",funcE:"Break shape apart"},joinPath:{hotkey:"",funcE:"Join path"},reversePath:{hotkey:"",funcE:"Reverse path"},checkDocTicket:{hotkey:"",funcE:"Refresh..."},openRightBar:{hotkey:"",funcE:"Property..."},openTemplatePage:{hotkey:"",funcE:"Open Template Page..."},"sheet(toPage)":{hotkey:"",funcE:"Goto Page...",hotkeyCmd:"sheet(toPage)"},openRenameWireDlg:{hotkey:"",funcE:"Batch rename wire"},"highlightConnectedWires(singleWire)":{hotkey:"",funcE:"Select Single Wire"},"highlightConnectedWires(wire)":{hotkey:"",funcE:"Select Wire"},"highlightConnectedWires(bus)":{hotkey:"",funcE:"Select Bus"},"highlightConnectedWires(net)":{hotkey:"",funcE:"Select Net"},globalHighlightNetSelected:{hotkey:"",funcE:"Highlight Net"},globalUnhighlightNetSelected:{hotkey:"",funcE:"Unhighlight Net"},hierarchical_ref_designator_annotate:{hotkey:"",funcE:"CBB Ref Designator Annotate..."},clearCbbRefdes:{hotkey:"",funcE:"Clear CBB Ref Designator"},annotateDesignator:{hotkey:"",funcE:"Annotate Designator..."},pcbDesignRule:{hotkey:"",funcE:"PCB Design Rule"},clearDesignator:{hotkey:"",funcE:"Clear Designator..."},showFanOutNetlabelOrNoConnectFlagDlg:{hotkey:"",funcE:"Fan Out Netlabel/No Connect Flag"},editProjectSymbol:{hotkey:"",funcE:"Edit Symbol"},editProjectDevice:{hotkey:"",funcE:"Edit Device..."},viewProductDetail:{hotkey:"",funcE:"View Product Detail..."},viewDatasheet:{hotkey:"",funcE:"View Datasheet..."},opensubmenu_level:{hotkey:"",funcE:"Level"},opensubmenu_rotate:{hotkey:"",funcE:"Rotate",hotkeyCmd:"opensubmenu-rotate"},opensubmenu_convert:{hotkey:"",funcE:"Convert"},ADAPT_BOARDOUTLINE:{hotkey:"",funcE:"Fit Board Outline View"},ADD_ANNOTATION:{hotkey:"",hotkeyCmd:"createAnnotation"},ADDWITH_ROUTING:{hotkey:"",funcE:"Add Routing"},ADDWITH_TESTPOINTER:{hotkey:"",funcE:"Add Test Point"},ADDWITH_NODE:{hotkey:"",funcE:"Add Node"},ADDWITH_ARC:{hotkey:"",funcE:"Add Arc"},ADDWITH_EQUALLENGTHTUNING:{hotkey:"",funcE:"Equal Length Tunning"},ADD_SOLDER_MASK:{hotkey:"",funcE:"Add Solder Mask"},ALIGNMENT:{hotkey:"",funcE:"Alignment"},COMBINATION:{hotkey:"",funcE:"Group"},COMBINATION_JOIN:{hotkey:"",funcE:"Join Group"},SECOND_COMBINATION:{hotkey:"",funcE:"Group"},COMBINATION_MOVE_OUT:{hotkey:"",funcE:"Remove From Group"},DISTRIBUTION:{hotkey:"",funcE:"Distribute"},FLIP:{hotkey:"",funcE:"Flip"},GRID:{hotkey:"",funcE:"Grid Size"},SNAP_SIZE:{hotkey:"",funcE:"Snap Size"},GRIDTYPE:{hotkey:"",funcE:"Grid Type"},LOCKED:{hotkey:"",funcE:"Locked"},LOCKED_CANCEL:{hotkey:"",funcE:"Unlock"},OFFSET:{hotkey:"",funcE:"Offset"},PACKAGE_EDIT_IN_PCB:{hotkey:"",funcE:"Edit Footprint"},PACKAGE_EDIT:{hotkey:"",funcE:"Edit Footprint"},PACKAGE_REPLACE:{hotkey:"",funcE:"Replace Footprint"},RECOVER_FOOTPRINT:{hotkey:"",funcE:"Revert to Footprint Template"},PACKAGE_ATTR:{hotkey:"",funcE:"Footprint Property"},UPDATE_COMPONENT:{hotkey:"",funcE:"Update Project Library"},UPDATE_REUSEBLOCK:{hotkey:"",funcE:"Update Reuse Block"},DEVICE_EDIT:{hotkey:"",funcE:"Edit Device"},SYMBOL_UPDATE:{hotkey:"",funcE:"Update Symbol"},SYMBOL_EDIT:{hotkey:"",funcE:"Edit Symbol in Library"},SYMBOL_REPLACE:{hotkey:"",funcE:"Replace Symbol"},ALL:{hotkey:"",funcE:"ALL"},PRIMITIV_COMPONENT:{hotkey:"",funcE:"Component"},PRIMITIV_DEVICE_ATTR:{hotkey:"",funcE:"Component-ATTR"},PRIMITIV_PAD:{hotkey:"",funcE:"Pad"},PRIMITIV_TRACK:{hotkey:"",funcE:"Track"},PRIMITIV_PADPAIR:{hotkey:"",funcE:"Pad Pairs"},PRIMITIV_VIA:{hotkey:"",funcE:"Via"},PRIMITIV_SUTUREVIA:{hotkey:"",funcE:"Suture Via"},PRIMITIV_2DLINE:{hotkey:"",funcE:"Outline"},PRIMITIV_ALL:{hotkey:"",funcE:"All"},PRIMITIV_BOARD:{hotkey:"",funcE:"Board Outline"},PRIMITIV_SLOT:{hotkey:"",funcE:"Slot Region"},PRIMITIV_POUR:{hotkey:"",funcE:"Copper Region"},Default:{hotkey:"",funcE:"Default"},"Only Component":{hotkey:"",funcE:"Only Component"},"Only Component Attribute":{hotkey:"",funcE:"Only Component Attribute"},"Only Track":{hotkey:"",funcE:"Only Track"},"Only Via":{hotkey:"",funcE:"Only Via"},"Only Pad Pair":{hotkey:"",funcE:"Only Pad Pair"},"Only Net":{hotkey:"",funcE:"Only Net"},"Only Group":{hotkey:"",funcE:"Only Group"},"Only Pad":{hotkey:"",funcE:"Only Pad"},"Only Line":{hotkey:"",funcE:"Only Line"},PLACE_BURIEDHOLE:{hotkey:"",funcE:"Place Blind/Buried Via"},PAD_NUMBER:{hotkey:"",funcE:"Pad Number"},ROTATE:{hotkey:"",funcE:"Rotate"},SETUP_WINDOWINGAREA:{hotkey:"",funcE:"Add Solder Mask Region"},STRETCHING_PUSHAWAY:{hotkey:"",funcE:"Push and Stretch"},SINGlE_ROUTE:{hotkey:"",funcE:"Single Routing Mode"},CHANGETRACK:{hotkey:"",funcE:"Change Track"},TURNOVER:{hotkey:"",funcE:"Flip to Opposite Side",hotkeyCmd:"flip2OppositeSide"},GAP_STEP_VALUE:{hotkey:"",funcE:"Gap Step Value..."},DIFFERENTIAL_PAIR_LENGTH_TOLERANCE_RULE_SETTING:{hotkey:"",funcE:"Differential Pair Length Tolerance Rule Setting..."},VIA_SIZE:{hotkey:"",funcE:"Via Size"},VIA_SIZE_FOLLOWRULES:{hotkey:"",funcE:"Follow Rule"},VIA_SIZE_RULESSETTING:{hotkey:"",funcE:"Rule Setting..."},VIA_SIZE_COMMONLY_SETTING:{hotkey:"",funcE:"Common Size Setting..."},VIA_TYPE:{hotkey:"",funcE:"Via Type"},VIA_TYPE_THROUGH_VIA:{hotkey:"",funcE:"Through Via"},VIA_TYPE_RULESSETTING:{hotkey:"",funcE:"Via Type Setting..."},HIDE_SELECTED_COPPER_FILLS:{hotkey:"",funcE:"Hide Selected Copper Fills"},SHOW_SELECTED_COPPER_FILLS:{hotkey:"",funcE:"Show Selected Copper Fills"},REBUILD_SELECTED:{hotkey:"",funcE:"Rebuild Selected"},COPPER_MANAGER:{hotkey:"",funcE:"Copper Manager..."},WIRING_AUTO:{hotkey:"",funcE:"Connection"},WIRING_AUTO_CONNECT:{hotkey:"",funcE:"Connection"},WIRING_AUTO_NET:{hotkey:"",funcE:"Net"},WIRING_AUTO_ALL:{hotkey:"",funcE:"All"},WIRING_CLEAR:{hotkey:"",funcE:"Unroute"},WIRING_CLEAR_CONNECT:{hotkey:"",funcE:"Connection"},WIRING_CLEAR_NET:{hotkey:"",funcE:"Net"},WIRING_CLEAR_ALL:{hotkey:"",funcE:"All"},WIRING_CORNER_LINE45:{hotkey:"",funcE:"Line 45\xB0"},WIRING_CORNER_LINE90:{hotkey:"",funcE:"Line 90\xB0"},WIRING_CORNER_ARC90:{hotkey:"",funcE:"Arc 90\xB0"},WIRING_CORNER_ARC45:{hotkey:"",funcE:"Arc 45\xB0"},WIRING_CORNER_ARC:{hotkey:"",funcE:"Arc Free Angle"},WIRING_CORNER_FREEANGLE:{hotkey:"",funcE:"Line Free Angle"},WIRING_MODE_PUSHAWAY:{hotkey:"",funcE:"Push"},WIRING_MODE_SURROUND_AND_PUSHAWAY:{hotkey:"",funcE:"Around & Push"},WIRING_MODE_SURROUND:{hotkey:"",funcE:"Around"},WIRING_MODE_OBSTRUCT:{hotkey:"",funcE:"Block"},WIRING_MODE_IGNORE:{hotkey:"",funcE:"Ignore"},WIRING_WIDTH:{hotkey:"",funcE:"Routing Width"},WIRING_WIDTH_FOLLOWRULES:{hotkey:"",funcE:"Follow Rule"},WIRING_WIDTH_RULESSETTING:{hotkey:"",funcE:"Rule Setting..."},WIRING_WIDTH_COMMONLY_SSETTING:{hotkey:"",funcE:"Common Width Setting..."},WIDTH:{hotkey:"",funcE:"Width..."},AUTO_TRIM_SILKSCREEN:{hotkey:"",funcE:"Auto Trim Silkscreen"},MORE:{hotkey:"",funcE:"More..."},TABLE_SETTING:{hotkey:"",funcE:"Table Setting..."},ADSORBENT_CONFIG:{hotkey:"",funcE:"Snap Setting..."},FILTER:{hotkey:"",funcE:"Filter"},DISPLAY:{hotkey:"",funcE:"Display"},LOOKUP:{hotkey:"",funcE:"Find..."},SELECT_PARENT:{hotkey:"",funcE:"Choose Parent"},PLACETRANSFER:{hotkey:"",funcE:"Placement Transfer..."},RENUMBER:{hotkey:"",funcE:"Renumber Pads..."},REFRESH:{hotkey:"",funcE:"Refresh..."},SELECT:{hotkey:"",funcE:"Select"},MOVE:{hotkey:"",funcE:"Move"},MOVE_SEQUENTIAL:{hotkey:"",funcE:"Move Sequential"},UNROUTE_ATTACHED_SEGMENTS:{hotkey:"",funcE:"Unroute Attached Segments"},UNROUTE_CONNECTIONS:{hotkey:"",funcE:"Unroute Attached Segments"},DETACHING_WIRES_FROM_DEVICES:{hotkey:"",funcE:"Detaching Wires From Devices"},UNROUTE_COMPONENT_CONNECTIONS:{hotkey:"",funcE:"Unroute Component Connections"},ATTRIBUTE:{hotkey:"",funcE:"Property..."},NET:{hotkey:"",funcE:"Net"},DEVICE:{hotkey:"",funcE:"Component"},SELECTED_ELEMENT:{hotkey:"",funcE:"Selected Element"},SELECTOVERLAP:{hotkey:"",funcE:"Select Overlap"},CONNECT:{hotkey:"",funcE:"Connect"},NET_COLOR:{hotkey:"",funcE:"Net Color..."},INSERT_NODE:{hotkey:"",funcE:"Insert Node"},EDIT_BOUNDARY:{hotkey:"",funcE:"Edit Outline"},GENERATE_D3_SHELL_OUTLINE:{hotkey:"",funcE:"Generate 3D Shell - Outline"},FORMAT_BRUSH:{hotkey:"",funcE:"Format Painter..."},DIVISION:{hotkey:"",funcE:"Slice"},REPLACE_LAYER:{hotkey:"",funcE:"Change Layer"},REMOVE_LOOP:{hotkey:"",funcE:"Change Layer"},SELECT_NET:{hotkey:"",funcE:"Select Net"},ADD_NODE:{hotkey:"",funcE:"Add Node"},EDIT_NODE:{hotkey:"",funcE:"Edit Node"},MOVE_NODE:{hotkey:"",funcE:"Move Node"},DELETE_NODE:{hotkey:"",funcE:"Delete Node"},COMMENT:{hotkey:"",funcE:"Comment"},EXPAND:{hotkey:"",funcE:"Expand"},MERGE_AS_CLOSED_OBJECT:{hotkey:"",funcE:"Merge as a Closed Line"},DISPERSED_AS_INDEPENDENT_LIEN:{hotkey:"",funcE:"Dispersed as Independent Line"},Split:{hotkey:"",funcE:"Split",hotkeyCmd:"Split"},Cutout:{hotkey:"",hotkeyCmd:"Cutout"},"draw(RCutout)":{hotkey:"",hotkeyCmd:"draw(RCutout)"},"draw(CCutout)":{hotkey:"",hotkeyCmd:"draw(CCutout)"},"draw(PCutout)":{hotkey:"",hotkeyCmd:"draw(PCutout)"},avoidSlots:{hotkey:"",hotkeyCmd:"avoidSlots"},avoidPads:{hotkey:"",hotkeyCmd:"avoidPads"},CONVERT_TO_PAD:{hotkey:"",funcE:"Convert to Pad",hotkeyCmd:"CONVERT_TO_PAD"},CONVERT_TO_TRACK:{hotkeyCmd:"CONVERT_TO_TRACK",hotkey:""},MERGE_PADS:{hotkey:"",funcE:"Merge pads"},CONVERT_TO_2D_LINE:{hotkey:"",hotkeyCmd:"CONVERT_TO_2D_LINE"},CONVERT_TO_SLOT_REGION:{hotkey:"",funcE:"Convert to Slot Region",hotkeyCmd:"CONVERT_TO_SLOT_REGION"},CONVERT_TO_FILL_REGION:{hotkey:"",funcE:"Convert to Fill Region",hotkeyCmd:"CONVERT_TO_FILL_REGION"},CONVERT_TO_D3_SHELL_OUTLINE:{hotkey:"",funcE:"Convert to 3D Shell - Outline",hotkeyCmd:"CONVERT_TO_D3_SHELL_OUTLINE"},CONVERT_TO_COPPER_REGION:{hotkey:"",hotkeyCmd:"CONVERT_TO_COPPER_REGION"},CONVERT_TO_PROHIBITED_REGION:{hotkey:"",hotkeyCmd:"CONVERT_TO_PROHIBITED_REGION"},CONVERT_TO_BOARD_OUTLINE:{hotkey:"",hotkeyCmd:"CONVERT_TO_BOARD_OUTLINE"},CONVERT_TO_CONSTRAINT_REGION:{hotkey:"",hotkeyCmd:"CONVERT_TO_CONSTRAINT_REGION"},CONVERT_TO_D3_SHELL_SLOT_REGION:{hotkey:"",funcE:"Convert to 3D Shell -  Slot Region",hotkeyCmd:"CONVERT_TO_D3_SHELL_SLOT_REGION"},CONVERT_TO_D3_SHELL_ENTITY:{hotkey:"",funcE:"Convert to 3D Shell - Entity",hotkeyCmd:"CONVERT_TO_D3_SHELL_ENTITY"},CONVERT_TO_FPC_STIFFENER:{hotkey:"",hotkeyCmd:"CONVERT_TO_FPC_STIFFENER"},ONLY_SELECT:{hotkey:"",funcE:"Apply only selected components"},CURRENT_PCB:{hotkey:"",funcE:"Apply current PCB"},ALL_PROJECT:{hotkey:"",funcE:"Apply the whole project"},OPTIMIZA_NONE:{hotkey:"",funcE:"None"},OPTIMIZA_WEAK:{hotkey:"",funcE:"Weak"},OPTIMIZA_STRONG:{hotkey:"",funcE:"Strong"},OPTIMIZATION:{hotkey:"",funcE:"Optimization"},bottomBar_refresh:{hotkey:"",funcE:"Refresh"},bottomBar_editDevice:{hotkey:"",funcE:"Edit Device..."},bottomBar_easyEditDevice:{hotkey:"",funcE:"Edit Device"},bottomBar_editSymbol:{hotkey:"",funcE:"Edit Symbol"},bottomBar_editFootprint:{hotkey:"",funcE:"Edit Footprint"},bottomBar_editPcb:{hotkey:"",funcE:"Edit PCB"},bottomBar_replace3DModel:{hotkey:"",funcE:"Replace 3D Model..."},bottomBar_linkSymbol:{hotkey:"",funcE:"Link Symbol..."},bottomBar_linkFootprint:{hotkey:"",funcE:"Link Footprint..."},bottomBar_link3DModel:{hotkey:"",funcE:"Link 3D Model..."},bottomBar_link2NewDevice:{hotkey:"",funcE:"Link to New Device..."},bottomBar_linkToExistingDevice:{hotkey:"",funcE:"Link to Existing Device..."},bottomBar_editSchematic:{hotkey:"",funcE:"Edit Schematic"},bottomBar_modify:{hotkey:"",funcE:"Modify Information..."},bottomBar_libDelete:{hotkey:"",funcE:"Delete"},bottomBar_symbolSaveAs:{hotkey:"",funcE:"Symbol Save as..."},bottomBar_footprintSaveAs:{hotkey:"",funcE:"Footprint Save as..."},bottomBar_model3DSaveAs:{hotkey:"",funcE:"3D Model Save as..."},bottomBar_reportError:{hotkey:"",funcE:"Report Error..."},bottomBar_saveAs:{hotkey:"",funcE:"Save as..."},bottomBar_saveAsLocal:{hotkey:"",funcE:"Save as (Local)..."},bottomBar_addOrRemoveFavorite:{hotkey:"",funcE:"Remove/Add Favorite"},bottomBar_addIntoBasicLibrary:{hotkey:"",funcE:"Remove/Add from Common Library"},bottomBar_viewProductDetail:{hotkey:"",funcE:"View Product Detail..."},bottomBar_viewDatasheet:{hotkey:"",funcE:"View Datasheet..."},bottomBar_editBlockProject:{hotkey:"",funcE:"Edit Block Project"},bottomBar_editPanelLib:{hotkey:"",funcE:"Edit Panel Lib"},bottomBar_documentSaveAsCloud:{hotkey:"",funcE:"Document Save as..."},bottomBar_documentSaveAsLocal:{hotkey:"",funcE:"Document Save as (Local)..."},bottomBar_Category_expandAll:{hotkey:"",funcE:"Expand All"},bottomBar_Category_collapseAll:{hotkey:"",funcE:"Collapse All"},bottomBar_recover:{hotkey:"",funcE:"Recover"},rightBar_pcb_DELETE_FEATURES:{hotkey:"",funcE:"Delete Attribution"},attrpanal_menu_remove_custom_attr:{hotkey:"",funcE:"Delete Property"},attrpanal_menu_delete_instance_attr:{hotkey:"",funcE:"Delete Instance Value"},attrpanal_menu_delete_all_instance_attr:{hotkey:"",funcE:"Delete All Instance Value"},homepage_prj_menu_refresh:{hotkey:"",funcE:"Refresh"},homepage_prj_menu_opensubmenu_sort:{hotkey:"",funcE:"Sort"},homepage_prj_menu_sticky_on_top:{hotkey:"",funcE:"Sticky on Top"},homepage_prj_menu_expand_all:{hotkey:"",funcE:"Expand All"},homepage_prj_menu_collapse_all:{hotkey:"",funcE:"Collapse All"},homepage_prj_menu_open_all_projects:{hotkey:"",funcE:"Open All Projects"},homepage_prj_menu_open_project:{hotkey:"",funcE:"Open Project"},homepage_prj_menu_open_directory:{hotkey:"",funcE:"Open Directory"},homepage_prj_menu_open_in_the_newWindow:{hotkey:"",funcE:"Open in New Window"},homepage_prj_menu_add_project_directory:{hotkey:"",funcE:"Add Project Directory..."},homepage_prj_menu_create_new_project:{hotkey:"",funcE:"Create New Project..."},homepage_prj_menu_create_new_folder:{hotkey:"",funcE:"Create New Folder..."},homepage_prj_menu_edit_folder:{hotkey:"",funcE:"Modify..."},homepage_prj_menu_move_project:{hotkey:"",funcE:"Modify..."},homepage_prj_menu_move_folder:{hotkey:"",funcE:"Move..."},homepage_prj_menu_open_in_the_workspace:{hotkey:"",funcE:"Open in Workspace"},homepage_prj_menu_delete_folder:{hotkey:"",funcE:"Delete"},homepage_prj_menu_opensubmenu_prjManagement:{hotkey:"",funcE:"Project Management"},homepage_prj_menu_opensubmenu_version_management:{hotkey:"",funcE:"Version Management"},homepage_prj_menu_opensubmenu_team_management:{hotkey:"",funcE:"Team Management"},homepage_prj_sort_menu_sort_by_project_name:{hotkey:"",funcE:"Project Name"},homepage_prj_sort_menu_sort_by_creation_time:{hotkey:"",funcE:"Creation Time"},homepage_prj_sort_menu_sort_by_modification_time:{hotkey:"",funcE:"Creation Time"},homepage_prj_sort_menu_ascending_order:{hotkey:"",funcE:"Ascending Order"},homepage_prj_sort_menu_descending_order:{hotkey:"",funcE:"Descending Order"},homepage_prj_manager_menu_view_schema:{hotkey:"",funcE:"View Schema"},homepage_prj_manager_menu_edit:{hotkey:"",funcE:"Edit"},homepage_prj_manager_menu_member:{hotkey:"",funcE:"Member"},homepage_prj_manager_menu_attachment:{hotkey:"",funcE:"Attachment"},homepage_prj_manager_menu_transfer:{hotkey:"",funcE:"Transfer"},homepage_prj_manager_menu_share:{hotkey:"",funcE:"Share"},homepage_prj_manager_menu_version_manager:{hotkey:"",funcE:"Version Management"},homepage_prj_manager_menu_view_homePage:{hotkey:"",funcE:"View Homepage"},homepage_prj_manager_menu_lock:{hotkey:"",funcE:"Lock"},homepage_prj_manager_menu_unlock:{hotkey:"",funcE:"Unlock"},homepage_prj_manager_menu_delete_project:{hotkey:"",funcE:"Delete"},homepage_prj_manager_menu_quit_project:{hotkey:"",funcE:"Quit"},homepage_ver_manager_menu_switch_version:{hotkey:"",funcE:"Switch Version..."},homepage_ver_manager_menu_version_manager:{hotkey:"",funcE:"Switch Version..."},homepage_team_manager_menu_edit_owner_team:{hotkey:"",funcE:"Edit"},homepage_team_manager_menu_project_owner_team:{hotkey:"",funcE:"Project"},homepage_team_manager_menu_members_owner_team:{hotkey:"",funcE:"Members"},homepage_team_manager_menu_fans_owner_team:{hotkey:"",funcE:"Fans"},homepage_team_manager_menu_assignment_owner_team:{hotkey:"",funcE:"Assignment"},homepage_team_manager_menu_quit_owner_team:{hotkey:"",funcE:"Quit"},homepage_team_manager_menu_dissolve_owner_team:{hotkey:"",funcE:"Dissolve"},"opensubmenu-draw-dimension":{hotkey:"",hotkeyCmd:"opensubmenu-draw-dimension"},horizontal_split_tab:{hotkey:"H",funcE:"Horizontal Split"},vertical_split_tab:{hotkey:"V",funcE:"Vertical Split"},horizontal_tile_tab:{hotkey:"H",funcE:"Tile Horizontally"},vertical_tile_tab:{hotkey:"V",funcE:"Tile Vertically"},tile_all__tab:{hotkey:"T",funcE:"Tile All"},merge_all_tab:{hotkey:"M",funcE:"Merge All"},tab_window_arrangement:{hotkey:"W",funcE:"Window_Arrangement"},"draw(dimension-xy)":{hotkey:"",hotkeyCmd:"draw(dimension-xy)"},"draw(dimension-x)":{hotkey:"",hotkeyCmd:"draw(dimension-x)"},"draw(dimension-y)":{hotkey:"",hotkeyCmd:"draw(dimension-y)"},pcbOptimizedPath:{hotkey:"",hotkeyCmd:"pcbOptimizedPath"},runScript:{hotkey:"S",hotkeyCmd:"pcbOptimizedPath"},scriptList:{hotkey:"L",hotkeyCmd:"scriptList",funcE:"Script List"},scriptManager:{hotkey:"S",hotkeyCmd:"scriptManager"},showExtensionsManager:{hotkey:"E",hotkeyCmd:"showExtensionsManager"},stop_video_capture:{hotkey:"",hotkeyCmd:"stop_video_capture"},show_videocapture:{hotkey:"",hotkeyCmd:"show_videocapture"},"opensubmenu-boardshape":{hotkey:"S",hotkeyCmd:"opensubmenu-boardshape"},convertToBoard:{hotkey:"D",hotkeyCmd:"convertToBoard"},convertToLineFromBoard:{hotkey:"P",hotkeyCmd:"convertToLineFromBoard"},"EDIT BOUNDARY":{hotkey:"",hotkeyCmd:"EDIT BOUNDARY"}};var Ps=class extends qe{constructor(e){super(),this.value=e}setValue(e){e!==this.value&&(this.value=e,this.notify())}refresh(){this.notify()}},y9e=class extends qe{constructor(){super(...arguments);this.childMenuValue=new Set}setChildMenuId(i){this.childMenuValue.add(i),this.notify()}},mbt=class extends qe{constructor(){super(...arguments);this.workingMode=Ee.HOME}setWorkingMode(i){this.workingMode=i,this.notify()}isPanelRelated(){return[Ee.PANEL,Ee.PANEL_LIB].includes(this.workingMode)}},Po=new mbt,hbt=class extends qe{constructor(){super(...arguments);this.disableCmdStoreSet={};this.staticStore=new Ps(void 0)}setDisableCmd(i){for(let o in i){let r=i[o];this.disableCmdStoreSet[o]||(this.disableCmdStoreSet[o]=new Ps(void 0)),this.disableCmdStoreSet[o].setValue(!!r)}this.notify()}getDisableCmdStore(i){return i?(this.disableCmdStoreSet[i]||(this.disableCmdStoreSet[i]=new Ps(void 0)),this.disableCmdStoreSet[i]):this.staticStore}},Gu=new hbt,L8=class extends qe{constructor(){super(...arguments);this.keyboardValue={}}setKeyboardValue(i){this.keyboardValue=i,this.notify()}},fbt=class extends qe{constructor(){super(...arguments);this.hotkeys={};this.menuHotkeys={};this.menuHotkeyMap={};this.customizeHotKeyHooks={}}updateHotkeyConfigStatus(){let i=Nc.getUserConfig()||{},o=Object.entries(i);for(let[r,n]of o)for(let a of n)this.hotkeys[a.hotkeyCmd]=a;this.menuHotkeys=av.getUserConfig()||{};for(let r in this.menuHotkeys){let n=this.menuHotkeys[r];n.hotkeyCmd&&(this.menuHotkeyMap[n.hotkeyCmd]=r)}this.notify()}needUpdateHotkey(){var n,a;let i=Nc.getUserConfig()||{},o=Object.entries(i);for(let[s,l]of o)for(let c of l)if(!(kCe(this.hotkeys[c.hotkeyCmd])&&kCe(c==null?void 0:c.hotkey))&&this.hotkeys[c.hotkeyCmd]!=(c==null?void 0:c.hotkey))return!0;let r=av.getUserConfig()||{};for(let s in r)if(!(kCe(r[s].hotkey)&&kCe((n=this.menuHotkeys[s])==null?void 0:n.hotkey))&&r[s].hotkey!=((a=this.menuHotkeys[s])==null?void 0:a.hotkey))return!0;return!1}getMenuInfoByHotkey(i){let o=this.menuHotkeyMap[i];return this.menuHotkeys[o]||null}getMenuIdByHotkey(i){return this.menuHotkeyMap[i]}getHotkey(i){var o;return((o=this.hotkeys[i])==null?void 0:o.hotkey)||""}getHotkeyInfo(i){return this.hotkeys[i]}getMenuHotkey(i){var o;return((o=this.menuHotkeys[i])==null?void 0:o.hotkey)||""}getMenuHotkeyInfo(i){return this.menuHotkeys[i]}getAllMenuHotkeys(){return this.menuHotkeys}getAllHotkeys(){return this.hotkeys}registHotkeys(i,o,r){this.hotkeys[i]=o,this.customizeHotKeyHooks[i]=r}getCustomizeHotKeyHooks(i){return this.customizeHotKeyHooks[i]}},Ys=new fbt,gbt=class extends qe{constructor(){super(...arguments);this.loginStatus=!1}setLoginStatus(i){i!==this.loginStatus&&(this.loginStatus=i,this.notify())}},_f=new gbt,PCe=class extends qe{constructor(){super(...arguments);this.workSpace="Personal"}setWorkSpace(i){i!==this.workSpace&&(this.workSpace=i,this.notify())}},wS=new PCe,bbt=class extends qe{constructor(){super(...arguments);this.organization=[]}setOrganization(i){!this.organization.length&&!(i!=null&&i.length)||(this.organization=i,this.notify())}},_d=new bbt,ybt=class extends qe{getSymbolMode(){return mt.getSymbolLibManage()}symbolModeUpdate(){this.notify()}},jf=new ybt,wbt=class extends qe{constructor(){super(...arguments);this._window=null}set value(i){this._window=i}get value(){return this._window}},dl=new wbt,Cbt=class extends qe{set val(e){this.event=e,this.notify()}get val(){return this.event}},uoe=new Cbt;var we={SYSTEM:{SYSTEM_GENERAL:{TIPS:"The width and height of the current left, right, bottom panels and specific symbol are recorded when the settings are applied, and are applied when the editor is opened.",INTERFACE_THEME:"Interface Theme",LIGHT:"Light",DARK:"Dark",FOLLOW_SYSTEM:"Follow System",SYMBOL_LIB_MANAGE:"Symbol library management",EASY_MODE:"Easy Mode(Std Edition library creation behavior, easy to use)",PRO_MODE:"Professional Mode(Support the symbol reuse)",NEW_LIB_DIALOG:"New Library Popup",SIMPLIFY:"Simplify",COMPLETE:"Complete",DOUBLE_CLICK_PROJECT:"Double-click the Project",NEW_WINDOW_OPEN_PROJECT:"New window open project",CURRENT_WINDOW_OPEN_PROJECT:"Current window open project",PROJECT_DUP_NAME:"Project library name duplication",ALLOW_DUP:"Allow duplicated",AUTO_RENAME:"Rename automatically(_number)",CANVAS_ZOOM:"Canvas Zooming Type",SCROLL:"Scroll",CTRL_SCROLL:"Ctrl + Scroll",MOUSE_MIDDLE_DRAG:"Drag the Middle Mouse Button",MOVE_CANVAS:"Move Canvas",ZOOM_CANVAS:"Zoom Canvas",SIDE_PANEL_AUTO_HIDE:"Side Panel Auto Hide",LEFT_SIDE_PANEL:"Left-Side Panel",RIGHT_SIDE_PANEL:"Right-Side Panel",BOTTOM_SIDE_PANEL:"Bottom-Side Panel",COPY_REUSE_BLOCKS:"Copy Reuse Blocks",SHOW_ACTION_DIALOG:"Show Action Selection Popup",NON_COPY:"Non-Copy",COPY:"Copy",PLACE_UPDATED_DEVICE:"Placing updated device",SHOW_UPDATE_NOTICE_DIALOG:"Show updated notice dialog",DONT_SHOW_UPDATE_NOTICE_DIALOG:"Don't show updated notice dialog(using project library)",SHOW_SYMBOL_FOOTPRINT_UPDATE_DIALOG:"Show Symbol/Footprint Update Dialog and Tip",AUTO_PANNING:"Auto Panning",DISABLE:"Disable",UNIFORM_TRANSLATION:"Uniform Translation",VARIABLE_SPEED_TRANSLATION:"Variable Speed Translation",SLOW:"Slow",FAST:"Fast",STEPPING:"Stepping",ALT_STEPPING:"Alt Stepping"},CATEGORY:{DEVICE:"Device",SYMBOL:"Symbol",FOOTPRINT:"Footprint",CBB:"CBB",MODEL_3D:"3D Model",PANEL_LIB:"Panel Lib",PRIMARY_CATEGORY:"Primary Category",SECONDARY_CATEGORY:"Secondary Category",...na?{SIM_Model:"SIM Model"}:{}},BASE_LIBRARY:{DEVICE:"Device",PANEL_LIB:"Panel Lib",ALL:"All",UNCATEGORIZED:"Uncategorized",COMMENT:"Comment",CATEGORY:"Category",GROUP:"Group",FOOTPRINT:"Footprint",SCHEMATIC:"Schematic",PCB:"PCB",NGSPICE:"NGspice",SIMULIDE:"SimulIDE"}},CANVAS:{CANVAS_GENERAL:{UNIT:"Unit",INCH:"inch",MM:"mm",GRID_TYPE:"Grid Type",GRID_DOT:"Grid Dot",GRID:"Grid",NONE:"None",DEFAULT_GRID_SIZE:"Default Grid Size",SCHEMATIC:"Schematic",ALT_SNAP:"ALT Snap",SYMBOL:"Symbol",PIN_SPACING:"Pin spacing recommendations",SNAP_TO_GRID:"Snap to Grid",DEFAULT_PIN_LENGTH:"Default Pin Length",CROSS_CURSOR:"Cross Cursor",BIG:"Big",SMALL:"Small",ALWAYS_SHOW_CROSS_CURSOR:"Always Show Cross Cursor",LINE_WIDTH_DISPLAY:"Line Width Display",FOLLOW_ZOOM_CHANGE:"Follow the Zoom Change",ALWAYS_1PX:"Always 1px Line Width",GUIDELINE:"Guideline",DISPLAY_WHEN_SIGNLE_COMPONENT_OR_PROPERTY_SELECTED:"Display when single component or property selected",DISPLAY_WHEN_SELECTED:"Display when selected, bad for performance",HIDE:"Hide",COPY_CUT:"Copy/Cut",NO_SELECT_REFERENCE_POINT:"No Select reference point",SELECT_REFERENCE_POINT:"Select reference point",CLICK_ON_THE_WIRE_TO_SELECT:"Click on the wire to select",SELECT_SINGLE:"Select single, click again to select the whole paragraph",SELECT_WHOLE:"Select the whole paragraph, click again to select single",DRAG_SYMBOL:"Drag symbol, wire's following way",WIRE_FOLLOW:"Wire following, disconnect when pressed ctrl + alt at drag start",WIRE_NOT_FOLLOW:"Wire not following, connect when pressed ctrl + alt at drag start",ROTATE_SYMBOL:"Rotate symbol, wire's following way",FOLLOW:"Follow",UNFOLLOW:"Unfollow",DRAG_NET_NAME:"Drag Net Name",MODIFY_NET_NAME:"Modify Net Name",MODIFY_PROPERTY_POSITION:"Modify Property Position",DEFAULT_NETNAME:"Default Netname",WIRE_ID:"Wire ID",DESIGNATOR_PINNUMBER:"Designator + Pin Number",WIRE_MULTIPLE_NET:"Wire Multiple Net",ALLOWED:"Allowed",FLEXIBLE:"(Flexible; The habit of Std Edition or Altium Designer)",PROHIBITED:"Prohibited",STRICT:"(Strict; The habit of PADS or OrCAD)",NET:"Net",NETFLAG_CROSS_LAYER_CONNECTION:"NetFlag cross layer connection",NETLABEL_CROSS_PAGE_CONNECTION:"NetLabel cross Page connection",BUS_GENERATE_NET_CLASS:"Bus generate Net Class",RELEVANCE:"Relevance",SINGLE_ROW_DISPLAY:"Single Row Display",MULTIPLE_ROW_DISPLAY:"Multiple Row Display",BELONG_PAGE:"Belong Page",LOCATION:"Location",EXAMPLE:"Example",OTHER:"Other",MULTIPARTCROSSLAYER:"Multi-Part Component Cross Layer",SWITCHMULTIPARTGROUP:"(Switching affects multi-part component grouping)",SYMBOL_EDITOR_DISPLAY_SCALE_RULER:"Symbol Editor Display Scale Ruler",ANNOTATE_DESIGNATOR:"Annotate designator automatically while placing or paste device",ASSIGN_FROM_THE_END:"Assign from the end",FILL_GAPS:"Fill Gaps",DO_NOT_ASSIGN:"Do Not Assign",HIGHLIGHT_ENTIRE_NETWORK:"Highlight entire network when hovering wire",ADJUST_PROPERTIES_LOCATION_AUTOMATICLLY:"Adjust properties location automatically when components are rotated",CTRL_DRAG_TO_COPY:"Ctrl drag to copy",COMPONENTS_PLACEMENT_PER_PAGE:"Components placement for per page",CROSS_PROBE:"Cross Probe",CROSS_PROBE_AUTO_MOVE_CANVAS:"Automatically move canvas during cross probe",CROSS_PROBE_AUTO_FIT_SELECTION:"Automatically fit selection view during cross probe",CROSS_PROBE_OTHER_OBJECTS_DIM:"Other objects become dim during cross probe"},OBJECT:{PRIMITIVE_STYLE:"Primitive Style:",OBJECT:"Object",COLOR_STROKE_COLOR:"Color/Stroke Color",FILL_COLOR:"Fill Color",FONT_STYLE:"Font Style",SHAPE_STYLE:"Shape Style",BACKGROUND:"Background",CANVAS:"Canvas",GRID:"Grid",SELECTION:"Selection",HOVER_HIGHLIGHT:"Hover Highlight",TIPS:"Tips",WIRE:"Wire",BUS:"Bus",JUNCTION:"Junction",NO_CONNECT_POINT:"No Connect Point",NO_CONNECT_FLAG:"No Connect Flag",DIFFERENTIAL_PAIRS_FLAG:"Differential Pairs Flag",NET_NAME_NETFLAG:"Net Name/Netflag",NET_PROPERTY:"Net Property",SYMBOL:"Symbol",MASK_REGION:"Mask Region",NOT_ADD_INTO:"Not add into BOM/Not convert to PCB",SYMBOL_NAME:"Symbol Name",SYMBOL_PROPERTY:"Symbol Property",REUSE_BLOCK:"Reuse Block",BLOCK_SYMBOL_NAME:"Block Symbol Name",BLOCK_SYMBOL_PROPERTY:"Block Symbol Property",PIN:"Pin",PIN_NAME:"Pin Name",PIN_PROPERTY:"Pin Property",UNUSUAL_HINT:"Unusual Hint",LINE:"Line",RECT:"Rect",ARC:"Arc",BEZIER:"Bezier",CIRCLE:"Circle",ELLIPSE:"Ellipse",TEXT:"Text",TABLE:"Table",ANNOTATION:"Annotation"}},PCB_FOOTPRINT:{PCB_FOOTPRINT_GENERAL:{DEFAULT_UNIT_FOR_NEW_PCB:"Default Unit for New PCB",MIL:"mil",MM:"mm",DEFAULT_UNIT_FOR_NEW_FOOTPRINT:"Default Unit for New Footprint",ALT_SNAP_SIZE:"Alt Snap Size",GRIDX:"gridX",GRIDY:"gridY",ROTATION_STEP:"Rotation Step",CLICK_ON_THE_WIRE_TO_SELECT:"Click on the wire to select",SELECT_SIGNLE:"Select single, click again to select the whole paragraph",SELECT_WHOLE:"Select the whole paragraph, click again to select single",COPY_CUT:"Copy/Cut",NO_SELECT_REFERENCE_POINT:"No Select reference point",SELECT_REFERENCE_POINT:"Select reference point",CONFIRM_TRACK_SEGMENT_WHILE_ROUTING:"Confirm track segment while routing",CONFIRM_TO_CURRENT_SEGMENT:"Confirm to current segment",CONFIRM_TO_PREVIOUS_SEGMENT:"Confirm to previous segment",END_PRIMITIVES_DRAWING:"End primitives drawing",RIGHT_CLICK_TO_END_DRAWING:"Right-click to end drawing, Ctrl+Right-Click to show menu",CTRL_RIGHT_CLICK_TO_END_DRAWING:"Ctrl+Right-Click to end drawing, Right-Click to show menu",ADD_VIA_METHOD_WHILE_ROUTE:"Add via method while route",ADD_AT_THE_LAST_INFLECTION_POINT:"Add at the last inflection point",ADD_AT_THE_CURRENT_INFLECTION_POINT:"Add at the current inflection point",ROTATION_OBJECTS:"Rotation Objects",ROTATE_SINGLE_OBJECT:"Rotate Single Object",ROTATE_THE_SELECTED_WHOLE:"Rotate the Selected Whole",START_TRACK_WIDTH_FOR_NEW_DOC:"Start Track Width for New Document",FOLLOW_RULE:"Follow Rule",CUSTOMIZE:"Customize",DEFAULT_FONT_TYPE_FOR_COMPONENT_PROPERTIES:"Default font type for component properties",FONT_TYPE:"Font Type",STROKE_WIDTH:"Stroke Width",HEIGHT:"Height",START_VIA_SIZE_FOR_NEW_DOCUMENT:"Start Via Size for New Document",MOVE_COMPONENT:"Move Component",PUSH:"Push",BLOCK:"Block",IGNORE:"Ignore",ROUTE:"Route",PREFER_PLACE_BLIND:"Prefer Place Blind/Burried Via while Change Layer on Routing",AUTO_CHANGE_LAYER_WHILE_ROUTING_VIAS:"Auto Change Layer While Routing Vias",DOUBLE_CLICK_MOUSE_TO_PLACE_VIAS_WHEN_ROUTING:"Double-Click The Mouse To Place Vias When Routing",SELECT_THE_LOOP_SEGMENT:"Select the loop segment in the pop-up window when removing the loop",AUTOMATIC_FAN_OUT:"Automatic fan-out at the start/end of routing",TERMINATE_ROUTING_AUTOMATICALLY:"Terminate Routing Automatically",ASSIGN_NET_FOR_FREE_TRACK:"Assign Net for Free Track",ADD_TEARDROP_AUTOMATICALLY:"Add Teardrop Automatically",DRAG_MOVE:"Drag/Move",CTRL_DRAG_TO_COPY:"Ctrl drag to copy",CURSOR_SNAPS_TO_CENTER:"Cursor snaps to center while dragging pads/vias",CURSOR_SNAPS_TO_ORIGIN:"Cursor snaps to origin while dragging footprints",ALIGN_IN_ADJACENT:"Align in adjacent footprint/pads when mobile footprint/pads",MOVE_THE_FOOTPRINT_WIRE_FOLLOWING_WAY:"Move the footprint, wire's following way",WIRE_FOLLOWING:"Wire following, disconnect when pressed ctrl + alt at drag start",WIRE_NOT_FOLLOWING:"Wire not following, connect when pressed ctrl + alt at drag start",MOVE_THE_VIA_WIRE_FOLLOWING_WAY:"Move the Via, wire's following way",ANNOTATE_DESIGNATOR:"Annotate designator automatically while placing or paste device",ASSIGN_FROM_THE_END:"Assign from the end",FILL_GAPS:"Fill Gaps",DO_NOT_ASSIGN:"Do Not Assign",OTHER:"Other",CHECK_NET_CONNECTIONS:"Check Net Connections Before Generating the Fabrication File",CHECK_DRC:"Check DRC Before Generating the Fabrication File",USING_JLC_COLOR_SILKSCREEN_TECHNOLOGY:"Using JLC color silkscreen technology",PREVIEW_3D_FILE:'Preview 3D File to Generate Component 3D Model Automatically (based on the "Height" property)',MOVE_PLACE_PASTE_VIA:"Move/Place/Paste Via Follows Routing Mode",REBUILD_COPPER_REGION_AUTOMATICALLY:"Rebuild copper region automatically",NEW_PCB_USING_TEMPLATE:"New PCB using template",ALLOW_FOOTPRINT_FLIPPING:"Allow Footprint Flipping",AUTOMATIC_CHAMFERING:"Automatic chamfering when drawing outline objects",OFF:"Off",FILLET:"Fillet",CHAMFER:"Chamfer",FILLET_RADIUS:"Fillet Radius",AUTOMATIC_CHAMFERING_DURING_ROUTING:"Automatic chamfering during routing"},PCB_THEME:{CANVAS_PRIMITIVE:"Canvas/Primitive",LAYER:"Layer",OBJECT:"Object",COLOR:"Color",TRANSPARENCY:"Transparency(%)",BORDER_COLOR:"Border Color",BORDER_LINE_STYLE:"Border Line Style",COLOR_SETTING:"Color Setting",INACTIVE_LAYER:"Inactive Layer Transparency",TYPE:"Type",CURSOR:"Cursor",BACKGROUND:"Background",GRID:"Grid",BOLD_GRID:"Bold Grid",COORDINATE_AXIS:"Coordinate Axis",SELECT_BOX:"Select Box",SELECT:"Select",HOVER_HIGHLIGHT:"Hover Highlight",METALLIC_DRILLING:"Metallic Drilling",NON_METALLIC_DRILLING:"Non-metallic Drilling",PAD:"Pad",VIA:"Via",TRACK:"Track",COPPER_REGION:"Copper Region",SOLID_REGION:"Solid Region",PROHIBITED_REGION:"Prohibited Region",CONSTRAINT_REGION:"Constraint Region",COLORFUL_IMAGE:"Colorful Image",ANNOTATION:"Annotation",BOARD_SHAPE:"The Outside of Board Shape",PARTITION:"partition",TOP_LAYER:"Top Layer",INNER:"Inner",BOTTOM_LAYER:"Bottom Layer",TOP_SILKSCREEN_LAYER:"Top Silkscreen Layer",BOTTOM_SILKSCREEN_LAYER:"Bottom Silkscreen Layer",TOP_SOLDER_MASK_LAYER:"Top Solder Mask Layer",BOTTOM_SOLDER_MASK_LAYER:"Bottom Solder Mask Layer",TOP_PASTE_MASK_LAYER:"Top Paste Mask Layer",BOTTOM_PASTE_MASK_LAYER:"Bottom Paste Mask Layer",TOP_ASSEMBLY_LAYER:"Top Assembly Layer",BOTTOM_ASSEMBLY_LAYER:"Bottom Assembly Layer",BOARD_OUTLINE_LAYER:"Board Outline Layer",MULTI_LAYER:"Multi-Layer",DOCUMENT_LAYER:"Document Layer",MECHANICAL_LAYER:"Mechanical Layer",HOLE_LAYER:"Hole Layer",DRILL_DRAWING_LAYER:"Drill Drawing Layer",RATLINE_LAYER:"Ratline Layer",PERCENT:"%"},PCB_SHOW:{GRID_TYPE:"Grid Type",GRID_DOT:"Grid Dot",GRID:"Grid",NONE:"None",BOLD_GRID:"Bold Grid",BOLD_MULTIPLE:"Bold Multiple",CROSS_CURSOR:"Cross Cursor",BIG:"Big",SMALL:"Small",ALWAYS_SHOW_CROSS_CURSOR:"Always Show Cross Cursor",DRC_ERROR_STYLE:"DRC Error Style",DISPLAY_DRC_COMPONENT_SPACING:"Display Component Spacing",DRC_ERROR_ZOOM:"DRC Error Zoom",FIXED_PIXEL_SIZE:"Fixed Pixel Size",FOLLOW_OBJECT_SCALING:"Follow Object Scaling",DISPLAY_EFFECT:"Display Effect",SPEED_PRIORITY:"Speed Priority",QUALITY_PRIORITY:"Quality Priority",RENDERING_ENGINE:"Rendering Engine",AUTO:"Auto",WEBGPU:"WebGPU",CANVAS2D:"Canvas2D",SHOW_NUMBER_OR_NET:"Show Number or Net",SHOW_PAD_NUMBER:"Show Pad Number",SHOW_PAD_NET_NAME:"Show Pad Net Name",SHOW_TRACK_NET_NAME:"Show Track Net Name",SHOW_VIA_LAYER_PAIR:"Show Via Layer Pair",SHOW_VIA_NET_NAME:"Show Via Net Name",HIGHLIGHT:"Highlight",MANUAL_HIGHLIGHT_STYLE:"Manual Highlight Style",TEMPORAILY_HIGHLIGHT:"Temporarily highlight all elements when non-active layers are grayed out or hidden",REAL_TIME_DISPLAY:"Real Time Display",DISPLAY_REAL_TIME_NET_LENGTH:"Display Real-Time Net Length While Route or Stretch Track",DISPLAY_REAL_TIME_DIFFERENTIAL_PAIR_LENGTH:"Display Real-Time Differential Pair Length Tolerance While Route or Stretch Track",DRAW_USING_DYNAMIC_INPUT_BOX:"Draw Using Dynamic Input Box",MOUSE_HOVER:"Mouse Hover",HIGHLIGHT_THE_NET:"Highlight the Net When Hovering Over the Net",HIGHLIGHT_OBJECT:"Highlight Object While Cursor Hover Object",DISPLAY_OBJECT_PROPERTY:"Display Object Property While Cursor Hover Object",OTHER:"Other",SHOW_SCALE_RULER:"Show Scale Ruler",AUTOMATICALLY_MOVE_CANVAS:"Automatically move canvas during cross probe",OTHER_OBJECTS_BECOME_DIM:"Other objects become dim when dragging a network object",SELECT_ALPHA:"Selected Pad and Via Transparency",CROSS_PROBE:"Cross Probe",CROSS_PROBE_AUTO_MOVE_CANVAS:"Automatically move canvas during cross probe",CROSS_PROBE_AUTO_FIT_SELECTION:"Automatically fit selection view during cross probe",CROSS_PROBE_OTHER_OBJECTS_DIM:"Other objects become dim during cross probe"},PCB_COMM_GRID_SIZE:{CARTESIAN_COORDINATE_SYSTEM:"Cartesian Coordinate System",POLAR_COORDINATE_SYSTEM:"Polar Coordinate System",GRID_SNAP_X:"Grid/Snap X",GRID_SNAP_Y:"Grid/Snap Y",ANGLE_INCREMENT:"Angle Increment",RADIUS_INCREMENT:"Radius Increment",MIL:"mil",MM:"mm",DEGREE:"\xB0"},PCB_COMM_TRACK_WIDTH:{MIL:"mil",MM:"mm"},PCB_COMM_VIA_SIZE:{VIA_INSIDE_DIAMETER:"Via Inside Diameter",VIA_OUTSIDE_DIAMETER:"Via Outside Diameter",MIL:"mil",MM:"mm"},ADSORPTION:{SNAPPING:"Snapping",ALL_LAYERS:"All Layers",CURRENT_LAYER:"Current Layer",SNAP_DISTANCE:"Snap Distance",COMMON:"Common",ALL:"All",SNAP_POINT:"Snap Point",EXTENDED_LINE:"Extended Line",LAYOUT_ROUTE:"Layout/Route",FOOTPRINT_CENTER:"Footprint Center",FOOTPRINT_ORIGIN:"Footprint Origin",PAD_CENTER:"Pad Center",VIA_CENTER:"Via Center",TRACK_CENTER:"Track Center",OUTLINE_OBJECT:"Outline Object",ENDPOINT:"Endpoint",MIDPOINT:"Midpoint",INTERSECTION:"Intersection",ARC_CIRCLE_CENTER_POINT:"Arc/Circle Center Point",PERPENDICULAR_FOOT:"Perpendicular Foot",TANGENT_POINT:"Tangent Point",REGION_CENTER:"Region Center",LINE_CENTER:"Line Center",PAD_VERTICES:"Pad Vertices",PAD_EDGES:"Pad Edges"}},PANEL_CANVAS:{PANEL_CANVAS_GENERAL:{GRID_TYPE:"Grid Type",GRID_DOT:"Grid Dot",GRID:"Grid",NONE:"None",DEFAULT_GRID_SIZE:"Default Grid Size",ALT_SNAP:"ALT Snap",MM:"mm",CROSS_CURSOR:"Cross Cursor",BIG:"Big",SMALL:"Small",ALWAYS_SHOW_CROSS_CURSOR:"Always Show Cross Cursor",COPY_CUT:"Copy/Cut",NO_SELECT_REFERENCE_POINT:"No Select reference point",SELECT_REFERENCE_POINT:"Select reference point",OTHER:"Other",SHOW_RULER:"Show Ruler",CTRL_DRAG_TO_COPY:"Ctrl drag to copy",WARNING_PROMT:"Warning prompt when placing an order/exporting"},PANEL_THEME:{OBJECT:"Object",COLOR_STROKE_COLOR:"Color/Stroke Color",FILL_COLOR:"Fill Color",FONT:"Font",LINE_STYLE:"Line Style",BACKGROUND:"Background",GRID:"Grid",SELECTION:"Selection",HOVER_HIGHLIGHT:"Hover Highlight",SHAPE:"Shape",ELLIPTICAL_ARC:"Elliptical Arc",ELLIPSE:"Ellipse",RECT:"Rect",TEXT:"Text",CONSTRAINED_DIMENSION:"Constrained Dimension",ANNOTATED_DIMENSION:"Annotated Dimension",AUXILIARY_LINE:"Auxiliary Line",AUXILIARY_POINT:"Auxiliary Point",DIMENSION:"Dimension"}},COMM_TYPEFACE:{TIP:"Tip: Add fonts please copy font names directly in the operating system font list, see",ADD_COMMON_FONTS:"add common fonts",FONT_FAMILY:"Font Family"},DESIGN:{DRAWING_TEMPLATE:"Drawing Template(For New Project)",BORDER:"Border",TITLE_BLOCK:"Title Block"},PROPERTY:{PROPERTY:"Property",OBJECT:"Object",DISPLAY_IN_CANVAS:"Display in Canvas"},HOTKEY:{CONFIG:"Config",ALL:"ALL",FILE:"File",EDIT:"Edit",VIEW:"View",PLACE:"Place",DESIGN:"Design",ROUTE:"Route",LAYOUT:"Layout",TOOLS:"Tools",ADVANCED:"Advanced",EXPORT:"Export",SETTINGS:"Settings",HELP:"Help",SIM:"Sim",OTHER:"Other",FUNCTION:"Function",HOTKEY:"Hotkey",COMMAND:"Command",THE_SCHEMATIC_SYMBOL_DOES_NOT_SUPPORT_COMMANDS_TEMPORARILY:"The schematic/symbol does not support commands temporarily"},CUSTOM_TOOLBAR:{SHEMATIC:"Schematic",SYMBOL:"Symbol",PCB:"PCB",FOOTPRINT:"Footprint",PANEL:"Panel",PANEL_LIB:"Panel Lib",...na?{SIM_LIB:"Sim Lib"}:{},AVAILABLE_ITEMS:"Available Items",SELECTED_ITEMS:"Selected Items"},SAVE:{AUTO_SAVE:"Auto save:",AUTO_SAVE_INTERVAL:"Auto save interval:",AUTO_BACKUP:"Auto backup:",ENABLE:"Enable",DISABLE:"Disable",MAXIMUM_BACKUP:"Maximum backup:",AUTO_BACKUP_INTERVAL:"Auto backup interval:",MINUTES:"minutes",FIVE_SIXTY:"(5~60)"}},sci={SYSTEM:{SYSTEM_GENERAL:[we.SYSTEM.SYSTEM_GENERAL.TIPS,we.SYSTEM.SYSTEM_GENERAL.INTERFACE_THEME,we.SYSTEM.SYSTEM_GENERAL.LIGHT,we.SYSTEM.SYSTEM_GENERAL.DARK,we.SYSTEM.SYSTEM_GENERAL.FOLLOW_SYSTEM,we.SYSTEM.SYSTEM_GENERAL.SYMBOL_LIB_MANAGE,we.SYSTEM.SYSTEM_GENERAL.EASY_MODE,we.SYSTEM.SYSTEM_GENERAL.PRO_MODE,we.SYSTEM.SYSTEM_GENERAL.DOUBLE_CLICK_PROJECT,we.SYSTEM.SYSTEM_GENERAL.NEW_WINDOW_OPEN_PROJECT,we.SYSTEM.SYSTEM_GENERAL.CURRENT_WINDOW_OPEN_PROJECT,we.SYSTEM.SYSTEM_GENERAL.PROJECT_DUP_NAME,we.SYSTEM.SYSTEM_GENERAL.ALLOW_DUP,we.SYSTEM.SYSTEM_GENERAL.AUTO_RENAME,we.SYSTEM.SYSTEM_GENERAL.CANVAS_ZOOM,we.SYSTEM.SYSTEM_GENERAL.SCROLL,we.SYSTEM.SYSTEM_GENERAL.CTRL_SCROLL,we.SYSTEM.SYSTEM_GENERAL.MOUSE_MIDDLE_DRAG,we.SYSTEM.SYSTEM_GENERAL.MOVE_CANVAS,we.SYSTEM.SYSTEM_GENERAL.ZOOM_CANVAS,we.SYSTEM.SYSTEM_GENERAL.SIDE_PANEL_AUTO_HIDE,we.SYSTEM.SYSTEM_GENERAL.LEFT_SIDE_PANEL,we.SYSTEM.SYSTEM_GENERAL.RIGHT_SIDE_PANEL,we.SYSTEM.SYSTEM_GENERAL.BOTTOM_SIDE_PANEL,we.SYSTEM.SYSTEM_GENERAL.COPY_REUSE_BLOCKS,we.SYSTEM.SYSTEM_GENERAL.SHOW_ACTION_DIALOG,we.SYSTEM.SYSTEM_GENERAL.NON_COPY,we.SYSTEM.SYSTEM_GENERAL.COPY,we.SYSTEM.SYSTEM_GENERAL.PLACE_UPDATED_DEVICE,we.SYSTEM.SYSTEM_GENERAL.SHOW_UPDATE_NOTICE_DIALOG,we.SYSTEM.SYSTEM_GENERAL.DONT_SHOW_UPDATE_NOTICE_DIALOG,we.SYSTEM.SYSTEM_GENERAL.SHOW_SYMBOL_FOOTPRINT_UPDATE_DIALOG,we.SYSTEM.SYSTEM_GENERAL.AUTO_PANNING,we.SYSTEM.SYSTEM_GENERAL.DISABLE,we.SYSTEM.SYSTEM_GENERAL.UNIFORM_TRANSLATION,we.SYSTEM.SYSTEM_GENERAL.VARIABLE_SPEED_TRANSLATION,we.SYSTEM.SYSTEM_GENERAL.SLOW,we.SYSTEM.SYSTEM_GENERAL.FAST,we.SYSTEM.SYSTEM_GENERAL.STEPPING,we.SYSTEM.SYSTEM_GENERAL.ALT_STEPPING],CATEGORY:[],BASE_LIBRARY:[we.SYSTEM.BASE_LIBRARY.DEVICE,we.SYSTEM.BASE_LIBRARY.DEVICE,we.SYSTEM.BASE_LIBRARY.ALL,we.SYSTEM.BASE_LIBRARY.ALL,we.SYSTEM.BASE_LIBRARY.UNCATEGORIZED,we.SYSTEM.BASE_LIBRARY.UNCATEGORIZED,we.SYSTEM.BASE_LIBRARY.COMMENT,we.SYSTEM.BASE_LIBRARY.CATEGORY,we.SYSTEM.BASE_LIBRARY.GROUP,we.SYSTEM.BASE_LIBRARY.FOOTPRINT,we.SYSTEM.BASE_LIBRARY.SCHEMATIC,we.SYSTEM.BASE_LIBRARY.PCB,we.SYSTEM.BASE_LIBRARY.PANEL_LIB,we.SYSTEM.BASE_LIBRARY.PANEL_LIB,we.SYSTEM.BASE_LIBRARY.CATEGORY,we.SYSTEM.BASE_LIBRARY.GROUP,we.SYSTEM.BASE_LIBRARY.COMMENT]},CANVAS:{CANVAS_GENERAL:[we.CANVAS.CANVAS_GENERAL.UNIT,we.CANVAS.CANVAS_GENERAL.INCH,we.CANVAS.CANVAS_GENERAL.MM,we.CANVAS.CANVAS_GENERAL.GRID_TYPE,we.CANVAS.CANVAS_GENERAL.GRID_DOT,we.CANVAS.CANVAS_GENERAL.GRID,we.CANVAS.CANVAS_GENERAL.NONE,we.CANVAS.CANVAS_GENERAL.NONE,we.CANVAS.CANVAS_GENERAL.DEFAULT_GRID_SIZE,we.CANVAS.CANVAS_GENERAL.SCHEMATIC,we.CANVAS.CANVAS_GENERAL.ALT_SNAP,we.CANVAS.CANVAS_GENERAL.SYMBOL,we.CANVAS.CANVAS_GENERAL.PIN_SPACING,we.CANVAS.CANVAS_GENERAL.SNAP_TO_GRID,we.CANVAS.CANVAS_GENERAL.DEFAULT_PIN_LENGTH,we.CANVAS.CANVAS_GENERAL.CROSS_CURSOR,we.CANVAS.CANVAS_GENERAL.BIG,we.CANVAS.CANVAS_GENERAL.SMALL,we.CANVAS.CANVAS_GENERAL.ALWAYS_SHOW_CROSS_CURSOR,we.CANVAS.CANVAS_GENERAL.LINE_WIDTH_DISPLAY,we.CANVAS.CANVAS_GENERAL.FOLLOW_ZOOM_CHANGE,we.CANVAS.CANVAS_GENERAL.ALWAYS_1PX,we.CANVAS.CANVAS_GENERAL.GUIDELINE,we.CANVAS.CANVAS_GENERAL.DISPLAY_WHEN_SIGNLE_COMPONENT_OR_PROPERTY_SELECTED,we.CANVAS.CANVAS_GENERAL.DISPLAY_WHEN_SELECTED,we.CANVAS.CANVAS_GENERAL.HIDE,we.CANVAS.CANVAS_GENERAL.COPY_CUT,we.CANVAS.CANVAS_GENERAL.NO_SELECT_REFERENCE_POINT,we.CANVAS.CANVAS_GENERAL.SELECT_REFERENCE_POINT,we.CANVAS.CANVAS_GENERAL.CLICK_ON_THE_WIRE_TO_SELECT,we.CANVAS.CANVAS_GENERAL.SELECT_SINGLE,we.CANVAS.CANVAS_GENERAL.SELECT_WHOLE,we.CANVAS.CANVAS_GENERAL.DRAG_SYMBOL,we.CANVAS.CANVAS_GENERAL.WIRE_FOLLOW,we.CANVAS.CANVAS_GENERAL.WIRE_NOT_FOLLOW,we.CANVAS.CANVAS_GENERAL.ROTATE_SYMBOL,we.CANVAS.CANVAS_GENERAL.FOLLOW,we.CANVAS.CANVAS_GENERAL.UNFOLLOW,we.CANVAS.CANVAS_GENERAL.DRAG_NET_NAME,we.CANVAS.CANVAS_GENERAL.MODIFY_NET_NAME,we.CANVAS.CANVAS_GENERAL.MODIFY_PROPERTY_POSITION,we.CANVAS.CANVAS_GENERAL.DEFAULT_NETNAME,we.CANVAS.CANVAS_GENERAL.WIRE_ID,we.CANVAS.CANVAS_GENERAL.DESIGNATOR_PINNUMBER,we.CANVAS.CANVAS_GENERAL.WIRE_MULTIPLE_NET,we.CANVAS.CANVAS_GENERAL.ALLOWED,we.CANVAS.CANVAS_GENERAL.FLEXIBLE,we.CANVAS.CANVAS_GENERAL.PROHIBITED,we.CANVAS.CANVAS_GENERAL.STRICT,we.CANVAS.CANVAS_GENERAL.NET,we.CANVAS.CANVAS_GENERAL.NETFLAG_CROSS_LAYER_CONNECTION,we.CANVAS.CANVAS_GENERAL.NETLABEL_CROSS_PAGE_CONNECTION,we.CANVAS.CANVAS_GENERAL.BUS_GENERATE_NET_CLASS,we.CANVAS.CANVAS_GENERAL.RELEVANCE,we.CANVAS.CANVAS_GENERAL.SINGLE_ROW_DISPLAY,we.CANVAS.CANVAS_GENERAL.MULTIPLE_ROW_DISPLAY,we.CANVAS.CANVAS_GENERAL.BELONG_PAGE,we.CANVAS.CANVAS_GENERAL.LOCATION,we.CANVAS.CANVAS_GENERAL.EXAMPLE,we.CANVAS.CANVAS_GENERAL.OTHER,we.CANVAS.CANVAS_GENERAL.MULTIPARTCROSSLAYER,we.CANVAS.CANVAS_GENERAL.ALLOWED,we.CANVAS.CANVAS_GENERAL.FLEXIBLE,we.CANVAS.CANVAS_GENERAL.SWITCHMULTIPARTGROUP,we.CANVAS.CANVAS_GENERAL.SYMBOL_EDITOR_DISPLAY_SCALE_RULER,we.CANVAS.CANVAS_GENERAL.ANNOTATE_DESIGNATOR,we.CANVAS.CANVAS_GENERAL.ASSIGN_FROM_THE_END,we.CANVAS.CANVAS_GENERAL.FILL_GAPS,we.CANVAS.CANVAS_GENERAL.DO_NOT_ASSIGN,we.CANVAS.CANVAS_GENERAL.HIGHLIGHT_ENTIRE_NETWORK,we.CANVAS.CANVAS_GENERAL.ADJUST_PROPERTIES_LOCATION_AUTOMATICLLY,we.CANVAS.CANVAS_GENERAL.CTRL_DRAG_TO_COPY,we.CANVAS.CANVAS_GENERAL.COMPONENTS_PLACEMENT_PER_PAGE,we.CANVAS.CANVAS_GENERAL.CROSS_PROBE,we.CANVAS.CANVAS_GENERAL.CROSS_PROBE_AUTO_MOVE_CANVAS,we.CANVAS.CANVAS_GENERAL.CROSS_PROBE_AUTO_FIT_SELECTION,we.CANVAS.CANVAS_GENERAL.CROSS_PROBE_OTHER_OBJECTS_DIM],OBJECT:[we.CANVAS.OBJECT.PRIMITIVE_STYLE,we.CANVAS.OBJECT.OBJECT,we.CANVAS.OBJECT.COLOR_STROKE_COLOR,we.CANVAS.OBJECT.FILL_COLOR,we.CANVAS.OBJECT.FONT_STYLE,we.CANVAS.OBJECT.SHAPE_STYLE,we.CANVAS.OBJECT.BACKGROUND,we.CANVAS.OBJECT.CANVAS,we.CANVAS.OBJECT.GRID,we.CANVAS.OBJECT.SELECTION,we.CANVAS.OBJECT.HOVER_HIGHLIGHT,we.CANVAS.OBJECT.TIPS,we.CANVAS.OBJECT.WIRE,we.CANVAS.OBJECT.BUS,we.CANVAS.OBJECT.JUNCTION,we.CANVAS.OBJECT.NO_CONNECT_POINT,we.CANVAS.OBJECT.NO_CONNECT_FLAG,we.CANVAS.OBJECT.DIFFERENTIAL_PAIRS_FLAG,we.CANVAS.OBJECT.NET_NAME_NETFLAG,we.CANVAS.OBJECT.NET_PROPERTY,we.CANVAS.OBJECT.SYMBOL,we.CANVAS.OBJECT.MASK_REGION,we.CANVAS.OBJECT.NOT_ADD_INTO,we.CANVAS.OBJECT.SYMBOL_NAME,we.CANVAS.OBJECT.SYMBOL_PROPERTY,we.CANVAS.OBJECT.REUSE_BLOCK,we.CANVAS.OBJECT.BLOCK_SYMBOL_NAME,we.CANVAS.OBJECT.BLOCK_SYMBOL_PROPERTY,we.CANVAS.OBJECT.PIN,we.CANVAS.OBJECT.PIN_NAME,we.CANVAS.OBJECT.PIN_PROPERTY,we.CANVAS.OBJECT.UNUSUAL_HINT,we.CANVAS.OBJECT.LINE,we.CANVAS.OBJECT.RECT,we.CANVAS.OBJECT.ARC,we.CANVAS.OBJECT.BEZIER,we.CANVAS.OBJECT.CIRCLE,we.CANVAS.OBJECT.ELLIPSE,we.CANVAS.OBJECT.TEXT,we.CANVAS.OBJECT.TABLE,we.CANVAS.OBJECT.ANNOTATION]},PCB_FOOTPRINT:{PCB_FOOTPRINT_GENERAL:[we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.DEFAULT_UNIT_FOR_NEW_PCB,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.MIL,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.MIL,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.MM,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.MM,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.DEFAULT_UNIT_FOR_NEW_FOOTPRINT,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ALT_SNAP_SIZE,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.GRIDX,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.GRIDY,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ROTATION_STEP,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CLICK_ON_THE_WIRE_TO_SELECT,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.SELECT_SIGNLE,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.SELECT_WHOLE,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.COPY_CUT,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.NO_SELECT_REFERENCE_POINT,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.SELECT_REFERENCE_POINT,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CONFIRM_TRACK_SEGMENT_WHILE_ROUTING,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CONFIRM_TO_CURRENT_SEGMENT,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CONFIRM_TO_PREVIOUS_SEGMENT,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.END_PRIMITIVES_DRAWING,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.RIGHT_CLICK_TO_END_DRAWING,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CTRL_RIGHT_CLICK_TO_END_DRAWING,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ADD_VIA_METHOD_WHILE_ROUTE,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ADD_AT_THE_LAST_INFLECTION_POINT,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ADD_AT_THE_CURRENT_INFLECTION_POINT,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ROTATION_OBJECTS,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ROTATE_SINGLE_OBJECT,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ROTATE_THE_SELECTED_WHOLE,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.START_TRACK_WIDTH_FOR_NEW_DOC,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.FOLLOW_RULE,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CUSTOMIZE,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.DEFAULT_FONT_TYPE_FOR_COMPONENT_PROPERTIES,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.FONT_TYPE,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.STROKE_WIDTH,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.HEIGHT,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.START_VIA_SIZE_FOR_NEW_DOCUMENT,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.MOVE_COMPONENT,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.PUSH,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.BLOCK,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.IGNORE,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ROUTE,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.PREFER_PLACE_BLIND,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.AUTO_CHANGE_LAYER_WHILE_ROUTING_VIAS,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.DOUBLE_CLICK_MOUSE_TO_PLACE_VIAS_WHEN_ROUTING,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.SELECT_THE_LOOP_SEGMENT,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.AUTOMATIC_FAN_OUT,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.TERMINATE_ROUTING_AUTOMATICALLY,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ASSIGN_NET_FOR_FREE_TRACK,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ADD_TEARDROP_AUTOMATICALLY,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.DRAG_MOVE,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CTRL_DRAG_TO_COPY,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CURSOR_SNAPS_TO_CENTER,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CURSOR_SNAPS_TO_ORIGIN,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ALIGN_IN_ADJACENT,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.MOVE_THE_FOOTPRINT_WIRE_FOLLOWING_WAY,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.WIRE_FOLLOWING,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.WIRE_FOLLOWING,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.WIRE_NOT_FOLLOWING,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.WIRE_NOT_FOLLOWING,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.MOVE_THE_VIA_WIRE_FOLLOWING_WAY,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ANNOTATE_DESIGNATOR,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ASSIGN_FROM_THE_END,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.FILL_GAPS,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.DO_NOT_ASSIGN,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.OTHER,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CHECK_NET_CONNECTIONS,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CHECK_DRC,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.USING_JLC_COLOR_SILKSCREEN_TECHNOLOGY,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.PREVIEW_3D_FILE,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.MOVE_PLACE_PASTE_VIA,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.REBUILD_COPPER_REGION_AUTOMATICALLY,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.NEW_PCB_USING_TEMPLATE,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ALLOW_FOOTPRINT_FLIPPING,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.AUTOMATIC_CHAMFERING,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.OFF,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.OFF,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.FILLET,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.FILLET,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CHAMFER,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CHAMFER,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.FILLET_RADIUS,we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.AUTOMATIC_CHAMFERING_DURING_ROUTING],PCB_THEME:[we.PCB_FOOTPRINT.PCB_THEME.CANVAS_PRIMITIVE,we.PCB_FOOTPRINT.PCB_THEME.LAYER,we.PCB_FOOTPRINT.PCB_THEME.OBJECT,we.PCB_FOOTPRINT.PCB_THEME.COLOR,we.PCB_FOOTPRINT.PCB_THEME.TRANSPARENCY,we.PCB_FOOTPRINT.PCB_THEME.BORDER_COLOR,we.PCB_FOOTPRINT.PCB_THEME.BORDER_LINE_STYLE,we.PCB_FOOTPRINT.PCB_THEME.CURSOR,we.PCB_FOOTPRINT.PCB_THEME.BACKGROUND,we.PCB_FOOTPRINT.PCB_THEME.GRID,we.PCB_FOOTPRINT.PCB_THEME.BOLD_GRID,we.PCB_FOOTPRINT.PCB_THEME.COORDINATE_AXIS,we.PCB_FOOTPRINT.PCB_THEME.SELECT_BOX,we.PCB_FOOTPRINT.PCB_THEME.SELECT,we.PCB_FOOTPRINT.PCB_THEME.HOVER_HIGHLIGHT,we.PCB_FOOTPRINT.PCB_THEME.METALLIC_DRILLING,we.PCB_FOOTPRINT.PCB_THEME.NON_METALLIC_DRILLING,we.PCB_FOOTPRINT.PCB_THEME.PAD,we.PCB_FOOTPRINT.PCB_THEME.VIA,we.PCB_FOOTPRINT.PCB_THEME.TRACK,we.PCB_FOOTPRINT.PCB_THEME.COPPER_REGION,we.PCB_FOOTPRINT.PCB_THEME.SOLID_REGION,we.PCB_FOOTPRINT.PCB_THEME.PROHIBITED_REGION,we.PCB_FOOTPRINT.PCB_THEME.CONSTRAINT_REGION,we.PCB_FOOTPRINT.PCB_THEME.COLORFUL_IMAGE,we.PCB_FOOTPRINT.PCB_THEME.ANNOTATION,we.PCB_FOOTPRINT.PCB_THEME.BOARD_SHAPE,we.PCB_FOOTPRINT.PCB_THEME.PARTITION,we.PCB_FOOTPRINT.PCB_THEME.COLOR_SETTING,we.PCB_FOOTPRINT.PCB_THEME.INACTIVE_LAYER,we.PCB_FOOTPRINT.PCB_THEME.LAYER,we.PCB_FOOTPRINT.PCB_THEME.TYPE,we.PCB_FOOTPRINT.PCB_THEME.COLOR,we.PCB_FOOTPRINT.PCB_THEME.TRANSPARENCY,we.PCB_FOOTPRINT.PCB_THEME.PERCENT],PCB_SHOW:[we.PCB_FOOTPRINT.PCB_SHOW.GRID_TYPE,we.PCB_FOOTPRINT.PCB_SHOW.GRID_DOT,we.PCB_FOOTPRINT.PCB_SHOW.GRID_DOT,we.PCB_FOOTPRINT.PCB_SHOW.GRID,we.PCB_FOOTPRINT.PCB_SHOW.GRID,we.PCB_FOOTPRINT.PCB_SHOW.NONE,we.PCB_FOOTPRINT.PCB_SHOW.NONE,we.PCB_FOOTPRINT.PCB_SHOW.NONE,we.PCB_FOOTPRINT.PCB_SHOW.BOLD_GRID,we.PCB_FOOTPRINT.PCB_SHOW.BOLD_MULTIPLE,we.PCB_FOOTPRINT.PCB_SHOW.CROSS_CURSOR,we.PCB_FOOTPRINT.PCB_SHOW.BIG,we.PCB_FOOTPRINT.PCB_SHOW.SMALL,we.PCB_FOOTPRINT.PCB_SHOW.ALWAYS_SHOW_CROSS_CURSOR,we.PCB_FOOTPRINT.PCB_SHOW.DRC_ERROR_STYLE,we.PCB_FOOTPRINT.PCB_SHOW.DISPLAY_DRC_COMPONENT_SPACING,we.PCB_FOOTPRINT.PCB_SHOW.DRC_ERROR_ZOOM,we.PCB_FOOTPRINT.PCB_SHOW.FIXED_PIXEL_SIZE,we.PCB_FOOTPRINT.PCB_SHOW.FOLLOW_OBJECT_SCALING,we.PCB_FOOTPRINT.PCB_SHOW.DISPLAY_EFFECT,we.PCB_FOOTPRINT.PCB_SHOW.SPEED_PRIORITY,we.PCB_FOOTPRINT.PCB_SHOW.QUALITY_PRIORITY,we.PCB_FOOTPRINT.PCB_SHOW.RENDERING_ENGINE,we.PCB_FOOTPRINT.PCB_SHOW.AUTO,we.PCB_FOOTPRINT.PCB_SHOW.WEBGPU,we.PCB_FOOTPRINT.PCB_SHOW.CANVAS2D,we.PCB_FOOTPRINT.PCB_SHOW.SHOW_NUMBER_OR_NET,we.PCB_FOOTPRINT.PCB_SHOW.SHOW_PAD_NUMBER,we.PCB_FOOTPRINT.PCB_SHOW.SHOW_PAD_NET_NAME,we.PCB_FOOTPRINT.PCB_SHOW.SHOW_TRACK_NET_NAME,we.PCB_FOOTPRINT.PCB_SHOW.SHOW_VIA_LAYER_PAIR,we.PCB_FOOTPRINT.PCB_SHOW.SHOW_VIA_NET_NAME,we.PCB_FOOTPRINT.PCB_SHOW.HIGHLIGHT,we.PCB_FOOTPRINT.PCB_SHOW.MANUAL_HIGHLIGHT_STYLE,we.PCB_FOOTPRINT.PCB_SHOW.TEMPORAILY_HIGHLIGHT,we.PCB_FOOTPRINT.PCB_SHOW.REAL_TIME_DISPLAY,we.PCB_FOOTPRINT.PCB_SHOW.DISPLAY_REAL_TIME_NET_LENGTH,we.PCB_FOOTPRINT.PCB_SHOW.DISPLAY_REAL_TIME_DIFFERENTIAL_PAIR_LENGTH,we.PCB_FOOTPRINT.PCB_SHOW.DRAW_USING_DYNAMIC_INPUT_BOX,we.PCB_FOOTPRINT.PCB_SHOW.MOUSE_HOVER,we.PCB_FOOTPRINT.PCB_SHOW.HIGHLIGHT_THE_NET,we.PCB_FOOTPRINT.PCB_SHOW.HIGHLIGHT_OBJECT,we.PCB_FOOTPRINT.PCB_SHOW.DISPLAY_OBJECT_PROPERTY,we.PCB_FOOTPRINT.PCB_SHOW.OTHER,we.PCB_FOOTPRINT.PCB_SHOW.SHOW_SCALE_RULER,we.PCB_FOOTPRINT.PCB_SHOW.AUTOMATICALLY_MOVE_CANVAS,we.PCB_FOOTPRINT.PCB_SHOW.OTHER_OBJECTS_BECOME_DIM,we.PCB_FOOTPRINT.PCB_SHOW.SELECT_ALPHA,we.PCB_FOOTPRINT.PCB_SHOW.CROSS_PROBE,we.PCB_FOOTPRINT.PCB_SHOW.CROSS_PROBE_AUTO_MOVE_CANVAS,we.PCB_FOOTPRINT.PCB_SHOW.CROSS_PROBE_AUTO_FIT_SELECTION,we.PCB_FOOTPRINT.PCB_SHOW.CROSS_PROBE_OTHER_OBJECTS_DIM],PCB_COMM_GRID_SIZE:[we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.CARTESIAN_COORDINATE_SYSTEM,we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.POLAR_COORDINATE_SYSTEM,we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.GRID_SNAP_X,we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.GRID_SNAP_Y,we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.ANGLE_INCREMENT,we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.RADIUS_INCREMENT,we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.MIL,we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.MIL,we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.MIL,we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.MM,we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.MM,we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.MM,we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.DEGREE],PCB_COMM_TRACK_WIDTH:[we.PCB_FOOTPRINT.PCB_COMM_TRACK_WIDTH.MIL,we.PCB_FOOTPRINT.PCB_COMM_TRACK_WIDTH.MM],PCB_COMM_VIA_SIZE:[we.PCB_FOOTPRINT.PCB_COMM_VIA_SIZE.VIA_INSIDE_DIAMETER,we.PCB_FOOTPRINT.PCB_COMM_VIA_SIZE.VIA_OUTSIDE_DIAMETER,we.PCB_FOOTPRINT.PCB_COMM_VIA_SIZE.MIL,we.PCB_FOOTPRINT.PCB_COMM_VIA_SIZE.MIL,we.PCB_FOOTPRINT.PCB_COMM_VIA_SIZE.MM,we.PCB_FOOTPRINT.PCB_COMM_VIA_SIZE.MM],ADSORPTION:[we.PCB_FOOTPRINT.ADSORPTION.SNAPPING,we.PCB_FOOTPRINT.ADSORPTION.ALL_LAYERS,we.PCB_FOOTPRINT.ADSORPTION.CURRENT_LAYER,we.PCB_FOOTPRINT.ADSORPTION.SNAP_DISTANCE,we.PCB_FOOTPRINT.ADSORPTION.COMMON,we.PCB_FOOTPRINT.ADSORPTION.ALL,we.PCB_FOOTPRINT.ADSORPTION.ALL,we.PCB_FOOTPRINT.ADSORPTION.ALL,we.PCB_FOOTPRINT.ADSORPTION.SNAP_POINT,we.PCB_FOOTPRINT.ADSORPTION.EXTENDED_LINE,we.PCB_FOOTPRINT.ADSORPTION.LAYOUT_ROUTE,we.PCB_FOOTPRINT.ADSORPTION.FOOTPRINT_CENTER,we.PCB_FOOTPRINT.ADSORPTION.FOOTPRINT_ORIGIN,we.PCB_FOOTPRINT.ADSORPTION.PAD_CENTER,we.PCB_FOOTPRINT.ADSORPTION.VIA_CENTER,we.PCB_FOOTPRINT.ADSORPTION.TRACK_CENTER,we.PCB_FOOTPRINT.ADSORPTION.OUTLINE_OBJECT,we.PCB_FOOTPRINT.ADSORPTION.ENDPOINT,we.PCB_FOOTPRINT.ADSORPTION.MIDPOINT,we.PCB_FOOTPRINT.ADSORPTION.INTERSECTION,we.PCB_FOOTPRINT.ADSORPTION.ARC_CIRCLE_CENTER_POINT,we.PCB_FOOTPRINT.ADSORPTION.PERPENDICULAR_FOOT,we.PCB_FOOTPRINT.ADSORPTION.TANGENT_POINT,we.PCB_FOOTPRINT.ADSORPTION.REGION_CENTER,we.PCB_FOOTPRINT.ADSORPTION.LINE_CENTER,we.PCB_FOOTPRINT.ADSORPTION.PAD_VERTICES,we.PCB_FOOTPRINT.ADSORPTION.PAD_EDGES]},PANEL_CANVAS:{PANEL_CANVAS_GENERAL:[we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.GRID_TYPE,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.GRID_DOT,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.GRID,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.NONE,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.NONE,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.MM,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.MM,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.DEFAULT_GRID_SIZE,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.ALT_SNAP,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.CROSS_CURSOR,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.BIG,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.SMALL,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.ALWAYS_SHOW_CROSS_CURSOR,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.COPY_CUT,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.NO_SELECT_REFERENCE_POINT,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.SELECT_REFERENCE_POINT,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.OTHER,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.SHOW_RULER,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.CTRL_DRAG_TO_COPY,we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.WARNING_PROMT],PANEL_THEME:[we.PANEL_CANVAS.PANEL_THEME.OBJECT,we.PANEL_CANVAS.PANEL_THEME.COLOR_STROKE_COLOR,we.PANEL_CANVAS.PANEL_THEME.FILL_COLOR,we.PANEL_CANVAS.PANEL_THEME.FONT,we.PANEL_CANVAS.PANEL_THEME.LINE_STYLE,we.PANEL_CANVAS.PANEL_THEME.BACKGROUND,we.PANEL_CANVAS.PANEL_THEME.GRID,we.PANEL_CANVAS.PANEL_THEME.SELECTION,we.PANEL_CANVAS.PANEL_THEME.HOVER_HIGHLIGHT,we.PANEL_CANVAS.PANEL_THEME.SHAPE,we.PANEL_CANVAS.PANEL_THEME.ELLIPTICAL_ARC,we.PANEL_CANVAS.PANEL_THEME.ELLIPSE,we.PANEL_CANVAS.PANEL_THEME.RECT,we.PANEL_CANVAS.PANEL_THEME.TEXT,we.PANEL_CANVAS.PANEL_THEME.CONSTRAINED_DIMENSION,we.PANEL_CANVAS.PANEL_THEME.ANNOTATED_DIMENSION,we.PANEL_CANVAS.PANEL_THEME.AUXILIARY_LINE,we.PANEL_CANVAS.PANEL_THEME.AUXILIARY_POINT,we.PANEL_CANVAS.PANEL_THEME.DIMENSION]},COMM_TYPEFACE:[we.COMM_TYPEFACE.TIP,we.COMM_TYPEFACE.ADD_COMMON_FONTS,we.COMM_TYPEFACE.FONT_FAMILY],DESIGN:[we.DESIGN.DRAWING_TEMPLATE],PROPERTY:[we.PROPERTY.PROPERTY,we.PROPERTY.OBJECT,we.PROPERTY.DISPLAY_IN_CANVAS],HOTKEY:[we.HOTKEY.CONFIG,we.HOTKEY.ALL,we.HOTKEY.FILE,we.HOTKEY.EDIT,we.HOTKEY.VIEW,we.HOTKEY.PLACE,we.HOTKEY.DESIGN,we.HOTKEY.ROUTE,we.HOTKEY.LAYOUT,we.HOTKEY.TOOLS,we.HOTKEY.ADVANCED,we.HOTKEY.EXPORT,we.HOTKEY.SETTINGS,we.HOTKEY.HELP,we.HOTKEY.SIM,we.HOTKEY.OTHER,we.HOTKEY.FUNCTION,we.HOTKEY.HOTKEY,we.HOTKEY.COMMAND,we.HOTKEY.THE_SCHEMATIC_SYMBOL_DOES_NOT_SUPPORT_COMMANDS_TEMPORARILY],CUSTOM_TOOLBAR:[],SAVE:[we.SAVE.AUTO_SAVE,we.SAVE.AUTO_SAVE_INTERVAL,we.SAVE.AUTO_BACKUP,we.SAVE.ENABLE,we.SAVE.ENABLE,we.SAVE.DISABLE,we.SAVE.DISABLE,we.SAVE.MAXIMUM_BACKUP,we.SAVE.AUTO_BACKUP_INTERVAL,we.SAVE.MINUTES,we.SAVE.MINUTES,we.SAVE.FIVE_SIXTY]},KK={PCB_SHOW:"setting-pcbshow",OBJECT:"theme",SYSTEM_GENERAL:"System-setting"};var Or=(g=>(g[g.ALL=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]]="ALL",g[g.BLANKTAB=0]="BLANKTAB",g[g.HOME=1]="HOME",g[g.SCH=2]="SCH",g[g.SYMBOL=3]="SYMBOL",g[g.PCB=4]="PCB",g[g.FOOTPRINT=5]="FOOTPRINT",g[g.PANEL=6]="PANEL",g[g.VIEW3D=7]="VIEW3D",g[g.VIEW2D=8]="VIEW2D",g[g.PANELVIEW3D=9]="PANELVIEW3D",g[g.PANEL_LIB=10]="PANEL_LIB",g[g.ASSEMBLYVARIANT=11]="ASSEMBLYVARIANT",g[g.NGSCPIE=12]="NGSCPIE",g[g.SIMULIDE=13]="SIMULIDE",g[g.WAVEFORM=14]="WAVEFORM",g))(Or||{}),Gt=[1,2,3,4,5];var xbt={convertToBoard:{range:[4],scene:[2],funcE:"Generate Board Shape from Selection",cmdEditDisable:!0,hotkeyEditDisable:!1},convertToLineFromBoard:{range:[4],scene:[2,3],funcE:"Generate Lines from Board Shape",cmdEditDisable:!0,hotkeyEditDisable:!1},"opensubmenu-boardshape":{range:[4],scene:[2,3],funcE:"Board Shape",cmdEditDisable:!0,hotkeyEditDisable:!1},place:{range:[4,5,2,3],scene:[3,5,6],funcE:"Place",cmdEditDisable:!0,hotkeyEditDisable:!1},PlaceViaFence:{range:[4],scene:[2,3],funcE:"Via Fence",cmdEditDisable:!0,hotkeyEditDisable:!1},pcbOptimizedPath:{range:[4],scene:[2,3,4,5,1],funcE:"Gloss Selected Track",cmdEditDisable:!0,hotkeyEditDisable:!1},"openMenu(#mm-common-file)":{range:Or.ALL,scene:[2,3,4,5,1],funcE:"File Menu",cmdEditDisable:!0,hotkeyEditDisable:!1},"opensubmenu-new":{range:Or.ALL,scene:Gt,funcE:"New",hotkeyEditDisable:!1,cmdEditDisable:!0},newProject:{range:Or.ALL,scene:Gt,funcE:"New - Project",cmdEditDisable:!0},new_board:{range:[2,6,4,0],scene:Gt,funcE:"New - Board",cmdEditDisable:!0},new_schematic:{range:[2,6,4,0],scene:Gt,funcE:"New - Schematic",cmdEditDisable:!0},new_page:{range:[2],scene:Gt,funcE:"New - Page",cmdEditDisable:!0},new_PCB:{range:[2,6,4,0],scene:Gt,funcE:"New - PCB",cmdEditDisable:!0},new_Panel:{range:[2,6,4,0],scene:Gt,funcE:"New - Panel",cmdEditDisable:!0},new_device:{range:Or.ALL,scene:Gt,funcE:"New - Component",cmdEditDisable:!0},new_schematicLib:{range:Or.ALL,scene:Gt,funcE:"New - Symbol",cmdEditDisable:!0},new_footprint:{range:Or.ALL,scene:Gt,funcE:"New - Footprint",cmdEditDisable:!0},new_3D_model:{range:Or.ALL,scene:Gt,funcE:"New - 3D Model",cmdEditDisable:!0},new_Drawing:{range:Or.ALL,scene:Gt,funcE:"New - Drawing",cmdEditDisable:!0},new_NetFlag:{range:Or.ALL,scene:Gt,funcE:"New - Netflag",cmdEditDisable:!0},new_NetPort:{range:Or.ALL,scene:Gt,funcE:"New - Netport",cmdEditDisable:!0},new_OffPageConnector:{range:Or.ALL,scene:Gt,funcE:"New - Off Page Connector",cmdEditDisable:!0},new_Non_Electronic:{range:Or.ALL,scene:Gt,funcE:"New - Non-Electronic Flag",cmdEditDisable:!0},"partTree(newPart)":{range:[3],scene:Gt,funcE:"New - Part",cmdEditDisable:!0},new_CBB:{range:Or.ALL,scene:Gt,funcE:"New - Reuse Block",cmdEditDisable:!0},open_create_panel_lib_dialog:{range:Or.ALL,scene:Gt,funcE:"New - Panel Lib",cmdEditDisable:!0,publishName:"ui_hotkey"},standard_edition_migration:{range:Or.ALL,scene:Gt,funcE:"Migrate Standard",cmdEditDisable:!0},openProject:{range:Or.ALL,scene:Gt,funcE:"Open Project",hotkeyEditDisable:!1,cmdEditDisable:!0},file_save:{range:[10,10,2,3,6,4,5],scene:[2,3,4,5,1],funcE:"Save",cmdEditDisable:!0},save_all:{range:[4,2,0,6,8,7,9,3,5,10,11,12,13],scene:[2,3,4,5,1],funcE:"Save All",cmdEditDisable:!0},"opensubmenu-saveas":{range:[10,2,3,6,4,5,0,11],scene:Gt,funcE:"Save as",cmdEditDisable:!0},projectSaveAsCloud:{range:[10,0,2,3,6,4,5,11],scene:Gt,funcE:"Project Save as",cmdEditDisable:!0},projectSaveAsLocal:{range:[10,0,2,3,6,4,5,11],scene:Gt,funcE:"Project Save as(Local)",cmdEditDisable:!0},docSaveAsCloud:{range:[2,3,6,4,5],scene:Gt,funcE:"Document Save as",cmdEditDisable:!0},docSaveAsLocal:{range:[2,3,6,4,5],scene:Gt,funcE:"Document Save as(Local)",cmdEditDisable:!0},selectedBSSaveAsCloud:{range:[4],scene:Gt,funcE:"Save as Reuse Block Based on Selected",cmdEditDisable:!0},selectedBSSaveAsLocal:{range:[4],scene:Gt,funcE:"Save as Reuse Block(Local) Based on Selected",cmdEditDisable:!0},backup:{range:[10,0,2,3,6,4,5],scene:Gt,funcE:"Backup",cmdEditDisable:!0},cacheRecovery:{range:Or.ALL,scene:Gt,funcE:"Cache Recovery",cmdEditDisable:!0},"opensubmenu-import":{range:[1,2,3,4,5,6,11],scene:Gt,funcE:"Import",cmdEditDisable:!0},importDXF:{range:[10,4,5,6],scene:Gt,funcE:"Import DXF",cmdEditDisable:!0},insertImage:{range:[10,6,4,2,3,5],scene:Gt,funcE:"Import Image",cmdEditDisable:!0},"importFile(easyeda)":{range:Or.ALL,scene:Gt,funcE:"Import JLCEDA(Standard)",cmdEditDisable:!0},file_open:{range:Or.ALL,scene:Gt,funcE:"Import JLCEDA(Professional)",cmdEditDisable:!0},"importFile(altium)":{range:Or.ALL,scene:Gt,funcE:"Import Altium Designer",cmdEditDisable:!0},"importFile(eagle)":{range:Or.ALL,scene:Gt,funcE:"Import EAGLE",cmdEditDisable:!0},"importFile(kicad)":{range:Or.ALL,scene:Gt,funcE:"Import KiCad",cmdEditDisable:!0},"importFile(pads)":{range:Or.ALL,scene:Gt,funcE:"Import PADS",cmdEditDisable:!0},"importFile(protel)":{range:Or.ALL,scene:Gt,funcE:"Import Protel",cmdEditDisable:!0},"importFile(ltspice)":{range:Or.ALL,scene:Gt,funcE:"Import LTspice",cmdEditDisable:!0},importNetlist:{range:[4,6,10],scene:Gt,funcE:"Import Netlist",cmdEditDisable:!0},importSes:{range:[4,6,10],scene:Gt,funcE:"Import Autoroute File(SES)",cmdEditDisable:!0},"openMenu(#mm-common-fabrication2)":{range:[2,4,6,0,8,7,9],scene:[2,3,4,5,1],funcE:"Export Menu",hotkeyEditDisable:!1,cmdEditDisable:!0},"opensubmenu-export":{range:[4,2,0,6,8,7,9,9,10,11],scene:Gt,funcE:"Export",cmdEditDisable:!0},exportBOM:{range:[0,4,2,11],scene:Gt,funcE:"Export Bill of Materials(BOM)",cmdEditDisable:!0},pcb_fabrication:{range:[4],scene:Gt,funcE:"Export PCB Fabrication File(Gerber)",cmdEditDisable:!0},pcb_export_coordinate_file:{range:[4],scene:Gt,funcE:"Export Pick and Place File",cmdEditDisable:!0},export3DFile:{range:[4,7],scene:Gt,funcE:"Export 3D File",cmdEditDisable:!0},export3DShellFile:{range:[4,7],scene:Gt,funcE:"Export 3D Shell File",cmdEditDisable:!0},openDxfExportDlg:{range:[4,5,2],scene:Gt,funcE:"Export DXF",cmdEditDisable:!0},"export(panelSVG)":{range:[6,2],scene:Gt,funcE:"Export SVG",cmdEditDisable:!0},"export(filePdf)":{range:[0,4,2,6],scene:Gt,funcE:"Export PDF",cmdEditDisable:!0},exportTestPointReport:{range:[4],scene:Gt,funcE:"Export Test Point Report",cmdEditDisable:!0},exportNetlist:{range:[0,2],scene:Gt,funcE:"Export Netlist",cmdEditDisable:!0},exportManufacturingFilesForOneClick:{range:[4,7],scene:Gt,funcE:"One-click Export Manufacturing Files",cmdEditDisable:!0},"export(altium)":{range:[0,2,4,3,5],scene:Gt,funcE:"Export Altium Designer",cmdEditDisable:!0},"export(pads)":{range:[0,2,4,3,5],scene:Gt,funcE:"Export Pads",cmdEditDisable:!0},exportDSN:{range:[0,2,4,3,5],scene:Gt,funcE:"Export Autoroute File(DSN)",cmdEditDisable:!0},printPDF:{range:[4,2,0,6,10],scene:Gt,funcE:"Print",cmdEditDisable:!0},closeProject:{range:[0,2,4,3,5,6,8,7,9,10,11],scene:Gt,funcE:"Close All",cmdEditDisable:!0},"opensubmenu-recent":{range:Or.ALL,scene:Gt,funcE:"Recent Projects",cmdEditDisable:!0},clearRecentList:{range:Or.ALL,scene:Gt,funcE:"Clear Recent Projects",cmdEditDisable:!0},recycleBin:{range:[0,2,4,6],scene:Gt,funcE:"Recycle Bin",cmdEditDisable:!0,publishName:"ui_hotkey"},"source(easyEDA)":{range:[10,0,2,4,3,5,6],scene:Gt,funcE:"File Source",cmdEditDisable:!0},"openMenu(#mm-common-edit)":{range:[10,2,3,4,5,6,0,11,12],scene:Gt,funcE:"Edit Menu",hotkeyEditDisable:!1,cmdEditDisable:!0},undo:{range:[10,2,3,6,4,5,11,12,13],scene:[2,3,1,6],funcE:"Undo",cmdEditDisable:!0},redo:{range:[10,2,3,6,4,5,11,13,12],scene:[2,3,1,6],funcE:"Redo",cmdEditDisable:!0},repeat:{range:[10,2,3,6],scene:[2,3,1],funcE:"Repeat",cmdEditDisable:!0},cut:{range:[10,2,3,6,4,5,13,12],scene:[2],funcE:"Cut",cmdEditDisable:!0},copy:{range:[10,2,3,6,4,5,12,13],scene:[2],funcE:"Copy",cmdEditDisable:!0},paste:{range:[10,2,3,6,4,5,12,13],scene:[2,3,5,4],funcE:"Paste",cmdEditDisable:!0},PasteAsPlainText:{range:[2,3],scene:[2],funcE:"Paste As Plain Text",cmdEditDisable:!0},pasteInPlace:{range:[10,6],scene:[2,3,5,4],funcE:"Paste In Place",cmdEditDisable:!0},"opensubmenu-duplicate":{range:[4,5],scene:[3,2,1],funcE:"Duplicate(PCB)",cmdEditDisable:!0},"opensubmenu-duplicate-panel":{range:[10,6],scene:[3,2,1],funcE:"Duplicate(Panel)",cmdEditDisable:!0},duplicateToCursor:{range:[10,2,3,6,4,5,12,13],scene:[2],funcE:"Duplicate - Duplicate to Cursor",cmdEditDisable:!0},duplicatePaste:{range:[10,6],scene:[2],funcE:"Duplicate - Duplicate to the Original Position",cmdEditDisable:!0},duplicateToOtherLayer:{range:[4,5],scene:[2],funcE:"Duplicate - Duplicate to Other Layer",cmdEditDisable:!0},copySpecial:{range:[4,5],scene:[2,3,4,5,6],funcE:"Copy Special",cmdEditDisable:!0},copyToImage:{range:[4,5],scene:[2],funcE:"Copy as an image",cmdEditDisable:!0},copyToSvg:{range:[4,5],scene:[2],funcE:"Copy as SVG",cmdEditDisable:!0},copyToPng:{range:[4,5],scene:[2],funcE:"Copy as PNG",cmdEditDisable:!0},"opensubmenu-move":{range:[4,5],scene:[2],funcE:"Move",cmdEditDisable:!0},MOVE_BY_CENTER_POINT:{range:[4,5,2,3],scene:[2,3],funcE:"Move - Move by Center Point",cmdEditDisable:!0},MOVE_BY_ORIGIN_POINT:{range:[4,5,2,3],scene:[2,3],funcE:"Move - Move by Origin Point",cmdEditDisable:!0},MOVE_BY_REFERENCE_POINT:{range:[4,5,2,3],scene:[2,3],funcE:"Move - Move by Reference Point",hotkeyEditDisable:!1,cmdEditDisable:!0},"opensubmenu-delete":{range:[10,2,3,6,4,5],scene:Gt,funcE:"Delete",cmdEditDisable:!0},Delete:{range:[10,2,3,6,4,5,12,13],scene:[2],funcE:"Delete - Selected",cmdEditDisable:!0},"delete-target":{range:[10,4,5,2,3,6],scene:Gt,funcE:"Delete - Objects",cmdEditDisable:!0},"delete-all":{range:[10,4,5,2,3,6],scene:Gt,funcE:"Delete - All",cmdEditDisable:!0},toggleAdsorb:{range:[4,5,2,3,12,13],scene:[2,3,4,5],funcE:"Snap",hotkeyEditDisable:!1,cmdEditDisable:!0},"opensubmenu-selectobj":{range:[10,2,3,6,4,5],scene:Gt,funcE:"Select Objects",cmdEditDisable:!0},select_all:{range:[10,2,3,6,4,5,13,12],scene:[2,3],funcE:"Select Objects - All",cmdEditDisable:!0},rectangleInside:{range:[10,4,5,2,3,6],scene:[2,3],funcE:"Select Objects - Rectangle Inside",cmdEditDisable:!0},rectangleOutside:{range:[10,4,5,2,3,6],scene:[2,3],funcE:"Select Objects - Rectangle Outside",cmdEditDisable:!0},polygonInside:{range:[10,4,5,2,3,6],scene:[2,3],funcE:"Select Objects - Polygon Inside",cmdEditDisable:!0},polygonOutside:{range:[10,4,5,2,3,6],scene:[2,3],funcE:"Select Objects - Polygon Outside",cmdEditDisable:!0},lineTouched:{range:[10,4,5,2,3,6],scene:[2,3],funcE:"Select Objects - Line Touched",cmdEditDisable:!0},connectedCopper:{range:[4],scene:[2,3,4,5],funcE:"Select Objects - Connected Copper",cmdEditDisable:!0},continuousSelection:{range:[10,4,5,2,3,6],scene:[2,3],funcE:"Select Objects - Toggle Selection",cmdEditDisable:!0},editArray:{range:[10,4,5,2,3,6],scene:[2],funcE:"Array Objects",cmdEditDisable:!0},ADD_FILLET:{range:[4,5],scene:[2],funcE:"Add Fillet",cmdEditDisable:!0},ADD_CHAMFER:{range:[4,5],scene:[2],funcE:"Add Chamfer",cmdEditDisable:!0},boolAggregate:{range:[10,6,4],scene:[2],funcE:"Boolean Operation - Merge Areas",cmdEditDisable:!0},boolSubtraction:{range:[10,6,4],scene:[2],funcE:"Boolean Operation - Subtract Top Area",cmdEditDisable:!0},boolIntersection:{range:[10,6,4],scene:[2],funcE:"Boolean Operation - Preserve overlapping areas",cmdEditDisable:!0},boolExclusive:{range:[10,6,4],scene:[2],funcE:"Boolean Operation - Exclude Overlapping Areas",cmdEditDisable:!0},boolSplit:{range:[4],scene:[2],funcE:"Boolean Operation - Split Area with Holes",cmdEditDisable:!0},findObjects:{range:[0,2,3,6,4,5],scene:[4,3,5,2,1],funcE:"Find and Replace",cmdEditDisable:!0},findSimilar:{range:[2,3],scene:[2,3,4,5],funcE:"Find Similar Objects",cmdEditDisable:!0},unlockAll:{range:[4,5],scene:[2,3,1],funcE:"Unlock All",cmdEditDisable:!0},"openMenu(#mm-common-view)":{range:Or.ALL,scene:[2,3,4,5,1],funcE:"View Menu",hotkeyEditDisable:!1,cmdEditDisable:!0},Preview2D:{range:[10,6,4,5],scene:Gt,funcE:"2D Preview",cmdEditDisable:!0},Preview3D:{range:[10,6,4,5],scene:Gt,funcE:"3D Preview",cmdEditDisable:!0},Preview3DInNewWindow:{range:[4],scene:Gt,funcE:"3D Shell Preview",cmdEditDisable:!0},"zoom(in)":{range:[8,9,2,3,6,4,5,10],scene:[2,3,4,5],funcE:"Zoom In",cmdEditDisable:!0},"zoom(out)":{range:[8,9,2,3,6,4,5,10],scene:[2,3,4,5],funcE:"Zoom Out",cmdEditDisable:!0},fitview:{range:[10,8,2,3,6,4,5,14,12,13],scene:[2,3,4,5],funcE:"Zoom To Fit",cmdEditDisable:!0},adaptSelectionView:{range:[10,2,3,6,4,5],scene:[2],funcE:"Fit Selection View",cmdEditDisable:!0},adaptAreaSelectionView:{range:[10,2,3,6,4,5],scene:[2,3],funcE:"Fit Area Selection View",cmdEditDisable:!0},fitBoard:{range:[4],scene:Gt,funcE:"Fit Board Outline View",cmdEditDisable:!0},full_screen:{range:Or.ALL,scene:[4,1,3,5,2],funcE:"Full Screen",hotkeyEditDisable:!0,cmdEditDisable:!0},"switchView(normal)":{range:[4,5],scene:Gt,funcE:"Normal View",cmdEditDisable:!0},"switchView(outline)":{range:[4,5],scene:Gt,funcE:"Outline View",cmdEditDisable:!0},"brightness(0)":{range:[4,5],scene:Gt,funcE:"Normal Brightness",cmdEditDisable:!0},"brightness(1)":{range:[4,5],scene:Gt,funcE:"Inactive Layer Turns Grey",cmdEditDisable:!0},"brightness(2)":{range:[4,5],scene:Gt,funcE:"Inactive Layer hiding",cmdEditDisable:!0},"Flip Board":{range:[4,8],scene:[2,3,4,5],funcE:"Flip Board",cmdEditDisable:!0},Unit:{range:[4,5,2,3],scene:[2,3,4,5],funcE:"Unit",cmdEditDisable:!0},"opensubmenu-gridsize-pcb":{range:[8,4,5],scene:Gt,funcE:"Grid Size(PCB)",cmdEditDisable:!0},"opensubmenu-gridsize":{range:[10,2,3,6],scene:Gt,funcE:"Grid Size(Schematic\u3001Panel)",cmdEditDisable:!0},"switchGridSizeBtn(size_0.1)":{range:[10,2,3],scene:Gt,funcE:"Grid Size 0.1/mm",cmdEditDisable:!0},"switchGridSizeBtn(size_0.05)":{range:[2,3],scene:Gt,funcE:"Grid Size 0.05/mm",cmdEditDisable:!0},"switchGridSizeBtn(size_0.01)":{range:[2,3],scene:Gt,funcE:"Grid Size 0.01/mm",cmdEditDisable:!0},"switchGridSizeBtn(size_1)":{range:[10,6],scene:Gt,funcE:"Grid Size 1mm",cmdEditDisable:!0},"switchGridSizeBtn(size_0.5)":{range:[10,6],scene:Gt,funcE:"Grid Size 0.5mm",cmdEditDisable:!0},"opensubmenu-snapsize":{range:[8,4,5],scene:Gt,funcE:"Snap Size",cmdEditDisable:!0},gridSnapKeepRatio:{range:[8,4,5],scene:Gt,funcE:"Grid/Snap Keep Ratio",cmdEditDisable:!0},setGridSize:{range:[8,4,5],scene:Gt,funcE:"Common Grid/Snap Setting",cmdEditDisable:!0},setGridRange:{range:[8,4,5],scene:Gt,funcE:"Grid Range Setting(Polar Coordinate System)",cmdEditDisable:!0},"opensubmenu-gridtype-pcb":{range:[8,4,5],scene:Gt,funcE:"Grid Type(PCB)",cmdEditDisable:!0},"opensubmenu-gridtype":{range:[10,2,3,6],scene:Gt,funcE:"Grid Type(Schematic\u3001Panel)",cmdEditDisable:!0},"switchGridType(outlets)":{range:[10,8,2,3,6,4,5],scene:Gt,funcE:"Grid Dot",cmdEditDisable:!0},"switchGridType(grid)":{range:[10,8,2,3,6,4,5],scene:Gt,funcE:"Grid",cmdEditDisable:!0},"switchGridType(none)":{range:[10,8,2,3,6,4,5],scene:Gt,funcE:"None",cmdEditDisable:!0},"opensubmenu-ratline":{range:[4],scene:[2,3,1],funcE:"Ratline",cmdEditDisable:!0},showOrHideSelectedObjRatline:{range:[4],scene:[2],funcE:"Ratline - Show/Hide Selected",cmdEditDisable:!0},hideSelectedComponentRatline:{range:[4],scene:[2],funcE:"Ratline - Hide Component Ratlines",cmdEditDisable:!0},hideAllRatline:{range:[4],scene:Gt,funcE:"Ratline - Hide All",cmdEditDisable:!0},showSelectedComponentRatline:{range:[4],scene:[2],funcE:"Ratline - Show Component Ratlines",cmdEditDisable:!0},showAllRatline:{range:[4],scene:Gt,funcE:"Ratline - Show All",cmdEditDisable:!0},"opensubmenu-highlight-pcb":{range:[4],scene:[2,3,1],funcE:"Highlight(PCB)",cmdEditDisable:!0},"opensubmenu-highlight-sch":{range:[2],scene:[2,3,1],funcE:"Highlight(Schematic)",cmdEditDisable:!0},highlightConnectedsByWire:{range:[2,4],scene:[2],funcE:"Highlight - Highlight/Unhighlight Net",cmdEditDisable:!0},HIGHLIGHT_COMPONENT:{range:[4],scene:[2],funcE:"Highlight - Highlight Component",cmdEditDisable:!0},HIGHLIGHT_SELECTED_OBJECTS:{range:[4],scene:[2],funcE:"Highlight - Highlight Selected",cmdEditDisable:!0},HIGHLIGHT_CANCEL_COMPONENT:{range:[4],scene:[2],funcE:"Highlight - Unhighlight Component",cmdEditDisable:!0},HIGHLIGHT_CANCEL_SELECTED_OBJECTS:{range:[4],scene:[2],funcE:"Highlight - Unhighlight Selected",cmdEditDisable:!0},UnhighlightSelectedObjects:{range:[2,4,5],scene:[3,4,5],funcE:"Highlight - Unhighlight All",cmdEditDisable:!0},INCREASE_BRIGHTNESS:{range:[4,5],scene:[3,2,4,5],funcE:"Increase Brightness",cmdEditDisable:!0},DECREASE_BRIGHTNESS:{range:[4,5],scene:[3,2,4,5],funcE:"Decrease Brightness",cmdEditDisable:!0},"toolbar_toggle(topbar)":{range:[2,3,6,4,5,0,8,7,9,10,11],scene:Gt,funcE:"Top Toolbar",cmdEditDisable:!0},"toolbar_toggle(leftbar)":{range:[8,7,0,2,3,6,4,5,9,10,11,1],scene:Gt,funcE:"Expand/Collapse Left Panel",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"toolbar_toggle(rightbar)":{range:[8,7,0,2,3,6,4,5,9,10,11],scene:Gt,funcE:"Expand/Collapse Right Panel",hotkeyEditDisable:!1,cmdEditDisable:!0},operateBottomPanel:{range:Or.ALL,scene:Gt,funcE:"Expand/Collapse Bottom Panel",cmdEditDisable:!0,publishName:"ui_hotkey"},"openMenu(#mm-common-place)":{range:[10,2,3,4,5,6,0,12,13],scene:[2,3,4,5,1],funcE:"Place Menu",hotkeyEditDisable:!1,cmdEditDisable:!0},PlaceVia:{range:[4,5],scene:[2,3,4,5],funcE:"Place Via",cmdEditDisable:!0},"opensubmenu-suturevias":{range:[4],scene:Gt,funcE:"Suture Vias",cmdEditDisable:!0},"draw(rectSutureVia)":{range:[4],scene:Gt,funcE:"Suture Vias - Rectangle",cmdEditDisable:!0},"draw(polygonSutureVia)":{range:[4],scene:Gt,funcE:"Suture Vias - Polygon",cmdEditDisable:!0},"draw(lineSutureVia)":{range:[4],scene:Gt,funcE:"Suture Vias - Line",cmdEditDisable:!0},"opensubmenu-pad":{range:[5],scene:[2,3,4,5],funcE:"Place Pad",cmdEditDisable:!0},PlaceSinglePad:{range:[4,5],scene:[2,3,4,5],funcE:"Place Single Pad",cmdEditDisable:!0},"place_part(line_pads)":{range:[5],scene:Gt,funcE:"Place Line Pads",cmdEditDisable:!0},"place_part(rect_pads)":{range:[5],scene:Gt,funcE:"Place Rectangle Pads",cmdEditDisable:!0},"place_part(polygonpad)":{range:[4,5],scene:Gt,funcE:"Place Shaped Pad",cmdEditDisable:!0},"opensubmenu-boardoutline":{range:[4],scene:Gt,funcE:"Board Outline",cmdEditDisable:!0},"draw(ROutline)":{range:[4],scene:Gt,funcE:"Board Outline - Rectangle",cmdEditDisable:!0},"draw(POutline)":{range:[4],scene:Gt,funcE:"Board Outline - Polygon",cmdEditDisable:!0},"draw(COutline)":{range:[4],scene:Gt,funcE:"Board Outline - Circle",cmdEditDisable:!0},copperRegion:{range:[4],scene:Gt,funcE:"Copper Region",cmdEditDisable:!0},"draw(RCopper)":{range:[4],scene:Gt,funcE:"Copper Region - Rectangle",cmdEditDisable:!0},"draw(PCopper)":{range:[4],scene:[2,3,4,5],funcE:"Copper Region - Polygon",hotkeyEditDisable:!1,cmdEditDisable:!0},"draw(CCopper)":{range:[4],scene:Gt,funcE:"Copper Region - Circle",cmdEditDisable:!0},fillRegion:{range:[4,5],scene:Gt,funcE:"Fill Region",cmdEditDisable:!0},"draw(RRegion)":{range:[4,5],scene:Gt,funcE:"Fill Region - Rectangle",cmdEditDisable:!0},"draw(PRegion)":{range:[4,5],scene:Gt,funcE:"Fill Region - Polygon",cmdEditDisable:!0},"draw(CRegion)":{range:[4,5],scene:Gt,funcE:"Fill Region - Circle",cmdEditDisable:!0},"opensubmenu-slotRegion":{range:[4,5],scene:Gt,funcE:"Slot Region",cmdEditDisable:!0},"draw(RSlot)":{range:[4,5],scene:Gt,funcE:"Slot Region - Rectangle",cmdEditDisable:!0},"draw(PSlot)":{range:[4,5],scene:Gt,funcE:"Slot Region - Polygon",cmdEditDisable:!0},"draw(CSlot)":{range:[4,5],scene:Gt,funcE:"Slot Region - Circle",cmdEditDisable:!0},prohibitedRegion:{range:[4],scene:Gt,funcE:"Prohibited Region",cmdEditDisable:!0},"draw(RProhibit)":{range:[4],scene:Gt,funcE:"Prohibited Region - Rectangle",cmdEditDisable:!0},"draw(PProhibit)":{range:[4],scene:Gt,funcE:"Prohibited Region - Polygon",cmdEditDisable:!0},"draw(CProhibit)":{range:[4],scene:Gt,funcE:"Prohibited Region - Circle",cmdEditDisable:!0},"opensubmenu-drawline":{range:Or.ALL,scene:[1,2,3,4,5,6],funcE:"Draw Line",cmdEditDisable:!0},"opensubmenu-panel-arc":{range:[10,6],scene:[1,2,3,4,5],funcE:"Draw Arc",cmdEditDisable:!0},"draw(polyline)":{range:[2,3,4,5,12,13],scene:[2,3,4,5],funcE:"Line - Polyline",cmdEditDisable:!0},"draw(arcCenter)":{range:[4,5,6,10],scene:[2,3,4,5],funcE:"Line - Center Arc",hotkeyEditDisable:!1,cmdEditDisable:!0},"draw(arc2)":{range:[4,5,6,10],scene:Gt,funcE:"Line - Two Points Arc",cmdEditDisable:!0},"draw(arc)":{range:[2,3,4,5,6,10,12,13],scene:Gt,funcE:"Line - Three Points Arc",cmdEditDisable:!0},"draw(circle)":{range:[10,2,3,6,4,5,12,13],scene:[2,3,4,5],funcE:"Line - Circle",cmdEditDisable:!0},"draw(rect)":{range:[10,2,3,6,4,5,12,13],scene:[2,3,4,5],funcE:"Line - Rectangle",cmdEditDisable:!0},placeDevice:{range:[2,4,12,13],scene:[2,3,4,5],funcE:"Place Device",cmdEditDisable:!0},"opensubmenu-shortcutDevice":{range:[2],scene:[2,3,4,5],funcE:"Shortcut Device",cmdEditDisable:!0},"place_shortcut_device(resistor)":{range:[2],scene:[2,3,4,5],funcE:"Shortcut Device - Resistor",cmdEditDisable:!0},"place_shortcut_device(capacitor)":{range:[2],scene:[2,3,4,5],funcE:"Shortcut Device - Capacitor",cmdEditDisable:!0},"place_shortcut_device(inductor)":{range:[2],scene:[2,3,4,5],funcE:"Shortcut Device - Inductor",cmdEditDisable:!0},"place_shortcut_device(diode)":{range:[2],scene:[2,3,4,5],funcE:"Shortcut Device - Diode",cmdEditDisable:!0},"place_shortcut_device(test_point)":{range:[2],scene:Gt,funcE:"Shortcut Device - Test Point",cmdEditDisable:!0},"opensubmenu-placepin":{range:[3],scene:[2,3,4,5],funcE:"Place Pin",cmdEditDisable:!0},"place_part(pin)":{range:[3],scene:[2,3,4,5],funcE:"Draw Pin",cmdEditDisable:!0},"place_part(line_pins)":{range:[3],scene:Gt,funcE:"Place Line Pins",cmdEditDisable:!0},"place_part(rect_pins)":{range:[3],scene:Gt,funcE:"Place Rectangle Pins",cmdEditDisable:!0},"draw(wire)":{range:[2,12,13],scene:[2,3,4,5],funcE:"Draw Wire",cmdEditDisable:!0},"draw(bus)":{range:[2],scene:[2,3,4,5],funcE:"Draw Bus",cmdEditDisable:!0},"place_part(netlabel)":{range:[2,12],scene:[2,3,4,5],funcE:"Draw Net Label",cmdEditDisable:!0},"place_special_part(short_symbol)":{range:[2],scene:[2,3,4,5],funcE:"Place Short Symbol",hotkeyEditDisable:!1,cmdEditDisable:!0},"opensubmenu-netflag":{range:[2],scene:[2,3,4,5],funcE:"Place Net Flag",hotkeyEditDisable:!1,cmdEditDisable:!0},"place_special_part(netflag_VCC)":{range:[2,12],scene:[2,3,4,5],funcE:"Net Flag - VCC",hotkeyEditDisable:!1,cmdEditDisable:!0},"place_special_part(netflag_5V)":{range:[2,12],scene:[2,3,4,5],funcE:"Net Flag - +5V",hotkeyEditDisable:!1,cmdEditDisable:!0},"place_special_part(netflag_gnD)":{range:[2,12,13],scene:[2,3,4,5],funcE:"Net Flag - GND",hotkeyEditDisable:!1,cmdEditDisable:!0},"place_special_part(netflag_GNd)":{range:[2,12,13],scene:[2,3,4,5],funcE:"Net Flag - AGND",cmdEditDisable:!0},"place_special_part(netflag_gNd)":{range:[2,12,13],scene:[2,3,4,5],funcE:"Net Flag - PGND",cmdEditDisable:!0},"opensubmenu-netPort":{range:[2,12],scene:[2,3,4,5],funcE:"Net Port",cmdEditDisable:!0},"place_special_part(netport_IN)":{range:[2,12],scene:[2,3,4,5],funcE:"Net Port - IN",cmdEditDisable:!0},"place_special_part(netport_OUT)":{range:[2,12],scene:[2,3,4,5],funcE:"Net Port - OUT",cmdEditDisable:!0},"place_special_part(netport_BI)":{range:[2,12],scene:[2,3,4,5],funcE:"Net Port - BI",cmdEditDisable:!0},"opensubmenu-offPageConnector":{range:[2],scene:[2,3,4,5],funcE:"Off Page Connector",cmdEditDisable:!0},"place_special_part(offPageConnector_IN)":{range:[2],scene:[2,3,4,5],funcE:"Off Page Connector - IN",cmdEditDisable:!0},"place_special_part(offPageConnector_OUT)":{range:[2],scene:[2,3,4,5],funcE:"Off Page Connector - OUT",cmdEditDisable:!0},"place_special_part(offPageConnector_BI)":{range:[2],scene:[2,3,4,5],funcE:"Off Page Connector - BI",cmdEditDisable:!0},"place_part(noconnect)":{range:[2],scene:[2,3,4,5],funcE:"Place No Connect",hotkeyEditDisable:!1,cmdEditDisable:!0},"place_part(junction)":{range:[2],scene:[2,3,4,5],funcE:"Place Junction",hotkeyEditDisable:!1,cmdEditDisable:!0},"place_part(diffPairsFlag)":{range:[2],scene:[2,3,4,5],funcE:"Place Diff Paris Flag",hotkeyEditDisable:!1,cmdEditDisable:!0},"draw(block)":{range:[2],scene:[2,3,4,5],funcE:"Place Reuse Block",hotkeyEditDisable:!1,cmdEditDisable:!0},"opensubmenu-testPad":{range:[4,5],scene:Gt,funcE:"Test Point",cmdEditDisable:!0},"place_part(testPad)":{range:[4,5],scene:Gt,funcE:"Place Test Point",cmdEditDisable:!0},"draw(maskRegion)":{range:[2],scene:[2,3,4,5],funcE:"Mask Region",cmdEditDisable:!0},openSetComponentMaskDialog:{range:[2],scene:[2,3,4],funcE:"Component Mask",cmdEditDisable:!0},"place_part(autoTestPad)":{range:[4],scene:Gt,funcE:"Auto Place Test Point...",cmdEditDisable:!0},"opensubmenu-fpcStiffener":{range:[4,5],scene:Gt,funcE:"FPC Stiffener",cmdEditDisable:!0},"draw(RectFPCStiffener)":{range:[4,5],scene:Gt,funcE:"FPC Stiffener - Rectangle",cmdEditDisable:!0},"draw(PolyFPCStiffener)":{range:[4,5],scene:Gt,funcE:"FPC Stiffener - Polygon",cmdEditDisable:!0},"draw(CirFPCStiffener)":{range:[4,5],scene:Gt,funcE:"FPC Stiffener - Circle",cmdEditDisable:!0},"draw(pen)":{range:[10,6,12,13],scene:[2,3,4,5],funcE:"Pen",hotkeyEditDisable:!1,cmdEditDisable:!0},"draw(bezier)":{range:[2,3,12,13],scene:[2,3,4,5],funcE:"Line - Bezier",cmdEditDisable:!0},"draw(ellipse)":{range:[2,3,12,13],scene:[2,3,4,5],funcE:"Line - Ellipse",cmdEditDisable:!0},showTextDialog:{range:[10,2,3,6,12,13],scene:[2,3,4,5],funcE:"Draw Text",cmdEditDisable:!0},showTextDialog_pcb:{range:[4,5],scene:Gt,funcE:"Draw PCB Text",cmdEditDisable:!0},"opensubmenu-dimension":{range:Or.ALL,scene:[1,2,3,4,5,6],funcE:"Dimension",hotkeyEditDisable:!1,cmdEditDisable:!0},"draw(dimension)":{range:[4,5,6,10,12,13],scene:[2,3,4,5],funcE:"Dimension - Length",hotkeyEditDisable:!1,cmdEditDisable:!0},"draw(protractor)":{range:[4,5,6,10],scene:Gt,funcE:"Dimension - Angle",cmdEditDisable:!0},"draw(radius)":{range:[4,5,6,10],scene:Gt,funcE:"Draw Radius Dimension",cmdEditDisable:!0},editTable:{range:[2,3,12,13],scene:Gt,funcE:"Place Table",cmdEditDisable:!0},"place_part(stack_table)":{range:[4],scene:Gt,funcE:"Place Stack Table",cmdEditDisable:!0},"place_part(drill_table)":{range:[4],scene:Gt,funcE:"Place Drill Table",cmdEditDisable:!0},"opensubmenu-canvasOrigin":{range:[10,3,6,4,5],scene:Gt,funcE:"Canvas Origin",hotkeyEditDisable:!1,cmdEditDisable:!0},"draw(origin)":{range:[10,3,6,4,5],scene:Gt,funcE:"Canvas Origin - By Cursor",publishName:"ui_hotkey",hotkeyEditDisable:!1,cmdEditDisable:!0},setOriginByCoordinate:{range:[10,3,6,4,5],scene:Gt,funcE:"Canvas Origin - By Coordinate",publishName:"ui_hotkey",hotkeyEditDisable:!1,cmdEditDisable:!0},setOriginByCenter:{range:[3],scene:Gt,funcE:"Canvas Origin - by Center Grid of Graphics",publishName:"ui_hotkey",hotkeyEditDisable:!1,cmdEditDisable:!0},setOriginByFirstPin:{range:[3],scene:Gt,funcE:"Canvas Origin - by First Pin",cmdEditDisable:!0},placeOriginCenter:{range:[5],scene:Gt,funcE:"Canvas Origin - by Center of Pads",hotkeyEditDisable:!1,cmdEditDisable:!0},placeOriginPad:{range:[5],scene:Gt,funcE:"Set Canvas Origin by First Pad",cmdEditDisable:!0},"opensubmenu-draw-dimension":{range:[6,10],scene:[3,2,4,5],funcE:"Smart Dimension",hotkeyEditDisable:!1,cmdEditDisable:!0},"draw(dimension-xy)":{range:[6,10],scene:[3,2,4,5],funcE:"Smart Dimension - Smart Dimension",hotkeyEditDisable:!1,cmdEditDisable:!0},"draw(dimension-x)":{range:[6,10],scene:[3,2,4,5],funcE:"Smart Dimension - Horizontal Dimension",hotkeyEditDisable:!1,cmdEditDisable:!0},"draw(dimension-y)":{range:[6,10],scene:[3,2,4,5],funcE:"Smart Dimension - Vertical Dimension",hotkeyEditDisable:!1,cmdEditDisable:!0},"opensubmenu-auxiliary":{range:[6,10],scene:[2,3,4,5],funcE:"Auxiliary",hotkeyEditDisable:!1,cmdEditDisable:!0},"place_auxiliary(horizontalLine)":{range:[6,10],scene:[2,3,4,5],funcE:"Auxiliary - Horizontal Auxiliary Line",hotkeyEditDisable:!1,cmdEditDisable:!0},"place_auxiliary(verticalLine)":{range:[6,10],scene:[2,3,4,5],funcE:"Auxiliary - Vertical Auxiliary Line",hotkeyEditDisable:!1,cmdEditDisable:!0},"place_auxiliary(crossLine)":{range:[6,10],scene:[2,3,4,5],funcE:"Auxiliary - Cross Auxiliary Line",hotkeyEditDisable:!1,cmdEditDisable:!0},"place_auxiliary(point)":{range:[6,10],scene:[2,3,4,5],funcE:"Auxiliary - Auxiliary Point",hotkeyEditDisable:!1,cmdEditDisable:!0},"opensunmenu-3dShellOutline":{range:[4],scene:Gt,funcE:"3D Shell - Outline",cmdEditDisable:!0},"draw(R3dShellOutline)":{range:[4],scene:Gt,funcE:"3D Shell - Outline - Rectangle",cmdEditDisable:!0},"draw(C3dShellOutline)":{range:[4],scene:Gt,funcE:"3D Shell - Outline - Circle",cmdEditDisable:!0},"draw(P3dShellOutline)":{range:[4],scene:Gt,funcE:"3D Shell - Outline - Polygon",cmdEditDisable:!0},"place_part(3dShellScrewPillar)":{range:[4],scene:Gt,funcE:"3D Shell - Screw Pillar",cmdEditDisable:!0},"draw(3dShellSideSlotDatumLine)":{range:[4],scene:Gt,funcE:"3D Shell - Side Datum Line",cmdEditDisable:!0},"opensubmenu-3DShellSideSlotRegion":{range:[4],scene:Gt,funcE:"3D Shell - Side Slot Region",cmdEditDisable:!0},"draw(R3dShellSideSlotRegion)":{range:[4],scene:Gt,funcE:"3D Shell - Side Slot Region - Rectangle",cmdEditDisable:!0},"draw(C3dShellSideSlotRegion)":{range:[4],scene:Gt,funcE:"3D Shell - Side Slot Region - Circle",cmdEditDisable:!0},"draw(P3dShellSideSlotRegion)":{range:[4],scene:Gt,funcE:"3D Shell - Side Slot Region - Polygon",cmdEditDisable:!0},"opensubmenu-3DShell-Top_Bottom-SlotRegion":{range:[4],scene:Gt,funcE:"3D Shell - Top/Bottom Slot Region",cmdEditDisable:!0},"draw(R3dShellTopSlotRegion)":{range:[4],scene:Gt,funcE:"3D Shell - Top/Bottom Slot Region - Rectangle",cmdEditDisable:!0},"draw(C3dShellTopSlotRegion)":{range:[4],scene:Gt,funcE:"3D Shell - Top/Bottom Slot Region - Circle",cmdEditDisable:!0},"draw(P3dShellTopSlotRegion)":{range:[4],scene:Gt,funcE:"3D Shell - Top/Bottom Slot Region - Polygon",cmdEditDisable:!0},"opensubmenu-3DShell-SideEntity":{range:[4],scene:Gt,funcE:"3D Shell - Side Entity",cmdEditDisable:!0},"draw(R3dShellSideEntity)":{range:[4],scene:Gt,funcE:"3D Shell - Side Entity - Rectangle",cmdEditDisable:!0},"draw(C3dShellSideEntity)":{range:[4],scene:Gt,funcE:"3D Shell - Side Entity - Circle",cmdEditDisable:!0},"draw(P3dShellSideEntity)":{range:[4],scene:Gt,funcE:"3D Shell - Side Entity - Polygon",cmdEditDisable:!0},"opensubmenu-3DShell-TopEntity":{range:[4],scene:Gt,funcE:"3D Shell - Top/Bottom Entity",cmdEditDisable:!0},"draw(R3dShellTopBottomEntity)":{range:[4],scene:Gt,funcE:"3D Shell - Top/Bottom Entity - Rectangle",cmdEditDisable:!0},"draw(C3dShellTopBottomEntity)":{range:[4],scene:Gt,funcE:"3D Shell - Top/Bottom Entity - Circle",cmdEditDisable:!0},"draw(P3dShellTopBottomEntity)":{range:[4],scene:Gt,funcE:"3D Shell - Top/Bottom Entity - Polygon",cmdEditDisable:!0},"openMenu(#mm-common-design)":{range:[2,4,0,12,13],scene:[2,3,4,5,1],funcE:"Design Menu",hotkeyEditDisable:!1,cmdEditDisable:!0},importChangesFromSch:{range:[2,4],scene:Gt,funcE:"Import Changes from Schematic",hotkeyEditDisable:!1,cmdEditDisable:!0},importChangesFromPcb:{range:[2,4],scene:Gt,funcE:"Import Changes from PCB",hotkeyEditDisable:!1,cmdEditDisable:!0},reuseTemplateLayoutAndRoute:{range:[4],scene:Gt,funcE:"Update Place and Route from Reuse Template...",hotkeyEditDisable:!1,cmdEditDisable:!0},backToUpper:{range:[2],scene:Gt,funcE:"Back to the Upper",cmdEditDisable:!0},generateOrUpdateBlockSymbol2:{range:[2],scene:Gt,funcE:"Generate/Update Block Symbol",cmdEditDisable:!0},generateOrUpdateBlockSymbol:{range:[2],scene:Gt,funcE:"Update Pins from  Block Schematic",cmdEditDisable:!0},updateSchematicNetPort:{range:[2],scene:Gt,funcE:"Update Netports from Block Symbol",cmdEditDisable:!0},openElecRule:{range:[2],scene:Gt,funcE:"Design Rule(Schematic)",cmdEditDisable:!0},pcb_DRC:{range:[4],scene:Gt,funcE:"Design Rule(PCB)",cmdEditDisable:!0},checkERC:{range:[2,4],scene:Gt,funcE:"Check DRC",cmdEditDisable:!0},checkDRCCustom:{range:[4],scene:Gt,funcE:"Check DRC(Custom)...",cmdEditDisable:!0},clearErrors:{range:[4],scene:Gt,funcE:"Clear Errors",cmdEditDisable:!0},toggleRealTimeDRC:{range:[4],scene:Gt,funcE:"Real-Time DRC",cmdEditDisable:!0},checkDFM:{range:[4],scene:Gt,funcE:"Check DFM...",cmdEditDisable:!0},ref_designator_annotate:{range:[4,2],scene:Gt,funcE:"Annotate Designator... ",cmdEditDisable:!0},pcb_design_rule:{range:[2],scene:Gt,funcE:"PCB Design Rule",cmdEditDisable:!0},crossProbe:{range:[2,4,11],scene:[2,3,1],funcE:"Cross Probe",cmdEditDisable:!0},placeTransfer:{range:[2],scene:[2],funcE:"Placement Transfer",cmdEditDisable:!0},netClassManager:{range:[4,2],scene:Gt,funcE:"Net Class Manager",cmdEditDisable:!0},differentialPairManager:{range:[4,2],scene:Gt,funcE:"Differential Pair Manager",cmdEditDisable:!0},equalLengthGroupManager:{range:[4,2],scene:Gt,funcE:"Equal Length Group Manager",cmdEditDisable:!0},EditPadsPairGroupDialog:{range:[4],scene:Gt,funcE:"Pad Pair Group Manager",cmdEditDisable:!0},updateComponent:{range:[2,4],scene:Gt,funcE:"Update Project Library",cmdEditDisable:!0},updateReuseBlock:{range:[2,4],scene:Gt,funcE:"Update Reuse Block",cmdEditDisable:!0},resetUniqueId:{range:[2,4],scene:[2,3],funcE:"Reset Component Unique ID",cmdEditDisable:!0},projectSheetSetting:{range:[2],scene:Gt,funcE:"Drawing Presetting",cmdEditDisable:!0},"openMenu(#mm-common-route)":{range:[5,4,0],scene:[2,3,4,5,1],funcE:"Route Menu",hotkeyEditDisable:!1,cmdEditDisable:!0},SingleRouting:{range:[4],scene:[2,3,4,5],funcE:"Single Routing",cmdEditDisable:!0},MultiRouting:{range:[4],scene:[2,3,4,5],funcE:"Multiple Routing",cmdEditDisable:!0},IncreaseMultiSpace:{range:[4],scene:[6],funcE:"Increase The Bus Routing Spacing",cmdEditDisable:!0},decreaseMultiSpace:{range:[4],scene:[6],funcE:"Decrease The Bus Routing Spacing",cmdEditDisable:!0},"draw(stretchtrack)":{range:[4],scene:[2,3,5],funcE:"Stretch Track",cmdEditDisable:!0},"draw(difftrack)":{range:[4],scene:[2,3,4,5],funcE:"Differentail Pair Routing",cmdEditDisable:!0},equalLengthTuning:{range:[4],scene:[2,3,4,5],funcE:"Equal Length Tuning",cmdEditDisable:!0},diffPairEqualLengthTuning:{range:[4],scene:[2,3,4,5],funcE:"Differential Pair Equal Length Tuning",cmdEditDisable:!0},"auto-routing":{range:[4],scene:[2,3],funcE:"Auto Routing",cmdEditDisable:!0},pcbBatchFanout:{range:[4],scene:[2,3,4,5],funcE:"Fanout Routing...",cmdEditDisable:!0},changeRoutingMode:{range:[4],scene:Gt,funcE:"Change Routing Mode",hotkeyEditDisable:!1,cmdEditDisable:!0},RoutingCorner:{range:[4,5],scene:[2,3,4,5],funcE:"Routing Corner",remark:"\u5FAA\u73AF\u5207\u6362",cmdEditDisable:!0},"opensubmenu-routingWidth":{range:[4,5],scene:Gt,funcE:"Routing Width",hotkeyEditDisable:!1,cmdEditDisable:!0},"trackWidthSetting(WIRING_WIDTH_FOLLOWRULES)":{range:[4,5],scene:Gt,funcE:"Routing Width - Follow Rule",hotkeyEditDisable:!1,cmdEditDisable:!0},"trackWidthSetting(WIRING_WIDTH_RULESSETTING)":{range:[4,5],scene:Gt,funcE:"Routing Width - Rule Setting",hotkeyEditDisable:!1,cmdEditDisable:!0},removeLoop:{range:[4],scene:Gt,funcE:"Remove Loop",hotkeyEditDisable:!1,cmdEditDisable:!0},autoTrimSilkscreen:{range:[5],scene:Gt,funcE:"Auto Trim Silkscreen",hotkeyEditDisable:!1,cmdEditDisable:!0},"opensubmenu-unroute":{range:[4],scene:[2,1,3],funcE:"Unroute",hotkeyEditDisable:!1,cmdEditDisable:!0},unrouteClearConnect:{range:[4],scene:[2],funcE:"Unroute - Connection",hotkeyEditDisable:!1,cmdEditDisable:!0},unrouteClearNetwork:{range:[4],scene:Gt,funcE:"Unroute - Net",hotkeyEditDisable:!1,cmdEditDisable:!0},clearAllRoute:{range:[4],scene:Gt,funcE:"Unroute - All",hotkeyEditDisable:!1,cmdEditDisable:!0},"openMenu(#mm-common-layout)":{range:[10,2,3,4,5,6,0,12,13],scene:[2,3,4,5,1],funcE:"Layout Menu",hotkeyEditDisable:!1,cmdEditDisable:!0},autoLayout:{range:[4],scene:Gt,funcE:"Auto\xA0Component\xA0Placement",hotkeyEditDisable:!1,cmdEditDisable:!0},"opensubmenu-group":{range:[4],scene:Gt,funcE:"Group",hotkeyEditDisable:!1,cmdEditDisable:!0},groupSelected:{range:[4,5,6,10,2],scene:[2],funcE:"Group - Group Selected",cmdEditDisable:!0},joinGroup:{range:[4,5,6,10,2],scene:[2],funcE:"Group - Join Group",hotkeyEditDisable:!1,cmdEditDisable:!0},reuseLayoutRoute:{range:[4],scene:Gt,funcE:"Group - Reuse Layout Route",hotkeyEditDisable:!1,cmdEditDisable:!0},ungroupSelected:{range:[4,5,6,10,2],scene:[2],funcE:"Group - Ungroup Selected",cmdEditDisable:!0},ungroupAll:{range:[4,5,6,10],scene:Gt,funcE:"Group - Ungroup All",hotkeyEditDisable:!1,cmdEditDisable:!0},"set-attr-text-position":{range:[4,2],scene:Gt,funcE:"Property Position",hotkeyEditDisable:!1,cmdEditDisable:!0},swapLocation:{range:[4],scene:[2],funcE:"Swap Location",hotkeyEditDisable:!1,cmdEditDisable:!0},flip2OppositeSide:{range:[4],scene:[2,5],funcE:"Flip to Opposite Side",hotkeyEditDisable:!1,cmdEditDisable:!0},"opensubmenu-offset":{range:[4,5],scene:[2,3,1],funcE:"Offset",hotkeyEditDisable:!1,cmdEditDisable:!0},absoluteOffset:{range:[4,5],scene:[2],funcE:"Offset - Absolute Offset",hotkeyEditDisable:!1,cmdEditDisable:!0},relativeOffset:{range:[4,5],scene:[2],funcE:"Offset - Related Offset",hotkeyEditDisable:!1,cmdEditDisable:!0},"opensubmenu-align":{range:[10,2,3,6,4,5],scene:[2,1,3],funcE:"Align",cmdEditDisable:!0},align_left:{range:[10,2,3,6,4,5,12,13],scene:[2],funcE:"Align - Align Left",cmdEditDisable:!0},align_horizontal_center:{range:[10,2,3,6,4,5,12,13],scene:[2],funcE:"Align - Align Horizontal Centers",cmdEditDisable:!0},align_right:{range:[10,2,3,6,4,5,12,13],scene:[2],funcE:"Align - Align Right",cmdEditDisable:!0},align_top:{range:[10,2,3,6,4,5,12,13],scene:[2],funcE:"Align - Align Top",cmdEditDisable:!0},align_vertical_center:{range:[10,2,3,6,4,5,12,13],scene:[2],funcE:"Align - Align Vertical Centers",cmdEditDisable:!0},align_bottom:{range:[10,2,3,6,4,5,12,13],scene:[2],funcE:"Align - Align Bottom",cmdEditDisable:!0},align_grid:{range:[10,2,3,6,4,5,12,13],scene:[2],funcE:"Align - Align Grid",cmdEditDisable:!0},"opensubmenu-distribute":{range:[10,2,3,6,4,5],scene:[2,3,1],funcE:"Distribute",hotkeyEditDisable:!1,cmdEditDisable:!0},align_horizontal_equidistant:{range:[10,2,3,6,4,5,12,13],scene:[2],funcE:"Distribute - Distribute Horizontally",cmdEditDisable:!0},align_vertical_equidistant:{range:[10,2,3,6,4,5,12,13],scene:[2],funcE:"Distribute - Distribute Vertically",cmdEditDisable:!0},distribute_left_side_edge_equidistant:{range:[4,5],scene:[2],funcE:"Distribute - Distribute Left Edges Equidistantly",hotkeyEditDisable:!1,cmdEditDisable:!0},distribute_top_side_edge_equidistant:{range:[4,5],scene:[2],funcE:"Distribute - Distribute Top Edges Equidistantly",hotkeyEditDisable:!1,cmdEditDisable:!0},distribute_horizontal_by_center_distance:{range:[4,5],scene:[2],funcE:"Distribute - Distribute Horizontally by Center Distance",hotkeyEditDisable:!1,cmdEditDisable:!0},distribute_vertical_by_center_distance:{range:[4,5],scene:[2],funcE:"Distribute - Distribute Vertically by Center Distance",hotkeyEditDisable:!1,cmdEditDisable:!0},distribute_horizontal_by_edges_distance:{range:[4,5],scene:[2],funcE:"Distribute - Distribute Horizontally by Edges Distance",hotkeyEditDisable:!1,cmdEditDisable:!0},distribute_vertical_by_edges_distance:{range:[4,5],scene:[2],funcE:"Distribute - Distribute Vertically by Edges Distance",hotkeyEditDisable:!1,cmdEditDisable:!0},distribute:{range:[4,5],scene:[2],funcE:"Distribute - Distribute Array",hotkeyEditDisable:!1,cmdEditDisable:!0},component_distribute_by_region:{range:[4],scene:[2],funcE:"Distribute - Component Distribute By Region",hotkeyEditDisable:!1,cmdEditDisable:!0},"opensubmenu-rotate":{range:[10,2,3,6,4,5],scene:[2,5,1,3],funcE:"Rotate",cmdEditDisable:!0},rotate_ccw:{range:[10,6],scene:[2,5],funcE:"Rotate...",cmdEditDisable:!0},rotate_left:{range:[10,2,3,6,4,5,12,13],scene:[2,5],funcE:"Rotate - Rotate Left",cmdEditDisable:!0},rotate_right:{range:[10,2,3,6,4,5,12,13],scene:[2,5],funcE:"Rotate - Rotate Right",cmdEditDisable:!0},rotate_reference_point:{range:[4,5],scene:[2,5],funcE:"Rotate - Rotate by Reference Point",cmdEditDisable:!0},"opensubmenu-flip":{range:[10,2,3,6,4,5],scene:[2,5,3,1],funcE:"Flip",cmdEditDisable:!0},fliph:{range:[10,2,3,6,4,5,12,13],scene:[2,5],funcE:"Flip - Flip Right and Left",cmdEditDisable:!0},flipv:{range:[10,2,3,6,4,5,12,13],scene:[2,5],funcE:"Flip - Flip Up and Down",cmdEditDisable:!0},fliph_reference_point:{range:[4,5],scene:[2,5],funcE:"Flip - Flip Right and Left by Reference Point",cmdEditDisable:!0},flipv_reference_point:{range:[4,5],scene:[2,5],funcE:"Flip - Flip Up and Down by Reference Point",cmdEditDisable:!0},"opensubmenu-level":{range:[10,2,6],scene:[2,5],funcE:"Level",cmdEditDisable:!0},bring_to_front:{range:[2,6],scene:[2,5],funcE:"Bring to Front",cmdEditDisable:!0},send_to_back:{range:[10,2,6],scene:[2,5],funcE:"Send to Back",cmdEditDisable:!0},"openMenu(#mm-common-tools)":{range:[2,3,4,5,0,12,13,1],scene:[2,3,4,5,1],funcE:"Tools Menu",hotkeyEditDisable:!1,cmdEditDisable:!0},SCHLibWizard:{range:[3],scene:Gt,funcE:"Advanced Symbol Wizard",hotkeyEditDisable:!1,cmdEditDisable:!0},OcrWizard:{range:[3],scene:Gt,funcE:"Datasheet Extract Wizard",hotkeyEditDisable:!1,cmdEditDisable:!0},MeasureDistance:{range:[4,5],scene:[2,3,4,5],funcE:"Measure Distance",cmdEditDisable:!0},smartSize:{range:[5,4],scene:Gt,funcE:"Smart Dimension",hotkeyEditDisable:!1,cmdEditDisable:!0},checkDimension:{range:[5],scene:Gt,funcE:"Check Dimension",hotkeyEditDisable:!1,cmdEditDisable:!0},renumberPads:{range:[5],scene:Gt,funcE:"Renumber Pads",hotkeyEditDisable:!1,cmdEditDisable:!0},renumberPins:{range:[3],scene:Gt,funcE:"Renumber Pins",hotkeyEditDisable:!1,cmdEditDisable:!0},Command:{range:[4,5],scene:[2,3,4,5,1],funcE:"Run Command",cmdEditDisable:!0},teardrop:{range:[4],scene:Gt,funcE:"TearDrop",hotkeyEditDisable:!1,cmdEditDisable:!0},openPanelizeDlg:{range:[4],scene:Gt,funcE:"Panelize",hotkeyEditDisable:!1,cmdEditDisable:!0},removeUnusedPad:{range:[4],scene:Gt,funcE:"Remove Unused Pad",hotkeyEditDisable:!1,cmdEditDisable:!0},prioritizeObjectSelection:{range:[4],scene:Gt,funcE:"Measuring Object",hotkeyEditDisable:!1,cmdEditDisable:!0},creepageDistance:{range:[4],scene:Gt,funcE:"Creepage Distance",hotkeyEditDisable:!1,cmdEditDisable:!0},"log-tool":{range:[4,2,5,3,,0],scene:Gt,funcE:"Log",hotkeyEditDisable:!1,cmdEditDisable:!0},connectPads:{range:[4],scene:Gt,funcE:"Connect Pads",hotkeyEditDisable:!1,cmdEditDisable:!0},openFootPrintManager:{range:[2,3],scene:[2,3,4,5],funcE:"Footprint Manager",hotkeyEditDisable:!1,cmdEditDisable:!0},openDeviceManager:{range:[2,4],scene:[2,3,4,5],funcE:"Device Manager",hotkeyEditDisable:!1,cmdEditDisable:!0},openDeviceStandardizationTab:{range:[2,4],scene:[2,3,4,5],funcE:"Device Standardization",hotkeyEditDisable:!1,cmdEditDisable:!0},layerOptionsSet:{range:[4,5],scene:[2,3,4,5],funcE:"Layer Manager",hotkeyEditDisable:!1,cmdEditDisable:!0},viewCopperAreaManager:{range:[4],scene:Gt,funcE:"Copper Manager",hotkeyEditDisable:!1,cmdEditDisable:!0},view3DModelManager:{range:[4],scene:Gt,funcE:"3D Model Manager",hotkeyEditDisable:!1,cmdEditDisable:!0},viewPinDelayManager:{range:[4],scene:Gt,funcE:"Pin Delay Manager",hotkeyEditDisable:!1,cmdEditDisable:!0},openPcbComparisonDlg:{range:[1,4,0],scene:Gt,funcE:"PCB Comparison...",hotkeyEditDisable:!1,cmdEditDisable:!0},viewPCBInformation:{range:[4],scene:Gt,funcE:"PCB Information",hotkeyEditDisable:!1,cmdEditDisable:!0},openAssemblyVariants:{range:[2],scene:Gt,funcE:"Assembly Variants...",hotkeyEditDisable:!1,cmdEditDisable:!0},compareNetlist:{range:[4,2,5,3,0],scene:Gt,funcE:"Netlist Comparison...",hotkeyEditDisable:!1,cmdEditDisable:!0},compareSchematic:{range:[2],scene:Gt,funcE:"Schematic Comparison...",hotkeyEditDisable:!1,cmdEditDisable:!0},exportPng:{range:[8,7,4,2,6],scene:Gt,funcE:"Export PNG",cmdEditDisable:!0},"openMenu(#mm-common-order)":{range:[2,4,6,0,1],scene:[2,3,4,5,1],funcE:"Order Menu",cmdEditDisable:!0,hotkeyEditDisable:!1},bom_order_parts:{range:[2,4],scene:Gt,funcE:"Order Parts at LCSC",hotkeyEditDisable:!1,cmdEditDisable:!0},orderPCB:{range:[4],scene:Gt,funcE:"Order PCB at JLCPCB",hotkeyEditDisable:!1,cmdEditDisable:!0},order3DShell:{range:[4],scene:Gt,funcE:"Order 3D Shell at JLC3DP",hotkeyEditDisable:!1,cmdEditDisable:!0},panelProductionOrder:{range:[6],scene:Gt,funcE:"Order Panel at LCSC",hotkeyEditDisable:!1,cmdEditDisable:!0},"show_help_file(part_store)":{range:Or.ALL,scene:Gt,funcE:"LCSC - Parts/Panel",hotkeyEditDisable:!1,cmdEditDisable:!0},"show_help_file(pcb_manu_facturing)":{range:Or.ALL,scene:Gt,funcE:"JLCPCB - PCB",hotkeyEditDisable:!1,cmdEditDisable:!0},"show_help_file(3d_cnc)":{range:Or.ALL,scene:Gt,funcE:"JLCPCB - 3D/CNC",hotkeyEditDisable:!1,cmdEditDisable:!0},"openMenu(#mm-common-settings)":{range:Or.ALL,scene:[2,3,4,5,1],funcE:"Settings Menu",cmdEditDisable:!0,hotkeyEditDisable:!1},"opensubmenu-system":{range:Or.ALL,scene:Gt,funcE:"System",hotkeyEditDisable:!1,cmdEditDisable:!0},"commonButtonsSetting(SYSTEM)":{range:Or.ALL,scene:Gt,funcE:"System - System",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"commonButtonsSetting(CATEGORY)":{range:Or.ALL,scene:Gt,funcE:"System - Category",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"commonButtonsSetting(BASE_LIBRARY)":{range:Or.ALL,scene:Gt,funcE:"System - Common Library",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"opensubmenu-schematic_symbol":{range:Or.ALL,scene:Gt,funcE:na?"Schematic/Symbol/Simulation":"Schematic/Symbol",hotkeyEditDisable:!1,cmdEditDisable:!0},"commonButtonsSetting(CANVAS)":{range:Or.ALL,scene:Gt,funcE:"Schematic/Symbol - Schematic/Symbol",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"commonButtonsSetting(OBJECT)":{range:Or.ALL,scene:Gt,funcE:"Schematic/Symbol - Theme",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"opensubmenu-pcb_footprint":{range:Or.ALL,scene:Gt,funcE:"PCB/Footprint",hotkeyEditDisable:!1,cmdEditDisable:!0},"commonButtonsSetting(PCB_FOOTPRINT)":{range:Or.ALL,scene:Gt,funcE:"PCB/Footprint - PCB/Footprint",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"commonButtonsSetting(PCB_THEME)":{range:Or.ALL,scene:Gt,funcE:"PCB/Footprint - Theme",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"commonButtonsSetting(PCB_COMM_GRID_SIZE)":{range:Or.ALL,scene:Gt,funcE:"PCB/Footprint - Common Grid/Snap Size Setting",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"commonButtonsSetting(PCB_COMM_TRACK_WIDTH)":{range:Or.ALL,scene:Gt,funcE:"PCB/Footprint - Common Track Width Setting",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"commonButtonsSetting(PCB_COMM_VIA_SIZE)":{range:Or.ALL,scene:Gt,funcE:"PCB/Footprint - Common Via Size Setting",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"commonButtonsSetting(ADSORPTION)":{range:Or.ALL,scene:Gt,funcE:"PCB/Footprint - Snap",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"opensubmenu-panel":{range:Or.ALL,scene:Gt,funcE:"Panel",hotkeyEditDisable:!1,cmdEditDisable:!0},"commonButtonsSetting(PANEL_CANVAS)":{range:Or.ALL,scene:Gt,funcE:"Panel - Panel",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"commonButtonsSetting(PANEL_THEME)":{range:Or.ALL,scene:Gt,funcE:"Panel - Theme",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"commonButtonsSetting(COMM_TYPEFACE)":{range:Or.ALL,scene:Gt,funcE:"Common Typeface",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"commonButtonsSetting(DESIGN)":{range:Or.ALL,scene:Gt,funcE:"Drawing",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"commonButtonsSetting(PROPERTY)":{range:Or.ALL,scene:Gt,funcE:"Property",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"commonButtonsSetting(HOTKEY)":{range:Or.ALL,scene:Gt,funcE:"Hotkey",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"commonButtonsSetting(CUSTOM_TOOLBAR)":{range:Or.ALL,scene:Gt,funcE:"Top Toolbar",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},"commonButtonsSetting(SAVE)":{range:Or.ALL,scene:Gt,funcE:"Save",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},createAnnotation:{range:[4,2],scene:[2,3,4,5],funcE:"Add Annotation",hotkeyEditDisable:!1,cmdEditDisable:!0},"openMenu(#mm-common-help)":{range:Or.ALL,scene:[2,3,4,5,1],funcE:"Help Menu",cmdEditDisable:!0,hotkeyEditDisable:!1},"show_help_file(community)":{range:Or.ALL,scene:Gt,funcE:"Community",hotkeyEditDisable:!1,cmdEditDisable:!0},tutorials:{range:Or.ALL,scene:Gt,funcE:"Tutorials",hotkeyEditDisable:!1,cmdEditDisable:!0},"show_help_file(contact)":{range:Or.ALL,scene:Gt,funcE:"Contact",hotkeyEditDisable:!1,cmdEditDisable:!0},show_about:{range:Or.ALL,scene:Gt,funcE:"About",hotkeyEditDisable:!1,cmdEditDisable:!0},specialPaste:{range:[4],scene:[2,3],funcE:"Keep designator and update nets while pasting",hotkeyEditDisable:!1,cmdEditDisable:!0},"sheet(toPrevious)":{range:[2],scene:[1,3,2],funcE:"Previous Page",cmdEditDisable:!0},"sheet(toNext)":{range:[2],scene:[1,3,2],funcE:"Next Page/New Page",cmdEditDisable:!0},"sheet(toPage)":{range:[2],scene:[1,3,2],funcE:"GoTo Page",cmdEditDisable:!0},"sheet(toPreviousPart)":{range:[3],scene:[1,3,2],funcE:"Previous Part",cmdEditDisable:!0},"sheet(toNextPart)":{range:[3],scene:[1,3,2],funcE:"Next Part/New Part",cmdEditDisable:!0},scrollLeft:{range:[2,3,6,4,5,13,12],scene:[1,3,4,5],funcE:"Scroll Left",cmdEditDisable:!0},scrollRight:{range:[2,3,6,4,5,13,12],scene:[1,3,4,5],funcE:"Scroll Right",cmdEditDisable:!0},scrollUp:{range:[2,3,6,4,5,13,12],scene:[1,3,4,5],funcE:"Scroll Up",cmdEditDisable:!0},scrollDown:{range:[2,3,6,4,5,13,12],scene:[1,3,4,5],funcE:"Scroll Down",cmdEditDisable:!0},showOrHideNumberOrNetName:{range:[4,5],scene:[2,3,4,5],funcE:"Show/Hide Number/Net Name",cmdEditDisable:!0},SwitchLayerBrightness:{range:[4,5],scene:[2,3,4,5],funcE:"Switch Layer Brightness",cmdEditDisable:!0},editTag:{range:[2],scene:[1,2,3],funcE:"Show/Hide Special Symbol Floating Window",publishName:"ui_hotkey",cmdEditDisable:!0,invisibleHotKey:Nt},centerViewByCursor:{range:[2,3,6,4,5],scene:[2,3,4,5],funcE:"Center the view based on the cursor position",hotkeyEditDisable:!1,cmdEditDisable:!0},moveSelectedLeft:{range:[2,3,6,10,4,5,12,13],scene:[2],funcE:"Move Selected Left",cmdEditDisable:!0},moveSelectedRight:{range:[2,3,6,10,4,5,12,13],scene:[2],funcE:"Move Selected Right",cmdEditDisable:!0},moveSelectedUp:{range:[2,3,6,10,4,5,12,13],scene:[2],funcE:"Move Selected Up",cmdEditDisable:!0},moveSelectedDown:{range:[2,3,6,10,4,5,12,13],scene:[2],funcE:"Move Selected Down",cmdEditDisable:!0},switchToTheNextSignalLayer:{range:[2,3,6,4,5],scene:[2,3,4,5],funcE:"Switch to the Next Signal Layer",cmdEditDisable:!0},switchToThePreviousSignalLayer:{range:[2,3,6,4,5],scene:[2,3,4,5],funcE:"Switch to the Previous Signal Layer",cmdEditDisable:!0},ChangetoTopLayer:{range:[4,5],scene:[3,4,5,2],funcE:"Change to TopLayer",cmdEditDisable:!0},ChangetoBottomLayer:{range:[4,5],scene:[3,4,5,2],funcE:"Change to BottomLayer",cmdEditDisable:!0},ChangetoInner1:{range:[4,5],scene:[2,3,4,5],funcE:"Change to Inner1",cmdEditDisable:!0},ChangetoInner2:{range:[4,5],scene:[2,3,4,5],funcE:"Change to Inner2",cmdEditDisable:!0},ChangetoInner3:{range:[4,5],scene:[2,3,4,5],funcE:"Change to Inner3",cmdEditDisable:!0},ChangetoInner4:{range:[4,5],scene:[2,3,4,5],funcE:"Change to Inner4",cmdEditDisable:!0},ChangetoInner5:{range:[4,5],scene:[2,3,4,5],funcE:"Change to Inner5",cmdEditDisable:!0},ChangetoInner6:{range:[4,5],scene:[2,3,4,5],funcE:"Change to Inner6",cmdEditDisable:!0},ChangeCopperZoneVisibleorInvisible:{range:[4],scene:[2,3,4,5],funcE:"Change Copper Zone Visible or Invisible",cmdEditDisable:!0},RebuildAllCopperArea:{range:[4],scene:[2,3,4,5],funcE:"Rebuild All Copper Area",cmdEditDisable:!0},finish:{range:[4,5],scene:[4],funcE:"Finish",hotkeyEditDisable:!0,cmdEditDisable:!0},draw_end:{range:[2,3,6,4,5],scene:[2,4,5],funcE:"Cancel",hotkeyEditDisable:!0,cmdEditDisable:!0},undoDraw:{range:[2,3,6,4,5],scene:[4,2],funcE:"Backspace",cmdEditDisable:!0},SelectOverlap:{range:[4,5,6],scene:[2,3],funcE:"Select Overlap",cmdEditDisable:!0},FilpPathWhileDrawing:{range:[4,5],scene:[4],funcE:"Flip Path While Drawing",cmdEditDisable:!0},show_drawing_attr_dlg:{range:[2,3,6,4,5,10],scene:[5],funcE:"Show Attribute Dialog When Placing Object",hotkeyEditDisable:!0,cmdEditDisable:!0},change_track_width_while_routing:{range:[4,5],scene:[4],funcE:"Change Track Width While Routing",cmdEditDisable:!0},switchSelectedRangeWhenObjectIsSelected:{range:[2,3,4,5],scene:[2],funcE:"Switch Selected Range When Object Is Selected",hotkeyEditDisable:!0,cmdEditDisable:!0},switch_common_track_width:{range:[4,5],scene:[4],funcE:"Switch Common Track Width",cmdEditDisable:!0},switch_common_via_size:{range:[4,5],scene:[4,5],funcE:"Switch Common Via Size While Routing/Placing Via",cmdEditDisable:!0},increaseSnakeGap:{range:[4,5],scene:[6],funcE:"Increase Gap While Equal Length Tunning",cmdEditDisable:!0},decreaseSnakeGap:{range:[4,5],scene:[6],funcE:"Decrease Gap While Equal Length Tunning",cmdEditDisable:!0},Absolute:{range:[4,5],scene:[2,3,4,5],funcE:"Absolute Coordinate Command",command:"x&lt;space&gt;&lt;x&gt;&lt;space&gt;&lt;y&gt;",remark:"&lt;x&gt;\u4E3Ax\u5750\u6807\u3001&lt;y&gt;\u4E3Ay\u5750\u6807\u3002\u975E&lt;&gt;\u5185\u7684\u4E3A\u53EF\u8C03\u6574\u9879",hotkeyEditDisable:!0,partiallyEditable:!0},Relative:{range:[4,5],scene:[2,3,4,5],funcE:"Relative Coordinate Command",command:"ix&lt;space&gt;&lt;x&gt;&lt;space&gt;&lt;y&gt;",remark:"&lt;x&gt;\u4E3A\u76F8\u5BF9x\u5750\u6807\uFF0C&lt;y&gt;\u4E3A\u76F8\u5BF9y\u5750\u6807\u3002\u975E&lt;&gt;\u5185\u7684\u4E3A\u53EF\u8C03\u6574\u9879",hotkeyEditDisable:!0,partiallyEditable:!0},RelativeX:{range:[4,5],scene:[2,3,4,5],funcE:"X Direction Relative Coordinate Command",command:"ix&lt;space&gt;&lt;x&gt;",remark:"&lt;x&gt;\u4E3A\u76F8\u5BF9x\u5750\u6807\u3002\u975E&lt;&gt;\u5185\u7684\u4E3A\u53EF\u8C03\u6574\u9879",hotkeyEditDisable:!0,partiallyEditable:!0},RelativeY:{range:[4,5],scene:[2,3,4,5],funcE:"Y Direction Relative Coordinate Command",command:"iy&lt;space&gt;&lt;y&gt;",remark:"&lt;y&gt;\u4E3A\u76F8\u5BF9y\u5750\u6807\u3002\u975E&lt;&gt;\u5185\u7684\u4E3A\u53EF\u8C03\u6574\u9879",hotkeyEditDisable:!0,partiallyEditable:!0},ToggleLayer:{range:[4,5],scene:[2,3,4,5],funcE:"Change Layer",command:"L&lt;space&gt;&lt;layerid&gt;",remark:"&lt;layerid&gt;\u4E3A\u5C42id\uFF0C\u5207\u6362\u5F53\u524D\u6D3B\u8DC3\u5C42\u5230\u5BF9\u5E94\u5C42\u3002\u975E&lt;&gt;\u5185\u7684\u4E3A\u53EF\u8C03\u6574\u9879",hotkeyEditDisable:!0,partiallyEditable:!0},Find:{range:[4],scene:[2,3,4,5],funcE:"Find Component",command:"S&lt;space&gt;&lt;designator&gt;",remark:"&lt;designator&gt;\u4E3A\u5143\u4EF6\u4F4D\u53F7\uFF0C\u5FEB\u901F\u9009\u4E2D\u5BF9\u5E94\u5143\u4EF6\u5E76\u5C45\u4E2D\u663E\u793A\u3002\u975E&lt;&gt;\u5185\u7684\u4E3A\u53EF\u8C03\u6574\u9879",hotkeyEditDisable:!0,partiallyEditable:!0},WireWidth:{range:[4,5],scene:[4],funcE:"Change Width",command:"W&lt;space&gt;&lt;width&gt;",remark:"&lt;width&gt;\u4E3A\u7EBF\u5BBD\uFF0C\u5728\u5E03\u7EBF\u6216\u7ED8\u5236\u8F6E\u5ED3\u56FE\u5143\u65F6\u751F\u6548\u3002\u975E&lt;&gt;\u5185\u7684\u4E3A\u53EF\u8C03\u6574\u9879",hotkeyEditDisable:!0,partiallyEditable:!0},DisplayLayer:{range:[4,5],scene:[2,3,4,5],funcE:"Only Display Layer",command:"Z&lt;space&gt;&lt;layerid&gt;",remark:"&lt;layerid&gt;\u4E3A\u5C42id\uFF0C\u4EC5\u663E\u793A\u56FE\u5C42\u3002\u975E&lt;&gt;\u5185\u7684\u4E3A\u53EF\u8C03\u6574\u9879",hotkeyEditDisable:!0,partiallyEditable:!0},DisplayAllLayers:{range:[4,5],scene:[2,3,4,5],funcE:"Display All Layers",command:"Z&lt;space&gt;all",remark:"\u663E\u793A\u6240\u6709\u56FE\u5C42",hotkeyEditDisable:!1,partiallyEditable:!0},select_net:{range:[4],scene:[2],funcE:"Click To Select Network",hotkeyEditDisable:!1,cmdEditDisable:!0},decrease_routing_width:{range:[4,5],scene:[6],funcE:"Decrease Routing Width",hotkeyEditDisable:!1,cmdEditDisable:!0},increase_routing_width:{range:[4,5],scene:[6],funcE:"Increase Routing Width",hotkeyEditDisable:!1,cmdEditDisable:!0},decrease_snap_size:{range:[4,5],scene:[2,3,4,5],funcE:"Decrease Snap Size",hotkeyEditDisable:!1,cmdEditDisable:!0},increase_snap_size:{range:[4,5],scene:[2,3,4,5],funcE:"Increase Snap Size",hotkeyEditDisable:!1,cmdEditDisable:!0},move_selected_left_by_alt_grid:{range:[4,5],scene:[2],funcE:"Move Selected Left by Alt Grid",hotkeyEditDisable:!1,cmdEditDisable:!0},move_selected_right_by_alt_grid:{range:[4,5],scene:[2],funcE:"Move Selected Right by Alt Grid",hotkeyEditDisable:!1,cmdEditDisable:!0},move_selected_up_by_alt_grid:{range:[4,5],scene:[2],funcE:"Move Selected Up by Alt Grid",hotkeyEditDisable:!1,cmdEditDisable:!0},move_selected_down_by_alt_grid:{range:[4,5],scene:[2],funcE:"Move Selected Down by Alt Grid",hotkeyEditDisable:!1,cmdEditDisable:!0},expandAndModifyProperties:{range:[2,3,6,4,5],scene:[2],funcE:"Expand and Modify Properties",remark:"\u5C55\u5F00\u5E76\u4FEE\u6539\u5C5E\u6027",hotkeyEditDisable:!1,cmdEditDisable:!0},close_tab:{range:[0,2,3,6,4,5,7,8,9,10],scene:[2,3,4,5,1],funcE:"Close Tab",hotkeyEditDisable:!1,cmdEditDisable:!0},close_all_tabs:{range:[0,2,3,6,4,5,7,8,9,10],scene:[2,3,4,5,1],funcE:"Close All Tabs",hotkeyEditDisable:!1,cmdEditDisable:!0},switchPreDoc:{range:Or.ALL,scene:[1,2,3,4,5],funcE:"Cycle Backward to the Previous Operation Tabbed Document",publishName:"ui_hotkey",hotkeyEditDisable:!1,cmdEditDisable:!0},switchNextDoc:{range:Or.ALL,scene:[1,2,3,4,5],funcE:"Cycle Forward to the Next Operation Tabbed Document",publishName:"ui_hotkey",hotkeyEditDisable:!1,cmdEditDisable:!0},switchPreDocByNatural:{range:Or.ALL,scene:[2,3,4,5],funcE:"Cycle Backward to the Previous Open Tabbed Document",publishName:"ui_hotkey",hotkeyEditDisable:!1,cmdEditDisable:!0},switchNextDocByNatural:{range:Or.ALL,scene:[2,3,4,5],funcE:"Cycle Forward to the Next Open Tabbed Document",publishName:"ui_hotkey",hotkeyEditDisable:!1,cmdEditDisable:!0},displayRealTimeNetLengthAndLengthTolerance:{range:[4],scene:[3,4],funcE:"Display Real-Time Net Length and Length Tolerance",hotkeyEditDisable:!1,cmdEditDisable:!0},"switchToLayer(1)":{range:[4,5],scene:[6],funcE:'Change Selected Component"s Layer to TopLayer',hotkeyEditDisable:!1,cmdEditDisable:!0},"switchToLayer(2)":{range:[4,5],scene:[6],funcE:'Change Selected Component"s Layer to BottomLayer',hotkeyEditDisable:!1,cmdEditDisable:!0},changeRoutingAngle:{range:[4,5],scene:[2,3,4,5],funcE:"Change Routing Angle",hotkeyEditDisable:!1,cmdEditDisable:!0},toggleLocked:{range:[6,4,5],scene:[2],funcE:"Locked/Unlock",hotkeyEditDisable:!1,cmdEditDisable:!0},removeFromGroup:{range:[6,10],scene:[2,3,4,5],funcE:"Group - Remove From Group",hotkeyEditDisable:!1,cmdEditDisable:!0},"trackWidthSetting(WIRING_WIDTH_INPUT)":{range:[4,5],scene:[2,3,4,5],funcE:"Routing Width - Enter Width",hotkeyEditDisable:!1,cmdEditDisable:!0},switchToThePreviousLayer:{range:[4,5],scene:[2,3,4,5],funcE:"Switch to the Previous Layer",hotkeyEditDisable:!1,cmdEditDisable:!0},switchToTheNextLayer:{range:[4,5],scene:[2,3,4,5],funcE:"Switch to the Next Layer",hotkeyEditDisable:!1,cmdEditDisable:!0},open_in_new_window:{range:[2,4,5,3,6],scene:[2,3],funcE:"Open in New Window",cmdEditDisable:!0,publishName:"ui_hotkey"},"opensubmenu-tabmenu":{range:[2,4,5,3,6],scene:[2,3],funcE:"Label Menu",cmdEditDisable:!0},refresh:{range:[2,4,5,3,6],scene:[2,3],funcE:"Refresh",cmdEditDisable:!0,publishName:"ui_hotkey"},clone:{range:[2,4,5,3,6],scene:[2,3],funcE:"Clone",cmdEditDisable:!0,publishName:"ui_hotkey"},modifyFile:{range:[2,4,5,3,6],scene:[2,3],funcE:"Rename",cmdEditDisable:!0,publishName:"ui_hotkey"},place5V:{range:[2],scene:[2,3,4,5],funcE:"place_special_part(netflag_5V)",hotkeyEditDisable:!1,cmdEditDisable:!0,invisibleHotKey:!0},"show_help_file(feedback)":{range:Or.ALL,scene:Gt,funcE:"Feedback",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},showSymbolPinModifyDialog:{range:[3],scene:[5,2],funcE:"Show Pin Attribute Dialog When Placing Pin Object",hotkeyEditDisable:!0,cmdEditDisable:!0,invisibleHotKey:!0},showNetLabelPinModifyDialog:{range:[2],scene:[5,2],funcE:"Show NetLabel Attribute Dialog When Placing NetLabel Object",hotkeyEditDisable:!0,cmdEditDisable:!0,invisibleHotKey:!0},showSchMoveConfigDialog:{range:[2,3],scene:[5,2],funcE:"Show Sch Move Config Dialog When Placing Move Object",hotkeyEditDisable:!0,cmdEditDisable:!0,invisibleHotKey:!0},showPartModifyDialog:{range:[2,13,12],scene:[5,2],funcE:"Show Part Attribute Dialog When Placing Part Object",hotkeyEditDisable:!0,cmdEditDisable:!0,invisibleHotKey:!0},showEditTableDialog:{range:[2],scene:[5,4],funcE:"Show Edit Table Dialog When Placing Or Draw Table",hotkeyEditDisable:!0,cmdEditDisable:!0,invisibleHotKey:!0},showNetPortModifyDialog:{range:[2],scene:[5,2],funcE:"Show Net Port Name Attribute Dialog When Placing Net Port Object",hotkeyEditDisable:!0,cmdEditDisable:!0,invisibleHotKey:!0},showOfPageConnectorModifyDialog:{range:[2],scene:[5,2],funcE:"Show Off Page Connector Name Attribute Dialog When Placing Off Page Connector Object",hotkeyEditDisable:!0,cmdEditDisable:!0,invisibleHotKey:!0},showNetFlagModifyDialog:{range:[2],scene:[5,2],funcE:"Show NetFlag Glbal Net Name Attribute Dialog When Placing Net Port Object",hotkeyEditDisable:!0,cmdEditDisable:!0,invisibleHotKey:!0},open_set_net_property_dialog:{range:[2],scene:[4],funcE:"xxxxx",cmdEditDisable:!0},changeDiffPairFanOutMode:{range:[4,5],scene:[6],funcE:"Switch the fan-out mode when Differentail Pair Routing",cmdEditDisable:!0,invisibleHotKey:!0},"color-exchange":{range:[6,10],scene:[2],funcE:"Color exchange",hotkeyEditDisable:!1,cmdEditDisable:!0},switchVersion:{range:[10,0,2,6,4,8,7],scene:Gt,funcE:"Switch Version",cmdEditDisable:!0},backup_project:{range:[10,0,2,6,4,8,7],scene:Gt,funcE:"Backup Management",cmdEditDisable:!0},new_branch:{range:[10,0,2,3,6,4,5],scene:Gt,funcE:"New Branch",cmdEditDisable:!0},new_node:{range:[10,0,2,3,6,4,5],scene:Gt,funcE:"New Node",cmdEditDisable:!0},version_management:{range:[10,0,2,3,6,4,5],scene:Gt,funcE:"Version Management",cmdEditDisable:!0},historicalRecords:{range:[10,0,2,6,4,8,7],scene:Gt,funcE:"Historical Records",cmdEditDisable:!0},importSVG:{range:[6],scene:Gt,funcE:"Import SVG",cmdEditDisable:!0},Split:{range:[4],scene:[2],funcE:"Split",cmdEditDisable:!0},Cutout:{range:[4,5],scene:[2,4],funcE:"Cutout",cmdEditDisable:!0},"draw(RCutout)":{range:[4,5],scene:[2,4],funcE:"Cutout - Rectangle",cmdEditDisable:!0},"draw(PCutout)":{range:[4,5],scene:[2,4],funcE:"Cutout - Polygon",hotkeyEditDisable:!1,cmdEditDisable:!0},"draw(CCutout)":{range:[4,5],scene:[2,4],funcE:"Cutout - Circle",cmdEditDisable:!0},avoidSlots:{range:[4,5],scene:[2,4],funcE:"Avoid Slots",cmdEditDisable:!0},avoidPads:{range:[4,5],scene:[2,4],funcE:"Avoid Pads",cmdEditDisable:!0},CONVERT_TO_PAD:{range:[4,5],scene:[2],funcE:"Convert to Pad",cmdEditDisable:!0},CONVERT_TO_TRACK:{range:[4,5],scene:[2],funcE:"Convert to Track",cmdEditDisable:!0},CONVERT_TO_2D_LINE:{range:[4],scene:[2],funcE:"Convert to Line",cmdEditDisable:!0},CONVERT_TO_SLOT_REGION:{range:[4],scene:[2],funcE:"Convert to Slot Region",cmdEditDisable:!0},CONVERT_TO_FILL_REGION:{range:[4],scene:[2],funcE:"Convert to Fill Region",cmdEditDisable:!0},CONVERT_TO_COPPER_REGION:{range:[4],scene:[2],funcE:"Convert to Copper Region",cmdEditDisable:!0},CONVERT_TO_PROHIBITED_REGION:{range:[4],scene:[2],funcE:"Convert to Prohibited Region",cmdEditDisable:!0},CONVERT_TO_BOARD_OUTLINE:{range:[4],scene:[2],funcE:"Convert to Board Outline",cmdEditDisable:!0},CONVERT_TO_CONSTRAINT_REGION:{range:[4],scene:[2],funcE:"Convert to Constraint Region",cmdEditDisable:!0},CONVERT_TO_D3_SHELL_OUTLINE:{range:[4],scene:[2],funcE:"Convert to 3D Shell - Outline",cmdEditDisable:!0},CONVERT_TO_D3_SHELL_SLOT_REGION:{range:[4],scene:[2],funcE:"Convert to 3D Shell -  Slot Region",cmdEditDisable:!0},CONVERT_TO_D3_SHELL_ENTITY:{range:[4],scene:[2],funcE:"Convert to 3D Shell - Entity",cmdEditDisable:!0},CONVERT_TO_FPC_STIFFENER:{range:[4],scene:[2],funcE:"Convert to FPC Stiffener",cmdEditDisable:!0},"drawpartition(Rectangle)":{range:[4],scene:[2,3,4,5],funcE:"Draw Partition - Rectangle",cmdEditDisable:!0},"drawpartition(Circle)":{range:[4],scene:[2,3,4,5],funcE:"Draw Partition - Circle",cmdEditDisable:!0},"drawpartition(Polygon)":{range:[4],scene:[2,3,4,5],funcE:"Draw Partition - Polygon",cmdEditDisable:!0},OPEN_PARTITION_MANAGER:{range:[4],scene:[2,3,4,5],funcE:"Partition Manager",cmdEditDisable:!0},AUTO_PIN_PLACEMENT:{range:[3],scene:[2,3,1],funcE:"Auto Pin Placement",cmdEditDisable:!0,publishName:"ui_hotkey"},variant_view_mode:{range:[2],scene:[2,3],funcE:"Variant View Mode",cmdEditDisable:!0},bom_order_parts_smt:{range:[2,4],scene:Gt,funcE:"Order SMT Parts at JLCPCB",hotkeyEditDisable:!1,cmdEditDisable:!0},"show_help_file(layoutService)":{range:[2,4],scene:Gt,funcE:"Order PCB Layout at JLCPCB",hotkeyEditDisable:!1,cmdEditDisable:!0},"openMenu(#mm-common-advanced)":{range:Or.ALL,scene:[2,3,4,5,1],funcE:"Advanced Menu",hotkeyEditDisable:!1,cmdEditDisable:!0},runScript:{range:Or.ALL,scene:[2,3,4,5,1],funcE:"Run Script",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},scriptManager:{range:Or.ALL,scene:[2,3,4,5,1],funcE:"Script Manager",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},showExtensionsManager:{range:Or.ALL,scene:[2,3,4,5,1],funcE:"Extensions Manager",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},show_performancetool:{range:Or.ALL,scene:[2,3,4,5,1],funcE:"Performance Diagnostic",hotkeyEditDisable:!1,cmdEditDisable:!0},stop_video_capture:{range:Or.ALL,scene:[2,3,4,5,1],funcE:"Stop Recording",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},show_videocapture:{range:Or.ALL,scene:[2,3,4,5,1],funcE:"Video Capture",hotkeyEditDisable:!1,cmdEditDisable:!0,publishName:"ui_hotkey"},showMultiPinMotifyAttrDialog:{range:[3],scene:[5,2],funcE:"Show Pin Attribute Dialog When Placing Multi Pin Object",hotkeyEditDisable:!0,cmdEditDisable:!0,invisibleHotKey:!0},"openMenu(#mm-common-sim)":{range:[12,13],scene:[1,2,3,4,5],funcE:"Simulation Menu",cmdEditDisable:!0,hotkeyEditDisable:!1},"openMenu(#mm-common-simWaveform)":{range:[14],scene:[1,2,3,4,5,6],funcE:"Waveform Menu",cmdEditDisable:!0,hotkeyEditDisable:!1},"EDIT BOUNDARY":{range:[4,5],scene:[4,3,2],funcE:"Edit Outline"}},Tbt=_t?[{hotkeyCmd:"createAnnotation",hotkey:""},{hotkeyCmd:"drawpartition(Rectangle)",hotkey:""}]:[{hotkeyCmd:"drawpartition(Rectangle)",hotkey:""}],Sbt=we.HOTKEY.FILE,Mbt=we.HOTKEY.EDIT,Ibt=we.HOTKEY.VIEW,Lbt=we.HOTKEY.PLACE,vbt=we.HOTKEY.DESIGN,Dbt=we.HOTKEY.ROUTE,Ebt=we.HOTKEY.LAYOUT,Abt=we.HOTKEY.TOOLS,Nbt=we.HOTKEY.ADVANCED,kbt=we.HOTKEY.EXPORT,Pbt=we.HOTKEY.SETTINGS,Obt=we.HOTKEY.HELP,Rbt=we.HOTKEY.SIM,_bt=we.HOTKEY.OTHER,Ssr={[Sbt]:[{hotkeyCmd:"openMenu(#mm-common-file)",hotkey:"F"},{hotkeyCmd:"opensubmenu-new",hotkey:""},{hotkeyCmd:"newProject",hotkey:"Shift+N"},{hotkeyCmd:"new_board",hotkey:""},{hotkeyCmd:"new_schematic",hotkey:""},{hotkeyCmd:"new_page",hotkey:""},{hotkeyCmd:"new_PCB",hotkey:""},{hotkeyCmd:"new_Panel",hotkey:""},{hotkeyCmd:"new_device",hotkey:""},{hotkeyCmd:"new_NetFlag",hotkey:""},{hotkeyCmd:"new_NetPort",hotkey:""},{hotkeyCmd:"new_OffPageConnector",hotkey:""},{hotkeyCmd:"new_Drawing",hotkey:""},{hotkeyCmd:"new_Non_Electronic",hotkey:""},{hotkeyCmd:"new_schematicLib",hotkey:""},{hotkeyCmd:"new_footprint",hotkey:""},{hotkeyCmd:"new_3D_model",hotkey:""},{hotkeyCmd:"partTree(newPart)",hotkey:""},{hotkeyCmd:"new_CBB",hotkey:""},{hotkeyCmd:"open_create_panel_lib_dialog",hotkey:""},{hotkeyCmd:"standard_edition_migration",hotkey:""},{hotkeyCmd:"openProject",hotkey:"Ctrl+O"},{hotkeyCmd:"file_save",hotkey:"Ctrl+Shift+S"},{hotkeyCmd:"save_all",hotkey:"Ctrl+S"},{hotkeyCmd:"opensubmenu-saveas",hotkey:""},{hotkeyCmd:"projectSaveAsCloud",hotkey:""},{hotkeyCmd:"projectSaveAsLocal",hotkey:""},{hotkeyCmd:"docSaveAsCloud",hotkey:""},{hotkeyCmd:"docSaveAsLocal",hotkey:""},{hotkeyCmd:"selectedBSSaveAsCloud",hotkey:""},{hotkeyCmd:"selectedBSSaveAsLocal",hotkey:""},{hotkeyCmd:"backup",hotkey:""},{hotkeyCmd:"switchVersion",hotkey:""},{hotkeyCmd:"backup_project",hotkey:""},{hotkeyCmd:"new_branch",hotkey:""},{hotkeyCmd:"new_node",hotkey:""},{hotkeyCmd:"version_management",hotkey:""},{hotkeyCmd:"historicalRecords",hotkey:""},{hotkeyCmd:"cacheRecovery",hotkey:""},{hotkeyCmd:"opensubmenu-import",hotkey:""},{hotkeyCmd:"importDXF",hotkey:""},{hotkeyCmd:"importSVG",hotkey:""},{hotkeyCmd:"insertImage",hotkey:""},{hotkeyCmd:"importFile(easyeda)",hotkey:""},{hotkeyCmd:"file_open",hotkey:""},{hotkeyCmd:"importFile(altium)",hotkey:""},{hotkeyCmd:"importFile(eagle)",hotkey:""},{hotkeyCmd:"importFile(kicad)",hotkey:""},{hotkeyCmd:"importFile(pads)",hotkey:""},{hotkeyCmd:"importFile(protel)",hotkey:""},{hotkeyCmd:"importFile(ltspice)",hotkey:""},{hotkeyCmd:"importSes",hotkey:""},{hotkeyCmd:"importNetlist",hotkey:""},{hotkeyCmd:"opensubmenu-export",hotkey:""},{hotkeyCmd:"printPDF",hotkey:""},{hotkeyCmd:"closeProject",hotkey:""},{hotkeyCmd:"opensubmenu-recent",hotkey:""},{hotkeyCmd:"clearRecentList",hotkey:""},{hotkeyCmd:"recycleBin",hotkey:""},{hotkeyCmd:"source(easyEDA)",hotkey:""},{hotkeyCmd:"sheet(toPrevious)",hotkey:"Page Up"},{hotkeyCmd:"sheet(toNext)",hotkey:"Page Down"},{hotkeyCmd:"sheet(toPage)",hotkey:""},{hotkeyCmd:"sheet(toPreviousPart)",hotkey:"Page Up"},{hotkeyCmd:"sheet(toNextPart)",hotkey:"Page Down"},{hotkeyCmd:"switchNextDoc",hotkey:"Shift+2"},{hotkeyCmd:"switchPreDoc",hotkey:"Shift+1"},{hotkeyCmd:"switchNextDocByNatural",hotkey:""},{hotkeyCmd:"switchPreDocByNatural",hotkey:""},{hotkeyCmd:"close_tab",hotkey:"Shift+`"},{hotkeyCmd:"close_all_tabs",hotkey:"Ctrl+Shift+`"}],[Mbt]:[{hotkeyCmd:"openMenu(#mm-common-edit)",hotkey:"E"},{hotkeyCmd:"toggleAdsorb",hotkey:"Alt+S"},{hotkeyCmd:"undo",hotkey:"Ctrl+Z"},{hotkeyCmd:"redo",hotkey:"Ctrl+Y"},{hotkeyCmd:"repeat",hotkey:"F4"},{hotkeyCmd:"cut",hotkey:"Ctrl+X"},{hotkeyCmd:"copy",hotkey:"Ctrl+C"},{hotkeyCmd:"paste",hotkey:"Ctrl+V"},{hotkeyCmd:"pasteInPlace",hotkey:"Ctrl+Shift+V"},{hotkeyCmd:"PasteAsPlainText",hotkey:"Ctrl+Shift+V"},{hotkeyCmd:"opensubmenu-duplicate",hotkey:""},{hotkeyCmd:"opensubmenu-duplicate-panel",hotkey:""},{hotkeyCmd:"centerViewByCursor",hotkey:"Shift+Home"},{hotkeyCmd:"duplicateToCursor",hotkey:"Ctrl+D"},{hotkeyCmd:"duplicatePaste",hotkey:""},{hotkeyCmd:"duplicateToOtherLayer",hotkey:"Ctrl+Shift+D"},{hotkeyCmd:"copySpecial",hotkey:""},{hotkeyCmd:"copyToImage",hotkey:""},{hotkeyCmd:"copyToSvg",hotkey:""},{hotkeyCmd:"copyToPng",hotkey:""},{hotkeyCmd:"opensubmenu-move",hotkey:""},{hotkeyCmd:"MOVE_BY_CENTER_POINT",hotkey:"M"},{hotkeyCmd:"MOVE_BY_ORIGIN_POINT",hotkey:""},{hotkeyCmd:"MOVE_BY_REFERENCE_POINT",hotkey:"Shift+D"},{hotkeyCmd:"opensubmenu-delete",hotkey:""},{hotkeyCmd:"Delete",hotkey:"Delete"},{hotkeyCmd:"delete-target",hotkey:""},{hotkeyCmd:"delete-all",hotkey:""},{hotkeyCmd:"opensubmenu-selectobj",hotkey:""},{hotkeyCmd:"select_all",hotkey:"Ctrl+A"},{hotkeyCmd:"continuousSelection",hotkey:""},{hotkeyCmd:"rectangleOutside",hotkey:""},{hotkeyCmd:"rectangleInside",hotkey:""},{hotkeyCmd:"polygonInside",hotkey:""},{hotkeyCmd:"polygonOutside",hotkey:""},{hotkeyCmd:"lineTouched",hotkey:""},{hotkeyCmd:"connectedCopper",hotkey:"Ctrl+H"},{hotkeyCmd:"editArray",hotkey:""},{hotkeyCmd:"ADD_FILLET",hotkey:""},{hotkeyCmd:"ADD_CHAMFER",hotkey:""},{hotkeyCmd:"opensubmenu-booleanoperation",hotkey:""},{hotkeyCmd:"boolAggregate",hotkey:""},{hotkeyCmd:"boolSubtraction",hotkey:""},{hotkeyCmd:"boolIntersection",hotkey:""},{hotkeyCmd:"boolExclusive",hotkey:""},{hotkeyCmd:"boolSplit",hotkey:""},{hotkeyCmd:"findObjects",hotkey:"Ctrl+F"},{hotkeyCmd:"findSimilar",hotkey:"Ctrl+Shift+F"},{hotkeyCmd:"unlockAll",hotkey:""},{hotkeyCmd:"Split",hotkey:""},{hotkeyCmd:"Cutout",hotkey:""},{hotkeyCmd:"draw(RCutout)",hotkey:""},{hotkeyCmd:"draw(PCutout)",hotkey:""},{hotkeyCmd:"draw(CCutout)",hotkey:""},{hotkeyCmd:"avoidSlots",hotkey:""},{hotkeyCmd:"avoidPads",hotkey:""},{hotkeyCmd:"CONVERT_TO_PAD",hotkey:""},{hotkeyCmd:"CONVERT_TO_TRACK",hotkey:""},{hotkeyCmd:"CONVERT_TO_2D_LINE",hotkey:""},{hotkeyCmd:"CONVERT_TO_SLOT_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_FILL_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_COPPER_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_PROHIBITED_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_BOARD_OUTLINE",hotkey:""},{hotkeyCmd:"CONVERT_TO_CONSTRAINT_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_D3_SHELL_OUTLINE",hotkey:""},{hotkeyCmd:"CONVERT_TO_D3_SHELL_SLOT_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_D3_SHELL_ENTITY",hotkey:""},{hotkeyCmd:"CONVERT_TO_FPC_STIFFENER",hotkey:""},{hotkeyCmd:"EDIT BOUNDARY",hotkey:""}],[Ibt]:[{hotkeyCmd:"openMenu(#mm-common-view)",hotkey:"V"},{hotkeyCmd:"Preview2D",hotkey:""},{hotkeyCmd:"Preview3D",hotkey:""},{hotkeyCmd:"Preview3DInNewWindow",hotkey:""},{hotkeyCmd:"zoom(in)",hotkey:""},{hotkeyCmd:"zoom(out)",hotkey:""},{hotkeyCmd:"fitview",hotkey:"K"},{hotkeyCmd:"adaptSelectionView",hotkey:""},{hotkeyCmd:"adaptAreaSelectionView",hotkey:""},{hotkeyCmd:"fitBoard",hotkey:""},{hotkeyCmd:"full_screen",hotkey:"F11"},{hotkeyCmd:"switchView(normal)",hotkey:""},{hotkeyCmd:"switchView(outline)",hotkey:""},{hotkeyCmd:"brightness(0)",hotkey:""},{hotkeyCmd:"brightness(1)",hotkey:""},{hotkeyCmd:"brightness(2)",hotkey:""},{hotkeyCmd:"Flip Board",hotkey:"Alt+F"},{hotkeyCmd:"Unit",hotkey:"Q"},{hotkeyCmd:"opensubmenu-gridsize-pcb",hotkey:""},{hotkeyCmd:"opensubmenu-gridsize",hotkey:""},{hotkeyCmd:"switchGridSizeBtn(size_0.1)",hotkey:""},{hotkeyCmd:"switchGridSizeBtn(size_0.05)",hotkey:""},{hotkeyCmd:"switchGridSizeBtn(size_0.01)",hotkey:""},{hotkeyCmd:"switchGridSizeBtn(size_1)",hotkey:""},{hotkeyCmd:"switchGridSizeBtn(size_0.5)",hotkey:""},{hotkeyCmd:"opensubmenu-snapsize",hotkey:""},{hotkeyCmd:"gridSnapKeepRatio",hotkey:""},{hotkeyCmd:"setGridSize",hotkey:""},{hotkeyCmd:"setGridRange",hotkey:""},{hotkeyCmd:"opensubmenu-gridtype-pcb",hotkey:""},{hotkeyCmd:"opensubmenu-gridtype",hotkey:""},{hotkeyCmd:"switchGridType(outlets)",hotkey:""},{hotkeyCmd:"switchGridType(grid)",hotkey:""},{hotkeyCmd:"switchGridType(none)",hotkey:""},{hotkeyCmd:"opensubmenu-ratline",hotkey:""},{hotkeyCmd:"showOrHideSelectedObjRatline",hotkey:"Ctrl+R"},{hotkeyCmd:"hideSelectedComponentRatline",hotkey:""},{hotkeyCmd:"hideAllRatline",hotkey:""},{hotkeyCmd:"showSelectedComponentRatline",hotkey:""},{hotkeyCmd:"showAllRatline",hotkey:""},{hotkeyCmd:"opensubmenu-highlight-pcb",hotkey:""},{hotkeyCmd:"opensubmenu-highlight-sch",hotkey:""},{hotkeyCmd:"highlightConnectedsByWire",hotkey:"Shift+H"},{hotkeyCmd:"HIGHLIGHT_COMPONENT",hotkey:""},{hotkeyCmd:"HIGHLIGHT_SELECTED_OBJECTS",hotkey:""},{hotkeyCmd:"UnhighlightSelectedObjects",hotkey:"Shift+H"},{hotkeyCmd:"INCREASE_BRIGHTNESS",hotkey:""},{hotkeyCmd:"DECREASE_BRIGHTNESS",hotkey:""},{hotkeyCmd:"HIGHLIGHT_CANCEL_COMPONENT",hotkey:""},{hotkeyCmd:"HIGHLIGHT_CANCEL_SELECTED_OBJECTS",hotkey:""},{hotkeyCmd:"scrollLeft",hotkey:"Left"},{hotkeyCmd:"scrollRight",hotkey:"Right"},{hotkeyCmd:"scrollUp",hotkey:"Up"},{hotkeyCmd:"scrollDown",hotkey:"Down"},{hotkeyCmd:"showOrHideNumberOrNetName",hotkey:"Ctrl+Q"},{hotkeyCmd:"SwitchLayerBrightness",hotkey:"Shift+S"},{hotkeyCmd:"toolbar_toggle(topbar)",hotkey:""},{hotkeyCmd:"toolbar_toggle(leftbar)",hotkey:"["},{hotkeyCmd:"toolbar_toggle(rightbar)",hotkey:"]"},{hotkeyCmd:"operateBottomPanel",hotkey:"\\"},{hotkeyCmd:"editTag",hotkey:""},{hotkeyCmd:"open_in_new_window",hotkey:""},{hotkeyCmd:"opensubmenu-tabmenu",hotkey:""},{hotkeyCmd:"refresh",hotkey:""},{hotkeyCmd:"clone",hotkey:""},{hotkeyCmd:"modifyFile",hotkey:""},{hotkeyCmd:"variant_view_mode",hotkey:"Shift+M"}],[Lbt]:[{hotkeyCmd:"place",hotkey:"Enter"},{hotkeyCmd:"openMenu(#mm-common-place)",hotkey:"P"},{hotkeyCmd:"placeDevice",hotkey:"Shift+F"},{hotkeyCmd:"opensubmenu-shortcutDevice",hotkey:""},{hotkeyCmd:"place_shortcut_device(resistor)",hotkey:""},{hotkeyCmd:"place_shortcut_device(capacitor)",hotkey:""},{hotkeyCmd:"place_shortcut_device(inductor)",hotkey:""},{hotkeyCmd:"place_shortcut_device(diode)",hotkey:""},{hotkeyCmd:"place_part(line_pins)",hotkey:""},{hotkeyCmd:"place_part(rect_pins)",hotkey:""},{hotkeyCmd:"draw(wire)",hotkey:"Alt+W"},{hotkeyCmd:"draw(bus)",hotkey:"Alt+B"},{hotkeyCmd:"place_part(netlabel)",hotkey:"Alt+N"},{hotkeyCmd:"place_special_part(short_symbol)",hotkey:""},{hotkeyCmd:"opensubmenu-netflag",hotkey:""},{hotkeyCmd:"place_special_part(netflag_VCC)",hotkey:""},{hotkeyCmd:"place_special_part(netflag_5V)",hotkey:""},{hotkeyCmd:"place_special_part(netflag_gnD)",hotkey:""},{hotkeyCmd:"place_special_part(netflag_GNd)",hotkey:""},{hotkeyCmd:"place_special_part(netflag_gNd)",hotkey:""},{hotkeyCmd:"opensubmenu-netPort",hotkey:""},{hotkeyCmd:"place_special_part(netport_IN)",hotkey:""},{hotkeyCmd:"place_special_part(netport_OUT)",hotkey:""},{hotkeyCmd:"place_special_part(netport_BI)",hotkey:""},{hotkeyCmd:"opensubmenu-offPageConnector",hotkey:""},{hotkeyCmd:"place_special_part(offPageConnector_IN)",hotkey:""},{hotkeyCmd:"place_special_part(offPageConnector_OUT)",hotkey:""},{hotkeyCmd:"place_special_part(offPageConnector_BI)",hotkey:""},{hotkeyCmd:"place_part(noconnect)",hotkey:""},{hotkeyCmd:"place_part(junction)",hotkey:"Alt+J"},{hotkeyCmd:"place_part(diffPairsFlag)",hotkey:""},{hotkeyCmd:"place_shortcut_device(test_point)",hotkey:""},{hotkeyCmd:"draw(block)",hotkey:""},{hotkeyCmd:"draw(pen)",hotkey:""},{hotkeyCmd:"opensubmenu-draw-dimension"},{hotkeyCmd:"draw(dimension-xy)",hotkey:"Alt+Z"},{hotkeyCmd:"draw(dimension-x)",hotkey:"Alt+X"},{hotkeyCmd:"draw(dimension-y)",hotkey:"Alt+Y"},{hotkeyCmd:"opensubmenu-drawline",hotkey:""},{hotkeyCmd:"opensubmenu-panel-arc",hotkey:""},{hotkeyCmd:"opensubmenu-placepin",hotkey:""},{hotkeyCmd:"place_part(pin)",hotkey:"Alt+P"},{hotkeyCmd:"draw(arc)",hotkey:"Alt+A"},{hotkeyCmd:"draw(bezier)",hotkey:"Alt+Z"},{hotkeyCmd:"draw(rect)",hotkey:"Alt+R"},{hotkeyCmd:"draw(circle)",hotkey:"Alt+C"},{hotkeyCmd:"draw(ellipse)",hotkey:"Alt+E"},{hotkeyCmd:"draw(polyline)",hotkey:"Alt+L"},{hotkeyCmd:"showTextDialog",hotkey:"Alt+T"},{hotkeyCmd:"opensubmenu-testPad",hotkey:""},{hotkeyCmd:"place_part(testPad)",hotkey:""},{hotkeyCmd:"draw(maskRegion)",hotkey:""},{hotkeyCmd:"openSetComponentMaskDialog",hotkey:""},{hotkeyCmd:"place_part(autoTestPad)",hotkey:""},{hotkeyCmd:"showTextDialog_pcb",hotkey:""},{hotkeyCmd:"PlaceVia",hotkey:"Alt+V"},{hotkeyCmd:"PlaceViaFence",hotkey:""},{hotkeyCmd:"opensubmenu-suturevias",hotkey:""},{hotkeyCmd:"draw(rectSutureVia)",hotkey:""},{hotkeyCmd:"draw(polygonSutureVia)",hotkey:""},{hotkeyCmd:"draw(lineSutureVia)",hotkey:""},{hotkeyCmd:"opensubmenu-pad",hotkey:""},{hotkeyCmd:"PlaceSinglePad",hotkey:"Alt+P"},{hotkeyCmd:"place_part(line_pads)",hotkey:""},{hotkeyCmd:"place_part(rect_pads)",hotkey:""},{hotkeyCmd:"place_part(polygonpad)",hotkey:""},{hotkeyCmd:"opensubmenu-boardoutline",hotkey:""},{hotkeyCmd:"draw(ROutline)",hotkey:""},{hotkeyCmd:"draw(POutline)",hotkey:""},{hotkeyCmd:"draw(COutline)",hotkey:""},{hotkeyCmd:"copperRegion",hotkey:""},{hotkeyCmd:"draw(RCopper)",hotkey:""},{hotkeyCmd:"draw(CCopper)",hotkey:""},{hotkeyCmd:"draw(PCopper)",hotkey:"Alt+E"},{hotkeyCmd:"fillRegion",hotkey:""},{hotkeyCmd:"draw(RRegion)",hotkey:""},{hotkeyCmd:"draw(PRegion)",hotkey:""},{hotkeyCmd:"draw(CRegion)",hotkey:""},{hotkeyCmd:"opensubmenu-fpcStiffener",hotkey:""},{hotkeyCmd:"draw(RectFPCStiffener)",hotkey:""},{hotkeyCmd:"draw(CirFPCStiffener)",hotkey:""},{hotkeyCmd:"draw(PolyFPCStiffener)",hotkey:""},{hotkeyCmd:"opensubmenu-slotRegion",hotkey:""},{hotkeyCmd:"draw(RSlot)",hotkey:""},{hotkeyCmd:"draw(PSlot)",hotkey:""},{hotkeyCmd:"draw(CSlot)",hotkey:""},{hotkeyCmd:"prohibitedRegion",hotkey:""},{hotkeyCmd:"draw(RProhibit)",hotkey:""},{hotkeyCmd:"draw(PProhibit)",hotkey:""},{hotkeyCmd:"draw(CProhibit)",hotkey:""},{hotkeyCmd:"setOriginByCoordinate",hotkey:"Ctrl+Home"},{hotkeyCmd:"setOriginByFirstPin",hotkey:""},{hotkeyCmd:"placeOriginPad",hotkey:""},{hotkeyCmd:"opensubmenu-canvasOrigin"},{hotkeyCmd:"draw(origin)",hotkey:"Home"},{hotkeyCmd:"setOriginByCenter",hotkey:"Ctrl+End"},{hotkeyCmd:"placeOriginCenter",hotkey:"Ctrl+End"},{hotkeyCmd:"draw(arcCenter)",hotkey:"Alt+U"},{hotkeyCmd:"draw(arc2)",hotkey:""},{hotkeyCmd:"opensubmenu-dimension",hotkey:""},{hotkeyCmd:"draw(dimension)",hotkey:"Alt+N"},{hotkeyCmd:"draw(protractor)",hotkey:""},{hotkeyCmd:"draw(radius)",hotkey:""},{hotkeyCmd:"editTable",hotkey:""},{hotkeyCmd:"place_part(stack_table)",hotkey:""},{hotkeyCmd:"place_part(drill_table)",hotkey:""},{hotkeyCmd:"opensunmenu-3dShellOutline",hotkey:""},{hotkeyCmd:"draw(R3dShellOutline)",hotkey:""},{hotkeyCmd:"draw(C3dShellOutline)",hotkey:""},{hotkeyCmd:"draw(P3dShellOutline)",hotkey:""},{hotkeyCmd:"place_part(3dShellScrewPillar)",hotkey:""},{hotkeyCmd:"draw(3dShellSideSlotDatumLine)",hotkey:""},{hotkeyCmd:"opensubmenu-3DShellSideSlotRegion",hotkey:""},{hotkeyCmd:"draw(R3dShellSideSlotRegion)",hotkey:""},{hotkeyCmd:"draw(C3dShellSideSlotRegion)",hotkey:""},{hotkeyCmd:"draw(P3dShellSideSlotRegion)",hotkey:""},{hotkeyCmd:"opensubmenu-3DShell-Top_Bottom-SlotRegion",hotkey:""},{hotkeyCmd:"draw(R3dShellTopSlotRegion)",hotkey:""},{hotkeyCmd:"draw(C3dShellTopSlotRegion)",hotkey:""},{hotkeyCmd:"draw(P3dShellTopSlotRegion)",hotkey:""},{hotkeyCmd:"opensubmenu-3DShell-SideEntity",hotkey:""},{hotkeyCmd:"draw(R3dShellSideEntity)",hotkey:""},{hotkeyCmd:"draw(C3dShellSideEntity)",hotkey:""},{hotkeyCmd:"draw(P3dShellSideEntity)",hotkey:""},{hotkeyCmd:"opensubmenu-3DShell-TopEntity",hotkey:""},{hotkeyCmd:"draw(R3dShellTopBottomEntity)",hotkey:""},{hotkeyCmd:"draw(C3dShellTopBottomEntity)",hotkey:""},{hotkeyCmd:"draw(P3dShellTopBottomEntity)",hotkey:""},{hotkeyCmd:"place5V",hotkey:""}],[vbt]:[{hotkeyCmd:"openMenu(#mm-common-design)",hotkey:"D"},{hotkeyCmd:"backToUpper",hotkey:""},{hotkeyCmd:"generateOrUpdateBlockSymbol2",hotkey:""},{hotkeyCmd:"generateOrUpdateBlockSymbol",hotkey:""},{hotkeyCmd:"updateSchematicNetPort",hotkey:""},{hotkeyCmd:"openElecRule",hotkey:""},{hotkeyCmd:"pcb_DRC",hotkey:""},{hotkeyCmd:"checkERC",hotkey:""},{hotkeyCmd:"checkDRCCustom",hotkey:""},{hotkeyCmd:"clearErrors",hotkey:""},{hotkeyCmd:"toggleRealTimeDRC",hotkey:""},{hotkeyCmd:"ref_designator_annotate",hotkey:""},{hotkeyCmd:"pcb_design_rule",hotkey:""},{hotkeyCmd:"netClassManager",hotkey:""},{hotkeyCmd:"differentialPairManager",hotkey:""},{hotkeyCmd:"equalLengthGroupManager",hotkey:""},{hotkeyCmd:"EditPadsPairGroupDialog",hotkey:""},{hotkeyCmd:"updateComponent",hotkey:""},{hotkeyCmd:"updateReuseBlock",hotkey:""},{hotkeyCmd:"resetUniqueId",hotkey:""},{hotkeyCmd:"projectSheetSetting",hotkey:""},{hotkeyCmd:"crossProbe",hotkey:"Shift+X"},{hotkeyCmd:"placeTransfer",hotkey:"Ctrl+Shift+X"},{hotkeyCmd:"switchToThePreviousLayer",hotkey:"Num-"},{hotkeyCmd:"switchToTheNextLayer",hotkey:"Num+"},{hotkeyCmd:"importChangesFromSch",hotkey:"Alt+I"},{hotkeyCmd:"importChangesFromPcb",hotkey:""},{hotkeyCmd:"reuseTemplateLayoutAndRoute",hotkey:""},...Tbt,{hotkeyCmd:"drawpartition(Circle)",hotkey:""},{hotkeyCmd:"drawpartition(Polygon)",hotkey:""},{hotkeyCmd:"OPEN_PARTITION_MANAGER",hotkey:""},{hotkeyCmd:"opensubmenu-boardshape",hotkey:""},{hotkeyCmd:"convertToBoard",hotkey:""},{hotkeyCmd:"convertToLineFromBoard",hotkey:""}],[Dbt]:[{hotkeyCmd:"openMenu(#mm-common-route)",hotkey:"U"},{hotkeyCmd:"SingleRouting",hotkey:"Alt+W"},{hotkeyCmd:"MultiRouting",hotkey:""},{hotkeyCmd:"IncreaseMultiSpace",hotkey:"."},{hotkeyCmd:"decreaseMultiSpace",hotkey:","},{hotkeyCmd:"draw(stretchtrack)",hotkey:"Shift+W"},{hotkeyCmd:"draw(difftrack)",hotkey:"Alt+D"},{hotkeyCmd:"equalLengthTuning",hotkey:"Shift+A"},{hotkeyCmd:"diffPairEqualLengthTuning",hotkey:""},{hotkeyCmd:"auto-routing",hotkey:""},{hotkeyCmd:"pcbBatchFanout",hotkey:""},{hotkeyCmd:"changeRoutingMode",hotkey:"Shift+R"},{hotkeyCmd:"RoutingCorner",hotkey:"L"},{hotkeyCmd:"opensubmenu-routingWidth",hotkey:""},{hotkeyCmd:"trackWidthSetting(WIRING_WIDTH_FOLLOWRULES)",hotkey:""},{hotkeyCmd:"trackWidthSetting(WIRING_WIDTH_RULESSETTING)",hotkey:""},{hotkeyCmd:"opensubmenu-unroute",hotkey:""},{hotkeyCmd:"unrouteClearConnect",hotkey:""},{hotkeyCmd:"unrouteClearNetwork",hotkey:""},{hotkeyCmd:"clearAllRoute",hotkey:""},{hotkeyCmd:"removeLoop",hotkey:""},{hotkeyCmd:"trackWidthSetting(WIRING_WIDTH_INPUT)",hotkey:""},{hotkeyCmd:"autoTrimSilkscreen",hotkey:""},{hotkeyCmd:"changeRoutingAngle",hotkey:"Ctrl+Shift+Space"},{hotkeyCmd:"opensubmenu-auxiliary",hotkey:""},{hotkeyCmd:"place_auxiliary(crossLine)",hotkey:""},{hotkeyCmd:"place_auxiliary(verticalLine)",hotkey:""},{hotkeyCmd:"place_auxiliary(horizontalLine)",hotkey:""},{hotkeyCmd:"place_auxiliary(point)",hotkey:""},{hotkeyCmd:"pcbOptimizedPath",hotkey:""}],[Ebt]:[{hotkeyCmd:"openMenu(#mm-common-layout)",hotkey:"O"},{hotkeyCmd:"opensubmenu-group",hotkey:""},{hotkeyCmd:"groupSelected",hotkey:"Ctrl+G"},{hotkeyCmd:"ungroupSelected",hotkey:"Shift+G"},{hotkeyCmd:"joinGroup",hotkey:""},{hotkeyCmd:"removeFromGroup",hotkey:""},{hotkeyCmd:"reuseLayoutRoute",hotkey:""},{hotkeyCmd:"ungroupAll",hotkey:""},{hotkeyCmd:"autoLayout",hotkey:""},{hotkeyCmd:"AUTO_PIN_PLACEMENT",hotkey:""},{hotkeyCmd:"set-attr-text-position",hotkey:""},{hotkeyCmd:"swapLocation",hotkey:""},{hotkeyCmd:"flip2OppositeSide",hotkey:""},{hotkeyCmd:"opensubmenu-offset",hotkey:""},{hotkeyCmd:"absoluteOffset",hotkey:""},{hotkeyCmd:"relativeOffset",hotkey:""},{hotkeyCmd:"opensubmenu-align",hotkey:""},{hotkeyCmd:"align_left",hotkey:"Ctrl+Shift+L"},{hotkeyCmd:"align_horizontal_center",hotkey:"Shift+Alt+E"},{hotkeyCmd:"align_right",hotkey:"Ctrl+Shift+R"},{hotkeyCmd:"align_top",hotkey:"Ctrl+Shift+O"},{hotkeyCmd:"align_vertical_center",hotkey:"Shift+Alt+H"},{hotkeyCmd:"align_bottom",hotkey:"Ctrl+Shift+B"},{hotkeyCmd:"align_grid",hotkey:"Ctrl+Shift+G"},{hotkeyCmd:"opensubmenu-distribute",hotkey:""},{hotkeyCmd:"align_horizontal_equidistant",hotkey:"Ctrl+Shift+H"},{hotkeyCmd:"align_vertical_equidistant",hotkey:"Ctrl+Shift+E"},{hotkeyCmd:"distribute_left_side_edge_equidistant",hotkey:""},{hotkeyCmd:"distribute_top_side_edge_equidistant",hotkey:""},{hotkeyCmd:"distribute_horizontal_by_center_distance",hotkey:""},{hotkeyCmd:"distribute_vertical_by_center_distance",hotkey:""},{hotkeyCmd:"distribute_horizontal_by_edges_distance",hotkey:""},{hotkeyCmd:"distribute_vertical_by_edges_distance",hotkey:""},{hotkeyCmd:"distribute",hotkey:""},{hotkeyCmd:"component_distribute_by_region",hotkey:"Shift+P"},{hotkeyCmd:"opensubmenu-rotate",hotkey:""},{hotkeyCmd:"rotate_ccw",hotkey:""},{hotkeyCmd:"rotate_left",hotkey:"Space"},{hotkeyCmd:"rotate_right",hotkey:""},{hotkeyCmd:"rotate_reference_point",hotkey:""},{hotkeyCmd:"opensubmenu-flip",hotkey:""},{hotkeyCmd:"fliph",hotkey:"X"},{hotkeyCmd:"flipv",hotkey:"Y"},{hotkeyCmd:"fliph_reference_point",hotkey:""},{hotkeyCmd:"flipv_reference_point",hotkey:""},{hotkeyCmd:"opensubmenu-level",hotkey:""},{hotkeyCmd:"bring_to_front",hotkey:""},{hotkeyCmd:"send_to_back",hotkey:""},{hotkeyCmd:"moveSelectedLeft",hotkey:"Left"},{hotkeyCmd:"moveSelectedRight",hotkey:"Right"},{hotkeyCmd:"moveSelectedUp",hotkey:"Up"},{hotkeyCmd:"moveSelectedDown",hotkey:"Down"},{hotkeyCmd:"switchToTheNextSignalLayer",hotkey:"Num*"},{hotkeyCmd:"switchToThePreviousSignalLayer",hotkey:"Shift+Num*"},{hotkeyCmd:"switchToLayer(1)",hotkey:"Alt+T"},{hotkeyCmd:"switchToLayer(2)",hotkey:"Alt+B"},{hotkeyCmd:"toggleLocked",hotkey:"Shift+Alt+L"}],[Abt]:[{hotkeyCmd:"openMenu(#mm-common-tools)",hotkey:"T"},{hotkeyCmd:"MeasureDistance",hotkey:"Alt+M"},{hotkeyCmd:"SCHLibWizard",hotkey:""},{hotkeyCmd:"OcrWizard",hotkey:""},{hotkeyCmd:"smartSize",hotkey:""},{hotkeyCmd:"checkDimension",hotkey:""},{hotkeyCmd:"renumberPads",hotkey:""},{hotkeyCmd:"renumberPins",hotkey:""},{hotkeyCmd:"teardrop",hotkey:""},{hotkeyCmd:"openPanelizeDlg",hotkey:""},{hotkeyCmd:"removeUnusedPad",hotkey:""},{hotkeyCmd:"prioritizeObjectSelection",hotkey:""},{hotkeyCmd:"log-tool",hotkey:""},{hotkeyCmd:"connectPads",hotkey:""},{hotkeyCmd:"openFootPrintManager",hotkey:"Alt+F"},{hotkeyCmd:"openDeviceManager",hotkey:""},{hotkeyCmd:"openDeviceStandardizationTab",hotkey:""},{hotkeyCmd:"layerOptionsSet",hotkey:"Ctrl+L"},{hotkeyCmd:"viewCopperAreaManager",hotkey:""},{hotkeyCmd:"view3DModelManager",hotkey:""},{hotkeyCmd:"viewPinDelayManager",hotkey:""},{hotkeyCmd:"openAssemblyVariants",hotkey:""},{hotkeyCmd:"compareNetlist",hotkey:""},{hotkeyCmd:"compareSchematic",hotkey:""},{hotkeyCmd:"openPcbComparisonDlg",hotkey:""}],[Nbt]:[{hotkeyCmd:"openMenu(#mm-common-advanced)",hotkey:"A"},{hotkeyCmd:"Command",hotkey:""},{hotkeyCmd:"runScript",hotkey:""},{hotkeyCmd:"scriptManager",hotkey:""},{hotkeyCmd:"showExtensionsManager",hotkey:""}],[kbt]:[{hotkeyCmd:"bom_order_parts",hotkey:""},{hotkeyCmd:"bom_order_parts_smt",hotkey:""},{hotkeyCmd:"orderPCB",hotkey:""},{hotkeyCmd:"show_help_file(layoutService)",hotkey:""},{hotkeyCmd:"order3DShell",hotkey:""},{hotkeyCmd:"panelProductionOrder",hotkey:""},{hotkeyCmd:"openMenu(#mm-common-fabrication2)",hotkey:"R"},{hotkeyCmd:"exportBOM",hotkey:""},{hotkeyCmd:"pcb_fabrication",hotkey:""},{hotkeyCmd:"pcb_export_coordinate_file",hotkey:""},{hotkeyCmd:"export3DFile",hotkey:""},{hotkeyCmd:"export3DShellFile",hotkey:""},{hotkeyCmd:"openDxfExportDlg",hotkey:""},{hotkeyCmd:"export(panelSVG)",hotkey:""},{hotkeyCmd:"export(filePdf)",hotkey:""},{hotkeyCmd:"exportTestPointReport",hotkey:""},{hotkeyCmd:"exportNetlist",hotkey:""},{hotkeyCmd:"exportPng",hotkey:""},{hotkeyCmd:"exportManufacturingFilesForOneClick",hotkey:""},{hotkeyCmd:"export(altium)",hotkey:""},{hotkeyCmd:"export(pads)",hotkey:""},{hotkeyCmd:"exportDSN",hotkey:""},{hotkeyCmd:"viewPCBInformation",hotkey:""}],[Pbt]:[{hotkeyCmd:"openMenu(#mm-common-settings)",hotkey:"I"},{hotkeyCmd:"opensubmenu-system",hotkey:""},{hotkeyCmd:"commonButtonsSetting(SYSTEM)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(CATEGORY)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(BASE_LIBRARY)",hotkey:""},{hotkeyCmd:"opensubmenu-schematic_symbol",hotkey:""},{hotkeyCmd:"commonButtonsSetting(CANVAS)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(OBJECT)",hotkey:""},{hotkeyCmd:"opensubmenu-pcb_footprint",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PCB_FOOTPRINT)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PCB_THEME)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PCB_COMM_GRID_SIZE)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PCB_COMM_TRACK_WIDTH)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PCB_COMM_VIA_SIZE)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(ADSORPTION)",hotkey:""},{hotkeyCmd:"opensubmenu-panel",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PANEL_CANVAS)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PANEL_THEME)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(COMM_TYPEFACE)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(DESIGN)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PROPERTY)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(HOTKEY)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(CUSTOM_TOOLBAR)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(SAVE)",hotkey:""}],[Obt]:[{hotkeyCmd:"openMenu(#mm-common-help)",hotkey:"H"},{hotkeyCmd:"show_help_file(community)",hotkey:""},{hotkeyCmd:"tutorials",hotkey:"F1"},{hotkeyCmd:"show_help_file(feedback)",hotkey:""},{hotkeyCmd:"show_help_file(contact)",hotkey:""},{hotkeyCmd:"show_about",hotkey:""},{hotkeyCmd:"show_videocapture",hotkey:""},{hotkeyCmd:"show_performancetool",hotkey:""}],[Rbt]:[{hotkeyCmd:"openMenu(#mm-common-sim)",hotkey:"S"}],[_bt]:[{hotkeyCmd:"color-exchange",hotkey:"Shift+X"},{hotkeyCmd:"select_net",hotkey:"N"},{hotkeyCmd:"decrease_routing_width",hotkey:"-"},{hotkeyCmd:"increase_routing_width",hotkey:"="},{hotkeyCmd:"decrease_snap_size",hotkey:"Alt+-"},{hotkeyCmd:"increase_snap_size",hotkey:"Alt+="},{hotkeyCmd:"move_selected_left_by_alt_grid",hotkey:"Alt+Left"},{hotkeyCmd:"move_selected_right_by_alt_grid",hotkey:"Alt+Right"},{hotkeyCmd:"move_selected_up_by_alt_grid",hotkey:"Alt+Up"},{hotkeyCmd:"move_selected_down_by_alt_grid",hotkey:"Alt+Down"},{hotkeyCmd:"specialPaste",hotkey:"Ctrl+Shift+V"},{hotkeyCmd:"ChangetoTopLayer",hotkey:"Alt+T"},{hotkeyCmd:"ChangetoBottomLayer",hotkey:"Alt+B"},{hotkeyCmd:"ChangetoInner1",hotkey:"1"},{hotkeyCmd:"ChangetoInner2",hotkey:"2"},{hotkeyCmd:"ChangetoInner3",hotkey:"3"},{hotkeyCmd:"ChangetoInner4",hotkey:"4"},{hotkeyCmd:"ChangetoInner5",hotkey:"5"},{hotkeyCmd:"ChangetoInner6",hotkey:"6"},{hotkeyCmd:"ChangeCopperZoneVisibleorInvisible",hotkey:"Shift+M"},{hotkeyCmd:"RebuildAllCopperArea",hotkey:"Shift+B"},{hotkeyCmd:"finish",hotkey:"Enter"},{hotkeyCmd:"draw_end",hotkey:"Esc"},{hotkeyCmd:"undoDraw",hotkey:"Backspace"},{hotkeyCmd:"SelectOverlap",hotkey:"G"},{hotkeyCmd:"FilpPathWhileDrawing",hotkey:"Space"},{hotkeyCmd:"show_drawing_attr_dlg",hotkey:"Tab"},{hotkeyCmd:"showSymbolPinModifyDialog",hotkey:"Tab"},{hotkeyCmd:"showMultiPinMotifyAttrDialog",hotkey:"Tab"},{hotkeyCmd:"showNetLabelPinModifyDialog",hotkey:"Tab"},{hotkeyCmd:"showSchMoveConfigDialog",hotkey:"Tab"},{hotkeyCmd:"showEditTableDialog",hotkey:"Tab"},{hotkeyCmd:"showNetPortModifyDialog",hotkey:"Tab"},{hotkeyCmd:"showOfPageConnectorModifyDialog",hotkey:"Tab"},{hotkeyCmd:"showPartModifyDialog",hotkey:"Tab"},{hotkeyCmd:"showNetFlagModifyDialog",hotkey:"Tab"},{hotkeyCmd:"switchSelectedRangeWhenObjectIsSelected",hotkey:"Tab"},{hotkeyCmd:"open_set_net_property_dialog",hotkey:"Tab"},{hotkeyCmd:"changeDiffPairFanOutMode",hotkey:"Space"},{hotkeyCmd:"change_track_width_while_routing",hotkey:"Tab"},{hotkeyCmd:"increaseSnakeGap",hotkey:"Num+"},{hotkeyCmd:"decreaseSnakeGap",hotkey:"Num-"},{hotkeyCmd:"switch_common_track_width",hotkey:"Shift+W"},{hotkeyCmd:"switch_common_via_size",hotkey:"Shift+V"},{hotkeyCmd:"Absolute"},{hotkeyCmd:"Relative"},{hotkeyCmd:"RelativeX"},{hotkeyCmd:"RelativeY"},{hotkeyCmd:"ToggleLayer"},{hotkeyCmd:"DisplayLayer"},{hotkeyCmd:"DisplayAllLayers",hotkey:"Shift+L"},{hotkeyCmd:"expandAndModifyProperties",hotkey:"Enter"},{hotkeyCmd:"Find"},{hotkeyCmd:"WireWidth"},{hotkeyCmd:"displayRealTimeNetLengthAndLengthTolerance",hotkey:"Shift+G"},{hotkeyCmd:"stop_video_capture",hotkey:""}]},Msr={[Sbt]:[{hotkeyCmd:"openMenu(#mm-common-file)",hotkey:"F3"},{hotkeyCmd:"opensubmenu-new",hotkey:""},{hotkeyCmd:"newProject",hotkey:"Shift+N"},{hotkeyCmd:"new_board",hotkey:""},{hotkeyCmd:"new_schematic",hotkey:""},{hotkeyCmd:"new_page",hotkey:""},{hotkeyCmd:"new_PCB",hotkey:""},{hotkeyCmd:"new_Panel",hotkey:""},{hotkeyCmd:"new_device",hotkey:""},{hotkeyCmd:"new_NetFlag",hotkey:""},{hotkeyCmd:"new_NetPort",hotkey:""},{hotkeyCmd:"new_OffPageConnector",hotkey:""},{hotkeyCmd:"new_Drawing",hotkey:""},{hotkeyCmd:"new_Non_Electronic",hotkey:""},{hotkeyCmd:"new_schematicLib",hotkey:""},{hotkeyCmd:"new_footprint",hotkey:""},{hotkeyCmd:"new_3D_model",hotkey:""},{hotkeyCmd:"partTree(newPart)",hotkey:""},{hotkeyCmd:"new_CBB",hotkey:""},{hotkeyCmd:"open_create_panel_lib_dialog",hotkey:""},{hotkeyCmd:"standard_edition_migration",hotkey:""},{hotkeyCmd:"openProject",hotkey:"Ctrl+O"},{hotkeyCmd:"file_save",hotkey:"Ctrl+Shift+S"},{hotkeyCmd:"save_all",hotkey:"Ctrl+S"},{hotkeyCmd:"opensubmenu-saveas",hotkey:""},{hotkeyCmd:"projectSaveAsCloud",hotkey:""},{hotkeyCmd:"projectSaveAsLocal",hotkey:""},{hotkeyCmd:"docSaveAsCloud",hotkey:""},{hotkeyCmd:"docSaveAsLocal",hotkey:""},{hotkeyCmd:"selectedBSSaveAsCloud",hotkey:""},{hotkeyCmd:"selectedBSSaveAsLocal",hotkey:""},{hotkeyCmd:"backup",hotkey:""},{hotkeyCmd:"switchVersion",hotkey:""},{hotkeyCmd:"backup_project",hotkey:""},{hotkeyCmd:"historicalRecords",hotkey:""},{hotkeyCmd:"new_branch",hotkey:""},{hotkeyCmd:"new_node",hotkey:""},{hotkeyCmd:"version_management",hotkey:""},{hotkeyCmd:"cacheRecovery",hotkey:""},{hotkeyCmd:"opensubmenu-import",hotkey:""},{hotkeyCmd:"importDXF",hotkey:""},{hotkeyCmd:"importSVG",hotkey:""},{hotkeyCmd:"insertImage",hotkey:""},{hotkeyCmd:"importFile(easyeda)",hotkey:""},{hotkeyCmd:"file_open",hotkey:""},{hotkeyCmd:"importFile(altium)",hotkey:""},{hotkeyCmd:"importFile(eagle)",hotkey:""},{hotkeyCmd:"importFile(kicad)",hotkey:""},{hotkeyCmd:"importFile(pads)",hotkey:""},{hotkeyCmd:"importFile(protel)",hotkey:""},{hotkeyCmd:"importFile(ltspice)",hotkey:""},{hotkeyCmd:"importSes",hotkey:""},{hotkeyCmd:"importNetlist",hotkey:""},{hotkeyCmd:"opensubmenu-export",hotkey:""},{hotkeyCmd:"printPDF",hotkey:""},{hotkeyCmd:"closeProject",hotkey:""},{hotkeyCmd:"opensubmenu-recent",hotkey:""},{hotkeyCmd:"clearRecentList",hotkey:""},{hotkeyCmd:"recycleBin",hotkey:""},{hotkeyCmd:"source(easyEDA)",hotkey:""},{hotkeyCmd:"sheet(toPrevious)",hotkey:"Page Up"},{hotkeyCmd:"sheet(toNext)",hotkey:"Page Down"},{hotkeyCmd:"sheet(toPage)",hotkey:""},{hotkeyCmd:"sheet(toPreviousPart)",hotkey:"Page Up"},{hotkeyCmd:"sheet(toNextPart)",hotkey:"Page Down"},{hotkeyCmd:"switchNextDoc",hotkey:"Shift+2"},{hotkeyCmd:"switchPreDoc",hotkey:"Shift+1"},{hotkeyCmd:"switchNextDocByNatural",hotkey:""},{hotkeyCmd:"switchPreDocByNatural",hotkey:""},{hotkeyCmd:"close_tab",hotkey:"Alt+W"},{hotkeyCmd:"close_all_tabs",hotkey:"Shift+Alt+W"}],[Mbt]:[{hotkeyCmd:"openMenu(#mm-common-edit)",hotkey:"Z"},{hotkeyCmd:"toggleAdsorb",hotkey:"Alt+S"},{hotkeyCmd:"undo",hotkey:"Ctrl+Z"},{hotkeyCmd:"redo",hotkey:"Ctrl+Y"},{hotkeyCmd:"repeat",hotkey:"F4"},{hotkeyCmd:"cut",hotkey:"Ctrl+X"},{hotkeyCmd:"copy",hotkey:"Ctrl+C"},{hotkeyCmd:"paste",hotkey:"Ctrl+V"},{hotkeyCmd:"pasteInPlace",hotkey:"Ctrl+Shift+V"},{hotkeyCmd:"PasteAsPlainText",hotkey:"Ctrl+Shift+V"},{hotkeyCmd:"opensubmenu-duplicate",hotkey:""},{hotkeyCmd:"opensubmenu-duplicate-panel",hotkey:""},{hotkeyCmd:"centerViewByCursor",hotkey:"Shift+Home"},{hotkeyCmd:"duplicateToCursor",hotkey:"Ctrl+D"},{hotkeyCmd:"duplicatePaste",hotkey:""},{hotkeyCmd:"duplicateToOtherLayer",hotkey:"Ctrl+Shift+D"},{hotkeyCmd:"copySpecial",hotkey:""},{hotkeyCmd:"copyToImage",hotkey:""},{hotkeyCmd:"copyToSvg",hotkey:""},{hotkeyCmd:"copyToPng",hotkey:""},{hotkeyCmd:"opensubmenu-move",hotkey:""},{hotkeyCmd:"MOVE_BY_CENTER_POINT",hotkey:"M"},{hotkeyCmd:"MOVE_BY_ORIGIN_POINT",hotkey:""},{hotkeyCmd:"MOVE_BY_REFERENCE_POINT",hotkey:"Shift+D"},{hotkeyCmd:"opensubmenu-delete",hotkey:""},{hotkeyCmd:"Delete",hotkey:"Delete"},{hotkeyCmd:"delete-target",hotkey:""},{hotkeyCmd:"delete-all",hotkey:""},{hotkeyCmd:"opensubmenu-selectobj",hotkey:""},{hotkeyCmd:"select_all",hotkey:"Ctrl+A"},{hotkeyCmd:"continuousSelection",hotkey:""},{hotkeyCmd:"rectangleOutside",hotkey:""},{hotkeyCmd:"rectangleInside",hotkey:""},{hotkeyCmd:"polygonInside",hotkey:""},{hotkeyCmd:"polygonOutside",hotkey:""},{hotkeyCmd:"lineTouched",hotkey:""},{hotkeyCmd:"connectedCopper",hotkey:"Ctrl+H"},{hotkeyCmd:"editArray",hotkey:""},{hotkeyCmd:"ADD_FILLET",hotkey:""},{hotkeyCmd:"ADD_CHAMFER",hotkey:""},{hotkeyCmd:"opensubmenu-booleanoperation",hotkey:""},{hotkeyCmd:"boolAggregate",hotkey:""},{hotkeyCmd:"boolSubtraction",hotkey:""},{hotkeyCmd:"boolIntersection",hotkey:""},{hotkeyCmd:"boolExclusive",hotkey:""},{hotkeyCmd:"boolSplit",hotkey:""},{hotkeyCmd:"findObjects",hotkey:"Ctrl+F"},{hotkeyCmd:"findSimilar",hotkey:"Ctrl+Shift+F"},{hotkeyCmd:"unlockAll",hotkey:""},{hotkeyCmd:"Split",hotkey:""},{hotkeyCmd:"Cutout",hotkey:""},{hotkeyCmd:"draw(RCutout)",hotkey:""},{hotkeyCmd:"draw(PCutout)",hotkey:""},{hotkeyCmd:"draw(CCutout)",hotkey:""},{hotkeyCmd:"avoidSlots",hotkey:""},{hotkeyCmd:"avoidPads",hotkey:""},{hotkeyCmd:"CONVERT_TO_PAD",hotkey:""},{hotkeyCmd:"CONVERT_TO_TRACK",hotkey:""},{hotkeyCmd:"CONVERT_TO_2D_LINE",hotkey:""},{hotkeyCmd:"CONVERT_TO_SLOT_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_FILL_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_COPPER_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_PROHIBITED_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_BOARD_OUTLINE",hotkey:""},{hotkeyCmd:"CONVERT_TO_CONSTRAINT_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_D3_SHELL_OUTLINE",hotkey:""},{hotkeyCmd:"CONVERT_TO_D3_SHELL_SLOT_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_D3_SHELL_ENTITY",hotkey:""},{hotkeyCmd:"CONVERT_TO_FPC_STIFFENER",hotkey:""},{hotkeyCmd:"EDIT BOUNDARY",hotkey:""}],[Ibt]:[{hotkeyCmd:"openMenu(#mm-common-view)",hotkey:"F6"},{hotkeyCmd:"Preview2D",hotkey:""},{hotkeyCmd:"Preview3D",hotkey:""},{hotkeyCmd:"Preview3DInNewWindow",hotkey:""},{hotkeyCmd:"zoom(in)",hotkey:""},{hotkeyCmd:"zoom(out)",hotkey:""},{hotkeyCmd:"fitview",hotkey:"K"},{hotkeyCmd:"adaptSelectionView",hotkey:""},{hotkeyCmd:"adaptAreaSelectionView",hotkey:""},{hotkeyCmd:"fitBoard",hotkey:""},{hotkeyCmd:"full_screen",hotkey:"F11"},{hotkeyCmd:"switchView(normal)",hotkey:""},{hotkeyCmd:"switchView(outline)",hotkey:""},{hotkeyCmd:"brightness(0)",hotkey:""},{hotkeyCmd:"brightness(1)",hotkey:""},{hotkeyCmd:"brightness(2)",hotkey:""},{hotkeyCmd:"Flip Board",hotkey:"F"},{hotkeyCmd:"Unit",hotkey:"Q"},{hotkeyCmd:"opensubmenu-gridsize-pcb",hotkey:""},{hotkeyCmd:"opensubmenu-gridsize",hotkey:""},{hotkeyCmd:"switchGridSizeBtn(size_0.1)",hotkey:""},{hotkeyCmd:"switchGridSizeBtn(size_0.05)",hotkey:""},{hotkeyCmd:"switchGridSizeBtn(size_0.01)",hotkey:""},{hotkeyCmd:"switchGridSizeBtn(size_1)",hotkey:""},{hotkeyCmd:"switchGridSizeBtn(size_0.5)",hotkey:""},{hotkeyCmd:"opensubmenu-snapsize",hotkey:""},{hotkeyCmd:"gridSnapKeepRatio",hotkey:""},{hotkeyCmd:"setGridSize",hotkey:""},{hotkeyCmd:"setGridRange",hotkey:""},{hotkeyCmd:"opensubmenu-gridtype-pcb",hotkey:""},{hotkeyCmd:"opensubmenu-gridtype",hotkey:""},{hotkeyCmd:"switchGridType(outlets)",hotkey:""},{hotkeyCmd:"switchGridType(grid)",hotkey:""},{hotkeyCmd:"switchGridType(none)",hotkey:""},{hotkeyCmd:"opensubmenu-ratline",hotkey:""},{hotkeyCmd:"showOrHideSelectedObjRatline",hotkey:"Ctrl+R"},{hotkeyCmd:"hideSelectedComponentRatline",hotkey:""},{hotkeyCmd:"hideAllRatline",hotkey:""},{hotkeyCmd:"showSelectedComponentRatline",hotkey:""},{hotkeyCmd:"showAllRatline",hotkey:""},{hotkeyCmd:"opensubmenu-highlight-pcb",hotkey:""},{hotkeyCmd:"opensubmenu-highlight-sch",hotkey:""},{hotkeyCmd:"highlightConnectedsByWire",hotkey:"H"},{hotkeyCmd:"HIGHLIGHT_COMPONENT",hotkey:""},{hotkeyCmd:"HIGHLIGHT_SELECTED_OBJECTS",hotkey:""},{hotkeyCmd:"UnhighlightSelectedObjects",hotkey:"H"},{hotkeyCmd:"INCREASE_BRIGHTNESS",hotkey:""},{hotkeyCmd:"DECREASE_BRIGHTNESS",hotkey:""},{hotkeyCmd:"HIGHLIGHT_CANCEL_COMPONENT",hotkey:""},{hotkeyCmd:"HIGHLIGHT_CANCEL_SELECTED_OBJECTS",hotkey:""},{hotkeyCmd:"scrollLeft",hotkey:"Left"},{hotkeyCmd:"scrollRight",hotkey:"Right"},{hotkeyCmd:"scrollUp",hotkey:"Up"},{hotkeyCmd:"scrollDown",hotkey:"Down"},{hotkeyCmd:"showOrHideNumberOrNetName",hotkey:"Ctrl+Q"},{hotkeyCmd:"SwitchLayerBrightness",hotkey:"Shift+S"},{hotkeyCmd:"toolbar_toggle(topbar)",hotkey:""},{hotkeyCmd:"toolbar_toggle(leftbar)",hotkey:"["},{hotkeyCmd:"toolbar_toggle(rightbar)",hotkey:"]"},{hotkeyCmd:"operateBottomPanel",hotkey:"S"},{hotkeyCmd:"editTag",hotkey:""},{hotkeyCmd:"open_in_new_window",hotkey:""},{hotkeyCmd:"opensubmenu-tabmenu",hotkey:""},{hotkeyCmd:"refresh",hotkey:""},{hotkeyCmd:"clone",hotkey:""},{hotkeyCmd:"modifyFile",hotkey:""},{hotkeyCmd:"variant_view_mode",hotkey:"Shift+M"}],[Lbt]:[{hotkeyCmd:"place",hotkey:"Enter"},{hotkeyCmd:"openMenu(#mm-common-place)",hotkey:"F7"},{hotkeyCmd:"placeDevice",hotkey:"Shift+F"},{hotkeyCmd:"opensubmenu-shortcutDevice",hotkey:""},{hotkeyCmd:"place_shortcut_device(resistor)",hotkey:""},{hotkeyCmd:"place_shortcut_device(capacitor)",hotkey:""},{hotkeyCmd:"place_shortcut_device(inductor)",hotkey:""},{hotkeyCmd:"place_shortcut_device(diode)",hotkey:""},{hotkeyCmd:"place_part(line_pins)",hotkey:""},{hotkeyCmd:"place_part(rect_pins)",hotkey:""},{hotkeyCmd:"draw(wire)",hotkey:"W"},{hotkeyCmd:"draw(bus)",hotkey:"B"},{hotkeyCmd:"place_part(netlabel)",hotkey:"N"},{hotkeyCmd:"place_special_part(short_symbol)",hotkey:""},{hotkeyCmd:"opensubmenu-netflag",hotkey:""},{hotkeyCmd:"place_special_part(netflag_VCC)",hotkey:""},{hotkeyCmd:"place_special_part(netflag_5V)",hotkey:""},{hotkeyCmd:"place_special_part(netflag_gnD)",hotkey:""},{hotkeyCmd:"place_special_part(netflag_GNd)",hotkey:""},{hotkeyCmd:"place_special_part(netflag_gNd)",hotkey:""},{hotkeyCmd:"opensubmenu-netPort",hotkey:""},{hotkeyCmd:"place_special_part(netport_IN)",hotkey:""},{hotkeyCmd:"place_special_part(netport_OUT)",hotkey:""},{hotkeyCmd:"place_special_part(netport_BI)",hotkey:""},{hotkeyCmd:"opensubmenu-offPageConnector",hotkey:""},{hotkeyCmd:"place_special_part(offPageConnector_IN)",hotkey:""},{hotkeyCmd:"place_special_part(offPageConnector_OUT)",hotkey:""},{hotkeyCmd:"place_special_part(offPageConnector_BI)",hotkey:""},{hotkeyCmd:"new_OffPageConnector",hotkey:""},{hotkeyCmd:"place_part(noconnect)",hotkey:""},{hotkeyCmd:"place_part(junction)",hotkey:"Alt+J"},{hotkeyCmd:"place_part(diffPairsFlag)",hotkey:""},{hotkeyCmd:"place_shortcut_device(test_point)",hotkey:""},{hotkeyCmd:"draw(block)",hotkey:""},{hotkeyCmd:"draw(pen)",hotkey:""},{hotkeyCmd:"opensubmenu-draw-dimension"},{hotkeyCmd:"draw(dimension-xy)",hotkey:"Alt+Z"},{hotkeyCmd:"draw(dimension-x)",hotkey:"Alt+X"},{hotkeyCmd:"draw(dimension-y)",hotkey:"Alt+Y"},{hotkeyCmd:"opensubmenu-drawline",hotkey:""},{hotkeyCmd:"opensubmenu-panel-arc",hotkey:""},{hotkeyCmd:"opensubmenu-placepin",hotkey:""},{hotkeyCmd:"place_part(pin)",hotkey:"P"},{hotkeyCmd:"draw(arc)",hotkey:"Alt+A"},{hotkeyCmd:"draw(bezier)",hotkey:"Alt+Z"},{hotkeyCmd:"draw(rect)",hotkey:"R"},{hotkeyCmd:"draw(circle)",hotkey:"Alt+C"},{hotkeyCmd:"draw(ellipse)",hotkey:"Alt+E"},{hotkeyCmd:"draw(polyline)",hotkey:"Alt+L"},{hotkeyCmd:"showTextDialog",hotkey:"T"},{hotkeyCmd:"opensubmenu-testPad",hotkey:""},{hotkeyCmd:"place_part(testPad)",hotkey:""},{hotkeyCmd:"draw(maskRegion)",hotkey:""},{hotkeyCmd:"openSetComponentMaskDialog",hotkey:""},{hotkeyCmd:"place_part(autoTestPad)",hotkey:""},{hotkeyCmd:"showTextDialog_pcb",hotkey:""},{hotkeyCmd:"PlaceVia",hotkey:"V"},{hotkeyCmd:"PlaceViaFence",hotkey:""},{hotkeyCmd:"opensubmenu-suturevias",hotkey:""},{hotkeyCmd:"draw(rectSutureVia)",hotkey:""},{hotkeyCmd:"draw(polygonSutureVia)",hotkey:""},{hotkeyCmd:"draw(lineSutureVia)",hotkey:""},{hotkeyCmd:"opensubmenu-pad",hotkey:""},{hotkeyCmd:"PlaceSinglePad",hotkey:"P"},{hotkeyCmd:"place_part(line_pads)",hotkey:""},{hotkeyCmd:"place_part(rect_pads)",hotkey:""},{hotkeyCmd:"place_part(polygonpad)",hotkey:""},{hotkeyCmd:"opensubmenu-boardoutline",hotkey:""},{hotkeyCmd:"draw(ROutline)",hotkey:""},{hotkeyCmd:"draw(POutline)",hotkey:""},{hotkeyCmd:"draw(COutline)",hotkey:""},{hotkeyCmd:"copperRegion",hotkey:""},{hotkeyCmd:"draw(RCopper)",hotkey:""},{hotkeyCmd:"draw(CCopper)",hotkey:""},{hotkeyCmd:"draw(PCopper)",hotkey:"E"},{hotkeyCmd:"fillRegion",hotkey:""},{hotkeyCmd:"draw(RRegion)",hotkey:""},{hotkeyCmd:"draw(PRegion)",hotkey:""},{hotkeyCmd:"draw(CRegion)",hotkey:""},{hotkeyCmd:"opensubmenu-fpcStiffener",hotkey:""},{hotkeyCmd:"draw(RectFPCStiffener)",hotkey:""},{hotkeyCmd:"draw(CirFPCStiffener)",hotkey:""},{hotkeyCmd:"draw(PolyFPCStiffener)",hotkey:""},{hotkeyCmd:"opensubmenu-slotRegion",hotkey:""},{hotkeyCmd:"draw(RSlot)",hotkey:""},{hotkeyCmd:"draw(PSlot)",hotkey:""},{hotkeyCmd:"draw(CSlot)",hotkey:""},{hotkeyCmd:"prohibitedRegion",hotkey:""},{hotkeyCmd:"draw(RProhibit)",hotkey:""},{hotkeyCmd:"draw(PProhibit)",hotkey:""},{hotkeyCmd:"draw(CProhibit)",hotkey:""},{hotkeyCmd:"setOriginByCoordinate",hotkey:"Ctrl+Home"},{hotkeyCmd:"setOriginByFirstPin",hotkey:""},{hotkeyCmd:"placeOriginPad",hotkey:""},{hotkeyCmd:"opensubmenu-canvasOrigin"},{hotkeyCmd:"draw(origin)",hotkey:"Home"},{hotkeyCmd:"setOriginByCenter",hotkey:"Ctrl+End"},{hotkeyCmd:"placeOriginCenter",hotkey:"Ctrl+End"},{hotkeyCmd:"draw(arcCenter)",hotkey:"U"},{hotkeyCmd:"draw(arc2)",hotkey:""},{hotkeyCmd:"opensubmenu-dimension",hotkey:""},{hotkeyCmd:"draw(dimension)",hotkey:"N"},{hotkeyCmd:"draw(protractor)",hotkey:""},{hotkeyCmd:"draw(radius)",hotkey:""},{hotkeyCmd:"editTable",hotkey:""},{hotkeyCmd:"place_part(stack_table)",hotkey:""},{hotkeyCmd:"place_part(drill_table)",hotkey:""},{hotkeyCmd:"opensunmenu-3dShellOutline",hotkey:""},{hotkeyCmd:"draw(R3dShellOutline)",hotkey:""},{hotkeyCmd:"draw(C3dShellOutline)",hotkey:""},{hotkeyCmd:"draw(P3dShellOutline)",hotkey:""},{hotkeyCmd:"place_part(3dShellScrewPillar)",hotkey:""},{hotkeyCmd:"draw(3dShellSideSlotDatumLine)",hotkey:""},{hotkeyCmd:"opensubmenu-3DShellSideSlotRegion",hotkey:""},{hotkeyCmd:"draw(R3dShellSideSlotRegion)",hotkey:""},{hotkeyCmd:"draw(C3dShellSideSlotRegion)",hotkey:""},{hotkeyCmd:"draw(P3dShellSideSlotRegion)",hotkey:""},{hotkeyCmd:"opensubmenu-3DShell-Top_Bottom-SlotRegion",hotkey:""},{hotkeyCmd:"draw(R3dShellTopSlotRegion)",hotkey:""},{hotkeyCmd:"draw(C3dShellTopSlotRegion)",hotkey:""},{hotkeyCmd:"draw(P3dShellTopSlotRegion)",hotkey:""},{hotkeyCmd:"opensubmenu-3DShell-SideEntity",hotkey:""},{hotkeyCmd:"draw(R3dShellSideEntity)",hotkey:""},{hotkeyCmd:"draw(C3dShellSideEntity)",hotkey:""},{hotkeyCmd:"draw(P3dShellSideEntity)",hotkey:""},{hotkeyCmd:"opensubmenu-3DShell-TopEntity",hotkey:""},{hotkeyCmd:"draw(R3dShellTopBottomEntity)",hotkey:""},{hotkeyCmd:"draw(C3dShellTopBottomEntity)",hotkey:""},{hotkeyCmd:"draw(P3dShellTopBottomEntity)",hotkey:""},{hotkeyCmd:"place5V",hotkey:""}],[vbt]:[{hotkeyCmd:"openMenu(#mm-common-design)",hotkey:"D"},{hotkeyCmd:"backToUpper",hotkey:""},{hotkeyCmd:"generateOrUpdateBlockSymbol2",hotkey:""},{hotkeyCmd:"generateOrUpdateBlockSymbol",hotkey:""},{hotkeyCmd:"updateSchematicNetPort",hotkey:""},{hotkeyCmd:"openElecRule",hotkey:""},{hotkeyCmd:"pcb_DRC",hotkey:""},{hotkeyCmd:"checkERC",hotkey:""},{hotkeyCmd:"checkDRCCustom",hotkey:""},{hotkeyCmd:"clearErrors",hotkey:""},{hotkeyCmd:"toggleRealTimeDRC",hotkey:""},{hotkeyCmd:"ref_designator_annotate",hotkey:""},{hotkeyCmd:"pcb_design_rule",hotkey:""},{hotkeyCmd:"netClassManager",hotkey:""},{hotkeyCmd:"differentialPairManager",hotkey:""},{hotkeyCmd:"equalLengthGroupManager",hotkey:""},{hotkeyCmd:"EditPadsPairGroupDialog",hotkey:""},{hotkeyCmd:"updateComponent",hotkey:""},{hotkeyCmd:"updateReuseBlock",hotkey:""},{hotkeyCmd:"resetUniqueId",hotkey:""},{hotkeyCmd:"projectSheetSetting",hotkey:""},{hotkeyCmd:"crossProbe",hotkey:"Shift+X"},{hotkeyCmd:"placeTransfer",hotkey:"Ctrl+Shift+X"},{hotkeyCmd:"switchToThePreviousLayer",hotkey:"Num-"},{hotkeyCmd:"switchToTheNextLayer",hotkey:"Num+"},{hotkeyCmd:"importChangesFromSch",hotkey:"Alt+I"},{hotkeyCmd:"importChangesFromPcb",hotkey:""},{hotkeyCmd:"reuseTemplateLayoutAndRoute",hotkey:""},...Tbt,{hotkeyCmd:"drawpartition(Circle)",hotkey:""},{hotkeyCmd:"drawpartition(Polygon)",hotkey:""},{hotkeyCmd:"OPEN_PARTITION_MANAGER",hotkey:""},{hotkeyCmd:"opensubmenu-boardshape",hotkey:""},{hotkeyCmd:"convertToBoard",hotkey:""},{hotkeyCmd:"convertToLineFromBoard",hotkey:""}],[Dbt]:[{hotkeyCmd:"openMenu(#mm-common-route)",hotkey:"C"},{hotkeyCmd:"SingleRouting",hotkey:"W"},{hotkeyCmd:"MultiRouting",hotkey:""},{hotkeyCmd:"IncreaseMultiSpace",hotkey:"."},{hotkeyCmd:"decreaseMultiSpace",hotkey:","},{hotkeyCmd:"draw(stretchtrack)",hotkey:"Shift+W"},{hotkeyCmd:"draw(difftrack)",hotkey:"Alt+D"},{hotkeyCmd:"equalLengthTuning",hotkey:"Shift+A"},{hotkeyCmd:"diffPairEqualLengthTuning",hotkey:""},{hotkeyCmd:"auto-routing",hotkey:""},{hotkeyCmd:"pcbBatchFanout",hotkey:""},{hotkeyCmd:"changeRoutingMode",hotkey:"Shift+R"},{hotkeyCmd:"RoutingCorner",hotkey:"L"},{hotkeyCmd:"opensubmenu-routingWidth",hotkey:""},{hotkeyCmd:"trackWidthSetting(WIRING_WIDTH_FOLLOWRULES)",hotkey:""},{hotkeyCmd:"trackWidthSetting(WIRING_WIDTH_RULESSETTING)",hotkey:""},{hotkeyCmd:"opensubmenu-unroute",hotkey:""},{hotkeyCmd:"unrouteClearConnect",hotkey:""},{hotkeyCmd:"unrouteClearNetwork",hotkey:""},{hotkeyCmd:"clearAllRoute",hotkey:""},{hotkeyCmd:"removeLoop",hotkey:""},{hotkeyCmd:"trackWidthSetting(WIRING_WIDTH_INPUT)",hotkey:""},{hotkeyCmd:"autoTrimSilkscreen",hotkey:""},{hotkeyCmd:"changeRoutingAngle",hotkey:"Ctrl+Shift+Space"},{hotkeyCmd:"opensubmenu-auxiliary",hotkey:""},{hotkeyCmd:"place_auxiliary(crossLine)",hotkey:""},{hotkeyCmd:"place_auxiliary(verticalLine)",hotkey:""},{hotkeyCmd:"place_auxiliary(horizontalLine)",hotkey:""},{hotkeyCmd:"place_auxiliary(point)",hotkey:""},{hotkeyCmd:"pcbOptimizedPath",hotkey:""}],[Ebt]:[{hotkeyCmd:"openMenu(#mm-common-layout)",hotkey:"O"},{hotkeyCmd:"opensubmenu-group",hotkey:""},{hotkeyCmd:"groupSelected",hotkey:"Ctrl+G"},{hotkeyCmd:"ungroupSelected",hotkey:"Shift+G"},{hotkeyCmd:"joinGroup",hotkey:""},{hotkeyCmd:"removeFromGroup",hotkey:""},{hotkeyCmd:"reuseLayoutRoute",hotkey:""},{hotkeyCmd:"ungroupAll",hotkey:""},{hotkeyCmd:"autoLayout",hotkey:""},{hotkeyCmd:"AUTO_PIN_PLACEMENT",hotkey:""},{hotkeyCmd:"set-attr-text-position",hotkey:""},{hotkeyCmd:"swapLocation",hotkey:""},{hotkeyCmd:"flip2OppositeSide",hotkey:""},{hotkeyCmd:"opensubmenu-offset",hotkey:""},{hotkeyCmd:"absoluteOffset",hotkey:""},{hotkeyCmd:"relativeOffset",hotkey:""},{hotkeyCmd:"opensubmenu-align",hotkey:""},{hotkeyCmd:"align_left",hotkey:"Ctrl+Shift+L"},{hotkeyCmd:"align_horizontal_center",hotkey:"Shift+Alt+E"},{hotkeyCmd:"align_right",hotkey:"Ctrl+Shift+R"},{hotkeyCmd:"align_top",hotkey:"Ctrl+Shift+O"},{hotkeyCmd:"align_vertical_center",hotkey:"Shift+Alt+H"},{hotkeyCmd:"align_bottom",hotkey:"Ctrl+Shift+B"},{hotkeyCmd:"align_grid",hotkey:"Ctrl+Shift+G"},{hotkeyCmd:"opensubmenu-distribute",hotkey:""},{hotkeyCmd:"align_horizontal_equidistant",hotkey:"Ctrl+Shift+H"},{hotkeyCmd:"align_vertical_equidistant",hotkey:"Ctrl+Shift+E"},{hotkeyCmd:"distribute_left_side_edge_equidistant",hotkey:""},{hotkeyCmd:"distribute_top_side_edge_equidistant",hotkey:""},{hotkeyCmd:"distribute_horizontal_by_center_distance",hotkey:""},{hotkeyCmd:"distribute_vertical_by_center_distance",hotkey:""},{hotkeyCmd:"distribute_horizontal_by_edges_distance",hotkey:""},{hotkeyCmd:"distribute_vertical_by_edges_distance",hotkey:""},{hotkeyCmd:"distribute",hotkey:""},{hotkeyCmd:"component_distribute_by_region",hotkey:"Shift+P"},{hotkeyCmd:"opensubmenu-rotate",hotkey:""},{hotkeyCmd:"rotate_ccw",hotkey:""},{hotkeyCmd:"rotate_left",hotkey:"Space"},{hotkeyCmd:"rotate_right",hotkey:""},{hotkeyCmd:"rotate_reference_point",hotkey:""},{hotkeyCmd:"opensubmenu-flip",hotkey:""},{hotkeyCmd:"fliph",hotkey:"X"},{hotkeyCmd:"flipv",hotkey:"Y"},{hotkeyCmd:"fliph_reference_point",hotkey:""},{hotkeyCmd:"flipv_reference_point",hotkey:""},{hotkeyCmd:"opensubmenu-level",hotkey:""},{hotkeyCmd:"bring_to_front",hotkey:""},{hotkeyCmd:"send_to_back",hotkey:""},{hotkeyCmd:"moveSelectedLeft",hotkey:"Left"},{hotkeyCmd:"moveSelectedRight",hotkey:"Right"},{hotkeyCmd:"moveSelectedUp",hotkey:"Up"},{hotkeyCmd:"moveSelectedDown",hotkey:"Down"},{hotkeyCmd:"switchToTheNextSignalLayer",hotkey:"Num*"},{hotkeyCmd:"switchToThePreviousSignalLayer",hotkey:"Shift+Num*"},{hotkeyCmd:"switchToLayer(1)",hotkey:"T"},{hotkeyCmd:"switchToLayer(2)",hotkey:"B"},{hotkeyCmd:"toggleLocked",hotkey:"Shift+Alt+L"}],[Abt]:[{hotkeyCmd:"openMenu(#mm-common-tools)",hotkey:"F9"},{hotkeyCmd:"MeasureDistance",hotkey:"Alt+M"},{hotkeyCmd:"SCHLibWizard",hotkey:""},{hotkeyCmd:"OcrWizard",hotkey:""},{hotkeyCmd:"smartSize",hotkey:""},{hotkeyCmd:"checkDimension",hotkey:""},{hotkeyCmd:"renumberPads",hotkey:""},{hotkeyCmd:"renumberPins",hotkey:""},{hotkeyCmd:"teardrop",hotkey:""},{hotkeyCmd:"openPanelizeDlg",hotkey:""},{hotkeyCmd:"removeUnusedPad",hotkey:""},{hotkeyCmd:"prioritizeObjectSelection",hotkey:""},{hotkeyCmd:"log-tool",hotkey:""},{hotkeyCmd:"connectPads",hotkey:""},{hotkeyCmd:"openFootPrintManager",hotkey:"Alt+F"},{hotkeyCmd:"openDeviceManager",hotkey:""},{hotkeyCmd:"openDeviceStandardizationTab",hotkey:""},{hotkeyCmd:"layerOptionsSet",hotkey:"Ctrl+L"},{hotkeyCmd:"viewCopperAreaManager",hotkey:""},{hotkeyCmd:"view3DModelManager",hotkey:""},{hotkeyCmd:"viewPinDelayManager",hotkey:""},{hotkeyCmd:"openAssemblyVariants",hotkey:""},{hotkeyCmd:"compareNetlist",hotkey:""},{hotkeyCmd:"openPcbComparisonDlg",hotkey:""},{hotkeyCmd:"compareSchematic",hotkey:""}],[Nbt]:[{hotkeyCmd:"openMenu(#mm-common-advanced)",hotkey:"A"},{hotkeyCmd:"Command",hotkey:""},{hotkeyCmd:"runScript",hotkey:""},{hotkeyCmd:"scriptManager",hotkey:""},{hotkeyCmd:"showExtensionsManager",hotkey:""},{hotkeyCmd:"compareNetlist",hotkey:""}],[kbt]:[{hotkeyCmd:"bom_order_parts",hotkey:""},{hotkeyCmd:"bom_order_parts_smt",hotkey:""},{hotkeyCmd:"orderPCB",hotkey:""},{hotkeyCmd:"show_help_file(layoutService)",hotkey:""},{hotkeyCmd:"order3DShell",hotkey:""},{hotkeyCmd:"panelProductionOrder",hotkey:""},{hotkeyCmd:"openMenu(#mm-common-fabrication2)",hotkey:"F10"},{hotkeyCmd:"exportBOM",hotkey:""},{hotkeyCmd:"pcb_fabrication",hotkey:""},{hotkeyCmd:"pcb_export_coordinate_file",hotkey:""},{hotkeyCmd:"export3DFile",hotkey:""},{hotkeyCmd:"export3DShellFile",hotkey:""},{hotkeyCmd:"openDxfExportDlg",hotkey:""},{hotkeyCmd:"export(panelSVG)",hotkey:""},{hotkeyCmd:"export(filePdf)",hotkey:""},{hotkeyCmd:"exportTestPointReport",hotkey:""},{hotkeyCmd:"exportNetlist",hotkey:""},{hotkeyCmd:"exportPng",hotkey:""},{hotkeyCmd:"exportManufacturingFilesForOneClick",hotkey:""},{hotkeyCmd:"export(altium)",hotkey:""},{hotkeyCmd:"export(pads)",hotkey:""},{hotkeyCmd:"exportDSN",hotkey:""},{hotkeyCmd:"viewPCBInformation",hotkey:""}],[Pbt]:[{hotkeyCmd:"openMenu(#mm-common-settings)",hotkey:"I"},{hotkeyCmd:"opensubmenu-system",hotkey:""},{hotkeyCmd:"commonButtonsSetting(SYSTEM)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(CATEGORY)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(BASE_LIBRARY)",hotkey:""},{hotkeyCmd:"opensubmenu-schematic_symbol",hotkey:""},{hotkeyCmd:"commonButtonsSetting(CANVAS)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(OBJECT)",hotkey:""},{hotkeyCmd:"opensubmenu-pcb_footprint",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PCB_FOOTPRINT)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PCB_THEME)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PCB_COMM_GRID_SIZE)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PCB_COMM_TRACK_WIDTH)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PCB_COMM_VIA_SIZE)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(ADSORPTION)",hotkey:""},{hotkeyCmd:"opensubmenu-panel",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PANEL_CANVAS)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PANEL_THEME)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(COMM_TYPEFACE)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(DESIGN)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PROPERTY)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(HOTKEY)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(CUSTOM_TOOLBAR)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(SAVE)",hotkey:""}],[Obt]:[{hotkeyCmd:"openMenu(#mm-common-help)",hotkey:"J"},{hotkeyCmd:"show_help_file(community)",hotkey:""},{hotkeyCmd:"tutorials",hotkey:"F1"},{hotkeyCmd:"show_help_file(feedback)",hotkey:""},{hotkeyCmd:"show_help_file(contact)",hotkey:""},{hotkeyCmd:"show_about",hotkey:""},{hotkeyCmd:"show_videocapture",hotkey:""},{hotkeyCmd:"show_performancetool",hotkey:""}],[Rbt]:[{hotkeyCmd:"openMenu(#mm-common-sim)",hotkey:"S"},{hotkeyCmd:"openMenu(#mm-common-simExample)",hotkey:"G"}],[_bt]:[{hotkeyCmd:"color-exchange",hotkey:"Shift+X"},{hotkeyCmd:"select_net",hotkey:"Alt+N"},{hotkeyCmd:"decrease_routing_width",hotkey:"-"},{hotkeyCmd:"increase_routing_width",hotkey:"="},{hotkeyCmd:"decrease_snap_size",hotkey:"Alt+-"},{hotkeyCmd:"increase_snap_size",hotkey:"Alt+="},{hotkeyCmd:"move_selected_left_by_alt_grid",hotkey:"Alt+Left"},{hotkeyCmd:"move_selected_right_by_alt_grid",hotkey:"Alt+Right"},{hotkeyCmd:"move_selected_up_by_alt_grid",hotkey:"Alt+Up"},{hotkeyCmd:"move_selected_down_by_alt_grid",hotkey:"Alt+Down"},{hotkeyCmd:"specialPaste",hotkey:"Ctrl+Shift+V"},{hotkeyCmd:"ChangetoTopLayer",hotkey:"T"},{hotkeyCmd:"ChangetoBottomLayer",hotkey:"B"},{hotkeyCmd:"ChangetoInner1",hotkey:"1"},{hotkeyCmd:"ChangetoInner2",hotkey:"2"},{hotkeyCmd:"ChangetoInner3",hotkey:"3"},{hotkeyCmd:"ChangetoInner4",hotkey:"4"},{hotkeyCmd:"ChangetoInner5",hotkey:"5"},{hotkeyCmd:"ChangetoInner6",hotkey:"6"},{hotkeyCmd:"ChangeCopperZoneVisibleorInvisible",hotkey:"Shift+M"},{hotkeyCmd:"RebuildAllCopperArea",hotkey:"Shift+B"},{hotkeyCmd:"finish",hotkey:"Enter"},{hotkeyCmd:"draw_end",hotkey:"Esc"},{hotkeyCmd:"undoDraw",hotkey:"Backspace"},{hotkeyCmd:"SelectOverlap",hotkey:"G"},{hotkeyCmd:"FilpPathWhileDrawing",hotkey:"Space"},{hotkeyCmd:"show_drawing_attr_dlg",hotkey:"Tab"},{hotkeyCmd:"change_track_width_while_routing",hotkey:"Tab"},{hotkeyCmd:"switchSelectedRangeWhenObjectIsSelected",hotkey:"Tab"},{hotkeyCmd:"showSymbolPinModifyDialog",hotkey:"Tab"},{hotkeyCmd:"showMultiPinMotifyAttrDialog",hotkey:"Tab"},{hotkeyCmd:"showNetLabelPinModifyDialog",hotkey:"Tab"},{hotkeyCmd:"showSchMoveConfigDialog",hotkey:"Tab"},{hotkeyCmd:"showEditTableDialog",hotkey:"Tab"},{hotkeyCmd:"showNetPortModifyDialog",hotkey:"Tab"},{hotkeyCmd:"showOfPageConnectorModifyDialog",hotkey:"Tab"},{hotkeyCmd:"showPartModifyDialog",hotkey:"Tab"},{hotkeyCmd:"showNetFlagModifyDialog",hotkey:"Tab"},{hotkeyCmd:"open_set_net_property_dialog",hotkey:"Tab"},{hotkeyCmd:"changeDiffPairFanOutMode",hotkey:"Space"},{hotkeyCmd:"increaseSnakeGap",hotkey:"Num+"},{hotkeyCmd:"decreaseSnakeGap",hotkey:"Num-"},{hotkeyCmd:"switch_common_track_width",hotkey:"Shift+W"},{hotkeyCmd:"switch_common_via_size",hotkey:"Shift+V"},{hotkeyCmd:"Absolute"},{hotkeyCmd:"Relative"},{hotkeyCmd:"RelativeX"},{hotkeyCmd:"RelativeY"},{hotkeyCmd:"ToggleLayer"},{hotkeyCmd:"Find"},{hotkeyCmd:"WireWidth"},{hotkeyCmd:"DisplayLayer"},{hotkeyCmd:"DisplayAllLayers",hotkey:"Shift+L"},{hotkeyCmd:"expandAndModifyProperties",hotkey:"Enter"},{hotkeyCmd:"displayRealTimeNetLengthAndLengthTolerance",hotkey:"Shift+G"},{hotkeyCmd:"stop_video_capture",hotkey:""}]},Isr={[Sbt]:[{hotkeyCmd:"openMenu(#mm-common-file)",hotkey:"F"},{hotkeyCmd:"opensubmenu-new",hotkey:""},{hotkeyCmd:"newProject",hotkey:"Shift+N"},{hotkeyCmd:"new_board",hotkey:""},{hotkeyCmd:"new_schematic",hotkey:""},{hotkeyCmd:"new_page",hotkey:""},{hotkeyCmd:"new_PCB",hotkey:""},{hotkeyCmd:"new_Panel",hotkey:""},{hotkeyCmd:"new_device",hotkey:""},{hotkeyCmd:"new_NetFlag",hotkey:""},{hotkeyCmd:"new_NetPort",hotkey:""},{hotkeyCmd:"new_OffPageConnector",hotkey:""},{hotkeyCmd:"new_Drawing",hotkey:""},{hotkeyCmd:"new_Non_Electronic",hotkey:""},{hotkeyCmd:"new_schematicLib",hotkey:""},{hotkeyCmd:"new_footprint",hotkey:""},{hotkeyCmd:"new_3D_model",hotkey:""},{hotkeyCmd:"partTree(newPart)",hotkey:""},{hotkeyCmd:"new_CBB",hotkey:""},{hotkeyCmd:"open_create_panel_lib_dialog",hotkey:""},{hotkeyCmd:"standard_edition_migration",hotkey:""},{hotkeyCmd:"openProject",hotkey:"Ctrl+O"},{hotkeyCmd:"file_save",hotkey:"Ctrl+Shift+S"},{hotkeyCmd:"save_all",hotkey:"Ctrl+S"},{hotkeyCmd:"opensubmenu-saveas",hotkey:""},{hotkeyCmd:"projectSaveAsCloud",hotkey:""},{hotkeyCmd:"projectSaveAsLocal",hotkey:""},{hotkeyCmd:"docSaveAsCloud",hotkey:""},{hotkeyCmd:"docSaveAsLocal",hotkey:""},{hotkeyCmd:"selectedBSSaveAsCloud",hotkey:""},{hotkeyCmd:"selectedBSSaveAsLocal",hotkey:""},{hotkeyCmd:"backup",hotkey:""},{hotkeyCmd:"switchVersion",hotkey:""},{hotkeyCmd:"backup_project",hotkey:""},{hotkeyCmd:"historicalRecords",hotkey:""},{hotkeyCmd:"new_branch",hotkey:""},{hotkeyCmd:"new_node",hotkey:""},{hotkeyCmd:"version_management",hotkey:""},{hotkeyCmd:"cacheRecovery",hotkey:""},{hotkeyCmd:"opensubmenu-import",hotkey:""},{hotkeyCmd:"importDXF",hotkey:""},{hotkeyCmd:"importSVG",hotkey:""},{hotkeyCmd:"insertImage",hotkey:""},{hotkeyCmd:"importFile(easyeda)",hotkey:""},{hotkeyCmd:"file_open",hotkey:""},{hotkeyCmd:"importFile(altium)",hotkey:""},{hotkeyCmd:"importFile(eagle)",hotkey:""},{hotkeyCmd:"importFile(kicad)",hotkey:""},{hotkeyCmd:"importFile(pads)",hotkey:""},{hotkeyCmd:"importFile(protel)",hotkey:""},{hotkeyCmd:"importFile(ltspice)",hotkey:""},{hotkeyCmd:"importSes",hotkey:""},{hotkeyCmd:"importNetlist",hotkey:""},{hotkeyCmd:"opensubmenu-export",hotkey:""},{hotkeyCmd:"printPDF",hotkey:""},{hotkeyCmd:"closeProject",hotkey:""},{hotkeyCmd:"opensubmenu-recent",hotkey:""},{hotkeyCmd:"clearRecentList",hotkey:""},{hotkeyCmd:"recycleBin",hotkey:""},{hotkeyCmd:"source(easyEDA)",hotkey:""},{hotkeyCmd:"sheet(toPrevious)",hotkey:""},{hotkeyCmd:"sheet(toNext)",hotkey:""},{hotkeyCmd:"sheet(toPage)",hotkey:""},{hotkeyCmd:"sheet(toPreviousPart)",hotkey:""},{hotkeyCmd:"sheet(toNextPart)",hotkey:""},{hotkeyCmd:"switchNextDoc",hotkey:""},{hotkeyCmd:"switchPreDoc",hotkey:""},{hotkeyCmd:"switchNextDocByNatural",hotkey:""},{hotkeyCmd:"switchPreDocByNatural",hotkey:""},{hotkeyCmd:"close_tab",hotkey:""},{hotkeyCmd:"close_all_tabs",hotkey:""}],[Mbt]:[{hotkeyCmd:"openMenu(#mm-common-edit)",hotkey:"E"},{hotkeyCmd:"toggleAdsorb",hotkey:"Alt+S"},{hotkeyCmd:"undo",hotkey:"Ctrl+Z"},{hotkeyCmd:"redo",hotkey:"Ctrl+Y"},{hotkeyCmd:"repeat",hotkey:""},{hotkeyCmd:"cut",hotkey:"Ctrl+X"},{hotkeyCmd:"copy",hotkey:"Ctrl+C"},{hotkeyCmd:"paste",hotkey:"Ctrl+V"},{hotkeyCmd:"PasteAsPlainText",hotkey:"Ctrl+Shift+V"},{hotkeyCmd:"opensubmenu-duplicate",hotkey:""},{hotkeyCmd:"opensubmenu-duplicate-panel",hotkey:""},{hotkeyCmd:"centerViewByCursor",hotkey:"Shift+Home"},{hotkeyCmd:"duplicateToCursor",hotkey:"Ctrl+D"},{hotkeyCmd:"duplicatePaste",hotkey:""},{hotkeyCmd:"duplicateToOtherLayer",hotkey:""},{hotkeyCmd:"copySpecial",hotkey:""},{hotkeyCmd:"copyToImage",hotkey:""},{hotkeyCmd:"copyToSvg",hotkey:""},{hotkeyCmd:"copyToPng",hotkey:""},{hotkeyCmd:"opensubmenu-move",hotkey:""},{hotkeyCmd:"MOVE_BY_CENTER_POINT",hotkey:"M"},{hotkeyCmd:"MOVE_BY_ORIGIN_POINT",hotkey:""},{hotkeyCmd:"MOVE_BY_REFERENCE_POINT",hotkey:"Shift+D"},{hotkeyCmd:"opensubmenu-delete",hotkey:""},{hotkeyCmd:"Delete",hotkey:"Delete"},{hotkeyCmd:"delete-target",hotkey:""},{hotkeyCmd:"delete-all",hotkey:""},{hotkeyCmd:"opensubmenu-selectobj",hotkey:""},{hotkeyCmd:"select_all",hotkey:"Ctrl+A"},{hotkeyCmd:"continuousSelection",hotkey:""},{hotkeyCmd:"rectangleOutside",hotkey:""},{hotkeyCmd:"rectangleInside",hotkey:""},{hotkeyCmd:"polygonInside",hotkey:""},{hotkeyCmd:"polygonOutside",hotkey:""},{hotkeyCmd:"lineTouched",hotkey:""},{hotkeyCmd:"connectedCopper",hotkey:"Ctrl+H"},{hotkeyCmd:"editArray",hotkey:""},{hotkeyCmd:"ADD_FILLET",hotkey:""},{hotkeyCmd:"ADD_CHAMFER",hotkey:""},{hotkeyCmd:"opensubmenu-booleanoperation",hotkey:""},{hotkeyCmd:"boolAggregate",hotkey:""},{hotkeyCmd:"boolSubtraction",hotkey:""},{hotkeyCmd:"boolIntersection",hotkey:""},{hotkeyCmd:"boolExclusive",hotkey:""},{hotkeyCmd:"boolSplit",hotkey:""},{hotkeyCmd:"findObjects",hotkey:"Ctrl+F"},{hotkeyCmd:"findSimilar",hotkey:"Ctrl+Shift+F"},{hotkeyCmd:"unlockAll",hotkey:""},{hotkeyCmd:"Split",hotkey:""},{hotkeyCmd:"Cutout",hotkey:""},{hotkeyCmd:"draw(RCutout)",hotkey:""},{hotkeyCmd:"draw(PCutout)",hotkey:""},{hotkeyCmd:"draw(CCutout)",hotkey:""},{hotkeyCmd:"CONVERT_TO_PAD",hotkey:""},{hotkeyCmd:"CONVERT_TO_TRACK",hotkey:""},{hotkeyCmd:"CONVERT_TO_2D_LINE",hotkey:""},{hotkeyCmd:"CONVERT_TO_SLOT_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_FILL_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_COPPER_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_PROHIBITED_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_BOARD_OUTLINE",hotkey:""},{hotkeyCmd:"CONVERT_TO_CONSTRAINT_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_D3_SHELL_OUTLINE",hotkey:""},{hotkeyCmd:"CONVERT_TO_D3_SHELL_SLOT_REGION",hotkey:""},{hotkeyCmd:"CONVERT_TO_D3_SHELL_ENTITY",hotkey:""},{hotkeyCmd:"CONVERT_TO_FPC_STIFFENER",hotkey:""}],[Ibt]:[{hotkeyCmd:"openMenu(#mm-common-view)",hotkey:"V"},{hotkeyCmd:"Preview2D",hotkey:""},{hotkeyCmd:"Preview3D",hotkey:""},{hotkeyCmd:"Preview3DInNewWindow",hotkey:""},{hotkeyCmd:"zoom(in)",hotkey:"Page Up"},{hotkeyCmd:"zoom(out)",hotkey:"Page Down"},{hotkeyCmd:"fitview",hotkey:"K"},{hotkeyCmd:"adaptSelectionView",hotkey:""},{hotkeyCmd:"adaptAreaSelectionView",hotkey:""},{hotkeyCmd:"fitBoard",hotkey:""},{hotkeyCmd:"full_screen",hotkey:"F11"},{hotkeyCmd:"switchView(normal)",hotkey:""},{hotkeyCmd:"switchView(outline)",hotkey:""},{hotkeyCmd:"brightness(0)",hotkey:""},{hotkeyCmd:"brightness(1)",hotkey:""},{hotkeyCmd:"brightness(2)",hotkey:""},{hotkeyCmd:"Flip Board",hotkey:""},{hotkeyCmd:"Unit",hotkey:"Q"},{hotkeyCmd:"opensubmenu-gridsize-pcb",hotkey:""},{hotkeyCmd:"opensubmenu-gridsize",hotkey:""},{hotkeyCmd:"switchGridSizeBtn(size_0.1)",hotkey:""},{hotkeyCmd:"switchGridSizeBtn(size_0.05)",hotkey:""},{hotkeyCmd:"switchGridSizeBtn(size_0.01)",hotkey:""},{hotkeyCmd:"switchGridSizeBtn(size_1)",hotkey:""},{hotkeyCmd:"switchGridSizeBtn(size_0.5)",hotkey:""},{hotkeyCmd:"opensubmenu-snapsize",hotkey:""},{hotkeyCmd:"gridSnapKeepRatio",hotkey:""},{hotkeyCmd:"setGridSize",hotkey:""},{hotkeyCmd:"setGridRange",hotkey:""},{hotkeyCmd:"opensubmenu-gridtype-pcb",hotkey:""},{hotkeyCmd:"opensubmenu-gridtype",hotkey:""},{hotkeyCmd:"switchGridType(outlets)",hotkey:""},{hotkeyCmd:"switchGridType(grid)",hotkey:""},{hotkeyCmd:"switchGridType(none)",hotkey:""},{hotkeyCmd:"opensubmenu-ratline",hotkey:""},{hotkeyCmd:"showOrHideSelectedObjRatline",hotkey:"Ctrl+R"},{hotkeyCmd:"hideSelectedComponentRatline",hotkey:""},{hotkeyCmd:"hideAllRatline",hotkey:""},{hotkeyCmd:"showSelectedComponentRatline",hotkey:""},{hotkeyCmd:"showAllRatline",hotkey:""},{hotkeyCmd:"opensubmenu-highlight-pcb",hotkey:""},{hotkeyCmd:"opensubmenu-highlight-sch",hotkey:""},{hotkeyCmd:"highlightConnectedsByWire",hotkey:""},{hotkeyCmd:"HIGHLIGHT_COMPONENT",hotkey:""},{hotkeyCmd:"HIGHLIGHT_SELECTED_OBJECTS",hotkey:""},{hotkeyCmd:"UnhighlightSelectedObjects",hotkey:""},{hotkeyCmd:"INCREASE_BRIGHTNESS",hotkey:""},{hotkeyCmd:"DECREASE_BRIGHTNESS",hotkey:""},{hotkeyCmd:"HIGHLIGHT_CANCEL_COMPONENT",hotkey:""},{hotkeyCmd:"HIGHLIGHT_CANCEL_SELECTED_OBJECTS",hotkey:""},{hotkeyCmd:"scrollLeft",hotkey:"Left"},{hotkeyCmd:"scrollRight",hotkey:"Right"},{hotkeyCmd:"scrollUp",hotkey:"Up"},{hotkeyCmd:"scrollDown",hotkey:"Down"},{hotkeyCmd:"showOrHideNumberOrNetName",hotkey:"Ctrl+Q"},{hotkeyCmd:"SwitchLayerBrightness",hotkey:"Shift+S"},{hotkeyCmd:"toolbar_toggle(topbar)",hotkey:""},{hotkeyCmd:"toolbar_toggle(leftbar)",hotkey:"["},{hotkeyCmd:"toolbar_toggle(rightbar)",hotkey:"]"},{hotkeyCmd:"operateBottomPanel",hotkey:"S"},{hotkeyCmd:"editTag",hotkey:""},{hotkeyCmd:"open_in_new_window",hotkey:""},{hotkeyCmd:"opensubmenu-tabmenu",hotkey:""},{hotkeyCmd:"refresh",hotkey:""},{hotkeyCmd:"clone",hotkey:""},{hotkeyCmd:"modifyFile",hotkey:""},{hotkeyCmd:"variant_view_mode",hotkey:"Shift+M"}],[Lbt]:[{hotkeyCmd:"openMenu(#mm-common-place)",hotkey:"P"},{hotkeyCmd:"placeDevice",hotkey:"Shift+F"},{hotkeyCmd:"opensubmenu-shortcutDevice",hotkey:""},{hotkeyCmd:"place_shortcut_device(resistor)",hotkey:""},{hotkeyCmd:"place_shortcut_device(capacitor)",hotkey:""},{hotkeyCmd:"place_shortcut_device(inductor)",hotkey:""},{hotkeyCmd:"place_shortcut_device(diode)",hotkey:""},{hotkeyCmd:"place_part(line_pins)",hotkey:""},{hotkeyCmd:"place_part(rect_pins)",hotkey:""},{hotkeyCmd:"draw(wire)",hotkey:"Alt+W"},{hotkeyCmd:"draw(bus)",hotkey:"Alt+B"},{hotkeyCmd:"place_part(netlabel)",hotkey:"Alt+N"},{hotkeyCmd:"place_special_part(short_symbol)",hotkey:""},{hotkeyCmd:"opensubmenu-netflag",hotkey:""},{hotkeyCmd:"place_special_part(netflag_VCC)",hotkey:""},{hotkeyCmd:"place_special_part(netflag_5V)",hotkey:""},{hotkeyCmd:"place_special_part(netflag_gnD)",hotkey:""},{hotkeyCmd:"place_special_part(netflag_GNd)",hotkey:""},{hotkeyCmd:"place_special_part(netflag_gNd)",hotkey:""},{hotkeyCmd:"opensubmenu-netPort",hotkey:""},{hotkeyCmd:"place_special_part(netport_IN)",hotkey:""},{hotkeyCmd:"place_special_part(netport_OUT)",hotkey:""},{hotkeyCmd:"place_special_part(netport_BI)",hotkey:""},{hotkeyCmd:"opensubmenu-offPageConnector",hotkey:""},{hotkeyCmd:"place_special_part(offPageConnector_IN)",hotkey:""},{hotkeyCmd:"place_special_part(offPageConnector_OUT)",hotkey:""},{hotkeyCmd:"place_special_part(offPageConnector_BI)",hotkey:""},{hotkeyCmd:"place_part(noconnect)",hotkey:""},{hotkeyCmd:"place_part(junction)",hotkey:"Alt+J"},{hotkeyCmd:"place_part(diffPairsFlag)",hotkey:""},{hotkeyCmd:"place_shortcut_device(test_point)",hotkey:""},{hotkeyCmd:"draw(block)",hotkey:""},{hotkeyCmd:"draw(pen)",hotkey:""},{hotkeyCmd:"opensubmenu-draw-dimension"},{hotkeyCmd:"draw(dimension-xy)",hotkey:"Alt+Z"},{hotkeyCmd:"draw(dimension-x)",hotkey:"Alt+X"},{hotkeyCmd:"draw(dimension-y)",hotkey:"Alt+Y"},{hotkeyCmd:"opensubmenu-drawline",hotkey:""},{hotkeyCmd:"opensubmenu-panel-arc",hotkey:""},{hotkeyCmd:"opensubmenu-placepin",hotkey:""},{hotkeyCmd:"place_part(pin)",hotkey:"Alt+P"},{hotkeyCmd:"draw(arc)",hotkey:"Alt+A"},{hotkeyCmd:"draw(bezier)",hotkey:"Alt+Z"},{hotkeyCmd:"draw(rect)",hotkey:"Alt+R"},{hotkeyCmd:"draw(circle)",hotkey:"Alt+C"},{hotkeyCmd:"draw(ellipse)",hotkey:"Alt+E"},{hotkeyCmd:"draw(polyline)",hotkey:"Alt+L"},{hotkeyCmd:"showTextDialog",hotkey:"Alt+T"},{hotkeyCmd:"opensubmenu-testPad",hotkey:""},{hotkeyCmd:"place_part(testPad)",hotkey:""},{hotkeyCmd:"draw(maskRegion)",hotkey:""},{hotkeyCmd:"openSetComponentMaskDialog",hotkey:""},{hotkeyCmd:"place_part(autoTestPad)",hotkey:""},{hotkeyCmd:"showTextDialog_pcb",hotkey:""},{hotkeyCmd:"PlaceVia",hotkey:"Alt+V"},{hotkeyCmd:"PlaceViaFence",hotkey:""},{hotkeyCmd:"opensubmenu-suturevias",hotkey:""},{hotkeyCmd:"draw(rectSutureVia)",hotkey:""},{hotkeyCmd:"draw(polygonSutureVia)",hotkey:""},{hotkeyCmd:"draw(lineSutureVia)",hotkey:""},{hotkeyCmd:"opensubmenu-pad",hotkey:""},{hotkeyCmd:"PlaceSinglePad",hotkey:"Alt+P"},{hotkeyCmd:"place_part(line_pads)",hotkey:""},{hotkeyCmd:"place_part(rect_pads)",hotkey:""},{hotkeyCmd:"place_part(polygonpad)",hotkey:""},{hotkeyCmd:"opensubmenu-boardoutline",hotkey:""},{hotkeyCmd:"draw(ROutline)",hotkey:""},{hotkeyCmd:"draw(POutline)",hotkey:""},{hotkeyCmd:"draw(COutline)",hotkey:""},{hotkeyCmd:"copperRegion",hotkey:""},{hotkeyCmd:"draw(RCopper)",hotkey:""},{hotkeyCmd:"draw(CCopper)",hotkey:""},{hotkeyCmd:"draw(PCopper)",hotkey:"Alt+E"},{hotkeyCmd:"fillRegion",hotkey:""},{hotkeyCmd:"draw(RRegion)",hotkey:""},{hotkeyCmd:"draw(PRegion)",hotkey:""},{hotkeyCmd:"draw(CRegion)",hotkey:""},{hotkeyCmd:"opensubmenu-fpcStiffener",hotkey:""},{hotkeyCmd:"draw(RectFPCStiffener)",hotkey:""},{hotkeyCmd:"draw(CirFPCStiffener)",hotkey:""},{hotkeyCmd:"draw(PolyFPCStiffener)",hotkey:""},{hotkeyCmd:"opensubmenu-slotRegion",hotkey:""},{hotkeyCmd:"draw(RSlot)",hotkey:""},{hotkeyCmd:"draw(PSlot)",hotkey:""},{hotkeyCmd:"draw(CSlot)",hotkey:""},{hotkeyCmd:"prohibitedRegion",hotkey:""},{hotkeyCmd:"draw(RProhibit)",hotkey:""},{hotkeyCmd:"draw(PProhibit)",hotkey:""},{hotkeyCmd:"draw(CProhibit)",hotkey:""},{hotkeyCmd:"groupSelected",hotkey:"Ctrl+G"},{hotkeyCmd:"ungroupSelected",hotkey:"Shift+G"},{hotkeyCmd:"setOriginByCoordinate",hotkey:"Ctrl+Home"},{hotkeyCmd:"setOriginByFirstPin",hotkey:""},{hotkeyCmd:"placeOriginPad",hotkey:""},{hotkeyCmd:"opensubmenu-canvasOrigin"},{hotkeyCmd:"draw(origin)",hotkey:"Home"},{hotkeyCmd:"setOriginByCenter",hotkey:"Ctrl+End"},{hotkeyCmd:"placeOriginCenter",hotkey:"Ctrl+End"},{hotkeyCmd:"draw(arcCenter)",hotkey:"Alt+U"},{hotkeyCmd:"draw(arc2)",hotkey:""},{hotkeyCmd:"opensubmenu-dimension",hotkey:""},{hotkeyCmd:"draw(dimension)",hotkey:""},{hotkeyCmd:"draw(protractor)",hotkey:""},{hotkeyCmd:"draw(radius)",hotkey:""},{hotkeyCmd:"editTable",hotkey:""},{hotkeyCmd:"place_part(stack_table)",hotkey:""},{hotkeyCmd:"place_part(drill_table)",hotkey:""},{hotkeyCmd:"opensunmenu-3dShellOutline",hotkey:""},{hotkeyCmd:"draw(R3dShellOutline)",hotkey:""},{hotkeyCmd:"draw(C3dShellOutline)",hotkey:""},{hotkeyCmd:"draw(P3dShellOutline)",hotkey:""},{hotkeyCmd:"place_part(3dShellScrewPillar)",hotkey:""},{hotkeyCmd:"draw(3dShellSideSlotDatumLine)",hotkey:""},{hotkeyCmd:"opensubmenu-3DShellSideSlotRegion",hotkey:""},{hotkeyCmd:"draw(R3dShellSideSlotRegion)",hotkey:""},{hotkeyCmd:"draw(C3dShellSideSlotRegion)",hotkey:""},{hotkeyCmd:"draw(P3dShellSideSlotRegion)",hotkey:""},{hotkeyCmd:"opensubmenu-3DShell-Top_Bottom-SlotRegion",hotkey:""},{hotkeyCmd:"draw(R3dShellTopSlotRegion)",hotkey:""},{hotkeyCmd:"draw(C3dShellTopSlotRegion)",hotkey:""},{hotkeyCmd:"draw(P3dShellTopSlotRegion)",hotkey:""},{hotkeyCmd:"opensubmenu-3DShell-SideEntity",hotkey:""},{hotkeyCmd:"draw(R3dShellSideEntity)",hotkey:""},{hotkeyCmd:"draw(C3dShellSideEntity)",hotkey:""},{hotkeyCmd:"draw(P3dShellSideEntity)",hotkey:""},{hotkeyCmd:"opensubmenu-3DShell-TopEntity",hotkey:""},{hotkeyCmd:"draw(R3dShellTopBottomEntity)",hotkey:""},{hotkeyCmd:"draw(C3dShellTopBottomEntity)",hotkey:""},{hotkeyCmd:"draw(P3dShellTopBottomEntity)",hotkey:""},{hotkeyCmd:"place5V",hotkey:""}],[vbt]:[{hotkeyCmd:"openMenu(#mm-common-design)",hotkey:"D"},{hotkeyCmd:"backToUpper",hotkey:""},{hotkeyCmd:"generateOrUpdateBlockSymbol2",hotkey:""},{hotkeyCmd:"generateOrUpdateBlockSymbol",hotkey:""},{hotkeyCmd:"updateSchematicNetPort",hotkey:""},{hotkeyCmd:"openElecRule",hotkey:""},{hotkeyCmd:"pcb_DRC",hotkey:""},{hotkeyCmd:"checkERC",hotkey:""},{hotkeyCmd:"checkDRCCustom",hotkey:""},{hotkeyCmd:"clearErrors",hotkey:""},{hotkeyCmd:"toggleRealTimeDRC",hotkey:""},{hotkeyCmd:"ref_designator_annotate",hotkey:""},{hotkeyCmd:"pcb_design_rule",hotkey:""},{hotkeyCmd:"netClassManager",hotkey:""},{hotkeyCmd:"differentialPairManager",hotkey:""},{hotkeyCmd:"equalLengthGroupManager",hotkey:""},{hotkeyCmd:"EditPadsPairGroupDialog",hotkey:""},{hotkeyCmd:"updateComponent",hotkey:""},{hotkeyCmd:"updateReuseBlock",hotkey:""},{hotkeyCmd:"resetUniqueId",hotkey:""},{hotkeyCmd:"projectSheetSetting",hotkey:""},{hotkeyCmd:"crossProbe",hotkey:"Shift+X"},{hotkeyCmd:"placeTransfer",hotkey:"Ctrl+Shift+X"},{hotkeyCmd:"switchToThePreviousLayer",hotkey:"Num-"},{hotkeyCmd:"switchToTheNextLayer",hotkey:"Num+"},{hotkeyCmd:"importChangesFromSch",hotkey:"Alt+I"},{hotkeyCmd:"importChangesFromPcb",hotkey:""},{hotkeyCmd:"reuseTemplateLayoutAndRoute",hotkey:""},...Tbt,{hotkeyCmd:"drawpartition(Circle)",hotkey:""},{hotkeyCmd:"drawpartition(Polygon)",hotkey:""},{hotkeyCmd:"OPEN_PARTITION_MANAGER",hotkey:""},{hotkeyCmd:"opensubmenu-boardshape",hotkey:""},{hotkeyCmd:"convertToBoard",hotkey:""},{hotkeyCmd:"convertToLineFromBoard",hotkey:""}],[Dbt]:[{hotkeyCmd:"openMenu(#mm-common-route)",hotkey:"U"},{hotkeyCmd:"SingleRouting",hotkey:"Alt+W"},{hotkeyCmd:"MultiRouting",hotkey:""},{hotkeyCmd:"IncreaseMultiSpace",hotkey:"."},{hotkeyCmd:"decreaseMultiSpace",hotkey:","},{hotkeyCmd:"draw(stretchtrack)",hotkey:"Shift+W"},{hotkeyCmd:"draw(difftrack)",hotkey:"Alt+D"},{hotkeyCmd:"equalLengthTuning",hotkey:"Shift+A"},{hotkeyCmd:"diffPairEqualLengthTuning",hotkey:""},{hotkeyCmd:"auto-routing",hotkey:""},{hotkeyCmd:"pcbBatchFanout",hotkey:""},{hotkeyCmd:"changeRoutingMode",hotkey:"Shift+R"},{hotkeyCmd:"RoutingCorner",hotkey:"L"},{hotkeyCmd:"opensubmenu-routingWidth",hotkey:""},{hotkeyCmd:"trackWidthSetting(WIRING_WIDTH_FOLLOWRULES)",hotkey:""},{hotkeyCmd:"trackWidthSetting(WIRING_WIDTH_RULESSETTING)",hotkey:""},{hotkeyCmd:"opensubmenu-unroute",hotkey:""},{hotkeyCmd:"unrouteClearConnect",hotkey:""},{hotkeyCmd:"unrouteClearNetwork",hotkey:""},{hotkeyCmd:"clearAllRoute",hotkey:""},{hotkeyCmd:"removeLoop",hotkey:""},{hotkeyCmd:"trackWidthSetting(WIRING_WIDTH_INPUT)",hotkey:""},{hotkeyCmd:"autoTrimSilkscreen",hotkey:""},{hotkeyCmd:"changeRoutingAngle",hotkey:"Ctrl+Shift+Space"},{hotkeyCmd:"opensubmenu-auxiliary",hotkey:""},{hotkeyCmd:"place_auxiliary(crossLine)",hotkey:""},{hotkeyCmd:"place_auxiliary(verticalLine)",hotkey:""},{hotkeyCmd:"place_auxiliary(horizontalLine)",hotkey:""},{hotkeyCmd:"place_auxiliary(point)",hotkey:""},{hotkeyCmd:"pcbOptimizedPath",hotkey:""}],[Ebt]:[{hotkeyCmd:"openMenu(#mm-common-layout)",hotkey:"O"},{hotkeyCmd:"opensubmenu-group",hotkey:""},{hotkeyCmd:"joinGroup",hotkey:""},{hotkeyCmd:"removeFromGroup",hotkey:""},{hotkeyCmd:"reuseLayoutRoute",hotkey:""},{hotkeyCmd:"ungroupAll",hotkey:""},{hotkeyCmd:"autoLayout",hotkey:""},{hotkeyCmd:"AUTO_PIN_PLACEMENT",hotkey:""},{hotkeyCmd:"set-attr-text-position",hotkey:""},{hotkeyCmd:"swapLocation",hotkey:""},{hotkeyCmd:"flip2OppositeSide",hotkey:""},{hotkeyCmd:"opensubmenu-offset",hotkey:""},{hotkeyCmd:"absoluteOffset",hotkey:""},{hotkeyCmd:"relativeOffset",hotkey:""},{hotkeyCmd:"opensubmenu-align",hotkey:""},{hotkeyCmd:"align_left",hotkey:"Ctrl+Shift+L"},{hotkeyCmd:"align_horizontal_center",hotkey:"Shift+Alt+E"},{hotkeyCmd:"align_right",hotkey:"Ctrl+Shift+R"},{hotkeyCmd:"align_top",hotkey:"Ctrl+Shift+O"},{hotkeyCmd:"align_vertical_center",hotkey:"Shift+Alt+H"},{hotkeyCmd:"align_bottom",hotkey:"Ctrl+Shift+B"},{hotkeyCmd:"align_grid",hotkey:"Ctrl+Shift+D"},{hotkeyCmd:"opensubmenu-distribute",hotkey:""},{hotkeyCmd:"align_horizontal_equidistant",hotkey:"Ctrl+Shift+H"},{hotkeyCmd:"align_vertical_equidistant",hotkey:"Ctrl+Shift+E"},{hotkeyCmd:"distribute_left_side_edge_equidistant",hotkey:""},{hotkeyCmd:"distribute_top_side_edge_equidistant",hotkey:""},{hotkeyCmd:"distribute_horizontal_by_center_distance",hotkey:""},{hotkeyCmd:"distribute_vertical_by_center_distance",hotkey:""},{hotkeyCmd:"distribute_horizontal_by_edges_distance",hotkey:""},{hotkeyCmd:"distribute_vertical_by_edges_distance",hotkey:""},{hotkeyCmd:"distribute",hotkey:""},{hotkeyCmd:"component_distribute_by_region",hotkey:"Shift+P"},{hotkeyCmd:"opensubmenu-rotate",hotkey:""},{hotkeyCmd:"rotate_ccw",hotkey:""},{hotkeyCmd:"rotate_left",hotkey:"Space"},{hotkeyCmd:"rotate_right",hotkey:""},{hotkeyCmd:"rotate_reference_point",hotkey:""},{hotkeyCmd:"opensubmenu-flip",hotkey:""},{hotkeyCmd:"fliph",hotkey:"X"},{hotkeyCmd:"flipv",hotkey:"Y"},{hotkeyCmd:"fliph_reference_point",hotkey:""},{hotkeyCmd:"flipv_reference_point",hotkey:""},{hotkeyCmd:"opensubmenu-level",hotkey:""},{hotkeyCmd:"bring_to_front",hotkey:""},{hotkeyCmd:"send_to_back",hotkey:""},{hotkeyCmd:"moveSelectedLeft",hotkey:"Left"},{hotkeyCmd:"moveSelectedRight",hotkey:"Right"},{hotkeyCmd:"moveSelectedUp",hotkey:"Up"},{hotkeyCmd:"moveSelectedDown",hotkey:"Down"},{hotkeyCmd:"switchToTheNextSignalLayer",hotkey:"Num*"},{hotkeyCmd:"switchToThePreviousSignalLayer",hotkey:"Shift+Num*"},{hotkeyCmd:"switchToLayer(1)",hotkey:""},{hotkeyCmd:"switchToLayer(2)",hotkey:""},{hotkeyCmd:"toggleLocked",hotkey:"Shift+Alt+L"}],[Abt]:[{hotkeyCmd:"openMenu(#mm-common-tools)",hotkey:"T"},{hotkeyCmd:"MeasureDistance",hotkey:"Ctrl+M"},{hotkeyCmd:"SCHLibWizard",hotkey:""},{hotkeyCmd:"OcrWizard",hotkey:""},{hotkeyCmd:"smartSize",hotkey:""},{hotkeyCmd:"checkDimension",hotkey:""},{hotkeyCmd:"renumberPads",hotkey:""},{hotkeyCmd:"renumberPins",hotkey:""},{hotkeyCmd:"teardrop",hotkey:""},{hotkeyCmd:"openPanelizeDlg",hotkey:""},{hotkeyCmd:"removeUnusedPad",hotkey:""},{hotkeyCmd:"prioritizeObjectSelection",hotkey:""},{hotkeyCmd:"log-tool",hotkey:""},{hotkeyCmd:"connectPads",hotkey:""},{hotkeyCmd:"openFootPrintManager",hotkey:""},{hotkeyCmd:"openDeviceManager",hotkey:""},{hotkeyCmd:"openDeviceStandardizationTab",hotkey:""},{hotkeyCmd:"layerOptionsSet",hotkey:"Ctrl+L"},{hotkeyCmd:"viewCopperAreaManager",hotkey:""},{hotkeyCmd:"view3DModelManager",hotkey:""},{hotkeyCmd:"viewPinDelayManager",hotkey:""},{hotkeyCmd:"compareSchematic",hotkey:""}],[Nbt]:[{hotkeyCmd:"openMenu(#mm-common-advanced)",hotkey:"A"},{hotkeyCmd:"Command",hotkey:""},{hotkeyCmd:"runScript",hotkey:""},{hotkeyCmd:"scriptManager",hotkey:""},{hotkeyCmd:"showExtensionsManager",hotkey:""},{hotkeyCmd:"compareNetlist",hotkey:""}],[kbt]:[{hotkeyCmd:"bom_order_parts",hotkey:""},{hotkeyCmd:"bom_order_parts_smt",hotkey:""},{hotkeyCmd:"orderPCB",hotkey:""},{hotkeyCmd:"show_help_file(layoutService)",hotkey:""},{hotkeyCmd:"order3DShell",hotkey:""},{hotkeyCmd:"panelProductionOrder",hotkey:""},{hotkeyCmd:"openMenu(#mm-common-fabrication2)",hotkey:"R"},{hotkeyCmd:"exportBOM",hotkey:""},{hotkeyCmd:"pcb_fabrication",hotkey:""},{hotkeyCmd:"pcb_export_coordinate_file",hotkey:""},{hotkeyCmd:"export3DFile",hotkey:""},{hotkeyCmd:"export3DShellFile",hotkey:""},{hotkeyCmd:"openDxfExportDlg",hotkey:""},{hotkeyCmd:"export(panelSVG)",hotkey:""},{hotkeyCmd:"export(filePdf)",hotkey:""},{hotkeyCmd:"exportTestPointReport",hotkey:""},{hotkeyCmd:"exportNetlist",hotkey:""},{hotkeyCmd:"exportPng",hotkey:""},{hotkeyCmd:"exportManufacturingFilesForOneClick",hotkey:""},{hotkeyCmd:"export(altium)",hotkey:""},{hotkeyCmd:"export(pads)",hotkey:""},{hotkeyCmd:"exportDSN",hotkey:""},{hotkeyCmd:"viewPCBInformation",hotkey:""}],[Pbt]:[{hotkeyCmd:"openMenu(#mm-common-settings)",hotkey:"I"},{hotkeyCmd:"opensubmenu-system",hotkey:""},{hotkeyCmd:"commonButtonsSetting(SYSTEM)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(CATEGORY)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(BASE_LIBRARY)",hotkey:""},{hotkeyCmd:"opensubmenu-schematic_symbol",hotkey:""},{hotkeyCmd:"commonButtonsSetting(CANVAS)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(OBJECT)",hotkey:""},{hotkeyCmd:"opensubmenu-pcb_footprint",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PCB_FOOTPRINT)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PCB_THEME)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PCB_COMM_GRID_SIZE)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PCB_COMM_TRACK_WIDTH)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PCB_COMM_VIA_SIZE)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(ADSORPTION)",hotkey:""},{hotkeyCmd:"opensubmenu-panel",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PANEL_CANVAS)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PANEL_THEME)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(COMM_TYPEFACE)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(DESIGN)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(PROPERTY)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(HOTKEY)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(CUSTOM_TOOLBAR)",hotkey:""},{hotkeyCmd:"commonButtonsSetting(SAVE)",hotkey:""}],[Obt]:[{hotkeyCmd:"openMenu(#mm-common-help)",hotkey:"H"},{hotkeyCmd:"show_help_file(community)",hotkey:""},{hotkeyCmd:"tutorials",hotkey:"F1"},{hotkeyCmd:"show_help_file(feedback)",hotkey:""},{hotkeyCmd:"show_help_file(contact)",hotkey:""},{hotkeyCmd:"show_about",hotkey:""},{hotkeyCmd:"show_performancetool",hotkey:""},{hotkeyCmd:"show_videocapture",hotkey:""}],[Rbt]:[{hotkeyCmd:"openMenu(#mm-common-sim)",hotkey:"S"},{hotkeyCmd:"openMenu(#mm-common-simExample)",hotkey:"G"}],[_bt]:[{hotkeyCmd:"color-exchange",hotkey:"Shift+X"},{hotkeyCmd:"select_net",hotkey:"Alt+N"},{hotkeyCmd:"decrease_routing_width",hotkey:"-"},{hotkeyCmd:"increase_routing_width",hotkey:"="},{hotkeyCmd:"decrease_snap_size",hotkey:"Alt+-"},{hotkeyCmd:"increase_snap_size",hotkey:"Alt+="},{hotkeyCmd:"move_selected_left_by_alt_grid",hotkey:"Alt+Left"},{hotkeyCmd:"move_selected_right_by_alt_grid",hotkey:"Alt+Right"},{hotkeyCmd:"move_selected_up_by_alt_grid",hotkey:"Alt+Up"},{hotkeyCmd:"move_selected_down_by_alt_grid",hotkey:"Alt+Down"},{hotkeyCmd:"specialPaste",hotkey:"Ctrl+Shift+V"},{hotkeyCmd:"ChangetoTopLayer",hotkey:""},{hotkeyCmd:"ChangetoBottomLayer",hotkey:""},{hotkeyCmd:"ChangetoInner1",hotkey:"1"},{hotkeyCmd:"ChangetoInner2",hotkey:"2"},{hotkeyCmd:"ChangetoInner3",hotkey:"3"},{hotkeyCmd:"ChangetoInner4",hotkey:"4"},{hotkeyCmd:"ChangetoInner5",hotkey:"5"},{hotkeyCmd:"ChangetoInner6",hotkey:"6"},{hotkeyCmd:"ChangeCopperZoneVisibleorInvisible",hotkey:"Shift+M"},{hotkeyCmd:"RebuildAllCopperArea",hotkey:"Shift+B"},{hotkeyCmd:"finish",hotkey:"Enter"},{hotkeyCmd:"draw_end",hotkey:"Esc"},{hotkeyCmd:"undoDraw",hotkey:"Backspace"},{hotkeyCmd:"SelectOverlap",hotkey:"G"},{hotkeyCmd:"FilpPathWhileDrawing",hotkey:"Space"},{hotkeyCmd:"show_drawing_attr_dlg",hotkey:"Tab"},{hotkeyCmd:"showSymbolPinModifyDialog",hotkey:"Tab"},{hotkeyCmd:"showMultiPinMotifyAttrDialog",hotkey:"Tab"},{hotkeyCmd:"showNetLabelPinModifyDialog",hotkey:"Tab"},{hotkeyCmd:"showSchMoveConfigDialog",hotkey:"Tab"},{hotkeyCmd:"showEditTableDialog",hotkey:"Tab"},{hotkeyCmd:"showNetPortModifyDialog",hotkey:"Tab"},{hotkeyCmd:"showOfPageConnectorModifyDialog",hotkey:"Tab"},{hotkeyCmd:"showNetFlagModifyDialog",hotkey:"Tab"},{hotkeyCmd:"showPartModifyDialog",hotkey:"Tab"},{hotkeyCmd:"switchSelectedRangeWhenObjectIsSelected",hotkey:"Tab"},{hotkeyCmd:"open_set_net_property_dialog",hotkey:"Tab"},{hotkeyCmd:"changeDiffPairFanOutMode",hotkey:"Space"},{hotkeyCmd:"change_track_width_while_routing",hotkey:"Tab"},{hotkeyCmd:"increaseSnakeGap",hotkey:"Num+"},{hotkeyCmd:"decreaseSnakeGap",hotkey:"Num-"},{hotkeyCmd:"switch_common_track_width",hotkey:"Shift+W"},{hotkeyCmd:"switch_common_via_size",hotkey:"Shift+V"},{hotkeyCmd:"Absolute"},{hotkeyCmd:"Relative"},{hotkeyCmd:"RelativeX"},{hotkeyCmd:"RelativeY"},{hotkeyCmd:"ToggleLayer"},{hotkeyCmd:"DisplayLayer"},{hotkeyCmd:"DisplayAllLayers",hotkey:"Shift+L"},{hotkeyCmd:"expandAndModifyProperties",hotkey:"Enter"},{hotkeyCmd:"Find"},{hotkeyCmd:"WireWidth"},{hotkeyCmd:"displayRealTimeNetLengthAndLengthTolerance",hotkey:"Shift+G"},{hotkeyCmd:"stop_video_capture",hotkey:""}]},poe=jbt(Ssr,xbt),w9e=jbt(Msr,xbt),C9e=jbt(Isr,xbt);function jbt(t,e){let i={};return it(t,(o,r)=>{i[o]=[],it(r,(n,a)=>{let s=e[a.hotkeyCmd];s&&(a.hotkey&&(a.hotkey=g3(a.hotkey)),i[o].push({...a,...s}))})}),i}var lci={operateBottomPanel:["toolbar_toggle(bottombar)"],select_all:["select_all","selectAll"],Unit:["unit(mm)","unit(mil)"],UnhighlightSelectedObjects:["UnhighlightSelectedObjects","HIGHLIGHT_CANCELALL","globalUnhighlightNetSelected"],highlightConnectedsByWire:["highlightConnectedsByWire","HIGHLIGHT_NET","HIGHLIGHT_CANCEL_NET","globalHighlightNetSelected"],showOrHideSelectedObjRatline:["hideSelectedObjRatline","showSelectedObjRatline"],align_vertical_equidistant:["align_vertical_equidistant","distribute_vertical_equidistant"],RoutingCorner:["routeLine(WIRING_CORNER_LINE45)","routeLine(WIRING_CORNER_LINE90)","routeLine(WIRING_CORNER_ARC45)","routeLine(WIRING_CORNER_ARC90)","routeLine(WIRING_CORNER_ARC)","routeLine(WIRING_CORNER_FREEANGLE)"],SwitchLayerBrightness:["SwitchLayerBrightness","toggleLayerHighlight"],Command:["command-tool"],MeasureDistance:["MeasureDistance"],SingleRouting:["draw(track)"],align_horizontal_equidistant:["distribute_horizontal_equidistant"],PlaceVia:["place_part(via)"],"Flip Board":["flipBoard"],full_screen:["fullScreen"],Delete:["delete","delete-selected"],"draw(polyline)":["draw(polyline)","draw(Line)"],newProject:["new_project"],checkERC:["checkERC","checkDRC"],new_PCB:["new_pcb","new_PCB"],openProject:["openProject","open_project"],closeProject:["closeProject","closeAll"],backup:["backup","new_version"],switchVersion:["switchVersion","switch_version"],changeRoutingMode:["routingMode"],variant_view_mode:["variant_view_mode"]},OCe=class OCe{static getUserConfig(e){var r;let i=ue.deepClone(OCe.menuHotkey),o=e||((r=hn("HOTKEY"))==null?void 0:r.menuHotkey)||{};return it(o,(n,a)=>{i[n]&&it(["hotkey"],(l,c)=>{i[n][c]=a[c]})}),i}static getSubHotkeyInfo(e){return ue.deepClone(Ys.getMenuHotkeyInfo(e))}static getMenuHotkeyByHotkeyCmd(e,i){return OCe.getUserConfig(i)[e]}static getCmdToMenuHotkey(){let e=Ys.getAllMenuHotkeys();for(let i in lci){let o=e[i],r=lci[i];if(o)for(let n of r)e[n]=o}return e}static changeHotkeyConfig(e,i,o){let r=o.menuHotkey;Array.isArray(o.menuHotkey)&&console.log("menuHotkey error data"),(!o.menuHotkey||Array.isArray(o.menuHotkey))&&(r=o.menuHotkey={}),r[e]=i}};OCe.menuHotkey=b9e;var av=OCe,oh=class oh{static init(){for(var e=oh.config,i=oh.keyToCmdMap,o=0,r=e.length,n;o<r;o++)n=e[o],n[1]in i||(i[n[1]]={},oh.types.push(n[1]));oh.initKeycodeMap(),oh.updateHotkeyConfig(),oh.init=function(){}}static getUserConfig(){let e=hn("HOTKEY"),i=e.hotkeyCfg,o=Object.assign({},i);o.custom=e.hotkey;let r=e.active,n=o[r]||e.hotkey;return n=ue.deepCloneWithHtmlEncode(n),Lsr(n),n}static getActiveConfig(){return hn("HOTKEY").active}static getHotkeyDescription(e){let i=["Fit in Window","Zoom In","Zoom Out"],o=dt(),r=kl(o);return cci.default.isPlainObject(e)&&(e=e,e=r?e.symbolEditor:e.schEditor),i.indexOf(e)>-1?me.context("hotkey").i18n(e):me.i18n(e)}static adjustPlusAndMinus(e,i){return i}static updateHotkeyConfig(e=void 0){var i,o,r,n,a,s,l,c,d=oh.config,u=oh.keyToCmdMap,p=oh.cmdToKeyMap,m=e||oh.getUserConfig();for(a=0,s=oh.types.length;a<s;a++){o=oh.types[a],c=u[o];for(r in c)Object.hasOwnProperty.call(c,r)&&delete c[r]}for(a=0,s=d.length;a<s;a++){if(l=d[a],i=l[0],o=l[1],r=l[2],m){for(n in m[o])if(m[o].hasOwnProperty(n)&&m[o][n]==i){r=n;break}}u[o][r]=i,p[o][i]=r}Ys.needUpdateHotkey()&&Ys.updateHotkeyConfigStatus()}static initKeycodeMap(){oh.keycodeMap={8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:oue?"Control":"Ctrl",18:"Alt",27:"Esc",32:"Space",33:"Page Up",34:"Page Down",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",45:"Insert",46:"Delete",192:"`",219:"[",221:"]",220:"\\",222:"'",187:"=",188:",",190:".",191:"/",96:"Num0",97:"Num1",98:"Num2",99:"Num3",100:"Num4",101:"Num5",102:"Num6",103:"Num7",104:"Num8",105:"Num9",106:"Num*",107:"Num+",109:"Num-",110:"Num.",111:"Num/"};var e=oh.keycodeMap;e[A2?59:186]=";",e[A2?61:187]="=",e[A2?173:189]="-";for(var i=1;i<=12;i++)e[111+i]="F"+i;oue&&(A2?e[224]="Cmd":(e[91]="Cmd",e[93]="Cmd"),e[8]="Delete")}static modifyHotkeyByDialog(e,i){if(!e&&!i)return!1;let o,r;return i&&(o=Ys.getMenuHotkeyInfo(i)),e&&(r=Ys.getHotkeyInfo(e)),!r&&!o?!1:(C.messageBus.publish("/pro-ui/openHotkeySettingDlg",{hotkey:r,menuHotkey:o,hotkeyCmd:i||e}),!0)}};oh.JLCEDA_PRO=poe,oh.JLCEDA=w9e,oh.altium=C9e,oh.defaultConfig1={home:{editor:{},selectCanvas:{},notSelectCanvas:{},drawing:{}},sch:{editor:{},selectCanvas:{},notSelectCanvas:{},drawing:{}},symbol:{editor:{},selectCanvas:{},notSelectCanvas:{},drawing:{}},pcb:{editor:{},selectCanvas:{},notSelectCanvas:{},drawing:{}},footprint:{editor:{},selectCanvas:{},notSelectCanvas:{},drawing:{}}},oh.config=[["full_screen","ALL","F11","Full Screen"],["draw_end","ALL","Esc","Cancel Current Drawing"],["rotate_left","ALL","Space","Rotate 90\xB0Counterclockwise",""],["left","ALL","Left",{symbolEditor:"Scroll or Move Selected Left",schEditor:"Scroll View towards Left"}],["right","ALL","Right",{symbolEditor:"Scroll or Move Selected Right",schEditor:"Scroll View towards Right"}],["up","ALL","Up",{symbolEditor:"Scroll or Move Selected Up",schEditor:"Scroll View towards Up"}],["down","ALL","Down",{symbolEditor:"Scroll or Move Selected Down",schEditor:"Scroll View towards Down"}],["delete","ALL","Delete","Delete Selected"],["undoDraw","ALL","Backspace","Undo the Previous Draw"],["show_drawing_attr_dlg","SCH","Tab","Show Attribute Dialog When Placing Object"],["sheet(toPrevious)","SCH","Page Up","Previous page"],["sheet(toNext)","SCH","Page Down","Next page / New Page"],["fitview","ALL","F6","Fit in Window"],["zoom(in)","ALL","F7","Zoom In"],["zoom(out)","ALL","F8","Zoom Out"],["cut","ALL","Ctrl+X","Cut"],["copy","ALL","Ctrl+C","Copy"],["paste","ALL","Ctrl+V","Paste"],["select_all","ALL","Ctrl+A","Select All"],["undo","ALL","Ctrl+Z","Undo"],["redo","ALL","Ctrl+Y","Redo"],["file_save","ALL","Ctrl+Shift+S","Save"],["save_all","ALL","Ctrl+S","Save All"],["export(print)","ALL","Ctrl+P","Printing"],["openProject","ALL","Ctrl+O","Open Project"],["newProject","ALL","Shift+N","New Project"],["findObjects","ALL","Ctrl+F","Find"],["variant_view_mode","SCH","Shift+M","Variant View Mode"],["findSimilar","ALL","Ctrl+Shift+F","Find Similar Objects"],["placeDevice","SCH","Shift+F","Place Device"],["tutorials","ALL","F1","Tutorials"],["draw(wire)","SCH","Alt+N","Draw Wire"],["draw(bus)","SCH","Alt+B","Draw Bus"],["place_part(pin)","SCH","Alt+P","Draw Pin"],["draw(arc)","SCH","Alt+A","Draw Arc"],["draw(bezier)","SCH","Alt+Z","Draw Bezier"],["draw(rect)","SCH","Alt+R","Draw Rect"],["place_part(junction)","SCH","Alt+J","Place Junction"],["draw(circle)","SCH","Alt+C","Draw Circle"],["draw(ellipse)","SCH","Alt+E","Draw Ellipse"],["draw(polyline)","SCH","Alt+L","Draw Polyline"],["showTextDialog","SCH","Alt+T","Draw Text"],["fliph","ALL","X","Flip Horizontal"],["flipv","ALL","Y","Flip Vertical"],["align_left","ALL","Ctrl+Shift+Left","Align Left"],["align_vertical_center","ALL","Ctrl+Shift+C","Align Vertical Centers"],["align_right","ALL","Ctrl+Shift+Right","Align Right"],["align_top","ALL","Ctrl+Shift+Up","Align Top"],["align_horizontal_center","ALL","Ctrl+Shift+M","Align Horizontal Centers"],["align_bottom","ALL","Ctrl+Shift+Down","Align Bottom"],["align_grid","ALL","Ctrl+Shift+G","Align Grid"],["align_horizontal_equidistant","ALL","Ctrl+Shift+H","Horizontal Equidistant Distribution"],["align_vertical_equidistant","ALL","Ctrl+Shift+U","Vertical Equidistant Distribution"],["stop_video_capture","ALL","","stop_video_capture"],["show_videocapture","ALL","","show_videocapture"]],oh.keyToCmdMap={},oh.cmdToKeyMap={ALL:{},SCH:{},SCHLIB:{},PANEL:{}},oh.types=[],oh.keycodeMap={};var Nc=oh,x5n={easyEDA:Nc.JLCEDA,altium:Nc.altium,JLCEDA_PRO:Nc.JLCEDA_PRO};function dci(t){var e=t.keyCode,i="",o=Nc.keycodeMap[e];return[13].includes(e)||(e>=48&&e<=57||e>=65&&e<=90?i+=String.fromCharCode(e):e>=96&&e<=105?i+=o:o!="Cmd"&&o!="Ctrl"&&o!="Control"&&o!="Shift"&&o!="Alt"&&Object.hasOwnProperty.call(Nc.keycodeMap,e)&&(i+=Nc.keycodeMap[e])),i}var uci=t=>{var e=t.keyCode,i=Nc.keycodeMap[e];return i||(e>=48&&e<=57||e>=65&&e<=90?String.fromCharCode(e):"")};function a_(t){var e=t.metaKey,i=t.ctrlKey,o=t.shiftKey,r=t.altKey,n=t.keyCode,a="",s=Nc.keycodeMap[n];e&&oue&&(a+="Cmd+"),i&&(oue?a+="Control+":a+="Ctrl+"),o&&(a+="Shift+"),r&&(a+="Alt+");let l=null;return n>=48&&n<=57||n>=65&&n<=90?l=String.fromCharCode(n):n>=96&&n<=105?l=s:s!="Cmd"&&s!="Ctrl"&&s!="Control"&&s!="Shift"&&s!="Alt"&&Object.hasOwnProperty.call(Nc.keycodeMap,n)&&(l=Nc.keycodeMap[n]),l===null?a&&/[^+]\+$/.test(a)&&(a=a.substring(0,a.length-1)):a+=l,a}function g3(t){return typeof t=="string"&&(oue?t=t.replace(/Ctrl/g,"Cmd"):(t=t.replace(/Control\+Cmd|Cmd\+Control/g,"Ctrl"),t=t.replace(/Control/g,"Ctrl"),t=t.replace(/Cmd/g,"Ctrl"))),t}function Lsr(t){for(let e of t.Other)switch(e.hotkeyCmd){case"Relative":{let i=poe.Other.find(r=>r.hotkeyCmd=="Relative"),o=poe.Other.find(r=>r.hotkeyCmd=="RelativeX");e.command==o.command&&(e.command=i.command,e.remark=i.remark);break}}}var O6=new Map,s_=new Map,Vue=new Map,Hue=new Map;var pci="contextmenuRoot";function x9e(t){let e=t.getAttribute("data-cmdlink"),i=t.getAttribute("data-domid");!i||!e||s_.set(i,e.split(":"))}function mci(t){let e=t.getAttribute("data-domid"),i=s_.get(e)||[];i.length<=1||s_.set(e,(i.splice(i.length-1),i))}function l_(){return{x:0,y:0,left:0,top:0,bottom:0,right:0,width:0,height:0}}function hci(t){for(;t;){if(t.getAttribute("mouselave")==="true")return!0;t=t.parentElement}return!1}var bci=L(AU());var{locals:sv}=bci.default;function yci(t){if(!t)return;let e=t.classList.contains(sv["ctxmenu-item-disabled"]),i=t.firstElementChild;if(!i||i.classList.contains(sv["ctxmenu-item-hover"])||(Vbt(t,void 0,r=>{!e&&r.firstElementChild&&r.firstElementChild.classList.add(sv["ctxmenu-item-hover"])}),e))return;x9e(t);let o=t.parentElement;Array.from(o.children).forEach(r=>{r!==t&&Ubt(r,!0)}),S9e(t)}function Gue(t){return(s_.get(t)||[]).join(":")}function wci(t,e){let i=Gue(t),o=i?e.querySelector(`[data-cmdlink="${i}"]`):e.querySelector("[data-cmdlink]"),r=vsr(o,!i);return r?r.getAttribute("data-cmdlink"):null}function Cci(t,e){let i=Gue(t),o=i?e.querySelector(`[data-cmdlink="${i}"]`):e.querySelector("[data-cmdlink]"),r=Dsr(o,!i);return r?r.getAttribute("data-cmdlink"):null}function RCe(t,e){let i=e.querySelector(`[data-cmdlink="${t}"]`);i&&(Vbt(i,!0,o=>{o.firstElementChild&&o.firstElementChild.classList.add(sv["ctxmenu-item-hover"])}),x9e(i),S9e(i))}function Bbt(t,e){let i=e.querySelector(`[data-cmdlink="${t}"]`);if(i)return i}function xci(t,e){let i=e.querySelector(`[data-cmdlink="${t}"]`);if(!i)return;let o=i.querySelector('[data-itemtype="ctxmenu-ulist"]');if(!o)return;let r=o.querySelector("[data-cmdlink]");r&&(Vbt(r,void 0,n=>{n.firstElementChild&&n.firstElementChild.classList.add(sv["ctxmenu-item-hover"])}),x9e(r),S9e(r))}function zbt(t,e){let i=e.querySelector(`[data-cmdlink="${t}"]`);i&&S9e(i)}function Tci(t,e,i=!1){let o=e.querySelector(`[data-cmdlink="${t}"]`);o&&Ubt(o,i)}function Fbt(t,e){let i=e.querySelector(`[data-cmdlink="${t}"]`);if(!i)return!1;let o=i.querySelector("main");return o?o.classList.contains(sv["ctxmenu-show-menu"]):!1}function Sci(t,e,i){let o=Vue.get(t);if(!o)return{nextCmdTag:void 0,isMulti:!1};let r=i.toLocaleUpperCase(),n=Gue(t);if(o.has(r)){let a=o.get(r)||[],s=a.indexOf(n),l=s<=-1||s>=a.length-1?0:s+1,c=a[l];return RCe(c,e),{nextCmdTag:c,isMulti:a.length>=2}}return{nextCmdTag:void 0,isMulti:!1}}function S9e(t){let o=O6.get(t.getAttribute("data-domid")),r=t.querySelector("main");if(!r||r.classList.contains(sv["ctxmenu-show-menu"]))return;r.classList.remove(sv["ctxmenu-show-menu"]),r.style.display="block",r.style.visibility="hidden",r.style.opacity="0",r.style.left="-1px",r.style.top="-1px";let n=t.getBoundingClientRect().toJSON(),a=r.getBoundingClientRect().toJSON(),s=a.left- -1,l=a.top- -1,c=document.documentElement.clientHeight,d=document.documentElement.clientWidth;a.x=-1,a.y=-1,a.height>=c-5-5?(a.top=5-l,a.height=c-5-5,a.bottom=a.top+a.height):o&&o.panelAlignment==="RIGHT_TOP"?(n.top<=5&&(a.top=5,a.bottom=a.top+a.height),n.bottom-a.height<=5?(a.top=l-5,a.bottom=a.top+a.height):(a.top=n.bottom-a.height-l,a.bottom=a.top+a.height)):(n.top<=5&&(a.top=5,a.bottom=a.top+a.height),n.top+a.height>=c?(a.top=c-a.height-l-5,a.bottom=a.top+a.height):(a.top=n.top-l,a.bottom=a.top+a.height)),n.right+a.width>=d?(a.left=n.left-a.width-s,a.right=a.left+a.width):(a.left=n.right-s,a.right=a.left+a.width),r.style.left=`${a.left}px`,r.style.top=`${a.top}px`,r.style.height=`${a.height}px`,r.classList.add(sv["ctxmenu-show-menu"]),r.style.visibility=null,r.style.opacity=null}function Ubt(t,e=!1){let i=t.querySelector("main");if(i){if(e){i.classList.remove(sv["ctxmenu-show-menu"]),i.style.display="none";return}hci(i)||(i.classList.remove(sv["ctxmenu-show-menu"]),i.style.display="none")}}function vsr(t,e=!1){if(!t)return null;let i=t.parentElement,o=e?t:t.nextElementSibling;for(;o;){let r=o.getAttribute("data-itemtype");if(r==="ctxmenu-separator"||r==="ctxmenu-item-disabled"){o=o.nextElementSibling;continue}return o}return o||i.firstElementChild}function Dsr(t,e=!1){if(!t)return null;let i=t.parentElement,o=e?t:t.previousElementSibling;for(;o;){let r=o.getAttribute("data-itemtype");if(r==="ctxmenu-separator"||r==="ctxmenu-item-disabled"){o=o.previousElementSibling;continue}return o}return o||i.lastElementChild}function Vbt(t,e=!1,i=()=>{}){Array.from(t.parentElement.querySelectorAll(`.${sv["ctxmenu-item"]}`)).forEach(r=>{var n;(n=r.firstElementChild)==null||n.classList.remove(sv["ctxmenu-item-hover"]),Ubt(r,e)}),i&&i(t)}function Hbt(t){let e=t.currentTarget;try{kU(e)}catch(i){console.error("contextmenu root element removed error.",i)}}function NU(t){let e=t.target;if(!e){for(let[i,o]of O6){let{windowInstance:r}=o,n=r.document.getElementById(i);kU(n)}return}for(let[i,o]of O6){let{windowInstance:r}=o,n=r.document.getElementById(i);n.contains(e)||kU(n)}}function Gbt(t){let e=t.target,i=e.id,o=O6.get(e.id);if(!o)return;let r=Gue(i),n=()=>{kU(e)};switch(t.keyCode){case 27:{t.stopPropagation(),n();break}case 13:{if(Fbt(r,e))break;let c=Bbt(r,e);o.onEnterConfirm&&o.onEnterConfirm(r.split(":"),c?c.getBoundingClientRect().toJSON():l_(),o.optional||{}),window.setTimeout(()=>{n()});break}case 38:{t.stopPropagation();let c=Cci(i,e);RCe(c,e);break}case 40:{t.stopPropagation();let c=wci(i,e);RCe(c,e);break}case 37:{t.stopPropagation(),mci(e),Tci(Gue(i),e,!0);break}case 39:{t.stopPropagation(),zbt(r,e),xci(r,e);break}}let{isMulti:a,nextCmdTag:s}=Sci(i,e,a_(t)),l=null;if(s&&(RCe(s,e),l=Bbt(s,e).getBoundingClientRect().toJSON()),!a){if(s&&Fbt(s,e)){zbt(s,e);return}o.onKeydown&&o.onKeydown(t,n,{hitCmd:s,confirmedItemBoundingRect:l})}}function Ybt(t){let e=t.target,i=e.id,o=O6.get(e.id);if(!o)return;let r=()=>{kU(e)};o.onKeyup&&o.onKeyup(t,r)}function kU(t){window.document.removeEventListener("pointerdown",NU),window.document.removeEventListener("mousedown",NU);let e=t.root;t.removeEventListener("keydown",Gbt),t.removeEventListener("keyup",Ybt),t.removeEventListener("blur",Hbt),e.unmount(),t.remove(),O6.delete(t.id),s_.delete(t.id),Vue.delete(t.id),window.postMessage({action:"HIDDEN_PCB_CONTEXTMENU"},"*")}function Mci(...t){let e=/{([\d\w.]+)}/g,i=t.shift()+"";return t.length==1&&typeof t[0]=="object"&&(t=t[0]),e.lastIndex=0,i.replace(e,function(o,r){let n=t[r];return n===void 0?o:n})}function g1(t,e,i,o=!1,r=window){let a;se.VIEW3D===i?a="editor?entry=pcb3d":se.PANEL===i?a="editor?entry=panel":e=="panelizePreview"?a="editor?entry=pcb-panelize":a="editor?entry=pcb";let s=Mt(String(e)),l=t.id==="PACKAGEDLG_FOOTPRINTCANVAS_WRAPPER_ID";var c=Mci('<div uuid="{0}" style="width:100%;height:100%;">',e);c+=Mci('<iframe class="editframe" sid={sid} c_doctype="{doctype}" winzoom="{zoom}" src="{src}" id="frame_preview_{iframeId}" click_to_Place="{click_to_Place}" frameborder="0" border="0" style="top:0;left:0;width:100%;height:100%;" isPackageManager="{isPackageManager}"></iframe>',{doctype:i,zoom:200,src:a,iframeId:s,sid:e,click_to_Place:o,isPackageManager:l}),c+="</div>",t.appendChild(r.document.createRange().createContextualFragment(c));let d=r.document.getElementById("frame_preview_"+s);return(function(){let u=!1;d.contentWindow.addEventListener("mouseup",p=>{if(C.messageBus.publish("canvasMouseUpEvent",p),u){u=!1;return}p.button===2&&r.name&&C.messageBus.publish("showPreviewRightClickMenuAtSubWindow",{x:p.clientX,y:p.offsetY,iframeElementId:"frame_preview_"+s})}),d.contentWindow.addEventListener("mousedown",p=>{u=!1,NU(p)}),d.contentWindow.addEventListener("mousemove",p=>{u=!0})})(),d}function Ici(t){if(typeof t=="string")try{return JSON.parse(t).filter(e=>e)}catch{return[]}else{let e=C.profileSetting.language;return Object.values(t).filter(i=>(i==null?void 0:i.uuid)!=null).map(i=>e=="en"?i.name:i.name_cn||i.name)}}function Lci(t){if(t==null)return"";if(typeof t=="string")try{return JSON.parse(t).join(":")}catch{return""}else{let i=C.profileSetting.language;return Object.values(t).filter(o=>(o==null?void 0:o.uuid)!=null).map(o=>i=="en"?o.name:o.name_cn||o.name).join(":")}}async function vci(t,e){let{sheets:i={},symbols:o={},boards:r={},pcbs:n={},schematics:a={},images:s={}}=t,l={};for(let m in s){let h=s[m];l[m]=h instanceof Blob?await Dci(h):h}let c=Object.values(o).filter(m=>m.docType===ve.BLOCK_SYMBOL).map(m=>({...m,type:void 0,custom_tags:void 0,desc:void 0,version:m.version,dataStr:void 0,project_uuid:e,display_title:m.title,title:m.title.toLocaleLowerCase()})),d=Object.values(n).map(m=>({...m,project_uuid:e,display_title:m.title,title:m.title.toLocaleLowerCase(),description:"",ticket:m.ticket,docType:ve.PCB,thumb:l[m.uuid]})),u=Object.values(a).reduce((m,h)=>(m[h.uuid]={...h,display_name:h.title,name:h.title.toLocaleLowerCase(),version:h.version,sheets:Object.values(i).filter(f=>f.schematic===h.uuid).map(f=>({...f,id:h.zIndex,thumb:l[f.uuid],project_uuid:e,display_title:f.title,title:f.title.toLocaleLowerCase(),name:f.title,description:"",version:h.version,ticket:h.ticket,docType:ve.SCH}))},m),{}),p=Object.values(r).map(m=>{var h,f;return{...m,name:m.title,sch:(h=Object.values(a).find(g=>g.board===m.uuid))==null?void 0:h.uuid,pcb:(f=Object.values(n).find(g=>g.board===m.uuid))==null?void 0:f.uuid}});return{block_symbol:c,boards:p,pcbs:d,schematics:u}}var PDo=L(Hr()),_Ht=L(_Ce());var Yue=2;var yDo=L(_Ce());var uDo=L(Se());var I9e=we.PCB_FOOTPRINT.PCB_THEME.TOP_LAYER,L9e=we.PCB_FOOTPRINT.PCB_THEME.BOTTOM_LAYER,v9e=we.PCB_FOOTPRINT.PCB_THEME.TOP_SILKSCREEN_LAYER,D9e=we.PCB_FOOTPRINT.PCB_THEME.BOTTOM_SILKSCREEN_LAYER,E9e=we.PCB_FOOTPRINT.PCB_THEME.TOP_SOLDER_MASK_LAYER,A9e=we.PCB_FOOTPRINT.PCB_THEME.BOTTOM_SOLDER_MASK_LAYER,N9e=we.PCB_FOOTPRINT.PCB_THEME.TOP_PASTE_MASK_LAYER,k9e=we.PCB_FOOTPRINT.PCB_THEME.BOTTOM_PASTE_MASK_LAYER,P9e=we.PCB_FOOTPRINT.PCB_THEME.TOP_ASSEMBLY_LAYER,O9e=we.PCB_FOOTPRINT.PCB_THEME.BOTTOM_ASSEMBLY_LAYER,R9e=we.PCB_FOOTPRINT.PCB_THEME.BOARD_OUTLINE_LAYER,_9e=we.PCB_FOOTPRINT.PCB_THEME.MULTI_LAYER,j9e=we.PCB_FOOTPRINT.PCB_THEME.DOCUMENT_LAYER,B9e=we.PCB_FOOTPRINT.PCB_THEME.MECHANICAL_LAYER,z9e=we.PCB_FOOTPRINT.PCB_THEME.HOLE_LAYER,F9e=we.PCB_FOOTPRINT.PCB_THEME.DRILL_DRAWING_LAYER,U9e=we.PCB_FOOTPRINT.PCB_THEME.RATLINE_LAYER,c_=[{name:vo?"EasyEDA":"JLCEDA",list:[{layerId:"1",layerType:"TOP",layerName:I9e,status:1,activeColor:_e.HEX_RED_COLOR,activeColorAlpha:1,deactiveColor:_e.HEX_RED_COLOR,deactiveColorAlpha:.5},{layerId:"15",layerType:"SIGNAL",layerName:"Inner1",status:0,activeColor:"#999966",activeColorAlpha:1,deactiveColor:"#999966",deactiveColorAlpha:.5},{layerId:"16",layerType:"SIGNAL",layerName:"Inner2",status:0,activeColor:"#008000",activeColorAlpha:1,deactiveColor:"#008000",deactiveColorAlpha:.5},{layerId:"17",layerType:"SIGNAL",layerName:"Inner3",status:0,activeColor:_e.HEX_GREEN_COLOR,activeColorAlpha:1,deactiveColor:_e.HEX_GREEN_COLOR,deactiveColorAlpha:.5},{layerId:"18",layerType:"SIGNAL",layerName:"Inner4",status:0,activeColor:"#BC8E00",activeColorAlpha:1,deactiveColor:"#BC8E00",deactiveColorAlpha:.5},{layerId:"19",layerType:"SIGNAL",layerName:"Inner5",status:0,activeColor:"#70DBFA",activeColorAlpha:1,deactiveColor:"#70DBFA",deactiveColorAlpha:.5},{layerId:"20",layerType:"SIGNAL",layerName:"Inner6",status:0,activeColor:"#00CC66",activeColorAlpha:1,deactiveColor:"#00CC66",deactiveColorAlpha:.5},{layerId:"21",layerType:"SIGNAL",layerName:"Inner7",status:0,activeColor:"#9966FF",activeColorAlpha:1,deactiveColor:"#9966FF",deactiveColorAlpha:.5},{layerId:"22",layerType:"SIGNAL",layerName:"Inner8",status:0,activeColor:"#800080",activeColorAlpha:1,deactiveColor:"#800080",deactiveColorAlpha:.5},{layerId:"2",layerType:"BOTTOM",layerName:L9e,status:1,activeColor:_e.HEX_BLUE_COLOR,activeColorAlpha:1,deactiveColor:_e.HEX_BLUE_COLOR,deactiveColorAlpha:.5},{layerId:"3",layerType:"TOP_SILK",layerName:v9e,status:1,activeColor:"#FFCC00",activeColorAlpha:1,deactiveColor:"#FFCC00",deactiveColorAlpha:.5},{layerId:"4",layerType:"BOT_SILK",layerName:D9e,status:1,activeColor:"#66CC33",activeColorAlpha:1,deactiveColor:"#66CC33",deactiveColorAlpha:.5},{layerId:"5",layerType:"TOP_SOLDER_MASK",layerName:E9e,status:1,activeColor:"#800080",activeColorAlpha:.7,deactiveColor:"#800080",deactiveColorAlpha:.5},{layerId:"6",layerType:"BOT_SOLDER_MASK",layerName:A9e,status:1,activeColor:"#AA00FF",activeColorAlpha:.7,deactiveColor:"#AA00FF",deactiveColorAlpha:.5},{layerId:"7",layerType:"TOP_PASTE_MASK",layerName:N9e,status:1,activeColor:"#808080",activeColorAlpha:1,deactiveColor:"#808080",deactiveColorAlpha:.5},{layerId:"8",layerType:"BOT_PASTE_MASK",layerName:k9e,status:1,activeColor:"#800000",activeColorAlpha:1,deactiveColor:"#800000",deactiveColorAlpha:.5},{layerId:"9",layerType:"TOP_ASSEMBLY",layerName:P9e,status:1,activeColor:"#33CC99",activeColorAlpha:1,deactiveColor:"#33CC99",deactiveColorAlpha:.5},{layerId:"10",layerType:"BOT_ASSEMBLY",layerName:O9e,status:1,activeColor:"#5555FF",activeColorAlpha:1,deactiveColor:"#5555FF",deactiveColorAlpha:.5},{layerId:"11",layerType:"OUTLINE",layerName:R9e,status:1,activeColor:"#FF00FF",activeColorAlpha:1,deactiveColor:"#FF00FF",deactiveColorAlpha:.5},{layerId:"12",layerType:"MULTI",layerName:_9e,status:1,activeColor:"#C0C0C0",activeColorAlpha:1,deactiveColor:"#C0C0C0",deactiveColorAlpha:.5},{layerId:"13",layerType:"DOCUMENT",layerName:j9e,status:1,activeColor:_e.HEX_WHITE_COLOR,activeColorAlpha:1,deactiveColor:_e.HEX_WHITE_COLOR,deactiveColorAlpha:.5},{layerId:"14",layerType:"MECHANICAL",layerName:B9e,status:1,activeColor:"#F022F0",activeColorAlpha:1,deactiveColor:"#F022F0",deactiveColorAlpha:.5},{layerId:"47",layerType:"HOLE",layerName:z9e,status:1,activeColor:"#222222",activeColorAlpha:1,deactiveColor:"#222222",deactiveColorAlpha:.5},{layerId:"56",layerType:"DRILL_DRAWING",layerName:F9e,status:1,activeColor:"#008080",activeColorAlpha:1,deactiveColor:"#008080",deactiveColorAlpha:.5},{layerId:"57",layerType:"OTHER",layerName:U9e,status:1,activeColor:"#6464ff",activeColorAlpha:1,deactiveColor:"#6464ff",deactiveColorAlpha:.5}]},{name:"Altium Designer",list:[{layerId:"1",layerType:"TOP",layerName:I9e,status:1,activeColor:_e.HEX_RED_COLOR,activeColorAlpha:1,deactiveColor:_e.HEX_RED_COLOR,deactiveColorAlpha:1},{layerId:"15",layerType:"SIGNAL",layerName:"Inner1",status:0,activeColor:"#bc8e00",activeColorAlpha:1,deactiveColor:"#bc8e00",deactiveColorAlpha:1},{layerId:"16",layerType:"SIGNAL",layerName:"Inner2",status:0,activeColor:"#70dbfa",activeColorAlpha:1,deactiveColor:"#70dbfa",deactiveColorAlpha:1},{layerId:"17",layerType:"SIGNAL",layerName:"Inner3",status:0,activeColor:"#00cc66",activeColorAlpha:1,deactiveColor:"#00cc66",deactiveColorAlpha:1},{layerId:"18",layerType:"SIGNAL",layerName:"Inner4",status:0,activeColor:"#9966ff",activeColorAlpha:1,deactiveColor:"#9966ff",deactiveColorAlpha:1},{layerId:"19",layerType:"SIGNAL",layerName:"Inner5",status:0,activeColor:"#00ffff",activeColorAlpha:1,deactiveColor:"#00ffff",deactiveColorAlpha:1},{layerId:"20",layerType:"SIGNAL",layerName:"Inner6",status:0,activeColor:"#800080",activeColorAlpha:1,deactiveColor:"#800080",deactiveColorAlpha:1},{layerId:"21",layerType:"SIGNAL",layerName:"Inner7",status:0,activeColor:"#9966FF",activeColorAlpha:1,deactiveColor:"#9966FF",deactiveColorAlpha:.5},{layerId:"22",layerType:"SIGNAL",layerName:"Inner8",status:0,activeColor:"#800080",activeColorAlpha:1,deactiveColor:"#800080",deactiveColorAlpha:.5},{layerId:"2",layerType:"BOTTOM",layerName:L9e,status:1,activeColor:_e.HEX_BLUE_COLOR,activeColorAlpha:1,deactiveColor:_e.HEX_BLUE_COLOR,deactiveColorAlpha:1},{layerId:"3",layerType:"TOP_SILK",layerName:v9e,status:1,activeColor:"#ffff00",activeColorAlpha:1,deactiveColor:"#ffff00",deactiveColorAlpha:1},{layerId:"4",layerType:"BOT_SILK",layerName:D9e,status:1,activeColor:"#808000",activeColorAlpha:1,deactiveColor:"#808000",deactiveColorAlpha:1},{layerId:"5",layerType:"TOP_SOLDER_MASK",layerName:E9e,status:1,activeColor:"#800080",activeColorAlpha:.7,deactiveColor:"#800080",deactiveColorAlpha:1},{layerId:"6",layerType:"BOT_SOLDER_MASK",layerName:A9e,status:1,activeColor:"#ff00ff",activeColorAlpha:.7,deactiveColor:"#ff00ff",deactiveColorAlpha:1},{layerId:"7",layerType:"TOP_PASTE_MASK",layerName:N9e,status:1,activeColor:"#808080",activeColorAlpha:1,deactiveColor:"#808080",deactiveColorAlpha:1},{layerId:"8",layerType:"BOT_PASTE_MASK",layerName:k9e,status:1,activeColor:"#800000",activeColorAlpha:1,deactiveColor:"#800000",deactiveColorAlpha:1},{layerId:"9",layerType:"TOP_ASSEMBLY",layerName:P9e,status:1,activeColor:"#33CC99",activeColorAlpha:1,deactiveColor:"#33CC99",deactiveColorAlpha:1},{layerId:"10",layerType:"BOT_ASSEMBLY",layerName:O9e,status:1,activeColor:"#5555FF",activeColorAlpha:1,deactiveColor:"#5555FF",deactiveColorAlpha:1},{layerId:"11",layerType:"OUTLINE",layerName:R9e,status:1,activeColor:"#ff00ff",activeColorAlpha:1,deactiveColor:"#ff00ff",deactiveColorAlpha:1},{layerId:"12",layerType:"MULTI",layerName:_9e,status:1,activeColor:"#c0c0c0",activeColorAlpha:1,deactiveColor:"#c0c0c0",deactiveColorAlpha:1},{layerId:"13",layerType:"DOCUMENT",layerName:j9e,status:1,activeColor:_e.HEX_WHITE_COLOR,activeColorAlpha:1,deactiveColor:_e.HEX_WHITE_COLOR,deactiveColorAlpha:1},{layerId:"14",layerType:"MECHANICAL",layerName:B9e,status:1,activeColor:"#800080",activeColorAlpha:1,deactiveColor:"#800080",deactiveColorAlpha:1},{layerId:"47",layerType:"HOLE",layerName:z9e,status:1,activeColor:"#816200",activeColorAlpha:1,deactiveColor:"#816200",deactiveColorAlpha:1},{layerId:"56",layerType:"DRILL_DRAWING",layerName:F9e,status:1,activeColor:"#ff002a",activeColorAlpha:1,deactiveColor:"#ff002a",deactiveColorAlpha:1},{layerId:"57",layerType:"OTHER",layerName:U9e,status:1,activeColor:"#6464ff",activeColorAlpha:1,deactiveColor:"#6464ff",deactiveColorAlpha:.5}]},{name:"PADS",list:[{layerId:"1",layerType:"TOP",layerName:I9e,status:1,activeColor:"#00c040",activeColorAlpha:1,deactiveColor:"#00c040",deactiveColorAlpha:.5},{layerId:"15",layerType:"SIGNAL",layerName:"Inner1",status:0,activeColor:"#aaaad5",activeColorAlpha:1,deactiveColor:"#aaaad5",deactiveColorAlpha:.5},{layerId:"16",layerType:"SIGNAL",layerName:"Inner2",status:0,activeColor:"#bb6200",activeColorAlpha:1,deactiveColor:"#bb6200",deactiveColorAlpha:.5},{layerId:"17",layerType:"SIGNAL",layerName:"Inner3",status:0,activeColor:_e.HEX_GREEN_COLOR,activeColorAlpha:1,deactiveColor:_e.HEX_GREEN_COLOR,deactiveColorAlpha:.5},{layerId:"18",layerType:"SIGNAL",layerName:"Inner4",status:0,activeColor:"#BC8E00",activeColorAlpha:1,deactiveColor:"#BC8E00",deactiveColorAlpha:.5},{layerId:"19",layerType:"SIGNAL",layerName:"Inner5",status:0,activeColor:"#70DBFA",activeColorAlpha:1,deactiveColor:"#70DBFA",deactiveColorAlpha:.5},{layerId:"20",layerType:"SIGNAL",layerName:"Inner6",status:0,activeColor:"#00CC66",activeColorAlpha:1,deactiveColor:"#00CC66",deactiveColorAlpha:.5},{layerId:"21",layerType:"SIGNAL",layerName:"Inner7",status:0,activeColor:"#9966FF",activeColorAlpha:1,deactiveColor:"#9966FF",deactiveColorAlpha:.5},{layerId:"22",layerType:"SIGNAL",layerName:"Inner8",status:0,activeColor:"#800080",activeColorAlpha:1,deactiveColor:"#800080",deactiveColorAlpha:.5},{layerId:"2",layerType:"BOTTOM",layerName:L9e,status:1,activeColor:"#808000",activeColorAlpha:1,deactiveColor:"#808000",deactiveColorAlpha:.5},{layerId:"3",layerType:"TOP_SILK",layerName:v9e,status:1,activeColor:"#c0c0c0",activeColorAlpha:1,deactiveColor:"#c0c0c0",deactiveColorAlpha:.5},{layerId:"4",layerType:"BOT_SILK",layerName:D9e,status:1,activeColor:"#ff00ff",activeColorAlpha:1,deactiveColor:"#ff00ff",deactiveColorAlpha:.5},{layerId:"5",layerType:"TOP_SOLDER_MASK",layerName:E9e,status:1,activeColor:_e.HEX_BLUE_COLOR,activeColorAlpha:.7,deactiveColor:_e.HEX_BLUE_COLOR,deactiveColorAlpha:.5},{layerId:"6",layerType:"BOT_SOLDER_MASK",layerName:A9e,status:1,activeColor:_e.HEX_BLUE_COLOR,activeColorAlpha:.7,deactiveColor:_e.HEX_BLUE_COLOR,deactiveColorAlpha:.5},{layerId:"7",layerType:"TOP_PASTE_MASK",layerName:N9e,status:1,activeColor:"#008000",activeColorAlpha:1,deactiveColor:"#008000",deactiveColorAlpha:.5},{layerId:"8",layerType:"BOT_PASTE_MASK",layerName:k9e,status:1,activeColor:"#000080",activeColorAlpha:1,deactiveColor:"#000080",deactiveColorAlpha:.5},{layerId:"9",layerType:"TOP_ASSEMBLY",layerName:P9e,status:1,activeColor:"#b6b66a",activeColorAlpha:1,deactiveColor:"#b6b66a",deactiveColorAlpha:.5},{layerId:"10",layerType:"BOT_ASSEMBLY",layerName:O9e,status:1,activeColor:"#80c080",activeColorAlpha:1,deactiveColor:"#80c080",deactiveColorAlpha:.5},{layerId:"11",layerType:"OUTLINE",layerName:R9e,status:1,activeColor:"#c0c0c0",activeColorAlpha:1,deactiveColor:"#c0c0c0",deactiveColorAlpha:.5},{layerId:"12",layerType:"MULTI",layerName:_9e,status:1,activeColor:"#0082bf",activeColorAlpha:1,deactiveColor:"#0082bf",deactiveColorAlpha:.5},{layerId:"13",layerType:"DOCUMENT",layerName:j9e,status:1,activeColor:_e.HEX_WHITE_COLOR,activeColorAlpha:1,deactiveColor:_e.HEX_WHITE_COLOR,deactiveColorAlpha:.5},{layerId:"14",layerType:"MECHANICAL",layerName:B9e,status:1,activeColor:"#F022F0",activeColorAlpha:1,deactiveColor:"#F022F0",deactiveColorAlpha:.5},{layerId:"47",layerType:"HOLE",layerName:z9e,status:1,activeColor:"#008080",activeColorAlpha:1,deactiveColor:"#008080",deactiveColorAlpha:.5},{layerId:"56",layerType:"DRILL_DRAWING",layerName:F9e,status:1,activeColor:"#008080",activeColorAlpha:1,deactiveColor:"#008080",deactiveColorAlpha:.5},{layerId:"57",layerType:"OTHER",layerName:U9e,status:1,activeColor:"#6464ff",activeColorAlpha:1,deactiveColor:"#6464ff",deactiveColorAlpha:.5}]},{name:"KiCad",list:[{layerId:"1",layerType:"TOP",layerName:I9e,status:1,activeColor:_e.HEX_RED_COLOR,activeColorAlpha:1,deactiveColor:_e.HEX_RED_COLOR,deactiveColorAlpha:.5},{layerId:"15",layerType:"SIGNAL",layerName:"Inner1",status:0,activeColor:"#c2c200",activeColorAlpha:1,deactiveColor:"#c2c200",deactiveColorAlpha:.5},{layerId:"16",layerType:"SIGNAL",layerName:"Inner2",status:0,activeColor:"#c200c2",activeColorAlpha:1,deactiveColor:"#c200c2",deactiveColorAlpha:.5},{layerId:"17",layerType:"SIGNAL",layerName:"Inner3",status:0,activeColor:"#c20000",activeColorAlpha:1,deactiveColor:"#c20000",deactiveColorAlpha:.5},{layerId:"18",layerType:"SIGNAL",layerName:"Inner4",status:0,activeColor:"#008484",activeColorAlpha:1,deactiveColor:"#008484",deactiveColorAlpha:.5},{layerId:"19",layerType:"SIGNAL",layerName:"Inner5",status:0,activeColor:"#008400",activeColorAlpha:1,deactiveColor:"#008400",deactiveColorAlpha:.5},{layerId:"20",layerType:"SIGNAL",layerName:"Inner6",status:0,activeColor:"#000084",activeColorAlpha:1,deactiveColor:"#000084",deactiveColorAlpha:.5},{layerId:"21",layerType:"SIGNAL",layerName:"Inner7",status:0,activeColor:"#9966FF",activeColorAlpha:1,deactiveColor:"#9966FF",deactiveColorAlpha:.5},{layerId:"22",layerType:"SIGNAL",layerName:"Inner8",status:0,activeColor:"#800080",activeColorAlpha:1,deactiveColor:"#800080",deactiveColorAlpha:.5},{layerId:"2",layerType:"BOTTOM",layerName:L9e,status:1,activeColor:"#008400",activeColorAlpha:1,deactiveColor:"#008400",deactiveColorAlpha:.5},{layerId:"3",layerType:"TOP_SILK",layerName:v9e,status:1,activeColor:"#008484",activeColorAlpha:1,deactiveColor:"#008484",deactiveColorAlpha:.5},{layerId:"4",layerType:"BOT_SILK",layerName:D9e,status:1,activeColor:"#840084",activeColorAlpha:1,deactiveColor:"#840084",deactiveColorAlpha:.5},{layerId:"5",layerType:"TOP_SOLDER_MASK",layerName:E9e,status:1,activeColor:"#840084",activeColorAlpha:.7,deactiveColor:"#840084",deactiveColorAlpha:.5},{layerId:"6",layerType:"BOT_SOLDER_MASK",layerName:A9e,status:1,activeColor:"#848400",activeColorAlpha:.7,deactiveColor:"#848400",deactiveColorAlpha:.5},{layerId:"7",layerType:"TOP_PASTE_MASK",layerName:N9e,status:1,activeColor:"#840000",activeColorAlpha:1,deactiveColor:"#840000",deactiveColorAlpha:.5},{layerId:"8",layerType:"BOT_PASTE_MASK",layerName:k9e,status:1,activeColor:"#00c2c2",activeColorAlpha:1,deactiveColor:"#00c2c2",deactiveColorAlpha:.5},{layerId:"9",layerType:"TOP_ASSEMBLY",layerName:P9e,status:1,activeColor:"#33CC99",activeColorAlpha:1,deactiveColor:"#33CC99",deactiveColorAlpha:.5},{layerId:"10",layerType:"BOT_ASSEMBLY",layerName:O9e,status:1,activeColor:"#5555FF",activeColorAlpha:1,deactiveColor:"#5555FF",deactiveColorAlpha:.5},{layerId:"11",layerType:"OUTLINE",layerName:R9e,status:1,activeColor:"#c2c200",activeColorAlpha:1,deactiveColor:"#c2c200",deactiveColorAlpha:.5},{layerId:"12",layerType:"MULTI",layerName:_9e,status:1,activeColor:"#c2c200",activeColorAlpha:1,deactiveColor:"#c2c200",deactiveColorAlpha:.5},{layerId:"13",layerType:"DOCUMENT",layerName:j9e,status:1,activeColor:"#000084",activeColorAlpha:1,deactiveColor:"#000084",deactiveColorAlpha:.5},{layerId:"14",layerType:"MECHANICAL",layerName:B9e,status:1,activeColor:"#F022F0",activeColorAlpha:1,deactiveColor:"#F022F0",deactiveColorAlpha:.5},{layerId:"47",layerType:"HOLE",layerName:z9e,status:1,activeColor:"#c2c2c2",activeColorAlpha:1,deactiveColor:"#c2c2c2",deactiveColorAlpha:.5},{layerId:"56",layerType:"DRILL_DRAWING",layerName:F9e,status:1,activeColor:"#008080",activeColorAlpha:1,deactiveColor:"#008080",deactiveColorAlpha:.5},{layerId:"57",layerType:"OTHER",layerName:U9e,status:1,activeColor:"#6464ff",activeColorAlpha:1,deactiveColor:"#6464ff",deactiveColorAlpha:.5}]}];var H9e={solid:"Solid",dotted:"Dotted",none:"None"},hoe={cursor:{color:{value:"#00FFFF"},borderStyle:{value:"dotted"}},background:{color:{value:_e.HEX_BLACK_COLOR}},boardShape:{color:{value:"#6D6A69"},borderColor:{value:"#000000"},borderStyle:{value:"solid"}},grid:{color:{value:_e.HEX_WHITE_COLOR},transparency:{value:"0.7"}},boldGrid:{color:{value:_e.HEX_WHITE_COLOR},transparency:{value:"0.5"}},coordinateAxis:{color:{value:_e.HEX_WHITE_COLOR},transparency:{value:"0.2"}},"Select Box":{color:{value:"#00FFFF"},borderStyle:{value:"dotted"}},select:{color:{value:"",tag:"default",tagValue:_e.HEX_BLACK_COLOR},transparency:{value:"0.5"}},hoverHighlight:{color:{value:"",tag:"default",tagValue:_e.HEX_BLACK_COLOR},transparency:{value:"0.5"}},metallicDrilling:{color:{value:"47",tag:"followLayerId",tagValue:"47"},transparency:{value:"0"}},unMetallicDrilling:{color:{value:"47",tag:"followLayerId",tagValue:"47"},transparency:{value:"0"}},pad:{transparency:{value:"0"}},via:{transparency:{value:"0"}},track:{transparency:{value:"0"}},copperRegion:{transparency:{value:"0.3"},borderColor:{value:"",tag:"default",tagValue:_e.HEX_BLACK_COLOR},borderStyle:{value:"none"}},solidRegion:{transparency:{value:"0.3"},borderColor:{value:"",tag:"default",tagValue:_e.HEX_BLACK_COLOR},borderStyle:{value:"solid"}},prohibitedRegion:{color:{value:"#9966FF",tagValue:_e.HEX_BLACK_COLOR},transparency:{value:"0"},borderColor:{value:"",tag:"default",tagValue:_e.HEX_BLACK_COLOR},borderStyle:{value:"solid"}},constraintRegion:{color:{value:"",tag:"followLayerId",tagValue:""},transparency:{value:"0.5"},borderColor:{value:"",tag:"default",tagValue:_e.HEX_BLACK_COLOR},borderStyle:{value:"solid"}},colorfulImage:{transparency:{value:"0.5"}},annotation:{borderColor:{value:"#00CCFF"},borderStyle:{value:"solid"},hidden:!_t},partition:{color:{value:"#C0C0C0"},transparency:{value:"1"},borderColor:{value:"#C0C0C0"},borderStyle:{value:"solid"}}},Esr={activeTab:"canvas-primitive",canvasPrimitiveSetting:hoe,canvasColorThemeSelected:vo?"EasyEDA":"JLCEDA",defaultCanvasColorThemeName:vo?"EasyEDA":"JLCEDA",canvasColorTheme:c_},Wue=Esr;var oDo=L(Se());var OU=L(Se());var v8=L(Wbt());var PU=L(Wbt());var bl={containerId:"",tabId:"",height:0,width:0,insertPosition:"back"},kci=(t,e,i)=>{var o,r;bl.containerId=t,bl.tabId=i,bl.height=((o=e.current[i])==null?void 0:o.getBoundingClientRect().height)||0,bl.width=((r=e.current[i])==null?void 0:r.getBoundingClientRect().width)||0,bl.insertPosition="back"},Pci=(t,e,i,o,r)=>{var l;if(bl.containerId===i&&bl.tabId===o)return;let n=t.pageY,a=t.pageX,s=(l=e.current[o])==null?void 0:l.getBoundingClientRect();r==="vertical"?n<s.top+s.height/2?(bl.insertPosition="front",e.current[o].classList.remove(PU.default.locals["drag-border-bottom"]),e.current[o].classList.add(PU.default.locals["drag-border-top"])):(bl.insertPosition="back",e.current[o].classList.add(PU.default.locals["drag-border-bottom"]),e.current[o].classList.remove(PU.default.locals["drag-border-top"])):a<s.left+s.width/2?(bl.insertPosition="front",e.current[o].classList.remove(PU.default.locals["drag-border-right"]),e.current[o].classList.add(PU.default.locals["drag-border-left"])):(bl.insertPosition="back",e.current[o].classList.remove(PU.default.locals["drag-border-left"]),e.current[o].classList.add(PU.default.locals["drag-border-right"]))},Qbt=(t,e,i)=>{e&&bl.containerId===t&&bl.tabId===e||(e||(bl.insertPosition="back"),i&&i({containerId:bl.containerId,tabId:bl.tabId},{containerId:t,tabId:e},bl.insertPosition),bl.containerId="",bl.tabId="")};var CS=L(z()),{locals:Zw}=v8.default;var yl=t=>{Ae(v8.default);let{lists:e}=t,{direction:i,align:o,tabsStyle:r,activeTabStyle:n,activeIconStyle:a,commonIconStyle:s,type:l,onDeleted:c,beforeSwitch:d,tabBoxStyle:u,isShowMarkLine:p=!1,containerDomId:m,canDrop:h,dragStart:f,dragEnd:g,tabContextMenu:b,blankContextMenu:y,tabDoubleClick:w,blankClick:x}=t,[S,T]=pT({value:t.activeKey,defaultValue:t.defaultActiveKey,onChange:t.onClick});(0,OU.useEffect)(()=>{t.defaultActiveKey&&T(t.defaultActiveKey)},[t.defaultActiveKey]);let M=["top","bottom"].includes(i)?"horizontal":"vertical",I=J(),A=be.bind(v8.default.locals),D=(0,OU.useRef)(null),E=(0,OU.useRef)({}),N=(0,OU.useContext)(_r),R=be(Zw.tabsWrap,{[Zw.tabCard]:l==="card",[Zw.tabBtn]:l==="btn",[Zw.tabPage]:l==="page",[Zw.tabNormal]:l==="normal",[Zw.tabPanel]:l==="panel",[Zw[i]]:!!i,[Zw[o]]:!!o}),v=async k=>{(d instanceof Function?await d(k):void 0)!==!1&&T(k)};return(0,CS.jsx)(CS.Fragment,{children:(0,CS.jsx)("div",{...m&&{id:m},className:be(R),ref:k=>k&&(D.current=k),style:{...u},...y&&{onContextMenu:k=>{k.stopPropagation(),k.preventDefault(),y(k)}},...x&&{onClick:k=>{k.stopPropagation(),k.preventDefault(),x(k)}},...t.onDrop&&{onDragEnter:k=>{k.stopPropagation(),k.preventDefault()},onDragOver:k=>{k.stopPropagation(),k.preventDefault()},onDrop:k=>{!bl.containerId||!bl.tabId||(k.stopPropagation(),Qbt(t.containerId,"",t.onDrop))}},children:e.map((k,P)=>{let{title:O,notUseI18n:_,key:j,icon:B,tabStyle:V,titleStyle:G,disabled:Q,isUnSaved:H,hoverTitle:q}=k,{isAbleDelete:U,dataTest:F,draggable:K,isHighLight:te}=k,ae=be(Zw.tabItem,[Zw[i]],{[Zw.active]:S===j,[Zw.disabled]:!!Q,[Zw["high-light"]]:!!te,[Zw["show-line"]]:p&&S===j});return(0,CS.jsxs)("div",{"data-sensors":t.dataSensors?"true":"false",ref:pe=>{pe&&(E.current[j]=pe)},title:_?O:I(O),"data-test":F||j,"data-tab-key":j,"data-activekey":S,className:ae,style:{...r,...V,fontFamily:"Microsoft YaHei",...S===j?n:{}},onClick:pe=>{pe.stopPropagation(),pe.preventDefault(),v(j)},...w&&{onDoubleClick:pe=>{pe.stopPropagation(),pe.preventDefault(),w&&w(j)}},...(b||y)&&{onContextMenu:pe=>{pe.stopPropagation(),pe.preventDefault(),b&&b(pe,j)}},...K&&{draggable:!!K,onMouseDown:()=>{N.getSelection().removeAllRanges()},onDragStart:pe=>{pe.stopPropagation(),f&&f(),kci(t.containerId,E,j)},onDragEnd:pe=>{pe.stopPropagation(),g&&g(),bl.containerId="",bl.tabId=""}},...t.onDrop&&{onDragEnter:pe=>{pe.stopPropagation(),pe.preventDefault()},onDragLeave:pe=>{if(!(!bl.containerId||!bl.tabId)){if(h&&!h({containerId:bl.containerId,tabId:bl.tabId},{containerId:t.containerId,tabId:j}))return!1;pe.stopPropagation(),pe.preventDefault(),E.current[j].classList.remove(v8.default.locals["drag-border-right"]),E.current[j].classList.remove(v8.default.locals["drag-border-left"]),E.current[j].classList.remove(v8.default.locals["drag-border-top"]),E.current[j].classList.remove(v8.default.locals["drag-border-bottom"])}},onDragOver:pe=>{if(!(!bl.containerId||!bl.tabId)){if(h&&!h({containerId:bl.containerId,tabId:bl.tabId},{containerId:t.containerId,tabId:j}))return!1;pe.stopPropagation(),pe.preventDefault(),Pci(pe,E,t.containerId,j,M)}},onDrop:pe=>{if(!(!bl.containerId||!bl.tabId)){if(h&&!h({containerId:bl.containerId,tabId:bl.tabId},{containerId:t.containerId,tabId:j}))return!1;pe.stopPropagation(),E.current[j].classList.remove(v8.default.locals["drag-border-right"]),E.current[j].classList.remove(v8.default.locals["drag-border-left"]),E.current[j].classList.remove(v8.default.locals["drag-border-top"]),E.current[j].classList.remove(v8.default.locals["drag-border-bottom"]),Qbt(t.containerId,j,t.onDrop)}}},children:[((B==null?void 0:B.iconPath)||(B==null?void 0:B.iconStyle)||(B==null?void 0:B.iconClassName))&&(0,CS.jsx)("span",{...k.hoverTitle&&{title:I(k.hoverTitle||"")},className:be(B.iconClassName,Zw.icon),style:{...B.iconPath?{backgroundImage:"url("+B.iconPath+")"}:{},...B.iconStyle?B.iconStyle:{},...S===j?a:s}}),!!H&&(0,CS.jsx)("span",{className:Zw.notSave,children:"*"}),(0,CS.jsx)("span",{className:A("title",{delete:U}),style:G,children:M==="horizontal"?_?O:I(O):(0,CS.jsx)(Asr,{text:_?O:I(O)})}),U&&(0,CS.jsx)("span",{className:be(Zw["icon-del"]),onClick:pe=>{pe.stopPropagation(),pe.preventDefault(),c&&c(j)}})]},j)})})})},Asr=t=>{Ce(is);let{text:e}=t,i=(0,OU.useMemo)(()=>is.lang==="zh-hans",[is.lang]);return(0,CS.jsx)(CS.Fragment,{children:e.split("").map((o,r)=>(0,CS.jsx)("span",{style:{lineHeight:"1",writingMode:i?void 0:"vertical-lr",width:"1em",marginBottom:i?"0.5px":"0px"},dangerouslySetInnerHTML:{__html:o===" "?"&nbsp;":o}},o+r))})};var cye=L(Se());var _U=L(Se());var R9=L(Se());var Zbt=L(Rci());function _ci(){let t=HTMLElement.prototype.scrollIntoView;HTMLElement.prototype.scrollIntoView=function(...e){let i=o(this.parentElement);t.apply(this,...e),r(i),console.warn("You are using a modified API: scrollIntoView.");function o(n){let a=[],s=[];for(;n!=null;)n.clientWidth!=n.scrollWidth&&a.push(n),n.clientHeight!=n.scrollHeight&&s.push(n),n=n.parentElement;let l=new Map([["scrollLeft",[]],["scrollTop",[]]]);for(let c of a)getComputedStyle(c).overflowX==="hidden"&&l.get("scrollLeft").push([c,c.scrollLeft]);for(let c of s)getComputedStyle(c).overflowY==="hidden"&&l.get("scrollTop").push([c,c.scrollTop]);return l}function r(n){for(let a of n.get("scrollLeft"))a[0].scrollLeft=a[1];for(let a of n.get("scrollTop"))a[0].scrollTop=a[1]}}}function jci(t,e){if(!t||!e||!e.contains(t))return;let i=e.getBoundingClientRect().toJSON(),o=t.getBoundingClientRect().toJSON();if(o.top<i.top){t.scrollIntoView(!0);return}if(o.bottom>i.bottom){t.scrollIntoView();return}}var Bci=L(z()),Kbt=class{constructor(){this.index=null,this.selectIndex=null,this.size=null}get target(){return this._target}set target(e){this._target=e}updateTarget(e=[]){if(e.length==1){let i=e[0].value;i===this.target||(this.target=i,this.index=null,this.selectIndex=null);return}this.target=null,this.index=null,this.selectIndex=null}},O2=new Kbt,{locals:Nsr}=Zbt.default;var jCe={x:0,y:0},ksr=(t,e)=>{let{title:i,value:o,readOnly:r,defaultValue:n,disabled:a,type:s="text",placeholder:l,maxLength:c=-1,selected:d,selectionStart:u,selectionEnd:p,focusTriggerSelect:m,clickTriggerSelect:h,autoFocus:f,enterTriggerBlur:g,style:b,className:y,name:w,dataTest:x,htmlAttrs:S={},onFocus:T,onBlur:M,onClick:I,onChange:A,onInput:D,onkeyup:E,onkeydown:N,onContextMenu:R,onWheel:v}=t,k=m?m===!0?"SELECT_ALL_AND_SCROLL":m:"NOT_SELECT_ALL";Ae(Zbt.default);let P=(0,R9.useRef)(void 0),[O,_]=pT(t);(0,R9.useLayoutEffect)(()=>{P.current&&(P.current.isActive=!1,d&&P.current.select(),u!==void 0&&p!==void 0&&setTimeout(()=>{P.current&&(P.current.setSelectionRange(u,p),P.current.focus(),P.current.isActive=!0)}))},[]),(0,R9.useImperativeHandle)(e,()=>P.current),(0,R9.useEffect)(()=>{let G=Q=>{jCe={x:Q.clientX,y:Q.clientY}};return document.addEventListener("mousemove",G),()=>{document.removeEventListener("mousemove",G)}},[]),(0,R9.useLayoutEffect)(()=>{if(O2.index||O2.selectIndex){let G=Array.from(document.querySelectorAll('input[data-tabfocus="tabfocus"][type="text"]'));if(G.length!==O2.size){O2.index=null;return}let Q=G[O2.index]||G[O2.selectIndex],H=G.indexOf(P.current);Q&&H===O2.index&&Q.focus(),Q&&H===O2.selectIndex&&(Q.select(),P.current.isActive=!0)}},[]);let j=G=>{P.current.isActive=!1,M==null||M(G,_),B()},B=()=>{let G=Array.from(document.querySelectorAll('input[data-tabfocus="tabfocus"][type="text"]'));for(let Q=0;Q<G.length;Q++){let H=G[Q].getBoundingClientRect();if(jCe.x>=H.left&&jCe.x<=H.right&&jCe.y>=H.top&&jCe.y<=H.bottom){O2.selectIndex=Q,O2.size=G.length;break}}if(O2.index||O2.selectIndex){let Q=G.indexOf(P.current);O2.index===Q&&(O2.index=null),O2.selectIndex===Q&&(O2.selectIndex=null)}},V=G=>{let Q=G.target.value;s==="onlyNumber"&&(Q=Q.replaceAll(/[^0-9]/g,""),G.target.value=Q),(s==="number"||s==="onlyNumber")&&c>-1&&Q.length>c&&(Q=Q.slice(0,c),G.target.value=Q),D&&(D==null||D(Q,G))};return(0,Bci.jsx)("input",{"data-tabfocus":"tabfocus",title:i||O,"data-test":x,disabled:a,ref:P,value:O,readOnly:r,placeholder:l,name:w,type:s==="onlyNumber"?"number":s,maxLength:c,autoFocus:f,autoComplete:"off",className:be(Nsr.input,y),style:{...b},...S,onFocus:G=>{k!=="NOT_SELECT_ALL"&&setTimeout(()=>{k==="SELECT_ALL_AND_SCROLL"&&jci(G.target,zci(G.target)),G.target.select()}),T==null||T(G)},onChange:G=>{_(G.target.value,G)},onInput:V,onBlur:j,onKeyDown:G=>{var Q;if(g){if(G.code==="Enter"&&G.nativeEvent.isComposing){G.stopPropagation();return}G.key==="Enter"&&((Q=P.current)==null||Q.blur())}if(N&&N(G),G.key==="Tab"){let H=Array.from(document.querySelectorAll('input[data-tabfocus="tabfocus"][type="text"]')),q=H.indexOf(P.current);q>=0&&(G.shiftKey?O2.index=(q-1+H.length)%H.length:O2.index=(q+1)%H.length,O2.size=H.length)}},onClick:G=>{I==null||I(G),h&&!P.current.isActive&&(G.target.select(),P.current.isActive=!0)},onKeyUp:G=>{E==null||E(G)},onContextMenu:G=>{R==null||R(G)},onWheel:G=>{v==null||v(G)}})},Psr=(0,R9.forwardRef)(ksr),Kt=Psr;var xS=L(Se());var Jbt=L(Se());function Gr(t,e=1e3){let i=(0,Jbt.useRef)(t);return i.current=t,(0,Jbt.useRef)(ue.debounce(r=>{var n;return(n=i.current)==null?void 0:n.call(i,r)},e)).current}var Xbt=L(Uci());var d_=L(z()),{locals:Osr}=Xbt.default,{list:Rsr,selected:qbt,li:XSn}=Osr;function _sr(t){let e=[];for(let i=0;i<t;i++)e.push(i);return e}function jsr(t,e){t=Object.assign({data:_sr(1e4)},t);let{uniqueKey:i="uuid",data:o=[],height:r,width:n="auto",onClick:a=()=>{},defaultSelected:s,selectHightLight:l=!0,movable:c,ChildrenComponent:d=(O,_)=>(0,d_.jsx)("span",{title:O.toString(),style:{textOverflow:"ellipsis",overflow:"hidden"},children:ue.htmlEncode(O.toString())},_),ListItemStyle:u={},containerStyle:p,ulStyle:m,virtualScroll:h=!1}=t,{height:f=24}=u,g=(0,xS.useRef)(null),b=(0,xS.useRef)(null),y=(0,xS.useRef)(!1),[w,x]=(0,xS.useState)(0),[S,T]=(0,xS.useState)(Math.ceil(r/f)),[M,I]=(0,xS.useState)(s),A=f*o.length,D=h?o.slice(w,w+S+1):o;(0,xS.useEffect)(()=>{I(s)},[s]),(0,xS.useEffect)(()=>{h&&T(Math.ceil(r/f))},[o]),Ae(Xbt.default),(0,xS.useImperativeHandle)(e,()=>({scrollIntoView:v,scrollIntoViewWhenOutOfContainer:R,isInView:k,dom:g.current}),[]);let E=()=>{let O=Math.floor(g.current.scrollTop/f);x(O),b.current.style.transform=`translateY(${O*f}px)`},N=()=>{let O=[];for(let _=0;_<D.length;_++)O.push((0,d_.jsx)("li",{onClick:j=>{a(j,w+_),I([w+_])},style:u,className:l&&(M!=null&&M.includes(w+_))?qbt:"",onContextMenu:j=>{var B;return(B=t==null?void 0:t.onContentMenu)==null?void 0:B.call(t,D[_],j)},children:d(D[_],w+_)},_));return O},R=O=>{let _=b.current.querySelector(`[class="${qbt}"]`);if(_){let B=O.getBoundingClientRect(),V=_.getBoundingClientRect();j(B,V)||O.scrollBy({top:V.top-B.top-B.height/2})}function j(B,V){return B.top<=V.top&&B.left<=V.left&&B.bottom>=V.bottom&&B.right>=V.right}},v=()=>{setTimeout(()=>{let O=b.current.querySelector(`[class="${qbt}"]`);O&&O.scrollIntoView()},200)};function k(){return!(M[0]<w||M[0]>w+S)}let P=Gr(O=>{if(!y.current||!c)return;let _=M.reverse()[0];switch(O.code){case"ArrowDown":_+1!==o.length&&(a({},_+1),I([_+1]),_+1>=S&&v());break;case"ArrowUp":if(_!==0){let j=o.find((V,G)=>G===_-1);D.find(V=>V[i]===j[i])||(h&&x(_-1),g.current.scrollTop=(_-1)*f,b.current.style.transform=`translateY(${(_-1)*f}px)`),a({},_-1),I([_-1]),v()}break}},201);return Gs("keyup",P),(0,d_.jsx)(d_.Fragment,{children:(0,d_.jsxs)("div",{id:t.id||null,tabIndex:t.tabIndex||null,ref:g,"data-test":"list",className:Rsr,style:{...p,height:r,width:n},onScroll:()=>{if(h)return E()},onMouseOver:()=>y.current=!0,onMouseOut:()=>y.current=!1,children:[h?(0,d_.jsx)("div",{style:{height:A,position:"absolute",left:"0px",right:"0px",top:"0px",zIndex:-1}}):"",(0,d_.jsx)("ul",{style:m,ref:b,children:N()})]})})}var RU=(0,xS.forwardRef)(jsr);var Gci=L(Se());var $bt=L(Hci()),ZK=L(z()),{locals:Yci}=$bt.default,{list_operator_buttons:Bsr,icon_operate:zsr,disabled:Fsr}=Yci,Usr=[{key:"add",title:"Add"},{key:"copy",title:"Copy"},{key:"up",title:"Move Up"},{key:"down",title:"Move Down"},{key:"delete",title:"Delete"},{key:"clear",title:"Clear"}],ec=t=>{t=Object.assign({addButton:!0,addDisabled:!1,upButton:!0,upDisabled:!0,downButton:!0,downDisabled:!1,deleteButton:!0,deleteDisabled:!0,clearButton:!1,clearDisabled:!0,copyButton:!1,copyDisabled:!0,onClick:()=>{}},t);let[e,i]=(0,Gci.useState)(t),o=J(),r=n=>{let a=Usr,s="Button",l="Disabled",c=[];for(let d=0;d<a.length;d++)if(n[a[d].key+s]){let u=be(zsr,Yci["icon_operate_"+a[d].key],n[a[d].key+l]?Fsr:"");c.push((0,ZK.jsx)("span",{className:u,"data-test":a[d].title,title:o(a[d].title),onClick:p=>{p.stopPropagation(),p.preventDefault(),!n[a[d].key+l]&&n.onClick(a[d].key)}},d))}return c};return(0,ZK.jsxs)(ZK.Fragment,{children:[(0,ZK.jsx)("style",{children:$bt.default.toString()}),(0,ZK.jsx)("div",{"data-test":"list-operate-buttons",style:{margin:"8px 0",height:"16px",...t.style},className:be(Bsr,t.className),children:r(t)})]})};function Q9e(t,e){let i={addDisabled:!1,upDisabled:!1,downDisabled:!1,deleteDisabled:!1};return t.length<=0||e<0||e>t.length-1?(i.upDisabled=!0,i.downDisabled=!0,i.deleteDisabled=!0):(i.deleteDisabled=!1,e===0&&(i.upDisabled=!0),e===t.length-1&&(i.downDisabled=!0)),i}var Kci=L(eyt());function _9(t){return/^-?[0-9]*.?[0-9]*$/.test(t)&&!isNaN(+t)}function De(t){return new Fi(t)}var D8=L(z()),{locals:Vsr}=Kci.default,{all:Qci}=Vsr;var Hsr=we.SYSTEM.BASE_LIBRARY.ALL,Gsr=we.SYSTEM.BASE_LIBRARY.UNCATEGORIZED,BCe=!1,Zci=({libData:t,type:e,setLibData:i,listSelectedIndex:o,setListSelectedIndex:r,setTableSelectedRowNumber:n})=>{let a=J(),[s,l]=(0,_U.useState)(-1),[c,d]=(0,_U.useState)({color:"var(--font-color-selected-down-menuItem)",backgroundColor:"var(--bg-color-selected-drop-down-menuItem)"}),[u,p]=(0,_U.useState)({color:"",backgroundColor:""}),[m,h]=(0,_U.useState)(!1),f=(0,_U.useRef)(null),g=[...t.filter(S=>S.name.trim()!==""||m&&S.adding).map(S=>S.name)];(0,_U.useEffect)(()=>{f!=null&&f.current&&f.current.scrollIntoView()});let b=S=>{switch(S){case"add":{s<0&&(h(!0),t.push({name:a("category")+Ysr(g,a("category")),data:[],adding:!0}),i([...t]),l(g.length));break}case"delete":{let M=o<0?s:o;s>=0&&(r(s-1),l(-1));let I=t.splice(M+1,1),A=t.filter(E=>E.name==="")[0],D=I[0].data;for(let E=0;E<D.length;E++)D[E].category="";A.data.push(...D),o+1>t.length-1&&(r(t.length-2),t.length-2<0&&(d({color:"",backgroundColor:""}),p({color:"var(--font-color-selected-down-menuItem)",backgroundColor:"var(--bg-color-selected-drop-down-menuItem)"}))),i([...t]);break}case"up":T(-1);break;case"down":T(1);break;default:}function T(M){let I=t[o+1];t[o+1]=t[o+1+M],t[o+1+M]=I,i([...t]),r(o+M)}};function y(S,T){switch(d({color:"",backgroundColor:""}),p({color:"",backgroundColor:""}),S.detail){case 1:{M.apply(this);break}case 2:{I.apply(this);break}default:break}function M(){r(T),n(0)}function I(){let D=S.target.textContent.trim(),E=g.indexOf(D);E>=0&&l(E)}}function w(S,T){let M=S.target,I=M.value.trim();if(!I){De({type:"error",msg:"Classification cannot be null"}),S.preventDefault(),M.focus(),m&&(t.pop(),i([...t]),l(-1));return}m&&h(!1);let A=[...g];if(A.splice(T,1),A.includes(I)||["All","Uncategorized","\u5168\u90E8","\u672A\u5206\u7C7B"].includes(I)){t[T+1].adding&&(t.splice(T+1,1),i([...t])),l(-1),De({type:"error",msg:"Classification cannot be renamed"}),M.focus();return}if(m)t[t.length-1].name=I,delete t[t.length-1].adding,i([...t]),r(t.length-2),d({color:"",backgroundColor:""}),h(!1);else{let D=g[s];t.map(E=>{E.name===D&&(E.name=I,E.data.map(N=>{N.category=I}))}),i([...t])}l(-1)}let x=(S,T)=>s==T?(0,D8.jsx)(Kt,{ref:f,style:{height:"22px",width:"auto",borderRadius:"2px",boxShadow:"none",padding:"0 8px",margin:"0 4px",fontSize:"12px",textOverflow:"ellipsis",overflow:"hidden"},defaultValue:S,enterTriggerBlur:!0,onBlur:M=>{w(M,T)},onClick:M=>{M.stopPropagation()},selected:!0}):(0,D8.jsx)("span",{title:S,style:{display:"block",margin:"4px",textOverflow:"ellipsis",overflow:"hidden"},children:S});return(0,D8.jsxs)(D8.Fragment,{children:[(0,D8.jsx)(ec,{style:{paddingLeft:"8px"},onClick:b,...Q9e(g,o>-1?o:s)}),(0,D8.jsx)("span",{className:Qci,style:c,onClick:()=>{BCe=!BCe,r(-2),n(0),d({color:"var(--font-color-selected-down-menuItem)",backgroundColor:"var(--bg-color-selected-drop-down-menuItem)"}),p({color:"",backgroundColor:""})},children:a(Hsr)}),(0,D8.jsx)("span",{className:Qci,style:u,onClick:()=>{BCe=!BCe,r(-1),n(0),p({color:"var(--font-color-selected-down-menuItem)",backgroundColor:"var(--bg-color-selected-drop-down-menuItem)"}),d({color:"",backgroundColor:""})},children:a(Gsr)}),(0,D8.jsx)("div",{style:{height:"415px",overflow:"auto"},children:(0,D8.jsx)(RU,{data:g,defaultSelected:[o],onClick:y,ListItemStyle:{cursor:"pointer",padding:"0px"},ChildrenComponent:x},BCe?0:1)})]})};function Ysr(t,e){let i=0;return t.forEach(o=>{let r=o.replace(e,"");_9(r)&&(i=+r)}),i+1}var Pk=L(Se());var eDe=L(Se());var wHt=L(E8());var $W=L(Se());var kvo=L(E8());var HLo=L(Se());var jU=L(z());function Que(t){let{type:e,importAndPlace:i,place:o,title:r}=t,n=Rr,a="";e==="symbol"?a=n({value:"The placed schematic {xxx} has the same name as the block symbol of the current project. Please select the operation you want.",options:{xxx:r}}):e==="pcb"?a=n({value:"The placed pcb {xxx} has the same name as the pcb of the current project. Please select the operation you want.",options:{xxx:r}}):e==="schematic"?a=n({value:"The placed schematic {xxx} has the same name as the schematic of the current project. Please select the operation you want.",options:{xxx:r}}):a=n({value:"The placed sheet {xxx} has the same name as the sheet of the current project. Please select the operation you want.",options:{xxx:r}});let s=a+`<br />${n("The current project shall prevail, and no new content will be introduced, and the block symbol xxxx of the current project will be used for placement.")}
		<br />${n("When reintroducing, the number suffix will be added to the block symbol, schematic and PCB with the same name as the current project.")}`,c=Dt({height:"auto",closed:!0,isHtml:!0,title:"Notice",content:s,footer:(0,jU.jsx)(()=>{let d=J();return(0,jU.jsxs)(jU.Fragment,{children:[(0,jU.jsx)(Me,{type:"primary",size:"md",onClick:()=>{le.destroy(c),o()},children:"Current Project Shall Prevail"}),(0,jU.jsx)(Me,{size:"md",onClick:()=>{le.destroy(c),i()},children:"Reintroduce"}),(0,jU.jsx)(Me,{size:"md",onClick:()=>{le.destroy(c)},children:"Cancel"})]})},{})})}var XW=L(Vi());var oLo=L(Vi());var n6=L(Vi());var tyt=class extends qe{constructor(){super(...arguments);this.toolConfigStatus=new Ps(0);this.onlySelectCmdStore=new Ps("");this.selectCmdSet={};this.selectStaticStore=new Ps(void 0);this.gridSizeStore=new Ps("0.1");this.panelGridSizeStore=new Ps("0.1");this.gridStyleStore=new Ps("icon-eda-grid-line");this.routingModeStore=new Ps("routeMode(WIRING_MODE_PUSHAWAY)");this.routingCornerStore=new Ps("routeLine(WIRING_CORNER_LINE45)");this.switchBrightnessStore=new Ps("brightness(0)");this.selectUnitStore=new Ps("unit(mil)");this.newFileStore=new Ps("Board");this.simStatusStore=new Ps("icon-eda-sim-start");this.currentNGAnalysisStore=new Ps("TR");this.currentSimTimeStore=new Ps(!1);this.currentSimRunStatues=new Ps(!1);this.ngSettingOfStartStatus=new Ps(!1);this.simStartStatus=new Ps(!1);this.currentSimulideTime=new Ps("0.0000 ");this.menuDefaultSet={}}setMenuDefaultSet(i,o,r){this.menuDefaultSet[i]||(this.menuDefaultSet[i]=new Ps("")),r?this.menuDefaultSet[i].setValue(o):this.menuDefaultSet[i].value=o}getMenuDefaultStore(i){return this.menuDefaultSet[i]||(this.menuDefaultSet[i]=new Ps("")),this.menuDefaultSet[i]}setNewFileId(i,o=!0){return o?this.newFileStore.setValue(i):this.newFileStore.value=i,!0}getOnlySelectCmd(){return this.onlySelectCmdStore.value}setOnlySelectCmd(i){this.onlySelectCmdStore.setValue(i)}setSelectCmd(i){for(let o in i){this.selectCmdSet[o]||(this.selectCmdSet[o]=new Ps(void 0));let r=i[o];this.selectCmdSet[o].setValue(!!r)}this.notify()}getSelectCmdStore(i){return i?(this.selectCmdSet[i]||(this.selectCmdSet[i]=new Ps(void 0)),this.selectCmdSet[i]):this.selectStaticStore}setGridSizeValue(i){this.gridSizeStore.setValue(i)}setPanelGridSizeValue(i){this.panelGridSizeStore.setValue(i)}setGridStyleValue(i){this.gridStyleStore.setValue(i)}setSimStatusStyleValue(i){this.simStatusStore.setValue(i)}setRoutingModeValue(i){this.routingModeStore.setValue(i)}setRoutingCornerValue(i){this.routingCornerStore.setValue(i)}setCurrentAnalysisStore(i){this.currentNGAnalysisStore.setValue(i)}setCurrentSimTimeStore(i){this.currentSimTimeStore.setValue(i)}setCurrentSimRunStatues(i){this.currentSimRunStatues.setValue(i)}setCurrentSimulideTime(i){this.currentSimulideTime.setValue(i)}setNgSettingOfStartStatus(i){this.ngSettingOfStartStatus.setValue(i)}setSimStartStatus(i){this.simStartStatus.setValue(i)}updateToolConfigStatus(){this.setOnlySelectCmd(""),this.toolConfigStatus.setValue(this.toolConfigStatus.value+1)}updateRoutingModeStatus(){this.routingModeStore.refresh(),this.routingCornerStore.refresh()}updateToolSelectStatus(i){switch(i){case"brightness(0)":case"brightness(1)":case"brightness(2)":this.switchBrightnessStore.setValue(i);break;case"unit(inch)":case"unit(mil)":case"unit(mm)":this.selectUnitStore.setValue(i);break;case"routeMode(WIRING_MODE_PUSHAWAY)":case"routeMode(WIRING_MODE_SURROUND_AND_PUSHAWAY)":case"routeMode(WIRING_MODE_SURROUND)":case"routeMode(WIRING_MODE_OBSTRUCT)":case"routeMode(WIRING_MODE_IGNORE)":this.routingModeStore.setValue(i);break;case"routeLine(WIRING_CORNER_LINE45)":case"routeLine(WIRING_CORNER_LINE90)":case"routeLine(WIRING_CORNER_ARC45)":case"routeLine(WIRING_CORNER_ARC90)":case"routeLine(WIRING_CORNER_ARC)":case"routeLine(WIRING_CORNER_FREEANGLE)":this.routingCornerStore.setValue(i);break;case"AC":case"DC":case"TR":this.currentNGAnalysisStore.setValue(i);break}}},Ai=new tyt;var Wsr={"+":"+","-":"-","*":"*","/":"/","(":"(",")":")"};function Qsr(t){let e=0,i,o=[],r=1;for(;t[e];){i=t[e];let n=Wsr[i];if(n)o.push({type:n}),r=1;else if(/[0-9]/.test(i)){if(r==1)o.push({type:"num",value:i}),r=2;else if(r==2||r==4){let a=o[o.length-1];a.value+=i}}else if(i==".")if(r==2){r=4;let a=o[o.length-1];a.value+="."}else if(r===1){o.push({type:"num",value:"0"}),r=4;let a=o[o.length-1];a.value+="."}else throw new Error("Syntax Error: Unexpected .");else if(i==" ")r=1;else throw new Error("Syntax Error: Unexpected character "+i);e++}return o.push({type:"end"}),o}function Kue(t){let e=Qsr(t),i=0,o=e[i];function r(){return o=e[i++],o}function n(){o=e[--i]}function a(){let d=0,u=!1;if(o=r(),o.type=="-"&&(u=!0,o=r()),o.type=="num")d=o.value;else if(o.type=="("){if(d=l(),o=r(),o.type!=")")throw new Error("Syntax Error: Less )")}else throw new Error("Expected number");return d=Number(d),u&&(d=-d),d}function s(){let d=a(),u;for(;;){let p=r();if(p.type!="*"&&p.type!="/"){n();break}u=a(),p.type=="*"?d=+d*+u:p.type=="/"&&(d=+d/+u)}return d}function l(){let d=s(),u;for(;;){let p=r();if(p.type!="+"&&p.type!="-"){n();break}u=s(),p.type=="+"?d=+d+u:p.type=="-"&&(d=+d-u)}return d}let c=l();if(o.type!=="end")throw new Error("Syntax Error: Unexpected character "+o.type);return c}function $s(t,e){try{if(!Number.isNaN(Number(t)))return Number(t);let i=Kue(t);return typeof i!="number"||i===1/0||i===-1/0?e||NaN:i}catch{return e||NaN}}var iyt={pixel:2,cm:2,mil:1,mm:3,inch:4};function qci(t){return/^(pixel|mil|mm|inch)$/i.test(t)}function fo(t,e){return e?li.toFixed(t,iyt[e]):t}function j9(t,e){return e?li.toFixed(t,iyt[e]+1):t}function yd(t,e){return fo(ul(t,e),e)}function _m(t,e,i=!0){let{value:o,unit:r}=t,n=io(o,r,e);return i&&(n=fo(n,e)),new ws(n,e)}function Xci(t,e,i){return!e||!i?t:li.toFixed(io(t,e,i),iyt[i])}function io(t,e,i){if(!e)return+t;if(typeof t=="string"&&(arguments.length==2?(i=e,e=t.replace(/^[-+.\d\s]+/,""),t=t.replace(/[^-+.\d\s]+$/,""),t=+t):t=parseFloat(t)),e==i||((typeof t!="number"||!isFinite(t))&&console.error(t,e,i),e==="cm"?(e="mm",t*=10):e=="px"&&(e="pixel"),i=="cm"?(i="mm",t*=.1):i=="px"&&(i="pixel"),e==i))return t;switch(e+" > "+i){case"mil > pixel":return t*.1;case"mil > mm":return t*.0254;case"mil > inch":return t*.001;case"mm > pixel":return t/.254;case"mm > mil":return t/.0254;case"mm > inch":return t/25.4;case"pixel > mil":return t*10;case"pixel > mm":return t*.254;case"pixel > inch":return t*.01;case"inch > pixel":return t*100;case"inch > mil":return t*1e3;case"inch > mm":return t*25.4;default:break}}function Vh(t,e,i){let o=i||e,r;return!isNaN(+t)&&i==null?r=io(t,"mil",e)*10:r=io(t,e,i),fo(r,o)+o}function ul(t,e){t=String(t).toLowerCase();let i=t.match(/(.*)(mm|mil|inch)$/);if(["mil","mm","inch"].includes(e)&&i&&i[2]&&["mil","mm","inch"].includes(i[2])){let o=$s(i[1]);return isNaN(o)?NaN:io(o,i[2],e)}return $s(t)}function $ci(t){return new Promise(e=>{t.then(i=>e([null,i]),i=>e([i]))})}function Wi(t,e,i){let o={readValueKey:!0,defaultValue:void 0};try{let r={...o,...i||o},a=C.profileSetting.commSystemSetting[t];if(typeof a>"u")return o.defaultValue;if(typeof e>"u")return a;let s=a[e];return typeof s>"u"?o.defaultValue:Object.prototype.toString.call(s).slice(8,-1).toLowerCase()==="object"&&r.readValueKey?typeof s.value>"u"?o.defaultValue:s.value:s}catch(r){return console.warn(`\u8BBF\u95EE\u7CFB\u7EDF\u8BBE\u7F6E\u6570\u636E\u51FA\u9519 @${t} -> ${e}: `,r),o.defaultValue}}function sc(t=void 0){var e,i;return((i=(e=C)==null?void 0:e.profileSetting)==null?void 0:i.commSystemSetting)||t}function BU(t){C.profileSetting.commSystemSetting=t}var po=(E=>(E.SYSTEM="SYSTEM",E.SYSTEM_GENERAL="SYSTEM_GENERAL",E.CATEGORY="CATEGORY",E.BASE_LIBRARY="BASE_LIBRARY",E.BASE_PANEL_LIB="BASE_PANEL_LIB",E.PCB_FOOTPRINT="PCB_FOOTPRINT",E.PCB_FOOTPRINT_GENERAL="PCB_FOOTPRINT_GENERAL",E.PCB_THEME="PCB_THEME",E.PCB_SHOW="PCB_SHOW",E.PCB_COMM_GRID_SIZE="PCB_COMM_GRID_SIZE",E.PCB_COMM_TRACK_WIDTH="PCB_COMM_TRACK_WIDTH",E.PCB_COMM_VIA_SIZE="PCB_COMM_VIA_SIZE",E.COMM_TYPEFACE="COMM_TYPEFACE",E.CANVAS="CANVAS",E.CANVAS_GENERAL="CANVAS_GENERAL",E.OBJECT="OBJECT",E.HOTKEY="HOTKEY",E.PROPERTY="PROPERTY",E.SAVE="SAVE",E.LANGUAGE="LANGUAGE",E.DESIGN="DESIGN",E.CUSTOM_TOOLBAR="CUSTOM_TOOLBAR",E.ADSORPTION="ADSORPTION",E.PANEL_CANVAS="PANEL_CANVAS",E.PANEL_CANVAS_GENERAL="PANEL_CANVAS_GENERAL",E.PANEL_THEME="PANEL_THEME",E.CLIENT="CLIENT",E))(po||{});function foe(t=dt()){var o;return(o=[{doc:"symbol",flag:kl(t)},{doc:"sch",flag:Fh(t)},{doc:"panel",flag:goe(t)}].find(({doc:r,flag:n})=>n))==null?void 0:o.doc}function J9e(t=dt(),e){let i=foe(t);i!==void 0&&oyt(Zue[i](),i,e)}var edi={panel:t=>t/.254,sch:(t,e)=>io(t,e,"pixel"),symbol:(t,e)=>io(t,e,"pixel")};function oyt(t,e=foe(),i){var c;let{gridSize:o,altSnapSize:r,unit:n}=t,s=edi[e||"sch"],l={};if(o){let d=s(o,n);l["attr-canvas-grid-size"]=d,l["attr-canvas-snap-size"]=d,e==="panel"?Ai.setPanelGridSizeValue(String(o)):Ai.setGridSizeValue(String(o))}r&&(l["attr-canvas-alt-snap-size"]=s(r,n)),C.messageBus.publish("modifyCanvas",{data:l,tabId:i}),(c=Jue[e])==null||c.call(Jue,t)}function tdi(t){var l;let{gridSize:e,altSnapSize:i,unit:o}=t,n=edi.panel,a={};if(e){let c=n(e);a["attr-canvas-grid-size"]=c,a["attr-canvas-snap-size"]=c,Ai.setPanelGridSizeValue(String(e))}i&&(a["attr-canvas-alt-snap-size"]=n(i)),he.getTabByDataKey("doctype",26).forEach(c=>{C.messageBus.publish("modifyCanvas",{data:a,tabId:c.tabId})}),(l=Jue.panel)==null||l.call(Jue,t)}function idi(){var i;let t=foe(dt());return(i=Zue[t])==null?void 0:i.call(Zue)}var Zue={symbol(){let t=Wi("CANVAS");return{gridSize:t.schlib_gridSize.value,altSnapSize:t.schlibAltSnapGridSize.value,unit:t.unit.value}},sch(){let t=Wi("CANVAS");return{gridSize:t.sch_gridSize.value,altSnapSize:t.schAltSnapGridSize.value,unit:t.unit.value}},panel(){let t=Wi("PANEL_CANVAS");return{gridSize:t.panel_gridSize.value||.1,altSnapSize:t.panelAltSnapGridSize.value||.05,unit:"mm"}}},Jue={symbol({gridSize:t,altSnapSize:e}){let i=Wi("CANVAS");e&&(i.schlibAltSnapGridSize.value=+e)},sch({gridSize:t,altSnapSize:e}){let i=Wi("CANVAS");e&&(i.schAltSnapGridSize.value=+e)},panel({gridSize:t,altSnapSize:e}){let i=Wi("PANEL_CANVAS");e&&(i.panelAltSnapGridSize.value=+e)}};var q9e=class{};var X9e=class extends q9e{};function Ksr(t){switch(t){case 0:return"DEBUG";case 1:return"INFO";case 2:return"WARNING";case 3:return"ERROR";case 4:return"DUMMY"}}var Zsr=(t,e)=>{t===3?console.error(...e):t===2?console.warn(...e):console.log(...e)},Jsr=(t,e)=>[Ksr(t)].concat(e),que=class que{static mix(...e){return new que(0,(i,o)=>{for(let r of e)r.write(i,o)},(i,o)=>o)}constructor(e,i=Zsr,o=Jsr){this.level=e,this.writer=i,this.fmt=o}setLevel(e){this.level=e}prepend(e=null,i=null){let o=e===null?this.fmt:(n,a)=>(a=e(n,a),this.fmt(n,a)),r=i===null?this.writer:(n,a)=>{i(n,a),this.writer(n,a)};return new que(this.level,r,o)}chain(e){return e.prepend(this.fmt.bind(this),this.writer.bind(this))}include(e){return this.level<=e}formatWrite(e,i,o){this.include(e)&&this.writer(e,this.fmt(e,[yU.format(i,...o)]))}write(e,i){this.include(e)&&this.writer(e,this.fmt(e,i))}debugFmt(e,...i){this.formatWrite(0,e,i)}debug(...e){this.write(0,e)}infoFmt(e,...i){this.formatWrite(1,e,i)}info(...e){this.write(1,e)}warningFmt(e,...i){this.formatWrite(2,e,i)}warning(...e){this.write(2,e)}errorFmt(e,...i){this.formatWrite(3,e,i)}error(...e){this.write(3,e)}};que.DUMMY=new que(4);var hT=que;var ryt={_val:"member",Add:"add",Update:"updateRole",Delete:"delete"},odi={Organization:{_val:"org",Member:ryt,Log:{_val:"log",List:"list"}},Team:{_val:"team",List:"list",Add:"add",Update:"update",Delete:"delete",Transfer:"transfer",ExportReport:"exportReport",Member:ryt,Read:"read",folder:{_val:"folder",Add:"add",Update:"update",Move:"move",Delete:"delete"},Component:{_val:"components",Add:"add",Update:"update",Download:"download",Copy:"copy",Transfer:"transfer",Delete:"delete"},Module:{_val:"module",Add:"add",Update:"update",Download:"download",Copy:"copy",Transfer:"transfer",Delete:"delete"},Category:{_val:"category",Edit:"edit",Delete:"delete"}},Project:{_val:"project",CreateProject:"create",List:"list",Update:"update",Move:"move",Backup:"backup",Archive:{_val:"archive"},Store:{_val:"store"},Copy:"copy",File:{_val:"file",Import:"import",Export:"export"},PastingDocumentToOther:"pastingOtherDocumentToCurrentProject",Document:{_val:"document",Add:"add",Update:"update",Copy:"copy",Delete:"delete"},Member:ryt,Attachment:{_val:"attachment",Add:"add",Download:"download",Delete:"delete"},Version:{_val:"version",Add:"add",Change:"change",Update:"update",Delete:"delete"},Branch:{_val:"branch",Create:"create",Editor:"editor",Delete:"delete"},ViewProject:"read",Transfer:"transfer",Delete:"delete",Library:{_val:"library",Update:"update",Delete:"delete"},Endorse:{_val:"endorse",Delete:"remove"}}},Ao=odi.Project,fn=odi.Team;function gn(t){return t.join(".")}var Io={Project_Creating:gn([Ao._val,Ao.CreateProject]),Project_Viewing:gn([Ao._val,Ao.ViewProject]),Project_Updating:gn([Ao._val,Ao.Update]),Project_Member_Add:gn([Ao._val,Ao.Member._val,Ao.Member.Add]),Project_Member_Update:gn([Ao._val,Ao.Member._val,Ao.Member.Update]),Project_Member_Delete:gn([Ao._val,Ao.Member._val,Ao.Member.Delete]),Project_Attachment_Add:gn([Ao._val,Ao.Attachment._val,Ao.Attachment.Add]),Project_Attachment_Download:gn([Ao._val,Ao.Attachment._val,Ao.Attachment.Download]),Project_Attachment_Delete:gn([Ao._val,Ao.Attachment._val,Ao.Attachment.Delete]),Project_Moving:gn([Ao._val,Ao.Move]),Project_Downloading:gn([Ao._val,Ao.Backup]),Project_Transfer:gn([Ao._val,Ao.Transfer]),Project_Delete:gn([Ao._val,Ao.Delete]),Project_Copying:gn([Ao._val,Ao.Copy]),Project_Archiving:gn([Ao._val,Ao.Store._val]),Project_Locking:gn([Ao._val,Ao.Archive._val]),File_Importing:gn([Ao._val,Ao.File._val,Ao.File.Import]),File_Exporting:gn([Ao._val,Ao.File._val,Ao.File.Export]),Doc_Adding:gn([Ao._val,Ao.Document._val,Ao.Document.Add]),Doc_Updating:gn([Ao._val,Ao.Document._val,Ao.Document.Update]),Doc_Pasting:gn([Ao._val,Ao.PastingDocumentToOther]),Doc_Copying:gn([Ao._val,Ao.Document._val,Ao.Document.Copy]),Doc_Deleting:gn([Ao._val,Ao.Document._val,Ao.Document.Delete]),Member_Adding:gn([Ao._val,Ao.Member._val,Ao.Member.Add]),Member_Updating:gn([Ao._val,Ao.Member._val,Ao.Member.Update]),Member_Deleting:gn([Ao._val,Ao.Member._val,Ao.Member.Delete]),Attach_Adding:gn([Ao._val,Ao.Attachment._val,Ao.Attachment.Add]),Attach_Downloading:gn([Ao._val,Ao.Attachment._val,Ao.Attachment.Download]),Attach_Deleting:gn([Ao._val,Ao.Attachment._val,Ao.Attachment.Delete]),Version_Adding:gn([Ao._val,Ao.Version._val,Ao.Version.Add]),Version_Changing:gn([Ao._val,Ao.Version._val,Ao.Version.Change]),Version_Updating:gn([Ao._val,Ao.Version._val,Ao.Version.Update]),Version_Deleting:gn([Ao._val,Ao.Version._val,Ao.Version.Delete]),Library_Updating:gn([Ao._val,Ao.Library._val,Ao.Library.Update]),Library_Deleting:gn([Ao._val,Ao.Library._val,Ao.Library.Delete]),Endorse_Deleting:gn([Ao._val,Ao.Endorse._val,Ao.Endorse.Delete]),Branch_Adding:gn([Ao._val,Ao.Branch._val,Ao.Branch.Create]),Branch_Updating:gn([Ao._val,Ao.Branch._val,Ao.Branch.Editor]),Branch_Delete:gn([Ao._val,Ao.Branch._val,Ao.Branch.Delete])},Yr={Team_Folder_Add:gn([fn._val,fn.folder._val,fn.folder.Add]),Team_Folder_Update:gn([fn._val,fn.folder._val,fn.folder.Update]),Team_Folder_Move:gn([fn._val,fn.folder._val,fn.folder.Move]),Team_Folder_Delete:gn([fn._val,fn.folder._val,fn.folder.Delete]),Team_Update:gn([fn._val,fn.Update]),Team_Check_Team:gn([fn._val,fn.List]),Team_Read:gn([fn._val,fn.Read]),Team_Check_All_Project:gn([Ao._val,Ao.List]),Team_Transfer:gn([fn._val,fn.Transfer]),Team_Delete:gn([fn._val,fn.Delete]),Team_Component_Add:gn([fn._val,fn.Component._val,fn.Component.Add]),Team_Component_Update:gn([fn._val,fn.Component._val,fn.Component.Update]),Team_Component_Download:gn([fn._val,fn.Component._val,fn.Component.Download]),Team_Component_Copy:gn([fn._val,fn.Component._val,fn.Component.Copy]),Team_Component_Transfer:gn([fn._val,fn.Component._val,fn.Component.Transfer]),Team_Component_Delete:gn([fn._val,fn.Component._val,fn.Component.Delete]),Team_Module_Add:gn([fn._val,fn.Module._val,fn.Module.Add]),Team_Module_Update:gn([fn._val,fn.Module._val,fn.Module.Update]),Team_Module_Download:gn([fn._val,fn.Module._val,fn.Module.Download]),Team_Module_Copy:gn([fn._val,fn.Module._val,fn.Module.Copy]),Team_Module_Transfer:gn([fn._val,fn.Module._val,fn.Module.Transfer]),Team_Module_Delete:gn([fn._val,fn.Module._val,fn.Module.Delete]),Team_Category_Edit:gn([fn._val,fn.Category._val,fn.Category.Edit]),Team_Category_Delete:gn([fn._val,fn.Category._val,fn.Category.Delete])},qsr=Object.values(Io),r6n=qsr.filter(t=>![Io.Project_Moving,Io.Library_Updating,Io.Library_Deleting].includes(t)),n6n=[Io.Project_Viewing,Io.Project_Downloading,Io.Project_Copying,Io.File_Importing,Io.File_Exporting,Io.Doc_Adding,Io.Doc_Updating,Io.Doc_Pasting,Io.Doc_Copying,Io.Doc_Deleting,Io.Attach_Adding,Io.Attach_Downloading,Io.Attach_Deleting],a6n=[Io.Project_Copying,Io.File_Exporting,Io.Doc_Copying,Io.Attach_Downloading],s6n=[Io.Project_Copying,Io.File_Exporting,Io.Doc_Copying,Io.Attach_Downloading],l6n=[Io.Project_Viewing,Io.File_Importing,Io.File_Exporting,Io.Attach_Adding,Io.Doc_Copying];var nyt=class extends qe{constructor(){super(...arguments);this.renderTicket=0}setActiveTab(i){this.activeTabId=i,this.notify()}setRenderTicket(){this.renderTicket+=1,this.notify()}},t4=new nyt;var PIo=L(Vi());var ayt=["NETPORT","NETFLAG","SHORTSYMBOL","NONEELECSYMBOL","SYMBOL","BLOCK_SYMBOL","MULTIPART","TEXT","ARC","RECT","POLYLINE","CIRCLE","IMAGE","BEZIER","ELLIPSE","TABLE","NETLABEL","NONEELECSYMBOL","OFFPAGECONNECTOR","MASKREGION"],A8=(t,e)=>Array.isArray(e)?e.some(i=>st[i]===t):t===st[e];var syt=class extends qe{constructor(){super(...arguments);this.activeMode=1;this.selectedOrgUuid="Personal";this.currentTeamsData=C.teams;this.renderTicket=0}setRenderTicket(i){this.renderTicket=i,this.notify()}},Yu=new syt;var $9e={connected:!1};function fT(t,e){let i=(e||gi()).split("@")[0],o=!1,r=!1,n=l0.getSheetCheckOutType(i);return zU()&&(o=!0),t==="checkIn"?r=n!=="own":r=n!=="none",{hideFlag:o,disableFlag:r}}function cyt(t){return new Promise((e,i)=>{if(Je||!_t)return e(null);C.messageBus.rpcCall(Ei.DOCUMENT.GET_CHECK,{projectId:t}).then(async({message:o})=>{o.result&&l0.setAllLockUser(o.result),C.projectMembers.map(n=>{l0.setLockUserData(n.uuid,{nickName:n.nickname,userName:n.username,realName:n.realname||""})});let r=Object.values(l0.getAllLockUser());for(let n=0;n<r.length;n++){let a=r[n];if(!l0.getLockUserData(a)){let s=C.apis.others.lockUserInfo+a;try{let{result:l,success:c}=await $L(s);if(c){let{username:d,nickname:u,realname:p}=l;l0.setLockUserData(a,{userName:d,nickName:u,realName:p})}}catch{console.error("\u83B7\u53D6\u7528\u6237\u4FE1\u606F\u51FA\u9519..."+a)}}}C.messageBus.publish("setLockUsersData",l0.getLockUserData())})})}function zU(){return!!(zi.getIsProjectReadOnly()||!Ga.isConcurrentStrictMode)}var lyt=class{constructor(){this._allLockUser={};this._cacheLockUser={};this._lockUserData={}}setLockUserData(e,i){this._lockUserData[e]=i}getLockUserData(e){return e?this._lockUserData[e]:this._lockUserData}get cacheLockUser(){return this._cacheLockUser}set cacheLockUser(e){this._cacheLockUser=e}getAllLockUser(){return this._allLockUser}setAllLockUser(e){this._allLockUser=e,this._cacheLockUser=ue.deepClone(e),C.messageBus.publish("setLockUsers",e),C.messageBus.publish("setCacheLockUsers",e)}async checkoutDocument(e,i){if(this._allLockUser[e]=i,this._cacheLockUser[e]=i,!this.getLockUserData(i)){let o=C.apis.others.lockUserInfo+i,{result:r,success:n}=await $L(o);if(n){let{username:a,nickname:s,realname:l}=r||{};this.setLockUserData(i,{userName:a,nickName:s,realName:l})}}C.messageBus.publish("setLockUsersData",this.getLockUserData()),C.messageBus.publish("setLockUsers",this._allLockUser),C.messageBus.publish("setCacheLockUsers",this._allLockUser),Ga.renderAll(),C.messageBus.publish("sch/renderPropertyPanel")}checkInDocument(e){delete this._allLockUser[e],C.messageBus.publish("setLockUsers",this._allLockUser),Ga.renderAll(),C.messageBus.publish("sch/renderPropertyPanel")}getLockUserBySheetId(e){var i;return(i=this._allLockUser)==null?void 0:i[e]}getSheetCheckOutType(e){var r;let i=((r=this._allLockUser)==null?void 0:r[e])||"",o=_o();return i?i===o?"own":"others":"none"}},l0=new lyt;function rdi(){var o;let t=null,e=0,i=()=>{$9e.connected||e===0&&(t=setTimeout(()=>{cyt(C.currentProject.projectId),e=0},5e3),e++),requestAnimationFrame(i)};C.concurrentBus.subscribe(`/pro-mgr/notify/message/project/${C.currentProject.branchUuid}/checkIn`,r=>{r.msg&&(it(r.msg,(n,{documentUuid:a,userUuid:s,type:l})=>{l===1?l0.checkInDocument(a):l===2&&l0.checkoutDocument(a,s)}),C.messageBus.publish("updatePlaceBtnStatus"))}),C.concurrentBus.subscribe(`/pro-mgr/notify/message/project/${C.currentProject.projectId}/mode`,r=>{if(r){let{mode:n}=r.msg;Ga.org_teams_PRJ_ConcurrentData[C.currentProject.projectId]=n,Ga.updateConcurrentModeStatus()}}),C.concurrentBus.subscribe(`/pro-mgr/notify/message/org/${C.workspace}/mode`,r=>{if(r){let{mode:n}=r.msg;_d.organization.forEach(a=>{a.uuid===C.workspace&&(a.mode=n)}),Ga.org_teams_PRJ_ConcurrentData[C.workspace]=n,Ga.updateConcurrentModeStatus()}}),C.concurrentBus.subscribe(`/pro-mgr/notify/message/team/${(o=C.currentProject.ownerData)==null?void 0:o.uuid}/mode`,r=>{var n;if(r){let{mode:a}=r.msg;Yu.currentTeamsData.forEach(s=>{var l;s.uuid===((l=C.currentProject.ownerData)==null?void 0:l.uuid)&&(s.mode=a)}),Ga.org_teams_PRJ_ConcurrentData[(n=C.currentProject.ownerData)==null?void 0:n.uuid]=a,Ga.updateConcurrentModeStatus()}}),C.concurrentBus.subscribe("/pro-mgr/notify/closed",()=>{$9e.connected=!1}),_t&&i()}var zCe=(t=!1,e,i)=>zi.getIsProjectReadOnly(t,e,i),ndi=t=>t.split("@")[0],ePe=t=>t.includes("@")?t:`${t}@${C.currentProject.projectId}`,Xsr=t=>t.split("_").length>2;function je(t,e,i){let o=gi(),r=t||o,n=e||he.getDoctypeByTabId(r),a=ndi(r);if(n||C.messageBus.publish("getSyncDocType",[r,s=>{n=s}]),zCe(!1,r,i)&&[se.PCB,se.PANEL,se.SCH,se.NGSPICE,se.SIMULIDE].includes(n))return!0;if(Ga.isConcurrentStrictMode){if(n===se.PCB||n===se.PANEL||n===se.SIMULIDE||n===se.NGSPICE)return l0.getSheetCheckOutType(a)!=="own";if(n===se.SCH)if(Xsr(a)){let l=!1;return C.messageBus.publish("getSyncSheetUuid",[r,c=>{c?l=l0.getSheetCheckOutType(c)!=="own":l=!1}]),l}else return l0.getSheetCheckOutType(a)!=="own"}return!1}function Er(){return zCe()}function FCe(t,e){return zCe(!1,t)?!0:TS(t,e)||!1}function TS(t,e,i){let o=t||gi(),r=e||dt(),n=ndi(o);if(Ga.isConcurrentStrictMode){if(r===se.PCB)return zCe(!1,o)?!0:l0.getSheetCheckOutType(n)!=="own"}else if(r===se.PCB&&zCe(!1,o,i))return!0;return!1}function u_(t,e){return!1}function UCe(){return Ce(Ai.currentSimRunStatues),!Ai.currentSimRunStatues.value}function VCe(){return Ce(Ai.ngSettingOfStartStatus),Ai.ngSettingOfStartStatus.value}function adi(){return Ce(Ai.simStartStatus),Ai.simStartStatus.value}var sdi={},$sr=(function(t,e,i,o,r){var n=new Worker(sdi[e]||(sdi[e]=URL.createObjectURL(new Blob([t+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return n.onmessage=function(a){var s=a.data,l=s.$e$;if(l){var c=new Error(l[0]);c.code=l[1],c.stack=l[2],r(c,null)}else r(null,s)},n.postMessage(i,o),n}),Hc=Uint8Array,SS=Uint16Array,YCe=Int32Array,n0e=new Hc([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),a0e=new Hc([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),HCe=new Hc([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),udi=function(t,e){for(var i=new SS(31),o=0;o<31;++o)i[o]=e+=1<<t[o-1];for(var r=new YCe(i[30]),o=1;o<30;++o)for(var n=i[o];n<i[o+1];++n)r[n]=n-i[o]<<5|o;return{b:i,r}},pdi=udi(n0e,2),byt=pdi.b,nPe=pdi.r;byt[28]=258,nPe[258]=28;var mdi=udi(a0e,0),hdi=mdi.b,uyt=mdi.r,GCe=new SS(32768);for(P0=0;P0<32768;++P0)FU=(P0&43690)>>1|(P0&21845)<<1,FU=(FU&52428)>>2|(FU&13107)<<2,FU=(FU&61680)>>4|(FU&3855)<<4,GCe[P0]=((FU&65280)>>8|(FU&255)<<8)>>1;var FU,P0,k8=(function(t,e,i){for(var o=t.length,r=0,n=new SS(e);r<o;++r)t[r]&&++n[t[r]-1];var a=new SS(e);for(r=1;r<e;++r)a[r]=a[r-1]+n[r-1]<<1;var s;if(i){s=new SS(1<<e);var l=15-e;for(r=0;r<o;++r)if(t[r])for(var c=r<<4|t[r],d=e-t[r],u=a[t[r]-1]++<<d,p=u|(1<<d)-1;u<=p;++u)s[GCe[u]>>l]=c}else for(s=new SS(o),r=0;r<o;++r)t[r]&&(s[r]=GCe[a[t[r]-1]++]>>15-t[r]);return s}),VU=new Hc(288);for(P0=0;P0<144;++P0)VU[P0]=8;var P0;for(P0=144;P0<256;++P0)VU[P0]=9;var P0;for(P0=256;P0<280;++P0)VU[P0]=7;var P0;for(P0=280;P0<288;++P0)VU[P0]=8;var P0,r0e=new Hc(32);for(P0=0;P0<32;++P0)r0e[P0]=5;var P0,fdi=k8(VU,9,0),gdi=k8(VU,9,1),bdi=k8(r0e,5,0),ydi=k8(r0e,5,1),iPe=function(t){for(var e=t[0],i=1;i<t.length;++i)t[i]>e&&(e=t[i]);return e},N8=function(t,e,i){var o=e/8|0;return(t[o]|t[o+1]<<8)>>(e&7)&i},oPe=function(t,e){var i=e/8|0;return(t[i]|t[i+1]<<8|t[i+2]<<16)>>(e&7)},s0e=function(t){return(t+7)/8|0},m_=function(t,e,i){return(e==null||e<0)&&(e=0),(i==null||i>t.length)&&(i=t.length),new Hc(t.subarray(e,i))};var wdi=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Gl=function(t,e,i){var o=new Error(e||wdi[t]);if(o.code=t,Error.captureStackTrace&&Error.captureStackTrace(o,Gl),!i)throw o;return o},cPe=function(t,e,i,o){var r=t.length,n=o?o.length:0;if(!r||e.f&&!e.l)return i||new Hc(0);var a=!i,s=a||e.i!=2,l=e.i;a&&(i=new Hc(r*3));var c=function(pe){var Z=i.length;if(pe>Z){var ee=new Hc(Math.max(Z*2,pe));ee.set(i),i=ee}},d=e.f||0,u=e.p||0,p=e.b||0,m=e.l,h=e.d,f=e.m,g=e.n,b=r*8;do{if(!m){d=N8(t,u,1);var y=N8(t,u+1,3);if(u+=3,y)if(y==1)m=gdi,h=ydi,f=9,g=5;else if(y==2){var T=N8(t,u,31)+257,M=N8(t,u+10,15)+4,I=T+N8(t,u+5,31)+1;u+=14;for(var A=new Hc(I),D=new Hc(19),E=0;E<M;++E)D[HCe[E]]=N8(t,u+E*3,7);u+=M*3;for(var N=iPe(D),R=(1<<N)-1,v=k8(D,N,1),E=0;E<I;){var k=v[N8(t,u,R)];u+=k&15;var w=k>>4;if(w<16)A[E++]=w;else{var P=0,O=0;for(w==16?(O=3+N8(t,u,3),u+=2,P=A[E-1]):w==17?(O=3+N8(t,u,7),u+=3):w==18&&(O=11+N8(t,u,127),u+=7);O--;)A[E++]=P}}var _=A.subarray(0,T),j=A.subarray(T);f=iPe(_),g=iPe(j),m=k8(_,f,1),h=k8(j,g,1)}else Gl(1);else{var w=s0e(u)+4,x=t[w-4]|t[w-3]<<8,S=w+x;if(S>r){l&&Gl(0);break}s&&c(p+x),i.set(t.subarray(w,S),p),e.b=p+=x,e.p=u=S*8,e.f=d;continue}if(u>b){l&&Gl(0);break}}s&&c(p+131072);for(var B=(1<<f)-1,V=(1<<g)-1,G=u;;G=u){var P=m[oPe(t,u)&B],Q=P>>4;if(u+=P&15,u>b){l&&Gl(0);break}if(P||Gl(2),Q<256)i[p++]=Q;else if(Q==256){G=u,m=null;break}else{var H=Q-254;if(Q>264){var E=Q-257,q=n0e[E];H=N8(t,u,(1<<q)-1)+byt[E],u+=q}var U=h[oPe(t,u)&V],F=U>>4;U||Gl(3),u+=U&15;var j=hdi[F];if(F>3){var q=a0e[F];j+=oPe(t,u)&(1<<q)-1,u+=q}if(u>b){l&&Gl(0);break}s&&c(p+131072);var K=p+H;if(p<j){var te=n-j,ae=Math.min(j,K);for(te+p<0&&Gl(3);p<ae;++p)i[p]=o[te+p]}for(;p<K;++p)i[p]=i[p-j]}}e.l=m,e.p=G,e.b=p,e.f=d,m&&(d=1,e.m=f,e.d=h,e.n=g)}while(!d);return p!=i.length&&a?m_(i,0,p):i.subarray(0,p)},p_=function(t,e,i){i<<=e&7;var o=e/8|0;t[o]|=i,t[o+1]|=i>>8},$ue=function(t,e,i){i<<=e&7;var o=e/8|0;t[o]|=i,t[o+1]|=i>>8,t[o+2]|=i>>16},rPe=function(t,e){for(var i=[],o=0;o<t.length;++o)t[o]&&i.push({s:o,f:t[o]});var r=i.length,n=i.slice();if(!r)return{t:JK,l:0};if(r==1){var a=new Hc(i[0].s+1);return a[i[0].s]=1,{t:a,l:1}}i.sort(function(S,T){return S.f-T.f}),i.push({s:-1,f:25001});var s=i[0],l=i[1],c=0,d=1,u=2;for(i[0]={s:-1,f:s.f+l.f,l:s,r:l};d!=r-1;)s=i[i[c].f<i[u].f?c++:u++],l=i[c!=d&&i[c].f<i[u].f?c++:u++],i[d++]={s:-1,f:s.f+l.f,l:s,r:l};for(var p=n[0].s,o=1;o<r;++o)n[o].s>p&&(p=n[o].s);var m=new SS(p+1),h=aPe(i[d-1],m,0);if(h>e){var o=0,f=0,g=h-e,b=1<<g;for(n.sort(function(T,M){return m[M.s]-m[T.s]||T.f-M.f});o<r;++o){var y=n[o].s;if(m[y]>e)f+=b-(1<<h-m[y]),m[y]=e;else break}for(f>>=g;f>0;){var w=n[o].s;m[w]<e?f-=1<<e-m[w]++-1:++o}for(;o>=0&&f;--o){var x=n[o].s;m[x]==e&&(--m[x],++f)}h=e}return{t:new Hc(m),l:h}},aPe=function(t,e,i){return t.s==-1?Math.max(aPe(t.l,e,i+1),aPe(t.r,e,i+1)):e[t.s]=i},pyt=function(t){for(var e=t.length;e&&!t[--e];);for(var i=new SS(++e),o=0,r=t[0],n=1,a=function(l){i[o++]=l},s=1;s<=e;++s)if(t[s]==r&&s!=e)++n;else{if(!r&&n>2){for(;n>138;n-=138)a(32754);n>2&&(a(n>10?n-11<<5|28690:n-3<<5|12305),n=0)}else if(n>3){for(a(r),--n;n>6;n-=6)a(8304);n>2&&(a(n-3<<5|8208),n=0)}for(;n--;)a(r);n=1,r=t[s]}return{c:i.subarray(0,o),n:e}},e0e=function(t,e){for(var i=0,o=0;o<e.length;++o)i+=t[o]*e[o];return i},yyt=function(t,e,i){var o=i.length,r=s0e(e+2);t[r]=o&255,t[r+1]=o>>8,t[r+2]=t[r]^255,t[r+3]=t[r+1]^255;for(var n=0;n<o;++n)t[r+n+4]=i[n];return(r+4+o)*8},myt=function(t,e,i,o,r,n,a,s,l,c,d){p_(e,d++,i),++r[256];for(var u=rPe(r,15),p=u.t,m=u.l,h=rPe(n,15),f=h.t,g=h.l,b=pyt(p),y=b.c,w=b.n,x=pyt(f),S=x.c,T=x.n,M=new SS(19),I=0;I<y.length;++I)++M[y[I]&31];for(var I=0;I<S.length;++I)++M[S[I]&31];for(var A=rPe(M,7),D=A.t,E=A.l,N=19;N>4&&!D[HCe[N-1]];--N);var R=c+5<<3,v=e0e(r,VU)+e0e(n,r0e)+a,k=e0e(r,p)+e0e(n,f)+a+14+3*N+e0e(M,D)+2*M[16]+3*M[17]+7*M[18];if(l>=0&&R<=v&&R<=k)return yyt(e,d,t.subarray(l,l+c));var P,O,_,j;if(p_(e,d,1+(k<v)),d+=2,k<v){P=k8(p,m,0),O=p,_=k8(f,g,0),j=f;var B=k8(D,E,0);p_(e,d,w-257),p_(e,d+5,T-1),p_(e,d+10,N-4),d+=14;for(var I=0;I<N;++I)p_(e,d+3*I,D[HCe[I]]);d+=3*N;for(var V=[y,S],G=0;G<2;++G)for(var Q=V[G],I=0;I<Q.length;++I){var H=Q[I]&31;p_(e,d,B[H]),d+=D[H],H>15&&(p_(e,d,Q[I]>>5&127),d+=Q[I]>>12)}}else P=fdi,O=VU,_=bdi,j=r0e;for(var I=0;I<s;++I){var q=o[I];if(q>255){var H=q>>18&31;$ue(e,d,P[H+257]),d+=O[H+257],H>7&&(p_(e,d,q>>23&31),d+=n0e[H]);var U=q&31;$ue(e,d,_[U]),d+=j[U],U>3&&($ue(e,d,q>>5&8191),d+=a0e[U])}else $ue(e,d,P[q]),d+=O[q]}return $ue(e,d,P[256]),d+O[256]},Cdi=new YCe([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),JK=new Hc(0),xdi=function(t,e,i,o,r,n){var a=n.z||t.length,s=new Hc(o+a+5*(1+Math.ceil(a/7e3))+r),l=s.subarray(o,s.length-r),c=n.l,d=(n.r||0)&7;if(e){d&&(l[0]=n.r>>3);for(var u=Cdi[e-1],p=u>>13,m=u&8191,h=(1<<i)-1,f=n.p||new SS(32768),g=n.h||new SS(h+1),b=Math.ceil(i/3),y=2*b,w=function(ce){return(t[ce]^t[ce+1]<<b^t[ce+2]<<y)&h},x=new YCe(25e3),S=new SS(288),T=new SS(32),M=0,I=0,A=n.i||0,D=0,E=n.w||0,N=0;A+2<a;++A){var R=w(A),v=A&32767,k=g[R];if(f[v]=k,g[R]=v,E<=A){var P=a-A;if((M>7e3||D>24576)&&(P>423||!c)){d=myt(t,l,0,x,S,T,I,D,N,A-N,d),D=M=I=0,N=A;for(var O=0;O<286;++O)S[O]=0;for(var O=0;O<30;++O)T[O]=0}var _=2,j=0,B=m,V=v-k&32767;if(P>2&&R==w(A-V))for(var G=Math.min(p,P)-1,Q=Math.min(32767,A),H=Math.min(258,P);V<=Q&&--B&&v!=k;){if(t[A+_]==t[A+_-V]){for(var q=0;q<H&&t[A+q]==t[A+q-V];++q);if(q>_){if(_=q,j=V,q>G)break;for(var U=Math.min(V,q-2),F=0,O=0;O<U;++O){var K=A-V+O&32767,te=f[K],ae=K-te&32767;ae>F&&(F=ae,k=K)}}}v=k,k=f[v],V+=v-k&32767}if(j){x[D++]=268435456|nPe[_]<<18|uyt[j];var pe=nPe[_]&31,Z=uyt[j]&31;I+=n0e[pe]+a0e[Z],++S[257+pe],++T[Z],E=A+_,++M}else x[D++]=t[A],++S[t[A]]}}for(A=Math.max(A,E);A<a;++A)x[D++]=t[A],++S[t[A]];d=myt(t,l,c,x,S,T,I,D,N,A-N,d),c||(n.r=d&7|l[d/8|0]<<3,d-=7,n.h=g,n.p=f,n.i=A,n.w=E)}else{for(var A=n.w||0;A<a+c;A+=65535){var ee=A+65535;ee>=a&&(l[d/8|0]=c,ee=a),d=yyt(l,d+1,t.subarray(A,ee))}n.i=a}return m_(s,0,o+s0e(d)+r)},elr=(function(){for(var t=new Int32Array(256),e=0;e<256;++e){for(var i=e,o=9;--o;)i=(i&1&&-306674912)^i>>>1;t[e]=i}return t})(),dPe=function(){var t=-1;return{p:function(e){for(var i=t,o=0;o<e.length;++o)i=elr[i&255^e[o]]^i>>>8;t=i},d:function(){return~t}}},Tdi=function(){var t=1,e=0;return{p:function(i){for(var o=t,r=e,n=i.length|0,a=0;a!=n;){for(var s=Math.min(a+2655,n);a<s;++a)r+=o+=i[a];o=(o&65535)+15*(o>>16),r=(r&65535)+15*(r>>16)}t=o,e=r},d:function(){return t%=65521,e%=65521,(t&255)<<24|(t&65280)<<8|(e&255)<<8|e>>8}}},l0e=function(t,e,i,o,r){if(!r&&(r={l:1},e.dictionary)){var n=e.dictionary.subarray(-32768),a=new Hc(n.length+t.length);a.set(n),a.set(t,n.length),t=a,r.w=n.length}return xdi(t,e.level==null?6:e.level,e.mem==null?r.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+e.mem,i,o,r)},uPe=function(t,e){var i={};for(var o in t)i[o]=t[o];for(var o in e)i[o]=e[o];return i},ldi=function(t,e,i){for(var o=t(),r=t.toString(),n=r.slice(r.indexOf("[")+1,r.lastIndexOf("]")).replace(/\s+/g,"").split(","),a=0;a<o.length;++a){var s=o[a],l=n[a];if(typeof s=="function"){e+=";"+l+"=";var c=s.toString();if(s.prototype)if(c.indexOf("[native code]")!=-1){var d=c.indexOf(" ",8)+1;e+=c.slice(d,c.indexOf("(",d))}else{e+=c;for(var u in s.prototype)e+=";"+l+".prototype."+u+"="+s.prototype[u].toString()}else e+=c}else i[l]=s}return e},tPe=[],tlr=function(t){var e=[];for(var i in t)t[i].buffer&&e.push((t[i]=new t[i].constructor(t[i])).buffer);return e},ilr=function(t,e,i,o){if(!tPe[i]){for(var r="",n={},a=t.length-1,s=0;s<a;++s)r=ldi(t[s],r,n);tPe[i]={c:ldi(t[a],r,n),e:n}}var l=uPe({},tPe[i].e);return $sr(tPe[i].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+e.toString()+"}",i,l,tlr(l),o)},wyt=function(){return[Hc,SS,YCe,n0e,a0e,HCe,byt,hdi,gdi,ydi,GCe,wdi,k8,iPe,N8,oPe,s0e,m_,Gl,cPe,clr,Sdi,alr]},olr=function(){return[Hc,SS,YCe,n0e,a0e,HCe,nPe,uyt,fdi,VU,bdi,r0e,GCe,Cdi,JK,k8,p_,$ue,rPe,aPe,pyt,e0e,yyt,myt,s0e,m_,xdi,l0e,Ddi,Sdi]};var rlr=function(){return[Cyt,Idi]};var nlr=function(){return[vdi]},Sdi=function(t){return postMessage(t,[t.buffer])},alr=function(t){return t&&{out:t.size&&new Hc(t.size),dictionary:t.dictionary}};var qK=function(t){return t.ondata=function(e,i){return postMessage([e,i],[e.buffer])},function(e){e.data.length?(t.push(e.data[0],e.data[1]),postMessage([e.data[0].length])):t.flush()}},pPe=function(t,e,i,o,r,n,a){var s,l=ilr(t,o,r,function(c,d){c?(l.terminate(),e.ondata.call(e,c)):Array.isArray(d)?d.length==1?(e.queuedSize-=d[0],e.ondrain&&e.ondrain(d[0])):(d[1]&&l.terminate(),e.ondata.call(e,c,d[0],d[1])):a(d)});l.postMessage(i),e.queuedSize=0,e.push=function(c,d){e.ondata||Gl(5),s&&e.ondata(Gl(4,0,1),null,!!d),e.queuedSize+=c.length,l.postMessage([c,s=d],[c.buffer])},e.terminate=function(){l.terminate()},n&&(e.flush=function(){l.postMessage([])})},t0e=function(t,e){return t[e]|t[e+1]<<8},i0e=function(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0},dyt=function(t,e){return i0e(t,e)+i0e(t,e+4)*4294967296},Xp=function(t,e,i){for(;i;++e)t[e]=i,i>>>=8},Mdi=function(t,e){var i=e.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=e.level<2?4:e.level==9?2:0,t[9]=3,e.mtime!=0&&Xp(t,4,Math.floor(new Date(e.mtime||Date.now())/1e3)),i){t[3]=8;for(var o=0;o<=i.length;++o)t[o+10]=i.charCodeAt(o)}},Cyt=function(t){(t[0]!=31||t[1]!=139||t[2]!=8)&&Gl(6,"invalid gzip data");var e=t[3],i=10;e&4&&(i+=(t[10]|t[11]<<8)+2);for(var o=(e>>3&1)+(e>>4&1);o>0;o-=!t[i++]);return i+(e&2)},Idi=function(t){var e=t.length;return(t[e-4]|t[e-3]<<8|t[e-2]<<16|t[e-1]<<24)>>>0},Ldi=function(t){return 10+(t.filename?t.filename.length+1:0)},slr=function(t,e){var i=e.level,o=i==0?0:i<6?1:i==9?3:2;if(t[0]=120,t[1]=o<<6|(e.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,e.dictionary){var r=Tdi();r.p(e.dictionary),Xp(t,2,r.d())}},vdi=function(t,e){return((t[0]&15)!=8||t[0]>>4>7||(t[0]<<8|t[1])%31)&&Gl(6,"invalid zlib data"),(t[1]>>5&1)==+!e&&Gl(6,"invalid zlib data: "+(t[1]&32?"need":"unexpected")+" dictionary"),(t[1]>>3&4)+2};function WCe(t,e){return typeof t=="function"&&(e=t,t={}),this.ondata=e,t}var UU=(function(){function t(e,i){if(typeof e=="function"&&(i=e,e={}),this.ondata=i,this.o=e||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new Hc(98304),this.o.dictionary){var o=this.o.dictionary.subarray(-32768);this.b.set(o,32768-o.length),this.s.i=32768-o.length}}return t.prototype.p=function(e,i){this.ondata(l0e(e,this.o,0,0,this.s),i)},t.prototype.push=function(e,i){this.ondata||Gl(5),this.s.l&&Gl(4);var o=e.length+this.s.z;if(o>this.b.length){if(o>2*this.b.length-32768){var r=new Hc(o&-32768);r.set(this.b.subarray(0,this.s.z)),this.b=r}var n=this.b.length-this.s.z;this.b.set(e.subarray(0,n),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(e.subarray(n),32768),this.s.z=e.length-n+32768,this.s.i=32766,this.s.w=32768}else this.b.set(e,this.s.z),this.s.z+=e.length;this.s.l=i&1,(this.s.z>this.s.w+8191||i)&&(this.p(this.b,i||!1),this.s.w=this.s.i,this.s.i-=2)},t.prototype.flush=function(){this.ondata||Gl(5),this.s.l&&Gl(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},t})();var llr=(function(){function t(e,i){pPe([olr,function(){return[qK,UU]}],this,WCe.call(this,e,i),function(o){var r=new UU(o.data);onmessage=qK(r)},6,1)}return t})();function Ddi(t,e){return l0e(t,e||{},0,0)}var lv=(function(){function t(e,i){typeof e=="function"&&(i=e,e={}),this.ondata=i;var o=e&&e.dictionary&&e.dictionary.subarray(-32768);this.s={i:0,b:o?o.length:0},this.o=new Hc(32768),this.p=new Hc(0),o&&this.o.set(o)}return t.prototype.e=function(e){if(this.ondata||Gl(5),this.d&&Gl(4),!this.p.length)this.p=e;else if(e.length){var i=new Hc(this.p.length+e.length);i.set(this.p),i.set(e,this.p.length),this.p=i}},t.prototype.c=function(e){this.s.i=+(this.d=e||!1);var i=this.s.b,o=cPe(this.p,this.s,this.o);this.ondata(m_(o,i,this.s.b),this.d),this.o=m_(o,this.s.b-32768),this.s.b=this.o.length,this.p=m_(this.p,this.s.p/8|0),this.s.p&=7},t.prototype.push=function(e,i){this.e(e),this.c(i)},t})();var Edi=(function(){function t(e,i){pPe([wyt,function(){return[qK,lv]}],this,WCe.call(this,e,i),function(o){var r=new lv(o.data);onmessage=qK(r)},7,0)}return t})();function clr(t,e){return cPe(t,{i:2},e&&e.out,e&&e.dictionary)}var F6n=(function(){function t(e,i){this.c=dPe(),this.l=0,this.v=1,UU.call(this,e,i)}return t.prototype.push=function(e,i){this.c.p(e),this.l+=e.length,UU.prototype.push.call(this,e,i)},t.prototype.p=function(e,i){var o=l0e(e,this.o,this.v&&Ldi(this.o),i&&8,this.s);this.v&&(Mdi(o,this.o),this.v=0),i&&(Xp(o,o.length-8,this.c.d()),Xp(o,o.length-4,this.l)),this.ondata(o,i)},t.prototype.flush=function(){UU.prototype.flush.call(this)},t})();function Adi(t,e){e||(e={});var i=dPe(),o=t.length;i.p(t);var r=l0e(t,e,Ldi(e),8),n=r.length;return Mdi(r,e),Xp(r,n-8,i.d()),Xp(r,n-4,o),r}var hyt=(function(){function t(e,i){this.v=1,this.r=0,lv.call(this,e,i)}return t.prototype.push=function(e,i){if(lv.prototype.e.call(this,e),this.r+=e.length,this.v){var o=this.p.subarray(this.v-1),r=o.length>3?Cyt(o):4;if(r>o.length){if(!i)return}else this.v>1&&this.onmember&&this.onmember(this.r-o.length);this.p=o.subarray(r),this.v=0}lv.prototype.c.call(this,i),this.s.f&&!this.s.l&&!i&&(this.v=s0e(this.s.p)+9,this.s={i:0},this.o=new Hc(0),this.push(new Hc(0),i))},t})();var dlr=(function(){function t(e,i){var o=this;pPe([wyt,rlr,function(){return[qK,lv,hyt]}],this,WCe.call(this,e,i),function(r){var n=new hyt(r.data);n.onmember=function(a){return postMessage(a)},onmessage=qK(n)},9,0,function(r){return o.onmember&&o.onmember(r)})}return t})();function Ndi(t,e){var i=Cyt(t);return i+8>t.length&&Gl(6,"invalid gzip data"),cPe(t.subarray(i,-8),{i:2},e&&e.out||new Hc(Idi(t)),e&&e.dictionary)}var U6n=(function(){function t(e,i){this.c=Tdi(),this.v=1,UU.call(this,e,i)}return t.prototype.push=function(e,i){this.c.p(e),UU.prototype.push.call(this,e,i)},t.prototype.p=function(e,i){var o=l0e(e,this.o,this.v&&(this.o.dictionary?6:2),i&&4,this.s);this.v&&(slr(o,this.o),this.v=0),i&&Xp(o,o.length-4,this.c.d()),this.ondata(o,i)},t.prototype.flush=function(){UU.prototype.flush.call(this)},t})();var fyt=(function(){function t(e,i){lv.call(this,e,i),this.v=e&&e.dictionary?2:1}return t.prototype.push=function(e,i){if(lv.prototype.e.call(this,e),this.v){if(this.p.length<6&&!i)return;this.p=this.p.subarray(vdi(this.p,this.v-1)),this.v=0}i&&(this.p.length<4&&Gl(6,"invalid zlib data"),this.p=this.p.subarray(0,-4)),lv.prototype.c.call(this,i)},t})();var ulr=(function(){function t(e,i){pPe([wyt,nlr,function(){return[qK,lv,fyt]}],this,WCe.call(this,e,i),function(o){var r=new fyt(o.data);onmessage=qK(r)},11,0)}return t})();var cdi=(function(){function t(e,i){this.o=WCe.call(this,e,i)||{},this.G=hyt,this.I=lv,this.Z=fyt}return t.prototype.i=function(){var e=this;this.s.ondata=function(i,o){e.ondata(i,o)}},t.prototype.push=function(e,i){if(this.ondata||Gl(5),this.s)this.s.push(e,i);else{if(this.p&&this.p.length){var o=new Hc(this.p.length+e.length);o.set(this.p),o.set(e,this.p.length)}else this.p=e;this.p.length>2&&(this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(this.o):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(this.o):new this.Z(this.o),this.i(),this.s.push(this.p,i),this.p=null)}},t})();var V6n=(function(){function t(e,i){cdi.call(this,e,i),this.queuedSize=0,this.G=dlr,this.I=Edi,this.Z=ulr}return t.prototype.i=function(){var e=this;this.s.ondata=function(i,o,r){e.ondata(i,o,r)},this.s.ondrain=function(i){e.queuedSize-=i,e.ondrain&&e.ondrain(i)}},t.prototype.push=function(e,i){this.queuedSize+=e.length,cdi.prototype.push.call(this,e,i)},t})();var kdi=function(t,e,i,o){for(var r in t){var n=t[r],a=e+r,s=o;Array.isArray(n)&&(s=uPe(o,n[1]),n=n[0]),n instanceof Hc?i[a]=[n,s]:(i[a+="/"]=[new Hc(0),s],kdi(n,a,i,o))}},ddi=typeof TextEncoder<"u"&&new TextEncoder,gyt=typeof TextDecoder<"u"&&new TextDecoder,Pdi=0;try{gyt.decode(JK,{stream:!0}),Pdi=1}catch{}var Odi=function(t){for(var e="",i=0;;){var o=t[i++],r=(o>127)+(o>223)+(o>239);if(i+r>t.length)return{s:e,r:m_(t,i-1)};r?r==3?(o=((o&15)<<18|(t[i++]&63)<<12|(t[i++]&63)<<6|t[i++]&63)-65536,e+=String.fromCharCode(55296|o>>10,56320|o&1023)):r&1?e+=String.fromCharCode((o&31)<<6|t[i++]&63):e+=String.fromCharCode((o&15)<<12|(t[i++]&63)<<6|t[i++]&63):e+=String.fromCharCode(o)}},H6n=(function(){function t(e){this.ondata=e,Pdi?this.t=new TextDecoder:this.p=JK}return t.prototype.push=function(e,i){if(this.ondata||Gl(5),i=!!i,this.t){this.ondata(this.t.decode(e,{stream:!0}),i),i&&(this.t.decode().length&&Gl(8),this.t=null);return}this.p||Gl(4);var o=new Hc(this.p.length+e.length);o.set(this.p),o.set(e,this.p.length);var r=Odi(o),n=r.s,a=r.r;i?(a.length&&Gl(8),this.p=null):this.p=a,this.ondata(n,i)},t})();var G6n=(function(){function t(e){this.ondata=e}return t.prototype.push=function(e,i){this.ondata||Gl(5),this.d&&Gl(4),this.ondata(va(e),this.d=i||!1)},t})();function va(t,e){if(e){for(var i=new Hc(t.length),o=0;o<t.length;++o)i[o]=t.charCodeAt(o);return i}if(ddi)return ddi.encode(t);for(var r=t.length,n=new Hc(t.length+(t.length>>1)),a=0,s=function(d){n[a++]=d},o=0;o<r;++o){if(a+5>n.length){var l=new Hc(a+8+(r-o<<1));l.set(n),n=l}var c=t.charCodeAt(o);c<128||e?s(c):c<2048?(s(192|c>>6),s(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|t.charCodeAt(++o)&1023,s(240|c>>18),s(128|c>>12&63),s(128|c>>6&63),s(128|c&63)):(s(224|c>>12),s(128|c>>6&63),s(128|c&63))}return m_(n,0,a)}function plr(t,e){if(e){for(var i="",o=0;o<t.length;o+=16384)i+=String.fromCharCode.apply(null,t.subarray(o,o+16384));return i}else{if(gyt)return gyt.decode(t);var r=Odi(t),n=r.s,i=r.r;return i.length&&Gl(8),n}}var Rdi=function(t){return t==1?3:t<6?2:t==9?1:0};var mlr=function(t,e){for(;t0e(t,e)!=1;e+=4+t0e(t,e+2));return[dyt(t,e+12),dyt(t,e+4),dyt(t,e+20)]},o0e=function(t){var e=0;if(t)for(var i in t){var o=t[i].length;o>65535&&Gl(9),e+=o+4}return e},sPe=function(t,e,i,o,r,n,a,s){var l=o.length,c=i.extra,d=s&&s.length,u=o0e(c);Xp(t,e,a!=null?33639248:67324752),e+=4,a!=null&&(t[e++]=20,t[e++]=i.os),t[e]=20,e+=2,t[e++]=i.flag<<1|(n<0&&8),t[e++]=r&&8,t[e++]=i.compression&255,t[e++]=i.compression>>8;var p=new Date(i.mtime==null?Date.now():i.mtime),m=p.getFullYear()-1980;if((m<0||m>119)&&Gl(10),Xp(t,e,m<<25|p.getMonth()+1<<21|p.getDate()<<16|p.getHours()<<11|p.getMinutes()<<5|p.getSeconds()>>1),e+=4,n!=-1&&(Xp(t,e,i.crc),Xp(t,e+4,n<0?-n-2:n),Xp(t,e+8,i.size)),Xp(t,e+12,l),Xp(t,e+14,u),e+=16,a!=null&&(Xp(t,e,d),Xp(t,e+6,i.attrs),Xp(t,e+10,a),e+=14),t.set(o,e),e+=l,u)for(var h in c){var f=c[h],g=f.length;Xp(t,e,+h),Xp(t,e+2,g),t.set(f,e+4),e+=4+g}return d&&(t.set(s,e),e+=d),e},_di=function(t,e,i,o,r){Xp(t,e,101010256),Xp(t,e+8,i),Xp(t,e+10,i),Xp(t,e+12,o),Xp(t,e+16,r)},lPe=(function(){function t(e){this.filename=e,this.c=dPe(),this.size=0,this.compression=0}return t.prototype.process=function(e,i){this.ondata(null,e,i)},t.prototype.push=function(e,i){this.ondata||Gl(5),this.c.p(e),this.size+=e.length,i&&(this.crc=this.c.d()),this.process(e,i||!1)},t})();var Y6n=(function(){function t(e,i){var o=this;i||(i={}),lPe.call(this,e),this.d=new UU(i,function(r,n){o.ondata(null,r,n)}),this.compression=8,this.flag=Rdi(i.level)}return t.prototype.process=function(e,i){try{this.d.push(e,i)}catch(o){this.ondata(o,null,i)}},t.prototype.push=function(e,i){lPe.prototype.push.call(this,e,i)},t})();var W6n=(function(){function t(e,i){var o=this;i||(i={}),lPe.call(this,e),this.d=new llr(i,function(r,n,a){o.ondata(r,n,a)}),this.compression=8,this.flag=Rdi(i.level),this.terminate=this.d.terminate}return t.prototype.process=function(e,i){this.d.push(e,i)},t.prototype.push=function(e,i){lPe.prototype.push.call(this,e,i)},t})();var Q6n=(function(){function t(e){this.ondata=e,this.u=[],this.d=1}return t.prototype.add=function(e){var i=this;if(this.ondata||Gl(5),this.d&2)this.ondata(Gl(4+(this.d&1)*8,0,1),null,!1);else{var o=va(e.filename),r=o.length,n=e.comment,a=n&&va(n),s=r!=e.filename.length||a&&n.length!=a.length,l=r+o0e(e.extra)+30;r>65535&&this.ondata(Gl(11,0,1),null,!1);var c=new Hc(l);sPe(c,0,e,o,s,-1);var d=[c],u=function(){for(var g=0,b=d;g<b.length;g++){var y=b[g];i.ondata(null,y,!1)}d=[]},p=this.d;this.d=0;var m=this.u.length,h=uPe(e,{f:o,u:s,o:a,t:function(){e.terminate&&e.terminate()},r:function(){if(u(),p){var g=i.u[m+1];g?g.r():i.d=1}p=1}}),f=0;e.ondata=function(g,b,y){if(g)i.ondata(g,b,y),i.terminate();else if(f+=b.length,d.push(b),y){var w=new Hc(16);Xp(w,0,134695760),Xp(w,4,e.crc),Xp(w,8,f),Xp(w,12,e.size),d.push(w),h.c=f,h.b=l+f+16,h.crc=e.crc,h.size=e.size,p&&h.r(),p=1}else p&&u()},this.u.push(h)}},t.prototype.end=function(){var e=this;if(this.d&2){this.ondata(Gl(4+(this.d&1)*8,0,1),null,!0);return}this.d?this.e():this.u.push({r:function(){e.d&1&&(e.u.splice(-1,1),e.e())},t:function(){}}),this.d=3},t.prototype.e=function(){for(var e=0,i=0,o=0,r=0,n=this.u;r<n.length;r++){var a=n[r];o+=46+a.f.length+o0e(a.extra)+(a.o?a.o.length:0)}for(var s=new Hc(o+22),l=0,c=this.u;l<c.length;l++){var a=c[l];sPe(s,e,a,a.f,a.u,-a.c-2,i,a.o),e+=46+a.f.length+o0e(a.extra)+(a.o?a.o.length:0),i+=a.b}_di(s,e,this.u.length,o,i),this.ondata(null,s,!0),this.d=2},t.prototype.terminate=function(){for(var e=0,i=this.u;e<i.length;e++){var o=i[e];o.t()}this.d=2},t})();function vb(t,e){e||(e={});var i={},o=[];kdi(t,"",i,e);var r=0,n=0;for(var a in i){var s=i[a],l=s[0],c=s[1],d=c.level==0?0:8,u=va(a),p=u.length,m=c.comment,h=m&&va(m),f=h&&h.length,g=o0e(c.extra);p>65535&&Gl(11);var b=d?Ddi(l,c):l,y=b.length,w=dPe();w.p(l),o.push(uPe(c,{size:l.length,crc:w.d(),c:b,f:u,m:h,u:p!=a.length||h&&m.length!=f,o:r,compression:d})),r+=30+p+g+y,n+=76+2*(p+g)+(f||0)+y}for(var x=new Hc(n+22),S=r,T=n-r,M=0;M<o.length;++M){var u=o[M];sPe(x,u.o,u,u.f,u.u,u.c.length);var I=30+u.f.length+o0e(u.extra);x.set(u.c,u.o+I),sPe(x,r,u,u.f,u.u,u.c.length,u.o,u.m),r+=16+I+(u.m?u.m.length:0)}return _di(x,r,o.length,T,S),x}var hlr=(function(){function t(){}return t.prototype.push=function(e,i){this.ondata(null,e,i)},t.compression=0,t})();var K6n=(function(){function t(){var e=this;this.i=new lv(function(i,o){e.ondata(null,i,o)})}return t.prototype.push=function(e,i){try{this.i.push(e,i)}catch(o){this.ondata(o,null,i)}},t.compression=8,t})();var Z6n=(function(){function t(e,i){var o=this;i<32e4?this.i=new lv(function(r,n){o.ondata(null,r,n)}):(this.i=new Edi(function(r,n,a){o.ondata(r,n,a)}),this.terminate=this.i.terminate)}return t.prototype.push=function(e,i){this.i.terminate&&(e=m_(e,0)),this.i.push(e,i)},t.compression=8,t})();var J6n=(function(){function t(e){this.onfile=e,this.k=[],this.o={0:hlr},this.p=JK}return t.prototype.push=function(e,i){var o=this;if(this.onfile||Gl(5),this.p||Gl(4),this.c>0){var r=Math.min(this.c,e.length),n=e.subarray(0,r);if(this.c-=r,this.d?this.d.push(n,!this.c):this.k[0].push(n),e=e.subarray(r),e.length)return this.push(e,i)}else{var a=0,s=0,l=void 0,c=void 0;this.p.length?e.length?(c=new Hc(this.p.length+e.length),c.set(this.p),c.set(e,this.p.length)):c=this.p:c=e;for(var d=c.length,u=this.c,p=u&&this.d,m=function(){var b,y=i0e(c,s);if(y==67324752){a=1,l=s,h.d=null,h.c=0;var w=t0e(c,s+6),x=t0e(c,s+8),S=w&2048,T=w&8,M=t0e(c,s+26),I=t0e(c,s+28);if(d>s+30+M+I){var A=[];h.k.unshift(A),a=2;var D=i0e(c,s+18),E=i0e(c,s+22),N=plr(c.subarray(s+30,s+=30+M),!S);D==4294967295?(b=T?[-2]:mlr(c,s),D=b[0],E=b[1]):T&&(D=-1),s+=I,h.c=D;var R,v={name:N,compression:x,start:function(){if(v.ondata||Gl(5),!D)v.ondata(null,JK,!0);else{var k=o.o[x];k||v.ondata(Gl(14,"unknown compression type "+x,1),null,!1),R=D<0?new k(N):new k(N,D,E),R.ondata=function(j,B,V){v.ondata(j,B,V)};for(var P=0,O=A;P<O.length;P++){var _=O[P];R.push(_,!1)}o.k[0]==A&&o.c?o.d=R:R.push(JK,!0)}},terminate:function(){R&&R.terminate&&R.terminate()}};D>=0&&(v.size=D,v.originalSize=E),h.onfile(v)}return"break"}else if(u){if(y==134695760)return l=s+=12+(u==-2&&8),a=3,h.c=0,"break";if(y==33639248)return l=s-=4,a=3,h.c=0,"break"}},h=this;s<d-4;++s){var f=m();if(f==="break")break}if(this.p=JK,u<0){var g=a?c.subarray(0,l-12-(u==-2&&8)-(i0e(c,l-16)==134695760&&4)):c.subarray(0,s);p?p.push(g,!!a):this.k[+(a==2)].push(g)}if(a&2)return this.push(c.subarray(s),i);this.p=c.subarray(s)}i&&(this.c&&Gl(13),this.p=null)},t.prototype.register=function(e){this.o[e.compression]=e},t})();var wPe=L(Se());var bPe=L(Se());var Hdi=L(Hr()),Tc=L(Se()),Gdi=L(uT());var h_=class extends qe{constructor(){super(...arguments);this.domCount=0;this.dataList={};this.value={};this.text={};this.change={}}onChange(i,o,r){let n=this.change;n[i]={value:o,evt:r},this.change=n,this.notify()}setDomCount(i){i!==this.domCount&&(this.domCount=i,this.notify())}setDataList(i,o){let r=this.dataList;r[i]=o,this.dataList=r,this.notify()}setValue(i,o){let r=this.value;r[i]=o,this.value=r,this.notify()}setText(i,o){let r=this.text;r[i]=o,this.text=r,this.notify()}};h_.keyBoardStore=new L8;var O0=new h_;var f_=L(Se());var xyt=L(Bdi()),hPe=L(z()),flr=(0,f_.forwardRef)(({dataTest:t,style:e,defaultChecked:i=!1,disabled:o,onChange:r,children:n},a)=>{Ae(xyt.default);let s=be.bind(xyt.default.locals),[l,c]=(0,f_.useState)(i),d=(0,f_.useRef)(void 0);(0,f_.useImperativeHandle)(a,()=>d.current),(0,f_.useEffect)(()=>{c(i)},[i]);let u=m=>{m.stopPropagation(),c(!l),r==null||r(!l,m)},p=s("checkbox",{active:l,disabled:o});return(0,hPe.jsxs)("label",{ref:d,"data-test":t,className:s("container"),onClick:m=>!o&&u(m),children:[(0,hPe.jsx)("i",{style:e,className:p}),n]})}),$p=flr;var Lyt=L(Fdi());var R6=L(Se());var Tyt=L(Vdi()),B9=L(z()),{locals:boe}=Tyt.default,{input:blr,input_container:ylr}=boe,wlr=(t,e)=>{let{hasClearButton:i,isAlwaysShowClearButton:o=!0,style:r,hasZoomBotton:n,showFilterResult:a,resultValue:s={curNum:0,totalNum:0},clickPrevNextCb:l,clickClearCb:c,onBlur:d,onArrowToggle:u}=t,p=!!u,[m,h]=(0,R6.useState)(!1),[f,g]=(0,R6.useState)(0),b=(0,R6.useRef)(null),y=(0,R6.useRef)(null),w={...t,style:{border:"none",height:r.height?"100%":"24px",padding:0}},x="disable",S=be.bind(boe);Ae(Tyt.default);let T=!1,M=!1;(s==null?void 0:s.curNum)<=1&&(T=!0),((s==null?void 0:s.totalNum)===0||(s==null?void 0:s.curNum)>=(s==null?void 0:s.totalNum))&&(M=!0);let[I,A]=pT(t),D=(0,R6.useCallback)(R=>{h(R)},[]),E=(s==null?void 0:s.curNum)+"/"+(s==null?void 0:s.totalNum),N=(R=f?0:1)=>{g(R),u==null||u(R)};return(0,R6.useImperativeHandle)(e,()=>({getInputElement:()=>y==null?void 0:y.current,getDom:()=>b==null?void 0:b.current,getDOMRect:()=>{var R;return(R=b==null?void 0:b.current)==null?void 0:R.getBoundingClientRect()},setValue:R=>{A(R)},arrowToggle:R=>{N(R)}})),(0,B9.jsxs)("div",{ref:b,className:ylr,style:{...r,borderColor:`var(${m?"--border-color-focus-input":"--border-color-input"})`,background:`var(${m?"--bg-color-focus-input":"--bg-color-input"})`},children:[(0,B9.jsx)(Kt,{...w,className:blr,value:I,onChange:(R,v)=>A(R),onFocus:()=>{D(!0)},onBlur:R=>{D(!1),d&&d(R,A)},ref:y}),a&&(0,B9.jsxs)("div",{className:boe.filterResult,children:[(0,B9.jsx)("span",{className:S(`icon-eda-move-left-line ${T?x:""}`),onClick:()=>{T||l("prev",T,M)}}),(0,B9.jsx)("span",{style:{width:Owe(E,5)},children:(s==null?void 0:s.curNum)+"/"+(s==null?void 0:s.totalNum)}),(0,B9.jsx)("span",{className:S(`icon-eda-move-right-line ${M?x:""}`),onClick:()=>{M||l("next",T,M)}})]}),i&&(o||document.activeElement===(y==null?void 0:y.current))&&(I==null?void 0:I.length)>0&&(0,B9.jsx)("i",{className:boe.clear,onMouseDown:R=>{R.preventDefault(),A("")},onClick:()=>{c&&c()}}),p&&(0,B9.jsx)("i",{className:f?boe["arrow-to-top"]:boe["arrow-to-bottom"],onClick:()=>{N()}}),n&&(0,B9.jsx)("i",{className:boe.zoom})]})},i4=(0,R6.memo)((0,R6.forwardRef)(wlr));var Hh=L(z()),Syt=200,Clr=20,xlr=150,Myt=536,Iyt=2,QCe=22,gPe="selectOptionKey",fPe=new Map;function Ydi(t,e){let{dataTest:i,className:o="",style:r,containerStyle:n,optionsAutoWidth:a=!1,select:s,disabled:l,listMaxHeight:c,searchable:d,createNewItem:u,value:p,placeholder:m,list:h,valueKey:f="text",hoverTitleKey:g,optionTextKey:b,checkBox:y,valueIcon:w,valueIconStyle:x,textStyle:S,virtualScroll:T,dropContainerHtmlAttrs:M={},htmlAttrs:I={},highLightValue:A,ignoreCase:D=!0,forceSetText:E=!1,iconStyle:N,onChange:R,needCheckUpdate:v}=t;Ae(Lyt.default),Ce(O0);let k=J(),P=be.bind(Lyt.default.locals),O=(0,Tc.useRef)(null),_=(0,Tc.useRef)(null),j=()=>{var ye;return(ye=_==null?void 0:_.current)==null?void 0:ye.getInputElement()},{window:B}=(0,Tc.useContext)(_r),{domCount:V}=O0,G=(0,Tc.useMemo)(()=>{let ye=++V;return O0.setDomCount(ye),gPe+"_"+ye},[]);Gs("click",ye=>{let Le=B.document.getElementById(G);Le&&O.current&&te&&!Le.contains(ye.target)&&!O.current.contains(ye.target)&&de()}),Gs("mousedown",ye=>{let Le=B.document.getElementById(G);Le&&O.current&&te&&!Le.contains(ye.target)&&!O.current.contains(ye.target)&&(A2&&ye.preventDefault(),de())});let[Q,H,q]=La(),U=(0,Tc.useRef)({x:0,y:0}),F=(0,Tc.useRef)(null),K=(ye,Le)=>{Le=Le!=null?Le:"";let Re=ye.find(Ne=>String(Ne.value)===String(Le));return!Re&&Le=="<...>"?"<...>":!Re&&E?Le:Re?Re.showOriginalText?Re[f]:k(Re[f]):""},[te,ae]=(0,Tc.useState)(!1),[pe,Z]=(0,Tc.useState)(K(h,p));(0,Tc.useEffect)(()=>()=>{delete O0.dataList[G],delete O0.value[G],delete O0.change[G],delete O0.text[G]},[]),(0,Tc.useLayoutEffect)(()=>(O.current&&H(O.current),()=>{q(),setTimeout(()=>de()),clearInterval(F.current)}),[O.current]),(0,Tc.useLayoutEffect)(()=>{Q&&de()},[Q]),(0,Tc.useImperativeHandle)(e,()=>({selectClick:()=>{Y()},setText:Z})),(0,Tc.useLayoutEffect)(()=>{s&&setTimeout(()=>{Y(!1)})},[s]),(0,Tc.useEffect)(()=>{te&&j()&&setTimeout(()=>{j().select()})},[te]),(0,Tc.useEffect)(()=>{O0.setDataList(G,h),Z(K(h,p))},[h]),(0,Tc.useEffect)(()=>{O0.setValue(G,p!=null?p:""),!y&&Z(K(h,p))},[p,O0.value[G]]),(0,Tc.useEffect)(()=>{O0.change[G]&&O0.change[G].value!==p&&R(O0.change[G].value,O0.change[G].evt)},[O0.change[G]]),(0,Tc.useEffect)(()=>{O0.text[G]&&Z(O0.text[G])},[O0.text[G]]),(0,Tc.useEffect)(()=>{Z(K(h,p))},[me.curr]);let ee=(0,Tc.useMemo)(()=>{if(A!==void 0){let ye,Le=jd(A);return Le=Le.split(" "),Le.forEach(Re=>{var Te;let Ne=new RegExp(Re,"ig");ye=(Te=String(K(h,p)))==null?void 0:Te.replace(Ne,Pe=>Pe?`<span class=${P("hightlight")}>${Pe}</span>`:"")}),ye}return pe},[A,pe]);function ce(ye){return g&&ye?ye.showOriginalText?ye[g]:k(ye[g]):""}let ne=(ye,Le)=>{if(g){let Re=ye.find(Ne=>String(Ne.value)===String(Le));return ce(Re)}return""},oe=(0,Tc.useMemo)(()=>ne(h,p)||ee,[ee]),re=()=>{O.current&&(F.current=setInterval(()=>{if(!O.current)return;let{top:ye,left:Le}=O.current.getBoundingClientRect();!HU({x:Le,y:ye},U.current)&&de()},200))},Y=ye=>{ye=ye!=null?ye:te,ae(!ye),!B.document.getElementById(G)&&X(),ye&&de()},X=()=>{let{width:ye,left:Le}=O.current.getBoundingClientRect(),Re=B.document.createElement("div");Re.id=G,Re.classList.add(P("option-wrap-body")),Re.style.width=ye+"px",a&&(Re.style.minWidth="max-content"),Re.style.height="max-content",Re.style.left=Le+"px",Re.style.border="none",Object.keys(M).forEach(Te=>{Re.setAttribute(Te,M[Te])}),B.document.body.appendChild(Re);let Ne=Hdi.default.createRoot(Re);fPe.set(G,Ne),Ne.render((0,Hh.jsx)(_r.Provider,{value:B,children:(0,Hh.jsx)(fe,{})})),setTimeout(()=>{ie()})},ie=()=>{let{bottom:ye,top:Le,left:Re,width:Ne}=O.current.getBoundingClientRect();U.current={x:Re,y:Le},re();let Te=B.document.getElementById(G),Pe=0;if(Pe=Te.getBoundingClientRect().height,Pe>0&&Pe<22&&h.length){let Ue=setInterval(()=>{Pe=Te.getBoundingClientRect().height,Pe>22&&(Oe(),clearInterval(Ue))})}else Oe();async function Oe(){var pt;let Ue=Te.querySelector(`.${P("filter")}`),Ve=Te.querySelector(`.${P("option-list")}`),ze=B.innerHeight-ye,He=Le,Ye=ze-Clr,ke=He-xlr;h.length&&Ve&&(Ve.style.maxHeight="fit-content",Ve.style.height="fit-content",await os(1));let Be=Te.getBoundingClientRect().toJSON().height,Xe=!0;Ye>=Syt||Ye<=Syt&&Be<=Syt&&Ye>=Be?Xe=!0:Xe=!1;let Ge=Xe?Math.min(Be,Ye,Myt):Math.min(Be,ke,Myt);if(d&&h.length==0&&(Te.style.minHeight="32px"),Ve){let{height:ot=0}=Ue?Ue.getBoundingClientRect().toJSON():0,Qe=Xe?Ye-ot:ke-ot,ut=Ve.getBoundingClientRect().toJSON().height;Ve.style.maxHeight=Math.min(ut,Qe,Myt-ot)+"px"}let Ke=Xe?ye+Iyt:Le-Iyt-Ge;Te.style.top=Ke+"px",Te.style.left=Re+"px",Te.style.opacity="1",Te.style.zIndex="90000",Te.style.pointerEvents="auto",Te.style.width=Ne+"px",a&&(Te.style.minWidth="max-content"),j()&&((pt=j())==null||pt.select())}},de=()=>{let ye=B.document.getElementById(G);ye&&(clearInterval(F.current),ae(!1),ye.remove(),fPe.has(G)&&(fPe.get(G).unmount(),fPe.delete(G)))};Bt(()=>{te&&de()}).key("canvasMousedownEvent");let fe=()=>{var zt;Ce(O0);let{dataList:ye,value:Le}=O0,Re=(0,Tc.useRef)(null),[Ne,Te]=(0,Tc.useState)(0),[Pe,Oe]=(0,Tc.useState)([]),[Ue,Ve]=(0,Tc.useState)([]),[ze,He]=(0,Tc.useState)(0),[Ye,ke]=(0,Tc.useState)(""),[Be,Xe]=(0,Tc.useState)(""),[Ge,Ke]=(0,Tc.useState)([]),[pt,ot]=(0,Tc.useState)(0),[Qe,ut]=(0,Tc.useState)("");(0,Tc.useEffect)(()=>{var gt;d&&u&&((gt=j())!=null&&gt.value)&&j().value.trim()&&!Ue.find(Qt=>Qt.value===j().value)&&Ve([{value:"addNew",text:`${k("Add")} "${j().value.trim()}"`,type:"function"},...Ue])},[(zt=j())==null?void 0:zt.value]),(0,Tc.useEffect)(()=>{if(ye[G])if(ot(ye[G].length*QCe),Oe(ye[G]),c&&T){let gt=Math.ceil(c/QCe);He(gt),Ve(ye[G].slice(0,gt))}else!c&&T?console.error("\u4E0B\u62C9\u6846\u5F00\u542F\u865A\u62DF\u6EDA\u52A8\u5FC5\u987B\u8BBE\u7F6E\u6700\u5927\u9AD8\u5EA6\uFF0C\u53C2\u6570listMaxHeight"):Ve(ye[G])},[ye[G]]),(0,Tc.useEffect)(()=>{ke(Le[G]),Xe(Le[G])},[Le[G]]);let rt=(gt,Qt,yt)=>{if(y){Qt.stopPropagation();return}let jt=!0;v&&(jt=v(G,gt,O0.value)),jt&&(ke(gt),Xe(gt),O0.setValue(G,gt),yt.notChangeText||O0.setText(G,K(Pe,gt))),O0.onChange(G,gt,Qt),de(),ae(!1)},ht=(gt,Qt,yt)=>{let jt=[...Ge];gt?jt.push(Qt):jt=jt.filter(ni=>ni!==Qt),Ke(jt),O0.setValue(G,Qt),O0.onChange(G,jt,yt),ke(Qt),Xe(Qt),O0.setText(G,K(Pe,Qt))},ct=gt=>{ut(gt);let Qt=new RegExp(gt,D?"i":""),yt=Pe.filter(Mo=>{let _i=Mo.showOriginalText?Mo[f]:k(Mo[f]);return Qt.test(_i)}),jt=T?yt.slice(0,ze):yt;Re.current.scrollTop=0,Ve(jt);let ni=(gt?jt:Pe).length*(QCe+Iyt);ot(ni);let Ii=B.document.getElementById(G);Ii.style.height=Re.current.previousElementSibling.getBoundingClientRect().toJSON().height+ni+"px"},wt=()=>{let{keyCode:gt,evt:Qt}=h_.keyBoardStore.keyboardValue;switch(gt){case 13:if(String(Be)===String(Ye)){de(),ae(!1);return}else ke(Be),Xe(Be),O0.setValue(G,Be),O0.setText(G,K(Pe,Be)),O0.onChange(G,Be,Qt),de(),ae(!1);break;case 38:{let ni=Ue.findIndex(Mo=>Mo.value===Be),Ii;if(ni>-1){let Mo=ni-1;if(Mo<0)return;Ii=Ue[Mo].value}else Ii=Ue[0].value;vn(Ii)||Xe(Ii)}break;case 40:let yt=Ue.findIndex(ni=>ni.value===Be),jt;if(yt>-1){let ni=yt+1;if(ni===Ue.length)return;jt=Ue[ni].value}else jt=Ue[0].value;vn(jt)||Xe(jt);break;default:break}};return Ce(h_.keyBoardStore,()=>(wt(),!1)),(0,Hh.jsxs)(Hh.Fragment,{children:[d&&(0,Hh.jsx)("div",{className:P("filter"),children:(0,Hh.jsx)(i4,{ref:_,style:{height:"22px"},defaultValue:"",hasClearButton:!0,focusTriggerSelect:!0,onChange:ct})}),(0,Hh.jsx)("div",{ref:Re,className:P("option-list"),style:{maxHeight:c||"max-content",minWidth:"fit-content",border:"1px solid var(--border-color-panel-divider)"},onScroll:()=>{(0,Gdi.flushSync)(()=>{if(c&&T){let gt=Math.floor(Re.current.scrollTop/QCe);Te(gt);let Qt=Pe;if(Qe){let yt=new RegExp(Qe,D?"i":"");Qt=Pe.filter(jt=>{let ni=jt.showOriginalText?jt[f]:k(jt[f]);return yt.test(ni)})}Ve(Qt.slice(gt,gt+ze))}})},children:(0,Hh.jsxs)(Hh.Fragment,{children:[(0,Hh.jsx)("div",{className:P("block"),style:{height:pt}}),(0,Hh.jsx)("div",{style:{transform:`translateY(${Ne*QCe}px)`},children:Ue.map((gt,Qt)=>{let yt=new RegExp(Qe,"ig"),jt=b||f,Ii=(gt.showOriginalText?gt[jt]:k(gt[jt])).replace(yt,Mo=>Mo?`<span style="background: var(--common-bg-color-highLight-item)">${Mo}</span>`:"");return(0,Hh.jsxs)("div",{"data-test":gt.dataTest||gt.value,style:gt.style,className:P("option-list-item",{selected:String(gt.value)===String(Ye)},{hovered:String(gt.value)===String(Be)},{"select-item-disabled":gt.disabled}),onMouseDown:Mo=>{Mo.preventDefault(),Mo.stopPropagation()},onClick:Mo=>{if(gt.type==="function"&&gt.value==="addNew"){rt(j().value,Mo,gt);return}Mo.target.optionNumber=Pe.findIndex(_i=>gt.value===_i.value),rt(gt.value,Mo,gt)},onMouseEnter:()=>{Xe(gt.value)},onMouseLeave:()=>{Xe("")},children:[y&&(0,Hh.jsx)($p,{style:{marginRight:"2px"},defaultChecked:Ge.includes(gt.value),onChange:(Mo,_i)=>ht(Mo,gt.value,_i)}),gt.icon&&(0,Hh.jsx)("i",{style:gt.iconStyle,className:P("icon-pre",gt.icon,gt.iconClassName)}),(0,Hh.jsx)("span",{title:ce(gt)||(gt.showOriginalText?gt[f]:k(gt[f])),className:P("option-list-item-text"),dangerouslySetInnerHTML:{__html:Ii}})]},Qt)})})]})})]})};return(0,Hh.jsx)("div",{title:oe,style:{width:"100%",height:"100%",...n},children:(0,Hh.jsxs)("div",{"data-id":G,"data-test":i,ref:O,style:r,...I,className:P("container",o,{disabled:l},{containerActive:te}),onClick:ye=>{ye.stopPropagation(),Y()},"data-value":p,children:[w&&(0,Hh.jsx)("i",{className:P("icon-pre",w),style:x}),m?(0,Hh.jsx)("span",{className:P("text"),style:{color:"var(--font-color-input-placeholder)",...S},children:m}):(0,Hh.jsx)("span",{className:P("text"),dangerouslySetInnerHTML:{__html:ee},style:S}),(0,Hh.jsx)("i",{style:N,className:P("icon",{active:te})})]})})}function Wdi(t){let e=t;for(;e!=null;){if(e.id.startsWith(gPe))return document.body.querySelector(`[data-id="${e.id}"]`);e=e.parentElement}return t}var xt=bPe.default.memo((0,bPe.forwardRef)(Ydi));var g_=L(z()),Tlr=()=>{let t=J(),e=[],i=(0,wPe.useRef)(yPe.keys().next().value);return(0,wPe.useEffect)(()=>{if(e.length===0)for(let[o,r]of yPe.entries())r.unshift(".zip"),r=r.map(n=>"*"+n),e.push({text:o+`(${r.join(",")})`,value:o})},[]),(0,g_.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",flexDirection:"column",height:"100%"},children:[(0,g_.jsx)("p",{children:t("There are files that cannot be recognized as correct EDA types. Please select a file type to continue opening.")}),(0,g_.jsx)("div",{children:(0,g_.jsx)(xt,{list:e,value:i.current,onChange:o=>{i.current=o}})}),(0,g_.jsxs)("footer",{style:{textAlign:"right"},children:[(0,g_.jsx)(Me,{type:"primary",onClick:()=>{ln.convertFile(i.current)},style:{marginRight:"8px"},children:"Confirm"}),(0,g_.jsx)(Me,{onClick:()=>{ln.throwFileTypeError()},children:"Cancel"})]})]})},vyt=()=>{le.open({id:"FileTypeSelectDlg",width:400,height:155,title:"Please select file type",children:(0,g_.jsx)(Tlr,{}),onClose:()=>{ln.throwFileTypeError()}})};var CPe=(i=>(i.JSON=".json",i.ZIP=".zip",i))(CPe||{}),Dyt=(s=>(s.Project=".epro",s.Json=".json",s.Symbol=".esym",s.Footprint=".efoo",s.SheetPage=".esch",s.PcbPage=".epcb",s.Instance=".eins",s))(Dyt||{}),xPe=(a=>(a.Json=".json",a.Project=".epru",a.Symbol=".esym2",a.Footprint=".efoo2",a.PanelLibrary=".epanl2",a.Libraries=".elibz2",a))(xPe||{}),KCe=(l=>(l.PCB=".pcbdoc",l.SCH=".schdoc",l.SYMBOL=".schlib",l.FOOTPRINT=".pcblib",l.ZIP=".zip",l.SCHLIB=".schlib",l.PRJ=".prjpcb",l.INTLIB=".intlib",l))(KCe||{}),Eyt=(r=>(r.PCB=".pcbdoc",r.SCH=".schdoc",r.ZIP=".zip",r.PRJ=".prjpcb",r))(Eyt||{}),Ayt=(o=>(o.PCB=".pcb",o.SCH=".sch",o.ZIP=".zip",o))(Ayt||{}),Nyt=(o=>(o.PCB=".ebrd",o.FOOTPRINT=".edra",o.ZIP=".zip",o))(Nyt||{}),kyt=(a=>(a.EDIF=".edf",a.XML=".xml",a.A_EDIF=".edif",a.ZIP=".zip",a.FOOTPRINT=".edra",a.PCB=".ebrd",a))(kyt||{}),Pyt=(r=>(r.SCH=".sch",r.PCB=".brd",r.LIB=".lbr",r.ZIP=".zip",r))(Pyt||{}),Oyt=(u=>(u.ZIP=".zip",u.LIB=".lib",u.MOD=".mod",u.MOD2=".kicad_mod",u.WKS=".kicad_wks",u.PRO=".pro",u.PRO2=".kicad_pro",u.SCH=".sch",u.SCH2=".kicad_sch",u.PCB=".kicad_pcb",u.SYMBOL=".kicad_sym",u))(Oyt||{}),Ryt=(g=>(g.ASC=".asc",g.TXT=".txt",g.Footprint=".d",g.Symbol=".c",g.ZIP=".zip",g.EDS=".eds",g.Device=".p",g.PadsProSymbol1=".1",g.PadsProSymbol2=".2",g.PadsProSymbol3=".3",g.PadsProSymbol4=".4",g.PadsProSymbol5=".5",g.PadsProSymbol6=".6",g.PadsProSymbol7=".7",g.PadsProSymbol8=".8",g.PadsProSymbol9=".9",g))(Ryt||{}),_yt=(o=>(o.SCH=".asc",o.SYMBOL=".asy",o.ZIP=".zip",o))(_yt||{}),jyt=(i=>(i.DXF=".dxf",i.ZIP=".zip",i))(jyt||{}),Byt=(e=>(e.SVG=".svg",e))(Byt||{}),zyt=(i=>(i.CSV=".csv",i.ZIP=".zip",i))(zyt||{}),Fyt=(i=>(i.CSV=".csv",i.ZIP=".zip",i))(Fyt||{}),Uyt=(i=>(i.JSON=".json",i.ZIP=".zip",i))(Uyt||{}),Vyt=(i=>(i.JSON=".json",i.ZIP=".zip",i))(Vyt||{}),ZCe=(n=>(n.SymbolXml=".xml.dsym",n.SymbolJson=".json.dsym",n.FootprintXml=".xml.dfoo",n.FootprintJson=".json.dfoo",n.ZIP=".zip",n))(ZCe||{});var TPe=L(hU());var Qdi="chameleon-api/";var Kdi="chameleon-worker/";var Zdi=Xdi(),Jdi="CHAMELEON_MSG_BUS_",qdi=Zdi[Jdi]=Zdi[Jdi]||new TPe.MessageBus(!0),Hyt=class t{constructor(){this.workerId=-1;this.useProgress=!0;this.workerPool=new Map;this.initApi()}static getInstance(){return this._instance||(this._instance=new t),this._instance}initApi(){this.subscribe("conversion-starting",this.receivingConversionStarting),this.subscribe("conversion-progress",this.updateConversionProgress),this.subscribe("conversion-log",this.showConversionLog),this.subscribe("conversion-interrupt",this.interruptConversion),this.subscribe("conversion-result",this.receivingConversionResult)}subscribe(e,i){qdi.subscribe(Qdi+e,i.bind(this))}publish(e,i,o){let r=this.getWorkerInstance(i);return r?(r.workerBus.publish(Kdi+e,o),!0):!1}getNextWorkerId(){return(++this.workerId).toString()}getWorkerInstance(e){return this.workerPool.get(e)||null}getWorkerIds(){return Array.from(this.workerPool.keys())}loadingWorker(e){let i=this.getNextWorkerId(),o=`editor?entry=chameleon-worker.js&cll=${window.PRO_LOG_LEVEL}`,r=new Worker(o,{name:"chameleon-worker"}),n=new TPe.WorkerMessageBridge(qdi,r),a={worker:r,workerBus:n,callMap:e};return this.workerPool.set(i,a),i}destroyWorker(e,i=!1){let o=this.getWorkerInstance(e);return o?(i||o.worker.terminate(),this.workerPool.delete(e),!0):!1}clearWorkerPool(){this.workerPool.forEach((e,i)=>{this.destroyWorker(i,!1)})}formatConversion(e,i){return new Promise(o=>{if(!e)return o(null);this.updateConversionProgress({progress:0}),i||(i={});let r=i.conversionResCall;i.conversionResCall=a;let n=this.loadingWorker(i);e.workerId=n,e.env="prod",this.publish("format-conversion",n,e);async function a(s){await(r==null?void 0:r.call(null,s)),o(s)}})}receivingConversionStarting(e){var a;let i=this.getWorkerIds();if(i.length==0)return;e||(e={});let o=e.workerId||i[0],r=this.getWorkerInstance(o),n=null;r&&(n=(a=r.callMap)==null?void 0:a.conversionStartingCall),z9("ConversionStarting",void 0,e),n==null||n.call(null,e)}updateConversionProgress(e){if(!this.useProgress||!e)return;let{progress:i,title:o}=e;isNaN(i)&&(i=1),o||(o="Converting"),j6(i,o,void 0,r=>{r&&this.interruptConversion({isManualClosed:r})})}showConversionLog(e){return Ut(e)}interruptConversion(e){let{isManualClosed:i=!1,data:o,message:r="",workerId:n=""}=e||{};if(i){let a={success:!1,code:"conversion-interrupted",result:o,message:r,workerId:n};this.receivingConversionResult(a)}else n&&this.destroyWorker(n,!1);r&&this.showConversionLog({type:"error",message:r}),i||this.updateConversionProgress({progress:1})}async receivingConversionResult(e){var l,c,d;let i=this.getWorkerIds();if(i.length==0)return;e||(e={success:!1,code:"conversion-error",result:null});let{result:o}=e,r=e.workerId||i[0],n=this.getWorkerInstance(r),a=null;n&&(a=(l=n.callMap)==null?void 0:l.conversionResCall),z9("ConversionRes",void 0,o);let s=(d=(c=e.result)==null?void 0:c.extension)==null?void 0:d.unTerminateWorker;this.destroyWorker(r,s),await(a==null?void 0:a.call(null,e)),this.updateConversionProgress({progress:1})}},Bf=Hyt.getInstance();var Pve=L(Vi()),z6o=L(hS()),F6o=L(uui()),cVt=L(txe());function Ot(t,e,i="Log",o=!1,r){typeof global<"u"?C.messageBus.publish("bottomBarLog",{type:t,tabType:i,msg:e,openTab:o,timeStamp:r}):self.IN_WORKER?C.worker.publish("bottomBarLog",{type:t,tabType:i,msg:e,openTab:o,timeStamp:r}):self===ko()?C.messageBus.publish("bottomBarLog",{type:t,tabType:i,msg:e,openTab:o,timeStamp:r}):C.windowBridge.publish("bottomBarLog",{type:t,tabType:i,msg:e,openTab:o,timeStamp:r},ko())}var h0e=class{constructor(e,i){this._Switch=!1;this.ids=[];this.progressTip="Batch export...";this.total=0;this.cur=0;this.ids=[...new Set(e)],this.total=this.ids.length+1,this.Switch=!0,this.extractHistory=i}get Switch(){return this._Switch}set Switch(e){this._Switch=e}async todo(e=!1){if(this.ids.length){this.updateProgress();for(let i=0;i<this.ids.length&&this.Switch;i++){let o=this.ids[i];await this.exportProject(o),this.updateProgress()}this.complete(),setTimeout(()=>{e&&window.open("","_top").close()},1e3)}}checkPermission(e){return new Promise(i=>{zi.getPermissionList(e).then(o=>{if(o){let r=zi.hasPermission(o,Io.Project_Downloading);i({success:r})}else i({success:!0})},o=>{i({success:!1,message:o})})})}getProject(e){return zi.getProjectDetailCache(e)}async exportProject(e){let i={uuid:e,extractHistory:this.extractHistory},{message:o}=await C.messageBus.rpcCall(qr.DOWNLOAD_PROJECT,i);if(!o.success){let r=me.i18n(o.message);De({type:"error",msg:r,timer:3}),Ot("error",r)}}complete(){this.Switch=!1,this.updateProgress(!0)}interrupt(){this.Switch=!1}updateProgress(e=!1){e?vt(1,this.progressTip,String(ve.BLANKTAB),this.interrupt.bind(this)):vt(++this.cur/this.total,this.progressTip,String(ve.BLANKTAB),this.interrupt.bind(this))}};var bt={"hotkey-setting":{title:"Setting",containerId:"",width:400,modal:!0,closed:!0,enterConfirm:!0},"delete-element":{title:"Warning",containerId:"deleteElementDialogContainer",width:400,modal:!0,closed:!0,enterConfirm:!0},"route-via-violate-drc":{title:"Warning",containerId:"routeViaViolateDRCContainer",width:400,modal:!0,closed:!0,enterConfirm:!0},"route-prohibit-violate-drc":{title:"Warning",containerId:"routeViolateProhibitDRCContainer",width:400,modal:!0,closed:!0,enterConfirm:!0},"commonly-value-input":{title:"Input Value",containerId:"inputsValueDialogContainer",width:300,height:145,modal:!0,closed:!0,enterConfirm:!0},"delete-target":{title:"Delete Target",containerId:"deleteTargetDialogContainer",width:400,height:520,modal:!0,closed:!0},"attribute-for-2dline":{title:"Outline Object",containerId:"d2LineAttrDialogContainer",width:400,height:560,modal:!0,closed:!0,enterConfirm:!0},"attribute-for-pad":{title:"Property For PAD",containerId:"padAttrDialogContainer",width:400,height:560,modal:!0,closed:!0,enterConfirm:!0},"set-attr-text-position":{title:"Property Position",containerId:"setAttrTextDialogContainer",width:560,height:238,modal:!0,closed:!0},"operation-netrule-netclass":{title:"Net Class Operation",containerId:"operationNetClassDialogContainer",width:360,height:175,modal:!0,closed:!0},"batch-modify-spacing":{title:"Batch Modify Spacing Value",containerId:"batchModifySpacingDialogContainer",width:400,height:225,modal:!0,closed:!0},"global-cmd":{title:"Global CMD",containerId:"globalCmdDialogContainer",width:400,height:110,modal:!0,closed:!0},"category-select":{title:"Category",containerId:"categoryDialogContainer",width:600,height:450,modal:!0,closed:!0},"clear-cache":{title:"Clear Cache",containerId:"clearCacheDialogContainer",width:350,height:260,modal:!0,closed:!0},"place-pcb-text":{title:"Text",containerId:"placePcbTextDialogContainer",width:400,height:215,modal:!0,closed:!0},"renumber-pads":{title:"Renumber Pads",containerId:"renumberPadsDlg",width:800,height:348,modal:!0,closed:!0},"modify-pcb-text-suspension":{containerId:"modifyPcbTextSuspensionWindow"},"place-independent-via":{title:"Property For Independent Via",containerId:"placeIndependentViaDialogContainer",width:400,height:180,modal:!0,closed:!0},"save-to-footprint-file":{title:"New Footprint",containerId:"saveToFootprintFileDialogContainer",width:628,height:324,modal:!0,closed:!0,enterConfirm:!0},documentTemplateManager:{title:"Template Manager",containerId:"docTemplateManager2Container",width:1e3,closed:!0,modal:!0},deviceEditManager:{title:"New/Modify Device",containerId:"deviceEditManagerDialogContainer",width:1200,height:805,modal:!0,closed:!0,enterConfirm:!1},symbolManager:{title:"Add/Update Symbol",containerId:"symbolManagerDialogContainer",width:1300,height:720,modal:!0,closed:!0},footprintManager:{title:"Footprint Manager",containerId:"footprintManagerDialogContainer",width:1300,height:720,modal:!0,closed:!0},d3modelManager:{title:"3D Model Manager",containerId:"d3modelManagerDialogContainer",width:1280,height:720,modal:!0,closed:!0},pinDelayManager:{title:"Pin Delay Manager",containerId:"pinDelayManagerDialogContainer",width:860,height:720,modal:!0,closed:!0,esc:!0},exportPinDelay:{title:"Export Pin Delay",containerId:"exportPinDelayDialogContainer",width:260,height:520,modal:!0,closed:!0,esc:!0},"search-device":{title:"Select Device",containerId:"searchDeviceDialogContainer",width:1300,height:820,modal:!0,closed:!0},"choose-device":{title:"Device/Reuse Block",containerId:"chooseDeviceDialogContainer",width:1300,height:820,modal:!0,closed:!0,enterConfirm:!1},"choose-associate-device":{title:"Select Device",containerId:"chooseAssociateDeviceDialogContainer",width:1300,height:820,modal:!0,closed:!0,enterConfirm:!1},"drawing-selector":{title:"Select Drawing",containerId:"drawingSettingDialogContainer",width:1200,height:720,modal:!0,closed:!0,enterConfirm:!0},"design-rules":{title:"Design Rules",containerId:"DRDialogContainer",width:1200,height:675,minWidth:660,minHeight:250,modal:!0,closed:!0,resizable:!0},"design-rules-sch":{title:"Design Rules",containerId:"DRDialogContainer",width:1024,height:675,minWidth:660,minHeight:250,modal:!0,closed:!0,resizable:!0},"export-design-rules-file":{title:"Export Design Rules",containerId:"exportDesignRulesDialogContainer",width:400,modal:!0,closed:!0},"import-design-rules-file":{title:"Import Design Rules",containerId:"importDesignRulesDialogContainer",width:250,height:625,modal:!0,closed:!0},"upload-image-dialog":{title:"Upload Image",containerId:"uploadImgDialogContainer",width:720,height:480,modal:!0,closed:!0,enterConfirm:!0},"update-footprint":{title:"Update Footprint",containerId:"updateFootprintDialogContainer",width:720,height:480,modal:!0,closed:!0},"update-device":{title:"Update Device",containerId:"updateDeviceDialogContainer",width:720,height:480,modal:!0,closed:!0},"attribute-for-place-pad":{title:"Place Pad",containerId:"attrForPlacepadDialogContainer",width:350,height:175,modal:!0,closed:!0},"attribute-for-place-ind-via":{title:"Place Via",containerId:"attrForPlaceIndViaDialogContainer",width:300,height:210,modal:!0,closed:!0},"attribute-for-place-sut-via":{title:"Property For Sut VIA",containerId:"attrForPlaceSutViaDialogContainer",width:320,modal:!0,closed:!0},"attribute-auto-place-sut-via":{title:" Place/Remove Suture Vias",containerId:"attrAutoPlaceSutViaDialogContainer",width:320,modal:!0,closed:!0},"tear-drap":{title:"TearDrop",containerId:"tearDrapDialogContainer",width:660,height:605,modal:!0,closed:!0},"insert-image-file":{title:"Insert Image",containerId:"insertImgFileDialogContainer",width:655,modal:!0,closed:!0,enterConfirm:!0},"display-netlist-onpaste":{title:"Display Net List ",containerId:"disNetlistOnPasteDialogContainer",width:225,minHeight:100,maxHeight:200,zIndex:9999999},"display-overlap-primitive":{title:"Display Overlap Primitive",containerId:"disOverlapPrimitivesDialogContainer",maxWidth:400,minWidth:250,height:"auto",maxHeight:300,zIndex:9999999},"hover-canvas-primitive":{title:"Primitive Infomation",containerId:"hoverCvsPrimitiveDialogContainer",minWidth:200,maxWidth:500,minHeight:28,maxHeight:800,zIndex:9},"copper-manager":{title:"Copper Manager Dialog",containerId:"copperManagerDialogContainer",width:668,height:480,modal:!0,closed:!0},systemSettingManager:{title:"Settings",containerId:"systemSettingManagerDialogContainer",width:1048,modal:!0,closed:!0,enterConfirm:!0},projectSettingManager:{title:"Project Setting",containerId:"projectSettingDialogContainer",width:1048,modal:!0,closed:!0,enterConfirm:!0},"export-pick-place-file":{title:"Export Pick Place File",containerId:"exportPickPlaceFileDialogContainer",width:1034,height:626,modal:!0,closed:!0,enterConfirm:!0},"pcb-information":{title:"PCB Information",containerId:"pcbInformationDialogContainer",width:700,height:520,modal:!0,closed:!0},"absolute-offset":{title:"Absolute Offset...",containerId:"absoluteOffsetContainer",width:340,height:180,modal:!0,closed:!0},"relative-offset":{title:"Relative Offset...",containerId:"relativeOffsetContainer",width:340,height:258,modal:!0,closed:!0},"set-part-elements":{title:"Location",containerId:"setPartElementsContainer",width:340,height:180,modal:!0,closed:!0},"distribute-spacing":{title:"Set Spacing",containerId:"distributeSpacingContainer",width:340,height:150,closed:!0},"create-array":{title:"Create Array",containerId:"createArrayContainer",width:420,height:605,modal:!0,closed:!0},distribute:{title:"Distribute Array",containerId:"distributeContainer",width:420,height:605,closed:!0},"sch-create-array":{title:"Array",containerId:"dlgArrayAttribute",width:600,modal:!0,closed:!0},"find-objects":{title:"Find",containerId:"findDialogContainer",width:580,initialHeight:283,closed:!0},layerManager:{title:"Layer Manager",containerId:"layerManager2Container",width:850,height:720,closed:!0,modal:!0,resizable:!1},"electrical-rule":{title:"Design Rule",containerId:"electricalRuleDlg",width:800,height:650,closed:!0,mask:!0,resize:!0},"pcb-check-DRC-custom":{title:"Check DRC",containerId:"pcbCheckDRCCustomDlg",width:800,height:610,closed:!0,modal:!0,resizable:!0},"pcb-batch-fanout":{title:"Fanout Setting",containerId:"pcbBatchFanout",width:550,closed:!0,modal:!0,resizable:!0},"new-group":{title:"New Group",containerId:"newGroupDlg",width:320,height:150,closed:!0,modal:!0,enterConfirm:!0},"join-group":{title:"Join Group",containerId:"joinGroupDlg",width:340,height:143,closed:!0,modal:!0,enterConfirm:!0},"create-differentail-pair":{title:"Differential Pair Manager",containerId:"newDifferentailPairDialogContainer",width:600,height:290,modal:!0,closed:!0},"edit-smart-dimension":{title:"Smart Dimension",containerId:"editSmartDimension",width:340,height:150,modal:!0,closed:!0},"auto-create-differentail-pair":{title:"Auto Create Differential Pair",containerId:"autoDifferentailPairDialogContainer",width:600,height:400,modal:!0,closed:!0},"generate-3d-shell-outline":{title:"Generate 3D Shell - Outline",containerId:"generate3dShellOutlineDialogContainer",width:340,height:180,modal:!0,closed:!0},"prompt-3d-window":{title:"Notice",containerId:"promptToOpen3DVWDialog",width:432,height:180,modal:!0,closed:!0},"table-setting":{title:"Table Setting",containerId:"tableSetting",width:350,height:225,modal:!0,closed:!0},file_encrypted:{title:"File Encrypted",containerId:"fileEncrypted",width:400,height:185,modal:!0,closed:!0},"grid-range-setting":{title:"Grid Range Setting(Polar coordinate)",containerId:"gridRange",height:318,width:350,modal:!0,closed:!0},"equal-length-tuning":{title:"Equal Length Tunning Setting",containerId:"equalLengthTuning",width:600,modal:!0,closed:!0,enterConfirm:!0,esc:!0},"edit-netClass":{title:"Edit Net Class",containerId:"editNetClassDlg",width:1048,height:624,modal:!0,closed:!0},"join-net-group":{title:"Join Net Class",containerId:"joinNetGroupDlg",height:143,closed:!0,modal:!0,enterConfirm:!0},"action-for-locked-objects":{title:"Warning",containerId:"ActionForLockedObjects",width:400,height:236,modal:!0,closed:!0,enterConfirm:!0},"confirm-pad-move-option":{title:"Notice",containerId:"confirmMovePadOptionDialogContainer",width:400,modal:!0,closed:!0,enterConfirm:!0},panelize:{title:"Panelize",containerId:"Panelize",width:1440,height:740,modal:!0,closed:!0},"remove-unused-pad":{title:"Remove Unused Pad",containerId:"removeUnusedPad",width:400,mask:!1,closed:!0},"pad-coordinate-file":{title:"Pad Coordinate File",containerId:"padCoordinateFile",width:650,closed:!0},"new-library":{title:"New Library",containerId:"newLibraryFileDialogContainer",width:400,modal:!0,closed:!0,enterConfirm:!0},"netlabel-tab":{title:"Net Label",containerId:"netlabel-tab-dlg",width:600,modal:!0,closed:!0,enterConfirm:!0},"sch-move-tab":{title:"Move",containerId:"sch-move-tab-dlg",width:420,modal:!0,closed:!0,enterConfirm:!0},"pcb-move-tab":{title:"Move",containerId:"pcb-move-tab-dlg",width:420,modal:!0,closed:!0,enterConfirm:!0},"netport-tab":{title:"Net Port",containerId:"netport-tab-dlg",width:600,modal:!0,closed:!0},"netflag-tab":{title:"Net Flag",containerId:"netflag-tab-dlg",width:400,modal:!0,closed:!0,enterConfirm:!0},"netline-drawing-prop-conf":{title:"",containerId:"net-property-set-dialog-container",width:400,modal:!0,closed:!0,enterConfirm:!0},"client-setting":{title:"Client Setting",containerId:"openClientSettingDialogContainer",width:720,height:530,modal:!0,closed:!0,enterConfirm:!0},"netlabel-name-merge":{title:"Net Merge",containerId:"net-choose-dialog",width:600,modal:!0,closed:!0,enterConfirm:!0},"edit-pads-group":{title:"Pad Pair Group Manager",containerId:"editPadsGroupDlg",width:1024,height:370,modal:!0,closed:!0,enterConfirm:!1},"ocr-wizard":{title:"Datasheet Extract Wizard",containerId:"orc-wizard-dlg",width:1920,height:1080,modal:!0,closed:!0},"reuse-template-dialog":{title:"Update Place and Route from Reuse Template",containerId:"reuse-template-dlg",width:800,height:600,modal:!0,closed:!0},"fan-out-netlabel-or-noConnect":{title:"Fan Out Netlabel",containerId:"fan-out-netlabel-dlg",width:800,height:600,modal:!0,closed:!0},"pin-placement-tab":{title:"Pin",containerId:"symbol-pin-attr",width:700,height:280,modal:!0,closed:!0},"prepass-bom-standard-check":{title:"Notice",containerId:"prePassBomStandardCheck",width:430,modal:!0,closed:!0,esc:!0},"batch-rename":{title:"Batch rename",containerId:"batchReName",width:500,height:230,modal:!0,closed:!0},"export-bom":{title:"Export BOM",containerId:"exportBOMDlg1",width:1034,height:626,closed:!0,remove:!1},"dlg-find":{title:"Find And Replace",containerId:"dlgFind",width:600,closed:!0,mask:!1,esc:!0},"find-similar":{title:"Find Similar Objects",containerId:"find-similar",width:540,height:660,closed:!0,mask:!1,esc:!0},"place-symbol-tab":{title:"Device",containerId:"place-symbol-tab-dlg",width:500,modal:!0,closed:!0,enterConfirm:!0,esc:!0},"sch-table":{title:"Table Properties",containerId:"table-property-dlg",width:510,modal:!0,closed:!0,enterConfirm:!0,esc:!0},"sch-new-combination":{title:"New Group",containerId:"sch-new-combination",width:320,height:180,closed:!0,mask:!0,esc:!0,footer:!0},"replace-device":{title:"Device Manager",containerId:"replace-device",width:1122,height:700,closed:!0,mask:!0,esc:!0},"drawing-attr-text-new":{title:"Text",containerId:"drawing-attr-text-new",width:600,height:400,closed:!0,mask:!0,esc:!0,footer:!0},"export-manufacture-for-one-click":{title:"One-click Export Manufacturing Files",containerId:"export-manufacture-for-one-click",width:750,closed:!0,mask:!0,esc:!0,footer:!0},"export-gerber":{title:"Export PCB Fabrication File",containerId:"export-gerber",width:750,closed:!0,mask:!0,esc:!0,footer:!0},"export-odb++":{title:"Export ODB++",containerId:"export-odb++",width:750,closed:!0,mask:!0,esc:!0,footer:!0},"export-3d-shell-file":{title:"Export 3D Shell File",containerId:"export3DShellFile",width:600,closed:!0,mask:!0,esc:!0,footer:!0},"confirm-close":{title:"Warning",containerId:"confirm-close",width:400,height:210,close:!0,mask:!1,esc:!0,footer:!0},"save-as-same-name-symbol-footprint":{title:"Symbol/Footprint Save as",containerId:"save-as-same-name-symbol-footprint",width:1278,height:793,closed:!0,mask:!0,esc:!0,footer:!0},"sch-set-attr-position":{title:"Property Location",containerId:"setAttrPositionInSch",width:560,height:250,closed:!0,mask:!1,esc:!0,footer:!0},cbb_save_as_local:{title:"Save As Reuse Block(Local)",containerId:"cbbSaveAsLocalDlg",width:600,closed:!0,mask:!0,esc:!0,footer:!0},"import-file":{title:"Import",containerId:"dlgImport_pcb_lc",width:600,closed:!0,mask:!1,esc:!0,footer:!0},"export-3d-file":{title:"Export 3D File",containerId:"export3DFile",width:600,close:!0,mask:!1,esc:!0,footer:!0},"new-3d-model":{title:"New 3D Model",containerId:"new3DModelDlg",width:628},cbb_save_as_cloud:{title:"Save As Reuse Block",containerId:"cbbSaveAsCloudDlg",width:600,closed:!0,mask:!0,esc:!0,footer:!0},projectSaveAsLocalDialog:{title:"Project Save as (Local)",containerId:"projectSaveAsLocalDialog",width:650,closed:!0,esc:!0,footer:!0,height:"auto"},librarySaveAsLocalDialog:{title:"Library Save as (Local)",containerId:"librarySaveAsLocalDialog",width:650,closed:!0,esc:!0,footer:!0,height:"auto"},"add-pcb-via-fence":{title:"Add Via Fence",containerId:"dlg_Add_Via_Fence",width:465,closed:!0,mask:!1,esc:!0,footer:!0},"convert-board-to-line":{title:"Generate Lines from Board Shape",containerId:"dlg_Convert_Board_To_Line",width:300,closed:!0,mask:!0,esc:!0,footer:!0},noticeCompVUpdatedDlg:{title:"Warning",containerId:"noticeCompVUpdatedDlg",width:440,height:190,closed:!0,mask:!1,esc:!0,footer:!0},"export-netlist":{title:"Export Netlist",containerId:"export_netlist",width:600,modal:!0,closed:!0,enterConfirm:!0},"verify-now":{title:"Verify Now",containerId:"verifyNow",width:600,closed:!0,enterConfirm:!0},sch_delete:{title:"Warning",containerId:"schDelete",width:400,closed:!0,mask:!1,esc:!0},"renumber-pins":{title:"Renumber Pins",containerId:"renumberPinsDlg",width:800,closed:!0,mask:!1,esc:!0,footer:!0},extapi_dialog_information_message:{title:"Information Dialog Title",containerId:"extapiDialogInformationMessageDlg"},extapi_dialog_confirmation_message:{title:"Confirmation Dialog Title",containerId:"extapiDialogConfirmationMessageDlg",width:400,closed:!0,mask:!1,esc:!0,footer:!0},extapi_standalone_script:{title:"Standalone Script",containerId:"extapiStandaloneScriptDlg",width:720,closed:!0,mask:!1,esc:!1,footer:!0},extapi_extensions_manager_new:{title:"Extensions Manager",containerId:"extapiExtensionsManagerNewDlg",width:1150,height:780,closed:!0,mask:!0,esc:!0,footer:!0},extapi_extension_change_version:{title:"Select the Installation Version",containerId:"extapiExtensionChangeVersionDlg",width:500,height:300,closed:!0,mask:!0,esc:!0,footer:!0},"export-test-point-report":{title:"Export Test Point Report",containerId:"export-test-point-report",width:500,height:"auto",closed:!0,esc:!0,footer:!0},"set-origin":{title:"Set Coordinate",containerId:"set-origin",width:346,height:"auto",closed:!0,mask:!0,esc:!0,footer:!0},"eda-about":{title:"About",containerId:"dlg_about",width:450,closed:!0,mask:!1,esc:!0,footer:!0},"import-lib":{title:"Import Library",containerId:"dlgChooseLibs_lc",width:500,closed:!0,mask:!1,esc:!0,footer:!0},"import-netlist":{title:"Confirm Importing changes information",containerId:"dlgShowImportChanges",width:850,closed:!0,mask:!0,esc:!0,footer:!0},ipc_dac_2552:{title:"IPC/DAC-2552 Properties",containerId:"ipc-dac-2552",width:1300,height:800,closed:!0,mask:!0,esc:!0,enterConfirm:!1},"batch-create-device":{title:" Create Devices in Batch",containerId:"batch-create-devices",width:628,footer:!0,closed:!0,mask:!0,esc:!0,enterConfirm:!1},partitionManager:{title:"Partition Manager",containerId:"partitionManager2Container",width:1200,height:480,closed:!0,modal:!0,resizable:!1},"d3-model-exception":{title:"Tips",containerId:"d3-model-exception",width:660,height:360,closed:!0,modal:!0,resizable:!1},exportDxf:{title:"Export DXF",containerId:"ExportDXF",width:628,footer:!0,closed:!0,mask:!0,esc:!0,enterConfirm:!1},reuse_layout_route:{title:"Reuse Layout Route Matching",containerId:"Reuse Layout Route",width:700,height:480,closed:!0,newDialogPostionLeft:null,newDialogPostionTop:null},componentMask:{title:"Set Component Mask",containerId:"setComponentMask",width:428,closed:!0,mask:!1,esc:!0,folded:!0},"auto-place-test-pad":{title:"Auto Place Test Pad",containerId:"autoPlaceTestPadDialogContainer",width:720,height:605,modal:!0,mask:!0},export_ipc2581c_file:{title:"export IPC_2581C File",containerId:"exportIPC_2581CFile",width:535,closed:!0,esc:!0},performanceDiagnostics:{title:"Performance Diagnostic Tools",containerId:"performanceDiagnosticsDialogContainer",width:700,modal:!0,closed:!0},new_Simulation:{title:"Creart New Simulation",containerId:"CreartNewSimulation",width:480,height:240,modal:!0,closed:!0},engine_detecton:{title:"Engine Detecton",containerId:"Engine_detecton",width:480,height:240,modal:!0,closed:!0},new_SimModel:{title:"Creart New SimModel",containerId:"CreartNewSimModel",width:700,height:600,modal:!0,closed:!0},sim_Model_Manager:{title:"Sim Model Manager",containerId:"simModelManagerDialogContainer",width:1035,height:720,modal:!0,closed:!0},ng_sim_setting:{title:"NG Sim Setting",containerId:"ngsimSetting",width:720,height:584,modal:!0,closed:!0},sim_electrical_rule:{title:"Design Rule",containerId:"simElectricalRuleDlg",width:800,height:650,closed:!0,mask:!0,resize:!1},run_script:{title:"Run Script",containerId:"runScriptDlg",width:600,height:600,closed:!0,mask:!1,esc:!1,resize:!0},autoBoard:{title:"Error",containerId:"autoBoard",width:400,closed:!0,mask:!1,esc:!0},script_manager:{title:"Script Manager",containerId:"scriptManagerDialog",width:600,height:800,closed:!0,mask:!1},video_capture:{title:"Video Capture",containerId:"video_capture",width:400,closed:!0,mask:!1,esc:!0},placeMultiPinTab:{title:"Pin",containerId:"place_multi_pin_tab",width:700,closed:!0,mask:!0,esc:!0},sch_comparison:{title:"Schematic Comparison",containerId:"sch_comparison",width:500,height:215,closed:!0,mask:!0,esc:!0},ngspice_waveform:{title:"ngspiceWaveform",containerId:"ngspiceWaveform",width:660,height:540,closed:!0,mask:!1,esc:!0},simulation_Oscilloscope:{title:"SimulationOscilloscope",containerId:"SimulationOscilloscope",width:1120,height:646,closed:!0,mask:!1,esc:!0,resize:!0},spcie_rule_warnning:{title:"Tips",containerId:"spcieRuleWarnning",width:400,height:200,closed:!0,mask:!1,esc:!0},libImportManager:{title:"Library import",containerId:"libImportManagerDialogContainer",width:600,modal:!0,closed:!0,enterConfirm:!1},analysisImportManager:{title:"Import",containerId:"analysisImportManagerDialogContainer",width:640,modal:!0,closed:!0,enterConfirm:!1},newProjectImportManager:{title:"Import Document",containerId:"newProjectImportManagerDialogContainer",width:650,modal:!0,closed:!0,enterConfirm:!1},fileDescrImportManager:{title:"File Encrypted",containerId:"fileDescrImportManagerDialogContainer",width:450,modal:!0,closed:!0,enterConfirm:!1},copyReuseBlocks:{title:"Notice",containerId:"copyReuseBlocks",width:400,modal:!0,closed:!0,enterConfirm:!1},importDxf:{title:"Import DXF",containerId:"importDxf",width:1040,height:560,closed:!0},Editor_Simulation_Pins:{title:"Editor Simulation Pins",containerId:"editor_simulation_pins",width:775,height:700,closed:!0},"cutout-to-avoid-dialog":{title:"Enter Expansion Distance",containerId:"cutout-to-avoid-dialog",width:350,height:175,modal:!0,closed:!0},batchSave:{containerId:"batchSave",width:628,height:175,modal:!0,closed:!0},orderJlcPcbLayoutService:{containerId:"order-JlcPcb-Layout-Service",title:"Select Range",width:628,mask:!0,closed:!0},"Simulation Netlist":{containerId:"Simulation Netlist",title:"Simulation Netlist",width:1e3,height:600,mask:!0,closed:!0}};var kui={file:"Import Document",lib:"Extract Libraries","file&amp;lib":"Import Document and Extract Libraries"};var Pui={cover:"All Cover Oil",custom:"Follow Original Setting"};var Oui={keepout:"From Keepout Layer",mechanical:"From Mechanical Layer 1"};var Rui={system:"Use system theme(Change theme will update color)",custom:"Use source file style(Change theme will not update color)"};var _ui={"smt-coordinate":"Generates Pick and Place File","smt-bom":"Generates BOM File","smt-jlcjson":"Generates SMT merge File"};var jui={"auto-associate-footprint":"Associate footprint\xA0automatically","auto-associate-3dModel":"Associate 3D model automatically"};var Bui={import_notes:"Import Footprint\xA0Notes Layer"},NPe={easyeda_lc:{value:"easyeda",text:"JLCEDA(Standard) (*.zip, *.json)"},easyeda:{value:"easyeda",text:"EasyEDA(Standard) (*.zip, *.json)"},proeda_lc:{value:"proeda",text:"JLCEDA(Professional) (*.zip,*.epro,*.epro2,*.elibz,*.elibz2, *.esym,*.efoo,*.epanl)"},proeda:{value:"proeda",text:"EasyEDA(Professional) (*.zip, *.esym,*.efoo)"},altium_lc:{value:"altium",text:"Altium Designer (*.zip, *.schdoc, *.pcbdoc, *.schlib, *.intlib, *.pcblib)"},altium:{value:"altium",text:"Altium Designer (*.zip, *.schdoc, *.pcbdoc)"},allegro_orcad:{value:"allegro_orcad",text:"Allegro/OrCad (*.zip, *.ebrd, *.edra, *.edf, *edif, *.xml)"},eagle:{value:"eagle",text:"EAGLE (*.zip, *.sch, *.brd, *.lbr)"},kicad:{value:"kicad",text:"KiCad (*.zip, *.lib, *.kicad_sch, *.kicad_pcb, *.kicad_sym, *.kicad_mod, *.mod)"},pads:{value:"pads",text:"PADS/PADS Pro (*.asc, *.eds, *.txt, *.zip, *.d, *.c, *.1)"},protel:{value:"protel",text:"Protel (*.zip, *.sch, *.pcb)"},ltspice:{value:"ltspice",text:"LTspice (*.zip,*.asy)"},"disa-4001":{value:"disa-4001",text:`T/DISA 4001... (${Object.values(ZCe).map(t=>`*${t}`).join(", ")})`},"smt-jlcjson":{value:"smt-jlcjson",text:"JLCSMT Preview (*.json,*.zip)"},dxf:{value:"dxf",text:"DXF(*.dxf)"}},zui=(()=>{let t=["dxf","smt-jlcjson"],e=new Set;for(let i in NPe){let o=NPe[i];t.includes(o.value)||e.add(o.value)}return[...e]})();var kPe=L(Vi());async function Fui(){document.title=Xr?"JLCEDA Pro":Nt?"JLCECAD":"EasyEDA Pro";let t=Xr?"M345,83.9C325.8,33.4,277.4,0,223.4,0c-41.3,0-80.2,19.7-104.7,53c-4.9-0.7-9.8-1-14.8-1    C46.5,52,0,98.5,0,155.9c0,25.8,9.6,50.6,26.8,69.7c13.7,15,31.4,25.7,51.1,30.8c11.2,33.5,47.4,51.5,80.9,40.3    c26.1-8.7,43.6-33.1,43.6-60.6c0-2-0.1-4.2-0.3-6.2l89.7-47.1l-19.7-34l-85.7,45.1c-23.2-26.6-63.6-29.3-90.2-6.1    c-8.2,7.2-14.5,16.4-18.1,26.7c-32.4-14.3-47-52.2-32.7-84.5s52.2-47,84.5-32.7c2.7,1.2,5.4,2.6,7.9,4.2    c15.6-47.3,66.5-72.9,113.8-57.3c33.4,11,57.4,40.5,61.3,75.5c1.6-0.2,3.2-0.2,4.8-0.2c27.7-1,51,20.7,51.9,48.4    c1,27.4-20.2,50.5-47.5,51.9h-28.8c-1.3-0.3-2.6-0.4-3.9-0.4c-11-0.5-20.4,8.1-20.9,19.1s8.1,20.4,19.1,20.9v0.2h37.7    c49.5-4,86.4-47.4,82.4-97C404.9,126,380,94.9,345,83.9z M138.6,211.4c13.6,0.1,24.7,11.2,24.6,24.8    c-0.1,13.6-11.2,24.7-24.8,24.6s-24.6-11.1-24.6-24.7C113.9,222.4,124.9,211.4,138.6,211.4zM1391.7,36h-118.3l-30,219.3h123.7c10.6-0.8,18.5-10.1,17.6-20.7c-0.8-9.5-8.4-17-17.9-17.6h-76.7l8.1-58.1    h79c10.7,0.3,19.6-8.2,19.9-18.9c0.2-9.8-6.9-18.3-16.7-19.7h-76.8l6.2-45.5h82.1c10.7,0,19.4-8.7,19.4-19.4l0,0    C1411.1,44.7,1402.4,36.1,1391.7,36zM1606.1,141.1c0-21.6-5-40.6-14.9-57.1c-9.9-16.6-22.9-28.6-38.8-36.3s-40.1-11.6-72.7-11.6H1445l-30,219.3    h68.1c28.6,0,51-4.2,67.1-12.7s29.5-22,40-40.5C1600.8,183.6,1606.3,162.5,1606.1,141.1z M1552.2,186.4    c-7.5,11.7-18.6,20.6-31.6,25.5c-9.3,3.4-24.4,5.2-45.3,5.2h-13.5l19.3-142.3h10.3c17,0,30.4,2.7,40.7,8    c9.9,5.1,18.1,13,23.6,22.7c5.5,9.9,8.4,22,8.4,36.5C1564.1,159.5,1560.1,174.3,1552.2,186.4L1552.2,186.4zM1764.1,138.7l-24,13.2c-2.1,19.3-19.4,33.2-38.6,31.2s-33.2-19.4-31.2-38.6s19.4-33.2,38.6-31.2    c5.9,0.6,11.5,2.7,16.4,6.1l29.8-16.4L1739,38.3h-34.1l-116,214.9h43.4l24.4-45.7h85.3l11.5,45.7h39.2L1764.1,138.7zM1132.7,209.7c2.6,2.9,6.2,4.5,10.1,4.6h0.5c7.6,0,14-5.7,15-13.2l20.3-143.7h-29.2l-20.1,141.7    C1128.9,203,1130.1,206.8,1132.7,209.7zM1167.4,225.8c-0.4,2.5-1.6,4.8-3.4,6.6c-1.6,1.6-3.8,2.5-6.1,2.5H1138c-7.5,0.2-13.8,5.7-14.9,13.2v0.5    c-0.5,3.9,0.6,7.8,3.2,10.7c2.6,2.9,6.2,4.6,10.1,4.6h19.9c5.1,0.1,10.1-1,14.7-3.2c13.7-5.6,23.3-18.1,25.1-32.8l25.1-193.6    h-28.9L1167.4,225.8zM1123.9,107.3c3.6-0.1,6.5-3,6.5-6.6c0-0.6-0.1-1.3-0.3-1.9h0.1l-12-42.1v-0.2c-3.1-8.1-7-14.3-11.9-18.1    l-0.5-0.4c-5.6-3.7-13-5.5-22.7-5.5h-32.6c-9.2,0-16.9,1.9-22.8,5.6c-6.6,4.3-12,10.1-15.8,17c0,0-16.7,28-25.4,42.4h0.1    c-0.5,1-0.8,2-0.8,3.1c0,3.6,3,6.6,6.6,6.6h20.8c1.7-2.8,3.4-5.4,5-8.1l0.5-0.8c5.4-9.4,12.2-20.8,17.5-29.5v-0.2    c1.3-2.3,3.2-4.3,5.4-5.8c2.2-1.1,4.6-1.6,7.1-1.5h32.6c2.7,0,4.8,0.4,5.8,1.1c1.5,1.2,2.6,2.9,3.2,4.7l11.6,40h21.1    C1123.3,107.3,1123.6,107.3,1123.9,107.3zM1090.1,116.2h-60.9c-8.8,0.2-17.3,3.5-23.9,9.3c-6.7,5.6-11.2,13.3-12.8,21.9l-14.4,78.7    c-0.9,4.8-0.7,9.7,0.5,14.4c2,8.9,8.1,16.3,16.4,20c4.3,2.3,9.1,3.4,14,3.3h84.2c7.6-0.1,14.1-5.6,15.4-13.1v-0.5    c0.7-3.8-0.3-7.7-2.8-10.7c-2.4-2.9-6.1-4.6-9.9-4.5h-84.2c-1.7,0-3.3-0.7-4.4-2l-0.2-0.2c-0.7-0.7-1.5-1.9-1-4.7l14.5-78.8    c0.1-1.3,0.9-2.4,2-3.1l0.5-0.4c0.7-0.7,1.4-1,3.2-1h62.1l0.3,0.4c0.2,0.3,0.5,0.6,0.2,2l-7.6,33.2c-0.3,2.6-2.5,4.6-5.1,4.6H1049    c-7.6,0.1-14,5.6-15.4,13v0.8c-0.7,3.7,0.3,7.4,2.7,10.3c2.5,2.9,6.2,4.5,10,4.5h31.4c16.5,0,28.6-10.5,30.3-24.1    c1-3.7,9.7-40.3,9.7-40.3c0.8-4.1,0.6-8.4-0.6-12.4C1113.7,124.3,1103.3,116.2,1090.1,116.2zM936.1,234.7H731l-2.1,22.4h0.1c-0.1,3.6,2.9,6.6,6.5,6.7h0.1h198.8c7.5-0.2,13.8-5.8,14.8-13.2V250    c0.5-3.9-0.7-7.8-3.2-10.8C943.5,236.4,939.9,234.7,936.1,234.7zM876,228.3l1.5,0.4c1.2,0.3,2.4,0.5,3.6,0.5l0,0c5.8-0.1,11.1-3.4,13.6-8.7c15.6-33.5,27.6-86.1,40.2-128.2    V92c0.1-0.3,0.1-0.5,0.2-0.8h-30c-11.8,39.3-22.7,88.7-36.6,118.7c-1.7,3.6-1.7,7.7,0,11.3C869.8,224.5,872.6,227.1,876,228.3zM788.8,215.1c1,6.4,6.6,11.1,13.1,10.9c1,0,2-0.1,3-0.3h0.3c7-1.7,11.8-8.2,11.3-15.4L804.4,93.6h-28.3    l12.7,121L788.8,215.1L788.8,215.1zM945.8,52.9h-72.6l3.9-25.3H854c-3.4,0-6.1,2.6-6.5,5.9l0,0l-3.4,19.4h-88.4l-1.9,20.4    c-0.1,0.4-0.1,0.9-0.1,1.3c0,3.7,2.9,6.6,6.6,6.7h183.8c7.5,0.1,13.9-5.4,15-12.9v-0.2c0.5-3.8-0.6-7.7-3.1-10.7    C953.5,54.4,949.7,52.7,945.8,52.9zM535.8,203h23.8c14.4,0,20.5,7.2,18.2,21.7l-3.4,18.6c-1.6,14.5-9.1,20.1-26,20.6H518v-19.5h18.4    c7.9,0,10.8-2.5,11.9-6.5l1.3-5.6c1.6-5.1-1.7-7.6-9.6-7.6h-13c-12.3,19.4-30.8,30.2-61.9,39.5l-7.7-19.5    c20.5-6.5,28.9-9.7,40.4-20h-30.5l3.4-21.7h38c0-0.4,0.9-3.5,1.6-6.3c0.8-2.6,3.2-4.5,5.9-4.5h22.4L535.8,203zM490.6,57.4l2.3-14.6h98.6l1.6-10c0.4-3,3-5.2,6-5.2h26.2l-2.4,15.2H711c6,0,10.8,4.8,10.8,10.8    c0,0.6,0,1.2-0.1,1.7l0,0c-0.8,5.3-5.4,9.2-10.7,9.2h-91.5l-1.7,10.8h73.7c5.1,0,9.2,4.1,9.2,9.2c0,0.5,0,1-0.1,1.5l0,0    c-0.7,4.5-4.6,7.7-9.1,7.7H507.1c-3.4,0-6.1-2.8-6.1-6.1c0-0.3,0-0.6,0.1-0.9l1.8-11.4h83.4l1.8-10.8h-91.5    c-3.4,0-6.1-2.7-6.1-6.1C490.5,58.1,490.5,57.7,490.6,57.4zM694.7,167.4h-47.1c1-1,1.9-2,2.7-3.2c2-3.6,3.5-6.5,4.6-8.7h9.8c16.6,0,26-6.9,28.1-20.6l1.9-11.9    c2.1-13-4.1-19.5-18.6-19.5H518c-13,0-20.6,6.9-22.8,20.6l-1.9,11.9c-2.1,13,4.1,19.5,18.6,19.5h9.7c0.9,3.6,1.5,6.5,1.9,8.7    c0.3,1.2,0.9,2.3,1.7,3.2H471l-2,12.5c-0.5,3.3,1.8,6.4,5.1,6.9c0.3,0,0.6,0.1,0.9,0.1h219.7c5.4-0.5,9.3-5.4,8.8-10.7    C703,171.5,699.3,167.9,694.7,167.4z M521.2,130.6l0.7-4.4c0.6-3.6,3.1-5.4,7.4-5.4h130c4.4,0,6.2,1.8,5.7,5.4l-0.7,4.4    c-0.8,5-3.4,7.6-7.7,7.6H526.5C522.2,138.2,520.4,135.6,521.2,130.6z M617.8,164.2c-0.8,1.2-1.7,2.2-2.7,3.2h-58.5    c-0.7-1-1.3-2-1.7-3.2c-0.8-3.6-1.5-6.5-1.8-8.7h69.3C620.4,159.1,618.8,162,617.8,164.2L617.8,164.2zM677.3,198.8H621c-14.5,0-22.8,6.9-25,20.6l-3.9,24.9c-2.9,13.8,2.6,19.1,18.6,19.5h54.1    c16.1-0.4,23.8-6.1,26.1-20.5l3.6-22.8C696.7,206.1,691,198.8,677.3,198.8z M664.2,227l-1.4,8.7c-0.9,5.8-3.9,8.6-9,8.6h-24.9    c-7.2,0-10.1-2.5-8.5-7.5l1.3-8.7c1-5.8,4.3-8.7,10.1-8.7h26C662.8,219.4,665,222,664.2,227z":`M25.38.915c-2.516 0-4.918.786-6.944 2.27a11.531 11.531 0 0 0-2.524
    2.525 9.622 9.622 0 0 0-1.336-.096 9.351 9.351 0 0 0-6.648 2.752 9.337
    9.337 0 0 0-2.752 6.647 9.38 9.38 0 0 0 2.428 6.298 9.366 9.366 0 0 0
    4.621 2.795 5.786 5.786 0 0 0 5.477 3.94 5.79 5.79 0 0 0
    5.757-6.342l8.115-4.263-1.773-3.075-7.757 4.07a5.757 5.757 0 0
    0-4.341-1.964c-2.507 0-4.647 1.607-5.451 3.844a5.804 5.804 0 0
    1-3.476-5.311 5.802 5.802 0 0 1 8.875-4.918c1.074-3.241 4.132-5.582
    7.73-5.582 4.193 0 7.634 3.162 8.097
    7.224.148-.017.297-.026.445-.026a4.544 4.544 0 0 1 4.542 4.542 4.545
    4.545 0 0 1-4.149 4.525h-2.594a1.815 1.815 0 0 0-.506
    3.59v.017h3.258l.158-.017a8.1 8.1 0 0 0 5.285-2.594 8.135 8.135 0 0 0
    2.158-5.52c0-3.616-2.402-6.708-5.704-7.748a11.703 11.703 0 0
    0-3.127-4.57A11.755 11.755 0 0 0 25.382.916zm24.03 5.87l-2.411
    17.56h9.888a1.537 1.537 0 0 0 1.503-1.53 1.54 1.54 0 0
    0-1.538-1.536l-6.132.008.646-4.656 6.315.009c.857 0 1.554-.699
    1.554-1.555a1.52 1.52 0 0 0-1.275-1.537h-6.149l.507-3.642
    6.56-.009a1.56 1.56 0 0 0
    1.556-1.555c0-.856-.7-1.555-1.556-1.555zm52.97.009l-2.394
    17.54h9.898a1.536 1.536 0 0 0
    1.501-1.53c0-.847-.69-1.536-1.536-1.536l-6.133.008.646-4.656
    6.325.009c.856 0 1.555-.699 1.555-1.555a1.55 1.55 0 0
    0-1.293-1.529h-6.15l.507-3.642 6.56-.009c.856 0 1.555-.699
    1.555-1.555a1.577 1.577 0 0 0-1.572-1.546zm14.25.008l-2.394
    17.54h5.451c2.288 0 4.08-.34 5.364-1.022 1.284-.681 2.358-1.764
    3.205-3.24.848-1.486 1.267-3.11 1.267-4.884
    0-1.72-.402-3.25-1.197-4.569s-1.825-2.288-3.101-2.9c-1.275-.62-3.206-.926-5.818-.926zm21.06.026l-9.434
    17.47h3.529l1.992-3.72h6.935l.926 3.72h3.18l-2.324-9.303-1.948
    1.074a2.829 2.829 0 0 1-2.813 2.507 2.83 2.83 0 1 1
    1.616-5.153l2.42-1.336-1.31-5.259zm-18.17 3.057h.83c1.354 0 2.437.21
    3.249.638a4.63 4.63 0 0 1 1.896 1.817c.445.786.673 1.756.673
    2.917-.009 1.406-.324 2.603-.961 3.564-.638.96-1.476 1.642-2.525
    2.035-.751.28-1.957.42-3.625.42h-1.083zM80.49 11.03c-1.119
    0-2.096.341-2.918 1.022-.821.682-1.231 1.572-1.231 2.656 0 .778.261
    1.52.786 2.22.375.497 1.057 1.1 2.035 1.798.847.603 1.371 1.022 1.564
    1.258.192.236.288.463.288.69 0
    .28-.122.516-.376.725-.253.201-.585.306-1.004.306-1.057
    0-2.035-.585-2.926-1.764l-1.966 2.288c.874.926 1.668 1.572 2.376
    1.922s1.502.524 2.368.524c1.502 0 2.646-.428 3.441-1.284s1.188-1.773
    1.188-2.734a3.82 3.82 0 0
    0-.576-2.035c-.385-.62-1.189-1.37-2.411-2.245-.769-.55-1.224-.917-1.372-1.109-.157-.192-.235-.384-.235-.576-.009-.201.095-.376.296-.533s.446-.236.725-.236c.376
    0 .778.14 1.206.41s.838.7 1.231 1.285L84.5 13.18a4.976 4.976 0 0
    0-1.765-1.59 4.726 4.726 0 0 0-2.245-.56zm-13.71.01c-1.196
    0-2.34.322-3.432.969s-1.966 1.546-2.612 2.708c-.647 1.153-.979
    2.376-.979 3.65 0 1.678.507 3.146 1.52 4.412 1.014 1.267 2.385 1.896
    4.106 1.896.751 0 1.424-.123 2.026-.385.603-.253 1.249-.699
    1.939-1.345 0 0 .813.708.822.7a3.252 3.252 0 0 0
    1.816.698h.315l.043-.376
    1.11-9.338h-.018c0-.672-.541-1.214-1.213-1.223h-1.092l-.114-.21c-.445-.707-1.004-1.24-1.677-1.606-.681-.367-1.756-.55-2.56-.55zm19.35.322l3.651
    11.21-3.686 6.516h3.363l10.19-17.72h-3.434l-4.437
    7.696-2.524-7.696zm-19.11 2.603c.979 0 1.765.315 2.358.935.595.629.892
    1.45.892 2.481 0 .777-.201 1.546-.594 2.288s-.883 1.293-1.467
    1.642c-.586.35-1.268.524-2.053.524-.943
    0-1.712-.306-2.315-.934-.603-.62-.9-1.442-.9-2.455 0-1.32.393-2.393
    1.188-3.232.795-.839 1.756-1.25 2.891-1.25zm70.76.62a1.092 1.092 0 1 0
    0 2.185 1.092 1.092 0 0 0 0-2.185zm-120.1 5.442a2.24 2.24 0 0 1 2.236
    2.236 2.24 2.24 0 0 1-2.236 2.236 2.24 2.24 0 0 1-2.236-2.236 2.24
    2.24 0 0 1 2.236-2.236z`;!Xr&&(0,kPe.default)(".onlyLceda").remove(),Xr&&(0,kPe.default)(".onlyEasyeda").remove(),N4t()&&(0,kPe.default)(".onlyDev").remove()}function N4t(){return!(wi||["pro.lceda.cn","pro.easyeda.com"].includes(location.host))}var vcr="1 GB",PPe="file",OPe="cover",RPe="keepout",_Pe="system",jPe="smt-coordinate",BPe={"auto-associate-footprint":{checked:!0},"auto-associate-3dModel":{checked:!0}},zPe={import_notes:{checked:!0}},FPe=class extends qe{constructor(i){var o;super();this.disableImport=!1;this.fileLength=0;this._urlFrom="";this._fileTypeListData=this.createListData(),this._activeType=this.checkActive(i)?i:(o=this._fileTypeListData[0])==null?void 0:o.value,this._fileName="",this._size=vcr,this._importChecked=PPe,this.importInType=zui,this.createImportRadioData(),this.expansionInType=["protel","altium"],this._expansionChecked=OPe,this.createExpansionRadioData(),this.boardInType=["protel","altium"],this._boardChecked=RPe,this.createBoardRadioData(),this._styleChecked=_Pe,this.createStyleRadioData(),this._smtChecked=jPe,this.createSmtRadioData(),this._footprintAnd3DModelChecked=JSON.parse(JSON.stringify(BPe)),this.createFootprintAnd3DModelCheckBoxData(),this._notesChecked=zPe,this.createNotesCheckBoxData(),this.buttonText="Import",this.from=""}update(){this.notify()}clear(){this._fileName="",this._importChecked=PPe,this._expansionChecked=OPe,this._styleChecked=_Pe,this._smtChecked=jPe,this._boardChecked=RPe,this._footprintAnd3DModelChecked=JSON.parse(JSON.stringify(BPe)),this._notesChecked=zPe,this.disableImport=!1}updateExpansionRadio(){this._needShowExpansion=this.expansionInType.includes(this._activeType),this._needShowExpansion&&(this._expansionChecked=OPe,this.updateChecked(OPe,this._expansionOptions))}updateBoardRadio(){this._needShowBoard=this.boardInType.includes(this._activeType),this._needShowBoard&&(this._boardChecked=RPe,this.updateChecked(RPe,this._boardOptions))}updateSmtRadio(){this._needShowSmt=this.forSmt,this._needShowSmt&&(this._smtChecked=jPe,this.updateChecked(jPe,this._smtOptions))}updateFootprintAnd3dChecked(){this._needShowFootprintAnd3DModel=this.getFootprintAnd3dNeedShow(this.importInType),this._needShowFootprintAnd3DModel&&(this._footprintAnd3DModelChecked=JSON.parse(JSON.stringify(BPe)),this.updateCheckedBox(BPe,this._footprintAnd3DModelOptions))}updateNotesChecked(){this._needShowNotes=this.getNotesNeedShow(this.importInType),this._needShowNotes&&(this._notesChecked=zPe,this.updateCheckedBox(zPe,this._notesOptions))}updateImportRadio(){this._needShowImport=this.getNeedShow(this.importInType),this._needShowImport&&(this._importChecked=PPe,this.updateChecked(PPe,this._importOptions))}updateStyleRadio(){this._needShowStyle=this.getNeedShow(this.importInType),this._needShowImport&&(this._styleChecked=_Pe,this.updateChecked(_Pe,this._styleOptions))}updateImportRadioDisable(i,o){for(let r of this._importOptions)if(r.value==i){r.disabled=o;return}}updateImportRadioChecked(i){this._importChecked=i}getNeedShow(i){return!(this.forSmt||this.forEngine)&&i.includes(this._activeType)&&this.fileLength<=1}getFootprintAnd3dNeedShow(i){return!(this.forSmt||this.forEngine)&&i.includes(this._activeType)}getNotesNeedShow(i){return!(this.forSmt||this.forEngine)&&i.includes("allegro_orcad")}get needShowExpansion(){return this._needShowExpansion}get needShowBoard(){return this._needShowBoard}get needShowSmt(){return this._needShowSmt}get needShowImport(){return this._needShowImport}get needShowStyle(){return this._needShowStyle}get needShowFootprintAnd3DModel(){return this._needShowFootprintAnd3DModel}get needShowNotes(){return this._needShowNotes}get confirmBtn(){return this.buttonText}get needBind(){return this._needBind}set needBind(i){this._needBind=i}get from(){return this._from}set from(i){this._from=i,this._forSmt=this._from==="smt",this._forEngine=this._from==="engine",this._forSmt||this._forEngine?this.buttonText="Generate":this.buttonText="Import",this.updateImportRadio(),this.updateExpansionRadio(),this.updateBoardRadio(),this.updateStyleRadio(),this.updateSmtRadio(),this.updateFootprintAnd3dChecked(),this.updateNotesChecked()}get forSmt(){return this._forSmt}get forEngine(){return this._forEngine}get importOptions(){return this._importOptions}get expansionOptions(){return this._expansionOptions}get boardOptions(){return this._boardOptions}get styleOptions(){return this._styleOptions}get smtOptions(){return this._smtOptions}get footprintAnd3DModelOptions(){return this._footprintAnd3DModelOptions}get notesOptions(){return this._notesOptions}get importChecked(){return this._needShowImport||this.fileLength>1?this._importChecked:""}get expansionChecked(){return this._needShowExpansion?this._expansionChecked:""}get boardChecked(){return this._needShowBoard?this._boardChecked:""}get styleChecked(){return this.needShowStyle?this._styleChecked:""}get smtChecked(){return this.needShowSmt?this._smtChecked:""}get footprintAnd3DModelChecked(){return this._needShowFootprintAnd3DModel?this._footprintAnd3DModelChecked:""}get notesChecked(){return this._needShowNotes?this._notesChecked:""}get size(){return this._size}get fileName(){return this._fileName}set fileName(i){this._fileName=i}get fileTypeListData(){return this._fileTypeListData}get activeType(){return this._activeType}set activeType(i){this._activeType=this.checkActive(i)?i:"document",this.updateImportRadio(),this.updateExpansionRadio(),this.updateBoardRadio(),this.updateStyleRadio(),this.updateSmtRadio(),this.updateFootprintAnd3dChecked(),this.updateNotesChecked()}get urlFrom(){return this._urlFrom}set urlFrom(i){this._urlFrom=i}isOtherEDA(){return this._activeType&&this._activeType!="proeda"}getDlgTitle(){switch(this._activeType){case"proeda":return"Import Professional";case"easyeda":return"Import Standard";case"altium":return"Import Altium";case"allegro_orcad":return"Import Allegro/OrCad";case"eagle":return"Import EAGLE";case"kicad":return"Import KiCad";case"pads":return"Import PADS";case"protel":return"Import Protel";case"ltspice":return"Import LTspice";case"disa-4001":return"Import DISA 4001";case"smt-jlcjson":return"Import SMT Json";case"dxf":return"Import DXF";case"document":return"Import Document";default:return"Import Professional"}}changeImportChecked(i){this._importChecked=i,this.updateChecked(i,this._importOptions),this.notify()}changeExpansionChecked(i){this._expansionChecked=i,this.updateChecked(i,this._expansionOptions),this.notify()}changeBoardChecked(i){this._boardChecked=i,this.updateChecked(i,this._boardOptions),this.notify()}changeStyleChecked(i){this._styleChecked=i,this.updateChecked(i,this._styleOptions),this.notify()}changeSmtChecked(i){this._smtChecked=i,this.updateChecked(i,this._smtOptions),this.notify()}changeFootprintAnd3DModelChecked(i){for(let o in i){let r=i[o];this._footprintAnd3DModelChecked[o]=r}this.updateCheckedBox(i,this._footprintAnd3DModelOptions),this.notify()}changeNotesChecked(i){for(let o in i){let r=i[o];this._notesChecked[o]=r}this.updateCheckedBox(i,this._notesOptions),this.notify()}changeFileTypeValue(i){this.activeType=i,this.notify()}updateChecked(i,o){for(let r of o)r.value==i?r.checked=!0:r.checked=!1}updateCheckedBox(i,o){for(let r of o)i[r.value]&&(r.checked=i[r.value].checked)}createExpansionRadioData(){let i="solder-expasion";this._expansionOptions=this.createRadioData(i,this._expansionChecked,Pui)}createBoardRadioData(){this._boardOptions=this.createRadioData("board-source",this._boardChecked,Oui)}createStyleRadioData(){this._styleOptions=this.createRadioData("styleOp",this._styleChecked,Rui)}createSmtRadioData(){this._smtOptions=this.createRadioData("op-smt",this._smtChecked,_ui)}createFootprintAnd3DModelCheckBoxData(){this._footprintAnd3DModelOptions=this.createCheckedBoxData("footprint-3d",this._footprintAnd3DModelChecked,jui)}createNotesCheckBoxData(){this._notesOptions=this.createCheckedBoxData("notes",this._notesChecked,Bui)}createImportRadioData(){let i="op";this._importOptions=this.createRadioData(i,this._importChecked,kui)}createRadioData(i,o,r){let n=[];for(let a in r){let s=r[a];n.push({name:i,value:a,children:s,key:a,checked:o==a})}return n}createCheckedBoxData(i,o,r){let n=[];for(let a in r){let s=r[a];n.push({name:i,value:a,children:s,key:a,checked:o[a].checked})}return n}checkActive(i){if(!i)return!1;for(let o of this._fileTypeListData)if(o.value==i)return!0;return!1}createListData(){let i=[],o;return Xr?o=["easyeda_lc","proeda_lc","altium_lc","allegro_orcad","eagle","kicad","pads","protel","ltspice","disa-4001"]:o=["easyeda","proeda","altium","allegro_orcad","eagle","kicad","pads","protel","ltspice","disa-4001"],N4t()||(this._forSmt&&o.push("smt-jlcjson"),this._forEngine&&o.push("dxf")),o.forEach(r=>{let n=NPe[r];n&&i.push({value:n.value,text:n.text,showOriginalText:!1})}),i}};var Oa=class t{static getInstance(){return t.store||(t.store=new FPe("easyeda")),t.store}static fileName(e){let i=t.getInstance();i.fileName=e}static update(){t.getInstance().update()}static clear(){t.getInstance().clear()}static setImportFile(e){t.importFile=e,this.store.fileLength=(e==null?void 0:e.length)||0}static getImportFile(){return t.importFile}static setProjectConfig(e){t.projectConfig=e}static getProjectConfig(){return t.projectConfig}static closeDialog(){let e=bt["import-file"].containerId;R0.get(e)&&le.close(e)}};function ap(t,e){var a,s,l;let i=[],o=[],r=[],n=he.getFilterTabs(["tab_page1","0"]);for(let c=0;c<n.length;c++){let d=n[c],u=d.tabId,p=(a=d==null?void 0:d.data)==null?void 0:a.doctype,m=(s=d==null?void 0:d.data)==null?void 0:s.pid,h=d==null?void 0:d.isUnSaved;t&&u===t||pr(p)&&(e!=null&&e.projectId)&&m===e.projectId||(h?(i.push(u),Je&&r.push((l=d==null?void 0:d.data)==null?void 0:l.libPath)):o.push(u))}return{unsaveFileTabId:i,clientunsaveFilePath:r,savedFileTabId:o}}async function Hui(t,e){let i=await he.getTabIFrame(t);if(sue(e)){let{validateRes:o,symbolName:r}=(await C.messageBus.rpcCall("checkOriginInSymbol",t)).message;o||De({type:"warn",msg:{value:"Found symbol {0} canvas origin doesn\u2018t inside the graphics.",options:{0:r}}})}else if(e===ve.FOOTPRINT){let{originInGraphics:o,name:r}=await(await C.windowBridge.rpcCall("checkOrigin","",i.contentWindow)).message;o||De({type:"warn",msg:{value:"Found footprint {0} canvas origin doesn't inside the graphics.",options:{0:r}}})}}var P4t=L(Se());var Gui=(n=>(n[n.confirm="pcbdialogClose"]="confirm",n[n.close="pcbdialogClose"]="close",n[n.cancel="pcbdialogClose"]="cancel",n[n.apply="pcbdialogModify"]="apply",n[n.cmd="pcbdialogCMD"]="cmd",n))(Gui||{}),Yui=(n=>(n.confirm="confirm",n.cancel="cancel",n.close="cancel",n.apply="apply",n.cmd="cmd",n))(Yui||{}),oo=t=>{let{action:e,dialogId:i,formData:o}=t,r=o instanceof Array?{data:o}:o||{},n={action:Yui[e],dialogId:i,...r},a=Xi();a&&C.windowBridge.publish(Gui[e],n,a.contentWindow)};var O4t=L(Qui());var x_=L(z()),Dcr=({containerId:t,dialogId:e,list:i})=>{Ae(O4t.default);let o=J(),r=be.bind(O4t.default.locals),[n,a]=(0,P4t.useState)(i),[s,l]=(0,P4t.useState)(!1),c=async m=>{await oo({action:m,dialogId:e,formData:m==="confirm"?u():{}}),le.close(t)},d=m=>{let h=[...n].map(f=>(f._isChecked=m,f));l(m),a(h)},u=()=>{let m=[];return[...n].forEach(h=>{h._isChecked&&m.push(h.value)}),m},p=(m,h)=>{let f=[...n].map(g=>(h===g.value&&(g._isChecked=m),g));a(f)};return Bt(()=>{c("close")}).close(t),Bt(({code:m})=>{m==="Escape"&&c("cancel")}).keyboard(t),(0,x_.jsxs)("div",{className:r("container"),children:[(0,x_.jsx)("div",{className:r("content"),style:{overflow:dt()===ve.FOOTPRINT?"hidden":"hidden scroll"},children:n.map((m,h)=>(0,x_.jsx)("div",{className:r("layer"),children:(0,x_.jsx)($p,{dataTest:m.title,defaultChecked:m._isChecked,disabled:m.disabled,onChange:f=>p(f,m.value),children:o(m.title)},h)}))}),(0,x_.jsxs)("div",{className:r("footer"),children:[(0,x_.jsx)(Me,{type:"primary",onClick:()=>d(!s),children:"Select All/Unselect All"}),(0,x_.jsx)(Me,{type:"primary",onClick:()=>c("confirm"),children:"Confirm"}),(0,x_.jsx)(Me,{onClick:()=>c("cancel"),children:"Cancel"})]})]})},Kui=Dcr;var Jui=L(z());async function Zui(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;await le.open({id:o,title:r,width:n,height:a,closed:s,children:(0,Jui.jsx)(Kui,{containerId:o,dialogId:t.dialogId,list:t.list})})}var B8=L(Se());var s0i=L(Se());var F9=L(Se());var _4t=L(Xui());var kc=L(Se());var r0i=L(Se());var R4t=L(e0i()),n0i=L(uT());function ixe(t){let e=/default/i;return String(t).replace(e,me.i18n("default"))}var GPe=L(Se()),t0i=L(uT()),YU=({children:t})=>{let[e]=(0,GPe.useState)(()=>document.createElement("div"));return(0,GPe.useEffect)(()=>(document.body.appendChild(e),()=>{document.body.removeChild(e)}),[e]),t0i.default.createPortal(t,e)};var Yh=L(z()),i0i={position:"fixed",width:"inherit",maxHeight:"192px",zIndex:9999,overflow:"auto",background:"var(--bg-color-drop-down-menu)",fontSize:"12px",color:"var(--font-color-drop-down-menu)",boxShadow:"0 0 4px var(--common-box-shadow-color)"},o0i={height:"24px",padding:"0 8px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",lineHeight:"24px",cursor:"pointer"},Ecr={background:"var(--bg-color-hover-drop-down-menuItem)",color:"var(--font-color-hover-drop-down-menuItem)"},o4=24,WU=be.bind(R4t.default.locals);function Acr(t,e){let{value:i,createNewItem:o,filterBlankItems:r,selectList:n,translateOption:a,style:s,selectAlwaysShow:l,selectListStyle:c={},clickSelectItemNotSetInput:d,disabled:u,focusTriggerSelect:p,clear:m,stillNeedClear:h,showDropDownIcon:f,dataTest:g,optionAutoWidth:b=!0,htmlAttrs:y={},listMaxHeight:w,virtualScroll:x,onSelectItemClick:S,onSelectItemEnter:T,onClick:M,onClearClick:I,optionContentRender:A,onFilterInputFocus:D}=t;Ae(R4t.default);let[E,N]=(0,kc.useState)(i),[R,v]=(0,kc.useState)(n||[]),[k,P]=(0,kc.useState)([]),[O,_]=(0,kc.useState)(0),[j,B]=(0,kc.useState)(0),[V,G]=(0,kc.useState)(0),Q=(0,kc.useRef)(null),[H,q]=(0,kc.useState)(!!l),U=(0,kc.useRef)(null),[F,K]=(0,kc.useState)(-1),te=(0,kc.useRef)(null),ae=(0,kc.useRef)(H),pe=(0,kc.useRef)(E),Z=(0,kc.useRef)(F),ee=J();(0,r0i.useImperativeHandle)(e,()=>U.current),(0,kc.useEffect)(()=>{pe.current=E},[E]),(0,kc.useEffect)(()=>{ae.current=H},[H]);let[ce,ne]=(0,kc.useState)(0),oe=(0,kc.useMemo)(()=>{if(n.length<2)return[""];let ke=[].concat(n);return ke.sort((Be,Xe)=>Xe.length-Be.length),ke.slice(0,5)},[n]);(0,kc.useEffect)(()=>{t.selectList&&v(t.selectList)},[t.selectList,H]),(0,kc.useEffect)(()=>{N(t.value)},[t.value]);let re=(0,kc.useRef)(!1),Y=ke=>{re.current=!0;let Be=ke.target.value.trim();if(N(Be),t.selectList){K(-1),ie();let Xe=Be.toLowerCase();v(t.selectList.filter(Ge=>Ge.toLowerCase().includes(Xe)||ixe(Ge).toLowerCase().includes(Xe)))}},X=ke=>{var Be;vn(ke)&&(ke=pe.current),l||q(!1),K(-1),t.validator&&!t.validator(ke)&&(ke=t.value,N(ke)),(Be=t.onChange)==null||Be.call(t,ke)},ie=(0,kc.useCallback)(()=>{if(!~Z.current)return;let ke=te.current,{scrollHeight:Be,clientHeight:Xe}=ke,Ge=ke.children[Z.current].offsetTop;Ge>Be-Xe?Ge=Be-Xe:Ge<Xe/2?Ge=0:Ge-=Xe/2,ke.scrollTop=Ge},[]);(0,kc.useEffect)(()=>{Z.current=F},[F]);let de=ke=>{if(R.length){if(!Q.current)return;if(ke.key==="ArrowDown"){let Be=Z.current+1;if(Be*o4<Q.current.scrollTop||Be*o4>Q.current.scrollTop+w)K(Math.ceil(Q.current.scrollTop/o4));else if((Be+1)*o4>Math.ceil(Q.current.scrollTop+w)){let Xe=R.length*o4-w;if(Math.floor(Q.current.scrollTop)>=Math.floor(Xe))Q.current.scrollTo(0,0),B(0),P(R.slice(j,j+O)),K(0);else{Q.current.scrollBy(0,o4);let Ge=Math.floor(Q.current.scrollTop/o4);B(Ge),P(R.slice(Ge,Ge+O)),K(Be)}}else K(Be)}else if(ke.key==="ArrowUp"){let Be=Z.current-1;if((Be+1)*o4<Q.current.scrollTop||(Be+1)*o4>Q.current.scrollTop+w)K(Math.floor((Q.current.scrollTop+w)/o4));else if(Be<Math.ceil(Q.current.scrollTop/o4))if(Q.current.scrollTop===0){let Xe=R.length-O+1;Q.current.scrollTo(0,Xe*o4),B(Xe),P(R.slice(Xe,Xe+O)),K(R.length-1)}else{Q.current.scrollBy(0,-o4);let Xe=Math.floor(Q.current.scrollTop/o4);B(Xe),P(R.slice(Xe,Xe+O)),K(Be)}else K(Be)}}else ke.key==="Enter"&&re.current&&X()};Gs("keydown",de);let fe=ke=>{var Xe;(Xe=t.onChange)==null||Xe.call(t,ke),(S==null?void 0:S(ke))&&X()},ye=()=>{let ke=~F?R[F]:void 0;ke&&T&&T(ke),X(ke)},Le=ke=>{ke.key==="Enter"&&ye()},Re=ke=>a?a.deleteBrace?ee(ke.slice(1,ke.length-1)):ee(ke):"";(0,kc.useLayoutEffect)(()=>{if(w&&x){let ke=Math.ceil(w/o4);_(ke),B(0),P(R.slice(0,ke)),G(R.length*o4)}else!w&&x&&console.error("\u4E0B\u62C9\u6846\u5F00\u542F\u865A\u62DF\u6EDA\u52A8\u5FC5\u987B\u8BBE\u7F6E\u6700\u5927\u9AD8\u5EA6\uFF0C\u53C2\u6570listMaxHeight")},[R,H]);let Ne=()=>k.map((ke,Be)=>{var pt;let Xe=Re(ke),Ge=(()=>{let ot=ke.toLocaleLowerCase().indexOf(E.toLocaleLowerCase()),Qe;if(ot>=0){let ut=(0,Yh.jsx)("em",{style:{fontStyle:"normal"},className:"hightlight",children:ke.slice(ot,ot+E.length)});Qe=(0,Yh.jsxs)("span",{children:[ke.slice(0,ot),ut,ke.slice(ot+E.length)]})}else Qe=ke;return(0,Yh.jsxs)(Yh.Fragment,{children:[Qe,Xe?(0,Yh.jsx)("span",{style:{float:"right"},children:Xe}):""]})})(),Ke=Be+Math.floor((((pt=Q.current)==null?void 0:pt.scrollTop)||0)/o4)===F?{...o0i,...Ecr}:o0i;return(0,Yh.jsx)("div",{title:Xe?`${ke}|${Xe}`:"",style:Ke,className:WU("hover-highlight"),onPointerUp:()=>fe(ke),children:A?A(ke,E):Ge},ke+Be)}),[Te,Pe]=(0,kc.useState)(i0i),[Oe,Ue,Ve]=La(),ze=(0,kc.useRef)(null);(0,kc.useEffect)(()=>(U.current&&Ue(U.current),()=>{Ve()}),[U.current]);function He(){var zt;let ke=b?0:1,{width:Be,height:Xe}=getComputedStyle(U.current),Ge=((zt=U.current)==null?void 0:zt.getBoundingClientRect())||{},{top:Ke=0,left:pt=0,right:ot=0}=Ge,Qe=parseFloat(Be),ut=parseFloat(Xe),{innerHeight:rt,innerWidth:ht}=window,ct=Ke<rt>>1?{key:"top",value:Ke+ut}:{key:"bottom",value:rt-Ke},wt={...i0i,width:`${Qe}px`,left:`${pt}px`,[ct.key]:`${ct.value}px`};b&&(ce?(wt.width=ce+"px",wt.opacity=ke):(wt.width="fit-content",wt.opacity=ke)),Pe(wt),b&&setTimeout(()=>{if(te.current){let gt=te.current.getBoundingClientRect(),{left:Qt,right:yt}=gt,jt=ce||yt-Qt;if(Qe>jt){Pe({...wt,width:`${Qe}px`,opacity:1}),ne(Qe);return}else if(ne(jt),wt.width=`${jt}px`,yt>ht){Pe({...wt,left:"",right:`${ht-ot}px`,opacity:1});return}}Pe({...wt,opacity:1})},35)}let Ye=(ke,Be)=>{let Xe=null;return()=>{clearTimeout(Xe),Xe=setTimeout(ke,Be)}};return(0,kc.useEffect)(()=>{let ke=Ye(He,200);return window.addEventListener("resize",ke),()=>{window.removeEventListener("resize",ke)}},[]),(0,kc.useEffect)(()=>{Oe&&He()},[Oe]),(0,kc.useEffect)(()=>{t.focus&&U.current.focus()},[]),(0,Yh.jsxs)("div",{ref:ze,style:{width:"100%",...t.style},tabIndex:10,onBlur:ke=>{ke.target!==ze.current&&X()},children:[(0,Yh.jsxs)("div",{className:WU("input-wrap","display-flex flex-lateral-axis-center"),children:[(0,Yh.jsx)("input",{"data-tabfocus":"tabfocus","data-test":g,className:be(WU("input",{clear:m}),t.className),style:{width:"100%"},type:"text",ref:U,disabled:u,autoComplete:"off",...y,onFocus:ke=>{p&&U.current&&U.current.select(),D&&D()},onInput:ke=>{Y(ke),q(!0),He()},onKeyUp:Le,value:E,onClick:()=>{H||(M==null||M(),q(!0),He())},onBlur:()=>{var ke;re.current=!1,(ke=t.blur)==null||ke.call(t,!1)}}),(0,Yh.jsxs)("div",{className:WU("input-icon","display-flex flex-lateral-axis-center"),children:[m&&(h||!u)&&E!==""&&(0,Yh.jsx)("i",{"data-test":`${g} Clear`,className:be(WU("icon-clear"),"icon-eda-x-circle"),onClick:I}),f&&(0,Yh.jsx)("i",{className:WU(H?"arr-icon-up":"arr-icon-down"),onMouseDown:()=>{u||(H?q(!1):(M==null||M(),He(),q(!0)))}})]})]}),H&&R.length?(0,Yh.jsx)(YU,{children:(0,Yh.jsx)("div",{style:{...Te,...c},ref:te,onWheel:ke=>{ke.stopPropagation()},onMouseDown:ke=>{ke.preventDefault()},children:(0,Yh.jsx)("div",{className:WU("virtual-scroll-wrap"),style:{maxHeight:w||"max-content"},ref:Q,onScroll:()=>{(0,n0i.flushSync)(()=>{if(w&&x){let ke=Math.floor(Q.current.scrollTop/o4);B(ke),P(R.slice(ke,ke+O))}})},children:(0,Yh.jsxs)(Yh.Fragment,{children:[(0,Yh.jsx)("div",{className:WU("auto-width-padding"),children:oe.map(ke=>(0,Yh.jsx)("div",{style:{paddingLeft:"24px",paddingRight:"8px",fontFamily:`"${ke}"`},children:ke}))}),(0,Yh.jsx)("div",{className:WU("block"),style:{height:V}}),(0,Yh.jsx)("div",{style:{transform:`translateY(${j*o4}px)`},children:Ne()})]})})})}):null]})}var a0i=(0,kc.memo)((0,kc.forwardRef)(Acr));var f0e=L(z()),Ncr={\u5B8B\u4F53:"SimSun",\u9ED1\u4F53:"SimHei",\u96B6\u4E66:"LiSu",\u6977\u4F53:"KaiTi",\u4EFF\u5B8B:"FangSong"},{locals:kcr}=_4t.default,{fontSelector:sDn}=kcr;var Pcr="Add Common Fonts...",YPe="Common Fonts",WPe="All Fonts",Jw=t=>{let{value:e,onChange:i,onAddNewFontItemClick:o,getViewRectPort:r,onSystemManagerCallback:n,disabled:a,name:s,style:l}=t,[c,d]=(0,F9.useState)([]);Ae(_4t.default);let u=J(),p=u(Pcr),[m,h]=(0,F9.useState)(280),f=(0,F9.useRef)(null);function g(){if(f.current){let T=f.current.getBoundingClientRect(),M=T.top,{top:I,left:A,right:D,bottom:E}=typeof r=="function"?r():{},N=I||0,R=A||0,v=D||0,k=E||0,P=window.innerHeight-T.bottom-k-8;M>window.innerHeight>>1&&(P=T.top-36),P>200&&h(P)}}async function b(){if(c.length>0)return;if(C.localFontsName.length>0){d([...C.localFontsName]);return}if(!("queryLocalFonts"in self))return;let T=await self.queryLocalFonts();if(T.length>0){let M=T.map(I=>I.fullName);C.localFontsName=M,d(M),KPe()}}let y=(0,F9.useMemo)(()=>{let T=[p,YPe];return t.list.forEach(M=>{T.push(M.value+"")}),c.length>0&&(T=[...T,WPe,...c]),T},[t.list,c]),w=(0,F9.useMemo)(()=>{let T=new Map;return T.set(p,{style:{borderBottom:"1px solid var(--separator-color-drop-down-menu)",height:"100%",boxSizing:"border-box"}}),T.set(YPe,{disabled:!0,style:{pointerEvents:"none",fontWeight:"bold"}}),t.list.forEach(M=>{T.set(M.value+"",{style:{paddingLeft:"16px",fontFamily:`"${M.value}"`,textTransform:"capitalize"}})}),T.set(WPe,{disabled:!0,style:{pointerEvents:"none",fontWeight:"bold"}}),c.forEach(M=>{T.set(M,{style:{paddingLeft:"16px",fontFamily:`"${M}"`}})}),T},[t.list,c,p]),x=(0,F9.useCallback)((T,M)=>{let I=![YPe,WPe].includes(T),A,E=(w.get(T)||{}).style;T=ixe(T);let N=T.toLocaleLowerCase().indexOf(M.toLocaleLowerCase());if(I&&N>=0){let R=(0,f0e.jsx)("em",{style:{fontStyle:"normal"},className:"hightlight",children:T.slice(N,N+M.length)});A=(0,f0e.jsxs)("span",{children:[T.slice(0,N),R,T.slice(N+M.length)]})}else A=T;return I||(A=u(T)),(0,f0e.jsx)("div",{style:E,children:A})},[t.list,c]),S=(0,F9.useCallback)(T=>{if(T===p){if(o instanceof Function){o();return}et("commonButtonsSetting(COMM_TYPEFACE)",{callback:n})}else{if([YPe,WPe].includes(T))return!1;T!=="default"&&T!=="default2"&&!T.includes("(Default)")&&QPe(A2&&Ncr[T]||T),i(T.replaceAll(/\n$/g,""))}return!0},[i,p]);return(0,f0e.jsx)(a0i,{ref:f,value:ixe(e)||"",disabled:a,selectList:y,optionContentRender:x,showDropDownIcon:!0,focusTriggerSelect:!0,htmlAttrs:{"data-attr-key":s,"data-test":s},style:{width:"100%",height:"24px",...l},selectListStyle:{maxHeight:`${m}px`},listMaxHeight:m,virtualScroll:!0,validator:T=>!1,onChange:T=>{},onSelectItemEnter:S,onSelectItemClick:S,onFilterInputFocus:()=>{b(),g()},onClick:()=>{b(),g()}})};async function QPe(t){let i=(await self.queryLocalFonts()).find(o=>o.fullName===t);if(i){let o=await i.blob(),r=URL.createObjectURL(o),n=new FontFace(t.replaceAll(/\n$/g,""),`url(${r})`);try{await n.load(),document.fonts.add(n)}catch{new Fi({type:"warn",msg:"Font not exist!"})}}}var r4=L(z()),l0i=t=>{let e=J(),{typeface:i,height:o,strokeWidth:r,commonFocusHandler:n,commonKeyupHandler:a,typefaceInputHandler:s,heightInputHandler:l,strokeWidthInputHandler:c,numberTypeBlurHandler:d}=t,[u,p]=(0,s0i.useState)(C.profileSetting.commSystemSetting.COMM_TYPEFACE.commonlyList.value.map(f=>({value:f.title,text:f.title}))),m=()=>{p(C.profileSetting.commSystemSetting.COMM_TYPEFACE.commonlyList.value.map(f=>({value:f.title,text:f.title})))},h=j4t.includes(i)?"display-flex flex-main-axis-between flex-lateral-axis-center flex-nowrap":"display-none";return(0,r4.jsxs)(r4.Fragment,{children:[(0,r4.jsxs)("div",{"data-test":"Font",className:"display-flex flex-main-axis-between flex-lateral-axis-center flex-nowrap",style:{height:"40px"},children:[(0,r4.jsx)("div",{className:"form-label",style:{width:"115px",lineHeight:"25px"},children:(0,r4.jsx)("span",{children:e("Font Family")})}),(0,r4.jsx)(Jw,{value:i,disabled:!1,list:u,onChange:s,onSystemManagerCallback:m})]}),(0,r4.jsxs)("div",{"data-test":"Stroke Width",className:h,style:{height:"40px"},children:[(0,r4.jsx)("div",{className:"form-label",style:{width:"115px",lineHeight:"25px"},children:(0,r4.jsx)("span",{children:e("Stroke Width")})}),(0,r4.jsx)("div",{className:"form-content",style:{width:"100%"},children:(0,r4.jsx)("input",{"data-tagitem":"stroke-width","data-tabfocus":"tabfocus",value:r,type:"text",style:{width:"100%",height:"22px",padding:"0 4px"},onFocus:n,onChange:f=>{Number(f.target.value)>1e5||c(f)},onBlur:f=>{d(f,8)},onKeyUp:a})})]}),(0,r4.jsxs)("div",{"data-test":"Height",className:"display-flex flex-main-axis-between flex-lateral-axis-center flex-nowrap",style:{height:"40px"},children:[(0,r4.jsx)("div",{className:"form-label",style:{width:"115px",lineHeight:"25px"},children:(0,r4.jsx)("span",{children:e("Height")})}),(0,r4.jsx)("div",{className:"form-content",style:{width:"100%"},children:(0,r4.jsx)("input",{"data-tagitem":"height","data-tabfocus":"tabfocus",value:o,type:"text",style:{width:"100%",height:"22px",padding:"0 4px"},onFocus:n,onChange:f=>{Number(f.target.value)>1e5||l(f)},onBlur:f=>{d(f,120)},onKeyUp:a})})]})]})};var g0e=L(Se());function ZPe(t){let e=(0,g0e.useRef)({timer:null,container:null,onKeyDownAction:null});e.current.onKeyDownAction=(0,g0e.useCallback)(i=>{!e.current.container||i.keyCode!==9||(window.clearTimeout(e.current.timer),e.current.timer=window.setTimeout(()=>{let o=Array.from(e.current.container.querySelectorAll("[data-tabfocus]"));for(let r=0;r<o.length;r++)if(o[r]===i.target)if(o[r+1]){o[r+1].focus();break}else{o[0].focus();break}}))},[]),(0,g0e.useEffect)(()=>{if(e.current.container=t.current,!!e.current.container)return e.current.container.removeEventListener("keydown",e.current.onKeyDownAction),e.current.container.addEventListener("keydown",e.current.onKeyDownAction),()=>{e.current.container&&e.current.container.removeEventListener("keydown",e.current.onKeyDownAction)}},[])}var MS=L(z()),c0i="Ctrl / Shift / Alt + Enter for new line",j4t=["","default","default2","Serif","Sans Serif"],Ocr=t=>{let e=J(),{containerId:i,dialogId:o,content:r,typeface:n,typefaceList:a,height:s,strokeWidth:l}=t,c=(0,B8.useRef)(null),d=(0,B8.useRef)(null),[u,p]=(0,B8.useState)(r),[m,h]=(0,B8.useState)(n),[f,g]=(0,B8.useState)(s),[b,y]=(0,B8.useState)(s),[w,x]=(0,B8.useState)(l),[S,T]=(0,B8.useState)(l);ZPe(c);let M=async j=>{let B=I();if(B["place-text-content"]=B["place-text-content"],j==="confirm"){if(B["place-text-content"].length<=0||String(B["place-text-content"]).trim().length<=0){De({type:"error",msg:"This text can not be empty!"}),d.current&&d.current.focus();return}if(B["place-text-content"].length>4096){Dt({icon:"warning",closed:!0,content:me.i18n("Text cannot be more than 4096 characters!")}),d.current&&d.current.focus();return}}await oo({action:j,dialogId:o,formData:B}),le.close()},I=()=>({"place-text-content":u,"place-text-typeface":m,"place-text-height":$s(f,120),"place-text-strokewidth":$s(w,8)}),A=()=>{d.current&&(d.current.focus(),d.current.select&&d.current.select())},D=j=>{j.target.select&&j.target.select()},E=j=>{if(j.keyCode===13){j.target.blur(),window.setTimeout(async()=>{await M("confirm")});return}},N=j=>{let B=j.target.value;p(B)},R=async j=>{let B=j.target.value;if(j.keyCode===13){if(!j.shiftKey&&!j.ctrlKey&&!j.altKey){j.stopPropagation(),j.preventDefault(),await M("confirm");return}j.stopPropagation();let V=d.current.selectionStart,G=d.current.selectionEnd,Q=B.substring(0,V)+`
`+B.substring(G);p(Q),Promise.resolve().then(()=>{d.current.selectionStart=V+1,d.current.selectionEnd=V+1});return}p(B)},v=j=>{(j.keyCode===13||+j.code==13)&&(j.stopPropagation(),j.preventDefault())},k=(j,B)=>{let V=j.target,G=$s(V.value,B),Q=V.getAttribute("data-tagitem"),H=G;switch((isNaN(G)||G<=0)&&(H={"stroke-width":S,height:b}[Q]),Q){case"stroke-width":{x(H),T(H);break}case"height":{g(H),y(H);break}default:}},P=j=>{h(j)},O=j=>{g(j.target.value)},_=j=>{x(j.target.value)};return(0,B8.useEffect)(()=>{A()},[]),(0,MS.jsxs)("div",{className:"pop-content-container",ref:c,children:[(0,MS.jsx)("div",{style:{border:"1px solid var(--common-border-color)",width:"368px",height:j4t.includes(m)?"295px":"255px",marginBottom:"16px",padding:"16px"},children:(0,MS.jsxs)("div",{className:"pop-content-wrapper",children:[(0,MS.jsxs)("div",{"data-test":"Content",className:"display-flex flex-lateral-axis-start flex-main-axis-start flex-nowrap",style:{margin:"15px 0"},children:[(0,MS.jsx)("div",{className:"form-label",style:{width:"115px"},children:(0,MS.jsx)("span",{children:e("Content")})}),(0,MS.jsxs)("div",{style:{width:"100%",overflow:"hidden",height:"100%"},children:[(0,MS.jsx)("textarea",{ref:d,onChange:N,onFocus:D,onKeyUp:R,onKeyDown:v,"data-attritem-input":"place-text-content","data-tabfocus":"tabfocus",value:u,style:{width:"100%",lineHeight:"16px",padding:"5px 5px",resize:"none",height:"92px"}}),(0,MS.jsx)("div",{className:"i18n tip",i18n:e(c0i),style:{marginLeft:"1px",color:"#978e8e"},children:e(c0i)})]})]}),(0,MS.jsx)(l0i,{typeface:m,typefaceList:a,height:f,strokeWidth:w,commonFocusHandler:D,commonKeyupHandler:E,typefaceInputHandler:P,heightInputHandler:O,strokeWidthInputHandler:_,numberTypeBlurHandler:k})]})}),(0,MS.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,MS.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>M("confirm"),children:"Confirm"}),(0,MS.jsx)(Me,{onClick:()=>M("cancel"),children:"Cancel"})]})]})},d0i=Ocr;var u0i=L(z());async function B4t(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;return le.open({id:o,title:r,width:n,closed:a,esc:!0,folded:!1,children:(0,u0i.jsx)(d0i,{containerId:o,dialogId:t.dialogId,content:t.content||"",typeface:t.typeface,typefaceList:t.typefaceList,height:t.height,strokeWidth:t.strokeWidth})}),{origin:"react"}}var f0i=L(Hr());var T_=L(Se());var F4t=L(m0i());var oxe=L(z()),{locals:Rcr}=F4t.default,z4t=be.bind(Rcr),_cr=t=>{let{dialogId:e,pcbData:i,destroyDialog:o}=t,r=(0,T_.useRef)({left:i.left,top:i.top,width:0,height:0,opacity:0}),[n,a]=(0,T_.useState)(0),s=J();Ae(F4t.default);let[l,c]=(0,T_.useState)(i.content),d=(0,T_.useRef)(!1),u=(T=l)=>({"place-text-content":T,"place-text-id":i.id}),p=(T=l)=>{let M=u(T),I=M["place-text-content"],A=i.isComponentAttr?255:4096;I.length>A&&(De({type:"warn",msg:`Text cannot be more than ${A} characters!`}),M["place-text-content"]=i.content),!I.trim().length&&!i.isComponentAttr&&(M["place-text-content"]=i.content),M["place-text-content"]!==i.content&&oo({action:"confirm",dialogId:e,formData:M}),o()},m=T=>{C.messageBus.publish("keyDowntransferToVideotool",{key:T.key,code:T.code}),T.stopPropagation();let M=T.code.toLowerCase();(M==="enter"||M==="numpadenter")&&T.preventDefault()},h=T=>{C.messageBus.publish("transferToVideotool"),T.stopPropagation();let M=T.target,I=T.code.toLowerCase();if(I==="enter"||I==="numpadenter")if(T.preventDefault(),i.isEnableBreakLine&&(T.ctrlKey||T.shiftKey||T.altKey)){let A=M.selectionStart,D=M.selectionEnd,E=l.substring(0,A)+`
`+l.substring(D);c(E),setTimeout(()=>{M.selectionStart=A+1,M.selectionEnd=A+1})}else p(l)},f=T=>{d.current=!0,T.target.select()},g=T=>{d.current=!1,y(T)},b=T=>{T.stopPropagation();let M=T.code.toLowerCase(),I=T.target;if(M==="escape"){I===x.current&&d.current?(c(i.content),d.current=!1):o();return}d.current=!0},y=T=>{let I=T.relatedTarget;for(;I!=null&&I!==w.current;)I=I.parentNode;I!==w.current&&p()},w=(0,T_.useRef)(),x=(0,T_.useRef)(),S=be("pop-content-container",z4t("modify-pcb-text-suspension-container"));return(0,T_.useLayoutEffect)(()=>{let T=Vr("frame_"+he.getActiveTab()),M=T==null?void 0:T.getBoundingClientRect().toJSON();r.current.left=i.left+((M==null?void 0:M.left)||0)-2,r.current.top=i.top+((M==null?void 0:M.top)||0)-2,w.current.style.left=r.current.left+"px",w.current.style.top=r.current.top+"px";let I=w.current.getBoundingClientRect().toJSON();I.right>document.documentElement.clientWidth&&(r.current.left=document.documentElement.clientWidth-I.width),I.bottom>document.documentElement.clientHeight&&(r.current.top=document.documentElement.clientHeight-I.height),r.current.opacity=1,a(A=>A+1)},[]),(0,oxe.jsxs)("div",{ref:w,"data-refresh":n,tabIndex:0,className:S,style:{left:r.current.left,top:r.current.top,opacity:r.current.opacity},onKeyDown:b,onBlur:y,children:[(0,oxe.jsx)("textarea",{ref:x,"data-test":"pcbText",value:l,className:z4t("textarea"),autoFocus:!0,onChange:T=>c(T.target.value),onKeyDown:m,onKeyUp:h,onFocus:f,onBlur:g}),i.isEnableBreakLine?(0,oxe.jsx)("div",{className:z4t("bottom-tip"),children:s("Ctrl / Shift / Alt + Enter for new line")}):null]})},h0i=_cr;var b0i=L(z());async function g0i(t={},e){let i=bt[e],{containerId:o}=i,r=t.dialogId,n={isComponentAttr:t.isComponentAttr,id:t.id,content:t.content,left:t.left,top:t.top,isEnableBreakLine:t.isEnableBreakLine},a=document.body.querySelector(`#${o}`)||document.createElement("div"),s=f0i.default.createRoot(a),l=()=>{s.unmount()};a.id=o,a.style.position="fixed",a.style.top="0",a.style.left="0",a.style.zIndex="999999",document.body.appendChild(a),s.render((0,b0i.jsx)(h0i,{dialogId:r,pcbData:n,destroyDialog:l}))}var EM=L(Se());var Oo=L(Vi());var qPe=L(Vi());var U4t={easyEDA:w9e,altium:C9e,JLCEDA_PRO:poe,custom:ue.deepClone(poe)},y0i={hotkey:ue.deepClone(U4t.JLCEDA_PRO),active:"JLCEDA_PRO",hotkeyCfg:U4t,menuHotkeyCfg:ue.deepClone(b9e),menuHotkey:{}};function w0i(){let t=Object.assign({},U4t);return delete t.custom,t}var qw={ctxRes:null};function C0i(t){if(U9.getContextShowState()){let e=U9.getActiveCmd();if(e&&e.cmd){let i=(0,qPe.default)(qw.ctxRes.$el).attr("id");return T0i(i,{cmd:e.cmd,expand:e.expand},e.item,!0)}}return!1}function x0i(t,e){if(U9.getContextShowState()){let i=U9.getNextCmdByKey(t);if(i&&i.count>=2)return;if(i&&i.cmd){let o=(0,qPe.default)(qw.ctxRes.$el).attr("id");return T0i(o,{cmd:i.cmd,expand:i.expand},i.item,!0)}}return!1}function T0i(t,e,i,o=!1){if(!e)return!1;if(o){let r=e.cmd;return e.expand&&i?(U9.expandItem(i),!0):r?(U9.menuClick(r,i),!0):!1}}function S0i(){return U9.getContextShowState()}var U9={hideContextmenu(){qw.ctxRes&&qw.ctxRes.$el},getNextCmdByKey(t){if(qw.ctxRes&&qw.ctxRes.$el)return{}},getActiveCmd(){if(qw.ctxRes&&qw.ctxRes.$el)return{}},getContextShowState(){if(qw.ctxRes&&qw.ctxRes.$el)return(0,qPe.default)(qw.ctxRes.$el).is(":visible")&&qw.ctxRes.$el.children.length},expandItem(t){if(qw.ctxRes&&qw.ctxRes.$el)return[]},menuClick(t,e){return!1},menuUp(){return U9.hasMenuShow(),!1},menuDown(){return U9.hasMenuShow(),!1},menuLeft(){return U9.hasMenuShow(),!1},menuRight(){return U9.hasMenuShow(),!1},hasMenuShow(){if(qw.ctxRes&&qw.ctxRes.$el){let t=qw.ctxRes.$el;return!(!jcr(t)||!t.children.length)}return!1}};function jcr(t){return t&&t.nodeType===1}function M0i(t,e){let i=w0i();i[e.active]&&(e.hotkey=ue.deepClone(i[e.active]));let o=e.hotkey,r=e.active.replace("from-","");e.active="from-"+r,it(o,(n,a)=>{for(let s of a)if(s.hotkeyCmd===t.hotkeyCmd)return Object.assign(s,t),!1})}var cAt=L(Vi());var Bcr=se.FOOTPRINT,b0e=se.BLOCK_SYMBOL,zcr=se.PCBLIB3D,Fcr=se.NGSPICE_MODEL||se.SIMULIDE_MODEL,gEn=se.PART,bEn=[se.NETFLAG,se.NETPORT,se.OFF_PAGE_CONNECTOR,se.DIFF_PAIRS_FLAG,se.NONEELEC_SYMBOL,se.SHEET_SYMBOL,se.PART,se.SHORT_SYMBOL],I0i=3;var XPe={device:3,symbol:2,footprint:4,cbb:1,model3D:5,modelSimLib:6,panelLib:29},L0i=["title","description","tags","custom_tags","Part Code","Part Number","Value","Manufacturer","Manufacturer Part","Supplier","Supplier Part","LCSC Part Name","JLCPCB Part Class","Capacitance","Resistance","inductance","Supplier Footprint","3D Model Title"];var V9=class V9{constructor(e,i,o){this.logList=[];this.errorLogList=[];this.fatalErrorlogList=[];this.warnLogList=[];this.infoAndOpenProjectLogList=[];this.totalLogCount=0;this.listeners=[];this.currentGroupIndex=1;this.isChangeGroupIndex=!0;this.groupCount=0;for(let r of V9.logs)if(e===r.id)throw new Error("Log: Cannot use id that has already been used");this.init(e,i,o)}getFatalErrorView(e){return`<p class="log fatalError ${this.bgClass()}">${this.getTimestampView()}<span class="content"><span class="content-prefix">[<span class="i18n">Fatal Error</span>] : </span>${e}</span></p>`}getErrorView(e){return`<p class="log error ${this.bgClass()}">${this.getTimestampView()}<span class="content"><span class="content-prefix">[<span class="i18n">Error</span>] : </span>${e}</span></p>`}getWarnView(e){return`<p class="log warn ${this.bgClass()}">${this.getTimestampView()}<span class="content"><span class="content-prefix">[<span class="i18n">Warn</span>] : </span>${e}</span></p>`}getInfoView(e){return`<p class="log info ${this.bgClass()}">${this.getTimestampView()}<span class="content"><span class="content-prefix">[<span class="i18n">Info</span>] : </span>${e}</span></p>`}getFindView(e){return`<p class="log find ${this.bgClass()}">${this.getTimestampView()}<span class="content"><span class="content-prefix">[<span class="i18n">Find</span>] : </span>${e}</span></p>`}getReplaceView(e){return`<p class="log replace ${this.bgClass()}">${this.getTimestampView()}<span class="content"><span class="content-prefix">[<span class="i18n">Replace</span>] : </span>${e}</span></p>`}static getLinkView(e){let i=[];if(e.attr){let o=!1;for(let[r,n]of Object.entries(e.attr))i.push(`data-log-find-${r}="${n}"`),r==="path"&&(o=!0);o||i.push(`data-log-find-path="${C.currentProject.projectId}"`)}else if(e.call){i.push('data-log-find-call="true"');for(let o in e.call){let r=e.call[o];r=typeof r=="object"?JSON.stringify(r):r,i.push(`data-log-find-${o}='${r}'`)}}return`<span class="link" ${i.join(" ")}>${e.text}</span>`}getCustomView(e,i){return`<p class="log ${i} ${this.bgClass()}">${e}</p>`}getTimestampView(){if(this.hasTimestamp){let e=function(c){return c>=10?c:"0"+c},i=this.timeStamp?new Date(this.timeStamp):new Date,o=i.getFullYear(),r=e(i.getMonth()+1),n=e(i.getDate()),a=e(i.getHours()),s=e(i.getMinutes()),l=e(i.getSeconds());return`<span class="timestamp">${o}-${r}-${n} ${a}:${s}:${l}</span>`}else return""}getOpenProjectView(e){return`<p class="log openProject ${this.bgClass()}">${this.getTimestampView()}<span class="content"><span class="content-prefix">[<span class="i18n">Open Project</span>] : </span>${e}</span></p>`}bgClass(){return this.currentGroupIndex%2?"":"grey-bg"}static getLog(e){for(let i of this.logs)if(i.id===e)return i}static parseToArr(e){let i=[];return Array.isArray(e)?i=e:i.push(e),i}init(e,i={},o){this.id=e,this.hasTimestamp=i.hasTimestamp||!1,V9.logs.push(this),o&&o(this)}logChange(e,i){switch(e){case"add":if(!i)throw new Error("Log: can not add log without logObj");this.addLog(i);break;case"clear":this.clearLog();break;default:break}this.executeListener(e)}addLog(e){e.timestamp=new Date().getTime();let i=V9.parseToArr(e);for(let o of i){switch(this.logList.push(o),o.type){case"error":this.errorLogList.push(o);break;case"fatalError":this.fatalErrorlogList.push(o);break;case"warn":this.warnLogList.push(o);break;case"info":case"openProject":this.infoAndOpenProjectLogList.push(o);break;default:break}this.totalLogCount++,this.isChangeGroupIndex&&this.currentGroupIndex++,!this.isChangeGroupIndex&&this.groupCount++}}clearLog(){this.logList.length=0,this.warnLogList.length=0,this.errorLogList.length=0,this.fatalErrorlogList.length=0,this.infoAndOpenProjectLogList.length=0,this.totalLogCount=0}executeListener(e){this.listeners.forEach(i=>{i.type===e&&i.callback(this)})}log(e){this.logChange("add",e)}openProject(e){let i="openProject",o=this.getOpenProjectView(e);this.log({type:i,content:e,htmlContent:o})}freeLog(e,i){let o=V9.parseToArr(i),r=e==="info"?this.getInfoView.bind(this):e==="error"?this.getErrorView.bind(this):e==="fatalError"?this.getFatalErrorView.bind(this):e==="warn"?this.getWarnView.bind(this):e==="find"?this.getFindView.bind(this):e==="replace"?this.getReplaceView.bind(this):e==="openProject"?this.getOpenProjectView.bind(this):(function(){throw new Error(`Log: '${e}' type can not use freeLog.`)})(),n=o.reduce((l,c,d)=>{let u=typeof c=="string"?c:V9.getLinkView(c);return l+" "+u},""),a=r(n),s={type:e,content:n,htmlContent:a};this.log(s)}customLog(e){if(!e||!e.type||!e.msg)return;let i="";if(e.isHtmlMsg)i=this.getCustomView(e.msg,e.type);else switch(e.type){case"error":i=this.getErrorView(e.msg);break;case"fatalError":i=this.getFatalErrorView(e.msg);break;case"warn":i=this.getWarnView(e.msg);break;case"info":i=this.getInfoView(e.msg);break;case"find":i=this.getFindView(e.msg);break;case"replace":i=this.getReplaceView(e.msg);break;case"openProject":i=this.getOpenProjectView(e.msg);break;default:break}this.log({type:e.type,content:e.msg.replace(/<[^>]+>/g,""),htmlContent:i})}destroy(){for(let e=0;e<V9.logs.length;e++)if(V9.logs[e].id===this.id){delete V9.logs[e];break}for(let e of Object.keys(this))this[e]=void 0}clear(){this.logChange("clear")}importLog(e){let i=[].concat(e);for(let o of i)o.htmlContent||(o.htmlContent=this.getCustomView(o.content,o.type)),this.log(o)}exportLog(e){return JSON.parse(JSON.stringify(this.getLogList(e)))}getLogList(e){switch(e){case"all":return this.logList;case"error":return this.errorLogList;case"fatalError":return this.fatalErrorlogList;case"warn":return this.warnLogList;case"info":return this.infoAndOpenProjectLogList;default:return Array.isArray(e)?e.length===1?this.getLogList(e[0]):this.logList.filter(i=>e.includes(i.type)):[]}}getLogCount(e){return e==="all"?this.totalLogCount:Array.isArray(e)?e.reduce((i,o)=>i+this.getLogList(o).length,0):e?this.getLogList(e).length:{all:this.totalLogCount,error:this.errorLogList.length,fatalError:this.fatalErrorlogList.length,warn:this.warnLogList.length,info:this.infoAndOpenProjectLogList.length}}addListener(e,i){this.listeners.push({type:e,callback:i})}clearListener(e){e?this.listeners.forEach((i,o)=>{i.type===e&&delete this.listeners[o]}):this.listeners.length=0}getId(){return this.id}groupStart(){this.isChangeGroupIndex=!1,this.groupCount=0}groupEnd(){this.isChangeGroupIndex=!0,this.groupCount!=0&&this.currentGroupIndex++}};V9.logs=[];var IS=V9;var y0e=class extends qe{constructor(){super(...arguments);this.needRefresh=!1;this.showLogType="all"}setRefresh(i){this.needRefresh=i,this.notify()}setShowLogType(i){this.showLogType=i,this.notify()}},z8=new y0e,S_=new y0e,M_=new y0e,I_=new y0e;var sxe=L(Hr());var $Pe="primaryLog",eOe="schDrcPrimaryLog",tOe="panelDrcPrimaryLog",iOe="simErcPrimaryLog",$K=["fatalError","error","warn","info"],eZ={fatalError:"Fatal Error",error:"Error",warn:"Warn",info:"Info"},Db=26;var F8=L(Se()),W4t=L(D0i());var tZ=L(Se());var V4t=L(A0i());var H9=L(z());function Ucr(t,e){Ae(V4t.default);let i=J(),{locals:o}=V4t.default,r=be.bind(o),{menus:n,showAmount:a,setAll:s,onCheck:l,onUnCheck:c,onCheckAll:d,onUnCheckAll:u,style:p}=t,[m,h]=(0,tZ.useState)(n);return(0,tZ.useImperativeHandle)(e,()=>({menus:m,setMenus:h})),(0,H9.jsxs)("div",{className:r("check-menu-container"),style:p,children:[s&&(0,H9.jsxs)("div",{className:r("check-menu-row"),children:[(0,H9.jsx)(qt,{checked:m.every(y=>y.checked),onChange:g,style:{width:"30px"}}),(0,H9.jsx)("div",{"data-test":"All",style:{flexGrow:1},onClick:()=>{g(!m.every(y=>y.checked))},children:i("All")}),a&&(0,H9.jsxs)("div",{onClick:()=>{g(!m.every(y=>y.checked))},children:["(",b(),")"]})]}),m.map(y=>{let{name:w,checked:x,amount:S,id:T}=y;return(0,H9.jsxs)("div",{className:r("check-menu-row"),children:[(0,H9.jsx)(qt,{style:{width:"30px"},checked:x,onChange:M=>{f(M,T)}}),(0,H9.jsx)("div",{style:{flexGrow:1},"data-test":w,onClick:()=>{f(!x,T)},children:i(w)}),a&&(0,H9.jsxs)("div",{onClick:()=>{f(!x,T)},children:["(",S,")"]})]},T)})]});function f(y,w){m.find(x=>x.id===w).checked=y,h([...m]),y?l==null||l(w):c==null||c(w)}function g(y){m.forEach(w=>{w.checked=y}),h([...m]),y?d==null||d():u==null||u()}function b(){return m.reduce((y,w)=>y+w.amount,0)}}var L_=tZ.default.memo((0,tZ.forwardRef)(Ucr));var $0i=L(Hr());var x0e=L(Se());var W0i=L(Se());var nOe=L(Se());var N0i=L(Se()),k0i=L(AU()),rxe=L(z()),{locals:Vcr}=k0i.default;function Hcr(t){let{checkedIconColor:e="var(--font-color-table)"}=t;return(0,rxe.jsxs)("svg",{className:Vcr["ctxmenu-checktags-icon"],viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"13985",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"200",height:"200",style:{color:e},children:[(0,rxe.jsx)("path",{d:"M243.39 534.85l251.99 187.91c11.07 8.25 13.35 23.92 5.1 34.99s-23.92 13.35-34.99 5.1L213.5 574.94c-11.07-8.25-13.35-23.92-5.1-34.99 8.26-11.07 23.92-13.35 34.99-5.1z",fill:e,"p-id":"13986"}),(0,rxe.jsx)("path",{d:"M808.33 265.33c11.4 7.79 14.32 23.35 6.52 34.75L502.33 757.1c-7.79 11.4-23.35 14.32-34.75 6.52-11.4-7.79-14.32-23.35-6.52-34.75l312.53-457.01c7.79-11.4 23.34-14.32 34.74-6.53z",fill:e,"p-id":"13987"})]})}var P0i=N0i.default.memo(Hcr);var U0i=L(AU());var R0i=L(Se());var _0i=L(AU()),Toe=L(z()),{locals:O0i}=_0i.default;function Gcr(t){let e=J();return t.isSetContentJSX?(0,Toe.jsx)(Toe.Fragment,{children:t.title}):t.isSetContentHtml?(0,Toe.jsx)("div",{dangerouslySetInnerHTML:{__html:t.title||""}}):t.disabledI18n?(0,Toe.jsx)("div",{className:O0i["content-text-inns"],children:t.title}):(0,Toe.jsx)("div",{className:O0i["content-text-inns"],"data-test":t.title,children:e(t.title)})}var j0i=R0i.default.memo(Gcr);var B0i=L(Se()),z0i=L(AU()),nxe=L(z()),{locals:Ycr}=z0i.default;function Wcr(t){let{iconClassName:e=""}=t;if(!e)return null;let i=`${Ycr["ctxmenu-prep-icon"]}`+(e?` ${e}`:"");return(0,nxe.jsx)(nxe.Fragment,{children:(0,nxe.jsx)("i",{className:i})})}var F0i=B0i.default.memo(Wcr);var cv=L(z()),{locals:G9}=U0i.default;function Qcr(t){let{domId:e,panelMaxHeight:i,optional:o=void 0,commanLink:r=void 0,nowMenuItem:n,isCreateSubMenu:a,createSubMenu:s,onClickAction:l}=t,c=r||n.cmd,d=be.bind(G9),u=m=>{let h=m.currentTarget;if(h){if(h.nextElementSibling&&h.nextElementSibling.tagName.toLocaleLowerCase()==="main")return;let f=h.getAttribute("data-cmdlink"),g=f?f.split(":"):[];l&&l({...n,cmdlink:g},m,o||{})}},p=(0,nOe.useCallback)(m=>{yci(m.currentTarget)},[]);return(0,cv.jsxs)("li",{className:`${G9["ctxmenu-item"]}`+(a?` ${G9["ctxmenu-submenu"]}`:"")+(n.disabled?` ${G9["ctxmenu-item-disabled"]}`:""),onMouseOver:p,"data-itemtype":"ctxmenu-item"+(n.disabled?"-disabled":""),"data-cmdlink":c,"data-domid":e,"data-sensors":"true",children:[(0,cv.jsxs)("div",{className:d(`ctxmenu-content ${n.disabled?` ${G9["ctxmenu-item-disabled"]}`:""}`),onClick:u,"data-cmdlink":c,children:[(0,cv.jsx)("div",{className:G9["content-pretags"],style:{display:n.isHidePreTag?"none":"flex"},children:n.checked?(0,cv.jsx)(P0i,{checkedIconColor:n.checkedIconColor}):(0,cv.jsx)(F0i,{iconClassName:n.iconClassName})}),(0,cv.jsx)("div",{className:G9["content-text"],children:(0,cv.jsx)(j0i,{...n})}),(0,cv.jsx)("div",{className:G9["content-tips"],style:{display:n.isHideTips?"none":"flex"},children:(0,cv.jsx)("div",{className:G9["content-tips-inns"],children:n.tips})}),(0,cv.jsx)("div",{className:G9["content-exts"],style:{display:n.isHideExt?"none":"flex"},children:a?(0,cv.jsx)("i",{className:G9["ctxmenu-exts-icon"]}):null})]}),s?s({domId:e,panelMaxHeight:i,commanLink:c,subMenuItems:n.subMenu||[],isSubMenu:!0,onClickAction:l}):null]})}var H4t=nOe.default.memo(Qcr);var V0i=L(Se()),H0i=L(AU()),Y0i=L(z()),{locals:Kcr}=H0i.default;function Zcr(t){return(0,Y0i.jsx)("li",{className:Kcr["ctxmenu-separator"],"data-itemtype":"ctxmenu-separator"})}var G0i=V0i.default.memo(Zcr);var Q0i=L(AU());var w0e=L(z()),{locals:G4t}=Q0i.default;function K0i(t){let{domId:e,panelMaxHeight:i,optional:o,commanLink:r=void 0,subMenuItems:n=[],isSubMenu:a=!1,onClickAction:s,menuMinWidth:l=0}=t;return(0,w0e.jsx)("main",{className:a?`${G4t["ctxmenu-wrapper"]}`:`${G4t["ctxmenu-wrapper"]} ${G4t["ctxmenu-show-menu"]}`,style:{maxHeight:i+"px",minWidth:l?l+"px":"185px"},children:(0,w0e.jsx)("ul",{className:"ctxmenu-ulist","data-itemtype":"ctxmenu-ulist",children:n.map((c,d)=>{let u=r?r+":"+c.cmd:c.cmd;return Array.isArray(c.subMenu)?(0,w0e.jsx)(H4t,{panelMaxHeight:i,domId:e,commanLink:u,nowMenuItem:c,isCreateSubMenu:!0,optional:o,onClickAction:s,createSubMenu:K0i},d):c.type==="SEPARATOR"?(0,w0e.jsx)(G0i,{menuItem:c},d):(0,w0e.jsx)(H4t,{panelMaxHeight:i,domId:e,commanLink:u,optional:o,nowMenuItem:c,isCreateSubMenu:!1,onClickAction:s},d)})})})}var Z0i=W0i.default.memo(K0i);var Y4t=L(AU());var C0e=L(z()),{locals:Jcr}=Y4t.default;function qcr(t){let{windowInstance:e=window,domId:i,data:o,position:r,panelAlignment:n="INITIAL",panelMaxHeight:a,optional:s,menuMinWidth:l,unmount:c,onClick:d}=t,u=(0,x0e.useRef)(null),p=(g,b,y)=>{let w=!0;g.disabled||(d instanceof Function&&(w=d({...g,clickedItemBoundingRect:b.target.getBoundingClientRect().toJSON()},b,y,c)),w!==!1&&window.setTimeout(()=>{c()}))},m=g=>{g.preventDefault()},h=g=>{u.current&&u.current.removeAttribute("mouselave")},f=g=>{u.current&&u.current.setAttribute("mouselave","true")};return(0,x0e.useLayoutEffect)(()=>{if(u.current){let g=u.current.firstElementChild,b=g.getBoundingClientRect().toJSON();n==="RIGHT_TOP"&&(b.top=b.top-b.height,b.bottom=b.top+b.height);let y=e.document;b.height>=y.documentElement.clientHeight&&(b.top=5,b.height=y.documentElement.clientHeight-5-5,b.bottom=b.top+b.height),b.top+b.height>y.documentElement.clientHeight&&(b.top=y.documentElement.clientHeight-b.height,b.bottom=b.top+b.height),b.top<=5&&(b.top=5,b.bottom=b.top+b.height),b.left+b.width>y.documentElement.clientWidth&&(b.left=y.documentElement.clientWidth-b.width,b.right=b.left+b.width),g.style.height=b.height+"px",u.current.style.left=b.left+"px",u.current.style.top=b.top+"px";let w=O6.get(i);w&&(w.isLoading=!1)}},[]),(0,C0e.jsxs)("section",{children:[(0,C0e.jsx)("style",{children:String(Y4t.default)}),(0,C0e.jsx)("div",{ref:u,className:Jcr["ctxmenu-container"],style:{left:r.x+"px",top:r.y+"px"},onMouseLeave:f,onMouseEnter:h,onContextMenu:m,children:(0,C0e.jsx)(Z0i,{panelMaxHeight:a,menuMinWidth:l,domId:i,subMenuItems:o,isSubMenu:!1,optional:s,onClickAction:p})})]})}var J0i=x0e.default.memo(qcr);function q0i(t){let e=new Map;return X0i(t,void 0,e),e}function X0i(t,e,i){for(let o=0;o<t.length;o++){let r=e?e+":"+t[o].cmd:t[o].cmd;if(t[o].menuHotKey){let n=i.get(t[o].menuHotKey)||[];n.push(r),i.set(t[o].menuHotKey.toLocaleUpperCase(),n)}if(t[o].subMenu){X0i(t[o].subMenu,t[o].cmd,i);continue}}}var epi=L(z()),Xcr=0,aOe=class{static open(e,i){let o=e.windowInstance||window,{contextmenuName:r,panelMaxHeight:n=o.document.documentElement.clientHeight-5-5,menuMinWidth:a,onMenuClose:s,onMenuOpen:l}=e,c=o.document.documentElement,d=o.document.body,u=c.scrollTop,p=c.scrollLeft,m=o.document.createElement("div"),h=pci+Xcr++;if(i&&Hue.has(i.key)){if(Hue.get(i.key).timeStamp!==i.value)return;Hue.delete(i.key)}m.setAttribute("contextmenu",h),m.setAttribute("data-domid",h),m.id=h,m.style.position="absolute",m.style.left=p+"px",m.style.top=u+"px",m.style.outline="0",m.setAttribute("tabIndex","0"),r&&m.setAttribute("react-contextmenu-name",r),O6.has(h)||(O6.set(h,{...e,id:h,windowInstance:o,isLoading:!0}),s_.set(h,[]),Vue.set(h,q0i(e.data)));let f=$0i.default.createRoot(m);f.render((0,epi.jsx)(J0i,{...e,domId:h,panelMaxHeight:n,menuMinWidth:a,unmount:()=>{kU(m)}})),d.appendChild(m),l==null||l();let g=o.document.getElementById(h);g.root=f,g&&(e.isEnableRemovableByBlur&&g.addEventListener("blur",Hbt),window.document.addEventListener("pointerdown",b,!0),window.document.addEventListener("mousedown",NU,!0),g.addEventListener("keydown",Gbt),g.addEventListener("keyup",Ybt),g.focus());function b(y){NU(y),s==null||s()}}static closeActive(){let e=document.activeElement;!e||!e.hasAttribute("contextmenu")||kU(e)}static closeAll(){for(let[e,i]of O6){let{windowInstance:o}=i,r=o.document.getElementById(e);kU(r)}}static addSettingCacheItem(e,i){Hue.set(e,{...i})}static delSettingCacheItem(e){Hue.delete(e)}static isContextMenuOfNowActive(){let e=document.activeElement;return e?e.hasAttribute("contextmenu"):!1}};var Da=aOe,Au=Da;var F6=L(z());function $cr(t){Ce(z8,()=>{let S=z8.needRefresh;return S&&(a.current.menus.forEach(T=>{T.amount=tm("Log").getLogCount(T.id),T.checked=z8.showLogType==="all"||z8.showLogType.includes(T.id)}),f(),S!=null&&S.toEnd&&os(10).then(()=>{s.current.scrollTop=c})),z8.setRefresh(!1),!1}),Ae(W4t.default);let{locals:i}=W4t.default,o=be.bind(i),r=J(),n=$K.map(S=>({id:S,name:eZ[S],checked:!0,amount:0})),a=(0,F8.useRef)(null),s=(0,F8.useRef)(null),l=(0,F8.useRef)(null),[c,d]=(0,F8.useState)(0),[u,p]=(0,F8.useState)([]),[m,h]=(0,F8.useState)(0);return(0,F8.useEffect)(()=>{let S=x();l.current.innerHTML=u.reduce((T,M,I)=>T+M.htmlContent.replace(/<p/i,`<p data-log-index=${S+I}`),""),me.update(l.current)},[u]),(0,F6.jsxs)(F6.Fragment,{children:[(0,F6.jsxs)("div",{className:o("log-container-left"),children:[(0,F6.jsxs)("div",{className:o("log-btns"),children:[(0,F6.jsx)(Me,{onClick:()=>{C3("Log")},children:"Export"}),(0,F6.jsx)(Me,{onClick:()=>{Eb("Log")},children:"Clear"})]}),(0,F6.jsx)("div",{className:o("log-category"),children:(0,F6.jsx)(L_,{ref:a,setAll:!0,menus:n,showAmount:!0,onCheck:f,onCheckAll:f,onUnCheck:f,onUnCheckAll:f})})]}),(0,F6.jsxs)("div",{ref:s,className:o("log-container-content"),onContextMenu:S=>{y(S)},onScroll:()=>{let{logList:S}=b();p(S),h(Math.min(s.current.scrollTop,Math.max(0,c-S.length*Db)))},children:[(0,F6.jsx)("div",{ref:l,className:o("log-show"),style:{transform:`translateY(${m}px)`}}),(0,F6.jsx)("div",{className:o("log-scroll-content"),style:{height:`${c}px`}})]})]});function f(){let S=g();z8.setShowLogType(S);let{logList:T,scrollHeight:M}=b(S);p(T),d(M)}function g(){let S=a.current.menus.filter(T=>T.checked);return S.length===a.current.menus.length?"all":S.map(T=>T.id)}function b(S=g()){let T=w(),M=x(),I=tm("Log").getLogList(S);return{logList:I.slice(M,M+T),scrollHeight:I.length*Db}}function y(S){Da.open({data:[{cmd:"export",title:r("Export Log")},{cmd:"clear",title:r("Clear Log")}],position:{x:S.pageX-5,y:S.pageY-5},onClick(T,M,I,A){switch(T.cmd){case"export":C3("Log");break;case"clear":Eb("Log");break}},onEnterConfirm(T,M,I){switch(T[0]){case"export":C3("Log");break;case"clear":Eb("Log");break}}})}function w(){return Math.ceil(s.current.offsetHeight/Db)+1}function x(){return Math.floor(s.current.scrollTop/Db)}}var tpi=F8.default.memo($cr);var U8=L(Se()),Q4t=L(opi());var Xw=L(z());function edr(t){let e="schDrcLog";Ce(S_,()=>{let S=S_.needRefresh;return S&&(a.current.menus.forEach(T=>{T.amount=tm(e).getLogCount(T.id),T.checked=S_.showLogType==="all"||S_.showLogType.includes(T.id)}),f(),S!=null&&S.toEnd&&os(10).then(()=>{s.current.scrollTop=c})),S_.setRefresh(!1),!1}),Ae(Q4t.default);let{locals:i}=Q4t.default,o=be.bind(i),r=J(),n=$K.map(S=>({id:S,name:eZ[S],checked:!0,amount:0})),a=(0,U8.useRef)(null),s=(0,U8.useRef)(null),l=(0,U8.useRef)(null),[c,d]=(0,U8.useState)(0),[u,p]=(0,U8.useState)([]),[m,h]=(0,U8.useState)(0);return(0,U8.useEffect)(()=>{let S=x();l.current.innerHTML=u.reduce((T,M,I)=>T+M.htmlContent.replace(/<p/i,`<p data-log-index=${S+I}`),""),me.update(l.current)},[u]),(0,Xw.jsxs)(Xw.Fragment,{children:[(0,Xw.jsxs)("div",{className:o("log-container-left"),children:[(0,Xw.jsxs)("div",{className:o("check-drc-btn"),children:[(0,Xw.jsx)(Me,{type:"primary",onClick:()=>{C.messageBus.publish("doCommand",["checkERC"])},style:{flexGrow:1},children:"Check DRC"}),(0,Xw.jsx)("div",{className:"icon-eda-setting "+o("openDesignRulesDlg"),onClick:async()=>{await ii("electrical-rule")}})]}),(0,Xw.jsxs)("div",{className:o("log-btns"),children:[(0,Xw.jsx)(Me,{onClick:()=>{C3(e)},children:"Export"}),(0,Xw.jsx)(Me,{onClick:()=>{Eb(e)},children:"Clear"})]}),(0,Xw.jsx)("div",{className:o("log-category"),children:(0,Xw.jsx)(L_,{ref:a,setAll:!0,menus:n,showAmount:!0,onCheck:f,onCheckAll:f,onUnCheck:f,onUnCheckAll:f})})]}),(0,Xw.jsxs)("div",{ref:s,className:o("log-container-content"),onContextMenu:S=>{y(S)},onScroll:()=>{let{logList:S}=b();p(S),h(Math.min(s.current.scrollTop,Math.max(0,c-S.length*Db)))},children:[(0,Xw.jsx)("div",{ref:l,className:o("log-show"),style:{transform:`translateY(${m}px)`}}),(0,Xw.jsx)("div",{className:o("log-scroll-content"),style:{height:`${c}px`}})]})]});function f(){let S=g();S_.setShowLogType(S);let{logList:T,scrollHeight:M}=b(S);p(T),d(M)}function g(){let S=a.current.menus.filter(T=>T.checked);return S.length===a.current.menus.length?"all":S.map(T=>T.id)}function b(S=g()){let T=w(),M=x(),I=tm(e).getLogList(S);return{logList:I.slice(M,M+T),scrollHeight:I.length*Db}}function y(S){Da.open({data:[{cmd:"export",title:r("Export Log")},{cmd:"clear",title:r("Clear Log")}],position:{x:S.pageX-5,y:S.pageY-5},onClick(T,M,I,A){switch(T.cmd){case"export":C3(e);break;case"clear":Eb(e);break}},onEnterConfirm(T,M,I){switch(T[0]){case"export":C3(e);break;case"clear":Eb(e);break}}})}function w(){return Math.ceil(s.current.offsetHeight/Db)+1}function x(){return Math.floor(s.current.scrollTop/Db)}}var rpi=U8.default.memo(edr);var V8=L(Se()),K4t=L(api());var spi=(i=>(i.GetCanvasGridSetting="sch/getCanvasGridSetting",i.GetDocStatus="sch/getDocStatus",i))(spi||{}),lpi=(Ri=>(Ri.SetBackgroundColor="pcb/engine/scene/setBackgroundColor",Ri.ModifyPartitionFlag="pcb/editor/modifyPartitionFlag",Ri.GetTopMenuStatus="pcb/getTopMenuStatus",Ri.GetRatlineStatus="pcb/extensionAPI/document-getRatlineStatus",Ri.SetRatlineStatus="pcb/extensionAPI/document-setRatlineStatus",Ri.ConvertCanvasOriginToDataOrigin="pcb/extensionAPI/document-convertCanvasOriginToDataOrigin",Ri.ConvertDataOriginToCanvasOrigin="pcb/extensionAPI/document-convertDataOriginToCanvasOrigin",Ri.GetCanvasOrigin="pcb/extensionAPI/document-getCanvasOrigin",Ri.SetCanvasOrigin="pcb/extensionAPI/document-setCanvasOrigin",Ri.NavigateToCoordinates="pcb/extensionAPI/document-navigateToCoordinates",Ri.NavigateToRegion="pcb/extensionAPI/document-navigateToRegion",Ri.GetPrimitivesInRegion="pcb/extensionAPI/document-getPrimitivesInRegion",Ri.GetPrimitiveAtPoint="pcb/extensionAPI/document-getPrimitiveAtPoint",Ri.GetCurrentFilterConfiguration="pcb/extensionAPI/document-getCurrentFilterConfiguration",Ri.ImportAutoRouteFile="pcb/importAutoRouteFile",Ri.ImportAutoRouteSesFile="pcb/importAutoRouteSesFile",Ri.DRCCheck="pcb/extensionAPI/drc-check",Ri.GetCurrentRuleConfigurationName="pcb/extensionAPI/drc-getCurrentRuleConfigurationName",Ri.GetCurrentRuleConfiguration="pcb/extensionAPI/drc-getCurrentRuleConfiguration",Ri.DRCRules="pcb/extensionAPI/drc-getNetRules",Ri.DRCOverwriteCurrentRuleConfiguration="pcb/extensionAPI/drc-overwriteCurrentRuleConfiguration",Ri.DRCOverwriteNetRules="pcb/extensionAPI/drc-overwriteNetRules",Ri.DRCGetNetByNetRules="pcb/extensionAPI/drc-getNetByNetRules",Ri.DRCOverwriteNetByNetRules="pcb/extensionAPI/drc-overwriteNetByNetRules",Ri.DRCGetRegionRules="pcb/extensionAPI/drc-getRegionRules",Ri.DRCOverwriteRegionRules="pcb/extensionAPI/drc-overwriteRegionRules",Ri.DRCCreateNetClass="pcb/extensionAPI/drc-createNetClass",Ri.DRCDeleteNetClass="pcb/extensionAPI/drc-deleteNetClass",Ri.DRCModifyNetClassName="pcb/extensionAPI/drc-modifyNetClassName",Ri.DRCAddNetToNetClass="pcb/extensionAPI/drc-addNetToNetClass",Ri.DRCRemoveNetFromNetClass="pcb/extensionAPI/drc-removeNetFromNetClass",Ri.DRCGetAllNetClasses="pcb/extensionAPI/drc-getAllNetClasses",Ri.DRCCreateEqualLengthNetGroup="pcb/extensionAPI/drc-createEqualLengthNetGroup",Ri.DRCDeleteEqualLengthNetGroup="pcb/extensionAPI/drc-deleteEqualLengthNetGroup",Ri.DRCModifyEqualLengthNetGroupName="pcb/extensionAPI/drc-modifyEqualLengthNetGroupName",Ri.DRCAddNetToEqualLengthNetGroup="pcb/extensionAPI/drc-addNetToEqualLengthNetGroup",Ri.DRCRemoveNetFromEqualLengthNetGroup="pcb/extensionAPI/drc-removeNetFromEqualLengthNetGroup",Ri.DRCGetAllEqualLengthNetGroups="pcb/extensionAPI/drc-getAllEqualLengthNetGroups",Ri.DRCCreatePadPairGroup="pcb/extensionAPI/drc-createPadPairGroup",Ri.DRCDeletePadPairGroup="pcb/extensionAPI/drc-deletePadPairGroup",Ri.DRCModifyPadPairGroupName="pcb/extensionAPI/drc-modifyPadPairGroupName",Ri.DRCAddPadPairToPadPairGroup="pcb/extensionAPI/drc-addPadPairToPadPairGroup",Ri.DRCRemovePadPairFromPadPairGroup="pcb/extensionAPI/drc-removePadPairFromPadPairGroup",Ri.DRCGetAllPadPairGroups="pcb/extensionAPI/drc-getAllPadPairGroups",Ri.DRCGetPadPairGroupMinWireLength="pcb/extensionAPI/drc-getPadPairGroupMinWireLength",Ri.SelectLayerById="pcb/extensionAPI/pcblayer-selectLayerById",Ri.SetLayerStatus="pcb/extensionAPI/pcblayer-setLayerStatus",Ri.GetAllLayers="pcb/extensionAPI/pcblayer-getAllLayers",Ri.SetLayerData="pcb/extensionAPI/pcblayer-setLayerData",Ri.SetLayerThemeProfile="pcb/extensionAPI/pcblayer-setLayerThemeProfile",Ri.Get3DShellFile="pcb/extensionAPI/pcbmanufacturedata-get3DShellFile",Ri.GetSourcePCBInfo="pcb/extensionAPI/pcbmanufacturedata-getSourcePCBInfo",Ri.GetIPC_D_356AFile="pcb/extensionAPI/pcbmanufacturedata-getIPC_D_356AFile",Ri.ConvertImageToComplexPolygon="pcb/extensionAPI/math-convertImageToComplexPolygon",Ri.GetCenter="pcb/extensionAPI/math-getCenter",Ri.GetAllNetsInfo="pcb/extensionAPI/pcbnet-getAllNetsInfo",Ri.GetNet="pcb/extensionAPI/pcbnet-getNet",Ri.SetNetColor="pcb/extensionAPI/pcbnet-setNetColor",Ri.GetAllNets="pcb/extensionAPI/pcbnet-getAllNets",Ri.GetNetLength="pcb/extensionAPI/pcbnet-getNetLength",Ri.GetAllPrimitivesByNet="pcb/extensionAPI/pcbnet-getAllPrimitivesByNet",Ri.SelectNet="pcb/extensionAPI/pcbnet-selectNet",Ri.UnselectNet="pcb/extensionAPI/pcbnet-unselectNet",Ri.UnselectAllNets="pcb/extensionAPI/pcbnet-unselectAllNets",Ri.HighlightNet="pcb/extensionAPI/pcbnet-highlightNet",Ri.UnhighlightNet="pcb/extensionAPI/pcbnet-unhighlightNet",Ri.UnhighlightAllNets="pcb/extensionAPI/pcbnet-unhighlightAllNets",Ri.GetPrimitivesBBox="pcb/extensionAPI/pcbprimitive-getPrimitivesBBox",Ri.ARCCreate="pcb/extensionAPI/arc-create",Ri.ARCDelete="pcb/extensionAPI/arc-delete",Ri.ARCModify="pcb/extensionAPI/arc-modify",Ri.ARCGetByIds="pcb/extensionAPI/arc-getByIds",Ri.ARCGetAll="pcb/extensionAPI/arc-getAll",Ri.ARCGetAdjacentPrimitives="pcb/extensionAPI/arc-getAdjacentPrimitives",Ri.ARCGetEntireTrack="pcb/extensionAPI/arc-getEntireTrack",Ri.AttributeDelete="pcb/extensionAPI/attribute-delete",Ri.AttributeModify="pcb/extensionAPI/attribute-modify",Ri.AttributeGetByIds="pcb/extensionAPI/attribute-getByIds",Ri.AttributeGetAll="pcb/extensionAPI/attribute-getAll",Ri.ComponentCreate="pcb/extensionAPI/component-create",Ri.ComponentDelete="pcb/extensionAPI/component-delete",Ri.ComponentModify="pcb/extensionAPI/component-modify",Ri.ComponentGetByIds="pcb/extensionAPI/component-getByIds",Ri.ComponentGetAll="pcb/extensionAPI/component-getAll",Ri.ComponentGetAllPinsByPrimitiveId="pcb/extensionAPI/component-getAllPinsByPrimitiveId",Ri.ComponentSetAttribute="pcb/extensionAPI/component-setAttribute",Ri.DimensionCreate="pcb/extensionAPI/dimension-create",Ri.DimensionDelete="pcb/extensionAPI/dimension-delete",Ri.DimensionModify="pcb/extensionAPI/dimension-modify",Ri.DimensionGetByIds="pcb/extensionAPI/dimension-getByIds",Ri.DimensionGetAll="pcb/extensionAPI/dimension-getAll",Ri.FillCreate="pcb/extensionAPI/fill-create",Ri.FillDelete="pcb/extensionAPI/fill-delete",Ri.FillModify="pcb/extensionAPI/fill-modify",Ri.FillGetByIds="pcb/extensionAPI/fill-getByIds",Ri.FillGetAll="pcb/extensionAPI/fill-getAll",Ri.FillConvertToType="pcb/extensionAPI/fill-convertToType",Ri.ImageCreate="pcb/extensionAPI/image-create",Ri.ImageDelete="pcb/extensionAPI/image-delete",Ri.ImageModify="pcb/extensionAPI/image-modify",Ri.ImageGetByIds="pcb/extensionAPI/image-getByIds",Ri.ImageGetAll="pcb/extensionAPI/image-getAll",Ri.TrackCreate="pcb/extensionAPI/track-create",Ri.TrackDelete="pcb/extensionAPI/track-delete",Ri.TrackModify="pcb/extensionAPI/track-modify",Ri.TrackGetByIds="pcb/extensionAPI/track-getByIds",Ri.TrackGetAll="pcb/extensionAPI/track-getAll",Ri.TrackGetAdjacentPrimitives="pcb/extensionAPI/track-getAdjacentPrimitives",Ri.TrackGetEntireTrack="pcb/extensionAPI/track-getEntireTrack",Ri.ObjectCreate="pcb/extensionAPI/object-create",Ri.ObjectDelete="pcb/extensionAPI/object-delete",Ri.ObjectModify="pcb/extensionAPI/object-modify",Ri.ObjectGetByIds="pcb/extensionAPI/object-getByIds",Ri.ObjectGetAll="pcb/extensionAPI/object-getAll",Ri.PadCreate="pcb/extensionAPI/pad-create",Ri.PadDelete="pcb/extensionAPI/pad-delete",Ri.PadModify="pcb/extensionAPI/pad-modify",Ri.PadGetByIds="pcb/extensionAPI/pad-getByIds",Ri.PadGetAll="pcb/extensionAPI/pad-getAll",Ri.PadGetConnectedPrimitives="pcb/extensionAPI/pad-getConnectedPrimitives",Ri.PolylinesCreate="pcb/extensionAPI/polylines-create",Ri.PolylinesDelete="pcb/extensionAPI/polylines-delete",Ri.PolylinesModify="pcb/extensionAPI/polylines-modify",Ri.PolylinesGetByIds="pcb/extensionAPI/polylines-getByIds",Ri.PolylinesGetAll="pcb/extensionAPI/polylines-getAll",Ri.PolylinesConvertToTypel="pcb/extensionAPI/polylines-convertToType",Ri.CopperCreate="pcb/extensionAPI/copper-create",Ri.CopperDelete="pcb/extensionAPI/copper-delete",Ri.CopperModify="pcb/extensionAPI/copper-modify",Ri.CopperGetByIds="pcb/extensionAPI/copper-getByIds",Ri.CopperGetCopperRegion="pcb/extensionAPI/copper-getCopperRegion",Ri.RebuildCopperRegion="pcb/pcbRebuildCopperRegion",Ri.CopperGetAll="pcb/extensionAPI/copper-getAll",Ri.CopperConvertToType="pcb/extensionAPI/copper-convertToType",Ri.PouredDelete="pcb/extensionAPI/poured-delete",Ri.PouredDeletePourFills="pcb/extensionAPI/poured-deletePourFills",Ri.PouredConvertToFill="pcb/extensionAPI/poured-convertToFill",Ri.PouredAddSolderMaskFill="pcb/extensionAPI/poured-addSolderMaskFill",Ri.PouredGetAll="pcb/extensionAPI/poured-getAll",Ri.RegionCreate="pcb/extensionAPI/region-create",Ri.RegionDelete="pcb/extensionAPI/region-delete",Ri.RegionModify="pcb/extensionAPI/region-modify",Ri.RegionGetByIds="pcb/extensionAPI/region-getByIds",Ri.RegionGetAll="pcb/extensionAPI/region-getAll",Ri.RegionConvertToType="pcb/extensionAPI/region-convertToType",Ri.StringCreate="pcb/extensionAPI/string-create",Ri.StringDelete="pcb/extensionAPI/string-delete",Ri.StringModify="pcb/extensionAPI/string-modify",Ri.StringGetByIds="pcb/extensionAPI/string-getByIds",Ri.StringGetAll="pcb/extensionAPI/string-getAll",Ri.ViaCreate="pcb/extensionAPI/via-create",Ri.ViaDelete="pcb/extensionAPI/via-delete",Ri.ViaModify="pcb/extensionAPI/via-modify",Ri.ViaGetByIds="pcb/extensionAPI/via-getByIds",Ri.ViaGetAll="pcb/extensionAPI/via-getAll",Ri.ViaGetAdjacentPrimitives="pcb/extensionAPI/via-getAdjacentPrimitives",Ri.SelectcontrolGetAllSelectedPrimitiveIds="pcb/extensionAPI/selectcontrol-getAllSelectedPrimitiveIds",Ri.SelectcontrolSelectcontrol="pcb/extensionAPI/selectcontrol-getAllSelectedPrimitives",Ri.SelectcontrolDoSelectPrimitives="pcb/extensionAPI/selectcontrol-doSelectPrimitives",Ri.SelectcontrolDoCrossProbeSelect="pcb/extensionAPI/selectcontrol-doCrossProbeSelect",Ri.SelectcontrolDoCrossProbeSelectByObject="pcb/extensionAPI/selectcontrol-doCrossProbeSelectByObject",Ri.SelectcontrolClearSelected="pcb/extensionAPI/selectcontrol-clearSelected",Ri.SelectcontrolGetCurrentMousePosition="pcb/extensionAPI/selectcontrol-getCurrentMousePosition",Ri.GetDxfLayerType2NameMap="pcb/editor/getDxfLayerType2NameMap",Ri.GetBgColor="pcb/getBgColor",Ri.GetExportObjects="pcb/getExportObjects",Ri.GetLayerInfoMap="pcb/editor/getLayerInfoMap",Ri.BatchUpdateShapeState="pro-pcb/editor/batchUpdateShapeState",Ri))(lpi||{}),cpi=(v=>(v.GetCanvasGridSetting="panel/getCanvasGridSetting",v.ModifyCombination="panel/modify-combination",v.GetAllCombinationAndElesFromTop="panel/get-allCombinationAndElesFromTop",v.EditCombination="panel/edit-combination",v.CancelLayerPanelHidden="panel/cancelLayerPanelHidden",v.PanelCombinationElesVisChange="panel/panelCombinationElesVisChange",v.CancelAllParentCombinationHidden="panel/cancelAllParentCombinationHidden",v.PanelCombinationVisibleChange="panel/panelCombinationVisibleChange",v.PanelLayerPrimitiveVisibilityChange="panel/panelLayerPrimitiveVisibilityChange",v.GetEditCombinationId="panel/get-edit-combination-id",v.SelectCombination="panel/select-combination",v.GetEditingPathId="panel/get-editingPath",v.GetHead="panel/3d/getHead",v.GetDocStatus="panel/getDocStatus",v.GetViewStatus="panel/getViewStatus",v.DesignCheck="panel/design-check",v.PauseDateMerge="panel/pauseDateMerge",v.GetCombineData="panel/get-combine-data",v.GetPanelCanvasImg="panel/getPanelCanvasImg",v.ArrayCopyCancel="panel/arrayCopyCancel",v.AttrpanelApply="panel/panel_attrpanel_apply",v.UpdateReferencePoint="panel/update-reference-point",v.ResetDefaultScheme="panel/resetDefaultScheme",v.PanelLayerSchemeChange="panel/panelLayerSchemeChange",v.ActivePanelLayerScheme="panel/activePanelLayerScheme",v.LayerConfig="panel/3d/layerConfig",v.DxfInitPreview="panel/dxf/initPreview",v.DxfUpdateParameter="panel/dxf/updateParameter",v.DxfPreviewForLatestParam="panel/dxf/previewForLatestParam",v.DxfLayerDataChange="panel/dxf/layerDataChange",v))(cpi||{}),dpi=(e=>(e.SetBackgroundColor="/engine/scene/setBackgroundColor",e))(dpi||{}),kt={Sch:spi,Pcb:lpi,Panel:cpi,Engine:dpi};function upi(t,e){return t.startsWith("sch/")&&(e===ve.SCH||pr(e))||t.startsWith("pcb/")&&(e===ve.PCB||e===ve.FOOTPRINT)||t.startsWith("panel/")&&[ve.PANEL,ve.PANEL_LIB,ve.PANEL3D].includes(e)?!0:!!(t.startsWith("engine/")||t.startsWith("/engine/"))}var gT=L(z());function tdr(t){let e="panelDrcLog";Ce(M_,()=>{let S=M_.needRefresh;return S&&(a.current.menus.forEach(T=>{T.amount=tm(e).getLogCount(T.id),T.checked=M_.showLogType==="all"||M_.showLogType.includes(T.id)}),f(),S!=null&&S.toEnd&&os(10).then(()=>{s.current.scrollTop=c})),M_.setRefresh(!1),!1}),Ae(K4t.default);let{locals:i}=K4t.default,o=be.bind(i),r=J(),n=$K.map(S=>({id:S,name:eZ[S],checked:!0,amount:0})),a=(0,V8.useRef)(null),s=(0,V8.useRef)(null),l=(0,V8.useRef)(null),[c,d]=(0,V8.useState)(0),[u,p]=(0,V8.useState)([]),[m,h]=(0,V8.useState)(0);return(0,V8.useEffect)(()=>{let S=x();l.current.innerHTML=u.reduce((T,M,I)=>T+M.htmlContent.replace(/<p/i,`<p data-log-index=${S+I}`),""),me.update(l.current)},[u]),(0,gT.jsxs)(gT.Fragment,{children:[(0,gT.jsxs)("div",{className:o("log-container-left"),children:[(0,gT.jsx)("div",{className:o("check-drc-btn"),children:(0,gT.jsx)(Me,{type:"primary",onClick:async()=>{await Pt(kt.Panel.DesignCheck)},style:{flexGrow:1},children:"Check DRC"})}),(0,gT.jsxs)("div",{className:o("log-btns"),children:[(0,gT.jsx)(Me,{onClick:()=>{C3(e)},children:"Export"}),(0,gT.jsx)(Me,{onClick:()=>{Eb(e)},children:"Clear"})]}),(0,gT.jsx)("div",{className:o("log-category"),children:(0,gT.jsx)(L_,{ref:a,setAll:!0,menus:n,showAmount:!0,onCheck:f,onCheckAll:f,onUnCheck:f,onUnCheckAll:f})})]}),(0,gT.jsxs)("div",{ref:s,className:o("log-container-content"),onContextMenu:S=>{y(S)},onScroll:()=>{let{logList:S}=b();p(S),h(Math.min(s.current.scrollTop,Math.max(0,c-S.length*Db)))},children:[(0,gT.jsx)("div",{ref:l,className:o("log-show"),style:{transform:`translateY(${m}px)`}}),(0,gT.jsx)("div",{className:o("log-scroll-content"),style:{height:`${c}px`}})]})]});function f(){let S=g();M_.setShowLogType(S);let{logList:T,scrollHeight:M}=b(S);p(T),d(M)}function g(){let S=a.current.menus.filter(T=>T.checked);return S.length===a.current.menus.length?"all":S.map(T=>T.id)}function b(S=g()){let T=w(),M=x(),I=tm(e).getLogList(S);return{logList:I.slice(M,M+T),scrollHeight:I.length*Db}}function y(S){Da.open({data:[{cmd:"export",title:r("Export Log")},{cmd:"clear",title:r("Clear Log")}],position:{x:S.pageX-5,y:S.pageY-5},onClick(T,M,I,A){switch(T.cmd){case"export":C3(e);break;case"clear":Eb(e);break}},onEnterConfirm(T,M,I){switch(T[0]){case"export":C3(e);break;case"clear":Eb(e);break}}})}function w(){return Math.ceil(s.current.offsetHeight/Db)+1}function x(){return Math.floor(s.current.scrollTop/Db)}}var ppi=V8.default.memo(tdr);var H8=L(Se()),Z4t=L(hpi());var $w=L(z());function idr(t){let e="simErcLog";Ce(I_,()=>{let S=I_.needRefresh;return S&&(a.current.menus.forEach(T=>{T.amount=tm(e).getLogCount(T.id),T.checked=I_.showLogType==="all"||I_.showLogType.includes(T.id)}),f(),S!=null&&S.toEnd&&os(10).then(()=>{s.current.scrollTop=c})),I_.setRefresh(!1),!1}),Ae(Z4t.default);let{locals:i}=Z4t.default,o=be.bind(i),r=J(),n=$K.map(S=>({id:S,name:eZ[S],checked:!0,amount:0})),a=(0,H8.useRef)(null),s=(0,H8.useRef)(null),l=(0,H8.useRef)(null),[c,d]=(0,H8.useState)(0),[u,p]=(0,H8.useState)([]),[m,h]=(0,H8.useState)(0);return(0,H8.useEffect)(()=>{let S=x();l.current.innerHTML=u.reduce((T,M,I)=>T+M.htmlContent.replace(/<p/i,`<p data-log-index=${S+I}`),""),me.update(l.current)},[u]),(0,$w.jsxs)($w.Fragment,{children:[(0,$w.jsxs)("div",{className:o("log-container-left"),children:[(0,$w.jsxs)("div",{className:o("check-erc-btn"),children:[(0,$w.jsx)(Me,{type:"primary",onClick:()=>{C.messageBus.publish("doCommand",["checkSimERC"])},style:{flexGrow:1},children:"Check ERC"}),(0,$w.jsx)("div",{className:"icon-eda-setting "+o("openDesignRulesDlg"),onClick:async()=>{await ii("sim_electrical_rule")}})]}),(0,$w.jsxs)("div",{className:o("log-btns"),children:[(0,$w.jsx)(Me,{onClick:()=>{C3(e)},children:"Export"}),(0,$w.jsx)(Me,{onClick:()=>{Eb(e)},children:"Clear"})]}),(0,$w.jsx)("div",{className:o("log-category"),children:(0,$w.jsx)(L_,{ref:a,setAll:!0,menus:n,showAmount:!0,onCheck:f,onCheckAll:f,onUnCheck:f,onUnCheckAll:f})})]}),(0,$w.jsxs)("div",{ref:s,className:o("log-container-content"),onContextMenu:S=>{y(S)},onScroll:()=>{let{logList:S}=b();p(S),h(Math.min(s.current.scrollTop,c-S.length*Db))},children:[(0,$w.jsx)("div",{ref:l,className:o("log-show"),style:{transform:`translateY(${m}px)`}}),(0,$w.jsx)("div",{className:o("log-scroll-content"),style:{height:`${c}px`}})]})]});function f(){let S=g();I_.setShowLogType(S);let{logList:T,scrollHeight:M}=b(S);p(T),d(M)}function g(){let S=a.current.menus.filter(T=>T.checked);return S.length===a.current.menus.length?"all":S.map(T=>T.id)}function b(S=g()){let T=w(),M=x(),I=tm(e).getLogList(S);return{logList:I.slice(M,M+T),scrollHeight:I.length*Db}}function y(S){Da.open({data:[{cmd:"export",title:r("Export Log")},{cmd:"clear",title:r("Clear Log")}],position:{x:S.pageX-5,y:S.pageY-5},onClick(T,M,I,A){switch(T.cmd){case"export":C3(e);break;case"clear":Eb(e);break}},onEnterConfirm(T,M,I){switch(T[0]){case"export":C3(e);break;case"clear":Eb(e);break}}})}function w(){return Math.ceil(s.current.offsetHeight/Db)+1}function x(){return Math.floor(s.current.scrollTop/Db)}}var fpi=H8.default.memo(idr);var lxe=L(Se()),QU=L(z());function gpi(){sxe.default.createRoot(document.getElementById($Pe)).render((0,QU.jsx)(lxe.StrictMode,{children:(0,QU.jsx)(tpi,{})}))}function bpi(){sxe.default.createRoot(document.getElementById(eOe)).render((0,QU.jsx)(lxe.StrictMode,{children:(0,QU.jsx)(rpi,{})}))}function ypi(){sxe.default.createRoot(document.getElementById(tOe)).render((0,QU.jsx)(lxe.StrictMode,{children:(0,QU.jsx)(ppi,{})}))}function wpi(){sxe.default.createRoot(document.getElementById(iOe)).render((0,QU.jsx)(lxe.StrictMode,{children:(0,QU.jsx)(fpi,{})}))}var gy=L(Vi());var odr={from:"empty",to:"empty"},Cpi={contentEntityTable:{classification:null,category:null,tabType:"device",searchValue:"",tabRouter:odr}};var Tr={...Cpi.contentEntityTable,selectedItemData:null,classificationList:[],categoryList:[],tabName:"device",selectedDocType:void 0,lastActiveRow:null,windowInstance:null};async function xpi(t,e=!0){let i=await Ze.getDeviceSearchList({path:t.path,isProject:t.path===C.currentProject.projectId,titles:t.titles,withPackage:!0});if(i)return i;e&&Qh(Pm.REQUEST_PARAM_ILLEGAL)}function T0e(t,e=!0){return new Promise((i,o)=>{$L(C.apis.client.model3DLists,t,r=>{r.success?i(r.result):(e&&Qh(r.code),o(r.code))}).catch(r=>{o(r)})})}async function dOe(t,e=!0){let i={projectId:C.currentProject.projectId,...t},{message:o}=await C.messageBus.rpcCall(Ei.DOCUMENT.LIST,i);return o.success?o.result:(e&&Qh(o.code),o.code)}async function KU(t,e=!0){let{message:i}=await C.messageBus.rpcCall(Ei.PROJECT.GET,[t.uuid]);return i.success?i.result:(e&&Qh(i.code),i.code)}async function Tpi(t,e=!0){let{message:i}=await C.messageBus.rpcCall(Ei.SCHEMATIC.LIST,{projectId:t.path,...t});return i.success?i.result:(e&&Qh(i.code),i.code)}function J4t(t,e=!0){return new Promise((i,o)=>{$L(C.apis.annotation.projectAnnotations,{projectId:t},r=>{r.success?i(r.result):(e&&Qh(r.code),o(r.code))}).catch(r=>{o(r)})})}function Spi(t,e=!0){return new Promise((i,o)=>{Vc(C.apis.annotation.updateAnnotationBlock,JSON.stringify(t),r=>{r.success?i(r.result):(e&&Qh(r.code),o(r.code))},{contentType:"application/json;charset=utf-8"}).fail(r=>{o(r)})})}function Mpi(t,e=!0){return new Promise((i,o)=>{Vc(C.apis.annotation.createAnnotationBlock,JSON.stringify(t),async r=>{r.success?i(r.result):(e&&Qh(r.code),C.windowBridge.publish("cancelAnnotation",r.block,await Ra()),o(r.code))},{contentType:"application/json;charset=utf-8"}).fail(r=>{o(r)})})}function Ipi(t,e=!0){return new Promise((i,o)=>{Vc(C.apis.annotation.createAnnotationItem,JSON.stringify(t),r=>{r.success?i(r.result):(e&&Qh(r.code),o(r.code))},{contentType:"application/json;charset=utf-8"}).fail(r=>{o(r)})})}function Lpi(t,e=!0){return new Promise((i,o)=>{Vc(C.apis.annotation.removeAnnotationItem,JSON.stringify(t),r=>{r.success?i(!0):(e&&Qh(r.code),o(r.code))},{contentType:"application/json;charset=utf-8"}).fail(r=>{o(r)})})}function vpi(t,e=!0){return new Promise((i,o)=>{fetch(C.apis.others.waterMark.replace("{uuid}",t),{method:"GET"}).then(function(r){r.status===200?r.json().then(n=>{n.success?i(n.result):(e&&Qh(n.code),o(n.code))}):o(r.statusText)})})}function cxe(t,e=!0){return new Promise((i,o)=>{Vc(C.apis.std.search,JSON.stringify(t),r=>{r.success?i(r.result):(e&&Qh(r.code),o(r.code))},{contentType:"application/json;charset=utf-8"}).fail(r=>{o(r)})})}function Dpi(t,e=!1){return new Promise((i,o)=>{Vc(C.apis.others.deviceLogs,JSON.stringify(t),r=>{r.success?i():(e&&Qh(r.code),o(r.code))},{contentType:"application/json;charset=utf-8"}).fail(r=>{o(r)})})}function dxe(t,e=!0){return new Promise((i,o)=>{Vc(C.apis.std.searchPCBAndModule,JSON.stringify(t),r=>{r.success?i(r.result):(e&&Qh(r.code),o(r.code))},{contentType:"application/json;charset=utf-8"}).fail(r=>{o(r)})})}function G8(t,e=!0){return new Promise((i,o)=>{$L(C.apis.std.ajaxDetail,t,r=>{r.success?i(r.result):(e&&Qh(r.code),o(r.code))}).catch(r=>{o(r)})})}function Epi(t,e=!0){return new Promise((i,o)=>{Vc(C.apis.client.rebuildSearchIndex,JSON.stringify({path:t}),r=>{r.success?i(r.result):(e&&Qh(r.code),o(r.code))},{contentType:"application/json;charset=utf-8"}).fail(r=>{o(r)})})}function S0e(t,e=!0,i=!0){return new Promise((o,r)=>{Vc(C.apis.open.getDeviceList,JSON.stringify(t),n=>{n.success?(i&&n.result.lists.forEach(a=>{a.libType=Yt.INTERNAL}),o(n.result)):(e&&Qh(n.code,n.message,!0),r(n.code))},{contentType:"application/json;charset=utf-8"}).fail(n=>{r(n)})})}function M0e(t,e=!0){return new Promise((i,o)=>{Vc(C.apis.open.getDeviceAttr,JSON.stringify(t),r=>{r.success?i(r.result):(e&&Qh(r.code,r.message,!0),o(r.code))},{contentType:"application/json;charset=utf-8"}).fail(r=>{o(r)})})}function uOe(t=!0){return new Promise((e,i)=>{let o={method:"POST"};fetch(C.apis.open.getCategory,o).then(function(r){r.status===200?r.json().then(n=>{n.success?e(n.result):(t&&Qh(n.code,n.message,!0),i(n.code))}):i(r.statusText)})})}async function Api({org_uuid:t,pageSize:e=1e4},i=!0){return new Promise(async(o,r)=>{let{message:n}=await C.messageBus.rpcCall(Ei.OTHER.TEAMS,{org_uuid:t,pageSize:e});n.success?o(n.result):(i&&Qh(n.code,n.message,!0),r(n.code))})}function Wh(t){return(t==null?void 0:t.code)===0&&(t==null?void 0:t.success)===!0||(t==null?void 0:t.code)===200}function Qh(t,e=`Http request failed:${t}`,i=!1){let o=i?e||Mp({code:t}):Mp({code:t})||e;De({type:"error",msg:o})}var iZ=class iZ{static getInstance(){var e;return(e=this._instance)!=null?e:this._instance=new iZ}set targetId(e){this._targetId=e}get isOverWrite(){return!!this._targetId}get isOnlineSystemBlib(){return this._targetId===_e.SYSTEMLIB_UUID}get usedId(){var e;return(e=this._targetId)!=null?e:iZ.ORIGIN_SYSTEM_ID}get usedFacetsKey(){return!this._targetId||this._targetId===iZ.ORIGIN_SYSTEM_ID?iZ.ORIGIN_SYSTEM_FACETS_KEY:this._targetId}getContextMenuKeys(e){let i=[...e];if(this.isOnlineSystemBlib){let o=i.findIndex(r=>r==="addOrRemoveFavorite");o>-1&&i.splice(o,1)}return i}constructor(){}async setTargetIdByServer(){if(_t){let e=!C.workspace||C.workspace==="Personal"?void 0:C.workspace,i=await Api({org_uuid:e}).catch(r=>null),o=i==null?void 0:i.systemLibUuid;this.targetId=o}}};iZ.ORIGIN_SYSTEM_ID=_e.SYSTEMLIB_UUID,iZ.ORIGIN_SYSTEM_FACETS_KEY=_e.SYSTEMLIB_UUID_ALIAS;var bo=iZ;var bn="0819f05c4eef4c71ace90d822a990e87",pOe="0819f05c4eef4c71ace90d822a990e87",bT=t=>{if(!Je)throw"Non-client";return bn===t},rdr=[{title:"System",get uuid(){return bo.getInstance().usedId},get facetsKey(){return bo.getInstance().usedFacetsKey},amount:null,type:Yt.SYSTEM},{title:"Material Library",uuid:Yt.INTERNAL,facetsKey:Yt.INTERNAL,amount:null,type:Yt.INTERNAL,hidden:!0},{title:"Personal",uuid:"all",facetsKey:"mine",amount:null,type:Yt.PERSONAL},{title:"Project",uuid:"project",facetsKey:"project",amount:null,type:Yt.PROJECT,hidden:!0},{title:"Favorite",uuid:"star",facetsKey:"star",amount:null,type:Yt.STAR},{title:"Public",uuid:"user",facetsKey:"user",hidden:!0,amount:null,type:Yt.PUBLIC}],I0e={classificationMap:rdr,categoryDocTypeMap:{device:[Yi.DEVICE],symbol:[Yi.SYMBOL],footprint:[Yi.FOOTPRINT],cbb:[Yi.CBB],model3D:[Yi.MODEL3D],panelLib:[Yi.PANEL_LIB]},contextmenuTag:{"footprint-single-row":async()=>{let t=[Yt.PERSONAL,Yt.TEAMS].includes(Tr.classification.type)?"userAndTeam":"others";return[]}},searchClassification:["0819f05c4eef4c71ace90d822a990e87","all","user","project"],fetchClassification:["0819f05c4eef4c71ace90d822a990e87","all","star","project"]};async function R2(t=!1){let e=t?{refresh:"yes"}:{},{message:i}=await C.messageBus.rpcCall(Ei.CLIENT.GET_LIBS,e);if(!i.success){if(Fn)return;Ut({type:"error",message:`${Mp(i)||"Load library info fail! Please reload."}`});return}let o=i.result,r=[];for(let n in o){let a=o[n].name,s=o[n].path,l=o[n].system,c=l&&a==_e.SYSTEMLIB_UUID?_e.SYSTEMLIB_UUID:a,d=l&&a==_e.SYSTEMLIB_UUID?"lcsc":a;r.push({nickname:c,uuid:n,path:s,system:l,facetsKey:d})}return C.clientTeamListNoSort=ue.deepClone(r),r.sort((n,a)=>n.nickname.localeCompare(a.nickname)),C.clientTeamList=r,r}async function oZ(t=!1,e){e=e||Tr.tabType;let i=[];if(e==="cbb"||e==="model3D"){let o=await wd();o&&o.cbbPath.forEach(r=>{let n=r.split("\\");i.push({nickname:n[n.length-1],uuid:r,path:r,system:"",facetsKey:n[n.length-1]})}),e=="model3D"&&Tn&&i.push({nickname:bn,uuid:bn,path:bn,system:"",facetsKey:"lcsc"})}else i=await R2(t);return i}var vc=L(Se());var FGi=L(Hr());var gh=L(Se());var yT=L(Se());var X4t=L(kpi()),$4t=L(eC());var Y9=L(z()),{locals:_pi}=$4t.default,{locals:v_}=X4t.default,ldr={fontSize:"1.5rem"},jpi=null;function cdr(t,e){Ae(X4t.default),Ae($4t.default);let i=J(),{style:o,initShowValue:r="",isDefaultFocus:n=!1,isEsc:a=!1,isImmediatelyDoConfirmAtEndinput:s=!0,placeholder:l,dataTest:c,isDisabled:d,onUpdateInputValue:u,onConfirm:p,onClearInputValue:m,onMounted:h,onBlur:f,onFocus:g,onPaste:b,onArrowToggle:y}=t,[w,x]=(0,yT.useState)(r),[S,T]=(0,yT.useState)(0),M=(0,yT.useRef)(null),I=(0,yT.useRef)(null),A=w?`${v_["fittinginput-clear"]}`:`${v_["fittinginput-clear"]} ${v_["fittinginput-clear-hidden"]}`,D=y?S?v_["fittinginput-arrow-to-top"]:v_["fittinginput-arrow-to-bottom"]:"",E=v_["fittinginput-wrapper-active"],N=V=>{if(C.messageBus.publish("transferToVideotool"),V.stopPropagation(),V.keyCode===13){p&&p(w,M.current);return}},R=V=>{if(!a&&V.keyCode===27){M.current&&M.current.blur();return}},v=()=>{M.current&&(M.current.parentElement.classList.add(E),M.current.select&&M.current.select(),g&&g(w,M.current))},k=()=>{M.current&&(M.current.parentElement.classList.remove(E),f&&f(w,M.current))},P=V=>{Yn(()=>{if(M.current){V.preventDefault();let Q=V.clipboardData.getData("text"),H=M.current.selectionStart,q=M.current.selectionEnd,U=M.current.value.slice(0,H)+Q.trim()+M.current.value.slice(q);M.current.value=U,b==null||b(w,M.current),O(U)}})},O=V=>{x&&x(V),u&&u(V,M.current),window.clearTimeout(jpi),jpi=window.setTimeout(()=>{s&&p&&p(M.current.value,M.current)},500)},_=()=>{x(""),u&&u("",M.current),m&&m("",M.current),window.setTimeout(()=>{M.current&&M.current.focus()})},j=(V=S?0:1)=>{T(V),y(V)},B=()=>{p&&p(w,M.current)};return(0,yT.useEffect)(()=>{r!==w&&x(r)},[r]),(0,yT.useEffect)(()=>{h&&h(M.current)},[]),(0,yT.useEffect)(()=>{n&&window.setTimeout(()=>{M.current&&M.current.focus()},200)},[n]),(0,yT.useImperativeHandle)(e,()=>({setValue:V=>{M.current&&(M.current.value=V,O(V))},blur:()=>{M.current&&M.current.blur()},getDOMRect:()=>{var V;return(V=I==null?void 0:I.current)==null?void 0:V.getBoundingClientRect()},getDom:()=>I==null?void 0:I.current,arrowToggle:V=>{j(V)}})),(0,Y9.jsx)("section",{style:{width:"100%"},ref:I,children:(0,Y9.jsx)("div",{className:v_["fittinginput-container"],style:o,children:(0,Y9.jsxs)("div",{className:v_["fittinginput-wrapper"],style:{...d?{backgroundColor:"var(--bg-color-disabled-input)"}:{}},children:[(0,Y9.jsx)("input",{"data-tabfocus":"tabfocus",disabled:d,"data-test":c!=null?c:l,ref:M,onChange:V=>{O(V.target.value)},onKeyUp:N,onKeyDown:R,onFocus:v,onBlur:k,onPaste:P,value:w,placeholder:i(l),className:v_["fittinginput-input"],type:"text"}),(0,Y9.jsx)("span",{className:A,onClick:_,"data-test":"comm-fittinginput-clear",children:(0,Y9.jsx)("i",{className:_pi["icon-eda-x-circle-small"],style:ldr})}),(0,Y9.jsx)("span",{className:D,onClick:()=>{j()},"data-test":"comm-fittinginput-arrow-toggle"}),(0,Y9.jsx)("span",{className:v_["fittinginput-search"],onClick:B,"data-test":"comm-fittinginput-search",children:(0,Y9.jsx)("i",{className:_pi["icon-eda-zoom-small"]})})]})})})}var Bpi=yT.default.memo((0,yT.forwardRef)(cdr));var Bm=Bpi,Ws=Bm;var dv="0819f05c4eef4c71ace90d822a990e87",mOe=[{title:"System",get uuid(){return bo.getInstance().usedId},get facetsKey(){return bo.getInstance().usedFacetsKey},amount:null,type:Yt.SYSTEM},{title:"Material Library",uuid:Yt.INTERNAL,facetsKey:Yt.INTERNAL,amount:null,type:Yt.INTERNAL,hidden:!0},{title:"Personal",uuid:"all",facetsKey:"mine",amount:null,type:Yt.PERSONAL},{title:"Project",uuid:"project",facetsKey:"project",amount:null,type:Yt.PROJECT,hidden:!0},{title:"Favorite",uuid:"star",facetsKey:"star",amount:null,type:Yt.STAR},{title:"Public",uuid:"user",facetsKey:"user",hidden:!0,amount:null,type:Yt.PUBLIC}];var e3t=class extends qe{constructor(){super(...arguments);this.status=!1}setStatus(i){this.status=i,C.messageBus.publish("extensigonApi/updateProjectHasOnlyOneBoardStatus",i),this.notify()}},Gc=new e3t;var hOe=Tt.DEVICE,t3t=(s=>(s[s.device=3]="device",s[s.symbol=2]="symbol",s[s.footprint=4]="footprint",s[s.cbb=1]="cbb",s[s.model3D=5]="model3D",s[s.panelLib=29]="panelLib",s[s.modelSimLib=6]="modelSimLib",s))(t3t||{}),zpi={key:Tt.SYMBOL,name:"Symbol",isHide:()=>!Nl||Gc.status},i3t=[{key:Tt.DEVICE,name:"Device"},{key:Tt.FOOTPRINT,name:"Footprint",isHide:()=>!(Eu||Gc.status)&&!Nl},{key:Tt.CBB,name:"Reuse Block"},{key:Tt.MODEL3D,name:"3D Model"},{key:Tt.PANEL_LIB,name:"Panel Lib",isHide:()=>!Vw},{key:Tt.MODEL_SIM_LIB,name:"SIM Model",isHide:()=>!na}],Fpi=[Tt.PANEL_LIB,Tt.MODEL3D,Tt.MODEL_SIM_LIB],NNn=[Tt.DEVICE,Tt.SYMBOL,Tt.FOOTPRINT,Tt.CBB],fOe=[Tt.DEVICE];function gOe(t){let e=[];return[...t].forEach(i=>{let o={title:i.nickname||i.username,uuid:i.uuid,facetsKey:i.uuid,amount:null,type:Yt.TEAMS};e.push(o)}),e.sort((i,o)=>i.title.localeCompare(o.title)),e}function bOe(t,e){var c;let{fetchClassification:i,searchClassification:o}=I0e,r=(c=Tr)==null?void 0:c.classificationList,n=r.filter(d=>d.selected),a=n.length?n[0].uuid:"",s=C.currentProject.projectId,l=null;if(r.length=0,i.length=0,o.length=0,[Tt.MODEL3D,Tt.PANEL_LIB,Tt.MODEL_SIM_LIB].includes(e)||r.push({title:"Project",uuid:"project",facetsKey:"project",amount:null,type:Yt.PROJECT,hidden:!s,path:s}),a==="project"&&(l=r[0]),i.push("project"),o.push("project"),t.forEach(d=>{d.uuid===bn&&(d.nickname="System");let u=d.uuid==a,p={title:d.nickname,uuid:d.uuid,facetsKey:d.facetsKey||d.uuid,amount:null,type:Yt.CLIENT,path:d.path?d.path.replace(`\\${d.nickname}.elib`,""):""};!l&&u&&(l=p),p.uuid===pOe?(r.unshift(p),i.unshift(d.uuid),o.unshift(d.uuid)):(r.push(p),i.push(d.uuid),o.push(d.uuid))}),!l){let d=0;r[d].uuid==="project"&&!C.currentProject.projectId&&(d=1),r.length>d&&(r[d].selected=!0,l=r[d])}return Tr.classificationList=r,r}function Soe(t,e){let{isSearch:i,tabName:o,amounts:r}=e;return t.map(n=>{var a,s,l,c;switch(n.type){case Yt.PUBLIC:{n.hidden=_t||!i||o===Tt.CBB;break}case Yt.STAR:{n.hidden=!!i;break}case Yt.PROJECT:{n.hidden=!C.currentProject.projectId||Fpi.includes(o);break}case Yt.INTERNAL:{n.hidden=!(fOe.includes(o)&&C.isOpenInternalLib);break}case Yt.EXTEND:{let d=C.extendLibStore.manager.getLib(n.uuid);n.hidden=!d.isVisible({isSearch:i,tabName:o,scene:x9.BOTTOM_COMPONENT_LIB})}default:}return i&&o!==Tt.CBB?n.amount=(c=(l=(a=r==null?void 0:r[n.facetsKey])==null?void 0:a.toString())!=null?l:(s=r==null?void 0:r[n.uuid])==null?void 0:s.toString())!=null?c:null:n.amount=null,{...n}})}var EI=L(Se());var Moe=L(Se());var o3t=L(Vpi());function uxe(){var t,e,i;return((i=(e=(t=C.profileSetting)==null?void 0:t.commSystemSetting)==null?void 0:e.SYSTEM)==null?void 0:i[W9].value)=="2"}var W9="symbolLibManage";var pxe=L(z());function ddr(){Ae(o3t.default),Ce(jf),Ce(Po);let t=J(),{locals:e}=o3t.default,i=be.bind(e),{tabName:o,setTabName:r,currentTabDocType:n}=(0,Moe.useContext)(tC),[a,s]=(0,Moe.useState)(i3t);(0,Moe.useEffect)(()=>{let d=jf.getSymbolMode();d&&l(d)},[jf.getSymbolMode()]),(0,Moe.useEffect)(()=>{let d=C.messageBus.subscribe("openProjectInitCompleted",()=>{n===-1&&(Tr.tabName=hOe,Tr.tabType=hOe,r(hOe))});return()=>{d.cancel()}},[n]);let l=d=>{let u=[...i3t],p=u.find(h=>h.key===Tt.SYMBOL),m=u.filter(h=>h.key!==Tt.SYMBOL);!p&&d==="2"&&u.splice(1,0,zpi),s(d==="1"?m:u),Nt&&s(h=>h.filter(f=>f.key!==Tt.PANEL_LIB)),d==="1"&&o===Tt.SYMBOL&&r(Tt.DEVICE)},c=d=>{Tr.tabName=d,Tr.tabType=d,r(d)};return(0,pxe.jsx)("div",{className:i("container"),children:(0,pxe.jsx)("ul",{className:i("tab-wrap"),children:a.map(d=>{var p;return((p=d.isHide)==null?void 0:p.call(d))?"":(0,pxe.jsx)("li",{"data-test":d.name,onClick:()=>c(d.key),children:(0,pxe.jsx)("span",{className:i({active:d.key===o}),children:t(d.name)})},d.key)})})})}var Hpi=ddr;var k4=L(Se());var THi=L(Hr());var Gpi=(t,e)=>{let i=[Ur.refresh,Ur.add];switch(t){case Yt.SYSTEM:i.push(Ur.reportError,{...Ur.batchSaveAs,hidden:!0},{...Ur.batchOperation,hidden:!1});break;case Yt.PUBLIC:case Yt.STAR:case Yt.EXTEND:i.push({...Ur.batchSaveAs,hidden:!0},{...Ur.batchOperation,hidden:!1});break;default:e&&i.unshift(Ur.edit),i.push({...Ur.batchSaveAs,hidden:!0},{...Ur.batchModifyCategory,hidden:!0},{...Ur.batchDelete,hidden:!0},{...Ur.batchOperation,hidden:!1});break}return i.push(Ur.popupWindow),i};var Ypi=(t,e)=>{let i=[Ur.refresh,Ur.add];switch(t){case Yt.PUBLIC:case Yt.SYSTEM:case Yt.STAR:case Yt.EXTEND:i.push({...Ur.batchSaveAs,hidden:!0},{...Ur.batchOperation,hidden:!1});break;default:e&&i.unshift(Ur.edit),i.push({...Ur.batchSaveAs,hidden:!0},{...Ur.batchModifyCategory,hidden:!0},{...Ur.batchDelete,hidden:!0},{...Ur.batchOperation,hidden:!1});break}return i.push(Ur.popupWindow),i};var Wpi=(t,e)=>{let i=[Ur.refresh,Ur.add];switch(t){case Yt.PUBLIC:case Yt.SYSTEM:case Yt.STAR:case Yt.EXTEND:i.push({...Ur.batchSaveAs,hidden:!0},{...Ur.batchOperation,hidden:!1});break;default:e&&i.unshift(Ur.edit),i.push({...Ur.batchSaveAs,hidden:!0},{...Ur.batchModifyCategory,hidden:!0},{...Ur.batchDelete,hidden:!0},{...Ur.batchOperation,hidden:!1});break}return i.push(Ur.popupWindow),i};var Qpi=(t,e)=>{let i=[Ur.refresh,Ur.add];switch(t){case Yt.PROJECT:Je||(e&&i.unshift(Ur.edit),i.push({...Ur.batchModifyCategory,hidden:!0},{...Ur.batchDelete,hidden:!0},{...Ur.batchOperation,hidden:!1}));break;case Yt.SYSTEM:case Yt.PUBLIC:case Yt.STAR:case Yt.EXTEND:i.push({...Ur.batchSaveAs,hidden:!0},{...Ur.batchOperation,hidden:!1});break;default:Je?i.push({...Ur.batchSaveAs,hidden:!0},{...Ur.batchOperation,hidden:!1}):(e&&i.unshift(Ur.edit),i.push({...Ur.batchSaveAs,hidden:!0},{...Ur.batchModifyCategory,hidden:!0},{...Ur.batchDelete,hidden:!0},{...Ur.batchOperation,hidden:!1}));break}return i.push(Ur.popupWindow),i};var Kpi=(t,e)=>{let i=[Ur.refresh,Ur.add];switch(t){case Yt.PUBLIC:case Yt.SYSTEM:case Yt.STAR:case Yt.EXTEND:break;default:e&&i.unshift(Ur.edit),Je||i.push({...Ur.batchModifyCategory,hidden:!0},{...Ur.batchDelete,hidden:!0},{...Ur.batchOperation,hidden:!1});break}return i.push(Ur.popupWindow),i};var Zpi=(t,e)=>{let i=[Ur.refresh,Ur.add];switch(t){case Yt.PUBLIC:case Yt.SYSTEM:case Yt.STAR:case Yt.EXTEND:i.push({...Ur.batchSaveAs,hidden:!0},{...Ur.batchOperation,hidden:!1});break;default:e&&i.unshift(Ur.edit),i.push({...Ur.batchSaveAs,hidden:!0},{...Ur.batchModifyCategory,hidden:!0},{...Ur.batchDelete,hidden:!0},{...Ur.batchOperation,hidden:!1});break}return i.push(Ur.popupWindow),i};var Jpi=(t,e)=>{let i=[];switch(i.push(Ur.refresh),i.push(Ur.add),t){case Yt.PUBLIC:case Yt.SYSTEM:case Yt.STAR:case Yt.EXTEND:break;default:Je||(e&&i.unshift(Ur.edit),i.push({...Ur.batchModifyCategory,hidden:!0},{...Ur.batchDelete,hidden:!0},{...Ur.batchOperation,hidden:!1}));break}return i.push(Ur.popupWindow),i};var wOe=(o=>(o.batchSaveAs="batchExportLocalConfirm",o.batchDelete="batchDeleteConfirm",o.batchModifyCategory="batchModifyCategoryConfirm",o))(wOe||{});var Loe=["batchSaveAs","batchModifyCategory","batchDelete"],Ur={get edit(){return{key:"edit",name:"Edit"}},get refresh(){return{key:"refresh",name:"Refresh"}},get add(){return{key:"add",name:"Add"}},get reportError(){return{key:"reportError",name:"Report Error"}},get batchSaveAs(){return{key:"batchSaveAs",name:"Batch Save As"}},get batchModifyCategory(){return{key:"batchModifyCategory",name:"Batch Modify Category"}},get batchDelete(){return{key:"batchDelete",name:"Batch Delete"}},get batchOperation(){return{key:"batchOperation",name:"Batch Operation",context:"bottomBar"}},get applyNewParts(){return{key:"applyNewParts",name:"Request New Part"}},get popupWindow(){return{key:"popupWindow",name:"Popup Window"}},get cancel(){return{key:"cancel",name:"Cancel"}}};function mxe(t,e,i){switch(t){case Tt.DEVICE:return Gpi(e,i);case Tt.SYMBOL:return Ypi(e,i);case Tt.FOOTPRINT:return Wpi(e,i);case Tt.CBB:return Qpi(e,i);case Tt.MODEL3D:return Kpi(e,i);case Tt.PANEL_LIB:return Zpi(e,i);case Tt.MODEL_SIM_LIB:return Jpi(e,i);default:console.error("\u9700\u8981\u652F\u6301",t);break}}var udr=L(hS());async function COe(t,e){try{let i=[{isProject:C.currentProject?C.currentProject.projectId===e:!1,uuid:t,path:e}];W8({devices:i})}catch{De({type:"error",msg:"Data abnormalities"})}}async function L0e(t){try{let e=[];for(let i=0;i<t.length;i++){let o=yr(t[i]);e.push({isProject:C.currentProject?C.currentProject.projectId===o:!1,uuid:t[i].uuid,path:o})}W8({devices:e})}catch{De({type:"error",msg:"Data abnormalities"})}}var pdr=L(hS());async function v0e(t,e){try{let i=[{isProject:C.currentProject?C.currentProject.projectId===e:!1,uuid:t,path:e}];W8({symbols:i})}catch{De({type:"error",msg:"Data abnormalities"})}}async function rZ(t){try{let e=[];for(let i=0;i<t.length;i++){let o=yr(t[i]);e.push({isProject:C.currentProject?C.currentProject.projectId===o:!1,uuid:t[i].uuid,path:o})}W8({symbols:e})}catch{De({type:"error",msg:"Data abnormalities"})}}var mdr=L(hS());async function D0e(t,e){try{let i=[{isProject:C.currentProject?C.currentProject.projectId===e:!1,uuid:t,path:e}];W8({footprints:i})}catch{De({type:"error",msg:"Data abnormalities"})}}async function xOe(t){try{let e=[];for(let i=0;i<t.length;i++){let o=yr(t[i]);e.push({isProject:C.currentProject?C.currentProject.projectId===o:!1,uuid:t[i].uuid,path:o})}W8({footprints:e})}catch{De({type:"error",msg:"Data abnormalities"})}}var SHi=L(omi()),bEt=L(nmi());var cY=L(Se()),YVi=L(Hr());var rO=L(Se());var v4=L(Se());var wT=L(Se());var nZ="tree-expand-",ami="tree-rowdata-";var smi={containerStyleObject:{},containerWidth:"100%",containerHeight:"100%",initContainerScrollTop:0,isVirtualList:!1,extendIconType:"tree-extends-box",data:[],treeWidgetItemWidth:"30px",itemStyleObject:{},showTagLine:!0,showExpandBtn:!0,disabledSelectRowOnRightClicked:!0,emptyLabel:"Empty list",multiSelect:!1,itemHeight:"26px",contentUnderline:!1,selectedIds:[],expandedIds:[],onExpand:null,onClick:null,itemRender:null,onVirtualScroll:null,topBufferSize:30,bottomBufferSize:30,renderTicket:0,disabledSelection:!1,isUseEventListener:!0};var E0e="zh-hans";var cmi=L(r3t());var Kh=L(z()),{locals:Q8}=cmi.default;function n3t(t){let{lineKey:e,lineData:i,selectedKeys:o,selectedIds:r,profile:n,expandAction:a}=t,{levels:s=[],expand:l,sourceData:c}=i,{showTagLine:d=!0,showExpandBtn:u=!0,extendIconType:p="tree-extends-box",contentUnderline:m,itemRender:h}=n,{isPropagationOnExtend:f,extendIcon:g}=n,b=J(),y=be({[Q8["tree-content"]]:!0,[Q8["tree-content-underline"]]:!!m,[Q8["tree-content-disabled"]]:!!c.disabled}),w=Q8["tree-blank"],x=Q8["tree-extends"],S=be(Q8["tree-extends-icon"],{[Q8[`${p}`]]:!g,[Q8[`${p}-active`]]:!g&&!!l,[g&&(g==null?void 0:g.expandIcon)||""]:!!l&&!!g,[g&&(g==null?void 0:g.collapseIcon)||""]:!l&&!!g}),T=Q8["tree-usertips-line"],M=Q8["tree-usertips-line-middle"],I=Q8["tree-usertips-line-turn"],A=Q8["tree-usertips-line-fork"],D=[],E=(0,Kh.jsx)("div",{className:S,onClick:v=>{!f&&v.stopPropagation(),a&&a(i)}}),N=()=>(0,Kh.jsx)("em",{style:{transform:"translate3d(-1px, 3px, 10px)",color:"red"},children:"*"});s.forEach((v,k)=>{switch(v.stag){case-1:{if(!i.parent){D.push((0,Kh.jsx)("span",{children:c.showAsterisk?(0,Kh.jsx)(N,{}):null},v.key));return}D.push((0,Kh.jsx)("span",{className:w,children:c.showAsterisk?(0,Kh.jsx)(N,{}):null},v.key));return}case 0:{if(!u){D.push((0,Kh.jsx)("span",{className:w},v.key));return}D.push((0,Kh.jsx)("span",{className:x,children:E},v.key));return}case 1:{if(!d){D.push((0,Kh.jsx)("span",{className:w},v.key));return}D.push((0,Kh.jsx)("span",{className:T},v.key));return}case 2:{if(!d){D.push((0,Kh.jsx)("span",{className:w,children:k===s.length-1&&c.showAsterisk?(0,Kh.jsx)(N,{}):null},v.key));return}D.push((0,Kh.jsx)("span",{className:M,children:k===s.length-1&&c.showAsterisk?(0,Kh.jsx)(N,{}):null},v.key));return}case 3:{if(!d){D.push((0,Kh.jsx)("span",{className:w},v.key));return}D.push((0,Kh.jsx)("span",{className:I},v.key));return}case 4:{if(!d){D.push((0,Kh.jsx)("span",{className:w},v.key));return}D.push((0,Kh.jsx)("span",{className:A},v.key));return}default:{D.push((0,Kh.jsx)("span",{className:w},v.key));return}}});let R=c.titleAdditional&&me.curr===E0e?String(c.titleAdditional):String(c.title);return D.push((0,Kh.jsx)("div",{"data-itemid":c.id,className:y,style:c.itemStyleObject,"data-test":c.dataTest||(c.disableTranslate&&c.titleAdditional?c.titleAdditional:c.title),children:h?h(c,i,me,r):n.disableTranslate||c.disableTranslate?R:b(R)},e)),(0,Kh.jsx)(Kh.Fragment,{children:D})}var fdr=1,voe=1;function gdr(t,e,i,o,r=void 0){return!o&&typeof r<"u"?r:i?!1:typeof(o==null?void 0:o.length)=="number"?o.includes(t):typeof e=="boolean"?e:!!r}function a3t(t,e,i,o=void 0,r){let n=[];for(let a=0;a<t.length;a++){let s=a,l=t[a],{id:c,children:d,expand:u,isLeaf:p,hidden:m}=l,h=c||`${ami}${fdr++}`,f=typeof u<"u"?!!u:i.indexOf(h)>=0,g=(e||[]).map(y=>y.stag===0&&s+1<t.length?{key:`${nZ}${voe++}`,stag:4}:y.stag===0&&s+1===t.length?{key:`${nZ}${voe++}`,stag:3}:y.stag===3?{key:`${nZ}${voe++}`,stag:-1}:y.stag===4?{key:`${nZ}${voe++}`,stag:1}:y);d&&d.length||p?g.push({key:`${nZ}${voe++}`,stag:0}):g.length?g.push({key:`${nZ}${voe++}`,stag:2}):g.push({key:`${nZ}${voe++}`,stag:-1});let b={id:h,levels:g,isLeaf:!!p,expand:gdr(h,f,!!p,i,o),children:[],sourceData:l.sourceData?l.sourceData:l,parent:r,hidden:m};d&&d.length&&(b.children=a3t(d,g,i,o,b)),n.push(b)}return n}function D_(t){let e=[],i=o=>{for(let r=0;r<o.length;r++)typeof o[r].children<"u"&&o[r].children.length&&(e.push(o[r].id),i(o[r].children))};return i(t),e}var s3t=L(r3t());var IOe=L(Se()),bdr=L(uT());var dmi={containerHeight:0,countTotal:0,estimatedRowHeight:26,topBufferSize:20,bottomBufferSize:20,initContainerScrollTop:0,rowCache:[],children:null};var umi=L(z());var E_=L(Se()),pmi=L(uT());var hxe=L(z());function mmi(t){let e={...dmi,...t},{estimatedRowHeight:i,containerHeight:o,topBufferSize:r,bottomBufferSize:n,countTotal:a,initContainerScrollTop:s,onScroll:l}=e,{countTotalNotScroll:c}=e,d=t.children,u=e.containerElementRef||(0,E_.useRef)(null),p=(0,E_.useRef)(null),m=(0,E_.useRef)(a||0),[h,f]=(0,E_.useState)(s||0),g=Math.ceil(e.containerHeight/e.estimatedRowHeight),b=Math.floor(h/i),y=Math.max(b-r,0),w=Math.min(b+g+n,a-1),x={overflow:"auto",height:o,willChange:"transform"},S={height:a*i,position:"relative",top:0,left:0},T=I=>{let A=I.target,{scrollTop:D,scrollLeft:E,clientWidth:N,clientHeight:R,scrollWidth:v,scrollHeight:k}=A;h!==D&&f(D),l&&l({scrollTop:D,scrollLeft:E,clientWidth:N,clientHeight:R,scrollWidth:v,scrollHeight:k})},M=()=>{let I=[];if(!d)return I;let A={width:"100%"};for(let D=y;D<=w;D++)I.push((0,hxe.jsx)("div",{style:{height:i,position:"absolute",left:0,top:D*i,minWidth:"100%"},children:(0,hxe.jsx)(d,{index:D,style:A,rowHeight:i})},D));return I};return(0,E_.useEffect)(()=>{u.current&&(u.current.scrollTop=s)},[]),(0,E_.useEffect)(()=>{s!==h&&u.current&&(u.current.scrollTop=s)},[s]),(0,E_.useEffect)(()=>{if(m.current!==a){m.current=a,u.current&&!c&&(u.current.scrollTop=0);return}},[a]),(0,hxe.jsx)("div",{"data-tagitem":"fixed-height-list-scrolling",ref:u,style:x,onScroll:I=>{(0,pmi.flushSync)(()=>{T(I)})},children:(0,hxe.jsx)("div",{ref:p,style:S,children:M()})})}var Z8=mmi;var V6=L(z()),{locals:A0e}=s3t.default;function ydr(t,e){let i=J();Ae(s3t.default);let o={...smi,...t},{data:r,disabledSelectRowOnRightClicked:n,containerStyleObject:a,containerHeight:s,initContainerScrollTop:l,treeWidgetItemWidth:c,multiSelect:d,visibleLockControl:u,disabledSelection:p}=o,{hoverNodeId:m,isVirtualList:h,itemHeight:f,emptyLabel:g,isUseEventListener:b}=o,{expandedIds:y,selectedIds:w,topBufferSize:x,bottomBufferSize:S,notAutoSelect:T,disabledExpand:M=!1,inputDisableExpand:I=!1}=o,{onExpand:A,onClick:D,onDoubleClick:E,onBeforeSelect:N,onContextMenu:R,onMouseEnter:v,onMouseLeave:k,onVirtualScroll:P,onMousesDown:O}=o,_=(0,wT.useRef)(null),j=(0,wT.useRef)(null),B=(0,wT.useRef)(0),V=(0,wT.useRef)({}),G=(0,wT.useRef)({blockClickAction:!1}),Q=(0,wT.useRef)(!1),[H,q]=Q9(y),[U,F]=Q9(w),K=(0,wT.useMemo)(()=>(j.current=null,r),[r]),te=(0,wT.useMemo)(()=>{if(j.current){let Ue=j.current,Ve=B.current;return requestAnimationFrame(()=>Ve===B.current&&(j.current=null)),Ue}return a3t(K,[],H,!0,void 0)},[K,H]),ae=`${A0e["tree-container"]}`,pe=A0e["tree-rowline"],Z=A0e["tree-rowline-selected"],ee=` ${A0e["tree-rowline-can-hover"]}`,ce=` ${A0e["tree-rowline-hover"]}`,ne={minHeight:(Kr(t.itemHeight)?26:parseFloat(t.itemHeight))+"px"};(0,wT.useImperativeHandle)(e,()=>({test(){console.log(arguments)},expandAll(Oe){q(Oe?r.reduce((Ue,Ve)=>{var ze;return(ze=Ve.children)!=null&&ze.length&&Ue.push(Ve.id),Ue},[]):[])},getViewData(){return te}})),(0,wT.useEffect)(()=>{_.current&&c&&_.current.style.setProperty("--tree-widget-item-width",c)},[te.length]),b&&Gs("keyup",Oe=>{oe(Oe)});let oe=Gr(Oe=>{var Ue,Ve,ze,He;if(Q.current&&!d){let Ye=U[0];switch(Oe.code){case"ArrowDown":{let ke=Y(Ye);ke!=null&&(fe(ke,null),(Ue=k0(`[data-itemid="${ke.id}"]`,_.current))==null||Ue.scrollIntoViewIfNeeded());break}case"ArrowUp":{let ke=X(Ye);ke!=null&&(fe(ke,null),(Ve=k0(`[data-itemid="${ke.id}"]`,_.current))==null||Ve.scrollIntoViewIfNeeded());break}case"ArrowLeft":{let ke=re(Ye),Be=document.activeElement;if(I&&Be&&(Be.tagName==="INPUT"||Be.tagName==="TEXTAREA"))return;ke.expand===!1?ke.parent&&(ke.parent.expand=!1,Ne(ke.parent),fe(ke.parent,null),(ze=k0(`[data-itemid="${ke.parent.id}"]`,_.current))==null||ze.scrollIntoViewIfNeeded()):(ke.expand=!1,Ne(ke));break}case"ArrowRight":{let ke=re(Ye),Be=document.activeElement;if(I&&Be&&(Be.tagName==="INPUT"||Be.tagName==="TEXTAREA"))return;ke.expand===!0?(He=ke.children)!=null&&He.length&&fe(ke.children[0],null):(ke.expand=!0,Ne(ke));break}}}},100),re=(Oe,Ue=te)=>{for(let Ve of Ue){if(Ve.id===Oe)return Ve;let ze=re(Oe,Ve.children||[]);if(ze)return ze}},Y=Oe=>{var Ve,ze;let Ue=re(Oe);if(!((Ve=Ue.sourceData.args)!=null&&Ve.editing)){if(Ue.expand&&((ze=Ue.children)!=null&&ze.length))return Ue.children[0];{let He=Ue,Ye=Ue.parent;for(;Ye;){let ke=Ye.children,Be=ke[ke.indexOf(He)+1];if(Be)return Be;He=Ye,Ye=Ye.parent}return te[te.indexOf(He)+1]}}},X=Oe=>{var He,Ye,ke;let Ue=re(Oe);if((He=Ue.sourceData.args)!=null&&He.editing)return;let Ve=((Ye=Ue.parent)==null?void 0:Ye.children)||te,ze=Ve[Ve.indexOf(Ue)-1];return ze?ze.expand&&((ke=ze.children)!=null&&ke.length)?ze.children.at(-1):ze:Ue.parent},ie=(Oe,Ue=!0)=>{if(T)return U;let Ve=[];return d?U.indexOf(Oe)<=-1?Ve=[...U,Oe]:Ve=U.filter(He=>He!==Oe):Ve=[Oe],Ue&&F(Ve),Ve},de=Oe=>{let Ue={};return Oe.forEach(Ve=>{Ue[Ve]=V[Ve]}),Ue},fe=(Oe,Ue)=>{if(Oe.sourceData.disabledSelect){Te(Oe);return}if(G.current.blockClickAction)return;let Ve=[...U];if(!N||N(Oe.sourceData,Oe,Ue)!==!1){let ze=Oe.sourceData.id;Ve=ie(ze)}if(p===!1){let ze=de(Ve);D&&D(Ve,Oe.sourceData,Oe,ze,Ue)}},ye=(Oe,Ue)=>{if(Oe.sourceData.disabledSelect){Te(Oe);return}if(G.current.blockClickAction)return;let Ve=[...U];if(!N||N(Oe.sourceData,Oe,Ue)!==!1){let He=Oe.sourceData.id;Ve=ie(He)}let ze=de(Ve);E&&E(Ve,Oe.sourceData,Oe,ze,Ue)},Le=(Oe,Ue)=>{if(O instanceof Function&&O(Oe,Ue)===!1){G.current.blockClickAction=!0;return}G.current.blockClickAction=!1},Re=(Oe,Ue)=>{let Ve=[...U];if(!N||N(Oe.sourceData,Oe,Ue)!==!1){let He=Oe.sourceData.id;Ve=ie(He,!n)}let ze=de(Ve);R&&R(Ve,Oe.sourceData,Oe,ze,Ue)},Ne=Oe=>{if(M)return;let Ue=Oe.id,Ve=new Set(H);Oe.expand?Ve.add(Ue):Ve.has(Ue)&&Ve.delete(Ue),j.current=te,B.current++,q(Array.from(Ve)),A&&A(Oe.sourceData,Oe)},Te=Oe=>{let{expand:Ue}=Oe;Oe.expand=!Ue,Ne(Oe)},Pe=(Oe,Ue)=>Oe.map((Ve,ze)=>{let{id:He,children:Ye,expand:ke,isLeaf:Be,sourceData:Xe,hidden:Ge}=Ve,Ke=Xe.href,pt=U.indexOf(Xe.id)>=0,ot=!!(ke&&!Be&&(Ye!=null&&Ye.length)),Qe=be(pe,{[Z]:p===!1&&pt,[ee]:p===!1&&m===void 0,[ce]:m!==void 0&&m===Ve.id,[A0e.a]:!!Ke});return V[He]=V[Ue]?V[Ue]+":"+He:He,Ke?[(0,V6.jsx)("a",{className:Qe,href:Ke,style:{display:Ge?"none":"",...ne},onClick:ut=>fe(Ve,ut),onContextMenu:ut=>Re(Ve,ut),onMouseEnter:ut=>v&&v(Ve,ut),onMouseLeave:ut=>k&&k(Ve,ut),children:(0,V6.jsx)(n3t,{selectedIds:w,lineKey:ze,lineData:Ve,profile:o,selectedKeys:U,expandAction:Te})},He),ot?Pe(Ye,He):null]:[(0,V6.jsxs)("div",{className:Qe,style:{display:Ge?"none":"",...ne,...Xe.treeRowlineStyleObject||{}},onClick:ut=>fe(Ve,ut),onDoubleClick:ut=>ye(Ve,ut),onMouseDown:ut=>Le(Ve,ut),onContextMenu:ut=>Re(Ve,ut),onMouseEnter:ut=>v&&v(Ve,ut),onMouseLeave:ut=>k&&k(Ve,ut),children:[u&&u(Xe,Ve,me),(0,V6.jsx)(n3t,{lineKey:ze,lineData:Ve,profile:o,selectedKeys:U,selectedIds:w,expandAction:Te})]},He),ot?Pe(Ye,He):null]});if(te.length){let Oe=Pe(te,void 0).flat(1/0).filter(Ue=>!!Ue);if(h&&s&&/\d+px$/i.test(String(s))){let Ue=parseInt(f||""),Ve=parseInt(s||"");return(0,V6.jsx)("section",{"data-tagitem":"tree-container","data-cc":o.renderTicket,className:ae,style:a,ref:_,onMouseEnter:()=>{Q.current=!0},onMouseLeave:()=>{Q.current=!1},children:(0,V6.jsx)(Z8,{containerHeight:Ve,countTotal:Oe.length,estimatedRowHeight:Ue,initContainerScrollTop:l,topBufferSize:x,bottomBufferSize:S,countTotalNotScroll:!0,onScroll:P,children:({index:ze,style:He})=>(0,V6.jsx)("div",{"data-index":ze,style:He,children:Oe[ze]})})})}return(0,V6.jsx)("section",{style:{width:"fit-content",minWidth:"100%"},onMouseEnter:()=>{Q.current=!0},onMouseLeave:()=>{Q.current=!1},children:(0,V6.jsx)("section",{"data-tagitem":"tree-container","data-cc":o.renderTicket,className:ae,style:a,ref:_,children:Oe})})}return(0,V6.jsx)("section",{style:{width:"fit-content",minWidth:"100%"},children:(0,V6.jsx)("section",{"data-tagitem":"tree-container","data-cc":o.renderTicket,style:{lineHeight:"25px",textAlign:"center",padding:"3px 0"},children:(0,V6.jsx)("span",{"data-test":g,children:i(g)})})})}var hmi=(0,wT.forwardRef)(ydr);var fxe=hmi,Bd=fxe;var fmi="Filter";var gmi="Empty list";var TDt=L(ymi());function wmi(t,e){if(String(t.title).toLowerCase().indexOf(e)>=0||t.titleAdditional&&String(t.titleAdditional).toLowerCase().indexOf(e)>=0)return!0;let i=me.i18n(t.title);return!!(i&&String(i).toLowerCase().indexOf(e)>=0)}function Doe(t,e){let i=[],o=new Set,r=0;if(!t||!t.trim())return{treeData:e,expandedIds:Array.from(o)};let n=t.toLocaleLowerCase();for(let a=0;a<e.length;a++){let s=!1,l=e[a].children||[];if(wmi(e[a],n)&&(s=!0,i[r]={...e[a],children:[]},o.add(e[a].id),l.length)){i[r].children=[...l],++r;continue}for(let c=0;c<l.length;c++)wmi(l[c],n)&&((!i[r]||!i[r].children)&&(i[r]={...e[a],children:[]}),i[r].children[0]&&i[r].children[0].id==="---"&&(i[r].children=[]),i[r].children.push({...l[c]}),o.add(l[c].id),o.add(e[a].id),s=!0);s&&++r}return{treeData:i,expandedIds:Array.from(o)}}var $Ui=L(Vi());function aZ(t){var i;let e;try{if(typeof t=="string")e=t;else if(typeof t=="object"&&t!==null&&!Array.isArray(t))e=(i=t.value)!=null?i:"light";else throw new Error("$$ ThemePreference Error!!!");if(!e)throw new Error("$$ ThemePreference Error!!!")}catch(o){console.error(o.message),e="light"}return e}var l3t=class extends qe{constructor(){super();this.activeTheme="light";this.isHandlingBroadcast=!1;this.colorSchemeMediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.colorSchemeHandle=this.updateColorScheme.bind(this),this.pageId=Mt(),this.setThemePreference(this.currentTheme)}initThemePreference(){this.updatePreference(!0),this.initBroadcastChannel(),this.registerCssVariableRpcMethod()}getActiveTheme(){return this.activeTheme}updatePreference(i=!1){let o=hn("SYSTEM"),r=aZ(o.themePreference);(i||r!==this.currentTheme)&&this.setThemePreference(r)}initBroadcastChannel(){this.broadcastChannel=new BroadcastChannel("theme-change-channel"),this.broadcastChannel.onmessage=this.handleBroadcastMessage.bind(this)}handleBroadcastMessage(i){let o=i.data;o.cmd==="themeChange"&&o.pageId!==this.pageId&&(this.isHandlingBroadcast=!0,this.setThemePreference(o.newTheme),this.isHandlingBroadcast=!1)}broadcastThemeChange(i){this.broadcastChannel&&!this.isHandlingBroadcast&&this.broadcastChannel.postMessage({cmd:"themeChange",newTheme:i,pageId:this.pageId})}addColorSchemeListener(){this.colorSchemeMediaQuery.addEventListener("change",this.colorSchemeHandle)}removeColorSchemeListener(){this.colorSchemeMediaQuery.removeEventListener("change",this.colorSchemeHandle)}applyColorScheme(i){this.activeTheme!==i&&(this.activeTheme=i,document.documentElement.setAttribute("data-theme",i),od&&od.document.documentElement.setAttribute("data-theme",this.activeTheme),this.modifyRulerTheme(),this.notify())}updateColorScheme(){if(this.currentTheme==="follow_system"){let i=this.colorSchemeMediaQuery.matches?"dark":"light";this.applyColorScheme(i)}}getCssVariableValue(i){return getComputedStyle(document.documentElement).getPropertyValue(i).trim()}registerCssVariableRpcMethod(){C.messageBus.rpcService("getThemeCssVariable",i=>{if(Array.isArray(i)){let o={};return i.forEach(r=>{o[r]=this.getCssVariableValue(r)}),o}else return this.getCssVariableValue(i)})}async modifyRulerTheme(){if(C.messageBus){let i=this.getCssVariableValue("--ruler-bg-color"),o=this.getCssVariableValue("--ruler-string-color");C.messageBus.publish("modifyRulerTheme",{rulerBgColor:i,rulerStringColor:o});let r=he.getAllTabIdByDoctype(ve.PHOTOVIEW);for(let n of r){let a=await he.getTabIFrame(n);a&&C.windowBridge.rpcCall("/pcb/modifyRulerTheme",{rulerBgColor:i,rulerStringColor:o},a.contentWindow)}}}setThemePreference(i){if(this.currentTheme=i,i==="follow_system"){this.addColorSchemeListener();let o=this.colorSchemeMediaQuery.matches?"dark":"light";this.applyColorScheme(o)}else this.removeColorSchemeListener(),this.applyColorScheme(i);this.broadcastThemeChange(i),this.notify()}},ms=new l3t;function ZU(t){return["1","2","3"].includes(t)?t:(t&&typeof t=="object"&&"data"in t&&(t=t.data),t===!0||t==="true"?"1":t===!1||t==="false"?"3":"2")}var gxe={mm:"2.54mm",inch:"0.1inch"},Cmi={mm:"4.00mm",inch:"0.16inch"};var bxe=["10","5","2","1","0.5","0.1","0.05","0.01"],vOe=["0.1","0.05","0.02","0.01"];var yxe=["1.00","2.00","4.00","8.00","16.00"],xmi=["0.04","0.08","0.16","0.31","0.63"],Tmi=["0.2","0.1","0"],Smi=["5.08","2.54","0"];var Imi={allowRename:{value:"true",disabled:!1},themePreference:{value:"follow_system",disabled:!1},[W9]:{value:"0",disabled:!1},canvasZoomType:{value:"roller",disabled:!1},newLibraryPopup:{value:"simplify",disabled:!1},placeDeviceType:{value:"show",disabled:!1},openProjectType:{value:"new",disabled:!1},isShowSymbol:{value:!1,disabled:!1},sidePanelAutoHide:{leftPanel:{value:!1,disabled:!1},rightPanel:{value:!1,disabled:!1},bottomPanel:{value:!1,disabled:!1}},dragMiddleMouseButton:{value:"moveCanvas",disabled:!1},autoPanning:{type:{value:"disabled",disabled:!1},speed:{value:50,disabled:!1},step:{value:30,disabled:!1},altStep:{value:100,disabled:!1}},copyReuseBlocks:{value:"0",disabled:!1}};var vmi={gridType:{value:"outlets",disabled:!1},multiType:{value:"none",disabled:!1},multiRatio:{value:5,disabled:!1},cursorSize:{value:"large",disabled:!1},drcErrorStyle:{value:"1",disabled:!1},displayComponentSpacing:{value:!1,disabled:!1},drcErrorZoom:{value:"followObjectScaling",disabled:!1},graphicEffectMode:{value:"speedFirst",disabled:!1},coreRenderingEngine:{value:"auto",disabled:!1},newDocUint:{value:Nt?"mm":"mil",disabled:!1},newFootprintDocUint:{value:"mm",disabled:!1},altGridSize:{value:{GridX:{number:1,unit:Nt?"mm":"mil"},GridY:{number:1,unit:Nt?"mm":"mil"}},disabled:!1},rotateSteppingAngle:{value:"90",disabled:!1},clickTrackSelect:{value:"whole",disabled:!1},trackConfirm:{value:"current",disabled:!1},endDrawing:{value:"rightClick",disabled:!1},trackFollow:{value:"moveDisconnect",disabled:!1},trackFollowVia:{value:"moveKeep",disabled:!1},addViaMethodWhileRoute:{value:"lastInflectionPoint",disabled:!1},rotateWhole:{value:"whole",disabled:!1},moveComponet:{value:"ignore",disabled:!1},autoChamfer2DLine:{value:"off",disabled:!1},filletRadius2DLine:{value:.5,disabled:!1},filletRadiusUnit2DLine:{value:"mm",disabled:!1},autoChamferTrack:{value:"off",disabled:!1},filletRadiusTrack:{value:.5,disabled:!1},filletRadiusUnitTrack:{value:"mm",disabled:!1},startTrackWidth:{value:"rule",disabled:!1},startViaSize:{value:"rule",disabled:!1},cursorSnapDistance:{value:"10",disabled:!1},isAlwaysShowCrossCursor:{value:!1,disabled:!1},isShowRuler:{value:!0,disabled:!1},isAutoAddTears:{value:!0,disabled:!1},isAutoEndRouting:{value:!1,disabled:!1},isAutoRebuildCopper:{value:!1,disabled:!1},isShowNetInPad:{value:!0,disabled:!1},isShowNumberInPad:{value:!0,disabled:!1},isShowNetInTrack:{value:!0,disabled:!1},isShowNetInVia:{value:!0,disabled:!1},isShowViaLayerPair:{value:!0,disabled:!1},isShowNetLength:{value:!0,disabled:!1},isShowDiffLength:{value:!0,disabled:!1},isHighlightNetHoverPrimitive:{value:!1,disabled:!1},isPriorityViaToggleLayerRouting:{value:!1,disabled:!1},selectLoopWindowRemovingLoop:{value:!1,disabled:!1},routeAutoFanoutEnd:{value:!1,disabled:!1},isAutoFollowComponent:{value:!1,disabled:!1},isCheckDRCNetBeforeManufact:{value:!0,disabled:!1},isCheckNetBeforeGerber:{value:!0,disabled:!1},isCheckDrcBeforeGerber:{value:!0,disabled:!1},isKeepRefdesPaste:{value:"2",disabled:!1},autoTerminateRouting:{value:!0,disabled:!1},isUsedJLCColorSilk:{value:!0,disabled:!1},isAutoGenerate3dModel:{value:!0,disabled:!1},isPlaceViasAutoShove:{value:!0,disabled:!1},isAutoMoveCanvasDuringCrossProbe:{value:!0,disabled:!1},isAutoFitSelectionDuringCrossProbe:{value:!1,disabled:!1},isOtherObjectsDimDuringCrossProbe:{value:!1,disabled:!1},isCtrlDragToCopy:{value:!1,disabled:!1},snapToCenterWhileDragPadOrVia:{value:!1,disabled:!1},snapToOriginWhileDragFootprint:{value:!1,disabled:!1},alignToNearComponentOrPadWhileDrag:{value:!1,disabled:!1},isAssignNetForFreeTrack:{value:!1,disabled:!1},addTeardropAutomatically:{value:!1,disabled:!1},useDynamicInputBox:{value:!0,disabled:!1},highlightNetHoverNet:{value:!0,disabled:!1},highlightObjectHoverObject:{value:!1,disabled:!1},displayObjectPropertyHoverObject:{value:!0,disabled:!1},autoChangeLayerWhileRoutingVias:{value:!0,disabled:!1},dblclickPlaceViasWhileRouting:{value:!0,disabled:!1},referencePointPcbSelectMethod:{value:"select",disabled:!1},defaultComponentFontTypeface:{value:"default",disabled:!1},defaultComponentFontStrokeWidth:{value:6,disabled:!1},defaultComponentFontStrokeWidthUnit:{value:Nt?"mm":"mil",disabled:!1},defaultComponentFontHeight:{value:45,disabled:!1},defaultComponentFontHeightUnit:{value:Nt?"mm":"mil",disabled:!1},isRebuildCopperAuto:{value:!1,disabled:!1},allowFootprintFlipping:{value:!1,disabled:!1},isNewPCBUsingTemplate:{value:!1,disabled:!1}};var xdr=Object.create,y1i=Object.defineProperty,Tdr=Object.getOwnPropertyDescriptor,Sdr=Object.getOwnPropertyNames,Mdr=Object.getPrototypeOf,Idr=Object.prototype.hasOwnProperty,Dmi=(t=>typeof _h<"u"?_h:typeof Proxy<"u"?new Proxy(t,{get:(e,i)=>(typeof _h<"u"?_h:e)[i]}):t)(function(t){if(typeof _h<"u")return _h.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')}),xd=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ldr=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of Sdr(e))!Idr.call(t,r)&&r!==i&&y1i(t,r,{get:()=>e[r],enumerable:!(o=Tdr(e,r))||o.enumerable});return t},X0e=(t,e,i)=>(i=t!=null?xdr(Mdr(t)):{},Ldr(e||!t||!t.__esModule?y1i(i,"default",{value:t,enumerable:!0}):i,t)),zxe=xd((t,e)=>{"use strict";var i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,a=(Y,X)=>{for(var ie in X)i(Y,ie,{get:X[ie],enumerable:!0})},s=(Y,X,ie,de)=>{if(X&&typeof X=="object"||typeof X=="function")for(let fe of r(X))!n.call(Y,fe)&&fe!==ie&&i(Y,fe,{get:()=>X[fe],enumerable:!(de=o(X,fe))||de.enumerable});return Y},l=Y=>s(i({},"__esModule",{value:!0}),Y),c={};a(c,{BroadcastChannelMessageBus:()=>F,MessageBus:()=>_,MessageBus2:()=>q,MessageBusTask:()=>O,MessageBusTask2:()=>Q,WindowMessageBridge:()=>P,WorkerMessageBridge:()=>k,createBroadcastP2PStream:()=>ee,createBufferedByteBufferStream:()=>Z,createBufferedStream:()=>ae,createBufferedStringStream:()=>pe,dropP2PStream:()=>ce,flowRead:()=>re,flowWrite:()=>oe}),e.exports=l(c);var d=class{constructor(Y=1.5){this.growthFactor=Y,this.capacity=10,this.buffer=new Array(this.capacity),this.head=0,this.tail=0,this.count=0}enqueue(Y){if(this.count===this.capacity){let X=Math.floor(this.capacity*this.growthFactor);console.log("grow",this.capacity,X);let ie=new Array(X);for(let de=0;de<this.count;de++)ie[de]=this.buffer[(this.head+de)%this.capacity];this.buffer=ie,this.head=0,this.tail=this.count,this.capacity=X}this.buffer[this.tail]=Y,this.tail=(this.tail+1)%this.capacity,this.count++}dequeue(){if(this.isEmpty())return;let Y=this.buffer[this.head];return this.head=(this.head+1)%this.capacity,this.count--,Y}peek(){return this.buffer[this.head]}isEmpty(){return this.count===0}clear(){this.buffer.length=0,this.head=0,this.tail=0,this.count=0}},u=new ArrayBuffer(8),p=new Float64Array(u),m=new Uint32Array(u),h=new Uint16Array(u),f=ArrayBuffer;try{f=self.HTMLImageElement||f}catch{}var g=typeof SharedArrayBuffer<"u";function b(Y){if(typeof Y!="object"||Y===null||Y instanceof Date||Y instanceof ArrayBuffer||g&&Y instanceof SharedArrayBuffer||Y instanceof Blob||Y instanceof FormData||Y instanceof Function||Y instanceof Uint8ClampedArray||Y instanceof f)return Y;if(Array.isArray(Y))return Y.map(b);{let X={};for(let ie in Y)Object.hasOwnProperty.call(Y,ie)&&(X[ie]=b(Y[ie]));return X}}function y(Y,X){return w(Y,X,()=>[])}function w(Y,X,ie){let de=Y[X];return de!==void 0||(de=ie(X),Y[X]=de),de}var x=class{constructor(Y){this.maxResources=Y,this.idle=new d,this.isClosed=!1,this.resources=Y}acquire(Y){this.isClosed?Promise.resolve(!1).then(Y):this.resources>0?(this.resources--,Promise.resolve(!0).then(Y)):this.idle.enqueue(Y)}acquireSync(){return new Promise(Y=>{this.acquire(Y)})}release(){if(!this.isClosed){let Y=this.idle.dequeue();Y?Promise.resolve(!0).then(Y):this.resources++}}close(){if(!this.isClosed)for(this.isClosed=!0;!this.idle.isEmpty();){let Y=this.idle.dequeue();Promise.resolve(!1).then(Y)}}};function S(){if(typeof window<"u")return window;if(typeof self<"u")return self;if(typeof globalThis<"u")return globalThis;if(typeof global<"u")return global}function T(Y,X){let ie=0,de=Y.length;for(let fe=0;fe<de;fe++)Y[fe]===X&&(Y.splice(fe,1),fe--,de--,ie++);return ie}var M=S(),I=M.WeakRef||(Y=>Y);function A(Y){if(Y!=null){if(typeof Y=="object")return new I(Y);console.error(Y,Y instanceof Object,typeof Y);return}}function D(Y){return Y==null?void 0:Y.deref()}var E="_MSG_BUS_RPC_",N=300*1e3,R=(Y=>(Y.PUBLISH="publish",Y.SUBSCRIBE="subscribe",Y.PUSH="push",Y.PULL="pull",Y))(R||{}),v=class{constructor(Y){this.bus=Y}processRemoteMessage(Y,X){let ie=A(X),de=Y.topic,fe=Y.type,ye=Y.message;switch(fe){case"pull":this.bus.pull(de,Le=>{this.push(de,Le,D(ie))});break;case"subscribe":this.bus.subscribe(de,Le=>{this.publish(de,Le,D(ie))});break;case"publish":this.bus.publish(de,ye,this,D(ie));break;case"push":this.bus.push(de,ye,this,D(ie));break;default:console.debug("unknown message type "+fe)}}rpcCall(Y,X,ie,de=N){let fe=A(ie),ye=new Promise(Le=>{let Re=this.bus.uniqueRpcTopic(Y);this.publish(Y,{message:X,reply:Re},D(fe)),this.bus.pull(Re,(Ne,Te,Pe)=>{Le({message:Ne,bridge:Te,source:A(Pe)})})});return de>0?Promise.race([ye,new Promise((Le,Re)=>{setTimeout(Re,de)})]):ye}},k=class extends v{constructor(Y,X){super(Y),this.worker=X,X.onmessage=ie=>{this.processRemoteMessage(ie.data,void 0)}}publish(Y,X){this.postMessage(Y,"publish",X)}subscribe(Y){this.postMessage(Y,"subscribe",null)}push(Y,X){this.postMessage(Y,"push",X)}pull(Y){this.postMessage(Y,"pull",null)}rpcCall(Y,X,ie=N){return super.rpcCall(Y,X,void 0,ie)}postMessage(Y,X,ie){let de={topic:Y,type:X,message:ie};this.worker.postMessage(de)}discard(){this.worker.terminate()}},P=class extends v{constructor(Y){super(Y),window.addEventListener("message",X=>{this.processRemoteMessage(X.data,X.source)},!1)}publish(Y,X,ie){this.postMessage(Y,"publish",X,ie)}subscribe(Y,X){if(X===window)throw new Error("regist remote subscribe from current window is not permitted");this.postMessage(Y,"subscribe",null,X)}push(Y,X,ie){this.postMessage(Y,"push",X,ie)}pull(Y,X){if(X===window)throw new Error("regist remote pull from current window is not permitted");this.postMessage(Y,"pull",null,X)}postMessage(Y,X,ie,de){let fe={topic:Y,type:X,message:ie};de&&de.postMessage(fe,"*")}},O=class{constructor(Y){this.isRunning=!0,this.callback=Y}cancel(){this.callback=null,this.isRunning=!1}running(){return this.isRunning}execute(Y,X,ie,de){try{Y=de?Y:b(Y),this.callback(Y,X,ie)}catch(fe){console.error(fe)}}},_=class{constructor(Y=!1){this.subscribed={},this.pulled={},this.pushed={},this.uuid=crypto.randomUUID().replace(/-/g,""),this.rpcTicket=0,this.unsafe=Y}uniqueRpcTopic(Y){return`${E}-${Y}-${this.uuid}-${this.rpcTicket++}`}publish(Y,X,ie,de){let fe=this.subscribed[Y];if(fe){let ye;for(let Le of fe)Le.running()?Le.execute(X,ie,de,this.unsafe):(ye=ye||new Array,ye.push(Le));if(ye)for(let Le of ye)T(fe,Le)}else console.debug("no sub on topic: "+Y)}subscribe(Y,X){let ie=new O(X);return y(this.subscribed,Y).push(ie),ie}push(Y,X,ie,de){let fe=!1,ye=this.pulled[Y];if(ye){for(;ye.length>0;){let Le=ye.shift();if(Le.running()){Le.execute(X,ie,de,this.unsafe),fe=!0;break}}ye.length===0&&delete this.pulled[Y]}fe||y(this.pushed,Y).push({message:X,bridge:ie,source:A(de)})}pull(Y,X){let ie=new O(X),de=this.pushed[Y];if(de){let fe=de.shift();ie.execute(fe.message,fe.bridge,D(fe.source),this.unsafe),de.length===0&&delete this.pushed[Y]}else y(this.pulled,Y).push(ie);return ie}pullA(Y){return new Promise(X=>{this.pull(Y,(ie,de,fe)=>{X({message:ie,bridge:de,source:A(fe)})})})}rpcService(Y,X){this.subscribe(Y,(ie,de,fe)=>{let{message:ye,reply:Le}=ie;try{let Re=X(ye);if(Re instanceof Promise){let Ne=A(fe);Re.then(Te=>{this.rpcReply(Te,Le,de,D(Ne))},Te=>{console.error(Te),this.rpcReply(void 0,Le,de,D(Ne))})}else this.rpcReply(Re,Le,de,fe)}catch(Re){console.error(Re),this.rpcReply(void 0,Le,de,fe)}})}rpcCall(Y,X,ie=N){let de=new Promise(fe=>{let ye=this.uniqueRpcTopic(Y);this.publish(Y,{message:X,reply:ye}),this.pull(ye,(Le,Re,Ne)=>{fe({message:Le,bridge:Re,source:A(Ne)})})});return ie>0?Promise.race([de,new Promise((fe,ye)=>{setTimeout(ye,ie)})]):de}rpcReply(Y,X,ie,de){ie?ie.push(X,Y,de):this.push(X,Y)}},j="_MSG_BUS_RPC_";function B(Y,X){let ie=0,de=Y.length;for(let fe=0;fe<de;fe++)Y[fe]===X&&(Y.splice(fe,1),fe--,de--,ie++);return ie}function V(Y,X){return G(Y,X,()=>[])}function G(Y,X,ie){let de=Y[X];return de!==void 0||(de=ie(X),Y[X]=de),de}var Q=class{constructor(Y,X){this.callback=Y,this.unsafe=X,this.isRunning=!0}cancel(){this.callback=null,this.isRunning=!1}running(){return this.isRunning}async execute(Y){try{Y=this.unsafe?Y:b(Y),this.callback(Y)}catch(X){console.error(X)}}},H=class{constructor(Y=crypto.randomUUID()){this.uuid=Y,this.rpcTicket=0}subscribeOnce(Y,X){let ie=this.subscribe(Y,de=>{ie.cancel(),X(de)});return ie}pullA(Y){return new Promise(X=>{this.pull(Y,X)})}rpcService(Y,X){let ie=de=>{try{let{message:fe,replyTopic:ye}=de;try{let Le=X(fe);Le instanceof Promise?Le.then(Re=>{this.publish(ye,{success:!0,result:Re})}).catch(Re=>{console.error(Re),this.publish(ye,{success:!1,err:String(Re)})}):this.publish(ye,{success:!0,result:Le})}catch(Le){this.publish(ye,{success:!1,err:String(Le)})}}finally{this.pull(Y,ie)}};this.pull(Y,ie)}rpcCall(Y,X,ie=0){let de=new Promise((fe,ye)=>{let Le=`${j}-${Y}-${this.uuid}-${this.rpcTicket++}`;this.subscribeOnce(Le,Re=>{Re.success?fe(Re.result):ye(new Error(Re.err))}),this.push(Y,{message:X,replyTopic:Le})});return ie>0?Promise.race([de,new Promise((fe,ye)=>{setTimeout(ye,ie)})]):de}},q=class extends H{constructor(Y=!1){super(),this.unsafe=Y,this.subscribed={},this.pulled={},this.pushed={}}publish(Y,X){let ie=this.subscribed[Y];if(ie){let de;for(let fe of ie)fe.running()?fe.execute(X):(de=de||new Array,de.push(fe));if(de)for(let fe of de)B(ie,fe)}}subscribe(Y,X){let ie=new Q(X,this.unsafe);return V(this.subscribed,Y).push(ie),ie}push(Y,X){let ie=!1,de=this.pulled[Y];if(de){for(;de.length>0;){let fe=de.shift();if(fe&&fe.running()){fe.execute(X),ie=!0;break}}de.length===0&&delete this.pulled[Y]}ie||V(this.pushed,Y).push(X)}pull(Y,X){let ie=new Q(X,this.unsafe);return this.repull(Y,ie),ie}repull(Y,X){let ie=this.pushed[Y];if(ie){let de=ie.shift();de&&(X.execute(de),ie.length===0&&delete this.pushed[Y])}else V(this.pulled,Y).push(X)}},U=class extends H{constructor(Y=crypto.randomUUID()){super(Y),this.subscribed={},this.pushed={},this.pulled={},this.pushCnt=0}publish(Y,X){console.debug("BC",this.uuid,"PUBLISH",Y,X),this.broadcastPublish(Y,X)}subscribe(Y,X){console.debug("BC",this.uuid,"SUBSCRIBE",Y);let ie=new Q(X,!0);return V(this.subscribed,Y).push(ie),ie}push(Y,X){let ie=this.pushCnt++;console.debug("BC",this.uuid,"PUSH",Y,`(${ie})`,X),V(this.pushed,Y).push({id:ie,message:X}),this.broadcastPushedHeadMessage(Y)}pull(Y,X){console.debug("BC",this.uuid,"PULL",Y);let ie=new Q(X,!0);return V(this.pulled,Y).push(ie),this.broadcastWhoHas(Y),ie}broadcastPushedHeadMessage(Y){let X=this.pushed[Y];X&&X[0]&&this.broadcastIHave(Y,X[0].id)}onReceivedPublish(Y,X,ie){console.debug("BCMSG(",this.uuid,")","from",Y,"PUBLISH",X,"message",ie);let de=this.subscribed[X];if(de){let fe;for(let ye of de)ye.running()?ye.execute(ie):(fe=fe||new Array,fe.push(ye));if(fe)for(let ye of fe)B(de,ye);de.length===0&&delete this.subscribed[X]}}onReceivedWhoHas(Y,X){console.debug("BCMSG(",this.uuid,")","from",Y,"WHOHAS",X),this.broadcastPushedHeadMessage(X)}onReceivedIHave(Y,X,ie){console.debug("BCMSG(",this.uuid,")","from",Y,"IHAVE",X,"id",ie);let de=this.pulled[X];if(de){let fe;for(let ye of de)if(ye.running()){this.broadcastINeed(X,Y,ie);break}else fe=fe||new Array,fe.push(ye);if(fe)for(let ye of fe)B(de,ye);de.length===0&&delete this.pulled[X]}}onReceivedINeed(Y,X,ie,de){if(console.debug("BCMSG(",this.uuid,")","from",Y,"INEED",X,"source",ie,"id",de),this.uuid===ie){let fe=this.pushed[X];if(fe&&fe[0]&&fe[0].id===de){let{message:ye}=fe.shift();this.broadcastIGive(X,de,Y,ye),this.broadcastPushedHeadMessage(X),fe.length===0&&delete this.pushed[X]}}}onReceivedIGive(Y,X,ie,de,fe){console.debug("BCMSG(",this.uuid,")","from",Y,"IGIVE",X,"id",ie,"target",de,"message",fe);let ye=this.pulled[X];if(ye&&this.uuid===de){let Le=!1;for(;ye.length>0;){let Re=ye.shift();if(Re.running()){Re.execute(fe),Le=!0;break}}Le||this.push(X,fe),ye.length===0&&delete this.pulled[X]}}},F=class extends U{constructor(Y,X=crypto.randomUUID()){super(X),this.bc=new BroadcastChannel(Y),this.bc.onmessage=ie=>{this.onMessage(ie.data)}}onMessage(Y){let{type:X,uuid:ie,topic:de}=Y;switch(X){case"PUBLISH":{let{message:fe}=Y;this.onReceivedPublish(ie,de,fe);break}case"WHOHAS":{this.onReceivedWhoHas(ie,de);break}case"IHAVE":{let{id:fe}=Y;this.onReceivedIHave(ie,de,fe);break}case"INEED":{let{source:fe,id:ye}=Y;this.onReceivedINeed(ie,de,fe,ye);break}case"IGIVE":{let{target:fe,id:ye,message:Le}=Y;this.onReceivedIGive(ie,de,ye,fe,Le);break}default:console.warn("unsupported",Y)}}broadcastPublish(Y,X){this.post({type:"PUBLISH",uuid:this.uuid,topic:Y,message:X})}broadcastWhoHas(Y){this.post({type:"WHOHAS",uuid:this.uuid,topic:Y})}broadcastIHave(Y,X){this.post({type:"IHAVE",uuid:this.uuid,topic:Y,id:X})}broadcastINeed(Y,X,ie){this.post({type:"INEED",uuid:this.uuid,topic:Y,source:X,id:ie})}broadcastIGive(Y,X,ie,de){this.post({type:"IGIVE",uuid:this.uuid,topic:Y,id:X,target:ie,message:de})}post(Y){this.bc.postMessage(Y),Promise.resolve().then(()=>{this.onMessage(Y)})}},K=Symbol("BLOCKING_QUEUE_RESET"),te=class{constructor(Y,X=()=>1){if(this.maxSize=Y,this.itemSizeOf=X,this.queue=new d,this.waitingConsumers=new d,this.waitingProducers=new d,this.queueSize=0,this.closePromise=null,this.closeResolve=null,Y<=0)throw new Error("Max size must be greater than 0")}enqueue(Y){return this.closePromise?!1:this.isFull()?(async()=>{console.debug("queue is full",this.queueSize,this.maxSize);let X=await new Promise(ie=>{this.waitingProducers.enqueue(ie)});return console.debug("queue is not full",this.size(),X),X?(this.innerEnqueue(Y),!0):!1})():(this.innerEnqueue(Y),!0)}innerEnqueue(Y){if(this.waitingConsumers.isEmpty())this.queue.enqueue(Y),this.queueSize+=this.itemSizeOf(Y),console.debug("queue pushed",Y,"size",this.queueSize);else{let X=this.waitingConsumers.dequeue();Promise.resolve(Y).then(X),console.debug("queue direct",Y,"size",this.queueSize)}}dequeue(){if(this.queue.isEmpty())if(this.closePromise){for(;!this.waitingConsumers.isEmpty();){let Y=this.waitingConsumers.dequeue();Promise.resolve(K).then(Y)}return setTimeout(()=>this.closeResolve(),0),K}else return new Promise(Y=>{this.waitingConsumers.enqueue(Y)});else{let Y=this.queue.dequeue();if(this.queueSize-=this.itemSizeOf(Y),!this.waitingProducers.isEmpty()){let X=this.waitingProducers.dequeue();Promise.resolve(!0).then(X)}return Y}}size(){return this.queueSize}isEmpty(){return this.queueSize===0}isFull(){return this.queueSize>=this.maxSize}close(){return this.closePromise||(this.closePromise=new Promise(Y=>{for(this.closeResolve=Y;!this.waitingProducers.isEmpty();){let X=this.waitingProducers.dequeue();Promise.resolve(!1).then(X)}if(this.queueSize===0){for(;!this.waitingConsumers.isEmpty();){let X=this.waitingConsumers.dequeue();Promise.resolve(K).then(X)}Y()}})),this.closePromise}};function ae(Y,X,ie=Number.MAX_SAFE_INTEGER){let de=new te(ie,X),fe=new ReadableStream({pull(Le){let Re=!0,Ne=(async()=>{let Te=new Array;do{let Pe=de.dequeue();if(Pe instanceof Promise){Re=!1;let Oe=await Pe;Oe===K?Le.close():Te.push(Oe)}else{let Oe=Pe;Oe===K?Le.close():Te.push(Oe)}}while(de.size()>0);if(Te.length>0){let Pe=Y(Te);Le.enqueue(Pe)}})();if(!Re)return console.debug("read stream stucked --------------------------------------"),Ne},async cancel(){console.debug("buffered readable cancel"),await de.close()}}),ye=new WritableStream({write(Le,Re){let Ne=!0,Te=(async()=>{let Pe=de.enqueue(Le);typeof Pe=="boolean"?Pe||Re.error(new Error("Write stream closed")):(Ne=!1,await Pe||Re.error(new Error("Write stream closed")))})();if(!Ne)return console.debug("read stream stucked >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"),Te},async close(){console.debug("buffered writable closing",de.size()),await de.close(),console.debug("buffered writable closed",de.size())},async abort(){console.debug("buffered writable aborting",de.size()),await de.close(),console.debug("buffered writable aborted",de.size())}});return{readable:fe,writable:ye}}function pe(Y=Number.MAX_SAFE_INTEGER){return ae(X=>X.join(""),X=>X.length,Y)}function Z(Y=Number.MAX_SAFE_INTEGER){return ae(X=>{let ie=new Uint8Array(X.reduce((fe,ye)=>fe+ye.byteLength,0)),de=0;return X.forEach(fe=>{ie.set(fe,de),de+=fe.byteLength}),ie},X=>X.byteLength,Y)}function ee(Y){return new Promise((X,ie)=>{let de=new BroadcastChannel(Y),fe=new te(1),ye=new x(1),Le=null,Re=!1,Ne=!1,Te=!1;de.onmessage=Pe=>{let Oe=Pe.data,{type:Ue}=Oe;if(console.debug("p2p",Y,"type",Ue,"data",Ue==="DATA"&&Oe.data),Ue==="DATA")fe.enqueue(Oe.data);else if(Ue==="HI"){if(!Le){de.postMessage({type:"HI"});let Ye=0;Le={rs:new ReadableStream({async pull(ke){let Be=await fe.dequeue();Be===K?(await ze(),ke.close()):(ke.enqueue(Be),de.postMessage({type:"ACK"}))},cancel(){return ze()}}),ws:new WritableStream({async write(ke,Be){await ye.acquireSync()?de.postMessage({type:"DATA",id:Ye++,data:ke}):(Ve(),Be.error(new Error("Write stream closed")))},close(){Ve()},abort(){Ve()}})},X(Le)}}else Ue==="REND"?Le?ye.close():He("REND1"):Ue==="WEND"?Le?fe.close():He("WEND1"):Ue==="ACK"&&ye.release();function Ve(){Re||(Re=!0,console.debug(Y,"p2p write stream closed"),ye.close(),de.postMessage({type:"WEND"}),Ne&&(console.debug(Y,"p2p channel closed on ws"),de.close()))}async function ze(){Ne||(Ne=!0,console.debug(Y,"p2p read stream closed"),de.postMessage({type:"REND"}),await fe.close(),Re&&(console.debug(Y,"p2p channel closed on rs"),de.close()))}async function He(Ye){Te||(Te=!0,console.debug(Y,"p2p channel connection released on",Ye),ye.close(),fe.close(),Le?(Le.rs.locked||(console.debug(Y,"p2p unlocked read stream direct cancel"),Le.rs.cancel()),Le.ws.locked||(console.debug(Y,"p2p unlocked write stream direct close"),Le.ws.close())):(de.postMessage({type:"HI"}),de.close()),ie(new Error("p2p channel connection released")))}},de.postMessage({type:"HI"})})}function ce(Y){return new Promise(X=>{let ie=new BroadcastChannel(Y);ie.onmessage=de=>{let fe=de.data,{type:ye}=fe;ye==="HI"&&(ie.postMessage({type:"REND"}),ie.close(),X())},ie.postMessage({type:"REND"})})}async function ne(Y){try{return await ee(Y)}catch(X){X.message!=="p2p channel connection released"&&console.error(X)}}async function oe(Y,X,ie=10*1024*1024,de=!0){let fe=await ne(Y);if(!fe)return!1;let ye=!1;try{let Le,Re=Ne=>{if(!Le)if(!de)Le=fe.ws.getWriter();else if(typeof Ne=="string"){let Te=pe(ie);Te.readable.pipeTo(fe.ws),Le=Te.writable.getWriter()}else{let Te=Z(ie);Te.readable.pipeTo(fe.ws),Le=Te.writable.getWriter()}return Le.write(Ne)};if(Array.isArray(X))for(let Ne of X)await Re(Ne);else await X({write:Re,get desiredSize(){return((Le==null?void 0:Le.desiredSize)||0)+10}});Le&&await Le.close(),ye=!0}catch(Le){console.error(Le)}finally{return fe.rs.cancel(),ye}}async function re(Y,X){var ie,de;let fe=await ne(Y);if(fe)try{let ye=fe.rs.getReader();for((ie=X.start)==null?void 0:ie.call(X);;){let{value:Le,done:Re}=await ye.read();if(Le!==void 0){let Ne;if(X.update instanceof Promise?Ne=await X.update(Le):Ne=X.update(Le),Ne){await ye.cancel();break}}if(Re){(de=X.end)==null||de.call(X);break}}}catch(ye){console.error(ye)}finally{fe.ws.close()}}}),lu=xd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o():typeof define=="function"&&define.amd?define([],o):i.CryptoJS=o()})(t,function(){var i=i||(function(o,r){var n;if(typeof window<"u"&&window.crypto&&(n=window.crypto),typeof self<"u"&&self.crypto&&(n=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(n=globalThis.crypto),!n&&typeof window<"u"&&window.msCrypto&&(n=window.msCrypto),!n&&typeof global<"u"&&global.crypto&&(n=global.crypto),!n&&typeof Dmi=="function")try{n=Dmi("crypto")}catch{}var a=function(){if(n){if(typeof n.getRandomValues=="function")try{return n.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof n.randomBytes=="function")try{return n.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||(function(){function w(){}return function(x){var S;return w.prototype=x,S=new w,w.prototype=null,S}})(),l={},c=l.lib={},d=c.Base=(function(){return{extend:function(w){var x=s(this);return w&&x.mixIn(w),(!x.hasOwnProperty("init")||this.init===x.init)&&(x.init=function(){x.$super.init.apply(this,arguments)}),x.init.prototype=x,x.$super=this,x},create:function(){var w=this.extend();return w.init.apply(w,arguments),w},init:function(){},mixIn:function(w){for(var x in w)w.hasOwnProperty(x)&&(this[x]=w[x]);w.hasOwnProperty("toString")&&(this.toString=w.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),u=c.WordArray=d.extend({init:function(w,x){w=this.words=w||[],x!=r?this.sigBytes=x:this.sigBytes=w.length*4},toString:function(w){return(w||m).stringify(this)},concat:function(w){var x=this.words,S=w.words,T=this.sigBytes,M=w.sigBytes;if(this.clamp(),T%4)for(var I=0;I<M;I++){var A=S[I>>>2]>>>24-I%4*8&255;x[T+I>>>2]|=A<<24-(T+I)%4*8}else for(var D=0;D<M;D+=4)x[T+D>>>2]=S[D>>>2];return this.sigBytes+=M,this},clamp:function(){var w=this.words,x=this.sigBytes;w[x>>>2]&=4294967295<<32-x%4*8,w.length=o.ceil(x/4)},clone:function(){var w=d.clone.call(this);return w.words=this.words.slice(0),w},random:function(w){for(var x=[],S=0;S<w;S+=4)x.push(a());return new u.init(x,w)}}),p=l.enc={},m=p.Hex={stringify:function(w){for(var x=w.words,S=w.sigBytes,T=[],M=0;M<S;M++){var I=x[M>>>2]>>>24-M%4*8&255;T.push((I>>>4).toString(16)),T.push((I&15).toString(16))}return T.join("")},parse:function(w){for(var x=w.length,S=[],T=0;T<x;T+=2)S[T>>>3]|=parseInt(w.substr(T,2),16)<<24-T%8*4;return new u.init(S,x/2)}},h=p.Latin1={stringify:function(w){for(var x=w.words,S=w.sigBytes,T=[],M=0;M<S;M++){var I=x[M>>>2]>>>24-M%4*8&255;T.push(String.fromCharCode(I))}return T.join("")},parse:function(w){for(var x=w.length,S=[],T=0;T<x;T++)S[T>>>2]|=(w.charCodeAt(T)&255)<<24-T%4*8;return new u.init(S,x)}},f=p.Utf8={stringify:function(w){try{return decodeURIComponent(escape(h.stringify(w)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(w){return h.parse(unescape(encodeURIComponent(w)))}},g=c.BufferedBlockAlgorithm=d.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(w){typeof w=="string"&&(w=f.parse(w)),this._data.concat(w),this._nDataBytes+=w.sigBytes},_process:function(w){var x,S=this._data,T=S.words,M=S.sigBytes,I=this.blockSize,A=I*4,D=M/A;w?D=o.ceil(D):D=o.max((D|0)-this._minBufferSize,0);var E=D*I,N=o.min(E*4,M);if(E){for(var R=0;R<E;R+=I)this._doProcessBlock(T,R);x=T.splice(0,E),S.sigBytes-=N}return new u.init(x,N)},clone:function(){var w=d.clone.call(this);return w._data=this._data.clone(),w},_minBufferSize:0}),b=c.Hasher=g.extend({cfg:d.extend(),init:function(w){this.cfg=this.cfg.extend(w),this.reset()},reset:function(){g.reset.call(this),this._doReset()},update:function(w){return this._append(w),this._process(),this},finalize:function(w){w&&this._append(w);var x=this._doFinalize();return x},blockSize:512/32,_createHelper:function(w){return function(x,S){return new w.init(S).finalize(x)}},_createHmacHelper:function(w){return function(x,S){return new y.HMAC.init(w,S).finalize(x)}}}),y=l.algo={};return l})(Math);return i})}),uRe=xd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(lu()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(o){var r=i,n=r.lib,a=n.Base,s=n.WordArray,l=r.x64={},c=l.Word=a.extend({init:function(u,p){this.high=u,this.low=p}}),d=l.WordArray=a.extend({init:function(u,p){u=this.words=u||[],p!=o?this.sigBytes=p:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,p=u.length,m=[],h=0;h<p;h++){var f=u[h];m.push(f.high),m.push(f.low)}return s.create(m,this.sigBytes)},clone:function(){for(var u=a.clone.call(this),p=u.words=this.words.slice(0),m=p.length,h=0;h<m;h++)p[h]=p[h].clone();return u}})})(),i})}),vdr=xd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(lu()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(){if(typeof ArrayBuffer=="function"){var o=i,r=o.lib,n=r.WordArray,a=n.init,s=n.init=function(l){if(l instanceof ArrayBuffer&&(l=new Uint8Array(l)),(l instanceof Int8Array||typeof Uint8ClampedArray<"u"&&l instanceof Uint8ClampedArray||l instanceof Int16Array||l instanceof Uint16Array||l instanceof Int32Array||l instanceof Uint32Array||l instanceof Float32Array||l instanceof Float64Array)&&(l=new Uint8Array(l.buffer,l.byteOffset,l.byteLength)),l instanceof Uint8Array){for(var c=l.byteLength,d=[],u=0;u<c;u++)d[u>>>2]|=l[u]<<24-u%4*8;a.call(this,d,c)}else a.apply(this,arguments)};s.prototype=n}})(),i.lib.WordArray})}),Ddr=xd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(lu()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.WordArray,a=o.enc,s=a.Utf16=a.Utf16BE={stringify:function(c){for(var d=c.words,u=c.sigBytes,p=[],m=0;m<u;m+=2){var h=d[m>>>2]>>>16-m%4*8&65535;p.push(String.fromCharCode(h))}return p.join("")},parse:function(c){for(var d=c.length,u=[],p=0;p<d;p++)u[p>>>1]|=c.charCodeAt(p)<<16-p%2*16;return n.create(u,d*2)}};a.Utf16LE={stringify:function(c){for(var d=c.words,u=c.sigBytes,p=[],m=0;m<u;m+=2){var h=l(d[m>>>2]>>>16-m%4*8&65535);p.push(String.fromCharCode(h))}return p.join("")},parse:function(c){for(var d=c.length,u=[],p=0;p<d;p++)u[p>>>1]|=l(c.charCodeAt(p)<<16-p%2*16);return n.create(u,d*2)}};function l(c){return c<<8&4278255360|c>>>8&16711935}})(),i.enc.Utf16})}),Boe=xd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(lu()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.WordArray,a=o.enc,s=a.Base64={stringify:function(c){var d=c.words,u=c.sigBytes,p=this._map;c.clamp();for(var m=[],h=0;h<u;h+=3)for(var f=d[h>>>2]>>>24-h%4*8&255,g=d[h+1>>>2]>>>24-(h+1)%4*8&255,b=d[h+2>>>2]>>>24-(h+2)%4*8&255,y=f<<16|g<<8|b,w=0;w<4&&h+w*.75<u;w++)m.push(p.charAt(y>>>6*(3-w)&63));var x=p.charAt(64);if(x)for(;m.length%4;)m.push(x);return m.join("")},parse:function(c){var d=c.length,u=this._map,p=this._reverseMap;if(!p){p=this._reverseMap=[];for(var m=0;m<u.length;m++)p[u.charCodeAt(m)]=m}var h=u.charAt(64);if(h){var f=c.indexOf(h);f!==-1&&(d=f)}return l(c,d,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function l(c,d,u){for(var p=[],m=0,h=0;h<d;h++)if(h%4){var f=u[c.charCodeAt(h-1)]<<h%4*2,g=u[c.charCodeAt(h)]>>>6-h%4*2,b=f|g;p[m>>>2]|=b<<24-m%4*8,m++}return n.create(p,m)}})(),i.enc.Base64})}),Edr=xd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(lu()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.WordArray,a=o.enc,s=a.Base64url={stringify:function(c,d){d===void 0&&(d=!0);var u=c.words,p=c.sigBytes,m=d?this._safe_map:this._map;c.clamp();for(var h=[],f=0;f<p;f+=3)for(var g=u[f>>>2]>>>24-f%4*8&255,b=u[f+1>>>2]>>>24-(f+1)%4*8&255,y=u[f+2>>>2]>>>24-(f+2)%4*8&255,w=g<<16|b<<8|y,x=0;x<4&&f+x*.75<p;x++)h.push(m.charAt(w>>>6*(3-x)&63));var S=m.charAt(64);if(S)for(;h.length%4;)h.push(S);return h.join("")},parse:function(c,d){d===void 0&&(d=!0);var u=c.length,p=d?this._safe_map:this._map,m=this._reverseMap;if(!m){m=this._reverseMap=[];for(var h=0;h<p.length;h++)m[p.charCodeAt(h)]=h}var f=p.charAt(64);if(f){var g=c.indexOf(f);g!==-1&&(u=g)}return l(c,u,m)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function l(c,d,u){for(var p=[],m=0,h=0;h<d;h++)if(h%4){var f=u[c.charCodeAt(h-1)]<<h%4*2,g=u[c.charCodeAt(h)]>>>6-h%4*2,b=f|g;p[m>>>2]|=b<<24-m%4*8,m++}return n.create(p,m)}})(),i.enc.Base64url})}),zoe=xd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(lu()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(o){var r=i,n=r.lib,a=n.WordArray,s=n.Hasher,l=r.algo,c=[];(function(){for(var f=0;f<64;f++)c[f]=o.abs(o.sin(f+1))*4294967296|0})();var d=l.MD5=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(f,g){for(var b=0;b<16;b++){var y=g+b,w=f[y];f[y]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var x=this._hash.words,S=f[g+0],T=f[g+1],M=f[g+2],I=f[g+3],A=f[g+4],D=f[g+5],E=f[g+6],N=f[g+7],R=f[g+8],v=f[g+9],k=f[g+10],P=f[g+11],O=f[g+12],_=f[g+13],j=f[g+14],B=f[g+15],V=x[0],G=x[1],Q=x[2],H=x[3];V=u(V,G,Q,H,S,7,c[0]),H=u(H,V,G,Q,T,12,c[1]),Q=u(Q,H,V,G,M,17,c[2]),G=u(G,Q,H,V,I,22,c[3]),V=u(V,G,Q,H,A,7,c[4]),H=u(H,V,G,Q,D,12,c[5]),Q=u(Q,H,V,G,E,17,c[6]),G=u(G,Q,H,V,N,22,c[7]),V=u(V,G,Q,H,R,7,c[8]),H=u(H,V,G,Q,v,12,c[9]),Q=u(Q,H,V,G,k,17,c[10]),G=u(G,Q,H,V,P,22,c[11]),V=u(V,G,Q,H,O,7,c[12]),H=u(H,V,G,Q,_,12,c[13]),Q=u(Q,H,V,G,j,17,c[14]),G=u(G,Q,H,V,B,22,c[15]),V=p(V,G,Q,H,T,5,c[16]),H=p(H,V,G,Q,E,9,c[17]),Q=p(Q,H,V,G,P,14,c[18]),G=p(G,Q,H,V,S,20,c[19]),V=p(V,G,Q,H,D,5,c[20]),H=p(H,V,G,Q,k,9,c[21]),Q=p(Q,H,V,G,B,14,c[22]),G=p(G,Q,H,V,A,20,c[23]),V=p(V,G,Q,H,v,5,c[24]),H=p(H,V,G,Q,j,9,c[25]),Q=p(Q,H,V,G,I,14,c[26]),G=p(G,Q,H,V,R,20,c[27]),V=p(V,G,Q,H,_,5,c[28]),H=p(H,V,G,Q,M,9,c[29]),Q=p(Q,H,V,G,N,14,c[30]),G=p(G,Q,H,V,O,20,c[31]),V=m(V,G,Q,H,D,4,c[32]),H=m(H,V,G,Q,R,11,c[33]),Q=m(Q,H,V,G,P,16,c[34]),G=m(G,Q,H,V,j,23,c[35]),V=m(V,G,Q,H,T,4,c[36]),H=m(H,V,G,Q,A,11,c[37]),Q=m(Q,H,V,G,N,16,c[38]),G=m(G,Q,H,V,k,23,c[39]),V=m(V,G,Q,H,_,4,c[40]),H=m(H,V,G,Q,S,11,c[41]),Q=m(Q,H,V,G,I,16,c[42]),G=m(G,Q,H,V,E,23,c[43]),V=m(V,G,Q,H,v,4,c[44]),H=m(H,V,G,Q,O,11,c[45]),Q=m(Q,H,V,G,B,16,c[46]),G=m(G,Q,H,V,M,23,c[47]),V=h(V,G,Q,H,S,6,c[48]),H=h(H,V,G,Q,N,10,c[49]),Q=h(Q,H,V,G,j,15,c[50]),G=h(G,Q,H,V,D,21,c[51]),V=h(V,G,Q,H,O,6,c[52]),H=h(H,V,G,Q,I,10,c[53]),Q=h(Q,H,V,G,k,15,c[54]),G=h(G,Q,H,V,T,21,c[55]),V=h(V,G,Q,H,R,6,c[56]),H=h(H,V,G,Q,B,10,c[57]),Q=h(Q,H,V,G,E,15,c[58]),G=h(G,Q,H,V,_,21,c[59]),V=h(V,G,Q,H,A,6,c[60]),H=h(H,V,G,Q,P,10,c[61]),Q=h(Q,H,V,G,M,15,c[62]),G=h(G,Q,H,V,v,21,c[63]),x[0]=x[0]+V|0,x[1]=x[1]+G|0,x[2]=x[2]+Q|0,x[3]=x[3]+H|0},_doFinalize:function(){var f=this._data,g=f.words,b=this._nDataBytes*8,y=f.sigBytes*8;g[y>>>5]|=128<<24-y%32;var w=o.floor(b/4294967296),x=b;g[(y+64>>>9<<4)+15]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,g[(y+64>>>9<<4)+14]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,f.sigBytes=(g.length+1)*4,this._process();for(var S=this._hash,T=S.words,M=0;M<4;M++){var I=T[M];T[M]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360}return S},clone:function(){var f=s.clone.call(this);return f._hash=this._hash.clone(),f}});function u(f,g,b,y,w,x,S){var T=f+(g&b|~g&y)+w+S;return(T<<x|T>>>32-x)+g}function p(f,g,b,y,w,x,S){var T=f+(g&y|b&~y)+w+S;return(T<<x|T>>>32-x)+g}function m(f,g,b,y,w,x,S){var T=f+(g^b^y)+w+S;return(T<<x|T>>>32-x)+g}function h(f,g,b,y,w,x,S){var T=f+(b^(g|~y))+w+S;return(T<<x|T>>>32-x)+g}r.MD5=s._createHelper(d),r.HmacMD5=s._createHmacHelper(d)})(Math),i.MD5})}),w1i=xd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(lu()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.WordArray,a=r.Hasher,s=o.algo,l=[],c=s.SHA1=a.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(d,u){for(var p=this._hash.words,m=p[0],h=p[1],f=p[2],g=p[3],b=p[4],y=0;y<80;y++){if(y<16)l[y]=d[u+y]|0;else{var w=l[y-3]^l[y-8]^l[y-14]^l[y-16];l[y]=w<<1|w>>>31}var x=(m<<5|m>>>27)+b+l[y];y<20?x+=(h&f|~h&g)+1518500249:y<40?x+=(h^f^g)+1859775393:y<60?x+=(h&f|h&g|f&g)-1894007588:x+=(h^f^g)-899497514,b=g,g=f,f=h<<30|h>>>2,h=m,m=x}p[0]=p[0]+m|0,p[1]=p[1]+h|0,p[2]=p[2]+f|0,p[3]=p[3]+g|0,p[4]=p[4]+b|0},_doFinalize:function(){var d=this._data,u=d.words,p=this._nDataBytes*8,m=d.sigBytes*8;return u[m>>>5]|=128<<24-m%32,u[(m+64>>>9<<4)+14]=Math.floor(p/4294967296),u[(m+64>>>9<<4)+15]=p,d.sigBytes=u.length*4,this._process(),this._hash},clone:function(){var d=a.clone.call(this);return d._hash=this._hash.clone(),d}});o.SHA1=a._createHelper(c),o.HmacSHA1=a._createHmacHelper(c)})(),i.SHA1})}),K3t=xd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(lu()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(o){var r=i,n=r.lib,a=n.WordArray,s=n.Hasher,l=r.algo,c=[],d=[];(function(){function m(b){for(var y=o.sqrt(b),w=2;w<=y;w++)if(!(b%w))return!1;return!0}function h(b){return(b-(b|0))*4294967296|0}for(var f=2,g=0;g<64;)m(f)&&(g<8&&(c[g]=h(o.pow(f,1/2))),d[g]=h(o.pow(f,1/3)),g++),f++})();var u=[],p=l.SHA256=s.extend({_doReset:function(){this._hash=new a.init(c.slice(0))},_doProcessBlock:function(m,h){for(var f=this._hash.words,g=f[0],b=f[1],y=f[2],w=f[3],x=f[4],S=f[5],T=f[6],M=f[7],I=0;I<64;I++){if(I<16)u[I]=m[h+I]|0;else{var A=u[I-15],D=(A<<25|A>>>7)^(A<<14|A>>>18)^A>>>3,E=u[I-2],N=(E<<15|E>>>17)^(E<<13|E>>>19)^E>>>10;u[I]=D+u[I-7]+N+u[I-16]}var R=x&S^~x&T,v=g&b^g&y^b&y,k=(g<<30|g>>>2)^(g<<19|g>>>13)^(g<<10|g>>>22),P=(x<<26|x>>>6)^(x<<21|x>>>11)^(x<<7|x>>>25),O=M+P+R+d[I]+u[I],_=k+v;M=T,T=S,S=x,x=w+O|0,w=y,y=b,b=g,g=O+_|0}f[0]=f[0]+g|0,f[1]=f[1]+b|0,f[2]=f[2]+y|0,f[3]=f[3]+w|0,f[4]=f[4]+x|0,f[5]=f[5]+S|0,f[6]=f[6]+T|0,f[7]=f[7]+M|0},_doFinalize:function(){var m=this._data,h=m.words,f=this._nDataBytes*8,g=m.sigBytes*8;return h[g>>>5]|=128<<24-g%32,h[(g+64>>>9<<4)+14]=o.floor(f/4294967296),h[(g+64>>>9<<4)+15]=f,m.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var m=s.clone.call(this);return m._hash=this._hash.clone(),m}});r.SHA256=s._createHelper(p),r.HmacSHA256=s._createHmacHelper(p)})(Math),i.SHA256})}),Adr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),K3t()):typeof define=="function"&&define.amd?define(["./core","./sha256"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.WordArray,a=o.algo,s=a.SHA256,l=a.SHA224=s.extend({_doReset:function(){this._hash=new n.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=s._doFinalize.call(this);return c.sigBytes-=4,c}});o.SHA224=s._createHelper(l),o.HmacSHA224=s._createHmacHelper(l)})(),i.SHA224})}),C1i=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),uRe()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.Hasher,a=o.x64,s=a.Word,l=a.WordArray,c=o.algo;function d(){return s.create.apply(s,arguments)}var u=[d(1116352408,3609767458),d(1899447441,602891725),d(3049323471,3964484399),d(3921009573,2173295548),d(961987163,4081628472),d(1508970993,3053834265),d(2453635748,2937671579),d(2870763221,3664609560),d(3624381080,2734883394),d(310598401,1164996542),d(607225278,1323610764),d(1426881987,3590304994),d(1925078388,4068182383),d(2162078206,991336113),d(2614888103,633803317),d(3248222580,3479774868),d(3835390401,2666613458),d(4022224774,944711139),d(264347078,2341262773),d(604807628,2007800933),d(770255983,1495990901),d(1249150122,1856431235),d(1555081692,3175218132),d(1996064986,2198950837),d(2554220882,3999719339),d(2821834349,766784016),d(2952996808,2566594879),d(3210313671,3203337956),d(3336571891,1034457026),d(3584528711,2466948901),d(113926993,3758326383),d(338241895,168717936),d(666307205,1188179964),d(773529912,1546045734),d(1294757372,1522805485),d(1396182291,2643833823),d(1695183700,2343527390),d(1986661051,1014477480),d(2177026350,1206759142),d(2456956037,344077627),d(2730485921,1290863460),d(2820302411,3158454273),d(3259730800,3505952657),d(3345764771,106217008),d(3516065817,3606008344),d(3600352804,1432725776),d(4094571909,1467031594),d(275423344,851169720),d(430227734,3100823752),d(506948616,1363258195),d(659060556,3750685593),d(883997877,3785050280),d(958139571,3318307427),d(1322822218,3812723403),d(1537002063,2003034995),d(1747873779,3602036899),d(1955562222,1575990012),d(2024104815,1125592928),d(2227730452,2716904306),d(2361852424,442776044),d(2428436474,593698344),d(2756734187,3733110249),d(3204031479,2999351573),d(3329325298,3815920427),d(3391569614,3928383900),d(3515267271,566280711),d(3940187606,3454069534),d(4118630271,4000239992),d(116418474,1914138554),d(174292421,2731055270),d(289380356,3203993006),d(460393269,320620315),d(685471733,587496836),d(852142971,1086792851),d(1017036298,365543100),d(1126000580,2618297676),d(1288033470,3409855158),d(1501505948,4234509866),d(1607167915,987167468),d(1816402316,1246189591)],p=[];(function(){for(var h=0;h<80;h++)p[h]=d()})();var m=c.SHA512=n.extend({_doReset:function(){this._hash=new l.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(h,f){for(var g=this._hash.words,b=g[0],y=g[1],w=g[2],x=g[3],S=g[4],T=g[5],M=g[6],I=g[7],A=b.high,D=b.low,E=y.high,N=y.low,R=w.high,v=w.low,k=x.high,P=x.low,O=S.high,_=S.low,j=T.high,B=T.low,V=M.high,G=M.low,Q=I.high,H=I.low,q=A,U=D,F=E,K=N,te=R,ae=v,pe=k,Z=P,ee=O,ce=_,ne=j,oe=B,re=V,Y=G,X=Q,ie=H,de=0;de<80;de++){var fe,ye,Le=p[de];if(de<16)ye=Le.high=h[f+de*2]|0,fe=Le.low=h[f+de*2+1]|0;else{var Re=p[de-15],Ne=Re.high,Te=Re.low,Pe=(Ne>>>1|Te<<31)^(Ne>>>8|Te<<24)^Ne>>>7,Oe=(Te>>>1|Ne<<31)^(Te>>>8|Ne<<24)^(Te>>>7|Ne<<25),Ue=p[de-2],Ve=Ue.high,ze=Ue.low,He=(Ve>>>19|ze<<13)^(Ve<<3|ze>>>29)^Ve>>>6,Ye=(ze>>>19|Ve<<13)^(ze<<3|Ve>>>29)^(ze>>>6|Ve<<26),ke=p[de-7],Be=ke.high,Xe=ke.low,Ge=p[de-16],Ke=Ge.high,pt=Ge.low;fe=Oe+Xe,ye=Pe+Be+(fe>>>0<Oe>>>0?1:0),fe=fe+Ye,ye=ye+He+(fe>>>0<Ye>>>0?1:0),fe=fe+pt,ye=ye+Ke+(fe>>>0<pt>>>0?1:0),Le.high=ye,Le.low=fe}var ot=ee&ne^~ee&re,Qe=ce&oe^~ce&Y,ut=q&F^q&te^F&te,rt=U&K^U&ae^K&ae,ht=(q>>>28|U<<4)^(q<<30|U>>>2)^(q<<25|U>>>7),ct=(U>>>28|q<<4)^(U<<30|q>>>2)^(U<<25|q>>>7),wt=(ee>>>14|ce<<18)^(ee>>>18|ce<<14)^(ee<<23|ce>>>9),zt=(ce>>>14|ee<<18)^(ce>>>18|ee<<14)^(ce<<23|ee>>>9),gt=u[de],Qt=gt.high,yt=gt.low,jt=ie+zt,ni=X+wt+(jt>>>0<ie>>>0?1:0),jt=jt+Qe,ni=ni+ot+(jt>>>0<Qe>>>0?1:0),jt=jt+yt,ni=ni+Qt+(jt>>>0<yt>>>0?1:0),jt=jt+fe,ni=ni+ye+(jt>>>0<fe>>>0?1:0),Ii=ct+rt,Mo=ht+ut+(Ii>>>0<ct>>>0?1:0);X=re,ie=Y,re=ne,Y=oe,ne=ee,oe=ce,ce=Z+jt|0,ee=pe+ni+(ce>>>0<Z>>>0?1:0)|0,pe=te,Z=ae,te=F,ae=K,F=q,K=U,U=jt+Ii|0,q=ni+Mo+(U>>>0<jt>>>0?1:0)|0}D=b.low=D+U,b.high=A+q+(D>>>0<U>>>0?1:0),N=y.low=N+K,y.high=E+F+(N>>>0<K>>>0?1:0),v=w.low=v+ae,w.high=R+te+(v>>>0<ae>>>0?1:0),P=x.low=P+Z,x.high=k+pe+(P>>>0<Z>>>0?1:0),_=S.low=_+ce,S.high=O+ee+(_>>>0<ce>>>0?1:0),B=T.low=B+oe,T.high=j+ne+(B>>>0<oe>>>0?1:0),G=M.low=G+Y,M.high=V+re+(G>>>0<Y>>>0?1:0),H=I.low=H+ie,I.high=Q+X+(H>>>0<ie>>>0?1:0)},_doFinalize:function(){var h=this._data,f=h.words,g=this._nDataBytes*8,b=h.sigBytes*8;f[b>>>5]|=128<<24-b%32,f[(b+128>>>10<<5)+30]=Math.floor(g/4294967296),f[(b+128>>>10<<5)+31]=g,h.sigBytes=f.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var h=n.clone.call(this);return h._hash=this._hash.clone(),h},blockSize:1024/32});o.SHA512=n._createHelper(m),o.HmacSHA512=n._createHmacHelper(m)})(),i.SHA512})}),Ndr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),uRe(),C1i()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./sha512"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.x64,n=r.Word,a=r.WordArray,s=o.algo,l=s.SHA512,c=s.SHA384=l.extend({_doReset:function(){this._hash=new a.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var d=l._doFinalize.call(this);return d.sigBytes-=16,d}});o.SHA384=l._createHelper(c),o.HmacSHA384=l._createHmacHelper(c)})(),i.SHA384})}),kdr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),uRe()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],o):o(i.CryptoJS)})(t,function(i){return(function(o){var r=i,n=r.lib,a=n.WordArray,s=n.Hasher,l=r.x64,c=l.Word,d=r.algo,u=[],p=[],m=[];(function(){for(var g=1,b=0,y=0;y<24;y++){u[g+5*b]=(y+1)*(y+2)/2%64;var w=b%5,x=(2*g+3*b)%5;g=w,b=x}for(var g=0;g<5;g++)for(var b=0;b<5;b++)p[g+5*b]=b+(2*g+3*b)%5*5;for(var S=1,T=0;T<24;T++){for(var M=0,I=0,A=0;A<7;A++){if(S&1){var D=(1<<A)-1;D<32?I^=1<<D:M^=1<<D-32}S&128?S=S<<1^113:S<<=1}m[T]=c.create(M,I)}})();var h=[];(function(){for(var g=0;g<25;g++)h[g]=c.create()})();var f=d.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var g=this._state=[],b=0;b<25;b++)g[b]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(g,b){for(var y=this._state,w=this.blockSize/2,x=0;x<w;x++){var S=g[b+2*x],T=g[b+2*x+1];S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,T=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360;var M=y[x];M.high^=T,M.low^=S}for(var I=0;I<24;I++){for(var A=0;A<5;A++){for(var D=0,E=0,N=0;N<5;N++){var M=y[A+5*N];D^=M.high,E^=M.low}var R=h[A];R.high=D,R.low=E}for(var A=0;A<5;A++)for(var v=h[(A+4)%5],k=h[(A+1)%5],P=k.high,O=k.low,D=v.high^(P<<1|O>>>31),E=v.low^(O<<1|P>>>31),N=0;N<5;N++){var M=y[A+5*N];M.high^=D,M.low^=E}for(var _=1;_<25;_++){var D,E,M=y[_],j=M.high,B=M.low,V=u[_];V<32?(D=j<<V|B>>>32-V,E=B<<V|j>>>32-V):(D=B<<V-32|j>>>64-V,E=j<<V-32|B>>>64-V);var G=h[p[_]];G.high=D,G.low=E}var Q=h[0],H=y[0];Q.high=H.high,Q.low=H.low;for(var A=0;A<5;A++)for(var N=0;N<5;N++){var _=A+5*N,M=y[_],q=h[_],U=h[(A+1)%5+5*N],F=h[(A+2)%5+5*N];M.high=q.high^~U.high&F.high,M.low=q.low^~U.low&F.low}var M=y[0],K=m[I];M.high^=K.high,M.low^=K.low}},_doFinalize:function(){var g=this._data,b=g.words,y=this._nDataBytes*8,w=g.sigBytes*8,x=this.blockSize*32;b[w>>>5]|=1<<24-w%32,b[(o.ceil((w+1)/x)*x>>>5)-1]|=128,g.sigBytes=b.length*4,this._process();for(var S=this._state,T=this.cfg.outputLength/8,M=T/8,I=[],A=0;A<M;A++){var D=S[A],E=D.high,N=D.low;E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,N=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360,I.push(N),I.push(E)}return new a.init(I,T)},clone:function(){for(var g=s.clone.call(this),b=g._state=this._state.slice(0),y=0;y<25;y++)b[y]=b[y].clone();return g}});r.SHA3=s._createHelper(f),r.HmacSHA3=s._createHmacHelper(f)})(Math),i.SHA3})}),Pdr=xd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(lu()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){return(function(o){var r=i,n=r.lib,a=n.WordArray,s=n.Hasher,l=r.algo,c=a.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),d=a.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),u=a.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),p=a.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),m=a.create([0,1518500249,1859775393,2400959708,2840853838]),h=a.create([1352829926,1548603684,1836072691,2053994217,0]),f=l.RIPEMD160=s.extend({_doReset:function(){this._hash=a.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(T,M){for(var I=0;I<16;I++){var A=M+I,D=T[A];T[A]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}var E=this._hash.words,N=m.words,R=h.words,v=c.words,k=d.words,P=u.words,O=p.words,_,j,B,V,G,Q,H,q,U,F;Q=_=E[0],H=j=E[1],q=B=E[2],U=V=E[3],F=G=E[4];for(var K,I=0;I<80;I+=1)K=_+T[M+v[I]]|0,I<16?K+=g(j,B,V)+N[0]:I<32?K+=b(j,B,V)+N[1]:I<48?K+=y(j,B,V)+N[2]:I<64?K+=w(j,B,V)+N[3]:K+=x(j,B,V)+N[4],K=K|0,K=S(K,P[I]),K=K+G|0,_=G,G=V,V=S(B,10),B=j,j=K,K=Q+T[M+k[I]]|0,I<16?K+=x(H,q,U)+R[0]:I<32?K+=w(H,q,U)+R[1]:I<48?K+=y(H,q,U)+R[2]:I<64?K+=b(H,q,U)+R[3]:K+=g(H,q,U)+R[4],K=K|0,K=S(K,O[I]),K=K+F|0,Q=F,F=U,U=S(q,10),q=H,H=K;K=E[1]+B+U|0,E[1]=E[2]+V+F|0,E[2]=E[3]+G+Q|0,E[3]=E[4]+_+H|0,E[4]=E[0]+j+q|0,E[0]=K},_doFinalize:function(){var T=this._data,M=T.words,I=this._nDataBytes*8,A=T.sigBytes*8;M[A>>>5]|=128<<24-A%32,M[(A+64>>>9<<4)+14]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,T.sigBytes=(M.length+1)*4,this._process();for(var D=this._hash,E=D.words,N=0;N<5;N++){var R=E[N];E[N]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360}return D},clone:function(){var T=s.clone.call(this);return T._hash=this._hash.clone(),T}});function g(T,M,I){return T^M^I}function b(T,M,I){return T&M|~T&I}function y(T,M,I){return(T|~M)^I}function w(T,M,I){return T&I|M&~I}function x(T,M,I){return T^(M|~I)}function S(T,M){return T<<M|T>>>32-M}r.RIPEMD160=s._createHelper(f),r.HmacRIPEMD160=s._createHmacHelper(f)})(Math),i.RIPEMD160})}),Z3t=xd((t,e)=>{(function(i,o){typeof t=="object"?e.exports=t=o(lu()):typeof define=="function"&&define.amd?define(["./core"],o):o(i.CryptoJS)})(t,function(i){(function(){var o=i,r=o.lib,n=r.Base,a=o.enc,s=a.Utf8,l=o.algo,c=l.HMAC=n.extend({init:function(d,u){d=this._hasher=new d.init,typeof u=="string"&&(u=s.parse(u));var p=d.blockSize,m=p*4;u.sigBytes>m&&(u=d.finalize(u)),u.clamp();for(var h=this._oKey=u.clone(),f=this._iKey=u.clone(),g=h.words,b=f.words,y=0;y<p;y++)g[y]^=1549556828,b[y]^=909522486;h.sigBytes=f.sigBytes=m,this.reset()},reset:function(){var d=this._hasher;d.reset(),d.update(this._iKey)},update:function(d){return this._hasher.update(d),this},finalize:function(d){var u=this._hasher,p=u.finalize(d);u.reset();var m=u.finalize(this._oKey.clone().concat(p));return m}})})()})}),Odr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),K3t(),Z3t()):typeof define=="function"&&define.amd?define(["./core","./sha256","./hmac"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.Base,a=r.WordArray,s=o.algo,l=s.SHA256,c=s.HMAC,d=s.PBKDF2=n.extend({cfg:n.extend({keySize:128/32,hasher:l,iterations:25e4}),init:function(u){this.cfg=this.cfg.extend(u)},compute:function(u,p){for(var m=this.cfg,h=c.create(m.hasher,u),f=a.create(),g=a.create([1]),b=f.words,y=g.words,w=m.keySize,x=m.iterations;b.length<w;){var S=h.update(p).finalize(g);h.reset();for(var T=S.words,M=T.length,I=S,A=1;A<x;A++){I=h.finalize(I),h.reset();for(var D=I.words,E=0;E<M;E++)T[E]^=D[E]}f.concat(S),y[0]++}return f.sigBytes=w*4,f}});o.PBKDF2=function(u,p,m){return d.create(m).compute(u,p)}})(),i.PBKDF2})}),fZ=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),w1i(),Z3t()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.Base,a=r.WordArray,s=o.algo,l=s.MD5,c=s.EvpKDF=n.extend({cfg:n.extend({keySize:128/32,hasher:l,iterations:1}),init:function(d){this.cfg=this.cfg.extend(d)},compute:function(d,u){for(var p,m=this.cfg,h=m.hasher.create(),f=a.create(),g=f.words,b=m.keySize,y=m.iterations;g.length<b;){p&&h.update(p),p=h.update(d).finalize(u),h.reset();for(var w=1;w<y;w++)p=h.finalize(p),h.reset();f.concat(p)}return f.sigBytes=b*4,f}});o.EvpKDF=function(d,u,p){return c.create(p).compute(d,u)}})(),i.EvpKDF})}),S3=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),fZ()):typeof define=="function"&&define.amd?define(["./core","./evpkdf"],o):o(i.CryptoJS)})(t,function(i){i.lib.Cipher||(function(o){var r=i,n=r.lib,a=n.Base,s=n.WordArray,l=n.BufferedBlockAlgorithm,c=r.enc,d=c.Utf8,u=c.Base64,p=r.algo,m=p.EvpKDF,h=n.Cipher=l.extend({cfg:a.extend(),createEncryptor:function(R,v){return this.create(this._ENC_XFORM_MODE,R,v)},createDecryptor:function(R,v){return this.create(this._DEC_XFORM_MODE,R,v)},init:function(R,v,k){this.cfg=this.cfg.extend(k),this._xformMode=R,this._key=v,this.reset()},reset:function(){l.reset.call(this),this._doReset()},process:function(R){return this._append(R),this._process()},finalize:function(R){R&&this._append(R);var v=this._doFinalize();return v},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function R(v){return typeof v=="string"?N:A}return function(v){return{encrypt:function(k,P,O){return R(P).encrypt(v,k,P,O)},decrypt:function(k,P,O){return R(P).decrypt(v,k,P,O)}}}})()}),f=n.StreamCipher=h.extend({_doFinalize:function(){var R=this._process(!0);return R},blockSize:1}),g=r.mode={},b=n.BlockCipherMode=a.extend({createEncryptor:function(R,v){return this.Encryptor.create(R,v)},createDecryptor:function(R,v){return this.Decryptor.create(R,v)},init:function(R,v){this._cipher=R,this._iv=v}}),y=g.CBC=(function(){var R=b.extend();R.Encryptor=R.extend({processBlock:function(k,P){var O=this._cipher,_=O.blockSize;v.call(this,k,P,_),O.encryptBlock(k,P),this._prevBlock=k.slice(P,P+_)}}),R.Decryptor=R.extend({processBlock:function(k,P){var O=this._cipher,_=O.blockSize,j=k.slice(P,P+_);O.decryptBlock(k,P),v.call(this,k,P,_),this._prevBlock=j}});function v(k,P,O){var _,j=this._iv;j?(_=j,this._iv=o):_=this._prevBlock;for(var B=0;B<O;B++)k[P+B]^=_[B]}return R})(),w=r.pad={},x=w.Pkcs7={pad:function(R,v){for(var k=v*4,P=k-R.sigBytes%k,O=P<<24|P<<16|P<<8|P,_=[],j=0;j<P;j+=4)_.push(O);var B=s.create(_,P);R.concat(B)},unpad:function(R){var v=R.words[R.sigBytes-1>>>2]&255;R.sigBytes-=v}},S=n.BlockCipher=h.extend({cfg:h.cfg.extend({mode:y,padding:x}),reset:function(){var R;h.reset.call(this);var v=this.cfg,k=v.iv,P=v.mode;this._xformMode==this._ENC_XFORM_MODE?R=P.createEncryptor:(R=P.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==R?this._mode.init(this,k&&k.words):(this._mode=R.call(P,this,k&&k.words),this._mode.__creator=R)},_doProcessBlock:function(R,v){this._mode.processBlock(R,v)},_doFinalize:function(){var R,v=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(v.pad(this._data,this.blockSize),R=this._process(!0)):(R=this._process(!0),v.unpad(R)),R},blockSize:128/32}),T=n.CipherParams=a.extend({init:function(R){this.mixIn(R)},toString:function(R){return(R||this.formatter).stringify(this)}}),M=r.format={},I=M.OpenSSL={stringify:function(R){var v,k=R.ciphertext,P=R.salt;return P?v=s.create([1398893684,1701076831]).concat(P).concat(k):v=k,v.toString(u)},parse:function(R){var v,k=u.parse(R),P=k.words;return P[0]==1398893684&&P[1]==1701076831&&(v=s.create(P.slice(2,4)),P.splice(0,4),k.sigBytes-=16),T.create({ciphertext:k,salt:v})}},A=n.SerializableCipher=a.extend({cfg:a.extend({format:I}),encrypt:function(R,v,k,P){P=this.cfg.extend(P);var O=R.createEncryptor(k,P),_=O.finalize(v),j=O.cfg;return T.create({ciphertext:_,key:k,iv:j.iv,algorithm:R,mode:j.mode,padding:j.padding,blockSize:R.blockSize,formatter:P.format})},decrypt:function(R,v,k,P){P=this.cfg.extend(P),v=this._parse(v,P.format);var O=R.createDecryptor(k,P).finalize(v.ciphertext);return O},_parse:function(R,v){return typeof R=="string"?v.parse(R,this):R}}),D=r.kdf={},E=D.OpenSSL={execute:function(R,v,k,P,O){if(P||(P=s.random(64/8)),O)var _=m.create({keySize:v+k,hasher:O}).compute(R,P);else var _=m.create({keySize:v+k}).compute(R,P);var j=s.create(_.words.slice(v),k*4);return _.sigBytes=v*4,T.create({key:_,iv:j,salt:P})}},N=n.PasswordBasedCipher=A.extend({cfg:A.cfg.extend({kdf:E}),encrypt:function(R,v,k,P){P=this.cfg.extend(P);var O=P.kdf.execute(k,R.keySize,R.ivSize,P.salt,P.hasher);P.iv=O.iv;var _=A.encrypt.call(this,R,v,O.key,P);return _.mixIn(O),_},decrypt:function(R,v,k,P){P=this.cfg.extend(P),v=this._parse(v,P.format);var O=P.kdf.execute(k,R.keySize,R.ivSize,v.salt,P.hasher);P.iv=O.iv;var _=A.decrypt.call(this,R,v,O.key,P);return _}})})()})}),Rdr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),S3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.mode.CFB=(function(){var o=i.lib.BlockCipherMode.extend();o.Encryptor=o.extend({processBlock:function(n,a){var s=this._cipher,l=s.blockSize;r.call(this,n,a,l,s),this._prevBlock=n.slice(a,a+l)}}),o.Decryptor=o.extend({processBlock:function(n,a){var s=this._cipher,l=s.blockSize,c=n.slice(a,a+l);r.call(this,n,a,l,s),this._prevBlock=c}});function r(n,a,s,l){var c,d=this._iv;d?(c=d.slice(0),this._iv=void 0):c=this._prevBlock,l.encryptBlock(c,0);for(var u=0;u<s;u++)n[a+u]^=c[u]}return o})(),i.mode.CFB})}),_dr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),S3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.mode.CTR=(function(){var o=i.lib.BlockCipherMode.extend(),r=o.Encryptor=o.extend({processBlock:function(n,a){var s=this._cipher,l=s.blockSize,c=this._iv,d=this._counter;c&&(d=this._counter=c.slice(0),this._iv=void 0);var u=d.slice(0);s.encryptBlock(u,0),d[l-1]=d[l-1]+1|0;for(var p=0;p<l;p++)n[a+p]^=u[p]}});return o.Decryptor=r,o})(),i.mode.CTR})}),jdr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),S3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.mode.CTRGladman=(function(){var o=i.lib.BlockCipherMode.extend();function r(s){if((s>>24&255)===255){var l=s>>16&255,c=s>>8&255,d=s&255;l===255?(l=0,c===255?(c=0,d===255?d=0:++d):++c):++l,s=0,s+=l<<16,s+=c<<8,s+=d}else s+=1<<24;return s}function n(s){return(s[0]=r(s[0]))===0&&(s[1]=r(s[1])),s}var a=o.Encryptor=o.extend({processBlock:function(s,l){var c=this._cipher,d=c.blockSize,u=this._iv,p=this._counter;u&&(p=this._counter=u.slice(0),this._iv=void 0),n(p);var m=p.slice(0);c.encryptBlock(m,0);for(var h=0;h<d;h++)s[l+h]^=m[h]}});return o.Decryptor=a,o})(),i.mode.CTRGladman})}),Bdr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),S3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.mode.OFB=(function(){var o=i.lib.BlockCipherMode.extend(),r=o.Encryptor=o.extend({processBlock:function(n,a){var s=this._cipher,l=s.blockSize,c=this._iv,d=this._keystream;c&&(d=this._keystream=c.slice(0),this._iv=void 0),s.encryptBlock(d,0);for(var u=0;u<l;u++)n[a+u]^=d[u]}});return o.Decryptor=r,o})(),i.mode.OFB})}),zdr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),S3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.mode.ECB=(function(){var o=i.lib.BlockCipherMode.extend();return o.Encryptor=o.extend({processBlock:function(r,n){this._cipher.encryptBlock(r,n)}}),o.Decryptor=o.extend({processBlock:function(r,n){this._cipher.decryptBlock(r,n)}}),o})(),i.mode.ECB})}),Fdr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),S3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.pad.AnsiX923={pad:function(o,r){var n=o.sigBytes,a=r*4,s=a-n%a,l=n+s-1;o.clamp(),o.words[l>>>2]|=s<<24-l%4*8,o.sigBytes+=s},unpad:function(o){var r=o.words[o.sigBytes-1>>>2]&255;o.sigBytes-=r}},i.pad.Ansix923})}),Udr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),S3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.pad.Iso10126={pad:function(o,r){var n=r*4,a=n-o.sigBytes%n;o.concat(i.lib.WordArray.random(a-1)).concat(i.lib.WordArray.create([a<<24],1))},unpad:function(o){var r=o.words[o.sigBytes-1>>>2]&255;o.sigBytes-=r}},i.pad.Iso10126})}),Vdr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),S3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.pad.Iso97971={pad:function(o,r){o.concat(i.lib.WordArray.create([2147483648],1)),i.pad.ZeroPadding.pad(o,r)},unpad:function(o){i.pad.ZeroPadding.unpad(o),o.sigBytes--}},i.pad.Iso97971})}),Hdr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),S3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.pad.ZeroPadding={pad:function(o,r){var n=r*4;o.clamp(),o.sigBytes+=n-(o.sigBytes%n||n)},unpad:function(o){for(var r=o.words,n=o.sigBytes-1,n=o.sigBytes-1;n>=0;n--)if(r[n>>>2]>>>24-n%4*8&255){o.sigBytes=n+1;break}}},i.pad.ZeroPadding})}),Gdr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),S3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return i.pad.NoPadding={pad:function(){},unpad:function(){}},i.pad.NoPadding})}),Ydr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),S3()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return(function(o){var r=i,n=r.lib,a=n.CipherParams,s=r.enc,l=s.Hex,c=r.format,d=c.Hex={stringify:function(u){return u.ciphertext.toString(l)},parse:function(u){var p=l.parse(u);return a.create({ciphertext:p})}}})(),i.format.Hex})}),Wdr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),Boe(),zoe(),fZ(),S3()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.BlockCipher,a=o.algo,s=[],l=[],c=[],d=[],u=[],p=[],m=[],h=[],f=[],g=[];(function(){for(var w=[],x=0;x<256;x++)x<128?w[x]=x<<1:w[x]=x<<1^283;for(var S=0,T=0,x=0;x<256;x++){var M=T^T<<1^T<<2^T<<3^T<<4;M=M>>>8^M&255^99,s[S]=M,l[M]=S;var I=w[S],A=w[I],D=w[A],E=w[M]*257^M*16843008;c[S]=E<<24|E>>>8,d[S]=E<<16|E>>>16,u[S]=E<<8|E>>>24,p[S]=E;var E=D*16843009^A*65537^I*257^S*16843008;m[M]=E<<24|E>>>8,h[M]=E<<16|E>>>16,f[M]=E<<8|E>>>24,g[M]=E,S?(S=I^w[w[w[D^I]]],T^=w[w[T]]):S=T=1}})();var b=[0,1,2,4,8,16,32,64,128,27,54],y=a.AES=n.extend({_doReset:function(){var w;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var x=this._keyPriorReset=this._key,S=x.words,T=x.sigBytes/4,M=this._nRounds=T+6,I=(M+1)*4,A=this._keySchedule=[],D=0;D<I;D++)D<T?A[D]=S[D]:(w=A[D-1],D%T?T>6&&D%T==4&&(w=s[w>>>24]<<24|s[w>>>16&255]<<16|s[w>>>8&255]<<8|s[w&255]):(w=w<<8|w>>>24,w=s[w>>>24]<<24|s[w>>>16&255]<<16|s[w>>>8&255]<<8|s[w&255],w^=b[D/T|0]<<24),A[D]=A[D-T]^w);for(var E=this._invKeySchedule=[],N=0;N<I;N++){var D=I-N;if(N%4)var w=A[D];else var w=A[D-4];N<4||D<=4?E[N]=w:E[N]=m[s[w>>>24]]^h[s[w>>>16&255]]^f[s[w>>>8&255]]^g[s[w&255]]}}},encryptBlock:function(w,x){this._doCryptBlock(w,x,this._keySchedule,c,d,u,p,s)},decryptBlock:function(w,x){var S=w[x+1];w[x+1]=w[x+3],w[x+3]=S,this._doCryptBlock(w,x,this._invKeySchedule,m,h,f,g,l);var S=w[x+1];w[x+1]=w[x+3],w[x+3]=S},_doCryptBlock:function(w,x,S,T,M,I,A,D){for(var E=this._nRounds,N=w[x]^S[0],R=w[x+1]^S[1],v=w[x+2]^S[2],k=w[x+3]^S[3],P=4,O=1;O<E;O++){var _=T[N>>>24]^M[R>>>16&255]^I[v>>>8&255]^A[k&255]^S[P++],j=T[R>>>24]^M[v>>>16&255]^I[k>>>8&255]^A[N&255]^S[P++],B=T[v>>>24]^M[k>>>16&255]^I[N>>>8&255]^A[R&255]^S[P++],V=T[k>>>24]^M[N>>>16&255]^I[R>>>8&255]^A[v&255]^S[P++];N=_,R=j,v=B,k=V}var _=(D[N>>>24]<<24|D[R>>>16&255]<<16|D[v>>>8&255]<<8|D[k&255])^S[P++],j=(D[R>>>24]<<24|D[v>>>16&255]<<16|D[k>>>8&255]<<8|D[N&255])^S[P++],B=(D[v>>>24]<<24|D[k>>>16&255]<<16|D[N>>>8&255]<<8|D[R&255])^S[P++],V=(D[k>>>24]<<24|D[N>>>16&255]<<16|D[R>>>8&255]<<8|D[v&255])^S[P++];w[x]=_,w[x+1]=j,w[x+2]=B,w[x+3]=V},keySize:256/32});o.AES=n._createHelper(y)})(),i.AES})}),Qdr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),Boe(),zoe(),fZ(),S3()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.WordArray,a=r.BlockCipher,s=o.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],d=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],u=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],p=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],m=s.DES=a.extend({_doReset:function(){for(var b=this._key,y=b.words,w=[],x=0;x<56;x++){var S=l[x]-1;w[x]=y[S>>>5]>>>31-S%32&1}for(var T=this._subKeys=[],M=0;M<16;M++){for(var I=T[M]=[],A=d[M],x=0;x<24;x++)I[x/6|0]|=w[(c[x]-1+A)%28]<<31-x%6,I[4+(x/6|0)]|=w[28+(c[x+24]-1+A)%28]<<31-x%6;I[0]=I[0]<<1|I[0]>>>31;for(var x=1;x<7;x++)I[x]=I[x]>>>(x-1)*4+3;I[7]=I[7]<<5|I[7]>>>27}for(var D=this._invSubKeys=[],x=0;x<16;x++)D[x]=T[15-x]},encryptBlock:function(b,y){this._doCryptBlock(b,y,this._subKeys)},decryptBlock:function(b,y){this._doCryptBlock(b,y,this._invSubKeys)},_doCryptBlock:function(b,y,w){this._lBlock=b[y],this._rBlock=b[y+1],h.call(this,4,252645135),h.call(this,16,65535),f.call(this,2,858993459),f.call(this,8,16711935),h.call(this,1,1431655765);for(var x=0;x<16;x++){for(var S=w[x],T=this._lBlock,M=this._rBlock,I=0,A=0;A<8;A++)I|=u[A][((M^S[A])&p[A])>>>0];this._lBlock=M,this._rBlock=T^I}var D=this._lBlock;this._lBlock=this._rBlock,this._rBlock=D,h.call(this,1,1431655765),f.call(this,8,16711935),f.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),b[y]=this._lBlock,b[y+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function h(b,y){var w=(this._lBlock>>>b^this._rBlock)&y;this._rBlock^=w,this._lBlock^=w<<b}function f(b,y){var w=(this._rBlock>>>b^this._lBlock)&y;this._lBlock^=w,this._rBlock^=w<<b}o.DES=a._createHelper(m);var g=s.TripleDES=a.extend({_doReset:function(){var b=this._key,y=b.words;if(y.length!==2&&y.length!==4&&y.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var w=y.slice(0,2),x=y.length<4?y.slice(0,2):y.slice(2,4),S=y.length<6?y.slice(0,2):y.slice(4,6);this._des1=m.createEncryptor(n.create(w)),this._des2=m.createEncryptor(n.create(x)),this._des3=m.createEncryptor(n.create(S))},encryptBlock:function(b,y){this._des1.encryptBlock(b,y),this._des2.decryptBlock(b,y),this._des3.encryptBlock(b,y)},decryptBlock:function(b,y){this._des3.decryptBlock(b,y),this._des2.encryptBlock(b,y),this._des1.decryptBlock(b,y)},keySize:192/32,ivSize:64/32,blockSize:64/32});o.TripleDES=a._createHelper(g)})(),i.TripleDES})}),Kdr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),Boe(),zoe(),fZ(),S3()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.StreamCipher,a=o.algo,s=a.RC4=n.extend({_doReset:function(){for(var d=this._key,u=d.words,p=d.sigBytes,m=this._S=[],h=0;h<256;h++)m[h]=h;for(var h=0,f=0;h<256;h++){var g=h%p,b=u[g>>>2]>>>24-g%4*8&255;f=(f+m[h]+b)%256;var y=m[h];m[h]=m[f],m[f]=y}this._i=this._j=0},_doProcessBlock:function(d,u){d[u]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var d=this._S,u=this._i,p=this._j,m=0,h=0;h<4;h++){u=(u+1)%256,p=(p+d[u])%256;var f=d[u];d[u]=d[p],d[p]=f,m|=d[(d[u]+d[p])%256]<<24-h*8}return this._i=u,this._j=p,m}o.RC4=n._createHelper(s);var c=a.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var d=this.cfg.drop;d>0;d--)l.call(this)}});o.RC4Drop=n._createHelper(c)})(),i.RC4})}),Zdr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),Boe(),zoe(),fZ(),S3()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.StreamCipher,a=o.algo,s=[],l=[],c=[],d=a.Rabbit=n.extend({_doReset:function(){for(var p=this._key.words,m=this.cfg.iv,h=0;h<4;h++)p[h]=(p[h]<<8|p[h]>>>24)&16711935|(p[h]<<24|p[h]>>>8)&4278255360;var f=this._X=[p[0],p[3]<<16|p[2]>>>16,p[1],p[0]<<16|p[3]>>>16,p[2],p[1]<<16|p[0]>>>16,p[3],p[2]<<16|p[1]>>>16],g=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var h=0;h<4;h++)u.call(this);for(var h=0;h<8;h++)g[h]^=f[h+4&7];if(m){var b=m.words,y=b[0],w=b[1],x=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,S=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,T=x>>>16|S&4294901760,M=S<<16|x&65535;g[0]^=x,g[1]^=T,g[2]^=S,g[3]^=M,g[4]^=x,g[5]^=T,g[6]^=S,g[7]^=M;for(var h=0;h<4;h++)u.call(this)}},_doProcessBlock:function(p,m){var h=this._X;u.call(this),s[0]=h[0]^h[5]>>>16^h[3]<<16,s[1]=h[2]^h[7]>>>16^h[5]<<16,s[2]=h[4]^h[1]>>>16^h[7]<<16,s[3]=h[6]^h[3]>>>16^h[1]<<16;for(var f=0;f<4;f++)s[f]=(s[f]<<8|s[f]>>>24)&16711935|(s[f]<<24|s[f]>>>8)&4278255360,p[m+f]^=s[f]},blockSize:128/32,ivSize:64/32});function u(){for(var p=this._X,m=this._C,h=0;h<8;h++)l[h]=m[h];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0<l[0]>>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0<l[1]>>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0<l[2]>>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0<l[3]>>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0<l[4]>>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0<l[5]>>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0<l[6]>>>0?1:0)|0,this._b=m[7]>>>0<l[7]>>>0?1:0;for(var h=0;h<8;h++){var f=p[h]+m[h],g=f&65535,b=f>>>16,y=((g*g>>>17)+g*b>>>15)+b*b,w=((f&4294901760)*f|0)+((f&65535)*f|0);c[h]=y^w}p[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,p[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,p[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,p[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,p[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,p[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,p[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,p[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}o.Rabbit=n._createHelper(d)})(),i.Rabbit})}),Jdr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),Boe(),zoe(),fZ(),S3()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.StreamCipher,a=o.algo,s=[],l=[],c=[],d=a.RabbitLegacy=n.extend({_doReset:function(){var p=this._key.words,m=this.cfg.iv,h=this._X=[p[0],p[3]<<16|p[2]>>>16,p[1],p[0]<<16|p[3]>>>16,p[2],p[1]<<16|p[0]>>>16,p[3],p[2]<<16|p[1]>>>16],f=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var g=0;g<4;g++)u.call(this);for(var g=0;g<8;g++)f[g]^=h[g+4&7];if(m){var b=m.words,y=b[0],w=b[1],x=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,S=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,T=x>>>16|S&4294901760,M=S<<16|x&65535;f[0]^=x,f[1]^=T,f[2]^=S,f[3]^=M,f[4]^=x,f[5]^=T,f[6]^=S,f[7]^=M;for(var g=0;g<4;g++)u.call(this)}},_doProcessBlock:function(p,m){var h=this._X;u.call(this),s[0]=h[0]^h[5]>>>16^h[3]<<16,s[1]=h[2]^h[7]>>>16^h[5]<<16,s[2]=h[4]^h[1]>>>16^h[7]<<16,s[3]=h[6]^h[3]>>>16^h[1]<<16;for(var f=0;f<4;f++)s[f]=(s[f]<<8|s[f]>>>24)&16711935|(s[f]<<24|s[f]>>>8)&4278255360,p[m+f]^=s[f]},blockSize:128/32,ivSize:64/32});function u(){for(var p=this._X,m=this._C,h=0;h<8;h++)l[h]=m[h];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0<l[0]>>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0<l[1]>>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0<l[2]>>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0<l[3]>>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0<l[4]>>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0<l[5]>>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0<l[6]>>>0?1:0)|0,this._b=m[7]>>>0<l[7]>>>0?1:0;for(var h=0;h<8;h++){var f=p[h]+m[h],g=f&65535,b=f>>>16,y=((g*g>>>17)+g*b>>>15)+b*b,w=((f&4294901760)*f|0)+((f&65535)*f|0);c[h]=y^w}p[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,p[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,p[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,p[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,p[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,p[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,p[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,p[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}o.RabbitLegacy=n._createHelper(d)})(),i.RabbitLegacy})}),qdr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),Boe(),zoe(),fZ(),S3()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})(t,function(i){return(function(){var o=i,r=o.lib,n=r.BlockCipher,a=o.algo;let s=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var d={pbox:[],sbox:[]};function u(g,b){let y=b>>24&255,w=b>>16&255,x=b>>8&255,S=b&255,T=g.sbox[0][y]+g.sbox[1][w];return T=T^g.sbox[2][x],T=T+g.sbox[3][S],T}function p(g,b,y){let w=b,x=y,S;for(let T=0;T<s;++T)w=w^g.pbox[T],x=u(g,w)^x,S=w,w=x,x=S;return S=w,w=x,x=S,x=x^g.pbox[s],w=w^g.pbox[s+1],{left:w,right:x}}function m(g,b,y){let w=b,x=y,S;for(let T=s+1;T>1;--T)w=w^g.pbox[T],x=u(g,w)^x,S=w,w=x,x=S;return S=w,w=x,x=S,x=x^g.pbox[1],w=w^g.pbox[0],{left:w,right:x}}function h(g,b,y){for(let M=0;M<4;M++){g.sbox[M]=[];for(let I=0;I<256;I++)g.sbox[M][I]=c[M][I]}let w=0;for(let M=0;M<s+2;M++)g.pbox[M]=l[M]^b[w],w++,w>=y&&(w=0);let x=0,S=0,T=0;for(let M=0;M<s+2;M+=2)T=p(g,x,S),x=T.left,S=T.right,g.pbox[M]=x,g.pbox[M+1]=S;for(let M=0;M<4;M++)for(let I=0;I<256;I+=2)T=p(g,x,S),x=T.left,S=T.right,g.sbox[M][I]=x,g.sbox[M][I+1]=S;return!0}var f=a.Blowfish=n.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var g=this._keyPriorReset=this._key,b=g.words,y=g.sigBytes/4;h(d,b,y)}},encryptBlock:function(g,b){var y=p(d,g[b],g[b+1]);g[b]=y.left,g[b+1]=y.right},decryptBlock:function(g,b){var y=m(d,g[b],g[b+1]);g[b]=y.left,g[b+1]=y.right},blockSize:64/32,keySize:128/32,ivSize:64/32});o.Blowfish=n._createHelper(f)})(),i.Blowfish})}),Xdr=xd((t,e)=>{(function(i,o,r){typeof t=="object"?e.exports=t=o(lu(),uRe(),vdr(),Ddr(),Boe(),Edr(),zoe(),w1i(),K3t(),Adr(),C1i(),Ndr(),kdr(),Pdr(),Z3t(),Odr(),fZ(),S3(),Rdr(),_dr(),jdr(),Bdr(),zdr(),Fdr(),Udr(),Vdr(),Hdr(),Gdr(),Ydr(),Wdr(),Qdr(),Kdr(),Zdr(),Jdr(),qdr()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./enc-base64url","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy","./blowfish"],o):i.CryptoJS=o(i.CryptoJS)})(t,function(i){return i})}),$dr=(t=>(t.Device="Device",t.Symbol="Symbol",t.Footprint="Footprint",t.OBJ="OBJ",t.ModelID="3D Model",t.ModelName="3D Model Title",t.OriginModelName="Origin 3D Model Title",t.ModelTransform="3D Model Transform",t.OriginFootprint="Origin Footprint",t))($dr||{}),eur=(t=>(t.DOCHEAD="DOCHEAD",t.EDIT_HEAD="EDIT_HEAD",t.SCH="SCH",t.SCH_PAGE="SCH_PAGE",t.PCB="PCB",t.PANEL="PANEL",t.PANEL_LIB="PANEL_LIB",t.SYMBOL="SYMBOL",t.FOOTPRINT="FOOTPRINT",t.DEVICE="DEVICE",t.BLOB="BLOB",t.INSTANCE="INSTANCE",t.CONFIG="CONFIG",t.BOARD="BOARD",t.FONT="FONT",t.VARIANT="VARIANT",t.COMPONENT_GROUP="COMPONENT_GROUP",t.COMPONENT_GROUP_DATA="COMPONENT_GROUP_DATA",t.SIMULATION="SIMULATION",t))(eur||{}),tur=(t=>(t.META="META",t.META_SORT="META_SORT",t.META_CREATE="META_CREATE",t.META_MODIFY="META_MODIFY",t.FONT="FONT",t.BLOB="BLOB",t.MAX_NUM="MAX_NUM",t.INSTANCE_ATTR="INSTANCE_ATTR",t.DELETE_DOC="DELETE_DOC",t.META_Z_INDEX="META_Z_INDEX",t.VARIANT_GROUPED="VARIANT_GROUPED",t.GROUP_INDEX="GROUP_INDEX",t.GROUP_DATA="GROUP_DATA",t.RULE_TEMPLATE="RULE_TEMPLATE",t.RULE="RULE",t.RULE_SELECTOR="RULE_SELECTOR",t.ELE_PLACEHOLDER="ELE_PLACEHOLDER",t.META_PLACEHOLDER="META_PLACEHOLDER",t))(tur||{});var pRe=`|
`;function kxe(t,e,i){return t.slice(e,i)}function Emi(t,e,i){let o=t.length,r=0;for(;r<o;){let n=t.indexOf(`|
`,r);if(n<0){if(i)return t.substring(r);n=o}let a=kxe(t,r,n);try{if(a){let s=a.indexOf("||"),l=s>-1,c=l?kxe(a,0,s):a,d=l?kxe(a,s+2):"";if(e(c,d,a,l?r+s+2:r)===!1){a=null;break}a=null}}catch(s){console.error(s)}r=n+2}t=null}var iur=["SYMBOL","FOOTPRINT","BLOB","FONT","PANEL_LIB","DEVICE","BOARD","INSTANCE","CONFIG","VARIANT","COMPONENT_GROUP","COMPONENT_GROUP_DATA"];function c3t(t,e){return iur.includes(e)?e:t}var x1i=class{parseFull(t,e,i){let o=e,r=i,n,a=null;Emi(t,(s,l,c)=>{let d=JSON.parse(s);if(d.type==="EDIT_HEAD")a=JSON.parse(l),this.onEditHead&&this.onEditHead(a);else if(d.type==="DOCHEAD"){let u=JSON.parse(l);r=u.docType,o=u.uuid,n=u.client,u.ticket=d.ticket,this.onDocHead(u,a,c)}else this.onLine(d.id,d.ticket,l,d.type,d.client||n,r,o,d.firstTicket,d.pend,a,d.num,c)}),this.onEnd(),t=null}flowParseFull(t={}){let{cache:e,chunkLength:i=100*1024*1024,idsData:o,history:r}=t,n="",a=null,s,l=null,c=!0,d="",u=0,p=!1,m={},h=e?{}:void 0,f=new Set,g=w=>{h[w]===void 0&&(h[w]=-1),e(w,++h[w],m[w].data.join(`|
`)),m[w].data.length=0,m[w].size=0,m[w].data.push(m[w].head),m[w].size+=m[w].head.length},b=w=>{if(f.add(n),!e)return;let x=c3t(n,a);m[x].data.push(w),m[x].size+=(m[x].size?2:0)+w.length,m[x].size+w.length>i&&g(x)},y=(w,x)=>Emi(w,(S,T,M,I)=>{var A,D,E,N,R,v,k,P;let O=JSON.parse(S);if(O.type==="EDIT_HEAD")l=JSON.parse(T),(A=this.onEditHead)==null||A.call(this,l),(D=t.onEditHead)==null||D.call(t,l),p=!0;else if(O.type==="DOCHEAD"){let _=JSON.parse(T);a=_.docType,n=_.uuid,s=_.client,_.ticket=O.ticket,p||(l={uuid:_.uuid,username:(E=_==null?void 0:_.user)==null?void 0:E.username,nickname:(N=_==null?void 0:_.user)==null?void 0:N.nickname,updateTime:_==null?void 0:_.updateTime},(R=t.onEditHead)==null||R.call(t,l),p=!0),this.onDocHead(_,l,M);let j=c3t(n,a);e&&!m[j]&&(m[j]={size:0,data:[],head:""}),e&&(m[j].head=M),b(M)}else{let _=O.num,j=O.client||s;if(o){let B=(P=(k=(v=o.ids)==null?void 0:v[n])==null?void 0:k[j])==null?void 0:P[O.id];if(!B||B[0]!==O.ticket)return;_=B[1],o.size-=1,delete o.ids[n][j][O.id]}if(r){let B=c3t(n,a);e&&(r.dNum=(h==null?void 0:h[B])===void 0?0:(h==null?void 0:h[B])+1),r.start=e?m[B].size+2+S.length+2:u+I}this.onLine(O.id,O.ticket,T,O.type,j,a,n,O.firstTicket,O.pend,l||(r==null?void 0:r.editHead),_,M,r),b(M)}},x);return{start:()=>{c=!0},end:()=>{if(d&&y(d,!1),e)for(let w in m)m[w].size&&m[w].data.length>1&&g(w),m[w]=null;c=!1,d="",n="",n=null,s="",l=null,this.onEnd()},update:w=>{if(!c)throw new Error("\u66F4\u65B0\u524D\u672A\u8C03\u7528 start \u65B9\u6CD5");let x=y(d+w,!0);u=u+d.length+w.length-((x==null?void 0:x.length)||0),d="",x&&(d=x)},docMap:h,getDocIds:()=>Array.from(f)}}parseLine(t,e,i){let o=t.indexOf("||"),r=o!==-1,n=r?kxe(t,0,o):t,a=r?kxe(t,o+2):"",s=JSON.parse(n);this.onLine(s.id,s.ticket,a,s.type,s.client,i,e,s.firstTicket,s.pend,void 0,s.num,t),t=null}onEditHead(t){}},d3t=new Uint8Array(8);function b1(){crypto.getRandomValues(d3t);let t="";for(let e=0;e<d3t.length;e++)t+=d3t[e].toString(16).padStart(2,"0");return t}function oC(t,e,i,o,r,n,a){let s={docType:t,client:e,uuid:i};return(o||o===0)&&(s.updateTime=o),(r||s.updateTime||s.updateTime===0)&&(s.version=r||String(o)),n&&(s.user=n),`${JSON.stringify({type:"DOCHEAD",ticket:a})}||${JSON.stringify(s)}`}function Wc(t,e,i,o,r,n,a,s){let l={type:t,ticket:e,id:i};return n!==void 0&&(l.firstTicket=n),a!==void 0&&(l.pend=a),s!==void 0&&(l.num=s),r&&(l.client=r),`${JSON.stringify(l)}||${o}`}var mRe=class extends x1i{constructor(t){super(),this.unique=b1(),this.maxTicket=0,this.isPendChange=!0,this.isLocalChange=!0,this.cbArr=[],this.tempLocalIds={},this.docMaxTicket={},this.client=t||b1()}onLine(t,e,i,o,r,n,a,s,l,c,d){this.remoteChange(e,r,a,t,i,o,n,void 0,s,l,c,void 0,void 0,d)}getUnique(){return this.unique}setUnique(t){this.unique=t}setDocMaxTicket(t,e,i){i||(!this.docMaxTicket[t]||this.docMaxTicket[t]<e)&&(this.docMaxTicket[t]=e)}getDocMaxTicket(t){var e;return(e=this.docMaxTicket[t])!=null?e:0}onDocHead(t,e){}onEnd(){}setIsPendChange(t){this.isPendChange=t}getIsPendChange(){return this.isPendChange}getMaxTicket(){return this.maxTicket}setMaxTicket(t,e){t&&(e||this.maxTicket<t)&&(this.maxTicket=t)}setIsLocalChange(t){this.isLocalChange=t}getIsLocalChange(){return this.isLocalChange}revoke(t,e,i,o,r,n,a,s,l,c,d){var u;if(!((u=this.tempLocalIds[t])!=null&&u[e]))return d?d(e,r,i,a,`${o}-1`,t,n,void 0,void 0,!0,c):this.cbArr.forEach(p=>p(t,e,i,a,`${o}-1`,r,void 0,n,void 0,void 0,void 0,c)),!0}getRandomUuid(){return b1()}getClient(){return this.client}onChange(t){this.cbArr.push(t)}localChange(t,e,i,o,r,n){let a=this.maxTicket+1;return this.tempLocalIds[t]||(this.tempLocalIds[t]={}),this.tempLocalIds[t][e]=[this.getClient(),a],this.remoteChange(a,this.client,t,e,i,o,r,!0,void 0,!0,void 0,this.unique,void 0,n),a}remoteChange(t,e,i,o,r,n,a,s,l,c,d,u,p,m){var h;this.setMaxTicket(t);let f=u===this.unique,g=s||f,b=(!g||g&&this.isLocalChange)&&(!p||p&&this.isPendChange),y=(h=this.tempLocalIds[i])==null?void 0:h[o];!s&&f?y?(b=!1,y[0]===e&&y[1]===t&&delete this.tempLocalIds[i][o]):b=!0:!s&&y&&(y[1]>t||y[1]===t&&y[0]>e?b=!1:delete this.tempLocalIds[i][o]),this.setDocMaxTicket(i,t,c),b&&this.cbArr.forEach(w=>w(i,o,r,n,e,t,l,c,void 0,p,u,m))}},our=class{constructor(t){this.item=t,this.parent=null,this.left=null,this.right=null,this.height=1}getParent(){return this.parent}getLeft(){return this.left}getRight(){return this.right}getHeight(){return this.height}setLeft(t){if(this.left!==null)throw new Error("insert exists left is not permitted");if(t!==null){if(t.parent!==null)throw new Error("insert left with node has parent is not permitted");this.left=t,t.parent=this,this.updateHeight()}}setRight(t){if(this.right!==null)throw new Error("insert exists right is not permitted");if(t!==null){if(t.parent!==null)throw new Error("insert right with node has parent is not permitted");this.right=t,t.parent=this,this.updateHeight()}}removeLeft(){if(this.left===null)return null;{let t=this.left;return t.parent=null,this.left=null,this.updateHeight(),t}}removeRight(){if(this.right===null)return null;{let t=this.right;return t.parent=null,this.right=null,this.updateHeight(),t}}rotateRight(t){let e=this.removeLeft();if(this.setLeft(e.removeRight()),this.parent){let i=this.parent;i.getLeft()===this?(i.removeLeft(),i.setLeft(e)):(i.removeRight(),i.setRight(e)),e.setRight(this)}else e.setRight(this),t(e)}rotateLeft(t){let e=this.removeRight();if(this.setRight(e.removeLeft()),this.parent){let i=this.parent;i.getLeft()===this?(i.removeLeft(),i.setLeft(e)):(i.removeRight(),i.setRight(e)),e.setLeft(this)}else e.setLeft(this),t(e)}updateHeight(){var t,e;let i=this;for(;i!==null;)i.height=Math.max(((t=i.left)==null?void 0:t.height)||0,((e=i.right)==null?void 0:e.height)||0)+1,i=i.parent}},rur=class{constructor(t){this.comparator=t,this.root=null,this.minNode=null,this.maxNode=null,this.size=0}balance(t){var e,i;let o=((e=t.getLeft())==null?void 0:e.getHeight())||0,r=((i=t.getRight())==null?void 0:i.getHeight())||0,n=t.getParent();o>r?o-r>1?(t.rotateRight(a=>this.root=a),this.verify()):n!==null?n.getRight()===t&&(t.rotateRight(a=>this.root=a),this.verify()):(t.rotateRight(a=>this.root=a),this.verify()):r>o&&(r-o>1?(t.rotateLeft(a=>this.root=a),this.verify()):n!==null?n.getLeft()===t&&(t.rotateLeft(a=>this.root=a),this.verify()):(t.rotateLeft(a=>this.root=a),this.verify())),n&&this.balance(n)}forwardTraverse(t){let e=new Array(10),i=this.minNode;for(;i;)switch(e.pop()||2){case 1:i.getLeft()!==null?(e.push(2),e.push(1),i=i.getLeft()):e.push(2);break;case 2:if(!t(i.item))return;i.getRight()!==null?(e.push(3),e.push(1),i=i.getRight()):e.push(3);break;case 3:i=i.getParent();break;default:throw new Error("invalid status")}}backwardTraverse(t){let e=new Array(10),i=this.maxNode;for(;i;)switch(e.pop()||2){case 1:i.getRight()!==null?(e.push(2),e.push(1),i=i.getRight()):e.push(2);break;case 2:if(!t(i.item))return;i.getLeft()!==null?(e.push(3),e.push(1),i=i.getLeft()):e.push(3);break;case 3:i=i.getParent();break;default:throw new Error("invalid status")}}display(t=this.root,e=new Array,i=0){let o="| ".repeat(i);return e.push(o+`\u25CF(${t.item})
`),t.getLeft()?this.display(t.getLeft(),e,i+1):e.push(o+`| \u2609
`),t.getRight()?this.display(t.getRight(),e,i+1):e.push(o+`| \u2609
`),e}getHeight(){var t;return((t=this.root)==null?void 0:t.getHeight())||0}getSize(){return this.size}updateMinMax(t){this.minNode?this.comparator(t.item,this.minNode.item)<0&&(this.minNode=t):this.minNode=t,this.maxNode?this.comparator(t.item,this.maxNode.item)>0&&(this.maxNode=t):this.maxNode=t}insert(t){let e=new our(t);if(this.root===null)return this.root=e,this.size++,this.updateMinMax(e),!0;{let i=this.root;for(;;){let o=this.comparator(t,i.item);if(o<0){if(i.getLeft()===null)return i.setLeft(e),this.size++,this.updateMinMax(e),this.verify(),this.balance(i),!0;i=i.getLeft()}else if(o>0){if(i.getRight()===null)return i.setRight(e),this.size++,this.updateMinMax(e),this.verify(),this.balance(i),!0;i=i.getRight()}else return!1}}}verify(){}remove(t){let e=this.root;for(this.verify();;){if(e===null)return!1;let i=this.comparator(t,e.item);if(i<0)e=e.getLeft();else if(i>0)e=e.getRight();else return this.minNode===e&&(e.getRight()?this.minNode=this.findMinChild(e.getRight()):this.minNode=e.getParent()),this.maxNode===e&&(e.getLeft()?this.maxNode=this.findMaxChild(e.getLeft()):this.maxNode=e.getParent()),this.removeNode(e),this.size--,this.verify(),!0}}removeNode(t){var e,i;let o=t.getParent();if(o===null)t.getLeft()===null&&t.getRight()===null?(this.root=null,this.minNode=null,this.maxNode=null):((((e=t.getLeft())==null?void 0:e.getHeight())||0)>(((i=t.getRight())==null?void 0:i.getHeight())||0)?(t.rotateRight(r=>this.root=r),this.verify()):(t.rotateLeft(r=>this.root=r),this.verify()),this.removeNode(t));else if(o.getLeft()===t){o.removeLeft();let r=this.combineNodes(t.removeLeft(),t.removeRight());o.setLeft(r),this.verify(),this.balance(o)}else{o.removeRight();let r=this.combineNodes(t.removeLeft(),t.removeRight());o.setRight(r),this.verify(),this.balance(o)}}combineNodes(t,e){if(t&&e)if(t.getHeight()>e.getHeight()){let i=this.findMaxChild(t);if(i){let o=i.getParent();return o.removeRight(),o.setRight(i.removeLeft()),i.setLeft(t),i.setRight(e),i}else return t.setRight(e),t}else{let i=this.findMinChild(e);if(i){let o=i.getParent();return o.removeLeft(),o.setLeft(i.removeRight()),i.setLeft(t),i.setRight(e),i}else return e.setLeft(t),e}else return t||e||null}findMinChild(t){let e=t;for(;;){if(e.getLeft()===null)return e!==t?e:null;e=e.getLeft()}}findMaxChild(t){let e=t;for(;;){if(e.getRight()===null)return e!==t?e:null;e=e.getRight()}}};function*nur(t){for(let e=0;e<t.length;e++)yield t[e],t[e]=null}function Eoe(t,e){let i="";for(let o of nur(t))i?i=i+e+o:i=o;return i}var hRe=/^[a-zA-Z]+(\d+)$/;function Rxe(t){let e=t.match(hRe);return e?Number(e[1]):null}function Wo(t){if(!t||typeof t!="string")return t;let e=t.match(/[a-zA-Z]+\d+/g);return e&&e.length===2&&e.join("")===t?e.join("-"):t}function Nu(t){return t&&typeof t=="number"&&!isNaN(t)?-t:t}function Ami(t,e,i){let o=[];for(let r of t)for(let n=0;n<r.length&&!(n+3>r.length);n+=2){let a={lineGroup:i,startX:r[n],startY:Nu(r[n+1]),endX:r[n+2],endY:Nu(r[n+3]),...e};o.push(a)}return o}function T1i(t,e){let i=[];for(let o=0;o<t.length;o+=2){let r={x:t[o],y:e?Nu(t[o+1]):t[o+1]};i.push(r)}return i}function _2(t,e){return JSON.stringify([e,t])}function sZ(t){try{let e=JSON.parse(t);return typeof e=="string"?t:e[1]}catch{return t}}function aur(t){let e=["00000000","77073096","EE0E612C","990951BA","076DC419","706AF48F","E963A535","9E6495A3","0EDB8832","79DCB8A4","E0D5E91E","97D2D988","09B64C2B","7EB17CBD","E7B82D07","90BF1D91","1DB71064","6AB020F2","F3B97148","84BE41DE","1ADAD47D","6DDDE4EB","F4D4B551","83D385C7","136C9856","646BA8C0","FD62F97A","8A65C9EC","14015C4F","63066CD9","FA0F3D63","8D080DF5","3B6E20C8","4C69105E","D56041E4","A2677172","3C03E4D1","4B04D447","D20D85FD","A50AB56B","35B5A8FA","42B2986C","DBBBC9D6","ACBCF940","32D86CE3","45DF5C75","DCD60DCF","ABD13D59","26D930AC","51DE003A","C8D75180","BFD06116","21B4F4B5","56B3C423","CFBA9599","B8BDA50F","2802B89E","5F058808","C60CD9B2","B10BE924","2F6F7C87","58684C11","C1611DAB","B6662D3D","76DC4190","01DB7106","98D220BC","EFD5102A","71B18589","06B6B51F","9FBFE4A5","E8B8D433","7807C9A2","0F00F934","9609A88E","E10E9818","7F6A0DBB","086D3D2D","91646C97","E6635C01","6B6B51F4","1C6C6162","856530D8","F262004E","6C0695ED","1B01A57B","8208F4C1","F50FC457","65B0D9C6","12B7E950","8BBEB8EA","FCB9887C","62DD1DDF","15DA2D49","8CD37CF3","FBD44C65","4DB26158","3AB551CE","A3BC0074","D4BB30E2","4ADFA541","3DD895D7","A4D1C46D","D3D6F4FB","4369E96A","346ED9FC","AD678846","DA60B8D0","44042D73","33031DE5","AA0A4C5F","DD0D7CC9","5005713C","270241AA","BE0B1010","C90C2086","5768B525","206F85B3","B966D409","CE61E49F","5EDEF90E","29D9C998","B0D09822","C7D7A8B4","59B33D17","2EB40D81","B7BD5C3B","C0BA6CAD","EDB88320","9ABFB3B6","03B6E20C","74B1D29A","EAD54739","9DD277AF","04DB2615","73DC1683","E3630B12","94643B84","0D6D6A3E","7A6A5AA8","E40ECF0B","9309FF9D","0A00AE27","7D079EB1","F00F9344","8708A3D2","1E01F268","6906C2FE","F762575D","806567CB","196C3671","6E6B06E7","FED41B76","89D32BE0","10DA7A5A","67DD4ACC","F9B9DF6F","8EBEEFF9","17B7BE43","60B08ED5","D6D6A3E8","A1D1937E","38D8C2C4","4FDFF252","D1BB67F1","A6BC5767","3FB506DD","48B2364B","D80D2BDA","AF0A1B4C","36034AF6","41047A60","DF60EFC3","A867DF55","316E8EEF","4669BE79","CB61B38C","BC66831A","256FD2A0","5268E236","CC0C7795","BB0B4703","220216B9","5505262F","C5BA3BBE","B2BD0B28","2BB45A92","5CB36A04","C2D7FFA7","B5D0CF31","2CD99E8B","5BDEAE1D","9B64C2B0","EC63F226","756AA39C","026D930A","9C0906A9","EB0E363F","72076785","05005713","95BF4A82","E2B87A14","7BB12BAE","0CB61B38","92D28E9B","E5D5BE0D","7CDCEFB7","0BDBDF21","86D3D2D4","F1D4E242","68DDB3F8","1FDA836E","81BE16CD","F6B9265B","6FB077E1","18B74777","88085AE6","FF0F6A70","66063BCA","11010B5C","8F659EFF","F862AE69","616BFFD3","166CCF45","A00AE278","D70DD2EE","4E048354","3903B3C2","A7672661","D06016F7","4969474D","3E6E77DB","AED16A4A","D9D65ADC","40DF0B66","37D83BF0","A9BCAE53","DEBB9EC5","47B2CF7F","30B5FFE9","BDBDF21C","CABAC28A","53B39330","24B4A3A6","BAD03605","CDD70693","54DE5729","23D967BF","B3667A2E","C4614AB8","5D681B02","2A6F2B94","B40BBE37","C30C8EA1","5A05DF1B","2D02EF8D"].join(" "),i=0,o=0,r=0;i=i^-1;for(let n=0,a=t.length;n<a;n++)r=(i^t.charCodeAt(n))&255,o="0x"+e.substr(r*9,8),i=i>>>8^o;return i^-1}function sur(t){return Math.abs(aur(t)%30)}function u3t(t,e,i){let o=t[e];return o!==void 0||(o=i(e),t[e]=o),o}var lur=(t=>(t.META="META",t.CANVAS="CANVAS",t.GROUP="GROUP",t.POLY="POLY",t.STRING="STRING",t.AUX_LINE="AUXLINE",t.DIMENSION="DIMENSION",t.ELE_PLACEHOLDER="ELE_PLACEHOLDER",t))(lur||{}),cur=(t=>(t.META="META",t.CANVAS="CANVAS",t.LAYER="LAYER",t.LAYER_PHYS="LAYER_PHYS",t.ACTIVE_LAYER="ACTIVE_LAYER",t.PARTITION="PARTITION",t.NET="NET",t.PRIMITIVE="PRIMITIVE",t.GROUP="GROUP",t.SILK_OPTS="SILK_OPTS",t.PREFERENCE="PREFERENCE",t.VIA="VIA",t.PAD="PAD",t.LINE="LINE",t.ARC="ARC",t.OBJ="OBJ",t.EQLEN_GRP="EQLEN_GRP",t.POLY="POLY",t.FILL="FILL",t.LAYER_FILL="LAYER_FILL",t.REGION="REGION",t.POUR="POUR",t.POURED="POURED",t.IMAGE="IMAGE",t.TEARDROP="TEARDROP",t.FPC_FILL="FPC_FILL",t.SHELL="SHELL",t.CREASE="CREASE",t.SHELLCUT="SHELLCUT",t.SHELL_ENTITY="SHELL_ENTITY",t.BOSS="BOSS",t.STRING="STRING",t.ATTR="ATTR",t.DIMENSION="DIMENSION",t.COMPONENT="COMPONENT",t.PAD_NET="PAD_NET",t.RULE_TEMPLATE="RULE_TEMPLATE",t.RULE="RULE",t.RULE_SELECTOR="RULE_SELECTOR",t.PANELIZE="PANELIZE",t.BOARD="BOARD",t.X_SIGNALS_GROUP="X_SIGNAL_GROUP",t.X_SIGNALS="X_SIGNALS",t.ELE_PLACEHOLDER="ELE_PLACEHOLDER",t))(cur||{}),dur=(t=>(t.META="META",t.CANVAS="CANVAS",t.GROUP="GROUP",t.ATTR="ATTR",t.LINE="LINE",t.WIRE="WIRE",t.BUS="BUS",t.TEXT="TEXT",t.POLY="POLY",t.CIRCLE="CIRCLE",t.ARC="ARC",t.BUSENTRY="BUSENTRY",t.RECT="RECT",t.MASK_REGION="MASK_REGION",t.PIN="PIN",t.OBJ="OBJ",t.COMPONENT="COMPONENT",t.PART="PART",t.ELLIPSE="ELLIPSE",t.BEZIER="BEZIER",t.TABLE="TABLE",t.ELE_PLACEHOLDER="ELE_PLACEHOLDER",t.NG_SETTING="NG_SETTING",t))(dur||{});var uur=["PARTITION","VIA","PAD","LINE","ARC","OBJ","POLY","FILL","REGION","POUR","POURED","IMAGE","TEARDROP","FPC_FILL","SHELL","CREASE","SHELLCUT","SHELL_ENTITY","BOSS","STRING","ATTR","DIMENSION","COMPONENT"];var nPn=X0e(zxe()),pur=(t=>(t.SOLID="SOLID",t.SHORT_DASH="SHORT_DASH",t.DOT="DOT",t.DOT_DASH="DOT_DASH",t))(pur||{}),mur=(t=>(t.PRINT="PRINT",t.COVER="COVER",t.PRINT_AND_COVER="PRINT&COVER",t))(mur||{}),hur=(t=>(t.LEFT="LEFT",t.CENTER="CENTER",t.RIGHT="RIGHT",t))(hur||{}),fur=(t=>(t.TOP="TOP",t.MIDDLE="MIDDLE",t.BOTTOM="BOTTOM",t))(fur||{}),gur=(t=>(t.LEFT_BOTTOM="LEFT_BOTTOM",t.CENTER_BOTTOM="CENTER_BOTTOM",t.RIGHT_BOTTOM="RIGHT_BOTTOM",t.LEFT_MIDDLE="LEFT_MIDDLE",t.CENTER_MIDDLE="CENTER_MIDDLE",t.RIGHT_MIDDLE="RIGHT_MIDDLE",t.LEFT_TOP="LEFT_TOP",t.CENTER_TOP="CENTER_TOP",t.RIGHT_TOP="RIGHT_TOP",t))(gur||{}),bur=(t=>(t.NONE="NONE",t.SOLID="SOLID",t.GRID="GRID",t.HORIZONTAL_LINE="HORIZONTAL_LINE",t.VERTICAL_LINE="VERTICAL_LINE",t.RHOMBIC="RHOMBIC",t.LEFT_SLASH_LINE="LEFT_SLASH_LINE",t.RIGHT_SLASH_LINE="RIGHT_SLASH_LINE",t))(bur||{}),yur=(t=>(t.NONE="NONE",t.CLOCK="CLOCK",t.INVERTED="INVERTED",t.INVERTED_CLOCK="INVERTED_CLOCK",t))(yur||{}),wur=(t=>(t.NONE="NONE",t.GRID="GRID",t.OUTLETS="OUTLETS",t))(wur||{}),Cur=(t=>(t.NONE="NONE",t.PUSH="PUSH",t.SURROUND="SURROUND",t.OBSTRUCT="OBSTRUCT",t.SURROUND_AND_PUSH="SURROUND&PUSH",t))(Cur||{}),xur=(t=>(t.ELLIPSE="ELLIPSE",t.RECT="RECT",t.OVAL="OVAL",t.POLYGON="POLYGON",t))(xur||{}),Tur=(t=>(t.ROUND="ROUND",t.RECT="RECT",t.SLOT="SLOT",t))(Tur||{}),Sur=(t=>(t.SOLID="SOLID",t.GRID_LINE="GRID_LINE",t.HORIZONTAL_LINE="HORIZONTAL_LINE",t.VERTICAL_LINE="VERTICAL_LINE",t))(Sur||{}),Mur=(t=>(t.ALL="ALL",t.PAD="PAD",t.VIA="VIA",t))(Mur||{}),Iur=(t=>(t.NONE="NONE",t.SINGLE="SINGLE",t.ALL="ALL",t))(Iur||{}),Lur=(t=>(t.OPTIMIZA_OPEN="OPTIMIZA_OPEN",t.OPTIMIZA_NONE="OPTIMIZA_NONE",t))(Lur||{}),vur=(t=>(t.OPTIMIZA_STRONG="OPTIMIZA_STRONG",t.OPTIMIZA_WEAK="OPTIMIZA_WEAK",t.OPTIMIZA_NONE="OPTIMIZA_NONE",t))(vur||{}),Dur=(t=>(t.L45="L45",t.L90="L90",t.L="L",t.R45="R45",t.R90="R90",t.R="R",t))(Dur||{}),Eur=(t=>(t.NORMAL="NORMAL",t.BLIND="BLIND",t.SUTURE="SUTURE",t))(Eur||{}),Aur=(t=>(t.NORMAL="NORMAL",t.TEST="TEST",t.MARKER="MARKER",t))(Aur||{}),Nur=(t=>(t.DIVERGENCE="DIVERGENCE",t.DIRECT="DIRECT",t.NON_CONNECT="NON_CONNECT",t))(Nur||{}),kur=(t=>(t.DOT="DOT",t.CENTER="CENT",t))(kur||{}),Pur=(t=>(t.NORMAL="NORMAL",t.BOARD_OUTLINE="BOARD_OUTLINE",t))(Pur||{}),Our=(t=>(t.SOLID="SOLID",t.GRID="GRID",t.PLANE="PLANE",t))(Our||{}),Rur=(t=>(t.PROHIBIT="PROHIBIT",t.CONSTRAINT="CONSTRAINT",t))(Rur||{}),_ur=(t=>(t.COMPONENT="COMPONENT",t.VIA="VIA",t.TRACK="TRACK",t.FILL="FILL",t.COPPER="COPPER",t.PLANE="PLANE",t))(_ur||{}),jur=(t=>(t.PI="Polyimide",t.FR4="FR4",t.STEEL_SHEET="Stainless Steel",t.M3_DOUBLE_SIDED_TAPE="3M Tape",t.EMI_SHIELDING_FILM="EMI Shielding Film",t))(jur||{}),Bur=(t=>(t.PUSH_COVER="DRAWER",t.UPPER_LOWER_SHELLS="T&B",t))(Bur||{}),zur=(t=>(t.X_AXIS_POSITIVE="X_AXIS_POSITIVE",t.X_AXIS_NEGATIVE="X_AXIS_NEGATIVE",t.Y_AXIS_POSITIVE="Y_AXIS_POSITIVE",t.Y_AXIS_NEGATIVE="Y_AXIS_NEGATIVE",t))(zur||{}),Fur=(t=>(t.SLOT="SLOT",t.ENTITY="ENTITY",t))(Fur||{}),Uur=(t=>(t.AUTO="AUTO",t.UPPER_SHELLS="UPPER_SHELLS",t.LOWER_SHELLS="LOWER_SHELLS",t))(Uur||{}),Vur=(t=>(t.OUTLINE="OUTLINE",t.SCREW_PILLAR="SCREW_PILLAR",t.ENTITY="ENTITY",t))(Vur||{}),Hur=(t=>(t.M2="M2",t.M3="M3",t.M4="M4",t.M5="M5",t.M6="M6",t))(Hur||{}),Gur=(t=>(t.LENGTH="LENGTH",t.RADIUS="RADIUS",t.ANGLE="ANGLE",t))(Gur||{}),Yur=(t=>(t.MIL="mil",t.INCH="inch",t.CM="cm",t.MM="mm",t))(Yur||{}),Wur=(t=>(t.SAFE="SAFE",t.OTHER="OTHER",t.TRACK="TRACK",t.BLIND="BLIND",t.RADIUS="RADIUS",t.PLANE="PLANE",t.COPPER="COPPER",t.PASTE="PASTE",t.SOLDER="SOLDER",t.DIFFER_ENTAIL="DIFFER_ENTAIL",t.NET_LENGTH="NET_LENGTH",t.AUTO_ROUTER="AUTO_ROUTER",t.NET_LENGTH_TOLERANCE="NET_LENGTH_TOLERANCE",t))(Wur||{}),Qur=(t=>(t.NORMAL="NORMAL",t.DEFAULT="DEFAULT",t))(Qur||{}),Kur=(t=>(t.ALL="ALL",t.LAYERED="LAYERED",t))(Kur||{}),Zur=(t=>(t.DIRECT="DIRECT",t.NON_CONNECT="NON_CONNECT",t))(Zur||{}),Jur=(t=>(t.FORTY_FIVE="L45",t.NINETY="L90",t.NINETY_ARC="A90",t))(Jur||{}),qur=(t=>(t.LESS="LESS",t.MID="MID",t.MORE="MORE",t))(qur||{}),Xur=(t=>(t.SPEED_FIRST="SPEED_FIRST",t.COMPLETION_FIRST="COMPLETION_FIRST",t))(Xur||{}),$ur=(t=>(t.DesignRule="DesignRule",t.Board="Board",t.SlotRegion="SlotRegion",t.ProhibitedRegion="ProhibitedRegion",t.ConstraintRegion="ConstraintRegion",t.Component="Component",t.Track="Track",t.TestPoint="TestPoint",t.Pad="Pad",t.Via="Via",t.SutureHole="SutureHole",t.Text="Text",t.ColorfulImage="ColorfulImage",t.Image="Image",t.FPCStiffener="FPCStiffener",t.Dimension="Dimension",t.CopperRegion="CopperRegion",t.FillRegion="Fill Region",t.Line="Line",t.Teardrop="Teardrop",t.D3Shell="D3Shell",t))($ur||{}),e0r=X0e(Xdr());function Z0e(t,e,i,o,r,n,a,s){return JSON.stringify([t||"",e||"",i,o,r?1:0,n?1:0,a?1:0,s])}function S1i(t){let e=JSON.parse(t);return{text:e[0],fontFamily:e[1],fontSize:e[2],thickness:e[3],bold:!!e[4],italic:!!e[5],reverse:!!e[6],expansion:e[7]}}function $0e(t){return e0r.default.SHA256(t).toString()}function t0r(t,e){return t.ticket===e.ticket?t.client===e.client?t.id===e.id?0:t.id<e.id?-1:1:t.client<e.client?-1:1:t.ticket<e.ticket?-1:1}var M1i=class{constructor(t=1){this.startNum=t,this.orderLists={},this.idOrderLists={},this.cbArr=new Array,this.maxNum={}}orderChange(t){this.cbArr.push(t)}setOrderNum(t,e,i,o,r=1){if(r<1)throw new Error("step must be greater than 0");let n=u3t(this.orderLists,e,()=>new rur(t0r)),a=u3t(this.maxNum,e,()=>this.startNum-1),s=u3t(this.idOrderLists,e,()=>new Map),l=s.get(t);if(l){if(l.ticket<=i)return;n.remove(l),a-=l.step}let c={id:t,ticket:i,num:0,client:o,step:r};s.set(t,c),n.insert(c),a+=r;let d=a,u=0;n.backwardTraverse(p=>(u++,p.num=d,this.cbArr.forEach(m=>m(p.id,e,p.num)),d-=p.step,p!==c)),this.maxNum[e]=a,u>1e4&&(console.log("------------------ notify --------",c,"height: ",n.getHeight(),"total: ",n.getSize(),"notifies: ",u),console.log("------------------ all --------"))}getOrderNum(t,e){var i,o,r,n;return(n=(r=(o=(i=this.idOrderLists)==null?void 0:i[e])==null?void 0:o.get)==null?void 0:r.call(o,t))==null?void 0:n.num}getMaxNum(t){var e;return((e=this.orderLists[t])==null?void 0:e.getSize())||0}clearNum(){for(let t in this.idOrderLists)this.idOrderLists[t].clear(),delete this.idOrderLists[t];for(let t in this.orderLists)delete this.orderLists[t]}},I1i=class{constructor(t,e=1,i=[]){this.consistencyManager=t,this.startNum=e,this.needOrderType=i,this.initIng=!1,this.allOrderNum={},this.maxNum={},this.consistencyManager.onChange((o,r,n,a,s,l,c,d,u,p,m,h)=>{try{if(this.calculation)if(a==="ELE_PLACEHOLDER"){let f=n?JSON.parse(n):null;f&&this.calculation.setOrderNum(r,f.dataType,c!=null?c:l,s,f.max)}else this.calculation.setOrderNum(r,a,c!=null?c:l,s);this.onParseLine(r,a,n?JSON.parse(n):null,s,l,d,h)}catch(f){console.error(f)}})}initCalculation(){this.calculation=new M1i(this.startNum)}setIsInit(t){this.initIng=t}setNeedNum(t){this.needNum=t}setOrderNum(t,e,i){this.needNum&&this.needOrderType&&this.needOrderType.includes(i)&&e!==void 0&&(this.allOrderNum[t]=e,this.setMaxNum(i,e))}deleteOrderNum(t){delete this.allOrderNum[t]}getOrderNum(t){return this.allOrderNum[t]}setMaxNum(t,e,i){(i||this.maxNum[t]===void 0||this.maxNum[t]<e)&&(this.maxNum[t]=e)}getMaxNum(t){return this.maxNum[t]===void 0&&(this.maxNum[t]=this.startNum-1),++this.maxNum[t]}};function L1i(t){switch(t=String(t),t){case"1":return"SAFE";case"2":return"OTHER";case"3":return"TRACK";case"4":return"BLIND";case"5":return"RADIUS";case"6":return"PLANE";case"7":return"COPPER";case"8":return"PASTE";case"9":return"SOLDER";case"10":return"DIFFER_ENTAIL";case"11":return"NET_LENGTH";case"12":return"AUTO_ROUTER";case"13":return"NET_LENGTH_TOLERANCE"}return t}function z0e(t){if(!t)return{};let e=["1","2","3","4","5","6","7","8","9","10","11","12","13"];for(let i of e)if(t.hasOwnProperty(i)){let o=t[i];delete t[i],t[L1i(i)]=o}return t}var Nmi=class{constructor(){this.init=!1,this.defaultSafeData=null,this.defaultCopperSpace=null,this.defaultInnerSpace=null,this.copperChangeMap=new Map,this.innerChangeMap=new Map}addDefaultSafeSpaceData(t){this.init=!0,this.defaultSafeData=t}addDefaultCopperSpace(t,e){this.defaultCopperSpace={netClearance:t,boardClearance:e}}addDefaultInnerSpace(t,e){this.defaultInnerSpace={netClearance:t,boardClearance:e}}getNewDefaultData(t,e){if(t&&this.defaultSafeData==null||!t&&this.defaultInnerSpace==null)return null;let i=t?this.copperChangeMap.get(e):this.innerChangeMap.get(e);if(i==null)return null;let{netClearance:o,boardClearance:r}=i,n=this.defaultSafeData.safeSpacing[0].content,a=new Array(n.length);for(let s=0;s<n.length;s++)a[s]=Array.from(n[s]);return this.updateSafeData(a,o,r),a}fixSafeData(t){if(this.defaultCopperSpace!=null)for(let e of t.safeSpacing)this.updateSafeData(e.content,this.defaultCopperSpace.netClearance,this.defaultCopperSpace.netClearance)}updateSafeData(t,e,i){for(let o=0;o<t.length;o++){let r=t[o];for(let n=0;n<r.length;n++)o==7?n==11||n==8?r[n]=i:r[n]=e:n==7&&(o==11||o==8?r[n]=i:r[n]=e)}}addCopper2SafeChangeMap(t,e,i,o,r){this.copperChangeMap.set(t,{name:e,isDefault:i,netClearance:o,boardClearance:r})}addInner2SafeChangeMap(t,e,i,o,r){this.innerChangeMap.set(t,{name:e,isDefault:i,netClearance:o,boardClearance:r})}getSafeName4Copper(t){var e;return(e=this.copperChangeMap.get(t))==null?void 0:e.name}getSafeName4Plane(t){var e;return(e=this.innerChangeMap.get(t))==null?void 0:e.name}getDefaultCopper(){for(let[,t]of this.copperChangeMap)if(t.isDefault)return t.name;return null}getDefaultPlane(){for(let[,t]of this.innerChangeMap)if(t.isDefault)return t.name;return null}};function kmi(t,e){let i=t,o={TWO_LAYERS_BOARD:"JLCPCB Capability(Two Layers Board)",SINGLE_LAYER_BOARD:"JLCPCB Capability(Single Layer Board)",MULTIPLE_LAYERS_BOARD:"JLCPCB Capability(Multiple Layers Board)",HIGH_FREQUENCY_BOARD:"JLCPCB Capability(High Frequency Board)",ALUMINUM_SUBSTRATE_BOARD:"JLCPCB Capability(Aluminum Substrate Board)",COPPER_SUBSTRATE_BOARD:"JLCPCB Capability(Copper Substrate Board)"};if(i.length==8){Object.values(o).includes(e)&&(i[4][0]=11.811,i[5][4]=11.811),i.splice(1,0,i[1].slice(0));for(let n=2;n<i.length;n++)i[n].splice(1,0,i[n][1]);i.push([].concat(i[1][0],i.slice(1).map(n=>n[1])))}i[1].push(i[1][i[1].length-1]),i.splice(3,0,[...i[1]]),i.splice(4,0,[...i[2]]),i[1].pop();for(let n=5;n<i.length;n++)i[n].splice(3,0,i[n][1]),i[n].splice(4,0,i[n][2]);i[3][3]=i[1][1],i[4][3]=i[2][1],i[4][4]=i[2][2];let r=6;i.splice(7,0,new Array(7).fill(r));for(let n=7;n<i.length;n++)i[n].splice(7,0,r);return i}function i0r(t,e){let i=t[0],o=t[1],r=[],n="ALL";if(o instanceof Array){let a=kmi(o,e);r.push({layerId:1,isOpen:!0,content:a})}else{for(let a in o){let s=o[a],l=kmi(s,e);r.push({layerId:+a,isOpen:!0,content:l})}Object.keys(o).length>1&&(n="LAYERED")}return{unit:i,isForAll:n,safeSpacing:r}}function o0r(t){let e=t[0],i=t[1],o=t[2];isNaN(o)&&(o=0);let r=t[3];return isNaN(r)&&(r=11.8),{unit:e,deviceClearance:i,thru2SmdClearance:o,holeClearance:r}}function r0r(t){let e=t[0],i=t[1],o=!0,r=[];if(i instanceof Object)for(let n in i){let a=i[n];r.push({layerId:+n,stroMin:a[0],stroDef:a[1],stroMax:a[2]})}else r.push({layerId:1,stroMin:t[1],stroDef:t[2],stroMax:t[3]});return{unit:e,track:{isOpen:o,content:r}}}function n0r(t){return{unit:t[0],netLenMin:t[1],netLenMax:t[2]}}function a0r(t){return{unit:t[0],netLengthTolerance:t[1]}}function s0r(t){let e=t[0],i=t[1],o=!0,r=[],n=[],a=0;if(i instanceof Object)for(let s in i){let l=i[s],{stroke:c,spacing:d,lenTolerMax:u}=l;r.push({layerId:+s,stroMin:c[0],stroDef:c[1],stroMax:c[2]}),n.push({layerId:+s,spacMin:d[0],spacDef:d[1]}),a=u}else r.push({layerId:1,stroMin:t[1],stroDef:t[2],stroMax:t[3]}),n.push({layerId:1,spacMin:t[4],spacDef:t[5]}),a=t[7];return{unit:e,stroWidth:{isOpen:o,content:r},spacing:{isOpen:o,content:n},differPairLenTolerMax:a}}function l0r(t){let e=new Array;for(let i of t){let o=+i[1],r=+i[2];isNaN(o)||o<=0||isNaN(r)||r<=0||o===r||o===1&&r===2||o===2&&r===1||e.push({name:i[0],staLayerId:o,endLayerId:r,viaSizeRule:i[3]})}return{blinds:{content:e}}}function c0r(t){return{unit:t[0],minRadius:t[1],defRadius:t[2],maxRadius:t[3],minInner:t[4],defInner:t[5],maxInner:t[6]}}function d0r(t){let e=[{layerId:1,connType:W0e(t[7]!==void 0?t[7]:t[3]),spoWidth:t[8]!==void 0?t[8]:t[4],spoSpac:t[9]!==void 0?t[9]:t[5],spoAng:t[10]?t[10]:t[6]}];return{unit:t[0],mulPad:{isOpen:!0,content:e}}}function u0r(t){let e=[{layerId:1,connType:W0e(t[3]),spoWidth:t[4],spoSpac:t[5],spoAng:t[6]}],i=[{layerId:1,connType:Number(t[7])?"NON_CONNECT":"DIRECT"}],o=[{layerId:1,connType:W0e(t[8]!==void 0?t[8]:t[3]),spoWidth:t[9]!==void 0?t[9]:t[4],spoSpac:t[10]!==void 0?t[10]:t[5],spoAng:t[11]?t[11]:t[6]}];return{unit:t[0],sglPad:{isOpen:!0,content:e},mulPad:{isOpen:!0,content:o},track:{isOpen:!0,content:i}}}function p0r(t){return{unit:t[0],padTopExpan:t[1],padBotExpan:t[2],testPointTopExpan:t[3]?t[3]:-1e3,testPointBotExpan:t[4]?t[4]:-1e3}}function m0r(t){return{unit:t[0],padTopExpan:t[1],padBotExpan:t[2],viaTopExpan:t[3],viaBotExpan:t[4],testPointTopExpan:t[5]?t[5]:2,testPointBotExpan:t[6]?t[6]:2}}function h0r(t){function e(r){switch(r=r&&Number(r),r){case 0:return"L45";case 1:return"L90";case 2:return"A90";default:return"L45"}}function i(r){switch(r=r&&Number(r),r){case 0:return"LESS";case 1:return"MID";case 2:return"MORE";default:return"LESS"}}function o(r){switch(r=r&&Number(r),r){case 0:return"SPEED_FIRST";case 1:return"COMPLETION_FIRST";default:return"COMPLETION_FIRST"}}return{routingCorner:e(t[0]),isKeep:!!t[1],viaQuantity:i(t[2]),routingEffectPriority:o(t[3]),layers:t[5],ignoreNets:t[6]}}function W0e(t){switch(t=t&&Number(t),t){case 0:return"DIVERGENCE";case 1:return"DIRECT";case 2:return"NON_CONNECT";default:return null}}function f0r(t,e){let i=e;switch(t){case"SAFE":{let o=e;if(o.isForAll=o.isForAll?"LAYERED":"ALL",o.safeSpacing)for(let r of o.safeSpacing)r.isOpen=!!r.isOpen;i=o;break}case"OTHER":break;case"TRACK":{let o=e;o!=null&&o.track&&(o.track.isOpen=!!o.track.isOpen),i=o;break}case"NET_LENGTH":break;case"NET_LENGTH_TOLERANCE":break;case"DIFFER_ENTAIL":{let o=e;o!=null&&o.stroWidth&&(o.stroWidth.isOpen=!!o.stroWidth.isOpen),o!=null&&o.spacing&&(o.spacing.isOpen=!!o.spacing.isOpen),i=o;break}case"BLIND":break;case"RADIUS":break;case"PLANE":{let o=e;if(o!=null&&o.mulPad&&(o.mulPad.isOpen=!!o.mulPad.isOpen),o.mulPad&&o.mulPad.content)for(let r of o.mulPad.content)r.connType=W0e(r.connType);i=o;break}case"COPPER":{let o=e;if(o!=null&&o.sglPad&&(o.sglPad.isOpen=!!o.sglPad.isOpen),o!=null&&o.mulPad&&(o.mulPad.isOpen=!!o.mulPad.isOpen),o!=null&&o.track&&(o.track.isOpen=!!o.track.isOpen),o.track&&o.track.content&&(o.track.content=o.track.content.map(r=>(r.connType=Number(r.connType)?"NON_CONNECT":"DIRECT",r))),o.sglPad&&o.sglPad.content)for(let r of o.sglPad.content)r.connType=W0e(r.connType);if(o.mulPad&&o.mulPad.content)for(let r of o.mulPad.content)r.connType=W0e(r.connType);i=o;break}case"PASTE":break;case"SOLDER":break;case"AUTO_ROUTER":break}return i}function g0r(t,e,i,o,r,n){if(!(o instanceof Array))return f0r(t,o);let a,s=!1;switch(i&&(i==="NORMAL"?s=!1:i==="DEFAULT"&&(s=!0)),t){case"SAFE":{a=i0r(o,n),s&&r.addDefaultSafeSpaceData(a);break}case"OTHER":{a=o0r(o);break}case"TRACK":{a=r0r(o);break}case"NET_LENGTH":{a=n0r(o);break}case"NET_LENGTH_TOLERANCE":{a=a0r(o);break}case"DIFFER_ENTAIL":{a=s0r(o);break}case"BLIND":{a=l0r(o);break}case"RADIUS":{a=c0r(o);break}case"PLANE":{let l=o[1],c=o[2];s&&r.addDefaultInnerSpace(l,c),r.addInner2SafeChangeMap(e,"Plane_"+e,s,l,c),a=d0r(o);break}case"COPPER":{let l=o[1],c=o[2];s&&r.addDefaultCopperSpace(l,c),r.addCopper2SafeChangeMap(e,"Copper_"+e,s,l,c),a=u0r(o);break}case"PASTE":{a=p0r(o);break}case"SOLDER":{a=m0r(o);break}case"AUTO_ROUTER":{a=h0r(o);break}}return a}function b0r(t,e,i,o){if(!o.init)return null;function r(n,a){let s=n?"Copper_":"Plane_",l=["RULE"];l[1]="SAFE",l[2]=s+e,l[3]=0;let c=a.getNewDefaultData(n,e);return c==null?null:(l[4]={unit:a.defaultSafeData.unit,isForAll:"ALL",safeSpacing:[{layerId:1,isOpen:!0,content:c}]},l)}switch(t){case"SAFE":return o.fixSafeData(i),null;case"PLANE":return r(!1,o);case"COPPER":return r(!0,o);default:return null}}function y0r(t,e,i,o){if(!o.init)return{ruleKeyValue:i};let r=t[0],n,a;if(e==4){if(r==="NET_CLASS"||r==="NET"){for(let s in i)String(s)==="COPPER"&&(n={COPPER:o.getSafeName4Copper(i[s])}),String(s)==="PLANE"&&(a={PLANE:o.getSafeName4Plane(i[s])});t[1]==""?(n!=null&&n.COPPER||(n={COPPER:"default"}),a!=null&&a.PLANE||(a={PLANE:"default"})):(n!=null&&n.COPPER||(n={COPPER:o.getDefaultCopper()}),a!=null&&a.PLANE||(a={PLANE:o.getDefaultPlane()}))}}else for(let s in i){if(String(s)==="COPPER"){let l=i[s],c=o.getSafeName4Copper(l);if(c==null&&l=="default"&&(c=o.getDefaultCopper()),c==null)continue;n={COPPER:c}}if(String(s)==="PLANE"){let l=i[s],c=o.getSafeName4Plane(l);if(c==null&&l=="default"&&(c=o.getDefaultPlane()),c==null)continue;a={PLANE:c}}}return{ruleKeyValue:i,copperRuleValue:n,innerPlaneRuleValue:a}}function v1i(t,e){let i=t.length,o=0;for(;o<i;){let r=t.indexOf(`
`,o);r<0&&(r=i);let n=t.substring(o,r);try{if(e(n)===!1)break}catch(a){console.error(a)}o=r+1}}function w0r(t){let e={};return v1i(t,i=>{if(i.startsWith('["PAD"')){let o=JSON.parse(i);e[o[5]]||(e[o[5]]=[]),e[o[5]].push(o[1])}}),e}var J3t=class{parseFull(t){v1i(t,e=>this.onParseLine(JSON.parse(e))),this.onParseEnd()}},D1i=class extends J3t{constructor(t={},e={},i=[],o=[],r=!1){super(),this.deviceName=t,this.footprintName=e,this.footprints=i,this.devices=o,this.footprintIsConnectDevice=r,this.fontCache=[],this.poured={},this.curPartition="",this.eQLenData={},this.eQLenSort=1,this.cache={},this.components={},this.errorIds={},this.dimension={},this.connects={},this.specialColors={},this.reuseBlock={},this.panelize={data:[],stamp:{h:null,v:null},size:{h:null,v:null}},this.layerPhys=0,this.fac=new Nmi,this.rules=[],this.ruleSelectors=[],this.ruleTemplateName="",this.layerFill={},this.idsSet=new Set,this.oldId={},this.cachePadNet={},this.creaseIds=[],this.stringId={},this.substrateLayer=new Set,this.layerPhysCache=[],this.randomUuid=0,this.padNumId={},this.componentPadNum={}}getOldId(t){var e;return(e=this.oldId[t])!=null?e:t}handConnect(){for(let t of this.creaseIds)if(this.connects[t])for(let e of this.connects[t])this.connects[e]?this.connects[e].push(t):this.connects[e]=[t]}getConnect(t){return this.connects[t]||[]}transRuleType(t){return L1i(t)}transRuleStatus(t){switch(t=t&&Number(t),t){case 0:return"NORMAL";case 1:return"DEFAULT";default:return"NORMAL"}}transGridType(t){switch(t=t&&Number(t),t){case 0:return"NONE";case 1:return"GRID";case 2:return"OUTLETS";default:return"NONE"}}transLayerStatus(t){t=t&&Number(t);let e=!1,i=!1,o=!1;return t!=null&&!isNaN(t)?(t>=4&&(o=!0,t-=4),t>=2&&(i=!0,t-=2),t===1&&(e=!0)):e=!0,{use:e,show:i,locked:o}}transRoutingMode(t){switch(t=t&&Number(t),t){case 0:return"NONE";case 1:return"PUSH";case 2:return"SURROUND";case 3:return"OBSTRUCT";case 4:return"SURROUND&PUSH";default:return"NONE"}}transPadDef(t){switch(t==null?void 0:t[0]){case"ELLIPSE":return{padType:"ELLIPSE",width:t[1],height:t[2]};case"RECT":return{padType:"RECT",width:t[1],height:t[2],radius:t[3]};case"OVAL":return{padType:"OVAL",width:t[1],height:t[2]};case"POLYGON":case"POLY":return{padType:"POLYGON",path:t[1]};default:return null}}transHoleDef(t){return t?{holeType:t[0],width:t[1],height:t[2]}:null}transPourDef(t){function e(i){switch(i=i&&Number(i),i){case 0:return"GRID_LINE";case 1:return"HORIZONTAL_LINE";case 2:return"VERTICAL_LINE";default:return"GRID_LINE"}}switch(t==null?void 0:t[0]){case"SOLID":return{pourType:"SOLID",fineness:t[1]};case"LINE":return{pourType:e(t[1]),angle:t[2],strokeWidth:t[3],strokeSpacing:t[4]};default:return null}}transUnusedPadRange(t){switch(t=t&&Number(t),t){case 1:return"ALL";case 2:return"PAD";case 3:return"VIA";default:return"VIA"}}transPathOptimization(t){switch(t=t&&Number(t),t){case 0:return"SINGLE";case 1:return"ALL";case 2:return"NONE";default:return"SINGLE"}}transViaType(t){switch(t=t&&Number(t),t){case 0:return"NORMAL";case 1:return"SUTURE";default:return"NORMAL"}}transPadFuncType(t){switch(t=t&&Number(t),t){case 0:return"NORMAL";case 1:return"TEST";case 2:return"MARKER";default:return"NORMAL"}}transPadConnect(t){switch(t=t&&Number(t),t){case 0:return"DIVERGENCE";case 1:return"DIRECT";case 2:return"NON_CONNECT";default:return null}}transFillStyle(t){switch(t=t&&Number(t),t){case 0:return"SOLID";case 1:return"GRID";case 2:return"PLANE";default:return null}}transProhibitType(t){let e=new Set;if(!t)return[];for(let i of t)switch(i=i&&Number(i),i){case 1:e.add("TRACK"),e.add("FILL");break;case 2:e.add("COMPONENT");break;case 3:e.add("VIA");break;case 4:e.add("COPPER"),e.add("PLANE");break;case 5:e.add("TRACK");break;case 6:e.add("FILL");break;case 7:e.add("COPPER");break;case 8:e.add("PLANE");break}return Array.from(e)}transPushCoverDir(t){switch(t=t&&Number(t),t){case 1:return"X_AXIS_POSITIVE";case 2:return"X_AXIS_NEGATIVE";case 4:return"Y_AXIS_POSITIVE";case 8:return"Y_AXIS_NEGATIVE";default:return"X_AXIS_POSITIVE"}}transEntityBelong(t){switch(t=t&&Number(t),t){case 0:return"AUTO";case 1:return"UPPER_SHELLS";case 2:return"LOWER_SHELLS";default:return"AUTO"}}transSlotOption(t){t=t&&Number(t);let e=t;if(!e||e<4)return["OUTLINE","SCREW_PILLAR","ENTITY"];let i=[];return e>=16&&(i.push("ENTITY"),e-=16),e>=8&&(i.push("SCREW_PILLAR"),e-=8),e>=4&&(i.push("OUTLINE"),e-=4),i}transAlignType(t){switch(t=t&&Number(t),t){case 1:return"LEFT_TOP";case 4:return"CENTER_TOP";case 7:return"RIGHT_TOP";case 2:return"LEFT_MIDDLE";case 5:return"CENTER_MIDDLE";case 8:return"RIGHT_MIDDLE";case 3:return"LEFT_BOTTOM";case 6:return"CENTER_BOTTOM";case 9:return"RIGHT_BOTTOM";default:return"LEFT_BOTTOM"}}onParseLine(t){var e;let i=t[0];switch(i){case"DOCTYPE":this.parseDocType(t);break;case"HEAD":this.parseHead(t);break;case"CANVAS":this.parseCanvas(t);break;case"LAYER":this.parseLayer(t);break;case"LAYER_PHYS":this.layerPhysCache.push(t);break;case"ACTIVE_LAYER":this.parseActiveLayer(t);break;case"NET":this.parseNet(t);break;case"PRIMITIVE":this.parsePrimitive(t);break;case"GROUP":this.parseGroup(t);break;case"SILK_OPTS":this.parseSilkOpts(t);break;case"PREFERENCE":this.parsePreference(t);break;case"CONNECT":this.parseConnect(t);break;case"ITEM_ORDER":this.parseItemOrder(t);break;case"PROP":this.parseProp(t);break;case"EQLEN_GRP":this.parseEQLenGrp(t);break;case"EQLEN":this.parseEQLen(t);break;case"FONT":this.parseFont(t);break;case"PAD_NET":{this.cachePadNet[t[1]]||(this.cachePadNet[t[1]]=[]),this.cachePadNet[t[1]].push(t);break}case"REUSE_BLOCK":this.parseReuseBlock(t);break;case"RULE_TEMPLATE":this.parseRuleTemplate(t);break;case"RULE":this.rules.push(t);break;case"RULE_SELECTOR":this.ruleSelectors.push(t);break;case"PANELIZE":this.panelize.data=t;break;case"PANELIZE_STAMP":this.parsePanelizeStamp(t);break;case"PANELIZE_SIDE":this.parsePanelizeSide(t);break;case"POURED":{this.parsePoured(t);break}case"PARTITION":i==="PARTITION"&&(this.curPartition=t[3]?t[1]:"");case"VIA":case"PAD":case"LINE":case"ARC":case"CARC":case"OBJ":case"POLY":case"FILL":if(i==="FILL"&&t[6]===2){this.layerFill[t[4]]||(this.layerFill[t[4]]=[]),this.layerFill[t[4]].push(t);break}case"REGION":case"POUR":case"IMAGE":case"TEARDROP":case"FPC_FILL":case"SHELL":case"CREASE":i==="CREASE"&&this.creaseIds.push(t[1]);case"SHELLCUT":case"SHELL_ENTITY":case"BOSS":case"STRING":if(i==="STRING"&&!/^[a-zA-Z]+\d+$/.test(t[1])){let o=t[1],r=o.split(/([0-9].*)/);if(r.length>=2){let n=r[0],a=r[1];for(let s=0;s<a.length;s++){let l=a.charCodeAt(s);n+=l}o=n}this.stringId[o]=t[1],t[1]=o}case"DIMENSION":case"COMPONENT":{let o=i==="CARC"?"ARC":i,r=Rxe(t[1]);this.cache[o]||(this.cache[o]={}),r!==null&&!this.cache[o][r]?this.cache[o][r]={part:this.curPartition,value:t}:(this.errorIds[o]||(this.errorIds[o]=[]),this.errorIds[o].push({part:this.curPartition,value:t})),o==="COMPONENT"&&(this.components[t[1]]||(this.components[t[1]]={attrs:{},footprint:"",device:""}),this.components[t[1]].attrs=t[7]||{}),o==="DIMENSION"&&(this.dimension[t[1]]={attr:[]});break}case"ATTR":{if(this.docType==="PCB"&&!t[3])break;if(t[7]==="Footprint"&&(this.components[t[3]]||(this.components[t[3]]={attrs:{},footprint:"",device:""}),this.components[t[3]].footprint=t[8]),t[7]==="Device"&&(this.components[t[3]]||(this.components[t[3]]={attrs:{},footprint:"",device:""}),this.components[t[3]].device=t[8]),this.dimension[t[1]]){this.dimension[t[1]].attr=t;break}let o=Object.keys(((e=this.cache)==null?void 0:e.COMPONENT)||{}).find(n=>this.cache.COMPONENT[n].value[1]===t[3]);if(o){let n=this.cache.COMPONENT[o];n.attr||(n.attr=[]),n.attr.push({part:this.curPartition,value:t});break}let r=Rxe(t[1]);this.cache[i]||(this.cache[i]={}),r!==null&&!this.cache[i][r]?this.cache[i][r]={part:this.curPartition,value:t}:(this.errorIds[i]||(this.errorIds[i]=[]),this.errorIds[i].push({part:this.curPartition,value:t}));break}default:console.warn("can not find hanlder with",t)}}async secondParseLine(t,e,i){let o=t[0];if(this.idsSet.has(t[1])||!t[1]){let r=`randomuuid${++this.randomUuid}`;if(this.oldId[r]=t[1],t[1]=r,i)for(let n of i)n[3]=r}else this.idsSet.add(t[1]);switch(o){case"DOCTYPE":case"HEAD":case"CANVAS":case"LAYER":case"LAYER_PHYS":case"ACTIVE_LAYER":case"NET":case"PRIMITIVE":case"GROUP":case"SILK_OPTS":case"PREFERENCE":case"ITEM_ORDER":case"RULE_TEMPLATE":case"RULE":case"RULE_SELECTOR":case"PANELIZE":case"PANELIZE_STAMP":case"PANELIZE_SIDE":case"CONNECT":case"EQLEN_GRP":case"EQLEN":case"FONT":case"PAD_NET":case"REUSE_BLOCK":case"PROP":break;case"PARTITION":this.parsePartition(t);break;case"VIA":this.parseVia(t);break;case"PAD":this.parsePad(t);break;case"LINE":await this.parseLine(t);break;case"ARC":this.parseArc(t);break;case"CARC":this.parseCArc(t);break;case"OBJ":this.parseObj(t);break;case"POLY":this.parsePoly(t);break;case"FILL":this.parseFill(t);break;case"REGION":this.parseRegion(t);break;case"POUR":this.parsePour(t);break;case"IMAGE":this.parseImage(t);break;case"TEARDROP":this.parseTeardrop(t);break;case"FPC_FILL":this.parseFpcFill(t);break;case"SHELL":this.parseShell(t);break;case"CREASE":this.parseCrease(t);break;case"SHELLCUT":this.parseShellCut(t);break;case"SHELL_ENTITY":this.parseShellEntity(t);break;case"BOSS":this.parseBoss(t);break;case"STRING":this.parseString(t);break;case"ATTR":this.parseAttr(t,e);break;case"DIMENSION":this.parseDimension(t);break;case"COMPONENT":this.parseComponent(t);break;default:console.warn("can not find hanlder with",t)}}onParseEnd(){for(let e of this.layerPhysCache)this.parseLayerPhys(e);this.layerPhysCache=[];for(let e of this.rules)e[1]=this.transRuleType(e[1]),e[3]=this.transRuleStatus(e[3]),e[4]=g0r(e[1],e[2],e[3],e[4],this.fac,this.ruleTemplateName);if(this.fac.init){let e=Array.from(this.rules);for(let i of e){let o=b0r(i[1],i[2],i[4],this.fac);o&&this.rules.push(o)}}for(let e of this.rules)this.parseRule(e);let t={};for(let e of this.ruleSelectors){let i=y0r(e[1],e[2],z0e(e[3]),this.fac),o=JSON.stringify(e[1]);t[o]?(e[2]&&(t[o].ruleOrder=e[2]),i.ruleKeyValue&&(t[o].ruleKeyValue=Object.assign(t[o].ruleKeyValue,i.ruleKeyValue)),(i.copperRuleValue||e[4])&&(t[o].copperValue=i.copperRuleValue||z0e(e[4])),(i.innerPlaneRuleValue||e[5])&&(t[o].innerPlaneValue=i.innerPlaneRuleValue||z0e(e[5]))):t[o]={ruleSelect:e[1],ruleOrder:e[2],ruleKeyValue:i.ruleKeyValue,copperValue:i.copperRuleValue||z0e(e[4])||{},innerPlaneValue:i.innerPlaneRuleValue||z0e(e[5])||{}}}for(let e in t)this.parseRuleSelector(t[e]);this.handConnect(),this.parseEQLenGrpFull(),this.parsePanelize(),this.parseLayerFill();for(let e in this.cache){let i=this.cache[e],o=Object.keys(i).sort((n,a)=>Number(n)-Number(a)),r=-1;for(let n of o){let a=Number(n),s=a-r-1;s>=1&&this.onPHolder(e,s),r=a,this.curPartition=i[a].part,this.secondParseLine(i[a].value,void 0,i[a].attr),i[a].attr&&i[a].attr.forEach(l=>{this.curPartition=l.part,this.secondParseLine(l.value)})}if(this.errorIds[e])for(let n of this.errorIds[e])this.curPartition=n.part,this.secondParseLine(n.value)}this.clearCache()}clearCache(){this.version=void 0,this.docType=void 0,this.curPartition="",this.eQLenData={},this.eQLenSort=1,this.cache={},this.components={},this.errorIds={},this.dimension={},this.connects={},this.specialColors={},this.reuseBlock={},this.panelize.data.length&&(this.panelize.data.length=0,this.panelize.stamp={h:null,v:null},this.panelize.size={h:null,v:null}),this.layerPhys=0,this.fac.init&&(this.fac=new Nmi),this.rules=[],this.ruleSelectors=[],this.ruleTemplateName="",this.layerFill={},this.idsSet.clear(),this.oldId={},this.creaseIds.length=0,this.substrateLayer.clear()}fixPolygon(t){if(t[0]=="R"){let e=parseFloat(t[3])/10,i=parseFloat(t[4])/10;t[6]=Math.min(e,i)/2*(parseFloat(t[6])||0)*10}}handleSimplePolygon(t){return!t||this.version>=1.5||this.fixPolygon(t),t}handlePolygon(t){if(this.version<1.5&&t&&t.length){if(!Array.isArray(t[0]))return this.handleSimplePolygon(t);for(let e of t)this.fixPolygon(e)}return t}parseEQLen(t){this.eQLenData[t[1]]?this.eQLenData[t[1]].pads?this.eQLenData[t[1]].pads.push(t[2]):this.eQLenData[t[1]].pads=[t[2]]:this.eQLenData[t[1]]={pads:[t[2]]}}parseEQLenGrp(t){this.eQLenData[t[1]]?(this.eQLenData[t[1]].id=t[1],this.eQLenData[t[1]].name=t[2],this.eQLenData[t[1]].sort=++this.eQLenSort):this.eQLenData[t[1]]={id:t[1],name:t[2],sort:++this.eQLenSort}}parseCanvas(t){this.onCanvas(t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],this.transGridType(t[10]),this.transGridType(t[11]),t[12])}parseDocType(t){this.docType=t[1];let e=parseFloat(t[2]);this.version=e}parseHead(t){}parseLayer(t){let e=t[8];this.version<1.7&&(e=.5);let i=this.transLayerStatus(t[4]),o=Number(t[1]);if(t[2]==="SUBSTRATE"){if(this.substrateLayer.add(o),o<101)return;o<361&&(o=o+260)}this.onLayer(o,t[2],t[3],i.use,i.show,i.locked,t[5],t[6],t[7],e)}parseLayerPhys(t){let e=Number(t[1]);if(e>=101&&e<361&&this.substrateLayer.has(e))e=e+260;else if(e<101&&this.substrateLayer.has(e))return;this.onLayerPhys(e,t[2],t[3],t[4],t[5],!!t[6],++this.layerPhys)}parseActiveLayer(t){this.onActiveLayer(t[1])}parsePartition(t){this.onPartition(t[1],t[2],t[3],this.handlePolygon(t[4]))}parseNet(t){var e,i,o,r;this.onNet(t[1],(e=t[2])!=null?e:null,(i=t[3])!=null?i:null,!!t[4],(o=t[5])!=null?o:null,!!t[6],(r=t[7])!=null?r:null)}parsePrimitive(t){this.onPrimitive(t[1],!!t[2],!!t[3])}parseGroup(t){this.onGroup(t[1],t[2])}parseSilkOpts(t){this.onSilkOpts(t[1],t[2],t[3])}parsePreference(t){this.onPreference(!!t[1],t[2],!!t[3],t[4],t[5],!!t[6],this.transRoutingMode(t[7]),t[8],!!t[9],!!t[10],!!t[11],t[12],t[13],!!t[14],this.transUnusedPadRange(t[15]),t[16],this.transPathOptimization(t[17]),t[18],t[19],t[20])}parseConnect(t){this.connects[t[1]]=t[2]}parseVia(t){var e,i;this.onVia(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],t[8],this.transViaType(t[9]),(e=t[10])!=null?e:null,(i=t[11])!=null?i:null,!!t[12],t[13])}parsePad(t){var e,i,o,r,n,a,s,l,c;this.onPad(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],t[8],this.transHoleDef(t[9]),this.transPadDef(t[10]),t[11]&&(i=(e=t[11])==null?void 0:e.map(d=>({startLayer:d[0],endLayer:d[1],pad:this.transPadDef(d[2])})))!=null?i:null,t[12],t[13],t[14],!!t[15],this.transPadFuncType(t[16]),(o=t[17])!=null?o:null,(r=t[18])!=null?r:null,(n=t[19])!=null?n:null,(a=t[20])!=null?a:null,!!t[21],this.transPadConnect(t[22]),(s=t[23])!=null?s:null,(l=t[24])!=null?l:null,(c=t[25])!=null?c:null,t[26],this.getConnect(t[1]))}parseLine(t){this.onLine(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],!!t[10])}parseArc(t){this.onArc(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],!!t[11],this.specialColors[this.getOldId(t[1])])}parseCArc(t){this.onCArc(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],!!t[11],this.specialColors[this.getOldId(t[1])])}parseObj(t){this.onObj(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],!!t[10],t[11],!!t[12],this.specialColors[this.getOldId(t[1])])}parseItemOrder(t){this.itemOrder=t[1]}parseProp(t){this.specialColors[t[1]]=t[2]}parseEQLenGrpFull(){for(let t in this.eQLenData){let e=this.eQLenData[t];e.id&&this.onEQLenGrp(e.id,e.name,e.sort,e.pads||[])}this.eQLenData={},this.eQLenSort=1}parsePoly(t){this.onPoly(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],this.handleSimplePolygon(t[6]),!!t[7],this.specialColors[this.getOldId(t[1])])}parseFill(t){this.onFill(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],this.transFillStyle(t[6]),this.handlePolygon(t[7]),!!t[8],this.getConnect(t[1]),this.specialColors[this.getOldId(t[1])])}getZIndex1(t){let e=t.match(hRe);return e!=null&&e.length?e[1]:null}parseLayerFill(){for(let t in this.layerFill){let e=this.layerFill[t];this.onLayerFill(Number(t),{fill:e.map(i=>{let o=this.getZIndex1(i[1]);return{id:i[1],partitionId:this.curPartition||"",groupId:i[2],locked:!!i[8],zIndex:o===null?null:Number(o),netName:i[3],width:i[5],path:this.handlePolygon(i[7]),refs:this.getConnect(i[1]),specialColor:this.specialColors[this.getOldId(i[1])]}})})}}parseRegion(t){let e=t[5],i=e&&e.includes(9)?"CONSTRAINT":"PROHIBIT";e=i?e.filter(o=>o!==9):e,this.onRegion(t[1],this.curPartition||"",t[2],t[3],t[4],this.transProhibitType(e),this.handlePolygon(t[6]),!!t[7],t[8],i)}parsePour(t){let e=t[9];this.version<=1.7&&e&&e[0]==="SOLID"&&e[1]&&(e[1]=8),this.onPour(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],this.handlePolygon(t[8]),this.transPourDef(e),!!t[10],!!t[11]),this.poured[t[1]]&&this.onPoured(t[1],this.poured[t[1]])}parsePoured(t){if(this.version<1.1){if(this.curPourId){let e={id:t[1],strokeWidth:t[2],fill:t[3],path:this.handlePolygon(t[4])};this.poured[this.curPourId]||(this.poured[this.curPourId]={pourFill:[]}),this.poured[this.curPourId].pourFill.push(e)}}else{let e={id:t[1],strokeWidth:t[3],fill:t[4],path:this.handlePolygon(t[5])};this.poured[t[2]]||(this.poured[t[2]]={pourFill:[]}),this.poured[t[2]].pourFill.push(e)}}parseImage(t){this.onImage(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],t[8],!!t[9],t[10],!!t[11],this.specialColors[this.getOldId(t[1])])}parseTeardrop(t){let e,i,o;this.version<1.2?(e=t[5],o=t[4]):(e=t[4],i=t[5],o=this.getConnect(t[1])),this.onTeardrop(t[1],this.curPartition||"",t[2],t[3],this.handleSimplePolygon(e),i!=null?i:null,o)}parseFpcFill(t){this.onFpcFill(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],this.handlePolygon(t[6]),!!t[7])}parseShell(t){let e=t[8];e&&e.Direction&&(e.Direction=this.transPushCoverDir(e.Direction)),this.onShell(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],this.handlePolygon(t[7]),e,!!t[9])}parseCrease(t){this.onCrease(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],t[7],t[8],!!t[9])}parseShellCut(t){this.onShellCut(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],this.handlePolygon(t[6]),!!t[7],this.getConnect(t[1]))}parseShellEntity(t){this.onShellEntity(t[1],this.curPartition||"",t[2],t[3],t[4],this.transEntityBelong(t[5]),this.transSlotOption(t[5]),t[6],t[7],this.handlePolygon(t[8]),!!t[9],this.getConnect(t[1]))}parseBoss(t){var e,i,o,r,n,a;this.version<1.4?this.onBoss(t[1],this.curPartition||"",t[2],t[3],t[5],t[6],(e=t[4])!=null?e:null,t[7],null,null,(i=t[8])!=null?i:null,(o=t[9])!=null?o:null,!!t[10]):this.onBoss(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],(r=t[6])!=null?r:null,t[7],t[8],t[9],(n=t[10])!=null?n:null,(a=t[11])!=null?a:null,!!t[12])}parseDimension(t){var e;let i=this.getOldId(t[1]),o=((e=this.dimension[i])==null?void 0:e.attr)||[];if(o.length){let n=this.fontCache.find(a=>a.id&&a.id===this.getOldId(o[1]));this.version<1.6&&n&&(n.text=o[8],n.fontFamily=o[11],n.fontSize=o[12]/10,n.thickness=o[13]/10,n.bold=o[15],n.italic=o[16],n.reverse=o[18],n.expansion=o[19]/10)}let r={groupId:o[2],layerId:o[4],x:o[5],y:o[6],text:o[8],fontFamily:o[11],fontSize:o[12],strokeWidth:o[13],bold:o[14],italic:o[15],origin:o[16],angle:o[17],reverse:o[18],expansion:o[19],mirror:o[20],locked:o[21],zIndex:null,specialColor:this.specialColors[this.getOldId(o[1])]};this.onDimension(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],!!t[7],t[8],!!t[9],r,this.specialColors[this.getOldId(t[1])],o[2]||"")}parseRuleTemplate(t){this.ruleTemplateName=t[1],this.onRuleTemplate(t[1])}parseRule(t){this.onRule(t[1],t[2],t[3],t[4])}parseRuleSelector(t){this.onRuleSelector(t.ruleSelect,t.ruleOrder,t.ruleKeyValue,t.copperValue,t.innerPlaneValue)}parsePanelize(){let t=this.panelize.data;t.length&&this.onPanelize(!!t[1],t[2],t[3],t[4],t[5],!!t[6],this.panelize.stamp.h,this.panelize.stamp.v,this.panelize.size.h,this.panelize.size.v)}parsePanelizeStamp(t){let e={on:!!t[2],stampHoleGroupQuantity:t[3],stampHoleDiameter:t[4],stampHoleQuantityPerGroup:t[5],stampHoleSpacing:t[6]};t[1]?this.panelize.stamp.v=e:this.panelize.stamp.h=e}parsePanelizeSide(t){let e={on:!!t[2],sideHeight:t[3],positionHoleDiameter:t[4],markDiameter:t[5],markExpansion:t[6]};t[1]?this.panelize.size.v=e:this.panelize.size.h=e}parseComponent(t){let e=this.getOldId(t[1]),i=t[7]||{},o=this.reuseBlock[e];if(o&&Object.assign(i,{"Group ID":o[2]||"","Channel ID":o[3]||""}),this.onComponent(t[1],this.curPartition||"",t[2],t[3],t[4],t[5],t[6],i,!!t[8],this.specialColors[e]),this.cachePadNet[e])for(let r of this.cachePadNet[e])this.parsePadNet(r)}parsePadNet(t){let e=this.getOldId(t[1]);if(t[4]===void 0&&this.components[e]){let i=this.components[e].footprint;if(!i){let r=this.components[e].device;i=this.devices.find(n=>n.uuid===r).attributes.Footprint}let o=this.padNumId[i];if(!o){let r=this.footprints.find(n=>n.uuid===i);r&&(this.padNumId[i]=w0r(r==null?void 0:r.dataStr),o=this.padNumId[i])}if(o&&o[t[2]]){this.componentPadNum[e]||(this.componentPadNum[e]={}),this.componentPadNum[e][t[2]]===void 0&&(this.componentPadNum[e][t[2]]=-1);let r=++this.componentPadNum[e][t[2]];t[4]=o[t[2]][r]}else t[4]=t[2]}this.onPadNet(t[1],this.curPartition||"",t[2],t[3],t[4])}parseReuseBlock(t){this.reuseBlock[t[1]]=t}getFontCache(t,e,i,o,r,n,a,s){let l;return this.version<1.6?l=this.fontCache.find(c=>c.id===t):l=this.fontCache.find(c=>i==c.fontFamily&&e==c.text&&o/10==c.fontSize&&!!a==c.reverse&&s==c.expansion&&!!r==c.bold&&!!n==c.italic&&c.path.length>0),{paths:l==null?void 0:l.path,width:l==null?void 0:l.width,height:l==null?void 0:l.height}}getTextValue(t,e,i,o,r){let n="";return t!=""&&e===""&&this.docType!="PCB"&&!r&&t!="Footprint"&&!this.footprintIsConnectDevice&&(e=`<${t}>`),i?o?n=t+":"+e:n=t:o?n=e:n="",n}getFormulaName(t,e){if(!t||!t.startsWith("="))return t;t=t.slice(1);let i=/\{([^\}]+)\}/g,o=[],r=[];for(;o=i.exec(t);)r.push(o[1]);for(let n=0;n<r.length;n++){let a=r[n],s=`{${a}!}`;e.has(a)&&(s=e.get(a)),t=t.replace(`{${a}}`,s)}return t}parseAttr(t,e){let i=t[11],o=t[12];o&&this.version<1.2&&(i=="default"||i=="")&&(o*=1.5);let r=t[7],n=t[8],a=!!t[9],s=!!t[10],l=this.getOldId(t[3]),c=n;if(r==="Device"){let u=this.deviceName[n]||n;c=this.getTextValue(r,u,a,s,l)}else if(r==="Footprint"){let u=this.footprintName[n]||n;c=this.getTextValue(r,u,a,s,l)}else if(r==="Name"){let u=new Map;if(l){let p=this.components[l];if(u.set("ID",l),Object.entries(p.attrs).forEach(m=>u.set(m[0],m[1])),p.device){let m=this.devices.find(h=>h.uuid===p.device);m&&Object.entries(m.attributes).forEach(h=>u.set(h[0],h[1]))}}c=this.getTextValue(r,this.getFormulaName(n,u),a,s,l)}else c=this.getTextValue(r,n,a,s,l);let d=this.fontCache.find(u=>u.id&&u.id===this.getOldId(t[1]));this.version<1.6&&d&&(d.text=c,d.fontFamily=i,d.fontSize=o/10,d.thickness=t[13]/10,d.bold=t[15],d.italic=t[16],d.reverse=t[18],d.expansion=t[19]/10),this.onAttr(t[1],this.curPartition||"",t[2],l,t[4],t[5],t[6],r,n,a,s,i,o,t[13],!!t[14],!!t[15],this.transAlignType(t[16]),t[17],!!t[18],t[19],!!t[20],!!t[21],e,this.specialColors[this.getOldId(t[1])])}parseFont(t){let e;switch(this.version){case 1:case 1.1:e={id:t[1],path:t[2]};break;case 1.2:case 1.3:case 1.4:case 1.5:e={id:t[1],width:t[2],height:t[3],path:t[4]};break;default:e={text:t[1],fontFamily:t[2],fontSize:t[3],thickness:t[4],bold:!!t[5],italic:!!t[6],reverse:!!t[7],expansion:t[8],width:t[9],height:t[10],path:t[11]};break}this.fontCache.push(e)}parseString(t){var e;let[,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y]=t,w=(e=this.stringId[i])!=null?e:i;c&&this.version<1.2&&(l=="default"||l=="")&&(c*=1.5);let x=this.fontCache.find(S=>S.id&&S.id===this.getOldId(w));this.version<1.6&&x&&(x.text=s,x.fontFamily=l,x.fontSize=c/10,x.thickness=d/10,x.bold=u,x.italic=p,x.reverse=f,x.expansion=g/10),this.onString(i,this.curPartition||"",o,r,n,a,s,l,c,d,!!u,!!p,this.transAlignType(m),h,!!f,g,!!b,!!y,this.specialColors[this.getOldId(w)])}},C0r=Object.create,E1i=Object.defineProperty,x0r=Object.getOwnPropertyDescriptor,T0r=Object.getOwnPropertyNames,S0r=Object.getPrototypeOf,M0r=Object.prototype.hasOwnProperty,I0r=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),L0r=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of T0r(e))!M0r.call(t,r)&&r!==i&&E1i(t,r,{get:()=>e[r],enumerable:!(o=x0r(e,r))||o.enumerable});return t},v0r=(t,e,i)=>(i=t!=null?C0r(S0r(t)):{},L0r(e||!t||!t.__esModule?E1i(i,"default",{value:t,enumerable:!0}):i,t)),D0r=I0r((t,e)=>{"use strict";e.exports=i,e.exports.default=i;function i(_,j,B){B=B||2;var V=j&&j.length,G=V?j[0]*B:_.length,Q=o(_,0,G,B,!0),H=[];if(!Q||Q.next===Q.prev)return H;var q,U,F,K,te,ae,pe;if(V&&(Q=d(_,j,Q,B)),_.length>80*B){q=F=_[0],U=K=_[1];for(var Z=B;Z<G;Z+=B)te=_[Z],ae=_[Z+1],te<q&&(q=te),ae<U&&(U=ae),te>F&&(F=te),ae>K&&(K=ae);pe=Math.max(F-q,K-U),pe=pe!==0?32767/pe:0}return n(Q,H,B,q,U,pe,0),H}function o(_,j,B,V,G){var Q,H;if(G===O(_,j,B,V)>0)for(Q=j;Q<B;Q+=V)H=v(Q,_[Q],_[Q+1],H);else for(Q=B-V;Q>=j;Q-=V)H=v(Q,_[Q],_[Q+1],H);return H&&T(H,H.next)&&(k(H),H=H.next),H}function r(_,j){if(!_)return _;j||(j=_);var B=_,V;do if(V=!1,!B.steiner&&(T(B,B.next)||S(B.prev,B,B.next)===0)){if(k(B),B=j=B.prev,B===B.next)break;V=!0}else B=B.next;while(V||B!==j);return j}function n(_,j,B,V,G,Q,H){if(_){!H&&Q&&f(_,V,G,Q);for(var q=_,U,F;_.prev!==_.next;){if(U=_.prev,F=_.next,Q?s(_,V,G,Q):a(_)){j.push(U.i/B|0),j.push(_.i/B|0),j.push(F.i/B|0),k(_),_=F.next,q=F.next;continue}if(_=F,_===q){H?H===1?(_=l(r(_),j,B),n(_,j,B,V,G,Q,2)):H===2&&c(_,j,B,V,G,Q):n(r(_),j,B,V,G,Q,1);break}}}}function a(_){var j=_.prev,B=_,V=_.next;if(S(j,B,V)>=0)return!1;for(var G=j.x,Q=B.x,H=V.x,q=j.y,U=B.y,F=V.y,K=G<Q?G<H?G:H:Q<H?Q:H,te=q<U?q<F?q:F:U<F?U:F,ae=G>Q?G>H?G:H:Q>H?Q:H,pe=q>U?q>F?q:F:U>F?U:F,Z=V.next;Z!==j;){if(Z.x>=K&&Z.x<=ae&&Z.y>=te&&Z.y<=pe&&w(G,q,Q,U,H,F,Z.x,Z.y)&&S(Z.prev,Z,Z.next)>=0)return!1;Z=Z.next}return!0}function s(_,j,B,V){var G=_.prev,Q=_,H=_.next;if(S(G,Q,H)>=0)return!1;for(var q=G.x,U=Q.x,F=H.x,K=G.y,te=Q.y,ae=H.y,pe=q<U?q<F?q:F:U<F?U:F,Z=K<te?K<ae?K:ae:te<ae?te:ae,ee=q>U?q>F?q:F:U>F?U:F,ce=K>te?K>ae?K:ae:te>ae?te:ae,ne=b(pe,Z,j,B,V),oe=b(ee,ce,j,B,V),re=_.prevZ,Y=_.nextZ;re&&re.z>=ne&&Y&&Y.z<=oe;){if(re.x>=pe&&re.x<=ee&&re.y>=Z&&re.y<=ce&&re!==G&&re!==H&&w(q,K,U,te,F,ae,re.x,re.y)&&S(re.prev,re,re.next)>=0||(re=re.prevZ,Y.x>=pe&&Y.x<=ee&&Y.y>=Z&&Y.y<=ce&&Y!==G&&Y!==H&&w(q,K,U,te,F,ae,Y.x,Y.y)&&S(Y.prev,Y,Y.next)>=0))return!1;Y=Y.nextZ}for(;re&&re.z>=ne;){if(re.x>=pe&&re.x<=ee&&re.y>=Z&&re.y<=ce&&re!==G&&re!==H&&w(q,K,U,te,F,ae,re.x,re.y)&&S(re.prev,re,re.next)>=0)return!1;re=re.prevZ}for(;Y&&Y.z<=oe;){if(Y.x>=pe&&Y.x<=ee&&Y.y>=Z&&Y.y<=ce&&Y!==G&&Y!==H&&w(q,K,U,te,F,ae,Y.x,Y.y)&&S(Y.prev,Y,Y.next)>=0)return!1;Y=Y.nextZ}return!0}function l(_,j,B){var V=_;do{var G=V.prev,Q=V.next.next;!T(G,Q)&&M(G,V,V.next,Q)&&E(G,Q)&&E(Q,G)&&(j.push(G.i/B|0),j.push(V.i/B|0),j.push(Q.i/B|0),k(V),k(V.next),V=_=Q),V=V.next}while(V!==_);return r(V)}function c(_,j,B,V,G,Q){var H=_;do{for(var q=H.next.next;q!==H.prev;){if(H.i!==q.i&&x(H,q)){var U=R(H,q);H=r(H,H.next),U=r(U,U.next),n(H,j,B,V,G,Q,0),n(U,j,B,V,G,Q,0);return}q=q.next}H=H.next}while(H!==_)}function d(_,j,B,V){var G=[],Q,H,q,U,F;for(Q=0,H=j.length;Q<H;Q++)q=j[Q]*V,U=Q<H-1?j[Q+1]*V:_.length,F=o(_,q,U,V,!1),F===F.next&&(F.steiner=!0),G.push(y(F));for(G.sort(u),Q=0;Q<G.length;Q++)B=p(G[Q],B);return B}function u(_,j){return _.x-j.x}function p(_,j){var B=m(_,j);if(!B)return j;var V=R(B,_);return r(V,V.next),r(B,B.next)}function m(_,j){var B=j,V=_.x,G=_.y,Q=-1/0,H;do{if(G<=B.y&&G>=B.next.y&&B.next.y!==B.y){var q=B.x+(G-B.y)*(B.next.x-B.x)/(B.next.y-B.y);if(q<=V&&q>Q&&(Q=q,H=B.x<B.next.x?B:B.next,q===V))return H}B=B.next}while(B!==j);if(!H)return null;var U=H,F=H.x,K=H.y,te=1/0,ae;B=H;do V>=B.x&&B.x>=F&&V!==B.x&&w(G<K?V:Q,G,F,K,G<K?Q:V,G,B.x,B.y)&&(ae=Math.abs(G-B.y)/(V-B.x),E(B,_)&&(ae<te||ae===te&&(B.x>H.x||B.x===H.x&&h(H,B)))&&(H=B,te=ae)),B=B.next;while(B!==U);return H}function h(_,j){return S(_.prev,_,j.prev)<0&&S(j.next,_,_.next)<0}function f(_,j,B,V){var G=_;do G.z===0&&(G.z=b(G.x,G.y,j,B,V)),G.prevZ=G.prev,G.nextZ=G.next,G=G.next;while(G!==_);G.prevZ.nextZ=null,G.prevZ=null,g(G)}function g(_){var j,B,V,G,Q,H,q,U,F=1;do{for(B=_,_=null,Q=null,H=0;B;){for(H++,V=B,q=0,j=0;j<F&&(q++,V=V.nextZ,!!V);j++);for(U=F;q>0||U>0&&V;)q!==0&&(U===0||!V||B.z<=V.z)?(G=B,B=B.nextZ,q--):(G=V,V=V.nextZ,U--),Q?Q.nextZ=G:_=G,G.prevZ=Q,Q=G;B=V}Q.nextZ=null,F*=2}while(H>1);return _}function b(_,j,B,V,G){return _=(_-B)*G|0,j=(j-V)*G|0,_=(_|_<<8)&16711935,_=(_|_<<4)&252645135,_=(_|_<<2)&858993459,_=(_|_<<1)&1431655765,j=(j|j<<8)&16711935,j=(j|j<<4)&252645135,j=(j|j<<2)&858993459,j=(j|j<<1)&1431655765,_|j<<1}function y(_){var j=_,B=_;do(j.x<B.x||j.x===B.x&&j.y<B.y)&&(B=j),j=j.next;while(j!==_);return B}function w(_,j,B,V,G,Q,H,q){return(G-H)*(j-q)>=(_-H)*(Q-q)&&(_-H)*(V-q)>=(B-H)*(j-q)&&(B-H)*(Q-q)>=(G-H)*(V-q)}function x(_,j){return _.next.i!==j.i&&_.prev.i!==j.i&&!D(_,j)&&(E(_,j)&&E(j,_)&&N(_,j)&&(S(_.prev,_,j.prev)||S(_,j.prev,j))||T(_,j)&&S(_.prev,_,_.next)>0&&S(j.prev,j,j.next)>0)}function S(_,j,B){return(j.y-_.y)*(B.x-j.x)-(j.x-_.x)*(B.y-j.y)}function T(_,j){return _.x===j.x&&_.y===j.y}function M(_,j,B,V){var G=A(S(_,j,B)),Q=A(S(_,j,V)),H=A(S(B,V,_)),q=A(S(B,V,j));return!!(G!==Q&&H!==q||G===0&&I(_,B,j)||Q===0&&I(_,V,j)||H===0&&I(B,_,V)||q===0&&I(B,j,V))}function I(_,j,B){return j.x<=Math.max(_.x,B.x)&&j.x>=Math.min(_.x,B.x)&&j.y<=Math.max(_.y,B.y)&&j.y>=Math.min(_.y,B.y)}function A(_){return _>0?1:_<0?-1:0}function D(_,j){var B=_;do{if(B.i!==_.i&&B.next.i!==_.i&&B.i!==j.i&&B.next.i!==j.i&&M(B,B.next,_,j))return!0;B=B.next}while(B!==_);return!1}function E(_,j){return S(_.prev,_,_.next)<0?S(_,j,_.next)>=0&&S(_,_.prev,j)>=0:S(_,j,_.prev)<0||S(_,_.next,j)<0}function N(_,j){var B=_,V=!1,G=(_.x+j.x)/2,Q=(_.y+j.y)/2;do B.y>Q!=B.next.y>Q&&B.next.y!==B.y&&G<(B.next.x-B.x)*(Q-B.y)/(B.next.y-B.y)+B.x&&(V=!V),B=B.next;while(B!==_);return V}function R(_,j){var B=new P(_.i,_.x,_.y),V=new P(j.i,j.x,j.y),G=_.next,Q=j.prev;return _.next=j,j.prev=_,B.next=G,G.prev=B,V.next=B,B.prev=V,Q.next=V,V.prev=Q,V}function v(_,j,B,V){var G=new P(_,j,B);return V?(G.next=V.next,G.prev=V,V.next.prev=G,V.next=G):(G.prev=G,G.next=G),G}function k(_){_.next.prev=_.prev,_.prev.next=_.next,_.prevZ&&(_.prevZ.nextZ=_.nextZ),_.nextZ&&(_.nextZ.prevZ=_.prevZ)}function P(_,j,B){this.i=_,this.x=j,this.y=B,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}i.deviation=function(_,j,B,V){var G=j&&j.length,Q=G?j[0]*B:_.length,H=Math.abs(O(_,0,Q,B));if(G)for(var q=0,U=j.length;q<U;q++){var F=j[q]*B,K=q<U-1?j[q+1]*B:_.length;H-=Math.abs(O(_,F,K,B))}var te=0;for(q=0;q<V.length;q+=3){var ae=V[q]*B,pe=V[q+1]*B,Z=V[q+2]*B;te+=Math.abs((_[ae]-_[Z])*(_[pe+1]-_[ae+1])-(_[ae]-_[pe])*(_[Z+1]-_[ae+1]))}return H===0&&te===0?0:Math.abs((te-H)/H)};function O(_,j,B,V){for(var G=0,Q=j,H=B-V;Q<B;Q+=V)G+=(_[H]-_[Q])*(_[Q+1]+_[H+1]),H=Q;return G}i.flatten=function(_){for(var j=_[0][0].length,B={vertices:[],holes:[],dimensions:j},V=0,G=0;G<_.length;G++){for(var Q=0;Q<_[G].length;Q++)for(var H=0;H<j;H++)B.vertices.push(_[G][Q][H]);G>0&&(V+=_[G-1].length,B.holes.push(V))}return B}}),E0r=(t=>(t[t.MIL=1]="MIL",t[t.INCH=1e3]="INCH",t[t.FT=12e3]="FT",t[t.YARD=36e3]="YARD",t[t.MILE=6336e4]="MILE",t[t.KM=3937007874e-2]="KM",t[t.M=39370]="M",t[t.DM=3937]="DM",t[t.CM=393.7]="CM",t[t.MM=39.37]="MM",t[t.UM=.039]="UM",t[t.NM=394e-7]="NM",t[t.PT=13.88888888888889]="PT",t[t.PX72=13.88888888888889]="PX72",t[t.PX96=10.416666666666666]="PX96",t[t.PX100=10]="PX100",t[t.LTSPICE=6.25]="LTSPICE",t[t.PX1=.1]="PX1",t[t.PX001=.001]="PX001",t))(E0r||{}),A0r=(t=>(t.MIL="mil",t.INCH="inch",t.FT="ft",t.YARD="yard",t.MILE="mile",t.KM="km",t.M="m",t.DM="dm",t.CM="cm",t.MM="mm",t.UM="um",t.NM="nm",t.PT="pt",t.PX72="px(72)",t.PX96="px(96)",t.PX100="px(100)",t))(A0r||{}),Pmi={mil:1,inch:1e3,ft:12e3,yard:36e3,mile:6336e4,km:3937007874e-2,dm:3937,mm:39.37,um:.039,nm:394e-7,pt:13.88888888888889,"px(72)":13.88888888888889,"px(96)":10.416666666666666,"px(100)":10},aPn=(()=>{let t={};for(let e in Pmi)t[Pmi[e]]=e;return t})(),AOe,sPn=(AOe=class{constructor(t,e){this.ratio=t/e}wrap(t){return t*this.ratio}static convert(t,e,i){return t*e/i}},AOe.ASIS=new AOe(1,1),AOe),NOe=class{conversion(t,e,i){if(t===e)return i;let o=t+2+e;return this[o](i)}conversion1(t,e,i){let o=t+2+e,r=this[o](i);return e=="mil"?Math.round(r*10)/10:Math.round(r*1e3)/1e3}mil2mil(t){return t}mil2mm(t){return t*.0254}mil2cm(t){return t*.00254}mil2inch(t){return t/1e3}mm2mm(t){return t}mm2mil(t){let e=Math.pow(10,5);return Math.round(t*39.37007874015748*e)/e}mm2cm(t){return t/10}mm2inch(t){let e=Math.pow(10,8);return Math.round(t*.03937007874015748*e)/e}cm2mil(t){let e=Math.pow(10,6);return Math.round(t*393.7007874015748*e)/e}cm2mm(t){return t*10}cm2inch(t){let e=Math.pow(10,7);return Math.round(t*.3937007874015748*e)/e}inch2mil(t){return t*1e3}inch2mm(t){return t*25.4}inch2cm(t){return t*2.54}};NOe.prototype["px(100)2mil"]=t=>t*10,NOe.prototype["px(100)2mm"]=t=>t*.254,NOe.prototype["mil2px(100)"]=t=>t/10,NOe.prototype["mm2px(100)"]=t=>{let e=Math.pow(10,5);return Math.round(t*3.937007874015748*e)/e};var kOe=null,q3t=new ArrayBuffer(8),p3t=new Float64Array(q3t),m3t=new Uint32Array(q3t),Omi=new Uint16Array(q3t),Rmi=class{static repeat(t,e){let i=new Array(e);for(;e-- >0;)i[e]=t;return i.join("")}static lpad(t,e,i){let o=i-t.length;return o>0?this.repeat(e,o)+t:t}static rpad(t,e,i){let o=i-t.length;return o>0?t+this.repeat(e,o):t}static strHashcode(t){if(t.length>0){let e=0;for(let i=0;i<t.length;i++)e=31*e+t.charCodeAt(i)|0;return e}else return 0}static arraycopy(t,e,i,o,r){if(t.length>=e+r&&i.length>=o+r)for(;r-- >0;)i[o++]=t[e++];else throw new Error("arraycopy out of range")}static undefAsNull(t){return null}static reverse(t,e){for(let i=0,o=t.length-1;o>=0;i++,o--)e[i]=t[o];return e}static sortAsc(t,e){return t-e}static xmlDecode(t){let e=t.length,i=new Array,o=-1;for(let r=0;r<e;r++){let n=t.charAt(r);if(o>=0){if(n===";"){let a=t.substring(o+1,r);switch(a){case"lt":i.push("<");break;case"gt":i.push(">");break;case"quot":i.push('"');break;case"apos":i.push("'");break;case"amp":i.push("&");break;default:if(a.charAt(0)==="#"){let s=parseInt(a.substring(1));i.push(String.fromCharCode(s))}else i.push("&"+a+";")}o=-1}}else n==="&"?o=r:i.push(n)}return o>=0&&i.push(t.substring(o)),i.join("")}static addAll(t,e){for(let i of e)t.push(i)}static addAllSet(t,e){for(let i of e)t.add(i)}static contains(t,e){for(let i of t)if(i.equals(e))return!0;return!1}static equals(t,e){if(t.length==e.length){for(let i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}else return!1}static remove(t,e){let i=0,o=t.length;for(let r=0;r<o;r++)t[r]===e&&(t.splice(r,1),r--,o--,i++);return i}static getUrlVars(){for(var t={},e=location.href.slice(location.href.indexOf("?")+1).split("&"),i=0;i<e.length;i++){var o=e[i].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t}static prefix(){if(!kOe){let t=this.getUrlVars().version;t?kOe="/analyzer/v"+t:kOe="/analyzer"}return kOe}static add2objS(t,e,i){if(e in t)return t[e];{let o=i(e);return t[e]=o,o}}static downloadFile(t,e){let i=document.createElement("a"),o=URL.createObjectURL(e);i.download=t,i.href=o,i.click(),URL.revokeObjectURL(o)}static uuid(){let t=new Array;p3t[0]=new Date().getTime(),t.push(m3t[1].toString(16)),p3t[0]=Math.random(),t.push(Omi[3].toString(16));let e=Omi[2].toString(16);t.push("4"+e.substr(0,3)),p3t[0]=performance.now();let i=m3t[0].toString(16)+m3t[1].toString(16);return t.push("0"+i.substr(0,3)),t.push(i.substr(3)),t.join("-")}static funcCopy(t){return(0,eval)("("+t.toString()+")")}static NVL(...t){for(let e of t)if(e!==null)return e;return null}static isSingle(t){return Array.from(new Set(t)).length===t.length}},A1i=class{static rgb(t){if(0<=t&&t<=255)return t;throw new Error(H0e.format("RGB should not nagative and not over 255(0xFF): %X",t))}static normal(t){if(isFinite(t))return t;throw new Error(H0e.format("%f is not permitted",t))}static positiveOr0(t){if(t>=0)return t;throw new Error(H0e.format("%f must >= 0",t))}static positive(t){if(t>0)return t;throw new Error(H0e.format("%f must > 0",t))}static notnull(t){if(t!=null)return t;throw new Error("invalid null value")}static mustnull(t){if(t===null)return null;throw new Error("value must be null")}static notEmpty(t){if(t==null||t.length===0)throw new Error("invalid empty string");return t}static nullOrEmpty(t){return t==null||t.length===0}static notNullOrUndef(t){if(t!=null)return t;throw new Error("null or undefined is not permitted")}},N0r=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.PERCENT=1]="PERCENT",t[t.LEFT_PAD0=2]="LEFT_PAD0",t))(N0r||{}),k0r=/(\.?0+)$/,H0e=class{static format(t,...e){return this.format1(t,e)}static format1(t,e){let i=this._format(t,e);if(typeof i=="string")return i;throw new Error(this.format("Invalid state on (%d) %s",i,t))}static _format(t,e){let i=[],o=0,r=0,n,a=0,s=0;for(let l=0;l<t.length;l++){let c=t.charAt(l),d=c.charCodeAt(0);switch(o){case 0:d===37?o=1:i.push(c);break;case 1:switch(d){case 100:if(n=e[r++],typeof n=="number")i.push(n.toFixed(0)),o=0;else return l;break;case 102:if(n=e[r++],typeof n=="number")i.push(n.toString()),o=0;else return l;break;case 120:if(n=e[r++],typeof n=="number")i.push((n|0).toString(16)),o=0;else return l;break;case 88:if(n=e[r++],typeof n=="number")i.push((n|0).toString(16).toUpperCase()),o=0;else return l;break;case 115:case 99:n=e[r++],i.push(n===null?"null":n.toString()),o=0;break;case 48:a=l+1,s=-1,o=2;break;case 37:i.push("%"),o=0;break;default:return l}break;case 2:switch(d){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:s=l;break;case 120:if(s>=a){let u=parseInt(t.substring(a,s+1));if(n=e[r++],typeof n=="number")i.push(Rmi.lpad((n|0).toString(16),"0",u)),o=0;else return l}else return l;break;case 88:if(s>=a){let u=parseInt(t.substring(a,s+1));if(n=e[r++],typeof n=="number")i.push(Rmi.lpad((n|0).toString(16).toUpperCase(),"0",u)),o=0;else return l}else return l;break;default:return l}break;default:return l}}return i.join("")}static startsWith(t,e){return t.length>=e.length?t.substring(0,e.length)===e:!1}static endsWith(t,e){return t.length>=e.length?t.substring(t.length-e.length)===e:!1}static split(t,e){let i=new Array,o=0;for(;;){let r=t.exec(e);if(r!==null){let n=t.lastIndex-r[0].length;i.push(e.substring(o,n)),o=t.lastIndex}else{let n=e.substring(o);A1i.nullOrEmpty(n)||i.push(n);break}}return i}static fmtNumber(t){return t.toFixed(5).replace(k0r,"")}},P0r=(t=>(t[t.DEBUG=0]="DEBUG",t[t.INFO=1]="INFO",t[t.WARNING=2]="WARNING",t[t.ERROR=3]="ERROR",t[t.DUMMY=4]="DUMMY",t))(P0r||{});function O0r(t){switch(t){case 0:return"DEBUG";case 1:return"INFO";case 2:return"WARNING";case 3:return"ERROR";case 4:return"DUMMY"}}var R0r=(t,e)=>{t===3?console.error(e):console.log(e)},_0r=(t,e)=>H0e.format("%s %s: %s",new Date,O0r(t),e),N0e,fRe=(N0e=class{constructor(t,e=R0r,i=_0r){this.debug=!1,this.level=t,this.writer=e,this.fmt=i}static mix(...t){let e=4;for(let i of t)i.level<e&&(e=i.level);return new N0e(e,(i,o)=>{for(let r of t)r.write1(i,o)},(i,o)=>o)}wrap(t=null,e=null){let i=t===null?this.fmt:(r,n)=>(n=t(r,n),this.fmt(r,n)),o=e===null?this.writer:(r,n)=>{e(r,n),this.writer(r,n)};return new N0e(this.level,o,i)}chain(t){return t.wrap(this.fmt.bind(this),this.writer.bind(this))}include(t){return this.level<=t}write3(t,e,i){this.include(t)&&this.writer(t,this.fmt(t,H0e.format(e,...i)))}write2(t,e){this.include(t)&&(e instanceof Error?this.writer(t,this.fmt(t,e.stack)):this.writer(t,this.fmt(t,e.toString())))}write1(t,e){this.include(t)&&this.writer(t,this.fmt(t,e))}debug3(t,...e){this.write3(0,t,e)}debug2(t){this.write2(0,t)}debug1(t){this.write1(0,t)}info3(t,...e){this.write3(1,t,e)}info2(t){this.write2(1,t)}info1(t){this.write1(1,t)}warning3(t,...e){this.write3(2,t,e)}warning2(t){this.write2(2,t)}warning1(t){this.write1(2,t)}error3(t,...e){this.write3(3,t,e)}error2(t){this.write2(3,t)}error1(t){this.write1(3,t)}},N0e.DUMMY=new N0e(4),N0e),X3t=new ArrayBuffer(8),h3t=new Float64Array(X3t),f3t=new Uint32Array(X3t),_mi=new Uint16Array(X3t),jmi=ArrayBuffer;try{jmi=self.HTMLImageElement||jmi}catch{}var POe=null;function _oe(t,e,i=0,o=t.length){r(t,null,e,i,o);function r(a,s,l,c,d){let u,p,m,h;if(c<d-1){let f=d-c;if(f>50)s===null&&(s=new Array(f+1)),n(a,s,l,c,(c+d)/2|0,d);else{u=a[c],p=c,m=c,h=d;let g=p+1;for(;g<h;){if(m!=h){if(h=h+-1,l(u,a[h])<=0)continue;a[m]=a[h],m=h;continue}if(l(u,a[g])>=0){p=g,g=p+1;continue}a[m]=a[g],p=g,m=g,g=p+1}a[m]=u,r(a,s,l,c,m),r(a,s,l,m+1,d)}}}function n(a,s,l,c,d,u){r(a,s,l,c,d),r(a,s,l,d,u);for(var p=c,m=d,h=0,f=a[p],g=a[m];p<d&&m<u;){var b=l(f,g);isNaN(b)?(s[h++]=g,g=a[++m]):(b<=0&&(s[h++]=f,f=a[++p]),b>=0&&(s[h++]=g,g=a[++m]))}for(;p<d;p++)s[h++]=a[p];for(;m<u;m++)s[h++]=a[m];for(p=c,m=0;m<h;p++,m++)a[p]=s[m]}}var nC=class{static repeat(t,e){let i=new Array(e);for(;e-- >0;)i[e]=t;return i.join("")}static lpad(t,e,i){let o=i-t.length;return o>0?this.repeat(e,o)+t:t}static rpad(t,e,i){let o=i-t.length;return o>0?t+this.repeat(e,o):t}static strHashcode(t){if(t.length>0){let e=0;for(let i=0;i<t.length;i++)e=31*e+t.charCodeAt(i)|0;return e}else return 0}static arraycopy(t,e,i,o,r){if(t.length>=e+r&&i.length>=o+r)for(;r-- >0;)i[o++]=t[e++];else throw new Error("arraycopy out of range")}static undefAsNull(t){return null}static reverse(t,e){for(let i=0,o=t.length-1;o>=0;i++,o--)e[i]=t[o];return e}static sortAsc(t,e){return t-e}static xmlDecode(t){let e=t.length,i=new Array,o=-1;for(let r=0;r<e;r++){let n=t.charAt(r);if(o>=0){if(n===";"){let a=t.substring(o+1,r);switch(a){case"lt":i.push("<");break;case"gt":i.push(">");break;case"quot":i.push('"');break;case"apos":i.push("'");break;case"amp":i.push("&");break;default:if(a.charAt(0)==="#"){let s=parseInt(a.substring(1));i.push(String.fromCharCode(s))}else i.push("&"+a+";")}o=-1}}else n==="&"?o=r:i.push(n)}return o>=0&&i.push(t.substring(o)),i.join("")}static addAll(t,e){for(let i of e)t.push(i)}static addAllSet(t,e){for(let i of e)t.add(i)}static contains(t,e){for(let i of t)if(i.equals(e))return!0;return!1}static equals(t,e){if(t.length==e.length){for(let i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}else return!1}static remove(t,e){let i=0,o=t.length;for(let r=0;r<o;r++)t[r]===e&&(t.splice(r,1),r--,o--,i++);return i}static getUrlVars(){for(var t={},e=location.href.slice(location.href.indexOf("?")+1).split("&"),i=0;i<e.length;i++){var o=e[i].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t}static prefix(){if(!POe){let t=this.getUrlVars().version;t?POe="/analyzer/v"+t:POe="/analyzer"}return POe}static add2objS(t,e,i){if(e in t)return t[e];{let o=i(e);return t[e]=o,o}}static downloadFile(t,e){let i=document.createElement("a"),o=URL.createObjectURL(e);i.download=t,i.href=o,i.click(),URL.revokeObjectURL(o)}static uuid(){let t=new Array;h3t[0]=new Date().getTime(),t.push(f3t[1].toString(16)),h3t[0]=Math.random(),t.push(_mi[3].toString(16));let e=_mi[2].toString(16);t.push("4"+e.substr(0,3)),h3t[0]=performance.now();let i=f3t[0].toString(16)+f3t[1].toString(16);return t.push("0"+i.substr(0,3)),t.push(i.substr(3)),t.join("-")}static funcCopy(t){return(0,eval)("("+t.toString()+")")}static NVL(...t){for(let e of t)if(e!==null)return e;return null}static isSingle(t){return Array.from(new Set(t)).length===t.length}},j0r=[1,10,100,1e3],OOe=0,Aoe=0;function Bmi(t,e,i){return OOe=Math.abs(t-e),i>=5&&OOe>1e-5||isNaN(i)&&OOe>1e-8?!1:OOe<1e-13?!0:(Aoe=Math.min(zmi(t),zmi(e)),Aoe<10&&(Aoe=10),isNaN(i)||(Aoe=Math.min(Aoe,i)),Fmi(t,Aoe)===Fmi(e,Aoe))}var ROe=0,_Oe=0;function zmi(t){return ROe=0,_Oe=0,t>0?ROe=t-Math.floor(t):ROe=t-Math.ceil(t),_Oe=(ROe.toString()||"").length,_Oe>2?_Oe-2:0}function Fmi(t,e,i){if(typeof t!="number"&&(t=+t),isNaN(t))return NaN;if(e=e|0,e<=0||!t&&!i)return Math.round(t);var o=j0r[e]||Math.pow(10,e)||10;if(i){var r=t<0?"-":"";for(t=t<0?-t:t,t=Math.round(t*o)+"";t.length<=e;)t="0"+t;return t=t.slice(0,-e)+"."+t.slice(-e),parseFloat(r+t)}else return Math.round(t*o+1e-10)/o}var B0r=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.PERCENT=1]="PERCENT",t[t.LEFT_PAD0=2]="LEFT_PAD0",t))(B0r||{}),z0r=/(\.?0+)$/,G0e=class{static format(t,...e){return this.format1(t,e)}static format1(t,e){let i=this._format(t,e);if(typeof i=="string")return i;throw new Error(this.format("Invalid state on (%d) %s",i,t))}static _format(t,e){let i=[],o=0,r=0,n,a=0,s=0;for(let l=0;l<t.length;l++){let c=t.charAt(l),d=c.charCodeAt(0);switch(o){case 0:d===37?o=1:i.push(c);break;case 1:switch(d){case 100:if(n=e[r++],typeof n=="number")i.push(n.toFixed(0)),o=0;else return l;break;case 102:if(n=e[r++],typeof n=="number")i.push(n.toString()),o=0;else return l;break;case 120:if(n=e[r++],typeof n=="number")i.push((n|0).toString(16)),o=0;else return l;break;case 88:if(n=e[r++],typeof n=="number")i.push((n|0).toString(16).toUpperCase()),o=0;else return l;break;case 115:case 99:n=e[r++],i.push(n===null?"null":n.toString()),o=0;break;case 48:a=l+1,s=-1,o=2;break;case 37:i.push("%"),o=0;break;default:return l}break;case 2:switch(d){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:s=l;break;case 120:if(s>=a){let u=parseInt(t.substring(a,s+1));if(n=e[r++],typeof n=="number")i.push(nC.lpad((n|0).toString(16),"0",u)),o=0;else return l}else return l;break;case 88:if(s>=a){let u=parseInt(t.substring(a,s+1));if(n=e[r++],typeof n=="number")i.push(nC.lpad((n|0).toString(16).toUpperCase(),"0",u)),o=0;else return l}else return l;break;default:return l}break;default:return l}}return i.join("")}static startsWith(t,e){return t.length>=e.length?t.substring(0,e.length)===e:!1}static endsWith(t,e){return t.length>=e.length?t.substring(t.length-e.length)===e:!1}static split(t,e){let i=new Array,o=0;for(;;){let r=t.exec(e);if(r!==null){let n=t.lastIndex-r[0].length;i.push(e.substring(o,n)),o=t.lastIndex}else{let n=e.substring(o);Lp.nullOrEmpty(n)||i.push(n);break}}return i}static fmtNumber(t){return t.toFixed(5).replace(z0r,"")}},Lp=class{static rgb(t){if(0<=t&&t<=255)return t;throw new Error(G0e.format("RGB should not nagative and not over 255(0xFF): %X",t))}static normal(t){if(isFinite(t))return t;throw new Error(G0e.format("%f is not permitted",t))}static positiveOr0(t){if(t>=0)return t;throw new Error(G0e.format("%f must >= 0",t))}static positive(t){if(t>0)return t;throw new Error(G0e.format("%f must > 0",t))}static notnull(t){if(t!=null)return t;throw new Error("invalid null value")}static mustnull(t){if(t===null)return null;throw new Error("value must be null")}static notEmpty(t){if(t==null||t.length===0)throw new Error("invalid empty string");return t}static nullOrEmpty(t){return t==null||t.length===0}static notNullOrUndef(t){if(t!=null)return t;throw new Error("null or undefined is not permitted")}},jOe,Bi=(jOe=class{static regular(t){return Math.round(t*this.precision)/this.precision}static eq(t,e){return Math.abs(t-e)<=this.eps}static neq(t,e){return Math.abs(t-e)>this.eps}static less(t,e){return t-e<-this.eps}static lesseq(t,e){return t-e<=this.eps}static greater(t,e){return t-e>this.eps}static greatereq(t,e){return t-e>=-this.eps}static sqrt(t){return Math.abs(t)<=1e-10?0:Math.sqrt(t)}static sortAsc(t,e){return t-e}static sortDesc(t,e){return e-t}},jOe.eps=1e-8,jOe.precision=1e8,jOe);function Q0e(t,e){eRe(t.iterator(),e)}function eRe(t,e){let i=0;for(;t.hasNext();){let o=t.next();e(i++,o)}}var F0r=class{constructor(t){this.idx=-1,this.lst=t}hasNext(){return this.idx<this.lst.length-1}next(){if(this.idx<this.lst.length-1)return this.idx++,this.lst[this.idx];throw new Error("bug")}};function O3t(t){return new F0r(t)}var iC,Ka=(iC=class{static toDegrees(t){return t*180/Math.PI}static toRadians(t){return t/180*Math.PI}static regularD(t){return t=t%360,t=t<0?360+t:t,t===360?0:t}static regular(t){return t=t%iC.PIx2,t=t<0?iC.PIx2+t:t,t===iC.PIx2?0:t}static toQuarterBase(t){return iC.regular((t+iC.PI_4)/iC.PI_2*iC.PI_2)}static toQuarterBaseD(t){return iC.regularD(((t+45)/90|0)*90)}static transformD(t,e){return iC.toDegrees(iC.transform(iC.toRadians(t),e))}static transform(t,e){let i=Math.cos(t),o=Math.sin(t),r=new mi(e.data[6],e.data[7]),n=new mi(i,o).multiply3(e);return iC.regular(n.angle(r))}},iC.PIx2=Math.PI*2,iC.PI_2=Math.PI/2,iC.PI_4=Math.PI/4,iC),rh=class{static dotProd1(t,e,i,o){return t*i+e*o}static dotProd2(t,e,i,o,r,n){return this.dotProd1(i-t,o-e,r-i,n-o)}static dotProd3(t,e,i){return this.dotProd2(t.x,t.y,e.x,e.y,i.x,i.y)}static crossProd1(t,e,i,o){return t*o-e*i}static crossProd2(t,e,i,o,r,n){return this.crossProd1(i-t,o-e,r-i,n-o)}static crossProd3(t,e,i){return this.crossProd2(t.x,t.y,e.x,e.y,i.x,i.y)}static distance2(t,e,i,o){let r=i-t,n=o-e;return r*r+n*n}static distance1(t,e,i,o){return this.hypot(i-t,o-e)}static distance1p(t,e){return this.distance1(t.x,t.y,e.x,e.y)}static hypot(t,e){if(t=Math.abs(t),e=Math.abs(e),e>t){var i=e;e=t,t=i}if(t===0)return e;var o=e/t;return t*Math.sqrt(1+o*o)}},N1i=new ArrayBuffer(16),Umi=new Float64Array(N1i),BOe=new Int32Array(N1i),Cd,mi=(Cd=class{static sortByXAsc(t,e){return t.x-e.x}static sortByYAsc(t,e){return t.y-e.y}static sortByXYAsc(t,e){return t.x<e.x?-1:t.x>e.x?1:t.y-e.y}static caculateAngle(t,e){let i=Math.cos(t),o=Math.sin(t),r=i*e.data[0]+o*e.data[4],n=i*e.data[1]+o*e.data[5],a=new Cd(r,n).normalize();return Math.atan2(a.y,a.x)}static normal(t,e,i){let o=e.sub(t),r=i.sub(e);return o.cross(r)}static getVector2(t){return new Cd(Math.cos(t),Math.sin(t))}static getCrossPoint1(t,e,i,o){if(t.equals1(e)||i.equals1(o)||Bi.eq(1,Math.abs(e.sub(t).normalize().dot(o.sub(i).normalize()))))return null;let r=e.y-t.y,n=t.x-e.x,a=e.x*t.y-t.x*e.y,s=o.y-i.y,l=i.x-o.x,c=o.x*i.y-i.x*o.y,d=r*l-s*n;return new Cd((c*n-a*l)/d,(a*s-c*r)/d)}static getCrossPoint2(t,e,i,o){return this.getCrossPoint1(t,t.add(e),i,i.add(o))}constructor(t,e){this.x=Lp.normal(t),this.y=Lp.normal(e)}get hashed(){return this._hashed==null&&(Umi[0]=this.x,Umi[1]=this.y,this._hashed=BOe[0]^BOe[1]^BOe[2]^BOe[3]),this._hashed}dot(t){return this.x*t.x+this.y*t.y}length(){return Math.sqrt(this.dot(this))}getCos(){return this.x/this.length()}sub(t){var e=this.x-t.x,i=this.y-t.y;return new Cd(e,i)}add(t){var e=this.x+t.x,i=this.y+t.y;return new Cd(e,i)}div(t){return new Cd(this.x/t,this.y/t)}add1(t,e){return new Cd(this.x+t,this.y+e)}mul(t){return new Cd(this.x*t,this.y*t)}cross(t){return this.x*t.y-this.y*t.x}getSin(){return this.y/this.length()}angle2(t){let e=this.y-t.y,i=this.x-t.x;return e=Math.abs(e-0)<10**-4?0:e,i=Math.abs(i-0)<10**-4?0:i,Math.atan2(e,i)}angleD2(t){return Ka.toDegrees(this.angle2(t))}angle(t){return Math.atan2(this.y-t.y,this.x-t.x)}angleX(t=Cd.ORIGIN){let e=this.angle(t);return e<0&&(e=Math.PI*2+e),e}angleD(t){return Ka.toDegrees(this.angle(t))}distance1(t){let e=t.x-this.x,i=t.y-this.y;return rh.hypot(e,i)}distance2(t){let e=t.x-this.x,i=t.y-this.y;return e*e+i*i}rotateD(t,e){return this.rotate(t,Ka.toRadians(e))}rotate(t,e){let i=Math.cos(e),o=Math.sin(e),r=this.x-t.x,n=this.y-t.y,a=r*i+n*-o,s=r*o+n*i;return t.add1(a,s)}multiply3(t){let e=this.x*t.data[0]+this.y*t.data[3]+t.data[6],i=this.x*t.data[1]+this.y*t.data[4]+t.data[7];return new Cd(e,i)}multiply4(t){let e=this.x*t.data[0]+this.y*t.data[4]+t.data[12],i=this.x*t.data[1]+this.y*t.data[5]+t.data[13];return new Cd(e,i)}hashCode(){return this.hashed}equals(t,e){return t instanceof Cd?Bmi(t.x,this.x,e)&&Bmi(t.y,this.y,e):!1}equals1(t){return t?Bi.eq(this.x,t.x)&&Bi.eq(this.y,t.y):!1}equals2(t,e){return t instanceof Cd?Math.abs(this.x-t.x)<=e&&Math.abs(this.y-t.y)<=e:!1}similarEquals(t,e=.5){return Math.abs(this.x*.1-t.x*.1)<=e&&Math.abs(this.y*.1-t.y*.1)<=e}toString(){return"Vector [X="+this.x+", Y="+this.y+"]"}bbox(){let t=this.x,e=this.y;return new rC(t,t,e,e)}normalize(){if(this.x===0&&this.y===0)return new Cd(0,0);let t=this.x/this.length(),e=this.y/this.length();return new Cd(t,e)}regular(t=1e-4){let e=Math.round(1/t);return new Cd(Math.round(this.x*e)/e,Math.round(this.y*e)/e)}round(t=4){let e=10**(t|0);return new Cd(Math.round(this.x*e)/e,Math.round(this.y*e)/e)}mirrorX(t=Cd.ORIGIN){return new Cd(this.x,2*t.y-this.y)}mirrorY(t=Cd.ORIGIN){return new Cd(2*t.x-this.x,this.y)}mirrorCenter(t=Cd.ORIGIN){return new Cd(2*t.x-this.x,2*t.y-this.y)}clone(){return new Cd(this.x,this.y)}mirror(t=Cd.ORIGIN){return new Cd(2*t.x-this.x,2*t.y-this.y)}pointOnRays(t,e){let i=Ka.toRadians(t);return new Cd(this.x+Math.cos(i)*e,this.y+Math.sin(i)*e)}pointOnRays2(t,e){let i=t.angle(this);return new Cd(this.x+Math.cos(i)*e,this.y+Math.sin(i)*e)}scale(t){return new Cd(this.x*t,this.y*t)}},Cd.ORIGIN=new Cd(0,0),Cd.X_UNIT_VECTOR=new Cd(1,0),Cd.Y_UNIT_VECTOR=new Cd(0,1),Cd),U0r=(t=>(t[t.LEFT=0]="LEFT",t[t.CENTER=1]="CENTER",t[t.RIGHT=2]="RIGHT",t))(U0r||{}),V0r=(t=>(t[t.TOP=0]="TOP",t[t.CENTER=1]="CENTER",t[t.BOTTOM=2]="BOTTOM",t))(V0r||{}),Ab,JU=(Ab=class{constructor(t,e){this.horizontal=t,this.vertical=e}},Ab.LT=new Ab(0,0),Ab.LC=new Ab(0,1),Ab.LB=new Ab(0,2),Ab.CT=new Ab(1,0),Ab.CC=new Ab(1,1),Ab.CB=new Ab(1,2),Ab.RT=new Ab(2,0),Ab.RC=new Ab(2,1),Ab.RB=new Ab(2,2),Ab),H0r=(t=>(t[t.INNER=0]="INNER",t[t.OUTER=1]="OUTER",t[t.SEPARATED=2]="SEPARATED",t[t.INTERSECTED=3]="INTERSECTED",t[t.EQ=4]="EQ",t[t.INSIDE_TOUCHED=5]="INSIDE_TOUCHED",t[t.OUTSIDE_TOUCHED=6]="OUTSIDE_TOUCHED",t))(H0r||{}),LS=class{constructor(){this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.minY=Number.POSITIVE_INFINITY,this.maxY=Number.NEGATIVE_INFINITY}ext1(t){return this.minX=Math.min(this.minX,t.minX),this.maxX=Math.max(this.maxX,t.maxX),this.minY=Math.min(this.minY,t.minY),this.maxY=Math.max(this.maxY,t.maxY),this}ext2(t){return this.minX=Math.min(this.minX,t.x),this.maxX=Math.max(this.maxX,t.x),this.minY=Math.min(this.minY,t.y),this.maxY=Math.max(this.maxY,t.y),this}ext3(t){for(let e=0;e<t.length;e++){let i=t[e];this.ext2(i)}return this}ext4(t){return Q0e(t,(e,i)=>(this.ext2(i),!0)),this}ext5(t,e,i,o){return this.minX=Math.min(this.minX,t),this.maxX=Math.max(this.maxX,e),this.minY=Math.min(this.minY,i),this.maxY=Math.max(this.maxY,o),this}ext6(t,e){return this.minX=Math.min(this.minX,t),this.maxX=Math.max(this.maxX,t),this.minY=Math.min(this.minY,e),this.maxY=Math.max(this.maxY,e),this}ext7(t){if(t<0){let e=t*2;if(e<this.minX-this.maxX||e<this.minY-this.maxY)throw new Error("")}return this.minX-=t,this.maxX+=t,this.minY-=t,this.maxY+=t,this}ext8(t){let e=[];for(let i=0;i<t.length;i+=2)e.push(new mi(t[i],t[i+1]));return this.ext3(e)}ext9(t,e,i,o){return this.minX=Math.min(this.minX,t),this.maxX=Math.max(this.maxX,t+i),this.minY=Math.min(this.minY,e),this.maxY=Math.max(this.maxY,e+o),this}ext10({x:t,y:e,width:i,height:o}){return this.ext9(t,e,i,o)}valid(){return isFinite(this.minX)&&isFinite(this.maxX)&&isFinite(this.minY)&&isFinite(this.maxY)}clear(){this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.minY=Number.POSITIVE_INFINITY,this.maxY=Number.NEGATIVE_INFINITY}build(){return new rC(this.minX,this.maxX,this.minY,this.maxY)}build1(){return this.valid()?new rC(this.minX,this.maxX,this.minY,this.maxY):new rC(0,0,0,0)}},wxe=new Float64Array(4),rC=class J8{static extendRect({x:e,y:i,width:o,height:r}){return new J8(e,e+o,i,i+r)}static extend1(e,i){if(e===null)return new J8(i.x,i.x,i.y,i.y);{let o=Math.min(e.minX,i.x),r=Math.max(e.maxX,i.x),n=Math.min(e.minY,i.y),a=Math.max(e.maxY,i.y);return new J8(o,r,n,a)}}static extend2(e,i){if(e){let o=Math.min(e.minX,i.minX),r=Math.max(e.maxX,i.maxX),n=Math.min(e.minY,i.minY),a=Math.max(e.maxY,i.maxY);return new J8(o,r,n,a)}else return i}static extend3(e,i){let o=Math.min(e.x,i.x),r=Math.max(e.x,i.x),n=Math.min(e.y,i.y),a=Math.max(e.y,i.y);return new J8(o,r,n,a)}static extend4(e,i,o){return new J8(e.x-i/2,e.x+i/2,e.y-o/2,e.y+o/2)}constructor(e,i,o,r){if(this.minX=Lp.normal(e),this.maxX=Lp.normal(i),this.minY=Lp.normal(o),this.maxY=Lp.normal(r),e>i||o>r)throw new Error(`min > max is not permitted: [${e}, ${i}, ${o}, ${r}]`)}get data(){return wxe[0]=this.minX,wxe[1]=this.maxX,wxe[2]=this.minY,wxe[3]=this.maxY,wxe}isContains(e){return this.isContains1(e.x,e.y)}points(){return[this.LL(),this.LR(),this.UR(),this.UL(),this.LL()]}isContains1(e,i){return this.isContainsX(e)&&this.isContainsY(i)}isContains2(e,i){return this.isContainsX1(e)&&this.isContainsY1(i)}isContainsX(e){return e>=this.minX&&e<=this.maxX}isContainsX1(e){return Bi.greatereq(e,this.minX)&&Bi.lesseq(e,this.maxX)}isContainsY(e){return e>=this.minY&&e<=this.maxY}isContainsY1(e){return Bi.greatereq(e,this.minY)&&Bi.lesseq(e,this.maxY)}isIntersect(e){return!(this.maxX<e.minX||this.minX>e.maxX||this.maxY<e.minY||this.minY>e.maxY)}extendOfSize(e){return Lp.positiveOr0(this.maxX-this.minX+e*2),Lp.positiveOr0(this.maxY-this.minY+e*2),new J8(this.minX-e,this.maxX+e,this.minY-e,this.maxY+e)}isInside(e){return this.minX>=e.minX&&this.maxX<=e.maxX&&this.minY>=e.minY&&this.maxY<=e.maxY}isContainsBBox(e){return this.maxX>=e.maxX&&this.minX<=e.minX&&this.maxY>=e.maxY&&this.minY<=e.minY}isContainsBBox1(e){return Bi.greatereq(this.maxX,e.maxX)&&Bi.lesseq(this.minX,e.minX)&&Bi.greatereq(this.maxY,e.maxY)&&Bi.lesseq(this.minY,e.minY)}intersect(e){let i=Math.max(this.minX,e.minX),o=Math.min(this.maxX,e.maxX);if(i>o)return null;let r=Math.max(this.minY,e.minY),n=Math.min(this.maxY,e.maxY);return r>n?null:new J8(i,o,r,n)}intersection1(e){let i=Math.max(this.minX,e.minX),o=Math.min(this.maxX,e.maxX);if(Bi.greater(i,o))return null;i>o&&(o=i);let r=Math.max(this.minY,e.minY),n=Math.min(this.maxY,e.maxY);return Bi.greater(r,n)?null:(r>n&&(n=r),new J8(i,o,r,n))}width(){return this.maxX-this.minX}height(){return this.maxY-this.minY}UL(){return new mi(this.minX,this.maxY)}UR(){return new mi(this.maxX,this.maxY)}LL(){return new mi(this.minX,this.minY)}LR(){return new mi(this.maxX,this.minY)}center(){return new mi(this.maxX-(this.maxX-this.minX)/2,this.maxY-(this.maxY-this.minY)/2)}area(){return this.width()*this.height()}transform(e){let i=new LS;return i.ext2(this.LL().multiply3(e)),i.ext2(this.LR().multiply3(e)),i.ext2(this.UR().multiply3(e)),i.ext2(this.UL().multiply3(e)),i.build()}transform4(e){let i=new LS;return i.ext2(this.LL().multiply4(e)),i.ext2(this.LR().multiply4(e)),i.ext2(this.UR().multiply4(e)),i.ext2(this.UL().multiply4(e)),i.build()}isSeparated(e){if(e==null||e==null)return!1;let i;this.minX>=e.minX?i=this.minX:i=e.minX;let o;if(this.maxX<=e.maxX?o=this.maxX:o=e.maxX,i>o)return!0;{let r;this.minY>=e.minY?r=this.minY:r=e.minY;let n;return this.maxY<=e.maxY?n=this.maxY:n=e.maxY,r>n}}relation(e){let i=0,o=0,r;this.minX>e.minX?(i++,r=this.minX):this.minX===e.minX?r=this.minX:(o++,r=e.minX);let n;if(this.maxX<e.maxX?(i++,n=this.maxX):this.maxX===e.maxX?n=this.maxX:(o++,n=e.maxX),r>n)return 2;{let a;this.minY>e.minY?(i++,a=this.minY):this.minY===e.minY?a=this.minY:(o++,a=e.minY);let s;return this.maxY<e.maxY?(i++,s=this.maxY):this.maxY===e.maxY?s=this.maxY:(o++,s=e.maxY),a>s?2:i===4?0:o===4?1:i===0&&o===0?4:r===n||a===s?6:i!==o?5:3}}zoom(e){let i=this.width(),o=this.height(),r=this.center();return e!=0&&(i/=e/2,o/=e/2),new J8(r.x-i,r.x+i,r.y-i,r.y+i)}toString(){return"BBox [minX="+this.minX+", maxX="+this.maxX+", minY="+this.minY+", maxY="+this.maxY+"]"}equals(e){return this.minY==e.minY&&this.minX==e.minX&&this.maxX==e.maxX&&this.maxY==e.maxY}extendSize(e,i){return Object.is(void 0,i)&&(i=e),J8.extend4(this.center(),this.width()+e,this.height()+i)}positionOnBBox(e,i=0){let o=this.center(),r=this.width()*i/2,n=this.height()*i/2,a=e.x-o.x,s=e.y-o.y;return a>r?s>n?JU.RT:s<-n?JU.RB:JU.RC:a<-r?s>n?JU.LT:s<-n?JU.LB:JU.LC:s>n?JU.CT:s<-n?JU.CB:JU.CC}bbox(){return this}},tRe=class Yc{static mul(e,i,o,r,n,a){let s=0,l=0;for(let c=0;c<e;c++){for(let d=0;d<o;d++){let u=d,p=0;for(let m=0;m<i;m++)p+=r[l+m]*n[u],u+=o;a[s++]=p}l+=i}}constructor(e,i,o){this.m=Lp.normal(e),this.n=Lp.normal(i);let r=e*i;if(o.length===r){for(let n=0;n<o.length;n++)Lp.normal(o[n]);this.data=o}else throw new Error("invalid matrix size")}mul(e){if(this.n===e.m){let i=new Array(this.m*e.n);return Yc.mul(this.m,this.n,e.n,this.data,e.data,i),new Yc(this.m,e.n,i)}else throw new Error("m !== p")}toString(){let e=[];e.push("Matrix ("),e.push(this.m.toString()),e.push(" x "),e.push(this.n.toString()),e.push(")");let i=0;for(let o=0;o<this.m;o++)for(let r=0;r<this.n;r++){let n=this.data[i++].toString();r===0?(e.push(`
`),e.push("	"),e.push(n)):(e.push(", "),e.push(n))}return e.join("")}static on(e,i,o){return e*i+o}initExpandMatrix(e){let i=this.m,o=this.n,r=o*2,n=new Array(i*r);for(let a=0;a<i;a++)for(let s=0;s<r;s++)s<o?n[Yc.on(r,a,s)]=e[Yc.on(o,a,s)]:s===i+a?n[Yc.on(r,a,s)]=1:n[Yc.on(r,a,s)]=0;return n}inverseMatrix(e,i,o){for(let r=0;r<i;r++){let n=e[Yc.on(o,r,r)];for(let a=0;a<o;a++)e[Yc.on(o,r,a)]/=n}return e}getMatrixRank(e,i,o){let r=Math.min(i,o);for(let n=0;n<i;n++){if(e[Yc.on(o,n,n)]===0){let a=new Array(o),s;for(s=n;s<i;s++)if(e[Yc.on(o,s,n)]!==0){nC.arraycopy(e,Yc.on(o,s,0),a,0,o),nC.arraycopy(e,Yc.on(o,n,0),e,Yc.on(o,s,0),o),nC.arraycopy(a,0,e,Yc.on(o,n,0),o);break}s>=i&&(r-=1)}if(!(r<i))for(let a=0;a<i;a++){if(a===n)continue;let s=e[Yc.on(o,a,n)]/e[Yc.on(o,n,n)];for(let l=0;l<o;l++)e[Yc.on(o,a,l)]-=e[Yc.on(o,n,l)]*s}}return r}getInverseMatrix(){if(this.m!==this.n)throw new Error("The matrix is an "+this.m+"x"+this.n+" order matrix, non-square matrix, please check!");function e(a){return Bi.lesseq(Math.abs(a),0)}let i=this.initExpandMatrix(this.data.slice(0)),o=this.n*2;function r(a,s){for(let l=0;l<o;l++){let c=i[Yc.on(o,a,l)];i[Yc.on(o,a,l)]=i[Yc.on(o,s,l)],i[Yc.on(o,s,l)]=c}}for(let a=0;a<this.m;a++){let s=Math.abs(i[Yc.on(o,a,a)]),l=a;if(e(i[Yc.on(o,a,a)]))for(let d=a+1;d<this.m;d++){if(e(i[Yc.on(o,d,a)])){Math.abs(i[Yc.on(o,d,a)])>s&&(s=Math.abs(i[Yc.on(o,d,a)]),l=d);continue}r(a,d);break}if(e(i[Yc.on(o,a,a)])){if(s===0)throw new Error("The matrix is a non-full rank matrix, please check!");console.warn("The matrix may be a non-full rank matrix, please check!"),l!==a&&r(a,l)}let c=1/i[Yc.on(o,a,a)];for(let d=0;d<o;d++)i[Yc.on(o,a,d)]*=c;for(let d=0;d<this.m;d++){if(a===d)continue;let u=i[Yc.on(o,d,a)];for(let p=a;p<o;p++)i[Yc.on(o,d,p)]-=i[Yc.on(o,a,p)]*u}}let n=[];for(let a=0;a<this.m;a++)for(let s=this.n;s<o;s++)n[Yc.on(this.n,a,s-this.n)]=i[Yc.on(o,a,s)];return new Yc(this.m,this.n,n)}getTransposeMatrix(){let e=new Array(this.data.length);for(let i=0;i<this.m;i++)for(let o=0;o<this.n;o++)e[o*this.n+i]=this.data[i*this.m+o];return new Yc(this.n,this.m,e)}hashCode(){let e=0;for(let i of this.data)e+=i;return e}equals(e){return this===e?!0:e===null?!1:e instanceof Yc?!(this.m!=e.m||this.n!=e.n||!nC.equals(this.data,e.data)):!1}},G0r=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],rm,k1i=(rm=class extends tRe{static translate(t,e,i){return new rm([1,0,0,0,0,1,0,0,0,0,1,0,t,e,i,1])}static translate1(t){return new rm([1,0,0,0,0,1,0,0,0,0,1,0,t.x,t.y,t.z,1])}static rotateX(t){let e=Math.cos(t),i=Math.sin(t);return new rm([1,0,0,0,0,e,i,0,0,-i,e,0,0,0,0,1])}static rotateY(t){let e=Math.cos(t),i=Math.sin(t);return new rm([e,0,-i,0,0,1,0,0,i,0,e,0,0,0,0,1])}static rotateZ(t){let e=Math.cos(t),i=Math.sin(t);return new rm([e,i,0,0,-i,e,0,0,0,0,1,0,0,0,0,1])}static rotateAxis(t,e){t=t.normalize();let i=t.x,o=t.y,r=t.z,n=Math.sin(e),a=Math.cos(e);return new rm([i*i*(1-a)+a,i*o*(1-a)+r*n,i*r*(1-a)-o*n,0,i*o*(1-a)-r*n,o*o*(1-a)+a,o*r*(1-a)+i*n,0,i*r*(1-a)+o*n,o*r*(1-a)-i*n,r*r*(1-a)+a,0,0,0,0,1])}static scale(t,e=t,i=t){return new rm([t,0,0,0,0,e,0,0,0,0,i,0,0,0,0,1])}static flipX(){return new rm([1,0,0,0,0,-1,0,0,0,0,1,0,0,0,0,1])}static flipY(){return new rm([-1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}static rotateZForPoint(t,e){return t.equals1(mi.ORIGIN)?rm.rotateZ(e):rm.translate(-t.x,-t.y,0).rotateZ(e).translate1(t.x,t.y,0)}static getMatrix4(t,e,i,o){let r=Math.cos(e),n=Math.sin(e),a=i*(t.x*r-t.y*n)+o.x,s=t.x*n+t.y*r+o.y,l=[i*r,n,0,0,-n*i,r,0,0,0,0,1,0,a,s,0,1];return new rm(l)}constructor(t=G0r){super(4,4,t)}translate(t){return this.multiply4(rm.translate1(t))}translate1(t,e,i){return this.multiply4(rm.translate(t,e,i))}rotateX(t){return this.multiply4(rm.rotateX(t))}rotateY(t){return this.multiply4(rm.rotateY(t))}rotateZ(t){return this.multiply4(rm.rotateZ(t))}scale(t,e=t,i=t){return this.multiply4(rm.scale(t,e,i))}scale1(t){return this.multiply4(rm.scale(t.x,t.y,t.z))}setOrigin(t,e,i){return rm.translate(-t,-e,-i).multiply4(this).translate1(t,e,i)}setOrigin1(t){return this.setOrigin(t.x,t.y,t.z)}multiply4(t){let e=new Array(16);return tRe.mul(4,4,4,this.data,t.data,e),new rm(e)}getInverseMatrix(){let t=super.getInverseMatrix();return new rm(t.data)}getTransposeMatrix(){let t=super.getTransposeMatrix();return new rm(t.data)}inverse(){let t=this.getInverseMatrix();return new rm(t.data)}toMatrix3(){let t=this.data;return new zd([t[0],t[1],0,t[4],t[5],0,t[12],t[13],1])}},rm.ORIGIN=new rm,rm);function Cxe(t){return A1i.normal(parseFloat(t))}var Y0r=[1,0,0,0,1,0,0,0,1],sp,zd=(sp=class extends tRe{static translate(t,e){return new sp([1,0,0,0,1,0,t,e,1])}static translate1(t){return this.translate(t.x,t.y)}static rotate(t){let e=Math.cos(t),i=Math.sin(t);return new sp([e,i,0,-i,e,0,0,0,1])}static rotateD(t){return this.rotate(Ka.toRadians(t))}static scale(t,e=t){return new sp([t,0,0,0,e,0,0,0,1])}static scale1(t,e){return new sp([t,0,0,0,e,0,0,0,1])}static toDOMMatrix(t){let[e,i,,o,r,,n,a]=t.data;return`matrix(${[e,i,o,r,n,a].join(",")})`}static svgTrasform(t){let e=t.split(" "),i=null;return e.forEach(o=>{o=o.trim();let r=o.trim().replace(")","").split("("),n=r[0],a=r[1].split(",");switch(n){case"translate":let s=Cxe(a[0]),l=Cxe(a[1]);i=i?i.translate(s,l):sp.translate(s,l);break;case"rotate":let c=Cxe(a[0]),d=Cxe(a[1]),u=Cxe(a[2]);i=i?i.setOrigin(d,u):sp.translate(d,u),i=i.rotateD(c);break;default:return}}),i}constructor(t=Y0r){super(3,3,t);let e=t[0],i=t[3],o=t[1],r=t[4];this.iScale=Math.sqrt(e*e+o*o),this.jScale=Math.sqrt(i*i+r*r)}isMirrored(){return this.det()<0}multiply3(t){let e=new Array(9);return tRe.mul(3,3,3,this.data,t.data,e),new sp(e)}translate(t,e){return this.multiply3(sp.translate(t,e))}translate1(t){return this.multiply3(sp.translate1(t))}scale(t,e=t){return this.multiply3(sp.scale(t,e))}scale1(t,e){return this.multiply3(sp.scale1(t,e))}det(){return this.data[0]*this.data[4]-this.data[3]*this.data[1]}invert(){let t=this.getInverseMatrix();return new sp(t.data)}rotateD(t){return this.multiply3(sp.rotateD(t))}rotate(t){return this.multiply3(sp.rotate(t))}resetOffset(){let t=this.data;return new sp([t[0],t[1],0,t[3],t[4],0,0,0,1])}setOrigin(t,e){return sp.translate(-t,-e).multiply3(this).translate(t,e)}setOrigin1(t){return this.setOrigin(t.x,t.y)}getInverseMatrix(){return new sp(super.getInverseMatrix().data)}getTransposeMatrix(){let t=super.getTransposeMatrix();return new sp(t.data)}toMatrix4(){let t=this.data;return new k1i([t[0],t[1],0,t[2],t[3],t[4],0,t[5],0,0,1,0,t[6],t[7],0,t[8]])}scaleNum(t){return!t||isNaN(t)?t:t*this.iScale}},sp.ORIGIN=new sp,sp.MIRROR_Y=new sp([1,0,0,0,-1,0,0,0,1]),sp.MIRROR_X=new sp([-1,0,0,0,1,0,0,0,1]),sp.ROT_90=new sp([0,1,0,-1,0,0,0,0,1]),sp.ROT_N90=new sp([0,-1,0,1,0,0,0,0,1]),sp),W0r=(t=>(t[t.BUTT=0]="BUTT",t[t.ROUND=1]="ROUND",t[t.SQUARE=2]="SQUARE",t))(W0r||{}),uZ=(t=>(t[t.CW=0]="CW",t[t.CCW=1]="CCW",t))(uZ||{}),Fxe=class{},R3t=class Ixe{constructor(e,i,o){this.p1=e,this.p2=i,this.p3=o}barycentre(){return Ixe.barycentre(this.p1,this.p2,this.p3)}incentre(){return Ixe.incentre(this.p1,this.p2,this.p3)}static barycentre(e,i,o){let r=e.x+i.x+o.x,n=e.y+i.y+o.y;return new mi(r/3,n/3)}static incentre(e,i,o){let r=i.sub(o).length(),n=e.sub(o).length(),a=e.sub(i).length(),s=r+n+a,l=r*e.x+n*i.x+a*o.x,c=r*e.y+n*i.y+a*o.y;return new mi(l/s,c/s)}area(){return Ixe.area(this.p1,this.p2,this.p3)}static area(e,i,o){return this.area2(e.x,e.y,i.x,i.y,o.x,o.y)/2}static area2(e,i,o,r,n,a){return Math.abs(rh.crossProd2(e,i,o,r,n,a))}scale(e,i){let o=zd.translate(-e.x,-e.y).scale(i).translate1(e),r=this.p1.multiply3(o),n=this.p2.multiply3(o),a=this.p3.multiply3(o);return new Ixe(r,n,a)}scaleOnBarycentre(e){return this.scale(this.barycentre(),e)}scaleOnIncentre(e){return this.scale(this.incentre(),e)}extend(e){let i=this.incentre(),o=this.p1.add(this.p2).sub(i).scale(1/2),r=o.length(),n=mi.ORIGIN.pointOnRays2(o,r+e).length()/r;return this.scaleOnIncentre(n)}container(e){let i=this.p3.sub(this.p1),o=this.p2.sub(this.p1),r=e.sub(this.p1),n=i.dot(i),a=i.dot(o),s=i.dot(r),l=o.dot(o),c=o.dot(r),d=1/(n*l-a*a),u=(l*s-a*c)*d;if(u<0||u>1)return!1;let p=(n*c-a*s)*d;return p<0||p>1?!1:u+p<=1}};function zOe(){return{minDistance:Number.POSITIVE_INFINITY,start:null,end:null}}var q9=class dZ{static getMinDistanceWithoutCross(e,i){let o=zOe();return dZ.minLine(e,i,o),o.minDistance}static getMinDistance(e,i){return q8(e,i)?0:this.getMinDistanceWithoutCross(e,i)}static getMinLineWithCross(e,i){let o=zOe();return dZ.minLine(e,i,o),new Xt(o.start,o.end)}static getMinLine(e,i){return dZ.intersection(e,i)||this.getMinLineWithCross(e,i)}static getMinDistanceFromPoint(e,i){let o=zOe();if(i instanceof Xt)this.point2LineMinLine(o,i,e);else if(i instanceof Oi)this.point2ArcMinDistance(e,i,o);else throw new Error("not support");return o.minDistance}constructor(e,i){if(this.pt1=e,this.pt2=i,this.minline=dZ.intersection(e,i),this.minline)this.minDistance=0;else{let o=zOe();dZ.minLine(e,i,o),this.minline=new Xt(o.start,o.end),this.minDistance=o.minDistance}}getDistance(){return this.minDistance}getLine(){return this.minline}static intersection(e,i){let o=q8(e,i);if(o===0)return;let r=new Array;for(let n=0;n<o;n+=2){let a=new mi(At[n],At[n+1]);r.push(a)}return r.length>1?new Xt(r[0],r[1]):new Xt(r[0],r[0])}static minLine(e,i,o){if(e instanceof Xt&&i instanceof Xt)return this.minDistanceForLines(e,i,o);if(e instanceof Oi&&i instanceof Xt)return this.minDistanceForLineAndArc(e,i,o);if(e instanceof Xt&&i instanceof Oi)return this.minDistanceForLineAndArc(i,e,o);if(e instanceof Oi&&i instanceof Oi)return this.minDistanceForArcs(e,i,o);throw new Error("not support")}static minDistanceForLines(e,i,o){[e.start(),e.end(),i.start(),i.end()].forEach((r,n)=>{n<2?this.point2LineMinLine(o,i,r):this.point2LineMinLine(o,e,r)})}static minDistanceForLineAndArc(e,i,o){this.point2LineMinLine(o,i,e.start()),this.point2LineMinLine(o,i,e.svgEnd);let r=dZ.foot(i,e.center);i.bbox().extendOfSize(1e-8).isContains(r)&&this.point2ArcMinLine(o,e,r),this.point2ArcMinLine(o,e,i.start()),this.point2ArcMinLine(o,e,i.end())}static minDistanceForArcs(e,i,o){this.concentricArc(e,i,o),this.point2ArcMinDistance(i.start(),e,o),this.point2ArcMinDistance(i.svgEnd,e,o),this.point2ArcMinDistance(e.start(),i,o),this.point2ArcMinDistance(e.svgEnd,i,o),(K9(e,i.center)||K9(i,e.center))&&this.shortestLineForArcs(e,i,o)}static minLineForArcAndLine(e,i,o){let r=e.pointOn(o.angleD(e.center)),n=e.pointOn(e.center.angleD(o));this.arcShortestLine(e,i,o,r),this.arcShortestLine(e,i,o,n)}static arcInnerLineFootSegment(e,i,o){let r=o.distance1(e.center);if(r!==0){let n=e.rx*(o.y-e.center.y)/r+e.center.y,a=e.rx*(o.x-e.center.x)/r+e.center.x;r=e.rx-r,r<i.minDistance&&(i.minDistance=r,i.start=new mi(a,n),i.end=o)}else r=e.rx-r,r<i.minDistance&&(i.minDistance=r,i.start=e.start(),i.end=o)}static shortestLineForArcs(e,i,o){let r=e.center.angleD(i.center),n=i.center.angleD(e.center),a=e.pointOn(r),s=e.pointOn(n),l=i.pointOn(r),c=i.pointOn(n);K9(e,a)&&(this.arcShortestLine(i,o,a,l),this.arcShortestLine(i,o,a,c)),K9(e,s)&&(this.arcShortestLine(i,o,s,l),this.arcShortestLine(i,o,s,c)),this.shortestLineForArcs1(e,i,o)}static shortestLineForArcs1(e,i,o){let r=i.start().sub(e.center).normalize(),n=i.end().sub(e.center).normalize(),a=e.start().sub(i.center).normalize(),s=e.end().sub(i.center).normalize(),l=e.center.add(r.mul(e.rx)),c=e.center.add(n.mul(e.rx)),d=i.center.add(a.mul(i.rx)),u=i.center.add(s.mul(i.rx));K9(e,l)&&Bi.greater(i.start().distance2(e.center),0)&&this.arcShortestLine(e,o,i.start(),l),K9(e,c)&&Bi.greater(i.end().distance2(e.center),0)&&this.arcShortestLine(e,o,i.end(),c),K9(i,d)&&Bi.greater(e.start().distance2(i.center),0)&&this.arcShortestLine(i,o,e.start(),d),K9(i,u)&&Bi.greater(e.end().distance2(i.center),0)&&this.arcShortestLine(i,o,e.end(),u)}static concentricArc(e,i,o){if(!(e.center.distance1(i.center)<1e-5&&e.rx===i.rx&&e.ry===i.ry))return;let r=e.start().distance1(i.svgEnd);r<o.minDistance&&(o.minDistance=r,o.start=e.start(),o.end=i.svgEnd),r=i.start().distance1(e.svgEnd),r<o.minDistance&&(o.minDistance=r,o.start=i.start(),o.end=e.svgEnd)}static point2ArcMinDistance(e,i,o){if(K9(i,e)){let r=i.pointOn(e.angleD(i.center)),n=i.pointOn(i.center.angleD(e));this.arcShortestLine(i,o,e,r),this.arcShortestLine(i,o,e,n)}else this.minLineSegment(o,i.start(),e),this.minLineSegment(o,i.svgEnd,e)}static point2ArcMinLine(e,i,o){if(K9(i,o)){let r=o.distance1(i.center);r>i.rx||r>i.ry?this.minLineForArcAndLine(i,e,o):this.arcInnerLineFootSegment(i,e,o)}}static point2LineMinLine(e,i,o){let r=dZ.foot(i,o);i.bbox().extendOfSize(1e-8).isContains(r)?this.minLineSegment(e,r,o):(this.minLineSegment(e,i.start(),o),this.minLineSegment(e,i.end(),o))}static minLineSegment(e,i,o){let r=i.distance1(o);r<e.minDistance&&(e.minDistance=r,e.start=i,e.end=o)}static arcShortestLine(e,i,o,r){if(!K9(e,r))return;let n=o.distance1(r);n<i.minDistance&&(i.minDistance=n,i.start=o,i.end=r)}static foot(e,i){if(e.isPoint())return e.start();if(!Bi.eq(e.b,0)&&!Bi.eq(e.a,0)){let o=e.start(),r=e.direct,n=(i.x-o.x)*r.x+(i.y-o.y)*r.y;return new mi(o.x+r.x*n,o.y+r.y*n)}else return Bi.eq(e.b,0)&&!Bi.eq(e.a,0)?new mi(e.start().x,i.y):!Bi.eq(e.b,0)&&Bi.eq(e.a,0)?new mi(i.x,e.start().y):i}};function K9(t,e){if(Bi.eq(t.sweepAngle,360))return!0;let i=Ka.regularD(e.angleD(t.center));return t.sweepAngle>0?(Bi.less(i,t.startAngle)&&(i+=360),Bi.greatereq(t.endAngle(),i)):(Bi.greater(i,t.startAngle)&&(i-=360),Bi.lesseq(t.endAngle(),i))}var Q0r=[1,10,100,1e3],Vmi="http://www.w3.org/2000/svg",Hmi="http://www.w3.org/1999/xlink",Gmi="http://www.w3.org/XML/1998/namespace",Ymi="https://easyeda.com/",lPn=(function(){var t={svg:Vmi,xlink:Hmi,xml:Gmi,c:Ymi};return t[Vmi]="svg",t[Hmi]="xlink",t[Gmi]="xml",t[Ymi]="c",t})(),zf=(function(){var t={RATLINES:9,MODEL3D:19,ALL:11,TOPSILKLAYER:3,TOPLAYER:1,TOPPASTERLAYER:5,TOPSOLDERLAYER:7,LIBBODY:99,PADSURFACE:100,BOARDOUTLINE:10,DOCUMENT:12,TOPASSEMBLY:13,MECHANICAL:15,TOPCOMPONENT:16,SUBSTRATE:18},e;for(e=21;e<53;e++)t["INNER"+(e-20)]=e;for(t.BOTTOMSILKLAYER=4,t.BOTTOMLAYER=2,t.BOTTOMPASTERLAYER=6,t.BOTTOMSOLDERLAYER=8,t.BOTTOMASSEMBLY=14,t.BOTTOMCOMPONENT=17,e=53;e<85;e++)t["BOARD"+(e-52)]=e;return t})(),cPn=(function(){var t={COPPERAREA:[1,2,21,22,23,24],PLANEZONE:[1,2,21,22,23,24],RECT:[1,2,3,4,5,6,7,8,12,13,14,15,21,22,23,24,99],TRACK:[1,2,3,4,5,6,7,8,10,12,13,14,15,21,22,23,24,99],PAD:[11,1,2],VIA:[11],HOLE:[11],TEXT:[3,4,1,2,7,8,12,13,14,15,21,22,23,24],ARC:[1,2,3,4,5,6,7,8,10,12,13,14,15,21,22,23,24,99],ELLIPSE:[3,4,12,13,14,15],CIRCLE:[1,2,3,4,5,6,7,8,10,12,13,14,15,21,22,23,24,99],DIMENSION:[3,4,12,13,14,15],FOOTPRINT:[1,2],SOLIDREGION:[1,2,3,4,5,6,7,8,12,13,14,15,21,22,23,24,11,99,100],SVGNODE:[1,2,3,4,7,8,12,13,14,15],PROTRACTOR:[3,4,12,13,14,15],SHEET:[12,13,14,15]};t["3D"]=(function(){for(var r=[16,19,3,7,5,1],n=21;n<52;n++)r.push(n+32,n);return r.push(2,6,8,4,17),r})();var e,i,o;for(e in t)if(t.hasOwnProperty(e)&&(o=t[e],o.indexOf(21)>0&&o.indexOf(25)===-1))for(i=25;i<=52;i++)o.push(i);return t})(),n4=(function(){var t={1:"TopLayer",2:"BottomLayer",3:"TopSilkLayer",4:"BottomSilkLayer",5:"TopPasteMaskLayer",6:"BottomPasteMaskLayer",7:"TopSolderMaskLayer",8:"BottomSolderMaskLayer",9:"Ratlines",10:"BoardOutLine",11:"Multi-Layer",12:"Document",13:"TopAssembly",14:"BottomAssembly",15:"Mechanical",16:"TopComponents",17:"BottomComponents",18:"Substrate",19:"3DModel",99:"ComponentShapeLayer",100:"LeadShapeLayer"},e;for(e=21;e<53;e++)t[e]="Inner"+(e-20);for(e=53;e<85;e++)t[e]="Substrate"+(e-52);return t})(),dPn=(function(){var t=[],e=[];for(var i in zf)if(zf.hasOwnProperty(i)){if(i.match(/^BOARD\d+/))continue;t.push(zf[i])}t.sort(),e.sort();var o={},r,n={21:"#999966",22:"#008000",23:"#00FF00",24:"#BC8E00",25:"#70DBFA",26:"#00CC66",27:"#9966FF",28:"#800080",29:"#008080",30:"#15935F",31:"#000080",32:"#00B400",33:"#2E4756",34:"#99842F",35:"#FFFFAA",36:"#99842F",37:"#2E4756",38:"#3535FF",39:"#8000BC",40:"#43AE5F",41:"#C3ECCE",42:"#728978",43:"#39503F",44:"#0C715D",45:"#5A8A80",46:"#2B937E",47:"#23999D",48:"#45B4E3",49:"#215DA1",50:"#4564D7",51:"#6969E9",52:"#9069E9"};t.forEach(function(s){switch(s){case zf.TOPLAYER:r={name:n4[s],color:"#FF0000",darkColor:"#CC0000",visible:!0,active:!0,config:!0};break;case zf.BOTTOMLAYER:r={name:n4[s],color:"#0000FF",darkColor:"#000080",visible:!0,active:!1,config:!0};break;case zf.TOPSILKLAYER:r={name:n4[s],color:"#FFCC00",darkColor:"#806600",visible:!0,active:!1,config:!0};break;case zf.BOTTOMSILKLAYER:r={name:n4[s],color:"#66CC33",darkColor:"#33661A",visible:!0,active:!1,config:!0};break;case zf.TOPPASTERLAYER:r={name:n4[s],color:"#808080",darkColor:"#666666",visible:!0,active:!1,config:!0};break;case zf.BOTTOMPASTERLAYER:r={name:n4[s],color:"#800000",darkColor:"#660000",visible:!0,active:!1,config:!0};break;case zf.TOPSOLDERLAYER:r={name:n4[s],color:"#800080",darkColor:"#660066",visible:!0,active:!1,transparency:.3,config:!0};break;case zf.BOTTOMSOLDERLAYER:r={name:n4[s],color:"#AA00FF",darkColor:"#8800CC",visible:!0,active:!1,transparency:.3,config:!0};break;case zf.RATLINES:r={name:n4[s],color:"#6464FF",darkColor:"#5050CC",visible:!1,active:!1,config:!0};break;case zf.BOARDOUTLINE:r={name:n4[s],color:"#FF00FF",darkColor:"#CC00CC",visible:!0,active:!1,config:!0};break;case zf.ALL:r={name:n4[s],color:"#C0C0C0",darkColor:"#999999",visible:!0,active:!1,config:!0};break;case zf.DOCUMENT:r={name:n4[s],color:"#FFFFFF",darkColor:"#CCCCCC",visible:!0,active:!1,config:!0};break;case zf.TOPASSEMBLY:r={name:n4[s],color:"#33CC99",darkColor:"#33AA99",visible:!1,active:!1,config:!1};break;case zf.BOTTOMASSEMBLY:r={name:n4[s],color:"#5555FF",darkColor:"#8888FF",visible:!1,active:!1,config:!1};break;case zf.MECHANICAL:r={name:n4[s],color:"#F022F0",darkColor:"#F088F0",visible:!1,active:!1,config:!1};break;case zf.MODEL3D:r={name:n4[s],color:"#66CCFF",visible:!1,active:!1,config:!1};break;case zf.LIBBODY:r={name:n4[s],color:"#00CCCC",visible:!1,active:!1,config:!1};break;case zf.PADSURFACE:r={name:n4[s],color:"#CC9999",visible:!1,active:!1,config:!1};break;default:s>=zf.INNER1&&s<=zf.INNER32?r={name:n4[s],color:n[s],darkColor:a(n[s]),visible:!1,active:!1,config:!1}:r=null;break}r&&(o[s]=r)}),o.Hole={config:!0,name:"Hole",darkColor:"#222222",color:"#222222"},o.DRCError={config:!0,name:"DRCError",color:"#FAD609",darkColor:"#FAD609"};function a(s){if(typeof s!="string"||!s.match(/#?([\da-f]{6})/i))return s;var l=parseInt(RegExp.$1,16),c=.5,d=Math.min(255,Math.round((l>>16)*c)),u=Math.min(255,Math.round((l>>8&255)*c)),p=Math.min(255,Math.round((l&255)*c)),m=((d<<16)+(u<<8)+p).toString(16);return"#"+("00000"+m).substr(-6).toUpperCase()}return o})(),Wmi={BLANK:0,SCH:1,PART:2,PCB:3,FOOTPRINT:4,PRJ:5,SUBPART:6,SPICESYMBOL:7,SUBCKT:8,NETLIST:9,WAVEFORM:10,SCHLIB3D:11,PHOTOVIEW:12,SCHMODULE:13,PCBMODULE:14,VIEW3D:15,PCBLIB3D:16,BLOCK_SYMBOL:17,NETFLAG:18,NETPORT:19,SHEET_SYMBOL:20,NONEELEC_SYMBOL:21,SHORT_SYMBOL:22,FOOTPRINTVIEW:23,CNCPRINTVIEW:24,PCB2D:31,PCB3D:32},uPn=(function(){var t={};for(let e in Wmi)t[Wmi[e]]=e;return t})(),gRe=Math.PI*2,iRe=Math.PI/2,pPn=Math.sin(Math.PI/180);function K0r(t,e,i){if(typeof t!="number"&&(t=+t),isNaN(t))return NaN;if(e=e|0,e<=0||!t&&!i)return Math.round(t);var o=Q0r[e]||Math.pow(10,e)||10;if(i){var r=t<0?"-":"";for(t=t<0?-t:t,t=Math.round(t*o)+"";t.length<=e;)t="0"+t;return t=t.slice(0,-e)+"."+t.slice(-e),parseFloat(r+t)}else return Math.round(t*o+1e-10)/o}function P1i(t,e,i){var o=t-e;return i||(i=1e-10),(o>0?o:-o)<i}function Z0r(t,e,i){var o=d(t)&&d(e)&&d(i);if(!o)return console.warn("Bad arguments"),null;var r=e.x-i.x>0?e.x:i.x,n=e.y-i.y>0?e.y:i.y,a=e.x-i.x>0?i.x:e.x,s=e.y-i.y>0?i.y:e.y,l=t.x,c=t.y;return l<=r+.001&&l>=a-.001&&c<=n+.001&&c>=s-.001;function d(u){return u?(u.x=Number(u.x),u.y=Number(u.y),isNaN(u.x)||isNaN(u.y)?(console.warn("Can not convert to Number, NaN found"),!1):!0):(console.warn("Empty input!"),!1)}}function J0r(t,e,i,o,r,n){var a=(r-i)*(t-i)+(n-o)*(e-o),s=(r-i)*(r-i)+(n-o)*(n-o),l=a/s,c=i+(r-i)*l,d=o+(n-o)*l;return a<=0?Math.sqrt((t-i)*(t-i)+(e-o)*(e-o)):a>=s?Math.sqrt((t-r)*(t-r)+(e-n)*(e-n)):Math.sqrt((t-c)*(t-c)+(d-e)*(d-e))}function q0r(t,e,i){return Z0r(t,e,i)?P1i((t.x-e.x)*(i.y-e.y),(i.x-e.x)*(t.y-e.y),.001):!1}var Lxe=1e-4,At=new Float64Array(100);function q8(t,e){if(t instanceof Xt&&e instanceof Xt)return O_(t,e);if(t instanceof Oi&&e instanceof Xt)return _3t(t,e);if(t instanceof Xt&&e instanceof Oi)return _3t(e,t);if(t instanceof Oi&&e instanceof Oi)return R1i(t,e);if(t instanceof gr&&e instanceof gr)return KOe(t,e);if(t instanceof gr&&e instanceof Xt)return KOe(t,new gr([e.start(),e.end()]));if(t instanceof Xt&&e instanceof gr)return KOe(new gr([t.start(),t.end()]),e);if(t instanceof gr&&e instanceof Oi)return $mi(e,t);if(t instanceof Oi&&e instanceof gr)return $mi(t,e);throw new Error("not supported operation")}function X0r(t,e){let i=t.bbox();if(i.isContainsY1(e)){let o=new Xt(new mi(i.minX-1,e),new mi(i.maxX+1,e));return O_(o,t)>0?1:0}else return 0}function $0r(t,e){if(t.rx===t.ry){let i=t.bbox();if(i.isContainsY1(e)){let o=new Xt(new mi(i.minX-1,e),new mi(i.maxX+1,e));return oRe(t,o)>0?1:0}else return 0}else throw new Error("not supported operation")}function Qmi(t,e){let i=t.bbox();return i.isContainsY1(e)&&KOe(new gr([new mi(i.minX-1,e),new mi(i.maxX+1,e)]),t)>0?1:0}function Kmi(t,e,i){return isFinite(e)&&isFinite(i)?t.isContains2(e,i):!1}function epr(t,e){let i=e.length(),o=rh.crossProd3(e.start(),e.end(),t.start())/i,r=rh.crossProd3(e.start(),e.end(),t.end())/i;return Math.abs(o)<1e-8||Math.abs(r)<1e-8||o*r<0}function O_(t,e){let i=t.bbox().intersection1(e.bbox());if(!i)return 0;if(t.isPoint())if(e.isPoint()){let o=i.center();return At[0]=o.x,At[1]=o.y,2}else return Zmi(e,t,i);else{if(e.isPoint())return Zmi(t,e,i);{let o=function(w,x){i.isContains2(w,x)&&(At[y++]=w,At[y++]=x)};if(!epr(t,e))return 0;let r=t.start().x,n=t.start().y,a=t.end().x,s=t.end().y,l=e.start().x,c=e.start().y,d=e.end().x,u=e.end().y,p=e.length(),m=rh.crossProd2(r,n,l,c,d,u)/p,h=rh.crossProd2(a,s,l,c,d,u)/p;if(m*h>0&&!Bi.eq(m,0)&&!Bi.eq(h,0))return 0;let f=t.length(),g=rh.crossProd2(l,c,r,n,a,s)/f,b=rh.crossProd2(d,u,r,n,a,s)/f;if(g*b>0&&!Bi.eq(g,0)&&!Bi.eq(b,0))return 0;let y=0;if(Bi.eq(m,0)&&Bi.eq(h,0)){let w=i.UL(),x=i.UR(),S=i.LL(),T=i.LR();if(Bi.eq(i.width(),0))Bi.eq(i.height(),0)?(At[y++]=w.x,At[y++]=w.y):(At[y++]=w.x,At[y++]=w.y,At[y++]=S.x,At[y++]=S.y);else if(Bi.eq(i.height(),0))At[y++]=w.x,At[y++]=w.y,At[y++]=x.x,At[y++]=x.y;else{let M=R3t.area2(w.x,w.y,l,c,d,u),I=R3t.area2(x.x,x.y,l,c,d,u);M<I?(At[y++]=w.x,At[y++]=w.y,At[y++]=T.x,At[y++]=T.y):(At[y++]=x.x,At[y++]=x.y,At[y++]=S.x,At[y++]=S.y)}}else if(Bi.eq(m,0))o(r,n);else if(Bi.eq(h,0))o(a,s);else{let w=Math.abs(m/(m-h));o(r+(a-r)*w,n+(s-n)*w)}return y}}}function Zmi(t,e,i){let o=e.start(),r=e.end(),n=rh.crossProd3(t.start(),t.end(),e.start()),a=rh.crossProd3(t.start(),t.end(),e.end());if(n*a<0){let s=i.center();return At[0]=s.x,At[1]=s.y,2}else if(Math.abs(n)<Math.abs(a)){if(Bi.eq(n/t.length(),0))return At[0]=o.x,At[1]=o.y,2}else if(Bi.eq(a/t.length(),0))return At[0]=r.x,At[1]=r.y,2;return 0}function oRe(t,e){let i=t.bbox().intersection1(e.bbox());if(i!=null){i=i.extendOfSize(Lxe);let o=t.center.x,r=t.center.y,n=t.rx,a=t.rx2,s=e.start().x,l=e.start().y,c=e.end().x,d=e.end().y,u=t.center.distance1(e.start()),p=t.center.distance1(e.end()),m=Bi.eq(u,n)?0:u>n?1:-1,h=Bi.eq(p,n)?0:p>n?1:-1,f=0;if(m===-1&&h===-1)return 0;if(m===0&&h===0)At[f++]=s,At[f++]=l,At[f++]=c,At[f++]=d;else if(m===1&&h===1){let g=q9.foot(e,t.center),b=g.distance1(t.center);if(Bi.greater(b,n))return 0;if(Bi.eq(b,n))Bi.eq(e.distance2(t.start()),0)?(At[f++]=t.start().x,At[f++]=t.start().y,At[f++]=t.start().x,At[f++]=t.start().y):Bi.eq(e.distance2(t.end()),0)?(At[f++]=t.end().x,At[f++]=t.end().y,At[f++]=t.end().x,At[f++]=t.end().y):(At[f++]=g.x,At[f++]=g.y,At[f++]=g.x,At[f++]=g.y);else{f=O1i(o,r,s,l,c,d,f,g);let y=At[f-2],w=At[f-1];f-=2;let x=rh.distance1(o,r,y,w);if(Bi.eq(x,n))At[f++]=y,At[f++]=w,At[f++]=y,At[f++]=w;else if(x<n)f=x3(a,o,r,s,l,y,w,f),f=x3(a,o,r,y,w,c,d,f);else return 0}}else if(m===-1||h===-1)f=x3(a,o,r,s,l,c,d,f);else{let g=q9.foot(e,t.center),b=g.distance1(t.center);if(Bi.eq(b,n)){let y=function(S){return Kmi(i,S.x,S.y)&&Jh(t,S)},w=t.start(),x=t.end();if(m===0){let S=e.start();if(y(S))return At[f++]=S.x,At[f++]=S.y,At[f++]=S.x,At[f++]=S.y,f;if(y(g))return At[f++]=g.x,At[f++]=g.y,At[f++]=g.x,At[f++]=g.y,f;if(Bi.eq(e.distance2(w),0)&&y(w))return At[f++]=w.x,At[f++]=w.y,At[f++]=w.x,At[f++]=w.y,f;if(Bi.eq(e.distance2(x),0)&&y(x))return At[f++]=x.x,At[f++]=x.y,At[f++]=x.x,At[f++]=x.y,f;if(u<=n)f=x3(a,o,r,g.x,g.y,c,d,f),f===2&&(At[f++]=At[0],At[f++]=At[1]);else if(b<n){if(f=x3(a,o,r,g.x,g.y,c,d,f),f===2&&y(new mi(At[0],At[1])))return At[f++]=At[0],At[f++]=At[1],f;f=x3(a,o,r,g.x,g.y,s,l,0),f===2&&(At[f++]=At[0],At[f++]=At[1])}}else{let S=e.end();if(y(S))return At[f++]=S.x,At[f++]=S.y,At[f++]=S.x,At[f++]=S.y,f;if(y(g))return At[f++]=g.x,At[f++]=g.y,At[f++]=g.x,At[f++]=g.y,f;if(Bi.eq(e.distance2(w),0)&&y(w))return At[f++]=w.x,At[f++]=w.y,At[f++]=w.x,At[f++]=w.y,f;if(Bi.eq(e.distance2(x),0)&&y(x))return At[f++]=x.x,At[f++]=x.y,At[f++]=x.x,At[f++]=x.y,f;if(p<=n)f=x3(a,o,r,g.x,g.y,s,l,f),f===2&&(At[f++]=At[0],At[f++]=At[1]);else if(b<n){if(f=x3(a,o,r,g.x,g.y,s,l,f),f===2&&y(new mi(At[0],At[1])))return At[f++]=At[0],At[f++]=At[1],f;f=x3(a,o,r,g.x,g.y,c,d,0),f===2&&(At[f++]=At[0],At[f++]=At[1])}}}else if(m===0){let y=e.start();At[f++]=y.x,At[f++]=y.y,(s-g.x)*(c-g.x)+(l-g.y)*(d-g.y)<0&&(f=x3(a,o,r,g.x,g.y,c,d,f))}else{let y=e.end();At[f++]=y.x,At[f++]=y.y,(s-g.x)*(c-g.x)+(l-g.y)*(d-g.y)<0&&(f=x3(a,o,r,g.x,g.y,s,l,f))}}if(f>0){let g=0;for(let b=0;b<f;b+=2){let y=At[b],w=At[b+1];isFinite(y)&&isFinite(w)&&Kmi(i,y,w)&&Jh(t,new mi(y,w))&&(At[g++]=y,At[g++]=w)}return g}else return 0}else return 0}function tpr(t,e){if(t.bbox()){let i=t.center.x,o=t.center.y,r=t.rx2,n=e.start().x,a=e.start().y,s=e.end().x,l=e.end().y,c=t.center.distance2(e.start()),d=t.center.distance2(e.end()),u=Bi.eq(c,r)?0:c>r?1:-1,p=Bi.eq(d,r)?0:d>r?1:-1,m=0;if(u===-1&&p===-1)return 0;if(u===0&&p===0)At[m++]=n,At[m++]=a,At[m++]=s,At[m++]=l;else if(u===1&&p===1){let h=q9.foot(e,t.center),f=h.distance2(t.center);if(Bi.greater(f,r))return 0;if(Bi.eq(f,r)){let g=h.distance2(t.start()),b=h.distance2(t.end());Bi.eq(g,0)?(At[m++]=t.start().x,At[m++]=t.start().y):Bi.eq(b,0)?(At[m++]=t.end().x,At[m++]=t.end().y):(At[m++]=h.x,At[m++]=h.y)}else{m=O1i(i,o,n,a,s,l,m,h);let g=At[m-2],b=At[m-1],y=rh.distance2(i,o,g,b);if(m-=2,Bi.eq(y,r))At[m++]=g,At[m++]=b;else if(y<r)m=x3(r,i,o,n,a,g,b,m),m=x3(r,i,o,g,b,s,l,m);else return 0}}else if(u===-1||p===-1)m=x3(r,i,o,n,a,s,l,m);else{let h=q9.foot(e,t.center);u===0?(At[m++]=e.start().x,At[m++]=e.start().y,Bi.neq(h.distance2(e.start()),0)&&(n-h.x)*(s-h.x)+(a-h.y)*(l-h.y)<0&&(m=x3(r,i,o,h.x,h.y,s,l,m))):(At[m++]=e.end().x,At[m++]=e.end().y,Bi.neq(h.distance2(e.end()),0)&&(n-h.x)*(s-h.x)+(a-h.y)*(l-h.y)<0&&(m=x3(r,i,o,h.x,h.y,n,a,m)))}if(m>0){let h=0;for(let f=0;f<m;f+=2){let g=At[f],b=At[f+1];isFinite(g)&&isFinite(b)&&(At[h++]=g,At[h++]=b)}return h}else return 0}else return 0}function x3(t,e,i,o,r,n,a,s){if(r==a){let w=t-(r-i)*(r-i);if(Bi.greater(w,0)){let x=Math.sqrt(w),S=e-x,T=e+x,M=Math.min(o,n),I=Math.max(o,n);return S>=M&&S<=I&&(At[s++]=S,At[s++]=r),T>=M&&T<=I&&(At[s++]=T,At[s++]=r),s}}let l=rh.distance2(o,r,e,i)-t;if(l===0)return At[s++]=o,At[s++]=r,s;let c=rh.distance2(n,a,e,i)-t;if(c===0)return At[s++]=n,At[s++]=a,s;let d=o,u=r,p=n,m=a,h=NaN,f=NaN,g=Number.POSITIVE_INFINITY,b=0;for(;g!==0;){b++;let w=Math.max(Math.min(Math.abs(l)/(Math.abs(l)+Math.abs(c)),.75),.25);if(h=d+(p-d)*w,f=u+(m-u)*w,d===h&&u===f||p===h&&m===f){Math.abs(l)>Math.abs(c)?(h=p,f=m,g=c):(h=d,f=u,g=l);break}else g=rh.distance2(h,f,e,i)-t,g<0&&l>c||g>0&&l<c?(p=h,m=f,c=g):(d=h,u=f,l=g)}let y=Math.sqrt(t)-rh.distance1(h,f,e,i);return(Bi.eq(0,g)||Bi.eq(0,y))&&(At[s++]=h,At[s++]=f),s}function O1i(t,e,i,o,r,n,a,s){let l=rh.dotProd2(i,o,r,n,t,e),c=rh.dotProd2(r,n,i,o,t,e);if(l>=0)return At[a++]=r,At[a++]=n,a;if(c>=0)return At[a++]=i,At[a++]=o,a;if(rh.crossProd2(i,o,r,n,t,e)==0)return At[a++]=t,At[a++]=e,a;{let d=NaN,u=NaN,p=i,m=o,h=r,f=n,g=rh.distance2(i,o,t,e),b=rh.distance2(r,n,t,e),y=Number.POSITIVE_INFINITY,w=0;for(;y>0&&(w++,d=p+(h-p)*.5,u=m+(f-m)*.5,!(g==b||p==d&&m==u||h==d&&f==u));){y=rh.distance2(d,u,t,e);let x=rh.dotProd2(p,m,d,u,t,e);if(x==0)break;x<0?(h=d,f=u,b=y):(p=d,m=u,g=y)}return rh.distance2(d,u,t,e)<rh.distance2(s.x,s.y,t,e)?(At[a++]=d,At[a++]=u):(At[a++]=s.x,At[a++]=s.y),a}}function _3t(t,e){if(t.rx===t.ry)return oRe(t,e);throw new Error("not supported")}function ipr(t,e){if(t.rx===t.ry)return tpr(t,e);throw new Error("not supported")}function R1i(t,e){if(t.bbox().intersection1(e.bbox())!=null){if(t.rx===t.ry&&e.rx===e.ry)return opr(t,e);throw new Error("not supported operation")}return 0}function opr(t,e){let i=t.center.x,o=t.center.y,r=e.center.x,n=e.center.y,a=t.rx,s=e.rx,l=t.rx2,c=e.rx2,d=t.center.distance1(e.center),u=Math.abs(a-s),p=a+s;if(Bi.greater(d,p)||Bi.less(d,u))return 0;if(Bi.eq(u+d,0)){let m=0,h;return Jh(t,e.start())&&(At[m]=e.start().x,At[m+1]=e.start().y,m+=2,h=e.start()),Jh(t,e.end())&&(At[m]=e.end().x,At[m+1]=e.end().y,m+=2,h=e.end()),m===0?(Jh(e,t.start())&&(At[m]=t.start().x,At[m+1]=t.start().y,m+=2),Jh(e,t.end())&&(At[m]=t.end().x,At[m+1]=t.end().y,m+=2)):m===2&&(!h.equals1(t.start())&&Jh(e,t.start())&&(At[m]=t.start().x,At[m+1]=t.start().y,m+=2),!h.equals1(t.end())&&Jh(e,t.end())&&(At[m]=t.end().x,At[m+1]=t.end().y,m+=2)),m}else if(Bi.eq(d,p)){if(Jmi(t,e))return 4;let m=new Xt(t.center,e.center),h=oRe(e,m);return h=qmi(t,h),h!==0?h:(h=oRe(t,m),qmi(e,h))}else if(Bi.eq(d,u)){if(Jmi(t,e))return 4;if(a>s){let m=(a-s)/a;return At[0]=i+(r-i)/m,At[1]=o+(n-o)/m,Xmi(t,e,2)}else{let m=(s-a)/s;return At[0]=r+(i-r)/m,At[1]=n+(o-n)/m,Xmi(t,e,2)}}else{let m=(t.center.distance2(e.center)-c+l)/(d*2)/d,h=(r-i)*m+i,f=(n-o)*m+o,g=r-i,b=n-o,y=Math.max(a,s),w,x,S,T;if(Math.abs(g)<Math.abs(b)){let D=g/-b,E=f-D*h;w=h-y,x=D*w+E,S=h+y,T=D*S+E}else{let D=b/-g,E=h-D*f;x=f-y,w=D*x+E,T=f+y,S=D*T+E}let M=x3(l,i,o,w,x,h,f,0);if(M=x3(l,i,o,h,f,S,T,M),M!==4)throw new Error("cnt !== 4");let I=new mi(At[0],At[1]),A=new mi(At[2],At[3]);if(Jh(t,I)&&Jh(e,I))return Jh(t,A)&&Jh(e,A)?4:lZ(t.start(),e,A,I)?(At[2]=t.start().x,At[3]=t.start().y,4):lZ(t.end(),e,A,I)?(At[2]=t.end().x,At[3]=t.end().y,4):lZ(e.start(),t,A,I)?(At[2]=e.start().x,At[3]=e.start().y,4):lZ(e.end(),t,A,I)?(At[2]=e.end().x,At[3]=e.end().y,4):2;if(Jh(t,A)&&Jh(e,A))return lZ(t.start(),e,I,A)?(At[0]=t.start().x,At[1]=t.start().y,4):lZ(t.end(),e,I,A)?(At[0]=t.end().x,At[1]=t.end().y,4):lZ(e.start(),t,I,A)?(At[0]=e.start().x,At[1]=e.start().y,4):lZ(e.end(),t,I,A)?(At[0]=e.end().x,At[1]=e.end().y,4):(At[0]=At[2],At[1]=At[3],2);{let D=function(v,k){if(Bi.eq(v.distance1(k.center),k.rx)&&Jh(k,v)){if(v.distance2(I)<v.distance2(A)){if(E)return;E=!0}else{if(N)return;N=!0}At[R++]=v.x,At[R++]=v.y}},E=!1,N=!1,R=0;return D(t.start(),e),D(t.end(),e),D(e.start(),t),D(e.end(),t),R}}}function lZ(t,e,i,o){return Bi.eq(t.distance1(e.center),e.rx)&&Jh(e,t)&&t.distance2(i)<t.distance2(o)}function Jmi(t,e){return Bi.eq(e.start().distance1(t.center),t.rx)&&Jh(t,e.start())?(At[0]=e.start().x,At[1]=e.start().y,At[2]=e.start().x,At[3]=e.start().y,!0):Bi.eq(e.end().distance1(t.center),t.rx)&&Jh(t,e.end())?(At[0]=e.end().x,At[1]=e.end().y,At[2]=e.end().x,At[3]=e.end().y,!0):Bi.eq(t.start().distance1(e.center),e.rx)&&Jh(e,t.start())?(At[0]=t.start().x,At[1]=t.start().y,At[2]=t.start().x,At[3]=t.start().y,!0):Bi.eq(t.end().distance1(e.center),e.rx)&&Jh(e,t.end())?(At[0]=t.end().x,At[1]=t.end().y,At[2]=t.end().x,At[3]=t.end().y,!0):!1}function qmi(t,e){if(e===0)return 0;let i=At[0],o=At[1];return Jh(t,new mi(i,o))?(At[0]=i,At[1]=o,At[2]=i,At[3]=o,4):0}function Xmi(t,e,i){if(i===0)return 0;let o=At[0],r=At[1],n=new mi(o,r);return Jh(t,n)&&Jh(e,n)?(At[0]=o,At[1]=r,At[2]=o,At[3]=r,4):0}function k0e(t,e){return Math.abs(t-e)<=1e-6}function Jh(t,e){let i=t.bbox();if(e.x-i.minX>-Lxe&&e.x-i.maxX<Lxe&&e.y-i.minY>-Lxe&&e.y-i.maxY<Lxe){let o=Ka.regularD(e.angleD(t.center));return k0e(o,t.startAngle)||k0e(o,t.startAngle+360)||k0e(o,t.startAngle-360)||k0e(o,t.endAngle())||k0e(o,t.endAngle()+360)||k0e(o,t.endAngle()-360)?!0:t.sweepAngle>0?(Bi.less(o,t.startAngle)&&(o+=360),Bi.greatereq(t.endAngle(),o)):(Bi.greater(o,t.startAngle)&&(o-=360),Bi.lesseq(t.endAngle(),o))}else return!1}function rpr(t,e){let i=t[1].x-t[0].x,o=t[1].y-t[0].y,r=e[1].x-e[0].x,n=e[1].y-e[0].y;if(i===0&&r!==0||i!==0&&r===0)return!1;if(i===0&&r===0)return!0;let a=o/i,s=n/r;return P1i(a,s,Math.sin(Math.PI/180))}function npr(t,e,i){var o,r=+e.x,n=+e.y,a=+i.x,s=+i.y,l=+t.x,c=+t.y,d=a-r,u=s-n,p=l-r,m=c-n,h,f,g,b,y,w;return d===0&&u===0?{d:Math.sqrt(p*p+m*m),point:new mi(r,n)}:(o=(p*d+m*u)/(d*d+u*u),o<0?{d:Math.sqrt(p*p+m*m),point:new mi(r,n)}:o>1?(h=l-a,f=c-s,{d:Math.sqrt(h*h+f*f),point:new mi(a,s)}):(y=r+o*d,w=n+o*u,g=l-y,b=c-w,{d:Math.sqrt(g*g+b*b),point:new mi(y,w)}))}function J9(t,e){if(!t||!e||t.length!=e.length)return!1;let i="equals1";return!t.some((o,r)=>{let n=e[r],a=!1;return o&&n&&typeof o=="object"&&typeof n=="object"?typeof o[i]=="function"&&spr(o,n)?a=!o[i].call(o,n):a=!(o===n||o.toString()===n.toString()):typeof o=="number"&&typeof n=="number"?a=!(apr(o,n)||Number.isNaN(o)&&Number.isNaN(n)):a=o!==n,a})}function apr(t,e,i=5){return Math.abs(t-e)*Math.pow(10,i)<1}function spr(t,e){return!t||!e||typeof t!="object"||typeof e!="object"?t===e:t.constructor===e.constructor}var Qs=new Float64Array(100);function KOe(t,e){if(t.bbox().extendOfSize(Bi.eps).isSeparated(e.bbox()))return 0;let i=[[t,e]],o=(t.controls.length-1)*(e.controls.length-1)*8,r=0,n=Number.POSITIVE_INFINITY;for(;i.length!==0;){let a=function(P){E=Math.min(E,P),N=Math.max(N,P)},s=function(P,O){let _=O_(P,O);if(_===0)throw new Error("cnt === 0");for(let j=0;j<_;j+=2)a(At[j])};if(r>o){for(let P=r-2;P>=2;P-=2)for(let O=P-2;O>=0;O-=2)if(Bi.eq(Qs[P],Qs[O])&&Bi.eq(Qs[P+1],Qs[O+1])){Qs[O]=(Qs[P]+Qs[O])/2,Qs[O+1]=(Qs[P+1]+Qs[O+1])/2;for(let _=r-3;_>=P;_--)Qs[_]=Qs[_+2];r-=2;break}if(r>o){r=0;let P=e.start(),O=new Float64Array(8);t.getPercent(P)!==null&&(O[r++]=P.x,O[r++]=P.y);let _=e.end();t.getPercent(_)!==null&&(O[r++]=_.x,O[r++]=_.y);let j=t.start();e.getPercent(j)!==null&&(O[r++]=j.x,O[r++]=j.y);let B=t.end();return e.getPercent(B)!==null&&(O[r++]=B.x,O[r++]=B.y),At.set(O),r}}let[l,c]=i.pop(),d=l.controls,u=c.controls;if(d.length===2&&u.length===2){let P=O_(new Xt(d[0],d[1]),new Xt(u[0],u[1]));for(let O=0;O<P;O++)Qs[r++]=At[O];continue}let p=d[0],m=d[d.length-1];p.equals1(m)&&(m=p.add1(1,0));let h=m.y-p.y,f=p.x-m.x,g=-h*p.x-f*p.y,b=Math.sqrt(1/(h**2+f**2));h*=b,f*=b,g*=b;let y=Number.POSITIVE_INFINITY,w=Number.NEGATIVE_INFINITY;if(d.forEach(P=>{let O=h*P.x+f*P.y+g;O<y&&(y=O),O>w&&(w=O)}),Bi.eq(y,w)){if(c.controls.length===2){let P=O_(new Xt(l.start(),l.end()),new Xt(c.start(),c.end()));for(let O=0;O<P;O++)Qs[r++]=At[O];if(P!==0)continue}l=new gr([d[0],d[d.length-1]]),d=l.controls}let x=u.map(P=>{let O=h*P.x+f*P.y+g,_=Math.abs(O);return _<n&&(n=_),O}),S=0;for(let P of x){if(Bi.less(P,y))S=S|1;else if(Bi.greater(P,w))S=S|2;else{S=3;break}if(S===3)break}if(S!==3)continue;let T=0,M=0,I=m.x-p.x,A=m.y-p.y,D=Math.sqrt(1/(I**2+A**2));I*=D,A*=D;for(let P=1;P<d.length;P++){let O=d[P],_=(O.x-p.x)*I+(O.y-p.y)*A;_<T?T=_:_>M&&(M=_)}S=0;for(let P of u){let O=(P.x-p.x)*I+(P.y-p.y)*A;if(Bi.less(O,T))S=S|1;else if(Bi.greater(O,M))S=S|2;else{S=3;break}if(S===3)break}if(S!==3)continue;let E=Number.POSITIVE_INFINITY,N=Number.NEGATIVE_INFINITY;n/=2,n<=Bi.eps&&(n=Bi.eps),y-=n,w+=n,x.forEach((P,O)=>{P>=y&&P<=w&&a(O/(x.length-1))});let R=new Xt(new mi(0,y),new mi(1,y)),v=new Xt(new mi(0,w),new mi(1,w));for(let P=0;P<x.length-1;P++){let O=new mi(P/(x.length-1),x[P]),_=O.y<y?1:O.y>w?2:3;for(let j=0;j<x.length;j++){let B=new mi(j/(x.length-1),x[j]),V=B.y<y?1:B.y>w?2:3;_!==V&&(_===1?V===2?(s(new Xt(O,B),R),s(new Xt(O,B),v)):s(new Xt(O,B),R):_===2?V===1?(s(new Xt(O,B),R),s(new Xt(O,B),v)):s(new Xt(O,B),v):V===1?s(new Xt(O,B),R):s(new Xt(O,B),v))}}E!==0&&(c=c.clip(E)[1]),N!==1&&(c=c.clip((N-E)/(1-E))[0]);let k=c.bbox();if(Bi.eq(k.minX,k.maxX)&&Bi.eq(k.minY,k.maxY)){S=0;for(let P of c.controls){let O=(P.x-p.x)*I+(P.y-p.y)*A;if(Bi.less(O,T))S=S|1;else if(Bi.greater(O,M))S=S|2;else{S=3;break}if(S===3)break}if(S===3){let P=new mi((k.minX+k.maxX)/2,(k.minY+k.maxY)/2);l.getPercent(P)&&(Qs[r++]=P.x,Qs[r++]=P.y)}continue}if(N-E>.8){let[P,O]=c.clip(.5);i.push([P,l]),i.push([O,l])}else i.push([c,l])}for(let a=0;a<r;a++)At[a]=Qs[a];return r}function lpr(t,e){if(t.bbox().extendOfSize(Bi.eps).isSeparated(e.bbox()))return{cnt:0};let i=[[t,e]],o=(t.controls.length-1)*(e.controls.length-1)*8,r=0,n=Number.POSITIVE_INFINITY;for(;i.length!==0;){let a=function(P){E=Math.min(E,P),N=Math.max(N,P)},s=function(P,O){let _=O_(P,O);if(_===0)throw new Error("cnt === 0");for(let j=0;j<_;j+=2)a(At[j])};if(r>o){for(let P=r-2;P>=2;P-=2)for(let O=P-2;O>=0;O-=2)if(Bi.eq(Qs[P],Qs[O])&&Bi.eq(Qs[P+1],Qs[O+1])){Qs[O]=(Qs[P]+Qs[O])/2,Qs[O+1]=(Qs[P+1]+Qs[O+1])/2;for(let _=r-3;_>=P;_--)Qs[_]=Qs[_+2];r-=2;break}if(r>o){r=0;let P=new Float64Array(8),O=e.end(),_=0;t.getPercent(O)!==null&&(P[r++]=O.x,P[r++]=O.y,_=2);let j=t.end();return e.getPercent(j)!==null&&(P[r++]=j.x,P[r++]=j.y,_=_===0?1:3),At.set(P),{havOverlap:_,cnt:r}}}let[l,c]=i.pop(),d=l.controls,u=c.controls;if(d.length===2&&u.length===2){let P=O_(new Xt(d[0],d[1]),new Xt(u[0],u[1]));for(let O=0;O<P;O++)Qs[r++]=At[O];continue}let p=d[0],m=d[d.length-1];p.equals1(m)&&(m=p.add1(1,0));let h=m.y-p.y,f=p.x-m.x,g=-h*p.x-f*p.y,b=Math.sqrt(1/(h**2+f**2));h*=b,f*=b,g*=b;let y=Number.POSITIVE_INFINITY,w=Number.NEGATIVE_INFINITY;if(d.forEach(P=>{let O=h*P.x+f*P.y+g;O<y&&(y=O),O>w&&(w=O)}),Bi.eq(y,w)){if(c.controls.length===2){let P=O_(new Xt(l.start(),l.end()),new Xt(c.start(),c.end()));for(let O=0;O<P;O++)Qs[r++]=At[O];if(P!==0)continue}l=new gr([d[0],d[d.length-1]]),d=l.controls}let x=u.map(P=>{let O=h*P.x+f*P.y+g,_=Math.abs(O);return _<n&&(n=_),O}),S=0;for(let P of x){if(Bi.less(P,y))S=S|1;else if(Bi.greater(P,w))S=S|2;else{S=3;break}if(S===3)break}if(S!==3)continue;let T=0,M=0,I=m.x-p.x,A=m.y-p.y,D=Math.sqrt(1/(I**2+A**2));I*=D,A*=D;for(let P=1;P<d.length;P++){let O=d[P],_=(O.x-p.x)*I+(O.y-p.y)*A;_<T?T=_:_>M&&(M=_)}S=0;for(let P of u){let O=(P.x-p.x)*I+(P.y-p.y)*A;if(Bi.less(O,T))S=S|1;else if(Bi.greater(O,M))S=S|2;else{S=3;break}if(S===3)break}if(S!==3)continue;let E=Number.POSITIVE_INFINITY,N=Number.NEGATIVE_INFINITY;n/=2,n<=Bi.eps&&(n=Bi.eps),y-=n,w+=n,x.forEach((P,O)=>{P>=y&&P<=w&&a(O/(x.length-1))});let R=new Xt(new mi(0,y),new mi(1,y)),v=new Xt(new mi(0,w),new mi(1,w));for(let P=0;P<x.length-1;P++){let O=new mi(P/(x.length-1),x[P]),_=O.y<y?1:O.y>w?2:3;for(let j=0;j<x.length;j++){let B=new mi(j/(x.length-1),x[j]),V=B.y<y?1:B.y>w?2:3;_!==V&&(_===1?V===2?(s(new Xt(O,B),R),s(new Xt(O,B),v)):s(new Xt(O,B),R):_===2?V===1?(s(new Xt(O,B),R),s(new Xt(O,B),v)):s(new Xt(O,B),v):V===1?s(new Xt(O,B),R):s(new Xt(O,B),v))}}E!==0&&(c=c.clip(E)[1]),N!==1&&(c=c.clip((N-E)/(1-E))[0]);let k=c.bbox();if(Bi.eq(k.minX,k.maxX)&&Bi.eq(k.minY,k.maxY)){S=0;for(let P of c.controls){let O=(P.x-p.x)*I+(P.y-p.y)*A;if(Bi.less(O,T))S=S|1;else if(Bi.greater(O,M))S=S|2;else{S=3;break}if(S===3)break}if(S===3){let P=new mi((k.minX+k.maxX)/2,(k.minY+k.maxY)/2);l.getPercent(P)&&(Qs[r++]=P.x,Qs[r++]=P.y)}continue}if(N-E>.8){let[P,O]=c.clip(.5);i.push([P,l]),i.push([O,l])}else i.push([c,l])}for(let a=0;a<r;a++)At[a]=Qs[a];return{cnt:r}}var cpr=class{constructor(t=Bi.eps){this.eps=t}eq(t,e){return Math.abs(t-e)<=this.eps}setEps(t){this.eps=t}},xxe=new cpr;function $mi(t,e){if(t.bbox().extendOfSize(Bi.eps).isSeparated(e.bbox()))return 0;let i=[[t,e]],o=(e.controls.length-1)*16,r=0;for(;i.length!==0;){if(r>o){let a=function(){for(let c=0;c<r;c+=2)for(let d=c+2;d<r;d+=2)if(!(xxe.eq(Qs[c],Qs[d])&&xxe.eq(Qs[c+1],Qs[d+1]))){l(Qs[d],Qs[d+1],s);break}function l(c,d,u){let p=!1;for(let m=0;m<u.length;m+=2)if(xxe.eq(c,u[m])&&xxe.eq(d,u[m+1])){p=!0;break}p||u.push(c,d)}},s=[Qs[0],Qs[1]];if(a(),s.length>=100&&(xxe.setEps(.001),s=[Qs[0],Qs[1]],a(),s.length>=100))throw new Error("clearSamePoint()");r=s.length,s.forEach((l,c)=>Qs[c]=l)}let n=i.pop();if(n[0]instanceof Oi){let a=function(v){A=Math.min(A,v),D=Math.max(D,v)},s=function(v,k){let P=O_(v,k);if(P===0)throw new Error("cnt === 0");for(let O=0;O<P;O+=2)a(At[O])},[l,c]=n,d=c.controls;if(d.length===2){let v=_3t(l,new Xt(d[0],d[1]));for(let k=0;k<v;k++)Qs[r++]=At[k];continue}let u=Number.POSITIVE_INFINITY,p=Number.NEGATIVE_INFINITY,m,h,f,g,b;if(Math.abs(l.sweepAngle)>359){let v=l.rx;m=l.center.add1(v,0),h=l.center.add1(-v,0),u=-v,p=v,f=0,g=1,b=-l.center.y}else{m=l.start(),h=l.end(),f=h.y-m.y,g=m.x-h.x,b=-f*m.x-g*m.y;let v=Math.sqrt(1/(f**2+g**2));f*=v,g*=v,b*=v;let k=f*l.center.x+g*l.center.y+b;l.isCCW?(p=l.rx+k,u=0):(u=k-l.rx,p=0)}let y=d.map(v=>f*v.x+g*v.y+b),w=0;for(let v of y){if(Bi.less(v,u))w=w|1;else if(Bi.greater(v,p))w=w|2;else{w=3;break}if(w===3)break}if(w!==3)continue;let x=0,S=0,T=h.x-m.x,M=h.y-m.y,I=Math.sqrt(1/(T**2+M**2));if(T*=I,M*=I,Math.abs(l.sweepAngle)<=180)x=0,S=(h.x-m.x)*T+(h.y-m.y)*M;else throw new Error("not support");w=0;for(let v of d){let k=(v.x-m.x)*T+(v.y-m.y)*M;if(Bi.less(k,x))w=w|1;else if(Bi.greater(k,S))w=w|2;else{w=3;break}if(w===3)break}if(w!==3)continue;let A=Number.POSITIVE_INFINITY,D=Number.NEGATIVE_INFINITY;u-=Bi.eps,p+=Bi.eps,y.forEach((v,k)=>{v>=u&&v<=p&&a(k/(y.length-1))});let E=new Xt(new mi(0,u),new mi(1,u)),N=new Xt(new mi(0,p),new mi(1,p));for(let v=0;v<y.length-1;v++){let k=new mi(v/(y.length-1),y[v]),P=k.y<u?1:k.y>p?2:3;for(let O=0;O<y.length;O++){let _=new mi(O/(y.length-1),y[O]),j=_.y<u?1:_.y>p?2:3;P!==j&&(P===1?j===2?(s(new Xt(k,_),E),s(new Xt(k,_),N)):s(new Xt(k,_),E):P===2?j===1?(s(new Xt(k,_),E),s(new Xt(k,_),N)):s(new Xt(k,_),N):j===1?s(new Xt(k,_),E):s(new Xt(k,_),N))}}A!==0&&(c=c.clip(A)[1]),D!==1&&(c=c.clip((D-A)/(1-A))[0]);let R=c.bbox();if(Bi.eq(R.minX,R.maxX)&&Bi.eq(R.minY,R.maxY)){w=0;for(let v of c.controls){let k=(v.x-m.x)*T+(v.y-m.y)*M;if(Bi.less(k,x))w=w|1;else if(Bi.greater(k,S))w=w|2;else{w=3;break}if(w===3)break}w===3&&(Qs[r++]=(R.minX+R.maxX)/2,Qs[r++]=(R.minY+R.maxY)/2);continue}D-A>.8?c.clip(.5).forEach(v=>i.push([v,l])):i.push([c,l])}else{let[a,s]=n;i.push([Oi.build3(s.center,s.startAngle,s.sweepAngle/2,s.rx,s.ry),a]),i.push([Oi.build3(s.center,s.startAngle+s.sweepAngle/2,s.sweepAngle/2,s.rx,s.ry),a])}}for(let n=0;n<r;n++)At[n]=Qs[n];return r}var dpr=class{static getSweep(t){if(t.length>2){let e=0,i=t.length;for(let n=0;n<i-1;n++){let a=t[n],s=t[n+1];e+=(s.x+a.x)*(s.y-a.y)}let o=t[0],r=t[i-1];return e+=(o.x+r.x)*(o.y-r.y),e>0}else throw new Error("Unable to determine the direction of rotation!")}static isClose(t){return!!(t.primitives.length>0&&t.primitives[0].start().equals1(t.primitives[t.primitives.length-1].end()))}};function upr(t){let e=t.primitives,i=e[0],o=i instanceof Oi?i.sweepAngle%360:null;if(e.length===1&&i instanceof Oi&&(Bi.eq(o,0)||Bi.eq(Math.abs(o),360)))return!!i.isCCW;let r=new Array;return t.points(.1,n=>{r.push(n)}),dpr.getSweep(r)}var ppr=class{static zoomCorner(t,e){let i=new Array,o=new Array,r=new Array;return this.getPanPrimitive(t,i,r,e),this.rearrange(i,r),this.processStart(i,r),this.getResult(i,r,o,e),o.length>0?wl.build2(o):null}static zoomPolygon(t,e){let i=new Array,o=new Array,r=new Array;return upr(t)&&(t=t.reverse().asClose()),this.getPanPrimitive(t,i,r,e),this.rearrange(i,r),this.processStart(i,r),this.getResult(i,r,o,e),o.length>0?wl.build2(o):null}static zoomLines(t,e){return this.zoomPolygon(wl.build2(t.primitives.concat(t.reverse().primitives)),e/2)}static getPanPrimitive(t,e,i,o){let r=t.primitives;for(let n of r){let a=this.panDistance(n,o);a!==void 0&&(e.push(a),i.push(n))}}static rearrange(t,e){let i=t.length,o=0;for(let a=0;a<i;a++){let s=e[a],l=t[a],c=a==i-1?t[0]:t[a+1];if(!(l instanceof Oi&&c instanceof Oi)&&!this.isCW(l.end(),c.start(),s.end())){if(q8(l,c)!=0){o=a==i-1?0:a+1;break}}else{o=a;break}}let r=this.start4Index(e,o),n=this.start4Index(t,o);e.length=0,t.length=0,r.forEach(a=>{e.push(a)}),n.forEach(a=>{t.push(a)})}static processStart(t,e){let i=t.length;if(i>2){let o=t[i-1],r=t[0],n=e[i-1];if(!(o instanceof Oi&&r instanceof Oi)&&!this.isCW(o.end(),r.start(),n.end())){let a=q8(o,r);for(let s=0;s<a;s+=2){let l=new mi(At[s],At[s+1]);t[i-1]=this.generatePrimitive(o,o.start(),l),t[0]=this.generatePrimitive(r,l,r.end())}}}}static getResult(t,e,i,o){let r=t.length;for(let n=0;n<r;n++){let a=e[n],s=n===r-1?e[0]:e[n+1],l=n==r-1?0:n+1,c=l==r-1?e[0]:e[l+1],d=t[n],u=n==r-1?t[0]:t[n+1],p=l==r-1?t[0]:t[l+1];if(!(d instanceof Oi&&u instanceof Oi)&&!this.isCW(d.end(),u.start(),a.end())){let h=this.add(t,i,n,d,u,0);h=this.update(t,i,n,u,h);let f=this.generateArc(s,c,u,p,o);if(h=this.add(t,i,n,d,f,h),h=this.update(t,i,n,f,h),h>0)continue}i.push(d);let m=this.generateArc(a,s,d,u,o);m!==void 0&&i.push(m)}}static generateArc(t,e,i,o,r){if(r>0){let n=t.end(),a=e.start(),s=i.end(),l=o.start();if(s.distance2(l)>1e-8)if(n.equals(a)){let c=s.angleD(n),d=l.angleD(n);return Oi.build2(n,c,d,r,r,0)}else{let c=s.angleD(n),d=l.angleD(n),u=s.angleD(a),p=l.angleD(a),m=Oi.build2(n,c,d,r,r,0),h=Oi.build2(a,u,p,r,r,0);return m.pointOn(m.endAngle()).equals1(l)?m:h.pointOn(h.endAngle()).equals1(l)?h:m}}}static updateNews(t,e,i,o){let r=t.length,n=e==r-1?0:e+1;t[n]=this.generatePrimitive(i,o,i.end())}static add(t,e,i,o,r,n){if(n>0)return n;if(o!=null&&r!=null){let a=q8(o,r);for(let s=0;s<a;s+=2){let l=new mi(At[s],At[s+1]);e.push(this.generatePrimitive(o,o.start(),l)),this.updateNews(t,i,r,l);break}return a}else return 0}static update(t,e,i,o,r){if(r>0)return r;let n=e.length;if(n>0&&o!=null){let a=e[n-1],s=q8(a,o);for(let l=0;l<s;l+=2){let c=new mi(At[l],At[l+1]);e[n-1]=this.generatePrimitive(a,a.start(),c),this.updateNews(t,i,o,c)}return s}else return 0}static generatePrimitive(t,e,i){if(t instanceof Xt)return new Xt(e,i);if(t instanceof Oi){let o=t,r=e.angleD(o.center),n=i.angleD(o.center);return Oi.build2(o.center,r,n,o.rx,o.ry,o.sweep())}else throw new Error("not supported operation")}static start4Index(t,e){let i=t.length,o=new Array;for(let r=e;r<i;r++)o.push(t[r]);for(let r=0;r<e;r++)o.push(t[r]);return o}static isCW(t,e,i){let o=new Xt(i,t),r=new Xt(i,e),n=o.end().x-o.start().x,a=o.end().y-o.start().y,s=r.end().x-r.start().x,l=r.end().y-r.start().y;return!(n*l-a*s>0)}static panDistance(t,e){if(t instanceof Xt){if(t.isPoint())return;{let i=t.panDistance(e);return i.length()>1e-5?i:void 0}}else if(t instanceof Oi){let i=t;if(i.sweepAngle>0){if(i.rx-e<=0||i.ry-e<=0)return}else if(i.sweepAngle<0&&(i.rx+e<=0||i.ry+e<=0))return;return i=i.panDistance(e),i.start().distance1(i.end())>1e-5||Bi.eq(Math.abs(i.sweepAngle),360)?i:void 0}else throw new Error("not supported operation")}},$n=.001,sC=$n**2;function Sn(t,e){return t.distance2(e)<sC}function R_(t,e){return Math.abs(t-e)<=1e-4}function mpr(t,e){if(t instanceof Xt)return new Xt(t.start(),e);if(t instanceof Oi){let i=e.angleD(t.center);return R_(Ka.regularD(t.startAngle),Ka.regularD(i))?Oi.build3(t.center,t.startAngle,0,t.rx,t.ry):Oi.build2(t.center,t.startAngle,i,t.rx,t.ry,t.isCCW?1:0)}else{if(t instanceof gr)return t.clip(t.getPercent(e,$n))[0];throw new Error("not supported operation")}}function X9(t,e=Ka.toRadians(t.startAngle)){return t.isCCW?e+=iRe:e-=iRe,new mi(Math.cos(e),Math.sin(e))}function _xe(t,e=0){let i=t.controls;if(e===0){let o=i[0],r=i.slice(1).find(n=>!(n.x===o.x&&n.y===o.y));if(!r)throw Error("getTangentBezier(bezier: Bezier, t: number = 0)");return r.sub(o)}else if(e===1){let o=i[i.length-1],r=i.slice(0,-1).reverse().find(n=>!(n.x===o.x&&n.y===o.y));if(!r)throw Error("getTangentBezier(bezier: Bezier, t: number = 0)");return o.sub(r)}if(i.length===3){let[o,r,n]=i;return r.sub(o).mul(2*(1-e)).add(n.sub(r).mul(2*e)).normalize()}else{let[o,r,n,a]=i;return r.sub(o).mul(3*(1-e)**2).add(n.sub(r).mul(6*(1-e)*e)).add(a.sub(n).mul(3*e**2)).normalize()}}function Y0e(t,e,i){let o=t.slice(1).findIndex(n=>!(n.x===e.x&&n.y===e.y)),r=t[o+1];if(i&&(i.getPercent(r,$n)!==null||new Xt(i.start(),i.end()).distance(r)<=$n)&&(r=t[o+2]),!r)throw Error("getSecondPoint(controls: readonly Vector2[])");return r}function Xn(t,e){if(t instanceof Xt)return t.end().sub(t.start()).normalize();if(t instanceof Oi)return(e?X9(t,e.angle(t.center)):X9(t)).normalize();if(t instanceof gr)if(t.controls.length===2){let[i,o]=t.controls;if(Sn(i,o))throw Error("equalsPP(p0, p1)");return o.sub(i).normalize()}else return(e?_xe(t,t.getPercent(e,$n)):_xe(t)).normalize();else throw new Error("not support")}function hpr(t,e,i){let o=[],r=e**2-4*t*i;if(r>=0){let n=-e/(2*t),a=Math.sqrt(r)/(2*t),s=n+a;if(o.push(s),r>0){let l=n-a;o.push(l)}}return o}function fpr(t,e,i,o,r=0,n=1){let a=[],s=t*Math.pow(r,3)+e*Math.pow(r,2)+i*r+o,l=t*Math.pow(n,3)+e*Math.pow(n,2)+i*n+o,c,d;if(s*l<0)for(;Math.abs(r-n)>$n;)if(c=(r+n)/2,d=t*Math.pow(c,3)+e*Math.pow(c,2)+i*c+o,Math.abs(d)<$n){a.push(c);break}else s*d<0?n=c:l*d<0&&(r=c);else s*l===0&&(s===0&&a.push(r),l===0&&a.push(n));return a}function g3t(t,e,i){if(t instanceof Xt||e.distance2(i)<=sC)return new Xt(e,i);if(t instanceof Oi)return Oi.build2(t.center,e.angleD(t.center),i.angleD(t.center),t.rx,t.ry,t.isCCW?1:0);if(t instanceof gr){let o=t.getPercent(e,$n),r=t.getPercent(i,$n);return t.clip(o)[1].clip((r-o)/(1-o))[0]}else throw new Error("not supported operation")}function j3t(t){return Bi.greater(t,0)&&Bi.less(t,1)}function rRe(t,e,i,o){let r=t[o]-2*e[o]+i[o],n=e[o]-t[o];if(r===0)return[];let a=-n/r,s=[];return j3t(a)&&s.push(a),s}function nRe(t,e,i,o,r){let n,a,s=-t[r]+3*e[r]-3*i[r]+o[r],l=2*(t[r]-2*e[r]+i[r]),c=e[r]-t[r],d=l**2-4*s*c;if(Bi.lesseq(d,0))n=Number.NEGATIVE_INFINITY,a=Number.NEGATIVE_INFINITY;else{let p=Math.sqrt(d);n=(-l-p)/(2*s),a=(-l+p)/(2*s);let m=s*2;if(Bi.lesseq(n,1)&&Bi.greatereq(n,0)){let h=Number.NEGATIVE_INFINITY;for(;Bi.neq(n,h);){h=n;let f=m*n+l;n=-(s*n**2+l*n+c-f*n)/f}}if(Bi.lesseq(a,1)&&Bi.greatereq(a,0)){let h=Number.NEGATIVE_INFINITY;for(;Bi.neq(a,h);){h=a;let f=m*a+l;a=-(s*a**2+l*a+c-f*a)/f}}}let u=[];return j3t(a)&&u.push(a),j3t(n)&&u.push(n),u}function _1i(t,e){if(t.controls.length===2){let[s,l]=t.controls;Sn(s,l)||e.push(new Xt(s,l));return}let i,o;if(t.controls.length===3){let[s,l,c]=t.controls;i=rRe(s,l,c,"x"),o=rRe(s,l,c,"y")}else{let[s,l,c,d]=t.controls;i=nRe(s,l,c,d,"x"),o=nRe(s,l,c,d,"y")}i.sort((s,l)=>l-s),o.sort((s,l)=>l-s);let r=i.pop()||1,n=o.pop()||1,a=0;for(;r!==1||n!==1;)if(Bi.eq(r,n))r=i.pop()||1,n=o.pop()||1;else if(r<n){let[s,l]=t.clip((r-a)/(1-a));a=r,e.push(s),t=l,r=i.pop()||1}else{let[s,l]=t.clip((n-a)/(1-a));a=n,e.push(s),t=l,n=o.pop()||1}e.push(t)}var gpr=1e-5,$3t=1,gr=class xT extends Fxe{constructor(e){if(super(),this._startToEndL=null,e.length<2)throw new Error("Bezier needs at least 2 endpoints");this.controls=e.slice()}get startToEndL(){return this._startToEndL===null&&(this._startToEndL=new Xt(this.start(),this.end())),this._startToEndL}build1(e){let i=[];return Q0e(e,(o,r)=>(i.push(r),!0)),new xT(i)}start(){return this.controls[0]}end(){return this.controls[this.controls.length-1]}static pointOn(e,i){if(i.length<1)throw new Error("bezier must have at least 1 point");if(i.length===1)return i[0];{let o=new Array(i.length-1);for(let r=1;r<i.length;r++){let n=i[r-1],a=i[r],s=(a.x-n.x)*e,l=(a.y-n.y)*e;o[r-1]=n.add1(s,l)}return xT.pointOn(e,o)}}clip1(e,i,o,r){if(o.push(i[0]),r.push(i[i.length-1]),i.length<2)throw new Error("bezier clip must have at least 2 point");if(i.length===2){let n=i[0],a=i[1],s=(a.x-n.x)*e,l=(a.y-n.y)*e,c=n.add1(s,l);o.push(c),r.push(c)}else{let n=new Array(i.length-1);for(let a=1;a<i.length;a++){let s=i[a-1],l=i[a],c=(l.x-s.x)*e,d=(l.y-s.y)*e;n[a-1]=s.add1(c,d)}this.clip1(e,n,o,r)}}clip(e){let i=[],o=[];return this.clip1(e,this.controls,i,o),[new xT(i),new xT(o.reverse())]}greater(e,i,o){return e-i>o}less(e,i,o){return e-i<-o}eq(e,i,o){return Math.abs(e-i)<=o}eqPP(e,i,o){return!e||!i?!1:this.eq(e.x,i.x,o)&&this.eq(e.y,i.y,o)}isInRange(e,i=Bi.eps){let o=this.controls.map(n=>n.y-e.y),r=0;for(let n of o){if(this.less(n,0,i))r=r|1;else if(this.greater(n,0,i))r=r|2;else{r=3;break}if(r===3)break}if(r!==3)return!1;r=0;for(let n of this.controls){let a=n.x-e.x;if(this.less(a,0,i))r=r|1;else if(this.greater(a,0,i))r=r|2;else{r=3;break}if(r===3)break}return r===3}getPercent(e,i=Bi.eps){if(!this.isInRange(e,i))return null;let o=Number.POSITIVE_INFINITY,r=[[this,0,1]];for(;r.length!==0;){let n=function(g){d=Math.min(d,g),u=Math.max(u,g)},a=function(g,b){let y=O_(g,b);if(y===0)throw new Error("cnt === 0");for(let w=0;w<y;w+=2)n(At[w])},[s,l,c]=r.pop();if(this.eqPP(s.start(),e,i))return l;if(this.eqPP(s.end(),e,i))return c;let d=Number.POSITIVE_INFINITY,u=Number.NEGATIVE_INFINITY,p=s.controls.map(g=>g.y-e.y);o=p.reduce((g,b)=>{let y=Math.abs(b);return y<g?y:g},o),o/=2,o<=i&&(o=i),p.forEach((g,b)=>{this.eq(g,0,i)&&n(b/(p.length-1))});let m=new Xt(new mi(0,-o),new mi(1,-o)),h=new Xt(new mi(0,o),new mi(1,o));for(let g=0;g<p.length-1;g++){let b=new mi(g/(p.length-1),p[g]),y=this.less(b.y,0,i)?1:this.greater(b.y,0,i)?2:3;for(let w=0;w<p.length;w++){let x=new mi(w/(p.length-1),p[w]),S=this.less(x.y,0,i)?1:this.greater(x.y,0,i)?2:3;y!==S&&(y===1?S===2?(a(new Xt(b,x),m),a(new Xt(b,x),h)):a(new Xt(b,x),m):y===2?S===1?(a(new Xt(b,x),m),a(new Xt(b,x),h)):a(new Xt(b,x),h):S===1?a(new Xt(b,x),m):a(new Xt(b,x),h))}}if(!isFinite(d)){if(Math.max(...p.map(g=>Math.abs(g)))<i*4)return(l+c)/2;continue}if(d!==0&&(s=s.clip(d)[1],l=(c-l)*d+l),u!==1){let g=(u-d)/(1-d);s=s.clip(g)[0],c=(c-l)*g+l}if(!s.isInRange(e,i))continue;let f=s.controls.reduce((g,b)=>g.ext2(b),new LS).build1();if(this.eq(f.minX,f.maxX,i)&&this.eq(f.minY,f.maxY,i))return(l+c)/2;if(u-d>.8){let[g,b]=s.clip(.5);g.isInRange(e,i)?(r.push([g,l,(l+c)/2]),b.isInRange(e,i)&&r.push([b,(l+c)/2,c])):r.push([b,(l+c)/2,c])}else r.push([s,l,c])}return null}toBezier(){return this}toString(){return"Bezier ["+this.controls.join(" ")+"]"}bbox(){return this._bbox||(this._bbox=new LS().ext3(this.points(.1)).build1()),this._bbox}bboxWithControls(){return this._bbox_controls||(this._bbox_controls=new LS().ext3(this.controls).build()),this._bbox_controls}multiply3(e){let i=new Array(this.controls.length);for(let o=0;o<this.controls.length;o++){let r=this.controls[o];i[o]=r.multiply3(e)}return new xT(i)}stroke(e,i,o,r=$3t){let n=ppr.zoomLines(wl.build4(this.points(r)),e);return o===0?n:n.reverse()}points(e){let i=[];return this.getBezierPoints(e,o=>i.push(o)),i}getBezierPoints(e,i){if(this.controls.length===2){i(this.start()),i(this.end());return}let o=[this];for(i(this.start());o.length!==0;){let n=o.pop(),a=new Xt(n.start(),n.end());if(r(n.controls,a)<=e)i(n.end());else{let[s,l]=n.clip(.5);o.push(l,s)}}function r(n,a){let s=a.start(),l=a.end();s.equals1(l)&&(l=s.add1(1,0));let c=l.y-s.y,d=s.x-l.x,u=-c*s.x-d*s.y,p=Math.sqrt(1/(c**2+d**2));c*=p,d*=p,u*=p;let m=n.map(h=>Math.abs(c*h.x+d*h.y+u));return Math.max(...m)}}getBezierPoints3(e,i){if(this.controls.length===2){i(this.start()),i(this.end());return}let o=e*e,r=this.controls[0],n=.5;for(;n>gpr&&!(r.distance2(xT.pointOn(n,this.controls))<=o);n*=.5);let a=Math.ceil(1/n);n=1/a,i(r);let s=0;for(let l=1;l<a;l++)s+=n,i(xT.pointOn(s,this.controls));i(this.end())}getPointsBySlope(e){if(this.controls.length===4)return this.getPointsBySlope4(e);throw new Error("Currently, only 4 control points are supported!")}getPointsBySlope4(e){let[i,o,r,n]=this.controls,a=-3*i.x+9*o.x-9*r.x+3*n.x,s=6*i.x-12*o.x+6*r.x,l=-3*i.x+3*o.x,c=[];if(Number.isFinite(e)){let d=-3*i.y+9*o.y-9*r.y+3*n.y,u=6*i.y-12*o.y+6*r.y,p=-3*i.y+3*o.y,m=d-a*e,h=u-s*e,f=p-l*e,g=-h/(2*m),b=Math.sqrt(h**2-4*m*f)/(2*m),y=g+b;y>=0&&y<=1&&c.push(xT.pointOn(y,this.controls));let w=g-b;w>=0&&w<=1&&c.push(xT.pointOn(w,this.controls))}else{let d=-s/(2*a),u=Math.sqrt(s**2-4*a*l)/(2*a),p=d+u;p>=0&&p<=1&&c.push(xT.pointOn(p,this.controls));let m=d-u;m>=0&&m<=1&&c.push(xT.pointOn(m,this.controls))}return c}buildConverxHull(e=Bi.eps){let i=[...this.controls],o=[],r=i[0],n=1;do{let a=i[n%i.length];this.eqPP(r,a,e)||o.push(new Xt(r,a)),r=a,n++}while(r!==i[0]);if(o.length===0)throw Error("buildConverxHull(diff = DoubleKit.eps)");return wl.build7(o).asClose()}getExtremePoints(e){if(!e)return a(this.controls);let i=e.start(),o=e.end(),r=o.x-i.x,n=o.y-i.y;if(Math.abs(r)<=Bi.eps||Math.abs(n)<=Bi.eps)return a(this.controls);{let s=n/r;if(this.controls.length===3){i.equals1(o)&&(o=i.add1(1,0));let l=o.y-i.y,c=i.x-o.x,d=-l*i.x-c*i.y,u=Math.sqrt(1/(l**2+c**2));l*=u,c*=u,d*=u;let p=this.controls.map(f=>l*f.x+c*f.y+d),m=p[0]-2*p[1]+p[2],h=p[1]-p[0]-s/2;if(m!==0){let f=-h/m;if(Bi.greater(f,0)&&Bi.less(f,1))return[xT.pointOn(f,this.controls)]}}else if(this.controls.length===4)return this.getPointsBySlope(s)}return[];function a(s){let l,c;if(s.length===3){let[m,h,f]=s;l=rRe(m,h,f,"x"),c=rRe(m,h,f,"y")}else if(s.length===4){let[m,h,f,g]=s;l=nRe(m,h,f,g,"x"),c=nRe(m,h,f,g,"y")}l.sort((m,h)=>h-m),c.sort((m,h)=>h-m);let d=l.pop()||1,u=c.pop()||1,p=[];for(;d!==1||u!==1;)Bi.eq(d,u)?(d=l.pop()||1,u=c.pop()||1):d<u?(p.push(xT.pointOn(d,s)),d=l.pop()||1):(p.push(xT.pointOn(u,s)),u=c.pop()||1);return p}}getToLineMaxDis2(e){let i=this.getExtremePoints(e),o=e.distance2(this.start()),r=e.distance2(this.end()),n=Math.max(o,r);return i.forEach(s=>a(e.distance2(s))),n;function a(s){n=Math.max(n,s)}}getToLineMinAndMaxDis_Controls(e){let i=e.start(),o=e.end();e.start().equals1(e.end())&&(o=i.add1(1,0));let r=o.y-i.y,n=i.x-o.x,a=-r*i.x-n*i.y,s=Math.sqrt(1/(r**2+n**2));r*=s,n*=s,a*=s;let l=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY;return this.controls.forEach(d=>{let u=r*d.x+n*d.y+a;u<l&&(l=u),u>c&&(c=u)}),{minDis:l,maxDis:c}}getPercentInLine(e){let i=[],o=[],r=this.controls,n=e.start(),a=e.end(),s=a.y-n.y,l=n.x-a.x,c=-s*n.x-l*n.y,d=Math.sqrt(1/(s**2+l**2));if(s*=d,l*=d,c*=d,s**2+l**2<=0)return i;if(r.length===3){let[u,p,m]=r,h=s*(u.x-2*p.x+m.x)+l*(u.y-2*p.y+m.y),f=2*(s*(p.x-u.x)+l*(p.y-u.y)),g=s*u.x+l*u.y+c;o=hpr(h,f,g)}else if(r.length===4){let[u,p,m,h]=r,f=h.sub(m.mul(3)).add(p.mul(3)).sub(u),g=u.sub(p.mul(2)).add(m).mul(3),b=p.sub(u).mul(3),y=u,w=s*f.x+l*f.y,x=s*g.x+l*g.y,S=s*b.x+l*b.y,T=s*y.x+l*y.y+c,M=Math.sqrt(1/(w**2+x**2));w*=M,x*=M,S*=M,T*=M,o=fpr(w,x,S,T)}else throw Error("not support getBeizerPointInLine");return o.forEach(u=>{u>=0&&u<=1&&i.push(u)}),i}reverse(){return new xT(this.controls.slice().reverse())}},Noe,j1i=(Noe=class{constructor(){this.textCache=new Map,this.numCache=new Array(20),this.boxCache=new Array(4),this.textOffsetCache=new Array(9),this.BuildLineCache=new Array(7),this.BuildTrackCache=new Array(7),this.BuildViaCache=new Array(11),this.BuildBoxCache=new Array(10),this.BuildArcCache=new Array(10),this.BuildArcTrackCache=new Array(10),this.BuildTextCache=new Array(7),this.BuildPadStyleCache=new Array(4),this.BuildPadCache=new Array(12),this.ARRAY1=new Array(1),this.ARRAY2=new Array(2),this.ARRAY3=new Array(3),this.ARRAY4=new Array(4),this.ARRAY5=new Array(5),this.ARRAY6=new Array(6),this.ARRAY7=new Array(7),this.ARRAY8=new Array(8),this.ARRAY9=new Array(9),this.ARRAY10=new Array(10),this.ARRAY11=new Array(11),this.ARRAY12=new Array(12),this.textOffsetCache[0]=mi.ORIGIN,this.textOffsetCache[1]=new mi(0,-.5),this.textOffsetCache[2]=new mi(0,-1),this.textOffsetCache[3]=new mi(-.5,0),this.textOffsetCache[4]=new mi(-.5,-.5),this.textOffsetCache[5]=new mi(-.5,-1),this.textOffsetCache[6]=new mi(-1,0),this.textOffsetCache[7]=new mi(-1,-.5),this.textOffsetCache[8]=new mi(-1,-1)}static getCache(){return Noe.instance==null&&(Noe.instance=new Noe),Noe.instance}},Noe.instance=null,Noe),Xt=class koe extends Fxe{constructor(e,i){super(),this._a=null,this._b=null,this._c=null,this.__bbox=null,this._hashed=null,this._direct=null,this._start=e,this._end=i}get a(){return this._a===null&&(this._start.equals1(this._end)?(this._a=NaN,this._b=NaN,this._c=NaN):(this._a=this._end.y-this._start.y,this._b=this._start.x-this._end.x,this._c=this._end.x*this._start.y-this._start.x*this._end.y)),this._a}get b(){return this._b===null&&(this._start.equals1(this._end)?(this._a=NaN,this._b=NaN,this._c=NaN):(this._a=this._end.y-this._start.y,this._b=this._start.x-this._end.x,this._c=this._end.x*this._start.y-this._start.x*this._end.y)),this._b}get c(){return this._c===null&&(this._start.equals1(this._end)?(this._a=NaN,this._b=NaN,this._c=NaN):(this._a=this._end.y-this._start.y,this._b=this._start.x-this._end.x,this._c=this._end.x*this._start.y-this._start.x*this._end.y)),this._c}get hashed(){return this._hashed==null&&(this._hashed=this._hashCode()),this._hashed}get direct(){return this._direct==null&&(this._direct=this._end.sub(this._start).normalize()),this._direct}cutLine(e){if(Bi.eq(this.distance(e),0)){let i=new koe(this._start,e);return i._a=this._a,i._b=this._b,i._c=this._c,i}return new koe(this._start,e)}get midPoint(){return this._start.add(this._end).mul(.5)}toBezier(){return new gr([this._start,this._end])}_hashCode(){let e=31,i=1;return i=e*i+this._start.hashCode(),i=e*i+this._end.hashCode(),i}start(){return this._start}end(){return this._end}center(){let e=this.start(),i=this.end();return e.add(i).mul(.5)}panDistance(e){let i=this._end.x-this._start.x,o=this._end.y-this._start.y,r=this.length();i=i*e/r,o=-o*e/r;let n=new mi(this._start.x+o,this._start.y+i),a=new mi(this._end.x+o,this._end.y+i);return new koe(n,a)}isPoint(){return this._start.distance2(this._end)<=1e-8}length(){return this._start.distance1(this._end)}toString(){return"Line [start="+this._start+", end="+this._end+"]"}bbox(){if(this.__bbox==null){let e=j1i.getCache().boxCache;e[0]=Math.min(this._start.x,this._end.x),e[1]=Math.max(this._start.x,this._end.x),e[2]=Math.min(this._start.y,this._end.y),e[3]=Math.max(this._start.y,this._end.y),this.__bbox=new rC(e[0],e[1],e[2],e[3])}return this.__bbox}multiply3(e){return new koe(this._start.multiply3(e),this._end.multiply3(e))}hashCode(){return this.hashed}equals(e){let i=e;return this.hashed===i.hashed&&this._start.equals(i._start)&&this._end.equals(i._end)}equals1(e){let i=e;return this.hashed===i.hashed&&this._start.equals1(i._start)&&this._end.equals1(i._end)}equals2(e){let i=[this.start(),this.end()],o=[e.start(),e.end()];return J9(i,o)||J9(i,o.reverse())}stroke(e,i,o){let r,n,a;this._end.x<this._start.x?(n=this._start.x-this._end.x,a=this._start.y-this._end.y,r=this._end):(n=this._end.x-this._start.x,a=this._end.y-this._start.y,r=this._start);let s=Math.sqrt(n*n+a*a),l=e/2,c,d,u;i===2?(d=-l,u=s+l):(d=0,u=s),i===0||i===2?o===0?c=wl.build5([d,-l,d,l,u,l,u,-l]):c=wl.build5([d,l,d,-l,u,-l,u,l]):o===0?c=wl.build2([Oi.build3(new mi(d,0),-90,-180,l,l),Oi.build3(new mi(u,0),90,-180,l,l)]):c=wl.build2([Oi.build3(new mi(d,0),90,180,l,l),Oi.build3(new mi(u,0),-90,180,l,l)]);let p=Math.atan2(a,n),m=zd.rotate(p).translate1(r);return c.asClose().multiply3(m)}points(e){return[this._start,this._end]}mirrorY(e){return new koe(this.start().mirrorY(e),this.end().mirrorY(e))}reverse(){return new koe(this._end,this._start)}inArea(e,i,o){let r=e.x,n=e.y,a=this._start,s=this._end,l=o==1,c=r-a.x,d=n-a.y,u=r-s.x,p=n-s.y,m=s.x-a.x,h=s.y-a.y,f=new mi(-h,m).normalize(),g=m+f.x*i/2,b=h+f.y*i/2,y=g*g+b*b,w=c*c+d*d,x=u*u+p*p,S=Math.abs(c*h-d*m)/2,T=Math.sqrt(m*m+h*h)*i/4;if(S<=T&&w<=y&&x<=y){if(l)return!0;{let M=new mi(r,n).sub(s).normalize(),I=new mi(r,n).sub(a).normalize(),A=new mi(f.x,f.y).cross(M),D=new mi(f.x,f.y).cross(I);return A>=0&&D<=0}}else if(l){let M=i/2;return w<=M*M?!0:x<=M*M}else return!1}isParallel(e,i=!1){let o=Bi.eq(Math.abs(this.direct.cross(e.direct)),0),r=!i||Bi.greatereq(this.direct.dot(e.direct),0);return o&&r}distance2(e){return(this.a*e.x+this.b*e.y+this.c)**2/(this.a**2+this.b**2)}distance2ForPP(e){let{x:i,y:o}=e,{x:r,y:n}=this.start(),{x:a,y:s}=this.end();return((i-r)*(s-n)-(o-n)*(a-r))**2/((s-n)**2+(a-r)**2)}distance(e){return Math.abs(this.a*e.x+this.b*e.y+this.c)/Math.sqrt(this.a**2+this.b**2)}};function bpr(t,e=.05){if(t.length<3)return t.slice();let i=t.slice(0,1),o=(n,a,s)=>J0r(n.x,n.y,a.x,a.y,s.x,s.y);for(;;){i=t.slice(0,1);for(let n=1;n<t.length-1;n+=2)o(t[n],t[n-1],t[n+1])>e&&i.push(t[n]),i.push(t[n+1]);if(i.at(-1).equals1(t.at(-1))||i.push(t.at(-1)),t.length==i.length)break;t=i}let r=t[t.length-1];return i.push(r),i}var ypr=v0r(D0r()),wpr=class{constructor(){this.fac=new LS,this.length=0,this.box=null,this.pt=null,this.i=0}calcBBox(t){for(this.fac.clear(),this.length=t.length,this.box=null,this.pt=null,this.i=0;this.i<this.length;this.i++)this.pt=t[this.i],this.box=this.pt.bbox(),this.fac.ext1(this.box);return this.fac.build1()}},Cpr=new wpr,wl=class Zh{constructor(e,i){this.__bbox=null,this.primitives=e,this.__bbox=i}static calcBBox(e){return Cpr.calcBBox(e)}static build1(e){let i=[],o=null;return eRe(e,(r,n)=>{let a=n.start();return o!==null&&!a.equals(o)&&i.push(new Xt(o,a)),i.push(n),o=n.end(),!0}),i.length===0&&o!=null&&i.push(new Xt(o,o)),new Zh(i)}static build2(e){return Zh.build1(O3t(e))}static build3(e){let i=[],o=null;return eRe(e,(r,n)=>(o!==null&&i.push(new Xt(o,n)),o=n,!0)),new Zh(i)}static build4(e){return this.build3(O3t(e))}static build5(e){let i=[];for(let o=0;o<e.length;o+=2)i.push(new mi(e[o],e[o+1]));return this.build4(i)}static build6(e){return Zh.build4([e.LL(),e.LR(),e.UR(),e.UL(),e.LL()])}static build7(e){return new Zh(e)}static build8(e){let i=new mi(e[0],e[1]),o,r=[],n,a=(s,l)=>s.length==l&&s.every(c=>typeof c=="number");for(let s=2;s<e.length;)switch(typeof e[s]=="string"?n=e[s]:s-=1,n){case"ARC":{let l=e.slice(s+1,s+4);if(!a(l,3))throw new Error("invalid rawData");let c=l[0];o=new mi(l[1],l[2]),r.push(Oi.build5(i,o,c)),i=o,s+=4;break}case"L":{let l=e.slice(s+1,s+3);if(!a(l,2))throw new Error("invalid rawData");o=new mi(l[0],l[1]),r.push(new Xt(i,o)),i=o,s+=3;break}case"C":{let l=e.slice(s+1,s+7);if(!a(l,7))throw new Error("invalid rawData");let c=new mi(l[0],l[1]),d=new mi(l[2],l[3]);o=new mi(l[4],l[5]),r.push(new gr([i,c,d,o])),i=o,s+=7;break}default:throw new Error("invalid rawData")}return Zh.build2(r)}static buildBBox(e,i=0){return i===1?Zh.build5([e.minX,e.minY,e.maxX,e.minY,e.maxX,e.maxY,e.minX,e.maxY,e.minX,e.minY]):Zh.build5([e.minX,e.minY,e.minX,e.maxY,e.maxX,e.maxY,e.maxX,e.minY,e.minX,e.minY])}static triangulate(e,i,o=1){if(e.length===1){let l=new Array;e[0].asClose().points2(o,p=>l.push(p));let c,d=l[0],u=[];for(let p=0;p<l.length-2;p+=2){let m=l[p+1],h=l[p+2],f=m.sub(d).normalize().cross(h.sub(d).normalize());if(Bi.neq(f,0)){if(c===!0){if(f<0){u.length=0;break}}else if(c===!1){if(f>0){u.length=0;break}}else c=f>0;u.push(d),u.push(m),u.push(h)}l.push(d),d=h}if(u.length!==0){for(let p=0;p<u.length;p+=3)i(u[p],u[p+1],u[p+2]);return}}let r=[],n=[];e.forEach(l=>{r.length!==0&&n.push(r.length/2),l.asClose().points2(o,c=>r.push(c.x,c.y))});let a=ypr.default(r,n),s=[];for(let l=1;l<r.length;l+=2)s.push(new mi(r[l-1],r[l]));for(let l=0;l<a.length;l+=3)i(s[a[l]],s[a[l+1]],s[a[l+2]])}lines(e,i){let o=new Array;this.points(e,n=>o.push(n));let r=o[0];for(let n=1;n<o.length;n++){let a=o[n];i(r),i(a),r=a}}triangles(e,i){Zh.triangulate([this],(...o)=>{o.forEach(r=>i(r))},e)}mirror(){let e=[];return this.primitives.forEach(i=>{if(i instanceof Xt)i=new Xt(i.start().mirror(),i.end().mirror());else if(i instanceof Oi)i=i.mirror();else if(i instanceof gr){let o=i.controls.map(r=>r.mirror());i=new gr(o)}else throw new Error("bug");e.push(i)}),new Zh(e,this.__bbox)}getPoints(e){let i=[];for(let o of this.primitives)for(let r of o.points(e))i.push(r);return i}round(e=4){let i=this.primitives.slice();for(let o=0;o<i.length;o++){let r=i[o];if(r instanceof Xt){let n=r.start().round(e),a=r.end().round(e);i[o]=new Xt(n,a)}else if(r instanceof gr){let n=r.controls.map(a=>a.round(e));i[o]=new gr(n)}else if(r instanceof Oi){let n=r.start().round(e),a=r.end().round(e),s=r.sweepAngle;i[o]=Oi.build5(n,a,s)}}return new Zh(i,this.__bbox)}simplify(e=.05){let i=[],o=!1,r=[],n=this.closed();if(this.primitives.length<=1)return Zh.build2(this.primitives);let a=()=>{if(r.length>2){let l=bpr(r,e);for(let c=1;c<l.length;c++)i.push(new Xt(l[c-1],l[c]))}else i.push(new Xt(r[0],r[1]));r.length=0,o=!1};for(let l=0;l<this.primitives.length;l++){let c=this.primitives[l];c instanceof Xt?(o?r.push(c.end()):(r.length=0,r.push(c.start(),c.end()),o=!0),l===this.primitives.length-1&&a()):(o&&a(),i.push(c))}let s=new Zh(i,this.__bbox);return n&&!s.closed()&&(s=s.asClose()),s}hasBackLine(){let{primitives:e}=this,i;for(let o=0;o<e.length;o++){let r=e[o];if(r instanceof Xt){if(r.end().equals1(r.start()))continue;if(i&&(r.end().equals1(i.start())||q0r(r.end(),i.start(),i.end())))return!0;i=r}else i=null}return!1}area(e=.1){let i=0,o=this.end();return this.primitives.forEach(r=>{let n=r.start(),a=r.end();if(i+=(n.x+o.x)*(n.y-o.y),r instanceof Xt)i+=(a.x+n.x)*(a.y-n.y);else if(r instanceof Oi)i+=(a.x+n.x)*(a.y-n.y),i+=Math.PI*r.rx2*r.sweepAngle/180-mi.normal(r.center,r.start(),r.end());else if(r instanceof gr){let s=n;r.points(e).forEach(l=>{i+=(l.x+s.x)*(l.y-s.y),s=l}),i+=(a.x+s.x)*(a.y-s.y)}o=a}),i/2}closed(e){return this.primitives.length===0?!1:this.start().equals(this.end(),e)}asClose(){let e=this.primitives[0],i=this.primitives[this.primitives.length-1],o=e.start(),r=i.end();if(o.equals(r))return this;{let n=new Array;return nC.addAll(n,this.primitives),n.push(new Xt(r,o)),Zh.build2(n)}}closeEndpoint(){let e=this.primitives[0],i=this.primitives[this.primitives.length-1],o=e.start(),r=i.end();if(o.equals1(r))return this;{let n=new Array;return nC.addAll(n,this.primitives),n.push(new Xt(r,o)),new Zh(n)}}reverse(){let e=new Array(this.primitives.length);for(let i=0,o=this.primitives.length-1;o>=0;i++,o--){let r=this.primitives[o];if(r instanceof Xt)r=new Xt(r.end(),r.start());else if(r instanceof Oi)r=r.exchangeSweep();else if(r instanceof gr)r=new gr(r.controls.slice().reverse());else throw new Error("bug");e[i]=r}return new Zh(e,this.__bbox)}reverse1(){let e=new Array(this.primitives.length);for(let i=0,o=this.primitives.length-1;o>=0;i++,o--){let r=this.primitives[o];if(r instanceof Xt)r=new Xt(r.end(),r.start());else if(r instanceof Oi)r=r.exchangeSweep1();else if(r instanceof gr)r=new gr(r.controls.slice().reverse());else throw new Error("bug");e[i]=r}return new Zh(e,this.__bbox)}mirrorY(e){let i=[];return this.primitives.forEach(o=>{if(o instanceof Xt)o=o.mirrorY(e);else if(o instanceof Oi)o=o.mirrorY(e);else if(o instanceof gr){let r=o.controls.map(n=>n.mirrorY(e));o=new gr(r)}else throw new Error("bug");i.push(o)}),new Zh(i,this.__bbox)}points(e,i){if(this.primitives.length!==0){for(let o=0;o<this.primitives.length-1;o++){let r=this.primitives[o].points(e);r.pop(),r.forEach(n=>i(n))}this.primitives[this.primitives.length-1].points(e).forEach(o=>i(o))}}points1(e,i){if(this.primitives.length===0)return;for(let r=0;r<this.primitives.length-1;r++){let n=this.primitives[r],a=n instanceof Oi?n.points1(e):n.points(e);a.pop(),a.forEach(s=>i(s))}let o=this.primitives[this.primitives.length-1];(o instanceof Oi?o.points1(e):o.points(e)).forEach(r=>i(r))}points2(e,i){if(this.primitives.length===0)return;for(let r=0;r<this.primitives.length-1;r++){let n=this.primitives[r],a=n instanceof Oi?n.points2():n.points(e);a.pop(),a.forEach(s=>i(s))}let o=this.primitives[this.primitives.length-1];(o instanceof Oi?o.points2():o.points(e)).forEach(r=>i(r))}multiply3(e){let i=new Array(this.primitives.length);for(let o=0;o<this.primitives.length;o++)i[o]=this.primitives[o].multiply3(e);return Zh.build7(i)}bbox(){return this.__bbox==null&&(this.__bbox=Zh.calcBBox(this.primitives)),this.__bbox}start(){return this.primitives.length!==0?this.primitives[0].start():null}end(){return this.primitives.length!==0?this.primitives[this.primitives.length-1].end():null}isClose(e){if(this.primitives.length<=1&&!(this.primitives[0]instanceof Oi))return!1;{let i=this.primitives[0],o=this.primitives[this.primitives.length-1];return i.start().equals(o.end(),e)}}isEqual(e){if(e instanceof Zh&&e.primitives.length==this.primitives.length){let i=e.primitives.length;for(let o=0;o<i;o++){let r=e.primitives[o],n=this.primitives[o];if(JSON.stringify(r)!=JSON.stringify(n))return!1}return!0}return!1}equals(e){if(!e)return!1;let i=this.primitives,o=e.primitives;if(i.length!=o.length)return!1;if(e.isClose()){let r=0;for(;r<i.length;){let n=i.slice(r).concat(i.slice(0,r));if(J9(n,o)||J9(n.reverse(),o))return!0;r++}return!1}else return J9(this.primitives,e.primitives)}clone(){return Zh.build2(this.primitives)}putItem(e,i){if(!e)return!1;if(e instanceof Zh)return this.mergePolyline(e,i);let o=this.start();if(!o){this.primitives.push(e),this.__bbox=e.bbox();return}let r=this.end();if(o.equals(r,i))return!1;let n=e.start(),a=e.end(),s=!1,l=!1;if(o.equals(n,i))s=!0,l=!1;else if(o.equals(a,i))s=!1,l=!1;else if(r.equals(n,i))s=!1,l=!0;else if(r.equals(a,i))s=!0,l=!0;else return!1;return l?this.primitives.push(s?e.reverse():e):this.primitives.unshift(s?e.reverse():e),this.__bbox=rC.extend2(this.__bbox,e.bbox()),!0}mergePolyline(e,i,o=0){if(!e)return!1;let r=this.start();if(!r){this.primitives.push(...e.primitives),this.__bbox=e.bbox();return}let n=this.end();if(r.equals(n,i))return!1;let a=e.start(),s=e.end(),l=!1,c=!1;if(r.equals(a,i))l=!0,c=!1;else if(r.equals(s,i))l=!1,c=!1;else if(n.equals(a,i))l=!1,c=!0;else if(n.equals(s,i))l=!0,c=!0;else return!1;let d=l?e.reverse():e;return c?this.primitives.push(...d.primitives):this.primitives.unshift(...d.primitives),this.__bbox=rC.extend2(this.__bbox,e.bbox()),!0}deDuplicationPoint(e){let i=this.primitives[this.primitives.length-1].start(),o=this.primitives[this.primitives.length-1].end(),r=e.primitives[0].start(),n=e.primitives[0].end();if(this.primitives[this.primitives.length-1]instanceof Xt&&e.primitives[0]instanceof Xt&&rpr([i,o],[r,n])){this.primitives.pop(),e.primitives.shift();let a=[];a.push(new Xt(i,n)),this.primitives.push(...a)}}getMaxBBoxHeightByVec(e){let i=e.normalize(),o=-1/0,r=1/0;if(this.primitives.forEach(a=>{let s=a.start().dot(i),l=a.end().dot(i);if(n(s),n(l),a instanceof Oi){let c=e.angleD(mi.ORIGIN);if(a.angleIsInArc(c)){let d=a.pointOn(c).dot(i);n(d)}if(a.angleIsInArc(c+180)){let d=a.pointOn(c-180).dot(i);n(d)}}}),o-r<=0)throw new Error("getMaxBBoxHeightByVec");return o-r;function n(a){a>o&&(o=a),a<r&&(r=a)}}getWindingNum(e){let i=this.end(),o=0,{x:r,y:n}=e;for(let s of this.primitives){if(i.y>n?s.bbox().minY>n:s.bbox().maxY<=n){i=s.end();continue}if(s instanceof Oi&&(s.isCCW?Math.floor(s.startAngle/90)+1!==Math.ceil(s.endAngle()/90):Math.ceil(s.startAngle/90)-1!==Math.floor(s.endAngle()/90))){let l=s.startAngle,c=s.endAngle();if(s.sweepAngle>0){let d=90;for(;d<=c;)d>l&&(a(Oi.build3(s.center,l,d-l,s.rx,s.ry)),l=d),d+=90;l<c&&a(Oi.build3(s.center,l,c-l,s.rx,s.ry))}else{let d=270;for(;d>=c;)d<l&&(a(Oi.build3(s.center,l,d-l,s.rx,s.ry)),l=d),d-=90;l>c&&a(Oi.build3(s.center,l,c-l,s.rx,s.ry))}}else if(s instanceof gr){let l=[];_1i(s,l),l.forEach(c=>a(c))}else a(s)}return o;function a(s){let l=s.start(),c=s.end();if(i.y>n!=l.y>n&&(i.x>r?l.x>r?o+=l.y>i.y?1:-1:i.y>l.y?(i.x-r)*(l.y-n)-(i.y-n)*(l.x-r)<0&&o--:(i.x-r)*(l.y-n)-(i.y-n)*(l.x-r)>0&&o++:l.x>r&&(i.y>l.y?(i.x-r)*(l.y-n)-(i.y-n)*(l.x-r)<0&&o--:(i.x-r)*(l.y-n)-(i.y-n)*(l.x-r)>0&&o++)),l.y>n!=c.y>n){if(l.x>r)if(c.x>r)o+=c.y>l.y?1:-1;else if(s instanceof Xt)l.y>c.y?(l.x-r)*(c.y-n)-(l.y-n)*(c.x-r)<0&&o--:(l.x-r)*(c.y-n)-(l.y-n)*(c.x-r)>0&&o++;else if(s instanceof Oi){let{center:d,isCCW:u,rx2:p}=s,m=(d.x-r)**2+(d.y-n)**2;l.y>c.y?(u?m>p:m<p)&&o--:(u?m<p:m>p)&&o++}else if(s instanceof gr){if(Qmi(s,n)===0)throw new Error("no inters");At[0]>r&&(o+=c.y>l.y?1:-1)}else throw new Error("not support!");else if(c.x>r)if(s instanceof Xt)l.y>c.y?(l.x-r)*(c.y-n)-(l.y-n)*(c.x-r)<0&&o--:(l.x-r)*(c.y-n)-(l.y-n)*(c.x-r)>0&&o++;else if(s instanceof Oi){let{center:d,isCCW:u,rx2:p}=s,m=(d.x-r)**2+(d.y-n)**2;l.y>c.y?(u?m>p:m<p)&&o--:(u?m<p:m>p)&&o++}else if(s instanceof gr){if(Qmi(s,n)===0)throw new Error("no inters");At[0]>r&&(o+=c.y>l.y?1:-1)}else throw new Error("not support!")}i=c}}},FOe=Math.PI*2,mPn=Math.PI/2,hPn=Math.sin(Math.PI/180),xpr=4,Oi=class j0 extends Fxe{constructor(e,i,o,r,n){super(),this._rx2=null,this._ry2=null,this._svgEnd=null,this._hashed=null,this.__bbox=null,this.rx=e,this.ry=i,this.center=o,this.startAngle=r,this.sweepAngle=n,this._start=mi.ORIGIN,this._end=mi.ORIGIN,this._start=this.pointOn(r),this._end=this.pointOn(r+n)}get hashed(){return this._hashed==null&&(this._hashed=this._hashCode()),this._hashed}hashCode(){return this.hashed}_hashCode(){let e=31,i=1;return i=e*i+new mi(this.rx,this.rx).hashCode(),i=e*i+this.center.hashCode(),i=e*i+new mi(this.startAngle,this.sweepAngle).hashCode(),i}get rx2(){return this._rx2==null&&(this._rx2=this.rx*this.rx),this._rx2}get ry2(){return this._ry2==null&&(this._ry2=this.ry*this.ry),this._ry2}get svgEnd(){return this._svgEnd==null&&(this._svgEnd=this.getSvgEnd(this.startAngle,this.sweepAngle,this._start,this._end)),this._svgEnd}getSvgEnd(e,i,o,r){let n=i>=0?-.01:.01,a=e+i;for(;(i>=0&&a>e||i<0&&a<e)&&o.distance2(r)<2e-4;)n*=2,a+=n,r=this.pointOn(a);return r}static build1(e,i,o,r,n,a){Lp.positive(o),Lp.positive(r);let s=e.equals(i);if(s)return new j0(o,r,e,0,n?360:0);{let l=e.x,c=-e.y,d=i.x,u=-i.y,p=a===0,m=(l-d)/2,h=(c-u)/2,f=Math.cos(0),g=Math.sin(0),b=f*m+g*h,y=-g*m+f*h;o=Math.abs(o),r=Math.abs(r);let w=o*o,x=r*r,S=b*b,T=y*y,M=n===p?-1:1,I=(w*x-w*T-x*S)/(w*T+x*S);I=I<0?0:I;let A=M*Math.sqrt(I),D=A*(o*y/r),E=A*-(r*b/o),N=(l+d)/2,R=(c+u)/2,v=N+(f*D-g*E),k=R+(g*D+f*E),P=(b-D)/o,O=(y-E)/r,_=(-b-D)/o,j=(-y-E)/r,B,V;V=Math.sqrt(P*P+O*O),B=P,M=O<0?-1:1;let G=Ka.toDegrees(M*Math.acos(B/V));V=Math.sqrt((P*P+O*O)*(_*_+j*j)),B=P*_+O*j,M=P*j-O*_<0?-1:1;let Q=B/V,H;Q<-1?H=Math.acos(-1):Q>1?H=Math.acos(1):H=Math.acos(Q);let q=Ka.toDegrees(M*H);!p&&q>0?q-=360:p&&q<0&&(q+=360),Lp.normal(G),Lp.normal(q);let U=m*m/w+h*h/x,F=e.distance1(i)/2;o<F&&r<F&&(o*=Math.sqrt(U),r*=Math.sqrt(U));let K=s?0:Ka.regularD(-G),te=s?n?360:0:-q;return new j0(o,r,new mi(v,-k),K,te)}}static build2(e,i,o,r,n,a){Lp.positive(r),Lp.positive(n),Lp.normal(i),Lp.normal(o);let s;return i===o?(i=Ka.regularD(i),o=Ka.regularD(o),s=0):(i=Ka.regularD(i),o=Ka.regularD(o),a===1?o<=i&&(o+=360):o>=i&&(i+=360),s=o-i),new j0(r,n,e,Ka.regularD(i),s)}static build3(e,i,o,r,n){return Lp.positive(r),Lp.positive(n),Lp.normal(o),new j0(r,n,e,Ka.regularD(i),o)}static build4(e,i,o,r,n,a){let s=e.angleD(o),l=i.angleD(o);return j0.build2(o,s,l,r,n,a)}static build5(e,i,o){o=Ka.toRadians(o);let r=i.sub(e),n=new mi(-r.y,r.x).normalize(),a=Math.abs(o)/2,s;if(a!=0)s=r.length()/2/Math.sin(a);else throw new Error("Can't represent circle!!!");let l=n.rotate(mi.ORIGIN,a),c,d;o>0?(c=1,d=i.add(l.scale(s))):(c=0,d=e.sub(l.scale(s)));let u=Ka.toDegrees(e.angle(d)),p=Ka.toDegrees(i.angle(d));return j0.build2(d,u,p,s,s,c)}static buildCircle(e,i,o=0){return j0.build2(e,0,360,i,i,o)}start(){return this._start}end(){return this._end}isLarge(){return Math.abs(this.sweepAngle)>180}sweep(){return this.sweepAngle>=0?1:0}get isCCW(){return this.sweepAngle>=0}endAngle(){return this.startAngle+this.sweepAngle}pointOn(e){e=Ka.regularD(e);let i=this.rx,o=this.ry;if(e===0)return this.center.add1(i,0);if(e===90)return this.center.add1(0,o);if(e===180)return this.center.add1(-i,0);if(e===270)return this.center.add1(0,-o);{let r=this.rx2,n=this.ry2,a=Math.tan(Ka.toRadians(e)),s=a*a,l=Math.sqrt(r*n/(r+n/s)),c=Math.sqrt(r*n/(n+r*s));return e>90&&e<270&&(c=-c),e>180&&e<360&&(l=-l),isNaN(c)&&(c=0),isNaN(l)&&(l=0),this.center.add1(c,l)}}exchangeSweep(){return j0.build3(this.center,this.startAngle+this.sweepAngle,-this.sweepAngle,this.rx,this.ry)}exchangeSweepAndStart(){return j0.build1(this.end(),this.start(),this.rx,this.ry,this.isLarge(),this.sweepAngle>=0?0:1)}exchangeSweep1(){return j0.build3(this.center,this.startAngle+this.sweepAngle,-this.sweepAngle+.01,this.rx,this.ry)}mirrorY(e){let i=this.start(),o=this.end();return i.equals(o)?j0.build3(this.center.mirrorY(),0,360,this.rx,this.ry):j0.build1(i.mirrorY(e),o.mirrorY(e),this.rx,this.ry,this.isLarge(),this.sweepAngle>=0?0:1)}mirror(e=mi.ORIGIN){let i=this.start(),o=this.end();return i.equals(o)?j0.build3(this.center.mirror(e),0,360,this.rx,this.ry):j0.build1(i.mirror(e),o.mirror(e),this.rx,this.ry,this.isLarge(),this.sweep())}sectorArea(){return Math.abs(this.sweepAngle)/360*Math.PI*this.rx*this.ry}area(){let e=R3t.area(this.center,this._start,this.pointOn(this.endAngle()));return this.sectorArea()-e}multiply3(e){let i;e.isMirrored()?i=-this.sweepAngle:i=this.sweepAngle;let o;return e.equals(zd.ROT_90)?o=Ka.regularD(this.startAngle+90):e.equals(zd.ROT_N90)?o=Ka.regularD(this.startAngle-90):o=Ka.transformD(this.startAngle,e),j0.build3(this.center.multiply3(e),o,i,e.iScale*this.rx,e.iScale*this.ry)}angleIsInArc(e){return e=Ka.regularD(e),this.sweepAngle>0?(e<this.startAngle&&(e+=360),this.endAngle()>e):(e>this.startAngle&&(e-=360),this.endAngle()<e)}toBezier(){if(Math.abs(this.sweepAngle)>90)throw new Error("not support!");let e=this.start(),i=this.end(),o=Ka.toRadians(this.sweepAngle)/2,r=4/3*(1-Math.cos(o))/Math.sin(o)*this.rx;return new gr([e,e.add(new mi(r,0).multiply3(zd.rotateD(this.startAngle+90))),i.add(new mi(r,0).multiply3(zd.rotateD(this.endAngle()-90))),i])}toBezier2(){let e=[];o(this,90);let i=[];return e.forEach(r=>i.push(r.toBezier())),i;function o(r,n){if(Math.abs(r.sweepAngle)>n){let a=r.sweepAngle/2;o(j0.build3(r.center,r.startAngle,a,r.rx,r.ry),n),o(j0.build3(r.center,r.startAngle+a,a,r.rx,r.ry),n)}else e.push(r)}}buildBBox(){let e=j1i.getCache().boxCache,i=this.startAngle+this.sweepAngle;if(e[0]=Math.min(this._start.x,this._end.x),e[1]=Math.max(this._start.x,this._end.x),e[2]=Math.min(this._start.y,this._end.y),e[3]=Math.max(this._start.y,this._end.y),this.sweepAngle>0){let o=0;for(;o<i;){if(o>this.startAngle){let r=this.pointOn(o);e[0]=Math.min(e[0],r.x),e[1]=Math.max(e[1],r.x),e[2]=Math.min(e[2],r.y),e[3]=Math.max(e[3],r.y)}o+=90}}else if(this.sweepAngle<0){let o=360;for(;o>i;){if(o<this.startAngle){let r=this.pointOn(o);e[0]=Math.min(e[0],r.x),e[1]=Math.max(e[1],r.x),e[2]=Math.min(e[2],r.y),e[3]=Math.max(e[3],r.y)}o-=90}}return new rC(e[0],e[1],e[2],e[3])}bbox(){return this.__bbox==null&&(this.__bbox=this.buildBBox()),this.__bbox}length(){return Math.abs(this.rx*this.sweepAngle*Math.PI/180)}toString(){return G0e.format("Arc [start=%s, end=%s, rx=%s, ry=%s, center=%s, startAngle=%s, sweepAngle=%s]",this._start,this._end,this.rx,this.ry,this.center,this.startAngle,this.sweepAngle)}stroke(e,i,o){let r=e/2,n=this.rx+r,a=this.ry+r,s=this.rx-r,l=this.ry-r,c=new zd;s<0&&(s=-s,c=c.multiply3(zd.MIRROR_Y)),l<0&&(l=-l,c=c.multiply3(zd.MIRROR_X)),s===0&&(s=.001),l===0&&(l=.001),c=c.setOrigin1(this.center);let d,u;switch(o===this.sweep()?(d=j0.build3(this.center,this.startAngle,this.sweepAngle,n,a),u=j0.build3(this.center,this.startAngle+this.sweepAngle,-this.sweepAngle,s,l)):(d=j0.build3(this.center,this.startAngle+this.sweepAngle,-this.sweepAngle,n,a),u=j0.build3(this.center,this.startAngle,this.sweepAngle,s,l)),u=u.multiply3(c),i){case 1:{let p=o===1?180:-180,m=o===this.sweep()?this.pointOn(this.endAngle()):this.pointOn(this.startAngle),h=o===this.sweep()?this.pointOn(this.startAngle):this.pointOn(this.endAngle()),f=d.pointOn(d.endAngle()).angleD(m),g=u.pointOn(u.endAngle()).angleD(h);return wl.build2([d,j0.build3(m,f,p,r,r),u,j0.build3(h,g,p,r,r)])}default:return wl.build2([d,u])}}points2(){let e=Math.ceil(Math.abs(this.sweepAngle)/xpr),i=this.sweepAngle/e,o=[this._start];for(let r=1;r<e;r++)o.push(this.pointOn(this.startAngle+i*r));return o.push(this._end),o}points1(e){let i=Math.max(this.rx,this.ry);if(i<=e)return[this.start(),this.svgEnd];let o=(i-e)/i,r=Math.ceil(Math.abs(this.sweepAngle/Ka.toDegrees(Math.acos(o))/2)),n=new Array(r+1),a=this.sweepAngle/r,s=this.startAngle;for(let l=0;l<=r;l++,s+=a)n[l]=this.pointOn(s);return n}points(e){let i=Math.max(this.rx,this.ry);if(e=Math.abs(e),i<=e)return[this.start(),this.svgEnd];e=Math.max(e,i*1e-5),e=Math.min(e,i*(1-Math.SQRT1_2));let o=(i-e)/i,r=Math.ceil(Math.abs(this.sweepAngle/Ka.toDegrees(Math.acos(o))/2));r=Math.max(r,2);let n=new Array(r+1),a=this.sweepAngle/r,s=this.startAngle+a;n[0]=this.start();for(let l=1;l<r;l++,s+=a)n[l]=this.pointOn(s);return n[r]=this.end(),n}panDistance(e){return this.sweepAngle>0?new j0(this.rx-e,this.ry-e,this.center,this.startAngle,this.sweepAngle):new j0(this.rx+e,this.ry+e,this.center,this.startAngle,this.sweepAngle)}panDistance1(e){if(this.sweepAngle>0){let i=this.rx-e;return i<0?(i=Math.abs(i),j0.build3(this.center,this.startAngle-180,this.sweepAngle,i,i)):new j0(i,i,this.center,this.startAngle,this.sweepAngle)}else{let i=this.rx+e;return i<0?(i=Math.abs(i),j0.build3(this.center,this.startAngle-180,this.sweepAngle,i,i)):new j0(i,i,this.center,this.startAngle,this.sweepAngle)}}get bulge(){let e=Math.abs(K0r(this.sweepAngle,3))/180*Math.PI;return Math.tan(e/4)}get midPoint(){let e=Ka.toRadians(this.startAngle),i=Ka.toRadians(this.endAngle()),o=this.sweep(),r=this.center,n=this.rx;if(o==1)if(i>e){let a=(i-e)/2+e;return r.add(new mi(Math.cos(a),Math.sin(a)).mul(n))}else{if(i==e)return r.add(new mi(Math.cos(Math.PI*3/2),Math.sin(Math.PI*3/2)).mul(n));{let a=(i+FOe-e)/2+e;return r.add(new mi(Math.cos(a),Math.sin(a)).mul(n))}}else if(i>e){let a=(e+FOe-i)/2+i;return r.add(new mi(Math.cos(a),Math.sin(a)).mul(n))}else{if(i==e)return r.add(new mi(Math.cos(Math.PI*3/2),Math.sin(Math.PI*3/2)).mul(n));{let a=(e-i)/2+i;return r.add(new mi(Math.cos(a),Math.sin(a)).mul(n))}}}get svgPathData(){return[{type:"M",values:[this._start.x,this._start.y]},{type:"A",values:[this.rx,this.ry,0,this.isLarge()?1:0,this.isCCW,this._end.x,this._end.y]}]}equals(e){let i=Ka.regularD(this.startAngle),o=Ka.regularD(this.sweepAngle),r=Ka.regularD(e.startAngle),n=Ka.regularD(e.sweepAngle);return J9([this.rx,this.ry,this.center,Math.abs(o)],[e.rx,e.ry,e.center,Math.abs(n)])&&(J9([o,i],[n,r])||J9([Ka.regularD(i+o)],[r]))}equals1(e){let i=Ka.regularD(this.startAngle),o=Ka.regularD(this.sweepAngle),r=Ka.regularD(e.startAngle),n=Ka.regularD(e.sweepAngle);return J9([this.rx,this.ry,this.center,Math.abs(o)],[e.rx,e.ry,e.center,Math.abs(n)])&&(J9([o,i],[n,r])||J9([Ka.regularD(i+o)],[r]))}inArea(e,i){let o=e.x,r=e.y,n=this.center,a=this.rx,s=Ka.toRadians(this.startAngle);this.sweep()==0&&(s=Ka.toRadians(this.endAngle()));let l=Ka.toRadians(this.endAngle());this.sweep()==0&&(l=Ka.toRadians(this.startAngle));let c=a-i/2,d=a+i/2;var u=o-n.x,p=r-n.y,m=Math.atan2(p,u);if(m<0&&(m+=FOe),s<=l&&m>=s&&m<=l||s>l&&(m>=s&&m<=FOe||m>=0&&m<=l)||s==l){var h=Math.sqrt(u*u+p*p);return h<=d&&h>=c}else{var h=(d+c)/2,f=new mi(n.x+Math.cos(s)*h,n.y+Math.sin(s)*h),g=new mi(n.x+Math.cos(l)*h,n.y+Math.sin(l)*h),b=o-f.x,y=r-f.y,w=o-g.x,x=r-g.y;return b*b+y*y<=i*i/4?!0:w*w+x*x<=i*i/4}}isCircle(){return(Bi.eq(Math.abs(this.sweepAngle),360)||this._start.equals1(this._end))&&this.rx==this.ry}reverse(){return j0.build3(this.center,this.endAngle(),-this.sweepAngle,this.rx,this.ry)}getAngle(){let e=Math.PI*2;return this.sweep()==1?(this.endAngle()-this.startAngle+e)%e:(this.startAngle-this.endAngle()+e)%e}isValid(){return this.rx>0&&this.ry>0}},B1i=new ArrayBuffer(24),b3t=new Float64Array(B1i),P0e=new Int32Array(B1i),a4,fPn=(a4=class{static normal(t,e,i){let o=e.sub(t),r=i.sub(e);return o.cross(r)}constructor(t,e,i){this.x=Lp.normal(t),this.y=Lp.normal(e),this.z=Lp.normal(i),b3t[0]=t,b3t[1]=e,b3t[2]=i,this.hashed=P0e[0]^P0e[1]^P0e[2]^P0e[3]^P0e[4]^P0e[5]}isZeroVector(){return this.x===0&&this.y===0&&this.z===0}hashCode(){return this.hashed}equals(t){return t instanceof a4?t.x===this.x&&t.y===this.y&&t.z===this.z:!1}cross(t){return new a4(this.y*t.z-this.z*t.y,this.z*t.x-this.x*t.z,this.x*t.y-this.y*t.x)}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}normalize(){var t=this.length();return new a4(this.x/t,this.y/t,this.z/t)}sub(t){return new a4(this.x-t.x,this.y-t.y,this.z-t.z)}add(t){return new a4(this.x+t.x,this.y+t.y,this.z+t.z)}scale(t){return new a4(this.x*t,this.y*t,this.z*t)}neg(){return new a4(-this.x,-this.y,-this.z)}multiply4(t){var e=this.x*t.data[0]+this.y*t.data[4]+this.z*t.data[8]+t.data[12],i=this.x*t.data[1]+this.y*t.data[5]+this.z*t.data[9]+t.data[13],o=this.x*t.data[2]+this.y*t.data[6]+this.z*t.data[10]+t.data[14],r=this.x*t.data[3]+this.y*t.data[7]+this.z*t.data[11]+t.data[15];return r!=0?new a4(e/r,i/r,o/r):new a4(e,i,o)}rotate(t,e){return this.multiply4(k1i.rotateAxis(t,e))}toVector2(){return new mi(this.x,this.y)}},a4.ORIGIN=new a4(0,0,0),a4.X_UNIT_VECTOR=new a4(1,0,0),a4.Y_UNIT_VECTOR=new a4(0,1,0),a4.Z_UNIT_VECTOR=new a4(0,0,1),a4),nh=class F0e{static build(e){return e instanceof wl?new F0e([new Bg([e])]):e instanceof Bg?new F0e([e]):e}static buildByPolygon(e){return e?new F0e([e]):new F0e([])}static buildByStroke(e,i,o=1,r){return this.buildByPolygon(Bg.buildByStroke(e,i,o,$3t,r))}static buildCircle(e,i){return this.buildByPolygon(Bg.buildCircle(e,i))}static buildRect(e){return this.buildByPolygon(Bg.buildRect(e))}static buildBBox(e){return this.buildByPolygon(Bg.buildBBox(e))}constructor(e){this.items=e.slice()}multiply3(e){return new F0e(this.items.map(i=>i.multiply3(e)))}bbox(){return this._bbox||(this._bbox=this.items.reduce((e,i)=>e.ext1(i.bbox()),new LS).build1()),this._bbox}toPolylineGroups(){return this.items.map(e=>e.toPolylineGroup())}},_0,rd=(_0=class{static isHexFormate(t){return!t||typeof t!="string"?!1:/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)}static of1(t){return this.of2(t>>16&255,t>>8&255,t&255)}static of2(t,e,i,o=255){return new _0(t/255,e/255,i/255,o/255)}static of3(t){t.startsWith("#")&&(t=t.substr(1));let e=t.length;if(e==3)return new _0(parseInt(t[0],16)/15,parseInt(t[1],16)/15,parseInt(t[2],16)/15);if(e==6)return new _0(parseInt(t.substr(0,2),16)/255,parseInt(t.substr(2,2),16)/255,parseInt(t.substr(4,2),16)/255);if(e==8)return new _0(parseInt(t.substr(0,2),16)/255,parseInt(t.substr(2,2),16)/255,parseInt(t.substr(4,2),16)/255,parseInt(t.substr(6,2),16)/255);throw new Error("invalid color string")}static of4(t){let e=parseInt(t.r*255+"").toString(16),i=parseInt(t.g*255+"").toString(16),o=parseInt(t.b*255+"").toString(16);return e.length<2&&(e="0"+e),i.length<2&&(i="0"+i),o.length<2&&(o="0"+o),("#"+e+i+o).toUpperCase()}static of5(t,e){if(t.startsWith("#")&&(t=t.substr(1)),t.length==3)return new _0(parseInt(t[0],16)/15,parseInt(t[1],16)/15,parseInt(t[2],16)/15,e);if(t.length==6)return new _0(parseInt(t.substr(0,2),16)/255,parseInt(t.substr(2,2),16)/255,parseInt(t.substr(4,2),16)/255,e);throw new Error("invalid color string")}static of6(t,e){return new _0(t.r,t.g,t.b,e)}static of7(t){return t==null?null:_0.of3(t)}constructor(t,e,i,o=1){this.r=Lp.positiveOr0(t),this.g=Lp.positiveOr0(e),this.b=Lp.positiveOr0(i),this.alpha=o}hashCode(){return this.r+this.g+this.b+this.alpha}equals(t,e=!1){let i=this.r===t.r&&this.g===t.g&&this.b===t.b;return e?i:i&&this.alpha===t.alpha}add(t,e,i,o){return new _0(Math.max(0,Math.min(1,this.r+t)),Math.max(0,Math.min(1,this.g+e)),Math.max(0,Math.min(1,this.b+i)),Math.max(0,Math.min(1,this.alpha+o)))}mul(t){return new _0(Math.max(0,Math.min(1,this.r*t)),Math.max(0,Math.min(1,this.g*t)),Math.max(0,Math.min(1,this.b*t)),this.alpha)}mul1(t){return new _0(Math.max(0,this.r*t),Math.max(0,this.g*t),Math.max(0,this.b*t),this.alpha)}getData(){return[this.r,this.g,this.b,this.alpha]}toString(){let t=(this.r*255).toString(16),e=(this.g*255).toString(16),i=(this.b*255).toString(16);return t.length<2&&(t="0"+t),e.length<2&&(e="0"+e),i.length<2&&(i="0"+i),"#"+t.substr(0,2)+e.substr(0,2)+i.substr(0,2)}toString1(){let t=(this.r*255).toString(16),e=(this.g*255).toString(16),i=(this.b*255).toString(16),o=(this.alpha*255).toString(16);return t.length<2&&(t="0"+t),e.length<2&&(e="0"+e),i.length<2&&(i="0"+i),o.length<2&&(o="0"+o),"#"+t.substr(0,2)+e.substr(0,2)+i.substr(0,2)+o.substr(0,2)}toRGBA(){let t=this.r*255,e=this.g*255,i=this.b*255;return[t,e,i,this.alpha]}toRGBAString(){let t=this.r*255,e=this.g*255,i=this.b*255;return`rgba(${t},${e},${i},${this.alpha})`}isWHITE(){return this.r===1&&this.g===1&&this.b===1&&this.alpha===1}},_0.WHITE=new _0(1,1,1,1),_0.BLACK=new _0(0,0,0,1),_0.RED=new _0(1,0,0,1),_0.GREEN=new _0(0,1,0,1),_0.BLUE=new _0(0,0,1,1),_0.Gray=_0.of3("#9966ff"),_0.Silver=_0.of3("#D2D2D2"),_0.Golden=_0.of3("#DCAA14"),_0.Pink=_0.of3("#ffaec9"),_0),e1i=!1,z1i=class{onRTreeBBox(t){}onResultSide(t){}onOriginSide(t){}onSplitedSide(t){}onDebugSide(t){}onSweep(t,e,i,o,r,n){}onIntersect(t,e,i){}onSegment(t,e,i,o,r,n){}onSegment1(t,e,i){if(e1i){let o=new mi(t.getX(i),i),r=new mi(e.getX(i),i);this.onSegment(o,t.weight,t,r,e.weight,e)}else this.onSegment(t.start,t.weight,t,e.end,e.weight,e)}onSweep1(t,e,i){if(e1i){let o=new mi(t.getX(i),i),r=new mi(e.getX(i),i);this.onSweep(o,t.weight,t,r,e.weight,e)}else this.onSweep(t.start,t.weight,t,e.end,e.weight,e)}},Pxe=class extends z1i{constructor(t){super(),this.plGrps=new Array,this.debug=t}onPolylineGroup(t,e){this.plGrps.push(t)}},Uxe=class{constructor(t){this.cache={},this.levels=t,this.result=new Array(t),this.weights=new Array(t),this.maxIdx=t-1,this.rule=this.decide.bind(this);let e=1;for(let i=0;i<t;i++)this.weights[i]=e,e*=50}weight(t){return this.weights[t]}decide(t){t=Math.abs(t);let e=this.cache[t];if(e===void 0){let i=t;for(let o=this.maxIdx;o>=0;o--){let r=this.weights[o],n=t/r|0,a=t%r;a>(r/2|0)?(t=r-a,n++):t=a,this.result[o]=n>0}e=this.decide1(this.result),this.cache[i]=e}return e}},Tpr=t=>t!==0,Spr=new class extends Uxe{decide1(t){return t[0]||t[1]}}(2),ZOe=new class extends Uxe{decide1(t){return t[0]&&!t[1]}}(2),JOe=new class extends Uxe{decide1(t){return t[0]&&t[1]}}(2),y3t=new class extends Uxe{decide1(t){return t[0]&&!t[1]||!t[0]&&t[1]}}(2),Mpr=(t=>(t[t.UNMARKED=0]="UNMARKED",t[t.INSIDE=1]="INSIDE",t[t.OUTSIDE=2]="OUTSIDE",t[t.INVALID=3]="INVALID",t))(Mpr||{}),J0e=class U0e{constructor(e,i,o,r,n,a,s){this.inters=[],this.connect=new Array,this.previous=null,this.next=null,this.finalGrp=-1,this.trans=NaN,this.outsideWeight=0,this.insideWeight=0,this.invalidWeight=0,this._confidence=0,this._confidence_y=NaN,this._x=NaN,this._x_y=NaN,this.status=0,this.bo=e,this.shape=i,this.baseWeight=o,r.y>n.y?this.weight=-o:r.y==n.y?this.weight=0:this.weight=o,this.start=r,this.end=n,this.polyGrp=a,this.polyIndex=s,this._bbox=new LS().ext1(i.bbox()).ext2(r).ext2(n).build1(),this.inters.push(r),this.inters.push(n);let l=31,c=1;c=l*c+this.polyGrp,c=l*c+this.polyIndex,this._hashcode=c}static rebuild(e,i,o){if(e instanceof Xt||i.distance2(o)<1e-6)return new Xt(i,o);if(e instanceof Oi){let r=e,n=e.bbox().center().x,a;i.y>o.y?a=n>r.center.x?0:1:a=n>r.center.x?1:0;let s=i.angleD(r.center),l=o.angleD(r.center);return Oi.build2(r.center,s,l,r.rx,r.ry,a)}else throw new Error("not supported operation")}updateBbox(){this._bbox=new LS().ext2(this.start).ext2(this.end).build1()}is(e,i){return e===this.polyGrp&&i===this.polyIndex}confidence(e){if(this._confidence_y!=e){let i=this._bbox.height();if(i!==0)if(Math.abs(e-this._bbox.maxY)>5e-4&&Math.abs(e-this._bbox.minY)>5e-4){let o=1-Math.abs(2*e-this._bbox.maxY-this._bbox.minY)/i;this._confidence=o*1e4|0}else this._confidence=0;else this._confidence=1;this._confidence_y=e}return this._confidence}needCountWeight(){return this.outsideWeight+this.insideWeight+this.invalidWeight<5e3}revokeOutside(e){let i=this.confidence(e);return this.outsideWeight-=i,this.invalidWeight+=i,i}revokeInside(e){let i=this.confidence(e);return this.insideWeight-=i,this.invalidWeight+=i,i}setOutside(e){let i=this.confidence(e);return this.outsideWeight+=i,i}setInside(e){let i=this.confidence(e);return this.insideWeight+=i,i}setInvalid(e){let i=this.confidence(e);return this.invalidWeight+=i,i}prevNot0(){let e=this.previous;for(;e!=null&&e!=this;){if(e.weight!=0)return e;e=e.previous}return null}nextNot0(){let e=this.next;for(;e!=null&&e!=this;){if(e.weight!=0)return e;e=e.next}return null}getX(e){if(this.bo!==null)return(this._x_y!=e||isNaN(this._x))&&(kpr(this,e)>0?this._x=At[0]:this._x=NaN,this._x_y=e),this._x;throw new Error("not supported operation")}voteStatus(){return this.outsideWeight>this.insideWeight&&this.outsideWeight>this.invalidWeight?2:this.insideWeight>this.outsideWeight&&this.insideWeight>this.invalidWeight?1:this.invalidWeight>this.outsideWeight&&this.invalidWeight>this.insideWeight?3:0}reverse(e){if(e===2)if(this.start.y>this.end.y){let i=U0e.rebuild(this.shape,this.end,this.start),o=new U0e(this.bo,i,this.baseWeight,this.end,this.start,this.polyGrp,this.polyIndex);return nC.addAll(o.connect,this.connect),o}else return this;else if(e===1)if(this.start.y<this.end.y){let i=U0e.rebuild(this.shape,this.end,this.start),o=new U0e(this.bo,i,this.baseWeight,this.end,this.start,this.polyGrp,this.polyIndex);return nC.addAll(o.connect,this.connect),o}else return this;return this}isNeedScan(e){return this.needCountWeight()&&this.confidence(e)>0}hashCode(){return this._hashcode}equals(e){return e instanceof U0e?!(this.polyGrp!==e.polyGrp||this.polyIndex!==e.polyIndex):!1}bbox(){return this._bbox}toString(){return G0e.format("(%d,%d,%d) (%d,%d,%d) %s %s",this.polyGrp,this.polyIndex,this.weight,this.outsideWeight,this.invalidWeight,this.insideWeight,this.start,this.end)}};function Ipr(t,e){let i=t.bbox(),o=e.bbox(),r=(i.minY+i.maxY)/2,n=(o.minY+o.maxY)/2;return r-n}function Lpr(t,e){let i=t.bbox(),o=e.bbox(),r=(i.minX+i.maxX)/2,n=(o.minX+o.maxX)/2;return r-n}var O0e=class{constructor(t){if(this.__bbox=null,typeof t<"u")if(t instanceof Array){this.__items=[];for(let e of t)this.add(e)}else this.__items=t,this.__bbox=t.bbox();else this.__items=[]}add(t){if(this.__items instanceof Array)this.__items.push(t),this.__bbox=rC.extend2(this.__bbox,t.bbox());else throw new Error("can't insert multiple item into leaf node")}items(){return this.__items}bbox(){if(this.__bbox!==null)return this.__bbox;throw new Error("bug")}},jxe=class{constructor(t){this.changed=!1,this.root=new O0e,this.capacity=t,this.capacity2=t*t,this.itemList=[]}size(){return this.itemList.length}items(){return this.flushWhenNeed(),this.itemList}add(t){this.itemList.push(t),this.changed=!0}remove(t){nC.remove(this.itemList,t),this.changed=!0}clear(){this.changed=!1,this.root=new O0e,this.itemList.length=0}flushWhenNeed(){if(this.changed){let t=new Array;for(let e of this.itemList)t.push(new O0e(e));for(;;){let e=this.organize(t);if(e.length>1)t=e;else break}this.root=new O0e(t),this.changed=!1}}organize(t){_oe(t,Lpr,0,t.length);let e=t.length,i=[];for(let o=0;o<e;)if(o+this.capacity2<=e){let r=o+this.capacity2;_oe(t,Ipr,o,r);for(let n=o;n<r;n+=this.capacity){let a=new O0e(t.slice(n,n+this.capacity));i.push(a)}o=o+this.capacity*this.capacity}else{let r=new O0e(t.slice(o,o+this.capacity));i.push(r),o=o+this.capacity}return i}search(t){this.flushWhenNeed();let e=[],i=[];for(i.push(this.root);;){let o=i.shift();if(typeof o<"u"){let r=o.items();if(r instanceof Array){for(let n of r)if(!t.isSeparated(n.bbox())){let a=n.items();a instanceof Array?i.push(n):e.push(a)}}else t.isSeparated(o.bbox())||e.push(r)}else break}return e}walker(t){this.flushWhenNeed(),this._walker(this.root,0,t)}_walker(t,e,i){this.flushWhenNeed();let o=t.items();if(o instanceof Array)for(let r of o)this._walker(r,e+1,i);else i(o,e)}bbox(){return this.flushWhenNeed(),this.root.bbox()}};function w3t(t,e){vpr(t.iterator(),e)}function vpr(t,e){let i=0;for(;t.hasNext();){let o=t.next();e(i++,o)}}var UOe=new Error("list is empty"),VOe=class{constructor(t,e){this.prev=null,this.next=null,this.parent=t,this.item=e}insertAfter(t){t.next=this.next,this.next=t,t.prev=this,t.next!==null&&(t.next.prev=t)}insertBefore(t){t.prev=this.prev,this.prev=t,t.next=this,t.prev!==null&&(t.prev.next=t)}remove(){this.prev!==null&&(this.prev.next=this.next),this.next!==null&&(this.next.prev=this.prev)}set(t){this.item=t}},Dpr=class{constructor(t){this._next=t}hasNext(){return this._next!==null}next(){let t=this._next;if(t!==null)return this._next=t.next,t.item;throw new Error("iterator is null")}},Epr=class{constructor(t){this._next=t}hasNext(){return this._next!==null}next(){let t=this._next;if(t!==null)return this._next=t.next,t;throw new Error("iterator is null")}},Ooe=class{constructor(){this.first=null,this.last=null,this.cnt=0}add(t){return this.addLast(t)}push(t){return this.addLast(t)}pop(){return this.removeLast()}shift(){return this.removeFirst()}removeFirst(){let t=this.first;if(t===null)throw UOe;return this.remove(t),t.item}removeLast(){let t=this.last;if(t===null)throw UOe;return this.remove(t),t.item}addLast(t){return this.first===null||this.last===null?(this.first=new VOe(this,t),this.last=this.first,this.cnt=1,this.first):this.insertAfter(this.last,t)}addFirst(t){if(this.first===null||this.last===null){let e=new VOe(this,t);return this.first=e,this.last=e,this.cnt++,e}else return this.insertBefore(this.first,t)}getFirst(){if(this.first===null)throw UOe;return this.first.item}getLast(){if(this.last===null)throw UOe;return this.last.item}insertAfter(t,e){let i=new VOe(this,e);return t.insertAfter(i),t===this.last&&(this.last=i),this.cnt++,i}insertBefore(t,e){let i=new VOe(this,e);return t.insertBefore(i),t===this.first&&(this.first=i),this.cnt++,i}remove(t){t.remove(),t===this.first&&(this.first=t.next),t===this.last&&(this.last=t.prev),this.cnt--}size(){return this.cnt}clear(){this.first=null,this.last=null,this.cnt=0}iterator(){return new Dpr(this.first)}listIterator(){return new Epr(this.first)}toArray(){let t=new Array(this.cnt),e=this.first,i=0;for(;e!=null;)t[i]=e.item,e=e.next,i++;return t}};function C3t(t){throw new Error("")}var HOe=class{constructor(t,e){this.node1=null,this.node2=null,this.key=t,this.value=e}},Apr=class{constructor(t){this.itors=t}hasNext(){return this.itors.hasNext()}next(){return this.itors.next().key}},Npr=class{constructor(t){this.itors=t}hasNext(){return this.itors.hasNext()}next(){return this.itors.next().value}},aRe=class{constructor(){this.innerList=new Ooe,this.innerMap={}}replace(t,e){t.node1!==null&&(t.node1.set(e),e.node1=t.node1),t.node2!==null&&(t.node2.set(e),e.node2=t.node2)}clear(){this.innerList.clear();for(let t in this.innerMap)delete this.innerMap[t]}put(t,e){let i=t.hashCode(),o=new HOe(t,e),r=this.innerMap[i];if(r===void 0)return o.node1=this.innerList.add(o),this.innerMap[i]=o,null;if(r instanceof HOe){if(r.key.equals(t))return this.innerMap[i]=o,this.replace(r,o),r.value;{o.node1=this.innerList.add(o);let n=new Ooe;return r.node2=n.add(r),o.node2=n.add(o),this.innerMap[i]=n,null}}if(r instanceof Ooe){let n=null;return w3t(r,(a,s)=>s.key.equals(t)?(this.replace(s,o),n=s.value,!1):!0),n===null?(o.node1=this.innerList.add(o),o.node2=r.push(o),null):n}return C3t(r)}get(t){let e=t.hashCode(),i=this.innerMap[e];if(i===void 0)return null;if(i instanceof HOe)return i.key.equals(t)?i.value:null;if(i instanceof Ooe){let o=null;return w3t(i,(r,n)=>n.key.equals(t)?(o=n.value,!1):!0),o}return C3t(i)}containsKey(t){return this.get(t)!==null}delete(t){t.node1!==null&&t.node1.parent.remove(t.node1),t.node2===null?delete this.innerMap[t.key.hashCode()]:t.node2.parent.remove(t.node2)}remove(t){let e=t.hashCode(),i=this.innerMap[e];if(i===void 0)return null;if(i instanceof HOe)return i.key.equals(t)?(this.delete(i),i.value):null;if(i instanceof Ooe){let o=null;return w3t(i,(r,n)=>n.key.equals(t)?(o=n.value,this.delete(n),!1):!0),o}return C3t(i)}computeIfAbsent(t,e){let i=this.get(t);if(i===null){let o=e(t);return this.put(t,o),o}else return i}size(){return this.innerList.size()}isEmpty(){return this.innerList.size()===0}keys(){return new Apr(this.innerList.iterator())}values(){return new Npr(this.innerList.iterator())}entries(){return this.innerList.iterator()}},K0e=class{constructor(){this.innerMap=new aRe}add(t){return this.innerMap.put(t,!0)!==!0}remove(t){this.innerMap.remove(t)}contains(t){return this.innerMap.get(t)===!0}iterator(){return this.innerMap.keys()}addAll(t){let e=t.iterator();for(;e.hasNext();)this.add(e.next())}size(){return this.innerMap.size()}clear(){let t=this.iterator();for(;t.hasNext();){let e=t.next();this.remove(e)}}},t1i=nC.funcCopy(_oe);function kpr(t,e){let i=0;if(Math.abs(t.start.y-e)<=1e-4)At[i++]=t.start.x;else if(Math.abs(t.end.y-e)<=1e-4)At[i++]=t.end.x;else if(t.shape instanceof Xt)i=X0r(t.shape,e);else if(t.shape instanceof Oi)i=$0r(t.shape,e);else throw new Error("not supported operation");return i}var qOe=class{constructor(t,e,i,o){this.sides=new Array,this.loader=t,this.loader.bo=this,this.logger=i,this.rule=e,this.event=o}static sortByBBoxMinY(t,e){return t.bbox().minY-e.bbox().minY}static sortByBBoxAreaDesc(t,e){return e.bbox().area()-t.bbox().area()}addPolyline(t,e=1,i=.01,o=!0){for(let r of this.loader.buildGroup(t,e,i,o))this.sides.push(r),this.event.onOriginSide(r)}buildRTree(){let t=new jxe(10);for(let e of this.sides)t.add(e);return t}fillValidSides(t,e,i){for(let o of e)isFinite(o.getX(i))&&t.push(o)}getSortedEndpointsLineAsc(t){let e=new Array;for(let r of t)r.needCountWeight()&&(e.push(r.start),e.push(r.end));t1i(e,mi.sortByYAsc,0,e.length);let i=new Array,o=Number.NEGATIVE_INFINITY;for(let r of e){let n=r.y;n>o&&(i.push(n),o=n)}return i}splitSides(t,e,i){let o=t.start,r=t.end,n=new mi(r.x+(o.x-r.x)*2,r.y+(o.y-r.y)*2);t1i(t.inters,(s,l)=>s.distance2(n)-l.distance2(n),0,t.inters.length);let a=null;for(let s of t.inters)if(a==null)s.equals(o)&&(a=s);else if(!s.equals(a)){let l=J0e.rebuild(t.shape,a,s);l instanceof Oi&&Math.abs(l.sweepAngle)>190&&(l=new Xt(a,s));let c=new J0e(this,l,t.baseWeight,a,s,t.polyGrp,i++);if(e.push(c),c.updateBbox(),s.equals(r))break;a=s}return i}splitSidesByInters(){let t=new Array;for(let e of this.sides)if(e.polyIndex==0){let i=0,o=null,r=null;do{let n=new Array;i=this.splitSides(e,n,i);for(let a of n)o!=null?(o.next=a,a.previous=o):r=a,o=a,this.event.onSplitedSide(a),t.push(a);if(e.next===null)throw new Error("not supported operation");e=e.next}while(e.polyIndex!==0);r!=null&&o!=null&&(r.previous=o,o.next=r)}this.sides.length=0;for(let e of t)this.sides.push(e)}seekIntersection(){if(this.sides.length>0){let t=this.buildRTree(),e=new K0e;for(let i of this.sides){e.add(i);let o=i.bbox().extendOfSize(1e-5),r=i.shape instanceof Xt;for(let n of t.search(o))if(!e.contains(n)){let a=n.shape instanceof Xt;if(!(r&&a&&i.next!==null&&i.previous!==null&&(i.next.equals(n)||i.previous.equals(n)))){let s=q8(i.shape,n.shape);for(let l=0;l<s;l+=2){let c=new mi(At[l],At[l+1]);i.inters.push(c),n.inters.push(c),this.event.onIntersect(c,i,n)}}}}}}},Ppr=class F1i{constructor(e){this.sides=new K0e,this.others=new K0e,this.id=e}add(e){this.sides.add(e),e.finalGrp=this.id;for(let i of e.connect)this.others.add(i)}polyline(){let e=new Array;return Q0e(this.sides,(i,o)=>(e.push(o.shape),!0)),wl.build2(e).asClose()}hashCode(){return this.id}equals(e){return e!=null&&e instanceof F1i?this.id===e.id:!1}},U1i=class{constructor(t){this.bo=null,this.sides=new Array,this.polyGrp=0,this.polyIndex=0,this.prevSide=null,this.firstSide=null,this.noWeight0=t}completeGroup(t){this.prevSide!=null&&this.firstSide!=null&&!this.prevSide.end.equals(this.firstSide.start)&&this.addSide(new Xt(this.prevSide.end,this.firstSide.start),t);let e=new Array,i=null,o=null;for(let r of this.sides)(!this.noWeight0||r.weight!==0)&&(i!=null?(i.next=r,r.previous=i):o=r,i=r,e.push(r));return i!=null&&o!=null&&(o.previous=i,i.next=o),this.polyGrp++,this.sides.length=0,this.prevSide=null,this.firstSide=null,this.polyIndex=0,e}buildGroup(t,e,i,o=!0){for(let r of t.primitives)if(r instanceof Xt)this.addSide(r,e);else if(o&&r instanceof Oi&&r.rx===r.ry)this.addArc(r,e);else{let n=null;for(let a of r.points(i))n!=null&&this.addSide(new Xt(n,a),e),n=a}return this.completeGroup(e)}addArc(t,e){let i=t.sweepAngle,o=Ka.regularD(t.startAngle),r=o+i;if(i>0){let n=90;for(;n<=r;)n>o&&(this.addSide(Oi.build3(t.center,o,n-o,t.rx,t.ry),e),o=n),n+=90;o<r&&this.addSide(Oi.build3(t.center,o,r-o,t.rx,t.ry),e)}else if(i<0){let n=270;for(;n>=r;)n<o&&(this.addSide(Oi.build3(t.center,o,n-o,t.rx,t.ry),e),o=n),n-=90;o>r&&this.addSide(Oi.build3(t.center,o,r-o,t.rx,t.ry),e)}}addSide(t,e){if(t.start().equals(t.end()))return;let i=t.start(),o;this.prevSide!=null?(this.prevSide.end.equals(i)||this.addSide(new Xt(this.prevSide.end,i),e),o=new J0e(this.bo,t,e,t.start(),t.end(),this.polyGrp,this.polyIndex++)):(o=new J0e(this.bo,t,e,t.start(),t.end(),this.polyGrp,this.polyIndex++),this.firstSide=o),this.prevSide=o,this.sides.push(o)}},V1i=class{constructor(t,e,i){this.eps=new Array,this.curWeight=0,this.start=null,this.last=null,this.prevStart=null,this.prevEnd=null,this.y=i,this.rule=t,this.bo=e,this.event=e.event}onEp(t){this.tuningWeight(t),this.start===null?this.rule(this.curWeight)?this.in(t):t.setInvalid(this.y):this.rule(this.curWeight)?t.setInvalid(this.y):this.out(t,this.start),this.last!==null&&this.event.onSweep1(this.last,t,this.y),this.last=t}in(t){this.prevEnd!=null&&this.onSameX(t,this.prevEnd)?(this.start=this.prevStart,this.prevStart=null,this.prevEnd.revokeInside(this.y),this.prevEnd=null):(this.start=t,this.start.setOutside(this.y))}out(t,e){if(this.onSameX(e,t))e.revokeOutside(this.y);else{if(t.setInside(this.y)>0&&e.confidence(this.y)>0){let i=e.voteStatus(),o=t.voteStatus();this.isValid(i)&&this.isValid(o)?i==2&&o==1&&(t.connect.push(e),e.connect.push(t)):(t.connect.push(e),e.connect.push(t))}this.event.onSegment1(e,t,this.y),this.eps.push(e),this.eps.push(t),this.prevStart=e,this.prevEnd=t}this.start=null}isValid(t){return t==1||t==2}onSameX(t,e){return t.bbox().isIntersect(e.bbox())&&Bi.eq(t.getX(this.y),e.getX(this.y))}tuningWeight(t){this.curWeight+=t.weight;let e=t.nextNot0(),i=t.prevNot0();e!=null&&t.weight===e.weight&&e.trans===this.y&&(this.curWeight-=t.weight),i!=null&&t.weight===i.weight&&i.trans===this.y&&(this.curWeight-=t.weight),t.trans=this.y}},sRe=new Error,i1i=new class extends Uxe{decide1(t){return t[0]&&t[1]}}(2),Opr=new class extends z1i{onPolylineGroup(t,e){throw sRe}onSegment(t,e,i,o,r,n){throw sRe}},Rpr=class{constructor(t,e){this.rtree=t,this.level=e}},_pr=class H1i extends qOe{static isIntersect(e,i,o=fRe.DUMMY){let r=new H1i(o),n=r.createGroup1(e.items),a=r.createGroup2(i.items);return n.rtree.itemList.length==0||a.rtree.itemList.length==0?!1:r.isIntersect(n,a)}constructor(e){super(new U1i(!1),i1i.rule,e,Opr)}createGroup1(e){return this.createGroup(e,0)}createGroup2(e){return this.createGroup(e,1)}createGroup(e,i){let o=i1i.weight(i);for(let n of e)this.addPolyline(n,o);let r=this.buildRTree();return this.sides.length=0,new Rpr(r,i)}isIntersect(e,i){if(e.level!==i.level){let o=e.rtree.bbox().intersection1(i.rtree.bbox());if(o!==null){try{this.inters(e,i);let r=(o.minY+o.maxY)/2;this.sweep(e,i,r)}catch(r){if(r===sRe)return!0;throw r}return!1}else return!1}else throw new Error("inersection detection should not in same group")}inters(e,i){if(e.rtree.size()>i.rtree.size()){let o=e;e=i,i=o}for(let o of e.rtree.items()){o.trans=NaN;let r=o.bbox().extendOfSize(1e-5);for(let n of i.rtree.search(r))if(n.trans=NaN,q8(o.shape,n.shape)>0)throw sRe}}sweep(e,i,o){let r=rC.extend2(e.rtree.bbox(),i.rtree.bbox()).extendOfSize(1e-5),n=new Array;this.fillValidSides(n,e.rtree.search(r),o),this.fillValidSides(n,i.rtree.search(r),o),_oe(n,(s,l)=>s.getX(o)-l.getX(o),0,n.length);let a=new V1i(this.rule,this,o);for(let s of n)a.onEp(s)}},ewt=class qU{constructor(e){this.items=new Array(e.length),nC.arraycopy(e,0,this.items,0,e.length),this.__bbox=this.calcBBox()}static build1(e){let i=[];return eRe(e,(o,r)=>(i.push(r),!0)),new qU(i)}static build2(e){let i=e.map(o=>wl.build8(o));return new qU(i)}static combinePolylineGroupArr(e){let i=[];for(let o of e)i=i.concat(o.items);return new qU(i)}calcBBox(){let e=new LS;for(let i=0;i<this.items.length;i++)e.ext1(this.items[i].bbox());return e.build1()}multiply3(e){let i=new Array(this.items.length);for(let o=0;o<i.length;o++)i[o]=this.items[o].multiply3(e);return new qU(i)}bbox(){return this.__bbox}asClose(){return this.items.forEach(e=>e.asClose()),this}mirrorY(e){return this.items.forEach(i=>i.mirrorY(e)),this}closeEndpoint(){return this.items.forEach(e=>e.closeEndpoint()),this}get primitives(){return this.items.map(e=>e.primitives).flat(2)}isEqual(e){return e instanceof qU?this.items.every(i=>e.items.some(o=>o.isEqual(i))):!1}getOutMostPolyline(){return this.items.reduce((e,i)=>i.bbox().area()>e.bbox().area()?i:e,this.items[0])}getOutline(){let e=this.items;if(e.length===1)return{outline:e,hole:new Array};let i=new Set,o=new Set;for(let r=0,n=e.length;r<n;r++){let a=e[r];if(!i.has(a)&&!o.has(a)){r+1>=n&&i.add(a);for(let s=r+1;s<n;s++){let l=e[s];if(!i.has(l)&&!o.has(l)){if(!a.bbox().isInside(l.bbox().extendOfSize(1e-4))&&!l.bbox().isInside(a.bbox().extendOfSize(1e-4)))continue;_pr.isIntersect(new qU([a]),new qU([l]))&&(a.bbox().area()>l.bbox().area()?(i.add(a),o.add(l)):(i.add(l),o.add(a)))}}!i.has(a)&&!o.has(a)&&i.add(a)}}return{outline:[...i],hole:[...o]}}round(e=4){let i=this.items.map(o=>o.round(e));return new qU(i)}},jpr=nC.funcCopy(_oe),Bpr=nC.funcCopy(_oe),zpr=nC.funcCopy(_oe);function Fpr(t){return new Array}function Upr(t,e){let i=new Pxe(!1),o=new Oxe(t,fRe.DUMMY,i);for(let r of e)o.addPolyline(r);return o.simplify(),i.plGrps}var Oxe=class extends qOe{constructor(t,e,i){super(new U1i(!1),t,e,i),this.finalSides=new Array,this.sideGroups={},this.vecSides=new Array,this.scanY=NaN,this.curNetIndex=0,this.curIndex=-1,this.scanLines=0}sweep(t,e,i){this.scanY=NaN,this.scanLines=0,jpr(e,qOe.sortByBBoxMinY,0,e.length);let o=new Ooe;this.curNetIndex=0;let r=Number.POSITIVE_INFINITY;for(let n of t)n>r&&this.scan(o,(r+n)/2,e),r=n;this.getAllMarkPrimitive(i,e),this.logger.debug3("scan %s %d",i,this.scanLines)}simplify(){this.seekIntersection(),this.splitSidesByInters(),this.sweep(this.getSortedEndpointsLineAsc(this.sides),this.sides,!1),this.flipSides(),this.sweep(this.getSortedEndpointsLineAsc(this.vecSides),this.vecSides,!0),this.connectSides(),this.fillResult()}addPolyline(t,e=1,i=.01,o=!0){super.addPolyline(t,e,i,o)}scan(t,e,i){if(this.scanY==e)return;this.scanY=e;let o=!1,r=t.listIterator();for(;r.hasNext();){let n=r.next(),a=n.item;Bi.less(a.bbox().maxY,e)?t.remove(n):!o&&a.isNeedScan(e)&&(o=!0)}for(;this.curNetIndex<i.length;){let n=i[this.curNetIndex];if(Bi.less(n.bbox().minY,e))Bi.greatereq(n.bbox().maxY,e)&&(this.add2AET(t,n),!o&&n.isNeedScan(e)&&(o=!0)),this.curNetIndex++;else break}if(o){this.scanLines++;let n=new V1i(this.rule,this,e),a=t.iterator();for(;a.hasNext();){let s=a.next();n.onEp(s)}}}add2AET(t,e){let i=e.bbox().minX,o=e.bbox().maxX,r=e.bbox().minY,n=e.bbox().maxY,a=t.listIterator(),s=null;for(;a.hasNext();){let l,c=a.next(),d=c.item,u=d.bbox().minX,p=d.bbox().maxX;if(o<=u)l=-1;else if(p<=i)l=1;else{let h=d.bbox().minY,f=d.bbox().maxY,g=Math.max(r,h),b=Math.min(n,f);l=this.compareBySweep(e,d,(g+b)/2)}let m=d.shape;if(m instanceof Xt&&m.length()<.001&&s==null&&l<0){s=c;continue}if(s!=null&&l<0){t.insertBefore(s,e);return}if(l<0){t.insertBefore(c,e);return}else s=null}t.add(e)}getLineAngle(t){let e=t.start().angle(t.end());return e<0&&(e+=Math.PI),e}getArcAngle(t,e){let i=Math.asin((e-t.center.y)/t.rx);return t.startAngle>90&&t.startAngle<270&&(i=-i),i<0&&(i+=Math.PI),(i+Math.PI/2)%Math.PI}compareArcLine(t,e,i){let o=this.getArcAngle(t,i),r=this.getLineAngle(e);return Bi.eq(o,r)?-t.sweepAngle:r-o}compareBySweep(t,e,i){let o=t.getX(i);if(!isFinite(o))return 0;let r=e.getX(i);if(!isFinite(r))return 0;if(!Bi.eq(o,r))return o-r;if(t.shape instanceof Xt)return e.shape instanceof Xt?this.getLineAngle(e.shape)-this.getLineAngle(t.shape):-this.compareArcLine(e.shape,t.shape,i);if(e.shape instanceof Xt)return this.compareArcLine(t.shape,e.shape,i);{let n=t.shape,a=e.shape,s=this.getArcAngle(n,i),l=this.getArcAngle(a,i);return Bi.eq(s,l)?n.sweepAngle*a.sweepAngle<=0?n.sweepAngle<=0?1:-1:n.sweepAngle>0?n.rx-a.rx:a.rx-n.rx:l-s}}getAllMarkPrimitive(t,e){for(let i of e)if(i.status===0&&i.bbox().height()!=0){let o=i.voteStatus();if(o===2||o===1){i.status=o;let r=i.reverse(o);if(t){this.event.onResultSide(r);let n=r.shape.multiply3(zd.ROT_N90),a=r.start.multiply3(zd.ROT_N90),s=r.end.multiply3(zd.ROT_N90);r=new J0e(this,n,r.baseWeight,a,s,r.polyGrp,r.polyIndex)}this.finalSides.push(r),this.event.onResultSide(r)}}}flipSides(){for(let t of this.sides)if(t.polyIndex==0){let e=null,i=null;do{let o=t.shape.multiply3(zd.ROT_90),r=t.start.multiply3(zd.ROT_90),n=t.end.multiply3(zd.ROT_90),a=new J0e(this,o,t.baseWeight,r,n,t.polyGrp,t.polyIndex);if(a.outsideWeight=t.outsideWeight,a.insideWeight=t.insideWeight,a.invalidWeight=t.invalidWeight,a.status=t.status,e!=null?(e.next=a,a.previous=e):i=a,this.vecSides.push(a),this.event.onSplitedSide(a),e=a,t.next!==null)t=t.next;else break}while(t.polyIndex!=0);i!=null&&(i.previous=e,e.next=i)}}canBeEnd(t,e){if(t.size()==1){let i=t.getFirst().shape;if(i instanceof Oi){if(e&&i.rx<=e)return!1}else if(i instanceof Xt&&e&&i.length()<=e)return!1}return!0}connectSides(){let t=new aRe,e=new jxe(10);for(let n of this.finalSides)t.computeIfAbsent(n.start,Fpr).push(n),e.add(n.start);let i=0,o=new K0e,r=new Array;for(let n of this.finalSides)if(!o.contains(n)){let a=new K0e,s=n.start,l=new Ooe;l.add(n),o.add(n);let c=n.end;for(;l.size()>0;)if(this.isStart(s,c)&&this.canBeEnd(l,.01)){l.size()>1&&this.fillSideGroups(l,i++);break}else{let d=t.get(c),u=this.findNext(o,d);if(u==null&&(c=this.findNeigber(c,a,e,.01),c!==null&&(d=t.get(c),u=this.findNext(o,d))),u!=null)l.add(u),o.add(u),c=u.end;else if(c!=null?a.add(c):(r.length==0&&l.size()>1&&this.logger.warning3("unable to connect at %s",l.getLast()),r.push(l.removeLast())),l.size()>0)c=l.getLast().end;else break}}}fillSideGroups(t,e){let i=new Ppr(e);Q0e(t,(o,r)=>(i.add(r),!0)),this.sideGroups[i.id]=i}isStart(t,e){return t.distance2(e)<=1e-4}findNext(t,e){if(e!=null){for(let i of e)if(!t.contains(i))return i}return null}fillResult(){let t=0,e=new aRe;for(let o in this.sideGroups){let r=this.sideGroups[o];Q0e(r.sides,(n,a)=>(a.polyGrp!=-2&&e.put(a,a),!0))}let i=new K0e;for(let o in this.sideGroups){let r=this.sideGroups[o];if(i.add(r)){let n=0,a=new Array;for(a.push(r);n<a.length;){let l=a[n],c=new Array;Q0e(l.others,(u,p)=>{let m=e.get(p);return m!=null&&c.push(m.finalGrp),!0}),Bpr(c,nC.sortAsc,0,c.length);let d=l.id;for(let u of c)if(u!=d&&u!=l.id){let p=this.sideGroups[u];i.add(p)&&a.push(p),d=u}n++}let s=new Array;for(let l of a)s.push(l.polyline());zpr(s,qOe.sortByBBoxAreaDesc,0,s.length),this.event.onPolylineGroup(new ewt(s),t++)}}}findNeigber(t,e,i,o){let r=o*o,n=Number.MAX_VALUE,a=null;for(let s of i.search(t.bbox().extendOfSize(o)))if(!e.contains(s)){let l=t.distance2(s);l<n&&(n=l,a=s)}return n<r?a:null}},Vpr=class{constructor(){this.points=[],this.lines=[],this.arcs=[],this.beziers=[],this.listText=[],this.fonts=[]}addPt(t,e=!0){if(t instanceof Xt)this.lines.push(t);else if(t instanceof Oi)this.arcs.push(t);else if(t instanceof gr)this.beziers.push(t);else throw new Error("not support");e&&this.points.push(t.start())}addPoint(t){this.points.push(t)}addText(t,e,i=1,o=.1,r=!0){this.listText.push({pos:t,str:e,size:i,width:o}),r&&this.points.push(t)}addPly(t,e=!0){t.primitives.forEach(i=>this.addPt(i,e))}build(){let t=[],e=[],i=[],o=[],r=[],n=[];return this.points.forEach(a=>t.push(a.x,a.y)),this.lines.forEach(a=>e.push(a.start().x,a.start().y,a.end().x,a.end().y)),this.arcs.forEach(a=>i.push(a.center.x,a.center.y,a.rx,Ka.toRadians(a.startAngle),Ka.toRadians(a.endAngle()),a.sweep())),this.beziers.forEach(a=>{a.controls.forEach(s=>{o.push(s.x,s.y)}),o.push("end")}),this.listText.forEach(a=>r.push(a.pos.x,a.pos.y,a.str,a.width,a.size)),this.fonts.forEach(a=>n.push(a)),{points:t,lines:e,arcs:i,texts:r,beziers:o,fonts:n}}},Txe,Vxe=(Txe=class{constructor(t){this.map=new aRe,this.bus=t}initColor(t){return this.map.computeIfAbsent(t,()=>new Vpr)}draw(){let t={},e=this.map.entries();for(;e.hasNext();){let i=e.next();t[i.key.toString()]=i.value.build()}this.bus.publish("/debug/draw",t)}clear(){this.map.clear()}static init(t){if(!t)throw new Error("bus is undefined!");this.palette=new Txe(t)}static initPalette(t){this.palette=t}static getDefaultColor(){for(let t of this.colorBuffersMap)if(t[0]!==null&&t[0])return t[0]=!1,t[1];return this.colorBuffersMap.forEach(t=>{if(t[0]===null){console.log(1);return}t[0]=!0}),this.getDefaultColor()}static clear(){this.palette.clear()}static auto(t,e=this.getDefaultColor()){if(Array.isArray(t))t.forEach(i=>{this.auto(i,e)});else if(t instanceof mi)this.point(t,e);else if(t instanceof rC)this.bbox(t,e);else if(t instanceof Fxe)this.primitive(t,e);else if(t instanceof wl)this.polyline(t,e);else if(t instanceof Bg)this.polygon(t,e);else if(t instanceof nh)this.group(t,e);else if(t instanceof ewt)this.auto(t.items,e);else{debugger;throw new Error("No incoming type!")}}static text(t,e,i=.5,o=this.getDefaultColor()){if(!this.palette)throw new Error("palette  is not initialised!");this.palette.initColor(o).addText(t,e,i,i/10),this.palette.draw()}static point(t,e=this.getDefaultColor()){if(!this.palette)throw new Error("palette  is not initialised!");let i=this.palette.initColor(e);Array.isArray(t)?t.forEach(o=>{this.point(o,e)}):i.addPoint(t),this.palette.draw()}static bbox(t,e=this.getDefaultColor()){Array.isArray(t)?t.forEach(i=>{this.bbox(i,e)}):(this.primitive(new Xt(new mi(t.maxX,t.maxY),new mi(t.maxX,t.minY)),e),this.primitive(new Xt(new mi(t.maxX,t.maxY),new mi(t.minX,t.maxY)),e),this.primitive(new Xt(new mi(t.minX,t.minY),new mi(t.maxX,t.minY)),e),this.primitive(new Xt(new mi(t.minX,t.minY),new mi(t.minX,t.maxY)),e))}static primitive(t,e=this.getDefaultColor()){if(!this.palette)throw new Error("palette  is not initialised!");let i=this.palette.initColor(e);Array.isArray(t)?t.forEach(o=>{this.primitive(o,e)}):i.addPt(t),this.palette.draw()}static polyline(t,e=this.getDefaultColor()){Array.isArray(t)?t.forEach(i=>{this.polyline(i,e)}):t.primitives.forEach(i=>{this.primitive(i,e)})}static polygon(t,e=this.getDefaultColor()){Array.isArray(t)?t.forEach(i=>{this.polygon(i,e)}):t.items.forEach(i=>{this.polyline(i,e)})}static group(t,e=this.getDefaultColor()){Array.isArray(t)?t.forEach(i=>{this.group(i,e)}):t.items.forEach(i=>{this.polygon(i,e)})}static async begin(){this.t1=performance.now()}static async end(t){console.log(t||"t1:",performance.now()-this.t1)}static async log(t){console.log(t||"==================")}},Txe.colorBuffersMap=[[!0,rd.BLUE],[!0,rd.GREEN],[!0,rd.WHITE],[!0,rd.RED],[!0,rd.Golden],[!0,rd.Gray]],Txe.t1=0,Txe),Hpr=0,Hxe=class B3t{constructor(e,i){this.inters=[],this.shape=e,this.start=e.start(),this.end=e.end(),this.judgeOverlapMap=new Map,i&&(this.id=Hpr++)}reverse(){this.shape=this.shape.reverse();let e=this.start;this.start=this.end,this.end=e}getCenterPoint(e=this.end){let{x:i,y:o}=this.start,{x:r,y:n}=e;if(this.shape instanceof Oi){let a=this.shape.rx,s=new mi((i+r)/2,(o+n)/2),l=this.shape.center,c;return s.x!==l.x||s.y!==l.y?(c=s.angle(l),Math.abs(this.shape.sweepAngle)>180&&(c+=c>=0?-180:180)):c=(this.shape.startAngle+this.shape.endAngle())/2,new mi(l.x+Math.cos(c)*a,l.y+Math.sin(c)*a)}else{if(this.shape instanceof Xt)return new mi((i+r)/2,(o+n)/2);if(this.shape instanceof gr){let a=this.shape.getPercent(e,$n);return gr.pointOn(a/2,this.shape.controls)}else throw Error("not support")}}static finalAngle(e,i,o){let r=e.cross(i)>0,n=Math.acos(Math.min(1,Math.max(-1,e.dot(i)/i.length())));return(o?!r:r)&&(n=gRe-n),n}sortInters(){if(this.shape instanceof Oi){let e=this.shape.center,i=this.shape.start().sub(e).normalize(),o=this.shape.isCCW;this.inters.sort((r,n)=>{let a=r.coord.sub(e),s=n.coord.sub(e);return B3t.finalAngle(i,a,o)-B3t.finalAngle(i,s,o)<=0?-1:1})}else if(this.shape instanceof Xt){let e=this.start,i=this.end,o=new mi(i.x+(e.x-i.x)*2,i.y+(e.y-i.y)*2);this.inters.sort((r,n)=>r.coord.distance2(o)-n.coord.distance2(o)<=0?-1:1)}else if(this.shape instanceof gr){let e=this.shape;this.inters.sort((i,o)=>e.getPercent(i.coord,$n)-e.getPercent(o.coord,$n)<=0?-1:1)}else throw Error("not support the primitive type");this.inters.forEach((e,i)=>e.setIndex(i))}getStart(){return this.start}getEnd(){return this.end}getShape(){return this.shape}connect(e){this.nextSide=e,e.prevSide=this}static returnPolygonList(e){let i=[];return e.forEach(o=>{let r=[];o.forEach((n,a)=>{let s=[];n.forEach(l=>{s.push(l.shape)}),r.push(wl.build7(s))}),i.push(new Bg(r))}),i}addInter(e){this.inters.push(e)}static returnPolygonGroup(e){let i=[];return e.forEach(o=>{let r=[];o.forEach((n,a)=>{let s=[];n.forEach(l=>{s.push(l.shape)}),r.push(wl.build7(s))}),i.push(new Bg(r))}),new nh(i)}static rebuild(e,i,o){let r;if(e instanceof Xt||i.distance2(o)<1e-6)r=new Xt(i,o);else if(e instanceof Oi)r=Oi.build2(e.center,i.angleD(e.center),o.angleD(e.center),e.rx,e.ry,e.isCCW?1:0);else if(e instanceof gr){let n=e.getPercent(i,$n),a=e.clip(n)[1];r=a.clip(a.getPercent(o,$n))[0]}else throw new Error("not supported operation");return Xn(e,i).dot(Xn(r,i))<0?null:r}static returnPolyline(e){return wl.build7(e.map(i=>i.shape))}bbox(){return this.shape.bbox()}},Gpr=(t=>(t[t.END1=0]="END1",t[t.END2=1]="END2",t[t.END12=2]="END12",t[t.LEFT1=3]="LEFT1",t[t.LEFT2=4]="LEFT2",t))(Gpr||{});function aC(t,e,i){if(t instanceof Oi&&e instanceof Oi)return Qpr(t,e);if(t instanceof Oi&&e instanceof Xt)return n1i(t,e);if(t instanceof Xt&&e instanceof Oi)return r1i(t,e);if(t instanceof Xt&&e instanceof Xt)return Roe(t,e);if(t instanceof gr&&e instanceof Xt)return t.controls.length===2||tV(t)?Roe(new Xt(t.start(),t.end()),e):G1i(t,e);if(t instanceof Xt&&e instanceof gr)return e.controls.length===2||tV(e)?Roe(t,new Xt(e.start(),e.end())):z3t(t,e);if(t instanceof Oi&&e instanceof gr)return e.controls.length===2||tV(e)?n1i(t,new Xt(e.start(),e.end())):Ypr(t,e);if(t instanceof gr&&e instanceof Oi)return t.controls.length===2||tV(t)?r1i(new Xt(t.start(),t.end()),e):Wpr(t,e);if(t instanceof gr&&e instanceof gr)return twt(t,e);throw new Error("not support")}function R0e(t,e){return Xn(t,e.start()).dot(Xn(e,e.start()))<=0?!1:aC(t,e).state<=2}function x3t(t,e){let i=e.getPercent(t.end(),$n);if(i===null)return!1;if(i===0)return!0;let o=e.clip(i)[0],r=t.buildConverxHull($n),n=o.buildConverxHull($n),a=c(r),s=c(n);return l(a,s);function l(d,u){let p=new Map([[0,1],[1,0],[2,2],[3,4],[4,3]]),m=d[0],h=u[0];if(!m||!h)throw Error("isAllOverlap(sides1: PackSide[], sides2: PackSide[])");let f=!0;do{let g=m.getShape(),b=h.getShape();if(g instanceof Xt&&b instanceof Xt){let y=f?Roe(g,b).state:p.get(Roe(b,g).state);if(y===0)m=m.nextSide,f=!1;else if(y===1)h=h.nextSide,f=!0;else if(y===2)m=m.nextSide,h=h.nextSide,f=!0;else return!1}else throw Error("not support")}while(m!==d[0].prevSide&&h!==u[0].prevSide);return!0}function c(d){let u=d.primitives.map(m=>new Hxe(m)),p=u[u.length-1];return u.forEach(m=>{p.connect(m),p=m}),u}}function o1i(t,e){let i=t.end().distance2(e.center);if(i>(e.rx+$n)**2||i<(e.rx-$n)**2||!(Sn(t.end(),e.end())||iwt(e,t.end())))return!1;if(t.center.equals1(e.center))return!0;let o=t.center.distance1(e.center),r=Math.abs(t.rx-e.rx);if(o>Math.min(t.rx,e.rx)){let n=t.center.angleD(e.center);return t.rx>e.rx?!(o+r>$n&&N_(t,n))&&!(o-r>$n&&t.rx+e.rx-o>$n&&N_(t,n+180)):!(o-r>$n&&N_(t,n))&&!(t.rx+e.rx-o>$n&&N_(t,n+180))}else{if(o+r<=$n)return!0;let n=t.rx>e.rx?t.center.angleD(e.center):e.center.angleD(t.center);return N_(t,n)?!1:o-r<=$n?!0:!N_(t,n+180)}}function Ypr(t,e){let i=owt(t,e.start()).toBezier2(),o,r=0;for(let n=i.length;r<n;r++){let a=i[r];if(o=twt(a,e).state,o!==0)break}return o===2&&r!==i.length-1?{state:1}:{state:o}}function Wpr(t,e){let i=e.toBezier2(),o,r=0;for(let n=i.length;r<n;r++){let a=i[r];if(o=twt(t,a).state,o!==1)break}return o===2&&r!==i.length-1?{state:0}:{state:o}}function twt(t,e){if(t.controls.length===2||tV(t))return e.controls.length===2||tV(e)?Roe(new Xt(t.start(),e.end()),new Xt(e.start(),e.end())):z3t(new Xt(e.start(),t.end()),e);if(e.controls.length===2||tV(e))return G1i(F3t(t,e.start()),new Xt(e.start(),e.end()));let i=F3t(t,e.start());if(tV(i))return z3t(new Xt(e.start(),t.end()),e);let o=x3t(i,e),r=x3t(e,i);if(!o&&!r){let n=lpr(i,e);if(n.havOverlap){let a=n.havOverlap!==2,s=n.havOverlap!==1;return iV(t,e,a,s)}else{let a=function(){for(let u=0;u<c;u+=2)At[u]=d[u],At[u+1]=d[u+1]},s,l,c=n.cnt,d=new Array(c).fill(0).map((u,p)=>At[p]);for(let u=0;u<c;u+=2){let p=new mi(At[u],At[u+1]),m=i.getPercent(p,$n),h=e.getPercent(p,$n);if(m===0||h===0)continue;let f=m===1?i:i.clip(m)[0],g=h===1?e:e.clip(h)[0];if(x3t(f,g)){let b=Xn(t,p).cross(Xn(e,p));if(b===0){s=i.end(),l=e.end();break}return{state:b<0?3:4}}a()}return(!s||!l)&&(s=Y0e(i.controls,i.controls[0],e),l=Y0e(e.controls,i.controls[0],i)),{state:s.sub(i.controls[0]).cross(l.sub(i.controls[0]))>0?4:3}}}return iV(t,e,o,r)}function G1i(t,e){let i=F3t(t,e.start());if(tV(i))return Roe(new Xt(i.start(),i.end()),e);let o=W1i(i,e),{isIn:r,bezierIsInLeft:n}=Y1i(e,i);if(!o&&!r){if(n!==void 0)return{state:n?3:4};let a=null,s=t.getPercent(e.start(),$n)+.01;for(let l=s>1?1:s;l<=1;){let c=gr.pointOn(l,t.controls);if(Bxe(e,c)>sC){a=c;break}l+=.01,l>1&&(l=1)}if(!a)throw Error("!end1 && !end2 not result");return{state:e.direct.cross(a.sub(e.start()))<0?4:3}}return iV(i,e,o,r)}function z3t(t,e){let{isIn:i,bezierIsInLeft:o}=Y1i(t,e),r=W1i(e,t);if(!i&&!r){if(o!==void 0)return{state:o?4:3};let n=null;for(let a=.01;a<=1;){let s=gr.pointOn(a,e.controls);if(Bxe(t,s)>sC){n=s;break}a+=.01,a>1&&(a=1)}if(!n)throw Error("!end1 && !end2 not result");return{state:t.direct.cross(n.sub(t.start()))<0?3:4}}return iV(e,t,i,r)}function Qpr(t,e){let i=o1i(owt(t,e.start()),e),o=o1i(e,t);if(!i&&!o){let r=X9(e);if(t.center.sub(e.start()).dot(e.center.sub(e.start()))>0){if(t.rx===e.rx)return t.isCCW?{state:r.dot(t.center.sub(e.center))<0?3:4,exitIsInvalid:!1}:{state:r.dot(t.center.sub(e.center))>0?3:4,exitIsInvalid:!1};let n,a;return t.rx>e.rx?(n=t,a=e):(n=e,a=t),r.dot(a.center.sub(n.center))>0&&a.rx+a.center.distance1(n.center)-n.rx>$n?t.isCCW?{state:t.rx>e.rx?3:4,exitIsInvalid:!1}:{state:t.rx<e.rx?3:4,exitIsInvalid:!1}:t.isCCW?{state:t.rx<e.rx?3:4,exitIsInvalid:!0}:{state:t.rx>e.rx?3:4,exitIsInvalid:!0}}else return t.rx+e.rx-t.center.distance1(e.center)>$n&&r.dot(t.center.sub(e.center))>0?{state:e.isCCW?3:4,exitIsInvalid:!1}:{state:t.isCCW?3:4,exitIsInvalid:!0}}return iV(t,e,i,o)}function r1i(t,e){let i=q9.foot(t,e.center),o=t.end().distance2(e.center),r=t.end().sub(t.start()),n=(e.rx-$n)**2,a=o<=(e.rx+$n)**2&&o>=n&&(r.dot(i.sub(e.start()))<=0||t.start().distance2(t.end())<=t.start().distance2(i)||i.distance2(e.center)>=n)&&(Sn(t.end(),e.end())||iwt(e,t.end())),s=Q1i(e,t);if(!a&&!s){let l=t.distance2(e.center);return l<=sC?{state:r.cross(X9(e))>0?4:3}:r.dot(i.sub(e.start()))>=0&&(o<n||t.start().distance2(e.center)<n||l<n)?{state:r.cross(e.center.sub(t.start()))<0?4:3}:{state:r.cross(e.center.sub(t.start()))>0?4:3}}return iV(e,t,a,s)}function N_(t,e){return e=Ka.regularD(e),t.sweepAngle>0?(e<t.startAngle&&(e+=360),t.endAngle()>e):(e>t.startAngle&&(e-=360),t.endAngle()<e)}function iwt(t,e){return Sn(t.end(),e)||Sn(t.start(),e)||N_(t,e.angleD(t.center))}function Y1i(t,e){let i=t.panDistance($n),o=t.panDistance(-$n),r=a1i(e,i),n=a1i(e,o);if(!r.length&&!n.length)return{isIn:e.getPercent(t.end(),$n)!==null};let a=[...r,...n].sort((d,u)=>d.t-u.t),s=new Xt(o.start(),i.start()),l=[];for(let d=0,u=a.length;d<u;d++){let p=a[d];if(l.push(p),s.distance(p.interP)>t.length()+$n)break;if(l.length===2){let m=(l[1].t*10+l.shift().t*10)/20,h=gr.pointOn(m,e.controls);if(t.distance2(h)>sC)return{isIn:!1,bezierIsInLeft:t.direct.cross(h.sub(t.start()))>0}}}let c=l.length?s.distance(l[0].interP)>=t.length()+$n:!0;return{isIn:c,bezierIsInLeft:c?void 0:t.direct.cross(l[0].interP.sub(t.start()))>0}}function W1i(t,e){if(Bxe(e,t.end())>sC||t.getToLineMaxDis2(e)>sC)return!1;let i=Zpr(e,sC);return t.getToLineMaxDis2(i)<=(e.length()+$n)**2}function Q1i(t,e){let i=e.end().angleD(e.start()),o=Kpr(e,t.end());if(o>sC)return!1;if(N_(t,i+90)){if(q9.foot(e,t.center).distance1(t.pointOn(i+90))>t.rx)return!1;o=Math.max(o,(t.rx-e.distance(t.center))**2)}if(N_(t,i-90)){if(q9.foot(e,t.center).distance1(t.pointOn(i-90))>t.rx)return!1;o=Math.max(o,(t.rx-e.distance(t.center))**2)}return o<=sC&&(Sn(t.end(),e.end())||U3t(e,t.end()))}var K1i=($n*2)**2;function owt(t,e){if(Sn(t.end(),e))return Oi.build3(t.center,t.endAngle(),0,t.rx,t.ry);if(t.start().distance2(e)<K1i)return t;let i=Ka.regularD(e.angleD(t.center));if(!N_(t,i))throw new Error("!angleIsInArc(arc, angle)");return Oi.build2(t.center,i,t.endAngle(),t.rx,t.ry,t.isCCW?1:0)}function F3t(t,e){if(Sn(t.end(),e))return new gr([e,e]);if(t.start().distance2(e)<K1i)return t;let i=t.getPercent(e,$n);if(i===null)throw new Error("!cutBezier(bezier: Bezier, p: Vector2)");return t.clip(i)[1]}function n1i(t,e){let i=Q1i(owt(t,e.start()),e),o=e.end().distance2(t.center),r=e.end().sub(e.start()),n=q9.foot(e,t.center),a=(t.rx-$n)**2,s=o<=(t.rx+$n)**2&&o>=a&&(r.dot(n.sub(e.start()))<=0||e.start().distance2(e.end())<=e.start().distance2(n)||n.distance2(t.center)>=a)&&(Sn(t.end(),e.end())||iwt(t,e.end()));if(!i&&!s){let l=e.distance2(t.center);return l<=sC?{state:r.cross(X9(t,e.start().angle(t.center)))>0?3:4}:r.dot(n.sub(e.start()))>=0&&(o<a||e.start().distance2(t.center)<a||l<a)?{state:r.cross(t.center.sub(e.start()))>0?4:3}:{state:r.cross(t.center.sub(e.start()))<0?4:3}}return iV(e,t,i,s)}function Roe(t,e){if(Sn(t.end(),e.end()))return iV(t,e,!0,!0);let i=Bxe(e,t.end())<=sC&&U3t(e,t.end()),o=Bxe(t,e.end())<=sC&&U3t(t,e.end());if(!i&&!o){let r=t.direct.x===0&&t.direct.y===0,n=e.direct.x===0&&e.direct.y===0;if(r&&n)throw Error("2LineAllIsPoint");return r?{state:e.direct.cross(t.end().sub(e.start()))>0?3:4}:{state:t.end().sub(t.start()).cross(e.end().sub(t.start()))>0?4:3}}return iV(t,e,i,o)}function U3t(t,e){return q9.foot(t,e).distance2(t.start())<t.end().distance2(t.start())}function iV(t,e,i,o){if(i)return o?Sn(t.end(),e.end())?{state:2}:{state:0}:{state:0};if(o)return{state:1};throw new Error("!end1 && !end2")}function Bxe(t,e){return(t.a*e.x+t.b*e.y+t.c)**2/(t.a**2+t.b**2)}function Kpr(t,e){return Math.min(t.distance2(e),q9.foot(t,e).distance2(e))}function Zpr(t,e){let i=t.panDistance(e),o=t.panDistance(-e);return new Xt(o.start(),i.start())}function tV(t){let e=t.start(),i=t.end();e.equals1(i)&&(i=e.add1(1,0));let o=i.y-e.y,r=e.x-i.x,n=-o*e.x-r*e.y,a=Math.sqrt(1/(o**2+r**2));o*=a,r*=a,n*=a;let s=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY;return t.controls.forEach(c=>{let d=o*c.x+r*c.y+n;d<s&&(s=d),d>l&&(l=d)}),R_(s,l)}function a1i(t,e){let i=q8(t,e),o=[],r=new Array(i).fill(0).map((a,s)=>At[s]);for(let a=0;a<i;a+=2){let s=new mi(At[a],At[a+1]),l=t.getPercent(s);o.push({interP:s,t:l}),n()}function n(){for(let a=0;a<i;a+=2)At[a]=r[a],At[a+1]=r[a+1]}return o}var A_=.01,Jpr=270;function hZ(t){let e=A_**2,i=t.end(),o=[],r=[];for(let m=0,h=t.primitives.length;m<h;m++){let f=function(D,E){return D instanceof Xt&&E instanceof Xt&&Math.abs(D.direct.cross(E.direct))<Bi.eps&&D.direct.dot(E.direct)>0||D instanceof Oi&&E instanceof Oi&&Math.abs(D.rx-E.rx)<=Bi.eps&&D.center.distance2(E.center)<Bi.eps&&D.isCCW===E.isCCW},g=function(D){if(uv(D,A_))r.push(null);else{if(D instanceof Xt)r.push(D);else if(D instanceof Oi&&D.rx===D.ry)u(D,r);else if(D instanceof gr){let E=[];_1i(D,E),E.forEach(N=>{let R=N.start(),v=N.end();d(R,v)||r.push(N)})}else throw new Error("not support!");i=x}},b=function(D){if(D instanceof Xt)return D.direct.x===0&&D.direct.y===0;if(D instanceof Oi)return D.sweepAngle===0;if(D instanceof gr){let E=new Set(D.controls.map(R=>R.x)),N=new Set(D.controls.map(R=>R.y));return E.size===1&&N.size===1}else throw new Error("not support")},y=t.primitives[m],w=y.start(),x=y.end();if(b(y))continue;d(i,w)||(r.push(new Xt(i,w)),i=w);let S=(m+1)%h,T=t.primitives[S];for(;f(y,T)&&(S=(S+1)%h,T=t.primitives[S],T!==y););if(S===(m+1)%h){g(y);continue}if(T===y){if(!(y instanceof Oi)){if(Math.abs(t.area(.1))<e)return null;throw new Error("simplifyPolyline not support")}let D=y instanceof Oi?y.isCCW:t.area(.1)>0;r.length=0;let E=D?180:-180;r.push(Oi.build3(y.center,y.startAngle,E,y.rx,y.ry),Oi.build3(y.center,y.startAngle+E,E,y.rx,y.ry));break}let M=(()=>{if(y instanceof Xt)return(D,E)=>{let N=new Xt(D,E);return uv(N,A_)?null:[N]};if(y instanceof Oi)return(D,E)=>{let N;if(D.equals1(E)?N=Oi.build3(y.center,y.startAngle,y.sweep()===1?360:-360,y.rx,y.ry):N=Oi.build4(D,E,y.center,y.rx,y.ry,y.sweep()),uv(N,A_))return null;let R=N.pointOn(N.startAngle+N.sweepAngle/2),v=Oi.build4(N.start(),R,y.center,y.rx,y.ry,y.sweep()),k=Oi.build4(R,N.end(),y.center,y.rx,y.ry,y.sweep());return uv(v,A_)||uv(k,A_)?[N]:[v,k]};throw new Error("not support")})(),I=S===0;if(S<m&&!I&&(I=!M(t.primitives[0].start(),t.primitives[S-1].end()),!I)){let D=M(y.start(),t.primitives[h-1].end());if(D)r.push(...D);else{let E=M(y.start(),r[0].end());if(E.length===1)r[0]=E[0];else if(E.length===2)r[0]=E[1],r.push(E[0]);else throw new Error("!!!generatorPt")}break}m=S===0?h-1:S-1,T=t.primitives[m];let A=M(y.start(),T.end());if(A?(A.forEach(D=>r.push(D)),i=T.end()):g(null),I)break}let n=r.length;if(r.forEach((m,h)=>{if(m)o.push(m);else{let f,g;h===n-1&&(f=o[0],g=o[o.length-1]);let b=(h+1)%n;if(f=f!=null?f:r[b],f){let y=h,w=!1;for(;g=g!=null?g:r[(--y+n)%n],g!==f;)if(g){w=!0;break}if(w){if(f.start().equals1(g.end()))return;if(Xn(g,g.end()).dot(Xn(f,f.start()))<0){if(!d(g.end(),f.start())){let M=new Xt(g.end(),f.start());o.push(M);return}let{rebuildPrevPt:x,rebuildNextPt:S,rebuildLinkLine:T}=s1i(r[(y-1+n)%n],g,new Xt(g.end(),f.start()),f,r[(h+2)%n]);x&&S&&(x!==g?(r[(y+n)%n]=x,o[o.length-1]&&(o[o.length-1]=x)):S!==f&&(r[(h+1)%n]=S,o[0]===f&&(o[0]=S)),T&&o.push(T))}}}}}),o.length===0)return null;d(i,o[0].start())||o.push(new Xt(i,o[0].start()));let a=o[o.length-1];if(o.length===1)return a instanceof Oi?wl.build7([Oi.build2(a.center,0,180,a.rx,a.ry,a.sweep()),Oi.build2(a.center,180,360,a.rx,a.ry,a.sweep())]):a instanceof gr?wl.build7(a.clip(.5)):null;let s=o.map(m=>new qpr(m)),l=s[s.length-1];for(s.forEach(m=>{m.connect(l),l=m});!l.isVisited;){let m=function(){l.next.connect(f),l=l.next,l.isConnected=!1,l.isVisited=!1},h=function(){l.connect(f.prev),l.isConnected=!1},f=l.prev;if(l===f)break;let g=l.pt,b=f.pt,y=b.end();if(!l.isConnected&&!y.equals(g.start())){let w=function(S){l.isConnected=!0,l.pt=g=S,l.next.isVisited=!1},x=function(S){l.isConnected=!0,f.pt=S,f.isVisited=!1,l=f};if(g instanceof Xt)if(d(y,g.end())){m();continue}else w(new Xt(y,g.end()));else if(b instanceof Xt){d(b.start(),g.start())?h():x(new Xt(b.start(),g.start()));continue}else if(g instanceof gr)if(d(y,g.end())&&!(g.controls.length!==2&&g.getToLineMaxDis2(g.startToEndL)>=e)){m();continue}else w(new gr([y,...g.controls.slice(1)]));else if(b instanceof gr)d(b.start(),g.start())&&!(b.controls.length!==2&&b.getToLineMaxDis2(b.startToEndL)>=e)?h():x(new gr([...b.controls.slice(0,-1),g.start()]));else if(g instanceof Oi&&b instanceof Oi)if(Math.abs(Math.abs(g.sweepAngle)-180)<Math.abs(Math.abs(b.sweepAngle)-180)){let S=Oi.build5(y,g.end(),g.sweepAngle);if(d(S.start(),S.end())&&!(S.rx>=A_&&Math.abs(S.sweepAngle)>180)){m();continue}else w(S)}else{let S=Oi.build5(b.start(),g.start(),b.sweepAngle);d(S.start(),S.end())&&!(S.rx>=A_&&Math.abs(S.sweepAngle)>180)?h():x(S);continue}else throw new Error("not support")}if(Xn(g,g.start()).dot(Xn(b,b.end()))<0){let w=function(T,M,I,A,D,E){if(l.next===f){l=null;return}let{rebuildLinkLine:N,rebuildPrevPt:R,rebuildNextPt:v}=s1i(T,M,I,A,D);R&&v&&(R!==M&&(f.prev.pt=R),v!==A&&(l.next.pt=v),N?E.pt=N:m())},x=function(){l.next===f?l=null:(l.next.connect(f.prev),l=l.next,l.isConnected=!1,l.isVisited=!1)},S=aC(b.reverse(),g).state;if(S===0){let T=l1i(g,b.start(),g.end());if(p(T)){let M=f.prev.pt,I=l.next.pt;if(Xn(I,I.start()).dot(Xn(M,M.end()))>=0){if(x(),!l)break;continue}if(w(f.prev.prev.pt,M,T instanceof Xt?T:new Xt(T.start(),T.end()),I,l.next.next.pt,l),!l)break}else l.pt=T;h();continue}else if(S===1){let T=l1i(b,b.start(),g.end());if(p(T)){let M=f.prev.pt,I=l.next.pt;if(Xn(I,I.start()).dot(Xn(M,M.end()))>=0){if(x(),!l)break;continue}if(w(f.prev.prev.pt,M,T instanceof Xt?T:new Xt(T.start(),T.end()),I,l.next.next.pt,f),!l)break}else f.pt=T;m();continue}else if(S===2){if(x(),!l)break;continue}}l.isVisited=!0,l=l.next}if(!l)return null;o.length=0;let c=l;for(o.push(l.pt),l=l.next;l!==c;)o.push(l.pt),l=l.next;if(o.length===1){let m=o[0];return m instanceof Oi?(d(m.start(),m.end())?o[0]=Oi.buildCircle(m.center,m.rx,m.sweep()):o.push(new Xt(m.end(),m.start())),wl.build7(o)):m instanceof gr?(d(m.start(),m.end())||o.push(new Xt(m.end(),m.start())),wl.build7(o)):null}if(t=wl.build7(o),Math.abs(t.area(.1))<e)return null;return t;function d(m,h){return m.distance2(h)<e}function u(m,h){if(Math.abs(m.sweepAngle)>Jpr){let f=m.sweepAngle/2;u(Oi.build3(m.center,m.startAngle,f,m.rx,m.ry),h),u(Oi.build3(m.center,m.startAngle+f,f,m.rx,m.ry),h)}else h.push(m)}function p(m){return m.start().distance2(m.end())<e&&!(m instanceof Oi&&m.rx>=A_&&Math.abs(m.sweepAngle)>180||m instanceof gr&&m.controls.length!==2&&m.getToLineMaxDis2(new Xt(m.start().add1(1,0),m.end()))>=e)}}function uv(t,e){if(!t)return!0;let i=t.start(),o=t.end();if(i.distance2(o)<e**2)if(t instanceof Oi){if(!(t.rx>=e&&Math.abs(t.sweepAngle)>180))return!0}else if(t instanceof gr){if(!(t.controls.length!==2&&t.getToLineMaxDis2(new Xt(t.start().add1(1,0),t.end()))>=e))return!0}else return!0;return!1}function _0e(t){if(t.direct.x===0&&t.direct.y===0)throw Error("getEndOfExtendLine(line: Line, distance: number)");let e=Math.abs(A_-t.length())+Bi.eps,i={x:t.direct.normalize().x*e,y:t.direct.normalize().y*e},o=t.end();return new mi(o.x+i.x,o.y+i.y)}function s1i(t,e,i,o,r){if(!t)a();else if(!r)s();else{let l=Xn(t,t.end()),c=Xn(e,t.end()),d=l.dot(c);if(d>=0)a();else{let u=Xn(o,o.end()),p=Xn(r,o.end()),m=u.dot(p);if(m>=0)s();else if(R_(d,-1)&&R_(m,-1)){let h=i.center();n(h),i=null}else d>m?a():s()}}function n(l){let c;if(e instanceof Xt)c=new Xt(e.start(),l);else if(e instanceof gr)c=new gr([...e.controls.slice(0,-1),l]);else if(e instanceof Oi)c=Oi.build5(e.start(),l,e.sweepAngle);else throw new Error("not supported");e=uv(c,$n)?null:c;let d;if(o instanceof Xt)d=new Xt(l,o.end());else if(o instanceof gr)d=new gr([l,...o.controls.slice(1)]);else if(o instanceof Oi)d=Oi.build5(l,o.end(),o.sweepAngle);else throw new Error("supported");o=uv(d,$n)?null:d}function a(){if(e instanceof Xt){let l=_0e(i.reverse());i=new Xt(l,i.end());let c=new Xt(e.start(),l);e=uv(c,$n)?null:c}else if(e instanceof gr){let l=_0e(i.reverse());i=new Xt(l,i.end());let c=new gr([...e.controls.slice(0,-1),l]);e=uv(c,$n)?null:c}else if(e instanceof Oi){let l=_0e(i.reverse());i=new Xt(l,i.end());let c=Oi.build5(e.start(),l,e.sweepAngle);e=uv(c,$n)?null:c}else throw new Error("not supported")}function s(){if(o instanceof Xt){let l=_0e(i);i=new Xt(i.start(),l);let c=new Xt(l,o.end());o=uv(c,$n)?null:c}else if(o instanceof gr){let l=_0e(i);i=new Xt(i.start(),l);let c=new gr([l,...o.controls.slice(1)]);o=uv(c,$n)?null:c}else if(o instanceof Oi){let l=_0e(i);i=new Xt(i.start(),l);let c=Oi.build5(l,o.end(),o.sweepAngle);o=uv(c,$n)?null:c}else throw new Error("not supported")}return{rebuildPrevPt:e,rebuildNextPt:o,rebuildLinkLine:i}}function l1i(t,e,i){if(t instanceof Xt||e.distance2(i)<=sC)return new Xt(e,i);if(t instanceof Oi)return Oi.build2(t.center,e.angleD(t.center),i.angleD(t.center),t.rx,t.ry,t.isCCW?1:0);if(t instanceof gr){let o=t.getPercent(e,$n),r=t.getPercent(i,$n);return t.clip(o)[1].clip((r-o)/(1-o))[0]}else throw new Error("not supported operation")}var qpr=class{constructor(t){this.pt=t}connect(t){this.prev=t,t.next=this}};function lRe(t){let e=Gxe(),i;if(t instanceof wl){let o=hZ(t);if(o===null)return null;i=o}else if(t instanceof Bg){let o=t.items.map(r=>lRe(r)).filter(r=>r!==null);if(o.length===0)return null;i=new Bg(o)}else{let o=t.items.map(r=>lRe(r)).filter(r=>r!==null);if(o.length===0)return null;i=new nh(o)}return P_.preprocessPolyline+=pZ(e),i}var P_={addDocShapes2RTree:0,getPour:0,prepare:0,getSinglePourLayerPolyline:0,combindOutlines:0,mergeSameNet:0,run:0,end:0,deSelfIntersection:0,changeDirect:0,extend:0,preprocessPolyline:0,runBoolean:0,IntersectionSeeker:0,BooleanTools:0,totalBool:0};function Gxe(){return{timeIndex:Object.assign({},P_),start:performance.now()}}function c1i(t){return Object.values(t).reduce((e,i)=>e+i,0)}function pZ(t){return performance.now()-t.start-(c1i(P_)-c1i(t.timeIndex))}function kb(t,e,i,o){let r=rd.RED,n=rd.Golden;function a(){if(!o)return;let p=o.initColor(rd.Golden);p.addPt(s),p.addPoint(s.end()),o.initColor(rd.RED).addPt(l),o.draw();debugger}let s=t.getShape(),l=i?e.getShape():e.getShape().reverse(),c=Xn(s,l.start()),d=Xn(l),u=c.cross(d);if(R_(u,0))if(s instanceof Xt)if(l instanceof Xt){if(Bi.eq(u,0)&&(c.dot(d)>0?!Sn(s.end(),l.start()):!Sn(s.start(),l.start())))throw a(),new Error("line and line");return u<0}else{if(l instanceof Oi)return c.cross(l.center.sub(s.start()))<0;if(l instanceof gr){let p=l.getExtremePoints(s),m=p.length?p[0]:Y0e(l.controls,s.start());return c.cross(m.sub(s.start()))<0}else throw new Error("not support")}else if(s instanceof Oi){if(l instanceof Xt)return s.isCCW;if(l instanceof Oi){if(l.center.equals1(s.center)&&(c.dot(d)>0?!Sn(s.end(),l.start())&&s.end().sub(l.start()).dot(d)>0:!Sn(s.start(),l.start())&&s.start().sub(l.start()).dot(d)>0))throw a(),new Error("arc and arc");return l.rx>=s.rx||l.center.distance2(s.center)>s.rx2?s.isCCW:!s.isCCW}else throw new Error("not support")}else if(s instanceof gr)if(l instanceof Xt){let p=s.getPercent(l.start(),$n),m=s.clip(p)[1],h=m.getExtremePoints(l);return(h.length?h[0]:Y0e(m.controls,l.start())).sub(l.start()).cross(d)<0}else if(l instanceof gr){let p=s.getPercent(l.start(),$n),m=s.clip(p)[1],h=m.getExtremePoints(new Xt(l.start(),l.end())),f=l.getExtremePoints(new Xt(m.start(),m.end())),g=h.length?h[0]:Y0e(m.controls,l.start()),b=f.length?f[0]:Y0e(l.controls,l.start()),y=g.sub(l.start()),w=b.sub(l.start());return y.cross(w)<0}else throw Error("not support");else throw new Error("not support");else return u<0}function joe(t,e,i,o,r){let n=t.getShape(),a=e.getShape(),s=n instanceof Oi?X9(n,Ka.toRadians(n.endAngle())):n instanceof gr?_xe(n,1):n.end().sub(n.start()).normalize(),l=Xn(a),c=s.dot(l);if(R_(c,-1))return kb(t,e,!0,r)?kb(t,i,o,r)&&kb(e,i,o,r):kb(t,i,o,r)||kb(e,i,o,r);{let d=s.scale(-1).angle(mi.ORIGIN),u=l.angle(mi.ORIGIN);d>u&&(d-=gRe);let p=(d+u)/2,m=new mi(Math.cos(p),Math.sin(p)),h=o?i.getShape():i.getShape().reverse(),f=Xn(h);return m.cross(f)<0?kb(t,i,o,r):kb(e,i,o,r)}}function T3t(t,e,i,o,r){let n=t.getShape(),a=e.getShape(),s=n instanceof Oi?X9(n,Ka.toRadians(n.endAngle())):n instanceof gr?_xe(n,1):n.end().sub(n.start()).normalize(),l=Xn(a),c=s.dot(l);if(R_(c,-1))return kb(t,e,!0,r)?kb(t,i,o,r)&&kb(e,i,o,r):kb(t,i,o,r)||kb(e,i,o,r);{let d=s.scale(-1).angle(mi.ORIGIN),u=l.angle(mi.ORIGIN);d>u&&(d-=gRe);let p=(d+u)/2,m=new mi(Math.cos(p),Math.sin(p)),h=o?i.getShape():i.getShape().reverse(),f=Xn(h);if(m.cross(f)<0){let g=s.dot(f)<0,b=aC(g?t.getShape().reverse():t.getShape(),h).state;return b!==3&&b!==4?kb(t,i,o,r):b===(g?4:3)}else{let g=l.dot(f)<0,b=aC(g?e.getShape().reverse():e.getShape(),h).state;return b!==3&&b!==4?kb(e,i,o,r):b===(g?4:3)}}}var Xpr=(t=>(t[t.NOT_IN=0]="NOT_IN",t[t.IS_IN=1]="IS_IN",t[t.IS_OVERLAP=2]="IS_OVERLAP",t))(Xpr||{}),$pr=(t=>(t[t.AllClear=0]="AllClear",t[t.MapClear=1]="MapClear",t))($pr||{}),k_,mZ=!1;function pv(t,e,i,o,r,n,a,s=i.side===e,l=!0,c){return k_=r,mZ=n,Z1i(J1i(t,e,l,c,a,i,s,o),i,s,o,0)}function XU(t,e,i,o,r,n,a,s=o.side===i){k_=r,mZ=n;let l=q1i(t,e,i,new Map,o,s,a),c=l instanceof Array?-1:1;return Z1i(l,o,s,a,c)}function Z1i(t,e,i,o,r){for(;t instanceof Array;)r++,t.length===4?t=q1i(...t,e,i,o):t=J1i(...t,e,i,o);return{...t,existOverlap:r>0}}function J1i(t,e,i,o,r,n,a,s){if(cRe===-1){s.initColor(rd.RED).addPt(t.getShape()),s.initColor(rd.Golden).addPt(e.getShape()),s.draw();debugger}let l=t.getShape(),c=a?e.getShape().reverse():e.getShape(),d=(l instanceof Oi?X9(l,i?c.start().angle(l.center):o?Ka.toRadians(l.endAngle()):void 0):l instanceof gr?Xn(l,i?c.start():o?l.end():l.start()):l.end().sub(l.start())).normalize(),u=(c instanceof Oi?X9(c,i?void 0:(o?l.end():l.start()).angle(c.center)):c instanceof gr?Xn(c,i?void 0:o?l.end():l.start()):c.end().sub(c.start())).normalize();if(o===void 0){let h=d.dot(u);if(o=h<0,R_(h,0))return{state:kb(t,e,!a,s)?1:0,inter:$U(t,e,n,a,i,o,r)}}else if(o?d.dot(u)>0:d.dot(u)<0)if(i){let h,f=!0;if(l instanceof Xt&&Sn(q9.foot(l,c.start()),o?l.end():l.start()))f=!1;else if(l instanceof Oi||l instanceof gr){let g=o?l.reverse():l,b=aC(c,mpr(g,c.start()).reverse()).state;(b===1||b===2)&&(f=!1)}if(f){let g=!o;h=aC(g?l.reverse():l,c,s).state===(g?4:3)?1:0}else o?h=joe(t,t.nextSide,e,!a,s)?1:0:h=joe(t.prevSide,t,e,!a,s)?1:0;return{state:h,inter:$U(t,e,n,a,i,o,r)}}else return o?{state:kb(t,t.nextSide,!0,s)?0:1,inter:$U(t,e,n,a,i,o,r),isReversed:!0}:{state:kb(t.prevSide,t,!0,s)?0:1,inter:$U(t,e,n,a,i,o,r),isReversed:!0};let p,m=new Map([[3,4],[4,3],[0,1],[1,0],[2,2]]);if(i)if(t.judgeOverlapMap.has(e)&&!mZ){let h=t.judgeOverlapMap.get(e);p=o?m.get(h.state):h.state}else p=aC(o?l.reverse():l,c).state,(p===3||p===4)&&t.judgeOverlapMap.set(e,{state:o?m.get(p):p});else{if(e.judgeOverlapMap.has(t)&&!mZ){let h=e.judgeOverlapMap.get(t);p=a?m.get(h.state):h.state}else p=aC(c,o?l.reverse():l).state,(p===3||p===4)&&e.judgeOverlapMap.set(t,{state:a?m.get(p):p});p=m.get(p)}if(p===1||p===2){let h=a?e.prevSide:e,f=h.inters,g=h.getEnd();for(let b=f.length-1;b>=0;b--){let y=f[b];if(!(h.getShape()instanceof gr)&&!Sn(g,y.coord))break;if(y===n)return{state:2,inter:$U(t,e,n,a,i,o,r)}}}if(p===3||p===4)return{state:p===(o?4:3)?1:0,inter:$U(t,e,n,a,i,o,r)};if(r.has(t)?r.get(t).mapSideList.push(e):r.set(t,{sideIsReversed:o,mapSideList:[e]}),r.has(e)?r.get(e).mapSideList.push(t):r.set(e,{sideIsReversed:a,mapSideList:[t]}),p===2)return o?[t.prevSide,t,a?e.prevSide:e.nextSide,r]:[t,t.nextSide,a?e.prevSide:e.nextSide,r];if(p===0)return[o?t.prevSide:t.nextSide,e,!1,o,r];if(p===1)return[t,a?e.prevSide:e.nextSide,!0,o,r];throw Error("not support")}function $U(t,e,i,o,r,n,a){if(mZ)return null;let s=t.getShape(),l=o?e.getShape().reverse():e.getShape(),c=o;if(!r){let m=e;e=t,t=m,o=n,i=i.getBindedInter()}let d=m=>!(r?n:c)&&Sn(m,t.prevSide.getEnd())?t.prevSide:t;if(o){let m=e.inters;for(let h=0;h<m.length;h++){let f=m[h];if(f.isInvalid&&n===void 0)continue;if(f===i&&Sn(l.start(),i.coord))return r?f:f.getBindedInter();let g=f.getBindedInter().side,b=d(f.coord);if(g===b&&u(f))return p(f)}for(;;){e=e.nextSide;let h=e.inters;for(let f=0;f<h.length;f++){let g=h[f];if(g===i)return r?g:g.getBindedInter();if(a.has(e)){let b=g.getBindedInter().side;if(a.get(e).mapSideList.includes(b)||Sn(g.coord,b.getEnd())&&a.get(e).mapSideList.includes(b.nextSide))return p(g);if(a.has(b)){let y=e.getShape().reverse(),w=Xn(y,g.coord).dot(Xn(b.getShape(),g.coord))<0,x=w?b.getShape().reverse():b.getShape(),S=aC(y,w?g3t(x,g.coord,x.end()):g3t(x,x.start(),g.coord)).state;if(S===1||S===2)return p(g)}else a.has(b.nextSide)}else if(g.side===i.side&&u(g))return p(g)}}}else{let m=e.inters;for(let h=m.length-1;h>=0;h--){let f=m[h];if(f.isInvalid&&n===void 0)continue;if(f===i&&Sn(l.start(),i.coord))return r?f:f.getBindedInter();let g=f.getBindedInter().side,b=d(f.coord);if(g===b&&u(f))return p(f)}for(;;){e=e.prevSide;let h=e.inters;for(let f=h.length-1;f>=0;f--){let g=h[f];if(g===i)return r?g:g.getBindedInter();if(a.has(e)){let b=g.getBindedInter().side;if(a.get(e).mapSideList.includes(b)||Sn(g.coord,g.getBindedInter().side.getEnd())&&a.get(e).mapSideList.includes(b.nextSide))return p(g);if(!a.has(b)&&a.has(b.prevSide)){let y=e.getShape().reverse(),w=Xn(y,g.coord).dot(Xn(b.getShape(),g.coord))<0;if(a.has(b.prevSide)){let x=w?b.getShape().reverse():b.getShape(),S=aC(e.getShape(),g3t(x,g.coord,x.end())).state;if(S===1||S===2)return p(g)}}}else if(g.side===i.side&&u(g))return p(g)}}}function u(m){if(m.isInvalid||m.getBindedInter().side!==(Sn(m.coord,t.prevSide.getEnd())?t.prevSide:t))return!1;let h;if(r){if(Sn(m.coord,l.start()))return!0;h=aC(n?s.reverse():s,f(l)).state}else{if(Sn(m.coord,n?s.end():s.start()))return!0;h=aC(l,f(n?s.reverse():s)).state}return h===2||h===1;function f(g){if(g instanceof Xt)return Sn(m.coord,g.end())?g:g.cutLine(m.coord);if(g instanceof Oi)return Oi.build2(g.center,g.startAngle,m.coord.angleD(g.center),g.rx,g.ry,g.isCCW?1:0);if(g instanceof gr)return g.clip(g.getPercent(m.coord,$n))[0];throw new Error("not supported operation")}}function p(m){let h=i.getBindedInter(),f=i.side,g=h.side,b=i===m,y=i;if(o){let w=i.getIndex()-1;for(;f;){let x=f.inters;for(;w>=0;w--)if(i=x[w],i===m){b||(i.setIsInvalid(),i.isDealed(),y=i),f=null;break}else if(k_===0)!i.isInvalid&&(!Sn(i.coord,m.coord)||i.side===m.side&&i.getBindedInter().side===m.getBindedInter().side)&&(i.setIsInvalid(),i.isDealed(),y=i);else if(k_===1){if(i.isInvalid)continue;let S=i.getBindedInter().side;a.has(f)&&a.get(f).mapSideList.includes(S)&&(i.setIsInvalid(),i.isDealed(),y=i)}f=f==null?void 0:f.prevSide,w=(f==null?void 0:f.inters.length)-1}}else{let w=i.getIndex()+1;for(;f;){let x=f.inters;for(;w<x.length;w++){i=x[w];let S=i.getBindedInter();if(i===m){b||(i.setIsInvalid(),i.isDealed(),y=i),f=null;break}else if(k_===0)!i.isInvalid&&(!Sn(i.coord,m.coord)||f===m.side&&(Sn(S.side.getEnd(),i.coord)?S.side.nextSide:S.side)===m.getBindedInter().side)&&(i.setIsInvalid(),i.isDealed(),y=i);else if(k_===1){let T=S.side;a.has(f)&&a.get(f).mapSideList.includes(T)&&(i.setIsInvalid(),i.isDealed(),y=i)}}f=f==null?void 0:f.nextSide,w=0}}if(k_===0&&!Sn(h.coord,m.coord))if(r?a.has(g)?a.get(g).sideIsReversed:n:c){let w=h.getIndex()-1;for(;g;){let x=a.has(g),S=g.inters;for(;w>=0;w--){if(h=S[w],h===m.getBindedInter()){g=null;break}h.isInvalid||!x||(!Sn(h.coord,m.getBindedInter().coord)||h.side===m.side&&h.getBindedInter().side===m.getBindedInter().side)&&(h.setIsInvalid(),h.isDealed())}g=g==null?void 0:g.prevSide,w=(g==null?void 0:g.inters.length)-1}}else{let w=h.getIndex()+1;for(;g;){let x=g.inters,S=a.has(g);for(;w<x.length;w++){if(h=x[w],h===m.getBindedInter()){g=null;break}let T=Sn(g.getEnd(),h.coord)?a.has(g.nextSide):!1;h.isInvalid||!(S||T)||(!Sn(h.coord,m.getBindedInter().coord)||h.side===m.side&&h.getBindedInter().side===m.getBindedInter().side)&&(h.setIsInvalid(),h.isDealed())}g=g==null?void 0:g.nextSide,w=0}}return r?y:y.getBindedInter()}}function q1i(t,e,i,o,r,n,a){let s=t.getShape(),l=e.getShape(),c=n?i.getShape().reverse():i.getShape(),d=(s instanceof Oi?X9(s,c.start().angle(s.center)):s instanceof gr?Xn(s,c.start()):s.end().sub(s.start())).normalize(),u=(l instanceof Oi?X9(l,c.start().angle(l.center)):l instanceof gr?Xn(l,c.start()):l.end().sub(l.start())).normalize(),p=d.dot(u);if(R_(p,-1)){let m=n?i.getShape().reverse():i.getShape(),h=Xn(m).normalize(),f=d.add(u.scale(-1)).normalize().dot(h),g=aC(s.reverse(),l,a).state;if(f>-.9&&(g===3||g===4))return{state:g===4?0:1,inter:$U(e,i,r,n,!0,!1,o)};let b=pv(t,i,r,a,k_,mZ,o.size===0?new Map:o,n);return b.state===2?b:g===4?b.state===0||b.inter!==r?b:pv(e,i,r,a,k_,mZ,o.size===0?new Map:o,n):b.state===1||b.inter!==r?b:pv(e,i,r,a,k_,mZ,o.size===0?new Map:o,n)}else{let m=d.scale(-1).angle(mi.ORIGIN),h=u.angle(mi.ORIGIN);m>h&&(m-=gRe);let f=(m+h)/2,g=new mi(Math.cos(f),Math.sin(f)),b=Xn(c).normalize(),y=b.angle(mi.ORIGIN),w=m<y&&y<h&&s instanceof Xt&&l instanceof Xt&&c instanceof Xt;if(g.cross(b)<=0){if(d.scale(-1).dot(b)<0){let x;return r.coord.equals1(c.start())?x=Xn(s,r.coord).dot(Xn(c,r.coord))<0:c instanceof Xt&&(x=Xn(s,s.end()).dot(c.direct)<0),{state:joe(t,e,i,!n,a)?1:0,inter:$U(t,i,r,n,!0,x,o)}}return w&&s.distance2(c.start())>sC?[e,i,!0,void 0,o]:[t,i,!0,void 0,o]}else return u.dot(b)<=0?{state:joe(t,e,i,!n,a)?1:0,inter:$U(e,i,r,n,!0,void 0,o)}:w&&l.distance2(c.start())>sC?[t,i,!0,void 0,o]:[e,i,!0,void 0,o]}}var cRe=0;function emr(t,e,i,o){let r=e.getBindedInter(),n=e.side,a=r.side,s=n.getShape(),l=a.getShape();if(o&&(cRe++,cRe===-1)){o.initColor(rd.RED).addPt(s),o.initColor(rd.Golden).addPt(l),o.draw();debugger}let c=0,d=!1;if(t===-1){let M=XU(n,n.nextSide,a,r,c,d,o),I=M.state!==0;if(M.state===2){let D=Xn(s,e.coord).add(Xn(n.nextSide.getShape(),e.coord)).normalize(),E=Xn(l,e.coord).add(Xn(a.nextSide.getShape(),e.coord)).normalize();return T(I,D.dot(E)>0)}let A=XU(n,n.nextSide,a.nextSide,r,c,d,o);return M.state!==A.state?(S(M,A),1):T(I,M.state!==XU(a,a.nextSide,n,e,c,!0,o).state,M.inter,A.inter)}if(t===1){let M=pv(n,a,r,o,c,d,new Map),I=M.state!==0;if(M.state===2)return T(I,Xn(s,e.coord).dot(Xn(l,e.coord))>0);let A;if(M.isReversed&&M.existOverlap&&Sn(M.inter.coord,a.getEnd())&&M.inter.getBindedInter().side!==n){let N=M.inter.getBindedInter().side;if(N===n.nextSide)A={state:joe(n,N,a.nextSide,!0,o)?1:0,inter:r};else if(N===n.prevSide){if(A={state:joe(N,n,a.nextSide,!0,o)?1:0,inter:M.inter},M.state===A.state&&e!==M.inter){let R=Xn(l,e.coord),v=Xn(a.nextSide.getShape(),e.coord),k=Xn(N.getShape(),e.coord);return T(I,R.add(v).dot(k)>0,M.inter,A.inter)}}else A=pv(n,a.nextSide,r,o,c,d,new Map)}else A=pv(n,a.nextSide,r,o,c,d,new Map);if(M.state!==A.state)return S(M,A),1;let D=Xn(l,e.coord),E=Xn(a.nextSide.getShape(),e.coord);if(R_(D.dot(E),-1)){let N=kb(a,a.nextSide,!0,o);return T(I,M.state!==pv(a.nextSide,n,e,o,c,!0,new Map,N?!I:I,!1).state,M.inter,A.inter)}else{let N=Xn(s,e.coord);return T(I,D.add(E).dot(N)>0,M.inter,A.inter)}}if(!(s instanceof gr||l instanceof gr))return 1;let u=Xn(s,e.coord),p=Xn(l,e.coord),m,h;if(l instanceof Xt)m=new Xt(e.coord,l.start()),h=new Xt(e.coord,l.end());else if(l instanceof Oi){let M=e.coord.angleD(l.center);m=Oi.build2(l.center,M,l.startAngle,l.rx,l.ry,l.isCCW?0:1),h=Oi.build2(l.center,M,l.endAngle(),l.rx,l.ry,l.isCCW?1:0)}else if(l instanceof gr){let M=l.getPercent(e.coord,$n);[m,h]=l.clip(M),m=m.reverse()}else throw new Error("not support");let f=u.dot(p)>0,g,b;f?(g=aC(s.reverse(),m).state,b=aC(s,h).state):(g=aC(s,m).state,b=aC(s.reverse(),h).state);let y;g===0?y=pv(f?n.prevSide:n.nextSide,a,r,o,c,d,new Map,!0,!1,f):g===1?y=pv(n,a.prevSide,r,o,c,d,new Map,!0,!0,f):g===2?f?y=XU(n.prevSide,n,a.prevSide,r,c,d,o,!0):y=XU(n,n.nextSide,a.prevSide,r,c,d,o,!0):f?g===3?y={inter:r,state:0}:y={inter:r,state:1}:g===3?y={inter:r,state:1}:y={inter:r,state:0};let w=y.state!==0;if(y.state===2)return T(w,f);let x;if(b===0?x=pv(f?n.nextSide:n.prevSide,a,r,o,c,d,new Map,!1,!1,!f):b===1?x=pv(n,a.nextSide,r,o,c,d,new Map,!1,!0,!f):b===2?f?x=XU(n,n.nextSide,a.nextSide,r,c,d,o,!1):x=XU(n.prevSide,n,a.nextSide,r,c,d,o,!1):f?b===3?x={inter:r,state:1}:x={inter:r,state:0}:b===3?x={inter:r,state:0}:x={inter:r,state:1},y.state===x.state)return y.inter===x.inter?(e.setIsInvalid(),0):T(w,f,y.inter,x.inter);return S(y,x),1;function S(M,I){let A=M.state!==0;if(M.inter===I.inter){e.setOutToIn(A);return}else j0e(M.inter,I.inter,!0),j0e(I.inter,M.inter,!1);let D=[];if(t===-1){let N=Xn(s,e.coord),R=Xn(n.nextSide.getShape(),e.coord),v=Xn(l,e.coord),k=Xn(a.nextSide.getShape(),e.coord);D.push(N.dot(v)),D.push(N.dot(k)),D.push(R.dot(v)),D.push(R.dot(k))}else{let N=Xn(s,e.coord);D.push(Xn(l,e.coord).dot(N)),D.push(Xn(a.nextSide.getShape(),e.coord).dot(N))}if(D.reduce((N,R)=>Math.abs(N)>Math.abs(R)?N:R,0)>0)if(i===1||i===0||i===2||i===3)e.setOutToIn(A);else throw new Error("not support");else if(i===1)E(!A);else if(i===0||i===2||i===3)E(A);else throw new Error("not support");function E(N){e.setIsInvalid();let R=(N?M:I).inter;delete R.isInvalid,delete R.getBindedInter().isInvalid,R.setOutToIn(!A)}}function T(M,I,A,D){if(A===D){if(e.side.outline.inters.find(R=>!R.isInvalid&&R!==e&&Sn(R.coord,e.coord)))return e.setIsInvalid(),0;let E=new eV(e.coord,n,o),N=new eV(e.coord,a,o);return E.bind(N),I?n.inters.splice(e.getIndex(),0,E):n.inters.splice(e.getIndex()+1,0,E),a.inters.splice(e.getBindedInter().getIndex(),0,N),E.setOutToIn(M),e.setOutToIn(!M),E.isDealed(),n.inters.forEach((R,v)=>R.setIndex(v)),a.inters.forEach((R,v)=>R.setIndex(v)),2}else{let E=function(){let N=A.getBindedInter(),R=D.getBindedInter();delete A.isInvalid,delete N.isInvalid,delete D.isInvalid,delete R.isInvalid,A.setOutToIn(!M),D.setOutToIn(M),j0e(A,D,!0),j0e(D,A,!1),j0e(N,R,I),j0e(R,N,!I)};if(e.setIsInvalid(),I){if(i===1||i===0||i===2||i===3)return E(),2;throw new Error("not support")}else{if(i===1)return M?0:(E(),2);if(i===0||i===2||i===3)return M?(E(),2):0;throw new Error("not support")}}}}function j0e(t,e,i){let{judge:o,changeNum:r}=a(),n=t.getIndex();for(let s=n+r,l=t.side.inters;o(s);s+=r){if(l[s].isInvalid)continue;if(!Sn(l[s].coord,t.coord))break;l[s].setIndex(n),l[n].setIndex(s);let c=l[s];l[s]=l[n],l[n]=c,n=s}function a(){let s=t.side===e.side;if(i){let l=s?e.getIndex():t.side.inters.length;return{judge:c=>c<l,changeNum:1}}else{let l=s?e.getIndex()+1:0;return{judge:c=>c>=l,changeNum:-1}}}}var d1i=0,eV=class{constructor(t,e,i){this.id=d1i++,this.coord=t,this.side=e,i&&(this.id=d1i++,this.drawDebug=i);let o=new LS;o.ext2(t),this._bbox=o.build1()}bbox(){return this._bbox}resetVisitStatus(){this.visited=!1,this.bindedInter.visited=!1}isDealed(){this.dealed=!0,this.getBindedInter().dealed=!0}setOutToIn(t){this.outToIn=t,this.bindedInter.outToIn=!t}setIsInvalid(){this.isInvalid=!0,this.getBindedInter().isInvalid=!0}getBindedInter(){return this.bindedInter}bind(t){this.bindedInter=t,t.bindedInter=this}setIndex(t){this.index=t}isSorted(){return this.index!==void 0}getIndex(){return this.index}getVisited(){return this.visited}visitSelf(){this.visited=!0}visit(){this.visited=!0,this.bindedInter.visited=!0}getPrevPoint(){let t=this.getIndex(),e=this.side.getStart();return t&&(e=this.side.inters[t-1].coord),e}getTangent(){let t=this.side.getShape();if(t instanceof Xt)return t.end().sub(t.start());if(t instanceof Oi){let e=this.coord.angle(t.center);return t.isCCW?e+=iRe:e-=iRe,new mi(Math.cos(e),Math.sin(e))}else{if(t instanceof gr)return _xe(t,t.getPercent(this.coord,$n));throw new Error("not support")}}findStartInter(){return this.outToIn===void 0?this.getTangent().cross(this.bindedInter.getTangent())>0?this:this.bindedInter:this.outToIn?this:this.bindedInter}run(){let t=[],e=this,i;if(this.drawDebug){S3t++;let o=S3t===-1,r=this.drawDebug.initColor(rd.RED);if(o){this.drawDebug.draw();debugger}i=n=>{if(t.push(n),o){r.addPt(t[t.length-1]),this.drawDebug.draw();debugger}}}else i=o=>t.push(o);for(;!e.visited;){let o=function(s,l){if(Bi.eq(s.distance2(l),0))return;let c=Hxe.rebuild(n.getShape(),s,l);if(!c)return!0;i(c)};e.visit();let r=e.getIndex(),n=e.side,a=n.inters[r+1];for(;a!=null&&a.isInvalid;)a=n.inters[a.getIndex()+1];if(a)o(e.coord,a.coord),e=a.bindedInter;else{let s=o(e.coord,n.getEnd()),l=e.coord;for(n=n.nextSide,e=null;;){for(let c of n.inters)if(!c.isInvalid){e=c.bindedInter;break}if(e)break;s?(o(l,n.getEnd()),s=!1):i(n.getShape()),n=n.nextSide}s?(Bi.eq(l.distance2(e.coord),0)?o(l,n.getEnd()):o(l,e.coord),s=!1):Bi.eq(n.getEnd().distance2(e.coord),0)?i(n.getShape()):o(n.getStart(),e.coord)}}if(e!==this)throw this.drawDebug&&console.log(JSON.stringify({runId:S3t,handleId:cRe,boolId:Dxe})),new Error("inter !== this");return hZ(wl.build7(t))}},S3t=0,M3t=class V3t{constructor(e,i,o,r,n){this.inters=[],this.allInterIsInvalid=!0,this.isVisit=!1,this.sides=e,this.isGroup1=o,this.isOutside=r,this.finalIsOutside=r,this.polyline=i,n&&(this.polygon=n),e.forEach(a=>a.outline=this)}static build(e,i,o,r,n){let a=e.primitives.map(l=>new Hxe(l,r)),s=a[a.length-1];return a.forEach(l=>{s.connect(l),s=l}),n?new V3t(a,e,i,o,n):new V3t(a,e,i,o)}setFinalIsOutSide(e){this.finalIsOutside=e}startAndEndIsSameOutsideFlag(){return this.isOutside===this.finalIsOutside}get hasInter(){return!!this.interOutlines}isAllInterIsInvalid(){return this.allInterIsInvalid}setAllInterIsInvalidToFalse(){this.allInterIsInvalid=!1}resetVisited(){this.isVisit=!1}intersect(e,i){if(!(e.interOutlines&&e.interOutlines===this.interOutlines))if(e.interOutlines)if(this.interOutlines){let o,r;this.interOutlines.length>e.interOutlines.length?(o=this.interOutlines,r=e.interOutlines):(o=e.interOutlines,r=this.interOutlines),r.forEach(n=>{o.push(n),n.interOutlines=o}),i.delete(r)}else e.interOutlines.push(this),this.interOutlines=e.interOutlines;else this.interOutlines?(this.interOutlines.push(e),e.interOutlines=this.interOutlines):(e.interOutlines=this.interOutlines=[this,e],i.add(this.interOutlines))}isContain(e){if(!this.polyline.bbox().extendOfSize($n).isContainsBBox(e.polyline.bbox()))return!1;let i=e.polyline.primitives[0].start();if(e.hasInter&&e.isAllInterIsInvalid()){let o=e.inters[0];o.getBindedInter().side.outline!==this?i=o.side.getCenterPoint():i=o.side.getCenterPoint(o.coord)}return!!this.polyline.getWindingNum(i)}isInternally(e){return!!this.polyline.getWindingNum(e)}isEqual(e){return this.polyline===e.polyline}bbox(){return this.polyline.bbox()}reverse(){this.sides.reverse();let e=this.sides[this.sides.length-1];this.sides.forEach(i=>{i.reverse(),e.connect(i),e=i})}returnPolyline(){let e=this.sides.map(o=>o.getShape()),i=this.polyline.primitives;if(this.sides.length===i.length){let o=new Set(i);if(!e.some(r=>!o.has(r)))return this.polyline}return wl.build7(e)}};function u1i(t,e,i){let o=[];return t.forEach(r=>r.forEach(n=>{if(n.hasInter&&!n.isAllInterIsInvalid())return;let a=n.bbox(),s=e.search(a.extendOfSize($n)).filter(l=>l.bbox().extendOfSize($n).isContainsBBox(a)).sort((l,c)=>l.bbox().area()-c.bbox().area());for(let l of s)if(l.isContain(n)){let c=i(!n.isOutside,l.isOutside),d=i(n.isOutside,l.isOutside);c!==d&&(o.push(n),n.setFinalIsOutSide(!c));return}i(n.isOutside,!1)!==i(!n.isOutside,!1)&&o.push(n)})),o}function tmr(t,e,i){let o;switch(i){case 0:o=(s,l)=>s&&l;break;case 1:o=(s,l)=>s||l;break;case 2:o=(s,l)=>s&&!l;break;case 3:o=(s,l)=>s&&!l||!s&&l;break;default:throw Error("not support the rule")}let r=new jxe(10),n=new jxe(10);t.forEach(s=>s.forEach(l=>r.add(l))),e.forEach(s=>s.forEach(l=>n.add(l)));let a=u1i(t,n,o);return u1i(e,r,(s,l)=>o(l,s)).forEach(s=>a.push(s)),a}var imr=class{constructor(t){this.roots=[],this.nodes=t.sort((e,i)=>e.bbox().minX-i.bbox().minX).map(e=>new omr(e)),this.nodes.forEach((e,i)=>{e.visit()&&(this.roots.push(e),this.build(i))})}build(t){let e=this.nodes[t];for(let i=t+1,o=this.nodes.length;i<o;i++){let r=this.nodes[i];if(e.key.bbox().maxX<r.key.bbox().minX)break;r.getIsVisit()||e.isContain(r)&&(r.visit(),e.addChild(r),this.build(i))}}getPolygons(){let t=[];return this.roots.forEach(e=>e.getPolygons().forEach(i=>t.push(i))),t}},omr=class{constructor(t){this.children=[],this.isVisit=!1,this.key=t}getIsVisit(){return this.isVisit}isContain(t){return this.key.isContain(t.key)}addChild(t){this.children.push(t)}getPolygons(){let t=[];return this.getPolylineList(t),t.map(e=>{let i=e[0].polygon;if(i&&i.items.length===e.length){let o=e.map(n=>n.returnPolyline()),r=new Set(i.items);return o.some(n=>!r.has(n))?new Bg(o):i}else return new Bg(e.map(o=>o.returnPolyline()))})}getPolylineList(t,e){e?(e.push(this.key),e=null):(e=[this.key],t.push(e)),this.children.forEach(i=>i.getPolylineList(t,e))}visit(){return this.isVisit?!1:(this.isVisit=!0,!0)}};function p1i(t){let e="";return t.items.forEach((i,o)=>{let r="$";if(i.items.forEach((n,a)=>{let s="[";if(n.primitives.forEach((l,c)=>{let d="";if(l instanceof Xt)d=`Line,${l.start().x},${l.start().y},${l.end().x},${l.end().y}`;else if(l instanceof Oi)d=`Arc,${l.center.x},${l.center.y},${l.startAngle},${l.sweepAngle},${l.rx}`;else if(l instanceof gr)d=`Bezier,${l.controls.map(u=>`${u.x},${u.y}`).join(",")}`;else throw new Error("not supported");if(c===n.primitives.length-1){s+=`${d}]`;return}s+=`${d},`}),a===i.items.length-1){r+=`${s}$`;return}r+=`${s}_`}),o===t.items.length-1){e+=`${r}`;return}e+=`${r}^`}),console.log(e),e}function m1i(t){let e=t.split("^"),i=[];return e.forEach(r=>{let n=/\$(.*?)\$/,a=r.match(n)[1].split("_"),s=[];a.forEach(c=>{let d=/\[(.*?)\]/,u=c.match(d)[1].split(","),p=[],m=[];for(let f=0;f<u.length;f++){let g=u[f];if(g==="Line"||g==="Arc"||g==="Bezier"){if(p.length){let b=o(p);m.push(b),p.length=0}p.push(g);continue}p.push(Number(g))}p.length&&(m.push(o(p)),p.length=0);let h=wl.build7(m);s.push(h)});let l=new Bg(s);i.push(l)}),new nh(i);function o(r){let n=r[0];if(n==="Line")return new Xt(new mi(r[1],r[2]),new mi(r[3],r[4]));if(n==="Arc")return Oi.build3(new mi(r[1],r[2]),r[3],r[4],r[5],r[5]);if(n==="Bezier"){let a=[];for(let s=1;s<r.length;s+=2)a.push(new mi(r[s],r[s+1]));return new gr(a)}else throw new Error("not support")}}var rmr=class{constructor(t=1){this.group1Str="$[Line,20193.777980000017,4122.200439600661,20193.77082,4211.848760073709,Arc,20193.972672902382,4211.8487570980205,179.99915535323618,-89.99540000050294,0.2018529024026465,Line,20193.972659672283,4212.050609999989,20193.972660393258,4212.039610000013,Arc,20193.97217289501,4211.848257065248,89.85403133887164,89.99540000041924,0.19135355574930143,Line,20193.78082,4211.848759926291,20193.78897999998,4122.200440479205,Line,20193.78897999998,4122.200440479205,20193.777980000017,4122.200439600661]$",this.group2Str="$[Arc,20209.72784128151,4122.2007625157785,258.46768032837986,-75.66780748375947,4.138846238512183,Line,20205.593935808283,4121.998590004101,20193.97982992629,4121.998600000001,Arc,20193.97983290198,4122.2004529023825,269.9991553532362,-89.99540000050297,0.20185290240401074,Arc,20193.782979999996,4122.20044,180.00375535340328,-180.0000000000027,0.004999999999025513,Arc,20193.979332869207,4122.200952909754,180.15347936671733,89.99540000008247,0.19135355575111057,Line,20193.97983008845,4122.009599999999,20205.603694309226,4122.003828485546,Arc,20209.733142304296,4122.194577876843,182.64475341258483,75.73379999998886,4.133851239977064,Line,20208.900400396684,4118.145470939558,20208.902599535475,4118.156248870184,Arc,20206.972515961093,4108.700057667588,78.46393309088245,-78.46759999998636,9.65115405866796,Arc,20216.618669999996,4108.69944,359.99996825446135,-180,0.004999999999200412,Arc,20206.973015966745,4108.699445349495,359.99996822365375,78.46759999998409,9.640654033253735]$^$[Line,20193.997796883676,4095.399470032799,20205.596133314026,4095.4013992171836,Arc,20209.72470159858,4095.1923799234505,177.10172964919312,-75.64935037184974,4.133855965730166,Arc,20209.73000213952,4095.198565517174,101.5415133143569,75.7293000000185,4.128850963459707,Line,20205.605834328744,4095.395161923586,20193.997203529463,4095.389485743675,Arc,20193.994588809255,4095.197684525904,89.21896662213764,4.544099999999517,0.19181903946188483,Arc,20193.981499796217,4095.1977402038,89.85034659953621,89.9999999995926,0.19135044893494071,Arc,20193.78515,4095.19824,0,-180,0.005,Arc,20193.98200016982,4095.1982398301675,179.99995179248322,-89.99999999974185,0.20185016982129908,Arc,20193.981986624152,4095.198185381971,89.9961078637802,-4.487285276547311,0.2019046184835962]$",this.rule=t}getGroup1(){return m1i(this.group1Str)}getGroup2(){return m1i(this.group2Str)}},I3t=new fRe(2),vxe=class{getUnion(t,e=!0){return e&&(t=t.map(i=>this.asSameSweep([i])[0])),Upr(Tpr,t)}asSameSweep(t){let e=0;return t.forEach(i=>e+=i.area(.01)),e>0?t.map(i=>i.reverse()):t}getSubtraction(t,e){let i=new Pxe(!1),o=new Oxe(ZOe.rule,I3t,i);for(let r of t){let n=ZOe.weight(0);o.addPolyline(r,n)}for(let r of e){let n=ZOe.weight(1);o.addPolyline(r,n)}return o.simplify(),i.plGrps}getIntersection(t,e){let i=new Pxe(!1),o=new Oxe(JOe.rule,I3t,i);for(let r of t){let n=JOe.weight(0);o.addPolyline(r,n)}for(let r of e){let n=JOe.weight(1);o.addPolyline(r,n)}return o.simplify(),i.plGrps}getMutuallyExclusive(t,e){let i=new Pxe(!1),o=new Oxe(y3t.rule,I3t,i);for(let r of t){let n=y3t.weight(0);o.addPolyline(r,n)}for(let r of e){let n=y3t.weight(1);o.addPolyline(r,n)}return o.simplify(),i.plGrps}},Dxe=0,L3t=!1;function Exe(t,e,i,o,r){let n=Gxe(),a=[],s=[],l=[],c=new Set,d;if(r){if(d=new Vxe(r),Dxe++,L3t){debugger;L3t=!1;let x=new rmr;Exe(x.rule,x.getGroup1(),x.getGroup2(),o,r)}if(Dxe===-1||L3t){console.table({rule:t,group1:p1i(e),group2:p1i(i)}),d.clear();let x=d.initColor(rd.GREEN),S=d.initColor(rd.WHITE),T=d.initColor(rd.BLUE),M=d.initColor(rd.Gray);e.items.forEach(I=>I.items.forEach((A,D)=>{D>0?S.addPly(A):x.addPly(A)})),i.items.forEach(I=>I.items.forEach((A,D)=>{D>0?M.addPly(A):T.addPly(A)})),d.draw();debugger}}let u=e.items.length!==0&&i.items.length!==0?e.bbox().extendOfSize($n).intersection1(i.bbox().extendOfSize($n)):null;if(u){let x=[],S=[];switch(t){case 0:{for(let T of e.items)T.bbox().isIntersect(u)&&x.push(T);for(let T of i.items)T.bbox().isIntersect(u)&&S.push(T);break}case 1:case 3:{for(let T of e.items)T.bbox().isIntersect(u)?x.push(T):a.push(T);for(let T of i.items)T.bbox().isIntersect(u)?S.push(T):a.push(T);break}case 2:{for(let T of e.items)T.bbox().isIntersect(u)?x.push(T):a.push(T);for(let T of i.items)T.bbox().isIntersect(u)&&S.push(T);break}default:throw new Error("not support")}x.length!==e.items.length&&(e=new nh(x)),S.length!==i.items.length&&(i=new nh(S))}else{switch(t){case 0:break;case 1:case 3:{e.items.forEach(x=>a.push(x)),i.items.forEach(x=>a.push(x));break}case 2:{e.items.forEach(x=>a.push(x));break}default:throw new Error("not support")}e=new nh([]),i=new nh([])}y(e,s,!0),y(i,l,!1);let p=t===2||t===3?(x,S)=>Sn(x.getEnd(),S)?x.nextSide:x:(x,S)=>Sn(x.prevSide.getEnd(),S)?x.prevSide:x,m=(x,S,T)=>{if(Sn(x.getEnd(),T)){if(x.inters.findIndex(M=>M.getBindedInter().side===S&&Sn(M.coord,x.getEnd()))===-1)return new eV(T,x,d)}else return new eV(T,x,d)},h=t===2||t===3?(x,S,T)=>{if(Sn(x.getStart(),T)){if(x.inters.findIndex(M=>M.getBindedInter().side===S&&Sn(M.coord,x.getStart()))===-1)return new eV(T,x,d)}else return new eV(T,x,d)}:m;o.seek(e,i,(x,S,T,M,I,A)=>{let D=s[x][S],E=l[M][I],N=D.sides[T],R=E.sides[A],v=q8(N.getShape(),R.getShape());if((N.getShape()instanceof gr||R.getShape()instanceof gr)&&v>=4){if(N.getShape()instanceof Oi||R.getShape()instanceof Oi){let P=function(_,j){let B=!1;for(let V=0;V<j.length;V+=2)Sn(new mi(j[V],j[V+1]),_)&&(B=!0);B||j.push(_.x,_.y)},O=[At[0],At[1]];for(let _=0;_<v;_+=2){let j=new mi(At[_],At[_+1]);for(let B=_+2;B<v;B+=2){let V=new mi(At[B],At[B+1]);if(!Sn(j,V)){P(V,O);break}}}v=O.length,O.forEach((_,j)=>At[j]=_)}else for(let P=v-2;P>=2;P-=2)for(let O=P-2;O>=0;O-=2)if(Sn(new mi(At[P],At[P+1]),new mi(At[O],At[O+1]))){At[O]=(At[P]+At[O])/2,At[O+1]=(At[P+1]+At[O+1])/2;for(let _=v-3;_>=P;_--)At[_]=At[_+2];v-=2;break}}let k=0;if(v===4){let P=function(j){return Sn(N.getEnd(),j)||Sn(N.prevSide.getEnd(),j)||Sn(R.prevSide.getEnd(),j)||Sn(R.getEnd(),j)},O=new mi(At[0],At[1]),_=()=>{let j=new eV(O,N,d),B=new eV(O,R,d);j.bind(B),j.setIsInvalid(),j.isDealed(),D.inters.push(j),E.inters.push(B)};if(At[0]===At[2]&&At[1]===At[3])if(P(O))k=2;else{_();return}}for(;k<v;k+=2){let P=new mi(At[k],At[k+1]),O=N,_=R;if(Sn(O.prevSide.getEnd(),P)&&(O=O.prevSide),_=p(_,P),N!==O&&R!==_){let B=t===2||t===3?R.getEnd():_.getEnd();O.getEnd().distance1(P)<B.distance1(P)?(P=O.getEnd(),Sn(B,P)||(_=R)):(P=B,Sn(O.getEnd(),P)||(O=N))}let j=m(O,_,P);if(j){let B=h(_,O,P);B&&(O.addInter(j),D.inters.push(j),_.addInter(B),E.inters.push(B),j.bind(B),D.intersect(E,c))}}return v},r);let f=w(),g=tmr(s,l,t);g.forEach(x=>!x.startAndEndIsSameOutsideFlag()&&x.reverse()),new imr(f.concat(g)).getPolygons().forEach(x=>a.push(x));let b=new nh(a);if(d){if(Dxe===-1){let x=d.initColor(rd.RED),S=d.initColor(rd.Golden);a.forEach(T=>{x.addPly(T.items[0]),T.items.slice(1).forEach(M=>S.addPly(M))}),d.draw();debugger;throw new Error}b.id=Dxe}return P_.BooleanTools+=pZ(n),b;function y(x,S,T){x.items.forEach(M=>{let I=[];I.push(M3t.build(M.items[0],T,!0,d,M)),M.items.slice(1).forEach(A=>{I.push(M3t.build(A,T,!1,d))}),S.push(I)})}function w(){let x=[];return c.forEach(T=>{t===2||t===3?T.forEach(I=>{I.isGroup1||I.reverse(),I.sides.forEach(A=>A.sortInters())}):T.forEach(I=>I.sides.forEach(A=>A.sortInters())),T.map(I=>I.sides.filter(A=>A.inters.length)).flat(2).sort((I,A)=>{let D=I.inters,E=A.inters,N=Sn(D[D.length-1].coord,I.getEnd()),R=Sn(E[E.length-1].coord,A.getEnd());if(N&&R){let v=0,k=0;for(let P=D.length-2;P>=0&&Sn(D[P].coord,I.getEnd());P--)v++;for(let P=E.length-2;P>=0&&Sn(E[P].coord,A.getEnd());P--)k++;return k-v}else return N?-1:1}).forEach(I=>{I.inters.forEach(A=>{if(A.dealed)return;let D=A.side,E=A.getBindedInter().side,N;Sn(D.getEnd(),A.coord)&&Sn(E.getEnd(),A.coord)?N=-1:Sn(D.getEnd(),A.coord)?(N=1,A=A.getBindedInter()):Sn(E.getEnd(),A.coord)&&(N=1);let R=emr(N,A,t,d);A.isDealed(),R&&(D.outline.setAllInterIsInvalidToFalse(),E.outline.setAllInterIsInvalidToFalse())})}),M(T),t===3&&(T.forEach(I=>{I.reverse(),I.sides.forEach(A=>{A.sortInters(),A.inters.forEach(D=>{D.resetVisitStatus()})})}),M(T));function M(I){I.forEach(A=>{A.inters.forEach(D=>{if(D.isInvalid||D.getVisited())return;let E=D.findStartInter(),N=S(t)?E.run():E.getBindedInter().run(),R=A.polyline.primitives;if(N){if(R.length===N.primitives.length){let v=new Set(R);if(!N.primitives.some(k=>!v.has(k))){x.push(A);return}}x.push(M3t.build(N,!0,!0,d))}})})}}),x;function S(T){switch(T){case 0:case 2:case 3:return!0;case 1:return!1;default:throw Error("not support the rule")}}}}var GOe=/\bstablilizetion\b/.test(self.location.href)||!0,YOe={intersect(t,e,i,o){try{return Exe(0,t,e,i,o)}catch(r){if(GOe){let n=new vxe().getIntersection(t.items.map(a=>a.items.map(s=>s)).flat(2),e.items.map(a=>a.items.map(s=>s)).flat(2));return new nh(n.map(a=>new Bg(a.items)))}throw r}},union(t,e,i,o){try{return Exe(1,t,e,i,o)}catch(r){if(GOe){let n=new vxe,a=t.items.map(l=>l.items.map(c=>c)).flat(2);e.items.forEach(l=>l.items.forEach(c=>a.push(c)));let s=n.getUnion(a);return new nh(s.map(l=>new Bg(l.items)))}throw r}},diff(t,e,i,o){try{return Exe(2,t,e,i,o)}catch(r){if(GOe){let n=new vxe().getSubtraction(t.items.map(a=>a.items.map(s=>s)).flat(2),e.items.map(a=>a.items.map(s=>s)).flat(2));return new nh(n.map(a=>new Bg(a.items)))}throw r}},xor(t,e,i,o){try{return Exe(3,t,e,i,o)}catch(r){if(GOe){let n=new vxe().getMutuallyExclusive(t.items.map(a=>a.items.map(s=>s)).flat(2),e.items.map(a=>a.items.map(s=>s)).flat(2));return new nh(n.map(a=>new Bg(a.items)))}throw r}}},nmr=class extends Oxe{constructor(t,e,i,o,r,n){super(t.rule,fRe.DUMMY,e),this.sideGroup1=[],this.sideGroup2=[],this.group1=i,this.group2=o,this.seeker=r,this.addGroup(i,t.weight(0),this.sideGroup1),this.addGroup(o,t.weight(1),this.sideGroup2),this.bus=n}addGroup(t,e,i){if(!t)debugger;t.items.forEach(o=>{let r=[];o.items.forEach(n=>{let a=this.sides.length;this.addPolyline(n,e),r.push(this.sides.slice(a))}),i.push(r)})}seekIntersection(){this.seeker.seek(this.group1,this.group2,(t,e,i,o,r,n)=>{let a=this.sideGroup1[t][e][i],s=this.sideGroup2[o][r][n],l=q8(a.shape,s.shape);for(let c=0;c<l;c+=2){let d=new mi(At[c],At[c+1]);a.inters.push(d),s.inters.push(d),this.event.onIntersect(d,a,s)}return l},this.bus)}},amr=class extends Pxe{constructor(t){super(!!t),t&&(this.drawDebug=new Vxe(t),this.blueDrawing=this.drawDebug.initColor(rd.BLUE),this.greenDrawing=this.drawDebug.initColor(rd.GREEN),this.redDrawing=this.drawDebug.initColor(rd.RED))}onOriginSide(t){super.onOriginSide(t),this.debug&&this.blueDrawing.addPt(t.shape)}onPolylineGroup(t,e){super.onPolylineGroup(t,e),this.debug&&t.items.forEach(i=>this.greenDrawing.addPly(i))}draw(){this.drawDebug.draw()}};function v3t(t,e,i,o,r){let n=Gxe(),a=new amr(r);new nmr(t,a,e,i,o,r).simplify();let s=[];a.plGrps.forEach(c=>{let d=c.items.map(u=>lRe(u));d[0]&&s.push(new Bg(d.filter(u=>u)))});let l=new nh(s);return P_.BooleanTools+=pZ(n),l}var D3t=!0,Sxe={intersect(t,e,i,o){try{return YOe.intersect(t,e,i,o)}catch(r){if(D3t)throw r;return console.error(r),v3t(JOe,t,e,i,o)}},union(t,e,i,o){try{return YOe.union(t,e,i,o)}catch(r){if(D3t)throw r;return console.error(r),v3t(Spr,t,e,i,o)}},diff(t,e,i,o){try{return YOe.diff(t,e,i,o)}catch(r){if(D3t)throw r;return console.error(r),v3t(ZOe,t,e,i,o)}},xor(t,e,i,o){return YOe.xor(t,e,i,o)}},smr=class{init(t){}seek(t,e,i,o){let r=t.bbox().extendOfSize(5e-6).intersection1(e.bbox().extendOfSize(5e-6));if(!r)return;let n=Gxe(),a=[];for(let p=0,m=t.items.length;p<m;p++){let h=t.items[p];if(r.isIntersect(h.bbox()))for(let f=0,g=h.items.length;f<g;f++){let b=h.items[f];if(r.isIntersect(b.bbox()))for(let y=0,w=b.primitives.length;y<w;y++){let x=b.primitives[y].bbox();r.isIntersect(x)&&a.push({bbox:x,polygonIndex:p,polylineIndex:f,ptIndex:y})}}}let s=a.length;if(s===0){P_.IntersectionSeeker+=pZ(n);return}let l=[];for(let p=0,m=e.items.length;p<m;p++){let h=e.items[p];if(r.isIntersect(h.bbox()))for(let f=0,g=h.items.length;f<g;f++){let b=h.items[f];if(r.isIntersect(b.bbox()))for(let y=0,w=b.primitives.length;y<w;y++){let x=b.primitives[y].bbox();r.isIntersect(x)&&l.push({bbox:x,polygonIndex:p,polylineIndex:f,ptIndex:y})}}}let c=l.length;if(c===0){P_.IntersectionSeeker+=pZ(n);return}if(s<5||c<5){for(let p=0,m=a.length;p<m;p++)for(let h=0,f=l.length;h<f;h++)if(a[p].bbox.isIntersect(l[h].bbox.extendOfSize(1e-5))){let g=a[p],b=l[h];i(g.polygonIndex,g.polylineIndex,g.ptIndex,b.polygonIndex,b.polylineIndex,b.ptIndex)}P_.IntersectionSeeker+=pZ(n);return}a.sort((p,m)=>p.bbox.minX-m.bbox.minX),l.sort((p,m)=>p.bbox.minX-m.bbox.minX);let d=0,u=0;for(;d<s&&u<c;)if(a[d].bbox.minX<l[u].bbox.minX){let p=a[d],m=p.bbox;for(let h=u;h<c;h++){let f=l[h],g=f.bbox;if(g.minX>m.maxX+1e-5)break;(m.minY<g.minY?g.minY:m.minY)<(m.maxY<g.maxY?m.maxY:g.maxY)+1e-5&&i(p.polygonIndex,p.polylineIndex,p.ptIndex,f.polygonIndex,f.polylineIndex,f.ptIndex)}d++}else{let p=l[u],m=p.bbox;for(let h=d;h<s;h++){let f=a[h],g=f.bbox;if(g.minX>m.maxX+1e-5)break;(g.minY<m.minY?m.minY:g.minY)<(g.maxY<m.maxY?g.maxY:m.maxY)+1e-5&&i(f.polygonIndex,f.polylineIndex,f.ptIndex,p.polygonIndex,p.polylineIndex,p.ptIndex)}u++}P_.IntersectionSeeker+=pZ(n)}},CT,T3=(CT=class{static getDebug(){return CT.drawDebug||(CT.drawDebug=new Vxe(CT.curBus)),CT.drawDebug}static getDrawing(t=rd.GREEN){return this.getDebug().initColor(t)}static clearDrawing(){CT.getDebug().clear()}static drawText(t,e,i=rd.GREEN){CT.getDrawing(i).addText(t,e,1.5,.1,!0)}static drawBBox(t,e=rd.GREEN){if(!t)return;let i=CT.getDrawing(e),o=new Xt(t.UL(),t.UR()),r=new Xt(t.UR(),t.LR()),n=new Xt(t.LR(),t.LL()),a=new Xt(t.LL(),t.UL());i.addPt(o),i.addPt(r),i.addPt(n),i.addPt(a)}static drawPolyType(t,e){let i=CT.getDrawing(e);if(t instanceof wl)i.addPly(t);else if(t instanceof Bg)for(let o of t.items)o instanceof wl?i.addPly(o):this.drawPolyType(o,e);else if(t instanceof nh)for(let o of t.items)this.drawPolyType(o,e)}static translate(t){switch(t){case 0:return"\u2229";case 2:return"-";case 1:return"U";case 3:return"X";default:break}}},CT.UseRunArrange=!0,CT.UseOptimizeSplit=!0,CT.LocalBestThread=4,CT.HandleDiff=!0,CT.OcTreeSplitStep=4,CT.PrintStart=new mi(150,-200),CT),Mxe=class H3t{static getPolyTypeLine(e){let i=[];if(e instanceof wl)for(let o of e.primitives)i.push(o);else if(e instanceof Bg)for(let o of e.items)if(o instanceof wl)for(let r of o.primitives)i.push(r);else{let r=this.getPolyTypeLine(o);for(let n of r)i.push(n)}else if(e instanceof nh)for(let o of e.items){let r=this.getPolyTypeLine(o);for(let n of r)i.push(n)}return i}static getPolyTypePolyLine(e){let i=[];if(e instanceof wl)i.push(e);else if(e instanceof Bg)for(let o of e.items)if(o instanceof wl)i.push(o);else{let r=this.getPolyTypePolyLine(o);for(let n of r)i.push(n)}else if(e instanceof nh)for(let o of e.items){let r=this.getPolyTypePolyLine(o);for(let n of r)i.push(n)}return i}static getListBBox(e){if(e.length<=0)return;let i=new LS;for(let o of e){let r=H3t.getSingleBBox(o);i.ext1(r)}return i.build1()}static getSingleBBox(e){if(e instanceof Array){let i=new LS,o=H3t.getListBBox(e.slice(1));return i.ext1(o),i.build1()}else return e.bbox()}static doDrawRule(e,i=T3.PrintStart){if(e.length<2)return[i,i,i];let o=5,r=10,n=e[0],a=T3.translate(n),s=[],l=i.y,c=i.x,d=i.x;i=i.add(new mi(0,-r));for(let m=1;m<e.length;m++){let h=e[m];if(h instanceof Array){i=i.add(new mi(o,0));let f=this.doDrawRule(h,i);s.push(f[0]),f[1].x<=c&&(c=f[1].x),f[2].x>=d&&(d=f[2].x),i=new mi(f[2].x+o,i.y)}else s.push(i.clone()),i.x<=c&&(c=i.x),i.x>=d&&(d=i.x),T3.drawText(i,h.name),i=i.add(new mi(o,0))}let u=0;for(let m of s)u+=m.x;let p=new mi(u/s.length,i.y+r);T3.drawText(p,"N:"+a);for(let m of s){let h=new Xt(m,p),f=new Array;f.push(h);let g=wl.build1(O3t(f));T3.drawPolyType(g,rd.GREEN)}return[p,new mi(c,l),new mi(d,l)]}static drawRule(e,i=T3.PrintStart,o=!1,r){T3.clearDrawing(),this.doDrawRule(e,i),o&&this.doDrawRulePolygon(e,r),T3.getDebug().draw()}static doDrawRulePolygon(e,i){let o=e[0];for(let r=1;r<e.length;r++){let n=e[r];if(n instanceof Array)this.doDrawRulePolygon(n,i);else{let a=i;o===2&&r===1&&(a=rd.RED),n.name&&T3.drawText(n.bbox().UL(),n.name,a),T3.drawPolyType(n,a)}}}static IsCenterBBoxPointInPolygonType(e,i){let o=e.center();for(let r of i.items)if(r.getOutMostPolyline().getWindingNum(o))return!0;return!1}static KeepBBoxPolygonGroup(e,i){let o=i.bbox().intersection1(e);if(!o)return!1;for(let r of i.items)if(r.bbox().isIntersect(o)){for(let n of r.items)if(n.bbox().isIntersect(o)){for(let a of n.primitives)if(o.isIntersect(a.bbox()))return!0}}return!!this.IsCenterBBoxPointInPolygonType(e,i)}},lmr=class V0e{static createNode(e,i,o){let r=e.UL(),n=e.width()/i,a=e.height()/i,s=~~(o/i),l=o-s*i,c=r.x+l*n,d=r.y-(s+1)*a,u=c+n,p=d+a;return new rC(c,u,d,p)}static ocTreeSplitNode(e,i,o,r,n=2){if(e.length<=o)return e;let a=[],s=n**2,l=new Array(s),c=new Array(s);for(let m=0;m<s;m++)l[m]=new Array(e.length),c[m]=0;let d=i.UL(),u=i.width()/n,p=i.height()/n;for(let m of e){let h=r(m).center(),f=~~((h.x-d.x)/u),g=~~((d.y-h.y)/p)*n+f;try{l[g][c[g]]=m,c[g]+=1}catch{a.push(m)}}for(let m=0;m<l.length;m++){let h=c[m];if(h<=0)continue;let f=l[m].slice(0,h);if(f.length===e.length)return e;let g=V0e.createNode(i,n,m),b=V0e.ocTreeSplitNode(f,g,o,r,n);if(b.length===e.length)return e;a.push(b)}return a}static ocTreeSplitNodeMinIntersect(e,i,o,r){let n=[];if(e.length<=o)return e;let a=3,s=i.LL(),l=i.UR(),c=i.width()/(a+1),d=i.height()/(a+1),u=-(2**32),p=[],m=[];for(let h=1;h<=a;h++)for(let f=1;f<=a;f++){let g=s.x+c*h,b=s.y+d*f,y=[[],[],[],[]],w=new Array(4),x=new Array(4);x[0]=new rC(s.x,g,b,l.y),x[1]=new rC(g,l.x,b,l.y),x[2]=new rC(s.x,g,s.y,b),x[3]=new rC(g,l.x,s.y,b);for(let I of e){let A=r(I).center(),D=-1,E=-1;A.x===g?D=Math.random()>=.5?1:-1:A.x>g?D=1:A.x<g&&(D=-1),A.y===b?E=Math.random()>=.5?1:-1:A.y>b?E=1:A.y<b&&(E=-1),D===1&&E===1?y[1].push(I):D===1&&E===-1?y[3].push(I):D===-1&&E===-1?y[2].push(I):D===-1&&E===1&&y[0].push(I)}for(let I=0;I<4;I++){let A=y[I];if(A.length<=0)continue;let D=new LS;for(let E of A)D.ext1(r(E));w[I]=D.build1()}let S=0,T=0;for(let I of w)I&&(S+=I.area());T=S;let M=(I,A)=>{if(!w[I]||!w[A])return 0;let D=w[I].intersection1(w[A]);return D?D.area():0};T-=M(0,1),T-=M(0,2),T-=M(0,3),T-=M(1,2),T-=M(1,3),T-=M(2,3),T/S>=u&&(p=y,m=x)}for(let h=0;h<p.length;h++){let f=p[h];if(f.length<=0)continue;let g=m[h],b;if(f.length===e.length?b=V0e.ocTreeSplitNode(f,g,o,r):b=V0e.ocTreeSplitNodeMinIntersect(f,g,o,r),b.length===e.length)return e;n.push(b)}return n}static ocTreeSplit(e,i,o,r){return V0e.ocTreeSplitNode(e,i,o,r,T3.OcTreeSplitStep)}},cmr=class X1i{static simplifyRules(e,i){return T3.UseOptimizeSplit&&(e=this.optimizeSplit(e,i)),e}static OcTreeOptimizeSplit(e){let i=e[0];if(i!==1||e.length<=T3.LocalBestThread+1)return e;let o=e.slice(1),r=new Array(o.length);for(let c=1;c<e.length;c++)r[c-1]=c;let n=Mxe.getListBBox(o),a=lmr.ocTreeSplit(r,n,T3.LocalBestThread,c=>{let d=e[c];return Mxe.getSingleBBox(d)}),s=(c,d)=>{if(!(c.length<=0))for(let u of c)if(Array.isArray(u)){let p=[d[0]];s(u,p),d.push(p)}else{let p=e[u];d.push(p)}},l=[i];return s(a,l),l}static optimizeSplit(e,i){let o=e[0];if(o===2){if(T3.HandleDiff){let n=e[1],a;if(Array.isArray(n)){let s=this.optimizeSplit(n,i);if(s.length<=1)return[2];a=G3t(s,i)}else a=G3t([2,n],i);if(e.length>3){let s;s=[1];for(let l=2;l<e.length;l++){let c=e[l];if(Array.isArray(c)){let d=Mxe.getListBBox([...c.slice(1)]);Mxe.KeepBBoxPolygonGroup(d,a)&&s.push(c)}else Mxe.KeepBBoxPolygonGroup(c.bbox(),a)&&s.push(c)}return s.length<=1?[2,a]:(s=this.optimizeSplit(s,i),s.length>1?[2,a,...s.slice(1)]:[2,a])}else{let s=e[2];if(Array.isArray(s)&&s[0]===1&&s.length>2){let l=s.slice(1);return this.optimizeSplit([2,a,...l],i)}}}else if(e.slice(1).length>2){let n=e[1],a=e.slice(2),s=this.optimizeSplit([1,...a],i);return s.length>1?[2,n,...s.slice(1)]:n}}else if(o===1){if(e.length-1>T3.LocalBestThread){let n=!1;for(let a=1;a<e.length;a++){let s=e[a];if(!Array.isArray(s)){n=!0;break}}n&&(e=X1i.OcTreeOptimizeSplit(e))}}else if(o===0&&e.length<=2)return[0];let r=[o];for(let n=1;n<e.length;n++){let a=e[n];if(Array.isArray(a)){let s=this.optimizeSplit(a,i);if(s.length<=1)continue;r.push(s)}else r.push(a)}return r}},dmr=(t=>(t[t.INTERSECT=0]="INTERSECT",t[t.UNION=1]="UNION",t[t.DIFF=2]="DIFF",t[t.XOR=3]="XOR",t))(dmr||{});function Axe(t){let e=t[0],i=[e];switch(e){case 0:for(let r=1;r<t.length;r++){let n=t[r];if(Array.isArray(n)&&(n=Axe(n),!n))return null;i.push(n)}break;case 1:case 3:for(let r=1;r<t.length;r++){let n=t[r];Array.isArray(n)&&(n=Axe(n),!n)||i.push(n)}break;case 2:let o=t[1];if(Array.isArray(o)&&(o=Axe(o)),!o)return null;i.push(o);for(let r=2;r<t.length;r++){let n=t[r];Array.isArray(n)&&(n=Axe(n),!n)||i.push(n)}break;default:throw new Error("not support boolean rule!")}return i.length===1?null:i}function E3t(t,e,i){return Array.isArray(t)?$1i(t,e,i):t}function A3t(t,e,i,o,r=!0){if(r)for(;t.length>1;){let n,a=[];for(t.length%2===1?(a.push(t[0]),n=1):n=0;n<t.length;n+=2)a.push(e(t[n],t[n+1],i,o));t=a}else for(;t.length>1;){if(t.length===2)return e(t[0],t[1],i,o);t=[e(t[0],t[1],i,o),...t.slice(2)]}return t[0]}function $1i(t,e,i,o=!0){let r=new Array(t.length-1);for(let n=1;n<t.length;n++)r[n-1]=E3t(t[n],e,i);switch(t[0]){case 0:return A3t(r,Sxe.intersect,e,i);case 1:return A3t(r,Sxe.union,e,i);case 2:let n=A3t(r.slice(1),Sxe.union,e,i);return n?Sxe.diff(r[0],n,e,i):r[0];case 3:let a=E3t(t[1],e,i);for(let s=2;s<t.length;s++)a=Sxe.xor(a,E3t(t[s],e,i),e,i);return a;default:throw new Error("not support boolean rule! "+t[0])}}function ehi(t){let e=[t[0]];for(let i=1;i<t.length;i++){let o=t[i];if(Array.isArray(o)){let r=ehi(o);Array.isArray(r)?r.length>1&&e.push(r):e.push(r)}else{let r=lRe(o);r!==null&&e.push(nh.build(r))}}return e}function umr(t,e){T3.curBus=e,t=ehi(t);let i;return T3.UseRunArrange?i=cmr.simplifyRules(t,e):i=Axe(t),i.length<=1?new nh([]):G3t(i,e)}function G3t(t,e,i=!0){if(!t||t.length===1)return new nh([]);let o=t,r=new smr,n=[];function a(s){for(let l=1;l<s.length;l++){let c=s[l];Array.isArray(c)?a(c):n.push(c)}}return a(o),r.init(n),$1i(o,r,e,i)}var WOe=new Error("list is empty"),QOe=class{constructor(t,e){this.prev=null,this.next=null,this.parent=t,this.item=e}insertAfter(t){t.next=this.next,this.next=t,t.prev=this,t.next!==null&&(t.next.prev=t)}insertBefore(t){t.prev=this.prev,this.prev=t,t.next=this,t.prev!==null&&(t.prev.next=t)}remove(){this.prev!==null&&(this.prev.next=this.next),this.next!==null&&(this.next.prev=this.prev)}set(t){this.item=t}},pmr=class{constructor(t){this._next=t}hasNext(){return this._next!==null}next(){let t=this._next;if(t!==null)return this._next=t.next,t.item;throw new Error("iterator is null")}},mmr=class{constructor(t){this._next=t}hasNext(){return this._next!==null}next(){let t=this._next;if(t!==null)return this._next=t.next,t;throw new Error("iterator is null")}},hmr=class{constructor(){this.first=null,this.last=null,this.cnt=0}add(t){return this.addLast(t)}push(t){return this.addLast(t)}pop(){return this.removeLast()}shift(){return this.removeFirst()}removeFirst(){let t=this.first;if(t===null)throw WOe;return this.remove(t),t.item}removeLast(){let t=this.last;if(t===null)throw WOe;return this.remove(t),t.item}addLast(t){if(this.first===null||this.last===null){let e=new QOe(this,t);return this.first=e,this.last=e,this.cnt++,e}else return this.insertAfter(this.last,t)}addFirst(t){if(this.first===null||this.last===null){let e=new QOe(this,t);return this.first=e,this.last=e,this.cnt++,e}else return this.insertBefore(this.first,t)}getFirst(){if(this.first===null)throw WOe;return this.first.item}getLast(){if(this.last===null)throw WOe;return this.last.item}insertAfter(t,e){let i=new QOe(this,e);return t.insertAfter(i),t===this.last&&(this.last=i),this.cnt++,i}insertBefore(t,e){let i=new QOe(this,e);return t.insertBefore(i),t===this.first&&(this.first=i),this.cnt++,i}remove(t){t.remove(),t===this.first&&(this.first=t.next),t===this.last&&(this.last=t.prev),this.cnt--}size(){return this.cnt}clear(){this.first=null,this.last=null,this.cnt=0}iterator(){return new pmr(this.first)}listIterator(){return new mmr(this.first)}toArray(){let t=new Array,e=this.first;for(;e!=null;)t.push(e.item),e=e.next;return t}},XOe=class{constructor(t){this.inters=[],t&&(this.inters=t)}addInter(t){this.inters.push(t),t.group=this}findInter(t){let e=this.inters.find(i=>Sn(i.coord,t.coord));return e&&this.inters.find(i=>i.side===t.side)&&t.visitSelf(),e}getOutInter(t){let e=this.inters.filter(i=>!i.getVisited());if(e.length!==0)return e.length===1?e[0]:e.reduce((i,o)=>{if(!i||i.side.getShape()===t)return o;if(o.side.getShape()===t)return i;let r=i.coord,n=Xn(t,r),a=Xn(i.side.getShape(),r),s=Xn(o.side.getShape(),r);return n.dot(a)>n.dot(s)?i:o},void 0)}getEntryInter(){}},N3t=0;function thi(t,e){let i=t.primitives[0];if(t.primitives.length===1&&i instanceof Oi&&Math.abs(i.sweepAngle)===360)return[t];let o=Gxe();N3t++;let r,n=Smr(t);if(n.length===0)return[];let a=bmr(n);if(N3t===-1){r=new Vxe(e);let d=r.initColor(rd.BLUE);n.forEach(p=>d.addPt(p.getShape()));let u=r.initColor(rd.GREEN);a.forEach(p=>u.addPoint(p.coord)),r.draw();debugger;throw new Error}if(a.length===0)return[wl.build7(n.map(d=>d.getShape()))];ymr(a);let s=[],l=!1;try{xmr(a,r)}catch(d){d.customType==="IS_OVERLAP"?(l=!0,s=new vxe().getUnion([t]).map(u=>u.items).flat(2)):console.error(d)}if(l)return s;let c=Cmr(a);if(!c.length)return[wl.build7(n.map(d=>d.getShape()))];if(s=fmr(c,r),s.length===0)return console.warn("=====deSelfIntersection=====",N3t),[];if(r)throw s.forEach(d=>{r.initColor(rd.WHITE).addPly(d),r.draw();debugger}),new Error;return P_.deSelfIntersection+=pZ(o),s}function fmr(t,e){let i=[];return t.forEach(o=>{let r=o;o.inters.forEach(n=>{if(n.getVisited())return;let a=[],s=[],l;if(e){debugger;let d=e.initColor(rd.RED);l=u=>{a.push(u),d.addPt(a[a.length-1]),e.draw();debugger}}else l=d=>a.push(d);do{let d=function(f,g){Bi.eq(f.distance2(g),0)||l(ihi(m.getShape(),f,g))},u=s.findIndex(f=>f===n.group);if(u!==-1){let f=a.findIndex(y=>y===n.group),g=a.splice(f).filter(y=>!(y instanceof XOe));if(g.length){let y=hZ(wl.build7(g));y&&i.push(y)}let b=a.filter(y=>!(y instanceof XOe));if(n=s[u].getOutInter(b[b.length-1]),s.splice(u),!n)throw Error("interGroup not hav inter!!!2");continue}n.visitSelf(),s.push(n.group),a.push(n.group);let p=n.getIndex(),m=n.side,h=m.inters[p+1];for(;h!=null&&h.isInvalid||h&&h.group===n.group;)h=m.inters[h.getIndex()+1];if(h){d(n.coord,h.coord);let f=h.getBindedInter();if(n=f.getVisited()?f.group.getOutInter(f.side.getShape()):f,!n){if(h.group===r)break;throw new Error("interGroup not hav inter!!!3")}}else{for(d(n.coord,m.getEnd()),m=m.nextSide,n=null;;){for(let f of m.inters)if(!f.isInvalid){let g=f.group.getOutInter(m.getShape());if(!g){if(f.group===r){n=f;break}else if(f.getBindedInter().group===r){n=f.getBindedInter();break}continue}n=g;break}if(n)break;l(m.getShape()),m=m.nextSide}Bi.eq(m.getEnd().distance2(n.coord),0)?l(m.getShape()):d(m.getStart(),n.coord)}}while(n.group!==r);let c=hZ(wl.build7(a.filter(d=>!(d instanceof XOe))));c&&i.push(c)})}),i}function gmr(t){return{next(){return t.hasNext()?{value:t.next()}:{done:!0,value:void 0}},[Symbol.iterator](){return this}}}function bmr(t){let e=[],i=new hmr;for(let o of t.slice().sort((r,n)=>r.bbox().minY-n.bbox().minY)){for(let r of gmr(i.listIterator())){let n=r.item;if(n.bbox().maxY<o.bbox().minY)i.remove(r);else{let a=function(p,m){let h=new eV(m,p,null);return p.inters.push(h),e.push(h),h},s=function(p,m){let h=p.getEnd(),f=new mi(At[0],At[1]),g=new mi(At[2],At[3]),b=h.distance2(f)>h.distance2(g)?f:g,y=p.prevSide;a(Sn(y.getEnd(),b)?y:p,b).bind(a(m,b))},l=n.getShape(),c=o.getShape(),d=q8(l,c),u=d===4&&At[0]===At[2]&&At[1]===At[3];if(u&&(d-=2),n.nextSide===o)n.prevSide!==o&&d===4&&s(n,o);else if(n.prevSide===o)d===4&&s(o,n);else if(d!==0){let p=function(h,f){let g=h.prevSide;return a(Sn(g.getEnd(),f)?g:h,f)},m=new mi(At[0],At[1]);if(u&&!Sn(m,n.prevSide.getEnd())&&!Sn(m,o.prevSide.getEnd())&&Xn(l,m).dot(Xn(c,m))>0)continue;for(let h=0;h<d;h+=2){let f=new mi(At[h],At[h+1]);p(n,f).bind(p(o,f))}}}}i.add(o)}return e.forEach(o=>{o.getIndex()===void 0&&o.side.sortInters()}),e}function ymr(t){t.forEach(e=>{let i=e.side.getEnd();if(e.isInvalid||!Sn(e.coord,i))return;let o=e.side.inters,r=e.getBindedInter().side;for(let n=o.length-1;n>=0;n--){let a=o[n];if(!Sn(a.coord,i))break;a!==e&&a.getBindedInter().side===r&&a.setIsInvalid()}})}function wmr(t){let e=new jxe(10);return t.forEach(i=>{i.isInvalid||e.add(i)}),e}function Cmr(t){let e=[],i=wmr(t);return t.forEach(o=>{if(o.isInvalid||o.group)return;let r=i.search(o.bbox().extendOfSize(Bi.eps)).filter(n=>!n.group);if(r.length){let n=new Set,a=new XOe(r);r.forEach(s=>{s.group=a,n.has(s.side)&&s.visitSelf(),n.add(s.side)}),e.push(a)}}),e}function xmr(t,e){t.forEach(i=>{if(i.isInvalid||i.dealed)return;let o=i.side,r=i.getBindedInter().side,n;Sn(o.getEnd(),i.coord)&&Sn(r.getEnd(),i.coord)?n=-1:Sn(o.getEnd(),i.coord)?o.nextSide!==r&&(n=1,i=i.getBindedInter()):Sn(r.getEnd(),i.coord)&&r.nextSide!==o&&(n=1),Tmr(n,i,e),i.isDealed()})}function Tmr(t,e,i){let o=e.getBindedInter(),r=e.side,n=o.side,a=r.getShape(),s=n.getShape(),l=1,c=!1;if(t===-1){if(R0e(a.reverse(),s.reverse())||R0e(r.nextSide.getShape(),n.nextSide.getShape())){let u=XU(r,r.nextSide,n,o,l,c,i);if(u.state===2){let m=new Error("info1.state === InState.IS_OVERLAP");throw m.customType="IS_OVERLAP",m}let p=XU(r,r.nextSide,n.nextSide,o,l,c,i);u.state===p.state&&d(u,p)}else if(!(R0e(a.reverse(),n.nextSide.getShape())||R0e(r.nextSide.getShape(),s.reverse()))){let u=T3t(r,r.nextSide,n,!1,i);u===T3t(r,r.nextSide,n.nextSide,!0,i)&&u!==T3t(n,n.nextSide,r.nextSide,!0,i)&&e.setIsInvalid()}}else if(t===1){let u=function(p,m){return Xn(p,m.start()).dot(Xn(m,m.start()))>0};if(R0e(a.reverse(),s.reverse())||R0e(a,n.nextSide.getShape())){let p=pv(r,n,o,i,l,c,new Map);if(p.state===2){let h=new Error("info1.state === InState.IS_OVERLAP");throw h.customType="IS_OVERLAP",h}let m=pv(r,n.nextSide,o,i,l,c,new Map);p.state===m.state&&d(p,m)}else if(u(a.reverse(),s.reverse())&&u(a,n.nextSide.getShape())){let p=kb(r,n,!1,i);p===kb(r,n.nextSide,!0,i)&&p!==joe(n,n.nextSide,new Hxe(ihi(a,e.coord,a.end()),i),!0,i)&&e.setIsInvalid()}}function d(u,p){u.inter.setIsInvalid(),p.inter.setIsInvalid(),e.setIsInvalid()}}function ihi(t,e,i){if(t instanceof Xt||e.distance2(i)<1e-6)return new Xt(e,i);if(t instanceof Oi)return Oi.build2(t.center,e.angleD(t.center),i.angleD(t.center),t.rx,t.ry,t.sweep());if(t instanceof gr){let o=t.getPercent(e,$n),r=t.getPercent(i,$n);return t.clip(o)[1].clip((r-o)/(1-o))[0]}else throw new Error("not supported operation")}function Smr(t){let e=hZ(t);if(!e)return[];let i=e.primitives.map(r=>new Hxe(r,null)),o=i[i.length-1];return i.forEach(r=>{o.connect(r),o=r}),i}var B0e,Mmr=(B0e=class{static clearData(t){this.originalPrimitive=[],this.offsetPrimitive=[],this.rawOffsetPrimitive=[],this.offsetDistance=0,this.testI++,this.testI===0?this.drawDebug=new Vxe(t):delete this.drawDebug}static createRawOffsetEdge(){if(this.drawDebug){let t=this.drawDebug.initColor(rd.WHITE);this.originalPrimitive.forEach(e=>t.addPt(e)),this.drawDebug.draw();debugger}for(let t=0;t<this.originalPrimitive.length;t+=1){let e=this.originalPrimitive[t];this.offsetPrimitive.push({index:t,offsetEdge:this.createOffsetEdge(e)})}if(this.drawDebug){let t=this.drawDebug.initColor(rd.Golden);this.offsetPrimitive.forEach(e=>t.addPt(e.offsetEdge)),this.drawDebug.draw();debugger}if(this.offsetPrimitive.length>1)for(let t=0;t<this.offsetPrimitive.length;t+=1)if(t===this.offsetPrimitive.length-1){this.connectPrimitive(this.offsetPrimitive[t],this.offsetPrimitive[0]);let e=this.rawOffsetPrimitive[0],i;e instanceof Oi?i=Oi.build4(this.offsetPrimitive[0].offsetEdge.start(),e.end(),e.center,e.rx,e.ry,e.sweep()):i=new Xt(this.offsetPrimitive[0].offsetEdge.start(),e.end()),this.rawOffsetPrimitive.shift(),this.rawOffsetPrimitive.unshift(i)}else this.connectPrimitive(this.offsetPrimitive[t],this.offsetPrimitive[t+1]);else this.rawOffsetPrimitive=[]}static createCirclePrimitive(t,e){let i=t.width()*.5,o=t.height()*.5,r=Math.sqrt(i**2+o**2)+e;return[Oi.buildCircle(t.center(),r)]}static getExtendPolyLine(t,e,i=!0,o){var r,n;if(!((r=t==null?void 0:t.primitives)!=null&&r.length))return[];let a=hZ(t);if(!((n=a==null?void 0:a.primitives)!=null&&n.length)){if(this.isExpansion){let l=[1],c=e*2;t.primitives.forEach(u=>l.push(u.stroke(c,1,0)));let d=umr(l,o);if(d.items.length!==1)throw new Error("group.items.length !== 1 ");return[d.items[0].items[0]]}return[]}if(t=a,this.clearData(o),this.originalPrimitive=t.primitives,this.isExpansion=e>0,this.offsetDistance=e,this.createRawOffsetEdge(),this.drawDebug){let l=this.drawDebug.initColor(rd.BLUE);this.rawOffsetPrimitive.forEach(c=>l.addPt(c)),this.drawDebug.draw();debugger}let s=i?this.createClippingEdge(o):[wl.build2(this.rawOffsetPrimitive)];if(this.drawDebug){let l=this.drawDebug.initColor(rd.RED);s.forEach(c=>l.addPly(c)),this.drawDebug.draw();debugger}if(s.length&&(!this.isExpansion||this.isExpansion&&s.length>1)&&(s=this.getValidityPrimitive(s)),this.drawDebug){let l=this.drawDebug.initColor(rd.GREEN);s.forEach(c=>l.addPly(c)),this.drawDebug.draw();debugger;throw new Error}return s}static getValidityPrimitive(t){let e=[],i=Math.abs(this.offsetDistance);for(let o=0;o<t.length;o+=1){let r=!0,n=t[o].primitives;e:for(let a=0;a<n.length;a+=1){let s=n[a],l;if(s instanceof Oi)l=s.midPoint;else if(s instanceof Xt)l=s.start();else throw new Error("not support!");for(let c=0;c<this.originalPrimitive.length;c+=1){let d=this.originalPrimitive[c],u;if(d instanceof Oi?u=this.pointArcClosest(l,d):u=npr(l,d.start(),d.end()).d,i-u>.01){r=!1;break e}}}r&&e.push(t[o])}return e}static getInters(t){let e=[];for(let i=0;i<t;i+=2)e.push(new mi(At[i],At[i+1]));return e}static pointArcClosest(t,e){let i=e.center;if(t.equals1(e.center))return e.rx;if(e.inArea(t,0)){let n=t.sub(i);return Math.abs(n.length()-e.rx)}let o=t.distance2(e.start()),r=t.distance2(e.end());return Bi.less(o,r)?Math.sqrt(o):Math.sqrt(r)}static createClippingEdge(t){let e=[],i=[],o=thi(wl.build2(this.rawOffsetPrimitive),t);o.forEach(n=>{let a=n.area(.01);e.push(a)});let r=Math.min(...e.filter(n=>n<0));for(let n=0;n<e.length;n+=1){let a=e[n];Bi.eq(a,0)||(!this.isExpansion&&a<0||this.isExpansion&&(a<0&&e[n]===r||a>0))&&i.push(o[n])}return i}static createOffsetEdge(t){if(t instanceof Oi)return t.panDistance1(this.offsetDistance);if(t instanceof Xt)return t.panDistance(this.offsetDistance);throw new Error("not support!")}static connectPrimitive(t,e){t.offsetEdge instanceof Xt&&e.offsetEdge instanceof Xt?this.lineToLineConnect(t,e):t.offsetEdge instanceof Oi&&e.offsetEdge instanceof Oi?this.arcToArcConnect(t,e):t.offsetEdge instanceof Xt&&e.offsetEdge instanceof Oi?this.lineToArcConnect(t,e):this.arcToLineConnect(t,e)}static isFalseIntersection(t){return t>1||t<0}static lineToLineConnect(t,e){let i=t.offsetEdge,o=e.offsetEdge,r=e.index,n=this.originalPrimitive[r].start();if(i.isParallel(o))i.bbox().intersection1(o.bbox())?this.rawOffsetPrimitive.push(i):this.lineToLineUseArcToConnect(n,i,o);else{let a=this.getLineToLineT(i,o),s=a[0],l=a[1];if(this.isFalseIntersection(s)||this.isFalseIntersection(l))s>1&&this.isFalseIntersection(l)?this.lineToLineUseArcToConnect(n,i,o):this.useLineToConnect(i,o);else if(!this.isFalseIntersection(s)&&!this.isFalseIntersection(l)){let c=i.end().sub(i.start()),d=i.start().add(c.mul(s)),u=new Xt(i.start(),d);this.rawOffsetPrimitive.push(u);let p=new Xt(d,o.end());this.updateNextOffsetPrimitive(r,p)}}}static updateNextOffsetPrimitive(t,e){this.offsetPrimitive[t].offsetEdge=e}static useLineToConnect(t,e){this.rawOffsetPrimitive.push(t);let i=new Xt(t.end(),e.start());this.rawOffsetPrimitive.push(i)}static lineToLineUseArcToConnect(t,e,i){let o=this.getSweep(t,e),r=this.getSweepAngel(e.end(),i.start(),t,o);if(r===0){this.useLineToConnect(e,i);return}this.rawOffsetPrimitive.push(e);let n=Oi.build5(e.end(),i.start(),r);this.rawOffsetPrimitive.push(n)}static getSweep(t,e,i){let o=null,r=i||i===0?this.originalPrimitive[i]:e;if(r instanceof Oi){let n=r.center.sub(r.end()).normalize();r.isCCW?o=new mi(n.y,-n.x):o=new mi(-n.y,n.x)}else o=e.end().sub(e.start()).normalize();return t.sub(e.end()).normalize().cross(o)>0?0:1}static getLineToLineT(t,e){let i=t.end().sub(t.start()),o=e.end().sub(e.start()),r=i.cross(o),n=e.start().sub(t.start()),a=t.start().sub(e.start()),s=n.cross(o)/r,l=a.cross(i)/-r;return[s,l]}static lineToArcConnect(t,e){let i=t.offsetEdge,o=e.offsetEdge,r=t.index,n=e.index,a=this.getLineJoinArcScalarAndIntersectionNum(i,o),s=this.originalPrimitive[n].start();if(a.intersectionNum===0)this.lineAndArcUseArcConnect(s,i,o,r);else if(a.intersectionNum===1){let l=a.points[0];this.lineAndArcConnectionDetail(i,o,a.t[0],l,s,r,n)}else if(a.intersectionNum===2){let l=a.points[0],c=a.points[1],d=l.distance2(s),u=c.distance2(s);this.lineAndArcConnectionDetail(i,o,d<u?a.t[0]:a.t[1],d<u?l:c,s,r,n)}}static lineAndArcConnectionDetail(t,e,i,o,r,n,a){let s=this.isTrueArcIntersection(e,o);if(!this.isFalseIntersection(i)&&s){let l=new Xt(t.start(),o);this.rawOffsetPrimitive.push(l);let c;!e.center.equals1(o)||e.sweepAngle>1e-4?(c=Oi.build4(o,e.end(),e.center,e.rx,e.ry,e.sweep()),c instanceof Oi&&c.sweepAngle===0&&(c=new Xt(c.start(),c.end()))):c=new Xt(e.center,o),this.updateNextOffsetPrimitive(a,c)}else s?this.useLineToConnect(t,e):this.lineAndArcUseArcConnect(r,t,e,n)}static lineAndArcUseArcConnect(t,e,i,o){let r=this.getSweep(t,e,o),n=this.getSweepAngel(e.end(),i.start(),t,r);if(n===0){this.useLineToConnect(e,i);return}let a=Oi.build5(e.end(),i.start(),n);this.rawOffsetPrimitive.push(e),this.rawOffsetPrimitive.push(a)}static arcToLineConnectionDetail(t,e,i,o,r,n,a){let s=this.isTrueArcIntersection(t,o);if(!this.isFalseIntersection(i)&&s){let l;t.center.equals1(o)?l=new Xt(t.center,o):Math.abs(t.sweepAngle)<1e-4?l=new Xt(t.start(),o):(l=Oi.build4(t.start(),o,t.center,t.rx,t.ry,t.sweep()),l instanceof Oi&&l.sweepAngle===0&&(l=new Xt(l.start(),l.end()))),this.rawOffsetPrimitive.push(l);let c=new Xt(o,e.end());this.updateNextOffsetPrimitive(a,c)}else s?this.useLineToConnect(t,e):this.lineAndArcUseArcConnect(r,t,e,n)}static isTrueArcIntersection(t,e){return Jh(t,e)}static getSweepAngel(t,e,i,o){let r=t.angleD(i),n=e.angleD(i),a;return r===n?a=0:(r=Ka.regularD(r),n=Ka.regularD(n),o===1?n<=r&&(n+=360):n>=r&&(r+=360),a=n-r),a}static getLineJoinArcScalarAndIntersectionNum(t,e){let i={t:[],intersectionNum:0,points:[]},o=ipr(e,t);if(o){i.intersectionNum=o/2;for(let r=0;r<o-1;r+=2){let n=new mi(At[r],At[r+1]);i.points.push(n),n.sub(t.start()).x<1e-4||n.sub(t.start()).y<1e-4?i.t.push(0):i.t.push(n.sub(t.start()).x/t.end().sub(t.start()).x)}}else i.intersectionNum=0;return i}static arcToLineConnect(t,e){let i=t.offsetEdge,o=e.offsetEdge,r=t.index,n=e.index,a=this.getLineJoinArcScalarAndIntersectionNum(o,i),s=this.originalPrimitive[n].start();if(a.intersectionNum===0)this.lineAndArcUseArcConnect(s,i,o,r);else if(a.intersectionNum===1){let l=a.points[0];this.arcToLineConnectionDetail(i,o,a.t[0],l,s,r,n)}else if(a.intersectionNum===2){let l=a.points[0],c=a.points[1],d=l.distance2(s),u=c.distance2(s);this.arcToLineConnectionDetail(i,o,d<u?a.t[0]:a.t[1],d<u?l:c,s,r,n)}}static rxChangeStatus(t){return t===1?!this.isExpansion:this.isExpansion}static arcToArcConnect(t,e){let i=t.offsetEdge,o=e.offsetEdge,r=R1i(i,o);if(r){let n=this.getInters(r),a;if(n.length===2){let c=this.originalPrimitive[e.index].start(),d=n[0],u=n[1],p=d.distance2(c),m=u.distance2(c);p<m?a=d:a=u}else a=n[0];let s,l;a.equals1(i.center)?s=new Xt(i.center,a):Math.abs(i.sweepAngle)<1e-4?s=new Xt(i.start(),a):(s=Oi.build4(i.start(),a,i.center,i.rx,i.ry,i.sweep()),s instanceof Oi&&s.sweepAngle===0&&(s=new Xt(s.start(),s.end()))),this.rawOffsetPrimitive.push(s),a.equals1(o.center)?l=new Xt(a,o.center):Math.abs(o.sweepAngle)<1e-4?l=new Xt(a,o.end()):(l=Oi.build4(a,o.end(),o.center,o.rx,o.ry,o.sweep()),l instanceof Oi&&l.sweepAngle===0&&(l=new Xt(l.start(),l.end()))),this.updateNextOffsetPrimitive(e.index,l)}else{let n=this.originalPrimitive[t.index],a=this.originalPrimitive[e.index],s=this.rxChangeStatus(n.sweep()),l=this.rxChangeStatus(a.sweep()),c=this.originalPrimitive[e.index].start(),d=this.getSweep(c,i,t.index),u=Math.abs(this.offsetDistance),p=Oi.build2(c,s?n.endAngle():n.endAngle()+180,l?a.startAngle:a.startAngle+180,u,u,d);this.rawOffsetPrimitive.push(i),this.rawOffsetPrimitive.push(p)}}},B0e.originalPrimitive=[],B0e.offsetPrimitive=[],B0e.rawOffsetPrimitive=[],B0e.testI=0,B0e),Imr=class Nxe extends Fxe{constructor(e,i,o,r,n,a){if(super(),i<0||o<0)throw new Error("The width and height of rect can't be less than 0!");this.leftUpPoint=e,this.width=i,this.height=o,this.angle=r,this.isCCW=n,this.radius=Math.min(Math.max(a,0),i/2,o/2)}get radiusRatio(){return this.radius/Math.min(this.width,this.height)}start(){return this.leftUpPoint.add(new mi(this.radius,0).multiply3(zd.rotateD(this.angle)))}end(){return this.start()}getLeftPoint(){return this.leftUpPoint.add(new mi(0,-this.height/2).multiply3(zd.rotateD(this.angle)))}getRightPoint(){return this.leftUpPoint.add(new mi(this.width,-this.height/2).multiply3(zd.rotateD(this.angle)))}extend(e){return new Nxe(this.leftUpPoint.add(new mi(-e,e).rotateD(mi.ORIGIN,this.angle)),this.width+e*2,this.height+e*2,this.angle,this.isCCW,this.radius+e)}bbox(){let e=zd.rotateD(this.angle),{leftUpPoint:i,width:o,height:r,radius:n}=this,a=i.add(new mi(n,-n).multiply3(e)),s=i.add(new mi(n,n-r).multiply3(e)),l=i.add(new mi(o-n,-n).multiply3(e)),c=i.add(new mi(o-n,n-r).multiply3(e));return new rC(Math.min(a.x,s.x,l.x,c.x)-n,Math.max(a.x,s.x,l.x,c.x)+n,Math.min(a.y,s.y,l.y,c.y)-n,Math.max(a.y,s.y,l.y,c.y)+n)}toPolyline(){let e=[],{leftUpPoint:i,width:o,height:r,radius:n}=this;if(n===0){let s=mi.ORIGIN,l=new mi(o,0),c=new mi(o,-r),d=new mi(0,-r);e.push(new Xt(s,l),new Xt(l,c),new Xt(c,d),new Xt(d,s))}else{let s=new mi(0,-n),l=new mi(n,0),c=new mi(o-n,0),d=new mi(o,-n),u=new mi(o,n-r),p=new mi(o-n,-r),m=new mi(n,-r),h=new mi(0,n-r);e.push(Oi.build1(s,l,n,n,!1,0),new Xt(l,c),Oi.build1(c,d,n,n,!1,0),new Xt(d,u),Oi.build1(u,p,n,n,!1,0),new Xt(p,m),Oi.build1(m,h,n,n,!1,0),new Xt(h,s))}e=e.filter(s=>!s.start().equals1(s.end())),this.isCCW&&(e.forEach((s,l)=>e[l]=s.reverse()),e.reverse());let a=zd.rotateD(this.angle).translate1(i);return wl.build2(e.map(s=>s.multiply3(a)))}center(){return this.leftUpPoint.add1(this.width/2,this.height/2).rotateD(this.leftUpPoint,this.angle)}multiply3(e){let i=this.leftUpPoint.multiply3(e),o=new mi(this.width,0).multiply3(zd.rotateD(this.angle)).multiply3(e),r=new mi(0,-this.height).multiply3(zd.rotateD(this.angle)).multiply3(e);return e.isMirrored()?new Nxe(i,r.length(),o.length(),r.angleD(mi.ORIGIN),this.isCCW===1?0:1,this.radius*o.length()/this.width):new Nxe(i,o.length(),r.length(),o.angleD(mi.ORIGIN),this.isCCW,this.radius*o.length()/this.width)}reverse(){return new Nxe(this.leftUpPoint,this.width,this.height,this.angle,this.isCCW===1?0:1,this.radius)}stroke(e,i,o){let r=this.stroke1(e,i,o);if(r.length===1)return r[0];{let[n,a]=r;return wl.build2(n.primitives.concat(new Xt(n.primitives[0].start(),a.primitives[0].start()),a.primitives,new Xt(a.primitives[0].start(),n.primitives[0].start())))}}stroke1(e,i,o){let r=o===this.isCCW?this:this.reverse(),n=e/2,a=Math.min(r.width,r.height)/2,s=r.extend(n).toPolyline();return a<=n?[s]:[s,r.extend(-n).toPolyline().reverse()]}points(e){let i=this.toPolyline(),o=[];return i.points(e,r=>o.push(r)),o}toBezier(){throw new Error("Method not implemented.")}},Lmr=.01,Bg=class Z9{static simplify(e){return e=hZ(e),e?new Z9([e]):null}static buildByStroke(e,i,o=1,r=$3t,n){if(e instanceof Oi&&(e.rx<i/2+Lmr||Math.abs(e.sweepAngle)>180&&Bi.lesseq(e.start().distance1(e.end()),i))){let s=thi(e.stroke(i,o,0),n);if(s.length===0)return null;if(s.length===1)return new Z9(s);let l=[null],c=Number.POSITIVE_INFINITY;return s.forEach(d=>{let u=d.area(.1);u<0?u<c&&(l[0]=d,c=u):l.push(d)}),new Z9(l)}else if(e instanceof Imr){let s=e.stroke1(i,o,0).map(l=>hZ(l));return s[0]?s[1]?new Z9(s):new Z9([s[0]]):null}let a=e.stroke(i,o,0,r);return a?this.simplify(a):null}static buildCircle(e,i){return this.simplify(wl.build7([Oi.buildCircle(e,i,0)]))}static buildRect(e){return this.simplify(e.toPolyline())}static buildBBox(e){return this.simplify(wl.buildBBox(e,0))}constructor(e){this.items=e.slice()}multiply3(e){return new Z9(this.items.map(i=>i.multiply3(e)))}bbox(){return this.items[0].bbox()}isEqual(e){return e instanceof Z9?this.items.every(i=>e.items.some(o=>o.isEqual(i))):!1}getOutMostPolyline(){return this.items[0]}extend(e,i){if(this.items.length!==1)throw new Error("this.items.length !== 1");if(e===0)return new nh([this]);let o=this.items[0],r=[];for(let d of o.primitives)if(d instanceof Xt)r.push(d);else if(d instanceof Oi&&d.rx===d.ry)a(d);else if(d instanceof gr)n(d);else throw new Error("not support!");o=wl.build7(r);function n(d){let u=d.points(.1);for(let p=0;p<u.length-1;p++){let m=u[p],h=u[p+1];r.push(new Xt(m,h))}}function a(d){if(Math.abs(d.sweepAngle)>270){let u=d.sweepAngle/2;a(Oi.build3(d.center,d.startAngle,u,d.rx,d.ry)),a(Oi.build3(d.center,d.startAngle+u,u,d.rx,d.ry))}else r.push(d)}let s=[],l=[];Mmr.getExtendPolyLine(o,e,!0,i).forEach(d=>{(d.area(.1)>0?l:s).push(d)});let c;if(s.length===1)l.forEach(d=>s.push(d)),c=new nh([new Z9(s)]);else if(s.length===0)console.warn("outlines.length === 0"),c=new nh([]);else if(l.length===0)c=new nh(s.map(d=>new Z9([d])));else{let d=s.map(u=>[u]);l.forEach(u=>{let p=[],m=u.bbox();if(d.forEach(h=>{h[0].bbox().isContainsBBox1(m)&&p.push(h)}),p.length===1)p[0].push(u);else{if(p.length===0)throw new Error("inPlsArr.length === 0");for(let h of p.sort((f,g)=>f[0].bbox().area()-g[0].bbox().area()))if(h[0].getWindingNum(u.start())===-1){h.push(u);break}}}),c=new nh(d.map(u=>new Z9(u)))}return c}toPolylineGroup(){return new ewt(this.items)}},vmr=(t=>(t[t.POLYGON=1]="POLYGON",t[t.POLYLINE=2]="POLYLINE",t[t.LINE=3]="LINE",t[t.ARC=4]="ARC",t[t.BEZIER2=5]="BEZIER2",t[t.BEZIER3=6]="BEZIER3",t[t.BOOLEAN_OUTPUT=7]="BOOLEAN_OUTPUT",t[t.BOOLEAN_INTERSECTION=8]="BOOLEAN_INTERSECTION",t[t.BOOLEAN_UNION=9]="BOOLEAN_UNION",t[t.BOOLEAN_DIFF=10]="BOOLEAN_DIFF",t[t.BOOLEAN_RESULT=11]="BOOLEAN_RESULT",t[t.LINES=12]="LINES",t[t.ARCS=13]="ARCS",t[t.BEZIER2S=14]="BEZIER2S",t[t.BEZIER3S=15]="BEZIER3S",t[t.CIRCLE_CW=16]="CIRCLE_CW",t[t.CIRCLE_CCW=17]="CIRCLE_CCW",t[t.POLYGON_GROUP=18]="POLYGON_GROUP",t))(vmr||{}),Dmr=class{constructor(t){this.idx=-1,this.lst=t}hasNext(){return this.idx<this.lst.length-1}next(){if(this.idx<this.lst.length-1)return this.idx++,this.lst[this.idx];throw new Error("bug")}};function Emr(t){return new Dmr(t)}function Amr(t){return t===32||t===9||t===13||t===10}var Nmr=class{constructor(){this._line=1,this._col=0}line(){return this._line}col(){return this._col}_feed(t){return t===10?(this._col=0,this._line++):this._col++,this.feed(t)}parse(t){let e=t.length;for(let i=0;i<e;i++){let o=t.charCodeAt(i);if(!this._feed(o))return this}return this.finish(),this}},k3t=class{static repeat(t,e){let i=new Array(e);for(;e-- >0;)i[e]=t;return i.join("")}static lpad(t,e,i){let o=i-t.length;return o>0?this.repeat(e,o)+t:t}},kmr=/(\.?0+)$/,Y3t=class{static format(t,...e){return this.format1(t,e)}static format1(t,e){let i=this._format(t,e);if(typeof i=="string")return i;throw new Error(this.format("Invalid state on (%d) %s",i,t))}static _format(t,e){let i=[],o=0,r=0,n,a=0,s=0;for(let l=0;l<t.length;l++){let c=t.charAt(l),d=c.charCodeAt(0);switch(o){case 0:d===37?o=1:i.push(c);break;case 1:switch(d){case 100:if(n=e[r++],typeof n=="number")i.push(n.toFixed(0)),o=0;else return l;break;case 102:if(n=e[r++],typeof n=="number")i.push(n.toString()),o=0;else return l;break;case 120:if(n=e[r++],typeof n=="number")i.push((n|0).toString(16)),o=0;else return l;break;case 88:if(n=e[r++],typeof n=="number")i.push((n|0).toString(16).toUpperCase()),o=0;else return l;break;case 115:case 99:n=e[r++],i.push(n===null?"null":n.toString()),o=0;break;case 48:a=l+1,s=-1,o=2;break;case 37:i.push("%"),o=0;break;default:return l}break;case 2:switch(d){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:s=l;break;case 100:if(s>=a){let u=parseInt(t.substring(a,s+1));if(n=e[r++],typeof n=="number")i.push(k3t.lpad((n|0).toString(10),"0",u)),o=0;else return l}else return l;break;case 120:if(s>=a){let u=parseInt(t.substring(a,s+1));if(n=e[r++],typeof n=="number")i.push(k3t.lpad((n|0).toString(16),"0",u)),o=0;else return l}else return l;break;case 88:if(s>=a){let u=parseInt(t.substring(a,s+1));if(n=e[r++],typeof n=="number")i.push(k3t.lpad((n|0).toString(16).toUpperCase(),"0",u)),o=0;else return l}else return l;break;default:return l}break;default:return l}}return i.join("")}static startsWith(t,e){return t.length>=e.length?t.substring(0,e.length)===e:!1}static endsWith(t,e){return t.length>=e.length?t.substring(t.length-e.length)===e:!1}static fmtNumber(t){return t.toFixed(5).replace(kmr,"")}};function Pmr(t){switch(t){case 0:return"DEBUG";case 1:return"INFO";case 2:return"WARNING";case 3:return"ERROR";case 4:return"DUMMY"}}var Omr=(t,e)=>{t===3?console.error(...e):t===2?console.warn(...e):console.log(...e)},Rmr=(t,e)=>[Pmr(t)].concat(e),W3t=class Q3t{static mix(...e){return new Q3t(0,(i,o)=>{for(let r of e)r.write(i,o)},(i,o)=>o)}constructor(e,i=Omr,o=Rmr){this.level=e,this.writer=i,this.fmt=o}setLevel(e){this.level=e}prepend(e=null,i=null){let o=e===null?this.fmt:(n,a)=>(a=e(n,a),this.fmt(n,a)),r=i===null?this.writer:(n,a)=>{i(n,a),this.writer(n,a)};return new Q3t(this.level,r,o)}chain(e){return e.prepend(this.fmt.bind(this),this.writer.bind(this))}include(e){return this.level<=e}formatWrite(e,i,o){this.include(e)&&this.writer(e,this.fmt(e,[Y3t.format(i,...o)]))}write(e,i){this.include(e)&&this.writer(e,this.fmt(e,i))}write3(e,i,o){this.include(e)&&this.writer(e,this.fmt(e,[Y3t.format(i,...o)]))}debug3(e,...i){this.write3(0,e,i)}warning3(e,...i){this.write3(2,e,i)}debugFmt(e,...i){this.formatWrite(0,e,i)}debug(...e){this.write(0,e)}infoFmt(e,...i){this.formatWrite(1,e,i)}info(...e){this.write(1,e)}warningFmt(e,...i){this.formatWrite(2,e,i)}warning(...e){this.write(2,e)}errorFmt(e,...i){this.formatWrite(3,e,i)}error(...e){this.write(3,e)}};W3t.DUMMY=new W3t(4);var _mr=W3t,P3t=500,h1i=String.fromCharCode,jmr=class{constructor(){this.buffer=new Array}size(){return this.buffer.length}isEOF(){return!1}write(t){return this.buffer.push(t),1}writen1(t){return this.writen2(t,0,t.length)}writen2(t,e,i){let o=this.buffer;for(let r=0,n=e;r<i;r++,n++)o.push(t[n]);return i}writeAsync(t,e){e(this.write(t))}writenAsync1(t,e){e(this.writen1(t))}writenAsync2(t,e,i,o){o(this.writen2(t,e,i))}writeStr(t){let e=t.length,i=new Array(e);for(let o=0;o<e;o++)i[o]=t.charCodeAt(o);return this.writen1(i)}clear(){this.buffer.length=0}toString(){let t=this.buffer,e=t.length;if(e<=P3t)return h1i.apply(null,t);{let i=new Array;for(let o=0;o<t.length;o+=P3t){let r=Math.min(e-o,P3t),n=h1i.apply(null,t.slice(o,o+r));i.push(n)}return i.join("")}}},ohi=(t=>(t[t.UNKNOW=0]="UNKNOW",t[t.NUMBER_INTEGER=1]="NUMBER_INTEGER",t[t.NUMBER_DECIMAL=2]="NUMBER_DECIMAL",t[t.NUMBER_E=3]="NUMBER_E",t[t.NUMBER_E_SIGNED=4]="NUMBER_E_SIGNED",t))(ohi||{}),rhi=(t=>(t[t.UNKNOW=0]="UNKNOW",t[t.MOVE_X=1]="MOVE_X",t[t.MOVE_Y=2]="MOVE_Y",t[t.LINE_X=3]="LINE_X",t[t.LINE_Y=4]="LINE_Y",t[t.HORIZONTAL_X=5]="HORIZONTAL_X",t[t.VERTICAL_Y=6]="VERTICAL_Y",t[t.CUBIC_BEZIER_X1=7]="CUBIC_BEZIER_X1",t[t.CUBIC_BEZIER_Y1=8]="CUBIC_BEZIER_Y1",t[t.CUBIC_BEZIER_X2=9]="CUBIC_BEZIER_X2",t[t.CUBIC_BEZIER_Y2=10]="CUBIC_BEZIER_Y2",t[t.CUBIC_BEZIER_X=11]="CUBIC_BEZIER_X",t[t.CUBIC_BEZIER_Y=12]="CUBIC_BEZIER_Y",t[t.ARC_RX=13]="ARC_RX",t[t.ARC_RY=14]="ARC_RY",t[t.ARC_ROTATION=15]="ARC_ROTATION",t[t.ARC_LARGE=16]="ARC_LARGE",t[t.ARC_SWEEP=17]="ARC_SWEEP",t[t.ARC_X=18]="ARC_X",t[t.ARC_Y=19]="ARC_Y",t[t.SMOOTH_CUBIC_BEZIER_X2=20]="SMOOTH_CUBIC_BEZIER_X2",t[t.SMOOTH_CUBIC_BEZIER_Y2=21]="SMOOTH_CUBIC_BEZIER_Y2",t[t.SMOOTH_CUBIC_BEZIER_X=22]="SMOOTH_CUBIC_BEZIER_X",t[t.SMOOTH_CUBIC_BEZIER_Y=23]="SMOOTH_CUBIC_BEZIER_Y",t[t.QUADRATIC_BEZIER_X1=24]="QUADRATIC_BEZIER_X1",t[t.QUADRATIC_BEZIER_Y1=25]="QUADRATIC_BEZIER_Y1",t[t.QUADRATIC_BEZIER_X=26]="QUADRATIC_BEZIER_X",t[t.QUADRATIC_BEZIER_Y=27]="QUADRATIC_BEZIER_Y",t))(rhi||{});function Bmr(t){return 97<=t&&t<=122||65<=t&&t<=90}function Nb(t){let e=parseFloat(t);if(isFinite(e))return e;throw new Error("expect number")}var f1i=class extends Nmr{constructor(t,e=!0,i=_mr.DUMMY){super(),this.buffer=new jmr,this.group=new Array,this.subPartStart=mi.ORIGIN,this.curPoint=mi.ORIGIN,this.lexState=0,this.parseState=0,this.isAbsolute=!1,this.isLargeArc=!1,this.x1=Number.NaN,this.y1=Number.NaN,this.x2=Number.NaN,this.y2=Number.NaN,this.x=Number.NaN,this.y=Number.NaN,this.rx=Number.NaN,this.ry=Number.NaN,this.rotation=Number.NaN,this.sweep=uZ.CCW,this.prevBezierCtrl2=null,this.logger=i,this.cb=t,this.yAxis=e?-1:1}on(t){return this.cb(t)}feed(t){switch(this.logger.include(0)&&this.logger.debug3("L: %c(%s)|%s",t,String.fromCharCode(t),ohi[this.lexState]),this.lexState){case 0:return Amr(t)?!0:48<=t&&t<=57||t===45||t===43?(this.pushBuffer(t),this.lexState=1,!0):t===46?(this.pushBuffer(t),this.lexState=2,!0):Bmr(t)?this.feedS(String.fromCharCode(t)):(this.logger.warning3("unknow letter %c",t),!0);case 1:return 48<=t&&t<=57?(this.pushBuffer(t),!0):t===46?(this.pushBuffer(t),this.lexState=2,!0):t===101||t===69?(this.pushBuffer(t),this.lexState=3,!0):this.feedS(this.getCleanBuffer())?(this.lexState=0,this.feed(t)):!1;case 2:return 48<=t&&t<=57?(this.pushBuffer(t),!0):t===101||t===69?(this.pushBuffer(t),this.lexState=3,!0):this.feedS(this.getCleanBuffer())?(this.lexState=0,this.feed(t)):!1;case 3:return 48<=t&&t<=57?(this.pushBuffer(t),!0):t===45||t===43?(this.pushBuffer(t),this.lexState=4,!0):this.feedS(this.getCleanBuffer())?(this.lexState=0,this.feed(t)):!1;case 4:return 48<=t&&t<=57?(this.pushBuffer(t),!0):this.feedS(this.getCleanBuffer())?(this.lexState=0,this.feed(t)):!1;default:return!0}}finish(){this.feed(32),this.tryNotify()}feedS(t){switch(this.logger.include(0)&&this.logger.debug3("P: %s|%s|%s|%s",t,rhi[this.parseState],this.curPoint,this.subPartStart),this.parseState){case 0:switch(t){case"M":this.isAbsolute=!0,this.parseState=1;break;case"m":this.isAbsolute=!1,this.parseState=1;break;case"L":this.isAbsolute=!0,this.parseState=3;break;case"l":this.isAbsolute=!1,this.parseState=3;break;case"H":this.isAbsolute=!0,this.parseState=5;break;case"h":this.isAbsolute=!1,this.parseState=5;break;case"V":this.isAbsolute=!0,this.parseState=6;break;case"v":this.isAbsolute=!1,this.parseState=6;break;case"z":case"Z":{this.group.push(new Xt(this.curPoint,this.subPartStart));let o=this.tryNotify();return this.curPoint=this.subPartStart,o}case"C":this.isAbsolute=!0,this.parseState=7;break;case"c":this.isAbsolute=!1,this.parseState=7;break;case"S":this.isAbsolute=!0,this.parseState=20;break;case"s":this.isAbsolute=!1,this.parseState=20;break;case"A":this.isAbsolute=!0,this.parseState=13;break;case"a":this.isAbsolute=!1,this.parseState=13;break;case"Q":this.isAbsolute=!0,this.parseState=24;break;case"q":this.isAbsolute=!1,this.parseState=24;break;default:this.logger.warning3("unknow %s",t)}return!0;case 1:let e=this.tryNotify();return this.x=Nb(t),this.parseState=2,e;case 2:{this.y=this.yAxis*Nb(t);let o;return this.isAbsolute?o=new mi(this.x,this.y):o=this.curPoint.add1(this.x,this.y),this.curPoint=o,this.subPartStart=o,this.parseState=3,!0}case 3:return this.x=parseFloat(t),isFinite(this.x)?(this.parseState=4,!0):(this.parseState=0,this.feedS(t));case 4:{this.y=this.yAxis*Nb(t);let o;return this.isAbsolute?o=new mi(this.x,this.y):o=this.curPoint.add1(this.x,this.y),this.group.push(new Xt(this.curPoint,o)),this.curPoint=o,this.parseState=3,!0}case 5:if(this.x=parseFloat(t),isFinite(this.x)){let o;return this.isAbsolute?o=new mi(this.x,this.curPoint.y):o=this.curPoint.add1(this.x,0),this.group.push(new Xt(this.curPoint,o)),this.curPoint=o,!0}else return this.parseState=0,this.feedS(t);case 6:if(this.y=parseFloat(t),isFinite(this.y)){this.y=this.yAxis*this.y;let o;return this.isAbsolute?o=new mi(this.curPoint.x,this.y):o=this.curPoint.add1(0,this.y),this.group.push(new Xt(this.curPoint,o)),this.curPoint=o,!0}else return this.parseState=0,this.feedS(t);case 7:let i=parseFloat(t);return isFinite(i)?(this.x1=i,this.parseState=8,!0):(t!=="s"&&t!=="S"&&(this.prevBezierCtrl2=null),this.parseState=0,this.feedS(t));case 8:return this.y1=this.yAxis*Nb(t),this.parseState=9,!0;case 9:return this.x2=Nb(t),this.parseState=10,!0;case 10:return this.y2=this.yAxis*Nb(t),this.parseState=11,!0;case 11:return this.x=Nb(t),this.parseState=12,!0;case 12:{this.y=this.yAxis*Nb(t);let o,r,n;return this.isAbsolute?(o=new mi(this.x1,this.y1),r=new mi(this.x2,this.y2),n=new mi(this.x,this.y)):(o=this.curPoint.add1(this.x1,this.y1),r=this.curPoint.add1(this.x2,this.y2),n=this.curPoint.add1(this.x,this.y)),this.prevBezierCtrl2=r,this.group.push(new gr([this.curPoint,o,r,n])),this.curPoint=n,this.parseState=7,!0}case 13:return this.rx=parseFloat(t),isFinite(this.rx)?(this.parseState=14,!0):(this.parseState=0,this.feedS(t));case 14:return this.ry=Nb(t),this.parseState=15,!0;case 15:return this.rotation=Nb(t),this.parseState=16,!0;case 16:return this.isLargeArc=Nb(t)===1,this.parseState=17,!0;case 17:return this.sweep=Nb(t)===1?uZ.CW:uZ.CCW,this.parseState=18,!0;case 18:return this.x=Nb(t),this.parseState=19,!0;case 19:{this.y=this.yAxis*Nb(t);let o;return this.isAbsolute?o=new mi(this.x,this.y):o=this.curPoint.add1(this.x,this.y),this.rx&&this.ry&&this.group.push(Oi.build1(this.curPoint,o,this.rx,this.ry,this.isLargeArc,this.sweep)),this.curPoint=o,this.parseState=13,!0}case 20:return this.x2=parseFloat(t),isFinite(this.x2)?(this.parseState=21,!0):(t!=="s"&&t!=="S"&&(this.prevBezierCtrl2=null),this.parseState=0,this.feedS(t));case 21:return this.y2=this.yAxis*Nb(t),this.parseState=22,!0;case 22:return this.x=Nb(t),this.parseState=23,!0;case 23:{this.y=this.yAxis*Nb(t);let o,r;this.isAbsolute?(o=new mi(this.x2,this.y2),r=new mi(this.x,this.y)):(o=this.curPoint.add1(this.x2,this.y2),r=this.curPoint.add1(this.x,this.y));let n;return this.prevBezierCtrl2?n=this.curPoint.add(this.curPoint.sub(this.prevBezierCtrl2)):n=this.curPoint,this.prevBezierCtrl2=o,this.group.push(new gr([this.curPoint,n,o,r])),this.curPoint=r,this.parseState=20,!0}case 24:return this.x1=parseFloat(t),isFinite(this.x1)?(this.parseState=25,!0):(t!=="s"&&t!=="S"&&(this.prevBezierCtrl2=null),this.parseState=0,this.feedS(t));case 25:return this.y1=this.yAxis*Nb(t),this.parseState=26,!0;case 26:return this.x=Nb(t),this.parseState=27,!0;case 27:{this.y=this.yAxis*Nb(t);let o,r;return this.isAbsolute?(o=new mi(this.x1,this.y1),r=new mi(this.x,this.y)):(o=this.curPoint.add1(this.x1,this.y1),r=this.curPoint.add1(this.x,this.y)),this.prevBezierCtrl2=o,this.group.push(new gr([this.curPoint,o,r])),this.curPoint=r,this.parseState=24,!0}default:return this.logger.warning3("unsupported parse state %s",this.parseState),!0}}pushBuffer(t){this.buffer.write(t)}getCleanBuffer(){let t=this.buffer.toString();return this.buffer.clear(),t}tryNotify(){if(this.group.length===0)return!0;{let t=wl.build1(Emr(this.group));return this.group.length=0,this.on(t)}}onException(t){throw t}},gPn=Y3t.fmtNumber,g1i=class{constructor(t=!0){this.buffer=new Array,this.state=0,this.prev=null,this.yAxis=t?-1:1}encPl(t){for(let e of t.primitives)this.encPt(e);return this}encPt(t){if(t instanceof Xt)this.encLine1(t);else if(t instanceof Oi)this.encArc(t);else if(t instanceof gr)this.encBezier(t);else throw new Error("");return this}encBezier(t){if(t.controls.length===3){let e=t.controls[0],i=t.controls[1],o=t.controls[2];this.state===0?this.buffer.push("M",e.x,this.yAxis*e.y,"Q",i.x,this.yAxis*i.y,o.x,this.yAxis*o.y):e.equals1(this.prev)?this.state!==4?this.buffer.push("Q",i.x,this.yAxis*i.y,o.x,this.yAxis*o.y):this.buffer.push(i.x,this.yAxis*i.y,o.x,this.yAxis*o.y):this.buffer.push("L",e.x,this.yAxis*e.y,"Q",i.x,this.yAxis*i.y,o.x,this.yAxis*o.y),this.prev=o,this.state=4}else if(t.controls.length===4){let e=t.controls[0],i=t.controls[1],o=t.controls[2],r=t.controls[3];this.state===0?this.buffer.push("M",e.x,this.yAxis*e.y,"C",i.x,this.yAxis*i.y,o.x,this.yAxis*o.y,r.x,this.yAxis*r.y):e.equals1(this.prev)?this.state!==3?this.buffer.push("C",i.x,this.yAxis*i.y,o.x,this.yAxis*o.y,r.x,this.yAxis*r.y):this.buffer.push(i.x,this.yAxis*i.y,o.x,this.yAxis*o.y,r.x,this.yAxis*r.y):this.buffer.push("L",e.x,this.yAxis*e.y,"C",i.x,this.yAxis*i.y,o.x,this.yAxis*o.y,r.x,this.yAxis*r.y),this.prev=r,this.state=3}else throw new Error("only bezier has 3 or 4 control points supported");return this}encArc(t){let e=t.svgEnd;return this.state===0?this.buffer.push("M",t.start().x,this.yAxis*t.start().y,"A",t.rx,t.ry,0,t.isLarge()?1:0,t.sweep()===uZ.CCW?0:1,e.x,this.yAxis*e.y):t.start().equals1(this.prev)?this.state!==2?this.buffer.push("A",t.rx,t.ry,0,t.isLarge()?1:0,t.sweep()===uZ.CCW?0:1,e.x,this.yAxis*e.y):this.buffer.push(t.rx,t.ry,0,t.isLarge()?1:0,t.sweep()===uZ.CCW?0:1,e.x,this.yAxis*e.y):this.buffer.push("L",t.start().x,this.yAxis*t.start().y,"A",t.rx,t.ry,0,t.isLarge()?1:0,t.sweep()===uZ.CCW?0:1,e.x,this.yAxis*e.y),this.prev=e,this.state=2,this}encLine1(t){return this.encLine2(t.start(),t.end()),this}encLine2(t,e){return this.state===0?this.buffer.push("M",t.x,this.yAxis*t.y,"L",e.x,this.yAxis*e.y):(this.state!==1&&this.buffer.push("L"),t.equals1(this.prev)?this.buffer.push(e.x,this.yAxis*e.y):this.buffer.push(t.x,this.yAxis*t.y,e.x,this.yAxis*e.y)),this.prev=e,this.state=1,this}close(t){return this.state!==0&&(t&&this.buffer.push("Z"),this.state=0,this.prev=null),this}fixNumber(t=4){return this.buffer.forEach((e,i,o)=>{typeof e=="number"&&(e|0)!==e&&(o[i]=+e.toFixed(t))}),this}toString(){return this.buffer.join(" ")}toArray(){return this.buffer}},zmr=class extends J3t{constructor(){super(),this.lockConfig=[],this.hideConfig=[],this.invisibleConfig=[],this.coverConfig={},this.commentConfig={},this.trnCtrlConfig={},this.transformConfig={},this.fontCache={},this.cache={},this.zIndex=0,this.zIndexMap=new Map}onParseLine(t){let e=t[0];switch(e){case"DOCTYPE":this.parseDocType(t);break;case"HEAD":this.parseHead(t);break;case"LOCK":this.parseLock(t);break;case"HIDE":this.parseHide(t);break;case"INVISIBLE":this.parseInvisible(t);break;case"COVER":this.parseCover(t);break;case"TRN_CTRL":this.parseTrnCtrl(t);break;case"COMMENT":this.parseComment(t);break;case"FONT_CACHE":this.parseFontCache(t);break;case"TRANSFORM":this.parseTransform(t);break;case"GROUP":{let i=t[1];this.cache[e]||(this.cache[e]={errorIds:[]}),i!==null&&!this.cache[e][i]?this.cache[e][i]=t:this.cache[e].errorIds.push(t);break}case"POLY":case"STRING":case"AUXLINE":case"DIMENSION":{this.zIndexMap.set(t[1],++this.zIndex);let i=Rxe(t[1]);this.cache[e]||(this.cache[e]={errorIds:[]}),i!==null&&!this.cache[e][i]?this.cache[e][i]=t:this.cache[e].errorIds.push(t);break}default:console.warn("can not find hanlder with",t)}}getZIndex(t){var e;return(e=this.zIndexMap.get(t))!=null?e:null}secondParseLine(t){switch(t[0]){case"GROUP":this.parseGroup(t);break;case"POLY":this.parsePoly(t);break;case"STRING":this.parseString(t);break;case"AUXLINE":this.parseAuxLine(t);break;case"DIMENSION":this.parseDimension(t);break}}onParseEnd(){for(let t in this.cache){let e=this.cache[t],i=Object.keys(e).sort((r,n)=>Number(r)-Number(n)),o=0;for(let r of i){if(r==="errorIds")continue;let n=Number(r),a=n-o-1;a>=1&&this.onPHolder(t,a),o=n,this.secondParseLine(e[n])}e.errorIds.forEach(r=>this.secondParseLine(r))}this.clearCache()}clearCache(){this.lockConfig=[],this.hideConfig=[],this.invisibleConfig=[],this.coverConfig={},this.commentConfig={},this.trnCtrlConfig={},this.transformConfig={},this.fontCache={},this.cache={},this.version=void 0}parseDocType(t){this.version=Number(t[2])}parseHead(t){this.version<2&&t[1]&&t[1].print==="AHead Side"&&(t[1].print="Ahead Side"),this.onCanvas(t[1])}parseGroup(t){this.onGroup(t[1],t[2],t[3],!!t[4],!!t[5])}parseLock(t){this.lockConfig.push(...t[1])}parseHide(t){this.hideConfig.push(...t[1])}parseInvisible(t){this.invisibleConfig.push(...t[1])}parseCover(t){this.coverConfig[t[1]]=t[2]}parseTrnCtrl(t){this.trnCtrlConfig[t[1]]={scope:t[2],trans_print:t[3],trans_white:t[4]}}parseComment(t){this.commentConfig[t[1]]=t[2]}matrix2svg(t){let[e,i,o,r,n,a,s,l,c]=t.data;return[e,i,r,n,s,l]}encPath(t){let e=new Array;return new f1i(i=>(e.push(new g1i(!0).encPl(i).toArray().slice(1)),!0),!0).parse(t),e}parseRect(t){var e,i,o,r,n,a,s,l;let[,c,,d,u,p,m,h,f,,,g,b]=t,y=g[0],w=y[1],x=-y[2],S=y[1]+y[3],T=-y[2]+y[4],M=y[5],I=y[6],A=+y[7],D=+y[8],E=zd.scale(S-w,T-x).rotateD(-A);D&&(E=E.multiply3(zd.MIRROR_X)),E=E.translate(w,x),E=this.matrix2svg(E),E=this.encMatrix(E),this.onPoly(c,0,d,-A,u,p,m,h,f,!0,[["R",0,0,1,1,M,I,0,0]],!0,!0,this.lockConfig.some(N=>N===t[1]),this.hideConfig.some(N=>N===t[1]),this.invisibleConfig.some(N=>N===t[1]),d===1?1:(e=this.coverConfig[t[1]])!=null?e:null,b||((i=this.commentConfig[t[1]])!=null?i:null),d===2?3:(r=(o=this.trnCtrlConfig[t[1]])==null?void 0:o.scope)!=null?r:null,d===2?f:(a=(n=this.trnCtrlConfig[t[1]])==null?void 0:n.trans_print)!=null?a:null,d===2?1-f:(l=(s=this.trnCtrlConfig[t[1]])==null?void 0:s.trans_white)!=null?l:null,E!=null?E:null)}parseObj(t){var e,i,o,r,n,a,s,l;let[,c,,d,u,p,m,h,f,,,g,b]=t,[y,w,x,S,T,M,I,A,D]=g[0],E=zd.rotateD(A);D&&(E=E.multiply3(zd.MIRROR_X));let N;D?N=new Xt(new mi(0,0),new mi(0,-T)).multiply3(E):N=new Xt(new mi(0,0),new mi(S,0)).multiply3(E);let R=N.end().angleD(N.start()),v=D===1;S=D===1?T:S,T=D===1?S:T;let k=zd.scale(S,T).rotateD(-R);v&&(k=k.multiply3(zd.MIRROR_X)),k=k.translate(w,-x),k=this.matrix2svg(k),k=this.encMatrix(k),this.onPoly(c,0,d,-R,u,p,m,h,f,!0,[["R",0,0,1,1,0,0,0,0]],!1,!1,this.lockConfig.some(P=>P===t[1]),this.hideConfig.some(P=>P===t[1]),this.invisibleConfig.some(P=>P===t[1]),d===1?1:(e=this.coverConfig[t[1]])!=null?e:null,b||((i=this.commentConfig[t[1]])!=null?i:null),d===2?3:(r=(o=this.trnCtrlConfig[t[1]])==null?void 0:o.scope)!=null?r:null,d===2?f:(a=(n=this.trnCtrlConfig[t[1]])==null?void 0:n.trans_print)!=null?a:null,d===2?1-f:(l=(s=this.trnCtrlConfig[t[1]])==null?void 0:s.trans_white)!=null?l:null,k!=null?k:null)}parseEllipse(t){var e,i,o,r,n,a,s,l;let[,c,,d,u,p,m,h,f,,,g,b]=t,y=g[0],w=y[1],x=-y[2],S=y[3],T=y[4],M=+y[5],I=+y[6],A=zd.scale(S,T).rotateD(-M);I&&(A=A.multiply3(zd.MIRROR_X)),A=A.translate(w,x),A=this.matrix2svg(A),A=this.encMatrix(A),this.onPoly(c,0,d,-M,u,p,m,h,f,!0,[["ELLIPSE",0,0,1,1,0,0]],!0,!0,this.lockConfig.some(D=>D===t[1]),this.hideConfig.some(D=>D===t[1]),this.invisibleConfig.some(D=>D===t[1]),d===1?1:(e=this.coverConfig[t[1]])!=null?e:null,b||((i=this.commentConfig[t[1]])!=null?i:null),d===2?3:(r=(o=this.trnCtrlConfig[t[1]])==null?void 0:o.scope)!=null?r:null,d===2?f:(a=(n=this.trnCtrlConfig[t[1]])==null?void 0:n.trans_print)!=null?a:null,d===2?1-f:(l=(s=this.trnCtrlConfig[t[1]])==null?void 0:s.trans_white)!=null?l:null,A!=null?A:null)}parsePolyGroup(t){var e,i,o,r,n,a,s,l;let[,c,,d,u,p,m,h,f,,,g,b]=t,y=!0,w=!0,x=this.decMultiPoly(g).d;this.onPoly(c,0,d,0,u,p,m,h,f,!0,this.encPath(x),y,w,this.lockConfig.some(S=>S===t[1]),this.hideConfig.some(S=>S===t[1]),this.invisibleConfig.some(S=>S===t[1]),d===1?1:(e=this.coverConfig[t[1]])!=null?e:null,b||((i=this.commentConfig[t[1]])!=null?i:null),d===2?3:(r=(o=this.trnCtrlConfig[t[1]])==null?void 0:o.scope)!=null?r:null,d===2?f:(a=(n=this.trnCtrlConfig[t[1]])==null?void 0:n.trans_print)!=null?a:null,d===2?1-f:(l=(s=this.trnCtrlConfig[t[1]])==null?void 0:s.trans_white)!=null?l:null,null)}parsePoly(t){var e,i,o,r,n,a,s,l,c,d;if(this.version<2)if(t[11].length===1)switch(t[11][0][0]){case"R":{let u=t[7];return u.startsWith("data:")||u.startsWith("blob:")?this.parseObj(t):this.parseRect(t)}case"ELLIPSE":return this.parseEllipse(t);default:return this.parsePolyGroup(t)}else return this.parsePolyGroup(t);else this.onPoly(t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],!!(t[12]||t[12]===void 0),!!(t[13]||t[13]===void 0),this.lockConfig.some(u=>u===t[1]),this.hideConfig.some(u=>u===t[1]),this.invisibleConfig.some(u=>u===t[1]),(e=this.coverConfig[t[1]])!=null?e:null,(i=this.commentConfig[t[1]])!=null?i:null,(r=(o=this.trnCtrlConfig[t[1]])==null?void 0:o.scope)!=null?r:null,(a=(n=this.trnCtrlConfig[t[1]])==null?void 0:n.trans_print)!=null?a:null,(l=(s=this.trnCtrlConfig[t[1]])==null?void 0:s.trans_white)!=null?l:null,(d=(c=this.transformConfig[t[1]])==null?void 0:c.matrix)!=null?d:null)}decMultiPoly(t){let e=new LS,i=t.map(o=>{let r="";return new f1i(n=>(e.ext1(n.bbox()),r=new g1i().encPl(n).toString(),!1),!1).parse("M"+o.join(" ")),r}).join(" ");return{bbox:e.build(),d:i}}encMatrix(t){let[e,i,o,r,n,a]=t,s=new zd([e,i,0,o,r,0,n,a,1]);s=zd.MIRROR_Y.multiply3(s).multiply3(zd.MIRROR_Y);let[l,c,d,u,p,m,h,f,g]=s.data;return[l,u,h,c,p,f]}parseString(t){var e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w;if(this.version<2){let[,x,S,T,M,I,A,D,E,N,R,v,k,P,O,_,j,B,V,G]=t;I=Nu(I);let Q=E;D=D===1,k=k===1,P=P===1,O=O===1;let H=-(_[15]/3|0)+2,q=_%3;V=V||1,G=G||1;let U=this.fontCache[t[1]],{bbox:F,d:K}=this.decMultiPoly(U),te=F.width(),ae=F.height();ae=ae||0,te=te||0;let pe=0;switch(q){case 1:pe=-te/2;break;case 2:pe=-te;break}let Z=0;switch(H){case 1:Z=ae/2;break;case 0:Z=ae;break}let ee=zd.translate(pe,Z).scale(V,G).rotateD(-A);D&&(ee=ee.multiply3(zd.MIRROR_X)),ee=ee.translate(M,I);let ce=this.matrix2svg(ee),ne=this.encMatrix(ce);this.onString(x,S,T,A,Q,N,R,v,k,P,O,((-H||0)+2)*3+(q||0),j,B,this.lockConfig.some(oe=>oe===t[1]),this.hideConfig.some(oe=>oe===t[1]),this.invisibleConfig.some(oe=>oe===t[1]),T===1?1:(e=this.coverConfig[t[1]])!=null?e:null,(i=this.commentConfig[t[1]])!=null?i:null,T===2?3:(r=(o=this.trnCtrlConfig[t[1]])==null?void 0:o.scope)!=null?r:null,T===2?B:(a=(n=this.trnCtrlConfig[t[1]])==null?void 0:n.trans_print)!=null?a:null,T===2?1-B:(l=(s=this.trnCtrlConfig[t[1]])==null?void 0:s.trans_white)!=null?l:null,ne,!!ne,this.encPath(K))}else this.onString(t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9]===1,t[10]===1,t[11]===1,t[12],t[13],t[14],this.lockConfig.some(x=>x===t[1]),this.hideConfig.some(x=>x===t[1]),this.invisibleConfig.some(x=>x===t[1]),(c=this.coverConfig[t[1]])!=null?c:null,(d=this.commentConfig[t[1]])!=null?d:null,(p=(u=this.trnCtrlConfig[t[1]])==null?void 0:u.scope)!=null?p:null,(h=(m=this.trnCtrlConfig[t[1]])==null?void 0:m.trans_print)!=null?h:null,(g=(f=this.trnCtrlConfig[t[1]])==null?void 0:f.trans_white)!=null?g:null,(y=(b=this.transformConfig[t[1]])==null?void 0:b.matrix)!=null?y:null,!!((w=this.transformConfig[t[1]])!=null&&w.matrix),this.fontCache[t[1]])}parseFontCache(t){this.fontCache[t[1]]=t[2]}parseDimension(t){var e,i,o,r,n,a,s,l,c,d,u,p;this.onDimension(t[1],t[2],t[3],(e=t[4])!=null?e:null,t[5],t[6],t[7],t[8],this.lockConfig.some(m=>m===t[1]),this.hideConfig.some(m=>m===t[1]),this.invisibleConfig.some(m=>m===t[1]),(i=this.coverConfig[t[1]])!=null?i:null,(o=this.commentConfig[t[1]])!=null?o:null,(n=(r=this.trnCtrlConfig[t[1]])==null?void 0:r.scope)!=null?n:null,(s=(a=this.trnCtrlConfig[t[1]])==null?void 0:a.trans_print)!=null?s:null,(c=(l=this.trnCtrlConfig[t[1]])==null?void 0:l.trans_white)!=null?c:null,(u=(d=this.transformConfig[t[1]])==null?void 0:d.matrix)!=null?u:null,!!((p=this.transformConfig[t[1]])!=null&&p.matrix))}parseTransform(t){this.transformConfig[t[1]]={matrix:t[2],strokes:!!t[3]}}parseAuxLine(t){var e,i,o,r,n,a,s,l,c,d,u;this.onAuxLine(t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],this.lockConfig.some(p=>p===t[1]),this.hideConfig.some(p=>p===t[1]),this.invisibleConfig.some(p=>p===t[1]),(e=this.coverConfig[t[1]])!=null?e:null,(i=this.commentConfig[t[1]])!=null?i:null,(r=(o=this.trnCtrlConfig[t[1]])==null?void 0:o.scope)!=null?r:null,(a=(n=this.trnCtrlConfig[t[1]])==null?void 0:n.trans_print)!=null?a:null,(l=(s=this.trnCtrlConfig[t[1]])==null?void 0:s.trans_white)!=null?l:null,(d=(c=this.transformConfig[t[1]])==null?void 0:c.matrix)!=null?d:null,!!((u=this.transformConfig[t[1]])!=null&&u.matrix))}},nhi=class extends J3t{constructor(t={},e=[]){super(),this.symbolPartIds=t,this.device=e,this.defaultPartId="pid8a0e77bacb214e",this.curPart="",this.onlyPart="",this.partIdMap={},this.fontStyleIndex={},this.lineStyleIndex={},this.groupIndex={},this.zIndex=0,this.zIndexMap=new Map,this.cache={},this.errorIds={},this.tableCell={},this.hasPart=!1,this.components={},this.busEntryMap={},this.defaultLineStyle={strokeColor:null,strokeStyle:null,fillColor:null,strokeWidth:null,fillStyle:null},this.defaultFontStyle={color:null,fillColor:null,fontFamily:null,fontSize:null,strikeout:null,underline:null,italic:null,fontWeight:null,hAlign:null,vAlign:null}}getZIndex(t){var e;return(e=this.zIndexMap.get(t))!=null?e:null}transPinAttrKey(t){switch(t){case"NUMBER":{t="Pin Number";break}case"NAME":{t="Pin Name";break}}return t}transFontStyle(t){return{color:t.color,fillColor:t.fillColor,fontFamily:t.fontFamily,fontSize:t.fontSize,strikeout:t.strikeout,underline:t.underline,italic:t.italic,fontWeight:t.fontWeight,align:this.transAlign(t.vAlign,t.hAlign)}}transTableFontStyle(t){return{color:t.color,fillColor:t.fillColor,fontFamily:t.fontFamily,fontSize:t.fontSize,strikeout:t.strikeout,underline:t.underline,italic:t.italic,fontWeight:t.fontWeight,vAlign:this.transVAlign(t.vAlign),hAlign:this.transHAlign(t.hAlign)}}transVAlign(t){switch(t=t&&Number(t),t){case 0:return"TOP";case 1:return"MIDDLE";case 2:return"BOTTOM";default:return null}}transHAlign(t){switch(t=t&&Number(t),t){case 0:return"LEFT";case 1:return"CENTER";case 2:return"RIGHT";default:return null}}transAlign(t,e){if(t=t&&Number(t),e=e&&Number(e),e===0)switch(t){case 0:return"LEFT_TOP";case 1:return"LEFT_MIDDLE";case 2:return"LEFT_BOTTOM";default:return"LEFT_BOTTOM"}if(e===1)switch(t){case 0:return"CENTER_TOP";case 1:return"CENTER_MIDDLE";case 2:return"CENTER_BOTTOM";default:return"CENTER_BOTTOM"}if(e===2)switch(t){case 0:return"RIGHT_TOP";case 1:return"RIGHT_MIDDLE";case 2:return"RIGHT_BOTTOM";default:return"RIGHT_BOTTOM"}switch(t){case 0:return"LEFT_TOP";case 1:return"LEFT_MIDDLE";case 2:return"LEFT_BOTTOM";default:return null}}transStrokeStyle(t){switch(t=t&&Number(t),t){case 0:return"SOLID";case 1:return"SHORT_DASH";case 2:return"DOT";case 3:return"DOT_DASH";default:return null}}transFillStyle(t){switch(t=t&&Number(t),t){case 0:return"NONE";case 1:return"SOLID";case 2:return"GRID";case 3:return"HORIZONTAL_LINE";case 4:return"VERTICAL_LINE";case 5:return"RHOMBIC";case 6:return"LEFT_SLASH_LINE";case 7:return"RIGHT_SLASH_LINE";default:return null}}transPinShape(t){switch(t=t&&Number(t),t){case 0:return"NONE";case 1:return"CLOCK";case 2:return"INVERTED";case 3:return"INVERTED_CLOCK";default:return"NONE"}}onParseLine(t){var e,i;let o=t[0];switch(o){case"DOCTYPE":this.parseDocType(t);break;case"HEAD":this.parseHead(t);break;case"GROUP":this.parseGroup(t);break;case"FONTSTYLE":this.parseFontStyle(t);break;case"LINESTYLE":this.parseLineStyle(t);break;case"TERM":break;case"PART":this.hasPart=!0,this.parsePart(t);break;case"TABEL_CELL":this.parseTableCell(t);break;case"BUSENTRY":{this.parseBusEntry(t);break}case"WIRE":case"BUS":case"TEXT":case"POLY":case"CIRCLE":case"ARC":case"RECT":case"PIN":case"OBJ":case"COMPONENT":case"ELLIPSE":case"BEZIER":case"TABLE":{this.zIndexMap.set(t[1],++this.zIndex);let r=Rxe(t[1]);this.cache[o]||(this.cache[o]={}),r!==null&&!this.cache[o][r]?this.cache[o][r]={part:this.curPart,value:t}:(this.errorIds[o]||(this.errorIds[o]=[]),this.errorIds[o].push({part:this.curPart,value:t}));break}case"ATTR":{this.zIndexMap.set(t[1],++this.zIndex),t[3]==="Symbol"&&(this.components[t[2]]||(this.components[t[2]]={symbol:"",device:""}),this.components[t[2]].symbol=t[4]),t[3]==="Device"&&(this.components[t[3]]||(this.components[t[3]]={symbol:"",device:""}),this.components[t[3]].device=t[4]);let r=Object.keys(((e=this.cache)==null?void 0:e.COMPONENT)||{}).find(s=>this.cache.COMPONENT[s].value[1]===t[2]);if(r){let s=this.cache.COMPONENT[r];s.attr||(s.attr=[]),s.attr.push({part:this.curPart,value:t});break}let n=Object.keys(((i=this.cache)==null?void 0:i.PIN)||{}).find(s=>this.cache.PIN[s].value[1]===t[2]);if(n){let s=this.cache.PIN[n];s.attr||(s.attr=[]),s.attr.push({part:this.curPart,value:t});break}let a=Rxe(t[1]);this.cache[o]||(this.cache[o]={}),a!==null&&!(this.cache[o][a]&&this.cache[o][a].value[1]!==t[1])?this.cache[o][a]||(this.cache[o][a]={part:this.curPart,value:t}):(this.errorIds[o]||(this.errorIds[o]=[]),this.errorIds[o].push({part:this.curPart,value:t}));break}default:console.warn("can not find hanlder with",t)}}secondParseLine(t){switch(t[0]){case"DOCTYPE":case"HEAD":case"GROUP":case"FONTSTYLE":case"LINESTYLE":break;case"ATTR":this.parseAttr(t);break;case"WIRE":this.parseWire(t);break;case"BUS":this.parseBus(t);break;case"TEXT":this.parseText(t);break;case"POLY":this.parsePoly(t);break;case"CIRCLE":this.parseCircle(t);break;case"ARC":this.parseArc(t);break;case"BUSENTRY":break;case"RECT":this.parseRect(t);break;case"PIN":this.parsePin(t);break;case"OBJ":this.parseObj(t);break;case"COMPONENT":this.parseComponent(t);break;case"ELLIPSE":this.parseEllipse(t);break;case"BEZIER":this.parseBezier(t);break;case"TABLE":this.parseTable(t);break;case"TABEL_CELL":break}}onParseEnd(){this.docType==="SYMBOL"&&!this.hasPart&&(this.curPart=this.defaultPartId,this.onlyPart=this.curPart,this.partIdMap[""]=this.curPart,this.onPart(this.curPart,{title:""}));for(let t in this.cache){let e=this.cache[t],i=Object.keys(e).sort((r,n)=>Number(r)-Number(n)),o=0;for(let r of i){let n=Number(r),a=n-o-1;a>=1&&this.onPHolder(t,a),o=n,this.curPart=this.hasPart?e[n].part||this.onlyPart:this.curPart,this.secondParseLine(e[n].value),e[n].attr&&e[n].attr.forEach(s=>{this.curPart=this.hasPart?s.part||this.onlyPart:this.curPart,this.secondParseLine(s.value)})}if(this.errorIds[t])for(let r of this.errorIds[t])this.curPart=this.hasPart?r.part||this.onlyPart:this.curPart,this.secondParseLine(r.value)}this.clearCache()}clearCache(){this.fontStyleIndex={},this.lineStyleIndex={},this.groupIndex={},this.cache={},this.errorIds={},this.curPart="",this.components={},this.tableCell={},this.hasPart=!1,this.version=void 0,this.docType=void 0}parseDocType(t){this.docType=t[1];let e=parseFloat(t[2]);this.version=e}parseHead(t){this.onCanvas(t[1])}parseFontStyle(t){this.fontStyleIndex[t[1]]={color:t[3]===""?"none":t[3],fillColor:t[2],fontFamily:t[4],fontSize:typeof t[5]=="number"?t[5]:null,strikeout:t[9]===null?null:t[9]===1,underline:t[8]===null?null:t[8]===1,italic:t[6]===null?null:t[6]===1,fontWeight:t[7]===null?null:t[7]===1,vAlign:t[10],hAlign:t[11]}}parseLineStyle(t){this.lineStyleIndex[t[1]]={strokeColor:t[2],strokeStyle:this.transStrokeStyle(t[3]),fillColor:t[4]===""?"none":t[4],strokeWidth:t[5],fillStyle:this.transFillStyle(t[6])}}getGroupId(t){let e=this;for(let i in e.groupIndex){let o=e.groupIndex[i];if(o!=null&&o.includes(t))return i}return""}parseBezier(t){let e=this.lineStyleIndex[t[3]];e||(e=this.defaultLineStyle,console.warn("style not found",t));let i=this.getGroupId(t[1]);for(let o=0;o<t[2].length;o+=2)t[2][o+1]=Nu(t[2][o+1]);this.onBezier(t[1],this.curPart,i,!!t[4],t[2],e.strokeColor,e.strokeStyle,e.fillColor,e.strokeWidth,e.fillStyle)}parseGroup(t){this.groupIndex[t[1]]=t[4]||[],this.onGroup(t[1],t[2]||"",t[3]||"")}parseBus(t){let e=this.lineStyleIndex[t[3]];e||(e=this.defaultLineStyle,console.warn("style not found",t));let i=t[2]||[],o=this.getGroupId(t[1]);this.onBus(t[1],this.curPart,o,!!t[4],i,e.strokeColor,e.strokeStyle,e.fillColor,e.strokeWidth,e.fillStyle,this.busEntryMap[t[1]]||{})}parseWire(t){let e=this.lineStyleIndex[t[3]];e||(e=this.defaultLineStyle,console.warn("style not found",t));let i=t[2]||[],o=this.getGroupId(t[1]);this.onWire(t[1],this.curPart,o,!!t[4],i,e.strokeColor,e.strokeStyle,e.fillColor,e.strokeWidth,e.fillStyle)}parseText(t){let e=this.fontStyleIndex[t[6]];e||(e=this.defaultFontStyle,console.warn("font not found",t));let i=this.transFontStyle(e),o=this.getGroupId(t[1]);this.onText(t[1],this.curPart,o,!!t[7],t[2],t[3],t[4],t[5],i.color,i.fillColor,i.fontFamily,i.fontSize,i.strikeout,i.underline,i.italic,i.fontWeight,i.align)}parsePoly(t){let e=this.lineStyleIndex[t[4]];e||(e=this.defaultLineStyle,console.warn("style not found",t));let i=this.getGroupId(t[1]);this.onPoly(t[1],this.curPart,i,!!t[5],t[2]||[],!!t[3],e.strokeColor,e.strokeStyle,e.fillColor,e.strokeWidth,e.fillStyle)}parseCircle(t){let e=this.lineStyleIndex[t[5]];e||(e=this.defaultLineStyle,console.warn("style not found",t));let i=this.getGroupId(t[1]);this.onCircle(t[1],this.curPart,i,!!t[6],t[2],t[3],t[4],e.strokeColor,e.strokeStyle,e.fillColor,e.strokeWidth,e.fillStyle)}parseArc(t){let e=this.lineStyleIndex[t[8]];e||(e=this.defaultLineStyle,console.warn("style not found",t));let i=this.getGroupId(t[1]);this.onArc(t[1],this.curPart,i,!!t[9],t[2],t[3],t[4],t[5],t[6],t[7],e.strokeColor,e.strokeStyle,e.fillColor,e.strokeWidth,e.fillStyle)}parseBusEntry(t){let e=t[2],i={groupId:this.getGroupId(t[1]),locked:!1,zIndex:++this.zIndex,order:t[3],pointX:t[4],pointY:Nu(t[5]),rotation:t[6]};this.busEntryMap[e]||(this.busEntryMap[e]={}),this.busEntryMap[e][t[1]]=i}parseRect(t){let e=this.lineStyleIndex[t[9]];e||(e=this.defaultLineStyle,console.warn("style not found",t));let i=this.getGroupId(t[1]);this.onRect(t[1],this.curPart,i,!!t[10],t[2],t[3],t[4],t[5],t[6],t[7],t[8],e.strokeColor,e.strokeStyle,e.fillColor,e.strokeWidth,e.fillStyle)}parsePin(t){let e=this.getGroupId(t[1]);this.onPin(t[1],this.curPart,e,!!t[10],!!t[2],t[3],t[4],t[5],t[6],t[7],t[8],this.transPinShape(t[9]))}parseObj(t){let e=this.getGroupId(t[1]);this.version>=1.1?this.onObj(t[1],this.curPart,e,!!t[10],t[2],t[3],t[4],t[5],t[6],t[7],!!t[8],t[9]):this.onObj(t[1],this.curPart,e,!!t[10],t[2],t[4],t[5],t[6],t[7],t[8],!1,`data:${t[3]},${t[9]}`)}parseComponent(t){var e,i,o;let r=this.getGroupId(t[1]),n=t[2],a=this.components[t[1]];if(a){if(a.symbol){let s=this.symbolPartIds[a.symbol];s&&(n=s[t[2]]||t[2]||s[(e=Object.keys(s))==null?void 0:e[0]]||"")}else if(a.device){let s=this.device.find(c=>c.uuid===a.device),l=s?this.symbolPartIds[(i=s==null?void 0:s.attributes)==null?void 0:i.Symbol]:null;l&&(n=l[t[2]]||t[2]||l[(o=Object.keys(l))==null?void 0:o[0]]||"")}}this.onComponent(t[1],!!t[8],n,r,t[3],t[4],t[5],t[6]===1,t[7])}parseEllipse(t){let e=this.lineStyleIndex[t[7]];e||(e=this.defaultLineStyle,console.warn("style not found",t));let i=this.getGroupId(t[1]);this.onEllipse(t[1],this.curPart,i,!!t[8],t[2],t[3],t[4],t[5],t[6],e.strokeColor,e.strokeStyle,e.fillColor,e.strokeWidth,e.fillStyle)}parseTable(t){let e=this.getGroupId(t[1]);this.onTable(t[1],this.curPart,e,t[2],t[3],t[4],t[5],t[6],t[7],t[8],this.tableCell[t[1]]||[])}parseTableCell(t){let e=this.lineStyleIndex[t[8]],i=this.lineStyleIndex[t[9]],o=this.lineStyleIndex[t[10]],r=this.lineStyleIndex[t[11]],n=this.fontStyleIndex[t[12]],a=Object.assign({},n);a.color=n.fillColor,a.fillColor=n.color,(!e||!i||!o||!r||!a)&&console.warn("style not found",t);let s={id:t[1],value:t[3],rowIndex:t[4],columnIndex:t[5],rowSpan:t[6],colSpan:t[7],topStyle:e||this.defaultLineStyle,rightStyle:i||this.defaultLineStyle,bottomStyle:o||this.defaultLineStyle,leftStyle:r||this.defaultLineStyle,fontStyle:this.transTableFontStyle(a||this.defaultFontStyle),lineHeight:t[13],zIndex:++this.zIndex};this.tableCell[t[2]]||(this.tableCell[t[2]]=[]),this.tableCell[t[2]].push(s)}parseAttr(t){let e=this.fontStyleIndex[t[10]];e||(e=this.defaultFontStyle,console.warn("fontStyle not found",t));let i=this.transFontStyle(e),o=this.getGroupId(t[1]);this.onAttr(t[1],this.curPart,o,!!t[11],t[2]||"",this.transPinAttrKey(String(t[3])),t[4],t[5]===null?null:!!t[5],t[6]===null?null:!!t[6],t[7]!==null?t[7]:null,t[8]!==null?t[8]:null,t[9],i.color,i.fillColor,i.fontFamily,i.fontSize,i.strikeout,i.underline,i.italic,i.fontWeight,i.align)}parsePart(t){this.curPart=t[1]||this.defaultPartId,this.onlyPart=this.curPart,this.partIdMap[t[1]]=this.curPart;let e=Object.assign(t[2]||{},{title:t[1]||""});this.onPart(this.curPart,e)}},Fmr=class{constructor(){}encodeCanvas(t){return{id:"CANVAS",dataType:"CANVAS",data:JSON.stringify(t)}}encodeGroup(t,e){return{id:t,dataType:"GROUP",data:JSON.stringify(e)}}encodeAuxLine(t,e){return{id:t,dataType:"AUXLINE",data:JSON.stringify(e)}}encodeDimension(t,e){return{id:t,dataType:"DIMENSION",data:JSON.stringify(e)}}encodeString(t,e){return{id:t,dataType:"STRING",data:JSON.stringify(e)}}encodePoly(t,e){return{id:t,dataType:"POLY",data:JSON.stringify(e)}}},bRe=class{constructor(){}editHead(t,e){let i={uuid:t.uuid,nickname:t.nickname,username:t.username,updateTime:e};return`${JSON.stringify({type:"EDIT_HEAD"})}||${JSON.stringify(i)}`}head(t){return oC(this.doctype,t.client,t.doc,t.updateTime,t.version||String(t.updateTime),t.user,t.ticket)}creator(t,e){let i=typeof e=="string"?e:JSON.stringify(e);return Wc("META_CREATE",t,"META_CREATE",i)}modifier(t,e){let i=typeof e=="string"?e:JSON.stringify(e);return Wc("META_MODIFY",t,"META_MODIFY",i)}delete(t,e){let i=e||JSON.stringify({isDelete:!0});return Wc("DELETE_DOC",t,"DELETE_DOC",i)}},epe=class extends bRe{constructor(){super(...arguments),this.doctype="BLOB"}buildStr(t,e,i){let o=typeof i=="string"?i:JSON.stringify(this.buildData(i));return Wc("BLOB",t,e,o)}buildData(t){return{filename:t.filename,content:t.content}}},Yxe=class extends bRe{meta(t,e,i){let o=typeof e=="string"?e:JSON.stringify(this.metaData(e));return Wc("META",t,"META",o,void 0,i)}},Umr=class extends Yxe{constructor(){super(...arguments),this.doctype="BOARD"}metaData(t){return{title:t.title,zIndex:t.zIndex}}},Vmr=class extends Yxe{constructor(){super(...arguments),this.doctype="CONFIG"}head(t){let{client:e,updateTime:i,user:o}=t,r=i||new Date().getTime();return oC(this.doctype,e,"CONFIG",r,String(r),o,t.ticket)}metaData(t){return{defaultSheet:t.defaultSheet}}},Hmr=class extends Yxe{constructor(){super(...arguments),this.doctype="DEVICE"}metaData(t){return{title:t.title,tags:t.tags,source:t.source,images:t.images,attributes:t.attributes}}},ahi=class{constructor(){}encodeString(t,e){return{id:t,dataType:"STRING",data:JSON.stringify(e)}}encodeAttr(t,e){return{id:t,dataType:"ATTR",data:JSON.stringify(e)}}encodePadNet(t){let e=JSON.stringify(["PAD_NET",t.componentId,t.padNum,t.padId||""]),i={...t};return delete i.componentId,delete i.padNum,delete i.padId,{id:e,dataType:"PAD_NET",data:JSON.stringify(i)}}encodeComponent(t,e){return{id:t,dataType:"COMPONENT",data:JSON.stringify(e)}}encodePanelize(t){return{id:"PANELIZE",dataType:"PANELIZE",data:JSON.stringify(t)}}encodeRuleSelector(t){let e=JSON.stringify(["RULE_SELECTOR",t.ruleSelect]),i={...t};return delete i.ruleSelect,{id:e,dataType:"RULE_SELECTOR",data:JSON.stringify(i)}}encodeRule(t){let e=JSON.stringify(["RULE",t.ruleType,t.ruleName]),i={...t};return delete i.ruleType,delete i.ruleName,{id:e,dataType:"RULE",data:JSON.stringify(i)}}encodeRuleTemplate(t){return{id:"RULE_TEMPLATE",dataType:"RULE_TEMPLATE",data:JSON.stringify(t)}}encodeDimension(t,e){return{id:t,dataType:"DIMENSION",data:JSON.stringify(e)}}encodeBoss(t,e){return{id:t,dataType:"BOSS",data:JSON.stringify(e)}}encodeShellEntity(t,e){return{id:t,dataType:"SHELL_ENTITY",data:JSON.stringify(e)}}encodeShellCut(t,e){return{id:t,dataType:"SHELLCUT",data:JSON.stringify(e)}}encodeCrease(t,e){return{id:t,dataType:"CREASE",data:JSON.stringify(e)}}encodeShell(t,e){return{id:t,dataType:"SHELL",data:JSON.stringify(e)}}encodeFpcFill(t,e){return{id:t,dataType:"FPC_FILL",data:JSON.stringify(e)}}encodeTeardrop(t,e){return{id:t,dataType:"TEARDROP",data:JSON.stringify(e)}}encodeImage(t,e){return{id:t,dataType:"IMAGE",data:JSON.stringify(e)}}encodePoured(t,e){return{id:_2(t,"POURED"),dataType:"POURED",data:JSON.stringify(e)}}encodePour(t,e){return{id:t,dataType:"POUR",data:JSON.stringify(e)}}encodeRegion(t,e){return{id:t,dataType:"REGION",data:JSON.stringify(e)}}encodeFill(t,e){return{id:t,dataType:"FILL",data:JSON.stringify(e)}}encodeLayerFill(t,e){return{id:_2(t,"LAYER_FILL"),dataType:"LAYER_FILL",data:JSON.stringify(e)}}encodePoly(t,e){return{id:t,dataType:"POLY",data:JSON.stringify(e)}}encodeEQLenGrp(t,e){return{id:t,dataType:"EQLEN_GRP",data:JSON.stringify(e)}}encodeObj(t,e){return{id:t,dataType:"OBJ",data:JSON.stringify(e)}}encodeArc(t,e){return{id:t,dataType:"ARC",data:JSON.stringify(e)}}encodeLine(t,e){return{id:t,dataType:"LINE",data:JSON.stringify(e)}}encodePad(t,e){return{id:t,dataType:"PAD",data:JSON.stringify(e)}}encodeVia(t,e){return{id:t,dataType:"VIA",data:JSON.stringify(e)}}encodePreference(t){return{id:"PREFERENCE",dataType:"PREFERENCE",data:JSON.stringify(t)}}encodeSilkOpts(t,e){return{id:_2(t,"SILK_OPTS"),dataType:"SILK_OPTS",data:JSON.stringify(e)}}encodeGroup(t,e){return{id:t,dataType:"GROUP",data:JSON.stringify(e)}}encodePrimitive(t,e){return{id:_2(t,"PRIMITIVE"),dataType:"PRIMITIVE",data:JSON.stringify(e)}}encodeNet(t,e){return{id:_2(t,"NET"),dataType:"NET",data:JSON.stringify(e)}}encodePartition(t,e){return{id:t,dataType:"PARTITION",data:JSON.stringify(e)}}encodeActiveLayer(t){return{id:"ACTIVE_LAYER",dataType:"ACTIVE_LAYER",data:JSON.stringify(t)}}encodeLayerPhys(t,e){return{id:_2(t,"LAYER_PHYS"),dataType:"LAYER_PHYS",data:JSON.stringify(e)}}encodeLayer(t,e){return{id:_2(t,"LAYER"),dataType:"LAYER",data:JSON.stringify(e)}}encodeCanvas(t){return{id:"CANVAS",dataType:"CANVAS",data:JSON.stringify(t)}}},shi=class{constructor(){}encodeString(t,e){return{id:t,dataType:"STRING",data:JSON.stringify(e)}}encodeAttr(t,e){return{id:t,dataType:"ATTR",data:JSON.stringify(e)}}encodePanelize(t){return{id:"PANELIZE",dataType:"PANELIZE",data:JSON.stringify(t)}}encodeRuleSelector(t){let e=JSON.stringify(["RULE_SELECTOR",t.ruleSelect]),i={...t};return delete i.ruleSelect,{id:e,dataType:"RULE_SELECTOR",data:JSON.stringify(i)}}encodeRule(t){let e=JSON.stringify(["RULE",t.ruleType,t.ruleName]),i={...t};return delete i.ruleType,delete i.ruleName,{id:e,dataType:"RULE",data:JSON.stringify(i)}}encodeRuleTemplate(t){return{id:"RULE_TEMPLATE",dataType:"RULE_TEMPLATE",data:JSON.stringify(t)}}encodeDimension(t,e){return{id:t,dataType:"DIMENSION",data:JSON.stringify(e)}}encodeBoss(t,e){return{id:t,dataType:"BOSS",data:JSON.stringify(e)}}encodeShellEntity(t,e){return{id:t,dataType:"SHELL_ENTITY",data:JSON.stringify(e)}}encodeShellCut(t,e){return{id:t,dataType:"SHELLCUT",data:JSON.stringify(e)}}encodeCrease(t,e){return{id:t,dataType:"CREASE",data:JSON.stringify(e)}}encodeShell(t,e){return{id:t,dataType:"SHELL",data:JSON.stringify(e)}}encodeFpcFill(t,e){return{id:t,dataType:"FPC_FILL",data:JSON.stringify(e)}}encodeTeardrop(t,e){return{id:t,dataType:"TEARDROP",data:JSON.stringify(e)}}encodeImage(t,e){return{id:t,dataType:"IMAGE",data:JSON.stringify(e)}}encodePoured(t,e){return{id:_2(t,"POURED"),dataType:"POURED",data:JSON.stringify(e)}}encodePour(t,e){return{id:t,dataType:"POUR",data:JSON.stringify(e)}}encodeRegion(t,e){return{id:t,dataType:"REGION",data:JSON.stringify(e)}}encodeFill(t,e){return{id:t,dataType:"FILL",data:JSON.stringify(e)}}encodeLayerFill(t,e){return{id:_2(t,"LAYER_FILL"),dataType:"LAYER_FILL",data:JSON.stringify(e)}}encodePoly(t,e){return{id:t,dataType:"POLY",data:JSON.stringify(e)}}encodeEQLenGrp(t,e){return{id:t,dataType:"EQLEN_GRP",data:JSON.stringify(e)}}encodeObj(t,e){return{id:t,dataType:"OBJ",data:JSON.stringify(e)}}encodeArc(t,e){return{id:t,dataType:"ARC",data:JSON.stringify(e)}}encodeLine(t,e){return{id:t,dataType:"LINE",data:JSON.stringify(e)}}encodePad(t,e){return{id:t,dataType:"PAD",data:JSON.stringify(e)}}encodeVia(t,e){return{id:t,dataType:"VIA",data:JSON.stringify(e)}}encodePreference(t){return{id:"PREFERENCE",dataType:"PREFERENCE",data:JSON.stringify(t)}}encodeSilkOpts(t,e){return{id:_2(t,"SILK_OPTS"),dataType:"SILK_OPTS",data:JSON.stringify(e)}}encodeGroup(t,e){return{id:t,dataType:"GROUP",data:JSON.stringify(e)}}encodePrimitive(t,e){return{id:_2(t,"PRIMITIVE"),dataType:"PRIMITIVE",data:JSON.stringify(e)}}encodeNet(t,e){return{id:_2(t,"NET"),dataType:"NET",data:JSON.stringify(e)}}encodeActiveLayer(t){return{id:"ACTIVE_LAYER",dataType:"ACTIVE_LAYER",data:JSON.stringify(t)}}encodeLayerPhys(t,e){return{id:_2(t,"LAYER_PHYS"),dataType:"LAYER_PHYS",data:JSON.stringify(e)}}encodeLayer(t,e){return{id:_2(t,"LAYER"),dataType:"LAYER",data:JSON.stringify(e)}}encodeCanvas(t){return{id:"CANVAS",dataType:"CANVAS",data:JSON.stringify(t)}}},lhi=class extends D1i{constructor(t=!1){super(void 0,void 0,void 0,void 0,t),this.encode=new shi,this.maxTicket=0,this.blobEncode=new epe,this.blobData=[],this.encodeData="",this.placeholder=0}handleData(t){this.encodeData?this.encodeData=this.encodeData+`|
`+Wc(t.dataType,++this.maxTicket,t.id,t.data):this.encodeData=Wc(t.dataType,++this.maxTicket,t.id,t.data)}getZIndex(t){let e=t.match(hRe);return e!=null&&e.length?e[1]:null}onPHolder(t,e){let i={dataType:t,max:e};this.handleData({id:`placeholder${++this.placeholder}`,dataType:"ELE_PLACEHOLDER",data:JSON.stringify(i)})}onLayerFill(t,e){this.handleData(this.encode.encodeLayerFill(t,e))}onString(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y){let w=this.getZIndex(t);this.handleData(this.encode.encodeString(Wo(t),{groupId:i,layerId:o,x:r,y:n,text:a,fontFamily:s,fontSize:l,strokeWidth:c,bold:d,italic:u,origin:p,angle:m,reverse:h,expansion:f,mirror:g,locked:b,zIndex:w===null?null:Number(w),specialColor:y}))}onAttr(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M){let I=this.getZIndex(t);I&&T&&(I=I+"."+String(T)),this.handleData(this.encode.encodeAttr(Wo(t),{groupId:i,parentId:o,layerId:r,x:n,y:a,key:s,value:l,keyVisible:c,valueVisible:d,fontFamily:u,fontSize:p,strokeWidth:m,bold:h,italic:f,origin:g,angle:b,reverse:y,expansion:w,mirror:x,locked:S,zIndex:I===null?null:Number(I),specialColor:M}))}onPadNet(t,e,i,o,r){}onComponent(t,e,i,o,r,n,a,s,l){}onPanelize(t,e,i,o,r,n,a,s,l,c){this.handleData(this.encode.encodePanelize({on:t,row:e,column:i,rowSpacing:o,columnSpacing:r,onlyOutline:n,horizontalStamp:a,verticalStamp:s,horizontalSize:l,verticalSize:c}))}onRuleSelector(t,e,i,o,r){this.handleData(this.encode.encodeRuleSelector({ruleSelect:t,ruleOrder:e,ruleKeyValue:i,copperValue:o,innerPlaneValue:r}))}onRule(t,e,i,o){this.handleData(this.encode.encodeRule({ruleType:t,ruleName:e,ruleState:i,ruleContext:o}))}onRuleTemplate(t){this.handleData(this.encode.encodeRuleTemplate({name:t}))}onDimension(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeDimension(Wo(t),{type:i,layerId:o,unit:r,strokeWidth:n,precision:a,textFollow:s,coords:l,locked:c,zIndex:m===null?null:Number(m),text:d,specialColor:u,groupId:p}))}onBoss(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeBoss(Wo(t),{groupId:i,layerId:o,centerX:r,centerY:n,specification:a,depth:s,thickness:l,holeDiameter:c,counterBore:d?{height:d[0],diameter:d[1]}:null,stiffener:u?{topWidth:u[0],bottomWidth:u[1],height:u[2],stiffThickness:u[3]}:null,locked:p,zIndex:m===null?null:Number(m)}))}onShellEntity(t,e,i,o,r,n,a,s,l,c,d,u){let p=this.getZIndex(t),m={groupId:i,layerId:o,type:r?"ENTITY":"SLOT",depth:s,strokeWidth:l,path:c,locked:d,zIndex:p===null?null:Number(p),refs:u};m.type==="ENTITY"&&(m.entityBelong=n),m.type==="SLOT"&&(m.slotOptions=a),this.handleData(this.encode.encodeShellEntity(Wo(t),m))}onShellCut(t,e,i,o,r,n,a,s,l){let c=this.getZIndex(t);this.handleData(this.encode.encodeShellCut(Wo(t),{groupId:i,layerId:o,depth:r,strokeWidth:n,path:a,locked:s,zIndex:c===null?null:Number(c),refs:l}))}onCrease(t,e,i,o,r,n,a,s,l,c){let d=this.getZIndex(t);this.handleData(this.encode.encodeCrease(Wo(t),{groupId:i,layerId:o,startX:r,startY:n,endX:a,endY:s,angle:l,locked:c,zIndex:d===null?null:Number(d)}))}onShell(t,e,i,o,r,n,a,s,l,c){let d=this.getZIndex(t),u={groupId:i,shellType:o,shellHeight:r,pcbHeight:n,strokeWidth:a,path:s,thickness:l.Thickness,locked:c,zIndex:d===null?null:Number(d)};o==="DRAWER"&&(u.direction=l.Direction),o==="T&B"&&(u.bottomHeight=l.BottomHeight,u.topInnerHeight=l.TopInnerHeight,u.bottomInnerHeight=l.BottomInnerHeight),this.handleData(this.encode.encodeShell(Wo(t),u))}onFpcFill(t,e,i,o,r,n,a,s){let l=this.getZIndex(t);this.handleData(this.encode.encodeFpcFill(Wo(t),{groupId:i,layerId:o,material:r,thickness:n,path:a,locked:s,zIndex:l===null?null:Number(l)}))}onTeardrop(t,e,i,o,r,n,a){this.handleData(this.encode.encodeTeardrop(Wo(t),{netName:i,layerId:o,path:r,groupId:n,refs:a,locked:!1}))}onImage(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeImage(Wo(t),{groupId:i,layerId:o,startX:r,startY:n,width:a,height:s,angle:l,mirror:c,path:d,locked:u,zIndex:m===null?null:Number(m),specialColor:p}))}onPoured(t,e){this.handleData(this.encode.encodePoured(Wo(t),e))}onPour(t,e,i,o,r,n,a,s,l,c,d,u){let p=this.getZIndex(t);this.handleData(this.encode.encodePour(Wo(t),{groupId:i,netName:o,layerId:r,width:n,name:a,order:s,path:l,pourType:c,keepIsland:d,locked:u,zIndex:p===null?null:Number(p)}))}onRegion(t,e,i,o,r,n,a,s,l,c){let d=this.getZIndex(t);this.handleData(this.encode.encodeRegion(Wo(t),{groupId:i,layerId:o,width:r,prohibitType:n,path:a,locked:s,zIndex:d===null?null:Number(d),name:l,regionType:c}))}onFill(t,e,i,o,r,n,a,s,l,c,d){let u=this.getZIndex(t);this.handleData(this.encode.encodeFill(Wo(t),{groupId:i,netName:o,layerId:r,width:n,fillStyle:a,path:s,locked:l,zIndex:u===null?null:Number(u),isBridgingCopper:!1,networkList:[],refs:c,specialColor:d}))}onPoly(t,e,i,o,r,n,a,s,l){let c=this.getZIndex(t);this.handleData(this.encode.encodePoly(Wo(t),{groupId:i,netName:o,layerId:r,width:n,path:a,locked:s,zIndex:c===null?null:Number(c),specialColor:l,polyType:r==11?"BOARD_OUTLINE":"NORMAL"}))}onEQLenGrp(t,e,i,o){this.handleData(this.encode.encodeEQLenGrp(Wo(t),{name:e,sort:i,pads:o}))}onObj(t,e,i,o,r,n,a,s,l,c,d,u,p,m){if(u.startsWith("data:")){let f=$0e(u);this.blobData.push(this.blobEncode.buildStr(1,f,{filename:r,content:u})),u=`blob:${f}`}let h=this.getZIndex(t);this.handleData(this.encode.encodeObj(Wo(t),{groupId:i,layerId:o,fileName:r,startX:n,startY:a,width:s,height:l,angle:c,mirror:d,path:u,locked:p,zIndex:h===null?null:Number(h),specialColor:m}))}onArc(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeArc(Wo(t),{groupId:i,netName:o,layerId:r,startX:n,startY:a,endX:s,endY:l,angle:c,width:d,locked:u,zIndex:m===null?null:Number(m),arcType:"DOT",specialColor:p}))}onCArc(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeArc(Wo(t),{groupId:i,netName:o,layerId:r,startX:n,startY:a,endX:s,endY:l,angle:c,width:d,locked:u,zIndex:m===null?null:Number(m),arcType:"CENT",specialColor:p}))}onLine(t,e,i,o,r,n,a,s,l,c,d){let u=this.getZIndex(t);this.handleData(this.encode.encodeLine(Wo(t),{groupId:i,netName:o,layerId:r,startX:n,startY:a,endX:s,endY:l,width:c,locked:d,zIndex:u===null?null:Number(u)}))}onPad(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M,I,A,D){let E=this.getZIndex(t);this.handleData(this.encode.encodePad(Wo(t),{groupId:i,netName:o,layerId:r,num:n,centerX:a,centerY:s,padAngle:l,hole:c,defaultPad:d,specialPad:u,padOffsetX:p,padOffsetY:m,relativeAngle:h,plated:f,padType:g,topSolderExpansion:b,bottomSolderExpansion:y,topPasteExpansion:w,bottomPasteExpansion:x,locked:S,zIndex:E===null?null:Number(E),connectMode:T,spokeSpace:M,spokeWidth:I,spokeAngle:A,unusedInnerLayers:D,padLen:0}))}onVia(t,e,i,o,r,n,a,s,l,c,d,u,p,m){let h=this.getZIndex(t);this.handleData(this.encode.encodeVia(Wo(t),{groupId:i,netName:o,ruleName:r,centerX:n,centerY:a,holeDiameter:s,viaDiameter:l,viaType:c,topSolderExpansion:d,bottomSolderExpansion:u,locked:p,zIndex:h===null?null:Number(h),unusedInnerLayers:m}))}onPreference(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w){this.handleData(this.encode.encodePreference({startTrackWidthFollowLast:t,lastTrackWidth:e,startViaSizeFollowLast:i,lastViaInnerDiameter:o,lastViaDiameter:r,snap:n,routingMode:a,routingCorner:s,removeLoop:l,rotatingObject:c,trackFollow:d,stretchTrackMinCorner:u,preferenceConfig:p,realTimeUpdateUnusedLayers:m,unusedPadRange:h,pushVia:f,pathOptimization4BePushed:g,currentPathOptimization4BePushed:b,removeCircuitsContainingVias:y,removeAntenna:w}))}onSilkOpts(t,e,i){this.handleData(this.encode.encodeSilkOpts(t,{defaultColor:e,baseColor:i}))}onGroup(t,e){this.handleData(this.encode.encodeGroup(t,{groupName:e}))}onPrimitive(t,e,i){this.handleData(this.encode.encodePrimitive(t,{display:e,pick:i}))}onNet(t,e,i,o,r,n,a){this.handleData(this.encode.encodeNet(t,{netType:e,specialColor:i,retLine:o,differentialName:r,isPositiveNet:n,equalLengthGroupName:a}))}onPartition(t,e,i,o){}onActiveLayer(t){this.handleData(this.encode.encodeActiveLayer({layerId:t}))}onLayerPhys(t,e,i,o,r,n,a){this.handleData(this.encode.encodeLayerPhys(t,{material:e,thickness:i,permittivity:o,lossTangent:r,isKeepIsland:n,zIndex:a}))}onLayer(t,e,i,o,r,n,a,s,l,c){this.handleData(this.encode.encodeLayer(t,{layerType:e,layerName:i,use:o,show:r,locked:n,activeColor:a,activateTransparency:s,inactiveColor:l,inactiveTransparency:c}))}onCanvas(t,e,i,o,r,n,a,s,l,c,d,u){this.handleData(this.encode.encodeCanvas({originX:t,originY:e,unit:i,gridXSize:o,gridYSize:r,snapXSize:n,snapYSize:a,altSnapXSize:s,altSnapYSize:l,gridType:c,multiGridType:d,multiGridRatio:u,highlightValue:.5}))}},Gmr=class extends D1i{constructor(t=[],e=[]){let i={};t.forEach(r=>i[r.uuid]=r.display_title||r.title);let o={};e.forEach(r=>o[r.uuid]=r.display_title||r.title),super(o,i,t,e),this.encode=new ahi,this.maxTicket=0,this.blobEncode=new epe,this.blobData=[],this.encodeData="",this.placeholder=0}handleData(t){this.encodeData?this.encodeData=this.encodeData+`|
`+Wc(t.dataType,++this.maxTicket,t.id,t.data):this.encodeData=Wc(t.dataType,++this.maxTicket,t.id,t.data)}getZIndex(t){let e=t.match(hRe);return e!=null&&e.length?e[1]:null}onPHolder(t,e){let i={dataType:t,max:e};this.handleData({id:`placeholder${++this.placeholder}`,dataType:"ELE_PLACEHOLDER",data:JSON.stringify(i)})}onLayerFill(t,e){this.handleData(this.encode.encodeLayerFill(t,e))}onString(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y){let w=this.getZIndex(t);this.handleData(this.encode.encodeString(Wo(t),{partitionId:Wo(e),groupId:i,layerId:o,x:r,y:n,text:a,fontFamily:s,fontSize:l,strokeWidth:c,bold:d,italic:u,origin:p,angle:m,reverse:h,expansion:f,mirror:g,locked:b,zIndex:w===null?null:Number(w),specialColor:y}))}onAttr(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M){let I=this.getZIndex(t);I&&T&&(I=I+"."+String(T)),this.handleData(this.encode.encodeAttr(Wo(t),{partitionId:Wo(e),groupId:i,parentId:Wo(o),layerId:r,x:n,y:a,key:s,value:l,keyVisible:c,valueVisible:d,fontFamily:u,fontSize:p,strokeWidth:m,bold:h,italic:f,origin:g,angle:b,reverse:y,expansion:w,mirror:x,locked:S,zIndex:I===null?null:Number(I),specialColor:M}))}onPadNet(t,e,i,o,r){this.handleData(this.encode.encodePadNet({partitionId:Wo(e),componentId:Wo(t),padNum:i,padNet:o,padId:Wo(r),padLen:0}))}onComponent(t,e,i,o,r,n,a,s,l,c){let d=this.getZIndex(t);this.handleData(this.encode.encodeComponent(Wo(t),{partitionId:Wo(e),groupId:i,layerId:o,x:r,y:n,angle:a,attrs:s,locked:l,zIndex:d===null?null:Number(d),specialColor:c}))}onPanelize(t,e,i,o,r,n,a,s,l,c){this.handleData(this.encode.encodePanelize({on:t,row:e,column:i,rowSpacing:o,columnSpacing:r,onlyOutline:n,horizontalStamp:a,verticalStamp:s,horizontalSize:l,verticalSize:c}))}onRuleSelector(t,e,i,o,r){this.handleData(this.encode.encodeRuleSelector({ruleSelect:t,ruleOrder:e,ruleKeyValue:i,copperValue:o,innerPlaneValue:r}))}onRule(t,e,i,o){this.handleData(this.encode.encodeRule({ruleType:t,ruleName:e,ruleState:i,ruleContext:o}))}onRuleTemplate(t){this.handleData(this.encode.encodeRuleTemplate({name:t}))}onDimension(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeDimension(Wo(t),{partitionId:Wo(e),type:i,layerId:o,unit:r,strokeWidth:n,precision:a,textFollow:s,coords:l,locked:c,zIndex:m===null?null:Number(m),text:d,specialColor:u,groupId:p}))}onBoss(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeBoss(Wo(t),{partitionId:Wo(e),groupId:i,layerId:o,centerX:r,centerY:n,specification:a,depth:s,thickness:l,holeDiameter:c,counterBore:d?{height:d[0],diameter:d[1]}:null,stiffener:u?{topWidth:u[0],bottomWidth:u[1],height:u[2],stiffThickness:u[3]}:null,locked:p,zIndex:m===null?null:Number(m)}))}onShellEntity(t,e,i,o,r,n,a,s,l,c,d,u){let p=this.getZIndex(t),m={groupId:i,layerId:o,type:r?"ENTITY":"SLOT",depth:s,strokeWidth:l,path:c,locked:d,zIndex:p===null?null:Number(p),refs:u};m.type==="ENTITY"&&(m.entityBelong=n),m.type==="SLOT"&&(m.slotOptions=a),this.handleData(this.encode.encodeShellEntity(Wo(t),m))}onShellCut(t,e,i,o,r,n,a,s,l){let c=this.getZIndex(t);this.handleData(this.encode.encodeShellCut(Wo(t),{partitionId:Wo(e),groupId:i,layerId:o,depth:r,strokeWidth:n,path:a,locked:s,zIndex:c===null?null:Number(c),refs:l}))}onCrease(t,e,i,o,r,n,a,s,l,c){let d=this.getZIndex(t);this.handleData(this.encode.encodeCrease(Wo(t),{partitionId:Wo(e),groupId:i,layerId:o,startX:r,startY:n,endX:a,endY:s,angle:l,locked:c,zIndex:d===null?null:Number(d)}))}onShell(t,e,i,o,r,n,a,s,l,c){let d=this.getZIndex(t),u={groupId:i,shellType:o,shellHeight:r,pcbHeight:n,strokeWidth:a,path:s,thickness:l.Thickness,locked:c,zIndex:d===null?null:Number(d)};o==="DRAWER"&&(u.direction=l.Direction),o==="T&B"&&(u.bottomHeight=l.BottomHeight,u.topInnerHeight=l.TopInnerHeight,u.bottomInnerHeight=l.BottomInnerHeight),this.handleData(this.encode.encodeShell(Wo(t),u))}onFpcFill(t,e,i,o,r,n,a,s){let l=this.getZIndex(t);this.handleData(this.encode.encodeFpcFill(Wo(t),{partitionId:Wo(e),groupId:i,layerId:o,material:r,thickness:n,path:a,locked:s,zIndex:l===null?null:Number(l)}))}onTeardrop(t,e,i,o,r,n,a){this.handleData(this.encode.encodeTeardrop(Wo(t),{partitionId:Wo(e),netName:i,layerId:o,path:r,groupId:n,refs:a,locked:!1}))}onImage(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeImage(Wo(t),{partitionId:Wo(e),groupId:i,layerId:o,startX:r,startY:n,width:a,height:s,angle:l,mirror:c,path:d,locked:u,zIndex:m===null?null:Number(m),specialColor:p}))}onPoured(t,e){this.handleData(this.encode.encodePoured(Wo(t),e))}onPour(t,e,i,o,r,n,a,s,l,c,d,u){let p=this.getZIndex(t);this.handleData(this.encode.encodePour(Wo(t),{partitionId:Wo(e),groupId:i,netName:o,layerId:r,width:n,name:a,order:s,path:l,pourType:c,keepIsland:d,locked:u,zIndex:p===null?null:Number(p)}))}onRegion(t,e,i,o,r,n,a,s,l,c){let d=this.getZIndex(t);this.handleData(this.encode.encodeRegion(Wo(t),{partitionId:Wo(e),groupId:i,layerId:o,width:r,prohibitType:n,path:a,locked:s,zIndex:d===null?null:Number(d),name:l,regionType:c}))}onFill(t,e,i,o,r,n,a,s,l,c,d){let u=this.getZIndex(t);this.handleData(this.encode.encodeFill(Wo(t),{partitionId:Wo(e),groupId:i,netName:o,layerId:r,width:n,fillStyle:a,path:s,locked:l,zIndex:u===null?null:Number(u),isBridgingCopper:!1,networkList:[],refs:c,specialColor:d}))}onPoly(t,e,i,o,r,n,a,s,l){let c=this.getZIndex(t);this.handleData(this.encode.encodePoly(Wo(t),{partitionId:Wo(e),groupId:i,netName:o,layerId:r,width:n,path:a,locked:s,zIndex:c===null?null:Number(c),specialColor:l,polyType:r==11?"BOARD_OUTLINE":"NORMAL"}))}onEQLenGrp(t,e,i,o){this.handleData(this.encode.encodeEQLenGrp(Wo(t),{name:e,sort:i,pads:o}))}onObj(t,e,i,o,r,n,a,s,l,c,d,u,p,m){if(u.startsWith("data:")){let f=$0e(u);this.blobData.push(this.blobEncode.buildStr(1,f,{filename:r,content:u})),u=`blob:${f}`}let h=this.getZIndex(t);this.handleData(this.encode.encodeObj(Wo(t),{partitionId:Wo(e),groupId:i,layerId:o,fileName:r,startX:n,startY:a,width:s,height:l,angle:c,mirror:d,path:u,locked:p,zIndex:h===null?null:Number(h),specialColor:m}))}onArc(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeArc(Wo(t),{partitionId:Wo(e),groupId:i,netName:o,layerId:r,startX:n,startY:a,endX:s,endY:l,angle:c,width:d,locked:u,zIndex:m===null?null:Number(m),arcType:"DOT",specialColor:p}))}onCArc(t,e,i,o,r,n,a,s,l,c,d,u,p){let m=this.getZIndex(t);this.handleData(this.encode.encodeArc(Wo(t),{partitionId:Wo(e),groupId:i,netName:o,layerId:r,startX:n,startY:a,endX:s,endY:l,angle:c,width:d,locked:u,zIndex:m===null?null:Number(m),arcType:"CENT",specialColor:p}))}onLine(t,e,i,o,r,n,a,s,l,c,d){let u=this.getZIndex(t);this.handleData(this.encode.encodeLine(Wo(t),{partitionId:Wo(e),groupId:i,netName:o,layerId:r,startX:n,startY:a,endX:s,endY:l,width:c,locked:d,zIndex:u===null?null:Number(u)}))}onPad(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M,I,A,D){let E=this.getZIndex(t);this.handleData(this.encode.encodePad(Wo(t),{partitionId:Wo(e),groupId:i,netName:o,layerId:r,num:n,centerX:a,centerY:s,padAngle:l,hole:c,defaultPad:d,specialPad:u,padOffsetX:p,padOffsetY:m,relativeAngle:h,plated:f,padType:g,topSolderExpansion:b,bottomSolderExpansion:y,topPasteExpansion:w,bottomPasteExpansion:x,locked:S,zIndex:E===null?null:Number(E),connectMode:T,spokeSpace:M,spokeWidth:I,spokeAngle:A,unusedInnerLayers:D,padLen:0}))}onVia(t,e,i,o,r,n,a,s,l,c,d,u,p,m){let h=this.getZIndex(t);this.handleData(this.encode.encodeVia(Wo(t),{partitionId:Wo(e),groupId:i,netName:o,ruleName:r,centerX:n,centerY:a,holeDiameter:s,viaDiameter:l,viaType:c,topSolderExpansion:d,bottomSolderExpansion:u,locked:p,zIndex:h===null?null:Number(h),unusedInnerLayers:m}))}onPreference(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w){this.handleData(this.encode.encodePreference({startTrackWidthFollowLast:t,lastTrackWidth:e,startViaSizeFollowLast:i,lastViaInnerDiameter:o,lastViaDiameter:r,snap:n,routingMode:a,routingCorner:s,removeLoop:l,rotatingObject:c,trackFollow:d,stretchTrackMinCorner:u,preferenceConfig:p,realTimeUpdateUnusedLayers:m,unusedPadRange:h,pushVia:f,pathOptimization4BePushed:g,currentPathOptimization4BePushed:b,removeCircuitsContainingVias:y,removeAntenna:w}))}onSilkOpts(t,e,i){this.handleData(this.encode.encodeSilkOpts(t,{defaultColor:e,baseColor:i}))}onGroup(t,e){this.handleData(this.encode.encodeGroup(t,{groupName:e}))}onPrimitive(t,e,i){this.handleData(this.encode.encodePrimitive(t,{display:e,pick:i}))}onNet(t,e,i,o,r,n,a){this.handleData(this.encode.encodeNet(t,{netType:e,specialColor:i,retLine:o,differentialName:r,isPositiveNet:n,equalLengthGroupName:a}))}onPartition(t,e,i,o){this.handleData(this.encode.encodePartition(Wo(t),{name:e,fileUuid:i,path:o}))}onActiveLayer(t){this.handleData(this.encode.encodeActiveLayer({layerId:t}))}onLayerPhys(t,e,i,o,r,n,a){this.handleData(this.encode.encodeLayerPhys(t,{material:e,thickness:i,permittivity:o,lossTangent:r,isKeepIsland:n,zIndex:a}))}onLayer(t,e,i,o,r,n,a,s,l,c){this.handleData(this.encode.encodeLayer(t,{layerType:e,layerName:i,use:o,show:r,locked:n,activeColor:a,activateTransparency:s,inactiveColor:l,inactiveTransparency:c}))}onCanvas(t,e,i,o,r,n,a,s,l,c,d,u){this.handleData(this.encode.encodeCanvas({originX:t,originY:e,unit:i,gridXSize:o,gridYSize:r,snapXSize:n,snapYSize:a,altSnapXSize:s,altSnapYSize:l,gridType:c,multiGridType:d,multiGridRatio:u,highlightValue:.5}))}};function Ymr(t,e,i,o,r,n,a=new Date().getTime(),s=String(a),l){var c,d;let u=b1(),p=e.split(`

`),m=p.filter(b=>!b.startsWith('["DOCTYPE","PCB"')),h=p.filter(b=>b.startsWith('["DOCTYPE","PCB"'))[0],f="";for(let b=0;b<m.length;b++){let y=new lhi;y.parseFull(m[b]);let w=y.metaData;r.push({uuid:w.uuid,title:w.title,dataStr:m[b]});let x=oC("FOOTPRINT",u,w.uuid,a,s,l);if(x=x+`|
`+Wc("META",1,"META",JSON.stringify({source:w.source,version:w.version,title:(c=w==null?void 0:w.title)==null?void 0:c.replace(/[A-Z]+/g,S=>S.toLowerCase()),display_title:w.title,description:w.description||"",custom_tags:w.custom_tags||"",tags:w.tags||{},docType:4})),y.blobData.length&&(x=x+`|
`+y.blobEncode.head({doc:"BLOB",client:u,updateTime:a,version:s,user:l})+`|
`+y.blobData.join(`|
`)),y.fontCache.length){let S=new dRe,T=S.head({doc:"FONT",client:b1(),updateTime:a,version:s,user:l});for(let M of y.fontCache){let I=Z0e(M.text,M.fontFamily,M.fontSize,M.thickness,M.bold,M.italic,M.reverse,M.expansion),A=S.buildStr(1,I,M);T=T+`|
`+A}x=T+`|
`+x}y.encodeData&&(x=x+`|
`+y.encodeData),f=f?x+`|
`+f:x}let g=new Gmr(r,n);f?f=f+`|
`+oC("PCB",u,t,a,s,l):f=oC("PCB",u,t,a,s,l),g.parseFull(i.join(`
`));for(let b=0;b<o.length;b++){let y=o[b];g.curPourId=(d=y.path.split("_"))==null?void 0:d[1],g.parseFull(y.dataStr)}if(g.parseFull(h),g.encodeData&&(f=f+`|
`+g.encodeData),g.blobData.length&&(f=f+`|
`+g.blobEncode.head({doc:"BLOB",client:u,updateTime:a,version:s,user:l})+`|
`+g.blobData.join(`|
`)),g.fontCache.length){let b=new dRe,y=b.head({doc:"FONT",client:b1(),updateTime:a,version:s,user:l});for(let w of g.fontCache){let x=Z0e(w.text,w.fontFamily,w.fontSize,w.thickness,w.bold,w.italic,w.reverse,w.expansion),S=b.buildStr(1,x,w);y=y+`|
`+S}f=y+`|
`+f}return f}function Wmr(t,e,i,o=new Date().getTime(),r=String(o),n){let a=new lhi(i),s="",l=b1();if(s=oC("FOOTPRINT",l,t,o,r,n),a.parseFull(e),a.encodeData&&(s=s+`|
`+a.encodeData),a.blobData.length&&(s=s+`|
`+a.blobEncode.head({doc:"BLOB",client:l,updateTime:o,version:r,user:n})+`|
`+a.blobData.join(`|
`)),a.fontCache.length){let c=new dRe,d=c.head({doc:"FONT",client:l,updateTime:o,version:r,user:n});for(let u of a.fontCache){let p=Z0e(u.text,u.fontFamily,u.fontSize,u.thickness,u.bold,u.italic,u.reverse,u.expansion),m=c.buildStr(1,p,u);d=d+`|
`+m}s=d+`|
`+s}return s}var Foe=class extends Yxe{canvas(t){let{client:e,ticket:i,data:o,id:r,dataType:n,firstTicket:a,pend:s}=t;return Wc(n,i,r,o,e,a,s)}},Qmr=class extends Foe{constructor(){super(...arguments),this.doctype="FOOTPRINT"}metaData(t){return{title:t.title,description:t.description,tags:t.tags,source:t.source}}transform(t){let{doc:e,dataStr:i,has_device:o,updateTime:r,version:n,user:a}=t;return Wmr(e,i,o,r,n,a)}},Kmr=class extends bRe{constructor(){super(...arguments),this.doctype="INSTANCE"}attr(t,e){let i=[];for(let o in e){let r=JSON.stringify(e[o]);i.push(Wc("INSTANCE_ATTR",t,o,r))}return i.join(`|
`)}},Zmr=class extends Foe{constructor(){super(...arguments),this.doctype="PANEL"}metaData(t){return{title:t.title,zIndex:t.zIndex||null}}transform(t){let{doc:e,dataStr:i,updateTime:o,version:r,user:n}=t;return chi(e,i,"PANEL",o,r,n)}},Jmr=class extends Foe{constructor(){super(...arguments),this.doctype="PCB"}metaData(t){return{title:t.title,parent:t.parent,source:t.source,board:t.board,zIndex:t.zIndex||null}}transform(t){let{doc:e,dataStr:i,fonts:o,coppers:r,footprints:n,devices:a,updateTime:s,version:l,user:c}=t;return Ymr(e,i,o,r,n,a,s,l,c)}},qmr=class extends Yxe{constructor(){super(...arguments),this.doctype="SCH"}metaData(t){return{title:t.title,source:t.source,board:t.board,zIndex:t.zIndex||null}}sort(t){let{doc:e,client:i,ticket:o,data:r}=t,n=typeof r=="string"?r:JSON.stringify(r);return Wc("META_SORT",o,"META_SORT",n)}},Xmr=class{constructor(){}encodeNGSetting(t){return{id:"NG_SETTING",dataType:"NG_SETTING",data:JSON.stringify(t)}}encodeCanvas(t){return{id:"CANVAS",dataType:"CANVAS",data:JSON.stringify(t)}}encodeAttr(t,e){return{id:t,dataType:"ATTR",data:JSON.stringify(e)}}encodeTable(t,e){return{id:t,dataType:"TABLE",data:JSON.stringify(e)}}encodeEllipse(t,e){return{id:t,dataType:"ELLIPSE",data:JSON.stringify(e)}}encodeComponent(t,e){return{id:t,dataType:"COMPONENT",data:JSON.stringify(e)}}encodeObj(t,e){return{id:t,dataType:"OBJ",data:JSON.stringify(e)}}encodePin(t,e){return{id:t,dataType:"PIN",data:JSON.stringify(e)}}encodeRect(t,e){return{id:t,dataType:"RECT",data:JSON.stringify(e)}}encodeMaskRegion(t,e){return{id:t,dataType:"MASK_REGION",data:JSON.stringify(e)}}encodeArc(t,e){return{id:t,dataType:"ARC",data:JSON.stringify(e)}}encodeCircle(t,e){return{id:t,dataType:"CIRCLE",data:JSON.stringify(e)}}encodePoly(t,e){return{id:t,dataType:"POLY",data:JSON.stringify(e)}}encodeText(t,e){return{id:t,dataType:"TEXT",data:JSON.stringify(e)}}encodeBezier(t,e){return{id:t,dataType:"BEZIER",data:JSON.stringify(e)}}encodeGroup(t,e){return{id:t,dataType:"GROUP",data:JSON.stringify(e)}}encodeLine(t,e){return{id:t,dataType:"LINE",data:JSON.stringify(e)}}encodeBus(t,e){return{id:t,dataType:"BUS",data:JSON.stringify(e)}}encodeWire(t,e){return{id:t,dataType:"WIRE",data:JSON.stringify(e)}}},$mr=class{constructor(){}encodePart(t,e){return{id:t,dataType:"PART",data:JSON.stringify(e)}}encodeCanvas(t){return{id:"CANVAS",dataType:"CANVAS",data:JSON.stringify(t)}}encodeAttr(t,e){return{id:t,dataType:"ATTR",data:JSON.stringify(e)}}encodeTable(t,e){return{id:t,dataType:"TABLE",data:JSON.stringify(e)}}encodeEllipse(t,e){return{id:t,dataType:"ELLIPSE",data:JSON.stringify(e)}}encodeObj(t,e){return{id:t,dataType:"OBJ",data:JSON.stringify(e)}}encodePin(t,e){return{id:t,dataType:"PIN",data:JSON.stringify(e)}}encodeRect(t,e){return{id:t,dataType:"RECT",data:JSON.stringify(e)}}encodeArc(t,e){return{id:t,dataType:"ARC",data:JSON.stringify(e)}}encodeCircle(t,e){return{id:t,dataType:"CIRCLE",data:JSON.stringify(e)}}encodePoly(t,e){return{id:t,dataType:"POLY",data:JSON.stringify(e)}}encodeText(t,e){return{id:t,dataType:"TEXT",data:JSON.stringify(e)}}encodeBezier(t,e){return{id:t,dataType:"BEZIER",data:JSON.stringify(e)}}encodeGroup(t,e){return{id:t,dataType:"GROUP",data:JSON.stringify(e)}}},e1r=class extends nhi{constructor(){super(),this.encode=new $mr,this.maxTicket=0,this.blobEncode=new epe,this.blobData=[],this.encodeData="",this.placeholder=0}handleData(t){this.encodeData?this.encodeData=this.encodeData+`|
`+Wc(t.dataType,++this.maxTicket,t.id,t.data):this.encodeData=Wc(t.dataType,++this.maxTicket,t.id,t.data)}onPHolder(t,e){let i={dataType:t,max:e};this.handleData({id:`placeholder${++this.placeholder}`,dataType:"ELE_PLACEHOLDER",data:JSON.stringify(i)})}onPart(t,e){this.handleData(this.encode.encodePart(t,e||{}))}onAttr(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x){this.handleData(this.encode.encodeAttr(Wo(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),parentId:r,key:n,value:a,keyVisible:s,valueVisible:l,x:c,y:Nu(d),rotation:u,color:p,fillColor:m,fontFamily:h,fontSize:f,strikeout:g,underline:b,italic:y,fontWeight:w,align:x,version:"2.0"}))}onTable(t,e,i,o,r,n,a,s,l,c,d){this.handleData(this.encode.encodeTable(Wo(t),{partId:e,groupId:i,startX:o,startY:Nu(r),rowSizes:n,colSizes:a,rowLocked:s,colLocked:l,rotation:c,tableCell:d,zIndex:this.getZIndex(t)}))}onEllipse(t,e,i,o,r,n,a,s,l,c,d,u,p,m){this.handleData(this.encode.encodeEllipse(Wo(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),centerX:r,centerY:Nu(n),radiusX:a,radiusY:Nu(s),rotation:l,strokeColor:c,strokeStyle:d,fillColor:u,strokeWidth:p,fillStyle:m}))}onComponent(){}onObj(t,e,i,o,r,n,a,s,l,c,d,u){if(u.startsWith("data:")){let p=$0e(u);this.blobData.push(this.blobEncode.buildStr(1,p,{filename:"",content:u})),u=`blob:${p}`}this.handleData(this.encode.encodeObj(Wo(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),fileName:r,startX:n,startY:Nu(a),width:s,height:l,rotation:c,isMirror:d,content:u}))}onPin(t,e,i,o,r,n,a,s,l,c,d,u){this.handleData(this.encode.encodePin(Wo(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),display:r,x:a,y:Nu(s),length:l,rotation:c,color:d,pinShape:u}))}onRect(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f){this.handleData(this.encode.encodeRect(Wo(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),dotX1:r,dotY1:Nu(n),dotX2:a,dotY2:Nu(s),radiusX:l,radiusY:c,rotation:d,strokeColor:u,strokeStyle:p,fillColor:m,strokeWidth:h,fillStyle:f}))}onArc(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h){this.handleData(this.encode.encodeArc(Wo(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),startX:r,startY:Nu(n),referX:a,referY:Nu(s),endX:l,endY:Nu(c),strokeColor:d,strokeStyle:u,fillColor:p,strokeWidth:m,fillStyle:h}))}onCircle(t,e,i,o,r,n,a,s,l,c,d,u){this.handleData(this.encode.encodeCircle(Wo(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),centerX:r,centerY:Nu(n),radius:a,strokeColor:s,strokeStyle:l,fillColor:c,strokeWidth:d,fillStyle:u}))}onPoly(t,e,i,o,r,n,a,s,l,c,d){this.handleData(this.encode.encodePoly(Wo(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),points:T1i(r,!0),closed:n,strokeColor:a,strokeStyle:s,fillColor:l,strokeWidth:c,fillStyle:d}))}onText(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g){this.handleData(this.encode.encodeText(Wo(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),x:r,y:Nu(n),rotation:a,value:s,color:l,fillColor:c,fontFamily:d,fontSize:u,strikeout:p,underline:m,italic:h,fontWeight:f,align:g,version:"2.0"}))}onCanvas(t){this.handleData(this.encode.encodeCanvas({originX:t.originX,originY:Nu(t.originY)}))}onBezier(t,e,i,o,r,n,a,s,l,c){this.handleData(this.encode.encodeBezier(Wo(t),{partId:e,groupId:i,locked:o,zIndex:this.getZIndex(t),controls:r,strokeColor:n,strokeStyle:a,fillColor:s,strokeWidth:l,fillStyle:c}))}onGroup(t,e,i){this.handleData(this.encode.encodeGroup(String(t),{parentId:e,title:i}))}onBus(){}onWire(){}},t1r=class extends nhi{constructor(t,e=[]){super(t,e),this.encode=new Xmr,this.maxTicket=0,this.blobEncode=new epe,this.blobData=[],this.encodeData="",this.placeholder=0}handleData(t){this.encodeData?this.encodeData=this.encodeData+`|
`+Wc(t.dataType,++this.maxTicket,t.id,t.data):this.encodeData=Wc(t.dataType,++this.maxTicket,t.id,t.data)}onPHolder(t,e){let i={dataType:t,max:e};this.handleData({id:`placeholder${++this.placeholder}`,dataType:"ELE_PLACEHOLDER",data:JSON.stringify(i)})}onPart(t,e){}onAttr(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x){this.handleData(this.encode.encodeAttr(Wo(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),parentId:Wo(r),key:n,value:a,keyVisible:s,valueVisible:l,x:c,y:Nu(d),rotation:u,color:p,fillColor:m,fontFamily:h,fontSize:f,strikeout:g,underline:b,italic:y,fontWeight:w,align:x,version:"2.0"}))}onTableCell(t,e,i,o,r,n,a,s,l,c,d,u,p,m){}onTable(t,e,i,o,r,n,a,s,l,c,d){this.handleData(this.encode.encodeTable(Wo(t),{groupId:i,startX:o,startY:Nu(r),rowSizes:n,colSizes:a,rowLocked:s,colLocked:l,rotation:c,tableCell:d,zIndex:this.getZIndex(t)}))}onEllipse(t,e,i,o,r,n,a,s,l,c,d,u,p,m){this.handleData(this.encode.encodeEllipse(Wo(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),centerX:r,centerY:Nu(n),radiusX:a,radiusY:s,rotation:l,strokeColor:c,strokeStyle:d,fillColor:u,strokeWidth:p,fillStyle:m}))}onComponent(t,e,i,o,r,n,a,s,l){this.handleData(this.encode.encodeComponent(Wo(t),{locked:e,zIndex:this.getZIndex(t),partId:i,groupId:o,x:r,y:Nu(n),rotation:a,isMirror:s,attrs:l||{}}))}onObj(t,e,i,o,r,n,a,s,l,c,d,u){if(u.startsWith("data:")){let p=$0e(u);this.blobData.push(this.blobEncode.buildStr(1,p,{filename:"",content:u})),u=`blob:${p}`}this.handleData(this.encode.encodeObj(Wo(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),fileName:r,startX:n,startY:Nu(a),width:s,height:l,rotation:c,isMirror:d,content:u}))}onPin(t,e,i,o,r,n,a,s,l,c,d,u){this.handleData(this.encode.encodePin(Wo(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),display:r,x:a,y:Nu(s),length:l,rotation:c,color:d,pinShape:u}))}onRect(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f){this.handleData(this.encode.encodeRect(Wo(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),dotX1:r,dotY1:Nu(n),dotX2:a,dotY2:Nu(s),radiusX:l,radiusY:c,rotation:d,strokeColor:u,strokeStyle:p,fillColor:m,strokeWidth:h,fillStyle:f}))}onArc(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h){this.handleData(this.encode.encodeArc(Wo(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),startX:r,startY:Nu(n),referX:a,referY:Nu(s),endX:l,endY:Nu(c),strokeColor:d,strokeStyle:u,fillColor:p,strokeWidth:m,fillStyle:h}))}onCircle(t,e,i,o,r,n,a,s,l,c,d,u){this.handleData(this.encode.encodeCircle(Wo(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),centerX:r,centerY:Nu(n),radius:a,strokeColor:s,strokeStyle:l,fillColor:c,strokeWidth:d,fillStyle:u}))}onPoly(t,e,i,o,r,n,a,s,l,c,d){this.handleData(this.encode.encodePoly(Wo(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),points:T1i(r,!0),closed:n,strokeColor:a,strokeStyle:s,fillColor:l,strokeWidth:c,fillStyle:d}))}onText(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g){this.handleData(this.encode.encodeText(Wo(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),x:r,y:Nu(n),rotation:a,value:s,color:l,fillColor:c,fontFamily:d,fontSize:u,strikeout:p,underline:m,italic:h,fontWeight:f,align:g,version:"2.0"}))}onCanvas(t){this.handleData(this.encode.encodeCanvas({originX:t.originX,originY:Nu(t.originY)}))}onBezier(t,e,i,o,r,n,a,s,l,c){this.handleData(this.encode.encodeBezier(Wo(t),{groupId:i,locked:o,zIndex:this.getZIndex(t),controls:r,strokeColor:n,strokeStyle:a,fillColor:s,strokeWidth:l,fillStyle:c}))}onGroup(t,e,i){this.handleData(this.encode.encodeGroup(String(t),{parentId:e,title:i}))}onBus(t,e,i,o,r,n,a,s,l,c,d){let u=Wo(t),p=Ami(r,{strokeColor:n,strokeStyle:a,fillColor:s,strokeWidth:l,fillStyle:c},u);this.handleData(this.encode.encodeBus(u,{groupId:i,locked:o,zIndex:this.getZIndex(t),busEntry:d}));for(let m of p)this.handleData(this.encode.encodeLine(b1(),m))}onWire(t,e,i,o,r,n,a,s,l,c){let d=Wo(t),u=Ami(r,{strokeColor:n,strokeStyle:a,fillColor:s,strokeWidth:l,fillStyle:c},d);this.handleData(this.encode.encodeWire(d,{groupId:i,locked:o,zIndex:this.getZIndex(t)}));for(let p of u)this.handleData(this.encode.encodeLine(b1(),p))}};function i1r(t,e,i,o=[],r=new Date().getTime(),n=String(r),a){let s=new t1r(i,o),l="";s.parseFull(e);let c=b1();return s.encodeData&&(l=oC("SCH_PAGE",c,t,r,n,a)+`|
`+s.encodeData),l&&s.blobData.length&&(l=l+`|
`+s.blobEncode.head({doc:"BLOB",client:c,updateTime:r,version:n,user:a})+`|
`+s.blobData.join(`|
`)),l}function o1r(t,e,i=new Date().getTime(),o=String(i),r){let n=new e1r,a="";n.parseFull(e);let s=b1();n.encodeData&&(a=oC("SYMBOL",s,t,i,o,r)+`|
`+n.encodeData),a&&n.blobData.length&&(a=a+`|
`+n.blobEncode.head({doc:"BLOB",client:s,updateTime:i,version:o,user:r})+`|
`+n.blobData.join(`|
`));let l=n.partIdMap;return n.partIdMap={},{dataStr:a,partIdMap:l}}var r1r=class extends Foe{constructor(){super(...arguments),this.doctype="SCH_PAGE"}metaData(t){return{title:t.title,schematic:t.schematic,source:t.source,zIndex:t.zIndex}}transform(t){let{doc:e,dataStr:i,partIdMap:o,device:r,updateTime:n,version:a,user:s}=t;return i1r(e,i,o,r,n,a,s)}},n1r=class extends Foe{constructor(){super(...arguments),this.doctype="SYMBOL"}metaData(t){return{title:t.title,description:t.description,tags:t.tags,docType:t.docType,source:t.source}}transform(t,e={}){let{doc:i,dataStr:o,updateTime:r,version:n,user:a}=t,s=o1r(i,o,r,n,a);return Object.assign(e,s.partIdMap||{}),s.dataStr}},dRe=class extends bRe{constructor(){super(...arguments),this.doctype="FONT"}buildStr(t,e,i){let o=typeof i=="string"?i:JSON.stringify(this.buildData(i));return Wc("FONT",t,e,o)}buildData(t){return{width:t.width,height:t.height,path:t.path}}},a1r=class extends Foe{constructor(){super(...arguments),this.doctype="PANEL_LIB"}metaData(t){return{title:t.display_title||t.title,tags:t.tags,description:t.description||""}}transform(t){let{doc:e,dataStr:i}=t;return chi(e,i,"PANEL_LIB")}},s1r=class extends Foe{constructor(){super(...arguments),this.doctype="SIMULATION"}metaData(t){return{title:t.title,docType:t.docType,source:t.source,zIndex:t.zIndex}}},l1r=class{constructor(){this.blob=new epe,this.font=new dRe,this.board=new Umr,this.config=new Vmr,this.device=new Hmr,this.footprint=new Qmr,this.panel=new Zmr,this.pcb=new Jmr,this.schematic=new qmr,this.sheet=new r1r,this.symbol=new n1r,this.instance=new Kmr,this.panelLib=new a1r,this.simulation=new s1r}},c1r=class extends zmr{constructor(){super(),this.encode=new Fmr,this.maxTicket=0,this.blobEncode=new epe,this.blobData=[],this.encodeData="",this.placeholder=0}handleData(t){this.encodeData?this.encodeData=this.encodeData+`|
`+Wc(t.dataType,++this.maxTicket,t.id,t.data):this.encodeData=Wc(t.dataType,++this.maxTicket,t.id,t.data)}onPHolder(t,e){let i={dataType:t,max:e};this.handleData({id:`placeholder${++this.placeholder}`,dataType:"ELE_PLACEHOLDER",data:JSON.stringify(i)})}strokeStyleType(t){switch(t=t&&Number(t),t){case 0:return"SOLID";case 1:return"SHORT_DASH";case 2:return"DOT";case 3:return"DOT_DASH";default:return null}}transScopeType(t){switch(t=t&&Number(t),t){case 1:return"PRINT";case 2:return"COVER";case 3:return"PRINT&COVER";default:return null}}transAlignType(t){switch(t=t&&Number(t),t){case 0:return"LEFT_BOTTOM";case 1:return"CENTER_BOTTOM";case 2:return"RIGHT_BOTTOM";case 3:return"LEFT_MIDDLE";case 4:return"CENTER_MIDDLE";case 5:return"RIGHT_MIDDLE";case 6:return"LEFT_TOP";case 7:return"CENTER_TOP";case 8:return"RIGHT_TOP";default:return null}}onAuxLine(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w){this.handleData(this.encode.encodeAuxLine(Wo(t),{groupId:e?`e${e}`:"",layer:i,x:o,y:r,rotation:n,strokeWidth:a,strokeStyle:this.strokeStyleType(s),color:l,length:c,locked:d,zIndex:this.getZIndex(t),visible:!p,cover:m,name:h}))}onDimension(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b){this.handleData(this.encode.encodeDimension(Wo(t),{layer:e,dimensionType:i,unit:o,strokeWidth:r,accuracy:n,controlDot:a,relationIds:s,locked:l,zIndex:this.getZIndex(t),valid:!c,visible:!d,cover:u,name:p,rotation:0}))}onString(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M,I){this.handleData(this.encode.encodeString(Wo(t),{groupId:e?`e${e}`:"",layer:i,rotation:o,value:r,fontFamily:n,fontSize:a,fontWeight:s,italic:l,underline:c,strikeout:d,align:this.transAlignType(u),strokeColor:p,opacity:m,locked:h,zIndex:this.getZIndex(t),valid:!f,visible:!g,cover:b,transScope:this.transScopeType(w),transPrint:x,transWhite:S,matrix:T,strokes:M,path:I,name:y}))}onPoly(t,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S){if(typeof s=="string"&&s.startsWith("data:")){let T=$0e(s);this.blobData.push(this.blobEncode.buildStr(1,T,{filename:"",content:s})),s=`blob:${T}`}this.handleData(this.encode.encodePoly(Wo(t),{groupId:e?`e${e}`:"",layer:i,rotation:o,strokeWidth:r,strokeStyle:this.strokeStyleType(n),strokeColor:a,fillColor:s,opacity:l,autoClose:c,ploys:d,displayFill:u,displayStroke:p,locked:m,zIndex:this.getZIndex(t),valid:!h,visible:!f,cover:g,transScope:this.transScopeType(y),transPrint:w,transWhite:x,matrix:S,name:b}))}onGroup(t,e,i,o,r){this.handleData(this.encode.encodeGroup(`e${t}`,{parentId:e?`e${e}`:"",title:i,visible:o,locked:r}))}onCanvas(t){this.handleData(this.encode.encodeCanvas(t))}};function chi(t,e,i,o=new Date().getTime(),r=String(o),n){let a=new c1r,s="";a.parseFull(e);let l=b1();return a.encodeData&&(s=oC(i,l,t,o,r,n)+`|
`+a.encodeData),s&&a.blobData.length&&(s=s+`|
`+a.blobEncode.head({doc:"BLOB",client:l,updateTime:o,version:r,user:n})+`|
`+a.blobData.join(`|
`)),s}var d1r=class extends I1i{constructor(t){let e=t||new mRe;super(e,0,uur),this.cacheNum=null}onParseLine(t,e,i,o,r,n,a){switch(this.setOrderNum(t,a,e),this.cacheNum=a,e){case"MAX_NUM":if(i)for(let l in i)this.setMaxNum(l,i[l]);break;case"BLOB":i?this.onBlob(t,o,r,i,n):this.onDelBlob(t,o,r,n);break;case"FONT":this.parseFont(t,i,o,r,n);break;case"META":i&&this.parseDetail(i,o,r,n);break;case"ELE_PLACEHOLDER":break;case"CANVAS":i&&this.parseCanvas(i,o,r,n);break;case"BOARD":i?this.parseBoard(i,o,r,n):this.onDelBoard(o,r,n);break;case"LAYER":{let l=sZ(t);i?this.parseLayer(l,i,o,r,n):this.onDelLayer(l,o,r,n);break}case"LAYER_PHYS":{let l=sZ(t);i?this.parseLayerPhys(l,i,o,r,n):this.onDelLayerPhys(l,o,r,n);break}case"ACTIVE_LAYER":i&&this.parseActiveLayer(t,i,o,r,n);break;case"PARTITION":i?this.parsePartition(t,i,o,r,n):this.onDelPartition(t,o,r,n);break;case"NET":{let l=sZ(t);i?this.parseNet(l,i,o,r,n):this.onDelNet(l,o,r,n);break}case"PRIMITIVE":{let l=sZ(t);i?this.parsePrimitive(l,i,o,r,n):this.onDelPrimitive(l,o,r,n);break}case"GROUP":i?this.parseGroup(t,i,o,r,n):this.onDelGroup(t,o,r,n);break;case"X_SIGNAL_GROUP":i?this.parseXSignalsGroup(t,i,o,r,n):this.onDelXSignalsGroup(t,o,r,n);break;case"X_SIGNALS":i?this.parseXSignals(t,i,o,r,n):this.onDelXSignals(t,o,r,n);break;case"SILK_OPTS":{let l=sZ(t);i?this.parseSilkOpts(l,i,o,r,n):this.onDelSilkOpts(l,o,r,n);break}case"PREFERENCE":i&&this.parsePreference(t,i,o,r,n);break;case"VIA":i?this.parseVia(t,i,o,r,n):this.onDelVia(t,o,r,n);break;case"PAD":i?this.parsePad(t,i,o,r,n):this.onDelPad(t,o,r,n);break;case"LINE":i?this.parseLine(t,i,o,r,n):this.onDelLine(t,o,r,n);break;case"ARC":i?this.parseArc(t,i,o,r,n):this.onDelArc(t,o,r,n);break;case"OBJ":i?this.parseObj(t,i,o,r,n):this.onDelObj(t,o,r,n);break;case"EQLEN_GRP":i?this.parseEQLenGrp(t,i,o,r,n):this.onDelEQLenGrp(t,o,r,n);break;case"POLY":i?this.parsePoly(t,i,o,r,n):this.onDelPoly(t,o,r,n);break;case"FILL":i?this.parseFill(t,i,o,r,n):this.onDelFill(t,o,r,n);break;case"LAYER_FILL":let s=sZ(t);i?this.parseLayerFill(s,i,o,r,n):this.onDelLayerFill(s,o,r,n);break;case"REGION":i?this.parseRegion(t,i,o,r,n):this.onDelRegion(t,o,r,n);break;case"POUR":i?this.parsePour(t,i,o,r,n):this.onDelPour(t,o,r,n);break;case"POURED":{t=sZ(t),i?this.parsePoured(t,i,o,r,n):this.onDelPoured(t,o,r,n);break}case"IMAGE":i?this.parseImage(t,i,o,r,n):this.onDelImage(t,o,r,n);break;case"TEARDROP":i?this.parseTeardrop(t,i,o,r,n):this.onDelTeardrop(t,o,r,n);break;case"FPC_FILL":i?this.parseFpcFill(t,i,o,r,n):this.onDelFpcFill(t,o,r,n);break;case"SHELL":i?this.parseShell(t,i,o,r,n):this.onDelShell(t,o,r,n);break;case"CREASE":i?this.parseCrease(t,i,o,r,n):this.onDelCrease(t,o,r,n);break;case"SHELLCUT":i?this.parseShellCut(t,i,o,r,n):this.onDelShellCut(t,o,r,n);break;case"SHELL_ENTITY":i?this.parseShellEntity(t,i,o,r,n):this.onDelShellEntity(t,o,r,n);break;case"BOSS":i?this.parseBoss(t,i,o,r,n):this.onDelBoss(t,o,r,n);break;case"STRING":i?this.parseString(t,i,o,r,n):this.onDelString(t,o,r,n);break;case"ATTR":i?this.parseAttr(t,i,o,r,n):this.onDelAttr(t,o,r,n);break;case"DIMENSION":i?this.parseDimension(t,i,o,r,n):this.onDelDimension(t,o,r,n);break;case"COMPONENT":i?this.parseComponent(t,i,o,r,n):this.onDelComponent(t,o,r,n);break;case"PAD_NET":{let l=JSON.parse(t);i?(i.componentId=l[1],i.padNum=l[2],i.padId=l[3],this.parsePadNet(i,o,r,n)):this.onDelPadNet(l[1],l[2],l[3]||"",o,r,n);break}case"RULE_TEMPLATE":i&&this.parseRuleTemplate(t,i,o,r,n);break;case"RULE":{let l=JSON.parse(t);i?(i.ruleType=l[1],i.ruleName=l[2],this.parseRule(i,o,r,n)):this.onDelRule(l[1],l[2],o,r,n);break}case"RULE_SELECTOR":{let l=JSON.parse(t);i?(i.ruleSelect=l[1],this.parseRuleSelector(i,o,r,n)):this.onDelRuleSelector(l[1],o,r,n);break}case"PANELIZE":i?this.parsePanelize(t,i,o,r,n):this.onDelPanelize(o,r,n);break;default:console.warn("can not find hanlder with",i,o,r)}this.cacheNum=null}onOrderNum(t,e,i){switch(this.setOrderNum(t,i,e),e){case"PARTITION":this.onPartitionNum&&this.onPartitionNum(t,i);break;case"VIA":this.onViaNum&&this.onViaNum(t,i);break;case"PAD":this.onPadNum&&this.onPadNum(t,i);break;case"LINE":this.onLineNum&&this.onLineNum(t,i);break;case"ARC":this.onArcNum&&this.onArcNum(t,i);break;case"OBJ":this.onObjNum&&this.onObjNum(t,i);break;case"POLY":this.onPolyNum&&this.onPolyNum(t,i);break;case"FILL":this.onFillNum&&this.onFillNum(t,i);break;case"REGION":this.onRegionNum&&this.onRegionNum(t,i);break;case"POUR":this.onPourNum&&this.onPourNum(t,i);break;case"POURED":let o=sZ(t);this.onPouredNum&&this.onPouredNum(o,i);break;case"IMAGE":this.onImageNum&&this.onImageNum(t,i);break;case"TEARDROP":this.onTeardropNum&&this.onTeardropNum(t,i);break;case"FPC_FILL":this.onFpcFillNum&&this.onFpcFillNum(t,i);break;case"SHELL":this.onShellNum&&this.onShellNum(t,i);break;case"CREASE":this.onCreaseNum&&this.onCreaseNum(t,i);break;case"SHELLCUT":this.onShellCutNum&&this.onShellCutNum(t,i);break;case"SHELL_ENTITY":this.onShellEntityNum&&this.onShellEntityNum(t,i);break;case"BOSS":this.onBossNum&&this.onBossNum(t,i);break;case"STRING":this.onStringNum&&this.onStringNum(t,i);break;case"ATTR":this.onAttrNum&&this.onAttrNum(t,i);break;case"DIMENSION":this.onDimensionNum&&this.onDimensionNum(t,i);break;case"COMPONENT":this.onComponentNum&&this.onComponentNum(t,i);break}}onParseEnd(){}parseCanvas(t,e,i,o){this.onCanvas(e,i,t,o)}parseBoard(t,e,i,o){this.onBoard(t,e,i,o)}parseDetail(t,e,i,o){this.onDocDetail(e,i,t,o)}parseFont(t,e,i,o,r){let n=S1i(t);e?this.onFont(i,o,Object.assign(e,n),r):this.onDelFont(n,i,o,r)}parseLayer(t,e,i,o,r){this.onLayer(t,i,o,e,r)}parseLayerPhys(t,e,i,o,r){this.onLayerPhys(t,i,o,e,r)}parseActiveLayer(t,e,i,o,r){this.onActiveLayer(i,o,e,r)}parsePartition(t,e,i,o,r){this.onPartition(t,this.cacheNum,i,o,e,r)}parseNet(t,e,i,o,r){this.onNet(t,i,o,e,r)}parsePrimitive(t,e,i,o,r){this.onPrimitive(t,i,o,e,r)}parseGroup(t,e,i,o,r){this.onGroup(t,i,o,e,r)}parseXSignalsGroup(t,e,i,o,r){this.onXSignalsGroup(t,e,i,o,r)}parseXSignals(t,e,i,o,r){this.onXSignals(t,e,i,o,r)}parseSilkOpts(t,e,i,o,r){this.onSilkOpts(t,i,o,e,r)}parsePreference(t,e,i,o,r){this.onPreference(i,o,e,r)}parseVia(t,e,i,o,r){this.onVia(t,this.cacheNum,i,o,e,r)}parsePad(t,e,i,o,r){this.onPad(t,this.cacheNum,i,o,e,r)}parseLine(t,e,i,o,r){this.onLine(t,this.cacheNum,i,o,e,r)}parseArc(t,e,i,o,r){this.onArc(t,this.cacheNum,i,o,e,r)}parseObj(t,e,i,o,r){this.onObj(t,this.cacheNum,i,o,e,r)}parseEQLenGrp(t,e,i,o,r){this.onEQLenGrp(t,i,o,e,r)}parsePoly(t,e,i,o,r){this.onPoly(t,this.cacheNum,i,o,e,r)}parseFill(t,e,i,o,r){e.fillStyle!=="PLANE"&&this.onFill(t,this.cacheNum,i,o,e,r)}parseLayerFill(t,e,i,o,r){this.onLayerFill(t,i,o,e,r)}parseRegion(t,e,i,o,r){this.onRegion(t,this.cacheNum,i,o,e,r)}parsePour(t,e,i,o,r){this.onPour(t,this.cacheNum,i,o,e,r)}parsePoured(t,e,i,o,r){let n=e;Array.isArray(e)&&(n={pourFill:e}),n.pourFill&&this.onPoured(t,this.cacheNum,i,o,n,r)}parseImage(t,e,i,o,r){this.onImage(t,this.cacheNum,i,o,e,r)}parseTeardrop(t,e,i,o,r){this.onTeardrop(t,this.cacheNum,i,o,e,r)}parseFpcFill(t,e,i,o,r){this.onFpcFill(t,this.cacheNum,i,o,e,r)}parseShell(t,e,i,o,r){this.onShell(t,this.cacheNum,i,o,e,r)}parseCrease(t,e,i,o,r){this.onCrease(t,this.cacheNum,i,o,e,r)}parseShellCut(t,e,i,o,r){this.onShellCut(t,this.cacheNum,i,o,e,r)}parseShellEntity(t,e,i,o,r){this.onShellEntity(t,this.cacheNum,i,o,e,r)}parseBoss(t,e,i,o,r){this.onBoss(t,this.cacheNum,i,o,e,r)}parseDimension(t,e,i,o,r){this.onDimension(t,this.cacheNum,i,o,e,r)}parseRuleTemplate(t,e,i,o,r){this.onRuleTemplate(i,o,e,r)}parseRule(t,e,i,o){this.onRule(e,i,t,o)}parseRuleSelector(t,e,i,o){if(t.ruleKeyValue&&(t.ruleKeyValue=z0e(t.ruleKeyValue)),t.copperValue&&t.copperValue.hasOwnProperty("7")){let r=t.copperValue[7];delete t.copperValue[7],t.copperValue.COPPER=r}if(t.innerPlaneValue&&t.innerPlaneValue.hasOwnProperty("6")){let r=t.innerPlaneValue[6];delete t.innerPlaneValue[6],t.innerPlaneValue.PLANE=r}this.onRuleSelector(e,i,t,o)}parsePanelize(t,e,i,o,r){this.onPanelize(i,o,e,r)}parseComponent(t,e,i,o,r){this.onComponent(t,this.cacheNum,i,o,e,r)}parsePadNet(t,e,i,o){this.onPadNet(e,i,t,o)}parseAttr(t,e,i,o,r){this.onAttr(t,this.cacheNum,i,o,e,r)}parseString(t,e,i,o,r){this.onString(t,this.cacheNum,i,o,e,r)}};var u1r=(t=>(t.UNIVERSAL="UNIVERSAL",t))(u1r||{}),gZ=(t=>(t.SINGLE="SINGLE",t.MULTIPLE="MULTIPLE",t))(gZ||{}),G6=(t=>(t.NONE="NONE",t.NAME="NAME",t.NUMBER="NUMBER",t))(G6||{}),$9=(t=>(t.NONE="NONE",t.ZONE="ZONE",t))($9||{}),p1r=class extends I1i{constructor(t){let e=t||new mRe;super(e)}onParseLine(t,e,i,o,r,n){switch(e){case"UNIVERSAL":{i&&this.onUniversal(i,r,o,n);break}}}onParseEnd(){}},m1r=X0e(zxe());function q0e(){return self.EDITOR_TOP||self}function $Oe(t){return self[t]=self[t]||new m1r.BroadcastChannelMessageBus(t)}var Poe=(t,e)=>{let i=/{([^}]*)}/gim,o=[...new Set(t.match(i))];for(let r=0;r<o.length;r++){let n=o[r],a=n.substring(1,n.length-1);e[a]&&(t=t.replace(n,e[a]))}return t};var h1r=X0e(zxe()),B0={getTime:"/pro-mgr/serverTime/now",getUserL:"/pro-ui/loginUser/get",subMaxTick:"/pro-mgr/project/ticket",subBlob:"/pro-mgr/canvas/BLOB/update",subFont:"/pro-mgr/canvas/FONT/update",subRevoke:"/pro-mgr/{uuid}/revoke",pushPend:"/pro-mgr/worker/batchPendData",pushSync:"/pro-mgr/dataWorker/sync",pushRevoke:"/pro-mgr/worker/revoke",pullASync:"/pro-mgr/dataWorker/sync/{id}",personDestroy:"/mgr/libWorker/destroy",projectUpdate:"/pro-mgr/canvas/{uuid}/update",personUpdate:"/mgr/libWorker/component/{uuid}/update",personSave:"/mgr/libWorker/save",projectSave:"/mgr/projectWorker/setCanvas",canSavePend:"/mgr/projectWorker/canSavePend",hasSaveData:"/mgr/check/hasSaveData"},f1r={projectUpdate:B0.projectUpdate,personUpdate:B0.personUpdate,projectCanSave:B0.canSavePend,getProject:"/mgr/projectWorker/footprint/getCanvas",getPerson:"/mgr/libWorker/getFootprint",unwatch:"/mgr/projectWorker/footprint/unwatchCanvas"},g1r={projectUpdate:B0.projectUpdate,projectCanSave:B0.canSavePend,getProject:"/mgr/projectWorker/pcb/getCanvas",unwatch:"/mgr/projectWorker/pcb/unwatchCanvas"},bPn={projectUpdate:B0.projectUpdate,projectCanSave:B0.canSavePend,getProject:"/mgr/projectWorker/sheet/getCanvas",unwatch:"/mgr/projectWorker/sheet/unwatchCanvas"},yPn={projectUpdate:B0.projectUpdate,getProject:"/mgr/projectWorker/schematic/getCanvas",unwatch:"/mgr/projectWorker/schematic/unwatchCanvas"},wPn={projectUpdate:B0.projectUpdate,projectCanSave:B0.canSavePend,getProject:"/mgr/projectWorker/simulation/getCanvas",unwatch:"/mgr/projectWorker/simulation/unwatchCanvas"},CPn={projectUpdate:B0.projectUpdate,personUpdate:B0.personUpdate,projectCanSave:B0.canSavePend,getProject:"/mgr/projectWorker/symbol/getCanvasOnCompiler",getPerson:"/mgr/libWorker/getSymbol",unwatch:"/mgr/projectWorker/symbol/unwatchCanvas"},xPn={projectUpdate:B0.projectUpdate,personUpdate:B0.personUpdate,projectCanSave:B0.canSavePend,getProject:"/mgr/projectWorker/panel/getCanvas",getPerson:"/mgr/libWorker/getPanelLib",unwatch:"/mgr/projectWorker/panel/unwatchCanvas"};var b1r={projectUpdate:"/pro-mgr/projectWorker/projectSetting/update",getProject:"/mgr/projectWorker/config/getSetting"},H6={send:"/pro-mgr/notify/send",sendMsg:"/document/sendMsg/cooperation",unwatch:"/document/unwatch/cooperation",watch:"/document/watch/cooperation",message:"/pro-mgr/notify/message/{path}/{uuid}/cooperation",established:"/pro-mgr/notify/message/ws/established",getWsId:"/pro-mgr/notify/getWsId",disconnect:"/pro-mgr/notify/message/ws/disconnect"},Uoe=class{constructor(t=!0){this._lockerTicket=0,this.isPull=!1,this.compiler={},this.order={SYMBOL:1,FOOTPRINT:2,DEVICE:3,SCH_PAGE:4,PCB:5},this._locker=t?++this._lockerTicket:0}getOrder(t){return this.order[t]||6}publish(){if(!this.isPull){this.isPull=!0,this._temporaryUnlock=this._locker;try{let t=Object.keys(this.compiler).sort((i,o)=>this.getOrder(i)-this.getOrder(o)),e=!1;for(let i of t){for(let[,o]of this.compiler[i])if(e=o.publish(),e)break;if(e)break}}finally{this._temporaryUnlock=0,this.isPull=!1}}}canPush(){return!this._locker||this._locker===this._temporaryUnlock}addCompiler(t){this.compiler[t.headType]||(this.compiler[t.headType]=new Map),this.compiler[t.headType].set(t.uniqueId,t)}removeCompiler(t){var e,i,o;(o=(i=(e=this.compiler)==null?void 0:e[t.headType])==null?void 0:i.delete)==null||o.call(i,t.uniqueId)}pull(){if(!this._locker)throw Error("\u4E0D\u5141\u8BB8\u5728\u975E pause \u72B6\u6001\u4E0B\u62C9\u53D6\u6570\u636E");this.publish()}resume(){this._locker=0,this.publish()}pause(){this._locker=++this._lockerTicket}dispose(){for(let t in this.compiler)this.compiler[t].clear();this.compiler=null}},cZ={publish:"publish",destroy:"destroy",init:"init",selected:"selected"},rwt=class{constructor(t,e,i,o=(a=>(a=q0e())==null?void 0:a._TAB_ID_)(),r,n){this.uuid=t,this.path=e,this.user=i,this.windowId=o,this.initIds={},this.sub=[];var a;this.wsBus=n||$Oe(`/${this.windowId}/notify`),this.dataBus=r||this.wsBus,this._client=(a=q0e())==null?void 0:a._WS_ID_}get client(){return this._client}watch(){this.dataBus.publish(H6.send,{topic:H6.watch,uuid:this.uuid,path:this.path})}initPublish(){var t;this.dataBus.publish(H6.send,{topic:H6.sendMsg,uuid:this.uuid,path:this.path,msg:{type:cZ.publish,user:this.user,client:this.client,data:((t=this.getSelect)==null?void 0:t.call(this))||""}})}async init(){if(!this.isInit){if(this.sub.push(this.wsBus.subscribe(H6.established,t=>{this._client=t,this.watch(),this.initPublish()})),!this.client){let t=await this.wsBus.rpcCall(H6.getWsId);if(!t||this.client)return;this._client=t}this.watch(),this.sub.push(this.wsBus.subscribe(H6.disconnect,t=>{this.initIds[t]&&this.onDestroy(this.initIds[t],t)})),this.sub.push(this.dataBus.subscribe(Poe(H6.message,{uuid:this.uuid,path:this.path}),t=>{if(t.type===1)t.connectId&&this.initIds[t.connectId]&&this.onDestroy(this.initIds[t.connectId],t.connectId);else if(t.msg){let e=t.msg;if(e.client===this.client)return;switch(e.type){case cZ.destroy:this.onDestroy(e.userId,e.client),delete this.initIds[e.client];break;case cZ.init:this.initIds[e.client]||(this.initIds[e.client]=e.user.uuid,this.onSelected(e.user,e.client,e.data||""));break;case cZ.selected:this.onSelected(e.user,e.client,e.data||"");break;case cZ.publish:this.dataBus.publish(H6.send,{topic:H6.sendMsg,uuid:this.uuid,path:this.path,msg:{type:cZ.init,user:this.user,client:this.client,data:this.getSelect()||""}}),this.initIds[e.client]=e.user.uuid,this.onSelected(e.user,e.client,e.data||"");break;default:break}}})),this.initPublish(),this.isInit=!0}}publishSelected(t,e){this.dataBus.publish(H6.send,{topic:H6.sendMsg,uuid:this.uuid,path:this.path,msg:{type:cZ.selected,user:this.user,client:this.client,data:t}}),e&&this.onSelected(this.user,this.client,t)}destroy(){if(this.isInit){this.isInit=!1,this.dataBus.publish(H6.send,{topic:H6.unwatch,uuid:this.uuid,path:this.path,msg:{type:cZ.destroy,userId:this.user.uuid,client:this.client}});for(let t of this.sub)t.cancel();this.sub=[],this.initIds={}}}},b1i=class extends rwt{constructor(t,e,i,o,r,n,a,s){super(t,e,s,i,r,n),this.channel=o,this.selectedProps=a,this.cache=new Map,this.deleteCache=new Map}rePublish(){var t,e,i,o;if(this.channel.canPush()){for(let[r,n]of this.cache)(e=(t=this.selectedProps)==null?void 0:t.onSelect)==null||e.call(t,n.user,r,n.data);for(let[r,n]of this.deleteCache)(o=(i=this.selectedProps)==null?void 0:i.onQuit)==null||o.call(i,n,r)}}getSelect(){var t,e;return((e=(t=this.selectedProps)==null?void 0:t.getSelect)==null?void 0:e.call(t))||""}onSelected(t,e,i){var o,r;this.channel.canPush()?!this.deleteCache.has(e)&&this.cache.set(e,{user:t,data:i}):(r=(o=this.selectedProps)==null?void 0:o.onSelect)==null||r.call(o,t,e,i)}onDestroy(t,e){var i,o;this.channel.canPush()?(this.deleteCache.set(e,t),this.cache.delete(e)):(o=(i=this.selectedProps)==null?void 0:i.onQuit)==null||o.call(i,t,e)}dispose(){this.destroy(),this.cache.clear(),this.deleteCache.clear()}publishSelected(t,e){super.publishSelected(t,e)}},dhi=class{constructor(t,e,i,o=(b=>(b=q0e())==null?void 0:b._TAB_ID_)(),r=new Uoe,n=null,a,s,l,c,d,u,p,m,h,f,g){this.uuid=t,this.path=e,this.isProject=i,this.windowId=o,this.channel=r,this.consistencyManager=n,this.selectedProps=l,this.setInit=c,this.onDocDetail=d,this.onUpdate=u,this.handleInit=p,this.onDelete=m,this.publishCache=h,this.onOrderNm=f,this.setMaxNum=g,this.isInit=!1,this.canSave=!0,this.sub=[],this.isInitIng=!1,this.cache={},this.deleteCache=new Map,this.pendTimer=null,this.pendPromise=null,this.pendCache={},this.pendCacheLength=0,this.wsBus=$Oe(`/${o}/notify`),n||(this._unique=b1()),this._headType=a,this.busTopic=s}get uniqueId(){return this._unique||this.consistencyManager.getUnique()}get headType(){return this._headType}setIsInitIng(t){var e;(e=this.setInit)==null||e.call(this,t),this.isInitIng=t}consoleDebug(...t){console.debug("[lc-protocol]",this._headType,this.uuid,...t)}publishLine(t,e,i,o,r,n=this.uuid,a,s,l,c,d){if(this.channel.canPush())return this.consistencyManager.remoteChange(e,r,n,t,i,o,void 0,void 0,void 0,a,void 0,s,l,d),!1;this.cache[n]||(this.cache[n]=new Map);let u=this.cache[n].get(t);return(c||!u||u.ticket<e||u.ticket===e&&(u.client<r||u.client===r&&!!u.pend!=!!a))&&this.cache[n].set(t,{client:r,ticket:e,dataType:o,data:i,pend:a,unique:s,pChange:u?void 0:l,num:d}),!0}onDocHead(){}onEnd(){}setDocType(t,e){t===this.uuid&&(this._headType=e)}setBusTopic(t){this.busTopic=t}publish(){var t,e,i;if(this.publishCache)return this.publishCache();let o=!1;for(let[r,n]of this.deleteCache){if(this.channel.canPush()){(t=this.onDelete)==null||t.call(this,n),delete this.cache[r];continue}o=!0;break}if(o)return o;for(let r in this.cache){let n=this.cache[r].keys();for(let a of n){let s=this.cache[r].get(a);if(o=this.publishLine(a,s.ticket,s.data,s.dataType,s.client,r,s.pend,s.unique,s.pChange,!1,s.num),o)break;this.cache[r].delete(a)}if(o)break}return(i=(e=this.selectManager)==null?void 0:e.rePublish)==null||i.call(e),o}publishSelected(t,e){this.selectManager.publishSelected(t,e)}clear(){var t,e;for(let i of this.sub)i.cancel();this.sub.length=0,this.cache={},this.deleteCache.clear(),this.setIsInitIng(!1),this.channel.removeCompiler(this),(e=(t=this.selectManager)==null?void 0:t.dispose)==null||e.call(t),this.selectManager=null,this.isInit=!1,this.setIsInitIng(!1)}async init(t=!0,e=!0,i=!0,o,r,n,a){try{if(this.isInit)return{success:!0};if(this.isInitIng)throw new Error("\u6B63\u5728\u521D\u59CB\u5316\u4E2D");return this.isProject?await this.initProject(t,e,i,o,n,a):await this.initLib(i,o,r,n,a)}catch(s){throw this.clear(),new Error(`${this._headType}+'Compiler' ${this.uuid} init false: ${(s==null?void 0:s.message)||s||""}`,{cause:s})}finally{this.isInitIng=!1}}async flowRead(t){let e=this.consistencyManager.flowParseFull(),i=e.update,o=this;e.update=r=>{if(o.isDestroy)return!0;i(r)},await(0,h1r.flowRead)(t,e)}pushOnLine(t,e){if(this.consistencyManager)for(let i of t)this.publishLine(i[0],i[1],i[2],i[3],i[4],e,i[5],i[6],i[7],!1,i[8])}async initProject(t,e,i,o,r,n){if(this.setIsInitIng(!0),this.channel.addCompiler(this),this.dataBus=$Oe(`/${this.windowId}/project/${this.path}`),r&&this.sub.push(this.dataBus.subscribe(`/pro-mgr/${this.uuid}/number/update`,l=>{if(this.onOrderNm)for(let c of l)this.onOrderNm(c[0],c[1],c[2])})),i&&this.busTopic.projectUpdate&&this.sub.push(this.dataBus.subscribe(Poe(this.busTopic.projectUpdate,{uuid:this.uuid}),l=>{this.onUpdate?this.onUpdate(l):this.pushOnLine(l,this.uuid)})),i&&this.busTopic.projectCanSave&&this.sub.push(this.dataBus.subscribe(this.busTopic.projectCanSave,l=>{this.canSave=l})),i&&this.busTopic.subDelete&&this.sub.push(this.dataBus.subscribe(this.busTopic.subDelete,l=>{var c;this.channel.canPush()?(c=this.onDelete)==null||c.call(this,l):this.deleteCache.set(l[0],l)})),i&&this.consistencyManager&&this.sub.push(this.dataBus.subscribe(B0.subMaxTick,l=>{this.consistencyManager.setMaxTicket(l.ticket,l.force)})),i&&e&&this.sub.push(this.dataBus.subscribe(B0.subBlob,l=>{this.pushOnLine(l,"BLOB")})),i&&t&&this.sub.push(this.dataBus.subscribe(B0.subFont,l=>{this.pushOnLine(l,"FONT")})),i&&this.consistencyManager&&this.sub.push(this.dataBus.subscribe(Poe(B0.subRevoke,{uuid:this.uuid}),l=>this.revoke(l))),!this.busTopic.getProject)throw new Error("\u83B7\u53D6\u6570\u636E\u5931\u8D25\uFF01\uFF01\uFF01");this.isDestroy=!1;let a={doc:[this.uuid],watch:i,needNum:r,needDelete:n};e&&a.doc.push("BLOB"),t&&a.doc.push("FONT");let s=await this.dataBus.rpcCall(this.busTopic.getProject,a);if(this.isWatch=i,!this.isDestroy){if(!s.success)throw new Error("\u83B7\u53D6\u6570\u636E\u5931\u8D25\uFF01\uFF01\uFF01",s);if(this.canSave=!(s!=null&&s.readOnly),this.consoleDebug("init",s.result),s.maxTicket&&this.consistencyManager&&this.consistencyManager.setMaxTicket(s.maxTicket),s.data&&this.onDocDetail&&this.onDocDetail(s.client||b1(),0,s.data,!1),s.channel&&await this.flowRead(s.channel),!this.isDestroy){if(this.handleInit?this.handleInit(s):s.result&&this.consistencyManager&&this.consistencyManager.parseFull(s.result,this.uuid,this._headType),o){let l=this.user=this.user||s.user||await this.wsBus.rpcCall(B0.getUserL);this.selectManager=new b1i(this.uuid,this.path,this.windowId,this.channel,this.dataBus,this.wsBus,this.selectedProps,l),await this.selectManager.init()}return this.isInit=!0,this.setIsInitIng(!1),{success:!0}}}}async initLib(t,e,i,o,r){if(this.setIsInitIng(!0),this.channel.addCompiler(this),this.dataBus=$Oe(`/${this.windowId}/libWorker`),!this.busTopic.getPerson)throw new Error("\u83B7\u53D6\u6570\u636E\u5931\u8D25\uFF01\uFF01\uFF01");let n=i?b1():"";this.isDestroy=!1;let a=await this.dataBus.rpcCall(this.busTopic.getPerson,{uuid:this.uuid,path:this.path,watch:t,channel:n,needNum:o,needDelete:r});if(this.isWatch=t,this.isDestroy)return;if(!a.success)throw new Error("\u83B7\u53D6\u6570\u636E\u5931\u8D25\uFF01\uFF01\uFF01",a);this.consoleDebug("init",a.dataStr);let s=a.data||a.result;if(s&&this.onDocDetail&&this.onDocDetail(a.client||b1(),0,s,!1),o&&this.sub.push(this.dataBus.subscribe(`/pro-mgr/${this.uuid}/number/update`,l=>{if(this.onOrderNm)for(let c of l)this.onOrderNm(c[0],c[1],c[2])})),t&&this.busTopic.personUpdate&&this.sub.push(this.dataBus.subscribe(Poe(this.busTopic.personUpdate,{uuid:this.uuid}),l=>{this.pushOnLine(l,this.uuid)})),t&&this.sub.push(this.dataBus.subscribe(Poe(Poe(B0.subRevoke,{uuid:this.uuid}),{uuid:this.uuid}),l=>this.revoke(l))),n&&await this.flowRead(n),!this.isDestroy){if(a.dataStr&&this.consistencyManager&&this.consistencyManager.parseFull(a.dataStr),e){let l=this.user=this.user||a.user||await this.wsBus.rpcCall(B0.getUserL);this.selectManager=new b1i(this.uuid,this.path,this.windowId,this.channel,this.wsBus,this.wsBus,this.selectedProps,l),await this.selectManager.init()}return this.isInit=!0,this.setIsInitIng(!1),{success:!0}}}revoke(t){for(let e of t)this.consistencyManager&&this.consistencyManager.revoke(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],(...i)=>this.publishLine(...i)),e[10]&&this.setMaxNum&&this.setMaxNum(e[6],e[10],e[1])}cachePendData(t,e,i,o,r,n){if(this.pendCache[t]||(this.pendCache[t]={type:n,pend:[]}),this.pendCache[t].pend.push([e,i,r,o]),this.pendCacheLength+=o.length+1,this.pendCacheLength>1e7&&this.publishPendData(),!this.pendTimer){let a;this.pendPromise=new Promise(s=>a=s),this.pendTimer=setTimeout(()=>{this.publishPendData(),a&&a(),this.pendTimer=null},0)}}publishPendData(){if(this.pendCacheLength){this.dataBus.publish(B0.pushPend,[this.pendCache,this.consistencyManager.getClient(),this.uniqueId,this.uuid]);for(let t in this.pendCache)this.pendCache[t].pend.length=0;this.pendCache={},this.pendCacheLength=0}}localChange(t,e,i,o=this.uuid,r,n){if(!this.isInit||!this.canSave||!this.consistencyManager)return 0;if(e&&!e.startsWith("{"))return console.error("\u4E0A\u4F20\u7684\u683C\u5F0F\u4E0D\u6B63\u786E",t,i,e),0;let a=this.consistencyManager.localChange(o,t,e,i,r,n);return this.cachePendData(o,t,a,e,i,r||this.headType),a}async sync(){if(!this.isInit)throw new Error("\u6570\u636E\u672A\u521D\u59CB\u5316\uFF0C\u65E0\u6CD5\u540C\u6B65");let t=b1();this.dataBus.publish(B0.pushSync,t),await this.dataBus.pullA(Poe(B0.pullASync,{id:t}))}async destroy(){return this.isDestroy?{success:!1}:(this.consistencyManager&&this.dataBus&&(this.pendPromise&&await this.pendPromise,this.dataBus.publish(B0.pushRevoke,[this.uuid,this.uniqueId,this.consistencyManager.getClient()])),this.clear(),this.isDestroy=!0,this.isWatch&&this.dataBus&&!this.isProject&&this.dataBus.publish(B0.personDestroy,{uuid:this.uuid,path:this.path}),this.isWatch&&this.dataBus&&this.busTopic.unwatch&&this.dataBus.publish(this.busTopic.unwatch,this.uuid),this.isWatch=!1,{success:!0})}async save(t=[this.uuid,"BLOB","FONT"]){try{if(!this.isInit)throw new Error("\u6570\u636E\u672A\u521D\u59CB\u5316\uFF0C\u65E0\u6CD5\u4FDD\u5B58");if(!this.consistencyManager)throw new Error("\u65E0\u6CD5\u652F\u6301\u4FDD\u5B58");let e=this.isProject?B0.projectSave:B0.personSave;if(!e)throw new Error("\u65E0\u6CD5\u652F\u6301\u4FDD\u5B58");this.pendPromise&&await this.pendPromise;let i=await this.dataBus.rpcCall(e,{uuid:this.uuid,path:this.path,docIds:t,uniqueId:this.uniqueId,client:this.consistencyManager.getClient()});return this.consoleDebug("save",i),i}catch(e){throw new Error(`${this._headType}+'Compiler' ${this.uuid} \u4FDD\u5B58\u5931\u8D25: ${(e==null?void 0:e.message)||e||""}`,{cause:e})}}async getBlob(t){return this.dataBus.rpcCall("/mgr/projectWorker/blob/getBlob",t)}async getFont(t,e,i,o,r,n,a,s){let l={text:t,fontFamily:e,fontSize:i,thickness:o,bold:r,italic:n,reverse:a,expansion:s},c=await this.dataBus.rpcCall("/mgr/projectWorker/font/get",l);return c.success?{success:!0,result:Object.assign(l,JSON.parse(c.result))}:c}async checkSave(){return this.pendPromise&&await this.pendPromise,await this.dataBus.rpcCall(B0.hasSaveData,{uuid:this.uuid,uniqueId:this.uniqueId})}},uhi=class extends p1r{constructor(t,e,i=(o=>(o=q0e())==null?void 0:o._TAB_ID_)()){let o=new mRe(b1());super(o),this.project=t,this.windowId=i,this.base=new dhi("CONFIG",t,!0,i,e,o,"CONFIG",b1r,void 0,(...r)=>this.setIsInit(...r),void 0,r=>this.base.publishLine(r[2],r[0],r[3],r[4],r[1],"CONFIG"))}async init(t=!0){return this.base.init(!1,!1,t,!1)}async sync(){return this.base.sync()}async destroy(){return this.base.destroy()}async save(){return this.base.save()}checkSave(){return this.base.checkSave()}localChange(t,e,i){return this.base.localChange(t,e,i,"CONFIG")}uploadUniversal(t){return{success:!0,ticket:this.localChange("UNIVERSAL",JSON.stringify(t),"UNIVERSAL")}}},y1r=(t=>(t.DIFFERENTIAL_PAIR="DIFFERENTIAL_PAIR",t.NET_CLASS="NET_CLASS",t.EQL_NET_GRP="EQL_NET_GRP",t))(y1r||{});var __=class extends x1i{constructor(){super(),this.isExtractComponent=!1,this.extractAttrKey=["Footprint","Device","Origin Footprint","3D Model Transform","3D Model","3D Model Title","Origin 3D Model Title"],this.calculation=new M1i,this.schComponents={},this.pcbComponents={},this.footprintAttr={},this.otherData={},this.notCanvas=!1,this.canvas={},this.cLine=null,this.maxTicket=0,this.datas={config:{},boards:{},schematics:{},sheets:{},pcbs:{},panels:{},panelLibs:{},symbols:{},footprints:{},devices:{},blobs:{},fonts:{},instances:{},simulations:{}}}get project(){return this.datas}setIsExtractComponent(t){this.isExtractComponent=t,this.setNotCanvas(t)}setNotCanvas(t){this.notCanvas=t}onLine(t,e,i,o,r,n,a,s,l,c,d,u){switch(e>this.maxTicket&&(this.maxTicket=e),this.cLine=this.isExtractComponent?null:u,n){case"CONFIG":{this.parseConfig(o,a,i);break}case"BOARD":{this.parseBoard(o,a,i);break}case"SCH":{this.parseSchematic(o,a,i);break}case"SCH_PAGE":{this.parseSheet(o,a,i,e,t,n,r,s);break}case"SIMULATION":{this.parseSimulation(o,a,i,e,t,n,r,s);break}case"PCB":{this.parsePcb(o,a,i,e,t,n,r,s);break}case"PANEL":{this.parsePanel(o,a,i,e,t,n,r);break}case"PANEL_LIB":{this.parsePanelLib(o,a,i,e,t,n,r);break}case"SYMBOL":{this.parseSymbol(o,a,i,e,t,n,r);break}case"FOOTPRINT":{this.parseFootprint(o,a,i,e,t,n,r);break}case"DEVICE":{this.parseDevice(o,a,i);break}case"BLOB":{this.parseBlob(o,t,i);break}case"FONT":{this.parseFont(o,t,i);break}case"INSTANCE":{this.parseInstance(o,a,t,i);break}default:this.otherData[a]||(this.otherData[a]=oC(n,r,a)),this.otherData[a]=this.otherData[a]+`|
`+Wc(o,e,t,i)}this.cLine=null}onDocHead(t,e){let i=t.user||{uuid:e==null?void 0:e.uuid,username:e==null?void 0:e.username,nickname:e==null?void 0:e.nickname},{docType:o,uuid:r}=t,n=t.updateTime||(e==null?void 0:e.updateTime),a=t.version||String(n);switch(o){case"CONFIG":break;case"BOARD":break;case"SCH":{if(!this.datas.schematics[r])this.datas.schematics[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.schematics[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"SCH_PAGE":{if(!this.datas.sheets[r])this.datas.sheets[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.sheets[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"SIMULATION":{if(!this.datas.simulations[r])this.datas.simulations[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.simulations[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"PCB":{if(!this.datas.pcbs[r])this.datas.pcbs[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.pcbs[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"PANEL":{if(!this.datas.panels[r])this.datas.panels[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.panels[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"PANEL_LIB":{if(!this.datas.panelLibs[r])this.datas.panelLibs[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.panelLibs[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"SYMBOL":{if(!this.datas.symbols[r])this.datas.symbols[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.symbols[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"FOOTPRINT":{if(!this.datas.footprints[r])this.datas.footprints[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.footprints[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"DEVICE":{if(!this.datas.devices[r])this.datas.devices[r]={uuid:r,creator:i,createTime:n,modifier:i,updateTime:n,version:a};else{let s=this.datas.devices[r];(!s.createTime||n<s.createTime)&&(s.createTime=n,s.creator=i),(!s.updateTime||s.updateTime<n)&&(s.updateTime=n,s.modifier=i,s.version=a)}break}case"BLOB":break;case"INSTANCE":break}}onEnd(){}parse(t){if(!t)return null;try{return JSON.parse(t)}catch(e){return console.error("\u5DE5\u7A0B\u6570\u636E\u89E3\u6790\u9519\u8BEF",e),null}}handleCanvas(){if(this.datas.sheets)for(let t in this.datas.sheets)this.canvas[t]&&(this.datas.sheets[t].canvas=Eoe(this.canvas[t],`|
`),delete this.canvas[t]),this.datas.sheets[t].doc_id=this.calculation.getOrderNum(t,this.datas.sheets[t].schematic);if(this.datas.simulations)for(let t in this.datas.simulations)this.canvas[t]&&(this.datas.simulations[t].canvas=Eoe(this.canvas[t],`|
`),delete this.canvas[t]);if(this.datas.pcbs)for(let t in this.datas.pcbs)this.canvas[t]&&(this.datas.pcbs[t].canvas=Eoe(this.canvas[t],`|
`),delete this.canvas[t]);if(this.datas.panels)for(let t in this.datas.panels)this.canvas[t]&&(this.datas.panels[t].canvas=Eoe(this.canvas[t],`|
`),delete this.canvas[t]);if(this.datas.panelLibs)for(let t in this.datas.panelLibs)this.canvas[t]&&(this.datas.panelLibs[t].canvas=Eoe(this.canvas[t],`|
`),delete this.canvas[t]);if(this.datas.symbols)for(let t in this.datas.symbols)this.canvas[t]&&(this.datas.symbols[t].canvas=Eoe(this.canvas[t],`|
`),delete this.canvas[t]);if(this.datas.footprints)for(let t in this.datas.footprints)this.canvas[t]&&(this.datas.footprints[t].canvas=Eoe(this.canvas[t],`|
`),delete this.canvas[t])}start(t){return this.parseFull(t),this.datas.otherData=this.otherData,this.handleCanvas(),this.datas}getProject(){return this.datas.otherData=this.otherData,this.handleCanvas(),this.datas}parseConfig(t,e,i){if(!this.isExtractComponent)switch(t){case"META":{let o=this.parse(i);this.datas.config=o;break}}}parseBoard(t,e,i){if(!this.isExtractComponent)switch(this.datas.boards[e]||(this.datas.boards[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let o=this.parse(i);o&&Object.assign(this.datas.boards[e],o);break}}}parseSchematic(t,e,i){if(!this.isExtractComponent)switch(this.datas.schematics[e]||(this.datas.schematics[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let o=this.parse(i);o&&Object.assign(this.datas.schematics[e],o);break}}}parseSheet(t,e,i,o,r,n,a,s){switch(this.datas.sheets[e]||(this.datas.sheets[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let l=this.parse(i);t==="META"&&this.calculation.setOrderNum(e,l.schematic,s||o,a),l&&Object.assign(this.datas.sheets[e],l);break}case"META_PLACEHOLDER":{if(!i)break;let l=this.parse(i);if(l.max<1){console.error("META_PLACEHOLDER more than 1",l);break}let c=r.split("_"),d=r.split("_")[0],u=c[1]?c[1]:d;this.calculation.setOrderNum(u,d,s||o,a,l.max),l.dataType==="META"&&delete this.datas.sheets[e];break}case"COMPONENT":if(this.isExtractComponent&&i){let l=this.parse(i);if(this.schComponents[e]||(this.schComponents[e]=new Map),!this.schComponents[e].has(r))this.schComponents[e].set(r,{component:{ticket:o,data:l},attr:{}});else{let c=this.schComponents[e].get(r);c.component.ticket<=o&&(c.component.ticket=o,c.component.data=l)}break}case"ATTR":if(this.isExtractComponent&&i){let l=this.parse(i);if(this.extractAttrKey.includes(l.key)){if(this.schComponents[e]||(this.schComponents[e]=new Map),!this.schComponents[e].has(l.parentId))this.schComponents[e].set(l.parentId,{component:{ticket:0,data:null},attr:{[r]:{ticket:o,data:l}}});else{let c=this.schComponents[e].get(l.parentId);(!c.attr[r]||c.attr[r].ticket<=o)&&(c.attr[r]={ticket:o,data:l})}break}}default:{if(this.notCanvas)break;if(!this.canvas[e]){let{updateTime:l,version:c}=this.datas.sheets[e];this.canvas[e]=[oC(n,a,e,l,c)]}this.canvas[e].push(this.cLine);break}}}parseSimulation(t,e,i,o,r,n,a,s){switch(this.datas.simulations[e]||(this.datas.simulations[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let l=this.parse(i);l&&Object.assign(this.datas.simulations[e],l);break}case"COMPONENT":if(this.isExtractComponent&&i){let l=this.parse(i);if(this.schComponents[e]||(this.schComponents[e]=new Map),!this.schComponents[e].has(r))this.schComponents[e].set(r,{component:{ticket:o,data:l},attr:{}});else{let c=this.schComponents[e].get(r);c.component.ticket<=o&&(c.component.ticket=o,c.component.data=l)}break}case"ATTR":if(this.isExtractComponent&&i){let l=this.parse(i);if(this.extractAttrKey.includes(l.key)){if(this.schComponents[e]||(this.schComponents[e]=new Map),!this.schComponents[e].has(l.parentId))this.schComponents[e].set(l.parentId,{component:{ticket:0,data:null},attr:{[r]:{ticket:o,data:l}}});else{let c=this.schComponents[e].get(l.parentId);(!c.attr[r]||c.attr[r].ticket<=o)&&(c.attr[r]={ticket:o,data:l})}break}}default:{if(this.notCanvas)break;if(!this.canvas[e]){let{updateTime:l,version:c}=this.datas.simulations[e];this.canvas[e]=[oC(n,a,e,l,c)]}this.canvas[e].push(this.cLine);break}}}parsePcb(t,e,i,o,r,n,a,s){switch(this.datas.pcbs[e]||(this.datas.pcbs[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let l=this.parse(i);l&&Object.assign(this.datas.pcbs[e],l);break}case"COMPONENT":if(this.isExtractComponent&&i){let l=this.parse(i);if(this.pcbComponents[e]||(this.pcbComponents[e]=new Map),!this.pcbComponents[e].has(r))this.pcbComponents[e].set(r,{component:{ticket:o,data:l},attr:{}});else{let c=this.pcbComponents[e].get(r);c.component.ticket<=o&&(c.component.ticket=o,c.component.data=l)}break}case"ATTR":if(this.isExtractComponent&&i){let l=this.parse(i);if(this.extractAttrKey.includes(l.key)){if(this.pcbComponents[e]||(this.pcbComponents[e]=new Map),!this.pcbComponents[e].has(l.parentId))this.pcbComponents[e].set(l.parentId,{component:{ticket:0,data:null},attr:{[r]:{ticket:o,data:l}}});else{let c=this.pcbComponents[e].get(l.parentId);(!c.attr[r]||c.attr[r].ticket<=o)&&(c.attr[r]={ticket:o,data:l})}break}}default:{if(this.notCanvas)break;if(!this.canvas[e]){let{updateTime:l,version:c}=this.datas.pcbs[e];this.canvas[e]=[oC(n,a,e,l,c)]}this.canvas[e].push(this.cLine);break}}}parsePanel(t,e,i,o,r,n,a){switch(this.datas.panels[e]||(this.datas.panels[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let s=this.parse(i);s&&Object.assign(this.datas.panels[e],s);break}default:{if(this.notCanvas)break;if(!this.canvas[e]){let{updateTime:s,version:l}=this.datas.panels[e];this.canvas[e]=[oC(n,a,e,s,l)]}this.canvas[e].push(this.cLine);break}}}parsePanelLib(t,e,i,o,r,n,a){switch(this.datas.panelLibs[e]||(this.datas.panelLibs[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let s=this.parse(i);s&&Object.assign(this.datas.panelLibs[e],s);break}default:{if(this.notCanvas)break;if(!this.canvas[e]){let{updateTime:s,version:l}=this.datas.panelLibs[e];this.canvas[e]=[oC(n,a,e,s,l)]}this.canvas[e].push(this.cLine);break}}}parseSymbol(t,e,i,o,r,n,a){switch(this.datas.symbols[e]||(this.datas.symbols[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let s=this.parse(i);s&&Object.assign(this.datas.symbols[e],s);break}default:{if(this.notCanvas)break;if(!this.canvas[e]){let{updateTime:s,version:l}=this.datas.symbols[e];this.canvas[e]=[oC(n,a,e,s,l)]}this.canvas[e].push(this.cLine);break}}}parseFootprint(t,e,i,o,r,n,a){switch(this.datas.footprints[e]||(this.datas.footprints[e]={uuid:e,docType:4}),t){case"META":case"DELETE_DOC":{let s=this.parse(i);s&&Object.assign(this.datas.footprints[e],s);break}case"ATTR":if(this.isExtractComponent&&i){let s=this.parse(i);if(this.extractAttrKey.includes(s.key)){this.footprintAttr[e]||(this.footprintAttr[e]={}),this.footprintAttr[e][r]={ticket:o,data:s};break}}default:{if(this.notCanvas)break;if(!this.canvas[e]){let{updateTime:s,version:l}=this.datas.footprints[e];this.canvas[e]=[oC(n,a,e,s,l)]}this.canvas[e].push(this.cLine);break}}}parseDevice(t,e,i){switch(this.datas.devices[e]||(this.datas.devices[e]={uuid:e}),t){case"META":case"DELETE_DOC":{let o=this.parse(i);o&&Object.assign(this.datas.devices[e],o);break}}}parseBlob(t,e,i){if(!this.notCanvas)switch(t){case"BLOB":{this.datas.blobs[e]||(this.datas.blobs[e]={hash:e});let o=this.parse(i);o?Object.assign(this.datas.blobs[e],o):delete this.datas.blobs[e];break}}}parseFont(t,e,i){if(!this.notCanvas)switch(this.datas.fonts[e]||(this.datas.fonts[e]={uuid:e}),t){case"FONT":{let o=this.parse(i);o?Object.assign(this.datas.fonts[e],S1i(e),o):delete this.datas.fonts[e];break}}}parseInstance(t,e,i,o){if(!this.notCanvas)switch(this.datas.instances[e]||(this.datas.instances[e]={path:e,hash:sur(e),attr:{}}),t){case"INSTANCE_ATTR":{let r=this.parse(o);this.datas.instances[e].attr[i]=r;break}case"DELETE_DOC":{let r=this.parse(o);this.datas.instances[e].isDelete=r.isDelete;break}}}};var TPn=X0e(zxe()),SPn=X0e(zxe());async function w1r(t,e,i,o,r,n,a,s,l){n=n||b1();let c=l||new Date().getTime(),d=new l1r,u=a||0;if(t.config){let p=d.config.head({client:n,updateTime:c});p=p+`|
`+d.config.meta(++u,t.config),i?await e(p):e(p),delete t.config}if(t.fonts){let p=!0;for(let m in t.fonts){if(p){p=!1;let b=d.font.head({doc:"FONT",client:n,updateTime:c});i?await e(b):e(b)}let h=t.fonts[m],f=Z0e(h.text,h.fontFamily,h.fontSize,h.thickness,h.bold,h.italic,h.reverse,h.expansion),g=d.font.buildStr(++u,f,h);i?await e(g):e(g),delete t.fonts[m]}}if(t.blobs){let p=!0;for(let m in t.blobs){if(p){p=!1;let g=d.blob.head({doc:"BLOB",client:n,updateTime:c});i?await e(g):e(g)}let h=t.blobs[m],f=d.blob.buildStr(++u,m,h);i?await e(f):e(f),delete t.blobs[m]}}if(t.instances)for(let p in t.instances){let m=t.instances[p],h=d.instance.head({doc:m.path||p,client:n,updateTime:c});if(i?await e(h):e(h),m.isDelete){let f=Wc("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}));i?await e(f):e(f)}if(m.attr){let f=d.instance.attr(++u,m.attr);i?await e(f):e(f)}delete t.instances[p]}if(t.footprints)for(let p in t.footprints){let m=t.footprints[p],h=d.footprint.head({doc:p,client:n,updateTime:m.updateTime||c,version:m.version});if(i?await e(h):e(h),s!=null&&s[p])for(let f in s[p]){let g=s[p][f],b=Wc("ATTR",g.ticket,f,g.data?JSON.stringify(g.data):"");i?await e(b):e(b)}else{let f=d.footprint.meta(++u,m);i?await e(f):e(f)}if(m.isDelete){let f=Wc("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}));i?await e(f):e(f)}m.canvas&&(i?await e(m.canvas):e(m.canvas)),delete t.footprints[p]}if(t.symbols)for(let p in t.symbols){let m=t.symbols[p],h=d.symbol.head({doc:p,client:n,updateTime:m.updateTime||c,version:m.version});h=h+`|
`+d.symbol.meta(++u,m),m.isDelete&&(h=h+`|
`+Wc("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}))),m.canvas&&(h=h+`|
`+m.canvas),i?await e(h):e(h),delete t.symbols[p]}if(t.devices)for(let p in t.devices){let m=t.devices[p],h=d.device.head({doc:p,client:n,updateTime:m.updateTime||c,version:m.version});h=h+`|
`+d.device.meta(++u,m),m.isDelete&&(h=h+`|
`+Wc("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}))),i?await e(h):e(h),delete t.devices[p]}if(t.boards)for(let p in t.boards){let m=t.boards[p],h=d.board.head({doc:p,client:n,updateTime:c});h=h+`|
`+d.board.meta(++u,m),m.isDelete&&(h=h+`|
`+Wc("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}))),i?await e(h):e(h),delete t.boards[p]}if(t.schematics)for(let p in t.schematics){let m=t.schematics[p],h=d.schematic.head({doc:p,client:n,updateTime:m.updateTime||c,version:m.version});h=h+`|
`+d.schematic.meta(++u,m),m.isDelete&&(h=h+`|
`+Wc("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}))),i?await e(h):e(h),delete t.schematics[p]}if(t.sheets){async function p(f,g){let b=[],y=d.sheet.head({doc:f.uuid,client:n,updateTime:f.updateTime||c,version:f.version});if(g&&!o){let w={dataType:"META_PLACEHOLDER",max:g};b.push(Wc("META_PLACEHOLDER",++u,`${f.schematic}_${b1()}`,JSON.stringify(w)))}if(o||b.push(d.sheet.meta(++u,f)),f.isDelete&&!o&&b.push(Wc("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}))),f.canvas&&!o&&b.push(f.canvas),o&&o[f.uuid]){let w=o[f.uuid];for(let[x,S]of w){S.component.data&&b.push(Wc("COMPONENT",S.component.ticket,x,S.component.data?JSON.stringify(S.component.data):""));for(let T in S.attr){let M=S.attr[T];b.push(Wc("ATTR",M.ticket,T,M.data?JSON.stringify(M.data):""))}}}b.length&&(b.unshift(y),i?await e(b.join(`|
`)):e(b.join(`|
`)))}let m={},h=[];for(let f in t.sheets){let g=t.sheets[f];if(g.uuid=f,!g.doc_id||!g.schematic){h.push(g);continue}m[g.schematic]||(m[g.schematic]=[]),m[g.schematic].push(g)}for(let f in m){let g=m[f].sort((y,w)=>y.doc_id-w.doc_id),b=0;for(let y of g){let w=y.doc_id-b-1;i?await p(y,w>0?w:void 0):p(y,w>0?w:void 0),b=y.doc_id}}for(let f of h)i?await p(f):p(f);t.sheets={}}if(t.pcbs)for(let p in t.pcbs){let m=t.pcbs[p],h=[];if(r||h.push(d.pcb.meta(++u,m)),m.isDelete&&!r&&h.push(Wc("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}))),m.canvas&&!r&&h.push(m.canvas),r&&r[m.uuid]){let f=r[m.uuid];for(let[g,b]of f){b.component.data&&h.push(Wc("COMPONENT",b.component.ticket,g,b.component.data?JSON.stringify(b.component.data):""));for(let y in b.attr){let w=b.attr[y];h.push(Wc("ATTR",w.ticket,y,w.data?JSON.stringify(w.data):""))}}}h.length&&(h.unshift(d.pcb.head({doc:p,client:n,updateTime:m.updateTime||c,version:m.version})),i?await e(h.join(`|
`)):e(h.join(`|
`))),delete t.pcbs[p]}if(t.panels)for(let p in t.panels){let m=t.panels[p],h=d.panel.head({doc:p,client:n,updateTime:m.updateTime||c,version:m.version});h=h+`|
`+d.panel.meta(++u,m),m.isDelete&&(h=h+`|
`+Wc("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}))),m.canvas&&(h=h+`|
`+m.canvas),i?await e(h):e(h),delete t.panels[p]}if(t.simulations)for(let p in t.simulations){let m=t.simulations[p],h=d.simulation.head({doc:p,client:n,updateTime:m.updateTime||c,version:m.version});if(h=h+`|
`+d.simulation.meta(++u,m),m.isDelete&&(h=h+`|
`+Wc("DELETE_DOC",++u,"DELETE_DOC",JSON.stringify({isDelete:!0}))),o&&o[m.uuid]){let f=o[m.uuid];for(let[g,b]of f){if(b.component.data){let y=Wc("COMPONENT",b.component.ticket,g,b.component.data?JSON.stringify(b.component.data):"");m.canvas=m.canvas?m.canvas+`|
`+y:y}for(let y in b.attr){let w=b.attr[y],x=Wc("ATTR",w.ticket,y,JSON.stringify(w.data));m.canvas=m.canvas?m.canvas+`|
`+x:x}}}m.canvas&&(h=h+`|
`+m.canvas),i?await e(h):e(h),delete t.simulations[p]}if(t.otherData){for(let p in t.otherData)i?await e(t.otherData[p]):e(t.otherData[p]);t.otherData={}}}function phi(t,e,i,o,r){let n=[];return w1r(t,a=>{n.push(a)},!1,e,i,o,void 0,void 0,r),n.join(`|
`)}var mhi=class extends d1r{constructor(t,e,i,o,r,n,a,s=(l=>(l=q0e())==null?void 0:l._TAB_ID_)()){let l=new mRe(s);super(l),this.isProject=i,this.encode=n,this.base=new dhi(t,e,i,s,o,l,r,r==="PCB"?g1r:f1r,a,(...c)=>this.setIsInit(...c),(...c)=>this.onDocDetail(...c),void 0,void 0,void 0,void 0,(c,d,u)=>this.onOrderNum(c,d,u),(c,d,u)=>{this.setMaxNum(c,d,!!u),u&&this.deleteOrderNum(u)})}get dataBus(){return this.base.dataBus}set dataBus(t){this.base.dataBus=t}async init(t=!0,e=!0,i=!0,o,r=!0,n){return this.setNeedNum(r),this.base.init(t,e,i,o,!0,r,n)}async sync(){return this.base.sync()}async destroy(){return this.base.destroy()}async save(){return this.base.save()}checkSave(){return this.base.checkSave()}publishSelected(t,e){this.base.publishSelected(t,e)}uploadBlob(t,e){let i=$0e(e),o={filename:t,content:e};return{success:!0,ticket:this.localChange({id:i,data:JSON.stringify(o),dataType:"BLOB"},"BLOB","BLOB"),hash:i}}deleteBlob(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"BLOB"},"BLOB","BLOB")}}uploadFont(t){let{text:e,fontFamily:i,fontSize:o,thickness:r,bold:n,italic:a,reverse:s,expansion:l,width:c,height:d,path:u}=t,p={width:c,height:d,path:u},m=Z0e(e,i,o,r,n,a,s,l);return{success:!0,ticket:this.localChange({id:m,data:JSON.stringify(p),dataType:"FONT"},"FONT","FONT")}}deleteFont(t){let{text:e,fontFamily:i,fontSize:o,thickness:r,bold:n,italic:a,reverse:s,expansion:l}=t,c=Z0e(e,i,o,r,n,a,s,l);return{success:!0,ticket:this.localChange({id:c,data:"",dataType:"FONT"},"FONT","FONT")}}async updateFootprint(t){return this.isProject?this.dataBus.rpcCall("/mgr/projectWorker/footprint/update",t):{success:!1,message:"compiler \u6682\u4E0D\u652F\u6301\u4E2A\u4EBA\u5E93\u76F4\u63A5\u4FEE\u6539\u5C01\u88C5\u4FE1\u606F"}}async generateTemplate(t,e){return this.isProject?this.dataBus.rpcCall("/mgr/projectWorker/footprint/generateTemplate",{custom:t,renameKey:e}):{success:!1,message:"compiler \u6682\u4E0D\u652F\u6301\u4E2A\u4EBA\u5E93\u8C03\u7528\u8BE5\u63A5\u53E3"}}localChange(t,e=this.base.uuid,i){var o,r;let n=this.getOrderNum(t.id);return(r=(o=this.needOrderType)==null?void 0:o.includes)!=null&&r.call(o,t.dataType)&&n===void 0&&(n=this.getMaxNum(t.dataType),this.setOrderNum(t.id,n,t.dataType),this.onOrderNum(t.id,t.dataType,n)),this.base.localChange(t.id,t.data,t.dataType,e,i,n)}uploadString(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeString(t,e))}}deleteString(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"STRING"})}}uploadAttr(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeAttr(t,e))}}deleteAttr(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"ATTR"})}}uploadPanelize(t){return{success:!0,ticket:this.localChange(this.encode.encodePanelize(t))}}deletePanelize(){return{success:!0,ticket:this.localChange({id:"PANELIZE",data:"",dataType:"PANELIZE"})}}uploadRuleSelector(t){return{success:!0,ticket:this.localChange(this.encode.encodeRuleSelector(t))}}deleteRuleSelector(t){return{success:!0,ticket:this.localChange({id:JSON.stringify(["RULE_SELECTOR",t]),data:"",dataType:"RULE_SELECTOR"})}}uploadRule(t){return{success:!0,ticket:this.localChange(this.encode.encodeRule(t))}}deleteRule(t,e){return{success:!0,ticket:this.localChange({id:JSON.stringify(["RULE",t,e]),data:"",dataType:"RULE"})}}uploadRuleTemplate(t){return{success:!0,ticket:this.localChange(this.encode.encodeRuleTemplate(t))}}uploadDimension(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeDimension(t,e))}}deleteDimension(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"DIMENSION"})}}uploadBoss(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeBoss(t,e))}}deleteBoss(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"BOSS"})}}uploadShellEntity(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeShellEntity(t,e))}}deleteShellEntity(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"SHELL_ENTITY"})}}uploadShellCut(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeShellCut(t,e))}}deleteShellCut(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"SHELLCUT"})}}uploadCrease(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeCrease(t,e))}}deleteCrease(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"CREASE"})}}uploadShell(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeShell(t,e))}}deleteShell(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"SHELL"})}}uploadFpcFill(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeFpcFill(t,e))}}deleteFpcFill(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"FPC_FILL"})}}uploadTeardrop(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeTeardrop(t,e))}}deleteTeardrop(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"TEARDROP"})}}uploadImage(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeImage(t,e))}}deleteImage(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"IMAGE"})}}uploadPoured(t,e){return{success:!0,ticket:this.localChange(this.encode.encodePoured(t,e))}}deletePoured(t){return{success:!0,ticket:this.localChange({id:_2(t,"POURED"),data:"",dataType:"POURED"})}}uploadPour(t,e){return{success:!0,ticket:this.localChange(this.encode.encodePour(t,e))}}deletePour(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"POUR"})}}uploadRegion(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeRegion(t,e))}}deleteRegion(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"REGION"})}}uploadFill(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeFill(t,e))}}deleteFill(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"FILL"})}}uploadLayerFill(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeLayerFill(t,e))}}deleteLayerFill(t){return{success:!0,ticket:this.localChange({id:_2(t,"LAYER_FILL"),data:"",dataType:"LAYER_FILL"})}}uploadPoly(t,e){return{success:!0,ticket:this.localChange(this.encode.encodePoly(t,e))}}deletePoly(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"POLY"})}}uploadEQLenGrp(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeEQLenGrp(t,e))}}deleteEQLenGrp(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"EQLEN_GRP"})}}uploadObj(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeObj(t,e))}}deleteObj(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"OBJ"})}}uploadArc(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeArc(t,e))}}deleteArc(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"ARC"})}}uploadLine(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeLine(t,e))}}deleteLine(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"LINE"})}}uploadPad(t,e){return{success:!0,ticket:this.localChange(this.encode.encodePad(t,e))}}deletePad(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"PAD"})}}uploadVia(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeVia(t,e))}}deleteVia(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"VIA"})}}uploadPreference(t){return{success:!0,ticket:this.localChange(this.encode.encodePreference(t))}}uploadSilkOpts(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeSilkOpts(t,e))}}deleteSilkOpts(t){return{success:!0,ticket:this.localChange({id:_2(t,"SILK_OPTS"),data:"",dataType:"SILK_OPTS"})}}uploadGroup(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeGroup(t,e))}}deleteGroup(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"GROUP"})}}uploadPrimitive(t,e){return{success:!0,ticket:this.localChange(this.encode.encodePrimitive(t,e))}}deletePrimitive(t){return{success:!0,ticket:this.localChange({id:_2(t,"PRIMITIVE"),data:"",dataType:"PRIMITIVE"})}}uploadNet(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeNet(t,e))}}deleteNet(t){return{success:!0,ticket:this.localChange({id:_2(t,"NET"),data:"",dataType:"NET"})}}uploadActiveLayer(t){return{success:!0,ticket:this.localChange(this.encode.encodeActiveLayer(t))}}uploadLayerPhys(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeLayerPhys(t,e))}}deleteLayerPhys(t){return{success:!0,ticket:this.localChange({id:_2(t,"LAYER_PHYS"),data:"",dataType:"LAYER_PHYS"})}}uploadLayer(t,e){return{success:!0,ticket:this.localChange(this.encode.encodeLayer(t,e))}}deleteLayer(t){return{success:!0,ticket:this.localChange({id:_2(t,"LAYER"),data:"",dataType:"LAYER"})}}uploadCanvas(t){return{success:!0,ticket:this.localChange(this.encode.encodeCanvas(t))}}uploadBoard(t){return{success:!0,ticket:this.localChange({id:"BOARD",data:JSON.stringify(t),dataType:"BOARD"})}}deleteBoard(){return{success:!0,ticket:this.localChange({id:"BOARD",data:"",dataType:"BOARD"})}}uploadXSignalsGroup(t,e){return{success:!0,ticket:this.localChange({id:t,data:JSON.stringify(e),dataType:"X_SIGNAL_GROUP"})}}deleteXSignalsGroup(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"X_SIGNAL_GROUP"})}}uploadXSignals(t,e){return{success:!0,ticket:this.localChange({id:t,data:JSON.stringify(e),dataType:"X_SIGNALS"})}}deleteXSignals(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"X_SIGNALS"})}}},hhi=class extends mhi{constructor(t,e,i,o){let r=new ahi;super(t,e,!0,i,"PCB",r,{getSelect:()=>{var n;return(n=this.canvasSelected)==null?void 0:n.call(this)},onSelect:(...n)=>{var a;return(a=this.onSelectChange)==null?void 0:a.call(this,n[0],n[1],n[2])},onQuit:(...n)=>{var a;return(a=this.onSelectQuit)==null?void 0:a.call(this,n[0],n[1])}},o),this.uuid=t,this.project=e,this.windowId=o,this.encoder=r}async customFootprint(t,e){return this.dataBus.rpcCall("/mgr/projectWorker/footprint/clone",{uuid:t,source:e})}async footprintIsExist(t){var e;return(e=await this.dataBus.rpcCall("/mgr/projectWorker/footprint/isExist",t))==null?void 0:e.result}uploadPadNet(t){return{success:!0,ticket:this.localChange(this.encoder.encodePadNet(t))}}deletePadNet(t,e,i){return{success:!0,ticket:this.localChange({id:JSON.stringify(["PAD_NET",t,e,i||""]),data:"",dataType:"PAD_NET"})}}uploadComponent(t,e){return{success:!0,ticket:this.localChange(this.encoder.encodeComponent(t,e))}}deleteComponent(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"COMPONENT"})}}uploadPartition(t,e){return{success:!0,ticket:this.localChange(this.encoder.encodePartition(t,e))}}deletePartition(t){return{success:!0,ticket:this.localChange({id:t,data:"",dataType:"PARTITION"})}}},fhi=class extends mhi{constructor(t,e,i,o,r=(n=>(n=q0e())==null?void 0:n._TAB_ID_)()){super(t,e,i,o,"FOOTPRINT",new shi,{getSelect:()=>{var n;return(n=this.canvasSelected)==null?void 0:n.call(this)},onSelect:(...n)=>{var a;return(a=this.onSelectChange)==null?void 0:a.call(this,n[0],n[1],n[2])},onQuit:(...n)=>{var a;return(a=this.onSelectQuit)==null?void 0:a.call(this,n[0],n[1])}},r),this.uuid=t,this.path=e,this.isProject=i,this.windowId=r}onComponent(){}onComponentNum(){}onDelComponent(){}onPadNet(){}onDelPadNet(){}};var X8=[{text:"mil",value:"mil"},{text:"mm",value:"mm"}];var ghi={Schematic:"Schematic",Symbol:"Symbol",PCB:"PCB",FOOTPRINT:"Footprint",PANEL:"Panel",PANEL_LIB:"Panel Lib",SIM:"Sim Lib"};var x1r={wire_drawing_type:{value:"rightClickEnd",disabled:!1},cursor:{value:"Big",disabled:!1},schAlwaysDisplayCursor:{value:!1,disabled:!1},gridStyle:{value:"line",disabled:!1},maxSymbolNum:{value:2e3,disabled:!1},sch_gridSize:{value:Nt?"4.00":"0.05",disabled:!1},schlib_gridSize:{value:Nt?"4.00":"0.1",disabled:!1},schAltSnapGridSize:{value:Nt?"2.00":"0.01",disabled:!1},schlibAltSnapGridSize:{value:Nt?"2.00":"0.05",disabled:!1},take_REFDES:{value:"2",disabled:!1},ruler:{value:!0,disabled:!1},line_width_show:{value:"0",disabled:!1},guide_line_display_way:{value:"1",disabled:!1},drag_symbol_wire_follow_way:{value:"0",disabled:!1},rotate_symbol_wire_follow_way:{value:"1",disabled:!1},drag_netname_mode:{value:"Adjust Property Position",disabled:!1},auto_annotate_refdes:{value:"auto",disabled:!1},net_select_method:{value:"single",disabled:!1},hover_highlight_netgroup:{value:!1,disabled:!1},auto_adjust_attr_after_rotation:{value:!0,disabled:!1},is_ctrl_drag_to_drag:{value:!0,disabled:!1},netname_selected_action:{value:"selfFirst",disabled:!1},referencePoint_select_method:{value:"default",disabled:!1},defaultNetname:{value:"true",disabled:!1},wireMultipleNet:{value:"true",disabled:!1},netFlagCrossLayerConnection:{value:!0,disabled:!1},netLabelCrossPageConnection:{value:!0,disabled:!1},busGenerateNetClass:{value:!0,disabled:!1},relevanceDisplayRow:{value:gZ.SINGLE,disabled:!1},relevanceBelongSchPage:{value:G6.NAME,disabled:!1},relevanceLocation:{value:$9.ZONE,disabled:!1},defaultPinLength:{value:"0.2",disabled:!1},defaultPinDistance:{value:"0.1",disabled:!1},newDefaultPinLength:{value:{data:"0.2",unit:"inch"},disabled:!1},newDefaultPinDistance:{value:{data:"0.1",unit:"inch"},disabled:!1},unit:{value:Nt?"mm":"inch",disabled:!1},snapToGrid:{value:!0,disabled:!1},isAutoMoveCanvasDuringCrossProbe:{value:!0,disabled:!1},isAutoFitSelectionDuringCrossProbe:{value:!1,disabled:!1},isOtherObjectsDimDuringCrossProbe:{value:!1,disabled:!1},multipartCrossLayer:{value:!0,disabled:!1}},bhi=x1r;var yhi={};var whi={autoBackupMin:{value:60,disabled:!1},autoBackupNum:{value:10,disabled:!1},autoSaveMin:{value:_t?5:10,disabled:!1},isAutoBackup:{value:!0,disabled:!1},isAutoSave:{value:!0,disabled:!1}};var Chi={language:"zh-hans"};var xhi={code:"Sheet-Symbol_A3",isPublic:!0};var T1r={commonlyList:{value:[{gridXMil:2,gridXMm:.051,gridYMil:2,gridYMm:.051,accuracyGridXMil:2,accuracyGridXMm:.0508,accuracyGridYMil:2,accuracyGridYMm:.0508,id:"1",isAllowDelete:!1},{gridXMil:5,gridXMm:.127,gridYMil:5,gridYMm:.127,accuracyGridXMil:5,accuracyGridXMm:ue.unitConversion.conversion("mil","mm",5),accuracyGridYMil:5,accuracyGridYMm:ue.unitConversion.conversion("mil","mm",5),id:"2",isAllowDelete:!1},{gridXMil:10,gridXMm:.254,gridYMil:10,gridYMm:.254,accuracyGridXMil:10,accuracyGridXMm:.254,accuracyGridYMil:10,accuracyGridYMm:.254,id:"3",isAllowDelete:!1},{gridXMil:20,gridXMm:.508,gridYMil:20,gridYMm:.508,accuracyGridXMil:20,accuracyGridXMm:.508,accuracyGridYMil:20,accuracyGridYMm:.508,id:"4",isAllowDelete:!1},{gridXMil:25,gridXMm:.635,gridYMil:25,gridYMm:.635,accuracyGridXMil:25,accuracyGridXMm:ue.unitConversion.conversion("mil","mm",25),accuracyGridYMil:25,accuracyGridYMm:ue.unitConversion.conversion("mil","mm",25),id:"5",isAllowDelete:!1},{gridXMil:50,gridXMm:1.27,gridYMil:50,gridYMm:1.27,accuracyGridXMil:50,accuracyGridXMm:ue.unitConversion.conversion("mil","mm",50),accuracyGridYMil:50,accuracyGridYMm:ue.unitConversion.conversion("mil","mm",50),id:"6",isAllowDelete:!1},{gridXMil:1,gridXMm:.025,gridYMil:1,gridYMm:.025,accuracyGridXMil:1,accuracyGridXMm:ue.unitConversion.conversion("mil","mm",1),accuracyGridYMil:1,accuracyGridYMm:ue.unitConversion.conversion("mil","mm",1),id:"7",isAllowDelete:!1},{gridXMil:3.9,gridXMm:.1,gridYMil:3.9,gridYMm:.1,accuracyGridXMil:ue.unitConversion.conversion("mm","mil",.1),accuracyGridXMm:.1,accuracyGridYMil:ue.unitConversion.conversion("mm","mil",.1),accuracyGridYMm:.1,id:"8",isAllowDelete:!1},{gridXMil:9.8,gridXMm:.25,gridYMil:9.8,gridYMm:.25,accuracyGridXMil:ue.unitConversion.conversion("mm","mil",.25),accuracyGridXMm:.25,accuracyGridYMil:ue.unitConversion.conversion("mm","mil",.25),accuracyGridYMm:.25,id:"9",isAllowDelete:!1},{gridXMil:19.7,gridXMm:.5,gridYMil:19.7,gridYMm:.5,accuracyGridXMil:ue.unitConversion.conversion("mm","mil",.5),accuracyGridXMm:.5,accuracyGridYMil:ue.unitConversion.conversion("mm","mil",.5),accuracyGridYMm:.5,id:"10",isAllowDelete:!1},{gridXMil:39.4,gridXMm:1,gridYMil:39.4,gridYMm:1,accuracyGridXMil:ue.unitConversion.conversion("mm","mil",1),accuracyGridXMm:1,accuracyGridYMil:ue.unitConversion.conversion("mm","mil",1),accuracyGridYMm:1,id:"11",isAllowDelete:!1}],value2Polar:[{angle:15,mil:ue.unitConversion.conversion("mm","mil",10),accuracyMil:ue.unitConversion.conversion("mm","mil",1),accuracyMm:10,mm:10,id:"11",unit:"mm",isAllowDelete:!1},{angle:30,mil:ue.unitConversion.conversion("mm","mil",10),mm:10,accuracyMil:ue.unitConversion.conversion("mm","mil",1),accuracyMm:10,id:"12",unit:"mm",isAllowDelete:!1},{angle:45,mil:ue.unitConversion.conversion("mm","mil",10),mm:10,accuracyMil:ue.unitConversion.conversion("mm","mil",1),accuracyMm:10,id:"13",unit:"mm",isAllowDelete:!1},{angle:90,mil:ue.unitConversion.conversion("mm","mil",10),mm:10,accuracyMil:ue.unitConversion.conversion("mm","mil",1),accuracyMm:10,id:"14",unit:"mm",isAllowDelete:!1},{angle:15,mil:ue.unitConversion.conversion("mm","mil",20),accuracyMil:ue.unitConversion.conversion("mm","mil",1),accuracyMm:20,mm:20,id:"15",unit:"mm",isAllowDelete:!1},{angle:30,mil:ue.unitConversion.conversion("mm","mil",20),mm:20,accuracyMil:ue.unitConversion.conversion("mm","mil",1),accuracyMm:20,id:"16",unit:"mm",isAllowDelete:!1},{angle:45,mil:ue.unitConversion.conversion("mm","mil",20),mm:20,accuracyMil:ue.unitConversion.conversion("mm","mil",1),accuracyMm:20,id:"17",unit:"mm",isAllowDelete:!1},{angle:90,mil:ue.unitConversion.conversion("mm","mil",20),mm:20,accuracyMil:ue.unitConversion.conversion("mm","mil",1),accuracyMm:20,id:"18",unit:"mm",isAllowDelete:!1}],activeCoordinate:"cartesian",disabled:!1}};var Thi=T1r;var Shi={commonlyList:{value:[{trackWidthMil:5,trackWidthMm:ue.unitConversion.conversion("mil","mm",5),id:"1",isAllowDelete:!1},{trackWidthMil:8,trackWidthMm:ue.unitConversion.conversion("mil","mm",8),id:"2",isAllowDelete:!1},{trackWidthMil:10,trackWidthMm:ue.unitConversion.conversion("mil","mm",10),id:"3",isAllowDelete:!1},{trackWidthMil:12,trackWidthMm:ue.unitConversion.conversion("mil","mm",12),id:"4",isAllowDelete:!1},{trackWidthMil:20,trackWidthMm:ue.unitConversion.conversion("mil","mm",20),id:"5",isAllowDelete:!1},{trackWidthMil:50,trackWidthMm:ue.unitConversion.conversion("mil","mm",50),id:"6",isAllowDelete:!1},{trackWidthMil:ue.unitConversion.conversion("mm","mil",.1),trackWidthMm:.1,id:"7",isAllowDelete:!1},{trackWidthMil:ue.unitConversion.conversion("mm","mil",.2),trackWidthMm:.2,id:"8",isAllowDelete:!1},{trackWidthMil:ue.unitConversion.conversion("mm","mil",.3),trackWidthMm:.3,id:"9",isAllowDelete:!1},{trackWidthMil:ue.unitConversion.conversion("mm","mil",.5),trackWidthMm:.5,id:"10",isAllowDelete:!1},{trackWidthMil:ue.unitConversion.conversion("mm","mil",.75),trackWidthMm:.75,id:"11",isAllowDelete:!1},{trackWidthMil:ue.unitConversion.conversion("mm","mil",1),trackWidthMm:1,id:"12",isAllowDelete:!1}],disabled:!1}};var Mhi={commonlyList:{value:[{insideDiameterMil:8,insideDiameterMm:ue.unitConversion.conversion("mil","mm",8),outersideDiameterMil:16,outersideDiameterMm:ue.unitConversion.conversion("mil","mm",16),id:"1",isAllowDelete:!1},{insideDiameterMil:10,insideDiameterMm:ue.unitConversion.conversion("mil","mm",10),outersideDiameterMil:20,outersideDiameterMm:ue.unitConversion.conversion("mil","mm",20),id:"2",isAllowDelete:!1},{insideDiameterMil:12,insideDiameterMm:ue.unitConversion.conversion("mil","mm",12),outersideDiameterMil:24,outersideDiameterMm:ue.unitConversion.conversion("mil","mm",24),id:"3",isAllowDelete:!1},{insideDiameterMil:ue.unitConversion.conversion("mm","mil",.3),insideDiameterMm:.3,outersideDiameterMil:ue.unitConversion.conversion("mm","mil",.5),outersideDiameterMm:.5,id:"4",isAllowDelete:!1},{insideDiameterMil:ue.unitConversion.conversion("mm","mil",.35),insideDiameterMm:.35,outersideDiameterMil:ue.unitConversion.conversion("mm","mil",.7),outersideDiameterMm:.7,id:"5",isAllowDelete:!1},{insideDiameterMil:ue.unitConversion.conversion("mm","mil",.6),insideDiameterMm:.6,outersideDiameterMil:ue.unitConversion.conversion("mm","mil",1),outersideDiameterMm:1,id:"6",isAllowDelete:!1},{insideDiameterMil:ue.unitConversion.conversion("mm","mil",.9),insideDiameterMm:.9,outersideDiameterMil:ue.unitConversion.conversion("mm","mil",1.6),outersideDiameterMm:1.6,id:"7",isAllowDelete:!1}],disabled:!1}};var Ihi={commonlyList:{value:[{title:"default",id:"1",isAllowDelete:!1},{title:"default2",id:"1.1",isAllowDelete:!1},{title:"\u5B8B\u4F53",id:"2",isAllowDelete:!1},{title:"\u9ED1\u4F53",id:"2.1",isAllowDelete:!1},{title:"\u96B6\u4E66",id:"2.2",isAllowDelete:!1},{title:"\u6977\u4F53",id:"4",isAllowDelete:!1},{title:"\u4EFF\u5B8B",id:"5",isAllowDelete:!1},{title:"Arial",id:"6",isAllowDelete:!1},{title:"Times New Roman",id:"8",isAllowDelete:!1},{title:"Verdana",id:"8.1",isAllowDelete:!1}],disabled:!1}};var S1r={Schematic:{menu_base:[{key:"New",show:!0},{key:"Open Project",show:!0},{key:"Save",show:!0},{key:"Save All",show:!0},{key:"Backup",show:!0},{key:"Undo",show:!0},{key:"Redo",show:!0},{key:"Copy",show:!1},{key:"Paste",show:!1},{key:"Cut",show:!1},{key:"Filter",show:!0},{key:"Select Objects",show:!1},{key:"Arrays",show:!0},{key:"Find",show:!1},{key:"Find Similar Objects",show:!0}],menu_view:[{key:"Zoom In",show:!0},{key:"Zoom Out",show:!0},{key:"Fit All in Window",show:!0},{key:"Fit Selection View",show:!0},{key:"Fit Area Selection View",show:!0},{key:"Left-Side Panel",show:!1},{key:"Right-Side Panel",show:!1},{key:"Bottom Panel",show:!1},{key:"Grid Style",show:!0},{key:"Grid Size",show:!0},{key:"Unit",show:!0},{key:"Snap",show:!0}],menu_place:[{key:"Component",show:!0},{key:"Shortcut Device",show:!0},{key:"Resistor",show:!1},{key:"Capacitor",show:!1},{key:"Inductor",show:!1},{key:"Diode",show:!1},{key:"Wire",show:!0},{key:"Bus",show:!0},{key:"Net Label",show:!0},{key:"Short Flag",show:!0},{key:"Net Flag",show:!0},{key:"Net Port",show:!0},{key:"VCC",show:!1},{key:"+5V",show:!1},{key:"GND",show:!1},{key:"AGND",show:!1},{key:"PGND",show:!1},{key:"IN",show:!1},{key:"OUT",show:!1},{key:"BI",show:!1},{key:"Off Page Connector",show:!0},{key:"Off Page Connector - IN",show:!1},{key:"Off Page Connector - OUT",show:!1},{key:"Off Page Connector - BI",show:!1},{key:"No Connect Flag",show:!0},{key:"Junction Flag",show:!0},{key:"Differential Pairs Flag",show:!0},{key:"TestPoint",show:!0},{key:"PlaceMaskRegion",show:!0},{key:"Reuse Block",show:!1},{key:"Drawing Tools",show:!1},{key:"Polyline",show:!0},{key:"Arc",show:!0},{key:"Bezier",show:!0},{key:"Circle",show:!0},{key:"Ellipse",show:!0},{key:"Rect",show:!0},{key:"Text",show:!0},{key:"Image",show:!0},{key:"Table",show:!0}],menu_design:[{key:"Back to the Upper",show:!0},{key:"Open Template Page",show:!0},{key:"Update/Convert Schematic to PCB",show:!0},{key:"Generate/Update Block Symbol",show:!0},{key:"Update Netport from Block Symbol",show:!0},{key:"Ref Designator Annotate",show:!1},{key:"Annotation",show:!1}],menu_layout:[{key:"Align",show:!1},{key:"Align Left",show:!0},{key:"Align Right",show:!0},{key:"Align Top",show:!0},{key:"Align Bottom",show:!0},{key:"Align Horizontal Centers",show:!1},{key:"Align Vertical Centers",show:!1},{key:"Align Grid",show:!0},{key:"Distribute",show:!1},{key:"Distribute Horizontally",show:!0},{key:"Distribute Vertically",show:!0},{key:"Rotate Left",show:!0},{key:"Rotate Right",show:!0},{key:"Flip Horizontal",show:!0},{key:"Flip Vertical",show:!0},{key:"Bring to Front",show:!1},{key:"Send to Back",show:!1}],menu_auxiliary:[{key:"Bill of Materials(BOM)...",show:!0},{key:"Netlist...",show:!0},{key:"Order Parts",show:!0},{key:"Order PCB",show:!1},{key:"Settings",show:!0}]},Symbol:{menu_base:[{key:"New Part",show:!0},{key:"Open Project",show:!0},{key:"Save",show:!0},{key:"Save All",show:!0},{key:"Undo",show:!0},{key:"Redo",show:!0},{key:"Copy",show:!1},{key:"Paste",show:!1},{key:"Cut",show:!1},{key:"Filter",show:!0},{key:"Select Objects",show:!1},{key:"Arrays",show:!0},{key:"Find",show:!0}],menu_view:[{key:"Zoom In",show:!0},{key:"Zoom Out",show:!0},{key:"Fit All in Window",show:!0},{key:"Fit Selection View",show:!0},{key:"Fit Area Selection View",show:!0},{key:"Left-Side Panel",show:!1},{key:"Right-Side Panel",show:!1},{key:"Bottom Panel",show:!1},{key:"Ruler",show:!1},{key:"Grid Style",show:!0},{key:"Grid Size",show:!0},{key:"Unit",show:!0},{key:"Snap",show:!0}],menu_place:[{key:"Pin",show:!0},{key:"Line Pins",show:!0},{key:"Rect Pins",show:!0},{key:"Drawing Tools",show:!1},{key:"Polyline",show:!0},{key:"Arc",show:!0},{key:"Bezier",show:!0},{key:"Circle",show:!0},{key:"Ellipse",show:!0},{key:"Rect",show:!0},{key:"Text",show:!0},{key:"Image",show:!0},{key:"Table",show:!0}],menu_design:[{key:"Open CBB",show:!0},{key:"Update Pins from Schematic",show:!0}],menu_layout:[{key:"Align",show:!1},{key:"Align Left",show:!0},{key:"Align Right",show:!0},{key:"Align Top",show:!0},{key:"Align Bottom",show:!0},{key:"Align Horizontal Centers",show:!0},{key:"Align Vertical Centers",show:!0},{key:"Align Grid",show:!0},{key:"Distribute",show:!1},{key:"Distribute Horizontally",show:!0},{key:"Distribute Vertically",show:!0},{key:"Rotate Left",show:!0},{key:"Rotate Right",show:!0},{key:"Flip Horizontal",show:!0},{key:"Flip Vertical",show:!0},{key:"Bring to Front",show:!0},{key:"Send to Back",show:!0}],menu_auxiliary:[{key:"Advanced Symbol Wizard",show:!0},{key:"Datasheet Extract Wizard",show:!0},{key:"Settings",show:!0}]},PCB:{menu_base:[{key:"New",show:!0},{key:"Open Project",show:!0},{key:"Save",show:!0},{key:"Save All",show:!0},{key:"Backup",show:!0},{key:"Undo",show:!0},{key:"Redo",show:!0},{key:"Filter",show:!0},{key:"Cutout",show:!1},{key:"Select Objects",show:!1},{key:"Boolean Operation",show:!1},{key:"Arrays",show:!0},{key:"Find",show:!0},{key:"Split",show:!1}],menu_view:[{key:"2D Preview",show:!0},{key:"3D Preview",show:!0},{key:"Zoom In",show:!1},{key:"Zoom Out",show:!1},{key:"Fit All in Window",show:!1},{key:"Fit Selection View",show:!1},{key:"Fit Area Selection View",show:!0},{key:"Fit Board Outline View",show:!1},{key:"Flip Board",show:!0},{key:"Switch Brightness",show:!0},{key:"Unit",show:!0},{key:"Grid Style",show:!0},{key:"Left-Side Panel",show:!1},{key:"Right-Side Panel",show:!1},{key:"Bottom Panel",show:!1},{key:"Ruler",show:!1}],menu_place:[{key:"Component",show:!1},{key:"Pad",show:!Nt},{key:"Via",show:!0},{key:Nt?"Mounting Plate":"Board Outline",show:!0},{key:"Copper Area",show:!0},{key:"Fill Region",show:!0},{key:"Slot Region",show:!0},{key:"Prohibited Region",show:!0},{key:"Line",show:!0},{key:"Text ",show:!0},{key:"Image",show:!1},{key:"Dimension",show:!0}],menu_design:[{key:"Import Changes from Schematic",show:!0},{key:"Check DRC",show:!0},{key:"Single Routing",show:!0},{key:"Differential Pair Routing",show:!1},{key:"Stretch Track",show:!0},{key:"Equal Length Tunning",show:!1},{key:"Differential Pair Equal Length Tunning",show:!1},{key:"Auto Routing",show:!1},{key:"Routing Mode",show:!1},{key:"Routing Corner",show:!0},{key:"Annotation",show:!1}],menu_layout:[{key:"Align",show:!0},{key:"Align Left",show:!1},{key:"Align Right",show:!1},{key:"Align Top",show:!1},{key:"Align Bottom",show:!1},{key:"Align Horizontal Centers",show:!1},{key:"Align Vertical Centers",show:!1},{key:"Align Grid",show:!1},{key:"Distribute",show:!0},{key:"Distribute Horizontally",show:!1},{key:"Distribute Vertically",show:!1},{key:"Distribute Left Edges Equidistantly",show:!1},{key:"Distribute Top Edges Equidistantly",show:!1},{key:"Distribute Horizontally by Center Distance",show:!1},{key:"Distribute Vertically by Center Distance",show:!1},{key:"Distribute Horizontally by Edges Distance",show:!1},{key:"Distribute Vertically by Edges Distance",show:!1},{key:"Distribute Array...",show:!1},{key:"Component Distribute By Region",show:!1},{key:"Rotate Left",show:!0},{key:"Rotate Right",show:!0}],menu_auxiliary:[{key:"Measure Distance",show:!1},{key:"Connect Pads",show:!1},{key:"PCB Fabrication File(Gerber)",show:!0},{key:"Pick and Place File...",show:!0},{key:"Order Parts",show:!1},{key:"Order PCB",show:!0},{key:"Settings",show:!0},{key:"Edit Outline",show:!1}]},FOOTPRINT:{menu_base:[{key:"Open Project",show:!0},{key:"Save",show:!0},{key:"Save All",show:!0},{key:"Undo",show:!0},{key:"Redo",show:!0},{key:"Filter",show:!0},{key:"Cutout",show:!1},{key:"Select Objects",show:!1},{key:"Arrays",show:!0},{key:"Find",show:!0},{key:"Split",show:!1}],menu_view:[{key:"2D Preview",show:!0},{key:"3D Preview",show:!0},{key:"Zoom In",show:!1},{key:"Zoom Out",show:!1},{key:"Fit All in Window",show:!1},{key:"Fit Selection View",show:!1},{key:"Fit Area Selection View",show:!0},{key:"Unit",show:!0},{key:"Grid Style",show:!0},{key:"Left-Side Panel",show:!1},{key:"Right-Side Panel",show:!1},{key:"Bottom Panel",show:!1},{key:"Ruler",show:!1}],menu_place:[{key:"Via",show:!0},{key:"Pad",show:!0},{key:"Line Pads",show:!0},{key:"Rectangle Pads",show:!0},{key:"Shaped Pad",show:!0},{key:"Fill Region",show:!0},{key:"Slot Region",show:!0},{key:"Prohibited Region",show:!0},{key:"Line",show:!0},{key:"Text ",show:!0},{key:"Image",show:!1},{key:"Dimension",show:!0},{key:"Canvas Origin",show:!0}],menu_design:[{key:"Routing Corner",show:!0}],menu_layout:[{key:"Align",show:!0},{key:"Align Left",show:!1},{key:"Align Right",show:!1},{key:"Align Top",show:!1},{key:"Align Bottom",show:!1},{key:"Align Horizontal Centers",show:!1},{key:"Align Vertical Centers",show:!1},{key:"Align Grid",show:!1},{key:"Distribute",show:!0},{key:"Distribute Horizontally",show:!1},{key:"Distribute Vertically",show:!1},{key:"Distribute Left Edges Equidistantly",show:!1},{key:"Distribute Top Edges Equidistantly",show:!1},{key:"Distribute Horizontally by Center Distance",show:!1},{key:"Distribute Vertically by Center Distance",show:!1},{key:"Distribute Horizontally by Edges Distance",show:!1},{key:"Distribute Vertically by Edges Distance",show:!1},{key:"Distribute Array...",show:!1},{key:"Rotate Left",show:!0},{key:"Rotate Right",show:!0},{key:"Flip Horizontal",show:!0},{key:"Flip Vertical",show:!0}],menu_auxiliary:[{key:"Measure Distance",show:!0},{key:"Smart Dimension",show:!0},{key:"Check Dimension",show:!0},{key:"Settings",show:!0},{key:"Edit Outline",show:!1}]},PANEL:{menu_base:[{key:"New",show:!0},{key:"Open Project",show:!0},{key:"Save",show:!0},{key:"Save All",show:!0},{key:"Backup",show:!0},{key:"Undo",show:!0},{key:"Redo",show:!0},{key:"Copy",show:!1},{key:"Paste",show:!1},{key:"Cut",show:!1},{key:"Filter",show:!0},{key:"Select Objects",show:!1},{key:"Arrays",show:!0}],menu_view:[{key:"2D Preview",show:!0},{key:"3D Preview",show:!0},{key:"Zoom In",show:!0},{key:"Zoom Out",show:!0},{key:"Fit All in Window",show:!0},{key:"Fit Selection View",show:!0},{key:"Fit Area Selection View",show:!0},{key:"Left-Side Panel",show:!1},{key:"Right-Side Panel",show:!1},{key:"Bottom Panel",show:!1},{key:"Ruler",show:!1},{key:"Grid Style",show:!0},{key:"Grid Size",show:!0}],menu_place:[{key:"Pen",show:!0},{key:"panel-arc",show:!0},{key:"panel-circle",show:!0},{key:"Rect",show:!0},{key:"Text",show:!0},{key:"Image",show:!0},{key:"Smart Dimension ",show:!0},{key:"Auxiliary",show:!0},{key:"panel-measure",show:!0}],menu_design:[],menu_layout:[{key:"Align",show:!1},{key:"Align Left",show:!0},{key:"Align Right",show:!0},{key:"Align Top",show:!0},{key:"Align Bottom",show:!0},{key:"Align Horizontal Centers",show:!0},{key:"Align Vertical Centers",show:!0},{key:"Align Grid",show:!0},{key:"Distribute",show:!1},{key:"Distribute Horizontally",show:!0},{key:"Distribute Vertically",show:!0},{key:"Rotate Left",show:!0},{key:"Rotate Right",show:!0},{key:"Flip Horizontal",show:!0},{key:"Flip Vertical",show:!0},{key:"Bring to Front",show:!0},{key:"Send to Back",show:!0}],menu_auxiliary:[{key:"Order Panel",show:!0},{key:"Settings",show:!0}]},PANEL_LIB:{menu_base:[{key:"Open Project",show:!0},{key:"Save",show:!0},{key:"Save All",show:!0},{key:"Undo",show:!0},{key:"Redo",show:!0},{key:"Copy",show:!1},{key:"Paste",show:!1},{key:"Cut",show:!1},{key:"Filter",show:!0},{key:"Select Objects",show:!1},{key:"Boolean Operation",show:!1},{key:"Arrays",show:!0}],menu_view:[{key:"2D Preview",show:!0},{key:"3D Preview",show:!0},{key:"Zoom In",show:!0},{key:"Zoom Out",show:!0},{key:"Fit All in Window",show:!0},{key:"Fit Selection View",show:!0},{key:"Fit Area Selection View",show:!0},{key:"Left-Side Panel",show:!1},{key:"Right-Side Panel",show:!1},{key:"Bottom Panel",show:!1},{key:"Ruler",show:!1},{key:"Grid Style",show:!0},{key:"Grid Size",show:!0}],menu_place:[{key:"Pen",show:!0},{key:"panel-arc",show:!0},{key:"panel-circle",show:!0},{key:"Rect",show:!0},{key:"Text",show:!0},{key:"Image",show:!0},{key:"Smart Dimension ",show:!0},{key:"Auxiliary",show:!0},{key:"panel-measure",show:!0}],menu_design:[],menu_layout:[{key:"Align",show:!1},{key:"Align Left",show:!0},{key:"Align Right",show:!0},{key:"Align Top",show:!0},{key:"Align Bottom",show:!0},{key:"Align Horizontal Centers",show:!0},{key:"Align Vertical Centers",show:!0},{key:"Align Grid",show:!0},{key:"Distribute",show:!1},{key:"Distribute Horizontally",show:!0},{key:"Distribute Vertically",show:!0},{key:"Rotate Left",show:!0},{key:"Rotate Right",show:!0},{key:"Flip Horizontal",show:!0},{key:"Flip Vertical",show:!0},{key:"Bring to Front",show:!0},{key:"Send to Back",show:!0}],menu_auxiliary:[{key:"Settings",show:!0}]},SIM:{menu_base:[{key:"New",show:!0},{key:"Open Project",show:!0},{key:"Save All",show:!0},{key:"Undo",show:!0},{key:"Redo",show:!0},{key:"Copy",show:!1},{key:"Paste",show:!1},{key:"Cut",show:!1}],menu_view:[{key:"Zoom In",show:!0},{key:"Zoom Out",show:!0},{key:"Fit All in Window",show:!0},{key:"Fit Selection View",show:!0},{key:"Fit Area Selection View",show:!0},{key:"Left-Side Panel",show:!1},{key:"Right-Side Panel",show:!1},{key:"Bottom Panel",show:!1},{key:"Grid Style",show:!0},{key:"Grid Size",show:!0},{key:"Unit",show:!0},{key:"Snap",show:!0}],menu_design:[],menu_simPlace:[{key:"Start",show:!0},{key:"Stop",show:!0},{key:"Simulide_Cir_Time",show:!0},{key:"NGSetting",show:!0},{key:"NG Analysis",show:!0}],menu_probe:[{key:"Probe/V",show:!0},{key:"Probe/I",show:!0},{key:"Probe/L",show:!0}],menu_place:[{key:"Component",show:!0},{key:"Shortcut Device",show:!0},{key:"Resistor",show:!1},{key:"Capacitor",show:!1},{key:"Inductor",show:!1},{key:"Diode",show:!1},{key:"Wire",show:!0},{key:"Net Label",show:!0},{key:"Net Flag",show:!0},{key:"VCC",show:!1},{key:"+5V",show:!1},{key:"GND",show:!1},{key:"No Connect Flag",show:!0},{key:"Drawing Tools",show:!1},{key:"Polyline",show:!0},{key:"Arc",show:!0},{key:"Bezier",show:!0},{key:"Circle",show:!0},{key:"Ellipse",show:!0},{key:"Rect",show:!0},{key:"Text",show:!0},{key:"Image",show:!0},{key:"Table",show:!0}],menu_layout:[{key:"Align",show:!1},{key:"Align Left",show:!0},{key:"Align Right",show:!0},{key:"Align Top",show:!0},{key:"Align Bottom",show:!0},{key:"Align Horizontal Centers",show:!1},{key:"Align Vertical Centers",show:!1},{key:"Align Grid",show:!0},{key:"Distribute",show:!1},{key:"Distribute Horizontally",show:!0},{key:"Distribute Vertically",show:!0},{key:"Rotate Left",show:!0},{key:"Rotate Right",show:!0},{key:"Flip Horizontal",show:!0},{key:"Flip Vertical",show:!0},{key:"Bring to Front",show:!1},{key:"Send to Back",show:!1}],menu_auxiliary:[{key:"Settings",show:!0}]},WAVEFORM:{menu_base:[{key:"New",show:!0},{key:"Open Project",show:!0},{key:"Fit All In Waveform",show:!0},{key:"Settings",show:!0}]}};function $8(t,e,i){let o={};for(let s=0;s<t.length;s++)o[t[s].key]=t[s];let r={};for(let s=0;s<e.length;s++)!e[s].key.startsWith("|")&&o[e[s].key]&&o[e[s].key].show!==e[s].show&&(r[i+"/"+e[s].key+"/show"]=e[s].show);let n=e.filter(s=>s.show),a=t.filter(s=>s.show);for(let s=0;s<n.length;s++)!n[s].key.startsWith("|")&&(a[s]===void 0||n[s].key!==a[s].key)&&(r[i+"/"+n[s].key+"/index"]=s);return r}function tpe(){let t=ue.deepClone(S1r);return _t?(t.PANEL.menu_auxiliary=t.PANEL.menu_auxiliary.filter(e=>e.key!=="Order Panel"),t.PCB.menu_auxiliary=t.PCB.menu_auxiliary.filter(e=>!["Order PCB","Order Parts"].includes(e.key)),t.Schematic.menu_auxiliary=t.Schematic.menu_auxiliary.filter(e=>!["Order PCB","Order Parts"].includes(e.key))):(t.PCB.menu_design=t.PCB.menu_design.filter(e=>!["Annotation"].includes(e.key)),t.Schematic.menu_design=t.Schematic.menu_design.filter(e=>!["Annotation"].includes(e.key))),Nt&&(t.Symbol.menu_place=t.Symbol.menu_place.filter(e=>!["Line Pins","Rect Pins"].includes(e.key)),t.Symbol.menu_design=t.Symbol.menu_design.filter(e=>!["Update Pins from Schematic"].includes(e.key)),t.Schematic.menu_place=t.Schematic.menu_place.filter(e=>!["Component","Shortcut Device","Resistor","Capacitor","Inductor","Diode"].includes(e.key)),t.Schematic.menu_design=t.Schematic.menu_design.filter(e=>!["Generate/Update Block Symbol","Update Netport from Block Symbol"].includes(e.key)),t.Schematic.menu_auxiliary=t.Schematic.menu_auxiliary.filter(e=>!["Order PCB"].includes(e.key)),t.FOOTPRINT.menu_place=t.FOOTPRINT.menu_place.filter(e=>!["Line Pads","Rectangle Pads","Shaped Pad","Fill Region"].includes(e.key)),t.PCB.menu_place=t.PCB.menu_place.filter(e=>!["Copper Area","Fill Region","Prohibited Region"].includes(e.key)),t.PCB.menu_design=t.PCB.menu_design.filter(e=>!["Routing Mode"].includes(e.key)),t.PCB.menu_auxiliary=t.PCB.menu_auxiliary.filter(e=>!["Order PCB","PCB Fabrication File(Gerber)"].includes(e.key))),t}function nwt(){let t=tpe(),e={},i=0;return it(t,(o,r)=>{e[o]=[];let n=1,a;it(r,(s,l)=>{e[o].push(...l),a=Array(++n).fill("|").join(""),e[o].push({key:a,show:!0}),i++}),e[o].pop()}),e}var Lhi={topShortCut:nwt()};var M1r=we.PCB_FOOTPRINT.ADSORPTION.SNAPPING,I1r=we.PCB_FOOTPRINT.ADSORPTION.SNAP_DISTANCE,L1r=we.PCB_FOOTPRINT.ADSORPTION.COMMON,v1r=we.PCB_FOOTPRINT.ADSORPTION.SNAP_POINT,D1r=we.PCB_FOOTPRINT.ADSORPTION.EXTENDED_LINE,E1r=we.PCB_FOOTPRINT.ADSORPTION.LAYOUT_ROUTE,A1r=we.PCB_FOOTPRINT.ADSORPTION.FOOTPRINT_CENTER,N1r=we.PCB_FOOTPRINT.ADSORPTION.FOOTPRINT_ORIGIN,k1r=we.PCB_FOOTPRINT.ADSORPTION.PAD_CENTER,P1r=we.PCB_FOOTPRINT.ADSORPTION.VIA_CENTER,O1r=we.PCB_FOOTPRINT.ADSORPTION.TRACK_CENTER,R1r=we.PCB_FOOTPRINT.ADSORPTION.OUTLINE_OBJECT,_1r=we.PCB_FOOTPRINT.ADSORPTION.ENDPOINT,j1r=we.PCB_FOOTPRINT.ADSORPTION.MIDPOINT,B1r=we.PCB_FOOTPRINT.ADSORPTION.INTERSECTION,z1r=we.PCB_FOOTPRINT.ADSORPTION.ARC_CIRCLE_CENTER_POINT,F1r=we.PCB_FOOTPRINT.ADSORPTION.PERPENDICULAR_FOOT,U1r=we.PCB_FOOTPRINT.ADSORPTION.TANGENT_POINT,V1r=we.PCB_FOOTPRINT.ADSORPTION.REGION_CENTER,H1r=we.PCB_FOOTPRINT.ADSORPTION.LINE_CENTER,G1r=we.PCB_FOOTPRINT.ADSORPTION.PAD_VERTICES,Y1r=we.PCB_FOOTPRINT.ADSORPTION.PAD_EDGES,j_={Common:L1r,"Layout/Route":E1r,"Outline Object":R1r,Snapping:M1r,"Snap Distance":I1r,"Grid Point":v1r,"Extended Line":D1r,"Footprint Center":A1r,"Footprint Origin":N1r,"Pad Center":k1r,"Pad Vertices":G1r,"Pad Edges":Y1r,"Via Center":P1r,"Track Center":O1r,Endpoint:_1r,Midpoint:j1r,Intersection:B1r,"Arc/Circle Center Point":z1r,"Perpendicular Foot":F1r,"Tangent Point":U1r,"Region Center":V1r,"Line Center":H1r};var wRe={"Snapping Key":{value:{id:"Snapping",options:{value:"allLayers",disabled:!1}}},"Snap Distance Key":{value:{id:"Snap Distance",options:{value:"8",unit:"mil",disabled:!1}}},Common:{value:{id:"Common",options:[{id:"Grid Point",checked:!0},{id:"Extended Line",checked:!0}]}},"Layout/Route":{value:{id:"Layout/Route",options:[{id:"Footprint Center",checked:!0},{id:"Footprint Origin",checked:!1},{id:"Pad Center",checked:!0},{id:"Pad Vertices",checked:!1},{id:"Pad Edges",checked:!1},{id:"Via Center",checked:!0},{id:"Track Center",checked:!0}]}},"Outline Object":{value:{id:"Outline Object",options:[{id:"Endpoint",checked:!0},{id:"Midpoint",checked:!0},{id:"Intersection",checked:!0},{id:"Arc/Circle Center Point",checked:!0},{id:"Perpendicular Foot",checked:!0},{id:"Tangent Point",checked:!0},{id:"Region Center",checked:!0},{id:"Line Center",checked:!0}]}}};var W1r={cursor:{value:"Big",disabled:!1},schAlwaysDisplayCursor:{value:!1,disabled:!1},gridStyle:{value:"not",disabled:!1},panel_gridSize:{value:"0.1",disabled:!1},panelAltSnapGridSize:{value:"0.05",disaled:!1},ruler:{value:!0,disabled:!1},is_ctrl_drag_to_drag:{value:!0,disabled:!1},designCheckWarn:{value:!0,disabled:!1},referencePointPanelSelectMethod:{value:"default",disabled:!1}},vhi=W1r;var bZ={color:{background:"none",grid:_e.HEX_GRAY_COLOR6,select:"#FF9933",highlight:_e.HEX_GRAY_COLOR4,arc:_e.HEX_BLACK_COLOR,rect:_e.HEX_BLACK_COLOR,circle:_e.HEX_BLACK_COLOR,line:_e.HEX_BLACK_COLOR,text:_e.HEX_BLACK_COLOR,auxiliaryLine:"#00FFFF",dimensionConstraint:_e.HEX_BLACK_COLOR,dimensionLabel:_e.HEX_GRAY_COLOR3,normalDimension:_e.HEX_GRAY_COLOR5},fillColor:{arc:"",rect:_e.HEX_BLACK_COLOR,circle:_e.HEX_BLACK_COLOR,line:"",auxiliaryPoint:"#FF00FF"},fontStyle:{text:{fontFamily:"\u9ED1\u4F53",fontSize:"10",fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"}},shape:{arc:{width:1,dash:"0"},rect:{width:0,dash:"0"},circle:{width:0,dash:"0"},line:{width:1,dash:"0"},auxiliaryLine:{width:1,dash:"0"}}};var Q1r=[{device:"7462fa2ce8a743aba4a5be8c58208d4d",deviceName:"aaaa",comment:"\u6211\u662F\u5907\u6CE8\u540D1",devicePath:"xxxx",category:"fakeeeeeeeeeeeee",group:"ccc",symbol:"cda835af9330471cbf2776cd7a474a09",symbolName:"bbbb",footprint:"b475577aaa1c4d4895262d44f0a18f31",footprintName:"ccccc",sch:"disabled",pcb:"true",sortIndex:0,updateTime:1645298795},{device:"b76b4a69371041b6a3d6f7eaf26adfe4",deviceName:"dddd",comment:"\u6211\u662F\u5907\u6CE8\u540D2",devicePath:"",category:"fakeeeeeeeeeeeee",group:"333",symbol:"8e9099f70787492d9f4974baa4c31465",symbolName:"eeee",footprint:"de0100c4b7194e88b928175c8542abb9",footprintName:"fffff",sch:"disabled",pcb:"true",sortIndex:1,updateTime:1645298795}],K1r=[{device:"faaaaaaaaaaaaaaaaaaaaaaaa",deviceName:"ggggg",comment:"\u6211\u662F\u5907\u6CE8\u540D3",devicePath:"xxxxx",category:"fake",group:"ccc",symbol:"cda835af9330471cbf2776cd7a474a09",symbolName:"hhhhh",footprint:"b475577aaa1c4d4895262d44f0a18f31",footprintName:"iiiii",sch:"disabled",pcb:"true",sortIndex:2,updateTime:1645298795},{device:"b76b4a69371041b6a3d6f7eaf26adfe4",deviceName:"jjjjj",comment:"\u6211\u662F\u5907\u6CE8\u540D4",devicePath:"xxxxx",category:"fake",group:"333",symbol:"8e9099f70787492d9f4974baa4c31465",symbolName:"kkkkk",footprint:"de0100c4b7194e88b928175c8542abb9",footprintName:"llllll",sch:"disabled",pcb:"true",sortIndex:3,updateTime:1645298795}];var Dhi=[{name:"",data:[]}],Ehi=[{name:"",data:[]}],Ahi=[{data:Q1r,name:"fakeeeeeeeeeeeee"},{data:K1r,name:"fake"}];function awt(t){if(!Array.isArray(t))return{};let e={};return t.map(i=>{if(i.data){let o=i.data.map(r=>({device:r.device,devicePath:r.devicePath,category:r.category,group:r.group,sch:r.sch,pcb:r.pcb,updateTime:r.updateTime,comment:r.comment,NGspice:r.NGspice,SimulIDE:r.SimulIDE}));o.length>0&&(e[i.name]=o)}}),e}function swt(t){if(!Array.isArray(t))return{};let e={};return t.map(i=>{if(i.data){let o=i.data.map(r=>({uuid:r.uuid,path:r.path,category:r.category,group:r.group,comment:r.comment}));o.length>0&&(e[i.name]=o)}}),e}var Pb={None:"icon-eda-filler-none",Solid:"icon-eda-filler-solid",Grid:"icon-eda-filler-grid","Horizontal Line":"icon-eda-filler-horizontal","Vertical Line":"icon-eda-filler-vertical","Rhombic Grid":"icon-eda-filler-rhombic-grid","Left Slash Line":"icon-eda-filler-left-slash","Right Slash Line":"icon-eda-filler-right-slash"},s4={0:"None",1:"Solid",2:"Grid",3:"Horizontal Line",4:"Vertical Line",5:"Rhombic Grid",6:"Left Slash Line",7:"Right Slash Line"},lwt="#333333",Nhi="#1890FF",Qi="8",cwt={theme:{activeTheme:"lceda",black:{color:{background:_e.HEX_BLACK_COLOR,canvas:_e.HEX_BLACK_COLOR,grid:lwt,select:"#00FFFF",highlight:Nhi,updateTips:"#FF00FF",wire:_e.HEX_RED_COLOR,bus:_e.HEX_RED_COLOR,junction:_e.HEX_RED_COLOR,noConnectPoint:"#FFFF00",noConnectFlag:"#33CC33",netName:_e.HEX_WHITE_COLOR,netProperty:"#FFFF00",symbol:"#008000",diffPairsFlag:"#008000",maskRegion:"#00CC00",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,symbolName:_e.HEX_WHITE_COLOR,symbolProperty:"#FFFF00",reuseBlockSymbol:"#008000",blockSymbolName:_e.HEX_WHITE_COLOR,blockSymbolProperty:"#FFFF00",pin:"#008080",pinName:_e.HEX_WHITE_COLOR,pinProperty:"#FFFF00",unusualHint:"#FF00FF",line:"#008000",rect:"#008000",arc:"#008000",bezier:"#008000",circle:"#008000",ellipse:"#008000",text:_e.HEX_GREEN_COLOR,table:"#008000",annotation:"#00CCFF"},fillColor:{symbol:"none",maskRegion:"#CCCCCC",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,reuseBlockSymbol:"none",line:"none",arc:"none",bezier:"none",rect:"none",circle:"none",ellipse:"none",table:"none"},fontStyle:{symbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},diffPairsFlag:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},notAddIntoBomOrNotConvertToPcb:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},reuseBlockSymbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},text:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},table:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0",fontColor:_e.HEX_GREEN_COLOR,lineHeight:1.2,textAlign:"left",verticalAlign:"top"}},shape:{bus:{width:"2",dash:"0"},wire:{width:"1",dash:"0"},arc:{width:"1",dash:"0",fillStyle:"1"},bezier:{width:"1",dash:"0",fillStyle:"1"},rect:{width:"1",dash:"0",fillStyle:"1"},circle:{width:"1",dash:"0",fillStyle:"1"},ellipse:{width:"1",dash:"0",fillStyle:"1"},line:{width:"1",dash:"0",fillStyle:"1"},symbol:{width:"1",dash:"0",fillStyle:"1"},diffPairsFlag:{width:"1",dash:"0",fillStyle:"1"},table:{width:"1",dash:"0",disableDash:!0,fillStyle:"1"},reuseBlockSymbol:{width:"1",dash:"0",fillStyle:"1"},annotation:{width:"1",dash:"0"},notAddIntoBomOrNotConvertToPcb:{width:"1",dash:"0",fillStyle:"5"},maskRegion:{width:"1",dash:"0"}}},white:{color:{background:_e.HEX_WHITE_COLOR,canvas:_e.HEX_WHITE_COLOR,grid:"#F0F0EB",select:"#FF9933",highlight:_e.HEX_GRAY_COLOR4,updateTips:"#FF00FF",wire:_e.HEX_RED_COLOR,bus:_e.HEX_RED_COLOR,junction:_e.HEX_RED_COLOR,noConnectPoint:_e.HEX_BLUE_COLOR,noConnectFlag:"#33CC33",netName:_e.HEX_BLACK_COLOR,netProperty:_e.HEX_BLUE_COLOR,symbol:"#008000",diffPairsFlag:"#008000",maskRegion:"#800000",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,symbolName:_e.HEX_BLACK_COLOR,symbolProperty:_e.HEX_BLUE_COLOR,reuseBlockSymbol:"#008000",blockSymbolName:_e.HEX_BLACK_COLOR,blockSymbolProperty:_e.HEX_BLUE_COLOR,pin:"#008000",pinName:_e.HEX_BLACK_COLOR,pinProperty:"0000FF",unusualHint:"#FF00FF",line:"#008000",rect:"#008000",arc:"#008000",bezier:"#008000",circle:"#008000",ellipse:"#008000",text:"#000080",table:"#008000",annotation:"#00CCFF"},fillColor:{symbol:"none",maskRegion:"#FAFAFA",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,reuseBlockSymbol:"none",line:"none",arc:"none",bezier:"none",rect:"none",circle:"none",ellipse:"none",table:"none"},fontStyle:{symbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},diffPairsFlag:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},notAddIntoBomOrNotConvertToPcb:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},reuseBlockSymbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},text:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},table:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0",fontColor:"#000080",lineHeight:1.2,textAlign:"left",verticalAlign:"top"}},shape:{bus:{width:"2",dash:"0"},wire:{width:"1",dash:"0"},arc:{width:"1",dash:"0",fillStyle:"1"},bezier:{width:"1",dash:"0",fillStyle:"1"},rect:{width:"1",dash:"0",fillStyle:"1"},circle:{width:"1",dash:"0",fillStyle:"1"},ellipse:{width:"1",dash:"0",fillStyle:"1"},line:{width:"1",dash:"0",fillStyle:"1"},symbol:{width:"1",dash:"0",fillStyle:"1"},diffPairsFlag:{width:"1",dash:"0",fillStyle:"1"},table:{width:"1",dash:"0",disableDash:!0,fillStyle:"1"},reuseBlockSymbol:{width:"1",dash:"0",fillStyle:"1"},annotation:{width:"1",dash:"0"},notAddIntoBomOrNotConvertToPcb:{width:"1",dash:"0",fillStyle:"5"},maskRegion:{width:"1",dash:"0"}}},lceda:{color:{background:"#FFFCF8",canvas:"#FFFCF8",grid:"#F0F0EB",select:_e.HEX_RED_COLOR,highlight:"#FF9933",updateTips:"#FF00FF",wire:"#008800",bus:"#008800",junction:"#CC0000",noConnectPoint:_e.HEX_GRAY_COLOR3,noConnectFlag:"#33CC33",netName:_e.HEX_BLUE_COLOR,netProperty:"#000080",symbol:"#A00000",diffPairsFlag:"#A00000",maskRegion:"#800000",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,symbolName:_e.HEX_BLUE_COLOR,symbolProperty:"#000080",reuseBlockSymbol:"#A00000",blockSymbolName:_e.HEX_BLUE_COLOR,blockSymbolProperty:"#000080",pin:"#880000",pinName:_e.HEX_BLACK_COLOR,pinProperty:_e.HEX_BLACK_COLOR,unusualHint:"#FF00FF",line:_e.HEX_BLACK_COLOR,rect:_e.HEX_BLACK_COLOR,arc:_e.HEX_BLACK_COLOR,bezier:_e.HEX_BLACK_COLOR,circle:_e.HEX_BLACK_COLOR,ellipse:_e.HEX_BLACK_COLOR,text:_e.HEX_BLACK_COLOR,table:"#A00000",annotation:"#00CCFF"},fillColor:{symbol:"none",maskRegion:"#FAFAFA",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,reuseBlockSymbol:"none",line:"none",arc:"none",bezier:"none",rect:"none",circle:"none",ellipse:"none",table:"none"},fontStyle:{symbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},diffPairsFlag:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},notAddIntoBomOrNotConvertToPcb:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},reuseBlockSymbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},text:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},table:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0",fontColor:_e.HEX_BLACK_COLOR,lineHeight:1.2,textAlign:"left",verticalAlign:"top"}},shape:{bus:{width:"2",dash:"0"},wire:{width:"1",dash:"0"},arc:{width:"1",dash:"0",fillStyle:"1"},bezier:{width:"1",dash:"0",fillStyle:"1"},rect:{width:"1",dash:"0",fillStyle:"1"},circle:{width:"1",dash:"0",fillStyle:"1"},ellipse:{width:"1",dash:"0",fillStyle:"1"},line:{width:"1",dash:"0",fillStyle:"1"},symbol:{width:"1",dash:"0",fillStyle:"1"},diffPairsFlag:{width:"1",dash:"0",fillStyle:"1"},maskRegion:{width:"1",dash:"0"},table:{width:"1",dash:"0",disableDash:!0,fillStyle:"1"},reuseBlockSymbol:{width:"1",dash:"0",fillStyle:"1"},annotation:{width:"1",dash:"0"},notAddIntoBomOrNotConvertToPcb:{width:"1",dash:"0",fillStyle:"5"}}},AD:{color:{background:"#C6C6C6",canvas:"#FFFCF8",grid:"#F0F0EB",select:_e.HEX_RED_COLOR,highlight:"#FF9933",updateTips:"#FF00FF",wire:"#000080",bus:"#000080",junction:"#000080",noConnectPoint:_e.HEX_GRAY_COLOR3,noConnectFlag:_e.HEX_RED_COLOR,netName:"#800000",netProperty:"#800000",symbol:_e.HEX_BLUE_COLOR,diffPairsFlag:_e.HEX_BLUE_COLOR,maskRegion:"#800000",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,symbolName:"#800000",symbolProperty:"#000080",reuseBlockSymbol:"#800000",blockSymbolName:"#800000",blockSymbolProperty:"#000080",pin:_e.HEX_BLACK_COLOR,pinName:_e.HEX_BLACK_COLOR,pinProperty:_e.HEX_BLACK_COLOR,unusualHint:"#FF00FF",line:_e.HEX_BLUE_COLOR,rect:_e.HEX_BLUE_COLOR,arc:_e.HEX_BLUE_COLOR,bezier:_e.HEX_BLUE_COLOR,circle:_e.HEX_BLUE_COLOR,ellipse:_e.HEX_BLUE_COLOR,text:"#000080",table:_e.HEX_BLUE_COLOR,annotation:"#00CCFF"},fillColor:{symbol:"none",maskRegion:"#FAFAFA",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,reuseBlockSymbol:"none",line:"none",arc:"none",bezier:"none",rect:"none",circle:"none",ellipse:"none",table:"none"},fontStyle:{symbol:{fontFamily:"Times New Roman",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},diffPairsFlag:{fontFamily:"Times New Roman",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},notAddIntoBomOrNotConvertToPcb:{fontFamily:"Times New Roman",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},reuseBlockSymbol:{fontFamily:"Times New Roman",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netName:{fontFamily:"Times New Roman",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolName:{fontFamily:"Times New Roman",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolName:{fontFamily:"Times New Roman",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinName:{fontFamily:"Times New Roman",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netProperty:{fontFamily:"Times New Roman",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolProperty:{fontFamily:"Times New Roman",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolProperty:{fontFamily:"Times New Roman",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinProperty:{fontFamily:"Times New Roman",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},text:{fontFamily:"Times New Roman",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},table:{fontFamily:"Times New Roman",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0",fontColor:"#000080",lineHeight:1.2,textAlign:"left",verticalAlign:"top"}},shape:{bus:{width:"2",dash:"0"},wire:{width:"1",dash:"0"},arc:{width:"1",dash:"0",fillStyle:"1"},bezier:{width:"1",dash:"0",fillStyle:"1"},rect:{width:"1",dash:"0",fillStyle:"1"},circle:{width:"1",dash:"0",fillStyle:"1"},ellipse:{width:"1",dash:"0",fillStyle:"1"},line:{width:"1",dash:"0",fillStyle:"1"},symbol:{width:"1",dash:"0",fillStyle:"1"},diffPairsFlag:{width:"1",dash:"0",fillStyle:"1"},maskRegion:{width:"1",dash:"0"},table:{width:"1",dash:"0",disableDash:!0,fillStyle:"1"},reuseBlockSymbol:{width:"1",dash:"0",fillStyle:"1"},annotation:{width:"1",dash:"0"},notAddIntoBomOrNotConvertToPcb:{width:"1",dash:"0",fillStyle:"5"}}},Eagle:{color:{background:_e.HEX_WHITE_COLOR,canvas:_e.HEX_WHITE_COLOR,grid:"#EEEEEE",select:"#00DBB3",highlight:"#00DBB3",updateTips:"#FF00FF",wire:"#3DBC91",bus:"#38ABDF",junction:"#3DBC91",noConnectPoint:"#3DBC91",noConnectFlag:"#33CC33",netName:"#A2A2A2",netProperty:"#A2A2A2",maskRegion:"#800000",symbol:"#D43D3D",diffPairsFlag:"#D43D3D",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,symbolName:"#A2A2A2",symbolProperty:"#A2A2A2",reuseBlockSymbol:"#D43D3D",blockSymbolName:"#A2A2A2",blockSymbolProperty:"#A2A2A2",pin:"#D43D3D",pinName:"#A2A2A2",pinProperty:"#A2A2A2",unusualHint:"#FF00FF",line:"#3DBC91",rect:"#3DBC91",arc:"#3DBC91",bezier:"#3DBC91",circle:"#3DBC91",ellipse:"#3DBC91",text:"#3DBC91",table:"#D43D3D",annotation:"#00CCFF"},fillColor:{symbol:"none",maskRegion:"#FAFAFA",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,reuseBlockSymbol:"none",line:"none",arc:"none",bezier:"none",rect:"none",circle:"none",ellipse:"none",table:"none"},fontStyle:{symbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},diffPairsFlag:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},notAddIntoBomOrNotConvertToPcb:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},reuseBlockSymbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},text:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},table:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0",fontColor:"#3DBC91",lineHeight:1.2,textAlign:"left",verticalAlign:"top"}},shape:{bus:{width:"2",dash:"0"},wire:{width:"1",dash:"0"},arc:{width:"1",dash:"0",fillStyle:"1"},bezier:{width:"1",dash:"0",fillStyle:"1"},rect:{width:"1",dash:"0",fillStyle:"1"},circle:{width:"1",dash:"0",fillStyle:"1"},ellipse:{width:"1",dash:"0",fillStyle:"1"},line:{width:"1",dash:"0",fillStyle:"1"},symbol:{width:"1",dash:"0",fillStyle:"1"},diffPairsFlag:{width:"1",dash:"0",fillStyle:"1"},maskRegion:{width:"1",dash:"0"},table:{width:"1",dash:"0",disableDash:!0,fillStyle:"1"},reuseBlockSymbol:{width:"1",dash:"0",fillStyle:"1"},annotation:{width:"1",dash:"0"},notAddIntoBomOrNotConvertToPcb:{width:"1",dash:"0",fillStyle:"5"}}},KiCad:{color:{background:"#F5F4EF",canvas:"#F5F4EF",grid:"#B5B5B5",select:"#66B3FF",highlight:"#66B3FF",updateTips:"#FF00FF",wire:"#009600",bus:"#000084",junction:"#009600",noConnectPoint:"#840000",noConnectFlag:"#000084",netName:_e.HEX_BLACK_COLOR,netProperty:"#008484",symbol:"#840000",diffPairsFlag:"#840000",maskRegion:"#800000",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,symbolName:"#006464",symbolProperty:"#A90000",reuseBlockSymbol:"#840000",blockSymbolName:"#006464",blockSymbolProperty:"#A90000",pin:"#840000",pinName:"#008484",pinProperty:"#840000",unusualHint:"#FF00FF",line:"#840000",rect:"#840000",arc:"#840000",bezier:"#840000",circle:"#840000",ellipse:"#840000",text:"#0000C2",table:"#840000",annotation:"#00CCFF"},fillColor:{symbol:"none",maskRegion:"#FAFAFA",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,reuseBlockSymbol:"none",line:"none",arc:"none",bezier:"none",rect:"none",circle:"none",ellipse:"none",table:"none"},fontStyle:{symbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},diffPairsFlag:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},notAddIntoBomOrNotConvertToPcb:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},reuseBlockSymbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},text:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},table:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0",fontColor:"#0000C2",lineHeight:1.2,textAlign:"left",verticalAlign:"top"}},shape:{bus:{width:"2",dash:"0"},wire:{width:"1",dash:"0"},arc:{width:"1",dash:"0",fillStyle:"1"},bezier:{width:"1",dash:"0",fillStyle:"1"},rect:{width:"1",dash:"0",fillStyle:"1"},circle:{width:"1",dash:"0",fillStyle:"1"},ellipse:{width:"1",dash:"0",fillStyle:"1"},line:{width:"1",dash:"0",fillStyle:"1"},symbol:{width:"1",dash:"0",fillStyle:"1"},diffPairsFlag:{width:"1",dash:"0",fillStyle:"1"},maskRegion:{width:"1",dash:"0"},table:{width:"1",dash:"0",disableDash:!0,fillStyle:"1"},reuseBlockSymbol:{width:"1",dash:"0",fillStyle:"1"},annotation:{width:"1",dash:"0"},notAddIntoBomOrNotConvertToPcb:{width:"1",dash:"0",fillStyle:"5"}}},OrCad:{color:{background:_e.HEX_WHITE_COLOR,canvas:_e.HEX_WHITE_COLOR,grid:"#C0C0C0",select:"#FF00FF",highlight:"#FF00FF",updateTips:"#FF00FF",wire:"#800040",bus:_e.HEX_BLUE_COLOR,junction:"#FF00FF",noConnectPoint:"#800040",noConnectFlag:"#33CC33",netName:"#004080",netProperty:_e.HEX_BLACK_COLOR,symbol:_e.HEX_BLUE_COLOR,diffPairsFlag:_e.HEX_BLUE_COLOR,maskRegion:"#800000",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,symbolName:_e.HEX_BLACK_COLOR,symbolProperty:_e.HEX_BLACK_COLOR,reuseBlockSymbol:_e.HEX_BLUE_COLOR,blockSymbolName:_e.HEX_BLACK_COLOR,blockSymbolProperty:_e.HEX_BLACK_COLOR,pin:_e.HEX_RED_COLOR,pinName:"#004080",pinProperty:_e.HEX_BLACK_COLOR,unusualHint:"#FF00FF",line:_e.HEX_BLACK_COLOR,rect:_e.HEX_BLACK_COLOR,arc:_e.HEX_BLACK_COLOR,bezier:_e.HEX_BLACK_COLOR,circle:_e.HEX_BLACK_COLOR,ellipse:_e.HEX_BLACK_COLOR,text:_e.HEX_BLACK_COLOR,table:_e.HEX_BLUE_COLOR,annotation:"#00CCFF"},fillColor:{symbol:"none",maskRegion:"#FAFAFA",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,reuseBlockSymbol:"none",line:"none",arc:"none",bezier:"none",rect:"none",circle:"none",ellipse:"none",table:"none"},fontStyle:{symbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},diffPairsFlag:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},notAddIntoBomOrNotConvertToPcb:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},reuseBlockSymbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},text:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},table:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0",fontColor:_e.HEX_BLACK_COLOR,lineHeight:1.2,textAlign:"left",verticalAlign:"top"}},shape:{bus:{width:"2",dash:"0"},wire:{width:"1",dash:"0"},arc:{width:"1",dash:"0",fillStyle:"1"},bezier:{width:"1",dash:"0",fillStyle:"1"},rect:{width:"1",dash:"0",fillStyle:"1"},circle:{width:"1",dash:"0",fillStyle:"1"},ellipse:{width:"1",dash:"0",fillStyle:"1"},line:{width:"1",dash:"0",fillStyle:"1"},symbol:{width:"1",dash:"0",fillStyle:"1"},diffPairsFlag:{width:"1",dash:"0",fillStyle:"1"},maskRegion:{width:"1",dash:"0"},table:{width:"1",dash:"0",disableDash:!0,fillStyle:"1"},reuseBlockSymbol:{width:"1",dash:"0",fillStyle:"1"},annotation:{width:"1",dash:"0"},notAddIntoBomOrNotConvertToPcb:{width:"1",dash:"0",fillStyle:"5"}}},PADSLogic:{color:{background:_e.HEX_BLACK_COLOR,canvas:_e.HEX_BLACK_COLOR,grid:lwt,select:_e.HEX_WHITE_COLOR,highlight:_e.HEX_WHITE_COLOR,updateTips:_e.HEX_WHITE_COLOR,wire:"#FF00FF",bus:"#008080",junction:"#FF00FF",noConnectPoint:"#FF00FF",noConnectFlag:"#00FFFF",netName:"#00FFFF",netProperty:"#00FFFF",symbol:"#00FFFF",diffPairsFlag:"#00FFFF",maskRegion:"#00CC00",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,symbolName:_e.HEX_GREEN_COLOR,symbolProperty:"#00FFFF",reuseBlockSymbol:"#00FFFF",blockSymbolName:_e.HEX_GREEN_COLOR,blockSymbolProperty:_e.HEX_GREEN_COLOR,pin:"#00FFFF",pinName:"#00FFFF",pinProperty:"#00FFFF",unusualHint:"#FF00FF",line:"#FFFF00",rect:"#FFFF00",arc:"#FFFF00",bezier:"#FFFF00",circle:"#FFFF00",ellipse:"#FFFF00",text:"#FFFF00",table:"#00FFFF",annotation:"#00CCFF"},fillColor:{symbol:"none",maskRegion:"#CCCCCC",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,reuseBlockSymbol:"none",line:"none",arc:"none",bezier:"none",rect:"none",circle:"none",ellipse:"none",table:"none"},fontStyle:{symbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},diffPairsFlag:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},notAddIntoBomOrNotConvertToPcb:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},reuseBlockSymbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},text:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},table:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0",fontColor:"#FFFF00",lineHeight:1.2,textAlign:"left",verticalAlign:"top"}},shape:{bus:{width:"2",dash:"0"},wire:{width:"1",dash:"0"},arc:{width:"1",dash:"0",fillStyle:"1"},bezier:{width:"1",dash:"0",fillStyle:"1"},rect:{width:"1",dash:"0",fillStyle:"1"},circle:{width:"1",dash:"0",fillStyle:"1"},ellipse:{width:"1",dash:"0",fillStyle:"1"},line:{width:"1",dash:"0",fillStyle:"1"},symbol:{width:"1",dash:"0",fillStyle:"1"},diffPairsFlag:{width:"1",dash:"0",fillStyle:"1"},maskRegion:{width:"1",dash:"0"},table:{width:"1",dash:"0",disableDash:!0,fillStyle:"1"},reuseBlockSymbol:{width:"1",dash:"0",fillStyle:"1"},annotation:{width:"1",dash:"0"},notAddIntoBomOrNotConvertToPcb:{width:"1",dash:"0",fillStyle:"5"}}},WhiteOnBlack:{color:{background:_e.HEX_BLACK_COLOR,canvas:_e.HEX_BLACK_COLOR,grid:lwt,select:"#00FFFF",highlight:Nhi,updateTips:"#FF00FF",wire:_e.HEX_WHITE_COLOR,bus:_e.HEX_WHITE_COLOR,junction:_e.HEX_WHITE_COLOR,noConnectPoint:_e.HEX_WHITE_COLOR,noConnectFlag:_e.HEX_WHITE_COLOR,netName:_e.HEX_WHITE_COLOR,netProperty:_e.HEX_WHITE_COLOR,symbol:_e.HEX_WHITE_COLOR,diffPairsFlag:_e.HEX_WHITE_COLOR,maskRegion:_e.HEX_WHITE_COLOR,notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,symbolName:_e.HEX_WHITE_COLOR,symbolProperty:_e.HEX_WHITE_COLOR,reuseBlockSymbol:_e.HEX_WHITE_COLOR,blockSymbolName:_e.HEX_WHITE_COLOR,blockSymbolProperty:_e.HEX_WHITE_COLOR,pin:_e.HEX_WHITE_COLOR,pinName:_e.HEX_WHITE_COLOR,pinProperty:_e.HEX_WHITE_COLOR,unusualHint:_e.HEX_WHITE_COLOR,line:_e.HEX_WHITE_COLOR,rect:_e.HEX_WHITE_COLOR,arc:_e.HEX_WHITE_COLOR,bezier:_e.HEX_WHITE_COLOR,circle:_e.HEX_WHITE_COLOR,ellipse:_e.HEX_WHITE_COLOR,text:_e.HEX_WHITE_COLOR,table:_e.HEX_WHITE_COLOR,annotation:"#00CCFF"},fillColor:{symbol:"none",maskRegion:"#CCCCCC",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,reuseBlockSymbol:"none",line:"none",arc:"none",bezier:"none",rect:"none",circle:"none",ellipse:"none",table:"none"},fontStyle:{symbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},diffPairsFlag:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},notAddIntoBomOrNotConvertToPcb:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},reuseBlockSymbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},text:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},table:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0",fontColor:_e.HEX_WHITE_COLOR,lineHeight:1.2,textAlign:"left",verticalAlign:"top"}},shape:{bus:{width:"2",dash:"0"},wire:{width:"1",dash:"0"},arc:{width:"1",dash:"0",fillStyle:"1"},bezier:{width:"1",dash:"0",fillStyle:"1"},rect:{width:"1",dash:"0",fillStyle:"1"},circle:{width:"1",dash:"0",fillStyle:"1"},ellipse:{width:"1",dash:"0",fillStyle:"1"},line:{width:"1",dash:"0",fillStyle:"1"},symbol:{width:"1",dash:"0",fillStyle:"1"},diffPairsFlag:{width:"1",dash:"0",fillStyle:"1"},maskRegion:{width:"1",dash:"0"},table:{width:"1",dash:"0",disableDash:!0,fillStyle:"1"},reuseBlockSymbol:{width:"1",dash:"0",fillStyle:"1"},annotation:{width:"1",dash:"0"},notAddIntoBomOrNotConvertToPcb:{width:"1",dash:"0",fillStyle:"5"}}},BlackOnWhite:{color:{background:_e.HEX_WHITE_COLOR,canvas:_e.HEX_WHITE_COLOR,grid:"#F0F0EB",select:"#FF9933",highlight:_e.HEX_GRAY_COLOR4,updateTips:"#FF00FF",wire:_e.HEX_BLACK_COLOR,bus:_e.HEX_BLACK_COLOR,junction:_e.HEX_BLACK_COLOR,noConnectPoint:_e.HEX_BLACK_COLOR,noConnectFlag:_e.HEX_BLACK_COLOR,netName:_e.HEX_BLACK_COLOR,netProperty:_e.HEX_BLACK_COLOR,symbol:_e.HEX_BLACK_COLOR,diffPairsFlag:_e.HEX_BLACK_COLOR,maskRegion:_e.HEX_BLACK_COLOR,notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,symbolName:_e.HEX_BLACK_COLOR,symbolProperty:_e.HEX_BLACK_COLOR,reuseBlockSymbol:_e.HEX_BLACK_COLOR,blockSymbolName:_e.HEX_BLACK_COLOR,blockSymbolProperty:_e.HEX_BLACK_COLOR,pin:_e.HEX_BLACK_COLOR,pinName:_e.HEX_BLACK_COLOR,pinProperty:_e.HEX_BLACK_COLOR,unusualHint:_e.HEX_BLACK_COLOR,line:_e.HEX_BLACK_COLOR,rect:_e.HEX_BLACK_COLOR,arc:_e.HEX_BLACK_COLOR,bezier:_e.HEX_BLACK_COLOR,circle:_e.HEX_BLACK_COLOR,ellipse:_e.HEX_BLACK_COLOR,text:_e.HEX_BLACK_COLOR,table:_e.HEX_BLACK_COLOR,annotation:"#00CCFF"},fillColor:{symbol:"none",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,maskRegion:"#CCCCCC",reuseBlockSymbol:"none",line:"none",arc:"none",bezier:"none",rect:"none",circle:"none",ellipse:"none",table:"none"},fontStyle:{symbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},diffPairsFlag:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},notAddIntoBomOrNotConvertToPcb:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},reuseBlockSymbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},text:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},table:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0",fontColor:_e.HEX_BLACK_COLOR,lineHeight:1.2,textAlign:"left",verticalAlign:"top"}},shape:{bus:{width:"2",dash:"0"},wire:{width:"1",dash:"0"},arc:{width:"1",dash:"0",fillStyle:"1"},bezier:{width:"1",dash:"0",fillStyle:"1"},rect:{width:"1",dash:"0",fillStyle:"1"},circle:{width:"1",dash:"0",fillStyle:"1"},ellipse:{width:"1",dash:"0",fillStyle:"1"},line:{width:"1",dash:"0",fillStyle:"1"},symbol:{width:"1",dash:"0",fillStyle:"1"},diffPairsFlag:{width:"1",dash:"0",fillStyle:"1"},maskRegion:{width:"1",dash:"0"},table:{width:"1",dash:"0",disableDash:!0,fillStyle:"1"},reuseBlockSymbol:{width:"1",dash:"0",fillStyle:"1"},annotation:{width:"1",dash:"0"},notAddIntoBomOrNotConvertToPcb:{width:"1",dash:"0",fillStyle:"5"}}},customize:{color:{background:_e.HEX_WHITE_COLOR,canvas:_e.HEX_WHITE_COLOR,grid:"#F0F0EB",select:_e.HEX_WHITE_COLOR,highlight:"#FF9933",updateTips:"#FF00FF",wire:"#008800",bus:"#008800",junction:"#CC0000",noConnectPoint:_e.HEX_GRAY_COLOR3,noConnectFlag:"#33CC33",netName:_e.HEX_BLUE_COLOR,netProperty:"#000080",symbol:"#A00000",diffPairsFlag:"#A00000",maskRegion:"#800000",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,symbolName:_e.HEX_BLUE_COLOR,symbolProperty:"#000080",reuseBlockSymbol:"#A00000",blockSymbolName:_e.HEX_BLUE_COLOR,blockSymbolProperty:"#000080",pin:"#880000",pinName:_e.HEX_BLACK_COLOR,pinProperty:_e.HEX_BLACK_COLOR,unusualHint:"#FF00FF",line:_e.HEX_BLACK_COLOR,rect:_e.HEX_BLACK_COLOR,arc:_e.HEX_BLACK_COLOR,bezier:_e.HEX_BLACK_COLOR,circle:_e.HEX_BLACK_COLOR,ellipse:_e.HEX_BLACK_COLOR,text:_e.HEX_BLACK_COLOR,table:"#A00000",annotation:"#00CCFF"},fillColor:{symbol:"none",maskRegion:"#FAFAFA",notAddIntoBomOrNotConvertToPcb:_e.HEX_GRAY_COLOR3,reuseBlockSymbol:"none",line:"none",arc:"none",bezier:"none",rect:"none",circle:"none",ellipse:"none",table:"none"},fontStyle:{symbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},diffPairsFlag:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},notAddIntoBomOrNotConvertToPcb:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},reuseBlockSymbol:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinName:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},netProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},symbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},blockSymbolProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},pinProperty:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},text:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0"},table:{fontFamily:"Arial",fontSize:Qi,fontItalic:"0",fontWeight:"0",fontUnderline:"0",fontLineThrough:"0",fontColor:_e.HEX_BLACK_COLOR,lineHeight:1.2,textAlign:"left",verticalAlign:"top"}},shape:{bus:{width:"2",dash:"0"},wire:{width:"1",dash:"0"},arc:{width:"1",dash:"0",fillStyle:"1"},bezier:{width:"1",dash:"0",fillStyle:"1"},rect:{width:"1",dash:"0",fillStyle:"1"},circle:{width:"1",dash:"0",fillStyle:"1"},ellipse:{width:"1",dash:"0",fillStyle:"1"},line:{width:"1",dash:"0",fillStyle:"1"},symbol:{width:"1",dash:"0",fillStyle:"1"},diffPairsFlag:{width:"1",dash:"0",fillStyle:"1"},maskRegion:{width:"1",dash:"0"},table:{width:"1",dash:"0",disableDash:!0,fillStyle:"1"},reuseBlockSymbol:{width:"1",dash:"0",fillStyle:"1"},annotation:{width:"1",dash:"0"},notAddIntoBomOrNotConvertToPcb:{width:"1",dash:"0",fillStyle:"5"}}}}},CRe=ue.deepClone(cwt);var Z1r={hightType:"darked",tempHight:!0,dragDarked:!0,selectAlpha:0},khi=Z1r,ipe=["gridType","isAlwaysShowCrossCursor","multiType","multiRatio","cursorSize","drcErrorStyle","displayComponentSpacing","drcErrorZoom","graphicEffectMode","coreRenderingEngine","isShowNetInPad","isShowNumberInPad","isShowNetInTrack","isShowNetInVia","isShowViaLayerPair","isShowNetLength","isShowDiffLength","highlightNetHoverNet","highlightObjectHoverObject","displayObjectPropertyHoverObject","isAutoMoveCanvasDuringCrossProbe","isAutoFitSelectionDuringCrossProbe","isOtherObjectsDimDuringCrossProbe","isShowRuler","useDynamicInputBox"];var cu={SYSTEM:Imi,BASE_LIBRARY:Dhi,BASE_PANEL_LIB:Ehi,PCB_FOOTPRINT:vmi,PCB_THEME:Wue,PCB_SHOW:khi,OBJECT:cwt,CANVAS:bhi,HOTKEY:y0i,PROPERTY:yhi,SAVE:whi,LANGUAGE:Chi,DESIGN:xhi,PCB_COMM_GRID_SIZE:Thi,PCB_COMM_TRACK_WIDTH:Shi,PCB_COMM_VIA_SIZE:Mhi,COMM_TYPEFACE:Ihi,CUSTOM_TOOLBAR:Lhi,ADSORPTION:wRe,PANEL_THEME:bZ,PANEL_CANVAS:vhi};var vr=new Map;var KUi=L(Vi()),qWe=L(Se());var wDt=L(No());var zC=L(Se()),WFi=L(No());var _C=L(Se());function Ohi(){let t=[{title:"System",id:"SYSTEM",dataTest:"SYSTEM",children:[{title:"General",id:"SYSTEM_GENERAL",dataTest:"SYSTEM_GENERAL",showAsterisk:!1},{title:"Category",id:"CATEGORY",dataTest:"CATEGORY",showAsterisk:!1},{title:"Common Library",id:"BASE_LIBRARY",dataTest:"BASE_LIBRARY",showAsterisk:!1}]},{title:na?"Schematic/Symbol/Simulation":"Schematic/Symbol",id:"CANVAS",dataTest:"CANVAS",children:[{title:"General",id:"CANVAS_GENERAL",dataTest:"CANVAS_GENERAL",showAsterisk:!1},{title:"Theme",id:"OBJECT",dataTest:"OBJECT",showAsterisk:!1}]},{title:"PCB/Footprint",id:"PCB_FOOTPRINT",dataTest:"PCB_FOOTPRINT",children:[{title:"General",id:"PCB_FOOTPRINT_GENERAL",dataTest:"PCB_FOOTPRINT_GENERAL",showAsterisk:!1},{title:"Theme",id:"PCB_THEME",dataTest:"PCB_THEME",showAsterisk:!1},{title:"Display",id:"PCB_SHOW",dataTest:"PCB_SHOW",showAsterisk:!1},{title:"Common Grid/Snap Size Setting",id:"PCB_COMM_GRID_SIZE",dataTest:"PCB_COMM_GRID_SIZE",showAsterisk:!1},{title:"Common Track Width Setting",id:"PCB_COMM_TRACK_WIDTH",dataTest:"PCB_COMM_TRACK_WIDTH",showAsterisk:!1},{title:"Common Via Size Setting",id:"PCB_COMM_VIA_SIZE",dataTest:"PCB_COMM_VIA_SIZE",showAsterisk:!1},{title:"Snap",id:"ADSORPTION",dataTest:"ADSORPTION",showAsterisk:!1}]},{title:"Panel/Panel Lib",id:"PANEL_CANVAS",dataTest:"PANEL_CANVAS",children:[{title:"General",id:"PANEL_CANVAS_GENERAL",dataTest:"PANEL_CANVAS_GENERAL",showAsterisk:!1},{title:"Theme",id:"PANEL_THEME",dataTest:"PANEL_THEME",showAsterisk:!1}]},{title:"Common Font Family",id:"COMM_TYPEFACE",dataTest:"COMM_TYPEFACE",showAsterisk:!1,itemStyleObject:{paddingLeft:"20px"}},{title:"Drawing",id:"DESIGN",dataTest:"DESIGN",showAsterisk:!1,itemStyleObject:{paddingLeft:"20px"}},{title:"Property",id:"PROPERTY",dataTest:"PROPERTY",showAsterisk:!1,itemStyleObject:{paddingLeft:"20px"}},{title:"Hotkey",id:"HOTKEY",dataTest:"HOTKEY",showAsterisk:!1,itemStyleObject:{paddingLeft:"20px"}},{title:"Top Toolbar",id:"CUSTOM_TOOLBAR",dataTest:"CUSTOM_TOOLBAR",showAsterisk:!1,itemStyleObject:{paddingLeft:"20px"}},{title:"Save",id:"SAVE",dataTest:"SAVE",showAsterisk:!1,itemStyleObject:{paddingLeft:"20px"}}].reduce((e,i)=>(e.set(i.id,i),e),new Map);return!Nl&&!na&&t.delete("CANVAS"),Eu||t.delete("PCB_FOOTPRINT"),Vw||t.delete("PANEL_CANVAS"),Array.from(t.values())}function Rhi(t,e){for(let i=0;i<t.length;i++){if(t[i].showAsterisk=!1,e.indexOf(String(t[i].id))>=0){t[i].showAsterisk=!0;continue}if(t[i].children&&t[i].children.length){Rhi(t[i].children,e);continue}}}function _hi(t,e){let i=ue.deepClone(t);return Rhi(i,e),i}var jhi=L(Se());async function Bhi(){return new dwt}var dwt=class extends qe{constructor(){super(),this._changeModules=new Set,this._bottomExportBtnDisabled=!1,this._bottomImportBtnDisabled=!1,this._bottomRestoreBtnDisabled=!1,this._bottomApplyBtnLoading=!1,this._bottomConfirmBtnLoading=!1,this._bottomApplyBtnText="Apply",this._bottomConfirmBtnText="Confirm",this._waitForSaveTagsSet=new Set,this._menuId=void 0}get changeModules(){return this._changeModules}set changeModules(e){this._changeModules=e}get bottomExportBtnDisabled(){return this._bottomExportBtnDisabled}set bottomExportBtnDisabled(e){this._bottomExportBtnDisabled=e,this.notify()}get bottomImportBtnDisabled(){return this._bottomImportBtnDisabled}set bottomImportBtnDisabled(e){this._bottomImportBtnDisabled=e,this.notify()}get bottomRestoreBtnDisabled(){return this._bottomRestoreBtnDisabled}set bottomRestoreBtnDisabled(e){this._bottomRestoreBtnDisabled=e,this.notify()}get bottomApplyBtnLoading(){return this._bottomApplyBtnLoading}set bottomApplyBtnLoading(e){this._bottomApplyBtnLoading=e,this.notify()}get bottomConfirmBtnLoading(){return this._bottomConfirmBtnLoading}set bottomConfirmBtnLoading(e){this._bottomConfirmBtnLoading=e,this.notify()}get bottomConfirmBtnText(){return this._bottomConfirmBtnText}set bottomConfirmBtnText(e){this._bottomConfirmBtnText=e,this.notify()}get bottomApplyBtnText(){return this._bottomApplyBtnText}set bottomApplyBtnText(e){this._bottomApplyBtnText=e,this.notify()}get waitForSaveTagsSet(){return this._waitForSaveTagsSet}set waitForSaveTagsSet(e){this._waitForSaveTagsSet=e,this.notify()}get menuId(){return this._menuId}set menuId(e){this._menuId=e}get scrollTo(){return this._scrollTo}set scrollTo(e){this._scrollTo=e}whenDialogMounted(e){this.menuId==="CATEGORY"?(this.bottomExportBtnDisabled=!0,this.bottomImportBtnDisabled=!0,this.bottomRestoreBtnDisabled=!0):(this.bottomExportBtnDisabled=!1,this.bottomImportBtnDisabled=!1,this.bottomRestoreBtnDisabled=!1),this.bottomApplyBtnLoading=!1,this.bottomConfirmBtnLoading=!1,this.bottomApplyBtnText="Apply",this.bottomConfirmBtnText="Confirm",this.scrollTo=e}setBottomBtnSubmiting(){this.bottomExportBtnDisabled=!0,this.bottomImportBtnDisabled=!0,this.bottomRestoreBtnDisabled=!0,this.bottomConfirmBtnText="Saving",this.bottomApplyBtnText="Saving",this.bottomApplyBtnLoading=!0,this.bottomConfirmBtnLoading=!0}setBottomBtnSubmited(){this.menuId==="CATEGORY"?(this.bottomExportBtnDisabled=!0,this.bottomImportBtnDisabled=!0,this.bottomRestoreBtnDisabled=!0):(this.bottomExportBtnDisabled=!1,this.bottomImportBtnDisabled=!1,this.bottomRestoreBtnDisabled=!1),this.bottomConfirmBtnText="Confirm",this.bottomApplyBtnText="Apply",this.bottomApplyBtnLoading=!1,this.bottomConfirmBtnLoading=!1}updateChangeModules(e){for(let i of e)this.changeModules.has(i)||this.changeModules.add(i)}},Ea=(0,jhi.createContext)(void 0);function Voe(t){let e=typeof t=="string"?t.replace(/\s+/g,""):t,i={key:0,text:"\u5B9E\u7EBF",value:"0",i18nText:"solid"};return(e=="6,6"||e=="1"||e==1)&&(i={key:1,text:"\u77ED\u5212\u7EBF",value:"6,6",i18nText:"dashed"}),(e=="3,10"||e=="2"||e==2)&&(i={key:2,text:"\u70B9\u7EBF",value:"3,10",i18nText:"dotted"}),(e=="4,2,1,2"||e=="3"||e==3)&&(i={key:3,text:"\u70B9\u5212\u7EBF",value:"4,2,1,2",i18nText:"dotdashed"}),i}var wZ=L(Se());var pwt=L(Fhi());var yZ=L(Se()),uwt=L(Vhi());var Qxe=L(z());function J1r(t){var f;let{checked:e,defaultChecked:i,value:o,disabled:r,children:n,translate:a=!0,name:s,dataTest:l,onChange:c,...d}=t,u=J(),[p,m]=pT({value:e,defaultValue:i,onChange:c}),h=n;return a&&typeof n=="string"&&(typeof a=="boolean"?h=u(n):h=(f=a(n))==null?void 0:f.toString()),(0,Qxe.jsxs)("label",{style:{display:"flex"},...d,children:[(0,Qxe.jsx)("input",{"data-tabfocus":"tabfocus","data-test":l||(typeof n=="string"?n:""),type:"radio",name:s,checked:p,value:o,disabled:r,onChange:g=>{m(g.target.checked,g)}}),(0,Qxe.jsx)("span",{style:{cursor:"pointer"}}),n_(h,{style:{verticalAlign:"middle",cursor:"pointer",whiteSpace:"nowrap"}},!0)]})}var nn=J1r;var MRe=L(z()),{locals:q1r}=uwt.default,Hhi=be.bind(q1r),X1r=t=>{let{children:e=[],options:i=[],value:o,defaultValue:r,disabled:n,translate:a=!0,layoutVertical:s,gap:l=16,subRadioClassName:c,subRadioStyle:d,className:u,dataTest:p,onChange:m,...h}=t;Ae(uwt.default);let[f,g]=pT(t),b=(0,yZ.useMemo)(()=>i.map(T=>{if(typeof T=="object"){let{label:M,...I}=T;return(0,MRe.jsx)(nn,{...I,children:M||T.value})}return(0,MRe.jsx)(nn,{value:T,children:T})}),[i]),y=b.length?b:e,w=yZ.default.Children.count(y);b=yZ.default.Children.map(y,(T,M)=>{var v;let I=T.props,A=I.value&&(f==null?void 0:f.toString())===((v=I.value)==null?void 0:v.toString()),D=be(Hhi("radio"),c,I.className),N={...{[s?"marginBottom":"marginRight"]:M<w-1?l:void 0},...typeof d=="function"?d(M):d,...I.style},R=(k,P)=>{var O;(O=I.onChange)==null||O.call(I,P.target.value,P),g(P.target.value,P)};return yZ.default.cloneElement(T,{disabled:n,translate:a,...I,checked:A,className:D,style:N,onChange:R})});let x=be(Hhi("radio-group",{"layout-vertical":s}),u),S=(0,yZ.useRef)();return(0,MRe.jsx)("div",{...h,ref:S,className:x,"data-test":p,children:b})},$i=X1r;var nm=L(z()),{locals:$1r}=pwt.default,{container:ehr,line:Kxe,title:Zxe,input_wrap:Ghi,input_addon:Yhi}=$1r,IRe=30,LRe=_t?.5:5;function Whi(){let t=we.SAVE.AUTO_SAVE,e=we.SAVE.AUTO_SAVE_INTERVAL,i=we.SAVE.AUTO_BACKUP,o=we.SAVE.ENABLE,r=we.SAVE.DISABLE,n=we.SAVE.MAXIMUM_BACKUP,a=we.SAVE.AUTO_BACKUP_INTERVAL,s=we.SAVE.MINUTES,l=we.SAVE.FIVE_SIXTY,c=J();Ae(pwt.default);let d=(0,wZ.useContext)(Ea);Ce(d.saveAppStore);let u=(M,I)=>{d.saveAppStore.whenAttrUpdate(M,I),d.frameStore.waitForSaveTagsSet=new Set([...d.frameStore.waitForSaveTagsSet,"SAVE"])},{isAutoSave:p,isAutoBackup:m,autoSaveMin:h,autoBackupNum:f,autoBackupMin:g}=d.saveAppStore.storage,[b,y]=(0,wZ.useState)(g.value),[w,x]=(0,wZ.useState)(h.value),[S,T]=(0,wZ.useState)(f.value);return(0,wZ.useEffect)(()=>(y(g.value),x(h.value),T(f.value),()=>{d.saveAppStore.isRestore=!1}),[d.saveAppStore.isRestore]),(0,nm.jsx)(nm.Fragment,{children:(0,nm.jsxs)("div",{className:ehr,children:[(0,nm.jsxs)("div",{className:Kxe,children:[(0,nm.jsx)("span",{className:Zxe,"data-test":t,children:c(t)}),(0,nm.jsx)($i,{onChange:M=>{u("isAutoSave",M===o)},defaultValue:p.value?o:r,options:[o,r],gap:68},p.value?o:r)]}),(0,nm.jsxs)("div",{className:Kxe,children:[(0,nm.jsx)("span",{className:Zxe,"data-test":e,children:c(e)}),(0,nm.jsxs)("div",{className:Ghi,children:[(0,nm.jsx)(Kt,{type:"number",disabled:!p.value,onBlur:(M,I)=>{let A=+M.target.value;if(A<LRe||A>IRe){I(w);return}A!==w&&(x(A),u("autoSaveMin",A))},style:{height:"24px",width:"83px",borderRadius:"2px 0 0 2px"},defaultValue:String(w)},w),(0,nm.jsx)("span",{className:Yhi,children:c(s)}),(0,nm.jsx)("span",{style:{paddingLeft:"10px",lineHeight:"20px"},children:`(${LRe}~${IRe})`})]})]}),(0,nm.jsxs)("div",{className:Kxe,children:[(0,nm.jsx)("span",{className:Zxe,"data-test":i,children:c(i)}),(0,nm.jsx)($i,{onChange:M=>{u("isAutoBackup",M===o)},defaultValue:m.value?o:r,options:[o,r],gap:68},m.value?o:r)]}),(0,nm.jsxs)("div",{className:Kxe,children:[(0,nm.jsx)("span",{className:Zxe,"data-test":n,children:c(n)}),(0,nm.jsx)(Kt,{disabled:!d.saveAppStore.autoBackupNumCanEdit||!m.value,type:"number",onBlur:(M,I)=>{let A=+M.target.value;if(A<5||A>100){I(S);return}A!==S&&(T(A),u("autoBackupNum",A))},style:{height:"24px",width:"128px"},defaultValue:String(S)},S),d.saveAppStore.autoBackupNumCanEdit&&(0,nm.jsx)("span",{style:{paddingLeft:"10px",lineHeight:"20px"},children:"(5~100)"})]}),(0,nm.jsxs)("div",{className:Kxe,children:[(0,nm.jsx)("span",{className:Zxe,"data-test":a,children:c(a)}),(0,nm.jsxs)("div",{className:Ghi,children:[(0,nm.jsx)(Kt,{disabled:!m.value,type:"number",onBlur:(M,I)=>{let A=+M.target.value;if(A<5||A>60){I(b);return}A!==b&&(y(A),u("autoBackupMin",A))},style:{height:"24px",width:"83px",borderRadius:"2px 0 0 2px"},defaultValue:String(b)},b),(0,nm.jsx)("span",{className:Yhi,children:c(s)}),(0,nm.jsx)("span",{style:{paddingLeft:"10px",lineHeight:"20px"},children:l})]})]})]})})}var qo=L(Se());var vS=L(Se());var DRe=L(Khi()),ope=L(z()),{locals:Zhi}=DRe.default,thr=(t,e)=>{Ae(DRe.default);let i=6,o=2,r=20,n=be.bind(DRe.default.locals),{baseLeft:a=0,baseBottom:s=0,baseWidth:l,maxWidth:c,bgColor:d,className:u="",windowInstance:p=window,onChangLeft:m}=t,[h,f]=(0,vS.useState)(a+i+o),[g,b]=(0,vS.useState)(l/c*(l-2*(i+o))),[y,w]=(0,vS.useState)(0),x=ca();(0,vS.useImperativeHandle)(e,()=>({scrollToLeft(R){f(R+i+o)}}),[]),(0,vS.useEffect)(()=>{if(l&&c){let R=l/c*(l-2*(i+o));if(b(R),R+h>l-i-o)f(l-i-o-R),m&&m(l-i-o-R,1);else{let v=l-i-o-R,k=(h-a-i-o)/v;w(k),m&&m(h-i-o,k)}}},[l,c]),(0,vS.useEffect)(()=>{if(l===0)return;let R=l/c*(l-2*(i+o)),v=l-i-o-R;b(R),f(Math.max(a+i+o,a+i+o+y*v))},[l]);let S=(0,vS.useRef)(!1),T=(0,vS.useRef)(0),M=be(`${Zhi.scrollX} ${u}`,{[Zhi.scrollX_click]:S.current}),I={onMouseDown(R){R.stopPropagation(),R.preventDefault(),S.current=!0,T.current=R.pageX,p.addEventListener("mouseup",A),p.addEventListener("mousemove",D)}};(0,vS.useEffect)(()=>{h<i+o&&f(i+o)},[h]),Bt(()=>{A()}).key("canvasMouseUpEvent");function A(){S.current=!1,p.removeEventListener("mouseup",A),p.removeEventListener("mousemove",D),x()}function D(R){if(R.stopPropagation(),R.preventDefault(),!S.current)return;let v=R.pageX-T.current,k=Math.min(Math.max(a+i+o,h+v),l-g-i-o+a),P=l-g-i*2-o;f(k);let O=(k-a-i-o)/P;w(O),m&&m(k-i-o,O)}let E=()=>{let R=Math.max(h-r,i+o);f(R);let v=l-g-i-o,k=(R-a-i-o)/v;w(k),m&&m(R-i-o,k)},N=()=>{let R=Math.min(h+r,l-g-i-o+a);f(R);let v=l-g-i-o,k=(R-a-i-o)/v;w(k),m&&m(R-i-o,k)};return(0,ope.jsxs)("div",{className:n("scrollX_track"),style:{bottom:s},children:[(0,ope.jsx)("span",{className:n("arrow-left"),onClick:E}),(0,ope.jsx)("div",{className:M,...I,style:{width:g,left:h,background:d}}),(0,ope.jsx)("span",{className:n("arrow-right"),onClick:N})]})},Jhi=(0,vS.forwardRef)(thr);var eP=["VCC","+5V","GND","AGND","PGND"],qhi="drag-transparent-image",Xhi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAQSURBVHgBAQUA+v8AAAAAAAAFAAFkeJU4AAAAAElFTkSuQmCC";var qh={Default:1,D3Model:2,SimModel:3},lC=(a=>(a.componentLibDevice="componentLibDevice",a.footprintManagerDlg="footprintManagerDlg",a.chooseDeviceDlg="chooseDeviceDlg",a.model3DManagerDlg="model3DManagerDlg",a.modelSimManagerDlg="modelSimManagerDlg",a.deviceManagerDlg="deviceManagerDlg",a))(lC||{}),mwt=class extends qe{constructor(){super(...arguments);this.customTableHeadData={};this.hasCustomTableHead=!1;this.tableFrom="componentLibDevice"}setCustomTableHeadData(i,o){let r=this.customTableHeadData;r[i]=o,this.customTableHeadData=r,this.setTableFrom(i),this.notify()}setHasCustomTableHead(i){this.hasCustomTableHead=i,this.notify()}setTableFrom(i){this.tableFrom=i,this.notify()}},am=new mwt;var $hi=25,efi=25,hwt=["componentLibDevice","chooseDeviceDlg","footprintManagerDlg","model3DManagerDlg","deviceManagerDlg","modelSimManagerDlg"],ERe=new Image;ERe.src=Xhi;ERe.classList.add(qhi);var tfi={enableDrag:!1,upperLimitIndex:0,lowerLimitIndex:Number.MAX_SAFE_INTEGER,handlerInitialIndex:-1,handlerRealtimeIndex:-1,insertedRealtimeIndex:-1,moveTrElement:null,tableElement:null,dragImageElement:null,dragImageFixedLeft:0,dragImageOffsetY:0},Hoe="table-column-width-ratio";var fwt=class extends qe{constructor(){super(...arguments);this.checkedList={};this._isCursorInTable=!1;this._tableMonitorKeyDownCode=null}setCheckedList(i,o){let r=this.checkedList;r[i]=o,this.notify()}get isCursorInTable(){return this._isCursorInTable}set isCursorInTable(i){this._isCursorInTable=i}get tableMonitorKeyDownCode(){return this._tableMonitorKeyDownCode}set tableMonitorKeyDownCode(i){this._tableMonitorKeyDownCode=i}whetherExecuteTableHotKey(i){return!!(this._isCursorInTable&&["ArrowDown","ArrowUp","End","Home","PageDown","PageUp"].includes(i))}},oV=new fwt;var Gwt=L(Jxe());function ofi(t,e){let i=Array.from(t.children).map(a=>a.offsetWidth),o=t.cloneNode(!0),r=document.createElement("table"),n=document.createElement("tbody");return r.border="1",r.cellSpacing="0",r.classList.add("box-shadow","border1px","draging-fragment-table"),n.appendChild(o),e&&(o.firstElementChild.style.width="20px"),n.draggable=!0,Array.from(t.children).forEach((a,s)=>{a.style.width=i[s]+"px"}),r.appendChild(n),r}var rfi=L(Se());function nfi(t,{tableDragstartHandler:e,tableDragoverHandler:i,tableDragenterHandler:o,tableDragendHandler:r,tableDropHandler:n}){(0,rfi.useEffect)(()=>{if(t)return document.addEventListener("dragstart",e),document.addEventListener("dragover",i),document.addEventListener("dragenter",o),document.addEventListener("dragend",r),document.addEventListener("drop",n),()=>{document.removeEventListener("dragstart",e),document.removeEventListener("dragover",i),document.removeEventListener("dragenter",o),document.removeEventListener("dragend",r),document.removeEventListener("drop",n)}},[n])}var B_={mm:[2.54,1.27,.508,.254],inch:[.1,.05,.02,.01]},qxe={mm:"2.54mm",inch:"0.1inch"},gwt=1e3,bwt=.01,ywt=25400,wwt=.254;function Cwt(t){let e=Wi("CANVAS"),i=Wi("PANEL_CANVAS");if(Fh(t))return ws.build2({value:e.sch_gridSize.value,unit:e.unit.value});if(pr(t))return ws.build2({value:e.schlib_gridSize.value,unit:e.unit.value});if(Wn(t))return ws.build2({value:i.panel_gridSize.value,unit:"mm"});throw new Error(`getProfileSettingGridSize: can not get gridsize of doctype=${t}`)}function TT(t){let e=t.match(/\((.*?)\)$/);return e?e[1]:t}function xwt(){var t,e,i,o;return(o=(i=(e=(t=C.profileSetting)==null?void 0:t.commSystemSetting)==null?void 0:e.CANVAS)==null?void 0:i.unit)==null?void 0:o.value}function tP(){return TT(Ai.selectUnitStore.value)}function Goe(){return TT(Ai.selectUnitStore.value)}function Vo(){let t=dt(),e=xwt()||"inch";return(pr(t)||Fh(t))&&C.messageBus.publish("getUnit",i=>{e=i}),e}function eA(){let t=dt();return NRe(t)||t==se.FOOTPRINT?Goe()||"mil":"mil"}function Yoe(t,e,i=!0){if(Number.isNaN(t))return!1;switch(e){case"inch":return ohr(t,i);case"mm":return rhr(t,i);default:return console.warn(`checkGridSizeWithUnit: lost unit(${e})`),!1}}function ohr(t,e=!0){return t>gwt||t<bwt?(e&&De({type:"error",msg:["Grid size input range:",`${bwt}~${gwt}`]}),!1):(e&&!B_.inch.includes(t)&&t/parseFloat(qxe.inch)%1!==0&&De({type:"info",msg:{value:"The grid size is recommended to be set to a multiple of {1}",options:{1:qxe.inch}}}),!0)}function rhr(t,e=!0){return t>ywt||t<wwt?(e&&De({type:"error",msg:["Grid size input range:",`${wwt}~${ywt}`]}),!1):(e&&!B_.mm.includes(t)&&t/parseFloat(qxe.mm)%1!==0&&De({type:"info",msg:{value:"The grid size is recommended to be set to a multiple of {1}",options:{1:qxe.mm}}}),!0)}var Woe=null;function Ob(t){let e;Woe&&(Woe.has(t)?e=Woe.get(t):e=void 0);try{e=localStorage.getItem(t)}catch{e=void 0}return(e==="undefined"||e==="null"||e==="NaN")&&(e=void 0),e}function y1(t,e){if(Woe){Woe.set(t,e);return}try{localStorage.setItem(t,e)}catch{C.localStorageDisabled=1,Woe=new Map,Woe.set(t,e)}}function Twt(t){return t.nodeName.toLocaleUpperCase()==="TR"&&t.getAttribute("draggable")==="true"?t:t.closest("tr")}function Swt(t){let e=[];for(let i=0;i<t.length;i++){let o={...t[i]};o.hasOwnProperty("checked")||(o.checked=!1),o.hasOwnProperty("index")||(o.index=i+1),e.push(o)}return e}function kRe(t){return Object.values(t).reduce((e,i)=>e+i,0)}function PRe(t,e){return t.reduce((i,o)=>(i[o.key]=o.width/e,i),{})}function afi(t,e,i=0){let o=kRe(t),r=e.reduce((s,l)=>(s[l.key]=t[l.key]||o/e.length,s),{}),n=kRe(r),a=o/n;return e.map(s=>(s.width=i*r[s.key]*a,s))}function sfi(t){var e;try{return(e=JSON.parse(Ob(Hoe)))==null?void 0:e[t]}catch{return null}}function lfi(t){try{let e=JSON.parse(Ob(Hoe));delete e[t],y1(Hoe,JSON.stringify(e))}catch{return null}}function ORe(t,e){let i=Ob(Hoe),o=(function(){try{return JSON.parse(i)||{}}catch{return{}}})(),r=o[t];if(!r)return o[t]=e,y1(Hoe,JSON.stringify(o));let n=kRe(e),a=kRe(r),s={...r,...e},l=0;return it(s,(c,d)=>{if(e[c])l+=d;else{let u=d*n/a;s[c]=u,l+=u}}),l!=n&&it(s,(c,d)=>{s[c]=n/l*d}),o[t]=s,y1(Hoe,JSON.stringify(o))}function cfi(t){return t.replace(/\<[^>]*\>(([^<])*)/g,function(){return arguments[1]})}function RRe(t,e){var c;let i=Goe(),o=/^(\d+(\.\d+)?)(\s*(mil|mm|inch))?$/i,r=t.match(o);if(!r)return e;let n=parseFloat(r[1]),a=((c=r[4])==null?void 0:c.toLowerCase())||i;if(!["mil","mm","inch","none"].includes(a))return e;let l=ue.unitConversion.conversion(a,i,n);return i==="mil"?l=Math.round(l*10)/10:i==="mm"&&(l=Math.round(l*1e3)/1e3),l!==0?l+i:l}var Xh=L(Se()),Yfi=L(Hr());var Ff=L(Se());var Mwt=L(ufi());function nhr(){let t=[{value:"No.",id:"index",fixed:!0},{value:"Device",id:"display_title",fixed:!0},{value:"Footprint",id:"footprint_name",fixed:!0},{value:"Symbol",id:"symbol_name"},{value:"Category",id:"tags"},{value:"Belong",id:"owner"},{value:"Last modified by",id:"modifier"},{value:"Update Time",id:"updateTime"},{value:"Version",id:"version"}];return _t?(t.push({value:"Real-time Price",id:"realTimePrice"},{value:"Real-time Stock",id:"realTimeStock"}),t.push()):Nt?t.push({value:"LCSC Stock",id:"LCSC Stock"},{value:"LCSC Price",id:"LCSC Price"}):t.push({value:"LCSC Stock",id:"LCSC Stock"},{value:"LCSC Price",id:"LCSC Price"},{value:"JLCPCB Stock",id:"JLCPCB Stock"},{value:"JLCPCB Price",id:"JLCPCB Price"},{value:"JLCPCB Part Class",id:"JLCPCB Part Class"}),t}function ahr(){return[{value:"No.",id:"index",fixed:!0},{value:"Device",id:"display_title",fixed:!0},{value:"Footprint",id:"footprint_name",fixed:!0},{value:"Symbol",id:"symbol_name"},{value:"Category",id:"tags"},{value:"Description",id:"description"},{value:"Update Time",id:"updateTime"},{value:"Version",id:"version"},{value:"Manufacturer",id:"Manufacturer"},{value:"Value",id:"Value",fixed:!0},{value:"JLCPCB Part Class",id:"JLCPCB Part Class"},{value:"Supplier Footprint",id:"Supplier Footprint"},{value:"Tolerance",id:"Tolerance"},{value:"Supplier",id:"Supplier"},{value:"Type",id:"Type"},{value:"Pitch",id:"Pitch"},{value:"JLCPCB On Sale",id:"JLCPCB On Sale"},{value:"LCSC On Sale",id:"LCSC On Sale"},{value:"Equivalent Series Resistance(ESR)",id:"esr"},{value:"Reverse Voltage (Vr)",id:"vr"},{value:"Average Rectified Current (Io)",id:"io"},{value:"Forward Voltage (Vf@If)",id:"vf"},{value:"Collector Current (Ic)",id:"ic"},{value:"Collector-Emitter Breakdown Voltage (Vceo)",id:"vceo"},{value:"Power Dissipation (Pd)",id:"pd"},{value:"Luminous Color",id:"Luminous Color"},{value:"Circuit",id:"Circuit"},{value:"Memory Size",id:"Memory Size"},{value:"Frequency Stability",id:"Frequency Stability"},{value:"Impedance @ Frequency",id:"impedance_frequency"},{value:"DC Resistance",id:"DC Resistance"}]}function pfi(){return Ko||_t?[{value:"No.",id:"index",fixed:!0},{value:"Device",id:"display_title",fixed:!0},{value:"Footprint",id:"footprint_name",fixed:!0},{value:"Value ",id:"Value"},{value:"Supplier Part",id:"Supplier Part"},{value:"Manufacturer",id:"Manufacturer"},{value:"Description",id:"description"}]:[{value:"No.",id:"index",fixed:!0},{value:"Device",id:"display_title",fixed:!0},{value:"Footprint",id:"footprint_name",fixed:!0},{value:"Value ",id:"Value"},{value:"Supplier Part",id:"Supplier Part"},{value:"Manufacturer",id:"Manufacturer"},{value:"LCSC Stock",id:"LCSC Stock"},{value:"LCSC Price",id:"LCSC Price"},{value:"JLCPCB Stock",id:"JLCPCB Stock"},{value:"JLCPCB Price",id:"JLCPCB Price"},{value:"JLCPCB Part Class",id:"JLCPCB Part Class"},{value:"Description",id:"description"}]}function jRe(t){switch(t){case qh.Default:return[{value:"Designator",id:"Designator",fixed:!0},{value:"Comment",id:"Comment"},{value:"Footprint",id:"Footprint",fixed:!0},{value:"information",id:"information",fixed:!0}];case qh.D3Model:return[{value:"Designator",id:"Designator",fixed:!0},{value:"Comment",id:"Comment"},{value:"Footprint",id:"Footprint",fixed:!0},{value:"3D Model Title",id:"3D Model Title",fixed:!0},{value:"information",id:"information",fixed:!0}];case qh.SimModel:return[{value:"Designator",id:"Designator",fixed:!0},{value:"Comment",id:"Comment"},{value:"Model Title",id:"Sim Model Title",fixed:!0},{value:"information",id:"information",fixed:!0}]}}var mfi=["LCSC Stock","LCSC Price","JLCPCB Stock","JLCPCB Price","JLCPCB Part Class"],shr=["Real-time\xA0Price","Real-time\xA0Stock"];function rV(){let t=ue.deepClone(mt.getCacheObj("DEVICE_HEADER")||pfi()),e=[];return t.forEach(i=>{i.id==="3D Model"&&(i.id="3D Model Title",i.value="3D Model Title"),((_t||Ko)&&!mfi.includes(i.id)||!_t&&!Ko&&!shr.includes(i.id))&&e.push(i)}),jf.getSymbolMode()!="2"&&(e=e.filter(i=>i.id!="Symbol")),e}function nV(t=1){let e=ue.deepClone(mt.getCacheObj("DLG_DEVICE_HEADER")||C.profileSetting.DLG_DEVICE_HEADER||jRe(t)),i;for(let r=0;r<e.length;r++)t==qh.SimModel?(e[r].id==="3D Model Title"||e[r].id==="Footprint")&&(e.splice(r,1),r-=1):e[r].id==="Sim Model Title"&&(e.splice(r,1),r-=1),(e[r].id==="3D Model"||e[r].id==="i3DModelName")&&(e[r].id="3D Model Title",e[r].value="3D Model Title",t==qh.D3Model?e[r].fixed=!0:e[r].fixed=!1),e[r].id==="Symbol"&&jf.getSymbolMode()!="2"&&e.splice(r,1),e[r].id==="3D Model Title"&&t!=qh.D3Model?e[r].fixed=!1:e[r].id==="3D Model Title"&&t==qh.D3Model&&!e[r].fixed&&(e[r].fixed=!0),e[r].id==="information"&&(i=r);let o=[];return e=e.reduce((r,n)=>(o.indexOf(n.id)<0&&r.push(n),r),[]),!e.filter(r=>r.id==="3D Model Title").length&&t==qh.D3Model&&e.splice(2,0,{id:"3D Model Title",value:"3D Model Title",fixed:!0}),!e.filter(r=>r.id==="Sim Model Title").length&&t==qh.SimModel&&e.splice(i,0,{id:"Sim Model Title",value:"Model Title",fixed:!0}),!e.filter(r=>r.id==="Footprint").length&&t!=qh.SimModel&&e.splice(2,0,{id:"Footprint",value:"Footprint",fixed:!0}),e}function BRe(t){let e=[],i=[];for(let o in t)i.indexOf(t[o].id)===-1?(e.push(t[o]),i.push(t[o].id)):i.indexOf(t[o].id)>-1&&t[o].fixed&&e.forEach((r,n)=>{r.id===t[o].id&&!r.fixed&&(e.splice(n,1),e.push(t[o]))});return e}async function iP(t,e,i){let o=mt.getSymbolLibManage()==="2",r=[];if(e){let d;try{d=await Ze.getDevice({isProject:i===C.currentProject.projectId,path:i,uuid:e});let u=[];d&&(u=Object.keys(d.attributes)),u.length&&u.forEach(p=>{r.push({value:p,id:p})})}catch(u){console.log("Custom Table Head Get Device Detail Error",u)}}else{let d=dt(),u;if(d===se.SCH)u=(await C.messageBus.rpcCall("getActiveSchematicAttr")).message,u=Object.keys(u).filter(p=>u[p]);else if(d===se.PCB){let p=await Ra();u=await(await C.windowBridge.rpcCall("getAllDeviceKey","",p)).message}u!=null&&u.length&&u.forEach(p=>{r.push({id:String(p),value:String(p)})})}let n=["3D Model","3D Model Transform"],a;switch(t){case"model3DManagerDlg":a=qh.D3Model;break;case"modelSimManagerDlg":a=qh.SimModel;break;default:a=qh.Default;break}let s=nV(a),l=s.concat(r.filter(d=>!n.includes(d.id)));return l=BRe(l),{original:[...l].filter(d=>o?d:d.value!=="Symbol"),selected:s,defaultSelectedData:jRe(a)}}async function zRe(t=!1){let e=mt.getSymbolLibManage()==="2",i=bn,o=[];if(Ko){let x=mt.getCacheObj("commSystemSetting"),S=x?x.PROPERTY.property:"";o=(S?JSON.parse(S.data||S):C.systemAttrs).map(M=>M.property)}else if(t){let x=await M0e({}).catch(S=>[]);o=x==null?void 0:x.map(S=>S.name)}else o=await Ze.getDeviceAttributesKeys({isProject:i===C.currentProject.projectId,path:i,uid:i});t||o.forEach((x,S)=>{mfi.includes(x)&&o.splice(S,1)});let r=rV(),n=Ko?ahr():nhr(),a=x=>{let S=[];try{S=JSON.parse(x)}catch{}return S},s=Wi("PROPERTY","property",{readValueKey:!1,defaultValue:[]}),l=a(s),c=[],d=["ComponentSymbol","Device","Footprint","Common"];for(let x=0;x<l.length;x+=1){let S=l[x],T=S.object.split(",");for(let M=0;M<T.length;M+=1){let I=T[M];if(d.includes(I)){c.push(S.property);break}}}o=o.concat(c),o=[...new Set(o)];let u=n.reduce((x,S)=>{let{fixed:T}=S;return x[T?"fixed":"notFixed"].push(S),x},{fixed:[],notFixed:[]}),p=n.map(x=>x.id),m=["Device","Symbol","Footprint"],h=[...u.fixed],f=o.reduce((x,S)=>(!p.includes(S)&&!m.includes(S)&&x.push({id:String(S),value:String(S)}),x),[]);f.push({id:"3D Model Title",value:"3D Model Title"});let g=[],b=[];for(let x=0;x<f.length;x+=1)me.i18n(f[x].value)&&/.*[\u4e00-\u9fa5]+.*$/.test(me.i18n(f[x].value))?g.push(f[x]):b.push(f[x]);let y=g.concat(b);return h.push(...u.notFixed.concat(y)),h=BRe(h),{original:[...h].filter(x=>e?x:x.value!=="Symbol"),selected:r,defaultSelectedData:pfi()}}var sm=L(z()),FRe="dlgCustomTableHead";function lhr({original:t,selected:e,defaultSelectedData:i}){Ae(Mwt.default);let o=J(),{locals:r}=Mwt.default,n=be.bind(r);Ce(am);let{tableFrom:a}=am,[s,l]=(0,Ff.useState)(!1),[c,d]=(0,Ff.useState)(!1),[u,p]=(0,Ff.useState)(!1),[m,h]=(0,Ff.useState)(null),[f,g]=(0,Ff.useState)(null),[b,y]=(0,Ff.useState)(null),[w,x]=(0,Ff.useState)({indexValue:"",refreshCount:0}),[S,T]=(0,Ff.useState)([]),[M,I]=(0,Ff.useState)({curIndex:0,newIndex:0}),[A,D]=(0,Ff.useState)(null),[E,N]=(0,Ff.useState)([]),[R,v]=(0,Ff.useState)([]),[k,P]=(0,Ff.useState)([]),[O,_]=(0,Ff.useState)(!1),[j,B]=(0,Ff.useState)([]),[V,G]=(0,Ff.useState)(0),Q=(0,Ff.useMemo)(()=>[{key:"value",name:o("Header Name"),width:1}],[]);(0,Ff.useLayoutEffect)(()=>{H(e)},[t,e]),Bt(Y=>{Y&&(["Enter","NumpadEnter"].includes(Y.code)&&U(),Y.code==="Escape"&&ce("close"))}).keyboard(FRe),(0,Ff.useEffect)(()=>{if(R.length>0&&!O){let Y=[...R].filter(ie=>[1,2].includes(ie.status)),X=e.map(ie=>Y.find(de=>de.id===ie.id)).filter(ie=>!!ie);N(X),_(!0)}},[R]);let H=(Y,X)=>{let ie=q(t,Y,X),de=[...Y].map(fe=>{if(fe.fixed)return fe.id});T(de),v(ie),P(ie)},q=(Y,X,ie)=>{let de=["model3DManagerDlg","deviceManagerDlg","footprintManagerDlg","modelSimManagerDlg"];if(ie&&de.includes(a)){let ye;switch(a){case"model3DManagerDlg":ye=qh.D3Model;break;case"modelSimManagerDlg":ye=qh.SimModel;break;default:ye=qh.Default;break}Y=jRe(ye).concat(Y),Y=BRe(Y)}return[...Y].map(ye=>(ye={...ye,status:ye.fixed?1:3,value:o({context:"attrs",value:ye.value})},[...X].forEach(Le=>{ye.id===Le.id&&!ye.fixed&&(ye={...ye,status:2})}),ye))};function U(){Dt({content:"Are you sure you want to restore the configuration of the custom header to the default state?",icon:"question",showCancel:!0,showConfirm:!0,cancelText:"No",confirmText:"Yes",closed:!0,onConfirm:()=>{let Y=[...i].map(X=>X={...X,value:o(X.value)});H(Y,!0),N(Y),F(),G(X=>X+1)},onCancel:()=>{}})}let F=()=>{d(!1),l(!1),p(!1)},K=(Y,X)=>{let ie=fe=>[...fe].map(Le=>(Y===Le.id&&(Le={...Le,status:X?2:3}),Le)),de=ie([...R]);if(v(de),P(ie(k)),X){let fe=[...de].find(ye=>ye.id===Y);D({[E.length]:{...fe,checked:!1}})}else{let fe=[...E].filter(ye=>ye.id!==Y);m+1===E.length&&F(),N(fe)}},te=()=>{s&&I({curIndex:m,newIndex:m-1})},ae=()=>{c&&I({curIndex:m,newIndex:m+1})},pe=()=>{let Y=[];return[...E].forEach((X,ie)=>{j.includes(ie)&&Y.push(X.id)}),Y},Z=()=>{if(!u)return;let Y=X=>[...X].map(de=>(pe().includes(de.id)&&(de={...de,status:3}),de));if(P(Y([...k])),v(Y([...R])),j.length>=2){let X=[...E].filter((ie,de)=>!j.includes(de));F(),N(X)}else x({indexValue:b.id,refreshCount:w.refreshCount++})},ee=Y=>{let X=t.concat(i);return Y.map(de=>([...X].forEach(fe=>{fe.id===de.id&&(de={...de,value:fe.value})}),de))};async function ce(Y){let X="DLG_DEVICE_HEADER",ie=["componentLibDevice","chooseDeviceDlg"];ie.includes(am.tableFrom)&&(X="DEVICE_HEADER"),(Y==="confirm"||Y==="apply")&&(await mt.setCustomDeviceHeader(ee(E),X),ie.includes(am.tableFrom)?(C.messageBus.publish("componentLibDevice_custom_head",ee(E)),C.messageBus.publish("chooseDeviceDlg_custom_head",ee(E)),ie.forEach(de=>{am.setCustomTableHeadData(de,{original:t,defaultSelectedData:i,selected:ee(E)})})):am.tableFrom==="deviceManagerDlg"?(C.messageBus.publish("deviceManagerDlg_custom_head",ee(E)),am.setCustomTableHeadData(a,{original:t,defaultSelectedData:i,selected:ee(E)})):(C.messageBus.publish(`${a}_custom_head`,ee(E)),am.setCustomTableHeadData(a,{original:t,defaultSelectedData:i,selected:ee(E)})),Y==="confirm"&&le.close(FRe)),["cancel","close"].includes(Y)&&le.close(FRe),Y==="restore"&&U()}let ne=Y=>{let X=[...k].filter(ie=>ie.value.toLocaleLowerCase().indexOf(Y.toLocaleLowerCase())>-1);v(X)},oe=({item:Y,style:X})=>{if(Y)return(0,sm.jsxs)("li",{"data-test":Y.id,className:n("key-li",{selected:f===Y.id}),style:{height:"24px",...X},onClick:()=>{!Y.fixed&&g(Y.id)},children:[(0,sm.jsx)("label",{onClick:ie=>{ie.stopPropagation()}}),(0,sm.jsx)($p,{disabled:Y.status===1,defaultChecked:[1,2].includes(Y.status),onChange:ie=>{K(Y.id,ie)}}),(0,sm.jsx)("span",{title:Y.value,"data-test":Y.id,children:Y.value})]},Y.id)},re=Y=>{let{index:X,styleObject:ie,rowHeight:de}=Y,fe={...ie,lineHeight:de+"px",whiteSpace:"nowrap",height:de},ye=R[X];return(0,sm.jsx)(oe,{style:fe,item:ye})};return(0,sm.jsxs)("div",{className:n("container"),style:{height:"490px"},children:[(0,sm.jsxs)("div",{className:n("body-box"),children:[(0,sm.jsxs)("div",{className:n("left-wrap"),children:[(0,sm.jsx)("div",{className:"keys-filter",children:(0,sm.jsx)(Ws,{placeholder:o("Filter"),onClearInputValue:()=>{v(k)},onUpdateInputValue:Y=>{ne(Y)},onConfirm:Y=>{ne(Y)}})}),(0,sm.jsx)("div",{className:n("keys-list"),children:(0,sm.jsx)("ul",{children:(0,sm.jsx)(Z8,{containerHeight:393,countTotal:R.length,children:re})})})]}),(0,sm.jsxs)("div",{className:n("right-wrap setting"),children:[(0,sm.jsxs)("div",{className:n("setting-header"),children:[(0,sm.jsx)("span",{className:`icon_operate icon_operate_up ${s?"":"disabled"}`,title:o("Move Up"),onClick:te}),(0,sm.jsx)("span",{className:`icon_operate icon_operate_down ${c?"":"disabled"}`,title:o("Move Down"),onClick:ae}),(0,sm.jsx)("span",{className:`icon_operate icon_operate_delete ${u?"":"disabled"}`,title:o("Delete"),onClick:Z})]}),(0,sm.jsx)("div",{className:n("table-container"),children:(0,sm.jsx)(xi,{index:"id",columns:Q,rows:E,height:395,stockade:!0,selectedRowNumbers:j,moveRowIndex:M,delRowInfo:w,addRowData:A,resetTableDataCount:V,onClick:Y=>{let{row:X,selectedRowNumbers:ie,tableData:de}=Y;if(!X||ie.length<=0){F();return}let fe=ie.reverse()[0],ye=fe===0?null:de[fe-1].id,Le=fe+1===de.length?null:de[fe+1].id;if(X.fixed){F();return}B(ie),S.includes(ye)||fe===0?l(!1):l(!0),S.includes(Le)||fe+1===de.length?d(!1):d(!0),p(!0),y(X),h(fe)},onMoveRowStatus:({up:Y,down:X})=>{l(Y),d(X)},onChange:Y=>{N(Y)}})})]})]}),(0,sm.jsxs)("div",{className:n("footer-box"),children:[(0,sm.jsx)(Me,{type:"primary",size:"md",onClick:()=>ce("restore"),children:"Restore Default"}),(0,sm.jsx)(Me,{type:"primary",size:"md",onClick:()=>ce("apply"),children:"Apply"}),(0,sm.jsx)(Me,{type:"primary",size:"md",onClick:()=>ce("confirm"),children:"Confirm"}),(0,sm.jsx)(Me,{size:"md",onClick:()=>ce("cancel"),children:"Cancel"})]})]})}function hfi(){let{customTableHeadData:t,tableFrom:e}=am,i=t[e];if(!i||i&&(!i.original||i.original.length<=0)){let o="No data, please try again later!";e==="componentLibDevice"?C.messageBus.publish("setCustomTableHeadDataAgain",!0):o="No Data!",De({msg:o,type:"info"});return}le.open({id:FRe,title:"Custom Column Header",width:500,children:(0,sm.jsx)(lhr,{...i})})}var U_=L(Se()),Ufi=L(Hr()),Bwt=L(gfi());var npe=L(Se());var rpe=L(Se());var _wt=L(Vi());var jfi=L(Iwt());var Bfi=L(Hr());var Joe=L(Se()),Rfi=L(Se());var Rwt=L(Iwt());var CZ=L(Se());var Awt=L(eC()),Nwt=L(wfi());var Qoe=class extends qe{constructor(){super(...arguments);this.menuShow=new Ps(!1);this.selectId=new Ps("");this.selectMenuItem=null;this.childShowId=new Ps("");this.childMenuId=new Ps("");this.selectFirst=new Ps(!1);this.checkboxGroup={};this.radioGroup={};this.staticStore=new Ps("");this.menuRefresh=new Ps(0);this.keyboardStore=new L8;this.menuDisable=new Ps(!1);this.position={x:0,y:0};this.menuFirstId="";this.selectHasChild=!1;this.menuFloor=1;this.menuIsExist=!1;this.belongMenuId="";this.menuRpcName="";this.childHidden=new y9e;this.removeTheBeforeDivider=new Ps(!1);this.removeTheAfterDivider=new Ps(!1)}getCheckboxGroupStore(i){return i?(this.checkboxGroup[i]||(this.checkboxGroup[i]=new Ps(!1)),this.checkboxGroup[i]):this.staticStore}getRadioGroupStore(i){return i?(this.radioGroup[i]||(this.radioGroup[i]=new Ps(void 0)),this.radioGroup[i]):this.staticStore}setCheckboxGroup(i,o=!0){Object.keys(i).forEach(r=>{this.checkboxGroup[r]||(this.checkboxGroup[r]=new Ps(!1)),o?this.checkboxGroup[r].setValue(i[r]):this.checkboxGroup[r].value=i[r]})}setRadioGroup(i,o=!0){Object.keys(i).forEach(r=>{this.radioGroup[r]||(this.radioGroup[r]=new Ps("")),o?this.radioGroup[r].setValue(i[r]):this.radioGroup[r].value=i[r]})}setMenuStatus(i){i.hasOwnProperty("isShow")&&this.menuShow.setValue(i.isShow),i.hasOwnProperty("selectId")&&this.selectId.setValue(i.selectId||""),i.hasOwnProperty("childShowId")&&this.childShowId.setValue(i.childShowId||""),i.hasOwnProperty("childMenuId")&&this.childMenuId.setValue(i.childMenuId||""),i.hasOwnProperty("selectFirst")&&this.selectFirst.setValue(i.selectFirst),i.hasOwnProperty("checkboxGroup")&&this.setCheckboxGroup(i.checkboxGroup),i.hasOwnProperty("radioGroup")&&this.setRadioGroup(i.radioGroup),i.hasOwnProperty("position")&&(this.position=i.position),i.hasOwnProperty("menuFirstId")&&(this.menuFirstId=i.menuFirstId),i.hasOwnProperty("selectHasChild")&&(this.selectHasChild=i.selectHasChild),i.hasOwnProperty("menuFloor")&&(this.menuFloor=i.menuFloor),i.hasOwnProperty("selectMenuItem")&&(this.selectMenuItem=i.selectMenuItem),i.hasOwnProperty("childMenuId")&&this.childMenuId.setValue(i.childMenuId||""),i.hasOwnProperty("menuDisable")&&this.menuDisable.setValue(i.menuDisable),i.hasOwnProperty("childHidden")&&this.childHidden.setChildMenuId(i.childHidden),i.hasOwnProperty("removeTheBeforeDivider")&&this.removeTheBeforeDivider.setValue(i.removeTheBeforeDivider),i.hasOwnProperty("removeTheAfterDivider")&&this.removeTheAfterDivider.setValue(i.removeTheAfterDivider),this.notify()}},Lwt=class extends qe{constructor(){super(...arguments);this.menuStatusSet={};this.menuRpcNameStores={}}getMenuRpcNameStore(i){return this.menuRpcNameStores[i]||(this.menuRpcNameStores[i]=new Ps(0)),this.menuRpcNameStores[i]}getMenuStore(i){return this.menuStatusSet[i]||(this.menuStatusSet[i]=new Qoe),this.menuStatusSet[i]}getMenuShow(i){var o;return!!((o=this.menuStatusSet[i])!=null&&o.menuShow.value)}getMenuIsExist(i){var o;return!!((o=this.menuStatusSet[i])!=null&&o.menuIsExist)}getMenuHiddenChild(i){var o;return(o=this.menuStatusSet[i])==null?void 0:o.childHidden.childMenuValue}getMenuRemoveTheBeforeDivider(i){var o;return(o=this.menuStatusSet[i])==null?void 0:o.removeTheBeforeDivider.value}getMenuRemoveTheAfterDivider(i){var o;return(o=this.menuStatusSet[i])==null?void 0:o.removeTheAfterDivider.value}getRightFloor(){let i=1;return Object.keys(this.menuStatusSet).filter(r=>this.getMenuShow(r)&&this.getMenuIsExist(r)).forEach(r=>{let n=this.menuStatusSet[r];n.selectId.value&&n.selectHasChild&&n.menuFloor>i&&(i=n.menuFloor)}),i}getLeftFloor(){let i=1;return Object.keys(this.menuStatusSet).filter(r=>this.getMenuShow(r)&&this.getMenuIsExist(r)).forEach(r=>{let n=this.menuStatusSet[r];n.selectId.value&&n.childShowId.value&&n.menuFloor>i&&(i=n.menuFloor)}),i}getUpOrDownFloor(){let i=1;return Object.keys(this.menuStatusSet).filter(r=>this.getMenuShow(r)&&this.getMenuIsExist(r)).forEach(r=>{let n=this.menuStatusSet[r];n.menuFloor>i&&(i=n.menuFloor)}),i}isMenuUseKeyboard(i,o){let r=!1;return this.getMenuShowIds().forEach(a=>{!this.getMenuDisable(a)&&this.getMenuIsExist(a)&&(this.getMenuStore(a).keyboardStore.setKeyboardValue({keyStr:o,keyCode:i}),r=!0)}),r}judgeMenuShowAndExist(i){return i?i.some(o=>this.getMenuShow(o)&&this.getMenuIsExist(o)):Object.keys(this.menuStatusSet).some(o=>this.getMenuShow(o)&&this.getMenuIsExist(o))}judgeMenuShow(i){return i?i.some(o=>this.getMenuShow(o)):Object.keys(this.menuStatusSet).some(o=>this.getMenuShow(o))}getMenuIDByRpcName(i){return Object.keys(this.menuStatusSet).find(o=>this.menuStatusSet[o].menuRpcName===i)||""}getMenuShowIds(i){let o=[],r=i;return r||(r=Object.keys(this.menuStatusSet)),r.forEach(n=>{this.getMenuShow(n)&&o.push(n)}),o}hotkeySetMenuStatus(i,o){return i&&this.menuStatusSet[i]&&this.menuStatusSet[i].menuIsExist?(this.menuStatusSet[i].setMenuStatus(o),!0):!1}setMenuStatus(i,o){i&&(this.menuStatusSet[i]?this.menuStatusSet[i].setMenuStatus(o):(this.menuStatusSet[i]=new Qoe,this.menuStatusSet[i].setMenuStatus(o)))}getMenuDisable(i){var o;return!!((o=this.menuStatusSet[i])!=null&&o.menuDisable.value)}setMenuDisable(i,o){this.setMenuStatus(i,{menuDisable:o})}getMenuPosition(i){var o;return((o=this.menuStatusSet[i])==null?void 0:o.position)||{x:0,y:0}}openMenu(i,o){this.setMenuStatus(i,{isShow:!0,position:o})}closeMenu(i){this.setMenuStatus(i,{isShow:!1,selectId:"",childShowId:"",childMenuId:"",selectMenuItem:null})}closeBelongMenu(i){var r;let o=(r=this.menuStatusSet[i])==null?void 0:r.belongMenuId;o&&Object.keys(this.menuStatusSet).filter(a=>{var s;return((s=this.menuStatusSet[a])==null?void 0:s.belongMenuId)===o&&this.getMenuShow(a)}).forEach(a=>this.closeMenu(a))}closeAllMenu(){Object.keys(this.menuStatusSet).filter(o=>this.getMenuShow(o)).forEach(o=>this.closeMenu(o))}setMenuSelectId(i,o){this.setMenuStatus(i,{selectId:o})}getMenuSelectId(i){var o;return((o=this.menuStatusSet[i])==null?void 0:o.selectId.value)||""}setMenuChildShow(i,o){this.setMenuStatus(i,{childShowId:o})}getMenuChildShowId(i){var o;return((o=this.menuStatusSet[i])==null?void 0:o.childShowId.value)||""}setChildMenuId(i,o){this.setMenuStatus(i,{childMenuId:o})}getChildMenuId(i){var o;return((o=this.menuStatusSet[i])==null?void 0:o.childMenuId.value)||""}getMenuSelectFirst(i){var o;return((o=this.menuStatusSet[i])==null?void 0:o.selectFirst.value)||!1}setCheckboxStatus(i,o,r){let n={[o]:r};this.setMenuStatus(i,{checkboxGroup:n})}getCheckboxStatus(i,o,r){var a;let n=(a=this.menuStatusSet[i])==null?void 0:a.checkboxGroup;return n!=null&&n.hasOwnProperty(o)?!!n[o].value:(r&&(this.menuStatusSet[i]||(this.menuStatusSet[i]=new Qoe),this.menuStatusSet[i].setCheckboxGroup({[o]:!!r},!1)),!!r)}setRadioStatus(i,o,r,n=!0){if(!n&&this.getRadioStatus(i,o)!==r)return;let a={[o]:r};this.setMenuStatus(i,{radioGroup:a})}getRadioStatus(i,o,r){var a,s;let n=(a=this.menuStatusSet[i])==null?void 0:a.radioGroup;return n.hasOwnProperty(o)&&((s=n[o])==null?void 0:s.value)!==void 0?n[o].value:(r&&(this.menuStatusSet[i]||(this.menuStatusSet[i]=new Qoe),this.menuStatusSet[i].setRadioGroup({[o]:r},!1)),r)}setMenuCheck(i,o,r,n){let a=this.menuStatusSet[r];n?this.setRadioStatus(r,n,i,o):this.setCheckboxStatus(r,i,o)}menuRefresh(i){i&&(this.menuStatusSet[i]?this.menuStatusSet[i].menuRefresh.setValue(this.menuStatusSet[i].menuRefresh.value+1):(this.menuStatusSet[i]=new Qoe,this.menuStatusSet[i].menuRefresh.setValue(this.menuStatusSet[i].menuRefresh.value+1)))}refreshBelongMenu(i){var r;let o=(r=this.menuStatusSet[i])==null?void 0:r.belongMenuId;o&&Object.keys(this.menuStatusSet).filter(a=>{var s;return((s=this.menuStatusSet[a])==null?void 0:s.belongMenuId)===o&&this.getMenuShow(a)}).forEach(a=>this.menuRefresh(a))}judgeItemDisable(i){var r;let o=typeof i.disable=="function"?i.disable():i.disable;return i!=null&&i.command&&((r=Gu.disableCmdStoreSet[i==null?void 0:i.command])==null?void 0:r.value)!==void 0&&Gu.disableCmdStoreSet[i==null?void 0:i.command].value||o}},si=new Lwt;var Ifi=L(Hr());var w1=L(Se());var z_=L(Se());var Cfi=L(z7e()),xfi=L(Qce());var tA=L(z()),chr=t=>{var te,ae,pe,Z,ee,ce,ne;let e=J(),{locals:i}=Cfi.default,{menuId:o,menuItem:r,clickCallback:n,clickItemCloseMenu:a=!0}=t,{id:s,icon:l={},title:c,command:d,isTranslate:u,children:p}=r,m=r.hasOwnProperty("hotkeyCmd")?r.hotkeyCmd:d,h=r.hasOwnProperty("subHotkeyId")?r.subHotkeyId:d,f=typeof r.disable=="function"?r.disable():r.disable,g=(l==null?void 0:l.iconClassName)||"",b=(l==null?void 0:l.iconStyle)||{},y=(l==null?void 0:l.iconPath)||"",w=si.getMenuStore(o),x=(0,z_.useRef)(void 0),S=(0,z_.useRef)(si.getMenuChildShowId(o)),T=(0,z_.useRef)(si.getMenuSelectFirst(o)),M=m?Ys.getHotkey(m):r.defaultHotkeyText||"",I=h?Ys.getMenuHotkey(h):r.defaultSubHotkeyText||"",A=d||s,D=((te=r==null?void 0:r.optionType)==null?void 0:te.type)==="checkbox",E=D?!!si.getCheckboxStatus(o,A,((ae=r==null?void 0:r.optionType)==null?void 0:ae.defaultChecked)||!1):!1,N=((pe=r==null?void 0:r.optionType)==null?void 0:pe.type)==="radio",R=(Z=r==null?void 0:r.optionType)==null?void 0:Z.groupName,v=N?si.getRadioStatus(o,R,(ee=r==null?void 0:r.optionType)!=null&&ee.defaultChecked?A:"")===A:!1,k=(0,z_.useMemo)(async()=>{var re,Y,X;if(!p)return!1;S.current=si.getMenuChildShowId(o),T.current=si.getMenuSelectFirst(o);let oe=typeof p=="string"?si.getMenuIDByRpcName(p):p==null?void 0:p.menuId;if(oe&&S.current===s&&x.current){if(S.current==="Version Control"){let Pe=o;if(await Pr.getVersion(),!si.getMenuShow(Pe)||S.current!=="Version Control")return!1}let ie=x.current&&x.current.getBoundingClientRect(),{left:de,top:fe,width:ye,height:Le}=ie,Re=de+ye-VRe,Ne=fe-VRe;T.current&&(si.menuStatusSet[o].selectFirst.value=!1);let Te=(re=si.menuStatusSet[oe])==null?void 0:re.menuFirstId;return si.setMenuStatus(oe,Object.assign({isShow:!0,position:{x:Re,y:Ne,width:ye,height:Le},menuFloor:w.menuFloor+1},T.current&&Te?{selectId:Te}:{})),!0}else return oe&&((X=(Y=si.menuStatusSet[oe])==null?void 0:Y.menuShow)!=null&&X.value)&&si.closeMenu(oe),!1},[si.getMenuChildShowId(o),si.getMenuSelectFirst(o)]),P=(0,z_.useMemo)(()=>{if(si.getMenuSelectId(o)===s){let oe=typeof p=="string"?si.getMenuIDByRpcName(p):p==null?void 0:p.menuId;return si.setChildMenuId(o,p?oe:""),si.setMenuStatus(o,{selectMenuItem:r}),!0}return!1},[si.getMenuSelectId(o)]),O=(0,z_.useMemo)(()=>{var oe;return d&&((oe=Gu.disableCmdStoreSet[d])==null?void 0:oe.value)!==void 0&&Gu.disableCmdStoreSet[d].value||f},[f,d,(ce=Gu.disableCmdStoreSet[d])==null?void 0:ce.value]);Ce(w.selectFirst,()=>si.getMenuSelectId(o)===s),Ce(w.selectId,()=>P!==(s===si.getMenuSelectId(o))),Ce(w.childShowId,()=>!!(k&&si.getMenuChildShowId(o)!==s||!k&&p&&si.getMenuChildShowId(o)===s)),Ce(w.getCheckboxGroupStore(D?A:""),()=>si.getCheckboxStatus(o,A)!==E),Ce(w.getRadioGroupStore(R),()=>si.getRadioStatus(o,R)===A!==v),Ce(Ys,()=>Ys.getHotkey(m)!==M||Ys.getMenuHotkey(h)!==I),Ce(Gu.getDisableCmdStore(d));let _=be(i["eda-menu-item"],O?{[i["eda-menu-item-disable"]]:O,[i["eda-menu-item-disable-active"]]:P,[i["eda-menu-left-arrow"]]:p}:{[i["eda-menu-item-disable"]]:O,[i["eda-menu-item-active"]]:P,[i["eda-menu-left-arrow"]]:p}),j=be(i["eda-menu-item-icon"],(ne=g.split(/\s+/))==null?void 0:ne.map(oe=>oe)),B=N||D?E||v?xfi.default:"":y,{title:V=!0,hotkey:G=!1,subHotkey:Q=!1,customHotkey:H=!1}=u||{},q=V?e(c):c,U=Q?e(I):I,F=q.endsWith("...")?`${q.slice(0,-3)}${U?`(${U})`:""}...`:`${q}${U?`(${U})`:""}`,K=r.customHotKeyText?H?e(r.customHotKeyText):r.customHotKeyText:"";return(0,tA.jsx)(tA.Fragment,{children:(0,tA.jsxs)("div",{ref:oe=>{oe&&(x.current=oe)},"data-sensors":"true",className:_,onClick:oe=>{var re,Y;if(oe.preventDefault(),oe.stopPropagation(),oe!=null&&oe.ctrlKey&&Nc.modifyHotkeyByDialog(m,h)){si.closeBelongMenu(o);return}O||p||(d&&et(d,r.args||{}),n&&n(r),r.callback&&r.callback(r),a&&si.closeBelongMenu(o),D&&!((re=r==null?void 0:r.optionType)!=null&&re.clickNotAutoSelect)&&si.setCheckboxStatus(o,d||s,!E),N&&!((Y=r==null?void 0:r.optionType)!=null&&Y.clickNotAutoSelect)&&si.setRadioStatus(o,r.optionType.groupName,A))},onMouseEnter:oe=>{si.setMenuSelectId(o,s),si.setMenuChildShow(o,p&&!O?s:"")},onMouseLeave:oe=>{k||(si.setMenuSelectId(o,""),si.setMenuChildShow(o,""))},children:[(0,tA.jsx)("div",{className:j,style:{...B?{backgroundImage:"url("+B+")"}:{},...b}}),(0,tA.jsxs)("div",{className:i["eda-menu-item-text"],style:{paddingRight:p?"10px":M||K?"0px":"20px"},children:[(0,tA.jsx)("span",{"data-test":(typeof c=="string"?c:c.value)||"",children:F}),M&&(0,tA.jsx)("span",{className:i["hotkey-text"],children:G?e(M):M}),K&&(0,tA.jsx)("span",{className:i["customHotkey-text"],children:K})]}),p&&(0,tA.jsx)("div",{className:i["eda-menu-item-arrow"]})]})})},Tfi=z_.default.memo(chr);var vwt=L(z7e());var Yl="otherMode";var F_=L(Se());var Xxe=L(z()),dhr=t=>{var h;let{childMenu:e,menuItem:i,menuMode:o,belongMenuId:r,clickCallback:n}=t,{command:a}=i,[s,l]=(0,F_.useState)(null),c=typeof e=="string"?s:e,d=(0,F_.useRef)(0),u=typeof i.disable=="function"?i.disable():i.disable,p=(0,F_.useMemo)(()=>{var f;return a&&((f=Gu.disableCmdStoreSet[a])==null?void 0:f.value)!==void 0?Gu.disableCmdStoreSet[a].value:u},[u,a,(h=Gu.disableCmdStoreSet[a])==null?void 0:h.value]);Ce(Gu.getDisableCmdStore(a));let m=(0,F_.useCallback)(()=>{if(e&&typeof e=="string"){let f=d.current+1;d.current=f,C.messageBus.rpcCall(e).then(g=>{if(d.current===f&&(g!=null&&g.message)){let b=g.message.menuId;b&&(si.getMenuStore(b).menuRpcName=e),l(g.message)}})}},[e]);return(0,F_.useEffect)(()=>m(),[e]),Ce(typeof e!="string"?si.getMenuStore(c==null?void 0:c.menuId).menuRefresh:si.getMenuRpcNameStore(e),()=>(m(),!1)),(0,Xxe.jsx)(Xxe.Fragment,{children:c&&!p&&(0,Xxe.jsx)(mv,{menuConfig:c,menuMode:o,belongMenuId:r,clickCallback:n})})},Sfi=dhr;var aV=L(z()),VRe=2;var $xe=28,uhr=1,phr=w1.default.memo(t=>{let{locals:e}=vwt.default,{menuMode:i,belongMenuId:o,maxHeight:r,closeCallBack:n,clickCallback:a,openCallBack:s,clickItemCloseMenu:l=!0}=t,c=(0,w1.useContext)(_r);Ae(vwt.default);let d=(0,w1.useRef)(0),u=(0,w1.useRef)(void 0),p=(0,w1.useRef)(0),m=(0,w1.useRef)(!1),h=(0,w1.useRef)(0),[f,g]=(0,w1.useState)(0),[b,y]=(0,w1.useState)(p.current),w=(0,w1.useMemo)(()=>t.menuConfig.menuId,[t.menuConfig.menuId]),x=si.getMenuStore(w),S=x.menuFloor,T=si.getMenuShow(w),M=si.getMenuDisable(w),I=si.getMenuPosition(w);Ce(x.menuShow),Ce(x.menuRefresh),Ce(x.menuDisable);let A=(0,w1.useMemo)(()=>T?++h.current:h.current,[T]),D=(0,w1.useMemo)(()=>{var k;d.current=0;let v=Mfi(t.menuConfig,i);return si.setMenuStatus(w,{menuFirstId:(k=v[0])==null?void 0:k.id}),v},[i,t.menuConfig,x.menuRefresh.value,A]),E=(0,w1.useMemo)(()=>{let v=[];return D.forEach(k=>{k!=null&&k.children&&v.push({menuConfig:k.children,menuItem:k})}),v},[D]),N=(0,w1.useMemo)(()=>D.reduce((v,k)=>k===null?v+uhr:v+$xe,0),[D]),R=(0,w1.useMemo)(()=>{d.current=0,u.current&&(u.current.scrollTop=0);let v=c.innerWidth,k=c.innerHeight,P=(I==null?void 0:I.width)||0,O=(I==null?void 0:I.x)||0,_=(I==null?void 0:I.y)||0;if(S===1){O+f>v&&(O=v-f-5);let j=_<32?_:8;_+N>k&&(_>=N?_-=N:k-(8+j)>=N?_=k-N-1:(_=j,d.current=k-_-8))}else O+f>v&&(O=O-(P+f-VRe)),_>k-N-5&&(_=k-N-5),_<0&&(_=4,d.current=k-8);return{x:O,y:_}},[I,N,f,b]);return Ce(x.keyboardStore,()=>{var B,V,G,Q;if(!T||M)return!1;let{keyCode:v,keyStr:k}=x.keyboardStore.keyboardValue,P=si.getMenuSelectId(w),O=si.getMenuChildShowId(w),_=si.getUpOrDownFloor(),j=D.filter(H=>H);switch(v){case 38:{if(_===S)if(!P)si.setMenuStatus(w,{selectId:(B=j[j.length-1])==null?void 0:B.id}),d.current&&u.current&&(u.current.scrollTop=u.current.scrollHeight);else{let q=j.findIndex(K=>(K==null?void 0:K.id)===P),U=q===0,F=U?j.length-1:q-1;si.setMenuStatus(w,{selectId:(V=j[F])==null?void 0:V.id}),d.current&&u.current&&(U?u.current.scrollTop=u.current.scrollHeight:Math.ceil(u.current.scrollTop/$xe)>F&&(u.current.scrollTop=u.current.scrollTop-$xe))}break}case 40:{if(_===S)if(!P)si.setMenuStatus(w,{selectId:(G=j[0])==null?void 0:G.id}),d.current&&u.current&&(u.current.scrollTop=0);else{let q=j.findIndex(K=>(K==null?void 0:K.id)===P),U=q===j.length-1,F=U?0:q+1;si.setMenuStatus(w,{selectId:(Q=j[F])==null?void 0:Q.id}),d.current&&u.current&&(U?u.current.scrollTop=0:Math.floor((u.current.scrollTop+d.current)/$xe)-1<F&&(u.current.scrollTop=u.current.scrollTop+$xe))}break}case 37:{si.getLeftFloor()===S&&P&&P===O&&si.setMenuChildShow(w,"");break}case 27:{si.getLeftFloor()===S&&(O?si.setMenuChildShow(w,""):si.closeMenu(w));break}case 39:if(si.getRightFloor()===S&&P){let q=D.find(F=>(F==null?void 0:F.id)===P);if(!q||si.judgeItemDisable(q))return;q!=null&&q.children&&si.setMenuStatus(w,{childShowId:P,selectFirst:!0})}break;case 13:if(_===S&&P){let q=D.find(F=>(F==null?void 0:F.id)===P);if(!q||si.judgeItemDisable(q))return;if(q!=null&&q.children)si.setMenuStatus(w,{childShowId:P,selectFirst:!0});else{let{callback:F,command:K}=q;K&&et(K,(q==null?void 0:q.args)||{}),a&&a(q),F&&F(q),si.closeBelongMenu(w)}}break;default:if(_===S){let q=[],U=-1;D.forEach(te=>{if(!te)return;let ae=te.subHotkeyId||te.command,pe=ae?Ys.getMenuHotkey(ae):te.defaultSubHotkeyText||"";!si.judgeItemDisable(te)&&ae&&pe&&g3(pe)===g3(k)&&(te.id==P&&(U=q.length),q.push(te))});let F;if(q.length===1)F=q[0];else if(q.length>1){let te=(U+1)%q.length;F=q[te],si.setMenuSelectId(w,F.id);return}if(!F||si.judgeItemDisable(F))return;if(F!=null&&F.children)si.setMenuStatus(w,{selectId:F.id,childShowId:F.id,selectFirst:!0});else if(F){let{callback:te,command:ae}=F;setTimeout(()=>{ae&&et(ae,(F==null?void 0:F.args)||{}),a&&a(F),te&&te(F),si.closeBelongMenu(w)})}}}return!1}),(0,w1.useLayoutEffect)(()=>{let v=T&&!M,k=()=>{p.current+=1,y(p.current)};return v&&c.addEventListener("resize",k),()=>{v&&c.removeEventListener("resize",k)}},[T,M]),(0,w1.useEffect)(()=>(x.menuIsExist=!0,x.belongMenuId=o||w,()=>{x.menuIsExist=!1,x.menuShow.value=!1,x.selectId.value="",x.childShowId.value="",x.childMenuId.value="",x.selectMenuItem=null,x.childHidden.childMenuValue.clear(),x.removeTheBeforeDivider.value=!1,x.removeTheAfterDivider.value=!1}),[x,o]),(0,w1.useEffect)(()=>{T?m.current=!0:m.current&&(m.current=!1,n&&n())},[T]),(0,w1.useEffect)(()=>{T&&s&&s(u.current)},[T,f]),(0,aV.jsxs)(aV.Fragment,{children:[T&&!M&&(0,aV.jsx)("div",{className:e["eda-menu"],id:w,ref:v=>{if(!v)return;u.current=v,S===1&&T&&(v==null||v.focus()),!d.current&&v.scrollTop!==0&&(v.scrollTop=0);let k=v.getBoundingClientRect();(k==null?void 0:k.width)!==f&&g(k.width||0)},onMouseDown:v=>v.preventDefault(),...S===1?{tabIndex:-1,onBlur:()=>{si.closeBelongMenu(w)}}:null,style:{visibility:T&&!M?"visible":"hidden",position:"fixed",zIndex:11e4,left:R.x,top:R.y,height:d.current?`${d.current}px`:"unset",maxHeight:r?`${r}px`:d.current?`${d.current}px`:"unset",overflowY:"auto"},children:D.map((v,k)=>{if(!(v==null&&D[k+1]==null))return v==null?(0,aV.jsx)("div",{className:e["eda-menu-sep"]},`eda-menu-sep-${k}`):(0,aV.jsx)(Tfi,{menuId:w,menuItem:v,clickItemCloseMenu:l,clickCallback:a},`eda-menu-item-${S}-${v.id}`)})}),E.map((v,k)=>(0,aV.jsx)(Sfi,{childMenu:v.menuConfig,menuItem:v.menuItem,menuMode:i,belongMenuId:o||w,clickCallback:a},`eda-child-menu-${k}`))]})}),Mfi=(t,e,i)=>{let{defaultConfig:o,modeConfig:r}=t,n=[],a;return r?(r[e]||r[Yl]||[]).forEach((l,c)=>{var u;if(l==null){n.length&&n[n.length-1]!==null&&n.push(null);return}let d=o.find(p=>(p==null?void 0:p.id)===l);if(d){let p=typeof d.isHide=="function"?d.isHide():d.isHide,m=(u=si.getMenuHiddenChild(t.menuId))==null?void 0:u.has(d.id),h=si.getMenuRemoveTheBeforeDivider(t.menuId)||!1,f=si.getMenuRemoveTheAfterDivider(t.menuId)||!1;m&&f&&(a=c),m&&h&&n[n.length-1]===null&&n.pop(),!p&&!m&&n.push(d)}}):o.forEach(s=>{var l;if(s==null)n.length&&n[n.length-1]!==null&&n.push(null);else{let c=typeof(s==null?void 0:s.isHide)=="function"?s==null?void 0:s.isHide():s==null?void 0:s.isHide,d=(l=si.getMenuHiddenChild(t.menuId))==null?void 0:l.has(s.id),u=si.getMenuRemoveTheBeforeDivider(t.menuId)||!1;d&&u&&n[n.length-1]===null&&n.pop(),!c&&!d&&n.push(s)}}),i||(n=n.filter(s=>s==null?!0:s.children&&typeof s.children!="string"?Mfi(s.children,e,!0).length>0:!0)),n[n.length-1]===null&&n.pop(),si.getMenuRemoveTheAfterDivider(t.menuId)&&n[a]===null&&n.splice(a,1),n},mv=phr;var Ewt=L(z()),HRe={},eTe={},Dwt=class{static open(e){let{menuConfig:i,position:o,windowInstance:r=window,menuMode:n,clickItemCloseMenu:a=!0,menuClickCallback:s,menuOpenCallback:l,menuCloseCloseCallBack:c}=e,d=`context-menu-container-${i.menuId}`,u=r.document.getElementById(d);u||(u=r.document.createElement("div"),u.id=d,r.document.body.appendChild(u),HRe[d]=Ifi.default.createRoot(u)),eTe[d]&&(clearTimeout(eTe[d]),eTe[d]=null),si.closeBelongMenu(i.menuId),HRe[d].render((0,Ewt.jsx)(_r.Provider,{value:r,children:(0,Ewt.jsx)(mv,{menuConfig:i,menuMode:n,closeCallBack:()=>{c&&c(),eTe[d]=setTimeout(()=>{HRe[d].unmount(),u.remove(),delete HRe[d],delete eTe[d]},500)},clickItemCloseMenu:a,clickCallback:s,openCallBack:l})})),si.openMenu(i.menuId,o)}},pl=Dwt;var sV=L(z()),{locals:mhr}=Nwt.default,{buttons:hhr,arrow_div:Lfi,left_arrow_icon:fhr,right_arrow_icon:ghr,menu_wrap:bhr}=mhr,yhr=1;var Koe=t=>{Ae(Nwt.default);let{styles:e,isShowMenu:i=!0,menuData:o,menuCallBack:r,type:n,containerId:a,moveDistance:s=53,scrollLeft:l=0,expandCallBack:c,menuOpenCallBack:d,targetRef:u,initCallBack:p}=t,m=(0,CZ.useRef)(null),h=(0,CZ.useMemo)(()=>n+ ++yhr,[n]),f=(a||n)+Math.random(),g=be.bind(Awt.default.locals);Ae(Awt.default);let b,y,w=()=>{if(!(!(u!=null&&u.current)||!(m!=null&&m.current))&&window.getComputedStyle(m.current.parentElement).visibility!=="hidden"){let S=u==null?void 0:u.current.scrollWidth,T=u==null?void 0:u.current.parentElement.getBoundingClientRect();S>T.width?(m.current.style.display="flex",u.current.style.width=`calc(100% - ${m.current.offsetWidth})`):(m.current.style.display="none",u.current.style.width="fit-content")}};(0,CZ.useEffect)(()=>{if(!(u!=null&&u.current)||!(m!=null&&m.current))return;si.closeMenu(`${f}-tab-menu`),w();let S=new ResizeObserver(w);S.unobserve(u.current.parentElement),S.observe(u.current.parentElement),p&&p(u.current)},[u==null?void 0:u.current,u]),(0,CZ.useEffect)(()=>{o.length>0&&w()},[o.length]),(0,CZ.useEffect)(()=>{l!==0&&(u.current.scrollLeft=l)},[l]);let x=async S=>{S.stopPropagation();let T=o.map(M=>M?{title:(M==null?void 0:M.name)||null,id:M==null?void 0:M.key,key:M==null?void 0:M.key,icon:{iconClassName:M==null?void 0:M.icon,iconStyle:{filter:"none"}}}:null);pl.open({position:{x:S.pageX,y:S.pageY},menuConfig:{menuId:`${f}-tab-menu`,defaultConfig:T},menuClickCallback:r,menuOpenCallback:d})};return(0,sV.jsxs)("div",{ref:m,className:hhr,style:e,children:[(0,sV.jsx)("div",{className:Lfi,onClick:S=>{u.current.scrollLeft-=s},children:(0,sV.jsx)("i",{className:fhr})}),(0,sV.jsx)("div",{className:Lfi,onClick:S=>{u.current.scrollLeft+=s},children:(0,sV.jsx)("i",{className:ghr})}),i&&(u==null?void 0:u.current)&&(0,sV.jsx)("div",{className:bhr,children:(0,sV.jsx)("span",{className:g("icon-eda-move-down-line"),onClick:S=>{x(S),c&&c(f)}})})]})};var kwt="dlgModifyPartSymbol";var Pwt=class extends qe{constructor(){super(...arguments);this._title=""}get title(){return this._title}set title(i){this._title=i}refreshView(){this.notify()}},hv=new Pwt;var YRe=L(Se());var Owt=L(Dfi());var tTe=L(z());function whr({title:t}){Ae(Owt.default);let{locals:e}=Owt.default,i=be.bind(e),o=J();return Ce(hv),(0,YRe.useEffect)(()=>{hv.title=t,hv.refreshView()},[]),(0,tTe.jsxs)("div",{className:i("line"),children:[(0,tTe.jsxs)("label",{"data-test":"Title:",children:[o("Title"),":"]}),(0,tTe.jsx)(Kt,{selected:!0,selectionStart:0,selectionEnd:hv.title.length,defaultValue:hv.title,onBlur:r=>{hv.title=r.target.value,hv.refreshView()},onkeyup:r=>{r.key==="Enter"&&(hv.title=r.target.value)}},hv.title)]})}var Efi=YRe.default.memo(whr);var kfi=L(z());function Nfi(t,e){let{id:i,forType:o,title:r}=t,n=!1;le.open({id:kwt,title:"Modify Title",width:450,closed:!0,remove:!0,children:(0,kfi.jsx)(Efi,{title:r}),footer:!0,onCancel:()=>{le.close(kwt)},onOk:()=>{n||(n=!0,Afi(i,o,hv.title,e).finally(()=>{n=!1}))},onKeyup:a=>{if(a.key==="Enter"){if(n)return;n=!0,Afi(i,o,hv.title,e).finally(()=>{n=!1})}}})}async function Afi(t,e,i,o){if(i&&i.match(C.emojiReg)&&(i=i.replace(C.emojiReg,"")),i=i.trim(),i.length<1||i.length>128){Ut({title:"Alert",type:"warn",message:"The title length must be between 1~128 characters!"});return}if(t==="symbol-name"){let r=he.getDocProject(he.getActiveTab())||Pfi(),n=mt.getSymbolLibManage()=="2",a=(await C.messageBus.rpcCall("sch/getDeviceDetail",gi())).message;if(!n&&(await xpi({titles:[i],type:"device",user_uuid:r,path:r})).length){De({type:"warn",msg:"Library duplicate name"});return}let s=await Ze.updateDevice({isProject:a.path===C.currentProject.projectId,path:a.path,uuid:a.uuid,device:{data:{title:i}}});a.title=s.title,a.display_title=s.display_title,C.messageBus.rpcCall("sch/setDeviceDetail",{tabId:gi(),device:a});let l=await Ze.updateSymbol({isProject:r===C.currentProject.projectId,path:r,uuid:wr(gi())[0],symbol:{data:{title:i}}});C.messageBus.publish("dlgModifyPartSymbolDlgHandler",{partId:t,forType:e,newTitle:i});let{uuid:c,ticket:d,updateTime:u}=l;d&&C.messageBus.publish("setTabTicket",{tabids:[c],ticket:d}),u&&C.messageBus.publish("setTabUpdatedAt",{tabids:[c],updateTime:u}),le.close()}else C.messageBus.publish("dlgModifyPartSymbolDlgHandler",{partId:t,forType:e,newTitle:i}),le.close()}var ah=L(z()),Zoe=be.bind(Rwt.default.locals),_fi=()=>{Ae(Rwt.default),Ce(el);let t=(0,Rfi.useRef)(null),[e,i]=(0,Joe.useState)(!1),o=(0,Joe.useMemo)(()=>el.partSubTabbarData.length===1,[el.partSubTabbarData]),r=p=>{el.switchPart(p)},n=p=>{el.switchPart(p.key),setTimeout(()=>{u(t.current,el.partSubTabbarData.findIndex(m=>m.key===el.activePartItemTabKey))},30)},a=()=>{el.partTreeCommand("newPart")},s=()=>{el.partTreeCommand("clonePart")},l=p=>{o||(e?(C.messageBus.publish("deleteSymbolPart",p),he.setTabUnSaved(null,!0)):Dt({icon:"warning",closed:!0,content:(0,ah.jsx)(Chr,{partName:el.getPartTitle(p)}),footer:(0,ah.jsx)(xhr,{activePartItemTabKey:p,setDeleteTipsModalFooterCheckBoxChecked:i}),onClose:()=>{i(!1)}}))},c=(p,m)=>{Da.open({data:[{title:"Rename",cmd:"partTree(rename)"},{title:"New Part",cmd:"partTree(newPart)"},{title:"Clone Part",cmd:"partTree(clonePart)"},{title:"Delete",cmd:"partTree(deletePart)",disabled:el.partSubTabbarData.length===1}],position:{x:p.clientX,y:p.clientY},onClick(h,f,g,b){var w;let y=(w=h.cmd)==null?void 0:w.match(/\((.*?)\)$/);if(y[1])switch(y[1]){case"newPart":{a();break}case"rename":{d(m);break}case"deletePart":{l(m);break}case"clonePart":{s();break}default:break}},onEnterConfirm(h,f,g){var y;let b=(y=h[0])==null?void 0:y.match(/\((.*?)\)$/);if(b[1])switch(b[1]){case"newPart":{a();break}case"rename":{d(m);break}case"deletePart":{l(m);break}case"clonePart":{s();break}default:break}}})},d=p=>{Nfi({id:p,title:el.getPartTitle(p)},el.getPartTitles())},u=(p,m)=>{let h=p.scrollWidth,f=p.parentElement.getBoundingClientRect();if(h>f.width){let g=p.getBoundingClientRect().width,b=p.querySelectorAll("[data-tab-key]");if(b.length===0)return;let y=[],w=m;b.forEach((I,A)=>{let D=I.getBoundingClientRect().width;y.push(D),I.getAttribute("data-activekey")===I.getAttribute("data-tab-key")&&!w&&(w=A)});let x=p.scrollLeft,S=x+g,T=y.reduce((I,A,D)=>D<=w?I+A:I),M=y.reduce((I,A,D)=>D<w?I+A:I,0);T>S?p.scrollLeft=T-g:M<x&&(p.scrollLeft=M)}};return Bt(()=>{Da.closeActive()}).key("canvasMousedownEvent"),(0,ah.jsxs)("div",{className:Zoe("part-sub-tabbar"),children:[(0,ah.jsxs)("div",{className:Zoe("operate-btn-wrap"),children:[(0,ah.jsx)("span",{className:Zoe("add-btn add-btn-icon p-icon"),onClick:a}),(0,ah.jsx)("span",{className:Zoe(`delete-btn p-icon ${o?"icon_operate_delete-disabled":"delete-btn-icon"}`),onClick:()=>{l(el.activePartItemTabKey)}})]}),(0,ah.jsx)("div",{className:Zoe("tab-box","scroll-tabs-wrap"),ref:t,onWheel:p=>{t.current.scrollLeft+=p.deltaY},children:(0,ah.jsx)("div",{className:Zoe("tab-container"),children:(0,ah.jsx)(yl,{lists:el.partSubTabbarData,direction:"bottom",type:"panel",activeKey:el.activePartItemTabKey,onClick:r,tabsStyle:{height:"24px",maxWidth:"160px",justifyContent:"flex-start",marginTop:"0",letterSpacing:"0"},tabBoxStyle:{padding:"0"},tabContextMenu:c,tabDoubleClick:d})})}),(0,ah.jsx)(Koe,{type:"PartTab",targetRef:t,styles:{top:"1px",zIndex:"9"},menuData:el.partSubTabbarData.map(p=>({name:p.title,key:p.key})),expandCallBack:p=>{si.setMenuSelectId(p+"-tab-menu",el.activePartItemTabKey)},menuCallBack:n,initCallBack:u})]})},Chr=(0,Joe.memo)(t=>{let{partName:e}=t,i=J();return(0,ah.jsxs)(ah.Fragment,{children:[(0,ah.jsx)("div",{children:i("You are trying to delete the document as below, this operation cannot be undone, please be careful!")}),(0,ah.jsxs)("div",{children:[(0,ah.jsxs)("span",{children:[i("Part"),":\xA0"]}),(0,ah.jsx)("span",{style:{color:"#1890ff"},children:e})]})]})}),xhr=(0,Joe.memo)(t=>{let{activePartItemTabKey:e,setDeleteTipsModalFooterCheckBoxChecked:i}=t,o=J(),r=async()=>{await le.destroy("lc-tips-modal-id")};return(0,ah.jsxs)("div",{className:Zoe("delete-tip-modal-footer"),children:[(0,ah.jsx)("div",{children:(0,ah.jsx)(qt,{onChange:n=>{i(n)},children:o("Don't show again")})}),(0,ah.jsxs)("div",{children:[(0,ah.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:async()=>{C.messageBus.publish("deleteSymbolPart",e),he.setTabUnSaved(null,!0),await r()},children:"Delete"}),(0,ah.jsx)(Me,{onClick:r,children:"Cancel"})]})]})});var zfi=L(z()),Thr=be.bind(jfi.default.locals),el=new class extends qe{constructor(){super(...arguments);this.data=[];this.partSubTabbarData=[];this.onActionPartItemTabsKeyChange=()=>{};this.switchPart=e=>{C.messageBus.rpcCall("switchPart",[e,!1,!1])}}get partIds(){return this.data.length?this.data[0].children.map(e=>e.id):[]}get activePartItemTabKey(){return this._activePartItemTabKey}set activePartItemTabKey(e){this._activePartItemTabKey=e,this.onActionPartItemTabsKeyChange()}setData(e){this.data=e,this.partSubTabbarData=e[0].children.map(i=>(i.checked&&(this.activePartItemTabKey=i.id),{key:i.id,icon:{iconClassName:Thr(i.iconCls),iconStyle:{width:"16px",height:"16px",marginRight:"4px",minWidth:"16px"}},title:i.text,notUseI18n:!0,dataTest:i.id})),this.notify()}getPartTitles(){let e=[];i(this.data);function i(o){o.forEach(r=>{r.forType==="part"&&e.push(r.text),r.children&&i(r.children)})}return e}setActivePartItemTabKey(e){this.activePartItemTabKey!==e&&this.switchPart(e),this.notify()}searchDataItem(e,i){function o(r){r.forEach(n=>{i(n),n.children&&o(n.children)})}o(e)}selectByPartId(e){let i=[...this.data];this.searchDataItem(i,o=>{o.checked=o.id===e}),this.setData(i)}entry(e){switch(e||console.error("invaild request"),e.methods){case"LoadData":this.setData(e.ops);break;case"Select":{this.selectByPartId(e.ops);break}}}toggleTreeVisibility(e){dt()===se.PART&&(e?((0,_wt.default)("#layout_toggler_part_symbol").show(),C.messageBus.publish("PartTree.initTree")):((0,_wt.default)("#layout_toggler_part_symbol").hide(),C.messageBus.publish("setPartTreeActivePartId","")))}partTreeCommand(e){switch(e){case"newPart":{C.messageBus.publish("contextMenuNewPart",this.getPartTitle(this.activePartItemTabKey));break}case"deletePart":{C.messageBus.publish("deleteSymbolPart",this.activePartItemTabKey);break}case"clonePart":C.messageBus.publish("contextMenuClonePart",this.getPartTitle(this.activePartItemTabKey));default:break}}getPartTitle(e){return this.partSubTabbarData.find(i=>i.key===e).title}},Shr=(t,e)=>{let i=document.createElement("div");i.setAttribute("data-test","part-manager-sub"),i.style.setProperty("transform","translateY(-24px)"),t.parentElement.appendChild(i),Bfi.default.createRoot(i).render((0,zfi.jsx)(_fi,{},e))};document.addEventListener("DOMContentLoaded",()=>{C.messageBus.subscribe("editorCreated",async t=>{let{tabId:e,docType:i}=t;if(i===se.PART){let o=he.getTabIframeSync(e);if(o){Shr(o,e),o.style.height="calc(100% - 24px)";let r=o.parentElement.querySelector('div[data-test="canvas-info"]');r.style.position="absolute",r.style.left="0",r.style.bottom="0",r.style.width="100%"}}})});var jwt=L(z());function Ffi(t){Ce(el);let e=J(),[i,o]=(0,rpe.useState)([]),[r,n]=(0,rpe.useState)("");(0,rpe.useEffect)(()=>{let{partSubTabbarData:s}=el;o([{text:e("All Parts"),value:"all"},...s.map(l=>({text:l.title,value:l.key,showOriginalText:!0}))])},[el.partSubTabbarData]);let a=s=>{if(Cl.partIds.length>1&&Cl.isClickTableRow)return Cl.isClickTableRow=!1;n(s),t.onChange(!s||s==="all"?el.partIds:[s])};return(0,rpe.useEffect)(()=>{el.onActionPartItemTabsKeyChange=()=>{a(el.activePartItemTabKey)}},[el.activePartItemTabKey]),(0,jwt.jsx)("div",{"for-working":"6",style:{flex:1},children:(0,jwt.jsx)(xt,{value:r,list:i,onChange:s=>{Array.isArray(s)||(s=String(s),s==="all"?a(s):el.setActivePartItemTabKey(s))}})})}var zg=L(z()),iTe=be.bind(Bwt.default.locals),Cl=new class extends qe{constructor(){super(...arguments);this.docType=-1;this.isClickTableRow=!1;this.addPin=ue.debounce(_b(async()=>{await C.messageBus.rpcCall("sch/appendPinFromPinManager",this.templatePinInfo)}),1e3/15);this.deletePin=ue.debounce(()=>{C.messageBus.publish("deletePins",[...this.selectedIds]),setTimeout(()=>{this.refresh()})},1e3/15);this.rows=[];this._selectedNumbers=[];this.selectedIds=new Set;this.partIds=[];this.sortInfo={colKey:"",key:"",status:"unset"}}get isShowPart(){return dt()===se.PART}get templatePinInfo(){let e=-1;return this.selectedIds.size?e=[...this.selectedIds].reduce((o,r)=>{let n=this.rows.findIndex(a=>a.pinId===r);return!o||n>o?n:o},e):e=this.rows.length-1,this.rows[~e?e:0]}get selectedNumbers(){return this._selectedNumbers}set selectedNumbers(e){this._selectedNumbers=e}setPartIds(e){this.partIds=e,this.refresh()}refresh(e){if(e||C.messageBus.publish("sch/partPinManagerTableInfo",{partIds:this.partIds,cb(n){e=n}}),!e)return;let{data:i,docType:o}=e,r=[];it(i,(n,{data:a,isSelect:s})=>{var l,c,d,u,p,m,h;r.push({isDefaultSelect:s,pinId:n,...a,[Uf["Pin Name"]]:(l=a["Pin Name"])==null?void 0:l.value,[Uf["Pin Number"]]:(c=a["Pin Number"])==null?void 0:c.value,[Uf.pinRotation]:me.i18n((d=a.pinRotation)==null?void 0:d.value),[Uf["Pin Type"]]:me._context_i18n("pinType",(u=a["Pin Type"])==null?void 0:u.value),[Uf["Pin Shape"]]:me._context_i18n("pinShape",(p=a["Pin Shape"])==null?void 0:p.value),[Uf.pinPart]:((m=a.pinPart)==null?void 0:m.title)||((h=a.pinPart)==null?void 0:h.value)})}),r=this.sortPinsByKey(r),this.rows=r,this.selectedNumbers=r.reduce((n,a,s)=>(a.isDefaultSelect&&n.push(s),n),[]),this.selectedIds=new Set(this.selectedNumbers.map(n=>this.rows[n].pinId)),this.docType=o,this.notify()}sortPinsByKey(e){let{status:i,colKey:o}=Cl.sortInfo;return i==="unset"||e.sort((r,n)=>{let a=r[o],s=n[o];if(i==="asc")return a.localeCompare(s,void 0,{numeric:!0});if(i==="desc")return s.localeCompare(a,void 0,{numeric:!0})}),e}resetSelectedNumber(){this.selectedNumbers=[],C.messageBus.publish("sch/pinManagerSelectChange",{select:[],unselect:[...this.selectedIds]}),this.notify()}deletePins(e){C.messageBus.publish("deletePins",e),setTimeout(()=>{this.refresh()})}toggleSelect(e,i){let o=this.rows,r=[...this.selectedNumbers],n=(c,d,u)=>{~c&&(r.splice(c,1),this.selectedIds.delete(u))},a=(c,d,u)=>{~c||(r.push(d),this.selectedIds.add(u))},l=i===!0?a:i===!1?n:(c,d,u)=>{a(c,d,u),n(c,d,u)};e.forEach(c=>{let d=o.findIndex(u=>u.pinId===c);if(~d){let u=r.indexOf(d);l(u,d,c)}}),this.selectedNumbers=r,this.notify()}contextMenu(e,i){let o=this;Da.open({data:[{cmd:"Delete",title:"Delete"},{cmd:"SelectAll",title:"Select All"}],position:{x:i.clientX,y:i.clientY},onClick(r,n,a,s){switch(r.cmd){case"Delete":{o.deletePins(o.selectedIds.size?[...o.selectedIds]:[e.pinId]);break}case"SelectAll":{C.messageBus.publish("selectPins",[...o.rows.map(l=>l.pinId)]);break}}},onEnterConfirm(r,n,a){switch(r[0]){case"Delete":{o.deletePins(o.selectedIds.size?[...o.selectedIds]:[e.pinId]);break}case"SelectAll":{kr("select",[{ids:o.rows.map(s=>s.pinId)}]);break}}}})}};var Uf={"Pin Name":"$PinName","Pin Number":"$PinNumber","Pin Type":"$PinType",pinRotation:"$pinRotation","Pin Shape":"$pinShape",pinPart:"$pinPart"};function Mhr(){Ae(Bwt.default),Ce(Cl);let t=J(),[e,i]=(0,U_.useState)([]),[o,r]=(0,U_.useState)([-1]),[n,a,s]=La();(0,U_.useEffect)(()=>{r(o.filter(f=>Cl.selectedNumbers.includes(f)))},[Cl.selectedNumbers]);let l=(0,npe.useRef)(Object()),c=()=>{l.current=Object(),Cl.refresh()};(0,U_.useEffect)(()=>{let f=[{key:Uf["Pin Number"],name:t("Number"),width:0,sortable:!0,sortKey:[Uf["Pin Number"]],filter:!0,render(b){var M;let{row:y,rowNumber:w,setRowData:x,clickObj:S}=b,T=((M=y["Pin Number"])==null?void 0:M.value)||"";return o.includes(w)?(0,zg.jsx)(Kt,{enterTriggerBlur:!0,defaultValue:T,autoFocus:S.colKey===b.colKey,focusTriggerSelect:S.colKey===b.colKey,onkeydown:I=>{I.key==="Enter"&&r(o.filter(A=>A!==w))},onBlur:I=>{var A;I.target.value.trim()!==T&&(Cs(l.current,y.pinId)["Pin Number"]={value:I.target.value.trim()},((A=I.relatedTarget)==null?void 0:A.tagName)!=="INPUT"&&(C.messageBus.publish("sch/editPinFromPinManager",l.current),c(),r(o.filter(D=>D!==w))))}}):(0,zg.jsx)("span",{children:T})}},{key:Uf["Pin Name"],name:t("Name"),width:0,sortable:!0,sortKey:[Uf["Pin Name"],Uf["Pin Number"]],filter:!0,render(b){let{row:y,rowNumber:w,setRowData:x,clickObj:S}=b,T=y["Pin Name"].value;return o.includes(w)?(0,zg.jsx)(Kt,{enterTriggerBlur:!0,defaultValue:T,autoFocus:S.colKey===b.colKey,focusTriggerSelect:S.colKey===b.colKey,onkeydown:M=>{M.key==="Enter"&&r(o.filter(I=>I!==w))},onBlur:M=>{var I;M.target.value.trim()!==T&&(Cs(l.current,y.pinId)["Pin Name"]={value:M.target.value.trim()},((I=M.relatedTarget)==null?void 0:I.tagName)!=="INPUT"&&(C.messageBus.publish("sch/editPinFromPinManager",l.current),c()))}}):(0,zg.jsx)("span",{children:T})}},{key:Uf["Pin Type"],name:t("Type"),width:0,sortable:!0,sortKey:[Uf["Pin Type"],Uf["Pin Number"]],filter:!0,render(b){let{row:y,rowNumber:w,setRowData:x}=b,S=y["Pin Type"].value;return o.includes(w)?(0,zg.jsx)(xt,{value:S,list:y["Pin Type"].options.map(T=>({value:T,text:t({value:T,context:"pinType"})})),onChange:T=>{Cs(l.current,y.pinId)["Pin Type"]={value:T},C.messageBus.publish("sch/editPinFromPinManager",l.current),c()}}):(0,zg.jsx)("span",{children:t({value:S,context:"pinType"})})}},{key:Uf.pinRotation,name:t("Side"),width:0,sortable:!0,sortKey:[Uf.pinRotation,Uf["Pin Number"]],filter:!0,render(b){let{row:y,rowNumber:w,setRowData:x}=b,S=y.pinRotation.value;return o.includes(w)?(0,zg.jsx)(xt,{value:S,list:y.pinRotation.options.map(T=>({value:T,text:t(T)})),onChange:T=>{Cs(l.current,y.pinId).pinRotation={value:T},C.messageBus.publish("sch/editPinFromPinManager",l.current),c()}}):(0,zg.jsx)("span",{children:t(S)})}},{key:Uf["Pin Shape"],name:t("Pin Shape"),width:0,sortable:!0,sortKey:[Uf["Pin Shape"],Uf["Pin Number"]],filter:!0,render(b){let{row:y,rowNumber:w,setRowData:x}=b,S=y["Pin Shape"].value;return o.includes(w)?(0,zg.jsx)(xt,{value:S,list:y["Pin Shape"].options.map(T=>({value:T,text:t({value:T,context:"pinShape"})})),onChange:T=>{Cs(l.current,y.pinId)["Pin Shape"]={value:T},C.messageBus.publish("sch/editPinFromPinManager",l.current),c()}}):(0,zg.jsx)("span",{children:t({value:S,context:"pinShape"})})}},Cl.isShowPart?{key:Uf.pinPart,name:t("Part"),width:0,sortable:!0,sortKey:[Uf.pinPart,Uf["Pin Number"]],filter:!0,render(b){let{row:y,setRowData:w}=b,x=y.pinPart.title;return(0,zg.jsx)("span",{title:x,children:x})}}:null].filter(Boolean),g=1/f.length;f.forEach(b=>b.width=g),i(f)},[Cl.docType,o]);let d=(0,npe.useRef)(null),u=(0,npe.useRef)(null);(0,U_.useEffect)(()=>(a(d.current),()=>{s()}),[d.current]);let p=(0,npe.useRef)(30),m=(0,U_.useMemo)(()=>{let f=p.current*(Cl.rows.length+1);return n&&f>n.height?f=n.height:f=f+8,f},[Cl.rows.length,n==null?void 0:n.height]),h=(0,npe.useRef)(0);return(0,U_.useEffect)(()=>{h.current=Math.random()},[Cl.partIds]),(0,zg.jsxs)("div",{style:{height:"100%"},onClick:f=>{rue(f.target,u.current.tableBodyDiv)||Cl.resetSelectedNumber()},children:[(0,zg.jsxs)("div",{className:iTe("pin-manager-operate"),children:[(0,zg.jsx)(Ffi,{onChange:async f=>{V_(f)&&(f=(await C.messageBus.rpcCall("sch/getPartIds")).message,Cl.setPartIds(f),!f)||Cl.setPartIds(f)}}),(0,zg.jsxs)("div",{className:iTe("pin-manager-btn"),"for-working":"6,7,8,9,11,25",children:[(0,zg.jsx)("span",{className:iTe("addPinParam icon-operate-add"),title:t("Add"),onClick:f=>{var b,y;f.stopPropagation(),f.preventDefault(),Cl.addPin();let g=(y=(b=Cl.templatePinInfo)==null?void 0:b.pinPart)==null?void 0:y.value;g&&g!==el.activePartItemTabKey&&el.setActivePartItemTabKey(g)}}),(0,zg.jsx)("span",{className:iTe("delPinParam icon-operate-delete"),title:t("Del"),"data-disabled":!Cl.rows.length||!Cl.selectedIds.size,onClick:f=>{f.stopPropagation(),f.preventDefault(),Cl.deletePin()}})]})]}),(0,zg.jsx)("div",{ref:d,className:iTe("pin-data-table"),children:(0,zg.jsx)(xi,{name:"symbolPinTable",ref:u,multiSelect:!0,index:"pinId",columns:e,rows:Cl.rows,selectedRowNumbers:Cl.selectedNumbers,headHeight:26,rowHeight:p.current,height:m,border:!0,stockade:!0,extraHeight:0,scrollXBaseBottom:5,onClick:({allSelectedRowIndexValues:f,editingRowNumbers:g,clickObj:b,row:y})=>{var x,S;if(((x=b.e)==null?void 0:x.button)!==0)return;!b.isCtrl&&!b.isShift&&(g.includes(b.rowNumber)||f.has(y.pinId)&&Cl.selectedIds.has(y.pinId))&&r([b.rowNumber]);let w=new Set(Cl.selectedIds);Cl.selectedIds=new Set(f),w.forEach(T=>{Cl.selectedIds.has(T)&&w.delete(T)}),C.messageBus.publish("sch/pinManagerSelectChange",{select:[...Cl.selectedIds],unselect:[...w]}),((S=y.pinPart)==null?void 0:S.value)!==el.activePartItemTabKey&&(Cl.isClickTableRow=!0,el.setActivePartItemTabKey(y.pinPart.value))},editingRowNumbers:o,onChange:f=>{Cl.rows=f},onContextMenu:(f,g)=>{g.preventDefault(),Cl.contextMenu(f,g)},onSort:f=>{Cl.sortInfo=f},onMoveRowStatus:({up:f,down:g})=>{}},h.current)})]})}function Vfi(){try{let t=document.getElementById("pin-manager-panel");t.style.height="100%",(0,Ufi.createRoot)(t).render((0,zg.jsx)(Mhr,{}))}catch(t){console.log(t)}}var Wfi=L(Jxe());var Vwt=L(Gfi()),Fg=L(z()),zwt=!1,Fwt=[],Uwt="table_head_cell_content_menu",oTe="tableCellSpanExtra",Ihr=({col:t,headerStyle:e={}})=>{var ke;let{style:i={}}=t;Ae(Vwt.default);let o=J(),{locals:r}=Wfi.default,n=be.bind(r),{locals:a}=Vwt.default,s=(0,Xh.useRef)(void 0),l=(0,Xh.useRef)(0),c=(0,Xh.useRef)(null),d=(0,Xh.useRef)(!1),u=(0,Xh.useRef)(null),p=(0,Xh.useRef)(0),m=ca(),{triggerSort:h,sortInfo:f,toFilter:g,setColumns:b,onColSizeChange:y,tableColumns:w,tableContainerRef:x,openHeadContentMenu:S,showCustomHeadSettingOnHeadContextmenu:T,isChangeSortStatus:M,windowInstance:I,tableWidth:A,tableName:D,tableHeadHeight:E,checkbox:N,isEnableDragSort:R,hasNumberCol:v,fixedLeftColumns:k,fixedColKeys:P,resize:O,border:_,headerBorder:j}=(0,Xh.useContext)(qoe),[B,V]=(0,Xh.useState)("unset"),[G,Q]=(0,Xh.useState)(!1),[H,q]=(0,Xh.useState)(!1),[U,F]=(0,Xh.useState)(0),[K,te]=(0,Xh.useState)(0),[ae,pe]=(0,Xh.useState)(0);Ce(am),Ce(Cl);let Z=(0,Xh.useRef)(E);(0,Xh.useEffect)(()=>{am.setHasCustomTableHead(T)},[T]),(0,Xh.useEffect)(()=>{B!=="unset"&&V("unset")},[Cl.partIds,M]),(0,Xh.useEffect)(()=>{let Be=(f==null?void 0:f.colKey)===t.key?f.status:"unset";Be!==B&&V(Be)},[f]),(0,Xh.useEffect)(()=>{s.current&&setTimeout(()=>{var pt;let Be=(pt=s.current)==null?void 0:pt.getBoundingClientRect();if(!Be)return;let{width:Xe,top:Ge,left:Ke}=Be;F(Xe),te(Ge),pe(Ke)},200)},[s.current,w]);let ee=n("th-cell__sort--asc",{"th-cell__sort--asc-status":B==="asc"}),ce=n("th-cell__sort--desc",{"th-cell__sort--desc-status":B==="desc"}),ne=Be=>{var Xe,Ge;Be===B?(V("unset"),h({key:(Xe=t.sortKey)!=null?Xe:t.key,colKey:t.key,status:"unset"})):(V(Be),h({key:(Ge=t.sortKey)!=null?Ge:t.key,colKey:t.key,status:Be}))},oe=()=>{let Be=Z.current;g(null,Be*(G?1:2.2),G?2:1,t.key),Q(!G)},re=n("th-cell__left-icon icon-eda-filter-small",{"th-cell__left-icon--active":H}),Y=Be=>{Be?(I.document.addEventListener("mousemove",ie),I.document.addEventListener("mouseup",fe)):(I.document.removeEventListener("mousemove",ie),I.document.removeEventListener("mouseup",fe))},X=Be=>{if(Be.button!==0)return;p.current+=1,setTimeout(()=>{p.current>=2&&Le(),p.current=0},300),Te();let{top:Xe}=s.current.getBoundingClientRect(),{height:Ge,width:Ke}=x.current.getBoundingClientRect();u.current=I.document.createElement("div"),u.current.classList.add(n("lc-table-col-resize-line")),u.current.style.height=Ge+"px",u.current.style.width=Ke+"px",u.current.style.top=Xe+"px",u.current.style.left=Be.pageX-Ke/2+1+"px",I.document.body.appendChild(u.current),Y(!0),d.current=!0,c.current=Be.pageX,m()},ie=Be=>{if(!d.current)return;I.document.body.style.cssText="-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:col-resize;",I.getSelection().removeAllRanges();let{right:Xe,width:Ge}=x.current.getBoundingClientRect(),Ke=Math.min(Xe-2,Be.pageX),pt=Ke-c.current;l.current=Math.max(25,pt+U),u.current.style.left=(pt+U>25?Ke:ae+25)-Ge/2+1+"px"},de=()=>{m(),Y(!1),d.current=!1,l.current=0,u.current.remove(),I.document.body.style.cssText=""},fe=()=>{if(!d.current)return;if(l.current<25){de();return}let Be,Xe=w.map(Ge=>(Ge.key===t.key&&(Ge=Be={...Ge,width:l.current}),Ge));D&&ORe(D,PRe(Xe,A)),b(Xe),de(),y==null||y(Be,Xe)},ye=(Be,Xe,Ge)=>{let Ke=x.current.querySelectorAll(`[data-col-key="${Be}"]`),pt=x.current.querySelector(`.${n("lc-table-body")}`),ot=pt&&pt.scrollHeight>pt.clientHeight,Qe=!1,ut=0,rt=0,ht=0,ct=20,wt=20;Ke.forEach((ni,Ii)=>{ni.innerHTML.indexOf("data-extra-cell")>0&&(Qe=!0);let Mo=cfi(ni.innerHTML||""),_i=I.document.getElementById(oTe);if(_i)_i.innerText=Mo;else{let nr=I.document.createElement("span");nr.style.fontSize="1rem",nr.style.whiteSpace="nowrap",nr.id=oTe,nr.innerText=Mo,I.document.body.appendChild(nr)}let So=I.document.getElementById(oTe).getBoundingClientRect().width;Ii===0&&(ht=So),ot&&Xe>=Ge-1&&(So+=10),So>ut&&(ut=So,rt=Ii)});let zt=(t.sortable?ct:0)+(t.filter?wt:0),gt=0;rt!=0&&ht+zt>ut&&(gt=ht+zt-ut);let yt=gt+14+(rt===0?zt:0);return ut+yt+(Qe?80:0)},Le=()=>{var Ge;let Be,Xe=w.map((Ke,pt)=>(Ke.key===t.key&&(Ke=Be={...t,width:ye(t.key,pt,w.length)}),Ke));D&&ORe(D,PRe(Xe,A)),b(Xe),y==null||y(Be,Xe),(Ge=I.document.getElementById(oTe))==null||Ge.remove()},Re=()=>{let Be={},Xe=()=>{let ot=w.map(Qe=>(Object.keys(Be).includes(Qe.key)&&(Qe={...Qe,width:Be[Qe.key]}),Qe));D&&ORe(D,PRe(ot,A)),b(ot,!0)},Ge=()=>{var ot;w.forEach((Qe,ut)=>{Be[Qe.key]=ye(Qe.key,ut,w.length)}),Xe(),(ot=I.document.getElementById(oTe))==null||ot.remove()},Ke=()=>{let Qe=ht=>{let ct=x.current.querySelectorAll(`[data-col-key="${ht}"]`);Be[ht]=ct[0].getBoundingClientRect().width};w.forEach(ht=>Qe(ht.key));let ut=A-(N?25:0)-(R?20:0)-(v?50:0);rt();function rt(){let ht=!0;for(;ht;){let ct=0,wt=!1,zt=Object.values(Be).reduce((gt,Qt)=>gt+=Qt);w.forEach(gt=>{Be[gt.key]=Number(Math.max(25,Be[gt.key]/zt*ut).toFixed(2)),ct+=Be[gt.key],Be[gt.key]>25&&(wt=!0)}),(ct<=ut+.5||!wt)&&(ht=!1)}}Xe()},pt=()=>{I.name==="componentLibWin"&&(dl.value=I),am.tableFrom=lC[D],hfi()};return(0,Fg.jsx)("div",{className:a["content-menu"],children:(0,Fg.jsxs)("div",{className:a.wrap,children:[(0,Fg.jsx)("span",{className:a.item,onClick:Le,children:o("Adapt column width")}),(0,Fg.jsx)("span",{className:a.item,onClick:Ge,children:o("Adapt all column widths")}),(0,Fg.jsx)("span",{className:a.item,onClick:Ke,children:o("Adapt Window")}),T&&(0,Fg.jsx)("span",{className:a.item,style:{borderTop:"1px solid var(--separator-color-drop-down-menu)"},onClick:pt,children:o("Custom Column Header")})]})})},Ne=()=>{let Be=I.document.getElementById(Uwt);!Be||Fwt.indexOf(Be)>=0||(Fwt.push(Be),Be.remove(),Fwt.pop(),Be=void 0)},Te=Be=>{if(Be){let Xe=Be.target,Ge=I.document.getElementById(Uwt);Ge&&(zwt=Ge.contains(Xe))}Ne(),I.document.removeEventListener("click",Te)},Pe=Be=>{Be.button===2&&(I.document.removeEventListener("mousedown",Pe),Ne())},Oe=Be=>{let Xe=Be.target;if(Xe){if(Xe.removeEventListener("blur",Oe),zwt)return;zwt=!1,Ne()}};Bt(()=>{Ne()}).key("canvasMousedownEvent"),Bt(()=>{fe()}).key("canvasMouseUpEvent");let Ue=Be=>{if(Be.preventDefault(),Be.stopPropagation(),!S)return;Ne(),I.document.addEventListener("click",Te),I.document.addEventListener("mousedown",Pe);let Xe=I.document.createElement("div");Xe.classList.add(n("th-cell-content-menu")),Xe.style.top=Be.pageY+"px",Xe.style.left=Be.pageX+"px",Xe.id=Uwt,Xe.setAttribute("tabindex","0"),Xe.addEventListener("blur",Oe,!1),I.document.body.appendChild(Xe);let Ge=Yfi.default.createRoot(Xe);I.setTimeout(()=>{Xe.focus()}),Ge.render((0,Fg.jsx)(_r.Provider,{value:I,children:(0,Fg.jsx)(Re,{})}))},Ve=(ke=t.onHeadCell)==null?void 0:ke.call(t,t);Ve&&(Ve={className:be("",Ve.className),style:{height:E,...Ve.style},...Ve});let ze=(0,Xh.useMemo)(()=>{let Be=k.find(Ke=>Ke.key===t.key),Xe=[],Ge=(N?25:0)+(R?20:0)+(v?50:0);return P.includes(t.key)&&(Xe=P.slice(0,P.indexOf(t.key))),k.forEach(Ke=>{Xe.includes(Ke.key)&&(Ge+=Ke.width)}),Be?{left:Ge,backgroundColor:"var(--bg-color-1-table-row)"}:{}},[k]),He=O&&!t.fixedWidth,Ye=_||j;return(0,Fg.jsxs)("th",{className:n({fixed:P.includes(t.key)}),style:{...ze,height:E-(Ye?2:0),...i,...e},"data-col-key":t.key,ref:s,onContextMenu:Ue,title:hwt.includes(D)?o({value:t.name,context:"attrs"}):t.name,onClick:Be=>t.onClick&&t.onClick(t.key,Be),...Ve,children:[(0,Fg.jsxs)("div",{style:{height:E-(Ye?2:0)},children:[(0,Fg.jsxs)("div",{className:n("th-cell"),children:[(0,Fg.jsxs)("span",{className:n("th-cell__left"),style:{textAlign:t.align},children:[(0,Fg.jsx)("span",{className:n("th-cell__left-title"),children:t.nameRender?t.nameRender():hwt.includes(D)?o({value:t.name,context:"attrs"}):t.name}),t.filter&&(0,Fg.jsx)("i",{className:re,onClick:oe})]}),t.sortable&&(0,Fg.jsxs)("span",{className:n("th-cell__sort"),children:[(0,Fg.jsx)("i",{className:ee,title:o("Ascending Order"),onClick:()=>ne("asc")}),(0,Fg.jsx)("i",{className:ce,title:o("Descending Order"),onClick:()=>ne("desc")})]})]}),G&&(0,Fg.jsx)("div",{style:{height:"25px",lineHeight:"25px"},children:(0,Fg.jsx)(Kt,{style:{verticalAlign:"middle"},placeholder:o("Filter"),enterTriggerBlur:!0,onFocus:()=>q(!0),onChange:Be=>{g({key:t.key,value:Be},Z.current*2,3,t.key)},onBlur:Be=>{g({key:t.key,value:Be.target.value},Z.current*2,3,t.key),q(!1)}})})]}),He&&(0,Fg.jsx)("i",{className:n("resize"),style:{height:E,backgroundColor:d.current?"#8bc34a":"unset"},onMouseDown:X,onMouseMove:ie,onMouseUp:fe})]})},Qfi=Ihr;var dC=L(Se());var cC=L(Se());var Kfi=L(Jxe());var ape=L(z()),Lhr=({colspan:t,style:e,rowIndex:i,colKey:o,cell:r,editable:n,editableOnCustomRender:a,align:s,ri:l,ellipsis:c,render:d,col:u,row:p,emptyDisabled:m,onCell:h,enterTriggerBlur:f=!0,showBodyTitle:g=!0,unitConversion:b=!1,highLightRegexpFn:y})=>{var ze;let w=!d&&!r.toString(),x=(h==null?void 0:h())||{},{className:S,style:T,...M}=x,I=J(),{locals:A}=Kfi.default,D=be.bind(A),E=(0,cC.useRef)(null),{index:N,rowHeight:R,windowInstance:v,heightLightStr:k="",selectedRowIndexValue:P,fixedLeftColumns:O,fixedColKeys:_,checkbox:j,isEnableDragSort:B,hasNumberCol:V,border:G,searchValueCB:Q,setRowData:H,toSelectRow:q,onClickTable:U,onContextMenu:F,getSelectRowIndex:K}=(0,cC.useContext)(qoe);r&&(r=r.toString()),r=u.i18n&&p.i18n!=!1?u.i18nContext?I({context:u.i18nContext,value:r}):I(r):r;let[te,ae]=(0,cC.useState)(!1),[pe,Z]=(0,cC.useState)(!!u.selectList),[ee,ce]=(0,cC.useState)(r),[ne,oe]=(0,cC.useState)(!1),[re,Y]=(0,cC.useState)(r),[X,ie]=(0,cC.useState)({height:R-(G?1:0),cursor:w?"not-allowed":"",background:w?_e.HEX_GRAY_COLOR1:"",textAlign:s,display:x.rowSpan===0?"none":void 0,...x.style,...e}),de=(ze=x==null?void 0:x.style)==null?void 0:ze.color;de!==X.color&&ie({...X,color:de}),(0,cC.useEffect)(()=>{ie({...X,...e})},[e]);let fe=He=>{ie({...X,...e,...He})},ye=d(fe);function Le(He){let Ye=jd(He);return Ye=Ye.trim(),new RegExp(Ye,"ig")}(0,cC.useEffect)(()=>{let He=(y==null?void 0:y(k))||Le(k),Ye="";typeof r=="string"&&(Ye=r.replace(He,ke=>{let Be="";for(let Xe=0;Xe<ke.length;Xe+=1){let Ge=ke[Xe];Ge&&(Be+=`<span class=${D("hightlight")}>${Ge}</span>`)}return Be})),Y(Ye||r),Ye.includes("hightlight")&&Q&&Q(ke=>ke&&ke.includes(i)?ke:(ke.push(i),[...ke])),ce(r)},[k,r]),(0,cC.useEffect)(()=>{var He;ne&&((He=u.selectList)==null?void 0:He.length)>0&&(!u.disabledEditKeys||!u.disabledEditKeys.includes(p[N]))&&Z(P.has(p[N])),oe(!1)},[P]);let Re=(He,Ye)=>{if(uoe.val=He,He.stopPropagation(),He.preventDefault(),!(p.fixed||p.disabledRow))switch(Ye){case 1:{U({e:He,rowNumber:K(p),colKey:o,clickCount:1,isCtrl:He.ctrlKey,isShift:He.shiftKey},fe),(n===1||a==1)&&ae(!0);break}case 2:{if(oe(!0),ye&&!a||m&&!ee.toString()||u.disabledEditKeys&&u.disabledEditKeys.includes(p[N]))return;(n===2||n===!0||a==2||a==!0)&&ae(!0),u.selectList&&Z(!0),U({e:He,rowNumber:K(p),colKey:o,clickCount:2},fe);break}default:break}},Ne=()=>{v.document.querySelectorAll(`.${D("lc-table")}`).forEach(Ye=>{Ye.style.removeProperty("transform")})},Te=He=>{ae(!1);let Ye=He.target.value;if(Ye||(Ye=ee),b){let ke=RRe(Ye,ee);console.log(ke),Ye=ke}ce(Ye),H({rowIndex:i,colKey:o,value:Ye})},Pe=({value:He,key:Ye="value",getKey:ke="text"})=>{let Be=u==null?void 0:u.selectList.find(Xe=>Xe[Ye]==He);return Be?I(String(Be[ke])):He},Oe=He=>{var Ye,ke;ce(Pe({value:He})),H({rowIndex:i,colKey:o,value:He}),(Ye=u==null?void 0:u.selectList[0])!=null&&Ye.toKey&&H({rowIndex:i,colKey:(ke=u==null?void 0:u.selectList[0])==null?void 0:ke.toKey,value:Pe({value:He,getKey:"color"})})},Ue=be({[A.fixed]:_.includes(u.key)},{[A["lc-table-text-ellipsis"]]:c===void 0?!0:c},x.className),Ve=(0,cC.useMemo)(()=>{var Xe;let He=O.find(Ge=>Ge.key===u.key),Ye=[],ke=(j?25:0)+(B?20:0)+(V?50:0);_.includes(u.key)&&(Ye=_.slice(0,_.indexOf(u.key))),O.forEach(Ge=>{Ye.includes(Ge.key)&&(ke+=Ge.width)});let Be=E.current?getComputedStyle(E.current.parentNode):{};return He?{left:ke,backgroundColor:(Xe=Be["background-color"])!=null?Xe:Pc().bgColor}:{}},[O,E.current,p]);return(0,ape.jsx)("td",{ref:E,colSpan:t||1,"data-col-key":o,className:Ue,style:{...X,...Ve,...x.style},onClick:He=>Re(He,1),onDoubleClick:He=>Re(He,2),...M,onContextMenu:He=>{He.stopPropagation(),He.target.nodeName!=="INPUT"&&He.preventDefault(),F&&(P.has(p[N])||(U({e:He,rowNumber:K(p),colKey:o,clickCount:1},fe),setTimeout(()=>{q(p)},1)),F(p,He))},children:ye&&!(te&&a)?ye:te?(0,ape.jsx)(Kt,{selected:!0,defaultValue:ee,enterTriggerBlur:f,onBlur:Te}):pe?(0,ape.jsx)(xt,{value:ee,list:u.selectList,onChange:He=>{He!==ee&&Oe(He)}}):u!=null&&u.selectList?(0,ape.jsx)("span",{children:ee}):(0,ape.jsx)("span",{title:g?ee:"",style:{color:p.fixed?"#bfbfbf":X.color||""},dangerouslySetInnerHTML:{__html:re}})})},Zfi=Lhr;var qfi=L(z()),vhr={display:"block",width:"16px",height:"16px",cursor:"move"};function Jfi(t){let{rowIndex:e,isShow:i=!0,styleObject:o={}}=t,r={...vhr,...o};return i?(0,qfi.jsx)("span",{"data-rowindex":e,className:"icon icon_operate_movedrag",style:r}):null}var Xfi=L(Jxe());var H_=L(z()),Dhr=({row:t,ri:e,stockade:i,columns:o,checkbox:r,number:n,index:a,border:s,isEnableDragSort:l,showDragIcon:c,isOnlyHighlightText:d,useRowComponentStateOnRowSelected:u=!0,isMouseOver:p=!1,onRowMouseLeave:m,onRowMouseEnter:h,onRowMouseMove:f,onToggleExpand:g,highLightRegexpFn:b})=>{var Pe;let{locals:y}=Xfi.default,w=be.bind(y),x=J(),S=(0,dC.useRef)(null),{rowStartIndex:T,selectedRowIndexValue:M,openRowSelectedBgColor:I,openRowHoverBgColor:A,originalTableData:D,selectedRowNumbers:E,editingRowNumbers:N,clickObj:R,checkedList:v,rowHeight:k,tableContainerRef:P,followHeightLight:O,heightLightStr:_,fixedColKeys:j,toSelectRow:B,setRowData:V,setAllData:G,getSelectRowIndex:Q,checkedRow:H}=(0,dC.useContext)(qoe),[q,U]=(0,dC.useState)(E.includes(e)),[F,K]=(0,dC.useState)(0),te=(0,dC.useRef)({selected:!1,ri:-1});te.current.selected=E.includes(e),te.current.ri=e;let[ae,pe]=(0,dC.useState)({backgroundColor:t.bgColor,height:k}),[Z,ee]=(0,dC.useState)({});(0,dC.useLayoutEffect)(()=>{Object.keys(t).includes("isError")&&t.isError&&(t={...t,gbColor:"#e81123"})},[]),(0,dC.useEffect)(()=>{U(M.has(t[a])),te.current.selected=M.has(t[a]),K(Oe=>Oe+1)},[M]),(0,dC.useEffect)(()=>{E.length>0&&(E.includes(Q(t))?(U(!0),te.current.selected=!0,O&&!p&&ce(t[a])):(U(!1),te.current.selected=!1),K(Oe=>Oe+1))},[E,t]);function ce(Oe){let Ue=P.current.querySelector(`tr[data-content-rowid="${Oe}"]`),Ve=Ue.getBoundingClientRect(),ze=P.current.getBoundingClientRect();if(Ve.top>=ze.top&&Ve.bottom<=ze.bottom){let Ye=Ve.top-ze.top,ke=Ue.clientHeight,Be=Ye-ke;Ue==null||Ue.scrollTo({top:Be})}else Ue==null||Ue.scrollIntoView()}let ne=!1;u?ne=!t.fixed&&q&&I:ne=!t.fixed&&te.current.selected&&I;let oe=w("lc-table-row",{"lc-table-row--even":i&&(e+1)%2===0,"lc-table-row--selected":ne&&d===!1,"lc-table-row--selected2":ne&&d,"lc-table-row--hoverBgColor":!t.fixed&&A,"lc-table-row--disabled":t.disabledRow}),re=Oe=>{if(!t.fixed)switch(Oe.detail){case 1:{B(t,{isCtrl:Oe.ctrlKey,isShift:Oe.shiftKey});break}default:break}},Y=Oe=>{H({row:t,checked:Oe})},X=Oe=>{pe({...ae,...Oe})},ie=Oe=>{ee({...Oe})},de=Oe=>{m&&m(Oe,t,e)},fe=Oe=>{h&&h(Oe,t,e)},ye=Oe=>{f&&f(Oe,t,e)},Le=Oe=>{var Ue,Ve;switch(Oe.key){case"JLCPCB Part Class":return x((Ue=t.attributes)==null?void 0:Ue[Oe.key]);default:return(Ve=t.attributes)==null?void 0:Ve[Oe.key]}},Re=Oe=>!!v.find(Ve=>Ve[a]===Oe[a]),Ne={position:"absolute",left:0,top:0,backgroundColor:"var(--common-bg-color)",width:"100%",height:"calc(100% + 2px)",transform:"translate3d(-1px, -1px, 5px)",display:"flex",justifyContent:"center",alignItems:"center"},Te=(0,dC.useMemo)(()=>{var Oe;return j.length?(Oe=(S.current?getComputedStyle(S.current.parentNode.parentNode):{})["background-color"])!=null?Oe:Pc().bgColor:null},[S.current,E,M,t]);return(0,H_.jsxs)("tr",{"data-refresh":F,"data-content-rowid":t[a],"data-content-rowindex":e,"data-test":t[(Pe=o[0])==null?void 0:Pe.key],style:{...ae,backgroundColor:t.bgColor,cursor:t.lcEnableDragSort?"move":"default"},className:oe,onPointerDown:Oe=>{Oe.shiftKey&&Oe.preventDefault()},onMouseLeave:de,onMouseEnter:fe,onMouseMove:ye,draggable:t.lcEnableDragSort?"true":null,children:[l&&c&&(0,H_.jsx)("td",{style:{height:k-(s?1:0),padding:0,borderTop:0,borderLeft:0,borderBottom:0,backgroundColor:"var(--common-bg-color)",position:"relative",width:Hwt},children:(0,H_.jsx)("div",{style:Ne,children:(0,H_.jsx)(Jfi,{isShow:t.lcEnableDragSort===!0,rowIndex:e})})}),r?(0,H_.jsx)("td",{onClick:Oe=>{Oe.stopPropagation()},"data-content-checkboxtdid":t[a],className:w({fixed:j.length}),style:{textAlign:"center",padding:0,height:k-(s?1:0),backgroundColor:Te,left:0},children:!t.noCheckbox&&(0,H_.jsx)($p,{ref:S,defaultChecked:Re(t),onChange:Y,disabled:t.disabledCheckbox||t.disabledRow})}):null,n&&(0,H_.jsx)("td",{onClick:Oe=>{re(Oe)},style:{height:k-(s?1:0)},children:e+T+1}),o.map((Oe,Ue)=>{var Ve,ze;return(0,H_.jsx)(Zfi,{colspan:Oe.setColspan?Oe.setColspan(t[Oe.key]):void 0,colKey:Oe.key,rowIndex:t[a],ri:e,cell:String((ze=(Ve=t[Oe.key])!=null?Ve:Le(Oe))!=null?ze:""),col:Oe,row:t,ellipsis:Oe.ellipsis,editable:Oe.editable,editableOnCustomRender:Oe.editableOnCustomRender,i18n:Oe.i18n,enterTriggerBlur:Oe.enterTriggerBlur,showBodyTitle:Oe.showBodyTitle,unitConversion:Oe.unitConversion,align:Oe.align,emptyDisabled:Oe.emptyDisabled,style:Z,highLightRegexpFn:b,render:He=>{var Ye;return(Ye=Oe.render)==null?void 0:Ye.call(Oe,{rowNumber:e,colKey:Oe.key,tableData:D,row:t,cellData:t[Oe.key],selectedRowNumbers:E,editingRowNumbers:N,clickObj:R,setCellStyle:He,setRowStyle:X,setAllCellStyle:ie,setRowData:V,setTableData:G,heightLightStr:_,onToggleExpand:g})},onCell:()=>{var He;return(He=Oe.onCell)==null?void 0:He.call(Oe,t,e,Oe.key)}},Ue)})]})},$fi=Dhr;var zm=L(z()),qoe=(0,qo.createContext)(void 0),rTe="devicesStandardizationTable",spe="associateDeviceTable",Hwt="40px",Ehr=(t,e)=>{let{name:i,index:o,height:r,width:n,columns:a,rows:s,number:l,border:c,headerBorder:d,stockade:u,checkbox:p,fixedHeader:m=!0,showHeader:h=!0,moveRowIndex:f,delRowInfo:g,addRowData:b,openVirtualScroll:y=!1,searchValue:w,openRowSelectedBgColor:x=!0,openRowHoverBgColor:S,openHeadContentMenu:T,selectedRowNumbers:M=[],editingRowNumbers:I=[],showStatus:A,statusNode:D,multiSelect:E,isOnlyHighlightText:N=!1,enableSelectRowByHover:R=!1,resetTableDataCount:v,showCustomHeadSettingOnHeadContextmenu:k=!1,isChangeSortStatus:P=!1,moveAble:O,rowHeight:_=$hi,headHeight:j=efi,enableDragSort:B=!1,showDragIcon:V=!0,useRowComponentStateOnRowSelected:G=!0,followHeightLight:Q,dragConfig:H,resize:q=!0,isCtrlSelect:U=!0,isShiftSelect:F=!0,scrollXBaseBottom:K=0,extraHeight:te=0,headerStyle:ae={},enableWindowResizeHandler:pe=!0,enableScrollX:Z=!0,enbaleScrollY:ee=!0,onCheckRow:ce,onAllChecked:ne,onClick:oe,onChange:re,onMoveRowStatus:Y,onContextMenu:X,onRowMouseLeave:ie,onRowMouseEnter:de,onRowMouseMove:fe,onToggleExpand:ye,onDragMoveEnd:Le,onTableScroll:Re,searchValueCB:Ne,style:Te,tableBodyStyle:Pe,onColSizeChange:Oe,highLightRegexpFn:Ue,virtualScrollAutoFirst:Ve=!0,onSort:ze}=t;Ae(Gwt.default),Ce(oV);let{locals:He}=Gwt.default,Ye=be.bind(He),ke=J(),{window:Be}=(0,qo.useContext)(_r),{checkedList:Xe}=oV,[Ge,Ke]=(0,qo.useState)(new Set),[pt,ot]=(0,qo.useState)(0),[Qe,ut]=(0,qo.useState)(()=>Swt(s)),[rt,ht]=(0,qo.useState)(Qe.length*_),[ct,wt]=(0,qo.useState)(0),[zt,gt]=(0,qo.useState)(r),[Qt,yt]=(0,qo.useState)(null),[jt,ni]=(0,qo.useState)([]),[Ii,Mo]=(0,qo.useState)(!1),[_i,So]=(0,qo.useState)(!1),[nr,Do]=(0,qo.useState)(0),[go,Dr]=(0,qo.useState)(0),[cr,Zn]=(0,qo.useState)([]),[Sa,es]=(0,qo.useState)(()=>Swt(s)),[tu,Mi]=(0,qo.useState)(0),[qi,Eo]=(0,qo.useState)(r-j||0),[Ct,ti]=(0,qo.useState)(j),[hi,ki]=(0,qo.useState)(null),eo=(0,qo.useRef)(new Map),[Qo,dr]=(0,qo.useState)(!1),[sa,Vn]=(0,qo.useState)(!0),[Cn,fa]=(0,qo.useState)(a),[Ac,Uo]=(0,qo.useState)([]),[$t,ui]=(0,qo.useState)(0),[fi,to]=(0,qo.useState)(0),[no,Lr]=(0,qo.useState)(!1),[Pa,Ss]=(0,qo.useState)(""),[Ms,zr]=(0,qo.useState)({e:null,rowNumber:-1,colKey:void 0,clickCount:0}),[dn,Kp]=(0,qo.useState)(!0),[a0,op]=(0,qo.useState)(-1e4),[xp,Q1]=(0,qo.useState)([]),[Zp,Ma]=(0,qo.useState)(S),Ag=(0,qo.useRef)(null),d1=(0,qo.useRef)({isMouseOver:!1}),T2=(0,qo.useRef)(null),sS=(0,qo.useRef)(null),a3=(0,qo.useRef)(null),Ng=(0,qo.useRef)(null),S2=(0,qo.useRef)(null),Hn=(0,qo.useRef)({...tfi}),Qx=(0,qo.useRef)([]),Kx=(0,qo.useRef)(null),C6=(0,qo.useRef)(null),Es=(0,qo.useRef)(null),e8=(0,qo.useRef)(null),rut=(0,qo.useRef)([]);rut.current=Qe;let[YF,nut,aut]=La(),t8=B&&!y&&Le instanceof Function,G4e=c||d,l8e=(0,qo.useRef)(null);(0,qo.useEffect)(()=>{if(t.checkedList){let Wt=t.checkedList.filter(oi=>!oi.noCheckbox);ni(Wt),Mo(Wt.length===Hi().length),p&&ce&&ce(Wt,Wt.map(oi=>Qe.indexOf(oi)).filter(oi=>oi>=0),{isTriggerByRowsUpdate:!1,isTriggerByCheckListUpdate:!0})}},[t.checkedList]),(0,qo.useImperativeHandle)(e,()=>({checkAll:()=>Us(!0),checkedRow:Jo,toSelectRow:Zt,downMove:a8,upMove:m8e,scrollSelectedRowIntoView:()=>{n8()},scrollRowIntoView:jR,handleTableScrollByScrollTop:Df,refresh:()=>{Dr(Wt=>Wt-nr),Do(0)},cancelSortStatus:()=>{yt(()=>({...Qt,status:"unset"}))},tableBodyDiv:Es.current,revertSelect:()=>ai(),virtualScrollRowIndexIntoView:Wt=>{if(Es.current){let oi=(Wt+1)*_,Di=Es.current.scrollTop,Ki=Es.current.clientHeight;oi>Di&&oi<Di+Ki||(Es.current.scrollTop=oi-Ki/2+_/2,Df(Es.current.scrollTop))}}})),(0,qo.useEffect)(()=>{if(M.length&&Qe.length){let Wt=new Set(Ge);M.forEach(oi=>{if(Qe[oi]){let Di=Qe[oi][o];!Wt.has(Di)&&Wt.add(Di)}}),Wt.forEach(oi=>{let Di=at(oi);!M.includes(Di)&&Wt.delete(oi)}),Ke(Wt),M=[]}},[t.selectedRowNumbers,s]),(0,qo.useEffect)(()=>{var Wt;(Wt=t.selectedRowNumbers)!=null&&Wt.length||Ke(new Set)},[t.selectedRowNumbers]),(0,qo.useEffect)(()=>{$t>0?yie():op(-1e4)},[$t]),(0,qo.useEffect)(()=>{v&&Hce()},[v]),(0,qo.useEffect)(()=>(Kx.current&&nut(Kx.current),()=>{aut()}),[Kx.current]),(0,qo.useEffect)(()=>{let Wt=()=>{pe&&setTimeout(()=>{ZQ(null,r)},200)};return window.addEventListener("resize",Wt),()=>{window.removeEventListener("resize",Wt)}},[]),(0,qo.useEffect)(()=>{let Wt=localStorage.devicePixelRatio;Wt||(Wt=Be.devicePixelRatio,Number.isInteger(Wt)&&(localStorage.devicePixelRatio=Wt));let oi=function(){let Di=Be.devicePixelRatio;if(Kx.current){let{height:Ki}=Kx.current.getBoundingClientRect();setTimeout(()=>{ZQ(null,Ki)},300)}this.removeEventListener("change",oi),matchMedia(`(resolution: ${Di}dppx)`).addEventListener("change",oi)};matchMedia(`(resolution: ${Wt}dppx)`).addEventListener("change",oi)},[]),(0,qo.useEffect)(()=>{YF&&(setTimeout(()=>{if(e8.current){let Wt=e8.current.getBoundingClientRect(),oi=s.length*_;Wt.height>oi&&i===rTe&&ht(Wt.height)}},200),rt>qi&&i===rTe&&(Es.current&&(Es.current.scrollTop=0),setTimeout(()=>{u8e(r)},200)),ZQ(null,r))},[r]),(0,qo.useEffect)(()=>{(ct===void 0||ct===0)&&ZQ(null,r)},[YF,r,ct]),(0,qo.useEffect)(()=>{if(s.length===0){Hce();return}let Wt=new Set,oi=0;for(let tn of s){if(tn[o]&&Wt.has(tn[o]))throw new Error(`[index:${o}]:The table item index value is not unique.`);if(typeof tn[o]>"u")throw new Error(`table data must be need index value,please check data.Whether the [${o}] is in the data?`);Wt.add(tn[o]),(tn.noCheckbox||tn.disabledRow||tn.disabledCheckbox)&&oi++}So(s.length===oi),Vn(!1),ut(s);let Di=hi?ge(hi,s):s,Ki=Di.slice(nr,go);es(y?Ki:Di);let Bo=s.length*_;Bo>rt&&i===rTe&&ht(Bo),i!==rTe&&ht(Bo),p8e(),Ss(w)},[s]),(0,qo.useEffect)(()=>{Qe.length&&!p&&(ni([]),Mo(!1),ce&&ce([],[],{isTriggerByRowsUpdate:!1}))},[p]),(0,qo.useEffect)(()=>{let Wt=sfi(i);if(Wt&&!ue.isEmptyObj(Wt)){let oi=afi(Wt,a,ct);fa(oi)}else fa(iu());Kp(!0)},[ct,a,p]),(0,qo.useLayoutEffect)(()=>{let Wt=[],oi=[];[...Cn].forEach(Di=>{(Di==null?void 0:Di.fixed)==="left"&&(Wt.push(Di),oi.push(Di.key)),Di.ellipsis===!1&&Lr(!0)}),Q1(oi),Uo(Wt),yie(Wt)},[Cn]),(0,qo.useEffect)(()=>{if(r){let Wt=!1;i==="associatedDevicePanel"&&zt!==r&&(Wt=!0),Qx.current.length<=0&&Eo(r-Ct),gt(r),Wt&&(Es!=null&&Es.current)&&(Es.current.scrollTop=0)}},[r,Sa]),(0,qo.useEffect)(()=>{Ne&&Ne([])},[w]),(0,qo.useEffect)(()=>{if(b&&!y){let Wt=Qe.length,oi=[...Qe];oi.push(b[Wt]),re==null||re(oi),es(oi),ut(Di=>(Di.push(b[Wt]),Di)),oe==null||oe({selectedRowNumbers:[Wt],row:b[Wt],tableData:oi}),setTimeout(()=>{Zt(b[Wt]),Es.current.scrollTop=rt},100)}},[b]),(0,qo.useEffect)(()=>{let Wt=g==null?void 0:g.indexValue;if(g&&(Wt!=null&&Wt.toString())){let oi=[...Qe].findIndex(on=>on[o]===Wt),Di=Qe.length,Ki={};if(oi+1!==Di)Ki=Qe[oi+1];else{let on=Qe[oi-1];on&&(Ki=on),!on&&(()=>{Ke(new Set),Y({up:!1,down:!1})})()}let Bo=[...Qe].filter(on=>on[o]!==Wt);ut(on=>(on.splice(oi,1),on));let tn=y?[...Bo].slice(nr,go):Bo;es(tn),oe==null||oe({...a3.current,selectedRowNumbers:[nt(Ki)],row:Ki,tableData:tn}),Zt(Ki),re&&re(Bo),y&&ht(on=>on-_)}},[g]);let Y4e=(Wt=nr,oi=go)=>{if(!oi&&!Wt)return;let Di=hi?[...ge(hi)]:[...Qe],Ki=Di.slice(Wt,oi);es(y?Ki:Di)};(0,qo.useEffect)(()=>{Y4e()},[nr,go]),(0,qo.useEffect)(()=>{if(f){let{curIndex:Wt,newIndex:oi}=f;if(oi<0||oi>=Qe.length)return;let Di=[...Qe],Ki=Di[Wt];Di[Wt]=Di[oi],Di[oi]=Ki,ut(Bo=>{let tn=Bo[Wt];return Bo[Wt]=Bo[oi],Bo[oi]=tn,Bo}),oe==null||oe({selectedRowNumbers:[oi],row:Di[oi],tableData:Di}),es(y?[...Di].slice(nr,go):Di),re&&re(Di),setTimeout(()=>{Zt(Di[oi])},100)}},[f]),(0,qo.useEffect)(()=>{rt&&r&&u8e(r)},[rt,r]),(0,qo.useEffect)(()=>{e8.current&&(S2.current=e8.current)},[e8.current,rt]);let Hce=()=>{Ke(new Set),es([]),ut([]),yt(null),Do(0),p8e()},c8e=(0,qo.useCallback)(Wt=>{Wt.dataTransfer.setData("text",""),Wt.dataTransfer.setDragImage(ERe,0,0);let{target:oi}=Wt,Di=Twt(oi);if(!Di||!Di.draggable){Hn.current.enableDrag=!1;return}Hn.current.enableDrag=!0,Hn.current.moveTrElement=Di,Hn.current.tableElement=oi.closest("table"),Hn.current.handlerInitialIndex=Array.from(Di.parentElement.children).indexOf(Hn.current.moveTrElement);let Ki=Hn.current.moveTrElement.getBoundingClientRect().toJSON(),Bo=ofi(Hn.current.moveTrElement,V);Bo.style.width=`${Ki.width}px`,Bo.style.height=`${Ki.height}px`,Bo.style.transform=`translate3d(${Ki.left}px, ${Ki.top}px, 5px)`,Hn.current.dragImageFixedLeft=Ki.left,Hn.current.dragImageOffsetY=Wt.clientY-Ki.top,Hn.current.dragImageElement=Bo,document.body.appendChild(Bo)},[]),d8e=(0,qo.useCallback)(Wt=>{if(Wt.preventDefault(),!!Hn.current.enableDrag&&(Hn.current.moveTrElement.classList.add("table-row-hidden"),Hn.current.dragImageElement)){let oi=~~(Wt.clientY-Hn.current.dragImageOffsetY);Hn.current.dragImageElement.style.transform=`translate3d(${Hn.current.dragImageFixedLeft}px, ${oi}px, 5px)`}},[]),W4e=(0,qo.useCallback)(Wt=>{Wt.preventDefault();let{target:oi}=Wt,Di=Twt(oi);if(!Hn.current.enableDrag||!Di||Di===Hn.current.moveTrElement||!Hn.current.tableElement.contains(Di))return;let Ki=Di.parentElement,Bo=Array.from(Ki.children);Hn.current.handlerRealtimeIndex=Bo.indexOf(Hn.current.moveTrElement),Hn.current.insertedRealtimeIndex=Bo.indexOf(Di),!(Hn.current.insertedRealtimeIndex<=-1||Hn.current.insertedRealtimeIndex<=Hn.current.upperLimitIndex||Hn.current.insertedRealtimeIndex>=Hn.current.lowerLimitIndex)&&(Hn.current.handlerRealtimeIndex<Hn.current.insertedRealtimeIndex?Ki.insertBefore(Hn.current.moveTrElement,Di.nextElementSibling):Ki.insertBefore(Hn.current.moveTrElement,Di))},[]),Q4e=!1,K4e=(0,qo.useCallback)(Wt=>{Q4e=!0;let{handlerInitialIndex:oi,handlerRealtimeIndex:Di,insertedRealtimeIndex:Ki}=Hn.current;Ki<=Hn.current.upperLimitIndex+1&&(Ki=Hn.current.upperLimitIndex+1),Ki>=Hn.current.lowerLimitIndex-1&&(Ki=Hn.current.lowerLimitIndex-1),Le&&Le(oi,Ki,Di),Z4e(Wt)},[Le]),Z4e=(0,qo.useCallback)(Wt=>{if(Wt.preventDefault(),Wt.stopPropagation(),!Q4e){K4e(Wt),Q4e=!1;return}Hn.current.enableDrag=!1,Hn.current.dragImageElement&&Hn.current.dragImageElement.remove(),Hn.current.moveTrElement&&Hn.current.moveTrElement.classList.remove("table-row-hidden"),Hn.current.moveTrElement=null,Hn.current.tableElement=null,Hn.current.dragImageElement=null,Hn.current.handlerInitialIndex=-1,Hn.current.handlerRealtimeIndex=-1,Hn.current.insertedRealtimeIndex=-1},[K4e]),bie=(0,qo.useCallback)(Wt=>{Z4e(Wt)},[Z4e]);nfi(t8,{tableDragstartHandler:c8e,tableDragoverHandler:d8e,tableDragenterHandler:W4e,tableDragendHandler:bie,tableDropHandler:K4e}),(0,qo.useEffect)(()=>{H&&(Hn.current.lowerLimitIndex=H.lowerLimitIndex,Hn.current.upperLimitIndex=H.upperLimitIndex)},[H]),(0,qo.useEffect)(()=>{ZQ(null,r)},[YF==null?void 0:YF.width]);let ZQ=(Wt,oi)=>{if(Wt===0||oi===0)return;let Di,Ki;if(YF){let{width:Bo,height:tn}=YF;Di=Bo,Ki=tn}if(Di=Wt||Di,Ki=oi||Ki,Ki){Ki&&Eo(Ki-Ct),gt(Ki);let Bo=Math.ceil((Ki-Ct)/_);Mi(Bo)}Di&&wt(Di),yie()},yie=(Wt=Ac)=>{if($t>0&&xp.length){let oi=(p?25:0)+(t8?20:0)+(l?50:0);Wt.forEach(Di=>{xp.includes(Di.key)&&(oi+=Di.width)}),op(oi)}},Ri=(Wt,oi)=>{zr({...Wt}),Wt.clickCount==2?(I.length=0,I.push(Wt.rowNumber)):Wt.clickCount==1&&(I.includes(Wt.rowNumber)?(I.length=0,I.push(Wt.rowNumber)):I.length=0);let Di;Di=new Set(Ge);let Ki=Qe[Wt.rowNumber][o];Wt.colKey==="checkbox"&&(Qe[Wt.rowNumber].checked=Wt.checked),Ge.has(Ki)?Di.delete(Ki):Di.add(Ki);let Bo=[];Di.forEach(tn=>Bo.push(at(tn))),a3.current={clickObj:Wt,tableData:Qe,editingRowNumbers:I,selectedRowNumbers:Bo,row:Qe[Wt.rowNumber],allSelectedRowIndexValues:Ge,setCellStyle:oi},Zt(Qe[Wt.rowNumber],Wt)},u8e=Wt=>{let oi=Math.ceil((Wt-Ct)/_);if(Mi(oi),y&&(Ve||sa)){let Di=Qe.findIndex(Ki=>Ki.checked);if(Di>=0&&Di+oi<=Qe.length)Do(Di),Dr(Di+oi-1),setTimeout(()=>{Es.current&&(Es.current.scrollTop=Di*_)},200);else if(Di>=0){let Ki=Math.max(0,Qe.length-oi+1);Do(Ki),Dr(Qe.length),setTimeout(()=>{Es.current&&(Es.current.scrollTop=Ki*_)},200)}else Es.current&&Es.current.scrollTop?Df(Es.current.scrollTop):(Do(0),Dr(oi),setTimeout(()=>{Es.current&&(Es.current.scrollTop=0)},200))}};(0,qo.useEffect)(()=>{if(Xe[i]){let Wt=Xe[i],oi=[];s.forEach((Di,Ki)=>{Object.keys(Di).includes("checked")&&Di.checked&&(oi.push(Ki),E&&Ge.add(Di[o]))}),ni(Wt),Mo(s.length===Wt.length),ce&&ce(Wt,oi,{isTriggerByRowsUpdate:!0})}},[Xe]);let p8e=()=>{let Wt=[],oi=[];s.forEach((Di,Ki)=>{Object.keys(Di).includes("checked")&&Di.checked&&(Wt.push(Di),oi.push(Ki),E&&Ge.add(Di[o]))}),ni(Wt),Mo(s.length&&Wt.length&&Wt.length===Hi(s).length),p&&ce&&ce(Wt,oi,{isTriggerByRowsUpdate:!0})},ge=(Wt,oi)=>{let{key:Di,value:Ki}=Wt;return Ss(Ki),(oi||Qe).filter(on=>new RegExp(Ki,"ig").test(on[Di]||(on==null?void 0:on.attributes[Di])||""))},Ie=()=>Qe.filter(Wt=>Array.from(eo.current.values()).every(oi=>{let{key:Di,value:Ki}=oi;return new RegExp(Ki,"ig").test(Wt[Di]||(Wt==null?void 0:Wt.attributes[Di])||"")})),Fe=(Wt,oi,Di,Ki)=>{let Bo=zt+oi;if(Di===1){dr(!1),!Qx.current.includes(Ki)&&Qx.current.push(Ki),ti(oi),Eo(Bo);return}else if(Di===2&&(Ss(""),Qx.current=Qx.current.filter(on=>on!==Ki),Qx.current.length<=0&&ti(oi),Qx.current.length<=0&&Eo(Bo),!Qo))return;dr(!0),ki(Wt),Wt!=null&&Wt.value?eo.current.set(Wt.key,Wt):Wt!=null&&Wt.key?eo.current.delete(Wt==null?void 0:Wt.key):eo.current=new Map;let tn=on=>{if(ht(on.length*_),y){let L0=Math.ceil(Bo/_);Do(0),Dr(L0);let Vu=on.slice(nr,L0);es(Vu)}else es(on)};if(eo.current.size>0){let on=Ie();Zn(on),tn(on)}else tn(Qe),Eo(Bo)},We=Wt=>{if(Qe.length===1){Y&&Y({up:!1,down:!1});return}Qe.forEach((oi,Di)=>{oi[o]===Wt[o]&&(Di===0?Y&&Y({up:!1,down:!0}):Di+1===Qe.length?Y&&Y({up:!0,down:!1}):Y&&Y({up:!0,down:!0}))})},nt=Wt=>{for(let oi=0;oi<Qe.length;oi++)if(Qe[oi][o]===Wt[o])return oi;return-1},at=Wt=>Qe.findIndex(oi=>oi[o]===Wt),ft=(...[Wt,oi={},Di])=>{let{isCtrl:Ki,isShift:Bo}=oi,tn=Wt[o],on;if(Ki&&U||E&&Di==="checkbox")if(on=new Set(Ge),Ge.has(tn)){on.delete(tn);let Vu=[...on].pop();Vu?Wt=Qe[at(Vu)]:Wt=null}else on.add(tn);else if(Bo&&F){let Vu=Gi=>Qe.findIndex(uo=>uo[o]===Gi),Rh;if(Ge.size){let Gi=[...Ge].shift(),uo=[...Ge].pop();if(Vu(uo)<Vu(Gi)){let Ar=Gi;Gi=uo,uo=Ar}Rh=Vu(tn)>Math.max(Vu(Gi),Vu(uo))?Gi:uo}else Rh=tn;let Z1=[Rh,tn].map(Gi=>Vu(Gi)),[,Tie]=Z1,[Vt,bi]=Z1.sort((Gi,uo)=>Gi-uo),Ui=Array.from({length:bi-Vt+1}).map((Gi,uo)=>Qe[Vt+uo][o]);Vt===Tie&&Ui.reverse(),on=new Set(Ui)}else on=new Set([tn]);let L0=[];on.forEach(Vu=>L0.push(at(Vu))),oe==null||oe({...a3.current,selectedRowNumbers:L0,allSelectedRowIndexValues:on,tableData:Qe,row:Wt,isCtrl:Ki,isShift:Bo,from:Di,clickObj:oi}),Ke(on)},ai=()=>{let Wt=new Set,oi=null;it(Qe,(Ki,Bo)=>{let tn=Bo[o];Ge.has(tn)||(Wt.add(tn),!oi&&(oi=Bo))});let Di=[];Wt.forEach(Ki=>Di.push(at(Ki))),oe==null||oe({...a3.current,selectedRowNumbers:Di,allSelectedRowIndexValues:Wt,tableData:Qe,row:oi,isCtrl:!1,isShift:!1,from:"revert"}),Ke(Wt)},Zt=(Wt,oi,Di)=>{Wt&&(We(Wt),ft(Wt,oi,Di))};function vi(Wt){let{key:oi,status:Di}=Wt,Ki=!1;Di==="unset"&&(oi==="numberIndex"?oi="numberIndex":o==="$id"?oi=o:oi="index",Di="asc",Ki=!0);let Bo=null;if(oi instanceof Array){let tn=oi.length;Bo=[...Qe].sort((on,L0)=>{for(let Vu=0;Vu<=tn;Vu++){let Rh=oi[Vu],Z1=oi[Vu+1];return typeof on[Rh]=="object"?Di==="asc"?lV(on[Rh][Z1],L0[Rh][Z1]):lV(L0[Rh][Z1],on[Rh][Z1]):on[Rh]===L0[Rh]?Di==="asc"?lV(on[Z1],L0[Z1]):lV(L0[Z1],on[Z1]):Di==="asc"?lV(on[Rh],L0[Rh]):lV(L0[Rh],on[Rh])}})}if(typeof oi=="string"&&(Ki?Bo=[...Qe].sort((tn,on)=>{let L0=oi,[Vu,Rh]=[tn,on].map(Z1=>{var Tie,Vt;return Object.keys(Z1).includes(L0)?Z1[L0]:(Vt=(Tie=Z1.attributes)==null?void 0:Tie[L0])!=null?Vt:""});return Di==="asc"?lV(Vu,Rh):lV(Rh,Vu)}):Bo=ue.naturalSort(Qe,oi,Di!=="asc","attributes")),Bo=Bo.filter(tn=>{var on;return!((on=tn.display_title)!=null&&on.level)}),ut(Bo),ht(Bo.length*_),es(y?[...Bo].slice(nr,go):Bo),re&&re(Bo,null,Wt.status==="asc"?"ASC_SORT":Wt.status==="desc"?"DESC_SORT":"NORMAL"),jt.length){let tn=To(Bo,jt);p&&ce&&ce(jt,tn,{isTriggerByRowsUpdate:!1})}}let so=Wt=>{yt(Wt),ze==null||ze(Wt),vi(Wt)};function To(Wt,oi){let Di=[];return Wt.forEach((Ki,Bo)=>{oi.find(on=>on[o]===Ki[o])&&Di.push(Bo)}),Di}let Hi=Wt=>(Wt||Qe||[]).filter(oi=>!(oi!=null&&oi.noCheckbox)&&!(oi!=null&&oi.disabledCheckbox)&&!(oi!=null&&oi.disabledRow)),Jo=({row:Wt,checked:oi})=>{let Di=[...jt];Di=oi?Di.concat(Wt):Di.filter(tn=>tn[o]!==Wt[o]);let Ki=To(Qe,Di);if(ni(Di),Mo(Hi().length===Di.length?oi:!1),Wt.checked=oi,i!==spe&&p&&ce&&ce(Di,Ki,{isTriggerByRowsUpdate:!1,row:Wt}),Wt.checked=oi,Ge.has(Wt[o])&&i!==spe)Ge.delete(Wt[o]);else if(oi){let tn=Qe.findIndex(on=>on[o]===Wt[o]);Zt(Wt,{rowNumber:tn,colKey:"checkbox",isCtrl:!1,isShift:!1},"checkbox")}else i===spe&&!oi&&ce(Di,Ki,{isTriggerByRowsUpdate:oi,row:Wt});let Bo=Qe.map(tn=>(tn[o]===Wt[o]&&(tn={...tn,checked:oi}),tn));ut(Bo),es(y?[...Bo].slice(nr,go):Bo),re==null||re(Bo,Wt,"checked")},Us=Wt=>{let oi=[...Qe].map((Bo,tn)=>(!(Bo!=null&&Bo.noCheckbox)&&!(Bo!=null&&Bo.disabledCheckbox)&&!(Bo!=null&&Bo.disabledRow)&&(Bo={...Bo,checked:Wt}),Bo)),Di=Wt?Hi(oi):[],Ki=To(oi,Di);if(Di.length>0){let Bo=new Set;[...Di].forEach(tn=>{Bo.add(tn[o])}),E&&Ke(Bo)}else setTimeout(()=>{Ke(new Set)},200);ni(Di),ut(oi),es(y?[...oi].slice(nr,go):oi),Mo(Wt),i!==spe&&p&&ce&&ce(Di,Ki,{isTriggerByRowsUpdate:!1}),ne&&ne(oi,Wt),re==null||re(oi)},Nd=({rowIndex:Wt,colKey:oi,value:Di})=>{let Ki,Bo=L0=>{let Vu,Rh=L0.map(Z1=>(Z1[o]===Wt&&(Vu=Z1[oi],Z1[oi]=Di,Ki=Z1),Z1));return{oldItemValue:Vu,newList:Rh}},{newList:tn,oldItemValue:on}=Bo([...Qe]);ut(tn),es(y?[...tn].slice(nr,go):tn),hi&&Zn(Bo([...cr]).newList),re&&re(tn,Ki,void 0,{colKey:oi,value:Di,oldItemValue:on})},nc=Wt=>{ut(Wt),es(y?[...Wt].slice(nr,go):Wt),ht(Wt.length*_),re&&re(Wt)},Df=Wt=>{let Di=Math.floor(Wt/_),Ki=Math.max(0,Math.min(Math.min(Qe.length-tu,Di-10),Qe.length)),Bo=Math.min(Di+tu+10,Qe.length);Ki=Ki>=Bo?Math.max(0,Ki-tu):Ki,(Ki!=nr||Bo!=go)&&Y4e(Ki,Bo),Do(Ki),Dr(Bo)},M2=Wt=>{let oi=hi?cr:Qe,Di=1/oi.length,Ki=Math.floor(Wt/Di);Ki=Ki>=oi.length?oi.length-1:Ki;let Bo=Math.min(Ki+tu,oi.length);Do(Ki),Dr(Bo)},i8=(Wt,oi,Di)=>{window.clearTimeout(sS.current),window.clearTimeout(Ng.current),Ng.current=window.setTimeout(()=>{ie&&ie(oi,Di);let Ki=String(Di);R&&Ge.has(Ki)&&Ke(new Set([...(Ge.delete(Ki),Ge)]))})},o8=(Wt,oi,Di)=>{window.clearTimeout(T2.current),window.clearTimeout(sS.current),T2.current=window.setTimeout(()=>{de&&de(oi,Di);let Ki=String(Di);R&&Ke(new Set([Ki]))})},td=Wt=>{window.clearTimeout(sS.current),window.clearTimeout(T2.current),R&&Ke(new Set([]))},WF=(Wt,oi,Di)=>{window.clearTimeout(sS.current),sS.current=window.setTimeout(()=>{fe&&fe(oi,Di);let Ki=String(Di);R&&Ke(new Set([Ki]))})},iu=()=>{if(isNaN(ct)||ct<=0||a.length<=0)return a;let Wt=ct-(p?25:0)-(t8&&V?20:0)-(l?50:0);return a.forEach(oi=>{oi.width>1&&(Wt-=oi.width)}),a.map((oi,Di)=>{let Ki=Math.abs(oi.width)<=1?oi.width*Wt:oi.width;return oi={...oi,width:Ki},oi})},K1=(0,qo.useMemo)(()=>{if(isNaN(ct)||ct<=0||Cn.length<=0)return;let Wt=ct-(p?25:0)-(t8&&V?20:0)-(l?50:0);[...Cn].forEach(Ki=>{Ki.width>1&&dn&&(Wt-=Ki.width)});let oi=0;[...Cn].forEach(Ki=>{let Bo=Math.abs(Ki.width)<=1?Ki.width*Wt:Ki.width;oi+=Bo});let Di=oi+(p?25:0)+(t8&&V?20:0)+(l?50:0);return ot(Number(Di.toFixed(2))),(0,zm.jsxs)("colgroup",{children:[t8&&V&&(0,zm.jsx)("col",{width:20}),p&&(0,zm.jsx)("col",{width:25}),l&&(0,zm.jsx)("col",{width:50}),[...Cn].map(Ki=>{let Bo=Math.abs(Ki.width)<=1?Ki.width*Wt:Ki.width;return(0,zm.jsx)("col",{"data-col-id":Ki.key,width:Bo},Ki.key)})]})},[Cn,ct,p]),wie=(Wt,oi)=>{fa(Wt),oi&&Es.current&&Es.current&&Ag.current&&(C6.current.scrollLeft=0,Es.current.scrollLeft=0,Ag.current.scrollToLeft(0))},J4e=Ye("lc-table",{"lc-table--border":c}),r8=Ye("lc-table",{"lc-table--border":G4e}),Cie=Ye("lc-table-header",{"lc-table-header--fixed":m,"lc-table-header--border":G4e,hidden:!h}),n8=()=>{setTimeout(()=>{let Wt=e8.current.getElementsByClassName(Ye("lc-table-row--selected"))[0];Wt&&Wt.scrollIntoView({behavior:"smooth"})},200)},jR=Wt=>{setTimeout(()=>{let oi=e8.current.querySelector(`[data-content-rowindex="${Wt}"]`);oi&&oi.scrollIntoView({behavior:"smooth"})},200)},l9=()=>{let Wt=[...Ge].length;if(Wt>1&&Wt!==Qe.length)return De({type:"warn",msg:"Can only be moved by select a row"}),!0},lS=Wt=>{let oi=new Set,Di=Qe[Wt];oi.add(Di[o]),Ke(oi),oe==null||oe({...a3.current,selectedRowNumbers:[Wt],allSelectedRowIndexValues:oi,tableData:Qe,row:Di,clickObj:{e:null,rowNumber:Wt,clickCount:1}})},q4e=Gr(Wt=>{if(!d1.current.isMouseOver||Qe.length===0)return;let oi=Wt.code;switch(oi){case"ArrowDown":case"ArrowUp":Wt.preventDefault(),Wt.stopPropagation(),c9(oi,Wt.shiftKey);break;case"Home":case"End":Wt.preventDefault(),Wt.stopPropagation(),I0(oi);break;case"PageDown":case"PageUp":Wt.preventDefault(),Wt.stopPropagation(),Gce(oi);break;default:break}},100),c9=(Wt,oi)=>{O&&Yn(()=>{let Di=[...Ge].pop(),Ki=null;switch(Di?Ki=at(Di):Ki=0,Wt){case"ArrowDown":F&&oi&&Ge.size?sut(Ki):(a8(Ki),Ma(!1));break;case"ArrowUp":F&&oi&&Ge.size?lut(Ki):(m8e(Ki),Ma(!1));break;default:break}})},a8=Wt=>{Yn(()=>{if(l9())return;let oi=0;Wt+1!==Qe.length?oi=Wt+1:oi=0,lS(oi),Yce(oi)})},m8e=Wt=>{Yn(()=>{if(l9())return;let oi=0;Wt!==0?oi=Wt-1:oi=Qe.length-1,lS(oi),Yce(oi)})},sut=Wt=>{let oi=Qe.length,Di=Wt+1;if(Di===oi)return;let Bo=Qe[Wt][o],tn=Qe[Di][o],on=new Set(Ge);on.has(Bo)&&on.has(tn)?on.delete(Bo):on.add(tn),Ke(L0=>on),oe&&oe({...a3.current,selectedRowNumbers:Array.from(on).reduce((L0,Vu)=>(L0.push(Qe.findIndex(Rh=>Rh[o]===Vu)),L0),[]),allSelectedRowIndexValues:on,tableData:Qe,row:Qe[Di],isShift:!0}),Yce(Di)},lut=Wt=>{let oi=Wt,Di=Wt-1;if(Di<0)return;let Ki=Qe[oi][o],Bo=Qe[Di][o],tn=new Set(Ge);tn.has(Ki)&&tn.has(Bo)?tn.delete(Ki):tn.add(Bo),Ke(on=>tn),oe&&oe({...a3.current,selectedRowNumbers:Array.from(tn).reduce((on,L0)=>(on.push(Qe.findIndex(Vu=>Vu[o]===L0)),on),[]),allSelectedRowIndexValues:tn,tableData:Qe,row:Qe[Di],isShift:!0}),Yce(Di)},I0=Wt=>{Yn(()=>{switch(Wt){case"Home":Es.current.scrollTo({top:0,behavior:"smooth"}),x6();break;case"End":Es.current.scrollTo({top:Es.current.scrollHeight,behavior:"smooth"}),QF();break;default:break}})},Gce=Wt=>{Yn(()=>{let oi=Es.current.clientHeight,Di=Es.current.scrollTop,Ki=0,Bo=0,tn=0,on=Qe.length;switch(Wt){case"PageUp":if(Di===0){x6();return}Ki=Math.max(Di-oi,0),tn=Math.floor(Ki/_)+1,Bo=Math.max(1,Math.min(tn,on)),Es.current.scrollTo({top:Ki,behavior:"smooth"});break;case"PageDown":if(Ki=fi+oi,Ki>=rt){QF();return}Ki=Math.min(Di+oi,rt-oi),tn=Math.floor(Ki/_)+1,Bo=Math.max(1,Math.min(tn,on)),Es.current.scrollTo({top:Ki,behavior:"smooth"});break;default:break}Bo>=0&&Zt(Qe[Bo])})},x6=()=>{Qe.length!==0&&Zt(Qe[0])},QF=()=>{if(Qe.length===0)return;let Wt=Qe.length;Zt(Qe[Wt-1])},cut=Wt=>{let oi=(Wt+1)*_,Di=Es.current.scrollTop,Ki=Es.current.clientHeight,Bo=oi+_;return oi>Di&&Bo<Di+Ki},Yce=Wt=>{Yn(()=>{if(!cut(Wt)){let oi=(Wt+1)*_,Di=Es.current.clientHeight,Ki=oi-Di/2+_/2;Es.current.scrollTop=Ki,y?Df(Es.current.scrollTop):Es.current.scrollTo({top:Ki,behavior:"smooth"})}})},h8e=Gr(()=>{S!==Zp&&!Zp&&Ma(!0)},100);Gs("keyup",q4e),Gs("mousemove",h8e);let KF=(0,qo.useMemo)(()=>{if(n)return(n!=null?n:0)+(p?25:0)+(t8&&V?20:0)+(l?50:0)},[n]);(0,qo.useEffect)(()=>{pt<=ct&&(ui(0),Es.current&&(Es.current.scrollLeft=0),Es.current&&(C6.current.scrollLeft=0))},[pt]);let xie=(0,qo.useRef)(null),BR=()=>{let Wt=()=>{if(to(Es.current.scrollTop),e8.current){let{height:oi}=e8.current.getBoundingClientRect();if(oi>rt)if(i===rTe)ht(oi);else return}if(y&&no){let oi=rt-qi,Di=oi<0?1:oi,Ki=Es.current.scrollTop/Di;M2(Ki)}else y&&!no&&Df(Es.current.scrollTop);Re&&Re(rt,r,Es.current.scrollTop)};if(!xie.current){let oi=setTimeout(()=>{Wt(),xie.current=null},100);xie.current=oi}};return(0,zm.jsx)(qoe.Provider,{value:{tableName:i,tableWidth:ct,originalTableData:Qe,tableScrollHeight:rt,tableMaxHeight:qi,index:o,selectedRowIndexValue:Ge,selectedRowNumbers:M,editingRowNumbers:I,sortInfo:Qt,rowStartIndex:nr,heightLightStr:Pa,tableColumns:Cn,fixedLeftColumns:Ac,tableHeight:zt,openRowSelectedBgColor:x,openRowHoverBgColor:Zp,tableContainerRef:Kx,openHeadContentMenu:T,showCustomHeadSettingOnHeadContextmenu:k,isChangeSortStatus:P,clickObj:Ms,tableData:Sa,windowInstance:Be,checkedList:jt,tableHeadHeight:Ct,rowHeight:_,followHeightLight:Q,checkbox:p,isEnableDragSort:t8,showDragIcon:V,hasNumberCol:l,fixedColKeys:xp,resize:q,border:c,headerBorder:d,toSelectRow:Zt,triggerSort:so,checkedRow:Jo,setRowData:Nd,toFilter:Fe,setColumns:wie,setAllData:nc,onClickTable:Ri,onContextMenu:X,getSelectRowIndex:nt,getRowNumberByIndexVal:at,searchValueCB:Ne,onColSizeChange:Oe},children:(0,zm.jsxs)("div",{ref:Kx,style:{width:KF,...Te||ks},className:Ye("lc-table-container"),children:[(0,zm.jsx)("div",{ref:C6,className:Ye(`${Cie} lc-table-parent`),style:{height:Ct,paddingRight:rt>qi?"8px":0},children:(0,zm.jsxs)("table",{style:{width:pt||"",lineHeight:Ct-(c?2:0)+"px"},className:r8,border:0,cellSpacing:0,cellPadding:0,children:[K1,(0,zm.jsx)("thead",{children:(0,zm.jsxs)("tr",{children:[t8&&V&&(0,zm.jsx)("th",{style:{textAlign:"center",padding:0,width:Hwt,height:Ct-(c?2:0),borderTop:0,borderLeft:0,borderBottom:0,backgroundColor:"var(--common-bg-color)",position:"relative"},children:(0,zm.jsx)("div",{style:{position:"absolute",left:0,top:0,backgroundColor:"var(--common-bg-color)",width:"100%",height:"calc(100% + 2px)",transform:"translate3d(-1px, -1px, 5px)"}})}),p&&(0,zm.jsx)("th",{className:Ye({fixed:xp.length}),style:{textAlign:"center",padding:0,height:Ct-(c?2:0),backgroundColor:"var(--bg-color-1-table-row)",left:0,...ae},children:(0,zm.jsx)($p,{disabled:_i,defaultChecked:Ii,onChange:Us})}),l&&(0,zm.jsx)("th",{style:{height:Ct-(c?2:0)},children:ke("No.")}),a&&a.map(Wt=>(0,zm.jsx)(Qfi,{col:Wt,headerStyle:{...ae}},Wt.key))]})})]})}),!sa&&Sa.length>0?(0,zm.jsxs)("div",{ref:Es,className:Ye("lc-table-body lc-table-parent",{"lc-table-body--border":c}),style:{maxHeight:qi-(pt-ct>1?8+(c?1:0):0)+te,height:qi-(pt-ct>1?8+(c?1:0):0)+te},onScroll:BR,onMouseOver:()=>{d1.current.isMouseOver=!0,oV.isCursorInTable=!0},onMouseOut:()=>{d1.current.isMouseOver=!1,oV.isCursorInTable=!1},children:[(0,zm.jsx)("div",{style:{height:rt,position:"absolute",left:0,top:0,right:0,zIndex:-1}}),(0,zm.jsxs)("table",{style:{lineHeight:_-(c?1:0)+"px",width:pt||"",position:"relative",top:y&&no?fi:nr*_+"px",...Pe},ref:e8,className:J4e,border:0,cellSpacing:0,cellPadding:0,children:[K1,(0,zm.jsx)("tbody",{onMouseLeave:td,children:Sa.map((Wt,oi)=>(0,zm.jsx)($fi,{ri:y?nr+oi:oi,row:Wt,index:o,columns:a,checkbox:p,number:l,stockade:u,border:c,isEnableDragSort:t8,showDragIcon:V,isOnlyHighlightText:N,isMouseOver:d1.current.isMouseOver,useRowComponentStateOnRowSelected:G,highLightRegexpFn:Ue,onRowMouseLeave:i8,onRowMouseEnter:o8,onRowMouseMove:WF,onToggleExpand:ye},Wt[o]))})]})]}):A&&(0,zm.jsx)("div",{className:Ye("tips-wrap"),"data-test":D||"No Data!",children:D||ke("No Data!")}),Sa.length>0&&xp.length>0&&$t>0&&(0,zm.jsx)("div",{className:Ye("shadow"),style:{left:a0-3}}),pt-ct>1&&Z&&(0,zm.jsx)(Jhi,{ref:Ag,baseWidth:ct,maxWidth:pt,windowInstance:Be,baseBottom:K,onChangLeft:(Wt,oi)=>{let Di=oi*(pt-ct);ui(Di),Es.current&&(Es.current.scrollLeft=Di),C6.current&&(C6.current.scrollLeft=Di)}})]})})},xi=qo.default.memo((0,qo.forwardRef)(Ehr));var Zwt=L(tgi());var ngi=L(Se());var Wwt=L(ogi()),Y6=L(z()),{locals:Ahr}=Wwt.default,{label:rgi,option_area:Nhr,option_block:khr}=Ahr;function agi(t,e){let i=Rr,o="property_scope",r={};function n(a){r=a}le.open({id:o,title:i("Scope"),width:626,hasBorder:!0,children:(0,Y6.jsx)(jhr,{data:t,setProps:n}),footer:!0,esc:!0,onOk:()=>{let a;Ywt(r)?a="Common":a=Rhr(r),e(a),le.close(o)},onCancel:()=>{le.close(o)}})}var fv=["ComponentSymbol","NetFlag","NetPort","OffPageConnector","DiffPairsFlag","BlockSymbol","DrawingSymbol","NoneElecSymbol","Wire/Bus","Pin","Footprint","Device","Pad"],JRe={DrawingSymbol:"Drawing Symbol",SheetSymbol:"Drawing Symbol",BlockSymbol:"Block Symbol",NetFlag:"Netflag Symbol",ComponentSymbol:"Component Symbol",NoneElecSymbol:"Non-Electronic Symbol",NetPort:"Netport Symbol",OffPageConnector:"Off Page Connector Symbol",DiffPairsFlag:"Differential Pairs Flag Symbol"},Phr=iA(JRe);function Ohr(t){t==="All"||t==="Common"?t="Common":t=t.split(",").map(i=>Phr[i]||i);let e={};for(let i=0;i<fv.length;i++){if(t==="Common"){e[fv[i]]=!0;continue}t.includes(fv[i])?e[fv[i]]=!0:e[fv[i]]=!1}return e}function Rhr(t){let e=[];for(let i of Object.keys(t||{}))t[i]&&e.push(i);return e.join(",")}function Ywt(t){for(let e of Object.keys(t||{}))if(!t[e])return!1;return!0}function _hr(t,e){for(let i of Object.keys(t||{}))t[i]=e}var jhr=t=>{let{data:e,setProps:i}=t,o=J();Ae(Wwt.default);let r=Ohr(e),[n,a]=(0,ngi.useState)(r);i(n);let s=()=>{let l=[];for(let c=0;c<fv.length;c++)l.push((0,Y6.jsxs)("div",{className:khr,children:[(0,Y6.jsx)(qt,{id:fv[c],defaultChecked:n[fv[c]],onChange:(d,u)=>{n[fv[c]]=d,a({...n})}},n[fv[c]]?0:1),(0,Y6.jsx)("label",{className:rgi,htmlFor:fv[c],children:o(JRe[fv[c]]||fv[c])})]}));return l};return(0,Y6.jsxs)(Y6.Fragment,{children:[(0,Y6.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,Y6.jsx)("span",{children:o("Please select the object to be used:")}),(0,Y6.jsx)(qt,{id:"Common",defaultChecked:Ywt(n),onChange:(l,c)=>{_hr(n,l),a({...n})}},Ywt(n)?0:1),(0,Y6.jsx)("label",{className:rgi,htmlFor:"Common",children:o("All")})]}),(0,Y6.jsx)("div",{className:Nhr,children:s()})]})};var oP=L(Se());var ugi=L(Se());var Kwt=L(lgi()),ST=L(z()),{locals:Bhr}=Kwt.default,{title:Qwt,status:zhr,label:cgi,item:dgi}=Bhr;function pgi(t,e){let i=Rr,o="property_show_status",r={};function n(a){r=a}le.open({id:o,title:i("Display in Canvas"),width:398,children:(0,ST.jsx)(Vhr,{data:t,setProps:n},t),footer:!0,esc:!0,onOk:()=>{e(Uhr(r)),le.close(o)},onCancel:()=>{le.close(o)}})}function Fhr(t){let e={sch:{name:!1,value:!1},pcb:{name:!1,value:!1}};if(t==="All")e.sch.name=!0,e.sch.value=!0,e.pcb.name=!0,e.pcb.value=!0;else if(t!=="Default"){let i=t.split(",");for(let o=0;o<i.length;o++)i[o].includes("Schematic")&&(i[o].includes("Name")&&(e.sch.name=!0),i[o].includes("Value")&&(e.sch.value=!0)),i[o].includes("PCB")&&(i[o].includes("Name")&&(e.pcb.name=!0),i[o].includes("Value")&&(e.pcb.value=!0))}return e}function Uhr(t){let{sch:e,pcb:i}=t;if(!e.name&&!e.value&&!i.name&&!i.value)return{showStatus:"Default",show_status:{sch:[0,0],pcb:[0,0]}};if(e.name&&e.value&&i.name&&i.value)return{showStatus:"All",show_status:{sch:[1,1],pcb:[1,1]}};{let r=[],n={sch:[0,0],pcb:[0,0]};if(e.name||e.value){let a="";a+="Schematic";let{showStatus:s,show_status:l}=o(e);a+=s,r.push(a),n.sch=l}if(i.name||i.value){let a="";a+="PCB";let{showStatus:s,show_status:l}=o(i);a+=s,r.push(a),n.pcb=l}return{showStatus:r.join(","),show_status:n}}function o(r){let{name:n,value:a}=r;if(n&&a)return{showStatus:"(Name|Value)",show_status:[1,1]};if(n&&!a)return{showStatus:"(Name)",show_status:[1,0]};if(!n&&a)return{showStatus:"(Value)",show_status:[0,1]}}}var Vhr=t=>{let{data:e,setProps:i}=t,[o,r]=(0,ugi.useState)(Fhr(e));i(o);let n=J();Ae(Kwt.default);function a(s){return(0,ST.jsxs)("div",{className:zhr,children:[(0,ST.jsxs)("div",{className:dgi,children:[(0,ST.jsx)(qt,{dataTest:"Display property name",id:s+"name",defaultChecked:o[s].name,onChange:(l,c)=>{o[s].name=l,r({...o})}},o[s].name?0:1),(0,ST.jsx)("label",{"data-test":"Display property name",className:cgi,htmlFor:s+"name",children:n("Display property name")})]}),(0,ST.jsxs)("div",{className:dgi,children:[(0,ST.jsx)(qt,{dataTest:"Display property value",id:s+"value",defaultChecked:o[s].value,onChange:(l,c)=>{o[s].value=l,r({...o})}},o[s].value?0:1),(0,ST.jsx)("label",{"data-test":"Display property value",className:cgi,htmlFor:s+"value",children:n("Display property value")})]})]})}return(0,ST.jsxs)(ST.Fragment,{children:[(0,ST.jsx)("div",{"data-test":"Please select the situation as you want",className:Qwt,children:n("Please select the situation as you want")}),(0,ST.jsxs)("div",{"data-test":"Placing device in the schematic page",className:Qwt,children:[n("Placing device in the schematic page"),a("sch")]}),(0,ST.jsxs)("div",{"data-test":"Placing device in the PCB",className:Qwt,children:[n("Placing device in the PCB"),a("pcb")]})]})};var lpe=L(z()),{locals:Hhr}=Zwt.default,{disabled_cell:VHn}=Hhr,mgi=t=>{let e=we.PROPERTY.PROPERTY,i=we.PROPERTY.OBJECT,o=we.PROPERTY.DISPLAY_IN_CANVAS,{data:r,onChange:n}=t,a=J();Ae(Zwt.default);let[s,l]=(0,oP.useState)(b(r)),[c,d]=(0,oP.useState)(-1),[u,p]=(0,oP.useState)(-1),[m,h]=(0,oP.useState)(null);(0,oP.useEffect)(()=>{l(b(r))},[r]);let f=(0,oP.useRef)(null),g=(0,oP.useMemo)(()=>[{key:"property",name:a(e),width:.3,onCell:(x,S)=>{let{type:T}=x;return T==="system"?{style:{background:"var(--bg-color-1-table-row)",color:c===S?"":"#bfbfbf"}}:{style:{background:"",color:""}}},render:x=>{let{editingRowNumbers:S,clickObj:T,colKey:M,rowNumber:I,tableData:A,row:D}=x;if(M==="property"&&m==="property"&&S.includes(I)&&D.type!=="system"&&s.length===A.length)return(0,lpe.jsx)(Kt,{enterTriggerBlur:!0,selected:!0,defaultValue:D.property,onBlur:E=>{let N=E.target.value.trim();/\./.test(N)&&(De({type:"warn",msg:"\u5C5E\u6027\u540D\u4E0D\u80FD\u542B\u6709\u201C.\u201D"}),N=D.property||""),N.length>32&&(N=N.slice(0,32)),w(A,N)}})}},{key:"object",name:a(i),width:.4,onCell:(x,S)=>{let{type:T}=x;return T==="system"?{style:{background:"var(--bg-color-1-table-row)",color:c===S?"":"#bfbfbf"}}:{style:{background:"",color:""}}}},{key:"showStatus",name:a(o),width:.3}],[m,u,c]);function b(x){let S=[];for(let T=0;T<x.length;T++)x[T].showStatus||(x[T].showStatus="Default"),S.push({id:String(T),property:x[T].type==="system"?a({value:x[T].property,context:"system-property"}):ue.htmlDecode(x[T].property),object:XRe(x[T].object,a),showStatus:$Re(x[T].showStatus,a),type:x[T].type,data:x[T]});return S}function y(x,S,T){let M=ue.deepClone(x);M.splice(S,1);let I=new Set(M.filter(A=>A.type!=="system").map(A=>A.property));return Ghr(T)?(De({type:"warn",msg:{value:'"{value}" is a system-level attribute and cannot be added',options:{value:T}}}),!1):I.has(T)?(De({type:"warn",msg:{value:'"{0}" Already exists, cannot be added',options:{0:T}}}),!1):!0}function w(x,S){if(!S.trim())s.splice(u,1),l([...s]);else if(y(x,u,S)){if(S!==s[u].property){x[u].property=S,x[u].data.property=S;let T=[...x.filter(M=>M.property)];l(T),n("property",JSON.stringify(T.map(M=>M.data)))}}else s[u].property?l([...s]):(s.splice(u,1),l([...s]));p(-1)}return(0,lpe.jsxs)("div",{children:[(0,lpe.jsx)(ec,{addButton:!0,deleteButton:!0,upButton:!1,downButton:!1,deleteDisabled:c<0||c>=s.length||s[c].type==="system",onClick:x=>{x==="add"?(u>=0&&u<s.length&&(p(-1),s[u].property||s.splice(u,1)),s.unshift({id:String(Math.random()),property:"",object:a("All"),showStatus:a("Default"),type:"custom",data:{property:"",object:"Common",showStatus:"Default",type:"custom"}}),l([...s]),p(0),d(-1),h("property"),f.current.scrollRowIntoView(0)):x==="delete"&&s[c].type!=="system"&&(s.splice(c,1),l([...s]),n("property",JSON.stringify(s.map(S=>S.data))))}}),(0,lpe.jsx)(xi,{ref:f,selectedRowNumbers:[c],editingRowNumbers:[u],onChange:x=>{if(!x[u].property.trim())s.splice(u,1),l([...s]);else if(y(x,u,x[u].property.trim())){if(x[u].property!==s[u].property){x[u].data.property=x[u].property;let S=[...x.filter(T=>T.property)];l(S),n("property",JSON.stringify(S.map(T=>T.data)))}}else s[u].property?(x[u].property=s[u].property,l([...s])):(s.splice(u,1),l([...s]));p(-1)},onClick:x=>{let{clickObj:S,row:T}=x;S.clickCount==1?(S.rowNumber!==u&&u>=0&&u<s.length&&p(-1),d(S.rowNumber)):S.clickCount==2&&(T.type!=="system"||S.colKey==="showStatus")&&(S.colKey==="object"?(agi(T.data.object,M=>{s[S.rowNumber].data.object!=M&&(s[S.rowNumber].data.object=M,s[S.rowNumber].object=XRe(M,a),l([...s]),n("property",JSON.stringify(s.map(I=>I.data))))}),p(-1),h("object")):S.colKey==="showStatus"?(pgi(s[S.rowNumber].data.showStatus,M=>{let{showStatus:I,show_status:A}=M;s[S.rowNumber].data.showStatus!==I&&(s[S.rowNumber].data.showStatus=I,s[S.rowNumber].showStatus=$Re(I,a),s[S.rowNumber].data.show_status&&(s[S.rowNumber].data.show_status=A),l([...s]),n("property",JSON.stringify(s.map(D=>D.data))))}),p(-1),h("showStatus")):S.colKey==="property"&&(p(S.rowNumber),h("property")))},height:461,index:"id",columns:g,rows:s,stockade:!0,border:!0})]})};function e_e(){var e,i,o;let t=JSON.parse(((o=(i=(e=C.profileSetting)==null?void 0:e.commSystemSetting)==null?void 0:i.PROPERTY)==null?void 0:o.property)||"[]");return new Set(t.filter(r=>r.type==="custom").map(r=>r.property))}function Ghr(t){for(let o of C.ToolAttrs){let r=me.i18n(o,void 0,"en");if(me.i18n(o,void 0,"zh-hans")===t||r===t||o.toLowerCase()===t.toLowerCase())return!0}let i=[{property:"3D Model"},{property:"Add into BOM"},{property:"Convert to PCB"},{property:"Unique ID"},{property:"Part Name"},{property:"PCB Layer"}].concat(C.systemAttrs);for(let o of i)if(t.toLowerCase().replace(/\s+/g," ")===o.property.toLowerCase().replace(/\s+/g," ")||t.trim()===o.property.trim()||me.i18n(t)===me.i18n(o.property))return!0;return!1}function XRe(t,e){return t==="Common"?e("All"):t.split(",").map(i=>e(JRe[i]||i)).join(",")}function $Re(t="Default",e){return t.split(",").map(i=>(i=e(i),i.includes("|")&&(i=i.replace("|",", "),i=i.replace("Name",e("Name")),i=i.replace("Value",e("Value"))),i)).join(",")}var u_e=L(Se());var wgi=L(Hr()),W6=L(Se());var Jwt=class extends qe{constructor(){super(...arguments);this.domCount=0;this.color={};this.change={};this.curColorPickerId="";this.option={};this.resetValue={};this.defaultValue={};this.allowNone={};this.inputTempVal=""}setAllowNone(i,o){let r=this.allowNone;r[i]=o,this.allowNone=r,this.notify()}setDefaultValue(i,o){let r=this.defaultValue;r[i]=o,this.defaultValue=r,this.notify()}setOption(i,o){let r=this.option;r[i]=o,this.option=r,this.notify()}setCurColorPickerId(i){this.curColorPickerId!==i&&(this.curColorPickerId=i,this.notify())}setColor(i,o){let r=this.color;r[i]=o,this.color=r,this.notify()}onChange(i,o){let r=this.change;r[i]=o,this.change=r,this.notify()}setDomCount(i){i!==this.domCount&&(this.domCount=i,this.notify())}},Wu=new Jwt;var rP=L(Se());var hgi=[_e.HEX_BLACK_COLOR,_e.HEX_BLACK_COLOR,_e.HEX_BLACK_COLOR,_e.HEX_BLACK_COLOR,"#003300","#006600","#009900","#00CC00",_e.HEX_GREEN_COLOR,"#330000","#333300","#336600","#339900","#33CC00","#33FF00","#660000","#663300","#666600","#669900","#66CC00","#66FF00",_e.HEX_BLACK_COLOR,_e.HEX_GRAY_COLOR5,_e.HEX_BLACK_COLOR,"#000033","#003333","#006633","#009933","#00CC33","#00FF33","#330033",_e.HEX_GRAY_COLOR5,"#336633","#339933","#33CC33","#33FF33","#660033","#663333","#666633","#669933","#66CC33","#66FF33",_e.HEX_BLACK_COLOR,_e.HEX_GRAY_COLOR4,_e.HEX_BLACK_COLOR,"#000066","#003366","#006666","#009966","#00CC66","#00FF66","#330066","#333366","#336666","#339966","#33CC66","#33FF66","#660066","#663366",_e.HEX_GRAY_COLOR4,"#669966","#66CC66","#66FF66",_e.HEX_BLACK_COLOR,_e.HEX_GRAY_COLOR3,_e.HEX_BLACK_COLOR,"#000099","#003399","#006699","#009999","#00CC99","#00FF99","#330099","#333399","#336699","#339999","#33CC99","#33FF99","#660099","#663399","#666699","#669999","#66CC99","#66FF99",_e.HEX_BLACK_COLOR,_e.HEX_GRAY_COLOR6,_e.HEX_BLACK_COLOR,"#0000CC","#0033CC","#0066CC","#0099CC","#00CCCC","#00FFCC","#3300CC","#3333CC","#3366CC","#3399CC","#33CCCC","#33FFCC","#6600CC","#6633CC","#6666CC","#6699CC","#66CCCC","#66FFCC",_e.HEX_BLACK_COLOR,_e.HEX_WHITE_COLOR,_e.HEX_BLACK_COLOR,_e.HEX_BLUE_COLOR,"#0033FF","#0066FF","#0099FF","#00CCFF","#00FFFF","#3300FF","#3333FF","#3366FF","#3399FF","#33CCFF","#33FFFF","#6600FF","#6633FF","#6666FF","#6699FF","#66CCFF","#66FFFF",_e.HEX_BLACK_COLOR,"#FF0000",_e.HEX_BLACK_COLOR,"#990000","#993300","#996600","#999900","#99CC00","#99FF00","#CC0000","#CC3300","#CC6600","#CC9900","#CCCC00","#CCFF00","#FF0000","#FF3300","#FF6600","#FF9900","#FFCC00","#FFFF00",_e.HEX_BLACK_COLOR,_e.HEX_GREEN_COLOR,_e.HEX_BLACK_COLOR,"#990033","#993333","#996633","#999933","#99CC33","#99FF33","#CC0033","#CC3333","#CC6633","#CC9933","#CCCC33","#CCFF33","#FF0033","#FF3333","#FF6633","#FF9933","#FFCC33","#FFFF33",_e.HEX_BLACK_COLOR,_e.HEX_BLUE_COLOR,_e.HEX_BLACK_COLOR,"#990066","#993366","#996666","#999966","#99CC66","#99FF66","#CC0066","#CC3366","#CC6666","#CC9966","#CCCC66","#CCFF66","#FF0066","#FF3366","#FF6666","#FF9966","#FFCC66","#FFFF66",_e.HEX_BLACK_COLOR,"#FFFF00",_e.HEX_BLACK_COLOR,"#990099","#993399","#996699",_e.HEX_GRAY_COLOR3,"#99CC99","#99FF99","#CC0099","#CC3399","#CC6699","#CC9999","#CCCC99","#CCFF99","#FF0099","#FF3399","#FF6699","#FF9999","#FFCC99","#FFFF99",_e.HEX_BLACK_COLOR,"#00FFFF",_e.HEX_BLACK_COLOR,"#9900CC","#9933CC","#9966CC","#9999CC","#99CCCC","#99FFCC","#CC00CC","#CC33CC","#CC66CC","#CC99CC",_e.HEX_GRAY_COLOR6,"#CCFFCC","#FF00CC","#FF33CC","#FF66CC","#FF99CC","#FFCCCC","#FFFFCC",_e.HEX_BLACK_COLOR,"#FF00FF",_e.HEX_BLACK_COLOR,"#9900FF","#9933FF","#9966FF","#9999FF","#99CCFF","#99FFFF","#CC00FF","#CC33FF","#CC66FF","#CC99FF","#CCCCFF","#CCFFFF","#FF00FF","#FF33FF","#FF66FF","#FF99FF","#FFCCFF",_e.HEX_WHITE_COLOR];var ggi=L(t_e());var MT=L(z()),Yhr=()=>{var w;Ce(Wu);let t=J(),e=be.bind(ggi.default.locals),i=(0,rP.useRef)(null),{window:o}=(0,rP.useContext)(_r),r=(0,rP.useRef)(null),n=/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/,[a,s]=(0,rP.useState)(""),{color:l,curColorPickerId:c,option:d,defaultValue:u,allowNone:p}=Wu;(0,rP.useEffect)(()=>{y(u[c])},[u[c]]),(0,rP.useEffect)(()=>{n.test(a)?r.current.style.backgroundColor=a:r.current.style.backgroundColor=""},[a]),(0,rP.useEffect)(()=>{if(l[c]){let x=l[c];y(n.test(x)?x:u[c]||"")}else{let x=u[c]||"";y(x)}},[c]);let m=()=>{Wu.inputTempVal="";let x=o.document.getElementById(DS);x&&(x.style.opacity="0",x.style.zIndex="-1",x.style.pointerEvents="none")},h=x=>{let S=x!==void 0?x:a;Wu.setColor(c,S),Wu.setDefaultValue(c,S),y(S),m()},f=()=>{m()},g=()=>{Wu.setColor(c,null),Wu.setDefaultValue(c,null),y(null),m()};function b(x){return x?x=="none"?x:x.toUpperCase():""}function y(x){s(b(x))}return(0,MT.jsxs)(MT.Fragment,{children:[(0,MT.jsxs)("div",{className:e("color-picker-header"),children:[(0,MT.jsxs)("div",{className:e("left"),children:[(0,MT.jsx)("div",{ref:r,className:e("show")}),(0,MT.jsx)("input",{ref:i,"data-input":"color-picker-input",maxLength:7,className:e("value"),type:"text",value:a,onFocus:x=>{x.target.setAttribute("oldval",a),setTimeout(()=>{x.target.select()})},onChange:x=>{if(x.target.value.startsWith("#"))Wu.inputTempVal=x.target.value,y(x.target.value);else{let S="#"+x.target.value;Wu.inputTempVal=S,y(S)}},onBlur:x=>{let S=n.test(a)?a:x.target.getAttribute("oldval");S=S==="null"?"":S,y(S)},onKeyUp:x=>{["Enter","NumpadEnter"].includes(x.code)&&(n.test(a)?h():De({msg:"Invalid color value",type:"error"}))}}),(0,MT.jsx)("div",{title:"none",className:e("none",{hidden:!p[c]}),onClick:()=>{h("none")}}),(0,MT.jsx)("div",{className:e("default",{hidden:!d[c]}),onClick:g,children:t((w=d[c])==null?void 0:w.text)})]}),(0,MT.jsxs)("div",{className:e("right"),children:[(0,MT.jsx)("i",{className:e("confirm"),onClick:()=>{n.test(a)?h():De({msg:"Invalid color value",type:"error"})}}),(0,MT.jsx)("i",{className:e("cancel"),onClick:f})]})]}),(0,MT.jsx)("div",{className:e("color-picker-body"),onMouseLeave:x=>{let S=o.document.getElementById(DS);if(getComputedStyle(S).opacity==="0")y(l[c]);else{i.current.blur();let M=Wu.inputTempVal||u[c]||"";y(M)}},children:hgi.map((x,S)=>(0,MT.jsx)("div",{className:e("color-picker-body-item",{border:x===a}),style:{backgroundColor:x},onMouseEnter:()=>y(x),onClick:()=>h()},S))})]})},i_e=Yhr;var bgi=252,ygi=174,o_e=2;function r_e(t,e){let i=t.document.getElementById(DS),{top:o,bottom:r,left:n,right:a}=e,s=t.document.body.offsetHeight-r>ygi+o_e,l=t.document.body.offsetWidth-n>bgi+o_e,c=s?r+o_e:o-o_e-ygi,d=l?n:a-bgi;i.style.top=c+"px",i.style.left=d+"px",i.style.opacity="1",i.style.zIndex="20000",i.style.pointerEvents="auto",setTimeout(()=>{let u=i.querySelector('[data-input="color-picker-input"]');u==null||u.select()})}var qwt=L(t_e()),n_e=L(z()),DS="colorPicker";function Cgi({style:t,defaultValue:e,option:i,allowNone:o,onChange:r,disabled:n,target:a},s){Ae(qwt.default),Ce(Wu),Ce(uoe);let l=be.bind(qwt.default.locals),{window:c}=(0,W6.useContext)(_r),d=(0,W6.useRef)(null),u=(0,W6.useMemo)(()=>a||d,[a]),{domCount:p,color:m,curColorPickerId:h}=Wu,f=(0,W6.useMemo)(()=>{let S=++p;return Wu.setDomCount(S),DS+"_"+S},[]);(0,W6.useImperativeHandle)(s,()=>({click:g})),(0,W6.useEffect)(()=>{let S;return d.current&&(S=new IntersectionObserver(T=>{T[0].isIntersecting||y()},{threshold:.2}),S.observe(d.current)),()=>{S.disconnect(),y()}},[d.current]),(0,W6.useEffect)(()=>{Wu.setOption(f,i||null),Wu.setDefaultValue(f,e||null),Wu.setAllowNone(f,o)},[f,e]),(0,W6.useEffect)(()=>{!Object.is(m[f],void 0)&&(r==null||r(m[f]||null))},[m[f]]),(0,W6.useEffect)(()=>{uoe.val&&w(uoe.val)},[uoe.val]);let g=()=>{if(!n)if(Wu.setCurColorPickerId(f),c.document.getElementById(DS))b();else{let S=c.document.createElement("div");S.id=DS,S.classList.add(l("color-picker")),c.document.body.appendChild(S),wgi.default.createRoot(S).render((0,n_e.jsx)(_r.Provider,{value:c,children:(0,n_e.jsx)(i_e,{})})),b()}},b=()=>{r_e(c,u.current.getBoundingClientRect())},y=()=>{Wu.inputTempVal="";let S=c.document.getElementById(DS);S&&(S.style.opacity="0",S.style.zIndex="-1",S.style.pointerEvents="none")},w=S=>{let T=c.document.getElementById(DS);T&&u.current&&f===h&&!T.contains(S.target)&&!u.current.contains(S.target)&&y()};Gs("click",w),Gs("click",S=>{rue(S.target,u.current)&&g()}),Bt(()=>{y()}).key("canvasMousedownEvent");let x=m[f]||e;return(0,n_e.jsx)("input",{readOnly:!0,disabled:n,ref:d,style:{backgroundColor:x==="none"?"":x,...t},className:l("color-button",{option:!m[f]&&!e&&i})})}var a_e=L(Se()),Q6=a_e.default.memo((0,a_e.forwardRef)(Cgi));var l_e=L(Se());var Tgi=L(Xwt()),gv=L(z());function Sgi(t){return le.open({id:t.id,title:t.title,width:300,height:150,children:(0,gv.jsx)(Whr,{...t})})}function Whr(t){let e=be.bind(Tgi.default.locals),i=t.t,[o,r]=(0,l_e.useState)(t.lineStyle),n=async s=>{s==="confirm"&&t.onChange(o),le.close()},a=(0,l_e.useMemo)(()=>{let s=[{value:"solid",text:"Solid"},{value:"dotted",text:"Dotted"}];return t.isPour&&s.push({value:"none",text:"None"}),s},[t.isPour]);return(0,gv.jsxs)("div",{className:e("border-style"),children:[(0,gv.jsx)("div",{className:e("has-border"),children:(0,gv.jsxs)("div",{className:e("font-item clear"),children:[(0,gv.jsx)("div",{className:e("left txt_title"),children:(0,gv.jsx)("span",{"data-test":"Border Line Style:",children:i("Border Line Style:")})}),(0,gv.jsx)("div",{className:e("left txt_value"),style:{flex:1},children:(0,gv.jsx)(xt,{list:a,value:o,onChange:s=>{r(s)}})})]})}),(0,gv.jsxs)("div",{className:e("dialog-button"),children:[(0,gv.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>n("confirm"),children:"Confirm"}),(0,gv.jsx)(Me,{onClick:()=>n("cancel"),children:"Cancel"})]})]})}var Igi=L(d_e());var nP=L(z()),p_e="Follow Layer",m_e="Default";function Lgi(t){let e=be.bind(Igi.default.locals),i=J(),r=(0,u_e.useContext)(Ea).pcbThemeAppStore,n=r.canvasPrimitiveStore;Ce(n);let a=n.initColumns(i,p=>{let m=p.colKey,h=p.cellData;if(!h)return l();let f=p.row.index;return m==="color"?c(f,h):m==="borderColor"?c(f,h,!0):m==="transparency"?d(f,h):m==="borderStyle"?u(f,h,f=="copperRegion"||f=="partition"||f=="boardShape"):(0,nP.jsx)("span",{children:h.value||""})}),s=n.rows;return(0,nP.jsx)("div",{className:e("canvas-primitive-content"),children:(0,nP.jsx)(xi,{index:"index",width:780,height:475,columns:a,rows:s,border:!0,openRowSelectedBgColor:!1})});function l(){return(0,nP.jsx)("div",{className:e("cell-disabled")})}function c(p,m,h=!1){var A,D;let g=m.value||"",b=!1,y=!1,w="";m.tag==="followLayerId"?(b=!0,w=p_e):m.tag==="default"&&(y=!0,w=m_e),w=w?i(w):g;let x=Object.is(void 0,m.tagValue)?"-1":m.tagValue,S=b||y?"":g,T=(0,u_e.useRef)(null),M=h?(A=hoe[p])==null?void 0:A.borderColor:(D=hoe[p])==null?void 0:D.color,I=g;return M&&(M.tag==="followLayerId"||M.tag==="default"?I="":I=M.value),(0,nP.jsxs)("div",{className:e("cell-item"),onClick:E=>{var N;(N=T.current)==null||N.click(),E.stopPropagation()},children:[(0,nP.jsx)(Q6,{ref:T,defaultValue:S,option:{text:me.i18n("Default"),value:g,resetValue:I},allowNone:!1,onChange:E=>{let N=E,R=!N||!(N+"").startsWith("#");R&&(N=x||"");let v=r.getCanvasPrimitiveRowData(p);if(!v)return;let k=h?v.borderColor:v.color;k.value=N,R?E==null?k.tag="default":N.startsWith("#")?k.tag="default":k.tag="followLayerId":k.tag="",t.onUpdate(),n.notify()}},S),(0,nP.jsx)("div",{className:e("text"),children:w})]})}function d(p,m){let h=li.toFixed(parseFloat(m.value)*100||0,2).toString();return(0,nP.jsx)(Kt,{type:"number",defaultValue:h.toString(),value:h,style:{border:"none",marginLeft:"-10px",width:"100%",backgroundColor:"var(--bg-color-table-row)"},onChange:f=>{let g=+f;isNaN(g)||g<0?g=0:g>100&&(g=100);let b=r.getCanvasPrimitiveRowData(p);if(!b)return;let y=b.transparency;y&&(y.value=(g/100).toString(),t.onUpdate(),n.notify())}})}function u(p,m,h=!1){let f=m.value,g=H9e[f];return(0,nP.jsx)("div",{className:e("cell-item"),"data-test":g,onClick:()=>{Sgi({id:"setThemeBorderStyle",title:"Border Line Style",lineStyle:f,t:i,isPour:h||!1,onChange:b=>{let y=r.getCanvasPrimitiveRowData(p);if(!y)return;let w=y.borderStyle;w&&b!=w.value&&(w.value=b,t.onUpdate(),n.notify())}})},children:i(g)})}}var h_e=class extends qe{constructor(){super(...arguments);this._layerSetting=[];this.defaultSettingLen=c_.length;this.changedIndex=new Set;this.deactiveColorAlpha=1;this._rows=[];this.hasChanged=!1;this.notifyIndex=0}get rows(){return this._rows}set rows(i){this._rows=i,this.notify()}updateRows(i,o,r,n=!0){if(n&&(this.changedIndex=new Set,this.hasChanged=!1),this._layerSetting=i,i.length==0){this.rows=[],this.selectName="",this.notify();return}let a=[],s=null;i.forEach(c=>{a.push(c.name),(c.name===o||!s&&c.name===r)&&(s=c.list)}),this.names=a,a.includes(o)||(o=r),s||(o=i[0].name,s=i[0].list),this.selectName=o;let l=[];s.forEach((c,d)=>{var u;d==0&&(this.deactiveColorAlpha=c.deactiveColorAlpha),l.push({index:d,layerName:c.layerName,layerType:c.layerType,activeColor:(u=c.activeColor)==null?void 0:u.toUpperCase(),activeColorAlpha:c.activeColorAlpha})}),this.rows=l}initColumns(i,o){return[{key:"layerName",width:.25,name:i("Layer"),ellipsis:!0,i18n:!0,render:o},{key:"layerType",width:.25,name:i("Type"),ellipsis:!0,render:o},{key:"activeColor",width:.25,name:i("Color"),ellipsis:!0,render:o},{key:"activeColorAlpha",width:.25,name:i("Transparency(%)"),ellipsis:!0,render:o}]}getLayerOptions(){let i=[],o={borderTop:"1px solid var(--border-color-panel-divider)"},r="* ";this.names.forEach((s,l)=>{let c=this.changedIndex.has(l),d=s;i.push({value:s,text:c?r+me.i18n(d):d,disabled:!1,style:l===this.defaultSettingLen?o:void 0})});let a=this.names.indexOf(this.selectName)<this.defaultSettingLen;return i.push({value:"save-as-config",text:"Save As Config...",style:o}),i.push({value:"renameConfig",text:"Rename Config...",disabled:a}),i.push({value:"save-config",text:"Save Config",disabled:a||!this.changedIndex.has(this.names.indexOf(this.selectName))}),i.push({value:"delete-config",text:"Delete Config",disabled:a}),i}getSwitchOption(i){let o=this.names.indexOf(i);if(o>=0)return o<this.defaultSettingLen?{type:"default",value:i}:{type:"custom",value:i};{let r=i;if(r)return{type:"call",value:r}}}getCustomSize(){return this.names.length-this.defaultSettingLen}getLayerRowData(){return this._layerSetting[this.names.indexOf(this.selectName)]}notify(){super.notify(),this.notifyIndex++}onChange(){let i=this.names.indexOf(this.selectName);this.changedIndex.has(i)||(this.changedIndex.add(i),this.changedIndex=new Set(this.changedIndex))}};function f_e(t,e){try{let i=e({context:"pcb-layers",value:t});if(/^Inner(.*)/i.test(t)){let o=/^Inner(.*)/i.exec(t);i=e({context:"pcb-layers",value:we.PCB_FOOTPRINT.PCB_THEME.INNER})+o[1]}return i}catch{return t}}function qhr(t){return["SIGNAL","PLANE"].includes(t)}function g_e(t,e){let i="";if(qhr(t))i=t=="SIGNAL"?e({context:"pcb-layers",value:"Signal"}):e({context:"pcb-layers",value:"Plane"});else switch(t){case"SIGNAL":case"TOP":case"BOTTOM":i=e({context:"pcb-layers",value:"Signal"});break;case"TOP_SILK":case"BOT_SILK":i=e({context:"pcb-layers",value:"Silk Layer"});break;case"TOP_SOLDER_MASK":case"BOT_SOLDER_MASK":i=e({context:"pcb-layers",value:"SolderMask Layer"});break;case"TOP_PASTE_MASK":case"BOT_PASTE_MASK":i=e({context:"pcb-layers",value:"PasteMask Layer"});break;case"TOP_ASSEMBLY":case"BOT_ASSEMBLY":i=e({context:"pcb-layers",value:"Assembly"});break;case"CUSTOM":i=e({context:"pcb-layers",value:"Custom Layer"});break;default:i=e({context:"pcb-layers",value:"Other"})}return i}var aP=L(Se());var Dgi=L(eCt()),rA=L(z());function tCt(t){return le.open({id:t.id,title:t.title,width:300,height:150,children:Xhr(t),onClose:()=>{t.onClose&&t.onClose()}})}function Xhr(t){let e=be.bind(Dgi.default.locals),i=t.t,o=t.value,r=async n=>{n==="confirm"&&t.onConfirm(o),n==="cancel"&&t.onCancel&&t.onCancel(),le.close(t.id)};return(0,rA.jsxs)("div",{className:e("input-value"),children:[(0,rA.jsx)("div",{className:e("has-border"),children:(0,rA.jsxs)("div",{className:e("font-item clear"),children:[(0,rA.jsx)("div",{className:e("left txt_title"),style:{paddingRight:"8px"},children:(0,rA.jsx)("span",{"data-test":i(t.title),children:i(t.title)})}),(0,rA.jsx)("div",{className:e("left txt_value"),style:{flex:1},children:(0,rA.jsx)(Kt,{type:"text",defaultValue:o,clickTriggerSelect:!0,onChange:n=>{o=n}})})]})}),(0,rA.jsxs)("div",{className:e("dialog-button"),children:[(0,rA.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>r("confirm"),children:"Confirm"}),(0,rA.jsx)(Me,{onClick:()=>r("cancel"),children:"Cancel"})]})]})}var Egi=L(d_e());var l4=L(z());function Agi(t){let e=be.bind(Egi.default.locals),i=J(),r=(0,aP.useContext)(Ea).pcbThemeAppStore,n=r.layerStore;Ce(n);let a=function(){t.onUpdate(),n.hasChanged=!0},s=n.getLayerOptions(),l=n.initColumns(i,S=>{let T=S.colKey,M=S.cellData;if(typeof M>"u"||M===null)return y();let I=S.row.index;return T==="activeColor"?w(I,M):T==="activeColorAlpha"?x(I,M):(T==="layerName"?M=f_e(M,i):T==="layerType"&&(M=g_e(M,i)),(0,l4.jsx)("span",{children:M}))}),c=n.rows,[d,u]=(0,aP.useState)(0),[p,m]=(0,aP.useState)(""),[h,f]=(0,aP.useState)("");(0,aP.useEffect)(()=>{m(n.selectName),f(nTe(n.deactiveColorAlpha).toString())}),(0,aP.useEffect)(()=>{n.hasChanged=!1},[]);let g=S=>{let T=S.target;T.select&&T.select()};return(0,l4.jsxs)("div",{className:e("layer-content"),"data-refresh":d,children:[(0,l4.jsxs)("div",{className:e("controls"),children:[(0,l4.jsxs)("div",{className:e("control-item color-setting"),children:[(0,l4.jsxs)("label",{style:{whiteSpace:"nowrap"},children:[i("Color Setting:")," "]}),(0,l4.jsx)(xt,{value:p,list:s,style:{width:"128px"},onChange:S=>{let T=n.getSwitchOption(S.toString());if(T){if(T.type==="call")switch(T.value){case"save-as-config":if(m(n.selectName),n.getCustomSize()>=5){Dt({icon:"error",closed:!0,content:"No more than 5 custom configurations"});return}tCt({id:"save-as-config",title:"Input Value",value:i("Custom Config1"),onConfirm:M=>{if(M=M.trim(),!M){Dt({icon:"warning",closed:!0,content:"please input valid name!"});return}let I=n.getSwitchOption(M);if(I&&I.type==="custom"){De({type:"error",msg:me.i18n("The name already exists, please modify")});return}let A=n.getLayerRowData();if(!A)return;let D=ue.deepClone(A);D.name=M,r.addLayerConfig(D,!0,!1)},onCancel:()=>{m(n.selectName),u(M=>M+1)},onClose:()=>{m(n.selectName),u(M=>M+1)},t:i});break;case"renameConfig":tCt({id:"save-as-config",title:"Input Value",value:n.selectName,onConfirm:M=>{if(M=M.trim(),!M){Dt({icon:"warning",closed:!0,content:"please input valid name!"});return}if(M===n.selectName)return;let I=n.getSwitchOption(M);if(I&&I.type==="custom"){De({type:"error",msg:me.i18n("The name already exists, please modify")});return}let A=n.getLayerRowData();A&&(A.name=M,n.selectName=M,r.switchLayerSetting(M,!0,!1))},t:i});break;case"save-config":n.changedIndex.delete(n.names.indexOf(n.selectName)),n.changedIndex=new Set(n.changedIndex),n.notify();break;case"delete-config":Dt({title:"Warning",icon:"warning",content:"Are you sure you want to delete?",onConfirm:()=>{r.deleteLayerSetting(n.names.indexOf(n.selectName),!0,!1)}});break;default:break}else r.switchLayerSetting(T.value,!0,!1);a()}}})]}),(0,l4.jsxs)("div",{className:e("control-item inactive-layer-transparency"),children:[(0,l4.jsx)("label",{children:i("Inactive Layer Transparency:")}),(0,l4.jsx)(Kt,{type:"number",value:h,onFocus:g,onChange:S=>{let T=li.toFixed(Math.max(0,Math.min(+S,100)),2)||0,M=n.getLayerRowData();if(!M)return;let I=b(T);M.list.forEach(A=>{A.deactiveColorAlpha=I}),n.deactiveColorAlpha=I,f(T.toString()),a()}}),(0,l4.jsx)("span",{children:we.PCB_FOOTPRINT.PCB_THEME.PERCENT})]})]}),(0,l4.jsx)("div",{className:e("layer-table"),children:(0,l4.jsx)(xi,{index:"index",width:780,height:435,columns:l,rows:c,border:!0,openRowSelectedBgColor:!1})})]});function b(S){return S=Math.max(0,Math.min(S,100)),li.toFixed(1-S/100,4)}function y(){return(0,l4.jsx)("div",{className:e("cell-disabled")})}function w(S,T){T.startsWith("#")||(T="");let M=(0,aP.useRef)(null);return(0,l4.jsxs)("div",{className:e("cell-item"),onClick:I=>{var A;(A=M.current)==null||A.click(),I.stopPropagation()},children:[(0,l4.jsx)(Q6,{ref:M,defaultValue:T,option:{text:me.i18n("Default"),value:T},allowNone:!1,onChange:I=>{let A=I;(!A||!(A+"").startsWith("#"))&&(A=_e.HEX_BLACK_COLOR);let E=n.getLayerRowData();if(!E)return;let N=E.list[S];if(N&&A!=N.activeColor){let R=n.rows[S];R&&(R.activeColor=A),N.activeColor=A,n.onChange(),a(),n.notify()}}},T),(0,l4.jsx)("div",{className:e("text"),children:T})]})}function x(S,T){let M=nTe(T).toString();return(0,l4.jsx)(Kt,{type:"number",defaultValue:M.toString(),value:M,style:{border:"none",marginLeft:"-10px",backgroundColor:"var(--bg-color-table-row)"},onFocus:g,onChange:I=>{let A=+I;isNaN(A)||A<0?A=0:A>100&&(A=100);let D=n.getLayerRowData();if(!D)return;let E=D.list[S];if(!E)return;let N=b(A);if(N!=E.activeColorAlpha){let R=n.rows[S];R&&(R.activeColorAlpha=N),E.activeColorAlpha=N,a(),n.onChange(),n.notify()}}})}}function nTe(t){let e=li.toFixed((1-t)*100,2);return Math.max(0,Math.min(e,100))}var Ngi=L(Se());var kgi=L(No());var Y_=L(z()),{locals:y_e}=kgi.default,iCt=[{value:"mark",text:{context:"setting-pcbshow",value:"Main Color Mask"}},{value:"darked",text:{context:"setting-pcbshow",value:"Non-main Colors Darkened"}}];function Pgi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.HIGHLIGHT,i=we.PCB_FOOTPRINT.PCB_SHOW.MANUAL_HIGHLIGHT_STYLE,o=J(),{storage:r,onUpdate:n}=t,[a,s]=(0,Ngi.useState)(()=>iCt);return(0,Y_.jsxs)("div",{className:y_e["profileline-wrapper"],children:[(0,Y_.jsx)("div",{className:y_e["profileline-label-wrapper"],children:(0,Y_.jsx)("span",{title:o({context:"setting-pcbshow",value:e}),"data-test":e,i18n:e,children:o({context:"setting-pcbshow",value:e})})}),(0,Y_.jsx)("div",{className:y_e["profileline-content-wrapper"],children:(0,Y_.jsxs)("label",{className:y_e["profileline-content-item-wrapper"],children:[(0,Y_.jsxs)("span",{children:[o({context:"setting-pcbshow",value:i}),":"]}),(0,Y_.jsx)("label",{style:{display:"inline-block",width:"200px"},children:(0,Y_.jsx)(xt,{list:a,value:r.hightType,onChange:l=>{n("hightType",l)},name:"hightType",containerStyle:{height:"24px",lineHeight:"24px"}})})]})})]})}var w_e=L(Se());var jb=L(z()),oCt=[{text:{value:"None",context:"sch-relevance"},value:G6.NONE},{text:"Name",value:G6.NAME},{text:"Number",value:G6.NUMBER}],rCt=[{text:{value:"None",context:"sch-relevance"},value:$9.NONE},{text:"Zone",value:$9.ZONE}],$hr=we.CANVAS.CANVAS_GENERAL.RELEVANCE,efr=we.CANVAS.CANVAS_GENERAL.SINGLE_ROW_DISPLAY,tfr=we.CANVAS.CANVAS_GENERAL.MULTIPLE_ROW_DISPLAY,ifr=we.CANVAS.CANVAS_GENERAL.BELONG_PAGE,ofr=we.CANVAS.CANVAS_GENERAL.LOCATION,rfr=we.CANVAS.CANVAS_GENERAL.EXAMPLE;function C_e(t){let e=J(),{rowType:i,belongSchPage:o,locationArea:r,cssClassMap:n}=t,a=$hr,s=efr,l=tfr,c=ifr,d=ofr,[u,p]=(0,w_e.useState)("");(0,w_e.useEffect)(()=>{let h="";switch(o.getValue()){case G6.NAME:h="P1";break;case G6.NUMBER:h="1";break;default:break}switch(r.getValue()){case $9.ZONE:h+="[A1]";break;default:break}p(h)},[o.getValue(),r.getValue()]);let m=`${e(rfr)}: ${u}`;return(0,jb.jsxs)(jb.Fragment,{children:[(0,jb.jsxs)("div",{className:n["profileline-wrapper"],children:[(0,jb.jsx)("div",{className:n["profileline-label-wrapper"],children:(0,jb.jsx)("span",{title:e(a),"data-test":a,i18n:a,children:e(a)})}),(0,jb.jsx)($i,{subRadioClassName:n["profileline-content-item-wrapper"],className:n["profileline-content-wrapper"],value:i.getValue(),options:[{value:gZ.SINGLE,label:s},{value:gZ.MULTIPLE,label:l}],onChange:h=>{i.update(h)}})]}),(0,jb.jsxs)("div",{className:n["profileline-wrapper"],children:[(0,jb.jsx)("div",{className:n["profileline-label-wrapper"],children:(0,jb.jsx)("span",{})}),(0,jb.jsxs)("div",{className:n["profileline-content-item-wrapper"],style:{display:"flex",flex:1,alignItems:"center",paddingBottom:"8px"},children:[(0,jb.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,jb.jsxs)("span",{title:e(c),"data-test":c,i18n:c,style:{width:"65px",flexShrink:0},children:[e(c),":"]}),(0,jb.jsx)(xt,{dataTest:c,name:"relevanceBelongSchPage",value:o.getValue(),list:oCt.map(({value:h,text:f})=>({value:h,text:f||h})),onChange:async(h,f)=>{o.update(h)},containerStyle:{width:"133px",height:"24px",margin:"8px 0px"},style:{width:"100%",height:"24px"}})]}),(0,jb.jsxs)("div",{style:{display:"flex",alignItems:"center",marginLeft:"16px"},children:[(0,jb.jsxs)("span",{title:e(d),"data-test":d,i18n:d,style:{width:"65px",flexShrink:0},children:[e(d),":"]}),(0,jb.jsx)(xt,{dataTest:d,name:"relevanceLocation",value:r.getValue(),list:rCt.map(({value:h,text:f})=>({value:h,text:f||h})),onChange:async(h,f)=>{r.update(h)},containerStyle:{width:"133px",height:"24px",margin:"8px 0px"},style:{width:"100%",height:"24px"}})]}),(0,jb.jsx)("span",{style:{display:"inline-flex",marginRight:50,marginLeft:"16px",whiteSpace:"nowrap"},children:m})]})]})]})}var W_=(u=>(u.CreateDate="@Create Date",u.CreateTime="@Create Time",u.PageCount="@Page Count",u.PageName="@Page Name",u.PageNo="@Page No",u.ProjectName="@Project Name",u.BoardName="@Board Name",u.SchematicName="@Schematic Name",u.UpdateDate="@Update Date",u.UpdateTime="@Update Time",u.AssemblyVariant="@Assembly Variant",u))(W_||{}),Ogi=(a=>(a.Company="Company",a.Drawed="Drawed",a.PageSize="Page Size",a.PartNumber="Part Number",a.Reviewed="Reviewed",a.Version="Version",a))(Ogi||{});var nfr=Object.values(W_),VYn=[...nfr,...Object.values(Ogi)];var Qu="Title Block",xZ=["Border","Title Block Position","Size","Width","Height","Region Start","X Region Count","Y Region Count","Blade Width","Color"];var cpe=[{value:"1",text:"Left Top"},{value:"2",text:"Right Bottom"}];var dpe=[{value:"1",text:"Left Top"},{value:"2",text:"Right Top"},{value:"4",text:"Left Bottom"},{value:"3",text:"Right Bottom"}],ES={A5:{w:826,h:582},A4:{w:1170,h:825},A3:{w:1655,h:1170},A2:{w:2338,h:1652},A1:{w:3304,h:2338},A0:{w:4676,h:3304},A:{w:1100,h:850},B:{w:1700,h:1100},C:{w:2200,h:1700},D:{w:3400,h:2200},E:{w:4400,h:3400}};var nCt="1",aCt="1",sCt="3",lCt=ES.A4.w,cCt=ES.A4.h,upe="A4",dCt=6,uCt=4,x_e=null,pCt="",mCt=10,afr="1";var T_e={Border:nCt,"Title Block Position":sCt,Width:String(lCt),Height:String(cCt),"Region Start":aCt,"X Region Count":String(dCt),"Y Region Count":String(uCt),Color:pCt,"Blade Width":String(mCt),[Qu]:afr};var wne=L(_gi());async function M_e(t){let{target:e,isProject:i,from:o}=t;return t.symbolType||(t.symbolType=ve.SHEET_SYMBOL.toString()),t.onDialogConfirm||(t.onDialogConfirm=async function(n){let a="No Sheet",{path:s,deviceDetail:l}=n,c=l?l.uuid:a,d=l?l.display_title||l.title:a;if(o=="canvas")r(e,{Drawing:{value:d,extra:{deviceUuid:c,path:s}}});else{let u={sheetConfig:{device_uuid:c,attrPara:null,path:s},isProject:i},p=(await C.messageBus.rpcCall("sch/switchDrawingPre",u)).message;p&&t&&t.onSelectDrawing(p)}}),await jgi({form:"replaceSheet",deviceType:"sheet",onDialogConfirm:t.onDialogConfirm});function r(n,a){let s={};for(let l of Object.keys(n||{})){let c={};for(let d=0;d<n[l].length;d++){let u=n[l][d];c[u]=a}s[l]=c}C.messageBus.publish("sch/setProperty",{data:s,docType:ve.SCH})}}var KSe=L(Se());var DH=L(Se());var Xoe=L(Se());var hCt=L(zgi());var Q_=L(z()),{locals:sfr}=hCt.default,{clear:lfr,add:cfr,input_open_dialog:dfr}=sfr,ea=t=>{let{style:e,inputStyle:i,hasClearButton:o=!0,onClearClick:r,openDialog:n,value:a,hasThreePoint:s=!0,disabled:l,dataTest:c,couldInput:d=!1,propertyKey:u="",isAlwaysShowClearButton:p=!1,errorValue:m=!1,onInputUpdate:h}=t,{window:f}=(0,Xoe.useContext)(_r),[g,b]=(0,Xoe.useState)(a),y=(x,S)=>{b(x),h&&h(x)};(0,Xoe.useEffect)(()=>{a!==g&&b(a)},[a]);let w=J();return(0,Xoe.useEffect)(()=>{m?b(w("Abnormal data!")):a!==g&&b(a)},[m]),(0,Q_.jsxs)(Q_.Fragment,{children:[(0,Q_.jsx)("style",{children:hCt.default.toString()}),(0,Q_.jsxs)("div",{style:{backgroundColor:l?"var(--bg-color-disabled-input)":"",boxSizing:"border-box",...e},className:dfr,children:[(0,Q_.jsx)(Kt,{dataTest:c,value:g,disabled:l,placeholder:t.placeholder,readOnly:d===!1,htmlAttrs:{"data-attr-key":u},onClick:()=>{d===!1&&((f==null?void 0:f.name)==="componentLibWin"&&(dl.value=f),n(t))},onChange:y,style:{height:"100%",border:"none",cursor:l||d===!1?"pointer":"",color:m?"red":"",...i}}),!l&&o&&(p||g)?(0,Q_.jsx)("span",{"data-test":`clear_${c}`,className:be(lfr,"icon-eda-x-circle"),onClick:()=>{l||r()}}):"",s?(0,Q_.jsx)("span",{style:{cursor:l?"default":"pointer"},className:cfr,onClick:()=>{l||n()},children:"\xB7\xB7\xB7"}):""]})]})};var fCt=L(Ugi()),aTe=L(z()),{locals:ufr}=fCt.default,{refresh_button:pfr}=ufr,K_=t=>{let{title:e="Restore Default",onClick:i}=t;Ae(fCt.default);let o=J();return(0,aTe.jsx)(aTe.Fragment,{children:(0,aTe.jsx)("span",{className:be(pfr,"icon-eda-refresh-1"),title:o(e),onClick:r=>{i(r)}})})};var ad=L(Se());var Qgi=L(Se());var gCt=L(Hgi());var Ggi=L(Se()),Ygi=(t,e)=>{(0,Ggi.useEffect)(()=>{let i=o=>{!t.current||t.current.contains(o.target)||e(o)};return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i)}},[t,e])};var Ug=L(z()),Wgi={height:"24px",padding:"0 8px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",lineHeight:"24px",cursor:"pointer"},mfr={background:"var(--bg-color-hover-drop-down-menuItem)",color:"var(--font-color-hover-drop-down-menuItem)"};var sTe=be.bind(gCt.default.locals);function hfr(t,e){let{isAlwaysFilter:i=!1,value:o,createNewItem:r,filterBlankItems:n,selectList:a,translateOption:s,style:l,inputStyle:c,selectAlwaysShow:d,selectListStyle:u={},clickSelectItemNotSetInput:p,disabled:m,focusTriggerSelect:h,clear:f,stillNeedClear:g,showDropDownIcon:b,clickShowDropDownIconInputFocus:y=!1,dataTest:w,optionAutoWidth:x=!0,disableNativeRowTitle:S=!1,inputHover:T=!0,htmlAttrs:M={},positionFixed:I=!0,filterCN:A=!1,trimOnBlurOnly:D=!1,inputFilterAction:E,onSelectItemClick:N,onSelectItemEnter:R,onClick:v,onClearClick:k,optionContentRender:P,onFilterInputFocus:O,onKeyDown:_,onShowState:j}=t,B={position:I?"fixed":"absolute",width:"inherit",maxHeight:"192px",zIndex:9999,overflow:"auto",background:"var(--bg-color-drop-down-menu)",fontSize:"12px",color:"var(--font-color-drop-down-menuItem)",boxShadow:"0 0 4px calc(var(--has-shadow-drop-down-menu) * 0.2)",border:"1px solid var(--common-border-color)"};Ae(gCt.default);let V=(0,ad.useRef)({initWidth:0,initLeft:0}),[G,Q]=(0,ad.useState)(o||""),[H,q]=(0,ad.useState)(a||[]),[U,F]=(0,ad.useState)(!!d),K=(0,ad.useRef)(null),[te,ae]=(0,ad.useState)(-1),pe=(0,ad.useRef)(null),Z=(0,ad.useRef)(U),ee=(0,ad.useRef)(G),ce=(0,ad.useRef)(te),ne=(0,ad.useRef)(!1),oe=(0,ad.useRef)(!1),re=J();(0,Qgi.useImperativeHandle)(e,()=>K.current),(0,ad.useEffect)(()=>{ee.current=G},[G]),(0,ad.useEffect)(()=>{Z.current=U,U&&y&&setTimeout(()=>{K.current&&K.current.focus()}),U?(setTimeout(()=>{de()},100),fe()):ie.current&&clearInterval(ie.current)},[U]);let Y=ct=>{j==null||j(ct),F(ct)},X=(0,ad.useRef)({x:0,y:0}),ie=(0,ad.useRef)(null),de=()=>{if(Qe.current){let{bottom:ct,top:wt,left:zt,width:gt}=Qe.current.getBoundingClientRect();X.current={x:zt,y:wt}}},fe=()=>{Qe.current&&(ie.current=setInterval(()=>{if(!Qe.current)return;let{top:ct,left:wt}=Qe.current.getBoundingClientRect();!HU({x:wt,y:ct},X.current)&&Y(!1)},200))};(0,ad.useEffect)(()=>{if(t.selectList){let ct=G.toLowerCase();q(i?t.selectList.filter(wt=>A&&re(wt).includes(ct)||wt.toLowerCase().includes(ct)):t.selectList)}},[t.selectList,U]),(0,ad.useEffect)(()=>{Q(t.value)},[t.value]);let ye=(0,ad.useRef)(!1),Le=ct=>{ye.current=!0;let wt=ct.target.value;D||(wt=wt.trim()),E instanceof Function&&(wt=E(wt)),Q(wt),Re(wt)},Re=(ct=G)=>{if(t.selectList){ae(-1),ce.current=-1,Te();let wt=ct.toLowerCase();q(t.selectList.filter(zt=>A&&re(zt).includes(wt)||zt.toLowerCase().includes(wt)))}},Ne=(ct,wt)=>{var zt;ne.current&&ct!=="Click"||(vn(wt)&&(He.current?(He.current=!1,wt=t.value,Q(wt)):wt=ee.current),d||Y(!1),ae(-1),ce.current=-1,t.validator&&!t.validator(wt)&&(wt=t.value,Q(wt)),(zt=t.onChange)==null||zt.call(t,wt.trim(),Qe))},Te=(0,ad.useCallback)(()=>{if(!~ce.current)return;let ct=pe.current,{scrollHeight:wt,clientHeight:zt}=ct,gt=ct.firstElementChild.children[ce.current],Qt=gt?gt.offsetTop:0;Qt>wt-zt+gt.clientHeight?Qt=wt-zt:Qt<zt/2?Qt=0:Qt-=zt/2,ct.scrollTop=Qt},[]);(0,ad.useEffect)(()=>{ce.current=te},[te]);let Pe=ct=>{if(H.length){if(ct.key==="ArrowDown"){ct.preventDefault();let wt=ce.current+1;wt>H.length-1&&(wt=0),ae(wt),ce.current=wt,Te()}else if(ct.key==="ArrowUp"){ct.preventDefault();let wt=ce.current-1;wt<0&&(wt=H.length-1),ae(wt),ce.current=wt,Te()}}else ct.key==="Enter"&&ye.current&&Ne("KeyBoard");Oe(ct)},Oe=ct=>{let wt=["arrowdown","arrowup"],zt=ct.key.toLowerCase(),gt=wt.includes(zt),Qt=ct.ctrlKey&&(zt==="c"||zt==="v");(gt||Qt)&&ct.stopPropagation()};(0,ad.useEffect)(()=>{let ct=Qe.current;if(ct)return U&&ct.addEventListener("keydown",Pe),()=>{ct.removeEventListener("keydown",Pe)}},[U]);let Ue=ct=>{ae(ct),ce.current=ct},Ve=ct=>{var wt;ne.current=!0,p||Q(H[ct]),ee.current=H[ct],(wt=K.current)==null||wt.blur(),N==null||N(H[ct]),Ne("Click",H[ct]),ne.current=!1},ze=()=>{let ct=~te?H[te]:void 0;ct&&R&&R(ct),Ne("KeyBoard",ct)},He=(0,ad.useRef)(!1),Ye=ct=>{ct.key==="Enter"?ze():ct.key==="Escape"&&(ct.stopPropagation(),He.current=!0,K.current.blur(),Y(!1))},ke=ct=>s?s.deleteBrace?re({value:ct.slice(1,ct.length-1),context:s.i18nContext||""}):re(ct):"",Be=()=>H.map((ct,wt)=>{let zt=ke(ct),gt=(()=>{let yt=typeof ct=="string"?ct.toLocaleLowerCase().indexOf(G.toLocaleLowerCase()):-1,jt;if(yt>=0){let ni=(0,Ug.jsx)("em",{style:{fontStyle:"normal"},className:"hightlight",children:ct.slice(yt,yt+G.length)});jt=(0,Ug.jsxs)("span",{children:[ct.slice(0,yt),ni,ct.slice(yt+G.length)]})}else jt=ct;return(0,Ug.jsxs)(Ug.Fragment,{children:[jt,zt?(0,Ug.jsx)("span",{style:{float:"right"},children:zt}):""]})})(),Qt=wt===te?{...Wgi,...mfr}:Wgi;return(0,Ug.jsx)("div",{title:S===!1&&zt?`${ct}|${zt}`:"",style:Qt,onPointerDown:yt=>yt.preventDefault(),onPointerMove:()=>Ue(wt),onPointerUp:()=>Ve(wt),children:P?P(ct,G):gt},ct+wt)}),[Xe,Ge]=(0,ad.useState)(B),[Ke,pt,ot]=La(),Qe=(0,ad.useRef)(null);(0,ad.useEffect)(()=>(K.current&&pt(K.current),()=>{ot()}),[K.current]);let ut=(0,ad.useCallback)(()=>{ae(-1),F(!1)},[]);Ygi(Qe,ut);function rt(){var nr;if(!K.current)return;let{width:ct,height:wt}=getComputedStyle(K.current),zt=((nr=K.current)==null?void 0:nr.getBoundingClientRect())||{},{top:gt=0,left:Qt=0,right:yt=0}=zt,jt=parseFloat(ct),ni=parseFloat(wt),{innerHeight:Ii,innerWidth:Mo}=window,_i=gt<Ii?{key:"top",value:gt+ni}:{key:"bottom",value:Ii-gt},So;if(I?So={...B,width:"auto",left:`${Qt}px`,[_i.key]:`${_i.value}px`}:So={...B,width:"auto",left:"0px",[_i.key]:"24px"},x){let{width:Do}=K.current.getBoundingClientRect();So.width=Do+"px",So.opacity=0}Ge(So),x&&setTimeout(()=>{if(pe.current&&I){pe.current.style.left=V.current.initLeft+"px",pe.current.style.width=V.current.initWidth+"px";let Do=pe.current.getBoundingClientRect(),{left:go,right:Dr}=Do,cr=Dr-go;if(jt>cr){Ge({...So,width:`${jt}px`,opacity:1});return}else if(Dr>Mo){Ge({...So,left:"",right:`${Mo-yt}px`,opacity:1});return}}Ge({...So,opacity:1})},35)}(0,ad.useEffect)(()=>{Ke&&rt()},[Ke]),(0,ad.useEffect)(()=>{t.focus&&K.current.focus()},[]),(0,ad.useEffect)(()=>{window.setTimeout(()=>{if(U!==!0||!pe.current)return;let ct=document.documentElement.clientWidth,wt=null,zt=null;wt=pe.current.getBoundingClientRect().toJSON(),V.current.initWidth=wt.width,V.current.initLeft=wt.left,zt=Qe.current.getBoundingClientRect().toJSON(),wt.width<=zt.width&&(pe.current.style.width=v_e(Qe.current)+"px",wt=pe.current.getBoundingClientRect().toJSON()),wt.right>document.documentElement.clientWidth&&(pe.current.style.left=ct-wt.width-(ct-zt.right)+"px");let gt=wt.height,Qt=K.current.getBoundingClientRect().top;Qt+gt>window.innerHeight&&(pe.current.style.top="",pe.current.style.bottom=innerHeight-Qt+"px")})},[U]);let ht=U&&H.length;return(0,Ug.jsxs)("div",{ref:Qe,style:{width:"auto",position:"relative",...t.style},tabIndex:10,children:[(0,Ug.jsxs)("div",{className:sTe("input-wrap","display-flex flex-lateral-axis-center"),children:[(0,Ug.jsx)("input",{"data-tabfocus":"tabfocus","data-test":w,className:be(sTe("input",{clear:f}),t.className),style:{width:"100%",...c},type:"text",ref:K,...T&&{title:G},disabled:m,...M,autoComplete:"off",onFocus:ct=>{h&&K.current&&K.current.select(),O&&O()},onInput:ct=>{Le(ct),Y(!0),rt()},onKeyDown:_,onKeyUp:Ye,value:G,onClick:()=>{U||(v==null||v(),Y(!0),rt())},onBlur:ct=>{ct.target!==Qe.current&&(y&&!oe.current&&(oe.current=!0),ye.current=!1,Ne("blur"))}}),(0,Ug.jsxs)("div",{className:sTe("input-icon","display-flex flex-lateral-axis-center"),children:[f&&(g||!m)&&G!==""&&(0,Ug.jsx)("i",{"data-test":`${w} Clear`,className:be(sTe("icon-clear"),"icon-eda-x-circle"),onClick:k}),b&&(0,Ug.jsx)("i",{className:sTe("arr-icon",{active:ht,"arr-icon-disable":m}),onClick:()=>{if(!m){if(oe.current&&y){oe.current=!1;return}U?Y(!1):(v==null||v(),rt(),Y(!0))}}})]})]}),I?(0,Ug.jsx)(YU,{children:ht?(0,Ug.jsx)("div",{style:{...Xe,...u},ref:pe,onWheel:ct=>{ct.stopPropagation()},onMouseDown:ct=>{ct.preventDefault()},"data-tagitem":"search-dropdown-container",children:(0,Ug.jsx)("div",{style:{width:"auto",overflowX:"auto",minWidth:"100%"},children:Be()})}):null}):(0,Ug.jsx)(Ug.Fragment,{children:ht?(0,Ug.jsx)("div",{style:{...Xe,...u},ref:pe,onWheel:ct=>{ct.stopPropagation()},onMouseDown:ct=>{ct.preventDefault()},"data-tagitem":"search-dropdown-container",children:(0,Ug.jsx)("div",{style:{width:"auto",overflowX:"auto",minWidth:"100%"},children:Be()})}):null})]})}var j2=(0,ad.memo)((0,ad.forwardRef)(hfr));var ppe=L(Se());var Kgi=L(Se());var D_e=L(z()),Vf=t=>{let{defaultColor:e,onChange:i,classNames:o,allowNone:r,wrapperStyle:n,style:a,disabled:s,color:l,restoreDefaultButton:c}=t,d=J(),u=(r!=null?r:"1")==="1",p;c&&(p={value:e,text:"Default",resetValue:e}),a=a||{};let m=(0,Kgi.useRef)(null);return(0,D_e.jsxs)("div",{onClick:h=>{h.stopPropagation(),m.current.click()},style:{display:"flex",alignItems:"center",...n},className:o,children:[(0,D_e.jsx)(Q6,{style:{backgroundColor:l==="none"?"transparent":l,...a},onChange:i,disabled:s,defaultValue:l||e,allowNone:u,ref:m,option:p}),t.children]})};var bCt=L(Jgi()),Z_=L(z()),{locals:ffr}=bCt.default,{color_picker:gfr}=ffr,qgi="(Default)",vp=t=>{let{color:e,defaultColor:i,inputStyle:o,allowNone:r=!0,boxStyle:n,style:a={},onChange:s,needRefresh:l=!0,restoreDefaultButton:c=!0,disabled:d,forceRender:u=0,name:p="",payloads:m={}}=t;Ae(bCt.default);let h=J(),f=w=>{w==null?(b(i),s(i,m,"Restore")):(b(w),s(w,m,"Modify"))},[g,b]=(0,ppe.useState)(e||i);(0,ppe.useEffect)(()=>{b(e||i)},[e,u]);let y=(0,ppe.useMemo)(()=>g==null?void 0:g.replace(qgi,""),[g,u]);return(0,Z_.jsx)(Z_.Fragment,{children:(0,Z_.jsxs)("div",{className:gfr,style:{...a},children:[(0,Z_.jsx)("div",{style:{flex:1},children:(0,Z_.jsx)(Vf,{allowNone:r?"1":"0",restoreDefaultButton:c,disabled:d,color:y,defaultColor:i,onChange:f,style:{backgroundColor:y==="none"?"transparent":y,width:"24px",height:"24px",marginRight:"2px",borderRadius:"2px",...n},children:(0,Z_.jsx)(Kt,{dataTest:p,readOnly:!0,disabled:d,htmlAttrs:{"data-attr-key":p},value:y===i?y+h(qgi):y,style:{height:"24px",borderRadius:"2px",...o}})})}),l&&(0,Z_.jsx)(K_,{onClick:()=>{d||(b(i),s(i,{},"Restore"))}})]})})};var N_e=L(Se());var SCt=L($gi()),aA=L(z()),{locals:bfr}=SCt.default,{font_style_icon_wrap:yfr,selected:yCt,active:wCt,active_default:CCt,icon:xCt,box:TCt}=bfr,J_=t=>{Ae(SCt.default);let{fontWeight:e,italic:i,underline:o,defaultValue:r={},hasModified:n={},onChange:a,disabled:s}=t,[l,c]=(0,N_e.useState)(e!=null?e:r.fontWeight),[d,u]=(0,N_e.useState)(i!=null?i:r.italic),[p,m]=(0,N_e.useState)(o!=null?o:r.underline);return(0,aA.jsx)(aA.Fragment,{children:(0,aA.jsxs)("div",{className:yfr,children:[(0,aA.jsx)("div",{className:l?wCt:TCt,children:(0,aA.jsx)("span",{className:be("icon-eda-text-bold",xCt,l?yCt:"",!n.fontWeight&&l&&l===r.fontWeight?CCt:""),onClick:()=>{s||(c(!l),a({fontWeight:!l}))}})}),(0,aA.jsx)("div",{className:d?wCt:TCt,children:(0,aA.jsx)("span",{className:be("icon-eda-text-italic",xCt,d?yCt:"",!n.italic&&d&&d===r.italic?CCt:""),onClick:()=>{s||(u(!d),a({italic:!d}))}})}),(0,aA.jsx)("div",{className:p?wCt:TCt,children:(0,aA.jsx)("span",{className:be("icon-eda-text-underline",xCt,p?yCt:"",!n.underline&&p&&p===r.underline?CCt:""),onClick:()=>{s||(m(!p),a({underline:!p}))}})})]})})};var yv=L(Se());var MCt=L(t2i()),Bb=L(z()),{locals:mpe}=MCt.default,wfr=t=>{Ae(MCt.default);let{value:e,dataTest:i,valueOptions:o,htmlAttrs:r={},handleClearIconFn:n,handleInputBlurFn:a,disabled:s}=t,[l,c]=(0,yv.useState)([...o]),[d,u]=(0,yv.useState)(e||""),[p,m]=(0,yv.useState)(!1),[h,f]=(0,yv.useState)(!1),g=(0,yv.useRef)(null),b=(0,yv.useRef)(null),y=(0,yv.useRef)(null),w=()=>{u(""),n&&n()},x=()=>{setTimeout(()=>{g.current.select()}),!p&&m(!0)},S=I=>{e!==I.target.value&&a(I.target.value),M(I)},T=I=>{var A;I.key==="Enter"&&(I.stopPropagation(),(A=g.current)==null||A.blur())},M=I=>{!y.current||I.target.closest(".lc_select_input")||m(!1)};return(0,yv.useEffect)(()=>{b.current&&a(b.current)},[b.current]),(0,Bb.jsxs)("div",{className:mpe.box,children:[(0,Bb.jsxs)("div",{className:mpe.cointainer,onMouseEnter:()=>{s||f(!0)},onMouseLeave:()=>{f(!1)},children:[(0,Bb.jsx)("input",{"data-tabfocus":"tabfocus","data-test":i,disabled:s,type:"text",value:d,title:d,className:mpe["cointainer-input"],onChange:I=>{u(I.target.value.trim())},onInput:I=>{let A=new RegExp(I.target.value.trim());c(o==null?void 0:o.filter(D=>A.test(String(D.value))))},onFocus:x,onBlur:S,onKeyUp:T,ref:g,...r}),(0,Bb.jsx)("span",{style:{display:h&&d.length>0?"block":"none"},className:mpe["cointainer-clear"]+" icon-eda-x-circle clear-input-circle",onClick:w}),(0,Bb.jsx)("span",{style:{transform:p?"rotate(180deg)":"rotate(0deg)"},className:mpe["cointainer-down"],onClick:I=>{s||(I.stopPropagation(),m(A=>!A))}})]}),(0,Bb.jsx)(Cfr,{optionsRef:y,showOptions:l,showInputOption:p,inputValue:d,onmouseDown:(I,A)=>{I.preventDefault(),b.current=A.value.toString().trim(),m(!1)}})]})},Cfr=t=>{let{showOptions:e,showInputOption:i,inputValue:o,onmouseDown:r,optionsRef:n}=t;return e.length>0&&i?(0,Bb.jsx)("ul",{className:mpe["cointainer-ul"],ref:n,children:e.map(a=>(0,Bb.jsx)("li",{onMouseDown:s=>{r(s,a)},children:(0,Bb.jsx)(xfr,{content:String(a.value),matchContent:o})},a.value))}):(0,Bb.jsx)(Bb.Fragment,{})},xfr=t=>{let{content:e,matchContent:i}=t;return i==""?(0,Bb.jsx)("span",{children:e}):(0,Bb.jsx)(Bb.Fragment,{children:e.split(i).map((o,r,n)=>r===n.length-1?(0,Bb.jsx)("span",{children:o},r):(0,Bb.jsxs)("span",{children:[o,(0,Bb.jsx)("em",{style:{backgroundColor:"var(--common-bg-color-highLight-item)",fontStyle:"unset"},children:t.matchContent})]},r))})},i2i=(0,yv.memo)(wfr);var $oe=L(Se());var fpe=L(Se());var ICt=L(r2i()),hpe=L(z()),{locals:Tfr}=ICt.default,{container:Sfr}=Tfr,sP=class extends qe{constructor(){super(...arguments);this.data=null}update(i){this.data=i,this.notify()}},n2i=({id:t,symbolNameSelectorStore:e,needEqual:i=!0,setOptionsShow:o,optionShow:r=!0})=>{var f,g;Ae(ICt.default),Ce(e,()=>!(e.data&&e.data.id!==t));let n=J(),{data:a}=e,s=(0,fpe.useRef)(null),l=(0,fpe.useRef)(null),c=b=>{if(e.data&&(l!=null&&l.current)){if(l.current.contains(b.target)||e.data.inputRef===b.target)return;let{onBlur:y}=a;y()}};if((0,fpe.useEffect)(()=>{if(l!=null&&l.current){let{right:b}=l.current.getBoundingClientRect();b>window.innerWidth&&(l.current.style.left="",l.current.style.right="0px")}}),(0,fpe.useEffect)(()=>{let b=Array.from(window.frames).map(w=>w).filter(Boolean),y=c;return b.forEach(w=>{try{w.addEventListener("pointerdown",y)}catch(x){console.log(x)}}),document.body.addEventListener("pointerdown",y),()=>{b.forEach(w=>{try{w.removeEventListener("pointerdown",y)}catch(x){console.log(x)}}),document.body.removeEventListener("pointerdown",y)}}),!a)return(0,hpe.jsx)(hpe.Fragment,{});let{valueOptions:d,value:u,style:p,onChange:m,inputRef:h}=a;return(0,hpe.jsx)("div",{className:Sfr,style:{...p,zIndex:9999,display:r?"block":"none"},ref:l,children:(0,hpe.jsx)(j2,{ref:s,positionFixed:!1,value:"",selectList:d.map(b=>b.value),translateOption:{deleteBrace:!0,i18nContext:(g=(f=d[0])==null?void 0:f.text)==null?void 0:g.context},selectAlwaysShow:!0,clickSelectItemNotSetInput:!0,selectListStyle:{position:"static",width:"auto",boxShadow:"none"},onSelectItemClick:b=>{let y=h,{selectionStart:w,selectionEnd:x}=y,S=w+b.length,T=y.value,M=T.split(""),I=x-w>0?x-w:0;M.splice(w,I,b),M=M.join(""),!M.startsWith("=")&&i&&(M="="+M,S++),y.value=M,y.setSelectionRange(S,S),T!==M&&m(M)},onShowState:b=>{o(b)}})})};var ere=L(z()),LCt=!1,Mfr=new sP,cV=t=>{var w,x,S,T;let{dataTest:e,propertyKey:i,value:o,style:r,onChange:n,valueOptions:a,disabled:s,needEqual:l=!0,position:c="fixed",symbolStore:d}=t,u=(0,$oe.useRef)(null),p=J(),m=Mt(),[h,f]=(0,$oe.useState)(!0),[g,b]=(0,$oe.useState)(d||Mfr);(0,$oe.useEffect)(()=>{u.current&&(u.current.parentElement.style.overflow="unset",u.current.parentElement.style.position="relative",g.data&&g.update({...g.data,inputRef:u.current,id:m}))});function y(M){let I=D(M),A=M;for(let E=0;E<I.length;E++)A=A.replace(I[E],p({value:I[E],context:"attrs"}));return A;function D(E){let N=/\{([^\}]+)\}/g,R=[],v=[];for(;R=N.exec(E);)v.push(R[1]);return v}}return(0,ere.jsxs)(ere.Fragment,{children:[(0,ere.jsx)(Kt,{dataTest:e,disabled:s,ref:u,name:i,defaultValue:g.data?o:y(o),enterTriggerBlur:!0,clickTriggerSelect:!0,selectionStart:(x=(w=g.data)==null?void 0:w.inputRef)==null?void 0:x.selectionStart,selectionEnd:(T=(S=g.data)==null?void 0:S.inputRef)==null?void 0:T.selectionEnd,style:{height:"24px",borderRadius:"2px",...r},htmlAttrs:{"data-attr-key":i},onFocus:()=>{f(!0)},onBlur:M=>{LCt=!1;let I=M.currentTarget.value;o===I||g.data==null&&y(o)===I||(n(I),g.update(null))},onClick:M=>{if(LCt)return;LCt=!0,M.target.value=o;let{left:I,bottom:A,width:D,height:E}=M.target.getBoundingClientRect();g.update({id:m,inputRef:M.target,value:o,valueOptions:a,style:{position:c,left:(c==="fixed"?I:0)+"px",top:(c==="fixed"?A:E)+"px",minWidth:D+"px",maxWidth:"800px",width:"auto"},onChange:N=>{n(N)},onBlur:()=>{setTimeout(()=>{g.data&&(g.data.inputRef.value=y(g.data.inputRef.value),g.update(null))})}})}},g.data?o:y(o)),(0,ere.jsx)(n2i,{id:m,symbolNameSelectorStore:g,needEqual:l,setOptionsShow:M=>{f(M)},optionShow:h})]})};var O_e=L(Se());var IT=L(Vi());function a2i(t,e,i="sysSetDialogContainerContent"){if(!e)return;let o,r=e[e.activeTheme];if(!r)return;t&&(0,IT.default)("#themeMenu").val(e.activeTheme);let n=e[e.activeTheme]||zb(e.activeTheme),{color:a,fillColor:s,fontStyle:l,shape:c}=n,d=P_e(),u=(0,IT.default)(`#${i} #themeColorTable`);u.find("td.td-color").each(function(){var p=(0,IT.default)(this).attr("data-key");o=r.color[p]!="null"?r.color[p]:a[p],o||(o=d[e.activeTheme].color[p]),(0,IT.default)(this).children("input.color").css({"background-color":o==="none"?"transparent":o,color:"transparent"}).val(o),(0,IT.default)(this).children("span").html(o)}),u.find("td.td-color-fill").each(function(){var p=(0,IT.default)(this).attr("data-key");o=r.fillColor[p]!="null"?r.fillColor[p]:s[p],o||(o=d[e.activeTheme].fillColor[p]),(0,IT.default)(this).children("input.color").css({"background-color":o==="none"?"transparent":o,color:"transparent"}).val(o),(0,IT.default)(this).children("span").html(o)}),u.find('td[name="fontStyle"]').each(function(){let p=Vo();var m=(0,IT.default)(this).attr("data-key"),h="",f=(0,IT.default)(".setFontStyle[data-key="+m+"]");let{fontFamily:g,fontSize:b,fontWeight:y,fontItalic:w,fontUnderline:x,fontfontLineThroughlinethrough:S}=r.fontStyle[m]!="null"?r.fontStyle[m]:l[m];h=g+" | "+fo(io(Number(b),"pixel",p),p)+p,f.attr({fontsize:b,fontfamily:g,fontweight:y,fontitalic:w,fontunderline:x,fontlinethrough:S,title:h}),(0,IT.default)(this).html(h)}),u.find('td[name="shape"]').each(function(){let p=(0,IT.default)(this).attr("data-key"),m=(0,IT.default)(".setLineStyle[data-key="+p+"]"),{width:h,dash:f}=r.shape[p]!="null"?r.shape[p]:c[p];m.attr({width:h,dash:f});let g="";g+=h+" | ",g+='<span class="i18n">'+Ifr(f).i18nText+"</span>",(0,IT.default)(this).html(g)}),me.update((0,IT.default)("#themeColorTable"))}function Ifr(t){let e=typeof t=="string"?t.replace(/\s+/g,""):t,i={key:0,text:"\u5B9E\u7EBF",value:"0",i18nText:"solid"};return(e=="6,6"||e=="1"||e==1)&&(i={key:1,text:"\u77ED\u5212\u7EBF",value:"6,6",i18nText:"dashed"}),(e=="3,10"||e=="2"||e==2)&&(i={key:2,text:"\u70B9\u7EBF",value:"3,10",i18nText:"dotted"}),(e=="4,2,1,2"||e=="3"||e==3)&&(i={key:3,text:"\u70B9\u5212\u7EBF",value:"4,2,1,2",i18nText:"dotdashed"}),i}function zb(t){let e=hn("OBJECT").theme||P_e();return t?e[t||"lceda"]:e}function P_e(){return CRe.theme}var vCt=L(z()),Lfr={vertical:[{class:"icon-eda-text-align-top icon-span",title:"Align Top",value:0},{class:"icon-eda-text-align-vertical-center icon-span",title:"Align Vertical Centers",value:1},{class:"icon-eda-text-align-bottom icon-span",title:"Align Bottom",value:2}],horizontal:[{class:"icon-eda-text-align-left icon-span",title:"Align Left",value:0},{class:"icon-eda-text-align-horizontal-center icon-span",title:"Align Horizontal Centers",value:1},{class:"icon-eda-text-align-right icon-span",title:"Align Right",value:2}]};function vfr(t){let e=zb();if(!e)return null;let i=e[e.activeTheme];if(t==="horizontal")switch(i.fontStyle.table.textAlign){case"left":return 0;case"center":return 1;case"right":return 2;default:return 0}else if(t==="vertical")switch(i.fontStyle.table.verticalAlign){case"top":return 0;case"middle":return 1;case"right":return 2;default:return 0}return 0}function dV(t){let{disabled:e}=t,[i,o]=(0,O_e.useState)(t.value),r=Lfr[t.type]||D7e,n=J();return(0,O_e.useEffect)(()=>{o(Kr(t.value)?vfr(t.type):t.value)},[t.value]),(0,vCt.jsx)("div",{style:{display:"flex",width:"100%"},children:r.map((a,s)=>(0,vCt.jsx)("div",{title:n(a.title),className:[a.class,i===a.value?"selected":""].join(" "),style:{marginRight:"4px",backgroundPosition:"center center"},onClick:()=>{e||a.value!==i&&(o(a.value),t.onChange(a.value))}},a.class))})}var c2i=L(Se());var DCt=L(l2i()),SZ=L(z()),{locals:Dfr}=DCt.default,{main:Efr,textarea:Afr,tip:Nfr}=Dfr,kfr=t=>{Ae(DCt.default);let e=J(),{dataTest:i,value:o="",onChange:r=()=>{},htmlAttrs:n={},style:a={},textRef:s=null,noTips:l=!1,isEnableBreakLine:c=!0,disabled:d,onKeyDown:u=()=>{}}=t,[p,m]=(0,c2i.useState)(o),h=g=>{let b=g.target;b.select&&b.select()},f="var(--font-color-input)";return d&&(f="var(--font-color-disabled-input)"),(0,SZ.jsx)(SZ.Fragment,{children:(0,SZ.jsxs)("div",{className:Efr,style:a,children:[(0,SZ.jsx)("textarea",{style:{color:f},"data-test":i,disabled:d,className:Afr,value:p,ref:s,...n,onBlur:g=>{let b=g.target.value;b!==o&&(b!==""&&b.trim().length<=0&&(b=g.target.value=o),r(b))},onFocus:h,onChange:g=>m(g.target.value),onKeyDown:g=>{if(g.key==="Enter")if(g.stopPropagation(),g.preventDefault(),c&&(g.ctrlKey||g.shiftKey||g.altKey)){let b=g.target.value,y=g.currentTarget,w=y.selectionStart,x=y.selectionEnd;g.target.value=b.substring(0,w)+`
`+b.substring(x),y.selectionStart=w+1,y.selectionEnd=w+1}else g.currentTarget.blur(),u(g,g.target.value);else u(g,g.target.value)}}),c?!l&&(0,SZ.jsx)("span",{className:Nfr,children:e("Ctrl / Shift / Alt + Enter for new line")}):null]})})},gpe=kfr;var ECt=L(u2i()),tre=L(z()),{locals:Pfr}=ECt.default,{origin_area:Ofr,square_wrap:Rfr,square:_fr,active:jfr,active_default:Bfr}=Pfr,bpe=t=>{Ae(ECt.default);let{hAlign:e,vAlign:i,defaultValue:o={},hasModified:r={},onChange:n,disabled:a}=t;return e=e!=null?e:o.hAlign,i=i!=null?i:o.vAlign,(0,tre.jsx)(tre.Fragment,{children:(0,tre.jsx)("div",{className:Ofr,children:(()=>{let l=[];for(let d=0;d<3;d++)l.push((0,tre.jsx)("div",{className:Rfr,children:c(d)},d));return l;function c(d){let u=[];for(let p=0;p<3;p++)u.push((0,tre.jsx)("span",{onClick:()=>{a||e===p&&i===d||n({hAlign:p,vAlign:d})},className:be(_fr,e===p&&i===d?jfr:"",!r.hAlign&&!r.vAlign&&e===p&&i===d&&e===o.hAlign&&i===o.vAlign?Bfr:"")},p));return u}})()})})};var MZ="<...>";var LQn=["polyline","circle","arc","rect","wire","bus","ellipse","bezier"],vQn=["text","Name","Property"];var p2i={beforeBasicProperties:"Before BasicProperties",basicProperties:"Basic Properties",keyProperties:"Key Properties",moreProperties:"More Properties",drawingBorderProperties:"Drawing Border",drawingTitleBlockProperties:"Title Block",combinationProperties:"Group",reuseBlockProperties:"Reuse Block",cellProperties:"Cell Attributes",tableTextProperties:"Text Attributes",SimProperties:"Simulation Properties",SpiceProperties:"Model Binding",SimulationSettings:"SimulationSettings"};var K6=L(Se());var NCt=L(h2i());var ACt={"unit(mm)":()=>{Ho.switchUnitBtn("unit(mm)")},"unit(inch)":()=>{Ho.switchUnitBtn("unit(inch)")},"unit(change)":()=>{let t=tP();if(t=="inch"){Ho.switchUnitBtn("unit(mm)");return}if(t=="mm"){Ho.switchUnitBtn("unit(inch)");return}}};function LT(t,e){if(ACt&&Object.hasOwnProperty.call(ACt,t))return ACt[t](e);C.messageBus.publish("doCommand",[t,e])}var q_=L(z()),{locals:zfr}=NCt.default,{main:Ffr,textarea:Ufr,tip:YQn,item:Vfr}=zfr,f2i=({tabId:t,eId:e,title:i="",isCurrent:o,cmdKey:r,onMouseEnterAction:n,onClickAction:a,onMouseLeaveAction:s})=>{let l=J(),c=(0,K6.useRef)(null);return(0,K6.useEffect)(()=>{o&&(c.current.parentNode.scrollTop=c.current.offsetTop-c.current.parentNode.offsetTop)},[o]),(0,q_.jsxs)("div",{ref:c,className:Vfr,onMouseEnter:d=>n(d),onMouseLeave:d=>s(d),onClick:d=>a(d),title:i,children:[i,o?`(${l("Current")})`:""]})},Hfr=t=>{Ae(NCt.default);let e=J(),{dataTest:i,value:o,style:r={},isMulti:n}=t,a=(0,K6.useRef)(null),s=(0,K6.useRef)(null),l=(0,K6.useRef)(null),[c,d]=(0,K6.useState)(!1),u=C.profileSetting.textAreaRelevanceHeight||72,[p,m]=(0,K6.useState)(C.profileSetting.textAreaRelevanceHeight||72),h=(0,K6.useCallback)(async(x,S,T,M)=>{if(n)return!1;if(x.detail===2)if(clearTimeout(a.current),S==="all"){let I=lo(o[0].tabId,C.currentProject.projectId);await he.getTabIFrame(I)?C.messageBus.publish("updateSelectEle",{sheet:I,id:o[0].id}):yn({tabId:o[0].tabId}).then(()=>{C.messageBus.publish("updateSelectEle",{sheet:I,id:o[0].id})})}else{C.messageBus.publish("cancelSelect");let I={sheet:S,id:T,fit:1};C.messageBus.publish("updateSelectEle",I)}else clearTimeout(a.current),a.current=setTimeout(()=>{if(S==="all"){let I={};S==="all"&&it(o,(A,D)=>{let E=lo(D.tabId,C.currentProject.projectId);En(I,E).push(D.id)}),LT("modifyModelsByTabIds",{data:I,attrs:{selected:!0}})}else{C.messageBus.publish("cancelSelect");let I={sheet:S,id:T,fit:0};C.messageBus.publish("updateSelectEle",I)}},200)},[]),f=(x,S,T)=>{if(n)return!1;let M={};x==="all"?it(o,(I,A)=>{let D=lo(A.tabId,C.currentProject.projectId);En(M,D).push(A.id)}):M[lo(x,C.currentProject.projectId)]=[S],LT("modifyModelsByTabIds",{data:M,attrs:{highlighted:T==="enter"}})},g=(0,K6.useCallback)((x,S,T,M)=>{f(S,T,"enter")},[]),b=(0,K6.useCallback)((x,S,T,M)=>{f(S,T,"leave")},[]),y=x=>{if(c){let S=s.current.clientHeight;m(S)}},w=ue.throttle(()=>{u!==p&&(C.profileSetting.textAreaRelevanceHeight=p||72,mt.setCacheObj("textAreaRelevanceHeight",C.profileSetting.textAreaRelevanceHeight),mt.saveToServer())},200);return(0,q_.jsx)(q_.Fragment,{children:(0,q_.jsx)("div",{className:Ffr,style:r,children:(0,q_.jsxs)("div",{"data-test":i,className:Ufr,style:{height:p},ref:s,onMouseMove:x=>{var S;(S=x.target)!=null&&S.title||y(x)},onMouseDown:x=>{d(!0)},onMouseUp:x=>{var S;(S=x.target)!=null&&S.title||(d(!1),w())},children:[o.length>0&&!n&&(0,q_.jsx)(f2i,{tabId:"all",eId:"all",title:e("All"),isCurrent:!1,cmdKey:o[0].cmdKey,onClickAction:x=>{h(x,"all","all","all")},onMouseEnterAction:x=>{g(x,"all","all","all")},onMouseLeaveAction:x=>{b(x,"all","all","all")}},"all"),o.map((x,S)=>(0,q_.jsx)(f2i,{tabId:x==null?void 0:x.tabId,eId:x==null?void 0:x.id,title:x==null?void 0:x.title,isCurrent:x==null?void 0:x.isCurrent,cmdKey:x.cmdKey,onClickAction:T=>{h(T,x==null?void 0:x.tabId,x==null?void 0:x.id,x.cmdKey)},onMouseEnterAction:T=>{g(T,x==null?void 0:x.tabId,x==null?void 0:x.id,x.cmdKey)},onMouseLeaveAction:T=>{b(T,x==null?void 0:x.tabId,x==null?void 0:x.id,x.cmdKey)}},x.tabId+x.id))]})})})},g2i=Hfr;var Rt={Layer:"Layer",LineWidth:"Line Width",LineLength:"Line Length",ArcLength:"Arc Length",ArcType:"Arc Type",StartArcAngle:"Start Arc Angle",EndArcAngle:"End Arc Angle",Length:"Length",Net:"Net",NetLength:"Net Length",Locked:"Locked",AutoTrimSilkscreen:"Auto Trim Silkscreen",ID:"ID",Group:"Group",Radius:"Radius",StartX:"Start X",StartY:"Start Y",Width:"Width",Height:"Height",Name:"Name",EndX:"End X",EndY:"End Y",CenterX:"Center X",CenterY:"Center Y",Mirror:"Mirror",Rotation:"Rotation",ArcRotation:"Arc Rotation",Type:"Type",StartLayer:"Start Layer",EndLayer:"End Layer",OutsideDiameter:"Outside Diameter",InsideDiameter:"Inside Diameter",TopLayerSolderMaskExpansion:"TopLayer Solder Mask Expansion",BottomLayerSolderMaskExpansion:"BottomLayer Solder Mask Expansion",DimensionType:"Dimension Type",Unit:"Unit",TextHeight:"Text Height",DimensionAccuracy:"Dimension Accuracy",SilkColor:"Silk Screen Color",Content:"Content",FontFamily:"Font Family",StrokeWidth:"Stroke Width",Inverted:"Inverted",InvertedExpansion:"Inverted Expansion",Origin:"Origin",PropertyName:"Property Name",PropertyValue:"Property Value",SilkScreenColor:"Silk Screen Color",GroupID:"Group ID",ChannelID:"Channel ID",ReuseBlock:"Reuse Block",Shape:"Shape",Number:"Number",CornerRadiusRatio:"Corner Radius Ratio",Diameter:"Diameter",Direction:"Direction",OffsetX:"Offset X",OffsetY:"Offset Y",Plated:"Plated",SolderMaskExpansion:"Solder Mask Expansion",PasteMaskExpansion:"Paste Mask Expansion",PadConnection:"Pad Connection",SpokeAngles:"Spoke Angles",SpokeSpacing:"Spoke Spacing",SpokeWidth:"Spoke Width",Combination:"Combination",PinLen:"Pin length",CopperBridge:"Copper Bridge"};var uV=L(Se());var b2i=L(Se());function PCt(t,e){let i=document.querySelectorAll(`#${t}`);for(let o=0;o<i.length;o++)if(i[o].contains(e))return i[o];return null}var y2i=(t,e,i,o)=>{(0,b2i.useEffect)(()=>{e.current.addEventListener("mousedown",r=>{let n=t;typeof t=="string"&&(n=PCt(t,e.current)),document.documentElement.style.userSelect="none";let{left:a,top:s}=n.getBoundingClientRect();function l(d){if(d.preventDefault(),d.buttons!==1){c();return}let u=n.clientWidth,p=n.clientHeight,m=d.clientX-a,h=d.clientY-s;i({parentWidth:u,parentHeight:p,mouseOffsetX:m,mouseOffsetY:h}),document.body.style.cursor="col-resize"}function c(){document.body.style.cursor="",document.removeEventListener("mouseup",c),kCt("remove","mouseup",c),document.removeEventListener("mousemove",l),o(),document.documentElement.style.userSelect=null}document.addEventListener("mousemove",l),document.addEventListener("mouseup",c),kCt("add","mouseup",c)})},[])};var OCt=L(C2i());var T2i=L(z()),{locals:Gfr}=OCt.default,{drag_button:Yfr}=Gfr;function x2i(t){let e="pop-content-container",i=t;for(;i=i.parentElement,i;)if(i.classList.contains(e))return!0;return!1}var M3=t=>{let{propertyPanelId:e}=t;Ae(OCt.default);let i=(0,uV.useRef)(null),o=(0,uV.useRef)(null),[r,n]=(0,uV.useState)(C.profileSetting.attributePanelColumnWidth||{});(0,uV.useLayoutEffect)(()=>{let l=r[e]||50;if(o.current=PCt(e,i.current),o.current){let c=o.current.querySelectorAll(".key_section");for(let d=0;d<c.length;d++)c[d].style.flex=`0 0 ${l}%`}});let a=l=>{let{parentWidth:c,mouseOffsetX:d}=l;d=d>c*.7?c*.7:d<c*.1?c*.1:d,d=d/c*100;let u=o.current.querySelectorAll(".key_section");for(let p=0;p<u.length;p++)u[p].style.flex=`0 0 ${d}%`;x2i(o.current)||(r[e]=d,n(r))},s=ue.throttle(()=>{x2i(o.current)||(C.profileSetting.attributePanelColumnWidth=r||{},mt.setCacheObj("attributePanelColumnWidth",C.profileSetting.attributePanelColumnWidth),mt.saveToServer())},200);return y2i(e,i,a,s),(0,uV.useEffect)(()=>()=>{o.current=void 0},[]),(0,T2i.jsx)("i",{ref:i,className:Yfr})};var RCt=L(Se());var lP=L(z());function S2i(t){let e=t&&t.type,i=t&&t[e],o=J(),[r,n]=(0,RCt.useState)(i&&i.inputValue||""),[a,s]=(0,RCt.useState)(i&&i.isLink||!1);if(!t)return(0,lP.jsx)(lP.Fragment,{});if(!i)return(0,lP.jsx)(lP.Fragment,{});switch(e){case"text":{let{text:l,style:c}=i;return(0,lP.jsx)("span",{style:c,"data-test":typeof l=="string"?l:l.value,children:o(l)})}case"icon-button":{let{title:l="",icon:c,style:d,onClick:u,onInputChange:p}=i,m={width:"25px",height:"18px",marginLeft:"0",cursor:"pointer",borderLeft:"1px solid transparent",backgroundPosition:"center"};return i.onInputChange=function(h){n(h),p&&p(h)},(0,lP.jsx)("div",{className:c,title:o(l),style:{...m,...d},onClick:h=>{u.call(null,h,r)}})}case"linking":{let{linkTitle:l,unLinkTitle:c,style:d,onClick:u}=i,p={position:"absolute",top:"-13px",right:"8px",width:"16px",height:"16px",backgroundSize:"16px 16px",backgroundRepeat:"no-repeat",transform:"rotate(90deg)",cursor:"pointer"};return(0,lP.jsx)("div",{className:a?"icon-eda-link":"icon-eda-unlink",title:o((a?l:c)||""),style:{...p,...d},onClick:m=>{u.call(null,m),s(!a)}})}default:break}return(0,lP.jsx)(lP.Fragment,{})}var KLt=L(I2i());var I3={mapBlendedData:{}};var IZ=L(z());async function L2i(t={}){let e={action:"no",data:t},i=`
        <div>
            <div style="line-height: 20px;">${me.i18n("Can not change to Blind/Buried Via, please add Blind/Buried Via rule at Design Rule first.")}</div>
        </div>
    `;return new Promise(async(o,r)=>{let n=()=>{let s=J();return(0,IZ.jsxs)(IZ.Fragment,{children:[(0,IZ.jsx)(Me,{type:"primary",size:"md",onClick:()=>{le.destroy(a);let d=Xi();C.windowBridge.publish("DesignRuler",{activeTab:"Rule",activeMenu:"Blind/Buried Via"},d.contentWindow),Z6(),e.action="yes",o(e)},children:"Design Rule"}),(0,IZ.jsx)(Me,{size:"md",onClick:()=>{le.destroy(a),Z6(),e.action="no",o(e)},children:"Cancel"})]})},a=(await C.messageBus.rpcCall("messageSync",{type:"confirm",title:"Notice",isHtml:!0,message:i,footer:(0,IZ.jsx)(n,{}),closable:!0,onClose:()=>{Z6()}})).message})}async function v2i(t,e,i,o){let{primitiveType:r}=o,n={msg:"",ret:0,value:e,useToast:!1};if(t==="attr-select-net"&&(n.value=ype(String(n.value))),t==="attr-text-content"){let a=String(e);r==="COMPONENT_ATTR_TEXT"?a.length>=255&&(a=i,n.msg=me.i18n("Text cannot be more than 255 characters!"),n.useToast=!0):a.length>=4097&&(a=i,n.msg=me.i18n("Text cannot be more than 4096 characters!")),n.value=a}if(t==="attr-copper-line-width"&&+e<=0&&(n.value=i),t==="attr-copper-line-spacing"&&+e<0&&(n.value=i),t==="attr-reversed-phase-extend"&&+e<0&&(n.value=i),t==="attr-manufacture-optimization-value"&&(+e<0&&(n.value=i),+e>=5e3&&(n.value=i)),r==="TAGGING"&&(t==="attr-width"&&+e<=0&&(n.value=i),t==="attr-text-height"&&+e<=0&&(n.value=i)),(r==="PAD"||r==="TESTPOINTER")&&t==="attr-number"){let a=String(e).replace(/[^0-9a-zA-Z?]/gi,"").toUpperCase();e&&a===""?n.value=i:n.value=a}if(t==="attr-via-buriedhole-showtype"){let a=o.attrlist,s=o.primitiveType;((a[s]["attr-via-buriedhole-type"]||{}).options||[]).length<=0&&(n.ret=-1,L2i(),o.attrlist.VIA["attr-via-buriedhole-showtype"].value="1")}return n}var wpe=L(Se());var LZ=L(Se());var lTe=L(Se());var X_=L(Se());var _Ct=L(E2i()),rre=L(z());var ore=(i=>(i.close="open",i.open="close",i))(ore||{}),A2i=(i=>(i.close="none",i.open="flex",i))(A2i||{});function Wfr({class:t="",title:e,id:i,children:o,style:r,height:n,showBgColor:a,status:s="close",dataKey:l,dataTest:c,dataUuid:d,data:u,i18n:p=!0,onIconClick:m,onClick:h,onChange:f},g){Ae(_Ct.default);let b=J(),{locals:y}=_Ct.default,w=be.bind(y),[x,S]=(0,X_.useState)(s),T=(0,X_.useRef)(null);(0,X_.useImperativeHandle)(g,()=>({iconClick:E=>{m==null||m(E),S(E)}}),[]),(0,X_.useEffect)(()=>{S(s)},[s]);let M=be("lc-collapse-header",{"bg-color":a,"hover-bg-color":!a}),I=be("lc-collapse-box",{"mb-8":a}),A=()=>{var E;if(u!=null&&u.isDisabledSelected){S(ore[x]);return}h==null||h(),!m&&S(ore[x]),(E=T.current)==null||E.setAttribute("data-status",ore[x]),f==null||f(x==="open"?"close":"open")},D=E=>{var N;E.stopPropagation(),m==null||m(ore[x]),S(ore[x]),(N=T.current)==null||N.setAttribute("data-status",ore[x]),f==null||f(x==="open"?"close":"open")};return(0,rre.jsxs)("div",{"data-key":l,className:w(I),children:[(0,rre.jsxs)("div",{"data-test":c||e,"data-uuid":d,title:p?b(e):e,id:i,"data-status":s,className:w(M,t),style:{height:n,...r},onClick:A,ref:T,children:[(0,rre.jsx)("i",{className:w(`icon-${x}`),onClick:D}),(0,rre.jsx)("span",{children:p?b(e):e})]}),(0,rre.jsx)("div",{className:w("lc-collapse-body"),style:{display:A2i[x]},children:o})]})}var c0=(0,X_.forwardRef)(Wfr);var cP=L(z()),N2i=t=>{let{title:e,content:i,after:o,noHead:r,collapsed:n=!1,callScene:a="ATTR_PANEL",onCollapse:s}=t,[l,c]=(0,lTe.useState)(0),d=(0,lTe.useRef)({collapsed:n?"close":"open"}),[u,p]=(0,lTe.useState)(ms.getActiveTheme()),m=()=>(0,cP.jsxs)(cP.Fragment,{children:[(0,cP.jsx)("div",{style:{height:"8px"}}),(0,cP.jsx)("div",{children:i},new Date().getTime())]});return Ce(ms,()=>(p(ms.getActiveTheme()),!0)),(0,cP.jsxs)(cP.Fragment,{children:[r?m():(0,cP.jsx)(c0,{status:d.current.collapsed,style:{backgroundColor:"var(--common-bg-color-panel-header)",marginBottom:"8px",...u=="dark"&&d.current.collapsed==="open"?{boxShadow:"0 8px 0 0 #353535"}:{}},title:e,id:e.replace(" ","_"),onChange:h=>{C.messageBus.publish("ui/groupCollapseChange",{title:e,status:h,callScene:a}),d.current.collapsed=h,c(f=>f+1),s&&s({title:e,status:h,callScene:a})},children:(0,cP.jsx)("div",{children:i},new Date().getTime())}),o||""]})};function U_e(t="MULTI"){return{SMARTDIMENSION:"Smart Dimension",TAGGING:"Dimension",DEVICE:"Component","2DLINE":"Outline Object",FPC_STIFFENER:"FPC Stiffener",MULTI:"Multiple Objects",PLANEZONE:"PlaneZone",TESTPOINTER:"test point",IMAGE:"Image",TRUECOLORPICTRUE:"Colorful Image",COPPERRESULT:"Copper Fills",TEXT:"Text",COMPONENT_ATTR_TEXT:"Component Property"}[t]||t}var jCt=L(P2i()),nre=L(z()),{locals:Qfr}=jCt.default,{head:Kfr,type:KKn,select_num:Zfr}=Qfr,O2i=t=>{let{type:e,selectNum:i}=t;e=U_e(e);let o=J();return Ae(jCt.default),(0,nre.jsxs)("div",{className:Kfr,children:[(0,nre.jsx)("span",{className:e,"head-title":"selected-objs-title","data-test":e,children:o(e)}),(0,nre.jsxs)("div",{children:[(0,nre.jsx)("span",{children:o("Selected Objects")}),(0,nre.jsx)("span",{"head-count":"attr-selected-count",className:Zfr,children:i})]})]})};var cTe=L(z()),Jfr=(t,e)=>{let{headInfo:i,groups:o,callScene:r="ATTR_PANEL",onMounted:n,onCollapse:a}=t,s=(0,LZ.useRef)(null);return(0,LZ.useImperativeHandle)(e,()=>s.current),C.messageBus.publish("propertyPanelComplete"),(0,LZ.useEffect)(()=>{n&&n()},[]),(0,cTe.jsxs)("div",{ref:s,className:"property_panel",style:{height:"100%",overflow:"auto"},children:[i&&(0,cTe.jsx)(O2i,{...i}),o.map((l,c)=>(0,cTe.jsx)(N2i,{...l,callScene:r,onCollapse:a},l.title))]})},tf=(0,LZ.forwardRef)(Jfr);var G_e=L(Se());var j2i=L(_2i()),z2i=L(z()),B2i=t=>{let{propertyKey:e,value:i,style:o,defaultValue:r,extra:n,valueType:a="input",propertyTitleDataTest:s}=t;Ae(j2i.default);let l=J(),c=(0,G_e.useRef)(null),d=t.valueDisabled===void 0?t.disabled:t.valueDisabled,{onChange:u,propertyPanelId:p,targetFilterBySelectedType:m,docType:h}=(0,G_e.useContext)(BCt);return(0,z2i.jsx)(ao,{menu:mv,ref:c,valueDisabled:d,propertyPanelId:p,...t,onChange:(...g)=>{t.onFilterChange instanceof Function&&t.onFilterChange(...g),(t.onChange||u)(...g)}})};var VCt=L(U2i());var FCt=L(zCt());var dTe=L(z()),{locals:qfr}=FCt.default,{select_obj:Xfr,radio:$fr}=qfr,H2i=t=>{let{types:e,selectedTypes:i,onSelectedTypeChange:o}=t,r=J();return Ae(FCt.default),(0,dTe.jsx)("ul",{className:Xfr,children:(()=>{let a=[];for(let s=0;s<e.length;s++)a.push((0,dTe.jsx)("li",{className:$fr,children:(0,dTe.jsx)(qt,{checked:i.indexOf(e[s])>=0,name:e[s],onChange:l=>{o(e[s],l)},children:(0,dTe.jsx)("span",{children:r(U_e(e[s]))})})},s));return a})()})};function G2i(t,e){if(!e)return;let i=Array.from(t.querySelectorAll("[data-attr-key]")),o=-1,r=!1;for(let a=0;a<i.length;a++){let s=i[a];if(r===!0||s.getAttribute("data-attr-key")===e){r=!0;let l=i[a+1];if(!l||l.nodeType!==1)break;let c=l.nodeName.toLocaleUpperCase();if(["INPUT","SELECT","SINGLE-SELECT"].indexOf(c)<=-1)continue;o=a+1;break}}let n=i[o];n&&(n.focus(),window.setTimeout(()=>{n.select&&n.select()}))}var uC=L(z()),{locals:egr}=VCt.default;function tgr(t,e,i){let r=(da.data[t]||{}).groups;e:for(let n=0;n<r.length;n++){let a=r[n].content?r[n].content.data||[]:[];for(let s=0;s<a.length;s++)if(a[s].propertyKey===e){a[s].value=i;break e}}}function igr(t,e,i){let r=(da.data[t]||{}).groups;for(let n=0;n<r.length;n++)if(r[n].title===e){r[n].collapsed=i!=="open";break}}var UCt=class extends qe{constructor(){super(...arguments);this.hasBindCaptureEvent=!1;this.bluredKey="";this.tabKeyPressed=!1;this.data={};this.mapBlendedData={};this.callScene="ATTR_PANEL"}update(i,o){i!==void 0&&(this.data[o]=i),this.notify()}getSubmitDataForDialog(i){let r=I3.mapBlendedData[i];if(!r)return console.error("PcbPropertyStore.GetSubmitDataForDialog Error:",I3,i),null;let n=r.extra||{},a=ue.deepClone(r.attrlist),s=Object.keys(a);for(let c=0;c<s.length;c++){let d=a[s[c]],u=Object.keys(d);for(let p=0;p<u.length;p++)d[u[p]]=d[u[p]].value}let l={action:"confirm",fromType:n.fromType,dialogId:n.dialogId,head:{doctype:r.doctype,primitive:r.primitiveType,unit:r.unit},body:a};return this.destoryCacheData(i),l}destoryCacheData(i){let o=I3.mapBlendedData;typeof o[i]<"u"&&delete o[i]}},sA="pcb_property_panel",da=new UCt,BCt=(0,wpe.createContext)({}),Cpe=t=>{Ae(VCt.default),Ce(da);let{callScene:e="ATTR_PANEL"}=t,i=(0,wpe.useRef)(null),o=da.data[e];if((0,wpe.useEffect)(()=>{let h=da.focus;if(i!=null&&i.current&&h&&h.propertyPanelId===sA){let{propertyKey:f}=h,g=JSON.parse(localStorage.getItem("sch.attrPanel"))||{},b=i.current.querySelector("#"+"More Properties".replace(" ","_"));b&&(b.getAttribute("data-status")==="open"||(b.click(),g.morePropertiesShow=!0,localStorage.setItem("sch.attrPanel",JSON.stringify(g)))),setTimeout(()=>{var w;let y=(w=i==null?void 0:i.current)==null?void 0:w.querySelector(`input[name="${f}"]`);y&&y.focus()}),da.focus=null}},[da.focus]),!o||!o.groups)return(0,uC.jsx)(uC.Fragment,{});let{docType:r}=o,n=0;function a(h,f){h=ue.deepClone(h);let{headInfo:g,groups:b,docType:y,addProperty:w}=h;(b.length>1&&b[0].title=="Select Object"&&b[1].title=="Group Name"||b.length&&b[0].title=="Group Name")&&(n=-1);for(let T=0;T<b.length;T++){let{title:M,content:I}=b[T];switch(M){case"Select Object":{let{types:D,selectedTypes:E}=I;b[T].content=(0,uC.jsx)(H2i,{types:D,selectedTypes:E,onSelectedTypeChange:c});break}case"Property":{let{data:D}=I;b[T].content=(0,uC.jsx)(uC.Fragment,{children:S(M,D,g)});break}case"Combination":{let{data:D}=I;b[T].content=(0,uC.jsx)(uC.Fragment,{children:S(M,D,g)});break}case"Path":{let{data:D}=I;b[T].content=(0,uC.jsx)(uC.Fragment,{children:S(M,D,g)});break}default:let{data:A}=I;b[T].content=(0,uC.jsx)(uC.Fragment,{children:S(M,A,g)});break}}return h;function S(T,M,I){let A=[];for(let D=0;D<M.length;D++)e==="CUSTOM_DIALOG"&&M[D].propertyKey==="attr-id"||(A.push((0,uC.jsx)(B2i,{index:n,...M[D],groupTitle:T,callScene:I.callScene},D)),n++);return A}}let s=h=>{igr(e,h.title,h.status)},l=async(h,f,g)=>{let b=I3.mapBlendedData,y=(g==null?void 0:g.callScene)||"ATTR_PANEL",w=b[y];if(!w)return;let x=w.primitiveType,S=Object.values(f)[0],T=Object.values(h)[0],M=S.propertyKey,I=T.value,A=S.value,D=w.extra||{},N=(w.attrlist[x]||{})[M];if(N&&(N.value=I),tgr(y,M,I),da.update({...da.data[y]},y),w.callScene!=="ATTR_PANEL"){let R=Xi();C.windowBridge.publish("pcbdialogModify",{action:"change",[M]:I,dialogId:D.dialogId},R.contentWindow);return}Oc(M,I,A,{...g,callScene:y})},c=(h,f)=>{let g=I3.mapBlendedData,b="ATTR_PANEL",y=g[b],w=JSON.parse(JSON.stringify(y.status)),x=[],S=Object.keys(w);if(h==="All")for(let I=0;I<S.length;I++)x.push({title:S[I],value:S[I],isChecked:f});else{typeof w[h]<"u"&&(w[h]=f);for(let I=0;I<S.length;I++)x.push({title:S[I],value:S[I],isChecked:w[S[I]]})}let T={primitiveStatus:x},M=Xi();C.windowBridge.publish("togglePrimitiveCheckedByPanel",T,M.contentWindow)},d=h=>{},u=()=>{},p=()=>{},m=()=>{window.setTimeout(()=>{G2i(document.getElementById(sA),da.bluredKey)})};return(0,uC.jsx)(BCt.Provider,{value:{onChange:l,onSelectedTypeChange:c,onAddProperty:d,propertyPanelId:sA,docType:r},children:(0,uC.jsx)("div",{className:egr.pcb_property_panel,id:sA,children:(0,uC.jsx)(tf,{propertyPanelId:sA,...a(o,p),ref:i,callScene:e,onMounted:m,onCollapse:s})})})};function Ya(t){let{attrList:e=[],name:i,type:o,extend:r,readonly:n,valueOptionNoI18n:a,hidenColorDefaultBtn:s=void 0,keyCheckBox:l,keyChecked:c}=t,d=e[i];if(!d)return{propertyTitle:i,value:"",valueType:"input"};let u={propertyKey:i,value:d.value,propertyTitle:d.title,valueType:o,valueOptions:d.options||[],valueDisabled:n===!0||(r==null?void 0:r.valueDisabled)||!1,disabled:n===!0||(r==null?void 0:r.valueDisabled)||!1,hidenColorDefaultBtn:s,keyCheckBox:l,keyChecked:c};return a&&u.valueOptions&&u.valueOptions.forEach(p=>{p.showOriginalText=!0}),r&&Object.assign(u,r),u}function Q_e(t){let{attrList:e=[],name:i,buttonsConfig:o,valueType:r="buttonList",extend:n,readonly:a}=t,s=e[i];if(!s)return{propertyTitle:i,value:"",valueType:"input"};a&&o.forEach(c=>c.readonly=a);let l={propertyKey:i,value:s.value,propertyTitle:s.title,valueType:r,valueOptions:s.options||[],buttonsConfig:o};return n&&Object.assign(l,n),l}function wv(t,e){return[{value:e?"true":"yes",text:(t==null?void 0:t.yes)||"Yes"},{value:e?"false":"no",text:(t==null?void 0:t.no)||"No"}]}function Cv(t){let{text:e,button:i,readonly:o}=t;return{propertyKey:e,propertyTitle:e,value:e,valueType:"button",isShowPropertyKey:!1,contentStyle:{justifyContent:"center",padding:"8px 0px 18px 10px"},button:i,valueDisabled:o===!0,disabled:o===!0}}function Y2i(t,e,i){let o=Math.pow(10,e),r=Math.round(t*10*o)/o;return i!="mil"&&(r=ue.unitConversion.conversion1("mil",i,r)),r.toFixed(e)}function xpe(t,e=!1){let i=t,o=me._cache[me.curr];if(!o)return{text:t,sourceText:i,context:void 0};if(e)return{text:me.i18n(t),sourceText:i,context:void 0};let r=o["@@attrs"];return r&&r[t]?{text:r[t],sourceText:i,context:"attrs"}:{text:me.i18n(t),sourceText:i,context:void 0}}function Q2i(t){var k,P;let{unit:e,readonly:i}=t,o={inputUnit:e,originUnit:e},r="calc(100% - 32px)",n="calc(100% - 56px)",a="calc(100% - 28px)",s="calc(100% - 6px)",l=t.primitiveType,c=t.attrlist[l],d=t.attrlist[l]||{};if(!c)return[];let u=O=>O.options.map(_=>_.value===O.value?"primary":"default"),p=(O,_=[])=>O.map((j,B)=>({style:_[B]||{},type:j})),m={overflow:"hidden",textOverflow:"ellipsis",display:"flex",justifyContent:"center",whiteSpace:"nowrap"},h=[{marginRight:"6%",...m,flex:1},{...m,flex:1}],f=[{marginRight:"4%",...m,flex:1},{marginRight:"4%",...m,flex:1},{...m,flex:1}],g=[{marginRight:"4%",...m,flex:1},{marginRight:"4%",...m,flex:1},{...m,flex:1}],b=u(c["attr-unit"]),y=p(b,h),w=u(c["attr-grid-type"]),x=p(w,f),S=u(c["attr-multi-grid-type"]),T=p(S,g),M=[{value:"allLayers",text:"All Layers"},{value:"currentLayer",text:"Current Layer"}],I=["WIRING_MODE_PUSHAWAY","WIRING_MODE_SURROUND_AND_PUSHAWAY"].includes((k=c["attr-routing-mode"])==null?void 0:k.value),A=(P=c["attr-remove-loop"])==null?void 0:P.value,D={title:"Document",content:{data:[]}};if(D.content.data.push(Q_e({attrList:c,name:"attr-unit",buttonsConfig:y,extend:{valueStyle:{width:"62%"}},readonly:i}),Q_e({attrList:c,name:"attr-grid-type",buttonsConfig:x,extend:{valueStyle:{width:r,overflow:"hidden"},needCompressText:!0},readonly:i}),Q_e({attrList:c,name:"attr-multi-grid-type",buttonsConfig:T,extend:{valueStyle:{width:r,overflow:"hidden"},needCompressText:!0,attachedContent:{type:"linking",linking:{isLink:+C.profileSetting.isAssociationPCBCanvasGridType==1,linkTitle:"Grid/Bold Grid Keep Type",unLinkTitle:"Not Grid/Bold Grid Keep Type",onClick:()=>{let _=+C.profileSetting.isAssociationPCBCanvasGridType==1?0:1;C.profileSetting.isAssociationPCBCanvasGridType=_,mt.savePreferencesToRemote(j=>({...j,isAssociationPCBCanvasGridType:_}),async j=>{let B=await ei();window.setTimeout(()=>{C.messageBus.publish("updateAssociationPCBCanvasGridType",+j.isAssociationPCBCanvasGridType,B&&B.contentWindow)})})}}}},readonly:i})),D.content.data.push(Ya({attrList:c,name:"attr-multi-grid-ratio",type:"numberInput",extend:{positive:!0},readonly:i})),c["attr-coosys-type"]&&(c["attr-coosys-type"].value===1&&D.content.data.push(Ya({attrList:c,name:"attr-grid-size",type:"unitInput",extend:{...o,valueStyle:{width:r},multiSplit:",",positive:!0},readonly:i})),c["attr-coosys-type"].value===2)){let O=d["attr-polar-angle-step"].value+"\xB0,"+d["attr-polar-radiu-step"].value+d["attr-unit"].value;D.content.data.push({propertyKey:"attr-polar-mixin-step",propertyTitle:d["attr-grid-size"].title,value:O,valueType:"polarGridInput",disabled:i===!0,inputUnit:d["attr-unit"].value})}D.content.data.push(Ya({attrList:c,name:"attr-snap-size",type:"unitInput",extend:{...o,valueStyle:{width:r},multiSplit:",",positive:!0,attachedContent:c["attr-coosys-type"].value===1?{type:"linking",linking:{isLink:+C.profileSetting.isAssociationPCBCanvasGridAndSnap==1,linkTitle:"Grid/Snap Keep Ratio",unLinkTitle:"Not Keep Grid/Snap Ratio",onClick:()=>{let _=+C.profileSetting.isAssociationPCBCanvasGridAndSnap==1?0:1;C.profileSetting.isAssociationPCBCanvasGridAndSnap=_,mt.savePreferencesToRemote(j=>({...j,isAssociationPCBCanvasGridAndSnap:_}),async j=>{let B=await ei();window.setTimeout(()=>{C.messageBus.publish("updateAssociationPCBCanvasGridAndSnap",+j.isAssociationPCBCanvasGridAndSnap,B&&B.contentWindow),C.windowBridge.publish("FlushAttrPlane",void 0,B.contentWindow),Td.updateGridSnapKeepRatioStatus(j.isAssociationPCBCanvasGridAndSnap)})})}}}:null},readonly:i}));let E=Wi("ADSORPTION","Snapping Key");D.content.data.push(Ya({attrList:c,name:"attr-snap",type:"select",keyCheckBox:!0,keyChecked:c["attr-snap"].value=="yes",extend:{containerStyle:{width:a},keyCheckBox:!0,keyChecked:c["attr-snap"].value=="yes",value:E.options.value,valueOptions:M,labelSectionStyle:{width:"95px",paddingLeft:"18px"},attachedContent:{type:"icon-button","icon-button":{title:"Snap Setting",icon:"icon-eda-setting",style:{marginRight:"4px"},onClick:()=>{Qc({menuSelected:"ADSORPTION"})}}},onChange:(O,_)=>{let j=O["attr-snap"];switch(j.keyName){case"keyChecked":let B;j.keyChecked?B="yes":B="no",Oc("attr-snap",B,_.keyChecked,{callScene:t.callScene});break;case"value":let V=j.value,G=Wi("ADSORPTION","Snapping Key",{defaultValue:{}});G.options.value=V,mt.settingApply(hn()),DZ(d0()),vZ(t).then(Q=>{da.update(Q,t.callScene)});break}}},readonly:i}),Ya({attrList:c,name:"attr-alt-grid-size",type:"unitInput",extend:{...o,positive:!0},readonly:i})),D.content.data.push(Ya({attrList:c,name:"attr-range",type:"range",extend:{onChange:(O,_)=>{if(_){let j=Xi();C.windowBridge.publish("changeHighlightValue",O,j.contentWindow)}else Oc("attr-range",O)}}}));let N={title:"Common Settings",content:{data:[]}};t.doctype===se.FOOTPRINT?(N.content.data=[Ya({attrList:c,name:"attr-track-width",type:"unitInput",extend:{...o,positive:!0},readonly:i||(c["attr-start-track-width"]?c["attr-start-track-width"].value==="rule":!1)}),Ya({attrList:c,name:"attr-rotating-object",type:"select",readonly:i}),Ya({attrList:c,name:"attr-track-minimum-corner",type:"numberInput",extend:{positive:!0,valueStyle:{width:n},attachedContent:{type:"text",text:{text:{value:"Times Line Width",context:"MinimumTrackCorners"},style:{marginLeft:"4px"}}},customCheck:O=>O>=0&&O<are&&Number.isInteger(O),validatedValue:O=>{let _=O>=0;return{isValid:_,value:_?O:""}}},readonly:i})],N.content.data.push({propertyKey:"attr-auto-trim-silkscreen",propertyTitle:Rt.AutoTrimSilkscreen,value:d["attr-auto-trim-silkscreen"].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],disabled:i===!0})):N.content.data=[Ya({attrList:c,name:"attr-start-track-width",type:"select",readonly:i}),Ya({attrList:c,name:"attr-track-width",type:"unitInput",extend:{...o,valueDisabled:c["attr-track-width"].disabled,positive:!0},readonly:i}),Ya({attrList:c,name:"attr-start-via-size",type:"select",readonly:i}),Ya({attrList:c,name:"attr-via-outside-diameter",type:"unitInput",extend:{...o,valueDisabled:c["attr-via-outside-diameter"].disabled,positive:!0},readonly:i}),Ya({attrList:c,name:"attr-via-inside-diameter",type:"unitInput",extend:{...o,valueDisabled:c["attr-via-inside-diameter"].disabled,positive:!0},readonly:i}),Ya({attrList:c,name:"attr-routing-mode",type:"select",readonly:i}),I&&Ya({attrList:c,name:"attr-routing-pushVia",type:"select",extend:{keyCheckBox:!1,labelSectionStyle:{paddingLeft:"20px"}},readonly:i}),I&&Ya({attrList:c,name:"attr-routing-pathOptimization4BePushed",type:"select",extend:{keyCheckBox:!1,labelSectionStyle:{paddingLeft:"20px"}},readonly:i}),Ya({attrList:c,name:"attr-routing-currentPathOptimization",type:"select",readonly:i}),Ya({attrList:c,name:"attr-remove-loop",type:"userContentRender",readonly:i,extend:{isShowPropertyKey:!1,isShowKeyCheckbox:!1,isShowValueCheckbox:!0,keyCheckBox:!1,valueCheckBox:!0,showDefaultKeyContent:!0,contentSectionStyle:{width:"95px",paddingLeft:"18px"},valueChecked:A,onChange:(O,_)=>{let j=O["attr-remove-loop"],B;j.valueChecked?B="yes":B="no",Oc("attr-remove-loop",B,_.valueChecked,{callScene:t.callScene})}}}),A&&Ya({attrList:c,name:"attr-remove-circuits-containing-vias",type:"plainText",readonly:i,extend:{isShowPropertyKey:!1,isShowKeyCheckbox:!1,isShowValueCheckbox:!0,keyCheckBox:!1,valueCheckBox:!0,showDefaultKeyContent:!0,contentSectionStyle:{width:"95px",paddingLeft:"38px"},valueChecked:c["attr-remove-circuits-containing-vias"].value,onChange:(O,_)=>{let j=O["attr-remove-circuits-containing-vias"];Oc("attr-remove-circuits-containing-vias",j.valueChecked,_.valueChecked,{callScene:t.callScene})}}}),A&&Ya({attrList:c,name:"attr-remove-antenna",type:"userContentRender",readonly:i,extend:{isShowPropertyKey:!1,isShowKeyCheckbox:!1,isShowValueCheckbox:!0,keyCheckBox:!1,valueCheckBox:!0,showDefaultKeyContent:!0,contentSectionStyle:{width:"95px",paddingLeft:"38px"},valueChecked:c["attr-remove-antenna"].value,onChange:(O,_)=>{let j=O["attr-remove-antenna"];Oc("attr-remove-antenna",j.valueChecked,_.valueChecked,{callScene:t.callScene})}}}),Ya({attrList:c,name:"attr-copper-region",type:"userContentRender",readonly:i,extend:{isShowPropertyKey:!1,isShowKeyCheckbox:!1,isShowValueCheckbox:!0,keyCheckBox:!1,valueCheckBox:!0,showDefaultKeyContent:!0,contentSectionStyle:{width:"95px",paddingLeft:"18px"},valueChecked:c["attr-copper-region"].value,onChange:(O,_)=>{let j=O["attr-copper-region"];Oc("attr-copper-region",j.valueChecked,_.valueChecked,{callScene:t.callScene})}}}),Ya({attrList:c,name:"attr-track-follow",type:"userContentRender",readonly:i,extend:{isShowPropertyKey:!1,isShowKeyCheckbox:!1,isShowValueCheckbox:!0,keyCheckBox:!1,valueCheckBox:!0,showDefaultKeyContent:!0,contentSectionStyle:{width:"95px",paddingLeft:"18px"},valueChecked:c["attr-track-follow"].value=="moveKeep",onChange:(O,_)=>{let j=O["attr-track-follow"],B;j.valueChecked?B="moveKeep":B="moveDisconnect",Oc("attr-track-follow",B,_.valueChecked,{callScene:t.callScene})}}}),Ya({attrList:c,name:"attr-rotating-object",type:"select",readonly:i}),Ya({attrList:c,name:"attr-track-minimum-corner",type:"numberInput",extend:{positive:!0,valueStyle:{width:n},attachedContent:{type:"text",text:{text:{value:"Times Line Width",context:"MinimumTrackCorners"},style:{marginLeft:"4px"}}},customCheck:O=>O>=0&&O<are&&Number.isInteger(O),validatedValue:O=>{let _=parseFloat(O),j=_>=0;return{isValid:j,value:j?_:""}}},readonly:i})].filter(Boolean);let R={defaultColor:"",needRefresh:!1},v={title:"Colorful Silkscreen Settings",content:{data:[Ya({attrList:c,name:"attr-top-side-board-color",type:"color",extend:{...R},readonly:i,hidenColorDefaultBtn:!0}),Ya({attrList:c,name:"attr-top-side-silkscreen-color",type:"color",extend:{...R},readonly:i,hidenColorDefaultBtn:!0}),Ya({attrList:c,name:"attr-bottom-side-board-color",type:"color",extend:{...R},readonly:i,hidenColorDefaultBtn:!0}),Ya({attrList:c,name:"attr-bottom-side-silkscreen-color",type:"color",extend:{...R},readonly:i,hidenColorDefaultBtn:!0})]}};return t.doctype===se.FOOTPRINT?[D,N]:[D,N,v]}function K2i(t){let{unit:e,readonly:i}=t,o=t.primitiveType,r=t.attrlist[o],n={title:"Property",content:{data:[]}};return n.content.data.push({propertyTitle:Rt.Length,originUnit:e,inputUnit:e,name:"attr-length",value:r["attr-length"].value,valueType:"unitInput",propertyKey:"attr-length",disabled:i===!0}),[n]}var Spe=L(z());function EZ(t){let{propertyKey:e,radius:i,originUnit:o,inputUnit:r,disabled:n}=t;return{propertyKey:e,propertyTitle:Rt.Radius,value:i,valueType:"unitInput",originUnit:o,inputUnit:r,contentStyle:{display:"flex",alignItems:"center"},contentRender:s=>(0,Spe.jsxs)(Spe.Fragment,{children:[(0,Spe.jsx)("span",{style:{display:"inline-block",width:20,overflow:"hidden",verticalAlign:"sub",color:_e.HEX_GRAY_COLOR3},children:"R"}),s]}),valueDisabled:n}}function Z2i(t){var w,x,S,T,M,I,A,D,E,N;let{selectNumberForId:e,primitiveType:i,unit:o,readonly:r,combination:n,selectCount:a,doctype:s}=t,l=t.attrlist[i],c=l["attr-locked"].value==="yes",d=((w=l["attr-unit"])==null?void 0:w.value)||t.unit,u=[],p={title:"Property",content:{data:[]}},m={title:"Location",content:{data:[]}},h={title:"Silk",content:{data:[]}},f=l["attr-tagging-type"].value,g=[];switch(f){case 1:let R=Y2i(l["attr-radius"].value/10,l["attr-tagging-accuracy"].value,l["attr-unit"].value);g=[{propertyKey:Rt.DimensionType,propertyTitleDataTest:Rt.DimensionType,value:f,valueType:"select",valueDisabled:!0,valueOptions:l["attr-tagging-type"].options,name:"attr-tagging-type",disabled:r===!0},{propertyTitle:Rt.Layer,value:l["attr-layerid"].value,valueType:"select",valueOptions:l["attr-layerid"].options,propertyKey:"attr-layerid",valueDisabled:c||r===!0,disabled:c||r===!0},{propertyTitle:Rt.Unit,value:l["attr-unit"].value,valueType:"select",valueOptions:[{value:"mm",text:"mm"},{value:"cm",text:"cm"},{value:"inch",text:"inch"},{value:"mil",text:"mil"}],disabled:r===!0,propertyKey:"attr-unit"},{propertyTitle:Rt.Width,value:l["attr-width"].value,valueType:"unitInput",inputUnit:o,originUnit:o,propertyKey:"attr-width",disabled:r===!0},EZ({propertyKey:"attr-radius",radius:R,originUnit:d,inputUnit:d,disabled:!0}),{propertyTitle:Rt.TextHeight,value:l["attr-text-height"].value,valueType:"unitInput",inputUnit:o,originUnit:o,propertyKey:"attr-text-height",disabled:r===!0},{propertyTitle:Rt.DimensionAccuracy,value:l["attr-tagging-accuracy"].value,valueType:"select",valueOptions:l["attr-tagging-accuracy"].options,propertyKey:"attr-tagging-accuracy",disabled:r===!0}];break;case 2:g=[{propertyKey:Rt.DimensionType,propertyTitleDataTest:Rt.DimensionType,value:f,valueType:"select",valueDisabled:!0,valueOptions:l["attr-tagging-type"].options,name:"attr-tagging-type",disabled:r===!0},{propertyTitle:Rt.Layer,value:l["attr-layerid"].value,valueType:"select",valueOptions:l["attr-layerid"].options,propertyKey:"attr-layerid",valueDisabled:c||r===!0,disabled:c||r===!0},{propertyTitle:Rt.Unit,value:l["attr-unit"].value,valueType:"select",valueOptions:[{value:"mm",text:"mm"},{value:"cm",text:"cm"},{value:"inch",text:"inch"},{value:"mil",text:"mil"}],propertyKey:"attr-unit",disabled:r===!0},{propertyTitle:Rt.Length,value:l["attr-length"].value,valueType:"unitInput",inputUnit:d,originUnit:d,valueDisabled:!0,propertyKey:"attr-length",disabled:r===!0},{propertyTitle:Rt.Width,value:l["attr-width"].value,valueType:"unitInput",inputUnit:o,originUnit:o,propertyKey:"attr-width",disabled:r===!0},{propertyTitle:Rt.TextHeight,value:l["attr-text-height"].value,valueType:"unitInput",inputUnit:o,originUnit:o,propertyKey:"attr-text-height",disabled:r===!0},{propertyTitle:Rt.DimensionAccuracy,value:l["attr-tagging-accuracy"].value,valueType:"select",valueOptions:l["attr-tagging-accuracy"].options,propertyKey:"attr-tagging-accuracy",disabled:r===!0}];break;case 3:g=[{propertyKey:Rt.DimensionType,propertyTitleDataTest:Rt.DimensionType,value:f,valueType:"select",valueDisabled:!0,valueOptions:l["attr-tagging-type"].options,name:"attr-tagging-type",disabled:r===!0},{propertyTitle:Rt.Layer,value:l["attr-layerid"].value,valueType:"select",valueOptions:l["attr-layerid"].options,propertyKey:"attr-layerid",valueDisabled:c||r===!0,disabled:c||r===!0},{propertyTitle:Rt.Rotation,value:l["attr-rotation"].value,valueType:"unitInput",propertyKey:"attr-rotation",disabled:r===!0},{propertyTitle:Rt.Width,value:l["attr-width"].value,valueType:"unitInput",inputUnit:o,originUnit:o,propertyKey:"attr-width",disabled:r===!0},{propertyTitle:Rt.TextHeight,value:l["attr-text-height"].value,valueType:"unitInput",inputUnit:o,originUnit:o,propertyKey:"attr-text-height",disabled:r===!0},{propertyTitle:Rt.DimensionAccuracy,value:l["attr-tagging-accuracy"].value,valueType:"select",valueOptions:l["attr-tagging-accuracy"].options,propertyKey:"attr-tagging-accuracy",disabled:r===!0}];break;default:if(g=[{propertyKey:Rt.DimensionType,propertyTitleDataTest:Rt.DimensionType,value:f,valueType:"select",valueDisabled:!0,valueOptions:(x=l["attr-tagging-type"])==null?void 0:x.options,name:"attr-tagging-type",disabled:r===!0},{propertyTitle:Rt.Layer,value:(S=l["attr-layerid"])==null?void 0:S.value,valueType:"select",valueOptions:l["attr-layerid"].options,propertyKey:"attr-layerid",valueDisabled:c||r===!0,disabled:c||r===!0},{propertyTitle:Rt.Unit,value:((T=l["attr-unit"])==null?void 0:T.value)||"",valueType:"select",valueOptions:[{value:"mm",text:"mm"},{value:"cm",text:"cm"},{value:"inch",text:"inch"},{value:"mil",text:"mil"}],propertyKey:"attr-unit",disabled:r===!0},{propertyTitle:Rt.Length,value:((M=l["attr-length"])==null?void 0:M.value)||0,valueType:"unitInput",inputUnit:d,originUnit:d,valueDisabled:!0,propertyKey:"attr-length",disabled:r===!0},{propertyTitle:Rt.Width,value:(I=l["attr-width"])==null?void 0:I.value,valueType:"unitInput",inputUnit:o,originUnit:o,propertyKey:"attr-width",disabled:r===!0},EZ({propertyKey:"attr-radius",radius:"0",originUnit:d,inputUnit:d,disabled:!0}),{propertyTitle:Rt.TextHeight,value:(A=l["attr-text-height"])==null?void 0:A.value,valueType:"unitInput",inputUnit:o,originUnit:o,propertyKey:"attr-text-height",disabled:r===!0},{propertyTitle:Rt.DimensionAccuracy,value:(D=l["attr-tagging-accuracy"])==null?void 0:D.value,valueType:"select",valueOptions:l["attr-tagging-accuracy"].options,propertyKey:"attr-tagging-accuracy",disabled:r===!0}],(E=l["attr-rotation"])!=null&&E.value){let v=g.findIndex(k=>k.propertyTitle==Rt.Unit);g.splice(v,0,{propertyTitle:Rt.Rotation,value:(N=l["attr-rotation"])==null?void 0:N.value,valueType:"unitInput",valueDisabled:!0,propertyKey:"attr-rotation",disabled:r===!0})}}p.content.data=g,u.push(p),m.content.data.push({propertyTitle:Rt.StartX,value:l["attr-start-x"].value,valueType:"unitInput",inputUnit:o,originUnit:o,propertyKey:"attr-start-x",name:"attr-start-x",disabled:c||r===!0},{propertyTitle:Rt.StartY,value:l["attr-start-y"].value,valueType:"unitInput",inputUnit:o,originUnit:o,propertyKey:"attr-start-y",name:"attr-start-y",disabled:c||r===!0},{propertyTitle:Rt.EndX,value:l["attr-end-x"].value,valueType:"unitInput",inputUnit:o,originUnit:o,propertyKey:"attr-end-x",name:"attr-end-x",disabled:c||r===!0},{propertyTitle:Rt.EndY,value:l["attr-end-y"].value,valueType:"unitInput",inputUnit:o,originUnit:o,propertyKey:"attr-end-y",name:"attr-end-y",disabled:c||r===!0},{propertyTitle:Rt.Locked,value:l["attr-locked"].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],propertyKey:"attr-locked",disabled:r===!0}),u.push(m);let b={title:"Combination",content:{data:[]}};if(n&&n.isAllCombination){b.title="Group Name";let R=a>1;b.content.data.push({propertyKey:"attr-combination",isShowPropertyKey:!1,value:l["attr-combination"].value,valueType:"selectInput",valueOptions:l["attr-combination"].options,disabled:c||R||r===!0,stillNeedClear:R}),u.unshift(b)}else b.content.data.push({propertyTitle:Rt.Group,propertyKey:"attr-combination",value:l["attr-combination"].value,valueType:"selectInput",valueOptions:l["attr-combination"].options,disabled:c||r===!0}),u.push(b);if(Wi("PCB_FOOTPRINT","isUsedJLCColorSilk")&&s===ve.PCB){let R=l["attr-silk-color"],v=(R==null?void 0:R.defaultValue)||_e.HEX_BLACK_COLOR,k=R!=null&&R.value&&!(R!=null&&R.followDefault)?R.value:v;l["attr-silk-color"]&&(h.content.data.push({propertyTitle:Rt.SilkColor,propertyKey:"attr-silk-color",name:"attr-silk-color",valueType:"color",value:k.toLocaleUpperCase(),defaultValue:v.toLocaleUpperCase(),needRefresh:!0,disabled:r===!0,colorPickerRestoreAction(P,O,_,j){Oc(P,"",_,j)}}),u.push(h))}return u}var J2i="Layer",q2i="Property",X2i="Filter",ngr="Sketche Property",$2i="Annotation",uTe="Common",pV="attrPanel",Mn={TAB_TITLE_HASHTABLE:{LAYER_TITLE:J2i,ATTR_TITLE:q2i,ELEMENT_TITLE:X2i,SKETCHER_ATTR_TITLE:ngr,ANNOTATION_TITLE:$2i},TAB_TITLE_HASHTABLE_ARR:[J2i,q2i,X2i,$2i],LAYER_ITEM_PANEL_TITLE_ARR:["All","Copper","Non-Copper"],ELEMENT_ITEM_PANEL_TITLE_ARR:["Pick","Display"],ELEMENT_PANELTITLE_MAP2_ELEMENT_DATAKEY:{Pick:"Filter",Display:"Display"},COPPER_LAYER_TAGS:["TOP","BOTTOM","MULTI","SIGNAL","PLANE"],SIGNAL_LAYER_TAGS:["TOP","BOTTOM","SIGNAL"],PLANE_LAYER_TAGS:["PLANE"],MULTI_LAYER_TAGS:["HOLE","MULTI"],LAYER_GROUP_TAG:{TOP:{value:1,name:"Top Side",layerIds:[1,3,5,7,9,58]},BOTTOM:{value:2,name:"Bottom Side",layerIds:[2,4,6,8,10,59]},COMPONENT:{value:3,name:"Component",layerIds:[48,49,50,51]},INNER:{value:5,name:"Inner Side",layerIds:[15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46]},OTHER:{value:6,name:"Other",defautLayerIds:[11,12,13,14,56,57]},D3SHELL:{value:4,name:"3D Shell",layerIds:[53,54,55]}},NO_TRANSLATE_I18N_NAMES:["GND"],ctxmenuContainerDomId:"attribute-contextmenu-containter",attributesAreaContainerDomId:"attribute-tabs-containter",complexValues:"<...>",defaultSelectOptionValue:"-",defaultSelectOptionTitle:"New Custom Property...",multiPrimitiveTag:"MULTI",commonRetainNameSpace:"commonRetain",panelNameSpace:"panel",globalTabTag:"globalTab"};var YJn={CANVAS:"CANVAS",TRACK:"TRACK",VIA:"VIA",PAD:"PAD",DEVICE:"DEVICE","2DLINE":"2DLINE",FPC_STIFFENER:"FPC_STIFFENER","3DSHELL":"3DSHELL",TEXT:"TEXT",COMPONENT_ATTR_TEXT:"COMPONENT_ATTR_TEXT",TAGGING:"TAGGING",IMAGE:"IMAGE",PLANEZONE:"PLANEZONE",TESTPOINTER:"TESTPOINTER",SMARTDIEMENSION:"SMARTDIEMENSION",TEARDROP:"TEARDROP",COPPERRESULT:"COPPERRESULT",[Mn.multiPrimitiveTag]:Mn.multiPrimitiveTag},Sc={soldermaskType:{normal:"1",custom:"2",defaultValueForNormal:"Follow Rule",defaultValueForCustom:"4"},buriedholeType:{normal:"1",buriedhole:"2"},TOP_LAYER:"1",BOTTOM_LAYER:"2",SINGLE_LAYERS:[],PLANE_LAYERS:[],MULTI_LAYER:[],PIN_SOLDERING_LAYER:50,PIN_FLOATING_LAYER:51,TOP_SILK:"3",BOTTOM_SILK:"4",padShapeShowType:{normal:"1",custom:"2",polygon:"3"},padThermalRule:{normal:"1",custom:"2"},padGemotryType:{ELLIPSE:"ELLIPSE",RECT:"RECT",OVAL:"OVAL",ROUND:"ROUND"},_2dlineTypeMap:{boardOutline:"Board Outline",boardCutout:"Slot Region",copperArea:"Copper Region",solidRegion:"Fill Region",prohibitedRegion:"Prohibited Region",line:"Line",constraintRegion:"Constraint Region",fpcStiffener:"FPC Stiffener"},_2dlineTypSelectOptions:[{text:"Board Outline",value:"Board Outline"},{text:"Slot Region",value:"Slot Region"},{text:"Copper Region",value:"Copper Region"},{text:"Fill Region",value:"Fill Region"},{text:"Prohibited Region",value:"Prohibited Region"},{text:"Line",value:"Line"},{text:"Constraint Region",value:"Constraint Region"}],_3dShellTypeSelectOption:{"3D Shell - Outline":[{text:"Push cover",value:"DRAWER",selected:!1},{text:"Upper and lower shell",value:"T&B",selected:!1}],"3D Shell - Screw Pillar":[{text:"Fix PCB and shell",value:"Fix PCB and shell",selected:!0},{text:"Fix the upper and lower shells",value:"Fix the upper and lower shells",selected:!1}]},_3dShellScrewSpecificationsOption:[{text:"M2",value:"M2",selected:!0},{text:"M3",value:"M3",selected:!1},{text:"M4",value:"M4",selected:!1},{text:"M5",value:"M5",selected:!1},{text:"M6",value:"M6",selected:!1},{text:me.i18n("Custom"),value:"Custom",selected:!1}],_3dShellCommonOption:[{text:"Yes",value:!0,selected:!1},{text:"No",value:!1,selected:!1}],shape2AccordionMap:{1:"Round Outline",2:"Rectangle Outline",3:"Line Outline",4:"Arc Outline",5:"Polygon Outline"},d2LineOutlineTypeMap:{none:"-1",circular:"1",rectangle:"2",line:"3",arc:"4",polygon:"5"},arcTypeMap:{twoPointsArc:"1",centerArc:"2"},taggingType:{taggingRadius:"1",taggingLength:"2",taggingArc:"3"},copperFillStyle:{solid:"solid","45grid":"45grid","90grid":"90grid"},trackType:{default:"1",typeArc:"2"},typefaceType:{default:"default"},padConnection:{spoke:"0",direct:"1",noConnection:"2"},bplanezoneRuleDefineType:{bynet:"1",custom:"2"}};var AZ=[{text:"General",value:"1"},{text:"Custom",value:"2"}],pTe=[{value:"OVAL",text:"Oval"},{value:"ELLIPSE",text:"Round"},{value:"RECT",text:"Rectangle"}];function Dp(t,e,i,o,r=!1){let n=t[e]||{},a="0",s=n.value,l=typeof s>"u"||s===""||s==null||s!==MZ&&isNaN(s)?a:s;return{propertyTitle:i,valueType:o?"unitInput":"input",inputUnit:o,originUnit:o,propertyKey:e,value:l,valueDisabled:!!n.disabled||r,disabled:!!n.disabled||r}}function K_e(t,e){let i="",o="",r="",n="",a=!1;switch(e+""){case Sc.soldermaskType.custom:i=t["attr-soldermask"]&&String(t["attr-soldermask"].value)?String(t["attr-soldermask"].value):Sc.soldermaskType.defaultValueForCustom,o=t["attr-pastemask"]&&String(t["attr-pastemask"].value)?String(t["attr-pastemask"].value):Sc.soldermaskType.defaultValueForCustom,r=t["attr-soldermask-toplayer"]&&String(t["attr-soldermask-toplayer"].value)?String(t["attr-soldermask-toplayer"].value):Sc.soldermaskType.defaultValueForCustom,n=t["attr-soldermask-bottomlayer"]&&String(t["attr-soldermask-bottomlayer"].value)?String(t["attr-soldermask-bottomlayer"].value):Sc.soldermaskType.defaultValueForCustom,a=!1;break;case Mn.complexValues:i=o=r=n=Mn.complexValues,a=!0;break;case Sc.soldermaskType.normal:default:i=o=r=n=me.i18n(Sc.soldermaskType.defaultValueForNormal),a=!0;break}return{solderMaskValue:i,pasteMaskValue:o,topSolderMaskValue:r,bottomSolderMaskValue:n,disabled:a}}var HCt=L(Se());var tbi=L(z()),ebi=t=>{let{value:e,name:i,disabled:o,onChange:r,style:n={},className:a="",dataTest:s="",isNumber:l=!0,suffixStr:c="",inputLimit:d}=t,[u,p]=(0,HCt.useState)(!1),[m,h]=(0,HCt.useState)(e+c);return(0,tbi.jsx)(Kt,{dataTest:s,name:i||"",value:m.toString(),disabled:o,enterTriggerBlur:!0,clickTriggerSelect:!0,className:a,htmlAttrs:{"data-attr-key":i},style:{height:"24px",borderRadius:"2px",...n},onChange:f=>{h(f)},onFocus:f=>{p(!0),h(e)},onBlur:f=>{p(!1);let g=f.target.value;if(l&&(g=yd(f.target.value,"")+""),g===e+""){h(g+c);return}if(d&&!d(g)){h(e+c);return}h(g+c),r(g,f)}})};var rbi=L(Se());var GCt=L(obi()),Mpe=L(z()),{locals:agr}=GCt.default,{addParamSelector:sgr,addParamSelector_button:lgr}=agr,mTe="New Custom Property...",cgr={SheetSymbol:"Drawing Symbol",BlockSymbol:"Block Symbol",NetFlag:"Netflag Symbol",ComponentSymbol:"Component Symbol",NoneElecSymbol:"Non-Electronic Symbol",NetPort:"Netport Symbol",OffPageConnector:"Off Page Connector Symbol",diffPairsFlag:"Differential Pairs Flag Symbol"},dgr=iA(cgr),Gf=t=>{let{list:e,onAddProperty:i,disabled:o,sceneType:r=[],excludedList:n=[],callScene:a}=t,s=J(),l=(0,rbi.useRef)(null);function c(){let u;return e?u=[{value:mTe,text:mTe,style:{borderBottom:"1px solid var(--separator-color-drop-down-menu)"}},...e.map(p=>{let m={...p};return typeof p.text=="string"&&!p.showOriginalText&&(m.text=s({value:p.text,context:"attrs"})),m})]:u=d(r,n),u}function d(u=[],p=[]){var g,b;let m=((b=(g=C.profileSetting)==null?void 0:g.commSystemSetting)==null?void 0:b.PROPERTY)||{},h=JSON.parse(m.property||"[]"),f=[{value:mTe,text:mTe,style:{borderBottom:"1px solid var(--separator-color-drop-down-menu)"}}];return Object.values(h).forEach(y=>{let w=y.object.split(",").map(x=>dgr[x]||x);["Common",...u].forEach(x=>{w.indexOf(x)>=0?p.includes(y.property)||f.push({showOriginalText:y.type==="custom",text:y.type==="custom"?y.property:s({value:y.property,context:"attrs"}),value:y.property}):(w.indexOf("Device")>=0||w.indexOf("Footprint")>=0)&&(x==="Device"||x==="Footprint")&&(p.includes(y.property)||f.push({showOriginalText:y.type==="custom",text:y.type==="custom"?y.property:s({value:y.property,context:"attrs"}),value:y.property}))})}),f}return Ae(GCt.default),(0,Mpe.jsxs)("div",{className:sgr,children:[(0,Mpe.jsx)(xt,{ref:l,disabled:o,name:"addParamKey",list:c(),onChange:(u,p)=>{u===mTe?(window.setTimeout(()=>{l.current.setText("")},100),et("commonButtonsSetting(PROPERTY)")):i({[u]:{value:""}},{callScene:a})},containerStyle:{width:"100%",minWidth:"150px"},style:{width:"calc(100% - 40px)",boxSizing:"content-box",height:"24px",margin:"0 8px"},placeholder:s("Add Property")}),(0,Mpe.jsx)("div",{className:lgr,onClick:()=>{et("commonButtonsSetting(PROPERTY)")},children:(0,Mpe.jsx)("i",{className:"icon-eda-setting",style:{display:"block",width:"16px",height:"16px"}})})]})};var sre=L(z());function nbi(t){var U,F,K,te,ae,pe,Z;let{unit:e,readonly:i,doctype:o,combination:r,selectCount:n}=t,a=Is(),s=t.primitiveType,l=t.attrlist[s],c=t.idListOfPrimitive,d=c[s],u=l["attr-layerid"].value+"",p=Sc.MULTI_LAYER.indexOf(u)>=0,m=((U=l["attr-locked"])==null?void 0:U.value)==="yes",h={inputUnit:e,originUnit:e},f=t.extra||{},g=[],b={title:"Property",content:{data:[]}},y;b.content.data.push(Ya({attrList:l,name:"attr-layerid",type:"select",extend:{propertyTitle:Rt.Layer,disabled:f.existingInDevice||m},readonly:i}),Ya({attrList:l,name:"attr-number",type:"input",extend:{propertyTitle:Rt.Number,disabled:f.existingInDevice},readonly:i})),o!==se.FOOTPRINT&&b.content.data.push({propertyTitle:Rt.Net,value:l["attr-select-net"].value,valueType:"selectNetNamePCB",valueOptions:l["attr-select-net"].options,propertyKey:"attr-select-net",onCommonDispatch(ee){let ce=t.extra||{};if(t.callScene!=="ATTR_PANEL"){let oe=Xi();C.windowBridge.publish("pcbdialogCMD",{action:"netSelect",data:{id:[]},dialogId:ce.dialogId},oe.contentWindow);return}let ne={action:ee,data:{id:[...d]}};C.messageBus.publish("buttomCommand",ne)},disabled:i===!0||a},{...Dp(l,"attr-net-length",Rt.NetLength,e,!0),valueDisabled:!0,disabled:!0}),b.content.data.push(Ya({attrList:l,name:"attr-id",type:"input",extend:{propertyTitle:Rt.ID,valueDisabled:!0,disabled:!0},readonly:i}));let w={title:"Size",content:{data:[]}},x=(f==null?void 0:f.existPolygonPad)!=null&&f.existPolygonPad,S=l["attr-pad-shape-showtype"].value+"";!x&&![Sc.TOP_LAYER,Sc.BOTTOM_LAYER].includes(u)&&S!==MZ&&w.content.data.push({propertyKey:"attr-pad-shape-showtype",propertyTitle:"",value:l["attr-pad-shape-showtype"].value,valueType:"radio",valueOptions:AZ,isShowPropertyKey:!1,disabled:i===!0||f.existingInDevice&&a}),S===Sc.padShapeShowType.normal?w.content.data.push(...mV(l,"general",e,i||f.existingInDevice&&a)):S===Sc.padShapeShowType.custom?(w.content.data.push(...mV(l,"toplayer",e,i||f.existingInDevice&&a)),w.content.data.push(...mV(l,"innerlayer",e,i||f.existingInDevice&&a)),w.content.data.push(...mV(l,"bottomlayer",e,i||f.existingInDevice&&a))):S===Sc.padShapeShowType.polygon&&(w.content.data.push({propertyTitle:Rt.Shape,value:me.i18n("Polygon"),valueType:"input",valueDisabled:!0,disabled:!0}),t.callScene==="ATTR_PANEL"&&w.content.data.push(Cv({text:"Edit Pad Shape",button:{type:"primary",style:{height:"30px",paddingLeft:"18px",paddingRight:"18px"},onClick:()=>{let ee={action:"editPadShape",data:null};C.messageBus.publish("buttomCommand",ee)}},readonly:i||f.existingInDevice&&a})));let T={title:"Hole Property",content:{data:[]}},M=l["attr-pad-hole-shape"].value+"";T.content.data.push({propertyTitle:Rt.Shape,value:M,valueType:"select",valueOptions:l["attr-pad-hole-shape"].options||pTe,propertyKey:"attr-pad-hole-shape",disabled:i===!0||f.existingInDevice&&a}),M.trim().toLowerCase()==="slot"?T.content.data.push(Dp(l,"attr-pad-hole-diameter",Rt.Diameter,e,i===!0||f.existingInDevice&&a),Dp(l,"attr-pad-hole-length",Rt.Length,e,i===!0||f.existingInDevice&&a),Dp(l,"attr-pad-hole-rotation",Rt.Direction,"",i===!0||f.existingInDevice&&a)):T.content.data.push(Dp(l,"attr-pad-hole-diameter",Rt.Diameter,e,i===!0||f.existingInDevice&&a));let I=[{value:"yes",text:"yes"},{value:"no",text:"no"}];T.content.data.push(Dp(l,"attr-pad-offset-x",Rt.OffsetX,e,i===!0||f.existingInDevice&&a),Dp(l,"attr-pad-offset-y",Rt.OffsetY,e,i===!0||f.existingInDevice&&a),{propertyTitle:Rt.Plated,value:l["attr-pad-plated"].value+"",valueType:"select",valueOptions:l["attr-pad-plated"].options||I,propertyKey:"attr-pad-plated",disabled:i===!0||f.existingInDevice&&a});let A={title:"Location",content:{data:[]}},D=Dp(l,"attr-rotation",Rt.Rotation,void 0,m||i===!0||f.existingInDevice&&a);D.valueType="unitInput",A.content.data.push(Dp(l,"attr-x",Rt.CenterX,e,m||i===!0||f.existingInDevice&&a),Dp(l,"attr-y",Rt.CenterY,e,m||i===!0||f.existingInDevice&&a),D,{propertyTitle:Rt.Locked,value:l["attr-locked"].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],propertyKey:"attr-locked",disabled:i===!0||f.existingInDevice&&a});let E={title:"Solder/Paste Mask Expansion",content:{data:[]}},N=l["attr-soldermask-showtype"].value,R=K_e(l,N);E.content.data.push({propertyTitle:"",isShowPropertyKey:!1,value:N,valueType:"radio",valueOptions:AZ,propertyKey:"attr-soldermask-showtype",disabled:i===!0||f.existingInDevice&&a}),p?E.content.data.push({propertyKey:"attr-soldermask-toplayer",propertyTitle:Rt.TopLayerSolderMaskExpansion,value:R.topSolderMaskValue,hiddenUnit:!!Number.isNaN(+R.topSolderMaskValue),valueType:"unitInput",...h,disabled:R.disabled||i===!0||f.existingInDevice&&a},{propertyKey:"attr-soldermask-bottomlayer",propertyTitle:Rt.BottomLayerSolderMaskExpansion,value:R.bottomSolderMaskValue,hiddenUnit:!!Number.isNaN(+R.bottomSolderMaskValue),valueType:"unitInput",...h,disabled:R.disabled||i===!0||f.existingInDevice&&a}):E.content.data.push({propertyKey:"attr-soldermask",propertyTitle:Rt.SolderMaskExpansion,value:R.solderMaskValue,valueType:"unitInput",hiddenUnit:!!Number.isNaN(+R.solderMaskValue),...h,disabled:R.disabled||i===!0||f.existingInDevice&&a},{propertyKey:"attr-pastemask",propertyTitle:Rt.PasteMaskExpansion,value:R.pasteMaskValue,hiddenUnit:!!Number.isNaN(+R.pasteMaskValue),valueType:"unitInput",...h,disabled:R.disabled||i===!0||f.existingInDevice&&a});let v={title:"Thermals",content:{data:[]}},k=(F=l["attr-pad-thermal-type"])!=null&&F.value?((K=l["attr-pad-thermal-type"])==null?void 0:K.value)+"":Sc.padThermalRule.normal,P=(te=l["attr-pad-connection"])!=null&&te.value?((ae=l["attr-pad-connection"])==null?void 0:ae.value)+"":Sc.padConnection.spoke,O=[{text:"Spoke",value:"0"},{text:"Direct",value:"1"},{text:"No Connection",value:"2"}],_=[{text:"45 "+me.i18n("Degrees"),value:45},{text:"90 "+me.i18n("Degrees"),value:90}];if(v.content.data.push({propertyTitle:"",isShowPropertyKey:!1,value:k,valueType:"radio",valueOptions:AZ,propertyKey:"attr-pad-thermal-type",disabled:i===!0||f.existingInDevice&&a}),k===Sc.padThermalRule.custom?(v.content.data.push({propertyTitle:Rt.PadConnection,value:P,valueType:"select",valueOptions:O,propertyKey:"attr-pad-connection",disabled:i===!0||f.existingInDevice&&a}),P===Sc.padConnection.spoke&&v.content.data.push(Dp(l,"attr-spoke-spacing",Rt.SpokeSpacing,e,i===!0||f.existingInDevice&&a),Dp(l,"attr-spoke-width",Rt.SpokeWidth,e,i===!0||f.existingInDevice&&a),{propertyTitle:Rt.SpokeAngles,value:(pe=l["attr-spoke-angles"])==null?void 0:pe.value,valueType:"select",valueOptions:((Z=l["attr-spoke-angles"])==null?void 0:Z.options)||_,propertyKey:"attr-spoke-angles",disabled:i===!0||f.existingInDevice&&a})):(O.push({text:"Follow Rule",value:"3"}),v.content.data.push({propertyTitle:Rt.PadConnection,value:"3",valueType:"select",valueOptions:O,disabled:!0,propertyKey:"attr-pad-connection"})),y={title:"Combination",content:{data:[]}},p?g.push(b,w,T,A,E,v):g.push(b,w,A,E,v),l["attr-pad-len"]){let ee={title:"Pin Delay",content:{data:[]}};ee.content.data.push(Dp(l,"attr-pad-len",Rt.PinLen,e,i===!0||f.existingInDevice&&a)),g.push(ee)}if(!f.existingInDevice)if(g.push(y),r&&r.isAllCombination){y.title="Group Name";let ee=n>1;y.content.data.push({propertyKey:"attr-combination",isShowPropertyKey:!1,value:l["attr-combination"].value,valueType:"selectInput",valueOptions:l["attr-combination"].options,disabled:m||ee||i===!0,stillNeedClear:ee}),g.unshift(g.pop())}else y.content.data.push({propertyTitle:Rt.Group,propertyKey:"attr-combination",value:l["attr-combination"].value,valueType:"selectInput",valueOptions:l["attr-combination"].options,disabled:m||i===!0});let B={morePropertiesShow:!1},V=window.localStorage.getItem("sch.attrPanel");try{V?B.morePropertiesShow=JSON.parse(V).morePropertiesShow:B.morePropertiesShow=!1}catch{B.morePropertiesShow=!1}let G=(l["attr-array"].value||[]).map((ee,ce)=>ee.key),Q=l["attr-array"]||{},H=JSON.parse(JSON.stringify(Q.value||[])),q={title:"More Properties",content:{data:[]},collapsed:!B.morePropertiesShow,after:(0,sre.jsx)(Gf,{sceneType:["Pad"],excludedList:G,disabled:i===!0||a,onAddProperty:ugr,callScene:t.callScene})};return q.content.data.push(...pgr(t,H,H,c,e,a)),g.push(q),g}var abi=(t,e,i={})=>{var S;let o=I3.mapBlendedData,{callScene:r="ATTR_PANEL",isTiggerByBlured:n=!1,isAdd:a=!1}=i,s=o[r];if(!s)return;let l=Object.values(t)[0],c=Object.keys(t)[0],d=t[c],u=d.keyName==="value"?d[d.keyName]:void 0;typeof u>"u"&&e&&(c=(S=Object.values(e)[0].attrArrayItem)==null?void 0:S.key,u=e[c].value),u&&u.length>=256&&(Ut({type:"warn",message:"The typing cannot over 255 charaters.",height:130}),u=u.substring(0,255));let p={key:c,update:!0,value:u,isAdd:a};da.tabKeyPressed&&n===!0?da.bluredKey=c:da.bluredKey="",Object.keys(l).forEach(T=>{switch(T){case"value":p.value=l[T]||u;break;default:break}});let m=[p];p.value=typeof p.value=="string"?p.value.trim():p.value,typeof p.value=="string"&&p.value.length>=255&&(p.value=p.value.substring(0,255));let h=s.primitiveType,f=s.idListOfPrimitive,g=s.status,b=Object.keys(g);b.length==0&&h==="PCB"&&(g[h]=!0,b.push(h));let y={},w={};w.action="modifyPrimitiveDataByPanel",w.padSingleSelected=s.isOnlySelectedPads,w.primitive=[],w.callScene=r,b.forEach(T=>{g[T]===!0&&(w.primitive.push(T),typeof y[T]>"u"&&(y[T]=[]),f[T].forEach(I=>{y[T].push({"attr-id":I,"attr-array":m})}))});let x=Xi();C.windowBridge.publish("attrUpdate",{head:w,body:y},x.contentWindow)};function ugr(t,e={}){abi(t,void 0,Object.assign(e,{isAdd:!0})),da.focus={propertyKey:Object.keys(t||{})[0],propertyPanelId:sA}}function pgr(t,e,i,o,r,n){let a=[],{readonly:s}=t;return e.forEach((l,c)=>{let d=l.key;n&&(l.update=!1);let u=l.update?{color:"#3399ff"}:{},p=f=>{let g=[];g.push({key:"DELETE_FEATURES",name:"Delete Attribution",disabled:!l.update});let b=y=>{let w={...l};switch(y){case"DELETE_FEATURES":w.update=!1;break;default:}w.value=="true"&&(w.value="yes"),w.value=="false"&&(w.value="no");let x=t.primitiveType,S=t.idListOfPrimitive,T=t.status,M=Object.keys(T);M.length==0&&x==="PCB"&&(T[x]=!0,M.push(x));let I={},A={};A.action="modifyPrimitiveDataByPanel",A.padSingleSelected=t.isOnlySelectedPads,A.primitive=[],M.forEach(E=>{T[E]===!0&&(A.primitive.push(E),typeof I[E]>"u"&&(I[E]=[]),S[E].forEach(R=>{I[E].push({"attr-id":R,"attr-array":[w]})}))});let D=Xi();C.windowBridge.publish("attrUpdate",{head:A,body:I},D.contentWindow)};g.length&&Au.open({data:g.map(y=>({cmd:y.key,title:y.name,disabled:y.disabled})),position:{x:f.pageX,y:f.pageY},onClick(y,w,x,S){b(y.cmd)},onEnterConfirm(y,w,x){b(y[0])}})},{text:m,sourceText:h}=xpe(d);a.push({propertyKey:d,propertyTitle:m,propertyTitleDataTest:h,value:l.value,valueType:"input",keyChecked:l.showKey,valueChecked:l.showValue,valueStyle:u,attrArrayItem:JSON.parse(JSON.stringify(l)),valueDisabled:s===!0||n,disabled:s===!0||n,keyCheckBoxDisabled:s===!0,valueCheckBoxDisabled:s===!0,checkboxTabIndex:-1,onChange:abi,menu:p})}),a}function mV(t,e,i,o){let r={general:me.i18n("General"),toplayer:me.i18n("Toplayer"),innerlayer:me.i18n("Innerlayer"),bottomlayer:me.i18n("BottomLayer")},n=Dp(t,`attr-pad-${e}-width`,Rt.Width,i,o===!0),a=Dp(t,`attr-pad-${e}-height`,Rt.Height,i,o===!0),s=Dp(t,`attr-corner-radius-${e}`,Rt.CornerRadiusRatio,void 0,o===!0),l={propertyTitle:Rt.CornerRadiusRatio,valueType:"input",propertyKey:`attr-corner-radius-${e}`,value:"",contentRender:(u,p)=>(0,sre.jsx)(sre.Fragment,{children:(0,sre.jsx)(ebi,{suffixStr:"%",value:s.value,onChange:(m,h)=>{p({[`attr-corner-radius-${e}`]:{value:m}},{[`attr-corner-radius-${e}`]:s},"Size")},inputLimit:m=>{let h=parseFloat(m);return!(String(h)==="NaN"||h<0||h>100)},disabled:o===!0,dataTest:Rt.CornerRadiusRatio,name:`attr-corner-radius-${e}`})}),disabled:o===!0},c=[];c.push({value:null,isShowPropertyKey:!1,isShowValueCheckbox:!1,contentSectionStyle:{alignSelf:"flex-end",fontWeight:"bolder"},contentRender:()=>(0,sre.jsx)("div",{style:{alignSelf:"flex-end"},children:r[e]}),disabled:o===!0},{propertyTitle:Rt.Shape,value:t[`attr-pad-${e}-shape`].value,valueType:"select",valueOptions:t[`attr-pad-${e}-shape`].options||pTe,propertyKey:`attr-pad-${e}-shape`,disabled:o===!0});let d=t[`attr-pad-${e}-shape`].value||"";return d===Sc.padGemotryType.ELLIPSE?(n.propertyTitle=Rt.Diameter,c.push(n)):c.push(n,a),d===Sc.padGemotryType.RECT&&c.push(l),c}function sbi(t){var _,j,B,V,G,Q;let{unit:e,readonly:i,doctype:o,combination:r,selectCount:n,extra:a}=t,s=Is(),l=t.primitiveType,c=t.attrlist[l],u=t.idListOfPrimitive[l],p=c["attr-layerid"].value+"",m=Sc.MULTI_LAYER.indexOf(p)>=0,h=((_=c["attr-locked"])==null?void 0:_.value)==="yes",f={inputUnit:e,originUnit:e},g=[],b={title:"Property",content:{data:[]}};b.content.data.push(Ya({attrList:c,name:"attr-layerid",type:"select",extend:{propertyTitle:Rt.Layer,valueDisabled:h,disabled:a.existingInDevice||h},readonly:i}),Ya({attrList:c,name:"attr-number",type:"input",extend:{propertyTitle:Rt.Number,disabled:a.existingInDevice||h},readonly:i})),o!==se.FOOTPRINT&&b.content.data.push({propertyTitle:Rt.Net,value:c["attr-select-net"].value,valueType:"selectNetNamePCB",valueOptions:c["attr-select-net"].options,propertyKey:"attr-select-net",onCommonDispatch(H){let q={action:H,data:{id:[...u]}};C.messageBus.publish("buttomCommand",q)},disabled:i===!0||s}),o!==se.FOOTPRINT&&b.content.data.push(Ya({attrList:c,name:"attr-net-length",type:"unitInput",extend:{propertyTitle:Rt.NetLength,...f,disabled:!0},readonly:i})),b.content.data.push(Ya({attrList:c,name:"attr-id",type:"input",extend:{propertyTitle:Rt.ID,disabled:!0},readonly:i}));let y={title:"Size",content:{data:[]}};[Sc.TOP_LAYER,Sc.BOTTOM_LAYER].includes(p)||y.content.data.push({propertyKey:"attr-pad-shape-showtype",propertyTitle:"",value:c["attr-pad-shape-showtype"].value,valueType:"radio",valueOptions:AZ,disabled:i===!0,isShowPropertyKey:!1});let w=c["attr-pad-shape-showtype"].value+"";w===Sc.padShapeShowType.normal?y.content.data.push(...mV(c,"general",e,i)):w===Sc.padShapeShowType.custom&&(y.content.data.push(...mV(c,"toplayer",e,i)),y.content.data.push(...mV(c,"innerlayer",e,i)),y.content.data.push(...mV(c,"bottomlayer",e,i)));let x={title:"Hole Property",content:{data:[]}},S=c["attr-pad-hole-shape"].value+"";x.content.data.push({propertyTitle:Rt.Shape,value:S,valueType:"select",valueOptions:c["attr-pad-hole-shape"].options||pTe,propertyKey:"attr-pad-hole-shape",disabled:i===!0}),S.trim().toLowerCase()==="slot"?x.content.data.push(Dp(c,"attr-pad-hole-diameter",Rt.Diameter,e,i===!0),Dp(c,"attr-pad-hole-length",Rt.Length,e,i===!0),Dp(c,"attr-pad-hole-rotation",Rt.Direction,void 0,i===!0)):x.content.data.push(Dp(c,"attr-pad-hole-diameter",Rt.Diameter,e,i===!0));let T=[{value:"yes",text:"yes"},{value:"no",text:"no"}];x.content.data.push(Dp(c,"attr-pad-offset-x",Rt.OffsetX,e,i===!0),Dp(c,"attr-pad-offset-y",Rt.OffsetY,e,i===!0),{propertyTitle:Rt.Plated,value:c["attr-pad-plated"].value+"",valueType:"select",valueOptions:c["attr-pad-plated"].options||T,propertyKey:"attr-pad-plated",disabled:i===!0});let M={title:"Location",content:{data:[]}},I=Dp(c,"attr-rotation",Rt.Rotation,void 0,h||i===!0);I.valueType="unitInput",M.content.data.push(Dp(c,"attr-x",Rt.CenterX,e,h||i===!0),Dp(c,"attr-y",Rt.CenterY,e,h||i===!0),I,{propertyTitle:Rt.Locked,value:c["attr-locked"].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],propertyKey:"attr-locked",disabled:i===!0});let A={title:"Solder/Paste Mask Expansion",content:{data:[]}},D=c["attr-soldermask-showtype"].value,E=K_e(c,D);A.content.data.push({propertyTitle:"",isShowPropertyKey:!1,value:D,valueType:"radio",valueOptions:AZ,propertyKey:"attr-soldermask-showtype",disabled:i===!0}),m?A.content.data.push({propertyKey:"attr-soldermask-toplayer",propertyTitle:Rt.TopLayerSolderMaskExpansion,value:E.topSolderMaskValue,valueType:"unitInput",...f,disabled:E.disabled||i===!0},{propertyKey:"attr-soldermask-bottomlayer",propertyTitle:Rt.BottomLayerSolderMaskExpansion,value:E.bottomSolderMaskValue,valueType:"unitInput",...f,disabled:E.disabled||i===!0}):A.content.data.push({propertyKey:"attr-soldermask",propertyTitle:Rt.SolderMaskExpansion,value:E.solderMaskValue,valueType:"unitInput",...f,disabled:E.disabled||i===!0},{propertyKey:"attr-pastemask",propertyTitle:Rt.PasteMaskExpansion,value:E.pasteMaskValue,valueType:"unitInput",...f,disabled:E.disabled||i===!0});let N={title:"Thermals",content:{data:[]}},R=(j=c["attr-pad-thermal-type"])!=null&&j.value?((B=c["attr-pad-thermal-type"])==null?void 0:B.value)+"":Sc.padThermalRule.normal,v=(V=c["attr-pad-connection"])!=null&&V.value?((G=c["attr-pad-connection"])==null?void 0:G.value)+"":Sc.padConnection.spoke,k=[{text:"Spoke",value:"0"},{text:"Direct",value:"1"},{text:"No Connection",value:"2"}],P=[{text:"45 "+me.i18n("Degrees"),value:45},{text:"90 "+me.i18n("Degrees"),value:90}];N.content.data.push({propertyTitle:"",isShowPropertyKey:!1,value:R,valueType:"radio",valueOptions:AZ,propertyKey:"attr-pad-thermal-type",disabled:i===!0}),R===Sc.padThermalRule.normal?(k.push({text:"Follow Rule",value:"3"}),N.content.data.push({propertyTitle:Rt.PadConnection,value:"3",valueType:"select",valueOptions:k,valueDisabled:!0,disabled:!0,propertyKey:"attr-pad-connection"})):(N.content.data.push({propertyTitle:Rt.PadConnection,value:v,valueType:"select",valueOptions:k,propertyKey:"attr-pad-connection",disabled:i===!0}),v===Sc.padConnection.spoke&&N.content.data.push(Dp(c,"attr-spoke-spacing",Rt.SpokeSpacing,e,i===!0),Dp(c,"attr-spoke-width",Rt.SpokeWidth,e,i===!0),{propertyTitle:Rt.SpokeAngles,value:(Q=c["attr-spoke-angles"])==null?void 0:Q.value,valueType:"select",valueOptions:c["attr-spoke-angles"].options||P,propertyKey:"attr-spoke-angles",disabled:i===!0}));let O={title:"Combination",content:{data:[]}};if(m?g.push(b,y,x,M,A,N):g.push(b,y,M,A,N),c["attr-combination"]&&g.push(O),r&&r.isAllCombination){O.title="Group Name";let H=n>1;O.content.data.push({propertyKey:"attr-combination",isShowPropertyKey:!1,value:c["attr-combination"].value,valueType:"selectInput",valueOptions:c["attr-combination"].options,valueDisabled:h||H||i===!0,stillNeedClear:H,disabled:h||H||i===!0}),g.unshift(g.pop())}else c["attr-combination"]&&O.content.data.push({propertyTitle:Rt.Group,value:c["attr-combination"].value,valueType:"selectInput",valueOptions:c["attr-combination"].options,propertyKey:"attr-combination",valueDisabled:h||i===!0,disabled:h||i===!0});return g}var U9i=L(Se());var lbi=L(Vi());function J_e(t){let e=!0,i=hn();if(i&&i.PCB_FOOTPRINT&&(e=i.PCB_FOOTPRINT.isUsedJLCColorSilk),!e)return!1;let o=[Sc.TOP_SILK,Sc.BOTTOM_SILK];return t&&o.includes(t)}function hTe(t,e="",i="",o={}){let r=(0,lbi.default)(t);r.length&&r.append(`<div data-tab="${e}" style="width:100%" class="hidden">${i}</div>`)}function cbi(t){if(!(t instanceof Array))return;let e=Mn.LAYER_GROUP_TAG,i={};if(i.id=String(t[1]),i.title=t[3],i.isActive=[1,2].indexOf(t[4])>=0,i.isVisible=t[4]===1,i.isLocked=!!t[9],i.bgColor=t[5],i.classification=mgr(t),i._isNoTranslateI18n=Mn.NO_TRANSLATE_I18N_NAMES.includes(t[3].toUpperCase()),i._isSignal=Mn.SIGNAL_LAYER_TAGS.includes(t[2]),i._isMulti=Mn.MULTI_LAYER_TAGS.includes(t[2]),i._isPlane=Mn.PLANE_LAYER_TAGS.includes(t[2]),i._sliderOpened=!0,e.TOP.layerIds.includes(t[1]))i._gType=e.TOP.value,i._gTypeName=e.TOP.name;else if(e.BOTTOM.layerIds.includes(t[1]))i._gType=e.BOTTOM.value,i._gTypeName=e.BOTTOM.name;else if(e.INNER.layerIds.includes(t[1])){i._gType=e.INNER.value,i._gTypeName=e.INNER.name;let o=/^(Inner)(\d+)/gi.exec(t[3]);o&&(i.languageHashtable={[t[3]]:"\u5185\u5C42"+o[2]}),i._localeExt=!0}else if(e.COMPONENT.layerIds.includes(t[1]))i._gType=e.COMPONENT.value,i._gTypeName=e.COMPONENT.name;else if(e.D3SHELL.layerIds.includes(t[1]))i._gType=e.D3SHELL.value,i._gTypeName=e.D3SHELL.name;else{i._gType=e.OTHER.value,i._gTypeName=e.OTHER.name,t[2]==="CUSTOM"&&t[2].startsWith("Custom")&&i._;let o=/^(Custom)(\d+)/gi.exec(t[3]);o&&(i.languageHashtable={[t[3]]:"\u7528\u6237\u81EA\u5B9A\u4E49\u5C42"+o[2]},i._localeExt=!0)}return i}function mgr(t){return Mn.COPPER_LAYER_TAGS.includes(t[2])?[Mn.LAYER_ITEM_PANEL_TITLE_ARR[0],Mn.LAYER_ITEM_PANEL_TITLE_ARR[1]]:[Mn.LAYER_ITEM_PANEL_TITLE_ARR[0],Mn.LAYER_ITEM_PANEL_TITLE_ARR[2]]}function YCt(t,e){let i=!1,o=String(t),r=String(t).split(/,|，/),n,a;if(r.length==1?n=a=ul(r[0],e):r.length==2&&(n=ul(r[0],e),a=ul(r[1],e)),!isNaN(n)&&!isNaN(a)&&n>0&&a>0){let s=fo(n,e).toString(),l=fo(a,e).toString();o=s==l?s:`${s},${l}`,i=!0}return{needUpdateValue:i,setValue:o,num1:j9(n,e),num2:j9(typeof a>"u"?n:a,e)}}var dbi=L(z());function q_e(t){let e=[];for(let i=0;i<t.length;i++){let o=t[i],{propertyKey:r,text:n,checked:a,disabled:s,callScene:l}=o,c={propertyKey:r,isShowPropertyKey:!1,value:null,style:i<t.length-1?{marginBottom:0}:{},contentRender:(d,u)=>(0,dbi.jsx)(qt,{dataTest:r,checked:a,disabled:s,hoverTitle:me.i18n(n),onChange:p=>{u({[r]:{value:p}},{[r]:c},{callScene:l})},children:me.i18n(n)})};e.push(c)}return e}var Lq=L(Vi());var lre=class{constructor(){this.reset()}readCanvasAsDataURL(e=.92){return this.canvas.toDataURL("image/jpeg",e)}async readCanvasAsBlob(e=.92){return new Promise((i,o)=>{this.canvas.toBlob(r=>i(r),"image/jpeg",e)})}async getDataUrlWithCompress(e,i=.92){let o=!0;for(;i>=.1||o;){o=!1;let r=this.readCanvasAsDataURL(i);if(r.length<=e)return r;i=i-.1}return null}async drawImageByUrl(e){let{canvas:i,ctx:o}=this,r=new Image,n=!1;return new Promise((a,s)=>{r.onload=function(){n||(n=!0,this.width>0&&this.height>0&&(i.width=this.width,i.height=this.height),o.drawImage(r,0,0),a(!0))},r.src=e})}reset(){this.canvas=document.createElement("canvas"),this.ctx=this.canvas.getContext("2d")}};var X_e=class{to16(e){return Array.from(e).map(i=>{let o=i.toString(16).toUpperCase();return o.length===1?"0"+o:o})}toAsii(e){return Array.from(e).map(i=>String.fromCharCode(i))}async readFileAsDataURL(e){let i=this;return new Promise((o,r)=>{let n=new FileReader;n.onload=async function(){o(this.result)},n.onerror=function(){o("")},n.readAsDataURL(e)})}async readFileAsUint8(e,i=e.size){i=Math.min(i,e.size);let o=[],r=2*1024*1024,n=0,a=Math.min(r,i);for(;n<i;){let s=new Promise((l,c)=>{let d=new FileReader;d.onload=function(){if(this.result instanceof ArrayBuffer){let u=new Uint8ClampedArray(this.result);l(u)}},d.readAsArrayBuffer(e.slice(n,a))});o.push(s),n=a,a=Math.min(n+r,i)}return Promise.all(o).then(s=>{let l=new Uint8ClampedArray(i);for(let c=0,d=0;c<s.length;c++){let u=s[c];l.set(u,d),d+=u.byteLength}return Promise.resolve(l)})}};var hV=5*1024*1024,WCt=class{constructor(){this.files=new Map}get(e){return this.files.get(e)}emptyAll(){Object.keys(this.files).forEach(e=>{window.URL.revokeObjectURL(e)}),this.files.clear()}add(e,i){return this.files.set(e,i),e}remove(e){this.files.has(e)&&(window.URL.revokeObjectURL(e),this.files.delete(e))}},cre=new WCt,B2=class extends X_e{async getImageType(e){let i=await this.readFileAsUint8(e,64),o=this.to16(i),r=l=>{for(let c=0;c<l.length;c++)if(o[c].trim()!==l[c].trim().toUpperCase())return!1;return!0};if(r(["FF","D8"]))return"jpg";if(r(["89","50","4E","47","0D","0A","1A","0A"]))return"png";let n=["47","49","46","38","39","61"],a=["47","49","46","38","37","61"];if(r(n)||r(a))return"gif";if(r(["42","4D"]))return"bmp";if(r(["49","49","2A","00"]))return"TIFF_II";if(r(["4D","4D","00","2A"]))return"TIFF_MM";let s=this.toAsii(i).join("");return r(["52","49","46","46"])&&s.indexOf("WEBP")>-1?"webp":r(["17","28","27","84","FF","D8"])||s.indexOf("avif")>-1?"avif":null}replaceDataUrlMineType(e,i){var r;let o=/^(data:image\/)(.{1,10})(;)/;return((r=e.match(o))==null?void 0:r[2])!==i?e.replace(o,`$1${i}$3`):e}async readFileAsDataURL(e,i){let o=await super.readFileAsDataURL(e);if(o&&i){let r=await this.getImageType(e);r&&(o=this.replaceDataUrlMineType(o,r))}return o}readUrlAsImage(e){return new Promise((i,o)=>{let r=new Image;r.onload=function(n){i({image:r,msg:""})},r.onerror=function(n){i({image:null,msg:"Read image file error."})},r.src=e})}async compressImageByCanvas(e,i=hV,o,r=.92,n=!1){if(!n&&(o||e.length)<i)return e;{let a=new lre;return await a.drawImageByUrl(e),await a.getDataUrlWithCompress(i,r)}}async changeFormatBack(e,i){let o=new lre;return await o.drawImageByUrl(e),o.canvas.toDataURL(i=="png"?"image/png":"image/jpeg",.92)}};var u0={BLANK:0,SCH:1,PART:2,PRJ:5,NGSPICE:8,SIMULIDE:9,WAVEFORM:10,BLOCK_SYMBOL:17,NETFLAG:18,NETPORT:19,SHEET_SYMBOL:20,NONEELEC_SYMBOL:21,SHORT_SYMBOL:22,OFF_PAGE_CONNECTOR:25,DIFF_PAIRS_FLAG:31};function $_e(t){return t=t.replace(/[^\x00-\xff]+/g,i=>unescape(encodeURIComponent(i))),btoa(t)}function eje(t){return decodeURIComponent(escape(atob(t)))}function QCt(t){return t.replace(/[^0-9A-Za-z\u00A0-\uFFFF_-]/g,i=>"\\"+i.charCodeAt(0).toString(16).padStart(2,"0")).replace(/\\[0-9a-f]{2}(?=[0-9a-f])/gi,"$& ")}var mbi=L(Hr()),fTe=L(Se());var KCt=L(pbi());var Fb=L(z()),xv=be.bind(KCt.default.locals),hgr=t=>{let e=J(),{id:i,closable:o=!0,showValue:r=!0,onClose:n,title:a="",showTitle:s=!1}=t;Ce(Xa.storeSet[i]),Ae(KCt.default);let l=Xa.storeSet[i].value,c=(0,fTe.useMemo)(()=>self.UI.windowZIndex++,[]),d=(0,fTe.useMemo)(()=>self.UI.windowZIndex++,[]);return(0,fTe.useEffect)(()=>(Xa.zIndexSet[i]=d,()=>{Xa.timerSet[i]&&(clearInterval(Xa.timerSet[i]),delete Xa.timerSet[i]),n&&n(Xa.isManualClosed),Xa.isManualClosed=!1,Xa.storeSet[i]&&delete Xa.storeSet[i],Xa.zIndexSet[i]&&delete Xa.zIndexSet[i],Xa.progressSet[i]&&delete Xa.progressSet[i]}),[]),(0,Fb.jsxs)(Fb.Fragment,{children:[(0,Fb.jsx)("div",{className:xv("window-mask"),style:{zIndex:c}}),(0,Fb.jsxs)("div",{className:xv("progress"),style:{zIndex:d},children:[(0,Fb.jsx)("div",{className:xv("progress-header"),children:(0,Fb.jsx)("div",{className:xv("progress-tool"),children:o&&(0,Fb.jsx)("div",{className:xv("progress-tool-close"),onClick:()=>{Xa.isManualClosed=!0,Xa.close(i)}})})}),(0,Fb.jsx)("div",{className:xv("progress-body"),title:"",children:(0,Fb.jsxs)("div",{className:xv("progress-message"),children:[(0,Fb.jsx)("div",{className:xv("message-p-msg")}),(0,Fb.jsxs)("div",{className:xv("message-p-bar"),children:[r&&(0,Fb.jsxs)("div",{className:xv("progressbar-text"),style:{color:l>=55?"#fff":"#000"},children:[s&&a&&(0,Fb.jsx)("span",{className:xv("progressbar-title-text"),children:e(a)}),(0,Fb.jsx)("span",{className:xv("progressbar-value-text"),children:s?`(${l}%)`:`${l}%`})]}),(0,Fb.jsx)("div",{className:xv("progressbar-value"),style:{width:`${l}%`}})]})]})})]})]})},Xa=new class{constructor(){this.rootSet={};this.elementSet={};this.storeSet={};this.timerSet={};this.stepTimer={};this.zIndexSet={};this.progressSet={};this.isManualClosed=!1}open(t){let{id:e,value:i=0,windowCtx:o=window,interval:r}=t,n=o.document.getElementById(e);if(n||(n=o.document.createElement("div"),n.id="progress-bar"+e,o.document.body.appendChild(n),Xa.rootSet[e]=mbi.default.createRoot(n),Xa.elementSet[e]=n,Xa.storeSet[e]=new Ps(i),Xa.progressSet[e]=t),Xa.rootSet[e].render((0,Fb.jsx)(_r.Provider,{value:o,children:(0,Fb.jsx)(hgr,{...t})})),r){let a=r;r<50&&(a=50),Xa.timerSet[e]&&(clearInterval(Xa.timerSet[e]),Xa.timerSet[e]=null),Xa.timerSet[e]=setInterval(function(){let s=Xa.getValue(e);s+=10,s>100&&(s=0),Xa.setValue(e,s)},a)}}close(t){var e,i;Xa.rootSet[t]&&((e=Xa.rootSet[t])==null||e.unmount(),delete Xa.rootSet[t]),Xa.elementSet[t]&&((i=Xa.elementSet[t])==null||i.remove(),delete Xa.elementSet[t])}closeAll(){Object.keys(Xa.rootSet).forEach(t=>{Xa.close(t)})}closeCurrent(t=!1){var i;let e={id:"",zIndex:0};return Object.keys(Xa.zIndexSet).forEach(o=>{Xa.zIndexSet[o]>e.zIndex&&(e.id=o,e.zIndex=Xa.zIndexSet[o])}),e.id&&((i=Xa.progressSet[e.id])!=null&&i.closable)?(Xa.isManualClosed=t,Xa.close(e.id),!0):!1}getValue(t){var e;return((e=Xa.storeSet[t])==null?void 0:e.value)||0}setValue(t,e){var i;e<0&&(e=0),e>100&&(e=100),(i=Xa.storeSet[t])==null||i.setValue(e)}stepToValue(t,e,i=33){e<0&&(e=0),e>100&&(e=100);function o(s,l,c,d,u){let p=l,m=c>l?1:-1;function h(){p+=m,m>0&&p<c||m<0&&p>c?(d(p),Xa.stepTimer[s]=setTimeout(h,i)):(Xa.stepTimer[s]=0,u(c))}Xa.stepTimer[s]&&(clearTimeout(Xa.stepTimer[s]),Xa.stepTimer[s]=null),Xa.stepTimer[s]=setTimeout(h,i)}let r=Xa.getValue(t);function n(s){Xa.setValue(t,s)}function a(s){Xa.stepTimer[t]&&(clearTimeout(Xa.stepTimer[t]),Xa.stepTimer[t]=null),n(s)}e==r?a(e):o(t,r,e,n,a)}isOpen(t){return!!Xa.rootSet[t]}},Tv=Xa;function dre(t,e,i=String(u0.BLANK),o,r=!0,n,a=!1,s=!0){let l=QCt(("win_progress_"+i).replace(/\$/g,""));e?C.progressManager.has(l,e)?C.progressManager.updateOne(l,e,t,o):(C.progressManager.addOne(l,e,o,r,n,a,s),C.progressManager.updateOne(l,e,t,o)):C.progressManager.updateGroup(l,t),hbi(l,C.progressManager.getGroup(l))}function ure(t=String(u0.BLANK)){let e=QCt(("win_progress_"+t).replace(/\$/g,""));C.progressManager.removeGroup(e),hbi(e,C.progressManager.getGroup(e))}function hbi(t,e={}){var a;let i=Object.entries(e),[o,r]=i==null?void 0:i.reduce((s,l)=>(l[1].proportion&&(s[0]=s[0]+l[1].proportion,s[1]+=1),s),[0,0]),n=i.length?i.reduce((s,l)=>s+l[1].value*(l[1].proportion||(1-o)/(i.length-r)),0):1;if(n===1)Tv.close(t);else if(Tv.isOpen(t)){let s=Tv.getValue(t)*.01;n>s&&Tv.setValue(t,Math.floor(n*100))}else{let s=i[i.length-1],l="",c=!1;s&&s[1]&&(l=s[1].title,c=s[1].showTitle),Tv.open({id:t,value:Math.floor(n*100),onClose:d=>C.progressManager.removeGroup(t,d),title:l,showTitle:c,closable:(a=s==null?void 0:s[1])==null?void 0:a.closable})}}var ije=new hT(0);async function gbi(t){return new Promise((e,i)=>{let o=new Image;o.onload=async()=>{e(o)},o.onerror=r=>{o=null,i(r)},o.src=t})}async function fgr(t){let e="";try{let i=await t.arrayBuffer(),o=Ndi(new Uint8Array(i)),r=new TextDecoder("utf-8").decode(o);e=`data:image/svg+xml;base64,${btoa(unescape(encodeURIComponent(r)))}`}catch{t=new File([t],t.name.replace(/svgz$/i,"jpg"),{type:"image/jpeg",lastModified:t.lastModified}),e=await rje(t,"DataURL")}return gbi(e)}async function fbi(t){if(t.name.match(/.svgz$/i))return fgr(t);let e=await rje(t,"DataURL");return await gbi(e)}function ZCt(t,e="image/png",i){if("convertToBlob"in t)return t.convertToBlob({type:e});if("toBlob"in t)return new Promise(o=>{t.toBlob(o,e,i)});throw"get blob failed"}async function ggr(t,e=ks){let{naturalWidth:i,naturalHeight:o}=t,r=i,n=o,{bytesLimit:a=2*(1<<20),maxWidth:s=i,maxHeight:l=o,minWidth:c=1,minHeight:d=1,onProgress:u=AS}=e,m=/^data:image\/jpeg;/.test(t.currentSrc||t.src)?"image/jpeg":"image/png",h=/^data:image\/svg\+xml;|\.svg$/i.test(t.currentSrc||t.src),f=1;h?r/n>s/l?(f=l/n,r=l*r/n,n=l):(f=s/r,n=s*n/r,r=s):r>s||n>l?(f=Math.min(s/r,l/n),r=Math.floor(r*f),n=Math.floor(n*f)):(r<c||n<d)&&(f=Math.max(c/r,d/n),r=Math.floor(r*f),n=Math.floor(n*f));let g=Math.max(r,c),b=Math.max(n,d),y=new OffscreenCanvas(g,b),w=g<r?r-g>>1:0,x=b<n?n-b>>1:0;y.getContext("2d").drawImage(t,w,x,r,n),r=g,n=b;let T=[.1,.95],M;try{u(T[0]),await os(0);let A=[.8,.5,.3],D=(T[1]-T[0])/A.length;for(let E=0;E<A.length;E++){let N=await y.convertToBlob({type:"image/webp",quality:A[E]});if(u((E+1)*D),await os(0),ije.info(`insert image/webp \uFF1A \u5927\u5C0F \u2014\u2014 ${N.size/1024/1024}MB  \u5BBD/\u9AD8 \u2014\u2014 ${r}/${n}`),N.size<=a){M=N;break}}}catch{}finally{M||(M=await y.convertToBlob({type:"image/webp",quality:0})),u(1)}let I={blob:M,dataURL:"",width:r,height:n,bytes:M==null?void 0:M.size};return I.blob&&(I.dataURL=await rje(M,"DataURL")),I}function bgr(t){let e={svgStr:"",message:""};if(!O7e(t))e.message="Invalid image URL";else if(sje(t)!=t)e.message="Image URL contains special characters";else if(t.startsWith("data:")&&t.startsWith("data:image/svg+xml;base64,")){let r=t.substr(t.indexOf(",")+1);try{let n=eje(r);/[\x00-\x08]/.test(n)||!/<svg\s/.test(n)?e.message="Failed to load the image":n.includes("<script")||n.includes("<foreignObject")?e.message="SVG image contains unsupported content":e.svgStr=n}catch{e.message="SVG image contains unsupported content"}}return e}function ygr(t,e){var s;let i=bTe(t);if(!i)return"";let o=i.documentElement,r=rn(o,"width"),n=rn(o,"height"),a=(s=rn(o,"viewBox"))==null?void 0:s.split(" ");if(!r||!n)if(a){let[,,l,c]=a,d=l/c;n=150,r=Math.round(n*d)}else r=150,n=150;if((!e.width||!e.height)&&(e.width=+r,e.height=+n),e.width&&e.height){let l=t.search(/<svg\s/),c=t.indexOf(">",l),d=t.substring(l,c);if(!/\s(width|height)=".*?"/.test(d))return d+=` width="${e.width}" height="${e.height}">`,t=t.substring(0,l)+d+t.substring(c),"data:image/svg+xml;base64,"+$_e(t)}return""}var tje={sch:{type:"image/jpeg,image/png,image/gif,image/webp,.svg,.svgz,.bmp",regex:/\.(png|gif|jpeg|jpg|jfif|webp|svg|svgz|bmp)$/i},panel:{type:"image/jpeg,image/png,image/gif,image/webp,.svg,.svgz,.bmp",regex:/\.(png|gif|jpeg|jpg|jfif|webp|svg|svgz|bmp)$/i},pcb:{type:"image/jpeg,image/png,image/gif,image/webp,.svg,.svgz,.bmp",regex:/\.(png|gif|jpeg|jpg|jfif|webp|svg|svgz|bmp)$/i}};async function JCt(t){let e=[],i=t.length,o=1/i,r=0,n="",a=new AbortController,s=!1,l="getImageInfoByFilesForSch"+Math.random();for(let c=0;c<i;c++){let d=t[c];try{let u=await bbi(d,{onProgress(m){s=!0,dre(r+m*o,"cc",l,()=>{a.abort("insert image aborted by progress")})},single:a.signal});n||(n=u.msg);let p=u.dataURL;if(p){let m=bgr(p);if(!m.message&&m.svgStr){let h=ygr(m.svgStr,u);h&&(p=h)}p&&e.push({src:p,width:u.width,height:u.height})}}catch{if(a.signal.aborted)return[];continue}finally{r+=o}}return n&&De({type:"warn",msg:n}),s&&ure(l),e}async function bbi(t,{maxBytes:e,acceptableBytes:i,onProgress:o,single:r}=ks){let n={file:t,dataURL:"",width:0,height:0,msg:""};if(!t)return n;Number.isFinite(e)||(e=50*(1<<20)),Number.isFinite(i)||(i=2*(1<<20)),i>e&&(i=e);let a=()=>{if(r&&r.aborted)throw new Error(r.reason)};o=o||AS;let s=m=>{a(),o(m)};if(t.size>e)return n.msg={value:"The image size cannot be more than {size} MB",options:{size:e/1024/1024}},n;if(t.size<=i){let m=await fbi(t);return n.dataURL=m.src,n.width=m.naturalWidth,n.height=m.naturalHeight,n}let l=async m=>{m.maxWidth=m.maxWidth||d.naturalWidth,m.maxHeight=m.maxHeight||d.naturalHeight;let h=await ggr(d,m);return h.dataURL||(h=await wgr(d,m)),h},c=0;s(c);let d=await fbi(t);if(ybi()){s(c=.2);let m=await l({bytesLimit:1*(1<<20),maxWidth:1080,maxHeight:1080});s(c=.3);let h=await aje(m.blob);if(s(c=.4),!h)return n}else s(c=.4);let u=1-c,p=await l({bytesLimit:i,onProgress(m){s(c+m*u)}});return n.file=new File([p.blob],t.name,{type:"image/webp",lastModified:t.lastModified}),n.originalFile=t,n.dataURL=p.dataURL,n.width=p.width,n.height=p.height,n.msg={value:"The image has been compressed to less than {size} MB",options:{size:i/1024/1024}},n}function qCt(t,e={}){return new Promise(async i=>{let o=!1;try{let r=new AbortController,n=await bbi(t,{...e,onProgress(a){o=!0,dre(a,"xx",void 0,()=>{r.abort("insert image aborted by progress")})},single:r.signal});n.msg&&De({type:"warn",msg:n.msg}),i(n)}catch{i({file:t,dataURL:"",width:0,height:0,msg:""})}finally{o&&ure()}})}async function oje({maxBytes:t,acceptableBytes:e,isPcb:i}=ks){return new Promise(o=>{nje(i?tje.pcb.type:tje.sch.type,i?tje.pcb.regex:tje.sch.regex,async r=>{let n=r[0];o(qCt(n,{maxBytes:t,acceptableBytes:e}))})})}async function wgr(t,e){let{bytesLimit:i=10<<20,maxWidth:o=1e3,maxHeight:r=1e3,minWidth:n=1,minHeight:a=1}=e,s=/^data:image\/jpeg;/.test(t.currentSrc||t.src),l=/^data:image\/svg\+xml;|\.svg$/i.test(t.currentSrc||t.src),{width:c,height:d,naturalWidth:u,naturalHeight:p}=t,m=u,h=p,f=1;l?m/h>o/r?(f=r/h,m=r*m/h,h=r):(f=o/m,h=o*h/m,m=o):m>o||h>r?(f=Math.min(o/m,r/h),m=Math.floor(m*f),h=Math.floor(h*f)):(m<n||h<a)&&(f=Math.max(n/m,a/h),m=Math.floor(m*f),h=Math.floor(h*f));let g=Math.max(m,n),b=Math.max(h,a),y=(E,N)=>{if(typeof OffscreenCanvas=="function")return new OffscreenCanvas(E,N);{let R=document.createElement("canvas");return R.width=E,R.height=N,R}},w=y(g,b),x=g<m?m-g>>1:0,S=b<h?h-b>>1:0;w.getContext("2d").drawImage(t,x,S,m,h),m=g,h=b;let M=await ZCt(w),I=M.size;ije.info("scaled to bytes: "+I);let A=.8;for(;I>i&&m>64&&h>64;){f*=A,m=m*A|0,h=h*A|0;let E=y(m,h);E.getContext("2d").drawImage(w,0,0,m,h);let R=await ZCt(E,"image/png"),v=M.size;if(s){let k=await ZCt(E,"image/jpeg",.8),P=k.size;M=v<=P?R:k,I=v<=P?v:P}else M=R,I=v;ije.info("scaled to bytes: "+I)}return ije.info("final bytes: ",{size:I,width:m,height:h}),{dataURL:await rje(M,"DataURL"),width:m,height:h,bytes:I,blob:M}}async function rje(t,e,i){return new Promise((o,r)=>{var n=new FileReader;if(e=="DataURL")n.readAsDataURL(t);else if(e=="ArrayBuffer")n.readAsArrayBuffer(t);else if(e=="Text")n.readAsText(t,i);else{r(new Error("invalid type"));return}n.onload=a=>o(n.result),n.onerror=a=>r(a)})}async function lje(t){oje({isPcb:!0}).then(async e=>{if(!e.dataURL)return;let i=e.originalFile,o=e.file;cre.add(e.dataURL,o);let r=new B2,n=await r.getImageType(e.file),a=e.originalFile?await r.getImageType(i):null;t({originUrl:e.dataURL,name:o.name,size:o.size,lastModified:o.lastModified,type:o.type,actualFormat:n,actualOriginalFormat:a})})}var GT=L(Vi());var pc=L(Se());var sd=L(Se());function wbi(t){let e=(t==null?void 0:t.document)||window.document;return e?e.compatMode==="BackCompat"?{width:e.body.clientWidth,height:e.body.clientHeight}:{width:e.documentElement.clientWidth,height:e.documentElement.clientHeight}:{width:0,height:0}}var dje=L(Se());var Tbi=L(XCt());var xbi=L(Se()),cje=(0,xbi.createContext)({});var Sbi=L(z()),Cgr=be.bind(Tbi.default.locals),yTe=t=>{let e=J(),{isTranslate:i=!0,className:o,value:r="",children:n,...a}=t,s=(0,dje.useContext)(cje),l=Cgr(`eda-new-select-dropdown__item ${o}`,{"eda-new-select-option":s.selectValue===r}),c=(p,m)=>{let h="";return typeof p=="object"&&Array.isArray(p)?p.some(f=>typeof f=="string"?(h=f,!0):!1):typeof p=="object"?h=m:typeof p=="string"&&(h=p),!m||!h?"":h},d=()=>{s.onChange&&s.onChange(r,c(n,r))},u=p=>i?e(p):p;return(0,dje.useEffect)(()=>{s.selectValue===r&&s.updateValue&&s.updateValue(r,c(n,r))},[s.selectValue]),(0,Sbi.jsx)("li",{className:l,...a,onClick:p=>{p.stopPropagation(),s.hidden(),d()},"data-test":typeof n=="string"?n:"",children:typeof n=="string"?u(n):n})},lc=yTe;var ext=L(XCt());var $_=L(Se());var Mbi=L(Hr()),pje=L(z()),uje={},$Ct={},wTe=class{static open(e,i,o,r=window){let n=`drop-down-hoverTips-${e}`,a=r.document.getElementById(n);a||(a=r.document.createElement("div"),a.id=n,r.document.body.appendChild(a),uje[e]=Mbi.default.createRoot(a),$Ct[e]=a),uje[e].render((0,pje.jsx)(_r.Provider,{value:r,children:(0,pje.jsx)(xgr,{left:o.left,top:o.top,renderText:i},`${o.left+"_"+o.top}`)}))}static close(e){var i,o;(i=uje[e])==null||i.unmount(),(o=$Ct[e])==null||o.remove(),delete uje[e],delete $Ct[e]}},xgr=t=>{let{top:e,renderText:i}=t,[o,r]=(0,$_.useState)(0),[n,a]=(0,$_.useState)(22),[s,l]=(0,$_.useState)(t.left),c=(0,$_.useRef)(null),d=(0,$_.useContext)(_r);return(0,$_.useLayoutEffect)(()=>{if(!c.current)return;let{width:u,height:p}=c.current.getBoundingClientRect(),m=d.innerWidth;u>m?(r(m),l(1)):m-s<u&&l(m-u),p!==n&&a(p)},[d.innerWidth]),(0,pje.jsx)("div",{ref:c,style:{position:"fixed",left:`${s-1}px`,top:`${e-n-3}px`,padding:"2px 6px 2px 5px",border:"1px solid #000",backgroundColor:"var(--bg-color-input)",fontSize:"11px",zIndex:((self.UI.windowZIndex||9e5)+1).toString(),...o?{width:o,maxWidth:o}:{}},children:i})};var Sv=L(z()),ej=(0,sd.forwardRef)((t,e)=>{var Oe,Ue,Ve,ze,He,Ye,ke,Be,Xe,Ge;let{height:i="100%",width:o="100%",className:r,searchAble:n,searchInputPlaceholder:a,dropBoxPadding:s,style:l,isTranslateForSelectedText:c=!0,showHoverTitle:d=!1,hoverTitle:u,selectedValue:p,selectedText:m,onItemChange:h,children:f,hiddenCallback:g,onSearchInput:b,renderText:y,disabled:w}=t;Ae(ext.default);let x=be.bind(ext.default.locals),S=J(),T=(0,sd.useContext)(_r),M=n?420:396,[I,A]=(0,sd.useState)(!1),[D,E]=(0,sd.useState)(p||""),[N,R]=(0,sd.useState)(m||""),[v,k]=(0,sd.useState)(""),[P,O]=(0,sd.useState)(0),[_,j]=(0,sd.useState)(0),[B,V]=(0,sd.useState)(0),[G,Q]=(0,sd.useState)(0),[H,q]=(0,sd.useState)(0),U=(0,sd.useMemo)(()=>crypto.randomUUID(),[]),F=(0,sd.useRef)(void 0),K=(0,sd.useRef)(void 0),te=(0,sd.useRef)(null),ae=(0,sd.useRef)(p),pe=(0,sd.useRef)(m),Z=(0,sd.useRef)(p),ee=(0,sd.useRef)(m),ce=(0,sd.useRef)(null),ne=te.current?te.current.getBoundingClientRect().width:0,oe=K.current?K.current.getBoundingClientRect().left:0;(0,sd.useImperativeHandle)(e,()=>({hidden:()=>{A(!1),n&&F.current&&F.current.blur(),!n&&K.current&&K.current.blur()},toggle:()=>{fe(void 0,!0)},show:()=>{A(!0)},refreshDropdownRefHeight:()=>{Pe()}}));let re=(0,sd.useMemo)(()=>wbi(T).height,[B]),Y=(0,sd.useMemo)(()=>(ae.current!==p&&(ae.current=p,Z.current=p),Z.current),[p,D]),X=(0,sd.useMemo)(()=>(pe.current!==m&&(pe.current=m,ee.current=m),ee.current),[m,N]),ie=(0,sd.useMemo)(()=>{let pt=P?P+(n?40:16):M,ot=_<M?pt:M;return I?re-H<ot&&G>ot?"is-reverse-top-new":"is-reverse-new":""},[I,H,G,_,M,P,n]),de=(0,sd.useMemo)(()=>{let Ke=n?40:16;return ie==="is-reverse-new"&&H&&_?(_>M&&re-H<M?re-H:M)-Ke:M-Ke},[re,_,ie,M,H,n]);(0,sd.useEffect)(()=>{I?(n&&F.current&&F.current.focus(),!n&&K.current&&K.current.focus()):(k(""),g&&g())},[I]);let fe=(Ke,pt)=>{Ke==null||Ke.preventDefault(),Ke==null||Ke.stopPropagation(),A(!I),I&&pt&&(n&&F.current&&F.current.blur(),!n&&K.current&&K.current.blur())},ye=Ke=>{b&&b(Ke.target.value),k(Ke.target.value)},Le=(Ke="",pt="")=>{p===void 0&&(Z.current=Ke,E(Ke)),m===void 0&&(ee.current=pt,R(pt))},Ne={selectValue:Y,onChange:(Ke="",pt="")=>{Le(Ke,pt),h&&h(Ke,pt,Le)},updateValue:Le,hidden:()=>{A(!1),n&&F.current&&F.current.blur(),!n&&K.current&&K.current.blur()}},Te=Ke=>c?S(Ke):Ke,Pe=()=>{let Ke=te.current;if(!Ke)return;let pt=Ke.getBoundingClientRect();pt.height&&O(pt.height),Ke.scrollHeight&&j(Ke.scrollHeight)};return(0,sd.useLayoutEffect)(()=>{let Ke=I,pt=()=>{V(Qe=>Qe+1)},ot=Qe=>{ce.current&&ce.current.contains(Qe.target)||Ke&&A(!1)};return Ke&&T.document.addEventListener("scroll",ot,!0),Ke&&T.addEventListener("resize",pt),()=>{Ke&&T.removeEventListener("resize",pt),Ke&&T.document.removeEventListener("scroll",ot)}},[I]),(0,sd.useEffect)(()=>{let Ke=new ResizeObserver(pt=>{window.requestAnimationFrame(()=>{Pe()})});return te.current&&Ke.observe(te.current),()=>{Ke.disconnect()}},[te.current]),(0,sd.useLayoutEffect)(()=>{if(!I||!K.current||!te.current)return;let Ke=K.current.getBoundingClientRect();Ke.top&&Ke.top!==G&&Q(Ke.top),Ke.bottom&&Ke.bottom!==H&&q(Ke.bottom)},[I,re]),(0,Sv.jsx)(cje.Provider,{value:Ne,children:(0,Sv.jsxs)("div",{className:x("eda-select-drop-down-box",{[r]:r},{active:ie}),style:{height:i,width:o,...l},ref:ce,children:[(0,Sv.jsxs)("div",{ref:K,title:u||d?u||Te(X):"",tabIndex:-1,className:x("select-content-show",{"not-select":!ie,disabled:w}),onClick:Ke=>{Ke.stopPropagation(),!w&&fe(Ke,!1)},onMouseEnter:()=>{var Ke,pt,ot,Qe;y&&wTe.open(U,y,{left:((pt=(Ke=K.current)==null?void 0:Ke.getBoundingClientRect())==null?void 0:pt.left)||0,top:((Qe=(ot=K.current)==null?void 0:ot.getBoundingClientRect())==null?void 0:Qe.top)||0},T)},onMouseLeave:()=>y&&wTe.close(U),onMouseDown:Ke=>Ke.preventDefault(),...!n&&{onBlur:()=>A(!1)},children:[y||(0,Sv.jsx)("span",{className:x("select-content-show-text"),"data-test":X,children:Te(X)}),I&&(0,Sv.jsx)("span",{className:x("select-right-icon")})]}),(0,Sv.jsxs)("div",{className:x(`eda-new-select-dropdown ${ie}`),style:{position:"fixed",top:`${ie==="is-reverse-new"?((Ue=(Oe=K.current)==null?void 0:Oe.getBoundingClientRect())==null?void 0:Ue.bottom)||0:((ze=(Ve=K.current)==null?void 0:Ve.getBoundingClientRect())==null?void 0:ze.top)||0}px`,left:`${oe+ne>T.innerWidth?oe-(ne-(T.innerWidth-oe))-2:oe}px`,minWidth:`${((Ye=(He=K.current)==null?void 0:He.getBoundingClientRect())==null?void 0:Ye.width)||0}px`},onMouseDown:Ke=>Ke.preventDefault(),children:[n&&(0,Sv.jsx)("div",{className:x("eda-new-select-dropdown-search-input"),style:{...s?{padding:s,paddingBottom:"8px"}:{}},children:(0,Sv.jsx)("input",{"data-tabfocus":"tabfocus",value:v,placeholder:a,ref:F,onChange:ye,autoFocus:!0,type:"text",onBlur:()=>A(!1)})}),Number(f)===0?(0,Sv.jsx)("div",{className:x("eda-new-option__empty-block"),children:(0,Sv.jsx)("span",{className:x("eda-new-option__empty-text"),"data-test":"No Data!",children:S("No Data!")})}):(0,Sv.jsx)("div",{className:x("eda-new-select-dropdown-list"),style:{...s&&{padding:s,...n&&{paddingTop:"0px"}},maxHeight:`${de}px`,maxWidth:`${((Be=(ke=K.current)==null?void 0:ke.getBoundingClientRect())==null?void 0:Be.width)>400?(Ge=(Xe=K.current)==null?void 0:Xe.getBoundingClientRect())==null?void 0:Ge.width:400}px`},ref:te,children:f})]})]})})});ej.Option=lc;var ld=ej;var Yj=L(CTe());var Kv=L(Se());var ISt=L(Vi());var xTe=L(Vi());var txt;async function Tgr(){try{let t={method:"get"},e=await fetch(C.apis.client.systemVersion,t).catch(i=>null);return(e==null?void 0:e.status)===200?await e.json():(new E2(D2.WARN).error("getPrivateClientVersion: failed",e),null)}catch(t){return new E2(D2.WARN).error("getPrivateClientVersion: failed",t),null}}async function ixt(){var t;return!_t||!qL?(new E2(D2.WARN).error("getPrivateClientVersion: error used"),""):txt||(txt=(t=await Tgr())==null?void 0:t.appMainVersion)||""}var mje={lceda:{description:"JLCEDA Pro Edition - The new generation PCB design tool, Powerful, Easier, Effecient, and huge amounts of free libraries.",keywords:"JLCEDA Pro, JLCEDA, Schematic Capture, PCB Layout, EDA, PCB Software, PCB Tool for Free, Online PCB Tool",title:"lcedatitle"},easyeda:{description:"EasyEDA Professional - The new generation PCB design tool, powerful, easier, efficient, collaboration, has a large number of libraries.",keywords:"EasyEDA Professional, schematic design, PCB design, EDA, free PCB tool, online PCB tool",title:"easyedatitle"}};async function vbi(){let t=(0,xTe.default)('meta[name="description"]'),e=(0,xTe.default)('meta[name="keywords"]');Xr&&(t.attr("content",mje.lceda.description),e.attr("content",mje.lceda.keywords)),vo&&(t.attr("content",mje.easyeda.description),e.attr("content",mje.easyeda.keywords)),me.update(t),me.update(e)}var Sgr=()=>{switch(M9){case"HALF_OFFLINE":return"Half Offline Mode";case"OFFLINE":return"Full Offline Mode";case"ONLINE":return"Full Online Mode"}};function Lbi(t=""){let i=((t==null?void 0:t.split("."))||[]).slice(0,3).join(".");return i?`V${i}`:""}async function Mgr(){let t=[],e=C.currentProject.title;e&&t.push(e);let i=he.getActiveTabData();if(i){let s=i.notUseI18n?i==null?void 0:i.title:me.i18n(i.title);t.push(s)}let o=[],r=me.i18n("JLCEDA Pro"),n=Lbi((0,xTe.default)('meta[name="editorMainVersion"]').attr("content")),a=[r,n].join(" - ");if(o.push(a),qL){let s=me.i18n("User Client"),l=Lbi(await ixt()),c=[s,l].join(" - ");o.push(c)}t.push(...o),document.title=t.join(" | "),C.originalTitle=o.join(" | ")}async function PZ(t,e){if(_t)return await Mgr();let i=me.i18n(Xr?"JLCEDA Pro":Nt?"JLCECAD":"EasyEDA Pro"),o=(0,xTe.default)('meta[name="editorMainVersion"]').attr("content");if(wi)document.title=me.i18n(i);else{if(i.indexOf(` - V${o}`)>-1){let l=i.trim().split("|");document.title=`${l[l.length-1]}`}else{let l="",c=(o==null?void 0:o.split("."))||[];for(let d=0;d<=2;d++){let u=c[d];if(u==null||u=="")break;d==0?l=`${u}`:l+=`.${u}`}document.title=`${vo?i:me.i18n(i)} - V${l}`}C.originalTitle=document.title;return}let r=Sgr(),n=me.i18n("JLCEDA Pro")+` ${o} - ${me.i18n(r)} | ${me.i18n("LicensedTo.licensedTo2")} `;i=n,C.client.activationClientInfo=n;let a=C.client.currentProjectName||e,s=me.i18n("JLCEDA Pro")+" - V"+o;document.title=s,a&&(document.title=a+" | "+document.title)}var oxt=class extends qe{constructor(){super(...arguments);this.serviceList=[]}setServiceList(i){this.serviceList=i,this.notify()}},TTe=new oxt,rxt=class extends qe{constructor(){super(...arguments);this.type="";this.recentDesignList=[];this.clientRecentList=[]}setRecentDesignList(i,o){this.type=i,this.recentDesignList=o,this.notify()}setClientRecentList(i,o){this.type=i,this.clientRecentList=o,this.notify()}},pC=new rxt,nxt=class extends qe{constructor(){super(...arguments);this.messageHtml=""}setMessageHtml(i){this.messageHtml=i,this.notify()}},Ipe=new nxt;var Dbi=L(Vi());function Lpe(t,e,i,o,r=void 0,n=!1){Ut({title:e,type:"confirm",icon:r,message:i,textOK:"Yes",isHtml:n,textCancel:"No",onConfirm:o})}var hje=/.+_.+/;async function tj(t=kwe.DEVELOPER){let{hasPermission:e}=await Mv();return e}async function Ebi(){if(Rc.recentProjectData.length<=0)return De({type:"warn",msg:"No cache project!",timer:3});let t=async function(e){if(!e)return;let{projectId:i}=C.currentProject,{message:o}=await C.messageBus.rpcCall(Yo.PROJECT.GET_ALL);if(Je){let{message:r}=await C.messageBus.rpcCall(Ei.CLIENT.PROJECT_HISTORY);o=r.result}await Ro(o,async(r,n)=>{if(Je){let a=C.client.currentProjectPath;if(n.path===a)return;await C.messageBus.rpcCall(Ei.CLIENT.DELETE_HISTORY,[n.path])}else{if(n.projectId===i)return;await C.messageBus.rpcCall(Xy.DEL_PROJECT,[n.projectId])}}),i||((0,Dbi.default)("#recent_lists").html(""),Rc.setRecentProject([])),C.messageBus.publish("updateRecentList")};Lpe(C.currentProject,"Notice","Delete all local cache projects?",t)}async function ij(t){var n,a;let{datas:e,options:i}=t,o=i.projectId;if(o===C.currentProject.projectId){i.byUUID=(n=i.byUUID)!=null?n:!0;let s=await r(t);return await C.messageBus.rpcCall("refreshTreeData"),s}else if(i.byUUID=(a=i.byUUID)!=null?a:!1,(await Os({uuid:o,options:{choose:"importExistPrj",importData:e,projectTitle:i.projectTitle}})).success){let l=await r(t);return await C.messageBus.rpcCall("refreshTreeData"),l}async function r(s){var m;let{datas:l,options:c}=s||{},d=c.projectId,{hasPermission:u}=(await C.messageBus.rpcCall("/pro-ui/judgePermission",{projectId:d,type:"project_pastingOtherDocumentToCurrentProject",showErrorMsg:!0})).message,p=(await C.messageBus.rpcCall("ui/hasDocCreatePermission",{projectId:d,showMsg:!0})).message;if(u&&p)if(c!=null&&c.file)try{return la.importExistProject({data:c.file,targetPath:d})}catch{return null}else{c.owner=c.owner||((m=C.globalVariableCookieData)==null?void 0:m.userInfo);let{message:h}=await C.messageBus.rpcCall(qr.IMPORT_TARGET_PROJECT,{datas:l,...c,uuid:d});return h.result||null}}}var OZ=new hT(2),axt=class{constructor(){this.cmd="CLONEPAGESTOPROJECT";this.registerChannel(),this.bindEvent()}registerChannel(){this.channel=new BroadcastChannel("ClonePages2Prj")}bindEvent(){let e=this;this.channel.onmessage=function(i){e.onmessage.call(e,i)}}onmessage(e){let{name:i,success:o,uniqId:r,project:n,ops:a}=e.data;if(!i)return;OZ.debug("------1111111111---------",e.data);let[s,l]=i.split("_");if(s===this.cmd){if(OZ.debug("------222222222222---------",e.data),o){if(l!==this.projectId)return;OZ.debug(55555555555,e.data,this.project),this.postMessage({name:i,project:this.project,uniqId:r,ops:{projectId:this.projectId,projectTitle:this.projectTitle}}),this.clearAWin()}l===C.currentProject.projectId&&n&&a&&r===this.uniqId&&(OZ.debug(6666666666666,e.data),ij({datas:n,options:a}),this.clearBWin())}}get uniqId(){return this._uniqId}set uniqId(e){this._uniqId=e}postMessage(e){this.channel.postMessage(e)}async clone(e,i){let o=null,{targetPrjTitle:r,targetPrjId:n}=i;if(!r||!n)return;this.projectId=n,this.projectTitle=r,A2&&this.projectId!==C.currentProject.projectId&&(o=window.open("about:blank","_blank"));let a=uP(e),s=C.currentProject.projectId,{message:l}=await C.messageBus.rpcCall($e.PROJECT.GET_RELATED,[{uuid:s,...a},s]),c=l.result;if(!c){A2&&(o==null||o.close());return}OZ.debug(1111111,"relateData...",l);let d={uuid:C.currentProject.projectId,datas:c,origin:await m(a)},{message:u}=await C.messageBus.rpcCall(qr.BUILD_TARGET,d),p=u.result;if(OZ.debug(2222222,p),!p){A2&&(o==null||o.close());return}this.project=p,this.projectId===C.currentProject.projectId?(OZ.debug(333333333333),await ij({datas:p,options:{projectId:i.targetPrjId,projectTitle:i.targetPrjTitle}}),this.clearAWin()):(OZ.debug(4444444444444),A2&&o?(o.blur(),o.opener.focus(),o.location=`/editor#id=${this.projectId}`):window.open(`/editor#id=${this.projectId}`,"_blank"));async function m(h){let f={},g;for(g in h)if(g==="schs")for(let{uuid:b,sheets:y=[]}of h.schs)f.schematicIds=f.schematicIds||[],f.schematicIds.push(b),f.sheetIds=f.sheetIds||[],f.sheetIds.push(...y);else if(g==="boardIds")for(let b of h.boardIds){let{message:y}=await C.messageBus.rpcCall($e.BOARD.GET_BIND_KEYS,[b]);y!=null&&y.schematic&&(f.schematicIds=f.schematicIds||[],f.schematicIds.push(y==null?void 0:y.schematic)),y!=null&&y.pcb&&(f.pcbIds=f.pcbIds||[],f.pcbIds.push(y==null?void 0:y.pcb)),f.boardIds=f.boardIds||[],f.boardIds.push(b)}else f[g]=h[g];return f}}clearAWin(){this.projectId=void 0,this.projectTitle=void 0,this.project=void 0}clearBWin(){this.uniqId=void 0}},dP=new axt;var Fm=class Fm{static getProjectDataStore(e){return Fm.projectDataStore[e]||(Fm.projectDataStore[e]=new sxt),Fm.projectDataStore[e]}static setProjectData(e,i){i&&this.getProjectDataStore(i).setProjectData(e)}static getContentMenuId(e){return e+"_content-menu"}static getExpandKeysStore(e){return Fm.expandKeysStore[e]||(Fm.expandKeysStore[e]=new cxt(e)),Fm.expandKeysStore[e]}static deleteExpandKeysStore(e){Fm.expandKeysStore[e]&&delete Fm.expandKeysStore[e]}static getKeyboardStore(e){return Fm.keyboardStore[e]||(Fm.keyboardStore[e]=new L8),Fm.keyboardStore[e]}static deleteKeyboardStore(e){Fm.keyboardStore[e]&&delete Fm.keyboardStore[e]}static getSelectIdStoreStore(e){return Fm.selectIdStore[e]||(Fm.selectIdStore[e]=new dxt),Fm.selectIdStore[e]}static deleteSelectIdStoreStore(e){Fm.selectIdStore[e]&&delete Fm.selectIdStore[e]}static setTreeMousePosition(e,i){this.treeMousePosition[e]=i}static getTreeMousePosition(e){return this.treeMousePosition[e]||{x:-1,y:-1}}static deleteTreeMousePosition(e){this.treeMousePosition[e]&&delete this.treeMousePosition[e]}};Fm.expandKeysStore={},Fm.keyboardStore={},Fm.selectIdStore={},Fm.projectDataStore={},Fm.projectTreeContextMenuData=null,Fm.treeMousePosition={},Fm.treeFocusSet=new Set;var Wr=Fm,vpe=new PCe,sxt=class extends qe{constructor(){super(...arguments);this.projectData=[]}setProjectData(i){this.projectData=i,this.notify()}},lxt=class extends qe{constructor(){super(...arguments);this.projectSortOrder="descending";this.projectSortType="modification_time";this.menuIdSet=new Set}setProjectSortOrder(i){this.projectSortOrder=i,this.updateMenuSort("order")}setProjectSortType(i){this.projectSortType=i,this.updateMenuSort("type")}updateMenuSort(i){let o=this,r="project-tree-context-menu-sort";i==="order"&&si.setRadioStatus(r,"sort_duration",o.projectSortOrder=="ascending"?"ascending_order":"descending_order"),i==="type"&&si.setRadioStatus(r,"sort_type","sort_by_"+o.projectSortType)}},Dpe=new lxt,cxt=class extends qe{constructor(i){super();this.treeId="";this.expandKeys=new Set;this.collapseKeys=new Set;this.allHasChildIds=new Set;this.treeId=i}clear(){this.expandKeys.clear(),this.collapseKeys.clear()}add(i,o,r){this.expandKeys.add(i),this.collapseKeys.delete(i),!o&&this.notify(),!r&&STe(this.treeId,Array.from(this.collapseKeys))}delete(i,o,r){this.expandKeys.delete(i),this.collapseKeys.add(i),!o&&this.notify(),!r&&STe(this.treeId,Array.from(this.collapseKeys))}has(i){return this.expandKeys.has(i)}expandAll(){this.allHasChildIds.forEach(i=>{this.expandKeys.add(i),this.collapseKeys.delete(i)}),this.notify(),STe(this.treeId,Array.from(this.collapseKeys))}collapseAll(){this.allHasChildIds.forEach(i=>{this.expandKeys.delete(i),this.collapseKeys.add(i)}),this.notify(),STe(this.treeId,Array.from(this.collapseKeys))}},dxt=class extends qe{constructor(){super(...arguments);this.selectIds=[];this.selectNodes=[]}setSelect(i,o){this.selectIds=i.length?i.map(r=>r.id):[],this.selectNodes=i,!o&&this.notify()}};var uxt=class extends qe{constructor(){super(...arguments);this.projectTitle="";this.projectUuid=""}setProjectMsg(i,o){this.projectTitle=i,this.projectUuid=o,this.notify()}},ku=new uxt;var Ub=L(z()),q6="projectTree",vT="openProjectTreeDialog",Abi=()=>(0,Ub.jsxs)(Ub.Fragment,{children:[(0,Ub.jsx)(Me,{type:"primary",onClick:()=>{var e,i;let t=Wr.getSelectIdStoreStore(q6).selectNodes;t.length&&((i=(e=t[0])==null?void 0:e.args)!=null&&i.isProject)?pP({projectId:t[0].id}):De({type:"warn",msg:"Please select the project first!"})},children:"Open in New Window"}),(0,Ub.jsx)(Me,{type:"primary",onClick:async()=>{var e,i;let t=Wr.getSelectIdStoreStore(q6).selectNodes;t.length&&((i=(e=t[0])==null?void 0:e.args)!=null&&i.isProject)?(le.close(vT),await pre(t[0].args)):De({type:"warn",msg:"Please select the project first!"})},children:"Open Project"}),(0,Ub.jsx)(Me,{onClick:()=>{le.close(vT)},children:"Cancel"})]}),Nbi=t=>{let{confirmCallback:e}=t;return(0,Ub.jsxs)(Ub.Fragment,{children:[(0,Ub.jsx)(Me,{type:"primary",onClick:async()=>{var o,r;let i=Wr.getSelectIdStoreStore(q6).selectNodes;if(i.length){let n=i[0],a=n.id,s=n.title,l=(o=n==null?void 0:n.args)==null?void 0:o.type,c=(r=n==null?void 0:n.args)==null?void 0:r.isProject;if(!a||!c){De({type:"warn",msg:"Please select the project first!"});return}if(e instanceof Function&&e({projectId:a,projectTitle:s})===!0)return;ku.setProjectMsg(s,a),le.close(vT)}else{De({type:"warn",msg:"Please select the project first!"});return}},children:"Confirm"}),(0,Ub.jsx)(Me,{onClick:()=>{le.close(vT)},children:"Cancel"})]})},kbi=t=>{let{data:e}=t;return(0,Ub.jsxs)(Ub.Fragment,{children:[(0,Ub.jsx)(Me,{type:"primary",onClick:async()=>{var o,r;let i=Wr.getSelectIdStoreStore(q6).selectNodes;if(i.length&&((r=(o=i[0])==null?void 0:o.args)!=null&&r.isProject)){let n=i[0],a=n.id,s=n.title;dP.clone(e,{targetPrjId:a,targetPrjTitle:s}),le.close(vT)}else De({type:"warn",msg:"Please select the project first!"})},children:"Clone"}),(0,Ub.jsx)(Me,{onClick:()=>{le.close(vT)},children:"Cancel"})]})},Pbi=t=>(0,Ub.jsxs)(Ub.Fragment,{children:[(0,Ub.jsx)(Me,{type:"primary",onClick:async()=>{var o;let i=Wr.getSelectIdStoreStore(q6).selectNodes.filter(r=>{var n;return(n=r.args)==null?void 0:n.isProject});i.length>0?(le.close(vT),(o=t.chooseHandle)==null||o.call(null,i)):De({type:"warn",msg:"Please select the project first!"})},children:"Choose"}),(0,Ub.jsx)(Me,{onClick:()=>{le.close(vT)},children:"Cancel"})]});var SC=L(Se());var gSt=L(pxt());var Ku=L(Se());var ayi=L(Vi());var syi=L(Hr());var xxt=L(_bi()),lyi=L(Se());var fV=L(Vi());var NS="annotationPanel",mre="newAnnotationBlock";var MTe=Math.ceil(self.screen.availHeight/110);var kS="historicalRecordsPanel";var Wea=Math.ceil(self.screen.availHeight/110);var jbi,Igr=[{tabId:"simulation-attr",title:"Property",mode:[se.NGSPICE,se.WAVEFORM,se.SIMULIDE]},{tabId:"simulation-config",title:"Simulation Settings",mode:[se.SIMULIDE]},{tabId:"sch-attr",title:"Property",mode:[se.SCH,se.PART,se.BLOCK_SYMBOL,se.NETFLAG,se.NETPORT,se.OFF_PAGE_CONNECTOR,se.DIFF_PAIRS_FLAG,se.SHEET_SYMBOL,se.NONEELEC_SYMBOL,se.SHORT_SYMBOL,se.ASSEMBLY_VARIANT]},{tabId:"sch-filter",title:"Filter",mode:[se.SCH,se.PART,se.BLOCK_SYMBOL,se.NETFLAG,se.NETPORT,se.OFF_PAGE_CONNECTOR,se.DIFF_PAIRS_FLAG,se.SHEET_SYMBOL,se.NONEELEC_SYMBOL,se.SHORT_SYMBOL]},{tabId:"project-attr",title:"Property",mode:se.BLANKTAB,isDisplayNone:(jbi=ln)==null?void 0:jbi.isViewerMode},{tabId:"panel-layer",title:"Layer",mode:[se.PANEL,se.PANEL_LIB]},{tabId:"panel-filter",title:"Filter",mode:[se.PANEL,se.PANEL_LIB]},{tabId:"panel-attr",title:"Property",mode:[se.PANEL,se.PANEL_LIB]},{tabId:"pcb-layer",title:"Layer",mode:[se.PCB,se.FOOTPRINT]},{tabId:"pcb-filter",title:"Filter",mode:[se.PCB,se.FOOTPRINT]},{tabId:"pcb-attr",title:"Property",mode:[se.PCB,se.FOOTPRINT]},{tabId:"pcb-sketcher-attr",title:"Property",mode:[se.PCB,se.FOOTPRINT]},{tabId:"pcb2d-attr",title:"Property",mode:se.PHOTOVIEW},{tabId:"pcb3d-layer",title:"Layer",mode:se.VIEW3D},{tabId:"pcb3d-attr",title:"Property",mode:se.VIEW3D},{tabId:"panel3d-layer",title:"Layer",mode:se.PANEL3D},{tabId:"panel3d-attr",title:"Property",mode:se.PANEL3D},{tabId:"annotation",title:"Annotation",mode:[se.BLANKTAB,se.SCH,se.PCB],isDisplayNone:!_t},{tabId:"historical-records",title:"Historical Records",isDisplayNone:!0}],Br=new class{constructor(){this.id="right-panel-tab-container";this._clickedTabId=void 0}get clickedTabId(){return this._clickedTabId||"pcb-layer"}set clickedTabId(t){t!=="pcb-sketcher-attr"&&(this._clickedTabId=t)}init(){var e,i,o,r,n,a;let t={id:this.id,dom:"layoutRight",tabs:Igr,tabDock:"right",styleType:"panel",tabsStyle:{minHeight:"72px"},tabBoxStyle:{padding:0},tabSize:24,activeTabId:"",currentMode:Ee.HOME,dataSensors:!0,isShowMarkLine:!0,getActiveByMode:s=>{switch(s){case se.BLANKTAB:return ln.isViewerMode?"":"project-attr";case se.PANEL_LIB:case se.PANEL:return C.rightPanelActiveTab.PANEL;case se.SIMULIDE:case se.WAVEFORM:case se.NGSPICE:return C.rightPanelActiveTab.SIMULATION;case se.SCH:case se.PART:case se.BLOCK_SYMBOL:case se.NETFLAG:case se.NETPORT:case se.OFF_PAGE_CONNECTOR:case se.DIFF_PAIRS_FLAG:case se.SHEET_SYMBOL:case se.NONEELEC_SYMBOL:case se.SHORT_SYMBOL:return C.rightPanelActiveTab.SCH;case se.PCB:case se.FOOTPRINT:return C.rightPanelActiveTab.PCB;case se.PHOTOVIEW:return C.rightPanelActiveTab.PCB2D;case se.VIEW3D:return C.rightPanelActiveTab.PCB3D;case se.PANEL3D:return C.rightPanelActiveTab.PANEL3D;case se.ASSEMBLY_VARIANT:return C.rightPanelActiveTab.ASSEMBLY_VARIANT;default:return""}},pushpin:{isFixed:!((a=(n=(r=(o=(i=(e=C)==null?void 0:e.profileSetting)==null?void 0:i.commSystemSetting)==null?void 0:o.SYSTEM)==null?void 0:r.sidePanelAutoHide)==null?void 0:n.leftPanel)!=null&&a.value),onClick:s=>{let l=Wi("SYSTEM","sidePanelAutoHide",{readValueKey:!1});l.rightPanel.value=s,mt.savePreference("commSystemSetting",sc(),!0,!1),It.setPinStatus(Br.id,!s)}},blankClick:async s=>{await Pn("layout_toggler_right",!(0,fV.default)("#layout_toggler_right").hasClass("close"),!0)}};t.tabs.forEach((s,l)=>{(s.tabId==="annotation"||s.tabId==="project-attr")&&(t.tabs[l].isDisplayNone=t.tabs[l].isDisplayNone||ln.isViewerMode)}),It.addTabBar(t),(0,fV.default)(`#tab-container-${this.id}`).css({zIndex:10}),C.messageBus.subscribe("/pro-ui/container/tab/onClick",s=>{let{containerId:l,tabId:c,isTrueClick:d}=s;l===Br.id&&this.handleClick(c,d)})}handleClick(t,e,i){var l;let o=It.containerInfo[Br.id],r=o.currentMode,n=o.tabs.find(c=>c.tabId===t);if(!(n&&r!==void 0&&(n.mode===void 0||It.judgeHasMode(r,n.mode)))||n.disabled)return;switch(C.isHistoryMode||(It.setTabDisplayNone(Br.id,"historical-records",!0),t=="historical-records"&&(C.rightPanelActiveTab.SCH=="historical-records"&&(C.rightPanelActiveTab.SCH=C.rightPanelActiveTabBefore.SCH),C.rightPanelActiveTab.PCB=="historical-records"&&(C.rightPanelActiveTab.PCB=C.rightPanelActiveTabBefore.PCB),t=o.getActiveByMode(r))),(0,fV.default)("#layoutRight [data-tab]").addClass("hidden"),(0,fV.default)(`#layoutRight [data-tab="${t}"]`).removeClass("hidden"),t){case"simulation-attr":case"simulation-config":this.SimulationTabOnSelect&&this.SimulationTabOnSelect(t),C.rightPanelActiveTab.SIMULATION=t;break;case"panel-attr":case"panel-filter":case"panel-layer":C.panelRightTabOnSelect&&C.panelRightTabOnSelect(t),C.rightPanelActiveTab.PANEL=t;break;case"sch-attr":case"sch-filter":this.SchTabOnSelect&&this.SchTabOnSelect(t),C.rightPanelActiveTab.SCH=t;break;case"pcb-attr":case"pcb-filter":case"pcb-layer":case"pcb-sketcher-attr":case"annotation":this.PcbTabOnSelect&&this.PcbTabOnSelect(t),C.rightPanelActiveTab.PCB=t;break;case"pcb2d-attr":C.rightPanelActiveTab.PCB2D=t;break;case"pcb3d-attr":case"pcb3d-layer":C.rightPanelActiveTab.PCB3D=t;break;case"panel3d-attr":case"panel3d-layer":C.rightPanelActiveTab.PANEL3D=t;break;case"historical-records":C.rightPanelActiveTab.SCH!="historical-records"&&(C.rightPanelActiveTabBefore.SCH=C.rightPanelActiveTab.SCH),C.rightPanelActiveTab.PCB!="historical-records"&&(C.rightPanelActiveTabBefore.PCB=C.rightPanelActiveTab.PCB),C.rightPanelActiveTab.SCH=t,C.rightPanelActiveTab.PCB=t,It.setTabDisplayNone(Br.id,t,!1);break}e&&(Br.clickedTabId=t);let a=document.getElementById("layoutRight");if(a){let c=a.children;Array.from(c).forEach((d,u)=>{d.id==="tab-container-right-panel-tab-container"||[NS,kS].includes(d.id)||(["annotation","historical-records"].includes(t)?(0,fV.default)(d).addClass("hidden"):(0,fV.default)(d).removeClass("hidden"))})}let s=((l=It.getActiveTab(Br.id))==null?void 0:l.tabId)||"";e&&s===t&&!i&&Pn("layout_toggler_right",!(0,fV.default)("#layout_toggler_right").hasClass("close"),!0),e&&s!==t&&(0,fV.default)("#layout_toggler_right").hasClass("close")&&Pn("layout_toggler_right",!1,!0),It.setActiveTab({containerId:Br.id,tabId:t})}toggleSideBarTab(t){It.setTabDisabled(Br.id,t,!1),t!==It.getActiveTab(Br.id).tabId&&Br.handleClick(t)}changeModeByDoc(t){It.changeContainerMode({containerId:Br.id,mode:t})}};var RZ="tab-container-right-panel-tab-container";function Bbi(){let t=document.getElementById("panel-attribute");if(t){let e=t.parentElement.children;Array.from(e).forEach((i,o)=>{i.id===RZ||[NS,kS].includes(i.id)||i!==t&&(i.style.display="none")}),t.style.display="block"}}function zbi(){let t=document.getElementById("sch-right-panel");if(t){let e=t.parentElement.children;Array.from(e).forEach((i,o)=>{i.id===RZ||[NS,kS].includes(i.id)||i!==t&&(i.style.display="none")}),t.style.display="block"}}function Fbi(){let t=document.getElementById("simulation-right-panel");if(t){let e=t.parentElement.children;Array.from(e).forEach((i,o)=>{i.id===RZ||[NS,kS].includes(i.id)||i!==t&&(i.style.display="none")}),t.style.display="block"}}function Ubi(){let t=document.getElementById("pcb-attribute-manager");if(t){let e=t.parentElement.children;Array.from(e).forEach((i,o)=>{i.id===RZ||[NS,kS].includes(i.id)||i!==t&&(i.style.display="none")}),t.style.display="block"}}function Vbi(){let t=document.getElementById("pcb-2dview-attribute-manager");if(t){let e=t.parentElement.children;Array.from(e).forEach((i,o)=>{i.id===RZ||[NS,kS].includes(i.id)||i!==t&&(i.style.display="none")}),t.style.display="block"}}function Hbi(){let t=document.getElementById("pcb-3dview-attribute-manager");if(t){let e=t.parentElement.children;Array.from(e).forEach((i,o)=>{i.id===RZ||[NS,kS].includes(i.id)||i!==t&&(i.style.display="none")}),t.style.display="block"}}function Gbi(){let t=document.getElementById("panel-attribute-3d");if(t){let e=t.parentElement.children;Array.from(e).forEach((i,o)=>{i.id===RZ||[NS,kS].includes(i.id)||i!==t&&(i.style.display="none")}),t.style.display="block"}}function Ybi(){let t=document.getElementById("project-attribute");if(t){let e=t.parentElement.children;Array.from(e).forEach((i,o)=>{i.id===RZ||[NS,kS].includes(i.id)||i!==t&&(i.style.display="none")}),t.style.display="block"}}var Iv=L(Se()),yxt=L(ITe());var jZ=L(Se()),qbi=L(ITe());var Kbi=L(Se());var Qbi=L(Vi());async function mxt(){return new Promise(t=>{window.fetch("/api/user",{method:"GET"}).then(e=>{e.json().then(i=>{if(i.result&&i.result.preference){t(i.result.preference);return}t(null)})})})}async function Lgr(t){return new Promise((e,i)=>{Qbi.default.ajax({type:"POST",url:C.apis.others.preference,data:{action:"setPreferences",preferences:JSON.stringify(t)}}).then(()=>{e({err:null})})})}async function of(t,e){let i=await mxt(),r=(i?JSON.parse(i):{})[t];if(typeof r>"u"&&(r=e instanceof Function?e():void 0,typeof r>"u"))return{error:!0,value:void 0};try{C.profileSetting[t]=r;let n=JSON.parse(window.localStorage.getItem("preferences"));return n[t]=r,window.localStorage.setItem("preferences",JSON.stringify(n)),{error:!1,value:r}}catch{return{error:!0,value:void 0}}}async function Ks(t,e=!1){let i=await mxt(),o=i?JSON.parse(i):{};Object.keys(t).forEach(r=>{o[r]=t[r]});try{return(await Lgr(o)).err===null?(hxt(t),e&&De({type:"success",msg:"Save preferences successfully!",timer:2}),!0):!1}catch{return!1}}function hxt(t,e=!1){try{let i=window.localStorage.getItem("preferences"),o=i?JSON.parse(i):{};Object.keys(t).forEach(r=>{C.profileSetting&&(C.profileSetting[r]=t[r]),o[r]=t[r]}),window.localStorage.setItem("preferences",JSON.stringify(o)),e&&De({type:"success",msg:"Save preferences successfully!",timer:2})}catch{}}function oj(t){return JSON.parse(window.localStorage.getItem("preferences"))[t]}async function Zbi(){return new fxt}var gje={width:381,right:50,top:100},fxt=class extends qe{constructor(){super();this.hideIcons=[];this._saveTimer=null,this._right=gje.right,this._top=gje.top,this._width=gje.width,this._minWidth=398,this._maxWidth=398,this._isToolBarMax=!0,this._topFiberContainerElement=null,this._isShowToolBar=!1,this._isShowRangeComponent=!1,this._activeIfameId=void 0}get minWidth(){return this._minWidth}get maxWidth(){return this._maxWidth}get width(){return this._width}set width(i){this._width=i,this.notify()}get right(){return this._right}set right(i){this._right=i,this.notify()}get top(){return this._top}set top(i){this._top=i,this.notify()}get isToolBarMax(){return this._isToolBarMax}set isToolBarMax(i){this._isToolBarMax=i,this.notify()}get topFiberContainerElement(){return this._topFiberContainerElement}set topFiberContainerElement(i){this._topFiberContainerElement=i}get isShowToolBar(){return this._isShowToolBar}set isShowToolBar(i){this._isShowToolBar=i,this.notify(),this.rootUpdateTrigger&&this.rootUpdateTrigger()}get isShowRangeComponent(){return this._isShowRangeComponent}set isShowRangeComponent(i){this._isShowRangeComponent=i,this.notify()}get activeIfameId(){return this._activeIfameId}set activeIfameId(i){this._activeIfameId=i,this.notify()}getIframeElement(){let i=`frame_${this.activeIfameId}`;return document.getElementById(i)}publishCmdToIframe(i,o){let r=this.getIframeElement();r&&C.windowBridge.publish(i,{cmd:o},r.contentWindow)}saveConfig(i,o=!1){!o&&i.right===this.right&&i.top===this.top||(this.right=i.right,this.top=i.top,window.clearTimeout(this._saveTimer),this._saveTimer=window.setTimeout(()=>{Ks({PCB3DToolBarProfile:{width:this.width,right:this.right,top:this.top}},!0)},300))}syncConfigByLocalPerferences(){let o=JSON.parse(window.localStorage.getItem("preferences")).PCB3DToolBarProfile||gje;this.right=o.right,this.top=o.top}setHideIcons(i){this.hideIcons=i}getHideIcons(){return this.hideIcons}},hre=(0,Kbi.createContext)(void 0);var Jbi=[{title:"Normal View",cmd:"normal",dataIcon:"icon-eda-3d-preview-normalview",icon:"icon-normalview"},{title:"Outline View",cmd:"outline",dataIcon:"icon-eda-3d-preview-outlineview",icon:"icon-outlineview"},{title:"Gerber View",cmd:"gerber",dataIcon:"icon-eda-3d-preview-gerberview",icon:"icon-gerberview"},null,{title:"Top Side",cmd:"top",dataIcon:"icon-eda-3d-preview-top",icon:"icon-topview"},{title:"Bottom Side",cmd:"bottom",dataIcon:"icon-eda-3d-preview-bottom",icon:"icon-bottomview"},{title:"Left Side",cmd:"left",dataIcon:"icon-eda-3d-preview-left",icon:"icon-leftview"},{title:"Right Side",cmd:"right",dataIcon:"icon-eda-3d-preview-right",icon:"icon-rightview"},{title:"Front Side",cmd:"front",dataIcon:"icon-eda-3d-preview-front",icon:"icon-frontview"},{title:"Back Side",cmd:"back",dataIcon:"icon-eda-3d-preview-back",icon:"icon-backview"},null,{title:"Explode",cmd:"explode",dataIcon:"icon-eda-3d-preview-explode",icon:"icon-expode"},{title:"Fit All in Window",cmd:"adaptAll",dataIcon:"icon-eda-view-fit-all",icon:"icon-fitall"},{title:"Import Changes",cmd:"importChanges",dataIcon:"icon-eda-changes-import",icon:"icon-importchanges"},{title:"Refresh",cmd:"refresh",dataIcon:"icon-eda-refresh",icon:"icon-refresh"}];var Epe=L(z()),{locals:_Z}=qbi.default;function Dgr(t,e){let i=(0,jZ.useContext)(hre);Ce(i);let o=J(),r=(0,jZ.useRef)(null),n=["normal","outline","gerber"],a=i.getHideIcons(),s=async c=>{if(i.isShowRangeComponent===!0){i.isShowRangeComponent=!1,i.publishCmdToIframe("toggle3DView",`explode ${.1}`);return}else if(c==="explode"){i.isShowRangeComponent=!0,i.publishCmdToIframe("toggle3DView",`explode ${.1}`);return}switch(c){case"importChanges":i.publishCmdToIframe("toggleView(importChanges)","");default:i.publishCmdToIframe("toggle3DView",c)}l(c)},l=c=>{if(n.includes(c)){for(let u=0;u<n.length;u++){let p=r.current.querySelector(`[data-cmd="${n[u]}"]`);p&&p.classList.remove(_Z["pcb3d-toolbar-btn-selected"])}let d=r.current.querySelector(`[data-cmd="${c}"]`);d&&d.classList.add(_Z["pcb3d-toolbar-btn-selected"])}};return(0,jZ.useImperativeHandle)(e,()=>({toggleCmdItemSelected(c){l(c)}})),(0,Epe.jsx)("div",{ref:r,className:_Z["pcb3d-toolbar-container"],children:(0,Epe.jsx)("div",{className:_Z["pcb3d-toolbar-btns-wrapper"],children:Jbi.filter(c=>c===null?!0:!a.includes(c.cmd)).map((c,d)=>c===null?(0,Epe.jsx)("div",{className:`${_Z["pcb3d-toolbar-splitline"]}`},`pcb3d-toolbar-splitline#${d}`):(0,Epe.jsx)("div",{title:o(c.title),"data-cmd":c.cmd,"data-d3toolbar-icon":c.dataIcon,className:`${_Z["pcb3d-toolbar-btn-container"]}`,onClick:async()=>{await s(c.cmd)},children:(0,Epe.jsx)("div",{className:`${_Z["pcb3d-toolbar-btn-icon"]} ${_Z[c.icon]}`})},c.cmd))})})}var Xbi=(0,jZ.forwardRef)(Dgr);var c4=L(Se()),$bi=L(ITe());function bje(t){if(document.getElementById(t))return;let e=`
        <div id="${t}" style="z-index: 998; width: 100%; height: 100%; position: absolute; left: 0; top: 0; bottom: 0; right: 0; background: transparent;"></div>
    `;document.getElementById("editorTabbar").appendChild(document.createRange().createContextualFragment(e))}function LTe(t){let e=document.getElementById(t);e&&e.remove()}var lA=L(z()),{locals:rj}=$bi.default,gxt="TOOLBAR_IFRAME_MASK";function eyi(){let t=(0,c4.useContext)(hre);Ce(t);let[e,i]=(0,c4.useState)(0),o=(0,c4.useRef)(null),r=(0,c4.useRef)({mainStore:t,stepValue:.1,explodeRatio:.1,hasMove:!1,isMouseDown:!1,mouseDownX:0,mouseDownDistX:0,targetElement:null,barRadius:0,allRectDomWidth:0});r.current.mainStore=t;let n=(0,c4.useCallback)(()=>{if(!o.current)return;let f=o.current.querySelector('[data-tagitem="pcb3d-range-bar"]'),g=o.current.querySelector('[data-tagitem="pcb3d-range-track"]');r.current.allRectDomWidth=g.getBoundingClientRect().width,r.current.barRadius=f.getBoundingClientRect().width/2},[]),a=(0,c4.useCallback)(f=>{let g=Math.min(Math.max(f,0),1);s(g),l(g),c(g)},[]),s=(0,c4.useCallback)(f=>{r.current.explodeRatio=f},[]),l=(0,c4.useCallback)(f=>{if(!o.current)return;let g=o.current.querySelector('[data-tagitem="pcb3d-range-rateline"]');g.style.width=`${f*100}%`},[]),c=(0,c4.useCallback)(f=>{if(!o.current)return;let g=o.current.querySelector('[data-tagitem="pcb3d-range-bar"]'),b=r.current.allRectDomWidth*f;g.style.left=`${b-r.current.barRadius}px`},[]),d=f=>{let b=f.currentTarget.getAttribute("data-action");if(b==="minus"){a(r.current.explodeRatio-r.current.stepValue),t.publishCmdToIframe("toggle3DView",`explode ${r.current.explodeRatio}`);return}if(b==="add"){a(r.current.explodeRatio+r.current.stepValue),t.publishCmdToIframe("toggle3DView",`explode ${r.current.explodeRatio}`);return}},u=(0,c4.useCallback)(f=>{r.current.isMouseDown=!0,r.current.hasMove=!1,r.current.mouseDownX=f.clientX,r.current.targetElement=f.target,r.current.mouseDownDistX=r.current.mouseDownX-r.current.targetElement.offsetLeft,bje(gxt),document.addEventListener("mousemove",p),document.addEventListener("mouseup",m)},[]),p=(0,c4.useCallback)(f=>{if(f.buttons<=0){r.current.isMouseDown=!1,document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",m),window.setTimeout(()=>{r.current.hasMove=!1}),LTe(gxt);return}r.current.isMouseDown=!0,r.current.hasMove=!0;let b=(f.clientX-r.current.mouseDownDistX+r.current.barRadius)/r.current.allRectDomWidth;a(b),r.current.mainStore.publishCmdToIframe("toggle3DView",`explode ${r.current.explodeRatio}`)},[]),m=(0,c4.useCallback)(f=>{r.current.isMouseDown=!1,document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",m),window.setTimeout(()=>{r.current.hasMove=!1}),LTe(gxt)},[]),h=(0,c4.useCallback)(f=>{if(r.current.hasMove)return;let g=f.currentTarget,y=(f.clientX-g.getBoundingClientRect().left)/r.current.allRectDomWidth;a(y),r.current.mainStore.publishCmdToIframe("toggle3DView",`explode ${r.current.explodeRatio}`)},[]);return(0,c4.useEffect)(()=>{t.isShowRangeComponent&&t.isShowToolBar&&n(),t.isShowRangeComponent===!1&&(r.current.explodeRatio=.1,a(r.current.explodeRatio),i(f=>f+1))},[t.isShowRangeComponent]),(0,lA.jsx)("div",{"data-render-flush":e,ref:o,className:rj["pcb3d-range-container"],style:{display:t.isShowRangeComponent?"block":"none"},children:(0,lA.jsxs)("div",{className:rj["pcb3d-range-wrapper"],children:[(0,lA.jsx)("div",{className:rj["pcb3d-range-minstep"],"data-action":"minus",onClick:d,children:(0,lA.jsx)("i",{className:rj["icon-min"]})}),(0,lA.jsxs)("div",{"data-tagitem":"pcb3d-range-process",className:rj["pcb3d-range-process"],onMouseUp:h,children:[(0,lA.jsx)("div",{"data-tagitem":"pcb3d-range-track",className:rj["pcb3d-range-track"],"data-action":"track"}),(0,lA.jsx)("div",{"data-tagitem":"pcb3d-range-bar",className:rj["pcb3d-range-bar"],"data-action":"bar",onMouseDown:u}),(0,lA.jsx)("div",{"data-tagitem":"pcb3d-range-rateline",className:rj["pcb3d-range-rateline"],"data-action":"rateline"})]}),(0,lA.jsx)("div",{className:rj["pcb3d-range-addstep"],"data-action":"add",onClick:d,children:(0,lA.jsx)("i",{className:rj["icon-add"]})})]})})}var Um=L(Se());var bxt=L(iyi());var aj=L(z()),nj=be.bind(bxt.default.locals);function Ape(t){let e=J();Ae(bxt.default),Ce(ms);let i=(0,Um.useRef)(null),o=(0,Um.useMemo)(()=>Kr(t.maxWidth)?1/0:t.maxWidth,[t.maxWidth]),r=(0,Um.useMemo)(()=>Kr(t.minWidth)?-1/0:t.minWidth,[t.minWidth]),[n,a]=(0,Um.useState)("default"),s=(0,Um.useRef)(null),[l,c]=(0,Um.useState)(t.isMax),d=Q=>(Q<r?Q=r:Q>o&&(Q=o),Q);(0,Um.useEffect)(()=>{u(t.isMax)},[t.isMax]);let u=Q=>{let H=!1;return Kr(Q)?(l?(f.current=g.current,g.current=r):g.current=f.current||d(g.current<<1),H=!l):H=Q,c(H),H},p=()=>{var Q;(Q=t.onMaxMinChange)==null||Q.call(t,u())},[m,h]=(0,Um.useState)(t.isShow);(0,Um.useEffect)(()=>{h(t.isShow)},[t.isShow]);let f=(0,Um.useRef)(0),g=(0,Um.useRef)(void 0),b=(0,Um.useRef)(0);(0,Um.useEffect)(()=>{Kr(t.width)?g.current=d(i.current.offsetWidth):g.current=d(t.width),f.current===0&&(f.current=g.current),y()},[t.width]);let y=ca(),w=(0,Um.useMemo)(()=>({useable:t.maxminiable,class:nj(l?"icon-collapsible":"icon-expand"),label:l?"Collapse":"Expand",onClick:()=>{p()}}),[t.maxminiable,l]),x=(0,Um.useMemo)(()=>[w,{useable:t.closeable,class:nj("icon-closeable"),label:"close",onClick:()=>{var Q;h(!1),(Q=t.onClose)==null||Q.call(t)}}],[t.closeable,w]),S=(0,Um.useRef)([t.right||0,t.top||0]);(0,Um.useEffect)(()=>{S.current=[t.right||0,t.top||0]},[t.right,t.top]);let T=(0,Um.useRef)({isStarted:!1,prevPoint:{x:0,y:0}}),M=(0,Um.useRef)({isStarted:!1,dir:"",startPoint:{x:0,y:0},translate:{x:0,y:0}}),I=Q=>{let H=Q.target;if(Q.button===TK){if(t.droppable&&H.closest(`.${nj("float-toolbar-header-title")}`))T.current.isStarted=!0,T.current.prevPoint={x:Q.clientX,y:Q.clientY};else if(t.stretchable&&Q.target.closest(`.${nj("float-toolbar-main")}`)){let q=R(Q);q!==-1&&(M.current.isStarted=!0,M.current.startPoint={x:Q.clientX,y:Q.clientY},M.current.dir=q===0?"left":"right")}}},A=(Q=S.current[0],H=S.current[1])=>{Q<0?Q=0:Q>window.innerWidth-g.current&&(Q=window.innerWidth-g.current),H<0?H=0:H>window.innerHeight-b.current&&(H=window.innerHeight-b.current),S.current[0]=Q,S.current[1]=H,y()},D=Q=>{if(T.current.isStarted){let H=Q.clientX-T.current.prevPoint.x,q=Q.clientY-T.current.prevPoint.y;T.current.prevPoint={x:Q.clientX,y:Q.clientY},A(S.current[0]-H,S.current[1]+q),k()}},E=Q=>{t.maxminiable&&p()},N=(Q,H,q)=>Q<=q&&Q>=H,R=Q=>{if(Q.target.closest(`.${nj("float-toolbar-main")}`)){let H=window.innerWidth-Q.clientX;if(N(S.current[0]+g.current-H,-2,6))return 0;if(N(H-S.current[0],-2,6))return 1}return-1},v=Q=>{let H=R(Q);H===0?t.stretchable&&a("w-resize"):H===1?t.stretchable&&a("e-resize"):a("default")},k=()=>{B.current.style.width="100vw",B.current.style.height="100vh"},P=()=>{B.current.style.width="0px",B.current.style.height="0px"},O=Q=>{if(M.current.isStarted)switch(M.current.dir){case"left":{let H=d(window.innerWidth-Q.clientX-S.current[0]);g.current=H,a("w-resize"),k(),y();return}case"right":{let H=window.innerWidth-(S.current[0]+g.current),q=d(Q.clientX-H);S.current[0]-=q-g.current,g.current=q,a("e-resize"),k(),y();return}}},_=Q=>{var H,q;P(),T.current.isStarted&&(T.current.isStarted=!1,(H=t.onDropEnd)==null||H.call(t,{right:S.current[0],top:S.current[1],width:g.current})),M.current.isStarted&&(M.current.isStarted=!1,(q=t.onStretchEnd)==null||q.call(t,{right:S.current[0],top:S.current[1],width:g.current}))},j=()=>{if(t.isShow){let{width:Q,height:H}=document.body.getBoundingClientRect(),q=!1;if(g.current+S.current[0]>Q){let U=Math.min(Math.max(0,S.current[0]),Q-g.current);S.current[0]=U<0?0:U,q=!0}if(S.current[1]>H){let U=Math.min(Math.max(0,S.current[1]),H-b.current);S.current[1]=U<0?0:U,q=!0}q&&y()}};(0,Um.useEffect)(()=>{let Q=q=>{D(q),O(q)};window.document.addEventListener("pointermove",Q),window.document.addEventListener("pointerup",_),window.addEventListener("resize",j);let H=s.current;return b.current=H.getBoundingClientRect().height,t.isShow&&t.onShow&&t.onShow(s.current),()=>{window.document.removeEventListener("pointermove",Q),window.document.removeEventListener("pointerup",_),window.removeEventListener("resize",j)}},[t.isShow]),(0,Um.useEffect)(()=>{let Q=s.current,{height:H}=Q.getBoundingClientRect();b.current=H,A()},[l]);let B=(0,Um.useRef)(null),V=(0,Um.useMemo)(()=>{let Q=Object();return Number.isFinite(o)&&(Q.maxWidth=o+"px"),Number.isFinite(r)&&(Q.minWidth=r+"px"),Q},[o,r]),G=ms.getActiveTheme()=="dark"?{borderBottomWidth:"0"}:{borderBottom:"1px solid var(--common-border-color-1)"};return(0,aj.jsxs)("div",{className:nj(["float-toolbar",m?"":"float-toolbar-hidden"].join(" ")),ref:s,onPointerDown:I,onPointerOut:()=>{M.current.isStarted||a("default")},style:{width:g.current+"px",...V,right:`${S.current[0]}px`,top:`${S.current[1]}px`,cursor:n},children:[(0,aj.jsx)("div",{ref:B,style:{position:"fixed",left:0,top:0,zIndex:"10000000",background:"transparent"}}),(0,aj.jsxs)("div",{className:nj("float-toolbar-header"),style:G,children:[(0,aj.jsx)("div",{className:nj("float-toolbar-header-title"),onDoubleClick:E,"data-test":t.title,children:e(t.title)}),(0,aj.jsx)("div",{className:nj("float-toolbar-header-functions"),children:x.map(Q=>Q.useable?(0,aj.jsx)("span",{className:Q.class,title:e(Q.label),onClick:Q.onClick},Q.label):null)})]}),(0,aj.jsx)("div",{ref:i,className:nj("float-toolbar-main"),style:{display:l?"flex":"none"},onPointerMove:v,children:(0,aj.jsx)("div",{children:typeof t.children=="function"?t.children():t.children})})]})}var mP=L(z()),{locals:hia}=yxt.default,Npe="view-float-toolbar-3d";function oyi(t,e){let i=t.getBoundingClientRect().toJSON(),o=document.documentElement.getBoundingClientRect().toJSON();if(nyi({width:i.width,height:i.height,left:i.left,top:i.top},{width:o.width,height:o.height,left:o.left,top:o.top}))e.syncConfigByLocalPerferences(),e.rootUpdateTrigger();else{let r={right:150,top:100,width:t.clientWidth};t.style.right=r.right+"px",t.style.top=r.top+"px",e.right=r.right,e.top=r.top,e.saveConfig(r,!0),e.rootUpdateTrigger()}}var Egr=t=>{let{update:e}=t,i=(0,Iv.useContext)(hre),o=(0,Iv.useRef)(null);return Ce(i),(0,Iv.useLayoutEffect)(()=>{C.messageBus.subscribe("/pro-ui/container/tab/onClick",r=>{let{containerId:n,tabId:a}=r;n.includes("editor-window-main")&&(i.activeIfameId=a),i.topFiberContainerElement=document.getElementById(Npe)}),C.messageBus.subscribe("togglrView3DCmdAction",r=>{o.current.toggleCmdItemSelected(r)})},[]),(0,Iv.useEffect)(()=>{Yn(()=>{let r=i.getHideIcons();r.length>0?(i.width=i.width-r.length*28,e()):(i.width=398,e())})},[i.getHideIcons()]),(0,mP.jsxs)(mP.Fragment,{children:[(0,mP.jsx)("style",{children:String(yxt.default)}),(0,mP.jsx)(Xbi,{ref:o}),(0,mP.jsx)(eyi,{})]})},mC={storeHandler:null};function ryi(t){let e=ca(),[i,o]=(0,Iv.useState)(0),[r,n]=(0,Iv.useState)(null),a=(0,Iv.useRef)(null);return a.current=r,(0,Iv.useLayoutEffect)(()=>{Zbi().then(s=>{s.rootUpdateTrigger=e,n(s),mC.storeHandler=s,s.syncConfigByLocalPerferences(),window.addEventListener("resize",l=>{let c=document.getElementById(Npe).firstElementChild;c&&(oyi(c,s),o(d=>d+1))})})},[]),r?(0,mP.jsx)(hre.Provider,{value:r,children:(0,mP.jsx)(Ape,{...t,title:"Floating Tool",width:r.width,right:r.right,top:r.top,maxWidth:r.maxWidth,closeable:!0,maxminiable:!0,isMax:r.isToolBarMax,onMaxMinChange:s=>{r.isToolBarMax=s},onClose:()=>{r.isShowToolBar=!1;let s=he.getActiveTabData();if(!s||!s.data)return;let l=s.data.doctype;if(l===ve.VIEW3D){si.setCheckboxStatus("mm-common-view","togglePCBD3ViewToolbarBar",!1),Ks({isPCBD3ViewToolbarBarShow:0});return}if(l===ve.PANEL3D){si.setCheckboxStatus("mm-common-view","togglePanelD3ViewToolbarBar",!1),Ks({isPanelD3ViewToolbarBarShow:0});return}},stretchable:!1,droppable:!0,children:()=>(0,mP.jsx)(Egr,{update:e}),isShow:r.isShowToolBar,onStretchEnd:s=>{e()},onDropEnd:s=>{e(),r.saveConfig(s)},onShow:s=>{oyi(s,r)}})}):null}function yje(){mC.storeHandler&&(mC.storeHandler.isShowToolBar=!1,mC.storeHandler.isShowRangeComponent=!1,mC.storeHandler.setHideIcons([]))}function BZ(t){switch(Br.changeModeByDoc(t),yje(),t){case se.PANEL_LIB:case se.PANEL:{Bbi();break}case se.SCH:case se.PART:case se.BLOCK_SYMBOL:case se.NETFLAG:case se.NETPORT:case se.OFF_PAGE_CONNECTOR:case se.DIFF_PAIRS_FLAG:case se.SHEET_SYMBOL:case se.NONEELEC_SYMBOL:case se.ASSEMBLY_VARIANT:case se.SHORT_SYMBOL:{zbi();break}case se.NGSPICE:case se.SIMULIDE:case se.WAVEFORM:{Fbi();break}case se.PCB:case se.FOOTPRINT:{Ubi();break}case se.PHOTOVIEW:{Vbi();break}case se.VIEW3D:{let e=+oj("isPCBD3ViewToolbarBarShow");mC.storeHandler.isShowToolBar=!!e,si.setCheckboxStatus("mm-common-view","togglePCBD3ViewToolbarBar",!!e),Hbi(),mC.storeHandler.isShowToolBar&&mC.storeHandler.syncConfigByLocalPerferences();break}case se.PANEL3D:{mC.storeHandler.setHideIcons(["gerber","explode"]);let e=+oj("isPanelD3ViewToolbarBarShow");mC.storeHandler.isShowToolBar=!!e,si.setCheckboxStatus("mm-common-view","togglePanelD3ViewToolbarBar",!!e),Gbi(),mC.storeHandler.isShowToolBar&&mC.storeHandler.syncConfigByLocalPerferences();break}default:console.warn("togglePageView no handler ",t)}}var lp=L(z()),{locals:hC}=xxt.default,cyi="project_property_panel",Cxt=class{constructor(){this.open=!1}async openProjectAttrPanel(e=C.currentProject.projectId){ln.isViewerMode||((!this.uuid||e!==this.uuid)&&await this.updateProjectPanel(e),this.preDoctype=It.containerInfo[Br.id].currentMode,Br.changeModeByDoc(se.BLANKTAB),Ybi(),this.open=!0)}clearPre(){this.preDoctype=void 0}closeProjectAttrPanel(e){let i=he.getActiveTab(),o=he.getDoctypeByTabId(i);i==="0"?(C.rightPanelActiveTab.SCH="sch-attr",BZ(se.SCH)):this.preDoctype!==void 0?BZ(this.preDoctype):e&&o==e&&BZ(e),this.preDoctype=void 0,this.open=!1}isOpen(){return this.open}async updateProjectPanel(e){let i=await this.getProjectDetail(e);this.uuid=e;let o=this.getProjectAttrData(i);await this.makeMainHtml(o)}async getProjectDetail(e){let{message:i}=await C.messageBus.rpcCall(Ei.PROJECT.GET,[e]),o=i.success?i.result:null;return o&&(o.members=o.members.sort((r,n)=>r.role.toString().localeCompare(n.role)),o=this.treeProjectDataTrans(o),o.uuid=e),o}treeProjectDataTrans(e){return{name:e.name,owner:{nickname:Je?mt.getUserName():e.owner.nickname},created_at:Rs(new Date(e.created_at)),updated_at:Rs(new Date(e.updated_at)),public:e.public,members:e.members}}async makeMainHtml(e){let i=!1,o=(await C.messageBus.rpcCall("userInfo","")).message,r=e.Member;r.forEach(s=>{s.username===o.username&&(s.role==1||s.role==2)&&(i=!0)});let n=ue.deepClone(e);delete n.Member;let a={1:"Owner",2:"Manager",3:"Developer",4:"Observer"};for(let s of r)s.role=a[s.role+""];kgr({projectAttrInfo:n,member:r,hideMembers:Je,prjUuid:this.uuid,isProjectOwnerOrManager:i}),this.open=!0,(0,ayi.default)("#pcb-attribute-manager").hide(),C.messageBus.publish("attrTarget2SelectedItems",{isProjectPanel:!0})}getProjectAttrData(e){return{Name:e.name,"Project Owner":e.owner.nickname,"Creation Time":e.created_at,"Update Time":e.updated_at,"Project Attribute":e.public?"Public Project":"Private Project",Member:e.members}}},ET=new Cxt;function Agr({projectAttrInfo:t}){let e=J(),i=Object.keys(t);return(0,lp.jsx)(lp.Fragment,{children:i.map((o,r)=>(0,lp.jsxs)("div",{className:hC.line,children:[(0,lp.jsx)("div",{className:be("key_section",hC["txt-wrap"]),children:(0,lp.jsx)("div",{className:hC.txt_title,children:(0,lp.jsx)("span",{"data-test":o,title:e(o),children:e(o)})})}),(0,lp.jsxs)("div",{className:hC.txt_value,children:[r===0&&(0,lp.jsx)(M3,{propertyPanelId:cyi}),(0,lp.jsx)("input",{type:"text",value:e(t[o]),disabled:!0})]})]},o))})}function Ngr({rows:t}){let e=J(),i=[{name:e("Member"),key:"nickname",ellipsis:!0,width:.5},{name:e("Role"),key:"role",ellipsis:!0,width:.5,render(r){return e(r.cellData)}}],o={height:(t.length+1)*25+5,resize:!0,index:"uuid",rows:t,columns:i,border:!0,stockade:!0};return(0,lp.jsx)(xi,{...o})}var wxt;function kgr(t){wxt=wxt||(0,syi.createRoot)(document.getElementById("project-container-react")),wxt.render((0,lp.jsx)(lyi.default.StrictMode,{children:(0,lp.jsx)(Pgr,{...t})}))}function Pgr(t){let e=J();Ae(xxt.default);let{projectAttrInfo:i,member:o,hideMembers:r,prjUuid:n,isProjectOwnerOrManager:a}=t;return(0,lp.jsxs)("div",{className:hC["project-attribute-tabs-containter"],id:cyi,children:[(0,lp.jsx)("div",{className:hC["project-attrlist-table-selected"],children:(0,lp.jsx)("div",{className:hC.left,"data-test":"Project",children:e("Project")})}),(0,lp.jsxs)("div",{className:hC["project-attr-main"],children:[(0,lp.jsxs)("div",{className:hC["project-basic"],children:[(0,lp.jsx)("header",{className:hC.title,"data-test":"Basic Properties",children:e("Basic Properties")}),(0,lp.jsxs)("div",{className:hC["project-function-buttons"],children:[a&&(0,lp.jsx)("a",{className:"icon-eda-setting  "+hC["setting-icon"],target:"blank",href:"/account/user/projects/index/setting?project="+n,style:{marginRight:"16px"},onClick:s=>{wi&&(s.preventDefault(),window.electronAPI.openWindow(`${location.origin}/account/user/projects/index/setting?project=${n}`))}}),(0,lp.jsx)("span",{className:"icon-eda-refresh  "+hC["setting-icon"],onClick:()=>{ET.updateProjectPanel(n)}})]}),(0,lp.jsx)(Agr,{projectAttrInfo:i})]}),!r&&(0,lp.jsxs)("div",{className:hC["members-basic"],children:[(0,lp.jsx)("header",{className:hC.title,"data-test":"Member",children:e("Member")}),(0,lp.jsx)("div",{className:hC["project-function-buttons"],children:a&&(0,lp.jsx)("a",{className:"icon-eda-setting  "+hC["setting-icon"],target:"blank",href:"/account/user/projects/index/members?project="+n+`${_t?`&folder=all&orguuid=${wS.workSpace}`:""}`,onClick:s=>{wi&&(s.preventDefault(),window.electronAPI.openWindow(`${location.origin}/account/user/projects/index/members?project=
										${n}${_t?`&folder=all&orguuid=${wS.workSpace} `:""}`))}})}),(0,lp.jsx)(Ngr,{rows:o})]})]})]})}var oFe=L(pxt());var hyi=L(Se());var Txt=L(uyi());var bV=L(Se());var Lv=L(z()),Ogr=t=>{let e=be.bind(Txt.default.locals),i=J(),o="_backup\\",r="_backup/";Ae(Txt.default);let n=t.projectId||C.currentProject.projectId;(0,bV.useEffect)(()=>{I()},[]);let a=!Je,[s,l]=(0,bV.useState)(!0),[c,d]=(0,bV.useState)(!0),[u,p]=(0,bV.useState)([]),[m,h]=(0,bV.useState)([]),[f,g]=(0,bV.useState)(null),[b,y]=(0,bV.useState)(null),w=570,x=a?272:292,S=D(Je?2:3),T=D(2),M=R=>{let[v,k]=R.split("_");return v&&k?`${v}_${i(k)}`:i(R)};return(0,Lv.jsxs)("div",{className:e("pop-content-container"),children:[(0,Lv.jsxs)("div",{className:e("switch-version"),children:[(0,Lv.jsx)(yl,{tabsStyle:{display:a?"":"none"},lists:[{key:"manual",title:"Manual Backup"},{key:"auto",title:"Auto Backup"}],type:"card",defaultActiveKey:"manual",direction:"top",onClick:R=>{let v=R==="manual";l(v),d(v?!f:!b)}}),(0,Lv.jsxs)("div",{className:e("tables"),children:[(0,Lv.jsx)("div",{className:e("table-item manual"),style:{display:s?"":"none",minHeight:`${x}px`},children:(0,Lv.jsx)(xi,{index:"index",width:w,height:x,border:!0,stockade:!0,columns:S,rows:u,onClick:R=>{g(R.row),d(!1)}})}),(0,Lv.jsx)("div",{className:e("table-item auto"),style:{display:s?"none":"",minHeight:`${x}px`},children:(0,Lv.jsx)(xi,{index:"index",width:w,height:x,border:!0,stockade:!0,columns:T,rows:m,onClick:R=>{y(R.row),d(!1)}})})]})]}),(0,Lv.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,Lv.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>E("confirm"),disabled:c,children:"Recovery"}),(0,Lv.jsx)(Me,{type:"default",onClick:()=>E("cancel"),children:"Cancel"})]})]});async function I(){let{message:R}=await C.messageBus.rpcCall($e.PROJECT.GET_BRANCH_DATA,[C.currentProject.projectId]),{branch_uuid:v}=R,{message:k}=await C.messageBus.rpcCall(Ei.PROJECT.BACKUP_LIST,{uuid:n,branch_uuid:v});if(k.success&&k.result){let P=k.result;if(Je){let O=[];P.sort((_,j)=>j.createTime-_.createTime),P.forEach(_=>{var B,V;let j=((B=_.filePath.split(o))==null?void 0:B[1])||((V=_.filePath.split(r))==null?void 0:V[1]);O.push({index:_.name,manual:_.name,description:_.description,"create-time":A(_.createTime),branchUuid:j})}),p(O),l(!0)}else{let O=[],_=[];P.sort((j,B)=>B.createtime-j.createtime),P.forEach(j=>{j.auto?_.push({index:j.uuid,manual:M(j.name||"Auto Backup"),description:j.description,"create-time":A(j.createtime),branchUuid:j.branch_uuid}):O.push({index:j.uuid,manual:j.name,description:j.description,"create-time":A(j.createtime),branchUuid:j.branch_uuid})}),p(O),h(_)}}else Ot("error","Get backup list failed!",void 0,!0)}function A(R){return ue.formatDate2(new Date(R*1e3))}function D(R=3){let v=1/R,k=[{key:"manual",width:v,name:i("Title"),ellipsis:!0}];return R==3&&k.push({key:"description",width:v,name:i("Description"),ellipsis:!0}),k.push({key:"create-time",width:v,name:i("Create Time"),ellipsis:!0}),k}function E(R){if(R==="confirm"){if(c){N();return}if(Je){if(f){let v=f.index;if(!v)return;myi(v,n)}}else{let v=s?f:b;if(v){let k=v.index;if(!k)return;Cje(k,v.branchUuid)}}}else N()}function N(){l(!0),d(!0),p([]),h([]),g(null),y(null),le.close()}},pyi=Ogr;async function yV(t){await le.open({id:t.id||"switch-version",title:t.title||"Switch Backup",width:t.width||600,height:t.height||400,closed:t.closed,children:(0,hyi.createElement)(pyi,t)})}var dp=L(Se());var Kc={minWidth:"80px",maxWidth:"80px",boxSizing:"content-box",lineHeight:"24px",padding:"8px 16px 8px 0",textAlign:"left",overflow:"hidden",textOverflow:"ellipsis"};function xje(t){switch(t){case"Device":return Yi.DEVICE;case"Symbol":return Yi.SYMBOL;case"Footprint":return Yi.FOOTPRINT;case"CBB":return Yi.CBB;case"D3Model":return Yi.MODEL3D;case"PanelLib":return Yi.PANEL_LIB;case"SimModel":return Yi.MODELSIM}return Yi.DEVICE}function vv(t){switch(+t){case Yi.DEVICE:return"Device";case Yi.SYMBOL:return"Symbol";case Yi.FOOTPRINT:return"Footprint";case Yi.CBB:return"CBB";case Yi.MODEL3D:return"D3Model";case Yi.PANEL_LIB:return"PanelLib";case Yi.MODELSIM:return"SimModel"}return"Device"}function fyi(t){let e;switch(t){case"Device":case"Symbol":case"Footprint":case"PanelLib":case"SimModel":case"CBB":{e=Hs.Normal;break}case"D3Model":{e=Hs.D3Model;break}}return e}var Sxt=L(byi());var fre=L(z()),Rgr=be.bind(Sxt.default.locals),_gr=t=>{Ae(Sxt.default);let{inputValue:e,ownerSelectId:i,categoryType:o,clientLibPath:r,isProjectLib:n,openDialogCallback:a,clearClick:s,contentStyle:l,name:c="Category"}=t,d=J(),u=()=>{Qc({menuSelected:"CATEGORY",initCategoryActiveTab:vv(+o),initCategoryActiveLibId:i})},p=async()=>{let m=await C1({docType:+o,userId:i,path:r,isProjectLib:n});if(m.confirm){let h=m.tag;a&&a(h.pathName,h.pathId)}};return(0,fre.jsxs)("tr",{style:{display:"flex"},children:[(0,fre.jsx)("td",{style:Kc,title:d(c),"data-test":c,children:d(c)}),(0,fre.jsxs)("td",{style:{display:"flex",boxSizing:"border-box",paddingTop:"7px",width:"100%",...l},children:[(0,fre.jsx)(ea,{value:e,style:{width:"81%",height:"24px"},hasClearButton:!0,openDialog:p,onClearClick:s}),(0,fre.jsx)("span",{className:Rgr("manageGategories"),"data-test":"Manage Categories",title:d("Manage Categories"),onClick:u,children:d("Manage Categories")})]})]})},Ep=_gr;var kpe=L(z()),jgr=t=>{let{value:e,disabled:i,contentStyle:o,onChange:r}=t,n=J();return(0,kpe.jsxs)("tr",{style:{display:"flex",paddingBottom:"8px"},children:[(0,kpe.jsx)("td",{style:Kc,title:n("Description"),"data-test":"Description",children:n("Description")}),(0,kpe.jsx)("td",{style:{display:"flex",boxSizing:"border-box",paddingTop:"7px",width:"100%",...o},children:(0,kpe.jsx)("textarea",{value:e,disabled:i,onChange:a=>r&&r(a.target.value),rows:7,style:{width:"81%",height:"64px",padding:"4px 8px"},onFocus:a=>a.target.select(),onKeyDown:a=>a.key!=="Escape"&&a.stopPropagation(),onKeyUp:a=>a.key!=="Escape"&&a.stopPropagation()})})]})},lh=jgr;var Sje=L(Se());var Ppe=L(z()),Bgr=t=>{let{name:e,inputValue:i,notFocus:o,disabled:r,enterTriggerBlur:n=!0,onChange:a,onKeyup:s,onKeydown:l}=t,c=J(),d=(0,Sje.useRef)(null),u=m=>{m.key!=="Escape"&&m.stopPropagation(),s&&s(m)},p=m=>{m.key!=="Escape"&&m.stopPropagation(),l&&l(m)};return(0,Sje.useEffect)(()=>{var m;!o&&((m=d.current)==null||m.focus())},[]),(0,Ppe.jsxs)("tr",{style:{display:"flex"},children:[(0,Ppe.jsx)("td",{style:Kc,title:c(e),"data-test":e,children:c(e)}),(0,Ppe.jsx)("td",{style:{display:"flex",boxSizing:"border-box",paddingTop:"7px",width:"100%"},children:(0,Ppe.jsx)(Kt,{ref:d,value:i,onChange:a,disabled:r,focusTriggerSelect:!0,enterTriggerBlur:n,type:"text",maxLength:256,style:{width:"81%",height:"24px",overflow:"hidden",textOverflow:"ellipsis"},onkeydown:p,onkeyup:u})})]})},PS=Bgr;var X6=L(Se());var cm=L(Se());var gre=L(wyi());var Mxt=class extends qe{constructor(){super(...arguments);this.refresh=1}setRefresh(){this.refresh=this.refresh+1,this.notify()}},DTe=new Mxt;var Dv=L(z()),zgr=(0,cm.forwardRef)((t,e)=>{let{org_uuid:i,refreshTicket:o,notFolder:r,defaultSelectId:n,filterOption:a,disabled:s,autoOpenSelect:l,onSelectChange:c,onItemClicked:d,reFreshCallback:u,containerStyle:p}=t,m=be.bind(gre.default.locals),h=J();Ae(gre.default);let f=(0,cm.useRef)(o),g=(0,cm.useRef)(null),b=(0,cm.useRef)(void 0),y=DTe.refresh;Ce(DTe);let[w,x]=(0,cm.useState)([]),[S,T]=(0,cm.useState)(""),[M,I]=(0,cm.useState)(Lxt(n)),A=(0,cm.useMemo)(()=>new Object({expandIcon:m("tree-expand"),collapseIcon:m("tree-collapse")}),[]),[D,E]=(0,cm.useState)([]);(0,cm.useImperativeHandle)(e,()=>({getTeams:()=>b.current}));let N=(0,cm.useMemo)(()=>{let _=(B,V)=>{let G=null;return B.some(Q=>Q.id===V?(G=Q,!0):Q.children?(G=_(Q.children,V),!!G):!1),G},j=()=>{let B={id:"",title:"",args:{owner:""}},V=w[0]||B;for(;V&&V.children&&V.children[0];)V=V==null?void 0:V.children[0];return V};return M&&_(w,M)||j()},[M,w]),R=(0,cm.useMemo)(()=>N?[N.id]:[],[N]);(0,cm.useEffect)(()=>{N&&c&&c(N.id,N)},[N]),(0,cm.useEffect)(()=>{l&&setTimeout(()=>{g.current.show()},200)},[]);let v=(0,cm.useMemo)(()=>{var j;let _=N;if(_){let B=[];for(;_&&!(_.id==="myTeams"||_.id==="Participated");)B.unshift(_),_=(j=_==null?void 0:_.args)==null?void 0:j.parent;return(0,Dv.jsx)("div",{style:{width:"100%",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:B.map(V=>{var G,Q,H;return(0,Dv.jsxs)("span",{style:{flexShrink:0},children:[((G=V.args)==null?void 0:G.iconCls)&&(0,Dv.jsx)("span",{className:be(gre.default.locals[(Q=V.args)==null?void 0:Q.iconCls]||((H=V.args)==null?void 0:H.iconCls),gre.default.locals["tree-node-icon"])}),V.title]},V.id||V.title)})})}return(0,Dv.jsx)("span",{})},[N]),k=(0,cm.useMemo)(()=>{let _=(j,B)=>{let V=[];return j.forEach(G=>{var H;let Q=(H=G==null?void 0:G.args)!=null&&H.i18n?h(G.title):G.title;if(G.children){let q=_(G.children,B);if(q.length>0){let U=Object.assign({},G);U.children=q,V.push(U)}else if(Q.search(new RegExp(jd(B),"i"))!=-1){let U=Object.assign({},G);delete U.children,V.push(U)}}else Q.search(new RegExp(jd(B),"i"))!=-1&&V.push(G)}),V};return S?_(w,S):w},[w,S,is.lang]);(0,cm.useLayoutEffect)(()=>{let _=!0,j=f.current!==o;j&&(f.current=o);let B=i==="Personal";return i===C.workspace&&!j?(b.current=C.teams,Yu.currentTeamsData=C.teams,x(Cyi(B,r,C.teams,C.personFolders,C.teamFolders,a))):Fgr(i).then(V=>{_&&(i===C.workspace&&(C.teams=V.teams,C.personFolders=V.personFolders,C.teamFolders=V.teamFolders),b.current=V.teams,Yu.currentTeamsData=V.teams,x(Cyi(B,r,V.teams,V.personFolders,V.teamFolders,a)),u&&u())}),()=>{_=!1}},[i,o,r,a,y]);let P=(0,cm.useCallback)((_,j,B)=>{let{title:V,args:G}=_,Q=!!G.i18n;function H(q){if(q=Q?h(q):q,!S)return ue.htmlEncode(q).replace(/\s/g,"&nbsp;");let U=new RegExp(jd(S),"gi"),F="",K=0,te;for(;(te=U.exec(q))!==null;){let ae=q.slice(K,te.index);F+=ue.htmlEncode(ae).replace(/\s/g,"&nbsp;"),F+=`<span class=${gre.default.locals.hightlight}>${ue.htmlEncode(te[0]).replace(/\s/g,"&nbsp;")}</span>`,K=U.lastIndex}return K<q.length&&(F+=ue.htmlEncode(q.slice(K)).replace(/\s/g,"&nbsp;")),F}return(0,Dv.jsxs)(Dv.Fragment,{children:[G.iconCls&&(0,Dv.jsx)("span",{className:gre.default.locals[G.iconCls]||G.iconCls,style:{width:"16px",height:"16px",margin:"0 2px"}}),(0,Dv.jsx)("span",{dangerouslySetInnerHTML:{__html:H(V)}})]})},[S]),O=(0,cm.useCallback)((_,j,B,V,G)=>{var Q;j.id==="myTeams"||j.id==="Participated"||(I(j.id),(Q=g.current)==null||Q.hidden(),d&&d(j.id))},[]);return(0,cm.useEffect)(()=>{E(D_(k))},[k]),(0,Dv.jsx)(ld,{ref:g,renderText:v,height:"26px",searchAble:!0,dropBoxPadding:"8px 16px",hiddenCallback:()=>T(""),onSearchInput:_=>T(_),disabled:s,showHoverTitle:!0,style:p,children:(0,Dv.jsx)(Bd,{data:k,selectedIds:R,notAutoSelect:!0,onClick:O,itemRender:P,expandedIds:D,showTagLine:!1,treeWidgetItemWidth:"16px",extendIcon:A,emptyLabel:"No Team found. Please join or create a team first."})})});function Lxt(t){return t||(C.workspace==="Personal"?_o():"")}async function Fgr(t){let e=t==="Personal",i=await ETe(t),o=e?await xyi():{},r=await Mje(t);return{teams:i,personFolders:o,teamFolders:r}}function Cyi(t,e,i,o,r,n){var g,b;let a=[],s=[],l=[],c=Xo.getValueFromCacheUser("nickname"),d=Xo.getValueFromCacheUser("uuid");if(t){o.children&&(o.children=wV(o.children,"asc",y=>y.name));for(let y of o.children||[]){let w={id:y.uuid,title:y.name,args:{i18n:0,iconCls:"icon-eda-folder-2",parent:{title:c,args:{iconCls:"icon-eda-person"}},owner:_o()}};if(!e&&(y!=null&&y.children)){let x=Ixt(y==null?void 0:y.children,w);x&&x.length>0&&(w.children=x)}a.push(w)}}let u=i.filter(y=>{var w;return((w=(y.members||[]).find(x=>x.role==1))==null?void 0:w.uuid)===d});r=wV(r||[],"asc",y=>y.nickName||y.nickname||y.name);for(let y of r){let w={id:y.uuid,title:y.nickname,args:{i18n:0,iconCls:"icon-eda-member",owner:y.uuid}};if(!e&&((g=y.rootList)!=null&&g.children)){let x=Ixt((b=y.rootList)==null?void 0:b.children,w);x&&x.length>0&&(w.children=x)}u.find(x=>x.uuid===y.uuid)?(w.args.parent={title:"My Teams",id:"myTeams",args:{iconCls:"icon-eda-person"}},l.push(w)):(w.args.iconCls="icon-eda-team-join",w.args.parent={title:"Participated",id:"Participated",args:{iconCls:"icon-eda-join"}},s.push(w))}let p=[],m={id:"Participated",title:"Participated",children:s,args:{i18n:1,iconCls:"icon-eda-join"}};s.length&&p.unshift(m);let h={id:"myTeams",title:"My Teams",children:l,args:{i18n:1,iconCls:"icon-eda-person"}};l.length&&p.unshift(h);let f={id:Xo.getValueFromCacheUser("uuid"),title:c,args:{owner:_o(),i18n:1,iconCls:"icon-eda-person"}};return!e&&(f.children=a),t&&p.unshift(f),n?Ugr(p,n.belongParentId,n.filterChildId):p}function Ugr(t,e,i){let o=[],r=a=>{a.forEach(s=>{if(s.id==e){s=n(s,i),o.push(s);return}s.children&&s.children.length&&r(s.children)})},n=(a,s)=>{if(!a.children||!s)return a;let l=a.children.filter(c=>c.id!==s);if(l.length<a.children.length)a.children=l;else for(let c of a.children)c.children&&c.children.length&&n(c,s);return a};return r(t),o}function Ixt(t=[],e){return t=wV(t,"asc",i=>i.name),t.map(i=>{let o={id:i.uuid,title:i.name,args:{i18n:0,iconCls:"icon-eda-folder-2",owner:e.args.owner}};return i.children&&i.children.length>0&&(o.children=Ixt(i.children,o)),e&&(o.args.parent=e),o})}var sj=zgr;var Tyi=L(Se());var Syi=L(z()),Vgr=t=>{let{orgUuid:e,disable:i,selectStyle:o,onChangeSelect:r}=t,n=J();Ce(_d);let a=(0,Tyi.useMemo)(()=>{let s=_t?[]:[{value:"Personal",text:n("Personal")}];return _d.organization.forEach(l=>{s.push({value:l.uuid,text:`${l.name}${l.applyName?" ("+l.applyName+")":""}`})}),s},[_d.organization,is.lang]);return(0,Syi.jsx)(xt,{style:{height:"26px",...o||{}},value:e,disabled:_t?!0:!!i,list:a,onChange:r})},zZ=Vgr;var vxt=L(Iyi());var hP=L(z()),Hgr=(0,X6.forwardRef)((t,e)=>{let{orgUuid:i,filterOption:o,defaultSelectId:r,notWorkSpaceChange:n,notFolder:a,displayNone:s,autoOpenSelect:l,onOwnerChange:c,onWorkSpaceChange:d,label:u,style:p,labelStyleProp:m,contentStyle:h,ownerSelectStyle:f,linkStyle:g,folderTreeSelectDisabled:b=!1}=t;Ae(vxt.default);let y=be.bind(vxt.default.locals),w=J(),x=(0,X6.useRef)(null),[S,T]=(0,X6.useState)(i||C.workspace),[M,I]=(0,X6.useState)(0),[A,D]=(0,X6.useState)(!1),E=(0,X6.useCallback)(R=>{R!==S&&(T(R),d&&d(R))},[S,d]);(0,X6.useEffect)(()=>{Yu.selectedOrgUuid=S},[S]),(0,X6.useImperativeHandle)(e,()=>({getTeams:()=>{var R,v;return(v=(R=x.current)==null?void 0:R.getTeams)==null?void 0:v.call(R)}}));let N=iT?"none":"";return(0,hP.jsxs)("tr",{className:y("owner-select-container"),style:s?{display:"none",...p}:{...p},children:[(0,hP.jsx)("td",{style:{...Kc,...m},"data-test":"Owner",title:w("Owner"),children:w(u||"Owner")}),(0,hP.jsxs)("td",{style:{display:"flex",boxSizing:"border-box",paddingTop:"7px",...h},children:[(0,hP.jsx)("div",{style:{width:" 120px",marginRight:"8px"},children:(0,hP.jsx)(zZ,{orgUuid:S,disable:n,onChangeSelect:E})}),(0,hP.jsx)("div",{style:{width:" 224px",position:"relative",...f},children:(0,hP.jsx)(sj,{ref:x,filterOption:o,defaultSelectId:r,refreshTicket:M,org_uuid:S,notFolder:a,onSelectChange:c,autoOpenSelect:l,reFreshCallback:()=>{D(!1)},disabled:b})}),(0,hP.jsx)("span",{className:y("icon-eda-refresh",{rotateIcon:A}),"data-i18n-attr":"title",title:w("Refresh"),style:{width:"12px",height:"12px",cursor:"pointer",margin:"6px 8px 0 5px"},onClick:()=>{A||(I(M+1),D(!0),Yu.setRenderTicket(Yu.renderTicket+1))}}),(0,hP.jsx)("a",{className:y("create-team-link"),"data-key":"owner",href:`/account/user/team/create?from=editor&lang=${mt.toWorkSpaceNeedLang()}${S!=="Personal"?`&orguuid=${S}`:""}`,target:"_blank",style:{margin:"4px 0 0 8px",textDecoration:"none",...g,display:N},"data-test":"Create Team",onClick:R=>{wi&&(R.preventDefault(),window.electronAPI.openWindow(`${location.origin}/account/user/team/create?from=editor&lang=${mt.toWorkSpaceNeedLang()}${S!=="Personal"?`&orguuid=${S}`:""}`))},children:w("Create Team")})]})]})}),du=Hgr;var Dxt=L(vyi()),bre=L(z()),Ggr=t=>{Ae(Dxt.default);let e=be.bind(Dxt.default.locals),{children:i}=t;return(0,bre.jsxs)("table",{className:e("table"),cellPadding:"0",cellSpacing:"0",children:[(0,bre.jsxs)("colgroup",{children:[(0,bre.jsx)("col",{style:{width:"60px"}}),(0,bre.jsx)("col",{})]}),(0,bre.jsx)("tbody",{children:i})]})},z0=Ggr;var Dyi=L(Se());var UZ=L(z()),Ygr=t=>{let{activeMode:e}=Yu,i="You do not need to check in or out to edit the document, and saving the same page by multiple people will overwrite each other.",o="You need to check out to obtain editing permission, and multiple people cannot check out the same page at the same time.",r=J(),[n,a]=(0,Dyi.useState)(e===1?i:o);return(0,UZ.jsxs)(UZ.Fragment,{children:[(0,UZ.jsx)("div",{style:{marginTop:"14px"},children:(0,UZ.jsx)($i,{defaultValue:Yu.activeMode+"",options:[{value:"1",label:r("Free")},{value:"3",label:r("Strict")}],onChange:s=>{Yu.activeMode=+s,a(+s===1?i:o)}})}),(0,UZ.jsx)("p",{style:{marginTop:"8px"},children:r(n)})]})},Eyi=Ygr;var ch=t=>{if(t.hasOwnProperty("ownerId")){let{isJudge:e,value:i}=t.ownerId;if(e&&!i)return C.windowBridge.publish("ui/toastMsg",{type:"warn",msg:'Please select "Owner"',timer:3},ko()),!1}if(t.hasOwnProperty("title")){let{value:e,tipName:i,min:o,max:r}=t.title;if(!dh(e,o,r,!1,i))return!1}if(t.hasOwnProperty("projectLink")){let e=t.projectLink;if(!Je){if(e.match(/[^a-zA-Z_0-9\-]/))return Ut({type:"alert",message:"Project Path only contain 'a-z\u3001A-Z\u3001- \u3001 _ \u30010-9'!"}),!1;if(e.match(/^[\-_]/))return Ut({type:"alert",message:"Project Path must begin as 'a-z\u3001A-Z\u30010-9'!"}),!1;if(e.length<1||e.length>128)return Ut({type:"alert",message:"The Project path length must be between 1~128 characters!"}),!1}}if(t.hasOwnProperty("projectPath")){let e=t.projectPath;if(Je&&!e)return Ut({type:"alert",message:"The projectPath is empty"}),!1}if(t.hasOwnProperty("categoryId")){let e=t.categoryId;if(e&&e.includes(";"))return Ut({type:"alert",message:"Semicolons are not allowed in tags"}),!1}if(t.hasOwnProperty("description")){let{value:e,min:i=0,max:o=256}=t.description;if(!NTe(e,me.i18n("Describe"),i,o))return!1}if(t.hasOwnProperty("introduction")){let{value:e,min:i=0,max:o=256}=t.introduction;if(!NTe(e,me.i18n("Introduction"),i,o))return!1}return!0};var m5t=L(Ext());var CV=L(z()),Wgr="Create successful!Open the new project?",Qgr="Import project success !Open the imported project?";async function Ev(t,e={},i="create_project"){let o="";i==="create_project"&&(o=Wgr),i==="import_project"&&(o=Qgr);let r=()=>{let a=J();return(0,CV.jsxs)(CV.Fragment,{children:[(0,CV.jsx)(Me,{type:"primary",size:"md",onClick:()=>{le.destroy(n);let d=[];if(e.blockSymbol){let p=lo(e.blockSymbol.uuid,e.blockSymbol.project_uuid||e.blockSymbol.projectId);d.push("!"+p)}if(e.schPage){let p=lo(e.schPage.uuid,e.schPage.project_uuid||e.schPage.projectId);d.push(p)}if(e.pcb){let p=lo(e.pcb.uuid,e.pcb.project_uuid||e.pcb.projectId);d.push(p)}let u=location.origin+location.pathname+"#id="+t;d.length&&(u+=",tab=*"+d.join("|")),window.open(u,"","noopener")},children:"Open in New Window"}),(0,CV.jsx)(Me,{type:"primary",size:"md",onClick:async()=>{le.destroy(n),Pr.clear(),await Os({uuid:t,options:{isNew:i==="create_project"}});let d=C.messageBus.subscribe("projectReady",async()=>{await he.setTabActive(`${ve.BLANKTAB}`),e.blockSymbol&&await yn({uuid:e.blockSymbol.uuid,path:e.blockSymbol.project_uuid}),e.schPage&&(await yn({uuid:e.schPage.uuid,path:e.schPage.project_uuid}),et("updateSchematicNetPort")),e.pcb&&await Ud(e.pcb.uuid),d.cancel()})},children:"Yes"}),(0,CV.jsx)(Me,{size:"md",onClick:()=>{le.destroy(n)},children:"No"})]})},n=(await C.messageBus.rpcCall("messageSync",{type:"confirm",title:"Notice",isHtml:!0,message:o,footer:(0,CV.jsx)(r,{}),closable:!0})).message}var Axt=L(Vi()),Nyi=L($de());function kyi(){return Je?"offline":"online"}function Kgr(){return new Date(new Date().toLocaleDateString()).getTime()}function Pyi(t,e="",i=!0,o=!1){if(_t)return;let r=C.currentProject||{},n=C.loginedUserInfo||{},a=kyi(),s=r.projectId;e&&(i?s=e:s=(0,Nyi.default)(e+String(Kgr())+(n.uuid||""))),o&&(s=""),Axt.default.ajax({url:C.apis.others.editorLog,dataType:"json",type:"post",data:{type:t,project_uuid:s,editor_mode:a,user_uuid:n.uuid}})}function Oyi(t,e={}){if(_t)return;let i=kyi(),o=C.loginedUserInfo||{},r={type:t,project_uuid:"",editor_mode:i,user_uuid:o.uuid};typeof e.componentUuid<"u"&&(r.component_uuid=e.componentUuid),Axt.default.ajax({url:C.apis.others.editorLog,dataType:"json",type:"post",data:{...r}})}var Zgr=20*1e3,vje={};function Jgr(t){vje[t]={prevTimeStamp:Ryi()}}function qgr(t,e,i){let o=vje[t];!o||typeof o[e]>"u"||(o[e]=i)}function Ryi(){return performance.now()}function _yi(t){let e=!1,i=Ryi();if(!vje[t])Jgr(t),e=!0;else{let o=vje[t];i-o.prevTimeStamp>=Zgr&&(qgr(t,"prevTimeStamp",i),e=!0)}return e}function Pl(t,e="",i=!0,o=!1){_yi(t)&&Pyi(t,e,i,o)}function kTe(t,e={}){_yi(t)&&Oyi(t,e)}var Nxt=async t=>{let{uuid:e,name:i}=t;Pl("12",e,!0);let o=C.workspace==="Personal"?{}:{org_uuid:C.workspace};tl({...o,refresh:!0}),le.close("create-new-project-dialog"),he.getFilterTabs(["tab_page1"]).length>0?Ev(e):Os({uuid:e,options:{isNew:!0}})},jyi=async t=>{let{title:e,introduction:i,description:o,path:r,ownerUserName:n,projectLinkValue:a,ownerSelectId:s,ownerBelongId:l,projectData:c,dlgType:d,mode:u,isEDAPro:p=!0,editorVersion:m,fileContent:h}=t;C.messageBus.publish("progressUpdate",[.1,"Import Project...",se.BLANKTAB,void 0,void 0,void 0,void 0,!1]);let f=null,g="Import successfully!",b=!1;try{f=await la.importNewProject({data:h||(c==null?void 0:c.dataStr),targetPath:Je?r:l,title:e,projectLink:a,introduction:i,description:o,editorVersion:m,isCbb:!1,mode:u,folder:s!==l?s:void 0})}catch{b=!0,g="Import failed!"}return b?De({type:"error",msg:g}):De({type:"success",msg:g}),f&&(!Je&&d==="importProject"&&Pl("19",f.uuid),Ope(c.extension,f),tl({...C.workspace==="Personal"?{}:{org_uuid:C.workspace},refresh:!0})),C.messageBus.publish("progressUpdate",[1,"Import Project...",se.BLANKTAB]),f};var yre=L(Se());var kxt=L(Ext());var lj=L(z()),Xgr=t=>{let{onChange:e}=t;Ae(kxt.default);let i=J(),o=be.bind(kxt.default.locals),[r,n]=(0,yre.useState)(""),[a,s]=(0,yre.useState)([]);return(0,yre.useLayoutEffect)(()=>{wd().then(({projectPath:l})=>{let c=C.client.clientCreatePrjPath;c&&!l.includes(c)&&l.push(c);let d=l.map(p=>({value:p,text:p})),u=c||l[0];n(u),s(d)})},[]),(0,yre.useEffect)(()=>{e&&e(r)},[r,e]),(0,lj.jsxs)("tr",{className:o("client-project-path-container"),children:[(0,lj.jsx)("td",{style:Kc,"data-test":"Project path",title:i("Project path"),children:i("Project path")}),(0,lj.jsx)("td",{style:{display:"flex",alignItems:"center",width:"100%"},children:(0,lj.jsxs)("div",{style:{display:"flex",height:"24px",width:"81%",position:"relative"},children:[(0,lj.jsx)(xt,{list:a,onChange:l=>n(l)}),(0,lj.jsxs)("div",{className:o("project-path-input"),onClick:()=>{Av(r).then(l=>{l.code==1&&wd().then(({projectPath:c})=>{!c.includes(l.path)&&c.push(l.path);let d=c.map(u=>({value:u,text:u}));n(l.path),s(d)})})},children:[(0,lj.jsx)("input",{value:r,type:"text",name:"project-path-input",readOnly:!0,style:{width:"100%"},onFocus:l=>l.target.select()}),(0,lj.jsx)("em",{className:o("opendirtoryDlgSub"),children:"..."})]})]})})]})},Byi=Xgr;var WZ=L(Se());var $je=L(VZ());var K4i=L(Se());var Hje=L(Se());var Vje=L(Vi()),u4i=L(Se());var Hb=class extends qe{constructor(){super(),this._dialogReady=!1,this._hasClickedComponentItem=!1}set dialogReady(e){this._dialogReady=e}get dialogReady(){return this._dialogReady}set hasClickedComponentItem(e){this._hasClickedComponentItem=e}get hasClickedComponentItem(){return this._hasClickedComponentItem}baseExit(){this.dialogReady=!1,this.hasClickedComponentItem=!1}searchValueLengthVerify(){De({type:"error",msg:"Cannot enter more than 128 characters!",timer:3})}};var L3=class extends qe{constructor(){super(),this._searchValue="",this._searchPlaceHolder="Filter",this._requestTypes=[],this._renderCategoryList=[],this._renderSelectedIds=[],this._categoryRequestId="",this._categoryIds=[],this._childCategory2ParentCategoryMap={},this.clearCategoryList()}set renderCategoryList(e){this._renderCategoryList=e}get renderCategoryList(){return this._renderCategoryList}set renderSelectedIds(e){this._renderSelectedIds=e,this.notify()}get renderSelectedIds(){return this._renderSelectedIds}get searchPlaceHolder(){return this._searchPlaceHolder}set searchValue(e){this._searchValue=e,this.notify()}get searchValue(){return this._searchValue}set categoryIds(e){this._categoryIds=e}get categoryIds(){return this._categoryIds}set childCategory2ParentCategoryMap(e){this._childCategory2ParentCategoryMap=e}get childCategory2ParentCategoryMap(){return this._childCategory2ParentCategoryMap}set categoryRequestId(e){this._categoryRequestId=e}get categoryRequestId(){return this._categoryRequestId}set requestTypes(e){this._requestTypes=e}get requestTypes(){return this._requestTypes}baseExit(){this.searchValue="",this.renderCategoryList=[{title:_e.CATEGORY_ITEM_ALL_TITLE,id:_e.CATEGORY_ITEM_ALL_VALUE,titleAdditional:me.i18n(_e.CATEGORY_ITEM_ALL_TITLE)}],this.childCategory2ParentCategoryMap={},this.renderSelectedIds=[_e.CATEGORY_ITEM_ALL_VALUE]}async refreshCategoryList(e,i,o){let r=await sn.fetchCategoryList(e,i,this.requestTypes,void 0,!0,n=>{this.categoryRequestId=n});if(r.code,r.result){if(this.categoryIds=r.result.categoryIds,this.childCategory2ParentCategoryMap=r.result.childCategory2ParentCategoryMap,this.renderCategoryList=ue.deepClone(r.result.treeData),o){let n=o.cacheLibList.find(a=>a.id===e).key;!["system","favorite","public",Yt.INTERNAL].includes(n)&&!C.extendLibStore.manager.hasLib(e)&&this.renderCategoryList.splice(1,0,{id:"@Uncategorized",children:[],parentId:"",title:"Uncategorized",titleAdditional:me.i18n("Uncategorized")})}this.renderSelectedIds=r.result.selectedIds}this.notify()}clearCategoryList(e=!1){if(e){this.renderSelectedIds=[],this.renderCategoryList=[];return}this.categoryIds=[],this.renderSelectedIds=[_e.CATEGORY_ITEM_ALL_VALUE],this.renderCategoryList=[{title:_e.CATEGORY_ITEM_ALL_TITLE,id:_e.CATEGORY_ITEM_ALL_VALUE}]}recoverSelectToDefault(){this.renderSelectedIds=[_e.CATEGORY_ITEM_ALL_VALUE]}getCategoryTags(e){return typeof this.childCategory2ParentCategoryMap[e]<"u"?[this.childCategory2ParentCategoryMap[e],e]:[e]}getCategoryTagsName(e){let i=this.childCategory2ParentCategoryMap[e],o=[];if(typeof i<"u"){let r=this.renderCategoryList.filter(a=>a.id===i)[0],n=r.children.filter(a=>a.id===e)[0];o.push(r.name),o.push(n.name)}else{let r=this.renderCategoryList.filter(n=>n.id===e)[0];o.push(r.name)}return o}};var Fyi=L(Vi());function fP(t={}){let{parent_tag:e,child_tag:i}=t,o="";return e&&Xs(e,"name")&&(o=AT(e)),i&&i.name&&(o&&(o+=":"),o+=AT(i)),o}function Nv(t={}){var i,o;let e=[];return(i=t.parent_tag)!=null&&i.uuid&&e.push(t.parent_tag.uuid),(o=t.child_tag)!=null&&o.uuid&&e.push(t.child_tag.uuid),e.length==0&&e.push(""),e}function wre(t={}){var i,o;let e=[];return(i=t.parent_tag)!=null&&i.uuid&&e.push(AT(t.parent_tag)),(o=t.child_tag)!=null&&o.uuid&&e.push(AT(t.child_tag)),e.length==0&&e.push(""),e}function AT(t){return t?me.curr==="zh-hans"&&t.name_cn?t.name_cn:t.name:void 0}function HZ(t){return t?t.parentId?{child_tag:{uuid:t.id,name:t.name},parent_tag:{uuid:t.parentId,name:t.parentName}}:{parent_tag:{uuid:t.id,name:t.name}}:null}var cj=function(){return[RTe()]};function $gr(t=[]){let e=me.curr==="zh-hans",i=[],o={},r={},n=[],a=[];return t.forEach((s,l)=>{s.name&&(r[s.name]=s.name_cn||s.name),s.parent_uuid?a.push(s):n.push(s)}),n.forEach((s,l)=>{i.push({showname:AT(s),name:s.name,id:s.uuid,extend:[],isSlideUp:!0,order_no:s.order_no||void 0}),o[s.uuid]=l}),a.forEach((s,l)=>{let c=o[s.parent_uuid];typeof c<"u"&&i[c]&&i[c].extend.push({showname:AT(s),name:s.name,id:s.uuid,isSlideUp:!0,order_no:s.order_no||void 0})}),i.sort(Pxt("order_no")),i.forEach(s=>{s.extend.length>1&&s.extend.sort(Pxt("order_no"))}),{renderList:i,languageHashtable:r}}function e2r(t=[]){let e=[],i={};return t.forEach((o,r)=>{var a;let n=[];(a=o.children)!=null&&a.length&&o.children.forEach(s=>{n.push({showname:s.name,name:s.name,id:s.uuid,extend:[],isSlideUp:!0,order_no:void 0})}),e.push({showname:o.name,name:o.name,id:o.uuid,extend:n,isSlideUp:!0,order_no:void 0,isDisabledSelected:!0}),i[o.uuid]=r}),{renderList:e}}async function Uyi(t){var o;let e=await OTe(t);return(o=e==null?void 0:e.renderList)==null?void 0:o.map(r=>i(r));function i(r,n){let{extend:a,id:s,name:l,name_cn:c,order_no:d,selected:u,showname:p}=r;s==="all"&&(s=_e.CATEGORY_ITEM_ALL_VALUE);let m={id:s,title:l,titleAdditional:c||p,order_no:d,parentId:n,disableTranslate:r.name_cn===""?!0:r.name_cn===r.name};return a&&(m.children=a==null?void 0:a.map(h=>i(h,s))),m}}async function OTe(t,e=!0){let i=await i2r(t);if(!e){let{renderList:o}=i;o.splice(0,1)}return i}async function Vyi(t,e){try{let{message:i}=await C.messageBus.rpcCall(Ei.TAG.LIST,t);if(i&&String(i.code)==="0"&&i.success){let{renderList:o,languageHashtable:r}=$gr(i.result);return o=[].concat(cj(),o),t.path===bn&&(e!=="device"||e==="device"&&!C.systemCategoryTranslateStatus)&&me.ext({"zh-hans":r}),{renderList:o}}return{renderList:cj()}}catch{return{renderList:cj()}}}function t2r(t,e){return new Promise(i=>{Fyi.default.ajax({url:C.apis.oshwhub.getCbbCategory,dataType:"json",ifModified:!1,timeout:6e4,type:"get",data:t,success(o,r){if(o&&String(o.code)==="0"&&o.success){let{renderList:n}=e2r(o.result);n=[].concat(cj(),n),i({renderList:n});return}i({renderList:cj()})},error(){i({renderList:cj()})}})})}async function i2r(t){return t&&t.uid==="project"?n2r(t.tab||t.tabName):new Promise((e,i)=>{if(!t.uid){e({renderList:cj()});return}if(t.uid==="star")return a2r(t).then(r=>e(r));if(Eje(t.uid)){e({renderList:cj()});return}if(t.uid===Yt.INTERNAL)return r2r().then(r=>{e(r)});if(t.tab==="device"&&t.path===bn)return Oxt().then(r=>{e(r)});if(t.uid===Yt.OSHWHUB){let r={user_uuid:t.uid,type:t.type,path:t.path};t2r(r,t.tab).then(n=>{e(n)});return}let o={user_uuid:t.uid,types:t.type,path:t.path};Vyi(o,t.tab).then(r=>{e(r)})})}async function Oxt(){let t={user_uuid:bn,types:[3],path:bn};return new Promise(e=>{Vyi(t,"device").then(i=>{C.systemCategoryTranslateStatus=!0,e(i)})})}function o2r(t){let e=[];return t.forEach(i=>{var r;let o=[];(r=i.children)!=null&&r.length&&i.children.forEach(n=>{o.push({id:n.id,isSlideUp:!0,name:n.name,showname:n.name_cn})}),e.push({id:i.id,isSlideUp:!0,name:i.name,showname:i.name_cn,extend:o})}),e}async function r2r(){let t=[...cj()],e=await uOe().catch(i=>[]);return t.push(...o2r(e)),{renderList:t}}var RTe=function(){return{name:"All",name_cn:"\u5168\u90E8",showname:me.curr==="zh-hans"?"\u5168\u90E8":"All",id:"all",selected:!0}};async function n2r(t){let e=C.globalVariableCookieData||{},i=e.easyeda_user||e.userInfo,o=RTe();if(!i)return{renderList:[o],cacheLists:{[o.id]:o}};let r;switch(t){case"device":await C.messageBus.rpcCall(Pd.DEVICE.UPDATE),r=(await C.messageBus.rpcCall($e.DEVICE.WITH_ORIGINS,[C.currentProject.projectId])).message;break;case"footprint":await C.messageBus.rpcCall(Pd.FOOTPRINT.UPDATE),r=(await C.messageBus.rpcCall($e.FOOTPRINT.WITH_ORIGINS,[C.currentProject.projectId])).message,r=r.filter(a=>!a.uuid.includes("_"));break;case"symbol":await C.messageBus.rpcCall(Pd.SYMBOL.UPDATE),r=(await C.messageBus.rpcCall($e.SYMBOL.WITH_ORIGINS,[!1,C.currentProject.projectId])).message;break;case"cbb":await C.messageBus.rpcCall(Pd.BLOCK_SYMBOL.UPDATE),r=(await C.messageBus.rpcCall($e.SYMBOL.WITH_ORIGINS,[!0,C.currentProject.projectId])).message;break;case"model3D":r=[];break}if(r){let a=tI(r),s=[o],l={[o.id]:{id:o.id,chname:o.showname,name:o.name,selected:o.selected}};for(let c in a)if(a.hasOwnProperty(c)){let d=a[c],u={id:d.uuid,name:d.name,showname:AT(d)},p=d.children;if(p){u.extend=[];for(let m in p)if(p.hasOwnProperty(m)){let h=p[m];l[h.uuid]={name:h.name,chname:AT(h),id:h.uuid},u.extend.push({id:h.uuid,name:h.name,showname:AT(h)})}}s.push(u),l[c]={name:d.name,chname:AT(d),id:d.uuid}}return{renderList:s,cacheLists:l}}else return{renderList:[o],cacheLists:{[o.id]:o}}}async function a2r(t){let o="star",r=t.tabName||t.tab,n={pageSize:150,page:1,uid:o,path:t.path};switch(r){case"device":break;case"symbol":n.docType=[se.PART,se.NETFLAG,se.NETPORT,se.OFF_PAGE_CONNECTOR,se.DIFF_PAIRS_FLAG,se.SHEET_SYMBOL,se.SHORT_SYMBOL,se.NONEELEC_SYMBOL],n.type=3;break;case"footprint":n.docType=[se.FOOTPRINT],n.type=3;break;case"cbb":n.user_uuid=o,n.isCbb=!0;break;case"model3D":n.docType=[se.PCBLIB3D],n.type=3;break;case"panelLib":n.docType=[se.PANEL_LIB],n.type=3;case"modelSimLib":let s=(await C.messageBus.rpcCall("getSimulationTypeValue")).message;n.docType=[s],n.type=3;break;default:throw new Error("getStarCategoryData: invalid tabType")}let a=n.isCbb?(await C.messageBus.rpcCall(Ei.PROJECT.LIST,n)).message:await Yf({reqData:n,isProjectLib:!1,isSearch:!1});if(a&&a.success){let s=tI(a.result.lists),l=[RTe()];for(let c in s)if(s.hasOwnProperty(c)){let d=s[c],u={id:d.uuid,name:d.name,name_cn:d.name_cn,showname:AT(d)},p=d.children;if(p){u.extend=[];for(let m in p)if(p.hasOwnProperty(m)){let h=p[m];u.extend.push({id:h.uuid,name:h.name,name_cn:h.name_cn,showname:AT(h)})}}l.push(u)}return{renderList:l}}return{renderList:cj(),languageHashtable:{}}}function tI(t){let e={};return t.forEach(i=>{let o=dj(i),r=o==null?void 0:o.parent_tag,n=o==null?void 0:o.child_tag;r!=null&&r.uuid&&r.length!==0&&(e[r.uuid]||(e[r.uuid]=Object.assign({children:{}},r)),n!=null&&n.uuid&&n.length!==0&&(e[r.uuid].children[n.uuid]||(e[r.uuid].children[n.uuid]=n)))}),e}var Aje=class extends L3{constructor(e){super(),this.parent=e,this.requestTypes=["1"]}async refresh(e,i,o){Je?await this.refreshCategoryListInNotOnlineClient(e,i,o):await this.refreshCategoryList(e,i,o)}async refreshCategoryListInNotOnlineClient(e,i,o){if(o.isSelectedProject()){let r=await this.fetchBlockSymbolProjectLib();if(this.categoryRequestId!==r.requestId)return;r.success||console.error(r),r.result&&(this.renderCategoryList=r.result.treeData,this.renderSelectedIds=r.result.selectedIds)}else{let r=await this.fetchBlockSymbolOtherLib();r.success||console.error(r),r.result&&(this.renderCategoryList=r.result.treeData,this.renderSelectedIds=r.result.selectedIds)}this.renderCategoryList.splice(1,0,{id:"@Uncategorized",children:[],parentId:"",title:"Uncategorized",titleAdditional:me.i18n("Uncategorized")}),this.notify()}async fetchBlockSymbolProjectLib(){let e=Mt(String(Math.random()));this.categoryRequestId=e;let i=C.globalVariableCookieData||{},o=i.easyeda_user||i.userInfo;return new Promise((r,n)=>{o||r({code:0,success:!0,result:this.filterProjectLibCategory({}),requestId:e}),C.messageBus.rpcCall($e.SYMBOL.GET_ALL_ARR_BY_TYPE,[!0,C.currentProject.projectId]).then(({message:a})=>{a=tI(a),r({code:0,success:!0,result:this.filterProjectLibCategory(a),requestId:e})},()=>{r({code:0,success:!0,result:this.filterProjectLibCategory([]),requestId:e})}).catch(a=>{console.error(a),r({code:-1,success:!1,result:null,msg:"ChooseDevice.Store.FetchDeviceProjectLib RemoteFetch Error."})})})}async fetchBlockSymbolOtherLib(){return{success:!0,code:0,result:this.filterProjectLibCategory([])}}filterProjectLibCategory(e){let i=[],o=[],r=[],n={};for(let a in e){let s=e[a],l=[];for(let c in s.children){let d=s.children[c];l.push({id:d.uuid,title:d.name,titleAdditional:d.name_cn,parentId:s.uuid}),n[d.uuid]=s.uuid}i.push({id:s.uuid,title:s.name,titleAdditional:s.name_cn,children:l})}return i.unshift({title:_e.CATEGORY_ITEM_ALL_TITLE,id:_e.CATEGORY_ITEM_ALL_VALUE,titleAdditional:me.i18n(_e.CATEGORY_ITEM_ALL_TITLE)}),o.push(_e.CATEGORY_ITEM_ALL_VALUE),{treeData:i,selectedIds:o,categoryIds:r,childCategory2ParentCategoryMap:n,sourceCategoryList:[],languageHashtable:{}}}};var s2r=/.*\\(.*)$/,l2r=/.*\/(.*)$/;function xV(t){let e="";try{let i=s2r.exec(t)||l2r.exec(t);i&&i[1]&&typeof i[1]=="string"&&(e=i[1])}catch(i){console.error("Query Folder Name Error:",i)}return e}async function _Te(){await bo.getInstance().setTargetIdByServer();let t=[],e=[];return _t?e=C.teams:C.teamFolders&&C.teamFolders.length?e=C.teamFolders:e=C.teams,e.forEach(i=>{t.push({title:i.nickname,username:i.username||i.nickname,id:i.uuid,key:_e.LIB_TEMAS_KEY})}),t}async function jTe(){await bo.getInstance().setTargetIdByServer();let t=[],e=[];_t?e=C.teams:e=C.clientTeamList;let i=null;return e.forEach((o,r)=>{o.uuid===bo.getInstance().usedId?i={title:o.nickname,username:o.username||o.nickname,id:o.uuid,key:_e.LIB_SYSTEM_KEY}:t.push({title:o.nickname,username:o.username||o.nickname,id:o.uuid,key:_e.LIB_PERSONAL_KEY})}),i&&t.unshift(i),t}async function Rpe(){let t=await _Te();return[...[{title:"System",id:bo.getInstance().usedId,username:"System",key:_e.LIB_SYSTEM_KEY},{title:"Project",id:"",username:"Project",key:_e.LIB_PROJECT_KEY},{title:"Personal",id:"",username:"Personal",key:_e.LIB_PERSONAL_KEY},{title:"Favorite",id:_e.FAVORITELIB_UUID,username:"Favorite",key:_e.LIB_FAVORITE_KEY}],...t]}function Rxt(t,e,i,o,r){let n=[],a=[],s={},l=[];return t.forEach(c=>{switch(c.title){case"Project":{if(!r||!o||!o.uuid)return;c.id=o.uuid,l.push(o.uuid);break}case"Personal":{if(!i||!i.uuid)return;c.id=i.uuid;break}case"Public":{c.id=_e.PUBLICLIB_ALIAS;break}default:}c.id||(c.id="@"+Mt(new Date().getTime())),typeof s[c.id]<"u"?(s[c.id]+=1,c.id=c.id+_e.LIB_SPLIT_TAG+s[c.id]):s[c.id]=0,e&&e.indexOf(c.id)>=0&&a.push(c.id),n.push(c)}),{treeData:n,projectsIds:l,selectedIds:a}}async function BTe(){return await Rpe()}function Hyi(t,e,i,o,r){return Rxt(t,e,i,o,r)}async function GZ(){let e=await jTe()||[],i=[],o=null;return e.forEach((r,n)=>{r.id===bo.getInstance().usedId?o=n:i.push({title:r.title,username:r.username||r.title,id:r.id,key:r.key})}),(o||o===0)&&i.splice(0,0,{title:e[o].title,username:e[o].username||e[o].title,id:e[o].id,key:e[o].key}),i.splice(1,0,{title:"Project",id:"",username:"Project",key:_e.LIB_PROJECT_KEY}),[...i]}async function Gyi(){let t=await wd();if(!t)return await GZ()[0];let e=await jTe(),i=Ft(e,"id",bo.getInstance().usedId),o=[];i.index>=0&&o.splice(0,0,{...i.data});let{projectPath:r,cbbPath:n,libPath:a=[],onlinePrjBackupPath:s,autoCheckVersionUpdate:l}=t;return a.forEach(c=>{let d=xV(c);o.push({title:d,id:c,username:d,key:c})}),[...o]}function Yyi(t,e,i,o){let r=[],n=[],a={},s=[];return t.forEach(l=>{switch(l.titleAdditional=me.i18n(l.title),l.title){case"Project":{if(!o||!i||!i.uuid)return;l.id=i.uuid,s.push(i.uuid);break}default:}l.id||(l.id="@"+Mt(new Date().getTime())),typeof a[l.id]<"u"?(a[l.id]+=1,l.id=l.id+_e.LIB_SPLIT_TAG+a[l.id]):a[l.id]=0,e&&e.indexOf(l.id)>=0&&n.push(l.id),r.push(l)}),{treeData:r,projectsIds:s,selectedIds:n}}async function Nje(){let e=await jTe()||[],i=[],o=null;return e.forEach((r,n)=>{r.id===bo.getInstance().usedId?o=n:i.push({title:r.title,id:r.id,username:r.username||r.title,key:r.key})}),(o||o===0)&&i.splice(0,0,{title:e[o].title,id:e[o].id,username:e[o].username||e[o].title,key:e[o].key}),i.splice(1,0,{title:"Project",id:"",username:"Project",key:_e.LIB_PROJECT_KEY}),[...i]}async function Wyi(){let t=await wd();if(!t)return await GZ()[0];let e=[],{projectPath:i,cbbPath:o,libPath:r=[],onlinePrjBackupPath:n,autoCheckVersionUpdate:a}=t;return r.forEach(s=>{let l=xV(s);e.push({title:xV(s),id:s,username:l,key:s})}),[...e]}function Qyi(t,e,i,o){let r=[],n=[],a={},s=[];return t.forEach(l=>{switch(l.titleAdditional=me.i18n(l.title),l.title){case"Project":{if(!o||!i||!i.uuid)return;l.id=i.uuid,s.push(i.uuid);break}default:}l.id||(l.id="@"+Mt(new Date().getTime())),typeof a[l.id]<"u"?(a[l.id]+=1,l.id=l.id+_e.LIB_SPLIT_TAG+a[l.id]):a[l.id]=0,e&&e.indexOf(l.id)>=0&&n.push(l.id),r.push(l)}),{treeData:r,projectsIds:s,selectedIds:n}}function kje(t){let e=Ft(t.treeData,"key",_e.LIB_SYSTEM_KEY);e.index>=0&&t.treeData.splice(e.index,1);let i=Ft(t.treeData,"key",_e.LIB_PERSONAL_KEY);i.index>=0&&t.treeData.splice(i.index,1);let o=Ft(t.treeData,"key","project");o.index>=0&&t.treeData.splice(o.index,1);let r=Ft(t.treeData,"key",_e.LIB_FAVORITE_KEY);r.index>=0&&t.treeData.splice(r.index,1);let n=Ft(t.treeData,"key","selected");n.index>=0&&t.treeData.splice(n.index,1);let a=Ft(t.treeData,"key","oshwhub");a.index>=0&&t.treeData.splice(a.index,1);let s=Ft(t.treeData,"key",_e.LIB_INTERNAL_KEY);s.index>=0&&t.treeData.splice(s.index,1),t.treeData.sort((l,c)=>(l.title||"").localeCompare(c.title||"")),r.index>=0&&t.treeData.unshift(r.data),o.index>=0&&t.treeData.unshift(o.data),C.workspace==="Personal"?_t||i.index>=0&&t.treeData.unshift(i.data):t.selectedIds=t.selectedIds.filter(l=>{var c;return l!==((c=i==null?void 0:i.data)==null?void 0:c.id)}),a.index>=0&&t.treeData.unshift(a.data),s.index>=0&&t.treeData.unshift(s.data),e.index>=0&&t.treeData.unshift(e.data),n.index>=0&&t.treeData.push(n.data)}function zTe(t){let e=Ft(t,"key","project");e.index>=0&&t.splice(e.index,1)}async function _xt(t,e,i,o){let r=[];if(t===Hs.Normal)return wi?N0?(r=await BTe(),o&&zTe(r),r):Tn?(r=await GZ(),o&&zTe(r),r):(r=await Nje(),o&&zTe(r),r):(r=await Rpe(),o&&zTe(r),r);if(t===Hs.D3Model)return wi?N0?(r=await BTe(),r):Tn?(r=await Gyi(),r):(r=await Wyi(),r):(r=await Rpe(),zTe(r),r)}function FTe(t){return t.selectedIds.length?t.selectedIds:t.selectedIds.push(t.treeData[0].id),t}function jxt(t,e,i,o,r,n){if(!wi){let s=Rxt(t,e,i,o,typeof r<"u"?!!r:n);return kje(s),FTe(s)}if(N0){let s=Hyi(t,e,i,o,typeof r<"u"?!!r:n);return kje(s),FTe(s)}if(Tn){let s=Yyi(t,e,o,typeof r<"u"?!!r:n);return kje(s),FTe(s)}let a=Qyi(t,e,o,typeof r<"u"?!!r:n);return kje(a),FTe(a)}async function iI(t,e,i,o={}){let{isRemoveProjectLib:r=!0,isRemoveSystemLib:n=!0,isRemoveFavLib:a=!0,isNaturalSortByTitle:s=!1}=o,l=C.loginedUserInfo||{},c={username:l.username,uuid:l.uuid},{projectId:d,title:u,isCBB:p}=C.currentProject,m={uuid:d,title:u,isCBB:p},h=await _xt(e,t,i,r),f=jxt(h,[],c,m,!r),g=[];for(let b=0;b<f.treeData.length;b++){let y=f.treeData[b];y.id===bo.getInstance().usedId&&n||y.id===_e.FAVORITELIB_UUID&&a||(Af||Sb||y.key===_e.LIB_PERSONAL_KEY&&(y.title=y.titleAdditional=c.username),y.title&&g.push(y))}return s&&(g=ue.naturalSort(g,"title")),g}var Kyi=/[\u4e00-\u9fa5!"#$%&'(),:;<=>?@[\]^_`{|}~，、；：？！“”‘’【】『』（）《》〈〉［］｛｝｟｠«»‹›〖〗【】〔〕〈〉《》「」『』【】〖〗〝〞‘’“”‛‟•‧‥…⋯]/g;var Zyi=/^(.*?)(\d+|\?|\？)$/;var v3={bgColor:"rgba(255, 0, 0, 0.5)"},Bxt={bgColor:"rgba(255, 255, 255, 1)"},Jyi={bgColor:"rgba(43, 49, 50, 1)"};var _pe="data:image/svg+xml;base64, ";var dm=class extends qe{constructor(){super();this._projectsIds=[];this._searchValue="",this._searchPlaceHolder="Filter",this._cacheLibList=[],this._selectedIds=[],this._emptyLabel="Loading",this._isSearchStatus=!1,this._initalLibList=[{title:"System",id:bo.getInstance().usedId,key:"system"},{title:"Project",id:"",key:"project"},{title:"Personal",id:"",key:"personal"},{title:"Favorite",id:_e.FAVORITELIB_UUID,key:"favorite"}],this._facets={},this._projectsIds=[],this._isFromProject=!1,this._projectLib=!1,this.isDelSearchNum=!1,this._path=""}get path(){return this._path}set path(i){this._path=i}get initalLibList(){return this._initalLibList}set initalLibList(i){this._initalLibList=i}get searchPlaceHolder(){return this._searchPlaceHolder}set renderSelectedIds(i){this._renderSelectedIds=i,this.notify()}get renderSelectedIds(){return this._renderSelectedIds}set cacheLibList(i){this._cacheLibList=i,this.notify()}get cacheLibList(){return this._cacheLibList}set projectsIds(i){this._projectsIds=i,this.notify()}get projectsIds(){return this._projectsIds}set selectedIds(i){this._selectedIds=i,this.notify()}get selectedIds(){return this._selectedIds}set facets(i){this._facets=i}get facets(){return this._facets}set isFromProject(i){this._isFromProject=i}get isFromProject(){return this._isFromProject}set isSearchStatus(i){this._isSearchStatus=i}get isSearchStatus(){return this._isSearchStatus}set emptyLabel(i){this._emptyLabel=i}get emptyLabel(){return this._emptyLabel}set searchValue(i){this._searchValue=i,this.notify()}get searchValue(){return this._searchValue}set projectLib(i){this._projectLib=i,this.notify()}get projectLib(){return this._projectLib}get currentSelectLibItem(){if(this._selectedIds.length>0)return this._initalLibList.find(i=>i.id===this._selectedIds[0])}baseExit(){this.emptyLabel="Loading",this.selectedIds=[],this.projectsIds=[],this.cacheLibList=[],this.facets={},this.isFromProject=!1,this.projectLib=!1}async setInitialLibList(i,o){this.initalLibList=await _xt(i,this.isFromProject,this.path,o)}async freshInitLibList(i,o,r){let n=JSON.parse(JSON.stringify(this.initalLibList)),a=[],s=C.loginedUserInfo||{},l=C.currentProject||{},c={username:s.username,uuid:s.uuid},d={title:l.title,uuid:l.projectId,isCBB:l.isCBB},u=jxt([].concat(n,a),i,c,d,o);return this.projectsIds=u.projectsIds.map(p=>p),this.initalLibList=JSON.parse(JSON.stringify(u.treeData)),this.cacheLibList=u.treeData,this.selectedIds=u.selectedIds,this.emptyLabel=u.treeData.length?"":"Empty list",u}async refreshLibListByFacets(i,o,r){typeof r<"u"&&(this.facets=ue.deepClone(r)),i.forEach(n=>{n.title=String(n.title),n.hasAddedCount&&(n.title=n.title.indexOf("(")>-1?n.title.slice(0,n.title.lastIndexOf("(")):n.title),n.titleAdditional=n.title,o?(n.hasAddedCount=!0,n.title+=`(${this.facets[n.id]||0})`,n.titleAdditional+=`(${this.facets[n.id]||0})`,n.dataTest=n.title.substring(0,n.title.lastIndexOf("("))):(delete n.dataTest,delete n.hasAddedCount)}),this.isDelSearchNum=o,this.cacheLibList=i,this.emptyLabel=this.cacheLibList.length?"":"Empty list"}updateLibListByLibItems(i,o=!0,r=!0,n=!0,a){let s=ue.deepClone(i.filter(u=>![_e.LIB_PUBLIC_KEY,_e.LIB_FAVORITE_KEY].includes(u.key)&&!C.extendLibStore.manager.hasLib(u.id))),l=[];!this.isSearchStatus&&r&&l.push({title:"Favorite",id:_e.FAVORITELIB_UUID,key:_e.LIB_FAVORITE_KEY,titleAdditional:me.i18n("Favorite")});let c=[];this.isSearchStatus&&o&&c.push({title:"Public",id:_e.PUBLICLIB_ALIAS,key:_e.LIB_PUBLIC_KEY,titleAdditional:me.i18n("Public")});let d=s.findIndex(u=>![_e.LIB_SYSTEM_KEY,_e.LIB_PROJECT_KEY,_e.LIB_PERSONAL_KEY,_e.LIB_INTERNAL_KEY,"oshwhub"].includes(u.key));return s.splice(d,0,...l),s.push(...c),n&&C.extendLibStore.manager.getLibs().forEach(u=>{u.isVisible({isSearch:this.isSearchStatus,tabName:a,scene:x9.DIALOG})&&s.splice(u.position,0,{title:u.title,id:u.id,key:u.id,titleAdditional:me.i18n(u.title)})}),s}getSelectedTruthLibIds(){return this.selectedIds.map(i=>i.indexOf(_e.LIB_SPLIT_TAG)>=0?i.split(_e.LIB_SPLIT_TAG)[0]:i)}isSelectedProject(){return Ft(this._cacheLibList,"id",C.currentProject.projectId).index<=-1?!1:this.selectedIds[0]===C.currentProject.projectId}getSelectedItem(){return Ft(this._cacheLibList,"id",this.selectedIds[0]).data}async refreshLibListFromRemote(){await uj(C.workspace),await NT(),await this.setInitialLibList(Hs.Normal),await this.freshInitLibList([bo.getInstance().usedId],this.isFromProject)}static getStarCategoryData(i){let o=tI(i),r=[],n=[],a=[],s={};for(let l in o)if(o.hasOwnProperty(l)){let c=o[l],d={id:c.uuid,title:c.name,titleAdditional:c.name_cn,children:[]};a.push(c.uuid);let u=c.children;if(u){for(let p in u)if(u.hasOwnProperty(p)){let m=u[p];d.children.push({id:m.uuid,title:m.name,titleAdditional:m.name_cn}),a.push(m.uuid),s[m.uuid]=c.uuid}}r.push(d)}return r.unshift({title:_e.CATEGORY_ITEM_ALL_TITLE,id:_e.CATEGORY_ITEM_ALL_VALUE,titleAdditional:me.i18n(_e.CATEGORY_ITEM_ALL_TITLE)}),n.push(_e.CATEGORY_ITEM_ALL_VALUE),{treeData:r,selectedIds:n,categoryIds:a,childCategory2ParentCategoryMap:s,sourceCategoryList:[],languageHashtable:{}}}};dm.StarCategoryPageNumber=1,dm.StarCategoryPageSize=150;var Pje=class extends dm{constructor(e){super(),this.parent=e}async initial(e){typeof e.isFromProject<"u"&&(this.isFromProject=!!e.isFromProject)}async setInitial(e,i){Je?await this.createInitCbbListInNotOnlineClient(e,i):await this.setInitialLibList(e,i)}async createInitCbbListInNotOnlineClient(e,i){let o=[],r=await wd();r&&((r.cbbPath||[]).forEach(a=>{let s=xV(a);o.push({title:xV(a),id:a,username:s,key:a})}),o.splice(0,0,{title:"Project",id:"",username:"Project",key:_e.LIB_PROJECT_KEY})),this.initalLibList=[...o]}};var D3=class extends qe{constructor(){super(),this._searchValue="",this._searchPlaceHolder="Search",this._isInSearchingStatus=!1}set searchPlaceHolder(e){this._searchPlaceHolder=e}get searchPlaceHolder(){return this._searchPlaceHolder}set searchValue(e){this._searchValue=e?e.trim():"",this.notify()}get searchValue(){return this._searchValue}set isInSearchingStatus(e){this._isInSearchingStatus=e}get isInSearchingStatus(){return this._isInSearchingStatus}baseExit(e="Search"){this.searchPlaceHolder=e,this.searchValue="",this.isInSearchingStatus=!1}};var Oje=class extends D3{constructor(e){super(),this.parent=e}};var Rje=class extends qe{constructor(){super(),this._imageURL=null,this._isShowImage=!1,this._isShowLoading=!1,this._isShowTips=!1,this._tipsText=me.i18n("Double-click to view the reuse block project"),this._imageWrapperElementStyle={backgroundColor:"#ffffff"}}set isShowLoading(e){this._isShowLoading=e,this.notify()}get isShowLoading(){return this._isShowLoading}set imageURL(e){this._imageURL=e,this.notify()}get imageURL(){return this._imageURL}set tipsText(e){this._tipsText=e,this.notify()}get tipsText(){return this._tipsText}set isShowTips(e){this._isShowTips=e,this.notify()}get isShowTips(){return this._isShowTips}set isShowImage(e){this._isShowImage=e,this.notify()}get isShowImage(){return this._isShowImage}set imageWrapperElementStyle(e){this._imageWrapperElementStyle=e,this.notify()}get imageWrapperElementStyle(){return this._imageWrapperElementStyle}baseExit(){this.isShowLoading=!1,this.imageURL=null,this.isShowTips=!1}setLoadingStatus(){this.isShowLoading=!0,this.imageURL=null,this.isShowTips=!1}};async function _je(t,e=0,i=!0){return new Promise(async(o,r)=>{Cr("createDocManager",{data:t,cb:n=>{let a=n.getPartByIndex(e),s=[];if(!a){o({svgStr:"",partList:[],symbolItem:t}),n.dispose();return}let l=i?{forceShowPinName:!0,forceShowPinNumber:!0}:{};t.svgStr=a.shapeManager.toModelSvg(a,l);for(let c=0;c<n.parts.length;c++)s.push({value:n.parts[c].partId,text:n.parts[c].partId});o({svgStr:t.svgStr,partList:s,symbolItem:t}),n.dispose()}})})}var jje=class extends Rje{constructor(e){super(),this.parent=e}async cbbSymbolPreview(e){var r,n;let i=this.parent.libListModel.isSelectedProject(),o=null;if(e){let a=i?e.uuid:(r=e.schUuidToCbbSymbolDetailMap[e.uuid])==null?void 0:r.uuid,s=i?e.project_uuid:(n=e.project_detail)==null?void 0:n.uuid;if(!a||!s){this.isShowLoading=!1,this.tipsText="",this.isShowTips=!0,console.error(`symbolPreview: failed preview uuid:${a} path:${s}`);return}if(o=await Ze.getSymbol({isProject:s===C.currentProject.projectId,path:s,uuid:a}),o){let l=await _je(o),c=await Rf(o);this.imageURL=c.src,this.isShowImage=!0,this.isShowTips=!1}}return this.isShowLoading=!1,o}resetThumbViewStatus(){this.isShowLoading=!1,this.isShowImage=!1,this.isShowTips=!1,this.imageWrapperElementStyle={...this.imageWrapperElementStyle,backgroundColor:"var(--bg-color-data-thumb)"}}};var Bje=class Bje extends qe{constructor(i){super();this.tabName=i}get name(){return`recent-library-${this.tabName}`}encodeKey(i,o){return`${i}|${o}`}_getStorage(){try{let i=Ob(this.name)||"{}";return JSON.parse(i)}catch{return{}}}_addInStorage(i,o){let r=this._getStorage(),n=Date.now();r[i]={addTime:n,data:o};let a=Object.keys(r);if(a.length>Bje.LIMIT_SIZE){let[s,l]=["",1/0];for(let c of a){let d=r[c].addTime;d<l&&(l=d,s=c)}delete r[s]}y1(this.name,JSON.stringify(r))}_removeInStorage(i){let o=this._getStorage();delete o[i],y1(this.name,JSON.stringify(o))}_updateInStorage(i,o){let r=this._getStorage();r[i]&&(r[i].data={...r[i].data,...o},y1(this.name,JSON.stringify(r)))}add(i){if(!i)return;let o=i.uuid,r=rf(i);if(!o||!r||r===C.currentProject.projectId)return;let n=this.encodeKey(o,r);this._addInStorage(n,i)}remove(i){let o=i.uuid,r=rf(i);if(!o||!r)return;let n=this.encodeKey(o,r);this._removeInStorage(n)}update(i,o,r){if(!i||!o)return;let n=this.encodeKey(i,o);this._updateInStorage(n,r)}get(i,o){if(!i||!o)return;let r=this.encodeKey(i,o);return this._getStorage()[r]}getList(){let i=[],o=this._getStorage(),n=Object.keys(o).sort((a,s)=>o[a].addTime>o[s].addTime?-1:1);for(let a=0;a<n.length;a++){let s=n[a];i.push(o[s].data)}return i}clear(){y1(this.name,"{}")}refreshView(){this.notify()}};Bje.LIMIT_SIZE=100;var UTe=Bje,jpe=new UTe(Tt.DEVICE),VTe=new UTe(Tt.SYMBOL),HTe=new UTe(Tt.FOOTPRINT),pj={[Tt.DEVICE]:jpe,[Tt.SYMBOL]:VTe,[Tt.FOOTPRINT]:HTe};var zxt;(i=>{let o=class o{constructor(){this.getSupportedSymbolTypes=null;this.getSupportedPreviewTypes=null}async _getListInServer(){if(this._serverListCache)return this._serverListCache;let n=jpe.getList(),a={},s={},l={};n.forEach((u,p)=>{let{uuid:m,path:h}=u,f=jpe.encodeKey(m,h);a[f]=p,l[f]=u,(s[h]||(s[h]=[])).push(m)});let c=[];for(let u in s)try{let p=await Ze.getDeviceSearchList({uuids:s[u],path:u,isProject:!1});for(let m of p){let h=jpe.encodeKey(m.uuid,m.path),f=a[h],g=l[h];c[f]={...g,...m}}}catch{}let d=c.filter(u=>!!u);return this._serverListCache=d,setTimeout(()=>{this._serverListCache=null},o.CACHE_TIME),d}async getClassificationTree(){let n=new Map;return(await this._getListInServer()).forEach(a=>{let{tags:s={}}=a,{parent_tag:l,child_tag:c}=s;if(l!=null&&l.uuid&&!n.has(l.uuid)&&n.set(l.uuid,{name:l.name,children:new Map,name_cn:l.name_cn}),c!=null&&c.uuid){let d=n.get(l.uuid).children;d.has(c.uuid)||d.set(c.uuid,{name:c.name,name_cn:c.name_cn})}}),Array.from(n.entries()).reduce((a,[s,{name:l,children:c,name_cn:d}])=>{let u=Array.from(c.entries()).map(p=>({uuid:p[0],name:p[1].name,name_cn:p[1].name_cn}));return a.push({name:l,uuid:s,children:u,name_cn:d}),a},[])}async getDetail(n,a){let s=await Ze.getDevice({isProject:!1,path:a,uuid:n});return{name:s.display_title||s.title,edaFormatedData:s}}async getList(n){let a=(await this._getListInServer()).map(w=>({name:w.display_title||w.title,edaFormatedData:w})),{query:s={},page:l=1,pageSize:c=50}=n,{wd:d,listByTitles:u,listByUuids:p,classification:m,symbolType:h}=s;if(u&&(a=a.filter(w=>u.includes(w.name))),p&&(a=a.filter(w=>p.includes(w.edaFormatedData.uuid))),m){let{primaryClassificationUuid:w,secondaryClassificationUuid:x}=m;a=a.filter(S=>{let{tags:T={}}=S.edaFormatedData,{child_tag:M,parent_tag:I}=T;return!(w&&w!==(I==null?void 0:I.uuid)||x&&x!==(M==null?void 0:M.uuid))})}d&&(a=a.filter(w=>OS(w.edaFormatedData,d))),h&&(a=a.filter(w=>w.edaFormatedData.symbol_type===h));let f=(l-1)*c,g=f+c,b=a.slice(f,g),y=Math.ceil(a.length/c)||1;return{count:a.length,lists:b,page:l,pageSize:c,totalPage:y}}toJSON(){return{getList:this.getList.bind(this),getDetail:this.getDetail.bind(this),getClassificationTree:this.getClassificationTree.bind(this),getSupportedPreviewTypes:this.getSupportedPreviewTypes,getSupportedSymbolTypes:this.getSupportedSymbolTypes}}};o.CACHE_TIME=1e3;let t=o;i.device=new t})(zxt||(zxt={}));var qyi=zxt.device;var Fxt;(i=>{let o=class o{constructor(){this.getSupportedSymbolTypes=null;this.getSupportedPreviewTypes=null}async _getListInServer(){if(this._serverListCache)return this._serverListCache;let n=VTe.getList(),a={},s={},l={};n.forEach((u,p)=>{let{uuid:m,path:h}=u,f=VTe.encodeKey(m,h);a[f]=p,l[f]=u,(s[h]||(s[h]=[])).push(m)});let c=[];for(let u in s)try{let p=u==="project",m=await Ze.getSymbolSearchList({uuids:s[u],path:u,isProject:p});for(let h of m){let f=VTe.encodeKey(h.uuid,h.path),g=a[f],b=l[f];c[g]={...b,...h}}}catch{}let d=c.filter(u=>!!u);return this._serverListCache=d,setTimeout(()=>{this._serverListCache=null},o.CACHE_TIME),d}async getClassificationTree(){let n=new Map;return(await this._getListInServer()).forEach(a=>{let{tags:s={}}=a,{parent_tag:l,child_tag:c}=s;if(l!=null&&l.uuid&&!n.has(l.uuid)&&n.set(l.uuid,{name:l.name,children:new Map,name_cn:l.name_cn}),c!=null&&c.uuid){let d=n.get(l.uuid).children;d.has(c.uuid)||d.set(c.uuid,{name:c.name,name_cn:c.name_cn})}}),Array.from(n.entries()).reduce((a,[s,{name:l,children:c,name_cn:d}])=>{let u=Array.from(c.entries()).map(p=>({uuid:p[0],name:p[1].name,name_cn:p[1].name_cn}));return a.push({name:l,uuid:s,children:u,name_cn:d}),a},[])}async getDetail(n,a){let s=await Ze.getSymbol({isProject:!1,path:a,uuid:n});return{name:s.display_title||s.title,edaFormatedData:s}}async getList(n){let a=(await this._getListInServer()).map(w=>({name:w.display_title||w.title,symbolType:w.docType,edaFormatedData:w})),{query:s={},page:l=1,pageSize:c=50}=n,{wd:d,listByTitles:u,listByUuids:p,classification:m,symbolType:h}=s;if(u&&(a=a.filter(w=>u.includes(w.name))),p&&(a=a.filter(w=>p.includes(w.edaFormatedData.uuid))),m){let{primaryClassificationUuid:w,secondaryClassificationUuid:x}=m;a=a.filter(S=>{let{tags:T={}}=S.edaFormatedData,{child_tag:M,parent_tag:I}=T;return!(w&&w!==(I==null?void 0:I.uuid)||x&&x!==(M==null?void 0:M.uuid))})}d&&(a=a.filter(w=>OS(w.edaFormatedData,d))),h&&(a=a.filter(w=>w.edaFormatedData.docType===h));let f=(l-1)*c,g=f+c,b=a.slice(f,g),y=Math.ceil(a.length/c)||1;return{count:a.length,lists:b,page:l,pageSize:c,totalPage:y}}toJSON(){return{getList:this.getList.bind(this),getDetail:this.getDetail.bind(this),getClassificationTree:this.getClassificationTree.bind(this),getSupportedPreviewTypes:this.getSupportedPreviewTypes,getSupportedSymbolTypes:this.getSupportedSymbolTypes}}};o.CACHE_TIME=1e3;let t=o;i.symbol=new t})(Fxt||(Fxt={}));var Xyi=Fxt.symbol;var Uxt;(i=>{let o=class o{constructor(){this.getSupportedPreviewTypes=null}async _getListInServer(){if(this._serverListCache)return this._serverListCache;let n=HTe.getList(),a={},s={},l={};n.forEach((u,p)=>{let{uuid:m,path:h}=u,f=HTe.encodeKey(m,h);a[f]=p,l[f]=u,(s[h]||(s[h]=[])).push(m)});let c=[];for(let u in s)try{let p=u==="project",m=await Ze.getFootprintSearchList({uuids:s[u],path:u,isProject:p});for(let h of m){let f=HTe.encodeKey(h.uuid,h.path),g=a[f],b=l[f];c[g]={...b,...h}}}catch{}let d=c.filter(u=>!!u);return this._serverListCache=d,setTimeout(()=>{this._serverListCache=null},o.CACHE_TIME),d}async getClassificationTree(){let n=new Map;return(await this._getListInServer()).forEach(a=>{let{tags:s={}}=a,{parent_tag:l,child_tag:c}=s;if(l!=null&&l.uuid&&!n.has(l.uuid)&&n.set(l.uuid,{name:l.name,children:new Map,name_cn:l.name_cn}),c!=null&&c.uuid){let d=n.get(l.uuid).children;d.has(c.uuid)||d.set(c.uuid,{name:c.name,name_cn:c.name_cn})}}),Array.from(n.entries()).reduce((a,[s,{name:l,children:c,name_cn:d}])=>{let u=Array.from(c.entries()).map(p=>({uuid:p[0],name:p[1].name,name_cn:p[1].name_cn}));return a.push({name:l,uuid:s,children:u,name_cn:d}),a},[])}async getDetail(n,a){let s=await Ze.getFootprint({isProject:!1,path:a,uuid:n});return{name:s.display_title||s.title,edaFormatedData:s}}async getList(n){let a=(await this._getListInServer()).map(y=>({name:y.display_title||y.title,edaFormatedData:y})),{query:s={},page:l=1,pageSize:c=50}=n,{wd:d,listByTitles:u,listByUuids:p,classification:m}=s;if(u&&(a=a.filter(y=>u.includes(y.name))),p&&(a=a.filter(y=>p.includes(y.edaFormatedData.uuid))),m){let{primaryClassificationUuid:y,secondaryClassificationUuid:w}=m;a=a.filter(x=>{let{tags:S={}}=x.edaFormatedData,{child_tag:T,parent_tag:M}=S;return!(y&&y!==(M==null?void 0:M.uuid)||w&&w!==(T==null?void 0:T.uuid))})}d&&(a=a.filter(y=>OS(y.edaFormatedData,d)));let h=(l-1)*c,f=h+c,g=a.slice(h,f),b=Math.ceil(a.length/c)||1;return{count:a.length,lists:g,page:l,pageSize:c,totalPage:b}}toJSON(){return{getList:this.getList.bind(this),getDetail:this.getDetail.bind(this),getClassificationTree:this.getClassificationTree.bind(this),getSupportedPreviewTypes:this.getSupportedPreviewTypes}}};o.CACHE_TIME=1e3;let t=o;i.footprint=new t})(Uxt||(Uxt={}));var $yi=Uxt.footprint;async function e4i(){C.extendLibStore.manager.addLibWithId({id:_e.RECENT_LIB_UUID,title:"Recent",position:1,device:qyi.toJSON(),symbol:Xyi.toJSON(),footprint:$yi.toJSON(),isVisible:()=>!0})}var t4i="@all",i4i="All",nf=class extends qe{constructor(){super();this._projectsIds=[];this._tableData=[],this._tableSelectedRowNumbers=[],this._sortKeyValueList=[],this._paginationDisabled=!1,this._pageNumber=1,this._pageSize=_e.DEFAULT_PAGESIZE,this._totalPage=0,this._totalCount=0,this._type=3,this._componentListLoadStatus="",this._componentItem=null,this._componentItemLoadStatus="",this._componentListRequestId="",this._componentItemRequestId="",this._projectsIds=[],this._libList=[],this._facets={},this._selectedLibIds=[],this._isFromProject=!1,this._cutSizeOptions=[10,20,50,100,150]}set type(i){this._type=i}get type(){return this._type}set sortKeyValueList(i){this._sortKeyValueList=i}get sortKeyValueList(){return this._sortKeyValueList}set pageSize(i){this._pageSize=i}get pageSize(){return this._pageSize}set pageNumber(i){this._pageNumber=i}get pageNumber(){return this._pageNumber}set totalPage(i){this._totalPage=i}get totalPage(){return this._totalPage}set totalCount(i){this._totalCount=i}get totalCount(){return this._totalCount}set componentListLoadStatus(i){this._componentListLoadStatus=i,this.notify()}get componentListLoadStatus(){return this._componentListLoadStatus}set componentItemLoadStatus(i){this._componentItemLoadStatus=i}get componentItemLoadStatus(){return this._componentItemLoadStatus}set tableData(i){this._tableData=i,this.notify()}get tableData(){return this._tableData}set tableSelectedRowNumbers(i){this._tableSelectedRowNumbers=i,this.notify()}get tableSelectedRowNumbers(){return this._tableSelectedRowNumbers}set componentItem(i){var o;this._componentItem=i,i&&((o=pj[this.dataType])==null||o.add(i))}get componentItem(){return this._componentItem}set componentItemId(i){this._componentItemId=i}get componentItemId(){return this._componentItemId}set componentListRequestId(i){this._componentListRequestId=i}get componentListRequestId(){return this._componentListRequestId}set componentItemRequestId(i){this._componentItemRequestId=i}get componentItemRequestId(){return this._componentItemRequestId}set paginationDisabled(i){this._paginationDisabled=i,this.notify()}get paginationDisabled(){return this._paginationDisabled}set projectsIds(i){this._projectsIds=i}get projectsIds(){return this._projectsIds}set libList(i){this._libList=i}get libList(){return this._libList}set facets(i){this._facets=i}get facets(){return this._facets}set selectedLibIds(i){this._selectedLibIds=i}get selectedLibIds(){return this._selectedLibIds}set isFromProject(i){this._isFromProject=i}get isFromProject(){return this._isFromProject}get cutSizeOptions(){return this._cutSizeOptions}baseExit(){this.tableData=[],this.tableSelectedRowNumbers=[],this.sortKeyValueList=[],this.componentItemId="",this.componentItem=null,this.componentListLoadStatus="",this.componentListLoadStatus="",this.componentListRequestId="",this.componentItemRequestId="",this.totalPage=1,this.totalCount=0,this.pageSize=_e.DEFAULT_PAGESIZE,this.pageNumber=1,this.projectsIds=[],this.libList=[],this.facets={},this.selectedLibIds=[]}getSelectedItem(){return Ft(this.tableData,"uuid",this.componentItemId).data}clearSelectedRowsBase(){this.tableSelectedRowNumbers=[]}initPageSize(i="table"){this.pageSize=GTe(i)}updateSortKeyValueList(i){this.sortKeyValueList=YZ(i,this.tableData)}sortTable(i,o,r){if(r==="NORMAL"){let n=[...this.tableData];n.sort((a,s)=>this.sortKeyValueList.indexOf(a[o])-this.sortKeyValueList.indexOf(s[o])),this.tableData=n;return}if(r==="ASC_SORT"||r==="DESC_SORT"){let n=[];for(let a=0;a<i.length;a++)n.push({...i[a]});this.tableData=n;return}}};var zpe=L(Se());var Gxt=L(r4i());function n4i(t,e){var c,d;if(!t||!e)return;t.project_detail||(t.project_detail={uuid:t.uuid}),t.project_detail.branch_uuid||(t.project_detail.branch_uuid=t.branch_uuid||e.branch_uuid);let i=Array.isArray(e.boards),o=ue.deepClone(e),r=new Set,n={},a={},s={};for(let[u,p]of Object.entries(e.blockSymbols||{}))o.blockSymbols[u].display_title=p.title,o.blockSymbols[u].project_uuid=t.project_detail.uuid,s[p.title]=o.blockSymbols[u];for(let[u,p]of Object.entries(e.pcbs||{})){let{board:m,title:h,uuid:f}=p;m&&!i&&(o.boards[m].name=((c=o.boards[m])==null?void 0:c.title)||"",o.boards[m].pcb=f,r.add(m)),o.pcbs[u].display_title=h,o.pcbs[u].project_uuid=t.project_detail.uuid,o.pcbs[u].docType=se.PCB,n[u]=s[h]||s[h.toLowerCase()]}let l=e.sheets||{};for(let[u,p]of Object.entries(e.schematics||{})){let{board:m,name:h,uuid:f,sheets:g}=p;m&&!i&&(o.boards[m].name=((d=o.boards[m])==null?void 0:d.title)||"",o.boards[m].sch=f,r.add(m)),o.schematics[u].display_name=h,o.schematics[u].project_uuid=t.project_detail.uuid,a[u]=s[h]||s[h.toLowerCase()],!e.sheets&&g&&g.forEach(b=>{l[b.uuid]=b})}for(let[u,p]of Object.entries(l||{})){let{title:m,uuid:h}=p;l[u].display_title=m,l[u].project_uuid=t.project_detail.uuid,l[u].docType=se.SCH}i?t.boards=o.boards:t.boards=Object.values(o.boards).filter(u=>r.has(u.uuid)),t.pcb=Object.values(o.pcbs),t.schematics=Object.values(o.schematics),t.schs=Object.values(l),t.pcbUuidToCbbSymbolDetailMap=n,t.schUuidToCbbSymbolDetailMap=a,o.block_symbol?t.project_detail.block_symbol=o.block_symbol:t.project_detail.block_symbol=Object.values(o.blockSymbols),t.project_detail.boards=t.boards,t.project_detail.pcb=t.pcb,t.project_detail.schematics=t.schematics,t.project_detail.schs=t.schs,t.project_detail.cbb_project=!0,t.isComplete=!0}async function Bpe(t,e){if(t.isComplete)return t;if(C.extendLibStore.manager.hasLib(e))return await c2r(t,C.extendLibStore.manager.getLib(e)).catch(i=>{console.info(i)}),t;if(Je){if((await L6(t.path)).success){let{uuid:o}=t,r=await a4i(o);n4i(t,r)}}else{let{uuid:i}=t,o=await a4i(i);n4i(t,o)}return t}async function a4i(t){var o;let e,{message:i}=await C.messageBus.rpcCall(Ei.PROJECT.GET,[t]);if((o=i.result)!=null&&o.branch_uuid){let r=(await C.messageBus.rpcCall(Ei.PROJECT.GET_PROFILE,{uuid:t,branch_uuid:i.result.branch_uuid})).message;r.success&&r.result&&(e=JSON.parse(r.result.structure),typeof e=="string"&&(e=JSON.parse(e)),e.branch_uuid=i.result.branch_uuid)}else{let r=(await C.messageBus.rpcCall(Og.GET_EXPORT,{uuid:t})).message;r.success&&r.result&&(e=r.result)}return e}async function c2r(t,e){var m;let i=await((m=e.cbb)==null?void 0:m.getDetail(t.project_detail.uuid));i instanceof File||(i=new File([i],`${t.project_detail.name}.zip`,{type:i.type}));let o=(await C.messageBus.rpcCall(qr.PARSE,{file:i})).message.result,r;o.type===g8.PROJECT2?r=await vci(o,t.project_detail.uuid):r=o;let{block_symbol:n,boards:a,pcbs:s,schematics:l}=r,c={},d={},u=[],p=[];it(l,(h,f)=>{f.uuid=h,p.push(f);let{name:g,sheets:b}=f;it(b,(y,w,x)=>{w.schematic_uuid=h,w.display_title=w.display_title||w.title}),u.push(...b),it(n,(y,w,x)=>{if(w.title===g)return c[h]=w,!1})}),it(s,(h,f,g)=>{let{title:b,uuid:y}=f;it(n,(w,x,S)=>{if(x.title===b)return d[y]=x,!1})}),t.project_detail.boards=a,t.project_detail.schs=u,t.project_detail.pcb=s,t.project_detail.schematics=p,t.schUuidToCbbSymbolDetailMap=c,t.pcbUuidToCbbSymbolDetailMap=d,t.isComplete=!0}function Vxt(t,e){for(let i of t.schematics||[])if(i.uuid===e)return i.display_name}var mj=L(z()),{locals:YTe}=Gxt.default,{icon:d2r}=YTe,u2r=16,xr={PRJ:st.PRJ,BOARD:st.BOARD,SCH:st.SCH,PCB:st.PCB,SHEET:st.SHEET},Hxt=class extends qe{constructor(){super(...arguments);this.data={};this._isMouseEnterRowIdx=null}update(i){this.data=i,this.notify()}set isMouseEnterRowIdx(i){this._isMouseEnterRowIdx=i}get isMouseEnterRowIdx(){return this._isMouseEnterRowIdx}},kv=new Hxt,TV=t=>{var v;let{cellData:e,row:i,tableData:o,rowNumber:r,setTableData:n,heightLightStr:a,onToggleExpand:s}=t;if(typeof e=="string")return n([]),(0,mj.jsx)(mj.Fragment,{});let{project_uuid:l,uuid:c,type:d,title:u,pcb:p,sch:m,level:h,types:f}=e,g=J();Ce(kv);let b=kv.data;Ae(Gxt.default);let{path:y}=e;Je&&(y=l);let{project_detail:w,schUuidToCbbSymbolDetailMap:x,pcbUuidToCbbSymbolDetailMap:S}=i,[T,M]=(0,zpe.useState)((v=b[l+"@"+y])==null?void 0:v[`(${d})${u}`]),I=(0,zpe.useRef)({isExpand:T,tableData:o,rowNumber:r,isLoading:!1});I.current.isExpand=T,I.current.tableData=o,I.current.rowNumber=r,(0,zpe.useEffect)(()=>{Object.keys(b).length<=0&&T&&M(!1)},[b]);let A=![xr.PRJ,xr.BOARD,xr.SCH].includes(d),D=k=>{switch(k){case xr.PRJ:return"icon-eda-project-fill";case xr.BOARD:return Nt?"icon-ecad-board-fill":"icon-eda-board-fill";case xr.SCH:return x[c]?"icon-eda-schematic-block":"icon-eda-schematic";case xr.PCB:return Nt?"icon-ecad-pcb":"icon-eda-pcb";case xr.SHEET:return"icon-eda-page";default:return""}},E=async()=>{if(I.current.isExpand=!T,M(I.current.isExpand),I.current.isLoading)return;let k=d===xr.PRJ;await Bpe(i,y),w=i.project_detail,x=i.schUuidToCbbSymbolDetailMap,S=i.pcbUuidToCbbSymbolDetailMap;let{isExpand:P,tableData:O,rowNumber:_,isLoading:j}=I.current,B=V(_);P?O.splice(_+1,0,...B):j||O.splice(_+1,B.length),kv.update(b),n([...O]),s&&s(T?"Collapse":"Expand",B,_+1),I.current.isLoading=!1;function V(F){let K=[];return d===xr.PRJ?K.push(...H(y,l,F+1)):d===xr.BOARD?(K.push(...q(y,l,m,p,F,h+1)),G()):d===xr.SCH&&(K.push(...U(y,l,c,F,h+1)),G()),K}function G(){b[l+"@"+y]||(b[l+"@"+y]={});let F=`(${d})${u}`;b[l+"@"+y][F]=!T}function Q(F){return"var(--common-bg-color-1)"}function H(F,K,te,ae=1){var oe,re;let pe=[],Z=ue.naturalSort1(w.boards,"name"),ee=[];(!f||(f||[]).includes("sch"))&&Nl&&ee.push(...w.schematics),(!f||(f||[]).includes("pcb"))&&Eu&&ee.push(...w.pcb);let ce=ue.naturalSort1(ee,["display_title","display_name"]).reduce((Y,X)=>(Y[X.uuid]=X,Y),{});for(let Y=0;Y<Z.length;Y++){let{pcb:X,sch:ie}=Z[Y],de=Z[Y].name||Z[Y].title,fe={display_title:{title:de,type:xr.BOARD,pcb:X,sch:ie,path:F,project_uuid:K,level:ae},project_detail:w,schUuidToCbbSymbolDetailMap:x,pcbUuidToCbbSymbolDetailMap:S,uuid:de+"@"+K+"@"+F,tableIndex:de+"@"+K+"@"+F,noCheckbox:!0},ye=`(${xr.BOARD})${de}`;pe.push({...fe,bgColor:Q(te)}),delete ce[X],delete ce[ie],(!b[K+"@"+F]||(oe=b[K+"@"+F])!=null&&oe[ye])&&(b[K+"@"+F]||(b[K+"@"+F]={}),b[K+"@"+F][ye]=!0,pe.push(...q(F,K,ie,X,te,ae+1)))}let ne=Object.values(ce);for(let Y=0;Y<ne.length;Y++){let{docType:X,display_title:ie,display_name:de,uuid:fe,thumb:ye,updateTime:Le,title:Re,name:Ne}=ne[Y],Te=X==se.PCB?xr.PCB:xr.SCH,Pe=Te===xr.SCH?de||Ne:ie||Re,Oe={display_title:{title:Pe,type:Te,uuid:fe,project_uuid:K,path:F,level:ae},project_detail:w,thumb:ye,schUuidToCbbSymbolDetailMap:x,pcbUuidToCbbSymbolDetailMap:S,uuid:fe,tableIndex:lo(fe,K),path:F,noCheckbox:!0,bgColor:Q(te),update_time:Le?ue.formatDate2(MK(Le)):""};pe.push(Oe);let Ue=`(${Te})${Pe}`;Te===xr.SCH&&((re=b[K+"@"+F])!=null&&re[Ue]||k)&&(b[K+"@"+F]||(b[K+"@"+F]={}),b[K+"@"+F][Ue]=!0,pe.push(...U(F,K,fe,te,ae+1)))}return pe}function q(F,K,te,ae,pe,Z){let ee=[];return(!f||(f||[]).includes("sch"))&&Nl&&ce([w.schematics.find(ne=>ne.uuid===te)],ee,xr.SCH),(!f||(f||[]).includes("pcb"))&&Eu&&ce([w.pcb.find(ne=>ne.uuid===ae)],ee,xr.PCB),ee;function ce(ne,oe,re){var Y;if(ne&&Array.isArray(ne))for(let X=0;X<ne.length;X++){if(!ne[X])continue;let{display_name:ie,uuid:de,display_title:fe,thumb:ye,updateTime:Le,title:Re,name:Ne}=ne[X],Te=re===xr.SCH?ie||Ne:fe||Re,Pe={display_title:{title:Te,type:re,uuid:de,project_uuid:K,path:F,level:Z},project_detail:w,schUuidToCbbSymbolDetailMap:x,pcbUuidToCbbSymbolDetailMap:S,uuid:de,tableIndex:lo(de,K),path:F,noCheckbox:!0,thumb:ye,update_time:Le?ue.formatDate2(MK(Le)):""};oe.push({...Pe,bgColor:Q(pe)});let Oe=`(${xr.SCH})${Te}`;re===xr.SCH&&((Y=b[K+"@"+F])!=null&&Y[Oe]||k)&&(b[K+"@"+F]||(b[K+"@"+F]={}),b[K+"@"+F][Oe]=!0,oe.push(...U(F,K,de,pe,Z+1)))}}}function U(F,K,te,ae,pe){let Z=[];return ee(w.schs,Z,xr.SHEET),Z;function ee(ce,ne,oe){let re=ce.filter(Y=>Y.schematic_uuid===te).sort((Y,X)=>Y.zIndex-X.zIndex);if(re&&Array.isArray(re))for(let Y=0;Y<re.length;Y++){let{uuid:X,display_title:ie,schematic_uuid:de,thumb:fe,updateTime:ye,title:Le}=re[Y];if(de!==te)continue;let Re={display_title:{title:ie||Le,type:oe,uuid:X,project_uuid:K,path:F,level:pe},project_detail:w,schUuidToCbbSymbolDetailMap:x,pcbUuidToCbbSymbolDetailMap:S,schUuid:te,uuid:X,tableIndex:lo(X,K),path:F,thumb:fe,noCheckbox:!0,update_time:ye?ue.formatDate2(MK(ye)):""};ne.push({...Re,bgColor:Q(ae)})}}}},N=(k=0)=>k*u2r,R=Gr(k=>{Yn(()=>{if(Kr(kv.isMouseEnterRowIdx)||A)return;switch(k.code){case"ArrowLeft":k.preventDefault(),k.stopPropagation(),r===kv.isMouseEnterRowIdx&&T&&E();break;case"ArrowRight":k.preventDefault(),k.stopPropagation(),r===kv.isMouseEnterRowIdx&&!T&&E();break;default:break}})},100);return Gs("keyup",R),(0,mj.jsxs)("div",{title:u,"data-extra-cell":"true",style:{cursor:"pointer",paddingLeft:N(h)+"px"},onDoubleClick:async()=>{await E()},children:[A?(0,mj.jsx)("span",{className:YTe["tree-join"]}):(0,mj.jsx)("span",{title:g(T?"Collapse":"Expand"),"data-test":T?"tree-expanded":"tree-collapsed",className:T?YTe["tree-expanded"]:YTe["tree-collapsed"],onClick:async()=>{await E()}}),(0,mj.jsx)("span",{className:be(YTe[D(d)],d2r)}),(0,mj.jsx)("span",{style:{padding:"4px 2px"},title:u,dangerouslySetInnerHTML:{__html:a?u==null?void 0:u.replace(new RegExp(a,"ig"),k=>`<span style="background: var(--common-bg-color-highLight-item);">${k}</span>`):u||""}})]})};var Yxt=L(z());function s4i(t,e){return Je?[{key:"display_title",name:me.i18n("Reuse Block"),sortable:!1,width:1,render(i){let o={...i,cellData:{...i.cellData,types:t.componentTableShowTypes}};return(0,Yxt.jsx)(TV,{...o})}}]:[{key:"display_title",name:me.i18n("Reuse Block"),sortable:!1,width:180,render(i){let o={...i,cellData:{...i.cellData,types:t.componentTableShowTypes}};return(0,Yxt.jsx)(TV,{...o})}},{key:"description",name:me.i18n("Description"),sortable:!0,width:e},{key:"updateTimeString",name:me.i18n("Update Time"),sortable:!0,width:e},{key:"belong",name:me.i18n("Belong"),sortable:!0,width:e}]}function p2r(t,e=!1){var o,r;let i="";if(e&&t.custom_tags)try{i=JSON.parse(t.custom_tags).join(":")}catch{}else{let n=a=>me.curr=="zh-hans"&&a.name_cn||a.name;i=(o=t.tags.parent_tag)!=null&&o.name?`${n(t.tags.parent_tag)}${(r=t.tags.child_tag)!=null&&r.name?":"+n(t.tags.child_tag):""}`:""}return i}function m2r(t){let{block_symbol:e=[],schematics:i=[],pcb:o=[]}=t,r={};for(let s=0;s<e.length;s++){let{uuid:l,display_title:c}=e[s];r[c]=e[s]}let n={};for(let s=0;s<i.length;s++){let{uuid:l,display_name:c}=i[s];n[l]=r[c]||r[c.toLowerCase()]}let a={};for(let s=0;s<o.length;s++){let{uuid:l,display_title:c}=o[s];a[l]=r[c]||r[c.toLowerCase()]}return{schUuidToCbbSymbolDetailMap:n,pcbUuidToCbbSymbolDetailMap:a}}async function h2r(t){let{block_symbol:e=[],schematics:i=[],pcb:o=[]}=t,r={};for(let s=0;s<e.length;s++){let{uuid:l,display_title:c}=e[s];r[c]=e[s]}let n={};for(let s=0;s<i.length;s++){let{uuid:l,display_name:c}=i[s];n[l]=r[c]}let a={};for(let s=0;s<o.length;s++){let{uuid:l,display_title:c}=o[s];a[l]=r[c]}return{schUuidToCbbSymbolDetailMap:n,pcbUuidToCbbSymbolDetailMap:a}}async function f2r(t){let{block_symbol:e={},schematics:i={},pcbs:o={},uuid:r}=t,n={},a=Object.keys(e).map(h=>new Promise(async(f,g)=>{let b=await Ze.getSymbol({path:r,isProject:r===C.currentProject.projectId,uuid:h});f(b)})),s=await Promise.allSettled(a);for(let h of s)if(h.status==="fulfilled"){let{display_title:f}=h.value;n[f]=h.value}let l=[],c={},d=Object.keys(i||{});if(d.length){let{message:h}=await C.messageBus.rpcCall(Ei.SCHEMATIC.LIST,{projectId:r,uuids:d});if(h.success){l=h.result;for(let f=0;f<h.result.length;f++){let{uuid:g,display_name:b}=h.result[f];c[g]=n[b]}}}let u=[],p={},m=Object.keys(o||{});if(m.length){let h={docType:se.PCB,uuids:m,projectId:r},{message:f}=await C.messageBus.rpcCall(Ei.DOCUMENT.LIST,h);if(f.success){u=f.result;for(let g=0;g<f.result.length;g++){let{uuid:b,display_title:y}=f.result[g];p[b]=n[y]}}}return{schUuidToCbbSymbolDetailMap:c,pcbUuidToCbbSymbolDetailMap:p,schematics:l,pcbs:u}}async function Wxt(t,e,i){var c,d;let o=ue.deepClone(t),r=l(o);o.display_title={uuid:o.uuid,path:o.path,project_uuid:o.uuid,title:r,type:st.PRJ},o.$id=0,o.index=0,o.numberIndex=0,o.introduction=o.content||o.introduction,o.description=o.content||o.description;let n=o.owner||{};if(e)o.update_time=Rs(new Date(o.updated_at)),o.belong=((c=o==null?void 0:o.owner)==null?void 0:c.nickname)||"",o.last_modifier=o.modifier?o.modifier.nickname||o.modifier.username:"",o.projectPath=o.path,o.isOshwHubData=!0,o.belong=n.username||await d4(n.uuid);else if(!Je){o.project_detail={...o};let{schUuidToCbbSymbolDetailMap:u,pcbUuidToCbbSymbolDetailMap:p}=m2r(o);o.schUuidToCbbSymbolDetailMap=u,o.pcbUuidToCbbSymbolDetailMap=p,o.cate=p2r(o),o.update_time=Rs(new Date(o.updated_at)),o.version_time=o.version?zje(o.version*1e3):"",o.belong=((d=o==null?void 0:o.owner)==null?void 0:d.nickname)||"",o.last_modifier=o.modifier?o.modifier.nickname||o.modifier.username:"",o.belong=n.username}let a=typeof o.updated_at=="string"?o.updated_at:typeof o.updated_at=="number"?Rs(new Date(o.updated_at)):"",s=typeof o.updateTime=="string"?o.updateTime:typeof o.updateTime=="number"?Rs(new Date(+o.updateTime*1e3)):"";return o.updateTimeString=a||s,i&&i(o),o;function l(u){if(u.name||u.display_title||u.title)return u.name||u.display_title||u.title;let p=u.path,m;if(p.includes("\\")){let h=p.split("\\");m=h[h.length-1]}else if(p.includes("//")){let h=p.split("//");m=h[h.length-1]}if(m&&m.endsWith(Ns.eprj))return m.replace(Ns.eprj,"");if(m&&m.endsWith(Ns.eprj2))return m.replace(Ns.eprj2,"")}}async function l4i(t){let{uuid:e}=t,i={...t},{message:o}=await C.messageBus.rpcCall(Og.GET_EXPORT,{uuid:e});if(o.success&&o.result){let r=o.result;r.pcb=r.pcbs;let n=[],a=[];for(let c in r.schematics)n.push(r.schematics[c]),a=a.concat(r.schematics[c].sheets);r.schematics=n,r.schs=a,Object.assign(i,r);let{schUuidToCbbSymbolDetailMap:s,pcbUuidToCbbSymbolDetailMap:l}=await h2r(i);i.schUuidToCbbSymbolDetailMap=s,i.pcbUuidToCbbSymbolDetailMap=l,i.project_detail={...i},i.path=i.project_detail.projectUuid||i.uuid,i.isAddData=!0}else console.error("Get Oshwhub Project error");return i}async function c4i(t){let{uuid:e,path:i}=t,o={...t},{message:r}=await C.messageBus.rpcCall(Ei.PROJECT.TICKET,{uuid:e,g_ticket:-1});r.success&&Object.assign(o,r.result);let{schUuidToCbbSymbolDetailMap:n,pcbUuidToCbbSymbolDetailMap:a,pcbs:s,schematics:l}=await f2r(o);o.schUuidToCbbSymbolDetailMap=n,o.pcbUuidToCbbSymbolDetailMap=a,o.pcb=s,o.schematics=l;let c=Object.keys(o.schs||{});return o.schs=c.length?await dOe({projectId:e,uuids:c,docType:se.SCH}):[],o.boards=(await KU({uuid:e,path:e})).boards,o.project_detail={...r.result,boards:o.boards,schematics:o.schematics,pcb:o.pcb,schs:o.schs,uuid:r.result.projectUuid},o.dirPath=o.path,o.path=o.project_detail.projectUuid,o.isAddData=!0,o}var Fje=class extends nf{get dataType(){return Tt.CBB}constructor(e){super(),this.parent=e,this._selectElementDisabaled=!1,this._tableCols=[],this._componentTableShowTypes=["pcb","sch"]}async initial(e){typeof e.componentTableShowTypes<"u"&&(this.componentTableShowTypes=e.componentTableShowTypes)}set selectElementDisabaled(e){this._selectElementDisabaled=e,this.notify()}get selectElementDisabaled(){return this._selectElementDisabaled}set selectedSymolType(e){this._selectedSymolType=e,this.notify()}get selectedSymolType(){return this._selectedSymolType}set tableCols(e){this._tableCols=e}get tableCols(){return this._tableCols}set componentTableShowTypes(e){this._componentTableShowTypes=e}get componentTableShowTypes(){return this._componentTableShowTypes}createTabeColsProfile(){return s4i(this,.3333333333333333)}async fetchComponentList(e,i,o,r=_e.DEFAULT_PAGESIZE,n=[],a=-1){let s=async c=>{let d=c.lists,u=[];for(let p=0;p<d.length;p++){let m=await Wxt(d[p],!1,h=>{h.$id=String(p),h.index=(o-1)*r+p+1,h.numberIndex=p+1,h.updateTimeString=fC(h)});u.push(m)}return c.count=c.count,c.lists=u,this.totalCount=c.count,c};this.componentListRequestId=Mt();let l=i===C.currentProject.projectId;if(l)return{success:!0,result:null,code:0};{let c={isProject:l,path:i,uid:e,page:o,pageSize:r,tags:n,options:{needStr:!0}};n.includes("@Uncategorized")&&(c.tagNotExists=!0);let{message:d}=await C.messageBus.rpcCall(Og.LIST,c);return d.result&&(d.result.lists||d.result.list)?{...d,result:await s(d.result),requestId:this.componentListRequestId}:{...d,requestId:this.componentListRequestId}}}async fetchComponentListBySearch(e,i,o,r=_e.DEFAULT_PAGESIZE,n="",a=[],s=-1){let l=h=>{let{count:f,page:g,pageSize:b,totalPage:y,lists:w,facets:x}=h;this.pageNumber=+g||1,this.totalPage=+y||1;let S={},T={},M=Object.keys(x);for(let D=0;D<M.length;D++){let E=M[D];if(E===bo.getInstance().usedFacetsKey){let N=Ft(this.libList,"id",bo.getInstance().usedId);N.index>=0&&(S[N.data.id]=x[E],T[N.data.id]=w[E]);continue}if(E===_e.USERLIB_ALIAS){let N=Ft(this.libList,"id",C.loginedUserInfo.uuid);N.index>=0&&(S[N.data.id]=x[E],T[N.data.id]=w[E]);continue}S[E]=x[E],T[E]=w[E]}this.facets=S;let I=this.selectedLibIds[0];this.totalCount=Number.isSafeInteger(+this.facets[I])?+this.facets[I]:f||0;let A=T[I]||[];return{...h,lists:{[I]:A},facets:S}},c=async h=>{let f=h.lists,g=[];for(let x=0;x<f.length;x++){let S;if(Je?S=(f[x].path||"").toLocaleLowerCase():S=(f[x].name||"").toLocaleLowerCase(),S.indexOf(n)>=0){let T=await Wxt(f[x],!1,M=>{M.$id=String(x),M.index=(o-1)*r+x+1,M.numberIndex=x+1,M.updateTimeString=fC(M)});g.push(T)}}let b={},y={},w=this.parent.libListModel.cacheLibList;for(let x=0;x<w.length;x++)y[w[x].id]=0,b[w[x].id]=[],w[x].id===e&&(y[w[x].id]=g.length,b[w[x].id]=g);return{...h,lists:b,facets:y,wd:n,count:g.length}},d=this.parent.libListModel.cacheLibList.find(h=>h.id===e),u=d?String(d.title):"",p=d?String(d.key):"";this.componentListRequestId=Mt();let{message:m}=await C.messageBus.rpcCall(Og.LIST,{isProject:i===C.currentProject.projectId,path:i,uid:e,page:o,pageSize:r,wd:n,tags:a,options:{needStr:!0}});return m.result&&(m.result.lists||m.result.list)?{...m,result:l(await c(m.result)),requestId:this.componentListRequestId,code:typeof m.code>"u"?m.success?0:-1:m.code}:{...m,requestId:this.componentListRequestId}}async refreshComponentList(e,i,o="",r=[],n=(a,s)=>{}){this.parent.reuseBlockViewModel.isShowTips=!1;let a=this.selectedLibIds[0];if(this.facets={},this.componentListLoadStatus="Loading",r[0]===_e.CATEGORY_ITEM_ALL_VALUE&&(r=[]),!o||!o.trim()){let l=await this.fetchComponentList(e,i,this.pageNumber,this.pageSize,r,this.type);if(this.componentListRequestId!==l.requestId)return;if(l.success===!1&&console.error(l),l.result){let c=l.result.lists||[];c.length>=1?(this.tableData=c,this.componentListLoadStatus=""):(this.tableData=[],this.componentListLoadStatus="No Results!")}else this.componentListLoadStatus="No Results!";this.notify(),n("fetch",l);return}let s=await this.fetchComponentListBySearch(e,i,this.pageNumber,this.pageSize,o.toLocaleLowerCase(),r,this.type);if(this.componentListRequestId===s.requestId){if(s.code!==0&&console.error(s),s.result){let l=s.result.lists[a]||[];l.length>=1?(this.tableData=l,this.componentListLoadStatus=""):(this.tableData=[],this.componentListLoadStatus="No Results!")}else this.componentListLoadStatus="No Results!";n("search",s)}}sortTable(e,i,o){kv.update({});let r=[];for(let n=0;n<e.length;n++)r.push({...e[n]});this.tableData=r,this.tableSelectedRowNumbers=[],this.componentItem=null,this.componentItemId=void 0}clearAllRemoteData(){this.clearSelectedRowsBase(),this.tableData=[],this.componentItem=null}getReuseBlockFullComponentItem(e){let i=this.tableData,o=Ft(i,"uuid",e);if(o.index<=-1)return null;let r=o.data.display_title;if(r.project_uuid===o.data.uuid)return o.data;let n=Ft(i,"uuid",r.project_uuid);return n.index<=-1?null:n.data}resetTableSelectStatus(){this.tableSelectedRowNumbers=[],this.componentItem=null,this.componentItemId=null}};function F0(t,{kv:e,targets:i}){i.forEach(o=>{let r=t[o];Object.keys(e).forEach(n=>{typeof r[n]<"u"&&(r[n]=e[n])})})}var WTe="_@@_",Fpe="usrUseDocTemplateCategoryIdSelected",Upe="usrUseDocTemplateLibIdSelected",d4i="Template";function QTe(t){if(t.indexOf(WTe)<=-1)return t;let e=t.split(WTe);return e[0]?e[0]:t}function g2r(){return[{value:"DesignRule",title:"Design Rule",isShow:!0,isSelected:!0},{value:"Board",title:"Board Outline",isShow:!0,isSelected:!0},{value:"SlotRegion",title:"Slot Region",isShow:!0,isSelected:!0},{value:"ProhibitedRegion",title:"Prohibited Region",isShow:!0,isSelected:!0},{value:"ConstraintRegion",title:"Constraint Region",isShow:!0,isSelected:!0},{value:"Component",title:"Component",isShow:!0,isSelected:!0},{value:"Track",title:"Track",isShow:!0,isSelected:!0},{value:"TestPoint",title:"Test Point",isShow:!0,isSelected:!0},{value:"Pad",title:"Pad",isShow:!0,isSelected:!0},{value:"Via",title:"Via",isShow:!0,isSelected:!0},{value:"SutureHole",title:"Suture Via",isShow:!0,isSelected:!0},{value:"Text",title:"Text",isShow:!0,isSelected:!0},{value:"ColorfulImage",title:"Colorful Image",isShow:!0,isSelected:!0},{value:"Image",title:"Image",isShow:!0,isSelected:!0},{value:"FPCStiffener",title:"FPC Stiffener",isShow:!0,isSelected:!0},{value:"Dimension",title:"Dimension",isShow:!0,isSelected:!0},{value:"CopperRegion",title:"Copper Region",isShow:!0,isSelected:!0},{value:"Fill Region",title:"Fill Region",isShow:!0,isSelected:!0},{value:"Line",title:"Line",isShow:!0,isSelected:!0},{value:"Teardrop",title:"Teardrop",isShow:!0,isSelected:!0},{value:"D3Shell",title:"3D Shell",isShow:!0,isSelected:!0}]}var Uje=class extends qe{constructor(e){super(),this.parent=e,this._reuseRangeType="All",this._isRangeListShow=!1,this._viewItemList=[]}get reuseRangeType(){return this._reuseRangeType}set reuseRangeType(e){this._reuseRangeType=e,this.notify()}get isRangeListShow(){return this._isRangeListShow}set isRangeListShow(e){this._isRangeListShow=e,this.notify()}get viewItemList(){return this._viewItemList}set viewItemList(e){this._viewItemList=e,this.notify()}async initial(){let e=g2r(),i=(await of("usrDocTemplateManagerPrimitiveRangeSelectedList",()=>e.map(r=>r.value))).value;for(let r=0;r<e.length;r++){if(i.includes(e[r].value)){e[r].isSelected=!0;continue}e[r].isSelected=!1}this.viewItemList=e;let o=(await of("docTemplateManagerPrimitiveRangeSelectedType",()=>"All")).value;this.whenReuseRangeTypeChange(o||"All")}whenReuseRangeTypeChange(e){if(this.reuseRangeType=e,e==="All"){this.isRangeListShow=!1;return}if(e==="Custom"){this.isRangeListShow=!0;return}}whenReuseItemAllSelectionChange(e){let i=[];for(let o=0;o<this.viewItemList.length;o++)i.push({...this.viewItemList[o],isSelected:e});this.viewItemList=i}whenReuseRangeItemSelectChange(e){let i=[];for(let o=0;o<this.viewItemList.length;o++){if(this.viewItemList[o].value===e){i.push({...this.viewItemList[o],isSelected:!this.viewItemList[o].isSelected});continue}i.push({...this.viewItemList[o]})}this.viewItemList=i}getRangeItemList(){let e=[];if(this.reuseRangeType==="All"){for(let i=0;i<this.viewItemList.length;i++)e.push(this.viewItemList[i].value);return e}for(let i=0;i<this.viewItemList.length;i++)if(this.viewItemList[i].isSelected){e.push(this.viewItemList[i].value);continue}return e}async savePrimitiveRangeSelected(){Ks({usrDocTemplateManagerPrimitiveRangeSelectedList:this.viewItemList.filter(e=>e.isSelected).map(e=>e.value)},!1).then(()=>{Ks({docTemplateManagerPrimitiveRangeSelectedType:this.reuseRangeType},!1)})}};async function p4i(t){let e=new Qxt;return await e.initial(t),e}var Qxt=class extends Hb{constructor(){super(),this._dialogProps=null,this.libListModel=new Pje(this),this.componentSearchModel=new Oje(this),this.categoryModel=new Aje(this),this.componentTable=new Fje(this),this.reuseBlockViewModel=new jje(this),this.reuseOptionModel=new Uje(this),this._scene="NEW_PROJECT",this._isOnSearching=!1,this._isConfirmBtnDisabled=!0}set dialogProps(e){this._dialogProps=e}get dialogProps(){return this._dialogProps}get isOnSearching(){return this._isOnSearching}set isOnSearching(e){this._isOnSearching=e}get scene(){return this._scene}set scene(e){this._scene=e,this.notify()}get isConfirmBtnDisabled(){return this._isConfirmBtnDisabled}set isConfirmBtnDisabled(e){this._isConfirmBtnDisabled=e,this.notify()}async initial(e){this.dialogReady=!0,typeof e.scene<"u"&&(this.scene=e.scene),this.libListModel.initial(e),this.componentTable.initial(e),await this.reuseOptionModel.initial()}async initialStore(e){await this.libListModel.setInitial(Hs.Normal),await this.libListModel.freshInitLibList([bo.getInstance().usedId],this.libListModel.isFromProject,Hs.Normal),this.setInitLibSelectedByParam(),await this.whenLibSelectedChanged(!!this.dialogProps.initSelectedCategoryId)}async refreshLibList(){await this.libListModel.refreshLibListFromRemote()}propsUpdate(e){this.dialogProps=e,this.dialogProps.searchInputValue&&(this.componentSearchModel.searchValue=this.dialogProps.searchInputValue,this.componentSearchModel.isInSearchingStatus=!0,this.whenImmersedComponentSearchStatus())}triggerFromUpdate(e={}){}whenImmersedComponentSearchStatus(){if(this.componentSearchModel.searchValue.trim().length>128){this.searchValueLengthVerify();return}let e=this.libListModel.getSelectedTruthLibIds();this.isOnSearching=!0,this.categoryModel.recoverSelectToDefault(),this.componentTable.clearAllRemoteData(),F0(this,{kv:{facets:{}},targets:["componentTable"]}),this.componentTable.refreshComponentList(e[0],e[0],this.componentSearchModel.searchValue,this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]),i=>{i==="search"&&F0(this,{kv:{facets:this.componentTable.facets},targets:["libListModel"]})})}whenExitComponentSearchStatus(){let e=this.libListModel.getSelectedTruthLibIds();this.isOnSearching=!1,this.categoryModel.recoverSelectToDefault(),this.componentTable.clearAllRemoteData(),F0(this,{kv:{facets:{}},targets:["componentTable"]}),this.componentTable.refreshComponentList(e[0],e[0],"",this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}async whenCategorySelectedChanged(){this.isConfirmBtnDisabled=!0;let e=this.libListModel.getSelectedTruthLibIds();Ks({[Fpe]:this.categoryModel.renderSelectedIds[0]},!1),this.componentTable.clearAllRemoteData(),this.componentTable.refreshComponentList(e[0],e[0],this.componentSearchModel.searchValue,this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}async whenLibSelectedChanged(e=!1){this.categoryModel.clearCategoryList(),this.componentTable.clearAllRemoteData();let i=this.libListModel.getSelectedTruthLibIds();Ks({[Upe]:this.libListModel.selectedIds[0]},!1),e?(await this.categoryModel.refresh(i[0],i[0],this.libListModel),this.setInitCategorySelectedByParam(),F0(this,{kv:{facets:{},selectedLibIds:i},targets:["componentTable"]}),this.componentTable.refreshComponentList(i[0],i[0],this.componentSearchModel.isInSearchingStatus?this.componentSearchModel.searchValue:"",this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]),o=>{})):(await this.categoryModel.refresh(i[0],i[0],this.libListModel),F0(this,{kv:{facets:{},selectedLibIds:i},targets:["componentTable"]}),this.componentTable.refreshComponentList(i[0],i[0],this.componentSearchModel.isInSearchingStatus?this.componentSearchModel.searchValue:"",[],o=>{}))}whenComponentListPageChanged(){this.componentTable.clearAllRemoteData(),this.componentTable.refreshComponentList(this.libListModel.getSelectedTruthLibIds()[0],this.libListModel.getSelectedTruthLibIds()[0],this.componentSearchModel.isInSearchingStatus?this.componentSearchModel.searchValue:"",this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenComponentListSorted(e){this.hasClickedComponentItem=!1,this.componentTable.tableSelectedRowNumbers=[],this.componentTable.componentItemId=void 0}whenComponentListChange(e,i,o){o&&this.componentTable.sortTable(e,"$id",o)}async whenComponentListRowSelectedChanged(){var a,s;this.isConfirmBtnDisabled=!0,this.reuseBlockViewModel.isShowLoading=!0,this.reuseBlockViewModel.imageURL=null,this.reuseBlockViewModel.isShowTips=!1,this.reuseBlockViewModel.imageWrapperElementStyle={...this.reuseBlockViewModel.imageWrapperElementStyle,backgroundColor:"var(--bg-color-data-thumb)"};let e=Ft(this.componentTable.tableData,"uuid",this.componentTable.componentItemId);if(e.index<=-1){this.reuseBlockViewModel.isShowImage=!1,this.reuseBlockViewModel.isShowLoading=!1,this.reuseBlockViewModel.isShowTips=!0;return}let i=e.data;if(Je&&!i.project_detail){let l=await L6(i.path);i.project_detail=l.success&&await KU({uuid:i.uuid,path:i.uuid})}if(this.componentTable.componentItem=i,i.project_detail&&i.project_detail.branch_uuid){let{display_title:l}=i;if(l){this.scene==="NEW_PROJECT"&&(this.isConfirmBtnDisabled=!1);let{type:c,path:d}=l;c===xr.SCH?(this.reuseBlockViewModel.imageURL=await this.fetchSymbolThumbUrl(i),this.reuseBlockViewModel.imageURL||(this.reuseBlockViewModel.imageURL=_pe),this.reuseBlockViewModel.isShowImage=!0,this.reuseBlockViewModel.isShowTips=!1,this.reuseBlockViewModel.isShowLoading=!1):c===xr.SHEET?(this.reuseBlockViewModel.imageURL=await this.fetchSheetThumbUrl(i),this.reuseBlockViewModel.imageURL?(this.reuseBlockViewModel.isShowImage=!0,this.reuseBlockViewModel.isShowTips=!1):(this.reuseBlockViewModel.isShowImage=!1,this.reuseBlockViewModel.isShowTips=!0),this.reuseBlockViewModel.isShowLoading=!1):c===xr.PCB?(this.reuseBlockViewModel.imageURL=await this.fetchPCBThumbUrl(i),this.reuseBlockViewModel.imageURL?(this.reuseBlockViewModel.isShowImage=!0,this.reuseBlockViewModel.isShowTips=!1):(this.reuseBlockViewModel.isShowImage=!1,this.reuseBlockViewModel.isShowTips=!0),this.reuseBlockViewModel.isShowLoading=!1,xr.PCB===String(c)&&(this.isConfirmBtnDisabled=!1,this.reuseBlockViewModel.imageWrapperElementStyle={...this.reuseBlockViewModel.imageWrapperElementStyle,backgroundColor:"#000000"})):(this.reuseBlockViewModel.isShowTips=!0,this.reuseBlockViewModel.isShowLoading=!1)}return}i.isOshwHubData&&!i.isAddData&&i.display_title.type===xr.PRJ?i=await l4i(i):Je&&!i.isAddData&&i.display_title.type===xr.PRJ&&(i=await c4i(i)),this.componentTable.componentItem=i;let o=((a=i==null?void 0:i.attributes)==null?void 0:a.Symbol)||i.uuid,r=(i==null?void 0:i.docType)||(i==null?void 0:i.symbol_type),{display_title:n}=i;if(n){this.scene==="NEW_PROJECT"&&(this.isConfirmBtnDisabled=!1);let{type:l,path:c}=n;if(this.libListModel.isSelectedProject())this.reuseBlockViewModel.cbbSymbolPreview(i);else if(l===xr.SCH){let{schUuidToCbbSymbolDetailMap:d}=i;o=(s=d[o])==null?void 0:s.uuid,r=se.BLOCK_SYMBOL,o?this.reuseBlockViewModel.cbbSymbolPreview(i):(this.reuseBlockViewModel.isShowTips=!0,this.reuseBlockViewModel.isShowLoading=!1)}else[xr.PCB,xr.SHEET].includes(String(l))?(this.reuseBlockViewModel.imageURL=i.thumb,i.thumb?(this.reuseBlockViewModel.isShowImage=!0,this.reuseBlockViewModel.isShowTips=!1):(this.reuseBlockViewModel.isShowImage=!1,this.reuseBlockViewModel.isShowTips=!0),this.reuseBlockViewModel.isShowLoading=!1,xr.PCB===String(l)&&(this.isConfirmBtnDisabled=!1,this.reuseBlockViewModel.imageWrapperElementStyle={...this.reuseBlockViewModel.imageWrapperElementStyle,backgroundColor:"#000000"})):(this.reuseBlockViewModel.isShowTips=!0,this.reuseBlockViewModel.isShowLoading=!1)}}setInitLibSelectedByParam(){this.dialogProps&&typeof this.dialogProps.initSelectedLibId<"u"&&this.libListModel.cacheLibList.map(i=>i.id).indexOf(this.dialogProps.initSelectedLibId)>=0&&(this.libListModel.selectedIds=[this.dialogProps.initSelectedLibId])}setInitCategorySelectedByParam(){if(this.dialogProps){if(this.dialogProps.isNotExistSavedCategoryIdByLS){let e=Ft(this.categoryModel.renderCategoryList,"title",d4i);e.index>=0&&(this.categoryModel.renderSelectedIds=[String(e.data.id)]);return}if(typeof this.dialogProps.initSelectedCategoryId<"u"){this.categoryModel.categoryIds.indexOf(this.dialogProps.initSelectedCategoryId)>=0&&(this.categoryModel.renderSelectedIds=[this.dialogProps.initSelectedCategoryId]);return}}}async fetchSymbolThumbUrl(e){var l;let i=e.project_detail.uuid,o=e.project_detail.block_symbol||[],r=Ft(o,"project_uuid",i);if(r.index<=-1)return _pe;let n=C.apis.others.getImage;return n=n.replace("{projectUuid}",e.project_detail.uuid),n=n.replace("{branchUuid}",e.project_detail.branch_uuid),(l=(await Vje.default.ajax(n,{type:"GET",processData:!1,contentType:!1,headers:{path:e.project_detail.uuid}})).result.filter(c=>c.uuid===r.data.uuid)[0])==null?void 0:l.url}async fetchPCBThumbUrl(e){var l;let i=QTe(e.uuid),o=e.pcb||[],r=Ft(o,"uuid",i);if(r.index<=-1)return _pe;let n=C.apis.others.getImage;return n=n.replace("{projectUuid}",e.project_detail.uuid),n=n.replace("{branchUuid}",e.project_detail.branch_uuid),(l=(await Vje.default.ajax(n,{type:"GET",processData:!1,contentType:!1,headers:{path:e.project_detail.uuid}})).result.filter(c=>c.uuid===r.data.uuid)[0])==null?void 0:l.url}async fetchSheetThumbUrl(e){var l;let i=e.project_detail.uuid,o=e.schs||[],r=Ft(o,"project_uuid",i);if(r.index<=-1)return;let n=C.apis.others.getImage;return n=n.replace("{projectUuid}",e.project_detail.uuid),n=n.replace("{branchUuid}",e.project_detail.branch_uuid),(l=(await Vje.default.ajax(n,{type:"GET",processData:!1,contentType:!1,headers:{path:e.project_detail.uuid}})).result.filter(c=>c.uuid===r.data.uuid)[0])==null?void 0:l.url}},E3=(0,u4i.createContext)(void 0);var m4i=L(VZ()),Kxt=L(z()),{locals:b2r}=m4i.default;function y2r(t){let e=J(),i=`display-flex flex-nowrap ${b2r["component-search-section"]}`,o=(0,Hje.useContext)(E3);Ce(o.componentSearchModel);let r=(s,l)=>{o.componentSearchModel.searchValue=s},n=(s,l)=>{o.componentSearchModel.searchValue="",o.componentSearchModel.isInSearchingStatus&&(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,o.whenExitComponentSearchStatus())},a=(s,l)=>{o.componentSearchModel.searchValue?(o.componentSearchModel.isInSearchingStatus=!0,o.libListModel.isSearchStatus=!0,o.whenImmersedComponentSearchStatus()):(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,o.whenExitComponentSearchStatus())};return(0,Kxt.jsx)("section",{className:i,children:(0,Kxt.jsx)(Bm,{initShowValue:o.componentSearchModel.searchValue,placeholder:o.componentSearchModel.searchPlaceHolder,onUpdateInputValue:r,onClearInputValue:n,onConfirm:a})})}var h4i=Hje.default.memo(y2r);var Gje=L(Se());var f4i=L(VZ());var Zxt=L(z()),{locals:w2r}=f4i.default;function C2r(t){let e=J(),i=`${w2r["liblist-section"]}`,o=(0,Gje.useContext)(E3);Ce(o.libListModel);let r=o.libListModel.cacheLibList.map(s=>({value:s.id,text:String(s.title)})),n=o.libListModel.selectedIds.length?o.libListModel.selectedIds[0]:"";return(0,Zxt.jsx)("section",{className:i,children:(0,Zxt.jsx)(xt,{value:n,list:r,onChange:s=>{o.libListModel.selectedIds=[s],o.whenLibSelectedChanged()},searchable:!0})})}var g4i=Gje.default.memo(C2r);var Yje=L(Se());var b4i=L(VZ());var Jxt=L(z()),{locals:x2r}=b4i.default;function T2r(t){let e=J(),i=`${x2r["category-section"]}`,o=(0,Yje.useContext)(E3);Ce(o.categoryModel);let r=()=>{o.categoryModel.searchValue=""},n=a=>{o.categoryModel.renderSelectedIds=a,o.whenCategorySelectedChanged()};return(0,Jxt.jsx)("section",{className:i,children:(0,Jxt.jsx)(Gb,{isLock:!1,isVirtualList:!1,selectedIds:o.categoryModel.renderSelectedIds,categoryList:o.categoryModel.renderCategoryList,searchPlaceholder:o.categoryModel.searchPlaceHolder,searchValue:o.categoryModel.searchValue,selectedCategoriesAction:n,clearSearchInputAction:r,libItemInfo:o.libListModel.currentSelectLibItem,initCategoryActiveTab:o.categoryModel.requestTypes[0],ownerSelectValue:o.libListModel.getSelectedTruthLibIds()[0]})})}var y4i=Yje.default.memo(T2r);var SV=L(Se());var E4i=L(VZ());var bC=L(Se()),qxt=L(C4i());var Cre=L(Vi());function gC(t,e=window){t.preventDefault();let i=t.currentTarget,o;if(["IMG","SVG"].includes(t.target.tagName)?o=t.target:o=i.querySelector("img")||i.querySelector("svg"),i.getAttribute("dragging")||!o||(0,Cre.default)(o).css("display")==="none")return;let r=n=>{switch(n){case"recover":(0,Cre.default)(o).css({transform:"translate(0, 0) scale(1)",width:"100%",height:"100%",left:0,top:0});break;default:break}};Da.open({data:[{cmd:"recover",title:me.i18n("Recover")}],position:{x:t.pageX-5,y:t.pageY-5},onClick(n,a,s,l){r(n.cmdlink.join(":"))},onEnterConfirm(n,a,s){r(n.join(":"))},windowInstance:e})}function z2(t){let e=t.currentTarget,i;if(["IMG","SVG"].includes(t.target.tagName)?i=t.target:i=e.querySelector("img")||e.querySelector("svg"),!i||(0,Cre.default)(i).css("display")==="none")return;t.stopPropagation(),t.preventDefault();let o=i.offsetWidth||i.clientWidth,r=i.offsetHeight||i.clientHeight,n=i.offsetLeft||parseFloat(i.style.left)||0,a=i.offsetTop||parseFloat(i.style.top)||0,s=t.originalEvent?t.originalEvent.offsetX:t.offsetX-(t.currentTarget===t.target?n:0),l=t.originalEvent?t.originalEvent.offsetY:t.offsetY-(t.currentTarget===t.target?a:0),c=e.offsetWidth,d=e.offsetHeight,u=li.toFixed(d/20),p=li.toFixed(c/20),m=500*c,h=500*d,g=(t.originalEvent?t.originalEvent.deltaY:t.deltaY)>0?1/1.2:1.2,b=li.toFixed(Math.min(Math.max(p,g*o),m)),y=li.toFixed(Math.min(Math.max(u,g*r),h)),w=li.toFixed(n-(s*b/o-s)),x=li.toFixed(a-(l*y/r-l)),S={width:b,height:y,left:w,top:x};(0,Cre.default)(i).css(S)}function Wf(t,e=window){let i=t.currentTarget,o;if(["IMG","SVG"].includes(t.target.tagName)?o=t.target:o=i.querySelector("img")||i.querySelector("svg"),!o||(0,Cre.default)(o).css("display")==="none"||t.button!==2)return;let r=t.clientX,n=t.clientY,a=o.style.transform.match(/translate\((-*\w+)px,\s*(-*\w+)px\)/),s=a?Number(a[1]):0,l=a?Number(a[2]):0,c=Number(new Date);e.addEventListener("mousemove",d);function d(){let p=event,m=p.clientX-r,h=p.clientY-n,f=Number(new Date)-c;if(m<1&&h<1&&f<200)return;i.setAttribute("dragging","true"),i.style.cursor="grabbing";let g=o.style.transform.replace(/translate\((-*\w+px,*\s*-*\w*)p*x*\)/,function(b,y){let w=s+m,x=l+h;return`translate(${w}px,${x}px)`});(0,Cre.default)(o).css("transform",g)}e.addEventListener("mouseup",u);function u(){i&&(i.onmousemove=null,setTimeout(()=>{i.removeAttribute("dragging"),i.style.cursor="auto",i=null,o=null,e.removeEventListener("mousemove",d),e.removeEventListener("mouseup",u)},10))}}var ZTe=new Map;function x4i(t){let i=t.currentTarget.getAttribute("id"),o=ZTe.get(i);o.hasMove=!1,o.hasMousedown=!0,o.mousedownClientX=t.clientX,o.mousedownClientY=t.clientY,t.stopPropagation(),t.preventDefault(),+t.button==2&&Wf(t)}function T4i(t){let i=t.currentTarget.getAttribute("id"),o=ZTe.get(i);o&&o.hasMousedown&&(o.hasMove=!0)}function S4i(t){let i=t.currentTarget.getAttribute("id"),o=ZTe.get(i);o&&(!o.hasMove&&+t.button==2&&o.openContextmenuHandler&&o.openContextmenuHandler(t),o.hasMove=!1,o.hasMousedown=!1)}function M4i(t,e){let i=t.getAttribute("id");if(!i)throw new Error("Host element missing unique ID by SymbolViews.");let o={hasMove:!1,hasMousedown:!1,mousedownClientX:-1,mousedownClientY:-1,openContextmenuHandler:e};ZTe.set(i,o),t.addEventListener("mousedown",x4i,!1),t.addEventListener("mousemove",T4i,!1),t.addEventListener("mouseup",S4i,!1)}function I4i(t){let e=t.getAttribute("id");t.removeEventListener("mousedown",x4i),t.removeEventListener("mousemove",T4i),t.removeEventListener("mouseup",S4i),e&&ZTe.delete(e)}var L4i=z2.bind(void 0);function Qje(t){t.addEventListener("wheel",L4i,!1)}function Kje(t){t.removeEventListener("wheel",L4i)}async function v4i(t,e){return new Promise(i=>{let o=new Image;o.onload=function(r){i({width:e,height:o.height*(e/o.width)})},o.onerror=function(r){i({width:0,height:0})},o.src=t})}var Ov=L(z()),{locals:hj}=qxt.default;function M2r(t,e){let{$ref:i={},isShowImage:o=!1,imageURL:r="",isShowTips:n=!1,tipsText:a="",initSetShowLoading:s=!1,enableThumbImageScalable:l=!0,enableThumbImageDraggable:c=!0,containerStyle:d={},imageWrapperElementStyle:u={},onClickTips:p,onImageSectionContextmenu:m}=t,[h,f]=(0,bC.useState)(!!s),[g,b]=(0,bC.useState)({...l_(),initHeight:0,initWidth:0}),y=(0,bC.useRef)(g);y.current=g;let w=(0,bC.useRef)(!0),x=(0,bC.useRef)({x:0,y:0}),S=(0,bC.useRef)(null),[T]=(0,bC.useState)(Mt()),M=`display-flex flex-direct-column flex-main-axis-center ${hj.container}`,I=`display-flex flex-lateral-axis-center flex-main-axis-center ${hj["viewcontent-container"]}`,A=`display-flex flex-lateral-axis-center flex-main-axis-center ${hj["viewcontent-wrapper"]}`,D=`${hj["areawindow-loading"]} ${h?hj["areawindow-loading-show"]:""}`,E=`rotation ${hj["areawindow-loading-content"]}`,N=`${hj["gray-mask-wrapper"]} ${n?hj["mask-show"]:hj["mask-hide"]}`,R=O=>{p&&p(O)},v=O=>{O.preventDefault(),window.setTimeout(()=>{w.current&&m&&m(O.clientX,O.clientY)})},k=O=>{O.preventDefault(),w.current=!1,x.current.x=O.clientX,x.current.y=O.clientY},P=O=>{O.preventDefault(),x.current.x===O.clientX&&x.current.y===O.clientY&&(w.current=!0)};return(0,bC.useImperativeHandle)(i,()=>({recoverImageSizeView(){let _=document.getElementById(T).querySelector("img");_&&(y.current.initWidth!==0&&(_.style.width=`${y.current.initWidth}px`),y.current.initHeight!==0&&(_.style.height=`${y.current.initHeight}px`),_.style.left="0",_.style.top="0",_.style.transform="translate(0, 0) scale(1)")}})),(0,bC.useEffect)(()=>{f(!!s)},[s]),(0,bC.useEffect)(()=>{if(S.current){let O=S.current.getBoundingClientRect().toJSON(),_=S.current.querySelector("img");_&&(_.style.transform="translate(0, 0) scale(1)",_.src&&v4i(_.src,O.width).then(j=>{b({...O,initHeight:j.height,initWidth:j.width})}))}},[o,r]),(0,bC.useEffect)(()=>{let O;return S.current&&(O=document.getElementById(T),O&&(c&&M4i(O,_=>{Da.open({data:[{title:me.i18n("Recover"),cmd:"RECOVER"}],position:{x:_.clientX,y:_.clientY},optional:{imageWrapperElementId:T},onClick(j,B,V,G){let{imageWrapperElementId:Q}=V,q=document.getElementById(Q).querySelector("img");q&&j.cmdlink[0]==="RECOVER"&&(q.style.width=`${y.current.initWidth}px`,q.style.height=`${y.current.initHeight}px`,q.style.left="0",q.style.top="0",q.style.transform="translate(0, 0) scale(1)")},onEnterConfirm(j,B,V){let{imageWrapperElementId:G}=V,H=document.getElementById(G).querySelector("img");H&&j[0]==="RECOVER"&&(H.style.width=`${y.current.initWidth}px`,H.style.height=`${y.current.initHeight}px`,H.style.left="0",H.style.top="0",H.style.transform="translate(0, 0) scale(1)")}})}),l&&Qje(O))),()=>{O&&(c&&I4i(O),l&&Kje(O),O=void 0)}},[]),(0,Ov.jsxs)("section",{style:{width:"100%",height:"100%"},children:[(0,Ov.jsx)("style",{children:String(qxt.default)}),(0,Ov.jsxs)("div",{className:M,style:{...d},children:[(0,Ov.jsx)("div",{className:N,children:n?(0,Ov.jsx)("div",{className:hj["gray-mask-tips"],onClick:R,children:a}):null}),(0,Ov.jsx)("div",{className:I,children:(0,Ov.jsx)("div",{id:T,"data-tagitem":"image-wrapper",className:A,ref:S,onContextMenu:v,onMouseDownCapture:k,onMouseUpCapture:P,style:{...u},children:o&&r?(0,Ov.jsx)("img",{style:{transform:"translate(0, 0) scale(1)",width:"100%"},src:r,alt:""}):null})}),(0,Ov.jsx)("div",{className:D,children:(0,Ov.jsx)("div",{className:E,children:(0,Ov.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})]})]})}var D4i=bC.default.memo(M2r);var I2r=D4i,Zje=I2r;var N4i=L(z()),{locals:mua}=E4i.default;function L2r(t){let e=J(),i=(0,SV.useContext)(E3);Ce(i.reuseBlockViewModel),Ce(i.componentTable);let o=(0,SV.useRef)({resetDelay:300,clickCount:0,clickTimer:null}),r=(0,SV.useRef)(null),n=a=>{if(a.stopPropagation(),window.clearTimeout(o.current.clickTimer),o.current.clickCount++,o.current.clickCount>=2){o.current.clickCount=0;let s=i.libListModel.getSelectedItem(),l=i.componentTable.getSelectedItem();s&&s.key!==Yt.OSHWHUB?Rv(l.project_detail.uuid,!0):MV(l.projectPath||l.project_detail.projectPath)}o.current.clickTimer=window.setTimeout(()=>{o.current.clickCount=0},o.current.resetDelay)};return(0,SV.useEffect)(()=>{r&&r.current.recoverImageSizeView()},[i.componentTable.tableSelectedRowNumbers]),(0,N4i.jsx)(Zje,{$ref:r,enableThumbImageScalable:!0,enableThumbImageDraggable:!0,imageURL:i.reuseBlockViewModel.imageURL,tipsText:i.reuseBlockViewModel.tipsText,initSetShowLoading:i.reuseBlockViewModel.isShowLoading,isShowTips:i.reuseBlockViewModel.isShowTips,isShowImage:i.reuseBlockViewModel.isShowImage,imageWrapperElementStyle:i.reuseBlockViewModel.imageWrapperElementStyle,onClickTips:n})}var A4i=SV.default.memo(L2r);var yC=L(Se());var G4i=L(VZ());var cA=L(Se());var k4i={middleDisplaySize:3,sideDislpaySize:1,gDisabled:!1,pageNumber:1,countTotal:1,cutSize:10,cutSizeOptions:[10,30,50],onPageNumberChange:void 0,onPageSizeChange:void 0};function JTe(t,e=1,i=1){let o=parseInt(String(t));return o<e?o=e:o>i&&(o=i),o}var R4i=L(qTe()),Vpe=L(z()),{locals:O4i}=R4i.default;function _4i(t){let e=O4i["page-break-wrapper"],i=O4i["page-content"];return(0,Vpe.jsx)("li",{className:e,children:(0,Vpe.jsx)("svg",{className:i,viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:(0,Vpe.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,Vpe.jsx)("g",{fill:"currentColor",fillRule:"nonzero",children:(0,Vpe.jsx)("path",{d:"M4,7 C4.55228,7 5,7.44772 5,8 C5,8.55229 4.55228,9 4,9 C3.44772,9 3,8.55229 3,8 C3,7.44772 3.44772,7 4,7 Z M8,7 C8.55229,7 9,7.44772 9,8 C9,8.55229 8.55229,9 8,9 C7.44772,9 7,8.55229 7,8 C7,7.44772 7.44772,7 8,7 Z M12,7 C12.5523,7 13,7.44772 13,8 C13,8.55229 12.5523,9 12,9 C11.4477,9 11,8.55229 11,8 C11,7.44772 11.4477,7 12,7 Z"})})})})})}var j4i=L(qTe()),Hpe=L(z()),{locals:IV}=j4i.default;function Gpe(t){let{pageNumber:e,isSelected:i,inputValue:o,pageTotal:r,canInput:n,simplify:a,inputJump:s,inputChangeAction:l,confirmAction:c}=t,d=i?`${IV["page-item-wrapper"]} ${IV["page-item-wrapper-selected"]}`:`${IV["page-item-wrapper"]}`,u=IV["page-content"],p=IV["page-input-wrapper"],m=`${IV["page-number-input"]} ${a?IV["page-number-input-simp"]:""}`,h=`${IV["page-number-text"]} ${a?IV["page-number-input-simp"]:""}`,f=y=>{c(y,e)},g=y=>{let w=y.target;w.select&&w.select()},b=y=>{y.keyCode===13&&c(y,JTe(o,1,r))};return n&&i?(0,Hpe.jsx)("li",{className:p,children:s?(0,Hpe.jsx)("input",{type:"number",className:m,value:o,onChange:l,onFocus:g,onKeyUp:b,"data-test":"currentPage-box"}):(0,Hpe.jsx)("span",{className:h,children:o})}):(0,Hpe.jsx)("li",{className:d,onClick:f,children:(0,Hpe.jsx)("span",{className:u,children:e})})}var fj=L(z());function B4i(t){let{pageTotal:e,middleDisplaySize:i,sideDislpaySize:o,pageNumber:r,simplify:n}=t,a=[],s=e||1;if(n)a.push((0,fj.jsx)(Gpe,{canInput:!0,isSelected:!0,...t,pageNumber:r},1));else if(s<=i)for(let l=1;l<=s;l++)a.push((0,fj.jsx)(Gpe,{canInput:!1,isSelected:r===l,...t,pageNumber:l},l));else{let l=r-Math.floor(i/2),c=r+Math.floor(i/2),d=o,u=s-o+1;d+1>=l&&(c=o+i+1),u-1<=c&&(l=s-(o+i));let p=!0;for(let m=1;m<=s;m++){if(m<=d){p=!0,a.push((0,fj.jsx)(Gpe,{canInput:!0,isSelected:r===m,...t,pageNumber:m},m));continue}if(m>=u){p=!0,a.push((0,fj.jsx)(Gpe,{canInput:!0,isSelected:r===m,...t,pageNumber:m},m));continue}if(m>=l&&m<=c){p=!0,a.push((0,fj.jsx)(Gpe,{canInput:!0,isSelected:r===m,...t,pageNumber:m},m));continue}p&&(p=!1,a.push((0,fj.jsx)(_4i,{},m)))}}return(0,fj.jsx)(fj.Fragment,{children:a})}var z4i=L(Se());var F4i=L(qTe());var Xxt=L(z()),{locals:v2r}=F4i.default;function U4i(t){let e=J(),{selectValue:i,optionList:o,selectChangeAction:r}=t,n=v2r["page-select-wrapper"],a=(0,z4i.useMemo)(()=>o.map(s=>({text:`${s} ${e("/page")}`,value:s})),[me.curr]);return(0,Xxt.jsx)("li",{className:n,children:(0,Xxt.jsx)(xt,{list:a,style:{height:"20px"},value:i,onChange:r})})}var $xt=L(qTe());var u4=L(z()),{locals:gj}=$xt.default;function E2r(t){let e=J(),i={...k4i,...t},{middleDisplaySize:o=3,sideDislpaySize:r=1,pageNumber:n,countTotal:a,cutSize:s,gDisabled:l=!1,cutSizeOptions:c=[],simplify:d=!1,inputJump:u=!0,onPageNumberChange:p,onPageSizeChange:m}=i,f=!!c.find(Q=>Q===s)?s:c[0],g=Math.ceil(a/f),b=JTe(n,1,g||1),[y,w]=(0,cA.useState)(a),[x,S]=(0,cA.useState)(f),[T,M]=(0,cA.useState)(g),[I,A]=(0,cA.useState)(b),[D,E]=(0,cA.useState)(b),N=`${gj["pagination-container"]} ${l?gj["pagination-g-disabled"]:""}`,R=`${gj["page-jump-wrapper"]} ${gj["page-prevjump-wrapper"]} ${I<=1?gj["page-jump-wrapper-disabled"]:""}`,v=`${gj["page-jump-wrapper"]} ${gj["page-nextjump-wrapper"]} ${I>=T?gj["page-jump-wrapper-disabled"]:""}`,k=gj["page-totalcount-wrapper"],P=gj["page-svg"];(0,cA.useEffect)(()=>{S(f)},[f]),(0,cA.useEffect)(()=>{if(n===I)return;let Q=JTe(n,1,T);A(Q),E(Q),p&&p("REFRESH_PAGE",Q)},[n]),(0,cA.useEffect)(()=>{a!==y&&(w(a),M(Math.ceil(a/x)),A(1),E(1),p&&p("REFRESH_PAGE",1))},[a]);let O=(Q,H)=>{H.stopPropagation(),H.preventDefault();let q=Q||1;S(q),M(Math.ceil(a/q)),A(1),E(1),m&&m(q),p&&p("REFRESH_PAGE",1)},_=Q=>{Q.stopPropagation(),Q.preventDefault(),I>0&&(A(I-1),E(I-1),p&&p("PREV_JUMP",I-1))},j=Q=>{Q.stopPropagation(),Q.preventDefault(),I<=T-1&&(A(I+1),E(I+1),p&&p("NEXT_JUMP",I+1))},B=(Q,H)=>{A(H),E(H),p&&p("TARGET_JUMP",H)},V=Q=>{let H=+Q.target.value||1;E(H)},G=()=>{let Q=`page-content page-total-content ${d?"page-total-content-lengthen":""}`;return d?(0,u4.jsx)("li",{className:k,children:(0,u4.jsxs)("span",{className:Q,children:[(0,u4.jsxs)("span",{"data-test":"{0} record(s)",children:[e("Total")," ",y," ",e("Items")]})," ","|"," ",(0,u4.jsxs)("span",{"data-test":"Total {0} page(s)",children:[T," ",e("pages")]})]})}):(0,u4.jsx)("li",{className:k,children:(0,u4.jsxs)("span",{className:Q,"data-test":"{0} record(s)",children:[e("Total")," ",y]})})};return(0,u4.jsxs)("section",{style:{width:"fit-content"},children:[(0,u4.jsx)("style",{children:String($xt.default)}),(0,u4.jsxs)("ul",{className:N,children:[(0,u4.jsx)("li",{onClick:_,className:R,"data-test":"toPrev",children:(0,u4.jsx)("svg",{className:P,viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"200",height:"200",children:(0,u4.jsx)("path",{d:"M546.133333 533.333333L256 243.2l29.866667-29.866667 320 320L285.866667 853.333333l-29.866667-29.866666 290.133333-290.133334zM725.333333 213.333333h42.666667v640h-42.666667V213.333333z",fill:"var(--font-color-input)"})})}),(0,u4.jsx)(B4i,{inputJump:u,inputValue:D,pageTotal:T,pageNumber:I,middleDisplaySize:o,sideDislpaySize:r,simplify:d,inputChangeAction:V,confirmAction:B}),(0,u4.jsx)("li",{onClick:j,className:v,"data-test":"toNext",children:(0,u4.jsx)("svg",{className:P,viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"200",height:"200",children:(0,u4.jsx)("path",{d:"M546.133333 533.333333L256 243.2l29.866667-29.866667 320 320L285.866667 853.333333l-29.866667-29.866666 290.133333-290.133334zM725.333333 213.333333h42.666667v640h-42.666667V213.333333z",fill:"var(--font-color-input)"})})}),G(),(0,u4.jsx)(U4i,{selectValue:x,optionList:c,selectChangeAction:O})]})]})}var V4i=cA.default.memo(E2r);var A2r=V4i,cp=A2r;function H4i(t,e){return t+WTe+e}var bj=L(z()),{locals:N2r}=G4i.default;function k2r(t){let e=J(),i=(0,yC.useRef)(null),o=`display-flex flex-direct-column flex-main-axis-stretch ${N2r["table-section"]}`,r=(0,yC.useContext)(E3);Ce(r.componentTable),Ce(r.libListModel);let n=(0,yC.useRef)(null),a=(0,yC.useRef)(null),[s,l]=(0,yC.useState)(100),c=(0,yC.useMemo)(()=>r.componentTable.createTabeColsProfile().map(b=>({...b,name:e(b.name)})),[r.libListModel.selectedIds]),d=(0,yC.useCallback)(()=>{Yn(()=>{if(!n.current)return;let b=n.current.getBoundingClientRect();n.current.style.width="100%",l(b.height)},100)},[]),u=b=>{window.clearTimeout(i.current),i.current=window.setTimeout(()=>{let{row:y,selectedRowNumbers:w,tableData:x=[]}=b,S=x[w[0]];!S||y.$id!==S.$id||(r.hasClickedComponentItem=!0,r.componentTable.tableSelectedRowNumbers=w,r.componentTable.componentItemId=S.uuid,r.whenComponentListRowSelectedChanged())},1/60)},p=(b,y)=>{r.componentTable.pageNumber!==y&&(r.componentTable.pageNumber=+y,r.whenComponentListPageChanged())},m=b=>{r.componentTable.pageSize=+b,Vg("table",b),r.whenComponentListPageChanged()},h=(b,y,w)=>{window.clearTimeout(i.current);let x=[...r.componentTable.tableData];if(b==="Expand"){x.splice(w,0,...y.map(S=>({...S,uuid:H4i(S.uuid,"uni_"+Mt())}))),r.componentTable.tableData=x;return}if(b==="Collapse"){x.splice(w,y.length),r.componentTable.tableData=x;return}},f=b=>{Yn(()=>{r.whenComponentListSorted(b)})},g=(b,y,w)=>{r.whenComponentListChange(b,y,w)};return(0,yC.useEffect)(()=>(d(),window.addEventListener("resize",d),()=>{window.removeEventListener("resize",d)}),[]),(0,yC.useEffect)(()=>{a.current.refresh()},[r.componentTable.tableData]),(0,bj.jsx)("section",{className:o,children:(0,bj.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-stretch",style:{width:"100%",height:"100%",position:"relative",overflowY:"hidden",overflowX:"auto"},children:[(0,bj.jsx)("div",{ref:n,style:{height:"100%",width:"100%",overflowY:"hidden",overflowX:"auto"},children:(0,bj.jsx)(xi,{ref:a,index:"uuid",border:!0,isShiftSelect:!1,isCtrlSelect:!1,height:s,columns:c,stockade:!1,moveAble:!0,showStatus:!0,enableWindowResizeHandler:!1,openHeadContentMenu:!0,showCustomHeadSettingOnHeadContextmenu:!1,rows:[...r.componentTable.tableData],onClick:u,onToggleExpand:h,onChange:g,onSort:f,selectedRowNumbers:r.componentTable.tableSelectedRowNumbers,openVirtualScroll:!1,searchValue:r.isOnSearching&&r.componentSearchModel.searchValue?r.componentSearchModel.searchValue:"",statusNode:(0,bj.jsx)("div",{style:{lineHeight:"50px",textAlign:"center"},children:(0,bj.jsx)("span",{children:e(r.componentTable.componentListLoadStatus)})})})}),(0,bj.jsx)("div",{style:{width:"100%",height:"32px",overflow:"hidden",display:"flex",justifyContent:"flex-end",alignContent:"center",alignItems:"center",textAlign:"right",padding:"5px 5px 0 5px"},children:(0,bj.jsx)(cp,{simplify:!0,inputJump:!1,pageNumber:r.componentTable.pageNumber,countTotal:r.componentTable.totalCount,cutSize:r.componentTable.pageSize,cutSizeOptions:r.componentTable.cutSizeOptions,onPageNumberChange:p,onPageSizeChange:m,gDisabled:r.componentTable.paginationDisabled})})]})})}var Y4i=yC.default.memo(k2r);var qje=L(Se());var W4i=L(VZ());var Qf=L(z()),{locals:P2r}=W4i.default;function O2r(t){let e=J(),i=`display-flex flex-nowrap ${P2r["reuse-option-section"]}`,o=(0,qje.useContext)(E3);Ce(o.reuseOptionModel);let r=c=>{let u=c.target.value;o.reuseOptionModel.whenReuseRangeTypeChange(u)},n=()=>{o.reuseOptionModel.whenReuseItemAllSelectionChange(!0)},a=()=>{o.reuseOptionModel.whenReuseItemAllSelectionChange(!1)},s=c=>{let u=c.target.value;o.reuseOptionModel.whenReuseRangeItemSelectChange(u)},l=()=>(0,Qf.jsxs)(Qf.Fragment,{children:[(0,Qf.jsxs)("div",{style:{paddingBottom:"2px",marginTop:"8px"},children:[(0,Qf.jsx)(Me,{style:{marginRight:"5px"},onClick:n,children:"Select All"}),(0,Qf.jsx)(Me,{onClick:a,children:"Select None"})]}),(0,Qf.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(7, 14%)"},children:o.reuseOptionModel.viewItemList.map((c,d)=>(0,Qf.jsx)("div",{style:{paddingRight:"10px",paddingTop:"5px",paddingBottom:"5px"},children:(0,Qf.jsxs)("label",{style:{cursor:"pointer"},children:[(0,Qf.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"reuseRangeItem",name:"reuseRangeItem"+d,type:"checkbox",value:c.value,onChange:s,checked:c.isSelected,disabled:!1},d),(0,Qf.jsx)("span",{title:e(c.title),i18n:c.title,"data-test":c.title,style:{verticalAlign:"sub",userSelect:"none"},children:e(c.title)})]})}))})]});return(0,Qf.jsxs)("section",{className:i,children:[(0,Qf.jsxs)("div",{children:[(0,Qf.jsxs)("span",{title:e("Reuse Template Content"),"data-test":"Reuse Template Content",i18n:"Reuse Template Content",style:{paddingRight:"8px"},children:[e("Reuse Template Content"),":"]}),(0,Qf.jsxs)("label",{style:{padding:"5px 0",cursor:"pointer"},children:[(0,Qf.jsx)("input",{"data-input-type":"radio","data-attritem-input":"reuseRangeType",name:"reuseRangeType1",type:"radio",value:"All",onChange:r,checked:o.reuseOptionModel.reuseRangeType==="All",disabled:!1}),(0,Qf.jsx)("span",{title:e("All"),i18n:"All","data-test":"All",children:e("All")})]}),(0,Qf.jsxs)("label",{style:{padding:"5px 0",marginLeft:"16px",cursor:"pointer"},children:[(0,Qf.jsx)("input",{"data-input-type":"radio","data-attritem-input":"reuseRangeType",name:"reuseRangeType2",type:"radio",value:"Custom",onChange:r,checked:o.reuseOptionModel.reuseRangeType==="Custom",disabled:!1}),(0,Qf.jsx)("span",{title:e("Custom"),i18n:"Custom","data-test":"Custom",children:e("Custom")})]})]}),o.reuseOptionModel.reuseRangeType==="Custom"?(0,Qf.jsx)(l,{}):null]})}var Q4i=qje.default.memo(O2r);var kT=L(z());function R2r(t){let e=(0,K4i.useContext)(E3);return Ce(e),(0,kT.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-between flex-lateral-axis-stretch flex-nowrap",style:{width:"100%",overflow:"hidden"},children:[(0,kT.jsx)(h4i,{}),(0,kT.jsxs)("div",{className:"display-flex flex-nowrap flex-lateral-axis-stretch",style:{height:"348px"},children:[(0,kT.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-between flex-lateral-axis-stretch flex-nowrap",style:{width:"250px",flexShrink:0},children:[(0,kT.jsx)("div",{style:{padding:"0 0 5px 0",height:"30px",flexShrink:"0"},children:(0,kT.jsx)(g4i,{})}),(0,kT.jsx)("div",{style:{padding:"0 0",height:"calc(100% - 30px)",flexShrink:"0"},children:(0,kT.jsx)(y4i,{})})]}),(0,kT.jsx)("div",{style:{width:"calc(100% - 250px - 250px)",flexShrink:0},children:(0,kT.jsx)("div",{style:{width:"100%",height:"100%"},children:(0,kT.jsx)(Y4i,{})})}),(0,kT.jsx)("div",{style:{width:"250px",height:"340px",flexShrink:0,display:"flex",justifyContent:"center",alignContent:"center",alignItems:"center",flexWrap:"nowrap",border:"1px solid var(--border-color-panel-divider)",backgroundColor:"#e0e0e0"},children:(0,kT.jsx)(A4i,{})})]}),e.scene==="NEW_PCB"?(0,kT.jsx)(Q4i,{}):null]})}var Z4i=R2r;var J4i=L(Se());var LV=L(z());function q4i(t){let{handleBtnEvent:e}=t,i=(0,J4i.useContext)(E3);return Ce(i),(0,LV.jsxs)(LV.Fragment,{children:[i.scene==="NEW_PCB"?(0,LV.jsx)(Me,{style:{marginRight:"8px"},onClick:()=>e("empty_pcb"),children:"New without Template"}):null,(0,LV.jsx)(Me,{style:{marginRight:"8px"},onClick:()=>e("new_tpl"),children:"New template"}),(0,LV.jsx)(Me,{disabled:i.isConfirmBtnDisabled,type:"primary",style:{marginRight:"8px"},onClick:()=>e("confirm"),children:"Confirm"}),(0,LV.jsx)(Me,{onClick:()=>e("cancel"),children:"Cancel"})]})}var RS=L(z()),{locals:Xje}=$je.default,X4i=null,_2r=t=>{let e=J(),{dialogWidth:i,dialogHeight:o,containerId:r,dialogId:n,onDialogOpen:a,onDialogCancel:s,onDialogClose:l,onDialogConfirm:c,onDialogClosed:d}=t,[u,p]=(0,WZ.useState)(null),m=(0,WZ.useRef)(null);m.current=u;let h=`pop-content-wrapper display-flex flex-nowrap ${Xje["main-container"]}`,f=`${Xje["view-loading-wrapper"]}`,g=`${Xje["view-loading"]}`,b=`rotation ${Xje["view-loading-rotation"]}`,y=async w=>{if(w==="confirm"||w==="new_tpl"||w==="empty_pcb"){let x=u.componentTable.getReuseBlockFullComponentItem(u.componentTable.componentItemId);if(w==="confirm"&&m.current.scene==="NEW_PCB"&&m.current.reuseOptionModel.savePrimitiveRangeSelected(),(c?await c({action:w,stamp:new Date().getTime(),path:m.current.libListModel.getSelectedTruthLibIds()[0],reuseBlockFullComponentItem:x,componentItem:m.current.componentTable.componentItem,rangeItemList:m.current.reuseOptionModel.getRangeItemList()}):!0)===!1)return;l&&l(),le.close(r);return}w==="cancel"&&s&&s(),await oo({action:w,dialogId:n,formData:{}}),l&&l(),le.close()};return(0,WZ.useLayoutEffect)(()=>{window.clearTimeout(X4i),X4i=window.setTimeout(()=>{p4i(t).then(async w=>{await w.propsUpdate(t),await w.initialStore(t),w.triggerFromUpdate({}),p(w),a&&a()})},30)},[]),(0,WZ.useEffect)(()=>()=>{d&&d()},[]),u?(0,RS.jsxs)("div",{className:"pop-content-container",style:{height:o+"px"},children:[(0,RS.jsx)("style",{children:String($je.default)}),(0,RS.jsxs)(E3.Provider,{value:u,children:[(0,RS.jsx)("div",{className:h,children:(0,RS.jsx)(Z4i,{...t})}),(0,RS.jsx)("div",{className:"pop-footer-wrapper",children:(0,RS.jsx)(q4i,{handleBtnEvent:y})})]})]}):(0,RS.jsxs)("div",{className:"pop-content-container",children:[(0,RS.jsx)("style",{children:String($je.default)}),(0,RS.jsx)("div",{className:f,children:(0,RS.jsx)("div",{className:g,children:(0,RS.jsx)("div",{className:b,children:(0,RS.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})]})},$4i=_2r;var t3i=L(z());async function e3i(t,e){let i=bt[e],{dialogTitle:o}=t,{containerId:r,title:n,width:a,height:s,closed:l}=i;return le.open({id:r,title:o||n,width:a,height:s+60,closed:l,esc:!0,folded:!1,children:(0,t3i.jsx)($4i,{containerId:r,dialogId:t.dialogId,...t,dialogWidth:a,dialogHeight:s})}),le}async function eBe(t){return await ii("documentTemplateManager",{...t})}var Hg=L(Se());var Tre=L(Se());var xre=L(z()),j2r=t=>{let{onChange:e}=t,i=J(),[o,r]=(0,Tre.useState)(""),[n,a]=(0,Tre.useState)([]);return(0,Tre.useLayoutEffect)(()=>{wd().then(({libPath:s})=>{let l=s.map(c=>({value:c,text:c}));r(s[0]),a(l)})},[]),(0,Tre.useEffect)(()=>{e&&e(o)},[o,e]),(0,xre.jsxs)("tr",{style:{display:"flex"},children:[(0,xre.jsx)("td",{style:Kc,"data-test":"Path",title:i("Path"),children:i("Path")}),(0,xre.jsx)("td",{style:{display:"flex",alignItems:"center",width:"100%"},children:(0,xre.jsx)("div",{style:{display:"flex",height:"24px",width:"81%",position:"relative"},children:(0,xre.jsx)(xt,{value:o,list:n,onChange:s=>r(s)})})})]})},Ype=j2r;async function Wa(t,e){let i=t.uuid,o=yr(t),r;if(t.attributes)r=1;else if(t.cbb_project)o=i,r=4;else if(t.docType)switch(t.docType){case ve.FOOTPRINT:{r=3;break}case ve.PCBLIB3D:{r=5;break}case ve.BLOCK_SYMBOL:{r=4;break}case ve.PANEL_LIB:{r=6;break}case ve.NGSPICE_MODEL:case ve.SIMULIDE_MODEL:{r=7;break}default:if(Rwe(t.docType)){r=2;break}else return}else return;await p4(i,o,r,e)}async function p4(t,e,i,o){e!==C.currentProject.projectId&&await C.messageBus.rpcCall(Ei.OTHER.COMPONENT_LOG,{uuid:t,path:e,lib_type:i,operate_type:o})}async function i3i(t,e,i){await C.messageBus.rpcCall(Ei.OTHER.COMPONENT_LOG,{uuid:t,path:e,lib_type:4,operate_type:i})}var o3i=async t=>{let{owner:e,description:i,tags:o,rect:r,rectId:n,tabId:a}=t,s=t.title;if(s=s.trim(),(await C.messageBus.rpcCall("notLegalTitle",[s])).message||je())return;if(!Je&&!await tj()||await Wpe()){De({type:"error",msg:"No permission or project does not exist"});return}let{resSchTitle:c,resPcbTitle:d,resBoardTitle:u}=(await C.messageBus.rpcCall("getAllTitle")).message,p=s.toLocaleLowerCase();c=c.map(f=>f.toLocaleLowerCase()),d=d.map(f=>f.toLocaleLowerCase());let m={docType:se.BLOCK_SYMBOL,title:s,owner:e||_o(),path:C.currentProject.projectId,description:i,tags:o},h=Object.assign({new_prj:!1,project:C.currentProject.projectId,createBlockSymbol:!0,createBoard:!u.includes(s),createSchematic:!c.includes(p),createPcb:!d.includes(p)},Gc.status?{createSchematic:!1}:{});await C.messageBus.rpcCall("createCbbSymbol",{data:m,options:h,rect:r,rectId:n}),x1("cbb",!0),Ho.setTopBarItemChecked("toggle(select)"),le.close("create-cbb-project-dialog"),he.setTabUnSaved(he.getActiveTab(),!0)},tBe=async(t,e,i=!1)=>{var f;let{uuid:o,project:r}=t,{name:n,owner:a,path:s,description:l=""}=r,c=(f=t.owner)==null?void 0:f.uuid;Pl("12",o,!0);let d=[],u={pcb:{},schPage:{},blockSymbol:{}},m=await f7e({uuid:o,callback:async()=>{let g=(await C.messageBus.rpcCall("createNew_InSCH",{cmd:"new_board",args:{projectId:o,new_prj:!1,isCbb:!0,title:n,isBlankPrj:!0}})).message,{message:b}=await C.messageBus.rpcCall(Og.DRAW,{uuid:o,data:{title:n,useTemplate:!0},options:Object.assign({createBlockSymbol:!0},Gc.status?{createSchematic:!1}:{})});if(g&&b.success){let{blockSymbol:y}=b.result,{sheet:w,pcb:x}=g;u.blockSymbol=y,u.pcb=x,u.schPage=w,p4(b.result.projectId,b.result.projectId,4,1)}return{success:!0}}});_s(c,"cbb"),le.close("create-cbb-project-dialog");let h=he.getFilterTabs(["tab_page1"]);if(!i)if(h.length>0)Ev(o,u);else{let g=C.messageBus.subscribe("astBuildedAfterProjectOpen",async()=>{await yn({uuid:u.blockSymbol.uuid,path:u.blockSymbol.project_uuid,isActive:!0,lazy:!1}),await yn({uuid:u.schPage.uuid,path:u.schPage.project_uuid,isActive:!1,lazy:!0}),await Ud(u.pcb.uuid,{isActive:!1,lazy:!0}),g.cancel()});await Os({uuid:o,options:{isNew:!0}})}},r3i=async t=>{let{title:e,introduction:i,description:o,path:r,ownerBelongId:n,projectData:a,categoryId:s,setButtonDisable:l,editorVersion:c}=t;C.messageBus.publish("progressUpdate",[.1,"Import Project...",se.BLANKTAB,void 0,void 0,void 0,void 0,!1]);var d={name:e,introduction:i,description:o,public:!1,owner:{uuid:n},tags:s?s.split(":"):[],editorVersion:c,path:r,notChangeClientCreatePrjPath:!0,cbb_project:!0};let{message:u}=await C.messageBus.rpcCall(qr.IMPORT_NEW_PROJECT,{datas:a,info:d,options:{needDlg:!0}});if(u.success){let p=u.result;Pl("19",p.uuid),eTt(a,p),le.close("create-cbb-project-dialog"),l(!1),C.messageBus.publish("progressUpdate",[1,"Import Project...",se.BLANKTAB])}else l(!1),C.messageBus.publish("progressUpdate",[1,"Import Project...",se.BLANKTAB])};async function n3i(t){let{ownerUuid:e,tags:i,title:o,path:r,description:n}=t,a={docType:se.PCB,title:o,owner:e,path:r,description:n,tags:i},s={project:{name:o,user_uuid:e,cbb_project:!0,description:n,public:!0,path:r,tags:i}},l=(await C.messageBus.rpcCall(Og.CREATE,{data:a,options:s})).message;if(!l.success)return l;let c=async()=>{let u=(await C.messageBus.rpcCall(qr.IMPORT_TARGET_PROJECT,{uuid:l.result.projectId,datas:{pcbs:[{docType:se.PCB,description:"",title:o}]}})).message;return{success:!0}},d=await f7e({uuid:l.result.projectId,callback:c});return l}var a3i={COMMON(t,e){return{422:"Permission Dend"}},DEVICE(t,e){return{"-N9000001":"The device does not exist",1000001:"Library duplicate name or illegal name.",422:"Permission Dend"}},FOOTPRINT(t,e){return{1000001:"Library duplicate name or illegal name.",422:e||"Permission Dend"}}},B2r="Unknown System Error";function Qpe(t,e,i="COMMON"){return String(t)==="0"?"":(a3i[i]||a3i.COMMON)(t,e)[String(t)]||e||B2r}var Kf=L(z()),z2r=t=>{let{dlgType:e="normal",defaultOwnerId:i,projectName:o,options:r,projectData:n,fileDataStr:a,tags:s,operationOption:l,isCreateNewBoard:c=!0,isCreateNewSCH:d=!0,isCreateNewPCB:u=!0,isCreateNewPanel:p=!0,fileContent:m}=t,{description:h,introduction:f}=t,g=J();Ce(ku);let b=(0,Hg.useRef)(null),y=(0,Hg.useRef)(C.workspace),w=(0,Hg.useRef)(""),x=(0,Hg.useContext)(_r),[S,T]=(0,Hg.useState)(i||""),[M,I]=(0,Hg.useState)(""),[A,D]=(0,Hg.useState)(o||""),[E,N]=(0,Hg.useState)(f||""),[R,v]=(0,Hg.useState)(h||""),[k,P]=(0,Hg.useState)(!1),[O,_]=(0,Hg.useState)((s==null?void 0:s.name)||""),[j,B]=(0,Hg.useState)((s==null?void 0:s.uuid)||""),[V,G]=(0,Hg.useState)(l||"new"),Q=(0,Hg.useRef)(!1);(0,Hg.useEffect)(()=>(Q.current=!1,()=>{Q.current=!0,requestAnimationFrame(()=>{Q.current&&e==="draw"&&C.messageBus.publish("drawCbbCancelCallback",r.rectId)})}),[]);let H=(0,Hg.useCallback)((U,F)=>{T(U),I(F.args.owner)},[]),q=async()=>{var ee,ce;if(k)return;if(e==="IMPORT"&&V==="exist"){let ne=ku.projectTitle,oe=ku.projectUuid;if(!ne||!oe){Ut({type:"alert",message:"Please select a name"});return}let re=await QZ(oe);if(re===0){let Y="Import failed, the project is locked.";De({type:"error",msg:Y,timer:3}),Ot("error",Ti(Y));return}else if(re===1){let Y="Import failed, no project edit permission.";De({type:"error",msg:Y,timer:3}),Ot("error",Ti(Y));return}ij({datas:n,options:{projectId:oe,projectTitle:ne}}),le.close("create-cbb-project-dialog"),ku.setProjectMsg("","");return}let U=A,F=w.current,K=/[\\\/:*?"<>|]+/g;if(Je&&K.test(U)&&(U=U.replace(K,""),De({type:"info",msg:"Title contains special characters, automatically filtered",timer:5})),!ch({ownerId:{value:S,isJudge:!Je&&V!=="exist"&&e!=="draw"},title:{value:U,tipName:"Reuse Block"},...e==="draw"?{}:{projectPath:w.current},description:{value:R},categoryId:j}))return;if(e==="draw"){P(!0),o3i({owner:S,description:R,tags:O?O.split(":"):[],title:A,...r}).then(()=>P(!1));return}if(e==="save_as"){P(!0);let ne,oe=A.trim(),re=Je?w.current:"";if(O){let[Re,Ne]=await m4(M,Yi.CBB,O);Re&&(ne=(Ne?[Re,Ne].join(":"):Re).split(":"))}let Y={owner:{uuid:M},name:oe,description:R,tags:ne,path:re,parent_uuid:M,cbb_project:!0};if(!Je&&await l3i(oe,M))return P(!1),!1;let{isProjectLibrary:X,id:ie,title:de}=iTt,ye={cbb:X?{title:de}:{uuid:ie},info:Y},{message:Le}=await C.messageBus.rpcCall(qr.CBB_AS_CLOUD,ye);if(!Le.success){De({type:"error",msg:Le.message||"Reuse block save as failure!",timer:5}),P(!1),af();return}x1(),le.close("create-cbb-project-dialog"),P(!1),af();return}let te=((ee=n==null?void 0:n.config)==null?void 0:ee.editorVersion)||"";if(e==="IMPORT"){P(!0);let ne=x.document.getElementById("create-cbb-project-dialog");ne&&ne.setAttribute("esc","false");let oe=((ce=n==null?void 0:n.config)==null?void 0:ce.editorVersion)||(t==null?void 0:t.editorVersion)||"";r3i({title:U,introduction:E,description:R,ownerBelongId:M,projectData:n,path:w.current,categoryId:j,editorVersion:oe,setButtonDisable:P});return}P(!0);let ae={name:U,description:R,public:!1,user_uuid:M,cbb_project:!0,tags:j?j.split(":"):[],editorVersion:te,path:F,notChangeClientCreatePrjPath:!0},pe=M||_o(),Z;if(u&&!c&&!p&&!d)if(Z=await n3i({ownerUuid:pe,title:U,description:R,tags:j?j.split(":"):[],path:F}),Z.success)_s(pe,"cbb"),le.close("create-cbb-project-dialog"),he.getFilterTabs(["tab_page1"]).length>0?Ev(Z.result.projectId):Os({uuid:Z.result.projectId,options:{isNew:!0}}).then(()=>{});else{let ne=Z.message;Array.isArray(Z.message)&&(ne=Z.message[0]),ne=ne.includes(me.i18n("Permission denied"))?Qpe(422,ne):ne,console.error(Z.message),De({type:"error",msg:ne,timer:3})}else if(Z=(await C.messageBus.rpcCall(CK.CLOUD.PROJECT,{project:ae})).message,Z.success)await tBe({...Z.result,owner:{uuid:M}});else{let ne=Z.message;Array.isArray(Z.message)&&(ne=Z.message[0]),ne=ne.includes(me.i18n("Permission denied"))?Qpe(422,ne):ne,console.error(Z.message),De({type:"error",msg:ne,timer:3})}P(!1)};return Bt(U=>{let{key:F}=U;F==="Enter"&&q()}).keyboard("create-cbb-project-dialog"),(0,Hg.useEffect)(()=>{let U=x.document.getElementById("create-cbb-project-dialog");U&&U.setAttribute("esc","true")},[]),(0,Kf.jsxs)(Kf.Fragment,{children:[(0,Kf.jsxs)(z0,{children:[e==="IMPORT"&&(0,Kf.jsxs)("tr",{style:{display:"flex"},children:[(0,Kf.jsx)("td",{style:Kc,title:g("Operation"),"data-test":"Operation",children:g("Operation")}),(0,Kf.jsx)("td",{style:{display:"flex",boxSizing:"border-box",alignItems:"center",width:"100%"},children:(0,Kf.jsx)($i,{value:V,onChange:U=>G(U),options:[{label:"New Project",value:"new"},{label:"Save to Existing Project",value:"exist"}]})})]}),e==="IMPORT"&&V==="exist"&&(0,Kf.jsxs)("tr",{style:{display:"flex"},children:[(0,Kf.jsx)("td",{style:Kc,title:g("Name"),"data-test":"Name",children:g("Name")}),(0,Kf.jsx)("td",{style:{display:"flex",boxSizing:"border-box",alignItems:"center",width:"100%"},children:(0,Kf.jsx)(ea,{value:ku.projectTitle,style:{width:"81%"},hasClearButton:!1,openDialog:()=>oBe()})})]}),Je&&e!=="draw"&&(0,Kf.jsx)(Ype,{onChange:U=>w.current=U}),!Je&&e!=="draw"&&(0,Kf.jsx)(du,{ref:b,defaultSelectId:S||i,notFolder:!0,displayNone:V==="exist",onOwnerChange:H,onWorkSpaceChange:U=>y.current=U}),V!=="exist"&&(0,Kf.jsx)(PS,{inputValue:A,name:"Reuse Block",onChange:U=>D(U)}),!Je&&V!=="exist"&&(0,Kf.jsx)(Ep,{inputValue:O,categoryType:Yi.CBB,ownerSelectId:S,isProjectLib:e==="draw",openDialogCallback:(U,F)=>{_(U),B(F)},clearClick:()=>{_(""),B("")}}),V!=="exist"&&(0,Kf.jsx)(lh,{value:R,onChange:U=>v(U)})]}),(0,Kf.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"8px"},children:[(0,Kf.jsx)(Me,{disabled:k,type:"primary",onClick:()=>q(),children:"Save"}),(0,Kf.jsx)(Me,{onClick:()=>le.close("create-cbb-project-dialog"),children:"Cancel"})]})]})};async function A3(t){if(!Je&&!br()){Xo.login();return}await le.open({id:"create-cbb-project-dialog",title:(t==null?void 0:t.dlgTitle)||"New Reuse Block",width:628,closed:!0,remove:!0,esc:!0,children:(0,Kf.jsx)(z2r,{...t})})}var rBe=!1;async function c3i(t){if(rBe)return;rBe=!0;let e=await of(Fpe,()=>{}),i=await of(Upe,()=>{}),o=e.value===void 0||typeof e.value>"u",r=i.value,n=e.value;eBe({componentTableShowTypes:["pcb","sch"],dialogTitle:me.i18n("New project by template"),initSelectedLibId:r,initSelectedCategoryId:n,isFromProject:!1,scene:"NEW_PROJECT",isNotExistSavedCategoryIdByLS:o,onDialogOpen(){},onDialogCancel(){rBe=!1},onDialogClose(){},onDialogClosed(){rBe=!1},async onDialogConfirm(a){let{action:s,reuseBlockFullComponentItem:l}=a;return s==="new_tpl"?(await le.closeAll(),await A3({dlgType:"normal",isCreateNewBoard:!0,isCreateNewPCB:!0,isCreateNewSCH:!0}),!0):(t&&t(l),!0)}})}var l5e=L(Vi());var N3=L(Se());var Kpe=L(Se());var bP=L(z()),F2r=t=>{let{name:e,inputValue:i,selectValue:o,notFocus:r,inputDisabled:n,selectDisable:a,hideSelect:s,isDevice:l,inputChange:c,selectChange:d}=t,u=J(),p=(0,Kpe.useRef)(null),m=mt.getUserName()=="LCSC",h=(0,Kpe.useMemo)(()=>{let g=[{value:2,title:l?"Component":"Component Symbol"},{value:18,title:l?"Net Flag":"Netflag Symbol"},{value:19,title:l?"Net Port":"Netport Symbol"},{value:25,title:l?"Off Page Connector":"Off Page Connector Symbol"},{value:20,title:l?"Drawing":"Drawing Symbol"},{value:21,title:l?"Non-Electronic Flag":"Non-Electronic Symbol"}];return m&&g.push({value:22,title:"Short Symbol"}),g},[l,m]),f=h.find(g=>g.value===o)||h[0];return(0,Kpe.useEffect)(()=>{var g;!r&&((g=p.current)==null||g.focus())},[]),(0,bP.jsxs)("tr",{style:{display:"flex"},children:[(0,bP.jsx)("td",{style:Kc,title:u(e),"data-test":e,children:u(e)}),(0,bP.jsx)("td",{style:{display:"flex",boxSizing:"border-box",paddingTop:"7px",width:"100%"},children:(0,bP.jsxs)("div",{style:{display:"flex",width:"81%"},children:[!s&&(0,bP.jsx)("div",{style:{height:"24px",width:"120px",marginRight:"8px"},children:(0,bP.jsx)(ld,{selectedValue:f.value,selectedText:f.title,disabled:a,onItemChange:d,children:h.map(g=>(0,bP.jsx)(lc,{value:g.value,title:u(g.title),children:g.title},g.value))})}),(0,bP.jsx)("div",{style:{flex:1},children:(0,bP.jsx)(Kt,{ref:p,value:i,onChange:c,disabled:n,focusTriggerSelect:!0,enterTriggerBlur:!0,type:"text",maxLength:256,style:{width:"100%",height:"24px",overflow:"hidden",textOverflow:"ellipsis"},onkeydown:g=>g.key!=="Escape"&&g.stopPropagation(),onkeyup:g=>g.key!=="Escape"&&g.stopPropagation()})})]})})]})},yj=F2r;var d3i=L(Se());async function Gg(t=new Function){var e;try{let o={name:"",paths:(e=(await Ol.get(C.apis.client.config,{timeout:1e4})).result)==null?void 0:e.systemLib,handlerConfirmCallback:t};await ii("new-library",{data:o})}catch(i){console.warn(i)}}var oTt=class extends qe{constructor(){super(...arguments);this.libPathList=[];this.selectPath=""}setLibPathList(i){this.libPathList=i,this.notify()}setSelectPath(i){this.selectPath=i,this.notify()}updateLibPath(){R2().then(i=>{let o=i.filter(r=>!bT(r.uuid)).map(r=>({title:r.nickname,value:r.uuid}));if(this.setLibPathList(o),o.length){let r=Tr.classification.uuid;o.some(({value:n})=>r==n)||(r=o[0].value),this.setSelectPath(r)}})}},On=new oTt;var vV=L(z()),U2r=t=>{let{disabled:e=!1,selectChange:i,containerStyle:o,titleStyle:r}=t,n=J();Ce(On);let a=On.selectPath,s=On.libPathList,l=s.find(c=>c.value===a)||s[0]||{title:"",value:""};return(0,d3i.useEffect)(()=>{On.updateLibPath()},[]),(0,vV.jsxs)("tr",{style:{display:"flex",...o},children:[(0,vV.jsx)("td",{style:{...Kc,...r},title:n("Library"),"data-test":"Library",children:n("Library")}),(0,vV.jsxs)("td",{style:{display:"flex",boxSizing:"border-box",paddingTop:"7px",width:"100%"},children:[(0,vV.jsx)("div",{style:{height:"24px",width:"81%"},children:(0,vV.jsx)(ld,{selectedValue:l.value,selectedText:l.title,onItemChange:c=>{On.setSelectPath(c),i&&i(c)},isTranslateForSelectedText:!1,searchAble:!0,disabled:e,children:s.map(c=>(0,vV.jsx)(lc,{isTranslate:!1,value:c.value,title:c.title,children:c.title},c.value))})}),(0,vV.jsx)("span",{style:{margin:"4px 0 0 8px",textDecoration:"none",outline:"none",color:"#1890ff",cursor:"pointer"},"data-test":"Create Component library",onClick:c=>{c.preventDefault(),Gg(()=>On.updateLibPath())},children:n("Create Component library")})]})]})},Wb=U2r;var _S=L(Se());var rTt=L(p3i());var m3i=[{value:"device_symbol_footprint",text:"New devices, symbols and footprints"},{value:"device",text:"New devices only"},{value:"symbol",text:"New symbols only"},{value:"footprint",text:"New footprints only"}];var pa=L(z()),V2r=t=>{let e=be.bind(rTt.default.locals);Ae(rTt.default);let{containerId:i,listData:o,needShowImportSelect:r,fileContent:n}=t,[a,s]=(0,_S.useState)(Lxt()),[l,c]=(0,_S.useState)(null),[d,u]=(0,_S.useState)(null),[p,m]=(0,_S.useState)(null),[h,f]=(0,_S.useState)(t.importSelect),g=J(),[b,y]=(0,_S.useState)(()=>o.map(E=>{let{id:N,text:R,iconCls:v,libItemId:k,checked:P,docType:O,symbolType:_}=E;return{id:N,text:R,iconCls:v,checked:P==null?!0:P,libItemId:k,docType:O,symbolType:_}})),[w,x]=(0,_S.useState)(""),[S]=(0,_S.useState)(b),T=E=>{x(E);let N=H2r(S,E);y(N)},M=KZ(async E=>{switch(E){case"confirm":let N={};S.forEach(R=>{N[R.libItemId]=R.checked}),o.forEach(R=>{R.checked=N[R.libItemId]}),await Qb.getInstance().importLib(o,{path:D(),deviceCategory:HZ(l),symbolCategory:HZ(d),footprintCategory:HZ(p),fileContent:n});break;case"cancel":case"close":Qb.getInstance().clear(),le.close(i);break}},500),I=[{key:"value",name:g("Select All"),width:1,ellipsis:!0,i18n:!0,render:E=>{let{row:N,setCellStyle:R}=E,v=N.text,[k,P]=(0,_S.useState)(v);return(0,_S.useEffect)(()=>{if(w&&v){let O=jd(w),_=[],j=new RegExp(O,"ig"),B=v.replace(j,V=>(V&&_.push(`<span class=${e("hightlight")}>${V}</span>`),V?`<span class=${e("hightlight")}>${V}</span>`:""));P(B)}else P(v)},[v,w]),(0,_S.useEffect)(()=>{R({textOverflow:"initial"})},[]),(0,pa.jsxs)(pa.Fragment,{children:[(0,pa.jsx)(qt,{style:{marginRight:"4px"},checked:N.checked,onChange:O=>{b.find(_=>{if(_.id==N.id)return _.checked=O,!0}),y([...b])}}),(0,pa.jsx)("span",{className:e(`tree-icon tree-file ${N.iconCls}`)}),(0,pa.jsx)("div",{"data-test":N.text,title:N.text,style:{display:"inline-block",cursor:"pointer"},dangerouslySetInnerHTML:{__html:k}})]})}}],A=(0,_S.useRef)(null),D=()=>Je?On.selectPath:a;return(0,pa.jsx)(pa.Fragment,{children:(0,pa.jsxs)("div",{className:e("oneLineOneInputDlg"),children:[(0,pa.jsxs)("fieldset",{className:e("fieldset"),children:[(0,pa.jsx)("legend",{children:g("Library")}),(0,pa.jsx)("div",{style:{position:"relative",paddingBottom:"10px"},children:(0,pa.jsx)(i4,{placeholder:g("Filter"),onChange:T,enterTriggerBlur:!0,hasClearButton:!0,style:{height:"24px"},value:w})}),(0,pa.jsxs)("div",{children:[b.length>0?(0,pa.jsx)(qt,{className:e("checkbox"),isHalfCheck:Zpe(b)==="HalfChecked",checked:Zpe(b)==="Checked",onChange:E=>{K2r(E,b,y)},children:(0,pa.jsx)("label",{children:g("All")})}):"",nBe(b,se.DEVICE)?(0,pa.jsx)(qt,{className:e("checkbox"),isHalfCheck:aBe(b,se.DEVICE)==="HalfChecked",checked:aBe(b,se.DEVICE)==="Checked",onChange:E=>{Z2r(E,b,y);let N=tbr(b);A.current.scrollRowIntoView(N)},children:(0,pa.jsx)("label",{children:g("Device")})}):"",h3i(b)?(0,pa.jsx)(qt,{className:e("checkbox"),isHalfCheck:g3i(b)==="HalfChecked",checked:g3i(b)==="Checked",onChange:E=>{J2r(E,b,y);let N=ebr(b);A.current.scrollRowIntoView(N)},children:(0,pa.jsx)("label",{children:g("Symbol")})}):"",nBe(b,se.FOOTPRINT)?(0,pa.jsx)(qt,{className:e("checkbox"),isHalfCheck:aBe(b,se.FOOTPRINT)==="HalfChecked",checked:aBe(b,se.FOOTPRINT)==="Checked",onChange:E=>{q2r(E,b,y);let N=ibr(b);A.current.scrollRowIntoView(N)},children:(0,pa.jsx)("label",{children:g("Footprint")})}):""]}),(0,pa.jsxs)("div",{children:[G2r(b)?(0,pa.jsx)(qt,{className:e("checkbox"),isHalfCheck:f3i(b)==="HalfChecked",checked:f3i(b)==="Checked",onChange:E=>{X2r(E,b,y)},children:(0,pa.jsx)("label",{children:g("Component")})}):"",Y2r(b)?(0,pa.jsx)(qt,{className:e("checkbox"),isHalfCheck:b3i(b)==="HalfChecked",checked:b3i(b)==="Checked",onChange:E=>{$2r(E,b,y)},children:(0,pa.jsx)("label",{children:g("Not Component")})}):""]}),(0,pa.jsx)("div",{style:{height:"230px",marginTop:"5px",width:"442px",overflowY:"auto"},children:(0,pa.jsx)(xi,{ref:A,showHeader:!1,selectedRowNumbers:[null],index:"libItemId",columns:I,rows:b,height:255})})]}),(0,pa.jsxs)("fieldset",{className:e("fieldset"),children:[(0,pa.jsx)("legend",{children:g("Import Setting")}),(0,pa.jsxs)("div",{children:[Je&&(0,pa.jsx)(Wb,{selectChange:()=>{},containerStyle:{alignItems:"center",padding:"8px"},titleStyle:{padding:"7px 0px 0px 0px",minWidth:"60px",width:"80px"}}),!Je&&(0,pa.jsx)(du,{defaultSelectId:a,label:"Library Owner:",style:{padding:"0px 8px",height:"40px"},labelStyleProp:{minWidth:"52px"},ownerSelectStyle:{width:"143px"},linkStyle:{margin:"4px 0px 0px 4px"},notFolder:!0,notWorkSpaceChange:_t,onOwnerChange:(E,N)=>{s(E)}}),r&&(0,pa.jsxs)("div",{id:"chooseLibsTree_symbol_options",className:e("line"),children:[(0,pa.jsx)("div",{className:e("name"),"data-test":"Import options:",children:g("Import options:")}),(0,pa.jsx)("div",{className:e("value"),children:(0,pa.jsx)("div",{className:e("importSelect"),children:(0,pa.jsx)(xt,{list:m3i,value:h,onChange:E=>{f(E)},style:{width:"100%"}})})})]}),nBe(b,se.DEVICE)?(0,pa.jsxs)("div",{className:e("line"),style:{display:"flex",alignItems:"center"},children:[(0,pa.jsx)("div",{className:e("name"),"data-test":"Device Category:",children:g("Device Category:")}),(0,pa.jsxs)("div",{className:e("value"),children:[(0,pa.jsx)("div",{className:e("selectValue"),children:(0,pa.jsx)(ea,{value:(l==null?void 0:l.pathName)||"",hasClearButton:!0,style:{width:"290px"},onClearClick:()=>{c(null)},openDialog:async()=>{let E={docType:Yi.DEVICE,userId:D(),path:D()},N=await C1(E);N.confirm&&c(N.tag)}})}),(0,pa.jsx)("a",{href:"#",target:"_blank",style:{marginLeft:"10px"},className:e("link"),"data-test":"Manage Categories",onClick:E=>{Qc({menuSelected:"CATEGORY",isFromProject:!1,initCategoryActiveTab:Yi.DEVICE,initCategoryActiveLibId:D()})},children:g("Manage Categories")})]})]}):"",h3i(b)?(0,pa.jsxs)("div",{className:e("line"),style:{display:"flex",alignItems:"center"},children:[(0,pa.jsx)("div",{className:e("name"),"data-test":"Symbol Category:",children:g("Symbol Category:")}),(0,pa.jsxs)("div",{className:e("value"),children:[(0,pa.jsx)("div",{className:e("selectValue"),children:(0,pa.jsx)(ea,{value:(d==null?void 0:d.pathName)||"",hasClearButton:!0,style:{width:"290px"},onClearClick:()=>{u(null)},openDialog:async()=>{let E={docType:Yi.SYMBOL,userId:D(),path:D()},N=await C1(E);N.confirm&&u(N.tag)}})}),(0,pa.jsx)("a",{href:"#",target:"_blank",style:{marginLeft:"10px"},className:e("link"),"data-test":"Manage Categories",onClick:E=>{Qc({menuSelected:"CATEGORY",isFromProject:!1,initCategoryActiveTab:Yi.SYMBOL,initCategoryActiveLibId:D()})},children:g("Manage Categories")})]})]}):"",nBe(b,se.FOOTPRINT)?(0,pa.jsxs)("div",{className:e("line"),style:{display:"flex",alignItems:"center"},children:[(0,pa.jsx)("div",{className:e("name"),"data-test":"Footprint Category:",children:g("Footprint Category:")}),(0,pa.jsxs)("div",{className:e("value"),children:[(0,pa.jsx)("div",{className:e("selectValue"),children:(0,pa.jsx)(ea,{value:(p==null?void 0:p.pathName)||"",hasClearButton:!0,style:{width:"290px"},onClearClick:()=>{m(null)},openDialog:async()=>{let E={docType:Yi.FOOTPRINT,userId:D(),path:D()},N=await C1(E);N.confirm&&m(N.tag)}})}),(0,pa.jsx)("a",{href:"#",target:"_blank",style:{marginLeft:"10px",color:"#0000ee"},className:e("link"),"data-test":"Manage Categories",onClick:E=>{Qc({menuSelected:"CATEGORY",isFromProject:!1,initCategoryActiveTab:Yi.FOOTPRINT,initCategoryActiveLibId:D()})},children:g("Manage Categories")})]})]}):""]})]}),(0,pa.jsxs)("div",{className:e("pop-footer-wrapper dialog-button"),children:[(0,pa.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>M("confirm"),children:"Import"}),(0,pa.jsx)(Me,{onClick:()=>M("cancel"),children:"Cancel"})]})]})})},y3i=V2r;function H2r(t,e){if(e=e.trim(),!e||e.indexOf("^")>-1||e.indexOf("|")>-1)return t;e=e.replace(/\./g,"\\.").replace(/\(/g,"\\(").replace(/\)/g,"\\)").replace(/-/g,"\\-").replace(/\?/g,"\\?").replace(/\*/g,"\\*").replace(/\+/g,"\\+");let i=new RegExp(e,"im"),o=[];return it(t,(r,n)=>{i.test(n.text)&&o.push(n)}),o}function nBe(t,e){return t.filter(i=>i.docType===e).length>0}function h3i(t){return t.filter(e=>pr(e.docType)).length>0}function G2r(t){return t.filter(e=>[se.FOOTPRINT,se.PART].includes(e.docType)||e.symbolType!=null&&se.PART===e.symbolType).length>0}function Y2r(t){return t.filter(e=>e.symbolType==null&&![se.FOOTPRINT,se.PART].includes(e.docType)||e.symbolType!=null&&se.PART!==e.symbolType).length>0}function W2r(t){return t.length>0&&t.every(e=>e.checked)}function Q2r(t){return t.length<=0||t.length>0&&t.every(e=>!e.checked)}function Zpe(t){return W2r(t)?"Checked":Q2r(t)?"UnChecked":"HalfChecked"}function aBe(t,e){let i=t.filter(o=>o.docType===e);return Zpe(i)}function f3i(t){let e=t.filter(i=>[se.FOOTPRINT,se.PART].includes(i.docType)||i.symbolType!=null&&se.PART===i.symbolType);return Zpe(e)}function g3i(t){let e=t.filter(i=>pr(i.docType));return Zpe(e)}function b3i(t){let e=t.filter(i=>i.symbolType==null&&![se.FOOTPRINT,se.PART].includes(i.docType)||i.symbolType!=null&&se.PART!==i.symbolType);return Zpe(e)}function K2r(t,e,i){e.forEach(o=>o.checked=t),i([...e])}function Z2r(t,e,i){e.forEach(o=>o.docType===se.DEVICE&&(o.checked=t)),i([...e])}function J2r(t,e,i){e.forEach(o=>pr(o.docType)&&(o.checked=t)),i([...e])}function q2r(t,e,i){e.forEach(o=>o.docType===se.FOOTPRINT&&(o.checked=t)),i([...e])}function X2r(t,e,i){e.forEach(o=>{([se.FOOTPRINT,se.PART].includes(o.docType)||o.symbolType!=null&&se.PART===o.symbolType)&&(o.checked=t)}),i([...e])}function $2r(t,e,i){e.forEach(o=>{(o.symbolType==null&&![se.FOOTPRINT,se.PART].includes(o.docType)||o.symbolType!=null&&se.PART!==o.symbolType)&&(o.checked=t)}),i([...e])}function ebr(t){return t.findIndex(e=>pr(e.docType))}function tbr(t){return t.findIndex(e=>e.docType===se.DEVICE)}function ibr(t){return t.findIndex(e=>e.docType===se.FOOTPRINT)}var C3i=L(z()),nTt=async function(t,e){let i=bt[t],{containerId:o,title:r,width:n,closed:a,mask:s,esc:l}=i;le.open({id:o,title:r,width:n,closed:a,mask:s,esc:l,children:(0,C3i.jsx)(y3i,{containerId:o,...e})})};async function w3i(t){nTt("import-lib",t)}async function x3i(t,e,i){let o=AT(t.parent_tag),r=AT(t.child_tag),n=await sn.addCategoriesBatchByNameArray({categories:r?[{parentName:o,childName:r}]:[{parentName:o}],type:e,uuid:i}),a=n.allParentCreated[0]?n.allParentCreated[0].uuid:void 0,s=n.allChildCreated[0]?n.allChildCreated[0].uuid:void 0,l=[""];return a&&(l=s?[a,s]:[a]),l}var Mre=class t{constructor(){this._optionList=[];this._optionSelect=""}static getInstance(){return t.instance||(t.instance=new t),t.instance}set optionList(e){this._optionList=e}get optionList(){return this._optionList}set optionSelect(e){this._optionSelect=e}get optionSelect(){var e;return this._optionSelect?this._optionSelect:(e=this._optionList[0])==null?void 0:e.value}};var Qb=class t{constructor(){this._isSimple=!1;this.libSelect=Mre.getInstance()}static getInstance(){return t.instance||(t.instance=new t),t.instance}async openDialog(){let e=Je,i=this.libSelect.optionList,o=this.optionSelect;e&&(await this.getClientLib(),i=this._clientOptionList,o=this._clientOptionSelect),w3i({listData:this._libData,needShowImportSelect:this._needShowSelect,fileContent:this._fileContent})}getClientLib(){return new Promise(e=>{R2().then(i=>{let o=i.filter(r=>!bT(r.uuid)).map(r=>({text:r.nickname,value:r.uuid}));if(this._clientOptionList=o,o.length){let r=Tr.classification.uuid;!o.some(({value:n})=>r==n)&&(r=o[0].value),this._clientOptionSelect=r}e(!0)})})}set devicesInfo(e){this._devicesInfo=e}get devicesInfo(){return this._devicesInfo}set devicesList(e){this._devicesList=e}get devicesList(){return this._devicesList}set openFilesLater(e){this._openFilesLater=e}get openFilesLater(){return this._openFilesLater}set importFileName(e){this._importFileName=e}get importFileName(){return this._importFileName}isSimple(){return this._isSimple=mt.getSymbolLibManage()==="1",this._isSimple}loadDlgData(e,i){var a;this._fileContent=i;let o=[];if(!e){this._libData=o;return}this.isSimple();let r=0;(a=e.devices)==null||a.forEach(s=>{o.push({id:s.uuid,iconCls:Ire(se.DEVICE),text:s.display_title||s.title,checked:this.handleDeviceChecked(s,e),libItemId:r++,docType:se.DEVICE,symbolType:this.getSymbolType(s,e),description:s.description})}),(this._isSimple?[]:e.symbols||[]).concat(e.footprints||[],e["panel-lib"]||[]).forEach(s=>{!s||s.docType===se.SUBPART||s.docType===se.BLOCK_SYMBOL||o.push({id:s.uuid,iconCls:Ire(s.docType),text:s.display_title||s.title,checked:this.defaultCheckedType(s.docType),libItemId:r++,docType:s.docType,description:s.description})}),this._libData=o,this._importLibMap=e}handleDeviceChecked(e,i){var a,s;let o=!1,r=e.symbol_type,n=e.footprint_type;if(r)o=this.defaultCheckedType(r);else if(n)o=this.defaultCheckedType(n);else{let l=e.attributes.Symbol,c=e.attributes.Footprint,d=(a=i.symbols.find(p=>p.uuid==l))==null?void 0:a.docType,u=(s=i.footprints.find(p=>p.uuid==c))==null?void 0:s.docType;o=this.defaultCheckedType(d)||this.defaultCheckedType(u)}return o}getSymbolType(e,i){var n;let o=e.attributes.Symbol;return(n=i.symbols.find(a=>a.uuid==o))==null?void 0:n.docType}defaultCheckedType(e){return e==se.PART||e==se.FOOTPRINT}async handleTags(e,i,o,r){if(r){let n=await x3i(r,i,o);return e.forEach(a=>{a.tags=n}),e}else return await this.handelCustomizeTags(e,i,o)}async handelCustomizeTags(e,i,o){if(!e||!e.length)return;let r=this.getCategoryParams(e,i,o);if(r.names.length){let n=await sn.bindAndCreateCategory(r,i,o);return e.forEach(a=>{let s=a.custom_tags,l="",c="",d=[];if(s)try{d=JSON.parse(s),d.length&&(l=d[0],c=d[1]||"")}catch{typeof s=="string"?(d=s.split(":"),l=d[0],c=d[1]||""):console.error(`Custom tags type Error ${s}`)}a.tags=[],n.forEach(u=>{u.title===l&&!u.parent_uuid&&(a.tags[0]=u.uuid)}),n.forEach(u=>{a.tags[0]===u.parent_uuid&&u.title===c&&(a.tags[1]=u.uuid)}),a.custom_tags=JSON.stringify([])}),n}}getCategoryParams(e,i,o){let r=[];return e.map(n=>{let a=n.custom_tags;if(a)try{a=JSON.parse(a),a.length&&r.push({primary:a[0],secondary:a[1]||""})}catch{if(typeof a=="string"){let[l,c]=a.split(":");r.push({primary:l,secondary:c})}else console.error(`Custom tags type Error ${a}`)}}),r=sn.formatRepeatCategoryArr(r),{uuid:o,path:o,types:i,names:r}}get optionSelect(){return this._optionSelect?this._optionSelect:(this._optionSelect=this.libSelect.optionSelect,this._optionSelect)}get clientOptionSelect(){return this._clientOptionSelect}set needShowSelect(e){this._needShowSelect=e}set chooseLibsTreeOption(e){this._chooseLibsTreeOption=e}get chooseLibsTreeOption(){return this._chooseLibsTreeOption||"device_symbol_footprint"}get importFileType(){return this._importFileType}set importFileType(e){this._importFileType=e}get symbol2footprintMap(){return this._symbol2footprintMap}set symbol2footprintMap(e){this._symbol2footprintMap=e}get footprintMapInDevices(){return this._footprintMapInDevices}set footprintMapInDevices(e){this._footprintMapInDevices=e}get proFile(){return this._proFile}set proFile(e){this._proFile=e}get project(){return this._project}set project(e){this._project=e}set fileName(e){this._fileName=e}async importLib(e,i){var y,w,x,S;let o=!1,r="IMPORT_COMPONENT_PROGRESS";vt(.01,r,void 0,()=>{o=!0});let{path:n,deviceCategory:a,symbolCategory:s,footprintCategory:l}=i;this._libData=e,Je?this._clientOptionSelect=i.path:this._optionSelect=i.path;let c=[],d=[];e.forEach(T=>T.checked&&d.push(T.id));let u=(y=this._importLibMap.devices)==null?void 0:y.filter(T=>!!T).filter(T=>{let M=d.includes(T.uuid);return M&&this._isSimple&&T.attributes.Symbol&&c.push(T.attributes.Symbol),M}),p=(w=this._importLibMap.symbols)==null?void 0:w.filter(T=>!!T).filter(T=>this._isSimple?c.includes(T.uuid):d.includes(T.uuid)),m=(x=this._importLibMap.footprints)==null?void 0:x.filter(T=>!!T).filter(T=>d.includes(T.uuid)),h=((S=this._importLibMap["panel-lib"])==null?void 0:S.filter(T=>!!T).filter(T=>d.includes(T.uuid)))||[],f=this._importLibMap.project,g=this.importFileName,b=this.optionSelect;if(await this.handleTags(u,[Yi.DEVICE],n,a),await this.handleTags(p,[Yi.SYMBOL],n,s),await this.handleTags(m,[Yi.FOOTPRINT],n,l),await this.handelCustomizeTags(h,[Yi.PANEL_LIB],n),!o){if(i.fileContent){let T={};a&&(T.device={tags:ts.pickUpComponentTags2Names(a)}),s&&(T.symbol={tags:ts.pickUpComponentTags2Names(s)}),l&&(T.footprint={tags:ts.pickUpComponentTags2Names(l)});let M="Import successfully!",I=!1;try{let A=await la.importLibs({data:i.fileContent,target:{isProject:!C.currentProject||!C.currentProject.projectId?!1:b===C.currentProject.projectId,path:b},override:{uuids:d,info:T}});if(this.showLog(A),A&&A.failedResult&&A.failedResult){let D=[];if(A.failedResult.devices.length?D=A.failedResult.devices:A.failedResult.footprints.length?D=A.failedResult.footprints:A.failedResult.panelLibs.length?D=A.failedResult.panelLibs:A.failedResult.symbols.length&&(D=A.failedResult.symbols),D.length)throw new Error(D[0].message||"Import failed!")}}catch{I=!0,M="Import failed!"}I?De({type:"error",msg:M}):(De({type:"success",msg:M}),this.closeDialog()),_s(b,Ls()),vt(1,r,void 0,()=>{o=!0});return}T3i({devices:u,symbols:p,footprints:m,project:f,"panel-lib":h},{fileName:g,owner:b,path:n},r,o)}}showLog(e){var m,h,f,g,b,y,w,x,S;let i=((m=e==null?void 0:e.failedResult)==null?void 0:m.sameNameFtMap)||new Map,o=((h=e==null?void 0:e.failedResult)==null?void 0:h.sameNameSbMap)||new Map,r={},n={},a={},s=new Set,l=new Set,c=new Set,d=new Set,u=new Set;(f=e.successResult.devices)==null||f.forEach(T=>{T.success&&d.add(T.result.title)}),(g=e.successResult.footprints)==null||g.forEach(T=>{T.success&&c.add(T.result.title)}),(b=e.successResult.symbols)==null||b.forEach(T=>{T.success&&s.add(T.result.title)}),(y=e.successResult.panelLibs)==null||y.forEach(T=>{l.add(T.title)}),(w=e.failedResult.devices)==null||w.forEach(T=>{let{title:M,action:I}=T;En(a,p(I)).push(M)}),(x=e.failedResult.footprints)==null||x.forEach(T=>{let{title:M,action:I}=T;En(n,p(I)).push(M)}),(S=e.failedResult.symbols)==null||S.forEach(T=>{let{title:M,action:I}=T;En(r,p(I)).push(M)}),aTt({completed:!1,success_symbols:s,success_panel:l,success_footprints:c,success_devices:d,failed_device:u,sameNameFtMap:i,sameNameSbMap:o,errmsgs_symbols:r,errmsgs_footprints:n,errmsgs_devices:a});function p(T){return[zo.SYMBOL_SAME_NAMA_EXISTS,zo.DEVICE_SAME_NAMA_EXISTS,zo.FOOTPRINT_SAME_NAMA_EXISTS].includes(T)?me.i18n("Library duplicate name"):T===zo.PARAMETER_VERIFICATION?me.i18n("Parameter error"):me.i18n("Unknown Mistakes")}}getCheckedLib(){return this._libData.filter(e=>e.checked)}closeDialog(){let e=bt["import-lib"].containerId;R0.get(e)&&le.close(e),this.clear()}clear(){this._devicesInfo=null,this._devicesList=null,this._openFilesLater=null,this._importFileName=null,this._importFileType=null,this._symbol2footprintMap=null,this._footprintMapInDevices=null,this.project=null,this._fileName=null,this._libData=null,this._importLibMap=null}};async function sTt(){var o,r;let t=self.SCH.drawingTemplateName,e={isProject:!1,path:dv,titles:[t]};return(r=(o=await Ze.getDeviceSearchList(e))==null?void 0:o[t])==null?void 0:r.find(n=>n.symbol_type===se.SHEET_SYMBOL)}async function sBe(){var e;let t=await sTt();return(e=t==null?void 0:t.attributes)==null?void 0:e.Symbol}async function lBe(t,e,i,o){let r=null,n="";try{r=await Ze.createSymbol({path:i,isProject:i===C.currentProject.projectId,symbol:{isProject:e===C.currentProject.projectId,uuid:t,path:e,override:{title:o.title,description:o.description,tags:o.categoryName?o.categoryName.split(":"):[],docType:o.docType}}})}catch(a){if(n=a.message||"Save failed!",a&&a.action===zo.SYMBOL_SAME_NAMA_EXISTS){let s=await d4(i);n=me.i18n("{libName} duplicate name or illegal name: {componentName}",{libName:s,componentName:o.title})}}return De({type:n?"error":"success",msg:n||"Saved successfully!"}),r||null}var Zf=L(z());async function lTt(t,e,i,o){return e===ve.SHEET_SYMBOL?{uuid:await sBe(),path:bo.getInstance().usedId,isProject:!1,override:{title:t,docType:e,tags:i?i.split(":"):[],description:o}}:{data:{title:t,docType:e,tags:i?i.split(":"):[],description:o}}}var rbr=t=>{let{orgUuid:e,defaultOwnerId:i,canSelectSymbolType:o=!0,formData:r,contentData:n,symbolDoctype:a,categoryId:s,symbolCategroyName:l,footprintCategroyName:c,importLibMap:d,detailData:u,is3_0:p,files:m}=t,{symbolName:h,categoryName:f,isObserverSave:g,closeTabId:b,messageToken:y="",fileStr:w}=t,{description:x,hideSymbolType:S,dlgType:T,importDataStr:M,importFootprint:I,hideImportRadio:A}=t,D=f||l||c;Ce(ku),Ce(On);let E=J(),N=(0,N3.useRef)(null),R=(0,N3.useRef)(C.workspace),[v,k]=(0,N3.useState)(i||""),[P,O]=(0,N3.useState)(""),[_,j]=(0,N3.useState)(""),[B,V]=(0,N3.useState)(h||""),[G,Q]=(0,N3.useState)(x||""),[H,q]=(0,N3.useState)(D||""),[U,F]=(0,N3.useState)(s||""),[K,te]=(0,N3.useState)(a||2),[ae,pe]=(0,N3.useState)(!1),[Z,ee]=(0,N3.useState)(I?"symbol_footprint_device":"symbol_device"),ce="Symbols need to be associated with components before they can be placed on the schematic page by placing components",ne=mt.getSymbolLibManage()=="2",oe=(0,N3.useMemo)(()=>[{value:I?"symbol_footprint_device":"symbol_device",label:I?"New symbol, footprint and device":"New symbol and new device"},{value:"device",label:"New devices only"},{value:"symbol",label:"New symbols only"}],[I]),re=(0,N3.useCallback)((ie,de)=>{k(ie),O(de.args.owner),j(de.title)},[]),Y=async(ie,de,fe)=>{let ye="",[Le,Re]=await m4(fe,de,ie);return Le&&(ye=Re?[Le,Re].join(":"):Le),ye},X=async()=>{var ye,Le,Re,Ne;if(ae||!ch({ownerId:{value:v,isJudge:!Je},title:{value:B,tipName:"Symbol"},description:{value:G},categoryId:U}))return;pe(!0);let ie=Number(K),de=Je?On.selectPath:P,fe=U;if(T==="import"){let Te={dataStr:"",docType:ie,messageToken:y};if(H&&!U){let He=T==="import"&&Z.includes("device")?Yi.DEVICE:Yi.SYMBOL,[Ye,ke]=await m4(de,He,H);Ye&&(fe=ke?[Ye,ke].join(":"):Ye)}let Pe=Z,Oe=Pe.includes("symbol"),Ue=Pe.includes("footprint"),Ve=Pe.includes("device"),ze=M;if(Ue){let He=await Y(H,Yi.SYMBOL,de),Ye=await Y(H,Yi.FOOTPRINT,de),ke={dataStr:ze,owner:Je?On.selectPath:P,title:B,tags:He?He.split(":"):[],description:G,docType:ie},Be={dataStr:I.dataStr,owner:Je?On.selectPath:P,title:I.display_title,tags:Ye?Ye.split(":"):[],description:G,docType:I.docType};await cBe(ke,Be,fe?fe.split(":"):[],de,d),le.close("creat-symbol-dialog");return}else if(Oe)if(t.dlgType==="import"){let He=null,Ye="Import successfully!",ke=!1;try{let Be=await la.importLibs({data:t.fileContent,target:{isProject:!C.currentProject||!C.currentProject.projectId?!1:P===C.currentProject.projectId,path:P},override:{symbol:{tags:H?H.split(":"):[],title:B,description:G}}});if(He=Be.successResult.symbols[0],He=He&&He.result?He.result:He,Be&&Be.failedResult&&Be.failedResult.symbols.length)throw new Error(Be.failedResult.symbols[0].message||"Import failed!")}catch{ke=!0,Ye="Import failed!"}ke?De({type:"error",msg:Ye}):De({type:"success",msg:Ye}),pe(!1),_s(P,Ls()),He&&(Ot("info",'<span class="i18n" i18n-params-nums="1">{nums} footprints import successfully</span>:'+He.display_title,void 0,!1),await yn({uuid:He.uuid,path:de,isComponent:!0}),le.close("creat-symbol-dialog"))}else{Te.new_device=t.isProExport!==void 0?!t.isProExport:Ve,Ve&&(Te.device_dataStr=ze);let He={title:B,docType:ie,owner:P,path:de,tags:fe?fe.split(":"):[],description:G,dataStr:ze};p?He.canvas=ze:He.dataStr=ze;try{let Ye=await Ze.createSymbol({isProject:!1,path:He.path,symbol:He});Ot("info",'<span class="i18n" i18n-params-nums="1">{nums} symbols import successfully</span>:'+B,void 0,!1),await yn({uuid:Ye.uuid,path:de,isComponent:!0}),le.close("creat-symbol-dialog").then(()=>{if(C.fileLibImportOption){C.fileLibImportOption=!1;let ke=Qb.getInstance().project;Ut({icon:"question",title:"Confirm",type:"confirm",message:"Click Confirm to continue with the import",onConfirm:()=>{wP(ke)}})}})}catch(Ye){return pe(!1),De({type:"error",msg:Ye.message,timer:3})}}else(await C.windowBridge.rpcCall("newDeviceBySymbolDataStr",{base:{"device-name":B,"symbol-name":B,"device-owner":P,"device-contributor":v,"device-category-id":fe},dataStr:ze,docType:ie,isDlg:!0,path:de,owner:P},ko())).message&&le.close("creat-symbol-dialog"),pe(!1);return}try{if(u){let Te={success:!1,code:-1,result:{symbol:{success:!1,code:-1,result:null,message:""}},message:""},Pe=await lBe(u.uuid,u.path,de,{title:B,description:G,categoryName:H,docType:u.docType});if(Pe&&(Te.success=!0,Te.code=0,Te.result.symbol.success=!0,Te.result.symbol.code=0,Te.result.symbol.result=Pe),pe(!1),Te.success&&((Le=(ye=Te.result)==null?void 0:ye.symbol)!=null&&Le.success)){let Oe=(Ne=(Re=Te.result)==null?void 0:Re.symbol)==null?void 0:Ne.result;if(Oe&&Oe.uuid){let Ue=Oe.owner.uuid;_s(Ue,"symbol"),Wa(Oe,1)}y?window.postMessage({result:Oe,messageToken:y},"*"):Oe&&Oe.uuid&&await yn({uuid:Oe.uuid,path:de,isComponent:!0}),le.close("creat-symbol-dialog")}}else{let Te=await Ze.createSymbol({path:de,isProject:de===C.currentProject.projectId,symbol:await lTt(B,ie,H,G)}),Pe=Te.owner.uuid;_s(Pe,"symbol"),Wa(Te,1),y?window.postMessage({result:Te,messageToken:y},"*"):await yn({uuid:Te.uuid,path:de,isComponent:!0}),le.close("creat-symbol-dialog")}}catch(Te){let Pe="";Te&&Te.action===zo.SYMBOL_SAME_NAMA_EXISTS?Pe=me.i18n(Te.message,{libName:Je?On.selectPath:_,componentName:B}):Te&&Te.action===zo.CREATE_SYMBOL_PERMISSIONS?Pe="Permission denied":Te&&Te.action===zo.CREATE_SYMBOL?Pe=Te.message:(console.error(Te),Pe="Save failed!"),De({type:"error",msg:Pe,timer:3}),pe(!1)}};return Bt(ie=>{let{key:de}=ie;de==="Enter"&&X()}).keyboard("creat-symbol-dialog"),(0,Zf.jsxs)(Zf.Fragment,{children:[(0,Zf.jsxs)(z0,{children:[Je&&(0,Zf.jsx)(Wb,{disabled:t.isWorkespaceSelectDisabled,selectChange:()=>{}}),!Je&&(0,Zf.jsx)(du,{ref:N,orgUuid:e,defaultSelectId:v||i,notFolder:!0,onOwnerChange:re,onWorkSpaceChange:ie=>R.current=ie,notWorkSpaceChange:t.isWorkespaceSelectDisabled,folderTreeSelectDisabled:t.isUserSelectDisabled}),(0,Zf.jsx)(yj,{name:"Symbol",inputValue:B,selectValue:K,hideSelect:S,selectDisable:!o,inputChange:ie=>V(ie),selectChange:ie=>te(ie)}),(0,Zf.jsx)(Ep,{inputValue:H,ownerSelectId:v,clientLibPath:On.selectPath,categoryType:T==="import"&&Z.includes("device")?Yi.DEVICE:Yi.SYMBOL,openDialogCallback:(ie,de)=>{q(ie),F(de)},clearClick:()=>{q(""),F("")}}),(0,Zf.jsx)(lh,{value:G,onChange:ie=>Q(ie)}),T==="import"&&ne&&!A&&(0,Zf.jsxs)("tr",{style:{display:"flex"},children:[(0,Zf.jsx)("td",{style:Kc,"data-test":"Import options:",children:E("Import options:")}),(0,Zf.jsx)("td",{style:{width:"100%",display:"flex",alignItems:"center"},children:(0,Zf.jsx)($i,{options:oe,value:Z,onChange:ie=>ee(ie)})})]}),(0,Zf.jsxs)("tr",{style:{display:"flex"},children:[(0,Zf.jsx)("td",{style:Kc}),(0,Zf.jsx)("td",{style:{display:"flex",alignItems:"center",width:"100%",height:"36px"},children:(0,Zf.jsx)("p",{"data-test":ce,style:{color:"#f00"},children:E(ce)})})]})]}),(0,Zf.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"8px"},children:[(0,Zf.jsx)(Me,{disabled:ae,type:"primary",onClick:()=>X(),children:"Save"}),(0,Zf.jsx)(Me,{onClick:()=>le.close("creat-symbol-dialog"),children:"Cancel"})]})]})};function yP(t){if(!Je&&!br()){Xo.login();return}CP(()=>{le.open({id:"creat-symbol-dialog",title:(t==null?void 0:t.dlgTitle)||"New Symbol",width:628,closed:!0,remove:!0,esc:!0,children:(0,Zf.jsx)(rbr,{...t})})})}var qZ=L(Se());var hBe=L(XTe());var M3i=L(Se());var uA="stname",um=class{constructor(){this.handlers={}}on(e,i,o=uA){let r=this.handlers,n=o||uA;!e||typeof e!="string"||typeof i!="function"||(r[n]||(r[n]={}),(!r[n][e]||!r[n][e].length)&&(r[n][e]=[]),r[n][e].push(i))}async emit(e,i=void 0,o=uA){let r=this.handlers,n=o||uA;if(!e||typeof e!="string"||!r[n])return;let a=(r[n][e]||[]).length;for(let s=0;s<a;s++)await r[n][e][s](i)}subscribe(e,i,o=uA){let r=this.handlers,n=o||uA;!e||typeof e!="string"||typeof i!="function"||(r[n]||(r[n]={}),r[n][e].push(i))}async exec(e,i,o=uA){let r=this.handlers,n=o||uA;return new Promise(async a=>{try{let s=null;if((!e||typeof e!="string")&&(s=new Error("illegal parameter")),r[n]||(s=new Error("unknown namespace")),(!Array.isArray(r[n][e])||!(r[n][e][0]instanceof Function))&&(s=new Error("unknown listening function")),s){a({error:s,data:null,__arguments:{eventName:e,params:i,spaceName:n}});return}let l=await r[n][e][0](i);a({error:null,data:l,__arguments:{eventName:e,params:i,spaceName:n}})}catch(s){a({error:s,data:null,__arguments:{eventName:e,params:i,spaceName:n}})}})}clearEvent(e,i=uA){let o=this.handlers,r=i||uA;!e||typeof e!="string"||!o[r]||delete o[r][e]}clearNameSpace(e=uA){let i=this.handlers,o=e||uA;i[o]&&(i[o]={})}};var pA=new um,mA="importFileDescr";var dBe=class extends qe{constructor(e){super(),this.parent=e,this._files=[],this._filePasswords=[],this._filePasswordVisible="Hidden",this._isShowFileName=!1}get files(){return this._files}set files(e){this._files=e,this.notify()}get filePasswords(){return this._filePasswords}set filePasswords(e){this._filePasswords=e,this.notify()}get filePasswordVisible(){return this._filePasswordVisible}set filePasswordVisible(e){this._filePasswordVisible=e,this.notify()}get isShowFileName(){return this._isShowFileName}set isShowFileName(e){this._isShowFileName=e,this.notify()}async initial(e){typeof e.files<"u"&&(this.files=e.files),typeof e.filePasswords<"u"&&(this.filePasswords=e.filePasswords),typeof e.filePasswordVisible<"u"&&(this.filePasswordVisible=e.filePasswordVisible),typeof e.isShowFileName<"u"&&(this.isShowFileName=e.isShowFileName)}whenFilePasswordChanged(e){this.filePasswords[0]=e}whenFilePasswordVisibleStatusChanged(){if(this.filePasswordVisible==="Hidden"){this.filePasswordVisible="Show";return}if(this.filePasswordVisible==="Show"){this.filePasswordVisible="Hidden";return}}};async function I3i(t){let e=new cTt;return await e.initial(t),e}var cTt=class extends qe{constructor(){super(),this._dialogProps=null,this._dialogReady=!1,this._isDecryptioning=!1,this._confirmBtnDisabled=!0,this._confirmBtnText="Confirm",this.baseInfo=new dBe(this)}set dialogReady(e){this._dialogReady=e}get dialogReady(){return this._dialogReady}set dialogProps(e){this._dialogProps=e}get dialogProps(){return this._dialogProps}set isDecryptioning(e){this._isDecryptioning=e,this.notify()}get isDecryptioning(){return this._isDecryptioning}set confirmBtnDisabled(e){this._confirmBtnDisabled=e,this.notify()}get confirmBtnDisabled(){return this._confirmBtnDisabled}set confirmBtnText(e){this._confirmBtnText=e,this.notify()}get confirmBtnText(){return this._confirmBtnText}async initial(e){this.dialogProps=e,await this.baseInfo.initial(this.dialogProps)}whenDialogReady(){this._dialogReady=!0}createConfitmSubmitData(){return{isShowFileName:this.baseInfo.isShowFileName,files:this.baseInfo.files,filePasswords:this.baseInfo.filePasswords}}},ZZ=(0,M3i.createContext)(void 0);var mBe=L(Se()),A3i=L(XTe());var Jpe=L(Se()),dTt=L(XTe());var wj=L(z()),{locals:uBe}=dTt.default;function L3i(){let t=J(),e=be.bind(dTt.default.locals),i=(0,Jpe.useContext)(ZZ);Ce(i.baseInfo);let[o,r]=(0,Jpe.useState)(i.baseInfo.filePasswords[0]),n=c=>{let d=c.target.value;r(d),i.baseInfo.filePasswords=[d],i.confirmBtnDisabled=!d},a=c=>{let d=c.target.value;i.baseInfo.whenFilePasswordChanged(d)},s=c=>{let d=c.target;d&&d.select()},l=c=>{i.baseInfo.whenFilePasswordVisibleStatusChanged()};return(0,Jpe.useEffect)(()=>{i.baseInfo.filePasswords[0]!==o&&r(i.baseInfo.filePasswords[0])},[i.baseInfo.filePasswords[0]]),(0,wj.jsxs)("div",{className:uBe["profileline-wrapper"],style:{border:"1px solid var(--common-border-color)",borderRadius:"3px",padding:"16px 16px"},children:[(0,wj.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:uBe["profileline-label-wrapper"],children:(0,wj.jsx)("span",{title:t("Please enter password"),"data-test":"Please enter password",i18n:"Please enter password",children:t("Please enter password")})}),(0,wj.jsx)("div",{className:uBe["profileline-content-wrapper"],children:(0,wj.jsx)("input",{type:i.baseInfo.filePasswordVisible==="Hidden"?"password":"text",value:o,name:"filePassword",style:{width:"100%",height:"24px"},onChange:n,onBlur:a,onFocus:s,autoComplete:"off"})}),(0,wj.jsx)("div",{className:uBe["profileline-tips-wrapper"],children:(0,wj.jsx)("div",{style:{width:"30px",height:"24px",display:"flex",justifyContent:"center",alignContent:"center",alignItems:"center"},children:(0,wj.jsx)("i",{className:i.baseInfo.filePasswordVisible==="Show"?e("icon-eda-eye"):e("icon-eda-no-eye"),onClick:l})})})]})}var qpe=L(Se()),uTt=L(XTe());function v3i(t,e){t.innerHTML="";let o=t.getBoundingClientRect().toJSON(),r=document.createElement("div");if(r.appendChild(document.createRange().createContextualFragment(`<div style="white-space: nowrap;">${e}</div>`)),r.style.position="fixed",r.style.left="-9999px",r.style.top="-9999px",r.style.width="fit-content",r.innerHTML=e,document.body.appendChild(r),r.getBoundingClientRect().toJSON().width>o.width){let s=o.width/2,l=document.createElement("div");l.style.display="block",l.style.position="absolute",l.style.left="0px",l.style.top="0px",l.style.overflow="hidden",l.style.textOverflow="ellipsis",l.style.width=s+"px",l.style.height="24px",l.style.whiteSpace="nowrap",l.style.textOverflow="ellipsis",l.innerHTML=e;let c=document.createElement("div");c.style.display="block",c.style.position="absolute",c.style.left=s-12+"px",c.style.top="0px",c.style.overflow="hidden",c.style.width=s+"px",c.style.height="24px",c.style.whiteSpace="nowrap",c.style.textOverflow="ellipsis",c.style.direction="rtl",c.innerHTML=e,t.appendChild(l),t.appendChild(c),r.remove();return}let a=document.createElement("div");a.style.display="-webkit-box",a.style.position="absolute",a.style.left="0px",a.style.top="0px",a.style.overflow="hidden",a.style.textOverflow="ellipsis",a.style.height="24px",a.innerHTML=e,t.appendChild(a),r.remove()}var E3i=L(z()),{locals:abr}=uTt.default;function D3i(){let t=J(),e=be.bind(uTt.default.locals),i=(0,qpe.useContext)(ZZ);Ce(i.baseInfo);let o=(0,qpe.useRef)(null),r=i.baseInfo.files.map(n=>n.name).join(", ");return(0,qpe.useEffect)(()=>{o.current&&Yn(()=>{v3i(o.current,r)},300)},[r]),(0,E3i.jsx)("div",{ref:o,className:abr["profileline-wrapper"],title:r,style:{position:"relative",height:"24px",userSelect:"none"}})}var JZ=L(z()),{locals:pBe}=A3i.default;function N3i(t){let{dialogHeight:e,containerId:i}=t,o=J(),r=`pop-content-wrapper display-flex flex-nowrap ${pBe["main-container"]}`,n=(0,mBe.useContext)(ZZ);return Ce(n),Ce(n.baseInfo),(0,mBe.useEffect)(()=>{pA.emit("syncDialogFootButtonsState",{containerId:i,confirmBtnDisabledStatus:n.confirmBtnDisabled,confirmBtnTextString:n.confirmBtnText},mA)},[i,n.confirmBtnDisabled,n.confirmBtnText]),(0,JZ.jsx)("div",{className:r,children:(0,JZ.jsx)("div",{className:pBe["basecontent-wrapper"],children:(0,JZ.jsx)("div",{className:pBe["section-area-wrapper"],style:{padding:"0 0 8px 0"},children:(0,JZ.jsxs)("div",{className:pBe["section-area"],children:[n.baseInfo.isShowFileName?(0,JZ.jsx)(D3i,{}):null,(0,JZ.jsx)(L3i,{})]})})})})}var hA=L(z()),{locals:pTt}=hBe.default,k3i=null;var sbr=t=>{let e=J(),{dialogWidth:i,dialogHeight:o,containerId:r,dialogId:n,onDialogOpen:a,onDialogCancel:s,onDialogClose:l,onDialogConfirm:c,onDialogClosed:d}=t,[u,p]=(0,qZ.useState)(null),m=(0,qZ.useRef)(null);m.current=u;let h=t.height-168,f=`${pTt["view-loading-wrapper"]}`,g=`${pTt["view-loading"]}`,b=`rotation ${pTt["view-loading-rotation"]}`,y=async w=>{if(w==="confirm"){if(m.current.isDecryptioning)return;if(m.current.isDecryptioning=!0,(c?await c(m.current.createConfitmSubmitData(),m.current):!0)===!1){m.current.isDecryptioning=!1;return}m.current.isDecryptioning=!1,le.close(r);return}w==="cancel"&&s&&s(),await oo({action:w,dialogId:n,formData:{}}),le.close(r)};return(0,qZ.useLayoutEffect)(()=>{window.clearTimeout(k3i),k3i=window.setTimeout(()=>{I3i(t).then(w=>{p(w),a&&a()})},30)},[]),(0,qZ.useEffect)(()=>(pA.clearEvent("dialogFootBtnClicked",mA),pA.on("dialogFootBtnClicked",({action:w})=>{y(w)},mA),()=>{m.current=null,d&&d()}),[]),Bt(w=>{let{key:x}=w;x==="Enter"&&window.setTimeout(()=>{y("confirm")},100)}).keyboard(r),u?(0,hA.jsxs)("div",{className:"pop-content-container",style:{width:"100%",height:"100%"},children:[(0,hA.jsx)("style",{children:String(hBe.default)}),(0,hA.jsx)(ZZ.Provider,{value:u,children:(0,hA.jsx)(N3i,{dialogHeight:o,containerId:r})})]}):(0,hA.jsxs)("div",{className:"pop-content-container",children:[(0,hA.jsx)("style",{children:String(hBe.default)}),(0,hA.jsx)("div",{className:f,style:{height:o+"px"},children:(0,hA.jsx)("div",{className:g,children:(0,hA.jsx)("div",{className:b,children:(0,hA.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})]})},P3i=sbr;var $pe=L(Se());var Xpe=L(z());function O3i(){let t=J(),e=(0,$pe.useRef)({containerId:"",confirmBtnDisabledStatus:!0,confirmBtnTextString:"Confirm"}),[i,o]=(0,$pe.useState)(0),r=n=>{pA.emit("dialogFootBtnClicked",{action:n},mA)};return(0,$pe.useLayoutEffect)(()=>{pA.clearEvent("syncDialogFootButtonsStatus",mA),pA.on("syncDialogFootButtonsState",n=>{typeof n.containerId<"u"&&(e.current.containerId=n.containerId),typeof n.confirmBtnDisabledStatus<"u"&&(e.current.confirmBtnDisabledStatus=n.confirmBtnDisabledStatus),typeof n.confirmBtnTextString<"u"&&(e.current.confirmBtnTextString=n.confirmBtnTextString),o(a=>a+1)},mA)},[]),(0,Xpe.jsx)("div",{style:{width:"100%",display:"flex",alignContent:"center",alignItems:"center",justifyContent:"flex-end",position:"relative",padding:"5px 0 0 0"},"data-refresh":i,children:(0,Xpe.jsxs)("div",{children:[(0,Xpe.jsx)(Me,{disabled:e.current.confirmBtnDisabledStatus,type:"primary",style:{marginRight:"8px"},onClick:()=>r("confirm"),children:e.current.confirmBtnTextString}),(0,Xpe.jsx)(Me,{onClick:()=>r("cancel"),children:"Cancel"})]})})}var mTt=L(z());async function R3i(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i,l=t.dialogTitle||r;return pA.clearNameSpace(mA),le.open({id:o,title:l,width:n,height:a,closed:s,esc:!0,folded:!1,footer:(0,mTt.jsx)(O3i,{}),children:(0,mTt.jsx)(P3i,{containerId:o,dialogId:t.dialogId,...i,...t,dialogWidth:n,dialogHeight:a}),onClose:()=>{t.onDialogClose&&t.onDialogClose(),pA.clearNameSpace(mA)}}),le}async function _3i(t){return await ii("fileDescrImportManager",{...t})}async function fBe(t,e){let i=[];for(let o=0;o<t.length;o++){if(!(await C.messageBus.rpcCall("/pro-mgr/isEncrypted",[t[o]])).message){i.push({success:!0,file:t[0],password:void 0});continue}let n=await new Promise(async(a,s)=>{_3i({files:[t[o]],filePasswords:[],isShowFileName:e.isShowFileNameOnDescrDialog,async onDialogConfirm(l,c){let{files:d,filePasswords:u,isShowFileName:p}=l;if(u[0]==""){new Fi({type:"warn",msg:"Please enter password"});return}return(await C.messageBus.rpcCall("/pro-mgr/checkPassword",[[d[0]],u[0]])).message?(a({success:!0,file:d[0],password:u[0]}),!0):(new Fi({type:"warn",msg:"Password incorrect, please re-enter"}),!1)},onDialogCancel(){a({success:!1,file:t[0],password:void 0})},onDialogClose(){a({success:!1,file:t[0],password:void 0})}})});i.push(n)}return i}var tJ=L(Se());var _Be=L(fA());var J3i=L(Se());var bBe=["*.zip","*.json"],lbr=[],cbr=[],hTt=["*.zip"],fTt=["*.epro","*.epro2","json"],gTt=["*.elibz","*.elibz2","*.esym","*.efoo","*.epanl"],Lre=[...hTt,...fTt,...gTt,...lbr,...cbr],dbr=["*.pcbdoc"],ubr=["*.schdoc"],pbr=["*.schlib"],mbr=["*.pcblib"],hbr=["*.schlib"],bTt=[...pbr,...mbr],fbr=["*.prjpcb"],$Te=["*.zip",...dbr,...ubr,...bTt,...hbr,...fbr];Xr&&$Te.push("*.intlib");var yTt=["*.xml","*.edra"],yBe=["*.zip","*.ebrd","*.edf","*.edif",...yTt],wTt=["*.lbr"],wBe=["*.zip","*.sch","*.brd",...wTt],gbr=["*.kicad_pcb"],bbr=["*.sch","*.kicad_sch"],ybr=["*.kicad_wks"],wbr=["*.mod","*.kicad_mod"],CTt=[...ybr,...wbr],Cbr=["*.pro","*.kicad_pro","*.kicad_sym"],CBe=["*.zip","*.lib",...gbr,...bbr,...CTt,...Cbr],xbr=["*.d"],Tbr=["*.c"],Sbr=["*.1","*.2","*.3","*.4","*.5","*.6","*.7","*.8","*.9"],xTt=[...xbr,...Tbr,...Sbr],xBe=["*.asc","*.txt","*.zip","*.eds",...xTt],B3i=["*.asc","*.zip","*.d"],Mbr=["*.pcb"],Ibr=["*.sch"],z3i=[],TBe=["*.zip",...Mbr,...Ibr],SBe=["*.zip","*.asy"],MBe=["*.zip","*.xml.dsym","*.json.dsym","*.xml.dfoo","*.json.dfoo"];function Kb(t,e){return t?t.some((i,o,r)=>e(i,o,r)):!1}function Zb(t,e){let i=uu.checkIsLegalType(t);if(!i.success)return i;let o=e.map(a=>{let s=a.split("*");return s[1]||s[0]}),{fileNames:r}=i;return Kb(r,a=>Kb(o,s=>a.toLowerCase().endsWith(s.toLowerCase())))?{success:!0,message:"",fileExtensions:i.fileExtensions}:{success:!1,message:me.i18n("Please select {type} files",{type:o.join(", ")}),fileExtensions:i.fileExtensions}}var uu=class t{static checkIsLegalType(e){let i=new Set,o=new Set;for(let r=0;r<e.length;r++){let n=e[r].name,a=n.split(".").pop().toLowerCase();i.add(a),o.add(n)}if(i.size<=0)throw new Error("selected illegal files.");return i.size>=2?{success:!1,message:me.i18n("Doesn't support multiple file extensions import at the same time."),fileExtensions:Array.from(i),fileNames:Array.from(o)}:{success:!0,message:"",fileExtensions:Array.from(i),fileNames:Array.from(o)}}static checkIsLegalMaxBytes(e,i){let o=0;for(let r=0;r<e.length;r++)o+=e[r].size;return o>i?{success:!1,message:me.i18n("Exceeded the maximum allowed file size: {size}!",{size:Math.round(i/1024/1024)+"MB"}),totalBytes:o}:{success:!0,message:"",totalBytes:o}}static checkIsLegalJLCEDAStandardType(e){return Zb(e,bBe)}static checkIsLegalJLCEDAProfessionalOldType(e){return Zb(e,hTt)}static checkIsLegalJLCEDAProfessionalLibType(e){return Zb(e,gTt)}static checkIsLegalJLCEDAProfessionalPrjType(e){return Zb(e,fTt)}static async checkIsSuccessCouldParseAsJLCEDAProfessionalFile(e,i){i&&i(.01);let o=await t.checkIsSuccessCouldParseAsJLCEDAProfessionalPrjFile(e,(n,a)=>{i&&i(.49+.49*((a+1)/e.length))});if(o.success)return i&&i(1),o;let r=await t.checkIsSuccessCouldParseAsJLCEDAProfessionalLibFile(e,(n,a)=>{i&&i(.01+.49*((a+1)/e.length))});return i&&i(1),r}static async checkIsSuccessCouldParseAsJLCEDAProfessionalLibFile(e,i){let o=t.checkIsLegalJLCEDAProfessionalLibType(e);if(o.success)return o;for(let r=0;r<e.length;r++)try{i&&i(e[r],r),o.success=await la.checkLibZip({data:e[r]}),o.message=!o.success&&me.i18n("Extract lib failed!")}catch(n){o.success=!1,o.message=n.message||n.msg||me.i18n("Extract lib failed!");break}return o}static async checkIsSuccessCouldParseAsJLCEDAProfessionalPrjFile(e,i){let o=t.checkIsLegalJLCEDAProfessionalPrjType(e);if(!o.success)return o;for(let r=0;r<e.length;r++)try{i&&i(e[r],r),o.success=await la.checkProjectZip({data:e[r]}),o.message=!o.success&&me.i18n("Extract project failed!")}catch(n){o.success=!1,o.message=n.message||n.msg||me.i18n("Extract project failed!");break}return o}static checkIsLegalJLCEDAProfessionalType(e){return Zb(e,Lre)}static checkIsLegalAltiumDesignerType(e){return Zb(e,$Te)}static checkIsLegalAltiumDesignerLibType(e){return Zb(e,bTt)}static checkIsLegalAllegroOrCadType(e){return Zb(e,yBe)}static checkIsLegalAllegroOrCadLibType(e){return Zb(e,yTt)}static checkIsLegalEAGLEType(e){return Zb(e,wBe)}static checkIsLegalEAGLELibType(e){return Zb(e,wTt)}static checkIsLegalKiCadType(e){return Zb(e,CBe)}static checkIsLegalKiCadLibType(e){return Zb(e,CTt)}static checkIsLegalPADSType(e){return Zb(e,xBe)}static checkIsLegalPADSLibType(e){return Zb(e,xTt)}static checkIsLegalPADSFootprintSourceType(e){return Zb(e,B3i)}static checkIsLegalProtelType(e){return Zb(e,TBe)}static checkIsLegalProtelLibType(e){return Zb(e,z3i)}static checkIsLegalLTspiceType(e){return Zb(e,SBe)}static checkIsLegalDisaType(e){return Zb(e,MBe)}};var gA=new um,bA="importAnalysis";function OT(t){let e=[];return e.push({text:"Import Document",value:"ImportDocument",disabled:!!t.ImportDocument||!1}),e.push({text:"Extract Libraries",value:"ExtractLibraries",disabled:!!t.ExtractLibraries||!1}),e.push({text:"Import Document and Extract Libraries",value:"ImportDocumentExtractLibraries",disabled:!!t.ImportDocumentExtractLibraries||!1}),e}function h4(t,e){let i=Object.values(t);return((e==null?void 0:e.length)>0?i.filter(r=>!e.includes(r)):i).join(", ")}function TTt(){return vo||b8}var Lbr={easyeda:h4(CPe),"easyeda-pro":h4(Dyt),"easyeda-pro-2":h4(xPe),altium:TTt()?h4(Eyt):h4(KCe),protel:h4(Ayt),allegro:h4(Nyt),allegro_orcad:h4(kyt),eagle:h4(Pyt),kicad:h4(Oyt),pads:h4(Ryt),ltspice:h4(_yt),dxf:h4(jyt),svg:h4(Byt),"smt-coordinate":h4(zyt),"smt-bom":h4(Fyt),"smt-jlcjson":h4(Uyt),"smt-engine-preview":h4(Vyt),"disa-4001":h4(ZCe)};function F3i(t){return Lbr[t]||""}var vbr={pads:{encoding:["GB18030","utf8"]},protel:{encoding:["utf8","gbk"]},dxf:{encoding:["utf8","gbk"]},altium:{encoding:["utf8","gbk"],encodingMatchCall:t=>t&&/%UTF8%/.test(t)}};function U3i(t){return vbr[t]||null}var V3i=1*1024*1024;function LBe(t,e){let i={altium:"13",kicad:"15",eagle:"14",pads:"16",protel:"17",ltspice:"18",proeda:"19",easyeda:"20",allegro_orcad:"25","disa-4001":"29"};i[t]&&Pl(i[t],e.map(o=>o.name).join(", "),!1)}async function eme(t,e){var A,D,E,N,R;let{files:i,fileSelectType:o,selectedViaSolderMaskExpansionType:r,selectedSchPrimitiveStyleType:n,selectedBoardOutlineSourceType:a,selectedDeviceNameSourceType:s,isAutoAssoicaFootprint:l,isAutoAssoicaD3Model:c,chameleonTarget:d,isImportNotes:u,createSamePart:p}=t,m=o,h=d;vt(e.range[0]+(e.range[1]-e.range[0])*.1,e.tagName);let f=await yA(i,{decodingType:m});if(!f)return;let g={borderSource:a,DeviceNameSource:s};m==="dxf"&&h==="smt-engine-preview"&&(g.defaultLayer={layerType:"OUTLINE",layerIndex:0,checked:!0}),m=="pads"?g.createSamePart=p:m==="allegro_orcad"?g.isImportNotes=u:m==="altium"&&(g.filterBinary=TTt()),vt(e.range[0]+(e.range[1]-e.range[0])*.5,e.tagName);let b={useDefaultStyle:n=="system",viaSolderExpansion:r=="cover"?"cover":"custom",associate3D:c,isSimple:mt.getSymbolLibManage()==="1"},y=await RT({decodingOptions:{decodingType:m,decodingData:f.decodingData,decoderOptions:g},encodingOptions:{encodingType:h,encoderOptions:b},projectName:f.fileTitle},{conversionStartingCall:v=>{f.decodingData.length=0}});if(vt(e.range[0]+(e.range[1]-e.range[0])*1,e.tagName),!y)return LBe(o,i),{success:!1,code:"conversion-error",message:"The imported file format incorrect or doesn't match current type, please re-select and import.",result:null,workerId:null};if((E=(D=(A=y.result)==null?void 0:A.extension)==null?void 0:D.decodingData)!=null&&E.errorSymbolData&&Ope((N=y.result)==null?void 0:N.extension),y.code=="conversion-interrupted")return y;if(y.code!="success"){LBe(o,i);let v=me.i18n("Convert abnormalities, wrong code:")+y.code;return{success:!1,code:"conversion-error",message:v,result:null,workerId:null}}let w=y.result,{deviceSize:x=0,footprintSize:S=0,symbolSize:T=0,pcbSize:M=0,sheetSize:I=0}=((R=w.extension)==null?void 0:R.projectDataCount)||{};return x<=0&&S<=0&&T<=0&&M<=0&&I<=0?(LBe(o,i),{success:!1,code:"conversion-error",message:"The imported file format incorrect or doesn't match current type, please re-select and import.",result:null,workerId:null}):(LBe(o,i),y)}async function vre(t,e,i={},o={}){var d;let{isAutoAlert:r=!1,enableStrictCheckingForJLCPro:n=!1,enableStrictCheckingForNotJLCPro:a=!1}=i,s={success:!1,message:"",fileExtensions:[],isLibFile:!1,chamelenoCovertRes:null},l=null,c=!1;switch(t){case"easyeda":{l=uu.checkIsLegalJLCEDAStandardType(e);break}case"proeda":{if(c=!0,l=uu.checkIsLegalJLCEDAProfessionalType(e),!l.success){s.isLibFile=!1;break}if(uu.checkIsLegalJLCEDAProfessionalLibType(e).success?s.isLibFile=!0:s.isLibFile=!1,n){let p={success:!1,message:"",fileExtensions:[]};p=await uu.checkIsSuccessCouldParseAsJLCEDAProfessionalPrjFile(e),p.success?s.isLibFile=!1:(p=await uu.checkIsSuccessCouldParseAsJLCEDAProfessionalLibFile(e),p.success?s.isLibFile=!0:s.isLibFile=!1),l.success=p.success,l.fileExtensions=p.fileExtensions,l.message=p.message}break}case"altium":{l=uu.checkIsLegalAltiumDesignerType(e);let u=uu.checkIsLegalAltiumDesignerLibType(e);s.isLibFile=!!u.success;break}case"allegro_orcad":{l=uu.checkIsLegalAllegroOrCadType(e);let u=uu.checkIsLegalAllegroOrCadLibType(e);s.isLibFile=!!u.success;break}case"eagle":{l=uu.checkIsLegalEAGLEType(e);let u=uu.checkIsLegalEAGLELibType(e);s.isLibFile=!!u.success;break}case"kicad":{l=uu.checkIsLegalKiCadType(e);let u=uu.checkIsLegalKiCadLibType(e);s.isLibFile=!!u.success;break}case"pads":{l=uu.checkIsLegalPADSType(e);let u=uu.checkIsLegalPADSLibType(e);s.isLibFile=!!u.success;break}case"protel":{l=uu.checkIsLegalProtelType(e);let u=uu.checkIsLegalProtelLibType(e);s.isLibFile=!!u.success;break}case"ltspice":{l=uu.checkIsLegalLTspiceType(e);break}case"disa-4001":{l=uu.checkIsLegalDisaType(e);break}}if(l&&(s.success=l.success,s.message=l.message,s.fileExtensions=l.fileExtensions,a&&!c&&s.success)){let u=await eme({files:e,fileSelectType:t,selectedViaSolderMaskExpansionType:o.selectedViaSolderMaskExpansionType||"cover",selectedSchPrimitiveStyleType:o.selectedSchPrimitiveStyleType||"custom",selectedBoardOutlineSourceType:o.selectedBoardOutlineSourceType||"keepout",selectedDeviceNameSourceType:o.selectedDeviceNameSourceType||"design-item-id",isAutoAssoicaFootprint:typeof o.isAutoAssoicaFootprint<"u"?!!o.isAutoAssoicaFootprint:!0,isAutoAssoicaD3Model:typeof o.isAutoAssoicaD3Model<"u"?!!o.isAutoAssoicaD3Model:!0,isImportNotes:typeof o.isImportNotes<"u"?!!o.isImportNotes:!0,chameleonTarget:o.chameleonTarget||"easyeda-pro-2",createSamePart:typeof o.createSamePart<"u"?!!o.createSamePart:!1},{tagName:"ANALYSIS_IMPORTFILE",range:[0,.9]});if(s.chamelenoCovertRes=u,!u||!u.success)s.success=!1,s.message=u?u.message:s.message,r&&u.message&&Ut({type:"error",message:u.message});else{let p=u.result,{deviceSize:m=0,footprintSize:h=0,symbolSize:f=0,pcbSize:g=0,sheetSize:b=0}=((d=p.extension)==null?void 0:d.projectDataCount)||{};m<=0&&h<=0&&f<=0&&g<=0&&b<=0?(s.success=!1,s.isLibFile=!1,s.message="The imported file format incorrect or doesn't match current type, please re-select and import."):g<=0&&b<=0?s.isLibFile=!0:s.isLibFile=!1}vt(1,"ANALYSIS_IMPORTFILE")}return s.success||r&&s.message&&Dt({icon:"error",closed:!0,content:me.i18n(s.message)}),s}var Cj=class t extends qe{constructor(e){super(),this.parent=e,this._isMultipe=!0,this._fileTypeList=t.FILE_TYPE_LIST,this._fileTypeListDisabled=!1,this._selectedFileType=t.SELECTED_FILE_TYPE,this._selectedFiles=[],this._selectedFileNames=[],this._selectFileFormDisabled=!1,this._isMatchLibFiles=!1,this._allowFileMaxByte=1024*1024*1024,this._fileSelectedFrom="Unknown",this._chameleonTarget="easyeda-pro-2",this._forSmt=!1,this._forEngine=!1}get isMultipe(){return this._isMultipe}set isMultipe(e){this._isMultipe=e,this.notify()}get fileTypeList(){return this._fileTypeList}set fileTypeList(e){this._fileTypeList=e,this.notify()}get fileTypeListDisabled(){return this._fileTypeListDisabled}set fileTypeListDisabled(e){this._fileTypeListDisabled=e,this.notify()}get selectedFileType(){return this._selectedFileType}set selectedFileType(e){this._selectedFileType=e,this.notify()}get selectedFiles(){return this._selectedFiles}set selectedFiles(e){this._selectedFiles=e,this.notify()}get selectedFileNames(){return this._selectedFileNames}set selectedFileNames(e){this._selectedFileNames=e,this.notify()}get selectFileFormDisabled(){return this._selectFileFormDisabled}set selectFileFormDisabled(e){this._selectFileFormDisabled=e,this.notify()}get isMatchLibFiles(){return this._isMatchLibFiles}set isMatchLibFiles(e){this._isMatchLibFiles=e,this.notify()}get allowFileMaxByte(){return this._allowFileMaxByte}set allowFileMaxByte(e){this._allowFileMaxByte=e,this.notify()}get chameleonTarget(){return this._chameleonTarget}set chameleonTarget(e){this._chameleonTarget=e,this.notify()}get forSmt(){return this._forSmt}set forSmt(e){this._forSmt=e,this.notify()}get forEngine(){return this._forEngine}set forEngine(e){this._forEngine=e,this.notify()}get fileSelectedFrom(){return this._fileSelectedFrom}set fileSelectedFrom(e){this._fileSelectedFrom=e,this.notify()}async initial(e){typeof e.fileSelectedFrom<"u"&&(this.fileSelectedFrom=e.fileSelectedFrom),typeof e.fileTypeListDisabled<"u"&&(this.fileTypeListDisabled=!!e.fileTypeListDisabled),typeof e.fileSelectType<"u"&&(this.selectedFileType=e.fileSelectType),typeof e.chameleonTarget<"u"&&(this.chameleonTarget=e.chameleonTarget),typeof e.forSmt<"u"&&(this.forSmt=e.forSmt),typeof e.forEngine<"u"&&(this.forEngine=e.forEngine),this.whenFileTypeChanged(this.selectedFileType,!1),typeof e.files<"u"&&e.files.length&&this.whenSelectedFiles(e.files)}whenFileTypeChanged(e,i=!0){switch(this.selectedFileType=e,t.SELECTED_FILE_TYPE=e,i&&(this.selectedFiles=[],this.selectedFileNames=[],this.parent.importBtnDisabled=!0),e){case"easyeda":{this.selectedFiles.length&&(this.fileSelectedFrom="ChameleonSelector"),this.isMultipe=!1,this.parent.commonOptions.isShow=!0,this.parent.schPrimitiveStyle.isShow=!0,this.parent.bindModel.isShow=!0,this.parent.bindModel.showCreateSamePart=!1,this.parent.viaSolderMaskExpansion.isShow=!1,this.parent.boardOutlineSource.isShow=!1,this.parent.deviceNameSource.isShow=!1,this.parent.notes.isShow=!1,this.parent.commonOptions.importTypeList=OT({ImportDocument:!1,ExtractLibraries:!this.selectedFiles.length,ImportDocumentExtractLibraries:!this.selectedFiles.length}),this.parent.commonOptions.selectedImportType="ImportDocument";break}case"proeda":{this.selectedFiles.length&&(this.fileSelectedFrom="NormalSelector"),this.isMultipe=!0,this.parent.commonOptions.isShow=!0,this.parent.schPrimitiveStyle.isShow=!1,this.parent.bindModel.isShow=!0,this.parent.bindModel.showCreateSamePart=!1,this.parent.viaSolderMaskExpansion.isShow=!1,this.parent.boardOutlineSource.isShow=!1,this.parent.deviceNameSource.isShow=!1,this.parent.notes.isShow=!1,this.parent.commonOptions.importTypeList=OT({ImportDocument:!1,ExtractLibraries:!this.selectedFiles.length,ImportDocumentExtractLibraries:!this.selectedFiles.length}),this.parent.commonOptions.selectedImportType="ImportDocument";break}case"altium":{this.selectedFiles.length&&(this.fileSelectedFrom="ChameleonSelector"),this.isMultipe=!1,this.parent.commonOptions.isShow=!0,this.parent.schPrimitiveStyle.isShow=!0,this.parent.bindModel.isShow=!0,this.parent.bindModel.showCreateSamePart=!1,this.parent.viaSolderMaskExpansion.isShow=!0,this.parent.boardOutlineSource.isShow=!0,this.parent.deviceNameSource.isShow=!0,this.parent.notes.isShow=!1,this.parent.commonOptions.importTypeList=OT({ImportDocument:!1,ExtractLibraries:!this.selectedFiles.length,ImportDocumentExtractLibraries:!this.selectedFiles.length}),this.parent.commonOptions.selectedImportType="ImportDocument";break}case"allegro_orcad":{this.selectedFiles.length&&(this.fileSelectedFrom="ChameleonSelector"),this.isMultipe=!1,this.parent.commonOptions.isShow=!0,this.parent.schPrimitiveStyle.isShow=!0,this.parent.bindModel.isShow=!0,this.parent.bindModel.showCreateSamePart=!1,this.parent.viaSolderMaskExpansion.isShow=!1,this.parent.boardOutlineSource.isShow=!1,this.parent.deviceNameSource.isShow=!1,this.parent.notes.isShow=!0,this.parent.commonOptions.importTypeList=OT({ImportDocument:!1,ExtractLibraries:!this.selectedFiles.length,ImportDocumentExtractLibraries:!this.selectedFiles.length}),this.parent.commonOptions.selectedImportType="ImportDocument";break}case"eagle":{this.selectedFiles.length&&(this.fileSelectedFrom="ChameleonSelector"),this.isMultipe=!1,this.parent.commonOptions.isShow=!0,this.parent.schPrimitiveStyle.isShow=!0,this.parent.bindModel.isShow=!0,this.parent.bindModel.showCreateSamePart=!1,this.parent.viaSolderMaskExpansion.isShow=!1,this.parent.boardOutlineSource.isShow=!1,this.parent.deviceNameSource.isShow=!1,this.parent.notes.isShow=!1,this.parent.commonOptions.importTypeList=OT({ImportDocument:!1,ExtractLibraries:!this.selectedFiles.length,ImportDocumentExtractLibraries:!this.selectedFiles.length}),this.parent.commonOptions.selectedImportType="ImportDocument";break}case"kicad":{this.selectedFiles.length&&(this.fileSelectedFrom="ChameleonSelector"),this.isMultipe=!1,this.parent.commonOptions.isShow=!0,this.parent.schPrimitiveStyle.isShow=!0,this.parent.bindModel.isShow=!0,this.parent.bindModel.showCreateSamePart=!1,this.parent.viaSolderMaskExpansion.isShow=!1,this.parent.boardOutlineSource.isShow=!1,this.parent.deviceNameSource.isShow=!1,this.parent.notes.isShow=!1,this.parent.commonOptions.importTypeList=OT({ImportDocument:!1,ExtractLibraries:!this.selectedFiles.length,ImportDocumentExtractLibraries:!this.selectedFiles.length}),this.parent.commonOptions.selectedImportType="ImportDocument";break}case"pads":{this.selectedFiles.length&&(this.fileSelectedFrom="ChameleonSelector"),this.isMultipe=!1,this.parent.commonOptions.isShow=!0,this.parent.schPrimitiveStyle.isShow=!0,this.parent.bindModel.isShow=!0,this.parent.bindModel.showCreateSamePart=!1,this.parent.viaSolderMaskExpansion.isShow=!1,this.parent.boardOutlineSource.isShow=!1,this.parent.deviceNameSource.isShow=!1,this.parent.notes.isShow=!1,this.parent.commonOptions.importTypeList=OT({ImportDocument:!1,ExtractLibraries:!this.selectedFiles.length,ImportDocumentExtractLibraries:!this.selectedFiles.length}),this.parent.commonOptions.selectedImportType="ImportDocument";break}case"protel":{this.selectedFiles.length&&(this.fileSelectedFrom="ChameleonSelector"),this.isMultipe=!1,this.parent.commonOptions.isShow=!0,this.parent.schPrimitiveStyle.isShow=!0,this.parent.bindModel.isShow=!0,this.parent.bindModel.showCreateSamePart=!1,this.parent.viaSolderMaskExpansion.isShow=!0,this.parent.boardOutlineSource.isShow=!0,this.parent.deviceNameSource.isShow=!0,this.parent.notes.isShow=!1,this.parent.commonOptions.importTypeList=OT({ImportDocument:!1,ExtractLibraries:!this.selectedFiles.length,ImportDocumentExtractLibraries:!this.selectedFiles.length}),this.parent.commonOptions.selectedImportType="ImportDocument";break}case"ltspice":{this.selectedFiles.length&&(this.fileSelectedFrom="ChameleonSelector"),this.isMultipe=!1,this.parent.commonOptions.isShow=!0,this.parent.schPrimitiveStyle.isShow=!0,this.parent.bindModel.isShow=!0,this.parent.bindModel.showCreateSamePart=!1,this.parent.viaSolderMaskExpansion.isShow=!1,this.parent.boardOutlineSource.isShow=!1,this.parent.deviceNameSource.isShow=!1,this.parent.notes.isShow=!1,this.parent.commonOptions.importTypeList=OT({ImportDocument:!1,ExtractLibraries:!this.selectedFiles.length,ImportDocumentExtractLibraries:!this.selectedFiles.length}),this.parent.commonOptions.selectedImportType="ImportDocument";break}case"disa-4001":{this.selectedFiles.length&&(this.fileSelectedFrom="ChameleonSelector"),this.isMultipe=!1,this.parent.commonOptions.isShow=!0,this.parent.schPrimitiveStyle.isShow=!0,this.parent.bindModel.isShow=!0,this.parent.bindModel.showCreateSamePart=!1,this.parent.viaSolderMaskExpansion.isShow=!1,this.parent.boardOutlineSource.isShow=!1,this.parent.deviceNameSource.isShow=!1,this.parent.notes.isShow=!1,this.parent.commonOptions.importTypeList=OT({ImportDocument:!1,ExtractLibraries:!this.selectedFiles.length,ImportDocumentExtractLibraries:!this.selectedFiles.length}),this.parent.commonOptions.selectedImportType="ImportDocument";break}}}async whenSelectedFiles(e){if(this.selectedFiles=e,this.selectedFileNames=this.selectedFiles.map(o=>o.name),this.parent.bindModel.showCreateSamePart=!1,this.selectedFileType==="pads"&&uu.checkIsLegalPADSFootprintSourceType(this.selectedFiles).success&&(this.parent.bindModel.showCreateSamePart=!0),this.selectedFiles.length>=2){if(this.selectedFileType==="proeda"){let o=await vre("proeda",this.selectedFiles,{isAutoAlert:!1,enableStrictCheckingForJLCPro:!1});if(!o.success){this.parent.importBtnDisabled=!0,this.selectedFiles=[],this.selectedFileNames=[],Ot("error",`<span class="i18n">${o.message}</span> `,void 0,!0),Dt({icon:"error",closed:!0,content:o.message});return}}this.parent.commonOptions.isShow=!1,this.parent.schPrimitiveStyle.isShow=!1,this.parent.bindModel.isShow=!0,this.parent.viaSolderMaskExpansion.isShow=!1,this.parent.boardOutlineSource.isShow=!1,this.parent.deviceNameSource.isShow=!1,this.parent.commonOptions.importTypeList=OT({ImportDocument:!0,ExtractLibraries:!0,ImportDocumentExtractLibraries:!0}),this.parent.commonOptions.selectedImportType="ImportDocument";return}let i=await vre(this.selectedFileType,this.selectedFiles,{isAutoAlert:!1,enableStrictCheckingForJLCPro:!1});if(!i.success){this.parent.importBtnDisabled=!0,this.selectedFiles=[],this.selectedFileNames=[],Ot("error",`<span class="i18n">${i.message}</span> `,void 0,!0),Dt({icon:"error",closed:!0,content:i.message});return}this.isMatchLibFiles=i.isLibFile,this.isMatchLibFiles?(this.parent.commonOptions.importTypeList=OT({ImportDocument:!1,ExtractLibraries:!0,ImportDocumentExtractLibraries:!0}),this.parent.commonOptions.selectedImportType="ImportDocument"):(this.parent.commonOptions.importTypeList=OT({ImportDocument:!1,ExtractLibraries:!1,ImportDocumentExtractLibraries:!1}),this.parent.commonOptions.selectedImportType="ImportDocument"),this.parent.importBtnDisabled=!1}whenClearSelectedFiles(){this.selectedFiles=[],this.selectedFileNames=[],this.isMatchLibFiles=!1,this.parent.importBtnDisabled=!0,this.whenFileTypeChanged(this.selectedFileType)}};function Y3i(){let t=[];return t.push({text:vo?me.i18n("EasyEDA(Standard) (*.zip, *.json)"):me.i18n("JLCEDA(Standard) (*.zip, *.json)"),value:"easyeda",accepts:[...bBe]}),t.push({text:me.i18n("JLCEDA(Professional) (*.zip,*.epro,*.epro2,*.elibz,*.elibz2,*.esym,*.efoo,*.epanl)"),value:"proeda",accepts:[...Lre]}),t.push({text:"Altium Designer (*.zip,*.schdoc,*.pcbdoc,*.schlib,*.intlib,*.pcblib)",value:"altium",accepts:[...$Te]}),t.push({text:"Allegro/OrCad (*.zip,*.ebrd,*.edra,*.edf,*edif,*.xml)",value:"allegro_orcad",accepts:[...yBe]}),t.push({text:"EAGLE (*.zip,*.sch,*.brd,*.lbr)",value:"eagle",accepts:[...wBe]}),t.push({text:"KiCad (*.zip,*.lib,*.kicad_sch,*.kicad_pcb,*.kicad_sym,*.kicad_mod,*.mod)",value:"kicad",accepts:[...CBe]}),t.push({text:"PADS/PADS Pro (*.asc,*.eds,*.txt,*.zip,*.d,*.c,*.1)",value:"pads",accepts:[...xBe]}),t.push({text:"Protel (*.zip,*.sch,*.pcb)",value:"protel",accepts:[...TBe]}),t.push({text:"LTspice (*.zip,*.asy)",value:"ltspice",accepts:[...SBe]}),t.push({text:"DISA 1004 (*.zip,*.xml.dsym,*.json.dsym,*.xml.dfoo,*.json.dfoo)",value:"disa-4001",accepts:[...MBe]}),t}var vBe=class extends qe{constructor(e){super(),this.parent=e,this._isShow=!0,this._importTypeList=OT({ImportDocument:!0,ExtractLibraries:!0,ImportDocumentExtractLibraries:!0}),this._selectedImportType="ImportDocument"}get isShow(){return this._isShow}set isShow(e){this._isShow=e,this.notify()}get importTypeList(){return this._importTypeList}set importTypeList(e){this._importTypeList=e,this.notify()}get selectedImportType(){return this._selectedImportType}set selectedImportType(e){this._selectedImportType=e,this.notify()}whenSelectedImportTypeChanged(e){this.selectedImportType=e}};function W3i(){let t=[];return t.push({text:"Use system theme(Change theme will update color)",value:"system",disabled:!1}),t.push({text:"Use source file style(Change theme will not update color)",value:"custom",disabled:!1}),t}var DBe=class extends qe{constructor(e){super(),this.parent=e,this._isShow=!1,this._schPrimitiveStyleTypeList=W3i(),this._selectedSchPrimitiveStyleType=this._schPrimitiveStyleTypeList[0].value}get isShow(){return this._isShow}set isShow(e){this._isShow=e,this.notify()}get schPrimitiveStyleTypeList(){return this._schPrimitiveStyleTypeList}set schPrimitiveStyleTypeList(e){this._schPrimitiveStyleTypeList=e,this.notify()}get selectedSchPrimitiveStyleType(){return this._selectedSchPrimitiveStyleType}set selectedSchPrimitiveStyleType(e){this._selectedSchPrimitiveStyleType=e,this.notify()}whenSelectedRadioChanged(e){this.selectedSchPrimitiveStyleType=e}};function Q3i(){let t=[];return t.push({text:"All Cover Oil",value:"cover",disabled:!1}),t.push({text:"Follow Original Setting",value:"custom",disabled:!1}),t}var EBe=class extends qe{constructor(e){super(),this.parent=e,this._isShow=!1,this._viaSolderMaskExpansionTypeList=Q3i(),this._selectedViaSolderMaskExpansionType=this._viaSolderMaskExpansionTypeList[0].value}get isShow(){return this._isShow}set isShow(e){this._isShow=e,this.notify()}get viaSolderMaskExpansionTypeList(){return this._viaSolderMaskExpansionTypeList}set viaSolderMaskExpansionTypeList(e){this._viaSolderMaskExpansionTypeList=e,this.notify()}get selectedViaSolderMaskExpansionType(){return this._selectedViaSolderMaskExpansionType}set selectedViaSolderMaskExpansionType(e){this._selectedViaSolderMaskExpansionType=e,this.notify()}whenSelectedRadioChanged(e){this.selectedViaSolderMaskExpansionType=e}};function K3i(){let t=[];return t.push({text:"From Keepout Layer",value:"keepout",disabled:!1}),t.push({text:"From Mechanical Layer 1",value:"mechanical",disabled:!1}),t}var ABe=class extends qe{constructor(e){super(),this.parent=e,this._isShow=!1,this._boardOutlineSourceTypeList=K3i(),this._selectedBoardOutlineSourceType=this._boardOutlineSourceTypeList[0].value}get isShow(){return this._isShow}set isShow(e){this._isShow=e,this.notify()}get boardOutlineSourceTypeList(){return this._boardOutlineSourceTypeList}set boardOutlineSourceTypeList(e){this._boardOutlineSourceTypeList=e,this.notify()}get selectedBoardOutlineSourceType(){return this._selectedBoardOutlineSourceType}set selectedBoardOutlineSourceType(e){this._selectedBoardOutlineSourceType=e,this.notify()}whenSelectedRadioChanged(e){this.selectedBoardOutlineSourceType=e}};var NBe=class extends qe{constructor(i){super();this._showCreateSamePart=!1;this._createSamePart=!1;this.parent=i,this._isShow=!1,this._isAutoAssoicaFootprint=!0,this._isAutoAssoicaD3Model=!0}get showCreateSamePart(){return this._showCreateSamePart}set showCreateSamePart(i){this._showCreateSamePart=i,this.notify()}get createSamePart(){return this._showCreateSamePart&&this._createSamePart}set createSamePart(i){this._createSamePart=i,this.notify()}get isShow(){return this._isShow}set isShow(i){this._isShow=i,this.notify()}get isAutoAssoicaFootprint(){return this._isAutoAssoicaFootprint}set isAutoAssoicaFootprint(i){this._isAutoAssoicaFootprint=i,this.notify()}get isAutoAssoicaD3Model(){return this._isAutoAssoicaD3Model}set isAutoAssoicaD3Model(i){this._isAutoAssoicaD3Model=i,this.notify()}whenCheckboxChanged(i,o){["isAutoAssoicaD3Model","isAutoAssoicaFootprint","createSamePart"].includes(i)&&(this[i]=o)}};var kBe=class extends qe{constructor(e){super(),this.parent=e,this._isShow=!1,this._isImportNotes=!0}get isShow(){return this._isShow}set isShow(e){this._isShow=e,this.notify()}get isImportNotes(){return this._isImportNotes}set isImportNotes(e){this._isImportNotes=e,this.notify()}whenCheckboxChanged(e,i){["isImportNotes"].includes(e)&&(this[e]=i)}};function Z3i(){let t=[];return t.push({text:"From design Item ID",value:"design-item-id",disabled:!1}),t.push({text:"From comment",value:"comment",disabled:!1}),t}var PBe=class extends qe{constructor(e){super(),this.parent=e,this._isShow=!1,this._deviceNameSourceTypeList=Z3i(),this._selectedDeviceNameSourceType=this._deviceNameSourceTypeList[0].value}get isShow(){return this._isShow}set isShow(e){this._isShow=e,this.notify()}get deviceNameSourceTypeList(){return this._deviceNameSourceTypeList}set deviceNameSourceTypeList(e){this._deviceNameSourceTypeList=e,this.notify()}get selectedDeviceNameSourceType(){return this._selectedDeviceNameSourceType}set selectedDeviceNameSourceType(e){this._selectedDeviceNameSourceType=e,this.notify()}whenSelectedRadioChanged(e){this.selectedDeviceNameSourceType=e}};async function q3i(t){Cj.SELECTED_FILE_TYPE||(Cj.FILE_TYPE_LIST=Y3i(),Cj.SELECTED_FILE_TYPE=Cj.FILE_TYPE_LIST[0].value);let e=new ITt;return await e.initial(t),e}var ITt=class extends qe{constructor(){super(),this._dialogProps=null,this._dialogReady=!1,this._isImporting=!1,this.baseFile=new Cj(this),this.commonOptions=new vBe(this),this.schPrimitiveStyle=new DBe(this),this.viaSolderMaskExpansion=new EBe(this),this.boardOutlineSource=new ABe(this),this.deviceNameSource=new PBe(this),this.bindModel=new NBe(this),this.notes=new kBe(this),this._dialogOpenedFrom="COMMON",this._importBtnDisabled=!1,this._importBtnText="Import"}set dialogReady(e){this._dialogReady=e}get dialogReady(){return this._dialogReady}set dialogProps(e){this._dialogProps=e}get dialogProps(){return this._dialogProps}set isImporting(e){this._isImporting=e,this.notify()}get isImporting(){return this._isImporting}set importBtnDisabled(e){this._importBtnDisabled=e,this.notify()}get importBtnDisabled(){return this._importBtnDisabled}set importBtnText(e){this._importBtnText=e,this.notify()}get importBtnText(){return this._importBtnText}set dialogOpenedFrom(e){this._dialogOpenedFrom=e,this.notify()}get dialogOpenedFrom(){return this._dialogOpenedFrom}async initial(e){this.dialogProps=e,typeof this.dialogProps.dialogOpenedFrom<"u"&&(this.dialogOpenedFrom=this.dialogProps.dialogOpenedFrom),await this.baseFile.initial(e)}whenDialogReady(){this._dialogReady=!0}createConfitmSubmitData(){return{dialogOpenedFrom:this.dialogProps.dialogOpenedFrom,fileSelectedFrom:this.baseFile.fileSelectedFrom,files:this.baseFile.selectedFiles,importAutoBindCovertResults:[],chameleonTarget:this.baseFile.chameleonTarget,fileSelectType:this.baseFile.selectedFileType,isMatchLibFiles:this.baseFile.isMatchLibFiles,selectedCommonOptions:this.commonOptions.selectedImportType,selectedViaSolderMaskExpansionType:this.viaSolderMaskExpansion.selectedViaSolderMaskExpansionType,selectedSchPrimitiveStyleType:this.schPrimitiveStyle.selectedSchPrimitiveStyleType,selectedBoardOutlineSourceType:this.boardOutlineSource.selectedBoardOutlineSourceType,selectedDeviceNameSourceType:this.deviceNameSource.selectedDeviceNameSourceType,isAutoAssoicaFootprint:this.bindModel.isAutoAssoicaFootprint,isImportNotes:this.notes.isImportNotes,isAutoAssoicaD3Model:this.bindModel.isAutoAssoicaD3Model,forSmt:this.baseFile.forSmt,forEngine:this.baseFile.forEngine,createSamePart:this.bindModel.createSamePart}}},Wg=(0,J3i.createContext)(void 0);var RBe=L(Se()),Iwi=L(fA());var X3i=L(Se()),vTt=L(fA());var $Z=L(z()),{locals:LTt}=vTt.default;function $3i(t){let e=J(),i=be.bind(vTt.default.locals),{label:o}=t,r=(0,X3i.useContext)(Wg);Ce(r),Ce(r.baseFile);let n=(a,s)=>{r.baseFile.whenFileTypeChanged(a,!1)};return(0,$Z.jsxs)("div",{className:LTt["profileline-wrapper"],children:[(0,$Z.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:LTt["profileline-label-wrapper"],children:(0,$Z.jsxs)("span",{title:e("File type"),"data-test":"File type",i18n:"File type",children:[e("File type"),":"]})}),(0,$Z.jsx)("div",{className:LTt["profileline-content-wrapper"],children:(0,$Z.jsx)("div",{style:{width:"100%"},children:(0,$Z.jsx)(xt,{list:r.baseFile.fileTypeList,value:r.baseFile.selectedFileType,onChange:n,name:"selectedFileType",containerStyle:{height:"24px"},optionsAutoWidth:!1,disabled:r.baseFile.fileTypeListDisabled})})})]})}var twi=L(Se()),iwi=L(fA());var ewi=L(Vi());var Dbr=/\.(epro|epro2|elibz|esym|efoo|epanl|zip|elibz2)$/i,jS=class jS{static loadFile(e){if(jS._loadFileCallback=e,!(jS._selectHandler instanceof Function)){jS._initial(),jS._selectHandler();return}jS._selectHandler()}static _initial(){window.FileReader||(jS._selectHandler=()=>{De({type:"error",msg:"Your browser cannot run this function.",timer:2})});let e={multiple:!0,accept:Lre.map(o=>{let r=o.split("*");return r[1]?r[1]:r[0]}).join(", "),fileFilter(o){return Dbr.test(o.name)},onValidate(o){o||Ut({type:"warn",message:me.i18n("Please select {type} files",{type:Lre.map(r=>{let n=r.split("*");return n[1]?n[1]:n[0]}).join(", ")})})},async onSelectFiles(o){let r=Array.from(o),n=uu.checkIsLegalType(r);if(!n.success){Ut({type:"warn",message:n.message});return}let a=uu.checkIsLegalMaxBytes(r,1024*1024*1024);if(!a.success){Ut({type:"error",message:a.message});return}for(let s=0;s<r.length;s++)if((await C.messageBus.rpcCall("/pro-mgr/isEncrypted",[r[s]])).message){let d=(await fBe(r,{isShowFileNameOnDescrDialog:r.length>1})).filter(u=>u.success).map(u=>u.file);d.length&&jS._loadFileCallback instanceof Function&&jS._loadFileCallback(!0,d);return}jS._loadFileCallback instanceof Function&&jS._loadFileCallback(!1,r)}},i=null;jS._selectHandler=()=>{i||(i=nu.instance((0,ewi.default)("<br>")).config(e)),i.openSelect()}}};jS._loadFileCallback=null,jS._selectHandler=null;var eJ=jS;var EV=L(z()),{locals:DTt}=iwi.default;function owi(t){let e=J(),i=(0,twi.useContext)(Wg);Ce(i),Ce(i.baseFile);let o=i.baseFile.selectedFileType,r=()=>{if(o==="proeda"){eJ.loadFile((a,s)=>{i.baseFile.fileSelectedFrom="NormalSelector",i.baseFile.whenSelectedFiles(s)});return}wC(o,void 0,!1,(a,s,l)=>{xj({fileType:o}).then(c=>{if(!c||c.length==0)return;let d="easyeda-pro-2";i.baseFile.chameleonTarget=d,i.baseFile.fileSelectedFrom="ChameleonSelector",i.baseFile.whenSelectedFiles(c)})})},n=()=>{i.baseFile.whenClearSelectedFiles()};return(0,EV.jsxs)("div",{className:DTt["profileline-wrapper"],children:[(0,EV.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:DTt["profileline-label-wrapper"],children:(0,EV.jsxs)("span",{title:e("Filename"),"data-test":"Filename",i18n:"Filename",children:[e("Filename"),":"]})}),(0,EV.jsxs)("div",{className:DTt["profileline-content-wrapper"],style:{flexDirection:"column"},children:[(0,EV.jsx)("div",{style:{width:"100%"},children:(0,EV.jsx)(ea,{value:i.baseFile.selectedFileNames.join(", "),hasClearButton:!0,hasThreePoint:!0,onClearClick:n,openDialog:r,disabled:i.baseFile.selectFileFormDisabled,couldInput:!1,placeholder:e("Click here to select file"),dataTest:"Click here to select file"})}),(0,EV.jsxs)("div",{style:{width:"100%",paddingTop:"3px"},children:[e("Maximum file size"),": ",i.baseFile.allowFileMaxByte/1024/1024/1024," GB"]})]})]})}var rwi=L(Se()),nwi=L(fA());var AV=L(z()),{locals:ETt}=nwi.default;function awi(t){let e=J(),i=(0,rwi.useContext)(Wg);Ce(i),Ce(i.commonOptions);let o=(r,n)=>{i.commonOptions.whenSelectedImportTypeChanged(n.target.value)};return(0,AV.jsxs)("div",{className:ETt["profileline-wrapper"],children:[(0,AV.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:ETt["profileline-label-wrapper"],children:(0,AV.jsxs)("span",{title:e("Option"),"data-test":"Option",i18n:"Option",children:[e("Option"),":"]})}),(0,AV.jsx)("div",{className:ETt["profileline-content-wrapper"],style:{flexDirection:"column"},children:(0,AV.jsx)("div",{style:{width:"100%"},children:i.commonOptions.importTypeList.map(r=>(0,AV.jsx)("div",{style:{paddingBottom:"4px"},children:(0,AV.jsx)(nn,{value:r.value,checked:r.value===i.commonOptions.selectedImportType,children:e(r.text),disabled:r.disabled,onChange:o,dataTest:r.text})},r.value))})})]})}var swi=L(Se()),lwi=L(fA());var NV=L(z()),{locals:ATt}=lwi.default;function cwi(t){let e=J(),i=(0,swi.useContext)(Wg);Ce(i),Ce(i.schPrimitiveStyle);let o=(r,n)=>{i.schPrimitiveStyle.whenSelectedRadioChanged(n.target.value)};return(0,NV.jsxs)("div",{className:ATt["profileline-wrapper"],children:[(0,NV.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:ATt["profileline-label-wrapper"],children:(0,NV.jsxs)("span",{title:e("Schematic object style"),"data-test":"Schematic object style",i18n:"Schematic object style",children:[e("Schematic object style"),":"]})}),(0,NV.jsx)("div",{className:ATt["profileline-content-wrapper"],style:{flexDirection:"column"},children:(0,NV.jsx)("div",{style:{width:"100%"},children:i.schPrimitiveStyle.schPrimitiveStyleTypeList.map(r=>(0,NV.jsx)("div",{style:{paddingBottom:"4px"},children:(0,NV.jsx)(nn,{value:r.value,checked:r.value===i.schPrimitiveStyle.selectedSchPrimitiveStyleType,children:e(r.text),disabled:r.disabled,onChange:o,dataTest:r.text})},r.value))})})]})}var dwi=L(Se()),uwi=L(fA());var kV=L(z()),{locals:NTt}=uwi.default;function pwi(t){let e=J(),i=(0,dwi.useContext)(Wg);Ce(i),Ce(i.viaSolderMaskExpansion);let o=(r,n)=>{i.viaSolderMaskExpansion.whenSelectedRadioChanged(n.target.value)};return(0,kV.jsxs)("div",{className:NTt["profileline-wrapper"],children:[(0,kV.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:NTt["profileline-label-wrapper"],children:(0,kV.jsxs)("span",{title:e("Via Solder Mask Expansion"),"data-test":"Via Solder Mask Expansion",i18n:"Via Solder Mask Expansion",children:[e("Via Solder Mask Expansion"),":"]})}),(0,kV.jsx)("div",{className:NTt["profileline-content-wrapper"],style:{flexDirection:"column"},children:(0,kV.jsx)("div",{style:{width:"100%"},children:i.viaSolderMaskExpansion.viaSolderMaskExpansionTypeList.map(r=>(0,kV.jsx)("div",{style:{paddingBottom:"4px"},children:(0,kV.jsx)(nn,{value:r.value,checked:r.value===i.viaSolderMaskExpansion.selectedViaSolderMaskExpansionType,children:e(r.text),disabled:r.disabled,dataTest:r.text,onChange:o})},r.value))})})]})}var mwi=L(Se()),hwi=L(fA());var PV=L(z()),{locals:kTt}=hwi.default;function fwi(t){let e=J(),i=(0,mwi.useContext)(Wg);Ce(i),Ce(i.boardOutlineSource);let o=(r,n)=>{i.boardOutlineSource.whenSelectedRadioChanged(n.target.value)};return(0,PV.jsxs)("div",{className:kTt["profileline-wrapper"],children:[(0,PV.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:kTt["profileline-label-wrapper"],children:(0,PV.jsxs)("span",{title:e("Board Outline Source"),"data-test":"Board Outline Source",i18n:"Board Outline Source",children:[e("Board Outline Source"),":"]})}),(0,PV.jsx)("div",{className:kTt["profileline-content-wrapper"],style:{flexDirection:"column"},children:(0,PV.jsx)("div",{style:{width:"100%"},children:i.boardOutlineSource.boardOutlineSourceTypeList.map(r=>(0,PV.jsx)("div",{style:{paddingBottom:"4px"},children:(0,PV.jsx)(nn,{value:r.value,checked:r.value===i.boardOutlineSource.selectedBoardOutlineSourceType,children:e(r.text),disabled:r.disabled,onChange:o,dataTest:r.text})},r.value))})})]})}var gwi=L(Se()),bwi=L(fA());var _T=L(z()),{locals:PTt}=bwi.default;function ywi(t){let e=J(),i=(0,gwi.useContext)(Wg);Ce(i),Ce(i.bindModel);let o=Mt(),r=(n,a,s)=>{i.bindModel.whenCheckboxChanged(n,a)};return(0,_T.jsxs)("div",{className:PTt["profileline-wrapper"],children:[(0,_T.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:PTt["profileline-label-wrapper"],children:(0,_T.jsxs)("span",{title:e("Footprint and 3D Model"),"data-test":"Footprint and 3D Model",i18n:"Footprint and 3D Model",children:[e("Footprint and 3D Model"),":"]})}),(0,_T.jsx)("div",{className:PTt["profileline-content-wrapper"],style:{flexDirection:"column"},children:(0,_T.jsxs)("div",{style:{width:"100%"},children:[i.bindModel.showCreateSamePart&&(0,_T.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:{paddingBottom:"4px"},children:[(0,_T.jsx)(qt,{id:`${o}createSamePart`,checked:i.bindModel.createSamePart,onChange:(n,a)=>{r("createSamePart",n,a)},dataTest:"Generate a footprint with the same name based on the part type"}),(0,_T.jsx)("label",{htmlFor:`${o}createSamePart`,title:e("Generate a footprint with the same name based on the part type"),style:{paddingLeft:"5px",paddingRight:"5px",minWidth:"fit-content",userSelect:"none",cursor:"pointer"},children:e("Generate a footprint with the same name based on the part type")})]}),(0,_T.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:{paddingBottom:"4px"},children:[(0,_T.jsx)(qt,{id:`${o}isAutoAssoicaFootprint`,checked:i.bindModel.isAutoAssoicaFootprint,onChange:(n,a)=>{r("isAutoAssoicaFootprint",n,a)},dataTest:"Associate footprint automatically"}),(0,_T.jsx)("label",{htmlFor:`${o}isAutoAssoicaFootprint`,title:e("Associate footprint automatically"),style:{paddingLeft:"5px",paddingRight:"5px",minWidth:"fit-content",userSelect:"none",cursor:"pointer"},children:e("Associate footprint automatically")})]}),(0,_T.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:{paddingBottom:"4px"},children:[(0,_T.jsx)(qt,{id:`${o}isAutoAssoicaD3Model`,checked:i.bindModel.isAutoAssoicaD3Model,onChange:(n,a)=>{r("isAutoAssoicaD3Model",n,a)},dataTest:"Associate 3D model automatically"}),(0,_T.jsx)("label",{htmlFor:`${o}isAutoAssoicaD3Model`,title:e("Associate 3D model automatically"),style:{paddingLeft:"5px",paddingRight:"5px",minWidth:"fit-content",userSelect:"none",cursor:"pointer"},children:e("Associate 3D model automatically")})]})]})})]})}var wwi=L(Se());var Cwi=L(fA()),Tj=L(z()),{locals:OTt}=Cwi.default;function xwi(t){let e=J(),i=(0,wwi.useContext)(Wg);Ce(i),Ce(i.notes);let o=Mt(),r=(n,a,s)=>{i.notes.whenCheckboxChanged(n,a)};return(0,Tj.jsxs)("div",{className:OTt["profileline-wrapper"],children:[(0,Tj.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:OTt["profileline-label-wrapper"],children:(0,Tj.jsxs)("span",{title:e("Notes"),"data-test":"Notes",i18n:"Notes",children:[e("Notes"),":"]})}),(0,Tj.jsx)("div",{className:OTt["profileline-content-wrapper"],style:{flexDirection:"column"},children:(0,Tj.jsx)("div",{style:{width:"100%"},children:(0,Tj.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",children:[(0,Tj.jsx)(qt,{id:`${o}isImportNotes`,checked:i.notes.isImportNotes,onChange:(n,a)=>{r("isImportNotes",n,a)},dataTest:"Import Footprint Notes Layer"}),(0,Tj.jsx)("label",{htmlFor:`${o}isImportNotes`,title:e("Import Footprint\xA0Notes Layer"),style:{paddingLeft:"5px",paddingRight:"5px",minWidth:"fit-content",userSelect:"none",cursor:"pointer"},children:e("Import Footprint\xA0Notes Layer")})]})})})]})}var Twi=L(Se()),Swi=L(fA());var OV=L(z()),{locals:RTt}=Swi.default;function Mwi(t){let e=J(),i=(0,Twi.useContext)(Wg);Ce(i),Ce(i.deviceNameSource);let o=(r,n)=>{i.deviceNameSource.whenSelectedRadioChanged(n.target.value)};return(0,OV.jsxs)("div",{className:RTt["profileline-wrapper"],children:[(0,OV.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:RTt["profileline-label-wrapper"],children:(0,OV.jsxs)("span",{title:e("Device Name Source"),"data-test":"Device Name Source",i18n:"Device Name Source",children:[e("Device Name Source"),":"]})}),(0,OV.jsx)("div",{className:RTt["profileline-content-wrapper"],style:{flexDirection:"column"},children:(0,OV.jsx)("div",{style:{width:"100%"},children:i.deviceNameSource.deviceNameSourceTypeList.map(r=>(0,OV.jsx)("div",{style:{paddingBottom:"4px"},children:(0,OV.jsx)(nn,{value:r.value,checked:r.value===i.deviceNameSource.selectedDeviceNameSourceType,children:e(r.text),disabled:r.disabled,onChange:o,dataTest:r.text})},r.value))})})]})}var jT=L(z()),{locals:OBe}=Iwi.default;function Lwi(t){let{dialogHeight:e,containerId:i}=t,o=J(),r=`pop-content-wrapper display-flex flex-nowrap ${OBe["main-container"]}`,n=(0,RBe.useContext)(Wg);return Ce(n),Ce(n.baseFile),Ce(n.commonOptions),Ce(n.schPrimitiveStyle),Ce(n.boardOutlineSource),Ce(n.deviceNameSource),Ce(n.bindModel),(0,RBe.useEffect)(()=>{gA.emit("syncDialogFootButtonsState",{containerId:i,confirmBtnDisabledStatus:n.importBtnDisabled,confirmBtnTextString:n.importBtnText},bA)},[i,n.importBtnDisabled,n.importBtnText]),(0,jT.jsx)("div",{className:r,children:(0,jT.jsx)("div",{className:OBe["basecontent-wrapper"],children:(0,jT.jsx)("div",{className:OBe["section-area-wrapper"],style:{padding:"0 0 8px 0"},children:(0,jT.jsxs)("div",{className:OBe["section-area"],children:[(0,jT.jsx)("div",{style:{paddingBottom:"8px"},children:(0,jT.jsx)($3i,{})}),(0,jT.jsx)(owi,{}),n.commonOptions.isShow?(0,jT.jsx)(awi,{}):null,n.viaSolderMaskExpansion.isShow?(0,jT.jsx)(pwi,{}):null,n.boardOutlineSource.isShow?(0,jT.jsx)(fwi,{}):null,n.deviceNameSource.isShow?(0,jT.jsx)(Mwi,{}):null,n.schPrimitiveStyle.isShow?(0,jT.jsx)(cwi,{}):null,n.bindModel.isShow?(0,jT.jsx)(ywi,{}):null,n.notes.isShow?(0,jT.jsx)(xwi,{}):null]})})})})}var wA=L(z()),{locals:_Tt}=_Be.default,vwi=null;var Ebr=t=>{let e=J(),{dialogWidth:i,dialogHeight:o,containerId:r,dialogId:n,onDialogOpen:a,onDialogCancel:s,onDialogClose:l,onDialogConfirm:c,onDialogClosed:d}=t,[u,p]=(0,tJ.useState)(null),m=(0,tJ.useRef)(null);m.current=u;let h=t.height-168,f=`${_Tt["view-loading-wrapper"]}`,g=`${_Tt["view-loading"]}`,b=`rotation ${_Tt["view-loading-rotation"]}`,y=async w=>{if(w==="confirm"){let x=m.current.baseFile.selectedFileType;if(m.current.baseFile.selectedFiles.length<=0){if(x==="proeda"){eJ.loadFile((T,M)=>{m.current.baseFile.fileSelectedFrom="NormalSelector",m.current.baseFile.whenSelectedFiles(M)});return}wC(x,void 0,!1,(T,M,I)=>{xj({fileType:x}).then(A=>{if(!A||A.length==0)return;let D="easyeda-pro-2";m.current.baseFile.chameleonTarget=D,m.current.baseFile.fileSelectedFrom="ChameleonSelector",m.current.baseFile.whenSelectedFiles(Array.from(A))})});return}if(m.current.isImporting)return;if(m.current.isImporting=!0,(c?await c(m.current.createConfitmSubmitData(),m.current):!0)===!1){m.current.isImporting=!1;return}m.current.isImporting=!1,le.close(r);return}w==="cancel"&&s&&s(),await oo({action:w,dialogId:n,formData:{}}),le.close(r)};return(0,tJ.useLayoutEffect)(()=>{window.clearTimeout(vwi),vwi=window.setTimeout(()=>{q3i(t).then(w=>{p(w),a&&a()})},30)},[]),(0,tJ.useEffect)(()=>(gA.clearEvent("dialogFootBtnClicked",bA),gA.on("dialogFootBtnClicked",({action:w})=>{y(w)},bA),()=>{m.current=null,d&&d()}),[]),Bt(w=>{let{key:x}=w;x==="Enter"&&window.setTimeout(()=>{y("confirm")},100)}).keyboard(r),u?(0,wA.jsxs)("div",{className:"pop-content-container",style:{width:"100%",height:"100%"},children:[(0,wA.jsx)("style",{children:String(_Be.default)}),(0,wA.jsx)(Wg.Provider,{value:u,children:(0,wA.jsx)(Lwi,{dialogHeight:o,containerId:r})})]}):(0,wA.jsxs)("div",{className:"pop-content-container",children:[(0,wA.jsx)("style",{children:String(_Be.default)}),(0,wA.jsx)("div",{className:f,style:{height:o+"px"},children:(0,wA.jsx)("div",{className:g,children:(0,wA.jsx)("div",{className:b,children:(0,wA.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})]})},Dwi=Ebr;var rme=L(Se());var ome=L(z());function Ewi(){let t=J(),e=(0,rme.useRef)({containerId:"",confirmBtnDisabledStatus:!0,confirmBtnTextString:"Import"}),[i,o]=(0,rme.useState)(0),r=n=>{gA.emit("dialogFootBtnClicked",{action:n},bA)};return(0,rme.useLayoutEffect)(()=>{gA.clearEvent("syncDialogFootButtonsStatus",bA),gA.on("syncDialogFootButtonsState",n=>{typeof n.containerId<"u"&&(e.current.containerId=n.containerId),typeof n.confirmBtnDisabledStatus<"u"&&(e.current.confirmBtnDisabledStatus=n.confirmBtnDisabledStatus),typeof n.confirmBtnTextString<"u"&&(e.current.confirmBtnTextString=n.confirmBtnTextString),o(a=>a+1)},bA)},[]),(0,ome.jsx)("div",{style:{width:"100%",display:"flex",alignContent:"center",alignItems:"center",justifyContent:"flex-end",position:"relative",padding:"5px 0 0 0"},"data-refresh":i,children:(0,ome.jsxs)("div",{children:[(0,ome.jsx)(Me,{disabled:e.current.confirmBtnDisabledStatus,type:"primary",style:{marginRight:"8px"},onClick:()=>r("confirm"),children:e.current.confirmBtnTextString}),(0,ome.jsx)(Me,{onClick:()=>r("cancel"),children:"Cancel"})]})})}var jTt=L(z());async function Awi(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i,l=t.dialogTitle||r;return gA.clearNameSpace(bA),le.open({id:o,title:l,width:n,height:a,closed:s,esc:!0,folded:!1,footer:(0,jTt.jsx)(Ewi,{}),children:(0,jTt.jsx)(Dwi,{containerId:o,dialogId:t.dialogId,...i,...t,dialogWidth:n,dialogHeight:a}),onClose:()=>{t.onDialogClose&&t.onDialogClose(),gA.clearNameSpace(bA)}}),le}async function nme(t){return await ii("analysisImportManager",{...t})}var Mj=L(Se());var QBe=L(Sj());var kwi=L(Se());var CA=new um,xA="importLib";var BBe=class extends qe{constructor(e){super(),this.parent=e,this._searchValue="",this._searchPlaceHolder="Search",this._isInSearchingStatus=!1,this._forAllSelectStatus=1,this._forDeviceSelectStatus=1,this._forSymbolSelectStatus=1,this._forFootprintSelectStatus=2,this._forComponentSelectStatus=2,this._forNonComponentSelectStatus=0,this._forAllSelectDisabled=!0,this._forDeviceSelectDisabled=!0,this._forSymbolSelectDisabled=!0,this._forFootprintSelectDisabled=!0,this._forComponentSelectDisabled=!0,this._forNonComponentSelectDisabled=!0,this._forAllSelectShow=!1,this._forDeviceSelectShow=!1,this._forSymbolSelectShow=!1,this._forFootprintSelectShow=!1,this._forComponentSelectShow=!1,this._forNonComponentSelectShow=!1}set searchPlaceHolder(e){this._searchPlaceHolder=e}get searchPlaceHolder(){return this._searchPlaceHolder}set searchValue(e){this._searchValue=e?e.trim():"",this.notify()}get searchValue(){return this._searchValue}set isInSearchingStatus(e){this._isInSearchingStatus=e,this.notify()}get isInSearchingStatus(){return this._isInSearchingStatus}set forAllSelectStatus(e){this._forAllSelectStatus=e>=2?2:e<=0?0:e,this.notify()}get forAllSelectStatus(){return this._forAllSelectStatus}set forDeviceSelectStatus(e){this._forDeviceSelectStatus=e>=2?2:e<=0?0:e,this.notify()}get forDeviceSelectStatus(){return this._forDeviceSelectStatus}set forSymbolSelectStatus(e){this._forSymbolSelectStatus=e>=2?2:e<=0?0:e,this.notify()}get forSymbolSelectStatus(){return this._forSymbolSelectStatus}set forFootprintSelectStatus(e){this._forFootprintSelectStatus=e>=2?2:e<=0?0:e,this.notify()}get forFootprintSelectStatus(){return this._forFootprintSelectStatus}set forComponentSelectStatus(e){this._forComponentSelectStatus=e>=2?2:e<=0?0:e,this.notify()}get forComponentSelectStatus(){return this._forComponentSelectStatus}set forNonComponentSelectStatus(e){this._forNonComponentSelectStatus=e>=2?2:e<=0?0:e,this.notify()}get forNonComponentSelectStatus(){return this._forNonComponentSelectStatus}set forAllSelectDisabled(e){this._forAllSelectDisabled=e,this.notify()}get forAllSelectDisabled(){return this._forAllSelectDisabled}set forDeviceSelectDisabled(e){this._forDeviceSelectDisabled=e,this.notify()}get forDeviceSelectDisabled(){return this._forDeviceSelectDisabled}set forSymbolSelectDisabled(e){this._forSymbolSelectDisabled=e,this.notify()}get forSymbolSelectDisabled(){return this._forSymbolSelectDisabled}set forFootprintSelectDisabled(e){this._forFootprintSelectDisabled=e,this.notify()}get forFootprintSelectDisabled(){return this._forFootprintSelectDisabled}set forComponentSelectDisabled(e){this._forComponentSelectDisabled=e,this.notify()}get forComponentSelectDisabled(){return this._forComponentSelectDisabled}set forNonComponentSelectDisabled(e){this._forNonComponentSelectDisabled=e,this.notify()}get forNonComponentSelectDisabled(){return this._forNonComponentSelectDisabled}set forAllSelectShow(e){this._forAllSelectShow=e,this.notify()}get forAllSelectShow(){return this._forAllSelectShow}set forDeviceSelectShow(e){this._forDeviceSelectShow=e,this.notify()}get forDeviceSelectShow(){return this._forDeviceSelectShow}set forSymbolSelectShow(e){this._forSymbolSelectShow=e,this.notify()}get forSymbolSelectShow(){return this._forSymbolSelectShow}set forFootprintSelectShow(e){this._forFootprintSelectShow=e,this.notify()}get forFootprintSelectShow(){return this._forFootprintSelectShow}set forComponentSelectShow(e){this._forComponentSelectShow=e,this.notify()}get forComponentSelectShow(){return this._forComponentSelectShow}set forNonComponentSelectShow(e){this._forNonComponentSelectShow=e,this.notify()}get forNonComponentSelectShow(){return this._forNonComponentSelectShow}whenImmersedComponentSearchStatus(){this.parent.libList.refreshDeviceListBySearch(this.searchValue),this.parent.libList.updateComponentTypeListPool(),this.parent.libList.checkComponentSelectedStatus()}whenExitComponentSearchStatus(){this.parent.libList.refreshDeviceListBySearch(),this.parent.libList.refreshDeviceListBySearch(this.searchValue),this.parent.libList.updateComponentTypeListPool(),this.parent.libList.checkComponentSelectedStatus()}whenCheckboxAttrChanged(e,i){if(e==="forAllSelectStatus"){this.forAllSelectStatus=i===!0?2:0,this.parent.libList.setTypedComponentListAllSelectedOrNonSelected(e,i===!0);return}if(e==="forDeviceSelectStatus"){this.forDeviceSelectStatus=i===!0?2:0,this.parent.libList.setTypedComponentListAllSelectedOrNonSelected(e,i===!0);return}if(e==="forSymbolSelectStatus"){this.forSymbolSelectStatus=i===!0?2:0,this.parent.libList.setTypedComponentListAllSelectedOrNonSelected(e,i===!0);return}if(e==="forFootprintSelectStatus"){this.forFootprintSelectStatus=i===!0?2:0,this.parent.libList.setTypedComponentListAllSelectedOrNonSelected(e,i===!0);return}if(e==="forComponentSelectStatus"){this.forComponentSelectStatus=i===!0?2:0,this.parent.libList.setTypedComponentListAllSelectedOrNonSelected(e,i===!0);return}if(e==="forNonComponentSelectStatus"){this.forNonComponentSelectStatus=i===!0?2:0,this.parent.libList.setTypedComponentListAllSelectedOrNonSelected(e,i===!0);return}}createSelectedLocalType(){let e=[];return this.forDeviceSelectShow&&this.forDeviceSelectStatus===2&&e.push("DEVICE"),this.forSymbolSelectShow&&this.forSymbolSelectStatus===2&&e.push("SYMBOL"),this.forFootprintSelectShow&&this.forFootprintSelectStatus===2&&e.push("FOOTPRINT"),this.forComponentSelectShow&&this.forComponentSelectStatus===2&&e.push("COMPONENT"),this.forNonComponentSelectShow&&this.forNonComponentSelectStatus===2&&e.push("NON_COMPONENT"),e}flushForAllSelectCheckboxStatus(){let e=[];this.parent.libFilter.forDeviceSelectShow&&e.push(this.parent.libFilter.forDeviceSelectStatus),this.parent.libFilter.forSymbolSelectShow&&e.push(this.parent.libFilter.forSymbolSelectStatus),this.parent.libFilter.forFootprintSelectShow&&e.push(this.parent.libFilter.forFootprintSelectStatus),this.parent.libFilter.forComponentSelectShow&&e.push(this.parent.libFilter.forComponentSelectStatus),this.parent.libFilter.forNonComponentSelectShow&&e.push(this.parent.libFilter.forNonComponentSelectStatus),e.every(i=>i<=0)?this.parent.libFilter.forAllSelectStatus=0:e.every(i=>i>=2)?this.parent.libFilter.forAllSelectStatus=2:this.parent.libFilter.forAllSelectStatus=1}setAllCheckboxDisabledStatus(e){this.forAllSelectDisabled=e,this.forDeviceSelectDisabled=e,this.forSymbolSelectDisabled=e,this.forFootprintSelectDisabled=e,this.forComponentSelectDisabled=e,this.forNonComponentSelectDisabled=e}};function e5e(t,e){if(!e)return null;let i=null;for(let o=0;o<t.length;o++){let r=t[o];if(r.data.localType==="SYMBOL"&&r.data.uuid===e){i=r;break}}return i}var zBe=class extends qe{constructor(e){super(),this.parent=e,this._selectedIds=new Set,this._renderComponentList=[],this._renderComponentIds=new Set,this._componentList=[],this._forDeviceListOfChecked=[],this._forSymbolListOfChecked=[],this._forFootprintListOfChecked=[],this._forPanelLibListOfChecked=[],this._forTrueComponentListOfChecked=[],this._forNonComponentListOfChecked=[],this._loadingTipsShow=!0,this._loadingTipsText=me.i18n("No Result!"),this._scrollContainerScrollTop=0,this._scrollItemHeight=26,this._freeSymbolsCache=new Map,this._existsDeviceNames=new Set}get selectedIds(){return this._selectedIds}set selectedIds(e){this._selectedIds=e,this.notify()}get renderComponentList(){return this._renderComponentList}set renderComponentList(e){let i=new Set;for(let o=0;o<e.length;o++)i.add(e[o].id);this._renderComponentIds=i,this._renderComponentList=e,this.notify()}get renderComponentIds(){return this._renderComponentIds}set renderComponentIds(e){this._renderComponentIds=e,this.notify()}get componentList(){return this._componentList}set componentList(e){this._componentList=e,this.notify()}get loadingTipsShow(){return this._loadingTipsShow}set loadingTipsShow(e){this._loadingTipsShow=e,this.notify()}get loadingTipsText(){return this._loadingTipsText}set loadingTipsText(e){this._loadingTipsText=e,this.notify()}get scrollContainerScrollTop(){return this._scrollContainerScrollTop}set scrollContainerScrollTop(e){this._scrollContainerScrollTop=e,this.notify()}get forDeviceListOfChecked(){return this._forDeviceListOfChecked}set forDeviceListOfChecked(e){this._forDeviceListOfChecked=e,this.notify()}get forSymbolListOfChecked(){return this._forSymbolListOfChecked}set forSymbolListOfChecked(e){this._forSymbolListOfChecked=e,this.notify()}get forFootprintListOfChecked(){return this._forFootprintListOfChecked}set forFootprintListOfChecked(e){this._forFootprintListOfChecked=e,this.notify()}get forPanelLibListOfChecked(){return this._forPanelLibListOfChecked}set forPanelLibListOfChecked(e){this._forPanelLibListOfChecked=e,this.notify()}get forTrueComponentListOfChecked(){return this._forTrueComponentListOfChecked}set forTrueComponentListOfChecked(e){this._forTrueComponentListOfChecked=e,this.notify()}get forNonComponentListOfChecked(){return this._forNonComponentListOfChecked}set forNonComponentListOfChecked(e){this._forNonComponentListOfChecked=e,this.notify()}get freeSymbolsCache(){return this._freeSymbolsCache}set freeSymbolsCache(e){this._freeSymbolsCache=e,this.notify()}get existsDeviceNames(){return this._existsDeviceNames}set existsDeviceNames(e){this._existsDeviceNames=e,this.notify()}checkComponentSelectedStatus(){let e=this.getComponentListSelectedStatus(this.forDeviceListOfChecked),i=this.getComponentListSelectedStatus(this.forSymbolListOfChecked),o=this.getComponentListSelectedStatus(this.forFootprintListOfChecked),r=this.getComponentListSelectedStatus(this.forTrueComponentListOfChecked),n=this.getComponentListSelectedStatus(this.forNonComponentListOfChecked);this.parent.libFilter.forDeviceSelectStatus=e,this.parent.libFilter.forSymbolSelectStatus=i,this.parent.libFilter.forFootprintSelectStatus=o,this.parent.libFilter.forComponentSelectStatus=r,this.parent.libFilter.forNonComponentSelectStatus=n,this.parent.libFilter.flushForAllSelectCheckboxStatus()}updateComponentListBySingleDeviceCheckboxStatus(e){let i=[...this.componentList],o=[],r=[];if(e){for(let n=0;n<i.length;n++)i[n].data.isPlaceholder||o.push(i[n]);for(let[n,a]of this.freeSymbolsCache)this.existsDeviceNames.has(a.title)||(o.unshift({id:n,title:a.title,data:{localType:"DEVICE",docType:ve.DEVICE,isPlaceholder:!0,uuid:n,title:a.title,attributes:{Symbol:a.uuid}},iconcls:"coloricon-eda-device"}),r.push(n));return this.componentList=o,r}for(let n=0;n<i.length;n++)i[n].data.isPlaceholder||o.push(i[n]);this.componentList=o;for(let[n,a]of this.freeSymbolsCache)this.selectedIds.delete(n);return r}updateComponentTypeListPool(){let e=this.renderComponentList;this.forDeviceListOfChecked=[],this.forSymbolListOfChecked=[],this.forFootprintListOfChecked=[],this.forPanelLibListOfChecked=[],this.forTrueComponentListOfChecked=[],this.forNonComponentListOfChecked=[];for(let i=0;i<e.length;i++){if(e[i].data.localType==="DEVICE"){this.forDeviceListOfChecked.push(e[i]);let o=e5e(this.componentList,(e[i].data.attributes||{}).Symbol);o&&(String(o.data.docType)===tr.ComponentSymbol?this.forTrueComponentListOfChecked.push(e[i]):this.forNonComponentListOfChecked.push(e[i]));continue}if(!this.parent.isSimple&&e[i].data.localType==="SYMBOL"){this.forSymbolListOfChecked.push(e[i]),String(this.componentList[i].data.docType)===tr.ComponentSymbol?this.forTrueComponentListOfChecked.push(e[i]):this.forNonComponentListOfChecked.push(e[i]);continue}if(e[i].data.localType==="FOOTPRINT"){this.forFootprintListOfChecked.push(e[i]),this.forTrueComponentListOfChecked.push(e[i]);continue}if(e[i].data.localType==="PANEL_LIB"){this.forPanelLibListOfChecked.push(e[i]),this.forNonComponentListOfChecked.push(e[i]);continue}}this.forDeviceListOfChecked.length>0?(this.parent.libFilter.forDeviceSelectShow=!0,this.parent.libProfileSetting.deviceCategoryShow=!0):(this.parent.libFilter.forDeviceSelectShow=!1,this.parent.libProfileSetting.deviceCategoryShow=!1),this.forSymbolListOfChecked.length>0?(this.parent.libFilter.forSymbolSelectShow=!0,this.parent.libProfileSetting.symbolCategoryShow=!0):(this.parent.libFilter.forSymbolSelectShow=!1,this.parent.libProfileSetting.symbolCategoryShow=!1),this.forFootprintListOfChecked.length>0?(this.parent.libFilter.forFootprintSelectShow=!0,this.parent.libProfileSetting.footprintCategoryShow=!0):(this.parent.libFilter.forFootprintSelectShow=!1,this.parent.libProfileSetting.footprintCategoryShow=!1),this.forPanelLibListOfChecked.length>0?this.parent.libProfileSetting.panelLibCategoryShow=!0:this.parent.libProfileSetting.panelLibCategoryShow=!1,this.forTrueComponentListOfChecked.length>0?this.parent.libFilter.forComponentSelectShow=!0:this.parent.libFilter.forComponentSelectShow=!1,this.forNonComponentListOfChecked.length>0?this.parent.libFilter.forNonComponentSelectShow=!0:this.parent.libFilter.forNonComponentSelectShow=!1,this.parent.libFilter.forAllSelectShow=!0}whenLibListCheckboxAttrChanged(e,i){let o=new Set([...this.selectedIds]);if(!o.has(e)&&i===!0){o.add(e),this.selectedIds=o,this.updateLibFilterSelectStatus(e);return}if(o.has(e)&&i===!1){o.delete(e),this.selectedIds=o,this.updateLibFilterSelectStatus(e);return}}refreshDeviceListBySearch(e=""){if(!e){let o=[];if(this.parent.isSimple){for(let r=0;r<this.componentList.length;r++)this.componentList[r].data.localType!=="SYMBOL"&&o.push({...this.componentList[r]});this.renderComponentList=o}else this.renderComponentList=ue.deepClone(this.componentList.map(r=>r));this.scrollContainerScrollTop=0;return}let i=[];if(this.parent.isSimple){for(let o=0;o<this.componentList.length;o++)this.componentList[o].data.localType!=="SYMBOL"&&(String(this.componentList[o].title).toLocaleLowerCase().indexOf(e.toLocaleLowerCase())>=0||String(this.componentList[o].titleAdditional).toLocaleLowerCase().indexOf(e.toLocaleLowerCase())>=0)&&i.push(this.componentList[o]);this.renderComponentList=i}else{for(let o=0;o<this.componentList.length;o++)(String(this.componentList[o].title).toLocaleLowerCase().indexOf(e.toLocaleLowerCase())>=0||String(this.componentList[o].titleAdditional).toLocaleLowerCase().indexOf(e.toLocaleLowerCase())>=0)&&i.push(this.componentList[o]);this.renderComponentList=i}this.scrollContainerScrollTop=0}setTypedComponentListAllSelectedOrNonSelected(e,i){let o=new Set([...this.selectedIds]);if(e==="forAllSelectStatus"){if(i)for(let r=0;r<this.componentList.length;r++)this.renderComponentIds.has(this.componentList[r].id)&&o.add(this.componentList[r].id);else for(let r of o)this.renderComponentIds.has(r)&&o.delete(r);this.selectedIds=o;return}if(e==="forDeviceSelectStatus"){if(i)for(let r=0;r<this.forDeviceListOfChecked.length;r++)this.renderComponentIds.has(this.forDeviceListOfChecked[r].id)&&o.add(this.forDeviceListOfChecked[r].id);else for(let r=0;r<this.forDeviceListOfChecked.length;r++)this.renderComponentIds.has(this.forDeviceListOfChecked[r].id)&&o.delete(this.forDeviceListOfChecked[r].id);this.selectedIds=o;return}if(e==="forSymbolSelectStatus"){if(i)for(let r=0;r<this.forSymbolListOfChecked.length;r++)this.renderComponentIds.has(this.forSymbolListOfChecked[r].id)&&o.add(this.forSymbolListOfChecked[r].id);else for(let r=0;r<this.forSymbolListOfChecked.length;r++)this.renderComponentIds.has(this.forSymbolListOfChecked[r].id)&&o.delete(this.forSymbolListOfChecked[r].id);this.selectedIds=o;return}if(e==="forFootprintSelectStatus"){if(i)for(let r=0;r<this.forFootprintListOfChecked.length;r++)this.renderComponentIds.has(this.forFootprintListOfChecked[r].id)&&o.add(this.forFootprintListOfChecked[r].id);else for(let r=0;r<this.forFootprintListOfChecked.length;r++)this.renderComponentIds.has(this.forFootprintListOfChecked[r].id)&&o.delete(this.forFootprintListOfChecked[r].id);this.selectedIds=o;return}if(e==="forComponentSelectStatus"){if(i)for(let r=0;r<this.forTrueComponentListOfChecked.length;r++)this.renderComponentIds.has(this.forTrueComponentListOfChecked[r].id)&&o.add(this.forTrueComponentListOfChecked[r].id);else for(let r=0;r<this.forTrueComponentListOfChecked.length;r++)this.renderComponentIds.has(this.forTrueComponentListOfChecked[r].id)&&o.delete(this.forTrueComponentListOfChecked[r].id);this.selectedIds=o;return}if(e==="forNonComponentSelectStatus"){if(i)for(let r=0;r<this.forNonComponentListOfChecked.length;r++)this.renderComponentIds.has(this.forNonComponentListOfChecked[r].id)&&o.add(this.forNonComponentListOfChecked[r].id);else for(let r=0;r<this.forNonComponentListOfChecked.length;r++)this.renderComponentIds.has(this.forNonComponentListOfChecked[r].id)&&o.delete(this.forNonComponentListOfChecked[r].id);this.selectedIds=o;return}}refreshComponentSelectedByLocalTypes(e){let i=this.renderComponentList,o=new Set;for(let r=0;r<i.length;r++){let n=i[r],a=n.data.attributes||{},s=e5e(this.componentList,a.Symbol);n.data.localType==="DEVICE"&&(e.includes("DEVICE")||e.includes("COMPONENT")&&s&&String(s.data.docType)===tr.ComponentSymbol)&&o.add(n.id),n.data.localType==="SYMBOL"&&(e.includes("SYMBOL")?o.add(n.id):(e.includes("COMPONENT")&&String(n.data.docType)===tr.ComponentSymbol&&o.add(n.id),e.includes("NON_COMPONENT")&&String(n.data.docType)!==tr.ComponentSymbol&&o.add(n.id))),n.data.localType==="FOOTPRINT"&&(e.includes("FOOTPRINT")||e.includes("COMPONENT"))&&o.add(n.id),n.data.localType==="PANEL_LIB"&&e.includes("NON_COMPONENT")&&o.add(n.id)}this.selectedIds=o}scrollToFirstMatchedLocalTypeItemPos(e){let i=-1,o;if(e==="forAllSelectStatus"?this.scrollContainerScrollTop=0:e==="forDeviceSelectStatus"?o="DEVICE":e==="forSymbolSelectStatus"?o="SYMBOL":e==="forFootprintSelectStatus"?o="FOOTPRINT":(e==="forComponentSelectStatus"||e==="forNonComponentSelectStatus")&&(o=void 0),o){for(let r=0;r<this.renderComponentList.length;r++){let n=this.renderComponentList[r];if(i<=-1&&n.data.localType===o){i=r;break}}this.scrollContainerScrollTop=i*this._scrollItemHeight}}updateLibFilterSelectStatus(e){let i=Ft(this.componentList,"id",e);if(i.index<=-1)return;let o=i.data.data;if(o.localType==="DEVICE"){let r=this.getComponentListSelectedStatus(this.forDeviceListOfChecked),n=this.getComponentListSelectedStatus(this.forTrueComponentListOfChecked),a=this.getComponentListSelectedStatus(this.forNonComponentListOfChecked);this.parent.libFilter.forDeviceSelectStatus=r,this.parent.libFilter.forComponentSelectStatus=n,this.parent.libFilter.forNonComponentSelectStatus=a,this.parent.libFilter.flushForAllSelectCheckboxStatus();return}if(o.localType==="SYMBOL"){let r=this.getComponentListSelectedStatus(this.forSymbolListOfChecked),n=this.getComponentListSelectedStatus(this.forTrueComponentListOfChecked),a=this.getComponentListSelectedStatus(this.forNonComponentListOfChecked);this.parent.libFilter.forSymbolSelectStatus=r,this.parent.libFilter.forComponentSelectStatus=n,this.parent.libFilter.forNonComponentSelectStatus=a,this.parent.libFilter.flushForAllSelectCheckboxStatus();return}if(o.localType==="FOOTPRINT"){let r=this.getComponentListSelectedStatus(this.forFootprintListOfChecked),n=this.getComponentListSelectedStatus(this.forTrueComponentListOfChecked);this.parent.libFilter.forFootprintSelectStatus=r,this.parent.libFilter.forComponentSelectStatus=n,this.parent.libFilter.flushForAllSelectCheckboxStatus();return}if(o.localType==="PANEL_LIB"){let r=this.getComponentListSelectedStatus(this.forNonComponentListOfChecked);this.parent.libFilter.forNonComponentSelectStatus=r,this.parent.libFilter.flushForAllSelectCheckboxStatus();return}}getComponentListSelectedStatus(e){let i=new Set;for(let o=0;o<e.length;o++)this.selectedIds.has(e[o].id)&&i.add(e[o].id);return i.size<=0?0:i.size>=e.length?2:1}};var FBe=class extends qe{constructor(e){super(),this.parent=e,this._libSelectDisabled=!1,this._workSpaceDisabled=!1,this._workSpaceSelected=C.workspace,this._libIdSelected="",this._categoryShowString="",this._isNewDeviceBySingleSymbol=!0,this._autoUpdateSameNameLib=!0,this._tabList=[],this._deviceCategoryData={uuids:[],names:[]},this._symbolCategoryData={uuids:[],names:[]},this._footprintCategoryData={uuids:[],names:[]},this._panelLibCategoryData={uuids:[],names:[]},this._deviceCategoryShow=!1,this._symbolCategoryShow=!1,this._footprintCategoryShow=!1,this._panelLibCategoryShow=!1}get libSelectDisabled(){return this._libSelectDisabled}set libSelectDisabled(e){this._libSelectDisabled=e,this.notify()}get workSpaceDisabled(){return this._workSpaceDisabled}set workSpaceDisabled(e){this._workSpaceDisabled=e,this.notify()}get workSpaceSelected(){return this._workSpaceSelected}set workSpaceSelected(e){this._workSpaceSelected=e,this.notify()}get libIdSelected(){return this._libIdSelected}set libIdSelected(e){this._libIdSelected=e,this.notify()}get tabList(){return this._tabList}set tabList(e){this._tabList=e,this.notify()}get categoryShowString(){return this._categoryShowString}set categoryShowString(e){this._categoryShowString=e,this.notify()}get isNewDeviceBySingleSymbol(){return this._isNewDeviceBySingleSymbol}set isNewDeviceBySingleSymbol(e){this._isNewDeviceBySingleSymbol=e,this.notify()}get autoUpdateSameNameLib(){return this._autoUpdateSameNameLib}set autoUpdateSameNameLib(e){this._autoUpdateSameNameLib=e,this.notify()}get deviceCategoryData(){return this._deviceCategoryData}set deviceCategoryData(e){this._deviceCategoryData=e,this.notify()}get symbolCategoryData(){return this._symbolCategoryData}set symbolCategoryData(e){this._symbolCategoryData=e,this.notify()}get footprintCategoryData(){return this._footprintCategoryData}set footprintCategoryData(e){this._footprintCategoryData=e,this.notify()}get panelLibCategoryData(){return this._panelLibCategoryData}set panelLibCategoryData(e){this._panelLibCategoryData=e,this.notify()}get deviceCategoryShow(){return this._deviceCategoryShow}set deviceCategoryShow(e){this._deviceCategoryShow=e,this.notify()}get symbolCategoryShow(){return this._symbolCategoryShow}set symbolCategoryShow(e){this._symbolCategoryShow=e,this.notify()}get footprintCategoryShow(){return this._footprintCategoryShow}set footprintCategoryShow(e){this._footprintCategoryShow=e,this.notify()}get panelLibCategoryShow(){return this._panelLibCategoryShow}set panelLibCategoryShow(e){this._panelLibCategoryShow=e,this.notify()}async initial(e){this.isNewDeviceBySingleSymbol=!0,Array.isArray(e.deviceCategoryTitles)&&e.deviceCategoryTitles.length&&(this.deviceCategoryData.names=[...e.deviceCategoryTitles]),Array.isArray(e.symbolCategoryTitles)&&e.symbolCategoryTitles.length&&(this.symbolCategoryData.names=[...e.symbolCategoryTitles]),Array.isArray(e.footprintCategoryTitles)&&e.footprintCategoryTitles.length&&(this.footprintCategoryData.names=[...e.footprintCategoryTitles]),Array.isArray(e.panelLibCategoryTitles)&&e.panelLibCategoryTitles.length&&(this.panelLibCategoryData.names=[...e.panelLibCategoryTitles])}whenWorkSpaceChanged(e){this.workSpaceSelected!==e&&(this.workSpaceSelected=e)}whenTeamOwnerChanged(e){this.libIdSelected!==e&&(this.libIdSelected=e)}async updateLibIdSelected(){let e=this.parent.dialogProps,i=await this.getFixedLibSelectedParams(e);this.libIdSelected=i.libIdSelected,this.tabList=i.tabList}whenCategoryInfoClear(e){if(e===Yi.DEVICE){this.deviceCategoryData={uuids:[],names:[]};return}if(e===Yi.SYMBOL){this.symbolCategoryData={uuids:[],names:[]};return}if(e===Yi.FOOTPRINT){this.footprintCategoryData={uuids:[],names:[]};return}if(e===Yi.PANEL_LIB){this.panelLibCategoryData={uuids:[],names:[]};return}}whenCheckboxAttrChanged(e,i){if(e==="isNewDeviceBySingleSymbol"){this.isNewDeviceBySingleSymbol=!!i;return}}async whenCategoryConfirmUpdate(e,i){let o=await sn.fetchCategoryList(this.libIdSelected,this.libIdSelected,[e],void 0,!1),r=i.split(":"),n=r[0],a=r[1],s="",l="",c=o.result?o.result.sourceCategoryList:[],d=me.curr==="zh-cn"||me.curr==="zh-hans";for(let u=0;u<c.length;u++){if(n&&c[u].uuid===n){s=d&&c[u].name_cn?c[u].name_cn:c[u].name;continue}if(a&&c[u].uuid===a){l=d&&c[u].name_cn?c[u].name_cn:c[u].name;continue}}if(s){if(s&&(this.categoryShowString=s+(l?`:${l}`:"")),e===Yi.DEVICE){this.deviceCategoryData={uuids:[n],names:[s]},l&&(this.deviceCategoryData.uuids.push(a),this.deviceCategoryData.names.push(l));return}if(e===Yi.SYMBOL){this.symbolCategoryData={uuids:[n],names:[s]},l&&(this.symbolCategoryData.uuids.push(a),this.symbolCategoryData.names.push(l));return}if(e===Yi.FOOTPRINT){this.footprintCategoryData={uuids:[n],names:[s]},l&&(this.footprintCategoryData.uuids.push(a),this.footprintCategoryData.names.push(l));return}if(e===Yi.PANEL_LIB){this.panelLibCategoryData={uuids:[n],names:[s]},l&&(this.panelLibCategoryData.uuids.push(a),this.panelLibCategoryData.names.push(l));return}}}async getFixedLibSelectedParams(e){let i=C.loginedUserInfo||{},o={username:i.username,uuid:i.uuid},r=await iI(!1,Hs.Normal,""),n=(Af||Sb)&&r.length&&r[0].id?r[0].id:o.uuid;return(Af||Sb)&&(n===bo.getInstance().usedId||n===_e.FAVORITELIB_UUID)&&r[0]&&(n=r[0].id),{libIdSelected:n,tabList:r}}};var UBe=class extends qe{constructor(e){super(),this.parent=e,this._chamelenoCovertOptional=null}get chamelenoCovertOptional(){return this._chamelenoCovertOptional}set chamelenoCovertOptional(e){this._chamelenoCovertOptional=e,this.notify()}initial(e){this.chamelenoCovertOptional=e.chamelenoCovertOptional&&e.chamelenoCovertOptional!==null?{...e.chamelenoCovertOptional}:null}};async function Pwi(t){let e=new BTt;return await e.initial(t),e}var BTt=class extends qe{constructor(){super(),this._dialogProps=null,this._dialogReady=!1,this._isImporting=!1,this.libFilter=new BBe(this),this.libList=new zBe(this),this.libProfileSetting=new FBe(this),this.baseInfo=new UBe(this),this._isSimple=mt.getSymbolLibManage()==="1"}set dialogReady(e){this._dialogReady=e}get dialogReady(){return this._dialogReady}set dialogProps(e){this._dialogProps=e}get dialogProps(){return this._dialogProps}set isImporting(e){this._isImporting=e,this.notify()}get isImporting(){return this._isImporting}get isSimple(){return this._isSimple}async initial(e){this.libList.loadingTipsText=me.i18n("loading..."),this.dialogProps=e,await this.libProfileSetting.initial(e),this.baseInfo.initial(e),this.libList.componentList=[...this.dialogProps.componentLists]}whenDialogReady(){if(this._dialogReady)return;this._dialogReady=!0;let e=this.dialogProps.freeSymbols||[],i=new Map;for(let n=0;n<e.length;n++){let a=`freeSymbolDevice_${Mt()}`;i.set(a,e[n])}this.libList.freeSymbolsCache=i;let o=new Set;for(let n=0;n<this.libList.componentList.length;n++)this.libList.componentList[n].data.localType==="DEVICE"&&o.add(this.libList.componentList[n].data.title);this.libList.existsDeviceNames=o,mt.getSymbolLibManage()==="1"&&!this.libProfileSetting.isNewDeviceBySingleSymbol&&(this.libProfileSetting.isNewDeviceBySingleSymbol=!0),this.libList.updateComponentListBySingleDeviceCheckboxStatus(this.libProfileSetting.isNewDeviceBySingleSymbol),this.libList.refreshDeviceListBySearch(),this.libList.updateComponentTypeListPool(),this.libList.refreshComponentSelectedByLocalTypes(this.dialogProps.localTypes||this.libFilter.createSelectedLocalType()),this.libList.checkComponentSelectedStatus(),this.libList.componentList.length<=0?(this.libList.loadingTipsShow=!0,this.libList.loadingTipsText=me.i18n("No Result!"),this.libFilter.setAllCheckboxDisabledStatus(!0)):(this.libList.loadingTipsShow=!1,this.libFilter.setAllCheckboxDisabledStatus(!1))}whenSingleSymbolCheckboxUpdate(e){this.libProfileSetting.whenCheckboxAttrChanged("isNewDeviceBySingleSymbol",e),this.libList.updateComponentListBySingleDeviceCheckboxStatus(e),this.libList.refreshDeviceListBySearch(),this.libList.updateComponentTypeListPool(),this.libList.checkComponentSelectedStatus()}createConfitmSubmitData(){let e=new Set;for(let r=0;r<this.libList.componentList.length;r++){let n=this.libList.componentList[r],a=n.data;if(this.libList.selectedIds.has(n.id)&&a.localType==="DEVICE"&&a.isPlaceholder){let s=a.attributes||{};s.Symbol&&e.add(s.Symbol)}}let i=[];for(let r of this.dialogProps.freeSymbols)e.has(r.uuid)&&i.push(r);return{dataStr:this.dialogProps.dataStr,files:this.dialogProps.files,selectedIds:this.libList.selectedIds,componentLists:this.libList.componentList,deviceCategoryData:this.libProfileSetting.deviceCategoryData,symbolCategoryData:this.libProfileSetting.symbolCategoryData,footprintCategoryData:this.libProfileSetting.footprintCategoryData,panelLibCategoryData:this.libProfileSetting.panelLibCategoryData,workSpaceSelected:this.libProfileSetting.workSpaceSelected,libIdSelected:this.libProfileSetting.libIdSelected,isNewDeviceBySingleSymbol:this.libProfileSetting.isNewDeviceBySingleSymbol,autoUpdateSameNameLib:this.libProfileSetting.autoUpdateSameNameLib,freeSymbols:i,isSimple:this.isSimple,chamelenoCovertOptional:this.baseInfo.chamelenoCovertOptional}}},k3=(0,kwi.createContext)(void 0);var YBe=L(Se()),Qwi=L(Sj());var Dre=L(Se()),zTt=L(Sj());var iJ=L(Se());var VBe=L(z());function Owi(t){let{disabled:e,initSelectValue:i,refreshTicket:o=0,onSelectChange:r,onRefreshCallback:n}=t,a=J(),[s,l]=(0,iJ.useState)(i),[c,d]=(0,iJ.useState)(""),[u,p]=(0,iJ.useState)([]),[m,h]=(0,iJ.useState)("");return(0,iJ.useEffect)(()=>{R2().then(f=>{let g=f.filter(b=>m&&!(b.nickname||"").toLowerCase().includes(m.toLowerCase())?!1:!bT(b.uuid)).map(b=>({title:b.nickname,value:b.uuid}));p(g)})},[o,m]),(0,iJ.useEffect)(()=>{let f=u;!m&&f.length<=0&&(f=[{value:i,title:i}],p(f));let g=u.map(w=>w.value),b=i;g.length&&g.indexOf(i)<=-1&&(b=u[0].value,r(b));let y=Ft(f,"value",b);y&&y.data&&(l(b),d(y.data.title)),window.setTimeout(()=>{n&&n()},500)},[i,u]),(0,VBe.jsx)("div",{style:{height:"24px",width:"100%"},children:(0,VBe.jsx)(ej,{disabled:e,selectedValue:s,selectedText:c,onItemChange:f=>{l(f),r&&r(f)},isTranslateForSelectedText:!1,searchAble:!0,hiddenCallback:()=>h(""),onSearchInput:f=>h(f),children:u.map(f=>(0,VBe.jsx)(lc,{isTranslate:!1,value:f.value,title:f.title,children:f.title},f.value))})})}var P3=L(z()),{locals:sme}=zTt.default;function Rwi(){let t=J(),e=be.bind(zTt.default.locals),i=(0,Dre.useContext)(k3);Ce(i.libProfileSetting);let o={width:"135px",marginRight:"8px",flexShrink:0,display:"initial"},r=(0,Dre.useRef)(null),[n,a]=(0,Dre.useState)(0),[s,l]=(0,Dre.useState)(!1),c=h=>{i.libProfileSetting.whenWorkSpaceChanged(h)},d=(h,f)=>{i.libProfileSetting.whenTeamOwnerChanged(h)},u=h=>{},p=Je,m=()=>p?(0,P3.jsx)("span",{style:{margin:"4px 0 0 8px",textDecoration:"none",outline:"none",color:"#1890ff",cursor:"pointer"},"data-test":"Create Component library",onClick:async h=>{h.preventDefault(),Gg(f=>{s||(a(n+1),l(!0),i.libProfileSetting.updateLibIdSelected())})},children:t("Create Component library")}):(0,P3.jsx)("a",{className:e("create-team-link")+" "+sme["profileline-link"],"data-key":"owner",href:`/account/user/team/create?from=editor&lang=${mt.toWorkSpaceNeedLang()}${i.libProfileSetting.workSpaceSelected!=="Personal"?`&orguuid=${i.libProfileSetting.workSpaceSelected}`:""}`,target:"_blank",onClick:h=>{wi&&(h.preventDefault(),window.electronAPI.openWindow(`${location.origin}/account/user/team/create?from=editor&lang=${mt.toWorkSpaceNeedLang()}${i.libProfileSetting.workSpaceSelected!=="Personal"?`&orguuid=${i.libProfileSetting.workSpaceSelected}`:""}`))},style:{margin:"4px 0 0 8px",textDecoration:"none"},"data-test":"Create Team",children:t("Create Team")});return(0,P3.jsxs)("div",{className:sme["profileline-wrapper"],style:{overflow:"initial"},children:[(0,P3.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:sme["profileline-label-wrapper"],style:{flex:`0 0 ${me.curr==="zh-cn"||me.curr==="zh-hans"?"85px":"115px"}`},children:p?(0,P3.jsx)("span",{title:t("Library"),"data-test":"Library",i18n:"Library",children:t("Library:")}):(0,P3.jsx)("span",{title:t("Owner"),"data-test":"Owner",i18n:"Owner",children:t("Owner:")})}),p?(0,P3.jsx)("div",{className:sme["profileline-content-wrapper"],children:(0,P3.jsx)(Owi,{disabled:i.libProfileSetting.libSelectDisabled,initSelectValue:i.libProfileSetting.libIdSelected,refreshTicket:n,onSelectChange:d,onRefreshCallback:()=>{l(!1)}})}):(0,P3.jsxs)("div",{className:sme["profileline-content-wrapper"],children:[(0,P3.jsx)("div",{style:o,children:(0,P3.jsx)(zZ,{orgUuid:i.libProfileSetting.workSpaceSelected,disable:i.libProfileSetting.workSpaceDisabled,onChangeSelect:c})}),(0,P3.jsx)("div",{style:{width:"182px",position:"relative"},children:(0,P3.jsxs)("div",{style:{width:"100%",position:"relative",flexShrink:1,display:"flex"},children:[(0,P3.jsx)(sj,{ref:r,notFolder:!0,disabled:i.libProfileSetting.libSelectDisabled,defaultSelectId:i.libProfileSetting.libIdSelected,refreshTicket:n,org_uuid:i.libProfileSetting.workSpaceSelected,onSelectChange:d,onItemClicked:u,reFreshCallback:()=>{l(!1)}}),(0,P3.jsx)("span",{className:e("icon-eda-refresh",{rotateIcon:s}),"data-test":"Refresh","data-i18n-attr":"title",title:t("Refresh"),style:{width:"12px",height:"12px",cursor:"pointer",margin:"6px 8px 0 5px"},onClick:()=>{s||(a(n+1),l(!0))}})]})})]}),(0,P3.jsx)("div",{className:sme["profileline-tips-wrapper"],children:m()})]})}var _wi=L(Se()),FTt=L(Sj());var oJ=L(z());async function O3(t={}){let e={action:"yes",data:t},i=`
        <div>
            <div style="line-height: 20px;">${me.i18n("Are you sure you want to clear this item?")}</div>
        </div>
    `;return new Promise(async(o,r)=>{let n=()=>{let s=J();return(0,oJ.jsxs)(oJ.Fragment,{children:[(0,oJ.jsx)(Me,{type:"primary",size:"md",onClick:()=>{le.destroy(a),e.action="yes",o(e)},children:"Yes"}),(0,oJ.jsx)(Me,{size:"md",onClick:()=>{le.destroy(a),e.action="no",o(e)},children:"No"})]})},a=(await C.messageBus.rpcCall("messageSync",{type:"confirm",title:"Notice",isHtml:!0,message:i,footer:(0,oJ.jsx)(n,{}),closable:!0})).message})}var RV=L(z()),{locals:t5e}=FTt.default;function i5e(t){let e=J(),i=be.bind(FTt.default.locals),{label:o,categoryType:r,categoryData:n,dataTest:a}=t,s=(0,_wi.useContext)(k3);Ce(s.libProfileSetting);let l=()=>{O3().then(u=>{u.action==="yes"&&s.libProfileSetting.whenCategoryInfoClear(r)})},c=()=>{var u;C1({docType:r,userId:s.libProfileSetting.libIdSelected,path:"",isProjectLib:!1,libOwnerId:(u=s==null?void 0:s.libProfileSetting)==null?void 0:u.workSpaceSelected}).then(p=>{p.confirm&&s.libProfileSetting.whenCategoryConfirmUpdate(r,p.tag.pathId)})},d=u=>{u.preventDefault(),Qc({menuSelected:"CATEGORY",initCategoryActiveLibId:s.libProfileSetting.libIdSelected})};return(0,RV.jsxs)("div",{className:t5e["profileline-wrapper"],children:[(0,RV.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:t5e["profileline-label-wrapper"],style:{flex:`0 0 ${me.curr==="zh-cn"||me.curr==="zh-hans"?"85px":"115px"}`},children:(0,RV.jsx)("span",{title:e(o),"data-test":o,i18n:o,children:e(o)})}),(0,RV.jsx)("div",{className:t5e["profileline-content-wrapper"],children:(0,RV.jsx)(ea,{value:n.names.join(":"),hasClearButton:!0,hasThreePoint:!0,onClearClick:l,openDialog:c,dataTest:a})}),(0,RV.jsx)("div",{className:t5e["profileline-tips-wrapper"],children:(0,RV.jsx)("a",{className:t5e["profileline-link"],href:"#",style:{margin:"4px 0 0 8px",textDecoration:"none"},"data-test":"Manage Categories",onClick:d,children:e("Manage Categories")})})]})}var jwi=L(Se()),UTt=L(Sj());var o5e=L(z()),{locals:fCa}=UTt.default;function Bwi(){let t=J(),e=be.bind(UTt.default.locals),i=(0,jwi.useContext)(k3);Ce(i.libProfileSetting);let o=r=>{i.whenSingleSymbolCheckboxUpdate(r)};return(0,o5e.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:{paddingLeft:"15px"},children:[(0,o5e.jsx)(qt,{id:"isNewDeviceBySingleSymbol",checked:i.libProfileSetting.isNewDeviceBySingleSymbol,onChange:o,dataTest:"Create Device For Single Symbol"}),(0,o5e.jsx)("label",{htmlFor:"isNewDeviceBySingleSymbol",title:t("Create device for single symbol"),style:{paddingLeft:"5px",paddingRight:"5px",minWidth:"fit-content",userSelect:"none",cursor:"pointer"},children:t("Create device for single symbol")})]})}var zwi=L(Se()),VTt=L(Sj());var r5e=L(z()),{locals:LCa}=VTt.default;function Fwi(){let t=J(),e=be.bind(VTt.default.locals),i=(0,zwi.useContext)(k3);Ce(i.libProfileSetting);let o=r=>{i.libProfileSetting.autoUpdateSameNameLib=r};return(0,r5e.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:{paddingLeft:"15px"},children:[(0,r5e.jsx)(qt,{id:"autoUpdateSameNameLib",checked:i.libProfileSetting.autoUpdateSameNameLib,onChange:o,dataTest:"Automatically update existing library with the same name"}),(0,r5e.jsx)("label",{htmlFor:"autoUpdateSameNameLib",title:t("Automatically update existing library with the same name"),style:{paddingLeft:"5px",paddingRight:"5px",minWidth:"fit-content",userSelect:"none",cursor:"pointer"},children:t("Automatically update existing library with the same name")})]})}var HBe=L(Se());var Uwi=L(Sj()),HTt=L(z()),{locals:Abr}=Uwi.default;function Nbr(t){let e=J(),i=`display-flex flex-nowrap ${Abr["component-search-section"]}`,o=(0,HBe.useContext)(k3);Ce(o.libFilter);let r=(s,l)=>{o.libFilter.searchValue=s},n=(s,l)=>{o.libFilter.searchValue="",o.libFilter.isInSearchingStatus&&(o.libFilter.isInSearchingStatus=!1,o.libFilter.whenExitComponentSearchStatus())},a=(s,l)=>{o.libFilter.searchValue?(o.libFilter.isInSearchingStatus=!0,o.libFilter.whenImmersedComponentSearchStatus()):(o.libFilter.isInSearchingStatus=!1,o.libFilter.whenExitComponentSearchStatus())};return(0,HTt.jsx)("section",{className:i,children:(0,HTt.jsx)(Bm,{initShowValue:o.libFilter.searchValue,placeholder:o.libFilter.searchPlaceHolder,onUpdateInputValue:r,onClearInputValue:n,onConfirm:a,dataTest:"Search"})})}var Vwi=HBe.default.memo(Nbr);var Hwi=L(Se()),GTt=L(Sj());var Ap=L(z()),{locals:HCa}=GTt.default;function Gwi(){let t=J(),e=be.bind(GTt.default.locals),i=(0,Hwi.useContext)(k3);Ce(i.libFilter);let o=(r,n)=>{let a=n.target.getAttribute("id");i.libFilter.whenCheckboxAttrChanged(a,r),i.libList.scrollToFirstMatchedLocalTypeItemPos(a),i.libList.checkComponentSelectedStatus()};return(0,Ap.jsxs)("div",{style:{padding:"5px 0"},children:[(0,Ap.jsxs)("div",{style:{display:"flex",justifyContent:"flex-start",alignContent:"center",alignItems:"center",flexWrap:"nowrap"},children:[i.libFilter.forAllSelectShow?(0,Ap.jsx)("div",{style:{width:"25%",flexShrink:0},children:(0,Ap.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",children:[(0,Ap.jsx)(qt,{id:"forAllSelectStatus",checked:i.libFilter.forAllSelectStatus===2,isHalfCheck:i.libFilter.forAllSelectStatus===1,disabled:i.libFilter.forAllSelectDisabled,onChange:o,dataTest:"All"}),(0,Ap.jsx)("label",{htmlFor:"forAllSelectStatus",title:t("All"),style:{paddingLeft:"5px",paddingRight:"5px",minWidth:"fit-content",userSelect:"none",cursor:"pointer"},children:t("All")})]})}):null,i.libFilter.forDeviceSelectShow?(0,Ap.jsx)("div",{style:{width:"25%",flexShrink:0},children:(0,Ap.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",children:[(0,Ap.jsx)(qt,{id:"forDeviceSelectStatus",checked:i.libFilter.forDeviceSelectStatus===2,isHalfCheck:i.libFilter.forDeviceSelectStatus===1,disabled:i.libFilter.forDeviceSelectDisabled,onChange:o,dataTest:"Device"}),(0,Ap.jsx)("label",{htmlFor:"forDeviceSelectStatus",title:t("Device"),style:{paddingLeft:"5px",paddingRight:"5px",minWidth:"fit-content",userSelect:"none",cursor:"pointer"},children:t("Device")})]})}):null,i.libFilter.forSymbolSelectShow?(0,Ap.jsx)("div",{style:{width:"25%",flexShrink:0},children:(0,Ap.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",children:[(0,Ap.jsx)(qt,{id:"forSymbolSelectStatus",checked:i.libFilter.forSymbolSelectStatus===2,isHalfCheck:i.libFilter.forSymbolSelectStatus===1,disabled:i.libFilter.forSymbolSelectDisabled,onChange:o,dataTest:"Symbol"}),(0,Ap.jsx)("label",{htmlFor:"forSymbolSelectStatus",title:t("Symbol"),style:{paddingLeft:"5px",paddingRight:"5px",minWidth:"fit-content",userSelect:"none",cursor:"pointer"},children:t("Symbol")})]})}):null,i.libFilter.forFootprintSelectShow?(0,Ap.jsx)("div",{style:{width:"25%",flexShrink:0},children:(0,Ap.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",children:[(0,Ap.jsx)(qt,{id:"forFootprintSelectStatus",checked:i.libFilter.forFootprintSelectStatus===2,isHalfCheck:i.libFilter.forFootprintSelectStatus===1,disabled:i.libFilter.forFootprintSelectDisabled,onChange:o,dataTest:"Footprint"}),(0,Ap.jsx)("label",{htmlFor:"forFootprintSelectStatus",title:t("Footprint"),style:{paddingLeft:"5px",paddingRight:"5px",minWidth:"fit-content",userSelect:"none",cursor:"pointer"},children:t("Footprint")})]})}):null]}),(0,Ap.jsxs)("div",{style:{display:"flex",justifyContent:"flex-start",alignContent:"center",alignItems:"center",flexWrap:"nowrap"},children:[i.libFilter.forComponentSelectShow?(0,Ap.jsx)("div",{style:{width:"25%",flexShrink:0},children:(0,Ap.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",children:[(0,Ap.jsx)(qt,{id:"forComponentSelectStatus",checked:i.libFilter.forComponentSelectStatus===2,isHalfCheck:i.libFilter.forComponentSelectStatus===1,disabled:i.libFilter.forComponentSelectDisabled,onChange:o,dataTest:"Component"}),(0,Ap.jsx)("label",{htmlFor:"forComponentSelectStatus",title:t("Component"),style:{paddingLeft:"5px",paddingRight:"5px",minWidth:"fit-content",userSelect:"none",cursor:"pointer"},children:t("Component")})]})}):null,i.libFilter.forNonComponentSelectShow?(0,Ap.jsx)("div",{style:{width:"25%",flexShrink:0},children:(0,Ap.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",children:[(0,Ap.jsx)(qt,{id:"forNonComponentSelectStatus",checked:i.libFilter.forNonComponentSelectStatus===2,isHalfCheck:i.libFilter.forNonComponentSelectStatus===1,disabled:i.libFilter.forNonComponentSelectDisabled,onChange:o,dataTest:"Not Component"}),(0,Ap.jsx)("label",{htmlFor:"forNonComponentSelectStatus",title:t("Not Component"),style:{paddingLeft:"5px",paddingRight:"5px",minWidth:"fit-content",userSelect:"none",cursor:"pointer"},children:t("Not Component")})]})}):null]})]})}var xP=L(Se()),Ywi=L(Sj());var oI=L(z()),{locals:GBe}=Ywi.default;function Wwi(t){let e=J(),i=(0,xP.useContext)(k3);Ce(i.libFilter),Ce(i.libList);let o=`${GBe["componentlist-section"]}`,[r,n]=(0,xP.useState)("100%"),[a,s]=(0,xP.useState)(0),l=(0,xP.useRef)(null),c=(0,xP.useRef)(null),d=(m,h)=>{let f=h.target.getAttribute("id");i.libList.whenLibListCheckboxAttrChanged(f,m)},u=(m,h,f,g)=>{let b=m.titleAdditional&&f._curr===E0e?String(m.titleAdditional):String(m.title),y=m.iconcls;if(!i.libFilter.searchValue)return(0,oI.jsxs)("div",{className:GBe["treeline-item"],"data-tagitem":"ComponentItem","data-docType":m.data.docType,"data-test":m.data.title,children:[(0,oI.jsx)(qt,{id:m.id,checked:g.includes(m.id),onChange:d}),(0,oI.jsx)("span",{className:y,style:{width:"16px",height:"16px",margin:"0 2px",display:"inline"}}),(0,oI.jsx)("span",{title:b,style:{padding:"0 0 2px 5px"},children:b})]});let w=new RegExp(`(${i.libFilter.searchValue})`,"ig"),x=(b==null?void 0:b.replace(w,`<span class='${GBe.hightlight}'>$1</span>`))||"";return(0,oI.jsxs)("div",{className:GBe["treeline-item"],"data-tagitem":"ComponentItem","data-docType":m.data.docType,"data-test":m.data.title,children:[(0,oI.jsx)(qt,{id:m.id,checked:g.includes(m.id),onChange:d}),(0,oI.jsx)("span",{className:y,style:{width:"16px",height:"16px",margin:"0 2px",display:"inline"}}),(0,oI.jsx)("span",{title:x,style:{padding:"0 0 2px 5px"},dangerouslySetInnerHTML:{__html:x}})]})},p=m=>{i.libList.scrollContainerScrollTop=m.scrollTop,s(m.scrollTop)};return(0,xP.useEffect)(()=>{Yn(()=>{let m=c.current.getBoundingClientRect();n(m.height+"px"),window.setTimeout(()=>{i.whenDialogReady()})},300)},[]),(0,xP.useEffect)(()=>{i.libList.scrollContainerScrollTop!==a&&s(i.libList.scrollContainerScrollTop)},[i.libList.scrollContainerScrollTop]),(0,oI.jsx)("section",{className:o,children:(0,oI.jsxs)("div",{style:{width:"100%",height:"100%",position:"relative"},ref:c,children:[i.libList.loadingTipsShow?(0,oI.jsx)("div",{style:{position:"absolute",left:0,top:0,textAlign:"center",padding:"5px 0",width:"100%"},children:i.libList.loadingTipsText}):null,(0,oI.jsx)(Bd,{ref:l,treeWidgetItemWidth:"18px",showTagLine:!0,selectedIds:Array.from(i.libList.selectedIds),data:i.libList.renderComponentList,isVirtualList:!0,emptyLabel:"",disabledSelection:!0,disableTranslate:!0,expandedIds:[],containerHeight:r,initContainerScrollTop:a,onVirtualScroll:p,itemRender:u})]})})}var Qg=L(z()),{locals:rJ}=Qwi.default;function Kwi(t){let{dialogHeight:e,containerId:i,confirmBtnDisabledStatus:o,confirmBtnTextString:r}=t,n=J(),a=(0,YBe.useContext)(k3);return Ce(a),Ce(a.libProfileSetting),(0,YBe.useEffect)(()=>{CA.emit("syncDialogFootButtonsState",{containerId:i,confirmBtnDisabledStatus:o,confirmBtnTextString:r},xA)},[i,o,r]),(0,Qg.jsx)("div",{"data-tagitem":"container-main",className:rJ.container,children:(0,Qg.jsxs)("div",{className:rJ["basecontent-wrapper"],children:[(0,Qg.jsxs)("div",{className:rJ["section-area"],style:{height:"330px"},children:[(0,Qg.jsx)("div",{className:rJ["section-area-label"],"data-test":"Library",i18n:"Library",children:n("Library")}),(0,Qg.jsxs)("div",{className:rJ["section-area-content"],children:[(0,Qg.jsxs)("div",{children:[(0,Qg.jsx)(Vwi,{}),(0,Qg.jsx)(Gwi,{})]}),(0,Qg.jsx)("div",{style:{height:"220px"},children:(0,Qg.jsx)(Wwi,{})})]})]}),(0,Qg.jsxs)("div",{className:rJ["section-area"],style:{marginTop:"15px"},children:[(0,Qg.jsx)("div",{className:rJ["section-area-label"],"data-test":"Property",i18n:"Property",children:n("Import Setting")}),(0,Qg.jsxs)("div",{className:rJ["section-area-content"],children:[(0,Qg.jsx)(Rwi,{}),a.libProfileSetting.deviceCategoryShow?(0,Qg.jsx)(i5e,{categoryType:Yi.DEVICE,categoryData:a.libProfileSetting.deviceCategoryData,label:"Device Category:",dataTest:"Device Category"}):null,a.libProfileSetting.symbolCategoryShow?(0,Qg.jsx)(i5e,{categoryType:Yi.SYMBOL,categoryData:a.libProfileSetting.symbolCategoryData,label:"Symbol Category:",dataTest:"Symbol Category"}):null,a.libProfileSetting.footprintCategoryShow?(0,Qg.jsx)(i5e,{categoryType:Yi.FOOTPRINT,categoryData:a.libProfileSetting.footprintCategoryData,label:"Footprint Category:",dataTest:"Footprint Category"}):null,a.libProfileSetting.panelLibCategoryShow?(0,Qg.jsx)(i5e,{categoryType:Yi.PANEL_LIB,categoryData:a.libProfileSetting.panelLibCategoryData,label:"Panel Lib Category:",dataTest:"Panel Lib Category"}):null,a.isSimple?null:(0,Qg.jsx)(Bwi,{}),(0,Qg.jsx)(Fwi,{})]})]})]})})}var _v=L(z()),{locals:WBe}=QBe.default,Zwi=null;var kbr=t=>{let e=J(),{dialogWidth:i,dialogHeight:o,containerId:r,dialogId:n,onDialogOpen:a,onDialogCancel:s,onDialogClose:l,onDialogConfirm:c,onDialogClosed:d}=t,[u,p]=(0,Mj.useState)(!1),[m,h]=(0,Mj.useState)("Confirm"),[f,g]=(0,Mj.useState)(null),b=(0,Mj.useRef)(null);b.current=f;let y=t.height-168,w=`pop-content-wrapper display-flex flex-nowrap ${WBe["main-container"]}`,x=`${WBe["view-loading-wrapper"]}`,S=`${WBe["view-loading"]}`,T=`rotation ${WBe["view-loading-rotation"]}`,M=async I=>{if(I==="confirm"){if(b.current.isImporting)return;if(!b.current.libProfileSetting.libIdSelected){new Fi({type:"warn",msg:'Please select "Owner"'});return}if(!await jv(b.current.libProfileSetting.libIdSelected,Yr.Team_Component_Add,"Permission Dend"))return;if(p(!0),h("Importing"),b.current.isImporting=!0,(c?await c(b.current.createConfitmSubmitData(),b.current):!0)===!1){p(!1),h("Confirm"),b.current.isImporting=!1;return}b.current.isImporting=!1,le.close(r);return}I==="cancel"&&s&&s(),await oo({action:I,dialogId:n,formData:{}}),le.close(r)};return(0,Mj.useLayoutEffect)(()=>{window.clearTimeout(Zwi),Zwi=window.setTimeout(()=>{Pwi(t).then(I=>{g(I),a&&a()})},30)},[]),(0,Mj.useEffect)(()=>(CA.clearEvent("dialogFootBtnClicked",xA),CA.on("dialogFootBtnClicked",({action:I})=>{M(I)},xA),()=>{b.current=null,d&&d()}),[]),Bt(I=>{let{key:A}=I;A==="Enter"&&window.setTimeout(()=>{M("confirm")},100)}).keyboard(r),f?(0,_v.jsxs)("div",{className:"pop-content-container",children:[(0,_v.jsx)("style",{children:String(QBe.default)}),(0,_v.jsx)(k3.Provider,{value:f,children:(0,_v.jsx)("div",{className:w,children:(0,_v.jsx)(Kwi,{dialogHeight:o,containerId:r,confirmBtnDisabledStatus:u,confirmBtnTextString:m})})})]}):(0,_v.jsxs)("div",{className:"pop-content-container",children:[(0,_v.jsx)("style",{children:String(QBe.default)}),(0,_v.jsx)("div",{className:x,style:{height:o+"px"},children:(0,_v.jsx)("div",{className:S,children:(0,_v.jsx)("div",{className:T,children:(0,_v.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})]})},Jwi=kbr;var cme=L(Se());var lme=L(z());function qwi(){let t=J(),e=(0,cme.useRef)({containerId:"",confirmBtnDisabledStatus:!0,confirmBtnTextString:"Confirm"}),[i,o]=(0,cme.useState)(0),r=n=>{CA.emit("dialogFootBtnClicked",{action:n},xA)};return(0,cme.useLayoutEffect)(()=>{CA.clearEvent("syncDialogFootButtonsStatus",xA),CA.on("syncDialogFootButtonsState",n=>{e.current.containerId=n.containerId,e.current.confirmBtnDisabledStatus=n.confirmBtnDisabledStatus,e.current.confirmBtnTextString=n.confirmBtnTextString,o(a=>a+1)},xA)},[]),(0,lme.jsx)("div",{style:{width:"100%",display:"flex",alignContent:"center",alignItems:"center",justifyContent:"flex-end",position:"relative",padding:"15px 0 0 0"},"data-refresh":i,children:(0,lme.jsxs)("div",{children:[(0,lme.jsx)(Me,{disabled:e.current.confirmBtnDisabledStatus,type:"primary",style:{marginRight:"8px"},onClick:()=>r("confirm"),children:e.current.confirmBtnTextString}),(0,lme.jsx)(Me,{onClick:()=>r("cancel"),children:"Cancel"})]})})}var YTt=L(z());async function Xwi(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i,l=t.dialogTitle||r;return CA.clearNameSpace(xA),le.open({id:o,title:l,width:n,height:a,closed:s,esc:!0,folded:!1,footer:(0,YTt.jsx)(qwi,{}),children:(0,YTt.jsx)(Jwi,{containerId:o,dialogId:t.dialogId,...i,...t,dialogWidth:n,dialogHeight:a}),onClose:()=>{t.onDialogClose&&t.onDialogClose(),CA.clearNameSpace(xA)}}),le}async function $wi(t){return await ii("libImportManager",{...t})}var eCi=L(hU());async function CC(t){let{files:e=[],deviceCategoryTitles:i,symbolCategoryTitles:o,footprintCategoryTitles:r,panelLibCategoryTitles:n,chamelenoCovertOptional:a,localTypes:s,onConfirmEnd:l,changeDeviceAttributes:c,templateMap:d}=t,{dataStr:u}=t,p=[],m=[],h=[],f=[];vt(.01,"CALL_IMPORTLIB_DIALOG");let g=new Set,b=new Set,y=[];if(e.length)for(let x=0;x<e.length;x++){let S=e[x],T=[],M=[],I=[],A=[];try{let D=await la.extractLibInfo({data:e[x]});T=D.devices,M=D.symbols,I=D.footprints,A=D.panelLibs}catch(D){console.error(D),Ot("error",'<span class="i18n">An error occurred while parsing the file</span> ',void 0,!0)}for(let D=0;D<T.length;D++){let E=`${S.name}_${Mt()}`;p.push({id:E,title:T[D].title,data:{localType:"DEVICE",docType:ve.DEVICE,isPlaceholder:!1,...T[D]},iconcls:"coloricon-eda-device"});let N=T[D].attributes||{};N.Symbol&&g.add(N.Symbol)}for(let D=0;D<M.length;D++){let E=`${S.name}_${Mt()}`;m.push({id:E,title:M[D].title,data:{localType:"SYMBOL",docType:ve.SCHLIB3D,isPlaceholder:!1,...M[D]},iconcls:"coloricon-eda-symbol"}),!g.has(M[D].uuid)&&!b.has(M[D].uuid)&&(b.add(M[D].uuid),y.push(M[D]))}for(let D=0;D<I.length;D++){let E=`${S.name}_${Mt()}`;h.push({id:E,title:I[D].title,data:{localType:"FOOTPRINT",docType:ve.FOOTPRINT,isPlaceholder:!1,...I[D]},iconcls:"coloricon-eda-footprint"})}for(let D=0;D<A.length;D++){let E=`${S.name}_${Mt()}`;f.push({id:E,title:A[D].title,data:{localType:"PANEL_LIB",docType:ve.PANEL_LIB,isPlaceholder:!1,...A[D]},iconcls:"icon-eda-panel"})}vt(.01+.9*(1/e.length),"CALL_IMPORTLIB_DIALOG")}else if(u){let x=[],S=[],T=[],M=[];try{a&&!a.isAlreadyAutoBind&&(u=(await la.importAutoBind({data:u,autoBindFt:a.isAutoAssoicaFootprint,autoBind3d:a.isAutoAssoicaD3Model})).data);let A=await la.extractLibInfo({data:u});x=A.devices,c&&x&&it(c,(D,E,N)=>{let R=x.find(v=>v.uuid===D);R&&Object.assign(R.attributes,E)}),S=A.symbols,T=A.footprints,M=A.panelLibs}catch(A){console.error(A),Ot("error",'<span class="i18n">An error occurred while parsing the file</span> ',void 0,!0)}let I="defaultprefix";for(let A=0;A<x.length;A++){let D=`${I}_${Mt()}`;p.push({id:D,title:x[A].title,data:{localType:"DEVICE",docType:ve.DEVICE,isPlaceholder:!1,...x[A]},iconcls:"coloricon-eda-device"});let E=x[A].attributes||{};E.Symbol&&g.add(E.Symbol)}for(let A=0;A<S.length;A++){if(S[A].docType===ve.BLOCK_SYMBOL)continue;let D=`${I}_${Mt()}`;m.push({id:D,title:S[A].title,data:{localType:"SYMBOL",docType:ve.SCHLIB3D,isPlaceholder:!1,...S[A]},iconcls:"coloricon-eda-symbol"}),!g.has(S[A].uuid)&&!b.has(S[A].uuid)&&(b.add(S[A].uuid),y.push(S[A]))}for(let A=0;A<T.length;A++){let D=`${I}_${Mt()}`;h.push({id:D,title:T[A].title,data:{localType:"FOOTPRINT",docType:ve.FOOTPRINT,isPlaceholder:!1,...T[A]},iconcls:"coloricon-eda-footprint"})}for(let A=0;A<M.length;A++){let D=`${I}_${Mt()}`;f.push({id:D,title:M[A].title,data:{localType:"PANEL_LIB",docType:ve.PANEL_LIB,isPlaceholder:!1,...M[A]},iconcls:"icon-eda-panel"})}}vt(1,"CALL_IMPORTLIB_DIALOG");let w=()=>{u&&u.length<=32&&/^[a-zA-Z0-9]+$/.test(u)&&(0,eCi.dropP2PStream)(u)};return await $wi({files:e,dataStr:u,deviceCategoryTitles:i,symbolCategoryTitles:o,footprintCategoryTitles:r,panelLibCategoryTitles:n,componentLists:[...p,...m,...h,...f],localTypes:s,freeSymbols:y,chamelenoCovertOptional:a,onDialogClose(){w()},onDialogCancel(){w()},async onDialogConfirm(x){let{componentLists:S,selectedIds:T,libIdSelected:M,workSpaceSelected:I,dataStr:A,files:D,deviceCategoryData:E,symbolCategoryData:N,footprintCategoryData:R,panelLibCategoryData:v,isNewDeviceBySingleSymbol:k,freeSymbols:P,isSimple:O,chamelenoCovertOptional:_}=x;if(T.size<=0)return De({type:"warn",msg:me.i18n("Please select at least one import object")}),!1;vt(.01,"EXEC_IMPORTLIB_PROGRESS");let j=!1;if(mt.getSymbolLibManage()==="1")for(let X=0;X<S.length;X++){let ie=S[X];if(ie.data.localType==="DEVICE"&&T.has(ie.id)){let de=ie.data.attributes||{},fe=e5e(S,de.Symbol);fe&&T.add(fe.id)}}let B=[],V=[],G=[],Q=[],H=[];for(let X=0;X<S.length;X++){let ie=S[X];if(!T.has(ie.id)||ie.data.isPlaceholder)continue;H.push(ie);let{localType:de,uuid:fe,attributes:ye}=ie.data,Le=Re=>Re.names.length?Re.names:void 0;switch(de){case"DEVICE":B.push({uuid:fe,attributes:ye,tags:Le(E)});break;case"SYMBOL":V.push({uuid:fe,tags:Le(N)});break;case"FOOTPRINT":G.push({uuid:fe,tags:Le(R)});break;case"PANEL_LIB":Q.push({uuid:fe,tags:Le(v)});break}}let q,U,F=[],K=[],te=[],ae=[],pe=[],Z=[],ee=[],ce=[],ne=[],oe=[],re=[],Y=[];if(D&&D.length)for(let X=0;X<D.length;X++){try{let ie=await la.importLibs({data:D[X],target:{isProject:!1,path:M},override:{devices:B,symbols:V,footprints:G,panelLibs:Q},createDeviceBySymbol:k?P.map(ye=>ye.uuid):void 0,templateMap:d,overrideSameName:x==null?void 0:x.autoUpdateSameNameLib});q=ie.failedResult?ie.failedResult.sameNameFtMap:void 0,U=ie.failedResult?ie.failedResult.sameNameSbMap:void 0;let de=ie.successResult||{};for(let ye=0;ye<(de.devices||[]).length;ye++)F.push(de.devices[ye]);for(let ye=0;ye<(de.symbols||[]).length;ye++)K.push(de.symbols[ye]);for(let ye=0;ye<(de.footprints||[]).length;ye++)te.push(de.footprints[ye]);for(let ye=0;ye<(de.panelLibs||[]).length;ye++)ae.push(de.panelLibs[ye]);let fe=ie.failedResult||{};for(let ye=0;ye<(fe.devices||[]).length;ye++){if(fe.devices[ye].action===zo.DEVICE_SAME_NAMA_EXISTS){pe.push(fe.devices[ye]);continue}ne.push(fe.devices[ye])}for(let ye=0;ye<(fe.symbols||[]).length;ye++){if(fe.symbols[ye].action===zo.SYMBOL_SAME_NAMA_EXISTS){Z.push(fe.symbols[ye]);continue}oe.push(fe.symbols[ye])}for(let ye=0;ye<(fe.footprints||[]).length;ye++){if(fe.footprints[ye].action===zo.FOOTPRINT_SAME_NAMA_EXISTS){ee.push(fe.footprints[ye]);continue}re.push(fe.footprints[ye])}for(let ye=0;ye<(fe.panelLibs||[]).length;ye++){if(fe.panelLibs[ye].action===zo.PANELLIB_SAME_NAMA_EXISTS){ce.push(fe.panelLibs[ye]);continue}Y.push(fe.panelLibs[ye])}}catch(ie){j=!0,console.error(ie)}vt(.01+.9*(1/D.length),"EXEC_IMPORTLIB_PROGRESS")}else if(A){try{let X=await la.importLibs({data:A,target:{isProject:!1,path:M},override:{devices:B,symbols:V,footprints:G,panelLibs:Q},createDeviceBySymbol:k?P.map(fe=>fe.uuid):void 0,stayChannel:l instanceof Function,templateMap:d,overrideSameName:x==null?void 0:x.autoUpdateSameNameLib});q=X.failedResult?X.failedResult.sameNameFtMap:void 0,U=X.failedResult?X.failedResult.sameNameSbMap:void 0;let ie=X.successResult||{};for(let fe=0;fe<(ie.devices||[]).length;fe++)F.push(ie.devices[fe]);for(let fe=0;fe<(ie.symbols||[]).length;fe++)K.push(ie.symbols[fe]);for(let fe=0;fe<(ie.footprints||[]).length;fe++)te.push(ie.footprints[fe]);for(let fe=0;fe<(ie.panelLibs||[]).length;fe++)ae.push(ie.panelLibs[fe]);let de=X.failedResult;for(let fe=0;fe<(de.devices||[]).length;fe++){if(de.devices[fe].action===zo.DEVICE_SAME_NAMA_EXISTS){pe.push(de.devices[fe]);continue}ne.push(de.devices[fe])}for(let fe=0;fe<(de.symbols||[]).length;fe++){if(de.symbols[fe].action===zo.SYMBOL_SAME_NAMA_EXISTS){Z.push(de.symbols[fe]);continue}oe.push(de.symbols[fe])}for(let fe=0;fe<(de.footprints||[]).length;fe++){if(de.footprints[fe].action===zo.FOOTPRINT_SAME_NAMA_EXISTS){ee.push(de.footprints[fe]);continue}re.push(de.footprints[fe])}for(let fe=0;fe<(de.panelLibs||[]).length;fe++){if(de.panelLibs[fe].action===zo.PANELLIB_SAME_NAMA_EXISTS){ce.push(de.panelLibs[fe]);continue}Y.push(de.panelLibs[fe])}}catch(X){j=!0,console.error(X)}vt(.01+.9*(1/D.length),"EXEC_IMPORTLIB_PROGRESS")}if(q!=null&&q.size){let X="Already exist the same name footprint library {0},\xA0below\xA0device(s) binding with existed footprint:\xA0{1}";for(let[ie,de]of q.entries())Ot("info",Ti(X,{params:{0:ie,1:de.join(", ")}}))}if(U!=null&&U.size){let X="Already exist the same name symbol library {0},\xA0below\xA0device(s) binding with existed symbol:\xA0{1}";for(let[ie,de]of U.entries())Ot("info",Ti(X,{params:{0:ie,1:de.join(", ")}}))}return F.length&&Ot("info",`<span class="i18n" i18n-params-nums="${F.length}">{nums} devices import successfully</span>:`+F.map(X=>X.display_title).join(", "),void 0,!1),K.length&&Ot("info",`<span class="i18n" i18n-params-nums="${K.length}">{nums} symbols import successfully</span>:`+K.map(X=>X.display_title).join(", "),void 0,!1),te.length&&Ot("info",`<span class="i18n" i18n-params-nums="${te.length}">{nums} footprints import successfully</span>:`+te.map(X=>X.display_title).join(", "),void 0,!1),ae.length&&Ot("info",`<span class="i18n" i18n-params-nums="${ae.length}">{nums} panel libraries import successfully</span>:`+ae.map(X=>X.display_title).join(", "),void 0,!1),pe.length&&Ot("warn",`<span class="i18n" i18n-params-nums="${pe.length}">{nums} devices import failed</span>, <span class="i18n">A library with the same name already exists</span>: `+pe.map(X=>X.title).join(", "),void 0,!0),Z.length&&Ot("warn",`<span class="i18n" i18n-params-nums="${Z.length}">{nums} symbols import failed</span>, <span class="i18n">A library with the same name already exists</span>: `+Z.map(X=>X.title).join(", "),void 0,!0),ee.length&&Ot("warn",`<span class="i18n" i18n-params-nums="${ee.length}">{nums} footprints import failed</span>, <span class="i18n">A library with the same name already exists</span>: `+ee.map(X=>X.title).join(", "),void 0,!0),ce.length&&Ot("warn",`<span class="i18n" i18n-params-nums="${ce.length}">{nums} panel libraries import failed</span>, <span class="i18n">A library with the same name already exists</span>: `+ce.map(X=>X.title).join(", "),void 0,!0),ne.length&&Ot("error",`<span class="i18n" i18n-params-nums="${ne.length}">{nums} devices import failed</span> `+ne.map(X=>X.title).join(", "),void 0,!0),oe.length&&Ot("error",`<span class="i18n" i18n-params-nums="${oe.length}">{nums} symbols import failed</span> `+oe.map(X=>X.title).join(", "),void 0,!0),re.length&&Ot("error",`<span class="i18n" i18n-params-nums="${re.length}">{nums} footprints import failed</span> `+re.map(X=>X.title).join(", "),void 0,!0),Y.length&&Ot("error",`<span class="i18n" i18n-params-nums="${Y.length}">{nums} panel libraries import failed</span> `+Y.map(X=>X.title).join(", "),void 0,!0),Promise.resolve().then(async()=>{["device","symbol","footprint"].includes(Ls())&&_s(M,Ls())}),De({type:j?"warn":"success",msg:me.i18n("Bulk import completed!"),timer:2.5,bottomBarMsg:!!j}),vt(1,"EXEC_IMPORTLIB_PROGRESS"),l instanceof Function&&l({files:D,dataStr:A}),!0}})}var pJ=L(Se());var aze=L(rI());var iCi=L(Se());var Bv=new um,zv="importNewProject";var ZBe=class extends qe{constructor(e){super(),this.parent=e,this._isNewProject=!0,this._files=[],this._workSpaceSelected=C.workspace,this._libIdSelected=void 0,this._libTitleSelected=void 0,this._libTitlePinyinSelected=void 0,this._libFolderIdSelected=void 0,this._projectTitle="",this._projectLinkPrefix="",this._projectLinkValue="",this._projectIntroduction="",this._collaborativeMode="1",this._workSpaceDisabled=!1,this._libSelectDisabled=!1,this._operationType="New",this._selectedProjectUuid=void 0,this._selectedProjectTitle=void 0,this._isCBB=!1,this._clientProjectPath="",this._editorVersion=void 0,this._cbbCategoryData={uuids:[],names:[]},this._categoryShowString="",this._teamChangeCallbackParams=[],this._teamChangeCallbackTimer=null,this._chamelenoCovertOptional=null}get isNewProject(){return this._isNewProject}set isNewProject(e){this._isNewProject=e,this.notify()}get files(){return this._files}set files(e){this._files=e,this.notify()}get workSpaceSelected(){return this._workSpaceSelected}set workSpaceSelected(e){this._workSpaceSelected=e,this.notify()}get tabList(){return this._tabList}set tabList(e){this._tabList=e,this.notify()}get libIdSelected(){return this._libIdSelected}set libIdSelected(e){this._libIdSelected=e,this.notify()}get libTitleSelected(){return this._libTitleSelected}set libTitleSelected(e){this._libTitleSelected=e,this.notify()}get libTitlePinyinSelected(){return this._libTitlePinyinSelected}set libTitlePinyinSelected(e){this._libTitlePinyinSelected=e,this.notify()}get libFolderIdSelected(){return this._libFolderIdSelected}set libFolderIdSelected(e){this._libFolderIdSelected=e}get projectTitle(){return this._projectTitle}set projectTitle(e){this._projectTitle=e,this.notify()}get projectLinkPrefix(){return this._projectLinkPrefix}set projectLinkPrefix(e){this._projectLinkPrefix=e,this.notify()}get projectLinkValue(){return this._projectLinkValue}set projectLinkValue(e){this._projectLinkValue=e,this.notify()}get projectDescription(){return this._projectDescription}set projectDescription(e){this._projectDescription=e,this.notify()}get projectIntroduction(){return this._projectIntroduction}set projectIntroduction(e){this._projectIntroduction=e,this.notify()}get collaborativeMode(){return this._collaborativeMode}set collaborativeMode(e){this._collaborativeMode=e,this.notify()}get workSpaceDisabled(){return this._workSpaceDisabled}set workSpaceDisabled(e){this._workSpaceDisabled=e,this.notify()}get libSelectDisabled(){return this._libSelectDisabled}set libSelectDisabled(e){this._libSelectDisabled=e,this.notify()}get operationType(){return this._operationType}set operationType(e){this._operationType=e,this.notify()}get selectedProjectUuid(){return this._selectedProjectUuid}set selectedProjectUuid(e){this._selectedProjectUuid=e,this.notify()}get selectedProjectTitle(){return this._selectedProjectTitle}set selectedProjectTitle(e){this._selectedProjectTitle=e,this.notify()}get isCBB(){return this._isCBB}set isCBB(e){this._isCBB=e,this.notify()}get clientProjectPath(){return this._clientProjectPath}set clientProjectPath(e){this._clientProjectPath=e,this.notify()}get easyedaPro2Extension(){return this._easyedaPro2Extension}set easyedaPro2Extension(e){this._easyedaPro2Extension=e,this.notify()}get editorVersion(){return this._editorVersion}set editorVersion(e){this._editorVersion=e,this.notify()}get cbbCategoryData(){return this._cbbCategoryData}set cbbCategoryData(e){this._cbbCategoryData=e,this.notify()}get categoryShowString(){return this._categoryShowString}set categoryShowString(e){this._categoryShowString=e,this.notify()}get chamelenoCovertOptional(){return this._chamelenoCovertOptional}set chamelenoCovertOptional(e){this._chamelenoCovertOptional=e,this.notify()}async initial(e){if(typeof e.workSpaceSelected<"u"&&(this.workSpaceSelected=e.workSpaceSelected),typeof e.workSpaceDisabled<"u"&&(this.workSpaceDisabled=e.workSpaceDisabled),typeof e.libSelectDisabled<"u"&&(this.libSelectDisabled=e.libSelectDisabled),typeof e.projectTitle<"u"&&(this.projectTitle=e.projectTitle),typeof e.projectLinkValue<"u"&&(this.projectLinkValue=e.projectLinkValue),typeof e.description<"u"&&(this.projectDescription=e.description),typeof e.introduction<"u"&&(this.projectIntroduction=e.introduction),typeof e.tags<"u"&&typeof e.tags=="string"){let o=JSON.parse(e.tags);this.cbbCategoryData={uuids:[],names:o}}typeof e.collaborativeMode<"u"&&(this.collaborativeMode=e.collaborativeMode),typeof e.files<"u"&&(this.files=e.files),typeof e.isCBB<"u"&&(this.isCBB=e.isCBB),typeof e.clientProjectPath<"u"&&(this.clientProjectPath=e.clientProjectPath),this.easyedaPro2Extension=e.easyedaPro2Extension||null,typeof e.editorVersion<"u"&&(this.editorVersion=e.editorVersion),typeof e.selectedProjectUuid<"u"&&(this.selectedProjectUuid=e.selectedProjectUuid),typeof e.selectedProjectTitle<"u"&&(this.selectedProjectTitle=e.selectedProjectTitle),this.chamelenoCovertOptional=e.chamelenoCovertOptional&&e.chamelenoCovertOptional!==null?{...e.chamelenoCovertOptional}:null,this.parent.importBtnDisabled=!this.projectTitle;let i=await this.getFixedLibSelectedParams(e);this.libIdSelected=i.libIdSelected,this.tabList=i.tabList,this.libTitleSelected=await this.getLibTitleByLibId(this.libIdSelected),this.libTitlePinyinSelected=this.libTitleSelected,this.projectLinkPrefix=this.createProjectLinkPrefix(this.libTitlePinyinSelected),await this.whenProjectTitleChanged(this.projectTitle),this.operationType==="New"&&(this.parent.dialogMode==="SingleProject"&&(this.parent.importBtnDisabled=!this.projectTitle),this.parent.dialogMode==="MultipProjects"&&(this.parent.importBtnDisabled=!1)),this.operationType==="SaveToExistence"&&(this.parent.importBtnDisabled=!this.selectedProjectUuid)}whenCategoryInfoClear(e){if(e===Yi.CBB){this.cbbCategoryData={uuids:[],names:[]};return}}async whenCategoryConfirmUpdate(e,i){let o=await sn.fetchCategoryList(this.libIdSelected,this.libIdSelected,[e],void 0,!1),r=i.split(":"),n=r[0],a=r[1],s="",l="",c=o.result?o.result.sourceCategoryList:[],d=me.curr==="zh-cn"||me.curr==="zh-hans";for(let u=0;u<c.length;u++){if(n&&c[u].uuid===n){s=d&&c[u].name_cn?c[u].name_cn:c[u].name;continue}if(a&&c[u].uuid===a){l=d&&c[u].name_cn?c[u].name_cn:c[u].name;continue}}if(s&&(s&&(this.categoryShowString=s+(l?`:${l}`:"")),e===Yi.CBB)){this.cbbCategoryData={uuids:[n],names:[s]},l&&(this.cbbCategoryData.uuids.push(a),this.cbbCategoryData.names.push(l));return}}whenWorkSpaceChanged(e){this.workSpaceSelected!==e&&(this.workSpaceSelected=e)}async whenTeamOwnerChanged(e,i){this._teamChangeCallbackParams.push(e),window.clearTimeout(this._teamChangeCallbackTimer),this._teamChangeCallbackTimer=window.setTimeout(async()=>{this.parent.importBtnDisabled=!0;let o=this._teamChangeCallbackParams[this._teamChangeCallbackParams.length-1];if(this._teamChangeCallbackParams.length=0,!o){this.parent.importBtnDisabled=!1;return}if(!e||!e.args){this.parent.importBtnDisabled=!1;return}if(this.libIdSelected===e.args.owner){this.libFolderIdSelected=e.id,this.parent.importBtnDisabled=!1;return}this.libIdSelected=e.args.owner,this.libTitleSelected=await this.getLibTitleByLibId(this.libIdSelected,i),this.libTitlePinyinSelected=this.libTitleSelected,this.projectLinkPrefix=this.createProjectLinkPrefix(this.libTitlePinyinSelected),this.libFolderIdSelected=e.id,await this.whenProjectTitleChanged(this.projectTitle),this.parent.importBtnDisabled=!1})}async updateLibIdSelected(){let e=this.parent.dialogProps,i=await this.getFixedLibSelectedParams(e);this.libIdSelected=i.libIdSelected,this.tabList=i.tabList}async whenOperationTypeChanged(e){if(this.operationType=e,this.operationType==="New"&&this.parent.dialogMode==="SingleProject"&&(this.parent.importBtnDisabled=!this.projectTitle),this.operationType==="SaveToExistence"){let i=!0;if(this.selectedProjectUuid){let o=await zi.getPermissionList(this.selectedProjectUuid);i=zi.hasPermission(o,Io.File_Importing)}this.parent.importBtnDisabled=!this.selectedProjectUuid||!i}}whenCollaborativeTypeChanged(e){this.collaborativeMode=e}async whenProjectTitleChanged(e){this.projectTitle=e,await this.trigggerProjectLinValueUpdate(e)}async trigggerProjectLinValueUpdate(e){this.projectLinkValue=(await C.messageBus.rpcCall("prjPinyin",e)).message,this.operationType==="New"&&this.parent.dialogMode==="SingleProject"&&(this.parent.importBtnDisabled=!this.projectTitle)}whenClearSelectedProject(){this.selectedProjectUuid="",this.selectedProjectTitle="",this.operationType==="SaveToExistence"&&(this.parent.importBtnDisabled=!this.selectedProjectUuid)}async whenProjectSelectedConfirm(e){let i=!0;if(e.projectId){this.selectedProjectUuid=e.projectId,this.selectedProjectTitle=e.projectTitle;let o=await zi.getPermissionList(this.selectedProjectUuid);i=zi.hasPermission(o,Io.File_Importing)}this.parent.importBtnDisabled=!this.selectedProjectUuid||!i}async getLibTitleByLibId(e,i){var n,a;let o=C.loginedUserInfo||{},r={username:o.username,uuid:o.uuid};if(e===r.uuid)return r.username;if(i){let s=i.find(l=>l.uuid===e);return(s==null?void 0:s.username)||""}else{let s=Ft(this.tabList,"id",e);return s.index<=-1?(a=(n=C)==null?void 0:n.loginedUserInfo)==null?void 0:a.username:(_t||s.data.id===r.uuid&&(s.data.username=r.username),s.data.username||s.data.title)}}createProjectLinkPrefix(e){return location.protocol+"//"+location.host+"/"+encodeURIComponent(e)+"/"}async getFixedLibSelectedParams(e){let i=C.loginedUserInfo||{},o={username:i.username,uuid:i.uuid},r=await iI(!1,Hs.Normal,"",{isNaturalSortByTitle:!0}),n=Ft(r,"id",o.uuid);n.index>=0&&(r.splice(n.index,1),r.unshift(n.data));let a="";return typeof e.libIdSelected<"u"&&e.libIdSelected!==""?a=e.libIdSelected:a=r.length&&r[0].id?r[0].id:o.uuid,(Af||Sb)&&(a===bo.getInstance().usedId||a===_e.FAVORITELIB_UUID)&&r[0]&&(a=r[0].id),{libIdSelected:a,tabList:r}}};var WTt=class{constructor(){this._dataStr=void 0,this._images=void 0}get dataStr(){return this._dataStr}set dataStr(e){this._dataStr=e}get images(){return this._images}set images(e){this._images=e}clearItems(e){for(let i of e){if(i==="images"){this.images=void 0;continue}if(i==="dataStr"){this.dataStr=void 0;continue}}}clearAll(){this.clearItems(["dataStr","images"])}},uh=new WTt;async function oCi(t){let e=new QTt;return await e.initial(t),e}var QTt=class extends qe{constructor(){super(),this._dialogProps=null,this._dialogReady=!1,this._isImporting=!1,this._importBtnDisabled=!0,this._importBtnText="Import",this._dialogMode="SingleProject",this.baseInfo=new ZBe(this)}set dialogReady(e){this._dialogReady=e}get dialogReady(){return this._dialogReady}set dialogProps(e){this._dialogProps=e}get dialogProps(){return this._dialogProps}set isImporting(e){this._isImporting=e,this.notify()}get isImporting(){return this._isImporting}set importBtnDisabled(e){this._importBtnDisabled=!!e,this.notify()}get importBtnDisabled(){return this._importBtnDisabled}set importBtnText(e){this._importBtnText=e,this.notify()}get importBtnText(){return this._importBtnText}set dialogMode(e){this._dialogMode=e,this.notify()}get dialogMode(){return this._dialogMode}async initial(e){this.dialogProps=e,typeof this.dialogProps.dialogMode<"u"&&(this.dialogMode=e.dialogMode),await this.baseInfo.initial(this.dialogProps)}whenDialogReady(){this._dialogReady=!0}createConfitmSubmitData(){return{operationType:this.baseInfo.operationType,dialogMode:this.dialogMode,isCBB:this.baseInfo.isCBB,clientProjectPath:this.baseInfo.clientProjectPath,files:this.baseInfo.files,dataStr:uh.dataStr,images:uh.images,workSpaceSelected:this.baseInfo.workSpaceSelected,libIdSelected:this.baseInfo.libIdSelected,libTitleSelected:this.baseInfo.libTitleSelected,libFolderIdSelected:this.baseInfo.libFolderIdSelected,libTitlePinyinSelected:this.baseInfo.libTitlePinyinSelected,projectTitle:this.baseInfo.projectTitle,projectLinkValue:this.baseInfo.projectLinkValue,projectIntroduction:this.baseInfo.projectIntroduction,projectDescription:this.baseInfo.projectDescription,collaborativeMode:this.baseInfo.collaborativeMode,workSpaceDisabled:this.baseInfo.workSpaceDisabled,libSelectDisabled:this.baseInfo.libSelectDisabled,editorVersion:this.baseInfo.editorVersion,selectedProjectTitle:this.baseInfo.selectedProjectTitle,selectedProjectUuid:this.baseInfo.selectedProjectUuid,cbbCategoryData:this.baseInfo.cbbCategoryData,easyedaPro2Extension:this.baseInfo.easyedaPro2Extension,chamelenoCovertOptional:this.baseInfo.chamelenoCovertOptional}}},T1=(0,iCi.createContext)(void 0);var uJ=L(Se()),MCi=L(rI());var rCi=L(Se()),KTt=L(rI());var Fv=L(z()),{locals:Ij}=KTt.default;function nCi(){let t=J(),e=be.bind(KTt.default.locals),i=(0,rCi.useContext)(T1);Ce(i.baseInfo);let o=async r=>{let a=r.target.value;await i.baseInfo.whenOperationTypeChanged(a)};return(0,Fv.jsxs)("div",{className:Ij["profileline-wrapper"],children:[(0,Fv.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:Ij["profileline-label-wrapper"],children:(0,Fv.jsx)("span",{title:t("Operation"),"data-test":"Operation",i18n:"Operation",children:t("Operation")})}),(0,Fv.jsxs)("div",{className:Ij["profileline-content-wrapper"],children:[(0,Fv.jsxs)("label",{className:Ij["profileline-content-item-wrapper"],children:[(0,Fv.jsx)("input",{"data-input-type":"radio","data-attritem-input":"operationType",name:"operationType1",type:"radio",value:"New",className:Ij["profile-input-radio"],onChange:o,checked:i.baseInfo.operationType==="New",disabled:!1}),(0,Fv.jsx)("span",{title:t("New Project"),i18n:"New Project","data-test":"New Project",className:Ij["profile-input-tips"],children:t("New Project")})]}),(0,Fv.jsxs)("label",{className:Ij["profileline-content-item-wrapper"],children:[(0,Fv.jsx)("input",{"data-input-type":"radio","data-attritem-input":"operationType",name:"operationType2",type:"radio",value:"SaveToExistence",className:Ij["profile-input-radio"],onChange:o,checked:i.baseInfo.operationType==="SaveToExistence",disabled:!1}),(0,Fv.jsx)("span",{title:t("Save to Existing Project"),i18n:"Save to Existing Project","data-test":"Save to Existing Project",className:Ij["profile-input-tips"],children:t("Save to Existing Project")})]})]}),(0,Fv.jsx)("div",{className:Ij["profileline-tips-wrapper"]})]})}var Are=L(Se()),ZTt=L(rI());var Ere=L(Se());var XBe=L(z());function aCi(t){let{disabled:e,initSelectValue:i,refreshTicket:o=0,onSelectChange:r,onRefreshCallback:n}=t,a=J(),[s,l]=(0,Ere.useState)(i),[c,d]=(0,Ere.useState)(""),[u,p]=(0,Ere.useState)([]);return(0,Ere.useEffect)(()=>{R2().then(m=>{let h=m.filter(f=>!bT(f.uuid)).map(f=>({title:f.nickname,value:f.uuid}));p(h)})},[o]),(0,Ere.useEffect)(()=>{let m=u;m.length<=0&&(m=[{value:i,title:i}],p(m));let h=u.map(b=>b.value),f=i;h.length&&h.indexOf(i)<=-1&&(f=u[0].value,r(f));let g=Ft(m,"value",f);l(f),d(g.data.title),window.setTimeout(()=>{n&&n()},500)},[i,u]),(0,XBe.jsx)("div",{style:{height:"24px",width:"100%"},children:(0,XBe.jsx)(ej,{disabled:e,selectedValue:s,selectedText:c,onItemChange:m=>{l(m),r&&r(m)},isTranslateForSelectedText:!1,searchAble:!0,children:u.map(m=>(0,XBe.jsx)(lc,{isTranslate:!1,value:m.value,title:m.title,children:m.title},m.value))})})}var BS=L(z()),{locals:n5e}=ZTt.default;function JTt(){let t=J(),e=be.bind(ZTt.default.locals),i=(0,Are.useContext)(T1);Ce(i.baseInfo);let o={width:"135px",marginRight:"8px",flexShrink:0,display:"initial"},r=(0,Are.useRef)(null),[n,a]=(0,Are.useState)(0),[s,l]=(0,Are.useState)(!1),c=h=>{i.baseInfo.whenWorkSpaceChanged(h)},d=(h,f)=>{var g,b;i.baseInfo.whenTeamOwnerChanged(f,(b=(g=r.current)==null?void 0:g.getTeams)==null?void 0:b.call(g))},u=Af||Sb,p=i.baseInfo.isCBB,m=()=>u?(0,BS.jsx)("span",{style:{margin:"4px 0 0 8px",textDecoration:"none",outline:"none",color:"#1890ff",cursor:"pointer"},"data-test":"Create Component library",onClick:async h=>{h.preventDefault(),Gg(f=>{s||(a(n+1),l(!0),Yu.setRenderTicket(Yu.renderTicket+1),i.baseInfo.updateLibIdSelected())})},children:t("Create Component library")}):(0,BS.jsx)("a",{className:e("create-team-link")+" "+n5e["profileline-link"],"data-key":"owner",href:`/account/user/team/create?from=editor&lang=${mt.toWorkSpaceNeedLang()}${i.baseInfo.workSpaceSelected!=="Personal"?`&orguuid=${i.baseInfo.workSpaceSelected}`:""}`,target:"_blank",onClick:h=>{wi&&(h.preventDefault(),window.electronAPI.openWindow(`${location.origin}/account/user/team/create?from=editor&lang=${mt.toWorkSpaceNeedLang()}${i.baseInfo.workSpaceSelected!=="Personal"?`&orguuid=${i.baseInfo.workSpaceSelected}`:""}`))},style:{margin:"4px 0 0 8px",textDecoration:"none"},"data-test":"Create Team",children:t("Create Team")});return(0,BS.jsxs)("div",{className:n5e["profileline-wrapper"],children:[(0,BS.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:n5e["profileline-label-wrapper"],children:(0,BS.jsx)("span",{title:t("Owner"),"data-test":"Owner",i18n:"Owner",children:t("Owner")})}),(0,BS.jsxs)("div",{className:n5e["profileline-content-wrapper"],children:[(0,BS.jsx)("div",{style:o,children:(0,BS.jsx)(zZ,{orgUuid:i.baseInfo.workSpaceSelected,disable:i.baseInfo.workSpaceDisabled,onChangeSelect:c})}),(0,BS.jsxs)("div",{style:{width:"100%",position:"relative",flexShrink:1,display:"flex"},children:[u?(0,BS.jsx)(aCi,{disabled:i.baseInfo.libSelectDisabled,initSelectValue:i.baseInfo.libIdSelected,refreshTicket:n,onSelectChange:d,onRefreshCallback:()=>{l(!1)}}):(0,BS.jsx)(sj,{ref:r,notFolder:p,disabled:i.baseInfo.libSelectDisabled,defaultSelectId:i.baseInfo.libIdSelected,refreshTicket:n,org_uuid:i.baseInfo.workSpaceSelected,onSelectChange:d,reFreshCallback:()=>{l(!1)},containerStyle:{maxWidth:"213px"}}),(0,BS.jsx)("span",{className:e("icon-eda-refresh",{rotateIcon:s}),"data-i18n-attr":"title","data-test":"Refresh",title:t("Refresh"),style:{width:"12px",height:"12px",cursor:"pointer",margin:"6px 8px 0 5px"},onClick:()=>{s||(a(n+1),l(!0))}})]})]}),(0,BS.jsx)("div",{className:n5e["profileline-tips-wrapper"],children:m()})]})}var dme=L(Se()),qTt=L(rI());var nI=L(z()),{locals:$Be}=qTt.default;function sCi(){let t=J(),e=be.bind(qTt.default.locals),i=(0,dme.useContext)(T1);Ce(i.baseInfo);let[o,r]=(0,dme.useState)(i.baseInfo.projectTitle),n=d=>{let u=d.target.value;r(u),i.baseInfo.whenProjectTitleChanged(u)},a=d=>{let u=d.target.value;i.baseInfo.whenProjectTitleChanged(u)},s=d=>{let u=d.target;u&&u.select()};(0,dme.useEffect)(()=>{i.baseInfo.projectTitle!==o&&r(i.baseInfo.projectTitle)},[i.baseInfo.projectTitle]);let l=()=>(0,nI.jsx)(nI.Fragment,{children:(0,nI.jsx)("span",{title:t("Project"),"data-test":"Project",i18n:"Project",children:t("Project")})}),c=()=>(0,nI.jsx)(nI.Fragment,{children:(0,nI.jsx)("span",{title:t("Reuse Block"),"data-test":"Reuse Block",i18n:"Reuse Block",children:t("Reuse Block")})});return(0,nI.jsxs)("div",{className:$Be["profileline-wrapper"],children:[(0,nI.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:$Be["profileline-label-wrapper"],children:i.baseInfo.isCBB?c():l()}),(0,nI.jsx)("div",{className:$Be["profileline-content-wrapper"],children:(0,nI.jsx)("input",{type:"text",value:o,"data-test":"Project Title",name:"projectTitle",style:{width:"100%",height:"24px"},onChange:n,onBlur:a,onFocus:s,autoComplete:"off"})}),(0,nI.jsx)("div",{className:$Be["profileline-tips-wrapper"]})]})}var nJ=L(Se()),XTt=L(rI());var Lj=L(z()),{locals:eze}=XTt.default;function lCi(){let t=J(),e=be.bind(XTt.default.locals),i=(0,nJ.useContext)(T1);Ce(i.baseInfo);let o=(0,nJ.useRef)({hasChange:!1}),[r,n]=(0,nJ.useState)(i.baseInfo.projectLinkValue),a=c=>{let d=c.target.value;n(d),o.current.hasChange=!0},s=c=>{let d=c.target.value;i.baseInfo.projectLinkValue=d},l=c=>{let d=c.target;d&&d.select()};return(0,nJ.useEffect)(()=>{i.baseInfo.projectLinkValue!==r&&n(i.baseInfo.projectLinkValue)},[i.baseInfo.projectLinkValue]),(0,Lj.jsxs)("div",{className:eze["profileline-wrapper"],children:[(0,Lj.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:eze["profileline-label-wrapper"],children:(0,Lj.jsx)("span",{title:t("Project Link"),"data-test":"Project Link",i18n:"Project Link",children:t("Project Link")})}),(0,Lj.jsxs)("div",{className:eze["profileline-content-wrapper"],"data-test":"Project Full Link",children:[(0,Lj.jsx)("div",{style:{backgroundColor:"var(--bg-color-disabled-input)",color:"#929292",padding:"0 8px",borderBottom:"1px solid var(--border-color-input)",borderLeft:"1px solid var(--border-color-input)",borderTop:"1px solid var(--border-color-input)",height:"24px",whiteSpace:"nowrap"},children:(0,Lj.jsx)("span",{children:i.baseInfo.projectLinkPrefix})}),(0,Lj.jsx)("input",{type:"text",value:r,name:"projectLinkValue",style:{width:"100%",height:"24px"},onChange:a,onBlur:s,onFocus:l,autoComplete:"off"})]}),(0,Lj.jsx)("div",{className:eze["profileline-tips-wrapper"]})]})}var cCi=L(Se()),$Tt=L(rI());var aJ=L(z()),{locals:tze}=$Tt.default;function dCi(){let t=J(),e=be.bind($Tt.default.locals),i=(0,cCi.useContext)(T1);Ce(i.baseInfo);let o=n=>{let s=n.target.value;i.baseInfo.projectDescription=s},r=n=>{let a=n.target;a&&a.select()};return(0,aJ.jsxs)("div",{className:tze["profileline-wrapper"],style:{alignContent:"flex-start",alignItems:"flex-start"},children:[(0,aJ.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:tze["profileline-label-wrapper"],children:(0,aJ.jsx)("span",{title:t("Description"),"data-test":"Description",i18n:"Description",children:t("Description")})}),(0,aJ.jsx)("div",{className:tze["profileline-content-wrapper"],children:(0,aJ.jsx)("textarea",{defaultValue:i.baseInfo.projectDescription,name:"description","data-test":"Project Description",style:{width:"100%",height:"82px",padding:"5px 5px"},onChange:o,onFocus:r})}),(0,aJ.jsx)("div",{className:tze["profileline-tips-wrapper"]})]})}var uCi=L(Se()),e5t=L(rI());var zS=L(z()),{locals:vj}=e5t.default;function pCi(){let t=J(),e=be.bind(e5t.default.locals),i=(0,uCi.useContext)(T1);Ce(i.baseInfo);let o=r=>{let a=r.target.value;i.baseInfo.whenCollaborativeTypeChanged(a)};return(0,zS.jsxs)("div",{className:vj["profileline-wrapper"],children:[(0,zS.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:vj["profileline-label-wrapper"],children:(0,zS.jsx)("span",{title:t("Collaborative mode"),"data-test":"Collaborative mode",i18n:"Collaborative mode",children:t("Collaborative mode")})}),(0,zS.jsxs)("div",{className:vj["profileline-content-wrapper"],style:{flexDirection:"row",flexWrap:"wrap"},children:[(0,zS.jsxs)("div",{style:{display:"flex",flexWrap:"nowrap",justifyContent:"flex-start",alignContent:"center",alignItems:"center"},children:[(0,zS.jsxs)("label",{className:vj["profileline-content-item-wrapper"],children:[(0,zS.jsx)("input",{"data-input-type":"radio","data-attritem-input":"collaborativeType",name:"collaborativeType1",type:"radio",value:"1",className:vj["profile-input-radio"],onChange:o,checked:i.baseInfo.collaborativeMode==="1",disabled:!1}),(0,zS.jsx)("span",{title:t("Free"),i18n:"Free","data-test":"Free",className:vj["profile-input-tips"],children:t("Free")})]}),(0,zS.jsxs)("label",{className:vj["profileline-content-item-wrapper"],children:[(0,zS.jsx)("input",{"data-input-type":"radio","data-attritem-input":"collaborativeType",name:"collaborativeType2",type:"radio",value:"3",className:vj["profile-input-radio"],onChange:o,checked:i.baseInfo.collaborativeMode==="3",disabled:!1}),(0,zS.jsx)("span",{title:t("Strict"),i18n:"Strict","data-test":"Strict",className:vj["profile-input-tips"],children:t("Strict")})]})]}),(0,zS.jsx)("div",{style:{display:"flex",flexWrap:"nowrap",justifyContent:"flex-start",alignContent:"center",alignItems:"center"},children:i.baseInfo.collaborativeMode==="1"?t("You do not need to check in or out to edit the document, and saving the same page by multiple people will overwrite each other."):i.baseInfo.collaborativeMode==="3"?t("You need to check out to obtain editing permission, and multiple people cannot check out the same page at the same time."):""})]}),(0,zS.jsx)("div",{className:vj["profileline-tips-wrapper"]})]})}var fCi=L(Se()),i5t=L(rI());var mCi=L(Hr());var Nre=L(z()),hCi=()=>{let t=document.querySelector("#project_list");mCi.default.createRoot(t).render((0,Nre.jsx)(t5t,{treeId:FS,type:"panel"}))},sJ=(t="normal",e)=>{let i=(e==null?void 0:e.chooseHandle)||null;le.open({id:vT,title:"Open",width:600,height:428,mask:!1,esc:!0,onCancel:()=>{le.close(vT)},footer:t==="clone"?(0,Nre.jsx)(kbi,{data:e}):t==="import"?(0,Nre.jsx)(Nbi,{confirmCallback:e==null?void 0:e.confirmCallback}):t=="choose"?(0,Nre.jsx)(Pbi,{chooseHandle:i}):(0,Nre.jsx)(Abi,{}),children:(0,Nre.jsx)(t5t,{treeId:q6,chooseHandle:i,type:"dialog",treeOnlySelect:t!=="normal"})})};var lJ=L(z()),{locals:ize}=i5t.default;function gCi(){let t=J(),e=be.bind(i5t.default.locals),i=(0,fCi.useContext)(T1);Ce(i.baseInfo);let o=()=>{O3().then(n=>{n.action==="yes"&&i.baseInfo.whenClearSelectedProject()})},r=()=>{sJ("import",{confirmCallback:async n=>{await i.baseInfo.whenProjectSelectedConfirm(n)}})};return(0,lJ.jsxs)("div",{className:ize["profileline-wrapper"],children:[(0,lJ.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:ize["profileline-label-wrapper"],children:(0,lJ.jsx)("span",{title:t("Name"),"data-test":"Name",i18n:"Name",children:t("Name")})}),(0,lJ.jsx)("div",{className:ize["profileline-content-wrapper"],children:(0,lJ.jsx)(ea,{value:i.baseInfo.selectedProjectTitle,hasClearButton:!0,hasThreePoint:!0,onClearClick:o,openDialog:r})}),(0,lJ.jsx)("div",{className:ize["profileline-tips-wrapper"]})]})}var bCi=L(Se()),o5t=L(rI());var _V=L(z()),{locals:a5e}=o5t.default;function yCi(t){let e=J(),i=be.bind(o5t.default.locals),{label:o,categoryType:r,categoryData:n}=t,a=(0,bCi.useContext)(T1);Ce(a.baseInfo);let s=()=>{O3().then(d=>{d.action==="yes"&&a.baseInfo.whenCategoryInfoClear(r)})},l=()=>{var d;C1({docType:r,userId:a.baseInfo.libIdSelected,path:"",isProjectLib:!1,libOwnerId:(d=a==null?void 0:a.baseInfo)==null?void 0:d.workSpaceSelected}).then(u=>{u.confirm&&a.baseInfo.whenCategoryConfirmUpdate(r,u.tag.pathId)})},c=d=>{d.preventDefault(),Qc({menuSelected:"CATEGORY",initCategoryActiveLibId:a.baseInfo.libIdSelected})};return(0,_V.jsxs)("div",{className:a5e["profileline-wrapper"],children:[(0,_V.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:a5e["profileline-label-wrapper"],children:(0,_V.jsx)("span",{title:e(o),"data-test":o,i18n:o,children:e(o)})}),(0,_V.jsx)("div",{className:a5e["profileline-content-wrapper"],children:(0,_V.jsx)(ea,{value:n.names.join(":"),hasClearButton:!0,hasThreePoint:!0,onClearClick:s,openDialog:l})}),(0,_V.jsx)("div",{className:a5e["profileline-tips-wrapper"],children:(0,_V.jsx)("a",{className:a5e["profileline-link"],href:"#",style:{margin:"4px 0 0 8px",textDecoration:"none"},"data-test":"Manage Categories",onClick:c,children:e("Manage Categories")})})]})}var wCi=L(Se()),r5t=L(rI());var cJ=L(z()),{locals:oze}=r5t.default;function CCi(){let t=J(),e=be.bind(r5t.default.locals),i=(0,wCi.useContext)(T1);Ce(i.baseInfo);let o=n=>{let s=n.target.value;i.baseInfo.projectIntroduction=s},r=n=>{let a=n.target;a&&a.select()};return(0,cJ.jsxs)("div",{className:oze["profileline-wrapper"],style:{alignContent:"flex-start",alignItems:"flex-start"},children:[(0,cJ.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:oze["profileline-label-wrapper"],children:(0,cJ.jsx)("span",{title:t("Introduction"),"data-test":"Introduction",i18n:"Introduction",children:t("Introduction")})}),(0,cJ.jsx)("div",{className:oze["profileline-content-wrapper"],children:(0,cJ.jsx)("textarea",{defaultValue:i.baseInfo.projectIntroduction,name:"introduction","data-test":"Project Introduction",style:{width:"100%",height:"82px",padding:"5px 5px"},onChange:o,onFocus:r})}),(0,cJ.jsx)("div",{className:oze["profileline-tips-wrapper"]})]})}var jV=L(Se()),xCi=L(rI());var TP=L(z()),{locals:ume}=xCi.default,Obr=t=>{let e=J(),i=(0,jV.useContext)(T1),[o,r]=(0,jV.useState)(""),[n,a]=(0,jV.useState)([]);return(0,jV.useLayoutEffect)(()=>{wd().then(({projectPath:s})=>{let l=C.client.clientCreatePrjPath;l&&!s.includes(l)&&s.push(l);let c=s.map(u=>({value:u,text:u})),d=l||s[0];r(d),a(c)})},[]),(0,jV.useEffect)(()=>{i.baseInfo.clientProjectPath=o},[o]),(0,TP.jsxs)("div",{className:ume["clientProjectPath-wrapper"],children:[(0,TP.jsx)("div",{"data-tagitem":"clientProjectPath-label-wrapper",className:ume["clientProjectPath-label-wrapper"],children:(0,TP.jsxs)("span",{title:e("Project path"),"data-test":"Project path",i18n:"Project path",children:[e("Project path"),":"]})}),(0,TP.jsx)("div",{className:ume["clientProjectPath-content-wrapper"],style:{flexDirection:"column"},children:(0,TP.jsxs)("div",{style:{width:"100%"},children:[(0,TP.jsx)(xt,{className:ume["project-path-select"],list:n,onChange:s=>r(s)}),(0,TP.jsxs)("div",{className:ume["project-path-input"],onClick:()=>{Av(o).then(s=>{s.code==1&&wd().then(({projectPath:l})=>{!l.includes(s.path)&&l.push(s.path);let c=l.map(d=>({value:d,text:d}));r(s.path),a(c)})})},children:[(0,TP.jsx)("input",{value:o,type:"text",name:"project-path-input",readOnly:!0,style:{width:"100%"},onFocus:s=>s.target.select()}),(0,TP.jsx)("em",{className:ume.opendirtoryDlgSub,children:"..."})]})]})})]})},TCi=Obr;var BV=L(Se()),SCi=L(rI());var dJ=L(z()),{locals:rze}=SCi.default,Rbr=t=>{let{isCbb:e}=t,i=J(),o=(0,BV.useContext)(T1),[r,n]=(0,BV.useState)(""),[a,s]=(0,BV.useState)([]);return(0,BV.useLayoutEffect)(()=>{wd().then(({libPath:l,projectPath:c})=>{let d=e?l:c,u=d.map(p=>({value:p,text:p}));n(d[0]),s(u)})},[]),(0,BV.useEffect)(()=>{o.baseInfo.clientProjectPath=r},[r]),(0,dJ.jsxs)("div",{className:rze["clientProjectPath-wrapper"],children:[(0,dJ.jsx)("div",{"data-tagitem":"clientProjectPath-label-wrapper",className:rze["clientProjectPath-label-wrapper"],children:(0,dJ.jsxs)("span",{title:i("Path"),"data-test":"Path",i18n:"Path",children:[i("Path"),":"]})}),(0,dJ.jsx)("div",{className:rze["clientProjectPath-content-wrapper"],style:{flexDirection:"column"},children:(0,dJ.jsx)("div",{style:{width:"100%"},children:(0,dJ.jsx)(xt,{value:r,className:rze["project-path-select"],list:a,onChange:l=>n(l)})})})]})},n5t=Rbr;var pm=L(z()),{locals:nze}=MCi.default;function ICi(t){let{dialogHeight:e,containerId:i}=t,o=J(),r=`pop-content-wrapper display-flex flex-nowrap ${nze["main-container"]}`,n=(0,uJ.useContext)(T1),[a,s]=(0,uJ.useState)(!0);Ce(n),Ce(n.baseInfo),Ce(Yu),(0,uJ.useEffect)(()=>{Bv.emit("syncDialogFootButtonsState",{containerId:i,confirmBtnDisabledStatus:n.importBtnDisabled,confirmBtnTextString:n.importBtnText},zv)},[i,n.importBtnDisabled,n.importBtnText]),(0,uJ.useLayoutEffect)(()=>{if(!Yu.selectedOrgUuid||!n.baseInfo.libIdSelected)return;let m=Yu.currentTeamsData.find(h=>h.uuid===n.baseInfo.libIdSelected);if(Yu.selectedOrgUuid==="Personal")s(m?m.mode!==3:!0);else{let h=_d.organization.find(g=>g.uuid===Yu.selectedOrgUuid),f=m.mode===3||h.mode===3;s(!f)}},[n.baseInfo.libIdSelected,Yu.selectedOrgUuid,Yu.renderTicket]);let l=n.baseInfo.isCBB,c=()=>(0,pm.jsxs)(pm.Fragment,{children:[Je?null:(0,pm.jsx)(JTt,{}),(0,pm.jsx)(sCi,{}),Je||l?null:_t?(0,pm.jsx)(lCi,{}):null,l?(0,pm.jsx)(yCi,{categoryType:Yi.CBB,categoryData:n.baseInfo.cbbCategoryData,label:"Category"}):null,l?(0,pm.jsx)(dCi,{}):(0,pm.jsx)(CCi,{}),_t?l?null:a?(0,pm.jsx)(pCi,{}):null:null,Je?l?(0,pm.jsx)(n5t,{isCbb:!0}):(0,pm.jsx)(TCi,{}):null]}),d=()=>(0,pm.jsx)(pm.Fragment,{children:(0,pm.jsx)(gCi,{})}),u=()=>(0,pm.jsxs)(pm.Fragment,{children:[(0,pm.jsx)(nCi,{}),n.baseInfo.operationType==="New"?c():d()]}),p=()=>(0,pm.jsx)(pm.Fragment,{children:Je?(0,pm.jsx)(n5t,{isCbb:l}):(0,pm.jsx)(JTt,{})});return(0,pm.jsx)("div",{className:r,children:(0,pm.jsx)("div",{className:nze["basecontent-wrapper"],children:(0,pm.jsx)("div",{className:nze["section-area-wrapper"],style:{padding:"0 0 8px 0"},children:(0,pm.jsx)("div",{className:nze["section-area"],children:n.dialogMode==="SingleProject"?u():p()})})})})}var TA=L(z()),{locals:a5t}=aze.default,LCi=null;var _br=t=>{let e=J(),{dialogWidth:i,dialogHeight:o,containerId:r,dialogId:n,onDialogOpen:a,onDialogCancel:s,onDialogClose:l,onDialogConfirm:c,onDialogClosed:d}=t,[u,p]=(0,pJ.useState)(null),m=(0,pJ.useRef)(null);m.current=u;let h=t.height-168,f=`${a5t["view-loading-wrapper"]}`,g=`${a5t["view-loading"]}`,b=`rotation ${a5t["view-loading-rotation"]}`,y=async w=>{if(w==="confirm"){if(m.current.isImporting||m.current.baseInfo.isCBB&&!await jv(m.current.baseInfo.libIdSelected,Yr.Team_Module_Add,"Permission Dend"))return;if(m.current.isImporting=!0,(c?await c(m.current.createConfitmSubmitData(),m.current):!0)===!1){m.current.isImporting=!1;return}m.current.isImporting=!1,le.close(r);return}w==="cancel"&&s&&s(),await oo({action:w,dialogId:n,formData:{}}),le.close(r)};return(0,pJ.useLayoutEffect)(()=>{window.clearTimeout(LCi),LCi=window.setTimeout(()=>{oCi(t).then(w=>{p(w),a&&a()})},30)},[]),(0,pJ.useEffect)(()=>(Bv.clearEvent("dialogFootBtnClicked",zv),Bv.on("dialogFootBtnClicked",({action:w})=>{y(w)},zv),()=>{m.current=null,d&&d()}),[]),Bt(w=>{let{key:x}=w;x==="Enter"&&window.setTimeout(()=>{y("confirm")},100)}).keyboard(r),u?(0,TA.jsxs)("div",{className:"pop-content-container",style:{width:"100%",height:"100%"},children:[(0,TA.jsx)("style",{children:String(aze.default)}),(0,TA.jsx)(T1.Provider,{value:u,children:(0,TA.jsx)(ICi,{dialogHeight:o,containerId:r})})]}):(0,TA.jsxs)("div",{className:"pop-content-container",children:[(0,TA.jsx)("style",{children:String(aze.default)}),(0,TA.jsx)("div",{className:f,style:{height:o+"px"},children:(0,TA.jsx)("div",{className:g,children:(0,TA.jsx)("div",{className:b,children:(0,TA.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})]})},vCi=_br;var mme=L(Se());var pme=L(z());function DCi(){let t=J(),e=(0,mme.useRef)({containerId:"",confirmBtnDisabledStatus:!0,confirmBtnTextString:"Import"}),[i,o]=(0,mme.useState)(0),r=n=>{Bv.emit("dialogFootBtnClicked",{action:n},zv)};return(0,mme.useLayoutEffect)(()=>{Bv.clearEvent("syncDialogFootButtonsStatus",zv),Bv.on("syncDialogFootButtonsState",n=>{typeof n.containerId<"u"&&(e.current.containerId=n.containerId),typeof n.confirmBtnDisabledStatus<"u"&&(e.current.confirmBtnDisabledStatus=n.confirmBtnDisabledStatus),typeof n.confirmBtnTextString<"u"&&(e.current.confirmBtnTextString=n.confirmBtnTextString),o(a=>a+1)},zv)},[]),(0,pme.jsx)("div",{style:{width:"100%",display:"flex",alignContent:"center",alignItems:"center",justifyContent:"flex-end",position:"relative",padding:"5px 0 0 0"},"data-refresh":i,children:(0,pme.jsxs)("div",{children:[(0,pme.jsx)(Me,{disabled:e.current.confirmBtnDisabledStatus,type:"primary",style:{marginRight:"8px"},onClick:()=>r("confirm"),children:e.current.confirmBtnTextString}),(0,pme.jsx)(Me,{onClick:()=>r("cancel"),children:"Cancel"})]})})}var s5t=L(z());async function ECi(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i,l=t.dialogHeightRatio||1,c=t.dialogTitle||r;return Bv.clearNameSpace(zv),t.dataStr&&(uh.dataStr=t.dataStr,delete t.dataStr),t.images&&(uh.images=t.images,delete t.images),le.open({id:o,title:c,width:n,height:a*l,closed:s,esc:!0,folded:!1,footer:(0,s5t.jsx)(DCi,{}),children:(0,s5t.jsx)(vCi,{containerId:o,dialogId:t.dialogId,...i,...t,dialogWidth:n,dialogHeight:a}),onClose:()=>{t.onDialogClose&&t.onDialogClose(),Bv.clearNameSpace(zv),uh.clearItems(["dataStr","images"])},onCancel:()=>{t.onDialogCancel&&t.onDialogCancel(),Bv.clearNameSpace(zv),uh.clearItems(["dataStr","images"])}}),le}async function ACi(t){return await ii("newProjectImportManager",{...t})}var zV=L(z());async function NCi(t){let e=()=>(0,zV.jsxs)(zV.Fragment,{children:[(0,zV.jsx)(Me,{type:"primary",size:"md",onClick:()=>{le.destroy(i);let a=location.origin+location.pathname+"#id="+t;window.open(a)},children:"Open in New Window"}),(0,zV.jsx)(Me,{type:"primary",size:"md",onClick:async()=>{le.destroy(i),await Os({uuid:t,options:{isNew:!1}})},children:"Yes"}),(0,zV.jsx)(Me,{size:"md",onClick:()=>{le.destroy(i)},children:"No"})]}),i=(await C.messageBus.rpcCall("messageSync",{type:"confirm",title:"Notice",isHtml:!0,message:"Import project success !Open the imported project?",footer:(0,zV.jsx)(e,{}),closable:!0})).message}var l5t=class{constructor(){this._tasks=[]}async flushTasks(){for(let e=0;e<this._tasks.length;e++)await this._tasks[e]();this._tasks=[]}clearTasks(){this._tasks=[]}addTaskItem(e){this._tasks.push(e)}hasTask(){return this._tasks.length>=1}},SP=new l5t;var c5t=L(hU());async function hme(t,e,i,o,r,n,a=!1,s=!1){if(!e){r.importBtnDisabled=!1,r.importBtnText="Import";let d=[];for(let u of i)d.push(u.title);if(d.length&&Ot("info",`<span class="i18n" i18n-params-nums="${d.length}">{nums} projects import successfully</span>:`+d.join(", "),void 0,!1),Mc("refresh",!0),n){let u=t.selectedProjectUuid?t.selectedProjectUuid:Array.from(i.values())[0].uuid;u&&!mJ(u)&&NCi(u)}return n||De({type:"success",msg:me.i18n("Bulk import completed!"),timer:2.5,bottomBarMsg:!1}),!0}let l=[],c=[];for(let d of o){if(l.push(d.title),Array.isArray(d.message)){for(let u=0;u<d.message.length;u++){let p=d.message[u];if(p&&typeof p.message<"u"){c.push(me.i18n(p.message));continue}c.push(me.i18n(p))}continue}c.push(me.i18n(d.message))}return c.length&&n?a?De({type:"error",msg:me.i18n(`${me.i18n(c[c.length-1])}`)}):Dt({icon:"error",closed:!0,content:`${me.i18n(c[c.length-1])}`}):a?De({type:"error",msg:me.i18n(`${me.i18n("Import failed!")}`)}):Dt({icon:"error",closed:!0,content:`${me.i18n("Import failed!")}`}),s?c.length&&Ot("error",`<span class="i18n">${me.i18n(c[c.length-1])}`,void 0,!0):l.length&&Ot("warn",`<span class="i18n" i18n-params-nums="${l.length}">{nums} projects import failed </span> `+l.join(", "),void 0,!0),r.importBtnDisabled=!1,r.importBtnText="Import",!1}async function jbr(t,e){var n;let i=!1,o=new Array,r=new Array;vt(.1,t.projectTitle,void 0,void 0,void 0,void 0,!0);try{let a=await la.importNewProject({data:t.files[0],targetPath:Je?t.clientProjectPath:t.libIdSelected,folder:t.libFolderIdSelected===t.libIdSelected?void 0:t.libFolderIdSelected,title:t.projectTitle,projectLink:t.libTitlePinyinSelected+"/"+t.projectLinkValue,introduction:t.projectIntroduction,description:t.projectDescription,editorVersion:String(t.editorVersion),isCbb:t.isCBB,cbbTags:(n=t==null?void 0:t.cbbCategoryData)==null?void 0:n.names,mode:+t.collaborativeMode,images:t.images,progressId:t.projectTitle,needTip:!1});o.push({uuid:a.uuid,title:t.projectTitle})}catch(a){console.error(a),i=!0;let s=a.message||a.msg||me.i18n("Import failed!");r.push({uuid:void 0,title:t.projectTitle,message:s})}return vt(1,t.projectTitle),await hme(t,i,o,r,e,!0)}async function kCi(t,e){var s;let i=!1,o=new Array,r=new Array,n=[],a=!1;if(!t.selectedProjectUuid)return De({type:"error",msg:me.i18n("Project does not exist ")}),!1;try{let c=(await la.extractProjectInfo({data:t.files[0]})).title;n.includes(c)&&(c+="_1"),n.push(c),vt(.1,n[n.length-1],void 0,void 0,void 0,void 0,!0);let d=await la.importExistProject({data:t.files[0],targetPath:t.selectedProjectUuid,images:t.images,needTip:!1,autoBindFt:(s=t==null?void 0:t.chamelenoCovertOptional)==null?void 0:s.isAutoAssoicaFootprint});o.push({uuid:t.selectedProjectUuid,title:n[n.length-1]})}catch(l){console.error(l),i=!0,a=l instanceof St?l.action===zo.PROJECT_DOCUMENT_LOCKED||l.action===zo.PROJECT_DOCUMENT_UPDATE_REJECT:!1;let c=l.message||l.msg||me.i18n("Import failed!");r.push({uuid:t.selectedProjectUuid,title:n[n.length-1],message:c})}return vt(1,n[n.length-1]),await hme(t,i,o,r,e,!0,a,a)}async function Bbr(t,e){var a;let i=!1,o=new Array,r=new Array,n=[];for(let s=0;s<t.files.length;s++){try{let l=await la.extractProjectInfo({data:t.files[s]}),c=l.title;n.includes(c)&&(c+="_1"),n.push(c),vt(.1,n[n.length-1],void 0,void 0,void 0,void 0,!0),await os(100);let d=(await C.messageBus.rpcCall("prjPinyin",c)).message,u=await la.importNewProject({data:t.files[s],targetPath:Je?t.clientProjectPath:t.libIdSelected,folder:t.libFolderIdSelected===t.libIdSelected?void 0:t.libFolderIdSelected,title:c,projectLink:t.libTitlePinyinSelected+"/"+d,introduction:"",description:"",editorVersion:String(l.editorVersion),isCbb:l.cbbProject,cbbTags:(a=t==null?void 0:t.cbbCategoryData)==null?void 0:a.names,mode:1,images:t.images,progressId:n[n.length-1],needTip:!1});o.push({uuid:u.uuid,title:n[n.length-1]}),vt(1,n[n.length-1])}catch(l){console.error(l),i=!0;let c=l.message||l.msg||me.i18n("Import failed!");r.push({uuid:void 0,title:n[n.length-1],message:c}),vt(1,n[n.length-1])}await os(100)}return await hme(t,i,o,r,e,!1)}async function zbr(t,e){var s;let i=!1,o=new Array,r=new Array,n=[],a=!1;if(!t.selectedProjectUuid)return De({type:"error",msg:me.i18n("Project does not exist ")}),!1;for(let l=0;l<t.files.length;l++)try{let d=(await la.extractProjectInfo({data:t.files[l]})).title;n.includes(d)&&(d+="_1"),n.push(d),vt(.1,n[n.length-1],void 0,void 0,void 0,void 0,!0);let u=await la.importExistProject({data:t.files[l],targetPath:t.selectedProjectUuid,images:t.images,needTip:!1,autoBindFt:(s=t==null?void 0:t.chamelenoCovertOptional)==null?void 0:s.isAutoAssoicaFootprint});o.push({uuid:t.selectedProjectUuid,title:n[n.length-1]}),vt(1,n[n.length-1])}catch(c){console.error(c),i=!0,a=c instanceof St?c.action===zo.PROJECT_DOCUMENT_LOCKED||c.action===zo.PROJECT_DOCUMENT_UPDATE_REJECT:!1;let d=c.message||c.msg||me.i18n("Import failed!");r.push({uuid:t.selectedProjectUuid,title:n[n.length-1],message:d}),vt(1,n[n.length-1])}return await hme(t,i,o,r,e,!1,a,a)}async function Fbr(t,e){var n;let i=!1,o=new Array,r=new Array;vt(.01,t.projectTitle,void 0,void 0,void 0,void 0,!0);try{let a=await la.importNewProject({data:t.dataStr,targetPath:Je?t.clientProjectPath:t.libIdSelected,folder:t.libFolderIdSelected===t.libIdSelected?void 0:t.libFolderIdSelected,title:t.projectTitle,projectLink:t.libTitlePinyinSelected+"/"+t.projectLinkValue,introduction:t.projectIntroduction,description:t.projectDescription,editorVersion:String(t.editorVersion),isCbb:t.isCBB,cbbTags:(n=t==null?void 0:t.cbbCategoryData)==null?void 0:n.names,mode:+t.collaborativeMode,images:t.images,progressId:t.projectTitle,needTip:!1});o.push({uuid:a.uuid,title:t.projectTitle}),t.easyedaPro2Extension&&Ope(t.easyedaPro2Extension)}catch(a){console.error(a),i=!0;let s=a.message||a.msg||me.i18n("Import failed!");r.push({uuid:void 0,title:t.projectTitle,message:s})}return vt(1,t.projectTitle),await hme(t,i,o,r,e,!0)}async function PCi(t,e){var a;let i=!1,o=new Array,r=new Array,n=!1;if(!t.selectedProjectUuid)return De({type:"error",msg:me.i18n("Project does not exist ")}),!1;vt(.01,t.projectTitle,void 0,void 0,void 0,void 0,!0);try{let s=await la.importExistProject({data:t.dataStr,targetPath:t.selectedProjectUuid,images:t.images,needTip:!1,autoBindFt:(a=t==null?void 0:t.chamelenoCovertOptional)==null?void 0:a.isAutoAssoicaFootprint});o.push({uuid:t.selectedProjectUuid,title:t.projectTitle})}catch(s){console.error(s),n=s instanceof St?s.action===zo.PROJECT_DOCUMENT_LOCKED||s.action===zo.PROJECT_DOCUMENT_UPDATE_REJECT:!1,i=!0;let l=s.message||s.msg||me.i18n("Import failed!");r.push({uuid:t.selectedProjectUuid,title:t.selectedProjectTitle,message:l})}return vt(1,t.projectTitle),await hme(t,i,o,r,e,!0,n,n)}async function fme(t){let{dialogaTitle:e}=t,i=e||"Import",o=C.currentProject&&C.currentProject.projectId?C.currentProject.projectId:void 0,r=C.currentProject&&C.currentProject.title?C.currentProject.title:void 0,n=()=>{if(uh.dataStr&&uh.dataStr.length<=32&&/^[a-zA-Z0-9]+$/.test(uh.dataStr)){if((0,c5t.dropP2PStream)(uh.dataStr),uh.images)for(let a in uh.images)(0,c5t.dropP2PStream)(uh.images[a]);uh.clearItems(["dataStr","images"])}};return await ACi({...t,dialogaTitle:i,selectedProjectUuid:o,selectedProjectTitle:r,onDialogClose(){n()},onDialogCancel(){n()},async onDialogConfirm(a,s){var d;async function l(){let{operationType:u,dialogMode:p,files:m,dataStr:h}=a;if(s.importBtnDisabled=!0,s.importBtnText="Importing",m&&m.length){if(u==="New"){let f=C.teams.find(g=>g.uuid==a.libIdSelected&&g.uuid!==_o());if(f&&!zi.hasPermission(f.permissions,Io.Project_Creating)){let b="Permission denied";return De({type:"error",msg:b,timer:3}),Ot("error",Ti(b)),!1}if(p==="SingleProject"){let g=await jbr(a,s);return g&&uh.clearItems(["dataStr","images"]),g}if(p==="MultipProjects"){let g=await Bbr(a,s);return g&&uh.clearItems(["dataStr","images"]),g}}if(u==="SaveToExistence"){if(p==="SingleProject"){if(a.selectedProjectUuid!==C.currentProject.projectId){let g=await Os({uuid:a.selectedProjectUuid,options:{choose:"importExistPrj"}});return SP.clearTasks(),SP.addTaskItem(async function(){await kCi(a,s)&&uh.clearItems(["dataStr","images"])}),!0}let f=await kCi(a,s);return f&&uh.clearItems(["dataStr","images"]),f}if(p==="MultipProjects"){let f=await zbr(a,s);return f&&uh.clearItems(["dataStr","images"]),f}}return s.importBtnDisabled=!1,s.importBtnText="Import",!1}if(h){if(u==="New"){let f=await Fbr(a,s);return f&&uh.clearItems(["dataStr","images"]),f}if(u==="SaveToExistence"){if(a.selectedProjectUuid!==C.currentProject.projectId){let g=await Os({uuid:a.selectedProjectUuid,options:{choose:"importExistPrj"}});return SP.clearTasks(),SP.addTaskItem(async function(){await PCi(a,s)&&uh.clearItems(["dataStr","images"])}),!0}let f=await PCi(a,s);return f&&uh.clearItems(["dataStr","images"]),f}return s.importBtnDisabled=!1,s.importBtnText="Import",!1}return s.importBtnDisabled=!1,s.importBtnText="Import",!1}let c=await l();return(d=t.onConfirmed)==null||d.call(t),c}})}var OCi=L(hU());function gme(t){return vt(t.range[0]+(t.range[1]-t.range[0])*1,t.tagName),!1}async function RCi(t,e){try{let i=await la.extractProjectInfo({data:t.files[0]}),o=t.importAutoBindCovertResults,r=o.length&&!!o[0].dataStr;fme({chamelenoCovertOptional:e,operationType:t.dialogOpenedFrom==="URL"&&C.currentProject.projectId?"SaveToExistence":"New",dialogMode:"SingleProject",files:r?[]:t.files,dataStr:r?o[0].dataStr:void 0,images:r?o[0].images:void 0,dialogaTitle:"Import Document",projectTitle:i.title,editorVersion:i.editorVersion,isCBB:i.cbbProject,introduction:i.introduction,description:i.description,tags:i.tags})}catch(i){let o=i.message||i.msg||me.i18n("An error occurred while parsing the file");Ot("error",`<span class="i18n">${o}</span> `,void 0,!0),Dt({icon:"error",closed:!0,content:o})}return!0}async function Ubr(t,e,i,o,r){return t.isMatchLibFiles||(await uu.checkIsSuccessCouldParseAsJLCEDAProfessionalLibFile(t.files)).success?(CC({files:t.files,chamelenoCovertOptional:e}),vt(r.range[0]+(r.range[1]-r.range[0])*1,r.tagName),!0):(await RCi(t,e),vt(r.range[0]+(r.range[1]-r.range[0])*1,r.tagName),!0)}async function Vbr(t,e,i,o,r){return CC({files:t.files,chamelenoCovertOptional:e}),vt(r.range[0]+(r.range[1]-r.range[0])*1,r.tagName),!0}async function Hbr(t,e,i,o,r){return CC({files:t.files,chamelenoCovertOptional:e,onConfirmEnd({files:n,dataStr:a}){Ut({icon:"question",title:"Confirm",type:"confirm",message:"Click Confirm to continue with the import",onConfirm:async()=>{RCi(t,e)}})}}),vt(r.range[0]+(r.range[1]-r.range[0])*1,r.tagName),!0}async function Gbr(t,e,i,o,r){if(t.isMatchLibFiles||(await uu.checkIsSuccessCouldParseAsJLCEDAProfessionalLibFile(t.files)).success)return CC({files:t.files,chamelenoCovertOptional:e}),vt(r.range[0]+(r.range[1]-r.range[0])*1,r.tagName),!0;let n=[],a=[],s;for(let l of t.files){let c=await la.extractProjectInfo({data:l});s||(s=c),s.cbbProject===c.cbbProject?n.push(l):a.push(c.title)}return fme({chamelenoCovertOptional:e,operationType:"New",dialogMode:"MultipProjects",files:n,isCBB:s.cbbProject,dialogaTitle:"Import Document",dialogHeightRatio:.5,onConfirmed(){if(a.length){let l=me.i18n("{number} project import failed:{projectNames}",{number:a.length,projectNames:a.join(",")});Ot("warn",l)}}}),vt(r.range[0]+(r.range[1]-r.range[0])*1,r.tagName),!0}async function Ybr(t,e,i,o,r){return CC({files:t.files,chamelenoCovertOptional:e}),vt(r.range[0]+(r.range[1]-r.range[0])*1,r.tagName),!0}async function Wbr(t,e,i,o,r){return CC({files:t.files,chamelenoCovertOptional:e,onConfirmEnd({files:n,dataStr:a}){Ut({icon:"question",title:"Confirm",type:"confirm",message:"Click Confirm to continue with the import",onConfirm:async()=>{fme({chamelenoCovertOptional:e,operationType:"New",dialogMode:"MultipProjects",files:n,dialogaTitle:"Import Document"})}})}}),vt(r.range[0]+(r.range[1]-r.range[0])*1,r.tagName),!0}async function Qbr(t,e,i,o,r){let n=i.result,a=n.project,s=n.extension;return t.isMatchLibFiles||(await uu.checkIsSuccessCouldParseAsJLCEDAProfessionalLibFile(t.files)).success?(CC({dataStr:a.dataStr,chamelenoCovertOptional:e}),vt(r.range[0]+(r.range[1]-r.range[0])*1,r.tagName),!0):(fme({chamelenoCovertOptional:e,operationType:t.dialogOpenedFrom==="URL"&&C.currentProject.projectId?"SaveToExistence":"New",dialogMode:"SingleProject",dataStr:a.dataStr,dialogaTitle:"Import Document",projectTitle:a.config.title,editorVersion:a.config.editorVersion,isCBB:!1,easyedaPro2Extension:s,introduction:a.config.description}),vt(r.range[0]+(r.range[1]-r.range[0])*1,r.tagName),!0)}async function Kbr(t,e,i,o,r){let a=i.result.project;return CC({dataStr:a.dataStr,chamelenoCovertOptional:e}),vt(r.range[0]+(r.range[1]-r.range[0])*1,r.tagName),!0}async function Zbr(t,e,i,o,r){let n=i.result,a=n.project,s=n.extension;return CC({dataStr:a.dataStr,chamelenoCovertOptional:e,onConfirmEnd({files:l,dataStr:c}){let{projectDataCount:d}=s;if(d){let{pcbSize:m,sheetSize:h}=d;if(m===0&&h===0)return}let u=()=>{c&&c.length<=32&&/^[a-zA-Z0-9]+$/.test(c)&&(0,OCi.dropP2PStream)(c)},p=b1();Ut({id:p,icon:"question",title:"Confirm",type:"confirm",message:"Click Confirm to continue with the import",onConfirm:async()=>{fme({chamelenoCovertOptional:e,operationType:t.dialogOpenedFrom==="URL"&&C.currentProject.projectId?"SaveToExistence":"New",dialogMode:"SingleProject",dataStr:c,dialogaTitle:"Import Document",projectTitle:a.config.title,editorVersion:a.config.editorVersion,isCBB:!1,easyedaPro2Extension:s}),le.close(p)},onCancel:()=>u(),onClose:()=>u()})}}),vt(r.range[0]+(r.range[1]-r.range[0])*1,r.tagName),!0}async function Jbr(t,e,i,o,r){return console.warn("Unsupported operation."),!1}async function qbr(t,e,i,o,r){return console.warn("Unsupported operation."),!1}async function Xbr(t,e,i,o,r){return console.warn("Unsupported operation."),!1}async function d5t(t,e,i,o,r){let{fileSelectedFrom:n,files:a,selectedCommonOptions:s}=t;return vt(r.range[0]+(r.range[1]-r.range[0])*.1,r.tagName),n==="Unknown"?!1:n==="NormalSelector"?a.length>=2?s==="ImportDocument"?await Gbr(t,e,i,o,r):s==="ExtractLibraries"?await Ybr(t,e,i,o,r):s==="ImportDocumentExtractLibraries"?await Wbr(t,e,i,o,r):gme(r):s==="ImportDocument"?await Ubr(t,e,i,o,r):s==="ExtractLibraries"?await Vbr(t,e,i,o,r):s==="ImportDocumentExtractLibraries"?await Hbr(t,e,i,o,r):gme(r):n==="ChameleonSelector"&&i?a.length>=2?s==="ImportDocument"?await Jbr(t,e,i,o,r):s==="ExtractLibraries"?await qbr(t,e,i,o,r):s==="ImportDocumentExtractLibraries"?await Xbr(t,e,i,o,r):gme(r):s==="ImportDocument"?await Qbr(t,e,i,o,r):s==="ExtractLibraries"?await Kbr(t,e,i,o,r):s==="ImportDocumentExtractLibraries"?await Zbr(t,e,i,o,r):gme(r):gme(r)}async function s5e(t,e){var l;let i="ANALYSIS_IMPORTFILE",{fileSelectedFrom:o,fileSelectType:r,files:n}=t;if(o==="Unknown")return!1;e.importBtnDisabled=!0,e.importBtnText="Importing";let a={selectedViaSolderMaskExpansionType:t.selectedViaSolderMaskExpansionType,selectedSchPrimitiveStyleType:t.selectedSchPrimitiveStyleType,selectedBoardOutlineSourceType:t.selectedBoardOutlineSourceType,selectedDeviceNameSourceType:t.selectedDeviceNameSourceType,isAutoAssoicaFootprint:t.isAutoAssoicaFootprint,isAutoAssoicaD3Model:t.isAutoAssoicaD3Model,isImportNotes:t.isImportNotes,chameleonTarget:t.chameleonTarget,createSamePart:t.createSamePart};vt(.01,i);let s=await vre(r,n,{isAutoAlert:!1,enableStrictCheckingForJLCPro:!1,enableStrictCheckingForNotJLCPro:!0},a);if(!s.success)return Ot("error",`<span class="i18n">${s.message}</span> `,void 0,!0),Dt({icon:"error",closed:!0,content:s.message}),e.importBtnText="Import",e.importBtnDisabled=!1,vt(1,i),!1;if(t.isMatchLibFiles=s.isLibFile,o==="ChameleonSelector"){let c=s.chamelenoCovertRes||await eme({files:t.files,fileSelectType:t.fileSelectType,...a},{tagName:i,range:[0,.75]});if(!c||!c.success)return c.message&&Ut({type:"error",message:c.message}),vt(1,i),e.importBtnText="Import",e.importBtnDisabled=!1,!1;let d=c.result,u=(l=d.project)==null?void 0:l.dataStr;u=(await la.importAutoBind({data:u,autoBind3d:t.isAutoAssoicaD3Model,autoBindFt:t.isAutoAssoicaFootprint})).data,d.project.dataStr=u,a.isAlreadyAutoBind=!0;let p=await d5t(t,a,c,e,{tagName:i,range:[.75,.99]});return vt(1,i),e.importBtnText="Import",e.importBtnDisabled=!1,p}if(o==="NormalSelector"){try{if(t.isAutoAssoicaD3Model||t.isAutoAssoicaFootprint)for(let d=0;d<t.files.length;d++){let u=await la.importAutoBind({data:t.files[d],autoBindFt:t.isAutoAssoicaFootprint,autoBind3d:t.isAutoAssoicaD3Model});if(u.data instanceof File){t.importAutoBindCovertResults.push({file:u.data,dataStr:void 0,images:u.images,projectInfo:u.projectInfo});continue}if(typeof u.data=="string"){t.importAutoBindCovertResults.push({file:null,dataStr:u.data,images:u.images,projectInfo:u.projectInfo});continue}}}catch(d){return Ot("error",`<span class="i18n">${d.message}</span> `,void 0,!0),Dt({icon:"error",closed:!0,content:d.message}),e.importBtnText="Import",e.importBtnDisabled=!1,vt(1,i),!1}let c=await d5t(t,a,null,e,{tagName:i,range:[.01,.99]});return vt(1,i),e.importBtnText="Import",e.importBtnDisabled=!1,c}return vt(1,i),e.importBtnText="Import",!1}async function sze(t){let{dialogOpenedFrom:e="COMMON"}=t||{};return await nme({dialogOpenedFrom:e,fileSelectedFrom:"Unknown",files:[],fileSelectType:Cj.SELECTED_FILE_TYPE||"proeda",fileTypeListDisabled:!1,onDialogConfirm:async(i,o)=>await s5e(i,o),onDialogCancel(){console.warn("onDialogCancel")},onDialogClose(){console.warn("onDialogClose")},onDialogClosed(){console.warn("onDialogClosed")}})}async function lze(t,e){let{dialogOpenedFrom:i="COMMON"}=e||{},o=await vre("proeda",t,{isAutoAlert:!1,enableStrictCheckingForJLCPro:!1});if(!o.success){Ot("error",`<span class="i18n">${o.message}</span> `,void 0,!0),Dt({icon:"error",closed:!0,content:o.message});return}Yn(()=>{nme({dialogOpenedFrom:i,fileSelectedFrom:"NormalSelector",files:t,fileSelectType:"proeda",fileTypeListDisabled:!1,onDialogConfirm:async(r,n)=>await s5e(r,n)})},50)}var _Ci=(()=>{if(!window.FileReader)return()=>{De({type:"error",msg:"Your browser cannot run this function.",timer:2})};let t={multiple:!1,accept:".txt,.csv",fileFilter:function(i){return/\.(txt|csv)$/i.test(i.name)},onValidate:function(i){i||Ut({type:"warn",message:"Please select txt or csv files."})},onSelectFiles:AS},e;return i=>{e||(e=nu.instance((0,l5e.default)("<br>")).config(t)),e.options.onSelectFiles=i,e.openSelect()}})(),jCi=(function(){if(!window.FileReader)return function(){Ut({type:"warn",message:"Your browser cannot run this function."})};var t={multiple:!0,accept:".zip,.epro,.epro2,.elibz,.elibz2",fileFilter:function(i){return/\.(epro|epro2|elibz|zip)$/i.test(i.name)},onValidate:function(i){i||Ut({type:"warn",message:"Please select txt , json or zip files."})},onSelectFiles:$br},e;return function(){e||(e=nu.instance((0,l5e.default)("<br>")).config(t)),e.openSelect()}})();async function $br(t){let e=Array.prototype.slice.call(t),i=await la.extractLibInfo({data:e});return u5t([i])}async function u5t(t,e){let{owner:i=_o(),projectLinkPreName:o,showError:r=!0,mode:n}=e||{},a={successFileNames:[],failedFileNames:[]};for(let s=0;s<t.length;s++){let l=t[s],c=l.config.title,d={mode:n,name:c,description:"",introduction:void 0,public:!1,cbb_project:l.config.cbbProject,editorVersion:l.config.editorVersion||"",owner:{uuid:i,username:o,nickname:o}},u=me.i18n("{filename} Importing...",{filename:c||""});vt(0,u,void 0,void 0,!0,void 0,!0),o&&(d.project_path=o+"/"+(await C.messageBus.rpcCall("prjPinyin",c)).message);let p={needDlg:!1,autoOpen:!1},{message:m}=await C.messageBus.rpcCall(qr.IMPORT_NEW_PROJECT,{datas:l,info:d,options:p});m.success?(l.uuid=m.result.uuid,l.updated_at=m.result.updated_at,a.successFileNames.push(c)):(a.failedFileNames.push(c),r&&Ot("error","Project "+c+" creation failed: "+m.message,void 0,!0)),vt(1,u,void 0,void 0,!0,void 0,!0)}return a}async function BCi(t,e){let i={successFileNames:[],failedFileNames:[]};le.close("create-new-project-dialog");for(let o of t){let{title:r,editorVersion:n}=o.config,a=me.i18n("{filename} Importing...",{filename:r||""});vt(0,a,void 0,void 0,!0,void 0,!0);let{message:s}=await C.messageBus.rpcCall("prjPinyin",r),l={title:r,introduction:"",description:"",path:e,editorVersion:n,ownerUserName:"",projectLinkValue:s,mode:1},{message:c}=await C.messageBus.rpcCall(qr.IMPORT_NEW_PROJECT,{datas:o,info:l,options:{needDlg:!1}});c.success?i.successFileNames.push(r):i.failedFileNames.push(r),vt(1,a,void 0,void 0,!0,void 0,!0)}return tl({refresh:!0}),i}var zCi=(function(){if(!window.FileReader)return function(){Ut({type:"warn",message:"Your browser cannot run this function."})};let t=/\.(epro|epro2|elibz|esym|efoo|epanl|zip|elibz2)$/i;var e={multiple:!0,accept:".zip,.epro,.epro2,.elibz,.elibz2,.esym,.efoo,.epanl",fileFilter:function(o){return t.test(o.name)},onValidate:function(o){o||Ut({type:"warn",message:"Please select esym , efoo or zip files."})},onSelectFiles:async o=>{var c;let r=new Set;if(o.forEach(d=>r.add(d.name.match(t)[0])),r.size>1){Ut({type:"warn",message:"Doesn't support multiple file extensions import at the same time."});return}let n=0,a=1*1024*1024;for(let d of o){if(n+=d.size||0,a>0&&n/1024>a)return Ut({type:"error",message:"Exceeded the maximum allowed file size: {size}!",params:{size:Math.round(a/1024)+"MB"}});if((await C.messageBus.rpcCall("/pro-mgr/isEncrypted",[d])).message){let m=(await fBe(o,{isShowFileNameOnDescrDialog:o.length>1})).filter(h=>h.success).map(h=>h.file);m.length&&lze(m);return}}Oa.setImportFile(o);let s=Oa.getInstance();yme((c=o[0])==null?void 0:c.name);let l=s.from;await wC("proeda",l),o.length>1?s.fileName=o.map(d=>d.name).join(","):s.fileName=o[0].name,s.update()}},i;return function(){i||(i=nu.instance((0,l5e.default)("<br>")).config(e));let o=Oa.getInstance();o.from="",i.openSelect()}})();async function bme(t,e=!0,i){let o=Array.prototype.slice.call(t);if(!Dj(t)){await p5t(t,!0);return}let n=[await la.extractProjectInfo({data:o[0]})];n.length&&e&&c5e(n,Array.isArray(t)?t[0]:t,i)}async function c5e(t,e,i){var u,p,m;if(Array.isArray(t))if(t.length===1)t=t[0];else{let h=t.filter(f=>f.cbb_project);if(t=t.filter(f=>!f.cbb_project),h.length){let f=me.i18n("{length} files failed to be imported. Batch import of reuse block is not supported:{names}",{length:h.length,names:h.map(g=>g.config.title).join(",")});Ot("error",f)}if(!t.length)return}Array.isArray(t)&&t.length===1&&(t=t[0]);let o=Oa.getInstance();i&&(o.activeType=i);let r;(u=C.currentProject)!=null&&u.projectId&&o.urlFrom==="oshwhub"?(o.urlFrom="",r="exist"):(o.urlFrom="",r="new");let{isCbbProject:n,projectName:a,projectData:s,editorVersion:l}=eyr(t);if(!a&&s&&(a=s.title,!a&&e)){let h=(o.fileName&&o.fileName||e.name||"").match(/^([^.]+)/);a=h?h[0]:""}let d=o.isOtherEDA()?"importOtherFormatData":"importProject";n?await A3({dlgType:"IMPORT",projectData:s,editorVersion:l,projectName:t.config.title,operationOption:r,fileContent:e}):await US({dlgTitle:o.getDlgTitle(),dlgType:d,projectName:a,projectData:s,editorVersion:l,operationOption:r,fileContent:e}),ku.setProjectMsg(((p=C.currentProject)==null?void 0:p.title)||"",((m=C.currentProject)==null?void 0:m.projectId)||"")}function eyr(t){var n,a,s;let e=((n=t.config)==null?void 0:n.cbb_project)||t.cbb_project,i=(a=t.config)==null?void 0:a.title,o=t.dataStr||t,r=((s=t.config)==null?void 0:s.editorVersion)||t.editorVersion;return{isCbbProject:e,projectName:i,projectData:o,editorVersion:r}}async function p5t(t,e=!1){var i=[];if(Array.prototype.slice.call(t).forEach(function(l){i.push(l)}),!i.length)return;let o=i[0],r=o.name,n,a,s;r.includes(Lo.ELIBZ)||(r.includes(Lo.SCH)?(n=ve.SCH,a=!1):r.includes(Lo.PCB)?(n=ve.PCB,a=!1):r.includes(Lo.SYMBOL)?(s=!0,a=!1):r.includes(Lo.PANEL_LIB)?(n=ve.PANEL_LIB,a=!1):r.includes(Lo.PANEL)?(n=ve.PANEL,a=!1):r.includes(Lo.FOOTPRINT)&&(n=ve.FOOTPRINT,a=!1)),tyr(o).then(async function(l,c){if(!n&&typeof s>"u"){let d=l.match(/"docType":[0-9]+/),u=l.match(/"symbolType":[0-9]+/);if(d)n=Number(d[0].split(":")[1]),a=!0;else if(u)n=Number(u[0].split(":")[1]),a=!1;else return Ut({type:"error",message:"The imported file format incorrect or doesn't match current type, please re-select and import."})}if(e)if(n===ve.SCH){Ot("error",'<span class="i18n">Do not import single Sheet files!</span>',void 0,!0);return}else if(n===ve.BLOCK_SYMBOL){A3({dlgTitle:"import CBB",projectName:c,fileDataStr:l});return}else if(n==ve.PCB){Ot("error",'<span class="i18n">Do not import single PCB files!</span>',void 0,!0);return}else if(n==ve.PANEL){Ot("error",'<span class="i18n">Do not import single Panel files!</span>',void 0,!0);return}else if(n==ve.FOOTPRINT){let d=l.replace(new RegExp(/[\r\n]+/g),",");d=d.replace("],]","]]"),et("new_footprint",{fileInfo:{name:c,pre:"",dataStr:l,is3_0:a,fileContent:o,action:"IMPORT"}})}else if(n==ve.PANEL_LIB)et("open_create_panel_lib_dialog",{display_title:c,dataStr:l,is3_0:a,dlgType:"import",fileContent:o});else{let d=Oa.getInstance(),u=Dj(Oa.getImportFile())||d.activeType=="proeda";yP({files:i,dlgTitle:"import symbol",dlgType:"import",importDataStr:l,symbolDoctype:n,canSelectSymbolType:!1,hideImportRadio:!0,symbolName:c,isProExport:u,is3_0:a,fileContent:o});return}n===ve.SCH&&pr(n)&&await C.messageBus.rpcCall("importJsonFile",{string:l,title:c,docType:n})},function(l){Ut({type:"error",message:l})})}function tyr(t,e=void 0){var i=new FileReader,o=l5e.default.Deferred(),r=t.name||t.title||"",n=r.replace(/\.\w+$/,"")||r;return i.onload=function(a){var s=a.target.result;o.resolve(s,n)},i.onerror=function(){o.reject(me.i18n("Failed to read file [{file}]",{file:ue.htmlEncode(r)}))},i.readAsText(t,e),o.promise()}async function FCi(t,e){return(await C.messageBus.rpcCall(qr.CBB_AS_CLOUD,{cbb:{uuid:t.uuid},info:{...e,cbb_project:!1,project_path:e.project_path},options:{needDlg:!0,autoOpen:!0,needTip:!1}})).message}var wme=L(z()),iyr=t=>{let{value:e,disabled:i,onChange:o}=t,r=J();return(0,wme.jsxs)("tr",{style:{display:"flex",paddingBottom:"8px"},children:[(0,wme.jsx)("td",{style:Kc,title:r("Introduction"),"data-test":"Introduction",children:r("Introduction")}),(0,wme.jsx)("td",{style:{display:"flex",boxSizing:"border-box",paddingTop:"7px",width:"100%"},children:(0,wme.jsx)("textarea",{value:e,disabled:i,onChange:n=>o&&o(n.target.value),rows:7,style:{width:"81%",height:"64px",padding:"4px 8px"},onFocus:n=>n.target.select(),onKeyDown:n=>n.key!=="Escape"&&n.stopPropagation(),onKeyUp:n=>n.key!=="Escape"&&n.stopPropagation()})})]})},UCi=iyr;var Vd=L(z()),oyr=t=>{let{defaultOwnerId:e,projectName:i,dlgType:o="normalProject",projectData:r,isFrom:n,relateData:a,dlgTitle:s,operationOption:l,fileContent:c,defaultIntroduction:d,defaultDescription:u,defaultTags:p,cbb_project:m}=Np.dialogProps["create-new-project-dialog"]||t;Ae(m5t.default),Ce(ku),Ce(Np);let h=be.bind(m5t.default.locals),f=J(),[g,b]=(0,dp.useState)(0),y=(0,dp.useRef)(null),w=(0,dp.useRef)(i),x=!Array.isArray(r)||r.length===1,S=m,T=(0,dp.useContext)(_r),M=(0,dp.useRef)(null),[I,A]=(0,dp.useState)(e||""),[D,E]=(0,dp.useState)(""),[N,R]=(0,dp.useState)(i),v=(0,dp.useMemo)(()=>w.current!==i?(w.current=i,i):N,[N,i]),[k,P]=(0,dp.useState)(""),[O,_]=(0,dp.useState)(""),[j,B]=(0,dp.useState)(""),[V,G]=(0,dp.useState)(p),[Q,H]=(0,dp.useState)(d||""),[q,U]=(0,dp.useState)(u||""),[F,K]=(0,dp.useState)(""),[te,ae]=(0,dp.useState)(()=>{var Le;let{creator:X,owner:ie}=(Le=he.getActiveTabData())==null?void 0:Le.data,de=C.teams.find(Re=>Re.uuid===ie),fe=!0;if(C.currentProject.isCBB){let Re=X===_o()||ie===_o();if(de){let Ne=zi.getTeamPermissionCaches(ie);fe=Hd(Ne,Yr.Team_Module_Copy)}else fe=Re}else fe=hJ(void 0,Io.Project_Copying);let ye=fe;return o==="saveAs"?!ye:!1}),[pe,Z]=(0,dp.useState)(l||"new"),[ee,ce]=(0,dp.useState)(!0);Ce(Yu),(0,dp.useLayoutEffect)(()=>{C.messageBus.rpcCall("prjPinyin",i).then(({message:X})=>{B(X)})},[i]);let ne=(0,dp.useCallback)((X,ie)=>{A(X),E(ie.args.owner),de(ie.args.owner);async function de(fe){var Te,Pe;let ye=((Pe=(Te=y.current)==null?void 0:Te.getTeams)==null?void 0:Pe.call(Te))||C.teams,Le=fe===C.loginedUserInfo.uuid?{username:C.loginedUserInfo.username}:ye.find(Oe=>Oe.uuid===fe)||null;!Le&&ye.length?Le={username:ye[0].username}:Le||(Le={username:""});let Re=encodeURIComponent(Le.username),Ne=location.protocol+"//"+location.host+"/"+Re+"/";_(Re),P(Ne)}},[]);(0,dp.useLayoutEffect)(()=>{if(!Yu.selectedOrgUuid||!D)return;let X=Yu.currentTeamsData.find(ie=>ie.uuid===D);if(Yu.selectedOrgUuid==="Personal")ce(X?X.mode!==3:!0);else{let ie=_d.organization.find(fe=>fe.uuid===Yu.selectedOrgUuid),de=X.mode===3||ie.mode===3;ce(!de)}},[D,Yu.selectedOrgUuid,Yu.renderTicket]);let oe=async()=>{te||(ae(!0),await re(),ae(!1))},re=async()=>{var Ne,Te,Pe,Oe,Ue;let X=ee?Yu.activeMode:1;if(o==="normalProject"&&M.current&&M.current.uuid){let Ve=await FCi(M.current,{name:v,project_path:O+"/"+j,path:Je?F:D,mode:X,ownerUserName:O,owner:{uuid:D},ownerSelectId:I,introduction:Q,description:q});Ve.success&&(await le.closeAll(),Nxt(Ve.result.project));return}if((o==="importProject"||o==="importOtherFormatData")&&pe==="exist"){let Ve=ku.projectTitle,ze=ku.projectUuid;if(!Ve||!ze){Ut({type:"alert",message:"Please select a name"});return}let He=await QZ(ze);if(He===0){let Xe="Import failed, the project is locked.";De({type:"error",msg:Xe,timer:3}),Ot("error",Ti(Xe));return}else if(He===1){let Xe="Import failed, no project edit permission.";De({type:"error",msg:Xe,timer:3}),Ot("error",Ti(Xe));return}let Ye=await zi.getPermissionList(ze);if(!Hd(Ye,Io.File_Importing)){let Xe={value:"Import failed, no {0} permission.",options:{0:me.i18n("File import")}};De({type:"error",msg:Xe,timer:3});return}let Be=await ij({datas:r,options:{projectId:ze,projectTitle:Ve,byUUID:!1,file:c}});Oa.getInstance().needBind&&(await fJ(r,Be,ze),await C.messageBus.rpcCall("/pro-mgr/project/sync/force"),await C.messageBus.rpcCall("refreshTreeData")),le.close("create-new-project-dialog"),ku.setProjectMsg("",""),vt(1,"Save to Existing Project...",void 0,void 0,!0,void 0,void 0,!1);return}let ie=C.teams.find(Ve=>Ve.uuid==D&&Ve.uuid!==_o());if(pe==="new"&&ie&&!zi.hasPermission(ie.permissions,Io.Project_Creating)){let ze="Permission denied";De({type:"error",msg:ze,timer:3}),Ot("error",Ti(ze));return}let de=v,fe=/[\\\/:*?"<>|]+/g;if(Je&&fe.test(de)&&pe!=="exist"&&(de=de.replace(fe,""),De({type:"info",msg:"Title contains special characters, automatically filtered",timer:5})),x&&!ch({ownerId:{value:I,isJudge:!Je&&pe!=="exist"},title:{value:de,tipName:"Project"},projectLink:j,projectPath:F,introduction:{value:Q}}))return;if(o==="saveAs"){let{message:Ve}=await C.messageBus.rpcCall("getProjectId",null);if(!Ve){De({type:"info",msg:"Please open the project first!"});return}let ze=`${O}/${j}`;if(vt(0/11,"save as cloud..."),a){let He=C.currentProject.projectId,Ye={owner:{uuid:D},name:v,introduction:Q,description:q,ownerSelectId:I,project_path:ze,path:F,mode:X},ke=uP(a);await C.messageBus.rpcCall(qr.DOCUMENT_AS_CLOUD,{uuid:He,info:Ye,analyzeReuseBlock:!0,...ke});let Be=[];for(let Ge=0;Ge<a.schs.length;Ge++)for(let Ke=0;Ke<a.schs[Ge].sheets.length;Ke++)Be.push(`${a.schs[Ge].name}.${a.schs[Ge].sheets[Ke].name}`);let Xe=[];for(let Ge=0;Ge<a.schs.length;Ge++)for(let Ke=0;Ke<a.schs[Ge].sheets.length;Ke++)Xe.push({"Schematic Name":a.schs[Ge].name,"Sheet Name":a.schs[Ge].sheets[Ke].name});for(let Ge=0;Ge<a.schematics.length;Ge++)Xe.push({"Schematic Name":a.schematics[Ge].name});for(let Ge=0;Ge<a.pcbs.length;Ge++)Xe.push({"PCB Name":a.pcbs[Ge].name});for(let Ge=0;Ge<a.panels.length;Ge++)Xe.push({"Panel Name":a.panels[Ge].name});for(let Ge=0;Ge<a.boards.length;Ge++)Xe.push({"Board Name":a.boards[Ge].name});C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.DOCUMENT_SAVEAS_REMOTE,content:Xe,project_uuid:C.currentProject.projectId}]),vt(1,"")}else{let{message:He}=await C.messageBus.rpcCall(qr.GET_PROJECT_IN_LOCAL,{uuid:Ve});if(He.success){let Ye=He.result,ke={owner:{uuid:D},name:v,introduction:Q,description:q,ownerSelectId:I,project_path:ze,teams:(Te=(Ne=y.current)==null?void 0:Ne.getTeams)==null?void 0:Te.call(Ne),mode:X,path:F,cbb_project:(Pe=Ye==null?void 0:Ye.config)==null?void 0:Pe.cbb_project,text_editor_type:(Oe=Ye==null?void 0:Ye.config)==null?void 0:Oe.text_editor_type};if(V){let[Be,Xe]=V.split(":"),Ge=await sn.addCategoriesBatchByNameArray({categories:Xe?[{parentName:Be,childName:Xe}]:[{parentName:Be}],type:[ve.BLOCK_SYMBOL],uuid:F}),Ke=Ge.allParentCreated[0]?Ge.allParentCreated[0].uuid:void 0,pt=Ge.allChildCreated[0]?Ge.allChildCreated[0].uuid:void 0;ke.tags=[],Ke&&ke.tags.push(Ke),pt&&ke.tags.push(pt)}await C.messageBus.rpcCall(qr.PROJECT_AS_CLOUD,{datas:Ye,info:ke}),C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.PROJECT_SAVEAS_REMOTE,content:{},project_uuid:C.currentProject.projectId}])}}le.close("create-new-project-dialog");return}if(x&&["migrateProject","importProject","importOtherFormatData"].includes(o)){let Ve=T.document.getElementById("create-new-project-dialog");Ve&&Ve.setAttribute("esc","false");let ze=((Ue=r==null?void 0:r.config)==null?void 0:Ue.editorVersion)||(t==null?void 0:t.editorVersion)||"",He=await jyi({title:de,introduction:Q,description:q,ownerUserName:O,projectLinkValue:`${O}/${j}`,ownerSelectId:I,ownerBelongId:D,projectData:r,path:F,dlgType:o,mode:X,isEDAPro:o==="importProject",editorVersion:ze,fileContent:c});return He&&(Ev(He.uuid),le.close("create-new-project-dialog")),vt(1,""),He}if(!x&&"importProject"===o){let{failedFileNames:Ve,successFileNames:ze}=Je?await BCi(r,F):await u5t(r,{owner:D,projectLinkPreName:O,showError:!1,mode:X});if(ze.length){let He=me.i18n("{number} project import successfully:{projectNames}",{number:ze.length,projectNames:ze.join(",")});Ot("info",He)}if(Ve.length){let He=me.i18n("{number} project import failed:{projectNames}",{number:Ve.length,projectNames:Ve.join(",")});Ot("warn",He)}De({type:"success",msg:me.i18n("Bulk import completed!"),timer:2.5,bottomBarMsg:!0}),le.close("create-new-project-dialog");return}let ye=`${O}/${j}`;if(ie&&ryr(de,I,D)){De({type:"error",msg:"Duplicated title",timer:2.5});return}let Le={name:de,introduction:Q,description:q,public:!1,user_uuid:D,ownerSelectId:I,cbb_project:!1,project_path:ye,mode:X,path:F},{message:Re}=await C.messageBus.rpcCall(CK.CLOUD.CREATE,{project:Le,options:{}});!Re||!Re.success?(Re.message&&Re.message==="The user uuid field is required."&&(Re.message='Please select "Owner"'),Re.message&&Re.message==="user uuid \u5B57\u6BB5\u5FC5\u987B\u586B\u5199"?new Fi({type:"warn",msg:'Please select "Owner"'}):Ut({type:"error",message:Mp(Re)||"Save failed!"})):await Nxt(Re.result.project)};Bt(X=>{let{key:ie}=X;ie==="Enter"&&oe()}).keyboard("create-new-project-dialog"),(0,dp.useEffect)(()=>{let X=T.document.getElementById("create-new-project-dialog");X&&X.setAttribute("esc","true")},[]);let Y=()=>{var de;if(t.dlgType==="saveAs"||t.dlgType==="importProject")return null;let X=()=>{M.current=null,b(fe=>fe+1)},ie=()=>{c3i(fe=>{fe&&(M.current={...fe}),b(ye=>ye+1)})};return(0,Vd.jsxs)("div",{style:{display:"flex",alignContent:"center",alignItems:"center",flexWrap:"nowrap"},children:[(0,Vd.jsx)("div",{style:{minWidth:"80px",maxWidth:"120px",padding:"8px 16px 8px 0px"},children:(0,Vd.jsx)("span",{children:f("Template")})}),(0,Vd.jsx)("div",{style:{width:"100%"},children:(0,Vd.jsx)(ea,{value:M.current&&(M.current.name||((de=M.current.display_title)==null?void 0:de.title))||"",hasClearButton:!0,hasThreePoint:!0,onClearClick:X,openDialog:ie,style:{width:"81%",height:"24px"}})})]})};return(0,Vd.jsxs)(Vd.Fragment,{children:[(0,Vd.jsxs)(z0,{children:[(o==="importProject"||o==="importOtherFormatData")&&x&&!Gc.status&&(0,Vd.jsxs)("tr",{style:{display:"flex"},children:[(0,Vd.jsx)("td",{style:Kc,title:f("Operation"),"data-test":"Operation",children:f("Operation")}),(0,Vd.jsx)("td",{style:{display:"flex",boxSizing:"border-box",alignItems:"center",width:"100%"},children:(0,Vd.jsx)($i,{value:pe,onChange:X=>Z(X),options:[{label:"New Project",value:"new"},{label:"Save to Existing Project",value:"exist"}]})})]}),(o==="importProject"||o==="importOtherFormatData")&&pe==="exist"&&x&&(0,Vd.jsxs)("tr",{style:{display:"flex"},children:[(0,Vd.jsx)("td",{style:Kc,title:f("Name"),"data-test":"Name",children:f("Name")}),(0,Vd.jsx)("td",{style:{display:"flex",boxSizing:"border-box",alignItems:"center",width:"100%"},children:(0,Vd.jsx)(ea,{value:ku.projectTitle,style:{width:"81%"},hasClearButton:!1,openDialog:()=>oBe()})})]}),!Je&&(0,Vd.jsx)(du,{ref:y,defaultSelectId:e,displayNone:pe==="exist",onOwnerChange:ne}),(o!=="importProject"&&o!=="importOtherFormatData"||(o==="importProject"||o==="importOtherFormatData")&&pe==="new")&&x&&(0,Vd.jsxs)(Vd.Fragment,{children:[(0,Vd.jsx)(PS,{inputValue:v,onChange:async X=>{R(X);let ie=(await C.messageBus.rpcCall("prjPinyin",X)).message;B(ie)},name:"Project"}),(0,Vd.jsx)(Y,{})]}),(o!=="importProject"&&o!=="importOtherFormatData"||(o==="importProject"||o==="importOtherFormatData")&&pe==="new")&&x&&S?(0,Vd.jsx)(Ep,{inputValue:V,categoryType:Yi.CBB,ownerSelectId:I,isProjectLib:!1,openDialogCallback:(X,ie)=>{G(X)},clearClick:()=>{G("")}}):null,pe==="exist"?null:(o!=="importProject"&&o!=="importOtherFormatData"||(o==="importProject"||o==="importOtherFormatData")&&pe==="new")&&x&&S?(0,Vd.jsx)(lh,{value:q,onChange:X=>U(X)}):(0,Vd.jsx)(UCi,{value:Q,onChange:X=>H(X)}),Je&&pe!=="exist"&&(0,Vd.jsx)(Byi,{onChange:X=>K(X)}),(o==="normalProject"||o==="saveAs"||(o==="importProject"||o==="importOtherFormatData")&&pe!=="exist")&&!Je&&_t&&ee&&x&&(0,Vd.jsxs)("tr",{style:{display:"flex"},children:[(0,Vd.jsx)("td",{style:Kc,title:f("Collaborative mode"),"data-test":"Collaborative mode",children:f("Collaborative mode")}),(0,Vd.jsx)("td",{children:(0,Vd.jsx)(Eyi,{ownerBelongId:D})})]})]}),(0,Vd.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"8px"},"data-refresh":g,children:[(0,Vd.jsx)(Me,{disabled:te,type:"primary",onClick:oe,children:"Save"}),(0,Vd.jsx)(Me,{onClick:()=>le.close("create-new-project-dialog"),children:"Cancel"})]})]})};async function US(t={}){if(!Je&&!br())return Xo.login(),!1;let{projectName:e}=t,i=e||`New Project_${ue.formatDate2(new Date,"y-m-d_h-m-s")}`;t.projectName=i,await le.open({id:"create-new-project-dialog",title:(t==null?void 0:t.dlgTitle)||"New Project",width:628,closed:!0,remove:!0,mask:t.dlgType==="saveAs",esc:!0,centered:!0,children:(0,Vd.jsx)(oyr,{...t})})}var ryr=(t,e,i)=>{var n;let o=(n=C.teamFolders)==null?void 0:n.find(a=>a.uuid===i);return o?VCi(o.rootList.children,e).includes(t):!1},VCi=(t,e)=>{let i=[];return t.forEach(o=>{var r;o.uuid===e&&((r=o.projectList)==null||r.forEach(n=>{var s;let a=(s=C.allProjectList)==null?void 0:s.find(l=>l.uuid===n);a&&i.push(a.name)})),o.children&&o.children.length>0&&i.push(...VCi(o.children,e))}),i};var xC=L(Se());async function dze(t){let{title:e,path:i,ownerName:o=""}=t,r=t.originDevice.path?t.originDevice.path:t.originDevice.owner_uuid?t.originDevice.owner_uuid:t.originDevice.ownerInfo?t.originDevice.ownerInfo.uuid:t.originDevice.creator.uuid,n=null,a="",s=ts.pickUpComponentTags2Ids(t.originDevice.tags),l=await sn.getCategoryNamesByTags(t.originDevice.tags,r,[Yi.DEVICE]),c=!0;try{let d=!1,u=null,p,m,h=!1;t.originDevice&&t.originDevice.attributes.Symbol&&(u=await Ze.getSymbol({isProject:r===C.currentProject.projectId,path:r,uuid:t.originDevice.attributes.Symbol}));let f=null;t.originDevice&&t.originDevice.attributes.Footprint&&(f=await Ze.getFootprint({isProject:r===C.currentProject.projectId,path:r,uuid:t.originDevice.attributes.Footprint})),u&&(d=!0,p=u.uuid,m=u.path),n=await Ze.createDevice({isProject:i===C.currentProject.projectId,path:i,device:{isProject:r===C.currentProject.projectId,uuid:t.originDevice.uuid,path:r,override:{title:t.title,description:t.description,images:t.originDevice.images,tags:s[0]===t.tags[0]?l:t.tags}},symbol:d?{uuid:p,path:m,isProject:m===C.currentProject.projectId}:null,footprint:f?{uuid:f.uuid,path:f.path,isProject:f.path===C.currentProject.projectId}:null}),h&&De({type:"info",msg:"Existing same name symbol, has been associated automatically"})}catch(d){c=!(d&&d.action===zo.CROSS_BIND_EXIT),a=d.message||"Save failed!",d&&(d.action===zo.DEVICE_SAME_NAMA_EXISTS||d.action===zo.SYMBOL_SAME_NAMA_EXISTS||d.action===zo.FOOTPRINT_SAME_NAMA_EXISTS)&&(a=me.i18n(d.message,{libName:o,componentName:e}))}return c&&De({type:a?"error":"success",msg:a||"Saved successfully!"}),n||null}async function HCi(t){let e={success:!1,code:-1,result:{device:{success:!1,code:-1,result:null,message:""}},message:""},i=t.symbolIgnoreDuplicateNameCheck?{ignoreDuplicateNameCheck:t.symbolIgnoreDuplicateNameCheck}:{},o=!0;try{if(t.docType===ve.SHEET_SYMBOL){let r=await sTt(),n,a=await ts.duplicateNameDetection(!1,t.docType,t.deviceName,t.path);a.isDuplicate?(n=await Ze.createDevice({path:t.path,isProject:!1,device:{isProject:!1,data:{title:t.deviceName,description:t.description,tags:t.categoryName?t.categoryName.split(":"):[],attributes:r.attributes,images:[]}},symbol:{isProject:!1,uuid:a.uuids[0],path:t.path,override:{description:"",docType:t.docType,tags:[]}},footprint:null}),De({type:"info",msg:"Existing same name symbol, has been associated automatically"})):n=await Ze.createDevice({isProject:!1,path:t.ownerBelongId||t.path,device:{isProject:!1,uuid:r.uuid,path:_e.SYSTEMLIB_UUID,override:{title:t.deviceName,description:t.description,tags:t.categoryName?t.categoryName.split(":"):[],images:[]}},symbol:{uuid:r.attributes.Symbol,path:_e.SYSTEMLIB_UUID,isProject:!1,override:{title:t.deviceName},...i}}),e.success=e.result.device.success=!0,e.code=e.result.device.code=0,e.result.device.result=n}else{let r={Symbol:"",Name:""};t.docType===ve.PART&&(r={Symbol:"",Name:"",Footprint:"",Designator:"U?","Add into BOM":"yes","Convert to PCB":"yes"});let n=null,a=await ts.duplicateNameDetection(!1,t.docType,t.deviceName,t.path);a.isDuplicate?(n=await Ze.createDevice({path:t.path,isProject:!1,device:{isProject:!1,data:{title:t.deviceName,description:t.description,tags:t.categoryName?t.categoryName.split(":"):[],attributes:r,images:[]}},symbol:{isProject:!1,uuid:a.uuids[0],path:t.path,override:{description:"",docType:t.docType,tags:[]}},footprint:null}),De({type:"info",msg:"Existing same name symbol, has been associated automatically"})):n=await Ze.createDevice({path:t.path,isProject:!1,device:{isProject:!1,data:{title:t.deviceName,description:t.description,tags:t.categoryName?t.categoryName.split(":"):[],attributes:r,images:[]}},symbol:{isProject:!1,data:{title:t.deviceName,description:"",tags:[],docType:t.docType},...i},footprint:null}),e.success=e.result.device.success=!0,e.code=e.result.device.code=0,e.result.device.result=n}}catch(r){o=!(r&&r.action===zo.CROSS_BIND_EXIT),e.message=e.result.device.message=r.message||"Save failed!",r&&(r.action===zo.DEVICE_SAME_NAMA_EXISTS||r.action===zo.SYMBOL_SAME_NAMA_EXISTS||r.action===zo.FOOTPRINT_SAME_NAMA_EXISTS)&&(e.message=e.result.device.message=me.i18n(r.message,{libName:await d4(t.ownerBelongId||t.path),componentName:t.deviceName})),r&&r.action===zo.CREATE_SYMBOL_PERMISSIONS&&(e.message="Permission denied")}finally{o&&De({type:e.message?"error":"success",msg:e.message||"Saved successfully!"})}return e}var f4=L(z()),nyr=t=>{let{defaultOwnerId:e,canSelectSymbolType:i,formData:o,contentData:r,symbolDoctype:n,device:a,categoryId:s,onDialogOpened:l}=t,{deviceName:c,categoryName:d,isObserverSave:u,closeTabId:p}=t,{description:m}=t;Ce(ku),Ce(On);let h=J(),f=(0,xC.useRef)(null),g=(0,xC.useRef)(C.workspace),[b,y]=(0,xC.useState)(e||""),[w,x]=(0,xC.useState)(""),[S,T]=(0,xC.useState)(""),[M,I]=(0,xC.useState)(c||""),[A,D]=(0,xC.useState)(m||""),[E,N]=(0,xC.useState)(d||""),[R,v]=(0,xC.useState)(s||""),[k,P]=(0,xC.useState)(n||2),[O,_]=(0,xC.useState)(!1),j=(0,xC.useCallback)((V,G)=>{y(V),x(G.args.owner),T(G.title)},[]),B=async()=>{var U,F,K,te;if(O||!await jv(b,Yr.Team_Component_Add,"Permission Dend")||!ch({ownerId:{value:b,isJudge:!Je},title:{value:M,tipName:"Device"},description:{value:A},categoryId:R}))return;_(!0);let V=Number(k),G,Q,H;Q=E,Je?G=On.selectPath:G=w;let q={dataStr:"",docType:V,createNewWindow:!1};if(q.isObserverSave=u,q.closeTabId=p,q.path=On.selectPath,q.noDescription=!0,q.noTags=!0,q.notOpen=!0,o&&!o["new-symbol"]&&(r!=null&&r.symbol))H=r.symbol;else{if(a)return await dze({originDevice:a,description:A,tags:Q?Q.split(":"):[],title:M,owner:Je?On.selectPath:w,ownerName:Je?On.selectPath:S,path:G,sameNameComponentSaveAsMethod:"unset"}).then(async ae=>{_(!1),["device","symbol","footprint"].includes(Ls())&&_s(G,Ls()),ae&&le.close("create-device-simplify")});{let ae={title:M,docType:V,owner:w,path:G,tags:[],description:A,dataStr:""};ae.checkDevice="yes",mt.getSymbolLibManage()=="1"&&(ae.ignoreDuplicateNameCheck="yes");let pe=await HCi({docType:V,path:ae.path,ownerBelongId:w,deviceName:M,description:A,categoryName:E,symbolIgnoreDuplicateNameCheck:ae.ignoreDuplicateNameCheck});if((F=(U=pe==null?void 0:pe.result)==null?void 0:U.device)!=null&&F.success){let Z=(te=(K=pe.result)==null?void 0:K.device)==null?void 0:te.result;Z&&Z.uuid&&(["device","symbol","footprint"].includes(Ls())&&_s(G,Ls()),p4(Z.attributes.Symbol,G,2,1),p4(Z.uuid,G,1,1),await yn({uuid:Z.attributes.Symbol,deviceUuid:Z.uuid,path:G,isComponent:!0}),le.close("create-device-simplify")),q.messageToken&&window.postMessage({result:H,messageToken:q.messageToken},"*")}else _(!1)}}_(!1)};return Bt(V=>{let{key:G}=V;G==="Enter"&&B()}).keyboard("create-device-simplify"),(0,xC.useLayoutEffect)(()=>{l&&l()},[]),(0,f4.jsxs)(f4.Fragment,{children:[(0,f4.jsxs)(z0,{children:[Je&&(0,f4.jsx)(Wb,{selectChange:()=>{}}),!Je&&(0,f4.jsx)(du,{ref:f,defaultSelectId:b||e,notFolder:!0,onOwnerChange:j,onWorkSpaceChange:V=>g.current=V}),(0,f4.jsx)(yj,{name:"Device",inputValue:M,selectValue:k,selectDisable:!i,isDevice:!0,inputChange:V=>I(V),selectChange:V=>P(V)}),(0,f4.jsx)(Ep,{inputValue:E,categoryType:Yi.DEVICE,ownerSelectId:b,clientLibPath:On.selectPath,openDialogCallback:(V,G)=>{N(V),v(G)},clearClick:()=>{N(""),v("")}}),(0,f4.jsx)(lh,{value:A,onChange:V=>D(V)})]}),(0,f4.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"8px"},children:[(0,f4.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[mt.getSymbolLibManage()=="2"&&(0,f4.jsx)("span",{style:{lineHeight:"28px",cursor:"pointer",color:"rgb(24, 144, 255)"},"data-test":"Complete Setting",onClick:()=>{et("new_device",{title:M,newLibraryPopup:"complete",docType:k,canSelectSymbolType:i,formData:o,contentData:r,category:E,categoryId:R,description:A,isFromSimplifyDeviceDialog:!0,workspace:g.current,userId:Je?On.selectPath:w,isCalledBySimplify:!0}),le.close("create-device-simplify")},children:h("Complete Setting>")}),(0,f4.jsx)("span",{style:{lineHeight:"28px",cursor:"pointer",color:"rgb(24, 144, 255)",marginLeft:mt.getSymbolLibManage()=="2"?"16px":"unset"},"data-test":"New in Batch",onClick:()=>{et("openBatchCreateDeviceDialog",{selectedId:Je?On.selectPath:w}),le.close("create-device-simplify")},children:h("New in Batch")})]}),(0,f4.jsxs)("div",{style:{display:"flex",gap:"8px"},children:[(0,f4.jsx)(Me,{disabled:O,type:"primary",onClick:()=>B(),children:"Save"}),(0,f4.jsx)(Me,{onClick:()=>le.close("create-device-simplify"),children:"Cancel"})]})]})]})};function gJ(t){if(!Je&&!br()){Xo.login();return}le.open({id:"create-device-simplify",title:(t==null?void 0:t.dlgTitle)||"New Device",width:628,closed:!0,remove:!0,esc:!0,children:(0,f4.jsx)(nyr,{...t})})}var Uv=L(Se());var VS=L(z()),ayr=t=>{let{dlgType:e,defaultOwnerId:i,categoryId:o,data:r}=t,{panelName:n,categoryName:a}=t,{description:s}=t;Ce(ku),Ce(On);let l=(0,Uv.useRef)(null),c=(0,Uv.useRef)(C.workspace),[d,u]=(0,Uv.useState)(i||""),[p,m]=(0,Uv.useState)(""),[h,f]=(0,Uv.useState)(n||""),[g,b]=(0,Uv.useState)(s||""),[y,w]=(0,Uv.useState)(a||""),[x,S]=(0,Uv.useState)(o||""),[T,M]=(0,Uv.useState)(!1),I=(0,Uv.useCallback)((D,E)=>{u(D),m(E.args.owner)},[]),A=async()=>{if(T||!ch({ownerId:{value:d,isJudge:!Je},title:{value:h,tipName:"Panel Lib"},description:{value:g},categoryId:x}))return;M(!0);let D,E=On.selectPath,N=y?y.split(":"):[];if(e==="import"){let R=y?y.split(":"):[];D=await cc.import({title:h,desc:g,tags:N,categoryName:R,owner:p,path:E,data:r})}else e==="asCloud"?D=await cc.asCloud({title:h,desc:g,tags:N,owner:p,path:E,data:r}):D=await cc.createPanelLib({title:h,desc:g,tags:N,owner:p,path:E,data:r});D&&(le.close("create-panel-lib-dialog"),_s(Je?E:p,"panelLib")),M(!1)};return Bt(D=>{let{key:E}=D;E==="Enter"&&A()}).keyboard("create-panel-lib-dialog"),(0,VS.jsxs)(VS.Fragment,{children:[(0,VS.jsxs)(z0,{children:[Je&&(0,VS.jsx)(Wb,{selectChange:()=>{}}),!Je&&(0,VS.jsx)(du,{ref:l,defaultSelectId:d||i,notFolder:!0,onOwnerChange:I,onWorkSpaceChange:D=>c.current=D}),(0,VS.jsx)(PS,{name:"Panel Lib",inputValue:h,onChange:D=>f(D)}),(0,VS.jsx)(Ep,{inputValue:y,categoryType:Yi.PANEL_LIB,ownerSelectId:d,clientLibPath:On.selectPath,openDialogCallback:(D,E)=>{w(D),S(E)},clearClick:()=>{w(""),S("")}}),(0,VS.jsx)(lh,{value:g,onChange:D=>b(D)})]}),(0,VS.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"8px"},children:[(0,VS.jsx)(Me,{disabled:T,type:"primary",onClick:()=>A(),children:"Save"}),(0,VS.jsx)(Me,{onClick:()=>le.close("create-panel-lib-dialog"),children:"Cancel"})]})]})};function pze(t){if(!Je&&!br()){Xo.login();return}le.open({id:"create-panel-lib-dialog",title:(t==null?void 0:t.dlgTitle)||"Create Panel Lib",width:628,closed:!0,remove:!0,esc:!0,children:(0,VS.jsx)(ayr,{...t})})}var dI=L(Se());async function mze(t,e,i,o){let r=null,n="";try{let a=await Ze.getD3Model({isProject:!1,uuid:t,path:e});r=await Ze.createD3Model({path:i,isProject:!1,d3model:{isProject:!1,data:{title:o.title,description:o.description,tags:o.categoryName?o.categoryName.split(":"):[],dataStr:a.dataStr,docType:ve.PCBLIB3D}}})}catch(a){if(n=a.message||"Save failed!",a&&a.action===zo.D3MODEL_SAME_NAMA_EXISTS){let s=await d4(i);n=me.i18n("{libName} duplicate name or illegal name: {componentName}",{libName:s,componentName:o.title})}}return n&&De({type:"error",msg:n}),r||null}async function hze(t,e,i,o,r){let n=null,a="";try{if(n=await Ze.createFootprint({path:i,isProject:i===C.currentProject.projectId,footprint:{isProject:e===C.currentProject.projectId,uuid:t,path:e,override:{title:o.title,description:o.description,tags:o.categoryName?o.categoryName.split(":"):[],docType:ve.FOOTPRINT}}}),Wa(n,1),r&&r.triggeFrom==="PERMISSIONS_MISSING"){let s=await he.getTabIFrame(he.getActiveTab()),l=(await C.windowBridge.rpcCall("FileSource","",s.contentWindow)).message;if(l){let c=(await C.messageBus.rpcCall(Ei.COMPONENT.SET_HISTORY,{path:i,uuid:n.uuid,dataStr:l})).message}}}catch(s){if(a=s.message||"Save failed!",s&&s.action===zo.FOOTPRINT_SAME_NAMA_EXISTS){let l=await d4(i);a=me.i18n("{libName} duplicate name or illegal name: {componentName}",{libName:l,componentName:o.title})}}return a&&De({type:"error",msg:a}),n||null}var z5t=L(Se());var F5t=L(kre());var eTi=L(kre());var ZCi=L(Se());var gze=class extends L3{constructor(){super(),this.requestTypes=["3"]}filterProjectLibCategory(e){let i=[],o=[],r=[],n={};for(let a in e){let s=e[a],l=[];for(let c in s.children){let d=s.children[c];l.push({id:d.uuid,title:d.name,titleAdditional:d.name_cn,parentId:s.uuid}),n[d.uuid]=s.uuid}i.push({id:s.uuid,title:s.name,titleAdditional:s.name_cn,children:l})}return i.unshift({title:_e.CATEGORY_ITEM_ALL_TITLE,id:_e.CATEGORY_ITEM_ALL_VALUE,titleAdditional:me.i18n(_e.CATEGORY_ITEM_ALL_TITLE)}),o.push(_e.CATEGORY_ITEM_ALL_VALUE),{treeData:i,selectedIds:o,categoryIds:r,childCategory2ParentCategoryMap:n,sourceCategoryList:[],languageHashtable:{}}}async fetchDeviceProjectLib(){let e=Mt(String(Math.random()));this.categoryRequestId=e;let i=C.globalVariableCookieData||{},o=i.easyeda_user||i.userInfo;return new Promise((r,n)=>{o||r({code:0,success:!0,result:this.filterProjectLibCategory({}),requestId:e}),C.messageBus.rpcCall($e.DEVICE.WITH_ORIGINS,[C.currentProject.projectId]).then(({message:a})=>{a=tI(a),r({code:0,success:!0,result:this.filterProjectLibCategory(a),requestId:e})},()=>{r({code:0,success:!0,result:this.filterProjectLibCategory([]),requestId:e})}).catch(a=>{console.error(a),r({code:-1,success:!1,result:null,msg:"ChooseDevice.Store.FetchDeviceProjectLib RemoteFetch Error."})})})}async refreshProjectLibCategoryList(){let e=await this.fetchDeviceProjectLib();this.categoryRequestId===e.requestId&&(e.success||console.error(e),e.result&&(this.renderCategoryList=ue.deepClone(e.result.treeData),this.renderCategoryList.splice(1,0,{id:"@Uncategorized",children:[],parentId:"",title:"Uncategorized",titleAdditional:me.i18n("Uncategorized")}),this.renderSelectedIds=e.result.selectedIds))}initSelectToDefault(){var e;(e=this.renderCategoryList[0].children)!=null&&e.length&&(this.renderSelectedIds=[_e.CATEGORY_ITEM_ALL_VALUE])}exit(){this.baseExit(),this.requestTypes=["3"]}};var bze=class extends dm{constructor(){super()}checkedProjectLib(){this.projectLib=this.projectsIds.includes(this.getSelectedTruthLibIds()[0])}async initialLibList(e){this.initalLibList=await this.createInitLibList(this.isFromProject,this.path,e)}async createInitLibList(e,i,o){let r=[];return!wi||N0?(r=await this.createSourceLibListInWebModeWithAssociateDialog(e,i),r):Tn?(r=await this.createSourceLibListByHalfofflineClientModeWithAssociateDialog(i,e),r):(r=await this.createSourceLibListByOfflineClientModeWithAssociateDialog(i,e),r)}async createSourceLibListInWebModeWithAssociateDialog(e,i){let o=[];if(e)return o=[{title:"Project",id:"",key:"project"}],[...o];_t||(o=[{title:"Personal",id:C.loginedUserInfo.uuid,key:"personal"}]);let r=await _Te();return[...o,...r].filter(n=>n.id===this.path)}async createSourceLibListByHalfofflineClientModeWithAssociateDialog(e,i){let o=await jTe(),r;return i?(r=[{title:"Project",id:"",key:"project"}],[...r]):(r=o.filter(n=>n.id===e),[...r])}async createSourceLibListByOfflineClientModeWithAssociateDialog(e,i){return this.createSourceLibListByHalfofflineClientModeWithAssociateDialog(e,i)}exit(){this.baseExit()}};var yze=class extends D3{constructor(){super(),this.searchPlaceHolder="Search, at lease 2 charaters"}};var YCi=[{icon:{iconClassName:"icon-eda-list-detail"},key:"detail",hoverTitle:"Detail list"},{icon:{iconClassName:"icon-eda-list-grid"},key:"grid",hoverTitle:"Grid list",tabStyle:{marginRight:"4px"}}];var WCi=[{title:"Price",selected:!1,hasSortType:!0,type:"default",key:"price"},{title:"Stock",selected:!1,hasSortType:!0,type:"default",key:"stock"},{title:"Sales",selected:!1,hasSortType:!1,type:"default",key:"sales"}];var h5t={part:2,netflag:18,netport:19,offPageConnector:25,sheet:20},Ej=["netflag","netport","offPageConnector"];var syr=["LCSC Stock","LCSC Price","JLCPCB Stock","JLCPCB Price","JLCPCB Part Class"];function d5e(t){return syr.includes(t)}function f5t(t){if(!(t!=null&&t.length))return[];let e=[].concat(t);for(let i=0;i<e.length;i+=1)e[i].attributes&&(e[i].attributes=JSON.parse(JSON.stringify(e[i].attributes,function(o,r){return d5e(o)?"":r})));return e}async function FV(t,e="grid"){if(!t.length||Ko)return t;let i=ue.deepClone(t),o=[];return i.forEach(r=>{r.attributes&&(!_t&&r.attributes["Supplier Part"]?o.push(r.attributes["Supplier Part"]):_t&&r.attributes["Part Number"]&&o.push(r.attributes["Part Number"]))}),o.length&&(!Ko&&!_t?(i=await g5t(i,o,e),i=await Cme(i,o)):_t&&(i=await y5t(i,o,e))),i}function lyr(t){let e;return t==="expand"||t==="recommend"?e="Extended Part":(t==="Basic Part"||t==="base")&&(e="Basic Part"),me.i18n(e)}async function Cme(t,e,i="eda"){if(Ko||_t||Nt||!e.length)return t;let o=ue.deepClone(t);try{let r=await Ol.postJSON(C.apis.eda.getSmtPartInfo,{numbers:e,path:bn},void 0);Wh(r)&&r.result?r.result.forEach(n=>{o.forEach(a=>{var l;if((i==="eda"?(l=a.attributes)==null?void 0:l["Supplier Part"]:Xr?a.code:a.number)===n.component_code)if(a["JLCPCB Price"]=n.maxPrice?String(n.maxPrice):"",!n.onSale)a["JLCPCB Stock"]="0";else{a["JLCPCB Stock"]=n.stock_num?String(n.stock_num):"";let c=lyr(n.paste_type);i==="eda"?a.attributes["JLCPCB Part Class"]=c:(a["JLCPCB Part Class"]=c,!(a.device_info instanceof Array)&&a.device_info&&(a.device_info.attributes["JLCPCB Part Class"]=c))}})}):Wh(r)||console.error("GetSmtPartInfo",r.msg)}catch(r){console.error("GetSmtPartInfo",r)}return o}async function g5t(t,e,i="grid"){var r,n;if(Ko||_t||!e.length)return t;let o=ue.deepClone(t);try{let a=await Ol.postJSON(C.apis.eda.productSearch,{codes:e.join(",")},void 0);Wh(a)&&((n=(r=a.result)==null?void 0:r.productList)!=null&&n.length)?a.result.productList.forEach(s=>{o.forEach(l=>{var d,u;let c=vo?s.number:s.code;((d=l.attributes)==null?void 0:d["Supplier Part"])===c&&(i==="grid"?(l["LCSC Price"]=(u=s.priceList[0])!=null&&u.price?String(s.priceList[0].price):"",l["LCSC Stock"]=s.stockNumber?String(s.stockNumber):""):(l.priceList=s.priceList||[],l.packageNumber=s.packageNumber||"",l.stockUnit=s.stockUnit||"",l.packageUnit=s.packageUnit||"",l.stockNumber=s.stockNumber||""))})}):Wh(a)||console.error("GetLcscPriceAndStock",a.msg)}catch(a){console.error("GetLcscPriceAndStock",a)}return o}function IP(t){let e=["star",C.currentProject.projectId,_e.SYSTEMLIB_UUID];return!Ko&&!_t&&t===_e.SYSTEMLIB_UUID||_t&&!e.includes(t)}function QCi(t){let e=["star",C.currentProject.projectId,_e.SYSTEMLIB_UUID];return _t&&!e.includes(t)}function b5t(t){return _t&&t===Yt.TEAMS}async function y5t(t,e,i="grid"){var r;if(!_t||!e.length)return t;let o=ue.deepClone(t);try{let n=await Ol.postJSON(C.apis.eda.getRealTimePriceAndStock,{codes:e},void 0);Wh(n)&&((r=n.result)!=null&&r.length)?n.result.forEach(a=>{o.forEach(s=>{var l,c;((l=s.attributes)==null?void 0:l["Part Number"])===a.code&&(i==="grid"?s.realTimePrice=(c=a.realTimePrices[0])!=null&&c.price?String(a.realTimePrices[0].price):"":s.realTimePrice=a.realTimePrices,s.realTimeStock=a.stock)})}):Wh(n)||console.error("GetReaTimePriceAndStock",n.message)}catch(n){console.error("GetReaTimePriceAndStock",n)}return o}var wze=class extends nf{constructor(){super();this.getColKey=i=>{switch(i){case"index":return"numberIndex";case"owner":return"ownerBelong";case"tags":return"category";case"updateTime":return"updated_at";case"createTime":return"created_at";case"version":return"versionTimeString";case"modifier":return"modifier_name";default:return i}};this._selectElementDisabled=!1,this._tableCols=[],this._deviceComponentDetail=null,this._deviceTableData=[],this._checkedDeviceData=[],this._selectedDeviceItem=null,this._isUpdateHeight=!1,this._selectedIndex=void 0}get dataType(){return Tt.DEVICE}set selectedIndex(i){this._selectedIndex=i}get selectedIndex(){return this._selectedIndex}set checkedDeviceData(i){this._checkedDeviceData=i,this.notify()}get checkedDeviceData(){return this._checkedDeviceData}set deviceTableData(i){this._deviceTableData=i,this.notify()}get deviceTableData(){return this._deviceTableData}set selectElementDisabled(i){this._selectElementDisabled=i}get selectElementDisabled(){return this._selectElementDisabled}set deviceComponentDetail(i){this._deviceComponentDetail=i}get deviceComponentDetail(){return this._deviceComponentDetail}set isUpdateHeight(i){this._isUpdateHeight=i,this.notify()}get isUpdateHeight(){return this._isUpdateHeight}set tableCols(i){this._tableCols=i}get tableCols(){return this._tableCols}set selectedDeviceItem(i){this._selectedDeviceItem=i}get selectedDeviceItem(){return this._selectedDeviceItem}exit(){this.baseExit(),this.selectedIndex=null,this.selectElementDisabled=!1,this.deviceTableData=[],this.checkedDeviceData=[],this.selectedDeviceItem=null}update(){this.notify()}createTableColsProfile(){let i=rV();return i=i.map(o=>({key:this.getColKey(o.id),name:o.value,sortable:!0,width:["index","numberIndex"].includes(o.id)?50:1/(i.length-1)})),this.deviceTableData.length&&(i=this.findEmptyCol(i)),i}filterComponentList(i,o){let{lists:r}=i,n=r.map((a,s)=>this.adjustDeviceData(a,s,o));return{...i,lists:n}}async fetchComponentList(i,o,r,n=50,a=[],s,l){let c=Mt(String(Math.random()));this.componentListRequestId=c;let d,u={};s==="associatedDeviceList"?dt()!==ve.FOOTPRINT?(u.Symbol=l,d={uid:o,page:r,pageSize:n,attributes:u,path:o}):(u.Footprint=l,d={uid:o,page:r,pageSize:n,attributes:u,path:o}):d={uid:i,path:o,page:r,pageSize:n},a.length&&(d.tags=a),a.includes("@Uncategorized")&&(d.tagNotExists=!0);try{let p={};d.attributes&&(p.attributes=d.attributes),d.tagNotExists&&(p.tagNotExists=d.tagNotExists);let m=await Ze.getDeviceList({isProject:i==C.currentProject.projectId,uid:d.uid,path:d.path,page:d.page,pageSize:d.pageSize,tags:d.tags,query:p,withPackage:!0});return{code:200,success:!0,requestId:c,result:this.filterComponentList(m,i)}}catch(p){return console.error(p,"Get device list error"),{code:-1,success:!1,result:null,requestId:c}}}adjustDeviceData(i,o,r){var a,s,l,c,d,u,p;return!Ko&&r===bo.getInstance().usedId?i.attributes=JSON.parse(JSON.stringify(i.attributes,function(m,h){return d5e(m)?"":h})):(a=i.attributes)!=null&&a["JLCPCB Part Class"]&&(i.attributes["JLCPCB Part Class"]=me.i18n(i.attributes["JLCPCB Part Class"])),{...i,$id:String(o),numberIndex:o+1,modifier_name:((s=i.modifier)==null?void 0:s.nickname)||((l=i.modifier)==null?void 0:l.username)||"",ownerBelong:((c=i.owner)==null?void 0:c.nickname)||((d=i.owner)==null?void 0:d.username)||"",category:Aj(i,r==C.currentProject.projectId),symbol_name:((u=i.symbol)==null?void 0:u.display_title)||"",footprint_name:((p=i.footprint)==null?void 0:p.display_title)||"",updated_at:Rs(new Date(MK(i.updateTime))),created_at:Rs(new Date(MK(i.createTime))),versionTimeString:i.version?ue.formatDate2(MK(i.version)):""}}filterComponentListBySearch(i,o){let{lists:r}=i,n=r.map((a,s)=>this.adjustDeviceData(a,s,o));return{...i,lists:{[o]:n}}}async fetchComponentListBySearch(i,o,r,n,a=50,s){let l=Mt(String(Math.random()));this.componentListRequestId=l;let c={uid:i,pageSize:a,page:n,wd:o,path:r},d=i===C.currentProject.projectId;try{let u=await Ze.getDeviceSearchList({isProject:d,wd:c.wd,uid:c.uid,page:c.page,pageSize:c.pageSize,path:c.path,withPackage:!0});return d&&(u.facets={},u.facets[C.currentProject.projectId]=u.count),this.facets=u.facets,{code:200,success:!0,requestId:l,result:this.filterComponentListBySearch(u,i)}}catch(u){return console.warn(u),{code:-1,success:!1,result:null,requestId:this.componentListRequestId}}}async refreshComponentGridList(i,o,r="",n=[],a,s,l){var p,m;let c=i;if(this.selectedLibIds=[i],this.facets={},this.componentListLoadStatus="Loading",n[0]===_e.CATEGORY_ITEM_ALL_VALUE&&(n=[]),!r||!r.trim()){let h=await this.fetchComponentList(i,o,this.pageNumber,this.pageSize,n,a,s);if(h.success||console.error(h),this.componentListRequestId!==h.requestId)return;if(h.result){this.totalCount=h.result.count,this.pageNumber=h.result.page||1,this.totalPage=h.result.totalPage||1;let f=h.result.lists||[];if(f.length>=1){(p=this.checkedDeviceData)!=null&&p.length&&this.checkedDeviceData.forEach(g=>{f.forEach(b=>{g.uuid===b.uuid&&(b.checked=g.checked)})});for(let g of f)g.attributes.Footprint&&!g.footprint_name&&(g.footprint_name="Abnormal data!",g.errorFootprint=!0),g.attributes.Symbol&&!g.symbol_name&&(g.symbol_name="Abnormal data!",g.errorSymbol=!0);this.deviceTableData=f,this.componentListLoadStatus=""}else this.deviceTableData=[],this.componentListLoadStatus="No Results!"}else this.totalCount=0,this.componentListLoadStatus="No Results!";if(IP(i)){let f=await FV(this.deviceTableData);this.componentListRequestId===h.requestId&&(this.deviceTableData=f)}this.tableCols=this.createTableColsProfile();return}let d=await this.fetchComponentListBySearch(i,r,o,this.pageNumber,this.pageSize,a);if(d.success||console.error(d),this.componentListRequestId!==d.requestId)return;if(d.result){this.totalCount=d.result.facets[c]?Number(d.result.facets[c]):0;let h=d.result.lists[c]||[];h.length>=1?((m=this.checkedDeviceData)!=null&&m.length&&this.checkedDeviceData.forEach(f=>{h.forEach(g=>{f.uuid===g.uuid&&(g.checked=f.checked)})}),this.deviceTableData=h,this.componentListLoadStatus=""):(this.deviceTableData=[],this.componentListLoadStatus="No Results!")}else this.componentListLoadStatus="No Results!";this.tableCols=this.createTableColsProfile(),l&&l("search");let u=this;IP(i)&&FV(this.deviceTableData).then(h=>{u.componentListRequestId===d.requestId&&(this.deviceTableData=h)})}async fetchComponentItem(i,o,r,n){let a={code:-1,msg:"",success:!0,result:null},s=null;if(n==="symbol"){let l=await Ze.getSymbol({path:r,isProject:r===C.currentProject.projectId,uuid:o});s=l||null}else{let l=await Ze.getFootprint({path:r,isProject:r===C.currentProject.projectId,uuid:o});s=l||null}return s?(a.code=0,{...a,result:s}):a}async refreshComponentItem(i,o,r){var p,m;this.componentItemLoadStatus="Loading";let n=await Ze.getDevice({path:o,isProject:o===C.currentProject.projectId,uuid:this.componentItemId}),a=n||null,s=((p=a.attributes)==null?void 0:p.Symbol)||"",l=(m=a.attributes)==null?void 0:m.Footprint,c=s&&await this.fetchComponentItem(i,s,o,"symbol"),d=l&&await this.fetchComponentItem(i,l,o,"footprint"),u={device:a,symbol:c==null?void 0:c.result,footprint:d==null?void 0:d.result};this.componentItem=a,this.deviceComponentDetail=u,this.componentItemLoadStatus=u?"":"No Results!",r&&r(this.deviceComponentDetail)}findEmptyCol(i){let o=["LCSC Stock","LCSC Price","JLCPCB Stock","JLCPCB Price","JLCPCB Part Class"],r=c=>this.selectedLibIds[0]===bo.getInstance().usedId&&o.includes(c);if(!this.deviceTableData.length)return i;let n=i||this.tableCols,a=[];[...n].forEach(c=>{a.push(c.key),this.deviceTableData.forEach(d=>{(r(c.key)||(d!=null&&d.attributes[c.key]||d[this.getColKey(c.key)])&&a[a.indexOf(c.key)])&&a.splice(a.indexOf(c.key),1)})});let s=[...n].filter(c=>!a.includes(c.key));return s=(c=>{let d=[];return c.forEach(u=>{let p={key:u.key,name:u.name,width:["index","numberIndex"].includes(u.key)?50:1/(c.length-1),sortable:!0};d.push(p)}),d})(s),s}transferDeviceTableCols(i,o){let r=[];return i.forEach(n=>{let a={key:this.getColKey(n.id),name:o?o(n.value):n.value,width:["index","numberIndex"].includes(n.id)?50:1/(i.length-1),sortable:!0};r.push(a)}),[...r]}clearAllRemoteData(i=!1){this.clearSelectedRowsBase(),this.componentItem=null,this.selectedDeviceItem=null,i&&(this.pageNumber=1)}};var Cze=class extends qe{constructor(){super(),this._imageItem=null,this._symbolItem=null,this._d3ModelItem=null,this._footPrintItem=Pg.createEmptyFootprintItem(),this._isSymbolShowLoading=!1,this._isFootprintShowLoading=!1,this._isD3ModelShowLoading=!1,this._isImagesShowLoading=!1,this._footprintIframeId="",this._d3ModelInfo={id:"",transform:""},this._path="",this._footprintPreviewStr="",this._showD3preview=!1}set footprintPreviewStr(e){this._footprintPreviewStr=e,this.notify()}get footprintPreviewStr(){return this._footprintPreviewStr}set showD3preview(e){this._showD3preview=e,this.notify()}get showD3preview(){return this._showD3preview}set imageItem(e){this._imageItem=e,this.notify()}get imageItem(){return this._imageItem}set footPrintItem(e){this._footPrintItem=e,this.notify()}get footPrintItem(){return this._footPrintItem}set footprintIframeId(e){this._footprintIframeId=e,this.notify()}get footprintIframeId(){return this._footprintIframeId}set d3ModelInfo(e){this._d3ModelInfo=e,this.notify()}get d3ModelInfo(){return this._d3ModelInfo}set symbolItem(e){this._symbolItem=e,this.notify()}get symbolItem(){return this._symbolItem}set isSymbolShowLoading(e){this._isSymbolShowLoading=e,this.notify()}get isSymbolShowLoading(){return this._isSymbolShowLoading}set isFootprintShowLoading(e){this._isFootprintShowLoading=e,this.notify()}get isFootprintShowLoading(){return this._isFootprintShowLoading}set isD3ModelShowLoading(e){this._isD3ModelShowLoading=e,this.notify()}get isD3ModelShowLoading(){return this._isD3ModelShowLoading}set isImagesShowLoading(e){this._isImagesShowLoading=e,this.notify()}get isImagesShowLoading(){return this._isImagesShowLoading}set d3ModelItem(e){this._d3ModelItem=e,this.notify()}get d3ModelItem(){return this._d3ModelItem}set path(e){this._path=e,this.notify()}get path(){return this._path}setLoadingStatus(){this.symbolItem=null,this.footPrintItem=Pg.createEmptyFootprintItem(),this.d3ModelItem=null,this.imageItem=null,this.d3ModelInfo={id:"",transform:""},this.isSymbolShowLoading=!0,this.isFootprintShowLoading=!0,this.isImagesShowLoading=!0,this.isD3ModelShowLoading=!0,this.path="",this.footprintPreviewStr="",this.showD3preview=!1,this.footprintIframeId=""}setPreviewNotLoadedStatus(){this.isSymbolShowLoading=!1,this.isFootprintShowLoading=!1,this.isImagesShowLoading=!1,this.isD3ModelShowLoading=!1}exit(){this.setLoadingStatus()}};var w5t=class extends qe{constructor(){super(),this._deviceTableData=[],this._componentId="",this._path="",this._page=1,this.totalPage=0,this._currentPage="symbol"}get page(){return this._page}set page(e){this._page=e}get totalPage(){return this._totalPage}set totalPage(e){this._totalPage=e}get currentPage(){return this._currentPage}set currentPage(e){this._currentPage=e,this.notify()}get path(){return this._path}set path(e){this._path=e}get componentId(){return this._componentId}set componentId(e){this._componentId=e,this.notify()}get deviceTableData(){return this._deviceTableData}set deviceTableData(e){this._deviceTableData=e,this.notify()}},BT=new w5t;function cyr(t,e){let i=e&&C.currentProject.title;return t.map((o,r)=>{var n;return{...o,ownerName:i||((n=o.owner)==null?void 0:n.nickname)||o.project_uuid,$id:String(r)}})}async function xme(t,e,i,o=1){let r=[];if(e){let n={};t==="symbol"?n.Symbol=e:n.Footprint=e;try{let a=await Ze.getDeviceList({isProject:i==C.currentProject.projectId,uid:Je?i:"all",path:i,page:o,pageSize:50,query:{attributes:n},withPackage:!0});return BT.totalPage=a.totalPage,BT.page=a.page,r=cyr(a.lists,!1),r}catch(a){console.error(a,"Get associateDeviceList error")}}return r}function KCi(t,e,i){return new Promise(o=>{if(t.length){let r=[];t.forEach(a=>{r.push(`<span style="color: #1890ff;">${a.display_title}</span>`)});let n="";n+=`<p class="i18n">You are trying to delete the association relationship with the following devices (the device will not be deleted), this operation cannot be restored, please operate with caution!
						</p>`,n+=`<p class="content" style="padding: 8px 0;color:#333333;max-height: 116px;overflow: auto;">${[...r].join("\u3001")}</p>`,Ut({type:"confirm",message:n,textOK:"Confirmation",showCancel:!0,textCancel:"Cancel",isHtml:!0,height:"auto",onConfirm:async()=>{let a=[],s=[];if(i===se.FOOTPRINT)for(let d of t)try{let u=await Ze.updateDevice({isProject:e===C.currentProject.projectId,path:e,uuid:d.uuid,device:{data:{attributes:Object.assign(d.attributes,{Footprint:""})}}});a.push(u)}catch{s.push(d)}else for(let d of t)try{let u=await Ze.updateDevice({isProject:e===C.currentProject.projectId,path:e,uuid:d.uuid,device:{data:{attributes:Object.assign(d.attributes,{Symbol:""})}}});a.push(u)}catch{s.push(d)}C.windowBridge.publish("ui/toastMsg",{type:"info",msg:"Delete successfully!"},ko());let l=await ei(),c=gi();if(l&&i!==se.FOOTPRINT){let d=(await C.messageBus.rpcCall("sch/getDeviceDetail",c)).message;if(d)for(let u=0;u<a.length;u++)a[u].uuid===d.uuid&&(await C.messageBus.rpcCall("sch/setDeviceDetail",{tabId:c,device:null}),C.messageBus.publish("sch/renderSymbolPropertyPanel"))}if(s.length)for(let d of s)C.windowBridge.publish("ui/toastMsg",{type:"error",msg:{value:"delete fail:{title}",options:{title:d.title}},bottomBarMsg:{type:"error",msg:n}},ko());if(a.length){for(let d of a)C.messageBus.publish("refreshRow",[{type:"device",uuid:d.uuid,detail:{...d,isSymbolCancelAssociationDevice:!0}}]);o(a.map(d=>d.uuid))}}})}})}async function u5e(t,e,i){let o=gi();e===wr(o)[0]&&(t!==se.FOOTPRINT?BT.deviceTableData=await xme("symbol",e,i,1):BT.deviceTableData=await xme("footprint",e,i,1))}async function R3(t,e,i){return t==="symbol"?await Ze.getSymbol({isProject:i===C.currentProject.projectId,path:i,uuid:e}):await Ze.getFootprint({isProject:i===C.currentProject.projectId,path:i,uuid:e})}var Tze=class extends Hb{constructor(){super(),this._dialogProps=null,this._scenesType=null,this.libListModel=new bze,this.componentSearchModel=new yze,this.categoryModel=new gze,this.componentTable=new wze,this.componentPreview=new Cze}set dialogProps(e){this._dialogProps=e}get dialogProps(){return this._dialogProps}set scenesType(e){this._scenesType=e}get scenesType(){return this._scenesType}initialLibList(){this.libListModel.initialLibList().then(()=>{this.libListModel.freshInitLibList([],!0,Hs.AssociateDeviceDialog).then(e=>{this.componentTable.projectsIds=JSON.parse(JSON.stringify(this.libListModel.projectsIds)),this.componentTable.libList=ue.deepClone(this.libListModel.cacheLibList),this.componentTable.facets=JSON.parse(JSON.stringify(this.libListModel.facets)),this.whenLibSelectedChanged()})})}whenMounted(){this.dialogReady=!0,this.componentPreview.setPreviewNotLoadedStatus();let e=this.componentTable.pageSize;this.componentTable.initPageSize(),this.dialogProps.scenesType==="deviceList"?(!this.libListModel.cacheLibList.length||e!==this.componentTable.pageSize)&&this.initialLibList():this.updateDeviceData(!0)}async refreshLibList(){await uj(C.workspace),await NT(),this.initialLibList()}whenUnmounted(){this.libListModel.exit(),this.categoryModel.exit(),this.componentSearchModel.baseExit("Search, at lease 2 charaters"),this.componentTable.exit(),this.componentPreview.exit(),this.componentPreview.setPreviewNotLoadedStatus()}removeData(){this.libListModel.exit(),this.categoryModel.exit(),this.componentTable.exit()}async whenWidgetsPropsUpdate(e){this.dialogProps=e,this.dialogProps.scenesType&&(!this.scenesType||this.scenesType!==this.dialogProps.scenesType)&&(this.scenesType=this.dialogProps.scenesType),typeof this.dialogProps.isFromProject<"u"&&(this.libListModel.isFromProject=!!this.dialogProps.isFromProject,this.componentTable.isFromProject=!!this.dialogProps.isFromProject),this.dialogProps.path&&(this.libListModel.path=this.dialogProps.path)}updateLibSearchNumber(e){this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,!1,!1,!0,Tt.DEVICE),this.componentSearchModel.isInSearchingStatus,this.componentTable.facets)}async updateDeviceData(e=!0){(!this.componentSearchModel.searchValue||!this.componentSearchModel.isInSearchingStatus)&&(this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,!0,!1,!0,Tt.DEVICE),!1,{}),this.syncAsscociaPropsUpdate({kv:{facets:{}},targets:["componentTable"]}));let i=this.categoryModel.renderSelectedIds;this.categoryModel.renderCategoryList.forEach(r=>{var n;if(i[0]!==r.id&&((n=r.children)==null?void 0:n.length)>0){for(let a of r.children)if(a.id===i[0]&&a.parentId){i.push(a.parentId);break}}}),this.categoryModel.renderSelectedIds[0]===_e.CATEGORY_ITEM_ALL_VALUE&&(i=[]),i.length>1&&([i[0],i[1]]=[i[1],i[0]]),this.componentTable.clearAllRemoteData(e);let o=this.libListModel.getSelectedTruthLibIds();await this.componentTable.refreshComponentGridList(o[0]||this._dialogProps.path,o[0]||this._dialogProps.path,this.componentSearchModel.isInSearchingStatus?this.componentSearchModel.searchValue:"",i,this.dialogProps.scenesType,this.dialogProps.componentId,this.componentSearchModel.isInSearchingStatus?this.updateLibSearchNumber.bind(this):void 0)}async updateCategoryList(){if(this.libListModel.projectLib)await this.categoryModel.refreshProjectLibCategoryList();else{let e=this.libListModel.getSelectedTruthLibIds();await this.categoryModel.refreshCategoryList(e[0],e[0],this.libListModel)}}async whenCategorySelectedChanged(){this.componentSearchModel.isInSearchingStatus=!1,await this.updateDeviceData(!0)}async whenImmersedSearchStatus(){if(this.componentSearchModel.searchValue.trim().length>128){this.searchValueLengthVerify();return}this.categoryModel.initSelectToDefault(),this.componentTable.clearAllRemoteData(),this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,!1,!1,!0,Tt.DEVICE),this.componentSearchModel.isInSearchingStatus,{}),await this.updateDeviceData(!0)}async whenExitSearchStatus(){this.categoryModel.initSelectToDefault(),this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.initalLibList,!1,!1,!0,Tt.DEVICE),!1,{}),this.syncAsscociaPropsUpdate({kv:{facets:{}},targets:["componentTable"]}),await this.updateDeviceData()}async whenLibSelectedChanged(){this.libListModel.checkedProjectLib(),this.componentTable.clearAllRemoteData(),await this.updateCategoryList(),this.syncAsscociaPropsUpdate({kv:{facets:{},selectedIds:this.libListModel.getSelectedTruthLibIds()},targets:["componentTable"]}),await this.updateDeviceData(!0)}async whenComponentListPageChanged(){await this.updateDeviceData(!1)}getPath(e){let i=this.libListModel.getSelectedTruthLibIds(),o;return i[0]===_e.FAVORITELIB_UUID||i[0]===_e.RECENT_LIB_UUID?this.componentTable.deviceTableData.forEach(r=>{r.uuid===e&&(o=rf(r))}):o=i[0],o}async whenComponentListRowSelectedChanged(e,i,o,r,n){this.componentPreview.setLoadingStatus();let a=this.componentTable.componentItemId,s=ue.deepClone(n);if(!e)switch(i){case"none":{for(let d=0;d<s.length;d+=1)s[d].checked=!1;s[r].checked=!0;break}case"ctrl":{for(let d=0;d<s.length;d+=1)s[r].checked=!0;break}case"shift":{let d=Math.max(o,r),u=Math.min(o,r);for(let p=u;p<=d;p+=1)s[p].checked=!0;break}}let l=this.libListModel.getSelectedTruthLibIds(),c=ue.deepClone(this.componentTable.checkedDeviceData)||[];this.componentTable.checkedDeviceData=C5t(s,c,l[0]),this.componentTable.deviceTableData=s,await this.componentTable.refreshComponentItem(l[0],this.scenesType==="associatedDeviceList"?this.dialogProps.path:this.getPath(a),d=>{var p,m;d.symbol?this.componentPreview.symbolItem=d.symbol:this.componentPreview.symbolItem=null;let u=d.device.images;u&&(Array.isArray(u)?this.componentPreview.imageItem=d.device.images[0]:this.componentPreview.imageItem=d.device.images),d.footprint&&(this.componentPreview.footPrintItem=d.footprint),(m=(p=d.device)==null?void 0:p.attributes)!=null&&m["3D Model"]&&(this.componentPreview.d3ModelInfo.id=d.device.attributes["3D Model"],this.componentPreview.d3ModelInfo.transform=d.device.attributes["3D Model Transform"]||"",this.componentPreview.path=l[0]),this.componentPreview.isD3ModelShowLoading=!1})}cancelCheckRow(e){e&&(this.componentTable.checkedDeviceData=this.componentTable.checkedDeviceData.filter(i=>i.uuid!==e.uuid))}async whenAllCheckedComponentListRow(e,i){let o=ue.deepClone(this.componentTable.checkedDeviceData)||[];this.componentTable.checkedDeviceData=C5t(e,o,this.libListModel.getSelectedTruthLibIds()[0])}updateDeviceTableData(){let e=ue.deepClone(this.componentTable.deviceTableData);e.forEach(i=>{i.checked=!1,this.componentTable.checkedDeviceData.forEach(o=>{i.uuid===o.uuid&&(i.checked=!0)})}),this.componentTable.deviceTableData=e}getSelectedLibValue(){let e;for(let i=0;i<this.libListModel.cacheLibList.length;i+=1){let o=this.libListModel.cacheLibList[i];if(o.id===this.libListModel.getSelectedTruthLibIds()[0]){e=o.key;break}}return e}closeDialog(){le.close()}async refreshDeviceList(){await this.updateDeviceData(!1)}async getDeviceDetail(e){let i=this.libListModel.getSelectedTruthLibIds()[0],o=await Ze.getDevice({path:i,isProject:i===C.currentProject.projectId,uuid:e});return o||null}async associateDeviceConfirm(){let e={updateAttrPanel:this.dialogProps.isUpdateAttrPanel,docType:this.dialogProps.doctype,uuid:this.dialogProps.componentId,isFromProject:this.dialogProps.isFromProject,path:this.dialogProps.path},i=this.componentTable.checkedDeviceData;if(e!=null&&e.updateAttrPanel){if((e==null?void 0:e.docType)===se.FOOTPRINT)await C.messageBus.rpcCall("refreshFootprintAttrPanelWithDevice",{deviceDetail:i[0],footprintDetail:e});else if(kl(e==null?void 0:e.docType)){let n=he.getActiveTab();if(await ei()){let s=i[0];await C.messageBus.rpcCall("sch/setDeviceDetail",{tabId:n,device:s});let[l,c]=U0(n);cn.handleDeviceFileId(n,lo(l+"(device)"+s.uuid,c)),C.messageBus.publish("sch/renderSymbolPropertyPanel"),he.setTabUnSaved(n,!0)}}}let o=this.libListModel.projectLib||e.isFromProject,r=0;for(let n of i){let a;try{e.docType===se.FOOTPRINT?a=await Ze.updateDeviceAttributes({isProject:o,uuid:n.uuid,path:e.path,attributes:{Footprint:e.uuid}}):a=await Ze.updateDeviceAttributes({isProject:o,uuid:n.uuid,path:e.path,attributes:{Symbol:e.uuid}}),_3("device",a.uuid,{...a,isAssociationNewDevice:!0,isSymbolAssociated:e.docType!==se.FOOTPRINT}),p4(a.uuid,e.path,1,2)}catch{r+=1,Ot("error",`${n.display_title}`+me.i18n("Association failed"),void 0,!0)}}r!==i.length&&(De({type:"success",msg:"Association successfully!",timer:2.5}),await u5e(e.docType,this.dialogProps.componentId,this.dialogProps.path))}syncAsscociaPropsUpdate({kv:e,targets:i}){i.forEach(o=>{let r=this[o];Object.keys(e).forEach(n=>{typeof r[n]<"u"&&(r[n]=e[n])})})}},Nj=(0,ZCi.createContext)(void 0);var Mze=L(Se());var oxi=L(kre());var zT=L(Se());var JCi="Filter";var qCi="Empty list";var S5t=L($Ci());function txi(t,e){if(String(t.title).toLowerCase().indexOf(e)>=0||t.titleAdditional&&String(t.titleAdditional).toLowerCase().indexOf(e)>=0)return!0;let i=me.i18n(t.title);return!!(i&&String(i).toLowerCase().indexOf(e)>=0)}function x5t(t,e){let i=[],o=0;if(!t||!t.trim())return e;let r=t.toLocaleLowerCase();for(let n=0;n<e.length;n++){let a=!1,s=e[n].children||[];txi(e[n],r)&&(a=!0,i[o]={...e[n],children:[]},s.length&&i[o].children.push({id:"---",title:"Empty",titleAdditional:me.i18n("Empty"),disabled:!0}));for(let l=0;l<s.length;l++)txi(s[l],r)&&((!i[o]||!i[o].children)&&(i[o]={...e[n],children:[]}),i[o].children[0]&&i[o].children[0].id==="---"&&(i[o].children=[]),i[o].children.push({...s[l]}),a=!0);a&&++o}return i}var kj=L(z()),{locals:T5t}=S5t.default;function myr(t){let{selectedIds:e,libList:i,searchValue:o="",emptyLabel:r=qCi,searchPlaceholder:n=JCi,isVirtualList:a=!1,isLock:s=!1,selectedLibsAction:l,clearSearchInputAction:c,libRefreshAction:d,onImmersedComponentSearch:u,onExitComponentSearch:p}=t,m=J(),[h,f]=(0,zT.useState)([]),[g,b]=(0,zT.useState)([]),[y,w]=(0,zT.useState)(o),[x,S]=(0,zT.useState)([]),[T,M]=(0,zT.useState)("100%"),[I,A]=(0,zT.useState)(0),D=(0,zT.useRef)(null),E=`display-flex flex-direct-column flex-main-axis-between ${T5t["lib-container"]}`,N=`${T5t["lock-layer"]} ${s?T5t["lock-layer-show"]:""}`,R=(V,G)=>{window.setTimeout(()=>{A(0)}),b(x5t(V,x)),u&&u(V)},v=(V,G)=>{window.setTimeout(()=>{A(0)}),w(""),b(x),c&&c(),p&&p(V)},k=(V,G,Q,H)=>{l&&l(V,G)};(0,zT.useEffect)(()=>{f(e)},[e]),(0,zT.useEffect)(()=>{S(ue.deepClone(i))},[i]),(0,zT.useEffect)(()=>{b(x5t(y,x))},[x]),(0,zT.useEffect)(()=>{if(a){let V=D.current.getBoundingClientRect();M(V.height+"px")}},[]);let P=V=>{A(V.scrollTop)},O=()=>[{iconClassName:"icon-eda-refresh",type:"ITEM",title:me.i18n("Refresh"),cmd:"refresh"}],_=async V=>{switch(V){case"refresh":d&&d();break;default:break}},j=(V,G,Q,H,q)=>{B(q)},B=V=>{V.stopPropagation(),V.preventDefault(),Au.open({data:O(),position:{x:V.pageX,y:V.pageY},async onClick(G,Q,H,q){let{cmdlink:U}=G;await _(U.join(":"))},async onEnterConfirm(G,Q,H){await _(G.join(":"))}})};return(0,kj.jsxs)("section",{style:{width:"100%",height:"100%"},onContextMenu:V=>{B(V)},children:[(0,kj.jsx)("style",{children:String(S5t.default)}),(0,kj.jsxs)("section",{className:E,children:[(0,kj.jsx)("div",{style:{padding:"0 0 3px 0"},children:(0,kj.jsx)(Bm,{isImmediatelyDoConfirmAtEndinput:!0,initShowValue:y,placeholder:n,onUpdateInputValue:w,onClearInputValue:v,onConfirm:R})}),(0,kj.jsxs)("div",{ref:D,style:{position:"relative",height:"100%",overflow:"auto"},children:[(0,kj.jsx)(Bd,{treeWidgetItemWidth:"18px",showTagLine:!1,selectedIds:h,data:g,emptyLabel:r,isVirtualList:a,onClick:k,containerHeight:T,initContainerScrollTop:I,onVirtualScroll:P,onContextMenu:j}),(0,kj.jsx)("div",{className:N})]})]})]})}var ixi=zT.default.memo(myr);var hyr=ixi,j3=hyr;var M5t=L(z()),{locals:fyr}=oxi.default;function gyr(t){let e=`${fyr["liblist-section"]}`,i=(0,Mze.useContext)(Nj);Ce(i.libListModel);let o=a=>{i.libListModel.selectedIds=a,i.whenLibSelectedChanged()},r=()=>{i.libListModel.searchValue=""},n=()=>{i.refreshLibList().then(()=>{i.componentSearchModel.searchValue?(i.componentSearchModel.isInSearchingStatus=!0,i.libListModel.isSearchStatus=!0,i.whenImmersedSearchStatus()):(i.componentSearchModel.isInSearchingStatus=!1,i.libListModel.isSearchStatus=!1,i.whenExitSearchStatus())})};return(0,M5t.jsx)("section",{className:e,children:(0,M5t.jsx)(j3,{libList:i.libListModel.cacheLibList,selectedIds:i.libListModel.selectedIds,emptyLabel:i.libListModel.emptyLabel,selectedLibsAction:o,searchPlaceholder:i.libListModel.searchPlaceHolder,searchValue:i.libListModel.searchValue,clearSearchInputAction:r,libRefreshAction:n})})}var rxi=Mze.default.memo(gyr);var Ize=L(Se());var nxi=L(kre());var I5t=L(z()),{locals:byr}=nxi.default;function yyr(t){let e=J(),i=`${byr["category-section"]}`,o=(0,Ize.useContext)(Nj);Ce(o.categoryModel);let r=()=>{o.categoryModel.searchValue="",o.categoryModel.renderSelectedIds=[_e.CATEGORY_ITEM_ALL_VALUE]},n=a=>{o.categoryModel.renderSelectedIds=a,o.whenCategorySelectedChanged()};return(0,I5t.jsx)("section",{className:i,children:(0,I5t.jsx)(Gb,{selectedIds:o.categoryModel.renderSelectedIds,categoryList:o.categoryModel.renderCategoryList,searchPlaceholder:o.categoryModel.searchPlaceHolder,searchValue:o.categoryModel.searchValue,ownerSelectValue:o.libListModel.getSelectedTruthLibIds()[0],selectedCategoriesAction:n,clearSearchInputAction:r,libItemInfo:o.libListModel.currentSelectLibItem,initCategoryActiveTab:o.categoryModel.requestTypes[0]})})}var axi=Ize.default.memo(yyr);var wJ=L(Se());var S1=L(Se());var p5e="normal",Pre="full",m5e={[p5e]:{classNameKey:"dm-op-resize-itemnormal",text:"Zoom Out",nowKey:p5e,nextKey:Pre},[Pre]:{classNameKey:"dm-op-resize-itemfull",text:"Zoom In",nowKey:Pre,nextKey:p5e}};var D5t=L(lxi());function cxi(t,e,i=window){return new Promise((o,r)=>{let n=g1(t,e,se.VIEW3D,void 0,i);n=t.querySelector("iframe"),n.onload=()=>{o({iframeId:n.id,iframe:n,msg:""})},n.onerror=()=>{r({iframeId:void 0,iframe:null,msg:"LOAD_IFRAME_ERROR"})}})}function Lze(t){return C.windowBridge.rpcCall("/pcb/3d/sync/unlock",{},t.contentWindow)}function L5t(t,e){if(t){let i=t.dataStr||JSON.stringify({model:t==null?void 0:t.uuid,unit:"mm"});return C.windowBridge.rpcCall("/pcb/3d/load/model",{dataStr:i,path:t.path},e.contentWindow)}else return C.windowBridge.rpcCall("/pcb/3d/load/model",{dataStr:"",path:""},e.contentWindow)}function v5t(t,e){return t?C.windowBridge.rpcCall("/pcb/3d/load/data",t,e.contentWindow):C.windowBridge.rpcCall("/pcb/3d/load/data","",e.contentWindow)}function h5e(t,e){return C.windowBridge.rpcCall("/pcb/3d/model/update",t||_e.D3MVIEW_DEFAULT_TRANSFORM,e.contentWindow)}var Gd=L(z()),{locals:dc}=D5t.default,vze={key:"attr-silk-technology",value:"standardSilk"};function wyr(t){let{isCouldLoadIframe:e=!1,d3modelItem:i,footprintPreviewStr:o,d3modelTransform:r=_e.D3MVIEW_DEFAULT_TRANSFORM,initSetShowLoading:n=!1,initViewSizeModeKey:a=p5e,isShowFullToggleBtn:s=!1,isShowPerspectiveActionGroups:l=!1,needGrayMask:c=!1,needLockMask:d=!1,optionBtnSize:u="default",d3ModelItemId:p,windowInstance:m=window,onIframeLoaded:h,onPerspectiveToggle:f,onViewSizeModeKeyUpdate:g,onCanvasRenderStart:b,onCanvasRenderEnd:y,onClickGrayMask:w,onTransformUpdate:x,onEngineinItialized:S,onModelLoadStatus:T}=t,M=J(),I=(0,S1.useRef)(null),A=(0,S1.useRef)(null),D=(0,S1.useRef)(null),E=(0,S1.useRef)(r),N=(0,S1.useRef)(o),R=(0,S1.useRef)(i),[v,k]=(0,S1.useState)(!!n),[P,O]=(0,S1.useState)(!0),[_,j]=(0,S1.useState)(!!i),[B,V]=(0,S1.useState)(Mt(Math.random()+new Date().getTime())),[G,Q]=(0,S1.useState)(null),[H,q]=(0,S1.useState)(a),[U,F]=(0,S1.useState)(!1),K=m5e[H].nextKey,te=m5e[K],ae=`${dc["dm-tips-wrapper"]} ${U?dc["dm-tips-wrapper-show"]:""}`,pe=`${dc["dm-opresize-wrapper"]} ${s?dc["dm-opresize-wrapper-show"]:""}`,Z=dc[te.classNameKey],ee=`${dc["dm-opulists-wrapper"]} ${l?dc["dm-opulists-wrapper-show"]:""}`,ce=u==="mini"?`${dc["dm-op-item-mini"]}  ${dc["dm-op-item"]}`:dc["dm-op-item"],ne=`${dc["dm-op-hover"]} ${dc["dm-op-spline"]}`,oe=`${dc["dm-op-hover"]} ${dc["dm-op-preview-top"]}`,re=`${dc["dm-op-hover"]} ${dc["dm-op-preview-bottom"]}`,Y=`${dc["dm-op-hover"]} ${dc["dm-op-preview-right"]}`,X=`${dc["dm-op-hover"]} ${dc["dm-op-preview-left"]}`,ie=`${dc["dm-op-hover"]} ${dc["dm-op-preview-front"]}`,de=`${dc["dm-op-hover"]} ${dc["dm-op-preview-back"]}`,fe=`${dc["dm-op-hover"]} ${dc["dm-op-preview-adaptall"]}`,ye=`${dc["dm-op-hover"]} ${dc["dm-op-preview-refresh"]}`,Le=`${dc["areawindow-loading"]} ${v?dc["areawindow-loading-show"]:""}`,Re=`rotation ${dc["areawindow-loading-content"]}`,Ne=`${dc["gray-mask-wrapper"]} ${c&&_?dc["mask-show"]:dc["mask-hide"]}`,Te=`${dc["gray-mask-wrapper2"]} ${d?dc["mask-show"]:dc["mask-hide"]}`,Pe=`${P?dc["mask-show"]:dc["mask-hide"]}`,Oe=()=>{let Ve=m5e[H].nextKey,ze=m5e[Ve];q(ze.nowKey),g&&g(Ve),F(Pre===ze.nowKey),G&&window.setTimeout(()=>{C.windowBridge.publish("toggle3DView",{cmd:"refresh"},G.contentWindow)},300)},Ue=Ve=>{let He=Ve.target.getAttribute("data-tagitem");G&&C.windowBridge.publish("toggle3DView",{cmd:He},G.contentWindow),f&&f(He)};return(0,S1.useEffect)(()=>{A.current||(A.current=C.messageBus.subscribe("/pcb/3d/model/updated",Ve=>{x&&x(Ve)})),D.current||(D.current=C.messageBus.subscribe("/pcb/3d/model/finishLoading",Ve=>{T&&T(Ve)}))},[]),(0,S1.useEffect)(()=>{k(!!n)},[n]),(0,S1.useEffect)(()=>{!p&&!o?(j(!0),O(!1)):p&&!i||_&&o?(j(c),O(!0)):(i||o)&&(j(!1),k(!1))},[p,i,o]),(0,S1.useEffect)(()=>{N.current=o,G&&Lze(G).then(()=>{v5t(N.current,G).then(()=>{h5e(E.current,G).then(()=>{C.windowBridge.publish("toggle3DView",{cmd:"refresh"},G.contentWindow),C.windowBridge.publish("3DViewModifyAttr",vze,G.contentWindow),y&&y()})})})},[o]),(0,S1.useEffect)(()=>{R.current=i,G&&L5t(R.current,G).then(()=>{h5e(E.current,G).then(()=>{C.windowBridge.publish("toggle3DView",{cmd:"refresh"},G.contentWindow),C.windowBridge.publish("3DViewModifyAttr",vze,G.contentWindow),y&&y()})})},[i]),(0,S1.useEffect)(()=>{E.current=r,G&&h5e(E.current,G).then(()=>{C.windowBridge.publish("3DViewModifyAttr",vze,G.contentWindow),y&&y()})},[r]),(0,S1.useEffect)(()=>{I.current&&!G&&e&&(b&&b(),cxi(I.current,B,m).then(Ve=>{h&&h(B);let{iframe:ze}=Ve;window.setTimeout(async()=>{S&&S(),N.current&&await v5t(N.current,ze),p&&R.current&&await L5t(R.current,ze),E.current&&await h5e(E.current,ze),window.setTimeout(()=>{C.windowBridge.publish("toggle3DView",{cmd:"refresh"},ze.contentWindow),C.windowBridge.publish("3DViewModifyAttr",vze,ze.contentWindow),y&&y()},500)},1e3),Q(ze),k(!1)}))},[e]),(0,S1.useEffect)(()=>()=>{A.current&&(A.current.cancel(),A.current=void 0),Q(null),E.current=void 0,N.current=void 0,R.current=void 0},[]),(0,Gd.jsxs)("section",{style:{width:"100%",height:"100%"},children:[(0,Gd.jsx)("style",{children:String(D5t.default)}),(0,Gd.jsxs)("div",{className:dc["dm-container"],children:[(0,Gd.jsx)("div",{className:Ne,onClick:async()=>{P&&(o&&j(!1),await w())},children:(0,Gd.jsx)("p",{className:Pe,children:M("Click to Preview 3D")})}),(0,Gd.jsx)("div",{"data-tagitem":"mask-lock",className:Te}),(0,Gd.jsx)("div",{className:dc["dm-thumb-wrapper"],children:(0,Gd.jsx)("div",{className:dc["dm-thumb-content-wrapper"],ref:I})}),(0,Gd.jsx)("div",{className:pe,onClick:Oe,children:(0,Gd.jsx)("div",{className:Z,title:M(te.text)})}),(0,Gd.jsx)("div",{className:ae,children:(0,Gd.jsx)("div",{children:M("Tip: after holding down ALT key, right mouse button moves component model in X and Y direction, middle mouse button moves component model in Z direction, and left mouse button rotates component model")})}),(0,Gd.jsxs)("ul",{className:ee,children:[(0,Gd.jsx)("li",{className:ce,children:(0,Gd.jsx)("div",{onClick:Ue,className:oe,"data-tagitem":"top","data-test":"Top Side",title:M("Top Side")})}),(0,Gd.jsx)("li",{className:ce,children:(0,Gd.jsx)("div",{onClick:Ue,className:re,"data-tagitem":"bottom","data-test":"Bottom Side",title:M("Bottom Side")})}),(0,Gd.jsx)("li",{className:ce,children:(0,Gd.jsx)("div",{onClick:Ue,className:Y,"data-tagitem":"right","data-test":"Right Side",title:M("Right Side")})}),(0,Gd.jsx)("li",{className:ce,children:(0,Gd.jsx)("div",{onClick:Ue,className:X,"data-tagitem":"left","data-test":"Left Side",title:M("Left Side")})}),(0,Gd.jsx)("li",{className:ce,children:(0,Gd.jsx)("div",{onClick:Ue,className:ie,"data-tagitem":"front","data-test":"Front Side",title:M("Front Side")})}),(0,Gd.jsx)("li",{className:ce,children:(0,Gd.jsx)("div",{onClick:Ue,className:de,"data-tagitem":"back","data-test":"Back Side",title:M("Back Side")})}),(0,Gd.jsx)("li",{className:ce,children:(0,Gd.jsx)("div",{onClick:Ue,className:ne})}),(0,Gd.jsx)("li",{className:ce,children:(0,Gd.jsx)("div",{onClick:Ue,className:fe,"data-tagitem":"adaptAll","data-test":"Fit All in Window",title:M("Fit All in Window")})}),(0,Gd.jsx)("li",{className:ce,children:(0,Gd.jsx)("div",{onClick:Ue,className:ye,"data-tagitem":"refresh","data-test":"Refresh",title:M("Refresh")})})]}),(0,Gd.jsx)("div",{className:Le,children:(0,Gd.jsx)("div",{className:Re,children:(0,Gd.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})]})]})}var dxi=S1.default.memo(wyr);var Cyr=dxi,SA=Cyr;var g4=L(Se());var uxi="mil",b5e="mm",E5t=[{text:b5e,value:b5e,disabled:!1},{text:uxi,value:uxi,disabled:!1}],Pj="padDimension",yJ="footprintDimension",y5e={[Pj]:{text:"Check Pad Dimension",nowKey:Pj,nextKey:yJ},[yJ]:{text:"Check Footprint Dimension",nowKey:yJ,nextKey:Pj}},f5e="normal",g5e="full",w5e={[f5e]:{classNameKey:"fv-op-resize-itemfull",text:"Zoom Out",nowKey:f5e,nextKey:g5e},[g5e]:{classNameKey:"fv-op-resize-itemnormal",text:"Zoom In",nowKey:g5e,nextKey:f5e}};var k5t=L(mxi());function hxi(t,e,i=window){return new Promise((o,r)=>{let n=g1(t,e,se.FOOTPRINT,void 0,i);n=t.querySelector("iframe"),n.onload=()=>{o({iframeId:n.id,iframe:n,msg:""})},n.onerror=()=>{r({iframeId:void 0,iframe:null,msg:"LOAD_IFRAME_ERROR"})}})}var Dze="mil";async function fxi(t,e){return((await C.windowBridge.rpcCall("FootprintPadSize","",t.contentWindow)).message||[]).map((n,a)=>({...n,index:n.no,gIdArr:n.gIdArr||[]}))}var A5t="mil";async function gxi(t,e){let i=await C.windowBridge.rpcCall("checkDimensionForUi",{},t.contentWindow);return C.windowBridge.publish("highlightPad","",t.contentWindow),i.message||[]}async function bxi(t){C.windowBridge.publish("clearDimension",{},t.contentWindow),C.windowBridge.publish("highlightPad","",t.contentWindow)}async function yxi(t,e,i){var r;if(!i||!i.uuid)return!1;let o={docType:se.FOOTPRINT,tabId:i.uuid+Zc+i.path,name:i.title,commSystemSetting:hn(),isPreview:!0,currOpenProjectId:C.currentProject.projectId,dataStr:i.history_uuid?"":i.dataStr,isOldDataString:(r=i.dataStr)==null?void 0:r.trim().startsWith("[")};return t?await C.windowBridge.rpcCall("rpcInitFrameInfo",o,e.contentWindow):await C.windowBridge.rpcCall("loadFootprint",o,e.contentWindow),!0}async function wxi(t,e,i={}){let o=await gxi(t,e);i.handleFootprintDimensionData instanceof Function&&i.handleFootprintDimensionData(o),C.windowBridge.publish("adaptAll","",t.contentWindow)}async function Cxi(t,e,i={}){bxi(t);let o=await fxi(t,e);i.handlePadDimensionData instanceof Function&&i.handlePadDimensionData(o),C.windowBridge.publish("adaptAll","",t.contentWindow)}async function N5t(t,e,i,o={}){if(e){if(t===Pj){await wxi(e,i,o);return}if(t===yJ){await Cxi(e,i,o);return}}}async function xxi(t,e,i,o={}){if(e){if(t===Pj){await Cxi(e,i,o);return}if(t===yJ){await wxi(e,i,o);return}}}var Jb=L(z()),{locals:Jf}=k5t.default;function xyr(t){let{footprintItem:e,initSetShowLoading:i=!1,initCheckModeKey:o=Pj,initViewSizeModeKey:r=f5e,initUnitValue:n=E5t[0].value,initHightLightIds:a=[],isShowSizeTypeCheckToggleBtn:s=!1,isShowUnitToggleSelector:l=!1,isShowFullToggleBtn:c=!1,isShowEditBtn:d=!1,needGrayMask:u=!1,needLockMask:p=!1,enableHoverPadHightlight:m=!1,isAutoHiddenLoadingWhenCanvasRendered:h=!0,windowInstance:f=window,onIframeLoaded:g,onUnitUpdate:b,onCheckModeKeyUpdate:y,onViewSizeModeKeyUpdate:w,onEditBtnClicked:x,onFootprintDimensionListReady:S,onPadDimensionListReady:T,onCanvasRenderStart:M,onCanvasRenderEnd:I,onMouseHoverCanvas:A}=t,D=J(),E=(0,g4.useRef)(null),N=(0,g4.useRef)({iframe:null,iframeId:Mt(Math.random()+new Date().getTime()),isLoadingIframe:!1,hasLoadedIframe:!1,isRenderingCanvas:!1,hasInitialCanvas:!1,footprintItems:[]}),[R,v]=(0,g4.useState)(!!i),[k,P]=(0,g4.useState)(!!e),[O,_]=(0,g4.useState)(!!p),[j,B]=(0,g4.useState)(n),[V,G]=(0,g4.useState)(o),[Q,H]=(0,g4.useState)(r),q=y5e[V].nextKey,U=y5e[q],F=w5e[Q].nextKey,K=w5e[F],te=`${Jf["unit-toggle-selector"]} ${l?Jf["unit-toggle-selector-show"]:""}`,ae=`i18n comm-btn comm-btn-primary ${Jf["check-footprintsize-btn"]} ${s?Jf["check-footprintsize-btn-show"]:""}`,pe=l===!0||s===!0,Z=`${Jf["fv-opresize-wrapper"]} ${c?Jf["fv-opresize-wrapper-show"]:""}`,ee=Jf[K.classNameKey],ce=`${Jf["fv-opedit-wrapper"]} ${d?Jf["fv-opedit-wrapper-show"]:""}`,ne=Jf["fv-op-edit-itemnormal"],oe=`${Jf["areawindow-loading"]} ${R?Jf["areawindow-loading-show"]:""}`,re=`rotation ${Jf["areawindow-loading-content"]}`,Y=`${Jf["gray-mask-wrapper"]} ${u&&k?Jf["mask-show"]:Jf["mask-hide"]}`,X=`${Jf["gray-mask-wrapper2"]} ${O?Jf["mask-show"]:Jf["mask-hide"]}`,ie=Pe=>{S&&S(j,Pe)},de=Pe=>{T&&T(j,Pe)},fe=Pe=>{B(Pe),b&&b(Pe)},ye=()=>{let Pe=y5e[V].nextKey,Oe=y5e[Pe];G(Oe.nowKey),y&&y(Pe),N.current&&N.current.iframe&&N5t(V,N.current.iframe,j,{handleFootprintDimensionData:ie,handlePadDimensionData:de})},Le=()=>{let Pe=w5e[Q].nextKey,Oe=w5e[Pe];H(Oe.nowKey),w&&w(Pe),window.setTimeout(async()=>{await os(100),!(!N.current||!N.current.iframe)&&C.windowBridge.publish("adaptAll","",N.current.iframe.contentWindow)})},Re=()=>{x&&x()},Ne=async Pe=>{if(!Pe){P(!0),_(!0),N.current.iframe&&m&&C.windowBridge.publish("PreviewHighLightTool","",N.current.iframe.contentWindow),I&&I();return}M&&M();let Oe=N.current.hasInitialCanvas===!1;N.current.isRenderingCanvas=!0,yxi(Oe,N.current.iframe,Pe).then(Ue=>{if(!Ue){N.current.isRenderingCanvas=!1,P(!0),_(!0),N.current.iframe&&m&&C.windowBridge.publish("PreviewHighLightTool","",N.current.iframe.contentWindow),I&&I();return}h&&v(!1),xxi(V,N.current.iframe,j,{handleFootprintDimensionData:ie,handlePadDimensionData:de}),N.current.iframe&&m&&C.windowBridge.publish("PreviewHighLightTool","",N.current.iframe.contentWindow),I&&I(),P(!1),_(!1),N.current.hasInitialCanvas=!0,N.current.isRenderingCanvas=!1,N.current.footprintItems.length&&(Ne(Te()),N.current.footprintItems.length=0)})},Te=()=>N.current.footprintItems[N.current.footprintItems.length-1];return(0,g4.useEffect)(()=>{v(!!i)},[i]),(0,g4.useEffect)(()=>{o!==V&&(G(o),N.current&&N.current.iframe&&N5t(V,N.current.iframe,j,{handleFootprintDimensionData:ie,handlePadDimensionData:de})),r!==Q&&(H(r),N.current&&N.current.iframe&&C.windowBridge.publish("adaptAll","",N.current.iframe.contentWindow))},[o,r]),(0,g4.useEffect)(()=>{u!==k&&P(!!u),p!==O&&_(!!p)},[u,p]),(0,g4.useEffect)(()=>{N.current&&N.current.iframe&&C.windowBridge.publish("highlightPad",a,N.current.iframe.contentWindow)},[a]),(0,g4.useEffect)(()=>{if(E.current){if(!N.current)return;if(N.current.footprintItems.push(e),!N.current.hasLoadedIframe){N.current.isLoadingIframe||(N.current.isLoadingIframe=!0,hxi(E.current,N.current.iframeId,f).then(Pe=>{g&&g(N.current.iframeId);let{iframe:Oe}=Pe;N.current.iframe=Oe,N.current.hasLoadedIframe=!0,N.current.isLoadingIframe=!1,N.current.footprintItems.length&&(Ne(Te()),N.current.footprintItems.length=0)}));return}!N.current.isRenderingCanvas&&N.current.footprintItems.length&&(Ne(Te()),N.current.footprintItems.length=0);return}},[e]),(0,g4.useEffect)(()=>{let Pe=null,Oe=C.messageBus.subscribe("setHighlightRowByNumber",Ue=>{window.clearTimeout(Pe),Pe=window.setTimeout(()=>{A&&A(Ue)},75)});return()=>{Oe.cancel()}},[]),(0,Jb.jsxs)("section",{style:{width:"100%",height:"100%"},children:[(0,Jb.jsx)("style",{children:String(k5t.default)}),(0,Jb.jsxs)("div",{className:Jf["fv-container"],children:[(0,Jb.jsx)("div",{className:Y}),(0,Jb.jsx)("div",{"data-tagitem":"mask-lock",className:X}),(0,Jb.jsxs)("div",{className:Jf["fv-useform-wrapper"],style:{height:pe?"30px":0},children:[(0,Jb.jsx)("a",{className:ae,href:"#",onClick:ye,children:D(U.text)}),(0,Jb.jsx)("div",{className:te,style:{width:"40%",flex:"0 0 40%",paddingLeft:"10px"},children:(0,Jb.jsx)(xt,{value:j,list:E5t,disabled:R===!0,onChange:fe})})]}),(0,Jb.jsx)("div",{className:Jf["fv-thumb-wrapper"],style:{height:pe?"calc(100% - 30px)":"100%"},children:(0,Jb.jsx)("div",{className:Jf["fv-thumb-content-wrapper"],ref:E})}),(0,Jb.jsx)("div",{className:Z,onClick:Le,children:(0,Jb.jsx)("div",{className:ee,title:D(K.text)})}),(0,Jb.jsx)("div",{className:ce,onClick:Re,children:(0,Jb.jsx)("div",{className:ne,"data-test":"Edit",title:D("Edit")})}),(0,Jb.jsx)("div",{className:oe,children:(0,Jb.jsx)("div",{className:re,children:(0,Jb.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})]})]})}var Txi=g4.default.memo(xyr);var Tyr=Txi,sI=Tyr;var Aze=L(Se());var P5t=L(Mxi()),Ore=L(z()),{locals:Syr}=P5t.default,Myr=({imageItem:t,needGrayMask:e})=>{let i=be.bind(Syr),[o,r]=(0,Aze.useState)(!1),n=`display-flex flex-lateral-axis-center flex-main-axis-center ${i("view-content-container")}`;return(0,Aze.useEffect)(()=>{r(!t)},[t]),(0,Ore.jsxs)("section",{className:i("image-warp"),children:[(0,Ore.jsx)("div",{className:i("gray-mask-wrapper",{"mask-hide":!o})}),(0,Ore.jsx)("style",{children:String(P5t.default)}),(0,Ore.jsx)("div",{className:n,children:(0,Ore.jsx)("img",{src:t})})]})},MA=Myr;var qf=L(Se());var O5t=L(Lxi());async function kze(t,e,i){let o={bg:void 0,src:void 0,imageRect:null};return typeof t.svgStr=="string"&&(o=await Rf(t,{hightLightIds:i})),e.innerHTML=`
			<img style="background: ${o.bg}; transform: translate(0, 0) scale(1); width: 100%; height: 100%; left: 0; top: 0; position: absolute;" src="${o.src}" >
		`,e.style.display="block",e.style.opacity="1",e.style.background=o.bg,{imageRect:e.querySelector("img").getBoundingClientRect().toJSON(),...o}}async function Pze(t,e,i){let o={bg:void 0,src:void 0,imageRect:null};return o=await Rf({svgStr:t},{hightLightIds:i}),e.innerHTML=`
			<img style="background: ${o.bg}; transform: translate(0, 0) scale(1); width: 100%; height: 100%; left: 0; top: 0; position: absolute;" src="${o.src}" >
		`,e.style.display="block",e.style.opacity="1",e.style.background=o.bg,{imageRect:e.querySelector("img").getBoundingClientRect().toJSON(),...o}}var C5e=new Map;function vxi(t){let i=t.currentTarget.getAttribute("id"),o=C5e.get(i);o.hasMove=!1,o.hasMousedown=!0,o.mousedownClientX=t.clientX,o.mousedownClientY=t.clientY,t.stopPropagation(),t.preventDefault(),+t.button==2&&Wf(t,dl.value)}function Dxi(t){let i=t.currentTarget.getAttribute("id"),o=C5e.get(i);o&&o.hasMousedown&&(o.hasMove=!0)}function Exi(t){let i=t.currentTarget.getAttribute("id"),o=C5e.get(i);o&&(!o.hasMove&&+t.button==2&&o.openContextmenuHandler&&o.openContextmenuHandler(t),o.hasMove=!1,o.hasMousedown=!1)}function Axi(t,e){let i=t.getAttribute("id");if(!i)throw new Error("Host element missing unique ID by SymbolViews.");let o={hasMove:!1,hasMousedown:!1,mousedownClientX:-1,mousedownClientY:-1,openContextmenuHandler:e};C5e.set(i,o),t.addEventListener("mousedown",vxi,!1),t.addEventListener("mousemove",Dxi,!1),t.addEventListener("mouseup",Exi,!1)}function Nxi(t){let e=t.getAttribute("id");t.removeEventListener("mousedown",vxi),t.removeEventListener("mousemove",Dxi),t.removeEventListener("mouseup",Exi),e&&C5e.delete(e)}var kxi=z2.bind(void 0);function Pxi(t){t.addEventListener("wheel",kxi,!1)}function Oxi(t){t.removeEventListener("wheel",kxi)}async function lI(t,e=0){return new Promise(async(i,o)=>{Cr("createDocManager",{data:t,cb:r=>{let n=r.getPartByIndex(e),a=[];if(!n){i({pinList:a}),r.dispose();return}let s=n.pins;for(let l=0;l<s.length;l++){let c=s[l],d={$id:c.id,pinName:"",pinNumber:"",pinSimName:"",pinNgName:"",hightlightIds:[]},u=Ft(c.attrs||[],"key","Pin Name");u.index>=0&&(d.pinName=u.data.value,d.hightlightIds.indexOf(u.data.parent.id)<=-1&&d.hightlightIds.push(u.data.parent.id));let p=Ft(c.attrs||[],"key","Pin Number");p.index>=0&&(d.pinNumber=p.data.value,d.hightlightIds.indexOf(p.data.parent.id)<=-1&&d.hightlightIds.push(p.data.parent.id));let m=Ft(c.attrs||[],"key","Simulide Pin");m.index>=0&&(d.pinSimName=m.data.value,d.hightlightIds.indexOf(m.data.parent.id)<=-1&&d.hightlightIds.push(m.data.parent.id));let h=Ft(c.attrs||[],"key","NGspice Pin");h.index>=0&&(d.pinNgName=h.data.value,d.hightlightIds.indexOf(h.data.parent.id)<=-1&&d.hightlightIds.push(h.data.parent.id)),a.push(d)}i({pinList:a}),r.dispose()}})})}function Rxi(t,e,i){let o=[];for(let r=0;r<e.length;r++)o.push({$id:e[r],pinName:t[r],pinNumber:e[r],hightlightIds:[i[r]]});return{pinList:o}}function _xi(){return{selectedValue:void 0,selectList:[],selectDisabled:!0,partId2IndexHashtable:{}}}async function cI(t,e=0){return new Promise(async(i,o)=>{Cr("createDocManager",{data:t,cb:r=>{let n,a={},s=r.parts.map((l,c)=>(e===c&&(n=l.partId),a[l.partId]=c,{value:l.partId,text:l.partTitle,disabled:!1,showOriginalText:!0}));i({selectedValue:n,selectList:s,selectDisabled:s.length<=1,partId2IndexHashtable:a}),r.dispose()}})})}var Vv=L(z()),{locals:Oj}=O5t.default;function Iyr(t,e){let{symbolItem:i,$ref:o={},initSetShowLoading:r=!1,initHightLightIds:n,selectPosition:a="top",enableThumbImageDraggable:s=!1,enableThumbImageScalable:l=!1,needGrayMask:c=!1,showSelectedView:d=!0,isForceShowPinNameAndNumber:u=!0,useSCHCanvasSymbolDataPriority:p=!1,sourceSCHCanvasSymbolParts:m=[],activeTabId:h=void 0,partIndex:f=0,onPartSelectChange:g,onPinListCreated:b,onImageSectionContextmenu:y}=t,[w,x]=(0,qf.useState)(!!r),[S,T]=(0,qf.useState)(!!i),M=(0,qf.useRef)(null);M.current=i;let[I,A]=(0,qf.useState)(null),D=(0,qf.useRef)(null);D.current=I;let[E,N]=(0,qf.useState)({selectDisabled:!0,selectList:[],selectedValue:void 0,partId2IndexHashtable:{}}),R=(0,qf.useRef)(null),v=(0,qf.useRef)(null),k=(0,qf.useRef)(null),P=(0,qf.useRef)(!0),O=(0,qf.useRef)({x:0,y:0}),[_]=(0,qf.useState)(Mt()),j=`display-flex flex-direct-column flex-main-axis-center ${Oj.container}`,B=`display-flex flex-lateral-axis-center flex-main-axis-center ${Oj["viewcontent-container"]}`,V=`display-flex flex-lateral-axis-center flex-main-axis-center ${Oj["viewcontent-wrapper"]}`,G=`${Oj["areawindow-loading"]} ${w?Oj["areawindow-loading-show"]:""}`,Q=`rotation ${Oj["areawindow-loading-content"]}`,H=`${Oj[`select-wrapper-${a}`]}`,q=`${Oj["gray-mask-wrapper"]} ${c&&S?Oj["mask-show"]:Oj["mask-hide"]}`,U=ee=>{k.current=null,_je(M.current,ee,u).then(ce=>{v.current=ce,kze(ce.symbolItem,R.current,n).then(ne=>{A(ne.imageRect),x(!1)}).catch(ne=>{console.error(ne)}),lI(ce.symbolItem,ee).then(ne=>{b&&b(ne.pinList)})}).catch(ce=>{console.error(ce)})},F=ee=>{if(!m[ee]||!h){U(ee);return}if(ue.splitComponentId2FolderAndFilenameMixin(h,!1).componentTitleOrId!==m[ee].sheetUuid){U(ee);return}C.messageBus.rpcCall("sch/getSymbolSVGAndPinInfoInTab",{ids:[m[ee].symbolId],tabId:h}).then(ne=>{if(!ne||!ne.message||!ne.message.length){U(ee);return}k.current=ne.message[0].svg,Yn(()=>{Pze(ne.message[0].svg,R.current,n).then(re=>{A(re.imageRect),x(!1)}).catch(re=>{console.error(re)})},150);let oe=Rxi(ne.message[0].pinNames,ne.message[0].pinNums,ne.message[0].pinIds);b&&b(oe.pinList)}).catch(()=>{U(ee)})},K=ee=>{let ce=E.partId2IndexHashtable[ee];if(!(typeof ce>"u")&&(x(!0),N(ne=>({...ne,selectedValue:ee})),p&&h&&(F(ce),g&&g(ee,E)),M.current)){U(ce),g&&g(ee,E);return}},te=ee=>{ee.preventDefault(),window.setTimeout(()=>{P.current&&y&&y(ee.clientX,ee.clientY)})},ae=ee=>{ee.preventDefault(),P.current=!1,O.current&&(O.current.x=ee.clientX,O.current.y=ee.clientY)},pe=ee=>{ee.preventDefault(),O.current&&O.current.x===ee.clientX&&O.current.y===ee.clientY&&(P.current=!0)};(0,qf.useImperativeHandle)(o,()=>({recoverImageViews(){if(p&&h&&k.current){Pze(k.current,R.current,n).then(ee=>{A(ee.imageRect),x(!1)}).catch(ee=>{console.error(ee)});return}v.current&&kze(v.current.symbolItem,R.current,n).then(ee=>{A(ee.imageRect)}).catch(ee=>{console.error(ee)})},partSelectChangeAction:K})),(0,qf.useEffect)(()=>{i?(x(!0),T(!1),N(_xi()),cI(M.current).then(ee=>{if(N(ce=>({...ce,...ee})),p&&h){F(f);return}U(f)})):(x(!1),c&&T(!0))},[M.current,p]),(0,qf.useEffect)(()=>{x(!!r)},[r]),(0,qf.useEffect)(()=>{if(p&&h&&k.current){Pze(k.current,R.current,n).then(ee=>{A(ee.imageRect),x(!1)}).catch(ee=>{console.error(ee)});return}v.current&&kze(v.current.symbolItem,R.current,n).then(ee=>{A(ee.imageRect)}).catch(ee=>{console.error(ee)})},[n]),(0,qf.useEffect)(()=>{let ee,ce;return R.current&&(ee=(dl.value||window).document.getElementById(_),ee&&(s&&Axi(ee,ne=>{Da.open({windowInstance:dl.value,data:[{title:me.i18n("Recover"),cmd:"RECOVER"}],position:{x:ne.clientX,y:ne.clientY},optional:{imageWrapperElementId:_},onClick(oe,re,Y,X){let{imageWrapperElementId:ie}=Y,fe=(dl.value||window).document.getElementById(ie).querySelector("img");fe&&oe.cmdlink[0]==="RECOVER"&&(fe.style.width=`${D.current.width}px`,fe.style.height=`${D.current.height}px`,fe.style.left="0",fe.style.top="0",fe.style.transform="translate(0, 0) scale(1)")},onEnterConfirm(oe,re,Y){let{imageWrapperElementId:X}=Y,de=(dl.value||window).document.getElementById(X).querySelector("img");de&&oe[0]==="RECOVER"&&(de.style.width=`${D.current.width}px`,de.style.height=`${D.current.height}px`,de.style.left="0",de.style.top="0",de.style.transform="translate(0, 0) scale(1)")}})}),l&&Pxi(ee),ce=new ResizeObserver(ne=>{A(ee.getBoundingClientRect().toJSON())}),ce.observe(ee))),()=>{ee&&(s&&Nxi(ee),l&&Oxi(ee),ce&&ce.unobserve(ee),ee=void 0),v.current=void 0,k.current=void 0,O.current=void 0}},[]);function Z(){return(0,Vv.jsx)("div",{className:H,children:(0,Vv.jsx)(xt,{value:E.selectedValue,list:E.selectList,disabled:E.selectDisabled||w===!0,onChange:K})})}return(0,Vv.jsxs)("section",{style:{width:"100%",height:"100%"},children:[(0,Vv.jsx)("style",{children:String(O5t.default)}),(0,Vv.jsxs)("div",{className:j,children:[(0,Vv.jsx)("div",{className:q}),a==="top"&&d&&Z(),(0,Vv.jsx)("div",{className:B,children:(0,Vv.jsx)("div",{id:_,"data-tagitem":"symbol-image-wrapper",className:V,ref:R,onContextMenu:te,onMouseDownCapture:ae,onMouseUpCapture:pe})}),a==="bottom"&&d&&Z(),(0,Vv.jsx)("div",{className:G,children:(0,Vv.jsx)("div",{className:Q,children:(0,Vv.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})]})]})}var jxi=qf.default.memo(Iyr);var Lyr=jxi,B3=Lyr;var LP=L(z()),vyr=t=>{let{isSymbolShowLoading:e,symbolItem:i,isFootprintShowLoading:o,footPrintItem:r,imageItem:n,path:a,d3ModelInfo:s,isD3ModelShowLoading:l,updateMultiPartInfo:c,onD3ModelIframeLoadedAction:d}=t,u=(0,wJ.useRef)(null),[p,m]=(0,wJ.useState)(),[h,f]=(0,wJ.useState)(null),[g,b]=(0,wJ.useState)(null),y=M=>{f(M)},w=()=>{if(!r||!r.uuid){b(null);return}if(h){let M=document.querySelector(`[uuid="${h}"]`);if(M){let I=M.querySelector("iframe");C.windowBridge.rpcCall("/pcb/3d/source",{considerCanvasOrigin:!1,gnrBBoxOutlines:!0},I.contentWindow).then(A=>{b(A.message)})}}};(0,wJ.useEffect)(()=>{m(null)},[s.id]);let x=(M,I)=>{let A=I.partId2IndexHashtable[M],D=I.selectList.map(E=>E.value);c&&c(A,D)},S=(M,I)=>{Da.open({data:[{title:me.i18n("Recover"),cmd:"RECOVER"}],position:{x:M,y:I},onClick(A,D,E,N){A.cmd==="RECOVER"&&u.current&&u.current.recoverImageViews()},onEnterConfirm(A,D,E){A[0]==="RECOVER"&&u.current&&u.current.recoverImageViews()}})},T=async()=>{if(s!=null&&s.id){let I=s.id.split("|")[1]||bo.getInstance().usedId,A=ue.splitComponentId2FolderAndFilenameMixin(s==null?void 0:s.id,!0),D=null;if(Je&&I!==bo.getInstance().usedId||Ko)D=(await As.fetchD3ModelItemOnLocaleFolder(A.componentTitleOrId,I)).result;else{let E=await ts.fetchComponentItem(!1,A.componentTitleOrId,I,ve.PCBLIB3D);D=E&&E.result?E.result:null}m(D)}};return(0,LP.jsxs)("section",{style:{height:"100%",display:"flex"},children:[(0,LP.jsx)("div",{style:{flex:1,height:"100%"},children:(0,LP.jsx)(B3,{$ref:u,enableThumbImageDraggable:!0,enableThumbImageScalable:!0,initSetShowLoading:e,symbolItem:i,selectPosition:"bottom",needGrayMask:!0,onPartSelectChange:x,onImageSectionContextmenu:S})}),(0,LP.jsx)("div",{style:{flex:1,height:"100%",marginLeft:"8px"},children:(0,LP.jsx)(sI,{needGrayMask:!0,initSetShowLoading:o,footprintItem:r,onIframeLoaded:y,onCanvasRenderEnd:w})}),(0,LP.jsx)("div",{style:{flex:1,height:"100%",marginLeft:"8px",position:"relative"},children:(0,LP.jsx)(SA,{isCouldLoadIframe:!0,optionBtnSize:"mini",needGrayMask:!0,footprintPreviewStr:g,d3ModelItemId:s==null?void 0:s.id,initSetShowLoading:l,d3modelItem:p,d3modelTransform:s==null?void 0:s.transform,isShowPerspectiveActionGroups:!0,onClickGrayMask:T,onIframeLoaded:d})}),(0,LP.jsx)("div",{style:{flex:1,height:"100%",marginLeft:"8px"},children:(0,LP.jsx)(MA,{needGrayMask:!0,imageItem:n})})]})},Oze=vyr;var Bze=L(Se());var Jxi=L(kre());var Rre=L(Se());var Rze=class Rze extends qe{constructor(i){super();this.name=i}_getStorage(){try{let i=Ob(this.name)||"{}";return JSON.parse(i)}catch{return{}}}_addInStorage(i){let o=this._getStorage();o[i]=Date.now();let r=Object.keys(o);if(r.length>Rze.LIMIT_SIZE){let[n,a]=["",1/0];for(let s of r){let l=o[s];l<a&&(a=l,n=s)}delete o[n]}y1(this.name,JSON.stringify(o))}_removeInStorage(i){let o=this._getStorage();delete o[i],y1(this.name,JSON.stringify(o))}add(i){i&&this._addInStorage(i)}remove(i){this._removeInStorage(i)}getList(){let i=this._getStorage();return Object.keys(i).sort((r,n)=>i[r]>i[n]?-1:1)}refreshView(){this.notify()}};Rze.LIMIT_SIZE=10;var Rj=Rze,CJ={project:"search-history-project",[Tt.DEVICE]:"search-history-device",[Tt.SYMBOL]:"search-history-symbol",[Tt.FOOTPRINT]:"search-history-footprint",[Tt.CBB]:"search-history-cbb",[Tt.MODEL3D]:"search=history-model-3d",[Tt.PANEL_LIB]:"search-history-panel-lib",[Tt.MODEL_SIM_LIB]:"search-history-model-sim-lib"},Bxi=new Rj(CJ.project),zxi=new Rj(CJ.device),Fxi=new Rj(CJ.symbol),Uxi=new Rj(CJ.footprint),Vxi=new Rj(CJ.cbb),Hxi=new Rj(CJ.model3D),Gxi=new Rj(CJ.panelLib),Dyr=new Rj(CJ.modelSimLib),xJ={project:Bxi,[Tt.DEVICE]:zxi,[Tt.SYMBOL]:Fxi,[Tt.FOOTPRINT]:Uxi,[Tt.CBB]:Vxi,[Tt.MODEL3D]:Hxi,[Tt.PANEL_LIB]:Gxi,[Tt.MODEL_SIM_LIB]:Dyr};var R5t=L(Wxi()),x5e=L(z());function j5t({value:t,hasClearIcon:e=!0,onSelect:i,onClear:o,height:r=24}){Ae(R5t.default);let{locals:n}=R5t.default,a=be.bind(n);return(0,x5e.jsxs)("div",{onMouseDownCapture:()=>{!e&&i(t)},style:{height:`${r}px`,lineHeight:`${r}px`},className:a("search-history-item"),children:[(0,x5e.jsx)("span",{title:t,onMouseDownCapture:s=>{e&&i(t)},children:t}),e&&(0,x5e.jsx)("i",{className:"icon-eda-x-circle-small",onMouseDownCapture:s=>{o(t)}})]})}var T5e=L(z());function B5t(t){let{type:e,onSelect:i,fromRect:o,itemHeight:r=24}=t,n=xJ[e],a=n.getList(),{left:s,top:l,width:c,height:d}=Zri(o,r*(a.length+1));return Ce(n),(0,T5e.jsxs)("div",{style:{position:"fixed",left:s,top:l,width:c,height:d,zIndex:9999,overflow:"auto",background:"var(--bg-color-drop-down-menu)",fontSize:"12px",color:"var(--font-color-drop-down-menuItem)",boxShadow:"0 0 4px calc(var(--has-shadow-drop-down-menu) * 0.2)",border:"1px solid var(--common-border-color)"},children:[(0,T5e.jsx)(j5t,{value:"",hasClearIcon:!1,onSelect:u=>{i(u)}}),a.map(u=>(0,T5e.jsx)(j5t,{value:u,onSelect:p=>{i(p)},onClear:p=>{n.remove(p),n.refreshView()}}))]})}var Qxi=L(Hr()),Kxi=L(z()),Tme=class{static add(e,i){this._map.set(e,i)}static remove(e){let i=this._map.get(e);if(i){let{dom:o,root:r,events:n}=i;n.forEach(a=>{Ayr(a)}),r.unmount(),o.remove()}this._map.delete(e)}static get(e){return this._map.get(e)}};Tme._map=new Map;function Eyr(t,e,i){return t.addEventListener(e,i),{dom:t,type:e,cb:i}}function Ayr(t){let{dom:e,type:i,cb:o}=t;e.removeEventListener("type",o)}function S5e(t,e,i=[]){let o=document.createElement("div");document.body.appendChild(o);let r=Qxi.default.createRoot(o),n={...t,fromRect:e.getBoundingClientRect()};r.render((0,Kxi.jsx)(B5t,{...n}));let a=crypto.randomUUID();o.setAttribute("data-search-history-panel-id",a);let s=i.map(l=>Eyr(l.dom,l.type,l.cb));return Tme.add(a,{root:r,dom:o,fromDom:e,events:s}),a}function M5e(t){return Tme.remove(t)}function I5e(t){return Tme.get(t)}var Zxi=L(z());function Nyr(t,e){let{searchHistoryType:i,onArrowToggle:o,onConfirm:r,...n}=t,a=(0,Rre.useRef)(null),s=(0,Rre.useRef)(null);(0,Rre.useImperativeHandle)(e,()=>({confirm:c}));let l=d=>{o==null||o(d);let u=a.current;if(u)if(d){let p=u.getDom();s.current=S5e({type:i,onSelect:m=>{u.setValue(m),r==null||r(m)}},p,[{dom:document.body,type:"mousedown",cb:m=>{let h=I5e(s.current);if(!h)return;let{dom:f,fromDom:g}=h,b=m.target;f!==b&&g!==b&&!g.contains(b)&&u.arrowToggle(0)}}])}else M5e(s.current),s.current=void 0},c=(d,u)=>{r==null||r(d,u);let p=xJ[i];p.add(d),p.refreshView()};return(0,Zxi.jsx)(Ws,{ref:a,onArrowToggle:l,onConfirm:c,isImmediatelyDoConfirmAtEndinput:!1,...n})}var vP=(0,Rre.forwardRef)(Nyr);var jze=L(z()),{locals:kyr}=Jxi.default;function Pyr(t){let e=J(),i=`display-flex flex-nowrap ${kyr["component-search-section"]}`,o=(0,Bze.useContext)(Nj);Ce(o.componentSearchModel);let r=l=>{o.componentSearchModel.searchValue=l},n=()=>{o.componentSearchModel.searchValue="",o.componentSearchModel.isInSearchingStatus&&(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,o.whenExitSearchStatus())},a=()=>{o.componentSearchModel.searchValue.trim()?(o.componentSearchModel.isInSearchingStatus=!0,o.libListModel.isSearchStatus=!0,o.whenImmersedSearchStatus()):o.componentSearchModel.isInSearchingStatus&&(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,o.whenImmersedSearchStatus())};function s(l,c){let d;for(let u=0;u<l.length;u+=1)if(l[u].key===c){d=u;break}return d}return(0,jze.jsx)("section",{className:i,children:(0,jze.jsx)("div",{style:{flex:1},children:(0,jze.jsx)(vP,{searchHistoryType:Tt.DEVICE,initShowValue:o.componentSearchModel.searchValue,isDefaultFocus:!0,placeholder:o.componentSearchModel.searchPlaceHolder,onUpdateInputValue:r,onClearInputValue:n,onConfirm:a})})})}var qxi=Bze.default.memo(Pyr);var HS=L(Se());var Xxi=L(kre());var _j=L(z()),{locals:Oyr}=Xxi.default;function Ryr(t){let e=J(),i=`display-flex flex-direct-column flex-main-axis-stretch ${Oyr["table-section"]}`,o=(0,HS.useContext)(Nj);Ce(o.componentTable),Ce(o.categoryModel);let r=(0,HS.useRef)(null),[n,a]=(0,HS.useState)(100),[s,l]=(0,HS.useState)(o.componentTable.tableCols.map(f=>({...f,name:e(f.name)}))),c=f=>{let{selectedRowNumbers:g,clickObj:b,tableData:y=[],from:w}=f,x=y[g[g.length-1]];if(!x)return;let S=o.componentTable.selectedIndex;o.componentTable.selectedIndex=b.rowNumber,o.componentTable.tableSelectedRowNumbers=g,o.componentTable.componentItemId=x.uuid;let T="none";b!=null&&b.isCtrl?T="ctrl":b!=null&&b.isShift&&(T="shift");let M=(b==null?void 0:b.colKey)==="checkbox"||w==="checkbox";o.whenComponentListRowSelectedChanged(M,T,S,b.rowNumber,y)},d=(f,g)=>{o.whenAllCheckedComponentListRow(f,g)},u=(f,g,b)=>{b.isTriggerByRowsUpdate||b.isTriggerByCheckListUpdate||o.cancelCheckRow(b.row)},p=(f,g)=>{o.componentTable.pageNumber!==g&&(o.componentTable.pageNumber=+g,o.whenComponentListPageChanged())},m=f=>{o.componentTable.pageSize=+f,Vg("table",f),o.whenComponentListPageChanged()},h=(0,HS.useCallback)(()=>{Yn(()=>{if(!r.current)return;let f=r.current.getBoundingClientRect();r.current.style.width="100%",a(f.height)},100)},[]);return(0,HS.useEffect)(()=>(h(),window.addEventListener("resize",h),()=>{window.removeEventListener("resize",h)}),[]),(0,HS.useEffect)(()=>{l(o.componentTable.tableCols.map(f=>(f.onCell=(g,b,y)=>{if(g.errorFootprint&&y==="footprint_name"||g.errorSymbol&&y==="symbol_name"||g.error3DModel&&y==="3D Model Title")return{style:{color:"red"}}},{...f,name:e(f.name)})))},[o.componentTable.tableCols]),(0,HS.useEffect)(()=>{o.componentTable.deviceTableData.length>0&&o.componentTable.deviceTableData.forEach(f=>{f.errorFootprint&&(f.footprint_name=e(f.footprint_name)),f.errorSymbol&&(f.symbol_name=e(f.symbol_name)),f.error3DModel&&(f["3D Model Title"]=e(f["3D Model Title"]))})},[o.componentTable.deviceTableData]),(0,_j.jsx)("section",{className:i,children:(0,_j.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-stretch",style:{width:"100%",height:"100%",position:"relative",overflowY:"hidden",overflowX:"auto"},children:[(0,_j.jsx)("div",{ref:r,style:{height:"100%",width:"100%",overflowY:"hidden",overflowX:"auto"},children:(0,_j.jsx)(xi,{name:spe,index:"$id",border:!0,showStatus:!0,statusNode:(0,_j.jsx)("div",{style:{lineHeight:"50px",textAlign:"center"},children:(0,_j.jsx)("span",{children:e(o.componentTable.componentListLoadStatus)})}),enableWindowResizeHandler:!1,checkbox:t.scenesType==="deviceList",searchValue:o.componentSearchModel.searchValue,height:n,columns:s,rows:o.componentTable.deviceTableData,onClick:c,onAllChecked:d,onCheckRow:u,selectedRowNumbers:o.componentTable.tableSelectedRowNumbers})}),(0,_j.jsx)("div",{style:{width:"100%",height:"30px",overflow:"hidden",display:"flex",justifyContent:"flex-end",alignContent:"center",alignItems:"center",textAlign:"right",padding:"5px"},children:(0,_j.jsx)(cp,{simplify:!0,inputJump:!1,pageNumber:o.componentTable.pageNumber,countTotal:o.componentTable.totalCount,cutSize:o.componentTable.pageSize,cutSizeOptions:o.componentTable.cutSizeOptions,onPageNumberChange:p,onPageSizeChange:m,gDisabled:o.componentTable.paginationDisabled})})]})})}var $xi=HS.default.memo(Ryr);var z3=L(z()),{locals:wka}=eTi.default;function _yr(t){return Ce(b4.componentPreview),(0,z3.jsx)(z3.Fragment,{children:(0,z3.jsx)(Nj.Provider,{value:b4,children:(0,z3.jsxs)("div",{className:"display-flex flex-direct-column",style:{height:"100%",width:"100%"},children:[t.scenesType==="deviceList"&&(0,z3.jsx)("div",{style:{width:"100%"},children:(0,z3.jsx)(qxi,{})}),(0,z3.jsxs)("div",{className:"display-flex",style:{height:t.scenesType==="deviceList"?"calc(100% - 30px)":"100%"},children:[t.scenesType==="deviceList"&&(0,z3.jsx)("div",{className:"display-flex flex-direct-column flex-main-axis-between flex-lateral-axis-stretch flex-nowrap",style:{width:"320px",overflow:"hidden",flexShrink:0},children:(0,z3.jsxs)("div",{className:"display-flex flex-nowrap",style:{height:"100%"},children:[(0,z3.jsx)(rxi,{}),(0,z3.jsx)(axi,{})]})}),(0,z3.jsxs)("div",{className:"display-flex flex-direct-column",style:{flex:1,margin:"0 0 0 5px",overflow:"hidden"},children:[(0,z3.jsx)($xi,{scenesType:t.scenesType}),(0,z3.jsx)("div",{style:{height:"237px",paddingTop:"8px"},children:(0,z3.jsx)(Oze,{symbolItem:b4.componentPreview.symbolItem,footPrintItem:b4.componentPreview.footPrintItem,imageItem:b4.componentPreview.imageItem,d3ModelInfo:b4.componentPreview.d3ModelInfo,path:b4.componentPreview.path,isSymbolShowLoading:b4.componentPreview.isSymbolShowLoading,isFootprintShowLoading:b4.componentPreview.isFootprintShowLoading,isD3ModelShowLoading:b4.componentPreview.isD3ModelShowLoading,onD3ModelIframeLoadedAction:e=>{b4.componentPreview.isD3ModelShowLoading=!1}})})]})]})]})})})}var tTi=_yr;var VV=L(z()),{locals:jyr}=F5t.default,b4=new Tze;var Byr=t=>{let e=J(),{scenesType:i,componentId:o,path:r,isAssociatedDevice:n,isFromProject:a,isUpdateAttrPanel:s=!1,onDialogOpen:l,onDialogCancel:c,onDialogClose:d,onDialogConfirm:u,onDialogClosed:p}=t,m=`pop-content-wrapper display-flex flex-nowrap ${jyr["main-container"]}`;Ce(b4.componentSearchModel),Ce(b4.componentTable);let h=async f=>{switch(f){case"confirm":case"replace":b4.associateDeviceConfirm();case"cancel":c&&c(),le.close()}};return(0,z5t.useEffect)(()=>{b4.whenWidgetsPropsUpdate(t)},[t]),(0,z5t.useEffect)(()=>(window.setTimeout(()=>{b4.whenMounted()},300),l&&l(),()=>{b4.whenUnmounted(),p&&p()}),[]),(0,VV.jsxs)("div",{className:"pop-content-container",children:[(0,VV.jsx)("style",{children:String(F5t.default)}),(0,VV.jsx)("div",{className:m,style:{height:"78vh"},children:(0,VV.jsx)(tTi,{...t})}),(0,VV.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,VV.jsx)(Me,{type:"primary",style:{marginRight:"8px"},disabled:!b4.componentTable.checkedDeviceData.length,onClick:()=>h(t.scenesType==="associatedDeviceList"?"replace":"confirm"),children:"Confirm"}),(0,VV.jsx)(Me,{onClick:()=>h("cancel"),children:"Cancel"})]})]})},iTi=Byr;var rTi=L(z());async function oTi(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;return le.open({id:o,title:r,width:n,closed:a,esc:!0,folded:!1,children:(0,rTi.jsx)(iTi,{containerId:o,dialogId:t.dialogId,doctype:t.doctype,scenesType:t.scenesType,componentId:t.id,path:t.path,isFromProject:t.isProjectLib,...t})}),le}async function Hv(t){return await ii("choose-associate-device",{...t})}function U5t(t,e="sch"){let i="The symbol needs to be used by the associated device, the current symbol has not been associated with the device, please associate the device first.";e==="pcb"&&(i="The footprint needs to be used by the associated device, the current footprint has not been associated with the device, please associate the device first."),Ut({title:"Tips",type:"confirm",message:i,textOK:" Associated Device",textCancel:"Cancel",closable:!0,esc:!0,showCancel:!0,onConfirm:()=>{Hv({scenesType:"deviceList",componentId:t.uuid,doctype:t.docType,path:t.path||t.libPath,isFromProject:t.isFromProject||rf(t)===C.currentProject.projectId})}})}function C5t(t,e,i){let o=e.map(n=>n.uuid);t.forEach(n=>{!o.includes(n.uuid)&&n.checked?e.push(n):o.includes(n.uuid)&&!n.checked&&e.forEach((a,s)=>{a.uuid===n.uuid&&e.splice(s,1)})});let r=ue.deepClone(e);return r.forEach((n,a)=>{n.$id=String(a),n.numberIndex=a+1}),r}function nTi(t,e,i){t&&HV(e,{"edtfootprint-type":2,"edtfootprint-new-device-uuid":i,"edtfootprint-old-device-uuid":i})}async function GS(t,e,i,o=!1,r=null){let n=t.uuid+UT+t.libPath,a={...t};o&&(a.isBottomBarEdit=o),a.isProjectLib=e;let{checkOpenMultiTab:s=!0}=i;if(s&&!await v5e(n,ve.FOOTPRINT,t.uuid))return!0;if(await qb(a,void 0,()=>{nTi(e,n,a.uuid),r&&r(n)},i).then(()=>{if(C.fileLibImportOption){C.fileLibImportOption=!1;let l=Qb.getInstance().project;Ut({icon:"question",title:"Confirm",type:"confirm",message:"Click Confirm to continue with the import",onConfirm:()=>{wP(l)}})}}),C.messageBus.publish("saveFootprintDataSuccess",{id:`${a.uuid}@${a.path}`,name:a.display_title,category:a.tags,describe:a.description}),o&&t.docType===ve.FOOTPRINT)if(t.project_uuid){let{message:l}=await C.messageBus.rpcCall($e.DEVICE.BIND_fOOTPRINT,[t.uuid,C.currentProject.projectId]);l!==!0&&U5t(t,"pcb")}else t.has_device||t.deviceId||U5t(t,"pcb");return he.isHasTabById(n)&&(!(i!=null&&i.lazy)&&he.simulateClick(n),nTi(e,n,a.uuid)),!0}var zyr=L(Vi());var T9a=new um;function Vm(){var o,r,n;let t=Tr.tabName,e=Tr.classification,i=Tr.selectedItemData;if(t==="cbb")return e?e.type==="project"?C.currentProject.projectId:e.type==="personal"?Je?e.uuid:Xo.getValueFromCacheUser("uuid"):e.type==="system"||e.type==="star"||e.type=="teams"?e.uuid:!i||!i.length||(o=i[0][0])==null?void 0:o.project_uuid:void 0;{let a=e.uuid;return e.type==="personal"?a=Je?e.uuid:Xo.getValueFromCacheUser("uuid"):e.type==="project"?a=((n=(r=i==null?void 0:i.origin)==null?void 0:r.owner)==null?void 0:n.uuid)||C.currentProject.projectId:e.type==="star"?i&&i.ownerInfo&&i.ownerInfo.uuid&&(a=i.ownerInfo.uuid):e.uuid===pOe?a=bn:a=e.uuid,a}}function D5e(){let t=document.getElementById("dlgbtmbarClassificationContainer"),e=t==null?void 0:t.querySelector('[data-classification-type="project"]');return e?e.classList.contains("comm-list-item-active"):!1}async function aTi(t,e,i,o){let r=null,n="";try{let a=await Ze.getSimModel({isProject:!1,uuid:t,path:e}),s=JSON.parse(a.dataStr);s.Name=o.title,r=await Ze.createSimModel({path:i,isProject:!1,simModel:{isProject:!1,data:{owner:On.selectPath,title:o.title,tags:o.categoryName?o.categoryName.split(":"):[],dataStr:JSON.stringify(s),docType:a.docType}}})}catch(a){if(n=a.message||"Save failed!",a&&(a.action===zo.CREATE_SIM_MODEL||a.action===zo.SIM_MODEL_SAME_NAMA_EXISTS)){let s=await d4(i);n=me.i18n("{libName} duplicate name or illegal name: {componentName}",{libName:s,componentName:o.title})}}return De({type:n?"error":"success",msg:n||"Saved successfully!"}),r||null}var YS=L(z()),Fyr=t=>{let{defaultOwnerId:e,categoryId:i,dlgDoctype:o,detailData:r,isObserverSave:n,closeTabId:a,triggeFrom:s}=t,{nameValue:l,categoryName:c}=t,{description:d}=t;Ce(ku),Ce(On);let u=J(),p=(0,dI.useRef)(null),m=(0,dI.useRef)(C.workspace),[h,f]=(0,dI.useState)(e||""),[g,b]=(0,dI.useState)(""),[y,w]=(0,dI.useState)(""),[x,S]=(0,dI.useState)(l||""),[T,M]=(0,dI.useState)(d||""),[I,A]=(0,dI.useState)(c||""),[D,E]=(0,dI.useState)(i||""),[N,R]=(0,dI.useState)(!1),v={[ve.FOOTPRINT]:"Footprint",[ve.PCBLIB3D]:"3D Model",[ve.SIMULIDE_MODEL]:"Simulation Model",[ve.NGSPICE_MODEL]:"Simulation Model"},k={[ve.FOOTPRINT]:Yi.FOOTPRINT,[ve.PCBLIB3D]:Yi.MODEL3D,[ve.SIMULIDE_MODEL]:Yi.MODELSIM,[ve.NGSPICE_MODEL]:Yi.MODELSIM},P=(0,dI.useCallback)((_,j)=>{f(_),b(j.args.owner),w(j.title)},[]),O=async()=>{if(N||!ch({ownerId:{value:h,isJudge:!Je},title:{value:x,tipName:v[o]},description:{value:T},categoryId:D}))return;R(!0);let _=D?D.split(":"):[],j=Je?On.selectPath:g;if(I){let[H,q]=await m4(j,k[o],I);H&&(_=(q?[H,q].join(":"):H).split(":"))}async function B(H){if(H.success)De({type:"success",msg:"Saved successfully!"}),H.result.docType===ve.FOOTPRINT&&(await GS(H.result,!1,{},!0,q=>{var F;let U=he.getTabById(q);U&&((F=U==null?void 0:U.data)!=null&&F.isFormBottomBar)&&he.setTabData(q,{path:Vm()})}),le.isOpen(bt["choose-device"].containerId)&&le.hide(bt["choose-device"].containerId));else{let q=me.i18n("Save failed!");H.code==1000001?q=me.i18n("{libname} duplicate name or illegal name: {componentname}",{libname:Je?On.selectPath:y,componentname:x}):H.code==422&&(q=me.i18n("Parameter error")),Ot("error",q,void 0,!0)}le.close("document-save-as-dialog")}let V={owner:j,description:T||"",docType:o,tags:_,title:x,path:j},G={get:r.path,set:j,info:V};o===ve.FOOTPRINT?G.footprint=r.uuid:(o===ve.PCBLIB3D||o===ve.NGSPICE_MODEL||o===ve.SIMULIDE_MODEL)&&(G.component=r.uuid);let Q=null;o===ve.FOOTPRINT?(Q=await hze(G.footprint,G.get,G.set,{...V,categoryName:I},{triggeFrom:s}),R(!1),Q&&(n&&Xb(a),await B({code:0,success:!0,message:"",result:Q}),x1())):o===ve.PCBLIB3D?(Q=await mze(G.component,G.get,G.set,{...V,categoryName:I}),R(!1),Q&&(n&&Xb(a),await B({code:0,success:!0,message:"",result:Q}),x1())):(o===ve.SIMULIDE_MODEL||o===ve.NGSPICE_MODEL)&&(Q=await aTi(G.component,G.get,G.set,{...V,categoryName:I}),R(!1),Q&&(n&&Xb(a),await B({code:0,success:!0,message:"",result:Q}),x1()))};return Bt(_=>{let{key:j}=_;j==="Enter"&&O()}).keyboard("document-save-as-dialog"),(0,YS.jsxs)(YS.Fragment,{children:[(0,YS.jsxs)(z0,{children:[Je&&(0,YS.jsx)(Wb,{selectChange:()=>{}}),!Je&&(0,YS.jsx)(du,{ref:p,defaultSelectId:h||e,notFolder:!0,onOwnerChange:P,onWorkSpaceChange:_=>m.current=_}),(0,YS.jsx)(PS,{name:v[o],inputValue:x,onChange:_=>S(_)}),(0,YS.jsx)(Ep,{inputValue:I,categoryType:k[o],ownerSelectId:h,clientLibPath:On.selectPath,openDialogCallback:(_,j)=>{A(_),E(j)},clearClick:()=>{A(""),E("")}}),(0,YS.jsx)(lh,{value:T,onChange:_=>M(_)})]}),(0,YS.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"8px"},children:[(0,YS.jsx)(Me,{disabled:N,type:"primary",onClick:()=>O(),children:"Save"}),(0,YS.jsx)(Me,{onClick:()=>le.close("document-save-as-dialog"),children:"Cancel"})]})]})};function zze(t){if(!Je&&!br()){Xo.login();return}le.open({id:"document-save-as-dialog",title:(t==null?void 0:t.dlgTitle)||"Create Panel Lib",width:628,closed:!0,remove:!0,esc:!0,children:(0,YS.jsx)(Fyr,{...t})})}var DP=L(Se());var V5t={new:"Create New Folder",edit:"Edit New Folder",move:"Move New Folder"};var H5t=(t,e,i)=>{if(!t.success){e(!1),De({type:"error",msg:t.message,timer:2.5});return}C.workspace===i&&tl(C.workspace==="Personal"?{}:{org_uuid:C.workspace}),le.close("creat-and-modify-folder-dialog")},sTi=t=>{let{title:e,description:i,orgUuid:o,ownerSelectId:r,ownerBelongId:n,teams:a,setButtonDisable:s}=t,l=a.find(m=>m.uuid==n&&m.uuid!==_o()),c=a.find(m=>m.uuid==r),d=r==_o();if(l&&Uyr(e,c?void 0:r,n)){De({type:"error",msg:"Duplicated title",timer:2.5});return}let u=l?C.apis.folders.createTeamFolders:C.apis.folders.createUserFolders,p={name:e,description:i||"",parent_uuid:d||c?void 0:r,org_uuid:o=="Personal"?void 0:o,team_uuid:l?n:void 0};s(!0),Vc(u,p,m=>H5t(m,s,o))},lTi=t=>{let{title:e,description:i,orgUuid:o,ownerSelectId:r,folderName:n,folderDescription:a,folderUuid:s,defaultOwnerId:l,teams:c,setButtonDisable:d}=t,u=c.find(m=>m.uuid==r),p=r==_o();if((e!==n||i!==a)&&r!==l){d(!0);let m=new Promise((f,g)=>Vc(C.apis.folders.editFolder,{name:e,description:i||"",folder_uuid:s}).then(b=>{f(b)})),h=new Promise((f,g)=>Vc(C.apis.folders.moveFolder,{uuid:s,object_uuid:u||p?void 0:r}).then(b=>{f(b)}));Promise.all([m,h]).then(()=>{C.workspace===o&&tl(C.workspace==="Personal"?{}:{org_uuid:C.workspace}),le.close("creat-and-modify-folder-dialog")}).catch(f=>{d(!1),De({type:"error",msg:f.message,timer:2.5})})}else if(e!==n||i!==a){let m=C.apis.folders.editFolder,h={name:e,description:i||"",folder_uuid:s};d(!0),Vc(m,h,f=>H5t(f,d,o))}else if(r!==l){let m=C.apis.folders.moveFolder,h={uuid:s,object_uuid:u||p?void 0:r};d(!0),Vc(m,h,f=>H5t(f,d,o))}else le.close("creat-and-modify-folder-dialog")},Uyr=(t,e,i)=>{var n;let o=(n=C.teamFolders)==null?void 0:n.find(a=>a.uuid===i);return o?cTi(o.rootList.children,e).includes(t):!1},cTi=(t,e)=>{let i=[];return t.forEach(o=>{o.parent_uuid===e&&i.push(o.name),o.children&&o.children.length>0&&i.push(...cTi(o.children,e))}),i};var Gv=L(z()),Hyr=t=>{let{defaultOwnerId:e,notFocus:i,folderName:o,folderUuid:r,type:n,filterOption:a,folderDescription:s=""}=t,l=(0,DP.useRef)(null),c=(0,DP.useRef)(C.workspace),[d,u]=(0,DP.useState)(e||""),[p,m]=(0,DP.useState)(""),[h,f]=(0,DP.useState)(o||""),[g,b]=(0,DP.useState)(s),[y,w]=(0,DP.useState)(!1),x=(0,DP.useCallback)((T,M)=>{u(T),m(M.args.owner)},[]),S=()=>{var M,I;if(!ch({ownerId:{value:d,isJudge:!0},title:{value:h,tipName:"Name",min:2,max:32},description:{value:g}}))return;let T=((I=(M=l.current)==null?void 0:M.getTeams)==null?void 0:I.call(M))||[];switch(n){case"new":sTi({title:h,description:g,orgUuid:c.current,ownerSelectId:d,ownerBelongId:p,teams:T,setButtonDisable:w});break;case"edit":case"move":lTi({title:h,description:g,orgUuid:c.current,ownerSelectId:d,folderName:o,folderDescription:s,folderUuid:r,defaultOwnerId:e,teams:T,setButtonDisable:w});break}};return Bt(T=>{let{key:M}=T;M==="Enter"&&S()}).keyboard("creat-and-modify-folder-dialog"),(0,Gv.jsxs)(Gv.Fragment,{children:[(0,Gv.jsxs)(z0,{children:[(0,Gv.jsx)(du,{ref:l,defaultSelectId:e,onOwnerChange:x,filterOption:a,onWorkSpaceChange:T=>c.current=T,notWorkSpaceChange:n==="edit"}),(0,Gv.jsx)(PS,{inputValue:h,onChange:async T=>{f(T)},notFocus:i,name:"Name"}),(0,Gv.jsx)(lh,{value:g,onChange:T=>b(T)})]}),(0,Gv.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"8px"},children:[(0,Gv.jsx)(Me,{disabled:y,type:"primary",onClick:S,children:"Confirm"}),(0,Gv.jsx)(Me,{onClick:()=>le.close("creat-and-modify-folder-dialog"),children:"Cancel"})]})]})};async function Sme(t){var e;if(t.folderUuid&&_t){let i=await pn("GET",`/api/folder/${t.folderUuid}`);i!=null&&i.success&&((e=i==null?void 0:i.result)!=null&&e.description)&&(t.folderDescription=i.result.description)}le.open({id:"creat-and-modify-folder-dialog",title:V5t[t.type]||V5t[0],width:628,closed:!0,remove:!0,esc:!0,children:(0,Gv.jsx)(Hyr,{...t})})}var GV=L(Se()),dTi=L(Vi());var Yv=L(z()),Gyr=t=>{let e=(0,GV.useRef)(null),i=(0,GV.useRef)(C.workspace),{projectName:o,projectUuid:r,parentFolder:n,description:a,defaultOwnerId:s,filterOption:l,autoOpenSelect:c=!1}=t,[d,u]=(0,GV.useState)(s||""),[p,m]=(0,GV.useState)(""),[h,f]=(0,GV.useState)(!1),g=(0,GV.useCallback)((w,x)=>{u(w),m(x.args.owner)},[]),b=w=>{var D,E;let S=(((E=(D=e.current)==null?void 0:D.getTeams)==null?void 0:E.call(D))||[]).find(N=>N.uuid==p&&N.uuid!==_o()),T=S?C.apis.folders.loadTeamFolder:C.apis.folders.loadUserFolder,M=i.current,A={folder_uuid:w,pageSize:1e4,...M==="Personal"?{}:{org_uuid:M}};return S&&(A.team_uuid=S.uuid),dTi.default.getJSON(T,A).then(function(N){if(N&&N.success&&N.result){let v=(N.result&&N.result.projects&&N.result.projects.lists||[]).find(function(P){return P.project_uuid==r});return v&&v.uuid}})},y=async()=>{var D,E,N,R;if(h||!ch({ownerId:{value:d,isJudge:!0}}))return;if(d===s){le.close("move-project-dialog");return}f(!0);let w,x,S=((E=(D=e.current)==null?void 0:D.getTeams)==null?void 0:E.call(D))||[],T=p==_o()?await Uze(C.workspace!=="Personal"?{org_uuid:C.workspace}:{}):(R=(N=await Fze(C.workspace!=="Personal"?{org_uuid:C.workspace}:{}))==null?void 0:N.find(v=>(v==null?void 0:v.uuid)===p))==null?void 0:R.rootList,M=v=>{var P,O,_;if((O=(P=v==null?void 0:v.projectList)==null?void 0:P.find)==null?void 0:O.call(P,j=>j===r))return v==null?void 0:v.uuid;if((_=v==null?void 0:v.children)!=null&&_.length)for(let j of v==null?void 0:v.children){let B=M(j);if(B)return B}return""},I=M(T),A=d==_o()||S.find(v=>v.uuid==d);if(d===I||!I&&A){i.current===C.workspace&&tl(C.workspace==="Personal"?{}:{org_uuid:C.workspace}),le.close("move-project-dialog");return}I?(w=A?C.apis.folders.deleteProject:C.apis.folders.moveProject,x={uuid:await b(I),object_uuid:A?void 0:d}):(w=C.apis.folders.addProject,x={parent_uuid:d,project_uuid:r}),Vc(w,x,v=>{if(!v.success){f(!1),De({type:"error",msg:v.message,timer:2.5});return}i.current===C.workspace&&tl(C.workspace==="Personal"?{}:{org_uuid:C.workspace}),le.close("move-project-dialog")})};return Bt(w=>{let{key:x}=w;x==="Enter"&&y()}).keyboard("move-project-dialog"),(0,Yv.jsxs)(Yv.Fragment,{children:[(0,Yv.jsxs)(z0,{children:[(0,Yv.jsx)(du,{ref:e,notWorkSpaceChange:!0,filterOption:l,defaultSelectId:s,onOwnerChange:g,autoOpenSelect:c,onWorkSpaceChange:w=>i.current=w}),(0,Yv.jsx)(PS,{inputValue:o,disabled:!0,name:"Project"}),(0,Yv.jsx)(lh,{value:a,disabled:!0})]}),(0,Yv.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"8px"},children:[(0,Yv.jsx)(Me,{disabled:h,type:"primary",onClick:()=>y(),children:"Confirm"}),(0,Yv.jsx)(Me,{onClick:()=>le.close("move-project-dialog"),children:"Cancel"})]})]})};function Mme(t){le.open({id:"move-project-dialog",title:"Move Project",width:628,closed:!0,remove:!0,esc:!0,children:(0,Yv.jsx)(Gyr,{...t})})}var STi=L(Rpt()),MTi=L(w8e()),ITi=L(u0t()),LTi=L(I0t()),vTi=L(xpt()),DTi=L(Tpt()),ETi=L(T0t()),ATi=L(Rut()),NTi=L(x0t()),kTi=L(Z0t()),PTi=L(W0t()),OTi=L(O8e()),RTi=L(k8e()),_Ti=L(o0t()),jTi=L(f3e()),BTi=L(N8e()),zTi=L(v8e()),FTi=L(L8e()),UTi=L(Qut()),VTi=L(Kut()),HTi=L(Zut()),GTi=L(Wut()),YTi=L(Hut()),WTi=L(U0t()),QTi=L(V0t()),KTi=L(lAe()),ZTi=L(_ut()),JTi=L($4e()),qTi=L(O0t()),XTi=L(cAe()),$Ti=L(b3e()),e5i=L(Lie()),t5i=L(c3e()),i5i=L(l3e()),o5i=L(t3e()),r5i=L(u3e()),n5i=L(M0t()),a5i=L(Mie()),s5i=L(P8e()),l5i=L(U8e()),c5i=L(ept()),d5i=L(BAe()),u5i=L(zAe()),p5i=L(Q8e()),m5i=L(K8e()),h5i=L(X8e()),f5i=L(J8e()),g5i=L(q8e()),b5i=L($8e()),y5i=L(eAe()),w5i=L(q4t()),C5i=L(nAe()),x5i=L(aAe()),T5i=L(FAe()),S5i=L(UAe()),M5i=L(n0t()),I5i=L(F8e()),L5i=L(Opt()),v5i=L(pAe()),D5i=L(mAe()),E5i=L(P0t()),A5i=L(G5t()),N5i=L(Y5t()),k5i=L(Nut()),P5i=L(Yut()),O5i=L(s3e()),R5i=L(Q0t()),_5i=L($4e()),j5i=L(wpt()),B5i=L(E8e()),z5i=L(CAe()),F5i=L(TAe()),U5i=L(bAe()),V5i=L(wAe()),H5i=L(xAe()),G5i=L(yAe()),Y5i=L(Tut()),W5i=L(tpt()),Q5i=L(rpt()),K5i=L(hut()),Z5i=L(put()),J5i=L(opt()),q5i=L(Ept()),X5i=L(ipt()),$5i=L(Dpt()),eSi=L(Uut()),tSi=L(Vut()),iSi=L(z0t()),oSi=L(F0t()),rSi=L(_pt()),nSi=L(N0t()),aSi=L(k0t()),sSi=L(C0t()),lSi=L(S0t()),cSi=L(zut()),dSi=L(M8e()),uSi=L(But()),pSi=L(M8e()),mSi=L(Mut()),hSi=L(Iut()),fSi=L(dpt()),gSi=L(Lut()),bSi=L(Aut()),ySi=L(Fut()),wSi=L(g8e()),CSi=L(T8e()),xSi=L(S8e()),TSi=L(Eut()),SSi=L(b8e()),MSi=L(x8e()),ISi=L(Put()),LSi=L(gAe()),vSi=L(DAe()),DSi=L(EAe()),ESi=L(AAe()),ASi=L(fAe()),NSi=L(Jce()),kSi=L(Zce()),PSi=L(Zpt()),OSi=L(Jpt()),RSi=L(qpt()),_Si=L(Xpt()),jSi=L(D8e()),BSi=L(Jut()),zSi=L(qut()),FSi=L(W8e()),USi=L(p3e()),VSi=L(V8e()),HSi=L(H8e()),GSi=L(Xut()),YSi=L(Ypt()),WSi=L(L0t()),QSi=L(v0t()),KSi=L(Z8e()),ZSi=L(E0t()),JSi=L(G8e()),qSi=L(Y8e()),XSi=L(g3e());var Vze="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMiw0LjV2N0MyLDExLjc3NiwxLjc3NiwxMiwxLjUsMTJoMEMxLjIyNCwxMiwxLDExLjc3NiwxLDExLjV2LTdDMSw0LjIyNCwxLjIyNCw0LDEuNSw0aDBDMS43NzYsNCwyLDQuMjI0LDIsNC41eiIvPgoJPHBhdGggZD0iTTE1LDQuNXY3YzAsMC4yNzYtMC4yMjQsMC41LTAuNSwwLjVoMGMtMC4yNzYsMC0wLjUtMC4yMjQtMC41LTAuNXYtN0MxNCw0LjIyNCwxNC4yMjQsNCwxNC41LDRoMAoJCUMxNC43NzYsNCwxNSw0LjIyNCwxNSw0LjV6Ii8+Cgk8cGF0aCBkPSJNMy41LDZoOUMxMi43NzYsNiwxMyw2LjIyNCwxMyw2LjV2MEMxMyw2Ljc3NiwxMi43NzYsNywxMi41LDdsLTksMEMzLjIyNCw3LDMsNi43NzYsMyw2LjV2MEMzLDYuMjI0LDMuMjI0LDYsMy41LDZ6Ii8+Cgk8Zz4KCQk8cGF0aCBkPSJNMi4yNSw2LjkzM2wyLjU5OCwxLjVDNS4wODcsOC41NzEsNS4zOTMsOC40ODksNS41MzEsOC4yNWwwLDBjMC4xMzgtMC4yMzksMC4wNTYtMC41NDUtMC4xODMtMC42ODNsLTIuNTk4LTEuNQoJCQlDMi41MTEsNS45MjksMi4yMDUsNi4wMTEsMi4wNjcsNi4yNWwwLDBDMS45MjksNi40ODksMi4wMTEsNi43OTUsMi4yNSw2LjkzM3oiLz4KCQk8cGF0aCBkPSJNMi4yNSw2LjA2N2wyLjU5OC0xLjVDNS4wODcsNC40MjksNS4zOTMsNC41MTEsNS41MzEsNC43NWwwLDBjMC4xMzgsMC4yMzksMC4wNTYsMC41NDUtMC4xODMsMC42ODNsLTIuNTk4LDEuNQoJCQlDMi41MTEsNy4wNzEsMi4yMDUsNi45ODksMi4wNjcsNi43NWwwLDBDMS45MjksNi41MTEsMi4wMTEsNi4yMDUsMi4yNSw2LjA2N3oiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIGQ9Ik0xMy43NSw2LjA2N2wtMi41OTgtMS41Yy0wLjIzOS0wLjEzOC0wLjU0NS0wLjA1Ni0wLjY4MywwLjE4M3YwYy0wLjEzOCwwLjIzOS0wLjA1NiwwLjU0NSwwLjE4MywwLjY4M2wyLjU5OCwxLjUKCQkJYzAuMjM5LDAuMTM4LDAuNTQ1LDAuMDU2LDAuNjgzLTAuMTgzbDAsMEMxNC4wNzEsNi41MTEsMTMuOTg5LDYuMjA1LDEzLjc1LDYuMDY3eiIvPgoJCTxwYXRoIGQ9Ik0xMy43NSw2LjkzM2wtMi41OTgsMS41Yy0wLjIzOSwwLjEzOC0wLjU0NSwwLjA1Ni0wLjY4My0wLjE4M3YwYy0wLjEzOC0wLjIzOS0wLjA1Ni0wLjU0NSwwLjE4My0wLjY4M2wyLjU5OC0xLjUKCQkJYzAuMjM5LTAuMTM4LDAuNTQ1LTAuMDU2LDAuNjgzLDAuMTgzdjBDMTQuMDcxLDYuNDg5LDEzLjk4OSw2Ljc5NSwxMy43NSw2LjkzM3oiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K";var $Si=L(kAe());var Hze="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMTEuNSwyaC03QzQuMjI0LDIsNCwxLjc3Niw0LDEuNXYwQzQsMS4yMjQsNC4yMjQsMSw0LjUsMWg3QzExLjc3NiwxLDEyLDEuMjI0LDEyLDEuNXYwQzEyLDEuNzc2LDExLjc3NiwyLDExLjUsMnoiLz4KCTxwYXRoIGQ9Ik0xMS41LDE1aC03QzQuMjI0LDE1LDQsMTQuNzc2LDQsMTQuNXYwQzQsMTQuMjI0LDQuMjI0LDE0LDQuNSwxNGg3YzAuMjc2LDAsMC41LDAuMjI0LDAuNSwwLjV2MAoJCUMxMiwxNC43NzYsMTEuNzc2LDE1LDExLjUsMTV6Ii8+Cgk8cGF0aCBkPSJNMTAsMy41djljMCwwLjI3Ni0wLjIyNCwwLjUtMC41LDAuNWgwQzkuMjI0LDEzLDksMTIuNzc2LDksMTIuNXYtOUM5LDMuMjI0LDkuMjI0LDMsOS41LDNoMEM5Ljc3NiwzLDEwLDMuMjI0LDEwLDMuNXoiLz4KCTxnPgoJCTxwYXRoIGQ9Ik05LjA2NywyLjI1bC0xLjUsMi41OThDNy40MjksNS4wODcsNy41MTEsNS4zOTMsNy43NSw1LjUzMWwwLDBjMC4yMzksMC4xMzgsMC41NDUsMC4wNTYsMC42ODMtMC4xODNsMS41LTIuNTk4CgkJCWMwLjEzOC0wLjIzOSwwLjA1Ni0wLjU0NS0wLjE4My0wLjY4M2wwLDBDOS41MTEsMS45MjksOS4yMDUsMi4wMTEsOS4wNjcsMi4yNXoiLz4KCQk8cGF0aCBkPSJNOS45MzMsMi4yNWwxLjUsMi41OThjMC4xMzgsMC4yMzksMC4wNTYsMC41NDUtMC4xODMsMC42ODNsMCwwYy0wLjIzOSwwLjEzOC0wLjU0NSwwLjA1Ni0wLjY4My0wLjE4M2wtMS41LTIuNTk4CgkJCUM4LjkyOSwyLjUxMSw5LjAxMSwyLjIwNSw5LjI1LDIuMDY3bDAsMEM5LjQ4OSwxLjkyOSw5Ljc5NSwyLjAxMSw5LjkzMywyLjI1eiIvPgoJPC9nPgoJPGc+CgkJPHBhdGggZD0iTTkuOTMzLDEzLjc1bDEuNS0yLjU5OGMwLjEzOC0wLjIzOSwwLjA1Ni0wLjU0NS0wLjE4My0wLjY4M2wwLDBjLTAuMjM5LTAuMTM4LTAuNTQ1LTAuMDU2LTAuNjgzLDAuMTgzbC0xLjUsMi41OTgKCQkJYy0wLjEzOCwwLjIzOS0wLjA1NiwwLjU0NSwwLjE4MywwLjY4M2gwQzkuNDg5LDE0LjA3MSw5Ljc5NSwxMy45ODksOS45MzMsMTMuNzV6Ii8+CgkJPHBhdGggZD0iTTkuMDY3LDEzLjc1bC0xLjUtMi41OThjLTAuMTM4LTAuMjM5LTAuMDU2LTAuNTQ1LDAuMTgzLTAuNjgzbDAsMGMwLjIzOS0wLjEzOCwwLjU0NS0wLjA1NiwwLjY4MywwLjE4M2wxLjUsMi41OTgKCQkJYzAuMTM4LDAuMjM5LDAuMDU2LDAuNTQ1LTAuMTgzLDAuNjgzaDBDOS41MTEsMTQuMDcxLDkuMjA1LDEzLjk4OSw5LjA2NywxMy43NXoiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K";var eMi=L(m3e()),tMi=L(qce()),iMi=L(vut()),oMi=L(h3e()),rMi=L(y8e()),nMi=L(IAe()),aMi=L(LAe()),sMi=L(vAe()),lMi=L(Kce()),cMi=L(C8e()),dMi=L(m0t()),uMi=L(h0t()),pMi=L(f0t()),mMi=L(g0t()),hMi=L(b0t()),fMi=L(y0t()),gMi=L(w0t()),bMi=L(wut()),yMi=L(Out()),wMi=L(xut()),CMi=L(a0t()),xMi=L(s0t()),TMi=L(l0t()),SMi=L(Cut()),MMi=L(upt()),IMi=L(D0t()),LMi=L(Cpt()),vMi=L(mut()),DMi=L(yut()),EMi=L(Gut()),AMi=L(kut()),NMi=L(ppt()),kMi=L(cpt()),PMi=L(mpt()),OMi=L(hpt()),RMi=L(MAe()),_Mi=L(fpt()),jMi=L(gpt()),BMi=L(bpt()),zMi=L(ypt()),FMi=L(I8e()),UMi=L(fut()),VMi=L(G0t()),HMi=L(Y0t()),GMi=L(Xce()),YMi=L(J0t()),WMi=L(q0t()),QMi=L(jut()),KMi=L(lpt()),ZMi=L(Sut()),JMi=L(Npt()),qMi=L(L3e()),XMi=L(E3e()),$Mi=L(v3e()),e6i=L(D3e()),t6i=L(R0t()),i6i=L(_0t()),o6i=L(j0t()),r6i=L(FR()),n6i=L($ut()),a6i=L($0t());var uTi="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxyZWN0IHN0eWxlPSJmaWxsOm5vbmU7IiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4KPGc+Cgk8cGF0aCBkPSJNNyw2LjNMNyw2LjNMNS41OCw0Ljg4djBjMC4zNDQtMC40OTcsMC40OTMtMS4xNCwwLjM4NS0xLjgwNWMtMC4xNjktMS4wNC0xLjAyNS0xLjg4Mi0yLjA2Ni0yLjA0NAoJCUMyLjIwOCwwLjc2OSwwLjc2OCwyLjIwOCwxLjAzMSwzLjljMC4xNjIsMS4wNDEsMS4wMDMsMS44OTcsMi4wNDQsMi4wNjZDMy43NCw2LjA3Myw0LjM4Myw1LjkyNCw0Ljg4LDUuNThMNyw3Ljd2MS40MQoJCWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41aDBjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNVY4LjdWNy43MTRjMC0wLjI2NS0wLjEwNS0wLjUyLTAuMjkzLTAuNzA3TDcsNi4zeiBNMiwzLjUKCQlDMiwyLjY3LDIuNjcsMiwzLjUsMlM1LDIuNjcsNSwzLjVDNSw0LjMzLDQuMzMsNSwzLjUsNVMyLDQuMzMsMiwzLjV6Ii8+Cgk8cGF0aCBkPSJNNywxMi44bC0xLjQyLTEuNDJ2MGMwLjM0NC0wLjQ5NywwLjQ5My0xLjE0LDAuMzg1LTEuODA1Yy0wLjE2OS0xLjA0LTEuMDI1LTEuODgyLTIuMDY2LTIuMDQ0CgkJQzIuMjA4LDcuMjY5LDAuNzY4LDguNzA4LDEuMDMxLDEwLjRjMC4xNjIsMS4wNDEsMS4wMDMsMS44OTcsMi4wNDQsMi4wNjZjMC42NjUsMC4xMDgsMS4zMDgtMC4wNDEsMS44MDUtMC4zODZMNywxNC4ydjEuMwoJCUM3LDE1Ljc3Niw3LjIyNCwxNiw3LjUsMTZoMEM3Ljc3NiwxNiw4LDE1Ljc3Niw4LDE1LjV2LTAuM3YtMC45ODZjMC0wLjI2NS0wLjEwNS0wLjUyLTAuMjkzLTAuNzA3TDcsMTIuOEw3LDEyLjh6IE0zLjUsMTEuNQoJCUMyLjY3LDExLjUsMiwxMC44MywyLDEwYzAtMC44MywwLjY3LTEuNSwxLjUtMS41UzUsOS4xNyw1LDEwQzUsMTAuODMsNC4zMywxMS41LDMuNSwxMS41eiIvPgo8L2c+CjxnPgoJPHBhdGggZD0iTTE1LDYuM0wxNSw2LjNsLTEuNDItMS40MnYwYzAuMzQ0LTAuNDk3LDAuNDkzLTEuMTQsMC4zODUtMS44MDVjLTAuMTY5LTEuMDQtMS4wMjUtMS44ODItMi4wNjYtMi4wNDQKCQlDMTAuMjA4LDAuNzY5LDguNzY4LDIuMjA4LDkuMDMxLDMuOWMwLjE2MiwxLjA0MSwxLjAwMywxLjg5NywyLjA0NCwyLjA2NmMwLjY2NSwwLjEwOCwxLjMwOC0wLjA0MSwxLjgwNS0wLjM4NkwxNSw3Ljd2MS40MQoJCWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41aDBjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNVY4LjdWNy43MTRjMC0wLjI2NS0wLjEwNS0wLjUyLTAuMjkzLTAuNzA3TDE1LDYuM3ogTTEwLDMuNQoJCUMxMCwyLjY3LDEwLjY3LDIsMTEuNSwyUzEzLDIuNjcsMTMsMy41QzEzLDQuMzMsMTIuMzMsNSwxMS41LDVTMTAsNC4zMywxMCwzLjV6Ii8+Cgk8cGF0aCBkPSJNMTUsMTIuOGwtMS40Mi0xLjQydjBjMC4zNDQtMC40OTcsMC40OTMtMS4xNCwwLjM4NS0xLjgwNWMtMC4xNjktMS4wNC0xLjAyNS0xLjg4Mi0yLjA2Ni0yLjA0NAoJCUMxMC4yMDgsNy4yNjksOC43NjgsOC43MDgsOS4wMzEsMTAuNGMwLjE2MiwxLjA0MSwxLjAwMywxLjg5NywyLjA0NCwyLjA2NmMwLjY2NSwwLjEwOCwxLjMwOC0wLjA0MSwxLjgwNS0wLjM4NkwxNSwxNC4ydjEuMwoJCWMwLDAuMjc2LDAuMjI0LDAuNSwwLjUsMC41aDBjMC4yNzYsMCwwLjUtMC4yMjQsMC41LTAuNXYtMC4zdi0wLjk4NmMwLTAuMjY1LTAuMTA1LTAuNTItMC4yOTMtMC43MDdMMTUsMTIuOEwxNSwxMi44eiBNMTEuNSwxMS41CgkJYy0wLjgzLDAtMS41LTAuNjctMS41LTEuNWMwLTAuODMsMC42Ny0xLjUsMS41LTEuNVMxMyw5LjE3LDEzLDEwQzEzLDEwLjgzLDEyLjMzLDExLjUsMTEuNSwxMS41eiIvPgo8L2c+Cjwvc3ZnPgo=";var pTi="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNMTMuNSwxQzE0LjMyNywxLDE1LDEuNjczLDE1LDIuNVMxNC4zMjcsNCwxMy41LDRTMTIsMy4zMjcsMTIsMi41UzEyLjY3MywxLDEzLjUsMSBNMTMuNSwwQzEyLjExOSwwLDExLDEuMTE5LDExLDIuNQoJCQlTMTIuMTE5LDUsMTMuNSw1UzE2LDMuODgxLDE2LDIuNVMxNC44ODEsMCwxMy41LDBMMTMuNSwweiIvPgoJPC9nPgoJPGc+CgkJPHBhdGggZD0iTTEzLjUsMTJjMC44MjcsMCwxLjUsMC42NzMsMS41LDEuNVMxNC4zMjcsMTUsMTMuNSwxNVMxMiwxNC4zMjcsMTIsMTMuNVMxMi42NzMsMTIsMTMuNSwxMiBNMTMuNSwxMQoJCQljLTEuMzgxLDAtMi41LDEuMTE5LTIuNSwyLjVzMS4xMTksMi41LDIuNSwyLjVzMi41LTEuMTE5LDIuNS0yLjVTMTQuODgxLDExLDEzLjUsMTFMMTMuNSwxMXoiLz4KCTwvZz4KCTxnPgoJCTxwb2x5Z29uIHBvaW50cz0iMTQsNCAxMyw0IDEzLDEyIDE0LDEyIDE0LDQgCQkiLz4KCTwvZz4KPC9nPgo8Zz4KCTxnPgoJCTxwYXRoIGQ9Ik00LDEzYzAuNTUxLDAsMSwwLjQ0OSwxLDFzLTAuNDQ5LDEtMSwxcy0xLTAuNDQ5LTEtMVMzLjQ0OSwxMyw0LDEzIE00LDEyYy0xLjEwNSwwLTIsMC44OTUtMiwyczAuODk1LDIsMiwyczItMC44OTUsMi0yCgkJCVM1LjEwNSwxMiw0LDEyTDQsMTJ6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBkPSJNNCwxYzAuNTUxLDAsMSwwLjQ0OSwxLDFTNC41NTEsMyw0LDNTMywyLjU1MSwzLDJTMy40NDksMSw0LDEgTTQsMEMyLjg5NSwwLDIsMC44OTUsMiwyczAuODk1LDIsMiwyczItMC44OTUsMi0yCgkJCVM1LjEwNSwwLDQsMEw0LDB6Ii8+Cgk8L2c+CjwvZz4KPHJlY3QgeD0iNCIgeT0iMyIgdHJhbnNmb3JtPSJtYXRyaXgoLTEgLTQuMzY1NTg3ZS0xMSA0LjM2NTU4N2UtMTEgLTEgOSA3KSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgo8cmVjdCB4PSI0IiB5PSI0IiB0cmFuc2Zvcm09Im1hdHJpeCgtMSAtNC4zNjU1ODdlLTExIDQuMzY1NTg3ZS0xMSAtMSA5IDkpIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CjxyZWN0IHg9IjQiIHk9IjUiIHRyYW5zZm9ybT0ibWF0cml4KC0xIC00LjM2NTU4N2UtMTEgNC4zNjU1ODdlLTExIC0xIDkgMTEpIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CjxyZWN0IHg9IjMiIHk9IjYiIHRyYW5zZm9ybT0ibWF0cml4KC0xIC00LjM2NTU4N2UtMTEgNC4zNjU1ODdlLTExIC0xIDcgMTMpIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CjxyZWN0IHg9IjIiIHk9IjciIHRyYW5zZm9ybT0ibWF0cml4KC0xIC00LjM2NTU4N2UtMTEgNC4zNjU1ODdlLTExIC0xIDUgMTUpIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CjxyZWN0IHg9IjEiIHk9IjkiIHRyYW5zZm9ybT0ibWF0cml4KC0xIC00LjM2NTU4N2UtMTEgNC4zNjU1ODdlLTExIC0xIDMgMTkpIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CjxyZWN0IHg9IjIiIHk9IjkiIHRyYW5zZm9ybT0ibWF0cml4KC0xIC00LjU0NzQ4NmUtMTEgNC41NDc0ODZlLTExIC0xIDUgMTkpIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CjxyZWN0IHg9IjMiIHk9IjEwIiB0cmFuc2Zvcm09Im1hdHJpeCgtMSAtNC41NDc0ODZlLTExIDQuNTQ3NDg2ZS0xMSAtMSA3IDIxKSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgo8cmVjdCB4PSIzIiB5PSIxMSIgdHJhbnNmb3JtPSJtYXRyaXgoLTEgLTQuNTQ3NDg2ZS0xMSA0LjU0NzQ4NmUtMTEgLTEgNyAyMykiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KPHJlY3QgeD0iMyIgeT0iMTIiIHRyYW5zZm9ybT0ibWF0cml4KC0xIC00LjU0NzQ4NmUtMTEgNC41NDc0ODZlLTExIC0xIDcgMjUpIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CjxyZWN0IHg9IjIiIHk9IjEwIiB0cmFuc2Zvcm09Im1hdHJpeCgtMSAtNC41NDc0ODZlLTExIDQuNTQ3NDg2ZS0xMSAtMSA1IDIxKSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgo8cmVjdCB4PSIzIiB5PSI1IiB0cmFuc2Zvcm09Im1hdHJpeCgtMSAtNC41NDc0ODZlLTExIDQuNTQ3NDg2ZS0xMSAtMSA3IDExKSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgo8cmVjdCB4PSIyIiB5PSI2IiB0cmFuc2Zvcm09Im1hdHJpeCgtMSAtNC41NDc0ODZlLTExIDQuNTQ3NDg2ZS0xMSAtMSA1IDEzKSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgo8cmVjdCB4PSIxIiB5PSI3IiB0cmFuc2Zvcm09Im1hdHJpeCgtMSAtNC4zNjU1ODdlLTExIDQuMzY1NTg3ZS0xMSAtMSAzIDE1KSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgo8cmVjdCB4PSIxIiB5PSI4IiB0cmFuc2Zvcm09Im1hdHJpeCgtMSAtNC4zNjU1ODdlLTExIDQuMzY1NTg3ZS0xMSAtMSAzIDE3KSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgo8cG9seWxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2Utd2lkdGg9IjAuOCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iCgk4LjUsNS41IDExLjIsNy4xIDkuNSw5LjUgIi8+CjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLXdpZHRoPSIwLjgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSIKCU01LjUsOS41YzAsMCwyLTIuNCw1LjctMi40Ii8+Cjwvc3ZnPgo=";var mTi="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjOTk5OTk5IiBkPSJNMTAsMTFINFY1YzAtMC41NTIsMC40NDgtMSwxLTFoNnY2QzExLDEwLjU1MiwxMC41NTIsMTEsMTAsMTF6Ii8+CgkJPHBhdGggZD0iTTE1LDRoLTRWMWMwLTAuNTUyLTAuNDQ4LTEtMS0xSDFDMC40NDgsMCwwLDAuNDQ4LDAsMXY5YzAsMC41NTIsMC40NDgsMSwxLDFoM3Y0YzAsMC41NTIsMC40NDgsMSwxLDFoMTAKCQkJYzAuNTUyLDAsMS0wLjQ0OCwxLTFWNUMxNiw0LjQ0OCwxNS41NTIsNCwxNSw0eiBNMSwxMFYxaDl2M0g1QzQuNDQ4LDQsNCw0LjQ0OCw0LDV2NUgxeiBNMTAsNXY1SDVWNUgxMHogTTE1LDE1SDV2LTRoNQoJCQljMC41NTIsMCwxLTAuNDQ4LDEtMVY1aDRWMTV6Ii8+Cgk8L2c+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIj4KPC9nPgo8L3N2Zz4K";var hTi="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjOTk5OTk5IiBkPSJNNC41LDVjMC0wLjI3NSwwLjIyNS0wLjUsMC41LTAuNWg1LjVWMWMwLTAuMjc1LTAuMjI1LTAuNS0wLjUtMC41SDFDMC43MjUsMC41LDAuNSwwLjcyNSwwLjUsMXY5CgkJCWMwLDAuMjc1LDAuMjI1LDAuNSwwLjUsMC41aDMuNVY1eiIvPgoJCTxwYXRoIGQ9Ik0xNSw0aC00VjFjMC0wLjU1Mi0wLjQ0OC0xLTEtMUgxQzAuNDQ4LDAsMCwwLjQ0OCwwLDF2OWMwLDAuNTUyLDAuNDQ4LDEsMSwxaDN2NGMwLDAuNTUyLDAuNDQ4LDEsMSwxaDEwCgkJCWMwLjU1MiwwLDEtMC40NDgsMS0xVjVDMTYsNC40NDgsMTUuNTUyLDQsMTUsNHogTTQsNXY1SDFWMWg5djNINUM0LjQ0OCw0LDQsNC40NDgsNCw1eiBNMTUsMTVINVY1aDEwVjE1eiIvPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg==";var fTi="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjOTk5OTk5IiBkPSJNMTUsNC41aC00LjVWMWMwLTAuMjc1LTAuMjI1LTAuNS0wLjUtMC41SDFDMC43MjUsMC41LDAuNSwwLjcyNSwwLjUsMXY5YzAsMC4yNzUsMC4yMjUsMC41LDAuNSwwLjVoMy41CgkJCVYxNWMwLDAuMjc1LDAuMjI1LDAuNSwwLjUsMC41aDEwYzAuMjc1LDAsMC41LTAuMjI1LDAuNS0wLjVWNUMxNS41LDQuNzI1LDE1LjI3NSw0LjUsMTUsNC41eiIvPgoJCTxwYXRoIGQ9Ik0xNSw0aC00VjFjMC0wLjU1Mi0wLjQ0OC0xLTEtMUgxQzAuNDQ4LDAsMCwwLjQ0OCwwLDF2OWMwLDAuNTUyLDAuNDQ4LDEsMSwxaDN2NGMwLDAuNTUyLDAuNDQ4LDEsMSwxaDEwCgkJCWMwLjU1MiwwLDEtMC40NDgsMS0xVjVDMTYsNC40NDgsMTUuNTUyLDQsMTUsNHogTTE1LDE1SDV2LTN2LTF2LTFINEgzSDFWMWg5djJ2MXYxaDFoMWgzVjE1eiIvPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg==";var gTi="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8Zz4KCQkJPHBhdGggZmlsbD0iIzk5OTk5OSIgZD0iTTUsNC41aDUuNVYxYzAtMC4yNzUtMC4yMjQtMC41LTAuNS0wLjVIMUMwLjcyNCwwLjUsMC41LDAuNzI1LDAuNSwxdjljMCwwLjI3NSwwLjIyNCwwLjUsMC41LDAuNWgzLjVWNQoJCQkJQzQuNSw0LjcyNSw0LjcyNCw0LjUsNSw0LjV6Ii8+CgkJCTxwYXRoIGZpbGw9IiM5OTk5OTkiIGQ9Ik0xNSw0LjVoLTQuNVYxMGMwLDAuMjc1LTAuMjI0LDAuNS0wLjUsMC41SDQuNVYxNWMwLDAuMjc1LDAuMjI0LDAuNSwwLjUsMC41aDEwCgkJCQljMC4yNzYsMCwwLjUtMC4yMjUsMC41LTAuNVY1QzE1LjUsNC43MjUsMTUuMjc2LDQuNSwxNSw0LjV6Ii8+CgkJPC9nPgoJCTxwYXRoIGQ9Ik0xNSw0aC00VjFjMC0wLjU1Mi0wLjQ0OC0xLTEtMUgxQzAuNDQ4LDAsMCwwLjQ0OCwwLDF2OWMwLDAuNTUyLDAuNDQ4LDEsMSwxaDN2NGMwLDAuNTUyLDAuNDQ4LDEsMSwxaDEwCgkJCWMwLjU1MiwwLDEtMC40NDgsMS0xVjVDMTYsNC40NDgsMTUuNTUyLDQsMTUsNHogTTEsMTBWMWg5djNINUM0LjQ0OCw0LDQsNC40NDgsNCw1djVIMXogTTEwLDV2NUg1VjVIMTB6IE0xNSwxNUg1di00aDUKCQkJYzAuNTUyLDAsMS0wLjQ0OCwxLTFWNWg0VjE1eiIvPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg==";var bTi="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8cGF0aCBmaWxsPSIjOTk5OTk5IiBkPSJNMTUsNC41aC00LjVWMWMwLTAuMjc1LTAuMjI1LTAuNS0wLjUtMC41SDFDMC43MjUsMC41LDAuNSwwLjcyNSwwLjUsMXY5YzAsMC4yNzUsMC4yMjUsMC41LDAuNSwwLjVoMy41VjE1CgkJYzAsMC4yNzUsMC4yMjUsMC41LDAuNSwwLjVoMTBjMC4yNzUsMCwwLjUtMC4yMjUsMC41LTAuNVY1QzE1LjUsNC43MjUsMTUuMjc1LDQuNSwxNSw0LjV6Ii8+Cgk8cGF0aCBkPSJNMTUsNGgtNFYxYzAtMC41NTItMC40NDgtMS0xLTFIMUMwLjQ0OCwwLDAsMC40NDgsMCwxdjljMCwwLjU1MiwwLjQ0OCwxLDEsMWgzdjRjMCwwLjU1MiwwLjQ0OCwxLDEsMWgxMAoJCWMwLjU1MiwwLDEtMC40NDgsMS0xVjVDMTYsNC40NDgsMTUuNTUyLDQsMTUsNHogTTEsMTBWMWg5djNINUM0LjQ0OCw0LDQsNC40NDgsNCw1djVIMXogTTEwLDV2NUg1VjVIMTB6IE0xNSwxNUg1di00aDUKCQljMC41NTIsMCwxLTAuNDQ4LDEtMVY1aDRWMTV6Ii8+CjwvZz4KPGcgaWQ9IuWbvuWxgl8yIj4KPC9nPgo8L3N2Zz4K";var yTi="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNiAxNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSLlm77lsYJfMSI+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjOTk5OTk5IiBkPSJNMiwxNS41Yy0wLjI3NSwwLTAuNS0wLjIyNS0wLjUtMC41VjJjMC0wLjI3NSwwLjIyNS0wLjUsMC41LTAuNWgxM2MwLjI3NSwwLDAuNSwwLjIyNSwwLjUsMC41djEzCgkJCWMwLDAuMjc1LTAuMjI1LDAuNS0wLjUsMC41SDJ6Ii8+CgkJPHBhdGggZD0iTTE1LDJ2MTNIMlYySDE1IE0xNSwxSDJDMS40NDgsMSwxLDEuNDQ4LDEsMnYxM2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDEzYzAuNTUyLDAsMS0wLjQ0OCwxLTFWMkMxNiwxLjQ0OCwxNS41NTIsMSwxNSwxCgkJCUwxNSwxeiIvPgoJPC9nPgoJPGc+CgkJPHBhdGggZD0iTTEyLDR2MWgxQzEzLDQuNDUsMTIuNTUsNCwxMiw0eiIvPgoJCTxwYXRoIGQ9Ik0xMiwxMnYxYzAuNTUsMCwxLTAuNDUsMS0xSDEyeiIvPgoJCTxwYXRoIGQ9Ik00LDEyYzAsMC41NSwwLjQ1LDEsMSwxdi0xSDR6Ii8+CgkJPHBhdGggZD0iTTQsNWgxVjRDNC40NSw0LDQsNC40NSw0LDV6Ii8+CgkJPHJlY3QgeD0iNiIgeT0iNCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjgiIHk9IjQiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSIxMCIgeT0iNCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjYiIHk9IjEyIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iOCIgeT0iMTIiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSIxMCIgeT0iMTIiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSIxMiIgeT0iNiIgdHJhbnNmb3JtPSJtYXRyaXgoLTEuODM2OTcwZS0xNiAxIC0xIC0xLjgzNjk3MGUtMTYgMTkgLTYpIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iMTIiIHk9IjgiIHRyYW5zZm9ybT0ibWF0cml4KC0xLjgzNjk3MGUtMTYgMSAtMSAtMS44MzY5NzBlLTE2IDIxIC00KSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjQiIHk9IjYiIHRyYW5zZm9ybT0ibWF0cml4KC0xLjgzNjk3MGUtMTYgMSAtMSAtMS44MzY5NzBlLTE2IDExIDIpIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+CgkJPHJlY3QgeD0iNCIgeT0iOCIgdHJhbnNmb3JtPSJtYXRyaXgoLTEuODM2OTcwZS0xNiAxIC0xIC0xLjgzNjk3MGUtMTYgMTMgNCkiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz4KCQk8cmVjdCB4PSIxMiIgeT0iMTAiIHRyYW5zZm9ybT0ibWF0cml4KC0xLjgzNjk3MGUtMTYgMSAtMSAtMS44MzY5NzBlLTE2IDIzIC0yKSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJCTxyZWN0IHg9IjQiIHk9IjEwIiB0cmFuc2Zvcm09Im1hdHJpeCgtMS44MzY5NzBlLTE2IDEgLTEgLTEuODM2OTcwZS0xNiAxNSA2KSIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPgoJPC9nPgoJPGc+CgkJPHBhdGggZD0iTTEyLDV2N0g1VjVIMTIgTTEyLDRINUM0LjQ0OCw0LDQsNC40NDgsNCw1djdjMCwwLjU1MiwwLjQ0OCwxLDEsMWg3YzAuNTUyLDAsMS0wLjQ0OCwxLTFWNUMxMyw0LjQ0OCwxMi41NTIsNCwxMiw0TDEyLDR6CgkJCSIvPgoJPC9nPgo8L2c+CjxnIGlkPSLlm77lsYJfMiI+CjwvZz4KPC9zdmc+Cg==";var wTi="data:image/svg+xml;base64, ";var s6i=L(SAe()),l6i=L(spt());var CTi="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTE1Ljg1NCwxMS45NTRMMTAuNzcsOS4wMjFjLTAuMDQ3LTAuMDI3LTAuMDk2LTAuMDM5LTAuMTQ1LTAuMDM5Yy0wLjE1MiwwLTAuMjkxLDAuMTIxLTAuMjkxLDAuMjkxbC0wLjAwMiw1Ljg3MgoJYzAsMC4xNzUsMC4xNDMsMC4yOTEsMC4yOTMsMC4yOTFjMC4wNzEsMCwwLjE0NC0wLjAyNiwwLjIwMy0wLjA4NWwxLjI0Ni0xLjI0M2wwLjkyNCwxLjYwMUMxMy4xMDYsMTUuODk2LDEzLjMwMSwxNiwxMy41MDIsMTYKCWMwLjA5OSwwLDAuMTk5LTAuMDI1LDAuMjktMC4wNzhsMS4wMDctMC41ODFjMC4yNzgtMC4xNjEsMC4zNzMtMC41MTYsMC4yMTMtMC43OTRsLTAuOTI3LTEuNjA2bDEuNy0wLjQ1NAoJQzE2LjAzNSwxMi40MiwxNi4wNzksMTIuMDg0LDE1Ljg1NCwxMS45NTR6IE0xMy44OCwxMi4xNzRsLTAuNzIzLDAuMTkzYy0wLjE0LDAuMDM3LTAuMjA3LDAuMTk4LTAuMTM0LDAuMzIzbDAuMzc0LDAuNjQ4CglsMC44MjEsMS40MjJsLTAuNjM4LDAuMzY5bC0wLjgxOC0xLjQxN2wtMC4zNzMtMC42NDZjLTAuMDcyLTAuMTI1LTAuMjQ0LTAuMTQ4LTAuMzQ3LTAuMDQ2bC0wLjUyOSwwLjUyN2wtMC4zODcsMC4zODZsMC4wMDEtMy43ODcKCWwzLjI3NSwxLjg5TDEzLjg4LDEyLjE3NHoiLz4KPGc+Cgk8cGF0aCBkPSJNMTIsNGMwLjU1MSwwLDEsMC40NDksMSwxcy0wLjQ0OSwxLTEsMXMtMS0wLjQ0OS0xLTFTMTEuNDQ5LDQsMTIsNCBNMTIsM2MtMS4xMDUsMC0yLDAuODk1LTIsMnMwLjg5NSwyLDIsMnMyLTAuODk1LDItMgoJCVMxMy4xMDUsMywxMiwzTDEyLDN6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNNSw0YzAuNTUxLDAsMSwwLjQ0OSwxLDFTNS41NTEsNiw1LDZTNCw1LjU1MSw0LDVTNC40NDksNCw1LDQgTTUsM0MzLjg5NSwzLDMsMy44OTUsMyw1czAuODk1LDIsMiwyczItMC44OTUsMi0yCgkJUzYuMTA1LDMsNSwzTDUsM3oiLz4KPC9nPgo8Zz4KCTxwYXRoIGQ9Ik01LDExYzAuNTUxLDAsMSwwLjQ0OSwxLDFzLTAuNDQ5LDEtMSwxcy0xLTAuNDQ5LTEtMVM0LjQ0OSwxMSw1LDExIE01LDEwYy0xLjEwNSwwLTIsMC44OTUtMiwyczAuODk1LDIsMiwyczItMC44OTUsMi0yCgkJUzYuMTA1LDEwLDUsMTBMNSwxMHoiLz4KPC9nPgo8Zz4KCTxwb2x5Z29uIHBvaW50cz0iMTAuNjQ2LDUuNjQ2IDUuNjQ2LDEwLjY0NiA2LjM1NCwxMS4zNTQgMTEuMzU0LDYuMzU0IDEwLjY0Niw1LjY0NiAJIi8+CjwvZz4KPGc+Cgk8cG9seWdvbiBwb2ludHM9IjguMTQ2LDEuMTQ2IDUuNjQ2LDMuNjQ2IDYuMzU0LDQuMzU0IDguODU0LDEuODU0IDguMTQ2LDEuMTQ2IAkiLz4KPC9nPgo8cGF0aCBkPSJNMTUsMUgyQzEuNDQ4LDEsMSwxLjQ0OCwxLDJ2MTNjMCwwLjU1MiwwLjQ0OCwxLDEsMWg1LjVDNy43NzYsMTYsOCwxNS43NzYsOCwxNS41djBDOCwxNS4yMjQsNy43NzYsMTUsNy41LDE1SDJWMmgxM3Y1LjUKCUMxNSw3Ljc3NiwxNS4yMjQsOCwxNS41LDhoMEMxNS43NzYsOCwxNiw3Ljc3NiwxNiw3LjVWMkMxNiwxLjQ0OCwxNS41NTIsMSwxNSwxeiIvPgo8L3N2Zz4K";var c6i=L(p0t()),d6i=L(A8e()),u6i=L(y3e()),p6i=L(i3e()),m6i=L(kpt()),h6i=L(B0t()),f6i=L(r0t()),g6i=L(H0t());var xTi="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMCIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNOCwwQzcuNzI0LDAsNy41LDAuMjI0LDcuNSwwLjV2MTVDNy41LDE1Ljc3Niw3LjcyNCwxNiw4LDE2YzAuMjc2LDAsMC41LTAuMjI0LDAuNS0wLjV2LTE1QzguNSwwLjIyNCw4LjI3NiwwLDgsMEw4LDB6Ii8+CjwvZz4KPHJlY3QgZmlsbD0ibm9uZSIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+CjxnPgoJPHBhdGggZD0iTTMuMjUsMEMyLjY3LDAsMi4xLDAuMjIsMS42NiwwLjY2Yy0wLjg4LDAuODgtMC44OCwyLjMsMCwzLjE4QzIuMSw0LjI4LDIuNjcsNC41LDMuMjUsNC41UzQuNCw0LjI4LDQuODQsMy44NAoJCWMwLjg4LTAuODgsMC44OC0yLjMsMC0zLjE4QzQuNCwwLjIyLDMuODMsMCwzLjI1LDB6IE00LjEzLDMuMTNDMy45LDMuMzcsMy41OCwzLjUsMy4yNSwzLjVTMi42LDMuMzcsMi4zNywzLjEzCgkJYy0wLjQ5LTAuNDgtMC40OS0xLjI4LDAtMS43NkMyLjYsMS4xMywyLjkyLDEsMy4yNSwxUzMuOSwxLjEzLDQuMTMsMS4zN0M0LjYyLDEuODUsNC42MiwyLjY1LDQuMTMsMy4xM3oiLz4KCTxwYXRoIGQ9Ik0zLjI1LDUuNzVjLTAuNTgsMC0xLjE1LDAuMjItMS41OSwwLjY2Yy0wLjg4LDAuODgtMC44OCwyLjMsMCwzLjE4YzAuNDQsMC40NCwxLjAxLDAuNjYsMS41OSwwLjY2czEuMTUtMC4yMiwxLjU5LTAuNjYKCQljMC44OC0wLjg4LDAuODgtMi4zLDAtMy4xOEM0LjQsNS45NywzLjgzLDUuNzUsMy4yNSw1Ljc1eiBNNC4xMyw4Ljg4QzMuOSw5LjEyLDMuNTgsOS4yNSwzLjI1LDkuMjVTMi42LDkuMTIsMi4zNyw4Ljg4CgkJYy0wLjQ5LTAuNDgtMC40OS0xLjI4LDAtMS43NkMyLjYsNi44OCwyLjkyLDYuNzUsMy4yNSw2Ljc1UzMuOSw2Ljg4LDQuMTMsNy4xMkM0LjYyLDcuNiw0LjYyLDguNCw0LjEzLDguODh6Ii8+Cgk8cGF0aCBkPSJNMy4yNSwxMS41Yy0wLjU4LDAtMS4xNSwwLjIyLTEuNTksMC42NmMtMC44OCwwLjg4LTAuODgsMi4zLDAsMy4xOEMyLjEsMTUuNzgsMi42NywxNiwzLjI1LDE2czEuMTUtMC4yMiwxLjU5LTAuNjYKCQljMC44OC0wLjg4LDAuODgtMi4zLDAtMy4xOEM0LjQsMTEuNzIsMy44MywxMS41LDMuMjUsMTEuNXogTTQuMTMsMTQuNjNDMy45LDE0Ljg3LDMuNTgsMTUsMy4yNSwxNXMtMC42NS0wLjEzLTAuODgtMC4zNwoJCWMtMC40OS0wLjQ4LTAuNDktMS4yOCwwLTEuNzZjMC4yMy0wLjI0LDAuNTUtMC4zNywwLjg4LTAuMzdzMC42NSwwLjEzLDAuODgsMC4zN0M0LjYyLDEzLjM1LDQuNjIsMTQuMTUsNC4xMywxNC42M3oiLz4KCTxwYXRoIGQ9Ik0xMi43NSw0LjVjMC41OCwwLDEuMTUtMC4yMiwxLjU5LTAuNjZjMC44OC0wLjg4LDAuODgtMi4zLDAtMy4xOEMxMy45LDAuMjIsMTMuMzMsMCwxMi43NSwwcy0xLjE1LDAuMjItMS41OSwwLjY2CgkJYy0wLjg4LDAuODgtMC44OCwyLjMsMCwzLjE4QzExLjYsNC4yOCwxMi4xNyw0LjUsMTIuNzUsNC41eiBNMTEuODcsMS4zN0MxMi4xLDEuMTMsMTIuNDIsMSwxMi43NSwxczAuNjUsMC4xMywwLjg4LDAuMzcKCQljMC40OSwwLjQ4LDAuNDksMS4yOCwwLDEuNzZDMTMuNCwzLjM3LDEzLjA4LDMuNSwxMi43NSwzLjVzLTAuNjUtMC4xMy0wLjg4LTAuMzdDMTEuMzgsMi42NSwxMS4zOCwxLjg1LDExLjg3LDEuMzd6Ii8+Cgk8cGF0aCBkPSJNMTIuNzUsNS43NWMtMC41OCwwLTEuMTUsMC4yMi0xLjU5LDAuNjZjLTAuODgsMC44OC0wLjg4LDIuMywwLDMuMThjMC40NCwwLjQ0LDEuMDEsMC42NiwxLjU5LDAuNjZzMS4xNS0wLjIyLDEuNTktMC42NgoJCWMwLjg4LTAuODgsMC44OC0yLjMsMC0zLjE4QzEzLjksNS45NywxMy4zMyw1Ljc1LDEyLjc1LDUuNzV6IE0xMy42Myw4Ljg4Yy0wLjIzLDAuMjQtMC41NSwwLjM3LTAuODgsMC4zN3MtMC42NS0wLjEzLTAuODgtMC4zNwoJCWMtMC40OS0wLjQ4LTAuNDktMS4yOCwwLTEuNzZjMC4yMy0wLjI0LDAuNTUtMC4zNywwLjg4LTAuMzdzMC42NSwwLjEzLDAuODgsMC4zN0MxNC4xMiw3LjYsMTQuMTIsOC40LDEzLjYzLDguODh6Ii8+Cgk8cGF0aCBkPSJNMTIuNzUsMTEuNWMtMC41OCwwLTEuMTUsMC4yMi0xLjU5LDAuNjZjLTAuODgsMC44OC0wLjg4LDIuMywwLDMuMThDMTEuNiwxNS43OCwxMi4xNywxNiwxMi43NSwxNnMxLjE1LTAuMjIsMS41OS0wLjY2CgkJYzAuODgtMC44OCwwLjg4LTIuMywwLTMuMThDMTMuOSwxMS43MiwxMy4zMywxMS41LDEyLjc1LDExLjV6IE0xMy42MywxNC42M0MxMy40LDE0Ljg3LDEzLjA4LDE1LDEyLjc1LDE1cy0wLjY1LTAuMTMtMC44OC0wLjM3CgkJYy0wLjQ5LTAuNDgtMC40OS0xLjI4LDAtMS43NmMwLjIzLTAuMjQsMC41NS0wLjM3LDAuODgtMC4zN3MwLjY1LDAuMTMsMC44OCwwLjM3QzE0LjEyLDEzLjM1LDE0LjEyLDE0LjE1LDEzLjYzLDE0LjYzeiIvPgo8L2c+Cjwvc3ZnPgo=";var b6i=L(emt()),y6i=L(tmt()),w6i=L(imt()),C6i=L(omt()),x6i=L(rmt()),T6i=L(nmt()),S6i=L(amt()),M6i=L(Dut()),I6i=L(smt());var TTi="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9Il/lm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDE2IDE2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxNiAxNjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8Zz4KCTxwYXRoIGQ9Ik0yLDQuNUMyLDQuOCwyLjIsNSwyLjUsNVMzLDQuOCwzLDQuNVYzaDEuNUM0LjgsMyw1LDIuOCw1LDIuNVM0LjgsMiw0LjUsMmgtMkMyLjIsMiwyLDIuMiwyLDIuNVY0LjV6Ii8+Cgk8cGF0aCBkPSJNNC41LDE0SDN2LTEuNUMzLDEyLjIsMi44LDEyLDIuNSwxMlMyLDEyLjIsMiwxMi41djJDMiwxNC44LDIuMiwxNSwyLjUsMTVoMkM0LjgsMTUsNSwxNC44LDUsMTQuNVM0LjgsMTQsNC41LDE0eiIvPgoJPHBhdGggZD0iTTEyLjUsM0gxNHYxLjVDMTQsNC44LDE0LjIsNSwxNC41LDVTMTUsNC44LDE1LDQuNXYtMkMxNSwyLjIsMTQuOCwyLDE0LjUsMmgtMkMxMi4yLDIsMTIsMi4yLDEyLDIuNVMxMi4yLDMsMTIuNSwzeiIvPgoJPGNpcmNsZSBjeD0iMS4zIiBjeT0iMS4zIiByPSIwLjgiLz4KCTxwYXRoIGQ9Ik03LDRjMC42LDAsMS0wLjUsMS0xVjFjMC0wLjYtMC40LTEtMS0xUzYsMC40LDYsMXYyQzYsMy41LDYuNCw0LDcsNHoiLz4KCTxwYXRoIGQ9Ik0xMCw0YzAuNiwwLDEtMC41LDEtMVYxYzAtMC42LTAuNC0xLTEtMVM5LDAuNCw5LDF2MkM5LDMuNSw5LjQsNCwxMCw0eiIvPgoJPHBhdGggZD0iTTEsOGgyYzAuNSwwLDEtMC40LDEtMVMzLjUsNiwzLDZIMUMwLjQsNiwwLDYuNCwwLDdTMC40LDgsMSw4eiIvPgoJPHBhdGggZD0iTTQsMTBjMC0wLjYtMC41LTEtMS0xSDFjLTAuNiwwLTEsMC40LTEsMXMwLjQsMSwxLDFoMkMzLjUsMTEsNCwxMC42LDQsMTB6Ii8+CjwvZz4KPGc+Cgk8cGF0aCBkPSJNMTEuNSwxNUMxMS41LDE1LDExLjUsMTUsMTEuNSwxNWMtMC4yLDAtMC40LTAuMS0wLjUtMC4zTDguNCw3LjdsLTEuNSwzQzYuOSwxMC45LDYuNywxMSw2LjUsMTFINWMtMC4zLDAtMC41LTAuMi0wLjUtMC41CgkJUzQuNywxMCw1LDEwaDEuMmwxLjktMy43QzguMSw2LjEsOC4zLDYsOC41LDZDOC43LDYsOC45LDYuMSw5LDYuM2wyLjYsNi45bDEuNS0zYzAuMS0wLjIsMC4zLTAuMywwLjQtMC4zSDE1CgkJYzAuMywwLDAuNSwwLjIsMC41LDAuNVMxNS4zLDExLDE1LDExaC0xLjJsLTEuOSwzLjdDMTEuOSwxNC45LDExLjcsMTUsMTEuNSwxNXoiLz4KPC9nPgo8L3N2Zz4K";var L6i=L(Qce()),v6i=L(hAe()),s4r={icon_eda_annotation:c6i.default,eda_jlcpcb_layout:CTi,eda_split_area_with_hole1:yTi,eda_teardrop1:wTi,eda_dimension_horizontal:Vze,eda_dimension_smart:$Si.default,eda_dimension_vertical:Hze,eda_teardrop:a6i.default,eda_routing_fanout:uTi,eda_routing_gloss:pTi,icon_eda_schematic_new:t6i.default,icon_eda_page_new:i6i.default,icon_eda_pcb_new:o6i.default,icon_eda_panel_new:n6i.default,icon_eda_update_to_pcb:STi.default,icon_eda_refresh:r6i.default,icon_eda_changes_import:MTi.default,icon_eda_back_to_upper:ITi.default,icon_eda_back_to_template:LTi.default,icon_eda_update_block_symbol:vTi.default,icon_eda_update_net_port:DTi.default,icon_eda_update_pins:ETi.default,icon_eda_check_drc:ATi.default,icon_eda_designator:NTi.default,icon_eda_undo:kTi.default,icon_eda_redo:PTi.default,icon_eda_copy:OTi.default,icon_eda_cut:RTi.default,icon_eda_paste:_Ti.default,icon_eda_move:jTi.default,icon_eda_delete_trash:BTi.default,eda_preserve_overlapping_area:mTi,eda_subtract_top_area:hTi,eda_merged_area:fTi,eda_exclude_overlapping_area:gTi,eda_split_area_with_hole:bTi,eda_selection_rectangle_inside:zTi.default,eda_selection_rectangle_outside:FTi.default,eda_selection_polygon_inside:UTi.default,eda_selection_polygon_outside:VTi.default,eda_selection_line_touched:HTi.default,eda_selection_continuous:GTi.default,icon_eda_array:YTi.default,icon_eda_find:WTi.default,icon_eda_similar:QTi.default,icon_eda_bom:KTi.default,icon_eda_gerber:ZTi.default,icon_eda_position_file:JTi.default,icon_eda_netlist:qTi.default,icon_eda_folder_new:XTi.default,icon_eda_board_fill:$Ti.default,icon_eda_project_fill:e5i.default,icon_eda_schematic:t5i.default,icon_eda_page:i5i.default,icon_eda_pcb:o5i.default,icon_eda_panel:r5i.default,icon_eda_library:n5i.default,icon_eda_symbol:a5i.default,icon_eda_symbol_brown:s5i.default,icon_eda_footprint:l5i.default,icon_eda_3d_model:c5i.default,icon_eda_drawing:d5i.default,icon_eda_drawing_brown:u5i.default,icon_eda_netflag_gnd:p5i.default,icon_eda_netflag_gnd_brown:m5i.default,icon_eda_off_page_connector_bi:h5i.default,icon_eda_off_page_connector_in:f5i.default,icon_eda_off_page_connector_out:g5i.default,icon_eda_off_page_connector_out_brown:w5i.default,icon_eda_differential:b5i.default,icon_eda_differential_brown:y5i.default,icon_eda_netport_out:C5i.default,icon_eda_netport_out_brown:x5i.default,icon_eda_non_electronic_flag:T5i.default,icon_eda_non_electronic_flag_brown:S5i.default,icon_eda_part_new:M5i.default,icon_eda_symbol_block:I5i.default,icon_eda_standard_edition_migration:L5i.default,icon_eda_save:v5i.default,icon_eda_save_all:D5i.default,icon_eda_backup:E5i.default,icon_eda_new_branch:A5i.default,icon_eda_new_node:N5i.default,icon_eda_recovery:k5i.default,icon_eda_import:P5i.default,icon_eda_image:O5i.default,icon_eda_export:R5i.default,icon_eda_position:_5i.default,icon_eda_info:j5i.default,icon_eda_group:B5i.default,icon_eda_align_left:z5i.default,icon_eda_align_right:F5i.default,icon_eda_align_top:U5i.default,icon_eda_align_bottom:V5i.default,icon_eda_align_horizontal_center:H5i.default,icon_eda_align_vertical_center:G5i.default,icon_eda_align_grid:Y5i.default,icon_eda_distribute_horizontally:W5i.default,icon_eda_distribute_vertically:Q5i.default,icon_eda_distribute_left_edges:K5i.default,icon_eda_distribute_top_edges:Z5i.default,icon_eda_distribute_horizontally_by_center_distance:J5i.default,icon_eda_distribute_vertically_by_center_distance:q5i.default,icon_eda_distribute_horizontally_by_distance:X5i.default,icon_eda_distribute_vertically_by_distance:$5i.default,icon_eda_distribute_array:eSi.default,icon_eda_distribute_region:tSi.default,icon_eda_rotate_left:iSi.default,icon_eda_rotate_right:oSi.default,icon_eda_rotate_by_reference:rSi.default,icon_eda_flip_horizontally:nSi.default,icon_eda_flip_vertically:aSi.default,icon_eda_send_to_back:sSi.default,icon_eda_bring_to_front:lSi.default,icon_eda_cart_symbol:cSi.default,icon_eda_cart_pcb:dSi.default,icon_eda_cart:uSi.default,icon_eda_cart_panel:pSi.default,icon_eda_via:mSi.default,icon_eda_pad:hSi.default,icon_eda_vias_suture:fSi.default,icon_eda_pad_line:gSi.default,icon_eda_pad_rectangle:bSi.default,icon_eda_pad_polygon:ySi.default,icon_eda_board_outline:wSi.default,icon_eda_region_copper:CSi.default,icon_eda_region_fill:xSi.default,icon_eda_fpc_stiffeners:TSi.default,icon_eda_region_slot:SSi.default,icon_eda_region_prohibited:MSi.default,icon_eda_region_constraint:ISi.default,icon_eda_line:LSi.default,icon_eda_arc_center:vSi.default,icon_eda_arc_two_points:DSi.default,icon_eda_arc_three_points:ESi.default,icon_eda_circle:ASi.default,icon_eda_ellipse:NSi.default,icon_eda_rectangle:kSi.default,icon_eda_symbol_resistor:PSi.default,icon_eda_symbol_capacitor:OSi.default,icon_eda_symbol_inductor:RSi.default,icon_eda_symbol_diode:_Si.default,icon_eda_pin:jSi.default,icon_eda_pin_line:BSi.default,icon_eda_pin_rect:zSi.default,icon_eda_wire:FSi.default,icon_eda_bus:USi.default,icon_eda_net_label:VSi.default,icon_eda_symbol_short:HSi.default,icon_eda_netflag_vcc:GSi.default,icon_eda_netflag_5V:YSi.default,icon_eda_netflag_agnd:WSi.default,icon_eda_netflag_pgnd:QSi.default,icon_eda_netport_in:KSi.default,icon_eda_netport_bi:ZSi.default,icon_eda_no_connect_flag:JSi.default,icon_eda_junction_flag:qSi.default,eda_pen_tool:XSi.default,icon_eda_arc:eMi.default,icon_eda_bezier:tMi.default,icon_eda_point_test:iMi.default,icon_eda_text:oMi.default,icon_eda_dimension:rMi.default,icon_eda_dimension_length:nMi.default,icon_eda_dimension_degree:aMi.default,icon_eda_dimension_radius:sMi.default,icon_eda_table:lMi.default,icon_eda_canvas_origin:cMi.default,icon_eda_3dshell_outline:dMi.default,icon_eda_3dshell_screw_pillar:uMi.default,icon_eda_3dshell_datum_line:pMi.default,icon_eda_3dshell_side_region_slot:mMi.default,icon_eda_3dshell_top_region_slot:hMi.default,icon_eda_3dshell_side_entity:fMi.default,icon_eda_3dshell_top_entity:gMi.default,icon_eda_routing_single:bMi.default,icon_eda_routing_stretch:yMi.default,icon_eda_routing_differential:CMi.default,icon_eda_routing_multiple:wMi.default,icon_eda_routing_tuning:xMi.default,icon_eda_routing_differential_tunning:TMi.default,icon_eda_routing_auto:SMi.default,icon_eda_routing_push:MMi.default,icon_eda_setting:IMi.default,icon_eda_wizard:LMi.default,icon_eda_datasheet:vMi.default,icon_eda_measure:DMi.default,icon_eda_dimension_smart:EMi.default,icon_eda_dimension_check:AMi.default,icon_eda_command:NMi.default,icon_eda_ratline:kMi.default,icon_eda_manager_footprint:PMi.default,icon_eda_manager_device:OMi.default,icon_eda_manager_layer:RMi.default,icon_eda_manager_copper:_Mi.default,icon_eda_manager_3d_model:jMi.default,icon_eda_bom_matching:BMi.default,icon_eda_soldering_assistance:zMi.default,icon_eda_preview_2d:FMi.default,icon_eda_preview_3d:UMi.default,icon_eda_zoom_in:VMi.default,icon_eda_zoom_out:HMi.default,icon_eda_view_fit_all:GMi.default,icon_eda_view_fit_selection:YMi.default,icon_eda_view_fit_area_selection:WMi.default,icon_eda_view_fit_board_outline:QMi.default,icon_eda_view_full_screen:KMi.default,icon_eda_flip_board:ZMi.default,icon_eda_board_new_fill:JMi.default,icon_eda_auxiliary:qMi.default,icon_eda_auxiliary_point:XMi.default,icon_eda_auxiliary_vertical:e6i.default,icon_eda_auxiliary_horizontal:$Mi.default,icon_eda_move_up:s6i.default,icon_eda_move_down:l6i.default,icon_eda_partition:d6i.default,icon_eda_cutout:g6i.default,icon_ecad_pcb:p6i.default,icon_ecad_board_fill:u6i.default,icon_ecad_board_fill_new:m6i.default,icon_ecad_pcb_new:h6i.default,icon_eda_split:f6i.default,icon_pcb_via_fence:xTi,icon_eda_sim_start:b6i.default,icon_eda_sim_pause:y6i.default,icon_eda_sim_stop:w6i.default,icon_eda_sim_setting:C6i.default,icon_eda_sim_probe_current:x6i.default,icon_eda_sim_probe_voltage:T6i.default,icon_eda_sim_probe_digital:S6i.default,icon_eda_place_mask_region:M6i.default,icon_eda_simulation:I6i.default,icon_eda_simulation_model:TTi,icon_eda_v_tick:L6i.default,icon_eda_filter:v6i.default},lt=s4r;var N6i={menuId:"project-tree-context-menu-sort",defaultConfig:[{id:"sort_by_project_name",title:"Project Name",hotkeyCmd:"sort_by_project_name",subHotkeyId:"homepage_prj_sort_menu_sort_by_project_name",optionType:{type:"radio",groupName:"sort_type",clickNotAutoSelect:!0},callback:()=>Ime("type","project_name")},{id:"sort_by_creation_time",title:"Creation Time",hotkeyCmd:"sort_by_creation_time",subHotkeyId:"homepage_prj_sort_menu_sort_by_creation_time",optionType:{type:"radio",groupName:"sort_type",clickNotAutoSelect:!0},callback:()=>Ime("type","creation_time")},{id:"sort_by_modification_time",title:"Modification Time",hotkeyCmd:"sort_by_modification_time",subHotkeyId:"homepage_prj_sort_menu_sort_by_modification_time",optionType:{type:"radio",groupName:"sort_type",clickNotAutoSelect:!0,defaultChecked:!0},callback:()=>Ime("type","modification_time")},null,{id:"ascending_order",title:"Ascending Order",hotkeyCmd:"ascending_order",subHotkeyId:"homepage_prj_sort_menu_ascending_order",optionType:{type:"radio",groupName:"sort_duration",clickNotAutoSelect:!0},callback:()=>Ime("order","ascending")},{id:"descending_order",title:"Descending Order",hotkeyCmd:"descending_order",subHotkeyId:"homepage_prj_sort_menu_descending_order",optionType:{type:"radio",groupName:"sort_duration",clickNotAutoSelect:!0,defaultChecked:!0},callback:()=>Ime("order","descending")}]},D6i,E6i,A6i,l4r={menuId:"project-tree-context-menu-projectManager",defaultConfig:[{id:"view_schema",title:"View Schema",hotkeyCmd:"view_schema",subHotkeyId:"homepage_prj_manager_menu_view_schema",callback:t=>Mc(t.id)},{id:"edit",title:"Edit",hotkeyCmd:"edit",subHotkeyId:"homepage_prj_manager_menu_edit",callback:t=>Mc(t.id)},{id:"member",title:"Member",hotkeyCmd:"member",subHotkeyId:"homepage_prj_manager_menu_member",callback:t=>Mc(t.id)},{id:"attachment",title:"Attachment",hotkeyCmd:"attachment",subHotkeyId:"homepage_prj_manager_menu_attachment",callback:t=>Mc(t.id)},{id:"transfer",title:"Transfer",hotkeyCmd:"transfer",subHotkeyId:"homepage_prj_manager_menu_transfer",callback:t=>Mc(t.id)},{id:"share",title:"Share",hotkeyCmd:"share",subHotkeyId:"homepage_prj_manager_menu_share",callback:t=>Mc(t.id)},{id:"version_manager",title:"Backup Management",hotkeyCmd:"version_manager",subHotkeyId:"homepage_prj_manager_menu_version_manager",callback:t=>Mc(t.id)},{id:"view_homePage",title:"View Homepage",hotkeyCmd:"view_homePage",subHotkeyId:"homepage_prj_manager_menu_view_homePage",callback:t=>Mc(t.id)},{id:"lock",title:"Lock",hotkeyCmd:"lock",subHotkeyId:"homepage_prj_manager_menu_lock",callback:t=>Mc(t.id)},{id:"unlock",title:"Unlock",hotkeyCmd:"unlock",subHotkeyId:"homepage_prj_manager_menu_unlock",callback:t=>Mc(t.id)},{id:"delete_project",title:"Delete",hotkeyCmd:"delete_project",subHotkeyId:"homepage_prj_manager_menu_delete_project",callback:t=>Mc(t.id)},{id:"quit_project",title:"Quit",hotkeyCmd:"quit_project",subHotkeyId:"homepage_prj_manager_menu_quit_project",isHide:!["PROJECT_MY_PARTICIPATED","PROJECT_TEAM_MY_PARTICIPATED"].includes((A6i=(E6i=(D6i=Wr.projectTreeContextMenuData)==null?void 0:D6i.treeRowData)==null?void 0:E6i.args)==null?void 0:A6i.type),callback:t=>Mc(t.id)}]},c4r={menuId:"project-tree-context-menu-teamManager",defaultConfig:[{id:"edit_owner_team",title:"Edit",hotkeyCmd:"edit_owner_team",subHotkeyId:"homepage_team_manager_menu_edit_owner_team",callback:t=>Mc(t.id)},{id:"project_owner_team",title:"Project",hotkeyCmd:"project_owner_team",subHotkeyId:"homepage_team_manager_menu_project_owner_team",callback:t=>Mc(t.id)},{id:"members_owner_team",title:"Members",hotkeyCmd:"members_owner_team",subHotkeyId:"homepage_team_manager_menu_members_owner_team",callback:t=>Mc(t.id)},{id:"fans_owner_team",title:"Fans",hotkeyCmd:"fans_owner_team",subHotkeyId:"homepage_team_manager_menu_fans_owner_team",callback:t=>Mc(t.id)},{id:"assignment_owner_team",title:"Assignment",hotkeyCmd:"assignment_owner_team",subHotkeyId:"homepage_team_manager_menu_assignment_owner_team",callback:t=>Mc(t.id)},{id:"quit_owner_team",title:"Quit",hotkeyCmd:"quit_owner_team",subHotkeyId:"homepage_team_manager_menu_quit_owner_team",callback:t=>Mc(t.id)},{id:"dissolve_owner_team",title:"Dissolve",hotkeyCmd:"dissolve_owner_team",subHotkeyId:"homepage_team_manager_menu_dissolve_owner_team",callback:t=>Mc(t.id)}]},k6i={menuId:"project-tree-context-menu",defaultConfig:[{id:"refresh",title:"Refresh",hotkeyCmd:"refresh",subHotkeyId:"homepage_prj_menu_refresh",icon:{iconPath:lt.icon_eda_refresh},callback:t=>Mc(t.id)},{id:"Sort",title:"Sort",hotkeyCmd:"opensubmenu_sort",subHotkeyId:"homepage_prj_menu_opensubmenu_sort",children:N6i},{id:"expand_all",title:"Expand All",hotkeyCmd:"expand_all",subHotkeyId:"homepage_prj_menu_expand_all",callback:()=>{let t=Wr.projectTreeContextMenuData.treeId;Wr.getExpandKeysStore(t).expandAll()}},{id:"collapse_all",title:"Collapse All",hotkeyCmd:"collapse_all",subHotkeyId:"homepage_prj_menu_collapse_all",callback:()=>{let t=Wr.projectTreeContextMenuData.treeId;Wr.getExpandKeysStore(t).collapseAll()}},{id:"create_new_project",title:"Create New Project...",hotkeyCmd:"create_new_project",subHotkeyId:"homepage_prj_menu_create_new_project",callback:()=>{et("new_project")}}]},Lme={menuId:"project-tree-context-menu",defaultConfig:[{id:"refresh",title:"Refresh",hotkeyCmd:"refresh",subHotkeyId:"homepage_prj_menu_refresh",icon:{iconPath:lt.icon_eda_refresh},callback:t=>Mc(t.id)},{id:"Sort",title:"Sort",hotkeyCmd:"opensubmenu_sort",subHotkeyId:"homepage_prj_menu_opensubmenu_sort",isHide:()=>{var t,e,i;return!((i=(e=(t=Wr.projectTreeContextMenuData)==null?void 0:t.treeRowData)==null?void 0:e.args)!=null&&i.isProject)},children:N6i},{id:"expand_all",title:"Expand All",hotkeyCmd:"expand_all",subHotkeyId:"homepage_prj_menu_expand_all",isHide:()=>{var i;let{children:t}=((i=Wr.projectTreeContextMenuData)==null?void 0:i.treeRowData)||{},e=t&&t.length>0;return Je||!e},callback:t=>Mc(t.id)},{id:"collapse_all",title:"Collapse All",hotkeyCmd:"collapse_all",subHotkeyId:"homepage_prj_menu_collapse_all",isHide:()=>{var i;let{children:t}=((i=Wr.projectTreeContextMenuData)==null?void 0:i.treeRowData)||{},e=t&&t.length>0;return Je||!e},callback:t=>Mc(t.id)},null,{id:"open_project",title:"Open Project",hotkeyCmd:"open_project",subHotkeyId:"homepage_prj_menu_open_project",isHide:()=>{var t,e,i;return!((i=(e=(t=Wr.projectTreeContextMenuData)==null?void 0:t.treeRowData)==null?void 0:e.args)!=null&&i.isProject)},callback:t=>Mc(t.id)},{id:"open_directory",title:"Open Directory...",hotkeyCmd:"open_directory",subHotkeyId:"homepage_prj_menu_open_directory",isHide:()=>!Je,callback:t=>Mc(t.id)},{id:"open_in_the_newWindow",title:"Open in New Window...",isTranslate:{hotkey:!0},defaultHotkeyText:"Ctrl+Shift+Click",subHotkeyId:"homepage_prj_menu_open_in_the_newWindow",isHide:()=>{var t,e,i;return!((i=(e=(t=Wr.projectTreeContextMenuData)==null?void 0:t.treeRowData)==null?void 0:e.args)!=null&&i.isProject)},callback:t=>Mc(t.id)},{id:"add_project_directory",title:"Add Project Directory...",hotkeyCmd:"add_project_directory",subHotkeyId:"homepage_prj_menu_add_project_directory",isHide:()=>!Je,callback:t=>Mc(t.id)},{id:"create_new_project",title:"Create New Project...",hotkeyCmd:"create_new_project",subHotkeyId:"homepage_prj_menu_create_new_project",isHide:()=>{var i,o;let{type:t,iconCls:e}=((o=(i=Wr.projectTreeContextMenuData)==null?void 0:i.treeRowData)==null?void 0:o.args)||{};return!(!Je&&["OWNER_MINE","OWNER_MY_TEAM","OWNER_MY_PARTICIPATED","FOLDER_MINE","FOLDER_MY_TEAM"].includes(t)&&!(t=="OWNER_MY_PARTICIPATED"&&!e.includes("team")))},callback:t=>Mc(t.id)},{id:"create_new_folder",title:"Create New Folder...",hotkeyCmd:"create_new_folder",subHotkeyId:"homepage_prj_menu_create_new_folder",isHide:()=>{var o,r;let{type:t,iconCls:e,role:i}=((r=(o=Wr.projectTreeContextMenuData)==null?void 0:o.treeRowData)==null?void 0:r.args)||{};return!(!Je&&["OWNER_MINE","OWNER_MY_TEAM","OWNER_MY_PARTICIPATED","FOLDER_MINE","FOLDER_MY_TEAM"].includes(t)&&!(t=="OWNER_MY_PARTICIPATED"&&!e.includes("team")))},callback:t=>Mc(t.id)},{id:"edit_folder",title:"Modify...",hotkeyCmd:"edit_folder",subHotkeyId:"homepage_prj_menu_edit_folder",isHide:()=>{var t,e,i;return!(!Je&&["FOLDER_MINE","FOLDER_MY_TEAM"].includes((i=(e=(t=Wr.projectTreeContextMenuData)==null?void 0:t.treeRowData)==null?void 0:e.args)==null?void 0:i.type))},callback:t=>Mc(t.id)},{id:"move_project",title:"Move...",hotkeyCmd:"move_project",subHotkeyId:"homepage_prj_menu_move_project",isHide:()=>{var t,e,i;return Je||!["PROJECT_MINE","PROJECT_TEAM_MY_PARTICIPATED"].includes((i=(e=(t=Wr.projectTreeContextMenuData)==null?void 0:t.treeRowData)==null?void 0:e.args)==null?void 0:i.type)},callback:t=>Mc(t.id)},{id:"move_folder",title:"Move...",hotkeyCmd:"move_folder",subHotkeyId:"homepage_prj_menu_move_folder",isHide:()=>{var t,e,i;return!(!Je&&["FOLDER_MINE","FOLDER_MY_TEAM"].includes((i=(e=(t=Wr.projectTreeContextMenuData)==null?void 0:t.treeRowData)==null?void 0:e.args)==null?void 0:i.type))},callback:t=>Mc(t.id)},{id:"open_in_the_workspace",title:"Open in Workspace",hotkeyCmd:"open_in_the_workspace",subHotkeyId:"homepage_prj_menu_open_in_the_workspace",isHide:()=>{var t,e,i;return Je||!((i=(e=(t=Wr.projectTreeContextMenuData)==null?void 0:t.treeRowData)==null?void 0:e.args)!=null&&i.isProject)},callback:t=>Mc(t.id)},{id:"delete_folder",title:"Delete",hotkeyCmd:"delete_folder",subHotkeyId:"homepage_prj_menu_delete_folder",isHide:()=>{var t,e,i;return!(!Je&&["FOLDER_MINE","FOLDER_MY_TEAM"].includes((i=(e=(t=Wr.projectTreeContextMenuData)==null?void 0:t.treeRowData)==null?void 0:e.args)==null?void 0:i.type))},callback:t=>Mc(t.id)},{id:"Project Management",title:"Project Management",hotkeyCmd:"opensubmenu_prjManagement",subHotkeyId:"homepage_prj_menu_opensubmenu_prjManagement",isHide:()=>{var t,e,i;return Je||!((i=(e=(t=Wr.projectTreeContextMenuData)==null?void 0:t.treeRowData)==null?void 0:e.args)!=null&&i.isProject)},children:l4r},{id:"Version Management",title:"Backup Management",hotkeyCmd:"opensubmenu_version_management",subHotkeyId:"homepage_prj_menu_opensubmenu_version_management",isHide:()=>{var t,e,i;return Je||!((i=(e=(t=Wr.projectTreeContextMenuData)==null?void 0:t.treeRowData)==null?void 0:e.args)!=null&&i.isProject)},children:{menuId:"project-tree_Version Management",defaultConfig:[{id:"switch_version",title:"Switch Backup...",hotkeyCmd:"switch_version",subHotkeyId:"homepage_ver_manager_menu_switch_version",callback:t=>Mc(t.id)},{id:"version_manager",title:"Backup Management",hotkeyCmd:"version_manager",subHotkeyId:"homepage_ver_manager_menu_version_manager",callback:t=>Mc(t.id)}]}},{id:"Team Management",title:"Team Management",hotkeyCmd:"opensubmenu_team_management",subHotkeyId:"homepage_prj_menu_opensubmenu_team_management",isHide:()=>{var i,o;let{type:t,iconCls:e}=((o=(i=Wr.projectTreeContextMenuData)==null?void 0:i.treeRowData)==null?void 0:o.args)||{};return!(!Je&&!iT&&["OWNER_MY_TEAM","OWNER_MY_PARTICIPATED"].includes(t)&&(t=="OWNER_MY_TEAM"||e.includes("team")))},children:c4r}]};var z6i=L(A5e());var Q5t=L(Se());var K5t=L(W5t()),jj=L(z()),{locals:d4r}=K5t.default,N5e=be.bind(d4r),u4r=t=>{let{title:e="",children:i,hiddenTitle:o,hidden:r,align:n,colon:a=!0,style:s={},className:l,titleWidth:c,titleStyle:d={},contentClassName:u,contentStyle:p={}}=t;Ae(K5t.default);let m=J();if(r)return(0,jj.jsx)(jj.Fragment,{});let h={alignItems:n==="top"?"flex-start":n==="bottom"?"flex-end":n};return(0,jj.jsx)("div",{className:be(N5e("form-item"),l),style:{...s},children:(0,jj.jsxs)("div",{className:N5e("form-item-wrap"),style:h,children:[!o&&(0,jj.jsx)("div",{className:N5e("form-title-wrap"),style:{...d,width:c||d.width},children:Q5t.default.isValidElement(e)?e:(0,jj.jsx)("span",{className:N5e("form-title"),title:m(e),children:e?`${m(e)}${a?":":""}`:""})}),(0,jj.jsx)("div",{className:be(N5e("form-content-wrap"),u),style:{...p},children:i})]})})},Wv=Q5t.default.memo(u4r);var _6i=L(Bj()),j6i=L(z()),{locals:p4r}=_6i.default,$Oa=be.bind(p4r),Xf=t=>{var e;return(0,j6i.jsx)(Wv,{align:"top",...t,titleWidth:(e=t.titleWidth)!=null?e:165})};var Z5t={enable:!1,protocol:"HTTP",host:"",port:0,username:"",password:""};var J5t={systemOnlineType:M9,libPath:[],projectPath:[],onlinePrjBackupPath:"",appTmpBackupDir:"",cacheDir:"",activation:"",log:{enable:!1,level:"warn",dir:""},autoCheckVersionUpdate:!0},k5e={trace:"Trace log (including warning and error logs)",debug:"Debug log (Contains some information, warning and error logs)",info:"Information log (only Information logs are recorded)",warn:"Warning log (only warning logs are recorded)",error:"Error log (only error logs are recorded)"},B6i=[{value:"trace",text:k5e.trace},{value:"debug",text:k5e.debug},{value:"info",text:k5e.info},{value:"warn",text:k5e.warn},{value:"error",text:k5e.error}];var q5t=class extends qe{constructor(){super(...arguments);this._clientSetting=J5t;this._proxyConfigs=Z5t;this._menuId="RUNNING_MODE";this.modifiedFields=new Set}async initDialog(){this._clientSetting=J5t,this._proxyConfigs=Z5t,this._menuId="RUNNING_MODE",this.modifiedFields=new Set}closeDialog(){this._clientSetting=null,this._proxyConfigs=null,this._menuId=null,this.modifiedFields=null}get menuId(){return Fn&&this._menuId==="SOFTWARE_UPDATES"?null:this._menuId}set menuId(i){this._menuId=i,this.notify()}get autoCheckVersionUpdate(){return this.clientSetting.autoCheckVersionUpdate}set autoCheckVersionUpdate(i){this.setClientSetting("autoCheckVersionUpdate",i)}get mode(){return this.clientSetting.systemOnlineType}set mode(i){this.setClientSetting("mode",i)}get logLevel(){return this.clientSetting.log.level}set logLevel(i){this.setClientSetting("level",i)}get isLogChecked(){return this.clientSetting.log.enable}set isLogChecked(i){this.setClientSetting("enable",i)}setClientSetting(i,o){switch(i){case"mode":this.clientSetting.systemOnlineType=o,this.markFieldAsModified("RUNNING_MODE");break;case"libPath":this.clientSetting.libPath=o,this.markFieldAsModified("DATA_PATH");break;case"projectPath":this.clientSetting.projectPath=o,this.markFieldAsModified("DATA_PATH");break;case"onlinePrjBackupPath":this.clientSetting.onlinePrjBackupPath=o,this.markFieldAsModified("DATA_PATH");break;case"appTmpBackupDir":this.clientSetting.appTmpBackupDir=o,this.markFieldAsModified("DATA_PATH");break;case"autoCheckVersionUpdate":this.clientSetting.autoCheckVersionUpdate=o,this.markFieldAsModified("SOFTWARE_UPDATES");break;case"level":this.clientSetting.log.level=o,this.markFieldAsModified("OTHER_SETTING");break;case"enable":this.clientSetting.log.enable=o,this.markFieldAsModified("OTHER_SETTING");break;case"activation":this.clientSetting.activation=o,this.markFieldAsModified("OTHER_SETTING");break}this.notify()}get clientSetting(){return this._clientSetting}get cacheSetting(){return this._cacheSetting}batchClientSettings(i){Fn&&i.systemOnlineType==="ONLINE"&&(i.systemOnlineType="OFFLINE"),this._clientSetting=i,this._cacheSetting=ue.deepClone(i),this.notify()}get proxyConfigs(){return this._proxyConfigs}syncProxyConfings(i){this._proxyConfigs=i}setProxyConfigs(i,o){i=="port"&&(o=Number(o)),this._proxyConfigs[i]=o,this.markFieldAsModified("NETWORK_PROXY"),this.notify()}getModifiedFields(){return this.modifiedFields}delModifiedFields(i){for(let o of i)this.modifiedFields.delete(o);this.notify()}markFieldAsModified(i){this.modifiedFields.add(i)}toJSON(){let i=this.proxyConfigs;return i.port=Number(i.port),{...this.clientSetting,proxy:i}}},Aa=new q5t;var F3=L(z()),{locals:h4r}=z6i.default,Kze=be.bind(h4r),F6i=()=>{let t=J();Ce(Aa);let e=[{value:"ONLINE",label:"Online Mode",style:{lineHeight:"inherit"}},{value:"HALF_OFFLINE",label:"Half Offline Mode"},{value:"OFFLINE",label:"Full Offline Mode"}];Fn&&e.shift();let i=()=>{switch(Aa.mode){case"ONLINE":if(Fn)break;return(0,F3.jsxs)("div",{className:Kze("tip-container"),children:[(0,F3.jsx)("p",{children:t("Tip:")}),(0,F3.jsx)("p",{children:t("1. Full online mode the projects and libraries are saved on the server")}),(0,F3.jsx)("p",{children:t("2. After changing the operating mode, you need to restart the client")}),(0,F3.jsx)("p",{children:t("3. When switching to online mode but unable to connect to the internet, the client will automatically switch to offline mode to make sure that the software can be run normally")})]});case"HALF_OFFLINE":return(0,F3.jsxs)("div",{className:Kze("tip-container"),children:[(0,F3.jsx)("p",{children:t("Tip:")}),(0,F3.jsx)("p",{children:t("1. Half offline mode the projects and libraries are saved on the local, support to use the online system libraries")}),(0,F3.jsx)("p",{children:t("2. After changing the operating mode, you need to restart the client")})]});case"OFFLINE":return(0,F3.jsxs)("div",{className:Kze("tip-container"),children:[(0,F3.jsx)("p",{children:t("Tip:")}),(0,F3.jsx)("p",{children:t("1. Full offline mode the projects and libraries are saved on the local, doesn't support to use the online system libraries")}),(0,F3.jsx)("p",{children:t("2. After changing the operating mode, you need to restart the client")})]});default:return null}};return(0,F3.jsxs)("div",{className:Kze("runMode-container"),children:[(0,F3.jsx)(Xf,{title:"Running mode setting",children:(0,F3.jsx)($i,{value:Aa.mode,options:e,subRadioStyle:{lineHeight:"22px"},layoutVertical:!0,onChange:o=>Aa.mode=o})}),i()]})};var iSt=L(Bj());var V6i=L(Bj());var Zze=L(Se()),U6i=L(Bj());var TJ=L(z()),{locals:f4r}=U6i.default,P5e=be.bind(f4r),Jze=t=>{let{type:e,paths:i,operateProps:o={},onChange:r}=t,n=J(),[a,s]=(0,Zze.useState)(""),l=i.findIndex(m=>a===m),c=()=>{if(i.length>=10){let h=n({value:"10 {0} paths at most can be saved\uFF01",options:[n(e)]});Dt({title:"Tip",icon:"info",content:h,confirmText:"Confirm"});return}let m=i.length?i[i.length-1]:"";Av(m).then(h=>{h.code===1&&r([...i,h.path])})},d=m=>{let h=i[m];h&&Av(h).then(f=>{if(f.code===1){let g=[...i];g[m]=f.path,r(g)}})},u=m=>{let h=l,f=[];switch(m){case"add":{c();return}case"up":{f=[...i],f[h]=i[h-1],f[h-1]=i[h];break}case"down":{f=[...i],f[h]=i[h+1],f[h+1]=i[h];break}case"delete":{f=[...i.slice(0,l),...i.slice(l+1,i.length)];break}}r(f)},p=(0,Zze.useMemo)(()=>i.map((m,h)=>{let f=a===m;return(0,TJ.jsxs)("li",{className:P5e("client-path",{selected:f}),children:[(0,TJ.jsx)("input",{value:m||"",className:P5e("client-path-input"),readOnly:!0,onClick:()=>{f?d(h):s(m)}}),(0,TJ.jsx)("span",{className:P5e("input-three-dot"),onClick:()=>{s(m),d(h)},children:"\xB7\xB7\xB7"})]},m+h)}),[i,l]);return(0,TJ.jsxs)("div",{className:P5e("client-path-list"),"data-test":`${e}PathList`,children:[(0,TJ.jsx)(ec,{...o,upDisabled:l<=0,downDisabled:l<0||l===i.length-1,deleteDisabled:l<0,style:{margin:"0px 0px 10px"},onClick:m=>{u(m)}}),(0,TJ.jsx)("ul",{className:P5e("client-path-ul"),children:p})]})};var X5t=L(z()),{locals:g4r}=V6i.default,jRa=be.bind(g4r),H6i=t=>{let{paths:e,onChange:i}=t,o=J();return(0,X5t.jsx)(Xf,{title:"Libraries path",style:{margin:"8px 0"},children:(0,X5t.jsx)(Jze,{type:"Library",paths:e,operateProps:{upButton:!1,downButton:!1},onChange:i})})};var G6i=L(Bj());var $5t=L(z()),{locals:b4r}=G6i.default,GRa=be.bind(b4r),Y6i=t=>{let{path:e,onChange:i}=t,o=J();return(0,$5t.jsx)(Xf,{title:"Online projects backup path",align:"center",style:{margin:"8px 0"},children:(0,$5t.jsx)(ea,{dataTest:"Online projects backup path",value:e,hasClearButton:!1,style:{height:"24px"},openDialog:()=>{Av(e).then(n=>{n.code===1&&i(n.path)})}})})};var W6i=L(Bj());var eSt=L(z()),{locals:y4r}=W6i.default,JRa=be.bind(y4r),Q6i=t=>{let{paths:e,onChange:i}=t,o=J();return(0,eSt.jsx)(Xf,{title:"Offline Project path",style:{margin:"8px 0"},children:(0,eSt.jsx)(Jze,{type:"Project",paths:e,onChange:i})})};var K6i=L(Bj());var tSt=L(z()),{locals:w4r}=K6i.default,o_a=be.bind(w4r),Z6i=t=>{let{path:e,onChange:i}=t,o=J(),r=()=>{Av(e).then(n=>{n.code===1&&i(n.path)})};return(0,tSt.jsx)(Xf,{title:o("Project Cache Recovery Path"),align:"center",style:{margin:"8px 0"},children:(0,tSt.jsx)(ea,{dataTest:"Project Cache Recovery Path",value:e,hasClearButton:!1,style:{height:"24px"},openDialog:r})})};var IA=L(z()),{locals:C4r}=iSt.default,f_a=be.bind(C4r),J6i=()=>{Ae(iSt.default),Ce(Aa);let t=J(),e=Aa.clientSetting;return(0,IA.jsxs)(IA.Fragment,{children:[!Fn&&(0,IA.jsx)("p",{style:{marginTop:"8px"},children:t("Tips: After changing the path, you need to restart the client")}),(0,IA.jsxs)(IA.Fragment,{children:[(0,IA.jsx)(H6i,{paths:e.libPath,onChange:i=>Aa.setClientSetting("libPath",i)}),(0,IA.jsx)(Q6i,{paths:e.projectPath,onChange:i=>Aa.setClientSetting("projectPath",i)}),!Fn&&(0,IA.jsx)(Y6i,{path:e.onlinePrjBackupPath,onChange:i=>Aa.setClientSetting("onlinePrjBackupPath",i)}),(0,IA.jsx)(Z6i,{path:e.appTmpBackupDir,onChange:i=>Aa.setClientSetting("appTmpBackupDir",i)})]})]})};var eIi=L(Bj());var q6i=L(Se());var VT=L(z());function qze(t){let{version:e,showNotPromptOption:i=!1}=t,o={checkedNotShow:!1},r=()=>{let s=J(),l=()=>{i&&o.checkedNotShow&&vme(!1),le.destroy(a)},c=async()=>{let u=()=>{fetch(C.apis.client.install,{method:"GET"})};ap().unsaveFileTabId.length?xl().then(()=>{l(),u()},()=>{De({type:"error",msg:"Saved failed!"})}):u()},d=async u=>{switch(u){case"viewUpdateNotes":{window.open(C.HelpURL.updateNote,"_blank");break}case"updateVersion":{c();break}case"cancel":{l();break}}};return(0,VT.jsxs)(VT.Fragment,{children:[(0,VT.jsx)(Me,{"data-test":"View update notes",size:"md",onClick:()=>d("viewUpdateNotes"),children:"View update notes"}),(0,VT.jsx)(Me,{"data-test":"Update immediately",size:"md",type:"primary",onClick:()=>d("updateVersion"),children:"Update immediately"}),(0,VT.jsx)(Me,{"data-test":"Cancel",size:"md",onClick:()=>d("cancel"),children:"Cancel"})]})},a=Dt({width:430,title:"Tip",icon:"info",mask:!1,content:(0,VT.jsx)(()=>{let s=J(),[l,c]=(0,q6i.useState)(!1);return(0,VT.jsxs)(VT.Fragment,{children:[(0,VT.jsxs)("div",{style:{minHeight:50},children:[(0,VT.jsx)("p",{children:s({value:"EasyEDA Pro {0} is ready, do you want to upgrade it immediately?",options:[e]})}),(0,VT.jsx)("p",{style:{color:"#868686"},children:s("Update immediately will automatically save the document and close the client")})]}),i&&(0,VT.jsx)(qt,{dataTest:"Don't show again",checked:l,onChange:d=>{c(d),o.checkedNotShow=d},children:"Don't show again"})]})},{}),footer:(0,VT.jsx)(r,{})})}var X6i=L(Se());var WS=L(z()),Dme=null;function $6i(t){let{version:e,showNotPromptOption:i=!1}=t,o={checkedNotShow:!1},r=()=>{let s=J(),l=()=>{i&&o.checkedNotShow&&vme(!1),le.destroy(a)},c=async()=>{Dme==null||Dme.close();let p=await(await fetch(`${C.apis.client.download}?version=${e}`,{method:"GET"})).json();if(p&&p.success){Dme=De({type:"info",msg:{value:"{0} downloading... {1} % ",options:{0:e,1:33}},timer:0});let m=async()=>{let f=await(await fetch(C.apis.client.updateProgress,{method:"GET"})).json();if(f&&f.success)if(f.progress>1)Dme.close(),qze({version:e,showNotPromptOption:i});else{let g=s({value:"{0} downloading... {1} %",options:[e,parseInt(f.progress*100+"")]});Dme.updateMsg(g),setTimeout(m,100)}};m(),l()}},d=async u=>{switch(u){case"viewUpdateNotes":{window.open(C.HelpURL.updateNote,"_blank");break}case"downloadPack":{c();break}case"cancel":{l();break}}};return(0,WS.jsxs)(WS.Fragment,{children:[(0,WS.jsx)(Me,{"data-test":"View update notes",size:"md",onClick:()=>d("viewUpdateNotes"),children:"View update notes"}),(0,WS.jsx)(Me,{"data-test":"Download Immediately",size:"md",type:"primary",onClick:()=>d("downloadPack"),children:"Download Immediately"}),(0,WS.jsx)(Me,{"data-test":"Cancel",size:"md",onClick:()=>d("cancel"),children:"Cancel"})]})},a=Dt({width:430,title:"Tip",icon:"info",mask:!1,content:(0,WS.jsx)(()=>{let s=J(),[l,c]=(0,X6i.useState)(!1);return(0,WS.jsxs)(WS.Fragment,{children:[(0,WS.jsx)("div",{style:{minHeight:50},children:(0,WS.jsx)("p",{children:s({value:"There is a new version {0} released, do you want to download it immediately?",options:[e]})})}),i&&(0,WS.jsx)(qt,{dataTest:"Don't show again",checked:l,onChange:d=>{c(d),o.checkedNotShow=d},children:"Don't show again"})]})},{}),footer:(0,WS.jsx)(r,{})})}var oSt=class extends jwe{async versionAutoCheck(e){let i=!1;if(wi){let{checkUpdate:o}=await this.getClientConfig();if(!o)return;e?C.messageBus.subscribe("loadProjectCompleted",async()=>{i||setTimeout(()=>{this.checkOpenVersionUpdateDlg(!0),i=!0},3500)}):i||(this.checkOpenVersionUpdateDlg(!0),i=!0)}}async checkOpenVersionUpdateDlg(e=!1){let i=this.getCurrentVersion(),o=await this.getLatestVersion();if(this.compareVersion(o,i)>=1){let n=await this.hasLatestPackage(o);return n?qze({version:n.version,showNotPromptOption:e}):$6i({version:o,showNotPromptOption:e}),!0}return!1}async hasLatestPackage(e){let o=await(await fetch(C.apis.client.updateProgress,{method:"GET"})).json();return o&&o.success&&o.version&&this.compareVersion(o.version,e)>=0&&o.progress===2?{version:o.version}:null}async getLatestVersion(){let{platform:e,installer:i}=await this.getClientConfig(),o=await Ol.get(C.apis.client.version,{});if(e=typeof e=="string"?e.toLowerCase():"",o&&o.success&&o.result){let[r,n]=i.split("-");switch(r){case"windows":r="win";break}let a=`proClientVersion${r}${n}`.toLowerCase();for(let s in o.result)if(s.toLowerCase()===a)return o.result[s];return""}else return""}async getClientConfig(){let e=await Ol.get(C.apis.client.config,{});return e&&e.success&&e.result?e.result:{}}},SJ=new oSt;var QS=L(z()),{locals:x4r}=eIi.default,T4r=be.bind(x4r),tIi=()=>{let t=J();Ce(Aa);let e=async()=>{if(Fn)return;await SJ.checkOpenVersionUpdateDlg()||De({type:"success",msg:"Currently the latest version"})};return Fn?(0,QS.jsx)(QS.Fragment,{}):(0,QS.jsx)(Xf,{title:"Check for updates",children:(0,QS.jsxs)("div",{style:{marginBottom:"16px"},children:[(0,QS.jsxs)("span",{"data-test":"Client version",children:[t("Client version"),": "]}),(0,QS.jsx)("span",{children:SJ.getCurrentVersion()}),(0,QS.jsx)("a",{"data-tagitem":"checkUpdates",className:T4r("comm-btn-text comm-btn-operate-link"),target:"_blank",href:"javascript:void(0);",onClick:()=>e(),style:{minWidth:"initial",maxWidth:"initial",textAlign:"left",paddingLeft:"16px",width:"79.3438px",flex:"0 0 79.3438px",textDecoration:"none"},children:(0,QS.jsx)("span",{"data-teat":"Check for updates",children:t("Check for updates")})}),(0,QS.jsx)("div",{style:{marginTop:"7px"},children:(0,QS.jsxs)("label",{style:{position:"relative"},children:[(0,QS.jsx)("input",{"data-input-type":"single-checkbox","data-attritem-input":"autoCheckVersionUpdate",checked:Aa.autoCheckVersionUpdate,name:"autoCheckVersionUpdate",type:"checkbox",onChange:i=>Aa.autoCheckVersionUpdate=i.target.checked,style:{marginRight:"4px",verticalAlign:"middle",cursor:"pointer"}}),(0,QS.jsx)("span",{style:{verticalAlign:"middle",cursor:"pointer"},"data-test":"Automatically check for updates",children:t("Automatically check for updates")})]})})]})})};var iFe=L(Se()),xIi=L(Bj());async function iIi(){try{return{ret:0,data:await(await fetch("app://api/system/getCacheSize",{method:"get"})).json(),msg:""}}catch(t){return console.error(t),{ret:-1,msg:me.i18n("Failed to get data"),data:null}}}async function rSt(t){try{return{ret:0,data:await(await fetch("app://api/system/clearCache",{method:"post",body:JSON.stringify(t)})).json(),msg:""}}catch(e){return console.error(e),{ret:-1,msg:me.i18n("Failed to get data"),data:null}}}async function oIi(t){try{let e=await ii("clear-cache",{});e.$on("confirm",async i=>{try{await rSt(i.data.clearCacheSetting),this.renderCacheSizeView(),e.$closeDialog()}catch(o){alert(o.msg)}}),e.$on("cancel",i=>{e.$closeDialog()})}catch(e){console.warn(e)}}var rIi=L(Se()),jre=L(z()),Xze=class{constructor(){this.selector="";this.content=[];this.subs=[];this.parent=null}};function S4r(t){let e=new Xze,i=e,o="",r=[],n=!0,a=0,s="",l="";function c(){return t[a++]}function d(){return t[--a]}function u(){return t[a]}function p(f){for(;;){let g=u();if([" ",`
`,"	"].includes(g))c();else break}return[":",`
`,"	"].includes(f)?"":" "}function m(){for(;;){let f=u();if([`
`].includes(f))break;c()}return""}let h=!0;for(;h&&(s=l,l=c(),l!==void 0);)switch(l){case"{":{let f=new Xze;i.subs.push(f),f.parent=i,i=f,i.parent&&i.parent!==e&&o.startsWith(".")&&(o=" "+o),i.selector=o.replace("&",""),r.push(i),o="",n=!1;break}case";":{o+=l,i.content.push(o),o="";break}case"}":{i.content.push(o),o="",r.pop();let f=r[r.length-1];f&&(i=f);break}case".":n=!0,o+=l;break;case"&":{o=l,n=!0;break}case"/":u()==="/"&&m();break;case`
`:break;case"	":break;case" ":{if(n)break;l=p(s)}default:{o+=l;break}}return e.subs[0]}function nIi(t,e){let i="";if(!t)return i;i+=e+t.selector+"{"+t.content.join("")+"}";for(let o of t.subs)i+=nIi(o,e+t.selector);return i}function M4r(t){let e=S4r(t);return nIi(e,"")}function I4r(t,e){let i="."+t+"{"+e+"}";return M4r(i)}function KS(t){return(e,...i)=>{let o=e==null?void 0:e.length;return function(n){var c;let a="";if(o)for(let d=0;d<e.length;d++){let u=(c=i[d])!=null?c:"",p=u;ue.isFn(u)&&(p=u(n)),a+=e[d]+p}let s="eda_style_"+(0,rIi.useId)().replace(/\:/g,""),l=[s];return n.className&&l.push(n.className),(0,jre.jsxs)(jre.Fragment,{children:[(0,jre.jsx)("style",{id:s,children:I4r(s,a)}),(0,jre.jsx)(t,{...n,className:l.join(" ")})]})}}}var TIi=L(Vi());var pIi=L(Vi()),O5e=L(Se());var $ze=L(Se()),aIi=L(z()),Eme=t=>{let{value:e,onBlur:i,onChange:o,enterTriggerBlur:r,style:n,...a}=t,[s,l]=(0,$ze.useState)(e);return(0,$ze.useEffect)(()=>{l(e)},[e]),(0,aIi.jsx)("textarea",{style:{padding:"4px 8px",...n||{}},value:s,onChange:c=>{l(c.target.value),o==null||o(c)},onBlur:c=>i==null?void 0:i(c),onKeyUp:c=>{r&&c.key==="Enter"&&c.target.dispatchEvent(new Event("blur"))},...a})};var sIi="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/ContactUs-XQYL5T3Q.png";var Kg=L(z()),lIi="contact-us";function v4r(){let t=J(),e="https://lceda.cn/page/enterprise-service";return(0,Kg.jsx)(Kg.Fragment,{children:(0,Kg.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,Kg.jsxs)("div",{style:{fontSize:"14px",lineHeight:"1.57",wordWrap:"break-word"},children:[(0,Kg.jsx)("div",{style:{height:"22px",lineHeight:"22px"},children:t("Visit the website or scan the QR code to contact us\uFF1A")}),(0,Kg.jsx)("div",{style:{height:"22px",lineHeight:"22px"},children:(0,Kg.jsx)("a",{href:e,style:{textDecoration:"none",color:"#1677ff",cursor:"pointer"},onClick:r=>{r.preventDefault(),window.open(e,"_blank")},children:e})}),(0,Kg.jsxs)("div",{style:{height:"22px",lineHeight:"22px"},children:[(0,Kg.jsxs)("span",{children:[t("EmailText.email"),": "]}),(0,Kg.jsx)("span",{children:"eda-service@sz-jlc.com"})]}),(0,Kg.jsxs)("div",{style:{height:"22px",lineHeight:"22px"},children:[(0,Kg.jsxs)("span",{children:[t("Phone"),": "]}),(0,Kg.jsx)("span",{children:"186 8203 5937"})]})]}),(0,Kg.jsx)("img",{className:"",style:{width:"100px",height:"100px"},src:sIi})]})})}function D4r(){let t=J();return(0,Kg.jsx)(Kg.Fragment,{children:(0,Kg.jsx)(Me,{"data-test":"Next Step",type:"primary",onClick:()=>{le.close(lIi)},children:t("Confirm")})})}function eFe(){le.open({id:lIi,title:"Contact Us",width:520,height:244,closed:!0,children:(0,Kg.jsx)(v4r,{}),footer:(0,Kg.jsx)(D4r,{})})}var Zg=L(z()),nSt="import-active-file",aSt=class extends qe{constructor(){super(...arguments);this._activeFileContent="";this._machineCode=""}get activeFileContent(){return this._activeFileContent}set activeFileContent(i){this._activeFileContent=i,this.notify()}get machineCode(){return this._machineCode}set machineCode(i){this._machineCode=i,this.notify()}},YV=new aSt;function cIi(t){t.preventDefault()}function dIi(t){t.preventDefault()}function uIi(t){t.preventDefault();let e=t.dataTransfer.files;console.log(`\u62D6\u52A8\u4E86 ${e.length} \u4E2A\u6587\u4EF6`),mIi(e[0]),t.currentTarget.style.border="none"}function mIi(t){let e=new FileReader;e.readAsText(t),e.onload=function(i){let o=i.target.result;o&&(YV.activeFileContent=o)}}function E4r(){let t=J();Ce(YV);let e=(0,O5e.useRef)(null),i=YV.machineCode,o=YV.activeFileContent;return(0,O5e.useEffect)(()=>{let r=e.current;return r.addEventListener("dragover",cIi),r.addEventListener("dragleave",dIi),r.addEventListener("drop",uIi),()=>{r.removeEventListener("dragover",cIi),r.removeEventListener("dragleave",dIi),r.removeEventListener("drop",uIi)}}),(0,O5e.useEffect)(()=>{k4r().then(r=>{r!=null&&r.success&&(YV.machineCode=r.result.code)})},[]),(0,Zg.jsx)(Zg.Fragment,{children:(0,Zg.jsxs)("div",{children:[(0,Zg.jsxs)("div",{style:{position:"relative",paddingBottom:"2px"},children:[(0,Zg.jsx)("span",{className:be("messager-icon messager-warning"),style:{top:"2px",filter:"none",width:"16px",height:"16px"}}),(0,Zg.jsx)("div",{style:{paddingLeft:"18px",minHeight:"20px"},children:t("Please import the activation file, or copy and paste all the contents in the activation file, and then activate the client")})]}),(0,Zg.jsx)("div",{ref:e,children:(0,Zg.jsx)(Eme,{value:o,style:{height:"210px",width:"100%"},onChange:r=>{YV.activeFileContent=r.target.value}})}),(0,Zg.jsxs)("div",{style:{marginTop:"10px"},children:[(0,Zg.jsx)("span",{children:t("Please provide this code to the sales to get the activation file:")+i}),(0,Zg.jsx)("a",{style:{cursor:"pointer",marginLeft:"4px"},onClick:async()=>{try{await navigator.clipboard.writeText(i),new Fi({type:"success",msg:"Copy successfully, please send to the sales to get the activation code"})}catch{console.log("\u590D\u5236\u5931\u8D25")}},children:t("Copy")})]})]})})}async function A4r(){let t=C.apis.enterprise.importClientLicense,i={method:"post",body:YV.activeFileContent};return await(await fetch(t,i)).json()}function N4r(){let t=J();Ce(YV);let e="forbidden";return YV.activeFileContent&&(e="primary"),(0,Zg.jsxs)(Zg.Fragment,{children:[(0,Zg.jsx)(Me,{"data-test":"Get Activation File",type:"default",style:{position:"absolute",top:"0px",left:"16px"},onClick:()=>{eFe()},children:t("Get Activation File")}),(0,Zg.jsx)(Me,{"data-test":"Previous step",type:"default",onClick:()=>{Bre(),le.close(nSt)},children:t("Previous step")}),(0,Zg.jsx)(Me,{"data-test":"Import Activation File",type:"default",onClick:()=>{let i={multiple:!1,accept:"text/plain",fileFilter:function(r){return/\.(txt)$/i.test(r.name)},onValidate:function(r){r||Ut({type:"warn",message:"Please select an plain text file."})},onSelectFiles:function(r){let n=r[0];n&&mIi(n)}},o;o||(o=nu.instance((0,pIi.default)("<br>")).config(i)),o.openSelect()},children:t("Import Activation File")}),(0,Zg.jsx)(Me,{"data-test":"Activation",type:e,onClick:async()=>{if((await A4r()||{}).success)le.close(nSt),location.reload();else{let o=Dt({title:"Error",icon:"error",closed:!0,showConfirm:!0,esc:!1,content:"The activation file content is incorrect. Please check it."})}},children:t("Activation")})]})}async function k4r(){let t=C.apis.enterprise.getClientMachineCode;return await(await fetch(t,{method:"get"})).json()}function hIi(){let t=ZS.source==="clientSetting";le.open({id:nSt,title:"Active Client",width:600,closed:t,esc:!1,mask:ZS.source==="clientSetting",children:(0,Zg.jsx)(E4r,{}),footer:(0,Zg.jsx)(N4r,{})})}var fIi=L(Hr()),WV=L(z());function gIi(){let t=document.createElement("div");Object.assign(t.style,{position:"fixed",left:0,top:0,height:"100%",width:"100%",zIndex:8999,backgroundColor:"#cccccc"}),document.body.append(t),fIi.default.createRoot(t).render((0,WV.jsx)(P4r,{}))}function P4r(){return(0,WV.jsxs)(WV.Fragment,{children:[(0,WV.jsx)("div",{id:"app-window-controls",children:(0,WV.jsx)("button",{type:"button",title:"\u5173\u95ED","data-cmd":"_close",onClick:t=>{var i,o;if(t.button!==0)return;fetch("app://api/controlButton/control",{method:"post",body:JSON.stringify({timeout:0,retryLimit:0,cmd:"_close",winId:(o=(i=self==null?void 0:self.electronAPI)==null?void 0:i.getWinId)==null?void 0:o.call(i)})})}})}),(0,WV.jsx)("div",{className:"window-mask",style:{width:"100vw",height:"100vh",display:"block",zIndex:9006}})]})}var Ame=L(Se());var Jg=L(z()),sSt="connect-to-server",lSt=class extends qe{get ip(){return this._ip}set ip(e){this._ip=e,this.notify()}get port(){return this._port}set port(e){this._port=e,this.notify()}constructor(){super(),this._ip="",this._port=""}},TC=new lSt;function O4r(){let t=J();return Ce(TC),(0,Jg.jsxs)(Jg.Fragment,{children:[(0,Jg.jsxs)("div",{style:{display:"flex",padding:"10px"},children:[(0,Jg.jsxs)("div",{style:{width:"150px",height:"24px",lineHeight:"24px"},children:[t("Server IP Address"),":"]}),(0,Jg.jsx)(Kt,{defaultValue:TC.ip,maxLength:30,onChange:e=>{TC.ip=e}})]}),(0,Jg.jsxs)("div",{style:{display:"flex",padding:"10px"},children:[(0,Jg.jsxs)("div",{style:{width:"150px",height:"24px",lineHeight:"24px"},children:[t("Port"),":"]}),(0,Jg.jsx)(Kt,{defaultValue:TC.port,type:"onlyNumber",maxLength:5,onChange:e=>{TC.port=e}})]})]})}async function R4r(){let t=C.apis.enterprise.updateLicenseService,e={ip:TC.ip,port:TC.port},i={method:"post",body:JSON.stringify(e)};return await(await bIi(t,i,3e4)).json()}function _4r(){let t=J(),[e,i]=(0,Ame.useState)(".");(0,Ame.useEffect)(()=>{let r=setInterval(()=>{i(n=>".".repeat((n.length+1)%4))},333);return()=>{clearInterval(r)}},[]);let o=t("Connecting to the server")+e;return(0,Jg.jsx)(Jg.Fragment,{children:(0,Jg.jsx)("span",{children:o})})}function j4r(){let t=J();Ce(TC);let[e,i]=(0,Ame.useState)("forbidden");return(0,Ame.useEffect)(()=>{let o="forbidden";TC.ip&&TC.port&&(o="primary"),i(o)},[TC.ip,TC.port]),(0,Jg.jsxs)(Jg.Fragment,{children:[(0,Jg.jsx)(Me,{"data-test":"Download Server",type:"default",style:{position:"absolute",top:"0px",left:"16px"},onClick:()=>{eFe()},children:t("Download Server")}),(0,Jg.jsx)(Me,{"data-test":"Previous step",type:"default",onClick:()=>{Bre(),le.close(sSt)},children:t("Previous step")}),(0,Jg.jsx)(Me,{"data-test":"Activation",type:e,onClick:async()=>{i("forbidden");let o="connect";le.open({id:o,title:"",width:400,height:200,closed:!1,children:(0,Jg.jsx)(_4r,{}),footer:!1});let r=await R4r()||{};i("primary"),le.close(o),r.success?(le.close(sSt),location.reload()):r.code===9000204?new Fi({type:"error",msg:"Server connection failed!"}):r.code===9000205&&new Fi({type:"error",msg:"The number of client devices being used simultaneously has reached its limit,please contact other members to log out of the client and try again. "})},children:t("Activation")})]})}function cSt(){let t=ZS.source==="clientSetting";le.open({id:sSt,title:"Active Client",width:600,height:400,closed:t,esc:!1,mask:ZS.source==="clientSetting",children:(0,Jg.jsx)(O4r,{}),footer:(0,Jg.jsx)(j4r,{})})}var $b=L(z()),yIi="active-enterprise-client";var tFe={ImportActiveFileLocally:"Import activation file on standalone machine",ConnectToServer:"Connect to the server to obtain authorization"},dSt=class extends qe{get method(){return this._method}set method(e){this._method=e,this.notify()}get source(){return this._source}set source(e){this._source=e}constructor(){super(),this._method="ImportActiveFileLocally"}},ZS=new dSt;function B4r(){let t=J();Ce(ZS);let e="Please select activation method",i=tFe.ImportActiveFileLocally,o=tFe.ConnectToServer;return(0,$b.jsx)($b.Fragment,{children:(0,$b.jsxs)("div",{className:"",style:{display:"flex"},children:[(0,$b.jsx)("div",{className:"",style:{margin:"10px 20px 10px 20px"},children:(0,$b.jsxs)("span",{title:t(e),"data-test":e,i18n:e,children:[t(e),":"]})}),(0,$b.jsxs)("div",{className:"",children:[(0,$b.jsxs)("label",{className:"",style:{display:"block",padding:"10px",cursor:"pointer"},children:[(0,$b.jsx)("input",{"data-input-type":"radio","data-attritem-input":"symbolLibManage",name:"symbolLibManage1",type:"radio",value:"ImportActiveFileLocally",className:"",onChange:()=>{ZS.method="ImportActiveFileLocally"},checked:ZS.method==="ImportActiveFileLocally"}),(0,$b.jsx)("span",{title:t(i),i18n:i,"data-test":i,className:"",children:t(tFe.ImportActiveFileLocally)})]}),(0,$b.jsxs)("label",{className:"",style:{display:"block",padding:"10px",cursor:"pointer"},children:[(0,$b.jsx)("input",{"data-input-type":"radio","data-attritem-input":"symbolLibManage",name:"symbolLibManage2",type:"radio",value:"ConnectToServer",className:"",onChange:()=>{ZS.method="ConnectToServer"},checked:ZS.method==="ConnectToServer"}),(0,$b.jsx)("span",{title:t(o),i18n:o,"data-test":o,className:"",children:t(tFe.ConnectToServer)})]})]})]})})}function z4r(){let t=J();return(0,$b.jsx)($b.Fragment,{children:(0,$b.jsx)(Me,{"data-test":"Next Step",type:"primary",onClick:()=>{ZS.method==="ImportActiveFileLocally"?hIi():cSt(),le.close(yIi)},children:t("Next Step")})})}async function F4r(){let t=C.apis.client.config;return await(await fetch(t,{method:"get"})).json()}async function U4r(){let t=C.apis.client.activationInfo;return await(await fetch(t,{method:"get"})).json()}async function wIi(){if(!Fn)return;let t=await F4r();if(t.success&&(TC.ip=t.result.licenseService.ip,TC.port=t.result.licenseService.port),!(await U4r()).success){if(gIi(),TC.ip&&TC.port){cSt();return}Bre()}}async function Bre(t){t&&(ZS.source=t);let e=ZS.source==="clientSetting";le.open({id:yIi,title:"Active Client",width:600,height:400,closed:e,esc:!1,mask:ZS.source==="clientSetting",children:(0,$b.jsx)(B4r,{}),footer:(0,$b.jsx)(z4r,{})})}var U3=L(z()),{locals:V4r}=xIi.default,IBa=be.bind(V4r),H4r=KS("div")`
	display: flex;
	align-items: center;
	justify-content: space-between;
`,G4r=KS("div")`
	flex: 1;
	padding: 0 8px;
`,CIi=KS("a")`
	text-decoration: none;
	cursor: pointer;
	color: blue;
	&:hover {
		text-decoration: underline;
	}
`,uSt=({Content:t,firstAction:e,secondAction:i})=>(0,U3.jsxs)(H4r,{children:[(0,U3.jsx)(G4r,{children:t}),(0,U3.jsx)(CIi,{onClick:e.onClick,children:e.label}),(0,U3.jsx)(CIi,{style:{marginLeft:"8px"},onClick:i.onClick,children:i.label})]}),SIi=()=>{var g;let t=J();Ce(Aa);let[e,i]=(0,iFe.useState)(""),{cacheDir:o,activation:r,log:n}=Aa.clientSetting,a=()=>{oIi.call(void 0)};(0,iFe.useEffect)(()=>{s()},[]),Bt(()=>{s()}).key("renderCacheSizeView");let s=async()=>{let b="loading...";try{let y=await iIi(),w=y&&y.data?y.data.cacheSize:0;w/1024**5>=1?b=`${(w/1024**5).toFixed(2)} PB`:w/1024**4>=1?b=`${(w/1024**4).toFixed(2)} TB`:w/1024**3>=1?b=`${(w/1024**3).toFixed(2)} GB`:w/1024**2>=1?b=`${(w/1024**2).toFixed(2)} MB`:w/1024>=1?b=`${(w/1024).toFixed(2)} KB`:b="0 KB",i(b)}catch(y){console.error("Error fetching cache size:",y),i("Error loading cache size")}},l=(b,y)=>{(N0?IIi:MIi)(b).then(x=>{!(N0?x.result.code:x)&&y&&y()})},c=b=>{l(b,()=>{console.log("~~res",b)})},d=b=>{let y=`${b}\\${n.level}`,w=t({value:"There is no {0} log directory at present. After switching the log application and restarting the client, the folder will be automatically generated.",options:[t(n.level)]});l(y,()=>{Dt({icon:"question",content:w,confirmText:"Confirm",closed:!0})})},u=(()=>{if(!window.FileReader)return()=>De({type:"warn",msg:t("Your browser cannot run fileReader"),timer:2.5});let b=/\.txt$/i,y={multiple:!1,accept:".txt",fileFilter:x=>b.test(x.name),onValidate:x=>{x||De({type:"warn",msg:t("Please select a .txt file."),timer:2.5})},onSelectFiles:async x=>{let S=x[0];if(x.length!==1||!b.test(S.name)){De({type:"warn",msg:t("Please select exactly one valid .txt file."),timer:2.5});return}Aa.clientSetting.activation=S.path}},w;return x=>{w||(w=nu.instance((0,TIi.default)("<br>")).config(y)),w.openSelect()}})(),p=((g=r==null?void 0:r.match(/^(.*\\)/))==null?void 0:g[1])||"";async function m(){if(Fn){Bre("clientSetting");return}N0?u(p):pSt({filters:[{extensions:["txt"],name:"Text Files"}],path:p}).then(y=>{y.code==1?Aa.clientSetting.activation=y.path:De({type:"error",msg:"Failed to select the activation file!",timer:2.5})})}async function h(){let b=Xr?"JLCEDA":"EasyEDA";return new Promise((y,w)=>{Dt({title:`${b}(Professional)`,icon:"question",content:me.i18n("Are you sure you want to clear all log files? This action cannot be undone."),confirmText:"Confirm",cancelText:"Cancel",showCancel:!0,onConfirm:async()=>{try{let x=await f();x?De({type:"success",msg:t("Logs cleared successfully"),timer:2.5}):De({type:"error",msg:t("Failed to clear logs"),timer:2.5}),y(x)}catch{De({type:"error",msg:t("An error occurred while clearing log"),timer:2.5}),y(!1)}},onCancel:()=>y(!1)})})}async function f(){let b="api/client/clearLog",y={method:"post",headers:new Headers({"Content-Type":"application/json"})};try{let x=await(await fetch(b,y)).json();return x&&x.success}catch{return!1}}return(0,U3.jsxs)("div",{children:[(0,U3.jsx)(Xf,{title:t("Clear cache"),titleWidth:108,children:(0,U3.jsx)(uSt,{Content:(0,U3.jsxs)("span",{children:[t("Cache used"),":",e]}),firstAction:{label:t("Clear"),onClick:()=>a()},secondAction:{label:t("Open Directory"),onClick:()=>c(o)}})}),(0,U3.jsx)(Xf,{title:t("Activation File"),titleWidth:108,children:(0,U3.jsx)(uSt,{Content:(0,U3.jsx)("span",{children:"lceda-pro-activation.txt"}),firstAction:{label:t("Replace"),onClick:()=>m()},secondAction:{label:t("Open Directory"),onClick:()=>c(p)}})}),(0,U3.jsx)(Xf,{title:t("Client Logs"),titleWidth:108,children:(0,U3.jsx)(uSt,{Content:(0,U3.jsxs)("div",{style:{display:"flex",maxWidth:"308px",marginRight:"6px"},children:[(0,U3.jsx)(qt,{style:{marginRight:"2px"},checked:Aa.isLogChecked,onChange:b=>Aa.isLogChecked=b}),(0,U3.jsx)(xt,{dataTest:"Client Logs",list:B6i,value:Aa.logLevel,optionsAutoWidth:!0,disabled:!Aa.isLogChecked,onChange:b=>{Aa.logLevel=b},style:{maxWidth:mt.getLanguage()=="en"?"90%":null}})]}),firstAction:{label:t("Clear Logs"),onClick:()=>h()},secondAction:{label:t("Open Directory"),onClick:()=>d(n.dir)}})})]})};var mSt=L(A5e());var Hm=L(z()),{locals:Y4r}=mSt.default,LIi=be.bind(Y4r),W4r=({required:t=!1})=>(0,Hm.jsx)("span",{style:{width:"10px",display:"inline-block"},children:t&&(0,Hm.jsx)("em",{style:{transform:"translate3d(-1px, 3px, 10px)",color:"red",marginRight:"3px"},children:"*"})}),Nme=(t,e=!1)=>(0,Hm.jsxs)(Hm.Fragment,{children:[(0,Hm.jsx)(W4r,{required:e}),t]}),vIi=()=>{let t=J();Ae(mSt.default),Ce(Aa);let{enable:e,protocol:i,host:o,port:r,username:n,password:a}=Aa.proxyConfigs,s=(l,c)=>{Aa.setProxyConfigs(l,c)};return(0,Hm.jsxs)("div",{className:LIi("tp-content"),children:[(0,Hm.jsx)(Xf,{title:Nme(t("Use Proxy")),children:(0,Hm.jsxs)($i,{dataTest:"enable",value:e?"Enable":"Disable",gap:16,subRadioStyle:{paddingLeft:"16px"},translate:!1,onChange:l=>s("enable",l=="Enable"),children:[(0,Hm.jsx)(nn,{value:"Enable",children:t("Enable")}),(0,Hm.jsx)(nn,{style:{paddingLeft:"23px"},value:"Disable",children:t("Disable")})]})}),e&&(0,Hm.jsxs)(Hm.Fragment,{children:[(0,Hm.jsx)(Xf,{title:Nme(t("Protocol"),!0),children:(0,Hm.jsxs)($i,{dataTest:"protocol",value:i,gap:16,subRadioStyle:{paddingLeft:"16px"},translate:!1,onChange:l=>s("protocol",l),children:[(0,Hm.jsx)(nn,{value:"http",children:t("HTTP")}),(0,Hm.jsx)(nn,{value:"socks5",children:t("SOCKS5")})]})}),(0,Hm.jsx)(Xf,{title:Nme(t("host"),!0),children:(0,Hm.jsx)(Kt,{value:o,maxLength:30,style:{width:"40%",marginLeft:"16px"},onChange:l=>s("host",l)})}),(0,Hm.jsx)(Xf,{title:Nme(t("Port"),!0),children:(0,Hm.jsx)(Kt,{value:String(r),type:"number",maxLength:5,style:{width:"40%",marginLeft:"16px"},onChange:l=>s("port",l)})}),(0,Hm.jsx)(Xf,{title:Nme(t("Username")),children:(0,Hm.jsx)(Kt,{value:n,maxLength:30,style:{width:"40%",marginLeft:"16px"},onChange:l=>s("username",l)})}),(0,Hm.jsx)(Xf,{title:Nme(t("Password")),children:(0,Hm.jsx)(Kt,{className:LIi("password"),value:a,maxLength:30,style:{width:"40%",marginLeft:"16px"},onChange:l=>s("password",l)})})]})]})};var zj=L(z());function DIi(t){let e=null;switch(t){case"RUNNING_MODE":{e=(0,zj.jsx)(F6i,{});break}case"DATA_PATH":{e=(0,zj.jsx)(J6i,{});break}case"NETWORK_PROXY":{e=(0,zj.jsx)(vIi,{});break}case"SOFTWARE_UPDATES":{Fn&&(e=(0,zj.jsx)(zj.Fragment,{})),e=(0,zj.jsx)(tIi,{});break}case"OTHER_SETTING":{e=(0,zj.jsx)(SIi,{});break}default:e=(0,zj.jsx)("div",{style:{color:"red"}})}return e}var Mc=async(t,e)=>{var l,c,d;if(!Wr.projectTreeContextMenuData&&typeof e>"u")return;let i=(l=Wr.projectTreeContextMenuData)==null?void 0:l.treeId,{args:o,children:r}=((c=Wr.projectTreeContextMenuData)==null?void 0:c.treeRowData)||{},{type:n,id:a,path:s}=o||{};switch(t){case"view_schema":up(a,"detail");break;case"edit":up(a,"setting");break;case"member":up(a,"members");break;case"attachment":up(a,"attachment");break;case"transfer":up(a,"detail","transfer"),tl(C.workspace==="Personal"?{}:{org_uuid:C.workspace});break;case"share":up(a,"detail","share");break;case"version_manager":up(a,"backups");break;case"view_homePage":a&&s&&window.open(C.servicesUrlConfig.oshwhubIndex+"/"+s);break;case"lock":up(a,"detail","lock");break;case"unlock":up(a,"detail","unlock");break;case"delete_project":up(a,"members","delete"),tl(C.workspace==="Personal"?{}:{org_uuid:C.workspace});break;case"quit_project":up(a,"members","remove"),tl(C.workspace==="Personal"?{}:{org_uuid:C.workspace});break;case"edit_owner_team":case"setting_owner_team":MJ(a,"settings",n);break;case"project_owner_team":MJ(a,"projects",n);break;case"members_owner_team":MJ(a,"members",n);break;case"fans_owner_team":MJ(a,"fans",n);break;case"assignment_owner_team":MJ(a,"projects",n,"assignment");break;case"quit_owner_team":MJ(a,"projects",n,"quit");break;case"dissolve_owner_team":MJ(a,"projects",n,"dissolve");break;case"refresh":let u=C.workspace==="Personal"?{}:{org_uuid:C.workspace};tl({...u,refresh:!0});break;case"open_directory":{C.messageBus.rpcCall(Ei.CLIENT.OPEN_DIALOG,[o.path]);break}case"add_project_directory":{LA("DATA_PATH");break}case"sticky_on_top":break;case"expand_all":o?EIi(r,"add",i,o.id):Wr.getExpandKeysStore(i).expandAll();break;case"collapse_all":o?EIi(r,"delete",i,o.id):Wr.getExpandKeysStore(i).collapseAll();break;case"create_new_project":US({defaultOwnerId:o.id});break;case"create_new_folder":Sme({type:"new",defaultOwnerId:o.id});break;case"edit_folder":Sme({type:"edit",folderName:o.title,folderUuid:o.id,defaultOwnerId:o.parentId,filterOption:{belongParentId:o.owner,filterChildId:o.id}});break;case"move_folder":Sme({type:"edit",folderName:o.title,folderUuid:o.id,defaultOwnerId:o.parentId,notFocus:!0,filterOption:{belongParentId:o.owner,filterChildId:o.id}});break;case"delete_folder":Dt({title:"Warning",icon:"warning",content:`
					<div>
						<div class='i18n'>Are you sure to delete this folder?</div>
						${(d=Wr.projectTreeContextMenuData)==null?void 0:d.treeRowData.title}
						<div class='i18n'>Projects in the folder will be moved to the root directory.</div>
					</div>
				`,isHtml:!0,showCancel:!0,closed:!0,confirmText:"Delete Folder",esc:!0,onConfirm:function(){Vc(C.apis.folders.deleteUserFolder,{folder_uuid:a},p=>{if(!p.success){De({type:"error",msg:p.message,timer:2.5});return}tl(C.workspace==="Personal"?{}:{org_uuid:C.workspace})})}});break;case"move_project":Mme({projectName:o.title,projectUuid:o.id,parentFolder:o.parentFolder,defaultOwnerId:o.parentId,filterOption:{belongParentId:o.owner},autoOpenSelect:!0});break;case"open_project":pre(o);break;case"switch_version":yV({id:"",title:"Switch Backup",projectId:a});break;case"backup_project":wi?window.electronAPI.openWindow(`${location.origin}/account/user/projects/all?from=editor&cmd=backup_projects`):window.open("/account/user/projects/all?from=editor&cmd=backup_projects");break;case"open_in_the_workspace":up(a,"detail");break;case"open_in_the_newWindow":pP({projectId:a},!1);break}},EIi=(t,e,i,o)=>{let r=(n,a)=>{for(let s of n)s.children&&r(s.children,s.id),e=="add"?Wr.getExpandKeysStore(i).add(a):Wr.getExpandKeysStore(i).delete(a)};r(t,o)},Ime=(t,e)=>{let i=C.workspace==="Personal"?{}:{org_uuid:C.workspace};t==="order"?(C.projectSortOrder=e,Dpe.setProjectSortOrder(e)):(C.projectSortType=e,Dpe.setProjectSortType(e)),tl(i),kIi()},AIi=t=>(Wr.projectTreeContextMenuData={treeId:t},k6i),NIi=(t,e)=>(Wr.projectTreeContextMenuData={treeId:e,treeRowData:t},Lme);var Qv=L(z()),Q4r=Ku.default.memo(t=>{let{treeId:e,originProjectData:i,highLight:o,dataTicket:r,treeOnlySelect:n,scrollToTopTicket:a,chooseHandle:s}=t,[l,c,d]=La(),u=Wr.getExpandKeysStore(e),p=Wr.getSelectIdStoreStore(e),m=Wr.getKeyboardStore(e);Ce(p);let h=(0,Ku.useRef)(null),f=(0,Ku.useRef)({x:-1,y:-1}),g=(0,Ku.useRef)([]),b=(0,Ku.useRef)(0),y=(0,Ku.useRef)(0),w=(0,Ku.useRef)(void 0),x=(0,Ku.useRef)(""),S=J(),T=be.bind(oFe.default.locals),M=(0,Ku.useContext)(_r),I=26,A=(l==null?void 0:l.height)||0,[D,E]=(0,Ku.useState)(""),[N,R]=(0,Ku.useState)(0),v=(0,Ku.useMemo)(()=>new Object({display:"flex",padding:"0"}),[]),k=(0,Ku.useMemo)(()=>new Object({expandIcon:T("tree-expand"),collapseIcon:T("tree-collapse")}),[]),P=(0,Ku.useMemo)(()=>(y.current!==a&&(y.current=a,w.current=0),w.current),[N,a]);w.current===void 0&&(w.current=0);let O=(0,Ku.useCallback)(K=>{let te=ae=>{let pe=[];return ae.map(Z=>{let ee=u.expandKeys.has(Z.id);pe.push(Z.id,...ee&&Z.children?te(Z.children):[])}),pe};g.current=te(K)},[]),_=(0,Ku.useMemo)(()=>{let K={},te=r!==b.current;te&&(b.current=r,u.clear(),K=RIi(e)),u.allHasChildIds.clear(),i.forEach(ee=>ee.children&&u.allHasChildIds.add(ee.id));let ae=(ee,ce)=>{let ne=[];ee.forEach(re=>{var ie;let Y={};Y.parentId=ce,Y.firstChildId=re.children&&((ie=re.children[0])==null?void 0:ie.id)||"";let X=oe(re);X.args={...re,...Y},X.args.children&&delete X.args.children,X.args.isProject&&(Je?X.href=`${window.location.origin}${window.location.pathname}#prjPath=${re.attributes.wholePath}`:X.href=`${window.location.origin}${window.location.pathname}#id=${re.id}`),X.itemStyleObject={padding:"0 0 0 3px "},ne.push(X)});function oe(re){return re.children?(te&&(re.isExampleProject&&!br()||Je?u.add(re.id,!0,!0):re.id in K?u.collapseKeys.add(re.id):u.add(re.id,!0,!0)),{id:re.id,title:re.title,children:ae(re.children,re.id)}):{id:re.id,title:re.title}}return ne},pe=ae(i),Z=p.selectIds;return Z.length&&!rFe(pe,Z[0])&&p.setSelect([],!0),O(pe),pe},[r,i,p]);Ce(u,()=>(O(_),!0)),Ce(m,()=>{var de,fe,ye,Le;if(!((de=g.current)!=null&&de.length))return;f.current=Wr.getTreeMousePosition(e);let K=x.current,{keyCode:te}=m.keyboardValue,ae=p.selectIds.length&&g.current.some(Re=>Re===p.selectIds[0])?p.selectIds[0]:"",pe=K||ae||g.current[0],Z=rFe(_,pe);if(!Z)return;let{href:ee}=Z,{id:ce,parentId:ne,firstChildId:oe}=Z.args,re=u.expandKeys.has(pe),X=(((ye=(fe=h.current)==null?void 0:fe.querySelector('div[data-tagitem="fixed-height-list-scrolling"]'))==null?void 0:ye.scrollHeight)||0)-A;switch(te){case 38:{if(K||ae){let Ne=g.current.findIndex(Pe=>Pe===pe),Te=Ne-1<0?"":g.current[Ne-1];ie(Te,"up"),Te&&(x.current=Te,E(Te))}else w.current=0,x.current=pe,R(N+1),E(pe);break}case 40:{if(K||ae){let Ne=g.current.findIndex(Pe=>Pe===pe),Te=Ne+1<g.current.length?g.current[Ne+1]:"";ie(Te,"down"),Te&&(x.current=Te,E(Te))}else w.current=0,x.current=pe,R(N+1),E(pe);break}case 37:{re?u.delete(pe):ne&&(x.current=ne)&&E(ne);break}case 39:re?(x.current=oe,ie(oe),x.current=oe,E(oe)):oe&&u.add(pe);break;case 13:oe?re?u.delete(pe):u.add(pe):(Le=Z==null?void 0:Z.args)!=null&&Le.isProject&&!n&&(Wi("SYSTEM","openProjectType",{defaultValue:"new"})=="new"&&C.currentProject.projectId?Je?pP({href:ee},!1):pP({projectId:ce},!1):pre(Z==null?void 0:Z.args)),p.setSelect([Z]);break;case 33:if(w.current>0){f.current={x:0,y:0};let Ne=w.current-A;w.current=Ne<0?0:Ne>X?X:Ne,R(N+1)}break;case 34:if(w.current<X){f.current={x:0,y:0};let Ne=w.current+A;w.current=Ne<0?0:Ne>X?X:Ne,R(N+1)}break;case 36:{w.current!==0&&(w.current=0,R(N+1));let Ne=_[0];p.selectIds.includes(Ne.id)||p.setSelect([Ne],!0)}break;case 35:w.current!==X&&(w.current=X,R(N+1));let Re=_.at(-1);p.selectIds.includes(Re.id)||p.setSelect([Re],!0);break;default:break}function ie(Re,Ne){let Te=0,Pe=w.current;if(Re){let Oe=g.current.findIndex(ze=>ze===Re)||0,Ue=Math.ceil(Pe/I),Ve=Math.floor((Pe+A)/I)-1;Oe<Ue&&(Te=-I),Oe>Ve&&(Te=I)}else Ne==="up"&&Pe>0?Te=-I:Ne==="down"&&Pe<X&&(Te=I);if(Te){let Oe=Math.ceil((Pe+Te)/I)*I;w.current=Oe<0?0:Oe>X?X:Oe,R(N+1)}}return!1});let j=(0,Ku.useRef)(!1);(0,Ku.useEffect)(()=>{j.current=!1;let K=e;return()=>{j.current=!0,requestAnimationFrame(()=>{!j.current&&e===K||(Wr.deleteExpandKeysStore(K),Wr.deleteKeyboardStore(K),Wr.deleteSelectIdStoreStore(K),Wr.treeFocusSet.delete(K))})}},[e]),(0,Ku.useEffect)(()=>(h.current&&c(h.current),()=>{d()}),[h.current]);let B=(K,te=!1)=>{if(!(!K||K==1))switch(K=K.toString(),K){case"2":return(0,Qv.jsx)("span",{className:T("tree-tag tree-tag-success"),children:S("Manager")});case"3":return(0,Qv.jsx)("span",{className:T("tree-tag"),children:S(te?"Member":"Developer")});case"4":return(0,Qv.jsx)("span",{className:T("tree-tag"),children:S("Observer")});default:return(0,Qv.jsx)("span",{className:T("tree-tag"),children:`${K}`})}},V=(0,Ku.useCallback)((K,te,ae)=>{let{title:pe,args:Z}=K,ee=!!Z.i18n;function ce(ne){if(ne=ee?S(ne):ne,!o)return ue.htmlEncode(ne).replace(/\s/g,"&nbsp;");let oe=new RegExp(jd(o),"gi"),re="",Y=0,X;for(;(X=oe.exec(ne))!==null;){let ie=ne.slice(Y,X.index);re+=ue.htmlEncode(ie).replace(/\s/g,"&nbsp;"),re+=`<span class=${oFe.default.locals.hightlight}>${ue.htmlEncode(X[0]).replace(/\s/g,"&nbsp;")}</span>`,Y=oe.lastIndex}return Y<ne.length&&(re+=ue.htmlEncode(ne.slice(Y)).replace(/\s/g,"&nbsp;")),re}return(0,Qv.jsxs)(Qv.Fragment,{children:[Z.iconCls&&(0,Qv.jsx)("span",{className:oFe.default.locals[Z.iconCls]||Z.iconCls,style:{width:"16px",height:"16px",margin:"0 2px"}}),((Z==null?void 0:Z.isProject)||(Z==null?void 0:Z.type)=="OWNER_MY_PARTICIPATED")&&B(Z.role,(Z==null?void 0:Z.type)==="OWNER_MY_PARTICIPATED"),(0,Qv.jsx)("span",{dangerouslySetInnerHTML:{__html:ce(pe)},title:pe,style:{height:"100%",display:"flex",alignItems:"center"}})]})},[o]),G=(0,Ku.useCallback)(async(K,te,ae,pe,Z)=>{if(p.setSelect([te],!0),n){Z.detail===2&&s&&(s.call(null,[te]),le.close(vT)),Z.preventDefault();return}let{id:ee,args:ce,href:ne}=te;ce!=null&&ce.isProject&&(!Z.ctrlKey&&!Z.shiftKey&&Z.preventDefault(),Po.workingMode!==Ee.HOME&&Z.detail===1&&(he.hasTabExistence()||await ET.openProjectAttrPanel(ee.toString())),Z.detail===2&&(Wi("SYSTEM","openProjectType",{defaultValue:"new"})=="new"&&C.currentProject.projectId?Je?pP({href:ne},!1):pP({projectId:ee},!1):pre(ce)))},[Po.workingMode,n]),Q=(0,Ku.useCallback)((K,te)=>{te.expand?u.add(K.id,!0):u.has(K.id)&&u.delete(K.id,!0),O(_),p.setSelect([K],!0)},[_,e]),H=(0,Ku.useCallback)(async(K,te,ae,pe,Z)=>{Z.stopPropagation(),Z.preventDefault(),p.setSelect([te]),!n&&(await OIi(te),pl.open({menuConfig:NIi(te,e),position:{x:Z.pageX-5,y:Z.pageY-5},windowInstance:M}))},[e,n,M]),q=(0,Ku.useCallback)(K=>{w.current=K.scrollTop},[]),U=(0,Ku.useCallback)((K,te)=>{let ae=te.pageX,pe=te.pageY,{x:Z,y:ee}=f.current;pe===ee&&ae===Z||(f.current={x:ae,y:pe},x.current=K.id,D!==void 0&&E(void 0))},[D]),F=(0,Ku.useCallback)((K,te)=>{f.current={x:-1,y:-1},x.current="",D!==void 0&&E(void 0)},[D]);return(0,Qv.jsx)("div",{tabIndex:-1,className:T("projectTreeDiv"),ref:h,onContextMenu:K=>{K.stopPropagation(),K.preventDefault(),pl.open({menuConfig:AIi(e),position:{x:K.pageX-5,y:K.pageY-5},windowInstance:M})},onFocusCapture:K=>{var te;K.stopPropagation(),Wr.treeFocusSet.add(e),(te=h.current)==null||te.focus()},onBlurCapture:K=>{K.stopPropagation(),Wr.treeFocusSet.delete(e)},children:(0,Qv.jsx)(fxe,{data:_,expandedIds:Array.from(u.expandKeys),containerHeight:A+"px",itemHeight:`${I}px`,showTagLine:!1,isVirtualList:!0,treeWidgetItemWidth:"16px",selectedIds:p.selectIds,hoverNodeId:D,initContainerScrollTop:P,onVirtualScroll:q,itemStyleObject:v,emptyLabel:S({value:"No Data!",context:"home"}),itemRender:V,topBufferSize:0,bottomBufferSize:0,extendIcon:k,isPropagationOnExtend:!0,onClick:G,onExpand:Q,onContextMenu:H,onMouseEnter:U,onMouseLeave:F,isUseEventListener:!1},e+y.current)})}),PIi=Q4r;var vA=L(Se());var QV=L(z()),K4r=vA.default.memo(t=>{let e=J(),{type:i="panel"}=t,[o,r]=(0,vA.useState)(0),n=i==="dialog"?vpe:wS,a=(0,vA.useMemo)(()=>n.workSpace,[n.workSpace]);Ce(_f),Ce(n),Ce(_d);let s=(0,vA.useMemo)(()=>_f.loginStatus,[_f.loginStatus]),l=(0,vA.useMemo)(()=>{let d=_t?[]:[{value:"Personal",text:e("Personal")}];return _d.organization.forEach(u=>{d.push({value:u.uuid,text:`${u.name}${u.applyName?" ("+u.applyName+")":""}`})}),d},[_d.organization,is.lang]),c=(0,vA.useCallback)(async d=>{if(d!==a)if(i==="dialog"){let u=d,p=q6,m=u==="Personal"?{treeId:p}:{org_uuid:u,treeId:p};n.setWorkSpace(d),tl(m)}else qg(d),R5e(d)},[i,a]);return(0,vA.useEffect)(()=>{a!==wS.workSpace&&r(o+1)},[]),s&&!Je&&!_t?(0,QV.jsxs)(QV.Fragment,{children:[(0,QV.jsx)("span",{"data-test":"Work Space:",style:{paddingRight:"8px",whiteSpace:"nowrap",lineHeight:"26px"},children:e("Work Space:")}),(0,QV.jsx)(xt,{value:a,list:l,disabled:_t,onChange:c})]}):(0,QV.jsx)(QV.Fragment,{})}),_Ii=K4r;var hSt=L(Se());var jIi=L(z());function fSt(t){let e=(0,hSt.useRef)(null),{searchHistoryType:i,onArrowToggle:o,onBlur:r,onkeydown:n,...a}=t,s=(0,hSt.useRef)(null);return(0,jIi.jsx)(i4,{ref:e,onArrowToggle:u=>{o==null||o(u);let p=e.current;if(p)if(u){let m=p.getDom();s.current=S5e({type:i,onSelect:h=>{p.setValue(h)}},m,[{dom:document.body,type:"mousedown",cb:h=>{let f=I5e(s.current);if(!f)return;let{dom:g,fromDom:b}=f,y=h.target;g!==y&&!g.contains(y)&&b!==y&&!b.contains(y)&&p.arrowToggle(0)}}])}else M5e(s.current),s.current=void 0},onBlur:u=>{r==null||r(u);let p=xJ[i];p.add(u.target.value),p.refreshView()},onkeydown:u=>{if(n==null||n(u),u.key==="Enter"){let p=xJ[i];p.add(u.target.value),p.refreshView()}},...a})}var Fj=L(z()),FS="innerProjectTree";var Z4r=t=>{let{treeId:e,type:i,treeOnlySelect:o,chooseHandle:r}=t,n=J(),a=be.bind(gSt.default.locals);Ae(gSt.default);let s=(0,SC.useRef)(0),l=(0,SC.useRef)(0),c=Wr.getProjectDataStore(e),d=i==="dialog"?vpe:wS,u=(0,SC.useRef)(d.workSpace),p=Wr.getExpandKeysStore(e);Ce(_f),Ce(c);let[m,h]=(0,SC.useState)(0),f=(0,SC.useRef)(""),g=(0,SC.useCallback)(M=>{Object.is(M,f.current)||(l.current+=1,f.current=M,h(I=>I+1))},[]),b=(0,SC.useMemo)(()=>_f.loginStatus,[_f.loginStatus]),y=(0,SC.useMemo)(()=>(u.current!==d.workSpace&&(u.current=d.workSpace,l.current+=1,f.current=""),++s.current),[c.projectData]),w=(0,SC.useMemo)(()=>f.current,[y,m]),x=(0,SC.useMemo)(()=>{let M=new Set,I=(D,E,N=[])=>{let R=[];return D.forEach(v=>{let k=v!=null&&v.i18n?n(v.title):v.title,{type:P,id:O}=v;if(!P.includes("PROJECT")&&k.search(new RegExp(jd(E),"i"))!==-1)R.push(v),N.forEach(_=>M.add(_));else if(v.children){let _=[...N,O],j=I(v.children,E,_);if(j.length>0){let B={...v,children:j};R.push(B),_.forEach(V=>M.add(V))}}else k.search(new RegExp(jd(E),"i"))!==-1&&(R.push(v),N.forEach(_=>M.add(_)))}),R},A=w?I(c.projectData,w):c.projectData;return M.forEach(D=>{p.has(D)||p.add(D)}),A},[w,c.projectData,is.lang]),S=(0,SC.useCallback)(M=>g(M),[]),T=i==="dialog"?{height:"calc(100% - 40px)",marginTop:"8px"}:{height:b&&!Je&&!_t?"calc(100% - 72px)":"calc(100% - 40px)",marginTop:"8px"};return(0,SC.useEffect)(()=>()=>Wr.deleteTreeMousePosition(e),[e]),(0,Fj.jsxs)("div",{className:a("all-project-body"),onMouseMove:M=>{Wr.setTreeMousePosition(e,{x:M.pageX,y:M.pageY})},children:[(0,Fj.jsxs)("div",{style:{display:"flex",flexDirection:i==="dialog"?"row":"column"},children:[b&&!Je&&!_t&&(0,Fj.jsx)("div",{style:{display:"flex",padding:i==="dialog"?"0 8px 0 8px":"8px 8px 0 8px",width:i==="dialog"?"50%":"100%"},children:(0,Fj.jsx)(_Ii,{type:i})}),(0,Fj.jsx)("div",{style:{padding:i==="dialog"?"0 8px 0 8px":"8px 8px 0 8px",position:"relative",width:i==="dialog"&&b&&!Je&&!_t?"50%":"100%"},className:a("all-project-input"),children:(0,Fj.jsx)(fSt,{searchHistoryType:"project",value:w,placeholder:n("Filter"),onChange:S,enterTriggerBlur:!0,hasClearButton:!0,style:{height:"22px",borderColor:"#9bd"}})})]}),(0,Fj.jsx)("div",{className:i==="panel"?a("tree-in-panel"):"",style:T,children:(0,Fj.jsx)(PIi,{treeId:e,highLight:w,originProjectData:x,dataTicket:y,treeOnlySelect:o,chooseHandle:r,scrollToTopTicket:l.current})})]})},t5t=Z4r;function STe(t,e){if(!t)return;let i="treeState."+t,o={};e.forEach(r=>{o[r]=0}),y1(i,JSON.stringify(o))}var rFe=(t,e)=>{let i=null;return t.some(o=>o.id===e?(i=o,!0):o.children?(i=rFe(o.children,e),!!i):!1),i};async function J4r(t){let e=[],i=async(o,r)=>{var a;let{message:n}=await C.messageBus.rpcCall(Ei.OTHER.TEAMS,{org_uuid:t,page:o,pageSize:r,leftTree:!0});if(n.result){let s=((a=n.result)==null?void 0:a.lists)||[];e.push(...s),n.result.totalPage>o&&await i(o+1,r)}};return await i(1,1e4),e}async function q4r(t){let e={success:!1,lists:[],message:"",code:void 0},i=async(o,r)=>{var a;let{message:n}=await C.messageBus.rpcCall(Ei.PROJECT.LIST,{org_uuid:t,leftTree:!0,page:o,pageSize:r});if(n.success&&n.result){e.success=!0;let s=((a=n.result)==null?void 0:a.lists)||[];e.lists.push(...s),n.result.totalPage>o&&await i(o+1,r)}else e.message=n.message||n.msg||"",e.code=n.code};return await i(1,4e3),e}async function tl(t={}){var l,c,d,u;let{refresh:e,treeId:i}=t,o=t.org_uuid==="Personal"?void 0:t.org_uuid,r=Je?[]:await J4r(o);o===C.workspace&&r.length&&ETe(o).then(p=>{if(p){C.teams=ue.deepClone(p),kme(!1),ir.refresh(),zi.setTeamPermissionCaches();let m=Xo.getUserInfoFromCache();p.unshift({nickname:m.username,username:m.username,uuid:_o(),avatar:m.avatar}),bSt(p)}});let n=[],a=Je?await Ol.get(C.apis.client.exampleProjectPaths,{}):await Ol.get(C.apis.others.lcscPublicProject,{}),s=a.success?X4r((l=a.result)==null?void 0:l.lists):[];if(s.length&&(s[0].isExampleProject=!0),Je){let{message:p}=await C.messageBus.rpcCall(Ei.CLIENT.GET_PROJECT_PATHS,e?{refresh:"yes"}:{});if(p.success){let{projectPath:m}=await wd();n=$4r(p.result,m)}else Fn||De({type:"info",msg:Mp(p)})}else if(br()){let p=await q4r(o);if(p.success){let m=p.lists;C.allProjectList=m;let h=_o(),f=Xo.getValueFromCacheUser("nickname"),g=o&&o!=="Personal"||_t?[]:[{key:h,nickName:f,iconCls:"icon-eda-person",type:"OWNER_MINE"}],b=[],y=[],w=[],x={};x[h]=[];let S=[];if(!_t){let R=JSON.parse(JSON.stringify(await Uze(o?{org_uuid:o}:{})));(o===C.workspace||!o&&C.workspace==="Personal")&&(C.personFolders=JSON.parse(JSON.stringify(R)));let{folderProjects:v,folderProjectUuid:k}=BIi(R.children,m,"mine");S=v,m=m.filter(P=>!k.includes(P.uuid))}let T=JSON.parse(JSON.stringify(await Fze(o?{org_uuid:o}:{})));(o===C.workspace||!o&&C.workspace==="Personal")&&(C.teamFolders=JSON.parse(JSON.stringify(T))),DTe.setRefresh();let M={};T.forEach(R=>{let{folderProjects:v,folderProjectUuid:k}=BIi(R.rootList.children,m,"team",R.uuid);m=m.filter(P=>!k.includes(P.uuid)),v.length&&(v[0].teamUuid=R.uuid),M[R.uuid]=v});let I={key:"Participated",iconCls:"icon-eda-join",type:"PARTICIPATED"};m=nFe(m),m.forEach(R=>{var j;let v,k=!1,P=!1,O={id:R.uuid,title:R.name,isPublic:R.public,role:void 0,iconCls:R.public?"icon-eda-project-open-source":"icon-eda-project-fill",isJoin:void 0,type:void 0,attributes:{updateTime:R.updated_at,version:R.version},isInFolder:void 0,owner:R.owner.uuid,isProject:!0,path:R.path};if(R.owner.uuid===h)v=h;else if(R.owner.uuid!==h&&R.owner.team){v=R.owner.uuid;let B=r.find(G=>G.uuid==v&&G.members),V=B?(j=B==null?void 0:B.members)==null?void 0:j.some(G=>G.role==1&&G.uuid==h):!1;v in x||(V?y.push({key:v,nickName:R.owner.nickname,iconCls:"icon-eda-member",type:"OWNER_MY_TEAM"}):b.push({key:v,nickName:R.owner.nickname,iconCls:"icon-eda-team-join",type:"OWNER_MY_PARTICIPATED"}),x[v]=[]),k=!V,R.public||(P=!0)}else v=R.owner.uuid,v in x||(w.push({key:v,nickName:R.owner.nickname,iconCls:"icon-eda-person",type:"OWNER_MY_PARTICIPATED"}),x[v]=[]),k=!0,P=!1;O.isJoin=k,O.type=k?P?"PROJECT_TEAM_MY_PARTICIPATED":"PROJECT_MY_PARTICIPATED":"PROJECT_MINE";let _=R.roleAsName;_!==1&&(O.role=_),x[v].push(O)});for(let R in M){let v=r.find(O=>O.uuid==R&&O.members);if(!v)continue;let k=v.nickname;if((c=v==null?void 0:v.members)==null?void 0:c.some(O=>O.role==1&&O.uuid==h))y.some(O=>O.key==R)||y.push({key:R,nickName:k,iconCls:"icon-eda-member",type:"OWNER_MY_TEAM"});else{let O=v.roleAsName||((u=(d=v==null?void 0:v.members)==null?void 0:d.find(_=>_.uuid==h))==null?void 0:u.role);b.some(_=>_.key==R)?b.find(_=>_.key==R).role=O:b.push({key:R,nickName:k,role:O,iconCls:"icon-eda-team-join",type:"OWNER_MY_PARTICIPATED"})}}let A=b.concat(w),D=[];A=wV(A,"asc",R=>R.nickName||R.nickname||R.name||R.title),A.forEach(R=>{let v={id:R.key,title:R.nickName,type:R.type,i18n:1,iconCls:R.iconCls,role:R.role,children:M[R.key]?M[R.key].concat(x[R.key]||[]):x[R.key]||[]};(!v.children||!v.children.length)&&delete v.children,D.push(v)}),g.forEach(R=>{let v={id:R.key,title:R.nickName,type:R.type,i18n:1,iconCls:R.iconCls,owner:R.key,children:S.concat(x[R.key])};(!v.children||!v.children.length)&&delete v.children,n.push(v)}),wV(y,"asc",R=>R.nickName||R.nickname||R.name||R.title).forEach(R=>{let v={id:R.key,title:R.nickName,type:R.type,i18n:1,iconCls:R.iconCls,owner:R.key,children:M[R.key]?M[R.key].concat(x[R.key]||[]):x[R.key]||[]};(!v.children||!v.children.length)&&delete v.children,n.push(v)});let N={id:I.key,title:I.key,type:I.type,i18n:1,iconCls:I.iconCls,children:D};(!N.children||!N.children.length)&&delete N.children,n.push(N)}else De({type:"info",msg:Mp(p)})}n=n.concat(s),i?Wr.setProjectData(n,i):(Wr.setProjectData(n,FS),Wr.setProjectData(n,q6))}function BIi(t,e,i,o){let r=[],n=(s,l)=>{var u;let c=[];s=wV(s||[],"asc",p=>p.name);let d=_o();for(let p of s){let m={id:p.uuid,title:p.name,iconCls:"icon-eda-folder-2",type:i=="mine"?"FOLDER_MINE":"FOLDER_MY_TEAM",owner:i=="mine"?_o():o,children:[]};if(p.children.length&&(m.children=n(p.children,l)),p.projectList.forEach(h=>{let f,g=l.find(b=>b.uuid==h);if(g){let b=()=>{var y,w;if(g.owner.team){let x=C.teams.find(T=>T.uuid==g.owner&&T.members);return!(x?(y=x==null?void 0:x.members)==null?void 0:y.some(T=>T.role==1&&T.uuid==d):!1)}else if(g.owner==d)return!((w=g==null?void 0:g.members)!=null&&w.some(x=>x.role==1&&x.uuid==d));return!1};f={id:g.uuid,title:g.name,isPublic:g.public,role:g.roleAsName,iconCls:g.public?"icon-eda-project-open-source":"icon-eda-project-fill",isJoin:b(),parentFolder:p.uuid,type:"PROJECT_MINE",attributes:{createTime:g.created_at,updateTime:g.updated_at,version:g.version},isInFolder:!0,owner:g.owner.uuid,isProject:!0,path:g.path},r.push(g.uuid),m.children.push(f)}}),(u=m==null?void 0:m.children)!=null&&u.length){let h=[];for(let f=0;f<m.children.length;f++){let g=m.children[f];g.isProject&&(h.push(g),m.children.splice(f,1),f--)}h.length&&(h=nFe(h)),h.length&&m.children.push(...h)}else m!=null&&m.children&&delete m.children;c.push(m)}return c};return{folderProjects:n(t,e),folderProjectUuid:r}}function X4r(t){let e={},i=[],o=[],r=[];return!t||!t.length||(t=nFe(t),t.forEach(a=>{var d,u,p;let s;a.owner.team?(s=a.owner.uuid,s in e||(o.push({key:s,nickName:a.owner.nickname,iconCls:"icon-eda-team-join",type:"OWNER_MY_TEAM"}),e[s]=[])):(s=a.owner.uuid,s in e||(r.push({key:s,nickName:a.owner.nickname,iconCls:"icon-eda-person",type:"OWNER_MINE"}),e[s]=[]));let l=(d=a==null?void 0:a.members)==null?void 0:d.some(m=>m.uuid==_o()&&(m.role==1||m.role==2)),c={id:a.uuid,title:a.name,iconCls:a.public?"icon-eda-project-open-source":"icon-eda-project-fill",isPublic:a.public,role:(p=(u=a==null?void 0:a.members)==null?void 0:u.find(m=>m.uuid==_o()))==null?void 0:p.role,type:l?"PROJECT_MINE":"PROJECT_MY_PARTICIPATED",attributes:{updateTime:a.updated_at,version:a.version},isProject:!0,path:a.path};e[s].push(c)}),r.concat(o).forEach(a=>{i.push({id:a.key,title:a.nickName,type:a.type,i18n:1,iconCls:a.iconCls,children:e[a.key]})})),i}function wV(t,e,i){let o=/[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~。，、；：？！“”‘’【】『』（）《》〈〉［］｛｝｟｠«»‹›〖〗【】〔〕〈〉《》「」『』【】〖〗〝〞‘’“”‛‟•‧‥…⋯.]/,r=/[0-9]/,n=/[A-Za-z]/,a=/[\u4E00-\u9FFF]/,s=[],l=[],c=[],d=[],u=[],p=[];t.forEach(f=>{let g=i(f),b=g.charAt(0);if(b==="-"&&!isNaN(Number(g)))return l.push(f);if(b==="0")return c.push(f);if(b.match(o))return s.push(f);if(b.match(r))return d.push(f);if(b.match(n))return u.push(f);if(b.match(a))return p.push(f);s.push(f)});let m=(f,g,b)=>{let y=i(f),w=i(g);if(b){let A=y.match(/^(\d+(\.\d+)?)(.*)/),D=w.match(/^(\d+(\.\d+)?)(.*)/);if(A&&D&&A[1]!==D[1])return Number(A[1])-Number(D[1]);A&&D&&(y=A[3],w=D[3])}let x=0,S=Math.min(y.length,w.length),T=0,M=!1,I=!1;do{let A=y.charAt(T),D=w.charAt(T);T===0&&b&&(A==="-"&&(M=!0),D==="-"&&(I=!0));let E=[A,D].map((N,R)=>N.match(o)?0:N.match(r)?1:N.match(n)?2:N.match(a)?3:-1);if(A!==D)if(E[0]!==E[1]){x=E[0]-E[1]>0?1:E[0]===E[1]?0:-1;break}else if(E[0]===1){let N=M?-Number(A):Number(A),R=I?-Number(D):Number(D);x=N-R>0?1:N===R?0:-1;break}else{x=A.localeCompare(D,"zh",{numeric:!0,sensitivity:"base"});break}if(T===S){if(M&&I&&y.length>w.length&&y.charAt(T+1)==="."){x=-1;break}if(M&&I&&y.length<w.length&&w.charAt(T+1)==="."){x=1;break}x=y.localeCompare(w,"zh",{numeric:!0,sensitivity:"base"});break}T+=1}while(T<=S);return x},h=[...s.sort((f,g)=>m(f,g)),...l.sort((f,g)=>Number(i(f))-Number(i(g))),...c.sort((f,g)=>m(f,g,!0)),...d.sort((f,g)=>m(f,g,!0)),...u.sort((f,g)=>m(f,g)),...p.sort((f,g)=>m(f,g))];return e==="asc"?h:h.reverse()}function nFe(t){let e;if(C.projectSortOrder=="ascending")switch(C.projectSortType){case"project_name":e=wV(t,"asc",i=>Je?i.title:i.name||i.title);break;case"creation_time":e=Je?t.sort((i,o)=>o.attributes.createTime<i.attributes.createTime?1:-1):t.sort((i,o)=>{var r,n;return o.created_at?o.created_at<i.created_at?1:-1:((r=o.attributes)==null?void 0:r.createTime)<((n=i.attributes)==null?void 0:n.createTime)?1:-1});break;case"modification_time":e=Je?t.sort((i,o)=>o.attributes.updateTime<i.attributes.updateTime?1:-1):t.sort((i,o)=>o.updated_at?o.updated_at<i.updated_at?1:-1:o.attributes.updateTime<i.attributes.updateTime?1:-1);break}else switch(C.projectSortType){case"project_name":e=wV(t,"desc",i=>Je?i.title:i.name||i.title);break;case"creation_time":e=Je?t.sort((i,o)=>o.attributes.createTime<i.attributes.createTime?-1:1):t.sort((i,o)=>o.created_at?o.created_at<i.created_at?-1:1:o.attributes.createTime<i.attributes.createTime?-1:1);break;case"modification_time":e=Je?t.sort((i,o)=>o.attributes.updateTime<i.attributes.updateTime?-1:1):t.sort((i,o)=>o.updated_at?o.updated_at<i.updated_at?-1:1:o.attributes.updateTime<i.attributes.updateTime?-1:1);break}return e}function $4r(t,e){let i={},o=[];for(let r in t){let n=t[r],a=n.path;e||(e=[n.dir]);let s=n.dir,l="";n.fileName&&n.fileName.endsWith(Ns.eprj)?l=n.fileName.replace(Ns.eprj,""):n.fileName&&n.fileName.endsWith(Ns.eprj2)&&(l=n.fileName.replace(Ns.eprj2,""));let c=Rs(new Date(n.last_open_time*1e3)),d=Rs(new Date(n.birth_time*1e3));i[s]||(i[s]=[]),i[s].push({id:r,title:l,iconCls:"icon-eda-project-fill",path:Je?s:void 0,type:"PROJECT_MINE",attributes:{updateTime:c,createTime:d,wholePath:a},isProject:!0})}return e==null||e.forEach((r,n)=>{o.push({id:r+n,title:r,i18n:1,iconCls:"icon-eda-person",children:i[r]?nFe(i[r]):[],type:"OWNER_MINE",path:r})}),o}var LLi=L(Hr());var IJ=L(Se()),zIi=L(Hr());var FIi=L(t_e());var ySt=L(z());function aFe(){let{window:t}=(0,IJ.useContext)(_r),e=be.bind(FIi.default.locals);Ce(Wu);let[i,o]=(0,IJ.useState)(null),[r,n]=(0,IJ.useState)("");(0,IJ.useEffect)(()=>{C.messageBus.subscribe("showColorPicker",({nets:s,color:l,targetItemBoundingRect:c})=>{let d="nets-color-picker";o(d),n(s.join(",")),Wu.setColor(d,l),Wu.setAllowNone(d,!1),Wu.setOption(d,{text:"Default",value:"#000000"}),a(d),r_e(t,c)})},[]),(0,IJ.useEffect)(()=>{let s=Wu.color[i]||"#000000";Wu.setDefaultValue(i,s),(async()=>{let l=await ei();l&&await C.windowBridge.rpcCall("setNetColor",{netNames:r.split(","),color:s},l.contentWindow)})()},[Wu.color[i]]);let a=s=>{Wu.setCurColorPickerId(s);let l=t.document.getElementById(DS);l||(l=t.document.createElement("div"),l.id=DS,l.classList.add(e("color-picker")),t.document.body.appendChild(l),zIi.default.createRoot(l).render((0,ySt.jsx)(_r.Provider,{value:t,children:(0,ySt.jsx)(i_e,{})})))};return Gs("mousedown",s=>{dl.value=s.view},{capture:!0}),null}var TSt=L(LJ());var Uj=L(Se());var aLi=L(LJ());var rLi="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/ECAD-Banner1-QG2I22PU.png";var nLi="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/ECAD-Banner2-TGOF3BFX.png";var uI=L(z()),vJ=be.bind(aLi.default.locals),y3r=()=>{let t=(0,Uj.useRef)(null),e=(0,Uj.useRef)(!1),[i,o]=(0,Uj.useState)([]),[r,n]=(0,Uj.useState)(0),[a,s]=(0,Uj.useState)(!0),l=i.length,c=600,d=5e3,u;Ce(Po,()=>(e.current=Po.workingMode===Ee.HOME,!0)),(0,Uj.useEffect)(()=>{!e.current||l<=1||(u=setTimeout(()=>{p(g)},d))});let p=y=>{t.current||(y(),t.current=setTimeout(()=>t.current=!t.current,c))},m=()=>{l<=1||(e.current=!1,u&&clearTimeout(u))},h=()=>{l<=1||(e.current=!0,u=setTimeout(()=>{p(g)},d))},f=()=>{l<=1||(n(r-1),r===0&&(s(!1),n(l)),setTimeout(()=>{s(!0),r===0&&n(l-1)}))},g=()=>{l<=1||(s(!0),n(r+1),r===l-1&&setTimeout(()=>{s(!1),n(0)},c))},b=y=>{l<=1||(s(!0),n(y))};return(0,Uj.useEffect)(()=>{let y=(w,x)=>{let S=w&&parseInt(w.grade)||0;return(x&&parseInt(x.grade)||0)-S};if(!Nt)M1.getSystemSettingByType(1).then(w=>{let x=w||[];w?M1.setCommonToolsToStorage(M1._banner,w):x=M1.getCommonToolsCacheByKey(M1._banner)||[],x.sort(y),M1.bannerData=x,e.current=!0,o(x)});else{let w=[],T=[{name:"banner1",link:"#",image:rLi},{name:"banner2",link:"#",image:nLi}];w.push(...T),o(w)}},[]),(0,uI.jsxs)("div",{className:vJ("carousel-chart box_shadow"),id:"editor_start_banner",onMouseEnter:m,onMouseLeave:h,children:[(0,uI.jsxs)("div",{className:vJ("carousel-chart-img"),style:{left:`${-100*r}%`,width:`${(l+1)*100}%`,transition:a?`left ${c}ms`:"none"},children:[i.map((y,w)=>(0,uI.jsx)("a",{href:`${y.link}`,target:"_blank",title:`${y.name}`,style:{width:`${100/(l+1)}%`},children:(0,uI.jsx)("img",{src:`${y.image}`})},((y==null?void 0:y.name)||"")+w)),i.length>1&&(0,uI.jsx)("a",{href:`${i[0].link}`,target:"_blank",title:`${i[0].name}`,style:{width:`${100/(l+1)}%`},children:(0,uI.jsx)("img",{src:`${i[0].image}`})})]}),(0,uI.jsx)("div",{className:vJ("carousel-chart-pagination"),children:i.length>1&&i.map((y,w)=>(r===l&&(r=0),(0,uI.jsx)("span",{className:vJ("carousel-chart-pagination-dot",{active:r===w}),onClick:()=>b(w)},((y==null?void 0:y.name)||"")+w)))}),(0,uI.jsx)("p",{className:vJ("carousel-chart-prev"),onClick:()=>p(f),children:(0,uI.jsx)("span",{className:vJ("carousel-chart-prev-icon")})}),(0,uI.jsx)("p",{className:vJ("carousel-chart-next"),onClick:()=>p(g),children:(0,uI.jsx)("span",{className:vJ("carousel-chart-next-icon")})})]})},sLi=y3r;var mLi=L(LJ());var sFe=L(Se());var lLi="data:image/png;base64, ";var cLi="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/ecad-wx-FGKBBTYJ.jpg";var dLi="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/jlc-eda-GNRCSHQG.png";var uLi="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/ecad-wxpublic-7VT23TIL.jpg";var pLi="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/oshw-hub-NG65YDMN.png";var cs=L(z());function M3r(){if(vo)return(0,cs.jsx)("span",{});let t=be.bind(mLi.default.locals),e=J(),i=",";function o(h){return h.join(i)}function r(h){return h.split(i)}function n(h,f){h.forEach(g=>{g==="wx-public"?c(f):g==="wx"?u(f):g==="tel"&&m(f)})}function a(h){let f=h.currentTarget.getAttribute("show-key"),g=r(f);n(g,!0)}function s(h){let f=h.currentTarget.getAttribute("show-key"),g=r(f);n(g,!1)}let[l,c]=(0,sFe.useState)(!1),[d,u]=(0,sFe.useState)(!1),[p,m]=(0,sFe.useState)(!1);return(0,cs.jsxs)("div",{className:t("float-bar float-bar-static"),"for-working":"1",children:[(0,cs.jsxs)("ul",{className:t("float-ul"),children:[(0,cs.jsx)("li",{className:t("float-hide"),"show-key":o(["wx-public"]),onMouseEnter:a,onMouseLeave:s,children:(0,cs.jsxs)("a",{href:"#",className:t("flex_center"),children:[(0,cs.jsx)("span",{className:t("icon eda-start-public")}),(0,cs.jsx)("span",{className:t("label nowrap"),children:e("WeChat Public")})]})}),(0,cs.jsx)("li",{className:t("float-hide"),"show-key":o(["wx"]),onMouseEnter:a,onMouseLeave:s,children:(0,cs.jsxs)("a",{href:"#",className:t("flex_center"),children:[(0,cs.jsx)("span",{className:t("icon eda-start-wechat")}),(0,cs.jsx)("span",{className:t("label nowrap"),children:e("Customer service WeChat")})]})}),(0,cs.jsx)("li",{className:t("float-hide"),"show-key":o(["tel"]),onMouseEnter:a,onMouseLeave:s,children:(0,cs.jsxs)("a",{href:"#",className:t("flex_center"),children:[(0,cs.jsx)("span",{className:t("icon eda-start-phone")}),(0,cs.jsx)("span",{className:t("label nowrap"),children:e("Phone")})]})}),!Nt&&(0,cs.jsx)("li",{className:t("float-hide"),children:(0,cs.jsxs)("a",{href:"#",className:t("flex_center"),onClick:h=>{et("show_help_file(feedback)"),h.stopPropagation()},children:[(0,cs.jsx)("span",{className:t("icon eda-start-feedback2")}),(0,cs.jsx)("span",{className:t("label nowrap"),children:e("Feedback")})]})})]}),(0,cs.jsxs)("div",{className:t("show-wrap"),children:[(0,cs.jsx)("div",{className:t("item qq float-qq",{"ecad-qq":Nt}),"show-key":o(["wx-public"]),onMouseEnter:a,onMouseLeave:s,style:{display:l?"":"none"},children:(0,cs.jsxs)("div",{style:{display:"flex",width:"100%"},children:[!Nt&&(0,cs.jsxs)("div",{style:{marginRight:"10px"},children:[(0,cs.jsxs)("div",{style:{paddingTop:"10px"},children:[(0,cs.jsx)("span",{className:t("icon-eda-wxpublic")}),(0,cs.jsx)("span",{children:"\u5F00\u6E90\u786C\u4EF6\u5E73\u53F0"}),(0,cs.jsx)("br",{})]}),(0,cs.jsx)("div",{style:{paddingTop:"7px"},children:(0,cs.jsx)("img",{src:pLi,style:{width:"100px"}})})]}),(0,cs.jsxs)("div",{children:[(0,cs.jsxs)("div",{style:{paddingTop:"10px"},children:[(0,cs.jsx)("span",{className:t("icon-eda-wxpublic")}),(0,cs.jsx)("span",{children:Nt?"\u5609\u7ACB\u521BECAD":"\u5609\u7ACB\u521BEDA"}),(0,cs.jsx)("br",{})]}),(0,cs.jsx)("div",{style:{paddingTop:"7px"},children:(0,cs.jsx)("img",{src:Nt?uLi:dLi,style:{width:"100px"}})})]})]})}),(0,cs.jsxs)("div",{className:t("item weixin float-wx"),"show-key":o(["wx"]),onMouseEnter:a,onMouseLeave:s,style:{display:d?"":"none"},children:[(0,cs.jsxs)("div",{style:{paddingTop:"10px"},children:[(0,cs.jsx)("span",{className:t("icon-eda-wx")}),(0,cs.jsx)("span",{children:"\u5BA2\u670D\u5FAE\u4FE1\u53F7"}),(0,cs.jsx)("br",{})]}),(0,cs.jsx)("div",{style:{paddingTop:"7px"},children:(0,cs.jsx)("img",{src:Nt?cLi:lLi,style:{width:"100px"}})})]}),(0,cs.jsxs)("div",{className:t("item float-tel"),"show-key":o(["tel"]),onMouseEnter:a,onMouseLeave:s,style:{display:p?"":"none"},children:[(0,cs.jsx)("ul",{style:{paddingLeft:"10px"},children:(0,cs.jsxs)("li",{style:{padding:"10px 0px"},children:[(0,cs.jsx)("span",{className:t("icon-eda-tel")}),(0,cs.jsx)("span",{style:{color:"#599dfd"},children:Nt?"199 4134 6785":"153 6159 2675"})]})}),(0,cs.jsxs)("div",{children:[(0,cs.jsx)("div",{style:{color:"#ccc",padding:"5px 0px"},children:"\u670D\u52A1\u65F6\u95F4"}),(0,cs.jsx)("div",{style:{padding:"5px 0px"},children:"\u5468\u4E00\u81F3\u5468\u4E94"}),(0,cs.jsx)("div",{style:{padding:"5px 0px"},children:"9:00~18:00"})]})]})]})]})}var hLi=M3r;var lFe=L(Se()),yLi=L(Vi());var wLi=L(LJ());var fLi="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/ECAD-Banner4-SIWCGWIH.png";var gLi="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/ECAD-Banner5-CFSXZQWY.png";var Pme=L(z()),bLi=be.bind(wLi.default.locals),v3r=()=>{let[t,e]=(0,lFe.useState)([]);return(0,lFe.useEffect)(()=>{if(Nt){e([...[{link:"javascript:void(0)",image:gLi},{link:"javascript:void(0)",image:fLi}]]);return}let i=C.apis.others.systemConfig,o={type:3},r=(n,a)=>{let s=n&&parseInt(n.grade)||0;return(a&&parseInt(a.grade)||0)-s};yLi.default.getJSON(i,o).then(n=>{if(n.success){let a=n.result||[];a.sort(r),!a||!a.length?a=new Array(2):a.slice(0,2),a||(a=new Array(2)),e(a)}else _5e(`\u83B7\u53D6\u5E7F\u544A\u4F4D\u4FE1\u606F\u5931\u8D25\uFF1A${n.code}`)})},[]),(0,Pme.jsx)("div",{className:bLi("notice-introduction"),id:"notice-introduction",children:(0,Pme.jsx)("ul",{children:t.map((i,o)=>(0,Pme.jsx)("li",{className:bLi("introduction-item"),children:(0,Pme.jsx)("a",{href:`${(i==null?void 0:i.link)||""}`,target:"_blank",children:(0,Pme.jsx)("img",{src:`${i==null?void 0:i.image}`})})},o))})})},CLi=v3r;var xLi=L(LJ()),j5e=L(z()),D3r=be.bind(xLi.default.locals),E3r=()=>{let t=J();return Ce(Ipe),(0,j5e.jsxs)("div",{className:D3r("notice-tools box_shadow"),children:[(0,j5e.jsx)("h3",{"data-test":"Message",children:t("Message")}),(0,j5e.jsx)("ul",{id:"start_page_message_list",dangerouslySetInnerHTML:{__html:Ipe.messageHtml}})]})},TLi=E3r;var EP=L(Se()),CSt=L(Vi());var SLi=L(LJ());var wSt="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iJiN4NTZGRTsmI3g1QzQyO18xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB3aWR0aD0iNDhweCIgaGVpZ2h0PSI0OHB4IiB2aWV3Qm94PSIwIDAgNDggNDgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ4IDQ4OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGlkPSImI3g4REVGOyYjeDVGODQ7XzEyIiBzdHlsZT0iZmlsbDojNTU4OEZGOyIgZD0iTTQwLjYwOCwxNi4yMTVDMzcuNjAyLDguMzEzLDI4Ljc1OSw0LjM0MywyMC44NTYsNy4zNDkKCWMtMi43NDksMS4wNDYtNS4xMzksMi44NjEtNi44ODMsNS4yM0M3LjI4NCwxMS42MiwxLjA4NCwxNi4yNjQsMC4xMjUsMjIuOTUzYy0wLjUxNiwzLjYsMC41OTYsNy4yNDMsMy4wMzQsOS45NDEKCWMxLjYwNSwxLjc3MywzLjY5NCwzLjAzNyw2LjAwOSwzLjYzNmMxLjMyMiwzLjkzOCw1LjU4Niw2LjA1OSw5LjUyNSw0LjczN2MzLjA2Ni0xLjAyOSw1LjEzMS0zLjkwMyw1LjEyOC03LjEzNwoJYzAtMC4yMzgtMC4wMTItMC40ODktMC4wMzYtMC43MjdsMTAuNTYzLTUuNTQ0bC0yLjMxMy00LjAwNmwtMTAuMSw1LjMwNWMtMi43NC0zLjEyNS03LjQ5NC0zLjQzNy0xMC42MTktMC42OTYKCWMtMC45NjMsMC44NDUtMS42OTUsMS45MjItMi4xMjYsMy4xMjhjLTMuODE4LTEuNjc2LTUuNTU1LTYuMTMtMy44NzktOS45NDhzNi4xMy01LjU1NSw5Ljk0OC0zLjg3OQoJYzAuMzMzLDAuMTQ2LDAuNjU2LDAuMzE3LDAuOTY1LDAuNTFjMS44NTEtNS41NTcsNy44NTYtOC41NjIsMTMuNDE0LTYuNzEyYzMuOTE0LDEuMzA0LDYuNzE4LDQuNzU5LDcuMTg2LDguODU4CgljMC4xOS0wLjAyLDAuMzgxLTAuMDI4LDAuNTcyLTAuMDI0YzMuMjY2LDAuMDIyLDUuODk1LDIuNjg3LDUuODczLDUuOTUyYy0wLjAyLDMuMDM2LTIuMzM3LDUuNTY0LTUuMzYsNS44NDhoLTMuMzg2CgljLTAuMTUzLTAuMDM0LTAuMzA5LTAuMDUtMC40NjUtMC4wNDhjLTEuMzAyLTAuMDA1LTIuMzYyLDEuMDQ2LTIuMzY4LDIuMzQ4Yy0wLjAwNSwxLjIzNiwwLjk0NSwyLjI2NiwyLjE3NywyLjM2MXYwLjAyNEgzOC4xCglsMC4yLTAuMDEyYzUuODMyLTAuNTA0LDEwLjE1Mi01LjY0MSw5LjY0OC0xMS40NzNjLTAuMzY5LTQuMjY2LTMuMjY4LTcuODkxLTcuMzQ4LTkuMTg5TDQwLjYwOCwxNi4yMTV6IE0xNi4zMDgsMzEuMjI1CgljMS42MDcsMCwyLjkwOSwxLjMwMiwyLjkwOSwyLjkwOXMtMS4zMDIsMi45MDktMi45MDksMi45MDljLTEuNjA3LDAtMi45MDktMS4zMDItMi45MDktMi45MDljMCwwLDAsMCwwLDAKCWMwLjAwMi0xLjYwNiwxLjMwNS0yLjkwOCwyLjkxMS0yLjkwOUwxNi4zMDgsMzEuMjI1eiIvPgo8L3N2Zz4K";var Na=L(z()),Kl=be.bind(SLi.default.locals),N3r=()=>{let t=J();Ce(jf);let e=jf.getSymbolMode();return(0,Na.jsxs)("div",{className:Kl("use_page_quick_start box_shadow"),id:"use_page_quick_start",children:[(0,Na.jsx)("h3",{children:(0,Na.jsx)("span",{className:Kl("start_page_mode_name"),"data-test":"Quick Start",children:t("Quick Start")})}),(0,Na.jsxs)("div",{children:[(0,Na.jsx)("div",{className:Kl("new-list item new_schematic nowrap",{is_client:Je}),onClick:()=>et("new_project"),title:t("New Project"),"data-test":"New Project",children:t("New Project")}),(0,Na.jsx)("div",{className:Kl("new-list item client_start_project nowrap"),onClick:()=>et("openProject"),title:t("Open Project"),"data-test":"Open Project",children:t("Open Project")}),Je&&(0,Na.jsx)("div",{className:Kl("new-list item new_library nowrap"),onClick:()=>et("new_library"),title:t("New Library"),"data-test":"New Library",children:t("New Library")}),(0,Na.jsx)("div",{className:Kl("new-list item new_device nowrap"),onClick:()=>et("new_device"),title:t(`${Nt?"New Part":"New Component"} `),"data-test":"New Component",children:t(`${Nt?"New Part":"New Component"} `)}),e==="2"&&Nl&&(0,Na.jsx)("div",{className:Kl("new-list item new_symbol nowrap"),onClick:()=>et("new_schematicLib"),title:t("New Symbol"),"data-test":"New Symbol",children:t("New Symbol")}),(0,Na.jsx)("div",{className:Kl("new-list item new_package nowrap"),onClick:()=>et("new_footprint"),title:t("New Footprint"),"data-test":"New Footprint",children:t("New Footprint")}),(0,Na.jsx)("div",{className:Kl("new-list item new_3dmodel nowrap"),onClick:()=>et("new_3D_model"),title:t("New 3D Model"),"data-test":"New 3D Model",children:t("New 3D Model")}),(0,Na.jsx)("div",{className:Kl("new-list item new_cbb nowrap"),onClick:()=>et("new_CBB"),title:t("New Reuse Block"),"data-test":"New Reuse Block",children:t("New Reuse Block")}),!_t&&!Je&&!Nt&&(0,Na.jsx)("div",{className:Kl("import-list item standard_edition_migration nowrap"),onClick:()=>et("standard_edition_migration"),title:t("Migrate Standard"),"data-test":"Migrate Standard",children:t("Migrate Standard")}),(0,Na.jsx)("div",{className:Kl(`import-list item ${Nt?"import_ecad":"import_profession"} nowrap`),onClick:()=>et("importEDAPro"),title:t("Import Professional"),"data-test":"Import Professional",children:t("Import Professional")}),!Nt&&(0,Na.jsx)("div",{className:Kl("import-list item import_standard nowrap"),onClick:()=>et("importFile(easyeda)"),title:t("Import Standard"),"data-test":"Import Standard",children:t("Import Standard")}),!Nt&&(0,Na.jsx)("div",{className:Kl("import-list item import_altium nowrap"),onClick:()=>et("importFile(altium)"),title:t("Import Altium"),"data-test":"Import Altium",children:t("Import Altium")}),!Nt&&(0,Na.jsx)("div",{className:Kl("import-list item import_kicad nowrap"),onClick:()=>et("importFile(kicad)"),title:t("Import KiCad"),"data-test":"Import KiCad",children:t("Import KiCad")}),!Nt&&(0,Na.jsx)("div",{className:Kl("import-list item import_other nowrap"),onClick:()=>et("importFile(unchage)"),title:t("Import Other"),"data-test":"Import Other",children:t("Import Other")}),(0,Na.jsx)("div",{className:Kl("other-list item setting nowrap"),onClick:()=>et("commonButtonsSetting(SYSTEM)"),title:t("Setting"),"data-test":"Setting",children:t("Setting")}),(0,Na.jsx)("div",{className:Kl("other-list item about nowrap"),onClick:()=>et("show_about_1"),title:t("About"),"data-test":"About",children:t("About")})]})]})},k3r=()=>{let t=J();Ce(TTe);let e=TTe.serviceList,i=-1,o=(0,EP.useCallback)(n=>{n.isSystem&&n.cmd?et(n.cmd):window.open(n.link)},[]),r=(0,EP.useCallback)((n,a="edit",s)=>{if(n.stopPropagation(),n.preventDefault(),!br())window.open("/login?from=editor");else{let l=M1.getServiceConfig(),c,d="",u="";if(a!=="add"){let p=s;c=l[p].thumbUrl,d=l[p].serviceName,u=l[p].serviceLink}le.open({id:"dlgEditServiceReact",width:600,closed:!0,mask:!1,centered:!0,title:"Add Tools/Service",children:(0,Na.jsx)(P3r,{thumbUrl:c,serviceName:d,serviceLink:u,indexId:s})})}},[]);return(0,Na.jsxs)("div",{className:Kl("editor_start_service_page box_shadow"),id:"editor_start_service_page",children:[(0,Na.jsx)("h3",{children:(0,Na.jsx)("span",{className:Kl("start_page_mode_name"),"data-test":"More",children:t("More")})}),(0,Na.jsx)("div",{style:{height:"calc(100% - 16px)",overflowY:"auto"},children:(0,Na.jsxs)("div",{className:Kl("service-tool-grids"),"data-test":"editor_start_example_lists",children:[e.map((n,a)=>{n.isSystem||i++;let s=i;return(0,Na.jsxs)("a",{title:`${n.name}`,className:Kl("tool-grid"),onClick:()=>o(n),children:[(0,Na.jsx)("div",{className:Kl("tool-grid__icon img"),children:(0,Na.jsx)("img",{src:n.isSystem?n.image:n.image||wSt})}),(0,Na.jsx)("p",{className:Kl("tool-grid__label"),children:n.name}),!n.isSystem&&(0,Na.jsx)("span",{className:Kl("icon-eda-edit edit"),onClick:l=>r(l,"edit",s),title:t("Edit"),"data-test":"Edit"})]},(n.name||"")+a)}),(0,Na.jsx)("a",{title:t("Add Tools/Service"),className:Kl("tool-grid addService"),"data-test":"Add Tools/Service",onClick:n=>r(n,"add"),children:(0,Na.jsx)("div",{className:Kl("tool-grid__icon img add")})})]})})]})},P3r=t=>{let e=J(),{indexId:i}=t,[o,r]=(0,EP.useState)(t.thumbUrl),[n,a]=(0,EP.useState)(t.serviceName),[s,l]=(0,EP.useState)(t.serviceLink),c=(0,EP.useRef)(null),d=(0,EP.useRef)(!1),u=(0,EP.useRef)(!0),p=()=>{let f;if(!window.FileReader)return function(){Ut({type:"warn",message:"Your browser cannot run this function."})};var g={accept:"image/*",fileFilter:function(b){return/\.(png|gif|jpeg|jpg|svg)$/i.test(b.name)},onValidate:function(b){b||Ut({type:"warn",message:"Please select png, gif, jpeg, jpg, svg files."})},onSelectFiles:b=>{c.current=b[0];let y=new FileReader;y.onload=function(w){r(w.target.result)},y.readAsDataURL(b[0]),d.current=!0}};f=nu.instance((0,CSt.default)("#uploadServiceIcon")).config(g),f.openSelect()},m=()=>{if(!u.current)return;if(!n.trim())return Ut({type:"error",message:"Please enter a name"});if(!s.trim())return Ut({type:"error",message:"Please enter URL"});if(!/^(http|https):\/\/([\w.]+\/?)\S*/.test(s.trim()))return Ut({type:"error",message:"Please enter Valid URL!"});let f=i,g=f,b=M1.getServiceConfig(),y={thumbUrl:o,serviceName:n,serviceLink:s};u.current=!1,w().then(S=>{y.thumbUrl=S||null;let T=b.length;f===void 0?(g=T,b[T]=y):b[f]=y,mt.setCacheObj(zre,b),mt.saveToServer(),x(y),u.current=!0,le.close("dlgEditServiceReact")});function w(){return new Promise((S,T)=>{let M=c.current;if(!d.current)return S(y.thumbUrl);let I=new FormData;I.append("image",M),CSt.default.ajax({url:C.apis.others.pullImage,data:I,cache:!1,contentType:!1,processData:!1,type:"POST",dataType:"json"}).then(A=>{var D;S((A==null?void 0:A.url)||((D=A==null?void 0:A.result)==null?void 0:D.url))})})}function x(S){M1.initStartPageServicelist(!1)}},h=()=>{let f=i;if(f===void 0)return Ut({type:"error",message:"Cannot delete Unknown Service!"});let g=M1.getServiceConfig();g&&g[f]&&(g.splice(+f,1),mt.setCacheObj(zre,g),mt.saveToServer()),M1.initStartPageServicelist(!1),le.close("dlgEditServiceReact")};return(0,Na.jsxs)("div",{className:Kl("dlgEditServiceReact"),children:[(0,Na.jsxs)("div",{className:Kl("form service-form"),children:[(0,Na.jsxs)("div",{className:Kl("form-item"),children:[(0,Na.jsx)("label",{className:Kl("form-label"),style:{paddingTop:"8px"},"data-test":"Icon:",title:e("Icon:"),children:e("Icon:")}),(0,Na.jsxs)("p",{className:Kl("upload-area"),children:[(0,Na.jsx)("img",{alt:"",src:o||wSt,className:Kl("img")}),(0,Na.jsx)("a",{className:Kl("link"),id:"uploadServiceIcon",onClick:p,"data-test":"Replace Icon",children:e("Replace Icon")}),(0,Na.jsx)("a",{className:Kl("link"),id:"resetDefaultServiceImg",onClick:()=>{d.current=!1,r(null)},"data-test":"Reset Default",children:e("Reset Default")}),(0,Na.jsx)("br",{}),(0,Na.jsx)("span",{className:Kl("tips"),"data-test":"Icon Size recommended 48*48px",children:e("Icon Size recommended 48*48px")})]})]}),(0,Na.jsxs)("div",{className:Kl("form-item align-center"),children:[(0,Na.jsx)("label",{className:Kl("form-label"),"data-for":"servicePrjName","data-test":"Name:",title:"Name:",children:e("Name:")}),(0,Na.jsx)(Kt,{focusTriggerSelect:!0,type:"text",value:n,name:"servicePrjName",id:"servicePrjName",style:{height:"28px"},onChange:f=>a(f)})]}),(0,Na.jsxs)("div",{className:Kl("form-item align-center"),children:[(0,Na.jsx)("label",{className:Kl("form-label"),"data-for":"serviceLink","data-test":"URL:",title:e("URL:"),children:e("URL:")}),(0,Na.jsx)(Kt,{focusTriggerSelect:!0,type:"text",value:s,name:"serviceLink",placeholder:e("Please enter the URL that needs acceleration"),style:{height:"28px"},onChange:f=>l(f),onBlur:()=>{if(!/^(http|https):\/\/([\w.]+\/?)\S*/.test(s.trim())&&s!==""){let f=`https://${s}`;l(f)}}})]})]}),(0,Na.jsxs)("div",{className:Kl("footer-wrapper"),children:[(0,Na.jsx)("div",{className:Kl("footer-wrapper-left"),children:(0,Na.jsx)(Me,{size:"md",onClick:h,children:"Delete"})}),(0,Na.jsxs)("div",{className:Kl("footer-wrapper-right"),children:[(0,Na.jsx)(Me,{size:"md",type:"primary",style:{marginRight:"8px"},onClick:m,children:"Confirm"}),(0,Na.jsx)(Me,{size:"md",onClick:()=>le.close("dlgEditServiceReact"),children:"Cancel"})]})]})]})},O3r=()=>(0,Na.jsxs)("div",{className:Kl("editor_start_use_page"),id:"editor_start_use_page",children:[(0,Na.jsx)(N3r,{}),(0,Na.jsx)(k3r,{})]}),MLi=O3r;var pI=L(z()),xSt=be.bind(TSt.default.locals),R3r=()=>{if(Ae(TSt.default),!ln.isViewerMode)return(0,pI.jsxs)("div",{style:{width:"100%",height:"100%",background:"var(--bg-color-startPage)",boxSizing:"border-box",padding:"10px",overflow:"auto"},children:[(0,pI.jsx)(aFe,{}),(0,pI.jsxs)("div",{className:xSt("start-page-container"),id:"editor-start-page",children:[(0,pI.jsxs)("div",{className:xSt("start_left_page"),id:"editor_start_left_page",children:[(0,pI.jsx)(sLi,{}),(0,pI.jsx)(MLi,{}),(0,pI.jsx)(vLi,{})]}),(0,pI.jsxs)("div",{className:xSt("start_right_page"),id:"editor_start_right_page",children:[(0,pI.jsx)(CLi,{}),(0,pI.jsx)(TLi,{}),(0,pI.jsx)(hLi,{})]})]})]})},ILi=null,cFe=(t,e=window,i=!0)=>{M1.belongContainer=t;let o=It.containerInfo[t].domRect;if(e.document.querySelector("#tab_page1")){let a=e.document.querySelector("#tab_page1");a.style.position="fixed",a.style.display="block",a.style.width=o.width+"px",a.style.height=o.height+"px",a.style.left=o.left+"px",a.style.top=o.top+"px",It.setActiveTab({containerId:he.getTabContainer("tab_page1")||t,tabId:"tab_page1",isActive:i});return}let r=e.document.querySelector("#editorTabbar"),n=e.document.createElement("div");n.id="tab_page1",n.style.position="absolute",n.style.left="0px",n.style.top="24px",n.style.width="100%",n.style.height="calc(100% - 24px)",n.style.overflow="hidden",n.style.zIndex="1",r.appendChild(n),ILi=LLi.default.createRoot(n),ILi.render((0,pI.jsx)(R3r,{})),It.setActiveTab({containerId:he.getTabContainer("tab_page1")||t,tabId:"tab_page1",isActive:i})};var mI=class{static async getProjectList(){try{return Je?this.projectNotOnline():this.projectOnLine()}catch(e){throw new Error(`RecentDesignManager.project error: ${e}`)}}static async projectOnLine(){if(!br())return{success:!1,message:"Not logged in yet, please log in and try again"};let{message:e}=await C.messageBus.rpcCall(Xy.GET_RECENT_PROJECT_LIST,10),i=e.map(n=>n.projectId),o=await Promise.all(i.map(n=>C.messageBus.rpcCall(Ei.PROJECT.GET,[n]))),r=[];for(let n=0;n<o.length;n++){let{message:a}=o[n];if(!a.success)continue;let s=a.result;r.push({uuid:s.uuid,path:s.uuid,title:s.title,owner:s.owner&&s.owner.nickname||"",updateUser:s.modifier&&s.modifier.nickname||"",updateTime:Date.parse(s.updated_at)})}return r.sort((n,a)=>a.updateTime-n.updateTime),{success:!0,result:r}}static async projectNotOnline(){let{message:e}=await C.messageBus.rpcCall(Ei.CLIENT.PROJECT_HISTORY);if(e.success===!1)return{success:!1,code:e.code,message:e.message};let i=[];for(let r of e.result)if(!r.isCbb&&!(!r.fileName.includes(Ns.eprj)&&!r.fileName.includes(Ns.eprj2))&&(i.push(r),i.length===10))break;let o=[];for(let r=0;r<i.length;r++){let n=i[r],a="";n.fileName&&n.fileName.endsWith(Ns.eprj)?a=n.fileName.replace(Ns.eprj,""):n.fileName&&n.fileName.endsWith(Ns.eprj2)&&(a=n.fileName.replace(Ns.eprj2,"")),o.push({num:r+1,projectName:a,path:n.dir,updateTime:n.last_open_time*1e3,wholePath:n.path})}return o.sort((r,n)=>n.updateTime-r.updateTime),{success:!0,result:o}}static async project(){let e=await this.getProjectList();if(e.success===!1)return{success:!1,message:e.message};let i=e.result;return Je?pC.setClientRecentList("Project",i):pC.setRecentDesignList("Project",i),{success:!0}}static async device(){try{let e=Xo.getValueFromCacheUser("uuid")||"all",i=await Ze.getDeviceList({isProject:!1,uid:e,path:e,page:1,pageSize:10}),o=(i==null?void 0:i.lists)||[],r=[];for(let n=0;n<o.length;n++){let a=o[n];r.push({uuid:a.uuid,path:a.path,title:a.display_title||a.title,owner:a.owner&&a.owner.nickname||"",updateUser:a.modifier&&a.modifier.nickname||"",updateTime:a.updateTime})}r.sort((n,a)=>a.updateTime-n.updateTime),pC.setRecentDesignList("Device",r)}catch(e){throw new Error(`RecentDesignManager.device error: ${e}`)}}static async footprint(){try{let e=Xo.getValueFromCacheUser("uuid")||"all",o=(await Ze.getFootprintList({isProject:!1,uid:e,path:e,page:1,pageSize:10})).lists||[],r=[];for(let n=0;n<o.length;n++){let a=o[n];r.push({uuid:a.uuid,path:a.path,title:a.display_title||a.title,owner:a.owner&&a.owner.nickname||"",updateUser:a.modifier&&a.modifier.nickname||"",updateTime:a.updateTime})}r.sort((n,a)=>a.updateTime-n.updateTime),pC.setRecentDesignList("Footprint",r)}catch(e){throw new Error(`RecentDesignManager.footprint error: ${e}`)}}static async reuseBlock(){if(!br())return{success:!1,message:"Not logged in yet, please log in and try again"};let i={isProject:!1,path:Xo.getValueFromCacheUser("uuid"),page:1,pageSize:10},{message:o}=await C.messageBus.rpcCall(Og.LIST,i);if(!o.success)return{success:!1,message:o.message};let r=o.result.lists,n=[];for(let a=0;a<r.length;a++){let s=r[a];n.push({uuid:s.uuid,path:s.path,title:s.name,owner:s.owner&&s.owner.nickname||"",updateUser:s.modifier&&s.modifier.nickname||"",updateTime:Date.parse(s.updated_at)})}n.sort((a,s)=>s.updateTime-a.updateTime),pC.setRecentDesignList("ReuseBlock",n)}};var zre="serviceConfig",_3r=(t,e)=>{let i=t&&parseInt(t.grade)||0;return(e&&parseInt(e.grade)||0)-i},I1=class I1{static async init(){let e=I1;await PZ(),!Je&&e.getCurrentLink(),e.initStartPageServicelist(),C.messageBus.subscribe("/pro-ui/container/tab/onClick",i=>{let{containerId:o,tabId:r,isActive:n=!0}=i;if(he.containerIds.includes(o)&&r==="tab_page1"&&(cFe(o,window,n),!I1.isActive)){I1.isActive=!0;let a=pC.type;I1.renderProjectListByType(a)}if(he.containerIds.includes(o)&&r==="0"){I1.blankContainer=o;let a=It.containerInfo[o].domRect,s=document.querySelector("#project-blank-page");s.style.display="block",s.style.width=a.width+"px",s.style.height=a.height+"px",s.style.left=a.left+"px",s.style.top=a.top+"px",It.setActiveTab({containerId:he.getTabContainer(r),tabId:r,isActive:n})}}),C.messageBus.subscribe("/pro-ui/container/tab/onActive",i=>{let{containerId:o,tabId:r,belong:n}=i;n===he.belongContainer&&[I1.belongContainer,he.getTabContainer("tab_page1")].includes(o)&&r!=="tab_page1"&&(document.querySelector("#tab_page1").style.display="none",I1.isActive=!1),n===he.belongContainer&&[I1.blankContainer,he.getTabContainer("0")].includes(o)&&r!=="0"&&(document.querySelector("#project-blank-page").style.display="none")}),C.messageBus.subscribe("/pro-ui/container/resize",i=>{let{containerId:o,domRect:r}=i;if([I1.belongContainer,he.getTabContainer("tab_page1")].includes(o)){let n=document.querySelector("#tab_page1");n.style.position="fixed",n.style.width=r.width+"px",n.style.height=r.height+"px",n.style.left=r.left+"px",n.style.top=r.top+"px"}if([I1.blankContainer,he.getTabContainer("0")].includes(o)){let n=document.querySelector("#project-blank-page");n.style.position="fixed",n.style.width=r.width+"px",n.style.height=r.height+"px",n.style.left=r.left+"px",n.style.top=r.top+"px"}}),C.messageBus.subscribe("/pro-ui/tab/changeContainer",i=>{let{tabId:o,containerId:r}=i;o==="tab_page1"&&(I1.belongContainer=r),o==="0"&&(I1.blankContainer=r)})}static initProjectListAndRecentDesigns(){let e=pC.type;this.renderProjectListByType(e);let i=C.workspace==="Personal"?{}:{org_uuid:C.workspace};tl({...i,refresh:!0})}static getCurrentLink(){let e=C.apis.others.servicesUrlConfig;ISt.default.getJSON(e).then(i=>{var o,r;i!=null&&i.success&&(i!=null&&i.result)&&((o=i.result)!=null&&o.lcedaIndex&&(C.servicesUrlConfig.lcedaIndex=i.result.lcedaIndex),(r=i.result)!=null&&r.oshwhubIndex&&(C.servicesUrlConfig.oshwhubIndex=i.result.oshwhubIndex))})}static async renderProjectListByType(e="Project"){if(!br())return this.UICurrentPrj(e,[]);this.activePrjType=e;let i={uid:Xo.getValueFromCacheUser("uuid")||"all",docType:2,type:3,pageSize:this._DEFAULT_PAGESIZE,page:1,path:Xo.getValueFromCacheUser("uuid")||"all"};switch(e){case"Project":return mI.project();case"Device":return mI.device();case"Footprint":return mI.footprint();case"ReuseBlock":return mI.reuseBlock()}}static async getPrjInfoByUuid(e,i){let{message:o}=await C.messageBus.rpcCall(Ei.PROJECT.GET,[e]);if(o.success)return o.result}static getServicelist(){let e=this;return new Promise((i,o)=>{e.getSystemSettingByType(2).then(r=>{if(!r)return i(void 0);r=r.map(n=>({name:n.name,link:n.link,image:n.image,isSystem:!0,cmd:n.cmd,grade:n.grade})),e.setCommonToolsToStorage(e._service,r),i(r)})})}static async initStartPageServicelist(e=!0){let i=this,o;e?o=await i.getServicelist()||[]:o=i.getCommonToolsCacheByKey(i._service)||[],o.sort(_3r);let r=br()?i.getServiceConfig():[];r=r.map(n=>{if(n)return{name:n.serviceName,link:n.serviceLink,url:n.serviceLink,image:n.thumbUrl||n.image,isSystem:!1}}),r=r.filter(n=>n!=null),TTe.setServiceList([...o,...r])}static getSystemSettingByType(e){let i=C.apis.others.systemConfig,o={type:e};return new Promise((r,n)=>{ISt.default.getJSON(i,o).then(a=>{a.success?r(a.result):(_5e(e),r(void 0))},a=>{r(void 0)})})}static getCommonToolsCacheByKey(e="banner"){let i=I1,o=localStorage.getItem(i.commonToolsKey);return(o&&JSON.parse(o)||{})[e]}static setCommonToolsToStorage(e="banner",i){let o=I1,r=localStorage.getItem(o.commonToolsKey),n=r&&JSON.parse(r)||{};n[e]=i,localStorage.setItem(o.commonToolsKey,JSON.stringify(n))}static UICurrentPrj(e="Project",i){i&&i.length>10&&i.splice(10),pC.setRecentDesignList(e,i)}static clearCurrentPrjs(){pC.setRecentDesignList(pC.type,[])}static getServiceConfig(){let e=mt.getCacheObj(zre),i=[];return Object.prototype.toString.apply(e)=="[object Object]"?(e.length=Object.keys(e).length,i=Array.from(e)):Object.prototype.toString.apply(e)=="[object Array]"&&(i=e),i=i.filter(o=>o!=null),i}static saveServiceConfigToServer(){}};I1.belongContainer="",I1.blankContainer="",I1.isActive=!0,I1.commonToolsKey="commonToolsConfig",I1._service="service",I1._banner="banner",I1._DEFAULT_PAGESIZE=10,I1.activePrjType="Project",I1.bannerData=[],I1.timer=null;var M1=I1;function _5e(t){let e="";switch(t){case 1:e="banner";break;case 2:e="server";break;case 3:e="advertising position";break}_t||Fn||De({type:"error",msg:`Get ${e} info failed`})}var DLi=L(LJ());async function Ome(t,e,i){var n;let o=await new Promise(async a=>{var d;let s=(d=t.attributes)==null?void 0:d.Symbol;if(!s)return a("");let c=await Ze.getSymbol({path:e,isProject:e===C.currentProject.projectId,uuid:s})||null;return a(c?s:"")}),r=t;if(!o){let a=await ts.duplicateNameDetection(!1,t.symbol_type,t.display_title,e);if(a.isDuplicate?o=a.uuids[0]:o=(await Ze.createSymbol({isProject:i,path:e,symbol:{ignoreDuplicateNameCheck:"yes",path:e,isProject:i,data:{title:t.display_title,description:"",docType:(n=t.symbol_type)!=null?n:ve.PART,tags:[]}}})).uuid,!o)return;let s={attributes:{...t.attributes,Symbol:o},path:t.project_uuid||e,uuid:t.uuid,tags:Nv(t.tags),title:t.display_title,owner:(t.ownerInfo||t.owner).uuid,description:t.description,source:t.source,custom_tags:t.custom_tags?t.custom_tags:void 0},l=await Ze.updateDevice({uuid:t.uuid,path:e,isProject:i,device:{data:s}});if(l){r={...r,...l};let c=await Ze.getSymbol({uuid:l.attributes.Symbol,path:e,isProject:i});c&&(o=c.uuid,r={...r,...l,symbol:c})}}Vj(o,i,r,r.tags,e)}var m0=L(z()),MC=be.bind(DLi.default.locals),j3r=()=>{let t=J();Ce(pC);let[e,i,o]=La(),r=(0,Kv.useRef)(null),n=pC.type,[a,s]=(0,Kv.useState)(100),l=pC.recentDesignList,c=pC.clientRecentList.map(f=>({clientRecentPrj:f.wholePath,prj_name:f.projectName,prj_path:f.path,prj_update:ue.formatDate2(p1(f.updateTime))})),d=(0,Kv.useMemo)(()=>[{key:"prj_name",name:t("Project Name"),width:.4,ellipsis:!0,render:f=>(0,m0.jsx)("span",{style:{color:"rgb(24, 144, 255)",cursor:"pointer"},onClick:async()=>{var y;let g=(y=f.row)==null?void 0:y.clientRecentPrj;if(!g)return;(await Os({cPath:g})).success===!1&&(Dt({icon:"error",closed:!0,content:me.i18n(`${me.i18n("Not Found The File")} ${g}`)}),mI.project())},title:f.row.prj_name,children:f.row.prj_name})},{key:"prj_path",name:t("Project path"),width:.4,ellipsis:!0},{key:"prj_update",name:t("Update Time"),width:.2,ellipsis:!0}],[]),u=[{title:"Project",type:"Project"},{title:"Device",type:"Device"},{title:"Footprint",type:"Footprint"},{title:"Reuse Block",type:"ReuseBlock"}],p=async f=>{try{let g=Xo.getValueFromCacheUser("uuid"),b=await Ze.getFootprint({isProject:g===C.currentProject.projectId,path:g,uuid:f});b&&qb(b)}catch(g){_5e(`\u83B7\u53D6\u5C01\u88C5\u4FE1\u606F\u5931\u8D25\uFF1A${g}`)}},m=async f=>{if(n==="Project")return dFe({projectId:f});if(n==="Footprint"&&p(f),n==="ReuseBlock")return Os({uuid:f});if(n==="Device"){let g=Xo.getValueFromCacheUser("uuid"),b=await Ze.getDevice({isProject:g===C.currentProject.projectId,path:g,uuid:f});return Ome(b,yr(b),!1)}};(0,Kv.useEffect)(()=>(r.current&&i(r.current),()=>{o()}),[r.current]);let h=(0,Kv.useCallback)(()=>{Yn(()=>{if(!r.current)return;let f=r.current.getBoundingClientRect();r.current.style.width="100%",s(f.height)},100)},[]);return(0,Kv.useEffect)(()=>{if(Je)return h(),window.addEventListener("resize",h),()=>{window.removeEventListener("resize",h)}},[]),(0,m0.jsxs)("div",{id:"editor_start_project_page",className:MC("box_shadow editor_start_project_page"),children:[(0,m0.jsxs)("div",{className:MC("header recent_tabs"),children:[(0,m0.jsx)("p",{className:MC("label"),"data-test":"Recent Design",children:t("Recent Design")}),!_t&&!Je&&(0,m0.jsx)("ul",{children:u.map(f=>(0,m0.jsx)("li",{className:MC({active:f.type===n}),title:t(f.title),"data-test":f.title,onClick:()=>{f.type!==n&&M1.renderProjectListByType(f.type)},children:t(f.title)},f.type))})]}),!Je&&(0,m0.jsxs)("div",{id:"recentPrjTable",children:[(0,m0.jsxs)("div",{className:MC("t_header prj_item"),style:{paddingRight:`${r.current?r.current.offsetWidth-r.current.clientWidth:0}px`},children:[(0,m0.jsx)("span",{className:MC("prj_no nowrap"),"data-test":"No.",children:t("No.")}),(0,m0.jsx)("span",{className:MC("prj_name nowrap"),"data-test":"Name",children:t("Name")}),(0,m0.jsx)("span",{className:MC("prj_owner nowrap"),"data-test":"Belongs to",children:t("Belongs to")}),(0,m0.jsx)("span",{className:MC("prj_update_user nowrap"),"data-test":"Last Modified by",children:t("Last Modified by")}),(0,m0.jsx)("span",{className:MC("prj_update_time nowrap"),"data-test":"Update Time",children:t("Update Time")})]}),(0,m0.jsx)("div",{id:"prj_list",ref:r,children:l.length?l.map((f,g)=>{let b=ue.formatDate2(f.updateTime);return(0,m0.jsxs)("p",{className:MC("prj_item"),onClick:()=>m(f.uuid),children:[(0,m0.jsx)("span",{className:MC("prj_no nowrap"),children:g+1}),(0,m0.jsx)("span",{className:MC("prj_name nowrap"),children:f.title}),(0,m0.jsx)("span",{className:MC("prj_owner nowrap"),children:f.owner}),(0,m0.jsx)("span",{className:MC("prj_update_user nowrap"),children:f.updateUser}),(0,m0.jsx)("span",{className:MC("prj_update_time nowrap"),children:b})]},f.uuid)}):(0,m0.jsx)("p",{className:MC("tips"),children:t({value:"No Data!",context:"home",options:null})})})]}),Je&&(0,m0.jsx)("div",{ref:r,id:"recentPrjTableResizeBox",style:{height:"calc(100% - 28px)",width:"100%",marginTop:"8px"},children:(0,m0.jsx)(xi,{index:"clientRecentPrj",height:a,rows:c,columns:d,number:!0,openRowSelectedBgColor:!1,openVirtualScroll:!1,enableWindowResizeHandler:!1})})]})},dFe=t=>{let{cPath:e,projectId:i}=t;C.currentProject.projectId?C.currentProject.projectId===i?et("openRecentProject",{projectId:i,cPath:e}):Dt({content:"Please select the project opening method!",isHtml:!1,footerStyle:{height:"40px",overflow:"hidden"},footer:(0,m0.jsx)(B3r,{projectId:i,cPath:e,tipsModalId:"lc-tips-modal-id"})}):et("openRecentProject",{projectId:i,cPath:e})},B3r=(0,Kv.memo)(t=>{let{projectId:e,cPath:i,tipsModalId:o}=t;return(0,m0.jsxs)(m0.Fragment,{children:[(0,m0.jsx)(Me,{type:"primary",onClick:()=>{let r=Je?{href:`${window.location.origin}${window.location.pathname}#prjPath=${i}`}:{projectId:e};pP(r),le.close(o)},children:"Open in New Window"}),(0,m0.jsx)(Me,{type:"primary",onClick:()=>{Pr.clear(),et("openRecentProject",{projectId:e,cPath:i}),le.close(o)},children:"Current window open project"}),(0,m0.jsx)(Me,{onClick:()=>{le.close(o)},children:"Cancel"})]})}),vLi=j3r;var ELi={id:"Design",title:"Design",hotkeyCmd:"openMenu(#mm-common-design)",menuItems:{menuId:"mm-common-design",defaultConfig:[{title:"Update/Convert Schematic to PCB",id:"Update/Convert Schematic to PCB",icon:{iconPath:lt.icon_eda_update_to_pcb},command:"importChangesFromSch",disable:Er,isHide:()=>!Nl||!Eu},{id:"Order JLCPCB Layout Service...",title:"Order JLCPCB Layout Service...",command:"openJlcPcbLayoutServiceSelectDialog",icon:{iconPath:lt.eda_jlcpcb_layout},isHide:()=>_t},{title:"Import Changes from Schematic",id:"Import Changes from Schematic",icon:{iconPath:lt.icon_eda_changes_import},command:"importChangesFromSch",isHide:()=>Is()||!Nl||Gc.status,disable:je},{title:"Import Changes from PCB",id:"Import Changes from PCB",icon:{iconPath:lt.icon_eda_changes_import},command:"importChangesFromPcb",disable:je,isHide:()=>!Eu},{title:"Update PCB to Schematic",id:"Update PCB to Schematic",icon:{iconPath:lt.icon_eda_update_to_pcb},command:"importChangesFromPcb",isHide:()=>Is()||Nt||!Eu||!Nl||Gc.status,disable:Er},{title:"Back to the Upper",id:"Back to the Upper",icon:{iconPath:lt.icon_eda_back_to_upper},command:"backToUpper",isHide:()=>Nt},{title:"Open Template Page",id:"Open Template Page",icon:{iconPath:lt.icon_eda_back_to_template},command:"openTemplatePage",isHide:()=>Nt},{title:"Generate/Update Block Symbol",id:"Generate/Update Block Symbol",icon:{iconPath:lt.icon_eda_update_block_symbol},command:"generateOrUpdateBlockSymbol2",isHide:()=>Nt},{title:"Open CBB",id:"Open CBB",icon:{iconPath:lt.icon_eda_update_block_symbol},command:"openCBB"},{title:"Update Netports from Block Symbol...",id:"Update Netports from Block Symbol...",icon:{iconPath:lt.icon_eda_update_net_port},command:"updateSchematicNetPort",isHide:()=>Nt,disable:je},{title:"Update Pins from Schematic...",id:"Update Pins from Schematic...",icon:{iconPath:lt.icon_eda_update_pins},command:"generateOrUpdateBlockSymbol",disable:je},{title:"Update Place and Route from Reuse Template...",id:"Update Place and Route from Reuse Template...",command:"reuseTemplateLayoutAndRoute",isHide:()=>Is()||Nt,disable:je},null,{title:"Design Rule...",id:"Design Rule_pcb",command:"pcb_DRC"},{title:"Check DRC",id:"Check DRC_pcb",icon:{iconPath:lt.icon_eda_check_drc},subHotkeyId:"checkERC",hotkeyCmd:"checkERC",command:"checkDRC"},{title:"Check DRC(Custom)...",id:"Check DRC(Custom)...",icon:{iconPath:lt.icon_eda_check_drc},command:"checkDRCCustom"},{title:"Clear Errors",id:"Clear Errors",command:"clearErrors"},{title:"Real-Time DRC",id:"Real-Time DRC",command:"toggleRealTimeDRC",optionType:{type:"checkbox"}},{title:"Check DFM...",id:"Check DFM...",command:"checkDFM"},{title:"Design Rule...",id:"Design Rule...",command:"openElecRule"},{title:"Check DRC",id:"Check DRC",icon:{iconPath:lt.icon_eda_check_drc},command:"checkERC"},{title:"Check ERC",id:"Check ERC",icon:{},command:"checkSimERC"},{title:"Design Rule...",id:"Design SimRule...",icon:{},command:"openSimElecRule"},{title:"Board Shape",id:"opensubmenu-boardshape",hotkeyCmd:"opensubmenu-boardshape",subHotkeyId:"opensubmenu-boardshape",children:{menuId:"opensubmenu-boardshape",defaultConfig:[{id:"Generate Board Shape from Selection",title:"Generate Board Shape from Selection",command:"convertToBoard",disable:je},{id:"Generate Lines from Board Shape",title:"Generate Lines from Board Shape",command:"convertToLineFromBoard",disable:je}]},isHide:()=>Is(),disable:je},{title:"Annotate Designator...",id:"Annotate Designator...",icon:{iconPath:lt.icon_eda_designator},command:"ref_designator_annotate",isHide:()=>Is(),disable:je},{title:"PCB Design Rule...",id:"PCB Design Rule",icon:{iconPath:""},command:"pcb_design_rule",isHide:()=>Is(),disable:je},null,{title:"Cross Probe...",id:"Cross Probe...",command:"crossProbe",isHide:()=>!Nl||!Eu||Gc.status},{title:"Cross Probe Mode",id:"Cross Probe Mode",command:"switchCrossProbeMode",optionType:{type:"checkbox"},isHide:()=>!Nl||!Eu||Gc.status},null,{title:"Placement Transfer...",id:"Placement Transfer...",command:"placeTransfer",disable:Er,isHide:()=>!Nl||!Eu},{title:"Net Class Manager...",id:"Net Class Manager...",command:"netClassManager"},{title:"Differential Pair Manager...",id:"Differential Pair Manager...",command:"differentialPairManager"},{title:"Equal Length Group Manager...",id:"Equal Length Group Manager...",command:"equalLengthGroupManager"},{title:"Pad Pair Group Manager...",id:"Pad Pair Group Manager...",command:"EditPadsPairGroupDialog",isHide:()=>Nt},{title:{context:"ECAD",value:"Connection Point to Group Manager"},id:"Ecad Pad Pair Group Manager...",command:"EditPadsPairGroupDialog",isHide:()=>!Nt},null,{title:"Update Project Library...",id:"Update Project Library...",command:"updateComponent",disable:Er},{title:"Update Reuse Block...",id:"Update Reuse Block...",command:"updateReuseBlock",disable:()=>Er()||AP.hasReuseBlockChildPcb()},{title:"Reset Component Unique ID...",id:"Reset Component Unique ID...",command:"resetUniqueId",isHide:()=>Is(),disable:FCe},null,{id:"Project Setting",title:"Project Setting...",command:"openProjectSettingDialog",disable:Er},null,{title:"Add Annotation",id:"Add Annotation",icon:{iconPath:lt.icon_eda_annotation},command:"createAnnotation",subHotkeyId:"ADD_ANNOTATION",isHide:()=>!_t},{title:"Export Annotation",id:"Export Annotation",icon:{iconPath:lt.icon_eda_annotation},command:"exportAnnotation",subHotkeyId:"EXPORT_ANNOTATION",isHide:()=>!_t},null,{title:"Draw Partition",id:"Draw Partition",icon:{iconPath:lt.icon_eda_partition},subHotkeyId:"opensubmenu-drawpartition",disable:je,isHide:()=>!_t&&!Fn||Is(),children:{menuId:"top-menu-design-drawpartition",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"drawpartition(Rectangle)"},{id:"Circle",title:"Circle",command:"drawpartition(Circle)"},{id:"Polygon",title:"Polygon",command:"drawpartition(Polygon)"}]}},{title:"Partition Manager...",id:"Partition Manager...",icon:{iconPath:""},command:"OPEN_PARTITION_MANAGER",disable:je,isHide:()=>!(_t||Fn||Is()||AP.mainHasPartitionItem(wr(gi())[0]))}],modeConfig:{[Ee.COMMON_BLANK]:["Design Rule...","Check DRC","Update Project Library...","Update Reuse Block...",null,"Project Setting"],[Ee.SCH]:["Update/Convert Schematic to PCB","Order JLCPCB Layout Service...","Import Changes from PCB","Generate/Update Block Symbol",null,"Design Rule...","Check DRC","Annotate Designator...","PCB Design Rule",null,"Cross Probe...","Cross Probe Mode","Placement Transfer...",null,"Net Class Manager...","Differential Pair Manager...","Equal Length Group Manager...",null,"Update Project Library...","Update Reuse Block...","Reset Component Unique ID...",null,"Project Setting",null,"Add Annotation","Export Annotation"],[Ee.CBB_BLANK]:["Generate/Update Block Symbol","Design Rule...","Check DRC","Annotate Designator...","PCB Design Rule","Update Project Library...","Update Reuse Block...",null,"Project Setting"],[Ee.CBB_SCH]:["Update/Convert Schematic to PCB","Order JLCPCB Layout Service...","Import Changes from PCB","Generate/Update Block Symbol",null,"Design Rule...","Check DRC","Annotate Designator...","PCB Design Rule",null,"Cross Probe...","Cross Probe Mode","Placement Transfer...","Update Project Library...","Update Reuse Block...","Reset Component Unique ID...",null,"Net Class Manager...","Differential Pair Manager...","Equal Length Group Manager...",null,"Project Setting",null,"Add Annotation","Export Annotation"],[Ee.BLOCK_SYMBOL]:["Open CBB","Update Pins from Schematic..."],[Ee.SCH_INSTANCE]:["Update/Convert Schematic to PCB","Order JLCPCB Layout Service...","Import Changes from PCB","Back to the Upper","Open Template Page","Generate/Update Block Symbol","Update Netports from Block Symbol...",null,"Design Rule...","Check DRC","Annotate Designator...","PCB Design Rule",null,"Cross Probe...","Cross Probe Mode","Placement Transfer...",null,"Net Class Manager...","Differential Pair Manager...","Equal Length Group Manager...",null,"Update Project Library...","Update Reuse Block...","Reset Component Unique ID...",null,"Project Setting",null,"Add Annotation","Export Annotation"],[Ee.BLOCK_SCH]:["Update/Convert Schematic to PCB","Order JLCPCB Layout Service...","Import Changes from PCB","Generate/Update Block Symbol","Update Netports from Block Symbol...",null,"Design Rule...","Check DRC","Annotate Designator...","PCB Design Rule",null,"Cross Probe...","Cross Probe Mode","Placement Transfer...",null,"Net Class Manager...","Differential Pair Manager...","Equal Length Group Manager...",null,"Update Project Library...","Update Reuse Block...","Reset Component Unique ID...",null,"Project Setting",null,"Add Annotation","Export Annotation"],[Ee.CBB_BLOCK_SCH]:["Update/Convert Schematic to PCB","Order JLCPCB Layout Service...","Import Changes from PCB","Generate/Update Block Symbol","Update Netports from Block Symbol...",null,"Design Rule...","Check DRC","Annotate Designator...","PCB Design Rule",null,"Cross Probe...","Cross Probe Mode","Placement Transfer...",null,"Net Class Manager...","Differential Pair Manager...","Equal Length Group Manager...",null,"Update Project Library...","Update Reuse Block...","Reset Component Unique ID...",null,"Project Setting",null,"Add Annotation","Export Annotation"],[Ee.PCB]:["Import Changes from Schematic","Update PCB to Schematic","Update Place and Route from Reuse Template...",null,"Design Rule_pcb","Check DRC_pcb","Check DRC(Custom)...","Clear Errors","Real-Time DRC","Check DFM...","opensubmenu-boardshape","Annotate Designator...",null,"Cross Probe...","Cross Probe Mode",null,"Net Class Manager...","Differential Pair Manager...","Equal Length Group Manager...","Pad Pair Group Manager...","Ecad Pad Pair Group Manager...",null,"Update Project Library...","Update Reuse Block...","Reset Component Unique ID...",null,"Add Annotation","Export Annotation",null,"Draw Partition","Partition Manager..."],[Ee.FOOTPRINT]:[],[Ee.PCB3D]:["Project Setting"],[Ee.PANEL]:[],[Ee.PANEL_LIB]:[],[Ee.NGSPICE]:["Design SimRule...","Check ERC","Update Project Library..."],[Ee.SIMULIDE]:["Design SimRule...","Check ERC","Update Project Library..."],[Yl]:["Update Project Library...","Update Reuse Block...",null,"Project Setting"]}}};var ALi={id:"Edit",title:"Edit",hotkeyCmd:"openMenu(#mm-common-edit)",menuItems:{menuId:"mm-common-edit",defaultConfig:[{id:"Undo",title:"Undo",icon:{iconPath:lt.icon_eda_undo},command:"undo",disable:je},{id:"Redo",title:"Redo",icon:{iconPath:lt.icon_eda_redo},command:"redo",disable:je,isHide:()=>Nt},{id:"EcadRedo",title:{context:"ECAD",value:"Restore"},icon:{iconPath:lt.icon_eda_redo},command:"redo",disable:je,isHide:()=>!Nt},{id:"Repeat",title:"Repeat",icon:{iconPath:""},command:"repeat",disable:je,isHide:()=>Nt},{id:"Copy",title:"Copy",icon:{iconPath:lt.icon_eda_copy},command:"copy"},{id:"Copy as Image",title:"Copy as Image",icon:{iconPath:lt.icon_eda_copy},children:{menuId:"top-menu-edit-copyAsImage",defaultConfig:[{id:"Copy as SVG",title:"Copy as SVG",command:"copyAsSVG"},{id:"Copy as PNG",title:"Copy as PNG",command:"copyAsPNG"}]}},{id:"Cut",title:"Cut",icon:{iconPath:lt.icon_eda_cut},command:"cut",disable:je},{id:"Paste",title:"Paste",icon:{iconPath:lt.icon_eda_paste},command:"paste",disable:je},{id:"pasteInPlace",title:"Paste In Place",command:"pasteInPlace",disable:je},{id:"Duplicate-panel",title:"Duplicate",hotkeyCmd:"opensubmenu-duplicate-panel",subHotkeyId:"opensubmenu-duplicate-panel",disable:je,children:{menuId:"top-menu-edit-duplicate-panel",defaultConfig:[{id:"Duplicate to Cursor",title:"Duplicate to Cursor",command:"duplicateToCursor",disable:je},{id:"Duplicate to the Original Position",title:"Duplicate to the Original Position",command:"duplicatePaste",disable:je}]}},{id:"copySpecial",title:"Copy Special",command:"copySpecial",disable:je,isHide:()=>Po.workingMode!==Ee.FOOTPRINT&&Po.workingMode!==Ee.PCB},{id:"copyToImage",title:"Copy as an image",disable:je,children:{menuId:"copyToImage",defaultConfig:[{id:"copyToSvg",title:"Copy as SVG",command:"copyToSvg",disable:je},{id:"copyToPng",title:"Copy as PNG",command:"copyToPng",disable:je}]}},{id:"Duplicate",title:"Duplicate",hotkeyCmd:"opensubmenu-duplicate",subHotkeyId:"opensubmenu-duplicate",disable:je,children:{menuId:"top-menu-edit-duplicate",defaultConfig:[{id:"Duplicate to Cursor",title:"Duplicate to Cursor",command:"duplicateToCursor",disable:je},{id:"Duplicate to Other Layer",title:"Duplicate to Other Layer",command:"duplicateToOtherLayer",disable:je,isHide:()=>Nt}]}},{id:"Move",title:"Move",icon:{iconPath:lt.icon_eda_move},hotkeyCmd:"opensubmenu-move",subHotkeyId:"opensubmenu-move",disable:je,children:{menuId:"top-menu-edit-move",defaultConfig:[{id:"Move by Center Point",title:"Move by Center Point",command:"MOVE_BY_CENTER_POINT",disable:je},{id:"Move by Origin Point",title:"Move by Origin Point",command:"MOVE_BY_ORIGIN_POINT",disable:je},{id:"Move by Reference Point",title:"Move by Reference Point",command:"MOVE_BY_REFERENCE_POINT",disable:je}]}},{id:"Delete",title:"Delete",icon:{iconPath:lt.icon_eda_delete_trash},hotkeyCmd:"opensubmenu-delete",subHotkeyId:"opensubmenu-delete",disable:je,children:{menuId:"top-menu-edit-delete",defaultConfig:[{id:"Selected",title:"Selected",hotkeyCmd:"Delete",subHotkeyId:"Delete",command:"delete",args:{range:"selected"},disable:je},{id:"Objects...",title:"Objects...",command:"delete-target",isHide(){return Po.isPanelRelated()},disable:je},{id:"All",title:"All",command:"delete-all",disable:je}]}},{id:"mergeAsClosedLine",title:"Merge as a Closed Line",command:"mergeAsClosedLine",disable:je},{id:"dispersedAsIndependentLine",title:"Dispersed as Independent Line",command:"dispersedAsIndependentLine",disable:je},{id:"EDIT BOUNDARY",title:"Edit Outline",command:"EDIT_BOUNDARY",hotkeyCmd:"EDIT BOUNDARY",disable:je},{id:"Split",title:"Split",icon:{iconPath:lt.icon_eda_split},command:"Split",disable:je},{id:"cutout",title:"Cutout",icon:{iconPath:lt.icon_eda_cutout},hotkeyCmd:"Cutout",subHotkeyId:"Cutout",disable:je,children:{menuId:"top-menu-edit-cutout",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(RCutout)"},{id:"Circle",title:"Circle",command:"draw(CCutout)"},{id:"Polygon",title:"Polygon",command:"draw(PCutout)"},{id:"AvoidSlots",title:"Avoid Slots",command:"avoidSlots"},{id:"AvoidPads",title:"Avoid Pads",command:"avoidPads"}]}},{id:"convertTo",title:"Convert to",disable:je,subHotkeyId:"opensubmenu-convertTo",children:{menuId:"top-menu-edit-convert-to",defaultConfig:[{id:"convertToTrack",title:"Convert to Track",command:"CONVERT_TO_TRACK",args:{isOnlyProfile:!0},disable:je,isHide:()=>Nt},{id:"convertToPad",title:"Convert to Pad",command:"CONVERT_TO_PAD",args:{isOnlyProfile:!0},disable:je,isHide:()=>Nt},{id:"convertToLine",title:"Convert to Line",command:"CONVERT_TO_2D_LINE",args:{isOnlyProfile:!1},disable:je,isHide:()=>Nt},{id:"convertToSlotRegion",title:"Convert to Slot Region",command:"CONVERT_TO_SLOT_REGION",args:{isOnlyProfile:!0},disable:je,isHide:()=>Nt},{id:"convertToFillRegion",title:"Convert to Fill Region",command:"CONVERT_TO_FILL_REGION",args:{isOnlyProfile:!0},disable:je,isHide:()=>Nt},{id:"convertToCopperRegion",title:"Convert to Copper Region",command:"CONVERT_TO_COPPER_REGION",args:{isOnlyProfile:!0},isHide:()=>Po.workingMode===Ee.FOOTPRINT||Nt,disable:je},{id:"convertToProhibitedRegion",title:"Convert to Prohibited Region",command:"CONVERT_TO_PROHIBITED_REGION",args:{isOnlyProfile:!0},disable:je,isHide:()=>Nt},{id:"convertToBoardOutline",title:"Convert to Board Outline",command:"CONVERT_TO_BOARD_OUTLINE",args:{isOnlyProfile:!0},isHide:()=>Po.workingMode===Ee.FOOTPRINT||Nt,disable:je},{id:"convertToConstraintRegion",title:"Convert to Constraint Region",command:"CONVERT_TO_CONSTRAINT_REGION",args:{isOnlyProfile:!0},isHide:()=>Po.workingMode===Ee.FOOTPRINT,disable:je},{id:"convertTo3DShellOutline",title:"Convert to 3D Shell - Outline",command:"CONVERT_TO_D3_SHELL_OUTLINE",args:{isOnlyProfile:!0},isHide:()=>Po.workingMode===Ee.FOOTPRINT,disable:je},{id:"convertTo3DShellSlotRegion",title:"Convert to 3D Shell -  Slot Region",command:"CONVERT_TO_D3_SHELL_SLOT_REGION",args:{isOnlyProfile:!0},isHide:()=>Po.workingMode===Ee.FOOTPRINT,disable:je},{id:"convertTo3DShellEntity",title:"Convert to 3D Shell - Entity",command:"CONVERT_TO_D3_SHELL_ENTITY",args:{isOnlyProfile:!0},isHide:()=>Po.workingMode===Ee.FOOTPRINT,disable:je},{id:"convertToFPCStiffener",title:"Convert to FPC Stiffener",command:"CONVERT_TO_FPC_STIFFENER",args:{isOnlyProfile:!0},disable:je}]}},null,{id:"Snap",title:"Snap",command:"toggleAdsorb",optionType:{type:"checkbox",defaultChecked:!0},disable:je},{id:"Select Objects",title:"Select Objects",hotkeyCmd:"opensubmenu-selectobj",subHotkeyId:"opensubmenu-selectobj",children:{menuId:"top-menu-edit-Select_Objects",defaultConfig:[{id:"All",title:{value:"All",context:"select-object"},command:"select_all"},{id:"Rectangle Inside",title:"Rectangle Inside",icon:{iconPath:lt.eda_selection_rectangle_inside},command:"rectangleInside"},{id:"Rectangle Outside",title:"Rectangle Outside",icon:{iconPath:lt.eda_selection_rectangle_outside},command:"rectangleOutside"},{id:"Polygon Inside",title:"Polygon Inside",icon:{iconPath:lt.eda_selection_polygon_inside},command:"polygonInside"},{id:"Polygon Outside",title:"Polygon Outside",icon:{iconPath:lt.eda_selection_polygon_outside},command:"polygonOutside"},{id:"Line Touched",title:"Line Touched",icon:{iconPath:lt.eda_selection_line_touched},command:"lineTouched"},{id:"Connected Copper",title:"Connected Copper",command:"connectedCopper",isHide:()=>Nt},null,{id:"Toggle Selection",title:"Toggle Selection",icon:{iconPath:lt.eda_selection_continuous},command:"continuousSelection"}],modeConfig:{[Ee.PCB]:["All","Rectangle Inside","Rectangle Outside","Polygon Inside","Polygon Outside","Line Touched","Connected Copper",null,"Toggle Selection"],[Yl]:["All","Rectangle Inside","Rectangle Outside","Polygon Inside","Polygon Outside","Line Touched",null,"Toggle Selection"]}}},{id:"Array Objects...",title:"Array Objects...",icon:{iconPath:lt.icon_eda_array},command:"editArray",disable:je},{id:"Add Fillet",title:"Add Fillet",command:"ADD_FILLET",disable:je},{id:"Add Chamfer",title:"Add Chamfer",command:"ADD_CHAMFER",disable:je},{id:"Find and Replace...",title:"Find and Replace...",icon:{iconPath:lt.icon_eda_find},command:"findObjects"},{id:"Find Similar Objects...",title:"Find Similar Objects...",icon:{iconPath:lt.icon_eda_similar},command:"findSimilar"},{id:"Boolean Operation",title:"Boolean Operation",hotkeyCmd:"opensubmenu-booleanoperation",subHotkeyId:"opensubmenu-booleanoperation",disable:je,isHide:()=>Nt,children:{menuId:"top-menu-edit-region-bool",defaultConfig:[{id:"Preserve overlapping areas",title:"Preserve overlapping areas",icon:{iconPath:lt.eda_preserve_overlapping_area},command:"boolIntersection",disable:je},{id:"Merge Areas",title:"Merge Areas",icon:{iconPath:lt.eda_merged_area},command:"boolAggregate",disable:je},{id:"Subtract Top Area",title:"Subtract Top Area",icon:{iconPath:lt.eda_subtract_top_area},command:"boolSubtraction",disable:je},{id:"Exclude Overlapping Areas",title:"Exclude Overlapping Areas",icon:{iconPath:lt.eda_exclude_overlapping_area},command:"boolExclusive",disable:je},{id:"Split Area with Holes",title:"Split Area with Holes",icon:{iconPath:lt.eda_split_area_with_hole1},command:"boolSplit",disable:je}],modeConfig:{[Ee.PCB]:["Preserve overlapping areas","Merge Areas","Subtract Top Area","Exclude Overlapping Areas","Split Area with Holes"],[Yl]:["Preserve overlapping areas","Merge Areas","Subtract Top Area","Exclude Overlapping Areas"]}}},{id:"Find...",title:"Find...",icon:{iconPath:lt.icon_eda_find},command:"findObjects"},null,{id:"Unlock All",title:"Unlock All",command:"unlockAll",disable:je},{id:"show-all",title:"Show All",command:"showAll",disable:je}],modeConfig:{[Ee.HOME]:[],[Ee.COMMON_BLANK]:["Delete",null,"Select Objects","Find and Replace...","Find Similar Objects..."],[Ee.CBB_BLANK]:["Delete",null,"Select Objects","Find and Replace...","Find Similar Objects..."],[Ee.PCB]:["Undo","Redo","EcadRedo","Copy","Cut","Paste","copySpecial","copyToImage","Duplicate","Move","Delete","mergeAsClosedLine","dispersedAsIndependentLine","EDIT BOUNDARY","Split","cutout","convertTo",null,"Snap","Select Objects","Boolean Operation","Array Objects...","Add Fillet","Add Chamfer","Find...",null,"Unlock All"],[Ee.FOOTPRINT]:["Undo","Redo","EcadRedo","Copy","Cut","Paste","copySpecial","copyToImage","Duplicate","Move","Delete","mergeAsClosedLine","dispersedAsIndependentLine","EDIT BOUNDARY","Split","cutout","convertTo",null,"Snap","Select Objects","Boolean Operation","Array Objects...","Add Fillet","Add Chamfer","Find...",null,"Unlock All"],[Ee.SCH]:["Undo","Redo","EcadRedo","Repeat","Copy","Copy as Image","Cut","Paste","Move","Delete",null,"Snap","Select Objects","Array Objects...","Find and Replace...","Find Similar Objects..."],[Ee.CBB_SCH]:["Undo","Redo","EcadRedo","Repeat","Copy","Copy as Image","Cut","Paste","Move","Delete",null,"Snap","Select Objects","Array Objects...","Find and Replace...","Find Similar Objects..."],[Ee.CBB_BLOCK_SCH]:["Undo","Redo","EcadRedo","Repeat","Copy","Copy as Image","Cut","Paste","Move","Delete",null,"Snap","Select Objects","Array Objects...","Find and Replace...","Find Similar Objects..."],[Ee.BLOCK_SCH]:["Undo","Redo","EcadRedo","Repeat","Copy","Copy as Image","Cut","Paste","Move","Delete",null,"Snap","Select Objects","Array Objects...","Find and Replace...","Find Similar Objects..."],[Ee.SCH_INSTANCE]:["Undo","Redo","EcadRedo","Repeat","Copy","Copy as Image","Cut","Paste","Move","Delete",null,"Snap","Select Objects","Array Objects...","Find and Replace...","Find Similar Objects..."],[Ee.PCB3D]:["Array Objects...","Find..."],[Ee.PANEL]:["Undo","Redo","EcadRedo","Repeat","Copy","Cut","Paste","pasteInPlace","Duplicate-panel","Delete",null,"Select Objects","Array Objects...","Boolean Operation","Unlock All","show-all"],[Ee.PANEL_LIB]:["Undo","Redo","EcadRedo","Repeat","Copy","Cut","Paste","pasteInPlace","Duplicate-panel","Delete",null,"Select Objects","Array Objects...","Boolean Operation","Unlock All","show-all"],[Ee.PART]:["Undo","Redo","EcadRedo","Repeat","Copy","Copy as Image","Cut","Paste","Move","Delete",null,"Snap","Select Objects","Array Objects...","Find and Replace...","Find Similar Objects..."],[Ee.BLOCK_SYMBOL]:["Undo","Redo","EcadRedo","Repeat","Copy","Copy as Image","Cut","Paste","Move","Delete",null,"Snap","Select Objects","Array Objects...","Find and Replace...","Find Similar Objects..."],[Ee.NETFLAG]:["Undo","Redo","EcadRedo","Repeat","Copy","Copy as Image","Cut","Paste","Move","Delete",null,"Snap","Select Objects","Array Objects...","Find and Replace...","Find Similar Objects..."],[Ee.NETPORT]:["Undo","Redo","EcadRedo","Repeat","Copy","Copy as Image","Cut","Paste","Move","Delete",null,"Snap","Select Objects","Array Objects...","Find and Replace...","Find Similar Objects..."],[Ee.OFF_PAGE_CONNECTOR]:["Undo","Redo","EcadRedo","Repeat","Copy","Copy as Image","Cut","Paste","Move","Delete",null,"Snap","Select Objects","Array Objects...","Find and Replace...","Find Similar Objects..."],[Ee.DIFF_PAIRS_FLAG]:["Undo","Redo","EcadRedo","Repeat","Copy","Copy as Image","Cut","Paste","Move","Delete",null,"Snap","Select Objects","Array Objects...","Find and Replace...","Find Similar Objects..."],[Ee.SHEET_SYMBOL]:["Undo","Redo","EcadRedo","Repeat","Copy","Copy as Image","Cut","Paste","Move","Delete",null,"Snap","Select Objects","Array Objects...","Find and Replace...","Find Similar Objects..."],[Ee.NONEELEC_SYMBOL]:["Undo","Redo","EcadRedo","Repeat","Copy","Copy as Image","Cut","Paste","Move","Delete",null,"Snap","Select Objects","Array Objects...","Find and Replace..."],[Ee.ASSEMBLYVARIANT]:["Undo","Redo"],[Ee.NGSPICE]:["Undo","Redo","EcadRedo","Repeat","Copy","Cut","Paste","Move","Delete",null,"Snap","Select Objects","Array Objects..."],[Ee.SIMULIDE]:["Undo","Redo","EcadRedo","Repeat","Copy","Cut","Paste","Move","Delete",null,"Snap","Select Objects","Array Objects..."],[Yl]:["Undo","Redo","EcadRedo","Repeat","Copy","Copy as Image","Cut","Paste","Delete",null,"Select Objects","Array Objects...","Find and Replace..."]}}};var NLi={id:"Export",title:"Export",hotkeyCmd:"openMenu(#mm-common-fabrication2)",isHide:()=>Is()||uFe(),menuItems:{menuId:"mm-common-export",defaultConfig:[{id:"Order Parts at LCSC...",title:"Order Parts at LCSC...",icon:{iconPath:lt.icon_eda_cart_symbol},command:"bom_order_parts",isHide:()=>_t},{id:"Order SMT Parts at JLCPCB...",title:"Order SMT Parts at JLCPCB...",icon:{iconPath:lt.icon_eda_cart_symbol},command:"bom_order_parts_smt",isHide:()=>_t||!Xr||Nt},{id:"Order PCB at JLCPCB...",title:"Order PCB at JLCPCB...",icon:{iconPath:lt.icon_eda_cart_pcb},command:"orderPCB",isHide:()=>_t||Nt},{id:"Order PCB Layout at JLCPCB...",title:"Order PCB Layout at JLCPCB...",icon:{iconPath:lt.icon_eda_cart_pcb},command:"openJlcPcbLayoutServiceSelectDialog",isHide:()=>_t||Nt},{id:"Order 3D Shell at JLC3DP...",title:"Order 3D Shell at JLC3DP...",icon:{iconPath:lt.icon_eda_cart},command:"order3DShell",isHide:()=>_t||Nt},{id:"Order Panel at LCSC...",title:"Order Panel at LCSC...",icon:{iconPath:lt.icon_eda_cart_panel},command:"panelProductionOrder",isHide:()=>{var e,i;let t=he.getTabData();if(t.doctype===ve.PANEL3D){let o=(i=(e=t.panelProductionCache)==null?void 0:e.gJsonCache)==null?void 0:i.head.docType;return _t||Nt||o===ve.PANEL_LIB}return _t||Nt}},null,{id:"PCB Fabrication File(Gerber)...",title:"PCB Fabrication File(Gerber)...",icon:{iconPath:lt.icon_eda_gerber},command:"pcb_fabrication",isHide:()=>Nt},{id:"Pick and Place File(CPL)... ",title:"Pick and Place File(CPL)... ",icon:{iconPath:lt.icon_eda_position_file},command:"pcb_export_coordinate_file"},{id:"Bill of Materials(BOM)...",title:"Bill of Materials(BOM)...",icon:{iconPath:lt.icon_eda_bom},command:"exportBOM"},{id:"IPC-D-356A",title:"IPC-D-356A...",command:"pcb_IPC-D-356A"},{id:"ODB++...",title:"ODB++...",command:"pcb_odb++"},{id:"IDF...",title:"IDF...",command:"exportIDF",isHide:()=>!_t&&!Fn},{id:"Interactive BOM",title:"Interactive BOM...",command:"exportInteractiveBOM"},{id:"Flying Probe Testing File...",title:"Flying Probe Testing File...",command:"exportFlyingProbeFile"},null,{id:"3D File...",title:"3D File...",command:"export3DFile"},{id:"3D Shell File...",title:"3D Shell File...",command:"export3DShellFile",isHide:()=>{var e,i;if(dt()==ve.VIEW3D){let o=he.getActiveTab(),r=(i=(e=he.getTabById(o))==null?void 0:e.data)==null?void 0:i.pcbid;if(he.getTabDocType(r)===ve.FOOTPRINT)return!0}return Nt}},{id:"Test Point Report...",title:"Test Point Report...",command:"exportTestPointReport",isHide:()=>Nt},{id:"PDF...",title:"PDF...",command:"export(filePdf)",isHide:()=>Nt},{id:"PNG...",title:"PNG...",command:"export(fileImage)",hotkeyCmd:"exportPng",subHotkeyId:"exportPng",isHide:()=>Nt},{id:"SVG...",title:"SVG...",command:"export(fileSVG)",hotkeyCmd:"export(panelSVG)",subHotkeyId:"export(panelSVG)",isHide:()=>Nt},{id:"DXF...",title:"DXF...",command:"openDxfExportDlg"},{id:"Netlist Files...",title:"Netlist Files...",icon:{iconPath:lt.icon_eda_netlist},command:"exportNetlist"},{id:"One-click Export Manufacturing Files",title:"One-click Export Manufacturing Files...",command:"exportManufacturingFilesForOneClick",isHide:()=>!_t&&!Fn},{id:"Altium Designer...",title:"Altium Designer...",command:"export(altium)",isHide:()=>Nt},{id:"PADS...",title:"PADS...",command:"export(pads)"},{id:"export IPC_2581C File",title:"IPC-2581C...",command:"ExportIpc2581cFile",isHide:()=>!_t&&!Fn},{id:"Auto Router(DSN)...",title:"Auto Router(DSN)...",command:"exportSpecctraFile",isHide:()=>Nt},{id:"T/DISA 4001...",title:"T/DISA 4001...",command:"export(disa-4001)",isHide:()=>Nt},null,{id:"PCB Information...",title:"PCB Information...",command:"viewPCBInformation",isHide:()=>Nt},{id:"Panel Fabrication File",title:"Panel Fabrication File",command:"export(panelProductionSVG)",isHide:()=>Nt},{id:"Simulation List",title:"Simulation Netlist...",command:"export(SimulationList)",isHide:()=>!(dt()===ve.NGSPICE&&na)}],modeConfig:{[Ee.COMMON_BLANK]:["Bill of Materials(BOM)...",null,"PDF...",null,"Netlist Files...","Altium Designer...","PADS...","T/DISA 4001..."],[Ee.SCH]:["Order Parts at LCSC...","Order SMT Parts at JLCPCB...","Order PCB Layout at JLCPCB...",null,"Bill of Materials(BOM)...",null,"DXF...",null,"PDF...","PNG...","SVG...",null,"Netlist Files...","Altium Designer...","PADS...","T/DISA 4001..."],[Ee.CBB_BLANK]:["Bill of Materials(BOM)...",null,"PDF...","PNG...","SVG...","Netlist Files...","Altium Designer...","PADS..."],[Ee.CBB_SCH]:["Order Parts at LCSC...","Order PCB Layout at JLCPCB...",null,"Bill of Materials(BOM)...",null,"DXF...",null,"PDF...","PNG...","SVG...",null,"Netlist Files...","Altium Designer...","PADS...","T/DISA 4001..."],[Ee.PART]:["Altium Designer...","PADS...","T/DISA 4001..."],[Ee.SCH_INSTANCE]:["Order Parts at LCSC...","Order SMT Parts at JLCPCB...","Order PCB Layout at JLCPCB...",null,"Bill of Materials(BOM)...",null,"DXF...",null,"PDF...","PNG...","SVG...",null,"Netlist Files...","Altium Designer...","PADS...","T/DISA 4001..."],[Ee.BLOCK_SCH]:["Order Parts at LCSC...","Order SMT Parts at JLCPCB...","Order PCB Layout at JLCPCB...",null,"Bill of Materials(BOM)...",null,"DXF...",null,"PDF...","PNG...","SVG...",null,"Netlist Files...","Altium Designer...","PADS...","T/DISA 4001..."],[Ee.CBB_BLOCK_SCH]:["Order Parts at LCSC...","Order SMT Parts at JLCPCB...","Order PCB Layout at JLCPCB...",null,"Bill of Materials(BOM)...",null,"DXF...",null,"PDF...","PNG...","SVG...",null,"Netlist Files...","Altium Designer...","PADS...","T/DISA 4001..."],[Ee.PCB]:["Order Parts at LCSC...","Order SMT Parts at JLCPCB...","Order PCB at JLCPCB...","Order PCB Layout at JLCPCB...","Order 3D Shell at JLC3DP...",null,"PCB Fabrication File(Gerber)...","Pick and Place File(CPL)... ","Bill of Materials(BOM)...","ODB++...","export IPC_2581C File","IPC-D-356A","PCB Fabrication File(Gerber)(old)...","Flying Probe Testing File...","One-click Export Manufacturing Files",null,"3D File...","3D Shell File...","DXF...","IDF...",null,"PDF...","PNG...","Interactive BOM","Test Point Report...","PCB Information...",null,"Netlist Files...","Auto Router(DSN)...","Altium Designer...","PADS...","T/DISA 4001..."],[Ee.FOOTPRINT]:["DXF...",null,"Altium Designer...","PADS...","T/DISA 4001..."],[Ee.PCB2D]:["PNG..."],[Ee.PCB3D]:["3D File...","3D Shell File...","PNG..."],[Ee.SCHMODULE]:["Altium Designer...","PADS...","T/DISA 4001..."],[Ee.PCBMODULE]:["Altium Designer...","PADS...","T/DISA 4001..."],[Ee.PANEL]:["Order Panel at LCSC...",null,"Panel Fabrication File",null,"PDF...","PNG...","SVG..."],[Ee.PANEL_LIB]:["PDF...","PNG...","SVG..."],[Ee.PANEL3D]:["Order Panel at LCSC...",null,"Panel Fabrication File"],[Ee.ASSEMBLYVARIANT]:["Bill of Materials(BOM)..."],[Ee.NGSPICE]:["PDF...","Simulation List"],[Ee.SIMULIDE]:["PDF...","Simulation List"]}}};var kLi={id:"File",title:"File",hotkeyCmd:"openMenu(#mm-common-file)",menuItems:{menuId:"mm-common-file",defaultConfig:[{id:"New",title:"New",command:"__new",icon:{iconPath:lt.icon_eda_folder_new},hotkeyCmd:"opensubmenu-new",subHotkeyId:"opensubmenu-new",children:{menuId:"top-menu-file-newFile",defaultConfig:[{id:"Project...",title:"Project...",icon:{iconPath:lt.icon_eda_project_fill,iconStyle:{filter:"none"}},hotkeyCmd:"newProject",subHotkeyId:"newProject",command:"new_project"},null,{id:"Board",title:"Board",icon:{iconPath:lt.icon_eda_board_fill,iconStyle:{filter:"none"}},command:"new_board",disable:Er,isHide:()=>Nt||Gc.status},{id:"EcadBoard",title:{context:"ECAD",value:"Electric cabinet"},icon:{iconPath:lt.icon_ecad_board_fill,iconStyle:{filter:"none"}},command:"new_board",disable:Er,isHide:()=>!Nt},{id:"Schematic",title:"Schematic",icon:{iconPath:lt.icon_eda_schematic,iconStyle:{filter:"invert(48%) sepia(54%) saturate(930%) hue-rotate(178deg) brightness(101%) contrast(102%)"}},command:"new_schematic",disable:Er,isHide:()=>!Nl||Gc.status},{id:"Page",title:"Page",icon:{iconPath:lt.icon_eda_page,iconStyle:{filter:"invert(48%) sepia(54%) saturate(930%) hue-rotate(178deg) brightness(101%) contrast(102%)"}},command:"new_page",disable:Er,isHide:()=>Nt||!Nl||Gc.status},{id:"EcadPage",title:{context:"ECAD",value:"Page"},icon:{iconPath:lt.icon_eda_page,iconStyle:{filter:"invert(48%) sepia(54%) saturate(930%) hue-rotate(178deg) brightness(101%) contrast(102%)"}},command:"new_page",disable:Er,isHide:()=>!Nt},{id:"PCB",title:"PCB",icon:{iconPath:lt.icon_eda_pcb,iconStyle:{filter:"invert(29%) sepia(93%) saturate(1905%) hue-rotate(97deg) brightness(96%) contrast(111%)"}},command:"new_PCB",disable:Er,isHide:()=>Nt||!Eu},{id:"EcadPCB",title:{context:"ECAD",value:"Installation board"},icon:{iconPath:lt.icon_ecad_pcb,iconStyle:{filter:"invert(29%) sepia(93%) saturate(1905%) hue-rotate(97deg) brightness(96%) contrast(111%)"}},command:"new_PCB",disable:Er,isHide:()=>!Nt||!Eu},{id:"Panel",title:"Panel",icon:{iconPath:lt.icon_eda_panel,iconStyle:{filter:"invert(10%) sepia(99%) saturate(6389%) hue-rotate(247deg) brightness(89%) contrast(148%)"}},command:"new_Panel",isHide:()=>C.currentProject.isCBB||Nt||!Vw||Gc.status,disable:Er},{id:"Simulate...",title:"Simulate...",command:"new_Simulation",icon:{iconPath:lt.icon_eda_simulation,iconStyle:{filter:"invert(30%) sepia(100%) saturate(1800%) hue-rotate(235deg) brightness(110%) contrast(100%)"}},disable:Er,isHide:()=>!na||C.currentProject.isCBB||Nt||Gc.status},null,{id:"Library...",title:{value:"Library...",context:"newLibrary"},icon:{iconPath:lt.icon_eda_library},command:"new_library",isHide:()=>!Je},{id:"Component...",title:"Component...",icon:{iconPath:lt.icon_eda_symbol_brown,iconStyle:{filter:"none"}},command:"new_device",isHide:()=>Nt},{id:"EcadComponent...",title:{context:"ECAD",value:"Component..."},icon:{iconPath:lt.icon_eda_symbol_brown},command:"new_device",isHide:()=>!Nt},{id:"Symbol...",title:"Symbol...",icon:{iconPath:lt.icon_eda_symbol},command:"new_schematicLib",isHide:()=>{if(!Nl||Gc.status)return!0;let t=mt.getSymbolLibManage();return!!(t&&String(t)!=="2")}},{id:"Footprint...",title:"Footprint...",icon:{iconPath:lt.icon_eda_footprint},command:"new_footprint",isHide:()=>Nt||!Eu&&!Nl},{id:"EcadFootprint...",title:{context:"ECAD",value:"2D Graphics..."},icon:{iconPath:lt.icon_eda_footprint},command:"new_footprint",isHide:()=>!Nt},{id:"3D Model...",title:"3D Model...",icon:{iconPath:lt.icon_eda_3d_model},command:"new_3D_model"},{id:"Sim Model...",title:"Sim Model...",disable:!1,icon:{iconPath:lt.icon_eda_simulation_model},command:"new_Sim_Model"},null,{id:"Drawing...",title:"Drawing...",icon:{iconPath:lt.icon_eda_drawing_brown,iconStyle:{filter:"none"}},hotkeyCmd:"new_Drawing",subHotkeyId:"new_Drawing",command:"new_device",args:{docType:20},isHide:()=>Nt||!Nl||Gc.status},{id:"EcadDrawing...",title:{context:"ECAD",value:"Frame..."},icon:{iconPath:lt.icon_eda_drawing_brown,iconStyle:{filter:"none"}},hotkeyCmd:"new_Drawing",subHotkeyId:"new_Drawing",command:"new_device",args:{docType:20},isHide:()=>!Nt},{id:"Net Flag...",title:"Net Flag...",icon:{iconPath:lt.icon_eda_netflag_gnd_brown,iconStyle:{filter:"none"}},hotkeyCmd:"new_NetFlag",subHotkeyId:"new_NetFlag",command:"new_device",args:{docType:18},isHide:()=>!Nl||Gc.status},{id:"Net Port...",title:"Net Port...",icon:{iconPath:lt.icon_eda_netport_out_brown,iconStyle:{filter:"none"}},hotkeyCmd:"new_NetPort",subHotkeyId:"new_NetPort",command:"new_device",args:{docType:19},isHide:()=>!Nl||Gc.status},{id:"Off Page Connector...",title:"Off Page Connector...",icon:{iconPath:lt.icon_eda_off_page_connector_out_brown,iconStyle:{filter:"none"}},hotkeyCmd:"new_OffPageConnector",subHotkeyId:"new_OffPageConnector",command:"new_device",args:{docType:25},isHide:()=>!Nl||Gc.status},{id:"Non-Electronic Flag...",title:"Non-Electronic Flag...",icon:{iconPath:lt.icon_eda_non_electronic_flag_brown,iconStyle:{filter:"none"}},hotkeyCmd:"new_Non_Electronic",subHotkeyId:"new_Non_Electronic",command:"new_device",args:{docType:21},isHide:()=>!Nl||Gc.status},{id:"Part",title:"Part",icon:{iconPath:lt.icon_eda_part_new,iconStyle:{filter:"var(--common-icon-color)"}},command:"partTree(newPart)",isHide:()=>Nt},null,{id:"Reuse Block...",title:"Reuse Block...",icon:{iconPath:lt.icon_eda_symbol_block},command:"new_CBB"},{id:"Panel Lib",title:"Panel Lib...",icon:{iconPath:lt.icon_eda_panel},command:"open_create_panel_lib_dialog",isHide:()=>!Vw||Gc.status}],modeConfig:{[Ee.COMMON_BLANK]:["Project...",null,"Board","EcadBoard","Schematic","PCB","EcadPCB","Panel","Simulate...",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...","Sim Model...",null,"Drawing...","EcadDrawing...","Net Flag...","Net Port...","Off Page Connector...","Differential Pairs Flag...","Non-Electronic Flag...",null,"Reuse Block...","Panel Lib"],[Ee.SCH]:["Project...",null,"Board","EcadBoard","Schematic","Page","EcadPage","PCB","EcadPCB","Panel","Simulate...",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...","Sim Model...",null,"Drawing...","EcadDrawing...","Net Flag...","Net Port...","Off Page Connector...","Differential Pairs Flag...","Non-Electronic Flag...",null,"Reuse Block...","Panel Lib"],[Ee.CBB_BLANK]:["Project...",null,"Board","EcadBoard","Schematic","Page","EcadPage","PCB","EcadPCB",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...","Sim Model...",null,"Drawing...","Net Flag...","Net Port...","Off Page Connector...","Differential Pairs Flag...","Non-Electronic Flag...",null,"Reuse Block...","Panel Lib"],[Ee.CBB_SCH]:["Project...",null,"Board","EcadBoard","Schematic","Page","EcadPage","PCB","EcadPCB",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...","Sim Model...",null,"Drawing...","EcadDrawing...","Net Flag...","Net Port...","Off Page Connector...","Differential Pairs Flag...","Non-Electronic Flag...",null,"Reuse Block...","Panel Lib"],[Ee.PART]:["Project...",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...","Sim Model...",null,"Drawing...","EcadDrawing...","Net Flag...","Net Port...","Off Page Connector...","Differential Pairs Flag...","Non-Electronic Flag...","Part",null,"Reuse Block...","Panel Lib"],[Ee.SCH_INSTANCE]:["Project...",null,"Board","EcadBoard","Schematic","Page","EcadPage","PCB","EcadPCB","Panel","Simulate...",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...","Sim Model...",null,"Drawing...","EcadDrawing...","Net Flag...","Net Port...","Off Page Connector...","Differential Pairs Flag...","Non-Electronic Flag...",null,"Reuse Block...","Panel Lib"],[Ee.BLOCK_SCH]:["Project...",null,"Board","EcadBoard","Schematic","Page","EcadPage","PCB","EcadPCB","Panel","Simulate...",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...","Sim Model...",null,"Drawing...","EcadDrawing...","Net Flag...","Net Port...","Off Page Connector...","Differential Pairs Flag...","Non-Electronic Flag...",null,"Reuse Block...","Panel Lib"],[Ee.CBB_BLOCK_SCH]:["Project...",null,"Board","EcadBoard","Schematic","Page","EcadPage","PCB","EcadPCB",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...","Sim Model...",null,"Drawing...","EcadDrawing...","Net Flag...","Net Port...","Off Page Connector...","Differential Pairs Flag...","Non-Electronic Flag...",null,"Reuse Block...","Panel Lib"],[Ee.PCB]:["Project...",null,"Board","EcadBoard","Schematic","PCB","EcadPCB","Panel","Simulate...",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...","Sim Model...",null,"Drawing...","EcadDrawing...","Net Flag...","Net Port...","Off Page Connector...","Differential Pairs Flag...","Non-Electronic Flag...",null,"Reuse Block...","Panel Lib"],[Ee.PCB2D]:["Project...",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...",null,"Drawing...","EcadDrawing...","Net Flag...","Net Port...","Off Page Connector...","Differential Pairs Flag...","Non-Electronic Flag..."],[Ee.PCB3D]:["Project...",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...",null,"Drawing...","EcadDrawing...","Net Flag...","Net Port...","Off Page Connector...","Differential Pairs Flag...","Non-Electronic Flag...","Panel Lib"],[Ee.SCHMODULE]:["Project...",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...","Sim Model...",null,"Drawing...","EcadDrawing...","Net Flag...","Net Port...","Off Page Connector...","Differential Pairs Flag...","Non-Electronic Flag...",null,"Reuse Block...","Panel Lib"],[Ee.PCBMODULE]:["Project...",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...",null,"Drawing...","EcadDrawing...","Net Flag...","Net Port...","Off Page Connector...","Differential Pairs Flag...","Non-Electronic Flag...",null,"Reuse Block...","Panel Lib"],[Ee.PANEL]:["Project...",null,"Board","EcadBoard","Schematic","PCB","EcadPCB","Panel","Simulate...",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...","Sim Model...",null,"Drawing...","EcadDrawing...","Net Flag...","Net Port...","Off Page Connector...","Differential Pairs Flag...","Non-Electronic Flag...",null,"Reuse Block...","Panel Lib"],[Ee.PANEL3D]:["Project...",null,"Board","EcadBoard","Schematic","PCB","EcadPCB","Panel","Simulate...",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...","Sim Model...",null,"Drawing...","EcadDrawing...","Net Flag...","Net Port...","Off Page Connector...","Differential Pairs Flag...","Non-Electronic Flag...",null,"Reuse Block...","Panel Lib"],[Ee.ASSEMBLYVARIANT]:["Project...",null,"Component...","Symbol...","Footprint...","3D Model...",null,"Drawing...","Net Flag...","Net Port...","Non-Electronic Flag...",null,"Reuse Block...","Panel Lib"],[Ee.NGSPICE]:["Project...",null,"Board","EcadBoard","Schematic","Page","EcadPage","PCB","EcadPCB","Panel","Simulate...",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...","Sim Model...",null,"Drawing...","Net Flag...","Net Port...","Non-Electronic Flag...",null,"Reuse Block...","Panel Lib"],[Ee.SIMULIDE]:["Project...",null,"Board","EcadBoard","Schematic","Page","EcadPage","PCB","EcadPCB","Panel","Simulate...",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...","Sim Model...",null,"Drawing...","Net Flag...","Net Port...","Non-Electronic Flag...",null,"Reuse Block...","Panel Lib"],[Ee.WAVEFORM]:["Project...",null,"Board","EcadBoard","Schematic","Page","EcadPage","PCB","EcadPCB","Panel","Simulate...",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...","Sim Model...",null,"Drawing...","Net Flag...","Net Port...","Non-Electronic Flag...",null,"Reuse Block...","Panel Lib"],[Yl]:["Project...",null,"Library...","Component...","EcadComponent...","Symbol...","Footprint...","EcadFootprint...","3D Model...","Sim Model...",null,"Drawing...","EcadDrawing...","Net Flag...","Net Port...","Off Page Connector...","Differential Pairs Flag...","Non-Electronic Flag...",null,"Reuse Block...","Panel Lib"]}}},{id:"Migrate Standard...",title:"Migrate Standard...",icon:{iconPath:lt.icon_eda_standard_edition_migration},command:"standard_edition_migration",isHide:()=>Je||_t||Nt},{id:"Open Project...",title:"Open Project...",icon:{iconPath:lt.icon_eda_project_fill,iconStyle:{filter:"none"}},command:"openProject"},null,{id:"Save",title:"Save",command:"file_save",icon:{iconPath:lt.icon_eda_save}},{id:"Save All",title:"Save All",icon:{iconPath:lt.icon_eda_save_all},command:"save_all"},{id:"Save As",title:"Save as",command:"__save-as",hotkeyCmd:"opensubmenu-saveas",subHotkeyId:"opensubmenu-saveas",children:{menuId:"top-menu-file-saveas",defaultConfig:[{id:"Project Save as...",title:"Project Save as...",command:"projectSaveAsCloud"},{id:"Project Save as (Local)...",title:"Project Save as (Local)...",command:"projectSaveAsLocal"},{id:"Document Save as...",title:"Document Save as...",command:"docSaveAsCloud"},{id:"Document Save as (Local)...",title:"Document Save as (Local)...",command:"docSaveAsLocal"},{id:"Save as Reuse Block...",title:"Save as Reuse Block...",command:"bsSaveAsCloud",isHide:()=>Nt},{id:"Save as Reuse Block (Local)...",title:"Save as Reuse Block (Local)...",command:"bsSaveAsLocal",isHide:()=>Nt},{id:"Save as Reuse Block Based on Selected...",title:"Save as Reuse Block Based on Selected...",command:"selectedBSSaveAsCloud",isHide:()=>Nt},{id:"Save as Reuse Block(Local) Based on Selected...",title:"Save as Reuse Block(Local) Based on Selected...",command:"selectedBSSaveAsLocal",isHide:()=>Nt}],modeConfig:{[Ee.HOME]:[],[Ee.COMMON_BLANK]:["Project Save as...","Project Save as (Local)...","Save as Reuse Block...","Save as Reuse Block (Local)..."],[Ee.SCH]:["Project Save as...","Project Save as (Local)...","Document Save as...","Document Save as (Local)...","Save as Reuse Block...","Save as Reuse Block (Local)..."],[Ee.CBB_BLANK]:["Save as Reuse Block...","Save as Reuse Block (Local)..."],[Ee.CBB_SCH]:["Project Save as...","Project Save as (Local)...","Document Save as...","Document Save as (Local)...","Save as Reuse Block...","Save as Reuse Block (Local)..."],[Ee.PART]:["Document Save as...","Document Save as (Local)...","Save as (.esym)"],[Ee.BLOCK_SYMBOL]:["Document Save as...","Document Save as (Local)...","Save as (.esym)"],[Ee.NETFLAG]:["Document Save as...","Document Save as (Local)...","Save as (.esym)"],[Ee.NETPORT]:["Document Save as...","Document Save as (Local)...","Save as (.esym)"],[Ee.OFF_PAGE_CONNECTOR]:["Document Save as...","Document Save as (Local)...","Save as (.esym)"],[Ee.DIFF_PAIRS_FLAG]:["Document Save as...","Document Save as (Local)...","Save as (.esym)"],[Ee.SHEET_SYMBOL]:["Document Save as...","Document Save as (Local)...","Save as (.esym)"],[Ee.NONEELEC_SYMBOL]:["Document Save as...","Document Save as (Local)...","Save as (.esym)"],[Ee.SCH_INSTANCE]:["Project Save as...","Project Save as (Local)...","Save as Reuse Block...","Save as Reuse Block (Local)..."],[Ee.BLOCK_SCH]:["Project Save as...","Project Save as (Local)...","Project Save as (.epro)","Document Save as...","Document Save as (Local)...","Save as Reuse Block...","Save as Reuse Block (Local)..."],[Ee.CBB_BLOCK_SCH]:["Project Save as...","Project Save as (Local)...","Document Save as...","Document Save as (Local)...","Save as Reuse Block...","Save as Reuse Block (Local)..."],[Ee.PCB]:["Project Save as...","Project Save as (Local)...","Document Save as...","Document Save as (Local)...","Save as Reuse Block...","Save as Reuse Block (Local)...","Save as Reuse Block Based on Selected...","Save as Reuse Block(Local) Based on Selected..."],[Ee.FOOTPRINT]:["Document Save as...","Document Save as (Local)...","Save as (.efoo)"],[Ee.PCB2D]:[],[Ee.PCB3D]:[],[Ee.PANEL]:["Project Save as...","Project Save as (Local)...","Document Save as...","Document Save as (Local)..."],[Ee.PANEL_LIB]:["Document Save as...","Document Save as (Local)..."],[Ee.PANEL3D]:[],[Ee.ASSEMBLYVARIANT]:["Project Save as...","Project Save as (Local)..."],[Ee.NGSPICE]:["Project Save as...","Project Save as (Local)...","Document Save as...","Document Save as (Local)..."],[Ee.SIMULIDE]:["Project Save as...","Project Save as (Local)...","Document Save as...","Document Save as (Local)..."],[Ee.WAVEFORM]:["Project Save as...","Project Save as (Local)..."],[Yl]:["Document Save as...","Document Save as (Local)..."]}}},{id:"Version Control",title:"Version Control",command:"__version-control",hotkeyCmd:"opensubmenu-versioncontrol",subHotkeyId:"opensubmenu-versioncontrol",children:"/pro-ui/topMenu/recentVersion",isHide(){return Je?C.currentProject.branchNum<=2:!1},disable:()=>!Pr||!Pr.hadNode},{id:"Historical Records...",title:"Historical Records...",command:"historicalRecords"},{id:"Projects Backup",title:"Projects Backup",command:"projectsBackup",children:{menuId:"top-menu_Version Management",defaultConfig:[{id:"New Version...",title:"New Backup...",icon:{iconPath:lt.icon_eda_backup},command:"backup"},{id:"Backup Management",title:"Backup Management",command:"backup_project"}]}},null,{id:"Import",title:"Import",command:"__import",icon:{iconPath:lt.icon_eda_import},hotkeyCmd:"opensubmenu-import",subHotkeyId:"opensubmenu-import",children:{menuId:"top-menu-file-import",defaultConfig:[{id:"DXF...",title:"DXF...",command:"importDXF",disable:je},{id:"Image...",title:"Image...",icon:{iconPath:lt.icon_eda_image},command:"insertImage",disable:je},null,{id:"JLCEDA(Standard)...",title:"JLCEDA(Standard)...",command:"importFile(easyeda)",isHide:()=>vo||Nt},{id:"EasyEDA(Standard)...",title:"EasyEDA(Standard)...",command:"importFile(easyeda)",isHide:()=>!vo},{id:"JLCEDA(Professional)...",title:"JLCEDA(Professional)...",command:"importEDAPro",isHide:()=>vo},{id:"EasyEDA(Professional)...",title:"EasyEDA(Professional)...",command:"importEDAPro",isHide:()=>!vo},{id:"One-click Export Manufacturing Files",title:"One-click Export Manufacturing Files...",command:"exportManufacturingFilesForOneClick"},{id:"Altium Designer...",title:"Altium Designer...",command:"importFile(altium)",isHide:()=>Nt},{id:"Allegro/OrCad...",title:"Allegro/OrCad...",command:"importFile(allegro_orcad)"},{id:"EAGLE...",title:"EAGLE...",command:"importFile(eagle)",isHide:()=>Nt},{id:"KiCad...",title:"KiCad...",command:"importFile(kicad)",isHide:()=>Nt},{id:"PADS...",title:"PADS/PADS Pro...",command:"importFile(pads)",isHide:()=>Nt},{id:"Protel...",title:"Protel...",command:"importFile(protel)",isHide:()=>Nt},{id:"LTspice...",title:"LTspice...",command:"importFile(ltspice)",isHide:()=>Nt},{id:"T/DISA 4001...",title:"T/DISA 4001...",command:"importFile(disa-4001)",isHide:()=>Nt},{id:"JLCSMT Preview...",title:"JLCSMT Preview...",command:"importFile(smt-jlcjson)",isHide:()=>wi||_t||["pro.lceda.cn","pro.easyeda.com"].includes(location.host)},null,{id:"Auto Router(SES)...",title:"Auto Router(SES)...",command:"importSpecctraSession",disable:je,isHide:()=>Nt},{id:"Import Netlist...",title:"Import Netlist...",command:"importNetlist",isHide:()=>Is(),disable:je},{id:"Pad Coordinate File...",title:"Pad Coordinate File...",command:"padCoordinateFileDlg",isHide:()=>Nt}],modeConfig:{[Ee.SCH]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.CBB_SCH]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.PART]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.BLOCK_SYMBOL]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.NETFLAG]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.NETPORT]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.OFF_PAGE_CONNECTOR]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.DIFF_PAIRS_FLAG]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.SHEET_SYMBOL]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.NONEELEC_SYMBOL]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.SCH_INSTANCE]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.BLOCK_SCH]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.CBB_BLOCK_SCH]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.PCB]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview...",null,"Auto Router(SES)...","Import Netlist..."],[Ee.FOOTPRINT]:["DXF...","Image...","Pad Coordinate File...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.PCB2D]:[],[Ee.SCHMODULE]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.PCBMODULE]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.PANEL]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.PANEL_LIB]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."],[Ee.ASSEMBLYVARIANT]:["JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001..."],[Ee.NGSPICE]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice..."],[Ee.SIMULIDE]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice..."],[Ee.WAVEFORM]:["DXF...","Image...",null,"JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice..."],[Yl]:["JLCEDA(Standard)...","EasyEDA(Standard)...","JLCEDA(Professional)...","EasyEDA(Professional)...","Altium Designer...","Allegro/OrCad...","EAGLE...","KiCad...","PADS...","Protel...","LTspice...","T/DISA 4001...","JLCSMT Preview..."]}}},{id:"Export",title:"Export",command:"__export",icon:{iconPath:lt.icon_eda_export},hotkeyCmd:"opensubmenu-export",subHotkeyId:"opensubmenu-export",isHide:()=>Is()||uFe(),children:"/pro-ui/topMenu/fileMenu/export"},null,{id:"Print...",title:"Print...",command:"printPDF"},null,{id:"Close All",title:"Close All",command:"closeProject"},{id:"Recent Projects",title:"Recent Projects",hotkeyCmd:"opensubmenu-recent",subHotkeyId:"opensubmenu-recent",children:"/pro-ui/topMenu/recentProject"},{id:"Recycle Bin...",title:"Recycle Bin...",icon:{iconPath:lt.icon_eda_delete_trash},isHide:()=>Je,command:"recycleBin"},{id:"File Source...",title:"File Source...",command:"source(easyEDA)"}],modeConfig:{[Ee.HOME]:["New","Migrate Standard...","Open Project...",null,null,"Import","Recent Projects"],[Ee.COMMON_BLANK]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As","Version Control","Historical Records...","Projects Backup","Recycle Bin...",null,"Import","Export",null,"Print...",null,"Close All","Recent Projects","File Source..."],[Ee.SCH]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As","Version Control","Historical Records...","Projects Backup","Recycle Bin...",null,"Import","Export",null,"Print...",null,"Close All","Recent Projects","File Source..."],[Ee.CBB_BLANK]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As","Version Control","Historical Records...","Projects Backup","Recycle Bin...",null,"Import","Export",null,"Print...",null,"Close All","Recent Projects","File Source..."],[Ee.CBB_SCH]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As","Version Control","Historical Records...","Projects Backup","Recycle Bin...",null,"Import","Export",null,"Print...",null,"Close All","Recent Projects","File Source..."],[Ee.PART]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As",null,"Import","Export",null,"Close All","Recent Projects","File Source..."],[Ee.BLOCK_SYMBOL]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As",null,"Import",null,"Close All","Recent Projects","File Source..."],[Ee.NETFLAG]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As",null,"Import",null,"Close All","Recent Projects","File Source..."],[Ee.NETPORT]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As",null,"Import",null,"Close All","Recent Projects","File Source..."],[Ee.OFF_PAGE_CONNECTOR]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As",null,"Import",null,"Close All","Recent Projects","File Source..."],[Ee.DIFF_PAIRS_FLAG]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As",null,"Import",null,"Close All","Recent Projects","File Source..."],[Ee.SHEET_SYMBOL]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As",null,"Import",null,"Close All","Recent Projects","File Source..."],[Ee.NONEELEC_SYMBOL]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As",null,"Import",null,"Close All","Recent Projects","File Source..."],[Ee.SCH_INSTANCE]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As","Version Control","Historical Records...","Projects Backup","Recycle Bin...",null,"Import","Export",null,"Print...",null,"Close All","Recent Projects","File Source..."],[Ee.BLOCK_SCH]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As","Version Control","Historical Records...","Projects Backup","Recycle Bin...",null,"Import","Export",null,"Print...",null,"Close All","Recent Projects","File Source..."],[Ee.CBB_BLOCK_SCH]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As","Version Control","Historical Records...","Projects Backup","Recycle Bin...",null,"Import","Export",null,"Print...",null,"Close All","Recent Projects","File Source..."],[Ee.PCB]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As","Version Control","Historical Records...","Projects Backup","Recycle Bin...",null,"Import","Export",null,"Print...",null,"Close All","Recent Projects","File Source..."],[Ee.FOOTPRINT]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As",null,"Import","Export",null,"Close All","Recent Projects","File Source..."],[Ee.PCB2D]:["New","Migrate Standard...","Open Project...",null,"Export","Close All","Recent Projects"],[Ee.PCB3D]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Historical Records...","Projects Backup","Export",null,"Close All","Recent Projects"],[Ee.SCHMODULE]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As",null,"Import","Export",null,"Print...",null,"Close All","Recent Projects","File Source..."],[Ee.PCBMODULE]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As",null,"Import","Export",null,"Print...",null,"Close All","Recent Projects","File Source..."],[Ee.PANEL]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As","Version Control","Projects Backup","Recycle Bin...",null,"Import","Export",null,"Print...",null,"Close All","Recent Projects","File Source..."],[Ee.PANEL_LIB]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As","Version Control","Historical Records...","Projects Backup",null,"Import","Export",null,"Print...",null,"Close All","Recent Projects","File Source..."],[Ee.PANEL3D]:["New","Migrate Standard...","Open Project...",null,null,"Import","Export",null,"Close All","Recent Projects"],[Ee.ASSEMBLYVARIANT]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As","Version Control","Historical Records...","Projects Backup",null,"Import","Export",null,"Close All","Recent Projects"],[Ee.NGSPICE]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As","New Version...","Switch Version...","Cache Recovery...",null,"Import","Export",null,"Print...",null,"Close All","Recent Projects","File Source..."],[Ee.SIMULIDE]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As","New Version...","Switch Version...","Cache Recovery...",null,"Import","Export",null,"Print...",null,"Close All","Recent Projects","File Source..."],[Ee.WAVEFORM]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As","New Version...","Switch Version...","Cache Recovery...",null,"Import",null,"Print...",null,"Close All","Recent Projects"],[Yl]:["New","Migrate Standard...","Open Project...",null,"Save","Save All","Save As",null,"Import",null,"Close All","Recent Projects","File Source..."]}}};var PLi={id:"Help",title:"Help",hotkeyCmd:"openMenu(#mm-common-help)",menuItems:{menuId:"mm-common-help",defaultConfig:[{id:"Community",title:"Community",command:"show_help_file(community)"},{id:"Tutorials",title:"Tutorials",command:"tutorials"},{id:"Feedback",title:"Feedback",command:"show_help_file(feedback)",isHide:()=>vo},{id:"Contact",title:"Contact",command:"show_help_file(contact)"},{id:"Online Chat",title:"Online Chat",command:"online_chat",isHide:()=>!vo||_t},{id:"About...",title:"About...",icon:{iconPath:lt.icon_eda_info},command:"show_about"},null,{id:"Video Capture",title:"Video Capture...",command:"show_videocapture"},{id:"Performance Diagnostic Tools",title:"Performance Diagnostic...",command:"show_performancetool"}],modeConfig:{[Ee.HOME]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.COMMON_BLANK]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.SCH]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.CBB_BLANK]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.CBB_SCH]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.PART]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.BLOCK_SYMBOL]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.NETFLAG]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.NETPORT]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.OFF_PAGE_CONNECTOR]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.DIFF_PAIRS_FLAG]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.SHEET_SYMBOL]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.NONEELEC_SYMBOL]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.SCH_INSTANCE]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.BLOCK_SCH]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.CBB_BLOCK_SCH]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.PCB]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.FOOTPRINT]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.PCB2D]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.PCB3D]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.SCHMODULE]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.PCBMODULE]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.PANEL]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.PANEL_LIB]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Ee.PANEL3D]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"],[Yl]:["Community","Tutorials","Feedback","Contact","Online Chat","About...",null,"Video Capture","Performance Diagnostic Tools"]}}};var vSt=L(LSt());var _Li={id:"Layout",title:"Layout",hotkeyCmd:"openMenu(#mm-common-layout)",menuItems:{menuId:"mm-common-layout",defaultConfig:[{id:"Auto Pin Placement",title:"Auto Pin Placement...",command:"autoPinPlacement",isHide:()=>Nt,disable:je},{id:"Auto\xA0Component\xA0Placement",title:"Auto\xA0Component\xA0Placement",command:"autoLayout",isHide:()=>Nt,disable:je},null,{id:"Group",title:"Group",icon:{iconPath:lt.icon_eda_group},hotkeyCmd:"opensubmenu-group",subHotkeyId:"opensubmenu-group",disable:je,children:{menuId:"top-menu-layout-group",defaultConfig:[{id:"Group Selected",title:"Group Selected",command:"groupSelected",disable:je},{id:"Join Group",title:"Join Group",command:"joinGroup",disable:je},{id:"Remove from group",title:"Remove From Group",command:"removeFromGroup",isHide(){return![Ee.SCH,Ee.CBB_SCH,Ee.SCH_INSTANCE,Ee.BLOCK_SCH,Ee.CBB_BLOCK_SCH].includes(Po.workingMode)},disable:je},{id:"Reuse Layout Route",title:"Reuse Layout Route",command:"reuseLayoutRoute",isHide(){return[Ee.PANEL,Ee.PANEL_LIB,Ee.PANEL3D,Ee.SCH,Ee.CBB_SCH,Ee.SCH_INSTANCE,Ee.BLOCK_SCH,Ee.CBB_BLOCK_SCH,Ee.FOOTPRINT].includes(Po.workingMode)||Nt},disable:je},null,{id:"Ungroup Selected",title:"Ungroup Selected",command:"ungroupSelected",disable:je},{id:"Ungroup All Empty Groups",title:"Ungroup All Empty Groups",command:"ungroupAllEmpty",isHide(){return![Ee.PANEL,Ee.PANEL_LIB].includes(Po.workingMode)},disable:je},{id:"Ungroup All",title:"Ungroup All",command:"ungroupAll",disable:je}]}},{id:"Property Location...",title:"Property Location...",command:"set-attr-text-position",disable:je},{id:"Swap Location",title:"Swap Location",command:"swapLocation",disable:je},{id:"Flip to Opposite Side",title:"Flip to Opposite Side",command:"flip2OppositeSide",disable:je},null,{id:"Offset",title:"Offset",subHotkeyId:"opensubmenu-offset",hotkeyCmd:"opensubmenu-offset",disable:je,children:{menuId:"top-menu-layout-offset",defaultConfig:[{id:"Absolute Offset...",title:"Absolute Offset...",command:"absoluteOffset",disable:je},{id:"Relative Offset...",title:"Relative Offset...",command:"relativeOffset",disable:je}]}},{id:"Align",title:"Align",icon:{iconPath:lt.icon_eda_align_left},subHotkeyId:"opensubmenu-align",hotkeyCmd:"opensubmenu-align",disable:je,children:{menuId:"top-menu-layout-Align",defaultConfig:[{id:"Align Left",title:"Align Left",icon:{iconPath:lt.icon_eda_align_left},command:"align_left",disable:je},{id:"Align Right",title:"Align Right",icon:{iconPath:lt.icon_eda_align_right},command:"align_right",disable:je},{id:"Align Top",title:"Align Top",icon:{iconPath:lt.icon_eda_align_top},command:"align_top",disable:je},{id:"Align Bottom",title:"Align Bottom",icon:{iconPath:lt.icon_eda_align_bottom},command:"align_bottom",disable:je},{id:"Select the Reference Object",title:"Select the Reference Object",command:"checkIfSelectAlignRefObject",optionType:{type:"checkbox"},disable:je},null,{id:"Align Horizontal Centers",title:"Align Horizontal Centers",icon:{iconPath:lt.icon_eda_align_horizontal_center},command:"align_horizontal_center",disable:je},{id:"Align Vertical Centers",title:"Align Vertical Centers",icon:{iconPath:lt.icon_eda_align_vertical_center},command:"align_vertical_center",disable:je},{id:"Select the Reference Object For Centers",title:"Select the Reference Object",command:"checkIfSelectAlignRefObjectForCenters",optionType:{type:"checkbox"},disable:je},null,{id:"Align Grid",title:"Align Grid",icon:{iconPath:lt.icon_eda_align_grid},command:"align_grid",disable:je}]}},{id:"Distribute",title:"Distribute",icon:{iconPath:lt.icon_eda_distribute_horizontally},subHotkeyId:"opensubmenu-distribute",hotkeyCmd:"opensubmenu-distribute",disable:je,children:{menuId:"top-menu-layout-Distribute",defaultConfig:[{id:"Distribute Horizontally",title:"Distribute Horizontally",icon:{iconPath:lt.icon_eda_distribute_horizontally},hotkeyCmd:"align_horizontal_equidistant",subHotkeyId:"align_horizontal_equidistant",command:"distribute_horizontal_equidistant",disable:je},{id:"Distribute Vertically",title:"Distribute Vertically",icon:{iconPath:lt.icon_eda_distribute_vertically},hotkeyCmd:"align_vertical_equidistant",subHotkeyId:"align_vertical_equidistant",command:"distribute_vertical_equidistant",disable:je},{id:"Distribute Left Edges Equidistantly",title:"Distribute Left Edges Equidistantly",icon:{iconPath:lt.icon_eda_distribute_left_edges},command:"distribute_left_side_edge_equidistant",disable:je},{id:"Distribute Top Edges Equidistantly",title:"Distribute Top Edges Equidistantly",icon:{iconPath:lt.icon_eda_distribute_top_edges},command:"distribute_top_side_edge_equidistant",disable:je},{id:"Distribute Horizontally by Center Distance",title:"Distribute Horizontally by Center Distance...",icon:{iconPath:lt.icon_eda_distribute_horizontally_by_center_distance},command:"distribute_horizontal_by_center_distance",disable:je},{id:"Distribute Vertically by Center Distance",title:"Distribute Vertically by Center Distance...",icon:{iconPath:lt.icon_eda_distribute_vertically_by_center_distance},command:"distribute_vertical_by_center_distance",disable:je},{id:"Distribute Horizontally by Edges Distance",title:"Distribute Horizontally by Edges Distance...",icon:{iconPath:lt.icon_eda_distribute_horizontally_by_distance},command:"distribute_horizontal_by_edges_distance",disable:je},{id:"Distribute Vertically by Edges Distance",title:"Distribute Vertically by Edges Distance...",icon:{iconPath:lt.icon_eda_distribute_vertically_by_distance},command:"distribute_vertical_by_edges_distance",disable:je},{id:"Distribute Array...",title:"Distribute Array...",icon:{iconPath:lt.icon_eda_distribute_array},command:"distribute",disable:je},{id:"Component Distribute By Region",title:"Component Distribute By Region",icon:{iconPath:lt.icon_eda_distribute_region},command:"component_distribute_by_region",disable:je}],modeConfig:{[Ee.PCB]:["Distribute Horizontally","Distribute Vertically","Distribute Left Edges Equidistantly","Distribute Top Edges Equidistantly","Distribute Horizontally by Center Distance","Distribute Vertically by Center Distance","Distribute Horizontally by Edges Distance","Distribute Vertically by Edges Distance","Distribute Array...","Component Distribute By Region"],[Ee.FOOTPRINT]:["Distribute Horizontally","Distribute Vertically","Distribute Left Edges Equidistantly","Distribute Top Edges Equidistantly","Distribute Horizontally by Center Distance","Distribute Vertically by Center Distance","Distribute Horizontally by Edges Distance","Distribute Vertically by Edges Distance","Distribute Array..."],[Ee.SCHMODULE]:["Distribute Horizontally","Distribute Vertically","Distribute Left Edges Equidistantly","Distribute Top Edges Equidistantly","Distribute Horizontally by Center Distance","Distribute Vertically by Center Distance","Distribute Horizontally by Edges Distance","Distribute Vertically by Edges Distance","Distribute Array..."],[Ee.PCBMODULE]:["Distribute Horizontally","Distribute Vertically","Distribute Left Edges Equidistantly","Distribute Top Edges Equidistantly","Distribute Horizontally by Center Distance","Distribute Vertically by Center Distance","Distribute Horizontally by Edges Distance","Distribute Vertically by Edges Distance","Distribute Array..."],[Ee.COMMON_BLANK]:["Distribute Horizontally","Distribute Vertically"],[Ee.CBB_BLANK]:["Distribute Horizontally","Distribute Vertically"],[Ee.BLOCK_SYMBOL]:["Distribute Horizontally","Distribute Vertically"],[Ee.NETFLAG]:["Distribute Horizontally","Distribute Vertically"],[Ee.NETPORT]:["Distribute Horizontally","Distribute Vertically"],[Ee.OFF_PAGE_CONNECTOR]:["Distribute Horizontally","Distribute Vertically"],[Ee.DIFF_PAIRS_FLAG]:["Distribute Horizontally","Distribute Vertically"],[Ee.SHEET_SYMBOL]:["Distribute Horizontally","Distribute Vertically"],[Ee.NONEELEC_SYMBOL]:["Distribute Horizontally","Distribute Vertically"],[Yl]:["Distribute Horizontally","Distribute Vertically"]}}},{id:"Rotate",title:"Rotate",icon:{iconPath:lt.icon_eda_rotate_left},subHotkeyId:"opensubmenu_rotate",hotkeyCmd:"opensubmenu-rotate",disable:je,children:{menuId:"top-menu-layout-Rotate",defaultConfig:[{id:"Rotate...",title:"Rotate...",icon:{iconPath:lt.icon_eda_rotate_left},command:"rotate_ccw",disable:je},{id:"Rotate Left",title:"Rotate Left",icon:{iconPath:lt.icon_eda_rotate_left},command:"rotate_left",disable:je},{id:"Rotate Right",title:"Rotate Right",icon:{iconPath:lt.icon_eda_rotate_right},command:"rotate_right",disable:je},{id:"Rotate By Reference Point",title:"Rotate By Reference Point",icon:{iconPath:lt.icon_eda_rotate_by_reference},command:"rotate_reference_point",disable:je}],modeConfig:{[Ee.PCB]:["Rotate Left","Rotate Right","Rotate By Reference Point"],[Ee.FOOTPRINT]:["Rotate Left","Rotate Right","Rotate By Reference Point"],[Ee.PANEL]:["Rotate...","Rotate Left","Rotate Right"],[Ee.PANEL_LIB]:["Rotate...","Rotate Left","Rotate Right"],[Yl]:["Rotate Left","Rotate Right"]}}},{id:"Flip",title:"Flip",icon:{iconPath:lt.icon_eda_flip_horizontally},subHotkeyId:"opensubmenu-flip",hotkeyCmd:"opensubmenu-flip",disable:je,children:{menuId:"top-menu-layout-Flip",defaultConfig:[{id:"Flip Right and Left",title:"Flip Right and Left",icon:{iconPath:lt.icon_eda_flip_horizontally},command:"fliph",disable:je},{id:"Flip Up and Down",title:"Flip Up and Down",icon:{iconPath:lt.icon_eda_flip_vertically},command:"flipv",disable:je},{id:"Flip Right and Left by Reference Point",title:"Flip Right and Left by Reference Point",command:"fliph_reference_point",disable:je},{id:"Flip Up and Down by Reference Point",title:"Flip Up and Down by Reference Point",command:"flipv_reference_point",disable:je}],modeConfig:{[Ee.PCB]:["Flip Right and Left","Flip Up and Down","Flip Right and Left by Reference Point","Flip Up and Down by Reference Point"],[Ee.FOOTPRINT]:["Flip Right and Left","Flip Up and Down","Flip Right and Left by Reference Point","Flip Up and Down by Reference Point"],[Yl]:["Flip Right and Left","Flip Up and Down"]}}},{id:"Level",title:"Level",subHotkeyId:"opensubmenu-level",hotkeyCmd:"opensubmenu-level",disable:je,children:{menuId:"top-menu-layout-Level",defaultConfig:[{id:"Raise one level",title:"Raise one level",icon:{iconClassName:vSt.default.locals["icon-eda-arrowup"]},command:"raise_one_level",disable:je},{id:"Lower one level",title:"Lower one level",icon:{iconClassName:vSt.default.locals["icon-eda-arrowdown"]},command:"lower_one_level",disable:je},{id:"Bring to Front",title:"Bring to Front",icon:{iconPath:lt.icon_eda_bring_to_front},command:"bring_to_front",disable:je},{id:"Send to Back",title:"Send to Back",icon:{iconPath:lt.icon_eda_send_to_back},command:"send_to_back",disable:je}],modeConfig:{[Ee.CBB_BLOCK_SCH]:["Send to Back"],[Ee.PANEL]:["Raise one level","Lower one level","Bring to Front","Send to Back"],[Ee.PANEL_LIB]:["Raise one level","Lower one level","Bring to Front","Send to Back"],[Yl]:["Bring to Front","Send to Back"]}}}],modeConfig:{[Ee.HOME]:[],[Ee.COMMON_BLANK]:[],[Ee.SCH]:["Group","Property Location...",null,"Align","Distribute","Rotate","Flip","Level"],[Ee.CBB_BLANK]:[],[Ee.CBB_SCH]:["Group","Property Location...",null,"Align","Distribute","Rotate","Flip","Level"],[Ee.SCH_INSTANCE]:["Group","Property Location...",null,"Align","Distribute","Rotate","Flip","Level"],[Ee.BLOCK_SCH]:["Group","Property Location...",null,"Align","Distribute","Rotate","Flip","Level"],[Ee.CBB_BLOCK_SCH]:["Group","Property Location...",null,"Align","Distribute","Rotate","Flip","Level"],[Ee.PCB]:["Auto\xA0Component\xA0Placement",null,"Group","Property Location...","Swap Location","Flip to Opposite Side",null,"Offset","Align","Distribute","Rotate","Flip"],[Ee.FOOTPRINT]:["Group",null,"Offset","Align","Distribute","Rotate","Flip"],[Ee.PCB3D]:[],[Ee.PCBMODULE]:["Group","Property Location...","Align","Distribute","Rotate","Flip","Level"],[Ee.PART]:["Auto Pin Placement",null,"Align","Distribute","Rotate","Flip","Level"],[Ee.BLOCK_SYMBOL]:["Auto Pin Placement",null,"Align","Distribute","Rotate","Flip","Level"],[Ee.NETFLAG]:["Align","Distribute","Rotate","Flip","Level"],[Ee.NETPORT]:["Align","Distribute","Rotate","Flip","Level"],[Ee.OFF_PAGE_CONNECTOR]:["Align","Distribute","Rotate","Flip","Level"],[Ee.DIFF_PAIRS_FLAG]:["Align","Distribute","Rotate","Flip","Level"],[Ee.SHEET_SYMBOL]:["Align","Distribute","Rotate","Flip","Level"],[Ee.NONEELEC_SYMBOL]:["Align","Distribute","Rotate","Flip","Level"],[Yl]:["Group","Align","Distribute","Rotate","Flip","Level"],[Ee.NGSPICE]:["Property Location...",null,"Align","Distribute","Rotate","Flip","Level"],[Ee.SIMULIDE]:["Property Location...",null,"Align","Distribute","Rotate","Flip","Level"]}}};var jLi={id:"Place",title:"Place",hotkeyCmd:"openMenu(#mm-common-place)",menuItems:{menuId:"mm-common-place",defaultConfig:[{id:"Via",title:"Via",icon:{iconPath:lt.icon_eda_via},hotkeyCmd:"PlaceVia",subHotkeyId:"PlaceVia",command:"place_part(via)",disable:je},{id:"Suture Vias...",title:"Suture Vias",icon:{iconPath:lt.icon_eda_vias_suture},hotkeyCmd:"opensubmenu-suturevias",subHotkeyId:"opensubmenu-suturevias",disable:je,isHide:()=>Nt,children:{menuId:"top-menu-place-Suture_Vias",defaultConfig:[{id:"Rectangle...",title:"Rectangle...",command:"draw(rectSutureVia)"},{id:"Polygon...",title:"Polygon...",command:"draw(polygonSutureVia)"},{id:"Line...",title:"Line...",command:"draw(lineSutureVia)"}]}},{id:"Via Fence",title:"Via Fence...",icon:{iconPath:lt.icon_pcb_via_fence},command:"PlaceViaFence",disable:je},{id:"Pad",title:"Pad",icon:{iconPath:lt.icon_eda_pad},hotkeyCmd:"opensubmenu-pad",subHotkeyId:"opensubmenu-pad",disable:je,isHide:()=>Nt,children:{menuId:"top-menu-place-place-Pad",defaultConfig:[{id:"Single Pad",title:"Single Pad",icon:{iconPath:lt.icon_eda_pad},command:"PlaceSinglePad"},{id:"Line Pads",title:"Line Pads",icon:{iconPath:lt.icon_eda_pad_line},command:"place_part(line_pads)"},{id:"Rectangle Pads",title:"Rectangle Pads",icon:{iconPath:lt.icon_eda_pad_rectangle},command:"place_part(rect_pads)"}]}},{id:"EcadPad",title:{context:"ECAD",value:"Pad"},icon:{iconPath:lt.icon_eda_pad},hotkeyCmd:"opensubmenu-pad",subHotkeyId:"opensubmenu-pad",disable:je,isHide:()=>!Nt,children:{menuId:"top-menu-place-place-Pad",defaultConfig:[{id:"Single Pad",title:"Single Pad",icon:{iconPath:lt.icon_eda_pad},command:"PlaceSinglePad",isHide:()=>Nt},{id:"Ecad Single Pad",title:{context:"ECAD",value:"Connection point"},icon:{iconPath:lt.icon_eda_pad},command:"PlaceSinglePad",isHide:()=>!Nt},{id:"Line Pads",title:"Line Pads",icon:{iconPath:lt.icon_eda_pad_line},command:"place_part(line_pads)",isHide:()=>Nt},{id:"Rectangle Pads",title:"Rectangle Pads",icon:{iconPath:lt.icon_eda_pad_rectangle},command:"place_part(rect_pads)",isHide:()=>Nt}]}},{id:"Pad-pcb",title:"Pad",icon:{iconPath:lt.icon_eda_pad},command:"PlaceSinglePad",disable:je},{id:"Shaped Pad",title:"Shaped Pad",icon:{iconPath:lt.icon_eda_pad_polygon},command:"place_part(polygonpad)",disable:je,isHide:()=>Nt},null,{id:"Board Outline",title:"Board Outline",icon:{iconPath:lt.icon_eda_board_outline},hotkeyCmd:"opensubmenu-boardoutline",subHotkeyId:"opensubmenu-boardoutline",disable:je,isHide:()=>Nt,children:{menuId:"top-menu-place-Board_Outline",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(ROutline)"},{id:"Circle",title:"Circle",command:"draw(COutline)"},{id:"Polygon",title:"Polygon",command:"draw(POutline)"}]}},{id:"Ecad Board Outline",title:{context:"ECAD",value:"Custom Installation Board"},icon:{iconPath:lt.icon_eda_board_outline},hotkeyCmd:"opensubmenu-boardoutline",subHotkeyId:"opensubmenu-boardoutline",disable:je,isHide:()=>!Nt,children:{menuId:"top-menu-place-Board_Outline",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(ROutline)"},{id:"Circle",title:"Circle",command:"draw(COutline)"},{id:"Polygon",title:"Polygon",command:"draw(POutline)"}]}},{id:"Copper Region",title:"Copper Region",icon:{iconPath:lt.icon_eda_region_copper},hotkeyCmd:"copperRegion",subHotkeyId:"copperRegion",disable:je,isHide:()=>Nt,children:{menuId:"top-menu-place-CopperRegion",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(RCopper)"},{id:"Circle",title:"Circle",command:"draw(CCopper)"},{id:"Polygon",title:"Polygon",command:"draw(PCopper)"}]}},{id:"Fill Region",title:"Fill Region",icon:{iconPath:lt.icon_eda_region_fill},hotkeyCmd:"fillRegion",subHotkeyId:"fillRegion",disable:je,isHide:()=>Nt,children:{menuId:"top-menu-place-FillRegion",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(RRegion)"},{id:"Circle",title:"Circle",command:"draw(CRegion)"},{id:"Polygon",title:"Polygon",command:"draw(PRegion)"}]}},{id:"Slot Region",title:"Slot Region",icon:{iconPath:lt.icon_eda_region_slot},hotkeyCmd:"opensubmenu-slotRegion",subHotkeyId:"opensubmenu-slotRegion",disable:je,children:{menuId:"top-menu-place-SlotRegion",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(RSlot)"},{id:"Circle",title:"Circle",command:"draw(CSlot)"},{id:"Polygon",title:"Polygon",command:"draw(PSlot)"}]}},{id:"Prohibited Region",title:"Prohibited Region",icon:{iconPath:lt.icon_eda_region_prohibited},hotkeyCmd:"prohibitedRegion",subHotkeyId:"prohibitedRegion",disable:je,isHide:()=>Nt,children:{menuId:"top-menu-place-ProhibitedRegion",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(RProhibit)"},{id:"Circle",title:"Circle",command:"draw(CProhibit)"},{id:"Polygon",title:"Polygon",command:"draw(PProhibit)"}]}},{id:"Constraint Region",title:"Constraint Region",icon:{iconPath:lt.icon_eda_region_constraint},hotkeyCmd:"constraintRegion",subHotkeyId:"constraintRegion",disable:je,isHide:()=>Nt,children:{menuId:"top-menu-place-ConstraintRegion",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(RConstraint)"},{id:"Circle",title:"Circle",command:"draw(CConstraint)"},{id:"Polygon",title:"Polygon",command:"draw(PConstraint)"}]}},{id:"Line",title:"Line",icon:{iconPath:lt.icon_eda_line},hotkeyCmd:"opensubmenu-drawline",subHotkeyId:"opensubmenu-drawline",disable:je,children:{menuId:"top-menu-place-line",defaultConfig:[{id:"Polyline",title:"Polyline",icon:{iconPath:lt.icon_eda_line},hotkeyCmd:"draw(polyline)",subHotkeyId:"draw(polyline)",command:"draw(Line)"},{id:"Center Arc",title:"Center Arc",icon:{iconPath:lt.icon_eda_arc_center},command:"draw(arcCenter)"},{id:"Two Points Arc",title:"Two Points Arc",icon:{iconPath:lt.icon_eda_arc_two_points},command:"draw(arc2)"},{id:"Three Points Arc",title:"Three Points Arc",icon:{iconPath:lt.icon_eda_arc_three_points},command:"draw(arc)"},{id:"Circle",title:"Circle",icon:{iconPath:lt.icon_eda_circle},command:"draw(circle)"},{id:"Rectangle",title:"Rectangle",icon:{iconPath:lt.icon_eda_rectangle},command:"draw(rect)"}]}},null,{id:"Device...",title:"Device/Reuse Block...",icon:{iconPath:lt.icon_eda_symbol},command:"placeDevice",isHide:()=>Nt||Is(),disable:je},{id:"SimulationDevice...",title:"SimulationDevice...",icon:{iconPath:lt.icon_eda_symbol},command:"placeDevice",args:{docType:8},disable:je},{id:"Ecad Device...",title:{context:"ECAD",value:"Device..."},icon:{iconPath:lt.icon_eda_symbol},command:"placeDevice",isHide:()=>!Nt||Is(),disable:je},{id:"Shortcut Device",title:"Shortcut Device",icon:{iconPath:lt.icon_eda_symbol},hotkeyCmd:"opensubmenu-shortcutDevice",subHotkeyId:"opensubmenu-shortcutDevice",isHide:()=>Nt,disable:je,children:{menuId:"top-menu-place-ShortcutDevice",defaultConfig:[{id:"Resistor",title:"Resistor",icon:{iconPath:lt.icon_eda_symbol_resistor},command:"place_shortcut_device(resistor)",disable:je},{id:"Capacitor",title:"Capacitor",icon:{iconPath:lt.icon_eda_symbol_capacitor},command:"place_shortcut_device(capacitor)",disable:je},{id:"Inductor",title:"Inductor",icon:{iconPath:lt.icon_eda_symbol_inductor},command:"place_shortcut_device(inductor)",disable:je},{id:"Diode",title:"Diode",icon:{iconPath:lt.icon_eda_symbol_diode},command:"place_shortcut_device(diode)",disable:je}]}},{id:"Pin",title:"Pin",icon:{iconPath:lt.icon_eda_pin},hotkeyCmd:"opensubmenu-placepin",subHotkeyId:"opensubmenu-placepin",isHide:()=>Nt,children:{menuId:"top-menu-place-pin",defaultConfig:[{id:"Single Pin",title:"Single Pin",icon:{iconPath:lt.icon_eda_pin},command:"place_part(pin)"},{id:"Line Pins",title:"Line Pins",icon:{iconPath:lt.icon_eda_pin_line},command:"place_part(line_pins)"},{id:"Rectangle Pins",title:"Rectangle Pins",icon:{iconPath:lt.icon_eda_pin_rect},command:"place_part(rect_pins)"}]}},{id:"Ecad Pin",title:{context:"ECAD",value:"Pin"},icon:{iconPath:lt.icon_eda_pin},hotkeyCmd:"opensubmenu-placepin",subHotkeyId:"opensubmenu-placepin",isHide:()=>!Nt,children:{menuId:"top-menu-place-pin",defaultConfig:[{id:"Single Pin",title:"Single Pin",icon:{iconPath:lt.icon_eda_pin},command:"place_part(pin)",isHide:()=>Nt},{id:"Single Pin",title:{context:"ECAD",value:"Single Pin"},icon:{iconPath:lt.icon_eda_pin},command:"place_part(pin)",isHide:()=>!Nt},{id:"Line Pins",title:"Line Pins",icon:{iconPath:lt.icon_eda_pin_line},command:"place_part(line_pins)",isHide:()=>Nt},{id:"Rectangle Pins",title:"Rectangle Pins",icon:{iconPath:lt.icon_eda_pin_rect},command:"place_part(rect_pins)",isHide:()=>Nt}]}},null,{id:"Wire",title:"Wire",icon:{iconPath:lt.icon_eda_wire},command:"draw(wire)",disable:je},{id:"Bus",title:"Bus",icon:{iconPath:lt.icon_eda_bus},command:"draw(bus)",disable:je},{id:"Net Label",title:"Net Label",icon:{iconPath:lt.icon_eda_net_label},command:"place_part(netlabel)",disable:je},{id:"Short Flag",title:"Short Flag",icon:{iconPath:lt.icon_eda_symbol_short},command:"place_special_part(short_symbol)",disable:je},{id:"Net Flag",title:"Net Flag",icon:{iconPath:lt.icon_eda_netflag_vcc},hotkeyCmd:"opensubmenu-netflag",subHotkeyId:"opensubmenu-netflag",isHide:()=>Nt,disable:je,children:{menuId:"top-menu-place-Net Flag",defaultConfig:[{id:"VCC",title:"VCC",icon:{iconPath:lt.icon_eda_netflag_vcc},command:"place_special_part(netflag_VCC)",disable:je},{id:"+5V",title:"+5V",icon:{iconPath:lt.icon_eda_netflag_5V},command:"place_special_part(netflag_5V)",disable:je},{id:"GND",title:"GND",icon:{iconPath:lt.icon_eda_netflag_gnd},command:"place_special_part(netflag_gnD)",disable:je},{id:"AGND",title:"AGND",icon:{iconPath:lt.icon_eda_netflag_agnd},command:"place_special_part(netflag_GNd)",disable:je},{id:"PGND",title:"PGND",icon:{iconPath:lt.icon_eda_netflag_pgnd},command:"place_special_part(netflag_gNd)",disable:je}]}},{id:"Net Port",title:"Net Port",icon:{iconPath:lt.icon_eda_netport_in},hotkeyCmd:"opensubmenu-netPort",subHotkeyId:"opensubmenu-netPort",isHide:()=>Nt,disable:je,children:{menuId:"top-menu-place-NetPort",defaultConfig:[{id:"IN",title:"IN",icon:{iconPath:lt.icon_eda_netport_in},command:"place_special_part(netport_IN)"},{id:"OUT",title:"OUT",icon:{iconPath:lt.icon_eda_netport_out},command:"place_special_part(netport_OUT)"},{id:"BI",title:"BI",icon:{iconPath:lt.icon_eda_netport_bi},command:"place_special_part(netport_BI)"}]}},{id:"Off Page Connector",title:"Off Page Connector",icon:{iconPath:lt.icon_eda_off_page_connector_in},hotkeyCmd:"opensubmenu-offPageConnector",subHotkeyId:"opensubmenu-offPageConnector",isHide:()=>Nt,disable:je,children:{menuId:"top-menu-place-OffPageConnector",defaultConfig:[{id:"Off Page Connector - IN",title:"IN",icon:{iconPath:lt.icon_eda_off_page_connector_in},command:"place_special_part(offPageConnector_IN)"},{id:"Off Page Connector - OUT",title:"OUT",icon:{iconPath:lt.icon_eda_off_page_connector_out},command:"place_special_part(offPageConnector_OUT)"},{id:"Off Page Connector - BI",title:"BI",icon:{iconPath:lt.icon_eda_off_page_connector_bi},command:"place_special_part(offPageConnector_BI)"}]}},{id:"No Connect Flag",title:"No Connect Flag",icon:{iconPath:lt.icon_eda_no_connect_flag},command:"place_part(noconnect)",disable:je},{id:"Junction Flag",title:"Junction Flag",icon:{iconPath:lt.icon_eda_junction_flag},command:"place_part(junction)",disable:je},{id:"Differential Pairs Flag",title:"Differential Pairs Flag",icon:{iconPath:lt.icon_eda_differential},command:"place_part(diffPairsFlag)",disable:je},{id:"Test Point Device",title:"Test Point",icon:{iconPath:lt.icon_eda_point_test},command:"place_shortcut_device(test_point)",isHide:()=>Nt,disable:je},{id:"Mask Region",title:"Mask Region",command:"draw(maskRegion)",icon:{iconPath:lt.icon_eda_place_mask_region},isHide:()=>Nt,disable:je},{id:"Component Mask",title:"Component Mask",command:"openSetComponentMaskDialog",isHide:()=>Nt,disable:je},{id:"Reuse Block",title:"Reuse Block",icon:{iconPath:lt.icon_eda_symbol_block},command:"draw(block)",disable:je},null,{id:"Polyline",title:"Polyline",icon:{iconPath:lt.icon_eda_line},command:"draw(polyline)",disable:je},{id:"Pen",title:"Pen",icon:{iconPath:lt.eda_pen_tool},command:"draw(pen)",disable:je},{id:"panel-dimension",title:"Smart Dimension",icon:{iconPath:lt.eda_dimension_smart},hotkeyCmd:"opensubmenu-dimension",subHotkeyId:"opensubmenu-dimension",command:"draw(dimension-xy)",disable:je,children:{menuId:"top-menu-panel-dimension",defaultConfig:[{id:"panel-dimension-xy",title:"Smart Dimension",icon:{iconPath:lt.eda_dimension_smart},command:"draw(dimension-xy)"},{id:"panel-dimension-x",title:"Horizontal Dimension",icon:{iconPath:lt.eda_dimension_horizontal},command:"draw(dimension-x)"},{id:"panel-dimension-y",title:"Vertical Dimension",icon:{iconPath:lt.eda_dimension_vertical},command:"draw(dimension-y)"}]}},{id:"panel-measure",title:"Dimension",icon:{iconPath:lt.icon_eda_dimension_length},hotkeyCmd:"opensubmenu-dimension",subHotkeyId:"opensubmenu-dimension",command:"draw(measure-length)",disable:je,children:{menuId:"top-menu-panel-measure",defaultConfig:[{id:"panel-measure-length",title:"Length",icon:{iconPath:lt.icon_eda_dimension_length},command:"draw(measure-length)",hotkeyCmd:"draw(dimension)",subHotkeyId:"draw(dimension)"},{id:"panel-measure-angle",title:"Angle",icon:{iconPath:lt.icon_eda_dimension_degree},command:"draw(measure-angle)",hotkeyCmd:"draw(protractor)",subHotkeyId:"draw(protractor)"},{id:"panel-measure-radius",title:"Radius",icon:{iconPath:lt.icon_eda_dimension_radius},command:"draw(measure-radius)",hotkeyCmd:"draw(radius)",subHotkeyId:"draw(radius)"}]}},{id:"Arc",title:"Arc",icon:{iconPath:lt.icon_eda_arc},command:"draw(arc)",disable:je},{id:"panel-arc",title:"Elliptical Arc",icon:{iconPath:lt.icon_eda_arc},command:"draw(arc)",hotkeyCmd:"opensubmenu-panel-arc",subHotkeyId:"opensubmenu-panel-arc",disable:je,children:{menuId:"top-menu-panel-arc",defaultConfig:[{id:"Three Points Arc",title:"Three Points Arc",icon:{iconPath:lt.icon_eda_arc_three_points},command:"draw(arc)"},{id:"Center Arc",title:"Center Arc",icon:{iconPath:lt.icon_eda_arc_center},command:"draw(arcCenter)"},{id:"Two Points Arc",title:"Two Points Arc",icon:{iconPath:lt.icon_eda_arc_two_points},command:"draw(arc2)"}]}},{id:"panel-circle",title:"Ellipse",icon:{iconPath:lt.icon_eda_circle},command:"draw(circle)",disable:je},{id:"Bezier",title:"Bezier",icon:{iconPath:lt.icon_eda_bezier},command:"draw(bezier)",disable:je},{id:"Only Test Point",title:"Test Point",icon:{iconPath:lt.icon_eda_point_test},command:"place_part(testPad)",disable:je},{id:"Test Point",title:"Test Point",icon:{iconPath:lt.icon_eda_point_test},hotkeyCmd:"opensubmenu-testPad",subHotkeyId:"opensubmenu-testPad",disable:je,children:{menuId:"top-menu-place-testPad",defaultConfig:[{id:"Test Point",title:"Single Test Point",command:"place_part(testPad)"},{id:"Auto Test Point",title:"Auto Place Test Point...",command:"place_part(autoTestPad)"}]}},{id:"FPC Stiffener",title:"FPC Stiffener",icon:{iconPath:lt.icon_eda_fpc_stiffeners},hotkeyCmd:"opensubmenu-fpcStiffener",subHotkeyId:"opensubmenu-fpcStiffener",disable:je,isHide:()=>Nt,children:{menuId:"top-menu-place-FPCStiffener",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(RectFPCStiffener)"},{id:"Circle",title:"Circle",command:"draw(CirFPCStiffener)"},{id:"Polygon",title:"Polygon",command:"draw(PolyFPCStiffener)"}]}},null,{id:"Circle",title:"Circle",icon:{iconPath:lt.icon_eda_circle},command:"draw(circle)",disable:je},{id:"Ellipse",title:"Ellipse",icon:{iconPath:lt.icon_eda_ellipse},command:"draw(ellipse)",disable:je},{id:"Rectangle",title:"Rectangle",icon:{iconPath:lt.icon_eda_rectangle},command:"draw(rect)",disable:je},{id:"panel-rect",title:"Rect",icon:{iconPath:lt.icon_eda_rectangle},command:"draw(rect)",disable:je},{id:"Text",title:"Text",icon:{iconPath:lt.icon_eda_text},command:"showTextDialog",disable:je},{id:"Text_pcb",title:"Text",icon:{iconPath:lt.icon_eda_text},command:"showTextDialog_pcb",disable:je},{id:"Image...",title:"Image...",icon:{iconPath:lt.icon_eda_image},command:"insertImage",disable:je},{id:"Dimension",title:"Dimension",icon:{iconPath:lt.icon_eda_dimension},hotkeyCmd:"opensubmenu-dimension",subHotkeyId:"opensubmenu-dimension",disable:je,children:{menuId:"top-menu-place-Dimension",defaultConfig:[{id:"Length",title:"Length",icon:{iconPath:lt.icon_eda_dimension_length},command:"draw(dimension)"},{id:"Angle",title:"Angle",icon:{iconPath:lt.icon_eda_dimension_degree},command:"draw(protractor)"},{id:"Radius",title:"Radius",icon:{iconPath:lt.icon_eda_dimension_radius},command:"draw(radius)"}]}},{id:"Table...",title:"Table...",icon:{iconPath:lt.icon_eda_table},command:"editTable",disable:je},{id:"Stack Table",title:"Stack Table",icon:{iconPath:lt.icon_eda_table},command:"place_part(stack_table)",isHide:()=>Nt,disable:je},{id:"Drill Table",title:"Drill Table",icon:{iconPath:lt.icon_eda_table},command:"place_part(drill_table)",disable:je},{id:"Canvas Origin",title:"Canvas Origin",icon:{iconPath:lt.icon_eda_canvas_origin},hotkeyCmd:"opensubmenu-canvasOrigin",subHotkeyId:"opensubmenu-canvasOrigin",disable:je,children:{menuId:"top-menu-place-CanvasOrigin",defaultConfig:[{id:"By Cursor...",title:"By Cursor...",command:"draw(origin)"},{id:"By Coordinate...",title:"By Coordinate...",command:"setOriginByCoordinate"},{id:"By Center Grid of Graphics",title:"By Center Grid of Graphics",command:"setOriginByCenter"},{id:"By First Pin",title:"By First Pin",command:"setOriginByFirstPin",isHide:()=>Nt},{id:"By Center of Pads",title:"By Center of Pads",command:"placeOriginCenter",isHide:()=>Nt},{id:"By First Pad",title:"By First Pad",command:"placeOriginPad",isHide:()=>Nt}],modeConfig:{[Ee.PART]:["By Cursor...","By Coordinate...","By Center Grid of Graphics","By First Pin"],[Ee.BLOCK_SYMBOL]:["By Cursor...","By Coordinate...","By Center Grid of Graphics","By First Pin"],[Ee.NETFLAG]:["By Cursor...","By Coordinate...","By Center Grid of Graphics","By First Pin"],[Ee.NETPORT]:["By Cursor...","By Coordinate...","By Center Grid of Graphics","By First Pin"],[Ee.OFF_PAGE_CONNECTOR]:["By Cursor...","By Coordinate...","By Center Grid of Graphics","By First Pin"],[Ee.DIFF_PAIRS_FLAG]:["By Cursor...","By Coordinate...","By Center Grid of Graphics","By First Pin"],[Ee.SHEET_SYMBOL]:["By Cursor...","By Coordinate...","By Center Grid of Graphics"],[Ee.NONEELEC_SYMBOL]:["By Cursor...","By Coordinate...","By Center Grid of Graphics"],[Ee.PCB]:["By Cursor...","By Coordinate..."],[Ee.FOOTPRINT]:["By Cursor...","By Coordinate...","By Center of Pads","By First Pad","EcadPad"],[Ee.PANEL]:["By Cursor...","By Coordinate..."],[Ee.PANEL_LIB]:["By Cursor...","By Coordinate..."]}}},{id:"Auxiliary",title:"Auxiliary",icon:{iconPath:lt.icon_eda_auxiliary},hotkeyCmd:"opensubmenu-auxiliary",subHotkeyId:"opensubmenu-auxiliary",disable:je,children:{menuId:"top-menu-place-auxiliary",defaultConfig:[{id:"Horizontal Auxiliary Line",title:"Horizontal Auxiliary Line",icon:{iconPath:lt.icon_eda_auxiliary_horizontal},command:"place_auxiliary(horizontalLine)"},{id:"Vertical Auxiliary Line",title:"Vertical Auxiliary Line",icon:{iconPath:lt.icon_eda_auxiliary_vertical},command:"place_auxiliary(verticalLine)"},{id:"Cross Auxiliary Line",title:"Cross Auxiliary Line",icon:{iconPath:lt.icon_eda_auxiliary},command:"place_auxiliary(crossLine)"},{id:"Auxiliary Point",title:"Auxiliary Point",icon:{iconPath:lt.icon_eda_auxiliary_point},command:"place_auxiliary(point)"}]}},null,{id:"3D Shell - Outline",title:"3D Shell - Outline",icon:{iconPath:lt.icon_eda_3dshell_outline},hotkeyCmd:"opensunmenu-3dShellOutline",subHotkeyId:"opensunmenu-3dShellOutline",disable:je,children:{menuId:"top-menu-place-3D_Shell_Outline",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(R3dShellOutline)"},{id:"Circle",title:"Circle",command:"draw(C3dShellOutline)"},{id:"Polygon",title:"Polygon",command:"draw(P3dShellOutline)"}]}},{id:"3D Shell - Screw Pillar",title:"3D Shell - Screw Pillar",icon:{iconPath:lt.icon_eda_3dshell_screw_pillar},command:"place_part(3dShellScrewPillar)",disable:je},{id:"3D Shell - Side Datum Line",title:"3D Shell - Side Datum Line",icon:{iconPath:lt.icon_eda_3dshell_datum_line},command:"draw(3dShellSideSlotDatumLine)",disable:je},{id:"3D Shell - Side Slot Region",title:"3D Shell - Side Slot Region",icon:{iconPath:lt.icon_eda_3dshell_side_region_slot},hotkeyCmd:"opensubmenu-3DShellSideSlotRegion",subHotkeyId:"opensubmenu-3DShellSideSlotRegion",disable:je,children:{menuId:"top-menu-place-SideSlotRegion",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(R3dShellSideSlotRegion)"},{id:"Circle",title:"Circle",command:"draw(C3dShellSideSlotRegion)"},{id:"Polygon",title:"Polygon",command:"draw(P3dShellSideSlotRegion)"}]}},{id:"3D Shell - Top/Bottom Slot Region",title:"3D Shell - Top/Bottom Slot Region",icon:{iconPath:lt.icon_eda_3dshell_top_region_slot},hotkeyCmd:"opensubmenu-3DShell-Top_Bottom-SlotRegion",subHotkeyId:"opensubmenu-3DShell-Top_Bottom-SlotRegion",disable:je,children:{menuId:"top-menu-place-Top/BottomSlotRegion",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(R3dShellTopSlotRegion)"},{id:"Circle",title:"Circle",command:"draw(C3dShellTopSlotRegion)"},{id:"Polygon",title:"Polygon",command:"draw(P3dShellTopSlotRegion)"}]}},{id:"3D Shell - Side Entity",title:"3D Shell - Side Entity",icon:{iconPath:lt.icon_eda_3dshell_side_entity},hotkeyCmd:"opensubmenu-3DShell-SideEntity",subHotkeyId:"opensubmenu-3DShell-SideEntity",disable:je,children:{menuId:"top-menu-place-SideEntity",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(R3dShellSideEntity)"},{id:"Circle",title:"Circle",command:"draw(C3dShellSideEntity)"},{id:"Polygon",title:"Polygon",command:"draw(P3dShellSideEntity)"}]}},{id:"3D Shell - Top/Bottom Entity",title:"3D Shell - Top/Bottom Entity",icon:{iconPath:lt.icon_eda_3dshell_top_entity},hotkeyCmd:"opensubmenu-3DShell-TopEntity",subHotkeyId:"opensubmenu-3DShell-TopEntity",disable:je,children:{menuId:"top-menu-place-Top/BottomEntity",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(R3dShellTopBottomEntity)"},{id:"Circle",title:"Circle",command:"draw(C3dShellTopBottomEntity)"},{id:"Polygon",title:"Polygon",command:"draw(P3dShellTopBottomEntity)"}]}},{id:"Probe",title:"Probe",disable:je,children:{menuId:"top-menu-place-Top/Probe",defaultConfig:[{id:"Probe/V",title:"Probe/V",icon:{iconPath:lt.icon_eda_sim_probe_voltage},command:"place_shortcut_device(placeProbe/V)",disable:je},{id:"Probe/I",title:"Probe/I",icon:{iconPath:lt.icon_eda_sim_probe_current},command:"place_shortcut_device(placeProbe/I)",disable:je},{id:"Probe/L",title:"Probe/L",icon:{iconPath:lt.icon_eda_sim_probe_digital},command:"place_shortcut_device(placeProbe/L)",disable:je}]}},{id:"Instrumentation",title:"Instrumentation",disable:je,children:{menuId:"top-menu-place-Top/Instrumentation",defaultConfig:[{id:"Four Channel Oscilloscope",title:"Four Channel Oscilloscope",command:"place_shortcut_device(four_channel_oscilloscope)",disable:je},{id:"Multimeter",title:"Multimeter",command:"place_shortcut_device(Multimeter)",disable:je}]}}],modeConfig:{[Ee.HOME]:[],[Ee.COMMON_BLANK]:["Device...","Ecad Device...","Shortcut Device","Test Point Device","Component Mask"],[Ee.SCH]:["Device...","Ecad Device...","Shortcut Device",null,"Wire","Bus","Net Label","Short Flag","Net Flag","Net Port","Off Page Connector","No Connect Flag","Junction Flag","Differential Pairs Flag","Test Point Device","Mask Region","Component Mask","Reuse Block",null,"Polyline","Arc","Bezier","Circle","Ellipse","Rectangle","Text","Image...","Table..."],[Ee.CBB_BLANK]:["Device...","Shortcut Device","Test Point Device","Mask Region","Component Mask",null],[Ee.CBB_SCH]:["Device...","Ecad Device...","Shortcut Device",null,"Wire","Bus","Net Label","Short Flag","Net Flag","Net Port","Off Page Connector","No Connect Flag","Junction Flag","Differential Pairs Flag","Test Point Device","Mask Region","Component Mask","Reuse Block",null,"Polyline","Arc","Bezier","Circle","Ellipse","Rectangle","Text","Image...","Table..."],[Ee.PART]:["Pin","Ecad Pin",null,"Polyline","Arc","Bezier",null,"Circle","Ellipse","Rectangle","Text","Image...","Table...","Canvas Origin"],[Ee.BLOCK_SYMBOL]:["Pin","Ecad Pin",null,"Polyline","Arc","Bezier",null,"Circle","Ellipse","Rectangle","Text","Image...","Table...","Canvas Origin"],[Ee.NETFLAG]:["Pin","Ecad Pin",null,"Polyline","Arc","Bezier",null,"Circle","Ellipse","Rectangle","Text","Image...","Table...","Canvas Origin"],[Ee.NETPORT]:["Pin","Ecad Pin",null,"Polyline","Arc","Bezier",null,"Circle","Ellipse","Rectangle","Text","Image...","Table...","Canvas Origin"],[Ee.OFF_PAGE_CONNECTOR]:["Pin","Ecad Pin",null,"Polyline","Arc","Bezier",null,"Circle","Ellipse","Rectangle","Text","Image...","Table...","Canvas Origin"],[Ee.DIFF_PAIRS_FLAG]:["Polyline","Arc","Bezier","Circle","Ellipse","Rectangle","Text","Image...","Table...","Canvas Origin"],[Ee.SHEET_SYMBOL]:["Polyline","Arc","Bezier","Circle","Ellipse","Rectangle","Text","Image...","Table...","Canvas Origin"],[Ee.NONEELEC_SYMBOL]:["Pin","Ecad Pin",null,"Arc","Bezier",null,"Circle","Ellipse","Rectangle","Text","Image...","Table...","Canvas Origin"],[Ee.SCH_INSTANCE]:["Device...","Ecad Device...","Shortcut Device",null,"Wire","Bus","Net Label","Short Flag","Net Flag","Net Port","Off Page Connector","No Connect Flag","Junction Flag","Differential Pairs Flag","Test Point Device","Mask Region","Component Mask","Reuse Block",null,"Polyline","Arc","Bezier","Circle","Ellipse","Rectangle","Text","Image...","Table..."],[Ee.BLOCK_SCH]:["Device...","Ecad Device...","Shortcut Device",null,"Wire","Bus","Net Label","Short Flag","Net Flag","Net Port","Off Page Connector","No Connect Flag","Junction Flag","Differential Pairs Flag","Test Point Device","Mask Region","Component Mask","Reuse Block",null,"Polyline","Arc","Bezier","Circle","Ellipse","Rectangle","Text","Image...","Table..."],[Ee.CBB_BLOCK_SCH]:["Device...","Ecad Device...","Shortcut Device",null,"Wire","Bus","Net Label","Short Flag","Net Flag","Net Port","Off Page Connector","No Connect Flag","Junction Flag","Differential Pairs Flag","Test Point Device","Mask Region","Component Mask","Reuse Block",null,"Polyline","Arc","Bezier","Circle","Ellipse","Rectangle","Text","Image...","Table..."],[Ee.PCB]:["Device...","Ecad Device...","Via","Suture Vias...","Via Fence","Pad-pcb","Shaped Pad",null,"Board Outline","Ecad Board Outline","Copper Region","Fill Region","Slot Region","Prohibited Region","Constraint Region","Line",null,"Test Point","FPC Stiffener",null,"Text_pcb","Image...","Dimension","Stack Table","Drill Table","Canvas Origin",null,"3D Shell - Outline","3D Shell - Screw Pillar","3D Shell - Side Datum Line","3D Shell - Side Slot Region","3D Shell - Top/Bottom Slot Region","3D Shell - Side Entity","3D Shell - Top/Bottom Entity"],[Ee.FOOTPRINT]:["Via","Pad","EcadPad","Shaped Pad",null,"Fill Region","Slot Region","Prohibited Region","Line",null,"Only Test Point","FPC Stiffener",null,"Text_pcb","Image...","Dimension","Canvas Origin"],[Ee.PCB3D]:[],[Ee.SCHMODULE]:["Device...","Ecad Device...","Shortcut Device","Test Point Device","Mask Region","Component Mask",null,"Polyline","Arc","Bezier","Circle","Ellipse","Rectangle","Text","Image...","Table..."],[Ee.PCBMODULE]:["Line","Device...","Ecad Device...","Shortcut Device","Test Point Device",null,"Text","Dimension"],[Ee.PANEL]:["Pen","panel-arc","panel-circle","panel-rect","Text","Image...","Canvas Origin","panel-dimension","Auxiliary","panel-measure"],[Ee.PANEL_LIB]:["Pen","panel-arc","panel-circle","panel-rect","Text","Image...","Canvas Origin","panel-dimension","Auxiliary","panel-measure"],[Ee.NGSPICE]:["SimulationDevice...","Ecad Device...","Shortcut Device","Probe",null,"Wire","Net Label","Net Flag","No Connect Flag",null,"Polyline","panel-arc","Bezier","Circle","Ellipse","Rectangle","Text","Image...","Table..."],[Ee.SIMULIDE]:["SimulationDevice...","Ecad Device...","Shortcut Device","Probe","Instrumentation",null,"Wire","Net Label","Net Flag","No Connect Flag",null,"Polyline","panel-arc","Bezier","Circle","Ellipse","Rectangle","Text","Image...","Table..."],[Yl]:["Device...","Ecad Device...","Shortcut Device","Test Point Device",null,"Polyline","Table..."]}}};var BLi={id:"Route",title:"Route",hotkeyCmd:"openMenu(#mm-common-route)",menuItems:{menuId:"mm-common-route",defaultConfig:[{id:"Single Routing",title:"Single Routing",icon:{iconPath:lt.icon_eda_routing_single},hotkeyCmd:"SingleRouting",subHotkeyId:"SingleRouting",command:"draw(track)",disable:je},{id:"Stretch Track",title:"Stretch Track",icon:{iconPath:lt.icon_eda_routing_stretch},command:"draw(stretchtrack)",disable:je},{id:"Differential Pair Routing",title:"Differential Pair Routing",icon:{iconPath:lt.icon_eda_routing_differential},command:"draw(difftrack)",isHide:()=>Nt,disable:je},{id:"Multiple Routing",title:"Multiple Routing",icon:{iconPath:lt.icon_eda_routing_multiple},hotkeyCmd:"MultiRouting",subHotkeyId:"MultiRouting",command:"draw(multiTrack)",isHide:()=>Nt,disable:je},{id:"Equal Length Tunning",title:"Equal Length Tuning",icon:{iconPath:lt.icon_eda_routing_tuning},command:"equalLengthTuning",isHide:()=>Nt,disable:je},{id:"Differential Pair Equal Length Tunning",title:"Differential Pair Equal Length Tuning",icon:{iconPath:lt.icon_eda_routing_differential_tunning},command:"diffPairEqualLengthTuning",isHide:()=>Nt,disable:je},{id:"Optimized Path...",title:"Gloss Selected Track",icon:{iconPath:lt.eda_routing_gloss},command:"pcbOptimizedPath",disable:je},{id:"Auto Routing...",title:"Auto Routing...",icon:{iconPath:lt.icon_eda_routing_auto},command:"auto-routing",disable:je},{id:"Fanout Routing...",title:"Fanout Routing...",icon:{iconPath:lt.eda_routing_fanout},command:"pcbBatchFanout",isHide:()=>Nt,disable:je},null,{id:"Routing Mode",title:"Routing Mode",icon:{iconPath:lt.icon_eda_routing_push},hotkeyCmd:"changeRoutingMode",subHotkeyId:"changeRoutingMode",isHide:()=>Nt,disable:je,children:{menuId:"top-menu-route-RoutingMode",defaultConfig:[{id:"Push",title:"Push",command:"routeMode(WIRING_MODE_PUSHAWAY)",optionType:{type:"radio",groupName:"RoutingMode"}},{id:"Around & Push",title:"Around & Push",command:"routeMode(WIRING_MODE_SURROUND_AND_PUSHAWAY)",optionType:{type:"radio",groupName:"RoutingMode"}},{id:"Around",title:"Around",command:"routeMode(WIRING_MODE_SURROUND)",optionType:{type:"radio",groupName:"RoutingMode"}},{id:"Block",title:"Block",command:"routeMode(WIRING_MODE_OBSTRUCT)",optionType:{type:"radio",groupName:"RoutingMode"}},{id:"Ignore",title:"Ignore",command:"routeMode(WIRING_MODE_IGNORE)",optionType:{type:"radio",groupName:"RoutingMode"}}]}},{id:"Routing Corner",title:"Routing Corner",hotkeyCmd:"RoutingCorner",subHotkeyId:"RoutingCorner",disable:je,children:{menuId:"top-menu-route-RoutingCorner",defaultConfig:[{id:"Line 45\xB0",title:"Line 45\xB0",command:"routeLine(WIRING_CORNER_LINE45)",callback:()=>Ai.setRoutingCornerValue("routeLine(WIRING_CORNER_LINE45)"),optionType:{type:"radio",groupName:"RoutingCorner"}},{id:"Line 90\xB0",title:"Line 90\xB0",command:"routeLine(WIRING_CORNER_LINE90)",callback:()=>Ai.setRoutingCornerValue("routeLine(WIRING_CORNER_LINE90)"),optionType:{type:"radio",groupName:"RoutingCorner"}},{id:"Arc 45\xB0",title:"Arc 45\xB0",command:"routeLine(WIRING_CORNER_ARC45)",callback:()=>Ai.setRoutingCornerValue("routeLine(WIRING_CORNER_ARC45)"),optionType:{type:"radio",groupName:"RoutingCorner"}},{id:"Arc 90\xB0",title:"Arc 90\xB0",command:"routeLine(WIRING_CORNER_ARC90)",callback:()=>Ai.setRoutingCornerValue("routeLine(WIRING_CORNER_ARC90)"),optionType:{type:"radio",groupName:"RoutingCorner"}},{id:"Arc Free Angle",title:"Arc Free Angle",command:"routeLine(WIRING_CORNER_ARC)",callback:()=>Ai.setRoutingCornerValue("routeLine(WIRING_CORNER_ARC)"),optionType:{type:"radio",groupName:"RoutingCorner"}},{id:"Line Free Angle",title:"Line Free Angle",command:"routeLine(WIRING_CORNER_FREEANGLE)",callback:()=>Ai.setRoutingCornerValue("routeLine(WIRING_CORNER_FREEANGLE)"),optionType:{type:"radio",groupName:"RoutingCorner"}}]}},{id:"Routing Width",title:{value:"Routing Width",context:"router"},subHotkeyId:"opensubmenu-routingWidth",hotkeyCmd:"opensubmenu-routingWidth",children:"/pro-ui/topMenu/trackWidthMenu",isHide:()=>Nt,disable:je},null,{id:"Remove Loop",title:"Remove Loop",command:"removeLoop",optionType:{type:"checkbox"},isHide:()=>Nt,disable:je},{id:"Unroute",title:"Unroute",hotkeyCmd:"opensubmenu-unroute",subHotkeyId:"opensubmenu-unroute",disable:je,isHide:()=>Nt,children:{menuId:"top-menu-route-Unroute",defaultConfig:[{id:"Connection",title:"Connection",command:"unrouteClearConnect"},{id:"Net",title:"Net",command:"unrouteClearNetwork"},{id:"All",title:"All",command:"clearAllRoute"}]}},{id:"Auto Trim Silkscreen",title:"Auto Trim Silkscreen",command:"autoTrimSilkscreen",optionType:{type:"checkbox"},isHide:()=>Nt}],modeConfig:{[Ee.PCB]:["Single Routing","Differential Pair Routing","Multiple Routing",null,"Stretch Track","Optimized Path...","Equal Length Tunning","Differential Pair Equal Length Tunning",null,"Fanout Routing...","Auto Routing...",null,"Routing Mode","Routing Corner","Routing Width",null,"Remove Loop","Unroute"],[Ee.FOOTPRINT]:["Routing Corner","Routing Width",null,"Auto Trim Silkscreen"],[Ee.PCBMODULE]:["Auto Routing..."]}}};var zLi={id:"Settings",title:"Settings",hotkeyCmd:"openMenu(#mm-common-settings)",menuItems:{menuId:"mm-common-settings",defaultConfig:[{id:"System",title:"System",icon:{iconPath:lt.icon_eda_setting},hotkeyCmd:"opensubmenu-system",subHotkeyId:"opensubmenu-system",children:{menuId:"top-menu-setting-System",defaultConfig:[{id:"General",title:"General",command:"commonButtonsSetting(SYSTEM)"},{id:"Category",title:"Category",command:"commonButtonsSetting(CATEGORY)"},{id:"Common Library",title:"Common Library",command:"commonButtonsSetting(BASE_LIBRARY)"}]}},{id:na?"Schematic/Symbol/Simulation":"Schematic/Symbol",title:na?"Schematic/Symbol/Simulation":"Schematic/Symbol",hotkeyCmd:"opensubmenu-schematic_symbol",subHotkeyId:"opensubmenu-schematic_symbol",children:{menuId:"top-menu-setting-Schematic/Symbol/Simulation",defaultConfig:[{id:"General",title:"General",command:"commonButtonsSetting(CANVAS)"},{id:"Theme",title:"Theme",command:"commonButtonsSetting(OBJECT)"}]},isHide:()=>(!Nl||Gc.status)&&!na},{id:"PCB/Footprint",title:"PCB/Footprint",hotkeyCmd:"opensubmenu-pcb_footprint",subHotkeyId:"opensubmenu-pcb_footprint",isHide:()=>Nt||!Eu&&!Nl,children:{menuId:"top-menu-setting-PCB/Footprint",defaultConfig:[{id:"General",title:"General",command:"commonButtonsSetting(PCB_FOOTPRINT)"},{id:"Theme",title:"Theme",command:"commonButtonsSetting(PCB_THEME)"},{id:"Display",title:"Display",command:"commonButtonsSetting(PCB_SHOW)"},{id:"Common Grid/Snap Size Setting",title:"Common Grid/Snap Size Setting",command:"commonButtonsSetting(PCB_COMM_GRID_SIZE)"},{id:"Common Track Width Setting",title:"Common Track Width Setting",command:"commonButtonsSetting(PCB_COMM_TRACK_WIDTH)"},{id:"Common Via Size Setting",title:"Common Via Size Setting",command:"commonButtonsSetting(PCB_COMM_VIA_SIZE)"},{id:"Snap",title:"Snap",command:"commonButtonsSetting(ADSORPTION)"}]}},{id:"Ecad PCB/Footprint",title:{context:"ECAD",value:"2D Graphics"},hotkeyCmd:"opensubmenu-pcb_footprint",subHotkeyId:"opensubmenu-pcb_footprint",isHide:()=>!Nt,children:{menuId:"top-menu-setting-PCB/Footprint",defaultConfig:[{id:"General",title:"General",command:"commonButtonsSetting(PCB_FOOTPRINT)"},{id:"Theme",title:"Theme",command:"commonButtonsSetting(PCB_THEME)"},{id:"Common Grid/Snap Size Setting",title:"Common Grid/Snap Size Setting",command:"commonButtonsSetting(PCB_COMM_GRID_SIZE)"},{id:"Common Track Width Setting",title:"Common Track Width Setting",command:"commonButtonsSetting(PCB_COMM_TRACK_WIDTH)"},{id:"Common Via Size Setting",title:"Common Via Size Setting",command:"commonButtonsSetting(PCB_COMM_VIA_SIZE)"},{id:"Snap",title:"Snap",command:"commonButtonsSetting(ADSORPTION)"}]}},{id:"Panel",title:"Panel/Panel Lib",hotkeyCmd:"opensubmenu-panel",subHotkeyId:"opensubmenu-panel",isHide:()=>Nt||!Vw||Gc.status,children:{menuId:"top-menu-setting-Panel",defaultConfig:[{id:"General",title:"General",command:"commonButtonsSetting(PANEL_CANVAS)"},{id:"Theme",title:"Theme",command:"commonButtonsSetting(PANEL_THEME)"}]}},{id:"Common Font Family",title:"Common Font Family",command:"commonButtonsSetting(COMM_TYPEFACE)"},{id:"Drawing",title:"Drawing",command:"commonButtonsSetting(DESIGN)"},{id:"Property",title:"Property",command:"commonButtonsSetting(PROPERTY)"},{id:"Hotkey",title:"Hotkey",command:"commonButtonsSetting(HOTKEY)"},{id:"Top Toolbar",title:"Top Toolbar",command:"commonButtonsSetting(CUSTOM_TOOLBAR)"},{id:"Save",title:"Save",command:"commonButtonsSetting(SAVE)"},null,{id:"Client",title:"Client",command:"commonButtonsSetting(CLIENT)",isHide:()=>!wi}],modeConfig:{[Ee.HOME]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol","PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.COMMON_BLANK]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.SCH]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.CBB_BLANK]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.CBB_SCH]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.PART]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.BLOCK_SYMBOL]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.NETFLAG]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.NETPORT]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.OFF_PAGE_CONNECTOR]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.DIFF_PAIRS_FLAG]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.SHEET_SYMBOL]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.NONEELEC_SYMBOL]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.SCH_INSTANCE]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.BLOCK_SCH]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.CBB_BLOCK_SCH]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.PCB]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.FOOTPRINT]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.PCB2D]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.PCB3D]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.SCHMODULE]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.PCBMODULE]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.PANEL]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.PANEL_LIB]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Ee.PANEL3D]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"],[Yl]:["System",na?"Schematic/Symbol/Simulation":"Schematic/Symbol",,"PCB/Footprint","Ecad PCB/Footprint","Panel","Common Font Family","Drawing","Property","Hotkey","Top Toolbar","Save",null,"Client"]}}};var FLi={id:"SimExample",title:"SimExample",hotkeyCmd:"openMenu(#mm-common-simExample)",menuItems:{menuId:"mm-common-simexample",defaultConfig:[{id:"SimFilter",title:"SimFilter",icon:{},command:"openFilerProject"}]}};var ULi={id:"Sim",title:"Sim",hotkeyCmd:"openMenu(#mm-common-sim)",menuItems:{menuId:"mm-common-sim",defaultConfig:[{id:"Run",title:"Run",disable:()=>VCe()||je(),icon:{iconPath:lt.icon_eda_sim_start},command:"start_sim"},{id:" Pause",title:"Pause",hotkeyCmd:"opensubmenu-pause",command:"pause_sim",icon:{iconPath:lt.icon_eda_sim_pause},disable:()=>dt()===ve.NGSPICE||UCe()},{id:"Stop",title:"Stop",hotkeyCmd:"opensubmenu-stop",disable:UCe,icon:{iconPath:lt.icon_eda_sim_stop},command:"stop_sim"},{id:"NGSimSetting",title:"NGSimSetting",command:"commonButtonsNGSimSetting",hotkeyCmd:"opensubmenu-simsetting",icon:{iconPath:lt.icon_eda_sim_setting},disable:()=>VCe()||je(),isHide:()=>dt()===ve.SIMULIDE},{id:"Log...",title:"Log...",command:"log-tool"}]}};var VLi={id:"Tools",title:"Tools",hotkeyCmd:"openMenu(#mm-common-tools)",menuItems:{menuId:"mm-common-tools",defaultConfig:[{id:"Advanced Symbol Wizard...",title:"Advanced Symbol Wizard...",icon:{iconPath:lt.icon_eda_wizard},command:"SCHLibWizard"},{id:"Datasheet Extract Wizard...",title:"Datasheet Extract Wizard...",icon:{iconPath:lt.icon_eda_datasheet},command:"OcrWizard"},{id:"Measure",title:"Measure",icon:{iconPath:lt.icon_eda_measure},hotkeyCmd:"opensubmenu-measure",subHotkeyId:"opensubmenu-measure",children:{menuId:"top-menu-tool-measure",defaultConfig:[{id:"Measure Distance",title:"Measure Distance",command:"MeasureDistance"},{id:"Measure Object",title:"Measure Object",command:"MeasureObjectDistance"},{id:"Creepage Distance",title:"Creepage Distance",command:"CreepageDistance",disable:je,isHide:()=>!_t}]}},{id:"Smart Dimension",title:"Smart Dimension",icon:{iconPath:lt.icon_eda_dimension_smart},command:"smartSize"},{id:"Check Dimension",title:"Check Dimension",icon:{iconPath:lt.icon_eda_dimension_check},command:"checkDimension"},{id:"Teardrop...",title:"Teardrop...",icon:{iconPath:lt.eda_teardrop1},command:"teardrop",isHide:()=>Nt,disable:je},{id:"Panelize...",title:"Panelize...",command:"openPanelizeDlg",isHide:()=>Is()||Nt,disable:je},{id:"Remove Unused Pad...",title:"Remove Unused Pad...",command:"removeUnusedPadDlg",hotkeyCmd:"removeUnusedPad",subHotkeyId:"removeUnusedPad",isHide:()=>Is()||Nt,disable:je},{id:"Log...",title:"Log...",command:"log-tool"},{id:"Connect Pads",title:"Connect Pads",icon:{iconPath:lt.icon_eda_ratline},command:"connectPads",isHide:()=>Is(),disable:je},null,{id:"Footprint Manager...",title:"Footprint Manager...",icon:{iconPath:lt.icon_eda_manager_footprint},command:"openFootPrintManager",isHide:()=>Nt},{id:"Ecad Footprint Manager...",title:{context:"ECAD",value:"2D Manager..."},icon:{iconPath:lt.icon_eda_manager_footprint},command:"openFootPrintManager",isHide:()=>!Nt},{id:"Device Manager...",title:"Device Manager...",icon:{iconPath:lt.icon_eda_manager_device},isHide:()=>Is(),command:"openDeviceManager"},{id:"Device Standardization...",title:"Device Standardization...",isHide:()=>_t,command:"openDeviceStandardizationTab"},{id:"Assembly Variants",title:"Assembly Variants...",command:"openAssemblyVariants",isHide:()=>Nt},{id:"IPC/DAC-2552 Properties...",title:"IPC/DAC-2552 Properties...",command:"openIpcDac2552Dlg",isHide:()=>Nt},{id:"Layer Manager...",title:"Layer Manager...",icon:{iconPath:lt.icon_eda_manager_layer},command:"layerOptionsSet",isHide:()=>Nt,disable:je},{id:"Copper Manager...",title:"Copper Manager...",icon:{iconPath:lt.icon_eda_manager_copper},command:"viewCopperAreaManager",isHide:()=>Nt,disable:je},{id:"3D Model Manager...",title:"3D Model Manager...",icon:{iconPath:lt.icon_eda_manager_3d_model},command:"view3DModelManager",isHide:()=>Is()},{id:"Pin Delay Manager...",title:"Pin Delay Manager...",command:"viewPinDelayManager",hotkeyCmd:"viewPinDelayManager"},{id:"JLCPCB SMT Part Selection Tool...",title:"JLCPCB SMT Part Selection Tool...",icon:{iconPath:lt.icon_eda_bom_matching},command:"viewBomMatchingTool",isHide:()=>_t||Nt},{id:"Soldering Assistance Tool...",title:"Soldering Assistance Tool...",icon:{iconPath:lt.icon_eda_soldering_assistance},command:"viewSolderingAssistance"},{id:"PCB Comparison...",title:"PCB Comparison...",command:"openPcbComparisonDlg"},{id:"Renumber Pins...",title:"Renumber Pins...",command:"renumberPins"},{id:"Renumber Pads...",title:"Renumber Pads...",command:"renumberPads"},null,{id:"Footprint Manager(symbol)",title:"Footprint Manager...",icon:{iconPath:lt.icon_eda_manager_footprint},command:"linkFootprint",isHide:()=>{let t=mt.getSymbolLibManage();return!!(t&&String(t)!=="1")}},{id:"3D Model Manager(symbol)",title:"3D Model Manager...",icon:{iconPath:lt.icon_eda_manager_3d_model},command:"link3DModel",isHide:()=>{let t=mt.getSymbolLibManage();return!!(t&&String(t)!=="1")}},{id:"Netlist Comparison...",title:"Netlist Comparison...",command:"compareNetlist"},{id:"Schematic Comparison...",title:"Schematic Comparison...",command:"compareSchematic"}],modeConfig:{[Ee.HOME]:["Log...","Netlist Comparison...","PCB Comparison..."],[Ee.COMMON_BLANK]:["Log...","Netlist Comparison...","Schematic Comparison...","PCB Comparison...",null],[Ee.SCH]:["Log...","Footprint Manager...","Ecad Footprint Manager...","Device Manager...","Device Standardization...","Assembly Variants","IPC/DAC-2552 Properties...",null,"Netlist Comparison...","Schematic Comparison..."],[Ee.CBB_SCH]:["Log...","Footprint Manager...","Ecad Footprint Manager...","Device Manager...","Device Standardization...","Assembly Variants","IPC/DAC-2552 Properties...",null,"Netlist Comparison...","Schematic Comparison..."],[Ee.PART]:["Advanced Symbol Wizard...","Datasheet Extract Wizard...","Log...","Renumber Pins...","IPC/DAC-2552 Properties...",null,"Footprint Manager(symbol)","3D Model Manager(symbol)","Netlist Comparison..."],[Ee.BLOCK_SYMBOL]:["Log...","Renumber Pins...",null,"Netlist Comparison...","Schematic Comparison..."],[Ee.NETFLAG]:["Log...","Renumber Pins...",null,"Netlist Comparison..."],[Ee.NETPORT]:["Log...","Renumber Pins...",null,"Netlist Comparison..."],[Ee.OFF_PAGE_CONNECTOR]:["Log...","Renumber Pins...",null,"Netlist Comparison..."],[Ee.NONEELEC_SYMBOL]:["Log...","Renumber Pins...",null,"Netlist Comparison..."],[Ee.SCH_INSTANCE]:["Log...",null,"Footprint Manager...","Ecad Footprint Manager...","Device Manager...","Device Standardization...","Assembly Variants","IPC/DAC-2552 Properties...",null,"Netlist Comparison...","Schematic Comparison..."],[Ee.BLOCK_SCH]:["Log...","Footprint Manager...","Ecad Footprint Manager...","Device Manager...","Device Standardization...","Assembly Variants","IPC/DAC-2552 Properties...",null,"Netlist Comparison...","Schematic Comparison..."],[Ee.CBB_BLOCK_SCH]:["Log...",null,"Footprint Manager...","Ecad Footprint Manager...","Device Manager...","Device Standardization...","Assembly Variants","IPC/DAC-2552 Properties...",null,"Netlist Comparison...","Schematic Comparison..."],[Ee.PCB]:["Measure","Teardrop...","Panelize...","Remove Unused Pad...","Log...","Connect Pads",null,"Device Manager...","Device Standardization...","Layer Manager...","Copper Manager...","3D Model Manager...","Pin Delay Manager...","IPC/DAC-2552 Properties...",null,"JLCPCB SMT Part Selection Tool...","Soldering Assistance Tool...","Netlist Comparison...","PCB Comparison..."],[Ee.FOOTPRINT]:["Measure","Smart Dimension","Check Dimension","Log...",null,"Layer Manager...","Renumber Pads...","Netlist Comparison..."],[Yl]:["Log...","Netlist Comparison..."]}}};var HLi={id:"View",title:"View",hotkeyCmd:"openMenu(#mm-common-view)",menuItems:{menuId:"mm-common-view",defaultConfig:[{id:"2D Preview",title:"2D Preview",icon:{iconPath:lt.icon_eda_preview_2d},command:"Preview2D"},{id:"3D Preview",title:"3D Preview",icon:{iconPath:lt.icon_eda_preview_3d},command:"Preview3D"},{id:"3D Shell Preview",title:"3D Shell Preview...",icon:{iconPath:lt.icon_eda_preview_3d},command:"Preview3DInNewWindow"},null,{id:"Zoom in",title:"Zoom In",icon:{iconPath:lt.icon_eda_zoom_in},command:"zoom(in)"},{id:"Zoom Out",title:"Zoom Out",icon:{iconPath:lt.icon_eda_zoom_out},command:"zoom(out)"},{id:"Fit All in Window",title:"Fit All in Window",icon:{iconPath:lt.icon_eda_view_fit_all},command:"fitview"},{id:"Fit Selection View",title:"Fit Selection View",icon:{iconPath:lt.icon_eda_view_fit_selection},command:"adaptSelectionView"},{id:"Fit Area Selection View",title:"Fit Area Selection View",icon:{iconPath:lt.icon_eda_view_fit_area_selection},command:"adaptAreaSelectionView"},{id:"Fit Board Outline View",title:"Fit Board Outline View",icon:{iconPath:lt.icon_eda_view_fit_board_outline},command:"fitBoard"},{id:"Full Screen",title:"Full Screen",icon:{iconPath:lt.icon_eda_view_full_screen},hotkeyCmd:"full_screen",subHotkeyId:"full_screen",command:"fullScreen"},null,{id:"Normal View",title:"Normal View",command:"switchView(normal)",optionType:{type:"radio",groupName:"switchView"}},{id:"Outline View",title:"Outline View",command:"switchView(outline)",optionType:{type:"radio",groupName:"switchView"}},null,{id:"Switch Brightness",title:"Switch Brightness",hotkeyCmd:"SwitchLayerBrightness",subHotkeyId:"SwitchLayerBrightness",children:{menuId:"top-menu-view-Switch_Brightness",defaultConfig:[{id:"Normal Brightness",title:"Normal Brightness",command:"brightness(0)",optionType:{type:"radio",groupName:"Switch_Brightness"}},{id:"Inactive Layer Turns Grey",title:"Inactive Layer Turns Grey",command:"brightness(1)",optionType:{type:"radio",groupName:"Switch_Brightness"}},{id:"Inactive Layer Hiding",title:"Inactive Layer Hiding",command:"brightness(2)",optionType:{type:"radio",groupName:"Switch_Brightness"}}]}},{id:"Flip Board",title:"Flip Board",icon:{iconPath:lt.icon_eda_flip_board},hotkeyCmd:"Flip Board",subHotkeyId:"Flip Board",command:"flipBoard",optionType:{type:"checkbox"},isHide:()=>Nt},{id:"Ecad Flip Board",title:{context:"ECAD",value:"Flip Board"},icon:{iconPath:lt.icon_eda_flip_board},hotkeyCmd:"Flip Board",subHotkeyId:"Flip Board",command:"flipBoard",optionType:{type:"checkbox"},isHide:()=>!Nt},null,{id:"Unit",title:"Unit",hotkeyCmd:"Unit",subHotkeyId:"Unit",children:{menuId:"top-menu-view-Unit",defaultConfig:[{id:"mm",title:"mm",command:"unit(mm)",optionType:{type:"radio",groupName:"Unit"},disable:u_},{id:"mil",title:"mil",command:"unit(mil)",optionType:{type:"radio",groupName:"Unit"},disable:u_},{id:"inch",title:"inch",command:"unit(inch)",optionType:{type:"radio",groupName:"Unit"},disable:u_}],modeConfig:{[Ee.COMMON_BLANK]:["inch","mm"],[Ee.SCH]:["inch","mm"],[Ee.CBB_BLANK]:["inch","mm"],[Ee.CBB_SCH]:["inch","mm"],[Ee.BLOCK_SYMBOL]:["inch","mm"],[Ee.SCH_INSTANCE]:["inch","mm"],[Ee.BLOCK_SCH]:["inch","mm"],[Ee.CBB_BLOCK_SCH]:["inch","mm"],[Ee.PCB]:["mm","mil"],[Ee.FOOTPRINT]:["mm","mil"]}},disable:u_,isHide:()=>Nt},{id:"Grid Size",title:"Grid Size",hotkeyCmd:"opensubmenu-gridsize-pcb",subHotkeyId:"opensubmenu-gridsize-pcb",children:"/pro-ui/topMenu/gridSizeMenu",disable:TS},{id:"Snap Size",title:"Snap Size",hotkeyCmd:"opensubmenu-snapsize",subHotkeyId:"opensubmenu-snapsize",children:"/pro-ui/topMenu/snapSizeMenu",disable:je},{id:"Grid Type",title:"Grid Type",hotkeyCmd:"opensubmenu-gridtype-pcb",subHotkeyId:"opensubmenu-gridtype-pcb",children:{menuId:"top-menu-view-gridTypeMenu",defaultConfig:[{id:"Cartesian Coordinate System",title:"Cartesian Coordinate System",command:"swithCoordinate(cartesian)",optionType:{type:"radio",groupName:"coordinate"}},{id:"Polar Coordinate System",title:"Polar Coordinate System",command:"swithCoordinate(polar)",optionType:{type:"radio",groupName:"coordinate"}},null,{id:"Grid Dot",title:"Grid Dot",command:"switchGridType(outlets)",optionType:{type:"radio",groupName:"GridType"}},{id:"Grid",title:"Grid",command:"switchGridType(grid)",optionType:{type:"radio",groupName:"GridType"}},{id:"None",title:"None",command:"switchGridType(none)",optionType:{type:"radio",groupName:"GridType"}}]}},null,{id:"Ratline",title:"Ratline",icon:{iconPath:lt.icon_eda_ratline},hotkeyCmd:"opensubmenu-ratline",subHotkeyId:"opensubmenu-ratline",isHide:()=>Nt,children:{menuId:"top-menu-view-Ratline",defaultConfig:[{id:"Hide Selected",title:"Hide Selected",hotkeyCmd:"showOrHideSelectedObjRatline",subHotkeyId:"showOrHideSelectedObjRatline",command:"hideSelectedObjRatline"},{id:"Hide Component Ratlines",title:"Hide Component Ratlines",command:"hideSelectedComponentRatline"},{id:"Hide All",title:"Hide All",command:"hideAllRatline"},null,{id:"Show Selected",title:"Show Selected",hotkeyCmd:"showOrHideSelectedObjRatline",subHotkeyId:"showOrHideSelectedObjRatline",command:"showSelectedObjRatline"},{id:"Show Component Ratlines",title:"Show Component Ratlines",command:"showSelectedComponentRatline"},{id:"Show All",title:"Show All",command:"showAllRatline"}]}},{id:"Highlight",title:"Highlight",hotkeyCmd:"opensubmenu-highlight-pcb",subHotkeyId:"opensubmenu-highlight-pcb",children:{menuId:"top-menu-view-Highlight_pcb",defaultConfig:[{id:"Highlight Net",title:"Highlight Net",hotkeyCmd:"highlightConnectedsByWire",subHotkeyId:"highlightConnectedsByWire",command:"HIGHLIGHT_NET"},{id:"Highlight Component",title:"Highlight Component",command:"HIGHLIGHT_COMPONENT"},{id:"Highlight Selected",title:"Highlight Selected",command:"HIGHLIGHT_SELECTED_OBJECTS"},null,{id:"Unhighlight Net",title:"Unhighlight Net",hotkeyCmd:"highlightConnectedsByWire",subHotkeyId:"highlightConnectedsByWire",command:"HIGHLIGHT_CANCEL_NET",isHide:()=>Nt},{id:"Unhighlight Component",title:"Unhighlight Component",command:"HIGHLIGHT_CANCEL_COMPONENT",isHide:()=>Nt},{id:"Unhighlight Selected",title:"Unhighlight Selected",command:"HIGHLIGHT_CANCEL_SELECTED_OBJECTS",isHide:()=>Nt},{id:"Unhighlight All",title:"Unhighlight All",hotkeyCmd:"UnhighlightSelectedObjects",subHotkeyId:"UnhighlightSelectedObjects",command:"HIGHLIGHT_CANCELALL"},{id:"Increase Brightness",title:"Increase Brightness",command:"INCREASE_BRIGHTNESS"},{id:"Decrease Brightness",title:"Decrease Brightness",command:"DECREASE_BRIGHTNESS"}]}},null,{id:"Grid Size-sch",title:"Grid Size",hotkeyCmd:"opensubmenu-gridsize",subHotkeyId:"opensubmenu-gridsize",children:"/pro-ui/topMenu/gridSizeSchMenu"},{id:"Grid Type-sch",title:"Grid Type",hotkeyCmd:"opensubmenu-gridtype",subHotkeyId:"opensubmenu-gridtype",children:{menuId:"top-menu-view-gridTypeMenu_sch",defaultConfig:[{id:"Grid Dot",title:"Grid Dot",command:"switchGridType(dot)",optionType:{type:"radio",groupName:"GridType"},hotkeyCmd:"switchGridType(outlets)",subHotkeyId:"switchGridType(outlets)"},{id:"Grid",title:"Grid",command:"switchGridType(line)",optionType:{type:"radio",groupName:"GridType"},hotkeyCmd:"switchGridType(grid)",subHotkeyId:"switchGridType(grid)"},{id:"None",title:"None",command:"switchGridType(not)",optionType:{type:"radio",groupName:"GridType"},hotkeyCmd:"switchGridType(none)",subHotkeyId:"switchGridType(none)"}]}},null,{id:"Highlight Net",title:"Highlight Net",hotkeyCmd:"opensubmenu-highlight-sch",subHotkeyId:"opensubmenu-highlight-sch",children:{menuId:"top-menu-view-Highlight_Net",defaultConfig:[{id:"Highlight Net",title:"Highlight Net",hotkeyCmd:"highlightConnectedsByWire",subHotkeyId:"highlightConnectedsByWire",command:"globalHighlightNetSelected"},{id:"Unhighlight Net",title:"Unhighlight Net",hotkeyCmd:"UnhighlightSelectedObjects",subHotkeyId:"UnhighlightSelectedObjects",command:"globalUnhighlightNetSelected",isHide:()=>Nt},{id:"Highlight Net while Hovering Wire",title:"Highlight Net while Hovering Wire",command:"hoverHighlightNet",optionType:{type:"checkbox"},isHide:()=>Nt}]}},null,{id:"Top Toolbar",title:"Top Toolbar",command:"toolbar_toggle(topbar)",optionType:{type:"checkbox"}},{id:"Left-Side Panel",title:"Left-Side Panel",command:"toolbar_toggle(leftbar)",optionType:{type:"checkbox"}},{id:"Right-Side Panel",title:"Right-Side Panel",command:"toolbar_toggle(rightbar)",optionType:{type:"checkbox"}},{id:"Bottom-Side Panel",title:"Bottom-Side Panel",hotkeyCmd:"operateBottomPanel",subHotkeyId:"operateBottomPanel",command:"toolbar_toggle(bottombar)",optionType:{type:"checkbox"}},{id:"Floating Tool",title:"Floating Tool",command:"editTag",optionType:{type:"checkbox"},isHide:()=>Nt},null,{id:"PCB-Window",title:"Windows",hotkeyCmd:"Window",subHotkeyId:"Window",isHide:()=>Nt,children:{menuId:"top-menu-view-Window",defaultConfig:[{id:"layerBottomBar",title:"Layer Bar",command:"toggleLayerBottomBar",optionType:{type:"checkbox",groupName:"LayerBottomBar",clickNotAutoSelect:!0}}]}},{id:"PCB D3 Floating Tool",title:"Floating Tool",command:"togglePCBD3ViewToolbarBar",optionType:{type:"checkbox"}},{id:"Panel D3 Floating Tool",title:"Floating Tool",command:"togglePanelD3ViewToolbarBar",optionType:{type:"checkbox"}},null,{id:"Window Arrangement",title:"Window Arrangement",subHotkeyId:"tab_window_arrangement",children:{menuId:"top-menu-view-window-Arrangement",defaultConfig:[{id:"Tile Horizontally",title:"Tile Horizontally",command:"horizontal_tile_tab",disable:()=>{var n,a;let t=he.getTileStatus(),e=he.getFilterTabs(["0"]).length<=1,i=t==="horizontal"||t==="horizontal_all",o=(((a=(n=he.containerTree)==null?void 0:n.children)==null?void 0:a.length)||0)>=he.containerSize,r=he.containerIds.some((s,l)=>{var u,p,m;let c=l===he.containerIds.length-1,d=(m=(p=(u=It.containerInfo[s])==null?void 0:u.tabs)==null?void 0:p.filter(h=>!["tab_page1","0"].includes(h.tabId)))==null?void 0:m.length;return d&&!(c&&o)&&d>1});return e||i&&!r}},{id:"Tile Vertically",title:"Tile Vertically",command:"vertical_tile_tab",disable:()=>{var n,a;let t=he.getTileStatus(),e=he.getFilterTabs(["0"]).length<=1,i=t==="vertical",o=(((a=(n=he.containerTree)==null?void 0:n.children)==null?void 0:a.length)||0)>=he.containerSize,r=he.containerIds.some((s,l)=>{var u,p,m;let c=l===he.containerIds.length-1,d=(m=(p=(u=It.containerInfo[s])==null?void 0:u.tabs)==null?void 0:p.filter(h=>!["tab_page1","0"].includes(h.tabId)))==null?void 0:m.length;return d&&!(c&&o)&&d>1});return e||i&&!r}},{id:"Tile All",title:"Tile All",command:"tile_all__tab",disable:()=>{var a,s,l,c;let t=he.getTileStatus(),e=he.getFilterTabs(["0"]).length<=1,i=t==="all"||t==="horizontal_all",o=(s=(a=he.containerTree)==null?void 0:a.children)==null?void 0:s.length,r=o&&o>=he.containerSize&&!!((c=(l=he.containerTree)==null?void 0:l.children[o-1])!=null&&c.children),n=he.containerIds.some((d,u)=>{var h,f,g;let p=u===he.containerIds.length-1,m=(g=(f=(h=It.containerInfo[d])==null?void 0:h.tabs)==null?void 0:f.filter(b=>!["tab_page1","0"].includes(b.tabId)))==null?void 0:g.length;return m&&!(p&&r)&&m>1});return e||i&&!n}},{id:"Merge All",title:"Merge All",command:"merge_all_tab",disable:()=>he.containerIds.length<=1}]}},{id:"Variant View Mode",title:"Assembly Variant View Mode",hotkeyCmd:"variant_view_mode",children:"/pro-ui/topMenu/variantViewModeMenu"}],modeConfig:{[Ee.HOME]:["Full Screen",null,"Bottom-Side Panel","Window Arrangement"],[Ee.COMMON_BLANK]:["Full Screen",null,"Unit","Grid Size-sch","Grid Type-sch",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel","Window Arrangement"],[Ee.SCH]:["Zoom in","Zoom Out","Fit All in Window","Fit Selection View","Fit Area Selection View","Full Screen",null,"Unit","Grid Size-sch","Grid Type-sch",null,"Highlight Net",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel","Window Arrangement","Floating Tool","Variant View Mode"],[Ee.CBB_BLANK]:["Full Screen",null,"Unit","Grid Size-sch","Grid Type-sch",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel","Window Arrangement"],[Ee.CBB_SCH]:["Zoom in","Zoom Out","Fit All in Window","Fit Selection View","Fit Area Selection View","Full Screen",null,"Unit","Grid Size-sch","Grid Type-sch",null,"Highlight Net",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel","Window Arrangement","Floating Tool","Variant View Mode"],[Ee.BLOCK_SYMBOL]:["Zoom in","Zoom Out","Fit All in Window","Fit Selection View","Fit Area Selection View","Full Screen",null,"Unit","Grid Size-sch","Grid Type-sch",null,"Highlight Net",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel","Window Arrangement"],[Ee.SCH_INSTANCE]:["Zoom in","Zoom Out","Fit All in Window","Fit Selection View","Fit Area Selection View","Full Screen",null,"Unit","Grid Size-sch","Grid Type-sch",null,"Highlight Net",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel","Window Arrangement","Floating Tool","Variant View Mode"],[Ee.BLOCK_SCH]:["Zoom in","Zoom Out","Fit All in Window","Fit Selection View","Fit Area Selection View","Full Screen",null,"Unit","Grid Size-sch","Grid Type-sch",null,"Highlight Net",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel","Window Arrangement","Floating Tool","Variant View Mode"],[Ee.CBB_BLOCK_SCH]:["Zoom in","Zoom Out","Fit All in Window","Fit Selection View","Fit Area Selection View","Full Screen",null,"Unit","Grid Size-sch","Grid Type-sch",null,"Highlight Net",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel","Window Arrangement","Floating Tool","Variant View Mode"],[Ee.PCB]:["2D Preview","3D Preview","3D Shell Preview",null,"Zoom in","Zoom Out","Fit All in Window","Fit Selection View","Fit Area Selection View","Fit Board Outline View","Full Screen",null,"Normal View","Outline View",null,"Switch Brightness","Flip Board","Ecad Flip Board",null,"Unit","Grid Size","Snap Size","Grid Type",null,"Ratline","Highlight",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel","Window Arrangement",null,"PCB-Window"],[Ee.FOOTPRINT]:["2D Preview","3D Preview",null,"Zoom in","Zoom Out","Fit All in Window","Fit Selection View","Fit Area Selection View","Full Screen",null,"Normal View","Outline View",null,"Switch Brightness",null,"Unit","Grid Size","Snap Size","Grid Type",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel","Window Arrangement",null,"PCB-Window"],[Ee.PCB2D]:["Zoom in","Zoom Out","Fit All in Window","Full Screen",null,"Flip Board","Ecad Flip Board","Grid Size","Snap Size","Grid Type","Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel","Window Arrangement"],[Ee.PCB3D]:["Full Screen","Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel","Window Arrangement","PCB D3 Floating Tool"],[Ee.PCBMODULE]:["3D Preview","3D Shell Preview",null,"Zoom in","Zoom Out","Fit All in Window","Fit Selection View","Fit Area Selection View","Full Screen",null,"Grid Size-sch","Grid Type-sch",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel","Window Arrangement"],[Ee.PANEL]:["2D Preview","3D Preview",null,"Zoom in","Zoom Out","Fit All in Window","Fit Selection View","Fit Area Selection View","Full Screen",null,"Grid Size-sch","Grid Type-sch",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel","Window Arrangement"],[Ee.PANEL_LIB]:["2D Preview","3D Preview",null,"Zoom in","Zoom Out","Fit All in Window","Fit Selection View","Fit Area Selection View","Full Screen",null,"Grid Size-sch","Grid Type-sch",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel","Window Arrangement"],[Ee.PANEL3D]:["Zoom in","Zoom Out","Full Screen",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel","Window Arrangement","Panel D3 Floating Tool"],[Ee.ASSEMBLYVARIANT]:["Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel"],[Ee.NGSPICE]:["Zoom in","Zoom Out","Fit All in Window","Fit Selection View","Full Screen",null,"Unit","Grid Size-sch","Grid Type-sch",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel"],[Ee.SIMULIDE]:["Zoom in","Zoom Out","Fit All in Window","Fit Selection View","Full Screen",null,"Unit","Grid Size-sch","Grid Type-sch",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel"],[Ee.WAVEFORM]:["Zoom in","Zoom Out","Fit All in Window","Fit Selection View",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Window Arrangement"],[Yl]:["Zoom in","Zoom Out","Fit All in Window","Fit Selection View","Fit Area Selection View","Full Screen",null,"Grid Size-sch","Grid Type-sch",null,"Top Toolbar","Left-Side Panel","Right-Side Panel","Bottom-Side Panel","Window Arrangement"]}}};var GLi={id:"SimWaveform",title:"SimWaveform",hotkeyCmd:"openMenu(#mm-common-simWaveform)",menuItems:{menuId:"mm-common-simWaveform",defaultConfig:[{id:"Copy Waveform",title:"Copy Waveform",icon:{},command:"copyWaveform"},{id:"Export Waveform at PDF",title:"Export Waveform at PDF",icon:{},command:"export_waveform_at_PDF"}]}};var YLi={id:"Advanced",title:{value:"Advanced",context:"topMenu",options:null},hotkeyCmd:"openMenu(#mm-common-advanced)",menuItems:{menuId:"mm-common-advanced",defaultConfig:[{id:"Command...",title:"Run Command...",icon:{iconPath:lt.icon_eda_command},hotkeyCmd:"Command",subHotkeyId:"Command",command:"command-tool",disable:je},{id:"Run Script...",title:"Run Script...",command:"runScript",hotkeyCmd:"runScript"},{id:"Script List",title:"Script List",command:"scriptList",children:"/pro-ui/topMenu/scriptListMenu",hotkeyCmd:"scriptList"},{id:"Extensions Manager...",title:"Extensions Manager...",command:"showExtensionsManager",hotkeyCmd:"showExtensionsManager"}],modeConfig:{[Ee.HOME]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.COMMON_BLANK]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.SCH]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.CBB_BLANK]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.CBB_SCH]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.PART]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.BLOCK_SYMBOL]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.NETFLAG]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.NETPORT]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.OFF_PAGE_CONNECTOR]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.DIFF_PAIRS_FLAG]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.SHEET_SYMBOL]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.NONEELEC_SYMBOL]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.SCH_INSTANCE]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.BLOCK_SCH]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.CBB_BLOCK_SCH]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.PCB]:["Command...",null,"Run Script...","Script List",null,"Extensions Manager..."],[Ee.FOOTPRINT]:["Command...",null,"Run Script...","Script List",null,"Extensions Manager..."],[Ee.PCB2D]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.PCB3D]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.SCHMODULE]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.PCBMODULE]:["Command...",null,"Run Script...","Script List",null,"Extensions Manager..."],[Ee.PANEL]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.PANEL_LIB]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.PANEL3D]:["Run Script...","Script List",null,"Extensions Manager..."],[Ee.SIMULIDE]:["Extensions Manager..."],[Ee.NGSPICE]:["Extensions Manager..."],[Yl]:["Run Script...","Script List",null,"Extensions Manager..."]}}};var Yd=[kLi,ALi,HLi,jLi,ELi,BLi,_Li,VLi,NLi,YLi,zLi,FLi,ULi,PLi,GLi],DSt=Yd.map(t=>{var e;return(e=t==null?void 0:t.menuItems)==null?void 0:e.menuId}),ta={[Ee.HOME]:["File","View","Tools","Advanced","Settings","Help"],[Ee.COMMON_BLANK]:["File","View","Tools","Advanced","Settings","Help"],[Ee.SCH]:["File","Edit","View","Place","Design","Layout","Tools","Export","Advanced","Settings","Help"],[Ee.CBB_BLANK]:["File","View","Tools","Advanced","Settings","Help"],[Ee.CBB_SCH]:["File","Edit","View","Place","Design","Layout","Tools","Export","Advanced","Settings","Help"],[Ee.PART]:["File","Edit","View","Place","Layout","Tools","Advanced","Settings","Help"],[Ee.BLOCK_SYMBOL]:["File","Edit","View","Place","Design","Layout","Tools","Advanced","Settings","Help"],[Ee.NETFLAG]:["File","Edit","View","Place","Layout","Tools","Advanced","Settings","Help"],[Ee.NETPORT]:["File","Edit","View","Place","Layout","Tools","Advanced","Settings","Help"],[Ee.OFF_PAGE_CONNECTOR]:["File","Edit","View","Place","Layout","Tools","Advanced","Settings","Help"],[Ee.DIFF_PAIRS_FLAG]:["File","Edit","View","Place","Layout","Tools","Advanced","Settings","Help"],[Ee.SHEET_SYMBOL]:["File","Edit","View","Place","Layout","Tools","Advanced","Settings","Help"],[Ee.NONEELEC_SYMBOL]:["File","Edit","View","Place","Layout","Tools","Advanced","Settings","Help"],[Ee.SCH_INSTANCE]:["File","Edit","View","Place","Design","Layout","Tools","Export","Advanced","Settings","Help"],[Ee.BLOCK_SCH]:["File","Edit","View","Place","Design","Layout","Tools","Export","Advanced","Settings","Help"],[Ee.CBB_BLOCK_SCH]:["File","Edit","View","Place","Design","Layout","Tools","Export","Advanced","Settings","Help"],[Ee.PCB]:["File","Edit","View","Place","Design","Route","Layout","Tools","Export","Advanced","Settings","Help"],[Ee.FOOTPRINT]:["File","Edit","View","Place","Route","Layout","Tools","Advanced","Settings","Help"],[Ee.PCB2D]:["File","View","Export","Advanced","Settings","Help"],[Ee.PCB3D]:["File","View","Export","Advanced","Settings","Help"],[Ee.PANEL]:["File","Edit","View","Place","Layout","Export","Advanced","Settings","Help"],[Ee.PANEL_LIB]:["File","Edit","View","Place","Layout","Advanced","Settings","Help"],[Ee.PANEL3D]:["File","View","Export","Advanced","Settings","Help"],[Ee.ASSEMBLYVARIANT]:["File","Edit","View","Export","Settings","Help"],[Yl]:["File","Edit","View","Place","Design","Layout","Tools","Export","Settings","Help"],[Ee.NGSPICE]:["File","Edit","View","Place","Design","Sim","Layout","Advanced","Settings","Help"],[Ee.SIMULIDE]:["File","Edit","View","Place","Design","Sim","Layout","Advanced","Settings","Help"],[Ee.WAVEFORM]:["File","View","Settings","Help"]},EJ=t=>{switch(t){case"toggleAdsorb":return[{menuId:"mm-common-edit"}];case"switchView(normal)":return[{menuId:"mm-common-view"}];case"switchView(outline)":return[{menuId:"mm-common-view"}];case"brightness(0)":case"brightness(1)":case"brightness(2)":return[{menuId:"top-menu-view-Switch_Brightness",groupName:"Switch_Brightness"}];case"flipBoard":return[{menuId:"mm-common-view"}];case"unit(mm)":case"unit(mil)":case"unit(inch)":return[{menuId:"top-menu-view-Unit",groupName:"Unit"}];case"swithCoordinate(cartesian)":case"swithCoordinate(polar)":return[{menuId:"top-menu-view-gridTypeMenu",groupName:"coordinate"}];case"switchGridType(outlets)":case"switchGridType(grid)":case"switchGridType(none)":return[{menuId:"top-menu-view-gridTypeMenu",groupName:"GridType"}];case"switchGridType(dot)":case"switchGridType(line)":case"switchGridType(not)":return[{menuId:"top-menu-view-gridTypeMenu",groupName:"GridType"}];case"hoverHighlightNet":return[{menuId:"top-menu-view-Highlight_Net"}];case"toolbar_toggle(topbar)":return[{menuId:"mm-common-view"}];case"toolbar_toggle(leftbar)":return[{menuId:"mm-common-view"}];case"toolbar_toggle(rightbar)":return[{menuId:"mm-common-view"}];case"toolbar_toggle(bottombar)":return[{menuId:"mm-common-view"}];case"editTag":return[{menuId:"mm-common-view"}];case"toggleRealTimeDRC":return[{menuId:"mm-common-design"}];case"switchCrossProbeMode":return[{menuId:"mm-common-design"}];case"routeMode(WIRING_MODE_PUSHAWAY)":case"routeMode(WIRING_MODE_SURROUND_AND_PUSHAWAY)":case"routeMode(WIRING_MODE_SURROUND)":case"routeMode(WIRING_MODE_OBSTRUCT)":case"routeMode(WIRING_MODE_IGNORE)":return[{menuId:"top-menu-route-RoutingMode",groupName:"RoutingMode"}];case"routeLine(WIRING_CORNER_LINE45)":case"routeLine(WIRING_CORNER_LINE90)":case"routeLine(WIRING_CORNER_ARC45)":case"routeLine(WIRING_CORNER_ARC90)":case"routeLine(WIRING_CORNER_ARC)":case"routeLine(WIRING_CORNER_FREEANGLE)":return[{menuId:"top-menu-route-RoutingCorner",groupName:"RoutingCorner"}];case"removeLoop":return[{menuId:"mm-common-route"}];case"autoTrimSilkscreen":return[{menuId:"mm-common-route"}];case"checkIfSelectAlignRefObject":case"checkIfSelectAlignRefObjectForCenters":return[{menuId:"top-menu-layout-Align"},{menuId:"toolbar-menu-Align"}];case"gridSnapKeepRatio":return[{menuId:"top-menu-view-gridSizeMenu"},{menuId:"top-menu-view-snapSizeMenu"}];case"trackWidthSetting(WIRING_WIDTH_FOLLOWRULES)":return[{menuId:"top-menu-view-trackWidthMenu"}];default:let e=t==null?void 0:t.match(/\((.*?)\)$/);if(e)switch(t.split(e[0])[0]){case"Grid":return Td.status.coordinateType?[{menuId:"top-menu-view-gridSizeMenu",groupName:"gridSize"}]:[];case"GridPolar":return Td.status.coordinateType?[]:[{menuId:"top-menu-view-gridSizeMenu",groupName:"gridSize"}];case"Snap":return[{menuId:"top-menu-view-snapSizeMenu",groupName:"snapSize"}];case"trackWidth":return[{menuId:"top-menu-view-trackWidthMenu",groupName:"trackWidth"}];case"switchGridSizeBtn":return[{menuId:"top-menu-view-girdSize_sch",groupName:"customGrid"}]}}return[]},ga=async(t,e={})=>{if(C.isMouseOnEditFrame){var i=await he.getTabIFrame(),o=i.getBoundingClientRect();e.clientX=o.left+e.clientX,e.clientY=o.top+e.clientY}else{let r=(await C.messageBus.rpcCall("/ui/getMouseRecorder")).message;e.clientX=r.clientX,e.clientY=r.clientY}si.hotkeySetMenuStatus(t,{isShow:!0,position:{x:e.clientX+2,y:e.clientY+2},menuFloor:1})},z5e=vo?`M25.38.915c-2.516 0-4.918.786-6.944 2.27a11.531 11.531 0 0 0-2.524
    2.525 9.622 9.622 0 0 0-1.336-.096 9.351 9.351 0 0 0-6.648 2.752 9.337
    9.337 0 0 0-2.752 6.647 9.38 9.38 0 0 0 2.428 6.298 9.366 9.366 0 0 0
    4.621 2.795 5.786 5.786 0 0 0 5.477 3.94 5.79 5.79 0 0 0
    5.757-6.342l8.115-4.263-1.773-3.075-7.757 4.07a5.757 5.757 0 0
    0-4.341-1.964c-2.507 0-4.647 1.607-5.451 3.844a5.804 5.804 0 0
    1-3.476-5.311 5.802 5.802 0 0 1 8.875-4.918c1.074-3.241 4.132-5.582
    7.73-5.582 4.193 0 7.634 3.162 8.097
    7.224.148-.017.297-.026.445-.026a4.544 4.544 0 0 1 4.542 4.542 4.545
    4.545 0 0 1-4.149 4.525h-2.594a1.815 1.815 0 0 0-.506
    3.59v.017h3.258l.158-.017a8.1 8.1 0 0 0 5.285-2.594 8.135 8.135 0 0 0
    2.158-5.52c0-3.616-2.402-6.708-5.704-7.748a11.703 11.703 0 0
    0-3.127-4.57A11.755 11.755 0 0 0 25.382.916zm24.03 5.87l-2.411
    17.56h9.888a1.537 1.537 0 0 0 1.503-1.53 1.54 1.54 0 0
    0-1.538-1.536l-6.132.008.646-4.656 6.315.009c.857 0 1.554-.699
    1.554-1.555a1.52 1.52 0 0 0-1.275-1.537h-6.149l.507-3.642
    6.56-.009a1.56 1.56 0 0 0
    1.556-1.555c0-.856-.7-1.555-1.556-1.555zm52.97.009l-2.394
    17.54h9.898a1.536 1.536 0 0 0
    1.501-1.53c0-.847-.69-1.536-1.536-1.536l-6.133.008.646-4.656
    6.325.009c.856 0 1.555-.699 1.555-1.555a1.55 1.55 0 0
    0-1.293-1.529h-6.15l.507-3.642 6.56-.009c.856 0 1.555-.699
    1.555-1.555a1.577 1.577 0 0 0-1.572-1.546zm14.25.008l-2.394
    17.54h5.451c2.288 0 4.08-.34 5.364-1.022 1.284-.681 2.358-1.764
    3.205-3.24.848-1.486 1.267-3.11 1.267-4.884
    0-1.72-.402-3.25-1.197-4.569s-1.825-2.288-3.101-2.9c-1.275-.62-3.206-.926-5.818-.926zm21.06.026l-9.434
    17.47h3.529l1.992-3.72h6.935l.926 3.72h3.18l-2.324-9.303-1.948
    1.074a2.829 2.829 0 0 1-2.813 2.507 2.83 2.83 0 1 1
    1.616-5.153l2.42-1.336-1.31-5.259zm-18.17 3.057h.83c1.354 0 2.437.21
    3.249.638a4.63 4.63 0 0 1 1.896 1.817c.445.786.673 1.756.673
    2.917-.009 1.406-.324 2.603-.961 3.564-.638.96-1.476 1.642-2.525
    2.035-.751.28-1.957.42-3.625.42h-1.083zM80.49 11.03c-1.119
    0-2.096.341-2.918 1.022-.821.682-1.231 1.572-1.231 2.656 0 .778.261
    1.52.786 2.22.375.497 1.057 1.1 2.035 1.798.847.603 1.371 1.022 1.564
    1.258.192.236.288.463.288.69 0
    .28-.122.516-.376.725-.253.201-.585.306-1.004.306-1.057
    0-2.035-.585-2.926-1.764l-1.966 2.288c.874.926 1.668 1.572 2.376
    1.922s1.502.524 2.368.524c1.502 0 2.646-.428 3.441-1.284s1.188-1.773
    1.188-2.734a3.82 3.82 0 0
    0-.576-2.035c-.385-.62-1.189-1.37-2.411-2.245-.769-.55-1.224-.917-1.372-1.109-.157-.192-.235-.384-.235-.576-.009-.201.095-.376.296-.533s.446-.236.725-.236c.376
    0 .778.14 1.206.41s.838.7 1.231 1.285L84.5 13.18a4.976 4.976 0 0
    0-1.765-1.59 4.726 4.726 0 0 0-2.245-.56zm-13.71.01c-1.196
    0-2.34.322-3.432.969s-1.966 1.546-2.612 2.708c-.647 1.153-.979
    2.376-.979 3.65 0 1.678.507 3.146 1.52 4.412 1.014 1.267 2.385 1.896
    4.106 1.896.751 0 1.424-.123 2.026-.385.603-.253 1.249-.699
    1.939-1.345 0 0 .813.708.822.7a3.252 3.252 0 0 0
    1.816.698h.315l.043-.376
    1.11-9.338h-.018c0-.672-.541-1.214-1.213-1.223h-1.092l-.114-.21c-.445-.707-1.004-1.24-1.677-1.606-.681-.367-1.756-.55-2.56-.55zm19.35.322l3.651
    11.21-3.686 6.516h3.363l10.19-17.72h-3.434l-4.437
    7.696-2.524-7.696zm-19.11 2.603c.979 0 1.765.315 2.358.935.595.629.892
    1.45.892 2.481 0 .777-.201 1.546-.594 2.288s-.883 1.293-1.467
    1.642c-.586.35-1.268.524-2.053.524-.943
    0-1.712-.306-2.315-.934-.603-.62-.9-1.442-.9-2.455 0-1.32.393-2.393
    1.188-3.232.795-.839 1.756-1.25 2.891-1.25zm70.76.62a1.092 1.092 0 1 0
    0 2.185 1.092 1.092 0 0 0 0-2.185zm-120.1 5.442a2.24 2.24 0 0 1 2.236
    2.236 2.24 2.24 0 0 1-2.236 2.236 2.24 2.24 0 0 1-2.236-2.236 2.24
		2.24 0 0 1 2.236-2.236z`:"M345,83.9C325.8,33.4,277.4,0,223.4,0c-41.3,0-80.2,19.7-104.7,53c-4.9-0.7-9.8-1-14.8-1    C46.5,52,0,98.5,0,155.9c0,25.8,9.6,50.6,26.8,69.7c13.7,15,31.4,25.7,51.1,30.8c11.2,33.5,47.4,51.5,80.9,40.3    c26.1-8.7,43.6-33.1,43.6-60.6c0-2-0.1-4.2-0.3-6.2l89.7-47.1l-19.7-34l-85.7,45.1c-23.2-26.6-63.6-29.3-90.2-6.1    c-8.2,7.2-14.5,16.4-18.1,26.7c-32.4-14.3-47-52.2-32.7-84.5s52.2-47,84.5-32.7c2.7,1.2,5.4,2.6,7.9,4.2    c15.6-47.3,66.5-72.9,113.8-57.3c33.4,11,57.4,40.5,61.3,75.5c1.6-0.2,3.2-0.2,4.8-0.2c27.7-1,51,20.7,51.9,48.4    c1,27.4-20.2,50.5-47.5,51.9h-28.8c-1.3-0.3-2.6-0.4-3.9-0.4c-11-0.5-20.4,8.1-20.9,19.1s8.1,20.4,19.1,20.9v0.2h37.7    c49.5-4,86.4-47.4,82.4-97C404.9,126,380,94.9,345,83.9z M138.6,211.4c13.6,0.1,24.7,11.2,24.6,24.8    c-0.1,13.6-11.2,24.7-24.8,24.6s-24.6-11.1-24.6-24.7C113.9,222.4,124.9,211.4,138.6,211.4zM1391.7,36h-118.3l-30,219.3h123.7c10.6-0.8,18.5-10.1,17.6-20.7c-0.8-9.5-8.4-17-17.9-17.6h-76.7l8.1-58.1    h79c10.7,0.3,19.6-8.2,19.9-18.9c0.2-9.8-6.9-18.3-16.7-19.7h-76.8l6.2-45.5h82.1c10.7,0,19.4-8.7,19.4-19.4l0,0    C1411.1,44.7,1402.4,36.1,1391.7,36zM1606.1,141.1c0-21.6-5-40.6-14.9-57.1c-9.9-16.6-22.9-28.6-38.8-36.3s-40.1-11.6-72.7-11.6H1445l-30,219.3    h68.1c28.6,0,51-4.2,67.1-12.7s29.5-22,40-40.5C1600.8,183.6,1606.3,162.5,1606.1,141.1z M1552.2,186.4    c-7.5,11.7-18.6,20.6-31.6,25.5c-9.3,3.4-24.4,5.2-45.3,5.2h-13.5l19.3-142.3h10.3c17,0,30.4,2.7,40.7,8    c9.9,5.1,18.1,13,23.6,22.7c5.5,9.9,8.4,22,8.4,36.5C1564.1,159.5,1560.1,174.3,1552.2,186.4L1552.2,186.4zM1764.1,138.7l-24,13.2c-2.1,19.3-19.4,33.2-38.6,31.2s-33.2-19.4-31.2-38.6s19.4-33.2,38.6-31.2    c5.9,0.6,11.5,2.7,16.4,6.1l29.8-16.4L1739,38.3h-34.1l-116,214.9h43.4l24.4-45.7h85.3l11.5,45.7h39.2L1764.1,138.7zM1132.7,209.7c2.6,2.9,6.2,4.5,10.1,4.6h0.5c7.6,0,14-5.7,15-13.2l20.3-143.7h-29.2l-20.1,141.7    C1128.9,203,1130.1,206.8,1132.7,209.7zM1167.4,225.8c-0.4,2.5-1.6,4.8-3.4,6.6c-1.6,1.6-3.8,2.5-6.1,2.5H1138c-7.5,0.2-13.8,5.7-14.9,13.2v0.5    c-0.5,3.9,0.6,7.8,3.2,10.7c2.6,2.9,6.2,4.6,10.1,4.6h19.9c5.1,0.1,10.1-1,14.7-3.2c13.7-5.6,23.3-18.1,25.1-32.8l25.1-193.6    h-28.9L1167.4,225.8zM1123.9,107.3c3.6-0.1,6.5-3,6.5-6.6c0-0.6-0.1-1.3-0.3-1.9h0.1l-12-42.1v-0.2c-3.1-8.1-7-14.3-11.9-18.1    l-0.5-0.4c-5.6-3.7-13-5.5-22.7-5.5h-32.6c-9.2,0-16.9,1.9-22.8,5.6c-6.6,4.3-12,10.1-15.8,17c0,0-16.7,28-25.4,42.4h0.1    c-0.5,1-0.8,2-0.8,3.1c0,3.6,3,6.6,6.6,6.6h20.8c1.7-2.8,3.4-5.4,5-8.1l0.5-0.8c5.4-9.4,12.2-20.8,17.5-29.5v-0.2    c1.3-2.3,3.2-4.3,5.4-5.8c2.2-1.1,4.6-1.6,7.1-1.5h32.6c2.7,0,4.8,0.4,5.8,1.1c1.5,1.2,2.6,2.9,3.2,4.7l11.6,40h21.1    C1123.3,107.3,1123.6,107.3,1123.9,107.3zM1090.1,116.2h-60.9c-8.8,0.2-17.3,3.5-23.9,9.3c-6.7,5.6-11.2,13.3-12.8,21.9l-14.4,78.7    c-0.9,4.8-0.7,9.7,0.5,14.4c2,8.9,8.1,16.3,16.4,20c4.3,2.3,9.1,3.4,14,3.3h84.2c7.6-0.1,14.1-5.6,15.4-13.1v-0.5    c0.7-3.8-0.3-7.7-2.8-10.7c-2.4-2.9-6.1-4.6-9.9-4.5h-84.2c-1.7,0-3.3-0.7-4.4-2l-0.2-0.2c-0.7-0.7-1.5-1.9-1-4.7l14.5-78.8    c0.1-1.3,0.9-2.4,2-3.1l0.5-0.4c0.7-0.7,1.4-1,3.2-1h62.1l0.3,0.4c0.2,0.3,0.5,0.6,0.2,2l-7.6,33.2c-0.3,2.6-2.5,4.6-5.1,4.6H1049    c-7.6,0.1-14,5.6-15.4,13v0.8c-0.7,3.7,0.3,7.4,2.7,10.3c2.5,2.9,6.2,4.5,10,4.5h31.4c16.5,0,28.6-10.5,30.3-24.1    c1-3.7,9.7-40.3,9.7-40.3c0.8-4.1,0.6-8.4-0.6-12.4C1113.7,124.3,1103.3,116.2,1090.1,116.2zM936.1,234.7H731l-2.1,22.4h0.1c-0.1,3.6,2.9,6.6,6.5,6.7h0.1h198.8c7.5-0.2,13.8-5.8,14.8-13.2V250    c0.5-3.9-0.7-7.8-3.2-10.8C943.5,236.4,939.9,234.7,936.1,234.7zM876,228.3l1.5,0.4c1.2,0.3,2.4,0.5,3.6,0.5l0,0c5.8-0.1,11.1-3.4,13.6-8.7c15.6-33.5,27.6-86.1,40.2-128.2    V92c0.1-0.3,0.1-0.5,0.2-0.8h-30c-11.8,39.3-22.7,88.7-36.6,118.7c-1.7,3.6-1.7,7.7,0,11.3C869.8,224.5,872.6,227.1,876,228.3zM788.8,215.1c1,6.4,6.6,11.1,13.1,10.9c1,0,2-0.1,3-0.3h0.3c7-1.7,11.8-8.2,11.3-15.4L804.4,93.6h-28.3    l12.7,121L788.8,215.1L788.8,215.1zM945.8,52.9h-72.6l3.9-25.3H854c-3.4,0-6.1,2.6-6.5,5.9l0,0l-3.4,19.4h-88.4l-1.9,20.4    c-0.1,0.4-0.1,0.9-0.1,1.3c0,3.7,2.9,6.6,6.6,6.7h183.8c7.5,0.1,13.9-5.4,15-12.9v-0.2c0.5-3.8-0.6-7.7-3.1-10.7    C953.5,54.4,949.7,52.7,945.8,52.9zM535.8,203h23.8c14.4,0,20.5,7.2,18.2,21.7l-3.4,18.6c-1.6,14.5-9.1,20.1-26,20.6H518v-19.5h18.4    c7.9,0,10.8-2.5,11.9-6.5l1.3-5.6c1.6-5.1-1.7-7.6-9.6-7.6h-13c-12.3,19.4-30.8,30.2-61.9,39.5l-7.7-19.5    c20.5-6.5,28.9-9.7,40.4-20h-30.5l3.4-21.7h38c0-0.4,0.9-3.5,1.6-6.3c0.8-2.6,3.2-4.5,5.9-4.5h22.4L535.8,203zM490.6,57.4l2.3-14.6h98.6l1.6-10c0.4-3,3-5.2,6-5.2h26.2l-2.4,15.2H711c6,0,10.8,4.8,10.8,10.8    c0,0.6,0,1.2-0.1,1.7l0,0c-0.8,5.3-5.4,9.2-10.7,9.2h-91.5l-1.7,10.8h73.7c5.1,0,9.2,4.1,9.2,9.2c0,0.5,0,1-0.1,1.5l0,0    c-0.7,4.5-4.6,7.7-9.1,7.7H507.1c-3.4,0-6.1-2.8-6.1-6.1c0-0.3,0-0.6,0.1-0.9l1.8-11.4h83.4l1.8-10.8h-91.5    c-3.4,0-6.1-2.7-6.1-6.1C490.5,58.1,490.5,57.7,490.6,57.4zM694.7,167.4h-47.1c1-1,1.9-2,2.7-3.2c2-3.6,3.5-6.5,4.6-8.7h9.8c16.6,0,26-6.9,28.1-20.6l1.9-11.9    c2.1-13-4.1-19.5-18.6-19.5H518c-13,0-20.6,6.9-22.8,20.6l-1.9,11.9c-2.1,13,4.1,19.5,18.6,19.5h9.7c0.9,3.6,1.5,6.5,1.9,8.7    c0.3,1.2,0.9,2.3,1.7,3.2H471l-2,12.5c-0.5,3.3,1.8,6.4,5.1,6.9c0.3,0,0.6,0.1,0.9,0.1h219.7c5.4-0.5,9.3-5.4,8.8-10.7    C703,171.5,699.3,167.9,694.7,167.4z M521.2,130.6l0.7-4.4c0.6-3.6,3.1-5.4,7.4-5.4h130c4.4,0,6.2,1.8,5.7,5.4l-0.7,4.4    c-0.8,5-3.4,7.6-7.7,7.6H526.5C522.2,138.2,520.4,135.6,521.2,130.6z M617.8,164.2c-0.8,1.2-1.7,2.2-2.7,3.2h-58.5    c-0.7-1-1.3-2-1.7-3.2c-0.8-3.6-1.5-6.5-1.8-8.7h69.3C620.4,159.1,618.8,162,617.8,164.2L617.8,164.2zM677.3,198.8H621c-14.5,0-22.8,6.9-25,20.6l-3.9,24.9c-2.9,13.8,2.6,19.1,18.6,19.5h54.1    c16.1-0.4,23.8-6.1,26.1-20.5l3.6-22.8C696.7,206.1,691,198.8,677.3,198.8z M664.2,227l-1.4,8.7c-0.9,5.8-3.9,8.6-9,8.6h-24.9    c-7.2,0-10.1-2.5-8.5-7.5l1.3-8.7c1-5.8,4.3-8.7,10.1-8.7h26C662.8,219.4,665,222,664.2,227z";var Rme=L(Vi());var WLi=L(Se());var KV=L(z());function QLi(t={}){if(!wi||ap().unsaveFileTabId.length==0)return;let{closeClientEnd:i=!0,onSaved:o,onUnSave:r,onCancel:n}=t,s=Dt({content:"Your file hasn't been saved. Would you like to save it now?",footer:(0,KV.jsx)(()=>{let[l,c]=(0,WLi.useState)(!1),d=(p=!1)=>{le.destroy(s),p&&(C.ignoreConfirmClose=!0,Zv("_close"))},u=async p=>{switch(p){case"save":{c(!0),xl().then(()=>{c(!1),setTimeout(()=>d(i),100),o==null||o(!0)},()=>{c(!1),De({type:"error",msg:"Saved failed!"}),o==null||o(!1)});break}case"unSave":{d(i),r==null||r();break}case"cancel":{d(),n==null||n();break}}};return(0,KV.jsxs)(KV.Fragment,{children:[(0,KV.jsx)(Me,{"data-test":"Save",type:"primary",size:"md",disabled:l,onClick:()=>u("save"),children:"Save"}),(0,KV.jsx)(Me,{"data-test":"UnSave",type:"primary",size:"md",disabled:l,onClick:()=>u("unSave"),children:"Don't Save"}),(0,KV.jsx)(Me,{"data-test":"Cancel",size:"md",disabled:l,onClick:()=>u("cancel"),children:"Cancel"})]})},{})})}function KLi(){if(!wi||!ap().unsaveFileTabId.length)return;_a.setCloseAction("close");let e=new Event("beforeunload",{cancelable:!0});window.dispatchEvent(e)}function qLi(){if(!wi){(0,Rme.default)("#app-window-controls").hide();return}Zv("_resize"),(0,Rme.default)("#app-window-controls").on("click",t=>{if(t.button!==0)return;let e=t.target.getAttribute("cmd"),i=(0,Rme.default)("#app-window-controls");if(!e&&t.target==i[0]){let o=i.find("[cmd]").last(),r=o[0]&&o[0].getBoundingClientRect();e=r&&r.top<=t.clientY&&r.right<=t.clientX?o.attr("cmd"):""}e=="_settings"?LA():e==="_close"?ESt():e&&Zv(e)}),(0,Rme.default)(window).on("resize",()=>{Zv("_resize")})}var ESt=()=>{ap().unsaveFileTabId.length>0?KLi():Zv("_close")};async function Zv(t){var e,i,o,r;wi&&(Je?(t==="_close"&&C.currentProject.projectId&&(await Xg(C.currentProject.projectId),await os(100)),Ol.get("/api/controlButton/control",{cmd:t,winId:(r=(o=self==null?void 0:self.electronAPI)==null?void 0:o.getWinId)==null?void 0:r.call(o)}).then(n=>{n.success&&n.result&&ZLi(n.result.cmd)})):(await fetch("app://api/controlButton/control",{method:"post",body:JSON.stringify({timeout:0,retryLimit:0,cmd:t,winId:(i=(e=self==null?void 0:self.electronAPI)==null?void 0:e.getWinId)==null?void 0:i.call(e)})})).json().then(a=>{a.success&&ZLi(a.cmd)}))}function ZLi(t){switch(t){case"_max":JLi("_restore","_max");break;case"_restore":JLi("_max","_restore");break}}function JLi(t,e){var o;let i=(o=(0,Rme.default)("#app-window-controls")[0])==null?void 0:o.querySelector(`[cmd="${t}"]`);i&&i.setAttribute("cmd",e),F5e.changeCmd(e)}var ASt=class extends qe{constructor(){super(...arguments);this.closeAction="reload";this.isFromLeaveDialog=!1}setCloseAction(i){this.closeAction=i}handleClientCloseAction(){this.isFromLeaveDialog&&setTimeout(()=>{this.closeAction==="reload"?location.reload():Zv("_close"),this.isFromLeaveDialog=!1},100)}},_a=new ASt;var pFe="recentVersion",XLi="",JS=[];async function kSt(t,e=5){await U3r(),XLi!==t&&(XLi=t,JS=[]),JS.length===0&&await F3r(t);let i=await Pr.getVersion();return PSt(i,e)}function PSt(t,e=5){if(!t)return[];let i=[];JS.forEach(async r=>{let n=Rl.lists.find(a=>a.uuid===r.uuid&&a.delete_status==0);n&&i.push(n)});let o=i.findIndex(r=>r.uuid===t.uuid);return o>=0&&i.splice(o,1),t.node||i.unshift(t),i.slice(0,e)}async function F3r(t){let e=await evi();if(e){let o=e[t];if(o!=null&&o.length)return JS=o,JS}else e={};return await Rl.update(t),JS=Rl.tableData.filter(o=>o.default).map(o=>NSt(o)),e[t]=JS,await tvi(e),JS}async function Jv(t,e,i=!1){JS.length||await kSt(t);let o=e.uuid,r=JS.findIndex(a=>a.uuid==o);r>=0&&JS.splice(r,1),i&&(e.delete_status=1),e.node||JS.unshift(NSt(e));let n=await evi();n||(n={}),JS=JS.map(a=>NSt(a)).slice(0,10),n[t]=JS,await tvi(n),mFe()}async function $Li(){return await caches.open("RECENTVERSION")}async function evi(){let e=await(await $Li()).match(pFe);return e?await e.json():null}async function tvi(t){let e=await $Li(),i=new Blob([JSON.stringify(t)],{type:"application/json"}),o=new Request(pFe),r=new Response(i);await e.put(o,r)}function NSt(t){let{name:e,uuid:i}=t;return{name:e,uuid:i}}async function U3r(){mt.getCacheObj(pFe)&&(mt.deleteCacheObj(pFe),await mt.saveToServer(!1))}var ZV=L(z()),U5e=t=>{let{isNew:e,row:i}=t,o="";e?o=i.node?"Create successful!Open the new node?":"Create successful!Open the new branch?":o=i.node?"Please choose how to open the node!":"Please choose how to open the branch!";let r=C.currentProject.projectId,n=()=>{async function s(l){le.destroy(a),await V5e(l,r,i),await Jv(r,i)}return(0,ZV.jsxs)(ZV.Fragment,{children:[(0,ZV.jsx)(Me,{type:"primary",onClick:()=>{s(!0)},children:"Open in New Window"}),(0,ZV.jsx)(Me,{size:"md",type:"primary",onClick:async()=>{s(!1)},children:e?"Yes":"Open in Current Window"}),(0,ZV.jsx)(Me,{style:{marginLeft:"5px"},size:"md",onClick:()=>{le.destroy(a)},children:e?"No":"Cancel"})]})},a=Dt({height:200,title:"Notice",content:me.i18n(o),footer:(0,ZV.jsx)(n,{}),closed:!0,esc:!0})};async function V5e(t,e,i){if(t){let o=location.origin+location.pathname+"#id="+e+",version="+i.uuid;window.open(o)}else Pr.switchVersion(i),Pr.openOtherBranch=!0,(await Xg(e)).success?Os({uuid:e,options:{branchUuid:i.uuid}}):(_a.chose="changeVersion",_a.target={uuid:e,options:{branchUuid:i.uuid}})}var OSt=class extends qe{constructor(){super(...arguments);this.recentProject={menuId:"mm-common-recentProjects",defaultConfig:[{id:"empty",title:"empty"}]};this.recentProjectData=[];this.recentVersion={menuId:"mm-common-recentVersions",defaultConfig:[]};this.topMenuConfigStore=new Ps(0);this.gridSizeMenu={menuId:"top-menu-view-gridSizeMenu",defaultConfig:[]};this.snapSizeMenu={menuId:"top-menu-view-snapSizeMenu",defaultConfig:[]};this.gridSizeSchMenu={menuId:"top-menu-view-girdSize_sch",defaultConfig:[]};this.trackWidthMenu={menuId:"top-menu-view-trackWidthMenu",defaultConfig:[]};this.variantViewModeMenu={menuId:"top-menu-view-variantMenu",defaultConfig:[]};this.fileMenuExport={menuId:"top-menu-fileMenu-exportMenu",defaultConfig:[...Yd.find(i=>i.id==="Export").menuItems.defaultConfig],modeConfig:Yd.find(i=>i.id==="Export").menuItems.modeConfig};this.scriptListMenu={menuId:"top-menu-view-scriptListMenu",defaultConfig:[]}}topMenuConfigUpdate(){this.topMenuConfigStore.setValue(this.topMenuConfigStore.value+1)}setRecentProject(i){if(this.recentProjectData=i,i.length>0){let r=i.map(n=>({id:n.text,title:n.text,callback:async()=>{if(Je){let a=n.cPath;if(!a){Dt({icon:"error",closed:!0,content:me.i18n(`${me.i18n("Not Found The File")} ${n.text}`)}),mI.project();return}dFe({cPath:a})}else{let a=n.projectId;dFe({projectId:a})}}}));this.recentProject.defaultConfig=r}else this.recentProject.defaultConfig=[{id:"empty",title:"empty"}];si.menuRefresh(this.recentProject.menuId);let o=si.getMenuRpcNameStore("/pro-ui/topMenu/recentProject");o.setValue(o.value+1)}setRecentVersion(i){let o=zi.getProjectPermissionCache(C.currentProject.projectId),r=zi.getIsProjectReadOnly(!0)&&(C.archive||C.store),n=wi||!r&&!!zi.hasPermission(o,Io.Branch_Adding),a=[{id:"New Branch...",title:"New Branch...",command:"new_branch",disable:Je?!0:!n,icon:{iconPath:lt.icon_eda_new_branch}},{id:"New Node...",title:"New Node...",command:"new_node",disable:Je?!0:!n||Pr.version.node,icon:{iconPath:lt.icon_eda_new_node}},{id:"Version Management...",title:"Version Management...",command:"version_management"}];i.length>0&&(a.push(null),i.forEach(l=>{let c=l.version;a.push({id:c.name,title:c.name,isTranslate:{title:!1},callback:async()=>{let d=await Pr.getVersion();if(c.uuid!==d.uuid)return U5e({row:c})}})})),this.recentVersion.defaultConfig=a,si.menuRefresh(this.recentVersion.menuId);let s=si.getMenuRpcNameStore("/pro-ui/topMenu/recentVersion");s.setValue(s.value+1)}setGridSizeMenu(i){let o=[null,{id:"Grid/Snap Keep Ratio",title:"Grid/Snap Keep Ratio",command:"gridSnapKeepRatio",optionType:{type:"checkbox"}},{id:"Common Grid/Snap Setting...",title:"Common Grid/Snap Setting...",command:"setGridSize"},{id:"Grid Range Setting(Polar coordinate)...",title:"Grid Range Setting(Polar coordinate)...",command:"setGridRange"}];this.gridSizeMenu.defaultConfig=[...i,...o],si.menuRefresh(this.gridSizeMenu.menuId);let r=si.getMenuRpcNameStore("/pro-ui/topMenu/gridSizeMenu");r.setValue(r.value+1)}setSnapSizeMenu(i){let o=[null,{id:"Grid/Snap Keep Ratio",title:"Grid/Snap Keep Ratio",command:"gridSnapKeepRatio",optionType:{type:"checkbox"}},{id:"Common Grid/Snap Setting...",title:"Common Grid/Snap Setting...",command:"setGridSize"}];this.snapSizeMenu.defaultConfig=[...i,...o],si.menuRefresh(this.snapSizeMenu.menuId);let r=si.getMenuRpcNameStore("/pro-ui/topMenu/snapSizeMenu");r.setValue(r.value+1)}setGridSizeSchMenu(i){this.gridSizeSchMenu.defaultConfig=i,si.menuRefresh(this.gridSizeSchMenu.menuId);let o=si.getMenuRpcNameStore("/pro-ui/topMenu/gridSizeSchMenu");o.setValue(o.value+1)}setTrackWidthMenu(i){let o={[Ee.PCB]:[],[Yl]:[]},r=[{id:"Follow Rule",title:"Follow Rule",command:"trackWidthSetting(WIRING_WIDTH_FOLLOWRULES)",optionType:{type:"checkbox"}},{id:"Rule Setting...",title:"Rule Setting...",command:"trackWidthSetting(WIRING_WIDTH_RULESSETTING)"},null],n=[{id:"Common Width Setting...",title:"Common Width Setting...",command:"trackWidthSetting(WIRING_WIDTH_COMMONLY_SSETTING)"},null,{id:"Enter Width...",title:"Enter Width...",command:"trackWidthSetting(WIRING_WIDTH_INPUT)"}];this.trackWidthMenu.defaultConfig=[...r,...i,...n];let a=r.map(d=>(d==null?void 0:d.id)||null),s=n.map(d=>(d==null?void 0:d.id)||null),l=i.map(d=>(d==null?void 0:d.id)||null);o[Ee.PCB]=[...a,...l,...s],o[Yl]=[...l,...s],this.trackWidthMenu.modeConfig=o,si.menuRefresh(this.trackWidthMenu.menuId);let c=si.getMenuRpcNameStore("/pro-ui/topMenu/trackWidthMenu");c.setValue(c.value+1)}setVariantMenu(i){this.variantViewModeMenu.defaultConfig=i,si.menuRefresh(this.variantViewModeMenu.menuId);let o=si.getMenuRpcNameStore("/pro-ui/topMenu/variantViewModeMenu");o.setValue(o.value+1)}setScriptListMenu(i){let o=[{id:"Script Manager...",title:"Script Manager...",command:"scriptManager",hotkeyCmd:"scriptManager"},null],r=i.map(a=>({id:a.name,title:a.name,command:`runScriptItem(${a.name})`,isTranslate:{title:!1}}));this.scriptListMenu.defaultConfig=o.concat(r),si.menuRefresh(this.scriptListMenu.menuId);let n=si.getMenuRpcNameStore("/pro-ui/topMenu/scriptListMenu");n.setValue(n.value+1)}updateExtensionListMenu(i){if(C.extensionApiBackupForHeaderMenus===void 0){C.extensionApiBackupForHeaderMenus={configLength:void 0,modeConfigLengthList:[]},C.extensionApiBackupForHeaderMenus.configLength=Yd.length;for(let m in Ee)ta[Ee[m]]&&(C.extensionApiBackupForHeaderMenus.modeConfigLengthList[Ee[m]]=ta[Ee[m]].length)}else{Yd.splice(C.extensionApiBackupForHeaderMenus.configLength);for(let m in Ee)ta[Ee[m]]&&ta[Ee[m]].splice(C.extensionApiBackupForHeaderMenus.modeConfigLengthList[Ee[m]])}let o=Yd.find(m=>m.id==="Advanced");o.menuItems.defaultConfig=o.menuItems.defaultConfig.slice(0,4);let r=!0;this.handleExtensionHeaderMenus(i.home).forEach(m=>{m.isShowAtHeaderMenu?(Yd.push(m),ta[Ee.HOME].push(m.id)):(o.menuItems.defaultConfig=o.menuItems.defaultConfig.concat({id:m.id,title:m.title,children:m.menuItems}),r&&(o.menuItems.modeConfig[Ee.HOME]=o.menuItems.modeConfig[Ee.HOME].slice(0,4),r=!1),o.menuItems.modeConfig[Ee.HOME].push(m.id))});let n=!0;this.handleExtensionHeaderMenus(i.blank).forEach(m=>{m.isShowAtHeaderMenu?(Yd.push(m),ta[Ee.COMMON_BLANK].push(m.id),ta[Ee.CBB_BLANK].push(m.id)):(o.menuItems.defaultConfig=o.menuItems.defaultConfig.concat({id:m.id,title:m.title,children:m.menuItems}),n&&(o.menuItems.modeConfig[Ee.COMMON_BLANK]=o.menuItems.modeConfig[Ee.COMMON_BLANK].slice(0,4),o.menuItems.modeConfig[Ee.CBB_BLANK]=o.menuItems.modeConfig[Ee.CBB_BLANK].slice(0,4),n=!1),o.menuItems.modeConfig[Ee.COMMON_BLANK].push(m.id),o.menuItems.modeConfig[Ee.CBB_BLANK].push(m.id))});let a=!0;this.handleExtensionHeaderMenus(i.sch).forEach(m=>{m.isShowAtHeaderMenu?(Yd.push(m),ta[Ee.SCH].push(m.id),ta[Ee.CBB_SCH].push(m.id),ta[Ee.SCH_INSTANCE].push(m.id),ta[Ee.BLOCK_SCH].push(m.id),ta[Ee.CBB_BLOCK_SCH].push(m.id),ta[Ee.NGSPICE].push(m.id),ta[Ee.SIMULIDE].push(m.id)):(o.menuItems.defaultConfig=o.menuItems.defaultConfig.concat({id:m.id,title:m.title,children:m.menuItems}),a&&(o.menuItems.modeConfig[Ee.SCH]=o.menuItems.modeConfig[Ee.SCH].slice(0,4),o.menuItems.modeConfig[Ee.CBB_SCH]=o.menuItems.modeConfig[Ee.CBB_SCH].slice(0,4),o.menuItems.modeConfig[Ee.SCH_INSTANCE]=o.menuItems.modeConfig[Ee.SCH_INSTANCE].slice(0,4),o.menuItems.modeConfig[Ee.BLOCK_SCH]=o.menuItems.modeConfig[Ee.BLOCK_SCH].slice(0,4),o.menuItems.modeConfig[Ee.CBB_BLOCK_SCH]=o.menuItems.modeConfig[Ee.CBB_BLOCK_SCH].slice(0,4),o.menuItems.modeConfig[Ee.NGSPICE]=o.menuItems.modeConfig[Ee.NGSPICE].slice(0,1),o.menuItems.modeConfig[Ee.SIMULIDE]=o.menuItems.modeConfig[Ee.SIMULIDE].slice(0,1),a=!1),o.menuItems.modeConfig[Ee.SCH].push(m.id),o.menuItems.modeConfig[Ee.CBB_SCH].push(m.id),o.menuItems.modeConfig[Ee.SCH_INSTANCE].push(m.id),o.menuItems.modeConfig[Ee.BLOCK_SCH].push(m.id),o.menuItems.modeConfig[Ee.CBB_BLOCK_SCH].push(m.id),o.menuItems.modeConfig[Ee.SIMULIDE].push(m.id),o.menuItems.modeConfig[Ee.NGSPICE].push(m.id))});let s=!0;this.handleExtensionHeaderMenus(i.symbol).forEach(m=>{m.isShowAtHeaderMenu?(Yd.push(m),ta[Ee.PART].push(m.id),ta[Ee.BLOCK_SYMBOL].push(m.id),ta[Ee.NETFLAG].push(m.id),ta[Ee.NETPORT].push(m.id),ta[Ee.OFF_PAGE_CONNECTOR].push(m.id),ta[Ee.DIFF_PAIRS_FLAG].push(m.id),ta[Ee.SHEET_SYMBOL].push(m.id),ta[Ee.NONEELEC_SYMBOL].push(m.id)):(o.menuItems.defaultConfig=o.menuItems.defaultConfig.concat({id:m.id,title:m.title,children:m.menuItems}),s&&(o.menuItems.modeConfig[Ee.PART]=o.menuItems.modeConfig[Ee.PART].slice(0,4),o.menuItems.modeConfig[Ee.BLOCK_SYMBOL]=o.menuItems.modeConfig[Ee.BLOCK_SYMBOL].slice(0,4),o.menuItems.modeConfig[Ee.NETFLAG]=o.menuItems.modeConfig[Ee.NETFLAG].slice(0,4),o.menuItems.modeConfig[Ee.NETPORT]=o.menuItems.modeConfig[Ee.NETPORT].slice(0,4),o.menuItems.modeConfig[Ee.OFF_PAGE_CONNECTOR]=o.menuItems.modeConfig[Ee.OFF_PAGE_CONNECTOR].slice(0,4),o.menuItems.modeConfig[Ee.DIFF_PAIRS_FLAG]=o.menuItems.modeConfig[Ee.DIFF_PAIRS_FLAG].slice(0,4),o.menuItems.modeConfig[Ee.SHEET_SYMBOL]=o.menuItems.modeConfig[Ee.SHEET_SYMBOL].slice(0,4),o.menuItems.modeConfig[Ee.NONEELEC_SYMBOL]=o.menuItems.modeConfig[Ee.NONEELEC_SYMBOL].slice(0,4),s=!1),o.menuItems.modeConfig[Ee.PART].push(m.id),o.menuItems.modeConfig[Ee.BLOCK_SYMBOL].push(m.id),o.menuItems.modeConfig[Ee.NETFLAG].push(m.id),o.menuItems.modeConfig[Ee.NETPORT].push(m.id),o.menuItems.modeConfig[Ee.OFF_PAGE_CONNECTOR].push(m.id),o.menuItems.modeConfig[Ee.DIFF_PAIRS_FLAG].push(m.id),o.menuItems.modeConfig[Ee.SHEET_SYMBOL].push(m.id),o.menuItems.modeConfig[Ee.NONEELEC_SYMBOL].push(m.id))});let l=!0;this.handleExtensionHeaderMenus(i.pcb).forEach(m=>{m.isShowAtHeaderMenu?(Yd.push(m),ta[Ee.PCB].push(m.id)):(o.menuItems.defaultConfig=o.menuItems.defaultConfig.concat({id:m.id,title:m.title,children:m.menuItems}),l&&(o.menuItems.modeConfig[Ee.PCB]=o.menuItems.modeConfig[Ee.PCB].slice(0,6),l=!1),o.menuItems.modeConfig[Ee.PCB].push(m.id))});let c=!0;this.handleExtensionHeaderMenus(i.footprint).forEach(m=>{m.isShowAtHeaderMenu?(Yd.push(m),ta[Ee.FOOTPRINT].push(m.id)):(o.menuItems.defaultConfig=o.menuItems.defaultConfig.concat({id:m.id,title:m.title,children:m.menuItems}),c&&(o.menuItems.modeConfig[Ee.FOOTPRINT]=o.menuItems.modeConfig[Ee.FOOTPRINT].slice(0,6),c=!1),o.menuItems.modeConfig[Ee.FOOTPRINT].push(m.id))});let d=!0;this.handleExtensionHeaderMenus(i.pcbView).forEach(m=>{m.isShowAtHeaderMenu?(Yd.push(m),ta[Ee.PCB2D].push(m.id),ta[Ee.PCB3D].push(m.id)):(o.menuItems.defaultConfig=o.menuItems.defaultConfig.concat({id:m.id,title:m.title,children:m.menuItems}),d&&(o.menuItems.modeConfig[Ee.PCB2D]=o.menuItems.modeConfig[Ee.PCB2D].slice(0,4),o.menuItems.modeConfig[Ee.PCB3D]=o.menuItems.modeConfig[Ee.PCB3D].slice(0,4),d=!1),o.menuItems.modeConfig[Ee.PCB2D].push(m.id),o.menuItems.modeConfig[Ee.PCB3D].push(m.id))});let u=!0;this.handleExtensionHeaderMenus(i.panel).forEach(m=>{m.isShowAtHeaderMenu?(Yd.push(m),ta[Ee.PANEL].push(m.id),ta[Ee.PANEL_LIB].push(m.id)):(o.menuItems.defaultConfig=o.menuItems.defaultConfig.concat({id:m.id,title:m.title,children:m.menuItems}),u&&(o.menuItems.modeConfig[Ee.PANEL]=o.menuItems.modeConfig[Ee.PANEL].slice(0,4),o.menuItems.modeConfig[Ee.PANEL_LIB]=o.menuItems.modeConfig[Ee.PANEL_LIB].slice(0,4),u=!1),o.menuItems.modeConfig[Ee.PANEL].push(m.id),o.menuItems.modeConfig[Ee.PANEL_LIB].push(m.id))});let p=!0;this.handleExtensionHeaderMenus(i.panelView).forEach(m=>{m.isShowAtHeaderMenu?(Yd.push(m),ta[Ee.PANEL3D].push(m.id)):(o.menuItems.defaultConfig=o.menuItems.defaultConfig.concat({id:m.id,title:m.title,children:m.menuItems}),p&&(o.menuItems.modeConfig[Ee.PANEL3D]=o.menuItems.modeConfig[Ee.PANEL3D].slice(0,4),p=!1),o.menuItems.modeConfig[Ee.PANEL3D].push(m.id))}),this.topMenuConfigUpdate()}handleExtensionHeaderMenus(i){let o=[];return i.forEach(r=>{let n={id:r.id,title:r.title,isShowAtHeaderMenu:r.isShowAtHeaderMenu,menuItems:void 0};r.menuItems&&(n.menuItems={menuId:ue.randomString(!1,32,32),defaultConfig:[]},r.menuItems.forEach(a=>{if(a){let s=n.menuItems.defaultConfig.push({id:a.id,title:a.title,command:a.registerFn?"runRegisteredExtensionFn("+a.registerFn+")":void 0,children:void 0})-1;a.menuItems&&(n.menuItems.defaultConfig[s].children={menuId:ue.randomString(!1,32,32),defaultConfig:[]},a.menuItems.forEach(l=>{l?n.menuItems.defaultConfig[s].children.defaultConfig.push({id:l.id,title:l.title,command:l.registerFn?"runRegisteredExtensionFn("+l.registerFn+")":void 0}):n.menuItems.defaultConfig[s].children.defaultConfig.push(null)}))}else n.menuItems.defaultConfig.push(null)})),o.push(n)}),o}},Rc=new OSt,RSt=class extends qe{constructor(){super(...arguments);this.versionUpdate=!1}setVersionUpdate(i){this.versionUpdate=i,this.notify()}},_me=new RSt,_St=class extends qe{constructor(){super(...arguments);this.maxOrRestore="_max"}changeCmd(i){this.maxOrRestore=i,this.notify()}},F5e=new _St,jSt=class extends qe{constructor(){super(...arguments);this.userAvatar="";this.userName=""}setUserAvatar(i){this.userAvatar!==i&&(this.userAvatar=i,this.notify())}setUserName(i){this.userName!==i&&(this.userName=i,this.notify())}},qv=new jSt,H5e=class H5e extends qe{constructor(){super(...arguments);this._topMenuShow=!0;this._isAvatarMinWidth=!1;this._menuWidth=0;this._showStatus="success"}get topMenuShow(){return this._topMenuShow}set menuWidth(i){this._menuWidth=i}get menuWidth(){return this._menuWidth}set isAvatarMinWidth(i){this._isAvatarMinWidth=i}get isAvatarMinWidth(){return this._isAvatarMinWidth}set topMenuShow(i){this._topMenuShow=i}get showStatus(){return this._showStatus}set showStatus(i){this._showStatus=i,i==="loading"&&(this._startLoadingTimer=performance.now())}get isUploading(){return this._showStatus==="loading"}refreshView(){this._showStatus==="loading"||!this._startLoadingTimer||performance.now()-this._startLoadingTimer>H5e.MIN_LOADING_TIME_MS?this.notify():os(this._startLoadingTimer+H5e.MIN_LOADING_TIME_MS-performance.now()).then(()=>{this.notify()})}};H5e.MIN_LOADING_TIME_MS=800;var BSt=H5e,uc=new BSt;var ivi=async t=>{t=t.filter(n=>!(n!=null&&n.isHide&&(n!=null&&n.isHide())));let e=[],i=dt();if(ve.SCH===i&&t.some(n=>n.key==="Update Netport from Block Symbol")){let n=he.getActiveSchematicId1(),{message:a}=await C.messageBus.rpcCall($e.SCHEMATIC.GET,[n,C.currentProject.projectId]);if(a&&Object.hasOwnProperty.call(a,"name")){let{message:s}=await C.messageBus.rpcCall($e.SYMBOL.GET_BY_TITLE,[a.name,C.currentProject.projectId]);(s||[]).length<=0&&e.push("Update Netport from Block Symbol")}}t=t.filter(n=>!e.some(a=>(n==null?void 0:n.key)===a));let o="",r=[];return t.forEach(n=>{o==="|"&&n.key==="|"||(n.key==="|"?(r.push(n),o=n.key):r.some(a=>a.key===n.key)||(r.push(n),o=n.key))}),r},AJ=t=>{let e=ve.HOME,i=Ee;switch(t){case i.CBB_BLANK:case i.COMMON_BLANK:e=ve.BLANKTAB;break;case i.SCH_INSTANCE:case i.CBB_BLOCK_SCH:case i.BLOCK_SCH:case i.SCH:case i.CBB_SCH:e=ve.SCH;break;case i.PART:e=ve.PART;break;case i.BLOCK_SYMBOL:e=ve.BLOCK_SYMBOL;break;case i.NETFLAG:e=ve.NETFLAG||ve.SHORT_SYMBOL;break;case i.NETPORT:e=ve.NETPORT;break;case i.OFF_PAGE_CONNECTOR:e=ve.OFF_PAGE_CONNECTOR;break;case i.DIFF_PAIRS_FLAG:e=ve.DIFF_PAIRS_FLAG;break;case i.SHEET_SYMBOL:e=ve.SHEET_SYMBOL;break;case i.NONEELEC_SYMBOL:e=ve.NONEELEC_SYMBOL;break;case i.PCB:e=ve.PCB;break;case i.FOOTPRINT:e=ve.FOOTPRINT;break;case i.PCB2D:e=ve.PHOTOVIEW;break;case i.PCB3D:e=ve.VIEW3D;break;case i.SCHMODULE:e=ve.SCHMODULE;break;case i.PCBMODULE:e=ve.PCBMODULE;break;case i.PANEL:e=ve.PANEL;break;case i.PANEL3D:e=ve.PANEL3D;break;case i.PANEL_LIB:e=ve.PANEL_LIB;break;case i.ASSEMBLYVARIANT:e=ve.ASSEMBLY_VARIANT;break;case i.NGSPICE:e=ve.NGSPICE;break;case i.SIMULIDE:e=ve.SIMULIDE;break;case i.WAVEFORM:e=ve.WAVEFORM}return e};function ovi(){C.messageBus.subscribe("/pro-ui/disableCmdSet/update",t=>{Gu.setDisableCmd(t)}),C.messageBus.subscribe("/pro-ui/toolbar/onlySelectCmd/update",t=>{Ai.setOnlySelectCmd(t)}),C.messageBus.subscribe("/pro-ui/toolbar/selectCmdSet/update",t=>{Ai.setSelectCmd(t)}),C.messageBus.subscribe("/pro-ui/mode/switch",t=>{Po.setWorkingMode(t)}),C.messageBus.rpcService("/pro-ui/topMenu/recentProject",()=>Rc.recentProject),C.messageBus.rpcService("/pro-ui/topMenu/recentVersion",()=>Rc.recentVersion),C.messageBus.rpcService("/pro-ui/topMenu/gridSizeMenu",()=>Rc.gridSizeMenu),C.messageBus.rpcService("/pro-ui/topMenu/snapSizeMenu",()=>Rc.snapSizeMenu),C.messageBus.rpcService("/pro-ui/topMenu/gridSizeSchMenu",()=>Rc.gridSizeSchMenu),C.messageBus.rpcService("/pro-ui/topMenu/trackWidthMenu",()=>Rc.trackWidthMenu),C.messageBus.rpcService("/pro-ui/topMenu/variantViewModeMenu",()=>Rc.variantViewModeMenu),C.messageBus.rpcService("/pro-ui/topMenu/scriptListMenu",()=>Rc.scriptListMenu),C.messageBus.rpcService("/pro-ui/topMenu/fileMenu/export",()=>Rc.fileMenuExport),C.messageBus.rpcService("/pro-ui/container/add",t=>It.addTabBar(t)),C.messageBus.rpcService("/pro-ui/container/update",t=>It.updateTabBar(t)),C.messageBus.rpcService("/pro-ui/container/tab/add",t=>It.addTab(t)),C.messageBus.rpcService("/pro-ui/container/tab/update",t=>It.updateTab(t)),C.messageBus.rpcService("/pro-ui/container/tab/delete",t=>It.deleteTab(t)),C.messageBus.rpcService("/pro-ui/container/tab/getData",t=>It.getTabData(t)),C.messageBus.rpcService("/pro-ui/container/tab/active",t=>It.setActiveTab(t)),C.messageBus.rpcService("/pro-ui/container/tab/move",t=>It.tabMovePosition(t)),C.messageBus.rpcService("/pro-ui/container/switchMode",t=>It.changeContainerMode(t)),C.messageBus.subscribe("tabChange",async t=>{let{tabId:e,docType:i}=t;if(i!==ve.PCB&&i!==ve.FOOTPRINT)if(Wn(i)){Ho.updateCustomGridItem("panel");let o=await Pt(kt.Panel.GetCanvasGridSetting,e),r=io(o.gridSize,"pixel","mm");Ho.switchGridSizeBtn({value:r},!0),Ho.switchGridTypeBtn(o.gridType,!1,e);return}else{let o;if(pr(i)?o="symbol":Fh(i)&&(o="sch"),o){let r=await Cr(kt.Sch.GetCanvasGridSetting,e);Ho.updateCustomGridItem(o),Ho.switchGridSizeBtn({value:r.gridSize},!0),Ho.switchGridTypeBtn(r.gridType,!1,e),si.setCheckboxStatus("mm-common-edit","toggleAdsorb",r.snapToGrid),DA.setBtnSelection("toggleAdsorb",r.snapToGrid)}}})}var sf=L(Se()),CFe=L(Hr());var gFe=L(Se());function hFe(t,e,i,o){let r={};r.action="commonly-value-input",r.forms=[{type:"input",title:e,value:i,tips:"",key:t,inputStatus:"selectAll"}],r.onConfirm=o,C.messageBus.publish("dialogPcbOpen",r)}var svi=L(z()),fFe="input-value",rvi="Custom Config1",avi=t=>{let e=J(),{isUnSaved:i,config:o,defSelected:r,onChange:n}=t,{systemConfig:a={},userConfig:s={}}=o,{getKey:l,currentConfig:c,setUnSaved:d,setDefSelected:u,selected:p,setSelected:m,saveConfig:h,docType:f}=(0,gFe.useContext)(G5e),g=l(p),[b,y]=(0,gFe.useState)(g);async function w(D){switch(D){case"Rename Config...":{hFe(fFe,e("Rename Config"),p.configName,N);break}case"Save As Config...":{hFe(fFe,e("Save As Config"),e(rvi),N);break}case"Save Config":{s[p.configName]=c,h(),d(!1);break}case"Delete Config":{if(!await E())break;if(delete s[p.configName],h(),p.configName===r.configName&&p.configType===r.configType){let v={configType:"systemConfig",configName:NP};u(v),S(v)}else S(r);break}case"Set as default config":{i?hFe(fFe,e("Save As Config"),e(rvi),N):u(p);break}default:console.error("\u4E0D\u652F\u6301\u6B64\u64CD\u4F5C\uFF01\uFF01\uFF01")}async function E(){return new Promise((R,v)=>{Ut({type:"warn",message:"Are you sure you want to delete?",showCancel:!0,onConfirm:()=>{R(!0)},onCancel:()=>{R(!1)},onClose:()=>{R(!1)}})})}function N(R){let{forms:v}=R,k=v[fFe];return a[k]&&["Rename Config...","Save As Config..."].includes(D)?(De({type:"info",msg:"The configuration name can not be system config name"}),!1):p.configName===k&&D=="Rename Config..."?!0:!k||k.trim().length<=0?(De({type:"info",msg:"The configuration name can not be null"}),!1):k&&k.length>20?(De({type:"info",msg:"The configuration name can be up to 20 characters"}),!1):s.hasOwnProperty(k)?(De({type:"info",msg:"Configuration already exists"}),!1):D=="Save As Config..."&&Object.keys(s||{}).length>=5?(De({type:"info",msg:"Up to five custom configurations"}),!1):(typeof k<"u"&&(["Save As Config...","Set as default config"].includes(D)?s[k]=c:D=="Rename Config..."&&(s[k]=s[p.configName],delete s[p.configName])),S({configType:"userConfig",configName:k}),D==="Rename Config..."&&p.configName===r.configName&&p.configType===r.configType?u({configType:"userConfig",configName:k}):(D==="Set as default config"&&u({configType:"userConfig",configName:k}),h()),!0)}}function x(D,E,N){let R=D;return D===NP&&(R="Common"),D===r.configName&&E===r.configType&&(R+=e("(Default)")),i&&p.configName===D&&p.configType===E&&(R="* "+R),N?R:{context:"filterPanel",value:R}}function S(D){if(f===ve.PANEL||f===ve.PANEL_LIB){C.profileSetting.filterConfig&&(C.profileSetting.filterConfig.panelConfigCurrent=D),localStorage.setItem("preferences",JSON.stringify(C.profileSetting));let E=JSON.parse(sessionStorage.getItem("panelFilterPanel_currentSelected")||"{}");E[gi()]=D,sessionStorage.setItem("panelFilterPanel_currentSelected",JSON.stringify(E))}m(D),n(D)}let T=D=>{let E={};return D.configType=="systemConfig"?E={"Save As Config...":{disabled:!1},"Set as default config":{disabled:!1},"Rename Config...":{disabled:!0},"Save Config":{disabled:!0},"Delete Config":{disabled:!0}}:D.configType=="userConfig"&&(E={"Save As Config...":{disabled:!1},"Set as default config":{disabled:!1},"Rename Config...":{disabled:!1},"Save Config":{disabled:!1},"Delete Config":{disabled:!1}}),E},M={},I=(D,E)=>{if(Object.keys(D||{}).length<=0)return[];let N=[];for(let R of Object.keys(D||{})){if(R===NP)continue;let v={configType:E,configName:R},k=E==="userConfig";N.push({value:l(v),text:x(R,E,k),disabled:D[R].disabled,showOriginalText:k}),M[l(v)]=v}return N.length>0&&(N[0].style={borderTop:"1px solid var(--separator-color-drop-down-menu)"}),N};return(0,svi.jsx)(xt,{name:"filterConfigSelector",value:b,list:(()=>{let D={configName:NP,configType:"systemConfig"},E=!1,N=[{value:l(D),text:x(NP,"systemConfig",E),data:p,showOriginalText:E}];return M[l(D)]=D,[...N,...I(a,"systemConfig"),...I(s,"userConfig"),...I(T(p),"operation")]})(),onChange:async(D,E)=>{y(D);let N={...M[D]};N.configType==="operation"?(await w(N.configName),setTimeout(()=>{y(g)})):S(N)},containerStyle:{width:"60%",height:"24px",margin:"8px 0px"},style:{width:"100%",height:"24px"}},Math.random()+"")};var dvi=L(Se());var zSt=L(cvi()),Gj=L(z()),{locals:uvi}=zSt.default,{filter_item:V3r,eda_eye:TKa,eda_no_eyes:SKa,hr:H3r}=uvi,bFe=t=>{let{groupIndex:e,itemIndex:i}=t,{currentConfig:o,colNum:r,docType:n,onCheckedChange:a,setUnSaved:s,id:l}=(0,dvi.useContext)(G5e),c,d="All",u,p;e>=0&&(c=o[e].lists,d=c[i].title,u=c[i].checked,p=c[i].visible),Ae(zSt.default);let m=J();function h(y,w,x){x==="All"?e<0?w==="checked"?o.filter(S=>S.lists.find(T=>T.title==="All")).forEach(S=>S.lists.filter(T=>T.title!=="All"&&Object.hasOwnProperty.call(T,w)).forEach(T=>T[w]=y)):o.forEach(S=>S.lists.filter(T=>T.title!=="All"&&Object.hasOwnProperty.call(T,w)).forEach(T=>T[w]=y)):c.filter(S=>S.title!=="All"&&Object.hasOwnProperty.call(S,w)).forEach(S=>S[w]=y):c[i][w]=y,a(o)}function f(y,w,x){return y==="All"?e<0?w==="checked"?o.filter(S=>S.lists.find(T=>T.title==="All")).every(S=>S.lists.filter(T=>T.title!=="All"&&Object.hasOwnProperty.call(T,w)).every(T=>T[w])):o.every(S=>S.lists.filter(T=>T.title!=="All"&&Object.hasOwnProperty.call(T,w)).every(T=>T[w])):c.filter(S=>S.title!=="All"&&Object.hasOwnProperty.call(S,w)).every(S=>S[w]):x}function g(){let y=f(d,"visible",p);return y===void 0?"block":y===!1?"eda_no_eyes":"eda_eye"}let b=l+"_"+e+","+i;return(0,Gj.jsxs)(Gj.Fragment,{children:[(0,Gj.jsxs)("li",{className:V3r,style:{width:r==2&&d!=="All"?"50%":"100%"},children:[(0,Gj.jsx)(qt,{id:b,defaultChecked:f(d,"checked",u),disabled:f(d,"checked",u)===void 0,onChange:y=>{h(y,"checked",d)},dataTest:d},b+f(d,"checked",u)),n===se.SCH||pr(n)?"":(0,Gj.jsx)("span",{"data-test":d,className:uvi[g()],"data-status":g(),onClick:y=>{let w=y.target.getAttribute("data-status");if(w==="block")return;h(!(w==="eda_eye"),"visible",d)}},"span"),(0,Gj.jsx)("label",{style:{marginLeft:"4px",cursor:"pointer",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},htmlFor:b,title:m(d),"data-test":d,children:m(d)})]},b),d==="All"?(0,Gj.jsx)("hr",{className:H3r}):""]})};var FSt=L(mvi()),jme=L(z()),{locals:G3r}=FSt.default,{list:Y3r}=G3r,hvi=t=>{Ae(FSt.default);let{lists:e,index:i}=t;return(0,jme.jsx)(jme.Fragment,{children:(0,jme.jsx)("ul",{className:Y3r,children:(()=>{let r=[];for(let n=0;n<e.length;n++)r.push((0,jme.jsx)(bFe,{groupIndex:i,itemIndex:n},n));return r})()})})};var YSt=L(gvi());var Y5e=L(z()),USt=class extends qe{constructor(){super(...arguments);this.data=null}update(i){var o;i.currentSelected||(i.currentSelected=(o=this.data)==null?void 0:o.currentSelected),this.data=i,C.messageBus.publish("updateSchContextMenuData",i),this.notify()}changeCurrentSelected(i){let o=i.split("@"),r={configType:o.splice(0,1)[0],configName:o.join("@")};this.data.currentSelected=r,C.messageBus.publish("applyFilter",{config:this.data.config[r.configType][r.configName],docType:dt()}),this.notify()}},Xv=new USt,bvi=()=>{Ce(Xv);let{data:t}=Xv;if(!t)return(0,Y5e.jsx)(Y5e.Fragment,{});function e(o){Xv.update(o)}function i(o){Xv.data.currentSelected=o,e(Xv.data)}return(0,Y5e.jsx)(AA,{id:"schFilterPanel",update:e,data:t,onSelected:i})};var W5e=L(z()),VSt=class extends qe{constructor(){super(...arguments);this.data=null}update(i){var o;i.currentSelected||(i.currentSelected=(o=this.data)==null?void 0:o.currentSelected),this.data=i,C.messageBus.publish("updateSheetSymbolContextMenuData",i),this.notify()}changeCurrentSelected(i){let o=i.split("@"),r={configType:o.splice(0,1)[0],configName:o.join("@")};this.data.currentSelected=r,C.messageBus.publish("applyFilter",{config:this.data.config[r.configType][r.configName],docType:dt()}),this.notify()}},$v=new VSt,yvi=()=>{Ce($v);let{data:t}=$v;if(!t)return(0,W5e.jsx)(W5e.Fragment,{});function e(o){$v.update(o)}function i(o){$v.data.currentSelected=o,e($v.data)}return(0,W5e.jsx)(AA,{id:"sheetSymbolFilterPanel",update:e,data:t,onSelected:i})};var Q5e=L(z()),HSt=class extends qe{constructor(){super(...arguments);this.data=null}update(i){var o;i.currentSelected||(i.currentSelected=(o=this.data)==null?void 0:o.currentSelected),this.data=i,C.messageBus.publish("updateSymbolContextMenuData",i),this.notify()}changeCurrentSelected(i){let o=i.split("@"),r={configType:o.splice(0,1)[0],configName:o.join("@")};this.data.currentSelected=r,C.messageBus.publish("applyFilter",{config:this.data.config[r.configType][r.configName],docType:dt()}),this.notify()}},eD=new HSt,wvi=()=>{Ce(eD);let{data:t}=eD;if(!t)return(0,Q5e.jsx)(Q5e.Fragment,{});function e(o){eD.update(o)}function i(o){eD.data.currentSelected=o,e(eD.data)}return(0,Q5e.jsx)(AA,{id:"symbolFilterPanel",update:e,data:t,onSelected:i})};var L1=L(z()),{locals:W3r}=YSt.default,{filter_selector_main:Q3r}=W3r,NP="Common",G5e=(0,sf.createContext)({});function Cvi(t,e){let i=(0,sf.useRef)(!1);(0,sf.useEffect)(()=>{i.current?t():i.current=!0},e)}var K3r=(t,e)=>{var k,P;let{data:i,update:o,id:r,onSelected:n}=t,{config:a}=i||{};i.defSelected||(i.defSelected={configName:NP,configType:"systemConfig"});let{systemConfig:s={},userConfig:l={}}=a||{};(a&&Array.isArray(l)&&l.length==0||(a==null?void 0:a.userConfig)==null)&&(a.userConfig={},l={}),E(s,l);let c=J();Ae(YSt.default);let d=(0,sf.useRef)(null),[u,p]=(0,sf.useState)(1),[m,h]=(0,sf.useState)(!1),[f,g]=(0,sf.useState)(S(i)),[b,y]=(0,sf.useState)(i.currentConfig||T(i.config,f));if(!b){i.defSelected={configName:NP,configType:"systemConfig"},g({...i.defSelected});let O=T(i.config,i.defSelected);O&&y(O)}let w=b;(0,sf.useImperativeHandle)(e,()=>({unSavedConfig:b,setUnSavedConfig:y})),Cvi(()=>{if(h(!1),![ve.PCB,ve.FOOTPRINT].includes(D)){let O=T(i.config,f);y(O)}},[f]),(0,sf.useEffect)(()=>{n==null||n(f)},[f]),Cvi(()=>{if(g(S(i)),D==ve.PANEL||D===ve.PANEL_LIB){if(C.profileSetting.filterConfig)C.profileSetting.filterConfig.panelConfigCurrent=i.currentSelected;else{let _={panel:a==null?void 0:a.userConfig,panelConfigCurrent:i.currentSelected,panelConfigDefault:i.defSelected};C.profileSetting.filterConfig=_}localStorage.setItem("preferences",JSON.stringify(C.profileSetting));let O=JSON.parse(sessionStorage.getItem("panelFilterPanel_currentSelected")||"{}");O[gi()]=i.currentSelected,sessionStorage.setItem("panelFilterPanel_currentSelected",JSON.stringify(O))}},[(k=i.currentSelected)==null?void 0:k.configName,(P=i.currentSelected)==null?void 0:P.configType,i.currentSelected]),(0,sf.useEffect)(()=>{i.currentConfig&&y(i.currentConfig)},[i.currentConfig]),(0,sf.useEffect)(()=>{let O=T(i.config,f);if([ve.PCB,ve.FOOTPRINT].includes(D)&&(O=GSt(b,O)),Bme(b,O)?h(!1):h(!0),D===ve.PANEL||D===ve.PANEL_LIB){let _=JSON.parse(sessionStorage.getItem("panelFilterPanelStore")||"{}");_[gi()]=b,sessionStorage.setItem("panelFilterPanelStore",JSON.stringify(_))}},[b]);function x(O){return(O==null?void 0:O.configName)+","+(O==null?void 0:O.configType)}function S(O){let{config:_,defSelected:j,currentSelected:B}=O||{},{systemConfig:V={},userConfig:G={}}=_||{},Q=j;return B&&Object.keys(B).length>0&&(Q=B),Q===void 0?{configName:NP,configType:"systemConfig"}:typeof Q=="string"?V[Q]?{configName:Q,configType:"systemConfig"}:G[Q]?{configName:Q,configType:"userConfig"}:{configName:NP,configType:"systemConfig"}:Q}function T(O,_){let j,{systemConfig:B={},userConfig:V={}}=O||{};if(typeof _=="string")B[_]?j=B[_]:V[_]&&(j=V[_]);else{let{configType:Q,configName:H}=_||{};Q==="systemConfig"?j=B[H]:Q==="userConfig"&&(j=V[H])}let G=j?ue.deepClone(j):null;return G||(G=B[NP]),G}function M(){if(!b)return 0;let O=40,_=0;b.length>1&&(_=31);let j=0;for(let B=0;B<b.length;B++){j+=24;let{lists:V}=b[B];for(let G=0;G<V.length;G++)V[G].title==="All"&&(j+=1),j+=30}return O+_+j}function I(){if(!(d!=null&&d.current))return;let O=document.querySelector("#layoutRight"),_=M();O.clientWidth-28<240||O.clientHeight>_?p(1):p(2)}function A(O){let _=T(i.config,f);[ve.PCB,ve.FOOTPRINT].includes(D)&&(_=GSt(O,_)),Bme(O,_)?h(!1):h(!0),y([...O]),ve.SCH===D||pr(D)?C.messageBus.publish("applyFilter",{config:w,docType:D}):he.getTabIFrame().then(j=>{C.windowBridge.publish("applyFilter",[w],j.contentWindow),_l(st.PANEL_OBJECT_ROOT_NODE)})}if((0,sf.useEffect)(()=>{I();let O=new ResizeObserver(I),_=document.querySelector("#layoutRight");return O.observe(_),()=>{O.unobserve(_)}},[]),!i)return(0,L1.jsx)(L1.Fragment,{});let{docType:D}=i;if(!a)return(0,L1.jsx)(L1.Fragment,{});if(!s)return(0,L1.jsx)(L1.Fragment,{});if(!w)return(0,L1.jsx)(L1.Fragment,{});l||(a.userConfig={});function E(O,_){let j=O[Object.keys(O)[0]];for(let V of Object.keys(_||{}))B(V);function B(V){var G,Q,H,q,U,F;for(let K=0;K<_[V].length;K++){let{lists:te=[]}=_[V][K];for(let ae=0;ae<te.length;ae++)if(!(!((G=te[ae])!=null&&G.key)||!((H=(Q=j[K])==null?void 0:Q.lists[ae])!=null&&H.key))&&((q=te[ae])==null?void 0:q.key)!==((F=(U=j[K])==null?void 0:U.lists[ae])==null?void 0:F.key)){delete _[V];return}}}}function N(O){i.defSelected=O,R()}function R(O=!0){let _=mt.getCacheObj("filterConfig")||{};Array.isArray(_)&&(_={}),D==ve.SCH?(_.sch=a.userConfig||{},_.schConfigDefault=i.defSelected):D==ve.PCB?(_.pcb=a.userConfig||{},_.pcbConfigDefault=i.defSelected):D===ve.FOOTPRINT?(_.footprint=a.userConfig||{},_.footprintConfigDefault=i.defSelected):[ve.PANEL,ve.PANEL_LIB].includes(D)?(_.panelConfigDefault=i.defSelected,_.panel=a.userConfig||{}):sue(D)?(_.symbolConfigDefault=i.defSelected,_.symbol=a.userConfig||{}):D==ve.SHEET_SYMBOL&&(_.sheetSymbolConfigDefault=i.defSelected,_.sheetSymbol=a.userConfig||{}),mt.savePreference("filterConfig",_,O),o(i),he.getTabIFrame().then(j=>{C.windowBridge.publish("flushConfig",null,j.contentWindow)})}let v=()=>{let O=[];for(let _=0;_<w.length;_++){let{lists:j,title:B}=w[_];O.push((0,L1.jsx)(c0,{status:"open",title:B,style:{backgroundColor:"var(--common-bg-color-panel-header)"},children:(0,L1.jsx)(hvi,{index:_,...w[_]},x(f)+m)},_))}return O.length>1&&O.unshift((0,L1.jsx)(bFe,{groupIndex:-1,itemIndex:0},-1)),O};return(0,L1.jsx)(G5e.Provider,{value:{id:r,...i,colNum:u,getKey:x,saveConfig:R,setUnSaved:h,setDefSelected:N,selected:f||i.defSelected,setSelected:g,onCheckedChange:A,currentConfig:w},children:(0,L1.jsxs)("div",{ref:d,style:{display:"flex",flexDirection:"column",height:"100%"},children:[(0,L1.jsxs)("div",{className:Q3r,children:[(0,L1.jsx)(avi,{...i,isUnSaved:m,onChange:O=>{let _=a[O.configType][O.configName];he.getTabIFrame().then(j=>{C.windowBridge.publish("filterSelectedConfig",O,j.contentWindow),[ve.PCB,ve.FOOTPRINT].includes(D)?C.windowBridge.publish("applyCheck",[_],j.contentWindow):ve.SCH===D||pr(D)?C.messageBus.publish("applyFilter",{config:_,docType:D}):C.windowBridge.publish("applyFilter",[_],j.contentWindow),(D==ve.PANEL||D===ve.PANEL_LIB)&&C.profileSetting.filterConfig&&(C.profileSetting.filterConfig.panelConfigCurrent=O,localStorage.setItem("preferences",JSON.stringify(C.profileSetting)))})}},x(f)),(0,L1.jsx)(Me,{size:"sm",style:{minWidth:"fit-content"},onClick:()=>{h(!1);let O=T(i.config,f);goe(D)?y(O):y(GSt(w,O)),he.getTabIFrame().then(_=>{[ve.PCB,ve.FOOTPRINT].includes(D)?C.windowBridge.publish("applyCheck",[O],_.contentWindow):ve.SCH===D||pr(D)?C.messageBus.publish("applyFilter",{config:O,docType:D}):C.windowBridge.publish("applyFilter",[O],_.contentWindow)})},children:"Reset"})]}),(0,L1.jsx)("div",{style:{height:"calc(100% - 40px)",overflow:"auto"},children:v()})]})})};function Z3r(){(0,CFe.createRoot)(document.querySelector("#dlgSelectFilter .sch-attribute-filter .element-main-content")).render((0,L1.jsx)(sf.default.StrictMode,{children:(0,L1.jsx)(bvi,{})})),(0,CFe.createRoot)(document.querySelector("#dlgSelectFilter .symbol-attribute-filter .element-main-content")).render((0,L1.jsx)(sf.default.StrictMode,{children:(0,L1.jsx)(wvi,{})})),(0,CFe.createRoot)(document.querySelector("#dlgSelectFilter .sheet-symbol-attribute-filter .element-main-content")).render((0,L1.jsx)(sf.default.StrictMode,{children:(0,L1.jsx)(yvi,{})}))}function xvi(){Z3r()}function GSt(t,e){let i=ue.deepClone(e);for(let o=0;o<e.length;o++)for(let r=0;r<e[o].lists.length;r++)t[o].lists[r]&&Object.hasOwnProperty.call(t[o].lists[r],"visible")&&(i[o].lists[r].visible=t[o].lists[r].visible);return i}var AA=(0,sf.forwardRef)(K3r);var K5e=L(z()),WSt=class extends qe{constructor(){super(...arguments);this.data=null}update(i){this.data=i,this.notify()}changeCurrentSelected(i){let o=i.split("@"),r={configType:o.splice(0,1)[0],configName:o.join("@")};this.data.currentSelected=r,he.getTabIFrame().then(n=>{+n.getAttribute("c_doctype")===ve.FOOTPRINT&&C.windowBridge.publish("filterConfig",r.configName,n.contentWindow)}),this.notify()}},kP=new WSt,Tvi=()=>{Ce(kP);let{data:t}=kP;if(!t)return(0,K5e.jsx)(K5e.Fragment,{});function e(i){kP.update(i)}return(0,K5e.jsx)(AA,{id:"footprintFilterPanel",update:e,data:t})};var Svi=L(Se()),xFe=L(Se()),Mvi=L(Hr());var Fre=L(z()),QSt=class extends qe{update(e){this.data=e,this.notify(),ZSt.update()}changeCurrentSelected(e){let i=e.split("@"),o={configType:i.splice(0,1)[0],configName:i.join("@")};this.data.currentSelected=o,ei().then(r=>{[se.PANEL,se.PANEL_LIB].includes(+r.getAttribute("c_doctype"))&&C.windowBridge.publish("applyFilter",[this.data.config[o.configType][o.configName]],r.contentWindow)}),this.notify()}},KSt=class extends qe{update(){this.notify()}},tD={},ZSt=new KSt,hI={unSavedConfig:null,setUnSavedConfig:null};function Ivi(t){let e=he.getActiveTab(),i=wr(e)[0];for(let o of Object.keys(tD||{})){let r=document.querySelector("#filter_"+o);r.style.display=o!==i?"none":""}if(!tD[i]){tD[i]=new QSt;let o=document.querySelector("#dlgSelectFilter .panel-attribute-filter .element-main-content"),r=document.createElement("div");r.setAttribute("id","filter_"+i),r.style.setProperty("height","100%"),o.appendChild(r);let n=(0,Mvi.createRoot)(r);n.render((0,Fre.jsx)(Svi.default.StrictMode,{children:(0,Fre.jsx)(J3r,{id:"panelFilterPanel"+i,panelFilterPanelStore:tD[i]})})),tD[i].root=n}tD[i].update(t)}function JSt(t){let e=wr(t)[0];tD[e]&&(tD[e].root.unmount(),delete tD[e]);let i=document.querySelector("#filter_"+e);i==null||i.remove()}var J3r=t=>{let{panelFilterPanelStore:e,id:i}=t;Ce(e);let o=(0,xFe.useRef)(null);(0,xFe.useEffect)(()=>{o!=null&&o.current&&(hI.unSavedConfig=o.current.unSavedConfig,hI.setUnSavedConfig=o.current.setUnSavedConfig)});let{data:r}=e;if(!r)return(0,Fre.jsx)(Fre.Fragment,{});function n(s){e.update(s)}function a(s){e.data.currentSelected=s,n(e.data)}return(0,Fre.jsx)(AA,{id:i,ref:o,update:n,data:r,onSelected:a})};var Z5e=L(z()),qSt=class extends qe{constructor(){super(...arguments);this.data=null}update(i){this.data=i,this.notify()}changeCurrentSelected(i){let o=i.split("@"),r={configType:o.splice(0,1)[0],configName:o.join("@")};this.data.currentSelected=r,he.getTabIFrame().then(n=>{+n.getAttribute("c_doctype")===se.PCB&&C.windowBridge.publish("filterConfig",r.configName,n.contentWindow)}),this.notify()}},PP=new qSt,Lvi=()=>{Ce(PP);let{data:t}=PP;if(!t)return(0,Z5e.jsx)(Z5e.Fragment,{});function e(i){PP.update(i)}return(0,Z5e.jsx)(AA,{id:"pcbFilterPanel",update:e,data:t})};function vvi(){var l;let t=dt(),e=[],i,o="";if(t===se.SCH)i=Xv.data,o="setSchFilterPanelSelect";else if(TFe(t))i=eD.data,o="setSymbolFilterPanelSelect";else if(t===se.SHEET_SYMBOL)i=$v.data,o="setSheetSymbolFilterPanelSelect";else if(t===se.FOOTPRINT)i=kP.data,o="setFootprintFilterPanelSelect";else if(t===se.PCB)i=PP.data,o="setPCBFilterPanelSelect";else if(t===se.PANEL||t===se.PANEL_LIB){let c=he.getActiveTab(),d=wr(c)[0];i=(l=tD[d])==null?void 0:l.data,o="setPanelFilterPanelSelect"}if(!i)return[];let{config:r,defSelected:n,currentSelected:{configType:a="systemConfig",configName:s=""}={}}=i;return it(r,(c,d)=>{it(d,(u,p)=>{let m=null,h=!1;u===(n==null?void 0:n.configName)&&c===(n==null?void 0:n.configType)&&(h=!0),u===(s||i.currentSelected)&&a===c&&(m="icon-eda-v-tick"),e.push({id:u,value:u,text:u+(h?"(Default)":""),command:`${o}(${c}@${u})`,icon:m})}),e[e.length-1].style={borderBottom:"1px solid var(--separator-color-drop-down-menu)"}}),e.push({id:"more",value:"More...",text:"More...",command:"filterAttr",icon:null,notChangeText:!0}),e}var qvi=L(Se());var IFe=L(Se());var Evi=L(JV());var ey=L(z()),J5e=be.bind(Evi.default.locals),MFe=class extends qe{constructor(){super(...arguments);this._mouseX="";this._mouseY="";this._mouseDx="";this._mouseDy="";this._absX="";this._absY="";this._showUnit="";this._showUnitFlag=!1;this._docType=dt()}set mouseX(i){this._mouseX=i}get mouseX(){return vn(this._mouseX)||this._mouseDx===""?"":zme(this._docType)?li.toFixed(this._mouseX,2).toString():this._mouseX}set mouseY(i){this._mouseY=i}get mouseY(){return vn(this._mouseY)||this._mouseDx===""?"":zme(this._docType)?li.toFixed(this._mouseY,2).toString():this._mouseY}set mouseDx(i){this._mouseDx=i}get mouseDx(){return zme(this._docType)?li.toFixed(this._mouseDx,2).toString():this._mouseDx}set mouseDy(i){this._mouseDy=i}get mouseDy(){return zme(this._docType)?li.toFixed(this._mouseDy,2).toString():this._mouseDy}set showUnit(i){this._showUnit=i}get showUnit(){return this._showUnit}set absX(i){this._absX=i,this.notify()}get absX(){return this._absX}set absY(i){this._absY=i}get absY(){return this._absY}set showUnitFlag(i){this._showUnitFlag=i}get showUnitFlag(){return this._showUnitFlag}dispose(){this._mouseX="",this._mouseY="",this._mouseDx="",this._mouseDy="",this._absX="",this._absY="",this._showUnitFlag=!1,this.notifyUpdate()}notifyUpdate(){this.notify()}},Avi=()=>{let t=(0,IFe.useContext)(IC),{canvasMousePositionStore:e}=t;return Ce(e),(0,IFe.useLayoutEffect)(()=>{let i=C.messageBus.subscribe("ui/canvasMousePosition",o=>{var r,n,a,s,l,c,d;o.y=="-0"&&(o.y="0"),o.dy=="-"&&(o.dy="0"),e.mouseX=(r=o.x)!=null?r:"",e.mouseY=(n=o.y)!=null?n:"",e.mouseDx=(a=o.dx)!=null?a:"",e.mouseDy=(s=o.dy)!=null?s:"",e.absX=(l=o.absX)!=null?l:"",e.absY=(c=o.absY)!=null?c:"",e.showUnit=(d=o.showUnit)!=null?d:"",e.notifyUpdate()});return()=>{i.cancel()}},[]),(0,ey.jsxs)("div",{className:J5e("mousecoordination-container"),children:[(0,ey.jsx)("span",{children:"X:"}),(0,ey.jsx)("span",{id:"attr-mouse-x",className:J5e("mousecoordination-container-display-number"),children:e.mouseX}),e.showUnitFlag&&(0,ey.jsx)("span",{children:e.showUnit}),(0,ey.jsx)("span",{children:"\xA0\xA0"}),(0,ey.jsx)("span",{children:"Y:"}),(0,ey.jsx)("span",{id:"attr-mouse-y",className:J5e("mousecoordination-container-display-number"),children:e.mouseY}),e.showUnitFlag&&(0,ey.jsx)("span",{children:e.showUnit}),(0,ey.jsx)("span",{children:"\xA0\xA0"}),(0,ey.jsx)("span",{children:"dX:"}),(0,ey.jsx)("span",{id:"attr-mouse-dx",className:J5e("mousecoordination-container-display-number"),children:e.mouseDx}),e.showUnitFlag&&(0,ey.jsx)("span",{children:e.showUnit}),(0,ey.jsx)("span",{children:"\xA0\xA0"}),(0,ey.jsx)("span",{children:"dY:"}),(0,ey.jsx)("span",{id:"attr-mouse-dy",className:J5e("mousecoordination-container-display-number"),children:e.mouseDy}),e.showUnitFlag&&(0,ey.jsx)("span",{children:e.showUnit}),(0,ey.jsx)("span",{children:"\xA0\xA0"}),!1]})};var Nvi=L(Se());var kvi=L(JV());var LFe=L(z()),XSt=be.bind(kvi.default.locals),q3r=["5%","10%","50%","100%","200%","500%","1000%","2000%","5000%","10000%","20000%","50000%","100000%"],vFe=class extends qe{constructor(){super(...arguments);this._scale=0}set scale(i){this._scale=i,this.notify()}get scale(){return this._scale}get displayValue(){return this._scale+"%"}},Pvi=t=>{let e=(0,Nvi.useContext)(IC),{canvasScaleStore:i}=e;Ce(i);let o=J(),{docType:r,tabId:n}=t,a=l=>{let c=$s(l.replace(/\%/g,""));return!(isNaN(c)||c<5||c>1e5)},s=async(l,c)=>{let d=$s(l.replace(/\%/g,""));if(i.scale=d,q5e(r)||e.isPcbPreview2DFlag){let u=null;if(c!=null&&c.current){let p=c.current,m=c.current.closest("div.tabbar-panel");if(m){let h=m.getAttribute("uuid");u=await he.getTabIFrame(h)}}!u&&(u=await ei()),C.windowBridge.publish("from/ui/canvas/scale",{scale:i.scale/100,tabId:n},u.contentWindow)}else C.messageBus.publish("from/ui/canvas/scale",{scale:i.scale,tabId:n})};return(0,LFe.jsx)("div",{className:XSt("canvas-scale-container"),title:`${o("Scaling Ratio")}: ${i.displayValue}`,children:i.scale>0&&(0,LFe.jsx)("div",{className:XSt("canvas-scale"),children:(0,LFe.jsx)(j2,{selectListStyle:{width:"76px",paddingRight:"0"},className:XSt("canvas-scale-input"),dataTest:"Scaling Ratio",selectList:q3r,value:i.displayValue,validator:a,selectAlwaysShow:!1,inputHover:!1,showDropDownIcon:!0,clickShowDropDownIconInputFocus:!0,focusTriggerSelect:!0,onChange:s})})})};var EFe=L(Se());var eMt=L(JV());var $St=L(z()),Ovi=be.bind(eMt.default.locals),DFe=class extends qe{constructor(){super(...arguments);this._value=""}get value(){return this._value}set value(i){this._value=i,this.notify()}},Rvi=t=>{Ae(eMt.default);let{tabId:e}=t,i=(0,EFe.useContext)(IC),{canvasUnitStore:o,judgeBelongSamePage:r,getCurrentActiveTabId:n}=i;Ce(Ai.selectUnitStore,()=>e===n()&&Ai.selectUnitStore.value!==o.value?(o.value=Ai.selectUnitStore.value,!0):!1),Ce(o);let a=(0,EFe.useMemo)(()=>i.isPcbFlag?[{value:"unit(mil)",text:"mil"},{value:"unit(mm)",text:"mm"}]:i.isPanelFlag?[{value:"unit(mm)",text:"mm"}]:[{value:"unit(inch)",text:"inch"},{value:"unit(mm)",text:"mm"}],[]);return(0,$St.jsx)("div",{className:Ovi("canvas-unit-container"),children:o.value&&(0,$St.jsx)(xt,{className:Ovi("canvas-unit-container-select"),list:a,dataTest:"Unit",value:o.value,disabled:u_(),onChange:async s=>{i.isPanelFlag||(r(e,n())||await he.setTabActive(e),await _vi(()=>et(s)))}})})};var Bvi=L(Se());var zvi=L(JV());var tMt=L(z()),jvi=be.bind(zvi.default.locals),AFe=class extends qe{constructor(){super(...arguments);this.value="icon-eda-grid-line"}setValue(i){this.value=i,this.notify()}},Fvi=t=>{let{tabId:e}=t,i=(0,Bvi.useContext)(IC),{canvasGridStyleStore:o,judgeBelongSamePage:r,isPcbFlag:n,getCurrentActiveTabId:a}=i,s=J();return Ce(o),(0,tMt.jsx)("div",{className:jvi("canvas-grid-style-container"),title:s("Grid Style"),onClick:async()=>{r(e,a())||await he.setTabActive(e);let l=o.value.replace("icon-eda-grid-",""),c=Ho.nextGridStyle[l],d="icon-eda-grid-"+c,u=c=="not"?"none":"yes";if(n){let m=`switchGridType(${{dot:"outlets",line:"grid",not:"none"}[c]})`;Ic(m,"")}else{let p={"attr-canvas-grid-style":c,"attr-canvas-grid-visible":u};C.messageBus.publish("modifyCanvas",{data:p}),Ho.switchGridTypeBtn(c,!1)}d&&Ai.setGridStyleValue(d)},children:(0,tMt.jsx)("span",{"data-test":"Grid Style",className:jvi(o.value)})})};var OP=L(Se());var Uvi=L(JV());var qV=L(z()),NFe=be.bind(Uvi.default.locals),Vvi=t=>{let{tabId:e,docType:i}=t,o=(0,OP.useContext)(IC);return Ce(o),(0,qV.jsx)(qV.Fragment,{children:o.isPcbFlag||o.isPcbPreview2DFlag?(0,qV.jsx)(X3r,{tabId:e}):(0,qV.jsx)("div",{className:NFe("canvas-grid-size-container"),children:(0,qV.jsx)(Hvi,{disable:TS,tabId:e,inputClassName:NFe("canvas-scale-input"),bottomOfCanvas:!0,docType:i})})})},X3r=t=>{var p;let{tabId:e}=t||{};Ce(Ai.selectUnitStore);let i=J(),[o,r]=(0,OP.useState)(""),[n,a]=(0,OP.useState)([]),s=(0,OP.useRef)(null),l=(0,OP.useRef)(null),c=(0,OP.useRef)(),d=m=>{let h=n.find(f=>f.title===m);h?et(h.command):Oc("attr-grid-size",$s(m),o)},u=m=>{if(Td.status.coordinateType){let h=$s(m);if(isNaN(h))return!1;let f=n.map(g=>Number(g.title)).sort((g,b)=>g-b);return!(h<f[0]||h>f[f.length-1])}else{if(!m.includes("\xB0,"))return!1;let[h,f]=m.split("\xB0,").map(x=>$s(x));if(isNaN(h)||isNaN(f))return!1;let{angles:g,distances:b}=n.reduce((x,S)=>{let[T,M]=S.title.split("\xB0,"),I=Number(T),A=Number(M);return isNaN(I)||x.angles.push(I),isNaN(A)||x.distances.push(A),x},{angles:[],distances:[]}),y=[Math.min(...g),Math.max(...g)],w=[Math.min(...b),Math.max(...b)];return h>=y[0]&&h<=y[1]&&f>=w[0]&&f<=w[1]}};return(0,OP.useEffect)(()=>{let m=C.messageBus.subscribe("ui/pcb/canvasGridSize",h=>{if(s.current&&JSON.stringify(h)===s.current&&c.current===Td.status.coordinateType)return;let{gridX:f,gridY:g,unit:b,polarAngleStep:y,polarRadiuStep:w}=h,x=Rc.gridSizeMenu.defaultConfig.filter(M=>M&&M.command&&!["gridSnapKeepRatio","setGridSize","setGridRange"].includes(M.command)),S=[];x.forEach(M=>{let A=M.title.split("|").find(D=>D.includes(b));A&&S.push({command:M.command,title:Td.status.coordinateType?A.split(",")[0]:A.replace(b,"")})}),a(M=>S);let T=b==="mm";Td.status.coordinateType?r(f===g?M=>f.toFixed(T?3:1):M=>[f,g].join(",")):r(M=>`${li.toFixed(y,T?3:1)}\xB0,${w}`),l.current=h.unit,s.current=JSON.stringify(h),c.current=Td.status.coordinateType});return()=>{m.cancel()}},[]),(0,qV.jsx)("div",{className:NFe("canvas-grid-size-container pcb-canvas-grid-size-container"),title:`${i("Grid Size")}: ${o}${TT((p=l.current)!=null?p:Ai.selectUnitStore.value)}`,children:n.length>0&&(0,qV.jsx)(j2,{value:o,dataTest:"Grid Size",selectList:n.map(m=>m.title),inputHover:!1,className:NFe("pcb-canvas-scale-input"),optionAutoWidth:!1,showDropDownIcon:!0,selectAlwaysShow:!1,selectListStyle:{width:"72px",paddingRight:"0"},clickShowDropDownIconInputFocus:!0,onChange:d,disabled:TS(e),validator:u})})};var Yvi=L(JV());var PFe=L(Se());var iMt=L(z()),Gvi=be.bind(Yvi.default.locals),kFe=class extends qe{constructor(e,i){super(),this._displayCanvasAltSize=li.toFixed(e,2,!0),this.parent=i}set displayCanvasAltSize(e){this._displayCanvasAltSize=li.toFixed(e,2,!0),this.notify()}get displayCanvasAltSize(){return parseFloat(this._displayCanvasAltSize).toString()}getDefaultGridSizeOption(){return this.parent.isPanelFlag?bxe:TT(Ai.selectUnitStore.value)==="mm"?yxe:vOe}updateCanvas(){this.parent.docName&&C.messageBus.publish("modifyCanvas",{data:{"attr-canvas-alt-snap-size":Number(np.convert(+this._displayCanvasAltSize,ru(TT(Ai.selectUnitStore.value)),10))},tabId:this.parent.tabId})}},Wvi=()=>{let t=(0,PFe.useContext)(IC),{canvasAltGridSizeStore:e,tabId:i,getCurrentActiveTabId:o}=t,r=J(),n=(0,PFe.useRef)(null);Ce(e),Ce(Ai.selectUnitStore,()=>{let s=TT(Ai.selectUnitStore.value);if(i===o()){let l;return n.current&&n.current!==s&&(l=ue.unitConversion.conversion(n.current,s,Number(e.displayCanvasAltSize))+""),n.current=s,l&&e.displayCanvasAltSize!==l?(e.displayCanvasAltSize=l,!0):!1}else return!1});let a=s=>isNaN(s)||+s<=0||+s>100||!/^\d+(.\d{1,2})?$/.test(s)?(De({type:"error",msg:"The input range is 100\u2265x>0, up to two decimal places!"}),!1):!0;return(0,iMt.jsx)("div",{className:Gvi("canvas-alt-grid-size-container"),title:`${r("ALT Snap")}: ${e.displayCanvasAltSize}${TT(Ai.selectUnitStore.value)}`,children:(0,iMt.jsx)(j2,{selectListStyle:{width:"58px",paddingRight:"0"},selectList:e.getDefaultGridSizeOption(),dataTest:"Alt Grid Size",value:e.displayCanvasAltSize,inputHover:!1,selectAlwaysShow:!1,className:Gvi("canvas-scale-input"),showDropDownIcon:!0,clickShowDropDownIconInputFocus:!0,optionAutoWidth:!1,validator:s=>a(s),onChange:s=>{if(a(s)){let c=s+"",d=parseFloat(c),u=parseFloat(e.displayCanvasAltSize);d!==u&&(e.displayCanvasAltSize=c,e.updateCanvas())}else e.displayCanvasAltSize=e.displayCanvasAltSize}})})};var nMt=L(JV());var Kvi=L(Se());var Zvi=L(JV());var oMt=L(z()),Qvi=be.bind(Zvi.default.locals),Jvi=t=>{var n,a;let{tabId:e}=t,i=(0,Kvi.useContext)(IC);Ce(Ai,()=>{let s=i.getCurrentActiveTabId();return e===s});let o=J(),r=!!((a=(n=Ai.selectCmdSet)==null?void 0:n.toggleAdsorb)!=null&&a.value);return(0,oMt.jsx)("div",{title:o("Snap"),className:Qvi("canvas-snap-container",{"canvas-snap-select":r}),onClick:async()=>{i.judgeBelongSamePage(e,i.getCurrentActiveTabId())||await he.setTabActive(e),await et("toggleAdsorb")},children:(0,oMt.jsx)("span",{"data-test":"Alt Snap",className:Qvi("canvas-snap-icon icon-eda-snap")})})};var iD=L(z()),rMt=be.bind(nMt.default.locals),LC=class{static addItem(e,i){this._map.set(he.getModelTabId(e),i)}static removeItem(e){this._map.delete(he.getModelTabId(e))}static getItem(e){let i=he.getModelTabId(e);if(this.hasItem(i))return this._map.get(i)}static hasItem(e){return this._map.has(he.getModelTabId(e))}};LC._map=new Map;var X5e=class t extends qe{constructor(e,i){super(),this.docType=e,ol(i)?this.tabId=t.getBlockInstanceRealTabId(i):this.tabId=i,this.init(),LC.addItem(i,this)}init(){this.docName=foe(this.docType);let e;if(this.docName){let{altSnapSize:i}=Zue[this.docName]();e=i}e&&(this.canvasAltGridSizeStore=new kFe(e,this)),this.canvasMousePositionStore=new MFe,this.canvasScaleStore=new vFe,this.canvasGridStyleStore=new AFe,this.canvasUnitStore=new DFe}verifySize(e,i=!0){let o=TT(Ai.selectUnitStore.value),r=yd(e,o);return{isVerify:Yoe(r,o,i),newVal:r}}get isPcbFlag(){return q5e(this.docType)}get isPanelFlag(){return Wn(this.docType)}get isPcbPreview2DFlag(){return this.docType===ve.PHOTOVIEW}get isDisplayCanvasSnap(){return!this.isPanelFlag&&!this.isPcbFlag&&!this.isPcbPreview2DFlag}get isDisplayCanvasAltGridSize(){return!this.isPcbFlag&&!this.isPcbPreview2DFlag}judgeBelongSamePage(e,i){return he.getModelSheetUuid(e)===he.getModelSheetUuid(i)}getCurrentActiveTabId(){let e=gi();return ol(e)&&(e=t.getBlockInstanceRealTabId(e)),e}static getBlockInstanceRealTabId(e){let i="";return C.messageBus.publish("sch/getModelTabId",{tabid:e,cb:o=>{i=o}}),i}},IC=(0,qvi.createContext)(null),aMt=t=>{Ae(nMt.default);let{tabId:e,docType:i,viewInfoTabBarStore:o}=t;return(0,iD.jsx)(IC.Provider,{value:o,children:o&&(0,iD.jsxs)("div",{className:rMt("container"),children:[(0,iD.jsx)("div",{className:rMt("container-left"),children:(0,iD.jsx)(Avi,{})}),(0,iD.jsxs)("div",{className:rMt("container-right"),children:[(0,iD.jsx)(Pvi,{docType:i,tabId:e}),(0,iD.jsx)(Vvi,{tabId:e,docType:i}),o.isDisplayCanvasAltGridSize&&(0,iD.jsx)(Wvi,{}),!o.isPcbPreview2DFlag&&(0,iD.jsx)(Rvi,{tabId:e}),!o.isPcbPreview2DFlag&&(0,iD.jsx)(Fvi,{tabId:e}),o.isDisplayCanvasSnap&&(0,iD.jsx)(Jvi,{tabId:e})]})]})})};var hs=L(z()),sMt=()=>{Ce(Ai.switchBrightnessStore);let t=J(),{locals:e}=Yj.default,i=Ai.switchBrightnessStore.value,o=[{value:"brightness(0)",title:"Normal Brightness"},{value:"brightness(1)",title:"Inactive Layer Turns Grey"},{value:"brightness(2)",title:"Inactive Layer Hiding"}],r=(0,pc.useMemo)(()=>{var n;return((n=o.find(a=>a.value===i))==null?void 0:n.title)||"Normal Brightness"},[i,o]);return(0,hs.jsx)("div",{className:e["toolbar-bottom-selected-wrap"],"data-sensors":"true",children:(0,hs.jsx)(ld,{width:"84px",searchAble:!1,selectedValue:i,selectedText:r,hoverTitle:t("Switch Brightness"),onItemChange:n=>{et(n),v1(n,!0)},children:o.map((n,a)=>(0,hs.jsx)(lc,{value:n.value,title:t(n.title),children:n.title},`switch-brightness-${a}`))})})},lMt=t=>{Ce(Ai.selectUnitStore),Ce(Po);let e=J(),{locals:i}=Yj.default,[,o]=(0,pc.useState)(0),r=Ai.selectUnitStore.value;(0,pc.useEffect)(()=>{r!==Ai.selectUnitStore.value&&o(s=>s+1)},[]);let n=(0,pc.useMemo)(()=>{let s=AJ(Po.workingMode);return ty(s)?[{value:"unit(inch)",title:"inch"},{value:"unit(mm)",title:"mm"}]:Wn(s)?[{value:"unit(mm)",title:"mm"}]:[{value:"unit(mil)",title:"mil"},{value:"unit(mm)",title:"mm"}]},[Po.workingMode]),a=(0,pc.useMemo)(()=>{var s;return((s=n.find(l=>l.value===r))==null?void 0:s.title)||n[0].title},[r,n]);return(0,hs.jsx)("div",{className:i["toolbar-bottom-selected-wrap"],"data-sensors":"true",children:(0,hs.jsx)(ld,{width:"58px",searchAble:!1,selectedValue:r,selectedText:a,hoverTitle:e("Unit"),disabled:t.disable(),onItemChange:s=>{et(s),v1(s,!0)},children:n.map((s,l)=>(0,hs.jsx)(lc,{value:s.value,title:e(s.title),children:s.title},`select-unit-${l}`))})})},Xvi=t=>{let e=J();Ce(Ai.routingModeStore);let{locals:i}=Yj.default,o=Ai.routingModeStore.value,r=[{value:"routeMode(WIRING_MODE_PUSHAWAY)",title:"Push"},{value:"routeMode(WIRING_MODE_SURROUND_AND_PUSHAWAY)",title:"Around & Push"},{value:"routeMode(WIRING_MODE_SURROUND)",title:"Around"},{value:"routeMode(WIRING_MODE_OBSTRUCT)",title:"Block"},{value:"routeMode(WIRING_MODE_IGNORE)",title:"Ignore"}],n=(0,pc.useMemo)(()=>{var a;return((a=r.find(s=>s.value===o))==null?void 0:a.title)||"Push"},[o,r]);return(0,hs.jsx)("div",{className:i["toolbar-bottom-selected-wrap"],"data-sensors":"true",children:(0,hs.jsx)(ld,{width:"64px",searchAble:!1,selectedValue:o,selectedText:n,hoverTitle:e("Routing Mode"),disabled:t.disable(),onItemChange:a=>{et(a),v1(a,!0),Ai.setRoutingModeValue(a)},children:r.map((a,s)=>(0,hs.jsx)(lc,{value:a.value,title:e(a.title),children:a.title},`select-routing-mode-${s}`))})})},$vi=t=>{let e=J();Ce(Ai.routingCornerStore);let{locals:i}=Yj.default,o=Ai.routingCornerStore.value,r=[{value:"routeLine(WIRING_CORNER_LINE45)",title:"Line 45\xB0"},{value:"routeLine(WIRING_CORNER_LINE90)",title:"Line 90\xB0"},{value:"routeLine(WIRING_CORNER_ARC45)",title:"Arc 45\xB0"},{value:"routeLine(WIRING_CORNER_ARC90)",title:"Arc 90\xB0"},{value:"routeLine(WIRING_CORNER_ARC)",title:"Arc Free Angle"},{value:"routeLine(WIRING_CORNER_FREEANGLE)",title:"Line Free Angle"}],n=(0,pc.useMemo)(()=>{var a;return((a=r.find(s=>s.value===o))==null?void 0:a.title)||"Line 45\xB0"},[o,r]);return(0,hs.jsx)("div",{className:i["toolbar-bottom-selected-wrap"],"data-sensors":"true",children:(0,hs.jsx)(ld,{width:"84px",searchAble:!1,selectedValue:o,selectedText:n,hoverTitle:e("Routing Corner"),disabled:t.disable(),onItemChange:a=>{et(a),v1(a,!0),Ai.setRoutingCornerValue(a)},children:r.map((a,s)=>(0,hs.jsx)(lc,{value:a.value,title:e(a.title),children:a.title},`select-routing-corner-${s}`))})})},cMt=t=>{var M;let e=J(),{locals:i}=Yj.default;Ce(Po);let o=(0,pc.useMemo)(()=>!![ve.PANEL,ve.PANEL_LIB].includes(+Po.workingMode),[Po.workingMode]),r=(0,pc.useMemo)(()=>{let I=AJ(Po.workingMode);return Fh(I)||kl(I)},[Po.workingMode]),n=(0,pc.useRef)(void 0),a=r?Ai.gridSizeStore.value:Ai.panelGridSizeStore.value,[s,l]=(0,pc.useState)(!1),[c,d]=(0,pc.useState)(!1),[u,p]=Q9(a),m=(0,pc.useRef)(u),h=(0,pc.useMemo)(()=>m.current=u,[u]);Ce(Ai.selectUnitStore);let f=r?(B_[tP()]||B_.inch).map(String):["10","5","2","1","0.5","0.1","0.05","0.01"],[g,b]=(0,pc.useState)(f),y=[{value:"0.1",title:"0.1"},{value:"0.05",title:"0.05"},{value:"0.01",title:"0.01"}];function w(I){let A=tP(),D=fo(ul(String(I),A),A),E=yd(Cwt(AJ(Po.workingMode)).toString(),A),N=Yoe(D,A)?D:E;p(N),Ho.switchGridSizeBtn({value:N})}function x(I){if(!o)return w(I);if(isNaN(+I)||+I<=0||+I>100||!/^\d+(.\d{1,2})?$/.test(I)){De({type:"error",msg:"The input range is 100\u2265x>0, up to two decimal places!"});let A=Wi("PANEL_CANVAS");p(A.panel_gridSize.value);return}Ho.switchGridSizeBtn({value:I})}Ce(Ai.gridSizeStore,()=>(r&&p(Ai.gridSizeStore.value),!1)),Ce(Ai.panelGridSizeStore,()=>(o&&p(Ai.panelGridSizeStore.value),!1));let S=(0,pc.useCallback)(I=>{let[A,D]=(0,pc.useState)(!1),E=be(i["option-item"],{[i.select]:A}),N=(0,pc.useMemo)(()=>{let{inputValue:R,value:v}=I;if(v.includes(R)){let k=[],P=v.split(R);return P.forEach((O,_)=>{k.push((0,hs.jsx)("em",{style:{fontStyle:"normal"},children:O},`${O}-${Math.random()}`)),P.length!==_+1&&(_===0?k.push((0,hs.jsx)("em",{style:{fontStyle:"normal"},className:i.hightlight,children:R},`${R}-${Math.random()}`)):k.push((0,hs.jsx)("em",{style:{fontStyle:"normal"},children:R},`${R}-${Math.random()}`)))}),k}else return[(0,hs.jsx)("em",{style:{fontStyle:"normal"},children:v},`${v}-${Math.random()}`)]},[I.inputValue,I.value]);return(0,hs.jsx)("div",{className:E,title:I.value,onClick:()=>{I.clickHandle(I.value)},onMouseEnter:()=>D(!0),onMouseLeave:()=>D(!1),children:N})},[]),T=be({[i["arr-icon"]]:!s,[i["select-arr-icon"]]:s});return o||r?(0,hs.jsx)("div",{className:i["toolbar-bottom-selected-wrap"],title:t.bottomOfCanvas?`${e("Grid Size")}: ${u}${TT(Ai.selectUnitStore.value)}`:e("Grid Size"),"data-sensors":"true",children:(0,hs.jsxs)("div",{className:`${i["panel-grid-select-wrap"]}`,children:[(0,hs.jsx)("input",{ref:n,className:be(i["wire-name-input"],(M=t.inputClassName)!=null?M:""),type:"text",value:u,"data-test":"Grid Size",disabled:t.disable(),onFocus:()=>{b(f),l(!0),d(!0)},onBlur:()=>{x(m.current),l(!1),d(!1)},onChange:I=>{let A=I.target.value;p(A),b(f.filter(D=>D.includes(A)))}}),(0,hs.jsx)("span",{style:{cursor:"pointer"},className:T,onMouseDown:I=>I.preventDefault(),onClick:()=>{var I,A;s?(A=n.current)==null||A.blur():(I=n.current)==null||I.focus()}}),(0,hs.jsx)(YU,{children:n.current&&(0,hs.jsx)("div",{className:i["eda-input-option"],style:{display:c?"block":"none",left:n.current.getBoundingClientRect().left,top:g.length*24+n.current.getBoundingClientRect().top>window.innerHeight?n.current.getBoundingClientRect().bottom-g.length*24-n.current.getBoundingClientRect().height:n.current.getBoundingClientRect().bottom,width:n.current.getBoundingClientRect().width,border:"1px solid var(--border-color-drop-down-menu)"},onMouseDown:I=>I.preventDefault(),children:g.map((I,A)=>(0,hs.jsx)(S,{value:I,inputValue:u,clickHandle:D=>{var E;m.current=D,(E=n.current)==null||E.blur()}},`eda-input-option-${I}-${A}`))})})]})}):(0,hs.jsx)("div",{className:i["toolbar-bottom-selected-wrap"],"data-sensors":"true",children:(0,hs.jsx)(ld,{width:"58px",searchAble:!1,selectedValue:a,selectedText:a,hoverTitle:e("Grid Size"),onItemChange:I=>{Ho.switchGridSizeBtn({value:I})},children:y.map((I,A)=>(0,hs.jsx)(lc,{value:I.value,title:e(I.title),children:I.title},`grid-size-${A}`))})})},Hvi=t=>{var R;let{tabId:e,docType:i}=t,o=J(),{locals:r}=Yj.default;i=i||he.getDoctypeByTabId(e);let n=[ve.PANEL,ve.PANEL_LIB].includes(i),a=Fh(i)||kl(i),s=(0,pc.useRef)(void 0),l=a?Ai.gridSizeStore.value:Ai.panelGridSizeStore.value,[c,d]=(0,pc.useState)(!1),[u,p]=(0,pc.useState)(!1),[m,h]=Q9(l),f=(0,pc.useRef)(m),g=(0,pc.useMemo)(()=>f.current=m,[m]),b=(0,pc.useContext)(IC),{canvasUnitStore:y,judgeBelongSamePage:w}=b;Ce(y),Ce(Ai.selectUnitStore,I);let x=a?(B_[tP()]||B_.inch).map(String):["10","5","2","1","0.5","0.1","0.05","0.01"],[S,T]=(0,pc.useState)(x),M=[{value:"0.1",title:"0.1"},{value:"0.05",title:"0.05"},{value:"0.01",title:"0.01"}];function I(){return he.getActiveTab()===e}function A(v){let k=tP(),P=fo(ul(String(v),k),k),O=yd(Cwt(i).toString(),k),_=Yoe(P,k)?P:O;h(_),Ho.switchGridSizeBtn({value:_})}function D(v){if(!n)return A(v);if(isNaN(+v)||+v<=0||+v>100||!/^\d+(.\d{1,2})?$/.test(v)){De({type:"error",msg:"The input range is 100\u2265x>0, up to two decimal places!"});let k=Wi("PANEL_CANVAS");h(k.panel_gridSize.value);return}Ho.switchGridSizeBtn({value:v})}Ce(Ai.gridSizeStore,()=>(a&&I()&&h(Ai.gridSizeStore.value),!1)),Ce(Ai.panelGridSizeStore,()=>(n&&I()&&h(Ai.panelGridSizeStore.value),!1));let E=(0,pc.useCallback)(v=>{let[k,P]=(0,pc.useState)(!1),O=be(r["option-item"],{[r.select]:k}),_=(0,pc.useMemo)(()=>{let{inputValue:j,value:B}=v;if(B.includes(j)){let V=[],G=B.split(j);return G.forEach((Q,H)=>{V.push((0,hs.jsx)("em",{style:{fontStyle:"normal"},children:Q},`${Q}-${Math.random()}`)),G.length!==H+1&&(H===0?V.push((0,hs.jsx)("em",{style:{fontStyle:"normal"},className:r.hightlight,children:j},`${j}-${Math.random()}`)):V.push((0,hs.jsx)("em",{style:{fontStyle:"normal"},children:j},`${j}-${Math.random()}`)))}),V}else return[(0,hs.jsx)("em",{style:{fontStyle:"normal"},children:B},`${B}-${Math.random()}`)]},[v.inputValue,v.value]);return(0,hs.jsx)("div",{className:O,title:v.value,onClick:()=>{v.clickHandle(v.value)},onMouseEnter:()=>P(!0),onMouseLeave:()=>P(!1),children:_})},[]),N=be({[r["arr-icon"]]:!c,[r["select-arr-icon"]]:c});return n||a?(0,hs.jsx)("div",{className:r["toolbar-bottom-selected-wrap"],title:t.bottomOfCanvas?`${o("Grid Size")}: ${m}${TT(y.value)}`:o("Grid Size"),"data-sensors":"true",children:(0,hs.jsxs)("div",{className:`${r["panel-grid-select-wrap"]}`,children:[(0,hs.jsx)("input",{ref:s,className:be(r["wire-name-input"],(R=t.inputClassName)!=null?R:""),type:"text",value:m,"data-test":"Grid Size",disabled:t.disable(),onFocus:()=>{T(x),d(!0),p(!0)},onBlur:()=>{D(f.current),d(!1),p(!1)},onChange:v=>{let k=v.target.value;h(k),T(x.filter(P=>P.includes(k)))}}),(0,hs.jsx)("span",{style:{cursor:"pointer"},className:N,onMouseDown:v=>v.preventDefault(),onClick:()=>{var v,k;c?(k=s.current)==null||k.blur():(v=s.current)==null||v.focus()}}),(0,hs.jsx)(YU,{children:s.current&&(0,hs.jsx)("div",{className:r["eda-input-option"],style:{display:u?"block":"none",left:s.current.getBoundingClientRect().left,top:S.length*24+s.current.getBoundingClientRect().top>window.innerHeight?s.current.getBoundingClientRect().bottom-S.length*24-s.current.getBoundingClientRect().height:s.current.getBoundingClientRect().bottom,width:s.current.getBoundingClientRect().width,border:"1px solid var(--border-color-drop-down-menu)"},onMouseDown:v=>v.preventDefault(),children:S.map((v,k)=>(0,hs.jsx)(E,{value:v,inputValue:m,clickHandle:P=>{var O;f.current=P,(O=s.current)==null||O.blur()}},`eda-input-option-${v}-${k}`))})})]})}):(0,hs.jsx)("div",{className:r["toolbar-bottom-selected-wrap"],"data-sensors":"true",children:(0,hs.jsx)(ld,{width:"58px",searchAble:!1,selectedValue:l,selectedText:l,hoverTitle:o("Grid Size"),onItemChange:v=>{Ho.switchGridSizeBtn({value:v})},children:M.map((v,k)=>(0,hs.jsx)(lc,{value:v.value,title:o(v.title),children:v.title},`grid-size-${k}`))})})},eDi=t=>{Ce(Ai.currentNGAnalysisStore),Ce(Po);let e=J(),{locals:i}=Yj.default,o=Ai.currentNGAnalysisStore.value;(0,pc.useEffect)(()=>{(async()=>{let l=await n();v1(l,!0)})()},[]);let r=[{value:"TR",title:"Transient Analysis"},{value:"AC",title:"AC scanning"},{value:"DC",title:"DC scanning"}],n=async()=>{let s,{message:l}=await C.messageBus.rpcCall("fetchNGCurrentSetting");return l?s=l:s="DC",s},a=(0,pc.useMemo)(()=>{var s;return((s=r.find(l=>l.value===o))==null?void 0:s.title)||r[0].title},[o,r]);return(0,hs.jsx)("div",{className:i["toolbar-bottom-selected-wrap"],title:e("Analysis"),"data-sensors":"true",children:(0,hs.jsx)(ld,{width:"80px",searchAble:!1,selectedValue:o,selectedText:a,disabled:t.disable(),onItemChange:async s=>{C.messageBus.publish("setNGCurrentSetting",s);let{message:l}=await C.messageBus.rpcCall("fetchNGSimulationSetting");if(l){let d=l.startDisable[s];Ai.setNgSettingOfStartStatus(d),v1(s,!0)}else De({type:"error",msg:"The current analysis parameters were not obtained !"})},children:r.map((s,l)=>(0,hs.jsx)(lc,{value:s.value,title:e(s.title),children:s.title},`select-NG-Analysis-${l}`))})})},tDi=t=>{Ce(Ai.currentSimTimeStore),Ce(Ai.currentSimulideTime);let{locals:e}=Yj.default,i=J(),[o,r]=(0,pc.useState)(Ai.currentSimTimeStore.value),[n,a]=(0,pc.useState)(Ai.currentSimulideTime.value);return(0,pc.useEffect)(()=>{r(Ai.currentSimTimeStore.value)},[Ai.currentSimTimeStore.value]),(0,pc.useEffect)(()=>{a(Ai.currentSimulideTime.value)},[Ai.currentSimulideTime.value]),(0,hs.jsx)("div",{className:`${e["tool-bottom-simulation-cirtime"]} ${e[o?"blink":""]} ${e[t.disable()?"tool-bottom-simulation-cirtime-disable":""]}`,title:i("Simulide_Cir_Time"),"data-sensors":"true",children:(0,hs.jsxs)("span",{style:{cursor:"default"},children:[n,"s"]})})},iDi=()=>{let{locals:t}=Yj.default,e=dt();if(![ve.SCH,ve.SHEET_SYMBOL,ve.FOOTPRINT,ve.PCB,ve.PANEL,ve.PANEL_LIB].includes(e))return(0,hs.jsx)(hs.Fragment,{});let i=J(),o=(0,pc.useRef)(null),r=(0,pc.useRef)("");e===ve.SCH?Ce(Xv):TFe(e)?Ce(eD):e===ve.SHEET_SYMBOL?Ce($v):e===ve.FOOTPRINT?Ce(kP):e===ve.PCB?Ce(PP):(e===ve.PANEL||e===ve.PANEL_LIB)&&Ce(ZSt);let n=vvi(),a=n.find(s=>s.icon==="icon-eda-v-tick");return r.current=String(a==null?void 0:a.text),n.forEach(s=>{s.style={...s.style||{},padding:"0 12px 0 32px",height:"28px",lineHeight:"28px",fontSize:"12px",cursor:"pointer",position:"relative"},s.iconClassName=t["select-filter-tick-icon"]}),(0,hs.jsx)(xt,{ref:o,list:n,value:a==null?void 0:a.value,onChange:(s,l)=>{let c=n.find(d=>d.value===s);et(c.command)},valueIcon:"icon-eda-filter",valueIconStyle:{width:"16px",height:"16px",minWidth:"16px",minHeight:"16px",backgroundSize:"16px 16px"}})};var Wj=L(Se());var Ume=L(CTe());var Fme=L(Se());var dMt=L(rDi());var NJ=L(z()),$3r=Fme.default.memo(t=>{let e=J();Ae(dMt.default);let{locals:i}=dMt.default,{title:o,showAllow:r=!1,hotkeyCmd:n,menuConfig:a,menuMode:s,onMouseEnter:l,menuClickCallback:c,menuCloseCallBack:d}=t,u=si.getMenuShow(a==null?void 0:a.menuId),p=(0,Fme.useRef)(null),m=si.getMenuDisable(a==null?void 0:a.menuId),h=Ys.getHotkey(n),f=be(i["eda-menu-btn-top"],{[i["eda-menu-btn-active"]]:u,[i["eda-menu-btn-disable"]]:m});return Ce(si.getMenuStore(a.menuId).menuShow),Ce(Ys,()=>Ys.getHotkey(n)!==h),(0,Fme.useEffect)(()=>{var g;u&&m&&((g=p.current)==null||g.focus())},[u,m]),(0,NJ.jsxs)("div",{className:i["eda-menu-btn"],children:[(0,NJ.jsxs)("span",{ref:g=>p.current=g,className:f,title:e(o),"data-sensors":"true",onClick:async g=>{if(g!=null&&g.ctrlKey&&Nc.modifyHotkeyByDialog(n)||!a)return;await V3();let b=p.current.getBoundingClientRect();si.openMenu(a.menuId,{x:b.left,y:b.top+b.height,width:0,height:(b==null?void 0:b.height)||0})},onMouseEnter:g=>{l&&l(g,p.current)},...m?{tabIndex:-1,onBlur:()=>{si.closeBelongMenu(a==null?void 0:a.menuId)}}:null,children:[(0,NJ.jsx)("span",{className:i["eda-menu-btn-top-text"],"data-hotkey":h?`(${h})`:"",children:(0,NJ.jsx)("span",{style:h?{paddingRight:"4px"}:null,"data-test":(typeof o=="string"?o:o.value)||"",children:e(o)})}),r&&(0,NJ.jsx)("span",{className:i["eda-menu-btn-top-arrow"]})]}),a&&(0,NJ.jsx)(mv,{menuConfig:a,menuMode:s,clickCallback:c,closeCallBack:d})]})}),XV=$3r;var _Fe=L(Se()),kJ=t=>{let{callback:e,name:i="click"}=t,o=(0,_Fe.useRef)(null);return(0,_Fe.useEffect)(()=>{let r=n=>{o.current&&!o.current.contains(n.target)&&document.documentElement.contains(n.target)&&e(n)};return document.addEventListener(i,r),()=>{document.removeEventListener(i,r)}},[e,i]),[o]};var F2=L(z()),uMt=()=>{let t=J(),{locals:e}=Ume.default,i=Ai.gridStyleStore.value;return Ce(Ai.gridStyleStore),(0,F2.jsx)("div",{className:e["toolbar-bottom-item"],title:t("Grid Style"),"data-sensors":"true",onClick:o=>{let r=vC(),n=i.replace("icon-eda-grid-",""),a=Ho.nextGridStyle[n],s="icon-eda-grid-"+a,l=a==="not"?"none":"yes";if(r){let d=`switchGridType(${{dot:"outlets",line:"grid",not:"none"}[a]})`;Ic(d,"")}else{let c={"attr-canvas-grid-style":a,"attr-canvas-grid-visible":l};C.messageBus.publish("modifyCanvas",{data:c}),Ho.switchGridTypeBtn(a,!1)}s&&Ai.setGridStyleValue(s)},children:(0,F2.jsx)("span",{className:`${i}`})})},nDi=()=>{let t=J(),{locals:e}=Ume.default,i=Ai.simStatusStore.value;Ce(Ai.simStatusStore);let o=(dt()===ve.SIMULIDE?adi():VCe())||je(),r=be(e["toolbar-bottom-item"],{[e["toolbar-button-disable"]]:o});return(0,Wj.useEffect)(()=>{Ai.setCurrentSimTimeStore(!1),Ai.setCurrentSimRunStatues(!1),Ho.switchSimStatusTypeBtn("start"),Ai.setSimStatusStyleValue("icon-eda-sim-start")},[]),(0,F2.jsx)("div",{className:r,title:t("Start/Stop"),"data-sensors":"true",onClick:async n=>{if(o)return;let a=i.replace("icon-eda-sim-",""),s=Ho.nextSimStatus[a];if(dt()===ve.SIMULIDE){if(a==="start"){if(!await et("start_sim"))return}else if(a==="pause"&&!await et("pause_sim"))return;let l="icon-eda-sim-"+s;Ho.switchSimStatusTypeBtn(s),l&&Ai.setSimStatusStyleValue(l)}else dt()===ve.NGSPICE&&et("start_sim")},children:(0,F2.jsx)("span",{className:`${i}`})})},pMt=t=>{var d,u;let e=J(),{props:i}=t,{locals:o}=Ume.default,r=!!((d=Ai.selectCmdSet[i.command])!=null&&d.value),n=i.command===Ai.getOnlySelectCmd(),a=typeof i.disable=="function"?i.disable():i.disable,s=!!((u=Gu.disableCmdStoreSet[i==null?void 0:i.command])!=null&&u.value)||!!a,l=Ys.getHotkey(i==null?void 0:i.command),c=be(o["toolbar-bottom-item"],{[o["toolbar-button-disable"]]:s,[o["toolbar-bottom-light-high"]]:n,[o["toolbar-bottom-light-high2"]]:r});return Ce(Gu.getDisableCmdStore(i==null?void 0:i.command)),Ce(Ai.onlySelectCmdStore,()=>n!==(i.command===Ai.getOnlySelectCmd())),Ce(Ai.getSelectCmdStore(i.command)),Ce(Ys,()=>l!==Ys.getHotkey(i==null?void 0:i.command)),(0,F2.jsx)("div",{className:c,title:`${e(i.title||i.key)}${l?`(${l})`:""}`,"data-sensors":"true",onClick:()=>{s||et(i.command,(i==null?void 0:i.args)||{})},children:(0,F2.jsx)("span",{className:`${i.icon}`,style:i.iconStyle})})},aDi=t=>{let{locals:e}=Ume.default,{configStatus:i=1}=t,o=J(),r=(0,Wj.useMemo)(()=>t.buttonData,[t.buttonData]),[n,a]=(0,Wj.useState)(!1),s=(0,Wj.useRef)(void 0),[l]=kJ({callback:()=>{a(!1)}});return(0,F2.jsxs)("div",{className:e["tool-bottom-menu-more"],tabIndex:-1,ref:c=>c&&(l.current=c),onClick:c=>{c.target===s.current?l.current.focus():l.current.blur()},"data-name":"MoreTools",children:[(0,F2.jsx)("i",{className:`icon-eda-move-down-line ${e["icon-eda-move-down-line"]}`,ref:c=>c&&(s.current=c),onClick:()=>a(!n),title:o("More")}),(0,F2.jsx)("div",{className:e["tool-bottom-menu-more-container"],style:{display:n?"flex":"none"},onMouseDown:c=>{c.target===c.currentTarget&&c.preventDefault()},children:r.map((c,d)=>c!=null&&c.menuConfig?(0,F2.jsx)("div",{"data-name":c.key,children:(0,F2.jsx)(mMt,{...c==null?void 0:c.menuConfig})},`tool-bottom-${c.key}-${i}`):c.children?(0,F2.jsx)("div",{"data-name":c.key,children:c.children},`tool-bottom-${c.key}-${i}`):c.key==="|"?(0,F2.jsx)("div",{className:e["tool-bottom-menu-vlink"]},`tool-bottom-more-vlink-${d}`):(0,F2.jsx)("div",{"data-name":c.key,children:(0,F2.jsx)(pMt,{props:c})},`toolbar-bottom-${c.key}-${i}`))})]})},mMt=t=>{var S,T,M,I,A,D,E,N;let{menuItems:e,fixedIcon:i,fixedTitle:o,autoChangeCmd:r,defaultIndex:n=0,clickCallback:a}=t,s=J(),{locals:l}=Ume.default,[,c]=(0,Wj.useState)(0),d=R=>{a&&a(R),r&&(p.current=R.command),r&&c(v=>v+1)},u=e.defaultConfig.some(R=>R&&R.command===Ai.getOnlySelectCmd()),p=(0,Wj.useRef)(((S=Ai.menuDefaultSet[e.menuId])==null?void 0:S.value)||e.defaultConfig[n].command),m=e.defaultConfig.find(R=>(R==null?void 0:R.command)===Ai.getOnlySelectCmd())||e.defaultConfig.find(R=>(R==null?void 0:R.command)===p.current)||e.defaultConfig[n];p.current=m.command;let h=Ys.getHotkey((m==null?void 0:m.hotkeyCmd)||m.command),f=typeof m.disable=="function"?m.disable():m.disable,g=((T=Gu.disableCmdStoreSet[m.command])==null?void 0:T.value)||f;Ai.setMenuDefaultSet(e.menuId,p.current);let b=be(l["toolbar-bottom-item-menu"],{[l["toolbar-bottom-item-light-high"]]:u}),y=be(l["toolbar-bottom-item-menu-icon"],{[l["toolbar-button-disable"]]:g,[l["toolbar-bottom-light-high"]]:u});Ce(Po),Ce(Ai.onlySelectCmdStore),Ce(Ys,()=>h!==Ys.getHotkey((m==null?void 0:m.hotkeyCmd)||m.command)),Ce(Gu.getDisableCmdStore(m==null?void 0:m.command)),Ce(Ai.getMenuDefaultStore(e.menuId),()=>{var R;return p.current=((R=Ai.menuDefaultSet[e.menuId])==null?void 0:R.value)||"",!0});let w=i?(i==null?void 0:i.iconPath)||"":((M=m==null?void 0:m.icon)==null?void 0:M.iconPath)||((A=(I=e.defaultConfig[n])==null?void 0:I.icon)==null?void 0:A.iconPath)||"",x=i?(i==null?void 0:i.iconStyle)||{}:((D=m==null?void 0:m.icon)==null?void 0:D.iconStyle)||((N=(E=e.defaultConfig[n])==null?void 0:E.icon)==null?void 0:N.iconStyle)||{};return(0,F2.jsxs)("div",{className:b,children:[(0,F2.jsx)("div",{className:y,title:o?s(o):`${s(m.title)}${h?`(${h})`:""}`,"data-sensors":"true",onClick:()=>{g||m!=null&&m.command&&et(m==null?void 0:m.command,(m==null?void 0:m.args)||{})},children:(0,F2.jsx)("span",{style:{...w?{backgroundImage:`url(${w})`}:{},...x}})}),(0,F2.jsx)(XV,{title:"",showAllow:!0,menuMode:Po.workingMode,menuConfig:e,menuClickCallback:d})]})};var lDi=L(Se());var cDi=L(CTe());var Vme=L(z()),sDi={menuId:"toolbar-menu-newFile",defaultConfig:[{id:"Board",title:"Board",icon:{iconPath:lt.icon_eda_board_new_fill,iconStyle:{filter:"none"}},disable:Er,command:"new_board",isHide:()=>Nt||Gc.status},{id:"EcadBoard",title:{context:"ECAD",value:"Electric cabinet"},icon:{iconPath:lt.icon_ecad_board_fill_new,iconStyle:{filter:"none"}},disable:Er,command:"new_board",isHide:()=>!Nt},{id:"Schematic",title:"Schematic",icon:{iconPath:lt.icon_eda_schematic_new,iconStyle:{filter:"invert(48%) sepia(54%) saturate(930%) hue-rotate(178deg) brightness(101%) contrast(102%)"}},disable:Er,command:"new_schematic",isHide:()=>!Nl||Gc.status},{id:"Page",title:"Page",icon:{iconPath:lt.icon_eda_page_new,iconStyle:{filter:"invert(48%) sepia(54%) saturate(930%) hue-rotate(178deg) brightness(101%) contrast(102%)"}},disable:Er,command:"new_page",isHide:()=>Nt||!Nl||Gc.status},{id:"EcadPage",title:{context:"ECAD",value:"Page"},icon:{iconPath:lt.icon_eda_page_new,iconStyle:{filter:"invert(48%) sepia(54%) saturate(930%) hue-rotate(178deg) brightness(101%) contrast(102%)"}},disable:Er,command:"new_page",isHide:()=>!Nt},{id:"PCB",title:"PCB",icon:{iconPath:lt.icon_eda_pcb_new,iconStyle:{filter:"invert(29%) sepia(93%) saturate(1905%) hue-rotate(97deg) brightness(96%) contrast(111%)"}},disable:Er,command:"new_PCB",isHide:()=>Nt||!Eu},{id:"EcadPCB",title:{context:"ECAD",value:"Installation board"},icon:{iconPath:lt.icon_ecad_pcb_new,iconStyle:{filter:"invert(29%) sepia(93%) saturate(1905%) hue-rotate(97deg) brightness(96%) contrast(111%)"}},disable:Er,command:"new_PCB",isHide:()=>!Nt},{id:"Panel",title:"Panel",icon:{iconPath:lt.icon_eda_panel_new,iconStyle:{filter:"invert(10%) sepia(99%) saturate(6389%) hue-rotate(247deg) brightness(89%) contrast(148%)"}},command:"new_Panel",disable:Er,isHide:()=>C.currentProject.isCBB||Nt||!Vw||Gc.status},{id:"Simulate...",title:"Simulate...",command:"new_Simulation",isHide:()=>!na||C.currentProject.isCBB||Nt||Gc.status,icon:{iconPath:lt.icon_eda_simulation,iconStyle:{filter:"invert(30%) sepia(100%) saturate(1800%) hue-rotate(235deg) brightness(110%) contrast(100%)"}},disable:Er}],modeConfig:{[Ee.COMMON_BLANK]:["Board","EcadBoard","Schematic","PCB","EcadPCB","Panel","Simulate..."],[Ee.SCH]:["Board","EcadBoard","Schematic","Page","EcadPage","PCB","EcadPCB","Panel","Simulate..."],[Ee.CBB_BLANK]:["Board","EcadBoard","Schematic","Page","EcadPage","PCB","EcadPCB"],[Ee.CBB_SCH]:["Board","EcadBoard","Schematic","Page","EcadPage","PCB","EcadPCB"],[Ee.SCH_INSTANCE]:["Board","EcadBoard","Schematic","Page","EcadPage","PCB","EcadPCB","Panel","Simulate..."],[Ee.BLOCK_SCH]:["Board","EcadBoard","Schematic","Page","EcadPage","PCB","EcadPCB","Panel","Simulate..."],[Ee.CBB_BLOCK_SCH]:["Board","EcadBoard","Schematic","Page","EcadPage","PCB","EcadPCB"],[Ee.PCB]:["Board","EcadBoard","Schematic","PCB","EcadPCB","Panel","Simulate..."],[Ee.PANEL]:["Board","EcadBoard","Schematic","PCB","EcadPCB","Panel","Simulate..."],[Ee.PANEL3D]:["Board","EcadBoard","Schematic","PCB","EcadPCB","Panel","Simulate..."],[Ee.SIMULIDE]:["Board","EcadBoard","Schematic","PCB","EcadPCB","Panel","Simulate..."],[Ee.NGSPICE]:["Board","EcadBoard","Schematic","PCB","EcadPCB","Panel","Simulate..."],[Ee.WAVEFORM]:["Board","EcadBoard","Schematic","PCB","EcadPCB","Panel","Simulate..."]}},dDi=()=>{var l,c,d;let t=J();Ce(Po),Ce(Ys),Ce(Ai.newFileStore);let{locals:e}=cDi.default,i=(0,lDi.useMemo)(()=>{let u=p=>{Ai.setNewFileId(p.id)};return sDi.defaultConfig.forEach(p=>{p.callback=u}),sDi},[]),o=(i.modeConfig[Po.workingMode]||[]).filter(u=>{let m=i.defaultConfig.find(h=>h.id===u).isHide;return m?!m():!0}),r=o.length?o.includes(Ai.newFileStore.value)?i.defaultConfig.find(u=>u.id===Ai.newFileStore.value):Ai.setNewFileId(o[0],!1)&&i.defaultConfig.find(u=>u.id===o[0]):i.defaultConfig[0],n=((l=Gu.disableCmdStoreSet[r.command])==null?void 0:l.value)||Er();Ce(Gu.getDisableCmdStore(r.command));let a=Ys.getHotkey((r==null?void 0:r.hotkeyCmd)||r.command),s=be(e["toolbar-bottom-item-menu-icon"],{[e["toolbar-button-disable"]]:n});return(0,Vme.jsxs)("div",{className:e["toolbar-bottom-item-menu"],children:[(0,Vme.jsx)("div",{className:s,title:`${t(r.title)}${a?`(${a})`:""}`,onClick:()=>{n||et(r.command)},children:(0,Vme.jsx)("span",{style:{...(c=r==null?void 0:r.icon)!=null&&c.iconPath?{backgroundImage:`url(${r.icon.iconPath})`}:{},...((d=r==null?void 0:r.icon)==null?void 0:d.iconStyle)||{}}})}),(0,Vme.jsx)(XV,{title:"",showAllow:!0,menuMode:Po.workingMode,menuConfig:i})]})},uDi={menuItems:{menuId:"toolbar-menu-BoardOutline",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(ROutline)",disable:je},{id:"Circle",title:"Circle",command:"draw(COutline)",disable:je},{id:"Polygon",title:"Polygon",command:"draw(POutline)",disable:je}]},fixedIcon:{iconPath:lt.icon_eda_board_outline},fixedTitle:Nt?"Mounting Plate":"Board Outline"},pDi={menuItems:{menuId:"toolbar-menu-SlotRegion",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(RSlot)",disable:je},{id:"Circle",title:"Circle",command:"draw(CSlot)",disable:je},{id:"Polygon",title:"Polygon",command:"draw(PSlot)",disable:je}]},fixedIcon:{iconPath:lt.icon_eda_region_slot},fixedTitle:"Slot Region"},mDi={menuItems:{menuId:"toolbar-menu-Cutout",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(RCutout)",disable:je},{id:"Circle",title:"Circle",command:"draw(CCutout)",disable:je},{id:"Polygon",title:"Polygon",command:"draw(PCutout)",disable:je},{id:"AvoidSlots",title:"Avoid Slots",command:"avoidSlots",disable:je},{id:"AvoidPads",title:"Avoid Pads",command:"avoidPads",disable:je}]},fixedIcon:{iconPath:lt.icon_eda_cutout},fixedTitle:"Cutout"},hDi={menuItems:{menuId:"copyToImage",defaultConfig:[{id:"copyToSvg",title:"Copy as SVG",command:"copyToSvg",disable:je},{id:"copyToPng",title:"Copy as PNG",command:"copyToPng",disable:je}]},fixedTitle:"Copy as an image"},fDi={menuItems:{menuId:"toolbar-menu-CopperArea",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(RCopper)",disable:je},{id:"Circle",title:"Circle",command:"draw(CCopper)",disable:je},{id:"Polygon",title:"Polygon",command:"draw(PCopper)",disable:je}]},fixedIcon:{iconPath:lt.icon_eda_region_copper},fixedTitle:"Copper Area"},gDi={menuItems:{menuId:"toolbar-menu-FillRegion",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(RRegion)",disable:je},{id:"Circle",title:"Circle",command:"draw(CRegion)",disable:je},{id:"Polygon",title:"Polygon",command:"draw(PRegion)",disable:je}]},fixedIcon:{iconPath:lt.icon_eda_region_fill},fixedTitle:"Fill Region"},bDi={menuItems:{menuId:"toolbar-menu-ProhibitedRegion",defaultConfig:[{id:"Rectangle",title:"Rectangle",command:"draw(RProhibit)",disable:je},{id:"Circle",title:"Circle",command:"draw(CProhibit)",disable:je},{id:"Polygon",title:"Polygon",command:"draw(PProhibit)",disable:je}]},fixedIcon:{iconPath:lt.icon_eda_region_prohibited},fixedTitle:"Prohibited Region"},yDi={menuItems:{menuId:"toolbar-menu-Line",defaultConfig:[{id:"Polyline",title:"Polyline",icon:{iconPath:lt.icon_eda_line},hotkeyCmd:"draw(polyline)",subHotkeyId:"draw(polyline)",command:"draw(Line)",disable:je},{id:"Center Arc",title:"Center Arc",icon:{iconPath:lt.icon_eda_arc_center},command:"draw(arcCenter)",disable:je},{id:"Two Points Arc",title:"Two Points Arc",icon:{iconPath:lt.icon_eda_arc_two_points},command:"draw(arc2)",disable:je},{id:"Three Points Arc",title:"Three Points Arc",icon:{iconPath:lt.icon_eda_arc_three_points},command:"draw(arc)",disable:je},{id:"Circle",title:"Circle",icon:{iconPath:lt.icon_eda_circle},command:"draw(circle)",disable:je},{id:"Rectangle",title:"Rectangle",icon:{iconPath:lt.icon_eda_rectangle},command:"draw(rect)",disable:je}],modeConfig:{[Ee.HOME]:[],[Ee.COMMON_BLANK]:[],[Ee.CBB_BLANK]:[],[Ee.PCB]:["Polyline","Center Arc","Two Points Arc","Three Points Arc","Circle","Rectangle"],[Ee.FOOTPRINT]:["Polyline","Center Arc","Two Points Arc","Three Points Arc","Circle","Rectangle"],[Ee.PANEL]:["Polyline","Circle","Rectangle"],[Yl]:["Polyline","Three Points Arc","Circle","Rectangle"]}}},wDi={menuItems:{menuId:"toolbar-menu-Dimension",defaultConfig:[{id:"Length",title:"Length",icon:{iconPath:lt.icon_eda_dimension_length},command:"draw(dimension)",disable:je},{id:"Angle",title:"Angle",icon:{iconPath:lt.icon_eda_dimension_degree},command:"draw(protractor)",disable:je},{id:"Radius",title:"Radius",icon:{iconPath:lt.icon_eda_dimension_radius},command:"draw(radius)",disable:je}]}},CDi={menuItems:{menuId:"toolbar-menu-CanvasOrigin",defaultConfig:[{id:"By Cursor...",title:"By Cursor...",command:"draw(origin)",disable:je},{id:"By Coordinate...",title:"By Coordinate...",command:"setOriginByCoordinate",disable:je},{id:"By Center Grid of Graphics",title:"By Center Grid of Graphics",command:"setOriginByCenter",disable:je},{id:"By Center of Pads",title:"By Center of Pads",command:"placeOriginCenter",disable:je},{id:"By First Pad",title:"By First Pad",command:"placeOriginPad",disable:je}],modeConfig:{schlib:["By Cursor...","By Coordinate...","By Center Grid of Graphics"],[Ee.PCB]:["By Cursor...","By Coordinate..."],[Ee.FOOTPRINT]:["By Cursor...","By Coordinate...","By Center of Pads","By First Pad"]}},fixedIcon:{iconPath:lt.icon_eda_canvas_origin},fixedTitle:"Canvas Origin",autoChangeCmd:!0},xDi={menuItems:{menuId:"toolbar-menu-Align",defaultConfig:[{id:"Align Left",title:"Align Left",icon:{iconPath:lt.icon_eda_align_left},command:"align_left",disable:je},{id:"Align Right",title:"Align Right",icon:{iconPath:lt.icon_eda_align_right},command:"align_right",disable:je},{id:"Align Top",title:"Align Top",icon:{iconPath:lt.icon_eda_align_top},command:"align_top",disable:je},{id:"Align Bottom",title:"Align Bottom",icon:{iconPath:lt.icon_eda_align_bottom},command:"align_bottom",disable:je},{id:"Select the Reference Object",title:"Select the Reference Object",command:"checkIfSelectAlignRefObject",optionType:{type:"checkbox"},disable:je},null,{id:"Align Horizontal Centers",title:"Align Horizontal Centers",icon:{iconPath:lt.icon_eda_align_horizontal_center},command:"align_horizontal_center",disable:je},{id:"Align Vertical Centers",title:"Align Vertical Centers",icon:{iconPath:lt.icon_eda_align_vertical_center},command:"align_vertical_center",disable:je},{id:"Select the Reference Object For Centers",title:"Select the Reference Object",command:"checkIfSelectAlignRefObjectForCenters",optionType:{type:"checkbox"},disable:je},null,{id:"Align Grid",title:"Align Grid",icon:{iconPath:lt.icon_eda_align_grid},command:"align_grid",disable:je}]},clickCallback:t=>{t.command!=="checkIfSelectAlignRefObject"&&t.command!=="checkIfSelectAlignRefObjectForCenters"&&Ai.getMenuDefaultStore("toolbar-menu-Align").setValue(t.command)}},TDi={menuItems:{menuId:"toolbar-menu-Distribute",defaultConfig:[{id:"Distribute Horizontally",title:"Distribute Horizontally",icon:{iconPath:lt.icon_eda_distribute_horizontally},hotkeyCmd:"align_horizontal_equidistant",subHotkeyId:"align_horizontal_equidistant",command:"distribute_horizontal_equidistant",disable:je},{id:"Distribute Vertically",title:"Distribute Vertically",icon:{iconPath:lt.icon_eda_distribute_vertically},hotkeyCmd:"align_vertical_equidistant",subHotkeyId:"align_vertical_equidistant",command:"distribute_vertical_equidistant",disable:je},{id:"Distribute Left Edges Equidistantly",title:"Distribute Left Edges Equidistantly",icon:{iconPath:lt.icon_eda_distribute_left_edges},command:"distribute_left_side_edge_equidistant",disable:je},{id:"Distribute Top Edges Equidistantly",title:"Distribute Top Edges Equidistantly",icon:{iconPath:lt.icon_eda_distribute_top_edges},command:"distribute_top_side_edge_equidistant",disable:je},{id:"Distribute Horizontally by Center Distance",title:"Distribute Horizontally by Center Distance",icon:{iconPath:lt.icon_eda_distribute_horizontally_by_center_distance},command:"distribute_horizontal_by_center_distance",disable:je},{id:"Distribute Vertically by Center Distance",title:"Distribute Vertically by Center Distance",icon:{iconPath:lt.icon_eda_distribute_vertically_by_center_distance},command:"distribute_vertical_by_center_distance",disable:je},{id:"Distribute Horizontally by Edges Distance",title:"Distribute Horizontally by Edges Distance",icon:{iconPath:lt.icon_eda_distribute_horizontally_by_distance},command:"distribute_horizontal_by_edges_distance",disable:je},{id:"Distribute Vertically by Edges Distance",title:"Distribute Vertically by Edges Distance",icon:{iconPath:lt.icon_eda_distribute_vertically_by_distance},command:"distribute_vertical_by_edges_distance",disable:je},{id:"Distribute Array...",title:"Distribute Array...",icon:{iconPath:lt.icon_eda_distribute_array},command:"distribute",disable:je},{id:"Component Distribute By Region",title:"Component Distribute By Region",icon:{iconPath:lt.icon_eda_distribute_region},command:"component_distribute_by_region",disable:je}],modeConfig:{[Ee.PCB]:["Distribute Horizontally","Distribute Vertically","Distribute Left Edges Equidistantly","Distribute Top Edges Equidistantly","Distribute Horizontally by Center Distance","Distribute Vertically by Center Distance","Distribute Horizontally by Edges Distance","Distribute Vertically by Edges Distance","Distribute Array...","Component Distribute By Region"],[Ee.FOOTPRINT]:["Distribute Horizontally","Distribute Vertically","Distribute Left Edges Equidistantly","Distribute Top Edges Equidistantly","Distribute Horizontally by Center Distance","Distribute Vertically by Center Distance","Distribute Horizontally by Edges Distance","Distribute Vertically by Edges Distance","Distribute Array..."],[Ee.SCHMODULE]:["Distribute Horizontally","Distribute Vertically","Distribute Left Edges Equidistantly","Distribute Top Edges Equidistantly","Distribute Horizontally by Center Distance","Distribute Vertically by Center Distance","Distribute Horizontally by Edges Distance","Distribute Vertically by Edges Distance","Distribute Array..."],[Ee.PCBMODULE]:["Distribute Horizontally","Distribute Vertically","Distribute Left Edges Equidistantly","Distribute Top Edges Equidistantly","Distribute Horizontally by Center Distance","Distribute Vertically by Center Distance","Distribute Horizontally by Edges Distance","Distribute Vertically by Edges Distance","Distribute Array..."],[Ee.COMMON_BLANK]:[],[Ee.CBB_BLANK]:[],[Ee.BLOCK_SYMBOL]:[],[Ee.NETFLAG]:[],[Ee.NETPORT]:[],[Ee.OFF_PAGE_CONNECTOR]:[],[Ee.DIFF_PAIRS_FLAG]:[],[Ee.SHEET_SYMBOL]:[],[Ee.NONEELEC_SYMBOL]:[],[Yl]:["Distribute Horizontally","Distribute Vertically"]}},autoChangeCmd:!0},SDi={menuItems:{menuId:"toolbar-menu-SelectObjects",defaultConfig:[{id:"All",title:{value:"All",context:"select-object"},command:"select_all",disable:je},{id:"Rectangle Inside",title:"Rectangle Inside",icon:{iconPath:lt.eda_selection_rectangle_inside},command:"rectangleInside",disable:je},{id:"Rectangle Outside",title:"Rectangle Outside",icon:{iconPath:lt.eda_selection_rectangle_outside},command:"rectangleOutside",disable:je},{id:"Polygon Inside",title:"Polygon Inside",icon:{iconPath:lt.eda_selection_polygon_inside},command:"polygonInside",disable:je},{id:"Polygon Outside",title:"Polygon Outside",icon:{iconPath:lt.eda_selection_polygon_outside},command:"polygonOutside",disable:je},{id:"Line Touched",title:"Line Touched",icon:{iconPath:lt.eda_selection_line_touched},command:"lineTouched",disable:je},{id:"Connected Copper",title:"Connected Copper",command:"connectedCopper",disable:je},null,{id:"Toggle Selection",title:"Toggle Selection",icon:{iconPath:lt.eda_selection_continuous},command:"continuousSelection",disable:je}],modeConfig:{[Ee.PCB]:["All","Rectangle Inside","Rectangle Outside","Polygon Inside","Polygon Outside","Line Touched","Connected Copper",null,"Toggle Selection"],[Yl]:["All","Rectangle Inside","Rectangle Outside","Polygon Inside","Polygon Outside","Line Touched",null,"Toggle Selection"]}},autoChangeCmd:!0,defaultIndex:1},MDi={menuItems:{menuId:"toolbar-menu-BooleanOperation",defaultConfig:[{id:"Preserve overlapping areas",title:"Preserve overlapping areas",icon:{iconPath:lt.eda_preserve_overlapping_area},command:"boolIntersection",disable:je},{id:"Merge Areas",title:"Merge Areas",icon:{iconPath:lt.eda_merged_area},command:"boolAggregate",disable:je},{id:"Subtract Top Area",title:"Subtract Top Area",icon:{iconPath:lt.eda_subtract_top_area},command:"boolSubtraction",disable:je},{id:"Exclude Overlapping Areas",title:"Exclude Overlapping Areas",icon:{iconPath:lt.eda_exclude_overlapping_area},command:"boolExclusive",disable:je},{id:"Split Area with Holes",title:"Split Area with Holes",icon:{iconPath:lt.eda_split_area_with_hole1},command:"boolSplit",disable:je}]},autoChangeCmd:!0},IDi={menuItems:{menuId:"toolbar-menu-NetFlag",defaultConfig:[{id:"VCC",title:"VCC",icon:{iconPath:lt.icon_eda_netflag_vcc},command:"place_special_part(netflag_VCC)",disable:je},{id:"+5V",title:"+5V",icon:{iconPath:lt.icon_eda_netflag_5V},command:"place_special_part(netflag_5V)",disable:je},{id:"GND",title:"GND",icon:{iconPath:lt.icon_eda_netflag_gnd},command:"place_special_part(netflag_gnD)",disable:je},{id:"AGND",title:"AGND",icon:{iconPath:lt.icon_eda_netflag_agnd},command:"place_special_part(netflag_GNd)",disable:je,isHide:()=>zh(dt())},{id:"PGND",title:"PGND",icon:{iconPath:lt.icon_eda_netflag_pgnd},command:"place_special_part(netflag_gNd)",disable:je,isHide:()=>zh(dt())}]}},LDi={menuItems:{menuId:"toolbar_menu_NetPort",defaultConfig:[{id:"IN",title:"IN",icon:{iconPath:lt.icon_eda_netport_in},command:"place_special_part(netport_IN)",disable:je},{id:"OUT",title:"OUT",icon:{iconPath:lt.icon_eda_netport_out},command:"place_special_part(netport_OUT)",disable:je},{id:"BI",title:"BI",icon:{iconPath:lt.icon_eda_netport_bi},command:"place_special_part(netport_BI)",disable:je}]}},vDi={menuItems:{menuId:"toolbar_menu_OffPageConnector",defaultConfig:[{id:"Off Page Connector - IN",title:"IN",icon:{iconPath:lt.icon_eda_off_page_connector_in},command:"place_special_part(offPageConnector_IN)",disable:je},{id:"Off Page Connector - OUT",title:"OUT",icon:{iconPath:lt.icon_eda_off_page_connector_out},command:"place_special_part(offPageConnector_OUT)",disable:je},{id:"Off Page Connector - BI",title:"BI",icon:{iconPath:lt.icon_eda_off_page_connector_bi},command:"place_special_part(offPageConnector_BI)",disable:je}]}},DDi={menuItems:{menuId:"toolbar-menu-DrawingTools",defaultConfig:[{id:"Polyline",title:"Polyline",icon:{iconPath:lt.icon_eda_line},command:"draw(polyline)",disable:je},{id:"Arc",title:"Arc",icon:{iconPath:lt.icon_eda_arc},command:"draw(arc)",disable:je},{id:"Bezier",title:"Bezier",icon:{iconPath:lt.icon_eda_bezier},command:"draw(bezier)",disable:je},{id:"Rect",title:"Rect",icon:{iconPath:lt.icon_eda_rectangle},command:"draw(rect)",disable:je},{id:"Circle",title:"Circle",icon:{iconPath:lt.icon_eda_circle},command:"draw(circle)",disable:je},{id:"Ellipse",title:"Ellipse",icon:{iconPath:lt.icon_eda_ellipse},command:"draw(ellipse)",disable:je},{id:"Image",title:"Image",icon:{iconPath:lt.icon_eda_image},command:"insertImage",disable:je},{id:"Table",title:"Table",icon:{iconPath:lt.icon_eda_table},command:"editTable",disable:je}]}},EDi={menuItems:{menuId:"toolbar-menu-ShortcutDevice",defaultConfig:[{id:"Resistor",title:"Resistor",icon:{iconPath:lt.icon_eda_symbol_resistor},command:"place_shortcut_device(resistor)",disable:je},{id:"Capacitor",title:"Capacitor",icon:{iconPath:lt.icon_eda_symbol_capacitor},command:"place_shortcut_device(capacitor)",disable:je},{id:"Inductor",title:"Inductor",icon:{iconPath:lt.icon_eda_symbol_inductor},command:"place_shortcut_device(inductor)",disable:je},{id:"Diode",title:"Diode",icon:{iconPath:lt.icon_eda_symbol_diode},command:"place_shortcut_device(diode)",disable:je}]}},ADi={menuItems:{menuId:"toolbar-menu-Auxiliary",defaultConfig:[{id:"Cross Auxiliary Line",title:"Cross Auxiliary Line",command:"place_auxiliary(crossLine)",icon:{iconPath:lt.icon_eda_auxiliary},disable:je},{id:"Horizontal Auxiliary Line",title:"Horizontal Auxiliary Line",command:"place_auxiliary(horizontalLine)",icon:{iconPath:lt.icon_eda_auxiliary_horizontal},disable:je},{id:"Vertical Auxiliary Line",title:"Vertical Auxiliary Line",command:"place_auxiliary(verticalLine)",icon:{iconPath:lt.icon_eda_auxiliary_vertical},disable:je},{id:"Auxiliary Point",title:"Auxiliary Point",command:"place_auxiliary(point)",icon:{iconPath:lt.icon_eda_auxiliary_point},disable:je}]}},NDi={menuItems:{menuId:"toolbar-menu-panel-dimension",defaultConfig:[{id:"panel-dimension",title:"Smart Dimension",command:"draw(dimension-xy)",icon:{iconPath:lt.eda_dimension_smart},disable:je},{id:"panel-dimension-x",title:"Horizontal Dimension",command:"draw(dimension-x)",icon:{iconPath:lt.eda_dimension_horizontal},disable:je},{id:"panel-dimension-y",title:"Vertical Dimension",command:"draw(dimension-y)",icon:{iconPath:lt.eda_dimension_vertical},disable:je}]}},kDi={menuItems:{menuId:"toolbar-menu-panel-measure",defaultConfig:[{id:"panel-measure-length",title:"Length",icon:{iconPath:lt.icon_eda_dimension_length},command:"draw(measure-length)",hotkeyCmd:"draw(dimension)",subHotkeyId:"draw(dimension)",disable:je},{id:"panel-measure-angle",title:"Angle",icon:{iconPath:lt.icon_eda_dimension_degree},command:"draw(measure-angle)",hotkeyCmd:"draw(protractor)",subHotkeyId:"draw(protractor)",disable:je},{id:"panel-measure-radius",title:"Radius",icon:{iconPath:lt.icon_eda_dimension_radius},command:"draw(measure-radius)",hotkeyCmd:"draw(radius)",subHotkeyId:"draw(radius)",disable:je}]}},PDi={menuItems:{menuId:"toolbar-menu-panel-arc",defaultConfig:[{id:"Three Points Arc",title:"Three Points Arc",icon:{iconPath:lt.icon_eda_arc_three_points},command:"draw(arc)",disable:je},{id:"Center Arc",title:"Center Arc",icon:{iconPath:lt.icon_eda_arc_center},command:"draw(arcCenter)",disable:je},{id:"Two Points Arc",title:"Two Points Arc",icon:{iconPath:lt.icon_eda_arc_two_points},command:"draw(arc2)",disable:je}]}};var HT=L(z()),oD=[{key:"Open Project",title:"Open Project",icon:"icon-eda-project-fill",iconStyle:{filter:"none"},command:"openProject"},{key:"New Part",title:"New Part",icon:"icon-eda-part-new",command:"partTree(newPart)",isHide:()=>Po.workingMode!==Ee.PART},{key:"Lock/Unlock",title:"Lock/Unlock",icon:"icon-eda-project",command:"toggleLock"},{key:"Save",title:"Save",icon:"icon-eda-save",command:"file_save"},{key:"Save All",title:"Save All",icon:"icon-eda-save-all",command:"save_all"},{key:"Backup",title:"Backup",icon:"icon-eda-backup",command:"backup",isHide:()=>![Ee.COMMON_BLANK,Ee.SCH,Ee.CBB_BLANK,Ee.CBB_SCH,Ee.SCH_INSTANCE,Ee.BLOCK_SCH,Ee.PCB,Ee.PANEL].includes(Po.workingMode)},{key:"Undo",title:"Undo",icon:"icon-eda-undo",command:"undo",disable:je},{key:"Redo",title:"Redo",icon:"icon-eda-redo",command:"redo",disable:je},{key:"Cut",title:"Cut",icon:"icon-eda-cut",command:"cut",disable:je},{key:"Copy",title:"Copy",icon:"icon-eda-copy",command:"copy"},{key:"Copy as an image",title:"Copy as an image",command:"copyToImage",menuConfig:hDi,disable:je},{key:"Paste",title:"Paste",icon:"icon-eda-paste",command:"paste",disable:je},{key:"Find",title:"Find",icon:"icon-eda-find",command:"findObjects"},{key:"Find Similar Objects",title:"Find Similar Objects",icon:"icon-eda-similar",command:"findSimilar"},{key:"Filter",title:"Filter",icon:"icon-eda-filter",command:"filterAttr",children:(0,HT.jsx)(iDi,{})},{key:"Cutout",title:"Cutout",menuConfig:mDi,icon:"icon-eda-cutout"},{key:"Arrays",title:"Arrays",icon:"icon-eda-array",disable:je,command:"editArray"},{key:"2D Preview",title:"2D Preview",icon:"icon-eda-preview-2d",command:"Preview2D"},{key:"3D Preview",title:"3D Preview",icon:"icon-eda-preview-3d",command:"Preview3D"},{key:"Import Changes",title:"Import Changes",icon:"icon-eda-changes-import",command:"toggleView(importChanges)",disable:Er},{key:"Fit All in Window",title:"Fit All in Window",icon:"icon-eda-view-fit-all",command:"fitview"},{key:"Ruler",title:"Ruler",icon:"icon-eda-scale-ruler",command:"showRuler"},{key:"Left-Side Panel",title:"Left-Side Panel",icon:"icon-eda-panel-left",command:"toolbar_toggle(leftbar)"},{key:"Right-Side Panel",title:"Right-Side Panel",icon:"icon-eda-panel-right",command:"toolbar_toggle(rightbar)"},{key:"Bottom Panel",title:"Bottom Panel",icon:"icon-eda-panel-bottom",command:"toolbar_toggle(bottombar)"},{key:"Zoom In",title:"Zoom In",icon:"icon-eda-zoom-in",command:"zoom(in)"},{key:"Zoom Out",title:"Zoom Out",icon:"icon-eda-zoom-out",command:"zoom(out)"},{key:"Fit Selection View",title:"Fit Selection View",icon:"icon-eda-view-fit-selection",command:"adaptSelectionView"},{key:"Fit Area Selection View",title:"Fit Area Selection View",icon:"icon-eda-view-fit-area-selection",command:"adaptAreaSelectionView"},{key:"Fit Board Outline View",title:"Fit Board Outline View",icon:"icon-eda-view-fit-board-outline",command:"fitBoard"},{key:"Flip Board",title:Nt?{context:"ECAD",value:"Flip Board"}:"Flip Board",icon:"icon-eda-flip-board",command:"flipBoard"},{key:"Pin",title:"Pin",icon:"icon-eda-pin",command:"place_part(pin)",isHide:()=>Po.workingMode===Ee.SHEET_SYMBOL||Po.workingMode===Ee.DIFF_PAIRS_FLAG},{key:"Line Pins",title:"Line Pins",icon:"icon-eda-pin-line",command:"place_part(line_pins)",isHide:()=>Po.workingMode===Ee.SHEET_SYMBOL||Po.workingMode===Ee.DIFF_PAIRS_FLAG||Nt},{key:"Rect Pins",title:"Rect Pins",icon:"icon-eda-pin-rect",command:"place_part(rect_pins)",isHide:()=>Po.workingMode===Ee.SHEET_SYMBOL||Po.workingMode===Ee.DIFF_PAIRS_FLAG||Nt},{key:"Component",title:"Component",icon:"icon-eda-symbol",command:"placeDevice",disable:je,isHide:()=>Nt},{key:"Resistor",title:"Resistor",icon:"icon-eda-symbol-resistor",command:"place_shortcut_device(resistor)",disable:je,isHide:()=>Nt},{key:"Capacitor",title:"Capacitor",icon:"icon-eda-symbol-capacitor",command:"place_shortcut_device(capacitor)",disable:je,isHide:()=>Nt},{key:"Inductor",title:"Inductor",icon:"icon-eda-symbol-inductor",command:"place_shortcut_device(inductor)",disable:je,isHide:()=>Nt},{key:"Diode",title:"Diode",icon:"icon-eda-symbol-diode",command:"place_shortcut_device(diode)",disable:je,isHide:()=>Nt},{key:"Snap",title:"Snap",icon:"icon-eda-snap",command:"toggleAdsorb",disable:je},{key:"Wire",title:"Wire",icon:"icon-eda-wire",command:"draw(wire)",disable:je},{key:"Bus",title:"Bus",icon:"icon-eda-bus",command:"draw(bus)",disable:je},{key:"Reuse Block",title:"Reuse Block",icon:"icon-eda-symbol-block",command:"draw(block)",disable:je},{key:"Arc",title:"Arc",icon:"icon-eda-arc",command:"draw(arc)",disable:je},{key:"Bezier",title:"Bezier",icon:"icon-eda-bezier-2",command:"draw(bezier)",disable:je},{key:"Pad",title:"Pad",icon:"icon-eda-pad",command:"PlaceSinglePad",disable:je},{key:"Line Pads",title:"Line Pads",icon:"icon-eda-pad-line",command:"place_part(line_pads)",disable:je,isHide:()=>Nt},{key:"Rectangle Pads",title:"Rectangle Pads",icon:"icon-eda-pad-rectangle",command:"place_part(rect_pads)",disable:je,isHide:()=>Nt},{key:"Shaped Pad",title:"Shaped Pad",icon:"icon-eda-pad-polygon",command:"place_part(polygonpad)",disable:je,isHide:()=>Nt},{key:"Via",title:"Via",icon:"icon-eda-via",command:"place_part(via)",disable:je},{key:"Rect",title:"Rect",icon:"icon-eda-rectangle",command:"draw(rect)",disable:je},{key:"Circle",title:"Circle",icon:"icon-eda-circle",command:"draw(circle)",disable:je},{key:"Ellipse",title:"Ellipse",icon:"icon-eda-ellipse",command:"draw(ellipse)",disable:je},{key:"Polyline",title:"Polyline",icon:"icon-eda-line",command:"draw(polyline)",disable:je},{key:"Annotation",title:"Annotation",icon:"icon-eda-annotation",command:"createAnnotation",disable:je},{key:"Text",title:"Text",icon:"icon-eda-text",command:"showTextDialog",disable:je},{key:"Text ",title:"Text ",icon:"icon-eda-text",command:"showTextDialog_pcb",disable:je},{key:"Table",title:"Table",icon:"icon-eda-table",command:"editTable",disable:je},{key:"Image",title:"Image",icon:"icon-eda-image",command:"insertImage",disable:je},{key:"Back to the Upper",title:"Back to the Upper",icon:"icon-eda-back-to-upper",command:"backToUpper",isHide:()=>Po.workingMode!==Ee.SCH_INSTANCE},{key:"Open Template Page",title:"Open Template Page",icon:"icon-eda-back-to-template",command:"openTemplatePage",isHide:()=>Po.workingMode!==Ee.SCH_INSTANCE},{key:"Update/Convert Schematic to PCB",title:Nt?{context:"ECAD",value:"Update/Convert Schematic to Installation board"}:"Update/Convert Schematic to PCB",icon:"icon-eda-update-to-pcb",command:"importChangesFromSch",isHide:()=>![Ee.SCH,Ee.SCH_INSTANCE,Ee.BLOCK_SCH,Ee.CBB_BLOCK_SCH].includes(Po.workingMode),disable:Er},{key:"Generate/Update Block Symbol",title:"Generate/Update Block Symbol",icon:"icon-eda-update-block-symbol",command:"generateOrUpdateBlockSymbol2",isHide:()=>Nt,disable:Er},{key:"Update Netport from Block Symbol",title:"Update Netport from Block Symbol",icon:"icon-eda-update-netport",command:"updateSchematicNetPort",disable:je,isHide:()=>Nt},{key:"Open CBB",title:"Open CBB",icon:"icon-eda-update-block-symbol",command:"openCBB",isHide:()=>Po.workingMode!==Ee.BLOCK_SYMBOL||Nt},{key:"Update Pins from Schematic",title:"Update Pins from Schematic",icon:"icon-eda-update-pins",command:"generateOrUpdateBlockSymbol",isHide:()=>Po.workingMode!==Ee.BLOCK_SYMBOL||Nt,disable:Er},{key:"Import Changes from Schematic",title:"Import Changes from Schematic",icon:"icon-eda-changes-import",command:"importChangesFromSch",isHide:()=>Is(),disable:je},{key:"Check DRC",title:"Check DRC",icon:"icon-eda-check-drc",command:"checkDRC"},{key:"Single Routing",title:"Single Routing",icon:"icon-eda-routing-single",command:"draw(track)",disable:je},{key:"Differential Pair Routing",title:"Differential Pair Routing",icon:"icon-eda-routing-differential",command:"draw(difftrack)",isHide:()=>Nt,disable:je},{key:"Stretch Track",title:"Stretch Track",icon:"icon-eda-routing-stretch",command:"draw(stretchtrack)",disable:je},{key:"Equal Length Tunning",title:"Equal Length Tuning",icon:"icon-eda-routing-tuning",command:"equalLengthTuning",disable:je},{key:"Push and Stretch Track",title:"Push and Stretch Track",icon:"icon-eda-routing-push-stretch",command:"draw(pushAndStretchTrack)",disable:je},{key:"Auto Routing",title:"Auto Routing",icon:"icon-eda-routing-auto",command:"auto-routing",disable:je},{key:"Rotate Left",title:"Rotate Left",icon:"icon-eda-rotate-left",command:"rotate_left",disable:je},{key:"Rotate Right",title:"Rotate Right",icon:"icon-eda-rotate-right",command:"rotate_right",disable:je},{key:"Flip Horizontal",title:"Flip Horizontal",icon:"icon-eda-flip-horizontally",command:"fliph",disable:je},{key:"Flip Vertical",title:"Flip Vertical",icon:"icon-eda-flip-vertically",command:"flipv",disable:je},{key:"Align Top",title:"Align Top",icon:"icon-eda-align-top",command:"align_top",disable:je},{key:"Align Grid",title:"Align Grid",icon:"icon-eda-align-grid",command:"align_grid",disable:je},{key:"Align Vertical Centers",title:"Align Vertical Centers",icon:"icon-eda-align-vertical-center",command:"align_vertical_center",disable:je},{key:"Align Bottom",title:"Align Bottom",icon:"icon-eda-align-bottom",command:"align_bottom",disable:je},{key:"Align Left",title:"Align Left",icon:"icon-eda-align-left",command:"align_left",disable:je},{key:"Align Horizontal Centers",title:"Align Horizontal Centers",icon:"icon-eda-align-horizontal-center",command:"align_horizontal_center",disable:je},{key:"Align Right",title:"Align Right",icon:"icon-eda-align-right",command:"align_right",disable:je},{key:"Distribute Horizontally",title:"Distribute Horizontally",icon:"icon-eda-distribute-horizontally",command:"distribute_horizontal_equidistant",disable:je},{key:"Distribute Vertically",title:"Distribute Vertically",icon:"icon-eda-distribute-vertically",command:"distribute_vertical_equidistant",disable:je},{key:"Distribute Left Edges Equidistantly",title:"Distribute Left Edges Equidistantly",icon:"icon-eda-distribute-left-edges",command:"distribute_left_side_edge_equidistant",disable:je},{key:"Distribute Top Edges Equidistantly",title:"Distribute Top Edges Equidistantly",icon:"icon-eda-distribute-top-edges",command:"distribute_top_side_edge_equidistant",disable:je},{key:"Distribute Horizontally by Center Distance",title:"Distribute Horizontally by Center Distance",icon:"icon-eda-distribute-horizontally-by-distance",command:"distribute_horizontal_by_center_distance",disable:je},{key:"Distribute Vertically by Center Distance",title:"Distribute Vertically by Center Distance",icon:"icon-eda-distribute-vertically-by-distance",command:"distribute_vertical_by_center_distance",disable:je},{key:"Distribute Horizontally by Edges Distance",title:"Distribute Horizontally by Edges Distance",icon:"icon-eda-distribute-horizontally-by-distance",command:"distribute_horizontal_by_edges_distance",disable:je},{key:"Distribute Vertically by Edges Distance",title:"Distribute Vertically by Edges Distance",icon:"icon-eda-distribute-vertically-by-distance",command:"distribute_vertical_by_edges_distance",disable:je},{key:"Distribute Array...",title:"Distribute Array...",icon:"icon-eda-distribute-array",command:"distribute",disable:je},{key:"Component Distribute By Region",title:"Component Distribute By Region",icon:"icon-eda-distribute-region",command:"component_distribute_by_region",disable:je},{key:"Bring to Front",title:"Bring to Front",icon:"icon-eda-bring-to-front",command:"bring_to_front",disable:je},{key:"Send to Back",title:"Send to Back",icon:"icon-eda-send-to-back",command:"send_to_back",disable:je},{key:"Ref Designator Annotate",title:"Ref Designator Annotate",icon:"icon-eda-designator",command:"ref_designator_annotate",disable:je},{key:"Bill of Materials(BOM)...",title:"Bill of Materials(BOM)...",icon:"icon-eda-bom",command:"exportBOM"},{key:"Netlist...",title:"Netlist...",icon:"icon-eda-netlist",command:"exportNetlist"},{key:"Footprint Wizard",title:"Footprint Wizard",icon:"icon-eda-wizard",command:"??"},{key:"Measure Distance",title:"Measure Distance",icon:"icon-eda-measure",command:"MeasureDistance"},{key:"Smart Dimension",title:"Smart Dimension",icon:"icon-eda-dimension-smart",command:"smartSize"},{key:"Check Dimension",title:"Check Dimension",icon:"icon-eda-dimension-check",command:"checkDimension"},{key:"Order Parts",title:"Order Parts",icon:"icon-eda-cart-symbol",command:"bom_order_parts",isHide:()=>_t},{key:"Order PCB",title:"Order PCB",icon:"icon-eda-cart-pcb",command:"orderPCB",isHide:()=>_t||Nt},{key:"Pick and Place File...",title:"Pick and Place File(CPL)...",icon:"icon-eda-position",command:"pcb_export_coordinate_file"},{key:"PCB Fabrication File(Gerber)",title:"PCB Fabrication File(Gerber)",icon:"icon-eda-gerber",command:"pcb_fabrication",isHide:()=>Nt},{key:"PCB Fabrication File(Gerber)(old)",title:"PCB Fabrication File(Gerber)(old)",icon:"icon-eda-gerber",command:"pcb_fabrication(old)",isHide:()=>Nt},{key:"Edit Outline",title:"Edit Outline",icon:"icon-eda-edit-outline",command:"EDIT_BOUNDARY",isHide:()=>Nt},{key:"Document Recovery",title:"Document Recovery",icon:"icon-eda-recovery",command:"??"},{key:"Order Panel",title:"Order Panel",icon:"icon-eda-cart-panel",command:"panelProductionOrder",isHide(){return _t}},{key:"Settings",title:"Settings",icon:"icon-eda-setting",command:"commonButtonsSetting(SYSTEM)"},{key:"Exporting as image",title:"Exporting as image",icon:"icon-eda-image",command:"export(fileImage)"},{key:"Export 3D File",title:"Export 3D File",icon:"icon-eda-export-3d",command:"export3DFile"},{key:"Advanced Symbol Wizard",title:"Advanced Symbol Wizard",icon:"icon-eda-wizard",command:"SCHLibWizard",isHide:()=>Po.workingMode!==Ee.PART},{key:"Datasheet Extract Wizard",title:"Datasheet Extract Wizard",icon:"icon-eda-datasheet",command:"OcrWizard",isHide:()=>Po.workingMode!==Ee.PART},{key:"Differential Pair Equal Length Tunning",title:"Differential Pair Equal Length Tuning",icon:"icon-eda-routing-differential-tunning",command:"diffPairEqualLengthTuning",disable:je},{key:"Net Label",title:"Net Label",icon:"icon-eda-net-label",command:"place_part(netlabel)",disable:je},{key:"Short Flag",title:"Short Flag",icon:"icon-eda-symbol-short",command:"place_special_part(short_symbol)",disable:je},{key:"VCC",title:"VCC",icon:"icon-eda-netflag-vcc",command:"place_special_part(netflag_VCC)",disable:je},{key:"+5V",title:"+5V",icon:"icon-eda-netflag-5V",command:"place_special_part(netflag_5V)",disable:je},{key:"GND",title:"GND",icon:"icon-eda-netflag-gnd",command:"place_special_part(netflag_gnD)",disable:je},{key:"AGND",title:"AGND",icon:"icon-eda-netflag-agnd",command:"place_special_part(netflag_GNd)",disable:je},{key:"PGND",title:"PGND",icon:"icon-eda-netflag-pgnd",command:"place_special_part(netflag_gNd)",disable:je},{key:"IN",title:"IN",icon:"icon-eda-netport-in",command:"place_special_part(netport_IN)",disable:je},{key:"OUT",title:"OUT",icon:"icon-eda-netport-out",command:"place_special_part(netport_OUT)",disable:je},{key:"BI",title:"BI",icon:"icon-eda-netport-bi",command:"place_special_part(netport_BI)",disable:je},{key:"Off Page Connector - IN",title:"IN",icon:"icon-eda-offPageConnector-in",command:"place_special_part(offPageConnector_IN)",disable:je},{key:"Off Page Connector - OUT",title:"OUT",icon:"icon-eda-offPageConnector-out",command:"place_special_part(offPageConnector_OUT)",disable:je},{key:"Off Page Connector - BI",title:"BI",icon:"icon-eda-offPageConnector-bi",command:"place_special_part(offPageConnector_BI)",disable:je},{key:"No Connect Flag",title:"No Connect Flag",icon:"icon-eda-no-connect-flag",command:"place_part(noconnect)",disable:je},{key:"Junction Flag",title:"Junction Flag",icon:"icon-eda-junction-flag",command:"place_part(junction)",disable:je},{key:"Differential Pairs Flag",title:"Differential Pairs Flag",icon:"icon-eda-differential",command:"place_part(diffPairsFlag)",disable:je},{key:"TestPoint",title:"Test Point",icon:"icon-eda-point-test",command:"place_shortcut_device(test_point)",disable:je},{key:"PlaceMaskRegion",title:"Mask Region",icon:"icon-eda-place-mask-region",command:"draw(maskRegion)",disable:je},{key:"Pen",title:"Pen",icon:"icon-pen-tool",command:"draw(pen)",disable:je},{key:"panel-arc",title:"Arc",icon:"icon-eda-arc",menuConfig:PDi,disable:je},{key:"panel-circle",title:"Ellipse",icon:"icon-eda-circle",command:"draw(circle)",disable:je},{key:"Connect Pads",title:"Connect Pads",icon:"icon-eda-ratline",command:"connectPads",disable:je},{key:"Import Changes from PCB",title:"Import Changes from PCB",icon:"icon-eda-changes-import",command:"importchangeFromPcb",disable:je},{key:"Update PCB to Schematic",title:"Update PCB to Schematic",icon:"icon-eda-update-to-pcb",command:"importchangeFromPcb",disable:Er},{key:"Switch Brightness",children:(0,HT.jsx)(sMt,{})},{key:"Unit",children:(0,HT.jsx)(lMt,{disable:u_})},{key:"Routing Mode",children:(0,HT.jsx)(Xvi,{disable:je}),isHide:()=>Nt},{key:"Routing Corner",children:(0,HT.jsx)($vi,{disable:je})},{key:"Grid Size",children:(0,HT.jsx)(cMt,{disable:TS}),disable:TS},{key:"New",icon:Nt?"icon-ecad-board-new-fill":"icon-eda-board-new-fill",iconStyle:{filter:"none"},children:(0,HT.jsx)(dDi,{})},{key:"Grid Style",icon:"icon-eda-grid-line",command:"netSwitch",children:(0,HT.jsx)(uMt,{}),disable:je},{key:`${Nt?"Mounting Plate":"Board Outline"}`,menuConfig:uDi,disable:je},{key:"Slot Region",menuConfig:pDi,disable:je},{key:"Copper Area",menuConfig:fDi,disable:je,isHide:()=>Nt},{key:"Fill Region",menuConfig:gDi,disable:je,isHide:()=>Nt},{key:"Prohibited Region",menuConfig:bDi,disable:je,isHide:()=>Nt},{key:"Line",menuConfig:yDi,disable:je},{key:"Dimension",menuConfig:wDi,disable:je},{key:"Canvas Origin",menuConfig:CDi,disable:je},{key:"Align",menuConfig:xDi,disable:je},{key:"Distribute",menuConfig:TDi,disable:je},{key:"Select Objects",menuConfig:SDi,disable:je},{key:"Boolean Operation",menuConfig:MDi,disable:je},{key:"Net Flag",menuConfig:IDi,disable:je},{key:"Net Port",menuConfig:LDi,disable:je},{key:"Off Page Connector",menuConfig:vDi,disable:je},{key:"Drawing Tools",menuConfig:DDi,disable:je},{key:"Shortcut Device",menuConfig:EDi,disable:je,isHide:()=>Nt},{key:"Smart Dimension ",icon:"icon-dimension-smart-panel",menuConfig:NDi,disable:je},{key:"Auxiliary",icon:"icon-eda-auxiliary",menuConfig:ADi,disable:je},{key:"panel-measure",title:"Dimension",icon:"icon-eda-dimension",menuConfig:kDi,disable:je},{key:"Split",title:"Split",icon:"icon-eda-split",command:"Split",disable:je},{key:"Fit All In Waveform",title:"Fit All in Window",icon:"icon-eda-view-fit-all",command:"fitview"},{key:"Start",title:"Start Sim",icon:"icon-eda-sim-start",command:"start_sim",children:(0,HT.jsx)(nDi,{}),disable:je},{key:"Stop",title:"Stop Sim",icon:"icon-eda-sim-stop",command:"stop_sim",disable:UCe,isHide:()=>Po.workingMode===Ee.NGSPICE},{key:"NGSetting",title:"NGSetting",icon:"icon-eda-sim-setting",command:"commonButtonsNGSimSetting",disable:je,isHide:()=>Po.workingMode===Ee.SIMULIDE},{key:"Simulide_Cir_Time",children:(0,HT.jsx)(tDi,{disable:je}),isHide:()=>Po.workingMode===Ee.NGSPICE},{key:"NG Analysis",children:(0,HT.jsx)(eDi,{disable:je}),isHide:()=>Po.workingMode===Ee.SIMULIDE},{key:"Probe/V",title:"Probe/V",icon:"icon-eda-sim-probe-voltage",command:"place_shortcut_device(placeProbe/V)",disable:je},{key:"Probe/I",title:"Probe/I",icon:"icon-eda-sim-probe-current",command:"place_shortcut_device(placeProbe/I)",disable:je},{key:"Probe/L",title:"Probe/L",icon:"icon-eda-sim-probe-digital",command:"place_shortcut_device(placeProbe/L)",disable:je}],ODi=(()=>{let t={};return oD.forEach(e=>{t[e.key]=e}),t})(),RDi=[{key:"Zoom In",title:"Zoom In",icon:"icon-eda-zoom-in",command:"zoom(in)"},{key:"Zoom Out",title:"Zoom Out",icon:"icon-eda-zoom-out",command:"zoom(out)"},{key:"Fit All in Window",title:"Fit All in Window",icon:"icon-eda-view-fit-all",command:"fitview"},{key:"Fit Selection View",title:"Fit Selection View",icon:"icon-eda-view-fit-selection",command:"adaptSelectionView"},{key:"Fit Area Selection View",title:"Fit Area Selection View",icon:"icon-eda-view-fit-area-selection",command:"adaptAreaSelectionView"},{key:"Grid Style",icon:"icon-eda-grid-line",command:"netSwitch",children:(0,HT.jsx)(uMt,{}),disable:je},{key:"Grid Size",children:(0,HT.jsx)(cMt,{disable:TS}),disable:TS},{key:"Unit",children:(0,HT.jsx)(lMt,{disable:u_})},{key:"2D Preview",title:"2D Preview",icon:"icon-eda-preview-2d",command:"Preview2D"},{key:"3D Preview",title:"3D Preview",icon:"icon-eda-preview-3d",command:"Preview3D"},{key:"Flip Board",title:Nt?{context:"ECAD",value:"Flip Board"}:"Flip Board",icon:"icon-eda-flip-board",command:"flipBoard"},{key:"Switch Brightness",children:(0,HT.jsx)(sMt,{})},{key:"Exporting as image",title:"Exporting as image",icon:"icon-eda-image",command:"export(fileImage)"}];var H3=class H3{static getDefaultConfig(){let e={};for(let[i,o]of Object.entries(tpe())){e[i]={All:[]};for(let[r,n]of Object.entries(o||{}))e[i].All.push(...n),e[i][r]=ue.deepClone(n)}return e}static fillSelect(){let e=tpe(),i=(0,GT.default)("#customToolbarDialog .type-selector");i.html("");let o=(0,GT.default)("#schematic_editor div.active").attr("type"),r=Object.keys(e[o]),n={menu_base:"Basic",menu_view:"View",menu_place:"Place",menu_design:"Design",menu_layout:"Layout",menu_auxiliary:"Auxiliary"},a=`<option value="All" >${me.i18n("All")}</option>`;for(let s=0;s<r.length;s++)a+=`<option value="${r[s]}" >${me.i18n(n[r[s]])}</option>`;i.html(a)}static fillContainer(e,i="All"){let o=(0,GT.default)("#customToolbarDialog .options-show");o.html("");let r=(0,GT.default)("#schematic_editor div.active").attr("type"),n=`<p style="padding-left: 59px;" data-btn="|" class="commonButton-item"><label i18n="Separator">${me.i18n("Separator")}</label></p>`,a=H3.getDefaultConfig(),s,l;for(let d=0;d<a[r][i].length;d++){if(s=a[r][i][d].key,l=c(e[r],s),s.startsWith("|"))continue;let u=r+"_radio_"+s.replace(" ","_"),p=oD.find(f=>f.key===s),m=(p==null?void 0:p.icon)||"",h=(p==null?void 0:p.title)||s||"";n+=`<p data-btn="${s}" class="commonButton-item"><input id="${u}" type="checkbox" ${l?"checked":""} name="${s}" title="${h}" style="position: relative; margin-left: 15px; margin-right: -15px;"><span class="l-btn-left"><span class="l-btn-text"><span class="l-btn-empty ${m}"></span></span></span><label for="${u}" class="i18n" i18n="${h}">${me.i18n(h)}</label></p>`}o.html(n);function c(d,u){for(let p=0;p<d.length;p++)if(d[p].key===u)return d[p].show;return!1}}static fillPreview(e){let i=(0,GT.default)("#schematic_editor div.active").attr("type"),o=(0,GT.default)("#customToolbarDialog .preview");if(o.html(""),!e||e.length<1||!e[i]||Object.keys(e[i]||{}).length<1)return{};let r="",n=e[i],a;for(let s=0;s<n.length;s++){if(!n[s].show)continue;let l=n[s].key;if(l.startsWith("|")){if(s-1===a)continue;a=s;let c="Separator";r+=`<p data-btn="|" style="padding: 6px 0px; text-align: center;"><label class="i18n" i18n="${c}">${me.i18n(c)}</label></p>`}else{let c=oD.find(p=>p.key===l),d=(c==null?void 0:c.icon)||"",u=(c==null?void 0:c.title)||l||"";r+=`<p data-btn="${l}" class="commonButton-item"><span class="l-btn-left"><span class="l-btn-text"><span class="l-btn-empty ${d||""}" ></span></span></span><label class="i18n" i18n="${u}">${me.i18n(u)}</label></p>`}}return o.html(r),e}static getDefaultData(){let e,i=hn();return i&&(e=i.CUSTOM_TOOLBAR.topShortCut),(!e||Array.isArray(e))&&(e=nwt()),e}static itemUp(e){let i=(0,GT.default)('#customToolbarDialog .preview [active="true"]');if(i.prev().attr("data-btn")===i.next().attr("data-btn")||i.attr("data-btn").startsWith("|")&&(i.prev().prev().attr("data-btn")||"").startsWith("|"))return;let o=i.prev().length===1;return i.prev().before(i),_Di(e),o}static itemDown(e){let i=(0,GT.default)('#customToolbarDialog .preview [active="true"]');if(i.prev().attr("data-btn")===i.next().attr("data-btn")||i.attr("data-btn").startsWith("|")&&(i.next().next().attr("data-btn")||"").startsWith("|"))return;let o=i.next().length===1;return i.next().after(i),_Di(e),o}static getConfigDataByDoctype(e){let i=H3.getDefaultData();return H3.getArray(i,e)}static getArray(e,i){let o=[];return i===void 0||!e||(i===se.SCH?o=PJ(e.Schematic):kl(i)?o=PJ(e.Symbol):i===se.PCB?o=PJ(e.PCB):i===se.FOOTPRINT?o=PJ(e.FOOTPRINT):i===se.BLANKTAB?o=H3.BLANK:i===se.PHOTOVIEW?o=H3.PREVIEW2D:i===se.VIEW3D?o=H3.PREVIEW3D:i===se.PANEL?o=PJ(e.PANEL):i===se.PANEL3D?o=H3.PANEL3D:i===se.PANEL_LIB?o=PJ(e.PANEL_LIB):i===se.HOME?o=H3.HOME:i===se.ASSEMBLY_VARIANT?o=H3.ASSEMBLYVARIANT:i===se.NGSPICE||i===se.SIMULIDE?o=PJ(e.SIM):i===se.WAVEFORM&&(o=PJ(e.WAVEFORM))),o}static setBtnSelection(e,i){Ai.setSelectCmd({[e]:!!i})}};H3.spliceAttr="belong",H3.BLANK=["New","Open Project","Save All","Backup","Find","|","Bill of Materials(BOM)...","Netlist...","Order PCB","Settings"],H3.HOME=["Open Project","|","Left-Side Panel","Bottom Panel","Order Parts","Order PCB","Settings"],H3.PREVIEW2D=["Open Project","Save All","|","Zoom In","Zoom Out","Fit All in Window","Import Changes","Flip Board","||","Exporting as image","Settings"],H3.PREVIEW3D=["Open Project","Save All","|","Exporting as image","Export 3D File","Settings","Navigation Tree","Property Panel","Bottom Panel"],H3.PANEL3D=["Open Project","Save All","|","Zoom In","Zoom Out","|","Left-Side Panel","Right-Side Panel","Bottom Panel","|","Order Panel","Settings"],H3.ASSEMBLYVARIANT=["New","Open Project","Save All","Undo","Redo","|","Left-Side Panel","Right-Side Panel","Bottom Panel","|","Bill of Materials(BOM)...","Settings"];var DA=H3;function _Di(t){let e=(0,GT.default)("#customToolbarDialog .preview p"),i=(0,GT.default)("#schematic_editor div.active").attr("type");t[i]=[];let o=1,r=new Set([]);for(let l=0;l<e.length;l++){let c=(0,GT.default)(e[l]).attr("data-btn");c==="|"&&(c=Array(++o).fill("|").join("")),t[i].push({show:!0,key:c}),r.add(c)}let n=(0,GT.default)('#customToolbarDialog .options-show p:not([data-btn="|"])');for(let l=0;l<n.length;l++){let c=(0,GT.default)(n[l]).attr("data-btn"),d=(0,GT.default)(n[l]).find("input").prop("checked");if(!d){let u={show:d,key:c},p=a(n,l);p?s(t[i],p,u):l===0?t[i].splice(0,0,u):t[i].push(u)}r.add(c)}function a(l,c){for(let d=c-1;d>=0;d--){let u=(0,GT.default)(l[d]).attr("data-btn");if(u!=="|"&&r.has(u))return u}return""}function s(l,c,d){for(let u=0;u<l.length;u++)if(l[u].key===c){l.splice(u+1,0,d);return}}}function PJ(t){if(t)return t=ewr(t),t.filter(e=>e.show).map(e=>e.key)}function ewr(t){let e=[];for(let i=0;i<t.length;i++){let o=t[i];o&&(Object.hasOwnProperty.call(o,"show")&&o.show!==!1||!Object.hasOwnProperty.call(o,"show"))&&e.push({key:o.key,show:!0})}return e}async function jFe(t){try{let i={confirmCallback:async(o,r)=>{let{startAngle:n,endAngle:a,minRadius:s,maxRadius:l}=r.data.formData;if(n==""||a==""||s==""||l=="")return!1;if(s<0)return De({type:"warn",msg:"The starting radius cannot be less than 0",timer:3}),!1;if(l<=0)return De({type:"warn",msg:"The ending radius cannot be less than 0",timer:3}),!1;if(s-l>=0)return De({type:"warn",msg:"The starting radius cannot be greater than the ending radius",timer:3}),!1;if(n-a>=0)return De({type:"warn",msg:"The starting angle cannot be greater than the ending angle",timer:3}),!1;C.messageBus.publish("updateGridRange",{startAngle:n,endAngle:a,minRadius:s,maxRadius:l}),o.$close()},...t};ii("grid-range-setting",i)}catch(e){console.warn(e)}}var VAi=L(Vi());var ZDi=L(Ure());function Hme(t,e,i=".txt"){let o=new Blob(["\uFEFF"+t]);if(wi)cd(o,e+".txt","txt");else if(window.navigator&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(o,e+".txt");else{let r=document.createElement("a");r.href=URL.createObjectURL(o),r.style="visibility:hidden",r.download=e+i,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}async function BDi(t,e,i,o,r){if(o==="xlsx"){let n=new kp({name:i}),a,s=[],l=i.replace(/[ \[\]:\\/\?*]/g,"-");if(t&&t.length){t.forEach(c=>{s.push({header:c,key:c,width:20})});for(let c of e)c=c.map(d=>String(d));a=n.addSheet(l,{columns:s}),n.addRowsToSheet(a,e),await n.export()}}else{let n;if(r&&r=="Comma"?n=twr(t,e):n=ue.createCSVString(t,e),n=="")throw"Invalid data";let a="";if(r&&r=="Comma")a="\uFEFF"+n;else{a=new Uint8Array(2*n.length+2),a[0]=255,a[1]=254;for(let s=0;s<n.length;s++){let l=n[s].charCodeAt(0);a[2+2*s+1]=(65280&l)>>8,a[2+2*s]=255&l}}if(wi){let s=new Blob([a],{type:"text/csv"});cd(s,i+`.${o}`,o)}else{let s=new Blob([a]),l=document.createElement("a");l.href=URL.createObjectURL(s),l.style="visibility:hidden",l.download=`${i}.${o}`,document.body.appendChild(l),l.click(),document.body.removeChild(l)}}}async function cd(t,e,i){if(wi)return i.startsWith(".")||(i="."+i),typeof t=="string"&&(t=new Blob([t],{type:"application/json"})),(await C.messageBus.rpcCall(Ei.CLIENT.EXPORT_FILE,{blob:t,title:e,extension:i,isExport:!0})).message}function twr(t,e){let i=[],o=[];for(let r=0;r<t.length;r++)i.push(`"${String(t[r])}"`),i.push(",");i.pop(),o.push(i.join("")),o.push(`\r
`);for(let r=0;r<e.length;r++){i=[];let n=e[r];for(let a of n)i.push(`"${a}"`),i.push(",");i.pop(),o.push(i.join("")),o.push(`\r
`)}return o.join("")}var eH=L(Se());function BFe(){return'[{"workbook":{"creator":"jlceda","lastModifiedBy":"win","created":"2024-07-15T07:53:00.000Z","modified":"2024-08-02T02:35:56.000Z","properties":{"date1904":false},"worksheets":[{"id":1,"name":"bom\u6A21\u677F","dataValidations":{},"properties":{"defaultRowHeight":14.25,"dyDescent":0,"outlineLevelRow":0,"outlineLevelCol":0,"defaultColWidth":9},"state":"visible","pageSetup":{"fitToPage":false,"margins":{"left":0.7,"right":0.7,"top":0.75,"bottom":0.75,"header":0.3,"footer":0.3}},"headerFooter":{},"rowBreaks":[],"views":[{"workbookViewId":0,"rightToLeft":false,"state":"normal","showRuler":true,"showRowColHeaders":true,"showGridLines":false,"zoomScale":115,"zoomScaleNormal":115,"activeCell":"E17"}],"media":[{"type":"image","imageId":0,"range":{"tl":{"nativeCol":0,"nativeColOff":197826,"nativeRow":0,"nativeRowOff":139213},"br":{"nativeCol":3,"nativeColOff":1128346,"nativeRow":4,"nativeRowOff":105091},"editAs":"oneCell"}}],"tables":[],"conditionalFormattings":[],"cols":[{"min":1,"max":1,"width":16.25,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":2,"max":2,"width":17.125,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":3,"max":3,"width":18,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":4,"max":4,"width":15.25,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":5,"max":5,"width":13.125,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":6,"max":6,"width":13.25,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":7,"max":7,"width":14.375,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":8,"max":8,"width":16.875,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":9,"max":9,"width":13.375,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":10,"max":10,"width":14.375,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":11,"max":11,"width":10.25,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false}],"rows":[{"cells":[{"address":"A1","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"B1","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"C1","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"D1","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"E1","value":"Bill of Materials ","type":3,"style":{"font":{"bold":true,"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center","vertical":"middle"}}},{"address":"F1","value":"Field=File Name","type":3,"style":{"font":{"bold":true,"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center","vertical":"middle"}}},{"address":"G1","value":"","type":3,"style":{}},{"address":"H1","value":"","type":3,"style":{}},{"address":"I1","value":"","type":3,"style":{}},{"address":"J1","value":"","type":3,"style":{}},{"address":"K1","value":"","type":3,"style":{}},{"address":"L1","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"right":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":1,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A2","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"B2","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"C2","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"D2","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"E2","type":1,"master":"E1","style":{"font":{"bold":true,"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center","vertical":"middle"}}},{"address":"F2","type":1,"master":"F1","style":{"font":{"bold":true,"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center","vertical":"middle"}}},{"address":"G2","value":"","type":3,"style":{}},{"address":"H2","value":"","type":3,"style":{}},{"address":"I2","value":"","type":3,"style":{}},{"address":"J2","value":"","type":3,"style":{}},{"address":"K2","value":"","type":3,"style":{}},{"address":"L2","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"right":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":2,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A3","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"B3","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"C3","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"D3","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"E3","value":"Project Title\uFF1A","type":3,"style":{"font":{"bold":true,"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"}}},{"address":"F3","value":"Field=Project Title","type":3,"style":{}},{"address":"G3","value":"","type":3,"style":{}},{"address":"H3","value":"","type":3,"style":{}},{"address":"I3","value":"","type":3,"style":{}},{"address":"J3","value":"","type":3,"style":{}},{"address":"K3","value":"","type":3,"style":{}},{"address":"L3","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"right":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":3,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A4","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"B4","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"C4","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"D4","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"E4","value":"Variant:","type":3,"style":{"font":{"bold":true,"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"}}},{"address":"F4","value":"Field=Variant Name","type":3,"style":{}},{"address":"G4","value":"","type":3,"style":{}},{"address":"H4","value":"","type":3,"style":{}},{"address":"I4","value":"","type":3,"style":{}},{"address":"J4","value":"","type":3,"style":{}},{"address":"K4","value":"","type":3,"style":{}},{"address":"L4","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"right":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":4,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A5","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"B5","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"C5","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"D5","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"E5","value":"Report Time\uFF1A","type":3,"style":{"font":{"bold":true,"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"}}},{"address":"F5","value":"Field=ReportDateTime","type":3,"style":{}},{"address":"G5","value":"","type":3,"style":{}},{"address":"H5","value":"","type":3,"style":{}},{"address":"I5","value":"","type":3,"style":{}},{"address":"J5","value":"","type":3,"style":{}},{"address":"K5","value":"","type":3,"style":{}},{"address":"L5","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"right":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":5,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A6","value":"No.","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B6","value":"Column=Quantity","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"C6","value":"Column=Comment","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"D6","value":"Column=Designator","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"E6","value":"Column=Footprint","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"F6","value":"Column=Value","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"G6","value":"Column=Manufacturer Part","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"H6","value":"Column=Manufacturer","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"I6","value":"Column=Supplier Part","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"J6","value":"Column=Supplier","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"K6","value":"Column=LCSC Price","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"L6","value":"Total","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}}],"number":6,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A7","formula":"ROW()-6","type":6,"result":1,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"left","vertical":"middle"}}},{"address":"B7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"C7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"D7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"E7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"F7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"G7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"H7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"I7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"J7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"K7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"L7","formula":"B7*K7","type":6,"result":0,"style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}}],"number":7,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A8","formula":"ROW()-6","type":6,"result":2,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"left","vertical":"middle"}}},{"address":"B8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"C8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"D8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"E8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"F8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"G8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"H8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"I8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"J8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"K8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"L8","formula":"B8*K8","type":6,"result":0,"style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}}],"number":8,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A9","formula":"ROW()-6","type":6,"result":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"left","vertical":"middle"}}},{"address":"B9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"C9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"D9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"E9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"F9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"G9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"H9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"I9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"J9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"K9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"L9","formula":"B9*K9","type":6,"result":0,"style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}}],"number":9,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A10","formula":"ROW()-6","type":6,"result":4,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"left","vertical":"middle"}}},{"address":"B10","formula":"SUM(L7:L9)","type":6,"result":0,"style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"C10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"D10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"E10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"F10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"G10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"H10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"I10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"J10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"K10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"L10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}}],"number":10,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false}],"dimensions":{"model":{"top":1,"left":1,"bottom":10,"right":12}},"merges":["B10:L10","E1:E2","F1:F2","A1:D5"]},{"id":2,"name":"Field\u6C47\u603B","dataValidations":{},"properties":{"defaultRowHeight":14.25,"dyDescent":0,"outlineLevelRow":0,"outlineLevelCol":1,"defaultColWidth":9},"state":"visible","pageSetup":{"fitToPage":false,"margins":{"left":0.7,"right":0.7,"top":0.75,"bottom":0.75,"header":0.3,"footer":0.3}},"headerFooter":{},"rowBreaks":[],"views":[{"workbookViewId":0,"rightToLeft":false,"state":"normal","showRuler":true,"showRowColHeaders":true,"showGridLines":true,"zoomScale":220,"zoomScaleNormal":220,"activeCell":"B14"}],"media":[],"tables":[],"conditionalFormattings":[],"cols":[{"min":1,"max":1,"width":23.625,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":2,"max":2,"width":57.5,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false}],"rows":[{"cells":[{"address":"A1","value":"Project Title","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B1","value":"Field=Project Title","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":1,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A2","value":"Borard Title","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B2","value":"Field=Borard Title","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":2,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A3","value":"Schematic Title","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B3","value":"Field=Schematic Title","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":3,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A4","value":"PCB Title","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B4","value":"Field=PCB Title","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":4,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A5","value":"Variant Name","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B5","value":"Field=Variant Name","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":5,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A6","value":"Total Quantity","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B6","value":"Field=Total Quantity","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":6,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A7","value":"Report Time","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B7","value":"Field=Report Time","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":7,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A8","value":"Report Date","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B8","value":"Field=Report Date","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":8,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A9","value":"Report Date&Time","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B9","value":"Field=ReportDateTime","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":9,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A10","value":"File Name","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B10","value":"Field=File Name","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":10,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A11","value":"Filter Option","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B11","value":"Field=Filter Option","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":11,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false}],"dimensions":{"model":{"top":1,"left":1,"bottom":11,"right":2}},"merges":[]}],"sheets":[{"id":1,"name":"bom\u6A21\u677F","dataValidations":{},"properties":{"defaultRowHeight":14.25,"dyDescent":0,"outlineLevelRow":0,"outlineLevelCol":0,"defaultColWidth":9},"state":"visible","pageSetup":{"fitToPage":false,"margins":{"left":0.7,"right":0.7,"top":0.75,"bottom":0.75,"header":0.3,"footer":0.3}},"headerFooter":{},"rowBreaks":[],"views":[{"workbookViewId":0,"rightToLeft":false,"state":"normal","showRuler":true,"showRowColHeaders":true,"showGridLines":false,"zoomScale":115,"zoomScaleNormal":115,"activeCell":"E17"}],"media":[{"type":"image","imageId":0,"range":{"tl":{"nativeCol":0,"nativeColOff":197826,"nativeRow":0,"nativeRowOff":139213},"br":{"nativeCol":3,"nativeColOff":1128346,"nativeRow":4,"nativeRowOff":105091},"editAs":"oneCell"}}],"tables":[],"conditionalFormattings":[],"cols":[{"min":1,"max":1,"width":16.25,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":2,"max":2,"width":17.125,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":3,"max":3,"width":18,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":4,"max":4,"width":15.25,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":5,"max":5,"width":13.125,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":6,"max":6,"width":13.25,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":7,"max":7,"width":14.375,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":8,"max":8,"width":16.875,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":9,"max":9,"width":13.375,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":10,"max":10,"width":14.375,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":11,"max":11,"width":10.25,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false}],"rows":[{"cells":[{"address":"A1","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"B1","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"C1","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"D1","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"E1","value":"Bill of Materials ","type":3,"style":{"font":{"bold":true,"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center","vertical":"middle"}}},{"address":"F1","value":"Field=File Name","type":3,"style":{"font":{"bold":true,"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center","vertical":"middle"}}},{"address":"G1","value":"","type":3,"style":{}},{"address":"H1","value":"","type":3,"style":{}},{"address":"I1","value":"","type":3,"style":{}},{"address":"J1","value":"","type":3,"style":{}},{"address":"K1","value":"","type":3,"style":{}},{"address":"L1","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"right":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":1,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A2","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"B2","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"C2","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"D2","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"E2","type":1,"master":"E1","style":{"font":{"bold":true,"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center","vertical":"middle"}}},{"address":"F2","type":1,"master":"F1","style":{"font":{"bold":true,"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center","vertical":"middle"}}},{"address":"G2","value":"","type":3,"style":{}},{"address":"H2","value":"","type":3,"style":{}},{"address":"I2","value":"","type":3,"style":{}},{"address":"J2","value":"","type":3,"style":{}},{"address":"K2","value":"","type":3,"style":{}},{"address":"L2","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"right":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":2,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A3","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"B3","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"C3","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"D3","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"E3","value":"Project Title\uFF1A","type":3,"style":{"font":{"bold":true,"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"}}},{"address":"F3","value":"Field=Project Title","type":3,"style":{}},{"address":"G3","value":"","type":3,"style":{}},{"address":"H3","value":"","type":3,"style":{}},{"address":"I3","value":"","type":3,"style":{}},{"address":"J3","value":"","type":3,"style":{}},{"address":"K3","value":"","type":3,"style":{}},{"address":"L3","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"right":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":3,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A4","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"B4","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"C4","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"D4","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"E4","value":"Variant:","type":3,"style":{"font":{"bold":true,"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"}}},{"address":"F4","value":"Field=Variant Name","type":3,"style":{}},{"address":"G4","value":"","type":3,"style":{}},{"address":"H4","value":"","type":3,"style":{}},{"address":"I4","value":"","type":3,"style":{}},{"address":"J4","value":"","type":3,"style":{}},{"address":"K4","value":"","type":3,"style":{}},{"address":"L4","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"right":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":4,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A5","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"B5","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"C5","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"D5","type":1,"master":"A1","style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"center"}}},{"address":"E5","value":"Report Time\uFF1A","type":3,"style":{"font":{"bold":true,"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{},"fill":{"type":"pattern","pattern":"none"}}},{"address":"F5","value":"Field=ReportDateTime","type":3,"style":{}},{"address":"G5","value":"","type":3,"style":{}},{"address":"H5","value":"","type":3,"style":{}},{"address":"I5","value":"","type":3,"style":{}},{"address":"J5","value":"","type":3,"style":{}},{"address":"K5","value":"","type":3,"style":{}},{"address":"L5","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"right":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":5,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A6","value":"No.","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B6","value":"Column=Quantity","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"C6","value":"Column=Comment","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"D6","value":"Column=Designator","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"E6","value":"Column=Footprint","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"F6","value":"Column=Value","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"G6","value":"Column=Manufacturer Part","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"H6","value":"Column=Manufacturer","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"I6","value":"Column=Supplier Part","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"J6","value":"Column=Supplier","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"K6","value":"Column=LCSC Price","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}},{"address":"L6","value":"Total","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":2},"bgColor":{"indexed":64}}}}],"number":6,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A7","formula":"ROW()-6","type":6,"result":1,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"left","vertical":"middle"}}},{"address":"B7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"C7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"D7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"E7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"F7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"G7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"H7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"I7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"J7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"K7","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"L7","formula":"B7*K7","type":6,"result":0,"style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}}],"number":7,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A8","formula":"ROW()-6","type":6,"result":2,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"left","vertical":"middle"}}},{"address":"B8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"C8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"D8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"E8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"F8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"G8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"H8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"I8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"J8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"K8","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"L8","formula":"B8*K8","type":6,"result":0,"style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}}],"number":8,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A9","formula":"ROW()-6","type":6,"result":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"left","vertical":"middle"}}},{"address":"B9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"C9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"D9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"E9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"F9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"G9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"H9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"I9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"J9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"K9","value":"","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}},{"address":"L9","formula":"B9*K9","type":6,"result":0,"style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"solid","fgColor":{"theme":8,"tint":0.799981688894314},"bgColor":{"indexed":64}}}}],"number":9,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A10","formula":"ROW()-6","type":6,"result":4,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"left","vertical":"middle"}}},{"address":"B10","formula":"SUM(L7:L9)","type":6,"result":0,"style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"C10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"D10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"E10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"F10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"G10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"H10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"I10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"J10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"K10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}},{"address":"L10","type":1,"master":"B10","style":{"numFmt":"\xA5#,##0.00;\xA5-#,##0.00","font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"},"alignment":{"horizontal":"right"}}}],"number":10,"min":1,"max":12,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false}],"dimensions":{"model":{"top":1,"left":1,"bottom":10,"right":12}},"merges":["B10:L10","E1:E2","F1:F2","A1:D5"]},{"id":2,"name":"Field\u6C47\u603B","dataValidations":{},"properties":{"defaultRowHeight":14.25,"dyDescent":0,"outlineLevelRow":0,"outlineLevelCol":1,"defaultColWidth":9},"state":"visible","pageSetup":{"fitToPage":false,"margins":{"left":0.7,"right":0.7,"top":0.75,"bottom":0.75,"header":0.3,"footer":0.3}},"headerFooter":{},"rowBreaks":[],"views":[{"workbookViewId":0,"rightToLeft":false,"state":"normal","showRuler":true,"showRowColHeaders":true,"showGridLines":true,"zoomScale":220,"zoomScaleNormal":220,"activeCell":"B14"}],"media":[],"tables":[],"conditionalFormattings":[],"cols":[{"min":1,"max":1,"width":23.625,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false},{"min":2,"max":2,"width":57.5,"style":{},"isCustomWidth":true,"hidden":false,"outlineLevel":0,"collapsed":false}],"rows":[{"cells":[{"address":"A1","value":"Project Title","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B1","value":"Field=Project Title","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":1,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A2","value":"Borard Title","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B2","value":"Field=Borard Title","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":2,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A3","value":"Schematic Title","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B3","value":"Field=Schematic Title","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":3,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A4","value":"PCB Title","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B4","value":"Field=PCB Title","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":4,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A5","value":"Variant Name","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B5","value":"Field=Variant Name","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":5,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A6","value":"Total Quantity","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B6","value":"Field=Total Quantity","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":6,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A7","value":"Report Time","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B7","value":"Field=Report Time","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":7,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A8","value":"Report Date","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B8","value":"Field=Report Date","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":8,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A9","value":"Report Date&Time","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B9","value":"Field=ReportDateTime","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":9,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A10","value":"File Name","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B10","value":"Field=File Name","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":10,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false},{"cells":[{"address":"A11","value":"Filter Option","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}},{"address":"B11","value":"Field=Filter Option","type":3,"style":{"font":{"size":11,"color":{"theme":1},"name":"\u7B49\u7EBF","charset":134},"border":{"left":{"style":"thin"},"right":{"style":"thin"},"top":{"style":"thin"},"bottom":{"style":"thin"}},"fill":{"type":"pattern","pattern":"none"}}}],"number":11,"min":1,"max":2,"style":{},"hidden":false,"outlineLevel":0,"collapsed":false}],"dimensions":{"model":{"top":1,"left":1,"bottom":11,"right":2}},"merges":[]}],"definedNames":[],"views":[{"x":0,"y":0,"width":27945,"height":12375,"visibility":"visible"}],"themes":{"theme1":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" standalone=\\"yes\\"?>\\r\\n<a:theme xmlns:a=\\"http://schemas.openxmlformats.org/drawingml/2006/main\\" name=\\"Office Theme\\"><a:themeElements><a:clrScheme name=\\"Office\\"><a:dk1><a:sysClr val=\\"windowText\\" lastClr=\\"000000\\"/></a:dk1><a:lt1><a:sysClr val=\\"window\\" lastClr=\\"FFFFFF\\"/></a:lt1><a:dk2><a:srgbClr val=\\"1F497D\\"/></a:dk2><a:lt2><a:srgbClr val=\\"EEECE1\\"/></a:lt2><a:accent1><a:srgbClr val=\\"4F81BD\\"/></a:accent1><a:accent2><a:srgbClr val=\\"C0504D\\"/></a:accent2><a:accent3><a:srgbClr val=\\"9BBB59\\"/></a:accent3><a:accent4><a:srgbClr val=\\"8064A2\\"/></a:accent4><a:accent5><a:srgbClr val=\\"4BACC6\\"/></a:accent5><a:accent6><a:srgbClr val=\\"F79646\\"/></a:accent6><a:hlink><a:srgbClr val=\\"0000FF\\"/></a:hlink><a:folHlink><a:srgbClr val=\\"800080\\"/></a:folHlink></a:clrScheme><a:fontScheme name=\\"Office\\"><a:majorFont><a:latin typeface=\\"Cambria\\"/><a:ea typeface=\\"\\"/><a:cs typeface=\\"\\"/><a:font script=\\"Jpan\\" typeface=\\"\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF\\"/><a:font script=\\"Hang\\" typeface=\\"\uB9D1\uC740 \uACE0\uB515\\"/><a:font script=\\"Hans\\" typeface=\\"\u5B8B\u4F53\\"/><a:font script=\\"Hant\\" typeface=\\"\u65B0\u7D30\u660E\u9AD4\\"/><a:font script=\\"Arab\\" typeface=\\"Times New Roman\\"/><a:font script=\\"Hebr\\" typeface=\\"Times New Roman\\"/><a:font script=\\"Thai\\" typeface=\\"Tahoma\\"/><a:font script=\\"Ethi\\" typeface=\\"Nyala\\"/><a:font script=\\"Beng\\" typeface=\\"Vrinda\\"/><a:font script=\\"Gujr\\" typeface=\\"Shruti\\"/><a:font script=\\"Khmr\\" typeface=\\"MoolBoran\\"/><a:font script=\\"Knda\\" typeface=\\"Tunga\\"/><a:font script=\\"Guru\\" typeface=\\"Raavi\\"/><a:font script=\\"Cans\\" typeface=\\"Euphemia\\"/><a:font script=\\"Cher\\" typeface=\\"Plantagenet Cherokee\\"/><a:font script=\\"Yiii\\" typeface=\\"Microsoft Yi Baiti\\"/><a:font script=\\"Tibt\\" typeface=\\"Microsoft Himalaya\\"/><a:font script=\\"Thaa\\" typeface=\\"MV Boli\\"/><a:font script=\\"Deva\\" typeface=\\"Mangal\\"/><a:font script=\\"Telu\\" typeface=\\"Gautami\\"/><a:font script=\\"Taml\\" typeface=\\"Latha\\"/><a:font script=\\"Syrc\\" typeface=\\"Estrangelo Edessa\\"/><a:font script=\\"Orya\\" typeface=\\"Kalinga\\"/><a:font script=\\"Mlym\\" typeface=\\"Kartika\\"/><a:font script=\\"Laoo\\" typeface=\\"DokChampa\\"/><a:font script=\\"Sinh\\" typeface=\\"Iskoola Pota\\"/><a:font script=\\"Mong\\" typeface=\\"Mongolian Baiti\\"/><a:font script=\\"Viet\\" typeface=\\"Times New Roman\\"/><a:font script=\\"Uigh\\" typeface=\\"Microsoft Uighur\\"/><a:font script=\\"Geor\\" typeface=\\"Sylfaen\\"/></a:majorFont><a:minorFont><a:latin typeface=\\"Calibri\\"/><a:ea typeface=\\"\\"/><a:cs typeface=\\"\\"/><a:font script=\\"Jpan\\" typeface=\\"\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF\\"/><a:font script=\\"Hang\\" typeface=\\"\uB9D1\uC740 \uACE0\uB515\\"/><a:font script=\\"Hans\\" typeface=\\"\u5B8B\u4F53\\"/><a:font script=\\"Hant\\" typeface=\\"\u65B0\u7D30\u660E\u9AD4\\"/><a:font script=\\"Arab\\" typeface=\\"Arial\\"/><a:font script=\\"Hebr\\" typeface=\\"Arial\\"/><a:font script=\\"Thai\\" typeface=\\"Tahoma\\"/><a:font script=\\"Ethi\\" typeface=\\"Nyala\\"/><a:font script=\\"Beng\\" typeface=\\"Vrinda\\"/><a:font script=\\"Gujr\\" typeface=\\"Shruti\\"/><a:font script=\\"Khmr\\" typeface=\\"DaunPenh\\"/><a:font script=\\"Knda\\" typeface=\\"Tunga\\"/><a:font script=\\"Guru\\" typeface=\\"Raavi\\"/><a:font script=\\"Cans\\" typeface=\\"Euphemia\\"/><a:font script=\\"Cher\\" typeface=\\"Plantagenet Cherokee\\"/><a:font script=\\"Yiii\\" typeface=\\"Microsoft Yi Baiti\\"/><a:font script=\\"Tibt\\" typeface=\\"Microsoft Himalaya\\"/><a:font script=\\"Thaa\\" typeface=\\"MV Boli\\"/><a:font script=\\"Deva\\" typeface=\\"Mangal\\"/><a:font script=\\"Telu\\" typeface=\\"Gautami\\"/><a:font script=\\"Taml\\" typeface=\\"Latha\\"/><a:font script=\\"Syrc\\" typeface=\\"Estrangelo Edessa\\"/><a:font script=\\"Orya\\" typeface=\\"Kalinga\\"/><a:font script=\\"Mlym\\" typeface=\\"Kartika\\"/><a:font script=\\"Laoo\\" typeface=\\"DokChampa\\"/><a:font script=\\"Sinh\\" typeface=\\"Iskoola Pota\\"/><a:font script=\\"Mong\\" typeface=\\"Mongolian Baiti\\"/><a:font script=\\"Viet\\" typeface=\\"Arial\\"/><a:font script=\\"Uigh\\" typeface=\\"Microsoft Uighur\\"/><a:font script=\\"Geor\\" typeface=\\"Sylfaen\\"/></a:minorFont></a:fontScheme><a:fmtScheme name=\\"Office\\"><a:fillStyleLst><a:solidFill><a:schemeClr val=\\"phClr\\"/></a:solidFill><a:gradFill rotWithShape=\\"1\\"><a:gsLst><a:gs pos=\\"0\\"><a:schemeClr val=\\"phClr\\"><a:tint val=\\"50000\\"/><a:satMod val=\\"300000\\"/></a:schemeClr></a:gs><a:gs pos=\\"35000\\"><a:schemeClr val=\\"phClr\\"><a:tint val=\\"37000\\"/><a:satMod val=\\"300000\\"/></a:schemeClr></a:gs><a:gs pos=\\"100000\\"><a:schemeClr val=\\"phClr\\"><a:tint val=\\"15000\\"/><a:satMod val=\\"350000\\"/></a:schemeClr></a:gs></a:gsLst><a:lin ang=\\"16200000\\" scaled=\\"1\\"/></a:gradFill><a:gradFill rotWithShape=\\"1\\"><a:gsLst><a:gs pos=\\"0\\"><a:schemeClr val=\\"phClr\\"><a:tint val=\\"100000\\"/><a:shade val=\\"100000\\"/><a:satMod val=\\"130000\\"/></a:schemeClr></a:gs><a:gs pos=\\"100000\\"><a:schemeClr val=\\"phClr\\"><a:tint val=\\"50000\\"/><a:shade val=\\"100000\\"/><a:satMod val=\\"350000\\"/></a:schemeClr></a:gs></a:gsLst><a:lin ang=\\"16200000\\" scaled=\\"0\\"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w=\\"9525\\" cap=\\"flat\\" cmpd=\\"sng\\" algn=\\"ctr\\"><a:solidFill><a:schemeClr val=\\"phClr\\"><a:shade val=\\"95000\\"/><a:satMod val=\\"105000\\"/></a:schemeClr></a:solidFill><a:prstDash val=\\"solid\\"/></a:ln><a:ln w=\\"25400\\" cap=\\"flat\\" cmpd=\\"sng\\" algn=\\"ctr\\"><a:solidFill><a:schemeClr val=\\"phClr\\"/></a:solidFill><a:prstDash val=\\"solid\\"/></a:ln><a:ln w=\\"38100\\" cap=\\"flat\\" cmpd=\\"sng\\" algn=\\"ctr\\"><a:solidFill><a:schemeClr val=\\"phClr\\"/></a:solidFill><a:prstDash val=\\"solid\\"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst><a:outerShdw blurRad=\\"40000\\" dist=\\"20000\\" dir=\\"5400000\\" rotWithShape=\\"0\\"><a:srgbClr val=\\"000000\\"><a:alpha val=\\"38000\\"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad=\\"40000\\" dist=\\"23000\\" dir=\\"5400000\\" rotWithShape=\\"0\\"><a:srgbClr val=\\"000000\\"><a:alpha val=\\"35000\\"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad=\\"40000\\" dist=\\"23000\\" dir=\\"5400000\\" rotWithShape=\\"0\\"><a:srgbClr val=\\"000000\\"><a:alpha val=\\"35000\\"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst=\\"orthographicFront\\"><a:rot lat=\\"0\\" lon=\\"0\\" rev=\\"0\\"/></a:camera><a:lightRig rig=\\"threePt\\" dir=\\"t\\"><a:rot lat=\\"0\\" lon=\\"0\\" rev=\\"1200000\\"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT w=\\"63500\\" h=\\"25400\\"/></a:sp3d></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val=\\"phClr\\"/></a:solidFill><a:gradFill rotWithShape=\\"1\\"><a:gsLst><a:gs pos=\\"0\\"><a:schemeClr val=\\"phClr\\"><a:tint val=\\"40000\\"/><a:satMod val=\\"350000\\"/></a:schemeClr></a:gs><a:gs pos=\\"40000\\"><a:schemeClr val=\\"phClr\\"><a:tint val=\\"45000\\"/><a:shade val=\\"99000\\"/><a:satMod val=\\"350000\\"/></a:schemeClr></a:gs><a:gs pos=\\"100000\\"><a:schemeClr val=\\"phClr\\"><a:shade val=\\"20000\\"/><a:satMod val=\\"255000\\"/></a:schemeClr></a:gs></a:gsLst><a:path path=\\"circle\\"><a:fillToRect l=\\"50000\\" t=\\"-80000\\" r=\\"50000\\" b=\\"180000\\"/></a:path></a:gradFill><a:gradFill rotWithShape=\\"1\\"><a:gsLst><a:gs pos=\\"0\\"><a:schemeClr val=\\"phClr\\"><a:tint val=\\"80000\\"/><a:satMod val=\\"300000\\"/></a:schemeClr></a:gs><a:gs pos=\\"100000\\"><a:schemeClr val=\\"phClr\\"><a:shade val=\\"30000\\"/><a:satMod val=\\"200000\\"/></a:schemeClr></a:gs></a:gsLst><a:path path=\\"circle\\"><a:fillToRect l=\\"50000\\" t=\\"50000\\" r=\\"50000\\" b=\\"50000\\"/></a:path></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults><a:spDef><a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx=\\"1\\"><a:schemeClr val=\\"accent1\\"/></a:lnRef><a:fillRef idx=\\"3\\"><a:schemeClr val=\\"accent1\\"/></a:fillRef><a:effectRef idx=\\"2\\"><a:schemeClr val=\\"accent1\\"/></a:effectRef><a:fontRef idx=\\"minor\\"><a:schemeClr val=\\"lt1\\"/></a:fontRef></a:style></a:spDef><a:lnDef><a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx=\\"2\\"><a:schemeClr val=\\"accent1\\"/></a:lnRef><a:fillRef idx=\\"0\\"><a:schemeClr val=\\"accent1\\"/></a:fillRef><a:effectRef idx=\\"1\\"><a:schemeClr val=\\"accent1\\"/></a:effectRef><a:fontRef idx=\\"minor\\"><a:schemeClr val=\\"tx1\\"/></a:fontRef></a:style></a:lnDef></a:objectDefaults></a:theme>"},"media":[{"type":"image","name":"image1","extension":"png","buffer":{"type":"Buffer","data":[137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,4,96,0,0,0,188,8,6,0,0,0,55,189,216,238,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,4,103,65,77,65,0,0,177,143,11,252,97,5,0,0,0,9,112,72,89,115,0,0,59,14,0,0,59,14,1,204,182,161,131,0,0,90,117,73,68,65,84,120,94,237,189,11,184,44,87,85,239,11,200,245,162,188,46,7,174,160,230,8,104,120,9,194,17,56,26,53,18,17,84,84,142,143,35,91,146,221,213,189,16,52,68,69,14,8,28,80,209,165,114,32,123,247,172,222,73,8,239,136,17,35,6,18,53,8,104,60,114,112,41,32,32,136,139,167,200,75,69,132,0,193,199,37,36,171,171,122,187,250,142,81,61,86,178,119,175,177,122,245,172,154,53,31,85,255,223,247,253,63,30,123,245,152,143,170,154,143,49,199,156,243,86,0,108,92,52,255,127,142,142,139,255,146,229,211,31,25,142,167,79,27,152,226,87,179,124,118,17,107,104,202,203,73,215,12,243,98,171,18,255,247,133,46,231,127,231,191,101,241,239,178,113,241,132,129,217,249,46,49,11,0,0,0,0,0,0,0,0,0,208,63,216,209,194,78,150,202,97,82,57,84,202,237,204,20,255,70,255,57,111,71,149,195,230,242,133,67,103,250,35,156,190,100,5,0,0,0,0,0,0,0,0,0,32,125,216,217,193,209,40,123,206,150,204,148,255,160,59,73,252,170,114,248,112,84,205,120,250,52,142,186,145,236,2,0,0,0,0,0,0,0,0,0,164,193,94,132,75,181,61,168,213,200,22,199,50,229,53,188,125,73,138,1,0,0,0,0,0,0,0,0,0,16,23,139,72,23,142,114,105,123,59,145,39,193,25,3,0,0,0,0,0,0,0,0,128,24,216,219,94,84,57,43,186,224,116,57,72,112,198,0,0,0,0,0,0,0,0,0,192,55,27,23,238,220,171,186,157,168,203,78,151,3,196,229,198,33,190,0,0,0,0,0,0,0,0,0,104,13,142,118,233,171,227,101,89,149,35,230,194,157,123,73,213,0,0,0,0,0,0,0,0,0,0,52,163,218,102,148,151,219,203,78,8,136,132,237,73,0,0,0,0,0,0,0,0,0,104,2,28,47,54,42,182,16,17,3,0,0,0,0,0,0,0,0,128,181,57,58,46,254,11,71,118,232,142,6,104,165,76,121,57,28,49,0,0,0,0,0,0,0,0,0,56,16,62,92,22,103,188,184,17,215,163,84,43,0,0,0,0,0,0,0,0,0,192,2,62,199,4,142,23,247,194,249,48,0,0,0,0,0,0,0,0,0,192,118,35,63,218,198,182,36,0,0,0,0,0,0,0,0,160,167,12,199,211,167,33,234,197,163,168,190,165,234,1,0,0,0,0,0,0,0,0,208,117,16,245,18,84,136,134,1,0,0,0,0,0,0,0,0,186,14,95,45,141,168,151,8,132,104,24,0,0,0,0,0,0,0,0,160,123,236,221,112,164,58,3,160,32,194,77,73,160,171,100,166,120,208,48,159,62,135,175,101,111,164,188,60,91,76,2,96,5,71,122,214,149,152,0,0,0,0,0,0,192,30,118,190,208,100,6,91,142,226,212,54,63,31,121,84,0,36,15,223,252,53,204,139,153,242,174,91,139,35,246,196,44,0,107,209,244,108,179,204,148,255,32,166,0,0,0,0,0,0,176,131,87,243,120,64,169,13,52,161,56,196,147,5,172,186,130,46,144,77,118,206,116,229,124,97,157,151,207,239,38,166,1,56,20,118,190,104,239,145,157,138,45,49,7,0,0,0,0,0,192,250,224,188,151,196,132,115,97,64,226,12,243,217,243,212,119,187,142,76,113,189,152,5,224,80,170,109,182,46,250,59,83,94,46,38,65,132,240,115,230,5,139,106,124,147,79,127,164,210,184,120,130,115,145,93,78,131,133,131,243,1,0,0,0,112,40,112,190,36,42,56,97,64,194,208,59,124,229,190,119,186,166,178,188,248,99,49,11,192,161,240,164,89,123,143,172,133,54,56,26,216,217,178,112,130,20,191,202,145,73,17,68,243,110,87,103,83,209,59,130,173,195,0,0,0,0,184,153,106,245,6,206,151,116,133,9,0,72,20,106,119,222,166,190,211,117,100,102,23,139,89,0,14,197,213,33,243,28,249,32,38,65,32,22,209,45,179,139,162,223,62,109,202,107,120,188,37,217,238,52,89,94,188,148,157,96,77,181,145,79,239,47,38,131,80,109,203,223,139,114,130,86,138,191,195,144,219,227,57,242,76,203,151,83,237,69,209,157,18,241,182,87,110,78,31,142,86,0,192,90,240,228,29,206,151,244,197,29,131,60,82,0,146,129,222,221,127,92,126,151,235,42,203,203,159,21,179,0,28,138,171,131,230,177,221,36,28,60,241,89,76,212,245,103,19,177,182,187,222,103,211,115,249,123,165,220,214,26,141,119,190,65,76,6,129,199,200,90,190,160,67,100,202,203,125,183,141,139,246,64,201,75,32,241,220,106,225,20,166,54,138,251,27,170,147,42,58,143,222,169,61,199,141,100,29,0,208,39,186,208,177,44,26,184,202,129,180,189,215,200,85,43,97,188,186,201,206,37,26,228,236,53,116,149,215,90,188,216,139,6,144,26,194,234,234,218,36,7,112,251,4,39,12,72,137,209,100,247,107,179,188,248,15,237,93,174,163,209,137,217,247,138,105,0,14,197,85,180,132,152,3,30,225,85,230,69,223,173,63,147,100,68,227,21,41,82,167,24,77,110,252,218,161,41,78,170,101,182,16,245,15,215,29,217,156,127,185,152,13,66,39,222,179,144,242,232,136,73,123,78,179,152,191,240,188,132,231,42,112,236,167,203,57,155,243,219,242,179,92,204,45,29,202,148,23,72,18,32,101,42,71,68,130,145,47,139,60,23,91,220,72,177,83,197,117,184,31,55,124,139,70,156,95,120,61,15,49,11,78,24,144,10,131,73,121,150,246,14,215,18,13,246,51,179,123,111,49,13,192,74,170,9,188,246,30,217,107,91,76,2,79,84,139,41,157,186,169,177,123,183,104,13,199,229,183,233,101,181,85,241,46,49,25,140,84,199,130,49,137,199,237,62,182,38,117,210,89,118,243,162,242,244,71,176,189,41,13,134,102,250,12,245,89,54,20,245,123,111,144,36,64,170,84,123,90,19,113,190,156,234,112,169,246,88,122,110,128,120,176,151,154,67,6,78,24,144,2,195,113,113,68,123,127,235,40,203,203,191,21,179,0,28,10,247,37,218,123,100,173,142,70,48,196,74,218,43,220,43,181,221,165,201,21,141,151,30,175,148,177,142,126,79,76,6,163,91,206,190,176,106,219,9,179,136,58,208,211,238,138,248,125,220,115,200,72,177,65,68,12,243,221,251,210,120,244,175,181,103,215,84,28,17,56,184,100,247,12,73,10,164,70,58,206,151,98,43,54,143,111,181,106,154,136,51,6,78,152,116,56,47,159,223,77,123,134,16,116,138,62,69,157,250,213,153,217,121,202,198,230,252,118,242,234,128,154,112,251,168,212,177,181,120,32,44,38,65,203,84,91,134,149,103,208,29,117,39,18,134,38,194,207,210,203,104,39,154,112,4,253,190,170,49,159,146,47,168,158,120,238,209,230,152,190,151,206,50,142,144,193,120,63,26,134,45,247,83,112,188,37,10,239,41,140,185,129,170,28,67,166,188,188,109,47,185,11,170,186,228,115,102,148,114,196,34,142,222,145,236,130,136,25,30,159,254,128,246,252,32,72,83,150,151,175,27,29,223,121,164,188,62,160,6,174,218,110,12,124,253,16,123,95,235,74,93,113,232,209,36,228,69,90,249,106,232,231,197,100,16,156,69,202,65,183,168,197,168,65,53,189,62,137,234,22,227,254,112,108,228,229,195,104,142,253,17,245,217,56,211,236,121,146,28,72,133,133,39,63,214,200,13,202,215,120,250,180,152,162,93,108,224,188,199,232,216,170,86,27,112,144,87,244,112,84,131,246,252,32,232,32,85,223,118,224,235,89,83,134,7,170,90,189,218,10,171,81,237,211,225,109,71,170,186,48,129,162,49,221,235,181,178,89,107,82,28,17,147,65,224,239,91,205,23,212,72,109,44,178,242,88,87,75,171,167,234,252,45,107,49,66,227,178,137,242,44,220,202,20,215,74,114,32,21,226,92,65,42,182,82,136,118,89,151,56,29,49,221,59,224,175,107,208,51,186,84,127,118,16,180,82,175,146,87,8,88,226,170,157,134,131,187,93,120,2,92,69,198,42,117,223,85,241,187,41,197,79,150,161,41,223,171,149,205,86,124,80,187,152,12,66,223,156,127,222,100,202,203,165,138,157,81,157,215,168,165,213,111,193,17,227,137,129,153,125,215,208,20,159,81,158,129,91,153,226,250,141,139,48,238,72,134,216,58,145,106,64,69,121,74,53,226,229,48,162,235,180,91,232,236,128,59,232,123,120,171,250,220,32,232,16,101,227,157,199,200,107,4,214,196,213,185,14,93,152,40,199,204,98,203,116,191,156,47,123,74,121,210,244,196,227,187,119,28,230,197,191,106,229,178,146,41,78,242,117,214,98,54,8,60,118,82,243,6,53,18,127,215,82,197,206,224,111,70,75,11,170,180,141,197,130,118,161,241,192,43,148,122,111,69,3,51,125,156,36,11,218,132,7,139,252,225,112,164,8,139,189,188,213,170,16,53,54,44,254,223,44,254,55,237,3,171,254,62,166,65,140,41,175,233,67,67,80,13,242,35,234,188,17,42,31,39,71,174,154,127,25,125,159,159,208,158,25,4,29,174,226,132,188,74,96,77,184,175,212,235,210,86,136,46,108,19,174,95,189,222,187,175,54,38,168,190,24,157,40,30,168,149,201,86,84,7,193,29,156,60,94,213,242,6,53,151,235,5,216,238,31,210,221,92,93,57,99,42,54,50,51,251,111,67,83,220,160,213,121,27,162,182,241,66,73,26,52,133,27,34,30,20,86,251,77,121,27,203,98,187,208,118,93,199,73,21,94,205,29,135,41,47,175,107,163,5,109,247,209,9,16,75,52,12,191,7,252,142,73,182,64,36,240,57,30,218,243,130,160,117,148,229,229,171,229,85,114,74,229,224,167,126,168,139,114,53,169,226,126,86,179,31,187,120,162,194,11,51,174,39,64,46,137,46,138,52,128,82,141,130,113,118,168,188,41,222,34,38,131,81,141,165,181,188,65,141,229,122,60,10,103,217,250,74,181,109,137,147,249,173,233,221,251,93,173,158,219,82,150,23,111,146,196,129,45,60,240,225,1,208,98,144,81,108,69,228,36,113,174,170,108,84,206,152,7,123,109,35,43,174,219,203,117,227,91,8,153,143,143,97,62,123,172,246,172,32,104,45,141,139,55,203,171,228,20,12,102,123,163,232,206,8,232,243,214,163,83,197,117,32,85,146,20,212,118,92,160,149,199,86,153,153,182,226,92,182,65,203,23,228,70,60,7,146,106,118,2,217,12,62,198,78,76,219,125,158,151,185,130,198,96,71,149,186,109,91,255,154,77,118,206,148,44,128,195,224,23,157,7,58,93,119,184,156,42,158,240,187,110,100,83,134,6,38,225,183,36,209,196,74,178,3,34,96,48,158,254,188,250,156,32,104,29,181,116,190,83,159,183,127,244,82,227,233,211,228,209,7,39,138,126,50,18,165,24,53,76,109,199,11,180,178,216,42,51,179,160,97,246,238,182,42,66,154,92,31,69,128,104,37,123,241,92,20,145,241,245,25,92,178,123,167,108,82,190,65,171,219,246,117,242,241,146,13,160,113,115,164,11,77,122,123,184,162,131,67,159,20,98,8,173,198,121,48,241,128,125,203,80,19,13,198,69,38,175,146,83,48,152,237,159,98,232,23,170,109,216,74,222,122,43,135,14,214,141,205,249,237,22,142,213,230,90,117,248,55,229,249,119,212,178,216,202,148,63,35,38,131,80,141,221,181,124,65,78,228,114,126,192,182,180,52,160,245,132,57,65,61,70,147,242,201,90,125,122,145,41,140,100,3,156,10,55,220,213,126,235,222,134,209,22,91,8,109,59,24,246,56,135,156,224,164,26,218,220,69,134,249,244,57,218,51,130,160,195,68,109,200,135,143,188,104,126,7,121,149,156,2,7,76,255,20,186,95,224,49,3,229,3,219,8,78,145,203,103,66,223,244,183,106,105,212,210,100,250,3,98,118,31,195,124,246,22,245,55,150,226,131,45,197,100,16,112,14,81,171,218,150,106,118,2,162,149,154,139,23,3,165,58,193,26,240,13,109,52,207,255,115,173,46,125,40,163,121,182,100,5,48,123,209,46,90,101,245,69,236,120,130,243,101,61,66,190,43,104,108,227,96,227,162,106,224,240,129,229,231,3,65,43,101,202,247,143,78,204,190,87,94,35,231,168,105,66,157,87,200,243,96,48,225,213,229,42,82,128,250,252,31,215,236,215,209,192,76,191,81,204,238,35,51,197,39,181,223,216,106,35,240,214,8,106,99,177,21,174,37,185,30,127,46,142,119,208,211,130,108,132,73,253,186,100,121,249,76,189,14,253,40,203,139,47,14,46,218,189,159,100,167,191,72,168,98,175,87,110,170,104,159,136,246,145,167,66,200,78,30,91,196,226,128,195,185,171,239,71,121,70,16,180,44,234,248,175,110,243,0,54,132,115,247,87,161,162,96,248,157,115,221,6,114,20,23,79,244,120,117,156,23,133,218,90,24,170,242,206,91,167,218,234,203,29,141,171,40,127,207,82,237,91,171,248,220,249,47,159,127,165,152,61,141,225,177,155,190,78,255,141,173,138,47,13,95,176,123,87,49,27,4,170,47,28,68,222,130,248,59,119,125,238,8,156,183,238,196,237,38,22,209,87,115,222,226,246,210,247,44,215,157,111,101,121,49,144,44,245,15,56,94,22,226,6,21,123,8,235,195,94,103,173,94,219,23,188,221,177,48,56,118,227,25,153,217,121,10,13,250,46,171,6,242,29,22,181,23,111,213,223,199,218,186,86,75,167,83,154,204,12,175,242,241,181,229,242,202,180,6,206,62,232,183,66,56,230,57,114,86,203,75,125,133,217,6,221,210,183,227,100,187,6,13,214,95,172,216,182,22,181,223,127,37,38,247,65,255,126,246,242,223,215,17,111,175,20,147,193,192,54,204,150,68,253,153,84,177,51,170,62,82,75,11,170,43,167,91,196,186,6,245,87,191,166,212,153,119,81,91,124,145,100,169,63,112,199,222,239,51,94,78,87,108,215,88,166,72,40,39,12,28,103,192,55,67,51,123,190,246,46,214,213,224,248,20,97,152,14,65,56,119,191,229,187,79,112,239,180,8,123,6,93,27,147,65,23,229,161,122,121,163,102,187,134,94,43,38,247,49,156,56,186,146,213,20,127,42,38,131,129,241,189,123,181,21,93,65,223,28,162,149,156,11,11,180,26,3,83,254,87,170,159,143,238,175,175,16,42,222,34,217,234,62,149,227,133,6,167,104,152,111,17,59,162,164,122,64,3,248,221,162,250,244,30,77,197,239,178,100,1,0,47,240,22,26,237,93,172,163,24,86,74,187,6,194,185,251,45,118,136,200,171,224,5,151,139,15,220,159,133,190,86,85,250,114,53,127,117,229,98,145,139,236,184,57,107,204,204,142,139,201,125,208,191,59,57,84,158,218,245,87,138,201,32,96,27,166,123,241,183,217,150,115,23,209,74,109,9,78,152,101,168,78,78,232,117,21,64,166,184,105,116,162,120,160,100,173,187,200,41,219,56,161,255,20,193,249,226,150,80,78,24,28,200,11,124,146,229,229,251,180,247,176,150,76,121,141,152,5,142,224,246,64,173,107,168,23,242,185,5,201,185,179,47,146,115,232,92,58,149,42,53,220,182,193,231,169,208,4,248,6,213,182,165,6,102,231,192,235,161,179,188,120,169,246,27,107,5,30,147,96,27,166,91,181,233,124,105,195,225,9,157,34,140,177,110,38,51,59,223,77,227,215,235,212,122,10,37,83,108,72,246,186,9,119,234,220,128,168,133,239,173,112,213,116,27,112,157,250,126,215,56,189,16,251,254,65,255,24,94,60,255,58,26,164,239,104,239,97,61,21,199,196,52,112,68,27,91,40,160,100,228,109,239,191,251,190,46,158,213,90,215,219,248,184,158,196,116,45,6,39,138,135,106,118,107,233,248,193,87,80,83,62,255,72,253,141,181,78,62,81,76,6,1,219,48,93,138,230,10,45,142,47,113,5,117,251,194,98,251,130,140,207,104,84,234,39,164,168,205,125,161,100,175,91,84,158,85,12,70,53,109,195,249,210,30,220,89,185,29,152,174,161,72,86,14,65,183,25,142,103,143,86,223,191,154,202,114,156,63,229,26,94,241,210,234,26,234,190,124,70,67,242,160,94,203,67,93,249,222,58,181,138,106,236,168,228,177,137,154,76,98,135,102,250,223,53,155,117,180,234,10,106,250,119,39,219,156,232,221,248,30,49,25,4,108,195,116,161,98,139,235,177,237,185,2,71,214,232,233,67,46,229,98,27,100,202,208,187,252,195,244,78,127,73,171,155,144,162,49,240,219,37,139,221,129,59,115,236,43,220,47,118,12,132,222,99,221,7,124,135,192,54,93,97,3,96,29,104,114,255,51,218,251,87,91,227,242,219,196,52,112,68,53,112,214,234,26,234,180,120,188,227,43,18,210,117,255,22,227,10,173,243,241,99,131,69,18,202,203,211,85,155,214,42,62,119,254,166,126,5,245,98,193,178,248,255,244,223,217,201,199,109,111,171,240,230,132,230,5,222,142,136,191,193,106,251,42,189,167,62,231,8,112,150,249,83,95,231,126,155,155,243,219,100,102,250,26,173,78,66,139,230,110,101,54,41,30,34,89,77,31,254,160,189,71,32,36,34,220,154,227,15,215,43,132,135,169,239,30,238,24,25,228,197,79,106,131,157,100,229,254,140,163,43,212,116,98,23,245,49,131,73,121,214,198,230,252,118,242,168,163,161,202,159,94,215,80,71,197,227,29,95,125,251,34,58,196,237,193,187,49,70,228,186,238,191,217,161,35,166,173,25,154,226,98,205,166,173,168,174,15,188,130,122,52,46,30,172,253,198,86,89,94,126,33,51,187,183,23,179,65,240,225,132,110,242,60,193,45,248,234,175,86,57,167,185,253,225,127,103,177,147,162,90,192,167,246,180,18,141,171,43,199,84,149,207,180,23,55,250,250,206,102,249,201,129,86,31,241,168,8,186,101,211,25,56,128,112,133,168,1,145,106,2,158,160,122,247,118,40,47,6,4,241,145,77,202,55,104,207,10,234,138,138,119,102,121,49,144,199,29,5,88,81,236,151,42,231,139,71,231,187,243,247,139,236,137,233,168,104,99,107,68,221,8,37,122,198,175,211,236,213,208,129,87,80,103,102,250,223,148,191,175,35,111,231,16,29,4,143,133,148,124,57,22,110,152,113,1,205,75,188,68,43,185,142,14,172,218,7,110,11,19,219,242,27,99,180,97,155,156,127,108,126,103,106,63,29,157,109,213,146,76,241,18,201,110,154,44,194,39,177,242,119,144,98,93,101,234,58,220,232,107,207,163,45,97,123,89,92,208,228,60,174,19,215,161,22,84,204,168,239,185,64,30,121,20,80,190,112,227,95,47,84,108,249,108,243,185,63,227,177,132,158,151,58,138,247,50,128,106,76,169,230,185,190,234,58,202,50,87,223,179,41,14,188,130,154,210,248,89,245,55,214,42,94,47,38,131,224,109,204,133,5,77,39,248,112,150,249,88,156,172,182,101,38,226,144,225,188,74,182,59,15,143,205,180,58,136,75,197,187,36,187,233,33,206,23,28,60,184,74,145,174,50,245,1,30,116,169,207,164,13,97,80,16,13,153,217,189,55,13,120,79,170,207,9,234,148,104,128,247,183,28,194,47,143,62,10,120,165,203,207,74,48,228,75,11,231,71,177,85,61,219,0,91,78,185,127,209,242,85,87,177,79,4,184,174,181,124,215,22,141,83,197,244,218,28,57,246,175,119,166,124,252,171,106,207,82,89,94,254,180,152,221,7,59,103,180,223,216,42,203,139,23,139,201,32,176,67,82,203,151,107,245,45,146,160,45,180,186,117,47,255,209,74,60,231,138,181,255,229,126,68,178,217,105,6,199,118,207,160,118,237,45,90,29,196,36,106,51,255,227,104,94,62,76,178,157,14,112,190,172,35,132,74,134,198,103,67,236,58,212,18,212,131,207,8,209,158,15,212,77,101,102,250,92,121,244,0,116,14,215,91,114,82,152,192,186,94,60,169,51,241,113,117,54,11,107,100,102,223,47,102,247,65,255,126,229,242,223,215,211,244,57,98,50,8,190,22,188,248,123,144,36,65,77,124,57,203,66,46,76,86,237,102,140,187,51,106,56,131,83,131,202,248,44,181,236,17,42,203,203,243,37,219,105,0,231,203,225,226,14,191,79,225,102,177,82,133,39,42,207,167,29,193,225,22,3,188,218,168,63,31,168,147,66,244,25,232,40,178,29,199,217,182,54,30,151,176,77,49,31,45,82,110,181,12,117,101,187,101,44,51,51,87,103,179,204,135,23,237,62,64,204,238,99,104,102,127,169,254,198,82,161,207,196,170,182,129,40,249,114,45,108,247,110,142,175,113,113,12,206,94,126,95,98,139,136,233,178,19,113,120,209,244,1,84,223,201,108,197,166,188,190,66,178,30,63,112,190,172,39,62,148,88,170,12,4,198,247,251,202,157,14,6,9,225,24,77,138,137,246,92,160,142,10,14,24,208,81,156,95,110,144,208,150,104,215,147,38,219,49,217,48,223,249,57,205,78,13,125,246,113,147,221,175,16,179,167,113,228,200,252,203,50,83,252,179,242,27,107,13,78,148,223,41,102,131,192,237,176,150,47,215,66,164,113,115,124,57,203,98,114,52,248,42,243,58,234,242,86,164,209,100,246,235,90,153,35,214,123,184,29,150,236,199,13,79,46,149,2,64,167,136,7,14,41,172,50,245,133,54,86,211,214,212,118,136,243,2,250,14,213,251,181,75,207,1,234,180,102,207,147,71,15,64,103,232,211,193,187,26,174,199,154,182,147,158,44,47,114,205,142,189,102,239,20,147,251,200,204,206,189,245,223,216,139,158,109,80,199,132,143,133,46,30,91,75,114,160,1,190,230,113,177,237,2,136,41,128,160,139,115,131,209,164,252,22,106,55,63,174,149,55,102,113,190,165,8,241,18,147,7,49,102,33,250,37,62,124,173,206,28,36,238,240,176,114,227,7,26,104,199,125,245,29,228,84,217,120,231,49,242,232,1,232,12,174,39,10,169,109,137,118,125,246,13,203,166,15,206,242,242,106,205,134,189,166,7,94,65,61,156,148,231,232,191,177,83,102,202,127,62,114,85,216,85,92,215,17,75,7,40,248,85,219,93,192,151,19,34,214,49,175,243,200,194,26,234,162,51,49,203,139,52,3,52,76,249,51,82,132,56,73,213,249,34,43,72,219,188,250,83,53,58,11,209,100,156,79,217,47,182,92,119,26,156,30,38,218,241,17,48,10,230,116,209,187,135,247,163,93,168,142,47,83,235,30,234,156,168,253,126,131,60,118,0,58,131,107,231,3,47,0,136,233,100,104,165,207,182,216,130,69,227,195,119,169,54,108,181,226,10,106,250,183,161,250,27,91,153,226,29,98,50,24,106,190,92,11,219,77,157,224,195,89,102,27,113,230,27,191,231,67,234,234,82,20,204,32,159,61,138,218,204,207,105,229,140,93,131,241,244,55,165,24,241,177,56,196,200,101,40,108,59,170,26,21,118,176,80,39,203,121,182,13,183,173,62,72,250,173,132,231,213,59,68,8,29,68,180,240,179,81,159,89,8,89,12,4,129,29,217,100,231,204,20,218,43,168,153,178,188,120,247,145,23,205,239,32,143,29,244,20,238,235,185,239,118,33,49,25,20,113,60,184,61,120,55,81,167,255,98,161,76,47,87,45,209,248,80,76,175,228,252,151,207,191,146,234,237,243,170,13,75,173,188,130,58,47,127,105,249,239,107,201,148,87,137,201,32,240,55,168,230,203,177,82,116,36,198,136,15,7,12,41,250,104,165,208,115,91,126,14,146,149,228,161,242,252,198,114,249,82,17,181,209,239,59,114,213,252,203,165,40,241,224,122,48,224,94,197,22,135,147,241,135,36,89,118,138,237,85,102,177,12,226,192,126,120,16,170,61,179,128,218,110,235,189,237,59,149,19,38,47,175,134,35,166,99,50,197,245,28,245,130,179,149,0,115,206,230,252,182,206,190,113,122,183,196,108,80,92,135,199,167,188,37,218,245,213,198,252,174,136,233,149,240,173,69,218,239,235,104,213,21,212,212,150,189,66,251,141,173,168,92,19,49,25,132,54,182,139,105,138,233,80,215,84,241,54,14,94,211,217,25,26,174,143,160,78,152,14,140,101,228,251,191,113,185,108,41,137,230,11,223,46,197,137,7,95,135,53,217,136,189,134,109,58,93,14,98,177,13,107,213,138,12,174,33,142,29,79,158,127,59,97,91,18,0,189,100,116,98,247,129,106,155,96,173,233,47,139,201,94,49,28,207,126,88,175,143,26,50,211,151,139,217,96,184,94,145,229,254,206,54,18,56,38,218,216,134,180,206,184,113,100,166,223,175,253,182,150,46,154,30,120,5,53,61,235,63,81,127,99,171,113,25,52,162,118,49,54,86,242,229,88,88,224,108,14,215,161,86,183,174,149,82,180,18,183,9,90,25,124,136,219,104,201,70,146,240,217,83,84,142,215,46,151,43,53,101,102,250,84,41,82,28,248,106,84,215,85,53,48,161,60,133,30,80,84,30,100,37,42,6,222,249,248,113,189,162,230,84,216,150,4,64,175,24,190,96,247,174,212,175,149,106,123,96,161,44,47,94,44,38,123,197,208,204,142,107,245,81,71,217,164,24,137,217,96,184,222,114,211,137,213,85,199,139,38,235,68,4,209,248,238,2,237,183,214,50,197,129,87,80,51,89,94,254,173,250,59,75,101,227,233,143,137,201,32,216,68,137,55,17,22,170,154,227,107,12,156,90,219,227,203,49,165,41,229,185,163,179,115,172,194,235,85,82,164,240,132,14,203,58,85,177,56,94,150,169,188,166,210,241,164,190,210,212,23,218,88,81,115,41,236,113,6,160,95,208,36,236,147,90,91,96,163,44,47,126,95,204,245,10,42,247,219,180,250,176,22,77,148,71,227,221,111,16,179,65,112,63,49,234,70,68,174,235,40,108,30,79,138,233,3,201,204,236,66,237,183,246,42,14,188,130,122,120,233,238,93,233,223,191,164,255,206,78,163,99,55,6,189,70,149,198,193,184,130,58,17,124,45,172,167,232,84,144,173,52,106,121,90,85,34,219,181,150,225,249,20,245,193,127,172,150,41,61,125,136,207,254,146,162,133,197,245,74,76,29,85,142,151,4,182,103,84,97,195,136,126,73,6,95,171,53,245,133,173,108,0,244,5,234,231,254,74,111,7,44,100,138,191,20,115,189,129,247,108,171,117,81,67,100,43,184,3,203,229,36,150,199,78,235,108,181,73,129,54,38,69,98,250,64,134,249,244,74,237,119,182,202,76,249,26,49,185,15,234,231,191,89,251,141,173,232,89,151,27,227,249,61,196,108,16,92,71,41,29,32,92,65,237,0,95,227,223,84,163,149,92,182,195,235,106,29,167,112,140,80,93,253,140,86,158,84,53,50,229,35,164,104,225,8,230,5,60,77,197,86,87,6,16,32,46,226,120,191,15,21,14,232,5,160,7,208,228,255,117,202,247,111,37,26,192,125,66,204,245,134,161,153,62,75,171,139,90,50,211,103,136,217,96,184,92,244,74,249,224,221,101,218,136,90,21,211,7,146,229,197,219,181,223,217,107,118,76,76,238,195,213,56,132,218,143,143,139,201,96,104,249,114,46,131,27,70,93,224,107,113,93,146,75,142,42,170,195,143,67,241,52,165,182,101,235,9,249,238,127,166,113,199,91,181,178,164,42,122,238,79,151,226,133,65,58,187,160,183,30,113,200,41,231,67,178,4,128,83,218,24,208,181,33,246,138,227,208,57,183,240,179,223,139,88,227,14,15,138,71,252,174,179,250,182,207,159,190,243,151,105,223,191,141,200,198,141,131,75,118,239,36,38,123,129,187,149,202,226,228,96,82,158,37,102,131,225,106,171,13,79,30,186,54,126,114,60,105,92,25,73,113,100,115,254,229,244,55,159,94,250,77,45,101,227,131,175,160,166,231,244,84,237,55,53,20,52,98,150,251,83,37,79,206,133,237,217,110,240,225,92,224,52,36,185,36,9,114,30,76,98,219,144,50,51,125,182,90,142,132,149,229,229,171,165,120,97,112,125,5,162,141,120,194,137,131,72,129,15,124,173,2,56,17,190,137,70,84,157,233,34,236,54,226,235,244,161,125,162,1,9,59,102,228,49,118,150,161,179,62,119,122,95,49,217,121,158,112,241,238,125,104,188,240,121,189,30,44,101,138,183,136,217,160,176,227,81,205,159,165,216,185,44,38,59,3,183,3,90,89,107,233,144,254,244,9,199,167,247,81,127,87,67,124,155,146,152,221,71,150,23,185,246,27,91,209,164,225,183,197,100,16,124,77,86,251,208,23,180,141,191,197,199,244,183,209,187,115,240,175,39,158,255,166,226,56,31,152,233,55,82,253,188,87,43,71,170,202,76,249,234,225,100,250,3,82,68,255,132,60,120,151,211,237,226,192,1,196,73,72,71,99,29,97,240,97,143,12,12,225,116,233,128,186,220,55,140,38,229,147,181,50,219,42,138,253,203,158,160,201,171,179,9,57,31,184,42,102,131,195,109,86,147,49,88,87,163,4,92,76,28,171,122,93,99,49,99,120,98,246,104,237,247,181,116,236,224,43,168,135,147,242,42,245,55,182,50,197,243,197,100,16,124,29,234,202,223,134,36,9,106,130,104,165,245,241,231,172,186,69,169,140,243,169,45,253,95,90,254,147,148,41,174,29,141,139,236,86,243,249,173,165,120,97,144,85,98,61,147,237,10,231,93,0,175,184,218,127,237,83,112,194,172,15,59,216,66,57,147,161,118,212,165,115,45,78,133,38,48,63,172,149,215,86,84,63,63,46,38,59,143,227,177,202,217,98,54,26,170,254,137,39,182,150,234,218,214,163,83,145,21,105,118,168,91,168,216,226,201,32,215,231,186,99,204,65,94,252,36,253,86,123,79,236,116,200,21,212,195,124,246,78,245,119,182,50,229,5,98,50,8,174,182,206,29,166,190,109,77,109,3,95,227,222,174,244,213,222,231,196,9,108,67,202,76,249,173,148,207,79,168,249,79,72,52,63,248,171,106,27,232,11,118,239,42,69,11,71,192,232,151,237,46,15,26,64,188,164,56,65,199,42,208,225,248,26,16,66,254,213,197,72,152,209,164,252,22,173,172,182,226,193,132,152,236,60,89,94,92,167,213,129,173,184,15,56,103,115,126,91,49,11,0,111,79,126,158,246,174,216,235,224,43,168,249,156,25,87,239,240,192,76,127,80,204,6,65,28,99,106,222,92,137,191,83,73,14,52,160,114,212,42,245,235,90,93,233,167,125,71,193,240,123,30,251,124,120,56,46,46,209,242,158,140,76,249,49,222,246,125,222,241,233,125,164,72,225,9,177,37,163,122,217,224,213,6,129,72,234,28,24,17,127,51,136,22,59,24,95,3,12,40,140,186,56,16,31,30,187,233,235,180,178,90,107,92,188,64,76,118,154,204,236,124,183,90,254,58,50,229,171,196,44,0,21,124,166,138,250,174,88,42,91,113,5,117,54,217,57,83,251,77,29,141,198,197,131,197,108,16,168,156,184,130,58,17,168,189,243,18,209,209,165,49,170,175,58,219,83,204,145,238,195,241,236,209,52,6,115,115,246,154,103,81,190,255,133,244,66,142,224,145,226,196,1,123,220,120,96,171,101,186,45,113,122,93,92,205,4,233,144,106,164,4,127,59,112,92,238,39,228,25,86,144,63,117,109,43,222,98,53,188,252,130,86,86,75,253,166,152,236,52,52,128,250,5,165,236,181,68,245,126,224,45,53,160,159,240,161,204,218,187,98,175,226,224,43,168,205,204,137,19,49,203,139,47,134,94,49,247,226,128,161,73,176,36,7,26,64,245,232,229,96,217,46,141,79,125,71,193,196,188,125,107,48,158,254,166,150,231,232,101,166,191,179,234,64,244,160,132,136,126,225,149,106,73,30,128,32,164,28,45,193,131,158,216,67,21,125,147,98,68,19,100,175,46,28,240,183,12,125,207,31,212,202,106,35,154,140,253,177,152,235,52,153,41,254,80,43,191,181,76,49,165,54,227,155,197,44,0,183,154,207,231,183,166,111,241,147,234,251,98,171,21,103,179,184,59,68,186,248,144,152,12,2,79,180,245,124,185,85,23,219,252,16,248,112,150,113,26,146,92,103,240,81,111,55,43,210,115,96,6,147,242,44,53,191,77,197,91,130,22,99,247,43,134,147,153,97,127,68,229,147,48,229,229,84,239,111,32,125,120,223,111,214,215,246,112,188,243,104,41,66,124,4,137,126,65,99,10,34,192,215,129,100,237,41,253,171,254,92,225,235,42,76,40,2,37,112,80,157,45,89,94,190,73,45,171,133,104,160,242,55,98,174,179,100,102,231,222,84,214,207,46,151,189,142,104,18,252,23,98,182,23,240,88,143,39,204,188,61,128,251,62,142,36,139,85,220,158,135,56,239,76,222,47,245,125,177,85,54,153,61,70,204,238,35,27,79,55,181,223,212,208,181,98,50,8,190,250,93,126,39,36,73,208,0,173,110,91,80,231,182,139,249,12,82,224,249,184,36,27,21,174,22,56,169,223,221,169,198,59,166,188,96,112,236,198,51,196,252,74,206,203,231,119,171,250,172,188,120,41,255,94,179,123,170,232,111,174,227,54,35,250,243,221,188,79,66,105,240,140,149,123,16,3,190,67,11,91,17,34,201,42,216,91,174,214,15,212,69,117,110,128,71,3,146,43,148,114,218,201,20,159,17,115,157,133,6,167,231,170,101,175,35,83,28,23,179,157,133,157,45,50,121,216,78,119,123,230,226,38,35,31,231,74,12,204,204,153,67,97,35,159,223,95,204,238,35,51,229,43,181,223,216,138,218,141,87,136,201,32,240,36,71,203,151,107,225,184,130,230,240,247,163,213,173,115,117,112,187,152,239,185,66,108,115,100,39,126,2,83,220,192,125,81,211,178,45,158,197,244,57,236,100,57,48,141,205,249,237,228,207,227,134,29,34,251,10,209,146,120,0,16,219,139,5,250,205,222,74,27,107,111,85,144,63,224,106,208,90,77,234,105,240,23,241,192,181,250,166,122,126,30,12,183,41,233,78,46,160,26,234,156,3,134,6,14,70,41,167,157,76,177,123,238,197,55,220,93,76,118,18,250,206,47,86,203,94,67,163,201,236,71,197,108,167,224,246,80,34,19,248,42,102,181,236,233,138,250,227,22,163,33,232,27,218,208,211,181,83,150,151,215,109,92,126,240,36,128,38,15,141,35,222,68,191,44,38,131,224,107,27,119,223,199,56,46,240,22,173,212,209,29,14,62,183,33,241,179,146,100,131,195,81,36,148,167,15,44,231,113,125,21,51,210,165,27,227,47,221,67,76,58,161,114,196,76,102,52,110,170,236,207,104,190,118,153,235,52,90,197,247,196,133,39,181,146,52,0,73,81,117,94,139,193,70,132,131,218,126,111,69,114,29,197,39,109,34,63,103,168,161,218,25,180,116,239,125,167,114,253,252,254,114,218,43,155,20,15,17,147,157,132,38,200,239,208,202,93,67,255,120,238,241,27,191,70,204,118,134,238,58,94,246,105,187,141,73,185,187,173,65,7,95,65,205,80,187,248,17,253,119,118,202,242,176,91,115,124,46,224,166,172,170,31,228,51,45,2,70,242,248,114,150,117,117,187,24,59,150,180,242,182,162,136,34,219,155,68,185,241,123,79,227,233,7,137,169,86,216,200,167,247,111,59,141,86,240,245,65,178,248,65,32,250,5,116,129,202,243,26,153,51,166,207,33,186,85,180,146,82,39,214,162,1,82,151,174,79,140,9,167,125,77,7,67,156,135,227,226,168,90,86,107,205,190,79,76,118,14,26,67,124,171,94,230,90,122,173,152,237,4,85,159,212,195,201,176,235,149,98,178,233,228,150,143,204,76,15,190,130,218,236,126,213,58,231,24,172,163,65,190,243,40,49,27,4,118,134,107,249,130,86,106,59,196,56,131,251,77,37,47,206,213,213,177,168,235,133,190,149,138,228,156,187,163,230,166,123,210,55,254,54,53,143,135,40,203,203,87,15,78,20,15,21,83,96,25,159,141,103,87,189,162,160,223,112,163,92,173,110,40,239,188,79,113,212,70,95,195,116,157,76,60,58,56,169,143,13,87,43,72,93,12,113,30,77,102,143,212,202,106,45,83,108,136,201,206,65,223,232,5,106,153,107,40,51,59,79,17,179,201,195,78,136,24,250,160,80,114,233,132,33,123,111,94,182,95,79,7,95,65,61,60,81,62,92,255,77,29,77,239,43,102,131,208,231,247,174,169,124,59,42,156,140,147,214,80,87,199,161,222,206,208,33,241,120,94,146,13,74,54,158,62,83,203,223,161,50,229,101,209,31,128,27,18,159,47,19,59,122,36,89,0,58,9,175,240,7,31,140,68,226,53,247,141,139,122,119,189,146,10,246,211,36,148,245,84,117,113,133,109,120,209,244,1,90,89,109,69,223,194,179,197,100,231,112,57,129,200,38,59,103,138,217,164,89,244,59,56,255,202,85,68,1,213,229,39,52,251,214,90,117,5,245,120,250,99,234,111,44,69,121,253,252,170,115,102,218,166,138,186,82,242,5,89,136,190,95,169,206,214,241,53,62,149,228,58,135,239,247,61,244,142,17,106,95,30,148,229,229,251,180,188,173,148,41,94,62,184,100,247,78,98,6,104,56,13,9,63,68,152,220,128,190,224,108,59,76,77,117,53,252,243,32,120,181,69,171,7,27,197,178,218,208,117,92,245,57,93,92,97,59,122,225,191,223,197,197,182,4,122,151,59,121,0,226,209,151,204,239,66,229,251,232,114,121,235,136,234,232,175,54,55,231,183,17,211,201,226,115,12,23,187,184,13,111,234,132,161,73,195,25,52,121,56,169,217,183,213,202,43,168,77,249,116,237,55,214,50,229,123,196,100,16,252,46,226,118,87,190,198,108,158,28,48,157,59,32,255,84,124,57,177,88,17,56,96,158,175,229,107,165,76,113,77,54,217,237,196,226,70,171,184,92,77,90,169,158,174,202,131,254,194,14,71,245,91,240,160,190,57,19,28,213,117,167,7,13,177,64,125,129,147,61,232,98,174,115,184,25,220,77,175,20,115,157,34,27,239,60,70,47,111,13,153,226,98,49,155,44,112,190,236,87,211,190,111,152,223,116,182,102,183,142,248,96,72,49,187,143,44,47,220,108,197,52,197,235,196,100,16,92,69,52,246,93,62,198,108,46,22,170,214,83,183,119,59,248,60,182,195,85,84,95,29,248,54,33,219,5,33,250,251,235,146,186,133,40,36,190,60,121,136,126,1,125,68,86,135,130,28,210,219,167,40,24,39,19,17,156,255,226,5,71,78,255,206,58,203,178,124,246,118,165,188,150,234,230,0,120,104,166,191,162,151,215,94,52,225,57,87,204,38,9,156,47,7,171,201,77,155,52,129,24,104,54,109,85,93,65,189,185,234,10,234,242,247,181,223,217,42,51,179,23,138,201,32,224,61,116,167,182,111,136,245,181,40,216,213,43,168,247,240,121,19,82,72,7,12,245,145,47,212,242,180,74,212,174,157,47,63,7,171,240,24,58,136,149,101,208,91,22,123,70,67,220,18,208,159,51,151,156,68,85,192,1,227,5,39,78,255,14,71,84,82,249,254,96,95,121,45,69,117,252,97,49,215,41,168,77,123,163,86,222,26,250,204,81,179,123,79,49,155,28,236,92,87,202,4,157,162,186,91,20,71,121,249,139,154,61,107,153,226,29,98,82,133,38,42,127,173,254,206,86,166,124,150,152,12,130,147,190,23,186,89,109,110,173,245,21,173,212,245,203,86,124,30,49,16,42,120,33,203,103,223,67,109,216,245,90,158,14,86,241,250,39,30,191,254,142,98,2,172,194,151,231,186,109,175,46,0,41,192,147,70,237,251,104,83,93,60,39,67,195,73,221,194,1,211,58,174,156,254,93,94,97,163,65,207,75,180,50,219,136,195,217,87,173,190,167,72,102,118,239,77,229,250,188,86,94,91,101,121,241,7,98,54,57,216,161,207,207,87,43,23,116,138,104,124,43,85,102,69,102,166,175,80,237,217,235,192,109,128,143,155,236,126,133,179,119,57,112,36,87,136,113,77,167,85,243,189,93,7,95,115,190,174,71,95,251,140,250,10,229,204,178,118,172,154,98,55,155,156,116,214,22,157,151,207,239,198,146,255,217,61,124,53,156,125,153,4,2,112,24,244,61,248,221,142,212,19,167,130,139,168,10,158,212,136,57,208,18,174,250,156,46,15,240,168,124,191,188,92,222,58,234,90,191,59,204,79,62,94,43,103,45,5,142,26,104,130,175,113,91,234,170,219,158,211,239,254,183,102,207,86,153,153,93,40,38,247,49,56,62,189,159,246,155,58,58,58,46,191,67,204,6,193,215,49,6,189,17,125,223,82,181,206,241,213,118,116,125,206,231,245,220,163,22,29,114,7,65,233,214,56,7,171,121,196,61,143,235,178,188,188,154,222,211,143,237,217,229,246,133,255,191,208,142,102,231,120,106,56,177,253,8,0,97,177,122,233,119,192,210,7,7,168,86,238,58,234,211,185,57,62,169,182,225,57,92,53,234,242,59,61,28,23,63,165,149,217,86,131,73,121,150,152,236,4,52,192,59,161,149,179,142,6,39,202,239,20,179,73,129,173,71,118,170,211,78,208,239,254,110,217,78,45,173,186,130,154,195,251,181,223,212,209,177,155,190,78,204,6,65,205,19,84,91,109,46,4,241,36,89,75,211,181,58,239,128,241,217,14,123,118,192,28,217,156,127,249,208,20,191,167,230,101,133,104,94,243,20,49,97,13,143,85,200,198,111,44,219,92,86,150,151,191,61,50,229,35,228,103,105,163,21,208,181,186,126,24,19,0,182,120,60,123,169,82,215,183,0,114,103,175,149,187,182,76,121,57,215,25,175,114,64,14,180,56,176,206,89,228,87,215,35,149,134,249,236,177,90,185,109,213,53,103,98,150,23,111,211,202,105,43,62,123,227,252,151,207,255,47,49,155,20,190,86,176,187,34,219,243,19,22,183,126,148,141,175,129,103,241,141,93,98,118,31,217,164,120,146,246,27,91,209,164,231,159,196,100,16,124,143,101,250,160,54,251,55,31,139,127,156,134,36,215,89,124,58,96,124,143,223,135,230,228,134,150,143,149,50,197,13,117,15,11,230,241,59,191,243,170,93,77,13,210,138,6,95,13,39,86,148,1,216,143,175,211,232,89,93,159,176,98,16,216,51,117,124,91,221,240,68,249,112,181,220,182,90,177,2,159,26,195,188,248,102,106,199,74,181,156,214,42,46,21,179,73,129,118,174,134,44,87,143,105,242,248,173,170,157,26,58,111,229,21,212,179,95,211,126,99,45,83,252,165,152,12,130,207,113,76,159,36,213,235,148,197,101,16,122,122,110,213,253,203,31,188,142,223,61,6,49,156,179,57,191,45,165,249,129,229,60,28,38,234,155,223,42,38,172,56,242,162,249,29,104,156,242,187,154,205,85,202,242,242,117,153,185,225,171,196,76,235,108,80,91,78,233,94,235,44,178,203,215,11,212,245,80,52,0,234,194,19,73,237,155,105,67,182,43,129,41,225,111,96,1,197,160,46,191,203,204,224,216,141,103,104,229,182,86,135,34,223,70,147,242,201,106,25,107,136,175,25,22,179,73,33,145,100,106,153,160,3,100,121,158,198,200,156,252,113,213,142,165,232,29,187,110,99,243,31,86,93,65,253,91,218,239,108,149,153,233,107,196,100,16,124,30,70,218,23,181,21,65,226,205,129,219,131,115,7,189,58,195,61,214,39,71,44,171,121,56,68,212,14,61,87,76,88,145,153,157,167,104,246,214,81,54,158,62,83,204,180,198,98,110,81,92,74,154,45,210,116,116,32,178,143,134,179,15,161,104,0,212,197,167,227,160,203,219,144,224,128,233,145,90,60,160,48,22,142,92,53,255,178,204,193,13,41,100,227,101,98,50,121,6,227,233,111,106,101,172,161,207,253,196,137,249,215,139,217,164,240,177,125,160,115,178,156,188,100,249,244,127,170,118,108,117,216,21,212,166,248,51,245,119,182,50,133,17,147,65,224,250,85,243,5,53,80,59,17,36,117,39,215,182,234,195,177,19,62,29,48,190,234,115,227,162,106,43,208,219,181,60,28,42,83,12,197,140,21,148,222,159,171,246,214,145,41,223,35,102,156,115,238,243,111,184,59,217,127,6,233,189,167,166,73,125,240,43,228,79,154,225,167,225,236,126,40,26,0,77,240,53,128,161,134,174,211,219,144,48,57,233,190,248,29,230,129,143,60,242,78,147,153,233,251,181,58,176,17,213,215,235,196,92,210,100,102,247,246,84,31,31,212,202,104,43,170,147,63,20,179,73,225,114,192,207,223,17,59,228,57,146,44,86,81,191,232,232,182,52,187,201,75,150,23,47,214,236,212,208,129,87,80,51,89,94,126,92,249,77,29,253,156,152,12,130,171,231,4,221,162,182,22,203,124,69,43,245,225,216,137,170,141,82,202,222,134,124,45,158,102,147,242,23,180,244,215,209,96,188,243,189,98,102,109,54,198,243,123,80,95,244,5,205,222,90,50,69,49,204,167,247,21,115,206,24,77,138,140,242,117,208,77,120,239,185,213,124,126,107,249,211,250,248,104,56,251,224,9,5,160,9,28,189,193,3,98,237,251,113,173,46,111,7,68,120,126,15,228,249,54,128,144,208,68,208,193,85,184,197,59,197,92,210,140,38,179,71,234,229,171,165,231,136,217,164,112,181,122,205,125,77,10,19,36,87,147,69,219,201,11,253,230,141,203,54,234,136,234,249,224,43,168,79,236,126,53,253,187,147,243,140,168,223,11,250,44,177,240,225,94,109,141,211,124,45,246,177,115,66,146,236,44,62,29,48,206,182,189,172,224,232,164,248,166,97,62,181,62,251,101,79,163,139,119,31,44,166,214,102,120,98,246,104,205,150,141,104,108,240,163,98,174,49,89,190,195,55,211,189,106,104,138,221,229,116,78,211,137,242,225,242,147,250,248,112,192,116,121,219,3,104,31,118,78,244,225,12,33,111,43,19,30,26,242,80,240,123,162,149,25,234,134,250,214,151,80,255,252,42,173,30,236,84,252,163,152,75,26,154,228,61,91,47,159,189,6,102,150,228,228,192,213,228,41,149,62,192,213,248,212,182,188,244,174,57,137,180,226,51,139,196,228,62,6,199,110,228,43,87,213,223,217,106,35,47,31,38,102,131,160,229,9,106,32,250,206,165,106,157,227,99,206,199,234,195,152,221,171,3,198,131,195,156,198,10,47,208,210,94,87,231,94,188,123,119,49,181,54,92,46,205,150,141,6,227,34,19,115,181,121,194,164,248,166,44,47,198,124,110,151,150,198,178,86,181,237,107,195,219,131,52,227,46,213,229,9,31,104,143,42,42,100,241,113,110,243,138,157,252,223,157,198,75,20,76,139,157,123,12,248,114,100,65,254,84,173,216,247,176,31,25,230,179,99,90,125,216,136,234,110,122,244,194,127,191,139,152,76,150,44,47,127,95,43,159,173,104,114,253,55,171,14,70,141,25,87,227,53,238,91,197,100,212,184,138,172,176,153,188,12,47,221,189,235,208,20,55,104,118,236,53,251,62,49,187,143,129,41,92,29,244,187,227,243,38,144,101,176,232,225,86,220,215,181,185,197,214,71,180,82,111,198,235,14,156,7,235,170,109,7,12,245,175,223,78,106,244,110,156,123,241,13,214,14,152,209,184,120,176,102,203,70,71,199,229,119,136,57,107,50,179,251,85,67,51,125,6,217,217,94,182,187,74,244,29,93,38,38,234,67,134,172,18,173,163,182,95,28,208,61,196,179,124,218,187,217,135,213,111,87,43,156,171,212,135,206,145,223,21,173,236,80,138,42,182,250,114,230,203,50,195,113,233,198,153,120,108,250,0,49,153,36,163,201,141,95,75,229,248,212,190,114,213,145,41,94,34,102,147,131,219,110,181,76,118,218,22,115,81,227,234,188,27,174,51,27,135,19,71,147,104,118,234,104,112,209,244,126,98,118,31,52,217,121,166,246,155,26,250,168,152,12,130,207,40,128,62,168,237,249,146,150,102,11,74,162,141,105,138,79,7,76,219,91,186,104,156,117,169,150,174,141,70,99,251,45,72,124,150,74,147,179,221,168,125,255,228,224,146,221,59,137,53,43,178,252,228,128,126,255,39,154,221,195,68,121,254,155,205,205,249,109,196,84,61,188,120,67,225,128,1,107,162,57,94,78,85,215,195,26,125,53,232,125,8,15,173,6,240,56,28,48,73,85,19,77,83,94,222,87,199,203,30,84,15,231,106,245,99,43,62,63,69,76,38,201,96,60,253,81,173,92,117,148,141,139,145,152,77,10,87,14,137,84,34,32,29,70,50,90,77,6,135,102,250,223,21,27,214,226,80,246,159,187,100,247,255,22,179,251,160,111,251,133,218,239,236,85,188,89,76,6,129,35,19,245,124,65,182,106,123,145,209,89,27,114,152,104,220,37,73,118,26,159,239,126,155,99,118,106,139,30,68,237,72,117,197,114,19,213,117,18,209,111,175,88,182,181,174,50,83,190,65,204,88,225,98,177,187,241,51,241,225,128,105,219,115,7,210,231,48,199,203,205,234,120,195,206,43,117,106,185,93,171,71,7,153,86,131,14,30,204,211,187,195,237,157,143,54,15,90,79,236,104,145,231,177,205,207,135,7,160,220,22,164,178,69,162,109,134,147,242,156,229,58,171,163,65,94,156,39,38,147,132,222,147,11,181,114,217,138,38,197,95,120,194,241,233,125,196,108,82,184,114,206,167,18,73,202,237,129,150,127,91,89,223,128,100,202,167,107,118,108,69,239,236,234,43,168,243,242,117,218,239,108,69,118,126,75,76,6,1,209,166,205,85,245,131,30,182,216,202,56,91,205,131,75,245,229,226,149,206,56,96,168,13,209,210,180,86,205,107,168,7,147,242,44,106,239,173,111,124,164,124,127,188,206,226,210,249,199,230,119,166,223,55,143,168,53,229,5,98,178,30,252,225,171,134,29,10,14,24,112,16,85,135,96,57,208,234,122,68,149,171,129,231,74,245,200,1,99,139,243,40,36,122,158,98,58,122,156,15,40,58,126,222,80,219,12,142,79,239,167,214,171,165,120,82,41,38,147,132,198,41,127,166,149,203,94,197,27,197,100,114,184,138,8,73,165,255,116,229,40,183,45,239,112,92,92,162,217,177,215,116,245,21,212,198,213,246,255,226,121,98,50,8,94,198,43,157,86,177,229,43,34,217,97,84,217,74,249,112,38,197,128,79,231,163,36,233,28,151,78,185,204,76,159,43,102,173,161,246,240,169,154,205,85,162,223,60,91,126,110,69,52,209,164,62,28,48,125,249,24,193,250,240,7,80,247,202,96,30,152,137,153,78,226,195,171,222,151,21,138,58,184,142,66,226,54,86,76,71,15,15,6,181,50,212,21,156,239,205,224,189,205,244,254,220,168,213,173,149,76,113,92,76,38,7,189,147,223,204,7,141,170,229,178,215,47,137,217,228,112,53,209,77,97,251,169,203,173,18,182,229,117,22,153,178,226,10,234,35,155,243,59,208,191,255,139,246,59,107,77,138,159,18,179,65,160,60,180,126,142,100,87,196,99,129,133,99,177,216,226,201,59,191,231,82,141,94,224,9,163,150,47,215,234,250,34,233,30,190,156,143,109,205,121,120,139,36,181,119,78,14,183,175,100,138,107,197,116,45,134,249,244,57,235,245,245,197,140,191,159,115,54,231,183,149,159,90,65,101,62,95,183,107,173,237,35,87,205,191,76,204,218,179,104,12,84,195,238,132,213,118,32,240,96,136,39,255,220,17,169,239,202,154,234,178,83,143,235,72,43,179,83,37,20,149,17,2,215,237,162,239,129,86,29,250,28,249,19,51,212,86,126,66,173,95,27,153,242,85,98,46,57,104,176,244,179,106,153,106,104,144,239,60,74,204,38,135,139,54,169,173,129,188,107,28,182,69,214,135,129,242,111,150,108,212,210,104,188,226,10,106,51,253,70,237,55,117,148,77,102,143,17,179,65,240,50,135,200,139,45,73,14,52,192,151,195,32,5,39,175,11,252,188,251,172,118,222,127,231,99,62,210,198,248,75,247,16,243,181,216,200,167,247,31,154,226,29,154,109,86,150,23,239,110,58,158,166,239,192,153,35,146,243,43,102,237,33,3,173,123,175,83,217,115,12,218,131,163,10,92,56,94,246,196,118,186,218,200,251,57,7,6,3,154,85,184,108,160,43,37,224,132,230,119,66,205,123,77,33,250,197,13,244,92,222,166,213,175,141,168,189,252,223,98,46,57,92,77,26,248,80,84,49,153,28,206,250,132,68,156,162,206,218,95,203,16,241,35,199,230,119,118,53,70,25,230,59,7,94,65,205,78,19,253,55,246,26,157,40,30,40,102,189,227,101,177,136,101,249,28,129,142,47,135,129,36,215,105,252,140,211,23,106,35,98,253,188,124,126,183,161,41,254,84,75,175,137,232,29,123,138,36,209,8,118,228,44,28,68,179,231,177,248,191,15,142,221,120,134,252,115,109,70,199,138,7,82,27,239,238,59,48,229,207,136,105,123,200,64,251,225,131,104,60,123,139,107,199,203,105,234,240,123,213,74,125,157,34,182,47,73,1,5,231,123,123,35,159,248,32,250,37,94,104,144,244,123,106,29,91,40,203,203,247,137,185,164,224,65,24,229,191,121,4,16,41,27,23,47,22,179,201,225,106,75,78,42,91,79,41,175,78,198,165,182,145,178,163,113,241,96,205,78,29,241,249,77,98,118,31,174,66,224,105,178,243,111,131,75,190,80,235,10,86,23,184,220,42,182,74,169,188,183,177,163,213,173,107,177,147,71,146,235,52,46,207,78,57,76,60,62,147,100,157,209,222,81,7,113,47,238,102,227,169,171,235,255,247,180,242,172,175,149,184,94,245,84,133,193,120,239,104,213,241,114,138,82,216,218,81,135,182,87,42,224,128,89,141,235,213,141,152,235,91,202,234,204,17,207,101,237,234,119,25,2,234,163,47,213,234,217,78,197,231,54,55,231,183,17,147,201,48,154,204,156,93,63,61,28,23,71,197,108,114,244,233,0,94,151,109,175,109,148,236,32,159,254,144,102,199,90,166,252,204,33,87,80,63,95,253,157,173,76,249,126,49,25,4,31,231,213,177,82,120,111,99,199,91,180,82,79,162,171,125,29,104,204,114,29,237,159,153,221,123,175,218,230,211,68,212,182,237,102,230,228,185,146,84,84,28,217,252,28,159,189,245,231,90,190,107,203,148,239,165,177,85,173,179,104,220,135,218,43,138,121,242,1,220,194,131,39,142,30,224,103,174,189,11,45,200,122,143,119,10,248,112,140,242,179,146,228,128,2,59,142,181,122,171,171,88,7,145,236,40,213,242,91,91,56,243,203,41,195,113,249,75,106,61,91,234,220,227,55,126,141,152,76,6,26,36,26,173,44,53,244,169,163,230,166,123,138,217,228,112,53,78,75,97,219,174,171,149,229,58,227,78,250,221,207,45,219,169,163,44,47,222,46,38,85,50,83,94,161,253,206,86,100,231,143,196,100,16,124,77,66,83,120,111,99,199,87,196,70,95,162,149,124,204,157,89,109,204,159,233,187,117,50,166,56,88,197,235,159,120,124,247,142,146,92,52,100,19,251,155,150,214,17,95,163,45,73,216,225,124,240,125,128,208,128,118,27,158,204,243,106,72,219,145,27,154,108,195,140,83,192,71,227,30,115,148,66,245,46,5,150,235,193,37,119,164,90,58,65,229,190,253,223,86,211,105,89,93,62,111,134,222,155,39,41,245,108,173,193,241,226,161,98,50,25,104,34,219,248,252,27,22,245,75,175,17,147,73,226,194,25,220,198,64,190,13,156,181,187,53,34,175,233,125,203,85,91,182,50,229,239,138,73,21,74,231,47,212,223,89,138,158,233,203,196,100,16,124,77,66,49,127,104,14,247,147,90,221,186,86,95,206,252,244,55,215,113,27,81,196,219,44,41,239,31,212,211,114,39,222,102,41,73,70,193,112,92,126,27,229,235,3,203,249,116,33,190,40,64,146,177,195,215,71,201,233,72,146,160,67,44,34,94,42,207,122,251,103,9,29,160,84,6,150,54,244,217,1,195,131,45,45,191,16,116,168,104,210,213,181,193,250,112,50,251,1,181,172,182,58,62,253,1,49,153,4,188,170,68,109,251,174,90,22,75,101,102,250,84,49,155,36,110,6,251,105,108,13,224,111,88,207,191,157,234,76,4,93,156,183,180,208,236,5,98,82,133,6,236,110,38,111,227,105,208,107,213,93,61,171,85,226,119,95,146,3,13,112,126,174,221,1,234,195,118,49,95,103,31,177,92,71,20,249,10,186,224,67,239,155,222,136,228,18,106,71,222,160,229,211,145,234,157,3,195,31,139,98,204,189,104,66,41,73,130,142,16,218,241,114,170,186,22,246,232,99,96,19,235,68,213,87,168,44,212,77,177,67,182,75,17,49,28,185,162,149,211,94,197,19,197,100,18,100,102,231,41,122,57,236,229,226,246,132,80,184,26,236,167,210,71,186,90,89,174,51,17,164,182,227,221,154,45,91,173,90,253,29,92,178,123,6,77,78,254,67,251,157,181,204,201,161,152,13,130,171,103,181,90,184,177,209,5,62,198,148,172,62,156,255,230,203,153,197,114,233,208,226,49,63,181,61,59,90,58,173,200,20,239,216,216,156,223,78,146,15,70,11,7,239,158,38,118,54,73,82,118,184,60,240,108,149,186,22,165,112,115,228,199,120,250,52,30,216,44,188,138,213,185,29,236,144,216,230,242,46,84,117,80,244,255,209,191,81,3,88,157,143,146,120,200,124,76,142,151,83,213,165,149,111,121,151,212,114,186,82,172,245,229,122,235,15,212,63,117,169,191,25,156,216,253,106,173,140,182,26,228,211,95,20,147,73,64,147,216,223,215,202,97,173,113,241,102,49,153,36,174,22,201,82,136,66,118,230,108,162,239,223,246,140,179,204,92,119,123,26,175,125,94,179,103,171,209,137,217,247,138,217,125,28,29,223,244,29,218,111,234,104,96,102,193,198,145,190,230,14,88,188,117,3,213,165,151,49,123,215,34,80,53,252,56,30,23,114,89,159,67,83,188,72,75,163,85,81,154,33,157,48,163,73,201,11,57,255,190,47,95,174,53,190,233,219,36,73,59,84,99,45,40,229,15,115,207,225,178,240,124,22,91,220,193,107,101,180,150,56,101,82,112,200,44,28,47,30,110,205,170,43,170,75,201,106,242,248,104,224,109,7,168,190,224,1,151,150,95,8,178,17,183,171,242,74,165,205,124,126,107,234,111,62,171,149,209,70,100,227,133,98,49,122,6,23,237,222,143,242,235,100,50,76,118,126,93,204,38,137,43,135,116,10,99,12,119,206,119,251,168,137,129,153,126,163,110,171,142,118,239,43,102,247,49,200,139,243,244,223,216,107,52,222,249,6,49,235,29,95,219,48,186,22,221,28,10,31,99,74,78,67,146,235,44,222,118,141,144,120,158,41,201,54,102,241,189,22,51,45,157,214,53,153,153,115,234,222,20,212,128,145,153,62,206,91,153,77,121,129,36,107,7,253,216,79,52,3,117,174,146,100,50,240,160,165,138,112,113,229,112,57,68,156,86,108,142,170,202,241,226,41,124,177,169,92,134,235,133,196,71,103,41,73,69,71,42,239,26,20,189,58,115,67,26,151,101,169,108,246,50,197,85,98,46,122,70,121,241,147,106,25,106,105,231,251,196,108,146,184,106,15,99,117,184,159,138,171,178,214,153,180,143,204,236,251,53,91,214,50,197,103,30,115,201,71,87,92,65,93,62,91,253,157,165,178,188,188,238,200,230,252,203,197,172,119,124,77,68,187,50,166,11,9,207,41,180,186,109,65,157,188,149,244,84,168,141,242,182,64,232,210,249,72,246,94,181,108,223,167,168,221,123,229,240,162,221,7,72,118,90,229,113,147,127,250,10,122,78,207,162,54,242,147,90,94,90,81,221,72,61,126,200,170,65,199,114,233,205,107,147,189,104,23,202,115,192,109,54,197,86,232,144,97,246,152,250,116,62,185,80,42,239,216,97,104,101,115,169,152,235,201,135,243,9,234,133,186,227,128,49,197,181,74,249,236,100,138,183,136,185,232,161,129,211,213,106,25,44,85,123,111,118,68,56,106,15,147,248,22,92,181,253,117,38,237,217,184,252,105,205,150,173,232,157,91,125,5,117,94,188,88,251,157,189,138,119,137,201,32,248,218,42,220,135,45,45,109,227,43,90,169,246,36,52,17,120,110,232,115,124,234,42,106,81,230,179,106,26,158,245,129,108,178,115,166,100,171,21,248,25,185,114,228,219,168,246,88,195,103,72,85,204,141,105,245,113,141,139,32,87,41,175,80,117,173,171,100,209,11,252,140,82,115,188,156,166,4,35,173,78,197,83,103,25,229,128,188,106,60,245,252,66,144,149,92,174,30,133,134,202,243,155,203,229,179,21,13,16,62,42,230,162,134,15,204,165,201,229,223,107,101,176,21,245,97,201,108,187,210,112,214,30,38,48,49,114,217,239,213,25,103,210,59,119,76,179,101,173,195,174,160,118,116,27,7,159,145,36,38,131,192,239,148,150,47,215,130,3,166,57,60,135,208,234,214,181,186,212,231,106,248,60,124,151,228,108,140,62,52,197,59,20,251,65,68,227,144,157,97,62,123,30,247,109,146,61,39,240,22,167,208,243,247,141,124,122,127,201,206,250,120,157,244,68,58,16,8,31,241,114,168,182,93,121,67,15,162,114,64,165,236,120,17,113,254,83,238,180,189,172,44,69,250,29,242,115,83,243,11,65,150,234,82,232,58,77,14,95,160,149,209,70,52,240,249,226,249,47,159,127,165,152,140,22,167,103,100,152,217,227,196,108,146,184,114,74,164,112,30,146,195,133,192,90,19,23,250,221,149,75,118,106,170,88,125,5,181,41,223,175,255,206,82,166,184,88,76,6,129,198,16,173,175,50,243,100,74,146,3,13,240,21,173,20,58,106,191,77,170,133,105,143,115,35,87,109,182,207,0,11,43,153,226,122,126,47,155,158,13,179,231,120,161,246,232,99,106,58,62,85,247,28,24,95,94,163,106,114,236,216,243,213,132,212,156,14,109,120,152,187,226,120,57,77,9,135,66,122,25,216,68,186,82,225,213,25,12,117,86,220,159,197,212,207,52,37,51,211,167,106,229,180,213,79,156,152,127,189,152,140,22,119,91,52,202,191,59,247,226,27,238,46,102,147,196,213,202,117,236,206,72,105,247,157,44,128,213,237,219,232,119,111,215,236,217,42,91,113,5,245,145,99,243,59,211,251,237,230,70,14,51,125,134,152,13,130,159,57,3,174,160,118,1,143,135,245,250,117,171,46,45,122,44,195,237,138,86,230,182,196,206,119,73,186,54,236,156,136,194,49,177,74,166,184,129,254,243,138,193,184,200,142,188,104,126,7,201,250,74,248,86,165,225,120,231,209,212,62,92,234,203,119,177,166,174,148,44,218,225,235,3,101,197,50,249,227,198,34,178,135,183,174,182,93,124,156,60,232,97,47,107,151,28,47,92,22,46,83,170,147,47,206,183,143,231,17,243,74,133,15,7,20,212,93,45,218,128,116,175,249,215,24,78,138,35,90,89,109,69,147,195,111,23,147,81,82,77,196,29,69,8,100,102,122,153,152,77,22,87,131,254,216,35,66,93,174,208,215,153,4,242,97,182,52,17,248,140,102,207,86,163,241,138,43,168,39,197,55,105,191,169,165,201,201,35,98,54,8,106,158,92,43,225,133,180,152,240,53,166,234,234,118,177,0,103,168,56,217,126,52,112,122,152,189,15,21,179,106,187,20,189,175,89,94,188,180,154,159,86,139,16,211,231,240,77,74,220,30,208,248,238,173,226,180,81,126,31,86,148,231,154,231,192,56,90,105,89,87,161,63,84,126,176,90,190,82,82,221,73,244,45,142,151,36,157,79,170,120,210,197,131,213,212,59,0,95,225,130,49,175,84,44,66,61,187,243,110,66,62,85,108,117,205,249,194,12,142,151,223,169,151,215,78,217,120,250,99,98,50,74,40,143,103,47,231,185,174,186,176,26,235,98,226,196,109,169,152,107,204,98,236,64,147,145,241,244,105,220,223,186,16,229,209,233,214,239,58,99,0,26,224,223,87,179,85,79,211,131,175,160,54,179,31,212,127,99,175,141,73,121,150,152,245,142,167,115,234,232,27,238,246,153,34,190,240,53,158,146,228,58,7,143,43,180,242,182,37,158,159,73,210,181,225,43,234,41,223,239,212,236,67,237,233,232,184,252,14,121,4,235,83,173,60,41,198,90,19,13,44,36,105,175,200,10,155,183,104,159,214,69,3,33,41,218,161,112,217,19,142,250,81,181,136,22,41,182,92,68,4,197,128,143,119,147,235,140,223,5,73,50,74,170,239,84,6,249,85,157,64,208,10,241,128,133,39,134,177,191,215,117,201,38,187,103,106,223,178,173,178,124,231,103,197,100,148,80,91,126,66,203,119,13,253,227,81,179,123,79,49,155,44,78,250,106,7,99,173,106,194,237,105,21,189,161,106,173,28,211,119,241,61,138,45,123,153,226,51,171,174,134,206,114,103,55,45,253,199,104,178,251,181,98,214,59,190,34,2,186,224,68,13,77,53,150,82,234,182,5,69,121,177,67,83,124,45,138,158,42,23,11,201,153,153,62,87,179,13,181,43,234,179,159,42,143,192,142,106,48,171,24,108,75,190,39,205,85,67,148,198,32,194,74,235,120,75,165,195,140,249,144,225,26,234,142,227,133,225,247,115,225,80,210,202,234,84,157,236,40,1,232,42,188,55,154,218,6,7,97,183,197,243,196,100,116,156,151,207,239,70,131,198,247,233,249,182,19,13,130,174,16,179,201,194,131,112,173,108,182,106,18,69,80,245,73,28,169,226,167,95,106,172,186,101,29,57,10,213,207,14,185,130,122,48,118,116,211,82,94,252,163,152,12,130,203,45,99,171,148,122,68,115,12,248,138,86,226,241,184,36,217,25,22,209,216,190,219,190,230,245,152,77,118,31,66,182,62,180,223,54,212,186,76,249,42,121,12,118,248,222,134,196,171,59,146,116,235,44,62,164,238,110,107,56,200,9,3,199,75,58,240,51,212,203,235,86,8,235,5,32,61,232,219,253,232,242,183,108,43,234,3,163,61,23,101,152,159,124,188,150,231,90,154,20,63,37,102,147,197,85,148,65,147,40,130,212,22,172,234,150,149,175,69,213,236,217,42,51,211,195,174,160,254,93,237,119,246,154,189,69,76,6,161,138,76,85,243,229,86,112,192,52,199,87,4,71,215,198,149,139,200,33,191,91,143,88,46,162,190,134,166,56,174,217,134,218,23,181,241,31,124,220,100,247,43,228,81,172,143,199,80,181,155,229,98,175,219,97,72,185,58,230,132,80,100,110,57,176,172,171,142,23,23,141,83,140,120,140,126,113,210,192,3,0,252,66,131,170,183,104,223,179,141,168,141,121,131,152,139,142,44,47,95,161,229,217,94,197,231,54,242,233,253,197,108,178,184,138,50,168,59,137,245,21,229,224,82,117,203,154,153,233,21,154,61,107,141,15,185,130,58,47,222,166,254,206,82,244,173,188,90,76,6,193,135,99,206,231,2,109,151,241,245,29,199,124,177,67,29,124,45,136,158,174,230,209,47,100,231,108,250,118,254,105,191,109,200,163,206,150,199,97,7,79,226,21,99,173,170,205,9,97,229,124,233,224,182,163,131,197,30,91,255,94,219,150,181,205,157,8,63,75,121,172,157,195,103,99,143,85,165,211,25,76,202,179,120,240,80,75,147,157,51,197,12,0,173,66,223,238,107,151,191,101,91,101,166,120,183,152,139,10,222,98,229,234,102,3,154,156,190,73,204,38,141,139,177,24,59,245,197,156,21,190,86,205,93,170,201,132,157,198,76,141,157,155,44,122,247,14,188,130,250,86,243,249,173,221,77,140,138,99,98,53,8,92,215,122,190,92,10,87,80,187,192,215,156,174,75,11,123,161,218,63,23,117,72,253,232,75,52,219,144,63,13,242,242,127,200,227,176,195,215,225,90,167,138,7,9,109,108,41,233,159,243,165,91,170,34,66,58,238,120,97,124,70,191,240,247,32,201,246,158,141,241,151,238,209,212,89,201,206,27,49,7,64,171,208,187,122,137,246,14,90,201,20,159,18,115,81,225,242,186,204,209,184,124,178,152,77,26,71,147,220,90,231,125,37,57,110,58,37,2,216,134,205,205,249,109,178,188,252,164,106,211,82,131,241,206,193,87,80,155,221,123,106,191,169,35,202,111,208,195,180,189,56,96,106,62,79,112,58,190,190,229,174,44,236,113,57,188,141,199,79,83,115,135,227,200,204,190,63,76,222,161,83,69,237,243,111,203,35,177,199,143,119,251,116,113,154,146,188,51,184,1,215,210,130,226,86,95,28,47,123,248,218,79,93,137,234,85,146,237,61,244,158,189,85,173,163,117,101,138,27,206,217,156,223,86,204,1,208,42,153,153,254,130,250,30,90,40,203,139,217,240,210,221,187,138,201,104,160,118,233,74,45,191,53,244,9,190,126,83,204,38,141,139,129,116,157,115,25,188,46,8,56,20,47,30,74,17,172,200,204,206,189,53,123,245,116,240,21,212,71,205,77,143,208,127,99,175,65,62,253,33,49,235,29,158,160,106,121,114,45,156,85,231,6,95,243,185,46,56,96,22,206,23,255,243,95,150,139,232,23,103,91,41,161,166,250,208,249,155,243,175,148,199,98,7,135,214,43,6,61,200,93,200,33,79,52,245,52,160,88,213,55,199,11,227,251,61,237,202,42,69,83,56,114,69,171,31,75,93,43,230,0,104,157,44,119,211,47,143,78,236,62,80,76,70,193,19,38,187,223,68,249,250,220,114,62,107,201,20,47,23,179,73,227,234,230,18,30,203,137,201,181,9,55,254,107,164,218,55,251,109,152,153,171,168,239,79,175,186,130,122,48,46,50,229,55,181,180,113,81,184,75,8,124,69,201,119,105,75,75,72,180,186,117,173,54,22,208,125,195,109,110,40,231,139,139,185,239,192,156,252,113,234,255,78,234,246,33,223,26,28,47,191,83,30,141,29,97,87,64,154,191,136,169,174,224,244,85,252,172,120,181,163,111,206,129,69,131,239,241,61,197,246,163,155,161,142,170,249,41,241,166,124,150,152,75,22,254,230,170,247,144,6,187,149,246,206,182,137,68,60,216,103,245,201,41,123,16,217,120,231,49,234,123,104,169,141,124,246,40,49,25,5,78,157,208,227,157,71,139,217,164,225,119,95,45,159,165,234,76,98,93,165,237,83,117,163,95,24,135,142,145,149,78,160,81,94,254,162,242,27,107,209,152,225,198,225,11,194,69,177,249,122,63,176,88,212,28,87,142,220,195,149,246,121,61,222,199,226,75,106,234,108,228,104,11,202,255,235,52,219,80,32,77,202,250,187,13,188,110,139,216,167,102,31,51,182,30,165,161,170,193,51,229,53,125,236,104,121,66,73,117,224,245,150,42,30,56,73,242,189,230,200,230,252,14,212,198,188,75,171,35,27,101,102,231,187,197,100,50,84,239,93,53,225,45,182,66,14,56,234,137,111,65,235,159,163,118,143,108,178,251,16,189,94,236,148,229,39,7,98,50,56,79,60,126,253,29,41,79,78,14,141,207,242,242,175,143,94,56,191,139,152,78,26,87,78,169,58,142,75,158,12,104,182,98,85,211,173,42,238,156,93,229,213,98,82,133,218,175,151,105,191,179,150,41,254,78,76,6,193,87,212,46,28,48,205,241,21,173,196,115,46,73,50,57,66,59,95,154,206,119,25,202,255,147,116,219,80,64,93,33,143,199,30,153,32,106,70,61,169,222,75,153,218,224,161,191,42,182,184,225,147,199,214,59,124,59,9,57,180,18,81,4,11,134,199,203,135,107,117,100,35,238,176,197,92,18,240,179,231,137,74,122,78,23,93,77,39,93,41,114,238,197,187,119,167,201,215,174,86,31,86,50,229,51,196,100,112,70,121,113,158,154,199,26,26,140,195,222,12,227,18,94,152,208,202,104,169,90,219,114,18,27,67,109,55,237,215,92,29,0,157,153,157,167,136,73,21,250,155,63,94,254,77,29,81,27,30,244,150,47,71,239,230,74,117,97,75,75,12,248,114,150,165,218,31,179,243,53,244,152,168,73,244,30,115,238,197,55,220,157,230,83,111,214,108,67,225,148,229,229,223,102,102,247,246,242,152,236,9,115,15,250,105,218,182,241,130,87,147,140,142,76,48,186,171,126,59,94,42,199,102,128,8,45,254,150,37,11,209,195,7,219,86,117,212,146,168,141,104,118,248,174,11,153,226,6,30,100,146,62,76,255,251,74,30,188,111,228,211,251,75,21,56,133,59,248,112,123,155,219,84,218,97,207,117,160,114,127,122,127,61,88,106,50,51,98,46,56,153,153,254,174,154,71,107,21,187,177,109,173,106,130,147,239,149,218,58,49,103,133,183,85,243,230,106,236,124,97,248,230,16,197,182,181,142,142,203,239,16,147,42,244,55,31,90,254,77,29,209,187,241,74,49,25,4,110,119,181,124,185,85,255,218,246,54,96,199,136,94,191,110,213,116,11,141,111,66,141,195,247,201,193,177,0,188,213,69,181,13,5,215,200,148,143,144,199,100,207,194,161,17,118,224,206,14,149,117,63,238,8,28,70,208,129,42,182,154,122,122,83,71,26,125,239,215,123,242,55,148,82,56,47,59,34,180,114,244,66,244,126,184,116,80,250,90,1,11,38,7,3,152,148,160,242,190,71,173,7,59,213,15,141,117,72,229,24,204,139,47,42,249,179,151,41,254,84,204,38,79,213,79,104,101,180,84,19,167,123,252,14,219,98,203,133,243,133,217,216,156,223,142,222,195,235,244,116,214,19,215,151,152,83,121,210,228,223,255,19,59,221,181,223,90,203,204,130,46,166,120,121,55,106,58,15,193,233,248,26,111,166,52,182,95,44,72,133,95,168,175,198,229,13,219,176,108,178,115,38,181,93,127,165,217,135,194,139,218,202,167,203,163,170,71,44,7,178,29,22,226,182,112,22,33,250,37,66,109,243,36,80,30,83,111,9,229,124,169,148,216,96,102,100,166,143,83,203,209,19,101,121,249,201,209,164,124,178,84,71,109,248,187,235,67,155,216,39,199,46,149,247,141,203,229,183,21,189,19,255,71,204,5,133,38,209,151,106,249,171,163,108,60,125,166,152,77,30,126,159,181,50,218,170,201,170,180,171,60,184,86,213,158,81,187,230,202,249,178,7,71,32,106,233,173,173,67,198,56,27,99,119,135,161,82,29,60,73,204,122,167,26,199,40,121,114,173,62,110,49,109,3,95,142,212,20,22,248,100,12,30,207,249,160,14,230,69,100,231,151,247,217,133,226,145,41,127,71,30,85,125,34,90,13,57,112,75,18,162,95,226,82,245,206,180,48,80,74,145,133,199,61,204,55,196,3,214,212,182,124,241,100,74,43,75,191,84,204,134,249,244,177,82,37,214,112,59,217,7,231,75,165,30,69,193,80,121,127,99,95,249,45,149,153,233,7,197,92,48,134,249,238,125,233,253,252,136,150,63,91,81,219,250,79,163,139,119,31,44,166,147,135,251,77,173,156,182,106,58,41,242,181,125,97,125,181,183,125,121,112,226,75,95,205,246,245,116,87,139,222,191,203,248,22,18,49,165,50,202,103,63,164,253,182,142,6,227,157,239,21,179,222,225,250,215,242,228,90,169,109,105,137,21,31,227,78,30,103,72,114,81,194,115,16,110,203,226,26,15,53,223,98,119,94,62,191,155,191,50,21,51,254,38,121,46,211,37,101,121,241,82,189,188,110,228,228,219,224,140,106,198,67,137,63,166,83,7,23,213,7,22,143,147,168,215,170,26,4,56,94,42,98,104,248,83,92,73,162,70,241,197,90,89,122,39,83,188,99,116,98,247,129,82,45,86,4,139,182,10,32,254,190,250,210,222,12,243,217,243,180,58,176,17,125,95,59,98,46,24,174,156,12,162,40,182,84,185,194,197,42,45,143,135,196,92,35,28,63,39,107,85,125,39,213,135,143,69,4,190,230,221,182,175,166,122,254,240,58,109,207,104,82,54,139,176,57,69,27,249,188,149,179,194,214,1,87,80,167,3,215,161,86,183,45,168,214,97,223,109,83,45,66,69,231,120,89,180,105,46,218,51,234,199,199,154,253,54,68,105,229,146,108,167,224,69,78,173,188,78,53,41,207,145,228,234,19,227,128,126,111,114,201,158,57,237,223,253,106,113,69,42,15,88,56,63,123,226,200,28,86,215,29,68,85,35,7,199,203,205,84,222,213,192,207,156,159,73,138,207,35,203,203,55,105,229,233,163,234,156,227,224,107,149,50,38,241,247,38,197,239,52,244,109,252,172,86,126,27,81,187,240,207,98,46,8,155,155,243,219,184,253,198,235,71,138,197,136,155,177,150,187,67,76,185,61,169,34,140,23,142,161,237,253,105,53,23,247,85,210,95,110,115,249,57,61,78,215,119,255,53,28,151,223,70,239,230,111,45,231,111,89,148,215,127,227,195,172,207,91,243,224,244,161,41,140,102,199,86,84,79,255,210,232,102,141,134,248,114,200,193,1,211,28,111,11,231,17,69,160,114,123,177,136,108,136,247,198,199,58,99,186,101,248,112,87,178,245,169,101,219,109,136,218,186,143,108,228,229,195,36,233,78,177,49,158,223,131,199,67,90,185,29,234,231,37,185,250,240,139,29,163,19,65,62,178,86,6,5,135,169,74,155,58,164,117,189,153,85,131,24,120,69,201,181,184,14,184,65,129,227,101,65,245,140,35,113,86,186,104,232,67,64,237,12,223,12,164,150,169,111,162,239,235,143,164,90,214,166,154,44,41,182,58,45,106,87,165,248,157,38,155,76,127,76,45,191,157,222,35,230,130,64,239,244,131,148,60,213,82,150,23,239,22,179,157,193,197,56,43,197,200,199,152,144,235,105,247,221,150,87,61,27,118,16,77,202,179,228,79,215,130,126,251,218,101,91,181,100,202,247,138,201,32,80,250,173,159,161,193,117,44,201,129,6,248,138,86,10,221,214,84,11,78,213,188,170,216,170,230,100,74,30,35,146,147,155,219,168,223,107,117,235,204,105,74,116,30,177,46,89,94,190,78,45,183,35,241,77,143,146,84,51,188,121,84,35,87,245,145,211,7,223,228,67,170,162,101,20,219,169,168,170,3,26,136,96,165,98,17,234,40,147,222,32,142,64,77,60,136,73,209,41,118,228,69,243,59,104,229,233,175,138,25,215,137,84,207,90,184,152,192,165,166,84,157,141,182,12,143,151,15,215,202,111,167,176,87,188,14,39,39,143,234,249,178,23,13,158,126,90,204,118,2,87,209,107,28,125,43,38,65,3,184,237,173,34,128,38,229,89,77,250,83,222,78,170,61,39,91,209,184,235,13,98,50,8,126,22,151,112,5,181,11,124,45,246,178,163,71,146,108,13,254,246,248,59,220,219,85,32,239,225,118,2,14,151,155,197,121,229,57,180,20,169,54,3,51,253,65,178,247,239,203,246,91,145,41,223,51,56,62,189,159,36,221,73,6,227,105,171,7,25,211,120,252,35,79,60,190,123,71,73,174,25,62,60,224,145,235,192,131,128,109,169,26,148,132,26,144,91,212,222,97,120,41,112,115,103,176,88,97,136,174,19,112,213,208,135,128,38,84,223,174,149,169,215,186,120,254,117,82,61,135,194,239,165,106,163,227,234,139,3,134,15,251,164,201,220,95,106,117,176,182,76,249,44,49,23,132,65,94,252,164,154,47,91,153,226,122,190,66,88,204,118,2,158,96,168,101,181,20,22,70,226,97,115,115,126,91,122,38,159,94,126,70,117,148,229,197,139,197,108,16,124,56,247,57,141,106,11,73,194,226,254,136,199,135,33,199,97,126,156,101,139,190,151,199,29,235,136,235,131,181,119,68,67,37,142,54,227,177,244,152,143,111,88,212,31,207,49,200,54,47,104,38,229,100,89,41,71,81,186,244,92,127,71,181,223,130,186,116,187,224,65,140,204,236,251,181,178,187,212,192,204,220,180,3,60,249,36,131,209,172,244,251,85,177,229,58,170,32,173,250,140,211,241,194,131,205,189,198,187,106,184,169,227,169,26,114,105,216,93,168,242,186,75,167,16,123,135,192,101,151,170,73,14,26,96,14,180,50,245,90,23,237,62,64,170,231,80,248,93,85,109,116,92,125,113,192,48,244,141,252,154,86,7,235,169,120,87,232,201,57,229,225,241,122,222,236,148,153,217,133,98,178,51,184,88,181,230,254,73,204,129,8,248,137,19,243,175,215,158,83,77,61,71,204,6,65,201,15,116,136,248,123,228,49,153,239,118,87,198,171,106,158,32,191,114,53,38,167,119,233,92,234,255,255,67,75,195,181,40,157,63,127,226,165,187,95,35,73,119,150,204,220,240,85,89,94,126,82,171,3,103,50,229,51,36,185,230,84,19,94,45,145,110,203,201,222,61,13,182,27,247,182,129,98,43,198,136,10,206,19,229,175,167,206,192,3,213,218,123,234,131,204,76,159,171,148,169,215,178,25,184,81,67,239,58,66,241,230,67,49,171,201,97,3,85,54,40,127,173,56,48,201,190,84,65,231,25,28,187,241,140,186,117,152,153,157,167,136,153,96,184,26,63,132,118,36,181,1,127,107,90,89,45,21,229,173,36,125,101,52,217,121,164,242,140,106,137,23,40,196,172,119,120,241,77,203,19,180,190,124,46,20,244,113,43,114,148,162,49,143,139,49,57,31,190,77,253,254,31,170,105,180,160,209,164,124,178,36,221,121,168,94,255,64,171,3,103,26,79,175,148,164,220,32,147,95,61,177,142,137,27,178,182,7,123,113,118,110,124,179,83,124,123,201,171,168,33,79,225,149,41,137,39,101,49,58,202,108,160,111,237,149,90,217,250,172,115,143,175,191,10,225,240,187,216,110,235,219,175,190,95,199,171,115,49,182,83,109,50,52,197,144,234,240,115,90,93,28,172,217,177,193,37,187,119,18,19,65,113,240,252,221,14,104,34,193,197,164,41,229,8,200,46,66,223,234,134,246,156,234,232,168,185,233,17,98,214,59,125,26,243,183,171,246,207,184,89,244,177,90,218,144,103,57,91,16,29,142,139,159,82,236,183,164,226,141,177,140,21,124,48,202,203,95,212,235,193,141,178,188,252,168,243,250,236,75,184,187,175,73,109,44,245,89,13,2,199,113,94,41,205,142,42,120,246,15,80,7,162,0,50,83,252,153,90,182,158,42,203,139,79,75,213,172,133,147,9,28,59,156,91,254,246,93,15,230,187,24,13,113,24,213,246,200,188,216,209,234,99,89,28,89,38,63,139,130,234,32,65,83,190,87,203,235,26,250,59,190,46,88,76,117,6,87,147,38,126,47,196,36,136,0,122,38,206,14,121,164,119,36,88,59,199,227,11,45,79,80,29,181,235,132,65,180,82,120,85,227,40,71,227,18,185,46,217,219,216,56,100,164,93,8,134,249,206,247,105,245,224,82,163,201,236,145,146,156,59,56,188,74,75,172,51,50,126,239,184,15,233,92,224,8,138,88,29,47,12,55,102,85,30,149,188,247,93,93,89,245,228,131,53,181,242,5,22,111,195,185,124,165,242,242,218,197,223,57,207,255,7,164,106,14,197,213,4,206,151,195,89,75,187,174,196,100,239,224,237,72,84,254,43,150,235,99,161,98,70,239,38,71,68,157,45,127,30,21,156,47,250,94,110,56,61,207,107,200,148,23,136,137,78,225,106,210,212,183,104,176,216,161,247,245,50,237,57,217,171,248,244,145,171,230,95,38,102,189,35,253,156,146,47,168,150,90,92,48,235,235,89,112,177,200,117,52,58,205,11,159,174,165,211,146,174,220,220,156,223,70,146,238,5,195,23,236,222,149,202,253,247,75,245,224,84,89,94,182,115,160,113,151,27,102,95,147,145,61,66,52,156,177,59,94,152,197,228,18,135,138,169,162,239,47,230,103,23,130,197,119,68,19,80,173,190,44,148,229,197,117,231,229,243,187,137,217,181,200,198,59,143,161,223,178,67,70,181,105,35,106,180,175,22,179,135,226,104,2,231,229,252,8,118,166,42,105,215,85,239,207,188,224,219,128,248,138,234,193,184,200,170,200,24,214,100,231,76,249,231,104,161,103,119,246,250,139,14,197,140,111,80,146,159,118,14,87,125,127,31,163,193,98,134,250,144,119,107,207,169,134,130,182,115,52,206,192,182,111,135,226,113,119,91,223,42,162,149,194,137,159,171,75,39,248,19,142,79,239,67,54,93,181,33,135,168,248,210,40,159,253,144,36,221,43,168,157,190,90,175,19,55,202,204,244,53,146,148,123,58,234,132,241,222,225,241,68,186,114,136,232,249,113,42,78,135,15,5,75,97,242,94,29,224,169,148,1,74,251,208,93,215,28,125,201,252,46,67,51,123,62,117,36,133,82,87,86,162,6,249,139,217,164,24,137,105,43,126,226,249,95,252,127,41,15,175,215,236,90,201,76,127,69,76,30,138,139,9,156,175,72,42,167,33,210,212,247,136,89,144,32,236,60,226,27,141,86,57,76,169,175,122,235,112,188,243,104,249,73,39,113,52,105,194,1,188,17,49,204,167,247,165,119,247,95,148,231,100,47,83,94,37,102,131,16,50,58,187,179,106,169,239,234,232,124,44,122,241,156,202,117,4,34,61,203,95,209,210,106,69,166,188,76,146,237,29,35,83,62,91,173,19,87,50,229,199,142,28,155,223,89,146,115,15,15,222,213,132,19,149,207,19,203,79,197,71,227,233,114,127,98,219,248,116,74,37,166,109,172,118,222,2,71,170,80,157,56,137,60,97,53,117,70,240,106,189,102,215,70,54,157,185,139,9,28,59,113,196,92,171,184,90,237,103,225,208,209,110,176,145,79,239,63,204,103,207,227,168,175,225,34,218,241,74,254,223,28,217,35,127,210,105,224,128,233,30,52,150,187,64,121,70,245,52,153,25,49,27,4,53,79,80,35,241,184,86,170,215,41,244,222,33,90,201,191,156,143,199,7,199,139,135,14,77,241,119,74,90,206,69,239,226,103,51,51,251,110,73,186,119,240,2,143,86,47,46,213,122,253,118,201,9,227,123,251,209,30,60,233,210,242,227,88,201,12,212,16,78,169,10,206,151,83,160,250,56,155,244,169,83,234,167,169,182,207,217,156,223,86,204,215,194,133,147,129,39,165,98,238,80,92,12,186,188,157,255,226,240,155,198,153,23,160,11,184,136,242,228,133,21,49,7,2,51,58,94,93,63,253,161,229,103,84,87,117,163,49,93,192,99,13,45,79,80,115,181,209,231,34,90,201,187,90,137,68,103,167,171,146,86,43,202,76,209,235,133,172,106,161,63,47,62,174,213,141,51,153,242,89,146,92,123,116,101,187,72,168,9,174,167,19,204,211,113,192,192,155,191,44,56,95,132,69,163,201,78,223,230,231,189,236,137,207,125,225,195,77,37,137,218,52,93,253,164,124,236,136,169,181,112,49,232,242,245,94,185,252,166,241,45,128,46,64,223,132,147,200,87,95,81,108,224,96,184,255,160,246,219,233,185,13,52,65,122,144,152,247,14,59,9,180,60,65,14,52,118,127,24,175,154,14,212,142,104,44,211,142,243,165,60,135,218,144,79,171,105,186,150,41,63,54,58,118,227,183,72,210,189,133,198,208,175,81,235,199,153,166,175,149,164,218,165,11,81,11,82,20,239,240,199,172,229,199,177,146,113,192,192,155,127,154,224,124,33,70,147,221,175,205,242,242,127,82,199,241,126,165,142,154,232,3,195,124,246,88,73,166,17,52,96,126,153,98,127,109,81,231,251,23,98,106,45,154,126,39,252,123,49,213,58,178,197,68,205,135,173,196,36,0,73,227,52,122,152,38,5,188,16,198,206,152,46,42,84,116,242,97,84,219,232,76,121,1,111,45,81,159,75,93,153,226,122,73,34,8,136,66,110,79,174,143,58,192,21,212,254,196,109,118,27,206,23,134,198,72,141,198,143,54,26,77,102,191,46,201,246,154,161,153,62,75,171,31,87,162,57,203,199,219,122,95,246,145,184,215,60,168,131,66,201,143,107,37,225,128,97,103,131,146,247,158,170,216,242,246,241,70,74,117,96,231,228,228,147,92,78,224,111,81,241,41,190,69,70,146,106,12,13,154,223,161,167,179,166,198,211,223,16,83,135,226,232,59,241,214,38,56,116,170,182,154,103,172,252,66,213,187,106,202,107,22,7,5,183,119,165,183,167,173,199,221,18,175,62,59,90,144,224,8,147,42,122,155,163,243,76,249,49,53,189,80,10,124,56,102,87,162,218,163,148,227,131,120,209,103,181,175,202,193,218,66,228,210,30,195,124,250,216,44,47,190,168,165,221,130,182,135,23,77,31,32,73,247,154,209,100,198,219,70,181,58,114,166,141,124,246,40,73,174,125,196,27,187,189,156,137,216,197,31,152,20,33,8,90,158,220,170,216,146,164,162,6,222,252,133,218,244,180,167,0,159,199,194,206,17,170,139,150,218,146,98,54,50,211,199,73,114,141,113,17,197,150,141,167,207,20,115,135,226,100,208,213,210,141,12,203,164,116,3,18,38,197,144,162,107,143,188,104,126,7,121,69,156,129,119,173,190,56,42,70,170,209,26,106,171,239,69,227,189,255,53,52,197,103,53,219,49,136,242,119,174,100,55,8,212,206,98,27,120,75,226,177,157,84,179,19,16,173,212,182,138,173,182,163,208,179,188,124,181,158,182,123,113,36,185,36,219,123,6,155,95,184,83,102,202,143,104,245,228,74,153,153,62,91,146,243,71,138,30,116,201,186,119,252,56,29,210,112,192,184,152,200,166,44,118,4,54,25,92,166,14,119,116,85,40,125,94,92,167,213,143,19,153,226,6,215,7,185,178,243,68,77,203,74,211,181,183,66,185,24,116,185,30,8,30,4,191,207,90,250,117,212,118,158,93,230,21,234,142,168,93,126,43,71,227,201,107,226,132,190,247,117,77,85,167,45,224,254,133,6,220,31,214,236,69,35,83,92,223,244,64,248,166,56,140,88,132,150,228,122,124,199,139,18,90,58,80,99,109,251,56,240,127,144,23,231,41,105,183,34,238,199,30,159,223,244,159,37,105,64,180,238,252,50,197,85,146,148,95,216,177,144,82,67,30,42,226,192,75,8,161,41,175,145,228,162,71,205,127,63,180,205,223,140,84,67,111,224,213,229,197,21,206,109,108,51,58,93,236,216,25,76,202,179,36,105,39,108,140,191,116,15,118,156,105,233,217,200,230,32,96,23,131,46,95,142,62,151,207,181,237,1,81,102,166,207,213,210,133,32,250,198,159,47,175,137,51,48,209,109,38,155,246,128,35,95,18,137,236,248,101,201,114,48,240,94,182,39,215,209,20,136,86,114,171,106,44,55,158,62,205,199,124,240,137,199,175,191,35,165,249,250,229,60,180,165,44,47,127,90,146,6,2,213,203,207,47,215,147,83,153,242,19,71,47,156,223,69,146,243,143,139,201,130,15,133,138,60,240,18,66,232,105,187,129,11,250,214,249,251,108,240,99,161,114,186,240,22,35,26,60,100,121,177,163,213,139,107,209,123,245,225,108,178,115,166,100,193,9,124,8,163,139,247,149,223,1,49,185,22,110,6,93,237,71,197,185,110,219,90,15,5,54,197,197,90,186,16,68,250,236,70,94,62,76,94,21,39,112,20,135,146,14,180,190,214,58,19,106,115,115,126,27,106,239,46,81,126,31,149,184,143,26,157,40,30,40,217,14,2,183,177,90,222,32,39,114,126,134,25,156,101,46,85,108,249,92,4,205,242,242,124,61,31,238,69,105,253,113,159,230,24,235,50,50,229,35,180,250,114,170,19,179,71,75,114,97,72,34,180,59,144,147,194,207,202,191,159,237,6,46,232,217,1,112,94,194,28,99,224,188,124,126,55,223,78,151,61,81,231,115,117,211,206,135,195,194,101,112,122,54,71,236,144,205,55,209,183,235,230,58,108,83,188,67,146,89,11,87,131,46,110,23,218,112,106,112,93,179,237,202,185,168,164,91,71,182,78,170,58,80,58,87,44,167,11,65,183,104,250,28,121,85,156,192,223,137,158,14,180,174,214,105,191,252,108,243,110,46,30,251,72,150,131,145,74,93,165,168,54,158,175,203,62,182,143,170,234,143,198,164,190,163,207,7,39,118,191,218,199,220,239,102,153,98,40,73,131,83,200,204,238,237,105,44,255,183,106,157,57,147,219,113,67,109,188,68,123,212,148,143,1,254,50,190,6,96,41,77,242,251,48,40,173,26,253,30,69,189,176,3,196,153,179,194,70,124,222,203,1,145,109,81,57,133,45,110,189,104,233,251,216,174,162,106,76,121,121,229,56,105,32,182,213,202,160,144,242,39,85,208,26,148,239,63,81,211,134,32,150,41,255,80,94,21,103,96,5,187,153,214,153,56,209,223,61,103,249,119,209,201,20,127,74,109,123,171,17,126,235,144,196,98,105,130,226,239,220,245,120,15,209,74,245,85,181,187,1,199,224,67,51,125,134,150,175,86,100,138,171,66,159,43,21,51,153,153,182,186,240,150,229,197,213,146,84,28,200,64,93,205,108,72,249,222,134,228,43,218,163,141,85,238,54,225,137,160,86,142,212,197,19,83,126,247,251,226,120,217,99,52,41,38,90,125,180,42,83,94,53,58,190,243,72,201,194,62,98,26,104,102,22,39,211,247,117,133,210,199,234,48,165,243,129,229,116,33,104,79,60,104,151,87,197,25,188,56,162,165,5,173,167,181,28,48,78,182,108,182,167,202,97,61,41,142,72,118,131,18,243,34,105,202,106,99,17,20,87,80,219,105,177,48,84,108,113,189,133,28,131,15,243,221,251,210,152,239,175,181,60,186,22,149,121,103,48,158,254,168,36,13,20,70,121,249,63,180,186,115,168,191,127,210,100,247,63,73,114,113,192,31,64,108,19,109,254,64,37,123,173,195,78,145,69,131,160,231,197,149,124,150,201,21,252,110,248,168,27,95,90,148,197,239,254,210,152,160,242,63,72,171,151,54,84,213,53,13,34,15,243,248,71,181,210,55,222,89,123,143,104,95,87,40,121,208,36,85,208,26,52,40,66,52,2,116,160,56,84,89,94,21,167,196,238,32,136,89,235,180,11,190,183,188,90,139,250,43,201,106,112,186,186,248,21,82,109,45,30,32,90,233,112,237,141,189,249,25,196,50,254,30,122,90,120,103,101,166,124,165,36,11,14,128,234,233,236,229,122,115,173,44,159,125,143,36,23,23,209,57,98,60,117,134,254,162,128,210,184,130,122,153,46,120,247,185,241,231,134,63,181,8,164,54,160,186,248,67,173,142,92,137,6,217,159,38,141,179,73,241,16,73,114,37,177,12,94,168,131,252,48,223,164,36,217,58,148,126,174,80,250,105,195,244,180,33,72,100,121,86,211,186,116,109,193,193,167,14,115,192,100,230,186,219,107,191,139,69,62,34,251,108,224,182,86,203,39,84,83,45,206,39,250,57,22,88,173,101,135,75,200,72,23,13,62,200,157,198,124,31,209,242,238,90,148,206,231,135,227,192,7,192,38,192,198,229,243,219,101,102,250,65,173,14,93,137,236,255,130,36,23,47,139,6,37,124,7,208,246,106,171,207,134,51,182,14,222,134,20,157,48,123,29,0,63,227,216,26,255,144,12,77,121,129,86,95,77,69,245,205,171,155,191,49,154,204,14,220,110,164,17,141,3,38,47,94,42,89,90,139,62,14,186,248,89,73,241,91,99,112,108,247,12,45,109,8,186,89,166,124,149,188,46,206,193,86,36,123,173,187,37,76,251,109,20,162,182,92,178,24,13,92,167,106,94,33,91,109,183,221,111,33,114,238,150,241,118,172,14,151,101,40,191,30,183,227,23,151,72,178,224,16,178,188,252,45,189,14,29,201,148,191,39,73,197,79,21,21,19,208,25,195,31,117,91,225,106,60,208,90,52,26,122,218,174,213,182,51,169,109,248,57,196,62,40,216,235,4,42,167,11,162,93,84,54,54,217,203,236,242,189,47,102,212,104,94,93,247,59,141,195,1,67,101,48,197,131,36,75,107,209,191,137,90,177,229,99,80,197,87,138,235,233,67,144,200,148,23,200,235,210,10,93,136,250,244,169,117,23,151,232,185,125,88,251,125,72,197,184,48,86,141,187,149,188,66,54,242,183,248,86,165,165,230,161,59,146,49,99,117,73,64,181,107,128,234,150,219,201,20,156,45,203,240,24,152,202,113,25,233,114,31,178,137,172,238,59,217,120,231,49,90,29,58,83,94,92,42,73,165,69,40,103,12,127,248,174,157,23,92,14,183,147,208,213,226,180,36,233,228,137,233,224,230,189,78,129,243,196,19,121,56,93,214,35,203,139,124,185,46,109,69,117,255,9,210,100,112,162,252,78,49,91,139,40,28,48,102,102,36,59,107,211,167,65,50,127,103,109,57,194,151,193,228,23,90,37,126,23,125,12,248,241,30,174,39,155,182,129,254,254,202,229,223,7,21,141,3,37,107,81,113,243,88,27,178,214,158,83,64,170,210,11,52,177,227,8,152,237,116,68,115,56,206,243,66,55,223,184,200,206,200,189,122,228,113,25,47,50,165,234,100,1,160,179,240,68,151,62,100,189,83,107,75,212,40,72,242,181,225,70,36,132,3,129,211,148,44,116,134,170,161,166,134,220,71,84,12,15,242,232,63,247,121,223,209,41,212,131,234,179,201,97,188,159,202,204,244,185,174,234,62,180,3,134,234,226,173,71,94,52,191,131,100,199,10,250,61,15,104,84,187,93,17,127,123,252,140,164,200,173,67,233,157,171,229,3,130,88,217,164,124,170,188,42,173,195,125,12,182,130,28,34,139,113,217,240,196,236,209,244,125,127,94,181,227,83,166,248,83,210,80,178,5,0,0,0,164,3,123,78,213,206,173,93,213,222,207,41,43,90,65,38,76,156,182,100,3,128,40,224,131,44,181,119,85,87,49,171,86,75,242,233,99,15,187,213,200,150,144,14,152,38,206,23,38,136,35,218,163,42,231,75,11,215,118,174,98,144,79,127,72,203,11,4,209,251,120,177,188,38,94,89,44,54,232,121,234,179,234,44,44,81,95,114,137,102,203,135,178,188,124,31,233,153,216,18,0,0,0,32,89,56,44,77,235,228,252,104,113,216,211,97,91,78,56,143,85,88,93,216,149,234,109,201,14,0,209,48,26,151,79,86,222,213,211,148,229,197,95,100,147,242,23,6,199,139,135,202,207,156,19,200,1,243,161,204,148,207,30,156,216,253,106,201,70,109,196,177,171,165,145,184,138,173,16,91,250,216,33,54,52,197,13,122,158,160,254,138,222,199,205,249,237,228,53,241,78,181,45,36,204,162,83,116,98,199,44,59,165,234,68,65,178,243,131,108,124,106,217,102,187,42,102,164,75,17,49,11,0,0,160,19,196,16,158,91,229,65,246,51,46,182,23,85,103,212,108,199,18,58,236,51,124,31,128,117,89,113,24,239,167,100,155,222,217,242,167,173,226,211,1,195,17,47,213,196,193,241,10,104,21,9,211,129,201,89,245,62,80,57,124,239,161,95,38,51,59,79,209,242,7,245,80,166,184,126,144,23,63,41,175,70,20,44,34,98,186,127,240,166,174,98,171,105,251,80,57,179,124,156,7,67,239,14,181,103,151,241,193,222,146,52,0,0,0,144,62,33,183,15,164,161,98,75,170,10,128,232,224,85,65,121,87,189,58,93,78,197,121,27,66,131,238,133,83,182,120,71,229,148,53,211,231,242,54,26,95,97,231,92,158,69,212,221,226,124,164,3,156,92,65,197,121,18,7,117,117,174,18,231,55,182,131,246,120,187,91,229,48,67,52,76,31,245,1,210,21,117,163,44,124,193,121,171,206,137,225,27,21,247,190,123,118,196,118,76,92,46,46,167,235,136,184,145,153,62,78,158,181,246,14,212,18,181,107,31,222,235,203,92,111,151,5,0,0,0,162,128,7,32,49,78,48,98,17,206,126,1,49,51,56,118,227,25,244,158,122,119,186,0,0,0,0,12,141,33,31,68,58,151,157,88,182,26,140,139,140,251,176,16,219,37,1,0,0,128,96,224,128,186,3,100,202,107,164,138,0,0,0,0,0,0,0,0,0,0,154,51,12,123,200,109,148,66,244,11,0,0,0,0,0,0,0,0,0,156,18,246,70,164,8,133,232,23,0,0,0,0,0,0,0,0,0,180,65,117,96,155,230,140,232,153,248,76,156,208,183,136,0,0,0,0,0,0,0,0,0,160,163,44,14,228,141,227,234,231,144,226,131,225,164,74,0,0,0,0,0,0,0,0,0,0,220,195,231,158,104,78,137,190,136,175,63,148,170,0,0,0,0,0,0,0,0,0,0,104,15,142,0,209,156,19,157,151,41,47,231,40,32,169,6,0,0,0,0,0,0,0,0,0,128,118,233,225,121,48,219,112,190,0,0,0,0,0,0,0,0,0,192,59,124,19,144,226,168,232,156,112,232,46,0,0,0,0,0,0,0,0,0,130,50,204,203,237,101,135,69,151,196,206,151,44,159,254,136,20,23,0,0,0,0,0,0,0,0,0,32,12,195,188,216,210,156,23,169,139,111,124,226,67,135,165,152,0,0,0,0,0,0,0,0,0,0,97,225,219,129,52,39,70,186,42,182,54,46,220,185,151,20,15,0,0,0,0,0,0,0,0,0,32,14,134,227,233,211,116,103,70,90,98,103,18,14,220,5,0,0,0,0,0,0,0,0,64,180,240,150,29,205,169,145,130,248,188,23,118,34,73,81,0,0,0,0,0,0,0,0,0,0,226,133,163,71,82,187,166,26,135,237,2,0,0,0,0,0,0,0,0,32,73,248,234,102,62,200,86,115,120,196,162,189,168,23,108,57,2,0,0,0,0,0,0,0,0,64,210,196,120,54,12,59,94,6,166,248,85,56,94,0,0,0,0,0,0,0,0,0,208,41,216,17,19,71,68,76,177,197,209,57,146,45,0,0,0,0,0,0,0,0,0,128,238,193,103,173,176,19,68,119,142,180,163,197,25,47,179,139,224,120,1,0,0,0,0,0,0,0,0,64,175,96,103,8,111,3,106,203,25,83,157,239,98,202,107,216,225,131,173,70,0,0,0,0,0,0,0,0,0,0,68,21,25,83,157,23,83,108,85,206,19,197,169,114,144,228,239,183,217,225,194,78,29,118,238,192,233,2,0,0,0,0,0,0,0,0,0,176,6,27,23,238,220,139,197,206,153,74,227,226,9,213,89,50,244,159,3,179,243,93,44,56,91,0,0,0,0,0,0,0,0,128,62,114,171,91,253,255,94,62,180,205,217,70,159,242,0,0,0,0,73,69,78,68,174,66,96,130]},"index":0}],"calcProperties":{}},"sheets":[{"id":1,"type":1,"columnNum":6,"tailNum":10,"filedAttrs":["file name","project title","variant name","reportdatetime"],"fieldMap":[{"address":"F1","attr":"file name","cellX":6,"cellY":1},{"address":"F2","attr":"file name","cellX":6,"cellY":2},{"address":"F3","attr":"project title","cellX":6,"cellY":3},{"address":"F4","attr":"variant name","cellX":6,"cellY":4},{"address":"F5","attr":"reportdatetime","cellX":6,"cellY":5}],"columnAttrs":["quantity","comment","designator","footprint","value","manufacturer part","manufacturer","supplier part","supplier","lcsc price"],"colunmMap":[{"cellIndex":1,"cellX":1,"cellY":6,"column":null,"isVar":false,"rawValue":"No.","columnValue":["","",""]},{"cellIndex":2,"cellX":2,"cellY":6,"column":"quantity","isVar":true,"rawValue":"Column=Quantity","columnValue":[]},{"cellIndex":3,"cellX":3,"cellY":6,"column":"comment","isVar":true,"rawValue":"Column=Comment","columnValue":[]},{"cellIndex":4,"cellX":4,"cellY":6,"column":"designator","isVar":true,"rawValue":"Column=Designator","columnValue":[]},{"cellIndex":5,"cellX":5,"cellY":6,"column":"footprint","isVar":true,"rawValue":"Column=Footprint","columnValue":[]},{"cellIndex":6,"cellX":6,"cellY":6,"column":"value","isVar":true,"rawValue":"Column=Value","columnValue":[]},{"cellIndex":7,"cellX":7,"cellY":6,"column":"manufacturer part","isVar":true,"rawValue":"Column=Manufacturer Part","columnValue":[]},{"cellIndex":8,"cellX":8,"cellY":6,"column":"manufacturer","isVar":true,"rawValue":"Column=Manufacturer","columnValue":[]},{"cellIndex":9,"cellX":9,"cellY":6,"column":"supplier part","isVar":true,"rawValue":"Column=Supplier Part","columnValue":[]},{"cellIndex":10,"cellX":10,"cellY":6,"column":"supplier","isVar":true,"rawValue":"Column=Supplier","columnValue":[]},{"cellIndex":11,"cellX":11,"cellY":6,"column":"lcsc price","isVar":true,"rawValue":"Column=LCSC Price","columnValue":[]},{"cellIndex":12,"cellX":12,"cellY":6,"column":null,"isVar":false,"rawValue":"Total","columnValue":["","",""]}]},{"id":2,"type":2,"filedAttrs":["project title","borard title","schematic title","pcb title","variant name","total quantity","report time","report date","reportdatetime","file name","filter option"],"fieldMap":[{"address":"B1","attr":"project title","cellX":2,"cellY":1},{"address":"B2","attr":"borard title","cellX":2,"cellY":2},{"address":"B3","attr":"schematic title","cellX":2,"cellY":3},{"address":"B4","attr":"pcb title","cellX":2,"cellY":4},{"address":"B5","attr":"variant name","cellX":2,"cellY":5},{"address":"B6","attr":"total quantity","cellX":2,"cellY":6},{"address":"B7","attr":"report time","cellX":2,"cellY":7},{"address":"B8","attr":"report date","cellX":2,"cellY":8},{"address":"B9","attr":"reportdatetime","cellX":2,"cellY":9},{"address":"B10","attr":"file name","cellX":2,"cellY":10},{"address":"B11","attr":"filter option","cellX":2,"cellY":11}]}],"attr":{"name":"\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248BOM\u6A21\u677F.xlsx","creator":"jlceda","lastModifiedBy":1722566156976,"created":"2024-08-02T02:42:32.593Z", "version": "v2.2.1"}}]'}var YDi=L(Gme());var $5e="bomTemplates",rD="prerformTemplate",fI="None";async function iwr(){mt.deleteCacheObj($5e),await mt.saveToServer(!1)}async function UDi(){return await caches.open($5e)}async function owr(){let e=await(await UDi()).match($5e),i=await(e==null?void 0:e.json());return i!=null&&i.length?i:[]}async function gMt(t){let e=await UDi(),i=new Blob([JSON.stringify(t)],{type:"application/json"}),o=new Request($5e),r=new Response(i);await e.put(o,r)}async function U2(){let t=mt.getCacheObj($5e);try{t&&(t=JSON.parse(t))}catch{t=[]}if((t==null?void 0:t.length)>0)return await gMt(t),await iwr(),FDi(t),t;let e=await owr();return FDi(e),e}var fMt=!1;async function $V(t,e=!0){if(fMt!=!0)try{fMt=!0,await gMt(t),e&&mt.saveToServer(!1)}catch{}finally{fMt=!1}}function FDi(t){let e=mt.getCacheObj(rD);(e==null?void 0:e.indexOf(".xlsx"))>=0&&t.find(o=>o.attr.name===e)||e!=fI&&(mt.setCacheObj(rD,fI),mt.saveToServer(!1))}async function rwr(){let t=BFe(),e=JSON.parse(t);return mt.setCacheObj(rD,fI),await $V(e,!1),e}async function VDi(t){let e=t.bomTemplates;if(e){delete t.bomTemplates;let i=JSON.parse(e);if(i.length>0)return await gMt(i),i}return await rwr()}var lf=L(z()),zFe="\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248BOM\u6A21\u677F.xlsx",nwr="v2.2.1",HDi="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",awr=t=>{let e=t.fileType,i=!1;e==="xlsx"&&(i=!0);let{locals:o}=YDi.default,r=(0,eH.useRef)(null),n=(0,eH.useRef)(null),[a,s]=(0,eH.useState)([]),[l,c]=(0,eH.useState)(""),[d,u]=(0,eH.useState)(!1),p=be.bind(o),m=async()=>{let S=[];try{S=await U2()}catch{c(zFe),mt.setCacheObj(rD,zFe)}let T=S.findIndex(A=>A.attr.name===zFe),M=S[T];if(!M||M.attr.version!==nwr){let A=JSON.parse(BFe())[0];T>=0?S.splice(T,1,A):S.unshift(A),$V(S)}let I=S.map(A=>{let D=A.attr.name;return{value:D,key:D}});return I.unshift({key:fI,value:me.i18n(fI)}),s([...I]),I};(0,eH.useEffect)(()=>{let S=mt.getCacheObj(rD);c(S||fI),m();function T(M){r.current&&!r.current.contains(M.target)&&u(!1)}return document.addEventListener("click",T),()=>{document.removeEventListener("click",T)}},[]);let h=S=>{i&&(c(S),tH(S))},f=()=>{i&&n.current.click()},g=S=>{i&&(S.stopPropagation(),u(!d))},b=async S=>{let T=S.target.files[0],M=T.type;if(HDi.indexOf(M)<0||!M){new Fi({type:"error",msg:"Please select xlsx format file."});return}await y(T),S.target.value=""},y=async S=>{let T=await U2();if(T.length>=11)return new Fi({type:"info",msg:"You can upload up to 10 BOM templates. Please delete the other templates before uploading."}),!1;if(T.find(E=>E.attr.name===S.name))return new Fi({type:"info",msg:"The template has the same name. Please change the name of the file to be uploaded."}),!1;let A={name:S.name,creator:"jlceda",lastModifiedBy:S.lastModified,created:new Date};return await new kp(A).loadFile(S,async E=>{E.attr=A,T.push(E),s([...a,{key:S.name,value:S.name}]),c(S.name),await $V(T),mt.setCacheObj(rD,S.name),await mt.saveToServer(!1)}),!0},w=(S,T)=>{i&&(T.stopPropagation(),swr(S))},x=(S,T)=>{if(!i)return;T.stopPropagation();function M(I){let A=a.findIndex(D=>D.key===S);if(A>=0){let D=a.splice(A,1);s([...a]),eSe(S),S==l&&(c(fI),mt.setCacheObj(rD,fI),mt.saveToServer(!1))}I.closeDlg()}Lpe("","Delete Template","Decide whether to delete the BOM template",M)};return(0,lf.jsxs)("div",{style:{display:"flex",flexDirection:"row",width:"100%",border:d?"1px solid var(--border-color-focus-input)":"1px solid var(--common-border-color)",borderRadius:"2px",cursor:"pointer",color:i?"var(--font-color-input)":"var(--font-color-disabled-input)",backgroundColor:i?"var(--bg-color-input)":"var(--bg-color-disabled-input)"},children:[(0,lf.jsxs)("div",{style:{position:"relative",width:"100%"},onClick:S=>{g(S)},ref:r,children:[(0,lf.jsxs)("div",{style:{width:"100%",cursor:"pointer",lineHeight:"24px",height:"24px",textIndent:"6px",overflow:"hidden",position:"relative"},children:[(0,lf.jsx)("div",{style:{width:"calc(100% - 30px)",overflow:"hidden",userSelect:"none"},children:i?l==fI?me.i18n(fI):l.slice(0,-5):me.i18n(fI)}),(0,lf.jsx)("div",{className:p("template-collapse",{"template-collapse-focus":d}),children:(0,lf.jsx)("i",{className:o["template-collapse-icon"]})})]}),(0,lf.jsx)("div",{style:{display:d?"block":"none",position:"absolute",top:"30px",borderTop:"1px solid var(--common-border-color)",borderRadius:"2px",width:"100%",boxShadow:"rgba(50, 50, 50, 0.3) 0 0 15px",backgroundColor:"var(--common-bg-color)",zIndex:1,cursor:"pointer",boxSizing:"border-box",borderBottom:"1px solid var(--common-border-color)"},children:a.map((S,T)=>{let{key:M,value:I}=S;return(0,lf.jsxs)("div",{className:M===l?o["template-select-item"]:o["template-item"],onClick:()=>{h(M)},children:[(0,lf.jsx)("span",{style:{display:"inline-block",whiteSpace:"nowrap",width:"80%",overflow:"hidden",float:"left",textOverflow:"ellipsis"},children:M==fI?I:I.slice(0,I.length-5)}),M===fI?(0,lf.jsx)(lf.Fragment,{}):M===zFe?(0,lf.jsx)("span",{style:{display:"inline-block"},onClick:A=>{w(M,A)},children:(0,lf.jsx)("span",{className:"icon-eda-download",style:{fontSize:"18px"}})}):(0,lf.jsxs)(lf.Fragment,{children:[(0,lf.jsx)("span",{style:{display:"inline-block"},onClick:A=>{w(M,A)},children:(0,lf.jsx)("span",{className:"icon-eda-download",style:{fontSize:"18px"}})}),(0,lf.jsx)("span",{style:{display:"inline-block"},onClick:A=>{x(M,A)},children:(0,lf.jsx)("span",{style:{fontSize:"16px",color:"var(--common-font-color)"},children:"\xD7"})})]})]},T)})})]}),(0,lf.jsx)("div",{style:{width:24,borderLeft:d?"1px solid var(--border-color-focus-input)":"1px solid var(--common-border-color)",textAlign:"center",fontWeight:"bolder",color:i?"var(--common-font-color)":"#bfbfbf",lineHeight:"19px",cursor:"pointer",userSelect:"none"},onClick:f,children:"..."}),(0,lf.jsx)("input",{type:"file",accept:HDi,style:{display:"none"},ref:n,onChange:S=>{b(S)}})]})};function tH(t){mt.setCacheObj(rD,t),mt.saveToServer(!1)}async function eSe(t){let e=await U2();if(!e)return;let i=e.find(r=>r.attr.name===t),o=e.indexOf(i);e.splice(o,1),await $V(e)}async function swr(t){let i=(await U2()).find(n=>n.attr.name===t);i.attr.created=new Date(i.attr.created);let o=i.attr,r=new kp(o);tSe(i,r),await r.export(!1)}function tSe(t,e){let i=t.workbook;i.sheets.forEach(r=>{var u,p;let n=e.addSheet(r.name,{});n.pageSetup=r.pageSetup||{},n.properties=r.properties||{},r.views&&(n.views=r.views);let a=r.state;n.state=a||"visible";let s=r.cols||[],l=r.rows||[],c=r.media||[],d=r.merges||[];r.cols&&(n.columns=r.cols);for(let m=0;m<l.length;m++){let f=l[m].cells,g=f[f.length-1],b=0;g&&(b=RJ(g.address).col+1);let y=[];for(let x=0;x<b;x++){let S=GDi(m,x),T=f.find(I=>I.address===S),M="";if(T){let I=T.type;I===3||I===8?M=T.value:I===6?M=T.result:(M=T.value||T.result,(!M||typeof M!="string"&&typeof M!="number")&&(M=""))}else M="";y.push(M)}let w=n.addRow(y);for(let x=0;x<b;x++){let S=GDi(m,x),T=f.find(M=>M.address===S);if(T){let M=w.getCell(x+1);if(dwr(M,T.style),T.type===6){let I={},A=T.formula;A&&(I.formula=A,I.result=T.result,M.value=I)}}}}for(let m=1;m<=n.columnCount;m++){let h=n.getColumn(m),f=(u=s[m-1])==null?void 0:u.width;f&&(h.width=f)}for(let m=1;m<=n.rowCount;m++){let h=n.getRow(m),f=(p=l[m-1])==null?void 0:p.height;f&&(h.height=f)}d.forEach(m=>{n.mergeCells(m)}),c.forEach(m=>{let h=m.imageId,f=i.media.find(w=>w.index==h),g=f.buffer.data,b=f.extension,y=e.workbook.addImage({buffer:g,extension:b});n.addImage(y,m.range)})})}function lwr(t){let e="";for(;t>=0;)e=String.fromCharCode(t%26+65)+e,t=Math.floor(t/26)-1;return e}function GDi(t,e){return lwr(e)+(t+1)}function cwr(t){let e=0;for(let i=0;i<t.length;i++)e=e*26+(t.charCodeAt(i)-65+1);return e-1}function RJ(t){let e=t.match(/^([A-Z]+)(\d+)$/);if(!e)throw new Error("Invalid Excel format");let i=e[1],o=parseInt(e[2],10)-1,r=cwr(i);return{row:o,col:r}}function dwr(t,e){Object.getOwnPropertyNames(e).forEach(o=>{let r=e[o];if(o=="font"){let n=Object.getOwnPropertyNames(r);n?(t[o]={},n.forEach(a=>{a!="scheme"&&(t[o][a]=e[o][a])})):t[o]=r}else o=="numFmt"?t.numFmt=r:t[o]=r})}var WDi=awr;async function Yme(t,e,i){let o=t instanceof Blob?(await uwr(t)).data:t;cd(o,e,i)}async function uwr(t){return new Promise((e,i)=>{let o=new FileReader;o.onload=r=>{e({data:o.result,error:null})},o.oneror=r=>{e({data:null,error:r})},o.readAsArrayBuffer(t)})}async function QDi(t,e,i=!1){t=t.replace(/[*?:\\\/\[\]]/g,"_");let o=new kp({name:t}),r=e.split(`
`),n=[],a=[],s,l;if(r&&r.length){for(let c=0;c<r.length;c++)n.push(r[c].split("	"));if(n.shift().forEach((c,d)=>{c==="Quantity"&&(l=d),a.push({header:c,key:c,width:20})}),s=o.addSheet(t,{columns:a}),o.addRowsToSheet(s,n,l),i)return await o.getExportBlob();await o.export()}}async function KDi(t,e,i,o,r,n){try{let a=await pwr(t,e,i,o,r);if(n)return a.getExportBlob();a.export()}catch{new Fi({type:"info",msg:"The template file format is incorrect, please select again."})}}async function pwr(t,e,i,o,r){let n=t.sheets,a=t.attr;a.created=new Date(a.created),a.name=o;let s=new kp(a);for(let l=0;l<n.length;l++){let c=n[l],d=c.type,u=c.id;d===1?await mwr(u,c,t,e,s,i,r):d===2&&await Mwr(u,c,t,e,s)}return s.workbook.calcProperties.fullCalcOnLoad=!0,s}async function mwr(t,e,i,o,r,n,a){let s=i.workbook.sheets.find(u=>u.id===t),l=r.addSheet(s.name,{}),c=s.rows.length;l.pageSetup=s.pageSetup||{},l.properties=s.properties||{},s.views&&(l.views=s.views),s.cols&&(l.columns=s.cols),bMt(1,e.columnNum-1,s,e,o,l);let d=await wwr(s,e,l,n,a);bMt(e.tailNum,c,s,e,o,l,!1),fwr(e,s,d,l),hwr(l,s),gwr(l,d,e,s),bwr(l,s,e,i.workbook.media,r.workbook,d)}function hwr(t,e){var i;for(let o=1;o<=t.columnCount;o++){let r=t.getColumn(o),n=(i=e.cols[o-1])==null?void 0:i.width;n&&(r.width=n)}}function fwr(t,e,i,o){let r=t.tailNum,n=t.columnNum,a=e.rows.length-(r-1);for(let s=0;s<a;s++){let l=e.rows[r+s-1],c=o.getRow(r+s+i-3);for(let d=0;d<c.cellCount;d++){let u=c.getCell(d+1),p=RJ(u.address).col,m=l.cells.find(h=>RJ(h.address).col==p);if(m&&m.formula){let h=m.formula,f=/[a-zA-z]+[0-9]+/g,g=h.match(f);if(g&&g.length){let y=!0,w=new Map;g.forEach(x=>{let S=x.match(/[0-9]+$/),T=Number(S[0]);T==r-1?h=h.replace(x,x.slice(0,S.index)+(n+i)):T>=r&&(h=h.replace(x,x.slice(0,S.index)+(T+i-3)))})}let b={formula:h,result:null};u.value=b}}}}function gwr(t,e,i,o){let r=e-3,n=o.merges||[],a=i.columnNum,s=i.tailNum;for(let c=0;c<n.length;c++){let d=n[c],[u,p]=d.split(":"),m,h,f,g,b=l(u),y=l(p);if(!b||!y)return;m=b[1],h=Number(b[2]),f=y[1],g=Number(y[2]);let w=!1,x=!1,S=!1;if(g<a?S=!0:h>=s?w=!0:h===g&&(x=!0),x){if(g===a)for(let T=0;T<=e;T++){let M=`${m}${h+T}:${f}${g+T}`;t.mergeCells(M)}}else{w&&(h+=r,g+=r);let T=`${m}${h}:${f}${g}`;t.mergeCells(T)}}function l(c){let d=/([a-zA-Z]+)([0-9]+)/;return c.match(d)}}function bwr(t,e,i,o=[],r,n){if(e.media&&e.media.length){if(!o||!o.length)return;let a=i.columnNum-1,s=i.tailNum-1;for(let l=0;l<e.media.length;l++){let c=e.media[l],d=c.imageId;if(!t.workbook.getImage(d)){let f=o.find(y=>y.index==d),g=f.buffer.data,b=f.extension;d=r.addImage({buffer:g,extension:b})}let p=c.range,m=p.tl.nativeRow,h=p.br.nativeRow;m>=s&&(p.tl.nativeRow+=n-3,p.br.nativeRow+=n-3),t.addImage(d,p)}}}async function ywr(t,e,i,o){i.forEach((s,l)=>{let c=s.column;if(c){let d=e.find(u=>u.value.toLowerCase()==c);if(d)o.push(d);else{let u=a(c),p={title:n(u),value:u,order:0,key:0,orderWeight:e.length+1};o.push(p)}}});let r=t;(!r||!r.length)&&(r=[]);function n(s){let l;switch(s){case"Number":{l="No.";break}case"realTimePrice":{l="Real-time Price";break}case"realTimeStock":{l="Real-time Stock";break}default:{l=s;break}}return l}function a(s){let l;switch(s){case"realtimeprice":l="realTimePrice";break;case"realtimestock":l="realTimeStock";break}if(l)return l;let c=["3d","lcsc","id","bom"],d=["to","into"],u="";return s.split(" ").forEach(m=>{m&&(c.indexOf(m)>=0?u+=m.toUpperCase()+" ":d.indexOf(m)>=0?u+=m+" ":u+=m[0].toUpperCase()+m.slice(1)+" ")}),u.trim()}return r}async function wwr(t,e,i,o,r){let n=e.colunmMap,a=[],s=await ywr(o,r,n,a);Cwr(n,a,e,i,t);let l=t.rows[e.columnNum];for(let c=0;c<s.length;c++){let d=s[c],u=xwr(d,n,c,a,i,l);Twr(u,n,l,s,e)}return s.length}function Cwr(t,e,i,o,r){let n=[],a=r.rows[i.columnNum-1];for(let l=0;l<t.length;l++){let c=a.cells[l],d=t[l],u=d.column;if(!d.isVar||!u){n.push(c.value);continue}let p=e.find(m=>m.value.toLowerCase()===u);n.push((p==null?void 0:p.title)||`<Parameter ${u} not found>`)}let s=o.addRow(n);a.height&&(s.height=a.height);for(let l=0;l<s.cellCount;l++){let c=a.cells[l],d=s.getCell(l+1);yMt(d,c.style)}}function xwr(t,e,i,o,r,n){let a=[];for(let l=0;l<e.length;l++){let c=e[l];if(c.isVar){let d=c.column;if(!d)a.push("");else{let u=o.find(m=>m.value.toLowerCase()===d),p=t[u.value];typeof p=="number"||typeof p=="string"?a.push(p):p instanceof Array&&a.push(p.join(", "))}}else{let d=c.columnValue,u=i%2;a.push(d[u]||"")}}let s=r.addRow(a);return n.height&&(s.height=n.height),s}function Twr(t,e,i,o,r){for(let n=0;n<t.cellCount;n++){let a=e[n],s=i.cells.find(l=>RJ(l.address).col===n);if(s){let l=t.getCell(n+1);if(yMt(l,s.style),!a.isVar){let c=s.formula,d=new Map;if(c){let u=/[a-zA-z]+[0-9]+/g,p=c.match(u);p&&p.length&&p.forEach(m=>{let h=m.match(/[0-9]+$/);if(!h)return;let f=Number(h[0]),g=r.columnNum,b=r.tailNum,y=o.length,w=t.number;if(!(f<g))if(f>=g&&f<b){let x=r.columnNum+1,S=f-x;d.set(m,m.slice(0,h.index)+(w+S))}else{let x=f+y-3;d.set(m,m.slice(0,h.index)+x)}})}c&&(l.value={formula:Swr(c,d),result:null})}}}}function Swr(t,e){if(!e||e.size===0)return t;let i=Array.from(e.keys()).sort((r,n)=>n.length-r.length||n.localeCompare(r)),o=new RegExp(i.map(r=>r.replace(/[.*+?^${}()|[\]\\-]/g,"\\$&")).join("|"),"g");return t.replace(o,r=>e.get(r))}function Mwr(t,e,i,o,r){var u,p;let n=i.workbook.sheets.find(m=>m.id===t),a=r.addSheet(n.name,{});a.pageSetup=n.pageSetup||{},a.properties=n.properties||{},n.views&&(a.views=n.views),n.cols&&(a.columns=n.cols),bMt(1,n.rows.length,n,e,o,a);let s=n.media||[],l=n.merges||[],c=n.cols||[],d=n.rows||[];for(let m=1;m<=a.columnCount;m++){let h=a.getColumn(m),f=(u=c[m-1])==null?void 0:u.width;f&&(h.width=f)}for(let m=1;m<=a.rowCount;m++){let h=a.getRow(m),f=(p=d[m-1])==null?void 0:p.height;f&&(h.height=f)}l.forEach(m=>{a.mergeCells(m)}),s.forEach(m=>{let h=m.imageId,f=i.workbook.media.find(w=>w.index==h),g=f.buffer.data,b=f.extension,y=r.workbook.addImage({buffer:g,extension:b});a.addImage(y,m.range)})}function bMt(t,e,i,o,r,n,a=!0){let s=i.rows||[],l=o.fieldMap;for(let c=t;c<=e;c++){let d=s[c-1],u=d.cells,p=u[u.length-1],m=0;p&&(m=RJ(p.address).col+1);let h=Iwr(u,d,m,l,r,n);Lwr(h,u,m,a)}}function Iwr(t,e,i,o,r,n){let a=[];for(let l=0;l<i;l++){let c=t.find(p=>RJ(p.address).col===l);if(!c){a.push("");continue}let d=c.type,u="";if(d===3?u=c.value:d===6?u=c.result:u=c.value||c.result,!u||typeof u!="string"&&typeof u!="number")a.push(u||"");else{let p=c.address,m=o.find(h=>h.address===p);if(m){let h=r[m.attr];h?u=h:u=`<Parameter ${m.attr} not found>`}a.push(u)}}let s=n.addRow(a);return e.height&&(s.height=e.height),s}function Lwr(t,e,i,o){for(let r=0;r<i;r++){let n=e.find(s=>RJ(s.address).col===r);if(!n)continue;let a=t.getCell(r+1);if(yMt(a,n.style),o){let s={},l=n.formula,c=a.value;l&&(s.formula=l,s.result=c,a.value=s)}}}function yMt(t,e){Object.getOwnPropertyNames(e).forEach(o=>{let r=e[o];if(o=="font"){let n=Object.getOwnPropertyNames(r);n?(t[o]={},n.forEach(a=>{a!="scheme"&&(t[o][a]=e[o][a])})):t[o]=r}else o=="numFmt"?t.numFmt=r:t[o]=r})}var FFe=class{constructor(e){this.sheets=new Array;this.workbook=e}addSheet(e){this.sheets.push(e)}getFormatData(){return{workbook:this.workbook.model,sheets:this.sheets}}};var G3=class G3{constructor(e){this.sheets=[];this.workbook=new ZDi.Workbook;let{name:i,creator:o="jlceda",lastModifiedBy:r="jlceda",created:n=new Date}=e;this.workbook.creator=o,this.workbook.lastModifiedBy=r,this.workbook.created=n,this.bookName=i}setFont(){this.sheets.forEach(e=>{e.eachRow(i=>{i.eachCell(o=>{o.font=this.fontConfig})})})}addSheet(e,i={}){let o=this.workbook.addWorksheet(e),{columns:r=[],rowHight:n=15,horizonCenter:a=!1,verticalCenter:s=!1,showGridLines:l=!0,zoomScale:c=100,tabColor:d=void 0,font:u=void 0}=i;return o.columns=r,o.pageSetup.horizontalCentered=a,o.pageSetup.verticalCentered=s,o.pageSetup.showGridLines=l,o.views.push({zoomScale:c}),d&&(o.properties.tabColor.argb=d),o.properties.defaultRowHeight=n,u&&(this.fontConfig=u),this.sheets.push(o),o}addDataToSheetColums(e=this.sheets[0],i){let o;if(e)for(let r of Reflect.ownKeys(i))o=e.getColumn(r),o.values=i[r]}addRowsToSheet(e=this.sheets[0],i,o){if(e)for(let r of i)r&&r.length&&(o&&r[o]&&(r[o]=Number(r[o])),e.addRow(r))}deleteSheet(e){let i=e.id;this.workbook.removeWorksheet(i)}export(e=!0){this.fontConfig&&this.setFont(),this.workbook.xlsx.writeBuffer().then(async i=>{if(wi){let o=new Blob([i],{type:G3.EXCEL_TYPE});await Yme(o,e?`${this.bookName}.xlsx`:this.bookName,"xlsx")}else N2.downloadFile(e?`${this.bookName}.xlsx`:this.bookName,new Blob([i],{type:G3.EXCEL_TYPE}))})}async getBlobData(){return new Promise(e=>{this.workbook.xlsx.writeBuffer().then(i=>{e({fileName:`${this.bookName}.xlsx`,blobData:new Blob([i],{type:G3.EXCEL_TYPE}),fileType:G3.EXCEL_TYPE})})})}async getExportBlob(){this.fontConfig&&this.setFont();let e=await this.workbook.xlsx.writeBuffer();return new Blob([e],{type:G3.EXCEL_TYPE})}async loadFile(e,i){let o=new FileReader;o.readAsArrayBuffer(e),o.onload=async r=>{await this.workbook.xlsx.load(r.target.result);let n=this.analyseXlsx();i&&i(n)}}analyseXlsx(){let e=this.workbook,i=e.worksheets,o=new FFe(e);return i.forEach((r,n)=>{let a=!0,s=-1,l=-1,c=new Set,d=new Map,u=new Set,p=[];r.eachRow((h,f)=>{if(!(f<l)){for(let g=1;g<=h.cellCount;g++){let b=h.getCell(g);if(b&&b.value){let y=b.text,w=y.match(G3.fieldReg),x=y.match(G3.columnReg);if(w){let S=w[0].trim().toLowerCase();S&&c.add(S),S?d.set(b.address,{address:b.address,attr:S,cellX:b.col,cellY:b.row}):d.set(b.address,{address:b.address,attr:"",cellX:b.col,cellY:b.row})}if(x){a=!1;let S=x[0].trim().toLowerCase();S&&u.add(S)}}}if(!a&&s==-1){s=f,l=s+4;for(let g=1;g<=h.cellCount;g++){let b=h.getCell(g),y={cellIndex:g,cellX:b.col,cellY:b.row,column:null,isVar:!1,rawValue:"",columnValue:[]};if(b&&b.value){let w=b.text;y.rawValue=w;let x=w.match(G3.columnReg);if(x){let S=x[0].trim().toLowerCase();y.column=S,y.isVar=!0}}if(!y.isVar)for(let w=1;w<=3;w++){let S=r.getRow(f+w).getCell(g).value;(!S||typeof S!="string"&&typeof S!="number")&&(S=""),y.columnValue.push(S)}p.push(y)}}}});let m={};a?m={id:r.id,type:2,filedAttrs:Array.from(c),fieldMap:[...d.values()]}:m={id:r.id,type:1,columnNum:s,tailNum:l,filedAttrs:Array.from(c),fieldMap:[...d.values()],columnAttrs:Array.from(u),colunmMap:p},o.addSheet(m)}),o.getFormatData()}exportFile(e="xlsx"){this.fontConfig&&this.setFont(),e==="xlsx"?this.workbook.xlsx.writeBuffer().then(async i=>{if(wi){let o=new Blob([i],{type:G3.EXCEL_TYPE});await Yme(o,this.bookName,"xlsx")}else N2.downloadFile(this.bookName+".xlsx",new Blob([i],{type:G3.EXCEL_TYPE}))}):e==="csv"&&this.workbook.csv.writeBuffer().then(async i=>{if(wi){let o=new Blob([i],{type:G3.EXCEL_TYPE});await Yme(o,this.bookName,"csv")}else N2.downloadFile(this.bookName+".csv",new Blob([i],{type:G3.EXCEL_TYPE}))})}async getExportFileBlob(e="xlsx"){this.fontConfig&&this.setFont();let o=await(e==="xlsx"?this.workbook.xlsx:this.workbook.csv).writeBuffer();return new Blob([o],{type:G3.EXCEL_TYPE})}};G3.EXCEL_TYPE="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8",G3.fieldReg=new RegExp("(?<=(^ *field *= *)).*","i"),G3.columnReg=new RegExp("(?<=(^ *column *= *)).*","i");var kp=G3;var ba=L(Vi());var XDi=L(Hr()),pp=L(Se());var xMt=L(qDi());var Y3=L(z()),Jc=new class extends qe{constructor(){super(...arguments);this.searchValue="";this.fromRestore=!1;this.zh2EnCache={}}updateData(e,i=!1,o=!0){this.rawData=e,o&&(this.searchValue=""),this.notify(),this.onLoadSuccess(i)}hasData(){return this.rawData&&this.rawData.titleArr.length>0}goToRow(e){this.stepArr={date:new Date,step:e},this.notify()}setSearchValue(e){this.searchValue=e,this.notify()}canvasSelected(e){this.canvasIdArr={date:new Date,IdArr:e},this.notify()}onLoadSuccess(e){let i=this.rawData.allIds||[];this.fromRestore||(e&&(i=i.slice(0,1)),C.messageBus.publish("highlightItems",{globalIndexArr:i,needAdaptAll:!1}))}},Dwr=()=>{let[t,e]=(0,pp.useState)(1),[i,o]=(0,pp.useState)(50),[r,n]=(0,pp.useState)([]),[a,s]=(0,pp.useState)([]),[l,c]=(0,pp.useState)([]),[d,u]=(0,pp.useState)([]),[p,m]=(0,pp.useState)(1920),[h,f]=(0,pp.useState)(220),[g,b]=(0,pp.useState)([]),[y,w]=(0,pp.useState)(0),[x,S]=(0,pp.useState)(!1),T=(0,pp.useContext)(_r),[M,I]=(0,pp.useState)(!1),[A,D]=(0,pp.useState)([]),[E,N]=(0,pp.useState)(mt.getCacheObj("PCB_SHOW_TREE")?!!mt.getCacheObj("PCB_SHOW_TREE").bottomTreeHight:!1),R=(0,pp.useRef)(!0),v=(0,pp.useRef)(null);(0,pp.useEffect)(()=>{(async()=>{let F=await ei(),K=(await C.windowBridge.rpcCall("setSearchData",{value:Jc.searchValue,valueEn:Jc.zh2EnCache[Jc.searchValue]},F.contentWindow)).message;if(K){let te=Object.assign({},Jc.rawData);te.valueArr=K,Jc.updateData(te,void 0,!1)}})()},[Jc.searchValue]);let k=J();Ae(xMt.default);let{locals:P}=xMt.default,O=be.bind(P),_=(0,pp.useRef)(void 0);Ce(Jc),(0,pp.useEffect)(()=>{let F=Jc.stepArr;F&&(F.step>0?_.current.downMove(y):_.current.upMove(y))},[Jc.stepArr]),(0,pp.useEffect)(()=>{let F=Jc.rawData;if(F!==void 0){let K=j(F.titleArr);n(K)}},[p,Jc.rawData,d]);let j=F=>{let K=F.filter(ae=>!d.includes(ae)&&ae!=="globalIndex"),te=[];for(let ae=0;ae<K.length;ae++)te.push({key:K[ae],name:k(K[ae]),width:p/K.length>50?1/K.length:50,align:"left",sortable:!0});return te};(0,pp.useEffect)(()=>{if(Jc.fromRestore){Jc.fromRestore=!1;return}I(!1);let F=Jc.rawData;if(!F)return;let K=F.allIds||[];C.messageBus.publish("highlightItems",{globalIndexArr:K,needAdaptAll:!1,isHighlight:E})},[Jc.rawData]),(0,pp.useEffect)(()=>{(async()=>{let F=Jc.rawData;if(F==null)return;if(!F.titleArr.length){S(!0),s([]);return}S(!1);let K=(t-1)*i,te=Math.min(t*i,F.valueArr.length),ae=await B(F,K,te),pe=F.titleArr.filter(Z=>ae.every(ee=>ee[Z]===""));if(u(pe),s(ae),w(0),c(ae),M){let Z=[];for(let ee=0;ee<A.length;ee++)for(let ce=0;ce<ae.length;ce++)A[ee]==ae[ce].id&&Z.push(ce);b(Z)}})()},[t,i,Jc.rawData,is.lang]),(0,pp.useEffect)(()=>{if(Jc.canvasIdArr!==void 0){let F=new Set(Jc.canvasIdArr.IdArr);if(F.size>0){D(Jc.canvasIdArr.IdArr);let K=[];for(let te=0;te<a.length;te++)F.has(a[te].id)&&K.push(te);I(!0),b(K)}else D([]),b([])}},[Jc.canvasIdArr]),(0,pp.useEffect)(()=>{(async()=>{if(R.current)R.current=!1;else{let F=Jc.rawData,K=(t-1)*i,te=Math.min(t*i,F.valueArr.length),ae=await B(F,K,te);if(ae.length!==0){I(!1);let pe=[],Z=[];for(let ee=0;ee<ae.length;ee++){let ce=ae[ee].id;ce&&pe.push(ce),Z.push(ee)}C.messageBus.publish("highlightItems",{globalIndexArr:pe,needAdaptAll:!1,isHighlight:E}),b(Z)}}})()},[i]),(0,pp.useEffect)(()=>{let F=()=>{let pe=document.getElementById("bottomBarBox").clientWidth,Z=document.getElementById("bottomBarBox").clientHeight;m(pe),f(Z)};window.addEventListener("resize",F);let K=()=>{let pe=document.getElementById("layout_toggler_bottom").getAttribute("style"),Z=56,ee=+pe.slice(8,11);f(ee-Z)};window.addEventListener("mousemove",K);let te=!1,ae=mt.getCacheObj("PCB_SHOW_TREE");return ae&&(te=ae.bottomTreeHight),N(te),()=>{window.removeEventListener("resize",F),window.removeEventListener("mousemove",K),v.current&&clearTimeout(v.current)}},[]);let B=async(F,K,te)=>{if(F.valueArr.slice(K,te).some(Z=>Z===null)){let Z=await ei();F.valueArr=(await C.windowBridge.rpcCall("getFindResult",{startIndex:K,endIndex:te},Z.contentWindow)).message}let pe=[];for(let Z=K;Z<te;Z++){let ee=F.valueArr[Z],ce={id:ee.globalIndex||ee.Group,type:"checkbox",index:Z};F.titleArr.forEach(ne=>{let oe=F.needTranslate[ne]||{},re=ee[ne];Array.isArray(re)?re=re.map(Y=>oe.translate?me.i18n(Y):Y).join(", "):re=oe.translate?me.i18n(re):re,ce[ne]=re}),pe.push(ce)}return pe},V=F=>{if(v.current&&clearTimeout(v.current),w(F.selectedRowNumbers[0]),I(!0),F.clickObj.clickCount==2){let K=F.row.globalIndex;K&&C.messageBus.publish("highlightItems",{globalIndexArr:[K],needAdaptAll:!0,isHighlight:E});return}v.current=setTimeout(()=>{let K=F.selectedRowNumbers,te=[],ae=JSON.parse(JSON.stringify(F.tableData));for(let pe=0;pe<ae.length;pe++)if(K.includes(pe)){let Z=ae[pe].id;Z&&te.push(Z)}C.messageBus.publish("highlightItems",{globalIndexArr:te,needAdaptAll:!1,isHighlight:E}),D(te)},300)},G={menuId:"findResult_menu",defaultConfig:[{id:"clear",title:"Clear",callback:F=>Q()}]},Q=()=>{jJ({valueArr:[],titleArr:[]});let F=he.getTabById(gi());F.data.findResult={valueArr:[],titleArr:[]}},H=F=>{switch(F){case"clear":Q();break;default:break}},q=F=>{F.stopPropagation(),F.preventDefault(),Da.open({data:[{cmd:"clear",title:me.i18n("Clear")}],position:{x:F.pageX-5,y:F.pageY-5},onClick(K,te,ae,pe){H(K.cmdlink.join(":"))},onEnterConfirm(K,te,ae){H(K.join(":"))}})},U=dt();return(0,Y3.jsxs)("div",{children:[x?(0,Y3.jsxs)("div",{className:O("emptyContent"),children:[(0,Y3.jsx)("div",{className:O("emptyBackground"),children:(0,Y3.jsx)("span",{"data-test":"emptyBackground",children:" "})}),(0,Y3.jsx)("div",{className:O("emptyText"),children:(0,Y3.jsxs)("span",{"data-test":"emptyText",children:[" ",k("No Result")]})})]}):(0,Y3.jsxs)("div",{children:[(0,Y3.jsxs)("div",{className:P.leftTreeSearch,children:[U===ve.PCB&&(0,Y3.jsx)("div",{className:O(`icon_wrap ${E?"active":""}`),children:(0,Y3.jsx)("span",{className:O("icon icon-eda-highlight"),"data-test":"Automatically Highlight Selection",title:k("Automatically Highlight Selection"),onClick:()=>{N(!E),setTimeout(()=>{let F=mt.getCacheObj("PCB_SHOW_TREE")||{};F.bottomTreeHight=!E,mt.setCacheObj("PCB_SHOW_TREE",F),mt.saveToServer(!1)})}})}),(0,Y3.jsx)("div",{style:{width:"200px"},children:(0,Y3.jsx)(Ws,{initShowValue:Jc.searchValue,isImmediatelyDoConfirmAtEndinput:!0,onClearInputValue:()=>{Jc.setSearchValue("")},onConfirm:F=>{Jc.setSearchValue(F)}})})]}),(0,Y3.jsx)(xi,{ref:_,index:"id",columns:r,rows:l,height:h,stockade:!0,border:!0,enableWindowResizeHandler:!1,selectedRowNumbers:g,moveAble:!0,onClick:V,onContextMenu:(F,K)=>{q(K)},searchValueCB:F=>{},searchValue:Jc.searchValue})]}),(0,Y3.jsx)("div",{className:O("paginationFindResult"),children:l.length>0&&(0,Y3.jsx)(cp,{simplify:!0,inputJump:!1,pageNumber:t||0,onPageNumberChange:(F,K)=>{e(K)},countTotal:Jc.rawData.valueArr.length||0,cutSize:i||0,cutSizeOptions:[10,20,50,100,150],onPageSizeChange:F=>o(F)})})]})},CMt=null;function iSe(t){CMt||(CMt=t||document.querySelector("#findObjTable"),XDi.default.createRoot(CMt).render((0,Y3.jsx)(Dwr,{})))}var Wre=L(Se());var AMt=L(eEi());var Hre={lastPcbComparisonDlgParams:null},Vre=[];function Wme(){Vre.forEach(t=>{t&&(console.log("Virtual open project was closed",t),C.messageBus.rpcCall(qr.COMPARE_DESTORY,[t]))}),Vre.length=0}function TMt(t){return t&&typeof t=="object"}function BJ(t){return Object.is(t,void 0)||Object.is(t,"")||Object.is(t,null)}function tEi(t,e){return t?Object.hasOwnProperty.call(t,e):!1}function nD(t,e,i,o){return t?tEi(t,e)?t[e]:(o&&(t[e]=i),i):i}function iEi(t,e,i,o=!0){return!t||!o&&tEi(t,e)||t[e]===i?!1:(t[e]=i,!0)}function Pp(t,e){if(!t)return!1;for(let i in t){let o=t[i];if(e(o,i,t))return!0}return!1}function oEi(t,e,i=!0){let o=!1;return Pp(e,(r,n)=>{o=iEi(t,n,r,i)||o}),o}function Ewr(t){return t?Object.keys(t):[]}function rEi(t){return t?Ewr(t).length==0:!0}function iH(t,e,i,o,r,n){return new Promise((a,s)=>{if(!t||!t.length)return a({});e==="symbol"&&!i&&(i=ve.PART),r||(r=_o()),n||(n=_o());let l={titles:JSON.stringify(t),type:e,docType:[i],sortBy:o,user_uuid:r,path:n};Je&&(l.titles=t);let c={};e==="symbol"&&Ze.getSymbolSearchList({path:n,isProject:n===C.currentProject.projectId,docType:i,titles:t}).then(d=>{d&&it(d,(u,p)=>{u&&(c[u]=p)}),a(c)}).catch(d=>{s(d.message||"service error!")}),e==="footprint"&&Ze.getFootprintSearchList({path:n,isProject:n===C.currentProject.projectId,titles:t}).then(d=>{d&&it(d,(u,p)=>{u&&(c[u]=p)}),a(c)}).catch(d=>{s(d.message||"service error!")}),e==="device"&&Ze.getDeviceSearchList({path:n,isProject:n===C.currentProject.projectId,titles:t}).then(d=>{d&&it(d,(u,p)=>{u&&(c[u]=p)}),a(c)}).catch(d=>{s(d.message||"service error!")})})}function oSe(t,e,i,o,r,n,a){return new Promise((s,l)=>{if(a=a||{},!t||!t.length)return s(t);let d=t.splice(0,100);iH(d,e,i,o,r,n).then(u=>{typeof u=="string"?console.error(u):a=Object.assign(a,u)}).catch(u=>{console.error(u)}).finally(async()=>{await oSe(t,e,i,o,r,n,a),s(a)})})}function Awr(t,e,i){return new Promise((o,r)=>{if(!t||!t.length)return o({});let n=i===C.currentProject.projectId;if(e===ve.DEVICE)try{Ze.getDeviceSearchList({titles:t,isProject:n,path:i,withPackage:!0}).then(a=>{a&&o(a),o({})})}catch(a){r(`${a}getDeviceSearchList error!`)}else if(e===ve.PCBLIB3D)try{Ze.getD3ModelSearchList({titles:t,isProject:!Je&&n,path:i}).then(a=>{a&&o(a),o({})})}catch(a){r(`${a}getD3ModelSearchList error!`)}else if(kl(e))try{Ze.getSymbolSearchList({titles:t,docType:e,isProject:n,path:i}).then(a=>{a&&o(a),o({})})}catch(a){r(`${a}getSymbolSearchList error!`)}else if(e===ve.FOOTPRINT)try{Ze.getFootprintSearchList({titles:t,isProject:n,path:i}).then(a=>{a&&o(a),o({})})}catch(a){r(`${a}getFootprintSearchList error!`)}else if(goe())try{Ze.getPanelLibSearchList({path:i,isProject:n,titles:t}).then(a=>{let s={};a&&o(a),o(s)})}catch(a){r(`${a}getPanelSearchList error!`)}else console.error("\u6587\u6863\u7C7B\u578B\u672A\u652F\u6301",e)})}async function VFe(t,e,i){if(!t||t.length==0||!e||e.length==0)return{};let o=new Set(t),r={};for(let n=0;n<e.length;n++){let a=Array.from(o);if(a.length==0)break;let s=e[n],l=await aD(a,i,s);Pp(l,(c,d)=>{c&&c.length>0&&(r[d]=(r[d]||[]).concat(c),o.delete(d))})}return r}function aD(t,e,i,o){return new Promise(r=>{if(o=o||{},!t||t.length==0||!i)return r(o);let a=t.splice(0,100);Awr(a,e,i).then(s=>{typeof s=="string"?console.error(s):o=Object.assign(o,s)}).catch(s=>{console.error(s)}).finally(async()=>{await aD(t,e,i,o),r(o)})})}function aEi(t,e,i){return new Promise((o,r)=>{let n=t.display_title||t.title,a=n.toLowerCase();iH([n],"device",void 0,e,i).then(async s=>{var l;if(typeof s=="string")o(s);else if(Object.keys(s).includes(a)){let d=s[a],u=MMt(t.docType),p=u?d.symbol:d.footprint,m=p&&p.uuid;if(!t.owner){let h=(await C.messageBus.rpcCall("userInfo","")).message;t.owner=h}if(m){let h=typeof t.owner=="string"?t.owner:((l=t.owner)==null?void 0:l.uuid)||"",f;u?f=await Ze.getSymbol({path:h,isProject:h===C.currentProject.projectId,uuid:m}):f=await Ze.getFootprint({path:h,isProject:h===C.currentProject.projectId,uuid:m});let g=f?f.dataStr:"";return lEi(t.dataStr,g)?o(d):Qme(t).then(b=>{o(b)})}else return d[u?"symbol":"footprint"]={display_title:t.display_title,title:t.title,uuid:t.uuid},d.attributes[u?"Symbol":"Footprint"]=t.uuid,SMt(d).then(h=>{o(h)})}else return Qme(t).then(d=>{o(d)})}).catch(s=>{r(s.message||"createDeviceByFootPrint error!")})})}function SMt(t,e=!0){return new Promise(async(i,o)=>{let r=t.uuid||"",n=null;if(!t.owner){let s=(await C.messageBus.rpcCall("userInfo","")).message;t.owner=s}if(n={uuid:r,path:t.path||"",owner:t.owner.uuid,description:t.description||"",tags:t.tags,custom_tags:t.custom_tags||"",source:"",version:t.updateTime,attributes:t.attributes,title:t.display_title||t.title,project_uuid:t.project_uuid,symbol_type:t.docType},r)t.title=t.display_title||t.title,n=t;else if(!e)return i(n);let a=await Ze.updateDevice({path:n.path,isProject:n.path===C.currentProject.projectId,uuid:n.uuid,device:{...n}});a?(Ls()==="device"&&x1(),i(a)):i("save device failed")})}async function sEi(t){return t.dataStr?await Qme(t,!1):await IMt({lib:t,isSymbol:kl(t.docType)},!1)}function Qme(t,e=!0){return new Promise((i,o)=>{var n;let r=uEi(t.title,3);r.unshift(t.title),iH(r,"device",t.docType,"mine",(n=t==null?void 0:t.owner)==null?void 0:n.uuid).then(async a=>{if(typeof a=="object"){let s=Object.keys(a);for(let l=0;l<r.length;l++){let c=r[l];if(!s.includes(c.toLowerCase())){t.title=c;let d=Yre(t),u=d.attributes.Footprint?"":HFe(t.dataStr,MMt(t.docType)).Footprint;if(u){let p=await iH([u],"footprint",void 0,"mine",t.owner.uuid);if(typeof p=="object"){let m=Object.keys(p),h=p[m[0]];h&&h.uuid&&(d.attributes.Footprint=h.uuid)}}return SMt(d,e).then(p=>{i(p)})}}t.title=r[r.length-1],Qme(t).then(l=>{i(l)})}else o(a)}).catch(a=>{o(a.message||"service error!")})})}function Yre(t,e){let i=ue.deepClone(t),o=MMt(t.docType),r=HFe(t.dataStr,o),n={},a=["footprint","symbol","name","number","pin type","device","contributor","package","pre","refdes","pkg_type","catid","nameAlias","sourceId","spicePre","spiceSymbolName","timeStamp"].map(l=>l.toLowerCase());for(let l in r){let c=r[l]||"",d=l.toLowerCase();if(!a.includes(d))switch(d){case"pre":case"prefix":case"refdes":case"designator":Gre(n,"Designator",c);break;case"add_into_bom":case"Add into BOM":Gre(n,"Add into BOM",c==="no"?"no":"yes");break;case"convert_to_pcb":case"Convert to PCB":Gre(n,"Convert to PCB",c==="no"?"no":"yes");break;default:let u=l.replace(/BOM_/gi,"");Gre(n,u,c);break}}Gre(n,"Add into BOM","yes"),Gre(n,"Convert to PCB","yes"),i.attributes=n;let s={display_title:i.display_title,title:i.title,uuid:i.uuid};return i[o?"symbol":"footprint"]=s,Gre(n,o?"Symbol":"Footprint",s.uuid),i.project_uuid=i.project_uuid||"",i.images=[],i.uuid="",e&&(i.display_title=e,i.title=e),i}function Gre(t,e,i){(Object.is(t[e],void 0)||Object.is(t[e],""))&&(t[e]=i)}function HFe(t,e){let i=oH(t),o={},r=e?3:7,n=e?4:8;return i.forEach(a=>{a[0]==="ATTR"&&(o[a[r]]=a[n])}),o}function lEi(t,e){if(!t||!e)return!1;let i=oH(t),o=oH(e),r=a(i),n=a(o);return r===n;function a(s){let l=[];return s.forEach(c=>{Nwr(c[0])&&l.push(c)}),JSON.stringify(l);return l.join(`
`)}}function MMt(t){return t!=ve.FOOTPRINT}function Nwr(t,e){if(e&&e.includes(t))return!1;switch(t){case"POUR":case"POLY":case"REGION":case"FILL":case"PAD":case"ARC":case"LINE":case"VIA":case"STRING":case"DIMENSION":case"OBJ":case"RECT":case"PIN":case"TEXT":case"CIRCLE":return!0}return!1}function nEi(t,e,i,o,r=!0){return new Promise(async(n,a)=>{let s=t.uuid,l=Yre(t,i);delete l.dataStr;let c=e?"Symbol":"Footprint";if(!(i||l.display_title||l.title))return n("the device has no footprint and symbol.");let u=t.project_uuid===C.currentProject.projectId,p=e?"Footprint":"Symbol";if(u&&o&&!l.attributes[p]){let h=await iH([o],e?"footprint":"symbol",void 0,"mine",l.owner.uuid);if(typeof h=="object"){let f=Object.keys(h),g=h[f[0]],b=g.source+(g.path?"|"+g.path:"");if(g){let y={title:o,description:g.description||"",docType:g.docType||(e?ve.FOOTPRINT:ve.PART),dataStr:g.dataStr,owner:g.owner.uuid,tags:[],source:b||"",project_uuid:C.currentProject.projectId},w=await Ze.createDevice({path:y.path,isProject:y.path===C.currentProject.projectId,device:{data:{...y}}});if(typeof w=="object"){let x=e?$e.FOOTPRINT.ADD:$e.SYMBOL.ADD,{message:S}=await C.messageBus.rpcCall(x,[w,C.currentProject.projectId]);S&&(l.attributes[p]=w.uuid)}else console.warn(o),console.warn(w)}}}SMt(l,r).then(m=>{typeof m!="string"?C.messageBus.rpcCall($e.DEVICE.ADD,[m,C.currentProject.projectId]).then(h=>{n(m)}):n(m)})})}function IMt(t,e=!0){return new Promise(async(i,o)=>{let{lib:r,isSymbol:n}=t,a=r.display_title||r.title,s=n?$e.SYMBOL.ADD:$e.FOOTPRINT.ADD;null?nEi(r,n,a,void 0,e).then(c=>{i(c)}):C.messageBus.rpcCall(s,[r,C.currentProject.projectId]).then(c=>{nEi(r,n,a,void 0,e).then(d=>{i(d)})})})}function cEi(t){return new Promise(async(e,i)=>{if(!t||!t.length)return e(null);let o=[],r=Pwr(kwr(t)),n=await Owr(r,m),a=[],s=[];for(let b in n){let y=n[b],w={dataStr:y.dataStr,desc:"",source:"",tag:{parent_tag:[],child_tag:[]},title:b,docType:y.docType,uuid:b,owner:{uuid:_o()}};y.type==="symbol"?(w.dataStr=LMt(w.dataStr,y.title),a.push(w)):s.push(w)}let l=t[0].project_uuid||C.currentProject.projectId;await h(a,!0,l),await h(s,!1,l),await C.messageBus.rpcCall("/pro-mgr/project/sync/force");let c={},d=Rwr(o),u=await _wr(d,g),p=[];for(let b in u){let y=u[b],x=y.type==="symbol"?$e.SYMBOL.GET:$e.FOOTPRINT.GET,{message:S}=await C.messageBus.rpcCall(x,[y.sourceLibUuid,C.currentProject.projectId]);S.dataStr=y.deviceDataStr||S.dataStr;let T=y.deviceName,A={attributes:Yre(S,T).attributes,description:"",images:[],tags:{parent_tag:[],child_tag:[]},title:b,uuid:""};p.push(A)}return await f(p,l),await C.messageBus.rpcCall("/pro-mgr/project/sync/force"),e(c);function m(b,y){let w=y.uuid;b.deviceInfo.forEach(x=>{o.push({deviceName:x.deviceName,deviceDataStr:x.deviceDataStr||y.dataStr,bindName:x.bindName,sourceLibUuid:w,ggeId:x.ggeId,type:x.type})})}async function h(b,y,w){try{if(!b||!b.length)return;await Ro(b,async(x,S)=>{let T;if(y?T=await Ze.createSymbol({path:w,isProject:w===C.currentProject.projectId,symbol:{data:{...S}}}):T=await Ze.createFootprint({path:w,isProject:w===C.currentProject.projectId,footprint:{data:{...S}}}),T){let M=T;if(!(M&&M.uuid))return;m(n[M.display_title],M)}else console.error("\u66F4\u65B0\u5931\u8D25",S)})}catch(x){console.error(x)}}async function f(b,y){!b||!b.length||await Ro(b,async(w,x)=>{let S=await Ze.updateDevice({path:y,isProject:y===C.currentProject.projectId,uuid:x.uuid,device:{...x}});if(S){let T=S;if(!(T&&T.uuid))return;g(u[T.display_title],T)}else console.error("\u66F4\u65B0\u5931\u8D25",x)})}function g(b,y){if(!b)return;let w=b.type==="symbol";b.ggeIds.forEach(x=>{c[x]={deviceuuid:y.uuid,deviceName:y.display_title,libuuid:b.sourceLibUuid||y.attributes[w?"Symbol":"Footprint"]}})}})}async function FJ(t,e,i,o,r,n,a,s,l){try{if(n=n||[],!t||!t.length)return Zr(),n;let d=t.splice(0,20);d.forEach(g=>{delete g.project_uuid,g.title=g.display_title||g.title});let u=[],p=[];await Ro(d,async(g,b)=>{if(e==="device"){let y=await Ze.createDevice({path:i,isProject:i===C.currentProject.projectId,device:{uuid:b.uuid,path:i,isProject:i===C.currentProject.projectId,...b}});y?(u.push(y),n.push(y)):p.push(b)}if(e==="component")if((b==null?void 0:b.docType)===ve.FOOTPRINT){let w=await Ze.createFootprint({path:i,isProject:i===C.currentProject.projectId,footprint:{uuid:b.uuid,path:i,isProject:i===C.currentProject.projectId,...b}});w?(u.push(w),n.push(w)):p.push(b)}else{let w=await Ze.createSymbol({path:i,isProject:i===C.currentProject.projectId,symbol:{uuid:b.uuid,path:i,isProject:i===C.currentProject.projectId,...b}});w?(u.push(w),n.push(w)):p.push(b)}}),o&&o(u),r&&r(p);let m=n.length,h=t.length+m;h&&a!==!0&&vt(m/h,"importing...");let f;return s&&(f=s(m/h)),!l&&!f&&await FJ(t,e,i,o,r,n,a,s),x1(),n}catch(c){console.error(c)}}function kwr(t){if(!t)return[];let e={},i={};return t.map(o=>{let r=o.title,n=o.deviceName;r.length<2&&(r=zJ(r,Object.keys(e)),o.title=r),n.length<2&&(n=zJ(n,Object.keys(i)),o.deviceName=n);let a=r.toLowerCase();e&&Object.hasOwnProperty.call(e,a)?o.title=e[a]:e[a]=r;let s=n.toLowerCase();return i&&Object.hasOwnProperty.call(i,s)?o.deviceName=i[s]:i[s]=n,o})}function Pwr(t){let e={};if(!t||!t.length)return e;let i=[];return t.forEach(o=>{let r=o.title,n=o.dataStr;for(;;){let a=e[r];if(a)if(lEi(n,a.dataStr)){a.deviceInfo.push({deviceName:o.deviceName,deviceDataStr:o.deviceDataStr,bindName:o.bindName,ggeId:o.ggeId,type:o.type});return}else r=rSe(r);else break}e[r]={type:o.type,title:o.title,dataStr:o.dataStr,project_uuid:o.project_uuid,docType:o.docType,deviceInfo:[{deviceName:o.deviceName,deviceDataStr:o.deviceDataStr,bindName:o.bindName,ggeId:o.ggeId,type:o.type}]},i.push(r)}),e}async function Owr(t,e){let i={};if(!t)return i;let o=[];for(let r in t){let n=t[r],a=n.type==="symbol";for(;;){r=vMt(r,o),i[r]=n,o.push(r);break}}return i}function Rwr(t){let e={};if(!t||!t.length)return e;let i=[];return t.forEach(o=>{let r=o.deviceName,n=o.sourceLibUuid,a=o.bindName;for(;;){let s=e[r];if(s)if(s.sourceLibUuid===n&&s.bindName===a){s.ggeIds.push(o.ggeId);return}else r=rSe(r);else break}e[r]={deviceName:o.deviceName,deviceDataStr:o.deviceDataStr,bindName:o.bindName,sourceLibUuid:n,ggeIds:[o.ggeId],type:o.type},i.push(r)}),e}async function _wr(t,e){let i={};if(!t)return i;let o=[];for(let r in t){let n=t[r];for(;;){r=vMt(r,o),n.bindName=n.bindName,i[r]=n,o.push(r);break}}return i}function LMt(t,e){if(!t||!e)return t;let i=oH(t);for(let o of i)if(o[0]==="ATTR"&&o[3]==="Symbol")return o[4]!=e?(o[4]=e,GFe(i)):t;return t}async function dEi(t){let e={},i=(await C.messageBus.rpcCall("userInfo","")).message;t.symbols.forEach(l=>{l.owner=i,e[l.uuid]=l}),t.block_symbol.forEach(l=>{l.owner=i,e[l.uuid]=l});let o={};t.footprints.forEach(l=>{l.owner=i,o[l.uuid]=l});let r={};t.devices.forEach(l=>{l.owner=i,r[l.uuid]=l});let n={};t.pcbs.forEach(l=>{l.owner=i,n[l.uuid]=l});let a={},s={};for(let l in t.schematics){let c=t.schematics[l];c.owner=i,a[l]=c.sheets,s[l]={name:c.name,display_title:c.name,sort:[],uuid:l},c.sheets.forEach(d=>{s[l].sort.push({ticket:d.sheet_id,uuid:d.uuid})})}return{coppers:{},instances:{},footprints:o,symbols:e,devices:r,schematics:s,sheets:a,pcbs:n}}async function YFe(t){var u;let e=(u=C.currentProject)==null?void 0:u.projectId,{projectId:i,projectName:o,needPcb:r,needSch:n,needDevice:a,needFootprint:s,needSymbol:l}=t,c=null;if(i==e){let{message:p}=await C.messageBus.rpcCall($e.PROJECT.GET,[i]);return p&&(c=p,!c.pcbs&&r&&(c.pcbs=(await C.messageBus.rpcCall($e.PCB.GET_ALL_ARR,[i])).message),!c.schematics&&n&&(c.schematics=(await C.messageBus.rpcCall($e.SCHEMATIC.GET_ALL_ARR,[i])).message),!c.devices&&a&&(c.devices=(await C.messageBus.rpcCall($e.DEVICE.GET_ALL_ARR,[i])).message),!c.footprints&&s&&(c.footprints=(await C.messageBus.rpcCall($e.FOOTPRINT.GET_ALL_ARR,[i])).message),!c.symbols&&l&&(c.symbols=(await C.messageBus.rpcCall($e.SYMBOL.GET_ALL_ARR,[i])).message)),c}let{message:d}=await C.messageBus.rpcCall(qr.COMPARE_CLOUD,[i]);return d&&d.success&&d.result?EMt(d.result,o):null}async function pEi(t){if(!t)return null;let{message:e}=await C.messageBus.rpcCall(qr.COMPARE_LOCAL,[t]);if(e&&e.success&&e.result){let i=e.result;return i.id?i:null}}function DMt(t,e){var d;if(!t||!e)return null;let i=null;t.pcbs.some(u=>{u.uuid==e&&(i=u)});let o=t.uuid;return{pcbWorld:{uuid:e,docType:ve.PCB,projectId:o,env:{tabId:e+Zc+o,windowTabId:(d=ko())==null?void 0:d._TAB_ID_}},pcbPageData:i};function n(u,p){let m=[],h=[],{devices:f,footprints:g}=p;if(!u||!((f==null?void 0:f.length)>0||(g==null?void 0:g.length)>0))return{pcbDataString:u,templates:m};let b={};f==null||f.forEach(v=>{b[v.uuid]=v});let y={};g==null||g.forEach(v=>{y[v.uuid]=v});let w=!!u.match(/^\[\[/),x=A(u);if(!x)return{pcbDataString:u,templates:m};let{customFootprints:S,pcbDataString:T}=x,M=[];if(w){let v=oH(T);for(let k of v)R(k)}else D(T,R);if(S.forEach(v=>{let k=/\["HEAD".+/,P=v.match(k),O=null;if(P&&(O=JSON.parse(P[0])),!O)return;let[_,j]=O,{source:B,uuid:V,title:G}=j,Q=B.split("|")[0];if(Q){let q=y[Q];q&&!h.includes(B)&&(m.push(N(q)),h.push(B))}let H=["CUSTOMFOOTPRINT",G,B,V,v];m.push(H),h.push(V)}),M.length==0)return{pcbDataString:T,templates:m};for(let v of M){let k=6,P=v[k]=="Footprint"?v:null,O=v[k]=="Device"?v:null;if(!P&&!O&&(k+=1,P=v[k]=="Footprint"?v:null,O=v[k]=="Device"?v:null),!P&&!O)continue;let _;if(O!=null){let V=O[k+1];_=b[V]}let j="";if(_!=null){h.includes(_.uuid)||(m.push(E(_)),h.push(_.uuid)),j=_.attributes.Footprint;let V=y[j];V&&(h.includes(j)||(m.push(N(V)),h.push(j)))}if(P!=null){let V=P[k+1];!j||V!=j?j=V:j=""}if(!j)continue;let B=y[j];B&&(h.includes(j)||(m.push(N(B)),h.push(j)))}return{pcbDataString:T,templates:m};function I(v,k,P){let O=v.length,_=k?`

`:`
`;if(P>=O)return null;let j=v.indexOf(_,P);j<0&&(j=O);let B=v.substring(P,j);return P=k?j+2:j+1,{data:B,cursor:P}}function A(v){try{let k=v.length,P=0,O=[];for(;P<k;){let j=I(v,!0,P);j&&(O.push(j.data),P=j.cursor)}let _=O.pop()||"";return{customFootprints:O,pcbDataString:_}}catch(k){return console.warn(k),null}}function D(v,k){try{let P=v.length,O=0;for(;O<P;){let _=I(v,!1,O);if(_){let j=JSON.parse(_.data);k==null||k.call(null,j),O=_.cursor}}}catch(P){return console.warn(P),!1}return!0}function E(v){let k=Object.assign({utime:v.updateTime,uuid:v.uuid},v.attributes);return["Symbol","Convert to PCB"].forEach(O=>delete k[O]),["DEVICE",v.display_title||v.title,k]}function N(v){let k=v.display_title||v.title,P=v.source,O=v.uuid,_=v.dataStr;if(v!=null&&v.uuid.length>32){let j=(P||"").split("|")[0];if(j){let B=y[j];B&&!h.includes(P)&&(m.push(N(B)),h.push(P))}return["CUSTOMFOOTPRINT",k,P,O,_]}else return["FOOTPRINT",k,O,v.updateTime,_]}function R(v){if(!v)return;v[0]==="ATTR"&&M.push(v)}}function a(u){return u==null?void 0:u.map(p=>({hashId:p.hash,dataUrl:s(p.dataStr),fileName:p.filename}))}function s(u){let p="";return mEi(u,m=>{if(!m)return;let h=JSON.parse(m);h[0]==="BLOB"&&(p=h[3])}),p}function l(u){let p=u?{}:void 0;return u==null||u.forEach(m=>{let h=m.path.replace(/.+_/,"");p[h]=m.dataStr}),p}function c(u){return u==null?void 0:u.map(p=>p.dataStr)}}function EMt(t,e){if(!t||!t.id)return null;Vre.push(t.id);let i={uuid:t.id,title:e,name:e,members:[],owner:null,g_ticket:0,boards:[],filePath:"",timeOfOpenProject:null,block_symbol_attrs_groups:{},cbb_project:!1,default_sheet:"",blobs:[],block_symbol:[],block_symbol_attribute:[],coppers:[],devices:[],fonts:[],footprints:[],panels:[],pcbs:[],schematics:{},symbols:[]};return t.datas.forEach(o=>{i.pcbs.push({project_uuid:i.uuid,uuid:o.uuid,display_title:o.title,title:o.title,description:"",docType:ve.PCB,dataStr:"",ticket:0})}),i}var QFe=L(hU());var hEi=window,fEi="PCB_COMPARISON_MSG_BUS_",gEi=hEi[fEi]=hEi[fEi]||new QFe.MessageBus(!0),WFe=class t{constructor(){this.workerPool={};this.workerId=-1;this.subscribeTopicPre="pcb-comparison-ui/";this.publishTopicPre="pcb-comparison-worker/";this.applyProgress=!0;this.init(),this.subscribe("message",Ut),this.subscribe("pcb-comparison-result",this.pcbComparisonResultCall.bind(this)),this.subscribe("updateProgress",this.updateProgress.bind(this)),this.subscribe("processInterruption",this.processInterruption.bind(this))}static getInstance(){return this._instance||(this._instance=new t),this._instance}init(){}subscribe(e,i){gEi.subscribe(this.subscribeTopicPre+e,i)}publish(e,i){let o=this.workerPool[i.workerId];o&&o.workerBus.publish(this.publishTopicPre+e,i)}loadWorker(e){let i=++this.workerId,o=`editor?entry=pcb-comparison-worker.js&cll=${window.PRO_LOG_LEVEL}`,r=new Worker(o),n=new QFe.WorkerMessageBridge(gEi,r);return this.workerPool[i]={worker:r,workerBus:n,resCall:e},i}killWorker(e){let i=this.workerPool[e];i&&(i.worker.terminate(),delete this.workerPool[e])}updateProgress(e){if(!this.applyProgress)return;let i=e.progress;isNaN(i)&&(i=1),j6(i,"PCB Comparison...",void 0,()=>{this.processInterruption({manual:!0})})}processInterruption(e){let i="",o=!1;typeof e=="string"?(i=e,o=!1):e&&(o=e.manual,i=e.message),o&&Object.keys(this.workerPool).forEach(r=>this.killWorker(+r)),i&&Ut({type:"error",message:i}),o||this.updateProgress({progress:1})}pcbComparison(e,i){typeof i=="function"&&(this.updateProgress({progress:0}),e.workerId=this.loadWorker(i),this.publish("pcb-comparison",e))}pcbComparisonResultCall(e){if(!e){this.updateProgress({progress:1});return}let i=e.workerId,o=this.workerPool[i];o&&typeof o.resCall=="function"&&(o.resCall.call(null,e),this.killWorker(i),this.updateProgress({progress:1}))}};var V0=L(z()),jwr=t=>{Ae(AMt.default);let e=be.bind(AMt.default.locals),i=e("line"),o=e("line-label"),r=J(),{dlgId:n,pcbUuid1:a,pcbUuid2:s,projectData1:l,projectData2:c,valUnit:d,deviation:u,comparisonSize:p}=t,[m,h]=(0,Wre.useState)(l),[f,g]=(0,Wre.useState)(c),b=(m==null?void 0:m.uuid)==(f==null?void 0:f.uuid),y=(m==null?void 0:m.pcbs)||[],w=b?y:(f==null?void 0:f.pcbs)||[],x={};m==null||m.boards.forEach(re=>{re.pcb&&(x[re.pcb]=re.name)});let S=b?x:{};b||f==null||f.boards.forEach(re=>{re.pcb&&(S[re.pcb]=re.name)});let T={},M=b?T:{};y.forEach(re=>T[re.uuid]=re),b||w.forEach(re=>M[re.uuid]=re);let I=(m==null?void 0:m.name)||"",A=(f==null?void 0:f.name)||"",D=mU(d),E="PCB1",N="PCB2",R="Comparison Mistake",v="Comparison Size",k=d==39.37?3:1,{pcbList:P,newPcbUuid:O}=K(y,a,x),_=[],j=s;if(b)_=[].concat(P);else{let{pcbList:re,newPcbUuid:Y}=K(w,s,S);_=re,j=Y}let[B,V]=(0,Wre.useState)(O),[G,Q]=(0,Wre.useState)(j),[H,q]=(0,Wre.useState)(te(u)),[U,F]=(0,Wre.useState)(te(p));function K(re,Y,X){let de=[{value:"",text:"",showOriginalText:!0,disabled:!1}],fe="";return re.forEach(ye=>{let Le=ye.uuid,Re=X[Le],Ne=ye.display_title||ye.title,Te=Re?`${Re}: ${Ne}`:Ne;Le==Y&&(fe=Y),de.push({value:Le,text:Te,showOriginalText:!0,disabled:!1})}),{pcbList:de,newPcbUuid:fe}}function te(re){return+re.toFixed(k)}async function ae(re){if(re==="confirm"){if(!B||!G){new Fi({type:"warn",msg:"Please select the PCB you want to compare!"});return}if(m.uuid==f.uuid&&B==G){new Fi({type:"warn",msg:"Please select different PCB documents for comparison"});return}let Y=Vre.includes(m.uuid),X=Vre.includes(f.uuid);Hre.lastPcbComparisonDlgParams=Object.assign({},t,{pcbUuid1:Y?"":B,pcbUuid2:X?"":G,deviation:H,comparisonSize:U,projectData1:Y?null:m,projectData2:X?null:f}),C.messageBus.publish("pro-ui/clearComparisonResult");let{pcbWorld:ie,pcbPageData:de}=DMt(m,B),{pcbWorld:fe,pcbPageData:ye}=DMt(f,G);if(!ie||!fe){De({type:"error",msg:"Comparison failed, engineering data is abnormal."});return}await ee(ie,fe,de,ye);let Le={pcbUuid1:B,pcbUuid2:G,valUnit:d,deviation:H,comparisonSize:U,pcbWorld1:ie,pcbWorld2:fe};WFe.getInstance().pcbComparison(Le,Re=>{Z(Re),le.close(n),Wme()})}else le.close(n),Wme()}function pe(re){var Qe,ut;let{abnormalIdMap:Y,totalIdsMap:X}=re,ie=m.uuid,de=f.uuid,fe=lo(B,ie),ye=lo(G,de),Le=(Qe=T[B])==null?void 0:Qe.title,Re=(ut=M[G])==null?void 0:ut.title,Ne={},Te={},Pe={},Oe=!1,Ue={},Ve={},ze={};for(let rt in X){let{pcbIds1:ht,pcbIds2:ct,comparisonIdMap:wt}=X[rt];Ue[rt]=[],Ve[rt]=[],ht.forEach(zt=>{Ke(Ue[rt],Ge(zt,""))}),ct.forEach(zt=>{Ke(Ve[rt],Ge("",zt))}),ze[rt]={};for(let zt in wt){if(zt=="same")continue;!Oe&&zt!="same"&&(Oe=!0);let gt=ze[rt][zt]=[];wt[zt].forEach(yt=>{let jt=yt.split("-"),ni=jt[0],Ii=jt[1];if(ni&&Ii){let Mo=Ge(ni,Ii);Ke(gt,Mo)}else if(ni){let Mo=Ge(ni,"");Ke(gt,Mo)}else if(Ii){let Mo=Ge("",Ii);Ke(gt,Mo)}}),gt.length==0&&delete ze[rt][zt]}Object.keys(ze[rt]).length==0&&delete ze[rt]}let He={},Ye={};if(Y)for(let rt in Y){let{pcb1:ht,pcb2:ct}=Y[rt];if(ht){let{notInComparisonIds:wt,repeatIds:zt}=ht;if(He[rt]={},wt&&wt.length>0){let gt=He[rt].notInComparisonIds=[];wt.forEach(Qt=>{Ke(gt,Ge(Qt,""))})}if(zt&&zt.length>0){let gt=He[rt].repeatIds=[];zt.forEach(Qt=>{Ke(gt,Ge(Qt,""))})}}if(ct){Ye[rt]={};let{notInComparisonIds:wt,repeatIds:zt}=ct;if(wt&&wt.length>0){let gt=Ye[rt].notInComparisonIds=[];wt.forEach(Qt=>{Ke(gt,Ge("",Qt))})}if(zt&&zt.length>0){let gt=Ye[rt].repeatIds=[];zt.forEach(Qt=>{Ke(gt,Ge("",Qt))})}}}Ot("info",[Ti("Comparison results of {pcb1} and {pcb2}:",{params:{pcb1:Le,pcb2:Re}}),Ti(Oe?"There are some differences.":"No difference.")],"Log",1),Ot("info",Ti("[Object Overview]"),"Log"),Ot("info",[pt(1),Ti("[Document1]:")],"Log");for(let rt in Ue){let ht=Ue[rt];ht.length>0&&Ot("info",[pt(2),Ti(rt),`(${X[rt].pcbIds1.length}):`].concat(ht),"Log")}Ot("info",[pt(1),Ti("[Document2]:")],"Log");for(let rt in Ve){let ht=Ve[rt];ht.length>0&&Ot("info",[pt(2),Ti(rt),`(${X[rt].pcbIds2.length}):`].concat(ht),"Log")}Ot("info",[Ti("[Compare Results]"),Ti("For details, please refer to:"),{text:Ti("Comparison Result Tab"),call:{cmd:"openPcbComparisonDlg"}}],"Log");for(let rt in ze){let ht=ze[rt];Ot("info",[pt(1),"[",Ti(rt),"]:"],"Log");for(let ct in ht){let wt=ht[ct];Ot("info",[pt(2),Ti(ot(ct))].concat(wt),"Log")}}let ke=Object.keys(He).length,Be=Object.keys(He).length,Xe=ke+Be;if(Ot(Xe==0?"info":"warn",[Ti("[Abnormal Data]:"),Ti(Xe==0?"No abnormality.":"There are abnormal data, please check manually.")],"Log"),ke>0){Ot("info",[pt(1),Ti("[Document1]:")],"Log");for(let rt in He){let{notInComparisonIds:ht,repeatIds:ct}=He[rt];Ot("info",[pt(2),"[",Ti(rt),"]:"],"Log"),ht&&ht.length>0&&Ot("info",[pt(3),Ti("Uncompared objects:")].concat(ht),"Log"),ct&&ct.length>0&&Ot("info",[pt(3),Ti("Duplicate Record Object:")].concat(ct),"Log")}}if(Be>0){Ot("info",[pt(1),Ti("[Document2]:")],"Log");for(let rt in Ye){let{notInComparisonIds:ht,repeatIds:ct}=Ye[rt];Ot("info",[pt(2),"[",Ti(rt),"]:"],"Log"),ht&&ht.length>0&&Ot("info",[pt(3),Ti("Uncompared objects:")].concat(ht),"Log"),ct&&ct.length>0&&Ot("info",[pt(3),Ti("Duplicate Record Object:")].concat(ct),"Log")}}return;function Ge(rt,ht){let ct="",wt=Ne,zt="",gt="",Qt="";if(rt&&ht?(ct=rt+"-"+ht,wt=Pe,zt=[fe,ye].join(","),gt=[rt,ht].join("|"),Qt=[ie,de].join("|")):rt?(ct=rt,wt=Ne,zt=fe,gt=rt,Qt=ie):ht&&(ct=ht,wt=Te,zt=ye,gt=ht,Qt=de),!ct)return;if(wt[ct])return wt[ct];let yt={text:ct,attr:{id:gt,pcbid:zt,path:Qt}};return wt[gt]=yt,yt}function Ke(rt,...ht){ht.forEach(ct=>{let wt=rt[rt.length-1];wt&&typeof wt=="object"&&typeof ct!="string"&&rt.push(","),rt.push(ct)})}function pt(rt,ht=16){return rt<=0&&(rt=1),`<span style="margin-left: ${rt*ht}px; margin-right: 2px">|--</span>`}function ot(rt){return rt=="same"?"[Same]:":rt=="modify"?"[Modify]:":rt=="less"?"[More]:":rt=="more"?"[Less]:":"[Other]:"}}function Z(re){var Le,Re;if(!re||!re.comparisonResultMap)return;let Y=m.uuid,X=f.uuid,ie=lo(B,Y),de=lo(G,X),fe=(Le=T[B])==null?void 0:Le.title,ye=(Re=M[G])==null?void 0:Re.title;C.messageBus.publish("pro-ui/pcbComparisonTreeData",{pcbTabId1:ie,pcbTabId2:de,pcbName1:fe,pcbName2:ye,pcbComparisonResult:re}),setTimeout(()=>{co.handleClick("comparison-result")},100)}async function ee(re,Y,X,ie){let de=re.projectId,fe=Y.projectId,ye=lo(B,de),Le=lo(G,fe),Re={isActive:!1,unUpdatePartition:!0};await NMt(re,X,Re),await NMt(Y,ie,Re),await he.verticalBisectionTiling({leftTabId:ye,rightTabId:Le})}function ce(re){if(!Je){if(!br()){De({type:"info",msg:"Not logged in yet, please log in and try again"});return}sJ("choose",{chooseHandle:async Y=>{let X="Failed to switch projects. Project data was not read.";if(Array.isArray(Y)&&Y.length>0){let ie=Y[0].id.toString();if(!ie)return De({type:"error",msg:X});if(re?ie!=(m==null?void 0:m.uuid):ie!=(f==null?void 0:f.uuid)){let fe=null;if(ie==(m==null?void 0:m.uuid)?fe=m:ie==(f==null?void 0:f.uuid)?fe=f:(Ts(),fe=await YFe({projectId:ie,projectName:(Y[0].title||"").toString(),needPcb:!0,needDevice:!0,needFootprint:!0}),Zr()),!fe)return De({type:"error",msg:X});oe(fe,re)}}else return De({type:"error",msg:X})}})}}function ne(re){new DC([Lo.PRJ2].join(","),async function(Y){let X=Y[0];if(!X)return De({type:"warn",msg:"Please open a file first."});Ts();let ie=await pEi(X),de=X.name.replace(/\.(epro|zip)/,""),fe=EMt(ie,de);if(Zr(),!fe)return De({type:"error",msg:"File upload failed and project data was not read."});oe(fe,re)})}function oe(re,Y){if(!re)return;let X=re.uuid;(Y?X!=(m==null?void 0:m.uuid):X!=(f==null?void 0:f.uuid))&&(Y?h(re):g(re))}return(0,V0.jsxs)("div",{children:[(0,V0.jsxs)("div",{className:e("container"),children:[(0,V0.jsxs)("div",{className:i,children:[(0,V0.jsx)("label",{className:o,children:r(E)}),(0,V0.jsxs)("div",{className:e("div-input-button"),children:[(0,V0.jsx)(Kt,{readOnly:!0,value:I,className:e("input-button ellipsis"),type:"text",onClick:re=>ce(!0)}),(0,V0.jsx)("span",{className:e("input-extend"),onClick:re=>ce(!0),children:"\xB7\xB7\xB7"})]}),(0,V0.jsx)(Me,{"data-test":"Select Local File",type:"default",onClick:re=>ne(!0),children:"Select Local File"})]}),(0,V0.jsxs)("div",{className:i,children:[(0,V0.jsx)("label",{className:o}),(0,V0.jsx)(xt,{className:e("select-inline"),list:P,value:B,onChange:re=>{V(re.toString())},optionsAutoWidth:!0,containerStyle:{overflow:"hidden"}})]}),(0,V0.jsxs)("div",{className:i,children:[(0,V0.jsx)("label",{className:o,children:r(N)}),(0,V0.jsxs)("div",{className:e("div-input-button"),children:[(0,V0.jsx)(Kt,{readOnly:!0,value:A,className:e("input-button ellipsis"),type:"text",onClick:re=>ce(!1)}),(0,V0.jsx)("span",{className:e("input-extend"),onClick:re=>ce(!1),children:"\xB7\xB7\xB7"})]}),(0,V0.jsx)(Me,{"data-test":"Select Local File",type:"default",onClick:re=>ne(!1),children:"Select Local File"})]}),(0,V0.jsxs)("div",{className:i,children:[(0,V0.jsx)("label",{className:o}),(0,V0.jsx)(xt,{className:e("select-inline"),list:_,value:G,onChange:re=>{Q(re.toString())},optionsAutoWidth:!0,containerStyle:{overflow:"hidden"}})]}),(0,V0.jsxs)("div",{className:i,children:[(0,V0.jsx)("label",{className:o,"data-test":R,title:r(R),children:r(R)}),(0,V0.jsx)(or,{"data-tagitem":R,dataTest:R,value:H,originUnit:D,inputUnit:D,onChange:re=>{let Y=parseFloat(re.toString());isNaN(Y)||q(te(Y))}})]}),(0,V0.jsxs)("div",{className:i,children:[(0,V0.jsx)("label",{className:o,"data-test":v,title:r(v),children:r(v)}),(0,V0.jsx)(or,{"data-tagitem":v,dataTest:v,value:U,inputUnit:D,originUnit:D,onChange:re=>{let Y=parseFloat(re.toString());isNaN(Y)||F(te(Y))}})]})]}),(0,V0.jsxs)("div",{className:e("footer"),children:[(0,V0.jsx)(Me,{size:"md",type:"primary",onClick:()=>ae("confirm"),children:"Start comparing"}),(0,V0.jsx)(Me,{style:{marginLeft:"5px"},size:"md",onClick:()=>ae("cancel"),children:"Cancel"})]})]})},yEi=jwr;var wEi=L(z());async function ZFe(t){var p,m;It.setTabDisplayNone(co.id,"comparison-result",!1),co.handleClick("comparison-result");let e=1,i={valUnit:e,deviation:np.convert(1,1,e),comparisonSize:np.convert(100,1,e)},o=(p=C.currentProject)==null?void 0:p.projectId;!t&&Hre&&Hre.lastPcbComparisonDlgParams&&Hre.lastPcbComparisonDlgParams.curProjectId==o&&(t=Hre.lastPcbComparisonDlgParams),t?t=Object.assign(i,t):t=i;let{projectData1:r,projectData2:n,pcbUuid1:a,pcbUuid2:s}=t;if(t.curProjectId=o,!r||r.uuid==o||!n||n.uuid==o){let h=null;if(o&&(h=await YFe({projectId:o,projectName:"",needPcb:!0,needDevice:!0,needFootprint:!0}),h)){let f=he.getActiveTab();!t.pcbUuid1&&f&&f!="0"&&((m=h.pcbs)==null||m.some(g=>{if(f==lo(g.uuid,o))return a=g.uuid,t.pcbUuid1=a,!0}))}(!r||r.uuid==o)&&(t.projectData1=h,r=h),(!n||n.uuid==o)&&(t.projectData2=h,n=h)}let l=r==null?void 0:r.uuid;if(a&&l&&l==o){let h=lo(a,l),f=await he.getTabIFrame(h);if(f){let{unit:g}=(await C.windowBridge.rpcCall("getCanvasParam","",f.contentWindow)).message;if(g){let b=ru(g,e);b!=t.valUnit&&(t.deviation=np.convert(t.deviation,t.valUnit,b),t.comparisonSize=np.convert(t.comparisonSize,t.valUnit,b),t.valUnit=b)}}}let c="pcb-comparison-dlg";return le.open({id:c,title:"PCB Comparison",width:600,closed:!0,esc:!0,folded:!1,onCancel:Wme,onClose:Wme,children:(0,wEi.jsx)(yEi,{dlgId:c,curProjectId:t.curProjectId,projectData1:t.projectData1,projectData2:t.projectData2,pcbUuid1:t.pcbUuid1,pcbUuid2:t.pcbUuid2,valUnit:t.valUnit,deviation:t.deviation,comparisonSize:t.comparisonSize})}),{origin:"react"}}function CEi(){(0,ba.default)(function(){(0,ba.default)(document).on("blur",'input[unit="true"]',function(){[se.PCB,se.FOOTPRINT].includes(dt())&&(C.messageBus.publish("sendOrigin",""),C.messageBus.pull("getOrigin",i=>{var o=i.unit,r=(0,ba.default)(this).val();if(!(!o||!r)){var n=parseFloat(r);isNaN(n)?(0,ba.default)(this).attr("oldval")?(0,ba.default)(this).val((0,ba.default)(this).attr("oldval")):(0,ba.default)(this).val(10+o):(0,ba.default)(this).val(n+o)}}))})}),(0,ba.default)(document).on("click",function(i){i.stopPropagation();let o=!0,r=!0,n=(0,ba.default)(i.target);for(;n.length>0&&n[0]!==document.body;){if(n.hasClass("popover")||n.hasClass("popoverBtn")){o=!1,r=!1;break}n=n.parent()}o&&(0,ba.default)(".popover").hide()}),(0,ba.default)("#exitSmartSizeTool").on("click",async function(){let i=await ei();C.windowBridge.rpcCall("toggleSmartSizeMode",!1,i.contentWindow),(0,ba.default)("#exitSmartSizeTool").css("visibility","hidden"),he.deleteTabDataByKey(he.getActiveTab(),"smart-size-mode")}),(0,ba.default)("#exitPadShapeTool").on("click",async function(){let i=await ei();C.windowBridge.publish("exitEditPadShapeMode",!1,i.contentWindow),(0,ba.default)("#exitPadShapeTool").css("visibility","hidden"),he.deleteTabDataByKey(he.getActiveTab(),"edit-pad-shape-mode")});let t;(0,ba.default)("#bottomBar").on("mouseenter","#imagePreviewBox img, #showBiggerPreview img",function(i){let o=(0,ba.default)("#imagePreviewBox img").attr("src");if(o){let r=(0,ba.default)(".bottomBar-preview").outerWidth()+(0,ba.default)("#layout_toggler_bottom_right").outerWidth();(0,ba.default)("#showBiggerPreview").show().css("right",`${r}px`),(0,ba.default)("#showBiggerPreview img").attr("src",o)}t&&clearTimeout(t)}).on("mouseout","#imagePreviewBox img, #showBiggerPreview img",function(i){t=setTimeout(function(){(0,ba.default)("#showBiggerPreview").hide(),(0,ba.default)("#showBiggerPreview img").attr("src","")},200)}),(0,ba.default)("#dlgLibs-middleCenter").on("scroll",function(i){let o=(0,ba.default)("#dlgLibs-categories").is(":visible")?(0,ba.default)("#dlgLibs-categories").parent().height():0;(0,ba.default)(this).scrollTop()>=o?(0,ba.default)("#fixedTableHeaderWrapper").show():(0,ba.default)("#fixedTableHeaderWrapper").hide(),(0,ba.default)(".popover").hide()}),(0,ba.default)("#filterCategoryName").on("input",function(){let i=this.value.trim();(0,ba.default)("#selectCategoryName .optionItem").each((o,r)=>{i?(0,ba.default)(r).text().includes(i)?(0,ba.default)(r).show():(0,ba.default)(r).hide():(0,ba.default)(r).show()})}),(0,ba.default)("#checkDRC").on("click",function(){OMt()}),(0,ba.default)("#open-pcb-comparison-btn").on("click",function(){ZFe()}),(0,ba.default)("#clear-pcb-comparison-btn").on("click",function(){C.messageBus.publish("pro-ui/clearComparisonResult")}),(0,ba.default)("#clearErrors").on("click",async function(){C.messageBus.publish("getDRCTableData",{errs:[]}),C.windowBridge.publish("clearDRCError","",await Ra())}),(0,ba.default)("#commandWin .close").on("click",function(){JFe(!1)}),(0,ba.default)("#enterCommand").on("input",function(){let i=Kme(this.value),r={menuId:"tipForCommand",defaultConfig:[]};if(i.length>0){i.forEach(a=>{r.defaultConfig.push({id:a+"_"+Math.random(),title:a})});let n=(0,ba.default)(".commandLineWrap").offset();si.closeMenu(r.menuId),si.setMenuStatus(r.menuId,{menuFloor:2}),pl.open({menuConfig:r,position:{x:n.left,y:n.top-r.defaultConfig.length*28-8},menuClickCallback:a=>{let s=String((0,ba.default)("#enterCommand").val()),l=a.id.split(/\s|</)[0],c=s.replace(/\S+/,l);(0,ba.default)("#enterCommand").val(c)}})}else si.closeMenu(r.menuId)}).on("keyup",async function(i){i.preventDefault(),i.which==13?e():i.which==27&&JFe(!1)}).on("blur",function(){si.closeMenu("tipForCommand")}),(0,ba.default)(".commandHistory").on("click",">div",function(i){i.stopPropagation();let o=(0,ba.default)(this).attr("data-command");(0,ba.default)("#enterCommand").val(o),e()});async function e(){let i=(0,ba.default)("#enterCommand"),o=(0,ba.default)(".commandHistory"),r=String(i.val()).trim(),n=Kme(r,!0);if((0,ba.default)("div",o).length>=5&&(0,ba.default)("div",o).eq(0).remove(),n.length>0){let a=await ei();C.windowBridge.publish("globalCommand",r,a.contentWindow),o.append(`<div data-command="${r}">${r}</div>`)}else o.append(`<div data-command="${r}">${me.i18n("Unknown Command")}: "${r}"</div>`);i.val(""),(0,ba.default)("#commandWindow").scrollTop(i.offset().top),si.closeMenu("tipForCommand"),setTimeout(()=>i.focus(),20)}}function Kme(t,e=!1){let i=r();t=t.trim().toLowerCase();let o=[];if(t){let n=t.split(/\s+/g);o=i.filter(a=>{let l=ue.htmlDecode(a.command).toLowerCase().trim().split(/<space>/);if(n.length>l.length)return!1;for(let c=0;c<Math.min(n.length,l.length);c++){let d=n[c],u=l[c];if(u.match(/<\w+>/)){if(["<width>","<height>","<length>","<x>","<y>","<layerid>"].includes(u)&&isNaN(Number(d)))return!1}else if(u.indexOf(d)!=0)return!1}return e?l.length==n.length:!0}).map(a=>ue.htmlDecode(a.command)+" "+me.i18n(a.funcE))}return o;function r(){let n=Nc.getUserConfig(),a;switch(dt()){case se.PCB:a=4;break;case se.FOOTPRINT:a=5;break;default:break}let s=[];return Object.values(n).forEach(l=>{l.forEach(c=>{c.command&&c.range.includes(a)&&s.push(c)})}),s}}function kMt(t,e){var a;let i=he.getTabById(t),o=(a=i==null?void 0:i.data)==null?void 0:a.findResult,r=(0,ba.default)("#findObjContainer"),n=(0,ba.default)("#findTypeLog");if([se.PCB,se.FOOTPRINT].includes(e)){if(r.show(),n.hide(),r.attr("uuid")==t)return;r.attr("uuid",t),o?(Jc.fromRestore=!0,jJ(o)):(iSe(),jJ({valueArr:[],titleArr:[]}))}else r.hide(),n.show()}async function PMt(t,e){var a;let i=he.getTabById(t),o=(a=i==null?void 0:i.data)==null?void 0:a.drcResult,r=(0,ba.default)("#drcResult");if(r.data("forWhichTab")===t&&o!=null)return;let n=(0,ba.default)("#layout_toggler_bottom").hasClass("close");if(It.setTabExtraData(co.id,"drcResult",{isCacheTabClose:n}),se.PCB==e)if(!o||o.length==0){let s=await ei(),l=(await C.windowBridge.rpcCall("getDRCResultTree",[],s.contentWindow)).message;C.messageBus.publish("getAllErrorsBack",l)}else C.messageBus.publish("getAllErrorsBack",o);else e===se.SCH?co.handleClick("schDrcResult"):co.handleClick("lib");r.attr("uuid",t)}function OMt(t={}){C.openBottomPanel=!0,_l(st.ERRORS,t).then(e=>{setTimeout(()=>{C.openBottomPanel=!1},1500)})}async function xEi(){(0,ba.default)("#layout_toggler_bottom").hasClass("close")&&Pn("layout_toggler_bottom",!1),It.getActiveTab(co.id).tabId!=="drcResult"&&co.handleClick("drcResult"),C.openBottomPanel=!0;let e=await ei(),{message:i}=await C.windowBridge.rpcCall("getAllErrors",{},e.contentWindow);return setTimeout(()=>{C.openBottomPanel=!1},1500),i}var RP=null,JFe=(t,e)=>{t?(!RP&&(RP=new ResizeObserver(i=>{let r=i[0].target.getBoundingClientRect();(0,ba.default)("#commandWin").css({left:r.left+"px",top:r.bottom-21+"px",width:"fit-content"})})),RP==null||RP.disconnect(),RP==null||RP.observe(e)):(RP==null||RP.disconnect(),(0,ba.default)("#commandWin").css("visibility","hidden"))};var TEi=L(Vi());var _P=L(z());function nSe(t,e,i,o){let r=n=>{let a=(0,TEi.default)(`input[name=${o}]`).prop("checked")?"confirm":"",s=o=="checkRatlineDlg"?"isCheckNetBeforeGerber":"isCheckDrcBeforeGerber";Bwr(s,a)};return new Promise(async(n,a)=>{let s=()=>{let p=document.getElementById("lc-tips-modal-id");p==null||p.remove()},l=()=>{o&&r("ok"),s(),n({action:"ok"})},c=()=>{o&&r("cancel"),s(),n({action:"cancel"})};Dt({content:t,confirmText:e,cancelText:i,showCancel:!0,onConfirm:l,onClose:()=>{s(),n({action:"close"})},footer:(0,_P.jsx)(()=>{let p=J();return(0,_P.jsxs)(_P.Fragment,{children:[o&&(0,_P.jsxs)("div",{style:{position:"absolute",left:"0"},children:[(0,_P.jsx)("input",{name:o,type:"checkbox"}),(0,_P.jsx)("span",{children:p("Don't show again")})]}),(0,_P.jsx)(Me,{type:"primary",size:"md",onClick:()=>l(),children:e}),(0,_P.jsx)(Me,{size:"md",onClick:()=>c(),children:i})]})},{}),closed:!0,width:420,height:200})})}function Bwr(t,e){let i=Wi("PCB_FOOTPRINT",t,{readValueKey:!1});(e&&i.value||!e&&!i.value)&&(i.value=!e,qFe(C.profileSetting))}function RMt(t){return Wi("PCB_FOOTPRINT",t,{readValueKey:!1}).value}var _Mt="exportPickPlace",aSe={fileName:"",fileType:"xlsx",unit:"mm",isExportBtmLayerCoordinate:!1,btmLayerCoordinateType:"mirrorCoordinateY",isContainPanelized:!1,isContainPanelMarkCoord:!1,mirrorBottomRotation:!1,allAttrKeys:{staticKeys:[],componentKeys:[],allKeys:[]},attrTableRows:[{title:"Designator",key:"Designator"},{title:"Device",key:"Device"},{title:"Footprint",key:"Footprint"},{title:"Mid X",key:"Mid X"},{title:"Mid Y",key:"Mid Y"},{title:"Ref X",key:"Ref X"},{title:"Ref Y",key:"Ref Y"},{title:"Pad X",key:"Pad X"},{title:"Pad Y",key:"Pad Y"},{title:"Pins",key:"Pins"},{title:"Layer",key:"Layer"},{title:"Rotation",key:"Rotation"},{title:"SMD",key:"SMD"},{title:"Comment",key:"Comment"},{title:"Name",key:"Name"}],separator:"Tab",exportNoUnit:!1},XFe={cache:null},$Fe=["Mid X","Mid Y","Ref X","Ref Y","Pad X","Pad Y","Layer","Rotation","SMD","Pins"];function jMt(t,e){e=Qre(e);let i=ue.deepClone(t);for(let o of Object.keys(e)){let r=e[o];i[o]=r}return i}async function BMt(t){let e=await Ra(),i=$Fe,o=await(await C.windowBridge.rpcCall("getAllDeviceKey","",e)).message;o.push(...t.map(l=>l.key));let r=[],n=new Set(i),a=MEi();for(let l of o)a.has(l)||(n.has(l)||r.push(l),n.add(l));let s=[...i,...r];return{staticKeys:i,componentKeys:r,allKeys:s}}async function zMt(t,e=!0){let i=Qre(t);mt.setCacheObj(_Mt,i),e&&await mt.saveToServer()}function SEi(){return Qre(FMt())}function FMt(){return mt.getCacheObj(_Mt)}function Qre(t){let e=aSe,{fileType:i,unit:o,isExportBtmLayerCoordinate:r,btmLayerCoordinateType:n,isContainPanelized:a,isContainPanelMarkCoord:s,attrTableRows:l,mirrorBottomRotation:c,separator:d,exportNoUnit:u}=t||{},p=["csv","xlsx"],m=["mil","mm"],h=["mirrorCoordinateX","mirrorCoordinateY"],f=MEi();l=Array.isArray(l)?l:e.attrTableRows;let g=-1;return l=l.filter(b=>b&&(b==null?void 0:b.key)&&typeof(b==null?void 0:b.key)=="string"&&!f.has(b.key)).map(b=>({key:b.key.trim().replace(/\s+/g," "),title:`${b.title}`})).map((b,y)=>b.key==="Name"&&b.title==="Comment"?(g=y,{key:"Name",title:"Name"}):{...b}),g>-1&&(l.splice(g,1),Ft(l,"key","Comment").index<=-1&&l.push({title:"Comment",key:"Comment"}),Ft(l,"key","Name").index<=-1&&l.push({title:"Name",key:"Name"})),{fileType:p.includes(i)?i:e.fileType,unit:m.includes(o)?o:e.unit,isExportBtmLayerCoordinate:r!==void 0?!!r:e.isExportBtmLayerCoordinate,btmLayerCoordinateType:h.includes(n)?n:e.btmLayerCoordinateType,isContainPanelized:a!==void 0?!!a:e.isContainPanelized,isContainPanelMarkCoord:s!==void 0?!!s:e.isContainPanelMarkCoord,attrTableRows:l,mirrorBottomRotation:c!==void 0?c:e.mirrorBottomRotation,separator:d!==void 0?d:e.separator,exportNoUnit:u!==void 0?u:e.exportNoUnit}}function MEi(){return new Set(["3D Model Transform","3D Model"])}var UJ=L(z()),Zme=()=>{vt(1,"Order PCB...");let t=C.HelpURL.contact,e="Export\xA0failed, please try again or";Dt({title:"Tip",content:(0,UJ.jsx)(()=>(0,UJ.jsxs)(UJ.Fragment,{children:[(0,UJ.jsx)("span",{"data-test":e,children:me.i18n(e)}),(0,UJ.jsx)("a",{href:t,target:"_blank","data-test":"contact with technical support",children:me.i18n("contact with technical support")})]}),{}),icon:"info",showConfirm:!0,closed:!0})};var jP=L(z()),sSe=async(t,e)=>{let i=await ei();return new Promise((o,r)=>{C.windowBridge.rpcCall("checkTrueColorPicture","",i.contentWindow).then(async n=>{if(n.message){let s=Dt({title:"Notice",content:(0,jP.jsx)(()=>{let l=e||J(),c="The more information for colorful silkscreen design and manufacturing, please refer at:",d="Colorful silkscreen tutorial";return(0,jP.jsx)(jP.Fragment,{children:(0,jP.jsx)("div",{children:(0,jP.jsxs)("div",{children:[(0,jP.jsx)("span",{"data-test":c,children:l(c)}),(0,jP.jsx)("a",{href:C.HelpURL.colorful_silkscreen_tutorial,target:"_blank",children:(0,jP.jsx)("span",{"data-test":d,children:l(d)})})]})})})},{}),icon:"info",width:420,height:200,showCancel:!0,showConfirm:!0,cancelText:"I Got it, Continue",confirmText:"Set Technology Side",closed:!0,onConfirm:()=>(le.close(t),le.close(s),et("openPanelizeDlg"),vt(1,"Order PCB..."),Promise.reject("cancel")),onCancel:()=>o({message:null}),onClose:()=>(le.close(t),le.close(s),vt(1,"Order PCB..."),Promise.reject("cancel"))})}else return o({message:null})}).catch(n=>{})})};async function eUe(){let t=await ei();return new Promise(async(e,i)=>{if(!VJ())return e(!1);C.windowBridge.rpcCall("checkTrueColor","",t.contentWindow).then(async r=>{if(r.message){let n=Dt({title:"Notice",content:"PCB has colorful silkscreen objects, if generate the colorful silkscreen fabrication files?",icon:"info",showCancel:!0,showConfirm:!0,cancelText:"No",confirmText:"Yes",closed:!0,onConfirm:()=>e(!0),onCancel:()=>e(!1)})}else return e(!1)})})}var _Ai=L(v6t()),JUe=L(hS());var uSe=class uSe{static addInstance(e){this.instanceList.add(e)}static delInstance(e){this.instanceList.delete(e)}static getComponentByElement(e){for(let i of this.instanceList)if(i.element===e)return i;return null}destroy(e){let i=`data-${e.replace(/([A-Z])/g,o=>`-${o.toLocaleLowerCase()}`)}`;if(this.element.dataset[e]!=null)this.element.removeAttribute(i),this.element.innerHTML="";else{let o=this.element.querySelector(`[${i}]`);o.parentNode.removeChild(o)}uSe.delInstance(this);for(let o of Object.keys(this))this[o]=void 0}constructor(e,i){this.element=e.element,this.element.dataset[i]="true",this.init(e),this.eventListener(),uSe.addInstance(this)}hide(){this.element.classList.add("hidden")}show(){this.element.classList.remove("hidden")}};uSe.instanceList=new Set;var fUe=uSe;var pSe=class pSe extends fUe{constructor(e){super(e,pSe.NAME)}init(e){this.className=`switch-bar ${e.className||""}`.trim(),this.bars=e.bars,this.isThrottle=e.isThrottle||!1,this.element.classList.add(...this.className.split(" ")),this.supportMultiSelect=e.supportMultiSelect||!1,this.allId=e.allId||"",this.icon=e.icon||"",e.onSwitch&&(this.onSwitchFunc=e.onSwitch),this.uiChange()}eventListener(){this.element.addEventListener("click",this.isThrottle?ue.throttle(e=>{this.switchHandler(e)},500):e=>{this.switchHandler(e)})}switchHandler(e){let i=e.target;if(i==this.element||!this.element.contains(i))return;for(;i&&i.parentElement!=this.element;)i=i.parentElement;let o=i.dataset.id,r=o&&this.bars.find(s=>s.id===o);if(!o||!r||i.classList.contains("disabled"))return;let n=r.selected;if(n&&!this.supportMultiSelect)return;r.selected=!n;let a=this.allId;if(this.supportMultiSelect&&a)if(o===a)this.bars.forEach(s=>s.selected=!n);else{let s=this.bars.find(l=>l.id===a);s&&(s.selected=!this.bars.some(l=>!l.selected&&l.id!==a))}else this.bars.forEach(s=>{s.id!==o&&(s.selected=!s.selected)});this.uiChange(),this.onSwitchFunc&&this.onSwitchFunc(o,this,r.selected)}switch(e){this.element.querySelector(`[data-id="${e}"]`).click()}uiChange(){let e="";for(let i of this.bars)e+=`<a data-id="${i.id}" class="${i.disabled?"disabled":i.selected?"selected":""} i18n" i18n="${i.name}">
			${this.icon?`<span class="${this.icon}"></span>`:""}
			${me.i18n(i.name)}
			</a>`;this.element.innerHTML=e}getBars(){return JSON.parse(JSON.stringify(this.bars))}destroy(){super.destroy(pSe.NAME)}reload(e){this.bars=e,this.uiChange()}getSelectedId(){for(let e of this.bars)if(e.selected)return e.id}};pSe.NAME="switchBar";var GJ=pSe;var y8i=L(Se());var YJ=L(Se());var V2=L(z());var f8i={id:"altium-export-dlg",title:"Export Altium Designer",width:600,closed:!0,exportTypeText:"Altium Designer",convertor:"altium",convertTexts:[{text:"Because the different file format and object design, the format translation will has some different, please check carefully at Altium Designer after exported."},{text:"Please be sure to read the notice before exporting:",link:{text:"Export Altium Designer/PADS Notice and Disclaimer",href:vo?"https://prodocs.easyeda.com/en/import-export/export-altium-designer/index.html":"https://prodocs.lceda.cn/cn/import-export/export-altium-designer/index.html"}},{text:"Please\xA0export Gerber file instead of exporting Altium if you are going to do PCB manufacturing. All PCB factories support the Gerber file."},{text:"EasyEDA\xA0are not responsible for any loss of fabrication\xA0due to export differences."}]},g8i={id:"pads-export-dlg",title:"Export PADS",width:600,closed:!0,exportTypeText:"PADS",convertor:"pads",convertTexts:[{text:"Because the different file format and object design, the format translation will has some different, please check carefully at PADS after exported."},{text:"Please be sure to read the notice before exporting:",link:{text:"Export Altium Designer/PADS Notice and Disclaimer",href:vo?"https://prodocs.easyeda.com/en/import-export/export-altium-designer/index.html":"https://prodocs.lceda.cn/cn/import-export/export-altium-designer/index.html"}},{text:"Please\xA0export Gerber file instead of exporting PADS if you are going to do PCB manufacturing. All PCB factories support the Gerber file."},{text:"EasyEDA\xA0are not responsible for any loss of fabrication\xA0due to export differences."}]},pCr=t=>{let{id:e,exportTypeText:i,convertor:o}=t.params,r=document.getElementById(e),n=t.params.convertTexts,[a,s]=(0,YJ.useState)(!1),[l,c]=(0,YJ.useState)(""),[d,u]=(0,YJ.useState)([]);(0,YJ.useEffect)(()=>{f()},[]),(0,YJ.useLayoutEffect)(()=>{me.update(r)},[]);let p=async y=>{y=="export"?b(o):y==="cancel"&&m()};function m(){return le.close(e)}async function h(y,w){var T,M,I,A;let x=w.filter(D=>D.uuid===y)[0],S={};switch(x.itemType){case"Board":S={boards:[{name:x.name,pcb:(T=x.pcb)==null?void 0:T.uuid,pcbName:(M=x.pcb)==null?void 0:M.name,sch:(I=x.schematic)==null?void 0:I.uuid,schName:(A=x.schematic)==null?void 0:A.name,uuid:x.uuid}],panels:[],pcbs:[],schematicId2Title:{},schematics:[],schs:[]};break;case"PCB":S={boards:[],panels:[],pcbs:[{name:x.name,uuid:x.uuid}],schematicId2Title:{},schematics:[],schs:[]};break;case"Schematic":S={boards:[],panels:[],pcbs:[],schematicId2Title:{},schematics:[{name:x.name,uuid:x.uuid}],schs:[]};break;case"CBB Schematic":S={boards:[],panels:[],pcbs:[],schematicId2Title:{},schematics:[{name:x.name,uuid:x.uuid}],schs:[]};break;case"Schematic Page":S={boards:[],panels:[],pcbs:[],schematicId2Title:{},schematics:[],schs:[{name:x.text.substring(x.text.lastIndexOf(".")+1),sheets:[{name:x.name,uuid:x.uuid}],uuid:x.parentSchematicUuid}]};break;default:return null}return S}async function f(){let y=await g(),w=[...y];for(let x=y.length-1;x>=0;x--){let S=y[x];if(S.itemType==="Board"){let T=[],M=x+1;if(S.schematic!==null&&(T.push(S.schematic),S.schematic.page.forEach(I=>{I.text=S.name+":"+I.name+"."+S.schematic.name,T.push(I)})),S.pcb!==null&&T.push(S.pcb),T.length>0)for(let I of T.reverse())w.splice(M,0,I)}if(S.itemType==="Schematic"){let T=[],M=x+1;if(S.page.forEach(I=>{I.text=I.name+"."+S.name,T.push(I)}),T.length>0)for(let I of T.reverse())w.splice(M,0,I)}}w.forEach(x=>{x.value=x.uuid,x.itemType!=="Schematic Page"&&(x.text=x.parentBoardUuid?x.parentBoardUuid+":"+x.name:x.name)}),u(w),c(w[0].value.toString())}async function g(){let{message:y}=await C.messageBus.rpcCall("getCurrentProjectInfo"),{boardsArr:w,pcbsArr:x,panelsArr:S,schsArr:T}=y,{message:M}=await C.messageBus.rpcCall($e.PROJECT.GET,[C.currentProject.projectId]);if(!M)return;let I=T.filter(R=>R.parentBoardUuid===""),A=x.filter(R=>R.parentBoardUuid===""),D={itemType:"Project",name:"Project",uuid:C.currentProject.projectId,value:"",text:""},E=(await C.messageBus.rpcCall($e.BOARD.GET_ALL_KV,[C.currentProject.projectId])).message;return w.forEach(R=>{for(let v in E)E[v].title==R.name&&(R.uuid=v)}),[D,...w,...I,...A,...S]}function b(y){if(navigator.onLine&&!br()){De({type:"warn",msg:"Not logged in yet, please log in and try again",timer:3});return}if(a){vt(0,"Converting"),setTimeout(async()=>{let w=dt();if(Zie(w)){let T=await qre(y);T&&aH(T,y),!T&&vt(1,"Converting"),m()}else{let T=await h(l,d),M=T?await sD(y,void 0,void 0,void 0,T):await sD(y);M&&aH(M,y),!M&&vt(1,"Converting")}let x=await he.getTabInfo();if(x&&[String(se.FOOTPRINT),String(se.PART),String(se.SHEET_SYMBOL),String(se.NETFLAG),String(se.NETPORT),String(se.OFF_PAGE_CONNECTOR),String(se.DIFF_PAIRS_FLAG),String(se.NONEELEC_SYMBOL),String(se.SHORT_SYMBOL)].indexOf(String(x.docType))>=0)switch(o){case"altium":{kTe("22",{componentUuid:x.tabid});break}case"pads":{kTe("26",{componentUuid:x.tabid});break}}else switch(o){case"altium":{Pl("11",C.currentProject.projectId,!!Uw);break}case"pads":{Pl("24",C.currentProject.projectId,!!Uw);break}}let S;switch(o){case"altium":S="Altium Designer";break;case"pads":S="Pads";break}C.currentProject.projectId&&C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.AD_EXPORT,content:{"Scope Name":x==null?void 0:x.title},project_uuid:C.currentProject.projectId}])},0),m();return}}return(0,V2.jsxs)("div",{className:"pop-content-container",children:[(0,V2.jsx)("div",{className:"pop-content-wrapper box",children:(0,V2.jsx)("div",{className:"container",children:(0,V2.jsx)("div",{className:"panel",children:(0,V2.jsxs)("div",{className:"wrapDlg gray-dialog-border",children:[dt()!==se.FOOTPRINT&&dt()!==se.PART&&(0,V2.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,V2.jsx)("span",{className:"i18n",children:"Object:"}),(0,V2.jsx)(xt,{list:d,value:l,containerStyle:{overflow:"hidden",width:"80%"},onChange:y=>{let w=y.toString();c(w)}})]}),(0,V2.jsx)("div",{children:(0,V2.jsx)("span",{className:"i18n",children:"Notice:"})}),n.map((y,w)=>(0,V2.jsxs)("div",{children:[w+1,".",(0,V2.jsx)("span",{className:"i18n",children:y.text}),y.link?(0,V2.jsx)("a",{target:"_blank",href:y.link.href,className:"i18n",children:y.link.text}):""]},w))]})})})}),(0,V2.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,V2.jsx)("div",{style:{flex:"auto"},children:(0,V2.jsx)(qt,{onChange:y=>{s(y)},checked:a,children:"I have learned and agreed, contiune to export"})}),(0,V2.jsxs)("div",{className:"btns",children:[(0,V2.jsx)(Me,{type:"primary",disabled:!a,style:{marginRight:"5px"},onClick:()=>p("export"),children:`Export ${i}`}),(0,V2.jsx)(Me,{onClick:()=>p("cancel"),children:"Cancel"})]})]})]})},b8i=pCr;async function gUe(t){let e=Object.assign({},f8i,t);return await le.open({id:e.id,title:e.title,width:e.width,height:e.height,closed:e.closed,children:(0,y8i.createElement)(b8i,{params:e})})}var yUe=L(Se());var P6t=L(C8i());var bUe=L(Se());var H2=L(z()),D6t={display:"flex",gap:"10px",alignItems:"center"},E6t={width:"100px"},mCr={margin:"0 0 16px 0"};function hCr(t,{type:e,v:i}){switch(e){case"change_file_type":return{...t,fileType:i};case"change_file_name":return{...t,filename:i};case"change_from":return{...t,from:i}}throw Error("Unknown action: "+e)}var sH="";async function A6t(t){let{filename:e,fileType:i,from:o,svgStr:r}=t;if(i==="SVG"&&(o="Canvas"),o==="Canvas"){switch(i){case"SVG":kr("exportPanelSVG",[e]);break;case"PNG":Pt(kt.Panel.GetPanelCanvasImg,[{width:100,height:100}]).then(n=>ue.svg2png(n.pngSrc)).then(n=>{ya(n,e+".png")});break;case"PDF":Cr("get-panel-canvas-pdf").then(n=>{ya(n,e+".pdf")});break}le.close(WJ);return}if(o==="2D"){switch(sH||(sH=r||await Cr("get2dPreviewSVG")),i){case"PNG":let n=URL.createObjectURL(new Blob([sH],{type:"image/svg+xml"})),a=await ue.svg2png(n);ya(a,e+".png");break;case"SVG":ya(sH,e+".svg");break;case"PDF":{let s=await Cr("panel/svg2pdf",{svgStr:sH,filename:e});ya(s,e+".pdf")}break}le.close(WJ)}}async function N6t(t){let{filename:e,fileType:i,from:o,svgStr:r}=t;if(o==="Canvas"){Cr("get-panel-canvas-pdf").then(n=>{let a=URL.createObjectURL(n);C.messageBus.publish("popupNewWindowDialog",[a])});return}if(o==="2D"){sH||(sH=r||await Cr("get2dPreviewSVG"));let n=await Cr("panel/svg2pdf",{svgStr:sH,filename:e}),a=URL.createObjectURL(n);C.messageBus.publish("popupNewWindowDialog",[a])}}function fCr(t){var n;let{action:e}=t,i=J(),[o,r]=(0,bUe.useReducer)(hCr,{filename:t.display_title+"_"+ue.formatDate2(new Date,"y-m-d"),fileType:(n=t.fileType)!=null?n:"PDF",from:"2D",svgStr:t.svgStr});return(0,bUe.useEffect)(()=>{if(e)switch(e){case"print-canvas":N6t({...o,from:"Canvas"});break;case"print-2d-preview":N6t({...o,from:"2D"});break;case"exporting-PDF":A6t({...o,fileType:"PDF"});break;case"exporting-PNG":A6t({...o,fileType:"PNG"});break;default:e&&console.error(e,"Plz check code.");break}return()=>{sH=""}},[]),(0,H2.jsxs)(H2.Fragment,{children:[(0,H2.jsxs)("div",{style:{border:"1px solid var(--common-border-color)",padding:"16px",margin:"0 0 16px 0"},children:[(0,H2.jsxs)("div",{style:Object.assign({},mCr,D6t),children:[(0,H2.jsx)("div",{style:E6t,children:i("File Name:")}),(0,H2.jsx)(Kt,{value:o.filename,style:{flex:1},onChange:a=>{r({type:"change_file_name",v:a})}})]}),(0,H2.jsxs)("div",{style:D6t,children:[(0,H2.jsx)("div",{style:E6t,children:i("File Type:")}),(0,H2.jsx)($i,{style:{flex:1,display:"flex",width:"100%"},gap:0,onChange:(a,s)=>{r({type:"change_file_type",v:a})},value:o.fileType,options:[{value:"PDF",label:"PDF",style:{width:"33.33%"}},{value:"PNG",label:"PNG",style:{width:"33.33%"}},{value:"SVG",label:"SVG",style:{width:"33.33%"}}]})]})]}),o.fileType!=="SVG"&&(0,H2.jsx)("div",{style:{border:"1px solid var(--common-border-color)",padding:"16px",margin:"0 0 16px 0"},children:(0,H2.jsxs)("div",{style:D6t,children:[(0,H2.jsxs)("div",{style:E6t,children:[i("Output Template"),":"]}),(0,H2.jsx)($i,{style:{flex:1,display:"flex",width:"100%"},gap:0,onChange:a=>{r({type:"change_from",v:a})},value:o.from,options:[{value:"2D",label:"2D Preview",style:{width:"33.33%"}},{value:"Canvas",label:"Canvas",style:{width:"33.33%"}}]})]})}),(0,H2.jsxs)("div",{style:{display:"flex",gap:5,justifyContent:"flex-end"},children:[(0,H2.jsx)(Me,{type:"primary",onClick:()=>A6t(o),children:"Export"}),o.fileType==="PDF"&&(0,H2.jsx)(Me,{onClick:()=>N6t(o),type:"primary",children:"Print"}),(0,H2.jsx)(Me,{onClick:()=>{le.close(WJ)},children:"Cancel"})]})]})}var x8i={filePdf:"PDF",fileSVG:"SVG",fileImage:"PNG"},WJ="panel-pdf-export-dialog";function lH(t={}){let e=kr("getJsonCache").head.display_title;le.open({id:WJ,title:"Export Document(Cannot be used for manufacturing)",width:600,height:"auto",closed:!0,children:(0,H2.jsx)(fCr,{...t,display_title:e}),esc:!0,openCallback:t.openCallback||AS})}var hm=L(z()),T8i="panelProductionOrderDlg-new";var gCr={panelProductionSVG:"panelFabricationFileDlg",panelProductionOrder:"panelProductionOrderDlg",panelPreview:"panelPreview"},bCr={panelProductionSVG:"Export production files",panelProductionOrder:"Order Panel",panelPreview:"2D Preview"};function yCr(t){Ae(P6t.default);let{locals:e}=P6t.default,{type:i}=t,o=(0,yUe.useRef)(null),r=Wi("PANEL_CANVAS","designCheckWarn");(0,yUe.useEffect)(()=>{let a=o.current;a.addEventListener("wheel",z2),a.addEventListener("mousedown",Wf),a.addEventListener("contextmenu",gC)});let n=J();return(0,hm.jsxs)("div",{id:gCr[i],className:"panelPreviewWrap",style:{width:"100%",height:"100%"},children:[(0,hm.jsxs)("div",{className:"preview-content",style:{margin:"0 0 16px 0"},children:[i==="panelProductionSVG"&&(0,hm.jsx)("div",{className:e.form,children:(0,hm.jsxs)("p",{className:e["form-item"],children:[(0,hm.jsx)("label",{className:e["form-label"],"data-test":"File Name:",children:n("File Name:")}),(0,hm.jsx)("input",{type:"text",name:"filename",className:e["form-box"]}),(0,hm.jsx)("span",{children:".epanm"})]})}),i==="panelProductionOrder"&&(0,hm.jsx)("div",{className:"panel-tips","data-test":'Please check the panel preview, click "OK" button to continue.',children:n('Please check the panel preview, click "OK" button to continue.')}),(0,hm.jsxs)("div",{className:"preview-content-flex",children:[(0,hm.jsx)("div",{className:"preview-operate panel-2d-preview"}),(0,hm.jsx)("div",{className:"preview-box",ref:o}),(0,hm.jsx)("div",{className:"icon-eda-loading rotation"})]})]}),(0,hm.jsxs)("div",{style:{display:"flex",gap:5,justifyContent:"flex-end"},children:[i==="panelProductionOrder"&&(0,hm.jsx)(Me,{type:"primary",onClick:()=>{C.messageBus.publish("panel/doCommand",["panelProductionOrder",{designCheckWarn:r,type:"panelProductionOrder"}])},children:"Confirm"}),i==="panelProductionSVG"&&(0,hm.jsxs)(hm.Fragment,{children:[!(vo||_t)&&(0,hm.jsx)(Me,{type:"primary",onClick:()=>{dt()===ve.PANEL3D?C.messageBus.publish("/panel/3d/order"):C.messageBus.publish("panel/doCommand",["panelProductionOrder",{designCheckWarn:r,type:"panelProductionOrder"}])},children:"Order Panel"}),(0,hm.jsx)(Me,{type:"primary",onClick:()=>{let a=document.querySelector('#panelFabricationFileDlg input[name="filename"]').value;C.messageBus.publish("panel/doCommand",["panelProductionSVG",{fileName:a,designCheckWarn:r,type:"panelProductionSVG"}])},children:"Export"})]}),i==="panelPreview"&&(0,hm.jsxs)(hm.Fragment,{children:[(0,hm.jsx)(Me,{type:"primary",onClick:()=>{lH({action:"exporting-PDF",svgStr:k6t(o.current.querySelector("svg")),openCallback(){le.close(WJ)}})},children:"Exporting PDF"}),(0,hm.jsx)(Me,{type:"primary",onClick:()=>{lH({action:"exporting-PNG",svgStr:k6t(o.current.querySelector("svg")),openCallback(){le.close(WJ)}})},children:"Exporting PNG"}),(0,hm.jsx)(Me,{type:"primary",onClick:()=>{lH({action:"print-2d-preview",svgStr:k6t(o.current.querySelector("svg")),openCallback(){le.close(WJ)}})},children:"Print"})]}),(0,hm.jsx)(Me,{onClick:()=>{et("panel/closePreview"),le.close(T8i)},children:"Cancel"})]})]})}function k6t(t){let e=t.cloneNode(!0);return e.querySelector("#\u8FB9\u7EBF")&&(e.querySelector("#\u8FB9\u7EBF").style.display="none"),e.outerHTML}function Xre(t){let{type:e}=t,{width:i,height:o}=e1e({width:636,height:786});le.open({id:T8i,title:bCr[e],width:i,height:o,closed:!0,children:(0,hm.jsx)(yCr,{...t}),footer:!1,esc:!0,openCallback(){var r;(r=t==null?void 0:t.openCallback)==null||r.call(t)}})}var M8i="dlgExport",mSe="dlgExportPageConfig",wUe="dlgExportPcbPdfConfig",_6t=600,I8i=720,L8i=850;var t1e=["Project","Current Page","Current Page Selected Items"],CUe=["Current Page","Current Page Selected Items"],OA="Original Size",RA="Customize",gI={A5:{w:826,h:582},A4:{w:1170,h:825},A3:{w:1655,h:1170},A2:{w:2338,h:1652},A1:{w:3304,h:2338},A0:{w:4676,h:3304},A:{w:1100,h:850},B:{w:1700,h:1100},C:{w:2200,h:1700},D:{w:3400,h:2200},E:{w:4400,h:3400}},xUe={PCB:{fileImage:"Exporting PNG",filePdf:"Export PDF"},SCH:{fileImage:"Export Document",filePdf:"Export Document",fileSVG:"Export Document"},SIMULATION:{fileImage:"Export Document",filePdf:"Export Document",fileSVG:"Export Document"},PCB_2D:{fileImage:"Exporting PNG"},PCB_3D:{fileImage:"Exporting PNG"}},bI={\u88C5\u914D\u56FE\u9876\u5C42:"Top Assembly Drawings",\u88C5\u914D\u56FE\u5E95\u5C42:"Bottom Assembly Drawings",\u94BB\u5B54\u56FE:"Drill Drawing","Top Assembly Drawings":"Top Assembly Drawings","Bottom Assembly Drawings":"Bottom Assembly Drawings","Drill Drawing":"Drill Drawing","BOM Table":"BOM Table","Top Auto Designator Placement":"Top Auto Designator Placement","Bottom Auto Designator Placement":"Bottom Auto Designator Placement",\u9876\u9762\u81EA\u52A8\u4F4D\u53F7\u56FE:"Top Auto Designator Placement",\u5E95\u9762\u81EA\u52A8\u4F4D\u53F7\u56FE:"Bottom Auto Designator Placement",BOM\u8868:"BOM"},$re={"White on Black":"#000000","Black on White":"#FFFFFF","Full Color":"#FFFFFF"},TUe=()=>({name:"Top Auto Designator Placement",layer:[],object:[],checked:!0,pageNo:1,colorType:"Full Color",background:void 0,objectColor:void 0,specialFlag:"Top Auto Designator Placement"}),SUe=()=>({name:"Bottom Auto Designator Placement",layer:[],object:[],checked:!0,pageNo:2,colorType:"Full Color",background:void 0,objectColor:void 0,specialFlag:"Bottom Auto Designator Placement"}),MUe=()=>({name:"BOM",layer:[],object:[],checked:!0,pageNo:3,colorType:"Black on White",background:void 0,objectColor:void 0,specialFlag:"BOM"}),lD="Black on White",v8i=(function(){let[t,e]=[!1,0],i={checked:!0,color:$re[lD]};return[TUe(),SUe(),MUe(),{name:"Top Assembly Drawings",layer:[{layerId:1,transparency:80,isMirror:t,pageNo:1,color:null,checked:!0},{layerId:3,isMirror:t,transparency:e,pageNo:1,color:null,checked:!0},{layerId:11,isMirror:t,transparency:e,pageNo:1,color:null,checked:!0},{layerId:47,transparency:0,isMirror:t,pageNo:1,color:null,checked:!0}],object:iue.map(o=>o.value),checked:!0,pageNo:4,colorType:lD,background:i,objectColor:fU},{name:"Bottom Assembly Drawings",layer:[{layerId:2,transparency:80,isMirror:!0,pageNo:2,color:null,checked:!0},{layerId:4,transparency:e,isMirror:!0,pageNo:2,color:null,checked:!0},{layerId:11,isMirror:!0,transparency:e,pageNo:2,color:null,checked:!0},{layerId:47,transparency:0,isMirror:!0,pageNo:2,color:null,checked:!0}],object:iue.map(o=>o.value),checked:!0,pageNo:5,colorType:lD,background:i,objectColor:fU},{name:"Drill Drawing",layer:[{layerId:56,transparency:e,isMirror:t,pageNo:3,color:null,checked:!0}],object:iue.map(o=>o.value).filter(o=>!v7e.includes(o)),checked:!0,pageNo:6,colorType:lD,background:i,objectColor:fU}]})(),D8i=[{layerId:1,transparency:0,isMirror:!1,color:null,checked:!0},{layerId:2,transparency:0,isMirror:!1,color:null,checked:!0},{layerId:3,transparency:0,isMirror:!1,color:null,checked:!0},{layerId:4,transparency:0,isMirror:!1,color:null,checked:!0},{layerId:47,transparency:0,isMirror:!1,color:null,checked:!0}],Dss=bU.map(t=>t.value),E8i=!0,A8i=!1,N8i="paged",i1e=50,j6t="#FF0000";var Xj=L(Se());var pIt=L(P8i());var hSe=L(Vi());var BP="pdfWatermarkConfig",o1e="Watermark Style Config",LUe="PDF_WATERMARK",B6t=[1,.25,.5,.75],z6t=[0,45,90];var cH=(n=>(n.PROJECT_NAME="{Project Name}",n.BOARD_NAME="{Board Name}",n.DOCUMENT_NAME="{Document Name}",n.EXPORT_USER="{Export User}",n.EXPORT_Time="{Export Time}",n))(cH||{}),F6t=["Arial","\u5B8B\u4F53","Times New Roman","helvetica","sans-serif","monospace","Tahoma","Courier New","MS Gothic","Arial Black","Arial Narrow","Verdana","\u9ED1\u4F53","\u6977\u4F53","\u4EFF\u5B8B","\u96B6\u4E66"],_A={show:!1,content:"{Project Name}{Document Name}",color:"#cccccc",opacity:B6t[2],fontFamily:F6t[0],fontSize:{value:.3,unit:"inch"},underline:!1,isBold:!1,isItalic:!1,angle:z6t[1],density:"0"};var U6t=16,xCr="serif",O8i=-45,TCr=[128,128,128];function SCr(t){let e=Xo.getUserInfoFromCache();return t.replace(/\{用户名\}/g,e.username+" ").replace(/\{姓名\}/g,e.nickname+" ").replace(/\{时间\}/g,ue.formatDate2(new Date,"yyyy-MM-dd hh:mm"))}function R8i(t){return t==="1"?120:t==="2"?160:200}function _8i(t){return t==="1"?120:t==="2"?160:200}function j8i(t,e,i){let o=document.createElement("span");o.innerHTML=t,o.id="water-mark-text",(0,hSe.default)("body").append(o),(0,hSe.default)(o).attr("style",`font-family:${e};font-size:${i}px`);let r=(0,hSe.default)(o).width();return(0,hSe.default)(o).remove(),r}function iy(t,e){if(!(t!=null&&t.status)||!(t!=null&&t.place.split("|").includes(e)))return null;let i=SCr(t.content),o=R8i(t.density),r=_8i(t.density),n=o+U6t,a=r+j8i(i,xCr,U6t);return{text:i,fontSize:U6t,color:[...TCr,t.transparency/100],rowGap:o,columnGap:r,rowWithRowGap:n,columnWithColumnGap:a,deg:e==="2"?-O8i:O8i}}function QJ(t,e){if(!t.show)return null;let{fontFamily:i,underline:o,isBold:r,isItalic:n,angle:a}=t,s=f(t.content),l=[...B8i(t.color),t.opacity],c=t.density==="0"?0:h({value:R8i(t.density),unit:"pixel"},e),d=t.density==="0"?0:h({value:_8i(t.density),unit:"pixel"},e),u=h(t.fontSize,e),p=c+u,m=d+j8i(s,i,u);return{text:s,fontSize:u,color:l,rowGap:c,columnGap:d,rowWithRowGap:p,columnWithColumnGap:m,deg:a,fontFamily:i,underline:o,italic:n,bold:r};function h(b,y){switch(y){case"PCB":return _m(ws.build2(b),"mil").value/10;case"SCH":default:return _m(ws.build2(b),"pixel").value}}function f(b){let y=Xo.getUserInfoFromCache(),w=b.replace(/\{Project Name\}/g,C.currentProject.title).replace(/\{Export User\}/g,y.nickname||y.username).replace(/\{Export Time\}/g,ue.formatDate2(new Date,"yyyy-MM-dd hh:mm"));if(e==="PCB"){let x=gi(),S=g(wr(x)[0]);w=w.replace(/\{Board Name\}/g,S).replace(/\{Document Name\}/g,he.getTabTitle(x))}return w}function g(b){let y;return C.messageBus.publish("syncGetBoardNameByPcb",{pcbId:b,cb:w=>{y=w}}),y}}var cD={uploadProfile:{url:C.apis.others.pullImage},itemUploadStateHashtable:{upload:"Upload",uploaded:"Uploaded",uploading:"Uploading",wupload:"Waiting to Upload",uploadfail:"Upload Failed",uploadsucc:"Upload Success",reupload:"Re Upload"},defaultItemUploadStateText:"Unknown Status",defaultImageItemSize:{width:125,heigth:125}};function z8i(t){try{return JSON.parse(t)}catch{return null}}function DUe(t){let e=/((.*)\/(.*))/i;if(!e.test(t))return"";let i=e.exec(t);return i[i.length-1]}function r1e(t={}){if(!t.url||!t.data)return;let e=new XMLHttpRequest;e.open("post",t.url,!0),e.setRequestHeader("contentType","multipart/form-data"),e.upload.addEventListener("progress",t.onProgress||new Function),e.upload.addEventListener("load",t.onLoad||new Function),e.upload.addEventListener("error",t.onError||new Function),e.addEventListener("error",t.onError||new Function),e.addEventListener("abort",t.onError||new Function),e.onreadystatechange=function(i){if(e.readyState==4)if(e.status==200){let o=z8i(e.responseText);if(MCr(o),!o||!o.success){t.onError&&t.onError(e);return}t.onSuccess&&t.onSuccess(o,e)}else t.onError&&t.onError(e)},e.send(t.data)}function EUe(t,e=new Function){return new Promise((i,o)=>{r1e({url:cD.uploadProfile.url,data:t,onProgress(r){e&&e(r)},onError(r){o({data:null,xhr:r})},onSuccess(r){i({data:r,xhr:null})}})})}function F8i(t){z8i(t.responseText||"")&&Ot("warn",['<span class="i18n">The uploaded image failed the review, please confirm the image</span>'],"Log",!0)}function MCr(t){if(typeof t=="object"&&!(typeof t.result>"u"))try{let e=JSON.parse(t.result);t.url=e.url}catch{t.url=""}}var fSe={xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8",csv:"text/csv",zip:"application/zip",png:"image/png",jpg:"image/jpeg",pdf:"application/pdf",svg:"image/svg+xml"};function AUe({data:t,fileName:e,fileType:i,docType:o,docUuid:r}){let n="";NUe(o)?n="pcb":ty(o)?n="sch":console.warn("\u4FDD\u5B58\u9644\u4EF6\u6587\u6863\u7C7B\u578B\u5FC5\u987B\u662FPCB\u6216SCH");let a=Object.keys(fSe).find(u=>e.match(new RegExp(`\\.${u}$`,"i"))),s=new File([t],e,{type:fSe[a]}),l=new FormData,c={file:s,type:i,origin:n,originUuid:r};for(let u in c)l.append(u,c[u]);let d="uploadAttachment";return new Promise((u,p)=>{r1e({url:C.apis.others.saveAsAttachment(C.currentProject.projectId),data:l,onProgress(m){vt(m.loaded/m.total,d)},onError:()=>{De({type:"warn",msg:"Upload Failed",timer:3}),af(),u(!1)},onSuccess:m=>{De({type:"warn",msg:"Upload Success",timer:3}),af(),u(!0)}})})}function U8i(t,e){return AUe({data:t,fileName:e,fileType:1,docType:dt(),docUuid:wa()})}function V8i(t,e,i,o){return AUe({data:t,fileName:e,fileType:2,docType:i,docUuid:o})}function H8i(t,e){return AUe({data:t,fileName:e,fileType:3,docType:dt(),docUuid:wa()})}function gSe(t,e){return AUe({data:t,fileName:e,fileType:4,docType:dt(),docUuid:wa()})}var tAi=L(Vi());var Zl=class t extends qe{constructor(){super(...arguments);this.show=_A.show;this.content=_A.content;this.color=_A.color;this.forceRenderColorPicker=0;this.opacity=_A.opacity;this.fontFamily=_A.fontFamily;this.fontSize=_A.fontSize;this.underline=_A.underline;this.isBold=_A.isBold;this.isItalic=_A.isItalic;this.angle=_A.angle;this.density=_A.density}static getInstance(){return this._instance||(this._instance=new t)}get unit(){return vC()?eA():Vo()}get fontSizeView(){let i=ws.build2(this.fontSize);return _m(i,this.unit).value}getData(){return{show:this.show,content:this.content,color:this.color,opacity:this.opacity,fontFamily:this.fontFamily,fontSize:this.fontSize,underline:this.underline,isBold:this.isBold,isItalic:this.isItalic,angle:this.angle,density:this.density}}setData(i=Ob(LUe)){try{let o=i?JSON.parse(i):null;o&&(this.show=o.show,this.content=o.content,this.color=o.color,this.opacity=o.opacity,this.fontFamily=o.fontFamily,this.fontSize=o.fontSize,this.underline=o.underline,this.isBold=o.isBold,this.isItalic=o.isItalic,this.angle=o.angle,this.density=o.density)}catch{console.warn(`PDFWatermarkStore: setData failed:${i}`)}}refreshView(){this.notify()}};function G8i(t,e,i,o,r,n){if(t.length>0||e.length>0){let a=[];t.length>0&&a.push(`<b class="i18n">Footprint that does not exist in the library:</b>${t.join(", ")}`),e.length>0&&a.push(`<b class="i18n">Component pins number\xA0doesn't match footprint pads number, please re-binding footprint:</b>${e.join(", ")}`),Ot("error",a,"Log",!1)}if(i.length>0||o.length>0){let a=[];i.length>0&&a.push(`<b class="i18n">Device that does not exist in the library:</b>${i.join(", ")}`),o.length>0&&a.push(`<b class="i18n">Component pins number\xA0doesn't match footprint pads number, please re-binding footprint:</b>${o.join(", ")}`),Ot("error",a,"Log",!1)}if(r.length>0){let a="The following Components are not assigned the Footprint:";a=`<b class="i18n">${a}</b>${r.join(", ")}`,Ot("error",a,"Log",!1)}if(n.length>0){let a="Component pins does not match footprint pads number, please re-binding foorprint:";a=`<b class="i18n">${a}</b>${n.join(". ")}`,Ot("error",a,"Log",!1)}}async function kUe(t,e,i=!1,o=!0){return await ii("autoBoard",{docType:t,uuid:e,unOpen:i,isActive:o})}async function V6t(){let e=C.currentProject.projectId,i=he.getActiveTab(),o=i.replace(/\@.+$/,""),r=he.getTabDocType(i),n=r==se.SCH,a=r==se.PCB;if(!n&&!a)return{activePageId:o};let s="",l=(await C.messageBus.rpcCall("getAstProjectBoards")).message||[],c="",d="",u="";if(a){c=o;for(let p of l)if(p.pcb===c){u=p.sch,s=p.name;break}if(u||(u=(await C.messageBus.rpcCall("getSchemaIdByPcbId",{pcbUuid:c})).message.schemaId),u){let p=(await C.messageBus.rpcCall("getAllSheetUuidsBySchematicUuid",u)).message;if(p&&p.length>0){for(let m in p)if(he.isHasTabById(lo(m,e))){d=m;break}d=d||p[0]}}}else if(n){let p=(await C.messageBus.rpcCall("getCrossProbeData",{tabId:i})).message;d=o,u=he.getActiveSchematicId(),c=p.mainPcbUuid,s=(await C.messageBus.rpcCall("getBoardNameByPcb",c)).message||""}return{activePageId:o,schematicId:u,schPageId:d,pcbPageId:c,boardName:s}}function n1e(t){let e=t.split("\\");for(let i=0;i<e.length;i++)i===e.length-1?e[i]=e[i].replace(/(\$\d+)([a-zA-Z]+)(\d+)/,function(o,r,n,a){return r+"N"+a}):e[i]=e[i].replace(/(\$\d+)([a-zA-Z]+)(\d+)/,function(o,r,n,a){return r+"I"+a});return e.join("\\")}function H6t(t,e){if(!t)return"";t=t.replace(/^=/,"");let i=/\{([^\}]+)\}/g,o=[],r=[];for(;o=i.exec(t);)r.push(o[1]);return r.forEach(n=>{let a=e[n]||"";t=t.replace(`{${n}}`,a)}),t}var ICr=["Name"];function a1e(t,e=ICr){for(let i in t)e.includes(i)&&(t[i]=H6t(t[i],t));return t}var jA=class{constructor(e){this.netList=e}};var jr={DESIGNATOR:"Designator",DEVICE:"Device",FOOTPRINT:"Footprint",SYMBOL:"Symbol",NAME:"Name",UNIQUEID:"Unique ID",GROUPID:"Group ID",CHANNELID:"Channel ID",REUSEBLOCK:"Reuse Block",BATCHREUSE:"Batch Reuse",PINREUSE:"pinReuse",REUSEPIN:"Reuse Pin",SHARINGPIN:"Sharing Pin",COMMENT:"Comment",DESCRIPTION:"Description",ADDINTOBOM:"Add into BOM"},PUe=class extends jA{encode(e){let i={},o={},r={};this.netList.iterator((a,s)=>{let{props:l,nets:c}=s,d=T=>{if(BA(e.allegroFootprintName))return T;{let M=/[\s;!.；！]/g;return T.replace(M,e.allegroFootprintName)}},u=(T,M)=>{let I=/\{([^\}]+)\}/g,A=[],D=[];for(;D=I.exec(T);)A.push(D[1]);for(let E=0;E<A.length;E++){let N=A[E],R=`{${N}!}`;if(N in M){switch(N){case jr.DEVICE:R=M.DeviceName;break;case jr.FOOTPRINT:R=d(M.FootprintName);break;case jr.DESIGNATOR:R=M.Designator;break;case jr.SYMBOL:R=M.SymbolName;break;case jr.NAME:R=H6t(M[N],M);break;default:R=M[N];break}T=T.replace(`{${N}}`,R)}}return T},m=l.Designator||a,h=d(l.FootprintName),f=l.DeviceName,g=" ! ",b=u(e.additionalValue,l),y=u(e.tolerance,l),w=u(e.device,l)||this.autoStr(f),x=u(e.footprint,l)||this.autoStr(h),S=y?[this.autoStr(b),this.autoStr(y)]:[this.autoStr(b)];En(i,[x,w,...S].join(g)).push(m),"COMPONENT_HIGH_MAX"in l&&En(o,"COMPONENT_HIGH_MAX "+this.autoStr(l.COMPONENT_HIGH_MAX)).push(m),"CODE"in l&&En(o,"CODE "+this.autoStr(l.CODE)).push(m),it(c,(T,M)=>{if(M){let I=n1e(this.autoStr(M));I&&En(r,I).push(m+"."+T)}})});let n=new Array;return n.push(`$PACKAGES\r
`),this.output(i,n),n.push(`$A_PROPERTIES\r
`),this.output(o,n,!1),n.push(`$NETS\r
`),this.output(r,n,!0),n.push(`$SCHEDULE\r
`),n.push(`$END\r
`),n.join("")}autoStr(e){return e===void 0||e===""?"":/^[a-zA-Z0-9*]*$/m.test(e)?e:"'"+e.replace("'","''")+"'"}output(e,i,o=!0){let r=new Array;it(e,(n,a)=>{a=a.map(this.naturalSortSplitor).sort(this.naturalSortComparator).map(c=>c[c.length-1].toString());let s=a[0],l=[s];for(let c of a)c!==s&&l.push(c),s=c;r.push([n,l])}),o&&r.sort((n,a)=>n[0].localeCompare(a[0]));for(let n of r)this.autoLine(i,[n[0],";"].concat(n[1]))}naturalSortSplitor(e){let i=/\d+/g,o=new Array,r=0;for(;;){let n=i.exec(e);if(n)r<n.index&&o.push(e.substring(r,n.index)),r=n.index+n[0].length,o.push(parseInt(n[0]));else break}return o.push(e),o}naturalSortComparator(e,i){let o=Math.max(e.length,i.length);for(let r=0;r<o;r++){let n=e[r],a=i[r],s=0;if(typeof n=="string"&&typeof a=="string")s=n.localeCompare(a);else if(typeof n=="number"&&typeof a=="number")s=n-a;else{if(typeof n=="number"&&typeof a=="string")return-1;if(typeof n=="string"&&typeof a=="number")return 1;if(n===void 0&&a!==void 0)return-1;if(n!==void 0&&a===void 0)return 1}if(s!==0)return s}return 0}autoLine(e,i){let o=0;for(let r of i){let n=r.length+1;o+n>=80&&(e.push(`,\r
        `),o=8),e.push(r," "),o+=n}e.push(`\r
`)}};var cf="tab_pageVariant",KJ="assembly-variant-page",OUe="22";var ZJ=[{title:"Create Node Above",id:"createAbove",icon:"icon_add_above"},{title:"Create Node Below",id:"createBelow",icon:"icon_add_below"},{title:"Create Subnode",id:"createSubNode",icon:"icon_add_child"},{title:"Clone Node",id:"cloneNode",icon:"icon_operate_copy"},{title:"Delete All Subnode",id:"deleteAllSubnode",icon:"icon_delete_child"},{title:"Move Up",id:"moveUp",icon:"icon_operate_up"},{title:"Move Down",id:"moveDown",icon:"icon_operate_down"},{title:"Delete",id:"delete",icon:"icon_operate_delete"}],Als=[jr.ADDINTOBOM,jr.DESIGNATOR,jr.FOOTPRINT,jr.SYMBOL,jr.DEVICE,jr.UNIQUEID],JJ=["\u672A\u5F52\u7EC4","Not Grouping"];function uH(t){let e=[];return it(ri.sortVariantData[t]||[],(i,o)=>{e.push(o.title)}),e}function qJ(t,e=""){let i=[];return it(ri.sortComponentGroupData[t]||[],(o,r)=>{e?r.uuid===e&&it(r.childData,(n,a)=>{i.push(a.title)}):i.push(r.title)}),i}function XJ(t,e,i=""){let o={Variant:[],Group:[]};o.Variant=uH(e),o.Group=qJ(e,i);let r=o[`${t}`],n=0,a=[],s=new RegExp("^"+t+"[\\s_]*(\\d+)$","i");for(var l=0,c=r.length;l<c;l++)(n=r[l].match(s))&&(n=n[1]*1,a.indexOf(n)===-1&&a.push(n));return a.sort(function(d,u){return d-u}),a.length?t+(a[a.length-1]+1):t+"1"}function H0(t,e,i,o=null){var c;let r=ri.currentSchematicId,n=(i===0?ri.sortVariantData[r]:ri.sortComponentGroupData[r])||[];o&&(n=((c=ri.sortComponentGroupData[r].filter(u=>u.uuid===o))==null?void 0:c[0]).children);let a=n.findIndex(d=>d.uuid===t),s=1,l=()=>{let u=n.map(p=>p.zIndex).sort((p,m)=>m-p);return u[0]?u[0]+1:1};if(e==="max")s=l();else if(a>-1){let d=n[a];if(e=="sub"){let u=i===0?d.componentGroupChildren:d.children;u.length>0?s=u[u.length-1].zIndex+1:s=1}else{let u=e==="up"?Math.max(a-1,0):Math.min(a+1,n.length);u===0?s=d.zIndex/2:u===n.length?s=d.zIndex+1:s=(n[u].zIndex+d.zIndex)/2}}else s=l();return s}function ene(t){let e=ri.getComponentGroup(t),i={};if(e&&(i=ue.deepClone((e==null?void 0:e.data)||{}),e!=null&&e.parent)){let o=ri.getComponentGroup(e.parent);it(o.data,(r,n)=>{it(n,(a,s)=>{var l;(l=i==null?void 0:i[r])!=null&&l[a]||(Cs(i,r)[a]={})})})}return i}function zP(t){return t==="notGroup"}function bSe(t){t==="undo"?Zs.go(-1):t==="redo"&&Zs.go(1),$J(Zs.canUndo(),Zs.canRedo())}var ia=class ia{constructor(){}static push(e){ia.logs.push(e),ia.logs.length>ia.maxLength&&ia.logs.shift()}static getLogs(){return{index:ia.index,records:JSON.parse(JSON.stringify(ia.records))}}static clear(e){var i=e&&e.saved===!1;ia.logs.length=0,ia.push("clear"),ia.records.length=0,ia.index=-1,ia.savedIndex=i?-2:ia.index}static goTo(e,i=!1){if(ia.schematicId!==ri.currentSchematicId)return;let o=[];if(e>=-1&&e!==ia.index&&e<ia.records.length){if(e>ia.index)for(let n=ia.index+1;n<=e;n++){let a=ia.records[n];ia.doCmdBatch("redo",a)}else for(let n=ia.index;n>e;n--){let a=ia.records[n];ia.doCmdBatch("undo",a)}ia.index=e}else console.log("history.goTo("+e+") not available");function r(n){Array.isArray(n[0])||(n=[n]),n.forEach(a=>{a[0]==="json"&&o.push(a[1])})}}static go(e){ia.push(e===1?"redo":e===-1?"undo":"go("+e+")"),ia.goTo(ia.index+e,e===-1||e===1)}static doCmdBatch(e,i){ia.schematicId===ri.currentSchematicId&&(e=="redo"?ia.redoOne(i):ia.undoOne(i))}static messageCallbackLog(e,i){Array.isArray(i.result)?it(i.result,(o,r)=>{r.success||console.error(e,r.message)}):i.success||console.error(e,i)}static async undoOne(e){if(ia.schematicId===ri.currentSchematicId&&Array.isArray(e)){if(Array.isArray(e[0])){for(let i=e.length-1;i>=0;i--)e[i]&&await ia.undoOne(e[i]);return}if(e){let[i,o,r,n]=e;i===$e.COMPONENT_GROUP.BATCH_DELETE?await C.messageBus.rpcCall($e.COMPONENT_GROUP.BATCH_RESTORE,[o,C.currentProject.projectId]).then(({message:a})=>{ia.messageCallbackLog($e.COMPONENT_GROUP.BATCH_RESTORE,a)}):i===$e.VARIANT.BATCH_DELETE?await C.messageBus.rpcCall($e.VARIANT.BATCH_RESTORE,[o,C.currentProject.projectId]).then(({message:a})=>{ia.messageCallbackLog($e.VARIANT.BATCH_RESTORE,a)}):r&&n&&(r===$e.COMPONENT_GROUP.BATCH_UPLOAD_VARIANT_INDEX&&n.map(a=>{if(!a.zIndex){let{groupId:s,variantId:l}=a,c=ri.getComponentGroup(s);a.zIndex=H0(l,"max",0)}return a}),await C.messageBus.rpcCall(r,[n,C.currentProject.projectId]).then(a=>{console.log(e,a)}))}}}static async redoOne(e){if(ia.schematicId===ri.currentSchematicId&&Array.isArray(e)){if(Array.isArray(e[0])){for(let i=0,o=e.length;i<o;i++)e[i]&&await ia.redoOne(e[i]);return}if(e){let[i,o,r,n]=e;i===$e.COMPONENT_GROUP.ADD?await C.messageBus.rpcCall($e.COMPONENT_GROUP.BATCH_RESTORE,[n,C.currentProject.projectId]).then(({message:a})=>{ia.messageCallbackLog($e.COMPONENT_GROUP.BATCH_RESTORE,a)}):i===$e.VARIANT.ADD?await C.messageBus.rpcCall($e.VARIANT.BATCH_RESTORE,[n,C.currentProject.projectId]).then(({message:a})=>{ia.messageCallbackLog($e.VARIANT.BATCH_RESTORE,a)}):i&&o&&await C.messageBus.rpcCall(i,[o,C.currentProject.projectId]).then(({message:a})=>{ia.messageCallbackLog(i,a)})}}}static canRedo(){return ia.schematicId!==ri.currentSchematicId?!1:ia.index<ia.records.length-1}static canUndo(){return ia.schematicId!==ri.currentSchematicId?!1:ia.index>=0}static save(e){if(ia.schematicId=ri.currentSchematicId,V_(e))return;let i=ia.records.length;ia.index>=ia.maxLength-1?(ia.records.shift(),ia.savedIndex>-1&&(ia.savedIndex-=1)):ia.index++,ia.records[ia.index]=e,ia.records.length=ia.index+1,$J(ia.canUndo(),ia.canRedo())}};ia.records=[],ia.maxLength=120,ia.index=-1,ia.savedIndex=-1,ia.schematicId="",ia.logs=[];var Zs=ia;var Sd=(t,e,i="")=>i?`${t}|${e}|${i}`:`${t}|${e}`,G6t=class extends qe{constructor(){super();this._currentSchematicId=null;this._allSchematicVariant={};this._variantExpandKey={};this._deviceCache={};this._variantData={};this._sortVariantData={};this._componentGroupData={};this._sortComponentGroupData={};this._variantContextMenuData=null;this._componentGroupContextMenuData=null;this._variantListContextMenuData=null;this._variantSelectedAllData=[];this._componentGroupSelectAllData=[];this._variantListSelectAllData=[];this._displayVariantComponent=!1;this._componentListData={};this._componentListNoGroupData={};this._currentSelectTreeData=null;this._alterModifyNode={};this._searchValue="";this._variantListTableRows=[]}get componentListData(){return this._componentListData}get componentListNoGroupData(){return this._componentListNoGroupData}get currentSchematicId(){return this._currentSchematicId}set currentSchematicId(i){this._currentSchematicId!==i&&this.clearSelected(),this._currentSchematicId=i,$J(Zs.canUndo(),Zs.canRedo()),this.notify()}get variantExpandKeyStore(){return this._variantExpandKey}set variantExpandKeyStore(i){this._variantExpandKey=i,this.notify()}get currentSelectTreeData(){return this._currentSelectTreeData}set currentSelectTreeData(i){this._currentSelectTreeData=i,this.notify()}get variantContextMenuData(){return this._variantContextMenuData}set variantContextMenuData(i){this._variantContextMenuData=i,this.notify()}get componentGroupContextMenuData(){return this._componentGroupContextMenuData}set componentGroupContextMenuData(i){this._componentGroupContextMenuData=i,this.notify()}get sortVariantData(){return this._sortVariantData}set sortVariantData(i){this._sortVariantData=i,it(i,(o,r)=>{this.updateVariantDevice(r)}),this.notify()}get componentGroupData(){return this._componentGroupData}set componentGroupData(i){this._componentGroupData=i}get sortComponentGroupData(){return this._sortComponentGroupData}set sortComponentGroupData(i){this._sortComponentGroupData=i,it(i,(o,r)=>{this.updateComponentGroupDevice(r)}),this.notify()}get displayVariantComponent(){return this._displayVariantComponent}set displayVariantComponent(i){this._displayVariantComponent=i,this.notify()}get variantSelectedAllData(){return this._variantSelectedAllData||[]}set variantSelectedAllData(i){this._variantSelectedAllData=i,this.notify()}get componentGroupSelectAllData(){return this._componentGroupSelectAllData||[]}set componentGroupSelectAllData(i){this._componentGroupSelectAllData=i,this.notify()}get variantListContextMenuData(){return this._variantListContextMenuData}set variantListContextMenuData(i){this._variantListContextMenuData=i,this.notify()}get variantListSelectAllData(){return this._variantListSelectAllData||[]}set variantListSelectAllData(i){this._variantListSelectAllData=i,this.notify()}get alterModifyNode(){return this._alterModifyNode[this.currentSchematicId]}set alterModifyNode(i){this._alterModifyNode[this.currentSchematicId]=i}get searchValue(){return this._searchValue}set searchValue(i){this._searchValue=i,this.notify()}get variantListTableRows(){return this._variantListTableRows}set variantListTableRows(i){this._variantListTableRows=i}clearSelected(){this.variantSelectedAllData=[],this.componentGroupSelectAllData=[],this.variantListSelectAllData=[],this.currentSelectTreeData=null,this._componentListData={},this._componentListNoGroupData={},this._alterModifyNode={}}reset(){this.variantSelectedAllData=[],this.componentGroupSelectAllData=[],this.variantListSelectAllData=[],this.currentSchematicId=null,this._allSchematicVariant={},this.sortVariantData={},this.componentGroupData={},this.sortComponentGroupData={},this.variantContextMenuData=null,this.componentGroupContextMenuData=null,this.variantListContextMenuData=null,this._componentListData={},this._componentListNoGroupData={},this.currentSelectTreeData=null,this._alterModifyNode={},this._deviceCache={}}async updateSortVariant(i,o){this._sortVariantData[i]=o,await this.updateVariantDevice(o),this.updateCurrentNoGroupNlSymbol(i),this.notify()}async updateSortComponentGroup(i,o){this._sortComponentGroupData[i]=o,await this.updateComponentGroupDevice(o),this.updateCurrentNoGroupNlSymbol(i),this.notify()}updateVariantTitle(i,o,r,n=""){let a=[];this.sortVariantData[i]&&(a=this.sortVariantData[i].map(s=>(s.uuid===o&&(s.title=r,s.description=n),s))),this.sortVariantData[i]=a,this.notify()}updateComponentTitle(i,o,r){let n=this.sortComponentGroupData[i].map(a=>(a.uuid===o&&(a.title=r),it(a.childData,(s,l)=>{l.uuid===o&&(l.title=r)}),a));this.sortComponentGroupData[i]=n,this.notify()}getCurrentNlSymbol(){return this.componentListData[this.currentSchematicId]}getCurrentNoGroupNlSymbol(){return this._componentListNoGroupData[this.currentSchematicId]}getCurrentNoGroupNlSymbolData(){let i={},o=this._componentListNoGroupData[this.currentSchematicId];return it(o,(r,n)=>{let{path:a,symbolId:s}=n;Cs(i,a)[s]={}}),i}getNlSymbolBySchematicId(i){return this.componentListData[i]}getCurrentNlSymbolByUniquePath(){let i=this.getCurrentNlSymbol(),o={};return it(i,(r,n)=>{let a=Sd(n.path,n.symbolId);o[a]=n}),o}updateCurrentNoGroupNlSymbol(i){let o=this.sortComponentGroupData[i]||[],r=[],n=[];it(o,(s,l)=>{let{uuid:c,data:d}=l;it(d,(u,p)=>{it(p,(m,h)=>{let f=Sd(u,m);r.push(f)})})});let a=this.getNlSymbolBySchematicId(i);it(a,(s,l)=>{let c=Sd(l.path,l.symbolId);r.includes(c)||n.push(l)}),this._componentListNoGroupData[i]=n,this.notify()}updateAssemblyNlSymbol(i,o){this.componentListData[i]=o,this.updateCurrentNoGroupNlSymbol(i),this.notify()}getVariant(i,o=this.currentSchematicId){var n;return o=o||this.currentSchematicId,((n=(this.sortVariantData[o]||[]).filter(a=>a.uuid===i))==null?void 0:n[0])||null}deleteVariantHandler(i,o=this.currentSchematicId){var n;let r=i;typeof i=="string"&&(r=[i]),it(r,(a,s)=>{var l;this.variantSelectedAllData=this.variantSelectedAllData.filter(c=>c.id===s),((l=this.currentSelectTreeData)==null?void 0:l.id)===s&&(this.currentSelectTreeData=null)}),((n=this.variantContextMenuData)==null?void 0:n.id)===i&&(this.variantContextMenuData=null)}deleteComponentGroupHandler(i,o=this.currentSchematicId){var n;let r=i;typeof i=="string"&&(r=[i]),it(r,(a,s)=>{var l;this.componentGroupSelectAllData=this.componentGroupSelectAllData.filter(c=>c.id===s),((l=this.currentSelectTreeData)==null?void 0:l.id)===s&&(this.currentSelectTreeData=null)}),((n=this.componentGroupContextMenuData)==null?void 0:n.id)===i&&(this.componentGroupContextMenuData=null)}getComponentGroup(i,o=this.currentSchematicId){var n;let r=[];return o=o||this.currentSchematicId,it(this.sortComponentGroupData[o],(a,s)=>{r.push(s),it(s.childData,(l,c)=>{r.push(c)})}),it(this.sortVariantData[o],(a,s)=>{s.componentGroup&&r.push(s.componentGroup)}),((n=r.filter(a=>a.uuid===i))==null?void 0:n[0])||null}getRefComponentGroup(i=this.currentSchematicId){i=i||this.currentSchematicId;let o=this.sortVariantData[i],r=[];return it(o,(n,a)=>{it(a.childComponentGroupData,(s,l)=>{r.push(l.uuid)})}),r}getDeviceDisplayTitle(i){return i in this._deviceCache?this._deviceCache[i]||i:""}async updateVariantDevice(i){await Ro(i,async(o,r)=>{var n;await Ro(((n=r.componentGroup)==null?void 0:n.data)||[],async(a,s)=>{await Ro(s,async(l,c)=>{jr.DEVICE in c&&await this.updateDevice(c[jr.DEVICE])})})})}async updateComponentGroupDevice(i){await Ro(i,async(o,r)=>{await Ro(r.data,async(n,a)=>{await Ro(a,async(s,l)=>{jr.DEVICE in l&&await this.updateDevice(l[jr.DEVICE])})}),await Ro(r.childData,async(n,a)=>{await Ro(a.data,async(s,l)=>{await Ro(l,async(c,d)=>{jr.DEVICE in d&&await this.updateDevice(d[jr.DEVICE])})})})})}async updateDevice(i){if(i&&!(i in this._deviceCache)){let o=(await C.messageBus.rpcCall($e.DEVICE.GET_TITLE_BY_UUID,[i,C.currentProject.projectId])).message||i;o?this._deviceCache[i]=o:console.log(o)}}getVariantMenu(i){let o=[{id:"basis",title:"Basis",command:"changeVariantViewMode(basis)",optionType:{type:"radio",groupName:"variantMenu",defaultChecked:!0}}];return!this._sortVariantData||!this._sortVariantData[i]||this._sortVariantData[i].forEach(r=>{o.push({id:r.uuid,title:r.title,command:`changeVariantViewMode(${r.uuid})`,optionType:{type:"radio",groupName:"variantMenu",clickNotAutoSelect:!0}})}),o}getVariantList(i){let o=[{value:"basis",text:"Basis"}];return!this._sortVariantData||!this._sortVariantData[i]||this._sortVariantData[i].forEach(r=>{o.push({value:r.uuid,text:r.title})}),o}},ri=new G6t;var XS=class t extends qe{constructor(){super();this.selectedPageIndexes=[];this.variant="basis";t._instance=this}static getInstance(){return this._instance||new t}set title(i){this._title=i}get title(){return this._title}set showAttrMenu(i){this._showAttrMenu=i}get showAttrMenu(){return this._showAttrMenu}set onlyExportOutline(i){this._onlyExportOutline=i}get onlyExportOutline(){return this._onlyExportOutline}set method(i){this._method=i}get method(){return this._method}get pcbLayersMap(){let i=new Map;return this.pcbLayers.forEach(o=>{i.set(o.layerId,o)}),i}get variantList(){return ri.getVariantList(this.schematicId)}getFieldsetTitle(i){let o=this.pageConfig[i].name;return o in bI&&(o=me._context_i18n("exportDocument",bI[o])),o+(me.curr==="en"?" ":"")+me.i18n("Page Config")}get addPageDisabled(){return this.pageConfig.length>=i1e}get upPageDisabled(){return!this.selectedPageIndexes.length||Math.min(...this.selectedPageIndexes)===0}get downPageDisabled(){return!this.selectedPageIndexes.length||Math.max(...this.selectedPageIndexes)===this.pageConfig.length-1}get deletePageDisabled(){return!this.selectedPageIndexes.length||this.selectedPageIndexes.some(i=>!!this.pageConfig[i].specialFlag)}get copyDisabled(){return this.pageConfig.length>=i1e||!this.selectedPageIndexes.length||this.selectedPageIndexes.some(i=>!!this.pageConfig[i].specialFlag)}get exportConfig(){return{fileName:this.title,language:me.curr,pageSet:this.method,needMenu:this.showAttrMenu,needAnnot:!1,onlyShowStroke:this.onlyExportOutline,customPage:this.pageConfig,rangeText:G0()}}get userId(){return this.userId}async setUserId(i){i!==this._userId&&(this._userId=i,this.pageConfig=await RUe())}async importConfig(i,o){let{language:r,fileName:n,pageSet:a,needMenu:s,onlyShowStroke:l,color:c}=i,{customPage:d}=i;if(!a)De({type:"error",msg:"Import failed! Please check if the configuration file is correct."});else{if(d||(d=Y8i(i,o)),d.length+this.pageConfig.length>i1e)return De({type:"warn",msg:"There are too many existing configurations. Please delete some before adding new ones."});De({type:"success",msg:"Import successfully!"}),this.method=a,this.title=n,this.showAttrMenu=s,this.onlyExportOutline=l,this.pageConfig=await Y6t((this.pageConfig||[]).concat(d==null?void 0:d.map((u,p)=>(c&&!u.specialFlag&&(u.colorType=c),u))))}}async initData(){this.pcbLayers=(await C.windowBridge.rpcCall("LayerConfig","",await Ra())).message,this.pcbCanvasColor=await Pt(kt.Pcb.GetBgColor),eq(this.pcbLayers),this.selectedPageIndexes=[],this.title=`PCB_${G0()}_${ue.formatDate2(new Date).substring(0,10)}`,this.showAttrMenu=E8i,this.onlyExportOutline=A8i,this.method=N8i,await this.setUserId(_o()),this.schematicId=await l1e()}refreshView(){this.notify()}};var _Ue={leftButtons:[{title:"Import Config",key:"Import Config"},{title:"Export Config",key:"Export Config"}],rightButtons:[{title:"Restore Default",key:"Restore Default"},{title:"Device Standardization",key:"Device Standardization"},{title:"Order SMT Parts",key:"Order SMT Parts"},{title:"Order Parts",key:"Order Parts"},{title:"Save as Attachment",key:"Save as Attachment"},{title:"Confirm",key:"Confirm"},{title:"Export BOM",key:"Export BOM"},{type:"default",title:"Cancel",key:"Cancel"}]},yI={rulesOperateBtn:[{type:"add",title:"Add",disabled:!1},{type:"up",title:"Up Move",disabled:!0},{type:"down",title:"Down Move",disabled:!0},{type:"delete",title:"Del",disabled:!0}],tableOperateBtn:[{type:"up",title:"Up Move",disabled:!0},{type:"down",title:"Down Move",disabled:!0},{type:"delete",title:"Del",disabled:!0}],defFilterCache:[{attr:"Add into BOM",rule:"no",checked:!0,isForbidDel:!0,selected:!1},{attr:"Convert to PCB",rule:"no",checked:!1,isForbidDel:!0,selected:!1}],defTableKeys:[{title:"No.",value:"Number",order:0,key:0,orderWeight:0},{title:"Quantity",value:"Quantity",order:0,key:0,orderWeight:1},{title:"Comment",value:"Comment",order:0,key:1,orderWeight:2},{title:"Designator",value:"Designator",order:1,key:2,orderWeight:3},{title:"Footprint",value:"Footprint",order:0,key:1,orderWeight:4},{title:"Value",value:"Value",order:0,key:1,orderWeight:5},{title:"Manufacturer Part",value:"Manufacturer Part",order:0,key:1,orderWeight:6},{title:"Manufacturer",value:"Manufacturer",order:0,key:1,orderWeight:7},{title:"Supplier Part",value:"Supplier Part",order:0,key:1,orderWeight:8},{title:"Supplier",value:"Supplier",order:0,key:1,orderWeight:9}]},pH=["Layer","Mounting Style"],W6t=["LCSC Stock","LCSC Price","JLCPCB Stock","JLCPCB Price"],LCr=["realTimePrice","realTimeStock"],vCr=["LCSC Stock","LCSC Price"];function c1e(t){let e=["Number","Quantity","Comment","Category","Primary Category","Secondary Category","Pin Count"];return Ko||(_t?e.push(...LCr):Nt?e.push(...vCr):e.push(...W6t)),t=="pcb"&&e.push(...pH),e}var d1e=["Comment","LCSC Stock","LCSC Price","JLCPCB Stock","JLCPCB Price","3D Model"],W8i=["Name","Designator","Unique ID","Add into BOM","Convert to PCB","Device","Symbol","Footprint","3D Model Title"],Q8i=["Supplier","Supplier Part","Manufacturer","Manufacturer Part","Value"];var K8i=["Statistics","Base","Key","More","Drawing"],Z8i=["search"];async function q8i(){let t=await n(),{message:e}=await C.messageBus.rpcCall("getSchematicSelectList"),i=t.concat(e),o,r=Zj();if(r){let a=e.find(s=>s.value===r);a?o=a.value:o=i[0].value}else o=i[0].value;return{list:i,value:o};async function n(){let a={value:"Project",text:"All Schematics"},s={value:"Current Page",text:"Current Page"},l={value:"Current Page Selected Items",text:"Current Page Selected Items"};if(dt()===se.SCH){let d=await ei();return(await C.messageBus.rpcCall("sch/hasSelected")).message?[a,s,l]:[a,s]}else return[a]}}async function X8i(){let t=await n(),{message:e}=await C.messageBus.rpcCall("getSimulationSelectList"),i=t.concat(e),o,r=eAi();if(r){let a=e.find(s=>s.value===r);a?o=a.value:o=i[0].value}else o=i[0].value;return{list:i,value:o};async function n(){let a={value:"Project",text:"All simulation"},s={value:"Current Page",text:"Current Page"},l={value:"Current Page Selected Items",text:"Current Page Selected Items"};if(dt()===se.NGSPICE||dt()===se.SIMULIDE){let d=await ei();return(await C.messageBus.rpcCall("sim/hasSelected")).message?[a,s,l]:[a,s]}else return[a]}}function Q6t(t,e=D8i){let i=e.reduce((o,r)=>(o.set(r.layerId,r),o),new Map);return t.reduce((o,r)=>{let{layerId:n,activeColor:a,layerName:s,status:l}=r;if(l!==0){let c=i.get(n);c?o.push({layerId:n,isMirror:c.isMirror,transparency:c.transparency,checked:vn(c.checked)?!0:c.checked,layerName:s,color:c.color||a}):o.push({layerId:n,isMirror:!1,transparency:0,checked:!1,layerName:s,color:a})}return o},[])}function $8i(t){return iue.map(e=>({...e,checked:t.includes(e.value)}))}async function RUe(){let t=mt.getCacheObj("PCB_PDF_PAGE")||v8i;return await Y6t(t)}var DCr=["TopPad","BottomPad","MultiPad","ComponentProperty","ComponentSilkscreen"],ECr=(t=[])=>{let e=[...t];return t.includes("TopPad")&&(e=e.concat(["ThroughHoleTopPad","SurfaceMountTopPad","IsolatedTopPad"])),t.includes("BottomPad")&&(e=e.concat(["ThroughHoleBottomPad","SurfaceMountBottomPad","IsolatedBottomPad"])),t.includes("MultiPad")&&(e=e.concat(["ThroughHoleMultiPad","IsolatedMultiPad"])),t.includes("ComponentProperty")&&(e=e.concat(["ThroughHoleComponentProperty","SurfaceMountComponentProperty"])),t.includes("ComponentSilkscreen")&&(e=e.concat(["ThroughHoleComponentSilkscreen","SurfaceMountComponentSilkscreen"])),e.filter(i=>!DCr.includes(i))};async function ACr(t,e){var r,n;let i=e+1,o={checked:!0,...t,pageNo:i};return o.checked!==!1&&(o.checked=!0),o.name in bI&&(o.name=me._context_i18n("exportDocument",bI[o.name])),o.specialFlag?(o.specialFlag==="BOM"&&!o.bomInfo&&(o.bomInfo=await kCr()),o.layer=[],o.object=[],o):(o.colorType=o.colorType||lD,o.layer=Q6t(XS.getInstance().pcbLayers,o.layer),o.object=ECr(o.object),o.background||(o.background={color:_e.HEX_WHITE_COLOR,checked:!0}),o.background.checked=!0,o.objectColor=o.objectColor||{},o.objectColor.NotAddIntoBomWithNcMark=(r=o.objectColor.NotAddIntoBomWithNcMark)!=null?r:j6t,o.objectColor.NotAddIntoBomWithXMark=(n=o.objectColor.NotAddIntoBomWithXMark)!=null?n:j6t,o)}function J8i(t){let e=t.specialFlag==="Top Auto Designator Placement"?TUe():SUe();return t.name=e.name,t.colorType=e.colorType,t.layer=e.layer,t.object=e.object,t}function NCr(t){let e=MUe();return t.name=e.name,t.colorType=e.colorType,t.layer=e.layer,t.object=e.object,t}async function Y6t(t=[]){let e=[],i=[],o,r,n;for(let s of t){if(s.specialFlag==="BOM"){if(n)continue;n=NCr(s)}else if(s.specialFlag==="Top Auto Designator Placement"){if(o)continue;o=J8i(s)}else if(s.specialFlag==="Bottom Auto Designator Placement"){if(r)continue;r=J8i(s)}i.push(s)}!o&&e.push(TUe()),!r&&e.push(SUe()),!n&&e.push(MUe());let a=e.concat(i);for(let s=0;s<a.length;s++)a[s]=await ACr(a[s],s);return a}async function kCr(t=he.getActiveTab()){var a,s,l,c;if(!t)return null;let e=(a=wr(t))==null?void 0:a[0],i=(c=(l=(s=await C.messageBus.rpcCall("getBOMNetListSelectList",t))==null?void 0:s.message)==null?void 0:l.rangePcbList)==null?void 0:c.find(d=>d.value===e);if(!i||i.env!=="pcb")return null;let{cloneTableKeys:o,userFilterCache:r}=(await C.messageBus.rpcCall("getExportBomData",{selectedFileInfo:i})).message;r.forEach(d=>{d.selected=!1});let n=o.length?o.map((d,u)=>(d.orderWeight=o.length-u,d)):yI.defTableKeys.map((d,u)=>(d.orderWeight=yI.defTableKeys.length-u,d));return{boardName:i.boardName,selectedId:i.value,ev:i.env,filterRules:r,tableAttrKeys:n}}async function jUe(){let t=XS.getInstance().variant,e=XS.getInstance().schematicId;if(t!=="basis")return await Cr("sch/getPcbPDFVariantAttr",{schematicId:e,variantUuid:t})}function Y8i(t,e){return t.customPage?t.customPage:[{name:e.slice(0,e.lastIndexOf(".")),layer:t.layer,object:t.object,objectColor:{},colorType:t.color||lD,background:void 0,pageNo:1,checked:!0}]}var BUe=t=>({getConfig(){return{...t,pdfWatermarkConfig:iy(C.watermarkConfig,"2"),customPdfWatermarkConfig:QJ(Zl.getInstance().getData(),"SCH"),imageWatermarkConfig:iy(C.watermarkConfig,"1")}},callback:(e,i)=>{C.messageBus.publish("progressClose"),e?(C.messageBus.rpcCall(Yo.LOG.SET,[{type:K6t(t.fileType),content:{"Scope Name":t.rangeText},project_uuid:C.currentProject.projectId}]),le.close()):C.windowBridge.publish("ui/toastMsg",{type:"error",msg:"Export Failed",bottomBarMsg:{type:"error",msg:`${t.fileType.substring(4,t.fileType.length).toLocaleUpperCase()} <span class="i18n" i18n="Export Failed:">Export Failed:</span>${i}`}},ko())}});async function iAi(t){await xl();let e=BUe(t),i;return C.messageBus.publish("sch/getExportFileData",{config:e.getConfig(),cb:(o,r)=>{e.callback(o,r),o&&(i=gSe(r.data,`${r.fileName}.${r.extension}`))}}),Promise.resolve(i)}async function oAi(t){await xl();let e=BUe(t);C.messageBus.publish("sch/exportFile",{config:e.getConfig(),cb:e.callback})}function K6t(t){if(t==="filePdf")return Nr.PDF_EXPORT;if(t==="fileImage")return Nr.PNG_EXPORT;if(t==="fileSVG")return Nr.SVG_EXPORT}async function Z6t(t){await xl(),C.messageBus.publish("sch/print",{config:{...t,pdfWatermarkConfig:iy(C.watermarkConfig,"2"),customPdfWatermarkConfig:QJ(Zl.getInstance().getData(),"SCH"),imageWatermarkConfig:iy(C.watermarkConfig,"1")},cb:e=>{C.messageBus.publish("progressClose"),e?C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.PRINT,content:{"Scope Name":t.rangeText},project_uuid:C.currentProject.projectId}]):C.windowBridge.publish("ui/toastMsg",{type:"error",msg:"Print Failed"},ko())}})}async function ySe(t,e=!0){await xl();let i=ue.deepClone(t.customPage);q6t(t);let o=await C.windowBridge.rpcCall("pcb/getExportFileData",{...t,fileType:"filePdf",pdfWatermarkConfig:iy(C.watermarkConfig,"2"),customPdfWatermarkConfig:QJ(Zl.getInstance().getData(),"PCB"),assemblyVariant:await jUe()},await Ra());return mt.setPcbPdfPage(i,e),o.message}async function rAi(t){await xl();let e=ue.deepClone(t.customPage);q6t(t),t={...t,fileType:"filePdf",pdfWatermarkConfig:iy(C.watermarkConfig,"2"),customPdfWatermarkConfig:QJ(Zl.getInstance().getData(),"PCB"),assemblyVariant:await jUe()},C.windowBridge.publish("pcb/exportFile",t,await Ra()),mt.setPcbPdfPage(e),C.messageBus.rpcCall(Yo.LOG.SET,[{type:K6t(t.fileType),content:{"Scope Name":t.rangeText},project_uuid:C.currentProject.projectId}]),le.close()}async function J6t(t){await xl();let e=ue.deepClone(t.customPage);q6t(t),t={...t,fileType:"printPDF",fileName:"",pdfWatermarkConfig:iy(C.watermarkConfig,"2"),customPdfWatermarkConfig:QJ(Zl.getInstance().getData(),"PCB"),assemblyVariant:await jUe()},C.windowBridge.publish("pcb/exportFile",t,await Ra()),mt.setPcbPdfPage(e),C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.PRINT,content:{"Scope Name":t.rangeText},project_uuid:C.currentProject.projectId}])}function nAi(t){zA((0,tAi.default)(document.body),async(e,i)=>{try{t(e,i)}catch{Ot("error",Ti("Import pdf config failed, Invalid Format."),void 0,!0)}})}function q6t(t){t.customPage=t.customPage.filter(e=>!!e.checked),t.customPage.forEach(e=>{var i,o;e.layer=(i=e.layer)==null?void 0:i.filter(r=>r.checked),e.background=(o=e.background)!=null&&o.checked?e.background:null})}async function aAi(t){await xl();let e=lAi(t);C.messageBus.publish("sim/exportFile",{config:e.getConfig(),cb:e.callback})}async function X6t(t){await xl(),C.messageBus.publish("sim/print",{config:{...t,pdfWatermarkConfig:iy(C.watermarkConfig,"2"),customPdfWatermarkConfig:QJ(Zl.getInstance().getData(),"SIMULATION"),imageWatermarkConfig:iy(C.watermarkConfig,"1")},cb:e=>{C.messageBus.publish("progressClose"),e?C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.PRINT,content:{"Scope Name":t.rangeText}}]):C.windowBridge.publish("ui/toastMsg",{type:"error",msg:"Print Failed"},ko())}})}async function sAi(t){await xl();let e=lAi(t),i;return C.messageBus.publish("sim/getExportFileData",{config:e.getConfig(),cb:(o,r)=>{e.callback(o,r),o&&(i=gSe(r.data,`${r.fileName}.${r.extension}`))}}),Promise.resolve(i)}var lAi=t=>({getConfig(){return{...t,pdfWatermarkConfig:iy(C.watermarkConfig,"2"),customPdfWatermarkConfig:QJ(Zl.getInstance().getData(),"SIMULATION"),imageWatermarkConfig:iy(C.watermarkConfig,"1")}},callback:(e,i)=>{C.messageBus.publish("progressClose"),e?(C.messageBus.rpcCall(Yo.LOG.SET,[{type:K6t(t.fileType),content:{"Scope Name":t.rangeText}}]),le.close()):C.windowBridge.publish("ui/toastMsg",{type:"error",msg:"Export Failed",bottomBarMsg:{type:"error",msg:`${t.fileType.substring(4,t.fileType.length).toLocaleUpperCase()} <span class="i18n" i18n="Export Failed:">Export Failed:</span>${i}`}},ko())}});function tq(t){if(!t.fileName)return!1;let e=t==null?void 0:t.customPage.filter(i=>i.checked);return!e||!e.length||e.some(i=>!i.specialFlag&&!$6t(i.layer,!1))?(zUe("Please check at least one layer that needs to be exported!"),!1):e.some(i=>!i.specialFlag&&!eIt(i.object,!1))?(zUe("Please check at least one object that needs to be exported!"),!1):!0}function zUe(t){De({type:"info",msg:t,timer:2})}function $6t(t,e=!0){let i=t==null?void 0:t.some(o=>o.checked);return i||e&&zUe("Please check at least one layer that needs to be exported!"),i}function eIt(t,e=!0){let i=!!(t!=null&&t.length);return i||e&&zUe("Please check at least one object that needs to be exported!"),i}function cAi(t,e=-1){var o,r;let i={checked:!0,pageNo:e+2,layer:[],object:[],name:PCr(t),colorType:((o=t[e])==null?void 0:o.colorType)||lD,background:{color:$re[((r=t[e])==null?void 0:r.colorType)||lD],checked:!0},objectColor:fU};t.splice(e+1,0,i),wSe(t)}function dAi(t,e=[]){let i=[];for(let o=0;o<t.length;o++)if(i.push(t[o]),e.includes(o)){let r=ue.deepClone(t[o]);r.name=r.name+"-copy",i.push(r)}return wSe(i),i}function uAi(t,e=[]){let i=t.filter((o,r)=>!e.includes(r));return t.length=0,wSe(i),i}function pAi(t,e){e.sort((i,o)=>i-o).forEach(i=>{[t[i-1],t[i]]=[t[i],t[i-1]]}),wSe(t)}function mAi(t,e){e.sort((i,o)=>o-i).forEach(i=>{[t[i+1],t[i]]=[t[i],t[i+1]]}),wSe(t)}function wSe(t){t.forEach((e,i)=>{e.pageNo=i+1})}function PCr(t){let e="new page",i=t.reduce((o,r)=>{if(/^new page \d+$/.test(r.name)){let n=r.name.split(" "),a=Number(n[n.length-1])+1;return a>o?a:o}return o},1);return`${e} ${i}`}var u1e=L(Se());var tIt=L(fAi());var FP=L(z());function OCr(t){Ae(tIt.default);let{locals:e}=tIt.default,i=be.bind(e),o=J(),[r,n]=(0,u1e.useState)(`Config_PDF_${ue.formatDate(new Date,"yyyy-MM-dd")}`);return(0,u1e.useEffect)(()=>{t.onUpdate(r)},[r]),(0,FP.jsx)("div",{className:i("gray-dialog-border"),children:(0,FP.jsx)("table",{className:i("reg-tab"),children:(0,FP.jsx)("tbody",{children:(0,FP.jsxs)("tr",{children:[(0,FP.jsx)("td",{"data-test":"File Name:",children:o("File Name:")}),(0,FP.jsx)("td",{children:(0,FP.jsxs)("div",{className:i("input-wrap"),children:[(0,FP.jsx)(Kt,{type:"text",value:r,onChange:n}),(0,FP.jsx)("span",{className:i("input-addon"),"data-test":".json",children:".json"})]})})]})})})})}var gAi=u1e.default.memo(OCr);var p1e=L(Se());var rIt=L(iIt());var RCr=["Top Layer","Bottom Layer","Top Silkscreen Layer","Bottom Silkscreen Layer","Top Solder Mask Layer","Bottom Solder Mask Layer","Top Paste Mask Layer","Bottom Paste Mask Layer","Top Assembly Layer","Bottom Assembly Layer","Board Outline Layer","Multi-Layer","Document Layer","Mechanical Layer","Hole Layer","Component Shape Layer","Component Marking Layer","Pin Soldering Layer","Pin Floating Layer","3D Shell Outline Layer","3D Shell Top Layer","3D Shell Bottom Layer","Drill Drawing Layer","Ratline Layer","Top Stiffener Layer","Bottom Stiffener Layer"];function Gm(t){let e=t;if(me.curr==="zh-hans"){if(RCr.includes(t))e=me.i18n(t);else if(/\.*(Inner)\d+/i.test(t)){let i=t.match(/\d+/i);i&&(e=me.i18n("Inner")+i[0])}else if(/\.*(Custom)(\d+$)/i.test(t)){let i=t.match(/\d+/i);i&&(e=me.i18n("Custom")+i[0])}}else/\.*Layer|-Layer\.*/i.test(e)&&(e=e.replace(/\.*Layer|-Layer\.*/i,"").trim());return e}var iq=class t extends qe{constructor(){super();this.parent=XS.getInstance();this.pageIndex=0;this.colorType=lD;this.background={checked:!0,color:$re[this.colorType]};this.layers=[];this.objects=[];this.objectColor={};this._forceRenderColorPicker=0;t._instance=this}static getInstance(){return this._instance||new t}get page(){return this.parent.pageConfig[this.pageIndex]}get backgroundRow(){return{layerId:-1,transparency:0,layerName:"Background",isMirror:!1,...this.background}}get bgAndLayers(){return[this.backgroundRow,...this.layers]}loadData(i){var o;this.pageIndex=i,this.colorType=this.page.colorType,this.background={...this.background,...this.page.background||{},checked:!0},this.layers=Q6t(this.parent.pcbLayers,this.page.layer),this.objects=$8i(this.page.object),this.objectColor=(o=this.page.objectColor)!=null?o:{}}unloadData(){this.pageIndex=-1,this.colorType=lD,this.background={checked:!0,color:$re[this.colorType]},this.layers=[],this.objects=[],this.objectColor={}}refreshView(){this.notify()}get forceRenderColorPicker(){return this._forceRenderColorPicker}set forceRenderColorPicker(i){this._forceRenderColorPicker=i>1e4?0:i}getDisplayLayerName(i){return i===this.backgroundRow.layerName?me.i18n(i):Gm(i)}getLayerDisabled(i){return this.backgroundRow.layerId===i}objectColorRestore(i){i in fU?this.objectColor[i]=fU[i]:delete this.objectColor[i]}layerColorRestore(i){if(i.layerId===-1)this.colorType==="Full Color"?this.background.color=this.parent.pcbCanvasColor:this.background.color=$re[this.colorType];else{let o=this.parent.pcbLayersMap.get(i.layerId);o&&(i.color=o.activeColor)}}};var yAi=L(iIt());var oIt=L(z()),_Cr=be.bind(yAi.default.locals),wAi=t=>{let{content:e="",objectColorKey:i,onChange:o,onRestore:r}=t,n=!1;e.length===0&&(n=!0);let a=n?"":e;return(0,oIt.jsx)("div",{className:_Cr("object-color-table-cell-color-pick"),children:(0,oIt.jsx)(vp,{defaultColor:a,color:a,allowNone:!0,restoreDefaultButton:!0,needRefresh:!1,inputStyle:{display:"none"},boxStyle:{width:"18px",height:"18px",borderRadius:"4px",backgroundImage:e?"":"url(data:image/gif;base64,R0lGODlhEAAQAIAAAP///9/f3yH5BAAHAP8ALAAAAAAQABAAAAIfjG+gq4jM3IFLJgpswNly/XkcBpIiVaInlLJr9FZWAQA7)"},onChange:(s,l,c)=>{if(c==="Restore")return r(i);let d=s;(!d||!(d+"").startsWith("#"))&&(d=""),o(i,d)}})})};var jl=L(z());function nIt(){Ae(rIt.default);let{locals:t}=rIt.default,e=be.bind(t),i=J(),[o,r]=(0,p1e.useState)(0),n=iq.getInstance();Ce(n);let a=p=>p===n.backgroundRow.layerId?n.backgroundRow:n.layers.find(m=>p===m.layerId),s=p=>d.find(m=>p===m.value),l=p=>{let m="",h=eue[p];if(h.every(g=>Reflect.ownKeys(n.objectColor).includes(g))){let g=[];h.forEach(y=>g.push(n.objectColor[y]));let b=g[0];g.every(y=>y===b)&&(m=b)}return m},c=p=>{var m;return tue.includes(p)?l(p):(m=n.objectColor[p])!=null?m:""},d=(0,p1e.useMemo)(()=>{let p=[],m=[],h=[],f=[],g=[];return n.objects.forEach(b=>{v7e.includes(b.value)&&p.push(b),xft.includes(b.value)&&m.push(b),Tft.includes(b.value)&&h.push(b),Sft.includes(b.value)&&f.push(b),Mft.includes(b.value)&&g.push(b)}),m.unshift({name:"Through-Hole Component",value:"ThroughHoleComponent",checked:m.every(b=>b.checked===!0)}),h.unshift({name:"Surface-Mount Component",value:"SurfaceMountComponent",checked:h.every(b=>b.checked===!0)}),f.unshift({name:"Others",value:"Others",checked:f.every(b=>b.checked===!0)}),g.unshift({name:"3D Shell",value:"3D Shell",checked:g.every(b=>b.checked===!0)}),p.concat(m,h,f,g)},[n.objects,o]),u=(p,m)=>{tue.includes(p)&&eue[p].forEach(h=>{n.objects.find(f=>f.value===h).checked=m})};return(0,jl.jsxs)("div",{className:e("container"),children:[(0,jl.jsxs)("div",{className:e("container-content"),children:[(0,jl.jsxs)("div",{className:e("export-row-container"),children:[(0,jl.jsx)("div",{className:e("export-column-container"),children:(0,jl.jsx)("span",{title:i("Color Config:"),children:i("Color Config:")})}),(0,jl.jsx)("div",{className:e("export-column-container"),style:{flexGrow:1},children:(0,jl.jsx)($i,{value:n.colorType,options:[{value:"Black on White",label:"Black on White"},{value:"White on Black",label:"White on Black"},{value:"Full Color",label:"Full Color"}],onChange:p=>{n.colorType=p,n.refreshView()}})})]}),(0,jl.jsxs)("div",{className:e("export-row-container"),children:[(0,jl.jsx)("div",{id:"exportPcbLayerGrid",style:{width:"244px",flexGrow:1},children:(0,jl.jsx)(xi,{resize:!1,height:400,index:"layerId",stockade:!0,border:!0,columns:[{key:"layerId",name:"",width:.35,render:p=>{let m=a(p.row.layerId),h=n.getDisplayLayerName(m.layerName);return(0,jl.jsxs)(jl.Fragment,{children:[(0,jl.jsx)(qt,{disabled:n.getLayerDisabled(m.layerId),style:{marginRight:"4px"},checked:m.checked,onChange:f=>{p.row.layerId===n.backgroundRow.layerId?n.background.checked=f:m.checked=f,n.refreshView()}}),(0,jl.jsx)("span",{title:h,children:h})]})},nameRender:()=>(0,jl.jsxs)(jl.Fragment,{children:[(0,jl.jsx)(qt,{checked:n.bgAndLayers.every(p=>p.checked),style:{marginRight:"4px"},onChange:p=>{n.layers.forEach(m=>{n.getLayerDisabled(m.layerId)||(m.checked=p)}),n.refreshView()}}),i("Export Layer")]})},{key:"color",name:i("Color"),width:.25,render:p=>{let m=a(p.row.layerId),h;switch(n.colorType){case"Black on White":{h=m.layerId===-1?"#FFFFFF":"#000000";break}case"White on Black":{h=m.layerId===-1?"#000000":"#FFFFFF";break}default:{h=m.color;break}}return(0,jl.jsx)(jl.Fragment,{children:(0,jl.jsx)(vp,{onChange:(f,g,b)=>{b==="Restore"?(n.layerColorRestore(m),n.refreshView()):m.layerId===-1?n.background.color=f:m.color=f},disabled:["Black on White","White on Black"].includes(n.colorType),color:h.toLocaleUpperCase(),allowNone:!1,restoreDefaultButton:!0,needRefresh:!1,forceRender:n.forceRenderColorPicker++})})}},{key:"isMirror",name:"",width:.2,render:p=>{let m=a(p.row.layerId);return(0,jl.jsx)(qt,{disabled:!m.checked||n.getLayerDisabled(m.layerId),checked:m.isMirror,onChange:h=>{m.isMirror=h,n.refreshView()}})},nameRender:()=>(0,jl.jsxs)(jl.Fragment,{children:[(0,jl.jsx)(qt,{disabled:!n.layers.some(p=>p.checked),checked:n.layers.every(p=>p.isMirror||!p.checked)&&n.layers.some(p=>p.checked),style:{marginRight:"4px"},onChange:p=>{n.layers.forEach(m=>{m.isMirror=p}),n.refreshView()}}),i("Mirror")]})},{key:"transparency",name:i("Transparency(%)"),width:.2,render:p=>{let m=a(p.row.layerId);return(0,jl.jsx)(Kt,{type:"number",value:String(m.transparency),disabled:n.getLayerDisabled(m.layerId),onChange:(h,f)=>{let g=Number(h);m.transparency=g,n.refreshView()},style:{width:"calc(100% - 12px)"},onBlur:h=>{m.transparency>100?m.transparency=100:(m.transparency<0||Number.isNaN(m.transparency))&&(m.transparency=0),n.refreshView()}})}}],rows:n.bgAndLayers})}),(0,jl.jsx)("div",{id:"exportPcbObjectGrid",style:{width:"200px",flexGrow:1},children:d.length>0&&(0,jl.jsx)(xi,{resize:!1,height:400,index:"value",stockade:!0,border:!0,columns:[{key:"value",name:"",width:.7,render:p=>{let m=s(p.row.value);return(0,jl.jsxs)(jl.Fragment,{children:[(0,jl.jsx)(qt,{className:e("exportPcbObjectGrid-checkbox",{group:!tue.includes(m.value)}),checked:m.checked,onChange:h=>{m.checked=h,u(m.value,h),r(f=>f+1)}}),i({context:"exportDocument",value:m.name})]})},nameRender:()=>(0,jl.jsxs)(jl.Fragment,{children:[(0,jl.jsx)(qt,{checked:n.objects.every(p=>p.checked),style:{marginRight:"4px"},onChange:p=>{n.objects.forEach(m=>{m.checked=p}),r(m=>m+1)}}),i("Export Object")]})},{key:"color",name:i("Color"),width:.3,render:p=>{let m=c(p.row.value);return(0,jl.jsxs)("div",{className:e("object-color-table-cell"),children:[(0,jl.jsx)(wAi,{content:m,objectColorKey:p.row.value,onChange:(h,f)=>{tue.includes(h)?eue[h].forEach(g=>{n.objectColor[g]=f}):n.objectColor[h]=f,n.refreshView()},onRestore:h=>{tue.includes(h)?eue[h].forEach(f=>{n.objectColorRestore(f)}):n.objectColorRestore(h),n.refreshView()}}),(0,jl.jsx)("div",{className:e("object-color-table-cell-text"),children:m||i("Follow Layer")})]})}}],rows:d})})]})]}),(0,jl.jsxs)("div",{className:e("container-footer"),children:[(0,jl.jsx)("div",{className:e("container-footer-left"),children:(0,jl.jsx)(Me,{onClick:async()=>{let p=n.parent.pcbLayersMap;n.layers.forEach(h=>{let f=p.get(h.layerId);h.color=f.activeColor,h.transparency=100-f.activeColorAlpha*100,h.checked=f.status===1}),n.background.color=n.parent.pcbCanvasColor;let m=await Pt(kt.Pcb.GetExportObjects);n.objects.forEach(h=>{h.checked=m.includes(h.value)}),r(h=>h+1),n.refreshView()},children:"Copy from PCB"})}),(0,jl.jsxs)("div",{className:e("container-footer-right"),children:[(0,jl.jsx)(Me,{onClick:()=>{le.close(mSe)},children:"Cancel"}),(0,jl.jsx)(Me,{type:"primary",onClick:async()=>{!$6t(n.layers)||!eIt(n.objects.filter(p=>p.checked).map(p=>p.value))||(n.page.background={...n.background},n.page.layer=n.layers,n.page.object=n.objects.filter(p=>p.checked).map(p=>p.value),n.page.objectColor=n.objectColor,n.page.colorType=n.colorType,n.parent.refreshView(),le.close(mSe))},children:i("Confirm")})]})]})]})}var ius=p1e.default.memo(nIt);var sIt=L(Se());var lIt=L(W5t()),m1e=L(z()),{locals:jCr}=lIt.default,aIt=be.bind(jCr),BCr=t=>{let{title:e,children:i,contentClassName:o,contentStyle:r={},titleStyle:n={},className:a,style:s={}}=t;Ae(lIt.default);let l=J(),c=!!e;return(0,m1e.jsx)("div",{className:be(aIt("fieldset",{"no-title":!c}),a),style:{...s},children:(0,m1e.jsxs)("div",{className:be(o,aIt("fieldset-content")),style:{...r},children:[c&&(0,m1e.jsx)("div",{className:aIt("fieldset-title"),style:{...n},children:sIt.default.isValidElement(e)?e:(0,m1e.jsx)("span",{children:l(e)})}),n_(i,{},!0)]})})},FA=sIt.default.memo(BCr);var dIt=L(xAi());var Jj=L(Se());var MAi=L(Hr()),cIt=L(SAi());var GUe=L(z());function zCr({list:t,value:e,onChange:i},o){let r=(0,Jj.useRef)(document.createElement("div")),n=(0,Jj.useRef)(null),a=(0,Jj.useRef)(null);Ae(cIt.default);let{locals:s}=cIt.default,l=be.bind(s);(0,Jj.useEffect)(()=>()=>{r.current.remove()},[]),Gs("resize",()=>{d()}),Gs("scroll",()=>{d()}),Gs("focusin",p=>{p.target===a.current?!r.current.parentElement&&c():r.current.contains(p.target)||r.current.parentElement&&u()}),Gs("mousedown",p=>{r.current.parentElement&&!r.current.contains(p.target)&&!a.current.contains(p.target)&&u()}),(0,Jj.useImperativeHandle)(o,()=>a.current);function c(){n.current=(0,MAi.createRoot)(r.current),a.current.value=e,a.current.select(),document.body.appendChild(r.current),d()}function d(){let p=a.current.getBoundingClientRect(),m=p.width,h=p.left,f=p.top+p.height;n.current.render((0,GUe.jsx)(FCr,{list:t,left:h,width:m,top:f,onSelect:g=>{let{selectionStart:b,selectionEnd:y}=a.current,w=b+g.length,S=a.current.value.split(""),T=y-b>0?y-b:0;S.splice(b,T,g),S=S.join(""),a.current.value=S,a.current.setSelectionRange(w,w)}}))}function u(){n.current.unmount(),document.body.removeChild(r.current),i(a.current.value),a.current.value=oq(a.current.value)}return(0,GUe.jsx)("input",{className:l("input"),ref:a,defaultValue:r.current.parentElement?e:oq(e),onFocus:p=>{p.target.select()},onKeyDown:p=>{var m;if(p.code==="Enter"&&p.nativeEvent.isComposing){p.stopPropagation();return}p.key==="Enter"&&((m=a.current)==null||m.blur(),u())}})}var rq=(0,Jj.forwardRef)(zCr);function oq(t){let e=o(t),i=t;for(let r=0;r<e.length;r++)i=i.replace(e[r],me.i18n(e[r]));return i;function o(r){let n=/\{([^\}]+)\}/g,a=[],s=[];for(;a=n.exec(r);)s.push(a[1]);return s}}function FCr({list:t,left:e,top:i,width:o,onSelect:r}){return(0,GUe.jsx)(j2,{style:{position:"fixed",left:e,top:i,width:o,boxShadow:"0 0 5px rgba(0, 0, 0, calc(var(--has-shadow-drop-down-menu) * 0.2)",marginTop:"2px",overflow:"hidden",padding:"4px",boxSizing:"border-box",zIndex:"9999",background:"var(--bg-color-drop-down-menu)"},value:"",positionFixed:!1,selectList:t,translateOption:{deleteBrace:!0},selectAlwaysShow:!0,clickSelectItemNotSetInput:!0,selectListStyle:{position:"static",boxShadow:"none",width:"calc(100% - 4px)"},onSelectItemClick:n=>{r(n)}})}var Wd=L(z());function h1e(){Ae(dIt.default);let{locals:t}=dIt.default,e=be.bind(t),i=J(),o=Zl.getInstance(),{unit:r,fontSizeView:n,fontFamily:a,density:s,angle:l}=o;return Ce(o),(0,Wd.jsxs)("div",{className:e("container"),children:[(0,Wd.jsxs)("div",{className:e("item"),children:[(0,Wd.jsxs)("div",{className:e("item-label"),children:[i("Content"),":"]}),(0,Wd.jsx)("div",{className:e("item-content"),children:(0,Wd.jsx)(rq,{list:Object.values(cH),value:o.content,onChange:c=>{o.content=c,o.refreshView()}})})]}),(0,Wd.jsxs)("div",{className:e("item"),children:[(0,Wd.jsxs)("div",{className:e("item-label"),children:[i("Color"),":"]}),(0,Wd.jsx)("div",{className:e("item-content"),children:(0,Wd.jsx)(vp,{onChange:c=>{o.color=c,o.refreshView()},color:o.color.toLocaleUpperCase(),allowNone:!1,restoreDefaultButton:!1,needRefresh:!1,forceRender:o.forceRenderColorPicker++})})]}),(0,Wd.jsxs)("div",{className:e("item"),children:[(0,Wd.jsxs)("div",{className:e("item-label"),children:[i("Transparency"),":"]}),(0,Wd.jsx)("div",{className:e("item-content"),children:(0,Wd.jsx)(xt,{value:o.opacity,list:B6t.map(c=>({value:c,text:1-c?(1-c)*100+"%":"Opaque"})),onChange:c=>{o.opacity=Number(c),o.refreshView()}})})]}),(0,Wd.jsxs)("div",{className:e("item"),children:[(0,Wd.jsxs)("div",{className:e("item-label"),children:[i("Font"),":"]}),(0,Wd.jsx)("div",{className:e("item-content"),children:(0,Wd.jsx)(xt,{value:a,list:W3([...F6t]),onChange:c=>{o.fontFamily=c,o.refreshView()}})})]}),(0,Wd.jsxs)("div",{className:e("item"),children:[(0,Wd.jsxs)("div",{className:e("item-label"),children:[i("Font Size"),":"]}),(0,Wd.jsx)("div",{className:e("item-content"),children:(0,Wd.jsx)(or,{value:n,originUnit:r,inputUnit:r,onChange:c=>{o.fontSize={unit:r,value:Number(c)},o.refreshView()}})})]}),(0,Wd.jsxs)("div",{className:e("item"),children:[(0,Wd.jsxs)("div",{className:e("item-label"),children:[i("Style"),":"]}),(0,Wd.jsx)("div",{className:e("item-content"),children:(0,Wd.jsx)(J_,{underline:o.underline,fontWeight:o.isBold,italic:o.isItalic,onChange:c=>{let{underline:d=o.underline,fontWeight:u=o.isBold,italic:p=o.isItalic}=c;o.underline=d,o.isBold=u,o.isItalic=p,o.refreshView()}})})]}),(0,Wd.jsxs)("div",{className:e("item"),children:[(0,Wd.jsxs)("div",{className:e("item-label"),children:[i("Slope"),":"]}),(0,Wd.jsx)("div",{className:e("item-content"),children:(0,Wd.jsx)(xt,{value:l,list:z6t.map(c=>({value:c,text:c+"\xB0"})),onChange:c=>{o.angle=c,o.refreshView()}})})]}),(0,Wd.jsxs)("div",{className:e("item"),children:[(0,Wd.jsxs)("div",{className:e("item-label"),children:[i("Denseness"),":"]}),(0,Wd.jsx)("div",{className:e("item-content"),children:(0,Wd.jsx)($i,{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"16px"},value:String(s),options:[{value:String("0"),label:(0,Wd.jsx)("span",{children:i({value:"Single",context:"exportDocument"})})},{value:String("3"),label:"Sparse"},{value:String("2"),label:"Std"},{value:String("1"),label:"Dense"}],onChange:c=>{o.density=c,o.refreshView()}})})]})]})}function UA(){let t=Zl.getInstance();y1(LUe,JSON.stringify(t.getData())),le.close(BP)}var IAi=L(hS());var UCr=t=>t.replace(/[\\\/:*?"<>|;]+/g," ").replace(/\s\s+/g," ").trim().replace(/ /g,"_");function VA(t){let e;switch(t){case"Global":e=qj("Manufacture");break;case"Gerber":e=qj("Gerber");break;case"BOM":e=qj("BOM");break;case"Coordinate File":e=qj("PickAndPlace");break;case"3D File":e=qj("3D");break;case"DXF":e=qj("DXF");break;case"PDF":e=qj("PDF");break;case"ODB++":e=qj("odb++");break;case"Netlist":e=qj("Netlist");break;case"Test Point Report":e=qj("TestPoint");break}return e}function qj(t){let e=G0();e=UCr(e);let i=ue.formatDate(new Date,"yyyy-MM-dd"),o;switch(t){case"TestPoint":case"Netlist":case"PDF":case"DXF":case"3D":case"PickAndPlace":case"Manufacture":case"Gerber":o=`${t}_${e}_${i}`;break;case"BOM":let r=gi(),n=VCr(wr(r)[0]);o=`${t}${n?"_"+n:""}_${e}_${i}`;break;case"odb++":o=`${t}_pcb_${i}`;break}return o}function VCr(t){let e;return C.messageBus.publish("syncGetBoardNameByPcb",{pcbId:t,cb:i=>{e=i}}),e}var uIt=class extends qe{constructor(){super();this._globalFileName="";this._gerberFileName="";this._bomFileName="";this._coordinateFileName="";this._d3FileName="";this._dxfFileName="";this._pdfFileName="";this._odbFileName="";this._netListFileName="";this._textPointFileName="";this._typeArr=["Gerber","BOM","Coordinate File","3D File","DXF","PDF","ODB++","Netlist","Test Point Report"];this._fileConfigMap=new Map;this._filesMap=new Map;this._pcbFileNameMap=new Map;this._expectedFileCount=0;this.isNeedReturnFiles=!1;this.returnsFile=void 0}async init(){this.initFileTitle(),this.initTableData()}initFileTitle(){this.globalFileName=this.getFileCache("Global")||VA("Global"),this.gerberFileName=this.getFileCache("Gerber")||VA("Gerber"),this.bomFileName=this.getFileCache("BOM")||VA("BOM"),this.coordinateFileName=this.getFileCache("Coordinate File")||VA("Coordinate File"),this.d3FileName=this.getFileCache("3D File")||VA("3D File"),this.dxfFileName=this.getFileCache("DXF")||VA("DXF"),this.pdfFileName=this.getFileCache("PDF")||VA("PDF"),this.odbFileName=this.getFileCache("ODB++")||VA("ODB++"),this.netListFileName=this.getFileCache("Netlist")||VA("Netlist"),this.testPointFileName=this.getFileCache("Test Point Report")||VA("Test Point Report")}setFileCache(i,o){let r=wa();if(this._pcbFileNameMap.has(r)){let n=this._pcbFileNameMap.get(r);n[i]=o}else this._pcbFileNameMap.set(r,{[i]:o})}getFileCache(i){let o=wa();return this._pcbFileNameMap.has(o)?this._pcbFileNameMap.get(o)[i]:null}initTableData(){let i=this.getFileCache("TableData");if(i)this.tableData=i;else{let o=this._typeArr.map(r=>({checked:!0,fileType:r,fileName:this.getFileNameForType(r)}));this.tableData=o}}getFileNameForType(i){let o="";switch(i){case"Gerber":o=this._gerberFileName;break;case"BOM":o=this._bomFileName;break;case"Coordinate File":o=this._coordinateFileName;break;case"3D File":o=this._d3FileName;break;case"DXF":o=this._dxfFileName;break;case"PDF":o=this._pdfFileName;break;case"ODB++":o=this._odbFileName;break;case"Netlist":o=this._netListFileName;break;case"Test Point Report":o=this._textPointFileName;break}return o}getFileTypeForName(i){let o="";switch(i){case this.gerberFileName:o="Gerber";break;case this.bomFileName:o="BOM";break;case this.coordinateFileName:o="Coordinate File";break;case this.d3FileName:o="3D File";break;case this.dxfFileName:o="DXF";break;case this.pdfFileName:o="PDF";break;case this.odbFileName:o="ODB++";break;case this.netListFileName:o="Netlist";break;case this.testPointFileName:o="Test Point Report";break}return o}setFileNameForType(i,o){switch(i){case"Gerber":this.gerberFileName=o;break;case"BOM":this.bomFileName=o;break;case"Coordinate File":this.coordinateFileName=o;break;case"3D File":this.d3FileName=o;break;case"DXF":this.dxfFileName=o;break;case"PDF":this.pdfFileName=o;break;case"ODB++":this.odbFileName=o;break;case"Netlist":this.netListFileName=o;break;case"Test Point Report":this.testPointFileName=o;break}}set globalFileName(i){this._globalFileName=i,this.setFileCache("Global",i)}get globalFileName(){return this._globalFileName}set gerberFileName(i){this._gerberFileName=i,this.setFileCache("Gerber",i)}get gerberFileName(){return this._gerberFileName}set bomFileName(i){this._bomFileName=i,this.setFileCache("BOM",i)}get bomFileName(){return this._bomFileName}set coordinateFileName(i){this._coordinateFileName=i,this.setFileCache("Coordinate File",i)}get coordinateFileName(){return this._coordinateFileName}set d3FileName(i){this._d3FileName=i,this.setFileCache("3D File",i)}get d3FileName(){return this._d3FileName}set dxfFileName(i){this._dxfFileName=i,this.setFileCache("DXF",i)}get dxfFileName(){return this._dxfFileName}set pdfFileName(i){this._pdfFileName=i,this.setFileCache("PDF",i)}get pdfFileName(){return this._pdfFileName}set odbFileName(i){this._odbFileName=i,this.setFileCache("ODB++",i)}get odbFileName(){return this._odbFileName}set netListFileName(i){this._netListFileName=i,this.setFileCache("Netlist",i)}get netListFileName(){return this._netListFileName}set testPointFileName(i){this._textPointFileName=i,this.setFileCache("Test Point Report",i)}get testPointFileName(){return this._textPointFileName}setTableDataItem(i,o,r){for(let n of this._tableData)n.fileType==i&&(n[o]=r);this.notify()}set tableData(i){this._tableData=i,this.setFileCache("TableData",i),this.notify()}get tableData(){return this._tableData}getSelectedData(){return this._tableData.filter(i=>i.checked)}startExport(){this._expectedFileCount=this.getSelectedData().length}async setFilesMap(i){let o=this._expectedFileCount;for(let r in i){let n=i[r];this._filesMap.set(r,n)}this._filesMap.size<o?vt(this._filesMap.size/o,"One Click Export"):(await this.download(),this.resetExport(),vt(1,"One Click Export"))}resetExport(){this._filesMap=new Map,this._expectedFileCount=0}async download(){rr.isNeedReturnFiles||le.destroyAll();let i=new IAi.default,o=[];for(let[r,n]of this._filesMap){if(!n){o.push(this.getFileTypeForName(r));continue}let{fileContent:a,fileType:s}=n,l=s?`${r}.${s}`:r;i.file(l,a,{binary:!0})}o.length&&De({type:"error",msg:"Some Files export Failed!",bottomBarMsg:{type:"error",msg:Ti("{files}File Export failed!",{params:{files:o.join("\u3001")}})}}),o.length!=this.getSelectedData().length&&(mt.saveToServer(),await i.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:6}}).then(function(r){let n=rr.globalFileName;rr.isNeedReturnFiles?rr.returnsFile=new File([r],n):wi?Yme(r,n,"zip"):N2.downloadFile(`${n}.zip`,r)}))}get filesMap(){return this._filesMap}setFileConfigMap(i){let{type:o,valData:r}=i;r.fileName||(r.fileName=this.getFileCache(o)||VA(o)),this._fileConfigMap.get(o)?Object.assign(this._fileConfigMap.get(o),r):this._fileConfigMap.set(o,r),this.setFileNameForType(o,r.fileName),this.setTableDataItem(o,"fileName",r.fileName)}get fileConfigMap(){return this._fileConfigMap}clearFileData(){this._globalFileName=null,this._gerberFileName=null,this._bomFileName=null,this._coordinateFileName=null,this._d3FileName=null,this._dxfFileName=null,this._pdfFileName=null,this._odbFileName=null,this._netListFileName=null,this._textPointFileName=null,this._tableData=null}deleteExportCache(i){this._pcbFileNameMap.has(i)&&this._pcbFileNameMap.delete(i),this._pcbFileNameMap.size||(this._pcbFileNameMap=new Map),this._fileConfigMap=new Map}clearConfigCache(){this._fileConfigMap.forEach((i,o)=>{i={fileName:i.fileName},this._fileConfigMap.set(o,i)})}},rr=new uIt;var _n=L(z());function HCr(t){var y,w,x,S,T;Ae(pIt.default);let{locals:e}=pIt.default,i=be.bind(e),o=J(),r=XS.getInstance(),n=(0,Xj.useRef)(null),[a,s]=(0,Xj.useState)(!1),[l,c]=(0,Xj.useState)(r.title);Ce(r);let{isPrint:d}=t,u="";(0,Xj.useEffect)(()=>{var M;((M=t.originInfo)==null?void 0:M.hide)!==void 0&&m(t.originInfo)},[]),(y=t.originInfo)!=null&&y.hide&&(le.hide("dlgExport"),(0,Xj.useEffect)(()=>{a&&p()},[a]));let p=Gr(async()=>{let M=r.exportConfig;if(!tq(M)){await h(null);return}try{let I=await ySe(M,!1);if(I){let A={fileContent:I.data,fileType:I.extension};await h(A),C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.PDF_EXPORT,content:{"Scope Name":M.rangeText},project_uuid:C.currentProject.projectId}])}else await h(null)}catch(I){console.error("PDF export error:",I),await h(null)}},100),m=Gr(M=>{M!=null&&M.fileName&&(r.title=M==null?void 0:M.fileName,c(M==null?void 0:M.fileName)),M!=null&&M.method&&(r.method=M==null?void 0:M.method),(M==null?void 0:M.showAttrMenu)!==void 0&&(r.showAttrMenu=M==null?void 0:M.showAttrMenu),(M==null?void 0:M.onlyExportOutline)!==void 0&&(r.onlyExportOutline=M==null?void 0:M.onlyExportOutline),(M==null?void 0:M.waterMarkShow)!==void 0&&(Zl.getInstance().show=M==null?void 0:M.waterMarkShow),(M==null?void 0:M.waterMarkContent)!==void 0&&(Zl.getInstance().content=M==null?void 0:M.waterMarkContent),M==null||M.variant,(M==null?void 0:M.pageConfig)!==void 0&&(r.pageConfig=M==null?void 0:M.pageConfig),r.refreshView(),s(!0)},100),h=async M=>{await rr.setFilesMap({[rr.pdfFileName]:M}),le.close("dlgExport")},f=M=>{var I;if(((I=M.clickObj)==null?void 0:I.colKey)===""){let A=r.pageConfig.find(D=>M.row.pageNo===D.pageNo);A.checked=!A.checked}r.selectedPageIndexes=M.selectedRowNumbers.sort((A,D)=>A-D),r.refreshView()};HA(()=>{d&&RUe().then(M=>{J6t({fileName:"",language:me.curr,pageSet:"paged",needMenu:!0,needAnnot:!1,onlyShowStroke:!1,customPage:M,rangeText:G0()})})},[d]);let g=Gr(_b(async()=>{let M=r.exportConfig;if(!tq(M))return;let I=await ySe(M);I&&await gSe(I.data,`${I.fileName}.${I.extension}`)&&le.close()}),100),b=M=>{let I=M.replaceAll(/[/\\:*?"<>|]/g,"");return I.length!==M.length&&De({type:"warn",msg:o('Input of \\ / : * ? " < > | is not supported')}),I.length>255?(De({type:"warn",msg:"The typing cannot over 255 charaters."}),I.slice(0,255)):I};return(0,_n.jsxs)("div",{className:i("container"),children:[(0,_n.jsx)("div",{className:i("gray-dialog-border"),children:(0,_n.jsxs)("div",{className:i("export-row-container"),children:[(0,_n.jsx)("div",{className:i("export-column-container"),children:(0,_n.jsx)("span",{title:o("File Name:"),children:o("File Name:")})}),(0,_n.jsx)("div",{className:i("export-column-container"),children:(0,_n.jsx)(Kt,{value:l,onChange:M=>{r.title=M,c(r.title)},onBlur:M=>{let I=b(M.target.value);r.title=I,c(r.title)},style:{height:"22px"}})})]})}),(0,_n.jsxs)("div",{className:i("gray-dialog-border"),children:[(0,_n.jsxs)("div",{className:i("export-row-container"),children:[(0,_n.jsx)("div",{className:i("export-column-container"),children:(0,_n.jsx)("span",{title:o("Output Method:"),children:o("Output Method:")})}),(0,_n.jsx)("div",{className:i("export-column-container"),children:(0,_n.jsx)($i,{value:r.method,options:[{value:"paged",label:"A Multi Page PDF",title:o("Output each configuration's different layers onto the same page and merge them into a single PDF file.")},{value:"separated",label:"Multiple Single Page PDF",title:o("Output different layers of each configuration onto separate pages in PDF format, then package the different PDF files from each configuration into a single compressed file. If multiple configurations are selected, multiple compressed files will be output.")},{value:"merged",label:"A Single Page PDF",title:o("Output the different layers of each configuration into a single-page PDF. If multiple configurations are selected, they will be packaged into a single compressed file.")}],onChange:M=>{M!==r.method&&(r.method=M,"paged",r.refreshView())}})})]}),(0,_n.jsxs)("div",{className:i("export-row-container"),children:[(0,_n.jsx)("div",{className:i("export-column-container"),children:(0,_n.jsx)("span",{title:o("Content Config"),children:o("Content Config")})}),(0,_n.jsxs)("div",{className:i("export-column-container"),style:{display:"grid",gridTemplateColumns:"2fr 1fr",columnGap:"32px"},children:[(0,_n.jsxs)("label",{className:i("checkbox-container"),children:[(0,_n.jsx)(qt,{checked:r.showAttrMenu,style:{marginRight:"4px"},onChange:M=>{r.showAttrMenu=M,r.refreshView()}}),(0,_n.jsx)("span",{title:o("Display attributes as menu"),children:o("Display attributes as menu")})]}),(0,_n.jsxs)("label",{className:i("checkbox-container"),children:[(0,_n.jsx)(qt,{checked:r.onlyExportOutline,style:{marginRight:"4px"},onChange:M=>{r.onlyExportOutline=M,r.refreshView()}}),(0,_n.jsx)("span",{title:o("Show outline only"),children:o("Show outline only")})]})]})]}),(0,_n.jsxs)("div",{className:i("export-row-container"),style:{display:_t||Fn?"block":"none"},children:[(0,_n.jsx)("div",{className:i("export-column-container"),children:(0,_n.jsx)("span",{title:o("Watermark:"),children:o("Watermark:")})}),(0,_n.jsxs)("div",{className:i("export-column-container watermark-cell"),children:[(0,_n.jsxs)("label",{className:i("checkbox-container"),children:[(0,_n.jsx)(qt,{checked:Zl.getInstance().show,style:{marginRight:"4px"},onChange:M=>{Zl.getInstance().show=M,UA(),r.refreshView()}}),(0,_n.jsx)("span",{title:o("Show"),children:o("Show")})]}),(0,_n.jsx)(rq,{list:Object.values(cH),value:Zl.getInstance().content,onChange:M=>{Zl.getInstance().content=M,UA(),r.refreshView()},ref:n}),(0,_n.jsx)("a",{onClick:()=>{le.open({id:BP,title:o1e,esc:!0,closed:!0,remove:!0,width:380,children:(0,_n.jsx)(h1e,{}),footer:!0,onOk:()=>{UA(),r.refreshView(),n.current.value=oq(Zl.getInstance().content)},onClose:()=>{Zl.getInstance().setData()},onCancel:()=>{Zl.getInstance().setData(),le.close(BP)}})},children:o("Style Settings")})]})]}),r.variantList.length>1&&(0,_n.jsxs)("div",{className:i("export-row-container"),children:[(0,_n.jsx)("div",{className:i("export-column-container"),children:(0,_n.jsxs)("span",{title:o("Assembly Variants"),children:[o("Assembly Variants"),":"]})}),(0,_n.jsx)("div",{className:i("export-column-container"),children:(0,_n.jsx)(xt,{containerStyle:{width:"100%"},optionsAutoWidth:!0,list:r.variantList,value:r.variant,onChange:M=>{r.variant=M,r.refreshView()}})})]})]}),(0,_n.jsxs)(FA,{title:o("Graph Page Config"),contentStyle:{display:"flex",flexDirection:"column",gap:"8px",alignSelf:"flexStart",minHeight:"295px"},children:[(0,_n.jsx)(ec,{copyButton:!0,copyDisabled:r.copyDisabled,addDisabled:r.addPageDisabled,upDisabled:r.upPageDisabled,downDisabled:r.downPageDisabled,deleteDisabled:r.deletePageDisabled,onClick:M=>{switch(M){case"add":{cAi(r.pageConfig),r.pageConfig=[...r.pageConfig],r.selectedPageIndexes=[0],r.refreshView();break}case"copy":{if(r.selectedPageIndexes.length+r.pageConfig.length>i1e)return De({type:"warn",msg:"There are too many existing configurations. Please delete some before adding new ones."});r.pageConfig=dAi(r.pageConfig,r.selectedPageIndexes);let I=1;r.selectedPageIndexes=r.selectedPageIndexes.map(A=>A+I++),r.refreshView();break}case"up":{pAi(r.pageConfig,r.selectedPageIndexes),r.selectedPageIndexes=r.selectedPageIndexes.map(I=>I-1),r.refreshView();break}case"down":{mAi(r.pageConfig,r.selectedPageIndexes),r.selectedPageIndexes=r.selectedPageIndexes.map(I=>I+1),r.refreshView();break}case"delete":{r.pageConfig=uAi(r.pageConfig,r.selectedPageIndexes),r.selectedPageIndexes=[],r.refreshView();break}}}}),(0,_n.jsx)(xi,{resize:!1,index:"pageNo",height:258,multiSelect:!0,columns:[{key:"pageNo",name:o("No."),width:50},{key:"",name:"",width:120,render:M=>(0,_n.jsx)(qt,{checked:M.row.checked,onChange:I=>{let A=r.pageConfig.find(D=>M.row.pageNo===D.pageNo);A.checked=I}}),nameRender:()=>(0,_n.jsxs)(_n.Fragment,{children:[(0,_n.jsx)("span",{}),(0,_n.jsx)(qt,{checked:r.pageConfig.every(M=>M.checked),style:{marginRight:"4px"},onChange:M=>{r.pageConfig.forEach(I=>{I.checked=M}),r.refreshView()}}),o("Export")+"("+r.pageConfig.filter(M=>M.checked).length+"/"+r.pageConfig.length+")"]}),onClick:M=>{if(M===""){let I=r.pageConfig.every(A=>A.checked);r.pageConfig.forEach(A=>{A.checked=!I}),r.refreshView()}}},{key:"name",name:o("PDF Page Name/Config"),width:1,editable:!0,render:M=>{var N;let I=r.pageConfig[M.rowNumber];if(!I)return(0,_n.jsx)(_n.Fragment,{});let A=I.colorType,D=A==="Black on White"?"icon-eda-pdf1":A==="Full Color"?"icon-eda-pdf-1":"icon-eda-pdf-2",E=((N=M==null?void 0:M.row)==null?void 0:N.specialFlag)==null;return(0,_n.jsxs)("div",{style:{display:"flex",gap:"8px",alignItems:"center"},children:[(0,_n.jsx)("span",{className:i(D+" icon")}),(0,_n.jsx)("span",{className:i("content-editable"),suppressContentEditableWarning:!0,contentEditable:E,onKeyUp:R=>{R.key==="Enter"&&R.target.blur()},onBlur:R=>{let v=b(R.target.textContent);v in bI?I.name=o({value:bI[v],context:"exportDocument"}):I.name=v,R.target.textContent=I.name,R.target.title=I.name,R.target.scrollLeft=0},onFocus:R=>{let v=document.createRange(),k=window.getSelection();v.selectNodeContents(R.target),v.collapse(!0),v.setEnd(R.target,R.target.childNodes.length),v.setStart(R.target,0),k.removeAllRanges(),k.addRange(v)},title:bI[I.name]==null?I.name:o({value:bI[I.name],context:"exportDocument"}),children:bI[I.name]==null?I.name:o({value:bI[I.name],context:"exportDocument"})})]})}},{key:"outputConfig",name:o("Output Config"),width:64,editable:!0,render:M=>{var N,R;let I=r.pageConfig[M.rowNumber],A=["Top Auto Designator Placement","Bottom Auto Designator Placement"].includes((N=M.row)==null?void 0:N.specialFlag),D=((R=M.row)==null?void 0:R.specialFlag)==="BOM",E=A?"disabled":"";return(0,_n.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,_n.jsx)("span",{title:o("Edit"),onClick:()=>{var v,k;A||(D?ii("export-bom",{dlgConfig:{showFileName:!1,showFileType:!1,rightButtons:[{title:"Restore Default",key:"Restore Default"},{title:"Confirm",key:"exportPDFBomConfirm",onClick:P=>{I.bomInfo={ev:P.ev,filterRules:P.filterRules,tableAttrKeys:P.tableAttrKeys}}},{type:"default",title:"Cancel",key:"Cancel"}],rangeFilter:P=>{var O;return P.value===((O=wr(gi()))==null?void 0:O[0])}},originInfo:{hide:!1,tableAttrKeys:(v=I.bomInfo)==null?void 0:v.tableAttrKeys,filterRules:(k=I.bomInfo)==null?void 0:k.filterRules}}):le.open({id:mSe,title:r.getFieldsetTitle(M.rowNumber),esc:!0,closed:!0,remove:!0,width:L8i,children:(0,_n.jsx)(nIt,{}),onBeforeOpen:()=>{iq.getInstance().loadData(M.rowNumber)},onCancel:()=>{iq.getInstance().unloadData()},onClose:()=>{iq.getInstance().unloadData()}}))},className:i(`icon-eda-edit icon ${E}`)})})}}],rows:r.pageConfig,stockade:!0,border:!0,selectedRowNumbers:[...r.selectedPageIndexes],onClick:f,onChange:M=>{r.pageConfig.forEach((I,A)=>{M[A].name in bI?I.name=o({value:M[A].name,context:"exportDocument"}):I.name=M[A].name}),r.refreshView()}})]}),(0,_n.jsxs)("div",{className:i("container-footer"),children:[(0,_n.jsxs)("div",{className:i("container-footer-left"),children:[(0,_n.jsx)(Me,{onClick:()=>{nAi(async(M,I)=>{await r.importConfig(M,I),r.refreshView()})},children:o("Import Config")}),(0,_n.jsx)(Me,{onClick:()=>{le.open({id:wUe,title:"Export",width:400,closed:!0,remove:!0,children:(0,_n.jsx)(gAi,{onUpdate:M=>{u=M}}),footer:!0,onCancel:()=>{le.close(wUe)},onOk:()=>{let M=JSON.stringify(r.exportConfig,null,"	");wi?cd(M,u+".json","json"):ya(M,u+".json"),le.close(wUe)}})},children:o("Export Config")})]}),(0,_n.jsxs)("div",{className:i("container-footer-right"),children:[(0,_n.jsx)(Me,{onClick:()=>{le.close()},children:"Cancel"}),((w=t.originInfo)==null?void 0:w.from)=="oneClickExport"&&(0,_n.jsx)(Me,{"data-test":"Confirm",type:"primary",style:{marginRight:"8px"},onClick:()=>{let M=r.exportConfig;if(!tq(M))return;let I={fileName:r.title,method:r.method,showAttrMenu:r.showAttrMenu,onlyExportOutline:r.onlyExportOutline,waterMarkShow:Zl.getInstance().show,waterMarkContent:Zl.getInstance().content,pageConfig:r.pageConfig};rr.setFileConfigMap({type:"PDF",valData:I}),le.close("dlgExport")},children:"Confirm"}),((x=t.originInfo)==null?void 0:x.from)!=="oneClickExport"&&(0,_n.jsx)(Me,{type:"primary",onClick:async()=>{let M=r.exportConfig;tq(M)&&rAi(M)},children:o("Export")}),((S=t.originInfo)==null?void 0:S.from)!=="oneClickExport"&&(0,_n.jsx)(Me,{type:"primary",onClick:async()=>{let M=r.exportConfig;tq(M)&&J6t(M)},children:o("Print")}),_t&&((T=t.originInfo)==null?void 0:T.from)!=="oneClickExport"&&(0,_n.jsx)(Me,{type:"primary",onClick:g,children:o("Save as Attachment")})]})]})]})}var LAi=Xj.default.memo(HCr);var Ym=L(Se()),mIt=L(DAi());var Sr=L(z());function WCr(t){var de,fe,ye,Le;Ae(mIt.default);let{locals:e}=mIt.default,i=be.bind(e),o=J(),r=ca(),n=(0,Ym.useRef)(null),{fileType:a,objectList:s,defaultExportObject:l,isPrint:c}=t,[d,u]=(0,Ym.useState)(a),[p,m]=(0,Ym.useState)("Default"),[h,f]=(0,Ym.useState)("Default"),[g,b]=(0,Ym.useState)(!1),[y,w]=(0,Ym.useState)(!1),[x,S]=(0,Ym.useState)(l),[T,M]=(0,Ym.useState)("all"),[I,A]=(0,Ym.useState)(1),[D,E]=(0,Ym.useState)(1),N=(0,Ym.useRef)(1),R=(0,Ym.useRef)(1),v=1,[k,P]=(0,Ym.useState)(1),[O,_]=(0,Ym.useState)("merged"),[j,B]=(0,Ym.useState)(0),[V,G]=(0,Ym.useState)(0),[Q,H]=(0,Ym.useState)(!0),[q,U]=(0,Ym.useState)(Wi("CANVAS","unit",{defaultValue:"inch"})),F=(0,Ym.useRef)({w:null,h:null}),K=(0,Ym.useRef)({width:-1/0,height:-1/0}),te=o(Q?"Keep width/height ratio":"Not keep width/height ratio"),ae=i(Q?"icon-eda-link icon":"icon-eda-unlink icon"),pe=(function(){if(!j||!V)return OA;for(let[Re,Ne]of Object.entries(gI))if(Ne.h===V&&Ne.w===j||Ne.h===j&&Ne.w===V)return Re;return RA})(),Z=(function(){return W3([OA,...Object.keys(gI),RA])})(),ee=(function(){return _m(ws.build2({value:j,unit:"pixel"}),q).value})(),ce=(function(){return _m(ws.build2({value:V,unit:"pixel"}),q).value})(),ne=W3(["inch","mm"]),oe=pe===RA&&[j,V].includes(-1/0);function re(Re){F.current.w=null;let Ne=ul(Re.target.value,q),Te=Number(Ne);if(Number.isNaN(Te)||!(Te>0))r();else{let Pe=_m(ws.build2({value:Te,unit:q}),"pixel",!1).value;if(B(Pe),Q){let Oe=Te/ee||1;G(_m(ws.build2({value:ce*Oe,unit:q}),"pixel",!1).value)}}}function Y(Re){F.current.h=null;let Ne=ul(Re.target.value,q),Te=Number(Ne);if(Number.isNaN(Te)||!(Te>0))r();else{let Pe=_m(ws.build2({value:Te,unit:q}),"pixel",!1).value;if(G(Pe),Q){let Oe=Te/ce||1;B(_m(ws.build2({value:ee*Oe,unit:q}),"pixel",!1).value)}}}(0,Ym.useEffect)(()=>{pe===RA&&(K.current={width:j,height:V})},[j,V]),(0,Ym.useEffect)(()=>{if(t1e.includes(x))return;A(1);let Re=x;try{C.messageBus.rpcCall("getPagesNum",Re).then(Ne=>{isNaN(Ne.message)?(E(1),P(1),R.current=1):(E(Ne.message),P(Ne.message),R.current=Ne.message)})}catch{E(1),P(1),R.current=1}},[x]),HA(()=>{if(c){let Re=s.find(Te=>Te.value===x).text,Ne=Wi("CANVAS","line_width_show");Z6t({exportObject:x,fileType:d,language:me.curr,needMenu:g,onlyExportInDrawingFrame:y,isMerge:O==="merged",lineWidthCfg:Ne=="1"?"alwaysOne":"followZoom",colorType:p,isAllRange:T==="all",rangeStart:I,rangeEnd:D,rangeText:Re})}},[c,x]);let X=()=>{let Re=h==="Default"?Wi("CANVAS","line_width_show")=="1"?"alwaysOne":"followZoom":h,Ne=s.find(Te=>Te.value===x).text;return{exportObject:x,fileType:d,language:me.curr,needMenu:g,onlyExportInDrawingFrame:y,isMerge:O==="merged",lineWidthCfg:Re,colorType:p,isAllRange:T==="all",rangeStart:I,rangeEnd:D,rangeText:Ne,size:pe!==OA?{width:j,height:V}:void 0}},ie=Gr(_b(async()=>{await iAi(X())}),100);return(0,Sr.jsxs)("div",{className:i("container"),children:[(0,Sr.jsxs)("div",{className:i("gray-dialog-border"),children:[(0,Sr.jsxs)("div",{className:i("export-row-container"),children:[(0,Sr.jsx)("div",{className:i("export-column-container"),children:(0,Sr.jsx)("span",{title:o("File Type:"),children:o("File Type:")})}),(0,Sr.jsx)("div",{className:i("export-column-container"),children:(0,Sr.jsx)($i,{value:d,options:[{value:"filePdf",label:"PDF"},{value:"fileImage",label:"PNG"},{value:"fileSVG",label:"SVG"}],onChange:Re=>{u(Re)}})})]}),d==="filePdf"&&(0,Sr.jsxs)("div",{className:i("export-row-container"),children:[(0,Sr.jsx)("div",{className:i("export-column-container"),children:(0,Sr.jsx)("span",{title:o("Theme:"),children:o("Theme:")})}),(0,Sr.jsx)("div",{className:i("export-column-container"),children:(0,Sr.jsx)($i,{value:p,options:[{value:"Default",label:"Default"},{value:"White on Black",label:"White on Black"},{value:"Black on White",label:"Black on White"}],onChange:Re=>{m(Re)}})})]}),d==="filePdf"&&(0,Sr.jsxs)("div",{className:i("export-row-container"),children:[(0,Sr.jsx)("div",{className:i("export-column-container"),children:(0,Sr.jsx)("span",{title:o("Line Width:"),children:o("Line Width:")})}),(0,Sr.jsx)("div",{className:i("export-column-container"),children:(0,Sr.jsx)($i,{value:h,options:[{value:"Default",label:"Default"},{value:"alwaysOne",label:"Always 1px"},{value:"followZoom",label:"Follow the Zoom Change"}],onChange:Re=>{f(Re)}})})]}),d==="filePdf"&&(0,Sr.jsxs)("div",{className:i("export-row-container"),children:[(0,Sr.jsx)("div",{className:i("export-column-container"),children:(0,Sr.jsx)("span",{})}),(0,Sr.jsxs)("div",{className:i("export-column-container"),style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr",gap:"16px"},children:[(0,Sr.jsxs)("label",{className:i("checkbox-container"),children:[(0,Sr.jsx)(qt,{checked:g,style:{marginRight:"4px"},onChange:Re=>{b(Re)}}),(0,Sr.jsx)("span",{title:o("Display attributes as menu"),children:o("Display attributes as menu")})]}),(0,Sr.jsxs)("label",{className:i("checkbox-container"),children:[(0,Sr.jsx)(qt,{checked:y,style:{marginRight:"4px"},onChange:Re=>{w(Re)}}),(0,Sr.jsx)("span",{title:o("Export Within Frame Only"),children:o("Export Within Frame Only")})]})]})]}),d==="filePdf"&&(0,Sr.jsxs)(Sr.Fragment,{children:[(0,Sr.jsxs)("div",{className:i("export-row-container"),children:[(0,Sr.jsx)("div",{className:i("export-column-container"),children:(0,Sr.jsx)("span",{title:o({context:"exportDocument",value:"Size:"}),children:o({context:"exportDocument",value:"Size:"})})}),(0,Sr.jsx)("div",{className:i("export-column-container"),style:{width:400},children:(0,Sr.jsx)(xt,{value:pe,list:Z,onChange:Re=>{switch(Re){case RA:{let{width:Ne,height:Te}=K.current;B(Ne),G(Te);break}case OA:{B(0),G(0);break}default:{F.current.w=null,F.current.h=null,j<V?(B(gI[Re].h),G(gI[Re].w)):(B(gI[Re].w),G(gI[Re].h));break}}}})})]}),pe!==OA&&(0,Sr.jsxs)("div",{className:i("export-row-container"),children:[(0,Sr.jsx)("div",{className:i("export-column-container"),children:(0,Sr.jsx)("span",{})}),(0,Sr.jsxs)("div",{className:i("export-column-container"),style:{width:400,gap:"8px"},children:[(0,Sr.jsx)("span",{style:{paddingRight:0},children:o("Width:")}),(0,Sr.jsx)(Kt,{focusTriggerSelect:!0,type:"text",value:((de=F.current)==null?void 0:de.w)===null?ee===-1/0?"":String(ee):(fe=F.current)==null?void 0:fe.w,onChange:Re=>{F.current.w=Re,r()},onkeyup:Re=>{Re.key==="Enter"&&re(Re)},onBlur:Re=>{re(Re)}}),(0,Sr.jsx)("span",{title:te,className:ae,onClick:()=>{H(!Q)}}),(0,Sr.jsx)("span",{title:o("Width and height confrontation"),className:i("icon-eda-sort-bi-side icon rotate90"),onClick:()=>{B(V),G(j)}}),(0,Sr.jsx)("span",{style:{paddingRight:0},children:o("Height:")}),(0,Sr.jsx)(Kt,{focusTriggerSelect:!0,type:"text",value:((ye=F.current)==null?void 0:ye.h)===null?ce===-1/0?"":String(ce):(Le=F.current)==null?void 0:Le.h,onChange:Re=>{F.current.h=Re,r()},onkeyup:Re=>{Re.key==="Enter"&&Y(Re)},onBlur:Re=>{Y(Re)}}),(0,Sr.jsx)(xt,{value:q,list:ne,onChange:Re=>{U(Re)}})]})]})]}),(_t||tft)&&d==="filePdf"&&(0,Sr.jsxs)("div",{className:i("export-row-container"),children:[(0,Sr.jsx)("div",{className:i("export-column-container"),children:(0,Sr.jsx)("span",{title:o("Watermark:"),children:o("Watermark:")})}),(0,Sr.jsxs)("div",{className:i("export-column-container watermark-cell"),children:[(0,Sr.jsxs)("label",{className:i("checkbox-container"),children:[(0,Sr.jsx)(qt,{checked:Zl.getInstance().show,style:{marginRight:"4px"},onChange:Re=>{Zl.getInstance().show=Re,UA(),r()}}),(0,Sr.jsx)("span",{title:o("Show"),children:o("Show")})]}),(0,Sr.jsx)(rq,{list:Object.values(cH),value:Zl.getInstance().content,onChange:Re=>{Zl.getInstance().content=Re,UA(),r()},ref:n}),(0,Sr.jsx)("a",{onClick:()=>{le.open({id:BP,title:o1e,esc:!0,closed:!0,remove:!0,width:380,children:(0,Sr.jsx)(h1e,{}),footer:!0,onOk:()=>{UA(),r(),n.current.value=oq(Zl.getInstance().content)},onClose:()=>{Zl.getInstance().setData()},onCancel:()=>{Zl.getInstance().setData(),le.close(BP)}})},children:o("Style Settings")})]})]})]}),(0,Sr.jsxs)("div",{className:i("gray-dialog-border"),children:[(0,Sr.jsxs)("div",{className:i("export-row-container"),children:[(0,Sr.jsx)("div",{className:i("export-column-container"),children:(0,Sr.jsx)("span",{title:o("Object:"),children:o("Object:")})}),(0,Sr.jsx)("div",{className:i("export-column-container"),style:{width:400},children:(0,Sr.jsx)(xt,{value:x,list:s,onChange:Re=>{S(Re)}})})]}),!t1e.includes(x)&&(0,Sr.jsxs)("div",{className:i("export-row-container"),children:[(0,Sr.jsx)("div",{className:i("export-column-container"),children:(0,Sr.jsx)("span",{title:o("Range:"),children:o("Range:")})}),(0,Sr.jsxs)("div",{className:i("export-column-container"),children:[(0,Sr.jsx)($i,{value:T,className:i("shrink-group"),options:[{value:"all",label:"All"},{value:"custom",label:"Custom"}],onChange:Re=>{M(Re)}}),(0,Sr.jsx)("div",{className:i("range-box"),children:T==="custom"?(0,Sr.jsxs)(Sr.Fragment,{children:[(0,Sr.jsx)(Kt,{type:"number",value:I===0?"":String(I),onChange:(Re,Ne)=>{let Te=Number(Re);A(Te)},onBlur:Re=>{I>D||I<v?A(N.current):N.current=I}}),(0,Sr.jsx)("div",{className:i("sep"),children:"-"}),(0,Sr.jsx)(Kt,{type:"number",value:D===0?"":String(D),onChange:(Re,Ne)=>{let Te=Number(Re);E(Te)},onBlur:Re=>{D>k||D<I?E(R.current):R.current=D}})]}):(0,Sr.jsx)(Sr.Fragment,{})})]})]}),d==="filePdf"&&!CUe.includes(x)&&(0,Sr.jsxs)("div",{className:i("export-row-container"),children:[(0,Sr.jsx)("div",{className:i("export-column-container"),children:(0,Sr.jsx)("span",{title:o("Output Method:"),children:o("Output Method:")})}),(0,Sr.jsxs)("div",{className:i("export-column-container"),children:[(0,Sr.jsx)($i,{value:O,className:i("shrink-group"),style:{width:"calc(100% - 120px)",minWidth:"minContent"},options:[{value:"merged",label:"Merged sheet"},{value:"separated",label:"Separated sheet"}],onChange:Re=>{_(Re)}}),(0,Sr.jsx)("div",{})]})]})]}),(0,Sr.jsxs)("div",{className:i("container-footer"),children:[(0,Sr.jsx)(Me,{onClick:()=>{le.close()},children:"Cancel"}),(0,Sr.jsx)(Me,{disabled:oe,type:"primary",onClick:()=>{oAi(X())},children:o("Export")}),(0,Sr.jsx)(Me,{disabled:oe,type:"primary",onClick:()=>{Z6t(X())},children:o("Print")}),_t&&(0,Sr.jsx)(Me,{type:"primary",disabled:oe,onClick:ie,children:o("Save as Attachment")})]})]})}var NAi=Ym.default.memo(WCr);var Wm=L(Se()),hIt=L(PAi());var Mr=L(z());function QCr(t){var de,fe,ye,Le;Ae(hIt.default);let{locals:e}=hIt.default,i=be.bind(e),o=J(),r=ca(),n=(0,Wm.useRef)(null),{fileType:a,objectList:s,defaultExportObject:l,isPrint:c}=t,[d,u]=(0,Wm.useState)(a),[p,m]=(0,Wm.useState)("Default"),[h,f]=(0,Wm.useState)("Default"),[g,b]=(0,Wm.useState)(!1),[y,w]=(0,Wm.useState)(!1),[x,S]=(0,Wm.useState)(l),[T,M]=(0,Wm.useState)("all"),[I,A]=(0,Wm.useState)(1),[D,E]=(0,Wm.useState)(1),N=(0,Wm.useRef)(1),R=(0,Wm.useRef)(1),v=1,[k,P]=(0,Wm.useState)(1),[O,_]=(0,Wm.useState)("merged"),[j,B]=(0,Wm.useState)(0),[V,G]=(0,Wm.useState)(0),[Q,H]=(0,Wm.useState)(!0),[q,U]=(0,Wm.useState)(Wi("CANVAS","unit",{defaultValue:"inch"})),F=(0,Wm.useRef)({w:null,h:null}),K=(0,Wm.useRef)({width:-1/0,height:-1/0}),te=o(Q?"Keep width/height ratio":"Not keep width/height ratio"),ae=i(Q?"icon-eda-link icon":"icon-eda-unlink icon"),pe=(function(){if(!j||!V)return OA;for(let[Re,Ne]of Object.entries(gI))if(Ne.h===V&&Ne.w===j||Ne.h===j&&Ne.w===V)return Re;return RA})(),Z=(function(){return W3([OA,...Object.keys(gI),RA])})(),ee=(function(){return _m(ws.build2({value:j,unit:"pixel"}),q).value})(),ce=(function(){return _m(ws.build2({value:V,unit:"pixel"}),q).value})(),ne=W3(["inch","mm"]),oe=pe===RA&&[j,V].includes(-1/0);function re(Re){F.current.w=null;let Ne=ul(Re.target.value,q),Te=Number(Ne);if(Number.isNaN(Te)||!(Te>0))r();else{let Pe=_m(ws.build2({value:Te,unit:q}),"pixel",!1).value;if(B(Pe),Q){let Oe=Te/ee||1;G(_m(ws.build2({value:ce*Oe,unit:q}),"pixel",!1).value)}}}function Y(Re){F.current.h=null;let Ne=ul(Re.target.value,q),Te=Number(Ne);if(Number.isNaN(Te)||!(Te>0))r();else{let Pe=_m(ws.build2({value:Te,unit:q}),"pixel",!1).value;if(G(Pe),Q){let Oe=Te/ce||1;B(_m(ws.build2({value:ee*Oe,unit:q}),"pixel",!1).value)}}}(0,Wm.useEffect)(()=>{pe===RA&&(K.current={width:j,height:V})},[j,V]),(0,Wm.useEffect)(()=>{if(t1e.includes(x))return;A(1);let Re=x;try{C.messageBus.rpcCall("getPagesNum",Re).then(Ne=>{isNaN(Ne.message)?(E(1),P(1),R.current=1):(E(Ne.message),P(Ne.message),R.current=Ne.message)})}catch{E(1),P(1),R.current=1}},[x]),HA(()=>{if(c){let Re=s.find(Te=>Te.value===x).text,Ne=Wi("CANVAS","line_width_show");X6t({exportObject:x,fileType:d,language:me.curr,needMenu:g,onlyExportInDrawingFrame:y,isMerge:O==="merged",lineWidthCfg:Ne=="1"?"alwaysOne":"followZoom",colorType:p,isAllRange:T==="all",rangeStart:I,rangeEnd:D,rangeText:Re})}},[c,x]);let X=()=>{let Re=h==="Default"?Wi("CANVAS","line_width_show")=="1"?"alwaysOne":"followZoom":h,Ne=s.find(Te=>Te.value===x).text;return{exportObject:x,fileType:d,language:me.curr,needMenu:g,onlyExportInDrawingFrame:y,isMerge:O==="merged",lineWidthCfg:Re,colorType:p,isAllRange:T==="all",rangeStart:I,rangeEnd:D,rangeText:Ne,size:pe!==OA?{width:j,height:V}:void 0}},ie=Gr(_b(async()=>{await sAi(X())}),100);return(0,Mr.jsxs)("div",{className:i("container"),children:[(0,Mr.jsxs)("div",{className:i("gray-dialog-border"),children:[(0,Mr.jsxs)("div",{className:i("export-row-container"),children:[(0,Mr.jsx)("div",{className:i("export-column-container"),children:(0,Mr.jsx)("span",{title:o("File Type:"),children:o("File Type:")})}),(0,Mr.jsx)("div",{className:i("export-column-container"),children:(0,Mr.jsx)($i,{value:d,options:[{value:"filePdf",label:"PDF"},{value:"fileImage",label:"PNG"},{value:"fileSVG",label:"SVG"}],onChange:Re=>{u(Re)}})})]}),d==="filePdf"&&(0,Mr.jsxs)("div",{className:i("export-row-container"),children:[(0,Mr.jsx)("div",{className:i("export-column-container"),children:(0,Mr.jsx)("span",{title:o("Theme:"),children:o("Theme:")})}),(0,Mr.jsx)("div",{className:i("export-column-container"),children:(0,Mr.jsx)($i,{value:p,options:[{value:"Default",label:"Default"},{value:"White on Black",label:"White on Black"},{value:"Black on White",label:"Black on White"}],onChange:Re=>{m(Re)}})})]}),d==="filePdf"&&(0,Mr.jsxs)("div",{className:i("export-row-container"),children:[(0,Mr.jsx)("div",{className:i("export-column-container"),children:(0,Mr.jsx)("span",{title:o("Line Width:"),children:o("Line Width:")})}),(0,Mr.jsx)("div",{className:i("export-column-container"),children:(0,Mr.jsx)($i,{value:h,options:[{value:"Default",label:"Default"},{value:"alwaysOne",label:"Always 1px"},{value:"followZoom",label:"Follow the Zoom Change"}],onChange:Re=>{f(Re)}})})]}),d==="filePdf"&&(0,Mr.jsxs)("div",{className:i("export-row-container"),children:[(0,Mr.jsx)("div",{className:i("export-column-container"),children:(0,Mr.jsx)("span",{})}),(0,Mr.jsxs)("div",{className:i("export-column-container"),style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr",gap:"16px"},children:[(0,Mr.jsxs)("label",{className:i("checkbox-container"),children:[(0,Mr.jsx)(qt,{checked:g,style:{marginRight:"4px"},onChange:Re=>{b(Re)}}),(0,Mr.jsx)("span",{title:o("Display attributes as menu"),children:o("Display attributes as menu")})]}),(0,Mr.jsxs)("label",{className:i("checkbox-container"),children:[(0,Mr.jsx)(qt,{checked:y,style:{marginRight:"4px"},onChange:Re=>{w(Re)}}),(0,Mr.jsx)("span",{title:o("Export Within Frame Only"),children:o("Export Within Frame Only")})]})]})]}),d==="filePdf"&&(0,Mr.jsxs)(Mr.Fragment,{children:[(0,Mr.jsxs)("div",{className:i("export-row-container"),children:[(0,Mr.jsx)("div",{className:i("export-column-container"),children:(0,Mr.jsx)("span",{title:o({context:"exportDocument",value:"Size:"}),children:o({context:"exportDocument",value:"Size:"})})}),(0,Mr.jsx)("div",{className:i("export-column-container"),style:{width:400},children:(0,Mr.jsx)(xt,{value:pe,list:Z,onChange:Re=>{switch(Re){case RA:{let{width:Ne,height:Te}=K.current;B(Ne),G(Te);break}case OA:{B(0),G(0);break}default:{F.current.w=null,F.current.h=null,j<V?(B(gI[Re].h),G(gI[Re].w)):(B(gI[Re].w),G(gI[Re].h));break}}}})})]}),pe!==OA&&(0,Mr.jsxs)("div",{className:i("export-row-container"),children:[(0,Mr.jsx)("div",{className:i("export-column-container"),children:(0,Mr.jsx)("span",{})}),(0,Mr.jsxs)("div",{className:i("export-column-container"),style:{width:400,gap:"8px"},children:[(0,Mr.jsx)("span",{style:{paddingRight:0},children:o("Width:")}),(0,Mr.jsx)(Kt,{focusTriggerSelect:!0,type:"text",value:((de=F.current)==null?void 0:de.w)===null?ee===-1/0?"":String(ee):(fe=F.current)==null?void 0:fe.w,onChange:Re=>{F.current.w=Re,r()},onkeyup:Re=>{Re.key==="Enter"&&re(Re)},onBlur:Re=>{re(Re)}}),(0,Mr.jsx)("span",{title:te,className:ae,onClick:()=>{H(!Q)}}),(0,Mr.jsx)("span",{title:o("Width and height confrontation"),className:i("icon-eda-sort-bi-side icon rotate90"),onClick:()=>{B(V),G(j)}}),(0,Mr.jsx)("span",{style:{paddingRight:0},children:o("Height:")}),(0,Mr.jsx)(Kt,{focusTriggerSelect:!0,type:"text",value:((ye=F.current)==null?void 0:ye.h)===null?ce===-1/0?"":String(ce):(Le=F.current)==null?void 0:Le.h,onChange:Re=>{F.current.h=Re,r()},onkeyup:Re=>{Re.key==="Enter"&&Y(Re)},onBlur:Re=>{Y(Re)}}),(0,Mr.jsx)(xt,{value:q,list:ne,onChange:Re=>{U(Re)}})]})]})]}),d==="filePdf"&&(0,Mr.jsxs)("div",{className:i("export-row-container"),children:[(0,Mr.jsx)("div",{className:i("export-column-container"),children:(0,Mr.jsx)("span",{title:o("Watermark:"),children:o("Watermark:")})}),(0,Mr.jsxs)("div",{className:i("export-column-container watermark-cell"),children:[(0,Mr.jsxs)("label",{className:i("checkbox-container"),children:[(0,Mr.jsx)(qt,{checked:Zl.getInstance().show,style:{marginRight:"4px"},onChange:Re=>{Zl.getInstance().show=Re,UA(),r()}}),(0,Mr.jsx)("span",{title:o("Show"),children:o("Show")})]}),(0,Mr.jsx)(rq,{list:Object.values(cH),value:Zl.getInstance().content,onChange:Re=>{Zl.getInstance().content=Re,UA(),r()},ref:n}),(0,Mr.jsx)("a",{onClick:()=>{le.open({id:BP,title:o1e,esc:!0,closed:!0,remove:!0,width:380,children:(0,Mr.jsx)(h1e,{}),footer:!0,onOk:()=>{UA(),r(),n.current.value=oq(Zl.getInstance().content)},onClose:()=>{Zl.getInstance().setData()},onCancel:()=>{Zl.getInstance().setData(),le.close(BP)}})},children:o("Style Settings")})]})]})]}),(0,Mr.jsxs)("div",{className:i("gray-dialog-border"),children:[(0,Mr.jsxs)("div",{className:i("export-row-container"),children:[(0,Mr.jsx)("div",{className:i("export-column-container"),children:(0,Mr.jsx)("span",{title:o("Object:"),children:o("Object:")})}),(0,Mr.jsx)("div",{className:i("export-column-container"),style:{width:400},children:(0,Mr.jsx)(xt,{value:x,list:s,onChange:Re=>{S(Re)}})})]}),!t1e.includes(x)&&(0,Mr.jsxs)("div",{className:i("export-row-container"),children:[(0,Mr.jsx)("div",{className:i("export-column-container"),children:(0,Mr.jsx)("span",{title:o("Range:"),children:o("Range:")})}),(0,Mr.jsxs)("div",{className:i("export-column-container"),children:[(0,Mr.jsx)($i,{value:T,className:i("shrink-group"),options:[{value:"all",label:"All"},{value:"custom",label:"Custom"}],onChange:Re=>{M(Re)}}),(0,Mr.jsx)("div",{className:i("range-box"),children:T==="custom"?(0,Mr.jsxs)(Mr.Fragment,{children:[(0,Mr.jsx)(Kt,{type:"number",value:I===0?"":String(I),onChange:(Re,Ne)=>{let Te=Number(Re);A(Te)},onBlur:Re=>{I>D||I<v?A(N.current):N.current=I}}),(0,Mr.jsx)("div",{className:i("sep"),children:"-"}),(0,Mr.jsx)(Kt,{type:"number",value:D===0?"":String(D),onChange:(Re,Ne)=>{let Te=Number(Re);E(Te)},onBlur:Re=>{D>k||D<I?E(R.current):R.current=D}})]}):(0,Mr.jsx)(Mr.Fragment,{})})]})]}),d==="filePdf"&&!CUe.includes(x)&&(0,Mr.jsxs)("div",{className:i("export-row-container"),children:[(0,Mr.jsx)("div",{className:i("export-column-container"),children:(0,Mr.jsx)("span",{title:o("Output Method:"),children:o("Output Method:")})}),(0,Mr.jsxs)("div",{className:i("export-column-container"),children:[(0,Mr.jsx)($i,{value:O,className:i("shrink-group"),style:{width:"calc(100% - 120px)",minWidth:"minContent"},options:[{value:"merged",label:"Merged sheet"},{value:"separated",label:"Separated sheet"}],onChange:Re=>{_(Re)}}),(0,Mr.jsx)("div",{})]})]})]}),(0,Mr.jsxs)("div",{className:i("container-footer"),children:[(0,Mr.jsx)(Me,{onClick:()=>{le.close()},children:"Cancel"}),(0,Mr.jsx)(Me,{disabled:oe,type:"primary",onClick:()=>{aAi(X())},children:o("Export")}),(0,Mr.jsx)(Me,{disabled:oe,type:"primary",onClick:()=>{X6t(X())},children:o("Print")}),_t&&(0,Mr.jsx)(Me,{type:"primary",disabled:oe,onClick:ie,children:o("Save as Attachment")})]})]})}var OAi=Wm.default.memo(QCr);var QUe=class extends qe{constructor(i){super();this.data=i}get items(){return Array.from(this.data.values())}getItem(i){return this.data.get(i)}refreshView(){this.notify()}};var $S=L(z());function KCr({store:t}){return Ce(t),(0,$S.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:t.items.map((e,i)=>(0,$S.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 3fr",alignItems:"center"},children:[(0,$S.jsx)(ZCr,{data:e}),(0,$S.jsx)(qCr,{data:e,store:t})]},i))})}function ZCr({data:t}){let e=J();return(0,$S.jsx)("label",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e(t.showKey||t.key)})}function JCr({data:t,store:e}){let{valueType:i,onChange:o,onBlur:r,valueParams:n}=t,a=ca(),{style:s,...l}=n||{};switch(i){case"select":return(0,$S.jsx)(xt,{...l,style:{flexGrow:1,...s},value:t.value,list:t.selectList||[],onChange:c=>{t.value=c,o==null||o(t,e),a()}});case"input":return(0,$S.jsx)(Kt,{...l,style:{flexGrow:1,...s},value:String(t.value),onChange:c=>{t.value=c,o==null||o(t,e),a()},onBlur:c=>{r&&(r==null||r(t,e),a())}})}}function qCr({data:t,store:e}){let{valueSuffix:i}=t;return(0,$S.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,$S.jsx)(JCr,{data:t,store:e}),i]})}function tne(t,e={},i="",o=""){let r=t.reduce((a,s)=>(a.set(s.key,s),a),new Map),n=new QUe(r);return new Promise((a,s)=>{let l={id:crypto.randomUUID(),title:"",width:240,closed:!0,onPaste:!0,children:(0,$S.jsxs)($S.Fragment,{children:[i,(0,$S.jsx)(KCr,{store:n}),o]}),footer:!0,onOk:()=>{let c=t.reduce((d,u)=>(d.set(u.key,u.value),d),new Map);le.close(l.id),a(c)},onCancel:()=>{le.close(l.id),a(null)},onClose:()=>{le.close(l.id),a(null)},...e};le.open(l)})}function XCr(t,e,i){let{text:o,fontSize:r,color:n,rowWithRowGap:a,columnWithColumnGap:s,deg:l}=i,c=Math.max(t.width,t.height),d=c*2,u=c*2,p=Math.ceil(d/s),m=Math.ceil(u/a);for(let f=0;f<p;f++)for(let g=0;g<m;g++)l>0?h(e,f*s,g*a-(u-t.height)):h(e,f*s-(d-t.width)/2,g*a-(u-t.height)/2);function h(f,g,b){f.save(),f.rotate(l*Math.PI/180),f.font=r+"px serif",f.fillStyle=`rgba(${n.join(",")})`,f.fillText(o,g,b),f.restore()}return t}function $Cr(t,e){return new Promise((i,o)=>{try{let r=document.createElement("canvas"),n=r.getContext("2d");r.width=t.width,r.height=t.height,n.putImageData(t,0,0),e&&XCr(r,n,e),r.toBlob(a=>{i(a)},"image/png")}catch(r){o(r)}})}async function RAi(t){let{width:e,height:i,fileName:o,watermarkConfig:r}=t,s=(await C.windowBridge.rpcCall("exportPCBPng",{width:e,height:i,withoutPanelize:!1},await Ra())).message;if(!s)return;let l=new ImageData(s.data,s.width,s.height),c=await $Cr(l,r);ya(c,o+".png")}var ine=L(z());function exr(){let t=J();return(0,ine.jsx)("div",{style:{marginTop:"8px",color:"red"},children:t("Notice: The width or height max size is 4096px")})}function fIt({content:t}){return(0,ine.jsx)("span",{style:{width:"40px",textAlign:"center"},children:t})}async function txr(t){switch(t){case"PCB":{let{width:e=100,height:i=100}=(await C.windowBridge.rpcCall("pcb/getDefaultPngSize",!1,await Ra())).message||{};return{w:e,h:i}}case"PCB_2D":case"PCB_3D":{let{width:e=100,height:i=100}=(await C.windowBridge.rpcCall("/pcb/3d/getDefaultPngSize","",await Ra())).message||{};return{w:e,h:i}}default:return{w:100,h:100}}}async function ixr(t){switch(t){case"PCB":{let e=new Date;return`PCB_${G0()}_${ue.formatDate2(new Date).substring(0,10)}`}case"PCB_2D":case"PCB_3D":{let e=new Date;return`${dt()===se.VIEW3D?3:2}D_${UP.get(await wa())}_${ue.formatDate2(new Date,"y-m-d")}`}default:return"default"}}async function oxr(t,e){switch(t){case"PCB":{await RAi({width:e.get("width"),height:e.get("height"),fileName:e.get("fileName"),watermarkConfig:C.watermarkConfig?iy(C.watermarkConfig,"1"):null});break}case"PCB_2D":case"PCB_3D":{let i=await ei(),o=C.watermarkConfig?iy(C.watermarkConfig,"1"):null,r={fileName:e.get("fileName")+".png",watermarkConfig:o,width:e.get("width")};C.windowBridge.rpcCall("/pcb/3d/export/png",r,i.contentWindow);break}}}async function KUe(t){let e=await ixr(t),i=await txr(t),o=i.w/i.h;i.w=Number(i.w.toFixed()),i.h=Number(i.h.toFixed());let r=l=>{let d=l.getItem("width"),u=l.getItem("height"),p=Number(d.value),m=Number(u.value);p>0&&p<=4096&&m>0&&m<=4096&&(i.w=p,i.h=m),d.value=i.w,u.value=i.h,l.refreshView()},n=[{key:"fileName",showKey:"Filename:",value:e,valueType:"input",valueParams:{style:{position:"relative"}},valueSuffix:(0,ine.jsx)(fIt,{content:".png"}),onBlur:l=>{l.value?e=l.value:l.value=e}},{key:"width",showKey:{value:"Width:",context:"attrs"},value:i.w,valueType:"input",valueSuffix:(0,ine.jsx)(fIt,{content:"px"}),valueParams:{type:"number",style:{position:"relative"}},onChange:(l,c)=>{let d=Number(l.value);l.value=Number(d.toFixed()),c.getItem("height").value=Number((l.value/o).toFixed()),c.refreshView()},onBlur:(l,c)=>{r(c)}},{key:"height",showKey:{value:"Height:",context:"attrs"},value:i.h,valueType:"input",valueSuffix:(0,ine.jsx)(fIt,{content:"px"}),valueParams:{type:"number",style:{position:"relative"}},onChange:(l,c)=>{let d=Number(l.value);l.value=Number(d.toFixed()),c.getItem("width").value=Number((l.value*o).toFixed()),c.refreshView()},onBlur:(l,c)=>{r(c)}}],a={title:xUe[t].fileImage,okText:"Export",width:400},s=await tne(n,a,"",(0,ine.jsx)(exr,{}));s&&await oxr(t,s)}var ZUe=L(z());async function nq(t,e,i=!1,o){let r,n,a;switch(t){case"PCB_2D":{if(e==="fileImage")return KUe(t);break}case"PCB_3D":{if(e==="fileImage")return KUe(t);break}case"PCB":{if(e==="fileImage")return KUe(t);await XS.getInstance().initData(),r=(0,ZUe.jsx)(LAi,{isPrint:i,originInfo:o}),n=I8i;break}case"SCH":{let{list:s,value:l}=await q8i();r=(0,ZUe.jsx)(NAi,{fileType:e,objectList:s,defaultExportObject:l,isPrint:i}),n=_6t;break}case"SIMULATION":{let{list:s,value:l}=await X8i();r=(0,ZUe.jsx)(OAi,{fileType:e,objectList:s,defaultExportObject:l,isPrint:i}),n=_6t;break}default:throw new Error(`export-document: unValid source type(${t})`)}Zl.getInstance().setData(),le.open({id:M8i,title:xUe[t][e],width:n,height:a,esc:!0,onClose:()=>{le.destroy()},remove:!0,children:r})}var gIt=[{name:"Pad",value:"Pad"},{name:"Via",value:"Via"},{name:"Track",value:"Track"},{name:"Text",value:"Text"},{name:"Image",value:"Image"},{name:"Dimension",value:"Dimension"},{name:"Board Outline",value:"BoardOutline"},{name:"Slot Region",value:"BoardCutout"},{name:"Copper Region(Filled)",value:"CopperFilled"},{name:"Fill Region",value:"SolidRegion"},{name:"FPC Stiffener",value:"FPCStiffener"},{name:"Line",value:"Line"},{name:"Plane Zone",value:"PlaneZone"},{name:"Component Property",value:"ComponentProperty"},{name:"Component Silkscreen",value:"ComponentSilkscreen"},{name:"TearDrop",value:"TearDrop"}];function one(t){switch(t){case ve.PCB:case ve.FOOTPRINT:case ve.FOOTPRINT:return"PCB";case ve.VIEW3D:return"PCB_3D";case ve.PHOTOVIEW:return"PCB_2D";case ve.SIMULIDE:case ve.NGSPICE:return"SIMULATION";default:return"SCH"}}function jAi(t){var e,i;switch(t){case"altium":{gUe();break}case"pads":{gUe(g8i);break}case"disa-4001":{let o=t,r=dt();(Zie(r)?qre(o):sD(o)).then(a=>{aH(a,o)})}case"print":return C.messageBus.publish("printSheets");case"fileImage":case"filePdf":case"fileSVG":if(Wn()){let o=x8i[t];return lH({fileType:o})}else return nq(one(dt()),t);case"panelProductionSVG":{let o=dt();if(Wn(o)){let r;return o===ve.PANEL3D&&(r=(i=(e=he.getActiveTabData())==null?void 0:e.data)==null?void 0:i["panel-uuid"]),Xre({type:t,openCallback(){setTimeout(()=>{C.messageBus.publish("panel/doCommand",["panelPreview2D",[GJ,t,r]])},100)}})}if(o==ve.PANEL3D)return C.messageBus.publish("/panel/3d/download")}default:return console.warn("\u65E0\u6548\u7684\u5BFC\u51FA\u6587\u4EF6\u7C7B\u578B")}}function rxr(t,e,i){let{schematics:o,boards:r,pcbs:n,footprints:a,symbols:s}=t||{};if(!(o||n||r||a||s)){Ot("warn",'<span class="i18n">The data is empty!</span>',"Log",1);return}switch(e){case"altium":nxr(t,i);break;case"pads":axr(t,i);break;case"disa-4001":sxr(t);break}}function nxr(t,e){let{schematics:i,boards:o,pcbs:r,type:n}=t||{},a="Altium",s=ue.formatDate(new Date,"yyyy-MM-dd"),l={},c={},d=g(l,f(t.config.title));if(t.boards)for(let y in t.boards){let w=g(d,f(y)),x=t.boards[y];if(x.schemetic){let S=i[x.schemetic];delete i[x.schemetic],b(w,S,s)}if(x.pcb&&r[x.pcb]){let S=r[x.pcb];if(!S)continue;let T=f(S.fileName);w[T]=va(S.dataStr),delete r[x.pcb],c[T]=S.dataStr}}for(let y in i)b(d,i[y],s);for(let y in r){let w=r[y];if(!w)continue;let x=f(w.fileName);d[x]=va(w.dataStr),c[x]=w.dataStr}t.symbols&&(d[t.symbols.fileName]=va(t.symbols.dataStr),c[t.symbols.fileName]=t.symbols.dataStr),t.footprints&&(d[t.footprints.fileName]=va(t.footprints.dataStr),c[t.footprints.fileName]=t.footprints.dataStr);let u=Object.keys(c);if(u.length==0){De({type:"warn",msg:"No file or export failed!"});return}if(u.length===1){let y=u[0];if(e){let w={fileData:c[y],fileName:y};e(w)}else if(wi){let w=y.slice(0,y.lastIndexOf(".")),x=y.slice(y.lastIndexOf(".")+1);cd(c[y],w,x)}else ya(c[y],y);return}let p=vb(l),m=new Blob([p]),h=`${a}_${f(t.config.title)}_${s}.zip`;e?e({fileData:m,fileName:h}):wi?cd(m,h,"zip"):ya(m,h);function f(y){return y.replace(/\//g,"_")}function g(y,w){return y[w]||(y[w]={}),y[w]}function b(y,w,x){if(!w)return;let S=g(y,f(w.title));for(let T of w.sheets){if(!T)continue;let M=`${f(T.fileName)}`;S[M]=va(T.datastr),c[w.title+M]=T.datastr}}}function axr(t,e){let{schematics:i,pcbs:o}=t||{},r="PADS",n=new JUe.default,a=n.folder(d(t.config.title)),s=ue.formatDate(new Date,"yyyy-MM-dd"),l={};if(t.boards)for(let m in t.boards){let h=a.folder(d(m)),f=t.boards[m];if(f.schemetic){let g=i[f.schemetic];delete i[f.schemetic],u(h,g,s)}if(f.pcb&&o[f.pcb]){let g=o[f.pcb];if(!g)continue;let b=d(g.fileName),y=p(g.dataStr);h.file(b,y),delete o[f.pcb],l[b]=y}}for(let m in i)u(a,i[m],s);for(let m in o){let h=o[m];if(!h)continue;let f=d(h.fileName),g=p(h.dataStr);a.file(f,g),l[f]=g}if(t.symbols){let m=p(t.symbols.dataStr);a.file(t.symbols.fileName,m),l[t.symbols.fileName]=m}if(t.footprints){let m=p(t.footprints.dataStr);a.file(t.footprints.fileName,m),l[t.footprints.fileName]=m}let c=Object.keys(l);if(c.length==0){De({type:"warn",msg:"No file or export failed!"});return}if(c.length===1){let m=c[0];if(e){let h={fileData:l[m],fileName:m};e(h)}else if(wi){let h=m.slice(0,m.lastIndexOf(".")),f=m.slice(m.lastIndexOf(".")+1);cd(l[m],h,f)}else ya(l[m],m);return}n.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:9}}).then(function(m){let h=`${r}_${d(t.config.title)}_${s}.zip`;e?e({fileData:m,fileName:h}):wi?cd(m,h,"zip"):ya(m,h)});function d(m){return m.replace(/\//g,"_")}function u(m,h,f){if(!h)return;let g=m.folder(d(h.title));for(let b of h.sheets){if(!b)continue;let y=`${d(b.fileName)}`,w=p(b.datastr);g.file(y,w),l[h.title+y]=w}}function p(m){return new Blob([_Ai.default.encode(m,"GB18030")])}}function sxr(t){let{config:e,symbols:i=[],footprints:o=[]}=t||{};if(i.length+o.length==0){De({type:"warn",msg:"No file or export failed!"});return}let n=d(e.title),a=new JUe.default,s=a.folder(n),l=i.length>0&&s.folder("symbols"),c=o.length>0&&s.folder("footprints");i.forEach(u=>{l.file(u.title,u.dataStr)}),o.forEach(u=>{c.file(u.title,u.dataStr)}),a.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:9}}).then(function(u){let p=ue.formatDate(new Date,"yyyy-MM-dd"),m=`DISA_${n}_${p}.zip`;wi?cd(u,m,"zip"):ya(u,m)});function d(u){return u.replace(/\//g,"_")}}function BAi(t,e,i){let o=new JUe.default,{schematics:r}=t;switch(i){case 0:{Object.values(r).forEach(a=>{let s=o.folder(a.title);for(let l of a.sheets){if(!l)continue;let c=l.fileName.replace(/[\/\\:*?"<>|]/g,"_");s.file(c,l.datastr)}});break}case 1:case 2:{let a=Object.values(r)[0].sheets[0];ya(a.datastr,e.replace(/[\/\\:*?"<>|]/g,"_")+".dxf");return}default:{let n=r[i],a=o.folder(n.title);for(let s of n.sheets){if(!s)continue;let l=s.fileName.replace(/[\/\\:*?"<>|]/g,"_");a.file(l,s.datastr)}break}}o.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:9}}).then(function(n){let a=e+".zip";wi?cd(n,a,".zip"):ya(n,a)})}function rne(t){let e=[1,2,3,4,47].map(a=>({layerId:a})),i=bU.map(a=>a.value),o=[1,2,3,4,7,8,5,6,58,59,11,14,9,10];for(let a=15;a<=46;a++)o.push(a);let r=o.map(a=>({check:!0,layerId:a,isMirror:!1})),n=gIt.map(a=>a.value);return t&&(e=r,i=n),{layers:e,objects:i}}function aH(t,e,i){t&&rxr(t.result,e,i)}function f1e(t,e,i="",o=!0){if(window.Blob){t="\uFEFF"+t;let r=new Uint8Array(t.length<<1);for(let s=0;s<t.length;s++){let l=t.charCodeAt(s);r[s<<1]=l&255,r[(s<<1)+1]=(l&65280)>>8}let n=[e,i,o?ue.formatDate2(new Date,"yyyy-MM-dd"):""].filter(Boolean).join("_"),a=new Blob([r]);ya(a,n+".csv")}else De({type:"error",msg:"Sorry, your web browser does not support this feature. Please run a modern browser.",timer:4})}var zAi=[{text:"Import Config",style:{float:"left",marginRight:"8px",display:"none"},disabled:!1,command:"importConfig"},{text:"Export Config",style:{float:"left",marginRight:"8px",display:"none"},disabled:!1,command:"exportConfig"},{text:"Order PCB",style:{marginRight:"8px"},type:"primary",disabled:!1,command:"orderPcb"},{text:"Save as Attachment",style:{marginRight:"8px"},type:"primary",disabled:!1,command:"saveAsAttachment"},{text:"Confirm",style:{marginRight:"8px"},type:"primary",disabled:!1,command:"confirm"},{text:"Export Gerber",style:{marginRight:"8px"},type:"primary",disabled:!1,command:"exportGerber"},{text:"Cancel",command:"cancel"}],bIt={unit:"MM",format:{Integer:"4",Decimals:"5"}},yIt={unit:"IN",format:{Integer:"3",Decimals:"6"}};var FAi=t=>{let e=t?"odb_exportConfig":"gerber_exportConfig",i="gerber_unitFormat",o=mt.getKeyValue(e)||{},r=mt.getKeyValue(i),n=Rg(lxr(o)),a=Rg(t?yIt:bIt);return r&&(a=Rg(r).unit=="MM"?bIt:yIt,t&&(a.unit="IN")),{getExportConfigs:n,getUnitFormat:a}},lxr=(t,e)=>{if(!t.default){let{layers:r,objects:n}=rne(!0);t=Object.assign({default:{layerConfigs:r,objectConfigs:n,active:!0}},t)}let i=!1,o=0;for(let r in t){if(o>20){delete t[r];continue}if(!i&&t[r].active){i=!0;continue}i&&(t[r].active=!1),o++}return i||(t.default.active=!0),t},qUe=async()=>{let t=await ei(),{message:e}=await C.windowBridge.rpcCall("gerberLayerConfig","",t.contentWindow);return eq(e),e.filter(i=>i.status!==0)},CSe=(t,e)=>{Dt({icon:e,content:t,confirmText:"Confirm",closed:!0,width:420,height:200})},wIt=t=>{let e=It.getActiveTab(It.containerInfo["editor-window-main"].id);t==="ODB++"?(Pl("23"),C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.ODBPLUSS_EXPORT,content:{"Scope Name":e?e.title:""},project_uuid:C.currentProject.projectId}])):t==="GERBER"&&(Pl("4"),C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.GERBER_EXPORT,content:{"Scope Name":e?e.title:""},project_uuid:C.currentProject.projectId}]))};async function UAi(t){return new Promise(async e=>{let i=await ei(),o=(await C.windowBridge.rpcCall("checkFpcNeedToAvoid",t,i.contentWindow)).message;if(!o||o.length==0)return e("continue");document.activeElement&&document.activeElement.blur();let r="toAvoidModel";Dt({id:r,title:"Warning",icon:"warning",content:"Stiffener overlaps pads, board outlines, or slot holes. Perform a right-click cutout operation on the stiffener to avoid overlaps. Continue export?",showCancel:!0,onConfirm:a,onCancel:s,onClose:l,closed:!0,esc:!0,confirmText:"Go to cutout",cancelText:"Continue Exporting"});function a(){C.windowBridge.publish("highlightItems",{globalIndexArr:o,needAdaptAll:!0},i.contentWindow),e("toAvoid")}function s(){le.destroy(r),e("continue")}function l(){le.destroy(r),e("closeDlg")}})}async function aq(t={},e){try{vt(1/4,"Order PCB...");let i=await dxr(t,e),o=await uxr(void 0,void 0,t.checkDFM),r=await pxr(void 0,t.checkDFM);if(!i)throw De({type:"info",msg:"Gerber data is empty!",timer:2.5}),vt(1,"Order PCB..."),new Error("Invalid File Data Content");De({type:"info",msg:"Processing...",timer:2.5});let n=eVe(he.getActiveTab().split("@")[0]),a=await Ra(),s=await(await C.windowBridge.rpcCall("pcbOrderGetPcbInfo","",a)).message,l={layer:s.info.TotalCoppers,width:s.outerBBoxW,length:s.outerBBoxH,qty:5,thickness:1.6,color:"Green",surface_finish:"HASL(with lead)",copper_weight:1},{message:c}=await C.messageBus.rpcCall($e.PROJECT.GET,[C.currentProject.projectId]),d={gerber:i.fileContent,bom:(o==null?void 0:o.fileContent)||null,coordinate:(r==null?void 0:r.fileContent)||null,pickAndPlace:(r==null?void 0:r.fileContent)||null,gerber_name:cxr(),edaActivity:(c==null?void 0:c.competition_path)||null,...l};if(t.checkDFM&&(d.gerberData=i,d.bomData=o,d.coordinateData=r),t.checkDFM)return d;let u=await TIt(`/api/pcb_order/${n}/save`,d);if(u.ret==0){let p=me.i18n("Order data(Gerber, Pick and Place file, BOM) generated finish, please click OK button and continue."),m=me.i18n("Order PCB");xIt(u.data.result.url,p,m),fxr(t,u.data.result.url)}setTimeout(()=>{u.ret!==0&&Zme()},5e3)}catch{vt(1,"Order PCB...")}}function cxr(){let t=$Ue((he.getActiveProjectTitle()+"_"+he.getTabTitle()).slice(0,80)),e=new Date,i=e.getFullYear(),o=(e.getMonth()+1).toString().padStart(2,"0"),r=e.getDate().toString().padStart(2,"0"),n=e.getHours().toString().padStart(2,"0"),a=e.getMinutes().toString().padStart(2,"0"),s=e.getSeconds().toString().padStart(2,"0");return t+=`_${i}${o}${r}_${n}${a}${s}.zip`,t}var CIt={".lst":"application/octet-stream",".xls":"application/vnd.ms-excel",".csv":"text/csv",".zip":"application/zip"},HAi=t=>{let e=new Uint8Array(t.length*2+2);e[0]=255,e[1]=254;for(var i=0;i<t.length;i++){let o=t.charCodeAt(i);e[2+i*2+1]=(o&65280)>>8,e[2+i*2]=o&255}return e};async function dxr(t,e){let i=await ei(),o=G0()||"",r=wa()||"",n=_o(),a=mt.getLanguage(),l=`Gerber_${(D=>D.replace(/[\\\/:*?"<>|;]+/g," ").replace(/\s\s+/g," ").trim().replace(/ /g,"_"))(o)}_${ue.formatDate2(new Date,"downProject")}`,c=".zip",d="MM",u={Integer:"4",Decimals:"5"},p=!0,m=["PTH","NPTH"],h=!0,f=!0,g=await qUe(),{objects:b}=rne(!0),y=g.map(D=>(D={layerId:D.layerId,isMirror:!1},D));y.push({layerId:56,isMirror:!1});let w=b,x=au.getCurrentVersion(),S=CIt[c],T={title:o,fileUuid:r,userUuid:n,language:a,fileName:l,unit:d,format:u,silk:t.silk!==void 0?t.silk:p,drillMap:m,drillTable:h,flyingProbe:f,layerConfigs:y,objectConfigs:w,mainVersion:x,type:"oneKeyExport",needDownLoad:t.needDownLoad},M=t.mainVersion?t:T,I=await C.windowBridge.rpcCall("checkFormatBeforeGerber",M,i.contentWindow);if(!I.message.isQualified)throw Ot("fatalError",Ti("Export failed! The selected format: integer {integerNumber} , decimal {decimalNumber} is too small to meet the accuracy requirements of the current document",{params:{integerNumber:`${I.message.format.Integer}`,decimalNumber:`${I.message.format.Decimals}`}}),void 0,!0),new Error("The accuracy requirements is too small");M.format=I.message.format,!t.checkDFM&&await SIt(e,I.message.outOfArr,M.silk,!0);let A=await C.windowBridge.rpcCall("exportGerberData",M,i.contentWindow);if(vt(1,"Export Gerber..."),A.message.error)throw A.message.error;return A.message&&A.message.data?{fileContent:new Blob([A.message.data],{type:S}),mimeType:S,fileName:l,fileType:c}:null}async function uxr(t="name",e=".csv",i=!1){let o=await Ra(),r=await C.windowBridge.rpcCall("getBomInfo","",o),n=!0;(!r||!r.message||!r.message.length)&&(n=!1);let a="Add into BOM",s="attrs",l=r.message.map(p=>p&&p.filter(m=>m&&m[s]?m[s][a]==="yes":!0)).filter(p=>p.length>0),c=n?await C.messageBus.rpcCall("handlePassBomCsv",{symbols:l,fromOrderPCB:!0}):null,d=(c==null?void 0:c.message)||[],u=[];if(i)for(let p=0;p<d.length;p++){let h=d[p].split("	");if(h.length>1&&p!==0){let f=h[3].split(",");u.push(f)}}if(e===".csv"){let p=CIt[".csv"];return{fileContent:new Blob([HAi(d.join(""))],{type:p}),fileType:e,mimeType:p,fileName:t,symbols:i?l:void 0,bomListIndexArr:i?u:void 0}}if(e===".xlsx"){let p=d.join(""),m=kp.EXCEL_TYPE,h=new kp({name:t}),f=p.split(`
`),g=[],b=[];if(f&&f.length){for(let x=0;x<f.length;x++)g.push(f[x].split("	"));g.shift().forEach(x=>{b.push({header:x,key:x,width:20})});let y=h.addSheet(t,{columns:b});h.addRowsToSheet(y,g);let w=await h.workbook.xlsx.writeBuffer();if(w)return{fileContent:new Blob([w],{type:kp.EXCEL_TYPE}),fileType:e,mimeType:m,fileName:t}}}return null}function pxr(t="csv",e=!1){let i=he.getActiveTab(),r=`PickAndPlace_${he.getTabTitle(i)||"PCB"}_${Rs(void 0,"yyyy-MM-dd")}`,n=SEi(),a={isOnlyCreateData:!0,coordinates:"footprintCenter",fileName:r,fileType:t,btmLayerCoordinateType:mxr(n,e),isContainPanelized:n.isContainPanelized,isContainPanelMarkCoord:n.isContainPanelMarkCoord,attrHeads:e?hxr():n.attrTableRows,unit:e?"mm":void 0};return XUe(a,e)}function mxr(t,e=!1){return e?null:t.isExportBtmLayerCoordinate?t.btmLayerCoordinateType:null}function hxr(){return[{key:"Designator",title:"Designator"},{key:"Device",title:"Device"},{key:"Footprint",title:"Footprint"},{key:"Mid X",title:"Mid X"},{key:"Mid Y",title:"Mid Y"},{key:"Ref X",title:"Ref X"},{key:"Ref Y",title:"Ref Y"},{key:"Pad X",title:"Pad X"},{key:"Pad Y",title:"Pad Y"},{key:"Pins",title:"Pins"},{key:"Layer",title:"Layer"},{key:"Rotation",title:"Rotation"},{key:"SMD",title:"SMD"},{key:"Name",title:"Comment"},{key:"Supplier Part",title:"Supplier Part"},{key:"Supplier Footprint",title:"Supplier Footprint"}]}async function XUe(t,e=!1){let i=await Ra(),o=await C.windowBridge.rpcCall("exportCoordinateFileRPC",{formData:t},i);if(console.info("exportCoordinateFileRPC",o==null?void 0:o.message),!o||!o.message)return null;let{head:r,result:n,data:a}=o.message;if(t.fileType=="csv"||t.fileType=="txt"){let s=CIt[".csv"],l=ue.createCSVString(r,n);return l?{fileContent:new Blob([HAi(l)],{type:s}),fileType:t.fileType,fileName:t.fileName,mimeType:s,coordinateData:e?o.message:void 0}:null}if(t.fileType=="xlsx"){let s=kp.EXCEL_TYPE,l=new kp({name:t.fileName}),c=[],d=t.fileName.replace(/[ \[\]:\\/\?*]/g,"-");if(r&&r.length){r.forEach(m=>{c.push({header:m,key:m,width:20})});for(let m of n)m=m.map(h=>h.toString());let u=l.addSheet(d,{columns:c});l.addRowsToSheet(u,n);let p=await l.workbook.xlsx.writeBuffer();if(p)return{fileContent:new Blob([p],{type:s}),fileType:t.fileType,fileName:t.fileName,mimeType:s}}}return null}async function xIt(t="",e,i,o="Confirm"){t&&(vt(1,"Order PCB..."),Dt({title:i,content:e,icon:"warning",confirmText:o,showCancel:!0,onConfirm:()=>{window.open(t,"_blank"),Pl("8")},closed:!0}))}async function TIt(t="",e){let i=new FormData;return Object.keys(e).forEach((o,r)=>{i.append(o,e[o])}),new Promise((o,r)=>{_t&&(t=`${window.location.origin}${t}`),VAi.default.ajax({url:t,type:"POST",data:i,cache:!1,contentType:!1,processData:!1,success(n,a){if(!n||n.error){o({ret:-1,data:null,remote:n});return}o({ret:0,data:n,remote:null})},error(){o({ret:-1,data:null,remote:null})}})})}async function SIt(t,e,i=!1,o=!1){let r=await ei();return new Promise((n,a)=>{C.windowBridge.rpcCall("checkBorderBeforeGerber","",r.contentWindow).then(s=>{if(!s.message)return nSe("This PCB doesn't draw the board outline layer lines please check, do you want to continue? Order at JLCPCB the board outline will not be recognized.","OK","Cancel")}).then(async s=>{if(s&&s.action==="ok"&&t&&le.close(t),s&&(s.action==="close"||s.action==="cancel"))return vt(1,"Order PCB..."),Promise.reject("cancel");if(e.length){let u=await nSe("Found some objects are far away from board outline, whether if move them to board outline bottom right corner\xA0for adjust?","OK","Cancel");if(u&&u.action==="ok")t&&le.close(t),await C.windowBridge.rpcCall("setCoordToOriginLowerRightCorner",e,r.contentWindow);else if(u&&u.action==="close")return vt(1,"Order PCB..."),Promise.reject("cancel")}return i&&await sSe(t),C.windowBridge.rpcCall("checkRatlineBeforeGerber","",r.contentWindow)}).then(s=>{if(s.message)return RMt("isCheckNetBeforeGerber")?nSe("Found incomplete connection(ratlines), do you want to check the ratline?","Yes, Check Ratline","No, Continue Exporting","checkRatlineDlg"):null}).then(s=>s&&s.action==="ok"?($a.leftPanelOnClick(Za.PROJECT_DESIGN),$a.projectDesignTabOnClick(ar.PCBNET,!0),C.messageBus.publish("jumpToRatlineSubscribe",""),t&&le.close(t),vt(1,"Order PCB..."),Promise.reject("cancel")):s&&s.action==="close"?(vt(1,"Order PCB..."),Promise.reject("cancel")):C.windowBridge.rpcCall("checkDrcBeforeGerber","",r.contentWindow)).then(s=>{if(!RMt("isCheckDrcBeforeGerber"))return null;if(s.message)return nSe("Do you want to check the DRC first?","Yes, Check DRC","No, Continue Exporting","checkDrcDlg")}).then(async s=>{if(s&&s.action==="ok"){if(t&&le.close(t),await xEi())return vt(1,"Order PCB..."),Promise.reject("cancel")}else if(s&&s.action==="close")return vt(1,"Order PCB..."),Promise.reject("cancel");return await UAi()}).then(s=>s=="toAvoid"?(t&&le.close(t),vt(1,"Order PCB..."),Promise.reject("cancel")):s=="closeDlg"?(vt(1,"Order PCB..."),Promise.reject("cancel")):n({message:null})).catch(s=>{})})}function fxr(t,e){let i={is_success:!0,file_name:e,unit:t.mainVersion?t.unit:"MM",format:t.mainVersion?t.format:{Integer:"3",Decimals:"5"},is_onekey_export:t.mainVersion?t.type==="oneKeyExport":!0,is_use_colorfulSilkscreen:t.mainVersion?!!t.silk:!1,custom_config:t.mainVersion?{layerConfigs:t.layerConfigs,objectConfigs:t.objectConfigs}:{},is_order:!0};C.messageBus.publish("sensorsEventsReport",{eventName:"export_gerber",eventData:i})}async function VP(t){try{await ii("create-differentail-pair",t)}catch(e){console.warn(e)}}async function tVe(){var n,a,s,l,c,d;let t=(await C.messageBus.rpcCall("getNlNetBySchematicId",he.getActiveTab())).message,e=(await C.messageBus.rpcCall("sch/generateAutoDifferentialPair",he.getActiveTab())).message;e=e.map(u=>({name:u.name,isAuto:!0,sub:[{name:u.positiveNet,type:"net"},{name:u.negativeNet,type:"net"}]})).sort((u,p)=>u.name.localeCompare(p.name));let i=(await C.messageBus.rpcCall("sch/getDifferentialPairData",he.getActiveTab())).message;i.sort((u,p)=>u.name.localeCompare(p.name));let o=Object.keys(t).map(u=>({value:u,text:u,showOriginalText:!0})).sort((u,p)=>String(u.value).localeCompare(String(p.value),void 0,{numeric:!0}));i=[...e,...i];let r={differentailPairName:((n=i[0])==null?void 0:n.name)||"DP1",differentailPairPositiveNet:((s=(a=i[0])==null?void 0:a.sub[0])==null?void 0:s.name)||"",differentailPairNegativeNet:((c=(l=i[0])==null?void 0:l.sub[1])==null?void 0:c.name)||"",differentailPairList:i,isAuto:((d=i[0])==null?void 0:d.isAuto)||!1,isEdit:i.length>0,netOptions:o};try{await ii("create-differentail-pair",r)}catch(u){console.warn(u)}}var AC=L(Vi());var gxr=L(Hr());var WAi=L(YAi());var bxr=L(z()),fhs=be.bind(WAi.default.locals);var $j=new class extends qe{constructor(){super(...arguments);this.id="3d-preview-toolbar";this.data=[{title:"Normal View",cmd:"toggleView(normal)",icon:"icon-eda-3d-preview-normalview",selectType:1,onClick:e=>{}},{title:"Outline View",cmd:"toggleView(outline)",icon:"icon-eda-3d-preview-outlineview",selectType:1},{title:"Gerber View",cmd:"toggleView(gerber)",icon:"icon-eda-3d-preview-gerberview",selectType:1,unForWorking:[se.PANEL3D]},{title:"Top Side",cmd:"toggleView(top)",icon:"icon-eda-3d-preview-top",class:"breakline-before"},{title:"Bottom Side",cmd:"toggleView(bottom)",icon:"icon-eda-3d-preview-bottom"},{title:"Left Side",cmd:"toggleView(left)",icon:"icon-eda-3d-preview-left"},{title:"Right Side",cmd:"toggleView(right)",icon:"icon-eda-3d-preview-right"},{title:"Front Side",cmd:"toggleView(front)",icon:"icon-eda-3d-preview-front"},{title:"Back Side",cmd:"toggleView(back)",icon:"icon-eda-3d-preview-back",class:"breakline-after"},{title:"Explode",cmd:"toggleView(explode)",icon:"icon-eda-3d-preview-explode",selectType:2,unForWorking:[se.PANEL3D]},{title:"Fit All in Window",cmd:"toggleView(adaptAll)",icon:"icon-eda-view-fit-all"},{title:"Import Changes",cmd:"toggleView(importChanges)",icon:"icon-eda-changes-import"},{title:"Refresh",cmd:"toggleView(refresh)",icon:"icon-eda-refresh"}]}get selectedItem(){let e=this.data.find(i=>i.selectType===1&&i.selected);return e?{...e}:null}setData(e){this.data=e,this.notify()}isForDocType(e=dt()){return e==se.PANEL3D||e===se.VIEW3D}switchViewType(e){let i=[...this.data],o=`toggleView(${e})`;i.forEach(r=>{r.selected=r.cmd===o}),this.setData(i)}setExplodeSelected(e){let i=[...this.data],o=i.find(r=>r.title==="Explode");o.selected=!!e,this.setData(i)}showForDocType(e){this.isForDocType(e)?this.docType=e:this.docType=void 0;let i=wI.get(wa());if(i){let o=[...this.data],r=`toggleView(${i.viewStatus})`;o.forEach(n=>{n.selected=n.cmd===r}),e==se.VIEW3D&&xSe.refresh()}this.notify()}};var MIt=class{constructor(){this._ratio=0;this.lineLeft=20;this.ballRadius=7;(0,AC.default)("#slideBar").length==0&&(this.$slideBar=this.getTemplate(),(0,AC.default)("#3d-preview-toolbar").after(this.$slideBar),this.$slideBar.hide()),this.$slideBar.on("mousedown",i=>{if((0,AC.default)(i.target).hasClass("step")||(0,AC.default)(i.target).parent().hasClass("step")){let o;(0,AC.default)(i.target).hasClass("add")||(0,AC.default)(i.target).parent().hasClass("add")?o=.05:o=-.05,this.ratio=this._ratio+o;return}(0,AC.default)(document).off("mousemove.slidebar"),(0,AC.default)(document).off("mouseup.slidebar"),this.update(i.clientX),(0,AC.default)(document).on("mouseup.slidebar",function(o){(0,AC.default)(document).off("mousemove.slidebar"),o.stopPropagation&&o.stopPropagation()}),(0,AC.default)(document).on("mousemove.slidebar",o=>{this.update(o.clientX),o.stopPropagation&&o.stopPropagation()}),i.stopPropagation&&i.stopPropagation()})}refresh(){let e=wI.get(wa());e?(this.setVisible(e.explode),this.ratio=e.explodeRatio):this.setVisible(!1)}setVisible(e){$j.setExplodeSelected(e),e?this.$slideBar.show():this.$slideBar.hide()}getTemplate(){return(0,AC.default)(`<div id="slideBar" class="toolbar">
			<div>
				<div class="step minus"><i class="icon-eda-remove" style=""></i></div>
				<div class="step add"><i class="icon-eda-add"></i></div>
				<div class="line line1" style="left: ${this.lineLeft}px"></div>
				<div class="ball" style="width: ${this.ballRadius*2}px; height: ${this.ballRadius*2}px;"></div>
				<div class="line line2" style="left: ${this.lineLeft}px"></div>      
			</div>
        </div>`)}update(e){let i=this.$slideBar,r=(0,AC.default)(".line1",i).width();this.ratio=(e-(this.$slideBar.offset().left+this.lineLeft))/r}get ratio(){return this._ratio}set ratio(e){let i=Math.min(Math.max(e,0),1);this._ratio=i,wI.get(wa()).explodeRatio=this._ratio,he.getTabIFrame(he.getActiveTab()).then(c=>{C.windowBridge.publish("toggle3DView",{cmd:`explode ${this.ratio}`},c.contentWindow)});let o=this.$slideBar,r=(0,AC.default)(".ball",o),n=(0,AC.default)(".line1",o),a=(0,AC.default)(".line2",o),s=n.width(),l=i*s;a.css("width",l+"px"),r.css("left",l-this.ballRadius+this.lineLeft+"px")}},xSe=new MIt;var TSe=class TSe{static async order3DShell(){var o,r,n;if(!await TSe.checkHas3DPrimitive())return;Ts();let i={};if(i.name=G0(),!dh(i.name,1)){Zr();return}try{i.type="stl";let a=await ei();i.getType="get3DShellData";let s=await C.windowBridge.rpcCall("/pcb/3d/shell/export_inframe",i,a.contentWindow),{sensorsData:l}=s.message,c=new Blob([s.message.data],{type:"application/zip"}),d=he.getActiveTab();he.getTabDocType(d)==se.VIEW3D&&(d=(r=(o=he.getTabById(d))==null?void 0:o.data)==null?void 0:r.pcbid);let p=C.apis.projects.order3DShell,m=$Ue((he.getActiveProjectTitle()+"_"+he.getTabTitle()).slice(0,80)),h=new Date().getFullYear(),f=(new Date().getMonth()+1).toString().padStart(2,"0"),g=new Date().getDate().toString().padStart(2,"0"),b=new Date().getHours().toString().padStart(2,"0")+new Date().getMinutes().toString().padStart(2,"0")+new Date().getSeconds().toString().padStart(2,"0"),y=`${m}_${h}${f}${g}_${b}.zip`,w={"3dshell":c,uuid:eVe(wr(d)[0]),shell_name:y},x=await TIt(p,w);if(x.ret==0)if((n=x.data)!=null&&n.success){let S=me.i18n('Order data generate successfully, please click "OK" button and continue.'),T=me.i18n("Order 3D Shell");xIt(x.data.result.url,S,T,me.i18n("Confirm")),C.messageBus.publish("sensorsEventsReport",{eventName:"export_3dshell",eventData:{is_success:!0,file_name:x.data.result.url,file_type:i.type,is_order:!0,shell_document_number:l.documentNumber3D}})}else De({type:"info",msg:"Order failed! Please try again later or contact with user support"});else setTimeout(()=>{x.ret!==0&&Zme()},1e3)}finally{le.close(TSe.id),Zr()}}static async checkHasBoarder(){var r,n;let e=await ei();if(dt()==se.VIEW3D){let a=he.getActiveTab(),s=(n=(r=he.getTabById(a))==null?void 0:r.data)==null?void 0:n.pcbid;e=await he.getTabIFrame(s)}if(!(await C.windowBridge.rpcCall("checkHasBoardBeforeExport3DShell","",e.contentWindow)).message){let s=me.i18n(`Export failed, doesn't found 3D shell objects, please draw them first at "Place" menu`);return Ut({type:"warn",message:s}),!1}return!0}static async checkHas3DPrimitive(){var r,n;let e=await ei();if(dt()==se.VIEW3D){let a=he.getActiveTab(),s=(n=(r=he.getTabById(a))==null?void 0:r.data)==null?void 0:n.pcbid;e=await he.getTabIFrame(s)}if(!(await C.windowBridge.rpcCall("checkHas3DPrimitiveBeforeExport3DShell","",e.contentWindow)).message){let s=me.i18n(`Export failed, doesn't found 3D shell objects, please draw them first at "Place" menu`);return Ut({type:"warn",message:s}),!1}return!0}};TSe.id="export3DShellFile";var HP=TSe;var nB=L(Se());var vVe=L(dD());var TNi=L(Se()),SNi=L(dD());var ZAi=L(Se());var rVe=class extends L3{constructor(){super(),this.requestTypes=["5"]}};var eB=class extends qe{constructor(){super(),this._footprintItem=null,this._isShowLoading=!0,this._needLockMask=!0,this._unit=b5e,this._checkModeKey="padDimension",this._viewSizeModeKey="normal",this._hightlightIds=[],this._isCanvasRenderering=!1,this._iframeId=void 0}set footprintItem(e){this._footprintItem=e,this.notify()}get footprintItem(){return this._footprintItem}set isShowLoading(e){this._isShowLoading=e,this.notify()}get isShowLoading(){return this._isShowLoading}set needLockMask(e){this._needLockMask=e,this.notify()}get needLockMask(){return this._needLockMask}set unit(e){this._unit=e,this.notify()}get unit(){return this._unit}set checkModeKey(e){this._checkModeKey=e,this.notify()}get checkModeKey(){return this._checkModeKey}set viewSizeModeKey(e){this._viewSizeModeKey=e,this.notify()}get viewSizeModeKey(){return this._viewSizeModeKey}set hightlightIds(e){this._hightlightIds=e,this.notify()}get hightlightIds(){return this._hightlightIds}set isCanvasRenderering(e){this._isCanvasRenderering=e,this.notify()}get isCanvasRenderering(){return this._isCanvasRenderering}set iframeId(e){this._iframeId=e,this.notify()}get iframeId(){return this._iframeId}baseExit(){this.footprintItem=null,this.isShowLoading=!0,this.unit=b5e,this.checkModeKey="padDimension",this.viewSizeModeKey="normal",this.iframeId=void 0,this.footprintItem=Pg.createEmptyFootprintItem(),this.needLockMask=!0}setLoadingStatus(){this.isShowLoading=!0,this.footprintItem=null}};var nVe=class extends eB{constructor(){super()}};var aVe=class extends dm{constructor(){super()}};var sVe=class extends D3{constructor(){super(),this.searchPlaceHolder="Search, at lease 2 charaters"}};var SSe={text:"Confirm",cmd:"confirm"},IIt={text:"Update",cmd:"update"},LIt={DEVICE_DIALOG:SSe,PCB_CANVAS_TOP_MENU:IIt,BOTTOM_TABLE_LINK_D3MODEL:SSe,SYMBOL_EDIT:SSe};var lVe=class extends nf{get dataType(){return Tt.MODEL3D}constructor(){super(),this._docType="16",this._tableCols=this.createTableColsProfile()}set docType(e){this._docType=e}get docType(){return this._docType}set tableCols(e){this._tableCols=e}get tableCols(){return this._tableCols}createTableColsProfile(){return[{key:"numberIndex",name:"No.",sortable:!0,width:.1},{key:"display_title",name:"Title",sortable:!0,width:.3},{key:"description",name:"Description",sortable:!0,width:.3},{key:"ownerBelong",name:"Belong",sortable:!0,width:.1},{key:"updateTimeString",name:"Update Time",sortable:!0,width:.2}]}filterComponentList(e){let{count:i,page:o,pageSize:r,totalPage:n,lists:a}=e;return this.pageNumber=o||1,this.totalPage=n||1,this.totalCount=i||0,{...e,lists:a.map((s,l)=>{let c=s.owner||{};return{...s,$id:s.uuid,updateTimeString:fC(s),numberIndex:l+1,ownerBelong:c.nickname}})}}async fetchComponentList(e,i,o,r=50,n=[],a=-1){let s={isProject:i===C.currentProject.projectId,uid:e,path:i,page:o,pageSize:r,type:a,docType:[+this.docType],tags:n};this.componentListRequestId=Mt(),n.includes("@Uncategorized")&&(s.tagNotExists=!0);try{let l;return+this.docType===ve.FOOTPRINT?l=await Ze.getFootprintList(s):l=await Ze.getSymbolList(s),{success:!0,result:this.filterComponentList(l),requestId:this.componentListRequestId}}catch(l){return{success:!1,message:l.message,requestId:this.componentListRequestId}}}async fetchComponentListBySearchOnMixin(e,i,o,r=_e.DEFAULT_PAGESIZE,n=[],a=-1,s=""){let l=Ft(this.libList,"id",this.projectsIds[0]),c={};l.index>=0&&(c.preojectId=l.data.id),c.isSelectedProjectLib=this.selectedLibIds.includes(this.projectsIds[0]),this.componentListRequestId=Mt();let d=bo.getInstance().usedId,u={isProject:d===C.currentProject.projectId,uid:d,path:d,pageSize:r,page:o,wd:s,returnListStyle:"classifyarr",type:a,docType:[+this.docType]},p;try{+this.docType===ve.FOOTPRINT?p=await Ze.getFootprintSearchList(u):p=await Ze.getSymbolSearchList(u)}catch(T){return{success:!1,message:T.message,requestId:this.componentListRequestId}}let m=this.filterComponentListBySearch(p),h=ue.deepClone(this.libList),f=Ft(h,"id",bo.getInstance().usedId);f.index>=0&&h.splice(f.index,1);let g=await As.fetchD3ModelListBySearchOnLocaleFolder(e,h,i,s,r);if(g.code!==0)return{...this.toResponse3Result(g),requestId:this.componentListRequestId};let b=this.filterComponentListBySearch(g.result),y={count:+m.count+ +b.count,page:o,pageSize:r,totalPage:Math.max(+m.totalPage,+b.totalPage),uid:e,wd:s,lists:{},facets:{}},w=this.selectedLibIds[0],x=Object.keys(m.facets),S=Object.keys(b.facets);return y.lists[w]=[],x.indexOf(w)>=0&&(y.lists[w]=m.lists[w]),S.indexOf(w)>=0&&(y.lists[w]=b.lists[w]),y.facets={...m.facets,...b.facets},this.facets=y.facets,this.totalCount=Number.isSafeInteger(+this.facets[w])?+this.facets[w]:y.count||0,{code:0,success:!0,result:y,requestId:this.componentListRequestId}}async fetchComponentListOnLocaleFolder(e,i,o,r){let n=await As.fetchD3ModelListOnLocaleFolder(e,i,o,r);return n.code===0?{...n,result:this.filterComponentList(n.result),requestId:this.componentListRequestId}:n}filterComponentListBySearch(e){let{count:i,page:o,pageSize:r,totalPage:n,lists:a,facets:s={}}=e;this.pageNumber=+o||1,this.totalPage=+n||1;let l={},c=Object.keys(s);for(let p=0;p<c.length;p++){let m=c[p];if(m===bo.getInstance().usedFacetsKey){let h=Ft(this.libList,"id",bo.getInstance().usedId);h.index>=0&&(l[h.data.id]=s[m]);continue}if(m===_e.USERLIB_ALIAS){let h=Ft(this.libList,"id",C.loginedUserInfo.uuid);h.index>=0&&(l[h.data.id]=s[m]);continue}l[m]=s[m]}this.facets=l;let d=this.selectedLibIds[0];this.totalCount=Number.isSafeInteger(+this.facets[d])?+this.facets[d]:i||0;let u=a||[];return{...e,lists:{[d]:u.map((p,m)=>{let h=p.owner||{};return{...p,$id:p.uuid,updateTimeString:fC(p),numberIndex:m+1,ownerBelong:h.nickname}})},facets:l}}async fetchComponentListBySearch(e,i,o,r=_e.DEFAULT_PAGESIZE,n=[],a=-1,s=""){let l=Ft(this.libList,"id",this.projectsIds[0]),c={};l.index>=0&&(c.preojectId=l.data.id),c.isSelectedProjectLib=this.selectedLibIds.includes(this.projectsIds[0]),this.componentListRequestId=Mt();let d={isProject:e===C.currentProject.projectId,uid:e,pageSize:r,page:o,wd:s?s.toLocaleLowerCase():"",returnListStyle:"classifyarr",type:a,path:i,docType:[+this.docType]};try{let u;return+this.docType===ve.FOOTPRINT?u=await Ze.getFootprintSearchList(d):u=await Ze.getSymbolSearchList(d),{success:!0,result:this.filterComponentListBySearch(u),requestId:this.componentListRequestId}}catch{return{success:!1,requestId:this.componentListRequestId}}}async fetchComponentListBySearchOnLocaleFolder(e,i,o=_e.DEFAULT_PAGESIZE,r){let n=Ft(this.libList,"id",this.projectsIds[0]),a={};n.index>=0&&(a.preojectId=n.data.id),a.isSelectedProjectLib=this.selectedLibIds.includes(this.projectsIds[0]);let s=await As.fetchD3ModelListBySearchOnLocaleFolder(e,this.libList,i,r,o);return s.requestId=this.componentListRequestId,s.code===0?{...s,result:this.filterComponentListBySearch(s.result)}:this.toResponse3Result(s)}toResponse3Result(e){let i=this.selectedLibIds[0],o=e.result;return{...e,result:{...o,lists:{[i]:e.result.lists}}}}async refreshComponentList(e,i,o="",r=[],n=(a,s)=>{}){let a=this.selectedLibIds[0];if(this.facets={},this.componentListLoadStatus="Loading",r[0]===_e.CATEGORY_ITEM_ALL_VALUE&&(r=[]),!o||!o.trim()){let l=null;if(!wi||N0)l=await this.fetchComponentList(e,i,this.pageNumber,this.pageSize,r,this.type);else if(Af)if(e===bo.getInstance().usedId)l=await this.fetchComponentList(e,i,this.pageNumber,this.pageSize,r,this.type);else{let c=Ft(this.libList,"id",e),d=c.index>=0?String(c.data.title):"";l=await this.fetchComponentListOnLocaleFolder(e,d,i,this.pageSize)}else{let c=Ft(this.libList,"id",e),d=c.index>=0?String(c.data.title):"";l=await this.fetchComponentListOnLocaleFolder(e,d,i,this.pageSize)}if(this.componentListRequestId!==l.requestId)return;if((l.code!==0||l.success===!1)&&console.error(l),l.result){let c=l.result.lists||[];c.length>=1?(this.tableData=c,this.componentListLoadStatus=""):(this.tableData=[],this.componentListLoadStatus="No Results!")}else this.componentListLoadStatus="No Results!";this.updateSortKeyValueList("$id"),this.notify(),n("fetch",l);return}let s=null;if(!wi||N0?s=await this.fetchComponentListBySearch(e,i,this.pageNumber,this.pageSize,r,this.type,o.toLocaleLowerCase()):Af?s=await this.fetchComponentListBySearchOnMixin(e,i,this.pageNumber,this.pageSize,r,this.type,o.toLocaleLowerCase()):s=await this.fetchComponentListBySearchOnLocaleFolder(e,i,this.pageSize,o),this.componentListRequestId===s.requestId){if((s.code!==0||s.success===!1)&&console.error(s),s.result){let l=s.result.lists[a]||[];l.length>=1?(this.tableData=l,this.componentListLoadStatus=""):(this.tableData=[],this.componentListLoadStatus="No Results!")}else this.componentListLoadStatus="No Results!";this.updateSortKeyValueList("$id"),n("search",s)}}async refreshComponentItem(e,i,o){this.componentItemLoadStatus="Loading";let r=null;if(Je&&i!==bo.getInstance().usedId)r=(await As.fetchD3ModelItemOnLocaleFolder(e,i)).result;else{let n=await ts.fetchComponentItem(!1,e,i,ve.PCBLIB3D);r=n&&n.result?n.result:null}this.componentItem=r,this.componentItemLoadStatus=this.componentItem?"":"No Results!",C.messageBus.publish("ui/d3model/d3mdialog/conbtndisabledstatus",!1),this.notify(),o&&o(this.componentItem)}clearAllRemoteData(){this.clearSelectedRowsBase(),this.tableData=[],this.componentItem=null}};var dVe=class extends qe{constructor(){super(),this._searchValue="",this._searchPlaceHolder="Filter",this._isInSearchingStatus=!1}set searchPlaceHolder(e){this._searchPlaceHolder=e}get searchPlaceHolder(){return this._searchPlaceHolder}set searchValue(e){this._searchValue=e,this.notify()}get searchValue(){return this._searchValue}set isInSearchingStatus(e){this._isInSearchingStatus=e}get isInSearchingStatus(){return this._isInSearchingStatus}};var g1e=[...Object.values(W_)],vIt=["Description"],MSe=["Footprint","3D Model","3D Model Id","3D Model Title","3D Model Transform","Symbol","NGSpice Model","NGSpice Model Title","Sim Model","Sim Model Title","NGspice Model Path","Sim Model Path"],mc={NORMAL:{type:"NORMAL",msg(){return""}},NO_FOOTPRINT_DATA:{type:"NO_FOOTPRINT_DATA",msg(t){return me.i18n("The component: {0} Can't find this footprint on the server,please reassociate it.",[t])}},NO_FOOTPRINT:{type:"NO_FOOTPRINT",msg(t){return me.i18n("The component: {0} No footprint,please associate the footprint first.",[t])}},NOT_MATCH:{type:"NOT_MATCH",msg(t){return me.i18n("The component: {0} pin number(s) of the component does not match the associated footprint pad number(s),please modify the symbol pin number(s) or reassociate the footprint.",[t])}}},$f={NORMAL:{type:"NORMAL",msg(){return""}},NO_D3MODEL_DATA:{type:"NO_D3MODEL_DATA",msg(t){return me.i18n("The component: {0} Can't find this 3D Model on the server,please reassociate it.",[t])}},NO_D3MODEL:{type:"NO_D3MODEL",msg(t){return me.i18n("The component: {0} No 3D Model,please associate the 3D Model first.",[t])}}},mH={NORMAL:{type:"NORMAL",msg(){return""}},NO_SIMMODEL_DATA:{type:"NO_SIMMODEL_DATA",msg(t){return me.i18n("The component: {0} Can't find this SIM Model on the server,please reassociate it.",[t])}},NO_SIMMODEL:{type:"NO_SIMMODEL",msg(t){return me.i18n("The component: {0} No SIM Model,please associate the SIM Model first.",[t])}}};var sq=class extends qe{constructor(){super(),this._isTableListCouldBeLoaded=!1,this._tableData=[],this._renderTableData=[],this._selectedIds=[],this._sortKeyValueList=[],this._isShowMask=!1}set isTableListCouldBeLoaded(e){this._isTableListCouldBeLoaded=e,this.notify()}get isTableListCouldBeLoaded(){return this._isTableListCouldBeLoaded}set tableData(e){this._tableData=e}get tableData(){return this._tableData}set renderTableData(e){this._renderTableData=e,this.notify()}get renderTableData(){return this._renderTableData}set selectedIds(e){this._selectedIds=e,this.notify()}get selectedIds(){return this._selectedIds}set sortKeyValueList(e){this._sortKeyValueList=e}get sortKeyValueList(){return this._sortKeyValueList}set isShowMask(e){this._isShowMask=e,this.notify()}get isShowMask(){return this._isShowMask}getOldPath(e,i){let o=e[i];if(!o)return;let r=o.d3modelItemIdInit;if(r&&r.indexOf("|")>=0)return r.split("|")[1]}updateSortKeyValueList(e){this.sortKeyValueList=YZ(e,this.tableData)}sortTable(e,i,o){if(o==="NORMAL"){let r=[...this.tableData];r.sort((n,a)=>this.sortKeyValueList.indexOf(n[i])-this.sortKeyValueList.indexOf(a[i])),this.tableData=r;return}if(o==="ASC_SORT"||o==="DESC_SORT"){let r=[];for(let n=0;n<e.length;n++)r.push({...e[n]});this.tableData=r;return}}};var uVe=class extends sq{constructor(){super();this.getColKey=i=>{switch(i){case"tags":return"cateName";case"footprint":case"Footprint":return"footprintItemTitle";case"Comment":return"comment";case"\u5907\u6CE8":return"comment";case"Designator":return"designator";case"i3DModelName":return"d3ModelItemTitle";case"Symbol":return"symbolItemTitle";default:return i}};this._tableSelectedRowNumbers=[],this._tableCols=[],this._padNumberList=[],this._searchValue=""}set tableSelectedRowNumbers(i){this._tableSelectedRowNumbers=i,this.notify()}get tableSelectedRowNumbers(){return this._tableSelectedRowNumbers}set tableCols(i){let o=Ft(i,"key","3D Model Title");o.index>=0&&(o.data.key="d3modelItemTitle"),this._tableCols=i,this.notify()}get tableCols(){return this._tableCols}set padNumberList(i){this._padNumberList=i,this.notify()}get padNumberList(){return this._padNumberList}set searchValue(i){this._searchValue=i}get searchValue(){return this._searchValue}updateTableColsProfile(i){let o=i||nV(qh.D3Model);return o.map(r=>({key:this.getColKey(r.id),name:r.value,sortable:!0,width:1/o.length}))}washDeviceListBeforeStartSearchProcess(){this.tableSelectedRowNumbers=[],this.selectedIds=[],this.tableData.forEach(i=>{i.checked=!1})}washDeviceListBeforeExitSearchProcess(){this.tableSelectedRowNumbers=[],this.selectedIds=[],this.tableData.forEach(i=>{i.checked=!1})}getFormulaName(i){let o=i.attributes,r=o.Name;if(!r||!r.startsWith("="))return r;r=r.slice(1);let n=/\{([^\}]+)\}/g,a=null,s=[];for(;a=n.exec(r);)s.push(a[1]);o.ID=i.ggeid;for(let l=0;l<s.length;l++){let c=s[l],d=`{${c}!}`;o[c]!=null&&(d=o[c]),r=r.replace(`{${c}}`,d)}return delete o.ID,r}refreshDeviceListBySearch(i=""){if(!i){this.renderTableData=this.tableData.map(a=>{let s=this.getFormulaName(a);return a.Name=s,a});return}let o=[],r=this.tableCols,n=[];this.tableData.forEach(a=>{let s=a.attributes||{};r.forEach(l=>{if(!l.key)return;let c=a[l.key]||s[l.key];if(!(typeof c>"u")&&c.toLocaleLowerCase().indexOf(i.toLocaleLowerCase())>=0){if(n.indexOf(a.$id)>=0)return;o.push(a),n.push(a.$id);return}})}),this.renderTableData=o}refreshDeviceListOnFootprintBySelected(i){for(let o=0;o<this.tableSelectedRowNumbers.length;o++){let r=this.tableData[o];if(r){r.footprintTitle=i.display_title,r.footprintItem=i,r.padNumberList=this.padNumberList;let n=r.partPinMatchMap,a=Object.keys(r.pinHashtable||{}),s=r.padNumberList,l=!1;for(let c=0;c<a.length;c++){let d=r.pinHashtable[a[c]];if(d.length&&!s.length){l=!0,n[a[c]].isError=!0;continue}for(let u=0;u<d.length;u++)if(s.indexOf(String(d[u].pinNumber))<=-1){l=!0,n[a[c]].isError=!0;break}n[a[c]].isError=!1}if(l){r.isError=!0,r.bgColor=v3.bgColor,r.errorType=mc.NOT_MATCH.type,r.information=mc.NOT_MATCH.msg(r.designator);continue}r.isError=!1,r.bgColor=Pc().bgColor,r.errorType=mc.NORMAL.type,r.information=mc.NORMAL.msg()}}this.renderTableData=ue.deepClone(this.tableData)}refreshDeviceListBySelectedIds(){this.tableData.forEach(i=>{if(this.selectedIds.indexOf(i.$id)>=0){i.checked=!0;return}i.checked=!1}),this.refreshDeviceListBySearch(this.searchValue)}};var fm={array2Json(t){let e={};return typeof+t[0]!="number"||String(+t[0])=="NaN"||(e.sx=+t[0],typeof+t[1]!="number"||String(+t[1])=="NaN")||(e.sy=+t[1],typeof+t[2]!="number"||String(+t[2])=="NaN")||(e.sz=+t[2],typeof+t[3]!="number"||String(+t[3])=="NaN")||(e.rz=+t[3],typeof+t[4]!="number"||String(+t[4])=="NaN")||(e.rx=+t[4],typeof+t[5]!="number"||String(+t[8])=="NaN")||(e.ry=+t[5],typeof+t[6]!="number"||String(+t[6])=="NaN")||(e.ox=+t[6],typeof+t[7]!="number"||String(+t[7])=="NaN")||(e.oy=+t[7],typeof+t[8]!="number"||String(+t[8])=="NaN")?null:(e.oz=+t[8],e)},json2Array(t){let e=[];return typeof+t.sx!="number"||String(+t.sx)=="NaN"||(e[0]=+t.sx,typeof+t.sy!="number"||String(+t.sy)=="NaN")||(e[1]=+t.sy,typeof+t.sz!="number"||String(+t.sz)=="NaN")||(e[2]=+t.sz,typeof+t.rz!="number"||String(+t.rz)=="NaN")||(e[3]=+t.rz,typeof+t.rx!="number"||String(+t.rx)=="NaN")||(e[4]=+t.rx,typeof+t.ry!="number"||String(+t.ry)=="NaN")||(e[5]=+t.ry,typeof+t.ox!="number"||String(+t.ox)=="NaN")||(e[6]=+t.ox,typeof+t.oy!="number"||String(+t.oy)=="NaN")||(e[7]=+t.oy,typeof+t.oz!="number"||String(+t.oz)=="NaN")?null:(e[8]=+t.oz,e)},array2String(t){return Array.isArray(t)?String(t):""},string2Array(t){return t.split(",").map(e=>+String(e).trim())}};var b1e=class extends qe{constructor(){super();this._extends=null;this._footprintPreviewStr=void 0,this._d3modelItem=null,this._d3modelTransform=_e.D3MVIEW_DEFAULT_TRANSFORM,this._d3modelTransformCache=_e.D3MVIEW_DEFAULT_TRANSFORM,this._viewSizeModeKey="normal",this._isShowLoading=!1,this._isCouldLoadIframe=!1,this._isCanvasRenderering=!1,this._iframeId=void 0,this._needLockMask=!0}set footprintPreviewStr(i){this._footprintPreviewStr=i,this.notify()}get footprintPreviewStr(){return this._footprintPreviewStr}set d3modelItem(i){this._d3modelItem=i,this.notify()}get d3modelItem(){return this._d3modelItem}set d3modelTransform(i){this._d3modelTransform=i,this._extends=null,this.notify()}get d3modelTransform(){return this._d3modelTransform}set d3modelTransformCache(i){if(this._extends){let o=fm.string2Array(this._extends),r=fm.string2Array(i).splice(0,3);i=String([].concat(r,o.splice(3))),this.d3modelTransform=i}this._d3modelTransformCache=i,this.notify()}get d3modelTransformCache(){return this._d3modelTransformCache}set isShowLoading(i){this._isShowLoading=i,this.notify()}get isShowLoading(){return this._isShowLoading}set isCouldLoadIframe(i){this._isCouldLoadIframe=i,this.notify()}get isCouldLoadIframe(){return this._isCouldLoadIframe}set isCanvasRenderering(i){this._isCanvasRenderering=i,this.notify()}get isCanvasRenderering(){return this._isCanvasRenderering}set viewSizeModeKey(i){this._viewSizeModeKey=i,this.notify()}get viewSizeModeKey(){return this._viewSizeModeKey}set iframeId(i){this._iframeId=i,this.notify()}get iframeId(){return this._iframeId}set needLockMask(i){this._needLockMask=i,this.notify()}get needLockMask(){return this._needLockMask}recoverTransformSetting(){this.d3modelTransform=_e.D3MVIEW_DEFAULT_TRANSFORM}extendsTransformSetting(){let i=this._d3modelTransform;this.recoverTransformSetting(),this._extends||(this._extends=i)}clearExtendsTransform(){this._extends=null}baseExit(){this.footprintPreviewStr=void 0,this.d3modelItem=null,this.d3modelTransform=_e.D3MVIEW_DEFAULT_TRANSFORM,this.d3modelTransformCache=_e.D3MVIEW_DEFAULT_TRANSFORM,this.isShowLoading=!1,this.viewSizeModeKey="normal",this.iframeId=void 0}setLoadingStatus(){this.isShowLoading=!0,this.footprintPreviewStr=void 0,this.d3modelItem=null,this.d3modelTransform=_e.D3MVIEW_DEFAULT_TRANSFORM}};var pVe=class extends b1e{constructor(){super()}};var mVe=class extends qe{constructor(){super(),this._inputDisabled=!0}get inputDisabled(){return this._inputDisabled}set inputDisabled(e){this._inputDisabled=e,this.notify()}baseExit(){this.inputDisabled=!0}};var hVe=[{value:0,title:"0%",available:!1},{value:.8,title:"80%",available:!0},{value:.85,title:"85%",available:!0},{value:.9,title:"90%",available:!0},{value:.95,title:"95%",available:!0},{value:1,title:"100%",available:!0},{value:1.05,title:"105%",available:!0},{value:1.1,title:"110%",available:!0},{value:1.15,title:"115%",available:!0},{value:1.2,title:"120%",available:!0}],fVe=class extends mVe{constructor(){super(),this._baseTransformString=_e.D3MVIEW_DEFAULT_TRANSFORM,this._settingTransformString=_e.D3MVIEW_DEFAULT_TRANSFORM,this._ratePresetList=JSON.parse(JSON.stringify(hVe)),this._rateValue=hVe[0].value,this._canvasOrigin={x:0,y:0,z:0}}get baseTransformString(){return this._baseTransformString}set baseTransformString(e){this._baseTransformString=e}get settingTransformString(){return this._settingTransformString}set settingTransformString(e){this._settingTransformString=e,this.notify()}get canvasOrigin(){return this._canvasOrigin}set canvasOrigin(e){this._canvasOrigin=e,this.notify()}get rateValue(){return this._rateValue}set rateValue(e){this._rateValue=e,this.notify()}get ratePresetList(){return this._ratePresetList}set ratePresetList(e){this._ratePresetList=e,this.notify()}addToRatePresetList(e){let i=JSON.parse(JSON.stringify(e));i.value=+li.toFixed(i.value,4,!1);let o=ue.deepClone(this.ratePresetList);Ft(o,"value",i.value).index>=0||(o.push(i),this.ratePresetList=o)}toJSON(){return fm.array2Json(fm.string2Array(this.settingTransformString))}calcRate(e){let o=this.baseTransformString.split(",")[0].trim(),r=e.split(",")[0].trim(),n=+li.toFixed((+r||1)/(+o||1),4,!1),a=String(+n*100);return{rateText:/^\d+$/i.test(a)?a+"%":li.toFixed(a,2,!0)+"%",rate:n}}recoverTransformSetting(e=!1){e&&(this.canvasOrigin={x:0,y:0,z:0},this.baseTransformString=_e.D3MVIEW_DEFAULT_TRANSFORM),this.settingTransformString=_e.D3MVIEW_DEFAULT_TRANSFORM,this.ratePresetList=JSON.parse(JSON.stringify(hVe)),this.rateValue=hVe[0].value,this.inputDisabled=!0}};var y1e={unitConversion(t,e="mil",i="mm"){let o=JSON.parse(JSON.stringify(t)),r=i!=e;return Object.keys(o).forEach(n=>{["rz","rx","ry"].includes(n)||r&&(o[n]=ue.unitConversion.conversion(e,i,+o[n]))}),o},onlyKeepChangedKeyData(t,e){let i=JSON.parse(JSON.stringify(t));switch(e){case"sx":{i.sy=i.sz=0;break}case"sy":{i.sx=i.sz=0;break}case"sz":{i.sx=i.sy=0;break}default:}return i}};function KAi(t){let e=t.attributes||{};return t.d3modelItemTitle?t.d3modelItemTitle:e["3D Model Title"]?e["3D Model Title"]:t.d3modelItem?t.d3modelItem.display_title:t.footprintItemTitle?t.footprintItemTitle:t.footprintItem?t.footprintItem.display_title:""}var DIt=class extends qe{set transform(e){this._transform=e,this.store&&this.update()}get transform(){return this._transform}set store(e){this._dialogStore=e,this._transform&&this.update()}get store(){return this._dialogStore}update(){if(this._transform){let{dx:e,dy:i,dz:o,rx:r,ry:n,rz:a,x:s,y:l,z:c}=this._transform,d=`${e},${i},${o},${a},${r},${n},${s},${l},${c}`;this._transform=null;let u=this.store.deviceListModel.renderTableData[this.store.deviceListModel.tableSelectedRowNumbers[0]];u.d3modelItemTransform=d,this.store.d3modelViewsModel.d3modelTransform=d}}clear(){this.transform=null,this.store=null}},gVe=new DIt;async function JAi(){let t=new EIt;return await t.initial(),gVe.store=t,t}var EIt=class extends Hb{constructor(){super(),this._dialogProps=null,this._cache={},this.libListModel=new aVe,this.componentSearchModel=new sVe,this.categoryModel=new rVe,this.componentTable=new lVe,this.footprintViewsModel=new nVe,this.deviceSearchModel=new dVe,this.deviceListModel=new uVe,this.d3modelViewsModel=new pVe,this.formControllerModel=new fVe,this._isOnSearching=!1,this.deviceListModel.isShowMask=!0}set dialogProps(e){this._dialogProps=e}get dialogProps(){return this._dialogProps}get isOnSearching(){return this._isOnSearching}set isOnSearching(e){this._isOnSearching=e}async initial(){this.dialogReady=!0}async initialStore(e){await this.libListModel.setInitialLibList(Hs.D3Model),this.d3modelViewsModel.isCouldLoadIframe=!0,await this.libListModel.freshInitLibList([bo.getInstance().usedId],this.libListModel.isFromProject),this.componentTable.projectsIds=JSON.parse(JSON.stringify(this.libListModel.projectsIds)),this.componentTable.libList=ue.deepClone(this.libListModel.cacheLibList),this.componentTable.facets=JSON.parse(JSON.stringify(this.libListModel.facets)),this.componentTable.selectedLibIds=JSON.parse(JSON.stringify(this.libListModel.getSelectedTruthLibIds())),this.componentTable.initPageSize(),this.whenLibSelectedChanged()}async propsUpdate(e){var o;this.dialogProps=e;let i=[];this.dialogProps.wantSelectedLibItemId&&(this.libListModel.selectedIds=[this.dialogProps.wantSelectedLibItemId],this.componentTable.selectedLibIds=this.libListModel.getSelectedTruthLibIds()),typeof this.dialogProps.isFromProject<"u"&&(this.libListModel.isFromProject=!!this.dialogProps.isFromProject,this.componentTable.isFromProject=!!this.dialogProps.isFromProject),this.dialogProps.searchInputValue&&(this.componentSearchModel.searchValue=this.dialogProps.searchInputValue),typeof this.dialogProps.deviceList<"u"&&(i=this.dialogProps.deviceList),this.deviceListModel.tableCols=this.deviceListModel.updateTableColsProfile();try{let r;((o=this.dialogProps)==null?void 0:o.callScenType)==="DEVICE_DIALOG"?r=await iP("model3DManagerDlg",this.dialogProps.deviceList[0].deviceId,this.dialogProps.deviceList[0].path):r=await iP("model3DManagerDlg"),am.setCustomTableHeadData("model3DManagerDlg",{...r})}catch(r){console.warn(`D3ModelDlg Get Custom Device Header Data Error:${r}`)}}triggerFromUpdate(e={}){window.setTimeout(async()=>{this._cache={};let i=typeof this.dialogProps.deviceList<"u"?this.dialogProps.deviceList:[];if(this._cache.deviceList=i,this._cache.options={...e},e.updateTableSelectedRowNumbers&&typeof this.dialogProps.deviceListSelectedIds<"u"){let o=[];this._cache.deviceListSelectedIds=this.dialogProps.deviceListSelectedIds,this._cache.deviceListSelectedIds.forEach(r=>{let n=Ft(i,"$id",r);n.index>=0&&o.push(n.index)}),this._cache.tableSelectedRowNumbers=o}e.triggerUpdateDeviceListByUpdateBtn&&(this.deviceListModel.tableData=i,this.deviceListModel.refreshDeviceListBySearch(this.deviceListModel.searchValue)),this.deviceListModel.updateSortKeyValueList("$id")})}async whenFootprintCanvasIframeLoaded(){let{tableSelectedRowNumbers:e,deviceList:i,deviceListSelectedIds:o}=this._cache;typeof o<"u"&&(this.deviceListModel.selectedIds=o),this.deviceListModel.tableData=i,this.deviceListModel.tableSelectedRowNumbers=e,this.deviceListModel.refreshDeviceListBySelectedIds(),this.deviceListModel.updateSortKeyValueList("$id"),await this.whenDeviceListRowSelectedChanged(),this._cache={}}async whenD3ModelCanvasRenderEnd(){this.deviceListModel.isShowMask!==!1&&(this.deviceListModel.isShowMask=!1)}async whenCategorySelectedChanged(){if(this.isOnSearching){let e=[...this.categoryModel.renderSelectedIds];this.componentSearchModel.searchValue="",this.componentSearchModel.isInSearchingStatus&&(this.componentSearchModel.isInSearchingStatus=!1,this.libListModel.isSearchStatus=!1,await this.whenExitComponentSearchStatus(!1)),this.categoryModel.renderSelectedIds=[...e]}this.componentTable.clearAllRemoteData(),this.componentTable.refreshComponentList(this.libListModel.getSelectedTruthLibIds()[0],this.libListModel.getSelectedTruthLibIds()[0],this.componentSearchModel.isInSearchingStatus?this.componentSearchModel.searchValue:"",this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenImmersedComponentSearchStatus(){if(this.componentSearchModel.searchValue.trim().length>128){this.searchValueLengthVerify();return}this.isOnSearching=!0,this.categoryModel.recoverSelectToDefault(),this.componentTable.clearAllRemoteData(),this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,!(Tn||Ko),!(Tn||Ko),!0,this.componentTable.dataType),!1,{}),F0(this,{kv:{facets:{}},targets:["componentTable"]}),this.componentTable.refreshComponentList(this.libListModel.getSelectedTruthLibIds()[0],this.libListModel.getSelectedTruthLibIds()[0],this.componentSearchModel.searchValue,this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]),e=>{e==="search"&&(F0(this,{kv:{facets:this.componentTable.facets},targets:["libListModel"]}),this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,!(Tn||Ko),!(Tn||Ko),!0,this.componentTable.dataType),this.componentSearchModel.isInSearchingStatus))})}whenExitComponentSearchStatus(e=!0){this.isOnSearching=!1,this.categoryModel.recoverSelectToDefault(),this.componentTable.clearAllRemoteData(),this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,!(Tn||Ko),!(Tn||Ko),!0,this.componentTable.dataType),!1,{}),F0(this,{kv:{facets:{}},targets:["componentTable"]}),e&&this.componentTable.refreshComponentList(this.libListModel.getSelectedTruthLibIds()[0],this.libListModel.getSelectedTruthLibIds()[0],"",this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenLibSelectedChanged(){this.categoryModel.clearCategoryList(),this.componentTable.clearAllRemoteData(),this.categoryModel.refreshCategoryList(this.libListModel.getSelectedTruthLibIds()[0],this.libListModel.getSelectedTruthLibIds()[0],this.libListModel),F0(this,{kv:{facets:{},selectedLibIds:this.libListModel.getSelectedTruthLibIds()},targets:["componentTable"]}),this.componentTable.refreshComponentList(this.libListModel.getSelectedTruthLibIds()[0],this.libListModel.getSelectedTruthLibIds()[0],this.componentSearchModel.isInSearchingStatus?this.componentSearchModel.searchValue:"",[],e=>{this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,!(Tn||Ko),!(Tn||Ko),!0,this.componentTable.dataType),this.componentSearchModel.isInSearchingStatus,this.componentTable.facets)})}whenComponentListChange(e,i,o,r){if(e==="componentTable"){this.componentTable.sortTable(i,"$id",r);return}if(e==="deviceTable"){this.deviceListModel.sortTable(i,"$id",r),this.deviceListModel.refreshDeviceListBySearch(this.deviceSearchModel.searchValue.trim());return}}whenComponentListPageChanged(){this.componentTable.clearAllRemoteData(),this.componentTable.refreshComponentList(this.libListModel.getSelectedTruthLibIds()[0],this.libListModel.getSelectedTruthLibIds()[0],this.componentSearchModel.isInSearchingStatus?this.componentSearchModel.searchValue:"",this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenComponentListRowSelectedChanged(){this.formControllerModel.recoverTransformSetting(),this.d3modelViewsModel.extendsTransformSetting(),C.messageBus.publish("ui/d3model/d3mdialog/conbtndisabledstatus",!0),this.componentTable.refreshComponentItem(this.componentTable.componentItemId,this.libListModel.getSelectedTruthLibIds()[0],e=>{this.d3modelViewsModel.needLockMask=!1,e&&(this.d3modelViewsModel.d3modelItem=e)})}whenImmersedDeviceSearchStatus(){this.deviceListModel.refreshDeviceListBySearch(this.deviceSearchModel.searchValue.trim())}whenExitDeviceSearchStatus(){this.deviceListModel.renderTableData=this.deviceListModel.tableData}async whenDeviceListRowSelectedChanged(){C.messageBus.publish("ui/d3model/d3mdialog/conbtndisabledstatus",!0);let e=this.deviceListModel.renderTableData[this.deviceListModel.tableSelectedRowNumbers[0]];if(e){this.componentSearchModel.searchValue=KAi(e),this.formControllerModel.recoverTransformSetting(),this.d3modelViewsModel.recoverTransformSetting(),this.d3modelViewsModel.clearExtendsTransform(),e.canvasOrigin&&(this.formControllerModel.canvasOrigin=e.canvasOrigin),this.footprintViewsModel.isShowLoading=!0,this.d3modelViewsModel.isShowLoading=!0;let i=!1,o=!1;if(e.footprintItemIdInit){let r=null;if(C.currentProject&&C.currentProject.projectId===e.path){if(r=await Ze.getFootprint({uuid:e.footprintItemIdInit,path:e.path,isProject:!0}),!r){let n=ue.splitComponentId2FolderAndFilenameMixin(e.footprintItemIdInit);n.componentTitleOrId!==e.footprintItemIdInit&&(r=(await C.messageBus.rpcCall($e.FOOTPRINT.GET,[n.componentTitleOrId])).message)}}else r=await Ze.getFootprint({uuid:e.footprintItemIdInit,path:e.path,isProject:!1});e.footprintItem=r,e.footprintItemTitle=e.footprintItem?e.footprintItem.display_title:e.footprintItemTitle}if(e.footprintItem&&Object.keys(e.footprintItem).length&&(this.footprintViewsModel.footprintItem={...e.footprintItem},this.footprintViewsModel.needLockMask=!1,i=!0),e.d3modelItemIdInit){let{d3modelItemIdInit:r,d3modelItemTitle:n}=e,a=eT(r);if(e.d3modelItem=await As.fetchD3ModelItemHandle(a.componentTitleOrId,a.path,n),!e.d3modelItem){let{compiler:s,d3modelItem:l,d3modelItemName:c,d3modelItemTransform:d,d3modelItemPath:u,d3modelItemId:p}=await ue.getFootprint3DInfo(e.footprintItem.uuid,e.footprintItem.path,e.footprintItem.path===C.currentProject.projectId);e.d3modelItem=l,(e.d3modelItemTransform===void 0||typeof e.d3modelItemTransform>"u")&&(e.d3modelItemTransform=d)}}e.d3modelItem&&Object.keys(e.d3modelItem).length?(this.d3modelViewsModel.d3modelItem={...e.d3modelItem},o=!0):this.d3modelViewsModel.d3modelItem=null,this.d3modelViewsModel.needLockMask=i===!1&&o===!1,e.d3modelItemTransform&&(this.d3modelViewsModel.d3modelTransform=e.d3modelItemTransform,this.d3modelViewsModel.d3modelTransformCache=e.d3modelItemTransform),this.footprintViewsModel.isShowLoading=!1,this.d3modelViewsModel.isShowLoading=!1}}whenD3ModelTranformUpdatedByCanvasTrigger(e){let i=fm.string2Array(e.transform),o=String([].concat([e.ox,e.oy,e.oz],i.slice(3)));this.formControllerModel.baseTransformString=o;let{rate:r,rateText:n}=this.formControllerModel.calcRate(fm.array2String(i));this.formControllerModel.rateValue=r,this.formControllerModel.addToRatePresetList({value:r,title:n,available:!0});let a=fm.array2Json(i);this.formControllerModel.settingTransformString=fm.array2String(fm.json2Array(a)),this.d3modelViewsModel.d3modelTransformCache=fm.array2String(fm.json2Array(a))}whenD3FormControllerInputValueChanged(e,i,o){let r=JSON.parse(JSON.stringify(e));this.formControllerModel.settingTransformString=fm.array2String(fm.json2Array(r)),this.d3modelViewsModel.d3modelTransform=fm.array2String(fm.json2Array(y1e.onlyKeepChangedKeyData(r,i))),this.d3modelViewsModel.d3modelTransformCache=fm.array2String(fm.json2Array(r))}whenD3FormControllerRateChanged(e){this.formControllerModel.rateValue=e,this.formControllerModel.addToRatePresetList({value:e,title:e*100+"%",available:!0});let o=fm.string2Array(this.formControllerModel.baseTransformString).map((n,a)=>a<=2?n*e:n),r=fm.array2Json(o);this.formControllerModel.settingTransformString=fm.array2String(fm.json2Array(r)),this.d3modelViewsModel.d3modelTransform=fm.array2String(fm.json2Array(y1e.onlyKeepChangedKeyData(r,"sx"))),this.d3modelViewsModel.d3modelTransformCache=fm.array2String(fm.json2Array(r))}whenD3FormControllerCmdCalled(e){let i=document.querySelector(`[sid="${this.d3modelViewsModel.iframeId}"]`);switch(e){case"auto":{i&&C.windowBridge.rpcCall("/pcb/3d/model/autofit","",i.contentWindow);break}default:}}whenModelLoadStatus(e){if(!e[1]||!e[1].e1){this.formControllerModel.inputDisabled=!0;return}if(e[1].e1.modelStatus===0){this.formControllerModel.inputDisabled=!1;return}this.formControllerModel.inputDisabled=!0}},$g=(0,ZAi.createContext)(void 0);var bVe=L(Se());var qAi=L(dD()),AIt=L(z()),{locals:yxr}=qAi.default;function wxr(t){let e=J(),i=`display-flex flex-nowrap ${yxr["component-search-section"]}`,o=(0,bVe.useContext)($g);Ce(o.componentSearchModel);let r=(s,l)=>{o.componentSearchModel.searchValue=s},n=(s,l)=>{o.componentSearchModel.searchValue="",o.componentSearchModel.isInSearchingStatus&&(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,o.whenExitComponentSearchStatus())},a=(s,l)=>{o.componentSearchModel.searchValue?(o.componentSearchModel.isInSearchingStatus=!0,o.libListModel.isSearchStatus=!0,o.whenImmersedComponentSearchStatus()):(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,o.whenExitComponentSearchStatus())};return(0,AIt.jsx)("section",{className:i,children:(0,AIt.jsx)(Bm,{initShowValue:o.componentSearchModel.searchValue,placeholder:o.componentSearchModel.searchPlaceHolder,onUpdateInputValue:r,onClearInputValue:n,onConfirm:a})})}var XAi=bVe.default.memo(wxr);var yVe=L(Se());var $Ai=L(dD());var NIt=L(z()),{locals:Cxr}=$Ai.default;function xxr(t){let e=J(),i=`${Cxr["liblist-section"]}`,o=(0,yVe.useContext)($g);Ce(o.libListModel);let r=()=>{o.libListModel.searchValue=""},n=(s,l)=>{o.libListModel.selectedIds=s,o.whenLibSelectedChanged()},a=()=>{o.libListModel.setInitialLibList(Hs.D3Model).then(()=>{o.libListModel.freshInitLibList([bo.getInstance().usedId],!1).then(()=>{o.componentSearchModel.searchValue?(o.componentSearchModel.isInSearchingStatus=!0,o.libListModel.isSearchStatus=!0,o.whenImmersedComponentSearchStatus()):(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,o.whenExitComponentSearchStatus())})})};return(0,NIt.jsx)("section",{className:i,children:(0,NIt.jsx)(j3,{selectedIds:o.libListModel.selectedIds,emptyLabel:o.libListModel.emptyLabel,libList:o.libListModel.cacheLibList,searchPlaceholder:o.libListModel.searchPlaceHolder,searchValue:o.libListModel.searchValue,selectedLibsAction:n,clearSearchInputAction:r,libRefreshAction:a})})}var eNi=yVe.default.memo(xxr);var wVe=L(Se());var tNi=L(dD());var kIt=L(z()),{locals:Txr}=tNi.default;function Sxr(t){let e=J(),i=`${Txr["category-section"]}`,o=(0,wVe.useContext)($g);Ce(o.categoryModel),Ce(o.d3modelViewsModel);let r=()=>{o.categoryModel.searchValue=""},n=a=>{o.categoryModel.renderSelectedIds=a,o.whenCategorySelectedChanged()};return(0,kIt.jsx)("section",{className:i,children:(0,kIt.jsx)(Gb,{isLock:o.d3modelViewsModel.isCanvasRenderering,isVirtualList:!0,selectedIds:o.categoryModel.renderSelectedIds,categoryList:o.categoryModel.renderCategoryList,searchPlaceholder:o.categoryModel.searchPlaceHolder,searchValue:o.categoryModel.searchValue,selectedCategoriesAction:n,clearSearchInputAction:r,libItemInfo:o.libListModel.currentSelectLibItem,initCategoryActiveTab:o.categoryModel.requestTypes[0],ownerSelectValue:o.libListModel.getSelectedTruthLibIds()[0]})})}var iNi=wVe.default.memo(Sxr);var WT=L(Se());var oNi=L(dD());var tB=L(z()),{locals:Mxr}=oNi.default;function Ixr(t){let e=J(),i=`display-flex flex-direct-column flex-main-axis-stretch ${Mxr["table-section"]}`,o=(0,WT.useContext)($g);Ce(o.componentTable);let r=(0,WT.useRef)(null),n=(0,WT.useRef)(null),[a,s]=(0,WT.useState)(100),[l,c]=(0,WT.useState)(o.componentTable.tableCols.map(f=>({...f,name:e(f.name)}))),d=(0,WT.useCallback)(()=>{Yn(()=>{if(!r.current)return;let f=r.current.getBoundingClientRect();r.current.style.width="100%",s(f.height)},100)},[]),u=f=>{let{row:g,selectedRowNumbers:b,tableData:y=[]}=f,w=y[b[0]];!w||g.$id!==w.$id||(o.hasClickedComponentItem=!0,o.componentTable.tableSelectedRowNumbers=b,o.componentTable.componentItemId=w.uuid,o.whenComponentListRowSelectedChanged())},p=(f,g)=>{o.componentTable.pageNumber!==g&&(o.componentTable.pageNumber=+g,o.whenComponentListPageChanged())},m=f=>{o.componentTable.pageSize=+f,Vg("table",f),o.whenComponentListPageChanged()},h=(f,g,b)=>{o.whenComponentListChange("componentTable",f,g,b)};return(0,WT.useEffect)(()=>{n.current.refresh()},[o.componentTable.tableData]),(0,WT.useEffect)(()=>(d(),window.addEventListener("resize",d),()=>{window.removeEventListener("resize",d)}),[]),(0,WT.useEffect)(()=>{c(o.componentTable.tableCols.map(f=>({...f,name:e(f.name)})))},[o.componentTable.tableCols]),(0,tB.jsx)("section",{className:i,children:(0,tB.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-stretch",style:{width:"100%",height:"100%",position:"relative",overflowY:"hidden",overflowX:"auto"},children:[(0,tB.jsx)("div",{ref:r,style:{height:"100%",width:"100%",overflowY:"hidden",overflowX:"auto"},children:(0,tB.jsx)(xi,{ref:n,index:"$id",border:!0,isShiftSelect:!1,isCtrlSelect:!1,moveAble:!0,height:a,columns:l,openHeadContentMenu:!0,showCustomHeadSettingOnHeadContextmenu:!1,enableWindowResizeHandler:!1,rows:o.componentTable.tableData,onClick:u,onChange:h,openVirtualScroll:!0,selectedRowNumbers:o.componentTable.tableSelectedRowNumbers,searchValue:o.isOnSearching&&o.componentSearchModel.searchValue?o.componentSearchModel.searchValue:"",showStatus:o.componentTable.componentListLoadStatus!=="",statusNode:(0,tB.jsx)("div",{style:{lineHeight:"50px",textAlign:"center"},children:(0,tB.jsx)("span",{children:e(o.componentTable.componentListLoadStatus)})})})}),(0,tB.jsx)("div",{style:{width:"100%",height:"30px",overflow:"hidden",display:"flex",justifyContent:"flex-end",alignContent:"center",alignItems:"center",textAlign:"right",padding:"5px 5px 0 5px"},children:(0,tB.jsx)(cp,{simplify:!0,inputJump:!1,pageNumber:o.componentTable.pageNumber,countTotal:o.componentTable.totalCount,cutSize:o.componentTable.pageSize,cutSizeOptions:o.componentTable.cutSizeOptions,onPageNumberChange:p,onPageSizeChange:m,gDisabled:o.componentTable.paginationDisabled})})]})})}var rNi=WT.default.memo(Ixr);var xVe=L(Se());var nNi=L(dD());var CVe=L(z()),{locals:M2s}=nNi.default;function Lxr(t){let e=J(),i=(0,xVe.useContext)($g);Ce(i.footprintViewsModel);let o=a=>{i.footprintViewsModel.iframeId=a},r=()=>{i.footprintViewsModel.isCanvasRenderering=!0},n=()=>{if(i.footprintViewsModel.isCanvasRenderering=!1,i.footprintViewsModel.iframeId){let a=document.querySelector(`[uuid="${i.footprintViewsModel.iframeId}"]`);if(a){let s=a.querySelector("iframe");C.windowBridge.rpcCall("/pcb/3d/source",{considerCanvasOrigin:!1,gnrBBoxOutlines:!0},s.contentWindow).then(l=>{i.d3modelViewsModel.footprintPreviewStr=l.message})}}};return(0,CVe.jsx)("div",{style:{width:"100%",height:"100%",position:"absolute",left:0,top:0,border:"1px solid var(--border-color-panel-divider)",padding:"5px 5px",zIndex:9999},children:(0,CVe.jsx)("div",{style:{width:"100%",height:"100%"},children:(0,CVe.jsx)(sI,{initSetShowLoading:i.footprintViewsModel.isShowLoading,footprintItem:i.footprintViewsModel.footprintItem,initUnitValue:i.footprintViewsModel.unit,initCheckModeKey:i.footprintViewsModel.checkModeKey,initViewSizeModeKey:i.footprintViewsModel.viewSizeModeKey,initHightLightIds:i.footprintViewsModel.hightlightIds,needLockMask:i.footprintViewsModel.needLockMask,isShowEditBtn:!1,isShowFullToggleBtn:!1,isShowSizeTypeCheckToggleBtn:!1,isShowUnitToggleSelector:!1,onIframeLoaded:o,onCanvasRenderStart:r,onCanvasRenderEnd:n})})})}var aNi=xVe.default.memo(Lxr);var nne=L(Se());var sNi=L(dD());var TVe=L(z()),{locals:O2s}=sNi.default;function vxr(t){let e=J(),i=(0,nne.useContext)($g);Ce(i.d3modelViewsModel);let o=(0,nne.useRef)(null),r=(0,nne.useRef)(null),n=()=>{i.d3modelViewsModel.isCanvasRenderering=!0},a=()=>{i.d3modelViewsModel.isCanvasRenderering=!1,C.messageBus.publish("ui/d3model/d3mdialog/conbtndisabledstatus",!1),i.whenD3ModelCanvasRenderEnd()},s=p=>{i.d3modelViewsModel.viewSizeModeKey=p},l=p=>{},c=p=>{i.d3modelViewsModel.iframeId=p,window.setTimeout(async()=>{await i.whenFootprintCanvasIframeLoaded()})},d=p=>{window.clearTimeout(o.current),o.current=window.setTimeout(()=>{i.whenD3ModelTranformUpdatedByCanvasTrigger(p)},300)},u=p=>{window.clearTimeout(r.current),r.current=window.setTimeout(()=>{i.whenModelLoadStatus(p)})};return(0,TVe.jsx)("div",{style:{width:"100%",height:"100%",position:"absolute",left:0,top:0,border:"1px solid var(--border-color-panel-divider)",padding:"5px 5px",zIndex:9999},children:(0,TVe.jsx)("div",{style:{width:"100%",height:"100%"},children:(0,TVe.jsx)(SA,{isCouldLoadIframe:i.d3modelViewsModel.isCouldLoadIframe,initSetShowLoading:i.d3modelViewsModel.isShowLoading,footprintPreviewStr:i.d3modelViewsModel.footprintPreviewStr,d3modelItem:i.d3modelViewsModel.d3modelItem,d3modelTransform:i.d3modelViewsModel.d3modelTransform,needLockMask:i.d3modelViewsModel.needLockMask,isShowFullToggleBtn:!0,isShowPerspectiveActionGroups:!0,initViewSizeModeKey:i.d3modelViewsModel.viewSizeModeKey,onIframeLoaded:c,onViewSizeModeKeyUpdate:s,onPerspectiveToggle:l,onCanvasRenderStart:n,onCanvasRenderEnd:a,onTransformUpdate:d,onModelLoadStatus:u,windowInstance:dl.value})})})}var lNi=nne.default.memo(vxr);var SVe=L(Se());var cNi=L(dD()),PIt=L(z()),{locals:Dxr}=cNi.default;function Exr(t){let e=J(),i=`display-flex flex-nowrap ${Dxr["device-search-section"]}`,o=(0,SVe.useContext)($g);Ce(o.deviceSearchModel);let r=(s,l)=>{o.deviceSearchModel.searchValue=s,o.deviceListModel.searchValue=s},n=(s,l)=>{o.deviceSearchModel.searchValue="",o.deviceListModel.searchValue="",o.deviceSearchModel.isInSearchingStatus&&(o.deviceSearchModel.isInSearchingStatus=!1,o.whenExitDeviceSearchStatus())},a=(s,l)=>{o.deviceSearchModel.searchValue?o.deviceSearchModel.isInSearchingStatus=!0:o.deviceSearchModel.isInSearchingStatus=!1,o.whenImmersedDeviceSearchStatus()};return(0,PIt.jsx)("section",{className:i,children:(0,PIt.jsx)(Bm,{initShowValue:o.deviceSearchModel.searchValue,placeholder:o.deviceSearchModel.searchPlaceHolder,isImmediatelyDoConfirmAtEndinput:!0,onUpdateInputValue:r,onClearInputValue:n,onConfirm:a})})}var dNi=SVe.default.memo(Exr);var QT=L(Se());var uNi=L(dD());var lq=L(z()),{locals:Axr}=uNi.default;function Nxr(t){let e=J(),i=(0,QT.useRef)(null),o=`display-flex flex-direct-column flex-main-axis-stretch ${Axr["table-section"]}`,r=(0,QT.useContext)($g);Ce(r.deviceListModel);let n=(0,QT.useRef)(null),[a,s]=(0,QT.useState)(100),l=(0,QT.useCallback)(()=>{Yn(()=>{if(!n.current)return;let m=n.current.getBoundingClientRect();n.current.style.width="100%",s(m.height)},100)},[]),c=m=>{let{row:h,selectedRowNumbers:f,tableData:g=[]}=m,b=[];f.forEach(y=>{let w=g[y];w&&b.push(w.$id)}),window.clearTimeout(i.current),i.current=window.setTimeout(async()=>{r.deviceListModel.tableSelectedRowNumbers=f,r.deviceListModel.selectedIds=b,r.deviceListModel.refreshDeviceListBySelectedIds(),await r.whenDeviceListRowSelectedChanged()},16.67)},d=(m,h,f)=>{f.isTriggerByRowsUpdate||f.isTriggerByCheckListUpdate||(r.deviceListModel.tableSelectedRowNumbers=h,r.deviceListModel.selectedIds=m.map(g=>g.$id),r.deviceListModel.refreshDeviceListBySelectedIds())},u=(m,h,f)=>{r.whenComponentListChange("deviceTable",m,h,f)};Bt(m=>{r.deviceListModel.tableCols=r.deviceListModel.updateTableColsProfile(m)}).key("model3DManagerDlg_custom_head"),(0,QT.useEffect)(()=>(l(),window.addEventListener("resize",l),()=>{window.removeEventListener("resize",l)}),[]),(0,QT.useEffect)(()=>()=>{r.deviceListModel.tableCols=r.deviceListModel.tableCols.map(m=>({...m,name:e(m.name)}))},[]),(0,QT.useEffect)(()=>{r.deviceListModel.renderTableData.length>0&&r.deviceListModel.renderTableData.forEach(m=>{let{hasIdButNotFound:h}=m;h!=null&&h.Footprint&&(m.footprintItemTitle=e("Abnormal data!")),h!=null&&h.symbol&&(m.symbolItemTitle=e("Abnormal data!")),h!=null&&h.d3DModel&&(m.d3modelItemTitle=e("Abnormal data!"))})},[r.deviceListModel.renderTableData]),(0,QT.useEffect)(()=>{r.deviceListModel.tableCols.forEach(m=>{m.onCell=(h,f,g)=>{var b;if((b=h.hasIdButNotFound)!=null&&b.Footprint&&g==="footprintItemTitle")return{style:{color:"red"}}}})},[r.deviceListModel.tableCols]);let p=()=>(0,lq.jsx)("div",{style:{position:"absolute",left:0,top:0,right:0,bottom:0,zIndex:9999},children:(0,lq.jsx)("div",{style:{width:"100%",height:"100%",backgroundColor:"var(--common-bg-color)",display:"flex",justifyContent:"center",alignItems:"center"},children:e("Loading...")})});return(0,lq.jsx)("section",{className:o,children:(0,lq.jsxs)("div",{ref:n,style:{height:"100%",width:"100%",overflowY:"hidden",border:"1px solid var(--border-color-panel-divider)",overflowX:"auto",position:"relative"},children:[r.deviceListModel.isShowMask?(0,lq.jsx)(p,{}):null,(0,lq.jsx)(xi,{name:"model3DManagerDlg",index:"$id",border:!0,checkbox:!0,height:a,columns:r.deviceListModel.tableCols,multiSelect:!0,showCustomHeadSettingOnHeadContextmenu:!0,enableWindowResizeHandler:!1,openHeadContentMenu:!0,moveAble:!0,rows:r.deviceListModel.renderTableData,onClick:c,onChange:u,onCheckRow:d,openVirtualScroll:!0,selectedRowNumbers:r.deviceListModel.tableSelectedRowNumbers,searchValue:r.deviceListModel.searchValue})]})})}var pNi=QT.default.memo(Nxr);var IVe=L(Se());var CNi=L(dD());var YP=L(Se());var mNi=L(Se()),hNi=L(dD());var MVe=L(z()),{locals:kxr}=hNi.default;function Pxr(t){let{ratePresetList:e,confirmInputAction:i,uninstallComponentAction:o}=t,r=e.filter(s=>s.available===!0).map(s=>({title:s.title,id:s.value,dataTest:s.value,disabled:!1})),n=s=>{s.stopPropagation(),s.preventDefault()},a=s=>{if(s.stopPropagation(),s.preventDefault(),s.button!==0)return;let l=s.target;if(!l)return;let c=Ft(r,"id",+l.getAttribute("data-id"));c.index<=-1||(i(+c.data.id),window.setTimeout(()=>{o()}))};return(0,MVe.jsx)("div",{style:{border:"1px solid var(--common-border-color-1)",padding:"0 2px",boxShadow:"1px 1px 4px rgb(0 0 0 / 20%)",position:"absolute",right:"5px",top:"28px",backgroundColor:"var(--bg-color-input)",maxHeight:"200px",overflow:"auto",width:"80px",zIndex:999},onMouseDown:n,children:(0,MVe.jsx)("ul",{className:kxr["form-contoller-ulists"],children:r.map(s=>(0,MVe.jsx)("li",{"data-id":s.id,onMouseDown:a,children:s.title}))})})}var fNi=mNi.default.memo(Pxr);var GP=L(z());function Oxr(t){let{rateValue:e,inputDisabled:i,ratePresetList:o,confirmInput:r,tagCmdAction:n}=t,a=J(),s=(0,YP.useRef)(null),l=(0,YP.useRef)(!1),[c,d]=(0,YP.useState)(String(li.toFixed(e*100,2,!1))),[u,p]=(0,YP.useState)(!1),[m,h]=(0,YP.useState)(!1),f=x=>{l.current=!0;let T=x.target.value;isNaN(+T)||d(T)},g=x=>{h(!1);let S=c;isNaN(+S)&&(S="1"),l.current&&r(+li.toFixed(+S/100,4,!1)),l.current=!1,window.setTimeout(()=>{p(!1)},200)},b=x=>{h(!0),p(!0);let S=x.target;window.setTimeout(()=>{S.select&&S.select()})},y=x=>{n(x)},w=x=>{let S=x.target;x.keyCode===13&&S.blur()};return(0,YP.useEffect)(()=>{d(String(li.toFixed(e*100,2,!1)))},[e]),(0,GP.jsx)(GP.Fragment,{children:(0,GP.jsxs)("header",{style:{width:"100%",padding:"5px 5px",position:"relative"},className:"display-flex flex-main-axis-between flex-lateral-axis-center",children:[(0,GP.jsx)("span",{style:{fontWeight:900,marginBottom:"1px",maxWidth:"60px",overflow:"hidden",textOverflow:"ellipsis"},"data-test":"Adjustment",children:a("Adjustment")}),(0,GP.jsx)(Me,{style:{padding:"4px 8px",minWidth:"42px",height:"22px",lineHeight:"12px"},onClick:()=>{y("auto")},children:a("Auto")}),(0,GP.jsx)("div",{children:(0,GP.jsx)("input",{type:"text",name:"d3model-adjustment",autoComplete:"off",disabled:i,onChange:f,onBlur:g,onFocus:b,onKeyUp:w,"data-attritem-filter":"d3model-adjustment",value:m?c:c+"%",style:{maxWidth:"80px"},ref:s})}),u?(0,GP.jsx)(fNi,{ratePresetList:o,confirmInputAction:x=>{r(x),s.current.blur()},uninstallComponentAction:()=>{p(!1)}}):null]})})}var gNi=YP.default.memo(Oxr);var iB=L(Se());var pu=L(z()),ane=.1;function Rxr(t){let{ox:e,oy:i,oz:o,inputDisabled:r,updateValue:n}=t,a=(0,iB.useRef)({isFocus:!1}),[s,l]=(0,iB.useState)(String(fo(e,"mm"))),[c,d]=(0,iB.useState)(String(fo(i,"mm"))),[u,p]=(0,iB.useState)(String(fo(o,"mm"))),m=J(),h=(S,T)=>{switch(S){case"ox":{l(T);break}case"oy":{d(T);break}case"oz":{p(T);break}}},f=S=>{let T=S.target,M=T.value,I=T.getAttribute("data-attritem-input");h(I,M)},g=S=>{a.current.isFocus=!1;let T=S.target,M=T.value.trim(),I=T.getAttribute("data-attritem-input"),A=ul(M,"mm");isNaN(A)?A=0:A=fo(A,"mm"),h(I,String(A)),n&&n(I,A)},b=S=>{a.current.isFocus=!0;let T=S.target;T.select&&T.select()},y=S=>{let T=S.target,M=T.parentElement.querySelector("input"),I=M.getAttribute("data-attritem-input"),A=parseFloat(M.value);if(T.classList.contains("add")){let D=A+ane;n&&n(I,D);return}if(T.classList.contains("sub")){let D=A-ane;n&&n(I,D);return}},w=S=>{if(!a.current.isFocus)return;let T=S.target,M=T.getAttribute("data-attritem-input"),I=parseFloat(T.value);if(S.deltaY<0){let D=I+ane;n&&n(M,D);return}let A=I-ane;n&&n(M,A)},x=S=>{let T=S.target;S.keyCode===13&&T.blur()};return(0,iB.useEffect)(()=>{String(e)!==s&&l(String(fo(e,"mm"))),String(i)!==c&&d(String(fo(i,"mm"))),String(o)!==u&&p(String(fo(o,"mm")))},[e,i,o]),(0,pu.jsx)(pu.Fragment,{children:(0,pu.jsxs)("div",{style:{display:"block"},children:[(0,pu.jsx)("header",{className:"f-weight title i18n","data-test":"Offset",children:m("Offset")}),(0,pu.jsxs)("section",{children:[(0,pu.jsxs)("div",{className:"display-flex flex-main-axis-between flex-lateral-axis-center flex-nowrap",children:[(0,pu.jsx)("div",{className:"left txt_title f14",style:{width:"50px",flex:"0 0 50px"},children:(0,pu.jsx)("span",{className:"i18n",title:"X","data-test":"X",children:"X"})}),(0,pu.jsxs)("div",{className:"left txt_value",children:[(0,pu.jsxs)("div",{className:"numberInput-container",style:{width:"calc(100% - 32px)"},children:[(0,pu.jsx)("span",{className:"numberInput-valueAdded add eda-sort-up-arrow",onClick:y}),(0,pu.jsx)("input",{"data-attritem-input":"ox",type:"text",value:s,step:ane,disabled:r,onChange:f,onFocus:b,onBlur:g,onWheel:w,onKeyUp:x,style:{paddingRight:"15px"}}),(0,pu.jsx)("span",{className:"numberInput-valueRm sub eda-sort-down-arrow",onClick:y})]}),(0,pu.jsx)("span",{style:{display:"inline-block",width:"28px",overflow:"hidden",verticalAlign:"sub",paddingLeft:"5px"},children:"mm"})]})]}),(0,pu.jsxs)("div",{className:"display-flex flex-main-axis-between flex-lateral-axis-center flex-nowrap",children:[(0,pu.jsx)("div",{className:"left txt_title f14",style:{width:"50px",flex:"0 0 50px"},children:(0,pu.jsx)("span",{className:"i18n",title:"Y","data-test":"X",children:"Y"})}),(0,pu.jsxs)("div",{className:"left txt_value",children:[(0,pu.jsxs)("div",{className:"numberInput-container",style:{width:"calc(100% - 32px)"},children:[(0,pu.jsx)("span",{className:"numberInput-valueAdded add eda-sort-up-arrow",onClick:y}),(0,pu.jsx)("input",{"data-attritem-input":"oy",type:"text",value:c,step:ane,disabled:r,onChange:f,onFocus:b,onBlur:g,onWheel:w,onKeyUp:x,style:{paddingRight:"15px"}}),(0,pu.jsx)("span",{className:"numberInput-valueRm sub eda-sort-down-arrow",onClick:y})]}),(0,pu.jsx)("span",{style:{display:"inline-block",width:"28px",overflow:"hidden",verticalAlign:"sub",paddingLeft:"5px"},children:"mm"})]})]}),(0,pu.jsxs)("div",{className:"display-flex flex-main-axis-between flex-lateral-axis-center flex-nowrap",children:[(0,pu.jsx)("div",{className:"left txt_title f14",style:{width:"50px",flex:"0 0 50px"},children:(0,pu.jsx)("span",{className:"i18n",title:"Z","data-test":"Z",children:"Z"})}),(0,pu.jsxs)("div",{className:"left txt_value",children:[(0,pu.jsxs)("div",{className:"numberInput-container",style:{width:"calc(100% - 32px)"},children:[(0,pu.jsx)("span",{className:"numberInput-valueAdded add eda-sort-up-arrow",onClick:y}),(0,pu.jsx)("input",{"data-attritem-input":"oz",type:"text",value:u,step:ane,disabled:r,onChange:f,onFocus:b,onBlur:g,onWheel:w,onKeyUp:x,style:{paddingRight:"15px"}}),(0,pu.jsx)("span",{className:"numberInput-valueRm sub eda-sort-down-arrow",onClick:y})]}),(0,pu.jsx)("span",{style:{display:"inline-block",width:"28px",overflow:"hidden",verticalAlign:"sub",paddingLeft:"5px"},children:"mm"})]})]})]})]})})}var bNi=iB.default.memo(Rxr);var oB=L(Se());var mu=L(z()),sne=.1;function _xr(t){let{rx:e,ry:i,rz:o,inputDisabled:r,updateValue:n}=t,a=(0,oB.useRef)({isFocus:!1}),[s,l]=(0,oB.useState)(String(e)),[c,d]=(0,oB.useState)(String(i)),[u,p]=(0,oB.useState)(String(o)),m=J(),h=(S,T)=>{switch(S){case"rx":{l(T);break}case"ry":{d(T);break}case"rz":{p(T);break}}},f=S=>{let T=S.target,M=T.value,I=T.getAttribute("data-attritem-input");h(I,M)},g=S=>{a.current.isFocus=!1;let T=S.target,M=T.value.trim(),I=T.getAttribute("data-attritem-input"),A=$s(M);isNaN(A)?A=0:A=li.toFixed(A,3,!1),h(I,String(A)),n&&n(I,A)},b=S=>{a.current.isFocus=!0;let T=S.target;T.select&&T.select()},y=S=>{if(!a.current.isFocus)return;let T=S.target,M=T.getAttribute("data-attritem-input"),I=parseFloat(T.value);if(S.deltaY<0){let D=I+sne;n&&n(M,D);return}let A=I-sne;n&&n(M,A)},w=S=>{let T=S.target;S.keyCode===13&&T.blur()};(0,oB.useEffect)(()=>{String(e)!==s&&l(String(li.toFixed(e,3,!1))),String(i)!==c&&d(String(li.toFixed(i,3,!1))),String(o)!==u&&p(String(li.toFixed(o,3,!1)))},[e,i,o]);let x=S=>{let T=S.target,M=T.parentElement.querySelector("input"),I=M.getAttribute("data-attritem-input"),A=parseFloat(M.value);if(T.classList.contains("add")){let D=A+sne;n&&n(I,D);return}if(T.classList.contains("sub")){let D=A-sne;n&&n(I,D);return}};return(0,mu.jsx)(mu.Fragment,{children:(0,mu.jsxs)("div",{style:{display:"block"},children:[(0,mu.jsx)("header",{className:"f-weight title i18n","data-test":"Rotation",children:m("Rotation")}),(0,mu.jsxs)("section",{children:[(0,mu.jsxs)("div",{className:"display-flex flex-main-axis-between flex-lateral-axis-center flex-nowrap",children:[(0,mu.jsx)("div",{className:"left txt_title f14",style:{width:"50px",flex:"0 0 50px"},children:(0,mu.jsx)("span",{className:"i18n",title:"X","data-test":"X",children:"X"})}),(0,mu.jsxs)("div",{className:"left txt_value",children:[(0,mu.jsxs)("div",{className:"numberInput-container",style:{width:"calc(100% - 32px)"},children:[(0,mu.jsx)("span",{className:"numberInput-valueAdded add eda-sort-up-arrow",onClick:x}),(0,mu.jsx)("input",{"data-attritem-input":"rx",type:"text",value:s,step:sne,disabled:r,onChange:f,onFocus:b,onBlur:g,onWheel:y,onKeyUp:w,style:{paddingRight:"15px"}}),(0,mu.jsx)("span",{className:"numberInput-valueRm sub eda-sort-down-arrow",onClick:x})]}),(0,mu.jsx)("span",{style:{display:"inline-block",width:"28px",overflow:"hidden",verticalAlign:"sub",paddingLeft:"5px"},children:"\xB0"})]})]}),(0,mu.jsxs)("div",{className:"display-flex flex-main-axis-between flex-lateral-axis-center flex-nowrap",children:[(0,mu.jsx)("div",{className:"left txt_title f14",style:{width:"50px",flex:"0 0 50px"},children:(0,mu.jsx)("span",{className:"i18n",title:"Y","data-test":"X",children:"Y"})}),(0,mu.jsxs)("div",{className:"left txt_value",children:[(0,mu.jsxs)("div",{className:"numberInput-container",style:{width:"calc(100% - 32px)"},children:[(0,mu.jsx)("span",{className:"numberInput-valueAdded add eda-sort-up-arrow",onClick:x}),(0,mu.jsx)("input",{"data-attritem-input":"ry",type:"text",value:c,step:sne,disabled:r,onChange:f,onFocus:b,onBlur:g,onWheel:y,onKeyUp:w,style:{paddingRight:"15px"}}),(0,mu.jsx)("span",{className:"numberInput-valueRm sub eda-sort-down-arrow",onClick:x})]}),(0,mu.jsx)("span",{style:{display:"inline-block",width:"28px",overflow:"hidden",verticalAlign:"sub",paddingLeft:"5px"},children:"\xB0"})]})]}),(0,mu.jsxs)("div",{className:"display-flex flex-main-axis-between flex-lateral-axis-center flex-nowrap",children:[(0,mu.jsx)("div",{className:"left txt_title f14",style:{width:"50px",flex:"0 0 50px"},children:(0,mu.jsx)("span",{className:"i18n",title:"Z","data-test":"Z",children:"Z"})}),(0,mu.jsxs)("div",{className:"left txt_value",children:[(0,mu.jsxs)("div",{className:"numberInput-container",style:{width:"calc(100% - 32px)"},children:[(0,mu.jsx)("span",{className:"numberInput-valueAdded add eda-sort-up-arrow",onClick:x}),(0,mu.jsx)("input",{"data-attritem-input":"rz",type:"text",value:u,step:sne,disabled:r,onChange:f,onFocus:b,onBlur:g,onWheel:y,onKeyUp:w,style:{paddingRight:"15px"}}),(0,mu.jsx)("span",{className:"numberInput-valueRm sub eda-sort-down-arrow",onClick:x})]}),(0,mu.jsx)("span",{style:{display:"inline-block",width:"28px",overflow:"hidden",verticalAlign:"sub",paddingLeft:"5px"},children:"\xB0"})]})]})]})]})})}var yNi=oB.default.memo(_xr);var rB=L(Se());var hu=L(z()),lne=.1;function jxr(t){let{sx:e,sy:i,sz:o,inputDisabled:r,updateValue:n}=t,a=(0,rB.useRef)({isFocus:!1,valueFocus:{}}),[s,l]=(0,rB.useState)(String(fo(e,"mm"))),[c,d]=(0,rB.useState)(String(fo(i,"mm"))),[u,p]=(0,rB.useState)(String(fo(o,"mm"))),m=J(),h=(S,T)=>{switch(S){case"sx":{l(T);break}case"sy":{d(T);break}case"sz":{p(T);break}}},f=S=>{let T=S.target,M=T.value,I=T.getAttribute("data-attritem-input");h(I,M)},g=S=>{a.current.isFocus=!1;let T=S.target,M=T.value.trim(),I=T.getAttribute("data-attritem-input"),A=ul(M,"mm");isNaN(A)||A===0?A=a.current.valueFocus[I]||0:A=fo(A,"mm"),h(I,String(A)),n&&n(I,A)},b=S=>{a.current.isFocus=!0;let T=S.target;T.select&&T.select();let M=T.value.trim(),I=T.getAttribute("data-attritem-input");a.current.valueFocus[I]=M},y=S=>{let T=S.target,M=T.parentElement.querySelector("input"),I=M.getAttribute("data-attritem-input"),A=parseFloat(M.value);if(T.classList.contains("add")){let D=A+lne;n&&n(I,D);return}if(T.classList.contains("sub")){let D=A-lne;n&&n(I,D);return}},w=S=>{let T=S.target;S.keyCode===13&&T.blur()},x=S=>{if(!a.current.isFocus)return;let T=S.target,M=T.getAttribute("data-attritem-input"),I=parseFloat(T.value);if(S.deltaY<0){let D=I+lne;n&&n(M,D);return}let A=I-lne;n&&n(M,A)};return(0,rB.useEffect)(()=>{String(e)!==s&&l(String(fo(e,"mm"))),String(i)!==c&&d(String(fo(i,"mm"))),String(o)!==u&&p(String(fo(o,"mm")))},[e,i,o]),(0,hu.jsx)(hu.Fragment,{children:(0,hu.jsxs)("div",{style:{display:"block"},children:[(0,hu.jsx)("header",{className:"f-weight title i18n","data-test":"Size",children:m("Size")}),(0,hu.jsxs)("section",{children:[(0,hu.jsxs)("div",{className:"display-flex flex-main-axis-between flex-lateral-axis-center flex-nowrap",children:[(0,hu.jsx)("div",{className:"left txt_title f14",style:{width:"50px",flex:"0 0 50px"},children:(0,hu.jsx)("span",{className:"i18n",title:"X","data-test":"X",children:"X"})}),(0,hu.jsxs)("div",{className:"left txt_value",children:[(0,hu.jsxs)("div",{className:"numberInput-container",style:{width:"calc(100% - 32px)"},children:[(0,hu.jsx)("span",{className:"numberInput-valueAdded add eda-sort-up-arrow",onClick:y}),(0,hu.jsx)("input",{"data-attritem-input":"sx",type:"text",value:s,step:lne,disabled:r,onChange:f,onFocus:b,onBlur:g,onWheel:x,onKeyUp:w,style:{paddingRight:"15px"}}),(0,hu.jsx)("span",{className:"numberInput-valueRm sub eda-sort-down-arrow",onClick:y})]}),(0,hu.jsx)("span",{style:{display:"inline-block",width:"28px",overflow:"hidden",verticalAlign:"sub",paddingLeft:"5px"},children:"mm"})]})]}),(0,hu.jsxs)("div",{className:"display-flex flex-main-axis-between flex-lateral-axis-center flex-nowrap",children:[(0,hu.jsx)("div",{className:"left txt_title f14",style:{width:"50px",flex:"0 0 50px"},children:(0,hu.jsx)("span",{className:"i18n",title:"Y","data-test":"X",children:"Y"})}),(0,hu.jsxs)("div",{className:"left txt_value",children:[(0,hu.jsxs)("div",{className:"numberInput-container",style:{width:"calc(100% - 32px)"},children:[(0,hu.jsx)("span",{className:"numberInput-valueAdded add eda-sort-up-arrow",onClick:y}),(0,hu.jsx)("input",{"data-attritem-input":"sy",type:"text",value:c,step:lne,disabled:r,onChange:f,onFocus:b,onBlur:g,onWheel:x,onKeyUp:w,style:{paddingRight:"15px"}}),(0,hu.jsx)("span",{className:"numberInput-valueRm sub eda-sort-down-arrow",onClick:y})]}),(0,hu.jsx)("span",{style:{display:"inline-block",width:"28px",overflow:"hidden",verticalAlign:"sub",paddingLeft:"5px"},children:"mm"})]})]}),(0,hu.jsxs)("div",{className:"display-flex flex-main-axis-between flex-lateral-axis-center flex-nowrap",children:[(0,hu.jsx)("div",{className:"left txt_title f14",style:{width:"50px",flex:"0 0 50px"},children:(0,hu.jsx)("span",{className:"i18n",title:"Z","data-test":"Z",children:"Z"})}),(0,hu.jsxs)("div",{className:"left txt_value",children:[(0,hu.jsxs)("div",{className:"numberInput-container",style:{width:"calc(100% - 32px)"},children:[(0,hu.jsx)("span",{className:"numberInput-valueAdded add eda-sort-up-arrow",onClick:y}),(0,hu.jsx)("input",{"data-attritem-input":"sz",type:"text",value:u,step:lne,disabled:r,onChange:f,onFocus:b,onBlur:g,onWheel:x,onKeyUp:w,style:{paddingRight:"15px"}}),(0,hu.jsx)("span",{className:"numberInput-valueRm sub eda-sort-down-arrow",onClick:y})]}),(0,hu.jsx)("span",{style:{display:"inline-block",width:"28px",overflow:"hidden",verticalAlign:"sub",paddingLeft:"5px",backgroundColor:"var(--bg-color-disabled-input)"},children:"mm"})]})]})]})]})})}var wNi=rB.default.memo(jxr);var cq=L(z()),{locals:Bxr}=CNi.default;function zxr(t){let e=J(),i=`display-flex flex-main-axis-start flex-direct-column ${Bxr["form-contoller-section"]}`,o=(0,IVe.useContext)($g);Ce(o.formControllerModel);let r=o.formControllerModel.toJSON(),n=y1e.unitConversion(r,"mil","mm"),a=c=>{o.whenD3FormControllerRateChanged(c)},s=(c,d)=>{let u=JSON.parse(JSON.stringify(n));u[c]=d;let p=y1e.unitConversion(u,"mm","mil");o.whenD3FormControllerInputValueChanged(p,c,d)},l=c=>{o.whenD3FormControllerCmdCalled(c)};return(0,cq.jsxs)("section",{className:i,style:{border:"1px solid var(--border-color-panel-divider)"},children:[(0,cq.jsx)(gNi,{inputDisabled:o.formControllerModel.inputDisabled,rateValue:o.formControllerModel.rateValue,ratePresetList:o.formControllerModel.ratePresetList,confirmInput:a,tagCmdAction:l}),(0,cq.jsxs)("div",{className:"attr-main","data-tagitem":"attr-container",style:{paddingTop:"10px"},children:[(0,cq.jsx)(wNi,{inputDisabled:o.formControllerModel.inputDisabled,sx:n.sx,sy:n.sy,sz:n.sz,updateValue:s}),(0,cq.jsx)(yNi,{inputDisabled:o.formControllerModel.inputDisabled,rx:n.rx,ry:n.ry,rz:n.rz,updateValue:s}),(0,cq.jsx)(bNi,{inputDisabled:o.formControllerModel.inputDisabled,ox:n.ox,oy:n.oy,oz:n.oz,updateValue:s})]})]})}var xNi=IVe.default.memo(zxr);var mh=L(z()),{locals:Fbs}=SNi.default;function Fxr(t){let e=(0,TNi.useContext)($g);Ce(e.d3modelViewsModel);let i={width:"100%",height:"100%",position:"relative"};return e.d3modelViewsModel.viewSizeModeKey===Pre&&(i.position="initial"),(0,mh.jsxs)("div",{style:{width:"100%",height:"100%",display:"flex",flexWrap:"nowrap"},children:[(0,mh.jsxs)("div",{style:{width:"calc(100% - 195px)",height:"100%",flexShrink:"0",position:"relative"},children:[(0,mh.jsxs)("div",{"data-test":"device panel",style:{display:"flex",flexWrap:"nowrap",width:"100%",height:"50%",paddingBottom:"5px"},children:[(0,mh.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-between flex-lateral-axis-stretch flex-nowrap",style:{width:"100%",height:"100%",overflow:"hidden",padding:"0 5px 0 0"},children:[(0,mh.jsx)(dNi,{}),(0,mh.jsx)("div",{className:"display-flex flex-nowrap",style:{height:"calc(100% - 30px)"},children:(0,mh.jsx)(pNi,{})})]}),(0,mh.jsx)("div",{style:{width:"325px",height:"100%",flexShrink:"0",flex:"0 0 325px",padding:"5px 5px",position:"relative"},children:(0,mh.jsx)(aNi,{})})]}),(0,mh.jsxs)("div",{"data-test":"footprint panel",style:{display:"flex",flexWrap:"nowrap",width:"100%",height:"50%",paddingBottom:"5px"},children:[(0,mh.jsxs)("div",{className:"display-flex flex-main-axis-start flex-lateral-axis-stretch flex-nowrap",style:{width:"calc(100% - 325px)",height:"100%",padding:"0 10px 0 0",overflow:"hidden"},children:[(0,mh.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-between flex-lateral-axis-stretch flex-nowrap",style:{width:"40%",minWidth:"40%",maxWidth:"40%",height:"100%",overflow:"hidden"},children:[(0,mh.jsx)(XAi,{}),(0,mh.jsxs)("div",{className:"display-flex flex-nowrap",style:{height:"calc(100% - 30px)"},children:[(0,mh.jsx)(eNi,{}),(0,mh.jsx)(iNi,{})]})]}),(0,mh.jsx)("div",{style:{width:"60%",minWidth:"60%",maxWidth:"60%",height:"100%",margin:"0 0 0 5px",border:"1px solid var(--border-color-panel-divider)"},children:(0,mh.jsx)(rNi,{})})]}),(0,mh.jsx)("div",{style:{width:"325px",height:"100%",flexShrink:"0"},children:(0,mh.jsx)("div",{style:i,children:(0,mh.jsx)(lNi,{})})})]})]}),(0,mh.jsx)("div",{"data-test":"pin panel",style:{width:"195px",height:"100%",paddingLeft:"5px",flexShrink:"0"},children:(0,mh.jsx)(xNi,{})})]})}var MNi=Fxr;var KT=L(z()),{locals:LVe}=vVe.default,INi=null,Uxr=t=>{let e=J(),{dialogWidth:i,dialogHeight:o,containerId:r,dialogId:n,callScenType:a,onDialogOpen:s,onDialogCancel:l,onDialogClose:c,onDialogConfirm:d,onDialogClosed:u}=t,[p,m]=(0,nB.useState)(null),h=(0,nB.useRef)(null);h.current=p;let[f,g]=(0,nB.useState)(!0),b=`pop-content-wrapper display-flex flex-nowrap ${LVe["main-container"]}`,y=`${LVe["view-loading-wrapper"]}`,w=`${LVe["view-loading"]}`,x=`rotation ${LVe["view-loading-rotation"]}`,S=async T=>{let M=p.libListModel.getSelectedTruthLibIds()[0],I=p.libListModel.cacheLibList.find(D=>D.id===M),A=I?[_e.LIB_SYSTEM_KEY,_e.LIB_PROJECT_KEY,_e.LIB_PERSONAL_KEY,_e.LIB_PUBLIC_KEY,_e.LIB_FAVORITE_KEY,_e.LIB_TEMAS_KEY].indexOf(I.key)>=0?String(I.id):String(I.username):M;if(T===SSe.cmd){let D=p.componentTable.componentItem||p.d3modelViewsModel.d3modelItem;if(!D){De({msg:"Please select one 3D model",type:"error"});return}p.deviceListModel.refreshDeviceListOnFootprintBySelected(D),d&&d({stamp:new Date().getTime(),componentItem:D,path:M,shortPath:A,deviceItemOldPath:p.deviceListModel.getOldPath(p.deviceListModel.tableData,p.deviceListModel.tableSelectedRowNumbers[0]),deviceList:p.deviceListModel.tableData,deviceListSelectedIds:p.deviceListModel.selectedIds,libListSelectedIds:p.libListModel.getSelectedTruthLibIds(),libList:p.libListModel.cacheLibList,transform:p.d3modelViewsModel.d3modelTransformCache,hasClickedComponentItem:p.hasClickedComponentItem}),c&&c(),window.setTimeout(()=>{le.close()},100);return}if(T===IIt.cmd){let D=p.componentTable.componentItem||p.d3modelViewsModel.d3modelItem;if(!D){De({msg:me.i18n("Please select one 3D model"),type:"error"});return}d&&d({stamp:new Date().getTime(),componentItem:D,path:M,shortPath:A,deviceItemOldPath:p.deviceListModel.getOldPath(p.deviceListModel.tableData,p.deviceListModel.tableSelectedRowNumbers[0]),deviceList:p.deviceListModel.tableData,deviceListSelectedIds:p.deviceListModel.selectedIds,libListSelectedIds:p.libListModel.getSelectedTruthLibIds(),libList:p.libListModel.cacheLibList,transform:p.d3modelViewsModel.d3modelTransformCache,hasClickedComponentItem:p.hasClickedComponentItem});return}T==="cancel"&&l&&l(),await oo({action:T,dialogId:n,formData:{}}),c&&c(),le.close()};return(0,nB.useEffect)(()=>{let T=C.messageBus.subscribe("ui/d3model/d3mdialog/close",()=>{T.cancel(),le.close()}),M=C.messageBus.subscribe("ui/d3model/d3mdialog/refreshDeviceList",D=>{h.current.propsUpdate({...h.current.dialogProps,deviceList:D}),h.current.triggerFromUpdate({triggerUpdateDeviceListByUpdateBtn:!0})}),I=C.messageBus.subscribe("ui/d3model/d3mdialog/conbtndisabledstatus",D=>{g(D)}),A=C.messageBus.subscribe("/ui/updateV2transfrom",D=>{gVe.transform=D});return()=>{M.cancel(),I.cancel(),A.cancel(),gVe.clear()}},[]),(0,nB.useLayoutEffect)(()=>{window.clearTimeout(INi),INi=window.setTimeout(()=>{JAi().then(async T=>{await T.propsUpdate(t),await T.initialStore(t),T.triggerFromUpdate({updateTableSelectedRowNumbers:!0}),m(T),s&&s()})},30)},[]),(0,nB.useEffect)(()=>()=>{u&&u()},[]),p?(0,KT.jsxs)("div",{className:"pop-content-container",style:{height:o+"px"},children:[(0,KT.jsx)("style",{children:String(vVe.default)}),(0,KT.jsxs)($g.Provider,{value:p,children:[(0,KT.jsx)("div",{className:b,children:(0,KT.jsx)(MNi,{...t})}),(0,KT.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,KT.jsx)(Me,{disabled:f,type:"primary",style:{marginRight:"8px"},onClick:()=>S(LIt[a].cmd),children:LIt[a].text}),(0,KT.jsx)(Me,{onClick:()=>S("cancel"),children:"Cancel"})]})]})]}):(0,KT.jsxs)("div",{className:"pop-content-container",style:{height:o+"px"},children:[(0,KT.jsx)("style",{children:String(vVe.default)}),(0,KT.jsx)("div",{className:y,children:(0,KT.jsx)("div",{className:w,children:(0,KT.jsx)("div",{className:x,children:(0,KT.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})]})},LNi=Uxr;var DNi=L(z());async function vNi(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;return le.open({id:o,title:r,width:n,closed:s,esc:!0,folded:!1,children:(0,DNi.jsx)(LNi,{containerId:o,dialogId:t.dialogId,callScenType:t.callScenType,...t,dialogWidth:n,dialogHeight:a})}),le}async function aB(t){return await ii("d3modelManager",{...t})}var w1e=class w1e{static getInstance(){return this.instanceItem===null&&(this.instanceItem=new w1e),this.instanceItem}constructor(){this._primitiveIdSplitTag="_$_"}get primitiveIdSplitTag(){return this._primitiveIdSplitTag}getTruthPrimitiveId(e){return e.split(this.primitiveIdSplitTag)[0]}async getPCBLevelTypeFromProjectTree(e,i){return(await C.messageBus.rpcCall("getPCBLevelType",dq(e,i))).message||"MAIN"}async getParentPCBUuid(e,i){return(await C.messageBus.rpcCall("getParentPCBUuid",dq(e,i))).message||void 0}async sameTitleChildren(e,i,o){return((await C.messageBus.rpcCall("getChildList",dq(i,o))).message||[]).filter(n=>n.displayTitle==e)}async getPcbFileResultFromProject(e,i){let o=(await C.messageBus.rpcCall($e.PCB.GET,[dq(e),C.currentProject.projectId])).message;return o?{...o}:null}async getPartitionList(e,i){let o=await he.getTabIFrame(lo(e));o||(o=await ei());let r=(await C.windowBridge.rpcCall("getPartitions",e,o.contentWindow)).message,n=this.createPartitionListFromPartitionArr(r),a=await this.getChildFileListFromProjectTree(e);for(let s=0;s<n.length;s++)if(n[s].fileUuid){let l=Ft(a,"uuid",n[s].fileUuid);l.index>=0&&(n[s].title=l.data.title,n[s].status="DIVIDE")}return n}async pullUpdate(e,i,o,r,n){let a=await ei();return(await C.windowBridge.rpcCall("partitionMergeToCurrent",{partitionId:e.split(this.primitiveIdSplitTag)[0],mainPCBUuid:i,selectedUuid:r},a.contentWindow)).message}async updateCanvasPartitionItemTitle(e,i,o,r,n){let a=await ei(),s=(await C.windowBridge.rpcCall("getPartitions",e,a.contentWindow)).message,l=this.createPartitionListFromPartitionArr(s);await Ro(l,async(c,d)=>{if(d.fileUuid===o){let u={primitiveId:d.primitiveId.split(this.primitiveIdSplitTag)[0],newTitle:r};return await this.doUpdatePartitionItemTitle(e,i,u),await this.doUpdatePartitionItemTitle(o,i,u),!1}})}async updatePartitionItemTitle(e,i,o){let a=document.getElementById("editorTabbar").querySelector(`[uuid="${e}@${i}"]`).querySelector("iframe");if(!a)return!1;let s=!1,l=null;if(o.fileUuid&&o.status==="DIVIDE"){let c={projectId:o.filePath||i,uuid:o.fileUuid,title:o.title,docType:se.PCB};l=(await C.messageBus.rpcCall(Ei.DOCUMENT.UPDATE,c)).message,s=l.success&&!!l.result}if(s){let c=`${o.fileUuid}@${i}`;he.getAllTabId().includes(c)&&he.updateTicket(c,l.result.ticket,l.result.updateTime);let u={primitiveId:o.primitiveId.split(this.primitiveIdSplitTag)[0],newTitle:o.title,mainPCBUuid:e,mainPCBPath:i};if(s=(await C.windowBridge.rpcCall("updatePartitionItemTitle",u,a.contentWindow)).message,s){let p=Array.from(document.querySelectorAll("#partitionManager2Container iframe"));for(let m of p)if(s=(await C.windowBridge.rpcCall("updatePartitionItemTitle",u,m.contentWindow)).message,!s)return s}}return s&&await C.messageBus.rpcCall("/pro-mgr/project/sync/force"),s}async divideChildItem(e,i,o){let r=await ei(),n=b1(),a=(await C.windowBridge.rpcCall("partitionAndCreateSubPcb",{partitionId:o.primitiveId.split(this.primitiveIdSplitTag)[0],oldSubPcbUuid:o.fileUuid,newSubPcbUuid:n},r.contentWindow)).message;return a&&(o.fileUuid=n),Promise.resolve(a)}async mergeToMain(e,i,o){let n=(await w1e.getInstance().getPartitionList(e,i)).reduce((l,c)=>{let d=c.primitiveId.split(w1e.getInstance().primitiveIdSplitTag)[0];return l[d]=c.title,l},{}),a=await ei(),s=!1;if(s=(await C.windowBridge.rpcCall("partitionMergeToMain",{partitionId:o.primitiveId.split(this.primitiveIdSplitTag)[0],partitionNameMap:n},a.contentWindow)).message,s&&o.fileUuid){let{message:l}=await C.messageBus.rpcCall(Ei.DOCUMENT.DELETE,{projectId:o.filePath||i,uuid:o.fileUuid,docType:se.PCB});(!l||!l.success)&&(s=!1)}return s}async deleteMergedPartitionByPrimitiveId(e,i,o){let a=document.getElementById("editorTabbar").querySelector(`[uuid="${e}@${i}"]`).querySelector("iframe");if(!a)return!1;let s={primitiveId:o.primitiveId.split(this.primitiveIdSplitTag)[0],status:o.status};return(await C.windowBridge.rpcCall("deletePartitionItem",s,a.contentWindow)).message}async deleteDividedPartitionByPrimitiveId(e,i,o){let a=document.getElementById("editorTabbar").querySelector(`[uuid="${e}@${i}"]`).querySelector("iframe");if(!a)return!1;let s=!1;if(o.fileUuid){let{message:l}=await C.messageBus.rpcCall(Ei.DOCUMENT.DELETE,{projectId:o.filePath||i,uuid:o.fileUuid,docType:se.PCB});s=l.success}if(s){let l={primitiveId:o.primitiveId.split(this.primitiveIdSplitTag)[0],status:o.status};s=(await C.windowBridge.rpcCall("deletePartitionItem",l,a.contentWindow)).message}return s}async getChildFileListFromProjectTree(e,i){let o=[],r=(await C.messageBus.rpcCall("getChildList",dq(e,i))).message||[];for(let n=0;n<r.length;n++)o.push({uuid:r[n].uuid,title:r[n].displayTitle||r[n].title});return o}createPartitionListFromPartitionArr(e){let i=[];for(let o=0;o<e.length;o++){let r=e[o],n=r.name,a=r.fileUuid,s=Mt(String(o)+r.id),l=ue.splitComponentId2FolderAndFilenameMixin(a),c=l.componentTitleOrId,d=l.path;i.push({primitiveId:r.id+this.primitiveIdSplitTag+s,fileUuid:c,filePath:d,status:"MERGED",title:n})}return i}async doUpdatePartitionItemTitle(e,i,o){let r=lo(e,i),n=await he.getTabIFrame(r);if(!n)return;let a=(await C.windowBridge.rpcCall("updatePartitionItemTitle",o,n.contentWindow)).message}};w1e.instanceItem=null;var Qd=w1e;function EVe(t=[]){for(let e=0;e<t.length;e++){let i=t[e];if(i.isError!==!0){if(!i.d3modelItemIdInit){i.isError=!0,i.bgColor=v3.bgColor,i.errorType=$f.NO_D3MODEL.type,i.information=$f.NO_D3MODEL.msg(i.designator);continue}i.isError=!1,i.bgColor=Pc().bgColor,i.errorType=$f.NORMAL.type,i.information=$f.NORMAL.msg()}}}var Vxr=/^(?:[a-zA-Z]:\\|\\\\[^\\/:*?"<>|]+\\[^\\/:*?"<>|]+|\\|[/\\]|\.\.?[/\\]|[^\\/:*?"<>|]+[/\\])/;function sB(t){let e={d3modelItemId:"",d3modelItemName:"",d3modelItemPath:void 0,d3modelTransform:t.transform,isLocaleFilenameMode:!1},{componentItem:i,path:o,shortPath:r}=t,n=eT(i.uuid,!0);return e.isLocaleFilenameMode=n.isLocaleFilenameMode,n.path?Vxr.test(n.path)?(e.d3modelItemId=n.componentTitleOrId+"|"+r,e.d3modelItemName=i.display_title||i.title,e.d3modelItemPath=r,e):(e.d3modelItemId=n.componentTitleOrId+"|"+n.path,e.d3modelItemName=i.display_title||i.title,e.d3modelItemPath=n.path,e):Je?(e.d3modelItemId=n.componentTitleOrId+"|"+r,e.d3modelItemName=i.display_title||i.title,e.d3modelItemPath=r,e):(e.d3modelItemId=n.componentTitleOrId+"|"+o,e.d3modelItemName=i.display_title||i.title,e.d3modelItemPath=o,e)}async function ENi(t){vt(.01,"D3MODELMANAGER_DIALOG_CONFIRM");let e=await ei(),{componentItem:i,deviceList:o,deviceListSelectedIds:r,libListSelectedIds:n,libList:a,transform:s,path:l,hasClickedComponentItem:c}=t,d=ue.deepClone(o);if(!r||!r.length){De({type:"info",msg:me.i18n("Please check at least one component."),timer:2.5}),vt(1,"D3MODELMANAGER_DIALOG_CONFIRM");return}if(Ft(a,"id",n[0]).index<=-1){vt(1,"D3MODELMANAGER_DIALOG_CONFIRM");return}vt(.1,"D3MODELMANAGER_DIALOG_CONFIRM");let p="",m="";if(c){let{d3modelItemId:b,d3modelItemName:y,d3modelItemPath:w,d3modelTransform:x,isLocaleFilenameMode:S}=sB(t);p=b,S?m=w+"\\"+y:m=y}let h=d.filter(b=>r.indexOf(b.$id)>=0)||[],f=[],g=[];for(let b=0;b<h.length;b++){let y=h[b];if(y.disabledRow){g.push(y);continue}p===""&&(m=y.d3modelItemTitle,p=y.d3modelItemIdInit),y.d3modelItemTitle=m,y.d3modelItemIdInit=p,y.d3modelItem=i,y.d3modelItemTransform=s,y.isError=!1,y.information="",y.errorType=$f.NORMAL.type,y.attributes&&(y.attributes["3D Model Title"]=m,y.attributes["3D Model"]=p,y.attributes["3D Model Transform"]=s),f[b]={...y,id:y.ggeid,deviceId:y.ggeid,i3DModelId:p,i3DModelName:m,transform:s},delete f[b].ggeid}EVe(d),vt(.5,"D3MODELMANAGER_DIALOG_CONFIRM"),C.messageBus.publish("ui/d3model/d3mdialog/refreshDeviceList",d),vt(.7,"D3MODELMANAGER_DIALOG_CONFIRM"),C.windowBridge.publish("Component3DDataResult",{selectedDeviceList:f,i3DModelId:p,i3DModelName:m,i3DModelDetail:i,transform:s},e.contentWindow),C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.D3MODEL_REPLACE,content:{},project_uuid:C.currentProject.projectId}]),window.setTimeout(()=>{if(g.length){De({type:"error",msg:"Failed to modify some components!",timer:2.5});let b='<span class="i18n">Modification failed, no editing permission: </span>';for(let y=0;y<g.length;y++)b+=`<span style="color: blue;">${g[y].designator}</span>, `;b=b.substring(0,b.length-2),Ot("error",b,void 0,!0)}else De({type:"success",msg:"Update successfully!",timer:2.5});vt(1,"D3MODELMANAGER_DIALOG_CONFIRM")})}function Hxr(t=[]){let e=t.filter(o=>o.errorType==$f.NO_D3MODEL.type||o.errorType==$f.NO_D3MODEL_DATA.type)||[],i=t.filter(o=>o.errorType==$f.NORMAL.type)||[];return e.sort((o,r)=>o.designator>r.designator?1:-1),i.sort(LSe(["d3modelItemTitle","designator"],!0)),[...e,...i]}var Gxr="$_",Yxr="@_";async function Wxr(t=[],e,i,o){let r=[],n=[],a,s=!1,l=he.getActiveTab().split("@"),c=l[l.length-1];for(let d=0;d<t.length;d++){vt(i+d*(o/t.length),"CALL_D3MODELMANAGER_DIALOG");let u=t[d],p=$f.NORMAL.type,m=u.id||"",h=u.id||"",f=u.deviceName||"",g=u.footprintId||"",b=u.footprintName||"",y=u.i3DModelId,w=u.i3DModelName,x=u.transform,S=u.designator||"",T="",M=!!u.isSelected,I=!1,A=u.dataStr||"",D=u.canvasOrigin,E="",N="",R=u.attrs,v=u.disabledRow;typeof a>"u"&&v===!0&&(a=v),D&&(D.x=+D.x||0,D.y=+D.y||0,D.z=+D.z||0),M&&(s=!0),m&&typeof e<"u"&&(m=`${e}${Yxr}${m}`,m=d+Gxr+m),M&&!v&&n.push(m),r.push({$id:m,checked:v===!0?!1:M,disabledRow:v,designator:S,comment:N,information:T,footprintDataStr:A,canvasOrigin:D,deviceItemTitle:f,symbolItem:null,symbolItemTitle:"",symbolItemIdInit:"",footprintItem:null,footprintItemTitle:b,footprintItemIdInit:g,d3modelItem:null,d3modelItemTitle:w,d3modelItemTransform:x||_e.D3MVIEW_DEFAULT_TRANSFORM,d3modelItemIdInit:y,simmodelItem:null,simmodelItemTitle:"",simmodelItemIdInit:"",isError:I,errorType:p,bgColor:E,tabId:e,attributes:R,path:c,ggeid:h})}return{isReadOnlyMode:a,deviceList:r,isSetSelected:s,deviceListSelectedIds:n}}async function ANi(){try{vt(.01,"CALL_D3MODELMANAGER_DIALOG");let e=he.getActiveTab().split("@")[0],i=await NNi(),o=i.unit?i.unit:i.default,r=await ei();vt(.2,"CALL_D3MODELMANAGER_DIALOG");let n=(await C.windowBridge.rpcCall("Component3DData","",r.contentWindow)).message;vt(.4,"CALL_D3MODELMANAGER_DIALOG");let{isReadOnlyMode:a=!1,deviceList:s=[],isSetSelected:l=!1,deviceListSelectedIds:c=[]}=await Wxr(n,e,.4,.8-.4);EVe(s),vt(.8,"CALL_D3MODELMANAGER_DIALOG");let d=Hxr(s);return vt(.9,"CALL_D3MODELMANAGER_DIALOG"),a&&(c.length=0),vt(1,"CALL_D3MODELMANAGER_DIALOG"),{deviceList:d,deviceListSelectedIds:c}}catch(t){return console.warn(t),vt(1,"CALL_D3MODELMANAGER_DIALOG"),{deviceList:[],deviceListSelectedIds:[]}}}var AVe=!1;async function kNi(){if(AVe)return;AVe=!0;let t=he.getActiveTabData(),e=ue.splitComponentId2FolderAndFilenameMixin(t.tabId);if(await Qd.getInstance().getPCBLevelTypeFromProjectTree(e.componentTitleOrId)!=="MAIN"){De({type:"warn",msg:me.i18n("3D Model Manager cannot be used in sub-picture"),timer:2.5});return}let{deviceList:o,deviceListSelectedIds:r}=await ANi();return await aB({callScenType:"PCB_CANVAS_TOP_MENU",path:"",searchInputValue:"",deviceList:o,deviceListSelectedIds:r,wantSelectedLibItemId:"",isFromProject:!0,onDialogOpen(){},onDialogCancel(){AVe=!1},onDialogClose(){},onDialogClosed(){AVe=!1},async onDialogConfirm(a){ENi(a)}})}var o7i=L(Hr());var PNi=/^matrix3d\((?:[-\d.]+,\s*){12}([-\d.]+),\s*([-\d.]+)(?:,\s*[-\d.]+){2}\)/,NVe="PCB_BTM_LAYERS_",kVe=NVe+"MOUSEDOWN",PVe=NVe+"MOUSEUP",S4s=NVe+"CLICKED_ITEM",OVe=NVe+"UPDATED_LAYERLIST";var ONi=L(Se());var RVe=class extends qe{constructor(){super(),this._containerElement=null,this._layers=[],this._renderLayers=[],this._hiddenIds=[],this._selectedIds=[],this._moveX=0,this._maxMoveX=0,this._minMoveX=0,this._isMoveToFarRight=!1,this._storage={}}get containerElement(){return this._containerElement}set containerElement(e){this._containerElement=e}get layers(){return this._layers}set layers(e){this._layers=e,this.renderLayers=this._layers.filter(i=>this._hiddenIds.indexOf(i.id)<=-1)}get renderLayers(){return this._renderLayers}set renderLayers(e){this._renderLayers=e,this.notify()}get hiddenIds(){return this._hiddenIds}set hiddenIds(e){this._hiddenIds=e,this.renderLayers=this._layers.filter(i=>this._hiddenIds.indexOf(i.id)<=-1)}get selectedIds(){return this._selectedIds}set selectedIds(e){this._selectedIds=e,this.notify()}get moveX(){return this._moveX}set moveX(e){this._moveX=e,this.notify()}get minMoveX(){return this._minMoveX}set minMoveX(e){this._minMoveX=e}get maxMoveX(){return this._maxMoveX}set maxMoveX(e){this._maxMoveX=e}get isMoveToFarRight(){return this._isMoveToFarRight}set isMoveToFarRight(e){this._isMoveToFarRight=e}get storage(){return this._storage}set storage(e){this._storage=e}},C1e=(0,ONi.createContext)(void 0);function _Ve(){return{left:0,top:0,right:0,bottom:0,x:0,y:0,width:0,height:0}}function jVe(t){let e=_Ve(),i=t.querySelector('[data-tagitem="arrowContainer"]');return i?i.getBoundingClientRect().toJSON():e}var zVe=L(Se());var _Ni=L(vSe());function DSe(t){let e={fullViewIndex:-1,distX:0},i=Array.from(t.firstElementChild.children),o=t.getBoundingClientRect().toJSON(),r=0;for(;r<=i.length-1;){let n=i[r].getBoundingClientRect().toJSON(),a=n.left+(n.right-n.left)/2;if(n.right<o.left){r++;continue}if(n.right===o.left){e.fullViewIndex=r+1,e.distX=1;break}if(n.left===o.left){e.fullViewIndex=r,e.distX=0;break}if(n.left<o.left&&a>=o.left){e.fullViewIndex=r+1,e.distX=o.left-n.left;break}if(a<=o.left&&n.right>o.left){e.fullViewIndex=r+1,e.distX=o.left-n.right;break}r++}return e}function pq(t,e,i){return t>=i?i:t<=e?e:t}var mq=L(z()),{locals:cne}=_Ni.default;function jNi(){let t=(0,zVe.useContext)(C1e);Ce(t);let e=cne["move-transition"],i=(0,zVe.useRef)(null),o=n=>{window.clearTimeout(i.current);let a=t.containerElement.querySelector('[data-tagitem="layerListContainer"]'),s=t.containerElement.querySelector('[data-tagitem="layerListWrapper"]'),l=a.getBoundingClientRect().toJSON(),c=s.getBoundingClientRect().toJSON(),d=DSe(a),u=s.children[d.fullViewIndex-1];if(!u||c.left>=l.left){s.style.transform="translate3d(0, 0, 5px)";return}let p=u.getBoundingClientRect().toJSON();s.classList.add(e);let m=d.distX>1?d.distX:p.width;t.moveX=pq(t.moveX+m,t.minMoveX,t.maxMoveX),s.style.transform=`translate3d(${t.moveX}px, 0, 5px)`,i.current=window.setTimeout(()=>{s.classList.remove(e)},115)},r=n=>{window.clearTimeout(i.current);let a=t.containerElement.querySelector('[data-tagitem="layerListContainer"]'),s=t.containerElement.querySelector('[data-tagitem="layerListWrapper"]'),l=a.getBoundingClientRect().toJSON(),c=s.getBoundingClientRect().toJSON(),d=DSe(a),u=s.children[d.fullViewIndex];if(!u||c.right<=l.right){s.style.transform=`translate3d(${t.minMoveX}px, 0, 5px)`;return}let p=u.getBoundingClientRect().toJSON();s.classList.add(e),t.moveX=pq(t.moveX-p.width,t.minMoveX,t.maxMoveX),s.style.transform=`translate3d(${t.moveX}px, 0, 5px)`,i.current=window.setTimeout(()=>{s.classList.remove(e)},115)};return(0,mq.jsx)("div",{className:cne["arrow-container"],"data-tagitem":"arrowContainer",children:(0,mq.jsxs)("div",{className:cne["arrow-wrapper"],children:[(0,mq.jsx)("div",{className:cne["left-arrow"],onClick:o,children:(0,mq.jsx)("i",{className:cne["left-arrow-icon"]})}),(0,mq.jsx)("div",{className:cne["right-arrow"],onClick:r,children:(0,mq.jsx)("i",{className:cne["right-arrow-icon"]})})]})})}var CI=L(Se());var YNi=L(vSe());function FVe(t){for(;t;){if(t.getAttribute("data-tagitem")==="pcblayerbar-layer-item")return t;t=t.parentElement}return null}function BNi(t,e){let i={dist:0,position:"none"},o=t.getBoundingClientRect().toJSON(),r=e.getBoundingClientRect().toJSON(),n=jVe(t),a=n.width>0?n.right:o.left;return r.left<=a?(i.dist=Math.abs(a-r.left),i.position="left",i):(r.right>=o.right&&(i.dist=Math.abs(o.right-r.right),i.position="right"),i)}function OIt(t,e=0){let i=_Ve(),o=Array.from(t.firstElementChild.children);return o[e]?o[e].getBoundingClientRect().toJSON():i}function zNi(t){let i=window.getComputedStyle(t).transform.match(PNi);return i?+i[1]:0}var FNi=L(vSe()),ESe=L(z()),{locals:Qxr}=FNi.default;function UNi(t){let{title:e}=t,i=J(),o=e;if(me.curr==="zh-hans"){if(eP.indexOf(e)<=-1){if(/\.*(Inner)\.*/i.test(e)){let r=e.match(/\d/i);r&&(o=me.i18n("Inner")+r[0])}else o=i(e);if(/\.*(Custom)\.*/i.test(e)){let r=e.match(/\d/i);r&&(o=me.i18n("Custom")+r[0])}else o=i(e)}}else/\.*Layer|-Layer\.*/i.test(o)&&(o=o.replace(/\.*Layer|-Layer\.*/i,"").trim());return(0,ESe.jsx)(ESe.Fragment,{children:(0,ESe.jsx)("div",{className:Qxr["layer-title"],children:o})})}var hH=L(z()),{locals:hq}=YNi.default,VNi=10,Kxr="pointerdown",HNi="pointermove",GNi="pointerup";function WNi(){let t=(0,CI.useContext)(C1e);Ce(t);let e=hq["move-transition"],i=(0,CI.useRef)(null),o=(0,CI.useRef)(null),r=(0,CI.useRef)({targetElement:null,mouseDownX:0,mouseDownOffsetX:0,mouseMoveDistX:0,isMoveSuprathreshold:void 0}),n=(0,CI.useCallback)(c=>{if(!c)return;let d=c.getAttribute("data-layerid"),u=Ft(t.renderLayers,"id",d);u.index>=0&&(C.messageBus.publish("toggleLayerSelected",{layerid:u.data.id,LayerBartoggleLayer:!0}),t.selectedIds=[u.data.id]);let p=t.containerElement.querySelector('[data-tagitem="layerListContainer"]'),m=Array.from(i.current.children).indexOf(c),h=BNi(t.containerElement,c);if(h.dist!==0){if(h.position==="left"){let f=OIt(p,m-1).width;t.moveX=t.moveX+h.dist+f,t.moveX=pq(t.moveX,t.minMoveX,t.maxMoveX),r.current.targetElement.style.transform=`translate3d(${t.moveX}px, 0, 5px)`;return}if(h.position==="right"){let f=OIt(p,m+1).width;t.moveX=t.moveX-h.dist-f,t.moveX=pq(t.moveX,t.minMoveX,t.maxMoveX),r.current.targetElement.style.transform=`translate3d(${t.moveX}px, 0, 5px)`;return}}},[]),a=(0,CI.useCallback)(c=>{if(c.button!==0)return;ASe(t.containerElement.previousElementSibling);let d=c.currentTarget;o.current=c.target,d.classList.remove(e),C.messageBus.publish(kVe),r.current.mouseDownX=c.clientX,r.current.targetElement=d,r.current.mouseDownOffsetX=c.clientX-zNi(d),document.addEventListener(HNi,s,!1),document.addEventListener(GNi,l,!1)},[]),s=(0,CI.useCallback)(c=>{r.current.mouseMoveDistX=c.clientX-r.current.mouseDownOffsetX,t.isMoveToFarRight=r.current.mouseMoveDistX<=t.minMoveX,r.current.mouseMoveDistX=parseInt(pq(r.current.mouseMoveDistX,t.minMoveX,t.maxMoveX)),r.current.targetElement.style.transform=`translate3d(${r.current.mouseMoveDistX}px, 0, 5px)`,r.current.isMoveSuprathreshold!==!0&&(r.current.isMoveSuprathreshold=Math.abs(c.clientX-r.current.mouseDownX)>=VNi),t.moveX=r.current.mouseMoveDistX},[]),l=(0,CI.useCallback)(c=>{if(document.removeEventListener(HNi,s),document.removeEventListener(GNi,l),r.current.targetElement.classList.add(e),C.messageBus.publish(PVe),Math.abs(c.clientX-r.current.mouseDownX)<=VNi&&!r.current.isMoveSuprathreshold&&o.current){let u=FVe(o.current);n(u),o.current=void 0}if(r.current.isMoveSuprathreshold=void 0,r.current.mouseDownX===c.clientX){o.current=void 0;return}let d=DSe(i.current.parentElement);window.setTimeout(()=>{let u=t.isMoveToFarRight?parseInt(t.minMoveX):parseInt(pq(r.current.mouseMoveDistX+d.distX,t.minMoveX,t.maxMoveX));r.current.targetElement.style.transform=`translate3d(${u}px, 0, 5px)`,t.moveX=r.current.mouseMoveDistX=u})},[]);return(0,CI.useEffect)(()=>{if(i.current)return i.current.addEventListener(Kxr,a,!1),()=>{r.current=void 0,o.current=void 0}},[]),(0,CI.useEffect)(()=>{C.messageBus.publish(OVe)},[t.renderLayers]),(0,hH.jsx)("div",{className:hq["list-container"],"data-tagitem":"layerListContainer",children:(0,hH.jsx)("div",{className:hq["list-wrapper"],ref:i,"data-tagitem":"layerListWrapper",children:t.renderLayers.map((c,d)=>{let u=`${hq["layer-item-wrapper"]} ${t.selectedIds.indexOf(c.id)>=0?hq["layer-item-wrapper-selected"]:""}`;return(0,hH.jsxs)("div",{className:u,"data-tagitem":"pcblayerbar-layer-item","data-layerid":c.id,"data-layerindex":d,children:[(0,hH.jsx)("div",{className:hq["layer-dividing-line"]}),(0,hH.jsx)("div",{className:hq["layer-color-wrapper"],children:(0,hH.jsx)("div",{className:hq["layer-color"],style:{backgroundColor:c.color}})}),(0,hH.jsx)(UNi,{title:c.title})]},d)})})})}var jIt=L(vSe());var Zxr="Hide the layer";var QNi=[{title:"Lock",cmd:"LOCK"},{type:"SEPARATOR"},{title:"Layer Manager",cmd:"LAYER_MANAGER",menuUiAction:"layerOptionsSet",menuHotKeyCmd:"layerOptionsSet"},{type:"SEPARATOR"},{title:"Flip Board",cmd:"FLIP_BOARD",tips:"",menuUiAction:"Flip Board",menuHotKeyCmd:"Flip Board"},{type:"SEPARATOR"},{title:"Show layer",cmd:"SHOW_LAYER",subMenu:[]},{type:"SEPARATOR"},{title:Zxr,cmd:"HIDE_THE_LAYER"}],KNi=[{title:"Layer Manager",cmd:"LAYER_MANAGER",menuUiAction:"layerOptionsSet",menuHotKeyCmd:"layerOptionsSet"},{type:"SEPARATOR"},{title:"Flip Board",cmd:"FLIP_BOARD",tips:"",menuUiAction:"Flip Board",menuHotKeyCmd:"Flip Board"},{type:"SEPARATOR"},{title:"Show layer",cmd:"SHOW_LAYER",subMenu:[]}];var ZNi=L(Se());var dne=L(z());function Jxr(t){let e=J(),{isShowBottomBorder:i,id:o,title:r}=t,[n,a]=(0,ZNi.useState)(!0),s=n?"visible-toggle-btn hidden-eye-tag":"visible-toggle-btn visible-eye-tag",l=d=>{d.stopPropagation(),d.preventDefault(),a(p=>!p),C.pcbMainAttrPanel&&C.pcbMainAttrPanel.triggerLayerShowStateUpdateByLayerId(o,n);let u=C.pcbLayersBar;u&&(n?u.deleteHiddenId(o):u.addHiddenId(o))},c=r;if(me.curr==="zh-hans"){if(eP.indexOf(r)<=-1){if(/\.*(Inner)\.*/i.test(r)){let d=r.match(/\d/i);d&&(c=me.i18n("Inner")+d[0])}else c=e(r);if(/\.*(Custom)\.*/i.test(r)){let d=r.match(/\d/i);d&&(c=me.i18n("Custom")+d[0])}else c=e(r)}}else/\.*Layer|-Layer\.*/i.test(c)&&(c=c.replace(/\.*Layer|-Layer\.*/i,"").trim());return(0,dne.jsx)("div",{className:"layer-panel-table",style:{padding:"2px 5px",borderBottom:i?"1px solid var(--common-border-color)":"none"},children:(0,dne.jsxs)("div",{className:"layer-panel-row display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",children:[(0,dne.jsx)("div",{"data-controlitem":"toggle-visible",className:s,onClick:l}),(0,dne.jsx)("div",{"data-controlitem":"toggle-selected",className:"layer-content-show",style:{lineHeight:"25px"},children:(0,dne.jsx)("span",{className:"i18n","data-i18n-context":"pcb-layers","data-test":r,children:c})})]})})}var JNi=Jxr;function NSe(t,e){console.log(t);let i=t.cmdlink;if(!(i.length<=0))switch(i[0]){case"LOCK":{window.setTimeout(()=>{let o=t.data;o&&C.pcbMainAttrPanel&&C.pcbMainAttrPanel.triggerLayerLockStateUpdateByLayerId(o.id,!o.isLock)});break}case"LAYER_MANAGER":{Ic("layerOptionsSet");break}case"LAYER_WINDOW":{C.messageBus.publish("setActiveTab","LAYER");break}case"FLIP_BOARD":{Ic("flipBoard",{});break}case"HIDE_THE_LAYER":{window.setTimeout(()=>{let o=t.data;o&&C.pcbMainAttrPanel&&C.pcbMainAttrPanel.triggerLayerShowStateUpdateByLayerId(o.id,!1);let r=C.pcbLayersBar;r&&r.addHiddenId(o.id)});break}case"SHOW_THE_LAYER":{window.setTimeout(()=>{let o=t.data;o&&C.pcbMainAttrPanel&&C.pcbMainAttrPanel.triggerLayerShowStateUpdateByLayerId(o.id,!0)});break}case"SHOW_LAYER":{window.setTimeout(()=>{let o=/toggleLayerStatus@(\d+)/i.exec(i[1]);if(o&&o.length){let r=o[1];if(!r)return;C.pcbMainAttrPanel&&C.pcbMainAttrPanel.triggerLayerShowStateUpdateByLayerId(r,!0);let n=C.pcbLayersBar;n&&n.deleteHiddenId(r)}});break}default:}}function RIt(t,e,{hitCmd:i,confirmedItemBoundingRect:o}){if(t.stopPropagation(),t.preventDefault(),i){NSe({cmdlink:[i],clickedItemBoundingRect:o||l_()},null),window.setTimeout(()=>{e()},50);return}}function _It(t,e){}var t7i=L(z());function qNi(t){for(let e of t)e.menuUiAction&&(e.tips=Ys.getHotkey(e.menuUiAction)||""),e.menuHotKeyCmd&&(e.menuHotKey=Ys.getMenuHotkey(e.menuHotKeyCmd)||"",e.menuHotKey&&(e.title=e.title+`(${e.menuHotKey})`))}function XNi(t){return(e,i)=>{let o=JSON.parse(JSON.stringify(QNi));qNi(o);let r=Ft(t.renderLayers,"id",e);if(r.data){o[o.length-1].data=r.data;let n=Ft(o,"cmd","LOCK");n.index>=0&&(n.data.checked=r.data.isLock,n.data.data=r.data);let a=Ft(o,"cmd","FLIP_BOARD");a.index>=0&&(a.data.checked=t.storage.isFlipBorad);let s=Ft(o,"cmd","SHOW_LAYER");t.hiddenIds.length<=0?(o.splice(s.index,1),o.splice(s.index,1)):s.data.subMenu=e7i(t);let c=Ft(o,"cmd","LAYER_MANAGER");c.index>=0&&(c.data.disabled=je()),Da.open({data:o,contextmenuName:"pcbLayersBarContextMenu",position:{x:i.clientX,y:i.clientY},panelMaxHeight:296,panelAlignment:"RIGHT_TOP",onClick(d,u,p,m){return NSe(d,u)},onKeydown:RIt,onKeyup:_It})}}}function $Ni(t){return e=>{let i=JSON.parse(JSON.stringify(KNi));qNi(i);let o=Ft(i,"cmd","FLIP_BOARD");o.index>=0&&(o.data.checked=t.storage.isFlipBorad);let r=Ft(i,"cmd","SHOW_LAYER");t.hiddenIds.length<=0?(i.splice(r.index,1),i.splice(r.index,1)):r.data.subMenu=e7i(t);let a=Ft(i,"cmd","LAYER_MANAGER");a.index>=0&&(a.data.disabled=je()),Da.open({data:i,position:{x:e.clientX,y:e.clientY},contextmenuName:"pcbLayersBarContextMenu",panelAlignment:"RIGHT_TOP",panelMaxHeight:296,onClick(s,l,c,d){return NSe(s,l)},onKeydown:RIt,onKeyup:_It})}}function e7i(t){let e=t.hiddenIds,i=t.layers,o=[],r=i.filter(n=>e.indexOf(n.id)>=0);return r.forEach((n,a)=>{o.push({title:(0,t7i.jsx)(JNi,{...n,isShowBottomBorder:!(a>=r.length-1)}),cmd:"toggleLayerStatus@"+n.id,isSetContentJSX:!0,isHideTips:!0,isHidePreTag:!0,isHideExt:!0})}),o}var fq=L(z()),{locals:Xxr}=jIt.default;function i7i(t){let{storeInstance:e}=t,i=XNi(e),o=$Ni(e),r=n=>{n.preventDefault(),ASe(e.containerElement.previousElementSibling);let a=FVe(n.target);if(a){let s=a.getAttribute("data-layerid");i(s,n);return}o(n)};return(0,fq.jsxs)("section",{style:{width:"100%",height:"100%"},children:[(0,fq.jsx)("style",{children:String(jIt.default)}),(0,fq.jsx)("div",{className:Xxr.container,onContextMenu:r,"data-enablecontextmenu":"true",children:(0,fq.jsxs)(C1e.Provider,{value:e,children:[(0,fq.jsx)(jNi,{}),(0,fq.jsx)(WNi,{})]})})]})}var r7i=L(z()),UVe=class{constructor(e){this.subscribes=[];this._isShowPCBBottomLayersBar=!0,this._uniqueId=Mt(),this._containerId=`pcbLayersBar${this._uniqueId}`,this._maskElementId=`pcbLayersBarAreaMask${this._uniqueId}`,this._htmlParentContainer=e,this._storeInstance=new RVe,this._resizeObserver=new ResizeObserver(this.containerResizeObserverCallback.bind(this));let i=C.messageBus.subscribe(kVe,()=>{document.getElementById(this._maskElementId)||(this._htmlParentContainer.appendChild(document.createRange().createContextualFragment(this.createMaskElementHtmlString())),this._maskElement=this._htmlParentContainer.lastElementChild)}),o=C.messageBus.subscribe(PVe,()=>{this._maskElement&&(this._maskElement.remove(),this._maskElement=void 0)}),r=C.messageBus.subscribe(OVe,()=>{window.setTimeout(()=>{this.updateRectRange()})}),n=C.messageBus.subscribe("updateLanguageSetting",()=>{window.setTimeout(()=>{this.updateRectRange()})});this.subscribes.push(i,o,r,n),this.init()}init(){if(!this._htmlParentContainer)return;this._htmlParentContainer.appendChild(document.createRange().createContextualFragment(this.createContainerHtmlString())),this.render();let e=document.getElementById(this._containerId);this._resizeObserver.observe(e),this._storeInstance.containerElement=e,window.setTimeout(()=>{this.updateRectRange()})}getStoreStorage(){return JSON.parse(JSON.stringify(this._storeInstance.storage))}setStorage(e,i){this._storeInstance.storage[e]=i}setShow(){let e=document.getElementById(this._containerId);e&&this._isShowPCBBottomLayersBar&&(e.style.display="block",x1e(!0))}setHidden(){let e=document.getElementById(this._containerId);e&&(e.style.display="none",x1e(!1))}get isShowPCBBottomLayersBar(){return this._isShowPCBBottomLayersBar}set isShowPCBBottomLayersBar(e){this._isShowPCBBottomLayersBar=e}get containerId(){return this._containerId}destroy(){let e=document.getElementById(this._containerId);this._resizeObserver.unobserve(e),e.remove(),this.subscribes.forEach(i=>i.cancel())}updateLayerList(e){let i=[],o=[],r=[],n=[],a=-1;for(let c=0;c<e.length;c++){if(kSe(e[c].layerType)){o.push(e[c]);continue}if(xI(+e[c].id)){r.push(e[c]);continue}if(+e[c].id<=1){n.push(e[c]);continue}i.push(e[c]),e[c].title==="Board Outline Layer"&&(a=i.length-1)}let s=[];a>=0&&(s=i.splice(a,i.length-1));let l=[...n,...o,...i,...r,...s];this._storeInstance.layers=JSON.parse(JSON.stringify(l)),window.setTimeout(()=>{this.updateRectRange()})}updateHiddenIds(e=[]){this._storeInstance.hiddenIds=e,window.setTimeout(()=>{this.updateRectRange()})}getHiddenIds(){return JSON.parse(JSON.stringify(this._storeInstance.hiddenIds))}addHiddenId(e){let i=this.getHiddenIds();i.indexOf(e)>=0||this.updateHiddenIds([...i,e])}deleteHiddenId(e){let i=this.getHiddenIds(),o=i.indexOf(e);o<=-1||this.updateHiddenIds((i.splice(o,1),i))}updateLayerSelected(e){this._storeInstance.selectedIds=JSON.parse(JSON.stringify(e))}updateLayerLocked(e,i){let o=Ft(this._storeInstance.renderLayers,"id",e);o.data&&(o.data.isLock=!!i)}updateRectRange(e=void 0){let i=document.getElementById(this._containerId);if(!i)return;let o=i.getBoundingClientRect().toJSON(),r=i.querySelector('[data-tagitem="layerListWrapper"]');if(!r)return;let n=r.getBoundingClientRect().toJSON(),a=i.querySelector('[data-tagitem="arrowContainer"]');if(n.width<=o.width)this._storeInstance.moveX=0,this._storeInstance.minMoveX=0,a.style.display="none";else{a.style.display="block";let s=jVe(i);this._storeInstance.minMoveX=-1*(n.width-o.width)-s.width,n.right<=o.right&&(this._storeInstance.moveX=this._storeInstance.minMoveX)}typeof e<"u"&&(this._storeInstance.moveX=e),r.style.transform=`translate3d(${this._storeInstance.moveX}px, 0, 5px)`}setContainerRectStyle(e={}){let i=document.getElementById(this._containerId);i&&(Object.keys(e).forEach(o=>{i.style[o]=e[o]}),this.updateRectRange())}render(){let e=document.getElementById(this._containerId);if(!e)return;o7i.default.createRoot(e).render((0,r7i.jsx)(i7i,{storeInstance:this._storeInstance}))}createContainerHtmlString(){return`
            <section
				id="${this._containerId}"
				style="display: none; width: 100%; height: 16px; overflow: hidden; position: absolute; left: 0; bottom: 24px; right: 0; background-color: #ffffff; z-index: 2"
			></section>
        `}containerResizeObserverCallback(e){window.clearTimeout(this._timer),this._timer=window.setTimeout(this.updateRectRange.bind(this))}createMaskElementHtmlString(){return`
			<div id="${this._maskElementId}" style="z-index: 998; width: 100%; height: 100%; position: absolute; left: 0; top: 0; bottom: 0; right: 0; background: transparent;"></div>
		`}};function BIt(){if(C.pcbAllLayersBars.length)for(let t of C.pcbAllLayersBars)t.setContainerRectStyle({left:0,width:"100%"})}function zIt(){if(C.pcbAllLayersBars.length)for(let t of C.pcbAllLayersBars)t.setContainerRectStyle({left:"0",width:"100%"})}async function T1e(t){if(!t||!t.PCB_FOOTPRINT||!C.pcbAllLayersBars.length)return;let e=await ei();if(!(typeof t.PCB_FOOTPRINT.isShowRuler=="object"?t.PCB_FOOTPRINT.isShowRuler.value:t.PCB_FOOTPRINT.isShowRuler)){BIt(),e&&C.windowBridge.publish("showRuler",!1,e.contentWindow);return}zIt(),e&&C.windowBridge.publish("showRuler",!0,e.contentWindow)}var Q3=L(Se());var UIt=L(FIt()),e2=L(z()),$xr=t=>{let{containerId:e,type:i,fileName:o,options:r,silkChecked:n,setFileName:a,setOptions:s,setSilkChecked:l}=t.props,c=J(),d=be.bind(UIt.default.locals);Ae(UIt.default);let u=[{value:"One Key Export",style:{flex:"1"}},{value:"Custom Config",style:{flex:"1"}}],p=()=>{Ic("Preview2D",{attrs:{"attr-silk-technology":"colorfulSilk"}}),le.close(e)};return(0,e2.jsx)(e2.Fragment,{children:(0,e2.jsxs)("div",{className:d("gray-dialog-border"),children:[(0,e2.jsx)("div",{className:d("export-row-container"),"data-export-source":"PCB",children:(0,e2.jsxs)("div",{className:d("export-column-container"),style:{width:"100%"},children:[(0,e2.jsx)("span",{"data-test":"File Name:",children:c("File Name:")}),(0,e2.jsx)("input",{id:"Gerber_exportName",type:"text",value:o,style:{flexGrow:"1"},onChange:m=>a(m.target.value)})]})}),(0,e2.jsxs)("div",{id:"exportOptionsBox",className:d("export-row-container"),"data-export-source":"PCB",children:[(0,e2.jsx)("div",{className:d("export-column-container"),children:(0,e2.jsxs)("span",{"data-test":"Option",children:[c("Option"),": "]})}),(0,e2.jsx)($i,{onChange:m=>s(m),value:r,options:u,gap:32})]}),(0,e2.jsxs)("div",{id:"exportSilkBox",className:d("export-row-container"),"data-export-source":"PCB",style:{alignItems:"flex-start",display:`${i=="Gerber"&&VJ()?"flex":"none"}`},children:[(0,e2.jsx)("div",{className:d("export-column-container"),children:(0,e2.jsxs)("span",{children:[c("Silkscreen:")," "]})}),(0,e2.jsxs)("div",{children:[(0,e2.jsxs)("label",{children:[(0,e2.jsx)("input",{name:"silkscreenInfo",type:"checkbox",checked:n,value:"SILK",onChange:m=>{l(m.target.checked)}}),(0,e2.jsx)("span",{"data-test":"Generate colorful silkscreen fabrication file(Only for JLCPCB)",className:"SILK",children:c("Generate colorful silkscreen fabrication file(Only for JLCPCB)")})]}),(0,e2.jsx)("span",{"data-test":"Preview colorful silkscreen","data-cmd":"Preview2D",className:d("spanLink"),onClick:()=>p(),children:c("Preview colorful silkscreen")})]})]})]})})},a7i=$xr;var lB=L(Se());var VIt=L(FIt());var wn=L(z()),eTr=t=>{let e=J(),i=be.bind(VIt.default.locals);Ae(VIt.default);let{type:o,unitFormat_cache:r,PTHChecked:n,NPTHChecked:a,drillTableChecked:s,flyingProbeChecked:l,exportConfigs_cache:c,currentConfig:d,defaultLayerConfigs:u,isImportConfig:p,setIsImportConfig:m,setUnitFormatCache:h,setPTHChecked:f,setNPTHChecked:g,setDrillTableChecked:b,setFlyingProbeChecked:y,setExportConfigsCache:w,setCurrentConfig:x}=t.props,[S,T]=(0,lB.useState)([]),[M,I]=(0,lB.useState)(()=>Rg(u).map(ne=>{let oe=d.layerConfigs.find(X=>X.layerId==ne.layerId),re=!!oe,Y=!!(oe!=null&&oe.isMirror);return{...ne,checked:re,isMirror:Y}})),[A,D]=(0,lB.useState)(()=>Rg(gIt).map(ne=>{let oe=d.objectConfigs.some(re=>re==ne.value);return{...ne,checked:oe}})),[E,N]=(0,lB.useState)(r.unit),[R,v]=(0,lB.useState)(r.format),[k,P]=(0,lB.useState)({[r.unit]:r.format});(0,lB.useEffect)(()=>{U()},[]),(0,lB.useEffect)(()=>{p&&(U(),m(!1))},[p]);let O=[{label:"Millimeter",value:"MM"},{label:"Inch",value:"IN"}],_=()=>{let ce=S.findIndex(ne=>ne.active);return ce>-1?[ce]:[]},j=()=>{let ce=[{2:"0.01"},{3:"0.001"},{4:"0.0001"},{5:"0.00001"},{6:"0.000001"}],ne="mm",oe=ce.slice(0,4);return r.unit=="IN"&&(ne="mil",oe=[{3:"1"},{4:"0.1"},{5:"0.01"},{6:"0.001"}]),oe.map(Y=>{for(let X in Y){let ie=Y[X];return{value:X,text:ie+ne,showOriginalText:!0}}})},B=ce=>M.find(ne=>ce==ne.layerId),V=ce=>A.find(ne=>ne.value==ce),G=[{key:"layerId",name:e("Export Layer"),width:.5,ellipsis:!0,i18n:!0,render:ce=>{let ne=B(ce.row.layerId);return(0,wn.jsxs)(wn.Fragment,{children:[(0,wn.jsx)(qt,{style:{marginRight:"4px"},checked:ne.checked,onChange:oe=>{ne.checked=oe,oe||(ne.isMirror=!1),I([...M]),te()}}),(0,wn.jsx)("span",{"data-test":ne.layerName,children:e(ne.layerName)})]})},nameRender:()=>(0,wn.jsxs)(wn.Fragment,{children:[(0,wn.jsx)(qt,{checked:M.every(ce=>ce.checked),style:{marginRight:"4px"},onChange:ce=>{M.forEach(ne=>{ne.checked=ce,ce||(ne.isMirror=!1)}),I([...M]),te()}}),(0,wn.jsx)("span",{"data-test":"Export Layer",children:e("Export Layer")})]})},{key:"isMirror",name:e("Mirror"),width:.5,ellipsis:!0,i18n:!0,render:ce=>{let ne=B(ce.row.layerId);return(0,wn.jsx)(qt,{disabled:!ne.checked,checked:ne.isMirror,onChange:oe=>{ne.isMirror=oe,I([...M]),te()}})},nameRender:()=>(0,wn.jsxs)(wn.Fragment,{children:[(0,wn.jsx)(qt,{disabled:!M.some(ce=>ce.checked),checked:M.every(ce=>ce.isMirror||!ce.checked)&&M.some(ce=>ce.checked),style:{marginRight:"4px"},onChange:ce=>{M.forEach(ne=>{ne.checked&&(ne.isMirror=ce)}),I([...M]),te()}}),(0,wn.jsx)("span",{"data-test":"Mirror",children:e("Mirror")})]})}],Q=[{key:"value",name:e("Export Object"),width:1,ellipsis:!0,i18n:!0,render:ce=>{let ne=V(ce.row.value);return(0,wn.jsxs)(wn.Fragment,{children:[(0,wn.jsx)(qt,{style:{marginRight:"4px"},checked:ne.checked,onChange:oe=>{ne.checked=oe,D([...A]),ae()}}),(0,wn.jsx)("span",{"data-test":ne.name,children:e(ne.name)})]})},nameRender:()=>(0,wn.jsxs)(wn.Fragment,{children:[(0,wn.jsx)(qt,{checked:A.every(ce=>ce.checked),style:{marginRight:"4px"},onChange:ce=>{A.forEach(ne=>{ne.checked=ce}),D([...A]),ae()}}),(0,wn.jsx)("span",{"data-test":"Export Object"}),e("Export Object")]})}],H=(ce,ne)=>{let oe=Rg(r);switch(ne){case"unit":oe.unit=ce,N(ce),k[ce]?(oe.format.Integer=k[ce].Integer,oe.format.Decimals=k[ce].Decimals,v(oe.format)):(ce=="MM"?(oe.format.Integer="4",oe.format.Decimals="5"):(oe.format.Integer="3",oe.format.Decimals="6"),v(oe.format),P({...k,[ce]:Rg(oe.format)}));break;case"Decimals":oe.format.Decimals=ce,v(oe.format),P({...k,[oe.unit]:Rg(oe.format)});break}h(oe)},q=ce=>{switch(ce){case"add":let ne=Object.keys(c);if(ne.length>=20){CSe("You can add up to 20 configurations","error");return}let oe="Custom 1";c[oe]&&(oe=zJ(oe,ne," ")),c[oe]=Rg(d);for(let ye in c)if(Object.prototype.hasOwnProperty.call(c,ye)){let Le=c[ye];ye!=oe&&(Le.active=!1)}let re={configName:oe,originName:oe,index:S[S.length-1].index+1,active:!0};S.push(re),T(S),w({...c});break;case"delete":let Y=_()[0]||0,X=S[_()[0]].configName;if(!X)return;delete c[X];let ie=Y<S.length-1?Y+1:0,de=S[ie].configName;de==e("default")&&S[ie].originName=="default"&&(de="default"),c[de].active=!0,S[ie].active=!0;let fe=S[ie];S.splice(Y,1),F({row:fe});break}},U=()=>{let ce=[],ne=-1;for(let oe in c){let re=c[oe],Y={configName:oe=="default"?e("default"):oe,originName:oe,index:ne++,active:re.active};oe=="default"?ce.unshift(Y):ce.push(Y)}T(ce)},F=ce=>{let{row:ne}=ce,oe=ne.configName==e("default")?"default":ne.configName;for(let Y in c)if(Object.prototype.hasOwnProperty.call(c,Y)){let X=c[Y];Y==oe?X.active=!0:X.active=!1}for(let Y of S)Y.index!==ne.index?Y.active=!1:Y.active=!0;let re=c[oe];K({...re}),w({...c}),T(S)},K=ce=>{x(ce);let ne=M.map(re=>{let Y=ce.layerConfigs.find(de=>de.layerId==re.layerId),X=!!Y,ie=Y==null?void 0:Y.isMirror;return{...re,checked:X,isMirror:ie}});I([...ne]);let oe=A.map(re=>{let Y=ce.objectConfigs.some(X=>X==re.value);return{...re,checked:Y}});D([...oe])},te=()=>{let ce=[];for(let oe of M)oe.checked&&ce.push({layerId:oe.layerId,isMirror:oe.isMirror});d.layerConfigs=ce,x(d);let ne=S[_()[0]].configName;ne==e("default")&&S[_()[0]].originName=="default"&&(ne="default"),c[ne]=d,w(c)},ae=()=>{let ce=[];for(let oe of A)oe.checked&&ce.push(oe.value);d.objectConfigs=ce,x(d);let ne=S[_()[0]].configName;ne==e("default")&&S[_()[0]].originName=="default"&&(ne="default"),c[ne]=d,w(c)},pe=_()[0]!=0,Z=ce=>{let ne=[],oe=c;for(let re in oe)if(Object.prototype.hasOwnProperty.call(c,re)){let Y=S[_()[0]];re==Y.originName&&ne.push(re,Y.configName)}ne.length&&(c=ee(oe,ne[0],ne[1])),T([...S]),w({...c})},ee=(ce,ne,oe)=>{let re={};for(let Y in ce)Y===ne?re[oe]=ce[Y]:re[Y]=ce[Y];return re};return(0,wn.jsx)(wn.Fragment,{children:(0,wn.jsx)("div",{className:i("gray-dialog-border"),children:(0,wn.jsxs)("div",{"data-export-source":"PCB",children:[(0,wn.jsxs)("div",{className:i("two-cols equal-width margin-outer"),children:[(0,wn.jsxs)("div",{className:i("two-cols label-at-left gap-outer"),children:[(0,wn.jsx)("div",{"data-test":"Unit:",children:e("Unit:")}),(0,wn.jsx)("div",{children:(0,wn.jsx)($i,{gap:8,value:E,onChange:ce=>H(ce,"unit"),options:O,style:{display:"inline-flex"}})}),(0,wn.jsx)("div",{style:{display:`${o=="odb++"?"none":""}`,lineHeight:"24px"},"data-export-source":"PCB","data-test":"Precision:",children:e("Precision:")}),(0,wn.jsx)("div",{style:{display:`${o=="odb++"?"none":""}`},children:(0,wn.jsx)(xt,{style:{width:"110px",padding:0},list:j(),value:R.Decimals,onChange:ce=>{H(ce,"Decimals")}})})]}),(0,wn.jsxs)("div",{className:i("two-cols label-at-left gap-outer"),children:[(0,wn.jsx)("div",{"data-test":"Other:",children:e("Other:")}),(0,wn.jsxs)("div",{className:i("rows gap-inner"),children:[(0,wn.jsx)("div",{children:(0,wn.jsxs)("label",{children:[(0,wn.jsx)("input",{name:"drillInfo",type:"checkbox",checked:n,onChange:ce=>{f(ce.target.checked)}}),(0,wn.jsx)("span",{"data-test":"Export Metallic Drilling Information",children:e("Export Metallic Drilling Information")})]})}),(0,wn.jsx)("div",{children:(0,wn.jsxs)("label",{children:[(0,wn.jsx)("input",{name:"drillInfo",type:"checkbox",checked:a,onChange:ce=>{g(ce.target.checked)}}),(0,wn.jsx)("span",{"data-test":"Export Non-metallic Drilling Information",children:e("Export Non-metallic Drilling Information")})]})}),(0,wn.jsx)("div",{children:(0,wn.jsxs)("label",{children:[(0,wn.jsx)("input",{name:"drillTableInfo",type:"checkbox",checked:s,onChange:ce=>b(ce.target.checked)}),(0,wn.jsx)("span",{"data-test":"Export Drill Table",children:e("Export Drill Table")})]})}),(0,wn.jsx)("div",{children:(0,wn.jsxs)("label",{children:[(0,wn.jsx)("input",{name:"flyingProbeInfo",type:"checkbox",checked:l,onChange:ce=>y(ce.target.checked)}),(0,wn.jsx)("span",{"data-test":"Export Flying Probe Testing File",children:e("Export Flying Probe Testing File")})]})})]})]})]}),(0,wn.jsxs)("div",{style:{alignItems:"flex-start"},className:i("export-row-container"),children:[(0,wn.jsxs)("div",{id:"pageGerberCtrl",children:[(0,wn.jsx)("div",{className:i("export-column-container"),children:(0,wn.jsxs)("span",{"data-test":"Config",children:[e("Config"),":"]})}),(0,wn.jsxs)("div",{className:"form-box",children:[(0,wn.jsxs)("div",{children:[(0,wn.jsx)("span",{className:i("icon_operate icon_operate_add attr_setting_btn"),"data-i18n-attr":"title",title:"Add","data-ctrl":"add",onClick:()=>q("add")}),(0,wn.jsx)("span",{className:i(`icon_operate icon_operate_delete attr_setting_btn ${S.length<=1||!_().length||!_()[0]?"disabled":""}`),"data-i18n-attr":"title",title:"Delete","data-ctrl":"delete",onClick:()=>q("delete")})]}),(0,wn.jsx)("div",{id:"Gerber_configGrid",style:{width:"100px",flexGrow:1},children:(0,wn.jsx)(xi,{rowHeight:31,height:266,onChange:ce=>Z(ce),onClick:ce=>{F(ce)},selectedRowNumbers:_(),index:"index",border:!0,stockade:!0,columns:[{key:"configName",name:e("Name"),width:1,editable:pe}],rows:S})})]})]}),(0,wn.jsxs)("fieldset",{className:i("gray-dialog-border"),style:{marginRight:"8px",display:"flex"},children:[(0,wn.jsx)("legend",{"data-test":"Select Layer",children:e("Select Layer")}),(0,wn.jsx)("div",{id:"Gerber_layerGrid",style:{width:"366px",minHeight:"300px",flexGrow:1},children:(0,wn.jsx)(xi,{selectedRowNumbers:[null],rowHeight:31,stockade:!0,height:300,index:"layerId",border:!0,columns:G,rows:M})})]}),(0,wn.jsxs)("fieldset",{className:i("gray-dialog-border"),style:{minWidth:"180px"},children:[(0,wn.jsx)("legend",{"data-test":"Select Object",children:e("Select Object")}),(0,wn.jsx)("div",{id:"Gerber_objectGrid",style:{width:"162px",minHeight:"300px",flexGrow:1},children:(0,wn.jsx)(xi,{selectedRowNumbers:[null],rowHeight:31,stockade:!0,height:300,index:"value",border:!0,columns:Q,rows:A})})]})]})]})})})},s7i=eTr;var GA=L(z()),tTr=({containerId:t,getExportConfigs:e,getUnitFormat:i,defaultLayerConfigs:o,old:r,originInfo:n})=>{let a=J(),s=t.includes("gerber")?"Gerber":"odb++",l=s=="odb++",c=l?"Export ODB++...":"Export Gerber...",[d,u]=(0,Q3.useState)(!1),[p,m]=(0,Q3.useState)(()=>{let oe=X=>X.replace(/[\\\/:*?"<>|;]+/g," ").replace(/\s\s+/g," ").trim().replace(/ /g,"_"),re="",Y=s=="Gerber"?G0():"pcb";return re=`${s}_${oe(Y)}_${ue.formatDate2(new Date,"downProject")}`,re}),[h,f]=(0,Q3.useState)((n==null?void 0:n.from)=="oneClickExport"?(n==null?void 0:n.options)||"Custom Config":"One Key Export"),[g,b]=(0,Q3.useState)((n==null?void 0:n.silkChecked)!==void 0?n==null?void 0:n.silkChecked:!1),[y,w]=(0,Q3.useState)((n==null?void 0:n.PTHChecked)!==void 0?n==null?void 0:n.PTHChecked:!0),[x,S]=(0,Q3.useState)((n==null?void 0:n.NPTHChecked)!==void 0?n==null?void 0:n.NPTHChecked:!0),[T,M]=(0,Q3.useState)(()=>{if((n==null?void 0:n.drillTableChecked)!==void 0)return n==null?void 0:n.drillTableChecked;{let oe=!1;for(let re in e){let Y=e[re];if(Y.active){Y.layerConfigs.find(ie=>ie.layerId==56)&&(oe=!0);break}}return oe}}),[I,A]=(0,Q3.useState)((n==null?void 0:n.flyingProbeChecked)||!0),[D,E]=(0,Q3.useState)(Rg(e)),[N,R]=(0,Q3.useState)(()=>{let oe;for(let re in e)if(Object.prototype.hasOwnProperty.call(e,re)){let Y=e[re];if(Y.active){oe=Rg(Y);break}}return oe}),[v,k]=(0,Q3.useState)(Rg(i)),[P,O]=(0,Q3.useState)(!1),[_,j]=(0,Q3.useState)(0);(0,Q3.useEffect)(()=>{let oe=gm();if(oe){let{width:re,height:Y}=oe.getBoundingClientRect();oe.style.top=`calc(50% - ${Y/2}px)`,oe.style.left=`calc(50% - ${re/2}px)`}},[h]);let B=async oe=>{let re=await ei(),Y=await q();he.isTabUnSaved(gi())&&await xl(),U(Y,re),h=="Custom Config"&&pe(),wIt(oe)};(0,Q3.useEffect)(()=>{(n==null?void 0:n.hide)!==void 0&&G(n)},[]),n!=null&&n.hide&&(le.hide(t),(0,Q3.useEffect)(()=>{P&&V()},[P]));let V=Gr(async()=>{let oe=await ei(),re=await q(),Y=await C.windowBridge.rpcCall("checkFormatBeforeGerber",re,oe.contentWindow);if(!Y.message.isQualified){Ot("fatalError",Ti("Export failed! The selected format: integer {integerNumber} , decimal {decimalNumber} is too small to meet the accuracy requirements of the current document",{params:{integerNumber:`${Y.message.format.Integer}`,decimalNumber:`${Y.message.format.Decimals}`}}),void 0,!0),Q(null);return}re.format=Y.message.format;let X=l?"exportOdbData":"exportGerberData",ie=await C.windowBridge.rpcCall(X,re,oe.contentWindow);if(vt(1,c),ie.message.error)throw await Q(null),ie.message.error;if(ie.message&&ie.message.data){let de={fileContent:new Blob([ie.message.data],{type:"application/zip"}),fileType:l?"tgz":"zip"};Q(de),pe(!1),wIt(l?"GERBER":"ODB++")}},100),G=Gr(oe=>{oe!=null&&oe.fileName&&m(oe==null?void 0:oe.fileName),oe!=null&&oe.options&&f(oe==null?void 0:oe.options),(oe==null?void 0:oe.silkChecked)!==void 0&&b(oe==null?void 0:oe.silkChecked),(oe==null?void 0:oe.PTHChecked)!==void 0&&w(oe==null?void 0:oe.PTHChecked),(oe==null?void 0:oe.NPTHChecked)!==void 0&&S(oe==null?void 0:oe.NPTHChecked),(oe==null?void 0:oe.drillTableChecked)!==void 0&&M(oe==null?void 0:oe.drillTableChecked),(oe==null?void 0:oe.flyingProbeChecked)!==void 0&&A(oe==null?void 0:oe.flyingProbeChecked),oe!=null&&oe.exportConfigs_cache&&E(oe==null?void 0:oe.exportConfigs_cache),oe!=null&&oe.currentConfig&&R(oe==null?void 0:oe.currentConfig),oe!=null&&oe.unitFormat_cache&&k(oe==null?void 0:oe.unitFormat_cache),O(!0),j(re=>re+1)},100),Q=async oe=>{let re={[rr.gerberFileName]:oe};l&&(re={[rr.odbFileName]:oe}),await rr.setFilesMap(re),le.close(t)},H=Gr(_b(async()=>{if(!_t)return;g&&await sSe(t,a);let oe=await ei(),re=await q(),Y=l?".tgz":".zip";re.fileName=p+Y;let X=l?"exportOdbData":"getExportGeberAttachmentData",ie=(await C.windowBridge.rpcCall(X,re,oe.contentWindow)).message;if(ie&&!ie.error&&ie.data){let de=ie.data;await U8i(de,re.fileName)&&F()}}),100),q=()=>new Promise(async(oe,re)=>{let Y=G0()||"",X=wa()||"",ie=_o(),de=mt.getLanguage(),fe=p,ye=v.unit,Le=Rg(v.format);ye=="MM"?Le.Integer="4":Le.Integer="3";let Re=g,Ne=[],Te=T,Pe=I,Oe=N.layerConfigs,Ue=N.objectConfigs,Ve=au.getCurrentVersion(),ze={title:Y,fileUuid:X,userUuid:ie,language:de,fileName:fe,unit:ye,format:Le,silk:Re,drillMap:Ne,drillTable:Te,flyingProbe:Pe,layerConfigs:Oe,objectConfigs:Ue,mainVersion:Ve};if(h=="Custom Config"){if(Te){if(Oe.findIndex(Ye=>Ye.layerId==56)<=-1){Oe.push({layerId:56,isMirror:!1}),N.layerConfigs=Oe;for(let Ye in D)D[Ye].active&&(D[Ye]=N)}}else{let He=Oe.findIndex(Ye=>Ye.layerId==56);if(He>-1){Oe.splice(He,1),N.layerConfigs=Oe;for(let Ye in D)D[Ye].active&&(D[Ye]=N)}}if(!Oe.length)return vt(1,"Order PCB..."),n!=null&&n.hide&&await Q(null),K("Please check at least one layer that needs to be exported!");if(!Ue.length)return vt(1,"Order PCB..."),n!=null&&n.hide&&await Q(null),K("Please check at least one object that needs to be exported!");y&&Ne.push("PTH"),x&&Ne.push("NPTH"),oe(ze)}else{let{objects:He}=rne(!0);Ne=["PTH","NPTH"],Te=!0,Pe=!0,Oe=o.map(Be=>(Be={layerId:Be.layerId,isMirror:!1},Be)),Oe.push({layerId:56,isMirror:!1}),Ue=He,ye="MM",Le={Integer:"4",Decimals:"5"},oe({title:Y,fileUuid:X,userUuid:ie,language:de,fileName:fe,unit:ye,format:Le,silk:Re,drillMap:Ne,drillTable:Te,flyingProbe:Pe,layerConfigs:Oe,objectConfigs:Ue,mainVersion:Ve,type:"oneKeyExport"})}}),U=(oe,re)=>{let Y=dt(),X=p;!re||Y!==ve.PCB||C.windowBridge.rpcCall("checkFormatBeforeGerber",oe,re.contentWindow).then(ie=>(oe.format=ie.message.format,!ie.message.isQualified&&!ie.message.outOfArr.length?Promise.reject("Fatal error"):SIt(t,ie.message.outOfArr,g))).then(ie=>{if(vt(.2/4,c,void 0,de=>{if(de){C.windowBridge.publish("cancelExportGerber","",re.contentWindow);return}}),!X){CSe("Please enter a file name","error");return}return X}).then(ie=>{if(!ie)return Promise.reject("cancel");oe.fileName=ie+(r?"(old)":"")+(l?".tgz":".zip"),oe.useOldBool=r,l&&(oe.title=`odb++_pcb_${ue.formatDate2(new Date,"downProject")}`),F(),vt(1/4,c);let de=l?"exportOdb":"exportGerber";return C.windowBridge.rpcCall(de,oe,re.contentWindow,1200*1e3)}).then(ie=>{if(!ie||!ie.message){vt(1,c);return}if(ie.message.error)return Promise.reject(ie.message.error);vt(1,c),te(oe)}).catch(ie=>{if(vt(1,c),!(ie=="cancel"||!ie)){if(ie=="Fatal error"){Ot("fatalError",Ti("Export failed! The selected format: integer {integerNumber} , decimal {decimalNumber} is too small to meet the accuracy requirements of the current document",{params:{integerNumber:`${oe.format.Integer}`,decimalNumber:`${oe.format.Decimals}`}}),void 0,!0),te(oe,ie);return}CSe("Failed to export file","error"),te(oe,ie)}})},F=()=>{le.close(t)},K=oe=>{De({type:"success",msg:oe,timer:2})},te=(oe,re)=>{let Y={is_success:!re,fail_reason:re?"\u9009\u62E9\u7684\u683C\u5F0F\u4E0D\u6EE1\u8DB3\u5F53\u524D\u6587\u6863\u7684\u7CBE\u5EA6\u8981\u6C42":void 0,file_name:oe.fileName,unit:oe.unit,format:oe.format,is_onekey_export:(oe==null?void 0:oe.type)==="oneKeyExport",is_use_colorfulSilkscreen:!!oe.silk,custom_config:{layerConfigs:oe.layerConfigs,objectConfigs:oe.objectConfigs},is_order:!1};C.messageBus.publish("sensorsEventsReport",{eventName:"export_gerber",eventData:Y})},ae=async oe=>{switch(oe){case"importConfig":new DC(".json",function(Re){let Ne=Re[0];Ne&&VVe(Ne).then(Te=>{try{let Pe=JSON.parse(Te.content),Oe={};for(let Ue in Pe){let Ve=Pe[Ue];Ve&&Array.isArray(Ve.layerConfigs)&&Array.isArray(Ve.objectConfigs)&&(Oe[Ue]=Ve)}if(!Object.keys(Oe).length){Ot("info",`<span data-test='Import data is empty!'>${a("Import data is empty!")}</span>`,void 0,!0);return}E(Rg(Z(Oe,!0))),u(!0)}catch{Ot("error",`<span data-test='Import failed! Unrecognized file format!'>${a("Import failed! Unrecognized file format!")}</span>`,void 0,!0)}})});break;case"exportConfig":g&&await sSe(t,a);let re=JSON.stringify(D,null,"	"),Y;l?Y="Odb++":Y="Gerber";let X=`Config_${Y}_`+ue.formatDate2(new Date,"downProject")+".json";wi?cd(re,X,"json"):ya(re,X);break;case"orderPcb":if(Fn){window.open(C.HelpURL.order_pcb,"_blank");return}vt(.2/4,"Order PCB...",void 0,Re=>{if(Re){C.windowBridge.publish("cancelExportGerber","",de.contentWindow);return}});let ie=await q();ie.needDownLoad=!0,aq(ie,t),Pl("5");break;case"exportGerber":B("GERBER");break;case"exportODB++":B("ODB++");break;case"confirm":if(!N.layerConfigs.length){K("Please check at least one layer that needs to be exported!");return}if(!N.objectConfigs.length){K("Please check at least one object that needs to be exported!");return}let de=await ei(),fe=await q(),ye=await C.windowBridge.rpcCall("checkFormatBeforeGerber",fe,de.contentWindow);if(!ye.message.isQualified){K({value:"Export failed! The selected format: integer {integerNumber} , decimal {decimalNumber} is too small to meet the accuracy requirements of the current document",options:{integerNumber:`${ye.message.format.Integer}`,decimalNumber:`${ye.message.format.Decimals}`}});return}let Le={fileName:p,options:h,silkChecked:g,PTHChecked:y,NPTHChecked:x,flyingProbeChecked:I,drillTableChecked:T,exportConfigs_cache:D,currentConfig:N,unitFormat_cache:v};rr.setFileConfigMap({type:l?"ODB++":"Gerber",valData:Le}),le.close(t);break;case"saveAsAttachment":{H();break}case"cancel":le.close(t);break;default:break}},pe=(oe=!0)=>{let re=l?"odb_exportConfig":"gerber_exportConfig",Y="gerber_unitFormat";mt.setCacheObj(re,D),!l&&mt.setCacheObj(Y,{unit:v.unit}),mt.saveToServer(oe)},Z=(oe,re)=>{if(re){if(D)for(let ie in oe){let de=1,fe=!1;if(ie==a("default")&&(fe=!0),ie in D||fe){if(ie.includes("_")){let ye=Number(ie.substr(ie.indexOf("_")+1));oe[ie+"_"+(ye+1)]=oe[ie]}else oe[ee(ie+"_"+de)]=oe[ie];delete oe[ie]}}oe=Object.assign(D,oe)}if(!oe.default){let{layers:ie,objects:de}=rne(!0);oe=Object.assign({default:{layerConfigs:ie,objectConfigs:de,active:!0}},oe)}let Y=!1,X=0;for(let ie in oe){if(X>20){delete oe[ie];continue}if(!Y&&oe[ie].active){Y=!0;continue}Y&&(oe[ie].active=!1),X++}return Y||(oe.default.active=!0),oe},ee=oe=>{for(let re in D)if(oe===re){let Y=Number(re.substr(re.indexOf("_")+1))+1;oe=oe.substr(0,oe.indexOf("_")+1)+Y}return oe},ce={containerId:t,type:s,fileName:p,options:h,silkChecked:g,setFileName:m,setOptions:f,setSilkChecked:b},ne={type:s,containerId:t,unitFormat_cache:v,PTHChecked:y,NPTHChecked:x,drillTableChecked:T,flyingProbeChecked:I,exportConfigs_cache:D,currentConfig:N,defaultLayerConfigs:o,isImportConfig:d,setIsImportConfig:u,setUnitFormatCache:k,setPTHChecked:w,setNPTHChecked:S,setDrillTableChecked:M,setFlyingProbeChecked:A,setExportConfigsCache:E,setCurrentConfig:R};return(0,GA.jsxs)(GA.Fragment,{children:[(0,GA.jsx)("div",{children:(0,GA.jsx)(a7i,{props:ce})}),(0,GA.jsx)("div",{style:{marginTop:"16px",display:`${h=="One Key Export"?"none":"block"}`},children:(0,GA.jsx)(s7i,{props:ne},_)}),(0,GA.jsx)("div",{style:{marginTop:"16px",textAlign:"right"},children:zAi.map((oe,re)=>((oe.command=="importConfig"||oe.command=="exportConfig")&&(oe.style.display=h=="One Key Export"?"none":"block"),oe.command=="exportGerber"&&(l&&(oe.text="Export ODB++",oe.command="exportODB++"),oe.style.display=(n==null?void 0:n.from)=="oneClickExport"?"none":void 0),oe.command=="exportODB++"&&(l||(oe.text="Export Gerber",oe.command="exportGerber"),oe.style.display=(n==null?void 0:n.from)=="oneClickExport"?"none":void 0),oe.command=="confirm"&&(oe.style.display=(n==null?void 0:n.from)=="oneClickExport"?void 0:"none"),oe.command=="orderPcb"&&(oe.style.display=_t||(n==null?void 0:n.from)=="oneClickExport"?"none":void 0),oe.command==="saveAsAttachment"&&(oe.style.display=_t?void 0:"none"),(0,GA.jsx)(Me,{"data-test":oe.text,type:oe.type,style:oe.style,disabled:oe.disabled,onClick:()=>ae(oe.command),children:(0,GA.jsx)("span",{"data-test":oe.text,children:a(oe.text)})},`bottom-btn-${re}`)))})]})},l7i=tTr;var c7i=L(z());async function fH(t,e,i){let o=bt[t],{containerId:r,title:n,width:a,closed:s}=o,l=r.includes("odb++"),{getExportConfigs:c,getUnitFormat:d}=FAi(l),u=await qUe();le.open({id:r,title:n,width:a,closed:s,children:(0,c7i.jsx)(l7i,{containerId:r,getExportConfigs:c,getUnitFormat:d,defaultLayerConfigs:u,old:e,originInfo:i})})}var RSe=L(Se());var d7i=[{text:"Export",style:{marginRight:"8px"},type:"primary",command:"export"},{text:"Cancel",command:"cancel"}];var I7i=L(p7i());var M7i=L(Se());var PSe=L(Se());var KVe=L(Se());var m7i=L(Se());var HVe=class extends qe{constructor(){super(...arguments);this._noI18nLayerTypes=["CUSTOM","SIGNAL","PLANE"];this.rows=[];this.isAllMirror=!1;this.hasCheckedLayer=!1}updateRows(i,o=!1){i||(i=[]);let r=[],n=!0,a=!1;i.forEach(s=>{let l=s.check,c=s.isMirror,d=!this._noI18nLayerTypes.includes(s.layerType),u=s.layerName,p=u&&u.match(/^Inner(\d+)/);p&&p.length>1&&(u=me.i18n("Inner{number}",{number:p[1]})),r.push({checked:l,layerId:s.layerId,layerName:u,mirror:c,i18n:d,disabledCheckbox:o}),c||(n=!1),l&&(a=!0)}),this.rows=r,this.isAllMirror=a&&n,this.hasCheckedLayer=a,this.notify()}};var GVe=class extends qe{constructor(){super(...arguments);this.rows=[]}updateRows(i,o=!1){if(!i)return;let r=[];bU.forEach(n=>{let a=i.includes(n.value);r.push({checked:a,objectValue:n.value,objectName:n.name,disabledCheckbox:o})}),this.rows=r,this.notify()}getColumns(i){return[{key:"objectName",width:1,name:i("Export Object"),ellipsis:!0,i18n:!0}]}};var YVe=class extends qe{constructor(){super(...arguments);this.rows=[];this.selectedRowNumbers=[]}updateRows(i){let o="name",r="value",n=i||[],a=[],s="",l=[];return n.forEach((c,d)=>{let u=c.name,p=s?!1:c.active;a.push({checked:p,[o]:u,[r]:u}),c.active&&(s=u,l.push(d))}),this.rows=a,this.selectedRowNumbers=l,this.notify(),s}};var WVe=class extends qe{constructor(){super();this.defaultParamName="default";this.currentPcbParamName="Current PCB";this.fileName="";this.dxfVersion=1;this.activeParamName="";this.exportConfigs=[];this.exportConfigs_cache=[];this.exportConfigInit=!1;this.oneClickExportMode=!1;this.paramsStore=new YVe,this.exportConfigInit=this.updateExportConfig("get"),this.layerTableStore=new HVe,this.objectTableStore=new GVe}resetFileName(){this.fileName=`DXF_${G0()}_${ue.formatDate2(new Date,"downProject")}`}dxfVersionList(){return[{value:0,text:"AutoCAD 2004/LT2004",showOriginalText:!0},{value:1,text:"AutoCAD 2007/LT2007",showOriginalText:!0},{value:2,text:"AutoCAD 2010/LT2010",showOriginalText:!0},{value:3,text:"AutoCAD 2013/LT2013",showOriginalText:!0},{value:4,text:"AutoCAD 2018",showOriginalText:!0}]}versionExt(i){return i==0?"AutoCAD2004":i==1?"AutoCAD2007":i==2?"AutoCAD2010":i==3?"AutoCAD2013":i==4?"AutoCAD2018":"AutoCAD2007"}async updateActiveFrameConfig(){let i=await ei(),{message:o}=await C.windowBridge.rpcCall("LayerConfig","",i.contentWindow);eq(o),this.activeFrameLayerConfig=o;let{message:r}=await C.windowBridge.rpcCall("pcb/getFilterConfig","",i.contentWindow);this.activeFrameFilterConfig=r,this.exportConfigs=this.refixConfigByActiveFrameConfig(this.exportConfigs),this.exportConfigs_cache=this.refixConfigByActiveFrameConfig(this.exportConfigs_cache)}refixConfigByActiveFrameConfig(i){if(!i)return;let o=this.activeFrameLayerConfig,r=this.activeFrameFilterConfig,n=null;return o&&i.forEach(a=>{let s=a.layerConfigs,l=s.map(u=>u.layerId),c=a.name==this.currentPcbParamName;c&&(n=a);let d=[];o.forEach(u=>{var g;if(u.status==0)return;let p=u.layerId,m=l.indexOf(p),h=!1;if(c)h=u.status==1;else if(m>=0){let b=s[m].check;typeof b=="boolean"?h=b:h=!0}let f=!!((g=s[m])!=null&&g.isMirror);d.push({layerId:p,check:h,isMirror:f,layerName:u.layerName,layerType:u.layerType})}),a.layerConfigs=d}),n&&r&&(n.objectConfigs=[],bU.forEach(a=>{r[a.value]&&n.objectConfigs.push(a.value)})),i}init(i,o=!0){this.exportConfigInit||(this.exportConfigInit=this.updateExportConfig("get")),this.dialogParams=i,o&&this.resetFileName(),this.exportConfigs_cache=ue.deepClone(this.exportConfigs),this.exChangeConfig()}isDefaultOrCurrentPcb(i){return i==this.currentPcbParamName||i==this.defaultParamName}exChangeConfig(){let i=this.paramsStore.updateRows(this.exportConfigs_cache);this.activeParamName=i;let o=this.getActiveConfig(this.exportConfigs_cache);this.updateLayerTable(o==null?void 0:o.layerConfigs),this.updateObjectTable(o==null?void 0:o.objectConfigs)}getActiveConfig(i){let o;return i==null||i.some(r=>r.active?(o=r,!0):!1),o}updateLayerTable(i){this.layerTableStore.updateRows(i,this.disabledAllCheck())}updateObjectTable(i){this.objectTableStore.updateRows(i,this.disabledAllCheck())}initConfigJson(i){let o=!1,r=-1,n=-1;i.forEach((c,d)=>(c.name==this.defaultParamName?r=d:c.name==this.currentPcbParamName&&(n=d,c.active=!1),!o&&c.active?o=!0:o&&(c.active=!1),!0)),n==-1&&(o=!1),r==-1?(i.unshift({name:this.defaultParamName,layerConfigs:[],objectConfigs:[],active:!1}),r=0):o||(i[r].active=!1),o||i.forEach(c=>{c.active=!1});let a={name:this.currentPcbParamName,layerConfigs:[],objectConfigs:[],active:!o};n==-1?i.splice(r+1,0,a):i[n]=a;let s=20,l=i.length>s?i.slice(0,s):i;return this.refixConfigByActiveFrameConfig(l)}updateExportConfig(i,o=!0){let r="dxf_exportConfig";if(i=="get"&&mt){let n=mt.getKeyValue(r)||[];return Array.isArray(n)||(n=Object.keys(n).map(a=>{let s=n[a];return s.name=a,s})),this.exportConfigs=this.initConfigJson(n),!0}else if(i=="set")return this.exportConfigs_cache&&(this.exportConfigs=this.exportConfigs_cache),mt.setCacheObj(r,this.exportConfigs),o&&mt.saveToServer(),!0;return!1}getParamsNames(i=this.exportConfigs_cache){return(i||[]).map(o=>o.name)}addParams(){let i=this.exportConfigs_cache;if(i.length>=20){Ut({type:"error",message:"You can add up to 20 configurations"});return}let o=this.getParamsNames(i),r="Custom 1";o.includes(r)&&(r=zJ(r,o," ")),this.activeParams(r,!1,!0),this.paramsStore.updateRows(i),this.notify()}deleteParams(){if(this.isDefaultOrCurrentPcb(this.activeParamName))return;let i=this.exportConfigs_cache;Object.keys(i).length<2||(this.exportConfigs_cache=i.filter(r=>r.name!=this.activeParamName),this.activeParams(this.currentPcbParamName))}activeParams(i,o=!0,r=!1){if(i==this.activeParamName)return;let n;this.exportConfigs_cache.forEach(a=>{r&&a.active&&(n=ue.deepClone(a),r=!1),a.active=i==a.name}),n&&(n.name=i,this.exportConfigs_cache.push(n)),this.activeParamName=i,o&&(this.exChangeConfig(),this.notify())}notify(){super.notify()}getCurrentActiveConfig(){let i=this.exportConfigs_cache||[],o=null;return i.some(r=>{if(r.name==this.activeParamName)return o=r,!0}),o}checkedLayer(i,o){let r=isNaN(o),n=this.getCurrentActiveConfig();n&&(r?n.layerConfigs.forEach(a=>{a.check=i}):n.layerConfigs.some(a=>{if(a.layerId==o)return a.check=i,!0}),this.updateLayerTable(n.layerConfigs))}checkedLayerMirror(i,o){let r=isNaN(o),n=this.getCurrentActiveConfig();if(n){if(r)n.layerConfigs.forEach(a=>{a.isMirror=i});else if(n.layerConfigs.some(s=>{if(s.layerId==o)return s.isMirror=i,!0}))return this.checkedLayer(!0,o);this.updateLayerTable(n.layerConfigs)}}checkedObject(i,o){let r=!o,n=this.getCurrentActiveConfig();n&&(r?(n.objectConfigs.length=0,i&&bU.forEach(a=>{n.objectConfigs.push(a.value)})):i?n.objectConfigs.includes(o)||n.objectConfigs.push(o):n.objectConfigs=n.objectConfigs.filter(a=>a!=o),this.updateObjectTable(n.objectConfigs))}importConfig(){let i=this;new DC(".json",function(o){let r=o[0];r&&VVe(r).then(n=>{try{let a=JSON.parse(n.content),s=[];if(Array.isArray(a))s=a.filter(l=>l&&l.name&&Array.isArray(l.layerConfigs)&&Array.isArray(l.objectConfigs));else if(a){let l=a;for(let c in l){let d=l[c];d.name=c,d&&d.name&&Array.isArray(d.layerConfigs)&&Array.isArray(d.objectConfigs)&&s.push(d)}}if(s.length==0){De({type:"warn",msg:"The import data is empty, please check the import file format!"});return}i.exportConfigs_cache=i.initConfigJson(s),i.exChangeConfig(),i.notify()}catch{De({type:"error",msg:"Import failed! Unrecognized file format!"})}})})}exportConfig(){let i=JSON.stringify(this.exportConfigs_cache,null,"	"),o="Config_DXF_"+ue.formatDate2(new Date,"downProject")+".json";wi?cd(i,o,"json"):ya(i,o)}async export(i=!1){let o=this.getCurrentActiveConfig(),r={title:this.fileName+"_"+this.versionExt(this.dxfVersion),layerConfigs:o.layerConfigs,objectConfigs:o.objectConfigs,version:this.dxfVersion};if(C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.DXF_EXPORT,content:{"Scope Name":df.fileName},project_uuid:C.currentProject.projectId}]),!r.layerConfigs.length||!r.layerConfigs.some(n=>n.check)){De({type:"info",msg:"Please check at least one layer that needs to be exported!"});return}if(!r.objectConfigs.length){De({type:"info",msg:"Please check at least one object that needs to be exported!"});return}if(console.log("exportDxfFile","==========>",r),i){r.__isOnlyGetData=!0;let n=wa().replace(/^3d-|^2d-/i,""),a=await he.getTabIFrame(n),s=(await C.windowBridge.rpcCall("exportDxfFileRPC",{...r},a.contentWindow)).message;if(vt(1,"Export DXF"),!s)return!1;let l={fileContent:s.blobData,fileType:"dxf"};await rr.setFilesMap({[rr.dxfFileName]:l})}else{let n=Xi();C.windowBridge.publish("exportDxfFile",r,n.contentWindow)}return this.updateExportConfig("set",!i),!0}disabledAllCheck(){return this.activeParamName==this.currentPcbParamName&&this.oneClickExportMode}},gq=(0,m7i.createContext)(void 0);var f7i=L(S1e());var gH=L(z());function nTr(){let t=be.bind(f7i.default.locals),e=J(),i=(0,KVe.useContext)(gq),o=i.layerTableStore;Ce(o);let r=o.rows,n=a();return(0,gH.jsx)("div",{className:t("layer-table"),children:(0,gH.jsx)(xi,{index:"layerId",width:250,height:300,columns:n,rows:r,stockade:!0,checkbox:!0,border:!0,moveAble:!0,onChange:(s,l)=>{var d;if(i.getCurrentActiveConfig()){let u={checked:l?l.checked:(d=s[0])==null?void 0:d.checked,layerId:l&&l.layerId,mirror:l&&l.mirror};i.checkedLayer(u.checked,u.layerId)}}})});function a(){let l=i.disabledAllCheck();return[{key:"layerName",width:.5,name:e("Export Layer"),ellipsis:!0,i18n:!0},{key:"mirror",width:.5,name:e("Mirror"),nameRender:()=>(0,gH.jsxs)(gH.Fragment,{children:[(0,gH.jsx)(qt,{checked:o.isAllMirror,style:{marginRight:"4px"},disabled:!o.hasCheckedLayer||l,onChange:c=>{i.checkedLayerMirror(c)}}),e("Mirror")]}),render:c=>(0,gH.jsx)(qt,{checked:c.row.mirror,disabled:!c.row.checked||l,onChange:d=>{i.checkedLayerMirror(d,c.row.layerId)}})}]}}var g7i=KVe.default.memo(nTr);var ZVe=L(Se());var b7i=L(S1e());var HIt=L(z());function aTr(){let t=be.bind(b7i.default.locals),e=J(),i=(0,ZVe.useContext)(gq),o=i.objectTableStore;Ce(o);let r=o.rows,n=o.getColumns(e);return(0,HIt.jsx)("div",{className:t("object-table"),children:(0,HIt.jsx)(xi,{index:"objectValue",width:250,height:300,columns:n,rows:r,stockade:!0,checkbox:!0,border:!0,moveAble:!0,isCtrlSelect:!1,isShiftSelect:!1,onChange:a=>{let s=i.getCurrentActiveConfig();if(s){let l=s.objectConfigs,c=null,d=!1;a.some(u=>{let p=u.objectValue;if(u.checked){if(!l.includes(p))return c?(d=!0,!0):(c={checked:!0,value:p},!1)}else if(l.includes(p))return c&&(d=!0),c={checked:!1,value:p},!1}),c&&(d?i.checkedObject(c.checked):i.checkedObject(c.checked,c.value))}}})})}var y7i=ZVe.default.memo(aTr);var JVe=L(Se());var w7i=L(S1e());var WP=L(z());function sTr(){let t=be.bind(w7i.default.locals),e=J(),i=(0,JVe.useContext)(gq),o=i.paramsStore,r=i.isDefaultOrCurrentPcb(i.activeParamName);Ce(o);let n=s(),a=o.rows;return(0,WP.jsxs)("div",{className:t("param-list"),children:[(0,WP.jsx)("div",{className:"export-column-container",children:(0,WP.jsx)("span",{"data-test":"Config:",children:e("Config:")})}),(0,WP.jsxs)("div",{className:t("form-box"),children:[(0,WP.jsxs)("div",{children:[(0,WP.jsx)("span",{className:t("icon_operate icon_operate_add"),"data-i18n-attr":"title",title:"Add",onClick:()=>{i.addParams()}}),(0,WP.jsx)("span",{className:t("icon_operate icon_operate_delete")+(r?" disabled":""),"data-i18n-attr":"title",title:"Delete",onClick:()=>{i.deleteParams()}})]}),(0,WP.jsx)(xi,{index:"value",width:120,height:250,columns:n,rows:a,selectedRowNumbers:o.selectedRowNumbers,stockade:!0,border:!0,moveAble:!0,onClick:l=>{i.activeParams(l.row.name)},onChange:l=>{let c=[],d="",u="",p=-1;if(l.forEach((f,g)=>{let b=f.value,y=f.name;f.checked?(d=b,u=y,p=g):c.push(b)}),d==u)return;let m=i.exportConfigs_cache;!(i.isDefaultOrCurrentPcb(d)||c.includes(u))&&m[p]?(m[p].name=u,i.activeParams(u,!1,!1),i.notify()):o.updateRows(m)}})]})]});function s(){return[{key:"name",width:1,name:e("Name"),editableOnCustomRender:2,ellipsis:!0,i18n:!0,render:l=>{let c=l.row.name,d=i.isDefaultOrCurrentPcb(c)?e(c):c;return(0,WP.jsx)("span",{title:d,children:d})}}]}}var C7i=JVe.default.memo(sTr);var x7i=L(S1e());var K3=L(z());function lTr(){let t=be.bind(x7i.default.locals),e=J(),i=df;Ce(i);let o=e({value:"{name} Config",options:{name:i.isDefaultOrCurrentPcb(i.activeParamName)?e(i.activeParamName):i.activeParamName}}),[r,n]=(0,PSe.useState)(i.fileName),[a,s]=(0,PSe.useState)(i.dxfVersion);return(0,PSe.useEffect)(()=>{n(i.fileName)},[i.fileName]),(0,K3.jsx)(gq.Provider,{value:df,children:(0,K3.jsxs)("div",{className:t("exportDxf"),children:[(0,K3.jsx)("div",{className:t("export-row-container"),"data-export-source":"PCB",children:(0,K3.jsxs)("div",{className:t("export-column-container"),children:[(0,K3.jsx)("span",{"data-test":"File Name:",children:e("File Name:")}),(0,K3.jsx)(Kt,{className:t("dxf_exportName"),type:"text",value:r,onChange:l=>{n(l),i.fileName=l}})]})}),(0,K3.jsx)("div",{className:t("export-row-container"),"data-export-source":"PCB",children:(0,K3.jsxs)("div",{className:t("export-column-container"),children:[(0,K3.jsx)("span",{"data-test":"AutoCAD Version",children:e("AutoCAD Version")}),(0,K3.jsx)(xt,{list:i.dxfVersionList(),value:a,onChange:l=>{s(+l),i.dxfVersion=+l},containerStyle:{height:"24px"},optionsAutoWidth:!0})]})}),(0,K3.jsxs)("div",{className:t("export-row-container"),children:[(0,K3.jsx)(C7i,{}),(0,K3.jsxs)("fieldset",{className:t("gray-dialog-border"),style:{display:"flex"},children:[(0,K3.jsx)("legend",{className:t("ellipsis"),style:{maxWidth:"548px"},title:o,children:o}),(0,K3.jsx)(g7i,{}),(0,K3.jsx)(y7i,{})]})]})]})})}var T7i=lTr;var GIt=L(S1e());var OSe=L(Se());var uD=L(z()),df=new WVe,cTr=t=>{var l,c,d,u,p;let e=be.bind(GIt.default.locals),i=J();Ae(GIt.default);let[o,r]=(0,OSe.useState)(!1);(0,OSe.useEffect)(()=>{var m;((m=t.originInfo)==null?void 0:m.hide)!==void 0&&a(t.originInfo)},[]),((l=t.originInfo)==null?void 0:l.from)=="oneClickExport"?df.oneClickExportMode=!0:df.oneClickExportMode=!1,(c=t.originInfo)!=null&&c.hide&&(le.hide(t.id),(0,OSe.useEffect)(()=>{o&&n()},[o]));let n=Gr(async()=>{await df.export(!0)||await rr.setFilesMap({[rr.dxfFileName]:null}),le.close(t.id)},100),a=Gr(m=>{m!=null&&m.fileName&&(df.fileName=m==null?void 0:m.fileName),m!=null&&m.dxfVersion&&(df.dxfVersion=m==null?void 0:m.dxfVersion),m!=null&&m.exportConfigs&&(df.exportConfigs=m==null?void 0:m.exportConfigs,df.exportConfigs_cache=m==null?void 0:m.exportConfigs),df.notify(),df.init({id:"exportDxf",title:"Export DXF",width:"750px"},!1),r(!0)},100),s=async m=>{let h=!0;m==="export"?h=await df.export():m==="importConfig"?(df.importConfig(),h=!1):m==="exportConfig"&&(df.exportConfig(),h=!1),h&&le.close()};return((d=t.originInfo)==null?void 0:d.fileName)==null&&df.init(t),(0,uD.jsxs)("div",{className:e("pop-content-container"),children:[(0,uD.jsx)("div",{className:e("export-dxf"),children:(0,uD.jsx)(T7i,{})}),(0,uD.jsxs)("div",{className:e("pop-footer-wrapper"),children:[(0,uD.jsxs)("div",{className:e("comm-btn-left"),style:{left:"0px"},children:[(0,uD.jsx)(Me,{style:{marginRight:"5px"},onClick:()=>s("importConfig"),children:"Import Config"}),(0,uD.jsx)(Me,{onClick:()=>s("exportConfig"),children:"Export Config"})]}),(0,uD.jsxs)("div",{className:e("comm-btn-right"),children:[((u=t.originInfo)==null?void 0:u.from)=="oneClickExport"&&(0,uD.jsx)(Me,{"data-test":"Confirm",type:"primary",style:{marginRight:"8px"},onClick:()=>{let m=df.getCurrentActiveConfig();if(!m.layerConfigs.length||!m.layerConfigs.some(f=>f.check)){De({type:"info",msg:"Please check at least one layer that needs to be exported!"});return}if(!m.objectConfigs.length){De({type:"info",msg:"Please check at least one object that needs to be exported!"});return}let h={fileName:df.fileName,dxfVersion:df.dxfVersion,exportConfigs:df.exportConfigs_cache};rr.setFileConfigMap({type:"DXF",valData:h}),le.close(t.id)},children:"Confirm"}),((p=t.originInfo)==null?void 0:p.from)!=="oneClickExport"&&(0,uD.jsx)(Me,{style:{marginRight:"5px"},onClick:()=>s("export"),children:"Export DXF"}),(0,uD.jsx)(Me,{onClick:()=>s("cancel"),children:"Cancel"})]})]})]})},S7i=cTr;async function une(t){await df.updateActiveFrameConfig(),await le.open({id:t.id||"",title:t.title,width:t.width,height:t.height,closed:t.closed,children:(0,M7i.createElement)(S7i,t)})}var Op=L(z()),dTr=({containerId:t})=>{let e=J(),i=be.bind(I7i.default.locals),[o,r]=(0,RSe.useState)(rr.globalFileName),[n,a]=(0,RSe.useState)(!1);Ce(rr),(0,RSe.useEffect)(()=>{rr.resetExport()},[]);let s=[{key:"checked",name:e("Export"),width:.1,ellipsis:!0,i18n:!0,render:u=>{let p=u.row;return(0,Op.jsx)(Op.Fragment,{children:(0,Op.jsx)(qt,{style:{marginRight:"4px"},checked:p.checked,onChange:m=>{p.checked=m,rr.setTableDataItem(p.fileType,"checked",m)}})})},nameRender:()=>(0,Op.jsxs)(Op.Fragment,{children:[(0,Op.jsx)(qt,{checked:rr.tableData.every(u=>u.checked),style:{marginRight:"4px"},onChange:u=>{rr.tableData.forEach(p=>{rr.setTableDataItem(p.fileType,"checked",u)})}}),(0,Op.jsx)("span",{"data-test":"Export",children:e("Export")})]})},{key:"fileType",name:e("Manufacturing File Type"),width:.15,ellipsis:!0,align:"center",i18n:!0},{key:"fileName",name:e("FileName"),width:.6,ellipsis:!0,editable:!0,align:"center",i18n:!0},{key:"setting",name:e("File SetUp"),width:.15,ellipsis:!0,align:"center",i18n:!0,render:u=>(0,Op.jsx)("div",{onClick:()=>d(u.row.fileType,!1),style:{color:"#1890FF"},children:(0,Op.jsx)("span",{"data-test":"Settings",style:{cursor:"pointer"},children:e("Settings")})})}],l=async u=>{switch(u){case"export":await c();break;case"cancel":le.close(t);break}rr.clearConfigCache()},c=async()=>{if(!rr.globalFileName){Dt({content:"Please enter a file name"});return}n||a(!0),rr.startExport();let u=rr.getSelectedData();for(let p of u)d(p.fileType,!0);le.close(t)},d=async(u,p)=>{switch(u){case"Gerber":let m=rr.fileConfigMap.get("Gerber");await fH("export-gerber",!1,{hide:p,from:"oneClickExport",...m});break;case"BOM":let h=rr.fileConfigMap.get("BOM");await ii("export-bom",{originInfo:{hide:p,from:"oneClickExport",...h}});break;case"Coordinate File":let f=rr.fileConfigMap.get("Coordinate File");await ii("export-pick-place-file",{originInfo:{hide:p,from:"oneClickExport",...f}});break;case"3D File":let g=rr.fileConfigMap.get("3D File");await ii("export-3d-file",{originInfo:{hide:p,from:"oneClickExport",...g}});break;case"DXF":let b=rr.fileConfigMap.get("DXF"),y={id:"exportDxf",title:"Export DXF",width:"750px",originInfo:{hide:p,from:"oneClickExport",...b}};await une(y);break;case"PDF":let w=rr.fileConfigMap.get("PDF");nq(one(dt()),"filePdf",void 0,{hide:p,from:"oneClickExport",...w});break;case"ODB++":let x=rr.fileConfigMap.get("ODB++");await fH("export-odb++",!1,{hide:p,from:"oneClickExport",...x});break;case"Netlist":let S=rr.fileConfigMap.get("Netlist");await ii("export-netlist",{originInfo:{hide:p,from:"oneClickExport",...S}});break;case"Test Point Report":let T=rr.fileConfigMap.get("Test Point Report");await ii("export-test-point-report",{originInfo:{hide:p,from:"oneClickExport",...T}});break}};return(0,Op.jsxs)(Op.Fragment,{children:[(0,Op.jsx)("div",{className:i("gray-dialog-border"),children:(0,Op.jsx)("div",{className:i("export-row-container"),"data-export-source":"PCB",children:(0,Op.jsxs)("div",{className:i("export-column-container"),style:{border:"1px solid var(--common-border-color-1)",padding:"8px"},children:[(0,Op.jsx)("span",{"data-test":"File Name:",children:e("File Name:")}),(0,Op.jsx)("input",{id:"Global_exportName",type:"text",value:o,style:{width:"87%",marginLeft:"10px"},onChange:u=>{rr.globalFileName=u.target.value.trim(),r(rr.globalFileName)}}),(0,Op.jsx)("span",{"data-test":".zip",children:".zip"})]})})}),(0,Op.jsx)("div",{className:i("gray-dialog-border"),style:{marginTop:"8px"},children:(0,Op.jsx)("div",{className:i("export-row-container"),"data-export-source":"PCB",children:(0,Op.jsxs)("fieldset",{className:i("gray-dialog-border"),style:{border:"1px solid var(--common-border-color-1)",padding:"8px"},children:[(0,Op.jsx)("legend",{"data-test":"Packaging configuration",children:e("Packaging configuration")}),(0,Op.jsx)("div",{id:"Gerber_layerGrid",children:(0,Op.jsx)(xi,{selectedRowNumbers:[null],rowHeight:31,height:310,index:"fileType",border:!0,columns:s,rows:rr.tableData,onChange:(u,p)=>{rr.setFileConfigMap({type:p.fileType,valData:{fileName:p.fileName}})}})})]})})}),(0,Op.jsx)("div",{style:{marginTop:"16px",textAlign:"right"},children:d7i.map((u,p)=>(0,Op.jsx)(Me,{"data-test":u.text,type:u.type,style:u.style,disabled:u.command=="export"&&(rr.tableData.every(m=>!m.checked)||n),onClick:async()=>l(u.command),children:(0,Op.jsx)("span",{"data-test":u.text,children:e(u.text)})},`bottom-btn-${p}`))})]})},L7i=dTr;var D7i=L(z());async function v7i(t){let e=bt[t],{containerId:i,title:o,width:r,closed:n}=e;await rr.init(),le.open({id:i,title:o,width:r,closed:n,children:(0,D7i.jsx)(L7i,{containerId:i}),onClose:()=>{rr.clearConfigCache()}})}var YIt=null,mp=class t{constructor(){this.activeIframes={};this.iframes={}}static pcbIframes(){return YIt==null&&(YIt=new t),YIt}static async getContentWindow(e){let i=await he.getTabIFrame(e);return i?i.contentWindow:null}addIframe(e,i){this.iframes[e]||(this.iframes[e]=new Set),this.iframes[e].add(i);for(let o in this.iframes)Object.prototype.hasOwnProperty.call(this.iframes,o)&&o!==e&&this.iframes[o].has(i)&&this.iframes[o].delete(i)}deleteIframe(e,i){var o;for(let r in this.activeIframes)Object.prototype.hasOwnProperty.call(this.activeIframes,r)&&r==e&&this.activeIframes[r]==i&&(this.activeIframes[r]=null);(o=this.iframes[e])==null||o.delete(i)}setActiveIframe(e,i){this.addIframe(e,i),this.activeIframes[e]=i;for(let o in this.activeIframes)Object.prototype.hasOwnProperty.call(this.activeIframes,o)&&o!=e&&this.activeIframes[o]==i&&(this.activeIframes[o]=null);Td.clear()}flush(){for(let e in this.activeIframes)if(Object.prototype.hasOwnProperty.call(this.activeIframes,e)){let i=this.activeIframes[e],o=he.getTabDocType(i);C.messageBus.publish("updateIFrameState",{head:{doctype:o,from:"",to:i},body:{active:!0}})}}async sycnAlignMenuMgr(e){for(let i in this.iframes){let o=this.iframes[i];for(let r of o){let n=await he.getTabIFrame(r);n&&C.windowBridge.publish("checkIfSelectAlignRefObject",e,n.contentWindow)}}}async sycnAlignMenuMgrForCenters(e){for(let i in this.iframes){let o=this.iframes[i];for(let r of o){let n=await he.getTabIFrame(r);n&&C.windowBridge.publish("checkIfSelectAlignRefObjectForCenters",e,n.contentWindow)}}}};var Qr=L(Vi());var _Se=function(t){if(t&&t.length)for(let e=0;e<t.length;e++)[].push.call(this,t[e])};_Se.prototype=(function(){let t=[];return t.constructor=_Se,t.record=function(e){let i={timestamp:new Date().getTime(),currentDoctype:dt()||"",currentUuid:wa()||""};e&&typeof e=="object"&&m1(i,e),this.push(i)},t})();var WIt=class{static externalClickHandler(){D1.add("page-external-link-click",{text:(0,Qr.default)(this).text().trim()||"",href:(0,Qr.default)(this).attr("href")})}static dialogInputHandler(){let e={dialog:(0,Qr.default)(this).parents(".easyui-dialog").attr("id")||"",name:(0,Qr.default)(this).attr("name")||(0,Qr.default)(this).attr("data-key")||(0,Qr.default)(this).attr("id")||"",type:(0,Qr.default)(this).attr("type")||"text"};(0,Qr.default)(this).attr("type")==="checkbox"&&(e.checked=(0,Qr.default)(this).is(":checked")),D1.add("dialog-input-change",e)}static dialogBtnHandler(){let e={dialog:(0,Qr.default)(this).parents(".easyui-dialog").attr("id")||"",id:(0,Qr.default)(this).attr("id")||"",text:(0,Qr.default)(this).attr("i18n")||(0,Qr.default)(this).find(".i18n").attr("i18n")||(0,Qr.default)(this).attr("data-i18n-attr-en")||(0,Qr.default)(this).text().trim()||""};D1.add("dialog-inside-btn-click",e)}static themeSettingHandler(){D1.add("theme-setting-color-change",{dialog:(0,Qr.default)(this).parents(".easyui-dialog").attr("id")||"",type:(0,Qr.default)(this).attr("type")||"text",val:(0,Qr.default)(this).val()||""})}static rClickMenuHandler(){D1.add("right-click-menu-click",{menu:(0,Qr.default)(this).parents(".easyui-menu").attr("id")||(0,Qr.default)(this).parents(".easyui-sub-menu").attr("id")||"",cmd:(0,Qr.default)(this).attr("cmd")||"",text:(0,Qr.default)(this).attr("i18n")||(0,Qr.default)(this).find(".i18n").attr("i18n")||(0,Qr.default)(this).text()||""})}static linkButtonHandler(){D1.add("link-button-click",{menu:(0,Qr.default)(this).parents("div[id]").attr("id")||(0,Qr.default)(this).parents("div[data-storage-id]").attr("data-storage-id")||"",cmd:(0,Qr.default)(this).attr("cmd")||"",text:(0,Qr.default)(this).attr("i18n")||(0,Qr.default)(this).find(".i18n").attr("i18n")||(0,Qr.default)(this).text()||""})}static menuButtonHandler(){D1.add("menu-button-click",{menu:(0,Qr.default)(this).parents(".easyui-dialog").attr("id")||(0,Qr.default)(this).parents("div[id]").attr("id")||"",cmd:(0,Qr.default)(this).attr("cmd")||"",text:(0,Qr.default)(this).attr("i18n")||(0,Qr.default)(this).find(".i18n").attr("i18n")||(0,Qr.default)(this).text()||(0,Qr.default)(this).attr("menu")||(0,Qr.default)(this).attr("title")||""})}static dialogCloseBtnHandler(){let e=(0,Qr.default)(this).parents("div.panel.window").find("div.easyui-dialog");D1.add("dialog-close-btn-click",{dialog:e.attr("id")||""})}static dialogBtnClickHandler(){let e=(0,Qr.default)(this).parents("div.easyui-dialog"),i=(0,Qr.default)(this).find(".i18n").attr("i18n")||"";D1.add("dialog-btn-click",{dialog:e.attr("id")||"",text:i||""})}static messagerBtnClickHandler(){D1.add("messager-btn-click",{text:(0,Qr.default)(this).find(".i18n").attr("i18n")||""})}static messagerInputChangeHandler(){D1.add("messager-input-change",{name:(0,Qr.default)(this).attr("name")||(0,Qr.default)(this).attr("data-key")||(0,Qr.default)(this).attr("id")||(0,Qr.default)(this).attr("class")||"",type:(0,Qr.default)(this).attr("type")||"text"})}static leftTreeDbclickHandler(){let e=(0,Qr.default)(this);D1.add("left-tree-dbclick",{menu:e.parents(".easyui-tree, .easyui-tree1").attr("id")||e.parents("ul[id]").attr("id")||"",text:e.find(".i18n").attr("i18n")||"",cmd:e.attr("data-cmd")||e.parents("[data-cmd]").attr("data-cmd")||"",isFolder:!!e.find(".tree-folder")[0]})}static leftTreeClickHandler(){let e=(0,Qr.default)(this);D1.add("left-tree-click",{menu:e.parents(".easyui-tree, .easyui-tree1").attr("id")||e.parents("ul[id]").attr("id")||"",text:e.find(".i18n").attr("i18n")||"",cmd:e.attr("data-cmd")||e.parents("[data-cmd]").attr("data-cmd")||"",isFolder:!!e.find(".tree-folder")[0]})}static leftTreeRClickHandler(){let e=(0,Qr.default)(this);D1.add("left-tree-rclick",{menu:e.parents(".easyui-tree, .easyui-tree1").attr("id")||e.parents("ul[id]").attr("id")||"",text:e.find(".i18n").attr("i18n")||"",cmd:e.attr("data-cmd")||e.parents("[data-cmd]").attr("data-cmd")||"",isFolder:!!e.find(".tree-folder")[0]})}},qVe=class{static mount(...e){let i=0;this.unmount.apply(this,e);do(e[i]==="page-external-link-click"||e[i]===void 0)&&(0,Qr.default)("#editor-start-page").on("click","a[target]:not([cmd])",this._eventHandlers.externalClickHandler),(e[i]==="dialog-input-change"||e[i]===void 0)&&(0,Qr.default)(".easyui-dialog").on("change","input, select, textarea",this._eventHandlers.dialogInputHandler),(e[i]==="dialog-inside-btn-click"||e[i]===void 0)&&(0,Qr.default)(".easyui-dialog").on("click",".easyui-linkbutton, .user-behavior-easyui-linkbutton",this._eventHandlers.dialogBtnHandler),(e[i]==="theme-setting-color-change"||e[i]===void 0)&&(0,Qr.default)(".easyui-dialog").on("change","button",this._eventHandlers.themeSettingHandler),(e[i]==="right-click-menu-click"||e[i]===void 0)&&(0,Qr.default)(".easyui-menu, .easyui-sub-menu").on("click","div[cmd]",this._eventHandlers.rClickMenuHandler),(e[i]==="link-button-click"||e[i]===void 0)&&(0,Qr.default)("#editor-start-page").on("click",".easyui-linkbutton",this._eventHandlers.linkButtonHandler),(e[i]==="menu-button-click"||e[i]===void 0)&&(0,Qr.default)("#toolbar-common").on("click",".easyui-menubutton, .easyui-linkbutton",this._eventHandlers.menuButtonHandler),(e[i]==="dialog-close-btn-click"||e[i]===void 0)&&(0,Qr.default)(document).on("click","div.panel-tool-close",this._eventHandlers.dialogCloseBtnHandler),(e[i]==="dialog-btn-click"||e[i]===void 0)&&(0,Qr.default)(document).on("click","div.dialog-button > a",this._eventHandlers.dialogBtnClickHandler),(e[i]==="messager-btn-click"||e[i]===void 0)&&(0,Qr.default)(document).on("click","div.messager-button > a",this._eventHandlers.messagerBtnClickHandler),(e[i]==="messager-input-change"||e[i]===void 0)&&(0,Qr.default)(document).on("change","div.messager-window input",this._eventHandlers.messagerInputChangeHandler),(e[i]==="left-tree-dbclick"||e[i]===void 0)&&(0,Qr.default)(document).on("dblclick",".tree div.tree-node",this._eventHandlers.leftTreeDbclickHandler),(e[i]==="left-tree-click"||e[i]===void 0)&&(0,Qr.default)(document).on("click",".tree div.tree-node",this._eventHandlers.leftTreeClickHandler),(e[i]==="left-tree-rclick"||e[i]===void 0)&&(0,Qr.default)(document).on("contextmenu",".tree div.tree-node",this._eventHandlers.leftTreeRClickHandler),i+=1;while(i<arguments.length)}static unmount(...e){let i=0;do(e[i]==="page-external-link-click"||e[i]===void 0)&&(0,Qr.default)("#editor-start-page").off("click","a[target]:not([cmd])",this._eventHandlers.externalClickHandler),(e[i]==="dialog-input-change"||e[i]===void 0)&&(0,Qr.default)(".easyui-dialog").off("change","input, select, textarea",this._eventHandlers.dialogInputHandler),(e[i]==="dialog-inside-btn-click"||e[i]===void 0)&&(0,Qr.default)(".easyui-dialog").off("click",".easyui-linkbutton, .user-behavior-easyui-linkbutton",this._eventHandlers.dialogBtnHandler),(e[i]==="theme-setting-color-change"||e[i]===void 0)&&(0,Qr.default)(".easyui-dialog").off("change","button",this._eventHandlers.themeSettingHandler),(e[i]==="right-click-menu-click"||e[i]===void 0)&&(0,Qr.default)(".easyui-menu, .easyui-sub-menu").off("click","div[cmd]",this._eventHandlers.rClickMenuHandler),(e[i]==="link-button-click"||e[i]===void 0)&&(0,Qr.default)("#layoutRight, #editor-start-page").off("click",".easyui-linkbutton",this._eventHandlers.linkButtonHandler),(e[i]==="menu-button-click"||e[i]===void 0)&&(0,Qr.default)("#toolbar-common").off("click",".easyui-menubutton, .easyui-linkbutton",this._eventHandlers.menuButtonHandler),(e[i]==="dialog-close-btn-click"||e[i]===void 0)&&(0,Qr.default)(document).off("click","div.panel-tool-close",this._eventHandlers.dialogCloseBtnHandler),(e[i]==="dialog-btn-click"||e[i]===void 0)&&(0,Qr.default)(document).off("click","div.dialog-button > a",this._eventHandlers.dialogBtnClickHandler),(e[i]==="messager-btn-click"||e[i]===void 0)&&(0,Qr.default)(document).off("click","div.messager-button > a",this._eventHandlers.messagerBtnClickHandler),(e[i]==="messager-input-change"||e[i]===void 0)&&(0,Qr.default)(document).off("change","div.messager-window input",this._eventHandlers.messagerInputChangeHandler),(e[i]==="left-tree-dbclick"||e[i]===void 0)&&(0,Qr.default)(document).off("dblclick",".tree div.tree-node",this._eventHandlers.leftTreeDbclickHandler),(e[i]==="left-tree-click"||e[i]===void 0)&&(0,Qr.default)(document).off("click",".tree div.tree-node",this._eventHandlers.leftTreeClickHandler),(e[i]==="left-tree-rclick"||e[i]===void 0)&&(0,Qr.default)(document).off("contextmenu",".tree div.tree-node",this._eventHandlers.leftTreeRClickHandler),i+=1;while(i<arguments.length)}};qVe._eventHandlers=WIt;var D1=class{static updateUserInfo(){return this}static clear(e){if(e===void 0)this.records={};else for(let i in this.records)Object.hasOwnProperty.call(this.records,i)&&(this.records[i]=new _Se(this.records[i].filter(function(o){return o.timestamp>e})),this.records[i].length===0&&delete this.records[i]);return this}static init(){this.clear(),this.eventHandler.mount()}static _serialization(){let e="timestamp",i=[];for(let o in this.records)this.records[o].forEach(function(r){i.push(m1({action:o},r))});return i.sort(function(o,r){return o[e]-r[e]})}static _blockRecord(e){if(!this.config.filterOn)return!1;let i=!1;return this.config.filterConfig.forEach(function(o){if(i)return;let r=!0;for(let n in o)Object.hasOwnProperty.call(o,n)&&o[n]!==e[n]&&(r=!1);r&&(i=!0)}),i}static add(e,i){let o=m1({},i);return this.records[e]||(this.records[e]=new _Se),this._blockRecord(m1({action:e},o))?this:(this.records[e].record(o),this)}};D1.records={},D1._intervalKey=null,D1.config={sendBehavior:!0,interval:12e4,filterOn:!0,logOn:!1,filterConfig:[]},D1.eventHandler=qVe,D1._BehaviorRecord=_Se;var nHe=L(Vi());var G2={};async function M1e(t){let e=await mp.getContentWindow(t);if(e)return(await C.windowBridge.rpcCall("destoryTriangleDistmeasureTool",null,e)).message}async function E7i(t){let e=await mp.getContentWindow(t);if(!e)return;if((await C.windowBridge.rpcCall("isRuningTriangleDistmeasureTool",null,e)).message){uTr();return}XVe(),await M1e(t)}function uTr(){let t=document.getElementById("editor-window-main"),e=Array.from(t.querySelectorAll(".TriangleToolFont-dX")),i=Array.from(t.querySelectorAll(".TriangleToolFont-dY")),o=Array.from(t.querySelectorAll(".TriangleToolFont-angle")),r=Array.from(t.querySelectorAll(".TriangleToolFont-length"));for(let n=0;n<e.length;n++)e[n].style.display="block";for(let n=0;n<i.length;n++)i[n].style.display="block";for(let n=0;n<o.length;n++)o[n].style.display="block";for(let n=0;n<r.length;n++)r[n].style.display="block"}function XVe(){let t=document.getElementById("editor-window-main"),e=Array.from(t.querySelectorAll(".TriangleToolFont-dX")),i=Array.from(t.querySelectorAll(".TriangleToolFont-dY")),o=Array.from(t.querySelectorAll(".TriangleToolFont-angle")),r=Array.from(t.querySelectorAll(".TriangleToolFont-length"));for(let n=0;n<e.length;n++)e[n].remove();for(let n=0;n<i.length;n++)i[n].remove();for(let n=0;n<o.length;n++)o[n].remove();for(let n=0;n<r.length;n++)r[n].remove()}function jSe(){let t=Array.from(document.querySelectorAll(".cursorMsg"));for(let e=0;e<t.length;e++)t[e].remove()}async function $Ve(t){let e=await mp.getContentWindow(t);if(e)return(await C.windowBridge.rpcCall("destoryCopySpecialTool",null,e)).message}var N7i=L(DAe()),k7i=L(EAe()),P7i=L(AAe()),O7i=L(x8e()),R7i=L(b8e()),_7i=L(S8e()),j7i=L(T8e()),B7i=L(g8e()),z7i=L(C8e()),F7i=L(L8e()),U7i=L(v8e()),V7i=L(bAe()),H7i=L(wAe()),G7i=L(CAe()),Y7i=L(TAe()),W7i=L(yAe()),Q7i=L(xAe()),K7i=L(f3e()),Z7i=L(O8e()),J7i=L(k8e()),q7i=L(g3e()),X7i=L(L3e()),$7i=L(v3e()),eki=L(D3e()),tki=L(E3e());var iki=L(kAe());var oki=L(qce()),rki=L(Jce()),nki=L(Kce()),aki=L(Qce());var A7i={"eda-arc-center":Lc(N7i.default),"eda-arc":Lc(k7i.default),"eda-arc-3":Lc(P7i.default),"eda-region-prohibited":Lc(O7i.default),"eda-region-slot":Lc(R7i.default),"eda-region-fill":Lc(_7i.default),"eda-region-copper":Lc(j7i.default),"eda-board-outline":Lc(B7i.default),"eda-canvas-origin":Lc(z7i.default),"eda-selection-rectangle-outside":Lc(F7i.default),"eda-selection-rectangle-inside":Lc(U7i.default),"eda-move":Lc(K7i.default),"eda-align-left":Lc(G7i.default),"eda-align-right":Lc(Y7i.default),"eda-align-top":Lc(V7i.default),"eda-align-bottom":Lc(H7i.default),"eda-align-vertical-center":Lc(W7i.default),"eda-align-horizontal-center":Lc(Q7i.default),"eda-copy":Lc(Z7i.default),"eda-cut":Lc(J7i.default),"eda-dimension-smart":Lc(iki.default),"eda-dimension-horizontal":Lc(Vze),"eda-dimension-vertical":Lc(Hze),"eda-pen-tool":Lc(q7i.default),"eda-auxiliary":Lc(X7i.default),"eda-auxiliary-point":Lc(tki.default),"eda-auxiliary-horizontal":Lc($7i.default),"eda-auxiliary-vertical":Lc(eki.default),"eda-dimension-length":Lc(lt.icon_eda_dimension_length),"eda-dimension-angle":Lc(lt.icon_eda_dimension_degree),"eda-dimension-radius":Lc(lt.icon_eda_dimension_radius),"eda-arc-center-panel":Lc(lt.icon_eda_arc_center),"eda-arc-two-points":Lc(lt.icon_eda_arc_two_points),"eda-arc-three-points":Lc(lt.icon_eda_arc_three_points),"eda-sch-bezier":Lc(oki.default),"eda-sch-ellipse":Lc(rki.default),"eda-sch-table":Lc(nki.default),"eda-annotation":Lc(lt.icon_eda_annotation),"eda-routing-differential":Lc(lt.icon_eda_routing_differential),"eda-routing-multiple":Lc(lt.icon_eda_routing_multiple),"eda-v-tick":Lc(aki.default)};function Lc(t){let e=";base64,",i=t.indexOf(e);return atob(t.substring(i+e.length))}var ski="";for(let t in A7i)ski+=`<symbol id="${t}" viewBox="0 0 16 16">${A7i[t]}</symbol>`;var lki=`
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg">
${ski}
  	<symbol id="eda-sch-wire" viewBox="0 0 16 16">
    	<svg version="1.1" id="&#x56FE;&#x5C42;_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
		<rect style="fill:none;" width="16" height="16"/>
		<path d="M15,11h-3c-0.552,0-1,0.448-1,1v1H9V2.5C9,2.224,8.776,2,8.5,2H6V1c0-0.552-0.448-1-1-1H2C1.448,0,1,0.448,1,1v3
			c0,0.552,0.448,1,1,1h3c0.552,0,1-0.448,1-1V3h2v10.5C8,13.776,8.224,14,8.5,14H11v1c0,0.552,0.448,1,1,1h3c0.552,0,1-0.448,1-1v-3
			C16,11.448,15.552,11,15,11z M5,4H2V1h3V4z M15,15h-3v-3h3V15z"/>
		</svg>
  	</symbol>

  	<symbol id="eda-sch-bus" viewBox="0 0 16 16">
		<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
		<rect style="fill:none;" width="16" height="16"/>
		<path d="M15.5,10h-4.789L7.56,8.561C7.47,8.521,7.372,8.5,7.274,8.5c-0.098,0-0.196,0.021-0.286,0.061L4,9.926V5.074l2.988,1.364C7.078,6.479,7.176,6.5,7.274,6.5c0.098,0,0.196-0.021,0.286-0.062L10.711,5H15.5C15.776,5,16,4.776,16,4.5S15.776,4,15.5,4h-4.789L7.56,2.561C7.47,2.521,7.372,2.5,7.274,2.5c-0.098,0-0.196,0.021-0.286,0.061L4,3.926V1c0-0.552-0.448-1-1-1H0.5C0.224,0,0,0.224,0,0.5C0,0.776,0.224,1,0.5,1H3v13.5C3,14.776,3.224,15,3.5,15S4,14.776,4,14.5v-3.426l2.988,1.364
			c0.09,0.041,0.188,0.062,0.286,0.062c0.098,0,0.196-0.021,0.286-0.062L10.711,11H15.5c0.276,0,0.5-0.224,0.5-0.5S15.776,10,15.5,10z
			M7.274,3.53L9.398,4.5L7.274,5.47L5.15,4.5L7.274,3.53z M7.274,11.47L5.15,10.5l2.124-0.97l2.124,0.97L7.274,11.47z"/>
		</svg>
	</symbol>

	<symbol id="eda-sch-block" viewBox="0 0 16 16">
		<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
		<rect style="fill:none;" width="16" height="16"/>
		<g>
			<path d="M6,12h4c0.552,0,1-0.448,1-1V5c0-0.552-0.448-1-1-1H6C5.448,4,5,4.448,5,5v6C5,11.552,5.448,12,6,12z M6,5h4v6H6V5z"/>
			<path d="M15.5,7C15.776,7,16,6.776,16,6.5C16,6.224,15.776,6,15.5,6H13V4h2.5C15.776,4,16,3.776,16,3.5C16,3.224,15.776,3,15.5,3
				H13V2c0-0.552-0.448-1-1-1H4C3.448,1,3,1.448,3,2v1H0.5C0.224,3,0,3.224,0,3.5C0,3.776,0.224,4,0.5,4H3v2H0.5
				C0.224,6,0,6.224,0,6.5C0,6.776,0.224,7,0.5,7H3v2H0.5C0.224,9,0,9.224,0,9.5C0,9.776,0.224,10,0.5,10H3v2H0.5
				C0.224,12,0,12.224,0,12.5C0,12.776,0.224,13,0.5,13H3v1c0,0.552,0.448,1,1,1h8c0.552,0,1-0.448,1-1v-1h2.5
				c0.276,0,0.5-0.224,0.5-0.5c0-0.276-0.224-0.5-0.5-0.5H13v-2h2.5c0.276,0,0.5-0.224,0.5-0.5C16,9.224,15.776,9,15.5,9H13V7H15.5z
				M12,14H4V2h8V14z"/>
		</g>
		</svg>
	</symbol>

	<symbol id="eda-sch-arc" viewBox="0 0 16 16">
		<svg version="1.1" id="&#x56FE;&#x5C42;_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
		y="0px" width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
		<g>
			<rect style="fill:none;" width="16" height="16"/>
			<path d="M14,1.49c-0.28,0-0.5,0.22-0.5,0.5V2c0,0.16,0,0.33-0.01,0.49c-0.01,0.26-0.03,0.53-0.06,0.78
				C12.84,8.6,8.6,12.84,3.27,13.43c-0.25,0.03-0.52,0.05-0.78,0.06C2.33,13.5,2.16,13.5,2,13.5H1.99c-0.28,0-0.5,0.22-0.5,0.5
				c0,0.28,0.22,0.5,0.5,0.5h0.05c0.15,0,0.3,0,0.45-0.02C9,14.24,14.24,9,14.48,2.49c0.02-0.15,0.02-0.3,0.02-0.45V1.99
				C14.5,1.71,14.28,1.49,14,1.49z"/>
		</g>
		</svg>
	</symbol>

	<symbol id="eda-sch-rect" viewBox="0 0 16 16">
	<svg version="1.1" id="&#x56FE;&#x5C42;_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
	 y="0px" width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<rect style="fill:none;" width="16" height="16"/>
<path d="M15,2v13H2V2H15 M15,1H2C1.448,1,1,1.448,1,2v13c0,0.552,0.448,1,1,1h13c0.552,0,1-0.448,1-1V2C16,1.448,15.552,1,15,1L15,1
	z"/>
</svg>
	</symbol>

	<symbol id='eda-sch-polyline' viewBox="0 0 16 16">
	<svg version="1.1" id="&#x56FE;&#x5C42;_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
	 y="0px" width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<g>
	<rect style="fill:none;" width="16" height="16"/>
	<path d="M14.364,2.343L2.343,14.364c-0.195,0.195-0.512,0.195-0.707,0l0,0c-0.195-0.195-0.195-0.512,0-0.707L13.657,1.636
		c0.195-0.195,0.512-0.195,0.707,0l0,0C14.559,1.831,14.559,2.148,14.364,2.343z"/>
</g>
</svg>
	</symbol>

	<symbol id="eda-measure" viewBox="0 0 16 16">
		<?xml version="1.0" encoding="iso-8859-1"?>
			<svg version="1.1" id="&#x56FE;&#x5C42;_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
				y="0px" width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
			<rect style="fill:none;" width="16" height="16"/>
			<g>
				<g>
					<path d="M11.497,0.208c-0.256,0-0.512,0.098-0.707,0.293L0.501,10.789c-0.391,0.391-0.391,1.024,0,1.414l3.295,3.295
						c0.195,0.195,0.451,0.293,0.707,0.293c0.256,0,0.512-0.098,0.707-0.293L15.499,5.21c0.391-0.391,0.391-1.024,0-1.414l-3.295-3.295
						C12.009,0.306,11.753,0.208,11.497,0.208L11.497,0.208z M4.503,14.792l-3.295-3.295L11.497,1.208l3.295,3.295L4.503,14.792
						L4.503,14.792z"/>
				</g>
				<g>
					<path d="M3.621,10.456c-0.128,0-0.256,0.049-0.354,0.146c-0.195,0.195-0.195,0.512,0,0.707l1.603,1.603
						c0.098,0.098,0.226,0.146,0.354,0.146s0.256-0.049,0.353-0.146c0.195-0.195,0.195-0.512,0-0.707l-1.603-1.603
						C3.877,10.504,3.749,10.456,3.621,10.456L3.621,10.456z"/>
				</g>
				<g>
					<path d="M6.255,9.424C6.127,9.424,6,9.473,5.902,9.57c-0.195,0.195-0.195,0.512,0,0.707l0.801,0.801
						c0.098,0.098,0.226,0.146,0.354,0.146s0.256-0.049,0.354-0.146c0.195-0.195,0.195-0.512,0-0.707L6.609,9.57
						C6.511,9.473,6.383,9.424,6.255,9.424L6.255,9.424z"/>
				</g>
				<g>
					<path d="M7.287,6.789c-0.128,0-0.256,0.049-0.354,0.146c-0.195,0.195-0.195,0.512,0,0.707l1.603,1.603
						C8.634,9.343,8.762,9.392,8.89,9.392c0.128,0,0.256-0.049,0.354-0.146c0.195-0.195,0.195-0.512,0-0.707L7.641,6.935
						C7.543,6.838,7.415,6.789,7.287,6.789L7.287,6.789z"/>
				</g>
				<g>
					<path d="M9.922,5.757c-0.128,0-0.256,0.049-0.354,0.146c-0.195,0.195-0.195,0.512,0,0.707l0.801,0.801
						c0.098,0.098,0.226,0.146,0.354,0.146c0.128,0,0.256-0.049,0.354-0.146c0.195-0.195,0.195-0.512,0-0.707l-0.802-0.801
						C10.178,5.806,10.05,5.757,9.922,5.757L9.922,5.757z"/>
				</g>
				<g>
					<path d="M10.954,3.122c-0.128,0-0.256,0.049-0.354,0.146c-0.195,0.195-0.195,0.512,0,0.707l1.603,1.603
						c0.098,0.098,0.226,0.146,0.354,0.146s0.256-0.049,0.354-0.146c0.195-0.195,0.195-0.512,0-0.707l-1.603-1.603
						C11.21,3.171,11.082,3.122,10.954,3.122L10.954,3.122z"/>
				</g>
			</g>
		</svg>
	</symbol>

	<symbol id="eda-sch-circle" viewBox="0 0 16 16">
		<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
		<rect style="fill:none;" width="16" height="16"/>
		<path d="M8,1c3.86,0,7,3.14,7,7s-3.14,7-7,7s-7-3.14-7-7S4.14,1,8,1 M8,0C3.582,0,0,3.582,0,8s3.582,8,8,8s8-3.582,8-8S12.418,0,8,0L8,0z"/>
		</svg>
	</symbol>


	<symbol id="eda-selection-continuous">
	<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
	y="0px" width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<g>
   <path d="M10.594,16.035c-0.034,0-0.069-0.003-0.104-0.009c-0.264-0.045-0.462-0.254-0.493-0.52L9.162,8.51
	   C9.133,8.272,9.248,8.04,9.457,7.919c0.206-0.119,0.467-0.104,0.66,0.039l5.642,4.221c0.213,0.159,0.296,0.435,0.204,0.686
	   c-0.091,0.252-0.322,0.421-0.6,0.395l-2.6-0.168c-0.19-0.015-0.391,0.096-0.48,0.277l-1.153,2.333
	   C11.027,15.909,10.819,16.035,10.594,16.035z M10.266,9.317l0.563,4.734l0.558-1.127c0.269-0.544,0.841-0.873,1.44-0.832
	   l1.256,0.081L10.266,9.317z M15.159,12.979C15.159,12.979,15.16,12.979,15.159,12.979L15.159,12.979z M10.154,8.389l0.001,0.004
	   C10.154,8.392,10.154,8.39,10.154,8.389z"/>
</g>
<g>
   <path d="M1.436,16.035c-0.034,0-0.069-0.003-0.104-0.009c-0.264-0.045-0.462-0.254-0.493-0.52L0.005,8.51
	   C-0.025,8.272,0.09,8.04,0.299,7.919C0.505,7.8,0.766,7.814,0.96,7.958l5.642,4.221c0.213,0.159,0.296,0.435,0.204,0.686
	   c-0.091,0.252-0.322,0.421-0.6,0.395l-2.6-0.168c-0.19-0.015-0.391,0.096-0.48,0.277l-1.153,2.333
	   C1.87,15.909,1.662,16.035,1.436,16.035z M1.108,9.317l0.563,4.734l0.558-1.127c0.269-0.544,0.841-0.873,1.44-0.832l1.256,0.081
	   L1.108,9.317z M6.002,12.979C6.002,12.979,6.003,12.979,6.002,12.979L6.002,12.979z M0.997,8.389l0.001,0.004
	   C0.997,8.392,0.997,8.39,0.997,8.389z"/>
</g>
<g>
   <path d="M5.436,8.196c-0.034,0-0.069-0.003-0.104-0.009C5.068,8.143,4.87,7.934,4.838,7.668L4.005,0.671
	   C3.975,0.434,4.09,0.201,4.299,0.08c0.206-0.119,0.467-0.104,0.66,0.039l5.642,4.221c0.213,0.159,0.296,0.435,0.204,0.686
	   c-0.091,0.252-0.322,0.421-0.6,0.395l-2.6-0.168c-0.19-0.015-0.391,0.096-0.48,0.277L5.972,7.862
	   C5.87,8.07,5.662,8.196,5.436,8.196z M5.108,1.478l0.563,4.734l0.558-1.127C6.498,4.542,7.07,4.213,7.67,4.254l1.256,0.081
	   L5.108,1.478z M10.002,5.141C10.002,5.141,10.003,5.141,10.002,5.141L10.002,5.141z M4.997,0.55l0.001,0.004
	   C4.997,0.553,4.997,0.551,4.997,0.55z"/>
</g>
</svg>
	</symbol>

	<symbol id="eda-selection-line-touched">
	<svg version="1.1" id="&#x56FE;&#x5C42;_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
	y="0px" width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<g>
   <path d="M15.76,12.14L15,11.57l-4.88-3.65c-0.2-0.15-0.46-0.16-0.66-0.04C9.25,8,9.13,8.23,9.16,8.47l0.78,6.49L10,15.47
	   c0.03,0.23,0.19,0.42,0.41,0.49c0.02,0.02,0.05,0.02,0.08,0.03c0.03,0,0.07,0.01,0.1,0.01c0.07,0,0.14-0.01,0.21-0.04
	   c0.14-0.05,0.26-0.16,0.33-0.3l0.35-0.7l0.8-1.63c0.09-0.18,0.29-0.29,0.48-0.28L15,13.2l0.36,0.02c0.28,0.03,0.51-0.14,0.6-0.4
	   c0.02-0.07,0.04-0.14,0.04-0.21C16,12.43,15.91,12.26,15.76,12.14z M12.83,12.05c-0.6-0.04-1.17,0.29-1.44,0.83l-0.56,1.13
	   l-0.56-4.73l3.81,2.85L12.83,12.05z"/>
   <path d="M11.71,7L14,4.7l0.707-0.707C14.895,3.805,15,3.551,15,3.286V2.3V0.5C15,0.224,14.776,0,14.5,0h0C14.224,0,14,0.224,14,0.5
	   v2.8l-3,2.99c-0.1,0.1-0.15,0.23-0.15,0.35C10.85,6.77,10.9,6.9,11,7C11.2,7.2,11.51,7.2,11.71,7z"/>
   <path d="M7.29,10L3.3,14H0.5C0.224,14,0,14.224,0,14.5v0C0,14.776,0.224,15,0.5,15h1.8h0.986c0.265,0,0.52-0.105,0.707-0.293
	   L4.7,14L8,10.71c0.1-0.1,0.15-0.23,0.15-0.35C8.15,10.23,8.1,10.1,8,10C7.8,9.8,7.49,9.8,7.29,10z"/>
</g>
</svg>
	</symbol>

	<symbol id="eda-selection-polygon-inside">
	<svg version="1.1" id="&#x56FE;&#x5C42;_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
	y="0px" width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<g>
   <path d="M15,1H6.71H5.704c-0.265,0-0.52,0.105-0.707,0.293L1.293,4.997C1.105,5.185,1,5.439,1,5.704V6.71V15c0,0.55,0.45,1,1,1h5.3
	   c0.262,0,0.514-0.104,0.7-0.29l1.15-1.15c0.19-0.19,0.19-0.51,0-0.71c-0.1-0.09-0.23-0.14-0.36-0.14c-0.13,0-0.25,0.05-0.35,0.14
	   L7.29,15H2V5.71L5.71,2H15v5.29l-1.15,1.15c-0.19,0.19-0.19,0.51,0,0.7c0.1,0.1,0.23,0.15,0.36,0.15c0.13,0,0.26-0.05,0.35-0.14
	   L15.71,8C15.896,7.814,16,7.562,16,7.3V2C16,1.45,15.55,1,15,1z"/>
   <path d="M15,11.57l-0.39-0.29l-1.27-0.95l-0.81-0.61l-2.41-1.8c-0.2-0.15-0.46-0.16-0.66-0.04C9.25,8,9.13,8.23,9.16,8.47l0.5,4.12
	   v0.01l0.04,0.35l0.11,0.91l0.08,0.7l0.05,0.4L10,15.47c0.03,0.23,0.19,0.42,0.41,0.49c0.02,0.02,0.05,0.02,0.08,0.03
	   c0.03,0,0.07,0.01,0.1,0.01c0.07,0,0.14-0.01,0.21-0.04c0.11-0.04,0.2-0.11,0.28-0.21c0.02-0.02,0.03-0.06,0.05-0.09l0.35-0.7
	   l0.07-0.16l0.73-1.47c0.09-0.18,0.29-0.29,0.48-0.28L15,13.2l0.36,0.02c0.28,0.03,0.51-0.14,0.6-0.4c0.01-0.05,0.03-0.1,0.04-0.15
	   v-0.06c0-0.18-0.09-0.35-0.24-0.47L15,11.57z M12.83,12.05c-0.6-0.04-1.17,0.29-1.44,0.83l-0.56,1.13l-0.12-1.05l-0.15-1.27
	   l-0.29-2.41l1.54,1.16l0.82,0.6l1.45,1.09L12.83,12.05z"/>
</g>
</svg>
	</symbol>

	<symbol id="eda-selection-polygon-outside">
	<svg version="1.1" id="&#x56FE;&#x5C42;_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
	y="0px" width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<path d="M15,1H6.71H5.704c-0.265,0-0.52,0.105-0.707,0.293L1.293,4.997C1.105,5.185,1,5.439,1,5.704V6.71V15c0,0.55,0.45,1,1,1h5
   c0.55,0,1-0.45,1-1V7h7c0.55,0,1-0.45,1-1V2C16,1.45,15.55,1,15,1z M15,6H8C7.45,6,7,6.45,7,7v8H2V5.71L5.71,2H15V6z"/>
<path d="M15,11.57l-4.88-3.65c-0.2-0.15-0.46-0.16-0.66-0.04C9.25,8,9.13,8.23,9.16,8.47l0.78,6.49L10,15.47
   c0.03,0.23,0.19,0.42,0.41,0.49c0.02,0.02,0.05,0.02,0.08,0.03c0.03,0,0.07,0.01,0.1,0.01c0.07,0,0.14-0.01,0.21-0.04
   c0.14-0.05,0.26-0.16,0.33-0.3l0.35-0.7l0.8-1.63c0.09-0.18,0.29-0.29,0.48-0.28L15,13.2l0.36,0.02c0.28,0.03,0.51-0.14,0.6-0.4
   c0.02-0.07,0.04-0.14,0.04-0.21c0-0.18-0.09-0.35-0.24-0.47L15,11.57z M12.83,12.05c-0.6-0.04-1.17,0.29-1.44,0.83l-0.56,1.13
   l-0.56-4.73l3.81,2.85L12.83,12.05z"/>
</svg>
	</symbol>

 <symbol id="eda-place-mask-region" viewBox="0 0 16 16">
 <svg id="_\u56FE\u5C42_1" data-name="\u56FE\u5C42 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
   <path 
	 d="M15,3v11H1V3h14M15,2H1C.45,2,0,2.45,0,3v11C0,14.55.45,15,1,15h14c.55,0,1-.45,1-1V3c0-.55-.45-1-1-1h0Z" />
   <rect x="4" y="4" width="1" height="1" />
   <rect x="3" y="5" width="1" height="1" />
   <rect x="2" y="6" width="1" height="1" />
   <rect x="4" y="5" width="1" height="1" />
   <rect x="5" y="5" width="1" height="1" />
   <rect x="3" y="6" width="1" height="1" />
   <rect x="4" y="6" width="1" height="1" />
   <rect x="5" y="6" width="1" height="1" />
   <rect x="6" y="6" width="1" height="1" />
 </svg>
 </symbol>

  
</svg>

`;var wq=L(Vi());var yki=L(Hr()),wki=L(Se()),$It=L(Vi());var bq={"Material Boarder Layer":-1,"Print Layer":1,"Opacity Control Layer":2,"Board Outline Layer":3,"Slot Hole Layer":4,"Glue Cutout Layer":5,"Lighting Simulation Layer":6,"White Cover Layer":21,"Black Cover Layer":22,"Glue Layer":23,"Bun Layer":7,"Assist Drawing Layer":8,[-1]:"Material Boarder Layer",1:"Print Layer",2:"Opacity Control Layer",3:"Board Outline Layer",4:"Slot Hole Layer",5:"Glue Cutout Layer",6:"Lighting Simulation Layer",21:"White Cover Layer",22:"Black Cover Layer",23:"Glue Layer",7:"Bun Layer",8:"Assist Drawing Layer"};var QIt={[-1]:"All",7:"Bun Layer",1:"Print Layer",2:"White Cover Layer",3:"Black Cover Layer",4:"Board Outline Layer",5:"Glue Layer",6:"Lighting Simulation Layer"};var eHe=(a=>(a.default="Common",a.editBoard="Edit Board",a.editPrint="Edit Print",a.editOpacity="Edit Opacity",a.editGlue="Edit Glue",a.editSimulationLight="Edit Simulation Light",a))(eHe||{}),cki={"Slot Hole Layer":"boardhole-layer","Board Outline Layer":"board-layer","Opacity Control Layer":"opacity-layer","Glue Cutout Layer":"gluehole-layer","Bun Layer":"bun-layer"},KIt=[{mode:"fixed",name:"Common",label:"Common",options:[{id:-1,name:"Material Boarder Layer",visible:!0},{id:8,name:"Assist Drawing Layer",locked:!1,visible:!0},{id:4,name:"Slot Hole Layer",actived:!1,locked:!1,visible:!0},{id:3,name:"Board Outline Layer",actived:!1,locked:!1,visible:!0},{id:7,name:"Bun Layer",actived:!1,locked:!1,visible:!0},{id:2,name:"Opacity Control Layer",actived:!1,locked:!1,visible:!0},{id:1,name:"Print Layer",actived:!1,locked:!1,visible:!0},{id:5,name:"Glue Cutout Layer",actived:!1,locked:!1,visible:!0},{id:6,name:"Lighting Simulation Layer",actived:!1,locked:!1,visible:!0}]},{mode:"fixed",name:"Edit Board",label:"Edit Board",options:[{id:-1,name:"Material Boarder Layer",visible:!0},{id:8,name:"Assist Drawing Layer",locked:!1,visible:!0},{id:4,name:"Slot Hole Layer",actived:!1,locked:!1,visible:!0},{id:3,name:"Board Outline Layer",actived:!0,locked:!1,visible:!0},{id:7,name:"Bun Layer",actived:!1,locked:!1,visible:!1},{id:2,name:"Opacity Control Layer",actived:!1,locked:!1,visible:!1},{id:1,name:"Print Layer",actived:!1,locked:!1,visible:!1},{id:5,name:"Glue Cutout Layer",actived:!1,locked:!1,visible:!1},{id:6,name:"Lighting Simulation Layer",actived:!1,locked:!1,visible:!1}]},{mode:"fixed",name:"Edit Print",label:"Edit Print",options:[{id:-1,name:"Material Boarder Layer",visible:!0},{id:8,name:"Assist Drawing Layer",locked:!1,visible:!0},{id:4,name:"Slot Hole Layer",actived:!1,locked:!1,visible:!1},{id:3,name:"Board Outline Layer",actived:!1,locked:!1,visible:!1},{id:7,name:"Bun Layer",actived:!1,locked:!1,visible:!0},{id:2,name:"Opacity Control Layer",actived:!1,locked:!1,visible:!1},{id:1,name:"Print Layer",actived:!0,locked:!1,visible:!0},{id:5,name:"Glue Cutout Layer",actived:!1,locked:!1,visible:!1},{id:6,name:"Lighting Simulation Layer",actived:!1,locked:!1,visible:!1}]},{mode:"fixed",name:"Edit Opacity",label:"Edit Opacity",options:[{id:-1,name:"Material Boarder Layer",visible:!0},{id:8,name:"Assist Drawing Layer",locked:!1,visible:!0},{id:4,name:"Slot Hole Layer",actived:!1,locked:!1,visible:!1},{id:3,name:"Board Outline Layer",actived:!1,locked:!1,visible:!1},{id:7,name:"Bun Layer",actived:!1,locked:!1,visible:!0},{id:2,name:"Opacity Control Layer",actived:!0,locked:!1,visible:!0},{id:1,name:"Print Layer",actived:!1,locked:!1,visible:!0},{id:5,name:"Glue Cutout Layer",actived:!1,locked:!1,visible:!1},{id:6,name:"Lighting Simulation Layer",actived:!1,locked:!1,visible:!1}]},{mode:"fixed",name:"Edit Glue",label:"Edit Glue",options:[{id:-1,name:"Material Boarder Layer",visible:!0},{id:8,name:"Assist Drawing Layer",locked:!1,visible:!0},{id:4,name:"Slot Hole Layer",actived:!1,locked:!1,visible:!0},{id:3,name:"Board Outline Layer",actived:!1,locked:!1,visible:!0},{id:7,name:"Bun Layer",actived:!1,locked:!1,visible:!0},{id:2,name:"Opacity Control Layer",actived:!1,locked:!1,visible:!1},{id:1,name:"Print Layer",actived:!1,locked:!1,visible:!1},{id:5,name:"Glue Cutout Layer",actived:!0,locked:!1,visible:!0},{id:6,name:"Lighting Simulation Layer",actived:!1,locked:!1,visible:!1}]},{mode:"fixed",name:"Edit Simulation Light",label:"Edit Simulation Light",options:[{id:-1,name:"Material Boarder Layer",visible:!0},{id:8,name:"Assist Drawing Layer",locked:!1,visible:!0},{id:4,name:"Slot Hole Layer",actived:!1,locked:!1,visible:!1},{id:3,name:"Board Outline Layer",actived:!1,locked:!1,visible:!1},{id:7,name:"Bun Layer",actived:!1,locked:!1,visible:!0},{id:2,name:"Opacity Control Layer",actived:!1,locked:!1,visible:!0},{id:1,name:"Print Layer",actived:!1,locked:!1,visible:!0},{id:5,name:"Glue Cutout Layer",actived:!1,locked:!1,visible:!1},{id:6,name:"Lighting Simulation Layer",actived:!0,locked:!1,visible:!0}]}],qIt=(n=>(n.saveAs="saveAsConfig",n.rename="renameConfig",n.save="saveConfig",n.delete="deleteConfig",n.setAsDefault="setAsDefaultConfig",n))(qIt||{}),tHe={operation:[{name:"Save As Config...",label:"saveAsConfig",disabled:!1},{name:"Set as default config",label:"setAsDefaultConfig",disabled:!1},{name:"Rename Config...",label:"renameConfig",disabled:!0},{name:"Save Config",label:"saveConfig",disabled:!0},{name:"Delete Config",label:"deleteConfig",disabled:!0}],scheme:{active:KIt[0].label,options:KIt,defActive:KIt[0].label}};var BSe=L(Se());var pki=L(XIt());var mki=L(A3e());var YA=L(z()),iHe=class extends qe{constructor(i){super();this.params=i;this.onAnyChange=async(i,o)=>{var r,n;this.data=i,(n=(r=this.params).onAnyChange)==null||n.call(r,i,o)};this.switchLayerById=async(i,o)=>{var a,s;let r={...this.data},n=r.options.find(({id:l})=>+i==+l);r.options.forEach(l=>{vn(l.actived)||(l.actived=!1)}),n.actived=!0,await this.onAnyChange(r,o),this.onEditingChange([n]),(s=(a=this.params).onLayerChange)==null||s.call(a,i)};this.onEditingChange=i=>{var o,r;(r=(o=this.params).onEditingChange)==null||r.call(o,i)};this.onLockedChange=i=>{var o,r;(r=(o=this.params).onLockedChange)==null||r.call(o,i)};this.onVisibleChange=i=>{var o,r;(r=(o=this.params).onVisibleChange)==null||r.call(o,i)}}get data(){return this._data}set data(i){this._data=i,this.notify()}};function hki(t){let{onAnyChange:e=QP,onVisibleChange:i=QP,onLockedChange:o=QP,onEditingChange:r=QP,onLayerChange:n}=t,a=J(),s=be.bind(pki.default.locals),l=(0,BSe.useCallback)(ue.throttle(async(f,{layerName:g,isVisible:b})=>{f.stopPropagation();let y={...t.data},w=g!=="All"?[y.options.find(({name:x})=>x===g)]:y.options;w.forEach(x=>{vn(x.visible)||(x.visible=!b)}),await e(y),i(w)},300),[t.data]),c=(0,BSe.useCallback)(ue.throttle(async(f,{layerName:g,isLocked:b})=>{f.stopPropagation();let y={...t.data},w=g!=="All"?[y.options.find(({name:x})=>x===g)]:y.options;w.forEach(x=>{vn(x.locked)||(x.locked=!b)}),await e(y),o(w)},300),[t.data]),d=(0,BSe.useCallback)(ue.throttle(async({isEditing:f,layerId:g,isCheckedEdit:b})=>{!f||!b||g&&await n(g)},300),[]),u=(0,BSe.useCallback)(ue.throttle(async()=>{Pt(kt.Panel.ResetDefaultScheme);let f={...t.data};f.options.forEach(g=>{g.actived&&(g.actived=!1)}),e(f)},300),[]),p=({name:f,visible:g,locked:b,actived:y})=>{let w=!vn(y),x=y?"layer-panel-row-editing":"",S=g?"visible-eye-tag":"hidden-eye-tag",T=(()=>{let E="",N="",R=!0;return vn(b)?R=!1:(E=b?"locked-toggle-btn":"unlock-toggle-btn",N=b?"icon-eda-forbidden":"icon-eda-operational"),{divClass:E,spanClass:N,lockable:R}})(),M=cki[f]||"",I=Object();vn(bq[f])||(I.layer=bq[f]);let A={};y&&(A.backgroundImage=`url(${mki.default})`,A.backgroundRepeat="no-repeat",A.backgroundPosition="center");let D=KS("div")`
			.icon-eda-forbidden {
				filter: invert(58%) sepia(5%) saturate(2%) hue-rotate(90deg) brightness(92%) contrast(83%);
			}
		`;return(0,YA.jsxs)("div",{className:s(`layer-panel-row display-flex flex-lateral-axis-center flex-nowrap ${x}`),style:{cursor:"pointer"},"data-layer-name":f,"data-editable":w,...I,onClick:()=>{f==="All"&&u()},children:[(0,YA.jsx)("div",{className:s("current-toggle-btn"),"data-controlitem":"toggle-selected","data-check-editable":w,onClick:E=>{d({isCheckedEdit:w,isEditing:w,layerId:bq[f]})},style:A}),(0,YA.jsx)("div",{className:s(`visible-toggle-btn ${S}`),onClick:E=>{l(E,{layerName:f,isVisible:g})},"data-controlitem":"toggle-visible",style:{width:"20px"}}),(0,YA.jsx)("div",{className:s(`layer-pattern-background ${M}`),"data-controlitem":"toggle-background","data-check-editable":w,onClick:E=>{d({isCheckedEdit:w,isEditing:w,layerId:bq[f]})}}),(0,YA.jsx)("div",{className:s("nowrap"),"data-controlitem":"toggle-name","data-check-editable":w,title:a(f),onClick:E=>{d({isCheckedEdit:w,isEditing:w,layerId:bq[f]})},children:(0,YA.jsx)("span",{"data-test":f,children:a(f)})}),(0,YA.jsx)(D,{className:s(T.divClass),"data-controlitem":"toggle-locked","data-lockable":T.lockable,children:(0,YA.jsx)("span",{className:s(T.spanClass),title:a(b?"Forbidden":"Operational"),onClick:E=>{T.lockable&&c(E,{layerName:f,isLocked:b})},style:{display:"block"}})})]},f)},m=()=>{let{options:f}=t.data,y={name:"All",locked:!0,visible:!0,id:-99,actived:!f.some(w=>w.actived===!0)};for(let w of f)w.locked===!1&&(y.locked=!1),w.visible===!1&&(y.visible=!1);return y},h=KS("div")`
		border-top: var(--common-border-color-1);
		.icon-eda-forbidden {
			filter: invert(58%) sepia(5%) saturate(2%) hue-rotate(90deg) brightness(92%) contrast(83%);
		}
	`;return(0,YA.jsxs)("section",{className:s("panel-layer-main layer-panel-table"),children:[p(m()),(0,YA.jsx)(h,{className:s("layer-content-list"),children:t.data.options.map(p)})]})}var pD=L(Se());async function cB(t={},e,i){try{await ii("commonly-value-input",t);let o=null;o=C.messageBus.subscribe("commonly_value_input_dialog_btn_event",({action:r,data:n})=>{r==="confirm"&&e&&e(n),["cancel","close"].includes(r)&&i&&i(n),o.cancel(),le.destroy("inputsValueDialogContainer")})}catch(o){console.warn(o)}}async function fki(t={},e,i){try{await ii("commonly-value-input",t);let o=null;o=C.messageBus.subscribe("commonly_value_input_dialog_btn_event",({action:r,data:n})=>{r==="confirm"&&e(n)&&(o.cancel(),le.destroy("inputsValueDialogContainer")),["cancel","close"].includes(r)&&(i&&i(n),o.cancel(),le.destroy("inputsValueDialogContainer"))})}catch(o){console.warn(o)}}var yq=L(z()),oHe=class extends qe{constructor(i){super();this.params=i;this._isEdited=!1;this.onEditedChange=i=>{this.isEdited=i};this.onConfigChange=i=>{var o;this.config=i,(o=this.params)==null||o.onConfigChange(i)};this.onOperated=i=>{var o;return(o=this.params)==null?void 0:o.onOperated(i)};this.onModeChange=i=>{var o;this.config.scheme.active=i,(o=this.params)==null||o.onModeChange(i)}}get isEdited(){return this._isEdited}set isEdited(i){this._isEdited=i,this.notify()}get config(){return this._config}set config(i){this._config={...i},this.notify()}get activeScheme(){return this.config.scheme.options.find(({label:i})=>this.config.scheme.active===i)}};function gki(t){let{onModeChange:e=QP,onOperated:i=QP}=t,o=J(),[r,n]=(0,pD.useState)(t.config.scheme.active),[a,s]=(0,pD.useState)({def:[],fixed:[],custom:[]});(0,pD.useEffect)(()=>{n(t.config.scheme.active)},[t.config.scheme.active]);let l=(0,pD.useMemo)(()=>t.editingScheme,[t.editingScheme]);(0,pD.useEffect)(()=>{let k=t.config.scheme.options.find(({label:j})=>j===t.config.scheme.active),P=k.mode,O=[...u];u.forEach(j=>{(j.label==="renameConfig"||j.label==="deleteConfig")&&(j.disabled=P==="fixed")}),p(O);let _=ny.data.options.some((j,B)=>j.visible!==k.options[B].visible);t.onEditedChange(_)},[t.config.scheme.active]);function c(k){let O={...k},{fixed:_,custom:j,def:B}=O;return[B,_,j].some(V=>V.some(G=>{let Q=G.name,H=Q.indexOf("*");H!=-1&&(Q=Q.slice(H+1)),G.name=t.isEdited&&G.label===t.config.scheme.active?`*${Q}`:`${Q}`})),O}(0,pD.useEffect)(()=>{let{scheme:{options:k,defActive:P}}=t.config,O=[],{fixed:_,custom:j}=k.reduce((Q,H,q)=>(Q[H.mode][H.name]={name:(()=>{let U=H.name==="ALL"?"Common":H.name;return o({context:"PanelLayerContext",value:U})})(),label:H.label},Q),{fixed:{},custom:{}}),B=!1;_[P]&&(O.push(_[P]),delete _[P]),j[P]&&(B=!0,O.push(j[P]),delete j[P]),O.length===0&&(O.push(_.Common),delete _.Common),O[0].name+=`(${o("Default")})`;let V={fixed:Object.values(_),def:O,custom:Object.values(j)},G=c(V);s(G)},[t.config,t.isEdited,me.curr]);let d=(k=t.config)=>k.scheme.options.find(({label:P})=>t.config.scheme.active===P),[u,p]=(0,pD.useState)(ue.deepClone(t.config.operation));(0,pD.useEffect)(()=>{let P=d().mode==="custom",O=[...u];if(P){let _=O.find(j=>j.label==="saveConfig");_.disabled=!t.isEdited}p(O)},[t.config,t.isEdited]);let m=(0,pD.useCallback)(ue.throttle(()=>{e(t.config.scheme.active),t.onEditedChange(!1)},800),[]),h=()=>(0,yq.jsx)("div",{style:{width:"46px",height:"24px",border:"1px solid var(--common-border-color-1)",display:"flex",alignItems:"center",boxSizing:"border-box",cursor:"pointer",justifyContent:"center"},children:(0,yq.jsx)(Me,{onClick:()=>{m()},style:{minWidth:"46px",height:"24px",lineHeight:"24px"},children:"Reset"})}),f=()=>t.config.scheme.options.findIndex(({label:k})=>t.config.scheme.active===k),g=async()=>{let k={...t.config},P=ue.deepClone(l);k.scheme.options[f()]=P,await i("saveConfig")&&(y4.isEdited=!1,t.onConfigChange(k))},b=()=>{Dt({icon:"warning",title:me.i18n("Tips"),closed:!0,content:o("Are you sure you want to delete?"),onConfirm:()=>{let k={...t.config},{options:P}=k.scheme;P.splice(f(),1),k.scheme.active===t.config.scheme.defActive?k.scheme.active=k.scheme.defActive="Common":k.scheme.active=k.scheme.defActive,t.onConfigChange(k),e(t.config.scheme.active),i("deleteConfig")},onCancel(){n(t.config.scheme.active)}})},y=k=>{let P={...t.config},O=d(P);P.scheme.active=k,O.name=k,O.label=k,t.onConfigChange(P),n(k),i("renameConfig")},w=async k=>{let P=ue.deepClone(l);P.name=k,P.label=k,P.mode="custom";let O={...t.config};O.scheme.active=k,O.scheme.options.push(P),t.onConfigChange(O),n(k),await i("saveAsConfig")},x=async k=>{let P={...t.config};P.scheme.defActive=k,await i("setAsDefaultConfig")&&(P.scheme.active=P.scheme.defActive,t.onConfigChange(P),n(P.scheme.active))},S=async k=>{await w(k),await x(k)},T=k=>t.config.scheme.options.some(({label:P})=>P===k),M=({title:k,value:P})=>new Promise((O,_)=>{fki({forms:[{type:"input",title:o(k),key:k,value:o(P),tips:""}]},j=>{let{formData:B}=j.data,V=(B.name||B["Save As Config"]||B.Name).trim();return V?V.length>20?(De({msg:{value:"The typing cannot over {0} characters.",options:{0:20}},type:"warn"}),!1):T(V)?(De({msg:"Name already exists",type:"warn"}),!1):(O(V),!0):(De({msg:"Please Input Name",type:"warn"}),!1)},()=>{_(!1)})}),I=k=>{let{handler:P,title:O,getInputValue:_}={renameConfig:{handler:y,title:"Name",getInputValue:()=>d().name},saveAsConfig:{handler:w,title:"Save As Config",getInputValue:()=>d().name},setAsDefaultConfig:{handler:S,title:"Name",getInputValue:()=>""}}[k];M({title:O,value:_()}).then(j=>{let B=P(j);B instanceof Promise&&B.then(()=>{e(j)})},()=>{n(t.config.scheme.active)})},A=async k=>{switch(k){case"saveConfig":await g();return;case"deleteConfig":b();return;case"renameConfig":case"saveAsConfig":I(k);return;case"setAsDefaultConfig":t.isEdited?I(k):x(t.config.scheme.active);return;default:e(k);break}n(k)};function D(k,P){return!Object.values(qIt).includes(P)}let{fixed:E,custom:N,def:R}=a,v=[...R,...E,...N,...u].map(({name:k,label:P,disabled:O})=>({text:k,value:P,disabled:O}));return(0,yq.jsx)("div",{style:{height:"40px",display:"flex",alignItems:"center"},children:(0,yq.jsxs)("div",{id:"panel-layer-header-switcher",style:{flex:"1",display:"flex",justifyContent:"space-around"},children:[(0,yq.jsx)("div",{style:{width:"60%"},children:(0,yq.jsx)(xt,{needCheckUpdate:D,value:r,list:v,onChange:A})}),h()]})})}var Cki=L(Cmt()),xki=L(xmt());var Tki=L(XIt());var zSe=L(z());function bki(){let t=J(),e={font:"bold 12px \u5FAE\u8F6F\u96C5\u9ED1",color:"#1890ff",textDecoration:"none"};return(0,zSe.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"12px",marginLeft:"12px"},children:[(0,zSe.jsxs)("a",{target:"_blank",style:e,href:C.HelpURL.panel_video,children:[t("EasyEDA Pro Panel Software Practical Training"),">>>"]}),(0,zSe.jsx)("a",{target:"_blank",style:e,href:C.HelpURL.panel_document,children:t("EasyEDA Pro Panel Software Tutorial Documentation")})]})}var ay=L(z());function hTr(t){return new Promise(async(e,i)=>{if(await Ks({usrPanelLayerProfile:t},!0)===!0){e(!0);return}i(!1)})}function Ski(t){let e=[];for(let i of t){let o=!0,r=tHe.scheme.options[0];for(let n=0;n<r.options.length;n++){let a=r.options[n],s=i.options[n];if(a.id!==s.id){o=!1;break}}o&&e.push(i)}return{filteredCustomSchemes:e}}function Mki(t){var s;let e=(s=C.profileSetting)==null?void 0:s.usrPanelLayerProfile,{options:i,active:o}=e||{},r=ue.deepClone(tHe),{filteredCustomSchemes:n}=Ski(i||[]);n.length&&r.scheme.options.push(...n),r.scheme.options.find(({label:l})=>o===l)||(o=r.scheme.active);let a=r.scheme.options.find(({label:l})=>o===l);if(a.name==="Common"){let l=r.scheme.options.findIndex(({label:c})=>c==="Common");r.scheme.options[l].options.forEach(c=>{c.id===-1&&(c.visible=(t==null?void 0:t.docType)!==ve.PANEL_LIB)})}return a}async function fTr(t,e){var c;let i=(c=C.profileSetting)==null?void 0:c.usrPanelLayerProfile,{options:o,defActive:r,active:n}=i||{},a=ue.deepClone(tHe),{filteredCustomSchemes:s}=Ski(o||[]);if(s.length&&a.scheme.options.push(...s),a.scheme.options.find(({label:d})=>n===d)||(r=a.scheme.defActive,n=a.scheme.active),a.scheme.defActive=r,a.scheme.active=r||n,t){a.scheme.active=t.label;let d=a.scheme.options;ny.onAnyChange(t,{updateUI:!0}),ny.onVisibleChange(t);let u=d.findIndex(({label:p})=>p===t.label);y4.isEdited=d[u].options.some((p,m)=>p.id===-1?t.options[m].visible===((e==null?void 0:e.docType)===ve.PANEL_LIB):p.visible!==t.options[m].visible)}else y4.isEdited=!1;let l=Object.values(eHe);if(a.scheme.options.forEach((d,u)=>{l.includes(d.name)&&d.options.forEach(p=>{p.id===-1&&(p.visible=(e==null?void 0:e.docType)===ve.PANEL_LIB?!1:p.visible)})}),y4.config=a,!t){let d=ue.deepClone(y4.activeScheme);ny.data=d,await Pt(kt.Panel.PanelLayerSchemeChange,[d],e.tabid)}}async function bH(t){let e=await Pt(kt.Panel.ActivePanelLayerScheme);fTr(e,t)}var y4=new oHe({onConfigChange(t){},onModeChange(t){let{activeScheme:e}=y4;e.options.forEach(i=>{i.name==="Material Boarder Layer"&&dt()===ve.PANEL_LIB&&(i.visible=!1)}),Pt(kt.Panel.PanelLayerSchemeChange,[e]).then(()=>{_l(st.PANEL_OBJECT_ROOT_NODE)}),ny.data=ue.deepClone(e)},onOperated(t){let e=y4.config.scheme.options.filter(i=>i.mode==="custom");return hTr({options:e,active:y4.config.scheme.active,defActive:y4.config.scheme.defActive})}}),ny=new iHe({onAnyChange(t,e){y4.isEdited=!0,e!=null&&e.updateUI||Pt(kt.Panel.PanelLayerSchemeChange,[ny.data,e]),(0,$It.default)('span[tabid="panelObject"]',(0,$It.default)("#leftProjectDesignTab")).hasClass("active")&&_l(st.PANEL_OBJECT_ROOT_NODE)},async onLayerChange(t){},onVisibleChange(t){t.length===1&&t[0].name==="Material Boarder Layer"||_l(st.PANEL_OBJECT_ROOT_NODE)},onEditingChange(t){},onLockedChange(t){}});function gTr(){let t=mt.getLanguage()==="zh-hans";Ce(is);let e=()=>{let i="panel-layer-intro-dialog",{offsetHeight:o,offsetWidth:r}=document.body;le.open({id:i,title:"\u56FE\u5C42\u8BF4\u660E",width:Math.min(r*.8,1400),height:Math.min(o*.82,800),closed:!0,footer:null,folded:!0,children:(0,ay.jsx)("div",{id:"panel-layer-intro-dialog",style:{overflow:"hidden",height:"100%"},children:(0,ay.jsx)("div",{style:{overflow:"hidden",height:"100%"},children:(0,ay.jsx)("div",{style:{width:"100%",height:"100%"},children:(0,ay.jsx)("img",{alt:""})})})}),esc:!0,onKeyup(n){}})};return(0,ay.jsxs)(ay.Fragment,{children:[(0,ay.jsx)("style",{dangerouslySetInnerHTML:{__html:".zh-cn-layer-intro { display: inline-block; padding: 1em; cursor: pointer }"}}),(0,ay.jsx)("a",{id:"panel-layer-intro-img",style:{width:"100%",boxSizing:"border-box"},onClick:e,children:(0,ay.jsx)("img",{className:"zh-cn-layer-intro",src:t?Cki.default:xki.default})})]})}function bTr(){return Ae(Tki.default),Ce(y4),Ce(ny),!y4.config||!ny.data?null:(0,ay.jsxs)(ay.Fragment,{children:[(0,ay.jsx)(gki,{isEdited:y4.isEdited,config:y4.config,editingScheme:ny.data,onModeChange:y4.onModeChange,onOperated:y4.onOperated,onConfigChange:y4.onConfigChange,onEditedChange:y4.onEditedChange}),(0,ay.jsx)(hki,{data:ny.data,onAnyChange:ny.onAnyChange,onEditingChange:ny.onEditingChange,onLockedChange:ny.onLockedChange,onVisibleChange:ny.onVisibleChange,onLayerChange:ny.switchLayerById}),(0,ay.jsx)(gTr,{}),(0,ay.jsx)(bki,{})]})}function Iki(){let t=document.querySelector(".panel-attribute-manager #panel-layer");yki.default.createRoot(t).render((0,ay.jsx)(wki.default.StrictMode,{children:(0,ay.jsx)(bTr,{})}))}var eLt=class extends qe{constructor(){super(...arguments);this._fromCompontMaskSetStyle=!1;this._addIntoBom=!1;this._convertToPcb=!1;this.isShiftPressed=!1}get fromCompontMaskSetStyle(){return this._fromCompontMaskSetStyle}set fromCompontMaskSetStyle(i){this._fromCompontMaskSetStyle=i}get convertToPcb(){return this._convertToPcb}set convertToPcb(i){this._convertToPcb=i}get addIntoBom(){return this._addIntoBom}set addIntoBom(i){this._addIntoBom=i}getShowIconValue(){if(this._addIntoBom&&this._convertToPcb)return`${Rr("Add into BOM")}/${Rr("Convert to PCB")}`;if(this._addIntoBom&&!this._convertToPcb)return`${Rr("Add into BOM")}/${Rr("Not convert to PCB")}`;if(!this._addIntoBom&&this._convertToPcb)return`${Rr("Not add into BOM")}/${Rr("Convert to PCB")}`;if(!this._addIntoBom&&!this._convertToPcb)return`${Rr("Not add into BOM")}/${Rr("Not convert to PCB")}`}onShiftKeyDown(){this.isShiftPressed||(this.isShiftPressed=!0,this.addIntoBom=!this.addIntoBom,this.convertToPcb=!this.convertToPcb,mD({cmdToken:"enter_component_mask"}))}onShiftKeyUp(){this.isShiftPressed=!1,this.addIntoBom=!this.addIntoBom,this.convertToPcb=!this.convertToPcb,mD({cmdToken:"enter_component_mask"})}},NC=new eLt;var tLt=(_=>(_["draw(wire)"]="eda-sch-wire",_["draw(bus)"]="eda-sch-bus",_["draw(circle)"]="eda-sch-circle",_["draw(ellipse)"]="eda-sch-ellipse",_["draw(bezier)"]="eda-sch-bezier",_["draw(block)"]="eda-sch-block",_["draw(rect)"]="eda-sch-rect",_["draw(arc)"]="eda-sch-arc",_["draw(polyline)"]="eda-sch-polyline",_["draw(origin)"]="eda-canvas-origin",_["draw(table)"]="eda-sch-table",_["draw(annotation)"]="eda-annotation",_.select="eda-sch-select",_["draw(pen)"]="eda-pen-tool",_["place_auxiliary(crossLine)"]="eda-auxiliary",_["place_auxiliary(horizontalLine)"]="eda-auxiliary-horizontal",_["place_auxiliary(verticalLine)"]="eda-auxiliary-vertical",_["place_auxiliary(point)"]="eda-auxiliary-point",_["draw(dimension-x)"]="eda-dimension-horizontal",_["draw(dimension-y)"]="eda-dimension-vertical",_["draw(dimension-xy)"]="eda-dimension-smart",_["draw(measure-length)"]="eda-dimension-length",_["draw(measure-angle)"]="eda-dimension-angle",_["draw(measure-radius)"]="eda-dimension-radius",_["draw(arcCenter)"]="eda-arc-center-panel",_["draw(arc2)"]="eda-arc-two-points",_["draw(arc3)"]="eda-arc-three-points",_.align_left="eda-align-left",_.align_right="eda-align-right",_.align_top="eda-align-top",_.align_bottom="eda-align-bottom",_.align_vertical_center="eda-align-vertical-center",_.align_horizontal_center="eda-align-horizontal-center",_.move_by="eda-move",_.copy="eda-copy",_.cut="eda-cut",_.continuousSelection="eda-selection-continuous",_.rectangleOutside="eda-selection-rectangle-outside",_.rectangleInside="eda-selection-rectangle-inside",_.polygonInside="eda-selection-polygon-inside",_.polygonOutside="eda-selection-polygon-outside",_.lineTouched="eda-selection-line-touched",_.customPathRenumberPins="Please draw a path",_.continuousSelect_pcb="eda-selection-continuous",_.rectangleOutside_pcb="eda-selection-rectangle-outside",_.rectangleInside_pcb="eda-selection-rectangle-inside",_.polygonInside_pcb="eda-selection-polygon-inside",_.polygonOutside_pcb="eda-selection-polygon-outside",_.lineTouched_pcb="eda-selection-line-touched",_.customPathRenumberPads_pcb="Please draw a path",_.COPY_pcb="eda-copy",_.CLIP_pcb="eda-cut",_.measureDistance_pcb="eda-measure",_["draw(Line)_pcb"]="eda-sch-polyline",_["draw(arcCenter)_pcb"]="eda-arc-center",_["draw(arc2)_pcb"]="eda-arc",_["draw(track)_pcb"]="eda-sch-wire",_["draw(multiTrack)_pcb"]="eda-routing-multiple",_["draw(difftrack)_pcb"]="eda-routing-differential",_["draw(arc)_pcb"]="eda-arc-3",_["draw(circle)_pcb"]="eda-sch-circle",_["draw(rect)_pcb"]="eda-sch-rect",_["draw(origin)_pcb"]="eda-canvas-origin",_["draw(PProhibit)_pcb"]="eda-region-prohibited",_["draw(CProhibit)_pcb"]="eda-region-prohibited",_["draw(RProhibit)_pcb"]="eda-region-prohibited",_["draw(RSlot)_pcb"]="eda-region-slot",_["draw(CSlot)_pcb"]="eda-region-slot",_["draw(PSlot)_pcb"]="eda-region-slot",_["draw(RRegion)_pcb"]="eda-region-fill",_["draw(CRegion)_pcb"]="eda-region-fill",_["draw(PRegion)_pcb"]="eda-region-fill",_["draw(RCopper)_pcb"]="eda-region-copper",_["draw(CCopper)_pcb"]="eda-region-copper",_["draw(PCopper)_pcb"]="eda-region-copper",_["draw(ROutline)_pcb"]="eda-board-outline",_["draw(COutline)_pcb"]="eda-board-outline",_["draw(POutline)_pcb"]="eda-board-outline",_.selectRefObjectForAlignLeft_pcb="eda-align-left",_.selectRefObjectForAlignRight_pcb="eda-align-right",_.selectRefObjectForAlignTop_pcb="eda-align-top",_.selectRefObjectForAlignBottom_pcb="eda-align-bottom",_.selectCenterObjectForVertical_pcb="eda-align-vertical-center",_.selectCenterObjectForHorizontal_pcb="eda-align-horizontal-center",_["draw(annotation)_pcb"]="eda-annotation",_["draw(maskRegion)"]="eda-place-mask-region",_.MouseSelect_pcb="eda-move",_))(tLt||{});document.addEventListener("DOMContentLoaded",()=>{var e;let t=document.createElement("div");t.id="svg-icon-container",t.style.display="none",t.style.zIndex="999",t.innerHTML=lki,(e=Vr("move-cross-icon-container"))==null||e.prepend(t)});function mD(t){if(t){let{left:e,top:i,cmdToken:o,color:r,selectionMode:n,copyType:a}=t;o=n||o||a,rHe(o,r,e,i)}else rHe("","",void 0,void 0)}var Lki="";function FSe(t){let{cmd:e,mouseX:i,mouseY:o}=t;if(!(e=="dropdrag"&&Lki===e)){Lki=e;try{let n=Wi("PCB_THEME").canvasPrimitiveSetting.cursor.color.value,a=Vr("frame_"+he.getActiveTab()),{left:s,top:l}=(a==null?void 0:a.getBoundingClientRect())||{};s+=i,l+=o,rHe(e?e+"_pcb":"",n,s,l)}catch(r){console.warn(r)}}}function iLt(){rHe("","",void 0,void 0)}function rHe(t,e,i,o){let r=Vr("move-cross-icon-container");if(!t||Au.isContextMenuOfNowActive()){r.style.display="none";return}r.style.display="inline-block";let n=(0,wq.default)(r),a=16;if(["customPathRenumberPins","customPathRenumberPads_pcb"].includes(t))(0,wq.default)("div",n).eq(1).html(me.i18n(tLt[t])).css("display","block"),(0,wq.default)("svg",n).css("display","none");else if(t==="enter_component_mask"){let c=(0,wq.default)("div",n).eq(1);c.html(NC.getShowIconValue()).css("display","block"),(0,wq.default)("svg",n).css("display","none"),c.css({background:"white","font-size":"12px",border:"none",backgroundColor:"var(--common-bg-color)",color:"var(--common-font-color)"})}else{(0,wq.default)("svg",n).css("display","block"),(0,wq.default)("div",n).css("display","none");let d=r.querySelector("#use");d.setAttribute("xlink:href","#"+tLt[t]),d.parentElement.setAttribute("fill",e);let u=window.devicePixelRatio<.9?18:a;d.parentElement.style.width=u+"px",d.parentElement.style.height=u+"px"}let l=5;n.css({left:i+l+"px",top:o-a-l+"px",zIndex:999})}async function vki(t,e,i){await yn({tabId:e}),Br.handleClick("panel-layer"),Pn("layout_toggler_right",!1,!1),setTimeout(()=>{ny.switchLayerById(t,i)},1e3)}var ZT=class{static init(){C.messageBus.subscribe("/pro-ui/container/tab/onClick",async e=>{let{containerId:i,tabId:o,domRect:r,isTrueClick:n,isActive:a=!0}=e;if(await V3(),!he.containerIds.includes(i))return;if(mD(void 0),!this.isPcbIframe(o)){let c=mp.pcbIframes().activeIframes[i];if(c){let d=this.getCurPcbLayerBarByIframe(c);d&&d.setHidden(),mp.pcbIframes().activeIframes[i]=null}this.lastTabId=o,this.handleLayerBar(),XVe(),jSe();return}let s=Vr("frame_"+o),l=he.getTabDocType(o);if(this.lastTabId!==o&&(XVe(),jSe()),[se.PCB,se.FOOTPRINT].includes(l)){await E7i(o);let c=mt.getCacheObj("pcbCommandTab");if(c===void 0||!c){let d={containerId:"bottom-bar-container",tabId:"pcbCommand"};It.deleteTab(d),c=!1,mt.setCacheObj("pcbCommandTab",c),mt.saveToServer(!1)}}if(s){let c=It.containerInfo[i].domRect;this.changeIframePosition(s,c,o),this.containerId&&this.containerId!==i&&mp.pcbIframes().iframes[this.containerId]&&mp.pcbIframes().iframes[this.containerId].has(o)&&mp.pcbIframes().iframes[this.containerId].delete(o),mp.pcbIframes().setActiveIframe(i,o),this.handleLayerBar(),It.setActiveTab(e),await this.setPcbTabActive(o)}else l==se.PCB?await Ud(wr(o)[0],{isActive:a}):await yn({tabId:o,isComponent:!0,isActive:a});this.containerId=i,D1.add("tabbar-click",{tabId:o||""})}),C.messageBus.subscribe("/pro-ui/container/tab/onActive",async e=>{var a;let{containerId:i,tabId:o,belong:r}=e;if(r!==he.belongContainer)return;(a=mp.pcbIframes().iframes[i])==null||a.forEach(async s=>{let l=Vr("frame_"+s);l&&(s!==o?l.parentElement.style.visibility="hidden":l.parentElement.style.visibility="visible")}),he.getTabDocType(o)===se.FOOTPRINT&&(o.includes("_")?It.setTabDisplayNone("leftLibDesignTab","footprintDevices",!0):It.setTabDisplayNone("leftLibDesignTab","footprintDevices",!1))}),C.messageBus.subscribe("/pro-ui/container/tab/onDelete",async e=>{let{containerId:i,tabId:o}=e;if(delete G2[o],!!he.containerIds.includes(i)){if(this.isPcbIframe(o)){mp.pcbIframes().deleteIframe(i,o);let r=this.getPcbLayerBarIdByIframe(o);for(let a=0;a<C.pcbAllLayersBars.length;a++){let s=C.pcbAllLayersBars[a];s.containerId==r&&(s.destroy(),C.pcbAllLayersBars.splice(a,1),a--)}he.getTabDocType(o)===se.PCB&&(await M1e(o),await $Ve(o)),he.closeTopTab(o),D1.add("tabbar-close-btn-click",{tabid:o||""})}window.setTimeout(()=>{let r=It.getActiveTab(he.belongContainer);if(r&&r.data){let{doctype:n}=r.data;n!==se.VIEW3D&&yje()}})}}),C.messageBus.subscribe("/pro-ui/container/resize",e=>{let{containerId:i,domRect:o}=e,r=mp.pcbIframes().activeIframes[i],n=Vr("frame_"+r);n&&this.changeIframePosition(n,o,r)}),C.messageBus.subscribe("/pro-ui/tab/changeContainer",e=>{let{tabId:i,containerId:o}=e;Object.keys(mp.pcbIframes().iframes).some(r=>mp.pcbIframes().iframes[r].has(i)?(mp.pcbIframes().iframes[r].delete(i),mp.pcbIframes().setActiveIframe(o,i),!0):!1)})}static changeIframePosition(e,i,o){let r=e.parentElement.style;r.position="fixed",r.top=i.top+"px",r.left=i.left+"px",r.width=i.width+"px",r.height=i.height+"px",r.zIndex=10,e.contentWindow.dispatchEvent(new Event("beforeResize"))}static async createTab(e,i,o,r,n="",a={}){let s=he.getActiveTab();if(s!=null&&s!=""){var l=he.getTabDocType(s);C.messageBus.publish("updateIFrameState",{head:{doctype:l,from:"",to:s},body:{active:!0}})}let c=Ire(i,!0);i===se.PCB&&(c=`${a!=null&&a.isPartition?"icon-eda-partition":Nt?"icon-ecad-pcb":"icon-eda-pcb"} icon-color-green`),i===se.FOOTPRINT&&(c=c+" theme-symbol-icon-filter");let d=a.openContainerId||he.getTabContainer(he.currentTabId)||he.containerIds[0];It.addTab({container:d,tab:{tabId:e,title:r,icon:{iconClassName:be(c)},draggable:!0,isAbleDelete:!0,notUseI18n:i!==se.HOME}}),he.setTabData(e,{doctype:i,ticket:n||"",updateTime:a.updateTime||"",isProjectLib:wi&&a.isProjectLib?a.isProjectLib:!1,"real-title":r,...a||{}});let u=a.updateTime||"";(!n||!u)&&[se.PCB,se.FOOTPRINT].includes(i)&&he.updateTicket(e);let p=d0();return x1e(!!p.isShowPCBBottomLayersBar),!0}static isPcbIframe(e){let i=he.getTabDocType(e);return[se.PCB,se.FOOTPRINT,se.PHOTOVIEW,se.VIEW3D,se.PANEL3D].includes(i)}static async setPcbTabActive(e,i){let o=he.getTabDocType(e),r=(0,nHe.default)(".bottomBar-preview .placeBtn");if(r.attr("disabled","disabled"),o==se.PCB){let s=(0,nHe.default)("#bottomBar");o==se.PCB&&(0,nHe.default)(".footprintPreviewBox",s).data("footprint")&&r.removeAttr("disabled")}let n=await he.getTabIFrame(e);if([se.PHOTOVIEW,se.VIEW3D,se.PANEL3D].includes(o)&&await sy(0),o===se.VIEW3D&&C.windowBridge.publish("refresh3DViewPanel",null,n.contentWindow),[se.PCB,se.FOOTPRINT].includes(o)){let s=await Pt(kt.Pcb.GetTopMenuStatus,[],e);if(s!=null&&s.gridType){let l=[se.PCB,se.FOOTPRINT].includes(o);Ho.switchGridTypeBtn(s.gridType,l,e)}}C.messageBus.publish("close_dlgFind"),C.messageBus.publish("close_find-similar"),i!=null&&i.needOnClick&&he.simulateClick(e);let a=d0();x1e(!!a.isShowPCBBottomLayersBar),this.lastTabId=e}static handleLayerBar(){let e=mp.pcbIframes().activeIframes;for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let o=e[i];if(!o)continue;let r=he.getTabDocType(o),n=[se.PCB,se.FOOTPRINT].includes(r),a=this.getCurPcbLayerBarByIframe(o);n?a&&(a.isShowPCBBottomLayersBar?a.setShow():a.setHidden()):a&&a.setHidden()}}static getPcbLayerBarIdByIframe(e){let i=Vr("frame_"+e),o=i==null?void 0:i.nextElementSibling;return o==null?void 0:o.getAttribute("id")}static getCurPcbLayerBarByIframe(e){let i=this.getPcbLayerBarIdByIframe(e);return C.pcbAllLayersBars.find(o=>o.containerId==i)}};var w4=class{constructor(){this.componentMap={};this.queriedAndUnMatchIds=[];this.inValidComponent=[];this.netMap={};this.designRule=null;this.netClass=null;this.equalLengthNetGroup=null;this.differentialPair=null}checkValid(e){if(!e)return!1;let i=e.props,o=e.uniqueId;return!i.FootprintName&&!i.DeviceName?(o&&this.inValidComponent.push(o),!1):this.componentMap[e.uniqueId]?(o&&this.inValidComponent.push(o),!1):!0}addALL(e){if(e)for(let i in e)this.add(e[i])}add(e){return e.uniqueId||(e.uniqueId=""),this.checkValid(e)?(this.componentMap[e.uniqueId]=e,!0):!1}delete(e){delete this.componentMap[e]}query(e){return this.componentMap[e]}async iteratorAsync(e){let i=this.componentMap;for(let o in i){let r=i[o];if(await e(o,r))break}}iterator(e){let i=this.componentMap;for(let o in i){let r=i[o];if(e(o,r))break}}getValidMapForImportChanges(){let e={},i=new Set,o=new Set,r=new Set,n=new Set,a=new Set,s=new Set;return this.iterator((l,c)=>{var h;let d=c.props.FootprintName,u=c.props.DeviceName;if(!d&&u)a.add(`${c.props.Designator}(${c.props.DeviceName})`);else if(!d&&!u)return;let p=(h=c.extra)==null?void 0:h.bindingLibs;if(!(p==null?void 0:p.footprint)){d?this.queriedAndUnMatchIds.includes(l)?r.add(d):i.add(d):u&&!(p!=null&&p.device)&&(this.queriedAndUnMatchIds.includes(l)?n.add(u):o.add(u));return}e[l]=c}),{validMap:e,notQueryFootprintNames:Array.from(i),queriedAndUnMatchFootprintNames:Array.from(r),notQueryDeviceNames:Array.from(o),queriedAndUnMatchDeviceNames:Array.from(n),deviceUnBindFootprint:Array.from(a),noMatchPadNums:Array.from(s)}}getComponentSize(){return Object.keys(this.componentMap).length}getComponentMap(){return this.componentMap}updateDesignRule(e){this.designRule=e||null}updateNetClass(e){this.netClass=e||null}updateEqualLengthNetGroup(e){this.equalLengthNetGroup=e||null}updateDifferentialPair(e){this.differentialPair=e||null}};function hD(t){return t||""}function aHe(t){if(!t||typeof t!="object")return t;if(Array.isArray(t)){let i=[];return t.forEach(o=>{Object.is(o,void 0)||Object.is(o,null)||i.push(aHe(o))}),i}let e={};for(let i in t){let o=t[i];Object.is(o,void 0)||Object.is(o,null)||(e[i]=aHe(o))}return e}function I1e(t){let e=t.match(/^(.*)\.(.*)$/);return e?[e[1],e[2]]:[t]}var dB=class{constructor(e){this._state=!1;this._source=e}decode(){this._netList=new w4;let e=this._source;if(!e){this._state=!1;return}this._state=!0;let o=e.replace(/(,\r?\n)(\s+|&nbsp;+)/g,(l,c,d)=>c=d=" ").split(/\r?\n/),r="$PACKAGES",n=0,a=o.length,s=!0;for(;n<a&&this._state;){let l=o[n];if(l==="$PACKAGES"||l==="$A_PROPERTIES"||l==="$NETS"||l==="$SCHEDULE"||l==="$FUNCTIONS"){r=l,n++;continue}else{switch(r){case"$PACKAGES":this.resolvePackageLine(l);break;case"$A_PROPERTIES":if(s)this.resolvePropLine(l);else break;break;case"$NETS":this.resolveNetLine(l);break;case"$FUNCTIONS":s=!1;break;default:break}n++}}return this._state?this._netList:null}resolveLineData(e){let i=e.lastIndexOf(";");if(i!==-1){let o=this.autoStr(e.slice(0,i)),r=this.autoStr(e.slice(i+1));return!o||!r?{}:{pre:o,after:r}}else return{}}resolvePackageLine(e){let i=this,{pre:o,after:r}=this.resolveLineData(e);if(!o||!r)return;let n=o.split("!"),a=i.autoStr(n[0]),s=i.autoStr(n[1]),l=i.autoStr(n[2]);if(!a){i._state=!1;return}let c={DeviceName:s,FootprintName:a};l&&(c.Value=l),r.split(" ").forEach(u=>{let p=i.autoStr(u);if(!p)return;let m=Object.assign({Designator:p},c);this._netList.add({uniqueId:p,props:m,nets:{}})})}resolvePropLine(e){let i=this,{pre:o,after:r}=this.resolveLineData(e);if(!o||!r)return;let n=o.split(" "),a=i.autoStr(n[0]),s=i.autoStr(n[1]);if(!a){i._state=!1;return}r.split(" ").forEach(c=>{let d=i.autoStr(c);if(!d)return;let u=i._netList.query(d);u&&(u.props[a]=s)})}resolveNetLine(e){let i=this,{pre:o,after:r}=this.resolveLineData(e);if(!o||!r)return;let n=i.autoStr(o);if(!n){i._state=!1;return}r.split(" ").forEach(s=>{let l=s.replace(/:F\d*/,""),c=I1e(l),d=this.autoStr(c[0]),u=this.autoStr(c[1]);if(!d||!u)return;let p=i._netList.query(d);En(this._netList.netMap,n).push(`${d}.${u}`),p&&(p.nets[u]=n)})}autoStr(e){return e?e.trim().replace(/^'|'$/g,""):""}};var Y2=class{constructor(e){typeof e=="string"?this.parseSource(e):this._sourceJson=e}parseSource(e){try{let i=JSON.parse(e);!i.version&&!i.components&&(i={version:"2.0.0",components:i}),this._sourceJson=i}catch(i){console.error(i)}}async decode(){if(!this._sourceJson)return null;let{components:e,designRule:i,netClass:o,equalLengthNetGroup:r,differentialPair:n}=this._sourceJson,a=new w4,s={},l={};for(let c in e){let d=e[c],u=d.props;if(!u)continue;let p=u.DeviceName,m=u.FootprintName,h=Object.assign({},u,{DeviceName:p,FootprintName:m});h.designator&&(h.Designator=h.designator,delete h.designator);let f=h["Convert to PCB"];if(f==="false"||f=="no")continue;h["Convert to PCB"]="yes";let g=h["Add into BOM"];Object.is(g,void 0)&&(h["Add into BOM"]="yes");let b={},y=d.pinInfoMap;if(y)for(let T in y){let M=y[T].net;b[T]=M}let w={};d.layout&&(w.layout=Object.assign({},d.layout)),d.source&&(w.source=Object.assign({},d.source)),y&&(w.pinInfoMap=y);let x=C.currentProject.projectId;if(x){let T=u.Footprint,M=u.Device;if(w.bindingLibs={},T){let I=s[T]||(await C.messageBus.rpcCall($e.FOOTPRINT.GET,[T,C.currentProject.projectId])).message;I&&(h.FootprintName=I.display_title||I.title,w.bindingLibs.footprint={uuid:T,isProLib:!0,path:I.path||x,libDetail:I},s[T]=I);let A=l[M]||(await C.messageBus.rpcCall($e.DEVICE.GET,[M,C.currentProject.projectId])).message;A&&(h.DeviceName=A.display_title||A.title,w.bindingLibs.device={uuid:M,isProLib:!0,path:(I==null?void 0:I.path)||x,libDetail:A},l[M]=A)}}let S={uniqueId:c,props:h,nets:b,extra:w};a.add(S)}return a.updateDesignRule(i),a.updateNetClass(o),a.updateEqualLengthNetGroup(r),a.updateDifferentialPair(n),a}};var dLt=L(oLt());var Vki=L(Se());var L1e=class{constructor(e,i){this._specialKeys=[];this.oldItem=e,this.newItem=i}get isInterrupt(){return this._isInterrupt}compare(e){this._specialKeys=e||[],this._isInterrupt=!1;let i={},o={},{same:r,more:n,less:a}=yH(Object.keys(this.oldItem),Object.keys(this.newItem));return n.forEach(s=>{let l=this.newItem[s];i[s]={addComponent:l}}),a.forEach(s=>{let l=this.oldItem[s];i[s]={delComponent:l}}),r.forEach(s=>{let l=this.newItem[s],c=this.oldItem[s];this.autoCompareUpdate(l,c,i,o,"props"),this.autoCompareUpdate(l,c,i,o,"nets")}),{compareResMap:i,compareResMapForImplicitlyUpdated:o}}autoCompareUpdate(e,i,o,r,n){var f,g,b,y,w,x,S,T,M,I,A,D;let a=n=="props",s=e.uniqueId,l=a?e.props:e.nets,c=a?i.props:i.nets,d=(f=i.extra)==null?void 0:f.bindingLibs,u=(g=e.extra)==null?void 0:g.bindingLibs,p={Device:"Device",Footprint:"Footprint",FootprintName:"Footprint"},m=Object.keys(p),h=a?l:c;for(let E in h){let N=this.isSpecialAttr(E),R=m.includes(E);if(N&&!R)continue;let v=c&&Object.hasOwnProperty.call(c,E),k=v?"update":"add",P=l[E]||"",O=c[E]||"";if(R&&u&&(E==p.Device?P=((y=(b=u.device)==null?void 0:b.libDetail)==null?void 0:y.uuid)||P:E==p.Footprint&&(P=((x=(w=u.footprint)==null?void 0:w.libDetail)==null?void 0:x.uuid)||P)),E==="FootprintName"&&(P=P.toLowerCase(),O=O.toLowerCase()),v&&(a?P==O:P.toUpperCase()==O.toUpperCase()))continue;let j=this.isImplicitlyUpdateDAttr(E)?r:o;if(m.includes(E)){if(E==p.Footprint){let G=O.includes("_"),Q=P.includes("_");if(G||Q){let H=(T=(S=d==null?void 0:d.footprint)==null?void 0:S.libDetail)==null?void 0:T.source,q=(I=(M=u==null?void 0:u.footprint)==null?void 0:M.libDetail)==null?void 0:I.source,U=(A=rLt(H))==null?void 0:A.sourceId,F=(D=rLt(q))==null?void 0:D.sourceId;if(O==F||U==P||U==F)continue}}j[s]={addComponent:e,delComponent:i,extra:{modifyKey:p[E]}};continue}j[s]||(j[s]={updateComponent:{importComponent:e,baseComponent:i,props:[],nets:[]}});let B=j[s].updateComponent,V={type:k,key:E};a?B==null||B.props.push(V):B==null||B.nets.push(V)}if(a){for(let E in c)if(!(this.isFixedAttr(E)||this.isSpecialAttr(E))&&l&&!Object.hasOwnProperty.call(l,E)){let R=this.isImplicitlyUpdateDAttr(E)?r:o,v=R[s];v||(v=R[s]={});let k=v.updateComponent;k||(k=v.updateComponent={importComponent:e,baseComponent:i,props:[],nets:[]}),k.props.push({type:"delete",key:E})}}}isSpecialAttr(e){return this._specialKeys.includes(e)||["Symbol","Device","Convert to PCB","3D Model","3D Model Transform","3D Model Title","FootprintName","DeviceName","SymbolName","Footprint","CBB Title","CBB ID","Sim Model","Sim Model Title","Sim Model Path","NGSpice Model","NGSpice Model Title","NGspice Model Path"].includes(e)}isFixedAttr(e){return["Reuse Block"].includes(e)}isImplicitlyUpdateDAttr(e){return e=="IPC/DAC-2552"}};var sHe=class{constructor(e,i){this._specialKeys=[];this._isInterrupt=!1;this.oldItem=e,this.newItem=i}get isInterrupt(){return this._isInterrupt}compare(e,i){this._specialKeys=e||[],this._isInterrupt=!1;let o={},r={},a=C.currentProject.projectId,{same:s,more:l,less:c}=yH(Object.keys(this.oldItem),Object.keys(this.newItem));if(l.length>0){this._isInterrupt=!0;let d=['<span class="i18n">The component</span>'];l.forEach((u,p)=>{var y;let m=this.newItem[u];p>0&&d.push(", ");let h=(y=m.extra)==null?void 0:y.source,f=h==null?void 0:h.componentId,g=(h==null?void 0:h.pageId)||"",b=h==null?void 0:h.displayId;b&&d.push({text:`${m.props.Designator||m.props.FootprintName}(${b})`,attr:{id:Array.isArray(f)?f[0]:f,pcbid:lo(g,a)}})}),d.push('<span class="i18n">not found at the schematic.</span>'),t2({type:"warn",msg:d})}if(c.length>0){this._isInterrupt=!0;let d=['<span class="i18n">The component</span>'];c.forEach((u,p)=>{var y;let m=this.oldItem[u];p>0&&d.push(", ");let h=(y=m.extra)==null?void 0:y.source,f=h==null?void 0:h.componentId,g=(h==null?void 0:h.pageId)||"",b=h==null?void 0:h.displayId;b&&d.push({attr:{id:Array.isArray(f)?f[0]:f,sheet:g},text:`${m.props.Designator||f}(${b})`})}),i=="sch2pcb"?d.push('<span class="i18n">not found at the PCB.</span>'):d.push('<span class="i18n">not found at the NetList.</span>'),t2({type:"warn",msg:d})}return!this._isInterrupt&&s.forEach(d=>{let u=this.newItem[d],p=this.oldItem[d];!u||!p||this.autoCompareUpdate(u,p,o,r,"props")}),{compareResMap:o,compareResMapForImplicitlyUpdated:r}}autoCompareUpdate(e,i,o,r,n){let a=n=="props",s=e.uniqueId,l=a?e.props:e.nets,c=a?i.props:i.nets,u=Object.keys({Device:"Device",Symbol:"Symbol"}),p=a?l:c;for(let m in p){if(this.isSpecialAttr(m)&&!u.includes(m))continue;let h=c&&Object.hasOwnProperty.call(c,m),f=h?"update":"add",g=l[m]||"",b=c[m]||"";if(m==="FootprintName"&&(g=g.toLowerCase(),b=b.toLowerCase()),h&&(a?g==b:g.toUpperCase()==b.toUpperCase()))continue;let w=this.isImplicitlyUpdateDAttr(m)?r:o;if(u.includes(m)){w[s]={addComponent:e,delComponent:i,extra:{modifyKey:m}};continue}w[s]||(w[s]={updateComponent:{importComponent:e,baseComponent:i,props:[],nets:[]}});let x=w[s].updateComponent;if(!x){x={importComponent:e,baseComponent:i,props:[],nets:[]},w[s].updateComponent=x;continue}let S={type:f,key:m};a?x.props.push(S):x.nets.push(S)}if(a){for(let m in c)if(!this.isSpecialAttr(m)&&l&&!Object.hasOwnProperty.call(l,m)){let f=this.isImplicitlyUpdateDAttr(m)?r:o,g=f[s];g||(g=f[s]={});let b=g.updateComponent;b||(b=g.updateComponent={importComponent:e,baseComponent:i,props:[],nets:[]}),b.props.push({type:"delete",key:m})}}}isSpecialAttr(e){return this._specialKeys.includes(e)||["Device","Symbol","Convert to PCB","3D Model","3D Model Title","3D Model Transform","FootprintName","DeviceName","SymbolName","Channel ID","CBB Title","CBB ID","Reuse Block","Sim Model","Sim Model Title","Sim Model Path","NGSpice Model","NGSpice Model Title","NGspice Model Path"].includes(e)}isImplicitlyUpdateDAttr(e){return e=="IPC/DAC-2552"}};var lHe=class extends fhi{onXSignalsGroup(e,i,o,r,n){}onDelXSignalsGroup(e,i,o,r){}onXSignals(e,i,o,r,n){}onDelXSignals(e,i,o,r){}constructor(e,i,o,r,n){super(i,o,r,new Uoe(!1),n),this.padNumbers=e}init(e=!1,i=!1,o=!1,r=!1){return super.init(i,e,o,r)}onDocDetail(e,i,o,r){}canvasSelected(){return""}onSelectChange(e,i,o){}onSelectQuit(e,i){}onString(e,i,o,r,n,a){}onDelString(e,i,o,r){}onStringNum(e,i){}onAttr(e,i,o,r,n,a){}onDelAttr(e,i,o,r){}onAttrNum(e,i){}onPanelize(e,i,o,r){}onDelPanelize(e,i,o){}onRuleSelector(e,i,o,r){}onDelRuleSelector(e,i,o,r){}onRule(e,i,o,r){}onDelRule(e,i,o,r,n){}onRuleTemplate(e,i,o,r){}onDimension(e,i,o,r,n,a){}onDelDimension(e,i,o,r){}onDimensionNum(e,i){}onBoss(e,i,o,r,n,a){}onDelBoss(e,i,o,r){}onBossNum(e,i){}onShellEntity(e,i,o,r,n,a){}onDelShellEntity(e,i,o,r){}onShellEntityNum(e,i){}onShellCut(e,i,o,r,n,a){}onDelShellCut(e,i,o,r){}onShellCutNum(e,i){}onCrease(e,i,o,r,n,a){}onDelCrease(e,i,o,r){}onCreaseNum(e,i){}onShell(e,i,o,r,n,a){}onDelShell(e,i,o,r){}onShellNum(e,i){}onFpcFill(e,i,o,r,n,a){}onDelFpcFill(e,i,o,r){}onFpcFillNum(e,i){}onTeardrop(e,i,o,r,n,a){}onDelTeardrop(e,i,o,r){}onTeardropNum(e,i){}onImage(e,i,o,r,n,a){}onDelImage(e,i,o,r){}onImageNum(e,i){}onPoured(e,i,o,r,n,a){}onDelPoured(e,i,o,r){}onPouredNum(e,i){}onPour(e,i,o,r,n,a){}onDelPour(e,i,o,r){}onPourNum(e,i){}onRegion(e,i,o,r,n,a){}onDelRegion(e,i,o,r){}onRegionNum(e,i){}onFill(e,i,o,r,n,a){}onDelFill(e,i,o,r){}onFillNum(e,i){}onLayerFill(e,i,o,r,n){}onDelLayerFill(e,i,o,r){}onPoly(e,i,o,r,n,a){}onDelPoly(e,i,o,r){}onPolyNum(e,i){}onEQLenGrp(e,i,o,r,n){}onDelEQLenGrp(e,i,o,r){}onObj(e,i,o,r,n,a){}onDelObj(e,i,o,r){}onObjNum(e,i){}onArc(e,i,o,r,n,a){}onDelArc(e,i,o,r){}onArcNum(e,i){}onLine(e,i,o,r,n,a){}onDelLine(e,i,o,r){}onLineNum(e,i){}onPad(e,i,o,r,n,a){this.padNumbers.has(n.num)&&this.padNumbers.delete(n.num)}onDelPad(e,i,o,r){}onPadNum(e,i){}onVia(e,i,o,r,n,a){}onDelVia(e,i,o,r){}onViaNum(e,i){}onPreference(e,i,o,r){}onSilkOpts(e,i,o,r,n){}onDelSilkOpts(e,i,o,r){}onGroup(e,i,o,r,n){}onDelGroup(e,i,o,r){}onPrimitive(e,i,o,r,n){}onDelPrimitive(e,i,o,r){}onNet(e,i,o,r,n){}onDelNet(e,i,o,r){}onPartition(e,i,o,r,n,a){}onDelPartition(e,i,o,r){}onPartitionNum(e,i){}onBlob(e,i,o,r,n){}onDelBlob(e,i,o,r){}onFont(e,i,o,r){}onDelFont(e,i,o,r){}onActiveLayer(e,i,o,r){}onLayerPhys(e,i,o,r,n){}onDelLayerPhys(e,i,o,r){}onLayer(e,i,o,r,n){}onDelLayer(e,i,o,r){}onCanvas(e,i,o,r){}onBoard(e,i,o,r){}onDelBoard(e,i,o){}};async function Pki(t,e){let i=t.queriedAndUnMatchIds;i.length=0;let o=new Set,r=new Set,n=[],a=[],s={},l={};if(await t.iteratorAsync(async(u,p)=>{var T,M;p.extra||(p.extra={});let m=p.extra;m.bindingLibs||(m.bindingLibs={});let h=m.bindingLibs,f=!!((T=h==null?void 0:h.device)!=null&&T.isProLib),g=!!((M=h==null?void 0:h.footprint)!=null&&M.isProLib);if(f&&g)return;let{DeviceName:b="",FootprintName:y=""}=p.props,w=b.toLowerCase(),x=y.toLowerCase(),S=C.currentProject.projectId;if(S){if(!f&&b){let I=Xs(s,w),A=I?s[w]:(await C.messageBus.rpcCall($e.DEVICE.GET_BY_TITLE,[w,S])).message[0];if(A&&A.uuid){if(h.device={uuid:A.uuid,isProLib:!0,path:A.path||S,libDetail:A},f=!0,!A.footprint&&A.attributes.Footprint){let D=await Ze.getFootprint({uuid:A.attributes.Footprint,path:S,isProject:!0});D&&(A.footprint={display_title:D.display_title,title:D.title,uuid:D.uuid})}!y&&A.footprint&&(y=p.props.FootprintName=A.footprint.display_title||"",x=y.toLowerCase()),I||(s[w]=A)}}if(!g&&y){let I=l[x];if(I)h.footprint={uuid:I.uuid,isProLib:!0,path:I.path||S,libDetail:I},g=!0;else{let A=(await C.messageBus.rpcCall($e.FOOTPRINT.GET_BY_TITLE,[x,S])).message;if(A&&A.length>0){let D=!1;for(let E=0;E<A.length;E++){let N=A[E];if(!N.uuid)continue;if((await Nki(N.uuid,N.path,N.path==C.currentProject.projectId,p.nets)).size==0){h.footprint={uuid:N.uuid,isProLib:!0,path:N.path||S,libDetail:N},g=!0,l[x]=N,D=!0;break}}D||i.push(u)}}}}f&&g||e.length!==0&&(!f&&b&&(o.add(w),n.push(u)),!g&&y&&(r.add(x),a.push(u)))}),e.length==0)return;let c={},d={};o.size>0&&(c=await kki(o,e,ve.DEVICE,c)),c&&Object.keys(c).length>0&&n.forEach(u=>{var b;let p=t.query(u);if(!p)return;p.extra.bindingLibs||(p.extra.bindingLibs={});let m=p.extra.bindingLibs,f=p.props.DeviceName.toLowerCase(),g=c[f];g&&g.length>0&&g[0].uuid&&(m.device={uuid:g[0].uuid,path:g[0].path||((b=g[0].owner)==null?void 0:b.uuid)||"",isProLib:!1,libDetail:g[0]},!p.props.FootprintName&&g[0].footprint&&(p.props.FootprintName=g[0].footprint.display_title||"",p.props.FootprintName&&(r.add(p.props.FootprintName.toLowerCase()),a.push(u))))}),r.size>0&&(d=await kki(r,e,ve.FOOTPRINT,d)),d&&Object.keys(d).length>0&&await Ro(a,async(u,p)=>{var w,x;let m=t.query(p);if(!m)return;let h=m.nets;m.extra.bindingLibs||(m.extra.bindingLibs={});let f=m.extra.bindingLibs,b=m.props.FootprintName.toLowerCase(),y=l[b];if(y)f.footprint={uuid:y.uuid,path:y.path||((w=y.owner)==null?void 0:w.uuid)||"",isProLib:!1,libDetail:y};else{let S=d[b];if(S&&S.length>0){let T=!1;for(let M=0;M<S.length;M++){let I=S[M];if(!I.uuid)continue;if((await Nki(I.uuid,I.path,I.path==C.currentProject.projectId,h)).size==0){f.footprint={uuid:I.uuid,path:I.path||((x=I.owner)==null?void 0:x.uuid)||"",isProLib:!1,libDetail:I},l[b]=I,T=!0;break}}T||i.push(p)}}})}async function Nki(t,e,i,o){let r=Object.keys(o||{}),n=new Set(r);if(r.length==0)return n;let a=new lHe(n,t,e,i);return await a.init(),a.destroy(),n}async function kki(t,e,i,o){let r=new Set;t.forEach(s=>{r.add(s.toLowerCase())});let n=_ki();if(n.size>0){let s=null;for(let l of n)s=await Oki({titles:Array.from(r),docType:i,queryLibId:l},s),Object.assign(o,s)}if(o){let s=Object.keys(o);for(let l of s)r.delete(l)}let a=await VFe(Array.from(r),e,i);return a&&(o=Object.assign({},o,a)),o}async function Oki(t,e){var n,a;e=e||{};let{titles:i,docType:o,queryLibId:r}=t;if(!i||i.length==0)return e;try{let l=i.splice(0,100),c;if(o===ve.FOOTPRINT?c=await((n=C.extendLibStore.manager.getLib(r))==null?void 0:n.footprint.getTransformedList({page:1,pageSize:80,query:{listByTitles:l}})):c=await((a=C.extendLibStore.manager.getLib(r))==null?void 0:a.device.getTransformedList({page:1,pageSize:80,query:{listByTitles:l}})),c){let d=c==null?void 0:c.lists;d&&Array.isArray(d)&&d.forEach(u=>{let p=(u.display_title||u.title).toLowerCase();p&&(e[p]?e[p].push(u):e[p]=[u])})}i.length>0&&await Oki({titles:i,docType:o,queryLibId:r},e)}catch(s){console.error(s)}return e}async function Rki(t,e=C.currentProject.projectId){var c,d,u;if(!t)return;let i={},o={};for(let p in t){let m=t[p];l(m.addComponent),m.updateComponent&&l(m.updateComponent.importComponent)}let r="",n=[],a=new Map,s=_ki();for(let p in o){let m=o[p],h=m[0],f=i[h],{device:g,footprint:b}=((c=f.extra)==null?void 0:c.bindingLibs)||{},y=b==null?void 0:b.uuid;if(!y)continue;let w=null,x="",S=null;if(b.isProLib)x=b.uuid,S=b.libDetail;else{let M=b.path;if(!M)continue;let I=await Ze.getFootprint({uuid:y,path:M,isProject:!1});if(!I)continue;let A=f.props["Reuse Block"],D=I?typeof I.owner=="string"?I.owner:((d=I.owner)==null?void 0:d.uuid)||"":"";if(A&&s.has(D)){let N=A.toLowerCase();n.includes(N)||n.push(N);let R=a.get(N);R||(R=new Set,a.set(N,R)),R.add(A)}if(!r){let N=(await C.messageBus.rpcCall("userInfo",b.libDetail)).message;r=(N==null?void 0:N.uuid)||""}let E=await Ze.createDevice({path:e,isProject:!0,device:{data:{title:I.display_title||I.title,description:I.description,attributes:{Symbol:"",Footprint:""},images:[],tags:[]}},footprint:{uuid:I.uuid,path:((u=I.owner)==null?void 0:u.uuid)||r,isProject:!1}});if(E&&E.uuid){let N=await Ze.getFootprint({uuid:E.attributes.Footprint,path:e,isProject:!0});N&&(x=N.uuid,S=N),w=E}}if(x)b.uuid=x,b.isProLib=!0,b.libDetail=S;else continue;if(!w){if(!g||!g.uuid)w=await Ze.createDevice({path:e,isProject:!0,device:{data:{title:b.libDetail.display_title||b.libDetail.title,description:b.libDetail.description,attributes:{Symbol:"",Footprint:""},images:[],tags:[]}},footprint:{uuid:b.libDetail.uuid,path:e,isProject:!0}});else if(!g.isProLib){let M=e,I=g.libDetail;w=await Ze.createDevice({path:M,isProject:M===C.currentProject.projectId,device:{data:{title:I.display_title||I.title,tags:I.tags,description:I.description,attributes:{Footprint:x,Symbol:""},images:[]}}})}}let T=!1;w&&typeof w=="object"&&w.uuid&&(f.extra.bindingLibs.device={uuid:w.uuid,isProLib:!0,path:w.path||e,libDetail:w},T=!0),m.forEach(M=>{var D;if(h==M)return;let I=i[M],{footprint:A}=((D=I.extra)==null?void 0:D.bindingLibs)||{};if(x&&(A.uuid=x,A.isProLib=!0,A.libDetail=S),T){let E=w;I.extra.bindingLibs.device={uuid:E.uuid,isProLib:!0,path:E.path||e,libDetail:E}}})}try{Ro(n,async(p,m)=>{var f,g;if(!(await C.messageBus.rpcCall($e.PCB.GET_BY_TITLE,[m])).message){let b=a.get(m);for(let y of s){let w=await((f=C.extendLibStore.manager.getLib(y))==null?void 0:f.cbb.getTransformedList({page:1,pageSize:b.size*5,query:{listByTitles:Array.from(b)}}));!w||((g=w.lists)==null?void 0:g.length)==0||w==null||w.lists.some(async x=>{let S=x.display_title||x.title;return S&&b.has(S)&&(await C.messageBus.rpcCall("cbbImport",{data:x,forceImport:!1}),b.delete(S)),b.size==0})}}})}catch(p){console.error(p)}function l(p){var b,y;if(!p||i[p.uniqueId])return;let m=(b=p.extra)==null?void 0:b.bindingLibs,h=m==null?void 0:m.footprint;if(!m.footprint||h.isProLib&&((y=m.device)!=null&&y.isProLib))return;let f=p.uniqueId,g=h.uuid;i[f]=p,o[g]?o[g].push(f):o[g]=[f]}}function _ki(){let t=C.extendLibStore.manager.getLibs(),e=new Set;if(t&&t.length>0)for(let i of t)e.add(i.id);return e}var Cq=ko(),xTr="-time-diff",jki=Cq&&TTr();function TTr(){let t=self.PRO_LOG_LEVEL;return t=="trace"||t=="debug"}function STr(t){return t+xTr}function MTr(t,e){let i=STr(t);Array.isArray(Cq[i])?Cq[i].push(e):Cq[i]=[e]}function ITr(t,e=3){return+t.toFixed(e)}function WA(t,e=!1){if(!jki)return;let i=new Date().getTime();e&&Cq[t]||(Cq[t]=i)}function KP(t,e=0){if(!jki)return;let i=new Date().getTime(),o=Cq[t];if(isNaN(o))return!1;let r=ITr((i-o)/1e3);return r>=e&&z9(t,void 0,`${r}s`),MTr(t,r),delete Cq[t],!0}function i2(t,e="."){return t.join(e)}function nLt(t,e="."){return t.split(e)}function CH(t,e,i="."){let o=nLt(e,i),r={levelKeys:o,queryState:!1,levelValue:null};if(!t||typeof t!="object")return r;let n=o.length,a=!1,s=0,l=t;for(;!a&&s<n;){let c=o[s];l&&typeof l=="object"&&Object.hasOwn(l,c)?(l=l[c],s++):a=!0}return a||(r.queryState=!0,r.levelValue=l),r}function aLt(t,e,i,o=!0){t||(t={});let r=e.length,n=t;return{createState:!e.some((s,l,c)=>{if(!n&&typeof n!="object")return!0;if(l==r-1){let u=Object.hasOwn(n,s);if(!u||u&&o){if(Array.isArray(n)){let p=parseInt(s);isNaN(p)?n[s]=i:n[p]=i}else n[s]=i;return!0}return!1}if(Object.hasOwn(n,s))n=n[s];else{let u=c[l+1];n=n[s]=isNaN(parseInt(u))?{}:[]}return!1}),obj:t}}function pne(t,e,i){let o={};t||(t={}),e||(e={});let r=Object.keys(t),n=Object.keys(e),a=yH(r,n);return a.more.length>0&&(o.more=[],a.more.forEach(s=>{o.more.push(e[s])})),a.less.length>0&&(o.less=[],a.less.forEach(s=>{o.less.push(t[s])})),a.same.length>0&&(o.changed=[],a.same.forEach(s=>{let l=t[s],c=e[s],d=i(l,c,s);d&&d.length>0&&o.changed.push({oldItem:l,newItem:c,changedKeys:Array.isArray(d)?d:[]})})),o}function Bki(t){var e,i,o;return t?((e=t.less)==null?void 0:e.length)>0||((i=t.more)==null?void 0:i.length)>0||((o=t.changed)==null?void 0:o.length)>0:!1}function zki(t,e,i){if(!t||e==i)return t;let o={default:0};for(let r in t){let n=t[r];isNaN(n)||(o[r]=np.convert(n,e,i))}return o}function Fki(t,e,i){let o=[];if(!(t&&e)){if(!t&&!e)return o;if(t||e)return o.push("default","min","max"),o}return r(t.default,e.default,i)||o.push("default"),r(t.min,e.min,i)||o.push("min"),r(t.max,e.max,i)||o.push("max"),o;function r(n,a,s){let l=isNaN(n),c=isNaN(a);return l&&c?!0:l||c?!1:li.floatEqual(n,a,s)}}function LTr(t,e){t||(t={trackPhysics:{},netRule:{}}),e||(e={trackPhysics:{},netRule:{}});let i={trackPhysics:null,netRule:null};return i.trackPhysics=pne(t.trackPhysics,e.trackPhysics,vTr),i.netRule=Uki(t.netRule,e.netRule),i}function vTr(t,e){let i=[];if(!(t&&e))return i;t.name!=e.name&&i.push("name"),!t.isDefault!=!e.isDefault&&i.push("isDefault");let o=!1,r=t.unit,n=e.unit,a=ru(r),s=ru(n);r!=n&&(i.push("unit"),o=!0);let l=np.convert(.001,39.37,s),c="strokeValue",d=t.strokeValue,u=e.strokeValue,p="common",m=Object.keys(d),h=Object.keys(u),f=new Set(m.concat(h));return f.delete(p),f.forEach(g=>{let b=d[g]||d[p],y=u[g]||u[p];if(b&&y){o&&(b=zki(b,a,s));let w=Fki(b,y,l);w.length==0||w.forEach(x=>{i.push(i2([c,g].concat(x)))})}else b?i.push(i2([c,g])):y&&i.push(i2([c,g]))}),i}function Uki(t,e){return pne(t,e,(o,r)=>{var l,c,d;let n=pne(o.ruleMap,r.ruleMap,(u,p,m)=>hD(u)!=hD(p)?[m]:[]),a=[],s="ruleMap";return(l=n.more)==null||l.forEach(u=>{a.push(i2([s,u]))}),(c=n.less)==null||c.forEach(u=>{a.push(i2([s,u]))}),(d=n.changed)==null||d.forEach(u=>{u.changedKeys.forEach(p=>{a.push(i2([s,p]))})}),a})}function DTr(t,e){return pne(t,e,(i,o)=>{let r=[];if(!(i&&o))return r;i.name!=o.name&&r.push("name");let n=yH(i.nets,o.nets);(n.less.length>0||n.more.length>0)&&r.push("nets");let a=Uki(i.netRule,o.netRule);return Bki(a)&&r.push("netRule"),r})}function ETr(t,e){return pne(t,e,(i,o)=>{let r=[];if(!(i&&o))return r;i.name!=o.name&&r.push("name");let n=yH(i.nets,o.nets);return(n.less.length>0||n.more.length>0)&&r.push("nets"),hD(i.useRuleName)!=hD(o.useRuleName)&&r.push("useRuleName"),r})}function ATr(t,e){return pne(t,e,(i,o)=>{let r=[];return i&&o&&(i.name!=o.name&&r.push("name"),hD(i.negativeNet)!=hD(o.negativeNet)&&r.push("negativeNet"),hD(i.positiveNet)!=hD(o.positiveNet)&&r.push("positiveNet"),hD(i.useRuleName)!=hD(o.useRuleName)&&r.push("useRuleName")),r})}function cHe(t,e){t||(t=new w4),e||(e=new w4);let i=LTr(t.designRule,e.designRule),o=DTr(t.netClass,e.netClass),r=ETr(t.equalLengthNetGroup,e.equalLengthNetGroup),n=ATr(t.differentialPair,e.differentialPair);return{designRuleCompared:i,netClassCompared:o,equalLengthNetGroupCompared:r,differentialPairCompared:n}}function sLt(t,e){typeof t=="string"&&(t=parseFloat(t));let i=Math.pow(10,e);return Math.round(t*i)/i}var dHe=class extends qe{constructor(){super();this._notifyIndex=0;this._bindingLibs={project:[],user:[]};this.tableRows=[];this.sortObj="_classification";this.groupingKey="_action";this.sort=!0;this.filterStr="";this._radios=[{key:"_action",text:"Action"},{key:"_classification",text:"Object"}];this.init()}async init(i){let o=this.getUserPreference();this.netListComparedCache=null,this.tableRows=[],this.sort=!0,this.filterStr="",this.checkAll=null,this.checkSelect=null,this.similarSelect=null,this.reverseSelect=null,this.baseFileName="",this.filterData=[],this.selectData=[],this.importingDesignRules=o.importingDesignRules,await this.setParams(i)}getUserPreference(){let i=mt.getCacheObj(lLt);return Object.assign({},Gki,i)}async setUserPreference(i,o=!0,r=!1){let n=this.getUserPreference();return oEi(n,i)?(mt.setCacheObj(lLt,n),o&&await mt.saveToServer(r),!0):!1}updateToUserPreference(i=!0,o=!1){this.setUserPreference({importingDesignRules:this.importingDesignRules},i,o)}get headers(){return[{key:"_change",value:"Change"},{key:"_action",value:"Action"},{key:"_object",value:"Object"},{key:"_before",value:"Before import"},{key:"_after",value:"After import"}]}get radios(){return this._radios}getParams(){return this._params}async setParams(i){this._params=i,await this.resetBindLibs()}notify(){this.updateNotifyIndex(),super.notify()}get notifyIndex(){return this._notifyIndex}updateNotifyIndex(){this._notifyIndex++}getLibsSortLocalStorageKey(){let i=C.globalVariableCookieData.userInfo,o=i==null?void 0:i.uuid;return o?"importChangesLibsSort_"+o:""}clearBindingData(){let{importNetList:i}=this._params||{};i&&i.iterator((o,r)=>{var l,c,d;let n=(l=r==null?void 0:r.extra)==null?void 0:l.bindingLibs;if(!n)return;!!((c=n.device)!=null&&c.isProLib)||delete n.device,!!((d=n.footprint)!=null&&d.isProLib)||delete n.footprint})}async resetBindLibs(){var y;if(!this._params)return;let i=C.currentProject.projectId,o=C.currentProject.owner,r=i?[{uuid:i,text:"Project",fixed:!0,i18n:!0,checked:!0}]:[],n=[],a=[],s=C.workspace=="Personal"&&!_t&&(Uw||!(Sb||Af)),l=C.globalVariableCookieData.userInfo,c=l==null?void 0:l.uuid;if(s&&c){let w={uuid:l.uuid,text:{value:"{userName}(project owner)",options:{userName:l.nickname||l.username}},i18n:!0,checked:!0};c==o?(w.fixed=!0,n.push(w)):a.push(w)}if(Je){let w=await R2(!1);w==null||w.forEach(x=>{if(x.system)return;let S={uuid:x.uuid,text:x.nickname,checked:!0};a.push(S)})}else{let w=(y=C.teams)==null?void 0:y.filter(x=>x.uuid!==Xo.getValueFromCacheUser("uuid"));w==null||w.forEach(x=>{let S={uuid:x.uuid,text:x.nickname||x.username,checked:!0};S.uuid==o?(S.fixed=!0,S.text={value:"{userName}(project owner)",options:{userName:S.text}},S.i18n=!0,n.push(S)):a.push(S)})}let d=[];d.push({uuid:_e.SYSTEMLIB_UUID,text:"System",i18n:!0,checked:!0});let p=!Je?this.getThirdPartyLib():[],m=[],h=[].concat(a,d),f=this.getLibsSortLocalStorageKey(),g=f&&localStorage.getItem(f);if(g)try{m=JSON.parse(g)}catch{}if(Array.isArray(m)&&m.length>0){let w=m.map(x=>x.uuid);h.sort((x,S)=>{var I,A;let T=w.indexOf(x.uuid),M=w.indexOf(S.uuid);return T===-1?T=m.length:x.checked=!!((I=m[T])!=null&&I.checked),M===-1?M=m.length:S.checked=!!((A=m[M])!=null&&A.checked),T-M})}h.unshift(...n),h.unshift(...p),this._bindingLibs.project=r,this._bindingLibs.user=h;let b=[].concat(r,h);this.selectData=[];for(let w of b)this.selectData.push({id:w.uuid,text:w.text,i18n:w.i18n,disabled:w.fixed,checked:w.checked})}getThirdPartyLib(){let i=C.extendLibStore.manager.getLibs()||[],o=[];for(let r of i){let n={uuid:r.id,text:Rr(r.title),checked:!0,fixed:!0};o.push(n)}return o}changeSelectChecked(i){let o=[].concat(this._bindingLibs.project,this._bindingLibs.user);for(let r of o)i.includes(r.uuid)?r.checked=!0:r.checked=!1}saveLibInfo(){let i=this.getLibsSortLocalStorageKey();if(i){let o=JSON.stringify(this._bindingLibs.user);localStorage.setItem(i,o)}}changeSelect(i,o){this.changeSelectChecked(i),this.changeSelectSort(o)}changeSelectSort(i){let o={};this._bindingLibs.user.forEach(n=>{o[n.uuid]=n});let r=[];for(let n of i)o[n.id]!=null&&r.push(o[n.id]);return this._bindingLibs.user=r,r}checkNetList(){let i=this.getParams();if(!i)return!0;let o=i.importNetList,r=new Map,n=i.source==="pcb2sch";o.iterator((s,l)=>{let c=l.uniqueId,d=r.get(c);d||r.set(c,d=new Array),d.push(l)});let a=!0;return r.forEach((s,l)=>{if(s.length>=2){a=!1;let c="";if(n){c=me.i18n("Import netlist failed! The Unique ID {uniqueIDValue} of the component is duplicated:",{uniqueIDValue:l});let u=s.map(p=>p.props.Designator+"("+p.extra.source.componentId+")");c+=u.join(", ")}else c=me.i18n("Import netlist failed! There is a duplicated Unique ID in the netlist: {uniqueIDValue}.",{uniqueIDValue:l});Ot("fatalError",c,"Log",!1)}}),!!a}async checkTableData(i,o){return await this.updateTableRows(i,o),this.tableRows}async refreshTableData(i=!0){if(!this.checkNetList())return co.handleClick("log"),this.tableRows.length=0;this.filterStr="";let o=this,{importNetList:r,baseNetList:n,source:a,ignoreCommonData:s,specialKeys:l,env:c}=this._params||{},{schematicName:d,pcbName:u,boardName:p}=c||{};if(this.baseFileName=p||u||d,!r||!n)return;Ts();let m=[];(a=="file2pcb"||a=="file2sch")&&this._bindingLibs.user.forEach(E=>{E.checked&&m.push(E.uuid)}),this.clearBindingData(),await Pki(r,m);let{validMap:h,notQueryFootprintNames:f,queriedAndUnMatchFootprintNames:g,notQueryDeviceNames:b,queriedAndUnMatchDeviceNames:y,deviceUnBindFootprint:w,noMatchPadNums:x}=r.getValidMapForImportChanges();i&&G8i(f,g,b,y,w,x);let S=!1,T,M,I=n.getValidMapForImportChanges().validMap;if(a==="pcb2sch"||a==="file2sch"){let E=new sHe(I,h),N=E.compare(l,a);T=N.compareResMap,M=N.compareResMapForImplicitlyUpdated,S=E.isInterrupt,S&&this.showUnMatchErrorForPcb2Sch(d,a==="file2sch"?me.i18n("NetList"):`PCB ${u}`)}else{let E=new L1e(I,h),N=E.compare(l);T=await Pt(kt.Pcb.ModifyPartitionFlag,N.compareResMap),M=N.compareResMapForImplicitlyUpdated,S=E.isInterrupt}let A;if(s||(A=cHe(n,r)),S)return D();if(await this.updateTableRows(T,A),this.tableRows.length==0){let E="",N="";return a==="sch2pcb"?(E="No changes, the schematic already matches the PCB!",N=E):a==="pcb2sch"?(E="No changes, the PCB already matches the schematic!",N=E):a==="file2pcb"?(E=Object.keys(h).length>0?"No changes, the PCB already matches the netlist!":"",N=E):(E=Object.keys(h).length>0?"No changes, the schematic already matches the netlist!":"",N=E),E&&De({type:"info",msg:E,bottomBarMsg:{type:"info",msg:`<span class="i18n">${N}</span>`}}),D()}return M&&Object.keys(M).length>0&&await this.applyReal(M,this.getParams()),D();function D(){o.notify(),Zr()}}showUnMatchErrorForPcb2Sch(i,o){De({type:"warn",msg:{value:"The difference between the schematic {sch} diagram and the {pcb} requires manual modification.",options:{sch:i,pcb:o}},bottomBarMsg:"log"})}getBackColor(i){return i%2==1?"var(--common-bg-color-1)":null}async updateTableRows(i,o){if(this.tableRows=[],this.netListComparedCache={compareResMap:i,netListCommonComparedRes:o},!i)return;let r=[];for(let g in i){let b=await this.createComponentTreeItem(i[g],g);b&&r.push(b)}let n=o==null?void 0:o.designRuleCompared,a=n==null?void 0:n.trackPhysics,s=this.createTrackPhysicsTreeRows(a)||[],l=n==null?void 0:n.netRule,c=this.createNetRuleTreeRows(l)||[],d=o==null?void 0:o.netClassCompared,u=this.createNetClassTreeRows(d)||[],p=o==null?void 0:o.equalLengthNetGroupCompared,m=this.createEqualLengthNetGroupTreeRows(p)||[],h=o==null?void 0:o.differentialPairCompared,f=this.createDifferentialPairTreeRows(h)||[];r.concat(s,c,u,m,f).forEach((g,b)=>{let y=b.toString(),w=[];g.isParent&&this.tableRows.push({id:y,expandIcon:g.state,checked:g.checked,bgColor:this.getBackColor(b),disabled:!1,isCommonRowData:g.children[0]?!!g.children[0].commonRowData||g.children[0].isCommonRowData:!1,_change:g.text}),g.children.forEach((x,S)=>{let T=S.toString(),M=`${y}_${T}`,I=ue.deepClone(x);this.tableRows.push(I),I.id=M,I.bgColor=this.getBackColor(Number(y)),g.isParent&&(I.parentId=y),w.push(I.id)})}),this.sortObjByTableRow()}setCheckAll(){this.checkAll=!0,this.notify()}setUnChenckAll(){this.checkAll=!1,this.notify()}setCheckSelect(i){this.checkSelect=i,this.notify()}setCheckSimilarSelect(i){this.similarSelect=i,this.notify()}setReverseSelect(){this.reverseSelect=!0,this.notify()}sortObjByTableRow(){let i=[];this.tableRows.forEach(u=>{u.parentId!=null&&i.push(u)});let o=this.groupingKey=="_change"?this.sort?1:-1:1;switch(this.sortObj){case"_action":i=i.sort((u,p)=>{let m=this.sortByType(u,p,o);return m!=0?m:W2(me.i18n(u._action),me.i18n(p._action))*o});break;case"_classification":i=i.sort((u,p)=>{let m=this.sortByType(u,p,o);return m!=0?m:ue.naturalStrSort(u._classification,p._classification,!(o>0))});break}this.tableRows=[];let r=null,n=0,a=[],s,l="tree-checkbox1",c=-1,d=null;i.forEach(u=>{u[this.sortObj]!=r&&(s&&(s.checked=l),c++,l="tree-checkbox1",s=u,r=u[this.sortObj],n=0,d=c.toString(),a=[],this.tableRows.push({id:d,expandIcon:"tree-expanded",checked:u.checked,bgColor:this.getBackColor(c),disabled:!1,_change:u[this.sortObj]})),u.checked=="tree-checkbox0"&&(l="tree-checkbox0");let p=n.toString(),m=`${d}_${p}`,h=ue.deepClone(u);this.tableRows.push(h),h.id=m,h.parentId=d,h.bgColor=this.getBackColor(c),a.push(h.id),n++}),s&&(s.checked=l),this.sortByKey(this.groupingKey,this.sort)}sortByKey(i,o){let r=this.tableRows;this.groupingKey=i,this.sort=o,this.tableRows=[];let n=[],a;r.forEach(d=>{d.parentId==null?(a=[d],n.push(a)):a.push(d)});let s=this.sort?1:-1;this.sortObj=="_action"&&i=="_action"?n=n.sort((d,u)=>{let p=this.sortByType(d[d.length-1],u[u.length-1]);return p!=0?p:W2(me.i18n(d[0]._change),me.i18n(u[0]._change))*s}):this.sortObj=="_classification"&&i=="_object"?n=n.sort((d,u)=>{let p=this.sortByType(d[d.length-1],u[u.length-1]);return p!=0?p:ue.naturalStrSort(d[0]._change,u[0]._change,!(s>0))}):i=="_change"&&(n=n.sort((d,u)=>{let p=this.sortByType(d[d.length-1],u[u.length-1]);if(p!=0)return p;let m=d[0].checked=="tree-checkbox1"?0:1,h=u[0].checked=="tree-checkbox1"?0:1;return(m-h)*s})),r=n.flat();let l=null,c;r.forEach(d=>{d.parentId==null?(l&&c.length>0&&(this.sortObj=="_action"?c=this.sortArrInAction(c):c=this.sortArrInComp(c),c.length-1>=0&&(c[c.length-1].expandIcon="tree-join-bottom"),this.tableRows.push(l),this.tableRows.push(...c)),l=d,c=[]):(d.expandIcon="tree-join",c.push(d))}),l&&c.length>0&&(this.sortObj=="_action"?c=this.sortArrInAction(c):c=this.sortArrInComp(c),c.length-1>=0&&(c[c.length-1].expandIcon="tree-join-bottom"),this.tableRows.push(l),this.tableRows.push(...c))}sortByType(i,o,r=1){if(!i||!o)return 0;let n=!!i.componentRowData,a=!!o.componentRowData;return n!=a?(n?-1:1)*r:0}sortArrInAction(i){let o=this.groupingKey,r=this.sort,n=1,a=1,s=1;switch(o){case"_object":n=r?1:-1;case"_action":i=i.sort((l,c)=>{let d=ue.naturalStrSort(l._object,c._object,!(n>0));return d==0&&(d=W2(l._before,c._before)*a,d==0&&(d=W2(l._after,c._after)*s)),d});break;case"_before":{a=r?1:-1,i=i.sort((l,c)=>{let d=W2(l._before,c._before)*a;return d==0&&(d=ue.naturalStrSort(l._object,c._object,!(n>0)),d==0&&(d=W2(l._after,c._after)*s)),d});break}case"_after":s=r?1:-1,i=i.sort((l,c)=>{let d=W2(l._after,c._after)*s;return d==0&&(d=ue.naturalStrSort(l._object,c._object,!(n>0)),d==0&&(d=W2(l._before,c._before)*a)),d});break}return i}sortArrInComp(i){let o=this.groupingKey,r=this.sort,n=1,a=1,s=1,l=1;switch(o){case"_action":n=r?1:-1,i=i.sort((c,d)=>{let u=W2(me.i18n(c[o]),me.i18n(d[o]))*n;return u==0&&(u=ue.naturalCompare(c._object,d._object,a),u==0&&(u=W2(c._before,d._before)*s,u==0&&(u=W2(c._after,d._after)*l))),u});break;case"_object":{a=r?1:-1,i=i.sort((c,d)=>{let u=ue.naturalCompare(c[o],d[o],a);return u==0&&(u=W2(me.i18n(c._action),me.i18n(d._action))*n,u==0&&(u=W2(c._before,d._before)*s,u==0&&(u=W2(c._after,d._after)*l))),u});break}case"_before":{s=r?1:-1,i=i.sort((c,d)=>{let u=W2(c[o],d[o])*s;return u==0&&(u=W2(me.i18n(c._action),me.i18n(d._action))*n,u==0&&(u=ue.naturalCompare(c._object,d._object,a),u==0&&(u=W2(c._after,d._after)*l))),u});break}case"_after":l=r?1:-1,i=i.sort((c,d)=>{let u=W2(c[o],d[o])*l;return u==0&&(u=W2(me.i18n(c._action),me.i18n(d._action))*n,u==0&&(u=ue.naturalCompare(c._object,d._object,a),u==0&&(u=W2(c._before,d._before)*s))),u});break}return i}async createComponentTreeItem(i,o){var v,k,P,O;let{addComponent:r,delComponent:n,updateComponent:a,extra:s}=i,l=r==null?void 0:r.props,c=n==null?void 0:n.props;if(E()===0)return;let u="tree-expanded",p="tree-checkbox1",m=((k=(v=(r||n||(a==null?void 0:a.baseComponent)).extra)==null?void 0:v.source)==null?void 0:k.isPartition)||!1,h="";c?h=c.Designator:l?h=l.Designator:a&&(h=((P=a.baseComponent)==null?void 0:P.props.Designator)||((O=a.importComponent)==null?void 0:O.props.Designator));let f=h||"?",g={},b={},y,w,x,S,T,M={children:[],isParent:!0},I=s==null?void 0:s.modifyKey,A=!1;if(I&&r&&n){y="modify",A=!0;let _=I=="Device";w="Modify "+I,x=c.FootprintName||c.Designator||"?";let j=c[I],B=l[I],V=_?$e.DEVICE.GET:$e.FOOTPRINT.GET,G=g[j],Q=b[B];if(!G&&j){let{message:q}=await C.messageBus.rpcCall(V,[j,C.currentProject.projectId]);G=q&&q.display_title||c.FootprintName||j,g[j]=G}if(!Q&&B){let{message:q}=await C.messageBus.rpcCall(V,[B,C.currentProject.projectId]);Q=q&&q.display_title||l.FootprintName||B,b[B]=Q}let H=me.i18n(I);x=x+":"+H,S=G,T=Q,M.children.push(N(y,w,x,S,T,f,-1,m))}if(!A&&r&&(y="add",w="Add Component",S="-",x=l.Designator||"?",T=x,M.children.push(N(y,w,x,S,T,f,-1,m))),!A&&n&&(y="delete",w="Remove Component",T="",x=c.Designator||"?",S=x,M.children.push(N(y,w,x,S,T,f,-1,m))),!A&&a){let{importComponent:_,baseComponent:j}=a,B=_.props,V=_.nets,G=j.props,Q=j.nets,H=B.Designator||h||"?";y="update_net",w="Update Net",a.nets.forEach((U,F)=>{x=H+":"+U.key,S=Q[U.key]||"-",T=V[U.key]||"-";let K=U.isPartition==null?m:U.isPartition;M.children.push(N(y,w,x,S,T,f,F,K))});let q={add:"Add Property",update:"Update Property",delete:"Delete Property"};y="update_prop",a.props.forEach((U,F)=>{let{key:K,type:te}=U;w=q[te];let ae=me.i18n(K);x=H+":"+ae,S=G[K]||"",te==="delete"?T="-":T=B[K];let pe=p;if(K=="PCB Layer"){if(w="Flip to Opposite Side",pe="tree-checkbox0",S=R(S),T=R(T),S=="Default"||T=="Default")return;S=me.i18n(S),T=me.i18n(T)}M.children.push(N(y,w,x,S,T,f,F,m,pe))})}if(M.children.length===0)return null;return M.text=h,M.state=u,M.checked=p,M;function E(){let _=r&&n?1:0,j=r&&!n?1:0,B=n&&!r?1:0,V=(a==null?void 0:a.props.length)||0,G=(a==null?void 0:a.nets.length)||0;return _+j+B+V+G}function N(_,j,B,V,G,Q,H,q,U){return{checked:U||p,disabled:q,_classification:Q,_action:j,_object:B||"?",_before:V,_after:G,componentRowData:{componentUniqueId:o,componentChangType:_,componentPropKeyIndex:H}}}function R(_){return _?_=="TopLayer"?"Top Layer":_=="BottomLayer"?"Bottom Layer":"Default":"Default"}}createTrackPhysicsTreeRows(i){var I;if(!i)return null;let o="tree-checkbox0",r=(I=this._params)==null?void 0:I.source,n=r=="file2sch"||r=="pcb2sch",a=[],s={children:a,isParent:!0},{more:l,less:c,changed:d}=i,u="Design Rule",p=!1,m="",h="",f="",g="",b="",y="designRuleCompared.trackPhysics";m="Add Design Rule",f="",l==null||l.forEach((A,D)=>{if(!A)return;h=x(A.name),g=A.name,b=i2([y,"more",D.toString()]);let E="tree-checkbox1",N=this.createCommonDataTableRowData(u,m,h,f,g,b,E,p);N&&a.push(N)}),m="Delete Design Rule",g="",c==null||c.forEach((A,D)=>{if(!A)return;h=x(A.name),f=A.name,b=i2([y,"less",D.toString()]);let E=this.createCommonDataTableRowData(u,m,h,f,g,b,o,p);E&&a.push(E)}),m="Modify Design Rule";let w="common";return d==null||d.forEach((A,D)=>{if(!A)return;let{oldItem:E,newItem:N,changedKeys:R}=A;!E||!N||R.length==0||(h=x(E.name),b=i2([y,"changed",D.toString()]),R.forEach(v=>{if(f="",g="",v=="isDefault")f=S(E.isDefault),g=S(N.isDefault);else{if(v=="unit")return;if(v.indexOf("strokeValue")==0){let k=nLt(v),P=+k[1],O=k[2];if(!O||n&&P!=1)return;k[1]=w;let _=i2(k),j=CH(E,v),B=CH(N,v);if(j.queryState||(j=CH(E,_)),B.queryState||(B=CH(N,_)),!j.queryState||!B.queryState)return;let V=sLt(j.levelValue,3)+E.unit,G=sLt(B.levelValue,3)+N.unit;f=M(E.name,P,O,V),g=M(N.name,P,O,G)}}if(f&&g){let k=this.createCommonDataTableRowData(u,m,h,f,g,b,o,p,v);k&&a.push(k)}}))}),a.length>0?s:null;function x(A){return me.i18n("TrackPhysics:{ruleName}",{ruleName:A})}function S(A){return A?"Default=Yes":"Default=No"}function T(A){let D=`Unit=${A}`;return me.i18n(D,{unitName:A})}function M(A,D,E,N){let R="TopLayer",v=0;D==1?R="TopLayer":D==2?R="BotLayer":D>=15&&(v=D-15+1);let k="";return n?k=`Stroke-${E}={val}`:v>0?k=`Stroke-Inner{layerOrder}-${E}={val}`:k=`Stroke-${R}-${E}={val}`,me.i18n(k,{ruleName:A,val:N,layerOrder:v})}}createNetRuleTreeRows(i){if(!i)return null;let o="tree-checkbox0",r=[],n={children:r,isParent:!0},{more:a,less:s,changed:l}=i,c="Net Rule",d=!1,u="",p="",m="",h="",f="",g="designRuleCompared.netRule";return u="Add Net Rule",m="",u="Delete Net Rule",h="",u="Modify Net Rule",l==null||l.forEach((y,w)=>{if(!y)return;let{oldItem:x,newItem:S,changedKeys:T}=y;if(!x||!S||T.length==0)return;p=x.net;let M=x.net,I=S.net;f=i2([g,"changed",w.toString()]),T.forEach(A=>{if(m="",h="",A.indexOf("ruleMap")==0){let D=CH(x,A),E=CH(S,A),N=D.levelValue,R=E.levelValue;m=b(M,N),h=b(I,R)}if(m&&h){let D=this.createCommonDataTableRowData(c,u,p,m,h,f,o,d,A);D&&r.push(D)}})}),r.length>0?n:null;function b(y,w){let x=w?"TrackPhysics={ruleName}":"TrackPhysics=default";return me.i18n(x,{net:y,ruleName:w})}}createNetClassTreeRows(i){if(!i)return null;let o="tree-checkbox0",r=[],n={children:r,isParent:!0},{more:a,less:s,changed:l}=i,c="Net Class",d=!1,u="",p="",m="",h="",f="",g="netClassCompared";return u="Add Net Class",m="",a==null||a.forEach((y,w)=>{if(!y)return;p=y.name,h=y.name,f=i2([g,"more",w.toString()]);let x="tree-checkbox1",S=this.createCommonDataTableRowData(c,u,p,m,h,f,x,d);S&&r.push(S)}),u="Delete Net Class",h="",s==null||s.forEach((y,w)=>{if(!y)return;p=y.name,m=y.name,f=i2([g,"less",w.toString()]);let x=this.createCommonDataTableRowData(c,u,p,m,h,f,o,d);x&&r.push(x)}),u="Modify Net Class",l==null||l.forEach((y,w)=>{if(!y)return;let{oldItem:x,newItem:S,changedKeys:T}=y;if(!x||!S||T.length==0)return;p=x.name;let M=x.name,I=S.name;f=i2([g,"changed",w.toString()]),T.forEach(A=>{if(m="",h="",A=="nets"){let D=x.nets.join(","),E=S.nets.join(",");m=b(M,D),h=b(I,E)}if(m&&h){let D=this.createCommonDataTableRowData(c,u,p,m,h,f,o,d,A);D&&r.push(D)}})}),r.length>0?n:null;function b(y,w){return me.i18n("Nets={netListStr}",{className:y,netListStr:w})}}createEqualLengthNetGroupTreeRows(i){if(!i)return null;let o="tree-checkbox0",r=[],n={children:r,isParent:!0},{more:a,less:s,changed:l}=i,c="Equal Length Group",d=!1,u="",p="",m="",h="",f="",g="equalLengthNetGroupCompared";return u="Add Equal Length Group",m="",a==null||a.forEach((y,w)=>{if(!y)return;p=y.name,h=y.name,f=i2([g,"more",w.toString()]);let x="tree-checkbox1",S=this.createCommonDataTableRowData(c,u,p,m,h,f,x,d);S&&r.push(S)}),u="Delete Equal Length Group",h="",s==null||s.forEach((y,w)=>{if(!y)return;p=y.name,m=y.name,f=i2([g,"less",w.toString()]);let x=this.createCommonDataTableRowData(c,u,p,m,h,f,o,d);x&&r.push(x)}),u="Modify Equal Length Group",l==null||l.forEach((y,w)=>{if(!y)return;let{oldItem:x,newItem:S,changedKeys:T}=y;if(!x||!S||T.length==0)return;p=x.name;let M=x.name,I=S.name;f=i2([g,"changed",w.toString()]),T.forEach(A=>{if(m="",h="",A=="nets"){let D=x.nets.join(","),E=S.nets.join(",");m=b(M,D),h=b(I,E)}if(m&&h){let D=this.createCommonDataTableRowData(c,u,p,m,h,f,o,d,A);D&&r.push(D)}})}),r.length>0?n:null;function b(y,w){return me.i18n("Nets={netListStr}",{className:y,netListStr:w})}}createDifferentialPairTreeRows(i){if(!i)return null;let o="tree-checkbox0",r=[],n={children:r,isParent:!0},{more:a,less:s,changed:l}=i,c="Differential Pair",d=!1,u="",p="",m="",h="",f="",g="differentialPairCompared";return u="Add Differential Pair",m="",a==null||a.forEach((y,w)=>{if(!y)return;p=y.name,h=y.name,f=i2([g,"more",w.toString()]);let x="tree-checkbox1",S=this.createCommonDataTableRowData(c,u,p,m,h,f,x,d);S&&r.push(S)}),u="Delete Differential Pair",h="",s==null||s.forEach((y,w)=>{if(!y)return;p=y.name,m=y.name,f=i2([g,"less",w.toString()]);let x=this.createCommonDataTableRowData(c,u,p,m,h,f,o,d);x&&r.push(x)}),u="Modify Differential Pair",l==null||l.forEach((y,w)=>{if(!y)return;let{oldItem:x,newItem:S,changedKeys:T}=y;if(!x||!S||T.length==0)return;p=x.name,f=i2([g,"changed",w.toString()]),m=b(x),h=b(S);let M=this.createCommonDataTableRowData(c,u,p,m,h,f,o,d);M&&r.push(M)}),r.length>0?n:null;function b(y){return me.i18n("positiveNet={positiveNet}",y)+","+me.i18n("negativeNet={negativeNet}",y)}}createCommonDataTableRowData(i,o,r,n,a,s,l,c,d){return l||(l="tree-checkbox0"),{checked:this.importingDesignRules?l:"tree-checkbox0",defaultChecked:l,disabled:!!c,_classification:i,_action:hD(o),_object:r||"?",_before:n||"-",_after:a||"-",isCommonRowData:!0,commonRowData:{levelKey:s,changeKey:d}}}getCheckedData(){return this.tableRows.filter(i=>i.checked!=="tree-checkbox0"&&i.disabled==!1)}async apply(){var b,y;WA("importChangesApply-time");let o=this.netListComparedCache,{compareResMap:r,netListCommonComparedRes:n}=o||{},a=this;Ts();let s=this.getCheckedData(),l={},c={};s.forEach(w=>{let x=w.componentRowData,S=w.commonRowData;if(x){let T=x.componentUniqueId;if(!(T&&r[T]))return;l[T]||(l[T]={});let I=l[T],{componentChangType:A,componentPropKeyIndex:D}=w.componentRowData;A=="update_prop"||A=="update_net"?En(I,A).push(D):I[A]=!0;return}if(S){let{levelKey:T,changeKey:M}=S,{queryState:I,levelKeys:A,levelValue:D}=CH(n,T);if(I)if(M){let E=CH(c,T);E.levelValue&&Array.isArray(E.levelValue.changedKeys)?E.levelValue.changedKeys.push(M):(D.changedKeys=[M],aLt(c,A,D,!1))}else aLt(c,A,D,!1);return}});let d={};for(let w in l){let x=l[w],S=r[w];if(x.modify)d[w]={addComponent:S.addComponent,delComponent:S.delComponent,extra:S.extra};else if(x.add)d[w]={addComponent:S.addComponent};else if(x.delete)d[w]={delComponent:S.delComponent};else if(x.update_net||x.update_prop){let{props:T,nets:M}=S.updateComponent,I=[],A=[];(b=x.update_net)==null||b.forEach(D=>{let E=M[D];E&&I.push(E)}),(y=x.update_prop)==null||y.forEach(D=>{let E=T[D];E&&A.push(E)}),(I.length>0||A.length>0)&&(d[w]={updateComponent:{importComponent:S.updateComponent.importComponent,baseComponent:S.updateComponent.baseComponent,props:A,nets:I}})}}let u=aHe(c),p=Object.keys(d).length,m=Object.keys(u).length;if(p+m==0)return g();await Rki(d);let h={};for(let w in d){let x=d[w],S=f(x.addComponent);S&&(x.updateComponent&&(S=f(x.updateComponent.importComponent),!S)||(h[w]=x))}if(Object.keys(h).length+m==0)return g();g(!1),this.applyReal(h,this.getParams(),u),d=null,h=null,u=null,c=null,o=null;function f(w){var M;if(!w||h[w.uniqueId])return!0;let x=(M=w.extra)==null?void 0:M.bindingLibs,{footprint:S,device:T}=x||{};return!!(S&&S.uuid&&S.isProLib&&T&&T.uuid&&T.isProLib)}function g(w=!0){let x=[];a._bindingLibs.user.forEach(T=>{x.push({uuid:T.uuid,checked:T.checked})});let S=a.getLibsSortLocalStorageKey();S&&localStorage.setItem(S,JSON.stringify(x)),a.tableRows=[],Zr(),w&&a.showFinishMsg(),a.updateToUserPreference.bind(a).call()}}showFinishMsg(){let i="importChangesApply-time";De({type:"info",msg:"Import finished"}),KP(i)}async applyReal(i,o,r){let{source:n,updateConnectNet:a}=o,s="",l=!1;n=="sch2pcb"||n=="file2pcb"?(s="pcb/editor/updateForNetList",l=!0):(n=="pcb2sch"||n=="file2sch")&&(s="sch/importChanges");let c=null;if(n==="sch2pcb"||n==="file2pcb"){let d=new Set;for(let u in i){let p=i[u],m=p.addComponent&&p.addComponent.props["Reuse Block"];m&&d.add(m)}c=await this.getPcbModules(Array.from(d))}if(s){let d={componentCompared:i,commonCompared:r,options:{source:n,updateConnectNet:a,customAttr:Yki(["Device"]),pcbModule:c},env:o.env};l?Pt(s,d):C.messageBus.rpcCall(s,d);return}}async getPcbModules(i){var n;let o={},r=C.currentProject.projectId;for(let a of i){let s=(await C.messageBus.rpcCall($e.PCB.GET_BY_TITLE,[a,C.currentProject.projectId])).message;if(s==null)continue;let l=s.uuid,c=s.path||r;o[a]={uuid:l,docType:ve.PCB,projectId:c,env:{tabId:l+Zc+c,windowTabId:(n=ko())==null?void 0:n._TAB_ID_}}}return o}},Hki=(0,Vki.createContext)(void 0);var Jki=L(oLt());var TI=L(Se());var uf=L(Se());var mne=L(Kki());var Tq=L(z()),_Tr=t=>{let{data:e,width:i,height:o,disabledPosition:r="front",checkedIds:n,onChecked:a,onDragged:s}=t;Ae(mne.default);let l=J(),c=be.bind(mne.default.locals),d=(0,uf.useContext)(_r),[u,p]=(0,uf.useState)(e),m=(0,uf.useRef)(u),h=(0,uf.useRef)(0),f=(0,uf.useRef)(0),g=(0,uf.useMemo)(()=>(m.current=u,++f.current),[u]),b=(0,uf.useMemo)(()=>(e&&(m.current=e),++h.current),[e]),y=(_,j)=>{let B=[],V=[],G=!0;return _.forEach(Q=>{Q.disabled&&G?B.push(Q):Q.disabled?V.push(Q):G=!1}),r==="front"?[...B,...V,...j]:r==="back"?[...j,...B,...V]:[...B,...j,...V]},w=(0,uf.useMemo)(()=>{let _=[],j=[],B=[],V=!0;return m.current.forEach(G=>{G.disabled&&V?j.push(G):G.disabled?B.push(G):(V=!1,_.push(G))}),r==="front"?[...j,...B,..._]:r==="back"?[..._,...j,...B]:[...j,..._,...B]},[g,b,r]),[x,S]=(0,uf.useState)(n||w.filter(_=>_.checked||_.disabled).map(_=>_.id)),T=(0,uf.useRef)(x),M=(0,uf.useRef)(0),I=(0,uf.useRef)(0),A=(0,uf.useRef)(null),D=(0,uf.useRef)({}),E=(0,uf.useRef)(!1),N=(0,uf.useMemo)(()=>(T.current=x,++I.current),[x]),R=(0,uf.useMemo)(()=>(n&&(T.current=n),++M.current),[n]),v=(0,uf.useMemo)(()=>T.current,[R,N]),k=(0,uf.useMemo)(()=>w.filter(_=>v.includes(_.id)).map(_=>_.i18n?l(_.text):_.text).join("\uFF0C"),[v,w,is.lang]),P=(0,uf.useMemo)(()=>w.map(_=>(_.checked=_.disabled||v.includes(_.id),_)),[w,v]),O=_=>{let j=y(P,_),B=j.filter(V=>V.checked).map(V=>V.id);s==null||s(B,j),S(B),p(j)};return(0,Tq.jsx)(ld,{selectedText:k,selectedValue:"",width:i,height:o,children:(0,Tq.jsx)("div",{ref:A,className:c("drag-select"),children:P.map(_=>(0,Tq.jsxs)("div",{className:c("drag-select-item",{disabled:_.disabled}),ref:j=>D.current[_.id]=j,children:[(0,Tq.jsx)("span",{className:c("icon-drag-point",{disabled:_.disabled}),onMouseDown:j=>{_.disabled||jTr(j,_.id,d.document,D,P,O,E)}}),(0,Tq.jsx)(qt,{disabled:_.disabled,checked:v.includes(_.id)||_.checked,onChange:j=>{if(_.disabled)return;_.checked=j;let B=P.filter(V=>V.checked).map(V=>V.id);a==null||a(B,_,P),S(B)}}),(0,Tq.jsx)("span",{className:c("drag-select-text"),onClick:()=>{if(_.disabled)return;_.checked=!_.checked;let j=P.filter(B=>B.checked).map(B=>B.id);a==null||a(j,_,P),S(j)},children:_.i18n?l(_.text):_.text})]},_.id))})})},jTr=(t,e,i,o,r,n,a)=>{a.current=!1;let s,l;i.addEventListener("mousemove",b),i.addEventListener("mouseup",y),i.body.classList.add("unselectable"),i.body.style.cursor="move";let c=i.querySelector(`.${mne.default.locals["drag-select-mask-container"]}`);c||(c=i.createElement("div"),c.classList.add(mne.default.locals["drag-select-mask-container"]),i.body.appendChild(c)),c.style.display="flex",o.current[e].classList.add(mne.default.locals.dragging);let d=o.current[e].getBoundingClientRect(),u=t.pageY;r=r.filter(w=>!(w!=null&&w.disabled));let p=r.filter(w=>w.id!==e).map(w=>w.id),m=o.current[e].getBoundingClientRect().height,h={};r.forEach((w,x)=>{w.id===e&&(l=x),h[w.id]=o.current[w.id].getBoundingClientRect().top});let f=l*m||0,g=(r.length-1-l)*m||0;function b(w){let x=w.pageY;if(!p.length||u===x)return!1;if(a.current||(p.forEach(S=>{o.current[S].style.transitionDuration="100ms",o.current[S].style.transform="translate3d(0px, 0px, 0px)"}),o.current[e].style.zIndex="1",a.current=!0),x-u>0){let S=x-u>g?g:x-u;s=S,o.current[e].style.transform=`translate3d(0px, ${S}px, 0px)`,x-u<d.height/2?p.forEach(M=>{o.current[M].style.transform="translate3d(0px, 0px, 0px)"}):p.forEach(M=>{let I=h[M],A=h[e],D=A<I&&A+m+S>I+m/2;o.current[M].style.transform=`translate3d(0px, ${D?-m:0}px, 0px)`})}else{let S=u-x>f?f:u-x;s=-S,o.current[e].style.transform=`translate3d(0px, ${-S}px, 0px)`,u-x<d.height/2?p.forEach(M=>{o.current[M].style.transform="translate3d(0px, 0px, 0px)"}):p.forEach(M=>{let I=h[M],D=h[e]>I&&h[e]-S<I+m/2;o.current[M].style.transform=`translate3d(0px, ${D?m:0}px, 0px)`})}}function y(){if(a.current){let w=[],x=!1,S=r.find(M=>M.id===e),T=Math.abs(s)>m/2;r.forEach((M,I)=>{let A=M.id,D=o.current[A].style.transform==="translate3d(0px, 0px, 0px)";!x&&T&&A!==e&&(s>0&&I>l&&D||s<0&&I<l&&!D)&&(w.push(S),x=!0),A!==e&&w.push(M),I===r.length-1&&!x&&w.push(S),o.current[A].style.transitionDuration="",o.current[A].style.transform=""}),o.current[e].style.zIndex="",T&&(n==null||n(w))}i.body.classList.remove("unselectable"),i.body.style.cursor="default",c.style.display="none",o.current[e].classList.remove(mne.default.locals.dragging),i.removeEventListener("mousemove",b),i.removeEventListener("mouseup",y)}},Zki=_Tr;var qc=L(z());function BTr(){let t=be.bind(Jki.default.locals),e=J(),i=kC;Ce(i);let o=i.getParams(),r=M(),n=i.tableRows,a=i.filterData,s="Also update track's net (Only applies to circumstance under which net name changes and no component/wire is added or removed)",l="Can only change the device and attributes",c="Priority library path",d="Contains Design Rules",u=(0,TI.useContext)(_r),[p,m]=(0,TI.useState)(!0),[h,f]=(0,TI.useState)(a),[g,b]=(0,TI.useState)(i.filterStr),[y,w]=(0,TI.useState)(i.sortObj),[x,S]=(0,TI.useState)([]);return(0,TI.useEffect)(()=>{T(g),i.updateNotifyIndex(),i.notify()},[n]),(0,TI.useEffect)(()=>{i.checkAll!=null&&(A(i.checkAll),i.checkAll=null)},[i.checkAll]),(0,TI.useEffect)(()=>{i.checkSelect!=null&&(D(i.checkSelect),i.checkSelect=null)},[i.checkSelect]),(0,TI.useEffect)(()=>{i.similarSelect!=null&&(E(i.similarSelect),i.similarSelect=null)},[i.similarSelect]),(0,TI.useEffect)(()=>{i.reverseSelect!=null&&(N(),i.reverseSelect=null)},[i.reverseSelect]),(0,qc.jsx)(Hki.Provider,{value:kC,children:(0,qc.jsxs)("div",{className:t("import-changes-panel"),children:[(0,qc.jsxs)("div",{className:t("import-options"),children:[(0,qc.jsxs)("div",{className:t("group-option"),children:[(0,qc.jsx)("span",{children:e("Group by")}),i.radios.map(q=>(0,qc.jsx)("div",{className:t("option-span"),children:(0,qc.jsx)(nn,{value:q.key,checked:q.key==y,onChange:U=>{U&&(i.sortObj=q.key,i.sortObjByTableRow(),T(g),w(q.key))},children:e(q.text)},q.key)},q.key))]}),(0,qc.jsxs)("div",{className:t("filter-option"),children:[(0,qc.jsxs)("div",{className:t("design-rules-option"),children:[(0,qc.jsx)(qt,{checked:i.importingDesignRules,dataTest:d,onChange:q=>{i.importingDesignRules!=q&&(i.importingDesignRules=q,T(g),i.notify())}}),(0,qc.jsx)("span",{className:t("notice-line"),"data-i18n-attr":"title",title:e(d),"data-test":d,children:e(d)})]}),(0,qc.jsxs)("span",{className:t("option-span"),children:[e("Filter"),":"]}),(0,qc.jsx)("div",{className:t("filter-input"),children:(0,qc.jsx)(i4,{hasClearButton:!0,onChange:q=>{T(q)},value:g,clickClearCb:()=>{T("")},style:{height:"24px"}})})]})]}),(0,qc.jsx)("div",{className:t("import-changes-table"),children:(0,qc.jsx)(xi,{index:"id",columns:r,rows:h,height:400,width:818,searchValue:g,onContextMenu:(q,U)=>{k(q,U)},onClick:q=>{S([...q.selectedRowNumbers])},selectedRowNumbers:x,openVirtualScroll:!0,virtualScrollAutoFirst:!1},i.notifyIndex)}),(0,qc.jsxs)("div",{className:t("import-changes-params"),children:[(o.source=="sch2pcb"||o.source=="file2pcb")&&(0,qc.jsxs)("div",{children:[(0,qc.jsx)(qt,{checked:o.updateConnectNet,dataTest:s,onChange:q=>{o.updateConnectNet!==q&&(o.updateConnectNet=q,i.notify())}}),(0,qc.jsx)("span",{className:t("notice-line"),"data-i18n-attr":"title",title:e(s),"data-test":s,children:e(s)})]}),o.source=="file2pcb"&&(0,qc.jsxs)("div",{children:[(0,qc.jsxs)("span",{children:[e(c),":"]}),(0,qc.jsx)("div",{style:{display:"inline-block",width:"400px"},children:(0,qc.jsx)(Zki,{data:i.selectData,height:"24px",onChecked:q=>{i.changeSelectChecked(q),i.saveLibInfo(),i.refreshTableData()},onDragged:(q,U)=>{i.changeSelect(q,U),i.saveLibInfo(),i.refreshTableData()},disabledPosition:"both"})})]}),o.source=="pcb2sch"&&(0,qc.jsx)("div",{children:(0,qc.jsx)("span",{title:e(l),"data-test":l,children:e(l)})})]})]})});function T(q){i.filterStr=q;let U=O(q,!0,!0);i.filterData=U,S([]),f(U),b(q),i.notify()}function M(){return[{key:"_change",width:.2,name:e("Change"),ellipsis:!0,i18n:!0,nameRender:()=>I("Change","_change",!0),render:v},{key:"_action",width:.2,name:e("Action"),ellipsis:!0,i18n:!0,nameRender:()=>I("Action","_action")},{key:"_object",width:.2,name:e("Object"),ellipsis:!0,i18n:!1,nameRender:()=>I("Object","_object")},{key:"_before",width:.2,name:e("Before import"),ellipsis:!0,i18n:!1,nameRender:()=>I("Before import","_before")},{key:"_after",width:.2,name:e("After import"),ellipsis:!0,i18n:!1,nameRender:()=>I("After import","_after")}]}function I(q,U,F=!1){let K=t("th-cell__sort--asc",{"th-cell__sort--asc-status":U==i.groupingKey&&i.sort===!0}),te=t("th-cell__sort--desc",{"th-cell__sort--desc-status":U==i.groupingKey&&i.sort===!1});return(0,qc.jsxs)("div",{className:t("th-cell"),children:[F&&(0,qc.jsx)(qt,{checked:p,style:{marginRight:"4px"},onChange:ae=>{A(ae)}}),(0,qc.jsx)("span",{"data-test":q}),e(q),(0,qc.jsxs)("span",{className:t("th-cell__sort"),onClick:()=>R(U),children:[(0,qc.jsx)("i",{className:K,title:e("Ascending Order")}),(0,qc.jsx)("i",{className:te,title:e("Descending Order")})]})]})}function A(q){i.filterData.forEach(U=>{U.checked=q?"tree-checkbox1":"tree-checkbox0"}),f([...h]),m(q)}function D(q){let U=[],F=[];for(let K of x)U.push(h[K]),F.push(h[K].id);U.forEach(K=>{Q(K.id,q,F)}),x.length>0&&(H(q),f([...h]))}function E(q){let U=[];for(let F of x){let K=h[F],te=!0;if(K.parentId==null&&(te=!1),U.push(K),te)for(let ae=F-1;ae>=0&&(U.push(h[ae]),h[ae].parentId!=null);ae--);for(let ae=F+1;ae<h.length&&h[ae].parentId!=null;ae++)U.push(h[ae])}U.forEach(F=>{Q(F.id,q)}),U.length>0&&(H(q),f([...h]))}function N(){let q=[];for(let U=0;U<h.length;U++)x.findIndex(F=>F===U)==-1&&q.push(U);S(q)}function R(q){let U=!i.sort;i.sortByKey(q,U),T(g)}function v(q){let U=q.row,F=J();return(0,qc.jsxs)("div",{style:{height:"25px"},children:[(0,qc.jsx)("span",{className:t(`tree-hit ${U.expandIcon}`),onClick:()=>{!U.expandIcon||U.expandIcon=="tree-join-bottom"||U.expandIcon=="tree-join"||B(U)}}),U.parentId!=null&&(0,qc.jsx)("span",{className:t("tree-hit2 tree-line")}),(0,qc.jsx)(qt,{onChange:()=>{G(U)},checked:U.checked=="tree-checkbox1",disabled:U.disabled}),(0,qc.jsx)("span",{className:t("tree-title"),children:F(U._change)})]})}function k(q,U){let F=[...x];setTimeout(()=>{S(F)},2),pl.open({menuConfig:$ki,position:{x:U.pageX-5,y:U.pageY-5},windowInstance:u})}function P(q){let U=[],F=!0;for(let K of q)K.parentId==null?(F=K.expandIcon=="tree-expanded",U.push(K)):F&&U.push(K);return U}function O(q,U=!1,F=!1){let K=i.tableRows,te=[],ae=_(q),pe=[],Z=!0,ee=!!i.importingDesignRules;for(let ne=K.length-1;ne>=0;ne--){let oe=K[ne];if(oe.isCommonRowData)if(ee)oe.checked=oe.defaultChecked||"tree-checkbox1";else{oe.checked="tree-checkbox0";continue}if(oe.parentId!=null)j(oe,ae)&&pe.unshift(oe);else if(F&&(oe.expandIcon="tree-expanded"),pe.length>0){pe[pe.length-1].expandIcon="tree-join-bottom",te.unshift(...pe);let re=pe.find(Y=>Y.checked=="tree-checkbox0");oe.checked=re?"tree-checkbox0":"tree-checkbox1",oe.checked=="tree-checkbox0"&&(Z=!1),te.unshift(oe),pe=[]}}let ce=-1;return te.forEach(ne=>{ne.parentId!=null||ce++,ne.bgColor=i.getBackColor(ce)}),Z&&te.length==0&&(Z=!1),U&&m(Z),te}function _(q){return q=q.trim(),!q||q.indexOf("^")>-1||q.indexOf("|")>-1?null:(q=q.replace(/\./g,"\\.").replace(/\(/g,"\\(").replace(/\)/g,"\\)").replace(/-/g,"\\-").replace(/\?/g,"\\?").replace(/\*/g,"\\*").replace(/\+/g,"\\+"),new RegExp(q,"im"))}function j(q,U){return!!(!U||U.test(e(q._action))||U.test(q._object)||U.test(q._before)||U.test(q._after))}function B(q){let U=q.id;if(q.expandIcon==null)return;let F=q.expandIcon=="tree-expanded",K=h.findIndex(ae=>ae.id==U)+1,te;if(F){let ae=0;for(let pe=K;pe<h.length&&h[pe].parentId!=null;pe++)ae++;te=h.slice(0,K).concat(h.slice(K+ae)),h[K-1].expandIcon="tree-collapsed"}else{let ae=V(U);h[K-1].expandIcon="tree-expanded",te=h.slice(0,K).concat(ae).concat(h.slice(K))}f(te)}function V(q){let U=0,F=i.tableRows,K=F.findIndex(ae=>ae.id==q)+1;for(let ae=K;ae<F.length&&F[ae].parentId!=null;ae++)U++;return F.slice(K,K+U)}function G(q){let U=q.id,F=Q(U);H(F),f([...h])}function Q(q,U,F){let K=-1,te,ae=h.find((ee,ce)=>ee.id==q?(K=ce,te=ee,!0):!1);if(te.parentId==null&&F&&ae.expandIcon!="tree-collapsed"){let ee=!1;for(let ce=K+1;ce<h.length;ce++){let ne=h[ce];if(ne.parentId!=null){if(F.includes(ne.id)){ee=!0;break}}else break}if(ee)return!1}let pe=Z(ae,U);if(te.parentId!=null){let ee=[ae],ce;for(let ne=K-1;ne>=0;ne--){let oe=h[ne];if(oe.parentId!=null)ee.unshift(oe);else{ce=oe;break}}for(let ne=K+1;ne<h.length;ne++){let oe=h[ne];if(oe.parentId!=null)ee.push(oe);else break}pe?ee.find(oe=>oe.checked=="tree-checkbox0")?ce.checked="tree-checkbox0":ce.checked="tree-checkbox1":ce.checked="tree-checkbox0"}else{let ee=[];if(ae.expandIcon=="tree-collapsed")ee=V(ae.id);else for(let ce=K+1;ce<h.length;ce++){let ne=h[ce];if(ne.parentId!=null)ee.push(ne);else break}ee.forEach(ce=>{ce.checked=pe?"tree-checkbox1":"tree-checkbox0"})}return pe;function Z(ee,ce){let ne=ce==null?ee.checked=="tree-checkbox1":!ce;return ee.checked=ne?"tree-checkbox0":"tree-checkbox1",!ne}}function H(q){let U=i.filterData;if(q){let F=U.find(K=>K.checked!=="tree-checkbox1");m(!F)}else m(!1)}}var qki=BTr;function Xki(t,e,i,o){let r=zTr(t,e,i);if(r=="")throw"Invalid data";let n=["Info_ImportChanges",o,ue.formatDate2(new Date,"yyyy-MM-dd")].join("_"),a=new Uint8Array(2*r.length+2);a[0]=255,a[1]=254;for(var s=0;s<r.length;s++){let l=r[s].charCodeAt(0);a[2+2*s+1]=(65280&l)>>8,a[2+2*s]=255&l}if(wi){let l=new Blob([a],{type:"text/csv"});cd(l,n+".csv","csv")}else{let l=new Blob([a]),c=document.createElement("a");c.href=URL.createObjectURL(l),c.style="visibility:hidden",c.download=n+".csv",document.body.appendChild(c),c.click(),document.body.removeChild(c)}}function zTr(t,e,i){let o="",r="";for(let n=0;n<t.length;n++)String(t[n])&&(r+=me.i18n(t[n].value)+"	");r=r.slice(0,-1),o+=r+`\r
`;for(let n=0;n<e.length;n++){r="";let a=e[n];for(let s=0;s<t.length;s++){let l=t[s].key;if(l=="_change"){if(a.parentId!=null){r+='"'+(a.checked!="tree-checkbox0"?"\u2713":"")+'"	';continue}else if(i=="_action"){r+='"'+(typeof a[l]<"u"?me.i18n(a[l]):"")+'"	';continue}}l=="_action"?r+='"'+(typeof a[l]<"u"?me.i18n(a[l]):"")+'"	':r+='"'+(typeof a[l]<"u"?a[l]:"")+'"	'}r.slice(0,r.length-1),o+=r+`\r
`}return o}var QA=L(z()),kC=new dHe,FTr=t=>{let e=be.bind(dLt.default.locals),i=J();Ae(dLt.default);let o=kC;return(0,QA.jsxs)("div",{className:e("pop-content-container"),children:[(0,QA.jsx)(qki,{}),(0,QA.jsxs)("div",{className:e("pop-footer-wrapper dialog-button"),children:[(0,QA.jsx)(Me,{type:"primary","data-test":"exportSetting",style:{marginRight:"8px"},onClick:()=>r("exportSetting"),children:"Export Report"}),(0,QA.jsx)(Me,{type:"primary",style:{marginRight:"8px",marginLeft:"auto"},onClick:()=>r("confirm"),children:"Apply Changes"}),(0,QA.jsx)(Me,{onClick:()=>r("cancel"),children:"Cancel"}),(0,QA.jsx)(Me,{title:"",style:{border:"none",width:"38px",minWidth:"38px",backgroundColor:"var(--bg-color-pop-up-content)"},onClick:()=>n(),children:(0,QA.jsx)("span",{className:e("l-btn-left"),children:(0,QA.jsx)("span",{className:e("l-btn-text"),children:(0,QA.jsx)("span",{className:e("l-btn-empty icon-eda-help3")})})})})]})]});async function r(a){if(a=="confirm"){let{noMessage:s,checkOutType:l}=await Ga.getTopTipsStatusPanel(gi());(s||l=="own")&&await o.apply()}else if(a=="exportSetting")return Xki(o.headers,o.tableRows,o.sortObj,o.baseFileName);le.close(t.containerId),o.init()}function n(){et("show_help_file(convert-to-pcb)")}},e9i=FTr;var $ki={menuId:"import-change-netlist-menu",defaultConfig:[{id:"checkAll",title:"Check All",callback:t=>{kC.setCheckAll()}},{id:"unCheckAll",title:"Uncheck All",callback:t=>{kC.setUnChenckAll()}},{id:"checkSelect",title:"Check Selected",callback:t=>{kC.setCheckSelect(!0)}},{id:"unCheckSelect",title:"Uncheck Selected",callback:t=>{kC.setCheckSelect(!1)}},{id:"checkSimilarSelect",title:"Check All In The Group",callback:t=>{kC.setCheckSimilarSelect(!0)}},{id:"unCheckSimilarSelect",title:"Uncheck All In The Group",callback:t=>{kC.setCheckSimilarSelect(!1)}},{id:"checkReverseSelect",title:"Reverse Selection",callback:t=>{kC.setReverseSelect()}}]},lLt="import-changes",Gki={importingDesignRules:!1};var i9i=L(z()),t9i=async function(t,e){let i=bt[t],{containerId:o,title:r,width:n,closed:a,mask:s,esc:l}=i;le.open({id:o,title:r,width:n,closed:a,mask:s,esc:l,children:(0,i9i.jsx)(e9i,{containerId:o})})};async function USe(t){let e="openImportChangesDlg-time";WA(e);let i=kC;await i.init(t),await i.refreshTableData(!0),(i.tableRows.length>0||t.source=="file2sch"||t.source=="file2pcb")&&await ii("import-netlist",t),KP(e)}var Sq=class{constructor(e){this._state=!1;this._map={"*PART*":"Designator","*SIGNAL*":"Net","ATTRIBUTE VALUES":"Attr"};this._source=e}decode(){var d;this._netList=new w4;let e=this._source;if(!e){this._state=!1;return}this._state=!0;let o=e.replace(/(,\r?\n)(\s+|&nbsp;+)/g,(u,p,m)=>p=m=" ").split(/\r?\n/),r="",n=0,a=o.length,s="",l="",c={};for(;n<a&&this._state;){let u=o[n];if(u.indexOf("*PART*")>-1){r=this._map["*PART*"],n++;continue}else if(!u.trim()||u.indexOf("*NET*")>-1||u.indexOf("*MISC*")>-1)r="",n++;else if(u.indexOf("*SIGNAL*")>-1){r=this._map["*SIGNAL*"],s=((d=u.split(" "))==null?void 0:d[1])||"",n++;continue}else if(u.indexOf("ATTRIBUTE VALUES")>-1){r=this._map["ATTRIBUTE VALUES"],n++;continue}else{switch(r){case"Designator":this.resolveDesignatorAndNameLine(u);break;case"Net":this.resolveNetLine(u,s);break;case"Attr":if(u.trim()==="{")break;if(u.indexOf("PART")>-1&&u.indexOf('"PART')<0){let p=u.trim().split(" ");p!=null&&p[1]&&(l=p[1])}else if(u.trim()==="}"&&l){let p=this._netList.query(l);if(!p){l="",c={};break}p.props={...p.props,...c},l="",c={}}else{let[p,m]=u.split('" '),h=this.attrKeyStr(p);h&&h!=="Device"&&h!=="Footprint"&&(c[h]=this.autoStr(m))}default:break}n++}}return this._state?this._netList:null}resolveDesignatorAndNameLine(e){let i=e.split(" ").filter(s=>s.trim()!==""),o=this.autoStr(i[0]),r=this.autoStr(i[1])?i[1].split("@"):[],n=r.length?this.autoStr(r[0]):"",a=r.length?this.autoStr(r[1]):"";n&&!a&&(a=n,n=""),this._netList.add({uniqueId:o,props:{DeviceName:n,FootprintName:a,Designator:o},nets:{}})}resolveNetLine(e,i){let o=this,r=e.trim().split(" ");if(!r.length){o._state=!1;return}r.forEach(n=>{let a=I1e(n),s=this.autoStr(a[0]),l=this.autoStr(a[1]);if(!s||!l){o._state=!1;return}let c=o._netList.query(s);En(this._netList.netMap,i).push(n),c&&(c.nets[l]=this.autoStr(i))})}autoStr(e){return e?e.trim():""}attrKeyStr(e){return e.trim().replace(/"/g,"")}};var Mq=class{constructor(e){this._state=!1;this._source=e}decode(){this._netList=new w4;let e=this._source;if(!e){this._state=!1;return}this._state=!0;let o=e.replace(/(,\r?\n)(\s+|&nbsp;+)/g,(u,p,m)=>p=m=" ").split(/\r?\n/),r="",n=0,a=o.length,s={DeviceName:"",FootprintName:""},l="",c="",d=!1;for(;n<a&&this._state;){let u=o[n];if(u==="["){r="attr",n++;continue}else if(u==="*"||u==="]")c&&this._netList.add({uniqueId:c,props:{...s},nets:{}}),c="",r="",s={DeviceName:"",FootprintName:""},n++;else if(u==="(")r="nets",d=!0,n++;else if(u===")")r="",n++;else switch(r){case"attr":let p=this.autoStr(u);if(p){let m=this.autoStr(o[n+1]);if(p==="DESIGNATOR")c=m,p="Designator";else if(p==="FOOTPRINT")p="FootprintName";else if(p==="Device")p="DeviceName";else if(p==="DESCRIPTION")p="Description";else if(p==="Component Kind"||p==="Standard"){n++;break}else if(p==="PARTTYPE"){n+=2;break}s[p]=m,n+=2}else n++;break;case"nets":d?(l=u,d=!1):this.resolveNetLine(u,l),n++;break;default:n++;break}}return this._state?this._netList:null}resolveNetLine(e,i){let o=this,r=e.trim().split(" ")[0];if(!r.length){o._state=!1;return}let n=/(.*)-([a-zA-Z0-9-+]+)/.exec(r),a=this.autoStr((n==null?void 0:n[1])||""),s=this.autoStr((n==null?void 0:n[2])||"");if(!n){o._state=!1;return}let l=o._netList.query(a);En(this._netList.netMap,i).push(`${a}.${s}`),l&&(l.nets[s]=this.autoStr(i))}autoStr(e){return e?e.trim():""}};var VSe=`\r
\r
`,uLt=`\r
`,v1e=" ",Iq="'",pLt="''";var D1e=class{constructor(){this.needRecordLineString=!1}decode(e){if(!e)return null;this.netList=new w4,e=e.trim(),this.initNewComponent();for(let i=0;i<e.length;i++){let o=e[i],r=e[i+1]||"";if(this.decodingState==0){if(o=="\r"||o==`
`)continue;this.initNewComponent(),i-=1}else if(this.lineStringRecording)if(o==Iq){if(i==e.length-1){this.needRecordLineString=!0;continue}r==Iq?(this.recodeChar(o),i++):r==v1e?(this.needRecordLineString=!0,this.recodeLineString(),i++):r=="\r"||r==`
`?(this.needRecordLineString=!0,this.recodeLineString()):this.recodeChar(o)}else this.recodeChar(o);else if(o==Iq)this.lineString?this.recodeChar(o):this.lineStringRecording=!0;else if(o==v1e)this.recodeLineString();else if(o=="\r"||o==`
`){let n=e.slice(i,i+4),a=o+r;n==VSe?this.recordComponent():a=="/r/n"||a=="/n/n"?this.recordComponent():this.recordLine()}else this.recodeChar(o)}return this.recordComponent(),this.netList}initNewComponent(){this.decodingState=1,this.component={ID:"",designator:"",deviceName:"",footprintName:"",props:{},pinInfoMap:{}},this.lines=[],this.lineString="",this.needRecordLineString=!1,this.lineStringRecording=!1}decodeString(e){return e||""}decodeStringMap(e){if(!e)return{};let i={};for(let o in e){let r=e[o];typeof r=="object"?i[this.decodeString(o)]=this.decodeStringMap(r):i[this.decodeString(o)]=this.decodeString(r)}return i}recodeChar(e){this.lineString+=e,this.needRecordLineString=!0}recodeLineString(){this.needRecordLineString&&(this.lines.push(this.lineString),this.lineString="",this.lineStringRecording=!1,this.needRecordLineString=!1)}recordLine(){this.recodeLineString();let e=this.lines;if(e.length==0)return;let i=this.component;if(this.decodingState==1)if(e.length>=4){i.ID=e[0],i.designator=e[1],i.deviceName=e[2],i.footprintName=e[3];let o=i.props;for(let r=4;r<e.length;r+=2){let n=e[r],a=e[r+1]||"";o[n]=a}}else console.warn("Error component lines",e),this.initNewComponent(),this.decodingState=0;else if(this.decodingState==2)if(e.length>=3){let o=i.pinInfoMap,r=e[0],n=e[1],a=e[2];o[n]={name:r,number:n,net:a};let s=!1,l={};for(let c=3;c<e.length;c+=2){let d=e[c],u=e[c+1]||"";l[d]=u,s=!0}s&&(o[n].props=l)}else console.warn("Error pin lines",e);this.decodingState=2,this.lines=[]}recordComponent(){this.recordLine(),this.decodingState=0;let e=this.component,i=this.netList;if(!e)return!1;let{designator:o,deviceName:r,footprintName:n,props:a,pinInfoMap:s}=e;if(!(o&&r&&n))return!1;let l={Designator:o,DeviceName:r,FootprintName:n},c=["Device","Footprint","Symbol"];for(let m in a)c.includes(m)||(l[this.decodeString(m)]=this.decodeString(a[m]));let d=this.decodeStringMap(s),u={};for(let m in d){let{number:h,net:f}=d[m];u[h]=f}let p={uniqueId:this.decodeString(o),props:l,nets:u,extra:{pinInfoMap:d}};return i.add(p)}};async function o9i(){if(!C.currentProject.projectId)return Ut({type:"info",message:"Please Open a project at first!"});let e=he.getActiveTab();if(!he.getTabDocType(e))return Ut({type:"info",message:"Please open a PCB document"});if(!await he.getTabIFrame(e))return Ut({type:"info",message:"The editor's environment is not prepared"});let r=[".tel, .enet",".asc",".net",".dnet"];new DC(r.join(","),function(n){let a=n[0];if(!a)return Ut({type:"warn",message:"Please open a file first."});xH(a,["GB2312","utf8"]).then(async({fileRes:s})=>{let l=HSe(s.name||s.title||"");await hne(l,s.content.toString())},function(s){Ut({type:"error",message:s})})})}async function hne(t,e){let i=null;switch(t){case"Allegro":i=new dB(e).decode();break;case"JLCEDA":case"EasyEDA":i=await new Y2(e).decode();break;case"PADS":i=new Sq(e).decode();break;case"Protel2":i=new Mq(e).decode();break;case"DISA":i=new D1e().decode(e);break;default:Ut({type:"error",message:"Unsupported document type"});return}if(!i){let p="Import failed! Incorrect file format!";Ot("fatalError",me.i18n(p),"Log",!1),Ut({type:"error",message:p});return}let o=i.inValidComponent.length>0;if(o){let m='<span class="i18n">To extract an invalid component, please check:</span>'+i.inValidComponent.join(", ");Ot("warn",m,"Log",0)}if(i.getComponentSize()==0&&(Ot("error",'<span class="i18n">Import failed! No valid component information was extracted.</span>',"Log",1),!o))return;let r=gi(),n=he.getTabDocType(r),a=he.getTabIframeSync(r),s=r.replace(/\@.+$/,""),l,c,d,u=t!="JLCEDA"&&t!="EasyEDA";if(n===se.PCB){let p=(await C.windowBridge.rpcCall("pcb/getNetList",{uniqueIdKey:t=="JLCEDA"?"Unique ID":"Designator",autoUniqueId:!1},a.contentWindow)).message;c=p==null?void 0:p.netList,l={pcbPageId:s,pcbName:he.getTabTitle(r)},d="file2pcb"}else if(n===se.SCH){let p=fne(),m=he.getActiveSchematicName();c=(await C.messageBus.rpcCall("sch/getNetlistBySchematicId",{schematicId:p})).message,l={schematicId:p,schematicName:m,schPageId:s,source:d},d="file2sch"}c&&USe({importNetList:i,baseNetList:await new Y2(c).decode(),source:d,ignoreCommonData:u,updateConnectNet:!0,specialKeys:["Reuse Block","Group ID","Channel ID","Add into BOM","Device","Footprint","Symbol"],env:l})}function HSe(t){return/\.tel$/i.test(t)?"Allegro":/\.enet$/i.test(t)?"JLCEDA":/\.asc$/i.test(t)?"PADS":/\.net$/i.test(t)?"Protel2":/\.ccf$/i.test(t)?"zuken":/\.txt$/i.test(t)?"Allegro_txt":/\.rep$/i.test(t)?"PADS_Layout":/\.dnet$/i.test(t)?"DISA":(Ut({type:"error",message:"Unsupported document type"}),null)}function mLt(t,e){if(he.getActiveTab()===t){e();return}he.isHasTabById(t)&&he.setTabActive(t).then(()=>{let i=setInterval(()=>{he.getActiveTab()===t&&(e(),clearInterval(i))},17);setTimeout(()=>{clearInterval(i)},2e3)})}var r9i="components were not generated in 3D because the 3D model was not bound",n9i="components only generated entities based on the Height property because the 3D model was not bound",a9i="components did not generate 3D, because the network failed to load the 3D model",s9i="components did not generate 3D, Because the bound 3D model id was not found",l9i="components were not generated in 3D because the 3D model in STEP format was not bound",UTr="components only generated entities based on the Height property, because the 3D model in STEP format is not bound",gne=class{constructor(e,i){this.generatedComponentIndexs=[];this.unboundCompInfo=[];this.generatedCompInfo=[];this.notfoundCompInfo=[];this.timeoutCompInfo=[];this.notStepCompInfo=[];this.pcbTabId=e,this.win=new WeakRef(i)}async handleExceptionalInfo(e,i=!1){e.unboundComponentIndexs=e.unboundComponentIndexs||[],e.generatedComponentIndexs=e.generatedComponentIndexs||[];let o=[...e.unboundComponentIndexs,...e.generatedComponentIndexs],r=(await C.windowBridge.rpcCall("pcb/getComponentInfoById",o,this.win.deref())).message,n=[],a=[];for(let s=0;s<r.length;s++)if(r[s].d3Model===void 0||typeof r[s].d3Model>"u"){let l=null;try{l=await Ze.getFootprint({isProject:!0,path:C.currentProject.projectId,uuid:r[s].footprintUuid})}catch{continue}let{compiler:c,d3modelItem:d,d3modelItemName:u,d3modelItemTransform:p,d3modelItemPath:m,d3modelItemId:h}=await ue.getFootprint3DInfo(l.uuid,l.path,l.path===C.currentProject.projectId,!1);if(r[s].d3Model=h,typeof r[s].d3Model<"u"){n.push(r[s]);let f=e.unboundComponentIndexs.indexOf(r[s].id);f>=0&&e.unboundComponentIndexs.splice(f,1)}else a.push(r[s])}else n.push(r[s]);return e.unboundComponentIndexs&&e.unboundComponentIndexs.length>0&&(this.unboundCompInfo=a),e.generatedComponentIndexs&&e.generatedComponentIndexs.length>0&&(this.generatedComponentIndexs=e.generatedComponentIndexs,this.generatedCompInfo=n),i&&(this.logCompInfo(this.unboundCompInfo,"warn",r9i),this.logCompInfo(this.generatedCompInfo,"info",n9i)),this.unboundCompInfo.length+this.generatedCompInfo.length>0}async handleStatusInfo(e,i=!1){let o=[],r=[],n=[];Object.keys(e).forEach(l=>{let c=e[l];this.generatedComponentIndexs.includes(l)||c===0||([3,6].includes(c)?o.push(l):c===5?n.push(l):r.push(l))});let a=[...o,...r,...n],s=(await C.windowBridge.rpcCall("pcb/getComponentInfoById",a,this.win.deref())).message;return o&&o.length>0&&(this.timeoutCompInfo=s.slice(0,o.length)),r&&r.length>0&&(this.notfoundCompInfo=s.slice(o.length,o.length+r.length)),n&&n.length>0&&(this.notStepCompInfo=s.slice(o.length+r.length)),i&&(this.logCompInfo(this.timeoutCompInfo,"warn",a9i),this.logCompInfo(this.notfoundCompInfo,"warn",s9i),this.logCompInfo(this.notStepCompInfo,"warn",l9i)),this.timeoutCompInfo.length+this.notfoundCompInfo.length+this.notStepCompInfo.length>0}getCompInfoForExportDialog(){let e=[];return e.push(...this.unboundCompInfo.map(i=>(i.failure="Unbound 3D model",i))),e.push(...this.generatedCompInfo.map(i=>(i.failure="Unbound 3D model",i))),e.push(...this.timeoutCompInfo.map(i=>(i.failure="3D model loading failed due to network issues",i))),e.push(...this.notfoundCompInfo.map(i=>(i.failure="The bound 3D model id was not found",i))),e.push(...this.notStepCompInfo.map(i=>(i.failure="Unbound 3D model in STEP format",i))),e}hasException(){return this.unboundCompInfo.length+this.generatedCompInfo.length+this.timeoutCompInfo.length+this.notfoundCompInfo.length+this.notStepCompInfo.length>0}logAfterExport(){this.logCompInfo(this.unboundCompInfo,"warn",r9i),this.logCompInfo(this.generatedCompInfo,"info",n9i),this.logCompInfo(this.timeoutCompInfo,"warn",a9i),this.logCompInfo(this.notfoundCompInfo,"warn",s9i),this.logCompInfo(this.notStepCompInfo,"warn",l9i),this.logCompInfo(this.notStepCompInfo,"info",UTr)}async logInfo2(e){let i={};Object.keys(e).forEach(o=>{let r=e[o];r.missingComponent&&(i[o]=r.modelStatus)}),this.handleStatusInfo(i,!0)}logCompInfo(e,i,o){if(e.length>0){let r=this.getLogMsg(e);r.unshift(e.length+"",` <span class="i18n">${o}</span>: `),Ot(i,r)}}getLogMsg(e){let i=e.map(r=>({attr:{id:r.id,pcbid:this.pcbTabId},text:r.designator||r.id})),o=[];return i.forEach((r,n)=>{o.push(r,", ")}),o.pop(),o}};var TH=L(Se());var hLt=L(d9i());var eM=L(z()),u9i=8,p9i=.254,VTr=({params:t})=>{let[e,i]=(0,TH.useState)(String(p9i)),[o,r]=(0,TH.useState)(String(u9i)),[n,a]=(0,TH.useState)("mm"),[s,l]=(0,TH.useState)(t);Ae(hLt.default);let{locals:c}=hLt.default,d=be.bind(c),u=J(),p=(0,TH.useRef)(null),m=b=>{let w=+b.target.value;w||(w=u9i),r(String(w))},h=async b=>{let w=+b.target.value;if(!w){let x=await he.getTabIFrame();w=+(await C.windowBridge.rpcCall("unitConversion",{value:p9i,unit:"mm"},x.contentWindow)).message}i(String(w))};(0,TH.useEffect)(()=>{async function b(){let y=await he.getTabIFrame(),{unit:w}=(await C.windowBridge.rpcCall("getCanvasParam","",y.contentWindow)).message,x=(await C.windowBridge.rpcCall("unitConversion",{value:.254,unit:"mm"},y.contentWindow)).message;i(x),a(w),l({...s,unit:w,value:x}),setTimeout(()=>{p.current.select()},0)}b()},[]);let f=async()=>{let b={lineWidth:e.toString(),fontSize:o.toString()};if(+o<=0||+e<=0){new Fi({type:"warn",msg:"Input error"});return}let y=await he.getTabIFrame();await C.windowBridge.rpcCall("setTableParameter",{strokeWidth:b.lineWidth,fontSize:b.fontSize},y.contentWindow),C.windowBridge.publish("tool",s.cmd,y.contentWindow),le.close()},g=()=>{le.close()};return(0,eM.jsxs)(eM.Fragment,{children:[(0,eM.jsxs)("div",{className:d("contentContainer"),children:[(0,eM.jsxs)("label",{className:d("rowContainer"),children:[(0,eM.jsxs)("span",{"data-test":"lineWidth",className:d("rowFont"),children:[u("Table Line Width"),"\uFF1A",""]}),(0,eM.jsx)(Kt,{dataTest:"lineWidthInput",className:d("rowInput"),value:e,ref:p,enterTriggerBlur:!0,onChange:b=>i(b),onBlur:h})," ",n]}),(0,eM.jsxs)("label",{className:d("rowContainer"),children:[(0,eM.jsxs)("span",{"data-test":"textSize",className:d("rowFont"),children:[u("Text Size"),"\uFF1A",""]}),(0,eM.jsx)(Kt,{dataTest:"textSizeInput",className:d("rowInput"),value:o,enterTriggerBlur:!0,onChange:b=>r(b),onBlur:m})]})]}),(0,eM.jsxs)("div",{className:d("pop-footer-wrapper dialog-button"),children:[(0,eM.jsx)(Me,{"data-test":"Confirm",type:"primary",onClick:f,children:"Confirm"}),(0,eM.jsx)(Me,{"data-test":"Cancel",style:{marginLeft:"8px"},onClick:g,children:"Cancel"})]})]})},m9i=VTr;var f9i=L(z());async function h9i(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;return le.open({id:o,title:r,width:n,height:a,closed:s,esc:!0,children:(0,f9i.jsx)(m9i,{params:t})}),le}async function mHe(t){return await ii("table-setting",{...t})}var g9i=[{text:"Confirm",type:"primary",style:{marginRight:"8px"},command:"confirm"},{text:"Cancel",command:"cancel"}];var wLt=L(y9i());var yHe=L(Se());async function fLt(t){let e=await ei();C.windowBridge.rpcCall("exportIpc2581c",t,e.contentWindow)}var E1e=L(Se());var gLt=(o=>(o[o.sm=24]="sm",o[o.md=72]="md",o[o.lg=96]="lg",o))(gLt||{}),fHe=(o=>(o[o.sm=24]="sm",o[o.md=28]="md",o[o.lg=28]="lg",o))(fHe||{});var bLt=L(C9i()),x9i=L(z()),{locals:bHe}=bLt.default,HTr=({id:t,class:e,style:i={},type:o="default",size:r="lg",disabled:n,readonly:a,children:s,onClick:l},c)=>{Ae(bLt.default);let d=J(),[u,p]=(0,E1e.useState)(n);(0,E1e.useImperativeHandle)(c,()=>({setStatus:f=>{p(f)}}),[]);let m=be(`${bHe.lc_btn} ${e}`,{[bHe[`lc_btn__type_${o}`]]:o,[bHe[`lc_btn__type_${o}_disabled`]]:u,[bHe[`lc_btn__type_${o}_readonly`]]:a}),h={minWidth:gLt[r],height:fHe[r],lineHeight:fHe[r]+"px"};return(0,x9i.jsx)("button",{id:t,className:m,style:{...h,...i},"data-test":typeof s=="string"?s:"",onClick:f=>l==null?void 0:l(f),children:typeof s=="string"?d(s):s})},ml=(0,E1e.forwardRef)(HTr);var SH=L(z());function yLt(t,e,i,o,r){let n=()=>{let l=document.getElementById("lc-tips-modal-id");l==null||l.remove()},a=l=>{r(l),n(),le.close()};Dt({content:t,confirmText:e,cancelText:o,showCancel:!0,onConfirm:a,onClose:n,footer:(0,SH.jsx)(()=>{let l=J();return(0,SH.jsxs)(SH.Fragment,{children:[e&&(0,SH.jsx)(ml,{type:"primary",size:"md",onClick:()=>a(!0),children:e}),i&&(0,SH.jsx)(ml,{type:"primary",size:"md",onClick:()=>a(!1),children:i}),o&&(0,SH.jsx)(ml,{size:"md",onClick:()=>n(),children:o})]})},{}),closed:!0,width:420,height:200})}var PC=L(z()),GTr="Detected that some components are missing reference designators, which may lead to partial parsing errors. Would you like to automatically add reference designators upon export?",YTr="This PCB doesn't draw the board outline layer lines please check, do you want to continue? Order at JLCPCB the board outline will not be recognized.",WTr=t=>{var I,A;let{containerId:e,params:i}=t;Ae(wLt.default);let o=be.bind(wLt.default.locals),r=J(),{pcbName:n}=i,a=[{text:"Device",value:"Device"},{text:"Manufacturer Part",value:"Manufacturer Part"},{text:"Supplier Part",value:"Supplier Part"},{text:"Comment",value:"Comment"}].concat(t.params.oem),s=[{value:"\u82F1\u5236 inch"},{value:"\u516C\u5236 mm"}],l=new Date,c=l.getFullYear(),d=l.getMonth()+1,u=l.getDate(),p=`${c}-${d.toString().padStart(2,"0")}-${u.toString().padStart(2,"0")}`,m=`IPC-2581C_${n}_${p}`,[h,f]=(0,yHe.useState)((I=a[0])==null?void 0:I.value),[g,b]=(0,yHe.useState)((A=s[0])==null?void 0:A.value),[y,w]=(0,yHe.useState)(m);function x(D){for(let E of a)E.value==D&&f(E.text)}function S(D){b(D)}function T(D){w(D.target.value)}async function M(D){if(D=="confirm"){let E=()=>{let R={fileName:y,pcbName:n,selectOption:g.split(" ")[1],selectValue:h,auto:!1};if(t.params.isEmptyDesignator)return yLt(GTr,"Yes","No",null,P=>{R.auto=P,fLt(R),le.close(e)});fLt(R),le.close(e)},N=await ei();C.windowBridge.rpcCall("checkBorderBeforeGerber","",N.contentWindow).then(R=>{if(R.message)E();else return yLt(YTr,"OK",null,"Cancel",E)})}else le.close(e)}return Bt(()=>{M("close")}).close(e),(0,PC.jsxs)("div",{className:o("pop-content-container"),style:{height:"100%"},children:[(0,PC.jsxs)("div",{className:o("export-ipc2581c-file"),children:[(0,PC.jsxs)("div",{className:o("export-ipc2581c-container"),children:[(0,PC.jsx)("span",{children:r("File Name:")}),(0,PC.jsx)("input",{type:"text",value:y,onChange:T}),(0,PC.jsx)("span",{className:o("xml"),children:".xml"})]}),(0,PC.jsxs)("div",{className:o("export-ipc2581c-container"),style:{marginTop:"20px"},children:[(0,PC.jsx)("span",{children:r("Units:")}),(0,PC.jsx)($i,{options:s,defaultValue:g,onChange:D=>S(D)})]}),(0,PC.jsxs)("div",{className:o("export-ipc2581c-container"),style:{marginTop:"20px"},children:[(0,PC.jsx)("span",{style:{marginRight:"12px"},children:r("OEM Num:")}),(0,PC.jsx)(xt,{value:h,list:a,onChange:D=>x(D),style:{width:"92%"}})]})]}),(0,PC.jsx)("div",{className:o("pop-footer-wrapper"),children:g9i.map((D,E)=>(0,PC.jsx)(Me,{type:D.type,style:D.style,onClick:()=>M(D.command),children:(0,PC.jsx)("span",{"data-test":D.text,children:r(D.text)})},`bottom-btn-${E}`))})]})},T9i=WTr;var M9i=L(z());async function S9i(t,e={}){let i=bt[t],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,children:(0,M9i.jsx)(T9i,{containerId:o,dialogId:e.dialogId,params:e})})}var CLt=L(Hr());var xLt=L(z()),I9i=()=>{C.messageBus.subscribe("editorCreated",t=>{let{tabId:e,docType:i}=t,o=he.getTabIframeSync(e);if(o){let r=document.createElement("div");r.setAttribute("data-test","canvas-info"),o.parentElement.appendChild(r);let n=CLt.default.createRoot(r),a=new X5e(i,e);if(n.render((0,xLt.jsx)(aMt,{tabId:a.tabId,docType:i,viewInfoTabBarStore:a},e)),Wn(i)){let s=o.parentElement.querySelector('div[data-test="canvas-info"]');s.style.width="100%",s.style.position="absolute",s.style.left="0",s.style.bottom="0"}else o.style.setProperty("height","calc(100% - 24px)")}})},wHe=(t,e,i)=>{let o=document.createElement("div");o.setAttribute("data-test","canvas-info"),t.appendChild(o);let r=CLt.default.createRoot(o),n=new X5e(i,e);r.render((0,xLt.jsx)(aMt,{tabId:e,docType:i,viewInfoTabBarStore:n},e));let a=t.querySelector('div[data-test="canvas-info"]');a.style.width="100%",a.style.position="absolute",a.style.left="0",a.style.bottom="0"};var L9i=L(ITe()),{locals:QTr}=L9i.default;function v9i(){let t=document.getElementById(Npe);if(!t)return;let e=Array.from(t.querySelectorAll("[data-d3toolbar-icon]"));for(let i=0;i<e.length;i++)e[i].classList.remove(QTr["pcb3d-toolbar-btn-selected"])}var UP=new Map,wI=new Map,D9i=["draw(R3dShellOutline)","draw(C3dShellOutline)","draw(P3dShellOutline)","place_part(3dShellScrewPillar)","draw(3dShellSideSlotDatumLine)","draw(R3dShellSideSlotRegion)","draw(C3dShellSideSlotRegion)","draw(P3dShellSideSlotRegion)","draw(R3dShellTopSlotRegion)","draw(C3dShellTopSlotRegion)","draw(P3dShellTopSlotRegion)","draw(R3dShellSideEntity)","draw(C3dShellSideEntity)","draw(P3dShellSideEntity)","draw(R3dShellTopBottomEntity)","draw(C3dShellTopBottomEntity)","draw(P3dShellTopBottomEntity)"],KTr=["draw(RectFPCStiffener)","draw(CirFPCStiffener)","draw(PolyFPCStiffener)"];async function Ic(t,e=void 0){var a,s,l,c,d,u,p;console.log("\u753B\u5E033",t);let i=await ei();switch(t){case"exportSpecctraFile":{C.windowBridge.publish("exportSpecctraFile","",i.contentWindow),Pl("27",C.currentProject.projectId,!!Uw);break}case"file_save":C.messageBus.rpcCall("save","");break;case"insertImage":{let h=wa();await M1e(h),await $Ve(h),lje(f=>{C.windowBridge.publish("insertImage",f,i.contentWindow)});break}case"setFilterSelected":Ho.setTopBarItemChecked("filterAttr",!1);break;case"updateProjectFootprint":{let{message:h}=await C.messageBus.rpcCall($e.FOOTPRINT.GET_ALL_KEYS,[C.currentProject.projectId]);C.messageBus.publish("updateFootprint",{type:2,component:h});break}case"contact":break;case"renumberPads":C.windowBridge.publish("openRenumberPadsDialog","#renumberPadsDlg",i.contentWindow);break;case"setGridSize":C.messageBus.publish("openSystemDialog","PCB_COMM_GRID_SIZE");break;case"toggleLayerBottomBar":{let f=!d0().isShowPCBBottomLayersBar;if(si.setCheckboxStatus("top-menu-view-Window","toggleLayerBottomBar",f),mt.savePreference("isShowPCBBottomLayersBar",f,!0),C.pcbAllLayersBars.length)for(let g of C.pcbAllLayersBars)g.isShowPCBBottomLayersBar=f;ZT.handleLayerBar();break}case"togglePCBD3ViewToolbarBar":{let h=+oj("isPCBD3ViewToolbarBarShow"),f=!h||h===0,g=!h||h===0?1:0;mC.storeHandler.isShowToolBar=f,si.setCheckboxStatus("mm-common-view","togglePCBD3ViewToolbarBar",f),await Ks({isPCBD3ViewToolbarBarShow:g});break}case"gridSnapKeepRatio":{Ho.setTopBarItemChecked(t,!!xHe()),mt.savePreferencesToRemote(h=>{let f=JSON.parse(localStorage.getItem("preferences"));return{...h,isAssociationPCBCanvasGridAndSnap:f.isAssociationPCBCanvasGridAndSnap}},async h=>{window.setTimeout(()=>{C.windowBridge.publish("updateAssociationPCBCanvasGridAndSnap",+h.isAssociationPCBCanvasGridAndSnap,i&&i.contentWindow),C.profileSetting&&(C.profileSetting.isAssociationPCBCanvasGridAndSnap=+h.isAssociationPCBCanvasGridAndSnap),C.windowBridge.publish("FlushAttrPlane",void 0,i.contentWindow),Td.updateGridSnapKeepRatioStatus(h.isAssociationPCBCanvasGridAndSnap)})});break}case"smartSize":{(await C.windowBridge.rpcCall("toggleSmartSizeMode","",i.contentWindow)).message?((0,Lq.default)("#exitSmartSizeTool").css("visibility","visible"),he.setTabData(he.getActiveTab(),{"smart-size-mode":!0})):((0,Lq.default)("#exitSmartSizeTool").css("visibility","hidden"),he.deleteTabDataByKey(he.getActiveTab(),"smart-size-mode"));break}case"Preview2D":case"Preview3D":{if(new URLSearchParams((s=(a=ko())==null?void 0:a.location)==null?void 0:s.search).get("pcb3d")!=null){C.windowBridge.publish("previewTool",t,i.contentWindow);break}let h=t=="Preview3D";Ts();let f=G0(),g=wa(),b=h?"2d-"+g:"3d-"+g,y=await he.getTabIFrame(b),w=It.containerInfo[he.belongContainer],x=null,S=he.getTabDocType(g);if(y)he.simulateClick(b),await C.windowBridge.rpcCall("toggleView(importChanges)","",y.contentWindow),C.windowBridge.publish("refresh3DViewPanel",null,y.contentWindow),Zr();else{let T=h?se.VIEW3D:se.PHOTOVIEW,M=ZP.create({tabId:b,docType:se.VIEW3D});await ZT.createTab(b,T,b,f),he.simulateClick(b),UP.set(b,f),wI.set(b,{viewStatus:"normal",explodeRatio:.1,explode:!1}),window.setTimeout(()=>{let I=M.contentWindow;I.addEventListener("load",async()=>{v9i(),await he.setTabActive(b),x&&(w.domRect=It.handleDomRect(x,w.tabDock,w.tabSize,w.borderSize),C.messageBus.publish("/pro-ui/container/resize",{containerId:w.id,domRect:w.domRect}));let A,D;if(h){let R=new gne(g,i.contentWindow);A=C.messageBus.subscribe("/pcb/3d/model/finishLoading",O=>{R.logInfo2(O[1]),O[0]}),D=C.messageBus.subscribe("/pcb/3d/changeInfo",O=>{if(b===O[0]){let _=O[1];R.handleExceptionalInfo(_,!0)}});let k=`3dStreamPreview_${crypto.randomUUID()}`,P=(await C.windowBridge.rpcCall("/pcb/3d/writeStreamSource",{exportDetails:!0,channelId:k,minChunkSize:10*1024*1024},i.contentWindow)).message;if(S===se.FOOTPRINT){let O=(await C.windowBridge.rpcCall("footprint3DModel",{},i.contentWindow)).message;if(O.d3modelItemId){let _=await As.fetchD3ModelItemHandle(O.d3modelItemId);await C.windowBridge.rpcCall("/pcb/3d/load/model",{dataStr:_.dataStr,path:_.path},I),await C.windowBridge.rpcCall("/pcb/3d/model/update",O.d3modelItemTransform,I)}}P&&(R.handleExceptionalInfo(P,!0),delete P.dataStr),await C.windowBridge.rpcCall("/pcb/3d/load/data",k,I,600*1e3)}else await C.windowBridge.rpcCall("/pcb/3d/load/data",(await C.windowBridge.rpcCall("/pcb/3d/source",{type:1,withModel:!1,withShell:!1,needPanelize:!0},i.contentWindow)).message,I,600*1e3);!h&&await ms.modifyRulerTheme(),await C.windowBridge.rpcCall("/pcb/3d/load/blob",(await C.windowBridge.rpcCall("/pcb/3d/blob","",i.contentWindow)).message,I);let E=h?"/pcb/3d/sync/3dview":"/pcb/3d/sync/2dview";if(await C.windowBridge.rpcCall(E,[b,g],I),xSe.refresh(),C.messageBus.publish("/pcb/3d/model/updateSystemConfig",d0()),!h&&e!=null&&e.attrs)for(let R of Object.keys(e.attrs)){let v=e.attrs[R];C.windowBridge.publish("modifyPhotoAttr",{key:R,value:v},I)}let N=await C.windowBridge.rpcCall("/pcb/model/2dPreview/setPattern",null,i.contentWindow);await C.windowBridge.rpcCall("/engine/scene/setGridPattern",N==null?void 0:N.message,I),Zr(),I.addEventListener("unload",()=>{UP.delete(b),wI.delete(b),A==null||A.cancel(),D==null||D.cancel()}),he.addCloseEventListener(b,()=>{UP.delete(b),wI.delete(b),A==null||A.cancel(),D==null||D.cancel()}),I.addEventListener("keydown",JTr,!0),I.addEventListener("mousemove",SLt,!0)}),h&&he.setTabData(b,{pcbid:g}),h||wHe(M.parentElement,b,T)})}await sy(0),w&&(x=document.getElementById(w.id).getBoundingClientRect());break}case"Preview3DInNewWindow":{let h=he.getActiveTab(),f=wa(),g=i.contentWindow;g.previewWindow||(g.previewWindow=g.open(`editor?entry=pcb3dview&lang=${me.curr}&data-theme=${ms.getActiveTheme()}`,"_blank","location=0")),await C.windowBridge.rpcCall("/pcb/3d/openPreviewWindow",{lang:me.curr,tabid:h,pcbUuid:f},i.contentWindow),C.messageBus.publish("/pcb/3d/model/updateSystemConfig",d0()),C.pcbTo3DView[h]&&(C.pcbTo3DView[h].isOpen=!0);break}case"checkDRC":{(0,Lq.default)("#layout_toggler_bottom").hasClass("close")&&Pn("layout_toggler_bottom",!1),It.getActiveTab(co.id).tabId!=="drcResult"&&co.handleClick("drcResult"),OMt(e);break}case"clearErrors":{(0,Lq.default)("#clearErrors").trigger("click");break}case"netClassManager":case"equalLengthGroupManager":{let h=t.startsWith("netClass"),f;f=h?"edit-net-class":"edit-equal-length-group",(await C.windowBridge.rpcCall("getAllNetClassList",h,i.contentWindow)).message.length||(f=f.replace("edit","new")),C.windowBridge.publish("showEditNetClassDlg",{type:f},i.contentWindow);break}case"differentialPairManager":{let h=(await C.windowBridge.rpcCall("getDifferentailOptions","",i.contentWindow)).message,f=(await C.windowBridge.rpcCall("getDifferentailTitle","",i.contentWindow)).message,g=(await C.windowBridge.rpcCall("getDifferentailPairList","",i.contentWindow)).message,b;g.length?b=!0:b=!1,VP({differentailPairName:((l=g[0])==null?void 0:l.name)||f,differentailPairPositiveNet:((d=(c=g[0])==null?void 0:c.sub[0])==null?void 0:d.name)||"",differentailPairNegativeNet:((p=(u=g[0])==null?void 0:u.sub[1])==null?void 0:p.name)||"",differentailPairList:g,isEdit:b,netOptions:h});break}case"pcb_export_coordinate_file":await ii("export-pick-place-file");break;case"systemSetting":Qc();break;case"importNetlist":o9i();break;case"showSyncLogs":window.app&&window.app.showSyncLogs&&window.app.showSyncLogs();break;case"openProject":if(!br()){Xo.login();return}if(!br()){De({type:"info",msg:"Not logged in yet, please log in and try again",timer:3});return}sJ(),C.messageBus.publish("updateProjectTree");break;case"source(easyEDA)":{C.windowBridge.rpcCall("FileSource","",i.contentWindow).then(h=>{C.messageBus.publish("initViewDocSourceDlgAndOpen",h.message)});break}case"showRuler":{ZTr(t);break}case"removeLoop":{TLt(t);break}case"flipBoard":{TLt(t);break}case"autoTrimSilkscreen":{TLt(t);break}case"orderPCB":{let h=await eUe();vt(.2/4,"Order PCB..."),aq({silk:h,needDownLoad:!0});break}case"order3DShell":{HP.order3DShell();break}case"checkDimension":C.windowBridge.publish("checkDimension","",i.contentWindow);break;case"pcb_fabrication":{let h=dt();if(!i||h!==se.PCB)break;fH("export-gerber",t=="pcb_fabrication(old)");break}case"exportManufacturingFilesForOneClick":{let h=dt();if(!i||h!==se.PCB)break;v7i("export-manufacture-for-one-click");break}case"exportFlyingProbeFile":{let h=dt();if(!i||h!==se.PCB)break;let f=G0()||"",{message:g}=await C.windowBridge.rpcCall("pcb/exportFlyingProbeFile",{pcbTitle:f},i.contentWindow);if(!g||g.error||!g.fileContent){Dt({icon:"error",content:me.i18n("Failed to export file"),confirmText:"Confirm",closed:!0,width:420,height:200});break}let{fileContent:b,fileName:y}=g;ya(b,y);break}case"pcb_odb++":{let h=dt();if(!i||h!==se.PCB)break;fH("export-odb++");break}case"pcb_IPC-D-356A":{let h=dt();if(!i||h!==se.PCB)break;let f=C.currentProject.title,g=he.getActiveTab(),{uuid:b}=he.getUuidAndPathByTab(g),w=(await C.messageBus.rpcCall("getBoardByTabId",[b])).message[b]||"",x=C.client.currentProjectPath||"";C.windowBridge.rpcCall("pcb_IPC-D-356A",{projectTitle:f,boardTitle:w,title:x},i.contentWindow);break}case"switchView(outline)":case"switchView(normal)":let m=t.match(/\((.*?)\)$/);m&&m[1]&&Ho.switchViewBtn(m[1]),C.windowBridge.publish("switchRenderMode",m[1]=="outline"?1:0,i.contentWindow);break;case"swithCoordinate(cartesian)":case"swithCoordinate(polar)":{let h=t.match(/\((.*?)\)$/);h&&h[1]&&Ho.switchCoordinateBtn(h[1]),C.windowBridge.publish("switchCoordinate",h[1]=="cartesian",i.contentWindow);break}case"switchGridType(grid)":case"switchGridType(outlets)":case"switchGridType(none)":{let h=t.match(/\((.*?)\)$/);h&&h[1]&&Ho.switchGridTypeBtn(h[1]),C.windowBridge.publish("switchGridType",h[1],i.contentWindow);break}case"setGridRange":{C.windowBridge.rpcCall("getGridRange","",i.contentWindow).then(h=>{if(h.message){let{startAngle:f,endAngle:g,minRadius:b,maxRadius:y,unit:w}=h.message;jFe({startAngle:f,endAngle:g,minRadius:b,maxRadius:y,unit:w})}});break}case"toggleView(top)":case"toggleView(bottom)":case"toggleView(left)":case"toggleView(right)":case"toggleView(front)":case"toggleView(back)":case"toggleView(refresh)":case"toggleView(adaptAll)":case"toggleView(normal)":case"toggleView(outline)":case"toggleView(gerber)":{t==="toggleView(normal)"?wI.get(wa()).viewStatus="normal":t==="toggleView(outline)"?wI.get(wa()).viewStatus="outline":t==="toggleView(gerber)"&&(wI.get(wa()).viewStatus="gerber");let h=t.match(/\((.*?)\)$/)[1];C.windowBridge.publish("toggle3DView",{cmd:h},i.contentWindow);break}case"reuseTemplateLayoutAndRoute":{C.windowBridge.publish("openReuseTemplateDialog","",i.contentWindow);break}case"toggleView(explode)":{let h=wI.get(wa());h.explode=!h.explode,h.explodeRatio=.1,xSe.refresh();break}case"view3DModelManager":{kNi();break}case"viewPinDelayManager":{C.windowBridge.publish("padLenManageDialog","",i.contentWindow);break}case"viewBomMatchingTool":{(0,Lq.default)(document.body).append('<iframe id="bomMatching" src="editor?entry=bom-matcher" frameborder="0" border="0" style="position: fixed; top:0px;left:0px;width: 100%;height: 100%; z-index: 999;"></iframe>'),vt(0,"smtUILoading"),cn.setHash("smt",he.getActiveTab(),!0);break}case"viewSolderingAssistance":{le.closeAll(),(0,Lq.default)(document.body).append('<iframe id="solderingAssistance" src="editor?entry=welding-tools" frameborder="0" border="0" style="position: fixed; top:0px;left:0px;width: 100%;height: 100%; z-index: 9999;"></iframe>'),vt(0,"smtUILoading"),cn.setHash("wel",he.getActiveTab(),!0);break}case"exportInteractiveBOM":{vt(0,"smtUILoading"),window.setTimeout(()=>{(0,Lq.default)(document.body).append('<iframe id="solderingAssistanceExport" src="editor?entry=welding-tools" frameborder="0" border="0" style="position: fixed; top:-1px;left:-1px;width: 1px;height: 1px; z-index: 9999;"></iframe>'),cn.setHash("wel",he.getActiveTab(),!0)});break}case"place_part(stack_table)":case"place_part(drill_table)":mHe({cmd:t,args:e});break;case"drawpartition(Rectangle)":case"drawpartition(Circle)":case"drawpartition(Polygon)":{let h=he.getActiveTab(),{name:f}=(await C.windowBridge.rpcCall("getNextNameOfDrawPartition",null,i.contentWindow)).message,g=ue.splitComponentId2FolderAndFilenameMixin(h);if((await Qd.getInstance().sameTitleChildren(f.toLocaleUpperCase(),g.componentTitleOrId,g.path)).length){Dt({icon:"warning",title:me.i18n("Tips"),closed:!0,showCancel:!0,showConfirm:!0,content:me.i18n("This operation will overwrite sub-PCBs with same name. Do you want to continue?"),onConfirm:()=>{C.windowBridge.publish("tool",t,i.contentWindow)},onCancel:()=>{}});return}C.windowBridge.publish("tool",t,i.contentWindow);break}case"clearRectMasks":{let h=e;h&&Array.isArray(h)&&h.length>0&&h.forEach(async f=>{var b;let g=(b=await he.getTabIFrame(f))==null?void 0:b.contentWindow;g&&C.windowBridge.publish("pcb/clearRectMasks",{tabId:f},g)});return}case"ExportIpc2581cFile":{let h=await ei(),f=dt();if(!h||f!==se.PCB)break;let g=C.currentProject.title,{message:b}=await C.messageBus.rpcCall($e.PROJECT.GET,[C.currentProject.projectId]),y=he.getActiveTab(),{uuid:w}=he.getUuidAndPathByTab(y),x=b.boards,S="";if(x){for(let M of x)if(M.pcb==w){S=M.name;break}}let T=C.client.currentProjectPath||"";C.windowBridge.rpcCall("pcb_IPC2851C",{projectTitle:g,boardTitle:S,title:T},h.contentWindow).then(M=>{let{data:I}=M.message;S9i("export_ipc2581c_file",I)});break}case"PlaceViaFence":C.windowBridge.publish("viaFenceManageDialog","",i.contentWindow);break;case"unlockAll":C.windowBridge.publish("unlockALL","",i.contentWindow);break;case"findObjects":{let{message:h}=await C.messageBus.rpcCall("getAllPcbTitleAndReuseBlockValues",wa());C.windowBridge.publish("findObjects_PCB",h,i.contentWindow);break}case"equalLengthTuning":case"diffPairEqualLengthTuning":C.windowBridge.publish("equalLengthTuning",t=="diffPairEqualLengthTuning",i.contentWindow);break;case"ADD_FILLET":case"ADD_CHAMFER":C.windowBridge.publish("addFilletOrChamfer",t,i.contentWindow);break;case"openPanelizeDlg":case"removeUnusedPadDlg":case"padCoordinateFileDlg":case"toggleRealTimeDRC":C.windowBridge.publish(t,"",i.contentWindow);break;case"select_all":C.windowBridge.publish("selectAll","",i.contentWindow);break;case"copyToSvg":C.windowBridge.publish("copyToSvg","",i.contentWindow);break;case"copyToPng":C.windowBridge.publish("copyToPng","",i.contentWindow);return;case"boolAggregate":case"boolSubtraction":case"boolIntersection":case"boolExclusive":case"boolSplit":C.windowBridge.publish("booleanOperation",t,i.contentWindow);break;case"avoidSlots":case"avoidPads":{C.windowBridge.publish("cutoutToAvoid",{type:t},i.contentWindow);break}case"reuseLayoutRoute":case"continuousSelection":case"rectangleOutside":case"rectangleInside":case"polygonInside":case"polygonOutside":case"lineTouched":case"connectedCopper":case"pcbOptimizedPath":case"Split":case"copySpecial":case"MeasureDistance":case"MeasureObjectDistance":case"CreepageDistance":case"singleWiringRouter":case"multiWiringRouter":case"connectPads":C.windowBridge.publish("tool",t,i.contentWindow);break;case"teardrop":C.windowBridge.publish("openTearDrop","",i.contentWindow);break;case"editArray":C.windowBridge.publish("openCreateArrayDialog","",i.contentWindow);break;case"distribute_horizontal_equidistant":case"distribute_vertical_equidistant":case"distribute_left_side_edge_equidistant":case"distribute_top_side_edge_equidistant":case"distribute_horizontal_by_center_distance":case"distribute_vertical_by_center_distance":case"distribute_horizontal_by_edges_distance":case"distribute_vertical_by_edges_distance":case"distribute":C.windowBridge.publish("distribute",t,i.contentWindow);break;case"component_distribute_by_region":{C.windowBridge.publish("tool",t,i.contentWindow);break}case"align_left":case"align_right":case"align_top":case"align_bottom":case"align_grid":case"align_horizontal_center":case"align_vertical_center":C.windowBridge.publish("align",t,i.contentWindow);break;case"absoluteOffset":C.windowBridge.publish("offset","OFFSET_ABSOLUTE",i.contentWindow);break;case"relativeOffset":C.windowBridge.publish("offset","OFFSET_RELATIVE",i.contentWindow);break;case"layerOptionsSet":C.windowBridge.publish("openLayerManagerDialog","",i.contentWindow);break;case"viewCopperAreaManager":C.windowBridge.publish("copperAreaManagerDialog","",i.contentWindow);break;case"refDesignatorAnnotate":C.windowBridge.publish("doCommand_ui",["ref_designator_annotate"],i.contentWindow);break;case"pcb_DRC":C.windowBridge.publish("DesignRuler",e,i.contentWindow);break;case"pcbBatchFanout":C.windowBridge.publish("pcbBatchFanout",e,i.contentWindow);break;case"EditPadsPairGroupDialog":C.windowBridge.publish("EditPadsPairGroupDialog",e,i.contentWindow);break;case"showAllRatline":case"hideAllRatline":C.windowBridge.publish("toggleRatlineNet",{netName:"",visible:t=="showAllRatline"},i.contentWindow);break;case"showSelectedComponentRatline":case"hideSelectedComponentRatline":C.windowBridge.publish("toggleSelectedRatline",{type:"deviceOnly",visible:t=="showSelectedComponentRatline"},i.contentWindow);break;case"showSelectedObjRatline":case"hideSelectedObjRatline":C.windowBridge.publish("toggleSelectedRatline",{type:"allSelected",visible:t=="showSelectedObjRatline"},i.contentWindow);break;case"unrouteClearConnect":C.windowBridge.publish("unrouteClearConnect","",i.contentWindow);break;case"unrouteClearNetwork":C.windowBridge.publish("unrouteClearNetwork","",i.contentWindow);break;case"placeOriginCenter":C.windowBridge.publish("placeOrigin","center",i.contentWindow);break;case"placeOriginPad":C.windowBridge.publish("placeOrigin","pad1",i.contentWindow);break;case"viewPCBInformation":C.windowBridge.publish("getPcbInfo","",i.contentWindow);break;case"autoLayout":C.windowBridge.publish("pcb/autoLayout","",i.contentWindow);break;case"openDxfExportDlg":C.messageBus.publish("openDxfExportDlg","");break;case"undo":C.windowBridge.publish("undo","",i.contentWindow);break;case"redo":C.windowBridge.publish("redo","",i.contentWindow);break;case"cut":C.windowBridge.publish("tool","CLIP",i.contentWindow);break;case"copy":C.windowBridge.publish("tool","COPY",i.contentWindow);break;case"dropdrag":C.windowBridge.publish("tool","dropdrag",i.contentWindow);break;case"paste":C.windowBridge.publish("tool","PASTE",i.contentWindow);break;case"ungroupAll":C.windowBridge.publish("ungroupAll","",i.contentWindow);break;case"crossProbeTool":C.windowBridge.publish("tool","crossProbeTool",i.contentWindow);break;case"MOVE_BY_CENTER_POINT":case"MOVE_BY_ORIGIN_POINT":case"MOVE_BY_REFERENCE_POINT":C.windowBridge.publish("batchMove",t,i.contentWindow);break;case"fitview":C.windowBridge.publish("adaptAll","1",i.contentWindow);break;case"fitBoard":C.windowBridge.publish("fitBoard","",i.contentWindow);break;case"adaptSelectionView":C.windowBridge.publish("adaptSelect","",i.contentWindow);break;case"adaptAreaSelectionView":C.windowBridge.publish("tool","boxselect",i.contentWindow);break;case"groupSelected":C.windowBridge.publish("combination","",i.contentWindow);break;case"ungroupSelected":C.windowBridge.publish("dissolution","",i.contentWindow);break;case"joinGroup":C.windowBridge.publish("joinCombination","",i.contentWindow);break;case"toggleAdsorb":C.windowBridge.publish("toggleAdsorb","",i.contentWindow);break;case"clearAllRoute":C.windowBridge.publish("clearAllRoute","",i.contentWindow);break;case"fliptotop":C.windowBridge.publish("flip",1,i.contentWindow);break;case"fliptobottom":C.windowBridge.publish("flip",2,i.contentWindow);break;case"delete":C.windowBridge.publish("removeSelect","",i.contentWindow);break;case"delete-target":C.windowBridge.publish("deleteElementDialog","",i.contentWindow);break;case"delete-all":C.windowBridge.publish("clearAll","",i.contentWindow);break;case"set-attr-text-position":C.windowBridge.publish("attrData","",i.contentWindow);break;case"fliph":C.windowBridge.publish("turn","turnAround",i.contentWindow);break;case"flipv":C.windowBridge.publish("turn","turnUpsideDown",i.contentWindow);break;case"fliph_reference_point":C.windowBridge.publish("turn","turnAroundByReferPoint",i.contentWindow);break;case"flipv_reference_point":C.windowBridge.publish("turn","turnUpsideDownByReferPoint",i.contentWindow);break;case"rotate_left":C.windowBridge.publish("ROTATE","rotate_left",i.contentWindow);break;case"rotate_right":C.windowBridge.publish("ROTATE","rotate_right",i.contentWindow);break;case"rotate_reference_point":C.windowBridge.publish("ROTATE","rotate_reference_point",i.contentWindow);break;case"mergeAsClosedLine":C.windowBridge.publish("mergeAsClosedLine","",i.contentWindow);break;case"dispersedAsIndependentLine":C.windowBridge.publish("dispersedAsIndependentLine","",i.contentWindow);break;case"EDIT_BOUNDARY":{C.windowBridge.publish("EDIT_BOUNDARY","",i.contentWindow);break}case"convertToBoard":{C.windowBridge.publish("convertToBoard",{cmd:t,...e},i.contentWindow);break}case"convertToLineFromBoard":{C.windowBridge.publish("convertToLineFromBoard",{cmd:t,...e},i.contentWindow);break}case"CONVERT_TO_TRACK":case"CONVERT_TO_PAD":case"CONVERT_TO_2D_LINE":case"CONVERT_TO_BOARD_OUTLINE":case"CONVERT_TO_CONSTRAINT_REGION":case"CONVERT_TO_COPPER_REGION":case"CONVERT_TO_SLOT_REGION":case"CONVERT_TO_FILL_REGION":case"CONVERT_TO_PROHIBITED_REGION":case"CONVERT_TO_D3_SHELL_OUTLINE":case"CONVERT_TO_D3_SHELL_SLOT_REGION":case"CONVERT_TO_D3_SHELL_ENTITY":case"CONVERT_TO_FPC_STIFFENER":C.windowBridge.publish("convertTo",{cmd:t,...e},i.contentWindow);break;case"HIGHLIGHT_NET":case"HIGHLIGHT_COMPONENT":case"HIGHLIGHT_SELECTED_OBJECTS":case"HIGHLIGHT_CANCEL_NET":case"HIGHLIGHT_CANCEL_COMPONENT":case"HIGHLIGHT_CANCEL_SELECTED_OBJECTS":case"HIGHLIGHT_CANCELALL":case"INCREASE_BRIGHTNESS":case"DECREASE_BRIGHTNESS":C.windowBridge.publish("highLight",t,i.contentWindow);break;case"showTextDialog_pcb":C.windowBridge.publish("getLastText","",i.contentWindow);break;case"routeLine(WIRING_CORNER_LINE45)":case"routeLine(WIRING_CORNER_LINE90)":case"routeLine(WIRING_CORNER_ARC)":case"routeLine(WIRING_CORNER_ARC45)":case"routeLine(WIRING_CORNER_ARC90)":case"routeLine(WIRING_CORNER_FREEANGLE)":C.windowBridge.publish("toggleRouteCorner",t,i.contentWindow);break;case"routeMode(WIRING_MODE_IGNORE)":case"routeMode(WIRING_MODE_SURROUND)":case"routeMode(WIRING_MODE_OBSTRUCT)":case"routeMode(WIRING_MODE_SURROUND_AND_PUSHAWAY)":case"routeMode(WIRING_MODE_PUSHAWAY)":C.windowBridge.publish("toggleRouteMode",t,i.contentWindow);break;case"swapLocation":C.windowBridge.publish("interchange","",i.contentWindow);break;case"flip2OppositeSide":C.windowBridge.publish("flip2OppositeSide",!0,i.contentWindow);break;case"PlaceSinglePad":C.windowBridge.publish("tool","PlaceSinglePad",i.contentWindow);break;case"duplicateToCursor":{C.windowBridge.publish("duplicateToCursor","",i.contentWindow);break}case"duplicateToOtherLayer":{C.windowBridge.publish("duplicateToOtherLayer","",i.contentWindow);break}case"importSpecctraSession":{C.windowBridge.publish("importSpecctraSession","",i.contentWindow);break}case"importAutoRouteRes":{C.windowBridge.publish("importAutoRouteRes","",i.contentWindow);break}case"exportIDF":{C.windowBridge.publish("exportIDF",e,i.contentWindow);break}case"place_part(autoTestPad)":C.windowBridge.publish("autoPlaceTestPad","",i.contentWindow);break;default:var o=t.match(/\((.*?)\)$/);if(o){var r=t.split(o[0])[0],n=o[1];switch(r){case"zoom":C.windowBridge.publish("zoom",n,i.contentWindow);break;case"place_part":if(D9i.includes(t)){let g=()=>{C.windowBridge.publish("tool",t,i.contentWindow)};C.messageBus.publish("/ui/promptToOpen3DViewWindow",[void 0,g])}else C.windowBridge.publish("tool",t,i.contentWindow);break;case"draw":if(D9i.includes(t)){let g=()=>{C.windowBridge.publish("tool",t,i.contentWindow)};C.messageBus.publish("/ui/promptToOpen3DViewWindow",[void 0,g])}else KTr.includes(t)?(C.windowBridge.publish("checkOpenStiffenerLayer","",i.contentWindow),C.windowBridge.publish("tool",t,i.contentWindow)):C.windowBridge.publish("tool",t,i.contentWindow);break;case"unit":C.windowBridge.publish("UnitConver",n,i.contentWindow);break;case"brightness":C.windowBridge.publish("layerNeedGray",n,i.contentWindow);break;case"Grid":{let g=n.split(",");C.windowBridge.publish("GridSetting",{gridX:g[0],gridY:g[1]},i.contentWindow),C.windowBridge.publish("doPcbCommand",{cmd:t},i.contentWindow);break}case"Snap":{let g=n.split(",");C.windowBridge.publish("SnapSizeSetting",{snapX:g[0],snapY:g[1]},i.contentWindow);break}case"GridPolar":let[h,f]=n.split(",");C.windowBridge.publish("PolarGridSetting",{angleDelta:h,milStep:+f/10,isNeedUnitTranslate:!1,isNeedRadiansTranslate:!0},i.contentWindow);break;case"trackWidthSetting":case"trackWidth":C.windowBridge.publish("TrackWidthSetting",n,i.contentWindow);break;default:console.warn(r+", this cmd had not defined");break}return}break}}async function TLt(t){C[`${t}`]=!C[`${t}`],A1e(t,C[`${t}`]);let e=await ei();C.windowBridge.publish(`${t}`,"",e.contentWindow)}async function x1e(t){let e=await ei();e&&C.windowBridge.publish("ToggleCanvasBottomLayerBarStatus",t,e.contentWindow)}async function ZTr(t){let e=dt(),i,o=!1;if(e===se.FOOTPRINT||e===se.PCB){o=!0;let n=Wi("PCB_FOOTPRINT","isShowRuler",{readValueKey:!1});i=!n.value,n.value=i}A1e(t,i),C.pcbAllLayersBars.length&&o&&(i?zIt():BIt());let r=await ei();C.windowBridge.publish(`${t}`,!!i,r.contentWindow)}function A1e(t,e){switch(DA.setBtnSelection(t,e),EJ(t).forEach(o=>{si.setMenuCheck(t,e,o.menuId,o==null?void 0:o.groupName)}),C[`${t}`]=e,t){case"flipBoard":{let o=C.pcbLayersBar;o&&o.setStorage("isFlipBorad",!!e);break}}}function JTr(t){var s,l;t.altKey&&t.preventDefault();let e;(u=>(u.Alt="Alt",u.V="V"))(e||(e={}));let i;(d=>d[d.V=86]="V")(i||(i={}));function o(c){let d=r(c.keyCode);return c.altKey&&(d="Alt+"+d),d}function r(c){switch(c){case 86:return"V";default:return null}}let n=o(t),a=["normal","outline","gerber"];switch(n){case"Alt+V":let c=(l=(s=$j.selectedItem)==null?void 0:s.cmd)==null?void 0:l.match(/\((.*?)\)$/)[1],d=a.indexOf(c)||0;d>=2&&(d=-1),he.getTabIFrame(he.getActiveTab()).then(function(u){let p=a[++d];C.windowBridge.publish("toggle3DView",{cmd:p},u.contentWindow),C.messageBus.publish("togglrView3DCmdAction",p)});break;default:C.eventFn.keyDown(t);break}}function SLt(t){CHe.clientX=t.clientX*E9i(),CHe.clientY=t.clientY*E9i()}function E9i(t=window.devicePixelRatio){return t=t>1?t:1,t}function A9i(t,e=!1){if(!t)return;for(let o in t){let r=t[o];i(o,r)}function i(o,r){if(!(!o||r.length==0))if(he.getActiveTab()===o){let n=Xi();C.windowBridge.publish("highlightItems",{needAdaptAll:e,globalIndexArr:r},n.contentWindow)}else if(he.isHasTabById(o))he.setTabActive(o).then(()=>{let n=setInterval(()=>{if(he.getActiveTab()===o){let a=Xi();C.windowBridge.publish("highlightItems",{needAdaptAll:e,globalIndexArr:r},a.contentWindow),clearInterval(n)}},17);setTimeout(()=>{clearInterval(n)},2e3)});else{let[n]=wr(o);C.messageBus.rpcCall($e.PCB.GET,[n,C.currentProject.projectId]).then(({message:a})=>{let s={uuid:a.uuid,docType:se.PCB,title:a.title,display_title:a.display_title,dataStr:a.dataStr,ticket:a.ticket,updateTime:a.updateTime,highlightItems:r};qb(s,C.currentProject.projectId)})}}}var KA=L(z());function SI(t){let{propertyKey:e,propertyTitle:i,ruleType:o,callScene:r,isHide:n}=t,a={propertyKey:e,propertyTitle:i||N9i(o),value:null,hidden:n,contentSectionStyle:{minWidth:0},contentStyle:{minWidth:0},contentRender:(s,l)=>(0,KA.jsx)(qTr,{...t,onChange:c=>{let d={[e]:{value:c}},u={[e]:a};l?l(d,u,{callScene:r}):t.onChange(d,u,{callScene:r})}}),onChange:t.onChange instanceof Function?t.onChange:null};return a}var qTr=t=>{let{propertyKey:e,value:i,valueOptions:o=[],ruleType:r,propertyTitle:n=N9i(r),settingIconTitle:a="Edit Rule",disabled:s,funOption:l={},onChange:c,...d}=t,u=J(),p=XTr(r,e),m=(()=>{let x=(()=>{let S="";return o.forEach(T=>S+=T.value),S})();return{newRule:"newRule"+x,clear:"clear"+x}})(),h="",f={borderBottom:"1px solid var(--border-color-panel-divider)"},g=[],b=l.newRuleTitle||"New Rule...";g.push((0,KA.jsx)(lc,{"data-test":b,value:m.newRule,title:u(b),style:f,children:u(b)},m.newRule));for(let x=0;x<o.length;x++){let S=o[x],T=S.isDefault?S.text+u("(Default)"):S.text,M=x===o.length-1?f:{};g.push((0,KA.jsx)(lc,{value:S.value,title:T,style:M,children:(0,KA.jsx)("span",{children:T})},S.value)),i===S.value&&(h=T)}l.hiddenClear||g.push((0,KA.jsx)(lc,{"data-test":"(Clear)",value:m.clear,title:u("(Clear)"),children:u("(Clear)")},m.clear));let y=async x=>{var M;let S=i||((M=o.find(I=>I.isDefault))==null?void 0:M.value),T=await ei();C.windowBridge.publish("openDesignRuleDialog",{activeTab:"Rule",activeMenu:p,activeMenuName:S},T.contentWindow)},w=x=>{if(x===m.newRule){Ic("pcb_DRC",{addItemAndFocus:p});return}else if(x===m.clear){c("");return}i!==x&&c(x)};return(0,KA.jsxs)(KA.Fragment,{children:[(0,KA.jsx)(ld,{selectedValue:i,selectedText:h,disabled:s,width:"100%",height:"24px",style:{minWidth:0},showHoverTitle:!0,onItemChange:(x,S,T)=>w(x),isTranslateForSelectedText:!1,children:g}),(0,KA.jsx)("i",{"data-test":a,title:me.i18n(a),className:be("icon-eda-setting"),style:{display:"block",width:32,height:16,backgroundPosition:"center",cursor:"pointer"},onClick:()=>{y(e)}})]})};function XTr(t,e=""){return{safe:"Safe Spacing",creepage:"Creepage Distance",other:"Other Spacing",track:"Track",diff:"Differential Pair",radius:"Via Size",plane:e==="attr-net-spacing-rule"?"Safe Spacing":"Plane Zone",copper:e==="attr-net-spacing-rule"?"Safe Spacing":"Copper Zone"}[t]}function N9i(t){return{safe:"Safe Spacing",creepage:"Creepage Distance",other:"Other Spacing",track:"Track",diff:"Differential Pair",radius:"Via Size",plane:"Plane Zone",copper:"Copper Zone"}[t]}var JP=class{static unitInputType(e,i){return{valueType:"unitInput",originUnit:e,inputUnit:e,positive:i}}static getProfilePanelTitle(e){switch(e){case 1:return"Round Outline";case 2:return"Rectangle Outline";case 3:return"Line Outline";case 4:return"Arc Outline"}}};var fD=L(z()),MH=JP.unitInputType;function O9i(t){let{blendedData:e,attrList:i,primitiveType:o,unit:r,locked:n,readonly:a}=t,s={title:"Prohibited Option",content:{data:[]}};return s.content.data.push(...q_e([{propertyKey:"attr-prohibit-device",text:"Component",checked:i["attr-prohibit-device"].value,disabled:n||a===!0,callScene:e.callScene},{propertyKey:"attr-prohibit-fill",text:"Fill Region",checked:i["attr-prohibit-fill"].value,disabled:n||a===!0,callScene:e.callScene},{propertyKey:"attr-prohibit-track",text:"Track",checked:i["attr-prohibit-track"].value,disabled:n||a===!0,callScene:e.callScene},{propertyKey:"attr-prohibit-copper",text:me._context_i18n("pcbAttrMgrAttribute","Copper"),checked:i["attr-prohibit-copper"].value,disabled:n||a===!0,callScene:e.callScene},{propertyKey:"attr-prohibit-plane",text:"Plane Zone",checked:i["attr-prohibit-plane"].value,disabled:n||a===!0,callScene:e.callScene}])),s}function R9i(t){let{blendedData:e,attrList:i,primitiveType:o,unit:r,readonly:n}=t,a={title:"Constraint Option",content:{data:[]}};return a.content.data.push(SI({propertyKey:"attr-constraint-safe",value:i["attr-constraint-safe"].value,valueOptions:i["attr-constraint-safe"].options,ruleType:"safe",callScene:e.callScene,disabled:n===!0}),SI({propertyKey:"attr-constraint-creepage",value:i["attr-constraint-creepage"].value,valueOptions:i["attr-constraint-creepage"].options,ruleType:"creepage",callScene:e.callScene,isHide:!_t,disabled:n===!0}),SI({propertyKey:"attr-constraint-other",value:i["attr-constraint-other"].value,valueOptions:i["attr-constraint-other"].options,ruleType:"other",callScene:e.callScene,disabled:n===!0}),SI({propertyKey:"attr-constraint-track",value:i["attr-constraint-track"].value,valueOptions:i["attr-constraint-track"].options,ruleType:"track",callScene:e.callScene,disabled:n===!0}),SI({propertyKey:"attr-constraint-diff",value:i["attr-constraint-diff"].value,valueOptions:i["attr-constraint-diff"].options,ruleType:"diff",callScene:e.callScene,disabled:n===!0}),SI({propertyKey:"attr-constraint-radius",value:i["attr-constraint-radius"].value,valueOptions:i["attr-constraint-radius"].options,ruleType:"radius",callScene:e.callScene,disabled:n===!0}),SI({propertyKey:"attr-constraint-plane",value:i["attr-constraint-plane"].value,valueOptions:i["attr-constraint-plane"].options,ruleType:"plane",callScene:e.callScene,disabled:n===!0}),SI({propertyKey:"attr-constraint-copper",value:i["attr-constraint-copper"].value,valueOptions:i["attr-constraint-copper"].options,ruleType:"copper",callScene:e.callScene,disabled:n===!0})),a}function _9i(t){let{blendedData:e,attrList:i,primitiveType:o,unit:r,readonly:n}=t,a={title:"Manufacturing Properties",content:{data:[]}},s="FPCStiffenerAttr";return a.content.data.push({propertyKey:"attr-fpc-stiffener-material",propertyTitle:"Material",value:i["attr-fpc-stiffener-material"].value,valueType:"select",valueOptions:i["attr-fpc-stiffener-material"].options,disabled:n===!0,propertyTitleDataTest:"Material"},{propertyKey:"attr-fpc-stiffener-model",propertyTitle:me._context_i18n(s,"Model",null),value:i["attr-fpc-stiffener-model"].value,valueType:"select",valueOptions:i["attr-fpc-stiffener-model"].options,hidden:i["attr-fpc-stiffener-material"].value!=="Tape",disabled:n===!0,propertyTitleDataTest:"Model"},{propertyKey:"attr-fpc-stiffener-thickness",propertyTitle:(0,fD.jsxs)(fD.Fragment,{children:[(0,fD.jsx)("span",{"data-test":"Thickness",title:"Thickness",children:me._context_i18n(s,"Thickness",null)}),Xr&&(0,fD.jsx)("a",{style:{marginLeft:3,color:"#1890ff"},"data-test":"Thickness Calculation Tool",title:"Thickness Calculation Tool",href:C.HelpURL.fpcThicknessCalc,target:"_blank",children:me.i18n("Thickness Calculation Tool")})]}),value:i["attr-fpc-stiffener-thickness"].value,valueOptions:i["attr-fpc-stiffener-thickness"].options,valueType:"select",disabled:i["attr-fpc-stiffener-thickness"].options.length<=1||n===!0}),a}function j9i(t){let{blendedData:e,attrList:i,primitiveType:o,unit:r,locked:n,readonly:a}=t,s=e.attrlist[o];return[l(),c()];function l(){var m;let u={title:"Fill Setup",content:{data:[]}},p=i["attr-copper-fill-style"].value==="solid";return u.content.data.push({propertyKey:"attr-copper-fill-style",propertyTitle:"Fill Style",value:i["attr-copper-fill-style"].value,valueType:"select",valueOptions:(m=i["attr-copper-fill-style"].options)==null?void 0:m.map(h=>({...h,text:me._context_i18n("pcbAttrMgrAttribute",h.text)})),disabled:n||a===!0},{propertyKey:"attr-copper-line-width",propertyTitle:Rt.LineWidth,value:i["attr-copper-line-width"].value,...MH(r),hidden:p,disabled:n||a===!0},{propertyKey:"attr-copper-line-spacing",propertyTitle:"Line Spacing",value:i["attr-copper-line-spacing"].value,...MH(r),hidden:p,disabled:n||a===!0},{propertyKey:"attr-isolated-island",propertyTitle:"Keep Island",value:i["attr-isolated-island"].value,valueType:"select",valueOptions:wv(),disabled:n||a===!0},{propertyKey:"attr-manufacture-optimization",propertyTitle:"Optimization",value:i["attr-manufacture-optimization"].value,valueType:"select",valueOptions:wv(),hidden:!p,disabled:n||a===!0},{propertyKey:"attr-manufacture-optimization-value",propertyTitle:"Mininum Optimized Width",value:i["attr-manufacture-optimization-value"].value,valueType:"unitInput",...MH(r,!0),hidden:!p||i["attr-manufacture-optimization"].value=="no",disabled:n||a===!0}),e.callScene==="ATTR_PANEL"&&u.content.data.push({value:null,isShowPropertyKey:!1,contentStyle:{justifyContent:"center",padding:"8px 0",paddingRight:16},contentRender:()=>(0,fD.jsx)(Me,{"data-test":"Rebuild Copper Region",type:"primary",onClick:()=>{let f={action:"rebuildCopperArea",data:{id:t.ids}};C.messageBus.publish("buttomCommand",f)},children:"Rebuild Copper Region"}),disabled:a===!0},{isShowPropertyKey:!1,value:null,contentStyle:{justifyContent:"center",padding:"8px 0",paddingRight:16},contentRender:()=>(0,fD.jsx)(Me,{"data-test":"Place/Remove Suture Vias",type:"primary",onClick:()=>{let f={action:"autoPlaceSutureVias",data:{ids:t.ids||""}};C.messageBus.publish("buttomCommand",f)},children:"Place/Remove Suture Vias"}),disabled:a===!0}),u}function c(){let u={title:"Rule Setting",content:{data:[]}},p=i["attr-planezone-net-rule-type"].value==="2",m=i["attr-planezone-thermal-rule-type"].value==="2",h=i["attr-net-spacing-list"].value||[],f=i["attr-dist-border-outline-list"].value||[],g=new Set([...h]).size===1,b=new Set([...f]).size===1;if(u.content.data.push({propertyKey:"attr-planezone-net-rule-type",isShowPropertyKey:!1,value:i["attr-planezone-net-rule-type"].value,valueType:"radio",valueOptions:[{value:"1",text:"By Network"},{value:"2",text:"Custom"}],disabled:n||a===!0}),u.content.data.push(SI({propertyKey:"attr-net-spacing-rule",propertyTitle:p?"Custom Spacing Rule":"Net Spacing Rule",value:i["attr-net-spacing-rule"].value,valueOptions:i["attr-net-spacing-rule"].options,ruleType:"copper",funOption:{newRuleTitle:"New Copper Rule...",hiddenClear:!0},onChange:(T,M)=>{let I=T["attr-net-spacing-rule"].value;if(i["attr-planezone-net-rule-type"].value==="1"){let A=i["attr-select-net"].value,D='All "{0}" network copper rules will be set to "{1}" (except custom plane rules). Are you sure?';D=me.i18n(D,[A,I]),Dt({title:"Warning",icon:"warning",closed:!0,content:D,showCancel:!0,onConfirm:()=>{Oc("attr-net-spacing-rule",I,null,{callScene:e.callScene})}});return}Oc("attr-net-spacing-rule",I,null,{callScene:e.callScene})},callScene:e.callScene,disabled:a===!0||!p&&i["attr-select-net"].value===""})),h===Mn.complexValues)u.content.data.push({propertyKey:"attr-net-spacing-list",propertyTitle:"Network Spacing",value:h,valueType:"input",disabled:!0});else if(g)u.content.data.push({propertyKey:"attr-net-spacing-list",propertyTitle:"Network Spacing",value:h[0]||0,...MH(r),disabled:!0});else{let T=[];T.push({title:`${me.i18n("Distance to Track")} ${h[0]||0}${r}`}),T.push({title:`${me.i18n("Distance to SMD Pad")} ${h[1]||0}${r}`}),T.push({title:`${me.i18n("Distance to TH Pad")} ${h[2]||0}${r}`}),T.push({title:`${me.i18n("Distance to SMD_Test_Point")} ${h[3]||0}${r}`}),T.push({title:`${me.i18n("Distance to TH_Test_Point")} ${h[4]||0}${r}`}),T.push({title:`${me.i18n("Distance to Via")} ${h[5]||0}${r}`}),T.push({title:`${me.i18n("Distance to Fill Region/Teardrop")} ${h[6]||0}${r}`}),T.push({title:`${me.i18n("Distance to Copper Region/Plane Zone")} ${h[7]||0}${r}`}),T.push({title:`${me.i18n("Distance to Line")} ${h[8]||0}${r}`}),T.push({title:`${me.i18n("Distance to Text/Image")} ${h[9]||0}${r}`}),T.push({title:`${me.i18n("Distance to Hole")} ${h[10]||0}${r}`}),u.content.data.push({propertyKey:"attr-net-spacing-list",propertyTitle:"Network Spacing",value:JSON.stringify(T),valueType:"textAreaRelevancePCB",disabled:!0,textAreaRelevancePCBOptional:{storageKey:"textAreaRelevanceHeightNetSpacingList"}})}if(f===Mn.complexValues)u.content.data.push({propertyKey:"attr-dist-border-outline-list",propertyTitle:"Distance To Border Outline",value:f,valueType:"input",disabled:!0});else if(b)u.content.data.push({propertyKey:"attr-dist-border-outline-list",propertyTitle:"Distance To Border Outline",value:f[0]||0,...MH(r),disabled:!0});else{let T=[];T.push({title:`${me.i18n("Distance to Board Outline")} ${f[0]||0}${r}`}),T.push({title:`${me.i18n("Distance to Slot Region")} ${f[1]||0}${r}`}),u.content.data.push({propertyKey:"attr-dist-border-outline-list",propertyTitle:"Distance To Border Outline",value:JSON.stringify(T),valueType:"textAreaRelevancePCB",disabled:!0,textAreaRelevancePCBOptional:{storageKey:"textAreaRelevanceHeightDistBorOutList"}})}u.content.data.push({propertyKey:"attr-planezone-thermal-rule-type",isShowPropertyKey:!1,value:i["attr-planezone-thermal-rule-type"].value,valueType:"radio",valueOptions:[{value:"1",text:"By Network"},{value:"2",text:"Custom"}],disabled:n||a===!0}),u.content.data.push(SI({propertyKey:"attr-net-thermals-rule",propertyTitle:m?"Custom Thermals Rule":"Net Thermals Rule",value:i["attr-net-thermals-rule"].value,valueOptions:i["attr-net-thermals-rule"].options,ruleType:"copper",funOption:{newRuleTitle:"New Copper Rule...",hiddenClear:!0},onChange:(T,M)=>{let I=T["attr-net-thermals-rule"].value;if(i["attr-planezone-thermal-rule-type"].value==="1"){let A=i["attr-select-net"].value,D='All "{0}" network copper rules will be set to "{1}" (except custom plane rules). Are you sure?';D=me.i18n(D,[A,I]),Dt({title:"Warning",icon:"warning",closed:!0,content:D,showCancel:!0,onConfirm:()=>{Oc("attr-net-thermals-rule",I,null,{callScene:e.callScene})}});return}Oc("attr-net-thermals-rule",I,null,{callScene:e.callScene})},callScene:e.callScene,disabled:a===!0||!m&&i["attr-select-net"].value===""}));let y=[{propertyKey:"attr-pad-connection",propertyTitle:"Pad Connection",value:i["attr-pad-connection"].value,valueType:"select",valueOptions:d(),disabled:!0}];String(i["attr-pad-connection"].value)===String(0)&&y.push({propertyKey:"attr-spoke-spacing",propertyTitle:"Spoke Spacing",value:i["attr-spoke-spacing"].value,...MH(r),disabled:!0},{propertyKey:"attr-spoke-width",propertyTitle:"Spoke Width",value:i["attr-spoke-width"].value,...MH(r),disabled:!0},{propertyKey:"attr-spoke-angles",propertyTitle:"Spoke Angles",value:me.i18n(i["attr-spoke-angles"].value+" Degrees"),valueType:"input",disabled:!0});let x=[{propertyKey:"attr-multi-layer-pad-connection",propertyTitle:"Pad Connection",value:i["attr-multi-layer-pad-connection"].value,valueType:"select",valueOptions:d(),disabled:!0}];return String(i["attr-multi-layer-pad-connection"].value)===String(0)&&x.push({propertyKey:"attr-multi-layer-spoke-spacing",propertyTitle:"Spoke Spacing",value:i["attr-multi-layer-spoke-spacing"].value,...MH(r),disabled:!0},{propertyKey:"attr-multi-layer-spoke-width",propertyTitle:"Spoke Width",value:i["attr-multi-layer-spoke-width"].value,...MH(r),disabled:!0},{propertyKey:"attr-multi-layer-spoke-angles",propertyTitle:"Spoke Angles",value:me.i18n(i["attr-multi-layer-spoke-angles"].value+" Degrees"),valueType:"input",disabled:!0}),u.content.data.push({propertyTitle:"Single-layer Pad",keyStyle:{fontWeight:"bolder"},value:null,contentRender:()=>(0,fD.jsx)(fD.Fragment,{}),disabled:a===!0}),u.content.data.push(...y),u.content.data.push({propertyTitle:"Multi-layer Pad",keyStyle:{fontWeight:"bolder"},value:null,contentRender:()=>(0,fD.jsx)(fD.Fragment,{}),disabled:a===!0}),u.content.data.push(...x),u.content.data.push({propertyKey:"attr-track-connection",propertyTitle:"Track Connection",value:i["attr-track-connection"].value,valueType:"select",valueOptions:[{text:"Direct",value:0},{text:"No Connection",value:1}],disabled:!0,style:{marginTop:10}}),u}function d(){return[{value:0,text:"Spoke"},{value:1,text:"Direct"},{value:2,text:"No Connection"}]}}function P9i(t,e,i,o){return{isShowPropertyKey:!1,isShowValueCheckbox:!1,propertyKey:"Bridging-Copper-Child",value:e,valueType:"selectNetNamePCB",valueOptions:i,style:{margin:"0 0 8px"},disabled:o===!0,onCommonDispatch(n,a){let{extra:s={}}=a,{childId:l}=s,{dialogId:c}=(t==null?void 0:t.extra)||{},d={pcbBridgingCopperIndex:l};if(t.callScene!=="ATTR_PANEL"){let u=Xi();C.windowBridge.publish("pcbdialogCMD",{action:n,data:d,dialogId:c},u.contentWindow),C.messageBus.publish("closeDialogAttrView",{action:"attribute-for-2dline"});return}C.messageBus.publish("buttomCommand",{action:n,data:d})},onChange:(n,a)=>{let{extra:s,valueOptions:l,value:c}=a["Bridging-Copper-Child"],d=n["Bridging-Copper-Child"].value,u=Object.values(s).length>0,p=s.childId;if(u&&p){let h=l.map(({value:f})=>f).includes(d)||d===""?d:c;Oc("attr-bridging-copper-netlists",{index:Number(p),value:h},void 0,{callScene:t.callScene})}}}}function B9i(t){var l,c,d;let{blendedData:e,attrList:i,readonly:o}=t,r={title:"Bridge",content:{data:[]}},a={addButton:!0,deleteButton:!0,upButton:!1,downButton:!1,addDisabled:!1,deleteDisabled:!0,onClick:(u,p)=>{switch(u){case"add":break;case"delete":let m=p.map(h=>h.value);Oc("attr-bridging-copper-netlists",m,void 0,{callScene:e.callScene});break}}},s=(c=(l=i["attr-is-bridging-copper"])==null?void 0:l.value)!=null?c:!1;if(r.content.data.push({propertyKey:"attr-is-bridging-copper",propertyTitle:Rt.CopperBridge,value:s,valueType:"select",valueOptions:[{value:!0,text:"Yes"},{value:!1,text:"No"}].map(u=>({...u,dataTest:u.text}))}),s){let u=(d=i["attr-select-net"])==null?void 0:d.options,p=i["attr-bridging-copper-netlists"].value,m=new Array,h=p==="<...>",f=P9i(e,h?"<...>":"",u,o);h?(a.addDisabled=!0,a.deleteDisabled=!0,f.disabled=!0,f.valueDisabled=!0):p.forEach(g=>{let b=u.filter(y=>!p.includes(y.value)||y.value===g);m.push(P9i(e,g,b,o))}),r.content.data.push({isShowPropertyKey:!1,value:"",propertyKey:"BridgingCopper",propertyTitle:"BridgingCopper",valueType:"operableList",buttonsConfig:a,extra:{defaultFirstRow:f,originLists:u,childIprops:m,isComplex:h}})}return r}var vq=L(z());function N1e(t){return{isShowPropertyKey:!1,value:null,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,contentStyle:{width:"100%"},style:{margin:0,height:"fit-content"},contentRender:(i,o)=>(0,vq.jsx)(i5r,{...t,onChange:o})}}var i5r=t=>{let{props1:e,props2:i,getLink:o,onLinkClick:r,onChange:n}=t,a=J(),s=ca(),l=o();return(0,vq.jsxs)("div",{style:{width:"100%"},children:[(0,vq.jsxs)("div",{children:[(0,vq.jsx)(ao,{...e,contentStyle:{marginRight:32,...e.contentStyle},onChange:n}),(0,vq.jsx)(ao,{...i,contentStyle:{marginRight:32,...e.contentStyle},onChange:n})]}),(0,vq.jsx)("i",{"data-test":`Link ${e.propertyTitle} ${e.propertyTitle}`,title:a(l?"Keep width/height ratio":"Not keep width/height ratio"),className:be(l?"icon-eda-link":"icon-eda-unlink"),style:c(),onClick:()=>{let d=!l;r==null||r(d),s()}})]});function c(){return{position:"absolute",top:20,bottom:0,right:14,width:16,height:16,backgroundSize:"16px 16px",backgroundRepeat:"no-repeat",transform:"rotate(90deg)",cursor:"pointer"}}};var C4=JP.unitInputType;function THe(t){var u,p,m,h,f,g,b,y,w,x;let{blendedData:e,attrList:i,primitiveType:o,unit:r,profileType:n,shapeType:a,locked:s,readonly:l}=t,c={title:JP.getProfilePanelTitle(a),content:{data:[]}},d=c.content.data;if(a===1)d.push({propertyKey:"attr-x",propertyTitle:Rt.CenterX,value:i["attr-x"].value,...C4(r),disabled:s||l===!0},{propertyKey:"attr-y",propertyTitle:Rt.CenterY,value:i["attr-y"].value,...C4(r),disabled:s||l===!0},EZ({propertyKey:"attr-radius",radius:i["attr-radius"].value,originUnit:r,inputUnit:r,disabled:s||l===!0}));else if(a===2)d.push({propertyKey:"attr-start-x",propertyTitle:Rt.StartX,value:i["attr-start-x"].value,...C4(r),disabled:s||l===!0},{propertyKey:"attr-start-y",propertyTitle:Rt.StartY,value:i["attr-start-y"].value,...C4(r),disabled:s||l===!0},N1e({props1:{propertyKey:"attr-width",propertyTitle:Rt.Width,value:i["attr-width"].value,...C4(r),valueDisabled:s||l===!0,callScene:e.callScene},props2:{propertyKey:"attr-height",propertyTitle:Rt.Height,value:i["attr-height"].value,...C4(r),valueDisabled:s||l===!0,callScene:e.callScene},getLink:()=>localStorage.getItem("linked-width-height")=="1",onLinkClick:S=>{localStorage.setItem("linked-width-height",S?"1":"0")}}),{propertyKey:"attr-corner-radius",propertyTitle:"Corner Radius",value:i["attr-corner-radius"].value,...C4(r),disabled:s||l===!0},{propertyKey:"attr-rotation",propertyTitle:Rt.Rotation,value:i["attr-rotation"].value,valueType:"numberInput",disabled:s||l===!0});else if(a===3)d.push({propertyKey:"attr-start-x",propertyTitle:Rt.StartX,value:i["attr-start-x"].value,...C4(r),disabled:s||l===!0},{propertyKey:"attr-start-y",propertyTitle:Rt.StartY,value:i["attr-start-y"].value,...C4(r),disabled:s||l===!0},{propertyKey:"attr-end-x",propertyTitle:Rt.EndX,value:i["attr-end-x"].value,...C4(r),disabled:s||l===!0},{propertyKey:"attr-end-y",propertyTitle:Rt.EndY,value:i["attr-end-y"].value,...C4(r),disabled:s||l===!0},{propertyKey:"attr-line-length",propertyTitle:Rt.LineLength,value:i["attr-line-length"].value,...C4(r),valueDisabled:!0});else if(a===4){let S=i["attr-arc-type"].value;d.push({propertyKey:"attr-arc-type",propertyTitle:Rt.ArcType,value:S,valueType:"select",valueOptions:[{value:1,text:"Two Points Arc"},{value:2,text:"Center Arc"}],disabled:s||l===!0});let T=[{propertyKey:"attr-x",propertyTitle:Rt.CenterX,value:((u=i["attr-x"])==null?void 0:u.value)||0,...C4(r),disabled:s||l===!0},{propertyKey:"attr-y",propertyTitle:Rt.CenterY,value:((p=i["attr-y"])==null?void 0:p.value)||0,...C4(r),disabled:s||l===!0},EZ({propertyKey:"attr-radius",radius:((m=i["attr-radius"])==null?void 0:m.value)||0,originUnit:r,inputUnit:r,disabled:s||l===!0}),{propertyKey:"attr-start-arc-angle",propertyTitle:"Start Arc Angle",value:((h=i["attr-start-arc-angle"])==null?void 0:h.value)||0,valueType:"numberInput",disabled:s||l===!0},{propertyKey:"attr-end-arc-angle",propertyTitle:"End Arc Angle",value:((f=i["attr-end-arc-angle"])==null?void 0:f.value)||0,valueType:"numberInput",disabled:s||l===!0}],M=[{propertyKey:"attr-start-x",propertyTitle:Rt.StartX,value:((g=i["attr-start-x"])==null?void 0:g.value)||0,...C4(r),disabled:s||l===!0},{propertyKey:"attr-start-y",propertyTitle:Rt.StartY,value:((b=i["attr-start-y"])==null?void 0:b.value)||0,...C4(r),disabled:s||l===!0},{propertyKey:"attr-end-x",propertyTitle:Rt.EndX,value:((y=i["attr-end-x"])==null?void 0:y.value)||0,...C4(r),disabled:s||l===!0},{propertyKey:"attr-end-y",propertyTitle:Rt.EndY,value:((w=i["attr-end-y"])==null?void 0:w.value)||0,...C4(r),disabled:s||l===!0},{propertyKey:"attr-arc-angle",propertyTitle:Rt.ArcRotation,value:((x=i["attr-arc-angle"])==null?void 0:x.value)||0,valueType:"numberInput",disabled:s||l===!0}];S===2?d.push(...T):S===1?d.push(...M):d.push(...M,...T),d.push({propertyKey:"attr-arc-length",propertyTitle:Rt.ArcLength,value:i["attr-arc-length"].value,...C4(r),disabled:!0})}return c}var z9i=JP.unitInputType;function F9i(t){var I,A;let{blendedData:e,attrList:i,primitiveType:o,unit:r,profileType:n,shapeType:a,locked:s,readonly:l}=t,c=Is(),d={title:"Property",content:{data:[]}},u=i["attr-2dline-type"]||{},p=i["attr-2dline-name"]||{},m=i["attr-layerid"]||{},h=i["attr-stroke-width"]||{},f=i["attr-length"]||{},g=i["attr-select-net"]||{},b=i["attr-locked"]||{},y=i["attr-id"]||{},w=(A=(I=i["attr-is-bridging-copper"])==null?void 0:I.value)!=null?A:!1,x=new Map;for(let D in i){let E;switch(D){case"attr-2dline-type":{E={propertyKey:"attr-2dline-type",propertyTitle:Rt.Type,value:u.value,valueType:"select",valueOptions:u.options,disabled:s||l===!0};break}case"attr-2dline-name":{E={propertyKey:"attr-2dline-name",propertyTitle:Rt.Name,value:p.value,valueType:"input",disabled:s||l===!0};break}case"attr-stroke-width":{E={propertyKey:"attr-stroke-width",propertyTitle:Rt.LineWidth,value:h.value,...z9i(r),disabled:s||l===!0};break}case"attr-length":{E={propertyKey:"attr-length",propertyTitle:Rt.Length,value:f.value,...z9i(r),disabled:s||l===!0};break}case"attr-select-net":{E={propertyKey:"attr-select-net",propertyTitle:Rt.Net,value:g.value,valueType:"selectNetNamePCB",valueOptions:ue.naturalSort(g.options,"value"),onCommonDispatch(N){let R=e.extra||{};if(e.callScene!=="ATTR_PANEL"){let k=Xi();C.windowBridge.publish("pcbdialogCMD",{action:"netSelect",data:{id:[]},dialogId:R.dialogId},k.contentWindow),C.messageBus.publish("closeDialogAttrView",{action:"attribute-for-2dline"});return}let v={action:N,data:{id:t.ids}};C.messageBus.publish("buttomCommand",v)},disabled:l===!0||c},n=="Fill Region"&&w&&(E.value="",E.disabled=!0);break}case"attr-locked":{E={propertyKey:"attr-locked",propertyTitle:Rt.Locked,value:b.value,valueType:"select",valueOptions:wv(),disabled:l===!0};break}case"attr-id":{E={propertyKey:"attr-id",propertyTitle:Rt.ID,value:y.value,valueType:"input",disabled:!0};break}case"attr-layerid":{E={propertyKey:"attr-layerid",propertyTitle:Rt.Layer,value:m.value,valueType:"select",valueOptions:m.options.map(N=>eP.includes(N.text)?{...N,showOriginalText:!0}:N),disabled:s||l===!0};break}}x.set(D,E)}return n!==MZ?d.content.data=T(n,x):d.content.data=S(x),d;function S(D){let E=u.types||[],N={};E.forEach(k=>{T(k,D).forEach(P=>{P.hidden||(N[P.propertyKey]=N[P.propertyKey]||0,N[P.propertyKey]++)})});let R=["attr-2dline-type","attr-layerid","attr-stroke-width","attr-select-net","attr-locked","attr-id"],v=M(R);return v=v.filter(k=>N[k.propertyKey]),v}function T(D,E){switch(D){case"Board Outline":{let N=["attr-2dline-type","attr-layerid","attr-stroke-width","attr-locked","attr-id"];return M(N)}case"Slot Region":{let N=["attr-2dline-type","attr-layerid","attr-locked","attr-id"];return M(N)}case"Copper Region":{let N=["attr-2dline-type","attr-2dline-name","attr-layerid","attr-select-net","attr-stroke-width","attr-locked","attr-id"];return M(N)}case"Line":{let N=["attr-2dline-type","attr-layerid","attr-stroke-width","attr-length","attr-select-net","attr-locked","attr-id"];return M(N)}case"Fill Region":{let N=["attr-2dline-type","attr-layerid","attr-select-net","attr-locked","attr-id"];return M(N)}case"Prohibited Region":{let N=["attr-2dline-type","attr-layerid","attr-locked","attr-id"];return M(N)}case"Constraint Region":{let N=["attr-2dline-type",,"attr-2dline-name","attr-layerid","attr-locked","attr-id"];return M(N)}case"partition":{let N=["attr-2dline-type","attr-2dline-name","attr-id"];return M(N)}case"FPC Stiffener":{let N=["attr-layerid","attr-locked","attr-id"];return M(N)}}}function M(D){let E=[];for(let N of D)x.has(N)&&E.push(x.get(N));return E}}var MHe=L(z());function MLt(t){var A,D,E;let{unit:e,readonly:i,combination:o,selectCount:r,doctype:n}=t,a=t.extra||{},s=t.primitiveType,l=t.attrlist[s],c=(A=l["attr-2dline-type"])==null?void 0:A.value,d=+((D=l["attr-2dline-outline-type"])==null?void 0:D.value),u=((E=l["attr-locked"])==null?void 0:E.value)==="yes",p=a==null?void 0:a.isSignalLayer,m=I(),h={blendedData:t,attrList:l,primitiveType:s,unit:e,profileType:c,shapeType:d,locked:u,ids:m,readonly:i},f=[],g=F9i(h),b=S(),y=THe(h),w=T(),x=M();return f.push(g),c!=="Fill Region"&&f.push(...b),f.push(y),o&&o.isAllCombination?f.unshift(w):f.push(w),n===se.PCB&&x&&f.push(x),c=="Fill Region"&&f.push(...b),f=f.filter(N=>N.content.data.length),f;function S(){let N=[];switch(c){case"Prohibited Region":{let R=O9i(h);N.push(R);break}case"Fill Region":{if(!p||t.doctype===se.FOOTPRINT)break;let R=B9i(h);N.push(R);break}case"Copper Region":{let R=j9i(h);N.push(...R);break}case"Constraint Region":{let R=R9i(h);N.push(R);break}case"FPC Stiffener":{let R=_9i(h);N.push(R);break}}return N}function T(){let N={title:"Combination",content:{data:[]}};if(o&&o.isAllCombination){N.title="Group Name";let R=r>1;N.content.data.push({propertyKey:"attr-combination",isShowPropertyKey:!1,value:l["attr-combination"].value,valueType:"selectInput",valueOptions:l["attr-combination"].options,disabled:u||R,stillNeedClear:R})}else N.content.data.push({propertyKey:"attr-combination",propertyTitle:Rt.Group,value:l["attr-combination"].value,valueType:"selectInput",valueOptions:l["attr-combination"].options,disabled:u||i===!0});return N}function M(){var P;if(!J_e(String((P=l["attr-layerid"])==null?void 0:P.value)))return null;let N={title:"Silk",content:{data:[]}},R=l["attr-silk-color"],v=R?R.defaultValue:_e.HEX_BLACK_COLOR,k=R&&R.value&&!R.followDefault?R.value:v;return N.content.data.push({propertyTitle:Rt.SilkScreenColor,value:k.toLocaleUpperCase(),defaultValue:v.toLocaleUpperCase(),valueType:"color",propertyKey:"attr-silk-color",disabled:u||i===!0,colorPickerRestoreAction(O,_,j,B){Oc(O,"",j,B)},contentRender:O=>(O=U9i.default.cloneElement(O,{allowNone:!1}),(0,MHe.jsx)(MHe.Fragment,{children:O}))}),N}function I(){let N=t.idListOfPrimitive,R=[];return Object.values(N).forEach(v=>{for(let k=0;k<v.length;k++)R.push(v[k])}),R}}var qP=class{static unitInputType(e){return{valueType:"unitInput",originUnit:e,inputUnit:e}}static getProfilePanelTitle(e){switch(e){case 1:return"Round Outline";case 2:return"Rectangle Outline";case 3:return"Line Outline";case 4:return"Arc Outline"}}static getShapeType(e){switch(e){case"Round Outline":return 1;case"Rectangle Outline":return 2;default:return 5}}static getOutlineTypeOptions(e){let i=[{value:"DRAWER",text:"Push cover"},{value:"T&B",text:"Upper and lower shell"}];return e!==2&&(i=i.filter(o=>["T&B"].includes(o.value))),i}static getScrewSpecificationOptions(){return[{value:"M2",text:"M2"},{value:"M3",text:"M3"},{value:"M4",text:"M4"},{value:"M5",text:"M5"},{value:"M6",text:"M6"},{value:"Custom",text:"Custom"}]}};var ZA=qP.unitInputType;function V9i(t){let{blendedData:e,attrList:i,primitiveType:o,unit:r,locked:n,readonly:a}=t,s={title:"Path",content:{data:[]}};return s.content.data.push({propertyKey:"attr-start-x",propertyTitle:Rt.StartX,value:i["attr-start-x"].value,...ZA(r),disabled:n||a===!0},{propertyKey:"attr-start-y",propertyTitle:Rt.StartY,value:i["attr-start-y"].value,...ZA(r),disabled:n||a===!0},{propertyKey:"attr-end-x",propertyTitle:Rt.EndX,value:i["attr-end-x"].value,...ZA(r),disabled:n||a===!0},{propertyKey:"attr-end-y",propertyTitle:Rt.EndY,value:i["attr-end-y"].value,...ZA(r),disabled:n||a===!0}),s}function H9i(t){let{blendedData:e,attrList:i,primitiveType:o,unit:r,readonly:n}=t,a={title:"Slot Option",content:{data:[]}};return a.content.data.push(...q_e([{propertyKey:"attr-3dshell-slot-option-outline",text:"Shell Outline",checked:i["attr-3dshell-slot-option-outline"].value,callScene:e.callScene,disabled:n===!0},{propertyKey:"attr-3dshell-slot-option-screw-pillar",text:"Screw Pillar",checked:i["attr-3dshell-slot-option-screw-pillar"].value,callScene:e.callScene,disabled:n===!0},{propertyKey:"attr-3dshell-slot-option-entity",text:"Entity",checked:i["attr-3dshell-slot-option-entity"].value,callScene:e.callScene,disabled:n===!0}])),a}function G9i(t){let{blendedData:e,attrList:i,primitiveType:o,unit:r,locked:n,readonly:a}=t;return[s(),l(),c()];function s(){let d={title:"Stiffener",content:{data:[]}},u=i["attr-3d-shell-need-stiffener"].value;return d.content.data.push({propertyKey:"attr-3d-shell-need-stiffener",propertyTitle:"Need Stiffener",value:u,valueType:"select",valueOptions:wv({},!0),disabled:a===!0}),u===!0&&d.content.data.push({propertyKey:"attr-3d-shell-stiffener-top-width",propertyTitle:"Top Width of Stiffener",value:i["attr-3d-shell-stiffener-top-width"].value,...ZA(r),disabled:a===!0},{propertyKey:"attr-3d-shell-stiffener-bottom-width",propertyTitle:"Bottom Width of Stiffener",value:i["attr-3d-shell-stiffener-bottom-width"].value,...ZA(r),disabled:a===!0},{propertyKey:"attr-3d-shell-stiffener-height",propertyTitle:"Stiffener Height",value:i["attr-3d-shell-stiffener-height"].value,...ZA(r),disabled:a===!0},{propertyKey:"attr-3d-shell-stiffener-thickness",propertyTitle:"Stiffener Thickness",value:i["attr-3d-shell-stiffener-thickness"].value,...ZA(r),disabled:a===!0}),d}function l(){let d={title:"Counterbore",content:{data:[]}},u=i["attr-3d-shell-need-counterbore"].value;return d.content.data.push({propertyKey:"attr-3d-shell-need-counterbore",propertyTitle:"Need Counterbore",value:u,valueType:"select",valueOptions:wv({},!0),disabled:a===!0}),u===!0&&d.content.data.push({propertyKey:"attr-3d-shell-counterbore-height",propertyTitle:"Counterbore Height",value:i["attr-3d-shell-counterbore-height"].value,...ZA(r),disabled:a===!0},{propertyKey:"attr-3d-shell-counterbore-diameter",propertyTitle:"Counterbore Diameter",value:i["attr-3d-shell-counterbore-diameter"].value,...ZA(r),disabled:a===!0}),d}function c(){let d={title:"Location",content:{data:[]}};return d.content.data.push({propertyKey:"attr-x",propertyTitle:Rt.CenterX,value:i["attr-x"].value,...ZA(r),disabled:n||a===!0},{propertyKey:"attr-y",propertyTitle:Rt.CenterY,value:i["attr-y"].value,...ZA(r),disabled:n||a===!0},{propertyKey:"attr-locked",propertyTitle:Rt.Locked,value:i["attr-locked"].value,valueType:"select",valueOptions:wv(),disabled:a===!0}),d}}function IHe(t){let{callScene:e,propertyKey:i,propertyTitle:o,value:r,unit:n,readonly:a,onCalibrationClick:s}=t;return{propertyKey:i,propertyTitle:o,value:r,valueType:"unitInput",originUnit:n,inputUnit:n,disabled:a===!0,attachedContent:{type:"icon-button","icon-button":{title:"Automatic calibration",icon:"icon-eda-refresh-1",onClick:()=>{s?s():Oc("automatic-calibration",!0,null,{callScene:e})}}}}}var LHe=L(z()),Dq=qP.unitInputType,LLt="selectDatumLine";function Y9i(t){let{blendedData:e,attrList:i,primitiveType:o,unit:r,profileType:n,shapeType:a,locked:s,readonly:l}=t,c={title:"Property",content:{data:[]}},d=i["attr-layerid"]||{},u=i["attr-locked"]||{},p=i["attr-id"]||{},m={propertyKey:"attr-layerid",propertyTitle:Rt.Layer,value:d.value,valueType:"select",valueOptions:d.options,disabled:s||l===!0},h={propertyKey:"attr-locked",propertyTitle:Rt.Locked,value:u.value,valueType:"select",valueOptions:wv(),disabled:l===!0},f={propertyKey:"attr-id",propertyTitle:Rt.ID,value:p.value,valueType:"input",disabled:!0},g=c.content.data;switch(n){case"3D Shell - Outline":{g.push(...b());break}case"3D Shell - Screw Pillar":{g.push(...y());break}case"3D Shell - Side Datum Line":{g.push(m,h,f);break}case"3D Shell - Slot Region":{g.push(...w());break}case"3D Shell - Entity":{g.push(...x());break}}return c;function b(){let S=[],T=i["attr-3d-shell-type"].value;S.push({propertyKey:"attr-3d-shell-type",propertyTitle:Rt.Type,value:T,valueType:"select",valueOptions:qP.getOutlineTypeOptions(a),disabled:l===!0}),S.push(m);let M={propertyKey:"attr-3d-shell-height",propertyTitle:"Overall height of shell",value:i["attr-3d-shell-height"].value,...Dq(r),disabled:l===!0},I={propertyKey:"attr-3d-shell-substrate-height",propertyTitle:"PCB Height From The Bottom Surface of Shell",value:i["attr-3d-shell-substrate-height"].value,...Dq(r),disabled:l===!0},A={propertyKey:"attr-3d-shell-thickness",propertyTitle:"Shell thickness",value:i["attr-3d-shell-thickness"].value,...Dq(r),disabled:l===!0};return T==="T&B"?S.push(M,I,{propertyKey:"attr-3d-lower-shell-height",propertyTitle:"Height of lower shell",value:i["attr-3d-lower-shell-height"].value,...Dq(r),disabled:l===!0},A,{propertyKey:"attr-3d-shell-top-inner-height",propertyTitle:"Top Inner Height",value:i["attr-3d-shell-top-inner-height"].value,...Dq(r),disabled:l===!0},{propertyKey:"attr-3d-shell-bottom-inner-height",propertyTitle:"Bottom Inner Height",value:i["attr-3d-shell-bottom-inner-height"].value,...Dq(r),disabled:l===!0}):S.push({propertyKey:"attr-3d-shell-push-cover-direction",propertyTitle:"Push Cover Direction",value:i["attr-3d-shell-push-cover-direction"].value,valueType:"select",valueOptions:i["attr-3d-shell-push-cover-direction"].options,disabled:l===!0},M,I,A),S.push(h),S.push(f),S}function y(){let S=[];return S.push({propertyKey:"attr-3d-shell-screw-specifications",propertyTitle:"Screw specifications",value:i["attr-3d-shell-screw-specifications"].value,valueType:"select",valueOptions:qP.getScrewSpecificationOptions(),disabled:l===!0},m,IHe({propertyKey:"attr-3dshell-Shell-screw-column-height",propertyTitle:Rt.Height,value:i["attr-3dshell-Shell-screw-column-height"].value,unit:r,callScene:e.callScene,readonly:l}),{propertyKey:"attr-3dshell-shell-screw-hole-diameter",propertyTitle:me.i18n("3DShell.screwHoleDiameter"),value:i["attr-3dshell-shell-screw-hole-diameter"].value,...Dq(r),disabled:l===!0},{propertyKey:"attr-3dshell-shell-screw-thickness",propertyTitle:me.i18n("3DShell.screwThickness"),value:i["attr-3dshell-shell-screw-thickness"].value,...Dq(r),disabled:l===!0},f),S}function w(){let S=[],T=i["attr-3d-shell-grooving-type"].value,M=IHe({propertyKey:"attr-3d-shell-slot-depth",propertyTitle:"Slot depth",value:i["attr-3d-shell-slot-depth"].value,unit:r,callScene:e.callScene,readonly:l});return S.push({propertyKey:"attr-3d-shell-grooving-type",isShowPropertyKey:!1,value:T,valueType:"radio",valueOptions:[{value:"top_bottom",text:"Top/Bottom Slot Region"},{value:"side",text:"Side Slot Region"}],disabled:l===!0}),T==="top_bottom"?S.push(m,M):i["attr-baseline"]&&S.push({propertyKey:"attr-baseline",propertyTitle:"Baseline",value:null,disabled:l===!0,contentRender:()=>(0,LHe.jsx)(Kt,{value:i["attr-baseline"].value,onClick:()=>{let I={action:LLt,data:{id:t.ids}};C.messageBus.publish("buttomCommand",I)}})},M),S.push(h),S.push(f),S}function x(){let S=[],T=i["attr-3dshell-entity-region-type"].value,M=IHe({propertyKey:"attr-3dshell-entity-region-stretch-length",propertyTitle:"Stretch Length",value:i["attr-3dshell-entity-region-stretch-length"].value,unit:r,callScene:e.callScene,readonly:l});return S.push({propertyKey:"attr-3dshell-entity-region-type",isShowPropertyKey:!1,value:T,valueType:"radio",valueOptions:[{value:"top_bottom",text:"Top/Bottom Entity"},{value:"side",text:"Side Entity"}],disabled:l===!0}),T==="top_bottom"?S.push(m,M):i["attr-3dshell-entity-region-belong"].value!==null?S.push({propertyKey:"attr-baseline",propertyTitle:"Baseline",value:null,contentRender:()=>(0,LHe.jsx)(Kt,{value:i["attr-baseline"].value,onClick:()=>{let A={action:LLt,data:{id:t.ids}};C.messageBus.publish("buttomCommand",A)}}),disabled:l===!0},M,{propertyKey:"attr-3dshell-entity-region-belong",propertyTitle:"Belong",value:i["attr-3dshell-entity-region-belong"].value,valueType:"select",valueOptions:i["attr-3dshell-entity-region-belong"].options,disabled:l===!0}):S.push({propertyKey:"attr-baseline",propertyTitle:"Baseline",value:null,contentRender:()=>(0,LHe.jsx)(Kt,{value:i["attr-baseline"].value,onClick:()=>{let A={action:LLt,data:{id:t.ids}};C.messageBus.publish("buttomCommand",A)}}),disabled:l===!0},M),S.push(h),S.push(f),S}}function W9i(t){var S,T,M;let{unit:e,readonly:i,combination:o,selectCount:r}=t,n=t.primitiveType,a=t.attrlist[n],s=(S=a["attr-3d-shell-entityType"])==null?void 0:S.value,l=qP.getShapeType((T=a["attr-profile-type"])==null?void 0:T.value),c=((M=a["attr-locked"])==null?void 0:M.value)==="yes",d=x(),u={blendedData:t,attrList:a,primitiveType:n,unit:e,profileType:s,shapeType:l,locked:c,ids:d,readonly:i},p=[],m=Y9i(u),h=y(),f=b(),g=w();return p.push(m),p.push(...h),f&&p.push(f),o&&o.isAllCombination?p.unshift(g):p.push(g),p=p.filter(I=>I.content.data.length),p;function b(){return s==="3D Shell - Screw Pillar"&&s==="3D Shell - Side Datum Line"?null:THe(u)}function y(){let I=[];switch(s){case"3D Shell - Outline":break;case"3D Shell - Screw Pillar":{let A=G9i(u);I.push(...A);break}case"3D Shell - Side Datum Line":{let A=V9i(u);I.push(A);break}case"3D Shell - Slot Region":{let A=H9i(u);I.push(A);break}case"3D Shell - Entity":break}return I}function w(){let I={title:"Combination",content:{data:[]}};if(o&&o.isAllCombination){I.title="Group Name";let A=r>1;I.content.data.push({propertyKey:"attr-combination",isShowPropertyKey:!1,value:a["attr-combination"].value,valueType:"selectInput",valueOptions:a["attr-combination"].options,disabled:c||A||i===!0,stillNeedClear:A})}else I.content.data.push({propertyKey:"attr-combination",propertyTitle:Rt.Group,value:a["attr-combination"].value,valueType:"selectInput",valueOptions:a["attr-combination"].options,disabled:c||i===!0});return I}function x(){let I=t.idListOfPrimitive,A=[];return Object.values(I).forEach(D=>{for(let E=0;E<D.length;E++)A.push(D[E])}),A}}function Q9i(t){let{unit:e,readonly:i,combination:o,selectCount:r,doctype:n}=t,a=t.primitiveType,s=t.attrlist[a],l=s["attr-locked"].value==="yes",c={title:"Property",content:{data:[]}},d={title:"Font Type",content:{data:[]}},u={title:"Location",content:{data:[]}},p={title:"Silk",content:{data:[]}},m=[];c.content.data.push({propertyTitle:Rt.Content,value:s["attr-text-content"].value,valueType:"textArea",propertyKey:"attr-text-content",disabled:i===!0||n===se.PCB&&a==="COMPONENT_ATTR_TEXT"},{propertyTitle:Rt.Layer,value:s["attr-layerid"].value,valueType:"select",valueOptions:s["attr-layerid"].options,propertyKey:"attr-layerid",disabled:l||i===!0},{propertyTitle:Rt.Mirror,value:s["attr-mirror"].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],propertyKey:"attr-mirror",disabled:l||i===!0}),m.push(c),d.content.data.push({propertyTitle:Rt.FontFamily,value:s["attr-text-typeface"].value,valueType:"fontFamily",valueOptions:s["attr-text-typeface"].options,propertyKey:"attr-text-typeface",disabled:i===!0}),["default","default2","Serif","Sans Serif"].includes(s["attr-text-typeface"].value)&&s["attr-text-stroke-width"]&&d.content.data.push({propertyTitle:Rt.StrokeWidth,value:s["attr-text-stroke-width"].value,valueType:"unitInput",inputUnit:e,originUnit:e,propertyKey:"attr-text-stroke-width",disabled:i===!0}),d.content.data.push({propertyTitle:Rt.Height,value:s["attr-text-size"].value,valueType:"unitInput",inputUnit:e,originUnit:e,valueOptions:s["attr-text-size"].options,propertyKey:"attr-text-size",disabled:i===!0},{propertyTitle:Rt.Inverted,value:s["attr-text-typeface"].value=="default"?"no":s["attr-reversed-phase"].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],propertyKey:"attr-reversed-phase",disabled:i===!0},{propertyTitle:Rt.InvertedExpansion,value:s["attr-text-typeface"].value=="default"?"0":s["attr-reversed-phase-extend"].value,valueType:"unitInput",inputUnit:e,originUnit:e,valueOptions:s["attr-reversed-phase-extend"].options,propertyKey:"attr-reversed-phase-extend",disabled:i===!0}),m.push(d),u.content.data.push({propertyTitle:Rt.CenterX,value:s["attr-x"].value,valueType:"unitInput",inputUnit:e,originUnit:e,propertyKey:"attr-x",disabled:l||i===!0},{propertyTitle:Rt.CenterY,value:s["attr-y"].value,valueType:"unitInput",inputUnit:e,originUnit:e,propertyKey:"attr-y",disabled:l||i===!0},{propertyTitle:Rt.Rotation,value:s["attr-rotation"].value,valueType:"unitInput",propertyKey:"attr-rotation",disabled:l||i===!0},{propertyTitle:Rt.Locked,value:s["attr-locked"].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],propertyKey:"attr-locked",disabled:i===!0},{propertyTitle:Rt.Origin,value:s["attr-origin"].value,valueType:"select",valueOptions:[{value:"1",text:"Left Top"},{value:"2",text:"Left Middle"},{value:"3",text:"Left Bottom"},{value:"4",text:"Center Top"},{value:"5",text:"Center Middle"},{value:"6",text:"Center Bottom"},{value:"7",text:"Right Top"},{value:"8",text:"Right Middle"},{value:"9",text:"Right Bottom"}],propertyKey:"attr-origin",disabled:l||i===!0}),m.push(u);let h={title:"Combination",content:{data:[]}};if(o&&o.isAllCombination){h.title="Group Name";let g=r>1;h.content.data.push({propertyKey:"attr-combination",isShowPropertyKey:!1,value:s["attr-combination"].value,valueType:"selectInput",valueOptions:s["attr-combination"].options,disabled:l||g||i===!0,stillNeedClear:g}),m.unshift(h)}else h.content.data.push({propertyTitle:Rt.Group,value:s["attr-combination"].value,valueType:"selectInput",valueOptions:s["attr-combination"].options,propertyKey:"attr-combination",disabled:l||i===!0}),m.push(h);if(Wi("PCB_FOOTPRINT","isUsedJLCColorSilk")&&n===se.PCB){let g=s["attr-silk-color"],b=(g==null?void 0:g.defaultValue)||_e.HEX_BLACK_COLOR,y=g!=null&&g.value&&!(g!=null&&g.followDefault)?g.value:b;s["attr-silk-color"]&&(p.content.data.push({propertyTitle:Rt.SilkColor,propertyKey:"attr-silk-color",name:"attr-silk-color",valueType:"color",value:y.toLocaleUpperCase(),defaultValue:b.toLocaleUpperCase(),disabled:i===!0,needRefresh:!0,allowNoneOfColorPick:!1,colorPickerRestoreAction(w,x,S,T){Oc(w,"",S,T)}}),m.push(p))}return m}var vLt=[{text:"Yes",value:"yes"},{text:"No",value:"no"}],uB={attrArrayKeyCfg:{needSetValueDisabledKeys:["Footprint","Device","3DModel","3D Model Transform","3D Model","3D Model Title"],needContextmenuDisableKeys:["Name","ID","Unique ID","Add into BOM","Device"],needEditeKeepLineKeys:["Name","Designator","Unique ID","Add into BOM","Convert to PCB"],needHiddenKeys:["3DModel","3D Model Transform","3D Model","FootprintId"],baseAttrKeys:["ID","Name","Unique ID","Add into BOM","Designator","Device","Footprint","3D Model","3D Model Title","3D Model Transform"],keyAttrKeys:["Supplier","Supplier Part","Manufacturer.bom","Manufacturer","manufacturer","Manufacturer Part.bom","Manufacturer Part","Value","value"]}};function K9i(t){var f;let{unit:e,readonly:i,doctype:o}=t,r=Is(),n=t.primitiveType,a=t.attrlist[n],s=a["attr-locked"].value==="yes",l=[],c={title:"Property",content:{data:[]}},d={title:"Font Type",content:{data:[]}},u={title:"Location",content:{data:[]}},p={title:"Silk",content:{data:[]}},m=a["attr-text-title"].value,h=o===se.PCB&&uB.attrArrayKeyCfg.needSetValueDisabledKeys.includes(m);if(c.content.data.push({propertyTitle:Rt.PropertyName,value:me.i18n(m),valueType:"input",propertyKey:"attr-text-title",valueDisabled:!0,disabled:i===!0},{propertyTitle:Rt.PropertyValue,value:a["attr-text-content"].value,valueType:h?"input":"textArea",propertyKey:"attr-text-content",disabled:i===!0||r||o===se.FOOTPRINT||h,isEnableBreakLine:!uB.attrArrayKeyCfg.needEditeKeepLineKeys.includes(m)},{propertyTitle:Rt.Layer,value:a["attr-layerid"].value,valueType:"select",valueOptions:a["attr-layerid"].options,propertyKey:"attr-layerid",disabled:s||i===!0},{propertyTitle:Rt.Mirror,value:a["attr-mirror"].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],propertyKey:"attr-mirror",disabled:s||i===!0}),l.push(c),d.content.data.push({propertyTitle:Rt.FontFamily,value:a["attr-text-typeface"].value,valueType:"fontFamily",valueOptions:a["attr-text-typeface"].options,propertyKey:"attr-text-typeface"}),["default","default2","Serif","Sans Serif"].includes(a["attr-text-typeface"].value)&&a["attr-text-stroke-width"]&&d.content.data.push({propertyTitle:Rt.StrokeWidth,value:a["attr-text-stroke-width"].value,valueType:"unitInput",inputUnit:e,originUnit:e,propertyKey:"attr-text-stroke-width",disabled:i===!0}),d.content.data.push({propertyTitle:Rt.Height,value:a["attr-text-size"].value,valueType:"unitInput",inputUnit:e,originUnit:e,valueOptions:a["attr-text-size"].options,propertyKey:"attr-text-size",disabled:i===!0},{propertyTitle:Rt.Inverted,value:a["attr-text-typeface"].value=="default"?"no":a["attr-reversed-phase"].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],propertyKey:"attr-reversed-phase",disabled:i===!0},{propertyTitle:Rt.InvertedExpansion,value:a["attr-text-typeface"].value=="default"?"0":a["attr-reversed-phase-extend"].value,valueType:"unitInput",inputUnit:e,originUnit:e,valueOptions:a["attr-reversed-phase-extend"].options,propertyKey:"attr-reversed-phase-extend",disabled:i===!0}),l.push(d),u.content.data.push({propertyTitle:Rt.CenterX,value:a["attr-x"].value,valueType:"unitInput",inputUnit:e,originUnit:e,propertyKey:"attr-x",disabled:s||i===!0},{propertyTitle:Rt.CenterY,value:a["attr-y"].value,valueType:"unitInput",inputUnit:e,originUnit:e,propertyKey:"attr-y",disabled:s||i===!0},{propertyTitle:Rt.Rotation,value:a["attr-rotation"].value,valueType:"unitInput",propertyKey:"attr-rotation",disabled:i===!0},{propertyTitle:Rt.Locked,value:a["attr-locked"].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],propertyKey:"attr-locked",disabled:i===!0},{propertyTitle:Rt.Origin,value:a["attr-origin"].value,valueType:"select",valueOptions:[{value:"1",text:"Left Top"},{value:"2",text:"Left Middle"},{value:"3",text:"Left Bottom"},{value:"4",text:"Center Top"},{value:"5",text:"Center Middle"},{value:"6",text:"Center Bottom"},{value:"7",text:"Right Top"},{value:"8",text:"Right Middle"},{value:"9",text:"Right Bottom"}],propertyKey:"attr-origin",disabled:i===!0}),l.push(u),J_e(String((f=a["attr-layerid"])==null?void 0:f.value))&&o===se.PCB){let g=a["attr-silk-color"],b=(g==null?void 0:g.defaultValue)||_e.HEX_BLACK_COLOR,y=g!=null&&g.value&&!(g!=null&&g.followDefault)?g.value:b;p.content.data.push({propertyTitle:Rt.SilkScreenColor,value:y.toLocaleUpperCase(),valueType:"color",propertyKey:"attr-silk-color",defaultValue:b.toLocaleUpperCase(),disabled:i===!0,hidenColorDefaultBtn:!0,colorPickerRestoreAction(w,x,S,T){Oc(w,"",S,T)}}),l.push(p)}return l}var k1e=L(Se());function x4(t,e){t=t||"";let i=t.match(/[a-z]*$/i)[0].toLocaleLowerCase()||"mil",o=parseFloat(t)||0;return io(o,i,e)}function Z9i(t){let e=["Name"];return(t.value||[]).forEach((i,o)=>{e.push(i.key)}),e}var YSe=L(z());async function J9i(t){var k,P;let{unit:e,readonly:i,combination:o,selectCount:r}=t,n=Is(),a=t.primitiveType,s=t.idListOfPrimitive,l=t.attrlist[a],c=t.attrlist[a],d=((k=c["attr-locked"])==null?void 0:k.value)==="yes",u={inputUnit:e,originUnit:e},p={title:"Location",content:{data:[]}},m=l["attr-silk-color"].defaultValue,h=(P=l["attr-silk-color"].value)!=null?P:m;p.content.data.push(Ya({attrList:c,name:"attr-layerid",type:"select",extend:{propertyTitle:Rt.Layer,valueDisabled:d},readonly:i}),Ya({attrList:c,name:"attr-x",type:"unitInput",extend:{propertyTitle:Rt.CenterX,valueDisabled:d,...u},readonly:i}),Ya({attrList:c,name:"attr-y",type:"unitInput",extend:{propertyTitle:Rt.CenterY,valueDisabled:d,...u},readonly:i}),Ya({attrList:c,name:"attr-rotation",type:"unitInput",extend:{propertyTitle:Rt.Rotation,valueDisabled:d},readonly:i}),Ya({attrList:c,name:"attr-locked",type:"select",extend:{propertyTitle:Rt.Locked,valueOptions:vLt},readonly:i})),Wi("PCB_FOOTPRINT","isUsedJLCColorSilk")&&p.content.data.push(Ya({attrList:c,name:"attr-silk-color",type:"color",extend:{propertyTitle:Rt.SilkScreenColor,value:h?String(h).toLocaleUpperCase():_e.HEX_BLACK_COLOR,defaultValue:m?String(m).toLocaleUpperCase():_e.HEX_BLACK_COLOR,needRefresh:!0,valueDisabled:n,allowNoneOfColorPick:!1,colorPickerRestoreAction(O,_,j,B){Oc(O,"",j,B)}},readonly:i}));let g={title:"Basic Properties",content:{data:[Ya({attrList:c,name:"attr-id",type:"input",extend:{propertyTitle:Rt.ID,valueDisabled:!0},readonly:i})]}},b=c["attr-array"]||{},y=JSON.parse(JSON.stringify(b.value||[])),{baseAttrData:w,keyAttrData:x,otherAttrData:S}=n5r(y);g.content.data.push(...DLt(t,w,b.value,s,e,n));let T={title:"Key Properties",content:{data:[]}};T.content.data.push(...DLt(t,x,y,s,e,n));let M={morePropertiesShow:!1},I=window.localStorage.getItem("sch.attrPanel");try{I?M.morePropertiesShow=JSON.parse(I).morePropertiesShow:M.morePropertiesShow=!1}catch{M.morePropertiesShow=!1}let A=Z9i(c["attr-array"]),D={title:"More Properties",content:{data:[]},collapsed:!M.morePropertiesShow,after:(0,YSe.jsx)(Gf,{sceneType:["Device"],excludedList:A,disabled:i===!0||n,onAddProperty:a5r,callScene:t.callScene})};D.content.data.push(...DLt(t,S,y,s,e,n));let E={title:"Combination",content:{data:[]}};if(o&&o.isAllCombination){E.title="Group Name";let O=r>1;E.content.data.push({propertyKey:"attr-combination",isShowPropertyKey:!1,value:l["attr-combination"].value,valueType:"selectInput",valueOptions:l["attr-combination"].options,valueDisabled:d||O,stillNeedClear:O,disabled:i===!0||n})}else E.content.data.push({propertyKey:"attr-combination",propertyTitle:Rt.Group,value:l["attr-combination"].value,valueType:"selectInput",valueOptions:l["attr-combination"].options,valueDisabled:d,disabled:i===!0||n});let N={title:"Reuse Block",content:{data:[]}},R=gi(),v=l["attr-reuse-block"];return v!=null&&v.hasParent||N.content.data.push({propertyKey:"attr-reuse-block",propertyTitle:Rt.ReuseBlock,value:l["attr-reuse-block"].value,valueType:"selectInput",valueOptions:[],valueDisabled:d||!!l.hasParent,contentRender:O=>{let[_,j]=(0,k1e.useState)([]);return(0,k1e.useEffect)(()=>{async function B(){let V=(v==null?void 0:v.options)||[];if(!V.length){let[G,Q]=wr(R);V=ue.naturalSort((await C.messageBus.rpcCall("getAllPcbTitleAndReuseBlockValues",G)).message||[])}j(V)}B()},[]),O=k1e.default.cloneElement(O,{selectList:_}),(0,YSe.jsx)(YSe.Fragment,{children:O})},disabled:i===!0||n}),N.content.data.push({propertyKey:"attr-group-id",propertyTitle:Rt.GroupID,value:l["attr-group-id"].value,valueType:"input",valueDisabled:d||i===!0||n,disabled:d||i===!0||n},{propertyKey:"attr-channel-id",propertyTitle:Rt.ChannelID,value:l["attr-channel-id"].value,valueType:"input",valueDisabled:d||i===!0||n,disabled:d||i===!0||n}),o&&o.isAllCombination?[E,p,g,T,D,N]:[p,g,T,D,E,N]}function n5r(t){let e=[],i=Ft(t,"key","Name");i.data&&(t.splice(i.index,1),e.push(i.data));let o=Ft(t,"key","ID");o.data&&(t.splice(o.index,1),e.push(o.data));let r=Ft(t,"key","Unique ID");r.data&&(t.splice(r.index,1),e.push(r.data));let n=Ft(t,"key","Add into BOM");n.data&&(t.splice(n.index,1),e.push(n.data));let a=Ft(t,"key","Designator");a.data&&(t.splice(a.index,1),e.push(a.data));let s=Ft(t,"key","Device");s.data&&(t.splice(s.index,1),e.push(s.data));let l=Ft(t,"key","Footprint");l.data&&(t.splice(l.index,1),e.push(l.data));let c=Ft(t,"key","3D Model");c.data&&(t.splice(c.index,1),e.push(c.data)),t.sort((m,h)=>m.key.localeCompare(h.key,"zh")),e=[...e,...t];let d=e.filter((m,h)=>uB.attrArrayKeyCfg.baseAttrKeys.includes(m.key)),u=e.filter((m,h)=>uB.attrArrayKeyCfg.keyAttrKeys.includes(m.key)),p=e.filter((m,h)=>!uB.attrArrayKeyCfg.baseAttrKeys.includes(m.key)&&!uB.attrArrayKeyCfg.keyAttrKeys.includes(m.key));return{baseAttrData:d,keyAttrData:u,otherAttrData:p}}var Eq=(t,e,i={},o)=>{var T,M;let r=I3.mapBlendedData,{callScene:n="ATTR_PANEL",isTiggerByBlured:a=!1}=i,s=r[n];if(!s)return;let l=Object.values(t)[0],c=Object.keys(t)[0],d=t[c],u=d.keyName==="value"?d[d.keyName]:void 0;typeof u>"u"&&e&&(c=(T=Object.values(e)[0].attrArrayItem)==null?void 0:T.key,u=e[c].value),u&&u.length>=256&&(Ut({type:"warn",message:"The typing cannot over 255 charaters.",height:130}),u=u.substring(0,255));let p={key:c,update:!0,value:u};da.tabKeyPressed&&a===!0?da.bluredKey=c:da.bluredKey="",Object.keys(l).forEach(I=>{switch(I){case"keyChecked":p.showKey=l[I];break;case"valueChecked":p.showValue=l[I];break;case"value":p.value=l[I]||u;break;default:break}});let m=[p];if(c==="3D Model Title"&&p.value===""&&(m.push({key:"3D Model",value:"",update:!0}),m.push({key:"3D Model Transform",value:"",update:!0})),c==="Height"&&"value"in p){if((p.value===void 0||p.value===null)&&(p.value=""),p.value!==""&&+p.value<0)return;isNaN(parseFloat(p.value))||(p.value+=s.unit)}p.value=typeof p.value=="string"?p.value.trim():p.value,typeof p.value=="string"&&p.value.length>=255&&(p.value=p.value.substring(0,255));let h=s.primitiveType,f=s.idListOfPrimitive,g=(M=s==null?void 0:s.extra)==null?void 0:M.attrIdMap,b=s.status,y=Object.keys(b);if(y.length==0&&h==="PCB"&&(b[h]=!0,y.push(h)),g)for(let I in g){let A=g[I];g[I]=new Set(A)}let w={},x={};x.action="modifyPrimitiveDataByPanel",x.deviceSinlgeSelected=s.isOnlySelectedDevices,x.primitive=[],x.callScene=n,y.forEach(I=>{b[I]===!0&&(x.primitive.push(I),typeof w[I]>"u"&&(w[I]=[]),f[I].forEach(D=>{var E;!o&&g&&!((E=g[c])!=null&&E.has(D))||w[I].push({"attr-id":D,"attr-array":m})}))});let S=Xi();C.windowBridge.publish("attrUpdate",{head:x,body:w},S.contentWindow)};function DLt(t,e,i,o,r,n){let a=[],{readonly:s}=t,l={isEmptyOfD3ModelItem:void 0},c=s5r(i);return e.forEach((d,u)=>{if(uB.attrArrayKeyCfg.needHiddenKeys.includes(d.key))return;let p=d.key;n&&(d.update=!1);let m=d.update?{color:"#3399ff"}:{},h=y=>{let w=uB.attrArrayKeyCfg.needContextmenuDisableKeys.includes(p),x=[];w||x.push({key:"DELETE_FEATURES",name:"Delete Attribution",disabled:typeof l.isEmptyOfD3ModelItem>"u"?!d.update:l.isEmptyOfD3ModelItem});let S=T=>{let M={...d};switch(T){case"DELETE_FEATURES":M.update=!1;break;default:}M.value=="true"&&(M.value="yes"),M.value=="false"&&(M.value="no");let I=t.primitiveType,A=t.idListOfPrimitive,D=t.status,E=Object.keys(D);E.length==0&&I==="PCB"&&(D[I]=!0,E.push(I));let N={},R={};R.action="modifyPrimitiveDataByPanel",R.deviceSinlgeSelected=t.isOnlySelectedDevices,R.primitive=[],E.forEach(k=>{D[k]===!0&&(R.primitive.push(k),typeof N[k]>"u"&&(N[k]=[]),A[k].forEach(O=>{N[k].push({"attr-id":O,"attr-array":[M]})}))});let v=Xi();C.windowBridge.publish("attrUpdate",{head:R,body:N},v.contentWindow)};x.length&&Au.open({data:x.map(T=>({cmd:T.key,title:T.name,disabled:T.disabled})),position:{x:y.pageX,y:y.pageY},onClick(T,M,I,A){S(T.cmd)},onEnterConfirm(T,M,I){S(T[0])}})},{text:f,sourceText:g,context:b}=xpe(p);switch(p){case"Add into BOM":{a.push({propertyKey:p,propertyTitle:f,propertyTitleDataTest:g,value:d.value,valueType:"select",valueOptions:vLt,keyCheckBox:!0,valueCheckBox:!0,keyChecked:d.showKey,valueChecked:d.showValue,valueStyle:m,attrArrayItem:JSON.parse(JSON.stringify(d)),valueDisabled:s===!0||n,disabled:s===!0||n,keyCheckBoxDisabled:s===!0,valueCheckBoxDisabled:s===!0,checkboxTabIndex:-1,onChange:Eq,menu:h});return}case"3D Model Title":{a.push({propertyKey:p,propertyTitle:f,propertyTitleDataTest:g,value:d.value,valueType:"openDialog",keyCheckBox:!0,valueCheckBox:!0,keyChecked:d.showKey,valueChecked:d.showValue,valueStyle:m,attrArrayItem:JSON.parse(JSON.stringify(d)),valueDisabled:s===!0||n,disabled:s===!0||n,keyCheckBoxDisabled:c||s===!0,valueCheckBoxDisabled:c||s===!0,checkboxTabIndex:-1,onChange:Eq,openDialog:()=>{Ic("view3DModelManager")},menu:h});return}case"Device":{a.push({propertyKey:p,propertyTitle:f,propertyTitleDataTest:g,value:d.value,valueType:"openDialog",keyCheckBox:!0,valueCheckBox:!0,keyChecked:d.showKey,valueChecked:d.showValue,valueStyle:m,attrArrayItem:JSON.parse(JSON.stringify(d)),valueDisabled:s===!0||n,disabled:s===!0||n,keyCheckBoxDisabled:s===!0,valueCheckBoxDisabled:s===!0,checkboxTabIndex:-1,onChange:Eq,openDialog:()=>{let y={form:"replaceDevice",needRefresh:!0};if(d.value!=="<...>"){let w=vHe();w&&(y.searchValue=w)}C.messageBus.publish("openDeviceSelectDlg",y)},hasClearButton:!1,menu:h});return}case"Footprint":{a.push({propertyKey:p,propertyTitle:f,propertyTitleDataTest:g,value:d.value,valueType:"input",keyCheckBox:!0,valueCheckBox:!0,keyChecked:d.showKey,valueChecked:d.showValue,valueReadOnly:!0,attrArrayItem:JSON.parse(JSON.stringify(d)),valueDisabled:s===!0||n,disabled:s===!0||n,keyCheckBoxDisabled:s===!0,valueCheckBoxDisabled:s===!0,checkboxTabIndex:-1,onChange:Eq,valueStyle:{width:"calc(100% - 18px)",...m},attachedContent:{type:"icon-button","icon-button":{title:"Revert to Footprint Template",icon:"icon-eda-refresh-1",style:{marginLeft:"0",backgroundPosition:"center",backgroundSize:"10px 10px"},onClick:()=>{if(n)return;let y=[];o&&Object.values(o).forEach((x,S)=>{y=[...y,...x]});let w={action:"recoverFootprint",data:{id:y}};C.messageBus.publish("buttomCommand",w)}}},menu:h});return}case"Name":{let y=i.filter(w=>!["Name","3D Model","3D Model Transform","FootprintId"].includes(w.key)).map(w=>({text:`{${w.key}}`,value:`{${w.key}}`}));a.push({propertyKey:p,propertyTitle:f,propertyTitleDataTest:g,value:d.value,valueType:"selectSymbolName",valueOptions:y,keyCheckBox:!0,valueCheckBox:!0,keyChecked:d.showKey,valueChecked:d.showValue,valueStyle:m,attrArrayItem:JSON.parse(JSON.stringify(d)),valueDisabled:s===!0||n,disabled:s===!0||n,keyCheckBoxDisabled:s===!0,valueCheckBoxDisabled:s===!0,checkboxTabIndex:-1,onChange:Eq,menu:h});return}case"Height":{let y=d.value;y&&(y=x4(d.value,r)),a.push({propertyKey:p,propertyTitle:f,propertyTitleDataTest:g,value:y,valueType:"unitInput",keyCheckBox:!0,valueCheckBox:!0,keyChecked:d.showKey,valueChecked:d.showValue,valueStyle:m,inputUnit:r,originUnit:r,attrArrayItem:JSON.parse(JSON.stringify(d)),valueDisabled:s===!0||n,disabled:s===!0||n,keyCheckBoxDisabled:s===!0,valueCheckBoxDisabled:s===!0,checkboxTabIndex:-1,onChange:Eq,menu:h});return}default:a.push({propertyKey:p,propertyTitle:f,propertyTitleDataTest:g,value:d.value,valueType:"input",keyCheckBox:!0,valueCheckBox:!0,keyChecked:d.showKey,valueChecked:d.showValue,valueStyle:m,attrArrayItem:JSON.parse(JSON.stringify(d)),valueDisabled:s===!0||n,disabled:s===!0||n,keyCheckBoxDisabled:s===!0,valueCheckBoxDisabled:s===!0,checkboxTabIndex:-1,onChange:Eq,menu:h});break}}),a}function a5r(t,e={}){Eq(t,void 0,e,!0),da.focus={propertyKey:Object.keys(t||{})[0],propertyPanelId:sA}}function s5r(t){let e=Ft(t,"key","3D Model Title");return e.index<=-1?!0:e.data.value===void 0||typeof e.data.value>"u"}function q9i(t){let{unit:e,readonly:i,combination:o,selectCount:r,doctype:n}=t,a=Is(),s=t.primitiveType,l=t.attrlist[s],d=t.idListOfPrimitive[s],u=t.extra||{},p={title:"Property",content:{data:[]}},m={title:"Via Diameter",content:{data:[]}},h={title:"Location",content:{data:[]}},f={title:"Solder/Paste Mask Expansion",content:{data:[]}},g=[];p.content.data.push({isShowPropertyKey:!1,propertyKey:"attr-via-buriedhole-showtype",propertyTitle:"",value:String(l["attr-via-buriedhole-showtype"].value),valueType:"radio",valueOptions:[{value:"1",text:"Through Via"},{value:"2",text:"Blind Or buried Via"}],disabled:u.existingInDevice||i===!0||+n===se.FOOTPRINT}),String(l["attr-via-buriedhole-showtype"].value)==="2"&&p.content.data.push({propertyTitle:Rt.Type,propertyKey:"attr-via-buriedhole-type",value:l["attr-via-buriedhole-type"].value,valueType:"select",valueOptions:l["attr-via-buriedhole-type"].options,disabled:i===!0}),p.content.data.push({propertyTitle:Rt.StartLayer,propertyKey:"attr-start-layerid",value:l["attr-start-layerid"].value,valueType:"select",valueOptions:l["attr-start-layerid"].options,valueDisabled:!0,disabled:i===!0},{propertyTitle:Rt.EndLayer,propertyKey:"attr-end-layerid",value:l["attr-end-layerid"].value,valueType:"select",valueOptions:l["attr-end-layerid"].options,valueDisabled:!0,disabled:i===!0}),n===se.PCB&&p.content.data.push({propertyTitle:Rt.Net,propertyKey:"attr-select-net",value:l["attr-select-net"].value,valueType:"selectNetNamePCB",valueOptions:l["attr-select-net"].options,onCommonDispatch(y){let w={action:y,data:{id:[...d]}};C.messageBus.publish("buttomCommand",w)},disabled:i===!0||a},{propertyTitle:Rt.NetLength,propertyKey:"attr-net-length",value:l["attr-net-length"].value,valueType:"unitInput",valueDisabled:!0,inputUnit:e,originUnit:e,disabled:!0}),p.content.data.push({propertyTitle:Rt.ID,propertyKey:"attr-id",value:l["attr-id"].value,valueType:"input",valueDisabled:!0,disabled:i===!0}),g.push(p),m.content.data.push({propertyKey:"attr-via-general-outerdiameter",propertyTitle:Rt.OutsideDiameter,value:l["attr-via-general-outerdiameter"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:i===!0},{propertyKey:"attr-via-general-innerdiameter",propertyTitle:Rt.InsideDiameter,value:l["attr-via-general-innerdiameter"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:i===!0}),g.push(m),h.content.data.push({propertyKey:"attr-x",propertyTitle:Rt.CenterX,value:l["attr-x"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:l["attr-locked"].value==="yes"||i===!0},{propertyKey:"attr-y",propertyTitle:Rt.CenterY,value:l["attr-y"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:l["attr-locked"].value==="yes"||i===!0},{propertyKey:"attr-locked",propertyTitle:Rt.Locked,value:l["attr-locked"].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],disabled:i===!0}),g.push(h),f.content.data.push({isShowPropertyKey:!1,propertyKey:"attr-soldermask-showtype",propertyTitle:"",value:String(l["attr-soldermask-showtype"].value),valueType:"radio",valueOptions:[{value:"1",text:"General"},{value:"2",text:"Custom"}],disabled:i===!0}),String(l["attr-soldermask-showtype"].value)==="1"?f.content.data.push({propertyTitle:Rt.TopLayerSolderMaskExpansion,propertyKey:"attr-soldermask-toplayer",value:me.i18n("Follow Rule"),valueType:"unitInput",inputUnit:e,originUnit:e,disabled:!0},{propertyTitle:Rt.BottomLayerSolderMaskExpansion,propertyKey:"attr-soldermask-bottomlayer",value:me.i18n("Follow Rule"),valueType:"unitInput",inputUnit:e,originUnit:e,disabled:!0}):String(l["attr-soldermask-showtype"].value)==="2"&&f.content.data.push({propertyTitle:Rt.TopLayerSolderMaskExpansion,propertyKey:"attr-soldermask-toplayer",value:l["attr-soldermask-toplayer"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:i===!0},{propertyTitle:Rt.BottomLayerSolderMaskExpansion,propertyKey:"attr-soldermask-bottomlayer",value:l["attr-soldermask-bottomlayer"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:i===!0}),g.push(f);let b={title:"Combination",content:{data:[]}};if(o&&o.isAllCombination){b.title="Group Name";let y=r>1;b.content.data.push({propertyKey:"attr-combination",isShowPropertyKey:!1,value:l["attr-combination"].value,valueType:"selectInput",valueOptions:l["attr-combination"].options,disabled:y||i===!0,stillNeedClear:y}),g.unshift(b)}else b.content.data.push({propertyTitle:Rt.Group,propertyKey:"attr-combination",value:l["attr-combination"].value,valueType:"selectInput",valueOptions:l["attr-combination"].options,disabled:i===!0}),g.push(b);return g}function X9i(t){let{unit:e,readonly:i,combination:o,selectCount:r,doctype:n}=t,a=t.primitiveType,s=t.attrlist[a],l=s["attr-locked"].value==="yes",c={title:"Property",content:{data:[]}},d={title:"Location",content:{data:[]}},u={title:"Silk",content:{data:[]}},p=[];c.content.data.push({propertyKey:"attr-layerid",propertyTitle:Rt.Layer,value:s["attr-layerid"].value,valueType:"select",valueOptions:s["attr-layerid"].options,disabled:l||i===!0},N1e({props1:{propertyKey:"attr-width",propertyTitle:Rt.Width,value:s["attr-width"].value,valueType:"unitInput",originUnit:e,inputUnit:e,disabled:l||i===!0},props2:{propertyKey:"attr-height",propertyTitle:Rt.Height,value:s["attr-height"].value,valueType:"unitInput",originUnit:e,inputUnit:e,disabled:l||i===!0},getLink:()=>localStorage.getItem("linked-width-height")=="1",onLinkClick:g=>{localStorage.setItem("linked-width-height",g?"1":"0")}}),{propertyKey:"attr-mirror",propertyTitle:Rt.Mirror,value:s["attr-mirror"].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],disabled:l||i===!0}),p.push(c),d.content.data.push({propertyKey:"attr-start-x",propertyTitle:Rt.StartX,value:s["attr-start-x"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:l||i===!0},{propertyKey:"attr-start-y",propertyTitle:Rt.StartY,value:s["attr-start-y"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:l||i===!0},{propertyKey:"attr-rotation",propertyTitle:Rt.Rotation,value:s["attr-rotation"].value,valueType:"unitInput",disabled:l||i===!0},{propertyKey:"attr-locked",propertyTitle:Rt.Locked,value:s["attr-locked"].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],disabled:i===!0}),p.push(d);let m={title:"Combination",content:{data:[]}};if(o&&o.isAllCombination){m.title="Group Name";let g=r>1;m.content.data.push({propertyKey:"attr-combination",isShowPropertyKey:!1,value:s["attr-combination"].value,valueType:"selectInput",valueOptions:s["attr-combination"].options,disabled:l||g||i===!0,stillNeedClear:g})}else m.content.data.push({propertyKey:"attr-combination",propertyTitle:Rt.Group,value:s["attr-combination"].value,valueType:"selectInput",valueOptions:s["attr-combination"].options,disabled:l||i===!0});p.push(m);let h=!1;if(Wi("PCB_FOOTPRINT","isUsedJLCColorSilk")===!0&&n===ve.PCB){let g=s["attr-silk-color"],b=(g==null?void 0:g.defaultValue)||_e.HEX_BLACK_COLOR,y=g!=null&&g.value&&!(g!=null&&g.followDefault)?g.value:b;s["attr-silk-color"]&&(h=!0,u.content.data.push({propertyTitle:Rt.SilkColor,propertyKey:"attr-silk-color",name:"attr-silk-color",valueType:"color",value:y.toLocaleUpperCase(),defaultValue:b.toLocaleUpperCase(),needRefresh:!0,disabled:i===!0,hidenColorDefaultBtn:!0,colorPickerRestoreAction(w,x,S,T){Oc(w,"",S,T)}}))}return h&&p.push(u),p}function $9i(t){var g,b;let{unit:e,readonly:i,combination:o,selectCount:r}=t,n=Is(),a=t.selectNumberForId,s=t.primitiveType,l=t.attrlist[s],d=t.idListOfPrimitive[s],u={title:"Property",content:{data:[]}},p={title:"Path",content:{data:[]}},m=[],h=((g=l["attr-track-type"])==null?void 0:g.value)===2;if(u.content.data.push({propertyKey:"attr-layerid",propertyTitle:Rt.Layer,value:l["attr-layerid"].value,valueType:"select",valueOptions:l["attr-layerid"].options.map(y=>({...y,dataTest:y.text})),disabled:l["attr-locked"].value==="yes"||i===!0},{propertyKey:"attr-stroke-width",propertyTitle:Rt.LineWidth,value:l["attr-stroke-width"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:i===!0},{propertyKey:"attr-track-length",propertyTitle:Rt.Length,value:l["attr-track-length"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:l["attr-locked"].value==="yes"||i===!0},{propertyKey:"attr-select-net",propertyTitle:Rt.Net,value:l["attr-select-net"].value,valueType:"selectNetNamePCB",valueOptions:l["attr-select-net"].options,onCommonDispatch(y){let w={action:y,data:{id:[...d]}};C.messageBus.publish("buttomCommand",w)},disabled:i===!0||n},{propertyKey:"attr-net-length",propertyTitle:Rt.NetLength,value:l["attr-net-length"].value,valueType:"unitInput",inputUnit:e,originUnit:e,valueDisabled:!0,disabled:!0},{propertyKey:"attr-locked",propertyTitle:Rt.Locked,value:l["attr-locked"].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],disabled:i===!0},{propertyKey:"attr-id",propertyTitle:Rt.ID,value:l["attr-id"].value,valueType:"input",valueDisabled:!0,disabled:i===!0}),m.push(u),a<=1){if(!h)p.content.data.push({propertyKey:"attr-start-x",propertyTitle:Rt.StartX,value:l["attr-start-x"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:l["attr-locked"].value==="yes"||i===!0},{propertyKey:"attr-start-y",propertyTitle:Rt.StartY,value:l["attr-start-y"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:l["attr-locked"].value==="yes"||i===!0},{propertyKey:"attr-end-x",propertyTitle:Rt.EndX,value:l["attr-end-x"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:l["attr-locked"].value==="yes"||i===!0},{propertyKey:"attr-end-y",propertyTitle:Rt.EndY,value:l["attr-end-y"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:l["attr-locked"].value==="yes"||i===!0});else{let y=((b=l["attr-arc-type"])==null?void 0:b.value)===2;p.content.data.push({propertyKey:"attr-arc-type",propertyTitle:Rt.ArcType,value:l["attr-arc-type"].value,valueType:"select",valueOptions:[{value:1,text:"Two Points Arc"},{value:2,text:"Center Arc"}],disabled:l["attr-locked"].value==="yes"||i===!0}),y?p.content.data.push({propertyKey:"attr-x",propertyTitle:Rt.CenterX,value:l["attr-x"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:l["attr-locked"].value==="yes"||i===!0},{propertyKey:"attr-y",propertyTitle:Rt.CenterY,value:l["attr-y"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:l["attr-locked"].value==="yes"||i===!0},EZ({propertyKey:"attr-radius",radius:l["attr-radius"].value,originUnit:e,inputUnit:e}),{propertyKey:"attr-start-arc-angle",propertyTitle:Rt.StartArcAngle,value:l["attr-start-arc-angle"].value,valueType:"numberInput",disabled:l["attr-locked"].value==="yes"||i===!0},{propertyKey:"attr-end-arc-angle",propertyTitle:Rt.EndArcAngle,value:l["attr-end-arc-angle"].value,valueType:"numberInput",disabled:l["attr-locked"].value==="yes"||i===!0}):p.content.data.push({propertyKey:"attr-start-x",propertyTitle:Rt.StartX,value:l["attr-start-x"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:l["attr-locked"].value==="yes"||i===!0},{propertyKey:"attr-start-y",propertyTitle:Rt.StartY,value:l["attr-start-y"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:l["attr-locked"].value==="yes"||i===!0},{propertyKey:"attr-end-x",propertyTitle:Rt.EndX,value:l["attr-end-x"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:l["attr-locked"].value==="yes"||i===!0},{propertyKey:"attr-end-y",propertyTitle:Rt.EndY,value:l["attr-end-y"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:l["attr-locked"].value==="yes"||i===!0},{propertyKey:"attr-arc-angle",propertyTitle:Rt.ArcRotation,value:l["attr-arc-angle"].value,valueType:"numberInput",disabled:l["attr-locked"].value==="yes"||i===!0})}m.push(p)}let f={title:"Combination",content:{data:[]}};if(o&&o.isAllCombination){f.title="Group Name";let y=r>1;f.content.data.push({propertyKey:"attr-combination",isShowPropertyKey:!1,value:l["attr-combination"].value,valueType:"selectInput",valueOptions:l["attr-combination"].options,disabled:y||i===!0,stillNeedClear:y}),m.unshift(f)}else f.content.data.push({propertyKey:"attr-combination",propertyTitle:Rt.Group,value:l["attr-combination"].value,valueType:"selectInput",valueOptions:l["attr-combination"].options,disabled:l["attr-locked"].value==="yes"||i===!0}),m.push(f);return m}var ELt=L(z());function ePi(t){let{primitiveType:e,combination:i,selectCount:o,readonly:r}=t,n=Is(),a=t.attrlist[e],s=[],l={title:"Property",content:{data:[]}},c={display:"flex",justifyContent:"center",alignItems:"center"};l.content.data.push({propertyTitle:Rt.Layer,value:a["attr-layerid"].value,valueType:"select",valueDisabled:!0,valueOptions:a["attr-layerid"].options,propertyKey:"attr-layerid",disabled:r===!0},{propertyTitle:Rt.Net,value:a["attr-select-net"].value,valueType:"select",valueDisabled:!0,valueOptions:a["attr-select-net"].options.map(p=>({...p,showOriginalText:!0})),propertyKey:"attr-select-net",disabled:r===!0||n},{propertyTitle:Rt.ID,value:a["attr-id"].value,valueType:"input",valueDisabled:!0,valueOptions:a["attr-id"].options,propertyKey:"attr-id",disabled:r===!0},{propertyTitle:Rt.Locked,value:a["attr-locked"].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],propertyKey:"attr-locked",disabled:r===!0},{value:null,isShowPropertyKey:!1,isShowValueCheckbox:!1,contentStyle:{...c,margin:"6px 0"},contentRender:()=>(0,ELt.jsx)(Me,{"data-test":"Convert to Fill Region",type:"primary",style:{height:"100%"},onClick:()=>{let h={action:"convertToFillRegion",data:{ids:[...t.idListOfPrimitive[e]||[]]}};C.messageBus.publish("buttomCommand",h)},children:me.i18n("Convert to Fill Region")}),disabled:r===!0},{value:null,isShowPropertyKey:!1,isShowValueCheckbox:!1,contentStyle:c,contentRender:()=>(0,ELt.jsx)(Me,{"data-test":"Add Solder Mask Region",type:"primary",style:{height:"100%"},onClick:()=>{let h={action:"addSolderMaskRegion",data:{ids:[...t.idListOfPrimitive[e]||[]]}};C.messageBus.publish("buttomCommand",h)},children:me.i18n("Add Solder Mask Region")}),disabled:r===!0}),s.push(l);let d={title:"Combination",content:{data:[]}},u=a["attr-locked"].value==="yes";if(i&&i.isAllCombination){d.title="Group Name";let p=o>1;d.content.data.push({propertyKey:"attr-combination",isShowPropertyKey:!1,value:a["attr-combination"].value,valueType:"selectInput",valueOptions:a["attr-combination"].options,disabled:u||p||r===!0,stillNeedClear:p}),s.unshift(d)}else d.content.data.push({propertyTitle:Rt.Group,value:a["attr-combination"].value,valueType:"selectInput",valueOptions:a["attr-combination"].options,propertyKey:"attr-combination",disabled:u||r===!0}),s.push(d);return s}function tPi(t){let{unit:e,readonly:i,combination:o,selectCount:r,doctype:n}=t,a=t.primitiveType,s=t.attrlist[a],l=s["attr-locked"].value==="yes",c={title:"Property",content:{data:[]}},d={title:"Location",content:{data:[]}},u=[];c.content.data.push({propertyKey:"attr-layerid",propertyTitle:Rt.Layer,value:s["attr-layerid"].value,valueType:"select",valueOptions:s["attr-layerid"].options,disabled:l||i===!0},N1e({props1:{propertyKey:"attr-width",propertyTitle:Rt.Width,value:s["attr-width"].value,valueType:"unitInput",originUnit:e,inputUnit:e,disabled:l||i===!0},props2:{propertyKey:"attr-height",propertyTitle:Rt.Height,value:s["attr-height"].value,valueType:"unitInput",originUnit:e,inputUnit:e,disabled:l||i===!0},getLink:()=>localStorage.getItem("linked-width-height")=="1",onLinkClick:h=>{localStorage.setItem("linked-width-height",h?"1":"0")}}),{propertyKey:"attr-mirror",propertyTitle:Rt.Mirror,value:s["attr-mirror"].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],disabled:l||i===!0}),u.push(c),d.content.data.push({propertyKey:"attr-start-x",propertyTitle:Rt.StartX,value:s["attr-start-x"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:l||i===!0},{propertyKey:"attr-start-y",propertyTitle:Rt.StartY,value:s["attr-start-y"].value,valueType:"unitInput",inputUnit:e,originUnit:e,disabled:l||i===!0},{propertyKey:"attr-rotation",propertyTitle:Rt.Rotation,value:s["attr-rotation"].value,valueType:"unitInput",disabled:l||i===!0},{propertyKey:"attr-locked",propertyTitle:Rt.Locked,value:s["attr-locked"].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],disabled:i===!0}),u.push(d);let p={title:"Combination",content:{data:[]}};if(o&&o.isAllCombination){p.title="Group Name";let h=r>1;p.content.data.push({propertyKey:"attr-combination",isShowPropertyKey:!1,value:s["attr-combination"].value,valueType:"selectInput",valueOptions:s["attr-combination"].options,disabled:l||h||i===!0,stillNeedClear:h})}else p.content.data.push({propertyKey:"attr-combination",propertyTitle:Rt.Group,value:s["attr-combination"].value,valueType:"selectInput",valueOptions:s["attr-combination"].options,disabled:l||i===!0});if(Wi("PCB_FOOTPRINT","isUsedJLCColorSilk")&&n===ve.PCB){let h=s["attr-silk-color"],f=(h==null?void 0:h.defaultValue)||_e.HEX_BLACK_COLOR,g=h!=null&&h.value&&!(h!=null&&h.followDefault)?h.value:f;s["attr-silk-color"]&&p.content.data.push({propertyTitle:Rt.SilkColor,propertyKey:"attr-silk-color",name:"attr-silk-color",valueType:"color",value:g.toLocaleUpperCase(),defaultValue:f.toLocaleUpperCase(),needRefresh:!0,disabled:i===!0,hidenColorDefaultBtn:!0,colorPickerRestoreAction(b,y,w,x){Oc(b,"",w,x)}})}return u.push(p),u}var iPi=JP.unitInputType;function oPi(t){let{unit:e,readonly:i,locked:o}=t,r={inputUnit:e,originUnit:e},n="calc(100% - 32px)",a=t.primitiveType,s=t.attrlist[a],c=t.idListOfPrimitive[a]||[],d=t.attrlist[a],u={title:"Property",content:{data:[Ya({attrList:s,name:"attr-select-net",type:"selectNetNamePCB",extend:{onCommonDispatch(y){let w={action:y,data:{id:[...c]}};C.messageBus.publish("buttomCommand",w)}},readonly:i}),Cv({text:"Rebuild Plane",button:{type:"primary",onClick:()=>{let y={action:"rebuildPlanezone",data:{id:[...c]}};C.messageBus.publish("buttomCommand",y)}},readonly:i}),Cv({text:"Place/Remove Suture Vias",button:{type:"primary",onClick:()=>{let y={action:"autoPlaceSutureVias",data:{ids:c||""}};C.messageBus.publish("buttomCommand",y)}},readonly:i})]}},p={title:"Layer Fill Setting",content:{data:[Ya({attrList:s,name:"attr-isolated-island",type:"select",extend:{valueOptions:wv()},readonly:i})]}},m={title:"Rule Setting",content:{data:[]}},h=s["attr-net-spacing-list"].value||[],f=s["attr-dist-border-outline-list"].value||[],g=new Set([...h]).size===1,b=new Set([...f]).size===1;if(m.content.data.push(SI({propertyKey:"attr-net-spacing-rule",propertyTitle:"Net Spacing Rule",value:s["attr-net-spacing-rule"].value,valueOptions:s["attr-net-spacing-rule"].options,ruleType:"plane",funOption:{newRuleTitle:"New Plane Rule...",hiddenClear:!0},onChange:(y,w)=>{let x=y["attr-net-spacing-rule"].value,S=s["attr-select-net"].value,T='All "{0}" network plane rules will be set to "{1}" (except custom plane rules). Are you sure?';T=me.i18n(T,[S,x]),Dt({title:"Warning",icon:"warning",closed:!0,content:T,showCancel:!0,onConfirm:()=>{Oc("attr-net-spacing-rule",x,null,{callScene:t.callScene})}})},callScene:t.callScene,disabled:i===!0})),h===Mn.complexValues)m.content.data.push({propertyKey:"attr-net-spacing-list",propertyTitle:"Network Spacing",value:h,valueType:"input",disabled:!0});else if(g)m.content.data.push({propertyKey:"attr-net-spacing-list",propertyTitle:"Network Spacing",value:h[0]||0,...iPi(e),disabled:!0});else{let y=[];y.push({title:`${me.i18n("Distance to Track")} ${h[0]||0}${e}`}),y.push({title:`${me.i18n("Distance to SMD Pad")} ${h[1]||0}${e}`}),y.push({title:`${me.i18n("Distance to TH Pad")} ${h[2]||0}${e}`}),y.push({title:`${me.i18n("Distance to SMD_Test_Point")} ${h[3]||0}${e}`}),y.push({title:`${me.i18n("Distance to TH_Test_Point")} ${h[4]||0}${e}`}),y.push({title:`${me.i18n("Distance to Via")} ${h[5]||0}${e}`}),y.push({title:`${me.i18n("Distance to Fill Region/Teardrop")} ${h[6]||0}${e}`}),y.push({title:`${me.i18n("Distance to Copper Region/Plane Zone")} ${h[7]||0}${e}`}),y.push({title:`${me.i18n("Distance to Line")} ${h[8]||0}${e}`}),y.push({title:`${me.i18n("Distance to Text/Image")} ${h[9]||0}${e}`}),y.push({title:`${me.i18n("Distance to Hole")} ${h[10]||0}${e}`}),m.content.data.push({propertyKey:"attr-net-spacing-list",propertyTitle:"Network Spacing",value:JSON.stringify(y),valueType:"textAreaRelevancePCB",disabled:!0,textAreaRelevancePCBOptional:{storageKey:"textAreaRelevanceHeightNetSpacingList"}})}if(f===Mn.complexValues)m.content.data.push({propertyKey:"attr-dist-border-outline-list",propertyTitle:"Distance To Border Outline",value:f,valueType:"input",disabled:!0});else if(b)m.content.data.push({propertyKey:"attr-dist-border-outline-list",propertyTitle:"Distance To Border Outline",value:f[0]||0,...iPi(e),disabled:!0});else{let y=[];y.push({title:`${me.i18n("Distance to Board Outline")} ${f[0]||0}${e}`}),y.push({title:`${me.i18n("Distance to Slot Region")} ${f[1]||0}${e}`}),m.content.data.push({propertyKey:"attr-dist-border-outline-list",propertyTitle:"Distance To Border Outline",value:JSON.stringify(y),valueType:"textAreaRelevancePCB",disabled:!0,textAreaRelevancePCBOptional:{storageKey:"textAreaRelevanceHeightDistBorOutList"}})}return m.content.data.push(SI({propertyKey:"attr-net-thermals-rule",propertyTitle:"Net Thermals Rule",value:s["attr-net-thermals-rule"].value,valueOptions:s["attr-net-thermals-rule"].options,ruleType:"plane",funOption:{newRuleTitle:"New Plane Rule...",hiddenClear:!0},onChange:(y,w)=>{let x=y["attr-net-thermals-rule"].value,S=s["attr-select-net"].value,T='All "{0}" network plane rules will be set to "{1}" (except custom plane rules). Are you sure?';T=me.i18n(T,[S,x]),Dt({title:"Warning",icon:"warning",closed:!0,content:T,showCancel:!0,onConfirm:()=>{Oc("attr-net-thermals-rule",x,null,{callScene:t.callScene})}})},callScene:t.callScene,disabled:i===!0})),m.content.data.push({propertyKey:"Multi-layer Pad",value:"",propertyTitle:"Multi-layer Pad",keyStyle:{fontWeight:"bolder"},valueStyle:{display:"none"},disabled:i===!0}),m.content.data.push(Ya({attrList:s,name:"attr-multi-layer-pad-connection",type:"select",extend:{valueDisabled:!0},readonly:i})),s["attr-multi-layer-pad-connection"]&&+s["attr-multi-layer-pad-connection"].value==0&&(m.content.data.push(Ya({attrList:s,name:"attr-multi-layer-spoke-spacing",type:"unitInput",extend:{...r,valueDisabled:!0},readonly:i})),m.content.data.push(Ya({attrList:s,name:"attr-multi-layer-spoke-width",type:"unitInput",extend:{...r,valueDisabled:!0},readonly:i})),m.content.data.push(Ya({attrList:s,name:"attr-multi-layer-spoke-angles",type:"select",extend:{valueDisabled:!0},readonly:i}))),[u,p,m]}function rPi(t){var p;let{unit:e,readonly:i}=t,o={inputUnit:e,originUnit:e},r="calc(100% - 32px)",n=t.primitiveType,a=t.attrlist[n],l=t.idListOfPrimitive[n]||[],c=(p=t==null?void 0:t.extra)==null?void 0:p.showAddSolderMaskRegion,d=[Ya({attrList:a,name:"attr-layerid",type:"select",extend:{valueDisabled:!0},readonly:i}),Ya({attrList:a,name:"attr-select-parent-set",type:"input",extend:{valueDisabled:!0}})];return a["attr-select-parent-set"].value!=Mn.complexValues&&d.push(Cv({text:"Choose Parent",button:{type:"primary",onClick:()=>{let m={action:"parentSelect",data:{ids:[...l]}};C.messageBus.publish("buttomCommand",m)}},readonly:i})),d.push(Ya({attrList:a,name:"attr-select-net",type:"select",extend:{valueDisabled:!0},readonly:i,valueOptionNoI18n:!0}),Cv({text:"Rebuild Copper Region",button:{type:"primary",onClick:()=>{let m={action:"rebuildCopperAreaByResult",data:{id:l||""}};C.messageBus.publish("buttomCommand",m)}},readonly:i}),Cv({text:"Place/Remove Suture Vias",button:{type:"primary",onClick:()=>{let m={action:"autoPlaceSutureVias",data:{ids:l||""}};C.messageBus.publish("buttomCommand",m)}},readonly:i}),Cv({text:"Convert to Fill Region",button:{type:"primary",onClick:()=>{let m={action:"convertToFillRegion",data:{ids:[...l]}};C.messageBus.publish("buttomCommand",m)}},readonly:i})),c&&d.push(Cv({text:"Add Solder Mask Region",button:{type:"primary",onClick:()=>{let m={action:"addSolderMaskRegion",data:{ids:[...l]}};C.messageBus.publish("buttomCommand",m)}},readonly:i})),[{title:"Property",content:{data:d}}]}var l5r=new Set(["attr-soldermask-showtype","attr-text-type","attr-footprint-id","attr-2dline-outline-type"]);function nPi(t){var y;let{unit:e,readonly:i,combination:o,selectCount:r,doctype:n}=t,a=Is(),s=t.primitiveType,l=t.attrlist[s],c=t.idListOfPrimitive,d=[],u=t.attrlist[s]||{},p=((y=l["attr-locked"])==null?void 0:y.value)==="yes",m=t.primitive,h=t.extra||{};for(let w=0;w<m.length;w++){let x=c[m[w]];if(x)for(let S=0;S<x.length;S++)d.push(x[S])}let f={title:"Group Name",content:{data:[]}},g={title:"Property",content:{data:[]}},b=Object.keys(u);if(o&&o.isAllCombination){let w=r>1;f.content.data.push({propertyKey:"attr-combination",isShowPropertyKey:!1,value:u["attr-combination"].value,valueType:"selectInput",valueOptions:u["attr-combination"].options.map(x=>({...x,showOriginalText:!0})),disabled:w||i===!0,stillNeedClear:w})}for(let w=0;w<b.length;w++){let x=b[w],S=u[x],{text:T,sourceText:M,context:I}=xpe(S.title,x==="attr-layerid");if(!l5r.has(x)&&!(o&&o.isAllCombination&&x==="attr-combination")){if(x==="attr-layerid"){g.content.data.push({propertyKey:x,propertyTitle:Rt.Layer,propertyTitleDataTest:M,value:S.value,valueType:"select",valueOptions:u["attr-layerid"].options,disabled:i===!0||h.existingInDevice===!0||p});continue}if(x==="attr-x"){g.content.data.push({propertyKey:x,propertyTitle:Rt.CenterX,propertyTitleDataTest:M,value:S.value,inputUnit:e,originUnit:e,valueType:"unitInput",disabled:i===!0||h.existingInDevice===!0});continue}if(x==="attr-y"){g.content.data.push({propertyKey:x,propertyTitle:Rt.CenterY,propertyTitleDataTest:M,inputUnit:e,originUnit:e,value:S.value,valueType:"unitInput",disabled:i===!0||h.existingInDevice===!0});continue}if(x==="attr-stroke-width"){g.content.data.push({propertyKey:x,propertyTitle:Rt.LineWidth,propertyTitleDataTest:M,inputUnit:e,originUnit:e,value:S.value,valueType:"unitInput",disabled:i===!0||h.existingInDevice===!0});continue}if(x==="attr-text-typeface"){g.content.data.push({propertyTitle:Rt.FontFamily,value:u["attr-text-typeface"].value,valueType:"fontFamily",valueOptions:u["attr-text-typeface"].options,propertyKey:"attr-text-typeface",disabled:i===!0});continue}if(x==="attr-rotation"){g.content.data.push({propertyKey:x,propertyTitle:Rt.Rotation,propertyTitleDataTest:M,value:S.value,valueType:"input",disabled:i===!0||h.existingInDevice===!0});continue}if(x==="attr-id"){g.content.data.push({propertyKey:x,propertyTitle:Rt.ID,value:S.value,valueType:"input",disabled:!0});continue}if(x==="attr-net-length"){g.content.data.push({propertyKey:x,propertyTitle:Rt.NetLength,value:S.value,valueType:"input",disabled:!0});continue}if(x==="attr-locked"){g.content.data.push({propertyKey:x,propertyTitle:Rt.Locked,value:u[x].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],disabled:i===!0});continue}if(x==="attr-silk-color"){let A=u[x];g.content.data.push({propertyKey:x,propertyTitle:Rt.SilkColor,value:(A.value||A.defaultValue||"").toLocaleUpperCase(),valueType:"color",disabled:i===!0,hidenColorDefaultBtn:!0,colorPickerRestoreAction(D,E,N,R){Oc(D,"",N,R)}});continue}if(x==="attr-mirror"){g.content.data.push({propertyKey:x,propertyTitle:Rt.Mirror,value:u[x].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],disabled:i===!0});continue}if(x==="attr-reversed-phase"){g.content.data.push({propertyKey:x,propertyTitle:T,value:u[x].value,valueType:"select",valueOptions:[{value:"yes",text:"Yes"},{value:"no",text:"No"}],disabled:i===!0});continue}if(x==="attr-origin"){g.content.data.push({propertyKey:x,propertyTitle:T,value:u[x].value,valueType:"select",valueOptions:[{value:"1",text:"Left Top"},{value:"2",text:"Left Middle"},{value:"3",text:"Left Bottom"},{value:"4",text:"Center Top"},{value:"5",text:"Center Middle"},{value:"6",text:"Center Bottom"},{value:"7",text:"Right Top"},{value:"8",text:"Right Middle"},{value:"9",text:"Right Bottom"}],disabled:i===!0});continue}if(x==="attr-soldermask-toplayer"){g.content.data.push({propertyKey:x,propertyTitle:Rt.TopLayerSolderMaskExpansion,value:me.i18n(S.value),valueType:"input",disabled:!0});continue}if(x==="attr-soldermask-bottomlayer"){g.content.data.push({propertyKey:x,propertyTitle:Rt.BottomLayerSolderMaskExpansion,value:me.i18n(S.value),valueType:"input",disabled:!0});continue}if(x==="attr-select-net"){if(n===ve.FOOTPRINT)continue;g.content.data.push({propertyKey:x,propertyTitle:Rt.Net,value:S.value,valueType:"selectNetNamePCB",valueOptions:u["attr-select-net"].options.map(A=>({...A,showOriginalText:!0})),valueDisabled:p||i===!0||a,disabled:p||i===!0||a,onCommonDispatch(A){let D={action:A,data:{id:[...d]}};C.messageBus.publish("buttomCommand",D)}});continue}if(x==="attr-combination"){g.content.data.push({propertyKey:x,propertyTitle:Rt.Group,value:S.value,valueType:"selectInput",valueOptions:u["attr-combination"].options.map(A=>({...A,showOriginalText:!0})),valueDisabled:p||i===!0,disabled:p||i===!0});continue}if(typeof S.options<"u"){g.content.data.push({propertyKey:x,propertyTitle:T,propertyTitleDataTest:M,value:S.value,valueType:"select",valueOptions:S.options,disabled:i===!0});continue}else{if((S==null?void 0:S.disabled)===!1)continue;g.content.data.push({propertyKey:x,propertyTitle:T,propertyTitleDataTest:M,value:S.value,valueType:"input",disabled:i===!0})}}}return o&&o.isAllCombination?[f,g]:[g]}function ALt(t){let{unit:e,combination:i}=t,o=t.primitiveType,r=t.attrlist[o]||{},n=t.status,a=Object.keys(n),s=[];for(let d=0;d<a.length;d++)n[a[d]]===!0&&s.push(a[d]);let l=s.length<a.length?[...s]:["All",...s];return{title:"Select Object",content:{types:["All",...a],selectedTypes:l}}}function aPi(t){let e=0;for(let i of Object.keys(t||{}))e+=t[i].length;return e}function sPi(t){let e=t.idListOfPrimitive,i=Object.keys(e);return t.doctype===se.FOOTPRINT&&t.primitiveType==="PCB"?me.i18n("Footprint"):t.primitiveTitle||(i.length>1?"Multiple Objects":i[0])}async function lPi(t){let e=t.primitiveType,i=[];switch(e){case"PCB":{i=Q2i(t);break}case"SMARTDIMENSION":{i=K2i(t);break}case"TAGGING":{i=Z2i(t);break}case"PAD":{i=nbi(t);break}case"TESTPOINTER":{i=sbi(t);break}case"FPC_STIFFENER":{i=MLt(t);break}case"2DLINE":{i=MLt(t);break}case"3D Shell - Outline":case"3D Shell - Screw Pillar":case"3D Shell - Side Datum Line":case"3D Shell - Slot Region":case"3D Shell - Entity":{i=W9i(t);break}case"TEXT":{i=Q9i(t);break}case"COMPONENT_ATTR_TEXT":{i=K9i(t);break}case"DEVICE":{i=await J9i(t);break}case"TRACK":{i=$9i(t);break}case"VIA":{i=q9i(t);break}case"IMAGE":{i=X9i(t);break}case"TRUECOLORPICTRUE":{i=tPi(t);break}case"PLANEZONE":{i=oPi(t);break}case"COPPERRESULT":{i=rPi(t);break}case"TEARDROP":{i=ePi(t);break}case"MULTI":{i=nPi(t);break}default:console.warn(`unknown pcb primitive type: ${e}.`)}return i}async function Aq(t){let{blendedData:e}=t,{tabid:i,doctype:o,primitive:r}=e;e.callScene=e.callScene||"ATTR_PANEL",I3.mapBlendedData[e.callScene]=e;let n=await lPi(e);return r.length>=2&&(n=[].concat(ALt(e),n)),da.mapBlendedData=I3.mapBlendedData,da.callScene=e.callScene,{headInfo:{type:sPi(e),selectNum:Kr(e.selectCount)?aPi(e.idListOfPrimitive):e.selectCount,callScene:e.callScene},groups:n,docType:o}}async function vZ(t){let e=t.doctype,i=t.callScene;da.callScene=t.callScene;let o=await lPi(t);return t.primitive.length>=2&&(o=[].concat(ALt(t),o)),{headInfo:{type:sPi(t),selectNum:t.doctype===se.FOOTPRINT?0:t.selectCount||aPi(t.idListOfPrimitive),callScene:i},groups:o,docType:e}}var cPi="PCB_PROPERTY_PANEL_MASK";function c5r(){let e=document.getElementById("attribute-tabs-containter").querySelector('[data-tab="pcb-attr"]'),i=e.getBoundingClientRect().toJSON(),o=document.createElement("div");o.style.position="fixed",o.style.left=`${i.left}px`,o.style.top=`${i.top}px`,o.style.width=`${i.width}px`,o.style.height=`${i.height}px`,o.style.zIndex="99999",o.setAttribute("data-tagitem",cPi),e.tabIndex=1,e.appendChild(o),e.focus()}function Z6(){let t=Array.from(document.querySelectorAll(`[data-tagitem=${cPi}]`));for(let e=0;e<t.length;e++)t[e].remove()}function Oc(t,e,i=null,o={}){let{callScene:r="ATTR_PANEL",isTiggerByBlured:n=!1}=o,s=I3.mapBlendedData[r];if(!s||e===i)return;da.tabKeyPressed&&n===!0?da.bluredKey=t:da.bluredKey="",c5r();let l=s.primitiveType;v2i(t,e,i,s).then(c=>{if(e=c.value,c.msg&&(c.useToast?De({type:"warn",msg:c.msg}):Dt({content:c.msg,closed:!0})),s.callScene!=="ATTR_PANEL"){let y=(s.attrlist[l]||{})[t];y&&(y.value=e);let w=Xi();C.windowBridge.publish("pcbdialogModify",{action:"change",[t]:e,dialogId:s.extra.dialogId},w.contentWindow);return}if(c.ret!==0){vZ(s).then(b=>{da.update(b,r)});return}let d=s.idListOfPrimitive,u=s.status,p=Object.keys(u);p.length==0&&l==="PCB"&&(u[l]=!0,p.push(l));let m=c.value,h={},f={};f.action="modifyPrimitiveDataByPanel",f.deviceSinlgeSelected=!1,f.primitive=[],f.callScene=r,p.forEach(b=>{if(u[b]===!0){f.primitive.push(b),typeof h[b]>"u"&&(h[b]=[]);let y=d[b];if(y==null)return;y.forEach(w=>{h[b].push({"attr-id":w,[t]:m})})}});let g=Xi();C.windowBridge.publish("attrUpdate",{head:f,body:h},g.contentWindow)})}var vH=L(Se()),HPi=L(Hr());var gPi=L(Se());var PLt=L(uPi());var eg=L(z()),{locals:d5r}=PLt.default,{drawing_width_height:u5r,key_section:p5r,value_section:m5r,keys:h5r,values:f5r,one_key:pPi,checkbox:EHe,input_section:mPi,key_text:hPi,icon:fPi,icon_top:ZPs,icon_bottom:JPs}=d5r,g5r="Equal proportion adjustment",b5r="Cancel Equal proportion adjustment",NLt="Drawing Width",kLt="Drawing Height",Zu=t=>{var g,b,y,w,x,S;let{widthProperty:e,beforeInputChildren:i,heightProperty:o,inputUnit:r,onChange:n,needExchange:a=!0,disabled:s}=t,l=J();Ae(PLt.default);let c=localStorage.getItem("linked-width-height")==="1",d=e.value/o.value,[u,p]=(0,gPi.useState)(c),m=T=>{let M,I,[A,D]=Object.entries(T||{})[0],{value:E}=D;c&&d&&!isNaN(d)?A===e.propertyKey?(M=E,I=li.toFixed(E/d,0)):A===o.propertyKey&&(M=li.toFixed(E*d,0),I=E):A===e.propertyKey?(M=E,I=o.value):A===o.propertyKey&&(M=e.value,I=E),n({[o.propertyKey]:{value:I},[e.propertyKey]:{value:M}},{[o.propertyKey]:o,[e.propertyKey]:e})},h=((g=C.PropertyKey[e.propertyKey])==null?void 0:g.title)||NLt,f=((b=C.PropertyKey[o.propertyKey])==null?void 0:b.title)||kLt;return(0,eg.jsxs)("div",{className:u5r,children:[(0,eg.jsx)("div",{className:be(p5r,"key_section"),children:(0,eg.jsxs)("div",{className:h5r,children:[(0,eg.jsxs)("div",{className:pPi,style:{marginBottom:"8px"},children:[(0,eg.jsx)("div",{className:EHe}),(0,eg.jsx)("div",{className:hPi,children:(0,eg.jsx)("span",{"data-test":((y=C.PropertyKey[e.propertyKey])==null?void 0:y.title)||NLt,children:l(((w=C.PropertyKey[e.propertyKey])==null?void 0:w.title)||NLt)})})]}),(0,eg.jsxs)("div",{className:pPi,children:[(0,eg.jsx)("div",{className:EHe}),(0,eg.jsx)("div",{className:hPi,children:(0,eg.jsx)("span",{"data-test":((x=C.PropertyKey[o.propertyKey])==null?void 0:x.title)||kLt,children:l(((S=C.PropertyKey[o.propertyKey])==null?void 0:S.title)||kLt)})})]})]})}),(0,eg.jsxs)("div",{className:m5r,children:[(0,eg.jsxs)("div",{className:f5r,children:[(0,eg.jsxs)("div",{className:mPi,style:{marginBottom:"8px"},children:[(0,eg.jsx)("div",{className:EHe}),(0,eg.jsx)(or,{dataTest:h,name:h,disabled:s,...e,inputUnit:r,onChange:T=>{m({[e.propertyKey]:{value:T}})},style:{color:e.isBlockValue||e.isInstanceValue?"#39f":""}})]}),(0,eg.jsxs)("div",{className:mPi,children:[i&&i(),(0,eg.jsx)("div",{className:EHe}),(0,eg.jsx)(or,{dataTest:f,name:f,disabled:s,...o,inputUnit:r,onChange:T=>{m({[o.propertyKey]:{value:T}})},style:{color:o.isBlockValue||o.isInstanceValue?"#39f":""}})]})]}),(0,eg.jsx)("span",{onClick:()=>{s||(localStorage.setItem("linked-width-height",c?"0":"1"),p(!c))},title:l(c?g5r:b5r),className:be(c?"icon-eda-link":"icon-eda-unlink",fPi),style:{margin:"0 8px",transform:"rotate(90deg)"}}),a&&(0,eg.jsx)("span",{onClick:()=>{s||n({[o.propertyKey]:{value:e.value},[e.propertyKey]:{value:o.value}},{[o.propertyKey]:o,[e.propertyKey]:e})},title:l("Width and height confrontation"),className:be("icon-eda-sort-bi-side",fPi)})]})]})};var LH=L(Se());var OLt=L(yPi());var P1e=L(z()),{locals:y5r}=OLt.default,{icon:wPi,edit_drawing:w5r}=y5r,CPi=t=>{let{value:e,extra:i,onChange:o,target:r,style:n,disabled:a,hasClearButton:s}=t,l=J();return Ae(OLt.default),(0,P1e.jsxs)("div",{className:w5r,children:[(0,P1e.jsx)(ea,{disabled:a,value:e,hasClearButton:s,style:{...n,marginRight:"8px"},onClearClick:()=>{o()},openDialog:()=>{C.messageBus.publish("openSheetMgrDlg",{searchValue:"",isProject:!0,from:"canvas",selected_tab:"system",nosheet:e==="No Sheet",symbolType:se.SHEET_SYMBOL,target:r})}}),(0,P1e.jsx)("span",{onClick:async()=>{if(a||!(i!=null&&i.symbolUuid)||!(i!=null&&i.deviceUuid))return;let c=i.symbolUuid,d=c&&c.indexOf("_")>=0,u=i.deviceUuid,p=await Ze.getSymbol({uuid:c,path:C.currentProject.projectId,isProject:!0}),m={};m={...m,...p},m.projectId=C.currentProject.projectId,(await Nq(m)).action=="yes"&&(u&&!d?await yn({uuid:c,deviceUuid:u}):await yn({uuid:c}))},title:l("Edit Drawing"),className:be("icon-eda-edit",wPi),style:{marginRight:"8px"}}),(0,P1e.jsx)("span",{onClick:async()=>{var h;if(a||!(i!=null&&i.symbolUuid)||!(i!=null&&i.deviceUuid))return;let c=i.symbolUuid,d=i.deviceUuid,u=i.path;if(!d)return;if((await C.messageBus.rpcCall("sch/drawing/revert")).message){C.messageBus.publish("sch/renderPropertyPanel",{renderUI:!0});return}let m=c&&c.indexOf("_")>=0;if(!m&&c){let f=(await C.messageBus.rpcCall($e.DEVICE.GET,[d,C.currentProject.projectId])).message;m=!(f&&((h=f.attributes)==null?void 0:h.Symbol)===c)}if(!m){C.windowBridge.publish("ui/toastMsg",{type:"info",msg:"The current template has been bound to the device"},ko());return}Ts();try{await Ze.deleteSymbol({path:C.currentProject.projectId,uuid:c,isProject:!0}),await C.windowBridge.rpcCall("switchSheetType",{code:d,path:u,target:r},ko()),C.messageBus.publish("sch/renderSchPropertyPanel",{renderUI:!0,target:r})}catch{C.windowBridge.publish("ui/toastMsg",{type:"error",msg:"Failure to restore"},ko())}Zr()},title:l("Revert to Template"),className:be("icon-eda-refresh-2",wPi)})]})};var jLt=L(TPi());var Y0=L(z()),{locals:C5r}=jLt.default,{triangle:kHe,triangle_black:RLt,assembly:SPi,assembly_black:x5r}=C5r,gD=t=>{let{groupTitle:e,propertyKey:i,keyChecked:o,valueChecked:r,propertyTitle:n,value:a,isKeyMulti:s,propertyTarget:l,style:c,valueDisabled:d,valueReadOnly:u,isBlockValue:p,isSymbolValue:m,isAttrParaKey:h,isInstanceValue:f,isInstanceDevicesAttrValue:g,isAssemblyValue:b,iframeDisable:y,rightPanelDisable:w,extra:x,FootprintExist:S=!0,DeviceExist:T=!0,valueType:M="input"}=t;Ae(jLt.default);let I=J(),A=(0,LH.useRef)(null),[D,E]=(0,LH.useState)(null),[N,R]=(0,LH.useState)(!1),{onChange:v,propertyPanelId:k,targetFilterBySelectedType:P,docType:O,selectedTypes:_}=(0,LH.useContext)(XP),j=Vo(),B=async H=>{let q=(await C.messageBus.rpcCall("sch/hasInstanceValue",{target:P,propertyKey:i})).message,U=!w&&f,F=!w&&q,K=!y&&h&&(p||e!=="Basic Properties"&&!m)&&![C.PropertyKey["Batch Reuse"].key,C.PropertyKey["Reuse Block"].key,C.PropertyKey["Group ID"].key,C.PropertyKey["Channel ID"].key].includes(i),te={docType:O,target:P,propertyKey:i},ae=[];U&&ae.push({key:"delete_instance_property",name:"Delete Instance Value"}),F&&ae.push({key:"delete_all_instance_property",name:"Delete All Instance Value"}),K&&ae.push({key:"remove_custom_property",name:"Delete Property"}),ae.length>0&&Au.open({data:ae.map(pe=>({title:me.i18n(pe.name),cmd:pe.key})),position:{x:H.pageX,y:H.pageY},onClick(pe,Z,ee,ce){et(pe.cmdlink[0],te)},onEnterConfirm(pe,Z,ee){et(pe[0],te)}})},V=()=>{let H=Array.isArray(_)&&_.filter(F=>["part","short_symbol","netflag","netport","offPageConnector"].includes(F)),q=H.length===1,U=i==="Device"&&_.includes("Property")&&M==="textArea";if(q||U){let F={form:"replaceDevice",needRefresh:!0},K=H[0];if(K==="part"){let te=vHe();te&&(F.searchValue=te)}C.messageBus.publish("openDeviceSelectDlg",{...F,deviceType:K})}else De({type:"info",msg:"Please select\xA0devices with the same symbol type for substitution."})},G=()=>{var H;switch(i){case"Drawing":return(0,Y0.jsx)(CPi,{disabled:d,value:I(a),style:{...c,flex:"1",height:"24px"},extra:x,target:P,onChange:()=>{v({[i]:{value:"No Sheet"}},{[i]:t})}});case C.PropertyKey.Device.key:return(0,Y0.jsxs)(Y0.Fragment,{children:[(0,Y0.jsx)(ea,{disabled:d,dataTest:n+"",value:a,inputStyle:{color:T?IH(i,b,p,f):"red"},hasClearButton:!1,style:c,openDialog:V}),f?(0,Y0.jsx)("div",{className:kHe}):"",b?(0,Y0.jsx)("div",{className:SPi}):""]});case C.PropertyKey.Symbol.key:return(0,Y0.jsxs)(Y0.Fragment,{children:[(0,Y0.jsx)(Kt,{disabled:d,readOnly:u,dataTest:n+"",value:a,style:{...c,color:p?"#39f":""}}),p?(0,Y0.jsx)(K_,{title:I("Restore Symbol Bound to the Device"),onClick:()=>{et("remove_custom_property",{docType:O,target:P,propertyKey:i})}}):""]});case C.PropertyKey.Footprint.key:return(0,Y0.jsxs)(Y0.Fragment,{children:[(0,Y0.jsx)(ea,{disabled:d,dataTest:n+"",value:a,style:c,inputStyle:{color:S?p||f?"#39f":"":"red"},onClearClick:()=>{v({[i]:{value:""}},{[i]:t})},openDialog:()=>{C.messageBus.publish("openFootprintMgr")},errorValue:!S}),f?(0,Y0.jsx)("div",{className:kHe}):"",g?(0,Y0.jsx)("div",{className:RLt}):""]});case"Height":{if(e==="More Properties"){let q=a,U="mm";q.includes(U)||(q=parseInt(q)+U);let F=x4(q,U);return(0,Y0.jsx)(or,{name:i,disabled:d,...t,value:F,inputUnit:U,originUnit:U,onChange:(K,te)=>{K!==""&&+K<=0||(K+=U,v({[i]:{value:K}},{[i]:t}))}})}break}case C.PropertyKey.Designator.key:{let q=a.split("$");return(0,Y0.jsxs)(Y0.Fragment,{children:[(0,Y0.jsx)(Kt,{disabled:d,enterTriggerBlur:!0,focusTriggerSelect:!0,clickTriggerSelect:!0,dataTest:n+"",defaultValue:q[0],style:{...c,color:IH(i,b,p,f)},onBlur:(U,F)=>{let K=U.target.value;if(U.target.value.includes("$")){F(q[0]);return}K!==q[0]&&v({[i]:{value:K}},{[i]:t})}},q[0]),f?(0,Y0.jsx)("div",{className:kHe}):"",g?(0,Y0.jsx)("div",{className:RLt}):""]})}default:return(0,Y0.jsxs)(Y0.Fragment,{children:[(H=A.current)==null?void 0:H.defaultValueContent({},{color:IH(i,b,p,f)}),f?(0,Y0.jsx)("div",{className:kHe}):"",g?(0,Y0.jsx)("div",{className:RLt}):"",b&&[C.PropertyKey.Device.key,C.PropertyKey["Add into BOM"].key].includes(i)?(0,Y0.jsx)("div",{className:SPi}):"",b&&![C.PropertyKey.Device.key,C.PropertyKey["Add into BOM"].key].includes(i)?(0,Y0.jsx)("div",{className:x5r}):""]})}};(0,LH.useLayoutEffect)(()=>{E(G())},[N]);let Q={};return l&&Object.keys(l).length>0&&(o||r)&&(Q.color="#1890ff",Q.cursor="pointer"),(0,Y0.jsx)(ao,{colorPickerRestoreAction:()=>{v({[i]:{value:null}},{[i]:t})},valueStyle:{color:IH(i,b,p,f)},keyStyle:Q,...t,inputUnit:j,menu:B,valueContent:D,setRender:R,ref:A,onChange:v,propertyPanelId:k})};function IH(t,e,i,o){return e?[C.PropertyKey.Device.key,C.PropertyKey["Add into BOM"].key].includes(t)?"#ff6600":"var(--common-font-color)":i||o?"#39f":""}var MPi,IPi,LPi,vPi,DPi,EPi,APi,NPi,kPi,PPi,OPi,RPi,_Pi,jPi,BPi,zPi,FPi;FPi="text",zPi="pin",BPi="symbol",jPi="busentry",_Pi="template",RPi="arc",OPi="bezier",PPi="path",kPi="rect",NPi="bus",APi="polyline",EPi="circle",DPi="ellipse",vPi="obj",LPi="wire",IPi="netlabel",MPi="table";var Q2=class{};Q2[FPi]="Text",Q2[zPi]="Pin",Q2[BPi]="Symbol",Q2[jPi]="Bus Entry",Q2[_Pi]="Template",Q2[RPi]="Arc",Q2[OPi]="Bezier",Q2[PPi]="Path",Q2[kPi]="Rectangle",Q2[NPi]="Bus",Q2[APi]="Polyline",Q2[EPi]="Circle",Q2[DPi]="Ellipse",Q2[vPi]="Image",Q2[LPi]="Wire",Q2.part="Component",Q2[IPi]="Netlabel",Q2[MPi]="Table";var T4=class extends Q2{};T4.noconnect="No Connect Flag",T4.wire="Wire",T4.part="Component",T4.block_symbol="Block Symbol",T4.sheet="Drawing",T4.short_symbol="Short Flag",T4.nonElectrical_symbol="None Electric Symbol",T4.netport="Net Port",T4.offPageConnector="Off Page Connector",T4.diffPairsFlag="Differential Pairs Flag",T4.netflag="Net Flag",T4.image="Image",T4.busEntry="BusEntry",T4.canvas="Page",T4.maskregion="Mask Region",T4.cell="Table Cell";var JA=class extends T4{};JA.Name="Name",JA.Property="Property",JA.All="All",JA.Other="Other";var BLt=L(zCt()),PHe=L(z()),{locals:S5r}=BLt.default,{select_obj:M5r,radio:I5r}=S5r;function L5r(t,e,i){return t==="All"?i==="All"||e.every(o=>o==="All"||i.includes(o)):i==="All"||i.includes(t)}function v5r(t,e,i,o){if(t==="All")return e?t:[];{let r=new Set(o==="All"?i.filter(n=>n!=="All"):[...o]);return e?r.add(t):r.delete(t),Array.from(r)}}var kq=t=>{let{types:e,selectedTypes:i,onSelectedTypeChange:o}=t;return Ae(BLt.default),(0,PHe.jsx)("ul",{className:M5r,children:(()=>{let n=[];for(let a=0;a<e.length;a++)n.push((0,PHe.jsx)("li",{className:I5r,children:(0,PHe.jsx)(qt,{checked:L5r(e[a],e,i),onChange:s=>{o(v5r(e[a],s,e,i))},children:JA[e[a]]})},a));return n})()})};var ULt=L(VPi());var ma=L(z()),{locals:D5r}=ULt.default,{property_panel:E5r}=D5r,FLt=class extends qe{constructor(){super(...arguments);this.data=null}update(i){this.data=i,this.notify()}},O1e="sch_property_panel",bD=new FLt,XP=(0,vH.createContext)({}),A5r=t=>{let{data:e}=t;Ae(ULt.default),(0,vH.useEffect)(()=>{bD.data=e},[e]);let i=(0,vH.useRef)(null),o=J();if((0,vH.useEffect)(()=>{if(i!=null&&i.current&&e!=null&&e.focus){let{propertyKey:y,propertyPanelId:w}=e.focus,x=JSON.parse(localStorage.getItem("propertyPanel"))||{},S=i.current.querySelector("#"+"More Properties".replace(" ","_"));S&&(S.getAttribute("data-status")==="open"||(S.click(),x.morePropertiesShow=!0,localStorage.setItem("propertyPanel",JSON.stringify(x)))),setTimeout(()=>{var T;if(w===O1e){let M=(T=i==null?void 0:i.current)==null?void 0:T.querySelector(`input[name="${y}"]`);M&&M.focus()}})}}),!e)return(0,ma.jsx)(ma.Fragment,{});let{targetFilterBySelectedType:r,selectedTypes:n,focus:a,target:s,treeTarget:l,isFromTree:c,docType:d}=e,u=0;function p(y,w){y=ue.deepClone(y);let{headInfo:x,groups:S=[],target:T,targetFilterBySelectedType:M,selectedTypes:I,docType:A}=y;for(let E=0;E<S.length;E++){let{title:N,content:R}=S[E];switch(N){case"Select Object":{let{types:v,selectedType:k}=R;S[E].content=(0,ma.jsx)(kq,{types:v,selectedTypes:k,onSelectedTypeChange:h});break}case"Basic Properties":{let{data:v}=R;if(I&&I.length>1&&(v=k5r(v)),I!=null&&I.includes("table")&&I.length===1){let k=Vo();S[E].content=(0,ma.jsx)(ma.Fragment,{children:(0,ma.jsx)(Zu,{disabled:v[0].valueDisabled&&v[1].valueDisabled,widthProperty:v[0],heightProperty:v[1],inputUnit:k,onChange:m,needExchange:!1,beforeInputChildren:()=>(0,ma.jsx)(M3,{propertyPanelId:O1e})})});break}if(I!=null&&I.includes("ellipse")&&I.length===1){let k=Vo();S[E].content=(0,ma.jsxs)(ma.Fragment,{children:[D(N,v.slice(0,2)),(0,ma.jsx)(Zu,{disabled:v[2].valueDisabled&&v[3].valueDisabled,widthProperty:v[2],heightProperty:v[3],inputUnit:k,onChange:m,needExchange:!1}),D(N,v.slice(4))]});break}if(I!=null&&I.includes("rect")&&I.length===1){let k=Vo();S[E].content=(0,ma.jsxs)(ma.Fragment,{children:[D(N,v.slice(0,1)),(0,ma.jsx)(Zu,{disabled:v[1].valueDisabled&&v[2].valueDisabled,widthProperty:v[1],heightProperty:v[2],inputUnit:k,onChange:m,needExchange:!1}),D(N,v.slice(3))]});break}if(I!=null&&I.includes("obj")&&I.length===1){let k=Vo();S[E].content=(0,ma.jsxs)(ma.Fragment,{children:[D(N,v.slice(0,2)),(0,ma.jsx)(Zu,{disabled:v[2].valueDisabled&&v[3].valueDisabled,widthProperty:v[2],heightProperty:v[3],inputUnit:k,onChange:m,needExchange:!1}),D(N,v.slice(4))]});break}S[E].content=(0,ma.jsx)(ma.Fragment,{children:D(N,v)});break}case"Cell Attributes":{let{data:v}=R,k=Vo();S[E].content=(0,ma.jsxs)(ma.Fragment,{children:[(0,ma.jsx)(Zu,{disabled:v[0].valueDisabled&&v[1].valueDisabled,widthProperty:v[0],heightProperty:v[1],inputUnit:k,onChange:m,needExchange:!1}),v.slice(2).map((P,O)=>(0,ma.jsx)(gD,{...P,groupTitle:N},O))]});break}case"Text Attributes":{let{data:v}=R;S[E].content=(0,ma.jsx)(ma.Fragment,{children:D(N,v)});break}case"Drawing":{let{data:v}=R;if(v.length===1)S[E].content=(0,ma.jsx)(ma.Fragment,{children:D(N,v)});else{let k=Vo();S[E].content=(0,ma.jsxs)(ma.Fragment,{children:[D(N,v.slice(0,2)),(0,ma.jsx)(Zu,{disabled:v[2].valueDisabled&&v[3].valueDisabled,widthProperty:v[2],heightProperty:v[3],inputUnit:k,onChange:m})]})}break}case"Drawing Border":{let{data:v}=R,k=Vo();S[E].content=(0,ma.jsxs)(ma.Fragment,{children:[D(N,v.slice(0,3)),(0,ma.jsx)(Zu,{disabled:v[3].valueDisabled&&v[4].valueDisabled,widthProperty:v[3],heightProperty:v[4],inputUnit:k,onChange:m}),D(N,v.slice(5))]});break}case"Title Block":{let{data:v}=R,k=v.find(O=>O.propertyKey==="@Assembly Variant");k&&(k.value=o(k.value));let P=v.findIndex(O=>O.valueType==="addParamSelector");if(P>=0){let{valueType:O,valueDisabled:_,valueOptions:j}=v[P];v.splice(P,1),S[E].content=(0,ma.jsx)(ma.Fragment,{children:D(N,v)}),S[E].after=(0,ma.jsx)(Gf,{disabled:_,list:j,onAddProperty:f})}else S[E].content=(0,ma.jsx)(ma.Fragment,{children:D(N,v)});break}case"Key Properties":{let{data:v}=R;S[E].content=(0,ma.jsx)(ma.Fragment,{children:D(N,v)});break}case"More Properties":{let{data:v}=R;if(v.length>0){let k=v.findIndex(P=>P.valueType==="addParamSelector");if(k>=0){let{valueType:P,valueDisabled:O,valueOptions:_}=v[k];v.splice(k,1),S4(v),S[E].content=(0,ma.jsx)(ma.Fragment,{children:D(N,v)}),S[E].after=(0,ma.jsx)(Gf,{disabled:O,list:_,onAddProperty:f})}else v=S4(v),S[E].content=(0,ma.jsx)(ma.Fragment,{children:D(N,v)})}else S[E].content=(0,ma.jsx)(ma.Fragment,{});break}case"Group":{let{data:v}=R;S[E].content=(0,ma.jsx)(ma.Fragment,{children:D(N,v)});break}case"Reuse Block":{let{data:v}=R;S[E].content=(0,ma.jsx)(ma.Fragment,{children:D(N,v)});break}default:S[E].content=(0,ma.jsx)(ma.Fragment,{});break}}return y;function D(E,N){let R=[];for(let v=0;v<N.length;v++){let{valueType:k,valueDisabled:P}=N[v];k==="button"?R.push((0,ma.jsx)(Me,{onClick:()=>{P||w()},style:{margin:"0 8px 8px",width:"calc(100% - 16px)"},disabled:P,children:"Reset Default Style"},k+"-"+v)):R.push((0,ma.jsx)(gD,{index:u,...N[v],groupTitle:E},v)),u++}return R}}let m=(y,w,x)=>{let S={};for(let T of Object.keys(r||{})){let M={};for(let I=0;I<r[T].length;I++){let A=r[T][I];M[A]=y}S[T]=M}C.messageBus.publish("sch/setProperty",{target:s,docType:d,treeTarget:l,selectedTypes:n,isFromTree:c,data:S,...x})},h=y=>{C.messageBus.publish("sch/renderPropertyPanel",{target:s,docType:d,treeTarget:l,isFromTree:c,selectedTypes:y,isSelectedTypeChange:!0})},f=y=>{let w={};for(let x of Object.keys(r||{})){let S={};for(let T=0;T<r[x].length;T++){let M=r[x][T];S[M]=y}w[x]=S}C.messageBus.publish("sch/addProperty",{selectedType:n,target:s,docType:d,treeTarget:l,isFromTree:c,data:w,focus:{propertyKey:Object.keys(y||{})[0],propertyPanelId:O1e}})},g=()=>{let{groups:y}=e,w={},x={};for(let S=0;S<y.length;S++)switch(y[S].title){case"Basic Properties":case"Cell Attributes":case"Text Attributes":{let T=y[S].content.data;for(let M=0;M<T.length;M++)Xs(T[M],"defaultValue")&&(w[T[M].propertyKey]={value:null},x[T[M].propertyKey]=T[S]);break}}m(w,x)},b=()=>{let{groups:y,selectedTypes:w}=e;if(w!=null&&w.includes("table")&&w.length===1)g();else for(let x=0;x<y.length;x++)switch(y[x].title){case"Basic Properties":{let S=y[x].content.data,T={},M={};for(let I=0;I<S.length;I++)Xs(S[I],"defaultValue")&&(T[S[I].propertyKey]={value:null},M[S[I].propertyKey]=S[x]);m(T,M);break}}};return(0,ma.jsx)(XP.Provider,{value:{onChange:m,onSelectedTypeChange:h,onAddProperty:f,propertyPanelId:O1e,selectedTypes:n,docType:d,target:s,targetFilterBySelectedType:r},children:(0,ma.jsx)("div",{className:E5r,id:O1e,children:(0,ma.jsx)(tf,{propertyPanelId:O1e,...p(e,b),ref:i})})})},zLt;function N5r(t){let e=document.querySelector("#sch-right-panel .sch-attribute-property");zLt=zLt||(0,HPi.createRoot)(e),zLt.render((0,ma.jsx)(vH.default.StrictMode,{children:(0,ma.jsx)(A5r,{data:t})}))}async function RHe(t){N5r(t)}function k5r(t){t.sort((n,a)=>n.isAttrParaKey&&!a.isAttrParaKey?-1:!n.isAttrParaKey&&a.isAttrParaKey?1:0);let e=t.findIndex(n=>!n.isAttrParaKey),i=t.slice(0,e),o=t.slice(e);S4(i);let r=i.findIndex(n=>n.propertyKey==="Name");if(r>0){let n=i[r];i[r]=i[0],i[0]=n}return t=i.concat(o),t}var _He=(t,e,i,o)=>{if(["attr-reversed-phase-extend","attr-reversed-phase"].indexOf(o)<=-1)return!1;let n=I3.mapBlendedData[t];if(!n)return!1;let s=(n.extra||{}).hasDefaultTextTypeface,c=n.primitiveType=="TEXT"||n.primitiveType=="COMPONENT_ATTR_TEXT"?n.attrlist[n.primitiveType]["attr-text-typeface"].value:"";return typeof s<"u"?!!s:c=="default"&&e&&i},R1e=null,jHe=(t,e,i)=>{let{propertyKey:o,onChange:r,value:n}=e,s=I3.mapBlendedData[i],l=()=>{vZ(s).then(p=>{da.update(p,i)})},d=s.primitiveType=="TEXT"||s.primitiveType=="COMPONENT_ATTR_TEXT"?s.attrlist[s.primitiveType]["attr-text-typeface"].value:"";d=d.replace("default",Rr("default"));let u=me.i18n(`The font family\xA0"{0}" doesn't support to set as Inverted\u3002Do you want to set the text font family as another one?`,[d]);R1e=Dt({title:"Warn",content:u,closed:!0,esc:!0,mask:!0,showCancel:!0,onConfirm:()=>{r({[Rt.FontFamily]:{value:P5r(s)?"\u5B8B\u4F53":"\u9ED1\u4F53"}},{[Rt.FontFamily]:{propertyKey:"attr-text-typeface",value:"default"}}),r({[o]:{value:t}},{[o]:e}),Z6(),R1e=null},onCancel:()=>{l(),R1e=null},onClose:()=>{l(),R1e=null}})};function P5r(t){var e;for(let i of t.primitive)if(i==="TEXT"||i==="COMPONENT_ATTR_TEXT"){let o=t.attrlist[i]||t.attrlist.MULTI,r=(e=o==null?void 0:o["attr-text-content"])==null?void 0:e.value;return r===MZ||r==null?!1:/^[a-zA-Z0-9\s]+$/.test(r)}}var GPi=()=>{let e=Vr("frame_"+gi()).parentElement,i=document.createElement("div");i.setAttribute("id","pcbCanvasMask"),i.style.position="absolute",i.style.width="100%",i.style.height="100%",i.style.zIndex="10000",e.append(i)};function YPi(t,e,i,o){if(isNaN(parseFloat(e))){i(t);return}if(o&&(!o(e)||parseFloat(e)<0)){i(t);return}i(e)}var O5r=["Comment","comment","Name","Value","Manufacturer Part","Device"],vHe=()=>{var r,n,a,s,l,c;let t,e,i;dt()==ve.PCB?e=da.data.ATTR_PANEL.groups.reduce((d,u)=>(d=d.concat(u.content.data),d),[]).filter(Boolean):e=bD.data.groups.reduce((d,u)=>(d=d.concat(u.content.data),d),[]).filter(Boolean);for(let d of O5r){let u=e.find(p=>p.propertyKey===d);if(u){if(i=u.value,/\=\{(.*)\}/gi.test(i)){let p=/\=\{(.*)\}/gi.exec(i);p&&p[1]&&(i=(n=(r=e.find(m=>m.propertyKey===p[1]))==null?void 0:r.value)!=null?n:"")}break}}i==="<...>"&&(i=""),t=(s=(a=e.find(d=>d.propertyKey===C.PropertyKey.Footprint.key))==null?void 0:a.value)!=null?s:"",t==="<...>"&&(t="");let o=(c=(l=e.find(d=>d.propertyKey===C.PropertyKey.Designator.key))==null?void 0:l.value)!=null?c:"";return o&&(o.startsWith("R")||o.startsWith("C")||o.startsWith("L")||o.startsWith("D"))?`${i} ${t}`.trim():`${i}`.trim()};var KPi=L(Se());var HLt=L(QPi());var VLt=L(z()),{locals:R5r}=HLt.default,{vector_input_main:_5r}=R5r,GLt=t=>{let{value:e,onChange:i,style:o,disabled:r}=t;Ae(HLt.default);let[n,a]=(0,KPi.useState)(e),s=ue.deepClone(n);return(0,VLt.jsx)("div",{className:_5r,style:o,children:(()=>{let c=[];for(let d=0;d<2;d++)c.push((0,VLt.jsx)(Kt,{disabled:r,focusTriggerSelect:!0,enterTriggerBlur:!0,defaultValue:(n[d]||"")+"",style:{height:"100%",marginRight:d==0?"5px":"0px"},onBlur:u=>{if(u.target.value!==""&&u.target.value=="0"||isNaN(+u.target.value)||!Number.isInteger(+u.target.value)||+u.target.value<0){u.target.value=(n[d]||"")+"";return}if(n[d]!==+u.target.value){if(s[d]=+u.target.value,s[0]>=s[1]&&s[0]!==0&&s[1]!==0){u.target.value=(n[d]||"")+"",s[d]=n[d];return}a(s),s.length==2&&s[0]&&s[1]||(s[0]=s[0]||0,s[1]=s[1]||0),i(s)}}},d));return c})()})};var zHe=L(Se());var JPi=L(z()),ZPi=t=>{let e=J(),{value:i,inputUnit:o="",name:r,disabled:n,onChange:a,style:s={},className:l="",dataTest:c="",onFocus:d,onKeyDown:u=b=>{}}=t,[p,m]=(0,zHe.useState)(i),h=(0,zHe.useRef)(!1),f=ca();return(0,JPi.jsx)(Kt,{dataTest:c,name:r||"",value:String(p),disabled:n,enterTriggerBlur:!0,clickTriggerSelect:!0,className:l,style:{height:"24px",borderRadius:"2px",...s},htmlAttrs:{"data-attr-key":r},onkeydown:u,onChange:b=>m(b),onFocus:b=>{h.current=!0,m(p.split(o)[0]),d&&d()},onBlur:b=>{let y=b.target,w=y.value||"",x=y.getAttribute("oldval")||y.getAttribute("oldVal");h.current=!1,w!==x&&(f(),m(p.split(o)[0]+o),a(w,b))}})};var Xc=L(Se());var tOi=L(Se());var YLt=L(XPi());var iOi=L(uT()),OC=L(z()),$Pi={position:"fixed",width:"inherit",maxHeight:"192px",zIndex:9999,overflow:"auto",background:"var(--bg-color-drop-down-menu)",fontSize:"12px",color:"var(--font-color-drop-down-menuItem)",boxShadow:"0 0 4px rgba(0, 0, 0, calc(var(--has-shadow-drop-down-menu) * 0.2))",border:"1px solid var(--border-color-drop-down-menu)"},eOi={height:"24px",padding:"0 8px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",lineHeight:"24px",cursor:"pointer",backgroundColor:"var(--bg-color-drop-down-menu)"},j5r={background:"var(--bg-color-selected-drop-down-menuItem)",color:"var(--font-color-selected-down-menuItem)"};var WSe=be.bind(YLt.default.locals);function B5r(t,e){let{value:i,selectList:o,translateOption:r,style:n,inputStyle:a,selectAlwaysShow:s,selectListStyle:l={},disabled:c,focusTriggerSelect:d,clear:u,showDropDownIcon:p,dataTest:m,htmlAttrs:h={},onSelectItemClick:f,onSelectItemEnter:g,onClick:b,onClearClick:y}=t;Ae(YLt.default);let w=(0,Xc.useRef)({initWidth:0,initLeft:0}),[x,S]=(0,Xc.useState)(i||""),[T,M]=(0,Xc.useState)(o||[]),[I,A]=(0,Xc.useState)(!!s),D=(0,Xc.useRef)(null),[E,N]=(0,Xc.useState)(-1),R=(0,Xc.useRef)(null),v=(0,Xc.useRef)(I),k=(0,Xc.useRef)(x),P=(0,Xc.useRef)(E),O=J(),_=(0,Xc.useRef)({x:0,y:0}),j=(0,Xc.useRef)(null),B=(0,Xc.useRef)(!1),[V,G]=(0,Xc.useState)(null);(0,Xc.useEffect)(()=>{let Ne=document.createElement("div");return document.body.appendChild(Ne),G(Ne),()=>{document.body.removeChild(Ne)}},[]),(0,tOi.useImperativeHandle)(e,()=>D.current),(0,Xc.useEffect)(()=>{k.current=x},[x]),(0,Xc.useEffect)(()=>{if(v.current=I,I){let{top:Ne,left:Te}=fe.current.getBoundingClientRect();_.current={x:Te,y:Ne},Q()}else j.current&&clearInterval(j.current)},[I]);let Q=()=>{fe.current&&(j.current=setInterval(()=>{if(!fe.current)return;let{top:Ne,left:Te}=fe.current.getBoundingClientRect();!HU({x:Te,y:Ne},_.current)&&A(!1)},200))};(0,Xc.useEffect)(()=>{t.selectList&&M(t.selectList)},[t.selectList,I]),(0,Xc.useEffect)(()=>{S(t.value)},[t.value]);let H=(0,Xc.useRef)(!1),q=Ne=>{H.current=!0;let Te=ype(Ne.target.value.trim());S(Te),U(Te)},U=(Ne=x)=>{if(t.selectList){N(-1),K();let Te=Ne.toLowerCase();M(t.selectList.filter(Pe=>Pe.toLowerCase().includes(Te)))}},F=(Ne,Te)=>{var Pe;B.current&&Ne!=="Click"||(vn(Te)&&(Te=k.current),s||A(!1),S(Te),N(-1),(Pe=t.onChange)==null||Pe.call(t,Te),console.warn("toChange",Te))},K=(0,Xc.useCallback)(()=>{if(!~P.current)return;let Ne=R.current,{scrollHeight:Te,clientHeight:Pe}=Ne,Oe=Ne.children[P.current],Ue=Oe?Oe.offsetTop:0;Ue>Te-Pe?Ue=Te-Pe:Ue<Pe/2?Ue=0:Ue-=Pe/2,Ne.scrollTop=Ue},[]);(0,Xc.useEffect)(()=>{P.current=E},[E]);let te=Ne=>{if(T.length){if(Ne.key==="ArrowDown"){let Te=P.current+1;Te>T.length-1&&(Te=0),N(Te),K()}else if(Ne.key==="ArrowUp"){let Te=P.current-1;Te<0&&(Te=T.length-1),N(Te),K()}}else Ne.key==="Enter"&&H.current&&F("KeyBoard");ae(Ne)},ae=Ne=>{let Te=["arrowdown","arrowup"],Pe=Ne.key.toLowerCase(),Oe=Te.includes(Pe),Ue=Ne.ctrlKey&&(Pe==="c"||Pe==="v");(Oe||Ue)&&Ne.stopPropagation(),Oe&&Ne.preventDefault()};(0,Xc.useEffect)(()=>{let Ne=fe.current;if(Ne)return I&&Ne.addEventListener("keydown",te),()=>{Ne.removeEventListener("keydown",te)}},[I]);let pe=Ne=>{N(Ne)},Z=Ne=>{B.current=!0,D.current&&D.current.blur(),F("Click",T[Ne]),f==null||f(T[Ne]),B.current=!1},ee=()=>{let Ne=~E?T[E]:void 0;Ne&&g&&g(Ne),F("KeyBoard",Ne)},ce=Ne=>{Ne.key==="Enter"?ee():Ne.key==="Escape"&&(Ne.stopPropagation(),D.current.blur(),A(!1))},ne=Ne=>r?r.deleteBrace?O(Ne.slice(1,Ne.length-1)):O(Ne):"",oe=()=>T.map((Ne,Te)=>{let Pe=ne(Ne),Oe=(()=>{let Ve=typeof Ne=="string"?Ne.toLocaleLowerCase().indexOf(x.toLocaleLowerCase()):-1,ze;if(Ve>=0){let He=(0,OC.jsx)("em",{style:{fontStyle:"normal"},className:"hightlight",children:Ne.slice(Ve,Ve+x.length)});ze=(0,OC.jsxs)("span",{children:[Ne.slice(0,Ve),He,Ne.slice(Ve+x.length)]})}else ze=Ne;return(0,OC.jsxs)(OC.Fragment,{children:[ze,Pe?(0,OC.jsx)("span",{style:{float:"right"},children:Pe}):""]})})(),Ue=Te===E?{...eOi,...j5r}:eOi;return(0,OC.jsx)("div",{title:Pe?`${Ne}|${Pe}`:"",style:Ue,onPointerDown:Ve=>Ve.preventDefault(),onPointerMove:()=>pe(Te),onPointerUp:()=>Z(Te),children:Oe},Ne+Te)}),[re,Y]=(0,Xc.useState)($Pi),[X,ie,de]=La(),fe=(0,Xc.useRef)(null);(0,Xc.useEffect)(()=>(D.current&&ie(D.current),()=>{de()}),[D.current]);function ye(){var Ge;if(!D.current)return;let{width:Ne,height:Te}=getComputedStyle(D.current),Pe=((Ge=D.current)==null?void 0:Ge.getBoundingClientRect())||{},{top:Oe=0,left:Ue=0,right:Ve=0}=Pe,ze=parseFloat(Ne),He=parseFloat(Te),{innerHeight:Ye,innerWidth:ke}=window,Be=Oe<Ye?{key:"top",value:Oe+He}:{key:"bottom",value:Ye-Oe},Xe={...$Pi,width:`${ze}px`,left:`${Ue}px`,[Be.key]:`${Be.value}px`};Y(Xe)}let Le=(0,Xc.useCallback)(Ne=>{!fe.current||fe.current.contains(Ne.target)||!R.current||R.current.contains(Ne.target)||(N(-1),A(!1))},[]);(0,Xc.useEffect)(()=>{if(I)return document.addEventListener("mousedown",Le),()=>{document.removeEventListener("mousedown",Le)}},[I,Le]),(0,Xc.useEffect)(()=>{X&&ye()},[X]),(0,Xc.useEffect)(()=>{t.focus&&D.current.focus()},[]),(0,Xc.useEffect)(()=>{window.setTimeout(()=>{if(I!==!0||!R.current)return;let Ne=document.documentElement.clientWidth,Te=null,Pe=null;R.current.style.width="fit-content",Te=R.current.getBoundingClientRect().toJSON(),w.current.initWidth=Te.width,w.current.initLeft=Te.left,Pe=fe.current.getBoundingClientRect().toJSON(),Te.width<=Pe.width&&(R.current.style.width=v_e(fe.current)+"px",Te=R.current.getBoundingClientRect().toJSON()),Te.right>document.documentElement.clientWidth&&(R.current.style.left=Ne-Te.width-(Ne-Pe.right)+"px"),R.current.style.width=Te.width+"px";let Oe=Te.height,Ue=D.current.getBoundingClientRect().top;Ue+Oe>window.innerHeight&&(R.current.style.top="",R.current.style.bottom=innerHeight-Ue+"px")})},[I]);let Re=I&&T.length;return(0,OC.jsxs)("div",{ref:fe,style:{width:"100%",...t.style},tabIndex:10,children:[(0,OC.jsxs)("div",{className:WSe("input-wrap","display-flex flex-lateral-axis-center"),children:[(0,OC.jsx)("input",{"data-tabfocus":"tabfocus","data-test":m,className:be(WSe("input",{clear:u}),t.className),style:{width:"100%",...a},type:"text",ref:D,title:x,disabled:c,...h,autoComplete:"off",onFocus:Ne=>{d&&D.current&&D.current.select()},onInput:Ne=>{q(Ne),A(!0),ye()},onKeyUp:ce,value:x,onClick:()=>{I||(b==null||b(),A(!0),ye())},onBlur:Ne=>{Ne.target!==fe.current&&(H.current=!1,F("blur"))}}),(0,OC.jsxs)("div",{className:WSe("input-icon","display-flex flex-lateral-axis-center"),children:[u&&!c&&x!==""&&(0,OC.jsx)("i",{"data-test":`${m} Clear`,className:be(WSe("icon-clear"),"icon-eda-x-circle"),onClick:y}),p&&(0,OC.jsx)("i",{className:WSe("arr-icon",{active:Re}),onMouseDown:()=>{c||(I?(N(-1),A(!1)):(b==null||b(),ye(),A(!0)))}})]})]}),Re&&V?iOi.default.createPortal((0,OC.jsx)("div",{style:{...re,...l},ref:R,onWheel:Ne=>{Ne.stopPropagation()},onMouseDown:Ne=>{Ne.preventDefault()},"data-tagitem":"searchDropdownContainer",children:(0,OC.jsx)("div",{style:{width:"fit-content",overflowX:"auto",minWidth:"100%"},children:oe()})}),V):null]})}var _1e=(0,Xc.memo)((0,Xc.forwardRef)(B5r));var B1e=L(Se());var j1e=L(z()),oOi=t=>{var x,S,T,M;let{parentProps:e,operateConfigs:i,Slot:o}=t,[r,n]=(0,B1e.useState)([]),[a,s]=(0,B1e.useState)(null),l=!!Object.values(i).length,c=(0,B1e.useRef)(0),d=(x=e.extra)==null?void 0:x.isComplex,u=(S=e.extra)!=null&&S.defaultFirstRow?{...e.extra.defaultFirstRow,extra:{...e.extra.defaultFirstRow.extra,childId:"0"}}:null,p=((M=(T=e.extra)==null?void 0:T.childIprops)==null?void 0:M.length)>0?e.extra.childIprops:u?[u]:[],m=(0,B1e.useRef)(p),h=()=>{var E,N;let I=ue.deepClone(m.current[m.current.length-1]),A=m.current.map(R=>R.value);I.extra=(E=I==null?void 0:I.extra)!=null?E:{},I.valueOptions=(N=e.extra)==null?void 0:N.originLists.filter(R=>!A.includes(R.value)),I.extra.childId=`${m.current.length+c.current}`;let D={...I,value:""};c.current++,n(R=>[...R,D])},f=()=>{if(!a)return;let I=Number(a);u&&I===0||(m.current.splice(I,1),n(A=>A.filter(D=>{var E;return((E=D.extra)==null?void 0:E.childId)!==a})),s(null))},g=I=>{var A;I==="add"&&h(),I==="delete"&&f(),(A=i.onClick)==null||A.call(i,I,m.current)},b=I=>{d||(i.deleteDisabled=u&&I==="0",s(I))},y=(I,A)=>{var N;let E={backgroundColor:a===A?"var(--bg-color-selected-tr)":"var(--common-bg-color)"};return{...I,extra:{...I.extra,inputStyle:E,childId:A},style:E,onChange:(N=I.onChange)!=null?N:e.onChange}},w=(I,A)=>{var N;let D=((N=I.extra)==null?void 0:N.childId)||String(A),E=y(I,D);return(0,j1e.jsx)("div",{id:D,onClick:()=>b(D),style:E.style,children:(0,j1e.jsx)(o,{...E})},D)};return(0,j1e.jsxs)("div",{style:{width:"100%"},children:[l&&(0,j1e.jsx)(ec,{...i,onClick:g}),[...m.current,...r].map(w)]})};var z1e=L(Se());var WLt=L(nOi());var Pq=L(z()),{locals:z5r}=WLt.default,{main:F5r,textarea:U5r,tip:C_s,item:V5r}=z5r,H5r=({title:t})=>{let e=J(),i=(0,z1e.useRef)(null);return(0,Pq.jsx)("div",{ref:i,className:V5r,title:t,children:t})};function aOi(t){Ae(WLt.default);let e=J(),{dataTest:i,value:o,style:r={},isMulti:n,optional:a}=t,{storageKey:s}=a,l=(0,z1e.useRef)(null),[c,d]=(0,z1e.useState)(!1),u=C.profileSetting[s]||58,[p,m]=(0,z1e.useState)(C.profileSetting[s]||58),f=Gr(()=>{if(l.current&&c){let y=l.current.clientHeight;m(y)}},50),g=y=>{c&&l.current&&f()},b=ue.throttle(()=>{u!==p&&(C.profileSetting[s]=p||72,Ks({[s]:C.profileSetting[s]},!0))},200);return(0,Pq.jsx)(Pq.Fragment,{children:(0,Pq.jsx)("div",{className:F5r,style:r,children:(0,Pq.jsx)("div",{"data-test":i,className:U5r,style:{height:p},ref:l,onMouseMove:y=>{var w;(w=y.target)!=null&&w.title||g(y)},onMouseDown:y=>{d(!0)},onMouseUp:y=>{var w;(w=y.target)!=null&&w.title||(d(!1),b())},children:o.map((y,w)=>(0,Pq.jsx)(H5r,{title:(y==null?void 0:y.title)||y},w))})})})}var ly=L(Se()),QLt=L(lOi());var yD=L(z()),cOi="TOOLBAR_IFRAME_MASK";function G5r(t){let e=be.bind(QLt.default.locals);Ae(QLt.default);let{style:i,changeRatio:o,onMouseMove:r}=t,n=(0,ly.useRef)(null),[a,s]=(0,ly.useState)(t.explodeRatio),l=(0,ly.useRef)(!1),c=(0,ly.useRef)({stepValue:t.stepValue||.1,hasMove:!1,isMouseDown:!1,mouseDownX:0,mouseDownDistX:0,targetElement:null,barRadius:0,allRectDomWidth:0,timeOut:null}),d=(0,ly.useCallback)(()=>{if(!n.current)return;let x=n.current.querySelector('[data-tagitem="range-bar"]'),S=n.current.querySelector('[data-tagitem="range-track"]');c.current.allRectDomWidth=S.getBoundingClientRect().width,c.current.barRadius=x.getBoundingClientRect().width/2},[]),u=(0,ly.useCallback)((x,S=!0)=>{let T=Math.round(Math.min(Math.max(x,0),1)*1e3)/1e3,M=a;s(T),S&&M!=T&&o(T)},[]),p=(0,ly.useCallback)(x=>{if(l.current)switch(x.stopPropagation(),x.code){case"ArrowDown":case"ArrowLeft":u(a-c.current.stepValue);break;case"ArrowUp":case"ArrowRight":u(a+c.current.stepValue);break}},[]),m=(0,ly.useCallback)(x=>{l.current&&x.stopPropagation()},[]);Gs("keyup",p),Gs("keydown",m);let h=x=>{let T=x.currentTarget.getAttribute("data-action");if(T==="minus"){u(a-c.current.stepValue);return}if(T==="add"){u(a+c.current.stepValue);return}},f=(0,ly.useCallback)(x=>{x.preventDefault(),c.current.isMouseDown=!0,c.current.hasMove=!1,c.current.mouseDownX=x.clientX,c.current.targetElement=x.target,c.current.mouseDownDistX=c.current.mouseDownX-c.current.targetElement.offsetLeft,bje(cOi),document.addEventListener("mousemove",g),document.addEventListener("mouseup",b)},[]),g=(0,ly.useCallback)(x=>{x.preventDefault(),c.current.isMouseDown=!0,c.current.hasMove=!0;let T=(x.clientX-c.current.mouseDownDistX+c.current.barRadius)/c.current.allRectDomWidth;u(T,!1);let M=Math.round(Math.min(Math.max(T,0),1)*1e3)/1e3;c.current.timeOut!=null&&clearTimeout(c.current.timeOut),c.current.timeOut=setTimeout(()=>{var I;((I=c==null?void 0:c.current)==null?void 0:I.timeOut)!=null&&(c.current.timeOut=null),r(M)},50)},[]),b=(0,ly.useCallback)(x=>{x.preventDefault(),c.current.isMouseDown=!1,document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",b),window.setTimeout(()=>{c.current.hasMove=!1}),LTe(cOi);let T=(x.clientX-c.current.mouseDownDistX+c.current.barRadius)/c.current.allRectDomWidth;u(T)},[]),y=(0,ly.useCallback)(x=>{if(x.preventDefault(),c.current.hasMove)return;let S=x.currentTarget,M=(x.clientX-S.getBoundingClientRect().left)/c.current.allRectDomWidth;u(M)},[]),w=(0,ly.useCallback)(x=>{x.preventDefault(),x.deltaY<0?u(a+c.current.stepValue):u(a-c.current.stepValue)},[]);return(0,ly.useEffect)(()=>{var T;d(),(T=n.current)==null||T.addEventListener("wheel",w);let x=new ResizeObserver(M=>{d()}),S=n.current;return S&&x.observe(S),()=>{var M;x.disconnect(),(M=n.current)==null||M.removeEventListener("wheel",w)}},[]),(0,yD.jsx)("div",{ref:n,style:{width:"100%",height:"24px",...i},className:e("range-container"),id:"right_panel_range",onMouseOver:()=>l.current=!0,onMouseOut:()=>l.current=!1,children:(0,yD.jsxs)("div",{className:e("range-wrapper"),children:[(0,yD.jsx)("div",{className:e("range-minstep"),"data-action":"minus",onClick:h,children:(0,yD.jsx)("i",{className:e("icon-min")})}),(0,yD.jsxs)("div",{"data-tagitem":"range-process",className:e("range-process"),onMouseUp:y,children:[(0,yD.jsx)("div",{"data-tagitem":"range-track",className:e("range-track"),"data-action":"track"}),(0,yD.jsx)("div",{"data-tagitem":"range-bar-out",className:e("range-bar-out"),style:{width:`${a*100}%`},children:(0,yD.jsx)("div",{"data-tagitem":"range-bar",className:e("range-bar"),"data-action":"bar",onMouseDown:f})}),(0,yD.jsx)("div",{"data-tagitem":"range-rateline",className:e("range-rateline"),"data-action":"rateline",style:{width:`${a*100}%`}})]}),(0,yD.jsx)("div",{className:e("range-addstep"),"data-action":"add",onClick:h,children:(0,yD.jsx)("i",{className:e("icon-add")})})]})})}var dOi=ly.default.memo(G5r,(t,e)=>t.explodeRatio==e.explodeRatio&&t.stepValue==e.stepValue);var ja=L(z()),{locals:UHe}=KLt.default,{key_checkbox:Y5r,value_checkbox:W5r,key_text:Q5r,content:K5r}=UHe,Z5r=UHe.property,J5r=UHe.key_section,q5r=UHe.value_section;var $A="(Default)";function yne(t,e,i,o,r){return[{value:e+i,text:o||e+i,style:{borderBottom:"1px solid var(--separator-color-drop-down-menu)"},icon:r},...t]}var uOi=(t,e)=>{var ut;let{noTips:i,openDialog:o,groupTitle:r,propertyPanelId:n,index:a,keyCheckBox:s,keyCheckBoxDisabled:l,keyChecked:c,propertyKey:d="",propertyTitle:u,isShowPropertyKey:p=!0,isShowKeyCheckbox:m=!0,isShowValueCheckbox:h=!0,value:f,isMulti:g,isKeyMulti:b,defaultValue:y,needRefresh:w,hasModified:x,valueType:S="input",keyType:T,valueCheckBox:M,valueCheckBoxControlled:I=!1,valueCheckBoxDisabled:A,valueChecked:D,valueDisabled:E,valueReadOnly:N,hidden:R,valueOptions:v=[],unit:k,menu:P,valueContent:O,style:_,keyStyle:j,valueStyle:B,extra:V,onChange:G,onClear:Q,onCommonDispatch:H,contentStyle:q,containerStyle:U,isEnableBreakLine:F,button:K,contentRender:te,attachedContent:ae,hasClearButton:pe,translateContext:Z,callScene:ee="ATTR_PANEL",stillNeedClear:ce=!1,hidenColorDefaultBtn:ne=void 0,buttonsConfig:oe=void 0,showDefaultKeyContent:re=!1,needCompressText:Y=!1,allowNoneOfColorPick:X=!0,checkboxTabIndex:ie=void 0,isControlledInput:de=!1,onBlur:fe,onClick:ye,colorPickerRestoreAction:Le,textAreaRelevancePCBOptional:Re,setRender:Ne,propertyTarget:Te,validatedValue:Pe,onKeyContextmenu:Oe}=t,{inputUnit:Ue}=t,{propertyTitleDataTest:Ve=u}=t;Ae(KLt.default);let ze=J(),He=Z||(vC()?"":"attrs"),[Ye,ke]=(0,DH.useState)(v),[Be,Xe]=(0,DH.useState)(!1),Ge=rt=>{X5r(rt)&&(rt="file:///"+rt),window.open(rt,"_blank")};function Ke(){return d===C.PropertyKey.symbolType.key?{...q,overflow:"hidden"}:{...q}}let pt=(rt={},ht={})=>{var zt;rt={height:"24px",borderRadius:"2px",...rt};let ct,wt=ae&&((zt=ae[ae.type])==null?void 0:zt.onInputChange);switch(S){case"selectSymbolName":{ct=(0,ja.jsx)(cV,{dataTest:Ve,disabled:E,value:f,propertyKey:d,valueOptions:v,style:{...rt,...B},onChange:gt=>{G({[d]:{value:gt,keyName:"value"}},{[d]:t},{callScene:ee})}});break}case"selectNetName":{ct=(0,ja.jsx)(j2,{dataTest:Ve,disabled:E,value:f||"",style:{width:"100%",...rt},inputStyle:ht,selectList:Ye.map(gt=>gt.value),focus:Be,focusTriggerSelect:!0,trimOnBlurOnly:!0,htmlAttrs:{"data-attr-key":d},onChange:gt=>{gt!=f&&G({[d]:{value:gt,keyName:"value",extra:V}},{[d]:t},{callScene:ee})},onClick:async()=>{let gt=(await C.messageBus.rpcCall("getNetNamesInBoard",V.netGroupId)).message.map(Qt=>({value:Qt}));ke(gt),Xe(!0),Ne==null||Ne(Qt=>!Qt)}});break}case"selectNetNamePCB":{let gt=Qt=>{H&&H("netSelect",t)};ct=(0,ja.jsxs)(ja.Fragment,{children:[(0,ja.jsx)(_1e,{dataTest:Ve,value:f?(f==null?void 0:f.trim())||f:"",selectList:ue.naturalSort(VHe(v),"value").map(Qt=>Qt.value),focus:Be,disabled:t.disabled,clear:!0,showDropDownIcon:!0,focusTriggerSelect:!0,htmlAttrs:{"data-attr-key":d},onClearClick:()=>{f!=""&&G({[d]:{value:"",keyName:"value"}},{[d]:t},{callScene:ee})},onChange:Qt=>{Qt!=f&&G({[d]:{value:Qt,keyName:"value"}},{[d]:t},{callScene:ee})},onClick:async()=>{Xe(!0)},style:{width:"calc(100% - 20px)",...rt},inputStyle:{...V==null?void 0:V.inputStyle}}),(0,ja.jsx)("div",{className:"icon-eda-click-to-select",title:ze("Click To Select Network(N)"),style:{width:"16px",height:"16px",cursor:"pointer",borderLeft:"1px solid transparent",pointerEvents:`${t.disabled?"none":"auto"}`},onClick:gt})]});break}case"input":{let gt=f==null?"":f+"",Qt=gt;y!==void 0&&f===y&&(Qt=y+$A),ct=(0,ja.jsx)(Kt,{title:Qt||"",name:d,...de?{value:Qt||"",onChange:Ii=>{Ii!=f&&G({[d]:{value:Ii,keyName:"value"}},{[d]:t},{callScene:ee})}}:{defaultValue:Qt||""},disabled:E||t.disabled,readOnly:N,enterTriggerBlur:!0,focusTriggerSelect:!0,clickTriggerSelect:!0,style:{...rt,...B},dataTest:Ve,htmlAttrs:{"data-attr-key":d},onClick:Ii=>{ye==null||ye(Ii,t)},onBlur:Ii=>{let Mo=Ii.target.value;if(Pe){let _i=Pe(Mo);if(!_i.isValid){Ii.target.value=Qt,fe==null||fe({[d]:{value:_i.value,keyName:"value"}},{[d]:t},{callScene:ee,isTiggerByBlured:!0});return}Mo=_i.value}fe&&fe({[d]:{value:Mo,keyName:"value"}},{[d]:t},{callScene:ee,isTiggerByBlured:!0}),gt!==Mo&&(G({[d]:{value:Mo,keyName:"value"}},{[d]:t},{callScene:ee,isTiggerByBlured:!0}),wt&&wt(Mo))}});break}case"polarGridInput":{ct=(0,ja.jsx)(ZPi,{dataTest:Ve,name:d,disabled:E,style:{...B},...t,onFocus:()=>{},onChange:(gt,Qt)=>{let yt={groupTitle:r,callScene:ee};Qt.type==="blur"&&(yt.isTiggerByBlured=!0),G({[d]:{value:gt,keyName:"value"}},{[d]:t},{...yt}),wt&&wt(gt)},inputUnit:Ue});break}case"numberInput":Ue="",t.inputUnit="",t.originUnit="";case"unitInput":{ct=(0,ja.jsx)(or,{dataTest:Ve,name:d,disabled:E,style:{...B},...t,onFocus:()=>{u==Rt.InvertedExpansion&&GPi()},onChange:(gt,Qt)=>{if(_He(ee,u==Rt.InvertedExpansion,gt!="0",d))jHe(gt,t,ee);else{if(d==="attr-spoke-width"||d==="attr-spoke-spacing"){let jt=$5r(d,Ue,gt);if(jt===null)return!1;gt=jt}let yt={groupTitle:r,callScene:ee};Qt.type==="blur"&&(yt.isTiggerByBlured=!0),G({[d]:{value:gt,keyName:"value"}},{[d]:t},{...yt}),wt&&wt(gt)}},inputUnit:Ue,positive:t==null?void 0:t.positive,customCheck:t==null?void 0:t.customCheck,validatedValue:Pe});break}case"select":{let gt=f,Qt=v,yt,jt,ni;y!==void 0&&(d===C.PropertyKey.fillStyle.key&&(yt={value:s4[y]+ze($A),context:"theme"},jt=Pb[s4[y]],ni=Pb[s4[gt||y]]),Qt=yne(v,y,$A,yt,jt),f==null&&(gt=y+$A)),ct=(0,ja.jsx)(xt,{dataTest:Ve,style:{width:"100%",...B},containerStyle:{...U},value:gt,valueIcon:ni,disabled:E||t.disabled,list:g?[{value:"<...>",text:"<...>"},...Qt]:Qt,htmlAttrs:{"data-attr-key":d},onChange:Ii=>{_He(ee,u==Rt.Inverted,Ii=="yes",d)?jHe(Ii,t,ee):(G({[d]:{value:Ii,keyName:"value"}},{[d]:t},{callScene:ee}),wt&&wt(Ii))}});break}case"selectInput":{ct=(0,ja.jsx)(j2,{positionFixed:!0,dataTest:Ve,value:f||"",selectList:(g?[{value:"<...>"},...v]:v).map(gt=>gt.value),focus:Be,disabled:E||t.disabled,clear:d!==C.PropertyKey["Part Name"].key,stillNeedClear:ce,showDropDownIcon:!0,focusTriggerSelect:!0,style:{width:"100%"},htmlAttrs:{"data-attr-key":d},onClearClick:()=>{if(Q instanceof Function){Q({[d]:{value:"",keyName:"value"}},{[d]:t},{callScene:ee});return}f!=""&&G({[d]:{value:"",keyName:"value"}},{[d]:t},{callScene:ee})},onChange:gt=>{gt!=f&&G({[d]:{value:gt,keyName:"value"}},{[d]:t},{callScene:ee})},onClick:async()=>{Xe(!0)}});break}case"range":{ct=(0,ja.jsx)(dOi,{explodeRatio:f.explodeRatio==null?f:f.explodeRatio,changeRatio:gt=>{d=="Current Speed"||d=="Simulation Speed"?G({[d]:{value:gt,keyName:"value",changed:!1}},{[d]:t},{callScene:ee}):G(gt,!1)},onMouseMove:gt=>{d=="Current Speed"||d=="Simulation Speed"?G({[d]:{value:gt,keyName:"value",changed:!0}},{[d]:t},{callScene:ee}):G(gt,!0)}});break}case"openDialog":{ct=(0,ja.jsx)(ea,{dataTest:Ve,value:f,disabled:E,style:rt,inputStyle:{...B},hasClearButton:pe,propertyKey:d,onClearClick:()=>{if(Q instanceof Function){Q({[d]:{value:"",keyName:"value"}},{[d]:t},{callScene:ee});return}G({[d]:{value:"",keyName:"value"}},{[d]:t},{callScene:ee})},openDialog:o});break}case"showCanvasItem":{ct=(0,ja.jsx)(Kt,{dataTest:Ve,defaultValue:f,readOnly:!0,style:{...rt,color:"#1890FF",cursor:"pointer",backgroundColor:"var(--common-bg-color-1)"},htmlAttrs:{"data-attr-key":d},onClick:async gt=>{if(g)return;let{tabId:Qt,id:yt}=V;Qt!==he.getActiveTab()&&await he.setTabActive(Qt),C.messageBus.publish("sch/selectByIds",{tabId:Qt,ids:[yt]}),LT("highlightItems",{ids:[yt],adaptSelectionView:!0,isLeftTree:!0})}});break}case"fontSize":{ct=(0,ja.jsxs)("div",{style:{display:"flex",alignItems:"center",width:"100%"},children:[(0,ja.jsx)(or,{name:Ve,dataTest:Ve,positive:!0,disabled:E,...t,value:f!=null?f:y,dValue:y,inputUnit:Ue,onChange:gt=>{G({[d]:{value:gt,keyName:"value"}},{[d]:t},{callScene:ee})}}),(0,ja.jsx)(K_,{onClick:()=>{E||G({[d]:{value:vC()?y:null,keyName:"value"}},{[d]:t},{callScene:ee})}})]});break}case"textArea":{ct=(0,ja.jsx)(gpe,{dataTest:Ve,disabled:E,isEnableBreakLine:F,noTips:i,value:d=="attr-text-content"?String(f):String(f).trim(),onChange:gt=>{G({[d]:{value:d=="attr-text-content"?gt:gt.trim(),keyName:"value"}},{[d]:t},{callScene:ee})}});break}case"textAreaRelevance":{let gt=f;g||f==="<...>"?gt=["<...>"]:gt=JSON.parse(f||"[]"),ct=(0,ja.jsx)(g2i,{value:gt,dataTest:Ve,isMulti:g,onChange:Qt=>{G({[d]:{value:Qt.trim(),keyName:"value"}},{[d]:t},{callScene:ee})}});break}case"textAreaRelevancePCB":{let gt=f;g?gt=["<...>"]:gt=JSON.parse(f||"[]"),ct=(0,ja.jsx)(aOi,{optional:Re,value:gt,dataTest:Ve,isMulti:g,onChange:Qt=>{G({[d]:{value:Qt.trim(),keyName:"value"}},{[d]:t},{callScene:ee})}});break}case"color":{ct=(0,ja.jsx)(vp,{disabled:E||t.disabled,color:f,restoreDefaultButton:!ne,defaultColor:y,needRefresh:w===void 0?!0:w,style:{width:"100%"},allowNone:X,name:d,onChange:(gt,Qt,yt)=>{if(typeof Le=="function"&&yt==="Restore"){Le(d,gt||"",t.value||"",{callScene:ee});return}G({[d]:{value:gt||"",keyName:"value"}},{[d]:t},{callScene:ee})}});break}case"fontStyle":{ct=(0,ja.jsx)(J_,{disabled:E,defaultValue:y,hasModified:x,...f,onChange:(gt,Qt)=>{G({[d]:{value:{...gt},keyName:"value"}},{[d]:t},{...Qt,callScene:ee})}});break}case"fontFamily":{let gt=f,Qt=v;y!==void 0&&(Qt=yne(v,y,$A),f===null&&(gt=y+$A)),ct=(0,ja.jsx)(Jw,{value:gt!=null?gt:y,disabled:E,list:Qt,name:d,onChange:yt=>{G({[d]:{value:yt,keyName:"value"}},{[d]:t},{callScene:ee})},getViewRectPort:()=>({bottom:document.getElementById("layoutBottom").getBoundingClientRect().toJSON().height+5})});break}case"pcbFontFamily":{ct=(0,ja.jsx)(Jw,{value:f,disabled:E,list:v,name:d,onChange:gt=>{_He(ee,u==Rt.Inverted,gt=="yes",d)?jHe(gt,t,ee):(G({[d]:{value:gt,keyName:"value"}},{[d]:t},{callScene:ee}),wt&&wt(gt))},getViewRectPort:()=>({bottom:document.getElementById("layoutBottom").getBoundingClientRect().toJSON().height+5})});break}case"textOrigin":{ct=(0,ja.jsx)(bpe,{disabled:E,defaultValue:y,hasModified:x,...f,onChange:gt=>{G({[d]:{value:{...gt},keyName:"value"}},{[d]:t},{callScene:ee})}});break}case"selectOptionAndClearInput":{ct=(0,ja.jsx)(i2i,{disabled:E,dataTest:u+"",value:f,valueOptions:v,htmlAttrs:{"data-attr-key":d},handleClearIconFn:()=>{G({[d]:{value:"",keyName:"value"}},{[d]:t},{callScene:ee})},handleInputBlurFn:gt=>{G({[d]:{value:gt,keyName:"value"}},{[d]:t},{callScene:ee})}});break}case"textAlign":{ct=(0,ja.jsx)(dV,{disabled:E,value:f,type:"horizontal",onChange:gt=>{G({[d]:{value:gt,keyName:"value"}},{[d]:t},{callScene:ee})}});break}case"verticalAlign":{ct=(0,ja.jsx)(dV,{disabled:E,value:f,type:"vertical",onChange:gt=>{G({[d]:{value:gt,keyName:"value"}},{[d]:t},{callScene:ee})}});break}case"vectorInput":{let gt=[];try{gt=JSON.parse(f||"[]")}catch(Qt){console.log(Qt)}ct=(0,ja.jsx)(GLt,{disabled:E,style:rt,value:gt,onChange:Qt=>{G({[d]:{value:JSON.stringify(Qt),keyName:"value"}},{[d]:t},{callScene:ee})}});break}case"batchReuse":{let gt=[];try{g?gt=["<...>","<...>"]:gt=JSON.parse(f||"[]")}catch(Qt){console.log(Qt)}ct=(0,ja.jsx)(GLt,{disabled:E,style:rt,value:gt,onChange:Qt=>{Qt[0]==0&&Qt[1]==0?Qt="":Qt=JSON.stringify(Qt),G({[d]:{value:Qt,keyName:"value"}},{[d]:t},{callScene:ee})}});break}case"radio":{let gt=v.map(Qt=>({value:Qt.value,label:Qt.text}));ct=(0,ja.jsx)($i,{value:f,options:gt,disabled:E,onChange:Qt=>{G({[d]:{value:Qt,keyName:"value"}},{[d]:t},{callScene:ee})}});break}case"table":{ct=(0,ja.jsx)(xi,{border:f.border,index:f.index,height:f.height,stockade:f.stockade,columns:f.columns,rows:f.rows,...t.tableOptions||{}});break}case"button":{ct=(0,ja.jsx)(Me,{...K,children:f});break}case"plainText":{ct=ze(f);break}case"buttonList":{ct=(0,ja.jsx)("div",{style:{display:"flex",justifyContent:"start",width:"100%",...B},children:v.map((gt,Qt)=>{var ni,Ii;let yt=(ni=oe[Qt])==null?void 0:ni.type,jt=(Ii=oe[Qt])==null?void 0:Ii.style;return(0,ja.jsx)(Me,{style:jt,disabled:E,needCompressText:Y,type:yt,size:"sm",onClick:Mo=>{G({[d]:{value:gt.value,keyName:"value"}},{[d]:t},{callScene:ee})},children:gt.text},gt.text)})});break}case"operableList":{ct=(0,ja.jsx)(oOi,{parentProps:t,operateConfigs:oe,Slot:gt=>uOi(gt,e)});break}default:console.warn("\u4E0D\u652F\u6301\u6539\u503C\u7C7B\u578B")}return(0,ja.jsxs)(ja.Fragment,{children:[te?te(ct,G):ct,ae&&(0,ja.jsx)(S2i,{...ae})]})},ot=()=>{var ct,wt;let rt=Ve||u||((ct=C.PropertyKey[d])==null?void 0:ct.title)||d,ht=u||Ve||((wt=C.PropertyKey[d])==null?void 0:wt.title)||d;return["datasheet","link","product link","url"].includes(d.toLocaleLowerCase())?(0,ja.jsx)("span",{"data-test":rt,style:{cursor:"pointer",color:"blue",textDecoration:"underline",...j},children:(0,ja.jsx)("a",{onClick:zt=>{zt.stopPropagation(),zt.preventDefault(),Ge(f)},children:ze({context:He,value:ht})})}):DH.default.isValidElement(u)?u:(0,ja.jsx)("span",{style:{...j},"data-test":rt,onMouseOver:()=>{if(n==="sch_property_panel"&&Te&&(c||D))for(let[zt,gt]of Object.entries(Te))C.messageBus.publish("sch/highlightModelsByIds",{tabId:zt,ids:gt})},onMouseLeave:()=>{if(n==="sch_property_panel"&&Te&&(c||D))for(let[zt,gt]of Object.entries(Te))C.messageBus.publish("sch/unhighlightModelsByIds",{tabId:zt,ids:gt})},onClick:async()=>{if(n==="sch_property_panel"&&Te&&(c||D))for(let[zt,gt]of Object.entries(Te))C.messageBus.publish("sch/unSelectAll",zt),C.messageBus.publish("sch/selectByIds",{tabId:zt,ids:gt})},children:r==="More Properties"&&C.userPropertyKeys.has(d)?d:ze({context:He,value:ht})})};if((0,DH.useImperativeHandle)(e,()=>({defaultValueContent:pt})),R)return(0,ja.jsx)(ja.Fragment,{});let Qe=()=>re?ot():O||pt(_);return(0,ja.jsxs)("div",{style:_,className:Z5r,onPointerUpCapture:rt=>{rt.button===SK&&(rt.stopPropagation(),rt.preventDefault(),typeof P=="function"&&P(rt))},children:[p&&(0,ja.jsxs)("div",{className:be(J5r,"key_section"),style:{...t.labelSectionStyle||{}},onContextMenu:rt=>{Oe==null||Oe(rt)},children:[m&&(0,ja.jsx)("div",{className:Y5r,children:s?(0,ja.jsx)(qt,{tabIndex:ie,onChange:rt=>{G({[d]:{keyChecked:rt,keyName:"keyChecked",extra:V}},{[d]:t},{notRender:!1,callScene:ee})},defaultChecked:c,disabled:l,style:{lineHeight:"normal"},id:n+d}):""}),(0,ja.jsx)("div",{className:Q5r,title:ze(((ut=C.PropertyKey[d])==null?void 0:ut.title)||u||d),children:n==="sch_property_panel"?ot():(0,ja.jsx)("label",{htmlFor:n+d,children:ot()})})]}),(0,ja.jsxs)("div",{className:q5r,style:{...t.contentSectionStyle||{}},children:[a===0?(0,ja.jsx)(M3,{propertyPanelId:n}):"",h&&(0,ja.jsx)("div",{className:W5r,children:M?(0,ja.jsx)(qt,{tabIndex:ie,onChange:rt=>{G({[d]:{valueChecked:rt,keyName:"valueChecked",extra:V}},{[d]:t},{notRender:!1,callScene:ee})},checked:I?D:void 0,defaultChecked:I?void 0:D,disabled:A}):""}),(0,ja.jsx)("div",{className:K5r,style:Ke(),children:Qe()})]}),k?(0,ja.jsx)("div",{children:k}):""]})},ao=(0,DH.forwardRef)(uOi);function X5r(t){let e=/^[a-zA-Z]:(\\|\/)/i,i=/^(\/[a-zA-Z0-9_.-]+)+$/;return!!(e.test(t)||i.test(t))}function $5r(t,e,i){let o=+i;if(isNaN(o)||o<0)return null;if(t==="attr-spoke-width")return o;if(t==="attr-spoke-spacing"){let r=e==="mm"?ue.unitConversion.conversion("mil","mm",1e4):1e4;return Math.min(o,r)}return null}var pOi=L(Se());var F1e=class extends qe{constructor(i){super();this.onNotify=i;this.NoSheetID="No Sheet";this.keyId=1;this.presettingData={name:this.NoSheetID,uuid:this.NoSheetID,path:dv};this.originAttributes={};this.userAttributes={};this.specialKeys=[]}get titleBlockAttributes(){let i=[];return it(this.originAttributes,(o,r)=>{[...xZ,Qu].includes(o)||i.push([o,r])}),i.sort((o,r)=>{let n=this.specialKeys.includes(o[0]),a=this.specialKeys.includes(r[0]);return n&&!a?-1:!n&&a?1:0})}get drawingVersion(){var i,o;return((i=this.originAttributes)==null?void 0:i.Border)==null&&((o=this.userAttributes)==null?void 0:o.Border)==null?0:1}notify(){this.keyId++,this.onNotify&&this.onNotify(),super.notify()}setData(i,o,r){return i?(this.presettingData=i,o?this.originAttributes={...T_e,...o}:this.originAttributes={},this.userAttributes={},this.specialKeys=r,!0):!1}update(...i){this.setData(...i)&&this.notify()}getAttributes(){return{...this.originAttributes,...this.userAttributes}}getAttributeValue(i){return this.userAttributes[i]!==void 0?this.userAttributes[i]:this.originAttributes[i]}getSizeFlag(){let i=this.getAttributeValue("Width"),o=this.getAttributeValue("Height");if(!i||!o)return upe;let r="Customize";return it(ES,(n,a)=>{if(a.w==i&&a.h==o)return r=n,!1}),r}};var GHe=class extends qe{constructor(i){super();this.projectSettingStore=i;this.id="SCH_OR_SHEET";this.title="Schematic/Sheet";this._isChanged=!1;this.drawingPresettingStore=new F1e(()=>{this.isChanged=!0})}get isChanged(){return this._isChanged}set isChanged(i){this._isChanged=i,this.projectSettingStore.notify()}dispose(){this.isChanged=!1}get treeItem(){return{title:this.title,id:this.id,dataTest:this.id,children:[],treeRowlineStyleObject:{paddingLeft:"20px",alignItems:"center"},disabled:Er(),showAsterisk:this.isChanged}}get result(){return{}}async loadDrawingPresetting(){let{message:i}=await C.messageBus.rpcCall("sch/getPresetSheetInfo",{isProject:!0});this.drawingPresettingStore.setData(i.presettingData,i.attributes,i.specialKeys)}async saveDrawingPresetting(){return await C.messageBus.rpcCall("sch/drawing-presetting",{isProjectPresetting:!0,attributes:this.drawingPresettingStore.getAttributes(),code:this.drawingPresettingStore.presettingData.uuid,path:this.drawingPresettingStore.presettingData.path}),!0}};var YHe=class extends qe{constructor(i){super();this.projectSettingStore=i;this.id="UNIVERSAL";this.title="General";this._isChanged=!1;this.existUnsetConfig=!1;this.existUnsetConfig=i.params.projectSettingManager.existUnsetConfig();let o=i.params.projectSettingManager.data;Object.assign(this,o.universal)}get isChanged(){return this._isChanged||this.existUnsetConfig}set isChanged(i){this._isChanged=i,this.projectSettingStore.notify()}dispose(){this.isChanged=!1}get treeItem(){return{title:this.title,id:this.id,dataTest:this.id,treeRowlineStyleObject:{paddingLeft:"20px",alignItems:"center"},children:[],showAsterisk:this.isChanged}}onUpdate(i,o){this[i]=o,this.isChanged=!0}get result(){return{allowLibRename:this.allowLibRename,defaultNetName:this.defaultNetName,wireMultipleNet:this.wireMultipleNet,netFlagCrossLayerConnection:this.netFlagCrossLayerConnection,netLabelCrossPageConnection:this.netLabelCrossPageConnection,busGenerateNetClass:this.busGenerateNetClass,relevanceDisplayRow:this.relevanceDisplayRow,relevanceBelongSchPage:this.relevanceBelongSchPage,relevanceLocation:this.relevanceLocation,multipartCrossLayer:this.multipartCrossLayer}}get allowLibRename(){return this._allowLibRename}set allowLibRename(i){this._allowLibRename=i,this.notify()}get defaultNetName(){return this._defaultNetName}set defaultNetName(i){this._defaultNetName=i,this.notify()}get wireMultipleNet(){return this._wireMultipleNet}set wireMultipleNet(i){this._wireMultipleNet=i,this.notify()}get netFlagCrossLayerConnection(){return this._netFlagCrossLayerConnection}set netFlagCrossLayerConnection(i){this._netFlagCrossLayerConnection=i,this.notify()}get netLabelCrossPageConnection(){return this._netLabelCrossPageConnection}set netLabelCrossPageConnection(i){this._netLabelCrossPageConnection=i,this.notify()}get busGenerateNetClass(){return this._busGenerateNetClass}set busGenerateNetClass(i){this._busGenerateNetClass=i,this.notify()}get relevanceDisplayRow(){return this._relevanceDisplayRow}set relevanceDisplayRow(i){this._relevanceDisplayRow=i,this.notify()}get relevanceBelongSchPage(){return this._relevanceBelongSchPage}set relevanceBelongSchPage(i){this._relevanceBelongSchPage=i,this.notify()}get relevanceLocation(){return this._relevanceLocation}set relevanceLocation(i){this._relevanceLocation=i,this.notify()}get multipartCrossLayer(){return this._multiPartCrossLayer}set multipartCrossLayer(i){this._multiPartCrossLayer=i,this.notify()}};var ZLt=class extends qe{constructor(i){super();this.params=i;this.universalStore=new YHe(this);this.schOrSheetStore=new GHe(this);this._confirmWaitingLoading=!1}notify(){super.notify()}get confirmWaitingLoading(){return this._confirmWaitingLoading}set confirmWaitingLoading(i){this._confirmWaitingLoading=i,this.notify()}get leftSideBarTreeList(){return[this.universalStore.treeItem,this.schOrSheetStore.treeItem]}get selectedTreeItemId(){return Kr(this._selectedTreeItemId)?this.universalStore.id:this._selectedTreeItemId}set selectedTreeItemId(i){this._selectedTreeItemId=i,this.notify()}get result(){return{universal:this.universalStore.result}}async _saveProjectSetting(){let{success:i,message:o}=await this.params.projectSettingManager.save(this.result);return De({type:i?"success":"error",msg:o}),i}async apply(){try{this.confirmWaitingLoading=!0;let i=[];this.universalStore.isChanged&&i.push(this._saveProjectSetting()),this.schOrSheetStore.isChanged&&i.push(this.schOrSheetStore.saveDrawingPresetting());let r=(await Promise.allSettled(i)).every(n=>n.status==="fulfilled"&&n.value);return r&&(this.universalStore.dispose(),this.schOrSheetStore.dispose()),r}finally{this.confirmWaitingLoading=!1}}async confirm(){await this.apply()&&le.close(this.params.containerId)}cancel(){le.close(this.params.containerId)}};function mOi(...t){return{store:new ZLt(...t)}}var RC=(0,pOi.createContext)({});var Ju=L(z());function WHe(t){let e=we.DESIGN.DRAWING_TEMPLATE,i=be.bind(wne.default.locals),o=J();Ae(wne.default);let{isProjectPresetting:r}=t,n=null;r?(n=(0,KSe.useContext)(RC).store.schOrSheetStore.drawingPresettingStore,Ce(n)):(n=(0,KSe.useContext)(Ea).designAppStore.presettingStore,Ce(n));let a=n.presettingData.name,s="Preset Drawing",l=300,c=350;return r||(s=e,l=380,c=370),(0,Ju.jsxs)("div",{className:i("drawing-presetting"),children:[(0,Ju.jsx)("div",{className:i("tips-panel"),children:(0,Ju.jsx)("div",{className:i("item"),"data-test":"project-presetting-info",style:{display:r?"":"none"},children:o("The preset drawing is only applicable to the new schematic page. If you need to modify the existing drawing, you can select the drawing page and modify it in the properties on the right.")})}),(0,Ju.jsx)("div",{className:i("presetting-panel"),children:(0,Ju.jsxs)("fieldset",{className:i("fieldset"),children:[(0,Ju.jsx)("legend",{"data-test":"presetting-legend-text",children:o(s)}),(0,Ju.jsxs)("div",{className:i("current_sheet display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap"),children:[(0,Ju.jsx)("label",{className:"label-title","data-test":"Drawing:",style:{marginLeft:"25px",marginRight:"8px",display:r?"":"none"},children:o("Drawing:")}),(0,Ju.jsxs)("div",{className:i(r?"input":"input not-project"),children:[(0,Ju.jsx)(Kt,{readOnly:!0,value:a===n.NoSheetID?o(a):a,className:i("dialog-input"),type:"text",onClick:p=>{d()}}),(0,Ju.jsx)("span",{className:i("dialog-input-extend"),onClick:p=>{d()},children:"\xB7\xB7\xB7"})]}),r&&(0,Ju.jsx)(Me,{type:"default",style:{marginLeft:"10px"},onClick:p=>{u()},children:"Edit Drawing"})]})]})}),a!==n.NoSheetID&&(0,Ju.jsxs)("div",{className:i("attributes-panel"),style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"8px",height:"400PX"},children:[(0,Ju.jsx)(tSr,{store:n}),(0,Ju.jsx)(eSr,{store:n})]})]});function d(){let p=a,m=!1;p=="No Sheet"&&(p="",m=!0),p="",M_e({searchValue:p,isProject:r,from:"setting",selected_tab:r?"project":"system",nosheet:m,onSelectDrawing:h=>{n.update(h.presettingData,h.attributes,h.specialKeys),t.onUpdate&&t.onUpdate()}})}async function u(){let p=(await C.messageBus.rpcCall("sch/getEditPreSheetCacheData",{add2Pro:!0,uuid:n.presettingData.uuid,path:n.presettingData.path})).message;p&&await Vj(p.uuid,p.isProjectLib,p.deviceData,void 0,void 0,void 0,void 0,()=>{var m;(m=t.onDrawingEdited)==null||m.call(t)})}}var qLt="Show";function eSr({store:t}){let e=we.DESIGN.TITLE_BLOCK,i=be.bind(wne.default.locals),o=J();Ae(wne.default);let r=(0,KSe.useContext)(Ea),n=r==null?void 0:r.designAppStore,a="titleBlockSetting";return(0,Ju.jsxs)("fieldset",{className:i("fieldset"),children:[(0,Ju.jsx)("legend",{"data-test":"attributes-legend-text",children:o(e)}),(0,Ju.jsx)(ao,{propertyPanelId:a,propertyKey:Qu,propertyTitle:Qu,value:qLt,valueType:"plainText",valueCheckBox:!0,valueCheckBoxControlled:!0,valueChecked:t.getAttributeValue(Qu)==="1",onChange:s},Qu),t.titleBlockAttributes.map(([c,d],u)=>{let p=t.specialKeys.includes(c),m=p,h=p?o("<System Assignment>"):vn(t.userAttributes[c])?t.originAttributes[c]:t.userAttributes[c];return(0,Ju.jsx)(ao,{propertyPanelId:a,propertyKey:c,valueStyle:l(c),propertyTitle:c,value:h,valueDisabled:m,onChange:s,isControlledInput:!0},c)})]});function s(c){n==null||n.updateSaveTag(),it(c,(d,u)=>{switch(d){case Qu:{t.userAttributes[d]=u.valueChecked?"1":"0";break}default:{t.userAttributes[d]=u.value;break}}}),t.notify()}function l(c){let d=t.originAttributes[c],u=t.userAttributes[c];return{color:u!==void 0&&u!=d?"#39f":""}}}function XLt(){let t=Wi("OBJECT","theme",{readValueKey:!1});return t[t.activeTheme].color.symbol}var $Lt="Show";function tSr({store:t}){let e=we.DESIGN.BORDER,i=be.bind(wne.default.locals),o=J();Ae(wne.default);let r=(0,KSe.useContext)(Ea),n=r==null?void 0:r.designAppStore,a="borderSetting",s=XLt();return(0,Ju.jsxs)("fieldset",{className:i("fieldset"),children:[(0,Ju.jsx)("legend",{"data-test":"attributes-legend-text",children:o(e)}),(0,Ju.jsxs)("div",{className:i("attribute-list"),children:[(0,Ju.jsx)(ao,{propertyPanelId:a,propertyKey:"Border",propertyTitle:"Border",value:$Lt,valueType:"plainText",valueCheckBox:!0,valueCheckBoxControlled:!0,valueChecked:t.getAttributeValue("Border")==="1",onChange:l}),(0,Ju.jsx)(ao,{propertyPanelId:a,propertyKey:"Title Block Position",propertyTitle:"Title Block Position",value:t.getAttributeValue("Title Block Position"),valueType:"select",valueOptions:dpe,onChange:l,valueStyle:c("Title Block Position")}),(0,Ju.jsx)(ao,{propertyPanelId:a,propertyKey:"Size",propertyTitle:"Size",value:t.getSizeFlag(),valueType:"select",valueOptions:W3(Object.keys(ES).concat(t.getSizeFlag()==="Customize"?"Customize":[])),onChange:l}),(0,Ju.jsx)(Zu,{widthProperty:{propertyKey:"Width",isBlockValue:d("Width"),value:t.getAttributeValue("Width"),valueType:"drawingWidth"},heightProperty:{propertyKey:"Height",isBlockValue:d("Height"),value:t.getAttributeValue("Height"),valueType:"drawingHeight"},inputUnit:Vo(),onChange:l}),(0,Ju.jsx)(ao,{propertyPanelId:a,propertyKey:"Region Start",valueStyle:c("Region Start"),propertyTitle:"Region Start",value:t.getAttributeValue("Region Start"),valueType:"select",valueOptions:cpe,onChange:l}),(0,Ju.jsx)(ao,{propertyPanelId:a,propertyKey:"X Region Count",valueStyle:c("X Region Count"),propertyTitle:"X Region Count",value:t.getAttributeValue("X Region Count"),valueType:"numberInput",onChange:l,isControlledInput:!0,onBlur:u}),(0,Ju.jsx)(ao,{propertyPanelId:a,propertyKey:"Y Region Count",valueStyle:c("Y Region Count"),propertyTitle:"Y Region Count",value:t.getAttributeValue("Y Region Count"),valueType:"numberInput",onChange:l,isControlledInput:!0,onBlur:u}),(0,Ju.jsx)(ao,{propertyPanelId:a,propertyKey:"Blade Width",valueStyle:c("Blade Width"),propertyTitle:"Blade Width",value:t.getAttributeValue("Blade Width"),valueType:"unitInput",inputUnit:Vo(),onChange:l}),(0,Ju.jsx)(ao,{propertyPanelId:a,defaultValue:s,propertyKey:"Color",valueStyle:c("Color"),propertyTitle:"Color",value:t.getAttributeValue("Color")||x_e,valueType:"color",onChange:l})]})]});function l(p){n==null||n.updateSaveTag(),it(p,(m,h)=>{switch(m){case"Border":{t.userAttributes[m]=h.valueChecked?"1":"0";break}case"Size":{t.userAttributes.Width=ES[h.value].w,t.userAttributes.Height=ES[h.value].h;break}default:{let f=h.value;f==null?f="":f=String(f),t.userAttributes[m]=f;break}}}),t.notify()}function c(p){return{color:d(p)?"#39f":""}}function d(p){let m=t.originAttributes[p],h=t.userAttributes[p];return h!==void 0&&h!=m}function u(p){it(p,(m,h)=>{switch(m){case"X Region Count":case"Y Region Count":{let f=h.value;f=$s(f).toFixed(),isNaN(f)||f<1?delete t.userAttributes[m]:t.userAttributes[m]=f,t.notify();break}}})}}var EH={easyEDA:Nc.JLCEDA,altium:Nc.altium,JLCEDA_PRO:Nc.JLCEDA_PRO,custom:ue.deepClone(Nc.JLCEDA_PRO)},IBs={hotkey:ue.deepClone(EH.JLCEDA_PRO),active:"JLCEDA_PRO",hotkeyCfg:EH,menuHotkeyCfg:ue.deepClone(av.menuHotkey),menuHotkey:{}},hOi=[{value:"JLCEDA_PRO",text:vo?"EasyEDA Pro":{context:"setting-hotkey",value:"JLCEDA Pro"}},{value:"JLCEDA",text:vo?"EasyEDA Std":{context:"setting-hotkey",value:"JLCEDA Std"}},{value:"altium",text:"Altium Designer"},{value:"custom",text:"Custom"}],ZSe={JLCEDA:"easyEDA",altium:"altium",custom:"custom",JLCEDA_PRO:"JLCEDA_PRO"},fOi={easyEDA:"JLCEDA",altium:"altium",custom:"custom",JLCEDA_PRO:"JLCEDA_PRO"};function gOi(t){return t.startsWith("from-")?"custom":fOi[t]||"JLCEDA_PRO"}function bOi(t){let e=t.replace("from-",""),i=fOi[e]||"JLCEDA_PRO";return i=="custom"?"JLCEDA_PRO":i}function yOi(t){let e=t.replace("from-","");return e=="custom"?"JLCEDA_PRO":EH[e]?e:"JLCEDA_PRO"}function wOi(t){let e=ZSe[t];return e&&e!=="custom"?"from-"+e:"from-JLCEDA_PRO"}var wD=we.HOTKEY.ALL,iSr=we.HOTKEY.FUNCTION,oSr=we.HOTKEY.HOTKEY,rSr=we.HOTKEY.COMMAND,QHe={func:iSr,hotkey:oSr,command:rSr};var tvt="system-setting-search-input",sSr=[];function KHe(t,e){t.querySelectorAll(".hightlight").forEach(r=>{r.tagName!=="INPUT"?r.replaceWith(r.textContent):r.classList.remove("hightlight")}),t.normalize();function o(r){if(r.nodeType===Node.TEXT_NODE){let n=r.nodeValue;if(n.includes(e)){let a=document.createDocumentFragment(),s=0,l=n.split(e);for(let c=0;c<l.length;c++)if(a.appendChild(document.createTextNode(l[c])),c<l.length-1){let d=document.createElement("span");d.className="hightlight",d.textContent=e,a.appendChild(d)}r.parentNode.replaceChild(a,r)}}else r.tagName==="INPUT"&&r.type!=="radio"&&r.value.includes(e)?r.classList.add("hightlight"):r.nodeType===Node.ELEMENT_NODE&&!/^(script|style)$/i.test(r.tagName)&&r.id!==tvt&&!sSr.includes(r.id)&&!Array.from(r.classList).find(n=>n.includes("option-wrapper"))&&Array.from(r.childNodes).forEach(o)}e&&o(t)}function lSr(t,e){let i=document.getElementById("systemSettingManagerMenuZone"),o=[],r;if(t){r=i.querySelector(`[data-itemid="${t}"]`);let s=r.getElementsByClassName("hightlight");o.push(...Array.from(s||[]))}let a=i.querySelector('[class*="tree-rowline-selected"]').getElementsByClassName("hightlight");return o.push(...Array.from(a||[])),o.length>0&&Array.from(o).findIndex(l=>l.classList.contains("blinking-background"))<0?(o[e-1].scrollIntoView(),o[e-1].classList.add("blinking-background"),!0):!1}function cSr(t){t.pcbCommGridSizeAppStore.activeTab==="Polar"?t.pcbCommGridSizeAppStore.activeTab="Cartesian":t.pcbCommGridSizeAppStore.activeTab="Polar"}function dSr(t){t.pcbThemeAppStore.activeTab==="canvas-primitive"?t.pcbThemeAppStore.activeTab="layer":t.pcbThemeAppStore.activeTab="canvas-primitive"}function uSr(t){t.baseLibraryStore.activeTab==="device"?t.baseLibraryStore.activeTab="panel":t.baseLibraryStore.activeTab="device"}function pSr(t,e){t.customToolBarAppStore.activeTab!==e&&(t.customToolBarAppStore.activeTab=e)}function xOi(t,e){let o=document.getElementById("systemSettingManagerContentZone").querySelector(`[data-tab-key="${t}"]`),r=Array.from(o.getElementsByClassName("hightlight"));Oq(r,e-1)}function mSr(t){let e=document.getElementById("system-setting-top-tool-bar"),i=Array.from(e.getElementsByClassName("hightlight"));Oq(i,t-1)}function hSr(t,e,i,o,r){if(!o)return;let n=0,a=0,s,l=0;it(o,(c,d,u)=>{if(s=d.key,n+=d.count+d.tabCount,n>=t)return a=t-n+d.count+d.tabCount,l=d.tabCount,!1}),pSr(i,s),setTimeout(()=>{r(),a<=l?xOi(s,a):mSr(a-l)},10)}function fSr(t,e,i,o){i.hotkeyAppStore.tableStore.listKey===wD?evt(t,e,i):(i.hotkeyAppStore.listStore.changeKey(0),setTimeout(()=>{o(),evt(t,e,i)},10))}function evt(t,e,i){let o=document.getElementById("systemSettingManagerContentZone"),r=Array.from(o.getElementsByClassName("hightlight"));return!r[t]||r[t].offsetParent===null?(e==="BASE_LIBRARY"&&uSr(i),e==="PCB_THEME"&&dSr(i),e==="PCB_COMM_GRID_SIZE"&&cSr(i),setTimeout(()=>{Oq(r,t)},10)):Oq(r,t),!1}function Oq(t,e){if(t.length>0){let i=t.findIndex(o=>o.classList.contains("blinking-background"));if(i>=0&&t[i].classList.remove("blinking-background"),0<=e&&e<t.length)return t[e].scrollIntoView(),t[e].classList.add("blinking-background"),!0}}function TOi(t,e,i){return it(e,(o,r)=>{if(t<=r.count+r.tabCount+r.childrenCount)return i.push({key:r.key,index:t,tabCount:r.tabCount}),t<=r.tabCount+r.count?!1:TOi(t-r.tabCount-r.count,r.children,i);t=t-r.count-r.tabCount-r.childrenCount}),!1}async function gSr(t,e,i,o){let r=[];if(i){if(TOi(t,i.children,r),r[0]){let{tabs:n,activeTabId:a}=e.categoryAppStore;if(r[0].key!==a){let s=n.findIndex(l=>l.key===r[0].key);s>=0&&(e.categoryAppStore.whenTabItemSelected(n[s].key),await os(50))}if(r[1]&&(e.categoryAppStore.libStore.selectedIds.includes(r[1].key)||e.categoryAppStore.libStore.initalLibList.findIndex(l=>l.id===r[1].key)>=0&&(e.categoryAppStore.whenLibItemSelected(r[1].key),await os(50)),r[2])){let s=e.categoryAppStore.levelOneStore.list.findIndex(l=>l.id===r[2].key);s>=0&&!e.categoryAppStore.levelOneStore.selectedRowNumbers.includes(s)&&e.categoryAppStore.whenListRowItemClicked(r[2].key,"LEVEL_ONE")}}setTimeout(()=>{if(o(),r[3]){let n=document.getElementById("system-setting-category-secondary"),a=n==null?void 0:n.getElementsByTagName("tbody")[0],s=a==null?void 0:a.querySelector('[class*="lc-table-row--selected"]');if(s){let l=Array.from(s.getElementsByClassName("hightlight"));Oq(l,r[3].index-1)}}else if(r[2]){let n=document.getElementById("system-setting-category-primary"),a=n==null?void 0:n.getElementsByTagName("tbody")[0],s=a==null?void 0:a.querySelector('[class*="lc-table-row--selected"]');if(s){let l=Array.from(s.getElementsByClassName("hightlight"));Oq(l,r[2].index-1)}}else if(r[1]){let n=document.getElementById("system-setting-category-liblist"),a=n==null?void 0:n.querySelector("[class*='tree-rowline-selected']");if(a){let s=Array.from(a.getElementsByClassName("hightlight"));Oq(s,r[1].index-1)}}else if(r[0])if(r[0].index<=r[0].tabCount)xOi(r[0].key,r[0].index);else{let n=[];["system-setting-category-primary","system-setting-category-secondary"].forEach(s=>{let l=document.getElementById(s),c=l==null?void 0:l.getElementsByTagName("thead")[0];if(c){let d=Array.from(c.getElementsByClassName("hightlight"));n.push(...d)}}),Oq(n,r[0].index-1)}},50)}}function ivt(t){let{index:e,isMenuTitleMatch:i,menuTitleMatchNum:o,parentMenuId:r,menuId:n,dialogStore:a,subTab:s,tree:l,highlight:c}=t;i&&e<=o&&lSr(r,e)||(n==="CATEGORY"?gSr(i?e-o:e,a,l,c):n==="CUSTOM_TOOLBAR"?hSr(i?e-o:e,n,a,s,c):n==="HOTKEY"?fSr(i?e-1-o:e-1,n,a,c):evt(i?e-1-o:e-1,n,a))}function ovt(t,e,i,o,r,n,a){let s=t.length>0;return t.forEach(l=>{let c=!1;if(l.children){let d=ovt(l.children,l,i,o,r[l.id],n,a),u=o(String(l.title)).includes(i);l.hidden=d.hidden&&!u,d.hidden&&o(String(l.title)).includes(i)&&(c=!0)}else{let d=0,u=!1;if(l.title&&typeof l.title=="string"){let f=o({value:l.title,options:KK[l.id]}).split(i);f.length>1&&(u=!0,d+=f.length-1)}let p=!1,m=!1;if(e&&(m=e.children[0].id===l.id,e.title&&typeof e.title=="string")){let f=o({value:e.title,options:KK[e.id]}).split(i);f.length>1&&(p=!0,d+=f.length-1)}let h=0;r[l.id].forEach(f=>{if(f&&typeof f=="string"){let g=o({value:f,options:KK[l.id]}).split(i);g.length>1&&(h+=g.length-1)}}),l.hidden=!u&&h<=0,(!l.hidden||m&&p)&&i&&(a[l.id]={count:h+d,isMenuTitleMatch:d>0,menuTitleMatchNum:d,parentMenuId:e==null?void 0:e.id}),l.id==="CUSTOM_TOOLBAR"?(ySr(l,i,r,a,n,o),i?l.hidden=!a[l.id]:l.hidden=!1):l.id==="CATEGORY"&&(bSr(l,i,r,a,n,o),i?l.hidden=!a[l.id]:l.hidden=!1)}l.hidden||(s=!1,i&&(l.children?c&&n.push(l.children[0].id):n.push(l.id))),c&&(l.children[0].hidden=!1)}),{hidden:s,searchMenuList:n,searchMenuMap:a}}function bSr(t,e,i,o,r,n){if(!e)return;let{count:a,tabCount:s,childrenCount:l,key:c,children:d}=u({children:i[t.id]});o[t.id]?(o[t.id].count+=a+s+l,o[t.id].tree={count:a,tabCount:s,childrenCount:l,key:c,children:d}):a+s+l>0&&(o[t.id]={count:a+s+l,isMenuTitleMatch:!1,parentMenuId:null,menuTitleMatchNum:0,tree:{count:a,tabCount:s,childrenCount:l,key:c,children:d}}),o[t.id]&&!r.includes(t.id)&&r.push(t.id);function u(p){let{children:m,tabContent:h}=p,f=p.title||p.name_cn||p.name,g=0;if(f){let x=n({value:f,options:KK[t.id]}).split(e);x.length>1&&(g=x.length-1)}let b=0;h&&h.forEach(x=>{let S=n({value:x,options:KK[t.id]}).split(e);S.length>1&&(b+=S.length-1)});let y=0,w=m.map(x=>{let S=u(x);return y+=S.count+S.tabCount+S.childrenCount,S});return{count:b,childrenCount:y,tabCount:g,key:p.key||p.id,children:w}}}function ySr(t,e,i,o,r,n){if(!e)return;let a=0;for(let s of Object.keys(i[t.id]))if(Array.isArray(i[t.id][s])){let l=0;i[t.id][s].forEach(u=>{if(u){let p=n({value:u,options:KK[t.id]}).split(e);p.length>1&&(l+=p.length-1)}});let c=0,d=n({value:ghi[s],options:KK[t.id]}).split(e);d.length>1&&(c=d.length-1),a+=l+c,(l>0||c>0)&&(o[t.id]?o[t.id].subTab?o[t.id].subTab.push({key:s,count:l,tabCount:c}):o[t.id].subTab=[{key:s,count:l,tabCount:c}]:o[t.id]={subTab:[{key:s,count:l,tabCount:c}],count:0,isMenuTitleMatch:!1,parentMenuId:null,menuTitleMatchNum:0},r.includes(t.id)||r.push(t.id))}o[t.id]&&(o[t.id].count+=a)}function wSr(t){let e="";switch(t.canvasAppStore.storage.relevanceBelongSchPage.value){case G6.NAME:e="P1";break;case G6.NUMBER:e="1";break;default:break}switch(t.canvasAppStore.storage.relevanceLocation.value){case $9.ZONE:e+="[A1]";break;default:break}return e}function SOi(t,e){let i=ue.deepClone(sci);try{CSr(i,t),xSr(i,t),TSr(i,t),SSr(i,t,e),MSr(i,t,e),ISr(i,t),LSr(i,t,e),vSr(i,t,e),DSr(i,t),ESr(i,t),ASr(i,t),NSr(i,t),kSr(i,t),jSr(i,t,e),PSr(i,t,e),OSr(i,t,e),RSr(i,t,e),_Sr(i,t),BSr(i,t),zSr(i,t)}catch(o){console.log(o)}return i}function CSr(t,e){let{autoPanning:i,symbolLibManage:o}=e.systemAppStore.storage,{step:r,altStep:n}=i||{};r&&r.value&&t.SYSTEM.SYSTEM_GENERAL.push(String(r.value)),n&&n.value&&t.SYSTEM.SYSTEM_GENERAL.push(String(n.value)),o.value==="2"&&(t.SYSTEM.SYSTEM_GENERAL.push(we.SYSTEM.SYSTEM_GENERAL.NEW_LIB_DIALOG),t.SYSTEM.SYSTEM_GENERAL.push(we.SYSTEM.SYSTEM_GENERAL.SIMPLIFY),t.SYSTEM.SYSTEM_GENERAL.push(we.SYSTEM.SYSTEM_GENERAL.COMPLETE))}function xSr(t,e){t.SYSTEM.CATEGORY=e.categoryAppStore.allDataForSearch,t.SYSTEM.CATEGORY.forEach(i=>{i.tabContent=[we.SYSTEM.CATEGORY.PRIMARY_CATEGORY,we.SYSTEM.CATEGORY.SECONDARY_CATEGORY]})}function TSr(t,e){e.baseLibraryStore.storage.BASE_LIBRARY.forEach(i=>{let{name:o,data:r=[]}=i;o&&t.SYSTEM.BASE_LIBRARY.push(o),r.forEach(n=>{let{category:a,comment:s,deviceName:l,group:c,footprintName:d}=n;a&&t.SYSTEM.BASE_LIBRARY.push(a),s&&t.SYSTEM.BASE_LIBRARY.push(s),l&&t.SYSTEM.BASE_LIBRARY.push(l),c&&t.SYSTEM.BASE_LIBRARY.push(c),d&&t.SYSTEM.BASE_LIBRARY.push(d)})}),e.baseLibraryStore.storage.BASE_PANEL_LIB.forEach(i=>{let{name:o,data:r=[]}=i;o&&t.SYSTEM.BASE_LIBRARY.push(o),r.forEach(n=>{let{category:a,comment:s,display_title:l,group:c}=n;a&&t.SYSTEM.BASE_LIBRARY.push(a),s&&t.SYSTEM.BASE_LIBRARY.push(s),l&&t.SYSTEM.BASE_LIBRARY.push(l),c&&t.SYSTEM.BASE_LIBRARY.push(c)})}),na&&(t.SYSTEM.BASE_LIBRARY.push(we.SYSTEM.BASE_LIBRARY.NGSPICE),t.SYSTEM.BASE_LIBRARY.push(we.SYSTEM.BASE_LIBRARY.SIMULIDE))}function SSr(t,e,i){let{unit:o,sch_gridSize:r,schlib_gridSize:n,schAltSnapGridSize:a,schlibAltSnapGridSize:s,defaultPinLength:l,relevanceBelongSchPage:c,relevanceLocation:d,maxSymbolNum:u}=e.canvasAppStore.storage;for(let h=0;h<5;h++)t.CANVAS.CANVAS_GENERAL.push(o.value);o.value===we.CANVAS.CANVAS_GENERAL.INCH?t.CANVAS.CANVAS_GENERAL.push(gxe.inch):t.CANVAS.CANVAS_GENERAL.push(gxe.mm),t.CANVAS.CANVAS_GENERAL.push(wSr(e)),t.CANVAS.CANVAS_GENERAL.push(r.value),t.CANVAS.CANVAS_GENERAL.push(n.value),t.CANVAS.CANVAS_GENERAL.push(a.value),t.CANVAS.CANVAS_GENERAL.push(s.value),t.CANVAS.CANVAS_GENERAL.push(l.value);let p=oCt.find(h=>h.value===c.value);t.CANVAS.CANVAS_GENERAL.push(i(p.text));let m=rCt.find(h=>h.value===d.value);t.CANVAS.CANVAS_GENERAL.push(i(m.text)),t.CANVAS.CANVAS_GENERAL.push(String(u.value))}function MSr(t,e,i){let{theme:o}=e.objectAppStore.storage,{color:r,fillColor:n,fontStyle:a,shape:s}=o[o.activeTheme],l=e.canvasAppStore.storage.unit.value;for(let c of Object.keys(r||{}))t.CANVAS.OBJECT.push(r[c]);for(let c of Object.keys(n||{}))t.CANVAS.OBJECT.push(n[c]);for(let c of Object.keys(a||{})){let{fontFamily:d,fontSize:u}=a[c];t.CANVAS.OBJECT.push(d+" | "+fo(io(+u,"pixel",l),l)+l)}for(let c of Object.keys(s||{})){let{width:d,dash:u,fillStyle:p}=s[c];(_t&&c==="annotation"||c!=="annotation")&&t.CANVAS.OBJECT.push(d+" | "+i(Voe(u).i18nText)+(p?" | "+i({context:"theme",value:s4[p]}):""))}}function ISr(t,e){let{altGridSize:i,rotateSteppingAngle:o,defaultComponentFontTypeface:r,defaultComponentFontHeight:n,defaultComponentFontHeightUnit:a,defaultComponentFontStrokeWidth:s,defaultComponentFontStrokeWidthUnit:l,filletRadius2DLine:c,filletRadiusUnit2DLine:d,filletRadiusTrack:u,filletRadiusUnitTrack:p}=e.pcbFootprintAppStore.storage;t.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.push(String(i.value.GridX.number)),t.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.push(String(i.value.GridY.number)),t.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.push(i.value.GridX.unit),t.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.push(i.value.GridY.unit),t.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.push(o.value),t.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.push(r.value),t.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.push(String(n.value)),t.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.push(a.value),t.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.push(String(s.value)),t.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.push(l.value),t.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.push(String(c.value)),t.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.push(d.value),t.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.push(String(u.value)),t.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.push(p.value)}function LSr(t,e,i){let{canvasPrimitiveSetting:o,canvasColorTheme:r,canvasColorThemeSelected:n}=e.pcbThemeAppStore.storage;for(let s of Object.keys(o||{})){if(o[s].hidden)continue;let{color:l,transparency:c,borderColor:d,borderStyle:u}=o[s];if(l&&(l.value?t.PCB_FOOTPRINT.PCB_THEME.push(l.value):l.tag==="default"?t.PCB_FOOTPRINT.PCB_THEME.push(m_e):l.tag==="followLayerId"&&t.PCB_FOOTPRINT.PCB_THEME.push(p_e)),c){let p=li.toFixed(parseFloat(c.value)*100||0,2).toString();t.PCB_FOOTPRINT.PCB_THEME.push(p)}if(d&&(d.value?t.PCB_FOOTPRINT.PCB_THEME.push(d.value):d.tag==="default"?t.PCB_FOOTPRINT.PCB_THEME.push(m_e):d.tag==="followLayerId"&&t.PCB_FOOTPRINT.PCB_THEME.push(p_e)),u){let p=H9e[u.value];t.PCB_FOOTPRINT.PCB_THEME.push(p)}}t.PCB_FOOTPRINT.PCB_THEME.push(n);let a=r.find(s=>s.name===n);a.list.forEach(s=>{let{layerName:l,layerType:c,activeColor:d,activeColorAlpha:u}=s;t.PCB_FOOTPRINT.PCB_THEME.push(f_e(l,i)),t.PCB_FOOTPRINT.PCB_THEME.push(g_e(c,i)),t.PCB_FOOTPRINT.PCB_THEME.push(d),t.PCB_FOOTPRINT.PCB_THEME.push(nTe(u).toString())}),t.PCB_FOOTPRINT.PCB_THEME.push(nTe(a.list[0].deactiveColorAlpha).toString())}function vSr(t,e,i){t.PCB_FOOTPRINT.PCB_SHOW.push(String(e.pcbShowAppStore.otherStorage.multiRatio.value)),t.PCB_FOOTPRINT.PCB_SHOW.push((e.pcbShowAppStore.storage.selectAlpha||0)+"%");let o=iCt.find(r=>r.value===e.pcbShowAppStore.storage.hightType);t.PCB_FOOTPRINT.PCB_SHOW.push(i(o.text))}function DSr(t,e){let{value:i,value2Polar:o}=e.pcbCommGridSizeAppStore.storage.commonlyList;i.forEach(r=>{let{gridXMil:n,gridXMm:a,gridYMil:s,gridYMm:l}=r;t.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.push(n),t.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.push(a),t.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.push(s),t.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.push(l)}),o.forEach(r=>{let{angle:n,mil:a,mm:s}=r;t.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.push(n),t.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.push(a),t.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.push(s)})}function ESr(t,e){let{value:i}=e.pcbCommTrackWidthAppStore.storage.commonlyList;i.forEach(o=>{let{trackWidthMil:r,trackWidthMm:n}=o;t.PCB_FOOTPRINT.PCB_COMM_TRACK_WIDTH.push(r),t.PCB_FOOTPRINT.PCB_COMM_TRACK_WIDTH.push(n)})}function ASr(t,e){let{value:i}=e.pcbCommViaSizeAppStore.storage.commonlyList;i.forEach(o=>{let{insideDiameterMil:r,insideDiameterMm:n,outersideDiameterMil:a,outersideDiameterMm:s}=o;t.PCB_FOOTPRINT.PCB_COMM_VIA_SIZE.push(r),t.PCB_FOOTPRINT.PCB_COMM_VIA_SIZE.push(n),t.PCB_FOOTPRINT.PCB_COMM_VIA_SIZE.push(a),t.PCB_FOOTPRINT.PCB_COMM_VIA_SIZE.push(s)})}function NSr(t,e){let{unit:i,value:o}=e.adsorptionAppStore.storage["Snap Distance Key"].value.options;t.PCB_FOOTPRINT.ADSORPTION.push(o),t.PCB_FOOTPRINT.ADSORPTION.push(i)}function kSr(t,e){let{panel_gridSize:i,panelAltSnapGridSize:o}=e.panelCanvasAppStore.storage;t.PANEL_CANVAS.PANEL_CANVAS_GENERAL.push(i.value),t.PANEL_CANVAS.PANEL_CANVAS_GENERAL.push(o.value)}function PSr(t,e,i){e.commTypefaceAppStore.storage.commonlyList.value.forEach(o=>{t.COMM_TYPEFACE.push(i(o.title))})}function OSr(t,e,i){let{presettingStore:o}=e.designAppStore,{NoSheetID:r,presettingData:n,originAttributes:a,userAttributes:s,specialKeys:l}=o,{name:c}=n,d=c===r?i(c):c;if(t.DESIGN.push(d),c!==r){t.DESIGN.push(we.DESIGN.BORDER),xZ.forEach(S=>{t.DESIGN.push(S)}),t.DESIGN.push($Lt);let u=s["Title Block Position"]||a["Title Block Position"],p=dpe.find(S=>S.value===u);t.DESIGN.push(i(p.text));let m=o.getSizeFlag(),f=W3(Object.keys(ES).concat(o.getSizeFlag()==="Customize"?"Customize":[])).find(S=>S.value===m);t.DESIGN.push(i(f.text));let g=Vo(),b=o.getAttributeValue("Width"),y=o.getAttributeValue("Height");t.DESIGN.push(fo(io(+b,"pixel",g),g)+g),t.DESIGN.push(fo(io(+y,"pixel",g),g)+g);let w=o.getAttributeValue("Region Start"),x=cpe.find(S=>S.value===w);t.DESIGN.push(i(x.text)),t.DESIGN.push(o.getAttributeValue("X Region Count")),t.DESIGN.push(o.getAttributeValue("Y Region Count")),t.DESIGN.push(o.getAttributeValue("Blade Width")+g),t.DESIGN.push(o.getAttributeValue("Color")||XLt()+i("(Default)")),t.DESIGN.push(we.DESIGN.TITLE_BLOCK),t.DESIGN.push(Qu),t.DESIGN.push(qLt),o.titleBlockAttributes.forEach(([S,T],M)=>{let A=l.includes(S)?i("<System Assignment>"):vn(s[S])?a[S]:s[S];t.DESIGN.push(S),t.DESIGN.push(A)})}}function RSr(t,e,i){JSON.parse(e.propertyAppStore.storage.property).forEach(r=>{let{property:n,object:a,showStatus:s}=r;t.PROPERTY.push(n),t.PROPERTY.push(XRe(a,i)),t.PROPERTY.push($Re(s,i))})}function _Sr(t,e){let{listStore:i,tableStore:o}=e.hotkeyAppStore;i.data.forEach(a=>{let{count:s}=a;t.HOTKEY.push(`(${s})`)});let{customFrom:r,defData:n}=o;for(let a of Object.keys(n[r]||{}))n[r][a].forEach(s=>{let{funcE:l,hotkey:c,command:d,invisibleHotKey:u}=s;u||(t.HOTKEY.push(l),c&&t.HOTKEY.push(c),d&&t.HOTKEY.push(ue.htmlDecode(d)))})}function jSr(t,e,i){let{color:o,fillColor:r,fontStyle:n,shape:a}=e.panelThemeAppStore.storage,s="mm";for(let l of Object.keys(o||{}))t.PANEL_CANVAS.PANEL_THEME.push(o[l]);for(let l of Object.keys(r||{}))r[l]&&t.PANEL_CANVAS.PANEL_THEME.push(r[l]);for(let l of Object.keys(n||{})){let{fontFamily:c,fontSize:d}=n[l];t.PANEL_CANVAS.PANEL_THEME.push((c==="default"?i(c):c)+" | "+Number(d)+s)}for(let l of Object.keys(a||{})){let{width:c,dash:d}=a[l];l==="auxiliaryLine"?t.PANEL_CANVAS.PANEL_THEME.push(i(Voe(d).i18nText)):t.PANEL_CANVAS.PANEL_THEME.push(c+s)}}function BSr(t,e){let{topShortCut:i}=e.customToolBarAppStore.storage;for(let o of Object.keys(i||{})){if(!na&&o==="SIM"||o==="WAVEFORM")continue;t.CUSTOM_TOOLBAR[o]=[];let r=t.CUSTOM_TOOLBAR[o];r.push(we.CUSTOM_TOOLBAR.AVAILABLE_ITEMS),r.push(we.CUSTOM_TOOLBAR.SELECTED_ITEMS),r.push("All"),r.push("Separator"),i[o].forEach(n=>{if(n.key.startsWith("|"))r.push("Separator");else{let a=ODi[n.key],s=(a==null?void 0:a.title)||n.key||"";s&&(r.push(s),n.show&&r.push(s))}})}}function zSr(t,e){t.SAVE.push(`(${LRe}~${IRe})`),t.SAVE.push(String(e.saveAppStore.storage.autoSaveMin.value)),t.SAVE.push(String(e.saveAppStore.storage.autoBackupNum.value)),t.SAVE.push(String(e.saveAppStore.storage.autoBackupMin.value))}var JSe=L(z());function FSr(t){return"SYSTEM"===t?"SYSTEM_GENERAL":"PCB_FOOTPRINT"===t?"PCB_FOOTPRINT_GENERAL":"CANVAS"===t?"CANVAS_GENERAL":"PANEL_CANVAS"===t?"PANEL_CANVAS_GENERAL":t}function USr(t,e){let i=(0,_C.useContext)(Ea);Ce(i.frameStore);let o=J(),{menuSelected:r="SYSTEM_GENERAL",onMenuSelected:n,searchValue:a,setIsAllHide:s,setResultValue:l,setSearchCurNum:c}=t,d=(0,_C.useRef)(null),[u,p]=(0,_C.useState)([FSr(r)]),[m,h]=(0,_C.useState)([]),[f,g]=(0,_C.useState)([]),b=(x,S,T,M,I)=>{n(T.id)},y=(x,S)=>{switch(x.id){case"SYSTEM":return p(["SYSTEM_GENERAL"]),!1;case"CANVAS":return p(["CANVAS_GENERAL"]),!1;case"PCB_FOOTPRINT":return p(["PCB_FOOTPRINT_GENERAL"]),!1;case"PANEL_CANVAS":return p(["PANEL_CANVAS_GENERAL"]),!1}return!0};(0,_C.useEffect)(()=>{n(u[0]),i.frameStore.menuId=u[0]},[u]),(0,_C.useEffect)(()=>{let x=_hi(m,Array.from(i.frameStore.waitForSaveTagsSet));h(x),i.frameStore.updateChangeModules(i.frameStore.waitForSaveTagsSet)},[i.frameStore.waitForSaveTagsSet]),(0,_C.useEffect)(()=>{let x=Ohi();w();let S=D_(x);return h(x),g(S),d.current=C.messageBus.subscribe("SWITCH_MENU_SELECTED",T=>{p([T]),n(T)}),()=>{d.current&&d.current.cancel()}},[]),(0,_C.useEffect)(()=>{m.length<=0||(w(),h([...m]))},[a]),(0,_C.useImperativeHandle)(e,()=>({toPreOrNextMenu(x){p([x])}}));function w(){let x=SOi(i,o),{hidden:S,searchMenuList:T,searchMenuMap:M}=ovt(m,null,a,o,x,[],{});s(S);let I=0;it(M,(A,D)=>{I+=D.count}),l({searchMenuList:T,searchMenuMap:M,searchCount:I,direction:"next"}),c(1),T.length>0&&p([T[0]])}return(0,JSe.jsx)(JSe.Fragment,{children:(0,JSe.jsx)(Bd,{extendIconType:"tree-extends-triangle",selectedIds:u,treeWidgetItemWidth:"18px",contentUnderline:!1,multiSelect:!1,showTagLine:!1,showExpandBtn:!0,expandedIds:f,isVirtualList:!1,onClick:b,onMousesDown:y,data:m})})}var MOi=(0,_C.forwardRef)(USr);var jOi=L(Se());var vOi=L(Se());var rvt=L(LOi()),nvt=L(No());var qSe=L(z());function VSr(t){let e=we.PCB_FOOTPRINT.ADSORPTION.ALL_LAYERS,i=we.PCB_FOOTPRINT.ADSORPTION.CURRENT_LAYER;Ae(nvt.default);let{locals:o}=nvt.default,r=be.bind(o);Ae(rvt.default);let{locals:n}=rvt.default,a=be.bind(n),s=J(),{storage:l,onUpdate:c}=t,d=j_.Snapping;return(0,qSe.jsxs)("div",{className:r("profileline-wrapper"),children:[(0,qSe.jsx)("div",{className:r("profileline-label-wrapper"),"data-test":d,children:s(d)}),(0,qSe.jsx)($i,{className:a("profileline-content-wrapper"),value:l["Snapping Key"].value.options.value,options:[{value:"allLayers",label:e},{value:"currentLayer",label:i}],onChange:u=>{let p={...l["Snapping Key"].value};p.options.value=u,c("Snapping Key",p)}})]})}var DOi=vOi.default.memo(VSr);var U1e=L(Se());var EOi=L(No());var mB=L(z());function HSr(t){let e=J(),{locals:i}=EOi.default,{storage:o,onUpdate:r}=t,n=JSON.parse(JSON.stringify(o["Snap Distance Key"].value)),a=n.options.value,s=n.options.unit,[l,c]=(0,U1e.useState)(Z3({value:String(a)},s==="mil"?1:3).value||ue.unitConversion.conversion("mil",s,8)),d=(f,g)=>{switch(f){case"value":{n.options.value=g;break}case"unit":{n.options.unit=g;break}}r("Snap Distance Key",n)};(0,U1e.useEffect)(()=>{if(String(o["Snap Distance Key"].value.options.value)!==String(l)){let f=o["Snap Distance Key"].value.options.value||Z3({value:String(ue.unitConversion.conversion1("mil",s,8))},s==="mil"?1:3).value;c(f)}},[o["Snap Distance Key"].value.options.value]);let u=f=>{let g=f.target;g&&g.select()},p=f=>{let b=f.target.value;c(b)},m=f=>{let b=f.target.value.trim(),y=Z3({value:b},s==="mil"?1:3).value;if(b===""||+b<=0||+y<=0){let w=ue.unitConversion.conversion1("mil",s,8);y=Z3({value:String(w)},s==="mil"?1:3).value}c(String(y)),d("value",+y)},h=f=>{d("unit",f);let g=a,b=ue.unitConversion.conversion1(s,f,+a);g=Z3({value:String(b)},f==="mil"?1:3).value,d("value",+g)};return(0,mB.jsxs)("div",{className:i["profileline-wrapper2"],style:{overflow:"initial"},children:[(0,mB.jsx)("div",{className:i["profileline-label-wrapper2"],children:(0,mB.jsx)("span",{title:e(j_["Snap Distance"]),"data-test":j_["Snap Distance"],children:e(j_["Snap Distance"])})}),(0,mB.jsx)("div",{className:i["profileline-content-wrapper2"],style:{position:"relative"},children:(0,mB.jsxs)("div",{style:{display:"flex"},children:[(0,mB.jsx)("label",{className:i["profileline-content-item-wrapper2"],style:{display:"flex",paddingBottom:"8px",minWidth:"initial"},children:(0,mB.jsx)("input",{"data-input-type":"input","data-attritem-input":"Snap Distance Key",name:"Snap Distance Key",type:"text",value:String(l),className:i["profile-input-text"],onChange:p,onBlur:m,onFocus:u,style:{width:"100px"}})}),(0,mB.jsx)(xt,{"data-input-type":"single-select","data-attritem-input":"Snap Distance Key",name:"Snap Distance Key",value:s||"mil",style:{width:"55px"},list:X8,onChange:f=>{h(f)}})]})})]})}var AOi=U1e.default.memo(HSr);var POi=L(Se()),avt=L(kOi());var V1e=L(z());function GSr(t){let e=we.PCB_FOOTPRINT.ADSORPTION.ALL;Ae(avt.default);let{locals:i}=avt.default,o=be.bind(i),r=J(),{storage:n,onUpdate:a,id:s}=t,{options:l}=n[s].value,c=j_[s],d=s==="Layout/Route"?1:0,u=l.filter(m=>!m.checked).length===d,p=`ADSORPTION${s}`;return(0,V1e.jsxs)("div",{className:o("snap-header"),children:[(0,V1e.jsx)("h3",{"data-test":c,children:r(c)}),(0,V1e.jsx)("input",{type:"checkbox",name:c,id:p,value:"all",checked:u,onChange:m=>{let h=!!m.target.checked,f={...n[s].value},g=h&&s==="Layout/Route";f.options.forEach(b=>{g&&b.id==="Footprint Origin"?b.checked=!1:b.checked=h}),a(s,f)}}),(0,V1e.jsx)("label",{htmlFor:p,"data-test":e,style:{cursor:"pointer"},children:r(e)})]})}var XHe=POi.default.memo(GSr);var _Oi=L(Se());var svt=L(ROi());var H1e=L(z());function YSr(t){Ae(svt.default);let{locals:e}=svt.default,i=be.bind(e),o=J(),{storage:r,onUpdate:n,id:a}=t,s=wRe[a].value.options,l=r[a].value.options;l.sort((u,p)=>s.findIndex(m=>m.id==u.id)-s.findIndex(m=>m.id==p.id));let c=l.length,d=c%3===0?3:c%3;return(0,H1e.jsx)("div",{className:i("snap-content"),children:l.map((u,p)=>{let{id:m,checked:h}=u,f=j_[m],g=`snap${a}${m}`,b=o(f==="Intersection"?{value:f,context:"SystemConfig"}:f);return(0,H1e.jsxs)("div",{style:{marginBottom:p<c-d?"16px":""},children:[(0,H1e.jsx)("input",{id:g,type:"checkbox",name:a,value:m,checked:h,onChange:y=>{let w=!!y.target.checked,x={...r[a].value},S=w&&["Footprint Center","Footprint Origin"].includes(m)&&a==="Layout/Route";x.options.forEach(T=>{m===T.id?T.checked=w:S&&["Footprint Center","Footprint Origin"].includes(T.id)&&(T.checked=!1)}),n(a,x)}}),(0,H1e.jsx)("label",{htmlFor:g,style:{cursor:"pointer"},children:b})]},p)})})}var eGe=_Oi.default.memo(YSr);var CD=L(z());function BOi(){let t=J(),e=(0,jOi.useContext)(Ea);Ce(e.adsorptionAppStore);let i=(o,r)=>{e.adsorptionAppStore.whenAttrUpdate(o,r),e.frameStore.waitForSaveTagsSet=new Set([...e.frameStore.waitForSaveTagsSet,"ADSORPTION"])};return(0,CD.jsxs)(CD.Fragment,{children:[(0,CD.jsx)(DOi,{storage:e.adsorptionAppStore.storage,onUpdate:i}),(0,CD.jsx)(AOi,{storage:e.adsorptionAppStore.storage,onUpdate:i}),(0,CD.jsx)(XHe,{storage:e.adsorptionAppStore.storage,onUpdate:i,id:"Common"}),(0,CD.jsx)(eGe,{storage:e.adsorptionAppStore.storage,onUpdate:i,id:"Common"}),(0,CD.jsx)(XHe,{storage:e.adsorptionAppStore.storage,onUpdate:i,id:"Layout/Route"}),(0,CD.jsx)(eGe,{storage:e.adsorptionAppStore.storage,onUpdate:i,id:"Layout/Route"}),(0,CD.jsx)(XHe,{storage:e.adsorptionAppStore.storage,onUpdate:i,id:"Outline Object"}),(0,CD.jsx)(eGe,{storage:e.adsorptionAppStore.storage,onUpdate:i,id:"Outline Object"})]})}var zOi=L(Se());var XSe=L(z());function FOi(){let t=J(),e=(0,zOi.useContext)(Ea);Ce(e.baseLibraryStore);let i=(o,r)=>{e.baseLibraryStore.whenAttrUpdate(o,r),e.frameStore.waitForSaveTagsSet=new Set([...e.frameStore.waitForSaveTagsSet,"BASE_LIBRARY"])};return(0,XSe.jsx)(XSe.Fragment,{children:(0,XSe.jsx)(UOi,{data:e.baseLibraryStore.storage,store:e.baseLibraryStore,onChange:i})})}var YRi=L(Se());var VOi=L(No());var eN=L(z()),{locals:AH}=VOi.default,tGe=we.CANVAS.CANVAS_GENERAL.UNIT,iGe=we.CANVAS.CANVAS_GENERAL.INCH,oGe=we.CANVAS.CANVAS_GENERAL.MM;function HOi(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,eN.jsxs)("div",{className:AH["profileline-wrapper"],children:[(0,eN.jsx)("div",{className:AH["profileline-label-wrapper"],children:(0,eN.jsx)("span",{title:e(tGe),"data-test":tGe,i18n:tGe,children:e(tGe)})}),(0,eN.jsxs)("div",{className:AH["profileline-content-wrapper"],children:[(0,eN.jsxs)("label",{className:AH["profileline-content-item-wrapper"],children:[(0,eN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"unit",name:"unit1",type:"radio",value:"inch",className:AH["profile-input-radio"],onChange:()=>{o("unit","inch")},checked:i.unit.value==="inch"}),(0,eN.jsx)("span",{title:e(iGe),i18n:iGe,"data-test":iGe,className:AH["profile-input-tips"],children:e(iGe)})]}),(0,eN.jsxs)("label",{className:AH["profileline-content-item-wrapper"],children:[(0,eN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"unit",name:"unit2",type:"radio",value:"mm",className:AH["profile-input-radio"],onChange:()=>{o("unit","mm")},checked:i.unit.value==="mm"}),(0,eN.jsx)("span",{title:e(oGe),i18n:oGe,"data-test":oGe,className:AH["profile-input-tips"],children:e(oGe)})]})]})]})}var GOi=L(No());var tM=L(z()),{locals:tN}=GOi.default,rGe=we.CANVAS.CANVAS_GENERAL.GRID_TYPE,nGe=we.CANVAS.CANVAS_GENERAL.GRID_DOT,aGe=we.CANVAS.CANVAS_GENERAL.GRID,sGe=we.CANVAS.CANVAS_GENERAL.NONE;function YOi(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,tM.jsxs)("div",{className:tN["profileline-wrapper"],children:[(0,tM.jsx)("div",{className:tN["profileline-label-wrapper"],children:(0,tM.jsx)("span",{title:e(rGe),"data-test":rGe,i18n:rGe,children:e(rGe)})}),(0,tM.jsxs)("div",{className:tN["profileline-content-wrapper"],children:[(0,tM.jsxs)("label",{className:tN["profileline-content-item-wrapper"],children:[(0,tM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"gridStyle",name:"gridStyle2",type:"radio",value:"dot",className:tN["profile-input-radio"],onChange:()=>{o("gridStyle","dot")},checked:i.gridStyle.value==="dot"}),(0,tM.jsx)("span",{title:e(nGe),i18n:nGe,"data-test":nGe,className:tN["profile-input-tips"],children:e(nGe)})]}),(0,tM.jsxs)("label",{className:tN["profileline-content-item-wrapper"],children:[(0,tM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"gridStyle",name:"gridStyle1",type:"radio",value:"line",className:tN["profile-input-radio"],onChange:()=>{o("gridStyle","line")},checked:i.gridStyle.value==="line"}),(0,tM.jsx)("span",{title:e(aGe),i18n:aGe,"data-test":aGe,className:tN["profile-input-tips"],children:e(aGe)})]}),(0,tM.jsxs)("label",{className:tN["profileline-content-item-wrapper"],children:[(0,tM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"gridStyle",name:"gridStyle3",type:"radio",value:"not",className:tN["profile-input-radio"],onChange:()=>{o("gridStyle","not")},checked:i.gridStyle.value==="not"}),(0,tM.jsx)("span",{title:e(sGe),i18n:sGe,"data-test":sGe,className:tN["profile-input-tips"],children:e(sGe)})]})]})]})}var WOi=L(No());var iM=L(z()),{locals:iN}=WOi.default,lGe=we.CANVAS.CANVAS_GENERAL.CROSS_CURSOR,cGe=we.CANVAS.CANVAS_GENERAL.BIG,dGe=we.CANVAS.CANVAS_GENERAL.SMALL,uGe=we.CANVAS.CANVAS_GENERAL.NONE;function QOi(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,iM.jsxs)("div",{className:iN["profileline-wrapper"],children:[(0,iM.jsx)("div",{className:iN["profileline-label-wrapper"],children:(0,iM.jsx)("span",{title:e(lGe),"data-test":lGe,i18n:lGe,children:e(lGe)})}),(0,iM.jsxs)("div",{className:iN["profileline-content-wrapper"],children:[(0,iM.jsxs)("label",{className:iN["profileline-content-item-wrapper"],children:[(0,iM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"cursor",name:"cursor1",type:"radio",value:"Big",className:iN["profile-input-radio"],onChange:()=>{o("cursor","Big")},checked:i.cursor.value==="Big"}),(0,iM.jsx)("span",{title:e(cGe),i18n:cGe,"data-test":cGe,className:iN["profile-input-tips"],children:e(cGe)})]}),(0,iM.jsxs)("label",{className:iN["profileline-content-item-wrapper"],children:[(0,iM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"cursor",name:"cursor2",type:"radio",value:"Small",className:iN["profile-input-radio"],onChange:()=>{o("cursor","Small")},checked:i.cursor.value==="Small"}),(0,iM.jsx)("span",{title:e(dGe),i18n:dGe,"data-test":dGe,className:iN["profile-input-tips"],children:e(dGe)})]}),(0,iM.jsxs)("label",{className:iN["profileline-content-item-wrapper"],children:[(0,iM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"cursor",name:"cursor3",type:"radio",value:"None",className:iN["profile-input-radio"],onChange:()=>{o("cursor","None")},checked:i.cursor.value==="None"}),(0,iM.jsx)("span",{title:e(uGe),i18n:uGe,"data-test":uGe,className:iN["profile-input-tips"],children:e(uGe)})]})]})]})}var KOi=L(No());var NH=L(z()),{locals:G1e}=KOi.default,pGe=we.CANVAS.CANVAS_GENERAL.ALWAYS_SHOW_CROSS_CURSOR;function ZOi(t){let e=J(),{storage:i,alwaysShowCrossCursorCheckboxDisabled:o,onUpdate:r}=t,n=a=>{let s=a.target;r("schAlwaysDisplayCursor",!!s.checked)};return(0,NH.jsxs)("div",{className:G1e["profileline-wrapper"],children:[(0,NH.jsx)("div",{className:G1e["profileline-label-wrapper"],children:(0,NH.jsx)("span",{})}),(0,NH.jsx)("div",{className:G1e["profileline-content-wrapper"],children:(0,NH.jsxs)("label",{className:G1e["profileline-content-item-wrapper"],children:[(0,NH.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"schAlwaysDisplayCursor",name:"schAlwaysDisplayCursor",type:"checkbox",value:"true",className:G1e["profile-input-checkbox"],onChange:n,checked:i.schAlwaysDisplayCursor.value===!0,disabled:o}),(0,NH.jsx)("span",{title:e(pGe),i18n:pGe,"data-test":pGe,className:G1e["profile-input-tips"],children:e(pGe)})]})})]})}var JOi=L(No());var oM=L(z()),{locals:oN}=JOi.default,mGe=we.CANVAS.CANVAS_GENERAL.GUIDELINE,hGe=we.CANVAS.CANVAS_GENERAL.DISPLAY_WHEN_SIGNLE_COMPONENT_OR_PROPERTY_SELECTED,fGe=we.CANVAS.CANVAS_GENERAL.DISPLAY_WHEN_SELECTED,gGe=we.CANVAS.CANVAS_GENERAL.HIDE;function qOi(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,oM.jsxs)("div",{className:oN["profileline-wrapper2"],children:[(0,oM.jsx)("div",{className:oN["profileline-label-wrapper2"],children:(0,oM.jsx)("span",{title:e(mGe),"data-test":mGe,i18n:mGe,children:e(mGe)})}),(0,oM.jsxs)("div",{className:oN["profileline-content-wrapper2"],children:[(0,oM.jsxs)("label",{className:oN["profileline-content-item-wrapper2"],children:[(0,oM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"guide_line_display_way",name:"guide_line_display_way1",type:"radio",value:"1",className:oN["profile-input-radio"],onChange:()=>{o("guide_line_display_way","1")},checked:i.guide_line_display_way.value==="1"}),(0,oM.jsx)("span",{title:e(hGe),i18n:hGe,"data-test":hGe,className:oN["profile-input-tips"],children:e(hGe)})]}),(0,oM.jsxs)("label",{className:oN["profileline-content-item-wrapper2"],children:[(0,oM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"guide_line_display_way",name:"guide_line_display_way2",type:"radio",value:"0",className:oN["profile-input-radio"],onChange:()=>{o("guide_line_display_way","0")},checked:i.guide_line_display_way.value==="0"}),(0,oM.jsx)("span",{title:e(fGe),i18n:fGe,"data-test":fGe,className:oN["profile-input-tips"],children:e(fGe)})]}),(0,oM.jsxs)("label",{className:oN["profileline-content-item-wrapper2"],children:[(0,oM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"curguide_line_display_waysor",name:"guide_line_display_way3",type:"radio",value:"2",className:oN["profile-input-radio"],onChange:()=>{o("guide_line_display_way","2")},checked:i.guide_line_display_way.value==="2"}),(0,oM.jsx)("span",{title:e(gGe),i18n:gGe,"data-test":gGe,className:oN["profile-input-tips"],children:e(gGe)})]})]})]})}var XOi=L(No());var rN=L(z()),{locals:kH}=XOi.default,bGe=we.CANVAS.CANVAS_GENERAL.COPY_CUT,yGe=we.CANVAS.CANVAS_GENERAL.NO_SELECT_REFERENCE_POINT,wGe=we.CANVAS.CANVAS_GENERAL.SELECT_REFERENCE_POINT;function $Oi(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,rN.jsxs)("div",{className:kH["profileline-wrapper"],children:[(0,rN.jsx)("div",{className:kH["profileline-label-wrapper"],children:(0,rN.jsx)("span",{title:e(bGe),"data-test":bGe,i18n:bGe,children:e(bGe)})}),(0,rN.jsxs)("div",{className:kH["profileline-content-wrapper"],children:[(0,rN.jsxs)("label",{className:kH["profileline-content-item-wrapper"],children:[(0,rN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"referencePoint_select_method",name:"referencePoint_select_method1",type:"radio",value:"default",className:kH["profile-input-radio"],onChange:()=>{o("referencePoint_select_method","default")},checked:i.referencePoint_select_method.value==="default"}),(0,rN.jsx)("span",{title:e(yGe),i18n:yGe,"data-test":yGe,className:kH["profile-input-tips"],children:e(yGe)})]}),(0,rN.jsxs)("label",{className:kH["profileline-content-item-wrapper"],children:[(0,rN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"referencePoint_select_method",name:"referencePoint_select_method2",type:"radio",value:"select",className:kH["profile-input-radio"],onChange:()=>{o("referencePoint_select_method","select")},checked:i.referencePoint_select_method.value==="select"}),(0,rN.jsx)("span",{title:e(wGe),i18n:wGe,"data-test":wGe,className:kH["profile-input-tips"],children:e(wGe)})]})]})]})}var eRi=L(No());var nN=L(z()),{locals:PH}=eRi.default,CGe=we.CANVAS.CANVAS_GENERAL.DEFAULT_NETNAME,xGe=we.CANVAS.CANVAS_GENERAL.WIRE_ID,TGe=we.CANVAS.CANVAS_GENERAL.DESIGNATOR_PINNUMBER;function tRi(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,nN.jsxs)("div",{className:PH["profileline-wrapper"],children:[(0,nN.jsx)("div",{className:PH["profileline-label-wrapper"],children:(0,nN.jsx)("span",{title:e(CGe),"data-test":CGe,i18n:CGe,children:e(CGe)})}),(0,nN.jsxs)("div",{className:PH["profileline-content-wrapper"],children:[(0,nN.jsxs)("label",{className:PH["profileline-content-item-wrapper"],children:[(0,nN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"defaultNetname",name:"defaultNetname1",type:"radio",value:"true",className:PH["profile-input-radio"],onChange:()=>{o("defaultNetname","true")},checked:i.defaultNetname.value==="true"}),(0,nN.jsx)("span",{title:e(xGe),i18n:xGe,"data-test":xGe,className:PH["profile-input-tips"],children:e(xGe)})]}),(0,nN.jsxs)("label",{className:PH["profileline-content-item-wrapper"],children:[(0,nN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"defaultNetname",name:"defaultNetname2",type:"radio",value:"false",className:PH["profile-input-radio"],onChange:()=>{o("defaultNetname","false")},checked:i.defaultNetname.value==="false"}),(0,nN.jsx)("span",{title:e(TGe),i18n:TGe,"data-test":TGe,className:PH["profile-input-tips"],children:e(TGe)})]})]})]})}var iRi=L(No());var aN=L(z()),{locals:OH}=iRi.default,SGe=we.CANVAS.CANVAS_GENERAL.CLICK_ON_THE_WIRE_TO_SELECT,MGe=we.CANVAS.CANVAS_GENERAL.SELECT_SINGLE,IGe=we.CANVAS.CANVAS_GENERAL.SELECT_WHOLE;function oRi(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,aN.jsxs)("div",{className:OH["profileline-wrapper2"],children:[(0,aN.jsx)("div",{className:OH["profileline-label-wrapper2"],children:(0,aN.jsx)("span",{title:e(SGe),"data-test":SGe,i18n:SGe,children:e(SGe)})}),(0,aN.jsxs)("div",{className:OH["profileline-content-wrapper2"],children:[(0,aN.jsxs)("label",{className:OH["profileline-content-item-wrapper2"],children:[(0,aN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"net_select_method",name:"net_select_method1",type:"radio",value:"single",className:OH["profile-input-radio"],onChange:()=>{o("net_select_method","single")},checked:i.net_select_method.value==="single"}),(0,aN.jsx)("span",{title:e(MGe),i18n:MGe,"data-test":MGe,className:OH["profile-input-tips"],children:e(MGe)})]}),(0,aN.jsxs)("label",{className:OH["profileline-content-item-wrapper2"],children:[(0,aN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"net_select_method",name:"net_select_method2",type:"radio",value:"wholeParagraph",className:OH["profile-input-radio"],onChange:()=>{o("net_select_method","wholeParagraph")},checked:i.net_select_method.value==="wholeParagraph"}),(0,aN.jsx)("span",{title:e(IGe),i18n:IGe,"data-test":IGe,className:OH["profile-input-tips"],children:e(IGe)})]})]})]})}var rRi=L(No());var sN=L(z()),{locals:RH}=rRi.default,LGe=we.CANVAS.CANVAS_GENERAL.DRAG_NET_NAME,vGe=we.CANVAS.CANVAS_GENERAL.MODIFY_NET_NAME,DGe=we.CANVAS.CANVAS_GENERAL.MODIFY_PROPERTY_POSITION;function nRi(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,sN.jsxs)("div",{className:RH["profileline-wrapper"],children:[(0,sN.jsx)("div",{className:RH["profileline-label-wrapper"],children:(0,sN.jsx)("span",{title:e(LGe),"data-test":LGe,i18n:LGe,children:e(LGe)})}),(0,sN.jsxs)("div",{className:RH["profileline-content-wrapper"],children:[(0,sN.jsxs)("label",{className:RH["profileline-content-item-wrapper"],children:[(0,sN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"drag_netname_mode",name:"drag_netname_mode1",type:"radio",value:"Modify Netname",className:RH["profile-input-radio"],onChange:()=>{o("drag_netname_mode","Modify Netname")},checked:i.drag_netname_mode.value==="Modify Netname"}),(0,sN.jsx)("span",{title:e(vGe),i18n:vGe,"data-test":vGe,className:RH["profile-input-tips"],children:e(vGe)})]}),(0,sN.jsxs)("label",{className:RH["profileline-content-item-wrapper"],children:[(0,sN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"drag_netname_mode",name:"drag_netname_mode2",type:"radio",value:"Adjust Property Position",className:RH["profile-input-radio"],onChange:()=>{o("drag_netname_mode","Adjust Property Position")},checked:i.drag_netname_mode.value==="Adjust Property Position"}),(0,sN.jsx)("span",{title:e(DGe),i18n:DGe,"data-test":DGe,className:RH["profile-input-tips"],children:e(DGe)})]})]})]})}var aRi=L(No());var lN=L(z()),{locals:_H}=aRi.default,EGe=we.CANVAS.CANVAS_GENERAL.DRAG_SYMBOL,AGe=we.CANVAS.CANVAS_GENERAL.WIRE_FOLLOW,NGe=we.CANVAS.CANVAS_GENERAL.WIRE_NOT_FOLLOW;function sRi(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,lN.jsxs)("div",{className:_H["profileline-wrapper2"],children:[(0,lN.jsx)("div",{className:_H["profileline-label-wrapper2"],children:(0,lN.jsx)("span",{title:e(EGe),"data-test":EGe,i18n:EGe,children:e(EGe)})}),(0,lN.jsxs)("div",{className:_H["profileline-content-wrapper2"],children:[(0,lN.jsxs)("label",{className:_H["profileline-content-item-wrapper2"],children:[(0,lN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"drag_symbol_wire_follow_way",name:"drag_symbol_wire_follow_way1",type:"radio",value:"0",className:_H["profile-input-radio"],onChange:()=>{o("drag_symbol_wire_follow_way","0")},checked:i.drag_symbol_wire_follow_way.value==="0"}),(0,lN.jsx)("span",{title:e(AGe),i18n:AGe,"data-test":AGe,className:_H["profile-input-tips"],children:e(AGe)})]}),(0,lN.jsxs)("label",{className:_H["profileline-content-item-wrapper2"],children:[(0,lN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"drag_symbol_wire_follow_way",name:"drag_symbol_wire_follow_way2",type:"radio",value:"1",className:_H["profile-input-radio"],onChange:()=>{o("drag_symbol_wire_follow_way","1")},checked:i.drag_symbol_wire_follow_way.value==="1"}),(0,lN.jsx)("span",{title:e(NGe),i18n:NGe,"data-test":NGe,className:_H["profile-input-tips"],children:e(NGe)})]})]})]})}var lRi=L(No());var cN=L(z()),{locals:jH}=lRi.default,kGe=we.CANVAS.CANVAS_GENERAL.ROTATE_SYMBOL,PGe=we.CANVAS.CANVAS_GENERAL.FOLLOW,OGe=we.CANVAS.CANVAS_GENERAL.UNFOLLOW;function cRi(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,cN.jsxs)("div",{className:jH["profileline-wrapper2"],children:[(0,cN.jsx)("div",{className:jH["profileline-label-wrapper2"],children:(0,cN.jsx)("span",{title:e(kGe),"data-test":kGe,i18n:kGe,children:e(kGe)})}),(0,cN.jsxs)("div",{className:jH["profileline-content-wrapper2"],children:[(0,cN.jsxs)("label",{className:jH["profileline-content-item-wrapper2"],children:[(0,cN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"rotate_symbol_wire_follow_way",name:"rotate_symbol_wire_follow_way1",type:"radio",value:"0",className:jH["profile-input-radio"],onChange:()=>{o("rotate_symbol_wire_follow_way","0")},checked:i.rotate_symbol_wire_follow_way.value==="0"}),(0,cN.jsx)("span",{title:e(PGe),i18n:PGe,"data-test":PGe,className:jH["profile-input-tips"],children:e(PGe)})]}),(0,cN.jsxs)("label",{className:jH["profileline-content-item-wrapper2"],children:[(0,cN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"rotate_symbol_wire_follow_way",name:"rotate_symbol_wire_follow_way2",type:"radio",value:"1",className:jH["profile-input-radio"],onChange:()=>{o("rotate_symbol_wire_follow_way","1")},checked:i.rotate_symbol_wire_follow_way.value==="1"}),(0,cN.jsx)("span",{title:e(OGe),i18n:OGe,"data-test":OGe,className:jH["profile-input-tips"],children:e(OGe)})]})]})]})}var _Ge=L(Se());var dRi=L(No());var Rq=L(z()),{locals:$Se}=dRi.default,RGe=we.CANVAS.CANVAS_GENERAL.COMPONENTS_PLACEMENT_PER_PAGE;function uRi(t){let e=J(),{storage:i,onUpdate:o}=t,r=i.maxSymbolNum.value,[n,a]=(0,_Ge.useState)(String(i.maxSymbolNum.value)),s=u=>{let p=u.target;a(p.value)},l=u=>{let m=u.target.value;(Number.isNaN(+m)||Number.isNaN(parseInt(m)))&&(m="0");let h=parseInt(m);h<=0?h=cu.CANVAS.maxSymbolNum.value:(h=Math.max(h,1),h=Math.min(h,1e4)),a(String(h)),o("maxSymbolNum",h)},c=u=>{u.keyCode===13&&u.target.blur()},d=u=>{let p=u.target;p&&p.select&&p.select()};return(0,_Ge.useEffect)(()=>{n!==String(r)&&a(String(r))},[r]),(0,Rq.jsxs)("div",{className:$Se["profileline-wrapper2"],children:[(0,Rq.jsx)("div",{className:$Se["profileline-label-wrapper2"],children:(0,Rq.jsx)("span",{title:e(RGe),"data-test":RGe,i18n:RGe,children:e(RGe)})}),(0,Rq.jsx)("div",{className:$Se["profileline-content-wrapper"],children:(0,Rq.jsx)("label",{className:$Se["profileline-content-item-wrapper"],children:(0,Rq.jsx)("input",{"data-input-type":"input","data-attritem-input":"maxSymbolNum",name:"maxSymbolNum",type:"text",value:n,className:$Se["profile-input-text"],onChange:s,onBlur:l,onFocus:d,onKeyUp:c})})})]})}var pRi=L(No());var BH=L(z()),{locals:Y1e}=pRi.default,jGe=we.CANVAS.CANVAS_GENERAL.OTHER,BGe=we.CANVAS.CANVAS_GENERAL.SYMBOL_EDITOR_DISPLAY_SCALE_RULER;function mRi(t){let e=J(),{storage:i,onUpdate:o}=t,r=n=>{let a=n.target;o("ruler",!!a.checked)};return(0,BH.jsxs)("div",{className:Y1e["profileline-wrapper"],children:[(0,BH.jsx)("div",{className:Y1e["profileline-label-wrapper"],children:(0,BH.jsx)("span",{title:e(jGe),"data-test":jGe,i18n:jGe,children:e(jGe)})}),(0,BH.jsx)("div",{className:Y1e["profileline-content-wrapper"],children:(0,BH.jsxs)("label",{className:Y1e["profileline-content-item-wrapper"],children:[(0,BH.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"ruler",name:"ruler",type:"checkbox",value:"true",className:Y1e["profile-input-checkbox"],onChange:r,checked:i.ruler.value===!0}),(0,BH.jsx)("span",{title:e(BGe),i18n:BGe,"data-test":BGe,className:Y1e["profile-input-tips"],children:e(BGe)})]})})]})}var hRi=L(No());var zH=L(z()),{locals:W1e}=hRi.default,zGe=we.CANVAS.CANVAS_GENERAL.HIGHLIGHT_ENTIRE_NETWORK;function fRi(t){let e=J(),{storage:i,onUpdate:o}=t,r=n=>{let a=n.target;o("hover_highlight_netgroup",!!a.checked)};return(0,zH.jsxs)("div",{className:W1e["profileline-wrapper"],children:[(0,zH.jsx)("div",{className:W1e["profileline-label-wrapper"],children:(0,zH.jsx)("span",{})}),(0,zH.jsx)("div",{className:W1e["profileline-content-wrapper"],children:(0,zH.jsxs)("label",{className:W1e["profileline-content-item-wrapper"],children:[(0,zH.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"hover_highlight_netgroup",name:"hover_highlight_netgroup",type:"checkbox",value:"true",className:W1e["profile-input-checkbox"],onChange:r,checked:i.hover_highlight_netgroup.value===!0}),(0,zH.jsx)("span",{title:e(zGe),i18n:zGe,"data-test":zGe,className:W1e["profile-input-tips"],children:e(zGe)})]})})]})}var gRi=L(No());var FH=L(z()),{locals:Q1e}=gRi.default,FGe=we.CANVAS.CANVAS_GENERAL.ADJUST_PROPERTIES_LOCATION_AUTOMATICLLY;function bRi(t){let e=J(),{storage:i,onUpdate:o}=t,r=n=>{let a=n.target;o("auto_adjust_attr_after_rotation",!!a.checked)};return(0,FH.jsxs)("div",{className:Q1e["profileline-wrapper"],children:[(0,FH.jsx)("div",{className:Q1e["profileline-label-wrapper"],children:(0,FH.jsx)("span",{})}),(0,FH.jsx)("div",{className:Q1e["profileline-content-wrapper"],children:(0,FH.jsxs)("label",{className:Q1e["profileline-content-item-wrapper"],children:[(0,FH.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"auto_adjust_attr_after_rotation",name:"auto_adjust_attr_after_rotation",type:"checkbox",value:"true",className:Q1e["profile-input-checkbox"],onChange:r,checked:i.auto_adjust_attr_after_rotation.value===!0}),(0,FH.jsx)("span",{title:e(FGe),i18n:FGe,"data-test":FGe,className:Q1e["profile-input-tips"],children:e(FGe)})]})})]})}var yRi=L(No());var UH=L(z()),{locals:K1e}=yRi.default,UGe=we.CANVAS.CANVAS_GENERAL.CTRL_DRAG_TO_COPY;function wRi(t){let e=J(),{storage:i,onUpdate:o}=t,r=n=>{let a=n.target;o("is_ctrl_drag_to_drag",!!a.checked)};return(0,UH.jsxs)("div",{className:K1e["profileline-wrapper"],children:[(0,UH.jsx)("div",{className:K1e["profileline-label-wrapper"],children:(0,UH.jsx)("span",{})}),(0,UH.jsx)("div",{className:K1e["profileline-content-wrapper"],children:(0,UH.jsxs)("label",{className:K1e["profileline-content-item-wrapper"],children:[(0,UH.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"is_ctrl_drag_to_drag",name:"is_ctrl_drag_to_drag",type:"checkbox",value:"true",className:K1e["profile-input-checkbox"],onChange:r,checked:i.is_ctrl_drag_to_drag.value===!0}),(0,UH.jsx)("span",{title:e(UGe),i18n:UGe,"data-test":UGe,className:K1e["profile-input-tips"],children:e(UGe)})]})})]})}var CRi=L(No());var dN=L(z()),{locals:VH}=CRi.default,VGe=we.CANVAS.CANVAS_GENERAL.LINE_WIDTH_DISPLAY,HGe=we.CANVAS.CANVAS_GENERAL.FOLLOW_ZOOM_CHANGE,GGe=we.CANVAS.CANVAS_GENERAL.ALWAYS_1PX;function xRi(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,dN.jsxs)("div",{className:VH["profileline-wrapper"],children:[(0,dN.jsx)("div",{className:VH["profileline-label-wrapper"],children:(0,dN.jsx)("span",{title:e(VGe),"data-test":VGe,i18n:VGe,children:e(VGe)})}),(0,dN.jsxs)("div",{className:VH["profileline-content-wrapper"],children:[(0,dN.jsxs)("label",{className:VH["profileline-content-item-wrapper"],children:[(0,dN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"line_width_show",name:"line_width_show1",type:"radio",value:"0",className:VH["profile-input-radio"],onChange:()=>{o("line_width_show","0")},checked:i.line_width_show.value==="0"}),(0,dN.jsx)("span",{title:e(HGe),i18n:HGe,"data-test":HGe,className:VH["profile-input-tips"],children:e(HGe)})]}),(0,dN.jsxs)("label",{className:VH["profileline-content-item-wrapper"],children:[(0,dN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"line_width_show",name:"line_width_show2",type:"radio",value:"1",className:VH["profile-input-radio"],onChange:()=>{o("line_width_show","1")},checked:i.line_width_show.value==="1"}),(0,dN.jsx)("span",{title:e(GGe),i18n:GGe,"data-test":GGe,className:VH["profile-input-tips"],children:e(GGe)})]})]})]})}var xD=L(Se());var lvt=L(SRi());var MI=L(z()),{locals:HH}=lvt.default,QSr=({value:t,options:e,sizeUnit:i,inputWidth:o,callBack:r,type:n="text"})=>{Ae(lvt.default);let a=J(),[s,l]=(0,xD.useState)(t),[c,d]=(0,xD.useState)(!1),[u,p]=(0,xD.useState)(!1),m=be({[HH["arr-icon"]]:!c,[HH["select-arr-icon"]]:c}),h=(0,xD.useRef)(null),[f]=kJ({callback:()=>{d(!1),p(!1)}}),g=(0,xD.useCallback)(b=>{let[y,w]=(0,xD.useState)(!1),x=be(HH["option-item"],{[HH.select]:y}),S=(0,xD.useMemo)(()=>{let{inputValue:T,value:M}=b;if(T=T,M=M,M.includes(T)){let I=[],A=M.split(T);return A.forEach((D,E)=>{I.push((0,MI.jsx)("em",{style:{fontStyle:"normal"},children:D},`${D}-${Math.random()}`)),A.length!==E+1&&(E===0?I.push((0,MI.jsx)("em",{style:{fontStyle:"normal"},className:HH.hightlight,children:T},`${T}-${Math.random()}`)):I.push((0,MI.jsx)("em",{style:{fontStyle:"normal"},children:T},`${T}-${Math.random()}`)))}),I}else return[(0,MI.jsx)("em",{style:{fontStyle:"normal"},children:M},`${M}-${Math.random()}`)]},[b.inputValue]);return(0,MI.jsx)("div",{className:x,title:b.value,onClick:T=>{T.stopPropagation(),T.preventDefault(),b.clickHandle(b.value)},onMouseEnter:()=>w(!0),onMouseLeave:()=>w(!1),children:S})},[]);return(0,xD.useEffect)(()=>{s!==t&&l(t)},[t]),(0,MI.jsxs)("div",{ref:h,className:HH["input-search-wrapper"],children:[(0,MI.jsxs)("div",{className:HH["input-wrapper"],style:{width:`${o}px`},children:[(0,MI.jsx)("input",{"data-tabfocus":"tabfocus",style:{width:`${o}px`},ref:f,type:n,value:s,onBlur:b=>{h.current.contains(b.relatedTarget)?f.current.focus():r&&r(b.target.value,l)},onFocus:()=>{d(!0),p(!0)},onChange:b=>{let y=b.target.value;l(y),p(!!e.filter(w=>w.includes(y)).length)}}),(0,MI.jsx)("span",{className:m,onClick:b=>{var y;c?(d(!1),p(!1)):(y=f.current)==null||y.focus(),b.stopPropagation(),b.preventDefault()}}),(0,MI.jsx)("div",{className:HH["option-wrapper"],style:{display:u?"block":"none"},tabIndex:-1,children:e.map((b,y)=>(0,MI.jsx)(g,{value:b,inputValue:s,clickHandle:w=>{l(w),d(!1),p(!1),f.current.value=w,f.current.blur()}},`eda-input-option-${b}-${y}`))})]}),i?(0,MI.jsx)("span",{className:HH["inch-ash"],children:i}):""]})},pN=QSr;var MRi=L(No());var o2=L(z()),{locals:eMe}=MRi.default,YGe=we.CANVAS.CANVAS_GENERAL.DEFAULT_GRID_SIZE,WGe=we.CANVAS.CANVAS_GENERAL.SCHEMATIC,_q=we.CANVAS.CANVAS_GENERAL.ALT_SNAP,QGe=we.CANVAS.CANVAS_GENERAL.SYMBOL,KGe=we.CANVAS.CANVAS_GENERAL.PIN_SPACING;function IRi(t){let e=J(),{storage:i,onUpdate:o}=t,r=u=>(p,m)=>{let h=yd(p,i.unit.value),f=Yoe(h,i.unit.value);!f&&m(i[u].value),f&&o(u,h)},n=()=>Nt?i.unit.value==="mm"?yxe:xmi:i.unit.value==="mm"?yxe:vOe,a=i.sch_gridSize.value,s=i.schAltSnapGridSize.value,l=i.schlib_gridSize.value,c=i.schlibAltSnapGridSize.value,d=e(KGe)+((Nt?Cmi[i.unit.value]:gxe[i.unit.value])||"");return(0,o2.jsxs)("div",{className:eMe["profileline-wrapper2"],style:{overflow:"initial"},children:[(0,o2.jsx)("div",{className:eMe["profileline-label-wrapper2"],children:(0,o2.jsx)("span",{title:e(YGe),"data-test":YGe,i18n:YGe,children:e(YGe)})}),(0,o2.jsxs)("div",{className:eMe["profileline-content-wrapper2"],children:[(0,o2.jsxs)("div",{className:eMe["profileline-content-item-wrapper"],style:{display:"flex",paddingBottom:"8px"},children:[(0,o2.jsxs)("div",{style:{display:"flex"},children:[(0,o2.jsx)("span",{title:e(WGe),"data-test":WGe,i18n:WGe,style:{width:"65px",flexShrink:0},children:e(WGe)}),(0,o2.jsx)(pN,{value:a,options:n(),inputWidth:104,sizeUnit:i.unit.value,callBack:r("sch_gridSize")})]}),(0,o2.jsxs)("div",{style:{display:"flex",marginLeft:"16px"},children:[(0,o2.jsx)("span",{title:e(_q),"data-test":_q,i18n:_q,style:{width:"65px",flexShrink:0},children:e(_q)}),(0,o2.jsx)(pN,{value:s,options:n(),inputWidth:104,sizeUnit:i.unit.value,callBack:r("schAltSnapGridSize")})]})]}),(0,o2.jsxs)("div",{className:eMe["profileline-content-item-wrapper2"],style:{display:"flex"},children:[(0,o2.jsxs)("div",{style:{display:"flex"},children:[(0,o2.jsx)("span",{title:e(QGe),"data-test":QGe,i18n:QGe,style:{width:"65px",flexShrink:0},children:e(QGe)}),(0,o2.jsx)(pN,{value:l,options:n(),inputWidth:104,sizeUnit:i.unit.value,callBack:r("schlib_gridSize")})]}),(0,o2.jsxs)("div",{style:{display:"flex",marginLeft:"16px"},children:[(0,o2.jsx)("span",{title:e(_q),"data-test":_q,i18n:_q,style:{width:"65px",flexShrink:0},children:e(_q)}),(0,o2.jsx)(pN,{value:c,options:n(),inputWidth:104,sizeUnit:i.unit.value,callBack:r("schlibAltSnapGridSize")})]})]}),(0,o2.jsx)("div",{style:{color:"red",lineHeight:"16px"},children:(0,o2.jsx)("span",{title:e(KGe),"data-test":KGe,i18n:KGe,children:d})})]})]})}var LRi=L(No());var GH=L(z()),{locals:Z1e}=LRi.default,ZGe=we.CANVAS.CANVAS_GENERAL.ANNOTATE_DESIGNATOR,KSr=we.CANVAS.CANVAS_GENERAL.ASSIGN_FROM_THE_END,ZSr=we.CANVAS.CANVAS_GENERAL.FILL_GAPS,JSr=we.CANVAS.CANVAS_GENERAL.DO_NOT_ASSIGN;function vRi(t){let e=J(),{storage:i,onUpdate:o}=t,r=ZU(i.take_REFDES.value),n=[{content:KSr,onChange(a){o("take_REFDES","1")},checked:r==="1"},{content:ZSr,onChange(a){o("take_REFDES","2")},checked:r==="2"},{content:JSr,onChange(a){o("take_REFDES","3")},checked:r==="3"}];return(0,GH.jsxs)("div",{className:Z1e["profileline-wrapper2"],children:[(0,GH.jsx)("div",{className:Z1e["profileline-label-wrapper2"],children:(0,GH.jsx)("span",{title:e(ZGe),"data-test":ZGe,i18n:ZGe,children:e(ZGe)})}),(0,GH.jsx)("div",{className:Z1e["profileline-content-wrapper2"],children:n.map(({content:a,onChange:s,checked:l})=>(0,GH.jsxs)("label",{className:Z1e["profileline-content-item-wrapper2"],children:[(0,GH.jsx)("input",{"data-input-type":"radio","data-attritem-input":a,name:a,type:"radio",value:"true",className:Z1e["profile-input-checkbox"],onChange:c=>{s(c.target)},checked:l}),(0,GH.jsx)("span",{title:e(a),i18n:a,"data-test":a,className:Z1e["profile-input-tips"],children:e(a)})]},a))})]})}var DRi=L(No());var J1e=L(z()),{locals:cvt}=DRi.default,qSr=we.CANVAS.CANVAS_GENERAL.SNAP_TO_GRID,ERi=t=>{var r,n;let{storage:e,onUpdate:i}=t,o=J();return(0,J1e.jsxs)("div",{className:cvt["profileline-wrapper2"],style:{overflow:"initial"},children:[(0,J1e.jsx)("div",{className:cvt["profileline-label-wrapper2"]}),(0,J1e.jsx)("div",{className:cvt["profileline-content-wrapper2"],style:{position:"relative"},children:(0,J1e.jsx)(qt,{style:{width:"fit-content"},defaultChecked:!!((n=e.snapToGrid)!=null&&n.value),id:"snap_to_grid_checkbox",onChange:a=>{i("snapToGrid",{value:a,disabled:!1})},children:o(qSr)},(!!((r=e.snapToGrid)!=null&&r.value)).toString())})]})};var ORi=L(No());var Cne=L(z()),RRi={mm:[2.54,5.08,0],inch:[.1,.2,0]},qGe={mm:"2.54mm",inch:"0.1inch"},ARi=1e3,NRi=0,kRi=25400,PRi=0,{locals:dvt}=ORi.default,JGe=we.CANVAS.CANVAS_GENERAL.DEFAULT_PIN_LENGTH,_Ri=t=>{var s,l,c;let{storage:e,onUpdate:i}=t,o=J(),r=(c=(l=(s=e.newDefaultPinLength)==null?void 0:s.value)==null?void 0:l.data)!=null?c:"0.2",n=e.unit.value,a=d=>(u,p)=>{let m=yd(u,n),h=$Sr(m,n);!h&&p(r),h&&i(d,m)};return(0,Cne.jsxs)("div",{className:dvt["profileline-wrapper2"],style:{overflow:"initial"},children:[(0,Cne.jsx)("div",{className:dvt["profileline-label-wrapper2"],children:(0,Cne.jsx)("span",{title:o(JGe),"data-test":JGe,i18n:JGe,children:o(JGe)})}),(0,Cne.jsx)("div",{className:dvt["profileline-content-wrapper2"],children:(0,Cne.jsx)(pN,{value:r,options:XSr(e),inputWidth:104,sizeUnit:n,callBack:a("newDefaultPinLength")})})]})};function XSr(t){return t.unit.value==="mm"?Smi:Tmi}function $Sr(t,e,i=!0){if(Number.isNaN(t))return!1;switch(e){case"inch":return eMr(t,i);case"mm":return tMr(t,i);default:return console.warn(`checkpinLengthWithUnit: lost unit(${e})`),!1}}function eMr(t,e=!0){if(t>ARi||t<NRi)return e&&De({type:"error",msg:["Pin length input range:",`${NRi}~${ARi}`]}),!1;if(e&&!RRi.inch.includes(t)){let i=parseFloat(qGe.inch),o=Math.abs(t%i);o>1e-10&&i-o>1e-10&&De({type:"info",msg:{value:"The pin length is recommended to be set to a multiple of {1}",options:{1:qGe.inch}}})}return!0}function tMr(t,e=!0){if(t>kRi||t<PRi)return e&&De({type:"error",msg:["Pin length input range:",`${PRi}~${kRi}`]}),!1;if(e&&!RRi.mm.includes(t)){let i=parseFloat(qGe.mm),o=Math.abs(t%i);o>1e-10&&i-o>1e-10&&De({type:"info",msg:{value:"The pin length is recommended to be set to a multiple of {1}",options:{1:qGe.mm}}})}return!0}var jRi=L(No());var II=L(z()),{locals:YH}=jRi.default,iMr=we.CANVAS.CANVAS_GENERAL.WIRE_MULTIPLE_NET,oMr=we.CANVAS.CANVAS_GENERAL.ALLOWED,rMr=we.CANVAS.CANVAS_GENERAL.FLEXIBLE,nMr=we.CANVAS.CANVAS_GENERAL.PROHIBITED,aMr=we.CANVAS.CANVAS_GENERAL.STRICT;function BRi(t){let e=J(),{storage:i,onUpdate:o}=t,r=iMr,n=oMr,a=rMr,s=nMr,l=aMr;return(0,II.jsxs)("div",{className:YH["profileline-wrapper2"],children:[(0,II.jsx)("div",{className:YH["profileline-label-wrapper2"],children:(0,II.jsx)("span",{title:e(r),"data-test":r,i18n:r,children:e(r)})}),(0,II.jsxs)("div",{className:YH["profileline-content-wrapper2"],children:[(0,II.jsxs)("label",{className:YH["profileline-content-item-wrapper2"],children:[(0,II.jsx)("input",{"data-input-type":"radio","data-attritem-input":"wire_multiple_net",name:"wire_multiple_net1",type:"radio",value:"true",className:YH["profile-input-radio"],onChange:()=>{o("wireMultipleNet","true")},checked:i.wireMultipleNet.value==="true"}),(0,II.jsx)("span",{title:e(n),i18n:n,"data-test":n,className:YH["profile-input-tips"],children:e(n)}),(0,II.jsx)("span",{style:{color:"red",marginLeft:"8px"},children:e(a)})]}),(0,II.jsxs)("label",{className:YH["profileline-content-item-wrapper2"],children:[(0,II.jsx)("input",{"data-input-type":"radio","data-attritem-input":"wire_multiple_net",name:"wire_multiple_net1",type:"radio",value:"false",className:YH["profile-input-radio"],onChange:()=>{o("wireMultipleNet","false")},checked:i.wireMultipleNet.value==="false"}),(0,II.jsx)("span",{title:e(s),i18n:s,"data-test":s,className:YH["profile-input-tips"],children:e(s)}),(0,II.jsx)("span",{style:{color:"red",marginLeft:"8px"},children:e(l)})]})]})]})}var zRi=L(No());var mN=L(z()),{locals:q1e}=zRi.default,sMr=we.CANVAS.CANVAS_GENERAL.NET,lMr=we.CANVAS.CANVAS_GENERAL.NETFLAG_CROSS_LAYER_CONNECTION,cMr=we.CANVAS.CANVAS_GENERAL.NETLABEL_CROSS_PAGE_CONNECTION,dMr=we.CANVAS.CANVAS_GENERAL.BUS_GENERATE_NET_CLASS;function FRi(t){let e=J(),{storage:i,onUpdate:o}=t,r=[{headTitle:sMr,content:lMr,onChange(n){o("netFlagCrossLayerConnection",!!n.checked)},checked:!!i.netFlagCrossLayerConnection.value},{headTitle:"",content:cMr,onChange(n){o("netLabelCrossPageConnection",!!n.checked)},checked:!!i.netLabelCrossPageConnection.value},{headTitle:"",content:dMr,onChange(n){o("busGenerateNetClass",!!n.checked)},checked:!!i.busGenerateNetClass.value}];return(0,mN.jsx)(mN.Fragment,{children:r.map(({headTitle:n,content:a,onChange:s,checked:l})=>(0,mN.jsxs)("div",{className:q1e["profileline-wrapper"],children:[(0,mN.jsx)("div",{className:q1e["profileline-label-wrapper"],children:(0,mN.jsx)("span",{title:e(n),"data-test":n,i18n:n,children:e(n)})}),(0,mN.jsx)("div",{className:q1e["profileline-content-wrapper"],children:(0,mN.jsxs)("label",{className:q1e["profileline-content-item-wrapper"],children:[(0,mN.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":a,name:a,type:"checkbox",value:"true",className:q1e["profile-input-checkbox"],onChange:c=>{s(c.target)},checked:l}),(0,mN.jsx)("span",{title:e(a),i18n:a,"data-test":a,className:q1e["profile-input-tips"],children:e(a)})]})})]},a))})}var WRi=L(No());var URi=L(No());var hN=L(z()),{locals:X1e}=URi.default,{CROSS_PROBE:uMr,CROSS_PROBE_AUTO_MOVE_CANVAS:pMr,CROSS_PROBE_AUTO_FIT_SELECTION:mMr,CROSS_PROBE_OTHER_OBJECTS_DIM:hMr}=we.CANVAS.CANVAS_GENERAL;function XGe(t){var n,a,s,l,c;let e=J(),{storage:i,onUpdate:o}=t,r=[{headTitle:uMr,content:pMr,onChange(d){o("isAutoMoveCanvasDuringCrossProbe",!!d.checked)},checked:!!((n=i.isAutoMoveCanvasDuringCrossProbe)!=null&&n.value),disabled:!1},{headTitle:"",content:mMr,onChange(d){o("isAutoFitSelectionDuringCrossProbe",!!d.checked)},checked:(a=i.isAutoMoveCanvasDuringCrossProbe)!=null&&a.value?!!((s=i.isAutoFitSelectionDuringCrossProbe)!=null&&s.value):!1,disabled:!((l=i.isAutoMoveCanvasDuringCrossProbe)!=null&&l.value)},{headTitle:"",content:hMr,onChange(d){o("isOtherObjectsDimDuringCrossProbe",!!d.checked)},checked:!!((c=i.isOtherObjectsDimDuringCrossProbe)!=null&&c.value),disabled:!1}];return(0,hN.jsx)(hN.Fragment,{children:r.map(({headTitle:d,content:u,onChange:p,checked:m,disabled:h})=>(0,hN.jsxs)("div",{className:X1e["profileline-wrapper"],children:[(0,hN.jsx)("div",{className:X1e["profileline-label-wrapper"],children:(0,hN.jsx)("span",{title:e(d),"data-test":d,i18n:d,children:e(d)})}),(0,hN.jsx)("div",{className:X1e["profileline-content-wrapper"],children:(0,hN.jsxs)("label",{className:X1e["profileline-content-item-wrapper"],children:[(0,hN.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":u,name:u,type:"checkbox",value:"true",className:X1e["profile-input-checkbox"],onChange:f=>{p(f.target)},checked:m,disabled:h}),(0,hN.jsx)("span",{title:e(u),i18n:u,"data-test":u,className:X1e["profile-input-tips"],children:e(u)})]})})]},u))})}var JT=L(z()),$Ge=we.CANVAS.CANVAS_GENERAL.MULTIPARTCROSSLAYER,fMr=we.CANVAS.CANVAS_GENERAL.SWITCHMULTIPARTGROUP,eYe=we.CANVAS.CANVAS_GENERAL.ALLOWED,tYe=we.CANVAS.CANVAS_GENERAL.PROHIBITED;function iYe(t){let e=J(),{storage:i,onUpdate:o,cssClassMap:r}=t;return(0,JT.jsx)(JT.Fragment,{children:(0,JT.jsxs)("div",{className:r["profileline-wrapper"],children:[(0,JT.jsx)("div",{className:r["profileline-label-wrapper"],children:(0,JT.jsx)("span",{title:e($Ge),"data-test":$Ge,i18n:$Ge,children:e($Ge)})}),(0,JT.jsxs)("div",{className:r["profileline-content-wrapper"],children:[(0,JT.jsxs)("label",{className:r["profileline-content-item-wrapper"],children:[(0,JT.jsx)("input",{"data-input-type":"radio","data-attritem-input":"multipart-cross-layer",name:"multipart-cross-layer",type:"radio",value:"true",className:r["profile-input-radio"],onChange:()=>{o("multipartCrossLayer",!0)},checked:i.multipartCrossLayer.value===!0||i.multipartCrossLayer===!0}),(0,JT.jsx)("span",{title:e(eYe),i18n:eYe,"data-test":eYe,className:r["profile-input-tips"],children:e(eYe)})]}),(0,JT.jsxs)("label",{className:r["profileline-content-item-wrapper"],children:[(0,JT.jsx)("input",{"data-input-type":"radio","data-attritem-input":"multipart-cross-layer",name:"multipart-cross-layer",type:"radio",value:"false",className:r["profile-input-radio"],onChange:()=>{o("multipartCrossLayer",!1)},checked:i.multipartCrossLayer.value===!1||i.multipartCrossLayer===!1}),(0,JT.jsx)("span",{title:e(tYe),i18n:tYe,"data-test":tYe,className:r["profile-input-tips"],children:e(tYe)}),(0,JT.jsx)("span",{style:{color:"red",marginLeft:"8px"},children:e(fMr)})]})]})]})})}var VRi=L(No());var xne=L(z()),oYe="Default Pin Distance",gMr=["2.54","5.08","1.27"],bMr=["0.1","0.2","0.05"],HRi=t=>{var l,c,d;let{storage:e,onUpdate:i}=t,o=be.bind(VRi.default.locals),r=J(),n=(d=(c=(l=e.newDefaultPinDistance)==null?void 0:l.value)==null?void 0:c.data)!=null?d:"0.1",a=e.unit.value,s=u=>(p,m)=>{let h=yd(p,a);if(h<=0)return m(n);i(u,h)};return(0,xne.jsxs)("div",{className:o("profileline-wrapper2"),style:{overflow:"initial"},children:[(0,xne.jsx)("div",{className:o("profileline-label-wrapper2"),children:(0,xne.jsx)("span",{title:r(oYe),"data-test":oYe,i18n:oYe,children:r(oYe)})}),(0,xne.jsx)("div",{className:o("profileline-content-wrapper2"),children:(0,xne.jsx)(pN,{value:n,options:yMr(e),inputWidth:104,sizeUnit:a,type:"number",callBack:s("newDefaultPinDistance")})})]})};function yMr(t){return t.unit.value==="mm"?gMr:bMr}var f0=L(z()),{locals:GRi}=WRi.default;function QRi(){let t=J(),e=(0,YRi.useContext)(Ea);Ce(e.canvasAppStore);let i=(o,r)=>{e.canvasAppStore.whenAttrUpdate(o,r),e.frameStore.waitForSaveTagsSet=new Set([...e.frameStore.waitForSaveTagsSet,"CANVAS_GENERAL"])};return(0,f0.jsxs)(f0.Fragment,{children:[(0,f0.jsx)(HOi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(YOi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(IRi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(ERi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(_Ri,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(HRi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(QOi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(ZOi,{storage:e.canvasAppStore.storage,alwaysShowCrossCursorCheckboxDisabled:e.canvasAppStore.alwaysShowCrossCursorCheckboxDisabled,onUpdate:i}),(0,f0.jsx)(xRi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(qOi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)($Oi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(oRi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(sRi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(cRi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(nRi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(tRi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(BRi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(FRi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(C_e,{rowType:{getValue(){return e.canvasAppStore.storage.relevanceDisplayRow.value},update(o){i("relevanceDisplayRow",o)}},belongSchPage:{getValue(){return e.canvasAppStore.storage.relevanceBelongSchPage.value},update(o){i("relevanceBelongSchPage",o)}},locationArea:{getValue(){return e.canvasAppStore.storage.relevanceLocation.value},update(o){i("relevanceLocation",o)}},cssClassMap:GRi}),(0,f0.jsx)(iYe,{storage:e.canvasAppStore.storage,onUpdate:i,cssClassMap:GRi}),(0,f0.jsx)(vRi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(XGe,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(mRi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(fRi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(bRi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(wRi,{storage:e.canvasAppStore.storage,onUpdate:i}),(0,f0.jsx)(uRi,{storage:e.canvasAppStore.storage,onUpdate:i})]})}var a_i=L(Se());var $1e=L(Se());var mvt=L(ZRi());var aYe=L(Se());var Zd=L(Se()),e_i=L(Se()),t_i=L(uT());var uvt=L(qRi());var tg=L(z()),XRi={width:"calc(100% - 2px)",maxHeight:"346px",zIndex:9999,background:"var(--common-bg-color)",fontSize:"12px",color:"var(--common-font-color)",boxShadow:"0 0 4px #9b9b9b"},$Ri={height:"24px",padding:"0 8px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",lineHeight:"24px",cursor:"pointer"},wMr={background:"#e6f7ff",color:"#096dd9"},nYe=22,hB=be.bind(uvt.default.locals);function CMr(t,e){let{value:i,createNewItem:o,filterBlankItems:r,selectList:n,translateOption:a,style:s,selectAlwaysShow:l,selectListStyle:c={},clickSelectItemNotSetInput:d,disabled:u,focusTriggerSelect:p,clear:m,stillNeedClear:h,showDropDownIcon:f,dataTest:g,listMaxHeight:b,virtualScroll:y,onSelectItemClick:w,onClick:x,onClearClick:S,optionContentRender:T}=t;Ae(uvt.default);let[M,I]=(0,Zd.useState)(""),[A,D]=(0,Zd.useState)(n||[]),[E,N]=(0,Zd.useState)([]),[R,v]=(0,Zd.useState)(0),[k,P]=(0,Zd.useState)(0),[O,_]=(0,Zd.useState)(0),j=(0,Zd.useRef)(null),[B,V]=(0,Zd.useState)(!!l),G=(0,Zd.useRef)(null),[Q,H]=(0,Zd.useState)(-1),q=(0,Zd.useRef)(null),U=(0,Zd.useRef)(B),F=(0,Zd.useRef)(M),K=(0,Zd.useRef)(Q),te=J();(0,e_i.useImperativeHandle)(e,()=>G.current),(0,Zd.useEffect)(()=>{F.current=M},[M]),(0,Zd.useEffect)(()=>{U.current=B},[B]),(0,Zd.useEffect)(()=>{t.selectList&&D(t.selectList)},[t.selectList]);let ae=(0,Zd.useRef)(!1),pe=Pe=>{if(ae.current=!0,I(Pe),t.selectList){H(-1);let Oe=Pe.toLowerCase();D(t.selectList.filter(Ue=>Ue.toLowerCase().includes(Oe)))}j.current&&(j.current.scrollTop=0),P(0),N(A.slice(0,R))},Z=Pe=>{vn(Pe)&&(Pe=F.current),l||V(!1),H(-1)},ee=(0,Zd.useCallback)(()=>{if(!~K.current)return;let Pe=q.current,{scrollHeight:Oe,clientHeight:Ue}=Pe,Ve=Pe.children[K.current],ze=Ve?Ve.offsetTop:0;ze>Oe-Ue?ze=Oe-Ue:ze<Ue/2?ze=0:ze-=Ue/2,Pe.scrollTop=ze},[]);(0,Zd.useEffect)(()=>{K.current=Q},[Q]);let ce=Pe=>{if(A.length){if(Pe.key==="ArrowDown"){let Oe=K.current+1;Oe>A.length-1&&(Oe=0),H(Oe),ee()}else if(Pe.key==="ArrowUp"){let Oe=K.current-1;Oe<0&&(Oe=A.length-1),H(Oe),ee()}}else Pe.key==="Enter"&&ae.current&&Z()};(0,Zd.useEffect)(()=>(window.addEventListener("keydown",ce),()=>{window.removeEventListener("keydown",ce)}),[]);let ne=Pe=>{H(Pe)},oe=Pe=>{var Oe;(Oe=t.onChange)==null||Oe.call(t,Pe),w==null||w(Pe)},re=()=>{let Pe=~Q?A[Q]:void 0;Z(Pe)},Y=Pe=>{Pe.key==="Enter"&&re()},X=Pe=>a?a.deleteBrace?te(Pe.slice(1,Pe.length-1)):te(Pe):"";(0,Zd.useLayoutEffect)(()=>{if(b&&y){let Pe=Math.ceil(b/nYe+10);v(Pe),P(0),N(A.slice(0,Pe)),_(A.length*nYe)}else!b&&y&&console.error("\u4E0B\u62C9\u6846\u5F00\u542F\u865A\u62DF\u6EDA\u52A8\u5FC5\u987B\u8BBE\u7F6E\u6700\u5927\u9AD8\u5EA6\uFF0C\u53C2\u6570listMaxHeight")},[A]);let ie=()=>E.map((Pe,Oe)=>{let Ue=X(Pe),Ve=(()=>{let He=typeof Pe=="string"?Pe.toLocaleLowerCase().indexOf(M.toLocaleLowerCase()):-1,Ye;if(He>=0){let ke=(0,tg.jsx)("em",{style:{fontStyle:"normal"},className:"hightlight",children:Pe.slice(He,He+M.length)});Ye=(0,tg.jsxs)("span",{children:[Pe.slice(0,He),ke,Pe.slice(He+M.length)]})}else Ye=Pe;return(0,tg.jsxs)(tg.Fragment,{children:[Ye,Ue?(0,tg.jsx)("span",{style:{float:"right"},children:Ue}):""]})})(),ze=Oe===Q?{...$Ri,...wMr}:$Ri;return(0,tg.jsx)("div",{title:Ue?`${Pe}|${Ue}`:"",style:ze,className:hB("hover-highlight",{"highlight-blue":i===Pe}),onPointerUp:()=>oe(Pe),children:T?T(Pe,M):Ve},Pe+Oe)}),[de,fe]=(0,Zd.useState)(XRi),[ye,Le,Re]=La(),Ne=(0,Zd.useRef)(null);(0,Zd.useEffect)(()=>(G.current&&Le(G.current),()=>{Re()}),[G.current]);function Te(){var Ge,Ke;let{left:Pe,top:Oe,width:Ue,height:Ve}=getComputedStyle(G.current),ze=(Ke=(Ge=G.current)==null?void 0:Ge.getBoundingClientRect().top)!=null?Ke:0,He=parseFloat(Pe),Ye=parseFloat(Ue),ke=parseFloat(Ve),{innerHeight:Be}=window,Xe=ze<Be>>1?{key:"top",value:ze+ke}:{key:"bottom",value:Be-ze};fe({...XRi,width:`${Ye}px`,left:`${He}px`,[Xe.key]:`${Xe.value}px`})}return(0,Zd.useEffect)(()=>{ye&&Te()},[ye]),(0,Zd.useEffect)(()=>{t.focus&&G.current.focus()},[]),(0,tg.jsxs)("div",{ref:Ne,style:{width:"100%",...t.style},tabIndex:10,onBlur:Pe=>{Z()},children:[(0,tg.jsx)("div",{className:hB("selected-value disable"),children:i}),(0,tg.jsxs)("div",{className:hB("input-wrap","display-flex flex-lateral-axis-center"),children:[(0,tg.jsx)("input",{"data-test":g,className:be(hB("input",{clear:m}),t.className),style:{width:"100%"},type:"text",ref:G,disabled:u,autoComplete:"off",onFocus:Pe=>{p&&G.current&&G.current.select()},onInput:Pe=>{pe(Pe.target.value),V(!0),Te()},onKeyUp:Y,value:M,onClick:()=>{x==null||x(),V(!0),Te()},onBlur:()=>{var Pe;ae.current=!1,(Pe=t.blur)==null||Pe.call(t,!1)}}),(0,tg.jsxs)("div",{className:hB("input-icon","display-flex flex-lateral-axis-center"),children:[m&&M&&(h||!u)&&(0,tg.jsx)("i",{"data-test":`${g} Clear`,className:be(hB("icon-search-or-clear"),"icon-eda-x-circle"),onClick:()=>{pe("")}}),!M&&(0,tg.jsx)("i",{"data-test":`${g} Search`,className:be(hB("icon-search-or-clear"),"icon-eda-zoom-small")}),f&&(0,tg.jsx)("i",{className:hB("arr-icon"),onClick:()=>{u||(x==null||x(),Te(),V(!0))}})]})]}),B&&A.length?(0,tg.jsx)("div",{style:{...de,...c},ref:q,onWheel:Pe=>{Pe.stopPropagation()},children:(0,tg.jsx)("div",{className:hB("virtual-scroll-wrap"),style:{maxHeight:b||"max-content"},ref:j,onScroll:()=>{(0,t_i.flushSync)(()=>{if(b&&y){let Pe=Math.floor(j.current.scrollTop/nYe);P(Pe),N(A.slice(Pe,Pe+R))}})},children:(0,tg.jsxs)(tg.Fragment,{children:[(0,tg.jsx)("div",{className:hB("block"),style:{height:O}}),(0,tg.jsx)("div",{style:{transform:`translateY(${k*nYe}px)`},children:ie()})]})})}):null]})}var i_i=(0,Zd.memo)((0,Zd.forwardRef)(CMr));var jC=L(z());async function o_i(t){if(!("queryLocalFonts"in self))return!1;try{let e=t.localFontsCache;if(e.length<=0){if(e=await self.queryLocalFonts(),e.length<=0)return!1;t.localFontsCache=e}let i="select-local-fonts";return le.open({id:i,title:"Select Font",width:340,height:500,closed:!0,esc:!0,mask:!0,children:(0,jC.jsx)(xMr,{commTypefaceAppStore:t,containerId:i})}),!0}catch(e){console.warn(e.name,e.message)}return!1}var pvt=be.bind(mvt.default.locals);function xMr(t){let{containerId:e,commTypefaceAppStore:i}=t,o=i.localFontsCache,[r,n]=(0,aYe.useState)("");Ae(mvt.default);let a=(0,aYe.useMemo)(()=>{let c=i.list.map(d=>d.title);return o.filter(d=>!c.includes(d.fullName)&&!d.fullName.match(/^Z@.*?/)).map(d=>d.fullName)},[o]),s=c=>{if(!r)return new Fi({type:"error",msg:"Please select a font type!"});i.whenOperationsBtnClicked("add",r),le.close(e)},l=(c,d)=>{let u=c.toLocaleLowerCase().indexOf(d.toLocaleLowerCase()),p;if(u>=0){let m=(0,jC.jsx)("em",{style:{fontStyle:"normal"},className:"hightlight",children:c.slice(u,u+d.length)});p=(0,jC.jsxs)("span",{children:[c.slice(0,u),m,c.slice(u+d.length)]})}else p=c;return(0,jC.jsx)(jC.Fragment,{children:(0,jC.jsx)("span",{style:{fontFamily:`"${c}"`},children:p})})};return(0,jC.jsx)(jC.Fragment,{children:(0,jC.jsxs)("div",{className:pvt("pop-content-container"),style:{height:"100%"},children:[(0,jC.jsx)("div",{className:pvt("pop-content-wrapper container"),children:(0,jC.jsx)(i_i,{dataTest:"select-local-font-input",value:r||"",selectList:a,selectAlwaysShow:!0,showDropDownIcon:!1,clear:!0,focus:!0,focusTriggerSelect:!1,clickSelectItemNotSetInput:!0,style:{width:"100%",overflow:"hidden"},selectListStyle:{border:"1px solid var(--common-border-color)",borderTop:"none"},listMaxHeight:346,virtualScroll:!0,optionContentRender:l,onClearClick:()=>{n("")},onChange:c=>{n(c)}})}),(0,jC.jsxs)("div",{className:pvt("pop-footer-wrapper"),style:{},children:[(0,jC.jsx)(Me,{type:"primary",onClick:c=>s(c),style:{marginRight:"8px"},children:"Confirm"}),(0,jC.jsx)(Me,{onClick:()=>le.close(e),children:"Cancel"})]})]})})}var hvt=L(z());function r_i(t){let{list:e,addBtnDisabled:i,delBtnDisabled:o,upMoveBtnDisabled:r,downMoveBtnDisabled:n,onBtnClicked:a}=t,s=(0,$1e.useRef)(!1),l=(0,$1e.useContext)(Ea),c=async d=>{if(s.current!==!0){if(s.current=!0,d==="add"&&await o_i(l.commTypefaceAppStore)){s.current=!1;return}a(d)}};return(0,$1e.useEffect)(()=>{window.setTimeout(()=>{s.current=!1})},[e]),(0,hvt.jsx)("div",{style:{padding:"7px 0 7px 0"},children:(0,hvt.jsx)(ec,{addButton:!0,addDisabled:i,deleteButton:!0,deleteDisabled:o,upButton:!0,upDisabled:r,downButton:!0,downDisabled:n,onClick:c})})}var Bq=L(Se());var Tne=L(z());function n_i(t){let{list:e,isTableEditing:i,selectedRowNumbers:o,onRowClicked:r,onRowInputInteractive:n}=t,a=(0,Bq.useRef)(null),s=(0,Bq.useRef)(""),l=(0,Bq.useRef)(-1),c=(0,Bq.useRef)(null),d=(0,Bq.useRef)(null),u=J(),p=we.COMM_TYPEFACE.FONT_FAMILY,m=[{key:"title",name:me.i18n(p),sortable:!1,width:1,render(f){let{rowNumber:g}=f,b=f.row,y=this,w={fontFamily:`"${b.title}"`},x=b.isRepeat?{color:"rgba(255, 0, 0, 1)"}:{},S=A=>{let D=A.target,E=D.getAttribute("data-id"),N=D.getAttribute("data-row"),R=D.getAttribute("data-col");+N===l.current&&window.clearTimeout(c.current),typeof D.select<"u"&&D.select()},T=A=>{let D=A.target;A.keyCode===13&&D.blur()},M=async A=>{let D=A.target,E=D.value,N=D.getAttribute("data-id"),R=D.getAttribute("data-row"),v=D.getAttribute("data-col");n("changed",N,v,E)},I=async A=>{let D=A.target,E=D.value,N=D.getAttribute("data-id"),R=D.getAttribute("data-row"),v=D.getAttribute("data-col");c.current=window.setTimeout(()=>{n("blured",N,v,E)},50),window.clearInterval(d.current),TMr(E)};return b.isAllowDelete?b.titleEditing?(0,Tne.jsx)("div",{children:(0,Tne.jsx)("input",{type:"text",name:"title",defaultValue:b.title,style:{display:"block",width:"100%"},onFocus:S,onKeyUp:T,onChange:M,onBlur:I,"data-id":b.id,"data-row":g,"data-col":"title"})}):(0,Tne.jsx)("div",{style:{...x,...w},children:b.title}):(0,Tne.jsx)("div",{style:{color:"#a9a9a9",...x,...w},children:["default","default2","Serif","Sans Serif"].includes(b.title)?b.title.replace(/default/i,u("default")):b.title})}}],h=f=>{let{clickObj:g,selectedRowNumbers:b,row:y}=f;s.current=g.colKey,l.current=g.rowNumber,r(g.rowNumber)};return(0,Bq.useEffect)(()=>{let f=null;return a.current&&(f=new MutationObserver(g=>{for(let b=0;b<g.length;b++){let y=g[b].target;if(!y)continue;let w=Array.from(y.querySelectorAll(`[data-row="${l.current}"]`)),x=null;for(let S=0;S<w.length;S++)if(w[S].getAttribute("data-col")===s.current){x=w[S];break}x&&x.focus()}}),f.observe(a.current,{childList:!0,subtree:!0})),()=>{f&&f.disconnect()}},[]),(0,Tne.jsx)("div",{style:{width:"100%",overflowY:"hidden",overflowX:"auto"},ref:a,children:(0,Tne.jsx)(xi,{index:"id",border:!0,height:425,columns:m,openHeadContentMenu:!1,showCustomHeadSettingOnHeadContextmenu:!1,rows:e,selectedRowNumbers:o,openVirtualScroll:!1,onClick:h})})}function TMr(t){if(!document.fonts.check(`12px "${t}"`)&&t!=="default"){let i=new window.FontFace(t,`local(${t})`);document.fonts.add(i),i.load().catch(o=>{})}}var fB=L(z());function s_i(){let t=we.COMM_TYPEFACE.TIP,e=we.COMM_TYPEFACE.ADD_COMMON_FONTS,i=J(),o=(0,a_i.useContext)(Ea);Ce(o.commTypefaceAppStore);let r=o.commTypefaceAppStore;return(0,fB.jsxs)(fB.Fragment,{children:[(0,fB.jsxs)("div",{style:{lineHeight:"24px"},children:[(0,fB.jsx)("span",{children:i(t)}),(0,fB.jsx)("a",{href:"https://prodocs.lceda.cn/cn/introduction/settings/index.html",target:"_blank",children:i(e)})]}),(0,fB.jsx)(r_i,{list:o.commTypefaceAppStore.list,addBtnDisabled:o.commTypefaceAppStore.addBtnDisabled,delBtnDisabled:o.commTypefaceAppStore.delBtnDisabled,downMoveBtnDisabled:r.downMoveBtnDisabled,upMoveBtnDisabled:r.upMoveBtnDisabled,onBtnClicked:o.commTypefaceAppStore.whenOperationsBtnClicked.bind(o.commTypefaceAppStore)}),(0,fB.jsx)(n_i,{list:o.commTypefaceAppStore.list,selectedRowNumbers:o.commTypefaceAppStore.selectedRowNumbers,isTableEditing:o.commTypefaceAppStore.isTableEditing,onRowClicked:o.commTypefaceAppStore.whenListRowItemClicked.bind(o.commTypefaceAppStore),onRowInputInteractive:o.commTypefaceAppStore.whenRowInputInteractived.bind(o.commTypefaceAppStore)})]})}var I_i=L(Se());var fN=L(Se());function l_i(t){return t.map(e=>({value:e,text:e}))}var fvt=L(d_i());var u_i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAANCAYAAACdKY9CAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFSSURBVChTjVItT8NQFH19RbQJcmI/YaKGpB9mZo4lSCZIMAQEuBGGxEEQCOYmwCEmWDI53BAz/XIV+wkVEyTFdW05p2mWLpvgJrfvvXvPufee96qIPeb7/qmiKJeapvUMw/hlLAzDF66Sn7oFQXAC8Lgoinaapg3GUOAZ5wH8eKsDwG0EZ9yD1DVNc+F5Xl9K+Yr4Ms/zzobwH7DjOHFJcF3XRGIOoIbkmWVZE4xxjfMI6RjeQYElsQoqt7DO4Y0amKLHiK3gGzCNoj/hTYCfCEa3ZgU+YIE6mEbCDRK8ujvq4JyY977MCjFigWpfmqQ4AHrV/DOSbNseIveIWIva6qTyHVD1i+0r0pS6UOgB52FFmkZRdEjs1jvsE4sX5rX24Qtd17s7vwZIVyC9YRtnWXZETej4gfM5/Hvn18BNvUPTLSr+qKq6ZixJkgssEyHE6g8bIcbjwk64LAAAAABJRU5ErkJggg==";var p_i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAANCAYAAACdKY9CAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAF9SURBVChTbVI9S8NQFG0eDiGk0KGB/oAOHQoSmjZLB4OToOCgYEEHwYKjBVcnBccGHBUcFDrYvWMEu+Sj4NCh4B8Q6lCoUIc28ZxoJC1euHn3nXvefffkPsnzvHMhxPp0Oj22LGvuOM5aNpt9CMPQrdVqdmbFwBWbWA9JIpDL5VQsG8Dbvu+fEkubkGV5P4qiPuKDwWDQ1nV9gtiCv0uSdINDeyQmJvEzHA7V2WzWA6EOtyuVSisIghJSDjyPgo1qtdolV/BTLpc/0TNvGsHPUPXaMIwRUsS+UKSDAtvkxjck5rpuAb07IJRQoEXRINZxqMc88K2lAzToKILwxnixWOimab7ixhOQb4FP4pYSoxZUvmdMLSRTC+JLQHN48++GtHBsH6HhKCW8gOpNCL+LD3BYqqo+gbyLbRdDbCiKkoeeF2DFRA+54neynX/IFL9EpgmQ2TOH80yypmly8qeAXa0+D4HEB/rrY+I7fEvj8ZjiJsBt6Lj4oSWWyXwDZI+3hwkfP5YAAAAASUVORK5CYII=";var fu=L(z()),IMr=u_i,LMr=p_i,{locals:vMr}=fvt.default,{left:DMr,right:EMr,middle:AMr,fieldset:m_i,options:h_i,line:lYe,checkbox:NMr,icon:f_i,content:kMr,add_icon:PMr,delete_icon:OMr,middle_button_container:RMr}=vMr,_Mr=[{title:"Schematic",key:"Schematic"},{title:"Symbol",key:"Symbol"},{title:{context:"ECAD",value:"Installation board"},key:"PCB"},{title:{context:"ECAD",value:"2D Graphics"},key:"FOOTPRINT"}],y_i=we.CUSTOM_TOOLBAR.SHEMATIC,w_i=we.CUSTOM_TOOLBAR.SYMBOL,C_i=we.CUSTOM_TOOLBAR.PCB,x_i=we.CUSTOM_TOOLBAR.FOOTPRINT,T_i=we.CUSTOM_TOOLBAR.PANEL,S_i=we.CUSTOM_TOOLBAR.PANEL_LIB,jMr=we.CUSTOM_TOOLBAR.SIM_LIB,g_i=we.CUSTOM_TOOLBAR.AVAILABLE_ITEMS,b_i=we.CUSTOM_TOOLBAR.SELECTED_ITEMS,BMr=[{title:y_i,key:"Schematic"},{title:w_i,key:"Symbol"},{title:C_i,key:"PCB"},{title:x_i,key:"FOOTPRINT"},{title:T_i,key:"PANEL"},{title:S_i,key:"PANEL_LIB"}],zMr=[{title:y_i,key:"Schematic"},{title:w_i,key:"Symbol"},{title:C_i,key:"PCB"},{title:x_i,key:"FOOTPRINT"},{title:T_i,key:"PANEL"},{title:S_i,key:"PANEL_LIB"},{title:jMr,key:"SIM"}],FMr=Nt?_Mr:na?zMr:BMr,UMr=["All","Base","View","Place","Design","Layout","Auxiliary"];function VMr(t){return"menu_"+t.toLocaleLowerCase()}var M_i=t=>{let{data:e,store:i,onChange:o}=t,{activeTab:r}=i;Ae(fvt.default);let n=J(),a=(0,fN.useRef)(null);w(e[r]);let[s,l]=(0,fN.useState)("All"),[c,d]=(0,fN.useState)(M()),[u,p]=(0,fN.useState)(-1),[m,h]=(0,fN.useState)(x(e[r].filter(D=>D.show))),[f,g]=(0,fN.useState)(-1),[b,y]=(0,fN.useState)(!0);(0,fN.useEffect)(()=>{b?y(!1):(o(r,S()),setTimeout(()=>{a!=null&&a.current&&a.current.scrollIntoViewWhenOutOfContainer(a.current.dom.parentElement)},200))},[m]),(0,fN.useEffect)(()=>{b?y(!1):(d(M()),h(e[r].filter(D=>D.show)))},[r,s]);function w(D){let E=1;for(let N=0;N<D.length;N++)D[N].key.startsWith("|")&&(D[N].key="|".repeat(E),E++)}function x(D){let E=[];for(let N=0;N<D.length;N++)D[N].key.startsWith("|")&&N+1<D.length&&D[N+1].key.startsWith("|")||E.push(D[N]);return E}function S(){let D=[...m],E=e[r].filter(v=>!v.key.startsWith("|"));for(let v=0;v<E.length;v++)if(D.findIndex(P=>P.key===E[v].key)<0){let P=R(v-1);D.splice(P,0,E[v])}let N=T(m);return D.forEach(v=>{v.key.startsWith("|")?v.show=!0:v.show=!!N[v.key]}),D;function R(v){if(v<0)return-1;for(let k=v;k<E.length;k--){let P=D.findIndex(O=>O.key===E[k].key);if(P>=0)return P}return-1}}function T(D){let E={};for(let N=0;N<D.length;N++){let{key:R,show:v}=D[N];R.startsWith("|")||(E[R]=v)}return E}function M(){let D=tpe(),E=[{key:"|",show:!0}];if(s==="All")for(let R of Object.keys(D[r]||{}))E.push(...D[r][R]);else E.push(...D[r][VMr(s)]);let N=T(e[r]);for(let R=0;R<E.length;R++)E[R].show=!!N[E[R].key];return E}function I(D){var R,v;if(D<0||c[D].key!=="|"&&c[D].show)return;c[D].show=!0,d([...c]);let E=ue.deepClone(c[D]);if(f>=0&&f<m.length){if(c[D].key==="|"&&(m[f].key.startsWith("|")||(v=(R=m[f+1])==null?void 0:R.key)!=null&&v.startsWith("|")))return;N(),m.splice(f+1,0,E),g(f+1)}else{if(c[D].key==="|"&&m.length>0&&m[m.length-1].key.startsWith("|"))return;N(),m.push(E),g(m.length-1)}h([...m]),i.addChangedTags();function N(){if(c[D].key==="|"){let k=m.filter(O=>O.key.startsWith("|"));for(let O=0;O<k.length;O++)k[O].key="|".repeat(O+1);let P=0;k.length>0&&(P=k[k.length-1].key.length),E.key="|".repeat(P+1)}}}function A(D){var R,v,k,P;if(D<0||!c[D].show)return;let{key:E}=c[D],N=m.findIndex(O=>O.key===E);(v=(R=m[N-1])==null?void 0:R.key)!=null&&v.startsWith("|")&&((P=(k=m[N+1])==null?void 0:k.key)!=null&&P.startsWith("|"))&&m.splice(N+1,1),c[D].show=!1,d([...c]),h(m.filter(O=>O.key!==E)),i.addChangedTags(),N>=0&&N<=f&&(g(f-1),m.length>0&&(f>=m.length?g(m.length-1):f<0&&g(0)))}return(0,fu.jsx)(fu.Fragment,{children:(0,fu.jsxs)("div",{children:[(0,fu.jsx)(yl,{lists:FMr,direction:"top",activeKey:r,type:"card",tabsStyle:{minWidth:"81px",borderColor:"var(--common-border-color)"},onClick:D=>{p(-1),g(-1),i.activeTab=D,l("All")}}),(0,fu.jsxs)("div",{className:kMr,id:"system-setting-top-tool-bar",children:[(0,fu.jsxs)("div",{className:DMr,children:[(0,fu.jsx)(xt,{style:{height:"24px",width:"100%"},value:s,list:l_i(UMr),onChange:(D,E)=>{p(-1),l(D)}}),(0,fu.jsxs)("fieldset",{className:m_i,children:[(0,fu.jsx)("legend",{"data-test":g_i,children:n(g_i)}),(0,fu.jsx)("div",{className:h_i,children:(0,fu.jsx)(RU,{data:c,onClick:(D,E)=>{p(E)},defaultSelected:[u],ListItemStyle:{cursor:"pointer",padding:"0px",marginBottom:"8px"},ChildrenComponent:(D,E)=>{var v;let{key:N,show:R}=D;if(N.startsWith("|"))return(0,fu.jsx)("div",{className:lYe,onClick:()=>{p(E)},children:(0,fu.jsx)("span",{style:{paddingLeft:"46px"},"data-test":"Separator",children:n("Separator")})},E);{let k=(v=oD.find(j=>j.key===N))==null?void 0:v.icon,P=oD.find(j=>j.key===N),O=oD.find(j=>j.key===N).iconStyle,_=(P==null?void 0:P.title)||N||"";return(0,fu.jsxs)("div",{className:lYe,onClick:()=>{p(E)},children:[(0,fu.jsx)(qt,{style:{marginLeft:"0"},checked:R,className:NMr,onChange:(j,B)=>{B.preventDefault(),j?I(E):A(E)}},R),k?(0,fu.jsx)("span",{className:be(k,f_i),style:{...O}}):"",(0,fu.jsx)("span",{"data-test":_,children:n(_)})]},E)}}})})]})]}),(0,fu.jsx)("div",{className:AMr,children:(0,fu.jsxs)("div",{className:RMr,children:[(0,fu.jsx)("img",{src:LMr,className:PMr,onClick:()=>{I(u)}}),(0,fu.jsx)("img",{src:IMr,className:OMr,onClick:()=>{var D,E,N,R;if(f>=0&&f<m.length){if((E=(D=m[f-1])==null?void 0:D.key)!=null&&E.startsWith("|")&&((R=(N=m[f+1])==null?void 0:N.key)!=null&&R.startsWith("|")))return;let{key:v}=m[f];m.splice(f,1),h([...m]),i.addChangedTags(),g(f-1),m.length>0&&(f>=m.length?g(m.length-1):f<0&&g(0)),c.forEach(k=>{k.key===v&&(k.show=!1)})}}})]})}),(0,fu.jsxs)("div",{className:EMr,children:[(0,fu.jsx)(ec,{upButton:!0,downButton:!0,addButton:!1,deleteButton:!1,upDisabled:f<=0||f>m.length-1,downDisabled:f<0||f>=m.length-1,onClick:D=>{var R,v,k,P,O,_;let E=f;if(E<0||E>m.length-1)return;if(D==="up"){if(m[f].key.startsWith("|")&&(((R=m[E-2])==null?void 0:R.key)||"").startsWith("|")||(v=m[f+1])!=null&&v.key.startsWith("|")&&(((k=m[E-1])==null?void 0:k.key)||"").startsWith("|"))return;E--}else if(D==="down"){if(m[f].key.startsWith("|")&&(((P=m[E+2])==null?void 0:P.key)||"").startsWith("|")||(O=m[f-1])!=null&&O.key.startsWith("|")&&(((_=m[E+1])==null?void 0:_.key)||"").startsWith("|"))return;E++}let N=m[f];m[f]=m[E],m[E]=N,g(E),h([...m]),i.addChangedTags()}}),(0,fu.jsxs)("fieldset",{className:m_i,children:[(0,fu.jsx)("legend",{"data-test":b_i,children:n(b_i)}),(0,fu.jsx)("div",{className:h_i,children:(0,fu.jsx)(RU,{ref:a,data:m,onClick:(D,E)=>{g(E)},defaultSelected:[f],ListItemStyle:{cursor:"pointer",padding:"0px"},ChildrenComponent:(D,E)=>{var v;let{key:N,show:R}=D;if(R){if(N.startsWith("|"))return(0,fu.jsx)("div",{className:lYe,style:{justifyContent:"center"},children:(0,fu.jsx)("span",{children:n("Separator")})},E);{let k=(v=oD.find(j=>j.key===N))==null?void 0:v.icon,P=oD.find(j=>j.key===N),O=(P==null?void 0:P.title)||N||"",_=oD.find(j=>j.key===N).iconStyle;return(0,fu.jsxs)("div",{className:lYe,children:[k?(0,fu.jsx)("span",{className:be(k,f_i),style:{..._}}):"",(0,fu.jsx)("span",{"data-test":O,children:n(O)})]},E)}}else return""}})})]})]})]})]})})};var v_i=L(z());function L_i(){let t=J(),e=(0,I_i.useContext)(Ea);Ce(e.customToolBarAppStore);let i=(o,r)=>{e.customToolBarAppStore.whenAttrUpdate(o,r)};return(0,v_i.jsx)(M_i,{data:e.customToolBarAppStore.storage.topShortCut,store:e.customToolBarAppStore,onChange:(o,r)=>{e.customToolBarAppStore.storage.topShortCut[o]=r,i("topShortCut",e.customToolBarAppStore.storage.topShortCut)}},new Date().getTime())}var dYe=L(Se());var gvt=L(E_i());var bvt=L(z());function A_i(){let t=be.bind(gvt.default.locals),e=J();Ae(gvt.default);let o=(0,dYe.useContext)(Ea).designAppStore;Ce(o),(0,dYe.useEffect)(()=>{o.onInit(!1)},[]);let r={isProjectPresetting:!1,onUpdate:()=>{o.updateSaveTag()}};return(0,bvt.jsx)("div",{className:t("setting-drawing-presetting"),children:(0,bvt.jsx)(WHe,{...r})})}var __i=L(Se());var mYe=L(pYe());var eO=L(z()),{locals:_Gs}=mYe.default,yvt=we.HOTKEY.CONFIG,HMr="Find by the hotkey",GMr=t=>{let{store:e,onUpdate:i}=t,o=J(),r=be.bind(mYe.default.locals);Ae(mYe.default),Ce(e.tableStore);function n(l){e.switchConfig(l),e.tableStore.active=="custom"?i("active",e.tableStore.getCustomFrom()):i("active",ZSe[l])}function a(l){e.changeSearch(l)}function s(l){e.tableStore.hotkeySearchValue=a_(l),e.changeHotkeySearch(e.tableStore.hotkeySearchValue)}return(0,eO.jsxs)("div",{id:"hotkeyTopTool",children:[(0,eO.jsxs)("div",{children:[(0,eO.jsxs)("span",{"data-test":yvt,children:[o(yvt),"\uFF1A"]}),(0,eO.jsx)("div",{className:r("hotkeySelect"),children:(0,eO.jsx)(xt,{list:hOi,onChange:n,style:{width:"128px",height:"24px"},value:e.tableStore.active})})]}),(0,eO.jsx)("div",{className:r("hotkeySearch"),children:(0,eO.jsx)(Ws,{onClearInputValue:()=>{a("")},onUpdateInputValue:l=>{a(l)}})}),(0,eO.jsx)("div",{className:r("hotkeySearch"),children:(0,eO.jsx)(Ws,{placeholder:HMr,"data-test":yvt,onFocus:(l,c)=>{c.readOnly=!0,c.onkeydown=d=>(s(d),!1)},initShowValue:e.tableStore.hotkeySearchValue,onClearInputValue:()=>{e.changeHotkeySearch("")},isEsc:!0})})]})},P_i=GMr;var gYe=L(pYe());var hYe=L(z()),O_i=t=>{let{store:e}=t;Ce(e);let i=J(),o=[...e.getListData()],r=o.length>0,n=r?[0]:[];return r||o.push({key:"-1",count:-1,text:"No Results!"}),(0,hYe.jsx)(RU,{containerStyle:{border:"1px solid var(--common-border-color)",overflowX:"hidden",overflowY:"auto",height:"100%"},width:120,height:470,data:o,defaultSelected:n,selectHightLight:r,ChildrenComponent:(a,s)=>{let l={value:a.text,context:"topMenu"};if(!r)return(0,hYe.jsx)("span",{style:{color:"var(--common-font-color)"},children:i(l)});let c=`${i(l)}(${a.count})`;return(0,hYe.jsx)("span",{title:c,style:{textOverflow:"ellipsis",overflow:"hidden"},"data-test":`${a.text}{num}`,children:c},a.key)},onClick:(a,s)=>{r&&e.changeKey(s)}})};var tMe=L(Se());var fYe=L(pYe());var ehe=L(z()),{locals:eYs}=fYe.default,R_i=t=>{let{store:e,onUpdate:i}=t,o=be.bind(fYe.default.locals);Ae(fYe.default),Ce(e);let r=J(),n=async(l,c)=>{let d={hotkey:"Hotkey",command:"Command"},u=a(l,d[c]);await ii("hotkey-setting",u)};function a(l,c){let d=Ys.getMenuIdByHotkey(l.hotkeyCmd),u=e.getMenuHotkeyDataById(d);return{hotkeyCmd:d||l.hotkeyCmd,hotkey:ue.deepClone(l),menuHotkey:u,eventBusNameSpace:`hotkey-setting-${l.hotkeyCmd}`,select:c,onConfirm:m=>{let h=m.hotkey;h&&(e.switch2Custom(),e.changeHotkeyData(l,h),i("active",e.getCustomFrom()),i("hotkey",e.customValue)),m.menuHotkey&&(e.changeMenuHotkeyData(m.hotkeyCmd,m.menuHotkey),i("menuHotkey",e.parent.storage.menuHotkey))},getActiveFunc:()=>e.active=="custom"?e.getCustomFrom():ZSe[e.active],hotkeyDataFunc:()=>e.getActiveConfig(),onOpenDialog:async(m,h)=>{let f=a(m,h);await ii("hotkey-setting",f)}}}let s=e.headColData.map(l=>({key:l.key,name:r(l.name),width:l.width,render:c=>{let{row:d,heightLightStr:u,colKey:p,setCellStyle:m}=c,h=d[p];p=="funcE"&&(h=r(h));let[f,g]=(0,tMe.useState)(h);return(0,tMe.useEffect)(()=>{if(u&&h)if((p=="funcE"||p=="command")&&!e.searchValue)g(h);else{let b=jd(u),y=[],w=new RegExp(b,"ig"),x=h.replace(w,S=>(S&&y.push(`<span class=${o("hightlight")}>${S}</span>`),S?`<span class=${o("hightlight")}>${S}</span>`:""));g(x)}else g(h)},[u,h]),(0,tMe.useEffect)(()=>{(p=="hotkey"&&d.hotkeyEditDisable||p=="command"&&d.cmdEditDisable)&&m({backgroundColor:"var(--bg-color-disabled-hotkey-table-td)"})},[d.hotkeyCmd]),(0,ehe.jsx)("div",{onDoubleClick:()=>{n(d,p)},dangerouslySetInnerHTML:{__html:f},className:o("hotkey-cell")})}}));return(0,ehe.jsx)(ehe.Fragment,{children:(0,ehe.jsx)(xi,{index:"hotkeyCmd",columns:s,rows:e.getShowData(),searchValue:e.getSearchValue(),height:444,stockade:!0,border:!0,resize:!1,headHeight:24,rowHeight:23})})};var TD=L(z()),{locals:mYs}=gYe.default,WMr=we.HOTKEY.THE_SCHEMATIC_SYMBOL_DOES_NOT_SUPPORT_COMMANDS_TEMPORARILY;function j_i(){let t=be.bind(gYe.default.locals);Ae(gYe.default);let e=J(),i=(0,__i.useContext)(Ea);Ce(i.hotkeyAppStore);let o=(r,n)=>{i.hotkeyAppStore.whenAttrUpdate(r,n),i.frameStore.waitForSaveTagsSet=new Set([...i.frameStore.waitForSaveTagsSet,"HOTKEY"])};return(0,TD.jsxs)("div",{className:t("hotkeyContent"),children:[(0,TD.jsx)(P_i,{store:i.hotkeyAppStore,onUpdate:o}),(0,TD.jsxs)("div",{className:t("display-flex"),style:{width:"100%",height:"100%"},children:[(0,TD.jsx)("div",{className:t("hotkeyList"),children:(0,TD.jsx)(O_i,{store:i.hotkeyAppStore.listStore})}),(0,TD.jsx)("div",{style:{width:"200px",flex:1},children:(0,TD.jsxs)("div",{className:t("hotkey-container"),children:[(0,TD.jsx)("div",{className:t("hotkey-editor"),children:(0,TD.jsx)(R_i,{store:i.hotkeyAppStore.tableStore,onUpdate:o})}),(0,TD.jsx)("div",{className:t("tips"),children:(0,TD.jsx)("span",{children:e(WMr)})})]})})]})]})}var B_i=L(Se());var the=L(z());function z_i(){let t=J(),e=(0,B_i.useContext)(Ea);Ce(e.languageAppStore);let i=(o,r)=>{e.languageAppStore.whenAttrUpdate(o,r),e.frameStore.waitForSaveTagsSet=new Set([...e.frameStore.waitForSaveTagsSet,"LANGUAGE"])};return(0,the.jsx)(the.Fragment,{children:(0,the.jsxs)("strong",{children:["Language ",Object.keys(e.languageAppStore.storage).length]})})}var H_i=L(Se());var gB=L(Se());var ihe=L(Se());var wvt=L(U_i());var ig=L(z()),{locals:Sne}=wvt.default;function QMr(t){Ae(wvt.default);let{onChange:e,fontFamily:i,fontItalic:o,fontSize:r,fontUnderline:n,fontWeight:a,fontSizeUnit:s,onAddNewFontItemClick:l}=t,[c,d]=(0,ihe.useState)(i),[u,p]=(0,ihe.useState)(o),[m,h]=(0,ihe.useState)(r),[f,g]=(0,ihe.useState)(n),[b,y]=(0,ihe.useState)(a),w="COMM_TYPEFACE",x=Wi("COMM_TYPEFACE","commonlyList",{defaultValue:w}),S=[];for(let{title:M}of x)S.push({value:M,text:M});let T=J();return(0,ig.jsxs)(ig.Fragment,{children:[(0,ig.jsxs)("div",{className:Sne.wrapper,children:[(0,ig.jsxs)("div",{className:Sne.row,children:[(0,ig.jsx)("span",{"data-test":"Font",title:T("Font"),children:T("Font:")}),(0,ig.jsx)(Jw,{style:{marginLeft:"10px",flex:1},list:S,name:"fontFamily",value:c,onChange:M=>{d(M)},onAddNewFontItemClick:l})]}),(0,ig.jsxs)("div",{className:Sne.row,children:[(0,ig.jsx)("span",{"data-test":"Size",title:T("Size"),children:T("Size:")}),(0,ig.jsx)("div",{style:{marginLeft:"10px",flex:1},children:(0,ig.jsx)(or,{originUnit:s,value:m,inputUnit:s,positive:!0,onChange:M=>{h(M)}},m)})]}),(0,ig.jsxs)("div",{className:Sne.row,children:[(0,ig.jsx)("span",{"data-test":"Style",title:T("Style"),children:T("Style:")}),(0,ig.jsxs)("div",{className:"left txt_value",style:{marginLeft:"10px"},children:[(0,ig.jsx)("span",{onClick:M=>{y(+b==1?"0":"1")},className:be(["icon-span icon-eda-text-bold",Sne["fs-item"]],{selected:+b==1})}),(0,ig.jsx)("span",{onClick:M=>{p(+u==1?"0":"1")},className:be(["icon-span icon-eda-text-italic",Sne["fs-item"],{selected:+u==1}])}),(0,ig.jsx)("span",{onClick:M=>{g(+f==1?"0":"1")},className:be(["icon-span icon-eda-text-underline",Sne["fs-item"]],{selected:+f==1})})]})]})]}),(0,ig.jsxs)("div",{style:{display:"flex",gap:5,justifyContent:"flex-end",marginTop:"16px"},children:[(0,ig.jsx)(Me,{type:"primary",onClick:()=>{e("fontUnderline",f),e("fontItalic",u),e("fontBold",b),e("fontWeight",b),e("fontFamily",c),e("fontSize",typeof m=="string"?m.replace(s,""):m),le.close(Mne)},children:"Confirm"}),(0,ig.jsx)(Me,{onClick:()=>{le.close(Mne)},children:"Cancel"})]})]})}var Mne="panel-sch-pcb-theme-font-dialog";function iMe(t){le.open({id:Mne,title:"Font",width:"298px",height:"auto",closed:!0,children:(0,ig.jsx)(QMr,{...t}),footer:!1,esc:!0,openCallback(){}})}var tO=L(Se());var cy=L(z());function KMr(t){let{value:e,defaultValue:i=e,validator:o,onChange:r,unit:n}=t,[a,s]=(0,tO.useState)(`${e+n}`),l=()=>{let u=a==="",p=u?0:yd(a,n);isFinite(p)&&o&&o(p)?s(String(p)+n):(s(`${i+n}`),p=i),r&&r(u?a:String(p))};(0,tO.useEffect)(()=>{s(document.activeElement!==c.current?t.value+n:String(t.value))},[t.value]);let c=(0,tO.useRef)(null);(0,tO.useEffect)(()=>{t.focus&&c.current.focus()},[t.focus]);let d=(0,tO.useMemo)(()=>t.disabled,[t.disabled]);return(0,cy.jsx)("input",{disabled:d,style:{width:"100%"},ref:c,type:"text",className:"fixed-length-input",value:a,onInput:u=>{s(SD(u.target.value))},onBlur:u=>{l()},onFocus:u=>{s(a.substring(0,a.lastIndexOf(n)))},onKeyDown:u=>{u.key==="Enter"&&l()}})}function ZMr(t){let e=J();return(0,cy.jsxs)("div",{className:"layer-item",style:{display:"flex",...t.style?t.style:{}},children:[(0,cy.jsxs)("span",{className:"layer-title",style:{width:"5em"},children:[e(t.title),":"]}),(0,cy.jsx)("div",{className:"layer-content",style:{flex:1},children:t.content})]})}function JMr({theme:t,objectKey:e,onChange:i}){let r=t[t.activeTheme].fontStyle[e],[n,a]=(0,tO.useState)({fontColor:r.fontColor,fontFamily:r.fontFamily,fontSize:r.fontSize,lineHeight:r.lineHeight,fontWeight:r.fontWeight,fontItalic:r.fontItalic,fontUnderline:r.fontUnderline,textAlign:r.textAlign,verticalAlign:r.verticalAlign}),s=c=>{a(c),i(c)},l=(0,tO.useMemo)(()=>[n.fontColor&&{title:"Font Color",children:()=>(0,cy.jsx)(vp,{color:n.fontColor,restoreDefaultButton:!1,onChange:d=>{s({...n,fontColor:d})},needRefresh:!1})},{title:"Font Family",children:()=>{let d=Wi("COMM_TYPEFACE","commonlyList",{defaultValue:[]}),u=Array.isArray(d)?d.map(({title:p})=>({value:p,text:p})):[];return(0,cy.jsx)(Jw,{value:n.fontFamily,list:u,onChange:p=>{s({...n,fontFamily:p})}})}},{title:"Size",children:()=>{let u=hn().CANVAS.unit,p=fo(io(n.fontSize,"pixel",u),u);return(0,cy.jsx)(KMr,{value:p,unit:u,validator:m=>io(m,u,"inch")>0,onChange:m=>{s({...n,fontSize:String(io(m,u,"pixel"))})}})}},n.lineHeight&&{title:"Row Spacing",children:()=>{let d=Array.from({length:11}).map((u,p)=>{let m=li.toFixed(1+p*.1,1,!0)+"";return{value:m,text:m}});return(0,cy.jsx)(xt,{value:String(n.lineHeight),list:d,onChange:u=>{s({...n,lineHeight:+u})}})}},{title:"Style",children:()=>(0,cy.jsxs)("ul",{className:"",style:{display:"flex"},children:[(0,cy.jsx)("i",{className:["icon-eda-text-bold icon-span fs-item",n.fontWeight==="1"?"selected":""].join(" "),style:{marginRight:"4px"},onClick:()=>{s({...n,fontWeight:String(n.fontWeight==="0"?1:0)})}}),(0,cy.jsx)("i",{className:["icon-eda-text-italic icon-span fs-item",n.fontItalic==="1"?"selected":""].join(" "),style:{marginRight:"4px"},onClick:()=>{s({...n,fontItalic:String(n.fontItalic==="0"?1:0)})}}),(0,cy.jsx)("i",{className:["icon-eda-text-underline icon-span fs-item",n.fontUnderline==="1"?"selected":""].join(" "),style:{marginRight:"4px"},onClick:()=>{s({...n,fontUnderline:String(n.fontUnderline==="0"?1:0)})}})]})},n.textAlign&&{title:"Horizontal Align",children:()=>{let d=(()=>{switch(n.textAlign){case"left":return 0;case"center":return 1;case"right":return 2;default:return 0}})();return(0,cy.jsx)(dV,{value:d,type:"horizontal",onChange:u=>{let p=(()=>{switch(u){case 0:return"left";case 1:return"center";case 2:return"right";default:return"left"}})();s({...n,textAlign:p})}})}},n.verticalAlign&&{title:"Vertical Align",children:()=>{let d=(()=>{switch(n.verticalAlign){case"top":return 0;case"middle":return 1;case"bottom":return 2;default:return 0}})();return(0,cy.jsx)(dV,{value:d,type:"vertical",onChange:u=>{let p=(()=>{switch(u){case 0:return"top";case 1:return"middle";case 2:return"bottom";default:return"top"}})();s({...n,verticalAlign:p})}})}}].filter(Boolean),[n]);return(0,cy.jsx)("section",{style:{border:"1px solid #f5f5f5",boxSizing:"border-box",padding:"9px 14px"},children:l.map(({title:c,children:d},u)=>{let p=u==0?{}:{marginTop:"8px"};return(0,cy.jsx)(ZMr,{title:c,content:(0,cy.jsx)(d,{}),style:p},c)})})}async function Cvt(t,e,{confirm:i}){let o=null,r="themeFontDialog";le.open({id:r,title:"Font",width:320,closed:!0,centered:!0,openCallback(){},folded:!0,footer:!0,children:(0,cy.jsx)(JMr,{theme:t,objectKey:e,onChange:n=>{o=n}}),esc:!0,onOk:function(){o&&i(o),setTimeout(()=>{le.destroy(r)})},onCancel:function(){setTimeout(()=>{le.destroy(r)})},onKeyup(n){n.key==="Enter"&&(n.stopPropagation(),o&&i(o),setTimeout(()=>{le.destroy(r)}))}})}var oMe=L(Se());var M4=L(z()),qMr=[{value:"0",dataTest:"solid",text:"solid"},{value:"6,6",dataTest:"dashed",text:"dashed"},{value:"3,10",dataTest:"dotted",text:"dotted"},{value:"4,2,1,2",dataTest:"dotdashed",text:"dotdashed"}],XMr=[{value:"0",dataTest:"None",text:{context:"theme",value:"None"},icon:Pb.None},{value:"1",dataTest:"Solid",text:{context:"theme",value:"Solid"},icon:Pb.Solid},{value:"2",dataTest:"Grid",text:{context:"theme",value:"Grid"},icon:Pb.Grid},{value:"3",dataTest:"Horizontal Line",text:{context:"theme",value:"Horizontal Line"},icon:Pb["Horizontal Line"]},{value:"4",dataTest:"Vertical Line",text:{context:"theme",value:"Vertical Line"},icon:Pb["Vertical Line"]},{value:"5",dataTest:"Rhombic Grid",text:{context:"theme",value:"Rhombic Grid"},icon:Pb["Rhombic Grid"]},{value:"6",dataTest:"Left Slash Line",text:{context:"theme",value:"Left Slash Line"},icon:Pb["Left Slash Line"]},{value:"7",dataTest:"Right Slash Line",text:{context:"theme",value:"Right Slash Line"},icon:Pb["Right Slash Line"]}],$Mr=(()=>{let t=[];for(let e=1;e<=10;e++)t.push({value:e+"",text:e+""});return t})();function e6r(t){let e=J(),{widthUnit:i="",onChange:o}=t,[r,n]=(0,oMe.useState)(t.dash),[a,s]=(0,oMe.useState)(t.width+i),[l,c]=(0,oMe.useState)(t.fillStyle),[d,u]=(0,oMe.useState)(Pb[s4[t.fillStyle]]);return(0,M4.jsxs)(M4.Fragment,{children:[(0,M4.jsxs)("div",{title:e("Line Style"),style:{border:"1px solid var(--common-border-color)"},children:[(0,M4.jsxs)("div",{style:{display:"flex",alignItems:"center",margin:"16px"},children:[(0,M4.jsx)("span",{"data-test":"Stroke Width",style:{marginRight:"4px"},children:e("Stroke Width:")}),(0,M4.jsx)(xt,{containerStyle:{flex:1},value:a,list:$Mr,onChange:p=>{s(p)}})]}),(0,M4.jsxs)("div",{style:{display:"flex",alignItems:"center",margin:"16px"},children:[(0,M4.jsx)("span",{"data-test":"Line Style",style:{marginRight:"4px"},children:e("Line Style:")}),(0,M4.jsx)(xt,{containerStyle:{flex:1},list:qMr,name:"dash",value:r,onChange:p=>{n(p)}})]}),l&&(0,M4.jsxs)("div",{style:{display:"flex",alignItems:"center",margin:"16px"},children:[(0,M4.jsx)("span",{"data-test":"Fill",style:{marginRight:"4px"},children:e("Fill:")}),(0,M4.jsx)(xt,{containerStyle:{flex:1},list:XMr,valueIcon:d,name:"fillStyle",value:l,onChange:p=>{c(p),u(Pb[s4[p]])}})]})]}),(0,M4.jsxs)("div",{style:{display:"flex",gap:5,justifyContent:"flex-end",marginTop:"16px"},children:[(0,M4.jsx)(Me,{type:"primary",onClick:()=>{o("dash",r),o("width",a.replace(i,"")),o("fillStyle",l),le.close(xvt)},children:"Confirm"}),(0,M4.jsx)(Me,{onClick:()=>{le.close(xvt)},children:"Cancel"})]})]})}var xvt="sch-theme-shape-style";function Tvt(t){le.open({id:xvt,title:"Shape",width:"400px",height:"auto",closed:!0,children:(0,M4.jsx)(e6r,{...t}),footer:!1,esc:!0,openCallback(){}})}var q3=L(z()),t6r=we.CANVAS.OBJECT.PRIMITIVE_STYLE,i6r=we.CANVAS.OBJECT.OBJECT,o6r=we.CANVAS.OBJECT.COLOR_STROKE_COLOR,r6r=we.CANVAS.OBJECT.FILL_COLOR,n6r=we.CANVAS.OBJECT.FONT_STYLE,a6r=we.CANVAS.OBJECT.SHAPE_STYLE,s6r=we.CANVAS.OBJECT.BACKGROUND,l6r=we.CANVAS.OBJECT.CANVAS,c6r=we.CANVAS.OBJECT.GRID,d6r=we.CANVAS.OBJECT.SELECTION,u6r=we.CANVAS.OBJECT.HOVER_HIGHLIGHT,p6r=we.CANVAS.OBJECT.TIPS,m6r=we.CANVAS.OBJECT.WIRE,h6r=we.CANVAS.OBJECT.BUS,f6r=we.CANVAS.OBJECT.JUNCTION,g6r=we.CANVAS.OBJECT.NO_CONNECT_POINT,b6r=we.CANVAS.OBJECT.NO_CONNECT_FLAG,y6r=we.CANVAS.OBJECT.DIFFERENTIAL_PAIRS_FLAG,w6r=we.CANVAS.OBJECT.NET_NAME_NETFLAG,C6r=we.CANVAS.OBJECT.NET_PROPERTY,x6r=we.CANVAS.OBJECT.SYMBOL,T6r=we.CANVAS.OBJECT.MASK_REGION,S6r=we.CANVAS.OBJECT.NOT_ADD_INTO,M6r=we.CANVAS.OBJECT.SYMBOL_NAME,I6r=we.CANVAS.OBJECT.SYMBOL_PROPERTY,L6r=we.CANVAS.OBJECT.REUSE_BLOCK,v6r=we.CANVAS.OBJECT.BLOCK_SYMBOL_NAME,D6r=we.CANVAS.OBJECT.BLOCK_SYMBOL_PROPERTY,E6r=we.CANVAS.OBJECT.PIN,A6r=we.CANVAS.OBJECT.PIN_NAME,N6r=we.CANVAS.OBJECT.PIN_PROPERTY,k6r=we.CANVAS.OBJECT.UNUSUAL_HINT,P6r=we.CANVAS.OBJECT.LINE,O6r=we.CANVAS.OBJECT.RECT,R6r=we.CANVAS.OBJECT.ARC,_6r=we.CANVAS.OBJECT.BEZIER,j6r=we.CANVAS.OBJECT.CIRCLE,B6r=we.CANVAS.OBJECT.ELLIPSE,z6r=we.CANVAS.OBJECT.TEXT,F6r=we.CANVAS.OBJECT.TABLE,U6r=we.CANVAS.OBJECT.ANNOTATION,V6r={black:"Color Picture on Black",white:"Color Picture on White",lceda:vo?"EasyEDA":"JLCEDA",AD:"Altium Designer",Eagle:"EAGLE",KiCad:"KiCad",OrCad:"OrCad",PADSLogic:"PADS Logic",WhiteOnBlack:"White on Black",BlackOnWhite:"Black on White",customize:"Custom Theme"},H6r=["lceda","AD","Eagle","KiCad","OrCad","PADSLogic","black","white","WhiteOnBlack","BlackOnWhite","customize"],yYe={background:s6r,canvas:l6r,grid:c6r,select:d6r,highlight:u6r,updateTips:p6r,wire:m6r,bus:h6r,junction:f6r,noConnectPoint:g6r,noConnectFlag:b6r,netName:w6r,netProperty:C6r,symbol:x6r,diffPairsFlag:y6r,maskRegion:T6r,notAddIntoBomOrNotConvertToPcb:S6r,symbolName:M6r,symbolProperty:I6r,reuseBlockSymbol:L6r,blockSymbolName:v6r,blockSymbolProperty:D6r,pin:E6r,pinName:A6r,pinProperty:N6r,unusualHint:k6r,line:P6r,rect:O6r,arc:R6r,bezier:_6r,circle:j6r,ellipse:B6r,text:z6r,table:F6r,annotation:U6r},J3=iA(yYe),G6r=(()=>{let t=["background","canvas","grid","select","highlight","updateTips","wire","bus","junction","noConnectPoint","noConnectFlag","diffPairsFlag","netName","netProperty","symbol","maskRegion","notAddIntoBomOrNotConvertToPcb","symbolName","symbolProperty","reuseBlockSymbol","blockSymbolName","blockSymbolProperty","pin","pinName","pinProperty","unusualHint","line","arc","bezier","rect","circle","ellipse","text","table"];return _t&&t.push("annotation"),t})(),V_i=t=>{let{dialogStore:e,onChange:i}=t,o=e.objectAppStore.storage.theme,r=e.canvasAppStore.storage.unit.value,n=o.activeTheme==="customize"?o.customize:ue.deepClone(CRe.theme[o.activeTheme]),a=J(),[s,l]=(0,gB.useState)(o.activeTheme),[c,d]=(0,gB.useState)(u());(0,gB.useEffect)(()=>{d(u())},[s]),(0,gB.useEffect)(()=>{l(o.activeTheme)},[o.activeTheme]);function u(){let{color:m,fillColor:h,fontStyle:f,shape:g}=n,b={};for(let y of Object.keys(m||{}))b[y]={object:yYe[y],color:m[y]};for(let y of Object.keys(h||{}))b[y].fillColor=h[y];for(let y of Object.keys(f||{}))b[y].font=f[y];for(let y of Object.keys(g||{}))b[y].shapeStyle=g[y];return G6r.map(y=>b[y])}let p=[{key:"object",name:a(i6r),width:.25,onCell:(m,h)=>({style:{cursor:"pointer"}}),style:{fontWeight:"bold"},i18n:!0},{key:"color",name:a(o6r),width:.1875,style:{fontWeight:"bold"},onCell:(m,h)=>({style:{cursor:"pointer"}}),render:m=>{let{colKey:h,row:f}=m,{color:g,object:b}=f,y=(0,gB.useRef)(null);if(f&&Object.hasOwnProperty.call(f,"color"))return(0,q3.jsxs)("div",{onClick:w=>{var x;(x=y.current)==null||x.click(),w.stopPropagation()},children:[(0,q3.jsx)(Q6,{ref:y,defaultValue:g,option:null,allowNone:b===yYe.noConnectPoint,onChange:w=>{if(g!=w){if(w===null){let x=hn("OBJECT").theme;w=x[x.activeTheme].color[J3[b]]}s!=="customize"&&(o.customize=n,o.activeTheme="customize",l("customize")),o.customize.color[J3[b]]=w,d(u()),i("theme",o)}}},g),(0,q3.jsx)("span",{style:{marginLeft:"4px"},children:g})]})}},{key:"fillColor",name:a(r6r),width:.1875,style:{fontWeight:"bold"},onCell:(m,h)=>m&&Object.hasOwnProperty.call(m,"fillColor")?{style:{cursor:"pointer"}}:{style:{cursor:"not-allowed",background:"var(--bg-color-1-table-row)"}},render:m=>{let{colKey:h,row:f}=m,{fillColor:g,object:b}=f,y=(0,gB.useRef)(null);if(f&&Object.hasOwnProperty.call(f,"fillColor"))return(0,q3.jsxs)("div",{onClick:w=>{var x;(x=y.current)==null||x.click(),w.stopPropagation()},children:[(0,q3.jsx)(Q6,{ref:y,defaultValue:g,option:null,allowNone:!0,onChange:w=>{if(g!=w){if((w===""||w==="transparent")&&(w="none"),w===null){let x=hn("OBJECT").theme;w=x[x.activeTheme].fillColor[J3[b]]}s!=="customize"&&(o.customize=n,o.activeTheme="customize",l("customize")),o.customize.fillColor[J3[b]]=w,d(u()),i("theme",o)}}},g),(0,q3.jsx)("span",{style:{marginLeft:"4px"},children:g})]})}},{key:"font",name:a({context:"theme",value:n6r}),width:.1875,style:{fontWeight:"bold"},onCell:(m,h)=>m&&Object.hasOwnProperty.call(m,"font")?{style:{cursor:"pointer"}}:{style:{cursor:"not-allowed",background:"var(--bg-color-1-table-row)"}},render:m=>{let{row:h}=m,{font:f}=h;if(h&&Object.hasOwnProperty.call(h,"font"))return(0,q3.jsx)("span",{children:f.fontFamily+" | "+fo(io(+f.fontSize,"pixel",r),r)+r})}},{key:"shapeStyle",name:a({context:"theme",value:a6r}),width:.1875,style:{fontWeight:"bold"},onCell:(m,h)=>m&&Object.hasOwnProperty.call(m,"shapeStyle")?{style:{cursor:"pointer"}}:{style:{cursor:"not-allowed",background:"var(--bg-color-1-table-row)"}},render:m=>{let{row:h}=m,{shapeStyle:f}=h;if(h&&Object.hasOwnProperty.call(h,"shapeStyle"))return(0,q3.jsx)("span",{children:`${f.width} | ${a(Voe(f.dash).i18nText)}${f.fillStyle?` | 
							${a({context:"theme",value:s4[f.fillStyle]})}`:""}`})}}];return(0,gB.useEffect)(()=>{NC.fromCompontMaskSetStyle&&c.length>0&&d(m=>m.map(h=>(h.object===yYe.notAddIntoBomOrNotConvertToPcb&&(h.bgColor="var(--bg-color-selected-tr)"),h)))},[NC.fromCompontMaskSetStyle]),(0,q3.jsxs)(q3.Fragment,{children:[(0,q3.jsxs)("div",{style:{display:"flex",alignItems:"center",marginBottom:"8px"},children:[(0,q3.jsx)("div",{children:a(t6r)}),(0,q3.jsx)(xt,{containerStyle:{width:"128px",marginLeft:"8px"},value:s,list:H6r.map(m=>({value:m,text:a(V6r[m])})),onChange:m=>{o.activeTheme=m,i("theme",o),l(m)}})]}),(0,q3.jsx)("div",{children:(0,q3.jsx)(xi,{resize:!1,openRowSelectedBgColor:!1,height:450,index:"object",columns:p,rows:c,border:!0,onClick:m=>{let{clickObj:h,row:f}=m,{object:g}=f,{colKey:b}=h,{fontStyle:y,shape:w}=n;if(b==="font"&&f&&Object.hasOwnProperty.call(f,"font")){let x=io(+y[J3[g]].fontSize,"pixel",r);f.object==="Table"?Cvt(o,J3[g],{confirm:async S=>{fo(io(Number(S.fontSize),"pixel",r),r)<.05&&(C.messageBus.publish("ui/toastMsg",{type:"warn",msg:{text:"Please enter a value not less than {value}!",i18nParam:{value:io(.05,"inch",r)}},timer:3}),delete S.fontSize),s!=="customize"&&(o.customize=n,o.activeTheme="customize",l("customize")),Object.entries(S).forEach(([M,I])=>{y[J3[g]][M]=I,o.customize.fontStyle[J3[g]][M]=I}),d(u()),i("theme",o)}}):iMe({...y[J3[g]],fontSize:x,fontSizeUnit:r,onChange(S,T){y[J3[g]]&&!Object.hasOwnProperty.call(y[J3[g]],S)||(S==="fontSize"&&(T=io(+T,r,"pixel")),y[J3[g]][S]=T,s!=="customize"&&(o.customize=n,o.activeTheme="customize",l("customize")),o.customize.fontStyle[J3[g]][S]=T,d(u()),i("theme",o))},onAddNewFontItemClick(){C.messageBus.publish("SWITCH_MENU_SELECTED","COMM_TYPEFACE"),le.close(Mne)}})}else b==="shapeStyle"&&f&&Object.hasOwnProperty.call(f,"shapeStyle")&&Tvt({...w[J3[g]],onChange(x,S){w[J3[g]]&&!Object.hasOwnProperty.call(w[J3[g]],x)||(w[J3[g]][x]=S,s!=="customize"&&(o.customize=n,o.activeTheme="customize",l("customize")),o.customize.shape[J3[g]][x]=S,d(u()),i("theme",o))}})}})})]})};var rMe=L(z());function G_i(){let t=J(),e=(0,H_i.useContext)(Ea);return Ce(e.objectAppStore),(0,rMe.jsx)(rMe.Fragment,{children:(0,rMe.jsx)(V_i,{dialogStore:e,onChange:(o,r)=>{e.objectAppStore.whenAttrUpdate(o,r),e.frameStore.waitForSaveTagsSet=new Set([...e.frameStore.waitForSaveTagsSet,"OBJECT"])}},JSON.stringify(e.objectAppStore.storage.theme))})}var lji=L(Se());var Y_i=L(No());var rM=L(z()),{locals:gN}=Y_i.default;function W_i(t){let e=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.GRID_TYPE,i=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.GRID_DOT,o=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.GRID,r=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.NONE,n=J();function a(c){return c=n({context:"Grid Type",value:c}),c}let{storage:s,onUpdate:l}=t;return(0,rM.jsxs)("div",{className:gN["profileline-wrapper"],children:[(0,rM.jsx)("div",{className:gN["profileline-label-wrapper"],children:(0,rM.jsx)("span",{title:n(e),"data-test":e,children:n(e)})}),(0,rM.jsxs)("div",{className:gN["profileline-content-wrapper"],children:[(0,rM.jsxs)("label",{className:gN["profileline-content-item-wrapper"],children:[(0,rM.jsx)("input",{type:"radio",value:"dot",className:gN["profile-input-radio"],onChange:()=>{l("gridStyle","dot")},checked:s.gridStyle.value==="dot"}),(0,rM.jsx)("span",{title:a(i),"data-test":i,className:gN["profile-input-tips"],children:a(i)})]}),(0,rM.jsxs)("label",{className:gN["profileline-content-item-wrapper"],children:[(0,rM.jsx)("input",{type:"radio",value:"line",className:gN["profile-input-radio"],onChange:()=>{l("gridStyle","line")},checked:s.gridStyle.value==="line"}),(0,rM.jsx)("span",{title:a(o),"data-test":o,className:gN["profile-input-tips"],children:a(o)})]}),(0,rM.jsxs)("label",{className:gN["profileline-content-item-wrapper"],children:[(0,rM.jsx)("input",{type:"radio",value:"not",className:gN["profile-input-radio"],onChange:()=>{l("gridStyle","not")},checked:s.gridStyle.value==="not"}),(0,rM.jsx)("span",{title:a(r),"data-test":r,className:gN["profile-input-tips"],children:a(r)})]})]})]})}var Q_i=L(No());var nM=L(z()),{locals:bN}=Q_i.default;function K_i(t){let e=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.CROSS_CURSOR,i=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.BIG,o=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.SMALL,r=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.NONE,n=J(),{storage:a,onUpdate:s}=t;return(0,nM.jsxs)("div",{className:bN["profileline-wrapper"],children:[(0,nM.jsx)("div",{className:bN["profileline-label-wrapper"],children:(0,nM.jsx)("span",{title:n(e),"data-test":e,children:n(e)})}),(0,nM.jsxs)("div",{className:bN["profileline-content-wrapper"],children:[(0,nM.jsxs)("label",{className:bN["profileline-content-item-wrapper"],children:[(0,nM.jsx)("input",{type:"radio",value:"Big",className:bN["profile-input-radio"],onChange:()=>{s("cursor","Big"),s("schAlwaysDisplayCursorDisabled",!1)},checked:a.cursor.value==="Big"}),(0,nM.jsx)("span",{title:n(i),"data-test":i,className:bN["profile-input-tips"],children:n(i)})]}),(0,nM.jsxs)("label",{className:bN["profileline-content-item-wrapper"],children:[(0,nM.jsx)("input",{type:"radio",value:"Small",className:bN["profile-input-radio"],onChange:()=>{s("cursor","Small"),s("schAlwaysDisplayCursorDisabled",!1)},checked:a.cursor.value==="Small"}),(0,nM.jsx)("span",{title:n(o),"data-test":o,className:bN["profile-input-tips"],children:n(o)})]}),(0,nM.jsxs)("label",{className:bN["profileline-content-item-wrapper"],children:[(0,nM.jsx)("input",{type:"radio",value:"None",className:bN["profile-input-radio"],onChange:()=>{s("cursor","None"),s("schAlwaysDisplayCursorDisabled",!0)},checked:a.cursor.value==="None"}),(0,nM.jsx)("span",{title:n(r),"data-test":r,className:bN["profile-input-tips"],children:n(r)})]})]})]})}var Z_i=L(No());var yN=L(z()),{locals:WH}=Z_i.default;function J_i(t){let e=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.COPY_CUT,i=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.NO_SELECT_REFERENCE_POINT,o=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.SELECT_REFERENCE_POINT,r=J(),{storage:n,onUpdate:a}=t;return(0,yN.jsxs)("div",{className:WH["profileline-wrapper"],children:[(0,yN.jsx)("div",{className:WH["profileline-label-wrapper"],children:(0,yN.jsx)("span",{title:r(e),"data-test":e,children:r(e)})}),(0,yN.jsxs)("div",{className:WH["profileline-content-wrapper"],children:[(0,yN.jsxs)("label",{className:WH["profileline-content-item-wrapper"],children:[(0,yN.jsx)("input",{type:"radio",value:"default",className:WH["profile-input-radio"],onChange:()=>{a("referencePointPanelSelectMethod","default")},checked:n.referencePointPanelSelectMethod.value==="default"}),(0,yN.jsx)("span",{title:r(i),"data-test":i,className:WH["profile-input-tips"],children:r(i)})]}),(0,yN.jsxs)("label",{className:WH["profileline-content-item-wrapper"],children:[(0,yN.jsx)("input",{type:"radio",value:"select",className:WH["profile-input-radio"],onChange:()=>{a("referencePointPanelSelectMethod","select")},checked:n.referencePointPanelSelectMethod.value==="select"}),(0,yN.jsx)("span",{title:r(o),"data-test":o,className:WH["profile-input-tips"],children:r(o)})]})]})]})}var q_i=L(No());var QH=L(z()),{locals:ohe}=q_i.default;function X_i(t){let e=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.ALWAYS_SHOW_CROSS_CURSOR,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("schAlwaysDisplayCursor",!!s.checked)};return(0,QH.jsxs)("div",{className:ohe["profileline-wrapper"],children:[(0,QH.jsx)("div",{className:ohe["profileline-label-wrapper"],children:(0,QH.jsx)("span",{})}),(0,QH.jsx)("div",{className:ohe["profileline-content-wrapper"],children:(0,QH.jsxs)("label",{className:ohe["profileline-content-item-wrapper"],children:[(0,QH.jsx)("input",{type:"checkbox",value:"true",className:ohe["profile-input-checkbox"],onChange:n,checked:o.schAlwaysDisplayCursor.value===!0,disabled:o.schAlwaysDisplayCursor.disabled===!0}),(0,QH.jsx)("span",{title:i(e),"data-test":e,className:ohe["profile-input-tips"],children:i(e)})]})})]})}var $_i=L(No());var KH=L(z()),{locals:rhe}=$_i.default;function eji(t){let e=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.OTHER,i=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.SHOW_RULER,o=J(),{storage:r,onUpdate:n}=t,a=s=>{let l=s.target;n("ruler",!!l.checked)};return(0,KH.jsxs)("div",{className:rhe["profileline-wrapper"],children:[(0,KH.jsx)("div",{className:rhe["profileline-label-wrapper"],children:(0,KH.jsx)("span",{children:o(e)})}),(0,KH.jsx)("div",{className:rhe["profileline-content-wrapper"],children:(0,KH.jsxs)("label",{className:rhe["profileline-content-item-wrapper"],children:[(0,KH.jsx)("input",{name:"ruler",type:"checkbox",value:"true",className:rhe["profile-input-checkbox"],onChange:a,checked:r.ruler.value===!0,disabled:r.ruler.disabled===!0}),(0,KH.jsx)("span",{title:o(i),"data-test":i,className:rhe["profile-input-tips"],children:o(i)})]})})]})}var tji=L(No());var ZH=L(z()),{locals:nhe}=tji.default;function iji(t){let e=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.CTRL_DRAG_TO_COPY,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("is_ctrl_drag_to_drag",!!s.checked)};return(0,ZH.jsxs)("div",{className:nhe["profileline-wrapper"],children:[(0,ZH.jsx)("div",{className:nhe["profileline-label-wrapper"],children:(0,ZH.jsx)("span",{})}),(0,ZH.jsx)("div",{className:nhe["profileline-content-wrapper"],children:(0,ZH.jsxs)("label",{className:nhe["profileline-content-item-wrapper"],children:[(0,ZH.jsx)("input",{name:"is_ctrl_drag_to_drag",type:"checkbox",value:"true",className:nhe["profile-input-checkbox"],onChange:n,checked:o.is_ctrl_drag_to_drag.value===!0,disabled:o.is_ctrl_drag_to_drag.disabled===!0}),(0,ZH.jsx)("span",{title:i(e),"data-test":e,className:nhe["profile-input-tips"],children:i(e)})]})})]})}var rji=L(No());var JH=L(z()),{locals:Svt}=rji.default,oji=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.MM;function nji(t){let e=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.DEFAULT_GRID_SIZE,i=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.ALT_SNAP,o=J(),{storage:r,onUpdate:n}=t;function a(c){return isNaN(c)||+c<=0||+c>100||!/^\d+(.\d{1,2})?$/.test(c)?(De({type:"error",msg:"The input range is 100\u2265x>0, up to two decimal places!"}),!1):!0}function s(c,d){let u=a(c);!u&&d(r.panel_gridSize.value),u&&n("panel_gridSize",Number(c))}function l(c,d){let u=a(c);!u&&d(r.panelAltSnapGridSize.value),u&&n("panelAltSnapGridSize",Number(c))}return(0,JH.jsxs)("div",{className:Svt["profileline-wrapper"],style:{overflow:"unset"},children:[(0,JH.jsx)("div",{className:Svt["profileline-label-wrapper"],children:(0,JH.jsx)("span",{title:o(e),"data-test":e,children:o(e)})}),(0,JH.jsxs)("div",{className:Svt["profileline-content-wrapper"],children:[(0,JH.jsx)(pN,{value:r.panel_gridSize.value,options:bxe,inputWidth:104,sizeUnit:oji,callBack:s}),(0,JH.jsx)("span",{title:o(i),"data-test":i,i18n:i,style:{width:"50px",flexShrink:0},children:o(i)}),(0,JH.jsx)(pN,{value:r.panelAltSnapGridSize.value,options:bxe,inputWidth:104,sizeUnit:oji,callBack:l})]})]})}var aji=L(No());var qH=L(z()),{locals:ahe}=aji.default;function sji(t){let e=we.PANEL_CANVAS.PANEL_CANVAS_GENERAL.WARNING_PROMT,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("designCheckWarn",!!s.checked)};return(0,qH.jsxs)("div",{className:ahe["profileline-wrapper"],children:[(0,qH.jsx)("div",{className:ahe["profileline-label-wrapper"],children:(0,qH.jsx)("span",{})}),(0,qH.jsx)("div",{className:ahe["profileline-content-wrapper"],children:(0,qH.jsxs)("label",{className:ahe["profileline-content-item-wrapper"],children:[(0,qH.jsx)("input",{name:"designCheckWarn",type:"checkbox",value:"true",className:ahe["profile-input-checkbox"],onChange:n,checked:o.designCheckWarn.value===!0,disabled:o.designCheckWarn.disabled===!0}),(0,qH.jsx)("span",{title:i(e),"data-test":e,className:ahe["profile-input-tips"],children:i(e)})]})})]})}var MD=L(z());function cji(){let t=J(),e=(0,lji.useContext)(Ea);Ce(e.panelCanvasAppStore);let i=(o,r)=>{e.panelCanvasAppStore.whenAttrUpdate(o,r),e.frameStore.waitForSaveTagsSet=new Set([...e.frameStore.waitForSaveTagsSet,"PANEL_CANVAS_GENERAL"])};return(0,MD.jsxs)(MD.Fragment,{children:[(0,MD.jsx)(W_i,{storage:e.panelCanvasAppStore.storage,onUpdate:i}),(0,MD.jsx)(nji,{storage:e.panelCanvasAppStore.storage,onUpdate:i}),(0,MD.jsx)(K_i,{storage:e.panelCanvasAppStore.storage,onUpdate:i}),(0,MD.jsx)(X_i,{storage:e.panelCanvasAppStore.storage,onUpdate:i}),(0,MD.jsx)(J_i,{storage:e.panelCanvasAppStore.storage,onUpdate:i}),(0,MD.jsx)(eji,{storage:e.panelCanvasAppStore.storage,onUpdate:i}),(0,MD.jsx)(iji,{storage:e.panelCanvasAppStore.storage,onUpdate:i}),(0,MD.jsx)(sji,{storage:e.panelCanvasAppStore.storage,onUpdate:i})]})}var pji=L(Se());var Lvt=L(uji());var Mvt=L(Se());var X3=L(z()),Y6r=[{value:"0",text:"solid",dataTest:"solid"},{value:"6,6",text:"dashed",dataTest:"dashed"},{value:"3,10",text:"dotted",dataTest:"dotted"},{value:"4,2,1,2",text:"dotdashed",dataTest:"dotdashed"}],W6r=(()=>{let t=[];for(let e=1;e<=10;e++)t.push({value:e+"",text:e+""});return t})();function Q6r(t){let e=J(),{widthUnit:i="",onChange:o,displayLineStyle:r,displayStrokeWidth:n,strokeWidthStyle:a="input"}=t,[s,l]=(0,Mvt.useState)(t.dash),[c,d]=(0,Mvt.useState)(t.width);return(0,X3.jsxs)(X3.Fragment,{children:[(0,X3.jsxs)("div",{title:e("Line Style"),style:{border:"1px solid var(--common-border-color)"},children:[n&&(0,X3.jsxs)("div",{style:{display:"flex",alignItems:"center",margin:"9px 16px"},children:[(0,X3.jsx)("span",{"data-test":"Stroke Width",children:e("Stroke Width:")}),a==="input"?(0,X3.jsx)(or,{style:{flex:"1 1 0%"},originUnit:i,value:c,inputUnit:i,positive:!0,validatedValue:u=>({isValid:u>=0,value:u}),onChange:u=>{d(u.toString())}},c):(0,X3.jsx)(xt,{style:{flex:1},value:c,list:W6r,onChange:u=>{d(u.toString())}})]}),r&&(0,X3.jsxs)("div",{style:{display:"flex",alignItems:"center",margin:"9px 16px"},children:[(0,X3.jsx)("span",{"data-test":"Line Style",children:e("Line Style:")}),(0,X3.jsx)("div",{style:{flex:1},children:(0,X3.jsx)(xt,{list:Y6r,disabled:t==null?void 0:t.disableDash,name:"dash",value:s,onChange:u=>{l(u)}})})]})]}),(0,X3.jsxs)("div",{style:{display:"flex",gap:5,justifyContent:"flex-end",marginTop:"10px"},children:[(0,X3.jsx)(Me,{type:"primary",onClick:()=>{r&&o("dash",s),n&&o("width",c.toString().replace(i,"")),le.close(Ivt)},children:"Confirm"}),(0,X3.jsx)(Me,{onClick:()=>{le.close(Ivt)},children:"Cancel"})]})]})}var Ivt="panel-sch-pcb-theme-line-style-dialog";function Ine(t){le.open({id:Ivt,title:"Line Style",width:"298px",height:"auto",closed:!0,children:(0,X3.jsx)(Q6r,{...t}),footer:!1,esc:!0,openCallback(){}})}var Zi=L(z()),{locals:Ja}=Lvt.default;function mji(){let t=we.PANEL_CANVAS.PANEL_THEME.BACKGROUND,e=we.PANEL_CANVAS.PANEL_THEME.GRID,i=we.PANEL_CANVAS.PANEL_THEME.SELECTION,o=we.PANEL_CANVAS.PANEL_THEME.HOVER_HIGHLIGHT,r=we.PANEL_CANVAS.PANEL_THEME.SHAPE,n=we.PANEL_CANVAS.PANEL_THEME.ELLIPTICAL_ARC,a=we.PANEL_CANVAS.PANEL_THEME.ELLIPSE,s=we.PANEL_CANVAS.PANEL_THEME.RECT,l=we.PANEL_CANVAS.PANEL_THEME.TEXT,c=we.PANEL_CANVAS.PANEL_THEME.CONSTRAINED_DIMENSION,d=we.PANEL_CANVAS.PANEL_THEME.ANNOTATED_DIMENSION,u=we.PANEL_CANVAS.PANEL_THEME.AUXILIARY_LINE,p=we.PANEL_CANVAS.PANEL_THEME.AUXILIARY_POINT,m=we.PANEL_CANVAS.PANEL_THEME.DIMENSION;Ae(Lvt.default);let h=J(),f=bZ,g=(0,pji.useContext)(Ea);Ce(g.panelThemeAppStore);function b(R,v){g.panelThemeAppStore.whenAttrUpdate(R,v),g.frameStore.waitForSaveTagsSet=new Set([...g.frameStore.waitForSaveTagsSet,"PANEL_THEME"])}let{color:y,fontStyle:w,shape:x,fillColor:S}=g.panelThemeAppStore.storage;function T(R){return{backgroundColor:y[R],color:"transparent",backgroundImage:"unset"}}function M(){return{backgroundColor:"unset",color:"transparent",backgroundImage:"url(data:image/gif;base64,R0lGODlhEAAQAIAAAP///9/f3yH5BAAHAP8ALAAAAAAQABAAAAIfjG+gq4jM3IFLJgpswNly/XkcBpIiVaInlLJr9FZWAQA7)"}}function I(){return(0,Zi.jsxs)("tr",{children:[(0,Zi.jsx)("td",{width:"20%",children:(0,Zi.jsx)("span",{"data-test":t,children:h(t)})}),(0,Zi.jsx)("td",{className:"","data-key":"background",children:(0,Zi.jsx)(Vf,{style:y.background==="none"?M():T("background"),color:y.background,allowNone:"1",restoreDefaultButton:!0,onChange:R=>{R===null&&(R=f.color.background),y.background=R,b("color",y)},children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:y.background})})}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]})]})}let A="mm",{fontFamily:D,fontSize:E}=w.text,N=`${D.includes("default")?h(D):D}| ${Number(E)}${A}`;return(0,Zi.jsx)("div",{className:Ja.container,children:(0,Zi.jsx)("div",{style:{padding:"6px 0"},children:(0,Zi.jsxs)("table",{id:"panelThemeColorTable",className:Ja.table,children:[(0,Zi.jsx)(K6r,{}),(0,Zi.jsxs)("tbody",{id:"theme-tbody",children:[I(),(0,Zi.jsxs)("tr",{children:[(0,Zi.jsx)("td",{children:(0,Zi.jsx)("span",{"data-test":e,children:h(e)})}),(0,Zi.jsx)("td",{className:"","data-key":"grid",children:(0,Zi.jsx)(Vf,{onChange:R=>{R===null&&(R=f.color.grid),y.grid=R,b("color",y)},color:y.grid,defaultColor:y.grid,restoreDefaultButton:!0,allowNone:"0",children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:y.grid})})}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]})]}),(0,Zi.jsxs)("tr",{children:[(0,Zi.jsx)("td",{children:(0,Zi.jsx)("span",{"data-test":i,children:h(i)})}),(0,Zi.jsx)("td",{className:"","data-key":"select",children:(0,Zi.jsx)(Vf,{color:y.select,allowNone:"0",restoreDefaultButton:!0,onChange:R=>{R===null&&(R=f.color.select),y.select=R,b("color",y)},children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:y.select})})}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]})]}),(0,Zi.jsxs)("tr",{children:[(0,Zi.jsx)("td",{children:(0,Zi.jsx)("span",{"data-test":o,children:h(o)})}),(0,Zi.jsx)("td",{className:"","data-key":"highlight",children:(0,Zi.jsx)(Vf,{color:y.highlight,restoreDefaultButton:!0,allowNone:"0",onChange:R=>{R===null&&(R=f.color.highlight),y.highlight=R,b("color",y)},children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:y.highlight})})}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]})]}),(0,Zi.jsxs)("tr",{children:[(0,Zi.jsx)("td",{children:(0,Zi.jsx)("span",{"data-test":r,children:h(r)})}),(0,Zi.jsx)("td",{className:"","data-key":"line",children:(0,Zi.jsx)(Vf,{color:y.line,restoreDefaultButton:!0,allowNone:"0",onChange:R=>{R===null&&(R=f.color.line),y.line=R,b("color",y)},children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:y.line})})}),(0,Zi.jsx)("td",{className:"","data-key":"line",children:(0,Zi.jsx)(Vf,{color:S.line,restoreDefaultButton:!0,allowNone:"1",onChange:R=>{R===null&&(R=f.fillColor.line),S.line=R,b("fillColor",S)},children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:S.line||"none"})})}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsxs)("td",{className:"t-overflow setLineStyle",onClick:()=>{Ine({displayStrokeWidth:!0,widthUnit:"mm",...x.line,onChange(R,v){x.line[R]=$s(v)||bZ.shape.line.width,b("shape",x)}})},children:[x.line.width+A,nMe(x.line.dash)]})]}),(0,Zi.jsxs)("tr",{children:[(0,Zi.jsx)("td",{children:(0,Zi.jsx)("span",{"data-test":n,children:h(n)})}),(0,Zi.jsx)("td",{className:"","data-key":"ellipticalArc",children:(0,Zi.jsx)(Vf,{color:y.arc,restoreDefaultButton:!0,allowNone:"0",onChange:R=>{R===null&&(R=f.color.arc),y.arc=R,b("color",y)},children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:y.arc})})}),(0,Zi.jsx)("td",{className:"","data-key":"ellipticalArc",children:(0,Zi.jsx)(Vf,{color:S.arc,restoreDefaultButton:!0,allowNone:"1",onChange:R=>{R===null&&(R=f.fillColor.arc),S.arc=R,b("fillColor",S)},children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:S.arc||"none"})})}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsxs)("td",{className:"t-overflow setLineStyle",onClick:()=>{Ine({displayStrokeWidth:!0,widthUnit:"mm",...x.arc,onChange(R,v){x.arc[R]=$s(v)||bZ.shape.arc.width,b("shape",x)}})},children:[x.arc.width+A,nMe(x.arc.dash)]})]}),(0,Zi.jsxs)("tr",{children:[(0,Zi.jsx)("td",{children:(0,Zi.jsx)("span",{"data-test":a,children:h(a)})}),(0,Zi.jsx)("td",{className:"","data-key":"ellipse",children:(0,Zi.jsx)(Vf,{color:y.circle,restoreDefaultButton:!0,allowNone:"0",onChange:R=>{R===null&&(R=f.color.circle),y.circle=R,b("color",y)},children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:y.circle})})}),(0,Zi.jsx)("td",{className:"","data-key":"ellipse",children:(0,Zi.jsx)(Vf,{color:S.circle,restoreDefaultButton:!0,allowNone:"1",onChange:R=>{R===null&&(R=f.fillColor.circle),S.circle=R,b("fillColor",S)},children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:S.circle})})}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsxs)("td",{className:"t-overflow setLineStyle",onClick:()=>{Ine({displayStrokeWidth:!0,widthUnit:"mm",...x.circle,onChange(R,v){x.circle[R]=$s(v)||bZ.shape.circle.width,b("shape",x)}})},children:[x.circle.width+A,nMe(x.circle.dash)]})]}),(0,Zi.jsxs)("tr",{children:[(0,Zi.jsx)("td",{children:(0,Zi.jsx)("span",{"data-test":s,children:h(s)})}),(0,Zi.jsx)("td",{className:"","data-key":"rect",children:(0,Zi.jsx)(Vf,{color:y.rect,restoreDefaultButton:!0,allowNone:"0",onChange:R=>{R===null&&(R=f.color.rect),y.rect=R,b("color",y)},children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:y.rect})})}),(0,Zi.jsx)("td",{className:"","data-key":"rect",children:(0,Zi.jsx)(Vf,{color:S.rect,restoreDefaultButton:!0,allowNone:"1",onChange:R=>{R===null&&(R=f.fillColor.rect),S.rect=R,b("fillColor",S)},children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:S.rect})})}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsxs)("td",{className:"t-overflow setLineStyle",onClick:()=>{Ine({displayStrokeWidth:!0,widthUnit:"mm",...x.rect,onChange(R,v){x.rect[R]=$s(v)||bZ.shape.rect.width,b("shape",x)}})},children:[x.rect.width+A,(0,Zi.jsx)("span",{"data-test":nMe(x.rect.dash),children:h(nMe(x.rect.dash))})]})]}),(0,Zi.jsxs)("tr",{children:[(0,Zi.jsx)("td",{children:(0,Zi.jsx)("span",{"data-test":l,children:h(l)})}),(0,Zi.jsx)("td",{className:"","data-key":"text",children:(0,Zi.jsx)(Vf,{color:y.text,allowNone:"0",restoreDefaultButton:!0,onChange:R=>{R===null&&(R=f.color.text),y.text=R,b("color",y)},children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:y.text})})}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{onClick:()=>{iMe({...w.text,fontSizeUnit:"mm",onChange(R,v){w.text[R]=v,b("fontStyle",w)},onAddNewFontItemClick(){C.messageBus.publish("SWITCH_MENU_SELECTED","COMM_TYPEFACE"),le.close(Mne)}})},className:"t-overflow setFontStyle",children:N}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]})]}),(0,Zi.jsxs)("tr",{children:[(0,Zi.jsx)("td",{style:{paddingRight:0},children:(0,Zi.jsx)("span",{"data-test":c,children:h(c)})}),(0,Zi.jsx)("td",{className:"","data-key":"dimensionConstraint",children:(0,Zi.jsx)(Vf,{color:y.dimensionConstraint,restoreDefaultButton:!0,allowNone:"0",onChange:R=>{R===null&&(R=f.color.dimensionConstraint),y.dimensionConstraint=R,b("color",y)},children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:y.dimensionConstraint})})}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]})]}),(0,Zi.jsxs)("tr",{children:[(0,Zi.jsx)("td",{children:(0,Zi.jsx)("span",{"data-test":d,children:h(d)})}),(0,Zi.jsx)("td",{className:"","data-key":"dimensionLabel",children:(0,Zi.jsx)(Vf,{color:y.dimensionLabel,restoreDefaultButton:!0,allowNone:"0",onChange:R=>{R===null&&(R=f.color.dimensionLabel),y.dimensionLabel=R,b("color",y)},children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:y.dimensionLabel})})}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]})]}),(0,Zi.jsxs)("tr",{children:[(0,Zi.jsx)("td",{children:(0,Zi.jsx)("span",{"data-test":u,children:h(u)})}),(0,Zi.jsx)("td",{className:"","data-key":"auxiliaryLine",children:(0,Zi.jsx)(Vf,{color:y.auxiliaryLine,restoreDefaultButton:!0,allowNone:"0",onChange:R=>{R===null&&(R=f.color.auxiliaryLine),y.auxiliaryLine=R,b("color",y)},children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:y.auxiliaryLine})})}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:"t-overflow setLineStyle",onClick:()=>{Ine({displayLineStyle:!0,...x.auxiliaryLine,onChange(R,v){x.auxiliaryLine[R]=v,b("shape",x)}})},children:(0,Zi.jsx)("span",{className:"i18n",children:h(Voe(x.auxiliaryLine.dash).i18nText)})})]}),(0,Zi.jsxs)("tr",{children:[(0,Zi.jsx)("td",{children:(0,Zi.jsx)("span",{"data-test":p,children:h(p)})}),(0,Zi.jsx)("td",{className:"","data-key":"auxiliaryPoint",onClick:()=>{},children:(0,Zi.jsx)(Vf,{color:S.auxiliaryPoint,restoreDefaultButton:!0,allowNone:"1",onChange:R=>{R===null&&(R=f.fillColor.auxiliaryPoint),S.auxiliaryPoint=R,b("fillColor",S)},children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:S.auxiliaryPoint})})}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]})]}),(0,Zi.jsxs)("tr",{children:[(0,Zi.jsx)("td",{children:(0,Zi.jsx)("span",{"data-test":m,children:h(m)})}),(0,Zi.jsx)("td",{className:"","data-key":"normalDimension",children:(0,Zi.jsx)(Vf,{color:y.normalDimension,restoreDefaultButton:!0,allowNone:"0",onChange:R=>{R===null&&(R=f.color.normalDimension),y.normalDimension=R,b("color",y)},children:(0,Zi.jsx)("span",{className:Ja["color-hex-text"],children:y.normalDimension})})}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]}),(0,Zi.jsx)("td",{className:Ja["not-allowed"]})]})]})]})})})}function nMe(t){return""}function K6r(){let t=J(),e=we.PANEL_CANVAS.PANEL_THEME.OBJECT,i=we.PANEL_CANVAS.PANEL_THEME.COLOR_STROKE_COLOR,o=we.PANEL_CANVAS.PANEL_THEME.FILL_COLOR,r=we.PANEL_CANVAS.PANEL_THEME.FONT,n=we.PANEL_CANVAS.PANEL_THEME.LINE_STYLE;return(0,Zi.jsx)("thead",{style:{textAlign:"left"},children:(0,Zi.jsxs)("tr",{children:[(0,Zi.jsx)("th",{className:Ja.th,"data-test":e,children:t(e)}),(0,Zi.jsx)("th",{className:Ja.th,"data-test":i,children:t(i)}),(0,Zi.jsx)("th",{className:Ja.th,"data-test":o,children:t(o)}),(0,Zi.jsx)("th",{className:Ja.th,"data-test":r,children:t(r)}),(0,Zi.jsx)("th",{className:Ja.th,"data-test":n,children:t(n)})]})})}var Cji=L(Se());var CYe=L(Se());var vvt=L(z());function hji(t){let{list:e,addBtnDisabled:i,delBtnDisabled:o,upMoveBtnDisabled:r,downMoveBtnDisabled:n,onBtnClicked:a}=t,s=(0,CYe.useRef)(!1),l=c=>{s.current!==!0&&(s.current=!0,a(c))};return(0,CYe.useEffect)(()=>{window.setTimeout(()=>{s.current=!1})},[e]),(0,vvt.jsx)("div",{style:{padding:"7px 0 7px 0"},children:(0,vvt.jsx)(ec,{addButton:!0,addDisabled:i,deleteButton:!0,deleteDisabled:o,upButton:!0,upDisabled:r,downButton:!0,downDisabled:n,onClick:l})})}var bB=L(Se());var I4=L(z()),fji=we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.MIL,gji=we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.MM,Z6r=[{key:"gridXMil",name:fji,sortable:!1,width:.25},{key:"gridXMm",name:gji,sortable:!1,width:.25},{key:"gridYMil",name:fji,sortable:!1,width:.25},{key:"gridYMm",name:gji,sortable:!1,width:.25}];function bji(t){let e=we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.GRID_SNAP_X,i=we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.GRID_SNAP_Y,o=J(),{list:r,selectedRowNumbers:n,isTableEditing:a,onRowSinglyClicked:s,onRowDoublyClicked:l,onRowInputInteractive:c}=t,d=(0,bB.useRef)(null),u=(0,bB.useRef)(""),p=(0,bB.useRef)(-1),m=(0,bB.useRef)(null),h=(0,bB.useRef)(null),f=(0,bB.useRef)(0),g=(0,bB.useRef)(null),b=Z6r.map(w=>({...w,render(x){let{rowNumber:S,colKey:T}=x,M=x.row,I=M.isAllowDelete?"":"sys-commsize-fixed-cell",A=M.isRepeat?{color:"rgba(255, 0, 0, 1)"}:{},D=this,E=k=>{let P=k.target,O=P.getAttribute("data-id"),_=P.getAttribute("data-row"),j=P.getAttribute("data-col");+_===p.current&&window.clearTimeout(m.current),typeof P.select<"u"&&P.select()},N=k=>{let P=k.target;k.keyCode===13&&P.blur()},R=async k=>{let P=k.target,O=P.value,_=P.getAttribute("data-id"),j=P.getAttribute("data-row"),B=P.getAttribute("data-col");c("changed",_,B,O)},v=async k=>{let P=k.target,O=P.value,_=P.getAttribute("data-id"),j=P.getAttribute("data-row"),B=P.getAttribute("data-col");c("blured",_,B,O,{bluredCallback(V){m.current=window.setTimeout(()=>{V()},200)}}),window.clearInterval(h.current)};switch(D.key){case"gridXMil":return M.gridXMilEditing?(0,I4.jsx)("div",{className:I,children:(0,I4.jsx)("input",{type:"text",name:"gridXMil",defaultValue:M.gridXMil,style:{display:"block",width:"100%"},onFocus:E,onKeyUp:N,onChange:R,onBlur:v,"data-id":M.id,"data-row":S,"data-col":"gridXMil"})}):(0,I4.jsx)("div",{className:I,"data-id":M.id,"data-row":S,style:A,children:M.gridXMil});case"gridXMm":return M.gridXMmEditing?(0,I4.jsx)("div",{children:(0,I4.jsx)("input",{type:"text",name:"gridXMm",defaultValue:M.gridXMm,style:{display:"block",width:"100%"},onFocus:E,onKeyUp:N,onChange:R,onBlur:v,"data-id":M.id,"data-row":S,"data-col":"gridXMm"})}):(0,I4.jsx)("div",{"data-id":M.id,"data-row":S,style:A,children:M.gridXMm});case"gridYMil":return M.gridYMilEditing?(0,I4.jsx)("div",{children:(0,I4.jsx)("input",{type:"text",name:"gridYMil",defaultValue:M.gridYMil,style:{display:"block",width:"100%"},onFocus:E,onKeyUp:N,onChange:R,onBlur:v,"data-id":M.id,"data-row":S,"data-col":"gridYMil"})}):(0,I4.jsx)("div",{"data-id":M.id,"data-row":S,style:A,children:M.gridYMil});case"gridYMm":return M.gridYMmEditing?(0,I4.jsx)("div",{children:(0,I4.jsx)("input",{type:"text",name:"gridYMm",defaultValue:M.gridYMm,style:{display:"block",width:"100%"},onFocus:E,onKeyUp:N,onChange:R,onBlur:v,"data-id":M.id,"data-row":S,"data-col":"gridYMm"})}):(0,I4.jsx)("div",{"data-id":M.id,"data-row":S,style:A,children:M.gridYMm})}}})),y=w=>{let{clickObj:x,selectedRowNumbers:S,row:T}=w;f.current++,(u.current!==x.colKey||p.current!==x.rowNumber)&&(f.current=1),u.current=x.colKey,p.current=x.rowNumber,window.clearTimeout(g.current),g.current=window.setTimeout(()=>{f.current=0},800),s(x.rowNumber),f.current>=2&&l(x.rowNumber)};return(0,bB.useEffect)(()=>{let w=null;return d.current&&(w=new MutationObserver(x=>{for(let S=0;S<x.length;S++){let T=x[S].target;if(!T)continue;let M=Array.from(T.querySelectorAll(`[data-row="${p.current}"]`)),I=null;for(let A=0;A<M.length;A++)if(M[A].getAttribute("data-col")===u.current){I=M[A];break}I&&I.focus()}}),w.observe(d.current,{childList:!0,subtree:!0})),()=>{w&&w.disconnect()}},[]),(0,I4.jsxs)("div",{style:{width:"100%",overflowY:"hidden",overflowX:"auto"},ref:d,children:[(0,I4.jsxs)("div",{style:{overflow:"hidden",width:"100%",lineHeight:"24px",paddingBottom:"8px"},children:[(0,I4.jsx)("div",{style:{width:"50%",float:"left",textAlign:"center",fontWeight:900},title:o(e),"data-test":"",i18n:e,children:o(e)}),(0,I4.jsx)("div",{style:{width:"50%",float:"left",textAlign:"center",fontWeight:900},title:o(i),"data-test":"",i18n:i,children:o(i)})]}),(0,I4.jsx)(xi,{index:"id",border:!0,height:410,columns:b,openHeadContentMenu:!1,showCustomHeadSettingOnHeadContextmenu:!1,rows:r,selectedRowNumbers:n,openVirtualScroll:!1,onClick:y})]})}var xYe=L(Se());var Dvt=L(z());function yji(t){let{list:e,addBtnDisabled:i,delBtnDisabled:o,upMoveBtnDisabled:r,downMoveBtnDisabled:n,onBtnClicked:a}=t,s=(0,xYe.useRef)(!1),l=c=>{s.current!==!0&&(s.current=!0,a(c))};return(0,xYe.useEffect)(()=>{window.setTimeout(()=>{s.current=!1})},[e]),(0,Dvt.jsx)("div",{style:{padding:"7px 0 7px 0"},children:(0,Dvt.jsx)(ec,{addButton:!0,addDisabled:i,deleteButton:!0,deleteDisabled:o,upButton:!0,upDisabled:r,downButton:!0,downDisabled:n,onClick:l})})}var yB=L(Se());var qT=L(z()),J6r=we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.DEGREE,q6r=we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.MIL,X6r=we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.MM,$6r=[{key:"angle",name:J6r,sortable:!1,width:.5},{key:"mil",name:q6r,sortable:!1,width:.25},{key:"mm",name:X6r,sortable:!1,width:.25}];function wji(t){let e=we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.ANGLE_INCREMENT,i=we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.RADIUS_INCREMENT,o=J(),{list:r,selectedRowNumbers:n,isTableEditing:a,onRowSinglyClicked:s,onRowDoublyClicked:l,onRowInputInteractive:c}=t,d=(0,yB.useRef)(null),u=(0,yB.useRef)(""),p=(0,yB.useRef)(-1),m=(0,yB.useRef)(null),h=(0,yB.useRef)(null),f=(0,yB.useRef)(0),g=(0,yB.useRef)(null),b=$6r.map(w=>({...w,render(x){let{rowNumber:S,colKey:T}=x,M=x.row,I=M.isAllowDelete?"":"sys-commsize-fixed-cell",A=M.isRepeat?{color:"rgba(255, 0, 0, 1)"}:{},D=this,E=k=>{let P=k.target,O=P.getAttribute("data-id"),_=P.getAttribute("data-row"),j=P.getAttribute("data-col");+_===p.current&&window.clearTimeout(m.current),typeof P.select<"u"&&P.select()},N=k=>{let P=k.target;k.keyCode===13&&P.blur()},R=async k=>{let P=k.target,O=P.value,_=P.getAttribute("data-id"),j=P.getAttribute("data-row"),B=P.getAttribute("data-col");c("changed",_,B,O)},v=async k=>{let P=k.target,O=P.value,_=P.getAttribute("data-id"),j=P.getAttribute("data-row"),B=P.getAttribute("data-col");c("blured",_,B,O,{bluredCallback(V){m.current=window.setTimeout(()=>{V()},200)}}),window.clearInterval(h.current)};switch(D.key){case"angle":return M.angleEditing?(0,qT.jsx)("div",{className:I,children:(0,qT.jsx)("input",{type:"text",name:"angle",defaultValue:M.angle,style:{display:"block",width:"100%"},onFocus:E,onKeyUp:N,onChange:R,onBlur:v,"data-id":M.id,"data-row":S,"data-col":"angle"})}):(0,qT.jsx)("div",{className:I,"data-id":M.id,"data-row":S,style:A,children:M.angle});case"mil":return M.milEditing?(0,qT.jsx)("div",{children:(0,qT.jsx)("input",{type:"text",name:"mil",defaultValue:M.mil,style:{display:"block",width:"100%"},onFocus:E,onKeyUp:N,onChange:R,onBlur:v,"data-id":M.id,"data-row":S,"data-col":"mil"})}):(0,qT.jsx)("div",{"data-id":M.id,"data-row":S,style:A,children:M.mil});case"mm":return M.mmEditing?(0,qT.jsx)("div",{children:(0,qT.jsx)("input",{type:"text",name:"mm",defaultValue:M.mm,style:{display:"block",width:"100%"},onFocus:E,onKeyUp:N,onChange:R,onBlur:v,"data-id":M.id,"data-row":S,"data-col":"mm"})}):(0,qT.jsx)("div",{"data-id":M.id,"data-row":S,style:A,children:M.mm})}}})),y=w=>{let{clickObj:x,selectedRowNumbers:S,row:T}=w;f.current++,(u.current!==x.colKey||p.current!==x.rowNumber)&&(f.current=1),u.current=x.colKey,p.current=x.rowNumber,window.clearTimeout(g.current),g.current=window.setTimeout(()=>{f.current=0},800),s(x.rowNumber),f.current>=2&&l(x.rowNumber)};return(0,yB.useEffect)(()=>{let w=null;return d.current&&(w=new MutationObserver(x=>{for(let S=0;S<x.length;S++){let T=x[S].target;if(!T)continue;let M=Array.from(T.querySelectorAll(`[data-row="${p.current}"]`)),I=null;for(let A=0;A<M.length;A++)if(M[A].getAttribute("data-col")===u.current){I=M[A];break}I&&I.focus()}}),w.observe(d.current,{childList:!0,subtree:!0})),()=>{w&&w.disconnect()}},[]),(0,qT.jsxs)("div",{style:{width:"100%",overflowY:"hidden",overflowX:"auto"},ref:d,children:[(0,qT.jsxs)("div",{style:{overflow:"hidden",width:"100%",lineHeight:"24px",paddingBottom:"8px"},children:[(0,qT.jsx)("div",{style:{width:"50%",float:"left",textAlign:"center",fontWeight:900},title:o(e),"data-test":"",i18n:e,children:o(e)}),(0,qT.jsx)("div",{style:{width:"50%",float:"left",textAlign:"center",fontWeight:900},title:o(i),"data-test":"",i18n:i,children:o(i)})]}),(0,qT.jsx)(xi,{index:"id",border:!0,height:410,columns:b,openHeadContentMenu:!1,showCustomHeadSettingOnHeadContextmenu:!1,rows:r,selectedRowNumbers:n,openVirtualScroll:!1,onClick:y})]})}var eIr=we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.CARTESIAN_COORDINATE_SYSTEM,tIr=we.PCB_FOOTPRINT.PCB_COMM_GRID_SIZE.POLAR_COORDINATE_SYSTEM,Evt=[{title:eIr,key:"Cartesian"},{title:tIr,key:"Polar"}];var iO=L(z());function xji(){let t=J(),e=(0,Cji.useContext)(Ea);return Ce(e.pcbCommGridSizeAppStore),Ce(e.pcbCommGridSizeAppStore.cartesionStore),Ce(e.pcbCommGridSizeAppStore.polarStore),(0,iO.jsxs)("div",{style:{width:"100%",height:"100%",minHeight:"inherit"},children:[(0,iO.jsx)(yl,{lists:e.pcbCommGridSizeAppStore.tabs,direction:"top",defaultActiveKey:e.pcbCommGridSizeAppStore.activeTab,type:"card",tabsStyle:{minWidth:"81px"},onClick:i=>{e.pcbCommGridSizeAppStore.activeTab=i}}),(0,iO.jsxs)("div",{id:"pcbCommGridSizeContent",children:[(0,iO.jsxs)("div",{style:{display:`${e.pcbCommGridSizeAppStore.activeTab=="Cartesian"?"":"none"}`,width:"100%",height:"100%"},children:[(0,iO.jsx)(hji,{list:e.pcbCommGridSizeAppStore.cartesionStore.list,addBtnDisabled:e.pcbCommGridSizeAppStore.cartesionStore.addBtnDisabled,delBtnDisabled:e.pcbCommGridSizeAppStore.cartesionStore.delBtnDisabled,upMoveBtnDisabled:e.pcbCommGridSizeAppStore.cartesionStore.upMoveBtnDisabled,downMoveBtnDisabled:e.pcbCommGridSizeAppStore.cartesionStore.downMoveBtnDisabled,onBtnClicked:e.pcbCommGridSizeAppStore.cartesionStore.whenOperationsBtnClicked.bind(e.pcbCommGridSizeAppStore.cartesionStore)}),(0,iO.jsx)(bji,{list:e.pcbCommGridSizeAppStore.cartesionStore.list,selectedRowNumbers:e.pcbCommGridSizeAppStore.cartesionStore.selectedRowNumbers,isTableEditing:e.pcbCommGridSizeAppStore.cartesionStore.isTableEditing,onRowSinglyClicked:e.pcbCommGridSizeAppStore.cartesionStore.whenListRowItemSinglyClicked.bind(e.pcbCommGridSizeAppStore.cartesionStore),onRowDoublyClicked:e.pcbCommGridSizeAppStore.cartesionStore.whenListRowItemDoublyClicked.bind(e.pcbCommGridSizeAppStore.cartesionStore),onRowInputInteractive:e.pcbCommGridSizeAppStore.cartesionStore.whenRowInputInteractived.bind(e.pcbCommGridSizeAppStore.cartesionStore)})]}),(0,iO.jsxs)("div",{style:{display:`${e.pcbCommGridSizeAppStore.activeTab=="Polar"?"":"none"}`,width:"100%",height:"100%"},children:[(0,iO.jsx)(yji,{list:e.pcbCommGridSizeAppStore.polarStore.list,addBtnDisabled:e.pcbCommGridSizeAppStore.polarStore.addBtnDisabled,delBtnDisabled:e.pcbCommGridSizeAppStore.polarStore.delBtnDisabled,upMoveBtnDisabled:e.pcbCommGridSizeAppStore.polarStore.upMoveBtnDisabled,downMoveBtnDisabled:e.pcbCommGridSizeAppStore.polarStore.downMoveBtnDisabled,onBtnClicked:e.pcbCommGridSizeAppStore.polarStore.whenOperationsBtnClicked.bind(e.pcbCommGridSizeAppStore.polarStore)}),(0,iO.jsx)(wji,{list:e.pcbCommGridSizeAppStore.polarStore.list,selectedRowNumbers:e.pcbCommGridSizeAppStore.polarStore.selectedRowNumbers,isTableEditing:e.pcbCommGridSizeAppStore.polarStore.isTableEditing,onRowSinglyClicked:e.pcbCommGridSizeAppStore.polarStore.whenListRowItemSinglyClicked.bind(e.pcbCommGridSizeAppStore.polarStore),onRowDoublyClicked:e.pcbCommGridSizeAppStore.polarStore.whenListRowItemDoublyClicked.bind(e.pcbCommGridSizeAppStore.polarStore),onRowInputInteractive:e.pcbCommGridSizeAppStore.polarStore.whenRowInputInteractived.bind(e.pcbCommGridSizeAppStore.polarStore)})]})]})]})}var Mji=L(Se());var TYe=L(Se());var Avt=L(z());function Tji(t){let{list:e,addBtnDisabled:i,delBtnDisabled:o,upMoveBtnDisabled:r,downMoveBtnDisabled:n,onBtnClicked:a}=t,s=(0,TYe.useRef)(!1),l=c=>{s.current!==!0&&(s.current=!0,a(c))};return(0,TYe.useEffect)(()=>{window.setTimeout(()=>{s.current=!1})},[e]),(0,Avt.jsx)("div",{style:{padding:"7px 0 7px 0"},children:(0,Avt.jsx)(ec,{addButton:!0,addDisabled:i,deleteButton:!0,deleteDisabled:o,upButton:!0,upDisabled:r,downButton:!0,downDisabled:n,onClick:l})})}var wB=L(Se());var XH=L(z()),iIr=we.PCB_FOOTPRINT.PCB_COMM_TRACK_WIDTH.MIL,oIr=we.PCB_FOOTPRINT.PCB_COMM_TRACK_WIDTH.MM,rIr=[{key:"trackWidthMil",name:iIr,sortable:!1,width:.5},{key:"trackWidthMm",name:oIr,sortable:!1,width:.5}];function Sji(t){let e=J(),{list:i,isTableEditing:o,selectedRowNumbers:r,onRowSinglyClicked:n,onRowDoublyClicked:a,onRowInputInteractive:s}=t,l=(0,wB.useRef)(null),c=(0,wB.useRef)(""),d=(0,wB.useRef)(-1),u=(0,wB.useRef)(null),p=(0,wB.useRef)(null),m=(0,wB.useRef)(0),h=(0,wB.useRef)(null),f=rIr.map(b=>({...b,render(y){let{rowNumber:w,colKey:x}=y,S=y.row,T=S.isAllowDelete?"":"sys-commsize-fixed-cell",M=S.isRepeat?{color:"rgba(255, 0, 0, 1)"}:{},I=this,A=R=>{let v=R.target,k=v.getAttribute("data-id"),P=v.getAttribute("data-row"),O=v.getAttribute("data-col");+P===d.current&&window.clearTimeout(u.current),typeof v.select<"u"&&v.select()},D=R=>{let v=R.target;R.keyCode===13&&v.blur()},E=async R=>{let v=R.target,k=v.value,P=v.getAttribute("data-id"),O=v.getAttribute("data-row"),_=v.getAttribute("data-col");s("changed",P,_,k)},N=async R=>{let v=R.target,k=v.value,P=v.getAttribute("data-id"),O=v.getAttribute("data-row"),_=v.getAttribute("data-col");s("blured",P,_,k,{bluredCallback(j){u.current=window.setTimeout(()=>{j()},200)}}),window.clearInterval(p.current)};switch(I.key){case"trackWidthMil":return S.trackWidthMilEditing?(0,XH.jsx)("div",{className:T,children:(0,XH.jsx)("input",{type:"text",name:"trackWidthMil",defaultValue:S.trackWidthMil,style:{display:"block",width:"100%"},onFocus:A,onKeyUp:D,onChange:E,onBlur:N,"data-id":S.id,"data-row":w,"data-col":"trackWidthMil"})}):(0,XH.jsx)("div",{className:T,"data-id":S.id,"data-row":w,style:M,children:S.trackWidthMil});case"trackWidthMm":return S.trackWidthMmEditing?(0,XH.jsx)("div",{children:(0,XH.jsx)("input",{type:"text",name:"trackWidthMm",defaultValue:S.trackWidthMm,style:{display:"block",width:"100%"},onFocus:A,onKeyUp:D,onChange:E,onBlur:N,"data-id":S.id,"data-row":w,"data-col":"trackWidthMm"})}):(0,XH.jsx)("div",{"data-id":S.id,"data-row":w,style:M,children:S.trackWidthMm})}}})),g=b=>{let{clickObj:y,selectedRowNumbers:w,row:x}=b;m.current++,(c.current!==y.colKey||d.current!==y.rowNumber)&&(m.current=1),c.current=y.colKey,d.current=y.rowNumber,window.clearTimeout(h.current),h.current=window.setTimeout(()=>{m.current=0},800),n(y.rowNumber),m.current>=2&&a(y.rowNumber)};return(0,wB.useEffect)(()=>{let b=null;return l.current&&(b=new MutationObserver(y=>{for(let w=0;w<y.length;w++){let x=y[w].target;if(!x)continue;let S=Array.from(x.querySelectorAll(`[data-row="${d.current}"]`)),T=null;for(let M=0;M<S.length;M++)if(S[M].getAttribute("data-col")===c.current){T=S[M];break}T&&T.focus()}}),b.observe(l.current,{childList:!0,subtree:!0})),()=>{b&&b.disconnect()}},[]),(0,XH.jsx)("div",{style:{width:"100%",overflowY:"hidden",overflowX:"auto"},ref:l,children:(0,XH.jsx)(xi,{index:"id",border:!0,height:425,columns:f,openHeadContentMenu:!1,showCustomHeadSettingOnHeadContextmenu:!1,rows:i,selectedRowNumbers:r,openVirtualScroll:!1,onClick:g})})}var Lne=L(z());function Iji(){let t=J(),e=(0,Mji.useContext)(Ea);return Ce(e.pcbCommTrackWidthAppStore),(0,Lne.jsxs)(Lne.Fragment,{children:[(0,Lne.jsx)(Tji,{list:e.pcbCommTrackWidthAppStore.list,addBtnDisabled:e.pcbCommTrackWidthAppStore.addBtnDisabled,delBtnDisabled:e.pcbCommTrackWidthAppStore.delBtnDisabled,upMoveBtnDisabled:e.pcbCommTrackWidthAppStore.upMoveBtnDisabled,downMoveBtnDisabled:e.pcbCommTrackWidthAppStore.downMoveBtnDisabled,onBtnClicked:e.pcbCommTrackWidthAppStore.whenOperationsBtnClicked.bind(e.pcbCommTrackWidthAppStore)}),(0,Lne.jsx)(Sji,{list:e.pcbCommTrackWidthAppStore.list,selectedRowNumbers:e.pcbCommTrackWidthAppStore.selectedRowNumbers,isTableEditing:e.pcbCommTrackWidthAppStore.isTableEditing,onRowSinglyClicked:e.pcbCommTrackWidthAppStore.whenListRowItemSinglyClicked.bind(e.pcbCommTrackWidthAppStore),onRowDoublyClicked:e.pcbCommTrackWidthAppStore.whenListRowItemDoublyClicked.bind(e.pcbCommTrackWidthAppStore),onRowInputInteractive:e.pcbCommTrackWidthAppStore.whenRowInputInteractived.bind(e.pcbCommTrackWidthAppStore)})]})}var Aji=L(Se());var SYe=L(Se());var Nvt=L(z());function Lji(t){let{list:e,addBtnDisabled:i,delBtnDisabled:o,upMoveBtnDisabled:r,downMoveBtnDisabled:n,onBtnClicked:a}=t,s=(0,SYe.useRef)(!1),l=c=>{s.current!==!0&&(s.current=!0,a(c))};return(0,SYe.useEffect)(()=>{window.setTimeout(()=>{s.current=!1})},[e]),(0,Nvt.jsx)("div",{style:{padding:"7px 0 7px 0"},children:(0,Nvt.jsx)(ec,{addButton:!0,addDisabled:i,deleteButton:!0,deleteDisabled:o,upButton:!0,upDisabled:r,downButton:!0,downDisabled:n,onClick:l})})}var CB=L(Se());var L4=L(z()),vji=we.PCB_FOOTPRINT.PCB_COMM_VIA_SIZE.MIL,Dji=we.PCB_FOOTPRINT.PCB_COMM_VIA_SIZE.MM,nIr=[{key:"insideDiameterMil",name:vji,sortable:!1,width:.25},{key:"insideDiameterMm",name:Dji,sortable:!1,width:.25},{key:"outersideDiameterMil",name:vji,sortable:!1,width:.25},{key:"outersideDiameterMm",name:Dji,sortable:!1,width:.25}];function Eji(t){let e=we.PCB_FOOTPRINT.PCB_COMM_VIA_SIZE.VIA_INSIDE_DIAMETER,i=we.PCB_FOOTPRINT.PCB_COMM_VIA_SIZE.VIA_OUTSIDE_DIAMETER,o=J(),{list:r,isTableEditing:n,selectedRowNumbers:a,onRowSinglyClicked:s,onRowDoublyClicked:l,onRowInputInteractive:c}=t,d=(0,CB.useRef)(null),u=(0,CB.useRef)(""),p=(0,CB.useRef)(-1),m=(0,CB.useRef)(null),h=(0,CB.useRef)(null),f=(0,CB.useRef)(0),g=(0,CB.useRef)(null),b=nIr.map(w=>({...w,render(x){let{rowNumber:S,colKey:T}=x,M=x.row,I=M.isAllowDelete?"":"sys-commsize-fixed-cell",A=M.isRepeat?{color:"rgba(255, 0, 0, 1)"}:{},D=this,E=k=>{let P=k.target,O=P.getAttribute("data-id"),_=P.getAttribute("data-row"),j=P.getAttribute("data-col");+_===p.current&&window.clearTimeout(m.current),typeof P.select<"u"&&P.select()},N=k=>{let P=k.target;k.keyCode===13&&P.blur()},R=async k=>{let P=k.target,O=P.value,_=P.getAttribute("data-id"),j=P.getAttribute("data-row"),B=P.getAttribute("data-col");c("changed",_,B,O)},v=async k=>{let P=k.target,O=P.value,_=P.getAttribute("data-id"),j=P.getAttribute("data-row"),B=P.getAttribute("data-col");c("blured",_,B,O,{bluredCallback(V){m.current=window.setTimeout(()=>{V()},200)}}),window.clearInterval(h.current)};switch(D.key){case"insideDiameterMil":return M.insideDiameterMilEditing?(0,L4.jsx)("div",{className:I,children:(0,L4.jsx)("input",{type:"text",name:"insideDiameterMil",defaultValue:M.insideDiameterMil,style:{display:"block",width:"100%"},onFocus:E,onKeyUp:N,onChange:R,onBlur:v,"data-id":M.id,"data-row":S,"data-col":"insideDiameterMil"})}):(0,L4.jsx)("div",{className:I,"data-id":M.id,"data-row":S,style:A,children:M.insideDiameterMil});case"insideDiameterMm":return M.insideDiameterMmEditing?(0,L4.jsx)("div",{children:(0,L4.jsx)("input",{type:"text",name:"insideDiameterMm",defaultValue:M.insideDiameterMm,style:{display:"block",width:"100%"},onFocus:E,onKeyUp:N,onChange:R,onBlur:v,"data-id":M.id,"data-row":S,"data-col":"insideDiameterMm"})}):(0,L4.jsx)("div",{"data-id":M.id,"data-row":S,style:A,children:M.insideDiameterMm});case"outersideDiameterMil":return M.outersideDiameterMilEditing?(0,L4.jsx)("div",{children:(0,L4.jsx)("input",{type:"text",name:"outersideDiameterMil",defaultValue:M.outersideDiameterMil,style:{display:"block",width:"100%"},onFocus:E,onKeyUp:N,onChange:R,onBlur:v,"data-id":M.id,"data-row":S,"data-col":"outersideDiameterMil"})}):(0,L4.jsx)("div",{"data-id":M.id,"data-row":S,style:A,children:M.outersideDiameterMil});case"outersideDiameterMm":return M.outersideDiameterMmEditing?(0,L4.jsx)("div",{children:(0,L4.jsx)("input",{type:"text",name:"outersideDiameterMm",defaultValue:M.outersideDiameterMm,style:{display:"block",width:"100%"},onFocus:E,onKeyUp:N,onChange:R,onBlur:v,"data-id":M.id,"data-row":S,"data-col":"outersideDiameterMm"})}):(0,L4.jsx)("div",{"data-id":M.id,"data-row":S,style:A,children:M.outersideDiameterMm})}}})),y=w=>{let{clickObj:x,selectedRowNumbers:S,row:T}=w;f.current++,(u.current!==x.colKey||p.current!==x.rowNumber)&&(f.current=1),u.current=x.colKey,p.current=x.rowNumber,window.clearTimeout(g.current),g.current=window.setTimeout(()=>{f.current=0},800),s(x.rowNumber),f.current>=2&&l(x.rowNumber)};return(0,CB.useEffect)(()=>{let w=null;return d.current&&(w=new MutationObserver(x=>{for(let S=0;S<x.length;S++){let T=x[S].target;if(!T)continue;let M=Array.from(T.querySelectorAll(`[data-row="${p.current}"]`)),I=null;for(let A=0;A<M.length;A++)if(M[A].getAttribute("data-col")===u.current){I=M[A];break}I&&I.focus()}}),w.observe(d.current,{childList:!0,subtree:!0})),()=>{w&&w.disconnect()}},[]),(0,L4.jsxs)("div",{style:{width:"100%",overflowY:"hidden",overflowX:"auto"},ref:d,children:[(0,L4.jsxs)("div",{style:{overflow:"hidden",width:"100%",lineHeight:"24px",paddingBottom:"8px"},children:[(0,L4.jsx)("div",{style:{width:"50%",float:"left",textAlign:"center",fontWeight:900},title:o(e),"data-test":"",i18n:e,children:o(e)}),(0,L4.jsx)("div",{style:{width:"50%",float:"left",textAlign:"center",fontWeight:900},title:o(i),"data-test":"",i18n:i,children:o(i)})]}),(0,L4.jsx)(xi,{index:"id",border:!0,height:420,columns:b,openHeadContentMenu:!1,showCustomHeadSettingOnHeadContextmenu:!1,rows:r,selectedRowNumbers:a,openVirtualScroll:!1,onClick:y})]})}var vne=L(z());function Nji(){let t=J(),e=(0,Aji.useContext)(Ea);return Ce(e.pcbCommViaSizeAppStore),(0,vne.jsxs)(vne.Fragment,{children:[(0,vne.jsx)(Lji,{list:e.pcbCommViaSizeAppStore.list,addBtnDisabled:e.pcbCommViaSizeAppStore.addBtnDisabled,delBtnDisabled:e.pcbCommViaSizeAppStore.delBtnDisabled,upMoveBtnDisabled:e.pcbCommViaSizeAppStore.upMoveBtnDisabled,downMoveBtnDisabled:e.pcbCommViaSizeAppStore.downMoveBtnDisabled,onBtnClicked:e.pcbCommViaSizeAppStore.whenOperationsBtnClicked.bind(e.pcbCommViaSizeAppStore)}),(0,vne.jsx)(Eji,{list:e.pcbCommViaSizeAppStore.list,selectedRowNumbers:e.pcbCommViaSizeAppStore.selectedRowNumbers,isTableEditing:e.pcbCommViaSizeAppStore.isTableEditing,onRowSinglyClicked:e.pcbCommViaSizeAppStore.whenListRowItemSinglyClicked.bind(e.pcbCommViaSizeAppStore),onRowDoublyClicked:e.pcbCommViaSizeAppStore.whenListRowItemDoublyClicked.bind(e.pcbCommViaSizeAppStore),onRowInputInteractive:e.pcbCommViaSizeAppStore.whenRowInputInteractived.bind(e.pcbCommViaSizeAppStore)})]})}var vWe=L(Se());var kji=L(No());var wN=L(z()),{locals:$H}=kji.default,MYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.DEFAULT_UNIT_FOR_NEW_PCB,IYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.MIL,LYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.MM;function Pji(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,wN.jsxs)("div",{className:$H["profileline-wrapper"],children:[(0,wN.jsx)("div",{className:$H["profileline-label-wrapper"],children:(0,wN.jsx)("span",{title:e(MYe),"data-test":MYe,i18n:MYe,children:e(MYe)})}),(0,wN.jsxs)("div",{className:$H["profileline-content-wrapper"],children:[(0,wN.jsxs)("label",{className:$H["profileline-content-item-wrapper"],children:[(0,wN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"newDocUint",name:"newDocUint1",type:"radio",value:"mil",className:$H["profile-input-radio"],onChange:()=>{o("newDocUint","mil")},checked:i.newDocUint.value==="mil"}),(0,wN.jsx)("span",{title:e(IYe),i18n:IYe,"data-test":IYe,className:$H["profile-input-tips"],children:e(IYe)})]}),(0,wN.jsxs)("label",{className:$H["profileline-content-item-wrapper"],children:[(0,wN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"newDocUint",name:"newDocUint2",type:"radio",value:"mm",className:$H["profile-input-radio"],onChange:()=>{o("newDocUint","mm")},checked:i.newDocUint.value==="mm"}),(0,wN.jsx)("span",{title:e(LYe),i18n:LYe,"data-test":LYe,className:$H["profile-input-tips"],children:e(LYe)})]})]})]})}var DYe=L(Se());var Oji=L(No());var zq=L(z()),{locals:aMe}=Oji.default,vYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ROTATION_STEP;function Rji(t){let e=J(),{storage:i,onUpdate:o}=t,[r,n]=(0,DYe.useState)(i.rotateSteppingAngle.value||"0"),a=c=>{let d=c.target;n(d.value)},s=c=>{let u=c.target.value;Math.abs(+u)%360===0&&(u="0"),Number.isNaN(+u)&&(u="0");let p=+u%360;n(String(p)),o("rotateSteppingAngle",p)},l=c=>{let d=c.target;d.select&&d.select()};return(0,DYe.useEffect)(()=>{String(i.rotateSteppingAngle.value)!==String(r)&&n(i.rotateSteppingAngle.value||"0")},[i.rotateSteppingAngle.value]),(0,zq.jsxs)("div",{className:aMe["profileline-wrapper2"],children:[(0,zq.jsx)("div",{className:aMe["profileline-label-wrapper2"],children:(0,zq.jsx)("span",{title:e(vYe),"data-test":vYe,i18n:vYe,children:e(vYe)})}),(0,zq.jsx)("div",{className:aMe["profileline-content-wrapper2"],children:(0,zq.jsx)("label",{className:aMe["profileline-content-item-wrapper2"],children:(0,zq.jsx)("input",{"data-input-type":"input","data-attritem-input":"rotateSteppingAngle",name:"rotateSteppingAngle",type:"text",value:String(r),className:aMe["profile-input-text"],onChange:a,onBlur:s,onFocus:l})})})]})}var _ji=L(No());var CN=L(z()),{locals:eG}=_ji.default,EYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CLICK_ON_THE_WIRE_TO_SELECT,AYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.SELECT_SIGNLE,NYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.SELECT_WHOLE;function jji(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,CN.jsxs)("div",{className:eG["profileline-wrapper2"],children:[(0,CN.jsx)("div",{className:eG["profileline-label-wrapper2"],children:(0,CN.jsx)("span",{title:e(EYe),"data-test":EYe,i18n:EYe,children:e(EYe)})}),(0,CN.jsxs)("div",{className:eG["profileline-content-wrapper2"],children:[(0,CN.jsxs)("label",{className:eG["profileline-content-item-wrapper2"],children:[(0,CN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"clickTrackSelect",name:"clickTrackSelect1",type:"radio",value:"single",className:eG["profile-input-radio"],onChange:()=>{o("clickTrackSelect","single")},checked:i.clickTrackSelect.value==="single"}),(0,CN.jsx)("span",{title:e(AYe),i18n:AYe,"data-test":AYe,className:eG["profile-input-tips"],children:e(AYe)})]}),(0,CN.jsxs)("label",{className:eG["profileline-content-item-wrapper2"],children:[(0,CN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"clickTrackSelect",name:"clickTrackSelect2",type:"radio",value:"whole",className:eG["profile-input-radio"],onChange:()=>{o("clickTrackSelect","whole")},checked:i.clickTrackSelect.value==="whole"}),(0,CN.jsx)("span",{title:e(NYe),i18n:NYe,"data-test":NYe,className:eG["profile-input-tips"],children:e(NYe)})]})]})]})}var Bji=L(No());var xN=L(z()),{locals:tG}=Bji.default,kYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.COPY_CUT,PYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.NO_SELECT_REFERENCE_POINT,OYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.SELECT_REFERENCE_POINT;function zji(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,xN.jsxs)("div",{className:tG["profileline-wrapper"],children:[(0,xN.jsx)("div",{className:tG["profileline-label-wrapper"],children:(0,xN.jsx)("span",{title:e(kYe),"data-test":kYe,i18n:kYe,children:e(kYe)})}),(0,xN.jsxs)("div",{className:tG["profileline-content-wrapper"],children:[(0,xN.jsxs)("label",{className:tG["profileline-content-item-wrapper"],children:[(0,xN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"referencePointPcbSelectMethod",name:"referencePointPcbSelectMethod1",type:"radio",value:"default",className:tG["profile-input-radio"],onChange:()=>{o("referencePointPcbSelectMethod","default")},checked:i.referencePointPcbSelectMethod.value==="default"}),(0,xN.jsx)("span",{title:e(PYe),i18n:PYe,"data-test":PYe,className:tG["profile-input-tips"],children:e(PYe)})]}),(0,xN.jsxs)("label",{className:tG["profileline-content-item-wrapper"],children:[(0,xN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"referencePointPcbSelectMethod",name:"referencePointPcbSelectMethod2",type:"radio",value:"select",className:tG["profile-input-radio"],onChange:()=>{o("referencePointPcbSelectMethod","select")},checked:i.referencePointPcbSelectMethod.value==="select"}),(0,xN.jsx)("span",{title:e(OYe),i18n:OYe,"data-test":OYe,className:tG["profile-input-tips"],children:e(OYe)})]})]})]})}var Fji=L(No());var TN=L(z()),{locals:iG}=Fji.default,RYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CONFIRM_TRACK_SEGMENT_WHILE_ROUTING,_Ye=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CONFIRM_TO_CURRENT_SEGMENT,jYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CONFIRM_TO_PREVIOUS_SEGMENT;function Uji(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,TN.jsxs)("div",{className:iG["profileline-wrapper"],children:[(0,TN.jsx)("div",{className:iG["profileline-label-wrapper"],children:(0,TN.jsx)("span",{title:e(RYe),"data-test":RYe,i18n:RYe,children:e(RYe)})}),(0,TN.jsxs)("div",{className:iG["profileline-content-wrapper"],children:[(0,TN.jsxs)("label",{className:iG["profileline-content-item-wrapper"],children:[(0,TN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"trackConfirm",name:"trackConfirm1",type:"radio",value:"current",className:iG["profile-input-radio"],onChange:()=>{o("trackConfirm","current")},checked:i.trackConfirm.value==="current"}),(0,TN.jsx)("span",{title:e(_Ye),i18n:_Ye,"data-test":_Ye,className:iG["profile-input-tips"],children:e(_Ye)})]}),(0,TN.jsxs)("label",{className:iG["profileline-content-item-wrapper"],children:[(0,TN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"trackConfirm",name:"trackConfirm2",type:"radio",value:"previous",className:iG["profile-input-radio"],onChange:()=>{o("trackConfirm","previous")},checked:i.trackConfirm.value==="previous"}),(0,TN.jsx)("span",{title:e(jYe),i18n:jYe,"data-test":jYe,className:iG["profile-input-tips"],children:e(jYe)})]})]})]})}var Vji=L(No());var SN=L(z()),{locals:oG}=Vji.default,BYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.DEFAULT_UNIT_FOR_NEW_FOOTPRINT,zYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.MIL,FYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.MM;function Hji(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,SN.jsxs)("div",{className:oG["profileline-wrapper"],children:[(0,SN.jsx)("div",{className:oG["profileline-label-wrapper"],children:(0,SN.jsx)("span",{title:e(BYe),"data-test":BYe,i18n:BYe,children:e(BYe)})}),(0,SN.jsxs)("div",{className:oG["profileline-content-wrapper"],children:[(0,SN.jsxs)("label",{className:oG["profileline-content-item-wrapper"],children:[(0,SN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"newFootprintDocUint",name:"newFootprintDocUint1",type:"radio",value:"mil",className:oG["profile-input-radio"],onChange:()=>{o("newFootprintDocUint","mil")},checked:i.newFootprintDocUint.value==="mil"}),(0,SN.jsx)("span",{title:e(zYe),i18n:zYe,"data-test":zYe,className:oG["profile-input-tips"],children:e(zYe)})]}),(0,SN.jsxs)("label",{className:oG["profileline-content-item-wrapper"],children:[(0,SN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"newFootprintDocUint",name:"newFootprintDocUint2",type:"radio",value:"mm",className:oG["profile-input-radio"],onChange:()=>{o("newFootprintDocUint","mm")},checked:i.newFootprintDocUint.value==="mm"}),(0,SN.jsx)("span",{title:e(FYe),i18n:FYe,"data-test":FYe,className:oG["profile-input-tips"],children:e(FYe)})]})]})]})}var Gji=L(No());var MN=L(z()),{locals:rG}=Gji.default,UYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.END_PRIMITIVES_DRAWING,VYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.RIGHT_CLICK_TO_END_DRAWING,HYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CTRL_RIGHT_CLICK_TO_END_DRAWING;function Yji(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,MN.jsxs)("div",{className:rG["profileline-wrapper2"],children:[(0,MN.jsx)("div",{className:rG["profileline-label-wrapper2"],children:(0,MN.jsx)("span",{title:e(UYe),"data-test":UYe,i18n:UYe,children:e(UYe)})}),(0,MN.jsxs)("div",{className:rG["profileline-content-wrapper2"],children:[(0,MN.jsxs)("label",{className:rG["profileline-content-item-wrapper2"],children:[(0,MN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"endDrawing",name:"endDrawing1",type:"radio",value:"rightClick",className:rG["profile-input-radio"],onChange:()=>{o("endDrawing","rightClick")},checked:i.endDrawing.value==="rightClick"}),(0,MN.jsx)("span",{title:e(VYe),i18n:VYe,"data-test":VYe,className:rG["profile-input-tips"],children:e(VYe)})]}),(0,MN.jsxs)("label",{className:rG["profileline-content-item-wrapper2"],children:[(0,MN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"endDrawing",name:"endDrawing2",type:"radio",value:"ctrl+rightClick",className:rG["profile-input-radio"],onChange:()=>{o("endDrawing","ctrl+rightClick")},checked:i.endDrawing.value==="ctrl+rightClick"}),(0,MN.jsx)("span",{title:e(HYe),i18n:HYe,"data-test":HYe,className:rG["profile-input-tips"],children:e(HYe)})]})]})]})}var Wji=L(No());var IN=L(z()),{locals:nG}=Wji.default,GYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ADD_VIA_METHOD_WHILE_ROUTE,YYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ADD_AT_THE_LAST_INFLECTION_POINT,WYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ADD_AT_THE_CURRENT_INFLECTION_POINT;function Qji(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,IN.jsxs)("div",{className:nG["profileline-wrapper"],children:[(0,IN.jsx)("div",{className:nG["profileline-label-wrapper"],children:(0,IN.jsx)("span",{title:e(GYe),"data-test":GYe,i18n:GYe,children:e(GYe)})}),(0,IN.jsxs)("div",{className:nG["profileline-content-wrapper"],children:[(0,IN.jsxs)("label",{className:nG["profileline-content-item-wrapper"],children:[(0,IN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"addViaMethodWhileRoute",name:"addViaMethodWhileRoute1",type:"radio",value:"lastInflectionPoint",className:nG["profile-input-radio"],onChange:()=>{o("addViaMethodWhileRoute","lastInflectionPoint")},checked:i.addViaMethodWhileRoute.value==="lastInflectionPoint"}),(0,IN.jsx)("span",{title:e(YYe),i18n:YYe,"data-test":YYe,className:nG["profile-input-tips"],children:e(YYe)})]}),(0,IN.jsxs)("label",{className:nG["profileline-content-item-wrapper"],children:[(0,IN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"addViaMethodWhileRoute",name:"addViaMethodWhileRoute2",type:"radio",value:"currentInflectionPoint",className:nG["profile-input-radio"],onChange:()=>{o("addViaMethodWhileRoute","currentInflectionPoint")},checked:i.addViaMethodWhileRoute.value==="currentInflectionPoint"}),(0,IN.jsx)("span",{title:e(WYe),i18n:WYe,"data-test":WYe,className:nG["profile-input-tips"],children:e(WYe)})]})]})]})}var Kji=L(No());var LN=L(z()),{locals:aG}=Kji.default,QYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ROTATION_OBJECTS,KYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ROTATE_SINGLE_OBJECT,ZYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ROTATE_THE_SELECTED_WHOLE;function Zji(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,LN.jsxs)("div",{className:aG["profileline-wrapper"],children:[(0,LN.jsx)("div",{className:aG["profileline-label-wrapper"],children:(0,LN.jsx)("span",{title:e(QYe),"data-test":QYe,i18n:QYe,children:e(QYe)})}),(0,LN.jsxs)("div",{className:aG["profileline-content-wrapper"],children:[(0,LN.jsxs)("label",{className:aG["profileline-content-item-wrapper"],children:[(0,LN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"rotateWhole",name:"rotateWhole1",type:"radio",value:"single",className:aG["profile-input-radio"],onChange:()=>{o("rotateWhole","single")},checked:i.rotateWhole.value==="single"}),(0,LN.jsx)("span",{title:e(KYe),i18n:KYe,"data-test":KYe,className:aG["profile-input-tips"],children:e(KYe)})]}),(0,LN.jsxs)("label",{className:aG["profileline-content-item-wrapper"],children:[(0,LN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"rotateWhole",name:"rotateWhole2",type:"radio",value:"whole",className:aG["profile-input-radio"],onChange:()=>{o("rotateWhole","whole")},checked:i.rotateWhole.value==="whole"}),(0,LN.jsx)("span",{title:e(ZYe),i18n:ZYe,"data-test":ZYe,className:aG["profile-input-tips"],children:e(ZYe)})]})]})]})}var Jji=L(No());var vN=L(z()),{locals:sG}=Jji.default,JYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.START_TRACK_WIDTH_FOR_NEW_DOC,qYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.FOLLOW_RULE,XYe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CUSTOMIZE;function qji(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,vN.jsxs)("div",{className:sG["profileline-wrapper"],children:[(0,vN.jsx)("div",{className:sG["profileline-label-wrapper"],children:(0,vN.jsx)("span",{title:e(JYe),"data-test":JYe,i18n:JYe,children:e(JYe)})}),(0,vN.jsxs)("div",{className:sG["profileline-content-wrapper"],children:[(0,vN.jsxs)("label",{className:sG["profileline-content-item-wrapper"],children:[(0,vN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"startTrackWidth",name:"startTrackWidth1",type:"radio",value:"rule",className:sG["profile-input-radio"],onChange:()=>{o("startTrackWidth","rule")},checked:i.startTrackWidth.value==="rule"}),(0,vN.jsx)("span",{title:e(qYe),i18n:qYe,"data-test":qYe,className:sG["profile-input-tips"],children:e(qYe)})]}),(0,vN.jsxs)("label",{className:sG["profileline-content-item-wrapper"],children:[(0,vN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"startTrackWidth",name:"startTrackWidth2",type:"radio",value:"last",className:sG["profile-input-radio"],onChange:()=>{o("startTrackWidth","last")},checked:i.startTrackWidth.value==="last"}),(0,vN.jsx)("span",{title:e(XYe),i18n:XYe,"data-test":XYe,className:sG["profile-input-tips"],children:e(XYe)})]})]})]})}var Xji=L(No());var DN=L(z()),{locals:lG}=Xji.default,$Ye=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.START_VIA_SIZE_FOR_NEW_DOCUMENT,eWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.FOLLOW_RULE,tWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CUSTOMIZE;function $ji(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,DN.jsxs)("div",{className:lG["profileline-wrapper"],children:[(0,DN.jsx)("div",{className:lG["profileline-label-wrapper"],children:(0,DN.jsx)("span",{title:e($Ye),"data-test":$Ye,i18n:$Ye,children:e($Ye)})}),(0,DN.jsxs)("div",{className:lG["profileline-content-wrapper"],children:[(0,DN.jsxs)("label",{className:lG["profileline-content-item-wrapper"],children:[(0,DN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"startViaSize",name:"startViaSize1",type:"radio",value:"rule",className:lG["profile-input-radio"],onChange:()=>{o("startViaSize","rule")},checked:i.startViaSize.value==="rule"}),(0,DN.jsx)("span",{title:e(eWe),i18n:eWe,"data-test":eWe,className:lG["profile-input-tips"],children:e(eWe)})]}),(0,DN.jsxs)("label",{className:lG["profileline-content-item-wrapper"],children:[(0,DN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"startViaSize",name:"startViaSize2",type:"radio",value:"last",className:lG["profile-input-radio"],onChange:()=>{o("startViaSize","last")},checked:i.startViaSize.value==="last"}),(0,DN.jsx)("span",{title:e(tWe),i18n:tWe,"data-test":tWe,className:lG["profile-input-tips"],children:e(tWe)})]})]})]})}var eBi=L(No());var cG=L(z()),{locals:she}=eBi.default,iWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ROUTE,oWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.PREFER_PLACE_BLIND;function tBi(t){let e=J(),{storage:i,onUpdate:o}=t,r=n=>{let a=n.target;o("isPriorityViaToggleLayerRouting",!!a.checked)};return(0,cG.jsxs)("div",{className:she["profileline-wrapper"],children:[(0,cG.jsx)("div",{className:she["profileline-label-wrapper"],children:(0,cG.jsx)("span",{title:e(iWe),"data-test":iWe,i18n:iWe,children:e(iWe)})}),(0,cG.jsx)("div",{className:she["profileline-content-wrapper"],children:(0,cG.jsxs)("label",{className:she["profileline-content-item-wrapper"],children:[(0,cG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isPriorityViaToggleLayerRouting",name:"isPriorityViaToggleLayerRouting",type:"checkbox",value:"true",className:she["profile-input-checkbox"],onChange:r,checked:i.isPriorityViaToggleLayerRouting.value===!0}),(0,cG.jsx)("span",{title:e(oWe),i18n:oWe,"data-test":oWe,className:she["profile-input-tips"],children:e(oWe)})]})})]})}var iBi=L(No());var dG=L(z()),{locals:lhe}=iBi.default,rWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.AUTO_CHANGE_LAYER_WHILE_ROUTING_VIAS;function oBi(t){let e=J(),{storage:i,onUpdate:o}=t,r=n=>{let a=n.target;o("autoChangeLayerWhileRoutingVias",!!a.checked)};return(0,dG.jsxs)("div",{className:lhe["profileline-wrapper"],children:[(0,dG.jsx)("div",{className:lhe["profileline-label-wrapper"],children:(0,dG.jsx)("span",{})}),(0,dG.jsx)("div",{className:lhe["profileline-content-wrapper"],children:(0,dG.jsxs)("label",{className:lhe["profileline-content-item-wrapper"],children:[(0,dG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"autoChangeLayerWhileRoutingVias",name:"autoChangeLayerWhileRoutingVias",type:"checkbox",value:"true",className:lhe["profile-input-checkbox"],onChange:r,checked:i.autoChangeLayerWhileRoutingVias.value===!0}),(0,dG.jsx)("span",{title:e(rWe),i18n:rWe,"data-test":rWe,className:lhe["profile-input-tips"],children:e(rWe)})]})})]})}var rBi=L(No());var uG=L(z()),{locals:che}=rBi.default,aIr=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.AUTOMATIC_FAN_OUT;function nBi(t){let e=aIr,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("routeAutoFanoutEnd",!!s.checked)};return(0,uG.jsxs)("div",{className:che["profileline-wrapper"],children:[(0,uG.jsx)("div",{className:che["profileline-label-wrapper"],children:(0,uG.jsx)("span",{})}),(0,uG.jsx)("div",{className:che["profileline-content-wrapper"],children:(0,uG.jsxs)("label",{className:che["profileline-content-item-wrapper"],children:[(0,uG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"routeAutoFanoutEnd",name:"routeAutoFanoutEnd",type:"checkbox",value:"true",className:che["profile-input-checkbox"],onChange:n,checked:o.routeAutoFanoutEnd.value===!0}),(0,uG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:che["profile-input-tips"],children:i(e)})]})})]})}var aBi=L(No());var pG=L(z()),{locals:dhe}=aBi.default,nWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.TERMINATE_ROUTING_AUTOMATICALLY;function sBi(t){let e=J(),{storage:i,onUpdate:o}=t,r=n=>{let a=n.target;o("autoTerminateRouting",!!a.checked)};return(0,pG.jsxs)("div",{className:dhe["profileline-wrapper"],children:[(0,pG.jsx)("div",{className:dhe["profileline-label-wrapper"],children:(0,pG.jsx)("span",{})}),(0,pG.jsx)("div",{className:dhe["profileline-content-wrapper"],children:(0,pG.jsxs)("label",{className:dhe["profileline-content-item-wrapper"],children:[(0,pG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"autoTerminateRouting",name:"autoTerminateRouting",type:"checkbox",value:"true",className:dhe["profile-input-checkbox"],onChange:r,checked:i.autoTerminateRouting.value===!0}),(0,pG.jsx)("span",{title:e(nWe),i18n:nWe,"data-test":nWe,className:dhe["profile-input-tips"],children:e(nWe)})]})})]})}var lBi=L(No());var mG=L(z()),{locals:uhe}=lBi.default,aWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ASSIGN_NET_FOR_FREE_TRACK;function cBi(t){let e=J(),{storage:i,onUpdate:o}=t,r=n=>{let a=n.target;o("isAssignNetForFreeTrack",!!a.checked)};return(0,mG.jsxs)("div",{className:uhe["profileline-wrapper"],children:[(0,mG.jsx)("div",{className:uhe["profileline-label-wrapper"],children:(0,mG.jsx)("span",{})}),(0,mG.jsx)("div",{className:uhe["profileline-content-wrapper"],children:(0,mG.jsxs)("label",{className:uhe["profileline-content-item-wrapper"],children:[(0,mG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isAssignNetForFreeTrack",name:"isAssignNetForFreeTrack",type:"checkbox",value:"true",className:uhe["profile-input-checkbox"],onChange:r,checked:i.isAssignNetForFreeTrack.value===!0}),(0,mG.jsx)("span",{title:e(aWe),i18n:aWe,"data-test":aWe,className:uhe["profile-input-tips"],children:e(aWe)})]})})]})}var dBi=L(No());var hG=L(z()),{locals:phe}=dBi.default,sWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ADD_TEARDROP_AUTOMATICALLY;function uBi(t){let e=J(),{storage:i,onUpdate:o}=t,r=n=>{let a=n.target;o("addTeardropAutomatically",!!a.checked)};return(0,hG.jsxs)("div",{className:phe["profileline-wrapper"],children:[(0,hG.jsx)("div",{className:phe["profileline-label-wrapper"],children:(0,hG.jsx)("span",{})}),(0,hG.jsx)("div",{className:phe["profileline-content-wrapper"],children:(0,hG.jsxs)("label",{className:phe["profileline-content-item-wrapper"],children:[(0,hG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"addTeardropAutomatically",name:"addTeardropAutomatically",type:"checkbox",value:"true",className:phe["profile-input-checkbox"],onChange:r,checked:i.addTeardropAutomatically.value===!0}),(0,hG.jsx)("span",{title:e(sWe),i18n:sWe,"data-test":sWe,className:phe["profile-input-tips"],children:e(sWe)})]})})]})}var pBi=L(No());var fG=L(z()),{locals:mhe}=pBi.default;function mBi(t){let e=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.DRAG_MOVE,i=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CTRL_DRAG_TO_COPY,o=J(),{storage:r,onUpdate:n}=t,a=s=>{let l=s.target;n("isCtrlDragToCopy",!!l.checked)};return(0,fG.jsxs)("div",{className:mhe["profileline-wrapper"],children:[(0,fG.jsx)("div",{className:mhe["profileline-label-wrapper"],children:(0,fG.jsx)("span",{title:o(e),"data-test":e,i18n:e,children:o(e)})}),(0,fG.jsx)("div",{className:mhe["profileline-content-wrapper"],children:(0,fG.jsxs)("label",{className:mhe["profileline-content-item-wrapper"],children:[(0,fG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isCtrlDragToCopy",name:"isCtrlDragToCopy",type:"checkbox",value:"true",className:mhe["profile-input-checkbox"],onChange:a,checked:r.isCtrlDragToCopy.value===!0}),(0,fG.jsx)("span",{title:o(i),i18n:i,"data-test":i,className:mhe["profile-input-tips"],children:o(i)})]})})]})}var hBi=L(No());var gG=L(z()),{locals:hhe}=hBi.default;function fBi(t){let e=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CURSOR_SNAPS_TO_CENTER,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("snapToCenterWhileDragPadOrVia",!!s.checked)};return(0,gG.jsxs)("div",{className:hhe["profileline-wrapper"],children:[(0,gG.jsx)("div",{className:hhe["profileline-label-wrapper"],children:(0,gG.jsx)("span",{})}),(0,gG.jsx)("div",{className:hhe["profileline-content-wrapper"],children:(0,gG.jsxs)("label",{className:hhe["profileline-content-item-wrapper"],children:[(0,gG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"snapToCenterWhileDragPadOrVia",name:"snapToCenterWhileDragPadOrVia",type:"checkbox",value:"true",className:hhe["profile-input-checkbox"],onChange:n,checked:o.snapToCenterWhileDragPadOrVia.value===!0}),(0,gG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:hhe["profile-input-tips"],children:i(e)})]})})]})}var gBi=L(No());var bG=L(z()),{locals:fhe}=gBi.default;function bBi(t){let e=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CURSOR_SNAPS_TO_ORIGIN,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("snapToOriginWhileDragFootprint",!!s.checked)};return(0,bG.jsxs)("div",{className:fhe["profileline-wrapper"],children:[(0,bG.jsx)("div",{className:fhe["profileline-label-wrapper"],children:(0,bG.jsx)("span",{})}),(0,bG.jsx)("div",{className:fhe["profileline-content-wrapper"],children:(0,bG.jsxs)("label",{className:fhe["profileline-content-item-wrapper"],children:[(0,bG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"snapToOriginWhileDragFootprint",name:"snapToOriginWhileDragFootprint",type:"checkbox",value:"true",className:fhe["profile-input-checkbox"],onChange:n,checked:o.snapToOriginWhileDragFootprint.value===!0}),(0,bG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:fhe["profile-input-tips"],children:i(e)})]})})]})}var yBi=L(No());var yG=L(z()),{locals:ghe}=yBi.default;function wBi(t){let e=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ALIGN_IN_ADJACENT,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("alignToNearComponentOrPadWhileDrag",!!s.checked)};return(0,yG.jsxs)("div",{className:ghe["profileline-wrapper"],children:[(0,yG.jsx)("div",{className:ghe["profileline-label-wrapper"],children:(0,yG.jsx)("span",{})}),(0,yG.jsx)("div",{className:ghe["profileline-content-wrapper"],children:(0,yG.jsxs)("label",{className:ghe["profileline-content-item-wrapper"],children:[(0,yG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"alignToNearComponentOrPadWhileDrag",name:"alignToNearComponentOrPadWhileDrag",type:"checkbox",value:"true",className:ghe["profile-input-checkbox"],onChange:n,checked:o.alignToNearComponentOrPadWhileDrag.value===!0}),(0,yG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:ghe["profile-input-tips"],children:i(e)})]})})]})}var CBi=L(No());var EN=L(z()),{locals:wG}=CBi.default;function xBi(t){let e=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.MOVE_THE_FOOTPRINT_WIRE_FOLLOWING_WAY,i=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.WIRE_FOLLOWING,o=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.WIRE_NOT_FOLLOWING,r=J(),{storage:n,onUpdate:a}=t;return(0,EN.jsxs)("div",{className:wG["profileline-wrapper2"],children:[(0,EN.jsx)("div",{className:wG["profileline-label-wrapper2"],children:(0,EN.jsx)("span",{title:r(e),"data-test":e,i18n:e,children:r(e)})}),(0,EN.jsxs)("div",{className:wG["profileline-content-wrapper2"],children:[(0,EN.jsxs)("label",{className:wG["profileline-content-item-wrapper2"],children:[(0,EN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"trackFollow",name:"trackFollow1",type:"radio",value:"moveKeep",className:wG["profile-input-radio"],onChange:()=>{a("trackFollow","moveKeep")},checked:n.trackFollow.value==="moveKeep"}),(0,EN.jsx)("span",{title:r(i),i18n:i,"data-test":i,className:wG["profile-input-tips"],children:r(i)})]}),(0,EN.jsxs)("label",{className:wG["profileline-content-item-wrapper2"],children:[(0,EN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"trackFollow",name:"trackFollow2",type:"radio",value:"moveDisconnect",className:wG["profile-input-radio"],onChange:()=>{a("trackFollow","moveDisconnect")},checked:n.trackFollow.value==="moveDisconnect"}),(0,EN.jsx)("span",{title:r(o),i18n:o,"data-test":o,className:wG["profile-input-tips"],children:r(o)})]})]})]})}var TBi=L(No());var AN=L(z()),{locals:CG}=TBi.default;function SBi(t){let e=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.MOVE_THE_VIA_WIRE_FOLLOWING_WAY,i=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.WIRE_FOLLOWING,o=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.WIRE_NOT_FOLLOWING,r=J(),{storage:n,onUpdate:a}=t;return(0,AN.jsxs)("div",{className:CG["profileline-wrapper2"],children:[(0,AN.jsx)("div",{className:CG["profileline-label-wrapper2"],children:(0,AN.jsx)("span",{title:r(e),"data-test":e,i18n:e,children:r(e)})}),(0,AN.jsxs)("div",{className:CG["profileline-content-wrapper2"],children:[(0,AN.jsxs)("label",{className:CG["profileline-content-item-wrapper2"],children:[(0,AN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"trackFollowVia",name:"trackFollowVia1",type:"radio",value:"moveKeep",className:CG["profile-input-radio"],onChange:()=>{a("trackFollowVia","moveKeep")},checked:n.trackFollowVia.value==="moveKeep"}),(0,AN.jsx)("span",{title:r(i),i18n:i,"data-test":i,className:CG["profile-input-tips"],children:r(i)})]}),(0,AN.jsxs)("label",{className:CG["profileline-content-item-wrapper2"],children:[(0,AN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"trackFollowVia",name:"trackFollowVia2",type:"radio",value:"moveDisconnect",className:CG["profile-input-radio"],onChange:()=>{a("trackFollowVia","moveDisconnect")},checked:n.trackFollowVia.value==="moveDisconnect"}),(0,AN.jsx)("span",{title:r(o),i18n:o,"data-test":o,className:CG["profile-input-tips"],children:r(o)})]})]})]})}var MBi=L(No());var xG=L(z()),{locals:bhe}=MBi.default;function IBi(t){let e=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.OTHER,i=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CHECK_NET_CONNECTIONS,o=J(),{storage:r,onUpdate:n}=t,a=s=>{let l=s.target;n("isCheckNetBeforeGerber",!!l.checked)};return(0,xG.jsxs)("div",{className:bhe["profileline-wrapper"],children:[(0,xG.jsx)("div",{className:bhe["profileline-label-wrapper"],children:(0,xG.jsx)("span",{title:o(e),"data-test":e,i18n:e,children:o(e)})}),(0,xG.jsx)("div",{className:bhe["profileline-content-wrapper"],children:(0,xG.jsxs)("label",{className:bhe["profileline-content-item-wrapper"],children:[(0,xG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isCheckNetBeforeGerber",name:"isCheckNetBeforeGerber",type:"checkbox",value:"true",className:bhe["profile-input-checkbox"],onChange:a,checked:r.isCheckNetBeforeGerber.value===!0}),(0,xG.jsx)("span",{title:o(i),i18n:i,"data-test":i,className:bhe["profile-input-tips"],children:o(i)})]})})]})}var LBi=L(No());var TG=L(z()),{locals:yhe}=LBi.default;function vBi(t){let e=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CHECK_DRC,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("isCheckDrcBeforeGerber",!!s.checked)};return(0,TG.jsxs)("div",{className:yhe["profileline-wrapper"],children:[(0,TG.jsx)("div",{className:yhe["profileline-label-wrapper"],children:(0,TG.jsx)("span",{})}),(0,TG.jsx)("div",{className:yhe["profileline-content-wrapper"],children:(0,TG.jsxs)("label",{className:yhe["profileline-content-item-wrapper"],children:[(0,TG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isCheckDrcBeforeGerber",name:"isCheckDrcBeforeGerber",type:"checkbox",value:"true",className:yhe["profile-input-checkbox"],onChange:n,checked:o.isCheckDrcBeforeGerber.value===!0}),(0,TG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:yhe["profile-input-tips"],children:i(e)})]})})]})}var DBi=L(No());var SG=L(z()),{locals:whe}=DBi.default;function EBi(t){let e=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ASSIGN_FROM_THE_END,i=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.FILL_GAPS,o=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.DO_NOT_ASSIGN,r=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ANNOTATE_DESIGNATOR,n=J(),{storage:a,onUpdate:s}=t,l=ZU(a.isKeepRefdesPaste.value),c=[{content:e,onChange(d){s("isKeepRefdesPaste","1")},checked:l==="1"},{content:i,onChange(d){s("isKeepRefdesPaste","2")},checked:l==="2"},{content:o,onChange(d){s("isKeepRefdesPaste","3")},checked:l==="3"}];return(0,SG.jsxs)("div",{className:whe["profileline-wrapper2"],children:[(0,SG.jsx)("div",{className:whe["profileline-label-wrapper2"],children:(0,SG.jsx)("span",{title:n(r),"data-test":r,i18n:r,children:n(r)})}),(0,SG.jsx)("div",{className:whe["profileline-content-wrapper2"],children:c.map(({content:d,onChange:u,checked:p})=>(0,SG.jsxs)("label",{className:whe["profileline-content-item-wrapper2"],children:[(0,SG.jsx)("input",{"data-input-type":"radio","data-attritem-input":d,name:d,type:"radio",value:"true",className:whe["profile-input-checkbox"],onChange:m=>{u(m.target)},checked:p}),(0,SG.jsx)("span",{title:n(d),i18n:d,"data-test":d,className:whe["profile-input-tips"],children:n(d)})]},d))})]})}var ABi=L(No());var MG=L(z()),{locals:Che}=ABi.default;function NBi(t){let e=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.USING_JLC_COLOR_SILKSCREEN_TECHNOLOGY,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("isUsedJLCColorSilk",!!s.checked)};return(0,MG.jsxs)("div",{className:Che["profileline-wrapper"],children:[(0,MG.jsx)("div",{className:Che["profileline-label-wrapper"],children:(0,MG.jsx)("span",{})}),(0,MG.jsx)("div",{className:Che["profileline-content-wrapper"],children:(0,MG.jsxs)("label",{className:Che["profileline-content-item-wrapper"],children:[(0,MG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isUsedJLCColorSilk",name:"isUsedJLCColorSilk",type:"checkbox",value:"true",className:Che["profile-input-checkbox"],onChange:n,checked:o.isUsedJLCColorSilk.value===!0}),(0,MG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:Che["profile-input-tips"],children:i(e)})]})})]})}var kBi=L(Se());var PBi=L(No());var XT=L(z()),{locals:sMe}=PBi.default,lWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ALT_SNAP_SIZE,cWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.GRIDX,dWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.GRIDY;function OBi(t){let e=J(),{storage:i,onUpdate:o}=t,r=JSON.parse(JSON.stringify(i.altGridSize.value)),n=(0,kBi.useRef)({changeExecTimer:null}),a=r.GridX,s=r.GridY,l=(f,g)=>{switch(f){case"altGridSizeX":{r.GridX.number=g;break}case"altGridSizeXUnit":{r.GridX.unit=g;break}case"altGridSizeY":{r.GridY.number=g;break}case"altGridSizeYUnit":{r.GridY.unit=g;break}}o("altGridSize",r)},c=f=>{let g=f.target;g&&g.select()},d=(f,g)=>{window.clearTimeout(n.current.changeExecTimer);let b=f.target,y=b.value,w=b.getAttribute("data-attritem-input");n.current.changeExecTimer=window.setTimeout(()=>{let x=Z3({value:y},g==="GridX"?a.unit==="mil"?1:3:s.unit==="mil"?1:3).value;l(w,x)})},u=(f,g)=>{let b=f.target,y=b.value.trim(),w=b.getAttribute("data-attritem-input"),x=Z3({value:y},g==="GridX"?a.unit==="mil"?1:3:s.unit==="mil"?1:3,!0).value;if(y===""||+y<=0||+x<=0){l(w,1);return}l(w,+x)},p=(f,g)=>{l(g==="GridX"?"altGridSizeXUnit":"altGridSizeYUnit",f);let y=g==="GridX"?a.number:s.number,w=f==="mil"?ue.unitConversion.mm2mil(y):ue.unitConversion.mil2mm(y);l(g==="GridX"?"altGridSizeX":"altGridSizeY",w)},m=Z3({value:String(a.number)},a.unit==="mil"?1:3).value,h=Z3({value:String(s.number)},s.unit==="mil"?1:3).value;return(0,XT.jsxs)("div",{className:sMe["profileline-wrapper2"],style:{overflow:"initial"},children:[(0,XT.jsx)("div",{className:sMe["profileline-label-wrapper2"],children:(0,XT.jsx)("span",{title:e(lWe),"data-test":lWe,i18n:lWe,children:e(lWe)})}),(0,XT.jsxs)("div",{className:sMe["profileline-content-wrapper2"],style:{display:"flex",flexDirection:"row",paddingBottom:"8px"},children:[(0,XT.jsxs)("div",{style:{display:"flex"},children:[(0,XT.jsxs)("label",{htmlFor:"altGridSizeX",style:{display:"flex"},children:[(0,XT.jsx)("span",{title:e(cWe),"data-test":cWe,i18n:cWe,style:{width:"36px",flexShrink:0},children:e(cWe)}),(0,XT.jsx)("input",{"data-input-type":"input","data-attritem-input":"altGridSizeX",name:"altGridSizeX",type:"text",value:m,className:sMe["profile-input-text"],onChange:f=>{d(f,"GridX")},onBlur:f=>{u(f,"GridX")},onFocus:c,style:{width:"100px"}})]}),(0,XT.jsx)(xt,{"data-input-type":"single-select","data-attritem-input":"altGridSizeXUnit",name:"altGridSizeXUnit",value:a.unit,style:{width:"55px"},list:X8,onChange:f=>{p(f,"GridX")}})]}),(0,XT.jsxs)("div",{style:{display:"flex",marginLeft:"16px"},children:[(0,XT.jsxs)("label",{htmlFor:"altGridSizeY",style:{display:"flex"},children:[(0,XT.jsx)("span",{title:e(dWe),"data-test":dWe,i18n:dWe,style:{width:"36px",flexShrink:0},children:e(dWe)}),(0,XT.jsx)("input",{"data-input-type":"input","data-attritem-input":"altGridSizeY",name:"altGridSizY",type:"text",value:h,className:sMe["profile-input-text"],onChange:f=>{d(f,"GridY")},onBlur:f=>{u(f,"GridY")},onFocus:c,style:{width:"100px"}})]}),(0,XT.jsx)(xt,{"data-input-type":"single-select","data-attritem-input":"altGridSizeYUnit",name:"altGridSizeYUnit",value:s.unit,style:{width:"55px"},list:X8,onChange:f=>{p(f,"GridY")}})]})]})]})}var RBi=L(No());var xB=L(z()),{locals:uWe}=RBi.default,pWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.DEFAULT_FONT_TYPE_FOR_COMPONENT_PROPERTIES,mWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.FONT_TYPE;function _Bi(t){let e=J(),{storage:i,typefaceList:o,onUpdate:r}=t,n=o.map(l=>l.value==="default"?{...l,title:me.i18n(l.title)}:l),a=l=>{r("defaultComponentFontTypeface",l)},s=()=>{C.messageBus.publish("SWITCH_MENU_SELECTED","COMM_TYPEFACE")};return(0,xB.jsxs)("div",{className:uWe["profileline-wrapper2"],style:{overflow:"initial",margin:0},children:[(0,xB.jsx)("div",{className:uWe["profileline-label-wrapper2"],children:(0,xB.jsx)("span",{title:e(pWe),"data-test":pWe,i18n:pWe,children:e(pWe)})}),(0,xB.jsx)("div",{className:uWe["profileline-content-wrapper2"],style:{position:"relative"},children:(0,xB.jsx)("label",{className:uWe["profileline-content-item-wrapper2"],style:{display:"flex",paddingBottom:"8px"},children:(0,xB.jsxs)("div",{style:{display:"flex"},children:[(0,xB.jsx)("span",{title:e(mWe),"data-test":mWe,i18n:mWe,style:{width:"75px",flexShrink:0},children:e(mWe)}),(0,xB.jsx)(Jw,{style:{width:"156px"},"data-attritem-input":"defaultComponentFontTypeface",name:"defaultComponentFontTypeface",value:i.defaultComponentFontTypeface.value,list:n,onChange:a,onAddNewFontItemClick:s})]})})})]})}var Fq=L(Se());var jBi=L(No());var $T=L(z()),{locals:Dne}=jBi.default,lMe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.STROKE_WIDTH,kvt=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.HEIGHT;function BBi(t){let e=J(),{storage:i,onUpdate:o}=t,r=(0,Fq.useRef)(new Map),n=(0,Fq.useRef)({changeExecTimer:null}),a=i.defaultComponentFontHeightUnit,s=i.defaultComponentFontStrokeWidthUnit,[l,c]=(0,Fq.useState)(i.defaultComponentFontStrokeWidth.value),[d,u]=(0,Fq.useState)(i.defaultComponentFontHeight.value),p=(T,M)=>{o(T,M)},m=T=>{let M=T.target;M&&M.select()},h=(T,M)=>{window.clearTimeout(n.current.changeExecTimer);let I=T.target,A=I.value.trim(),D=I.getAttribute("data-attritem-input");n.current.changeExecTimer=window.setTimeout(()=>{let E=Z3({value:A},M===lMe?s.value==="mil"?1:3:a.value==="mil"?1:3).value;r.current.set(D,!0);let N=null;switch(D){case"defaultComponentFontStrokeWidth":{N=c;break}case"defaultComponentFontHeight":{N=u;break}}N&&N(E)})},f=(T,M)=>{let I=T.target,A=I.value.trim(),D=I.getAttribute("data-attritem-input"),E=Z3({value:A},M===lMe?s.value==="mil"?1:3:a.value==="mil"?1:3,!0).value,N=null;switch(D){case"defaultComponentFontStrokeWidth":{N=c;break}case"defaultComponentFontHeight":{N=u;break}}if(A===""||+A<=0||+E<=0){N&&N(1),p(D,1);return}r.current.get(D)===!0&&(N&&N(E),p(D,E))},g=(T,M)=>{let I,A,D,E,N;switch(M){case lMe:I="defaultComponentFontStrokeWidthUnit",A=l,D=i.defaultComponentFontStrokeWidthUnit.value,E="defaultComponentFontStrokeWidth",N=c;break;case kvt:I="defaultComponentFontHeightUnit",A=d,D=i.defaultComponentFontHeightUnit.value,E="defaultComponentFontHeight",N=u;break;default:throw new Error(`Unknown unitType: ${M}`)}let R=String(ue.unitConversion.conversion1(D,T,+A));p(E,R),p(I,T),N(R)},b=i.defaultComponentFontTypeface.value,y=Z3({value:String(l)},s.value==="mil"?1:3).value,w=Z3({value:String(d)},a.value==="mil"?1:3).value;(0,Fq.useEffect)(()=>{String(i.defaultComponentFontStrokeWidth.value)!==l&&c(i.defaultComponentFontStrokeWidth.value),String(i.defaultComponentFontHeight.value)!==d&&u(i.defaultComponentFontHeight.value)},[i.defaultComponentFontStrokeWidth,i.defaultComponentFontHeight]);let x=(0,$T.jsxs)("div",{style:{display:"flex"},children:[(0,$T.jsxs)("label",{className:Dne["profileline-content-item-wrapper2"],style:{display:"flex",flexShrink:"0"},children:[(0,$T.jsx)("span",{title:e("Stroke Width"),"data-test":"Stroke Width",i18n:"Stroke Width",style:{width:"75px",flexShrink:0},children:e("Stroke Width")}),(0,$T.jsx)("input",{"data-input-type":"input","data-attritem-input":"defaultComponentFontStrokeWidth",name:"defaultComponentFontStrokeWidth",type:"text",value:y,className:Dne["profile-input-text"],onChange:T=>{h(T,lMe)},onBlur:T=>{f(T,lMe)},onFocus:m,style:{width:"100px"}})]}),(0,$T.jsx)(xt,{"data-input-type":"single-select","data-attritem-input":"defaultComponentFontStrokeWidthUnit",name:"defaultComponentFontStrokeWidthUnit",value:s.value,style:{width:"55px"},list:X8,onChange:T=>{g(T,"Stroke Width")}})]}),S=(0,$T.jsxs)("div",{style:{display:"flex"},children:[(0,$T.jsxs)("label",{className:Dne["profileline-content-item-wrapper2"],style:{display:"flex",flexShrink:"0"},children:[(0,$T.jsx)("span",{title:e("Height"),"data-test":"Height",i18n:"Height",style:{width:"75px",flexShrink:0},children:e("Height")}),(0,$T.jsx)("input",{"data-input-type":"input","data-attritem-input":"defaultComponentFontHeight",name:"defaultComponentFontHeight",type:"text",value:w,className:Dne["profile-input-text"],onChange:T=>{h(T,kvt)},onBlur:T=>{f(T,kvt)},onFocus:m,style:{width:"100px"}})]}),(0,$T.jsx)(xt,{"data-input-type":"single-select","data-attritem-input":"defaultComponentFontHeightUnit",name:"defaultComponentFontHeightUnit",value:a.value,style:{width:"55px"},list:X8,onChange:T=>{g(T,"Height")}})]});return(0,$T.jsxs)("div",{className:Dne["profileline-wrapper2"],style:{overflow:"initial"},children:[(0,$T.jsx)("div",{className:Dne["profileline-label-wrapper2"],children:(0,$T.jsx)("span",{})}),(0,$T.jsxs)("div",{className:Dne["profileline-content-wrapper2"],style:{position:"relative"},children:[b==="default"?x:null,S]})]})}var zBi=L(No());var IG=L(z()),{locals:xhe}=zBi.default;function FBi(t){let e=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.PREVIEW_3D_FILE,i="isAutoGenerate3dModel",o=J(),{storage:r,onUpdate:n}=t,a=s=>{let l=s.target;n(i,!!l.checked)};return(0,IG.jsxs)("div",{className:xhe["profileline-wrapper"],children:[(0,IG.jsx)("div",{className:xhe["profileline-label-wrapper"],children:(0,IG.jsx)("span",{})}),(0,IG.jsx)("div",{className:xhe["profileline-content-wrapper"],children:(0,IG.jsxs)("label",{className:xhe["profileline-content-item-wrapper"],children:[(0,IG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isAutoGenerate3dModel",name:i,type:"checkbox",value:"true",className:xhe["profile-input-checkbox"],onChange:a,checked:r[i].value===!0}),(0,IG.jsx)("span",{title:o(e),i18n:e,"data-test":e,className:xhe["profile-input-tips"],children:o(e)})]})})]})}var UBi=L(No());var LG=L(z()),{locals:The}=UBi.default,hWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.SELECT_THE_LOOP_SEGMENT;function VBi(t){let e=J(),{storage:i,onUpdate:o}=t,r=n=>{let a=n.target;o("selectLoopWindowRemovingLoop",!!a.checked)};return(0,LG.jsxs)("div",{className:The["profileline-wrapper"],children:[(0,LG.jsx)("div",{className:The["profileline-label-wrapper"],children:(0,LG.jsx)("span",{})}),(0,LG.jsx)("div",{className:The["profileline-content-wrapper"],children:(0,LG.jsxs)("label",{className:The["profileline-content-item-wrapper"],children:[(0,LG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"selectLoopWindowRemovingLoop",name:"selectLoopWindowRemovingLoop",type:"checkbox",value:"true",className:The["profile-input-checkbox"],onChange:r,checked:i.selectLoopWindowRemovingLoop.value===!0}),(0,LG.jsx)("span",{title:e(hWe),i18n:hWe,"data-test":hWe,className:The["profile-input-tips"],children:e(hWe)})]})})]})}var HBi=L(No());var vG=L(z()),{locals:She}=HBi.default;function GBi(t){let e=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.MOVE_PLACE_PASTE_VIA,i="isPlaceViasAutoShove",o=J(),{storage:r,onUpdate:n}=t,a=s=>{let l=s.target;n(i,!!l.checked)};return(0,vG.jsxs)("div",{className:She["profileline-wrapper"],children:[(0,vG.jsx)("div",{className:She["profileline-label-wrapper"],children:(0,vG.jsx)("span",{})}),(0,vG.jsx)("div",{className:She["profileline-content-wrapper"],children:(0,vG.jsxs)("label",{className:She["profileline-content-item-wrapper"],children:[(0,vG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"IsPlaceViasAutoShove",name:i,type:"checkbox",value:"true",className:She["profile-input-checkbox"],onChange:a,checked:r[i].value===!0}),(0,vG.jsx)("span",{title:o(e),i18n:e,"data-test":e,className:She["profile-input-tips"],children:o(e)})]})})]})}var YBi=L(No());var aM=L(z()),{locals:NN}=YBi.default,fWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.MOVE_COMPONENT,gWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.PUSH,bWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.BLOCK,yWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.IGNORE;function WBi(t){let e=J(),{storage:i,onUpdate:o}=t;return(0,aM.jsxs)("div",{className:NN["profileline-wrapper"],children:[(0,aM.jsx)("div",{className:NN["profileline-label-wrapper"],children:(0,aM.jsx)("span",{title:e(fWe),"data-test":fWe,i18n:fWe,children:e(fWe)})}),(0,aM.jsxs)("div",{className:NN["profileline-content-wrapper"],children:[(0,aM.jsxs)("label",{className:NN["profileline-content-item-wrapper"],children:[(0,aM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"moveComponet",name:"moveComponet1",type:"radio",value:"push",className:NN["profile-input-radio"],onChange:()=>{o("moveComponet","push")},checked:i.moveComponet.value==="push"}),(0,aM.jsx)("span",{title:e(gWe),i18n:gWe,"data-test":gWe,className:NN["profile-input-tips"],children:e(gWe)})]}),(0,aM.jsxs)("label",{className:NN["profileline-content-item-wrapper"],children:[(0,aM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"moveComponet",name:"moveComponet2",type:"radio",value:"block",className:NN["profile-input-radio"],onChange:()=>{o("moveComponet","block")},checked:i.moveComponet.value==="block"}),(0,aM.jsx)("span",{title:e(bWe),i18n:bWe,"data-test":bWe,className:NN["profile-input-tips"],children:e(bWe)})]}),(0,aM.jsxs)("label",{className:NN["profileline-content-item-wrapper"],children:[(0,aM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"moveComponet",name:"moveComponet3",type:"radio",value:"ignore",className:NN["profile-input-radio"],onChange:()=>{o("moveComponet","ignore")},checked:i.moveComponet.value==="ignore"}),(0,aM.jsx)("span",{title:e(yWe),i18n:yWe,"data-test":yWe,className:NN["profile-input-tips"],children:e(yWe)})]})]})]})}var QBi=L(No());var DG=L(z()),{locals:Mhe}=QBi.default,sIr=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.DOUBLE_CLICK_MOUSE_TO_PLACE_VIAS_WHEN_ROUTING;function KBi(t){let e=sIr,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("dblclickPlaceViasWhileRouting",!!s.checked)};return(0,DG.jsxs)("div",{className:Mhe["profileline-wrapper"],children:[(0,DG.jsx)("div",{className:Mhe["profileline-label-wrapper"],children:(0,DG.jsx)("span",{})}),(0,DG.jsx)("div",{className:Mhe["profileline-content-wrapper"],children:(0,DG.jsxs)("label",{className:Mhe["profileline-content-item-wrapper"],children:[(0,DG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"dblclickPlaceViasWhileRouting",name:"dblclickPlaceViasWhileRouting",type:"checkbox",value:"true",className:Mhe["profile-input-checkbox"],onChange:n,checked:o.dblclickPlaceViasWhileRouting.value===!0}),(0,DG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:Mhe["profile-input-tips"],children:i(e)})]})})]})}var ZBi=L(No());var EG=L(z()),{locals:Ihe}=ZBi.default;function JBi(t){let e=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.REBUILD_COPPER_REGION_AUTOMATICALLY,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("isRebuildCopperAuto",!!s.checked)};return(0,EG.jsxs)("div",{className:Ihe["profileline-wrapper"],children:[(0,EG.jsx)("div",{className:Ihe["profileline-label-wrapper"],children:(0,EG.jsx)("span",{})}),(0,EG.jsx)("div",{className:Ihe["profileline-content-wrapper"],children:(0,EG.jsxs)("label",{className:Ihe["profileline-content-item-wrapper"],children:[(0,EG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isRebuildCopperAuto",name:"isRebuildCopperAuto",type:"checkbox",value:"true",className:Ihe["profile-input-checkbox"],onChange:n,checked:o.isRebuildCopperAuto.value===!0}),(0,EG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:Ihe["profile-input-tips"],children:i(e)})]})})]})}var qBi=L(No());var AG=L(z()),{locals:Lhe}=qBi.default;function XBi(t){let e=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.NEW_PCB_USING_TEMPLATE,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("isNewPCBUsingTemplate",!!s.checked)};return(0,AG.jsxs)("div",{className:Lhe["profileline-wrapper"],children:[(0,AG.jsx)("div",{className:Lhe["profileline-label-wrapper"],children:(0,AG.jsx)("span",{})}),(0,AG.jsx)("div",{className:Lhe["profileline-content-wrapper"],children:(0,AG.jsxs)("label",{className:Lhe["profileline-content-item-wrapper"],children:[(0,AG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isNewPCBUsingTemplate",name:"isNewPCBUsingTemplate",type:"checkbox",value:"true",className:Lhe["profile-input-checkbox"],onChange:n,checked:o.isNewPCBUsingTemplate.value===!0}),(0,AG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:Lhe["profile-input-tips"],children:i(e)})]})})]})}var $Bi=L(No());var NG=L(z()),{locals:vhe}=$Bi.default;function ezi(t){let e=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.ALLOW_FOOTPRINT_FLIPPING,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target,l=!!s.checked;l?Dt({title:"Warning",icon:"warning",mask:!0,showConfirm:!0,showCancel:!0,closed:!0,content:i("This operation will cause the footprint to flip within the same layer,please handle with caution."),esc:!0,onConfirm:()=>{r("allowFootprintFlipping",l)}}):r("allowFootprintFlipping",!!s.checked)};return(0,NG.jsxs)("div",{className:vhe["profileline-wrapper"],children:[(0,NG.jsx)("div",{className:vhe["profileline-label-wrapper"],children:(0,NG.jsx)("span",{})}),(0,NG.jsx)("div",{className:vhe["profileline-content-wrapper"],children:(0,NG.jsxs)("label",{className:vhe["profileline-content-item-wrapper"],children:[(0,NG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"allowFootprintFlipping",name:"allowFootprintFlipping",type:"checkbox",value:"true",className:vhe["profile-input-checkbox"],onChange:n,checked:o.allowFootprintFlipping.value===!0}),(0,NG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:vhe["profile-input-tips"],children:i(e)})]})})]})}var tzi=L(No());var cMe=L(Se());var hh=L(z()),{locals:e5}=tzi.default,Pvt=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.AUTOMATIC_CHAMFERING,wWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.OFF,CWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.FILLET,xWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CHAMFER,TWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.FILLET_RADIUS;function izi(t){let e=J(),{storage:i,onUpdate:o}=t,[r,n]=(0,cMe.useState)(i.filletRadius2DLine.value),[a,s]=(0,cMe.useState)(i.filletRadiusUnit2DLine.value);return(0,cMe.useEffect)(()=>{String(i.filletRadius2DLine.value)!==r&&n(i.filletRadius2DLine.value),String(i.filletRadiusUnit2DLine.value)!==a&&s(i.filletRadiusUnit2DLine.value)},[i.filletRadius2DLine,i.filletRadiusUnit2DLine]),(0,hh.jsxs)(hh.Fragment,{children:[(0,hh.jsxs)("div",{className:e5["profileline-wrapper"],children:[(0,hh.jsx)("div",{className:e5["profileline-label-wrapper"],children:(0,hh.jsx)("span",{title:e(Pvt),"data-test":Pvt,children:e(Pvt)})}),(0,hh.jsxs)("div",{className:e5["profileline-content-wrapper"],children:[(0,hh.jsxs)("label",{className:e5["profileline-content-item-wrapper"],children:[(0,hh.jsx)("input",{"data-input-type":"radio","data-attritem-input":"autoChamfer2DLine",name:"autoChamfer2DLine1",type:"radio",value:"off",className:e5["profile-input-radio"],onChange:()=>{o("autoChamfer2DLine","off")},checked:i.autoChamfer2DLine.value==="off"}),(0,hh.jsx)("span",{title:e(wWe),i18n:wWe,"data-test":wWe,className:e5["profile-input-tips"],children:e(wWe)})]}),(0,hh.jsxs)("label",{className:e5["profileline-content-item-wrapper"],children:[(0,hh.jsx)("input",{"data-input-type":"radio","data-attritem-input":"autoChamfer2DLine",name:"autoChamfer2DLine2",type:"radio",value:"fillet",className:e5["profile-input-radio"],onChange:()=>{o("autoChamfer2DLine","fillet")},checked:i.autoChamfer2DLine.value==="fillet"}),(0,hh.jsx)("span",{title:e(CWe),i18n:CWe,"data-test":CWe,className:e5["profile-input-tips"],children:e(CWe)})]}),(0,hh.jsxs)("label",{className:e5["profileline-content-item-wrapper"],children:[(0,hh.jsx)("input",{"data-input-type":"radio","data-attritem-input":"autoChamfer2DLine",name:"autoChamfer2DLine3",type:"radio",value:"chamfer",className:e5["profile-input-radio"],onChange:()=>{o("autoChamfer2DLine","chamfer")},checked:i.autoChamfer2DLine.value==="chamfer"}),(0,hh.jsx)("span",{title:e(xWe),i18n:xWe,"data-test":xWe,className:e5["profile-input-tips"],children:e(xWe)})]})]})]}),(0,hh.jsxs)("div",{className:e5["profileline-wrapper"],children:[(0,hh.jsx)("div",{className:e5["profileline-label-wrapper"],children:(0,hh.jsx)("span",{})}),(0,hh.jsxs)("div",{className:e5["profileline-content-wrapper"],children:[(0,hh.jsx)("span",{title:e(TWe),"data-test":TWe,i18n:TWe,style:{width:"75px",flexShrink:0},children:e(TWe)}),(0,hh.jsx)(or,{className:e5["profile-input-text"],name:"filletRadius",dataTest:"filletRadius","data-attritem-input":"filletRadius",disabled:i.autoChamfer2DLine.value==="off",value:r,inputUnit:a,originUnit:a,hiddenUnit:!0,style:{width:"100px"},onChange:(l,c)=>{+l>=0&&(n(l),i.filletRadius2DLine.value=l)}}),(0,hh.jsx)(xt,{"data-input-type":"single-select","data-attritem-input":"filletRadiusUnit",name:"filletRadiusUnit",value:a,disabled:i.autoChamfer2DLine.value==="off",style:{width:"55px"},list:X8,onChange:l=>{let c=io(i.filletRadius2DLine.value,i.filletRadiusUnit2DLine.value,l);i.filletRadius2DLine.value=c,n(String(c)),s(l),i.filletRadiusUnit2DLine.value=l}})]})]})]})}var ozi=L(No());var dMe=L(Se());var fh=L(z()),{locals:t5}=ozi.default,Ovt=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.AUTOMATIC_CHAMFERING_DURING_ROUTING,SWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.OFF,MWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.FILLET,IWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.CHAMFER,LWe=we.PCB_FOOTPRINT.PCB_FOOTPRINT_GENERAL.FILLET_RADIUS;function rzi(t){let e=J(),{storage:i,onUpdate:o}=t,[r,n]=(0,dMe.useState)(i.filletRadiusTrack.value),[a,s]=(0,dMe.useState)(i.filletRadiusUnitTrack.value);return(0,dMe.useEffect)(()=>{String(i.filletRadiusTrack.value)!==r&&n(i.filletRadiusTrack.value),String(i.filletRadiusUnitTrack.value)!==a&&s(i.filletRadiusUnitTrack.value)},[i.filletRadiusTrack,i.filletRadiusUnitTrack]),(0,fh.jsxs)(fh.Fragment,{children:[(0,fh.jsxs)("div",{className:t5["profileline-wrapper"],children:[(0,fh.jsx)("div",{className:t5["profileline-label-wrapper"],children:(0,fh.jsx)("span",{title:e(Ovt),"data-test":Ovt,children:e(Ovt)})}),(0,fh.jsxs)("div",{className:t5["profileline-content-wrapper"],children:[(0,fh.jsxs)("label",{className:t5["profileline-content-item-wrapper"],children:[(0,fh.jsx)("input",{"data-input-type":"radio","data-attritem-input":"autoChamferTrack",name:"autoChamferTrack1",type:"radio",value:"off",className:t5["profile-input-radio"],onChange:()=>{o("autoChamferTrack","off")},checked:i.autoChamferTrack.value==="off"}),(0,fh.jsx)("span",{title:e(SWe),i18n:SWe,"data-test":SWe,className:t5["profile-input-tips"],children:e(SWe)})]}),(0,fh.jsxs)("label",{className:t5["profileline-content-item-wrapper"],children:[(0,fh.jsx)("input",{"data-input-type":"radio","data-attritem-input":"autoChamferTrack",name:"autoChamferTrack2",type:"radio",value:"fillet",className:t5["profile-input-radio"],onChange:()=>{o("autoChamferTrack","fillet")},checked:i.autoChamferTrack.value==="fillet"}),(0,fh.jsx)("span",{title:e(MWe),i18n:MWe,"data-test":MWe,className:t5["profile-input-tips"],children:e(MWe)})]}),(0,fh.jsxs)("label",{className:t5["profileline-content-item-wrapper"],children:[(0,fh.jsx)("input",{"data-input-type":"radio","data-attritem-input":"autoChamferTrack",name:"autoChamferTrack3",type:"radio",value:"chamfer",className:t5["profile-input-radio"],onChange:()=>{o("autoChamferTrack","chamfer")},checked:i.autoChamferTrack.value==="chamfer"}),(0,fh.jsx)("span",{title:e(IWe),i18n:IWe,"data-test":IWe,className:t5["profile-input-tips"],children:e(IWe)})]})]})]}),(0,fh.jsxs)("div",{className:t5["profileline-wrapper"],children:[(0,fh.jsx)("div",{className:t5["profileline-label-wrapper"],children:(0,fh.jsx)("span",{})}),(0,fh.jsxs)("div",{className:t5["profileline-content-wrapper"],children:[(0,fh.jsx)("span",{title:e(LWe),"data-test":LWe,i18n:LWe,style:{width:"75px",flexShrink:0},children:e(LWe)}),(0,fh.jsx)(or,{className:t5["profile-input-text"],name:"filletRadius",dataTest:"filletRadius","data-attritem-input":"filletRadius",disabled:i.autoChamferTrack.value==="off",value:r,inputUnit:a,originUnit:a,hiddenUnit:!0,style:{width:"100px"},onChange:(l,c)=>{+l>=0&&(n(l),i.filletRadiusTrack.value=l)}}),(0,fh.jsx)(xt,{"data-input-type":"single-select","data-attritem-input":"filletRadiusUnit",name:"filletRadiusUnit",value:a,disabled:i.autoChamferTrack.value==="off",style:{width:"55px"},list:X8,onChange:l=>{let c=io(i.filletRadiusTrack.value,i.filletRadiusUnitTrack.value,l);i.filletRadiusTrack.value=c,n(String(c)),s(l),i.filletRadiusUnitTrack.value=l}})]})]})]})}var Bl=L(z());function nzi(){let t=J(),e=(0,vWe.useContext)(Ea);Ce(e.pcbFootprintAppStore);let i=(r,n)=>{e.pcbFootprintAppStore.whenAttrUpdate(r,n),e.frameStore.waitForSaveTagsSet=new Set([...e.frameStore.waitForSaveTagsSet,"PCB_FOOTPRINT_GENERAL"])},o=e.commTypefaceAppStore.storage.commonlyList.value.map(r=>({title:r.title,value:r.title}));return(0,vWe.useEffect)(()=>{if(e.frameStore.scrollTo=="allowFootprintFlipping"){let r=document.getElementById("systemSettingManagerContentZone").firstElementChild;r.scrollTop=r.scrollHeight,e.frameStore.scrollTo=null}},[]),(0,Bl.jsxs)(Bl.Fragment,{children:[(0,Bl.jsx)(Pji,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(Hji,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(OBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(Rji,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(jji,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(zji,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(Uji,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(Yji,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(Qji,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(Zji,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(qji,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(_Bi,{storage:e.pcbFootprintAppStore.storage,typefaceList:o,onUpdate:i}),(0,Bl.jsx)(BBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)($ji,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(WBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(izi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(rzi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(tBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(oBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(KBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(VBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(nBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(sBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(cBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(uBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(mBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(fBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(bBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(wBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(xBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(SBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(EBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(IBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(vBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(NBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(FBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(GBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(JBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(XBi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i}),(0,Bl.jsx)(ezi,{storage:e.pcbFootprintAppStore.storage,onUpdate:i})]})}var Dhe=L(Se());var Rvt=L(d_e()),lzi=L(Xwt()),czi=L(eCt());var cIr=we.PCB_FOOTPRINT.PCB_THEME.CANVAS_PRIMITIVE,dIr=we.PCB_FOOTPRINT.PCB_THEME.LAYER,uIr=we.PCB_FOOTPRINT.PCB_THEME.CURSOR,pIr=we.PCB_FOOTPRINT.PCB_THEME.BACKGROUND,mIr=we.PCB_FOOTPRINT.PCB_THEME.GRID,hIr=we.PCB_FOOTPRINT.PCB_THEME.BOLD_GRID,fIr=we.PCB_FOOTPRINT.PCB_THEME.COORDINATE_AXIS,gIr=we.PCB_FOOTPRINT.PCB_THEME.SELECT_BOX,bIr=we.PCB_FOOTPRINT.PCB_THEME.SELECT,yIr=we.PCB_FOOTPRINT.PCB_THEME.HOVER_HIGHLIGHT,wIr=we.PCB_FOOTPRINT.PCB_THEME.METALLIC_DRILLING,CIr=we.PCB_FOOTPRINT.PCB_THEME.NON_METALLIC_DRILLING,xIr=we.PCB_FOOTPRINT.PCB_THEME.PAD,TIr=we.PCB_FOOTPRINT.PCB_THEME.VIA,SIr=we.PCB_FOOTPRINT.PCB_THEME.TRACK,MIr=we.PCB_FOOTPRINT.PCB_THEME.COPPER_REGION,IIr=we.PCB_FOOTPRINT.PCB_THEME.SOLID_REGION,LIr=we.PCB_FOOTPRINT.PCB_THEME.PROHIBITED_REGION,vIr=we.PCB_FOOTPRINT.PCB_THEME.CONSTRAINT_REGION,DIr=we.PCB_FOOTPRINT.PCB_THEME.COLORFUL_IMAGE,EIr=we.PCB_FOOTPRINT.PCB_THEME.ANNOTATION,AIr=we.PCB_FOOTPRINT.PCB_THEME.BOARD_SHAPE,azi=[{key:"canvas-primitive",title:cIr},{key:"layer",title:dIr}],szi={cursor:uIr,background:pIr,grid:mIr,boldGrid:hIr,coordinateAxis:fIr,"Select Box":gIr,select:bIr,hoverHighlight:yIr,metallicDrilling:wIr,unMetallicDrilling:CIr,pad:xIr,via:TIr,track:SIr,copperRegion:MIr,solidRegion:IIr,prohibitedRegion:LIr,constraintRegion:vIr,boardOutlineInner:"BoardOutline Inner",colorfulImage:DIr,annotation:EIr,boardShape:AIr};var TB=L(z());function dzi(){let t=be.bind(Rvt.default.locals),e=J();Ae(Rvt.default),Ae(lzi.default),Ae(czi.default);let i=(0,Dhe.useRef)(null),r=(0,Dhe.useContext)(Ea).pcbThemeAppStore;Ce(r);let n={onUpdate:()=>{r.updateSaveTag()}};(0,Dhe.useLayoutEffect)(()=>(i.current||(i.current=C.messageBus.subscribe("PREFERENCE_AFTERSEND",l=>{console.log(l)})),()=>{i.current&&(i.current.cancel(),i.current=null)}),[]);let a=r.activeTab=="layer",s=!a;return(0,TB.jsxs)("div",{className:t("pcb-theme-container"),children:[(0,TB.jsx)("div",{className:t("comm-tab-header"),children:(0,TB.jsx)(yl,{lists:azi,direction:"top",defaultActiveKey:r.activeTab,activeKey:r.activeTab,type:"card",tabsStyle:{minWidth:"135px"},onClick:l=>{r.activeTab=l}})}),(0,TB.jsxs)("div",{className:t("comm-tab-content"),children:[(0,TB.jsx)("div",{className:t("comm-tab-content-item"),style:{display:s?"":"none"},children:(0,TB.jsx)(Lgi,{...n})}),(0,TB.jsx)("div",{className:t("comm-tab-content-item"),style:{display:a?"":"none"},children:(0,TB.jsx)(Agi,{...n})})]})]})}var sFi=L(Se());var uzi=L(No());var kG=L(z()),{locals:Ehe}=uzi.default;function pzi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.TEMPORAILY_HIGHLIGHT,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("tempHight",!!s.checked)};return(0,kG.jsxs)("div",{className:Ehe["profileline-wrapper"],children:[(0,kG.jsx)("div",{className:Ehe["profileline-label-wrapper"],children:(0,kG.jsx)("span",{})}),(0,kG.jsx)("div",{className:Ehe["profileline-content-wrapper"],children:(0,kG.jsxs)("label",{className:Ehe["profileline-content-item-wrapper"],children:[(0,kG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"tempHight",name:"tempHight",type:"checkbox",value:"true",className:Ehe["profile-input-checkbox"],onChange:a=>{n(a)},checked:o.tempHight===!0}),(0,kG.jsx)("span",{title:i({context:"setting-pcbshow",value:e}),i18n:e,"data-test":e,className:Ehe["profile-input-tips"],children:i({context:"setting-pcbshow",value:e})})]})})]})}var mzi=L(No());var PG=L(z()),{locals:Ahe}=mzi.default;function hzi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.OTHER_OBJECTS_BECOME_DIM,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("dragDarked",!!s.checked)};return(0,PG.jsxs)("div",{className:Ahe["profileline-wrapper"],children:[(0,PG.jsx)("div",{className:Ahe["profileline-label-wrapper"],children:(0,PG.jsx)("span",{})}),(0,PG.jsx)("div",{className:Ahe["profileline-content-wrapper"],children:(0,PG.jsxs)("label",{className:Ahe["profileline-content-item-wrapper"],children:[(0,PG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"dragDarked",name:"dragDarked",type:"checkbox",value:"true",className:Ahe["profile-input-checkbox"],onChange:a=>{n(a)},checked:o.dragDarked===!0}),(0,PG.jsx)("span",{title:i({context:"setting-pcbshow",value:e}),i18n:e,"data-test":e,className:Ahe["profile-input-tips"],children:i({context:"setting-pcbshow",value:e})})]})})]})}var fzi=L(No());var sM=L(z()),{locals:kN}=fzi.default;function gzi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.GRID_TYPE,i=we.PCB_FOOTPRINT.PCB_SHOW.GRID_DOT,o=we.PCB_FOOTPRINT.PCB_SHOW.GRID,r=we.PCB_FOOTPRINT.PCB_SHOW.NONE,n=J(),{storage:a,onUpdate:s}=t;return(0,sM.jsxs)("div",{className:kN["profileline-wrapper"],children:[(0,sM.jsx)("div",{className:kN["profileline-label-wrapper"],children:(0,sM.jsx)("span",{title:n(e),"data-test":e,i18n:e,children:n(e)})}),(0,sM.jsxs)("div",{className:kN["profileline-content-wrapper"],children:[(0,sM.jsxs)("label",{className:kN["profileline-content-item-wrapper"],children:[(0,sM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"gridType",name:"gridType1",type:"radio",value:"outlets",className:kN["profile-input-radio"],onChange:()=>{s("gridType","outlets")},checked:a.gridType.value==="outlets"}),(0,sM.jsx)("span",{title:n(i),i18n:i,"data-test":i,className:kN["profile-input-tips"],children:n(i)})]}),(0,sM.jsxs)("label",{className:kN["profileline-content-item-wrapper"],children:[(0,sM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"gridType",name:"gridType2",type:"radio",value:"grid",className:kN["profile-input-radio"],onChange:()=>{s("gridType","grid")},checked:a.gridType.value==="grid"}),(0,sM.jsx)("span",{title:n(o),i18n:o,"data-test":o,className:kN["profile-input-tips"],children:n(o)})]}),(0,sM.jsxs)("label",{className:kN["profileline-content-item-wrapper"],children:[(0,sM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"gridType",name:"gridType3",type:"radio",value:"none",className:kN["profile-input-radio"],onChange:()=>{s("gridType","none")},checked:a.gridType.value==="none"}),(0,sM.jsx)("span",{title:n(r),i18n:r,"data-test":r,className:kN["profile-input-tips"],children:n(r)})]})]})]})}var bzi=L(No());var lM=L(z()),{locals:PN}=bzi.default;function yzi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.BOLD_GRID,i=we.PCB_FOOTPRINT.PCB_SHOW.GRID_DOT,o=we.PCB_FOOTPRINT.PCB_SHOW.GRID,r=we.PCB_FOOTPRINT.PCB_SHOW.NONE,n=J(),{storage:a,onUpdate:s}=t;return(0,lM.jsxs)("div",{className:PN["profileline-wrapper"],children:[(0,lM.jsx)("div",{className:PN["profileline-label-wrapper"],children:(0,lM.jsx)("span",{title:n(e),"data-test":e,i18n:e,children:n(e)})}),(0,lM.jsxs)("div",{className:PN["profileline-content-wrapper"],children:[(0,lM.jsxs)("label",{className:PN["profileline-content-item-wrapper"],children:[(0,lM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"multiType",name:"multiType1",type:"radio",value:"outlets",className:PN["profile-input-radio"],onChange:()=>{s("multiType","outlets")},checked:a.multiType.value==="outlets"}),(0,lM.jsx)("span",{title:n(i),i18n:i,"data-test":i,className:PN["profile-input-tips"],children:n(i)})]}),(0,lM.jsxs)("label",{className:PN["profileline-content-item-wrapper"],children:[(0,lM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"multiType",name:"multiType2",type:"radio",value:"grid",className:PN["profile-input-radio"],onChange:()=>{s("multiType","grid")},checked:a.multiType.value==="grid"}),(0,lM.jsx)("span",{title:n(o),i18n:o,"data-test":o,className:PN["profile-input-tips"],children:n(o)})]}),(0,lM.jsxs)("label",{className:PN["profileline-content-item-wrapper"],children:[(0,lM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"multiType",name:"multiType3",type:"radio",value:"none",className:PN["profile-input-radio"],onChange:()=>{s("multiType","none")},checked:a.multiType.value==="none"}),(0,lM.jsx)("span",{title:n(r),i18n:r,"data-test":r,className:PN["profile-input-tips"],children:n(r)})]})]})]})}var DWe=L(Se());var wzi=L(No());var OG=L(z()),{locals:uMe}=wzi.default;function Czi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.BOLD_MULTIPLE,i=J(),{storage:o,onUpdate:r}=t,[n,a]=(0,DWe.useState)(+o.multiRatio.value||0),s=u=>{let p=u.target;a(+p.value||0)},l=u=>{let m=+u.target.value;m<=0&&(m=0),m>1e4&&(m=1e4),a(m),r("multiRatio",m)},c=u=>{let p=u.target;p.select&&p.select()},d=u=>{let p=u.target;u.keyCode===13&&p.blur()};return(0,DWe.useEffect)(()=>{String(o.multiRatio.value)!==String(n)&&a(+o.multiRatio.value||0)},[o.multiRatio.value]),(0,OG.jsxs)("div",{className:uMe["profileline-wrapper2"],children:[(0,OG.jsx)("div",{className:uMe["profileline-label-wrapper2"],children:(0,OG.jsx)("span",{})}),(0,OG.jsx)("div",{className:uMe["profileline-content-wrapper2"],children:(0,OG.jsxs)("label",{className:uMe["profileline-content-item-wrapper2"],children:[(0,OG.jsx)("span",{title:i(e),"data-test":e,i18n:e,style:{paddingRight:"8px"},children:i(e)}),(0,OG.jsx)("input",{"data-input-type":"input","data-attritem-input":"multiRatio",name:"multiRatio",type:"number",value:String(n),className:uMe["profile-input-text"],onChange:s,onBlur:l,onKeyDown:d,onFocus:c})]})})]})}var xzi=L(No());var cM=L(z()),{locals:ON}=xzi.default;function Tzi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.CROSS_CURSOR,i=we.PCB_FOOTPRINT.PCB_SHOW.BIG,o=we.PCB_FOOTPRINT.PCB_SHOW.SMALL,r=we.PCB_FOOTPRINT.PCB_SHOW.NONE,n=J(),{storage:a,onUpdate:s}=t;return(0,cM.jsxs)("div",{className:ON["profileline-wrapper"],children:[(0,cM.jsx)("div",{className:ON["profileline-label-wrapper"],children:(0,cM.jsx)("span",{title:n(e),"data-test":e,i18n:e,children:n(e)})}),(0,cM.jsxs)("div",{className:ON["profileline-content-wrapper"],children:[(0,cM.jsxs)("label",{className:ON["profileline-content-item-wrapper"],children:[(0,cM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"cursorSize",name:"cursorSize1",type:"radio",value:"large",className:ON["profile-input-radio"],onChange:()=>{s("cursorSize","large")},checked:a.cursorSize.value==="large"}),(0,cM.jsx)("span",{title:n(i),i18n:i,"data-test":i,className:ON["profile-input-tips"],children:n(i)})]}),(0,cM.jsxs)("label",{className:ON["profileline-content-item-wrapper"],children:[(0,cM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"cursorSize",name:"cursorSize2",type:"radio",value:"Small",className:ON["profile-input-radio"],onChange:()=>{s("cursorSize","Small")},checked:a.cursorSize.value==="Small"}),(0,cM.jsx)("span",{title:n(o),i18n:o,"data-test":o,className:ON["profile-input-tips"],children:n(o)})]}),(0,cM.jsxs)("label",{className:ON["profileline-content-item-wrapper"],children:[(0,cM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"cursorSize",name:"cursorSize3",type:"radio",value:"None",className:ON["profile-input-radio"],onChange:()=>{s("cursorSize","None")},checked:a.cursorSize.value==="None"}),(0,cM.jsx)("span",{title:n(r),i18n:r,"data-test":r,className:ON["profile-input-tips"],children:n(r)})]})]})]})}var Szi=L(No());var RG=L(z()),{locals:Nhe}=Szi.default;function Mzi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.ALWAYS_SHOW_CROSS_CURSOR,i=J(),{storage:o,isAlwaysShowCrossCursorDisabled:r,onUpdate:n}=t,a=s=>{let l=s.target;n("isAlwaysShowCrossCursor",!!l.checked)};return(0,RG.jsxs)("div",{className:Nhe["profileline-wrapper"],children:[(0,RG.jsx)("div",{className:Nhe["profileline-label-wrapper"],children:(0,RG.jsx)("span",{})}),(0,RG.jsx)("div",{className:Nhe["profileline-content-wrapper"],children:(0,RG.jsxs)("label",{className:Nhe["profileline-content-item-wrapper"],children:[(0,RG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isAlwaysShowCrossCursor",name:"isAlwaysShowCrossCursor",type:"checkbox",value:"true",className:Nhe["profile-input-checkbox"],onChange:a,checked:o.isAlwaysShowCrossCursor.value===!0,disabled:r}),(0,RG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:Nhe["profile-input-tips"],children:i(e)})]})})]})}var Izi=L(No());var LI=L(z()),{locals:_G}=Izi.default;function Lzi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.DRC_ERROR_STYLE,i=J(),{storage:o,onUpdate:r}=t;return(0,LI.jsxs)("div",{className:_G["profileline-wrapper"],children:[(0,LI.jsx)("div",{className:_G["profileline-label-wrapper"],children:(0,LI.jsx)("span",{title:i(e),"data-test":e,i18n:e,children:i(e)})}),(0,LI.jsxs)("div",{className:_G["profileline-content-wrapper"],children:[(0,LI.jsxs)("label",{className:_G["profileline-content-item-wrapper"],children:[(0,LI.jsx)("input",{"data-input-type":"radio","data-attritem-input":"drcErrorStyle",name:"drcErrorStyle1",type:"radio",value:"1",className:_G["profile-input-radio"],onChange:()=>{r("drcErrorStyle","1")},checked:o.drcErrorStyle.value==="1"}),(0,LI.jsx)("span",{i18n:"Style 1","data-test":"Style 1",className:_G["profile-input-tips"],children:(0,LI.jsx)("i",{className:"drcerror-style-sa",style:{position:"absolute",left:"19px",top:"-6px",filter:"var(--common-icon-color)"}})})]}),(0,LI.jsxs)("label",{className:_G["profileline-content-item-wrapper"],children:[(0,LI.jsx)("input",{"data-input-type":"radio","data-attritem-input":"drcErrorStyle",name:"drcErrorStyle2",type:"radio",value:"2",className:_G["profile-input-radio"],onChange:()=>{r("drcErrorStyle","2")},checked:o.drcErrorStyle.value==="2"}),(0,LI.jsx)("span",{i18n:"Style 2","data-test":"Style 2",className:_G["profile-input-tips"],children:(0,LI.jsx)("i",{className:"drcerror-style-sb",style:{position:"absolute",left:"35px",top:"-6px",filter:"var(--common-icon-color)"}})})]})]})]})}var vzi=L(No());var RN=L(z()),{locals:jG}=vzi.default;function Dzi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.DRC_ERROR_ZOOM,i=we.PCB_FOOTPRINT.PCB_SHOW.FIXED_PIXEL_SIZE,o=we.PCB_FOOTPRINT.PCB_SHOW.FOLLOW_OBJECT_SCALING,r=J(),{storage:n,onUpdate:a}=t;return(0,RN.jsxs)("div",{className:jG["profileline-wrapper"],children:[(0,RN.jsx)("div",{className:jG["profileline-label-wrapper"],children:(0,RN.jsx)("span",{title:r(e),"data-test":e,i18n:e,children:r(e)})}),(0,RN.jsxs)("div",{className:jG["profileline-content-wrapper"],children:[(0,RN.jsxs)("label",{className:jG["profileline-content-item-wrapper"],children:[(0,RN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"drcErrorZoom",name:"drcErrorZoom1",type:"radio",value:"keepConstantSize",className:jG["profile-input-radio"],onChange:()=>{a("drcErrorZoom","keepConstantSize")},checked:n.drcErrorZoom.value==="keepConstantSize"}),(0,RN.jsx)("span",{title:r(i),i18n:i,"data-test":i,className:jG["profile-input-tips"],children:r(i)})]}),(0,RN.jsxs)("label",{className:jG["profileline-content-item-wrapper"],children:[(0,RN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"drcErrorZoom",name:"drcErrorZoom2",type:"radio",value:"followObjectScaling",className:jG["profile-input-radio"],onChange:()=>{a("drcErrorZoom","followObjectScaling")},checked:n.drcErrorZoom.value==="followObjectScaling"}),(0,RN.jsx)("span",{title:r(o),i18n:o,"data-test":o,className:jG["profile-input-tips"],children:r(o)})]})]})]})}var Ezi=L(No());var dM=L(z()),{locals:_N}=Ezi.default;function Azi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.DISPLAY_EFFECT,i=we.PCB_FOOTPRINT.PCB_SHOW.SPEED_PRIORITY,o=we.PCB_FOOTPRINT.PCB_SHOW.QUALITY_PRIORITY,r=J(),{storage:n,onUpdate:a}=t;return(0,dM.jsxs)("div",{className:_N["profileline-wrapper"],children:[(0,dM.jsx)("div",{className:_N["profileline-label-wrapper"],children:(0,dM.jsx)("span",{title:r(e),"data-test":e,i18n:e,children:r(e)})}),(0,dM.jsxs)("div",{className:_N["profileline-content-wrapper"],children:[(0,dM.jsxs)("label",{className:_N["profileline-content-item-wrapper"],children:[(0,dM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"graphicEffectMode",name:"graphicEffectMode1",type:"radio",value:"speedFirst",className:_N["profile-input-radio"],onChange:()=>{a("graphicEffectMode","speedFirst")},checked:n.graphicEffectMode.value==="speedFirst"}),(0,dM.jsx)("span",{title:r(i),i18n:i,"data-test":i,className:_N["profile-input-tips"],children:r(i)})]}),(0,dM.jsxs)("label",{className:_N["profileline-content-item-wrapper"],children:[(0,dM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"graphicEffectMode",name:"graphicEffectMode2",type:"radio",value:"effectFirst",className:_N["profile-input-radio"],onChange:()=>{a("graphicEffectMode","effectFirst")},checked:n.graphicEffectMode.value==="effectFirst"}),(0,dM.jsx)("span",{title:r(o),i18n:o,"data-test":o,className:_N["profile-input-tips"],children:r(o)})]}),(0,dM.jsxs)("label",{className:_N["profileline-content-item-wrapper"],style:{display:"none"},children:[(0,dM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"graphicEffectMode",name:"graphicEffectMode3",type:"radio",value:"highQualityPriority",className:_N["profile-input-radio"],onChange:()=>{a("graphicEffectMode","highQualityPriority")},checked:n.graphicEffectMode.value==="highQualityPriority"}),(0,dM.jsx)("span",{title:r("High Quality Priority"),i18n:"High Quality Priority","data-test":"High Quality Priority",className:_N["profile-input-tips"],children:r("High Quality Priority")})]})]})]})}var Nzi=L(No());var uM=L(z()),{locals:jN}=Nzi.default;function kzi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.RENDERING_ENGINE,i=we.PCB_FOOTPRINT.PCB_SHOW.AUTO,o=we.PCB_FOOTPRINT.PCB_SHOW.WEBGPU,r=we.PCB_FOOTPRINT.PCB_SHOW.CANVAS2D,n=J(),{storage:a,onUpdate:s}=t,l=()=>{De({type:"warn",msg:me.i18n("After switching the rendering engine, you need to restart the PCB to take effect")})};return(0,uM.jsxs)("div",{className:jN["profileline-wrapper"],children:[(0,uM.jsx)("div",{className:jN["profileline-label-wrapper"],children:(0,uM.jsx)("span",{title:n(e),"data-test":e,i18n:e,children:n(e)})}),(0,uM.jsxs)("div",{className:jN["profileline-content-wrapper"],children:[(0,uM.jsxs)("label",{className:jN["profileline-content-item-wrapper"],children:[(0,uM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"coreRenderingEngine",name:"coreRenderingEngine1",type:"radio",value:"auto",className:jN["profile-input-radio"],onChange:()=>{l(),s("coreRenderingEngine","auto")},checked:a.coreRenderingEngine.value==="auto"}),(0,uM.jsx)("span",{title:n(i),i18n:i,"data-test":i,className:jN["profile-input-tips"],children:n(i)})]}),(0,uM.jsxs)("label",{className:jN["profileline-content-item-wrapper"],children:[(0,uM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"coreRenderingEngine",name:"coreRenderingEngine2",type:"radio",value:"webgpu",className:jN["profile-input-radio"],onChange:()=>{l(),s("coreRenderingEngine","webgpu")},checked:a.coreRenderingEngine.value==="webgpu"}),(0,uM.jsx)("span",{title:n(o),i18n:o,"data-test":o,className:jN["profile-input-tips"],children:n(o)})]}),(0,uM.jsxs)("label",{className:jN["profileline-content-item-wrapper"],children:[(0,uM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"coreRenderingEngine",name:"coreRenderingEngine3",type:"radio",value:"canvas2d",className:jN["profile-input-radio"],onChange:()=>{l(),s("coreRenderingEngine","canvas2d")},checked:a.coreRenderingEngine.value==="canvas2d"}),(0,uM.jsx)("span",{title:n(r),i18n:r,"data-test":r,className:jN["profile-input-tips"],children:n(r)})]})]})]})}var Pzi=L(No());var BG=L(z()),{locals:khe}=Pzi.default;function Ozi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.SHOW_NUMBER_OR_NET,i=we.PCB_FOOTPRINT.PCB_SHOW.SHOW_PAD_NUMBER,o=J(),{storage:r,onUpdate:n}=t,a=s=>{let l=s.target;n("isShowNumberInPad",!!l.checked)};return(0,BG.jsxs)("div",{className:khe["profileline-wrapper"],children:[(0,BG.jsx)("div",{className:khe["profileline-label-wrapper"],children:(0,BG.jsx)("span",{title:o(e),"data-test":e,i18n:e,children:o(e)})}),(0,BG.jsx)("div",{className:khe["profileline-content-wrapper"],children:(0,BG.jsxs)("label",{className:khe["profileline-content-item-wrapper"],children:[(0,BG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isShowNumberInPad",name:"isShowNumberInPad",type:"checkbox",value:"true",className:khe["profile-input-checkbox"],onChange:a,checked:r.isShowNumberInPad.value===!0}),(0,BG.jsx)("span",{title:o(i),i18n:i,"data-test":i,className:khe["profile-input-tips"],children:o(i)})]})})]})}var Rzi=L(No());var zG=L(z()),{locals:Phe}=Rzi.default;function _zi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.SHOW_PAD_NET_NAME,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("isShowNetInPad",!!s.checked)};return(0,zG.jsxs)("div",{className:Phe["profileline-wrapper"],children:[(0,zG.jsx)("div",{className:Phe["profileline-label-wrapper"],children:(0,zG.jsx)("span",{})}),(0,zG.jsx)("div",{className:Phe["profileline-content-wrapper"],children:(0,zG.jsxs)("label",{className:Phe["profileline-content-item-wrapper"],children:[(0,zG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isShowNetInPad",name:"isShowNetInPad",type:"checkbox",value:"true",className:Phe["profile-input-checkbox"],onChange:n,checked:o.isShowNetInPad.value===!0}),(0,zG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:Phe["profile-input-tips"],children:i(e)})]})})]})}var jzi=L(No());var FG=L(z()),{locals:Ohe}=jzi.default;function Bzi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.SHOW_TRACK_NET_NAME,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("isShowNetInTrack",!!s.checked)};return(0,FG.jsxs)("div",{className:Ohe["profileline-wrapper"],children:[(0,FG.jsx)("div",{className:Ohe["profileline-label-wrapper"],children:(0,FG.jsx)("span",{})}),(0,FG.jsx)("div",{className:Ohe["profileline-content-wrapper"],children:(0,FG.jsxs)("label",{className:Ohe["profileline-content-item-wrapper"],children:[(0,FG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isShowNetInTrack",name:"isShowNetInTrack",type:"checkbox",value:"true",className:Ohe["profile-input-checkbox"],onChange:n,checked:o.isShowNetInTrack.value===!0}),(0,FG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:Ohe["profile-input-tips"],children:i(e)})]})})]})}var zzi=L(No());var UG=L(z()),{locals:Rhe}=zzi.default;function Fzi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.SHOW_VIA_LAYER_PAIR,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("isShowViaLayerPair",!!s.checked)};return(0,UG.jsxs)("div",{className:Rhe["profileline-wrapper"],children:[(0,UG.jsx)("div",{className:Rhe["profileline-label-wrapper"],children:(0,UG.jsx)("span",{})}),(0,UG.jsx)("div",{className:Rhe["profileline-content-wrapper"],children:(0,UG.jsxs)("label",{className:Rhe["profileline-content-item-wrapper"],children:[(0,UG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isShowViaLayerPair",name:"isShowViaLayerPair",type:"checkbox",value:"true",className:Rhe["profile-input-checkbox"],onChange:n,checked:o.isShowViaLayerPair.value===!0}),(0,UG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:Rhe["profile-input-tips"],children:i(e)})]})})]})}var Uzi=L(No());var VG=L(z()),{locals:_he}=Uzi.default;function Vzi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.SHOW_VIA_NET_NAME,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("isShowNetInVia",!!s.checked)};return(0,VG.jsxs)("div",{className:_he["profileline-wrapper"],children:[(0,VG.jsx)("div",{className:_he["profileline-label-wrapper"],children:(0,VG.jsx)("span",{})}),(0,VG.jsx)("div",{className:_he["profileline-content-wrapper"],children:(0,VG.jsxs)("label",{className:_he["profileline-content-item-wrapper"],children:[(0,VG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isShowNetInVia",name:"isShowNetInVia",type:"checkbox",value:"true",className:_he["profile-input-checkbox"],onChange:n,checked:o.isShowNetInVia.value===!0}),(0,VG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:_he["profile-input-tips"],children:i(e)})]})})]})}var Hzi=L(No());var HG=L(z()),{locals:jhe}=Hzi.default;function Gzi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.REAL_TIME_DISPLAY,i=we.PCB_FOOTPRINT.PCB_SHOW.DISPLAY_REAL_TIME_NET_LENGTH,o=J(),{storage:r,onUpdate:n}=t,a=s=>{let l=s.target;n("isShowNetLength",!!l.checked)};return(0,HG.jsxs)("div",{className:jhe["profileline-wrapper"],children:[(0,HG.jsx)("div",{className:jhe["profileline-label-wrapper"],children:(0,HG.jsx)("span",{title:o(e),"data-test":e,i18n:e,children:o(e)})}),(0,HG.jsx)("div",{className:jhe["profileline-content-wrapper"],children:(0,HG.jsxs)("label",{className:jhe["profileline-content-item-wrapper"],children:[(0,HG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isShowNetLength",name:"isShowNetLength",type:"checkbox",value:"true",className:jhe["profile-input-checkbox"],onChange:a,checked:r.isShowNetLength.value===!0}),(0,HG.jsx)("span",{title:o(i),i18n:i,"data-test":i,className:jhe["profile-input-tips"],children:o(i)})]})})]})}var Yzi=L(No());var GG=L(z()),{locals:Bhe}=Yzi.default;function Wzi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.DISPLAY_REAL_TIME_DIFFERENTIAL_PAIR_LENGTH,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("isShowDiffLength",!!s.checked)};return(0,GG.jsxs)("div",{className:Bhe["profileline-wrapper"],children:[(0,GG.jsx)("div",{className:Bhe["profileline-label-wrapper"],children:(0,GG.jsx)("span",{})}),(0,GG.jsx)("div",{className:Bhe["profileline-content-wrapper"],children:(0,GG.jsxs)("label",{className:Bhe["profileline-content-item-wrapper"],children:[(0,GG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isShowDiffLength",name:"isShowDiffLength",type:"checkbox",value:"true",className:Bhe["profile-input-checkbox"],onChange:n,checked:o.isShowDiffLength.value===!0}),(0,GG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:Bhe["profile-input-tips"],children:i(e)})]})})]})}var Qzi=L(No());var YG=L(z()),{locals:zhe}=Qzi.default;function Kzi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.DRAW_USING_DYNAMIC_INPUT_BOX,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("useDynamicInputBox",!!s.checked)};return(0,YG.jsxs)("div",{className:zhe["profileline-wrapper"],children:[(0,YG.jsx)("div",{className:zhe["profileline-label-wrapper"],children:(0,YG.jsx)("span",{})}),(0,YG.jsx)("div",{className:zhe["profileline-content-wrapper"],children:(0,YG.jsxs)("label",{className:zhe["profileline-content-item-wrapper"],children:[(0,YG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"useDynamicInputBox",name:"useDynamicInputBox",type:"checkbox",value:"true",className:zhe["profile-input-checkbox"],onChange:n,checked:o.useDynamicInputBox.value===!0}),(0,YG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:zhe["profile-input-tips"],children:i(e)})]})})]})}var Zzi=L(No());var WG=L(z()),{locals:Fhe}=Zzi.default;function Jzi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.HIGHLIGHT_THE_NET,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("highlightNetHoverNet",!!s.checked)};return(0,WG.jsxs)("div",{className:Fhe["profileline-wrapper"],children:[(0,WG.jsx)("div",{className:Fhe["profileline-label-wrapper"],children:(0,WG.jsx)("span",{title:i("Mouse Hover"),"data-test":"Mouse Hover",i18n:"Mouse Hover",children:i("Mouse Hover")})}),(0,WG.jsx)("div",{className:Fhe["profileline-content-wrapper"],children:(0,WG.jsxs)("label",{className:Fhe["profileline-content-item-wrapper"],children:[(0,WG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"highlightNetHoverNet",name:"highlightNetHoverNet",type:"checkbox",value:"true",className:Fhe["profile-input-checkbox"],onChange:n,checked:o.highlightNetHoverNet.value===!0}),(0,WG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:Fhe["profile-input-tips"],children:i(e)})]})})]})}var qzi=L(No());var QG=L(z()),{locals:Uhe}=qzi.default;function Xzi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.HIGHLIGHT_OBJECT,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("highlightObjectHoverObject",!!s.checked)};return(0,QG.jsxs)("div",{className:Uhe["profileline-wrapper"],children:[(0,QG.jsx)("div",{className:Uhe["profileline-label-wrapper"],children:(0,QG.jsx)("span",{})}),(0,QG.jsx)("div",{className:Uhe["profileline-content-wrapper"],children:(0,QG.jsxs)("label",{className:Uhe["profileline-content-item-wrapper"],children:[(0,QG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"highlightObjectHoverObject",name:"highlightObjectHoverObject",type:"checkbox",value:"true",className:Uhe["profile-input-checkbox"],onChange:n,checked:o.highlightObjectHoverObject.value===!0}),(0,QG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:Uhe["profile-input-tips"],children:i(e)})]})})]})}var $zi=L(No());var KG=L(z()),{locals:Vhe}=$zi.default;function eFi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.OTHER,i=we.PCB_FOOTPRINT.PCB_SHOW.SHOW_SCALE_RULER,o=J(),{storage:r,onUpdate:n}=t,a=s=>{let l=s.target;n("isShowRuler",!!l.checked)};return(0,KG.jsxs)("div",{className:Vhe["profileline-wrapper"],children:[(0,KG.jsx)("div",{className:Vhe["profileline-label-wrapper"],children:(0,KG.jsx)("span",{title:o(e),"data-test":e,i18n:e,children:o(e)})}),(0,KG.jsx)("div",{className:Vhe["profileline-content-wrapper"],children:(0,KG.jsxs)("label",{className:Vhe["profileline-content-item-wrapper"],children:[(0,KG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isShowRuler",name:"isShowRuler",type:"checkbox",value:"true",className:Vhe["profile-input-checkbox"],onChange:a,checked:r.isShowRuler.value===!0}),(0,KG.jsx)("span",{title:o(i),i18n:i,"data-test":i,className:Vhe["profile-input-tips"],children:o(i)})]})})]})}var tFi=L(No());var ZG=L(z()),{locals:Hhe}=tFi.default;function iFi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.DISPLAY_OBJECT_PROPERTY,i=J(),{storage:o,onUpdate:r}=t,n=a=>{let s=a.target;r("displayObjectPropertyHoverObject",!!s.checked)};return(0,ZG.jsxs)("div",{className:Hhe["profileline-wrapper"],children:[(0,ZG.jsx)("div",{className:Hhe["profileline-label-wrapper"],children:(0,ZG.jsx)("span",{})}),(0,ZG.jsx)("div",{className:Hhe["profileline-content-wrapper"],children:(0,ZG.jsxs)("label",{className:Hhe["profileline-content-item-wrapper"],children:[(0,ZG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"displayObjectPropertyHoverObject",name:"displayObjectPropertyHoverObject",type:"checkbox",value:"true",className:Hhe["profile-input-checkbox"],onChange:n,checked:o.displayObjectPropertyHoverObject.value===!0}),(0,ZG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:Hhe["profile-input-tips"],children:i(e)})]})})]})}var EWe=L(Se());var oFi=L(No());var JG=L(z()),{locals:pMe}=oFi.default;function rFi(t){let e=we.PCB_FOOTPRINT.PCB_SHOW.SELECT_ALPHA,i=J(),{storage:o,onUpdate:r}=t,[n,a]=(0,EWe.useState)((o.selectAlpha||0)+"%"),s=u=>{let p=u.target;a(p.value)},l=u=>{let p=u.target,m=parseFloat(p.value||"0");isNaN(m)?a("0%"):(m<=0&&(m=0),m>100&&(m=100),a(m+"%"),r("selectAlpha",m))},c=u=>{let p=u.target;p.select&&p.select()},d=u=>{let p=u.target;u.keyCode===13&&p.blur()};return(0,EWe.useEffect)(()=>{o.selectAlpha+"%"!==String(n)&&a((o.selectAlpha||0)+"%")},[o.selectAlpha]),(0,JG.jsxs)("div",{className:pMe["profileline-wrapper2"],children:[(0,JG.jsx)("div",{className:pMe["profileline-label-wrapper2"],children:(0,JG.jsx)("span",{})}),(0,JG.jsx)("div",{className:pMe["profileline-content-wrapper2"],children:(0,JG.jsxs)("label",{className:pMe["profileline-content-item-wrapper2"],children:[(0,JG.jsx)("span",{title:i(e),"data-test":e,i18n:e,style:{paddingRight:"8px"},children:i(e)}),(0,JG.jsx)("input",{"data-input-type":"input","data-attritem-input":"selectAlpha",name:"selectAlpha",type:"text",value:n,className:pMe["profile-input-text"],onChange:s,onBlur:l,onKeyDown:d,onFocus:c})]})})]})}var nFi=L(No());var qG=L(z()),{locals:Ghe}=nFi.default;function aFi(t){var a;let e=we.PCB_FOOTPRINT.PCB_SHOW.DISPLAY_DRC_COMPONENT_SPACING,i=J(),{storage:o,onUpdate:r}=t,n=s=>{let l=s.target;r("displayComponentSpacing",!!l.checked)};return(0,qG.jsxs)("div",{className:Ghe["profileline-wrapper"],children:[(0,qG.jsx)("div",{className:Ghe["profileline-label-wrapper"],children:(0,qG.jsx)("span",{})}),(0,qG.jsx)("div",{className:Ghe["profileline-content-wrapper"],children:(0,qG.jsxs)("label",{className:Ghe["profileline-content-item-wrapper"],children:[(0,qG.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"displayComponentSpacing",name:"displayComponentSpacing",type:"checkbox",value:"true",className:Ghe["profile-input-checkbox"],onChange:n,checked:((a=o.displayComponentSpacing)==null?void 0:a.value)===!0}),(0,qG.jsx)("span",{title:i(e),i18n:e,"data-test":e,className:Ghe["profile-input-tips"],children:i(e)})]})})]})}var g0=L(z());function lFi(){let t=J(),e=(0,sFi.useContext)(Ea);Ce(e.pcbShowAppStore);let i=(r,n)=>{e.pcbShowAppStore.whenAttrUpdate(r,n),e.frameStore.waitForSaveTagsSet=new Set([...e.frameStore.waitForSaveTagsSet,"PCB_SHOW"])},o=(r,n)=>{e.pcbShowAppStore.whenAttrUpdate2(r,n),e.frameStore.waitForSaveTagsSet=new Set([...e.frameStore.waitForSaveTagsSet,"PCB_SHOW"])};return(0,g0.jsxs)(g0.Fragment,{children:[(0,g0.jsx)(gzi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(yzi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(Czi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(Tzi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(Mzi,{storage:e.pcbShowAppStore.otherStorage,isAlwaysShowCrossCursorDisabled:e.pcbShowAppStore.isAlwaysShowCrossCursorDisabled,onUpdate:o}),(0,g0.jsx)(Lzi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(aFi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(Dzi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(Azi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(kzi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(Ozi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(_zi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(Bzi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(Fzi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(Vzi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(Pgi,{storage:e.pcbShowAppStore.storage,onUpdate:i}),(0,g0.jsx)(pzi,{storage:e.pcbShowAppStore.storage,onUpdate:i}),(0,g0.jsx)(Gzi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(Wzi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(Kzi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(Jzi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(Xzi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(iFi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(XGe,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(eFi,{storage:e.pcbShowAppStore.otherStorage,onUpdate:o}),(0,g0.jsx)(hzi,{storage:e.pcbShowAppStore.storage,onUpdate:i}),(0,g0.jsx)(rFi,{storage:e.pcbShowAppStore.storage,onUpdate:i})]})}var AWe=L(Se());var mMe=L(z());function cFi(){let t=J(),e=(0,AWe.useContext)(Ea),[i,o]=(0,AWe.useState)(e.propertyAppStore.storage.property);Ce(e.propertyAppStore);let r=(n,a)=>{e.propertyAppStore.whenAttrUpdate(n,a),e.frameStore.waitForSaveTagsSet=new Set([...e.frameStore.waitForSaveTagsSet,"PROPERTY"]),o(e.propertyAppStore.storage.property)};return(0,mMe.jsx)(mMe.Fragment,{children:(0,mMe.jsx)(mgi,{data:JSON.parse(e.propertyAppStore.storage.property||"[]"),onChange:r})})}var UFi=L(Se());var uFi=L(No());var BN=L(z()),{locals:XG}=uFi.default;function pFi(t){let e=J(),{storage:i,onUpdate:o}=t,r=we.SYSTEM.SYSTEM_GENERAL.SYMBOL_LIB_MANAGE,n=we.SYSTEM.SYSTEM_GENERAL.EASY_MODE,a=we.SYSTEM.SYSTEM_GENERAL.PRO_MODE;return(0,BN.jsxs)("div",{className:XG["profileline-wrapper2"],children:[(0,BN.jsx)("div",{className:XG["profileline-label-wrapper2"],children:(0,BN.jsx)("span",{title:e(r),"data-test":r,i18n:r,children:e(r)})}),(0,BN.jsxs)("div",{className:XG["profileline-content-wrapper2"],children:[(0,BN.jsxs)("label",{className:XG["profileline-content-item-wrapper2"],children:[(0,BN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"symbolLibManage",name:"symbolLibManage1",type:"radio",value:"1",className:XG["profile-input-radio"],onChange:()=>{o("symbolLibManage","1")},checked:i.symbolLibManage.value==="1"}),(0,BN.jsx)("span",{title:e(n),i18n:n,"data-test":n,className:XG["profile-input-tips"],children:e(n)})]}),(0,BN.jsxs)("label",{className:XG["profileline-content-item-wrapper2"],children:[(0,BN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"symbolLibManage",name:"symbolLibManage2",type:"radio",value:"2",className:XG["profile-input-radio"],onChange:()=>{o("symbolLibManage","2")},checked:i.symbolLibManage.value==="2"}),(0,BN.jsx)("span",{title:e(a),i18n:a,"data-test":a,className:XG["profile-input-tips"],children:e(a)})]})]})]})}var mFi=L(No());var zN=L(z()),{locals:$G}=mFi.default;function hFi(t){let e=J(),{storage:i,isShowCewLibraryPopupComponent:o,onUpdate:r}=t;if(!o)return null;let n=we.SYSTEM.SYSTEM_GENERAL.NEW_LIB_DIALOG,a=we.SYSTEM.SYSTEM_GENERAL.SIMPLIFY,s=we.SYSTEM.SYSTEM_GENERAL.COMPLETE;return(0,zN.jsxs)("div",{className:$G["profileline-wrapper"],children:[(0,zN.jsx)("div",{className:$G["profileline-label-wrapper"],children:(0,zN.jsx)("span",{title:e({context:"System-setting",value:n}),"data-test":n,i18n:n,children:e({context:"System-setting",value:n})})}),(0,zN.jsxs)("div",{className:$G["profileline-content-wrapper"],children:[(0,zN.jsxs)("label",{className:$G["profileline-content-item-wrapper"],children:[(0,zN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"newLibraryPopup",name:"newLibraryPopup1",type:"radio",value:"simplify",className:$G["profile-input-radio"],onChange:()=>{r("newLibraryPopup","simplify")},checked:i.newLibraryPopup.value==="simplify"}),(0,zN.jsx)("span",{title:e({context:"System-setting",value:a}),i18n:a,"data-test":a,className:$G["profile-input-tips"],children:e({context:"System-setting",value:a})})]}),(0,zN.jsxs)("label",{className:$G["profileline-content-item-wrapper"],children:[(0,zN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"newLibraryPopup",name:"newLibraryPopup2",type:"radio",value:"complete",className:$G["profile-input-radio"],onChange:()=>{r("newLibraryPopup","complete")},checked:i.newLibraryPopup.value==="complete"}),(0,zN.jsx)("span",{title:e({context:"System-setting",value:s}),i18n:s,"data-test":s,className:$G["profile-input-tips"],children:e({context:"System-setting",value:s})})]})]})]})}var fFi=L(No());var FN=L(z()),{locals:eY}=fFi.default;function gFi(t){let e=J(),{storage:i,onUpdate:o}=t,r=we.SYSTEM.SYSTEM_GENERAL.DOUBLE_CLICK_PROJECT,n=we.SYSTEM.SYSTEM_GENERAL.NEW_WINDOW_OPEN_PROJECT,a=we.SYSTEM.SYSTEM_GENERAL.CURRENT_WINDOW_OPEN_PROJECT;return(0,FN.jsxs)("div",{className:eY["profileline-wrapper"],children:[(0,FN.jsx)("div",{className:eY["profileline-label-wrapper"],children:(0,FN.jsx)("span",{title:e(r),"data-test":r,i18n:r,children:e(r)})}),(0,FN.jsxs)("div",{className:eY["profileline-content-wrapper"],children:[(0,FN.jsxs)("label",{className:eY["profileline-content-item-wrapper"],children:[(0,FN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"openProjectType",name:"openProjectType1",type:"radio",value:"new",className:eY["profile-input-radio"],onChange:()=>{o("openProjectType","new")},checked:i.openProjectType.value==="new"}),(0,FN.jsx)("span",{title:e(n),i18n:n,"data-test":n,className:eY["profile-input-tips"],children:e(n)})]}),(0,FN.jsxs)("label",{className:eY["profileline-content-item-wrapper"],children:[(0,FN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"openProjectType",name:"openProjectType2",type:"radio",value:"current",className:eY["profile-input-radio"],onChange:()=>{o("openProjectType","current")},checked:i.openProjectType.value==="current"}),(0,FN.jsx)("span",{title:e(a),i18n:a,"data-test":a,className:eY["profile-input-tips"],children:e(a)})]})]})]})}var bFi=L(No());var UN=L(z()),{locals:tY}=bFi.default;function yFi(t){let e=J(),{storage:i,onUpdate:o}=t,r=we.SYSTEM.SYSTEM_GENERAL.PROJECT_DUP_NAME,n=we.SYSTEM.SYSTEM_GENERAL.ALLOW_DUP,a=we.SYSTEM.SYSTEM_GENERAL.AUTO_RENAME;return(0,UN.jsxs)("div",{className:tY["profileline-wrapper"],children:[(0,UN.jsx)("div",{className:tY["profileline-label-wrapper"],children:(0,UN.jsx)("span",{title:e(r),"data-test":r,i18n:r,children:e(r)})}),(0,UN.jsxs)("div",{className:tY["profileline-content-wrapper"],children:[(0,UN.jsxs)("label",{className:tY["profileline-content-item-wrapper"],children:[(0,UN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"allowRename",name:"allowRename1",type:"radio",value:"true",className:tY["profile-input-radio"],onChange:()=>{o("allowRename","true")},checked:i.allowRename.value==="true"}),(0,UN.jsx)("span",{title:e(n),i18n:n,"data-test":n,className:tY["profile-input-tips"],children:e(n)})]}),(0,UN.jsxs)("label",{className:tY["profileline-content-item-wrapper"],children:[(0,UN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"allowRename",name:"allowRename2",type:"radio",value:"false",className:tY["profile-input-radio"],onChange:()=>{o("allowRename","false")},checked:i.allowRename.value==="false"}),(0,UN.jsx)("span",{title:e(a),i18n:a,"data-test":a,className:tY["profile-input-tips"],children:e(a)})]})]})]})}var wFi=L(No());var VN=L(z()),{locals:iY}=wFi.default;function CFi(t){let e=J(),{storage:i,onUpdate:o}=t,r=we.SYSTEM.SYSTEM_GENERAL.CANVAS_ZOOM,n=we.SYSTEM.SYSTEM_GENERAL.SCROLL,a=we.SYSTEM.SYSTEM_GENERAL.CTRL_SCROLL;return(0,VN.jsxs)("div",{className:iY["profileline-wrapper"],children:[(0,VN.jsx)("div",{className:iY["profileline-label-wrapper"],children:(0,VN.jsx)("span",{title:e(r),"data-test":r,i18n:r,children:e(r)})}),(0,VN.jsxs)("div",{className:iY["profileline-content-wrapper"],children:[(0,VN.jsxs)("label",{className:iY["profileline-content-item-wrapper"],children:[(0,VN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"canvasZoomType",name:"canvasZoomType1",type:"radio",value:"roller",className:iY["profile-input-radio"],onChange:()=>{o("canvasZoomType","roller")},checked:i.canvasZoomType.value==="roller"}),(0,VN.jsx)("span",{title:e(n),i18n:n,"data-test":n,className:iY["profile-input-tips"],children:e(n)})]}),(0,VN.jsxs)("label",{className:iY["profileline-content-item-wrapper"],children:[(0,VN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"canvasZoomType",name:"canvasZoomType2",type:"radio",value:"ctrlRoller",className:iY["profile-input-radio"],onChange:()=>{o("canvasZoomType","ctrlRoller")},checked:i.canvasZoomType.value==="ctrlRoller"}),(0,VN.jsx)("span",{title:e(a),i18n:a,"data-test":a,className:iY["profile-input-tips"],children:e(a)})]})]})]})}var xFi=L(No());var HN=L(z()),{locals:oY}=xFi.default;function TFi(t){let e=J(),{storage:i,onUpdate:o}=t,r=we.SYSTEM.SYSTEM_GENERAL.MOUSE_MIDDLE_DRAG,n=we.SYSTEM.SYSTEM_GENERAL.MOVE_CANVAS,a=we.SYSTEM.SYSTEM_GENERAL.ZOOM_CANVAS;return(0,HN.jsxs)("div",{className:oY["profileline-wrapper"],children:[(0,HN.jsx)("div",{className:oY["profileline-label-wrapper"],children:(0,HN.jsx)("span",{title:e(r),"data-test":r,i18n:r,children:e(r)})}),(0,HN.jsxs)("div",{className:oY["profileline-content-wrapper"],children:[(0,HN.jsxs)("label",{className:oY["profileline-content-item-wrapper"],children:[(0,HN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"dragMiddleMouseButton",name:"dragMiddleMouseButton1",type:"radio",value:"moveCanvas",className:oY["profile-input-radio"],onChange:()=>{o("dragMiddleMouseButton","moveCanvas")},checked:i.dragMiddleMouseButton.value==="moveCanvas"}),(0,HN.jsx)("span",{title:e(n),i18n:n,"data-test":n,className:oY["profile-input-tips"],children:e(n)})]}),(0,HN.jsxs)("label",{className:oY["profileline-content-item-wrapper"],children:[(0,HN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"dragMiddleMouseButton",name:"dragMiddleMouseButton2",type:"radio",value:"zoomCanvas",className:oY["profile-input-radio"],onChange:()=>{o("dragMiddleMouseButton","zoomCanvas")},checked:i.dragMiddleMouseButton.value==="zoomCanvas"}),(0,HN.jsx)("span",{title:e(a),i18n:a,"data-test":a,className:oY["profile-input-tips"],children:e(a)})]})]})]})}var SFi=L(No());var GN=L(z()),{locals:rY}=SFi.default;function MFi(t){let e=J(),{storage:i,onUpdate:o}=t,r=we.SYSTEM.SYSTEM_GENERAL.PLACE_UPDATED_DEVICE,n=we.SYSTEM.SYSTEM_GENERAL.SHOW_UPDATE_NOTICE_DIALOG,a=we.SYSTEM.SYSTEM_GENERAL.DONT_SHOW_UPDATE_NOTICE_DIALOG;return(0,GN.jsxs)("div",{className:rY["profileline-wrapper2"],children:[(0,GN.jsx)("div",{className:rY["profileline-label-wrapper2"],children:(0,GN.jsx)("span",{title:e(r),"data-test":r,i18n:r,children:e(r)})}),(0,GN.jsxs)("div",{className:rY["profileline-content-wrapper2"],children:[(0,GN.jsxs)("label",{className:rY["profileline-content-item-wrapper2"],children:[(0,GN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"placeDeviceType",name:"placeDeviceType1",type:"radio",value:"show",className:rY["profile-input-radio"],onChange:()=>{o("placeDeviceType","show")},checked:i.placeDeviceType.value==="show"}),(0,GN.jsx)("span",{title:e(n),i18n:n,"data-test":n,className:rY["profile-input-tips"],children:e(n)})]}),(0,GN.jsxs)("label",{className:rY["profileline-content-item-wrapper2"],children:[(0,GN.jsx)("input",{"data-input-type":"radio","data-attritem-input":"placeDeviceType",name:"placeDeviceType2",type:"radio",value:"hide",className:rY["profile-input-radio"],onChange:()=>{o("placeDeviceType","hide")},checked:i.placeDeviceType.value==="hide"}),(0,GN.jsx)("span",{title:e(a),i18n:a,"data-test":a,className:rY["profile-input-tips"],children:e(a)})]})]})]})}var IFi=L(No());var pM=L(z()),{locals:YN}=IFi.default;function LFi(t){let e=J(),{storage:i,onUpdate:o}=t,r=c=>{let d=c.target,u=d.getAttribute("data-attritem-input");i.sidePanelAutoHide[u]&&(i.sidePanelAutoHide[u].value=!!d.checked,o("sidePanelAutoHide",i.sidePanelAutoHide))},n=we.SYSTEM.SYSTEM_GENERAL.SIDE_PANEL_AUTO_HIDE,a=we.SYSTEM.SYSTEM_GENERAL.LEFT_SIDE_PANEL,s=we.SYSTEM.SYSTEM_GENERAL.RIGHT_SIDE_PANEL,l=we.SYSTEM.SYSTEM_GENERAL.BOTTOM_SIDE_PANEL;return(0,pM.jsxs)("div",{className:YN["profileline-wrapper"],children:[(0,pM.jsx)("div",{className:YN["profileline-label-wrapper"],children:(0,pM.jsx)("span",{title:e(n),"data-test":n,i18n:n,children:e(n)})}),(0,pM.jsxs)("div",{className:YN["profileline-content-wrapper"],children:[(0,pM.jsxs)("label",{className:YN["profileline-content-item-wrapper"],children:[(0,pM.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"leftPanel",name:"leftPanel",type:"checkbox",value:"true",className:YN["profile-input-checkbox"],onChange:r,checked:i.sidePanelAutoHide.leftPanel.value===!0}),(0,pM.jsx)("span",{title:e(a),i18n:a,"data-test":a,className:YN["profile-input-tips"],children:e(a)})]}),(0,pM.jsxs)("label",{className:YN["profileline-content-item-wrapper"],children:[(0,pM.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"rightPanel",name:"rightPanel",type:"checkbox",value:"true",className:YN["profile-input-checkbox"],onChange:r,checked:i.sidePanelAutoHide.rightPanel.value===!0}),(0,pM.jsx)("span",{title:e(s),i18n:s,"data-test":s,className:YN["profile-input-tips"],children:e(s)})]}),(0,pM.jsxs)("label",{className:YN["profileline-content-item-wrapper"],children:[(0,pM.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"bottomPanel",name:"bottomPanel",type:"checkbox",value:"true",className:YN["profile-input-checkbox"],onChange:r,checked:i.sidePanelAutoHide.bottomPanel.value===!0}),(0,pM.jsx)("span",{title:e(l),i18n:l,"data-test":l,className:YN["profile-input-tips"],children:e(l)})]})]})]})}var vFi=L(No());var nY=L(z()),{locals:Yhe}=vFi.default;function DFi(t){let e=J(),{storage:i,onUpdate:o}=t,r=a=>{let s=a.target;o("isShowSymbol",!!s.checked)},n=we.SYSTEM.SYSTEM_GENERAL.SHOW_SYMBOL_FOOTPRINT_UPDATE_DIALOG;return(0,nY.jsxs)("div",{className:Yhe["profileline-wrapper"],children:[(0,nY.jsx)("div",{className:Yhe["profileline-label-wrapper"],children:(0,nY.jsx)("span",{})}),(0,nY.jsx)("div",{className:Yhe["profileline-content-wrapper"],children:(0,nY.jsxs)("label",{className:Yhe["profileline-content-item-wrapper"],children:[(0,nY.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":"isShowSymbol",name:"isShowSymbol",type:"checkbox",value:"true",className:Yhe["profile-input-checkbox"],onChange:r,checked:i.isShowSymbol.value===!0}),(0,nY.jsx)("span",{title:e(n),i18n:n,"data-test":n,className:Yhe["profile-input-tips"],children:e(n)})]})})]})}var EFi=L(No());var mM=L(z()),{locals:WN}=EFi.default;function AFi(t){let e=J(),{storage:i,onUpdate:o}=t,r=aZ(i.themePreference),n=we.SYSTEM.SYSTEM_GENERAL.INTERFACE_THEME,a=we.SYSTEM.SYSTEM_GENERAL.LIGHT,s=we.SYSTEM.SYSTEM_GENERAL.DARK,l=we.SYSTEM.SYSTEM_GENERAL.FOLLOW_SYSTEM;return(0,mM.jsxs)("div",{className:WN["profileline-wrapper"],children:[(0,mM.jsx)("div",{className:WN["profileline-label-wrapper"],children:(0,mM.jsx)("span",{title:e(n),"data-test":n,children:e(n)})}),(0,mM.jsxs)("div",{className:WN["profileline-content-wrapper"],children:[(0,mM.jsxs)("label",{className:WN["profileline-content-item-wrapper"],children:[(0,mM.jsx)("input",{type:"radio",value:"light",className:WN["profile-input-radio"],onChange:()=>{o("themePreference","light")},checked:r==="light"}),(0,mM.jsx)("span",{title:e(a),"data-test":a,className:WN["profile-input-tips"],children:e(a)})]}),(0,mM.jsxs)("label",{className:WN["profileline-content-item-wrapper"],children:[(0,mM.jsx)("input",{type:"radio",value:"dark",className:WN["profile-input-radio"],onChange:()=>{o("themePreference","dark")},checked:r==="dark"}),(0,mM.jsx)("span",{title:e(s),"data-test":s,className:WN["profile-input-tips"],children:e(s)})]}),(0,mM.jsxs)("label",{className:WN["profileline-content-item-wrapper"],children:[(0,mM.jsx)("input",{type:"radio",value:"system",className:WN["profile-input-radio"],onChange:()=>{o("themePreference","follow_system")},checked:r==="follow_system"}),(0,mM.jsx)("span",{title:e(l),"data-test":l,className:WN["profile-input-tips"],children:e(l)})]})]})]})}var NFi=L(No());var hM=L(z()),{locals:QN}=NFi.default;function kFi(t){let e=J(),{storage:i,onUpdate:o}=t,r=we.SYSTEM.SYSTEM_GENERAL.SHOW_ACTION_DIALOG,n=we.SYSTEM.SYSTEM_GENERAL.NON_COPY,a=we.SYSTEM.SYSTEM_GENERAL.COPY;return(0,hM.jsxs)("div",{className:QN["profileline-wrapper"],children:[(0,hM.jsx)("div",{className:QN["profileline-label-wrapper"],children:(0,hM.jsx)("span",{title:e("Copy Reuse Blocks"),"data-test":"Copy Reuse Blocks",i18n:"Copy Reuse Blocks",children:e("Copy Reuse Blocks")})}),(0,hM.jsxs)("div",{className:QN["profileline-content-wrapper"],children:[(0,hM.jsxs)("label",{className:QN["profileline-content-item-wrapper"],children:[(0,hM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"copyReuseBlock",name:"copyReuseBlock1",type:"radio",value:"0",className:QN["profile-input-radio"],onChange:()=>{o("copyReuseBlocks","0")},checked:i.copyReuseBlocks.value==="0"}),(0,hM.jsx)("span",{title:e(r),i18n:r,"data-test":r,className:QN["profile-input-tips"],children:e(r)})]}),(0,hM.jsxs)("label",{className:QN["profileline-content-item-wrapper"],children:[(0,hM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"copyReuseBlock",name:"copyReuseBlock1",type:"radio",value:"1",className:QN["profile-input-radio"],onChange:()=>{o("copyReuseBlocks","1")},checked:i.copyReuseBlocks.value==="1"}),(0,hM.jsx)("span",{title:e(n),i18n:n,"data-test":n,className:QN["profile-input-tips"],children:e(n)})]}),(0,hM.jsxs)("label",{className:QN["profileline-content-item-wrapper"],children:[(0,hM.jsx)("input",{"data-input-type":"radio","data-attritem-input":"copyReuseBlock",name:"copyReuseBlock1",type:"radio",value:"2",className:QN["profile-input-radio"],onChange:()=>{o("copyReuseBlocks","2")},checked:i.copyReuseBlocks.value==="2"}),(0,hM.jsx)("span",{title:e(a),i18n:a,"data-test":a,className:QN["profile-input-tips"],children:e(a)})]})]})]})}var ID=L(Se());var _vt=L(OFi());var PWe=L(z()),kIr=[{dir:"vertical",offset:"top",long:"height",mouseOffset:"pageY"},{dir:"horizontal",offset:"left",long:"width",mouseOffset:"pageX"}],PIr={width:"100px"},RFi={dir:"horizontal",size:8},{locals:OIr}=_vt.default,kWe=be.bind(OIr);function RIr(t){Ae(_vt.default);let e=(0,ID.useMemo)(()=>t.dir==="vertical"?t.dir:RFi.dir,[t.dir]),i=(0,ID.useMemo)(()=>Math.abs(isFinite(t.size)?t.size:RFi.size),[t.size]),{onChange:o=AS,onDidChange:r=AS,style:n=ks}=t,a=(0,ID.useRef)(null),s=(0,ID.useRef)(!1),[l,c]=(0,ID.useState)(0);(0,ID.useEffect)(()=>{s.current||c(t.value||0)},[t.value]);let d=(0,ID.useMemo)(()=>[kWe("range"),kWe(`range-${e}`)].join(" "),[e]),u=(0,ID.useMemo)(()=>{let b=e==="horizontal"?"right":"bottom",y=e==="horizontal"?"height":"width",w=l+"%";return{[y]:i+"px",borderRadius:i/2,backgroundImage:`linear-gradient(to ${b},var(--range-current-background) ${w},var(--range-background) ${w})`}},[e,i,l]),p=(0,ID.useMemo)(()=>({[e==="horizontal"?"left":"top"]:l+"%"}),[e,l]),m=b=>{let y=Kri(a.current),w=kIr.find(({dir:A})=>A===e),x=Math.round(y[w.long]),S=Math.round(y[w.offset]),T=b[w.mouseOffset]-S;T>x?T=x:T<0&&(T=0);let M=e==="vertical"?x-T:T,I=x?M/x*100:0;c(I)},h=b=>{s.current=!0,m(b),o(l)},f=b=>{s.current&&(m(b),o(l))},g=b=>{s.current&&(s.current=!1,r(l))};return Gs("mousemove",f),Gs("mouseup",g),(0,PWe.jsx)("section",{ref:a,onMouseDown:b=>h(b.nativeEvent),style:{...PIr,...n},className:d,children:(0,PWe.jsx)("div",{className:kWe("range-buffer"),style:u,children:(0,PWe.jsx)("div",{className:kWe("range-dot"),style:p})})})}var _Fi=RIr;var Uq=L(Se());var jFi=L(z());function E1(t){let{value:e,defaultValue:i=e,validator:o,onChange:r,unit:n}=t,a=ca({flush:"sync"}),s=(0,Uq.useRef)(`${e+n}`),l=p=>{s.current=p,a()},c=()=>{let p=s.current==="",m=p?0:yd(s.current,n);isFinite(m)&&(!o||o(m))?l(p&&!n?String(m):String(m)+n):(l(`${i+n}`),m=i),r&&r(p&&!n?"":String(m),n)};(0,Uq.useEffect)(()=>{l(document.activeElement!==d.current?t.value+n:String(t.value))},[t.value]);let d=(0,Uq.useRef)(null);(0,Uq.useEffect)(()=>{t.focus&&d.current.focus()},[t.focus]);let u=(0,Uq.useMemo)(()=>t.disabled,[t.disabled]);return(0,jFi.jsx)("input",{disabled:u,style:{width:"100%"},ref:d,type:"text",className:"fixed-length-input",value:s.current,onInput:p=>{l(SD(p.target.value))},onBlur:p=>{c()},onFocus:p=>{l(s.current.substring(0,s.current.lastIndexOf(n))),p.target.select()},onKeyDown:p=>{p.key==="Enter"&&c()}})}var zFi=L(No());var W0=L(z()),{locals:KN}=zFi.default,zIr=[{value:"disabled",text:we.SYSTEM.SYSTEM_GENERAL.DISABLE},{value:"uniformTranslation",text:we.SYSTEM.SYSTEM_GENERAL.UNIFORM_TRANSLATION},{value:"variableSpeedTranslation",text:we.SYSTEM.SYSTEM_GENERAL.VARIABLE_SPEED_TRANSLATION}];function jvt(){return cu.SYSTEM.autoPanning}var OWe=we.SYSTEM.SYSTEM_GENERAL.AUTO_PANNING,BFi="autoPanningType",RWe=we.SYSTEM.SYSTEM_GENERAL.STEPPING,_We=we.SYSTEM.SYSTEM_GENERAL.ALT_STEPPING;function FFi(t){let e=J(),{storage:i,onUpdate:o}=t,r=a=>{var s;return(((s=i.autoPanning)==null?void 0:s[a])||jvt()[a]).value},n=(a,s)=>{let l=i.autoPanning;l||(l=i.autoPanning=ue.deepClone(jvt()));let c=l[a];c||(c=l[a]=ue.deepClone(jvt()[a])),c.value=s,o("autoPanning",l)};return(0,W0.jsxs)(W0.Fragment,{children:[(0,W0.jsxs)("div",{className:KN["profileline-wrapper"],children:[(0,W0.jsx)("div",{className:KN["profileline-label-wrapper"],children:(0,W0.jsx)("span",{title:e(OWe),"data-test":OWe,i18n:OWe,children:e(OWe)})}),(0,W0.jsx)("div",{className:KN["profileline-content-wrapper"],children:zIr.map(({value:a,text:s},l)=>(0,W0.jsxs)("label",{className:KN["profileline-content-item-wrapper"],children:[(0,W0.jsx)("input",{"data-input-type":"radio","data-attritem-input":BFi,name:`${BFi}${l}`,type:"radio",value:a,className:KN["profile-input-radio"],onChange:()=>{n("type",a)},checked:r("type")===a}),(0,W0.jsx)("span",{title:e(s),i18n:s,"data-test":s,className:KN["profile-input-tips"],children:e(s)})]},a))})]}),(0,W0.jsxs)("div",{className:KN["profileline-wrapper"],children:[(0,W0.jsx)("div",{className:KN["profileline-label-wrapper"],children:(0,W0.jsx)("span",{})}),(0,W0.jsxs)("div",{className:KN["profileline-content-wrapper"],children:[(0,W0.jsx)("span",{children:e(we.SYSTEM.SYSTEM_GENERAL.SLOW)}),(0,W0.jsx)(_Fi,{style:{width:"200px",margin:"0 10px"},value:r("speed"),onDidChange:a=>{n("speed",+a)}}),(0,W0.jsx)("span",{children:e(we.SYSTEM.SYSTEM_GENERAL.FAST)})]})]}),(0,W0.jsxs)("div",{className:KN["profileline-wrapper"],children:[(0,W0.jsx)("div",{className:KN["profileline-label-wrapper"],children:(0,W0.jsx)("span",{})}),(0,W0.jsxs)("div",{className:KN["profileline-content-item-wrapper"],style:{display:"flex",flex:1,alignItems:"center",paddingBottom:"8px"},children:[(0,W0.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,W0.jsxs)("span",{title:e(RWe),"data-test":RWe,i18n:RWe,style:{maxWidth:"65px",flexShrink:0},children:[e(RWe),":"]}),(0,W0.jsx)("div",{style:{marginLeft:"8px",width:"100%",height:"24px"},children:(0,W0.jsx)(E1,{value:+r("step"),validator:a=>a>0,unit:"",onChange:a=>{n("step",+a)}})})]}),(0,W0.jsxs)("div",{style:{display:"flex",alignItems:"center",marginLeft:"16px"},children:[(0,W0.jsxs)("span",{title:e(_We),"data-test":_We,i18n:_We,style:{maxWidth:"65px",flexShrink:0},children:[e(_We),":"]}),(0,W0.jsx)("div",{style:{marginLeft:"8px",width:"100%",height:"24px"},children:(0,W0.jsx)(E1,{value:+r("altStep"),validator:a=>a>0,unit:"",onChange:a=>{n("altStep",+a)}})})]})]})]})]})}var $3=L(z());function VFi(){let t=J(),e=(0,UFi.useContext)(Ea);Ce(e.systemAppStore);let i=(o,r)=>{e.systemAppStore.whenAttrUpdate(o,r),e.frameStore.waitForSaveTagsSet=new Set([...e.frameStore.waitForSaveTagsSet,"SYSTEM_GENERAL"])};return(0,$3.jsxs)($3.Fragment,{children:[(0,$3.jsx)("div",{style:{paddingBottom:"16px",lineHeight:"24px"},children:t(we.SYSTEM.SYSTEM_GENERAL.TIPS)}),(0,$3.jsx)(AFi,{storage:e.systemAppStore.storage,onUpdate:i}),(0,$3.jsx)(pFi,{storage:e.systemAppStore.storage,onUpdate:i}),(0,$3.jsx)(hFi,{storage:e.systemAppStore.storage,isShowCewLibraryPopupComponent:e.systemAppStore.isShowCewLibraryPopupComponent,onUpdate:i}),(0,$3.jsx)(gFi,{storage:e.systemAppStore.storage,onUpdate:i}),(0,$3.jsx)(yFi,{storage:e.systemAppStore.storage,onUpdate:i}),(0,$3.jsx)(CFi,{storage:e.systemAppStore.storage,onUpdate:i}),(0,$3.jsx)(TFi,{storage:e.systemAppStore.storage,onUpdate:i}),(0,$3.jsx)(FFi,{storage:e.systemAppStore.storage,onUpdate:i}),(0,$3.jsx)(LFi,{storage:e.systemAppStore.storage,onUpdate:i}),(0,$3.jsx)(kFi,{storage:e.systemAppStore.storage,onUpdate:i}),(0,$3.jsx)(MFi,{storage:e.systemAppStore.storage,onUpdate:i}),(0,$3.jsx)(DFi,{storage:e.systemAppStore.storage,onUpdate:i})]})}var BWe=L(Se());var HFi=L(No());var jWe=L(Se());var Bvt=L(z());function zvt(t){let{list:e,addBtnDisabled:i,delBtnDisabled:o,upMoveBtnDisabled:r,downMoveBtnDisabled:n,onBtnClicked:a}=t,s=(0,jWe.useRef)(!1),l=c=>{s.current!==!0&&(s.current=!0,a(c))};return(0,jWe.useEffect)(()=>{window.setTimeout(()=>{s.current=!1})},[e]),(0,Bvt.jsx)("div",{style:{padding:"7px 0 7px 0"},children:(0,Bvt.jsx)(ec,{addButton:!0,addDisabled:i,deleteButton:!0,deleteDisabled:o,upButton:!0,upDisabled:r,downButton:!0,downDisabled:n,onClick:l})})}var Vq=L(Se());var BC={excitationRowIndex:void 0,excitationColKey:void 0};var Qhe=L(z()),FIr=[{key:"title",name:"title",sortable:!0,sortKey:"title",width:1,filter:!0,fixedWidth:!0}];function Fvt(t){let e=J(),{list:i,isTableEditing:o,selectedRowNumbers:r,tableTitle:n,searchContainerId:a,usrAction:s,onRowSinglyClicked:l,onRowDoublyClicked:c,onRowInputInteractive:d,onTableDataChangedAction:u,setUsrAction:p}=t,m=(0,Vq.useRef)(null),h=(0,Vq.useRef)(null),f=(0,Vq.useRef)(null),g=(0,Vq.useRef)(0),b=(0,Vq.useRef)(null),y=FIr.map(S=>({...S,name:me.i18n(n),render(T){let{rowNumber:M,colKey:I}=T,A=T.row,D=A.isRepeat?{color:"rgba(255, 0, 0, 1)"}:{},E=this,N=P=>{let O=P.target,_=O.getAttribute("data-id"),j=O.getAttribute("data-row"),B=O.getAttribute("data-col");+j===BC.excitationRowIndex&&window.clearTimeout(h.current),typeof O.select<"u"&&O.select()},R=P=>{let O=P.target;P.keyCode===13&&O.blur()},v=async P=>{let O=P.target,_=O.value,j=O.getAttribute("data-id"),B=O.getAttribute("data-row"),V=O.getAttribute("data-col");d("changed",j,V,_)},k=async P=>{let O=P.target,_=O.value,j=O.getAttribute("data-id"),B=O.getAttribute("data-row"),V=O.getAttribute("data-col");h.current=window.setTimeout(()=>{d("blured",j,V,_)},50),window.clearInterval(f.current)};switch(E.key){case"title":return A.titleEditing?(0,Qhe.jsx)("div",{children:(0,Qhe.jsx)("input",{type:"text",name:"title",defaultValue:A.title,style:{display:"block",width:"100%"},onFocus:N,onKeyUp:R,onChange:v,onBlur:k,"data-id":A.id,"data-row":M,"data-col":"title"})}):(0,Qhe.jsx)("div",{"data-id":A.id,"data-row":M,style:D,children:A.title})}}})),w=S=>{let{clickObj:T,selectedRowNumbers:M,row:I}=S;g.current++,(BC.excitationColKey!==T.colKey||BC.excitationRowIndex!==T.rowNumber)&&(g.current=1),BC.excitationColKey=T.colKey,BC.excitationRowIndex=T.rowNumber,window.clearTimeout(b.current),b.current=window.setTimeout(()=>{g.current=0},800),l(M),g.current>=2&&c(T?T.rowNumber:-1)},x=(S,T,M)=>{u(S,T,M)};return(0,Vq.useEffect)(()=>{let S=null;return m.current&&(S=new MutationObserver(T=>{if(!(typeof BC.excitationRowIndex>"u"||typeof BC.excitationColKey>"u"))for(let M=0;M<T.length;M++){let I=T[M].target;if(!I)continue;let A=Array.from(I.querySelectorAll(`[data-row="${BC.excitationRowIndex}"]`)),D=null;for(let E=0;E<A.length;E++)if(A[E].getAttribute("data-col")===BC.excitationColKey){D=A[E];break}D&&(D.focus(),BC.excitationColKey=void 0,BC.excitationRowIndex=void 0)}}),S.observe(m.current,{childList:!0,subtree:!0})),()=>{S&&S.disconnect()}},[]),(0,Qhe.jsx)("div",{id:a,style:{width:"100%",overflowY:"hidden",overflowX:"auto"},ref:m,children:(0,Qhe.jsx)(xi,{index:"id",border:!0,height:425,columns:y,openHeadContentMenu:!1,showCustomHeadSettingOnHeadContextmenu:!1,rows:i,selectedRowNumbers:r,openVirtualScroll:!1,onClick:w,onChange:x})})}var ZN=L(z()),{locals:Uvt}=HFi.default;function aY(t){let{categoryAppStore:e}=t,i=e.libStore,o=e.levelOneStore,r=e.levelTwoStore;Ce(i),Ce(o),Ce(r);let n=Uvt["catogory-container"],a=Uvt["category-lib-container"],s=Uvt["category-content-container"],l=(m,h)=>{e.whenLibItemSelected(m[0])},c=()=>{},d=()=>{e.refreshLibList()},u=m=>{i.emptyLabel=me.i18n("No Results!")},p=m=>{i.emptyLabel=me.i18n("Loading")};return(0,ZN.jsxs)("div",{className:n,children:[(0,ZN.jsx)("div",{className:a,id:"system-setting-category-liblist",children:(0,ZN.jsx)(j3,{emptyLabel:i.emptyLabel,selectedIds:i.selectedIds,libList:i.initalLibList,searchPlaceholder:i.searchPlaceHolder,searchValue:i.searchValue,selectedLibsAction:l,clearSearchInputAction:c,libRefreshAction:d,onImmersedComponentSearch:u,onExitComponentSearch:p})}),(0,ZN.jsxs)("div",{className:s,children:[(0,ZN.jsxs)("div",{style:{flexShrink:"0",width:"50%"},children:[(0,ZN.jsx)(zvt,{list:o.list,addBtnDisabled:o.addBtnDisabled,delBtnDisabled:o.delBtnDisabled,downMoveBtnDisabled:o.downMoveBtnDisabled,upMoveBtnDisabled:o.upMoveBtnDisabled,onBtnClicked:o.whenOperationsBtnClicked.bind(o)}),(0,ZN.jsx)(Fvt,{list:o.list,selectedRowNumbers:o.selectedRowNumbers,isTableEditing:o.isTableEditing,tableTitle:"Primary Category",searchContainerId:"system-setting-category-primary",usrAction:e.usrAction,setUsrAction:e.setUsrAction.bind(e),onTableDataChangedAction:o.whenListTableDataChanged.bind(o),onRowSinglyClicked:o.whenListRowItemSinglyClicked.bind(o),onRowDoublyClicked:o.whenListRowItemDoublyClicked.bind(o),onRowInputInteractive:o.whenRowInputInteractived.bind(o)})]}),(0,ZN.jsxs)("div",{style:{flexShrink:"0",width:"50%"},children:[(0,ZN.jsx)(zvt,{list:r.list,addBtnDisabled:r.addBtnDisabled,delBtnDisabled:r.delBtnDisabled,downMoveBtnDisabled:r.downMoveBtnDisabled,upMoveBtnDisabled:r.upMoveBtnDisabled,onBtnClicked:r.whenOperationsBtnClicked.bind(r)}),(0,ZN.jsx)(Fvt,{list:r.list,selectedRowNumbers:r.selectedRowNumbers,isTableEditing:r.isTableEditing,tableTitle:"Secondary Category",searchContainerId:"system-setting-category-secondary",usrAction:e.usrAction,setUsrAction:e.setUsrAction.bind(e),onTableDataChangedAction:r.whenListTableDataChanged.bind(r),onRowSinglyClicked:r.whenListRowItemSinglyClicked.bind(r),onRowDoublyClicked:r.whenListRowItemDoublyClicked.bind(r),onRowInputInteractive:r.whenRowInputInteractived.bind(r)})]})]})]})}var bm=L(z());function GFi(t){let e=(0,BWe.useContext)(Ea);Ce(e.categoryAppStore);let i=me.i18n("Refresh List"),o={height:"calc(100% - 30px)",paddingTop:"8px"},r=n=>{e.categoryAppStore.whenRefreshBtnClicked()};return(0,BWe.useEffect)(()=>{e.categoryAppStore.whenComponentMouned({initCategoryActiveTab:t.initCategoryActiveTab,initCategoryActiveLibId:t.initCategoryActiveLibId})},[]),Je?(0,bm.jsxs)("div",{style:{width:"100%",height:"100%",minHeight:"inherit",position:"relative"},children:[(0,bm.jsx)(yl,{lists:e.categoryAppStore.tabs||[],direction:"top",activeKey:e.categoryAppStore.activeTabId,type:"card",tabsStyle:{minWidth:"81px"},beforeSwitch:async n=>await e.categoryAppStore.whenTabItemSwitch(),onClick:n=>{e.categoryAppStore.activeTabId!==n&&e.categoryAppStore.whenTabItemSelected(n)}}),(0,bm.jsx)("div",{id:"systemCategoryContent",style:o,children:(0,bm.jsx)("div",{style:{width:"100%",height:"100%"},children:(0,bm.jsx)(aY,{categoryAppStore:e.categoryAppStore})})}),(0,bm.jsx)("div",{style:{position:"absolute",right:0,top:0,zIndex:9999},children:(0,bm.jsx)("span",{onClick:r,className:"refresh icon-eda-refresh circle-refresh-btn",title:i})})]}):(0,bm.jsxs)("div",{style:{width:"100%",height:"100%",minHeight:"inherit",position:"relative"},children:[(0,bm.jsx)(yl,{lists:e.categoryAppStore.tabs,direction:"top",activeKey:e.categoryAppStore.activeTabId,type:"card",tabsStyle:{minWidth:"81px"},beforeSwitch:async n=>await e.categoryAppStore.whenTabItemSwitch(),onClick:n=>{e.categoryAppStore.activeTabId!==n&&e.categoryAppStore.whenTabItemSelected(n)}}),(0,bm.jsxs)("div",{id:"systemCategoryContent",style:o,children:[(0,bm.jsx)("div",{style:{display:`${e.categoryAppStore.activeTabId==="Device"?"":"none"}`,width:"100%",height:"100%"},children:e.categoryAppStore.activeTabId==="Device"?(0,bm.jsx)(aY,{categoryAppStore:e.categoryAppStore}):null}),(0,bm.jsx)("div",{style:{display:`${e.categoryAppStore.activeTabId==="Symbol"?"":"none"}`,width:"100%",height:"100%"},children:e.categoryAppStore.activeTabId==="Symbol"?(0,bm.jsx)(aY,{categoryAppStore:e.categoryAppStore}):null}),(0,bm.jsx)("div",{style:{display:`${e.categoryAppStore.activeTabId==="Footprint"?"":"none"}`,width:"100%",height:"100%"},children:e.categoryAppStore.activeTabId==="Footprint"?(0,bm.jsx)(aY,{categoryAppStore:e.categoryAppStore}):null}),(0,bm.jsx)("div",{style:{display:`${e.categoryAppStore.activeTabId==="CBB"?"":"none"}`,width:"100%",height:"100%"},children:e.categoryAppStore.activeTabId==="CBB"?(0,bm.jsx)(aY,{categoryAppStore:e.categoryAppStore}):null}),(0,bm.jsx)("div",{style:{display:`${e.categoryAppStore.activeTabId==="D3Model"?"":"none"}`,width:"100%",height:"100%"},children:e.categoryAppStore.activeTabId==="D3Model"?(0,bm.jsx)(aY,{categoryAppStore:e.categoryAppStore}):null}),(0,bm.jsx)("div",{style:{display:`${e.categoryAppStore.activeTabId==="PanelLib"?"":"none"}`,width:"100%",height:"100%"},children:e.categoryAppStore.activeTabId==="PanelLib"?(0,bm.jsx)(aY,{categoryAppStore:e.categoryAppStore}):null}),(0,bm.jsx)("div",{style:{display:`${e.categoryAppStore.activeTabId==="SimModel"?"":"none"}`,width:"100%",height:"100%"},children:e.categoryAppStore.activeTabId==="SimModel"?(0,bm.jsx)(aY,{categoryAppStore:e.categoryAppStore}):null})]}),(0,bm.jsx)("div",{style:{position:"absolute",right:0,top:0,zIndex:9999},children:(0,bm.jsx)("span",{onClick:r,className:"refresh icon-eda-refresh circle-refresh-btn",title:i})})]})}var og=L(z());function Vvt(t,e){let i=null;switch(t){case"SYSTEM_GENERAL":{i=(0,og.jsx)(VFi,{});break}case"CATEGORY":{i=(0,og.jsx)(GFi,{...e});break}case"BASE_LIBRARY":{i=(0,og.jsx)(FOi,{});break}case"CANVAS_GENERAL":{i=(0,og.jsx)(QRi,{});break}case"OBJECT":{i=(0,og.jsx)(G_i,{});break}case"PCB_FOOTPRINT_GENERAL":{i=(0,og.jsx)(nzi,{});break}case"PCB_THEME":{i=(0,og.jsx)(dzi,{});break}case"PCB_SHOW":{i=(0,og.jsx)(lFi,{});break}case"PCB_COMM_GRID_SIZE":{i=(0,og.jsx)(xji,{});break}case"PCB_COMM_TRACK_WIDTH":{i=(0,og.jsx)(Iji,{});break}case"PCB_COMM_VIA_SIZE":{i=(0,og.jsx)(Nji,{});break}case"ADSORPTION":{i=(0,og.jsx)(BOi,{});break}case"PANEL_CANVAS_GENERAL":{i=(0,og.jsx)(cji,{});break}case"PANEL_THEME":{i=(0,og.jsx)(mji,{});break}case"COMM_TYPEFACE":{i=(0,og.jsx)(s_i,{});break}case"DESIGN":{i=(0,og.jsx)(A_i,{});break}case"PROPERTY":{i=(0,og.jsx)(cFi,{});break}case"HOTKEY":{i=(0,og.jsx)(j_i,{});break}case"LANGUAGE":{i=(0,og.jsx)(z_i,{});break}case"CUSTOM_TOOLBAR":{i=(0,og.jsx)(L_i,{});break}case"SAVE":{i=(0,og.jsx)(Whi,{});break}default:i=(0,og.jsx)("div",{style:{color:"red"}})}return i}function YFi(t,e){switch(e.frameStore.bottomImportBtnDisabled=!1,e.frameStore.bottomExportBtnDisabled=!1,e.frameStore.bottomRestoreBtnDisabled=!1,t){case"CATEGORY":{e.frameStore.bottomImportBtnDisabled=!0,e.frameStore.bottomExportBtnDisabled=!0,e.frameStore.bottomRestoreBtnDisabled=!0;break}default:}}var JN=L(z()),{locals:zWe}=WFi.default;function UIr(t){let{mainProps:e,menuId:i,contentSubWrapperClassName:o}=t;return["CUSTOM_TOOLBAR","CATEGORY","BASE_LIBRARY","PCB_THEME","PCB_COMM_GRID_SIZE"].includes(i)?Vvt(i,e):(0,JN.jsx)("div",{className:o,children:Vvt(i,e)})}var VIr=(0,zC.createContext)(null);function HIr(t,e){let{menuSelected:i}=t,o=J(),r=(0,zC.useContext)(Ea),n=`${zWe["main-container"]}`,a=`${zWe["menu-wrapper"]}`,s=`${zWe["content-wrapper"]}`,l=`${zWe["content-sub-wrapper"]}`,[c,d]=(0,zC.useState)(void 0),[u,p]=(0,zC.useState)(""),[m,h]=(0,zC.useState)(0),[f,g]=(0,zC.useState)({searchCount:0,searchMenuList:[],searchMenuMap:{},direction:"next"}),b=(0,zC.useRef)(null),y=(0,zC.useRef)(null),[w,x]=(0,zC.useState)(!1),S=T=>{YFi(T,r),d(T),r.frameStore.menuId=T};return(0,zC.useEffect)(()=>{b!=null&&b.current&&setTimeout(()=>{if(KHe(b.current,u),u){let{searchMenuMap:T}=f,M=m,I=0,A=0,D=!1,E=0,N=null,R,v;it(T,(k,P)=>{if(I+=P.count,I>=M)return A=P.count+M-I,D=P.isMenuTitleMatch,E=P.menuTitleMatchNum,N=P.parentMenuId,R=P.subTab,v=P.tree,!1}),I>0&&ivt({index:A,isMenuTitleMatch:D,menuTitleMatchNum:E,parentMenuId:N,menuId:c,dialogStore:r,direction:"next",subTab:R,tree:v,highlight:()=>{KHe(b.current,u)}})}},50)},[f,c]),(0,JN.jsx)(VIr.Provider,{value:{searchValue:u},children:(0,JN.jsxs)("section",{className:n,ref:b,children:[(0,JN.jsxs)("div",{className:a,children:[(0,JN.jsx)("div",{id:tvt,children:(0,JN.jsx)(i4,{placeholder:o("Find"),showFilterResult:f.searchCount>0,hasClearButton:!0,hasZoomBotton:!0,value:u,resultValue:{curNum:m,totalNum:f.searchCount},onChange:T=>{p(T)},clickPrevNextCb:T=>{let M=T==="prev"?-1:1,{searchMenuMap:I}=f,A=m+M,D=0,E=0,N="",R=!1,v=0,k=null,P,O;it(I,(_,j)=>{if(D+=j.count,D>=A)return E=j.count+A-D,N=_,R=j.isMenuTitleMatch,v=j.menuTitleMatchNum,k=j.parentMenuId,P=j.subTab,O=j.tree,!1}),N!==c?y.current.toPreOrNextMenu(N):ivt({index:E,isMenuTitleMatch:R,menuTitleMatchNum:v,parentMenuId:k,menuId:c,dialogStore:r,direction:T,subTab:P,tree:O,highlight:()=>{KHe(b.current,u)}}),h(A)},clickClearCb:()=>{p("")},style:{height:"24px",width:"100%"}})}),(0,JN.jsx)("div",{id:"systemSettingManagerMenuZone",style:{overflowY:"auto",height:"calc(100% - 24px)"},children:(0,JN.jsx)(MOi,{ref:y,setResultValue:g,setSearchCurNum:h,setIsAllHide:x,menuSelected:i,menuId:c,onMenuSelected:S,searchValue:u})})]}),(0,JN.jsx)("section",{className:s,style:{display:w?"none":""},id:"systemSettingManagerContentZone",children:(0,JN.jsx)(UIr,{mainProps:t,menuId:c,contentSubWrapperClassName:l})})]})})}var QFi=(0,zC.forwardRef)(HIr);var Khe=L(Se());var oO=L(z());function GIr(t){let e=(0,Khe.useContext)(Ea);Ce(e.frameStore);let i=J(),{handleBtnEvent:o}=t,r=(0,Khe.useRef)(null),n=a=>{window.setTimeout(r.current),r.current=window.setTimeout(()=>{o(a)})};return(0,oO.jsxs)(oO.Fragment,{children:[(0,oO.jsx)(Me,{type:"primary",style:{marginRight:"8px",position:"absolute",left:0,top:0},disabled:e.frameStore.bottomImportBtnDisabled,onClick:()=>n("import"),children:"Import Config"}),(0,oO.jsx)(Me,{type:"primary",style:{marginRight:"8px",position:"absolute",left:"104px",top:0},disabled:e.frameStore.bottomExportBtnDisabled,onClick:()=>n("export"),children:"Export Config"}),(0,oO.jsx)(Me,{type:"primary",style:{marginRight:"8px"},disabled:e.frameStore.bottomRestoreBtnDisabled,onClick:()=>n("restore"),children:"Restore Default"}),(0,oO.jsx)(Me,{type:"primary",style:{marginRight:"8px"},disabled:!1,readonly:e.frameStore.bottomApplyBtnLoading,onClick:()=>n("apply"),children:e.frameStore.bottomApplyBtnText}),(0,oO.jsx)(Me,{type:"primary",style:{marginRight:"8px"},disabled:!1,readonly:e.frameStore.bottomConfirmBtnLoading,onClick:()=>n("confirm"),children:e.frameStore.bottomConfirmBtnText}),(0,oO.jsx)(Me,{onClick:()=>n("cancel"),children:"Cancel"})]})}var KFi=Khe.default.memo(GIr);var ZFi=L(Se());var js=class extends qe{constructor(){super(),this._storage={}}get storage(){return this._storage}set storage(e){this._storage=e,this.notify()}update(){this.notify()}exit(){}};async function JFi(t){let e=new Hvt(t);return await e.initial(),e}var Hvt=class extends js{constructor(e){super(),this.frameStore=e}async initial(){this.storage=ue.deepClone(vr.get("ADSORPTION"))}whenAttrUpdate(e,i){typeof this.storage[e]<"u"&&(typeof this.storage[e].value<"u"?this.storage[e].value=i:this.storage[e]=i),this.addChangedTags(),this.notify()}async restore(e){this.storage=ue.deepClone(e.ADSORPTION),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"ADSORPTION"]),this.addChangedTags()}async submitData(){vr.set("ADSORPTION",ue.deepClone(this.storage))}addChangedTags(){this.frameStore.changeModules.has("ADSORPTION")||this.frameStore.changeModules.add("ADSORPTION")}clearChangedTags(){this.frameStore.changeModules.has("ADSORPTION")&&this.frameStore.changeModules.delete("ADSORPTION")}},Tnl=(0,ZFi.createContext)(void 0);var qFi=L(Se());async function XFi(t){let e=new Gvt(t);return await e.initial(),e}var Gvt=class extends js{constructor(i){super();this._activeTab="device";this.frameStore=i}get activeTab(){return this._activeTab}set activeTab(i){this._activeTab=i,this.notify()}async initial(){this.storage={BASE_LIBRARY:ue.deepClone(vr.get("BASE_LIBRARY")),BASE_PANEL_LIB:ue.deepClone(vr.get("BASE_PANEL_LIB"))}}whenAttrUpdate(i,o){typeof this.storage[i]<"u"&&(typeof this.storage[i].value<"u"?this.storage[i].value=o:this.storage[i]=o),this.addChangedTags(),this.notify()}async restore(i){this.storage={BASE_LIBRARY:ue.deepClone(i.BASE_LIBRARY),BASE_PANEL_LIB:ue.deepClone(i.BASE_PANEL_LIB)},this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"BASE_LIBRARY"]),this.addChangedTags(),this.notify()}async submitData(){vr.set("BASE_LIBRARY",ue.deepClone(this.storage.BASE_LIBRARY)),vr.set("BASE_PANEL_LIB",ue.deepClone(this.storage.BASE_PANEL_LIB))}addChangedTags(){this.frameStore.changeModules.has("BASE_LIBRARY")||this.frameStore.changeModules.add("BASE_LIBRARY")}clearChangedTags(){this.frameStore.changeModules.has("BASE_LIBRARY")&&this.frameStore.changeModules.delete("BASE_LIBRARY")}},Enl=(0,qFi.createContext)(void 0);var $Fi=L(Se());async function eUi(t){let e=new Yvt(t);return await e.initial(),e}var Yvt=class extends js{constructor(e){super(),this.frameStore=e,this._alwaysShowCrossCursorCheckboxDisabled=!1}async initial(){this.storage=ue.deepClone(vr.get("CANVAS")),this.ensurePinFieldUnitConsistency(),this.alwaysShowCrossCursorCheckboxDisabled=this.storage.cursor.value==="None"}get alwaysShowCrossCursorCheckboxDisabled(){return this._alwaysShowCrossCursorCheckboxDisabled}set alwaysShowCrossCursorCheckboxDisabled(e){this._alwaysShowCrossCursorCheckboxDisabled=e,this.notify()}whenAttrUpdate(e,i){var r,n;let o=this.storage.unit.value;switch(typeof this.storage[e]<"u"&&(e==="newDefaultPinLength"||e==="newDefaultPinDistance"?this.storage[e]&&this.storage[e].value&&(this.storage[e].value.data=i):typeof this.storage[e].value<"u"?this.storage[e].value=i:this.storage[e]=i),e){case"cursor":{this.alwaysShowCrossCursorCheckboxDisabled=this.storage.cursor.value==="None";break}case"unit":{let a=this.storage.unit.value;if(o===a)return;let s=ue.unitConversion.conversion(o,a,this.storage.sch_gridSize.value),l=ue.unitConversion.conversion(o,a,this.storage.schAltSnapGridSize.value),c=ue.unitConversion.conversion(o,a,this.storage.schlib_gridSize.value),d=ue.unitConversion.conversion(o,a,this.storage.schlibAltSnapGridSize.value),u=a==="mm"?3:2;if(this.storage.sch_gridSize.value=li.toFixed(s,u,!0),this.storage.schAltSnapGridSize.value=li.toFixed(l,u,!0),this.storage.schlib_gridSize.value=li.toFixed(c,u,!0),this.storage.schlibAltSnapGridSize.value=li.toFixed(d,u,!0),(r=this.storage.newDefaultPinLength)!=null&&r.value){let p=this.storage.newDefaultPinLength.value.unit||o;if(p!==a){let m=ue.unitConversion.conversion(p,a,this.storage.newDefaultPinLength.value.data);this.storage.newDefaultPinLength.value.data=li.toFixed(m,2,!0),this.storage.newDefaultPinLength.value.unit=a}}if((n=this.storage.newDefaultPinDistance)!=null&&n.value){let p=this.storage.newDefaultPinDistance.value.unit||o;if(p!==a){let m=ue.unitConversion.conversion(p,a,this.storage.newDefaultPinDistance.value.data);this.storage.newDefaultPinDistance.value.data=li.toFixed(m,2,!0),this.storage.newDefaultPinDistance.value.unit=a}}break}case"snapToGrid":{this.storage.snapToGrid=i;break}}this.addChangedTags(),this.notify()}async restore(e){this.storage=Wvt(ue.deepClone(e.CANVAS)),this.alwaysShowCrossCursorCheckboxDisabled=this.storage.cursor.value==="None",this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"CANVAS_GENERAL"]),this.addChangedTags()}async submitData(){vr.set("CANVAS",ue.deepClone(this.storage)),he.getOpenedTabsInfo(FWe.concat(se.SCH)).then(e=>{for(let i of e){let o=i.docType,r=Ift(o)?this.storage.schlibAltSnapGridSize.value:this.storage.schAltSnapGridSize.value}})}addChangedTags(){this.frameStore.changeModules.has("CANVAS")||this.frameStore.changeModules.add("CANVAS")}clearChangedTags(){this.frameStore.changeModules.has("CANVAS")&&this.frameStore.changeModules.delete("CANVAS")}ensurePinFieldUnitConsistency(){var i,o;let e=this.storage.unit.value;if((i=this.storage.newDefaultPinLength)!=null&&i.value){let r=this.storage.newDefaultPinLength.value.unit;if(r&&r!==e){let n=ue.unitConversion.conversion(r,e,this.storage.newDefaultPinLength.value.data);this.storage.newDefaultPinLength.value.data=li.toFixed(n,2,!0),this.storage.newDefaultPinLength.value.unit=e}}if((o=this.storage.newDefaultPinDistance)!=null&&o.value){let r=this.storage.newDefaultPinDistance.value.unit;if(r&&r!==e){let n=ue.unitConversion.conversion(r,e,this.storage.newDefaultPinDistance.value.data);this.storage.newDefaultPinDistance.value.data=li.toFixed(n,2,!0),this.storage.newDefaultPinDistance.value.unit=e}}}tryOpenProjectSetting(){var e;if(this.frameStore.changeModules.has("CANVAS")){let i=(e=C.currentProject)==null?void 0:e.settings;(i&&i.existUnsetConfig()||!Kr(new URLSearchParams(location.search).get("openProjectSettingTip")))&&Dt({icon:"info",title:"Notice",closed:!0,showCancel:!0,confirmText:"Open Project Setting",cancelText:"Cancel",content:{value:"Partial project setting is unset in current project {projectName}, do you want to open project setting dialog?",options:{projectName:C.currentProject.title}},async onConfirm(o){o.closeDialog=!1,await le.destroy(o.id),et("openProjectSettingDialog")},onCancel(){}})}}},Wnl=(0,$Fi.createContext)(void 0);var tUi=L(Se());async function iUi(t){let e=new Qvt(t);return await e.initial(),e}var Qvt=class extends js{constructor(e){super(),this.frameStore=e}async initial(){this.storage=ue.deepClone(vr.get("CLIENT"))}whenAttrUpdate(e,i){typeof this.storage[e]<"u"&&(typeof this.storage[e].value<"u"?this.storage[e].value=i:this.storage[e]=i),this.addChangedTags(),this.notify()}async restore(e){this.storage=ue.deepClone(e.CLIENT),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"CLIENT"]),this.addChangedTags()}async submitData(){vr.set("CLIENT",ue.deepClone(this.storage))}addChangedTags(){this.frameStore.changeModules.has("CLIENT")||this.frameStore.changeModules.add("CLIENT")}clearChangedTags(){this.frameStore.changeModules.has("CLIENT")&&this.frameStore.changeModules.delete("CLIENT")}},Xnl=(0,tUi.createContext)(void 0);var rUi=L(Se());var oUi=[{title:"default"},{title:"default2"},{title:"\u5B8B\u4F53"},{title:"\u9ED1\u4F53"},{title:"\u96B6\u4E66"},{title:"\u6977\u4F53"},{title:"\u4EFF\u5B8B"},{title:"Arial"},{title:"Times New Roman"},{title:"Verdana"}];async function nUi(t){let e=new Kvt(t);return await e.initial(),e}var Kvt=class extends js{constructor(i){super();this.localFontsCache=[];this.frameStore=i,this._addBtnDisabled=!1,this._delBtnDisabled=!0,this._upMoveBtnDisabled=!0,this._downMoveBtnDisabled=!0,this._isTableEditing=!1,this._selectedRowNumbers=[],this._list=[],this._defaultTypefaces=[]}async initial(){this.storage=ue.deepClone(vr.get("COMM_TYPEFACE")),this._defaultTypefaces=oUi.map(i=>i.title),this.filterRepeats(),this.list=this.initList(this.storage.commonlyList.value)}filterRepeats(){let i=this.storage.commonlyList.value;if(i&&i instanceof Array){let o=[];i=i.filter(r=>o.includes(r.title)?!1:(o.push(r.title),!0)),this.storage.commonlyList.value=i}}get addBtnDisabled(){return this._addBtnDisabled}set addBtnDisabled(i){this._addBtnDisabled=i,this.notify()}get delBtnDisabled(){return this._delBtnDisabled}set delBtnDisabled(i){this._delBtnDisabled=i,this.notify()}get upMoveBtnDisabled(){return this._upMoveBtnDisabled}set upMoveBtnDisabled(i){this._upMoveBtnDisabled=i,this.notify()}get downMoveBtnDisabled(){return this._downMoveBtnDisabled}set downMoveBtnDisabled(i){this._downMoveBtnDisabled=i,this.notify()}get selectedRowNumbers(){return this._selectedRowNumbers}set selectedRowNumbers(i){this._selectedRowNumbers=i,this.notify()}get list(){return this._list}set list(i){this._list=i,this.notify()}get isTableEditing(){return this._isTableEditing}set isTableEditing(i){this._isTableEditing=i,this.notify()}whenOperationsBtnClicked(i,o){if(i==="add"){let r=ue.deepClone(this.list),n=Mt(),a=o!=null?o:`Typeface ${r.length+1}`,s=this.getMaxOrderNo();r.push({id:n,title:a,titleOld:a,titleEditing:!1,isAllowDelete:!0,order_no:s+1}),this.list=[...r],this.whenListRowItemClicked(r.length-1,!1),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"COMM_TYPEFACE"]),this.addChangedTags();return}if(i==="delete"){if(this.selectedRowNumbers.length){let r=ue.deepClone(this.list);r.splice(this.selectedRowNumbers[0],1),this.list=[...r],this.whenListRowItemClicked(r.length-1,!1),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"COMM_TYPEFACE"]),this.addChangedTags()}return}if(i==="up"){if(this.selectedRowNumbers.length){let r=this.selectedRowNumbers[0],n=this.list,a=n[r],s=n[r-1];[s.order_no,a.order_no]=[a.order_no,s.order_no],n[r]=s,n[r-1]=a,this.list=[...n],this.whenListRowItemClicked(r-1,!1),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"COMM_TYPEFACE"]),this.addChangedTags()}return}if(i==="down"){if(this.selectedRowNumbers.length){let r=this.selectedRowNumbers[0],n=this.list,a=n[r],s=n[r+1];[a.order_no,s.order_no]=[s.order_no||"0",a.order_no||"0"],n[r]=s,n[r+1]=a,this.list=[...n],this.whenListRowItemClicked(r+1,!1),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"COMM_TYPEFACE"]),this.addChangedTags()}return}}whenListRowItemClicked(i,o=!0){this.selectedRowNumbers=[i];let r=this.list[this.selectedRowNumbers[0]].title;this.upMoveBtnDisabled=i<=0,this.downMoveBtnDisabled=i>=this.list.length-1,this._defaultTypefaces.includes(r)?this.delBtnDisabled=!0:this.delBtnDisabled=!1,o&&(this.list=this.filterList(ue.deepClone(this.list),(n,a)=>{a===i&&!this._defaultTypefaces.includes(n.title)&&(n.titleEditing=!0)}))}whenRowInputInteractived(i,o,r,n){let a=n.trim();if(i==="changed"){this.list=this.filterList(ue.deepClone(this.list),(s,l)=>{s.id===o&&(s[r]=a,s.titleEditing=!0)});return}if(i==="blured"){let s=this.list.filter(d=>d.id!==o).map(d=>this.getEigenValue(d)),l,c;this.list=this.filterList(ue.deepClone(this.list),(d,u)=>{if(d.id===o){let p;l=d[`${r}Old`],a.trim()===""?p=d[`${r}Old`]:p=a;let m=JSON.parse(JSON.stringify(d));this.updateItem(m,r,p);let h=this.getEigenValue(m);s.includes(h)&&(p=d[`${r}Old`],De({type:"error",msg:me.i18n("Duplicate name exists!")})),c=p,this.updateItem(d,r,p),d.titleEditing=!1}}),typeof l<"u"&&typeof c<"u"&&l!==c&&(this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"COMM_TYPEFACE"])),this.addChangedTags();return}}whenAttrUpdate(i,o){}async restore(i){this.storage=ue.deepClone(i.COMM_TYPEFACE),this.list=this.initList(this.storage.commonlyList.value),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"COMM_TYPEFACE"]),this.addChangedTags()}async submitData(){let i=[],o=[];for(let r=0;r<this.list.length;r++){let n=typeof this.list[r].isAllowDelete<"u"?this.list[r].isAllowDelete:!0;if(!i.includes(this.list[r].title)){i.push(this.list[r].title),o.push({id:this.list[r].id,title:this.list[r].title,isAllowDelete:n});continue}throw Dt({icon:"error",closed:!0,content:me.i18n("Duplicate name exists!")}),C.messageBus.publish("SWITCH_MENU_SELECTED","COMM_TYPEFACE"),{msg:"Duplicate name exists!"}}this.storage.commonlyList.value=o,vr.set("COMM_TYPEFACE",ue.deepClone(this.storage))}initList(i){let o=[];for(let r=0;r<i.length;r++){let n=i[r];n.order_no=r;let a=!this._defaultTypefaces.includes(n.title);o[r]={...n},o[r].titleOld=o[r].title,o[r].isRepeat=!1,o[r].isAllowDelete=a}return o}filterList(i,o){let r=[];for(let a=0;a<i.length;a++)r.push({...i[a]}),r[a].isRepeat=!1,r[a].titleEditing=!1,o&&o(r[a],a);let n={};for(let a=0;a<i.length;a++){let s=this.getEigenValue(i[a]);typeof n[s]>"u"?n[s]=a:(r[a].isRepeat=!0,r[n[s]].isRepeat=!0)}return r}getEigenValue(i){return i.title}updateItem(i,o,r){switch(o){case"title":{i.titleOld=i.title=r;break}}}getMaxOrderNo(){let i=0;for(let o=0;o<this.list.length;o++){let r=+this.list[o].order_no||0;r>=i&&(i=r)}return i}addChangedTags(){this.frameStore.changeModules.has("COMM_TYPEFACE")||this.frameStore.changeModules.add("COMM_TYPEFACE")}clearChangedTags(){this.frameStore.changeModules.has("COMM_TYPEFACE")&&this.frameStore.changeModules.delete("COMM_TYPEFACE")}},mal=(0,rUi.createContext)(void 0);var aUi=L(Se());async function sUi(t){let e=new Zvt(t);return await e.initial(),e}var Zvt=class extends js{constructor(i){super();this._activeTab="Schematic";this.frameStore=i}get activeTab(){return this._activeTab}set activeTab(i){this._activeTab=i,this.notify()}async initial(){this.storage=ue.deepClone(vr.get("CUSTOM_TOOLBAR")),delete this.storage.value}whenAttrUpdate(i,o){typeof this.storage[i]<"u"&&(typeof this.storage[i].value<"u"?this.storage[i].value=o:this.storage[i]=o)}async restore(i){Bme(this.storage,i.CUSTOM_TOOLBAR)||this.addChangedTags(),this.storage=ue.deepClone(i.CUSTOM_TOOLBAR)}async submitData(){vr.set("CUSTOM_TOOLBAR",ue.deepClone(this.storage))}addChangedTags(){this.frameStore.changeModules.has("CUSTOM_TOOLBAR")||(this.frameStore.changeModules.add("CUSTOM_TOOLBAR"),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"CUSTOM_TOOLBAR"]))}clearChangedTags(){this.frameStore.changeModules.has("CUSTOM_TOOLBAR")&&(this.frameStore.changeModules.delete("CUSTOM_TOOLBAR"),this.frameStore.waitForSaveTagsSet.delete("CUSTOM_TOOLBAR"),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet]))}},xal=(0,aUi.createContext)(void 0);var lUi=L(Se());async function cUi(t){let e=new Jvt(t);return await e.initial(),e}var Jvt=class extends js{constructor(i){super();this.presettingStore=new F1e;this.frameStore=i}async initial(){this.storage=ue.deepClone(vr.get("DESIGN"))}whenAttrUpdate(i,o){typeof this.storage[i]<"u"&&(typeof this.storage[i].value<"u"?this.storage[i].value=o:this.storage[i]=o),this.addChangedTags(),this.notify()}async restore(i){this.storage=ue.deepClone(i.DESIGN),this.updateSaveTag(),await this.onInit(!0),this.addChangedTags()}updateSaveTag(){this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"DESIGN"])}async submitData(){vr.set("DESIGN",ue.deepClone(this.storage)),this.onApply()}async onInit(i){!i&&this.frameStore.waitForSaveTagsSet.has("DESIGN")||await C.messageBus.rpcCall("sch/getPresetSheetInfo",{reset:i}).then(o=>{let r=o.message||{};this.presettingStore.update(r.presettingData,r.attributes,r.specialKeys)})}onApply(){this.frameStore.changeModules.has("DESIGN")&&C.messageBus.rpcCall("sch/drawing-presetting",{isProjectPresetting:!1,attributes:this.presettingStore.getAttributes(),code:this.presettingStore.presettingData.uuid,path:this.presettingStore.presettingData.path})}addChangedTags(){this.frameStore.changeModules.has("DESIGN")||this.frameStore.changeModules.add("DESIGN")}clearChangedTags(){this.frameStore.changeModules.has("DESIGN")&&this.frameStore.changeModules.delete("DESIGN")}},Eal=(0,lUi.createContext)(void 0);var dUi=L(Se());var UWe=class extends qe{constructor(i){super();this.data=[];this.parent=i}initData(i){let o=this.createListData(i);this.data=o}getListData(){return this.data}updateList(i){this.setListByHotkey(i)}setListByHotkey(i){let o=this.createListData(i);this.updateData(o)}updateData(i){this.data=i,this.notify()}changeKey(i){let o=this.data[i];this.parent.changeListKey(o.key)}createListData(i){let o=[],r={key:wD,text:wD,count:0},n=0;for(let a in i){let s=0;i[a].forEach(c=>{c.invisibleHotKey&&s++});let l=i[a].length-s;n+=l,l>0&&o.push({key:a,text:a,count:l})}return r.count=n,n>0&&o.unshift(r),o}};var VWe=class extends qe{constructor(i){super();this._useHotkey={};this._listKey=wD;this._searchValue="";this._hotkeySearchValue="";this.updateTable=0;this.parent=i,this.headColData=[{key:"funcE",name:QHe.func,width:.5},{key:"hotkey",name:QHe.hotkey,width:.25},{key:"command",name:QHe.command,width:.25}]}get customValue(){return this.defData.custom}get searchValue(){return this._searchValue}get hotkeySearchValue(){return this._hotkeySearchValue}set hotkeySearchValue(i){this._hotkeySearchValue=i}getCustomFrom(){return wOi(this.customFrom)}get active(){return this._active}updateActive(i){this._active=i,this.updateTableData()}get listKey(){return this._listKey}set listKey(i){let o=this._listKey;this._listKey=i,o!==i&&this.notify()}update(i=!1){i&&this.updateTable++,this.notify()}switch2Custom(){this.active!="custom"&&(this.defData.custom=ue.deepClone(this.getActiveConfig(this.active)),this.customFrom=this.active,this._active="custom",this.updateTableData())}changeHotkeyData(i,o){let r=i.hotkeyCmd,n=this.getActiveConfig("custom");it(n,(a,s)=>{let l=!1;if(it(s,(c,d)=>{let{hotkeyCmd:u}=d;if(u==r)return d.hotkey=o.hotkey,d.command=o.command,l=!0,!1}),l)return!1}),this.update()}changeMenuHotkeyData(i,o){this.parent.storage.menuHotkey||(this.parent.storage.menuHotkey={}),this.parent.storage.menuHotkey[i]=o}getMenuHotkeyDataById(i){let o=this.parent.storage.menuHotkey,r;return o&&(r=o[i]),r||(r=ue.deepClone(av.menuHotkey[i])),r}setSearchValue(i){this._searchValue=i,this.updateTableData()}setHotkeySearchValue(i){this._hotkeySearchValue=i,this.updateTableData()}get useHotkey(){return this._useHotkey}set useHotkey(i){this._useHotkey=i}initData(){let i=this.parent.storage;this.defData={JLCEDA:ue.deepClone(EH.easyEDA),altium:ue.deepClone(EH.altium),JLCEDA_PRO:ue.deepClone(EH.JLCEDA_PRO),custom:i.hotkey},this._listKey=wD,this._active=gOi(i.active),this.customFrom=bOi(i.active),this.createTableData()}createTableData(){let i=this.getActiveConfig(this.active);i=this.filterVisibleAndRepeatKey(i),this._searchValue&&(i=this.filterData(i,this._searchValue)),this._hotkeySearchValue&&(i=this.filterHotkey(i,this._hotkeySearchValue)),this.useHotkey=i}updateTableData(){this.createTableData(),this.notify()}filterVisibleAndRepeatKey(i){let o={},r={};return it(i,(n,a)=>{let s=[];it(a,(l,c)=>{let{hotkeyCmd:d,invisibleHotKey:u}=c;["open_set_net_property_dialog"].includes(d)||u||r[d]||(r[d]=!0,s.push(c))}),o[n]=s}),o}getShowData(){let i=[];if(this.listKey==wD)for(let o in this.useHotkey){let r=this.useHotkey[o];i.push(...r)}else{let o=this.useHotkey[this.listKey];i.push(...o)}return i}getSearchValue(){return this._searchValue?this._searchValue:this._hotkeySearchValue}filterHotkey(i,o){if(o=o.trim(),!o)return i;let r;if(o[o.length-1]=="+"){let a=o.slice(0,-1).split("+");a[a.length-1]=a[a.length-1]+"+",r=a.join(",")+","}else r=o.split("+").join(",")+",";let n={};return it(i,(a,s)=>{let l=[];it(s,(c,d,u)=>{let{hotkey:p}=d;if(!p)return;p=(p||"").trim();let m;if(p[p.length-1]=="+"){let h=p.slice(0,-1).split("+");h[h.length-1]=h[h.length-1]+"+",m=h.join(",")+","}else m=p.split("+").join(",")+",";m.includes(r)&&l.push(d)}),n[a]=l}),n}filterData(i,o){if(o=o.trim(),!o||o.indexOf("^")>-1||o.indexOf("|")>-1)return i;o=o.replace(/\./g,"\\.").replace(/\(/g,"\\(").replace(/\)/g,"\\)").replace(/-/g,"\\-").replace(/\?/g,"\\?").replace(/\*/g,"\\*").replace(/\+/g,"\\+");let r=new RegExp(o,"im"),n={};return it(i,(a,s)=>{let l=[];it(s,(c,d,u)=>{let{funcE:p,hotkey:m,command:h}=d;p=me.i18n(p),m=(m||"").trim(),h=(h||"").trim(),(r.test(p)||r.test(m)||r.test(h))&&l.push(d)}),n[a]=l}),n}getActiveConfig(i){let o=i||this.active,r=this.defData[o];return r||(r=this.defData.JLCEDA_PRO),r}};async function uUi(t){let e=new qvt(t);return await e.initial(),e}var qvt=class extends js{constructor(i){super();this.listStore=new UWe(this);this.tableStore=new VWe(this);this.frameStore=i}initData(){this.tableStore.initData(),this.listStore.initData(this.tableStore.useHotkey)}getListData(){return[]}changeListKey(i){this.tableStore.listKey=i}switchConfig(i){this.tableStore.listKey=wD,this.tableStore.updateActive(i),this.listStore.updateList(this.tableStore.useHotkey)}changeSearch(i){this.tableStore.listKey=wD,this.tableStore.setSearchValue(i),this.listStore.updateList(this.tableStore.useHotkey)}changeHotkeySearch(i){this.tableStore.listKey=wD,this.tableStore.setHotkeySearchValue(i),this.listStore.updateList(this.tableStore.useHotkey)}async initial(){this.storage=ue.deepClone(vr.get("HOTKEY")),this.initData()}whenAttrUpdate(i,o){typeof this.storage[i]<"u"&&(typeof this.storage[i].value<"u"?this.storage[i].value=o:this.storage[i]=o),this.addChangedTags(),this.notify()}async restore2(i){this.storage=ue.deepClone(i.HOTKEY),this.initData(),this.notify(),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"HOTKEY"]),this.addChangedTags()}async restore(i){let o=this.storage.menuHotkey;this.storage=ue.deepClone(i.HOTKEY),this.storage.menuHotkey=o,this.initData(),this.notify(),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"HOTKEY"]),this.addChangedTags()}async submitData(){vr.set("HOTKEY",ue.deepClone(this.storage))}addChangedTags(){this.frameStore.changeModules.has("HOTKEY")||this.frameStore.changeModules.add("HOTKEY")}clearChangedTags(){this.frameStore.changeModules.has("HOTKEY")&&this.frameStore.changeModules.delete("HOTKEY")}},qal=(0,dUi.createContext)(void 0);var pUi=L(Se());async function mUi(t){let e=new Xvt(t);return await e.initial(),e}var Xvt=class extends js{constructor(e){super(),this.frameStore=e}async initial(){this.storage=ue.deepClone(vr.get("LANGUAGE"))}whenAttrUpdate(e,i){typeof this.storage[e]<"u"&&(typeof this.storage[e].value<"u"?this.storage[e].value=i:this.storage[e]=i),this.addChangedTags(),this.notify()}async restore(e){this.storage=ue.deepClone(e.LANGUAGE),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"LANGUAGE"]),this.addChangedTags()}async submitData(){vr.set("LANGUAGE",ue.deepClone(this.storage))}addChangedTags(){this.frameStore.changeModules.has("LANGUAGE")||this.frameStore.changeModules.add("LANGUAGE")}clearChangedTags(){this.frameStore.changeModules.has("LANGUAGE")&&this.frameStore.changeModules.delete("LANGUAGE")}},osl=(0,pUi.createContext)(void 0);var hUi=L(Se());async function fUi(t){let e=new $vt(t);return await e.initial(),e}var $vt=class extends js{constructor(e){super(),this.frameStore=e}async initial(){this.storage=ue.deepClone(vr.get("OBJECT"))}whenAttrUpdate(e,i){typeof this.storage[e]<"u"&&(typeof this.storage[e].value<"u"?this.storage[e].value=i:this.storage[e]=i),this.addChangedTags()}async restore(e){this.storage=ue.deepClone(e.OBJECT),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"OBJECT"]),this.addChangedTags()}async submitData(){vr.set("OBJECT",ue.deepClone(this.storage))}addChangedTags(){this.frameStore.changeModules.has("OBJECT")||this.frameStore.changeModules.add("OBJECT")}clearChangedTags(){this.frameStore.changeModules.has("OBJECT")&&this.frameStore.changeModules.delete("OBJECT")}},csl=(0,hUi.createContext)(void 0);var gUi=L(Se());async function bUi(t){let e=new eDt(t);return await e.initial(),e}var eDt=class extends js{constructor(e){super(),this.frameStore=e}async initial(){this.storage=ue.deepClone(vr.get("PANEL_CANVAS"))}whenAttrUpdate(e,i){switch(typeof this.storage[e]<"u"&&(typeof this.storage[e].value<"u"?this.storage[e].value=i:this.storage[e]=i),e){case"schAlwaysDisplayCursorDisabled":{this.storage.schAlwaysDisplayCursor.disabled=i;break}}this.addChangedTags(),this.notify()}async restore(e){this.storage=ue.deepClone(e.PANEL_CANVAS),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PANEL_CANVAS_GENERAL"]),this.addChangedTags()}async submitData(){vr.set("PANEL_CANVAS",ue.deepClone(this.storage))}addChangedTags(){this.frameStore.changeModules.has("PANEL_CANVAS")||this.frameStore.changeModules.add("PANEL_CANVAS")}clearChangedTags(){this.frameStore.changeModules.has("PANEL_CANVAS")&&this.frameStore.changeModules.delete("PANEL_CANVAS")}},fsl=(0,gUi.createContext)(void 0);var yUi=L(Se());async function wUi(t){let e=new tDt(t);return await e.initial(),e}var tDt=class extends js{constructor(e){super(),this.frameStore=e}async initial(){this.storage=ue.deepClone(vr.get("PANEL_THEME"))}whenAttrUpdate(e,i){typeof this.storage[e]<"u"&&(typeof this.storage[e].value<"u"?this.storage[e].value=i:this.storage[e]=i),this.addChangedTags(),this.notify()}async restore(e){this.storage=ue.deepClone(e.PANEL_THEME),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PANEL_THEME"]),this.addChangedTags()}async submitData(){vr.set("PANEL_THEME",ue.deepClone(this.storage))}addChangedTags(){this.frameStore.changeModules.has("PANEL_THEME")||this.frameStore.changeModules.add("PANEL_THEME")}clearChangedTags(){this.frameStore.changeModules.has("PANEL_THEME")&&this.frameStore.changeModules.delete("PANEL_THEME")}},xsl=(0,yUi.createContext)(void 0);var TUi=L(Se());var CUi=[{id:"1",gridXMil:2,gridXMm:.051,gridYMil:2,gridYMm:.051,accuracyGridXMil:2,accuracyGridXMm:.0508,accuracyGridYMil:2,accuracyGridYMm:.0508},{id:"2",gridXMil:5,gridXMm:.127,gridYMil:5,gridYMm:.127,accuracyGridXMil:5,accuracyGridXMm:ue.unitConversion.conversion("mil","mm",5),accuracyGridYMil:5,accuracyGridYMm:ue.unitConversion.conversion("mil","mm",5)},{id:"3",gridXMil:10,gridXMm:.254,gridYMil:10,gridYMm:.254,accuracyGridXMil:10,accuracyGridXMm:.254,accuracyGridYMil:10,accuracyGridYMm:.254},{id:"4",gridXMil:20,gridXMm:.508,gridYMil:20,gridYMm:.508,accuracyGridXMil:20,accuracyGridXMm:.508,accuracyGridYMil:20,accuracyGridYMm:.508},{id:"5",gridXMil:25,gridXMm:.635,gridYMil:25,gridYMm:.635,accuracyGridXMil:25,accuracyGridXMm:ue.unitConversion.conversion("mil","mm",25),accuracyGridYMil:25,accuracyGridYMm:ue.unitConversion.conversion("mil","mm",25)},{id:"6",gridXMil:50,gridXMm:1.27,gridYMil:50,gridYMm:1.27,accuracyGridXMil:50,accuracyGridXMm:ue.unitConversion.conversion("mil","mm",50),accuracyGridYMil:50,accuracyGridYMm:ue.unitConversion.conversion("mil","mm",50)},{id:"7",gridXMil:1,gridXMm:.025,gridYMil:1,gridYMm:.025,accuracyGridXMil:1,accuracyGridXMm:ue.unitConversion.conversion("mil","mm",1),accuracyGridYMil:1,accuracyGridYMm:ue.unitConversion.conversion("mil","mm",1)},{id:"8",gridXMil:3.9,gridXMm:.1,gridYMil:3.9,gridYMm:.1,accuracyGridXMil:ue.unitConversion.conversion("mm","mil",.1),accuracyGridXMm:.1,accuracyGridYMil:ue.unitConversion.conversion("mm","mil",.1),accuracyGridYMm:.1},{id:"9",gridXMil:9.8,gridXMm:.25,gridYMil:9.8,gridYMm:.25,accuracyGridXMil:ue.unitConversion.conversion("mm","mil",.25),accuracyGridXMm:.25,accuracyGridYMil:ue.unitConversion.conversion("mm","mil",.25),accuracyGridYMm:.25},{id:"10",gridXMil:19.7,gridXMm:.5,gridYMil:19.7,gridYMm:.5,accuracyGridXMil:ue.unitConversion.conversion("mm","mil",.5),accuracyGridXMm:.5,accuracyGridYMil:ue.unitConversion.conversion("mm","mil",.5),accuracyGridYMm:.5},{id:"11",gridXMil:39.4,gridXMm:1,gridYMil:39.4,gridYMm:1,accuracyGridXMil:ue.unitConversion.conversion("mm","mil",1),accuracyGridXMm:1,accuracyGridYMil:ue.unitConversion.conversion("mm","mil",1),accuracyGridYMm:1}],xUi=[{id:"11",angle:15,mil:ue.unitConversion.conversion("mm","mil",10),accuracyMil:ue.unitConversion.conversion("mm","mil",1),mm:10,accuracyMm:10,unit:"mm"},{id:"12",angle:30,mil:ue.unitConversion.conversion("mm","mil",10),accuracyMil:ue.unitConversion.conversion("mm","mil",1),mm:10,accuracyMm:10,unit:"mm"},{id:"13",angle:45,mil:ue.unitConversion.conversion("mm","mil",10),accuracyMil:ue.unitConversion.conversion("mm","mil",1),mm:10,accuracyMm:10,unit:"mm"},{id:"14",angle:90,mil:ue.unitConversion.conversion("mm","mil",10),accuracyMil:ue.unitConversion.conversion("mm","mil",1),mm:10,accuracyMm:10,unit:"mm"},{id:"15",angle:15,mil:ue.unitConversion.conversion("mm","mil",20),accuracyMil:ue.unitConversion.conversion("mm","mil",1),mm:20,accuracyMm:20,unit:"mm"},{id:"16",angle:30,mil:ue.unitConversion.conversion("mm","mil",20),accuracyMil:ue.unitConversion.conversion("mm","mil",1),mm:20,accuracyMm:20,unit:"mm"},{id:"17",angle:45,mil:ue.unitConversion.conversion("mm","mil",20),accuracyMil:ue.unitConversion.conversion("mm","mil",1),mm:20,accuracyMm:20,unit:"mm"},{id:"18",angle:90,mil:ue.unitConversion.conversion("mm","mil",20),accuracyMil:ue.unitConversion.conversion("mm","mil",1),mm:20,accuracyMm:20,unit:"mm"}];var HWe=class extends js{constructor(e,i){super(),this.frameStore=e,this.parent=i,this._addBtnDisabled=!1,this._delBtnDisabled=!0,this._upMoveBtnDisabled=!0,this._downMoveBtnDisabled=!0,this._selectedRowNumbers=[],this._list=[],this._isTableEditing=!1,this._defaultIds=[]}async initial(){this._defaultIds=CUi.map(e=>e.id),this.list=this.initList(this.parent.storage.commonlyList.value)}get addBtnDisabled(){return this._addBtnDisabled}set addBtnDisabled(e){this._addBtnDisabled=e,this.notify()}get delBtnDisabled(){return this._delBtnDisabled}set delBtnDisabled(e){this._delBtnDisabled=e,this.notify()}get upMoveBtnDisabled(){return this._upMoveBtnDisabled}set upMoveBtnDisabled(e){this._upMoveBtnDisabled=e,this.notify()}get downMoveBtnDisabled(){return this._downMoveBtnDisabled}set downMoveBtnDisabled(e){this._downMoveBtnDisabled=e,this.notify()}get selectedRowNumbers(){return this._selectedRowNumbers}set selectedRowNumbers(e){this._selectedRowNumbers=e,this.notify()}get list(){return this._list}set list(e){this._list=e,this.notify()}get isTableEditing(){return this._isTableEditing}set isTableEditing(e){this._isTableEditing=e,this.notify()}whenOperationsBtnClicked(e){if(e==="add"){let i=String(this.list[0].gridXMil),o=String(this.list[0].gridXMm),r=String(this.list[0].gridYMil),n=String(this.list[0].gridYMm),a=String(this.list[0].accuracyGridXMil),s=String(this.list[0].accuracyGridXMm),l=String(this.list[0].accuracyGridYMil),c=String(this.list[0].accuracyGridYMm),d=this.list,u=Mt();d.push({id:u,gridXMil:i,gridXMm:o,gridYMil:r,gridYMm:n,accuracyGridXMil:a,accuracyGridXMm:s,accuracyGridYMil:l,accuracyGridYMm:c,gridXMilOld:i,gridXMmOld:o,gridYMilOld:r,gridYMmOld:n,accuracyGridXMilOld:a,accuracyGridXMmOld:s,accuracyGridYMilOld:l,accuracyGridYMmOld:c,gridXMilEditing:!1,gridXMmEditing:!1,gridYMilEditing:!1,gridYMmEditing:!1,isAllowDelete:!0,isRepeat:!1}),this.list=this.filterList(d),this.whenListRowItemSinglyClicked(this.list.length-1),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_COMM_GRID_SIZE"]),this.parent.addChangedTags();return}if(e==="delete"){if(this.selectedRowNumbers.length){let i=this.selectedRowNumbers[0],o=this.list;o.splice(i,1),this.list=this.filterList(o),this.whenListRowItemSinglyClicked(this.list.length-1),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_COMM_GRID_SIZE"]),this.list.length<=0&&(this.delBtnDisabled=!0),this.parent.addChangedTags()}return}if(e==="up"){if(this.selectedRowNumbers.length){let i=this.selectedRowNumbers[0],o=this.list,r=o[i];o[i]=o[i-1],o[i-1]=r,this.list=[...o],this.whenListRowItemSinglyClicked(i-1),this.parent.addChangedTags()}return}if(e==="down"){if(this.selectedRowNumbers.length){let i=this.selectedRowNumbers[0],o=this.list,r=o[i];o[i]=o[i+1],o[i+1]=r,this.list=[...o],this.whenListRowItemSinglyClicked(i+1),this.parent.addChangedTags()}return}}whenListRowItemSinglyClicked(e){this.selectedRowNumbers=[e];let i=this.list[this.selectedRowNumbers[0]].id;this.upMoveBtnDisabled=e<=0,this.downMoveBtnDisabled=e>=this.list.length-1,this._defaultIds.includes(i)?this.delBtnDisabled=!0:this.delBtnDisabled=!1}whenListRowItemDoublyClicked(e){this.selectedRowNumbers=[e],this.list=this.filterList(ue.deepClone(this.list),(i,o)=>{o===e&&(i.gridXMilEditing=!0,i.gridXMmEditing=!0,i.gridYMilEditing=!0,i.gridYMmEditing=!0)})}whenRowInputInteractived(e,i,o,r,n){let a=this,{bluredCallback:s}=n||{},l=r.trim();if(e==="changed"){this.list=this.filterList(ue.deepClone(this.list),(c,d)=>{c.id===i&&(this.inputItem(c,o,l),c.gridXMilEditing=!0,c.gridXMmEditing=!0,c.gridYMilEditing=!0,c.gridYMmEditing=!0)},!1);return}if(e==="blured"){let c=this.list.filter(p=>p.id!==i).map(p=>this.getEigenValue(p)),d,u;this.list=this.filterList(ue.deepClone(this.list),(p,m)=>{if(p.id===i){p.gridXMilEditing=!0,p.gridXMmEditing=!0,p.gridYMilEditing=!0,p.gridYMmEditing=!0;let h;d=p[`${o}Old`],+l==0||!_9(l)?h=d:h=l;let f=JSON.parse(JSON.stringify(p)),g=this.updateItem(f,o,h),b=this.getEigenValue(f);h===""?h=d:c.includes(b)&&(h=d,this.putoutInvalidValueAlert("DUPLICATE",f)),g===!1&&(h=d,this.putoutInvalidValueAlert("INVALID",f)),u=h,this.updateItem(p,o,h),s&&s(()=>{let y=[];for(let w=0;w<this.list.length;w++)y.push({...a.list[w],gridXMilEditing:!1,gridXMmEditing:!1,gridYMilEditing:!1,gridYMmEditing:!1});a.list=y,a.notify()})}},!0),typeof d<"u"&&typeof u<"u"&&d!==u&&(this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_COMM_GRID_SIZE"])),this.parent.addChangedTags();return}}whenAttrUpdate(e,i){}async restore(e){this.list=this.initList(this.parent.storage.commonlyList.value)}async submitData(e){let i=[],o={};for(let r=0;r<this.list.length;r++){let n=typeof this.list[r].isAllowDelete<"u"?this.list[r].isAllowDelete:!0,a=this.getEigenValue(this.list[r]);if(typeof o[a]>"u")o[a]=r;else throw this.putoutInvalidValueAlert("DUPLICATE",this.list[r]),C.messageBus.publish("SWITCH_MENU_SELECTED","PCB_COMM_GRID_SIZE"),{msg:"Duplicate name exists!"};i.push({id:this.list[r].id,gridXMil:this.list[r].gridXMil,gridXMm:this.list[r].gridXMm,gridYMil:this.list[r].gridYMil,gridYMm:this.list[r].gridYMm,accuracyGridXMil:this.list[r].accuracyGridXMil,accuracyGridXMm:this.list[r].accuracyGridXMm,accuracyGridYMil:this.list[r].accuracyGridYMil,accuracyGridYMm:this.list[r].accuracyGridYMm,isAllowDelete:n})}e.commonlyList.value=i,vr.set("PCB_COMM_GRID_SIZE",ue.deepClone(e))}initList(e){let i=[];for(let o=0;o<e.length;o++){let r=e[o],n=this._defaultIds.includes(r.id)?!1:typeof r.isAllowDelete<"u"?r.isAllowDelete:!0;i[o]={...r},i[o].gridXMil=li.toFixed(r.gridXMil,1,!0),i[o].gridXMm=li.toFixed(r.gridXMm,3,!0),i[o].gridYMil=li.toFixed(r.gridYMil,1,!0),i[o].gridYMm=li.toFixed(r.gridYMm,3,!0),i[o].gridXMilOld=i[o].gridXMil,i[o].gridXMmOld=i[o].gridXMm,i[o].gridYMilOld=i[o].gridYMil,i[o].gridYMmOld=i[o].gridYMm,i[o].accuracyGridXMilOld=i[o].accuracyGridXMil,i[o].accuracyGridXMmOld=i[o].accuracyGridXMm,i[o].accuracyGridYMilOld=i[o].accuracyGridYMil,i[o].accuracyGridYMmOld=i[o].accuracyGridYMm,i[o].gridXMilEditing=!1,i[o].gridXMmEditing=!1,i[o].gridYMilEditing=!1,i[o].gridYMmEditing=!1,i[o].isRepeat=!1,i[o].isAllowDelete=n}return i}filterList(e,i,o){let r=[];for(let a=0;a<e.length;a++)r.push({...e[a]}),r[a].isRepeat=!1,r[a].gridXMilEditing=!1,r[a].gridXMmEditing=!1,r[a].gridYMilEditing=!1,r[a].gridYMmEditing=!1,i&&i(r[a],a);if(o===!1)return r;let n={};for(let a=0;a<r.length;a++){let s=this.getEigenValue(r[a]);typeof n[s]>"u"?n[s]=a:(r[a].isRepeat=!0,r[n[s]].isRepeat=!0)}return r}getEigenValue(e){return`${e.gridXMil}_${e.gridXMm}_${e.gridYMil}_${e.gridYMm}`}updateItem(e,i,o){let r=+o;switch(i){case"gridXMil":{let n=li.toFixed(o,1,!0),a=li.toFixed(ue.unitConversion.conversion("mil","mm",r),3,!0);if(e.gridXMilOld=e.gridXMil=n,e.accuracyGridXMilOld=e.accuracyGridXMil=n,e.gridXMmOld=e.gridXMm=a,e.accuracyGridXMmOld=e.accuracyGridXMm=a,+n==0||+a==0)return!1;break}case"gridXMm":{let n=li.toFixed(o,3,!0),a=li.toFixed(ue.unitConversion.conversion("mm","mil",r),1,!0),s=li.toFixed(ue.unitConversion.conversion("mm","mil",r),3,!0);if(e.gridXMmOld=e.gridXMm=n,e.accuracyGridXMmOld=e.accuracyGridXMm=n,e.gridXMilOld=e.gridXMil=a,e.accuracyGridXMilOld=e.accuracyGridXMil=s,+n==0)return!1;break}case"gridYMil":{let n=li.toFixed(o,1,!0),a=li.toFixed(ue.unitConversion.conversion("mil","mm",r),3,!0);if(e.gridYMilOld=e.gridYMil=n,e.accuracyGridYMilOld=e.accuracyGridYMil=n,e.gridYMmOld=e.gridYMm=a,e.accuracyGridYMmOld=e.accuracyGridYMm=a,+n==0||+a==0)return!1;break}case"gridYMm":{let n=li.toFixed(o,3,!0),a=li.toFixed(ue.unitConversion.conversion("mm","mil",r),1,!0),s=li.toFixed(ue.unitConversion.conversion("mm","mil",r),3,!0);if(e.gridYMmOld=e.gridYMm=n,e.accuracyGridYMmOld=e.accuracyGridYMm=n,e.gridYMilOld=e.gridYMil=a,e.accuracyGridYMilOld=e.accuracyGridYMil=s,+n==0)return!1;break}}return!0}inputItem(e,i,o){switch(i){case"gridXMil":{let r=li.toFixed(o,1,!0);e.gridXMil=r;break}case"gridXMm":{let r=li.toFixed(o,3,!0);e.gridXMm=r;break}case"gridYMil":{let r=li.toFixed(o,1,!0);e.gridYMil=r;break}case"gridYMm":{let r=li.toFixed(o,3,!0);e.gridYMm=r;break}}}putoutInvalidValueAlert(e,i){if(e==="DUPLICATE"){let o="";o+=`${me.i18n("Common Grid/Snap(Cartesian Coordinate System) Size Setting")}: `,o+=` ${me.i18n("Grid/Snap X")} ${i.gridXMil}mil(${i.gridXMm}mm)`,o+=` ${me.i18n("Grid/Snap Y")} ${i.gridYMil}mil(${i.gridYMm}mm)`,o+=` ${me.i18n("Already exists, cannot be added")}`,Ot("error",o,"Log",!0),Dt({icon:"error",closed:!0,content:o});return}if(e==="INVALID"){let o="";o+=`${me.i18n("Common Grid/Snap(Cartesian Coordinate System) Size Setting")}: `,o+=` ${me.i18n("Grid/Snap X")} ${i.gridXMil}mil(${i.gridXMm}mm)`,o+=` ${me.i18n("Grid/Snap Y")} ${i.gridYMil}mil(${i.gridYMm}mm)`,o+=` ${me.i18n("invalid value")}`,Ot("error",o,"Log",!0),Dt({icon:"error",closed:!0,content:o});return}}addChangedTags(){}clearChangedTags(){}};var GWe=class extends js{constructor(e,i){super(),this.frameStore=e,this.parent=i,this._addBtnDisabled=!1,this._delBtnDisabled=!0,this._upMoveBtnDisabled=!0,this._downMoveBtnDisabled=!0,this._selectedRowNumbers=[],this._isTableEditing=!1,this._list=[],this._defaultIds=[]}async initial(){this.parent.storage=ue.deepClone(vr.get("PCB_COMM_GRID_SIZE")),this._defaultIds=xUi.map(e=>e.id),this.list=this.initList(this.parent.storage.commonlyList.value2Polar)}get addBtnDisabled(){return this._addBtnDisabled}set addBtnDisabled(e){this._addBtnDisabled=e,this.notify()}get delBtnDisabled(){return this._delBtnDisabled}set delBtnDisabled(e){this._delBtnDisabled=e,this.notify()}get upMoveBtnDisabled(){return this._upMoveBtnDisabled}set upMoveBtnDisabled(e){this._upMoveBtnDisabled=e,this.notify()}get downMoveBtnDisabled(){return this._downMoveBtnDisabled}set downMoveBtnDisabled(e){this._downMoveBtnDisabled=e,this.notify()}get selectedRowNumbers(){return this._selectedRowNumbers}set selectedRowNumbers(e){this._selectedRowNumbers=e,this.notify()}get list(){return this._list}set list(e){this._list=e,this.notify()}get isTableEditing(){return this._isTableEditing}set isTableEditing(e){this._isTableEditing=e,this.notify()}whenOperationsBtnClicked(e){if(e==="add"){let i=String(this.list[0].angle),o=String(this.list[0].mil),r=String(this.list[0].mm),n=String(this.list[0].unit),a=this.list,s=Mt();a.push({id:s,angle:i,mil:o,mm:r,unit:n,accuracyMil:o,accuracyMm:r,angleOld:i,milOld:o,mmOld:r,accuracyMilOld:o,accuracyMmOld:r,angleEditing:!1,milEditing:!1,mmEditing:!1,isAllowDelete:!0,isRepeat:!1}),this.list=this.filterList(a),this.whenListRowItemSinglyClicked(this.list.length-1),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_COMM_GRID_SIZE"]),this.parent.addChangedTags();return}if(e==="delete"){if(this.selectedRowNumbers.length){let i=this.selectedRowNumbers[0],o=this.list;o.splice(i,1),this.list=this.filterList(o),this.whenListRowItemSinglyClicked(this.list.length-1),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_COMM_GRID_SIZE"]),this.list.length<=0&&(this.delBtnDisabled=!0),this.parent.addChangedTags()}return}if(e==="up"){if(this.selectedRowNumbers.length){let i=this.selectedRowNumbers[0],o=this.list,r=o[i];o[i]=o[i-1],o[i-1]=r,this.list=[...o],this.whenListRowItemSinglyClicked(i-1),this.parent.addChangedTags()}return}if(e==="down"){if(this.selectedRowNumbers.length){let i=this.selectedRowNumbers[0],o=this.list,r=o[i];o[i]=o[i+1],o[i+1]=r,this.list=[...o],this.whenListRowItemSinglyClicked(i+1),this.parent.addChangedTags()}return}}whenListRowItemSinglyClicked(e){this.selectedRowNumbers=[e];let i=this.list[this.selectedRowNumbers[0]].id;this.upMoveBtnDisabled=e<=0,this.downMoveBtnDisabled=e>=this.list.length-1,this._defaultIds.includes(i)?this.delBtnDisabled=!0:this.delBtnDisabled=!1}whenListRowItemDoublyClicked(e){this.selectedRowNumbers=[e],this.list=this.filterList(ue.deepClone(this.list),(i,o)=>{o===e&&(i.angleEditing=!0,i.milEditing=!0,i.mmEditing=!0)})}whenRowInputInteractived(e,i,o,r,n){let a=this,{bluredCallback:s}=n||{},l=r.trim();if(e==="changed"){this.list=this.filterList(ue.deepClone(this.list),(c,d)=>{c.id===i&&(this.inputItem(c,o,l),c.angleEditing=!0,c.milEditing=!0,c.mmEditing=!0)},!1);return}if(e==="blured"){let c=this.list.filter(p=>p.id!==i).map(p=>this.getEigenValue(p)),d,u;this.list=this.filterList(ue.deepClone(this.list),(p,m)=>{if(p.id===i){p.angleEditing=!0,p.milEditing=!0,p.mmEditing=!0;let h;d=p[`${o}Old`],o==="angle"?+l<0?(h=360-Math.abs(+l%360),(h<=0||+h%360===0)&&(h=d)):!_9(l)||+l<=0||+l%360===0?h=d:h=l:+l==0||!_9(l)?h=d:h=l;let f=JSON.parse(JSON.stringify(p)),g=this.updateItem(f,o,h),b=this.getEigenValue(f);h===""?h=d:c.includes(b)&&(h=d,this.putoutInvalidValueAlert("DUPLICATE",f)),o==="angle"&&+g.tranformValue1<=0&&Math.abs(+g.sourceValue)>0&&Math.abs(+g.sourceValue)%360!==0&&(h=d),g.success===!1&&(h=d,this.putoutInvalidValueAlert("INVALID",f)),u=h,this.updateItem(p,o,h),s&&s(()=>{let y=[];for(let w=0;w<this.list.length;w++)y.push({...a.list[w],angleEditing:!1,milEditing:!1,mmEditing:!1});a.list=y,a.notify()})}},!0),typeof d<"u"&&typeof u<"u"&&d!==u&&(this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_COMM_GRID_SIZE"])),this.parent.addChangedTags();return}}whenAttrUpdate(e,i){}async restore(e){this.list=this.initList(this.parent.storage.commonlyList.value2Polar)}async submitData(e){let i=[],o={};for(let r=0;r<this.list.length;r++){let n=typeof this.list[r].isAllowDelete<"u"?this.list[r].isAllowDelete:!0,a=this.getEigenValue(this.list[r]);if(typeof o[a]>"u")o[a]=r;else throw this.putoutInvalidValueAlert("DUPLICATE",this.list[r]),C.messageBus.publish("SWITCH_MENU_SELECTED","PCB_COMM_GRID_SIZE"),{msg:"Duplicate name exists!"};i.push({id:this.list[r].id,angle:this.list[r].angle,mil:this.list[r].mil,mm:this.list[r].mm,accuracyMil:this.list[r].accuracyMil,accuracyMm:this.list[r].accuracyMm,unit:this.list[r].unit,isAllowDelete:n})}e.commonlyList.value2Polar=i,vr.set("PCB_COMM_GRID_SIZE",ue.deepClone(e))}initList(e){let i=[];for(let o=0;o<e.length;o++){let r=e[o],n=this._defaultIds.includes(r.id)?!1:typeof r.isAllowDelete<"u"?r.isAllowDelete:!0;i[o]={...r},i[o].angle=li.toFixed(r.angle,1,!0),i[o].mil=li.toFixed(r.mil,1,!0),i[o].mm=li.toFixed(r.mm,3,!0),i[o].angleOld=i[o].angle,i[o].milOld=i[o].mil,i[o].mmOld=i[o].mm,i[o].accuracyMilOld=i[o].accuracyMil,i[o].accuracyMmOld=i[o].accuracyMm,i[o].angleEditing=!1,i[o].milEditing=!1,i[o].mmEditing=!1,i[o].isRepeat=!1,i[o].isAllowDelete=n}return i}filterList(e,i,o){let r=[];for(let a=0;a<e.length;a++)r.push({...e[a]}),r[a].isRepeat=!1,r[a].angleEditing=!1,r[a].milEditing=!1,r[a].mmEditing=!1,i&&i(r[a],a);if(o===!1)return r;let n={};for(let a=0;a<r.length;a++){let s=this.getEigenValue(r[a]);typeof n[s]>"u"?n[s]=a:(r[a].isRepeat=!0,r[n[s]].isRepeat=!0)}return r}getEigenValue(e){return`${e.angle}_${e.mil}_${e.mm}`}updateItem(e,i,o){let r={sourceValue:o,tranformValue1:void 0,success:!0},n=+r.sourceValue;switch(i){case"angle":{let a=li.toFixed(n%360,1,!0);r.tranformValue1=a,e.angleOld=e.angle=a;break}case"mil":{let a=li.toFixed(o,1,!0);r.tranformValue1=a;let s=li.toFixed(ue.unitConversion.conversion("mil","mm",n),3,!0);if(e.milOld=e.mil=a,e.accuracyMilOld=e.accuracyMil=a,e.mmOld=e.mm=s,e.accuracyMmOld=e.accuracyMm=s,+a==0||+s==0)return r.success=!1,r;break}case"mm":{let a=li.toFixed(o,3,!0);r.tranformValue1=a;let s=li.toFixed(ue.unitConversion.conversion("mm","mil",n),1,!0);if(e.mmOld=e.mm=a,e.accuracyMmOld=e.accuracyMm=a,e.milOld=e.mil=s,e.accuracyMilOld=e.accuracyMil=s,+a==0)return r.success=!1,r;break}}return r}inputItem(e,i,o){switch(i){case"angle":{let r=li.toFixed(o,1,!0);e.angle=r;break}case"mil":{let r=li.toFixed(o,1,!0);e.mil=r;break}case"mm":{let r=li.toFixed(o,1,!0);e.mm=r;break}}}putoutInvalidValueAlert(e,i){if(e==="DUPLICATE"){let o="";o+=`${me.i18n("Common Grid/Snap(Polar Coordinate System) Size Setting")}: `,o+=` ${me.i18n("Angle")} ${i.angle}\xB0`,o+=` ${me.i18n("Radius")} ${i.mil}mil(${i.mm}mm)`,o+=` ${me.i18n("Already exists, cannot be added")}`,Ot("error",o,"Log",!0),Dt({icon:"error",closed:!0,content:o});return}if(e==="INVALID"){let o="";o+=`${me.i18n("Common Grid/Snap(Polar Coordinate System) Size Setting")}: `,o+=` ${me.i18n("Angle")} ${i.angle}\xB0`,o+=` ${me.i18n("Radius")} ${i.mil}mil(${i.mm}mm)`,o+=` ${me.i18n("invalid value")}`,Ot("error",o,"Log",!0),Dt({icon:"error",closed:!0,content:o});return}}addChangedTags(){}clearChangedTags(){}};async function SUi(t){let e=new oDt(t);return await e.initial(),e}var oDt=class extends js{constructor(e){super(),this.frameStore=e,this._cartesionStore=new HWe(e,this),this._polarStore=new GWe(e,this),this._activeTabId=Evt[0].key,this._tabs=JSON.parse(JSON.stringify(Evt))}async initial(){this.storage=ue.deepClone(vr.get("PCB_COMM_GRID_SIZE")),await this._cartesionStore.initial(),await this._polarStore.initial()}get activeTab(){return this._activeTabId}set activeTab(e){this._activeTabId=e,this.notify()}get tabs(){return this._tabs}get cartesionStore(){return this._cartesionStore}get polarStore(){return this._polarStore}whenAttrUpdate(e,i){}async restore(e){this.storage=ue.deepClone(e.PCB_COMM_GRID_SIZE),await this.cartesionStore.restore(e),await this.polarStore.restore(e),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_COMM_GRID_SIZE"]),this.addChangedTags()}async submitData(){let e=ue.deepClone(vr.get("PCB_COMM_GRID_SIZE"));await this.cartesionStore.submitData(e),await this.polarStore.submitData(e)}addChangedTags(){this.frameStore.changeModules.has("PCB_COMM_GRID_SIZE")||this.frameStore.changeModules.add("PCB_COMM_GRID_SIZE")}clearChangedTags(){this.frameStore.changeModules.has("PCB_COMM_GRID_SIZE")&&this.frameStore.changeModules.delete("PCB_COMM_GRID_SIZE")}},lll=(0,TUi.createContext)(void 0);var IUi=L(Se());var MUi=[{id:"1",trackWidthMil:5,trackWidthMm:ue.unitConversion.conversion("mil","mm",5)},{id:"2",trackWidthMil:8,trackWidthMm:ue.unitConversion.conversion("mil","mm",8)},{id:"3",trackWidthMil:10,trackWidthMm:ue.unitConversion.conversion("mil","mm",10)},{id:"4",trackWidthMil:12,trackWidthMm:ue.unitConversion.conversion("mil","mm",12)},{id:"5",trackWidthMil:20,trackWidthMm:ue.unitConversion.conversion("mil","mm",20)},{id:"6",trackWidthMil:20,trackWidthMm:ue.unitConversion.conversion("mil","mm",20)},{id:"7",trackWidthMil:50,trackWidthMm:ue.unitConversion.conversion("mil","mm",50)},{id:"8",trackWidthMil:ue.unitConversion.conversion("mm","mil",.1),trackWidthMm:.1},{id:"9",trackWidthMil:ue.unitConversion.conversion("mm","mil",.2),trackWidthMm:.2},{id:"10",trackWidthMil:ue.unitConversion.conversion("mm","mil",.3),trackWidthMm:.3},{id:"11",trackWidthMil:ue.unitConversion.conversion("mm","mil",.5),trackWidthMm:.5},{id:"12",trackWidthMil:ue.unitConversion.conversion("mm","mil",.75),trackWidthMm:.75},{id:"13",trackWidthMil:ue.unitConversion.conversion("mm","mil",1),trackWidthMm:1}];async function LUi(t){let e=new rDt(t);return await e.initial(),e}var rDt=class extends js{constructor(e){super(),this.frameStore=e,this._addBtnDisabled=!1,this._delBtnDisabled=!0,this._upMoveBtnDisabled=!0,this._downMoveBtnDisabled=!0,this._isTableEditing=!1,this._selectedRowNumbers=[],this._list=[],this._defaultIds=[]}async initial(){this.storage=ue.deepClone(vr.get("PCB_COMM_TRACK_WIDTH")),this._defaultIds=MUi.map(e=>e.id),this.list=this.initList(this.storage.commonlyList.value)}get addBtnDisabled(){return this._addBtnDisabled}set addBtnDisabled(e){this._addBtnDisabled=e,this.notify()}get delBtnDisabled(){return this._delBtnDisabled}set delBtnDisabled(e){this._delBtnDisabled=e,this.notify()}get upMoveBtnDisabled(){return this._upMoveBtnDisabled}set upMoveBtnDisabled(e){this._upMoveBtnDisabled=e,this.notify()}get downMoveBtnDisabled(){return this._downMoveBtnDisabled}set downMoveBtnDisabled(e){this._downMoveBtnDisabled=e,this.notify()}get selectedRowNumbers(){return this._selectedRowNumbers}set selectedRowNumbers(e){this._selectedRowNumbers=e,this.notify()}get list(){return this._list}set list(e){this._list=e,this.notify()}get isTableEditing(){return this._isTableEditing}set isTableEditing(e){this._isTableEditing=e,this.notify()}whenOperationsBtnClicked(e){if(e==="add"){let i=String(this.list[0].trackWidthMil),o=String(this.list[0].trackWidthMm),r=this.list,n=Mt();r.push({id:n,trackWidthMil:i,trackWidthMm:o,trackWidthMilOld:i,trackWidthMmOld:o,trackWidthMilEditing:!1,trackWidthMmEditing:!1,isAllowDelete:!0,isRepeat:!1}),this.list=this.filterList(r),this.whenListRowItemSinglyClicked(this.list.length-1),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_COMM_TRACK_WIDTH"]),this.addChangedTags();return}if(e==="delete"){if(this.selectedRowNumbers.length){let i=this.selectedRowNumbers[0],o=this.list;o.splice(i,1),this.list=this.filterList(o),this.whenListRowItemSinglyClicked(this.list.length-1),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_COMM_TRACK_WIDTH"]),this.list.length<=0&&(this.delBtnDisabled=!0),this.addChangedTags()}return}if(e==="up"){if(this.selectedRowNumbers.length){let i=this.selectedRowNumbers[0],o=this.list,r=o[i];o[i]=o[i-1],o[i-1]=r,this.list=[...o],this.whenListRowItemSinglyClicked(i-1),this.addChangedTags()}return}if(e==="down"){if(this.selectedRowNumbers.length){let i=this.selectedRowNumbers[0],o=this.list,r=o[i];o[i]=o[i+1],o[i+1]=r,this.list=[...o],this.whenListRowItemSinglyClicked(i+1),this.addChangedTags()}return}}whenListRowItemSinglyClicked(e){this.selectedRowNumbers=[e];let i=this.list[this.selectedRowNumbers[0]].id;this.upMoveBtnDisabled=e<=0,this.downMoveBtnDisabled=e>=this.list.length-1,this._defaultIds.includes(i)?this.delBtnDisabled=!0:this.delBtnDisabled=!1}whenListRowItemDoublyClicked(e){this.selectedRowNumbers=[e],this.list=this.filterList(ue.deepClone(this.list),(i,o)=>{o===e&&(i.trackWidthMilEditing=!0,i.trackWidthMmEditing=!0)})}whenRowInputInteractived(e,i,o,r,n){let a=this,{bluredCallback:s}=n||{},l=r.trim();if(e==="changed"){this.list=this.filterList(ue.deepClone(this.list),(c,d)=>{c.id===i&&(this.inputItem(c,o,l),c.trackWidthMilEditing=!0,c.trackWidthMmEditing=!0)},!1);return}if(e==="blured"){let c=this.list.filter(p=>p.id!==i).map(p=>this.getEigenValue(p)),d,u;this.list=this.filterList(ue.deepClone(this.list),(p,m)=>{if(p.id===i){p.trackWidthMilEditing=!0,p.trackWidthMmEditing=!0;let h;d=p[`${o}Old`],+l==0||!_9(l)?h=d:h=l;let f=JSON.parse(JSON.stringify(p)),g=this.updateItem(f,o,h),b=this.getEigenValue(f);h===""?h=d:c.includes(b)&&(h=d,this.putoutInvalidValueAlert("DUPLICATE",f)),g===!1&&(h=d,this.putoutInvalidValueAlert("INVALID",f)),u=h,this.updateItem(p,o,h),s&&s(()=>{let y=[];for(let w=0;w<this.list.length;w++)y.push({...a.list[w],trackWidthMilEditing:!1,trackWidthMmEditing:!1});a.list=y,a.notify()})}},!0),typeof d<"u"&&typeof u<"u"&&d!==u&&(this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_COMM_TRACK_WIDTH"])),this.addChangedTags();return}}whenAttrUpdate(e,i){}async restore(e){this.storage=ue.deepClone(e.PCB_COMM_TRACK_WIDTH),this.list=this.initList(this.storage.commonlyList.value),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_COMM_TRACK_WIDTH"])}async submitData(){let e=[],i={};for(let o=0;o<this.list.length;o++){let r=typeof this.list[o].isAllowDelete<"u"?this.list[o].isAllowDelete:!0,n=this.getEigenValue(this.list[o]);if(typeof i[n]>"u")i[n]=o;else throw this.putoutInvalidValueAlert("DUPLICATE",this.list[o]),C.messageBus.publish("SWITCH_MENU_SELECTED","PCB_COMM_TRACK_WIDTH"),{msg:"Duplicate name exists!"};e.push({id:this.list[o].id,trackWidthMil:this.list[o].trackWidthMil,trackWidthMm:this.list[o].trackWidthMm,isAllowDelete:r})}this.storage.commonlyList.value=e,vr.set("PCB_COMM_TRACK_WIDTH",ue.deepClone(this.storage))}initList(e){let i=[];for(let o=0;o<e.length;o++){let r=e[o],n=this._defaultIds.includes(r.id)?!1:typeof r.isAllowDelete<"u"?r.isAllowDelete:!0;i[o]={...r},i[o].trackWidthMil=li.toFixed(r.trackWidthMil,1,!0),i[o].trackWidthMm=li.toFixed(r.trackWidthMm,3,!0),i[o].trackWidthMilOld=i[o].trackWidthMil,i[o].trackWidthMmOld=i[o].trackWidthMm,i[o].trackWidthMilEditing=!1,i[o].trackWidthMmEditing=!1,i[o].isRepeat=!1,i[o].isAllowDelete=n}return i}filterList(e,i,o){let r=[];for(let a=0;a<e.length;a++)r.push({...e[a]}),r[a].isRepeat=!1,r[a].trackWidthMilEditing=!1,r[a].trackWidthMmEditing=!1,i&&i(r[a],a);if(o===!1)return r;let n={};for(let a=0;a<r.length;a++){let s=this.getEigenValue(r[a]);typeof n[s]>"u"?n[s]=a:(r[a].isRepeat=!0,r[n[s]].isRepeat=!0)}return r}getEigenValue(e){return`${e.trackWidthMil}_${e.trackWidthMm}`}updateItem(e,i,o){let r=+o;switch(i){case"trackWidthMil":{let n=li.toFixed(o,1,!0),a=li.toFixed(ue.unitConversion.conversion("mil","mm",r),3,!0);if(e.trackWidthMilOld=e.trackWidthMil=n,e.trackWidthMmOld=e.trackWidthMm=a,+n==0||+a==0)return!1;break}case"trackWidthMm":{let n=li.toFixed(o,3,!0),a=li.toFixed(ue.unitConversion.conversion("mm","mil",r),1,!0);if(e.trackWidthMmOld=e.trackWidthMm=n,e.trackWidthMilOld=e.trackWidthMil=a,+n==0)return!1;break}}return!0}inputItem(e,i,o){switch(i){case"trackWidthMil":{let r=li.toFixed(o,1,!0);e.trackWidthMil=r;break}case"trackWidthMm":{let r=li.toFixed(o,3,!0);e.trackWidthMm=r;break}}}putoutInvalidValueAlert(e,i){if(e==="DUPLICATE"){let o=[];o.push("Common Track Width Setting: "),o.push(`${i.trackWidthMil}mil(${i.trackWidthMm}mm)`),o.push("Already exists, cannot be added"),Ot("error",o.map(r=>Ti(r)),"Log",!0),Dt({icon:"error",closed:!0,content:o.map(r=>me.i18n(r)).join(`
`)});return}if(e==="INVALID"){let o=[];o.push("Common Track Width Setting: "),o.push(` ${i.trackWidthMil}mil(${i.trackWidthMm}mm)`),o.push("invalid value"),Ot("error",o.map(r=>Ti(r)),"Log",!0),Dt({icon:"error",closed:!0,content:o.map(r=>me.i18n(r)).join(`
`)});return}}addChangedTags(){this.frameStore.changeModules.has("PCB_COMM_TRACK_WIDTH")||this.frameStore.changeModules.add("PCB_COMM_TRACK_WIDTH")}clearChangedTags(){this.frameStore.changeModules.has("PCB_COMM_TRACK_WIDTH")&&this.frameStore.changeModules.delete("PCB_COMM_TRACK_WIDTH")}},vll=(0,IUi.createContext)(void 0);var DUi=L(Se());var vUi=[{id:"1",insideDiameterMil:8,insideDiameterMm:ue.unitConversion.conversion("mil","mm",8),outersideDiameterMil:16,outersideDiameterMm:ue.unitConversion.conversion("mil","mm",16)},{id:"2",insideDiameterMil:10,insideDiameterMm:ue.unitConversion.conversion("mil","mm",10),outersideDiameterMil:20,outersideDiameterMm:ue.unitConversion.conversion("mil","mm",20)},{id:"3",insideDiameterMil:12,insideDiameterMm:ue.unitConversion.conversion("mil","mm",12),outersideDiameterMil:24,outersideDiameterMm:ue.unitConversion.conversion("mil","mm",24)},{id:"4",insideDiameterMil:ue.unitConversion.conversion("mm","mil",.3),insideDiameterMm:.3,outersideDiameterMil:ue.unitConversion.conversion("mm","mil",.5),outersideDiameterMm:.5},{id:"5",insideDiameterMil:ue.unitConversion.conversion("mm","mil",.35),insideDiameterMm:.35,outersideDiameterMil:ue.unitConversion.conversion("mm","mil",.7),outersideDiameterMm:.7},{id:"6",insideDiameterMil:ue.unitConversion.conversion("mm","mil",.6),insideDiameterMm:.6,outersideDiameterMil:ue.unitConversion.conversion("mm","mil",1),outersideDiameterMm:1},{id:"7",insideDiameterMil:ue.unitConversion.conversion("mm","mil",.9),insideDiameterMm:.9,outersideDiameterMil:ue.unitConversion.conversion("mm","mil",1.6),outersideDiameterMm:1.6}];async function EUi(t){let e=new nDt(t);return await e.initial(),e}var nDt=class extends js{constructor(e){super(),this.frameStore=e,this._addBtnDisabled=!1,this._delBtnDisabled=!0,this._upMoveBtnDisabled=!0,this._downMoveBtnDisabled=!0,this._isTableEditing=!1,this._selectedRowNumbers=[],this._list=[],this._defaultIds=[]}async initial(){this.storage=ue.deepClone(vr.get("PCB_COMM_VIA_SIZE")),this._defaultIds=vUi.map(e=>e.id),this.list=this.initList(this.storage.commonlyList.value)}get addBtnDisabled(){return this._addBtnDisabled}set addBtnDisabled(e){this._addBtnDisabled=e,this.notify()}get delBtnDisabled(){return this._delBtnDisabled}set delBtnDisabled(e){this._delBtnDisabled=e,this.notify()}get upMoveBtnDisabled(){return this._upMoveBtnDisabled}set upMoveBtnDisabled(e){this._upMoveBtnDisabled=e,this.notify()}get downMoveBtnDisabled(){return this._downMoveBtnDisabled}set downMoveBtnDisabled(e){this._downMoveBtnDisabled=e,this.notify()}get selectedRowNumbers(){return this._selectedRowNumbers}set selectedRowNumbers(e){this._selectedRowNumbers=e,this.notify()}get list(){return this._list}set list(e){this._list=e,this.notify()}get isTableEditing(){return this._isTableEditing}set isTableEditing(e){this._isTableEditing=e,this.notify()}whenOperationsBtnClicked(e){if(e==="add"){let i=String(this.list[0].insideDiameterMil),o=String(this.list[0].insideDiameterMm),r=String(this.list[0].outersideDiameterMil),n=String(this.list[0].outersideDiameterMm),a=this.list,s=Mt();a.push({id:s,insideDiameterMil:i,insideDiameterMm:o,outersideDiameterMil:r,outersideDiameterMm:n,insideDiameterMilOld:i,insideDiameterMmOld:o,outersideDiameterMilOld:r,outersideDiameterMmOld:n,insideDiameterMilEditing:!1,insideDiameterMmEditing:!1,outersideDiameterMilEditing:!1,outersideDiameterMmEditing:!1,isAllowDelete:!0,isRepeat:!1}),this.list=this.filterList(a),this.whenListRowItemSinglyClicked(this.list.length-1),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_COMM_VIA_SIZE"]),this.addChangedTags();return}if(e==="delete"){if(this.selectedRowNumbers.length){let i=this.selectedRowNumbers[0],o=this.list;o.splice(i,1),this.list=this.filterList(o),this.whenListRowItemSinglyClicked(this.list.length-1),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_COMM_VIA_SIZE"]),this.list.length<=0&&(this.delBtnDisabled=!0),this.addChangedTags()}return}if(e==="up"){if(this.selectedRowNumbers.length){let i=this.selectedRowNumbers[0],o=this.list,r=o[i];o[i]=o[i-1],o[i-1]=r,this.list=[...o],this.whenListRowItemSinglyClicked(i-1),this.addChangedTags()}return}if(e==="down"){if(this.selectedRowNumbers.length){let i=this.selectedRowNumbers[0],o=this.list,r=o[i];o[i]=o[i+1],o[i+1]=r,this.list=[...o],this.whenListRowItemSinglyClicked(i+1),this.addChangedTags()}return}}whenListRowItemSinglyClicked(e){this.selectedRowNumbers=[e];let i=this.list[this.selectedRowNumbers[0]].id;this.upMoveBtnDisabled=e<=0,this.downMoveBtnDisabled=e>=this.list.length-1,this._defaultIds.includes(i)?this.delBtnDisabled=!0:this.delBtnDisabled=!1}whenListRowItemDoublyClicked(e){this.selectedRowNumbers=[e],this.list=this.filterList(ue.deepClone(this.list),(i,o)=>{o===e&&(i.insideDiameterMilEditing=!0,i.insideDiameterMmEditing=!0,i.outersideDiameterMilEditing=!0,i.outersideDiameterMmEditing=!0)})}whenRowInputInteractived(e,i,o,r,n){let a=this,{bluredCallback:s}=n||{},l=r.trim();if(e==="changed"){this.list=this.filterList(ue.deepClone(this.list),(c,d)=>{c.id===i&&(this.inputItem(c,o,l),c.insideDiameterMilEditing=!0,c.insideDiameterMmEditing=!0,c.outersideDiameterMilEditing=!0,c.outersideDiameterMmEditing=!0)},!1);return}if(e==="blured"){let c=this.list.filter(p=>p.id!==i).map(p=>this.getEigenValue(p)),d,u;this.list=this.filterList(ue.deepClone(this.list),(p,m)=>{if(p.id===i){p.insideDiameterMilEditing=!0,p.insideDiameterMmEditing=!0,p.outersideDiameterMilEditing=!0,p.outersideDiameterMmEditing=!0;let h;d=p[`${o}Old`],+l==0||!_9(l)?h=d:h=l;let f=JSON.parse(JSON.stringify(p)),g=this.updateItem(f,o,h),b=this.getEigenValue(f);h===""?h=d:c.includes(b)&&(h=d,this.putoutInvalidValueAlert("DUPLICATE",f)),g===!1&&(h=d,this.putoutInvalidValueAlert("INVALID",f)),u=h,this.updateItem(p,o,h),s&&s(()=>{let y=[];for(let w=0;w<this.list.length;w++)y.push({...a.list[w],insideDiameterMilEditing:!1,insideDiameterMmEditing:!1,outersideDiameterMilEditing:!1,outersideDiameterMmEditing:!1});a.list=y,a.notify()})}},!0),typeof d<"u"&&typeof u<"u"&&d!==u&&(this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_COMM_VIA_SIZE"])),this.addChangedTags();return}}whenAttrUpdate(e,i){}async restore(e){this.storage=ue.deepClone(e.PCB_COMM_VIA_SIZE),this.list=this.initList(this.storage.commonlyList.value),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_COMM_VIA_SIZE"])}async submitData(){let e=[],i={};for(let o=0;o<this.list.length;o++){let r=this.getEigenValue(this.list[o]),n=typeof this.list[o].isAllowDelete<"u"?this.list[o].isAllowDelete:!0;if(typeof i[r]>"u")i[r]=o;else throw this.putoutInvalidValueAlert("DUPLICATE",this.list[o]),C.messageBus.publish("SWITCH_MENU_SELECTED","PCB_COMM_VIA_SIZE"),{msg:"Duplicate name exists!"};e.push({id:this.list[o].id,insideDiameterMil:this.list[o].insideDiameterMil,insideDiameterMm:this.list[o].insideDiameterMm,outersideDiameterMil:this.list[o].outersideDiameterMil,outersideDiameterMm:this.list[o].outersideDiameterMm,isAllowDelete:n})}this.storage.commonlyList.value=e,vr.set("PCB_COMM_VIA_SIZE",ue.deepClone(this.storage))}initList(e){let i=[];for(let o=0;o<e.length;o++){let r=e[o],n=this._defaultIds.includes(r.id)?!1:typeof r.isAllowDelete<"u"?r.isAllowDelete:!0;i[o]={...r},i[o].insideDiameterMil=li.toFixed(r.insideDiameterMil,1,!0),i[o].insideDiameterMm=li.toFixed(r.insideDiameterMm,3,!0),i[o].outersideDiameterMil=li.toFixed(r.outersideDiameterMil,1,!0),i[o].outersideDiameterMm=li.toFixed(r.outersideDiameterMm,3,!0),i[o].insideDiameterMilOld=i[o].insideDiameterMil,i[o].insideDiameterMmOld=i[o].insideDiameterMm,i[o].outersideDiameterMilOld=i[o].outersideDiameterMil,i[o].outersideDiameterMmOld=i[o].outersideDiameterMm,i[o].insideDiameterMilEditing=!1,i[o].insideDiameterMmEditing=!1,i[o].outersideDiameterMilEditing=!1,i[o].outersideDiameterMmEditing=!1,i[o].isRepeat=!1,i[o].isAllowDelete=n}return i}filterList(e,i,o){let r=[];for(let a=0;a<e.length;a++)r.push({...e[a]}),r[a].isRepeat=!1,r[a].insideDiameterMilEditing=!1,r[a].insideDiameterMmEditing=!1,r[a].outersideDiameterMilEditing=!1,r[a].outersideDiameterMmEditing=!1,i&&i(r[a],a);if(o===!1)return r;let n={};for(let a=0;a<r.length;a++){let s=this.getEigenValue(r[a]);typeof n[s]>"u"?n[s]=a:(r[a].isRepeat=!0,r[n[s]].isRepeat=!0)}return r}getEigenValue(e){return`${e.insideDiameterMil}_${e.insideDiameterMm}_${e.outersideDiameterMil}_${e.outersideDiameterMm}`}updateItem(e,i,o){let r=+o;switch(i){case"insideDiameterMil":{let n=li.toFixed(o,1,!0),a=li.toFixed(ue.unitConversion.conversion("mil","mm",r),3,!0);if(e.insideDiameterMilOld=e.insideDiameterMil=n,e.insideDiameterMmOld=e.insideDiameterMm=a,+n==0||+a==0)return!1;break}case"insideDiameterMm":{let n=li.toFixed(o,3,!0),a=li.toFixed(ue.unitConversion.conversion("mm","mil",r),1,!0);if(e.insideDiameterMmOld=e.insideDiameterMm=n,e.insideDiameterMilOld=e.insideDiameterMil=a,+n==0)return!1;break}case"outersideDiameterMil":{let n=li.toFixed(o,1,!0),a=li.toFixed(ue.unitConversion.conversion("mil","mm",r),3,!0);if(e.outersideDiameterMilOld=e.outersideDiameterMil=n,e.outersideDiameterMmOld=e.outersideDiameterMm=a,+n==0||+a==0)return!1;break}case"outersideDiameterMm":{let n=li.toFixed(o,3,!0),a=li.toFixed(ue.unitConversion.conversion("mm","mil",r),1,!0);if(e.outersideDiameterMmOld=e.outersideDiameterMm=n,e.outersideDiameterMilOld=e.outersideDiameterMil=a,+n==0)return!1;break}}return!0}inputItem(e,i,o){switch(i){case"insideDiameterMil":{let r=li.toFixed(o,1,!0);e.insideDiameterMil=r;break}case"insideDiameterMm":{let r=li.toFixed(o,3,!0);e.insideDiameterMm=r;break}case"outersideDiameterMil":{let r=li.toFixed(o,1,!0);e.outersideDiameterMil=r;break}case"outersideDiameterMm":{let r=li.toFixed(o,3,!0);e.outersideDiameterMm=r;break}}}putoutInvalidValueAlert(e,i){if(e==="DUPLICATE"){let o="";o+=`${me.i18n("Common Via Size Setting")}: `,o+=` ${me.i18n("Via Inside Diameter")} ${i.insideDiameterMil}mil(${i.insideDiameterMm}mm)`,o+=` ${me.i18n("Via Outside Diameter")} ${i.outersideDiameterMil}mil(${i.outersideDiameterMm}mm)`,o+=` ${me.i18n("Already exists, cannot be added")}`,Ot("error",o,"Log",!0),Dt({icon:"error",closed:!0,content:o});return}if(e==="INVALID"){let o="";o+=`${me.i18n("Common Via Size Setting")}: `,o+=` ${me.i18n("Via Inside Diameter")} ${i.insideDiameterMil}mil(${i.insideDiameterMm}mm)`,o+=` ${me.i18n("Via Outside Diameter")} ${i.outersideDiameterMil}mil(${i.outersideDiameterMm}mm)`,o+=` ${me.i18n("invalid value")}`,Ot("error",o,"Log",!0),Dt({icon:"error",closed:!0,content:o});return}}addChangedTags(){this.frameStore.changeModules.has("PCB_COMM_VIA_SIZE")||this.frameStore.changeModules.add("PCB_COMM_VIA_SIZE")}clearChangedTags(){this.frameStore.changeModules.has("PCB_COMM_VIA_SIZE")&&this.frameStore.changeModules.delete("PCB_COMM_VIA_SIZE")}},Yll=(0,DUi.createContext)(void 0);var AUi=L(Se());async function NUi(t){let e=new aDt(t);return await e.initial(),e}var aDt=class extends js{constructor(e){super(),this.frameStore=e}async initial(){let e=ue.deepClone(vr.get("PCB_FOOTPRINT"));this.storage={};for(let i in e)ipe.includes(i)||(this.storage[i]=e[i])}whenAttrUpdate(e,i){typeof this.storage[e]<"u"&&(typeof this.storage[e].value<"u"?this.storage[e].value=i:this.storage[e]=i),this.addChangedTags(),this.notify()}async restore(e){let i=ue.deepClone(e.PCB_FOOTPRINT);this.storage={};for(let o in i)ipe.includes(o)||(this.storage[o]=i[o]);this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_FOOTPRINT_GENERAL"]),this.addChangedTags()}async submitData(){let e=ue.deepClone(vr.get("PCB_FOOTPRINT")),i=Object.assign(e,ue.deepClone(this.storage));vr.set("PCB_FOOTPRINT",i)}addChangedTags(){this.frameStore.changeModules.has("PCB_FOOTPRINT")||this.frameStore.changeModules.add("PCB_FOOTPRINT")}clearChangedTags(){this.frameStore.changeModules.has("PCB_FOOTPRINT")&&this.frameStore.changeModules.delete("PCB_FOOTPRINT")}},Xll=(0,AUi.createContext)(void 0);var kUi=L(Se());var YIr=we.PCB_FOOTPRINT.PCB_THEME.OBJECT,WIr=we.PCB_FOOTPRINT.PCB_THEME.COLOR,QIr=we.PCB_FOOTPRINT.PCB_THEME.TRANSPARENCY,KIr=we.PCB_FOOTPRINT.PCB_THEME.BORDER_COLOR,ZIr=we.PCB_FOOTPRINT.PCB_THEME.BORDER_LINE_STYLE,YWe=class extends qe{constructor(){super(...arguments);this.rows=[];this.notifyIndex=0}updateRows(i){var r,n;let o=[];for(let a in hoe){let s=hoe[a];if(s.hidden)continue;let l=i[a];l?(l.color&&!Object.is(void 0,(r=s==null?void 0:s.color)==null?void 0:r.tagValue)&&(l.color.tagValue=s.color.tagValue),l.borderColor&&!Object.is(void 0,(n=s==null?void 0:s.borderColor)==null?void 0:n.tagValue)&&(l.borderColor.tagValue=s.borderColor.tagValue)):l=s,o.push({index:a,object:szi[a]||a,color:l.color,transparency:l.transparency,borderColor:l.borderColor,borderStyle:l.borderStyle})}this.rows=o,this.notify()}initColumns(i,o){return[{key:"object",width:.2,name:i(YIr),ellipsis:!0,i18n:!0},{key:"color",width:.2,name:i(WIr),ellipsis:!0,render:o},{key:"transparency",width:.2,name:i(QIr),ellipsis:!0,render:o},{key:"borderColor",width:.2,name:i(KIr),ellipsis:!0,render:o},{key:"borderStyle",width:.2,name:i(ZIr),ellipsis:!0,render:o}]}notify(){super.notify(),this.notifyIndex++}};async function PUi(t){let e=new sDt(t);return await e.initial(),e}var sDt=class extends js{constructor(e){super(),this.frameStore=e,this.canvasPrimitiveStore=new YWe,this.layerStore=new h_e}get data(){return this._data}set data(e){this._data=e}async initial(e){this.storage=ue.deepClone(e||vr.get("PCB_THEME")||Wue),this.data=this.storage,this.canvasPrimitiveStore.updateRows(this.data.canvasPrimitiveSetting),this.notifyLayerStore(!0)}notifyLayerStore(e=!0){let i=[...this.data.canvasColorTheme];this.layerStore.updateRows(i,this.data.canvasColorThemeSelected,this.data.defaultCanvasColorThemeName,e)}switchLayerSetting(e,i,o){e&&(this.data.canvasColorThemeSelected=e,i&&this.notifyLayerStore(o))}deleteLayerSetting(e,i,o){e>=this.layerStore.defaultSettingLen&&this.data.canvasColorTheme[e]&&(this.data.canvasColorTheme.splice(e,1),i&&this.notifyLayerStore(o))}addLayerConfig(e,i,o){var r;e.name&&((r=e.list)==null?void 0:r.length)>0&&(this.data.canvasColorTheme.push(e),this.data.canvasColorThemeSelected=e.name,i&&this.notifyLayerStore(o))}get activeTab(){return this.data.activeTab||"canvas-primitive"}set activeTab(e){this.data.activeTab=e,this.notify()}getCanvasPrimitiveRowData(e){return this.data.canvasPrimitiveSetting[e]}whenAttrUpdate(e,i){typeof this.storage[e]<"u"&&(typeof this.storage[e].value<"u"?this.storage[e].value=i:this.storage[e]=i),this.addChangedTags(),this.notify()}async restore(e){let i=this.storage.activeTab;await this.initial(e==null?void 0:e.PCB_THEME),this.updateSaveTag(),this.layerStore.hasChanged=!0,this.addChangedTags(),i&&(this.storage.activeTab=i,this.notify())}updateSaveTag(){this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_THEME"])}submitData(){vr.set("PCB_THEME",ue.deepClone(this.storage)),this.layerStore.hasChanged&&dt()===se.PCB&&Ut({title:"Warning",type:"confirm",message:"Whether it is applied to the current document?",icon:"warning",onConfirm:()=>{C.messageBus.publish("updatePcbLayerByTheme",{canvasColorTheme:this.data.canvasColorTheme,canvasColorThemeSelected:this.data.canvasColorThemeSelected})}}),this.layerStore.hasChanged=!1}addChangedTags(){this.frameStore.changeModules.has("PCB_THEME")||this.frameStore.changeModules.add("PCB_THEME")}clearChangedTags(){this.frameStore.changeModules.has("PCB_THEME")&&this.frameStore.changeModules.delete("PCB_THEME")}},Tcl=(0,kUi.createContext)(void 0);async function OUi(t){let e=new lDt(t);return await e.initial(),e}var lDt=class extends js{constructor(e){super(),this.frameStore=e,this._isAlwaysShowCrossCursorDisabled=!1}get otherStorage(){return this._otherStorage}set otherStorage(e){this._otherStorage=e,this.notify()}get isAlwaysShowCrossCursorDisabled(){return this._isAlwaysShowCrossCursorDisabled}set isAlwaysShowCrossCursorDisabled(e){this._isAlwaysShowCrossCursorDisabled=e,this.notify()}async initial(){this.storage=ue.deepClone(vr.get("PCB_SHOW"));let e=ue.deepClone(vr.get("PCB_FOOTPRINT"));this.otherStorage={};for(let i of ipe)this.otherStorage[i]=e[i];this.isAlwaysShowCrossCursorDisabled=this.otherStorage.cursorSize.value==="None"}restore(e){this.storage=ue.deepClone(e.PCB_SHOW);let i=ue.deepClone(e.PCB_FOOTPRINT);this.otherStorage={};for(let o of ipe)this.otherStorage[o]=i[o];this.isAlwaysShowCrossCursorDisabled=this.otherStorage.cursorSize.value==="None",this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PCB_SHOW"]),this.addChangedTags()}whenAttrUpdate(e,i){typeof i<"u"&&(this.storage[e]=i),this.addChangedTags(),this.notify()}whenAttrUpdate2(e,i){switch(typeof this.otherStorage[e]<"u"&&(typeof this.otherStorage[e].value<"u"?this.otherStorage[e].value=i:this.otherStorage[e]=i),e){case"cursorSize":{this.isAlwaysShowCrossCursorDisabled=this.otherStorage.cursorSize.value==="None";break}}this.addChangedTags(),this.notify()}submitData(){vr.set("PCB_SHOW",ue.deepClone(this.storage));let e=ue.deepClone(vr.get("PCB_FOOTPRINT"));this.isAlwaysShowCrossCursorDisabled=this.otherStorage.cursorSize.value==="None";let i=Object.assign(e,ue.deepClone(this.otherStorage));vr.set("PCB_FOOTPRINT",i)}addChangedTags(){this.frameStore.changeModules.has("PCB_SHOW")||this.frameStore.changeModules.add("PCB_SHOW")}clearChangedTags(){this.frameStore.changeModules.has("PCB_SHOW")&&this.frameStore.changeModules.delete("PCB_SHOW")}};var RUi=L(Se());async function _Ui(t){let e=new cDt(t);return await e.initial(),e}var cDt=class extends js{constructor(i){super();this.isModified=!1;this.frameStore=i}async initial(){this.storage=ue.deepClone(vr.get("PROPERTY"))}whenAttrUpdate(i,o){typeof this.storage[i]<"u"&&(typeof this.storage[i].value<"u"?this.storage[i].value=o:this.storage[i]=o),this.isModified=!0,this.addChangedTags()}async restore(i,o=!1){o?this.storage=ue.deepClone(i.PROPERTY):this.storage=ue.deepClone((()=>{var s,l;let r=((s=C)==null?void 0:s.systemAttrs)||[];r.map(c=>{c.type="system"});let n=i||{},a=JSON.parse(((l=n==null?void 0:n.PROPERTY)==null?void 0:l.property)||"[]");return a=a.filter(c=>c.type!=="system"),{property:JSON.stringify([...a,...r])}})()),this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"PROPERTY"]),this.addChangedTags()}async submitData(){vr.set("PROPERTY",ue.deepClone(this.storage))}addChangedTags(){this.frameStore.changeModules.has("PROPERTY")||this.frameStore.changeModules.add("PROPERTY")}clearChangedTags(){this.frameStore.changeModules.has("PROPERTY")&&this.frameStore.changeModules.delete("PROPERTY")}},_cl=(0,RUi.createContext)(void 0);var jUi=L(Se());async function BUi(t){let e=new dDt(t);return await e.initial(),e}var dDt=class extends js{get storage(){return super.storage}set storage(e){super.storage=e}get autoBackupNumCanEdit(){return!!Je}constructor(e){super(),this.frameStore=e}async initial(){this.storage=ue.deepClone(vr.get("SAVE"))}whenAttrUpdate(e,i){typeof this.storage[e]<"u"&&(typeof this.storage[e].value<"u"?this.storage[e].value=i:this.storage[e]=i),this.addChangedTags(),this.notify()}async restore(e){this.storage=ue.deepClone(e.SAVE),this.isRestore=!0,this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"SAVE"]),this.addChangedTags()}async submitData(){vr.set("SAVE",ue.deepClone(this.storage))}addChangedTags(){this.frameStore.changeModules.has("SAVE")||this.frameStore.changeModules.add("SAVE")}clearChangedTags(){this.frameStore.changeModules.has("SAVE")&&this.frameStore.changeModules.delete("SAVE")}getConfig(){return{autoBackupMin:this.storage.autoBackupMin.value,autoSaveMin:this.storage.autoSaveMin.value,isAutoBackup:this.storage.isAutoBackup.value,isAutoSave:this.storage.isAutoSave.value,autoBackupNum:this.storage.autoBackupNum.value}}},Hcl=(0,jUi.createContext)(void 0);var zUi=L(Se());async function FUi(t){let e=new uDt(t);return await e.initial(),e}var uDt=class extends js{constructor(e){super(),this.frameStore=e,this._isShowCewLibraryPopupComponent=!1}async initial(){this.storage=ue.deepClone(vr.get("SYSTEM")),this.isShowCewLibraryPopupComponent=this.storage.symbolLibManage.value==="2"}get isShowCewLibraryPopupComponent(){return this._isShowCewLibraryPopupComponent}set isShowCewLibraryPopupComponent(e){this._isShowCewLibraryPopupComponent=e,this.notify()}whenAttrUpdate(e,i){switch(typeof this.storage[e]<"u"&&(typeof this.storage[e].value<"u"?this.storage[e].value=i:this.storage[e]=i),e){case"symbolLibManage":{this.isShowCewLibraryPopupComponent=i==="2";break}}this.addChangedTags(),this.notify()}async restore(e){this.storage=ue.deepClone(e.SYSTEM),this.storage.symbolLibManage.value=this.storage.symbolLibManage.value==="0"?"1":this.storage.symbolLibManage.value,this.isShowCewLibraryPopupComponent=this.storage.symbolLibManage.value==="2",this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"SYSTEM_GENERAL"]),this.addChangedTags()}async submitData(){vr.set("SYSTEM",ue.deepClone(this.storage))}addChangedTags(){this.frameStore.changeModules.has("SYSTEM")||this.frameStore.changeModules.add("SYSTEM")}clearChangedTags(){this.frameStore.changeModules.has("SYSTEM")&&this.frameStore.changeModules.delete("SYSTEM")}},Jcl=(0,zUi.createContext)(void 0);var VUi=L(Se());function pDt(t=!0){let e=[],i=we.SYSTEM.CATEGORY.DEVICE,o=we.SYSTEM.CATEGORY.SYMBOL,r=we.SYSTEM.CATEGORY.FOOTPRINT,n=we.SYSTEM.CATEGORY.PANEL_LIB,a=we.SYSTEM.CATEGORY.CBB,s=we.SYSTEM.CATEGORY.MODEL_3D,l=we.SYSTEM.CATEGORY.SIM_Model;return Je?(e.push({title:i,key:"Device"}),t&&e.push({title:o,key:"Symbol"}),e.push({title:r,key:"Footprint"},{title:n,key:"PanelLib"}),e):(e.push({title:i,key:"Device"}),t&&e.push({title:o,key:"Symbol"}),e.push({title:r,key:"Footprint"},{title:a,key:"CBB"},{title:s,key:"D3Model"},{title:n,key:"PanelLib"}),na&&e.push({title:l,key:"SimModel"}),e)}var WWe=class extends qe{constructor(){super();this._projectsIds=[];this._searchValue="",this._searchPlaceHolder="Filter",this._selectedIds=[],this._emptyLabel="Loading",this._isSearchStatus=!1,this._initalLibList=[],this._projectsIds=[],this._isFromProject=!1,this._path=""}get path(){return this._path}set path(i){this._path=i}get initalLibList(){return this._initalLibList}set initalLibList(i){this._initalLibList=i}get searchPlaceHolder(){return this._searchPlaceHolder}set projectsIds(i){this._projectsIds=i,this.notify()}get projectsIds(){return this._projectsIds}set selectedIds(i){this._selectedIds=i,this.notify()}get selectedIds(){return this._selectedIds}set isFromProject(i){this._isFromProject=i}get isFromProject(){return this._isFromProject}set isSearchStatus(i){this._isSearchStatus=i}get isSearchStatus(){return this._isSearchStatus}set emptyLabel(i){this._emptyLabel=i,this.notify()}get emptyLabel(){return this._emptyLabel}set searchValue(i){this._searchValue=i,this.notify()}get searchValue(){return this._searchValue}async updateLibList(i){this.initalLibList=await iI(this.isFromProject,i,this.path)}};var hMe=class extends qe{constructor(e,i,o){super(),this.frameStore=e,this.parent=i,this._levelTag=o,this._addBtnDisabled=!1,this._delBtnDisabled=!0,this._upMoveBtnDisabled=!0,this._downMoveBtnDisabled=!0,this._isTableEditing=!1,this._selectedRowNumbers=[],this._list=[],this._defaultIds=[],this._categoryParentId=void 0,this._hasChangedOrder=!1}async initial(){}get addBtnDisabled(){return this._addBtnDisabled}set addBtnDisabled(e){this._addBtnDisabled=!this.parent.canEdit||e,this.notify()}get delBtnDisabled(){return this._delBtnDisabled}set delBtnDisabled(e){this._delBtnDisabled=!this.parent.canDelete||e,this.notify()}get upMoveBtnDisabled(){return this._upMoveBtnDisabled}set upMoveBtnDisabled(e){this._upMoveBtnDisabled=!this.parent.canEdit||e,this.notify()}get downMoveBtnDisabled(){return this._downMoveBtnDisabled}set downMoveBtnDisabled(e){this._downMoveBtnDisabled=!this.parent.canEdit||e,this.notify()}get selectedRowNumbers(){return this._selectedRowNumbers}set selectedRowNumbers(e){this._selectedRowNumbers=e,this.notify()}get list(){return this._list}set list(e){this._list=e,this.notify()}get isTableEditing(){return this._isTableEditing}set isTableEditing(e){this._isTableEditing=e,this.notify()}get categoryParentId(){return this._categoryParentId}set categoryParentId(e){this._categoryParentId=e}get hasChangedOrder(){return this._hasChangedOrder}set hasChangedOrder(e){this._hasChangedOrder=e}get levelTag(){return this._levelTag}whenListTableDataChanged(e,i,o){if(o==="NORMAL"){let r=[...this.list];r.sort((n,a)=>+n.order_no!=+a.order_no?+n.order_no>=+a.order_no?1:-1:+n.created_at!=+a.created_at?+n.created_at>=+a.created_at?1:-1:String(n.title).localeCompare(String(a.title))),this.list=r;return}if(o==="ASC_SORT"||o==="DESC_SORT"){let r=[];for(let n=0;n<e.length;n++)r.push({...e[n]});this.list=r;return}}whenOperationsBtnClicked(e){if(e==="add"){let i=me.i18n("Category")+this.list.length,o=this.categoryParentId,r=this.list,n=Mt(),a=this.getMaxOrderNo(),s={id:n,title:i,titleOld:i,titleEditing:!1,order_no:a+1,isRepeat:!1,parentId:o,isNew:!0};r.push(s),this.list=this.filterList(r),this.parent.whenRowInputConfirmUpdated("ADD",n,o,{...s}),this.whenListRowItemSinglyClicked([this.list.length-1]);return}if(e==="delete"){if(this.selectedRowNumbers.length){let i=[],o=this.selectedRowNumbers.length;for(let n=0;n<o;n++){let a=this.selectedRowNumbers[n];i.push(this.list[a].id)}let r=[...this.list];for(let n=0;n<o;n++){let a=i[n],s=Ft(r,"id",a);s.index<=-1||(this.parent.whenRowInputConfirmUpdated("DELETE",String(s.data.id),s.data.parentId,{}),r=r.filter(l=>l.id!==a))}this.list=this.filterList(r),this.whenListRowItemSinglyClicked([this.list.length-1]),this.list.length<=0&&(this.delBtnDisabled=!0)}return}if(e==="up"){if(this.selectedRowNumbers.length){this.parent.usrAction="UP";let i=this.selectedRowNumbers[0],o=this.list,r=o[i],n=o[i-1];o[i]=o[i-1],o[i-1]=r,this.list=[...o],this.hasChangedOrder=!0,this.parent.whenRowInputConfirmUpdated("UP_MOVE",String(r.id),r.parentId,{prevId:n.id}),this.whenListRowItemSinglyClicked([i-1])}return}if(e==="down"){if(this.selectedRowNumbers.length){this.parent.usrAction="DOWN";let i=this.selectedRowNumbers[0],o=this.list,r=o[i],n=o[i+1];o[i]=o[i+1],o[i+1]=r,this.list=[...o],this.hasChangedOrder=!0,this.parent.whenRowInputConfirmUpdated("DOWN_MOVE",String(r.id),r.parentId,{nextId:n.id}),this.whenListRowItemSinglyClicked([i+1])}return}}whenListRowItemSinglyClicked(e){let i=Array.isArray(e)?e:[e];if(!this.list.length){this.delBtnDisabled=!0,this.upMoveBtnDisabled=!0,this.downMoveBtnDisabled=!0,this.parent.whenListRowItemClicked(null,this.levelTag);return}this.selectedRowNumbers=[...i];let o=this.list[this.selectedRowNumbers[0]],r=String(o.id),n=Math.min(...this.selectedRowNumbers),a=Math.max(...this.selectedRowNumbers);this.upMoveBtnDisabled=this.selectedRowNumbers.length>=2?!0:n<=0,this.downMoveBtnDisabled=this.selectedRowNumbers.length>=2?!0:a>=this.list.length-1,this._defaultIds.includes(r)?this.delBtnDisabled=!0:this.delBtnDisabled=!1,this.parent.whenListRowItemClicked(r,this.levelTag)}whenListRowItemDoublyClicked(e){!this.list.length||e===-1||typeof e>"u"||(this.list=this.filterList(ue.deepClone(this.list),(i,o)=>{o===e&&(i.titleEditing=!0)}),this.parent.usrAction="INPUTING")}whenRowInputInteractived(e,i,o,r){let n=r.trim();if(e==="changed"){this.list=this.filterList(ue.deepClone(this.list),(a,s)=>{a.id===i&&(a[o]=n,a.titleEditing=!0)},!1);return}if(e==="blured"){let a=this.list.filter(u=>u.id!==i).map(u=>this.getEigenValue(u)),s=!1,l,c,d=null;this.list=this.filterList(ue.deepClone(this.list),(u,p)=>{if(u.id===i){let m;l=u[`${o}Old`],n?m=n:m=l;let h=JSON.parse(JSON.stringify(u));this.updateItem(h,o,m);let f=this.getEigenValue(h);if(m==="")m=l;else if(a.includes(f)){let g=`[${m}] ${me.i18n("Already exists, cannot be added")}`;m=l,De({type:"error",msg:g})}m!==l&&(s=!0),c=m,this.updateItem(u,o,m),u.titleEditing=!1,d=u}},!0),d&&this.parent.whenRowInputConfirmUpdated("EDIT",String(d.id),d.parentId,{title:d.title,hasChanged:d.isNew?!0:s}),this.parent.usrAction="NONE";return}}initList(e,i){let o=[];for(let r=0;r<e.length;r++){let n=e[r];if(n.id===_e.CATEGORY_ITEM_ALL_VALUE)continue;o.push({id:String(n.id),title:String(n.title),order_no:String(n.order_no),updated_at:n.updated_at,created_at:n.created_at,isNew:!!n.isNew});let a=o.length;o[a-1].titleOld=String(o[a-1].title),o[a-1].titleEditing=!1,o[a-1].isRepeat=!1,o[a-1].parentId=i}return o}setAllBtnDisabled(){this.addBtnDisabled=!0,this.delBtnDisabled=!0,this.upMoveBtnDisabled=!0,this.downMoveBtnDisabled=!0}filterList(e,i,o){let r=[];for(let a=0;a<e.length;a++)r.push({...e[a]}),r[a].isRepeat=!1,r[a].titleEditing=!1,i&&i(r[a],a);if(o===!1)return r;let n={};for(let a=0;a<r.length;a++){let s=this.getEigenValue(r[a]);typeof n[s]>"u"?n[s]=a:(r[a].isRepeat=!0,r[n[s]].isRepeat=!0)}return r}getEigenValue(e){return String(e.title)}updateItem(e,i,o){switch(i){case"title":{e.titleOld=e.title=o;break}}}getMaxOrderNo(){let e=0;for(let i=0;i<this.list.length;i++){let o=+this.list[i].order_no||0;o>=e&&(e=o)}return e}};var ho=class{static classOf(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}static isFunction(e){return this.classOf(e)==="function"}static isArray(e){return this.classOf(e)==="array"}static isObject(e){return this.classOf(e)==="object"}static isDate(e){return this.classOf(e)==="date"}static isUndefined(e){return this.classOf(e)==="undefined"}static isNull(e){return this.classOf(e)==="null"}static isRegexp(e){return this.classOf(e)==="regexp"}static isError(e){return this.classOf(e)==="error"}static isMap(e){return this.classOf(e)==="map"}static isWeakMap(e){return this.classOf(e)==="weakmap"}static isSet(e){return this.classOf(e)==="set"}static isWeakSet(e){return this.classOf(e)==="weakset"}static isSymbol(e){return this.classOf(e)==="symbol"}static isBigInt(e){return this.classOf(e)==="bigint"}static isEmpty(e){return this.isMap(e)||this.isWeakMap(e)||this.isSet(e)||this.isWeakSet(e)?e.size()<=0:this.isArray(e)?e.length<=0:this.isObject(e)?Object.keys(e).length<=0:!0}static isEmptyArray(e){return e.length<=0}static isEmptyObject(e){return Object.keys(e).length<=0}static isSameType(e,i){return this.classOf(e)===this.classOf(i)}static isPrimitiveValue(e){return!this.isObject(e)&&!this.isArray(e)}static compareValues(e,i){return e===i?this.TYPE_UNCHANGED:this.isDate(e)&&this.isDate(i)&&e.getTime()===i.getTime()?this.TYPE_UNCHANGED:typeof e>"u"?this.TYPE_CREATED:typeof i>"u"?this.TYPE_DELETED:this.TYPE_UPDATED}static exec(e,i){return mDt(e,i)}static resetOutput(){this.exec2Output={}}static exec2(e,i,o=!1){return this.resetOutput(),hDt(e,i,"",o),this.exec2Output}};ho.TYPE_CREATED="CREATED",ho.TYPE_UPDATED="UPDATED",ho.TYPE_DELETED="DELETED",ho.TYPE_UNCHANGED="UNCHANGED",ho.KEY_TYPE="$$TYPE",ho.KEY_NEW_DATA="$$NEW_NEW_DATA",ho.KEY_OLD_DATA="$$NEW_OLD_DATA",ho.KEY_NEW_CLASSOF="$$KEY_NEW_CLASSOF",ho.KEY_OLD_CLASSOF="$$KEY_OLD_CLASSOF",ho.KEY_PATH="$$KEY_PATH",ho.exec2Output={};function mDt(t,e){let i={},o;if(ho.isFunction(t)||ho.isFunction(e))throw"Invalid argument. Function given, Object expected.";if(ho.isPrimitiveValue(t)||ho.isPrimitiveValue(e))return{[ho.KEY_TYPE]:ho.compareValues(t,e),[ho.KEY_NEW_DATA]:e||void 0,[ho.KEY_OLD_DATA]:t||void 0,[ho.KEY_NEW_CLASSOF]:ho.classOf(e),[ho.KEY_OLD_CLASSOF]:ho.classOf(t)};let r=!1;for(let n in t)ho.isFunction(t[n])||(o=void 0,typeof e[n]<"u"&&(o=e[n]),r=!0,i[n]=mDt(t[n],o));for(let n in e)ho.isFunction(e[n])||typeof i[n]<"u"||(r=!0,i[n]=mDt(void 0,e[n]));return r?(i[ho.KEY_TYPE]=ho.isSameType(t,e)?ho.TYPE_UNCHANGED:ho.TYPE_UPDATED,i[ho.KEY_NEW_CLASSOF]=ho.classOf(e),i[ho.KEY_OLD_CLASSOF]=ho.classOf(t),i):{[ho.KEY_TYPE]:ho.isSameType(t,e)?ho.TYPE_UNCHANGED:ho.TYPE_UPDATED,[ho.KEY_NEW_DATA]:e||void 0,[ho.KEY_OLD_DATA]:t||void 0,[ho.KEY_NEW_CLASSOF]:ho.classOf(e),[ho.KEY_OLD_CLASSOF]:ho.classOf(t)}}function hDt(t,e,i="",o=!1){let r={},n;if(ho.isFunction(t)||ho.isFunction(e))throw"Invalid argument. Function given, Object expected.";if(ho.isPrimitiveValue(t)||ho.isPrimitiveValue(e))return{[ho.KEY_TYPE]:ho.compareValues(t,e),[ho.KEY_NEW_DATA]:e||void 0,[ho.KEY_OLD_DATA]:t||void 0,[ho.KEY_NEW_CLASSOF]:ho.classOf(e),[ho.KEY_OLD_CLASSOF]:ho.classOf(t),[ho.KEY_PATH]:i};let a=!1,s=i;if(!o&&ho.isArray(t)&&ho.isArray(e))return t.length===1&&e.length===1&&t[0]===e[0]?{[ho.KEY_TYPE]:ho.TYPE_UNCHANGED,[ho.KEY_NEW_DATA]:e||void 0,[ho.KEY_OLD_DATA]:t||void 0,[ho.KEY_NEW_CLASSOF]:ho.classOf(e),[ho.KEY_OLD_CLASSOF]:ho.classOf(t),[ho.KEY_PATH]:i}:ho.isEmptyArray(t)&&ho.isEmptyArray(e)?{[ho.KEY_TYPE]:ho.TYPE_UNCHANGED,[ho.KEY_NEW_DATA]:e||void 0,[ho.KEY_OLD_DATA]:t||void 0,[ho.KEY_NEW_CLASSOF]:ho.classOf(e),[ho.KEY_OLD_CLASSOF]:ho.classOf(t),[ho.KEY_PATH]:i}:{[ho.KEY_TYPE]:ho.TYPE_UPDATED,[ho.KEY_NEW_DATA]:e||void 0,[ho.KEY_OLD_DATA]:t||void 0,[ho.KEY_NEW_CLASSOF]:ho.classOf(e),[ho.KEY_OLD_CLASSOF]:ho.classOf(t),[ho.KEY_PATH]:i};for(let l in t)ho.isFunction(t[l])||(n=void 0,typeof e[l]<"u"&&(n=e[l]),a=!0,s=i+"/"+l,r[l]=hDt(t[l],n,s,o),r[l][ho.KEY_PATH]&&(ho.exec2Output[r[l][ho.KEY_PATH]]=r[l]));for(let l in e)ho.isFunction(e[l])||typeof r[l]<"u"||(a=!0,s=i+"/"+l,r[l]=hDt(void 0,e[l],s,o),r[l][ho.KEY_PATH]&&(ho.exec2Output[r[l][ho.KEY_PATH]]=r[l]));return a?(r[ho.KEY_TYPE]=ho.isSameType(t,e)?ho.TYPE_UNCHANGED:ho.TYPE_UPDATED,r[ho.KEY_NEW_CLASSOF]=ho.classOf(e),r[ho.KEY_OLD_CLASSOF]=ho.classOf(t),r):{[ho.KEY_TYPE]:ho.isSameType(t,e)?ho.TYPE_UNCHANGED:ho.TYPE_UPDATED,[ho.KEY_NEW_DATA]:e||void 0,[ho.KEY_OLD_DATA]:t||void 0,[ho.KEY_NEW_CLASSOF]:ho.classOf(e),[ho.KEY_OLD_CLASSOF]:ho.classOf(t),[ho.KEY_PATH]:i}}var sY=L(z());async function UUi(t={}){let e={action:"cancel",data:t};return new Promise(async(i,o)=>{let r=()=>{let a=J();return(0,sY.jsxs)(sY.Fragment,{children:[(0,sY.jsx)(Me,{type:"primary",size:"md",onClick:()=>{le.destroy(n),e.action="save",i(e)},children:"Save"}),(0,sY.jsx)(Me,{type:"primary",size:"md",onClick:()=>{le.destroy(n),e.action="no_save",i(e)},children:"Do not save"}),(0,sY.jsx)(Me,{size:"md",onClick:()=>{le.destroy(n),e.action="cancel",i(e)},children:"Cancel"})]})},n=(await C.messageBus.rpcCall("messageSync",{type:"confirm",title:me.i18n("Confirm"),isHtml:!0,message:me.i18n("Whether to save current page configuration?"),footer:(0,sY.jsx)(r,{}),closable:!0})).message})}function fDt(t,e,i,o){let r=[];for(let n=0;n<t.length;n++){let a=Ft(e,"id",t[n]);if(a.index>=0){let s=a.data;r.push(async()=>await sn.updateCategoriesBatch([{uuid:s.id,name:s.title,parent_uuid:s.parentId,user_uuid:i,type:o,order_no:++n}]))}}return r}async function HUi(t){let e=new gDt(t);return await e.initial(),e}var gDt=class extends js{constructor(i){super();this.allDataForSearch=[];this.frameStore=i,this._cache={},this._tabs=[],this._libStore=new WWe,this._levelOneStore=new hMe(i,this,"LEVEL_ONE"),this._levelTwoStore=new hMe(i,this,"LEVEL_TWO"),this._activeTabId=void 0,this._fetchCategoryListRequestId=void 0,this._fetchCategoryListCache=null,this._hasChanged=!1,this._usrAction="NONE",this._canEdit=!0,this._canDelete=!0}async initial(){this.storage=ue.deepClone(vr.get("SYSTEM")),this.tabs=JSON.parse(JSON.stringify(pDt(this.storage.symbolLibManage.value==="2"))),this.activeTabId=this.tabs[0].key,this.getAllDataForSearch()}async getAllDataForSearch(){await Ro(this.tabs,async(i,o,r)=>{let n=[],a=fyi(o.key),s=await iI(!1,a,"");await Ro(s,async(l,c,d)=>{let u=[],p=c.id,m=await sn.fetchCategoryList(p,p,[xje(o.key)],void 0,!1,h=>{this._fetchCategoryListRequestId=h});if(m.result){let{treeData:h}=m.result;u=ue.deepClone(h)}n.push({key:c.id,title:c.title,children:u})}),this.allDataForSearch.push({key:o.key,title:o.title,children:n})})}get activeTabId(){return this._activeTabId}set activeTabId(i){this._activeTabId=i,this.notify()}get tabs(){return this._tabs}set tabs(i){this._tabs=i}get libStore(){return this._libStore}get levelOneStore(){return this._levelOneStore}get levelTwoStore(){return this._levelTwoStore}get cache(){return this._cache}get hasChanged(){return this._hasChanged}set hasChanged(i){this._hasChanged=i}get usrAction(){return this._usrAction}set usrAction(i){this._usrAction=i}get canEdit(){return this._canEdit}set canEdit(i){this._canEdit=i}get canDelete(){return this._canDelete}set canDelete(i){this._canDelete=i}async refreshTabs(){let i=Wi("SYSTEM","symbolLibManage");this.tabs=JSON.parse(JSON.stringify(pDt(i==="2"))),this.activeTabId=this.tabs[0].key}async whenComponentMouned(i={}){await this.refreshTabs(),i.initCategoryActiveTab&&(this.activeTabId=i.initCategoryActiveTab),i.initCategoryActiveLibId&&(this.libStore.selectedIds=[i.initCategoryActiveLibId]),await this.whenTabItemSelected(this.activeTabId)}async whenRefreshBtnClicked(){this.hasChanged&&await this.confirmToJump()===!1||(this.levelOneStore.list=[],this.levelOneStore.selectedRowNumbers=[],this.levelOneStore.hasChangedOrder=!1,this.levelTwoStore.list=[],this.levelTwoStore.selectedRowNumbers=[],this.levelTwoStore.hasChangedOrder=!1,await this.whenLibItemSelected(this.libStore.selectedIds[0]))}async whenTabItemSwitch(){return this.hasChanged?await this.confirmToJump()!==!1:!0}async refreshLibList(){await uj(C.workspace),await NT(),this.whenTabItemSelected(this.activeTabId)}async whenTabItemSelected(i){if(this.hasChanged)return;this.activeTabId=i,this.levelOneStore.list=[],this.levelOneStore.selectedRowNumbers=[],this.levelOneStore.hasChangedOrder=!1,this.levelTwoStore.list=[],this.levelTwoStore.selectedRowNumbers=[],this.levelTwoStore.hasChangedOrder=!1;let o=Hs.Normal;i==="D3Model"&&(o=Hs.D3Model),await this.libStore.updateLibList(o);let n=this.libStore.initalLibList.map(a=>a.id).includes(this.libStore.selectedIds[0])?this.libStore.selectedIds[0]:this.libStore.initalLibList[0].id;await this.whenLibItemSelected(n)}async whenLibItemSelected(i,o=!0){if(this.hasChanged&&await this.confirmToJump()===!1){window.setTimeout(()=>{this.libStore.selectedIds=[...this.libStore.selectedIds]});return}C.teams.some(a=>a.uuid==i)?(this.canEdit=await jv(i,Yr.Team_Category_Edit,void 0),this.canDelete=await jv(i,Yr.Team_Category_Delete,void 0)):(this.canEdit=!0,this.canDelete=!0);let r=i&&i.split(_e.LIB_SPLIT_TAG)[0];this.libStore.selectedIds=[i],o&&(this.levelOneStore.list=[],this.levelTwoStore.list=[]),this.levelOneStore.addBtnDisabled=!0,this.levelOneStore.delBtnDisabled=!0,this.levelOneStore.upMoveBtnDisabled=!0,this.levelOneStore.downMoveBtnDisabled=!0,this.levelOneStore.selectedRowNumbers=[],this.levelTwoStore.addBtnDisabled=!0,this.levelTwoStore.delBtnDisabled=!0,this.levelTwoStore.upMoveBtnDisabled=!0,this.levelTwoStore.downMoveBtnDisabled=!0,this.levelTwoStore.selectedRowNumbers=[];let n=await sn.fetchCategoryList(r,r,[xje(this.activeTabId)],void 0,!1,a=>{this._fetchCategoryListRequestId=a});n.result&&(this._fetchCategoryListCache=n.result,this.writeTreeData2Map(this._fetchCategoryListCache.treeData,(this.cache.eachSavedCategorys={},this.cache.eachSavedCategorys)),this.levelOneStore.list=this.levelOneStore.initList(this._fetchCategoryListCache.treeData,void 0),this.levelOneStore.selectedRowNumbers=[0],this.levelOneStore.addBtnDisabled=!1,this.levelOneStore.whenListRowItemSinglyClicked([this.levelOneStore.selectedRowNumbers[0]]))}whenListRowItemClicked(i,o){if(o!=="LEVEL_ONE")return;if(i===null){this.levelTwoStore.setAllBtnDisabled();return}let r=Ft(this._fetchCategoryListCache.treeData,"id",i);if(!r.data)return;let n=r.data.children||[],a=this.levelOneStore.list.findIndex(s=>s.id===i);a>=0&&(this.levelOneStore.selectedRowNumbers=[a]),this.levelTwoStore.categoryParentId=i,this.levelTwoStore.list=this.levelTwoStore.initList(n,i),this.levelTwoStore.selectedRowNumbers=[0],this.levelTwoStore.whenListRowItemSinglyClicked([this.levelTwoStore.selectedRowNumbers[0]]),this.levelTwoStore.addBtnDisabled=!1}whenRowInputConfirmUpdated(i,o,r,n){if(this._fetchCategoryListCache)switch(i){case"EDIT":{let a=[];r?a=Ft(this._fetchCategoryListCache.treeData,"id",r).data.children:a=this._fetchCategoryListCache.treeData;let s=Ft(a,"id",o);s.data.titleAdditional=s.data.title=n.title,this.hasChanged=!!n.hasChanged,this.hasChanged&&(this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"CATEGORY"])),this.addChangedTags();return}case"ADD":{let a=[],s=!1;r?a=Ft(this._fetchCategoryListCache.treeData,"id",r).data.children:(a=this._fetchCategoryListCache.treeData,s=!0),a.push({title:n.title,id:o,order_no:n.order_no,children:[],parentId:r,isNew:n.isNew}),this.hasChanged=!0,this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"CATEGORY"]),this.addChangedTags(),s?(this.levelOneStore.whenListRowItemDoublyClicked(this.levelOneStore.list.length-1),BC.excitationRowIndex=this.levelOneStore.list.length-1,BC.excitationColKey="title"):(this.levelTwoStore.whenListRowItemDoublyClicked(this.levelTwoStore.list.length-1),BC.excitationRowIndex=this.levelTwoStore.list.length-1,BC.excitationColKey="title");return}case"DELETE":{let a=[],s=!1;r?a=Ft(this._fetchCategoryListCache.treeData,"id",r).data.children:(a=this._fetchCategoryListCache.treeData,s=!0);let l=Ft(a,"id",o);a.splice(l.index,1),s&&(l.data.children=[],this.levelTwoStore.list=[],this.levelTwoStore.selectedRowNumbers=[]),this.hasChanged=!0,this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"CATEGORY"]),this.addChangedTags();return}case"UP_MOVE":{let a=[];r?a=Ft(this._fetchCategoryListCache.treeData,"id",r).data.children:a=this._fetchCategoryListCache.treeData;let s=Ft(a,"id",o),l=Ft(a,"id",n.prevId),c=s.data.order_no||"0",d=l.data.order_no||"0";a[s.index]=a[s.index-1],a[s.index-1]=s.data,a[s.index].order_no=c,a[s.index-1].order_no=d,this.hasChanged=!0,this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"CATEGORY"]),this.addChangedTags();return}case"DOWN_MOVE":{let a=[];r?a=Ft(this._fetchCategoryListCache.treeData,"id",r).data.children:a=this._fetchCategoryListCache.treeData;let s=Ft(a,"id",o),l=Ft(a,"id",n.nextId),c=s.data.order_no||"0",d=l.data.order_no||"0";a[s.index]=a[s.index+1],a[s.index+1]=s.data,a[s.index].order_no=c,a[s.index+1].order_no=d,this.hasChanged=!0,this.frameStore.waitForSaveTagsSet=new Set([...this.frameStore.waitForSaveTagsSet,"CATEGORY"]),this.addChangedTags();return}}}whenAttrUpdate(i,o){}async restore(i){}setUsrAction(i){this.usrAction=i}async submitData(){if(!this._fetchCategoryListCache)return;let i=this.levelOneStore.hasChangedOrder,o=this.levelTwoStore.hasChangedOrder,r=!1;if(this.checkDuplicateTitle(this._fetchCategoryListCache.treeData,(E,N,R)=>{if(r=!0,typeof R<"u"){this.levelOneStore.selectedRowNumbers=[R],this.levelTwoStore.selectedRowNumbers=[N];return}this.levelOneStore.selectedRowNumbers=[N],this.levelTwoStore.selectedRowNumbers=[0]}),r)throw C.messageBus.publish("SWITCH_MENU_SELECTED","CATEGORY"),De({type:"error",msg:me.i18n("has duplicate values")}),{msg:"Duplicate name exists!"};let n=[xje(this.activeTabId)],a=this.libStore.selectedIds[0];if(!a)throw{msg:"System error!"};let s=a&&a.split(_e.LIB_SPLIT_TAG)[0],l=this.cache.eachSavedCategorys,c={};this.writeTreeData2Map(this._fetchCategoryListCache.treeData,c);let d=ho.exec(l,c),u=[],p=[],m=[],h=[],f=[],g=[],b=Object.keys(d);for(let E=0;E<b.length;E++){let N=b[E],R=d[N];if(typeof R!="object")continue;if(R[ho.KEY_TYPE]===ho.TYPE_DELETED){let G=R[ho.KEY_OLD_DATA];if(typeof G.parentId<"u"){h.push({uuid:G.id,user_uuid:s});continue}m.push({uuid:G.id,user_uuid:s});continue}if(R[ho.KEY_TYPE]===ho.TYPE_CREATED){let G=R[ho.KEY_NEW_DATA];if(typeof G.parentId<"u"){p.push({uuid:G.id,name:G.title,parent_uuid:G.parentId,user_uuid:s,type:n,order_no:G.order_no});continue}u.push({uuid:G.id,name:G.title,parent_uuid:void 0,user_uuid:s,type:n,order_no:G.order_no});continue}let v=R.title,k=R.id,P=R.parentId,O=R.order_no;if(!v||!k||!P||!O)continue;let _=v[ho.KEY_NEW_DATA],j=k[ho.KEY_NEW_DATA],B=P[ho.KEY_NEW_DATA],V=O[ho.KEY_NEW_DATA];if(v[ho.KEY_TYPE]===ho.TYPE_UPDATED||O[ho.KEY_TYPE]===ho.TYPE_UPDATED){if(typeof B<"u"){g.push({uuid:j,name:_,parent_uuid:B,user_uuid:s,type:n,order_no:V});continue}f.push({uuid:j,name:_,parent_uuid:void 0,user_uuid:s,type:n,order_no:V});continue}}let y=[].concat(f,g),w=await sn.addCategoriesBatch(u,(E,N)=>{u[N].__remoteId=E.result.uuid});for(let E=0;E<p.length;E++){let N=Ft(u,"uuid",p[E].parent_uuid);N.index>=0&&N.data.__remoteId&&(p[E].parent_uuid=N.data.__remoteId)}let x=await sn.addCategoriesBatch(p),S=await sn.deleteCategoriesBatch(h),T=await sn.deleteCategoriesBatch(m),M=await sn.updateCategoriesBatch(y);this.tipMessage(x,S,T,M),this.hasChanged=!1;let I=this.levelOneStore.list.map(E=>String(E.id)),A=this.levelTwoStore.list.map(E=>String(E.id)),D=[];i&&(D=[].concat(D,fDt(I,this.levelOneStore.list,s,n))),o&&(D=[].concat(D,fDt(A,this.levelTwoStore.list,s,n))),await Promise.all(D),await this.whenLibItemSelected(this.libStore.selectedIds[0],!1)}tipMessage(i,o,r,n){let a={create:[],delete:[]};i.result.failList.length&&N2.addAll(a.create,i.result.failList),o.result.failList.length&&N2.addAll(a.delete,o.result.failList),r.result.failList.length&&N2.addAll(a.delete,r.result.failList),n.result.failList.length&&N2.addAll(a.create,n.result.failList);let s=new Set;for(let l in a){let c=a[l];if(c.length)for(let d of c)d.message.includes(me.i18n("Permission denied"))&&(l=="create"?s.add(me.i18n("Add/Edit Category")):l=="delete"&&s.add(me.i18n("Delete Category")))}s.forEach(l=>{De({type:"error",msg:me.i18n("No {0} permission,please contact team manager",{0:l}),timer:3})})}writeTreeData2Map(i,o={}){for(let r=0;r<i.length;r++)i[r].children&&i[r].children.length&&this.writeTreeData2Map(i[r].children,o),o[i[r].id]={...i[r]}}checkDuplicateTitle(i,o,r=void 0){let n={};for(let a=0;a<i.length;a++){if(i[a].children&&i[a].children.length&&this.checkDuplicateTitle(i[a].children,o,a),typeof n[i[a].title]<"u"){o(i[a],n[i[a].title],r);break}n[i[a].title]=a}}async confirmToJump(){let i=await UUi();if(i.action==="save"){try{this.frameStore.setBottomBtnSubmiting(),await this.submitData()}catch(o){o.msg||Dt({icon:"error",closed:!0,content:me.i18n("System error!")})}return this.hasChanged=!1,this.frameStore.waitForSaveTagsSet=new Set([]),this.frameStore.setBottomBtnSubmited(),!0}return i.action==="no_save"?(this.hasChanged=!1,this.frameStore.waitForSaveTagsSet=new Set([]),!0):!1}addChangedTags(){this.frameStore.changeModules.has("CATEGORY")||this.frameStore.changeModules.add("CATEGORY")}clearChangedTags(){this.frameStore.changeModules.has("CATEGORY")&&this.frameStore.changeModules.delete("CATEGORY")}},gul=(0,VUi.createContext)(void 0);var GUi=L(Vi()),qIr={async:!0,cache:!0,contentType:"application/x-www-form-urlencoded",dataType:"json",ifModified:!1,jsonp:null,jsonpCallback:null,timeout:6e4,type:"get",url:"http://127.0.0.1/"};function Hq(t={}){this.$options={...qIr,...t},this.$profile={isCallSend:!1,isAbort:!1,isSended:!1},this._afterSendCallbacks=[],this._abortCallbacks=[],this._successCallbacks=[],this._completeCallbacks=[],this._failCallbacks=[],this._errorCallbacks=[]}Hq.prototype.send=function(t=new Function){let e=this;return e.isCallSend=e.isAbort=e.isSended=!1,e.isCallSend?e:(e.isCallSend=!0,window.setTimeout(()=>{try{typeof t=="function"&&t(e.$options)===!1&&(e.isAbort=!0),GUi.default.ajax({...e.$options,beforeSend(i){e.isAbort&&(i.abort(),e._abortCallbacks.forEach((o,r)=>{o(e.$options)}),e._abortCallbacks=[])},success(i,o){e.isSended=!0,e._successCallbacks.forEach((r,n)=>{r(i,o)}),e._successCallbacks=[],e.isCallSend=!1},error(i,o){e._failCallbacks.forEach((r,n)=>{r(i)}),e._failCallbacks=[],e.isCallSend=!1},complete(i){e._completeCallbacks.forEach((o,r)=>{o(i)}),e._completeCallbacks=[],e.isCallSend=!1}}),e.isAbort||(e._afterSendCallbacks.forEach((i,o)=>{i(e.$options)}),e._afterSendCallbacks=[])}catch(i){e._errorCallbacks.length||console.warn(i),e._errorCallbacks.forEach((o,r)=>{o(i)}),e._errorCallbacks=[],e.isCallSend=!1}}),this)};Hq.prototype.afterSend=function(t=new Function){return typeof t=="function"&&this._afterSendCallbacks.push(t),this};Hq.prototype.abort=function(t=new Function){return typeof t=="function"&&this._abortCallbacks.push(t),this};Hq.prototype.error=function(t=new Function){return typeof t=="function"&&this._errorCallbacks.push(t),this};Hq.prototype.complete=function(t=new Function){return this._completeCallbacks.push(t),this};Hq.prototype.success=function(t=new Function){return this._successCallbacks.push(t),this};Hq.prototype.fail=function(t=new Function){return this._failCallbacks.push(t),this};function bDt(t={}){return new Hq(t)}function XIr(t){var n,a;let e="sheetConfig",i="serviceConfig",o="isSCHDragNetnameModeConfigured",r="dragNetnameDefaultValue";t[e]=mt.getKeyValue(e),t[i]=mt.getKeyValue(i),t[o]=((n=C.profileSetting)==null?void 0:n[o])||mt.getKeyValue(o),t[r]=((a=C.profileSetting)==null?void 0:a[r])||mt.getKeyValue(r)}function $Ir(t){let e={};return e.preferences=JSON.stringify(t),e}async function Ene(t){let e=JSON.parse(JSON.stringify(t)),i=Zhe(e),o=mt.getParsedPreferences();o.commSystemSetting=i,XIr(o),o.version=au.getCurrentVersion();let r=await $Ir(o),n={data:r,url:C.apis.others.preference,type:"post"};return new Promise((a,s)=>{bDt(n).send().success((l,c)=>{if(l&&String(l.code)==="0"&&l.success){a({...r});return}s(!1)}).fail(l=>{s(!1)})})}async function QWe(){let t=await Bhi(),e=await JFi(t),i=await XFi(t),o=await eUi(t),r=await HUi(t),n=await iUi(t),a=await nUi(t),s=await sUi(t),l=await cUi(t),c=await uUi(t),d=await mUi(t),u=await fUi(t),p=await bUi(t),m=await wUi(t),h=await SUi(t),f=await LUi(t),g=await EUi(t),b=await NUi(t),y=await PUi(t),w=await OUi(t),x=await _Ui(t),S=await BUi(t),T=await FUi(t);return{frameStore:t,adsorptionAppStore:e,baseLibraryStore:i,canvasAppStore:o,categoryAppStore:r,clientAppStore:n,commTypefaceAppStore:a,customToolBarAppStore:s,designAppStore:l,hotkeyAppStore:c,languageAppStore:d,objectAppStore:u,panelCanvasAppStore:p,panelThemeAppStore:m,pcbCommGridSizeAppStore:h,pcbCommTrackWidthAppStore:f,pcbCommViaSizeAppStore:g,pcbFootprintAppStore:b,pcbThemeAppStore:y,propertyAppStore:x,saveAppStore:S,systemAppStore:T,pcbShowAppStore:w}}async function fMe(t){try{await t.categoryAppStore.submitData(),await t.adsorptionAppStore.submitData(),await t.baseLibraryStore.submitData(),await t.canvasAppStore.submitData(),await t.clientAppStore.submitData(),await t.commTypefaceAppStore.submitData(),await t.customToolBarAppStore.submitData(),await t.designAppStore.submitData(),await t.hotkeyAppStore.submitData(),await t.languageAppStore.submitData(),await t.objectAppStore.submitData(),await t.panelCanvasAppStore.submitData(),await t.panelThemeAppStore.submitData(),await t.pcbCommGridSizeAppStore.submitData(),await t.pcbCommTrackWidthAppStore.submitData(),await t.pcbCommViaSizeAppStore.submitData(),await t.pcbFootprintAppStore.submitData(),await t.pcbThemeAppStore.submitData(),await t.propertyAppStore.submitData(),await t.saveAppStore.submitData(),await t.systemAppStore.submitData(),await t.pcbShowAppStore.submitData();let e=[...vr.entries()].reduce((o,[r,n])=>(o[r]=n,o),{}),i=await Ene(e);return i||(Dt({icon:"error",closed:!0,content:me.i18n("Save failed!")}),!1)}catch(e){e.msg||Dt({icon:"error",closed:!0,content:me.i18n("System error!")}),console.error("error synchronizing data to remote and local storage.",e)}return!1}async function KWe(t,e){switch(t){case"SYSTEM_GENERAL":{await e.systemAppStore.restore(cu);break}case"CATEGORY":break;case"BASE_LIBRARY":break;case"CANVAS_GENERAL":{await e.canvasAppStore.restore(cu);break}case"OBJECT":{await e.objectAppStore.restore(cu);break}case"PCB_FOOTPRINT_GENERAL":{await e.pcbFootprintAppStore.restore(cu);break}case"PCB_THEME":{await e.pcbThemeAppStore.restore(cu);break}case"PCB_COMM_GRID_SIZE":{await e.pcbCommGridSizeAppStore.restore(cu);break}case"PCB_COMM_TRACK_WIDTH":{await e.pcbCommTrackWidthAppStore.restore(cu);break}case"PCB_COMM_VIA_SIZE":{await e.pcbCommViaSizeAppStore.restore(cu);break}case"ADSORPTION":{await e.adsorptionAppStore.restore(cu);break}case"PANEL_CANVAS_GENERAL":{await e.panelCanvasAppStore.restore(cu);break}case"PANEL_THEME":{await e.panelThemeAppStore.restore(cu);break}case"COMM_TYPEFACE":{await e.commTypefaceAppStore.restore(cu);break}case"DESIGN":{await e.designAppStore.restore(cu);break}case"PROPERTY":{await e.propertyAppStore.restore(cu);break}case"HOTKEY":{await e.hotkeyAppStore.restore(cu);break}case"LANGUAGE":{await e.languageAppStore.restore(cu);break}case"CUSTOM_TOOLBAR":{await e.customToolBarAppStore.restore(cu);break}case"SAVE":{await e.saveAppStore.restore(cu);break}case"PCB_SHOW":{await e.pcbShowAppStore.restore(cu);break}default:}}async function ZWe(t){return{SYSTEM:t.systemAppStore.storage,CANVAS:t.canvasAppStore.storage,OBJECT:t.objectAppStore.storage,PCB_FOOTPRINT:Object.assign({},t.pcbFootprintAppStore.storage,t.pcbShowAppStore.otherStorage),PCB_THEME:t.pcbThemeAppStore.storage,PCB_COMM_GRID_SIZE:t.pcbCommGridSizeAppStore.storage,PCB_COMM_TRACK_WIDTH:t.pcbCommTrackWidthAppStore.storage,PCB_COMM_VIA_SIZE:t.pcbCommViaSizeAppStore.storage,ADSORPTION:t.adsorptionAppStore.storage,PANEL_CANVAS:t.panelCanvasAppStore.storage,PANEL_THEME:t.panelThemeAppStore.storage,COMM_TYPEFACE:t.commTypefaceAppStore.storage,DESIGN:t.designAppStore.storage,PROPERTY:t.propertyAppStore.storage,HOTKEY:t.hotkeyAppStore.storage,CUSTOM_TOOLBAR:t.customToolBarAppStore.storage,SAVE:t.saveAppStore.storage,PCB_SHOW:t.pcbShowAppStore.storage,...t.baseLibraryStore.storage}}async function YUi(t,e){await e.systemAppStore.restore(t),await e.canvasAppStore.restore(t),await e.objectAppStore.restore(t),await e.pcbFootprintAppStore.restore(t),await e.pcbThemeAppStore.restore(t),await e.pcbCommGridSizeAppStore.restore(t),await e.pcbCommTrackWidthAppStore.restore(t),await e.pcbCommViaSizeAppStore.restore(t),await e.adsorptionAppStore.restore(t),await e.panelCanvasAppStore.restore(t),await e.panelThemeAppStore.restore(t),await e.commTypefaceAppStore.restore(t),await e.designAppStore.restore(t),await e.propertyAppStore.restore(t,!0),await e.hotkeyAppStore.restore2(t),await e.languageAppStore.restore(t),await e.customToolBarAppStore.restore(t),await e.languageAppStore.restore(t),await e.customToolBarAppStore.restore(t),await e.saveAppStore.restore(t),await e.clientAppStore.restore(t),await e.baseLibraryStore.restore(t),await e.pcbShowAppStore.restore(t)}function yDt(t){t.systemAppStore.clearChangedTags(),t.canvasAppStore.clearChangedTags(),t.objectAppStore.clearChangedTags(),t.pcbFootprintAppStore.clearChangedTags(),t.pcbThemeAppStore.clearChangedTags(),t.pcbCommGridSizeAppStore.clearChangedTags(),t.pcbCommTrackWidthAppStore.clearChangedTags(),t.pcbCommViaSizeAppStore.clearChangedTags(),t.adsorptionAppStore.clearChangedTags(),t.panelCanvasAppStore.clearChangedTags(),t.panelThemeAppStore.clearChangedTags(),t.commTypefaceAppStore.clearChangedTags(),t.designAppStore.clearChangedTags(),t.propertyAppStore.clearChangedTags(),t.hotkeyAppStore.clearChangedTags(),t.languageAppStore.clearChangedTags(),t.customToolBarAppStore.clearChangedTags(),t.languageAppStore.clearChangedTags(),t.customToolBarAppStore.clearChangedTags(),t.saveAppStore.clearChangedTags(),t.clientAppStore.clearChangedTags(),t.pcbShowAppStore.clearChangedTags()}async function WUi(t){let e=await ZWe(t),i=(await C.messageBus.rpcCall("sch/getSheetConfig",!1)).message,o=Zhe(e);o.version=au.getCurrentVersion(),i&&i.device_uuid&&(o.DESIGN=i);let r=ue.deepClone(o);ya(JSON.stringify(r,null,2),"Config_SystemSetting_"+ue.formatDate2(new Date,"yyyy-MM-dd")+".json")}async function QUi(t,e){let i=await ZWe(e),o=t.version;delete t.version;let r=lY(qN(),t,o),n=[],a=Wue.canvasColorTheme.map(s=>s.name);Object.keys(i).forEach((s,l)=>{i[s]=r[s]}),r.DESIGN&&(r.DESIGN.import=!0),r.PCB_THEME&&(r.PCB_THEME.canvasColorTheme.forEach((s,l)=>{a.indexOf(s.name)<=-1&&(n.push(s),r.PCB_THEME.canvasColorTheme.splice(l,1))}),typeof r.PCB_THEME.activeTab<"u"&&delete r.PCB_THEME.activeTab),await YUi(i,e)}var XN=L(z()),{locals:JWe}=wDt.default,tLr=t=>{Ae(wDt.default);let e=J(),{containerId:i,dialogId:o,menuSelected:r,initCategoryActiveTab:n="Device",initCategoryActiveLibId:a=void 0,scrollTo:s="",onDialogOpen:l,onDialogCancel:c,onDialogClose:d,onDialogConfirm:u,onDialogApply:p,onBeforeSend:m,onAfterSend:h,onDialogClosed:f}=t,[g,b]=(0,qWe.useState)(null),y=`pop-footer-wrapper ${JWe["dialog-btns-wrapper"]}`,w=`${JWe["view-loading-wrapper"]}`,x=`${JWe["view-loading"]}`,S=`rotation ${JWe["view-loading-rotation"]}`,T=async I=>{let A=Array.from(g.frameStore.changeModules),D=Array.from(g.frameStore.waitForSaveTagsSet);if(I==="import"){let E=document.createElement("div"),N="SYSTEM_SETTING_DIALOG_FS_"+Mt();E.id=N,E.setAttribute("id",N),document.body.appendChild(E),zA((0,KUi.default)(`#${N}`),async R=>{document.body.removeChild(document.getElementById(N)),await QUi(R,g)});return}if(I==="export"){await WUi(g);return}if(I==="restore"){Dt({icon:"warning",title:"Warning",closed:!0,showCancel:!0,confirmText:"Yes",cancelText:"No",content:"Are you sure you want to restore the configuration of the current page to the default state?",async onConfirm(){await KWe(g.frameStore.menuId,g)},onCancel(){}});return}if(I==="apply"){let E=[...vr.entries()].reduce((R,[v,k])=>(R[v]=k,R),{});g.frameStore.waitForSaveTagsSet.has("SAVE")&&await Ane(g.saveAppStore.getConfig(),!0),C.messageBus.publish("PREFERENCE_BEFORESEND",{action:"apply",commSystemSetting:E,nowMenuSelected:g.frameStore.menuId});let N;if(m){let R={action:"apply",commSystemSetting:E,nowMenuSelected:g.frameStore.menuId};N=await m(R)}if(N===!1)return;g.frameStore.setBottomBtnSubmiting(),window.setTimeout(async()=>{let R=await fMe(g);if(!R){g.frameStore.setBottomBtnSubmited();return}if(C.messageBus.publish("PREFERENCE_AFTERSEND",{action:"apply",result:R,nowMenuSelected:g.frameStore.menuId,changeModules:A}),p){let v={action:"apply",nowMenuSelected:g.frameStore.menuId,changeModules:A};await p(v)}if(h){let v={action:"apply",result:R,nowMenuSelected:g.frameStore.menuId,changeModules:A,waitForSaveTags:D};await h(v)}g.frameStore.waitForSaveTagsSet=new Set,g.frameStore.setBottomBtnSubmited(),g.canvasAppStore.tryOpenProjectSetting(),yDt(g),ms.setThemePreference(aZ(g.systemAppStore.storage.themePreference))});return}if(I==="confirm"){let E=[...vr.entries()].reduce((R,[v,k])=>(R[v]=k,R),{});g.frameStore.waitForSaveTagsSet.has("SAVE")&&await Ane(g.saveAppStore.getConfig(),!0),C.messageBus.publish("PREFERENCE_BEFORESEND",{action:"confirm",commSystemSetting:E,nowMenuSelected:g.frameStore.menuId});let N;if(m){let R={action:"confirm",commSystemSetting:E,nowMenuSelected:g.frameStore.menuId,changeModules:A};N=await m(R)}if(N===!1)return;g.frameStore.setBottomBtnSubmiting(),window.setTimeout(async()=>{let R=await fMe(g);if(!R){g.frameStore.setBottomBtnSubmited();return}if(C.messageBus.publish("PREFERENCE_AFTERSEND",{action:"confirm",result:R,nowMenuSelected:g.frameStore.menuId,changeModules:A}),u){let v={action:"confirm",nowMenuSelected:g.frameStore.menuId,changeModules:A};await u(v)}if(h){let v={action:"confirm",result:R,nowMenuSelected:g.frameStore.menuId,changeModules:A,waitForSaveTags:D};await h(v)}g.frameStore.waitForSaveTagsSet=new Set,g.frameStore.setBottomBtnSubmited(),g.canvasAppStore.tryOpenProjectSetting(),yDt(g),ms.setThemePreference(aZ(g.systemAppStore.storage.themePreference)),d&&d(),setTimeout(()=>{le.close(i)})});return}I==="cancel"&&c&&c(),await oo({action:I,dialogId:o,formData:{}}),d&&d(),le.close()};if((0,qWe.useLayoutEffect)(()=>(QWe().then(I=>{b(I),I.frameStore.whenDialogMounted(s),l&&l()}),()=>{f&&f()}),[]),!g)return(0,XN.jsx)("div",{className:"pop-content-container",children:(0,XN.jsx)("div",{className:w,children:(0,XN.jsx)("div",{className:x,children:(0,XN.jsx)("div",{className:S,children:(0,XN.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})});let M={...g,menuSelected:r,initCategoryActiveTab:n,initCategoryActiveLibId:a};return(0,XN.jsx)("div",{className:"pop-content-container",children:(0,XN.jsxs)(Ea.Provider,{value:g,children:[(0,XN.jsx)(QFi,{...M}),(0,XN.jsx)("div",{className:y,children:(0,XN.jsx)(KFi,{handleBtnEvent:T})})]})})},ZUi=tLr;var XUi=L(z());async function JUi(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;return le.open({id:o,title:r,width:n,closed:a,esc:!0,folded:!1,children:(0,XUi.jsx)(ZUi,{containerId:o,dialogId:t.dialogId,...t})}),le}async function qUi(t){return await ii("systemSettingManager",{...t})}var XWe={content:cu};async function CDt(){let t=(C.profileSetting||ks).commSystemSetting||ks,e=JSON.parse(JSON.stringify(t));Object.keys(XWe.content).forEach((o,r)=>{e[o]&&!e[o].value&&(e[o].value=XWe.content[o].value),e[o]===void 0&&(e[o]=JSON.parse(JSON.stringify(XWe.content[o])))});let i=JSON.parse(JSON.stringify(XWe));return e}async function eQe(){await tQe(qN())}async function tQe(t){C.profileSetting||(C.profileSetting=mt.getParsedPreferences()),BU(t),mt.setCacheObj("commSystemSetting",sc());let e=d0();await mt.settingApply(hn()),await DZ(e)}function eVi(t){let e=lY(qN(),t.commSystemSetting,t.version);tQe(e)}var gMe=null,$We=null;async function tVi(t,e){mt.setCacheObj("commSystemSetting",t.commSystemSetting);let i=lY(qN(),t.commSystemSetting,t.version);if(C.profileSetting=t,BU(i),e!=null&&e.includes("PROPERTY")&&(C.messageBus.publish("systemSettingPropertyUpdate"),C.userPropertyKeys=e_e()),e!=null&&e.includes("PROPERTY")&&await C.messageBus.publish("setCustomTableHeadDataAgain"),e!=null&&e.includes("PANEL_CANVAS_GENERAL")&&[se.PANEL,se.PANEL_LIB].includes(dt())){let a=i.PANEL_CANVAS.gridStyle.value,s={"attr-canvas-grid-style":a,"attr-canvas-grid-visible":a=="not"?"none":"yes"},l=`icon-eda-grid-${a}`;Ai.setGridStyleValue(l),C.messageBus.publish("modifyCanvas",{data:s});let c=he.getActiveTab();LC.getItem(c).canvasGridStyleStore.setValue(l)}let o=d0();await DZ(o);function r(){$We!=null&&clearTimeout($We),$We=setTimeout(()=>{$We=null,gMe!=null?r():(C.interruptBasePreviewImage=!1,gMe=n())},50)}(e!=null&&e.includes("BASE_LIBRARY")||e!=null&&e.includes("OBJECT")||e!=null&&e.includes("PCB_THEME"))&&(gMe!=null?(C.interruptBasePreviewImage=!0,r()):(C.interruptBasePreviewImage=!1,gMe=n()));function n(){return setTimeout(async()=>{e!=null&&e.includes("BASE_LIBRARY")||e!=null&&e.includes("OBJECT")&&(e!=null&&e.includes("PCB_THEME"))?await hc.updateAllLibraryData(!1,!0):e!=null&&e.includes("OBJECT")?await hc.updateImages("sch"):e!=null&&e.includes("PCB_THEME")&&await hc.updateImages("pcb"),gMe=null},50)}}async function qFe(t){await mt.savePreference("commSystemSetting",t.commSystemSetting,!1),await tVi(t)}async function DZ(t){let e="updateSystemConfig";C.messageBus.publish("/pcb/3d/model/updateSystemConfig",t),C.messageBus.publish("updateSystemConfig",t),Array.from((0,$Ui.default)("[blankiframe]")).map(o=>{C.windowBridge.publish(e,t,o.contentWindow)});let i=he.getAllTabId();for(let o of i)Ca(e,t,o)}function iLr(t){let{list:e}=t;(e.PROPERTY.isModify||e.SYSTEM.isModify)&&C.messageBus.publish("updateAttrPanel")}async function Qc(t={},e=new Function){let i=await CDt();vr.clear(),Object.keys(i).forEach(o=>{vr.set(o,i[o])}),qUi({menuSelected:t.menuSelected||void 0,initCategoryActiveTab:t.initCategoryActiveTab||"Device",initCategoryActiveLibId:t.initCategoryActiveLibId||void 0,scrollTo:t.scrollTo||"",async onDialogConfirm(o){e&&e(o)},async onDialogApply(o){e&&e(o)},async onBeforeSend(o){e&&e(o)},async onAfterSend(o){await xDt({...o,data:o.result},e)}})}async function xDt(t,e){let i=JSON.parse(t.data.preferences);await tVi(i,t.waitForSaveTags),t.modifyStatus&&iLr(t.modifyStatus),[se.PANEL,se.PANEL_LIB].includes(dt())||T1e(i.commSystemSetting),t.changeModules.includes("CATEGORY")&&x1(),De({type:"success",msg:"Save config successfully",timer:2.5}),mt.settingApply(hn()),e&&e(t)}function bMe(t){let e=new Set;for(let i=0;i<t.length;i++)e.add(t[i].id);return e}var FC=L(z()),{locals:iQe}=TDt.default;function nLr(t,e){let{selectedIds:i,categoryList:o,searchValue:r="",initTreeContainerHeight:n="100%",isResizeObserverEnable:a=!0,emptyLabel:s=gmi,searchPlaceholder:l=fmi,isVirtualList:c=!1,isLock:d=!1,disableTranslate:u,containerStyle:p,showOwnerSelect:m,ownerSelectValue:h,isUseOuterRefreshCallback:f=!1,updateExpandedIdsOnCategoryListChanged:g=!0,outerRefreshCallback:b,ownerSelectChange:y,ownerSelectList:w,selectedCategoriesAction:x,clearSearchInputAction:S,libItemInfo:T,initCategoryActiveTab:M,onConfirmSystemManagerCallback:I}=t,{window:A}=(0,v4.useContext)(_r)||{},D=(0,v4.useRef)({isCouldRender:!1,loadTips:me.i18n("No Results!"),treeContainerHeight:n,categorySourceList:[],categoryRenderList:[],renderSelectedIds:[],isOnSearchStatus:!1,searchInputValue:"",scrollContainerScrollTop:0,expandedIds:new Set});D.current.renderSelectedIds=[...i||[]];let[E,N]=(0,v4.useState)(0),R=(0,v4.useRef)(null),v=(0,v4.useRef)(null),k=(0,v4.useRef)(null),P=(0,v4.useRef)(null),O=(0,v4.useRef)(null),_=`display-flex flex-direct-column flex-main-axis-between ${iQe["category-container"]}`,j=`${iQe["lock-layer"]} ${d?iQe["lock-layer-show"]:""}`,B=()=>{if(D.current.categorySourceList.length){let Z=D.current.categorySourceList[D.current.categorySourceList.length-1];return D.current.categorySourceList=[Z],Z}return[]},V=Z=>{D.current.searchInputValue=Z,N(ee=>ee+1)},G=(Z,ee)=>{window.setTimeout(()=>{D.current.scrollContainerScrollTop=0,N(ne=>ne+1)});let ce=Doe(Z,B());D.current.categoryRenderList=ce.treeData,D.current.expandedIds=new Set(ce.expandedIds),N(ne=>ne+1)},Q=(Z,ee)=>{window.setTimeout(()=>{D.current.scrollContainerScrollTop=0,N(ne=>ne+1)}),D.current.searchInputValue="";let ce=Doe("",B());D.current.categoryRenderList=ce.treeData,D.current.expandedIds=new Set(ce.expandedIds),N(ne=>ne+1),S&&S()},H=(Z,ee,ce,ne)=>{x&&x(Z,ne,ee)},q=(Z,ee,ce)=>{let ne=Z.disableTranslate?Z.title:Z.titleAdditional&&ce._curr===E0e?String(Z.titleAdditional):String(Z.title);if(!D.current.searchInputValue)return(0,FC.jsx)(FC.Fragment,{children:ne});let oe=D.current.searchInputValue.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),re=new RegExp(`(${oe})`,"ig"),Y=(ne==null?void 0:ne.replace(re,`<span class='${iQe.hightlight}'>$1</span>`))||"";return(0,FC.jsx)("span",{dangerouslySetInnerHTML:{__html:Y}})},U=(Z,ee)=>{ee.expand?D.current.expandedIds.add(Z.id):D.current.expandedIds.has(Z.id)&&D.current.expandedIds.delete(Z.id)},F=async Z=>{switch(Z){case"refresh":if(f&&b){await b();break}if(T.key===Yt.STAR||T.key===Yt.PROJECT)D.current.searchInputValue.trim()&&(D.current.expandedIds=bMe(D.current.categoryRenderList)),N(ee=>ee+1);else{let ee=T.key===Yt.INTERNAL?await sn.fetchInternalCategoryList():await sn.fetchCategoryList(T.id,T.id,[+M],T.bindType);![Yt.SYSTEM,Yt.STAR,Yt.PUBLIC,Yt.INTERNAL].includes(T.key)&&!C.extendLibStore.manager.hasLib(T.id)&&ee.result.treeData.splice(1,0,{id:"@Uncategorized",children:[],parentId:"",title:"Uncategorized",titleAdditional:me.i18n("Uncategorized")});let ce=ue.deepClone(ee.result.treeData);D.current.renderSelectedIds=[...ee.result.selectedIds],D.current.categorySourceList.push(ce),D.current.searchInputValue.trim()&&(D.current.expandedIds=bMe(D.current.categoryRenderList));let ne=Doe(D.current.searchInputValue,B());D.current.categoryRenderList=ne.treeData,N(oe=>oe+1),Tr.categoryList=ce}break;case"manageGategories":Qc({menuSelected:"CATEGORY",initCategoryActiveTab:vv(+M),initCategoryActiveLibId:T.id},ee=>{I&&I(ee)});break;case"expandAll":D.current.expandedIds=bMe(D.current.categoryRenderList),N(ee=>ee+1);break;case"collapseAll":D.current.expandedIds=new Set,N(ee=>ee+1);break;default:break}},K=()=>h===bo.getInstance().usedId||h===C.currentProject.projectId||h===_e.FAVORITELIB_UUID?[{iconClassName:"icon-eda-refresh",type:"ITEM",title:me.i18n("Refresh"),cmd:"refresh"},{type:"SEPARATOR"},{type:"ITEM",title:me.i18n("Expand All"),cmd:"expandAll"},{type:"ITEM",title:me.i18n("Collapse All"),cmd:"collapseAll"}]:[{iconClassName:"icon-eda-refresh",type:"ITEM",title:me.i18n("Refresh"),cmd:"refresh"},{type:"SEPARATOR"},{type:"ITEM",title:me.i18n("Manage Categories"),cmd:"manageGategories"},{type:"SEPARATOR"},{type:"ITEM",title:me.i18n("Expand All"),cmd:"expandAll"},{type:"ITEM",title:me.i18n("Collapse All"),cmd:"collapseAll"}],te=(Z,ee,ce,ne,oe)=>{T&&ae(oe)},ae=Z=>{Z.stopPropagation(),Z.preventDefault(),Da.open({windowInstance:A,data:K(),position:{x:Z.pageX,y:Z.pageY},onClick(ee,ce,ne,oe){let{cmdlink:re}=ee;F(re.join(":"))},onEnterConfirm(ee,ce,ne){F(ee.join(":"))}})};(0,v4.useImperativeHandle)(e,()=>({expandAll(Z){Z?D.current.expandedIds=bMe(D.current.categoryRenderList):D.current.expandedIds=new Set,N(ee=>ee+1)}})),(0,v4.useEffect)(()=>{if(D.current.categorySourceList.push(o),D.current.isCouldRender===!1)return;let Z=Doe(D.current.searchInputValue,B());D.current.categoryRenderList=Z.treeData,g&&(D.current.expandedIds=new Set(Z.expandedIds)),D.current.categoryRenderList.length<=0&&(D.current.loadTips=D.current.isCouldRender?me.i18n("No Results!"):me.i18n("Loading...")),N(ee=>ee+1)},[o]),(0,v4.useEffect)(()=>{if(c){Yn(()=>{let ee=R.current.getBoundingClientRect();D.current.treeContainerHeight=ee.height+"px",D.current.isCouldRender=!0;let ce=Doe(D.current.searchInputValue,B());D.current.categoryRenderList=ce.treeData,D.current.expandedIds=new Set(ce.expandedIds),D.current.categoryRenderList.length<=0&&(D.current.loadTips=D.current.isCouldRender?me.i18n("No Results!"):me.i18n("Loading...")),N(ne=>ne+1)},300);return}D.current.isCouldRender=!0;let Z=Doe(D.current.searchInputValue,B());D.current.categoryRenderList=Z.treeData,D.current.expandedIds=new Set(Z.expandedIds),D.current.categoryRenderList.length<=0&&(D.current.loadTips=D.current.isCouldRender?me.i18n("No Results!"):me.i18n("Loading...")),N(ee=>ee+1)},[]);let pe=Z=>{D.current.scrollContainerScrollTop=Z.scrollTop,N(ee=>ee+1)};return(0,v4.useEffect)(()=>(a&&c&&window.ResizeObserver&&R.current&&(v.current=R.current.firstElementChild,P.current=new ResizeObserver(()=>{window.clearTimeout(O.current),O.current=window.setTimeout(()=>{if(v.current&&v.current.parentElement){let Z=v.current.parentElement.getBoundingClientRect();D.current.treeContainerHeight=Z.height+"px",N(ee=>ee+1)}},100)}),P.current.observe(v.current.parentElement)),()=>{P.current&&(P.current.unobserve(v.current),v.current=void 0)}),[]),(0,FC.jsxs)("section",{style:{width:"100%",height:"100%"},"data-refresh":E,children:[(0,FC.jsx)("style",{children:String(TDt.default)}),(0,FC.jsxs)("section",{className:_,style:{...p},children:[(0,FC.jsxs)("div",{"data-tagitem":"search-category-input-container",style:{display:"flex",padding:"0 0 3px 0"},children:[m&&(0,FC.jsx)("div",{style:{width:"50%",paddingRight:"8px"},children:(0,FC.jsx)(xt,{value:h,list:w,onChange:y})}),(0,FC.jsx)("div",{style:{flex:1},children:(0,FC.jsx)(Bm,{isImmediatelyDoConfirmAtEndinput:!0,initShowValue:D.current.searchInputValue,placeholder:l,onUpdateInputValue:V,onClearInputValue:Q,onConfirm:G})})]}),(0,FC.jsxs)("div",{"data-tagitem":"search-category-treelist-container",ref:R,style:{position:"relative",height:"100%",overflow:c?"hidden":"auto"},onContextMenu:ae,children:[(0,FC.jsx)(Bd,{ref:k,treeWidgetItemWidth:"18px",showTagLine:!0,selectedIds:D.current.renderSelectedIds,expandedIds:Array.from(D.current.expandedIds),data:D.current.categoryRenderList,emptyLabel:D.current.loadTips,isVirtualList:c,disableTranslate:u,onClick:H,containerHeight:D.current.treeContainerHeight,initContainerScrollTop:D.current.scrollContainerScrollTop,onVirtualScroll:pe,onContextMenu:te,itemRender:q,onExpand:U}),(0,FC.jsx)("div",{className:j})]})]})]})}var iVi=v4.default.forwardRef(nLr);var SDt=iVi,Gb=SDt;var IDt=L(rVi());var SB=L(z());async function C1(t){let e="category-select",i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i,l=t==null?void 0:t.isProjectLib,c,d=new Promise(m=>c=m),u={...t,onConfirm:m=>{var h;m.id||(m.name=""),(h=t.onConfirm)==null||h.call(t,m),c({confirm:!0,tag:m})},onCancel:()=>{var m;(m=t.onCancel)==null||m.call(t),c({confirm:!1,tag:null})}},p=l?(await iI(l,Hs.Normal,"",{isRemoveProjectLib:!l,isRemoveSystemLib:!1,isRemoveFavLib:!1})).map(m=>({text:String(m.title),value:m.id})):[];return le.open({id:o,title:r,width:l?400:n,height:a,closed:s,esc:!0,folded:!1,children:(0,SB.jsx)(aLr,{...u,containerId:o,ownerSelectList:p})}),d}var MDt=be.bind(IDt.default.locals),nVi="notCategoryId@notCategory",aLr=t=>{let{containerId:e,docType:i,expandAll:o=!0,autoSelectFirst:r,defaultSearchValue:n="",isProjectLib:a,onConfirm:s,onCancel:l}=t,{ownerSelectList:c,libOwnerId:d}=t;Ae(IDt.default);let u=J(),p=(0,rO.useRef)(!1),[m,h]=(0,rO.useState)({}),[f,g]=(0,rO.useState)([]),[b,y]=(0,rO.useState)(n),w=async(v=!1)=>{v&&g([]);let k;if(I===C.currentProject.projectId)k=await A(i);else{let O=await sn.fetchCategoryList(M,I,[i],void 0,!1);(O.code!==0||!O.result)&&console.error(O),k=O.result.treeData}p.current=!0;let P={id:nVi,title:u("Not Category")};g([P,...k]),r&&k.length&&h(k[0])},[x,S]=(0,rO.useState)(a?(c.find(v=>v.value===d)||c[0]).value:""),T=(0,rO.useMemo)(()=>{let v=t.userId,k=t.path||v;if(Je&&(v=k),a&&x){let P=c.find(O=>O.value===x);k=P.path||P.value,v=P.value}return{userId:v,path:k}},[t.userId,t.path,x]),{userId:M,path:I}=T;async function A(v){function k(_=[],j){return _.map(B=>{var G;let V={id:crypto.randomUUID(),title:B.showname,titleAdditional:me.i18n(B.showname)};return j&&(V.parentId=j),(G=B.extend)!=null&&G.length&&(V.children=k(B.extend,V.id)),V})}let P={3:"device",2:"symbol",4:"footprint",1:"cbb",5:"model3D"},{renderList:O}=await OTe({tabName:P[v],uid:"project"},!1);return k(O)}(0,rO.useLayoutEffect)(()=>{w()},[x]);let D=v=>{switch(v){case"confirm":{let k=E();k.id?(k.id===nVi&&(k.id="",k.pathName=""),s==null||s(k)):l==null||l(),N();break}case"cancel":{l==null||l(),N();break}case"openSystemSettingCategory":{Qc({menuSelected:"CATEGORY",isFromProject:a,initCategoryActiveTab:vv(i),initCategoryActiveLibId:M},()=>{y(""),w()});break}}},E=()=>{let v=is.lang==="zh-hans",k=m.id,P=v&&m.titleAdditional||m.title,O=m.parentId||null,_=k,j="",B=P;if(O){for(let V of f)if(V.id===O){j=(v&&V.titleAdditional||V.title).toString(),_=`${O}:${k}`,B=`${j}:${P}`;break}}return{id:k,name:P,pathId:_,pathName:B,parentId:O,parentName:j}},N=()=>{le.close(e)};Bt(()=>{D("cancel")}).close(e);let R=MDt("pop-content-container","client-setting-container");return(0,SB.jsxs)("div",{className:R,style:{height:"100%"},children:[(0,SB.jsx)("div",{className:MDt("pop-content-wrapper","client-content-wrapper"),style:{overflow:"auto",padding:0,border:"none"},children:(0,SB.jsx)(Gb,{selectedIds:[m.id],categoryList:f,searchValue:b,isVirtualList:!0,containerStyle:{padding:16},showOwnerSelect:a,initTreeContainerHeight:"285px",isResizeObserverEnable:!1,ownerSelectValue:x,ownerSelectList:c,ownerSelectChange:v=>S(v),isUseOuterRefreshCallback:!0,outerRefreshCallback:async()=>{y(""),await w(!0)},disableTranslate:!0,selectedCategoriesAction:(v,k,P)=>{h(P)},initCategoryActiveTab:i,libItemInfo:{key:vv(i),id:M},onConfirmSystemManagerCallback:v=>{y(""),w()}})}),(0,SB.jsxs)("div",{className:MDt("pop-footer-wrapper"),children:[(0,SB.jsx)(Me,{"data-test":"Manage Categories",style:{position:"absolute",left:0},onClick:()=>D("openSystemSettingCategory"),children:"Manage Categories"}),(0,SB.jsx)(Me,{"data-test":"Confirm",type:"primary",style:{marginRight:16},onClick:()=>D("confirm"),children:"Confirm"}),(0,SB.jsx)(Me,{"data-test":"Cancel",onClick:()=>D("cancel"),children:"Cancel"})]})]})};var xVi=L(Se());var wVi=L(Se());var bVi=L(Hr());var lVi=L(Se());var LDt=L(sVi()),Nne=L(z());function Gq(t){let{locals:e}=LDt.default;Ae(LDt.default);let{title:i,children:o}=t,r=J(),[n,a]=(0,lVi.useState)(!0),s=KS("div")`
		display: ${n?"":"none"};
		background-color: var(--bg-color-panel);
	`;return(0,Nne.jsxs)(Nne.Fragment,{children:[(0,Nne.jsx)("header",{className:be("f-weight",{[e.collapsed]:!n},e.title),onClick:()=>{a(!n)},"data-test":i,children:r(i)}),(0,Nne.jsx)(s,{className:"j-collapse-container","data-test":i+" Container",children:o})]})}var yVi=L(Se());var cVi=L(Vi());var nQe=class{constructor(e,i){this.containerId="opacity-selector";this.circleId="opacity-selector-flag";this.thisGrid="opacity-selector-grid";this.triangleX="triangle-x";this.triangleY="triangle-y";this.inputX="j-x";this.inputY="j-y";this.currentId="";this.hide=e=>{if(this.isDrag)return;let i=this.getSelectorContainer();if(!i)return;let o=e.target;o.className!==this.attrInput.className&&(i.contains(o)||(m3(this.getSelectorContainer()),this.deleteEvent()))};this.once=!1;this.isDrag=!1;this.attrInput=e,this.onChange=i,this.clickInputHandler()}init(){this.renderDom(),this.bindEvent()}renderDom(){let e=document.createElement("div");e.id=this.containerId,e.innerHTML=this.getHtml(),document.body.appendChild(e),C.messageBus.publish("updateLocale","#"+this.containerId)}bindEvent(){this.listenDrag(),this.removeSelector(),this.listenChange(),this.disableInputEvent()}deleteEvent(){document.removeEventListener("mousedown",this.mousedown),document.removeEventListener("mousemove",this.mousemove),document.removeEventListener("mouseup",this.mouseup),document.removeEventListener("click",this.hide)}disableInputEvent(){this.attrInput.readOnly=!0}clickInputHandler(){if(this.getSelectorContainer())return;this.init(),this.setContainerPosition();let[i,o]=this.attrInput.value.split(",").map(a=>parseInt(a,10)),[r,n]=this.setDotPositionByPercent(i,o);this.setTrianglePosition(r,n,!0),this.setTrianglePosition(r,n,!1),this.setValue(!1)}listenChange(){let e=this.getInputX(),i=this.getInputY();function o(a){return a.replace(/[^0-9\+\-\*\/\(\)\.]/g,"")}let r=a=>{let s=o(e.value),l=o(i.value),c=Kue(s),d=Kue(l),[u,p]=this.setDotPositionByPercent(c,d);this.setTrianglePosition(u,p,!0),this.setTrianglePosition(u,p,!1),this.setValue()};e.addEventListener("change",r),i.addEventListener("change",r);function n(){this.select()}e.addEventListener("focus",n),i.addEventListener("focus",n)}removeSelector(){if(this.once)return;document.addEventListener("click",this.hide),C.messageBus.subscribe("clickedCanvas",()=>{m3(this.getSelectorContainer())}),this.once=!0}getInputX(){return this.getSelectorContainer().querySelector("."+this.inputX)}getInputY(){return this.getSelectorContainer().querySelector("."+this.inputY)}getTriangleX(){return this.getSelectorContainer().querySelector("#"+this.triangleX)}getTriangleY(){return this.getSelectorContainer().querySelector("#"+this.triangleY)}getGridBBox(){return this.getGridDom().getBBox()}getGridDom(){return this.getSelectorContainer().querySelector("#"+this.thisGrid)}listenDrag(){let e=document.querySelector("#opacity-selector-flag"),i=this.getGridDom(),o=+rn(e,"cx"),r=+rn(e,"cy"),n=0,a=0,s=+rn(i,"x"),l=+rn(i,"y"),c=s+ +rn(i,"width"),u=l+ +rn(i,"height")-l,p=1,m="";this.mousedown=f=>{m=f.target.id,[this.triangleX,this.triangleY,this.circleId].includes(m)&&(o=+rn(e,"cx"),r=+rn(e,"cy"),this.isDrag=!0,n=f.clientX,a=f.clientY)},document.addEventListener("mousedown",this.mousedown),this.mousemove=ue.throttle(f=>{if(!this.isDrag)return;let g=f.clientX-n,b=f.clientY-a;m===this.triangleX&&(b=0),m===this.triangleY&&(g=0),g/=p,b/=p;let y=o+g,w=r+b;this.setDotPosition(y,w),m===this.circleId?(this.setTrianglePosition(y,w,!0),this.setTrianglePosition(y,w,!1)):this.setTrianglePosition(y,w,m===this.triangleX)},50),document.addEventListener("mousemove",this.mousemove),this.mouseup=f=>{this.isDrag&&(setTimeout(()=>{this.isDrag=!1},100),this.setValue())},document.addEventListener("mouseup",this.mouseup),this.getSelectorContainer().querySelector("svg").addEventListener("click",f=>{if(this.isDrag||f.target.tagName.toUpperCase()==="INPUT")return;let{left:b,top:y}=i.getBoundingClientRect(),w=f.clientX-b,x=f.clientY-y;w/=p,x/=p;let S=s+w,T=l+x;this.setDotPosition(S,T),this.setTrianglePosition(S,T,!0),this.setTrianglePosition(S,T,!1),this.setValue()})}getRangeXY(e,i){let o=document.querySelector("#opacity-selector-grid"),r=+rn(o,"x"),n=+rn(o,"y"),a=r+ +rn(o,"width"),s=n+ +rn(o,"height");return e=Math.min(Math.max(e,r),a),i=Math.min(Math.max(i,n),s),[e,i]}setDotPosition(e,i){let o=this.getDotCircleDom(),[r,n]=this.getRangeXY(e,i);rn(o,"cx",r),rn(o,"cy",n)}setDotPositionByPercent(e,i){let o=this.getDotCircleDom(),{x:r,y:n,width:a,height:s}=this.getGridBBox(),[l,c]=this.getRangeXY(r+a*(+e/100),n+s*(1-i/100));return rn(o,"cx",l),rn(o,"cy",c),[l,c]}setTrianglePosition(e,i,o){let[r,n]=this.getRangeXY(e,i),a=this.getTriangleX();if(o){let u=rn(a,"d").split(" ");u[1]=r,rn(a,"d",u.join(" "));return}let s=this.getTriangleY(),c=rn(s,"d").split(" ");c[2]=n,rn(s,"d",c.join(" "))}setValue(e=!0){let i=this.getInputX(),o=this.getInputY(),r=this.getDotCircleDom(),n=rn(r,"cx"),a=rn(r,"cy"),s=this.getGridDom(),l=+rn(s,"x"),c=+rn(s,"y"),d=l+ +rn(s,"width"),p=c+ +rn(s,"height")-c,m=(n-l)/p,h=(a-c)/p;i.value=Math.round(m*100)+"",o.value=Math.round((1-h)*100)+"",this.attrInput.value=i.value+"%,"+o.value+"%",e&&(this.onChange(m,1-h),this.attrInput.dispatchEvent(new Event("change")),(0,cVi.default)(this.attrInput).trigger("change"))}getHtml(){return document.querySelector("#opacity-selector-container").innerHTML}calcuZIndex(){let e=this.attrInput.parentElement;for(;e;){if(Number.isInteger(+getComputedStyle(e).zIndex))return getComputedStyle(e).zIndex;e=e.parentElement}return 1}setContainerPosition(){let{left:e,top:i}=this.attrInput.getBoundingClientRect(),o=this.attrInput.offsetHeight,r=this.getSelectorContainer(),n=4;r.style.left=e+"px",r.style.top=n+i+o+"px",r.style.position="fixed",r.style.backgroundColor="var(--common-bg-color)",r.style.zIndex=this.calcuZIndex()+"";let a=r.offsetWidth,s=window.document.documentElement.offsetWidth;e+a>s&&(e=s-a-n,r.style.left=e+"px")}getSelectorContainer(){return document.getElementById(this.containerId)}getDotCircleDom(){return this.getSelectorContainer().querySelector("#"+this.circleId)}};var uVi=L(Se());var pVi=L(nO()),mVi=L(z());function sLr(t,e){let{name:i,onClick:o,style:r={},disabled:n}=t,a=be.bind(pVi.default.locals),s=J();return(0,mVi.jsx)("span",{onClick:()=>{n||o()},style:{...r},className:a("attr-reset")+" icon-eda-refresh-1 "+t.className,title:s("Restore Default Scale")})}var vDt=(0,uVi.forwardRef)(sLr);function aO(t,e,i){for(let o of t)if(i=o(e,i),i===!1)return!1;return i}function sO(t,e){let i=$s(e);return Number.isNaN(i)?!1:i}var DDt=L(z());function fVi(t){let e=Object.keys(t.target).at(0),i=kr("canvas_config",[],e,!0)||{},o="<...>",r=new RegExp("(-width|-height|-size|-radius|-x|-y|-length|-dx|-dy|-r|-distance|-dimension)$");return function(a){var c,d,u,p;let{name:s,value:l}=a;if(r.test(s)&&o!==t[s]&&(a.unit=i.unit||"mm"),lLr(s,a),a.calcu&&a.beforeChange.push(sO),a.resetColor){let m={name:"attr-reset-color",onClick(){a.onChange("attr-reset-color",!0)},style:{}};a.rightChildren=[(0,DDt.jsx)(vDt,{...m},m.name)]}switch(s){case"attr-transparency":{a.readOnly=!0,a.onClick=m=>{let h=new nQe(m.target,(f,g)=>{a.onChange("attr-transparency",{"attr-transparency-print":f+"","attr-transparency-white":g+""})});h=null};break}case"attr-id":{a.disabled=!0;let m=t["attr-topic"],{cmdKey:h}=t;if(h==="dimension")switch(t["attr-dimension-direction"]){case"x":m="Horizontal Dimension";break;case"y":m="Vertical Dimension";break;default:m="Dimension";break}["dimensionAngle","dimensionLength","dimensionRadius"].includes(h)&&(m=h),h==="arc"&&(m="Elliptical Arc"),a.value=Rr(m)+l.replace("$e","")}break;case"attr-dimension-angle":{a.xName="attr-dimension-angle-x",a.yName="attr-dimension-angle-y",a.xValue=t["attr-dimension-angle-x"],a.yValue=t["attr-dimension-angle-y"],o!==t[a.xName]&&(a.xUnit="mm"),o!==t[a.yName]&&(a.yUnit="mm");break}case"attr-circle-center":{a.xName="attr-circle-center-x",a.yName="attr-circle-center-y",a.xValue=t["attr-circle-center-x"],a.yValue=t["attr-circle-center-y"],o!==t[a.xName]&&(a.xUnit="mm"),o!==t[a.yName]&&(a.yUnit="mm");break}case"attr-start":{a.xName="attr-start-x",a.yName="attr-start-y",a.xValue=t["attr-start-x"],a.yValue=t["attr-start-y"],o!==t[a.xName]&&(a.xUnit="mm"),o!==t[a.yName]&&(a.yUnit="mm");break}case"attr-end":{a.xName="attr-end-x",a.yName="attr-end-y",a.xValue=t["attr-end-x"],a.yValue=t["attr-end-y"],o!==t[a.xName]&&(a.xUnit="mm"),o!==t[a.yName]&&(a.yUnit="mm");break}case"attr-x-y":a.xName="attr-x",a.yName="attr-y",a.xValue=t["attr-x"],a.yValue=t["attr-y"],o!==t[a.xName]&&(a.xUnit="mm"),o!==t[a.yName]&&(a.yUnit="mm");break;case"attr-font-family":{let m=[];Wi("COMM_TYPEFACE","commonlyList",{readValueKey:!0,defaultValue:[]}).forEach(function(f){m.push(f.title)}),a.options=m.map(f=>({value:f,text:f,style:{fontFamily:`"${f}"`}}));break}case"attr-font-style":a.fontWeight=t["attr-font-weight"]==="bold",a.italic=t["attr-font-style"]==="italic",a.underline=t["attr-font-underline"]==="underline";break;case"attr-origin":a.value=sQe(a.value);break;case"attr-cmdKey-list":break;case"attr-fill-stroke-pair":a.attrFillColorDisplay=t["attr-fill-color-display"],a.attrFillColor=t["attr-fill-color"],a.attrStrokeColorDisplay=t["attr-stroke-color-display"],a.attrStrokeColor=t["attr-stroke-color"];break;case"attr-dimension-object":a.disabled=!0,a.value=a.value.map((m,h)=>{let{primitiveTypeStart:g,primitiveTypeEnd:b}=t["attr-primitive-type"][h],{start:y,end:w}=m,x=y.id,S=w.id,T=y.name;T&&(T=Rr(":")+T);let M=w.name;M&&(M=Rr(":")+M);let I=Rr(g)+"_"+x.slice(1)+T,A=Rr(b)+"_"+S.slice(1)+M;return x==S?[I]:[I,A]}).flat().join(`\r
`);break;case"attr-dimension":{t["attr-dimension-category"]==="Annotation"&&(a.disabled=!0);break}case"attr-width-height-pair":a.widthName="attr-width",a.heightName="attr-height",a.attrWidth=t["attr-width"],a.attrHeight=t["attr-height"],a.attrUnit=(c=i==null?void 0:i.unit)!=null?c:"mm",a.needKeepRationBtn=!0,a.linkedKey="attr-height";break;case"attr-obb-width-height-pair":if(a.widthName="attr-obb-width",a.heightName="attr-obb-height",a.attrWidth=t["attr-obb-width"],a.attrHeight=t["attr-obb-height"],a.attrUnit=(d=i==null?void 0:i.unit)!=null?d:"mm",a.needKeepRationBtn=!0,a.needRefreshBtn=t.type==="obj",a.linkedKey="attr-obb-height",t.type==="text"){let m={name:"attr-reset-text",onClick(){a.onChange("attr-reset-text",!0)}},h=KS(vDt)`
						background-size: 13px;
					`;a.rightChildren=[(0,DDt.jsx)(h,{...m},m.name)]}break;case"attr-short-long-radius":{a.widthName="attr-short-radius",a.heightName="attr-long-radius",a.attrWidth=t["attr-short-radius"],a.attrHeight=t["attr-long-radius"],a.attrUnit=(u=i==null?void 0:i.unit)!=null?u:"mm",a.needRefreshBtn=!1,a.needKeepRationBtn=!0,a.linkedKey="attr-long-radius";break}case"attr-bbox-width-height-pair":{a.widthName="attr-bbox-width",a.heightName="attr-bbox-height",a.attrWidth=t["attr-bbox-width"],a.attrHeight=t["attr-bbox-height"],a.attrUnit=(p=i==null?void 0:i.unit)!=null?p:"mm",a.needKeepRationBtn=!0,a.needRefreshBtn=!1,a.linkedKey="attr-bbox-height";break}default:break}return a}}function lLr(t,e){let i="\xB0";["attr-rotation","attr-bbox-rotation","attr-angle","attr-start-angle","attr-end-angle"].includes(t)&&(e.unit=i)}function gVi(t){return function(i,o,r){switch(i){case"attr-transparency":for(let a in t.target){let s=Object.values(t.target[a]);Pt(kt.Panel.AttrpanelApply,[s,o],a)}break;case"reference-point":Pt(kt.Panel.UpdateReferencePoint,[o]).then(()=>{$N({keepFilter:t["attr-cmdKey-list"]})});break;case"attr-cmdKey-list":$N({keepFilter:o});break;case"attr-origin":o=sQe("",o),n();break;case"attr-width-height-pair":case"attr-obb-width-height-pair":if(r){let a=structuredClone(o);delete a.name;for(let s in t.target){let l=Object.values(t.target[s]);Pt(kt.Panel.AttrpanelApply,[l,{...a,"ratio-height-weight":!0}],s)}}else for(let a in t.target){let s=Object.values(t.target[a]);Pt(kt.Panel.AttrpanelApply,[s,{[o.name]:o[o.name]}],a)}break;case"attr-locked":case"attr-conceal":n(),_l("201");break;default:{n();break}}function n(){for(let a in t.target){let s=Object.values(t.target[a]);Pt(kt.Panel.AttrpanelApply,[s,{[i]:o}],a)}}}}var fM=L(z());var Pne={isSelectedFromPrimitive:!1,prevAttrTabId:"panel-layer"};C.panelRightTabOnSelect=function(t){t!=="panel-attr"&&(Pne.isSelectedFromPrimitive=!1)};function cLr(t){let e=C.rightPanelActiveTab.PANEL||"";t.contentItem["attr-selected-count"]?(Pne.isSelectedFromPrimitive=!0,e!=="panel-attr"&&(Pne.prevAttrTabId=e,C.messageBus.publish("ui/rightPanelTabClick",{tabId:"panel-attr"}))):Pne.isSelectedFromPrimitive&&e!==Pne.prevAttrTabId&&(Pne.isSelectedFromPrimitive=!1,C.messageBus.publish("ui/rightPanelTabClick",{tabId:Pne.prevAttrTabId}))}var EDt;function $N(t){let e=document.getElementById("panel-attr-main-2d"),i=e.querySelector('input[name="attr-cmdKey-list"]:checked');if(t!=null&&t.keepSelectFilter&&i){let o=i.value;o&&(t.keepFilter=o)}C.messageBus.rpcCall("panel/2d/get-attr-data",t).then(o=>{!o.message||!o.message.htmlItem||(cLr(o.message),EDt=EDt||(0,bVi.createRoot)(e),EDt.render((0,fM.jsx)(yVi.default.StrictMode,{children:(0,fM.jsx)(dLr,{...o.message},Date.now())})))})}var ADt="panel-attr-main-2d";function dLr(t){let{htmlItem:e,contentItem:i}=t,o=[],r=gVi(i),n=fVi(i),a=!0;for(let l of e){let{attr:c,title:d}=l,u=[];if(Object.keys(c||{}).length!==0){for(let p in c){let m=n({...c[p],value:i[p],name:p,onChange:r,beforeChange:[]});a&&d!=="Select Object"&&(m.gridDragTriangle=(0,fM.jsx)(M3,{propertyPanelId:ADt}),a=!1),u.push(Jhe(m.componentType||m.type,m))}o.push((0,fM.jsx)(Gq,{title:d,children:u},d))}}let s=J();return(0,fM.jsxs)(fM.Fragment,{children:[(0,fM.jsx)("div",{className:"attrlist-table-selected",children:(0,fM.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,fM.jsx)("div",{style:{padding:"0px 10px"},className:"ellipsis","data-test":i["attr-topic"],children:s(i["attr-topic"])}),(0,fM.jsxs)("div",{style:{display:"flex"},children:[(0,fM.jsx)("div",{className:"ellipsis name","data-test":"Selected Objects",children:s("Selected Objects")}),(0,fM.jsx)("div",{style:{padding:"0px 10px"},children:i["attr-selected-count"]})]})]})}),o]})}function sQe(t,e=""){let i={"start|0":0,"start|1":3,"start|2":6,"middle|0":1,"middle|1":4,"middle|2":7,"end|0":2,"end|1":5,"end|2":8};if(!e)return i[t];for(let o in i)if(i[o]===+e)return o;return e}var CVi=L(z()),lQe;function D4(t){let{style:e={}}=t;lQe=lQe||mt.getCacheObj("attributePanelColumnWidth")||{};let i=`0 0 ${lQe[ADt]||50}%`;return(0,wVi.useEffect)(()=>()=>{lQe=null},[]),(0,CVi.jsx)("div",{className:"key_section",style:{flex:i,display:"flex",overflow:"hidden",position:"relative",...e},children:t.children})}var TVi=L(nO());var UC=L(z()),{locals:uLr}=TVi.default;function SVi(t){let e=(0,xVi.useId)(),{title:i,value:o,name:r,onChange:n,disabled:a}=t,s=be.bind(uLr),l=J();return(0,UC.jsxs)("div",{className:s("line"),children:[(0,UC.jsxs)(D4,{children:[(0,UC.jsx)("div",{className:s("left-check"),children:(0,UC.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:"placeholder",children:[(0,UC.jsx)("input",{id:e,name:"undefined",type:"checkbox",className:"checkbox"}),(0,UC.jsx)("span",{})]})}),(0,UC.jsx)("div",{className:s("txt_title"),children:(0,UC.jsx)("label",{"html-for":e,title:l(i),"data-test":i,children:l(i)})})]}),(0,UC.jsxs)("div",{className:s("txt_value"),"data-test":r,children:[(0,UC.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:"placeholder",children:[(0,UC.jsx)("input",{disabled:a,type:"checkbox",className:"checkbox"}),(0,UC.jsx)("span",{})]}),(0,UC.jsxs)("div",{className:s("color-content-cn"),children:[(0,UC.jsx)(Vf,{onChange:c=>n(r,c,o),wrapperStyle:{flex:1},disabled:a,color:o,allowNone:"0",style:{display:"inline-block",width:"24px",height:"24px",marginRight:"2px"},children:(0,UC.jsx)("input",{disabled:a,type:"text",name:r,value:o,readOnly:!0,style:{width:"100%",flex:1}})}),t.rightChildren]})]})]},i)}var One=L(Se());var MVi=L(nO());var b0=L(z()),{locals:pLr}=MVi.default,mLr=t=>{let e=J(),{name:i="attr-fill-stroke-pair",fillTitle:o="Fill Color",strokeTitle:r="Stroke Color",attrFillColorDisplay:n=!0,attrStrokeColorDisplay:a=!0,attrFillColor:s,attrStrokeColor:l,onChange:c,disabled:d}=t,[u,p]=(0,One.useState)({attrFillColorValue:s,attrFillColorDisplayChecked:n,attrStrokeColorValue:l,attrStrokeColorDisplayChecked:a}),m=(0,One.useRef)(null),h=(0,One.useRef)(null),f=()=>{d||(p(b=>({...b,attrFillColorValue:b.attrStrokeColorValue,attrStrokeColorValue:b.attrFillColorValue})),c("attr-stroke-fill-swap",!0,!1))},g=be.bind(pLr);return(0,b0.jsxs)("div",{style:{position:"relative"},children:[(0,b0.jsxs)("div",{className:g("line"),children:[(0,b0.jsxs)(D4,{children:[(0,b0.jsx)("div",{className:g("left-check"),children:(0,b0.jsxs)("span",{style:{position:"relative",visibility:"visible"},className:"placeholder",children:[(0,b0.jsx)("input",{disabled:d,id:o,type:"checkbox",className:"checkbox",checked:u.attrFillColorDisplayChecked,onChange:b=>{p(y=>({...y,attrFillColorDisplayChecked:b.target.checked})),c("attr-fill-color-display",b.target.checked,u.attrFillColorDisplayChecked)}}),(0,b0.jsx)("span",{})]})}),(0,b0.jsx)("div",{className:g("txt_title"),children:(0,b0.jsx)("label",{htmlFor:o,title:e(o),"data-test":o,children:e(o)})})]}),(0,b0.jsxs)("div",{className:g("txt_value"),"data-test":i+"-fill",children:[(0,b0.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:"placeholder",children:[(0,b0.jsx)("input",{disabled:d,type:"checkbox",className:"checkbox"}),(0,b0.jsx)("span",{})]}),(0,b0.jsx)(Q6,{disabled:d,allowNone:!0,ref:m,defaultValue:u.attrFillColorValue,onChange:b=>{p(y=>({...y,attrFillColorValue:b})),c("attr-fill-color",b,u.attrFillColorValue)},style:{width:"24px",height:"24px",marginRight:"2px"}}),(0,b0.jsx)("input",{disabled:d,type:"text",name:i+o,value:u.attrFillColorValue,readOnly:!0,style:{width:"calc(100% - 60px)"},onClick:()=>{setTimeout(()=>{m.current.click()})}})]})]}),(0,b0.jsxs)("div",{className:g("line"),"data-test":i,children:[(0,b0.jsxs)(D4,{children:[(0,b0.jsx)("div",{className:g("left-check"),children:(0,b0.jsxs)("span",{style:{position:"relative",visibility:"visible"},className:"placeholder",children:[(0,b0.jsx)("input",{disabled:d,id:r,type:"checkbox",className:"checkbox",checked:u.attrStrokeColorDisplayChecked,onChange:b=>{p(y=>({...y,attrStrokeColorDisplayChecked:b.target.checked})),c("attr-stroke-color-display",b.target.checked,u.attrStrokeColorDisplayChecked)}}),(0,b0.jsx)("span",{})]})}),(0,b0.jsx)("div",{className:g("txt_title"),children:(0,b0.jsx)("label",{htmlFor:r,title:e(r),"data-test":r,children:e(r)})})]}),(0,b0.jsxs)("div",{className:g("txt_value"),"data-test":i+"-stroke",children:[(0,b0.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:"placeholder",children:[(0,b0.jsx)("input",{disabled:d,type:"checkbox",className:"checkbox"}),(0,b0.jsx)("span",{})]}),(0,b0.jsx)(Q6,{disabled:d,ref:h,allowNone:!0,defaultValue:u.attrStrokeColorValue,onChange:b=>{p(y=>({...y,attrStrokeColorValue:b})),c("attr-stroke-color",b,u.attrStrokeColorValue)},style:{width:"24px",height:"24px",marginRight:"2px"}}),(0,b0.jsx)("input",{disabled:d,type:"text",name:i+r,value:u.attrStrokeColorValue,readOnly:!0,style:{width:"calc(100% - 60px)"},onClick:()=>{setTimeout(()=>{h.current.click()})}})]})]}),(0,b0.jsx)("span",{title:e("Color exchange"),className:"icon-eda-sort-bi-side",style:{width:"16px",height:"16px",paddingRight:"8px",position:"absolute",top:"50%",transform:"translateY(-50%)",right:"0",cursor:"pointer"},onClick:f})]},o+r)},IVi=(0,One.memo)(mLr);var PDt=L(nO());var kDt=L(vVi()),DVi=L(Se()),i5=L(z()),{locals:NDt}=PDt.default;function EVi(t){Ae(PDt.default),Ae(kDt.default);let{locals:e}=kDt.default,i=be.bind(NDt),o=J(),{title:r,value:n,name:a,onChange:s,disabled:l}=t,[c,d]=(0,DVi.useState)(n);return(0,i5.jsxs)("div",{className:i("line"),children:[(0,i5.jsxs)(D4,{children:[(0,i5.jsx)("div",{className:be(NDt["left-check"]),children:(0,i5.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:"placeholder",children:[(0,i5.jsx)("input",{id:a,type:"checkbox",className:"checkbox"}),(0,i5.jsx)("span",{})]})}),(0,i5.jsx)("div",{className:i("txt_title"),children:(0,i5.jsx)("label",{"html-for":a,className:"i18n",title:o(r),"data-test":r,children:o(r)})})]}),(0,i5.jsxs)("div",{className:be(NDt.txt_value),"data-test":a,children:[(0,i5.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:"placeholder",children:[(0,i5.jsx)("input",{type:"checkbox",className:"checkbox"}),(0,i5.jsx)("span",{})]}),(0,i5.jsx)("div",{className:e["reference-point-box"],children:[...new Array(9)].map((u,p)=>(0,i5.jsx)("div",{className:be({[e.active]:+c===p}),onClick:()=>{+c!==p&&(l||(s(a,p+"",n),d(p+"")))}},p))})]})]},r)}var qhe=L(Se());var ODt=L(nO());var VC=L(z()),{locals:Rne}=ODt.default;function AVi(t){Ae(ODt.default);let{title:e,xName:i,xValue:o,yName:r,yValue:n,onChange:a,beforeChange:s,xUnit:l,yUnit:c,disabled:d}=t;l=l!=null?l:"",c=c!=null?c:"";let u=J(),[p,m]=(0,qhe.useState)(o+l),[h,f]=(0,qhe.useState)(n+c),g=(0,qhe.useRef)(null),b=(0,qhe.useRef)(null);function y(x,S){if(x===i&&+S==+o){m(S+l);return}if(x===r&&+S==+n){f(S+c);return}let T=aO(s,x,S);if(T===!1){x===i?m(o+l):f(n+c);return}x===i?m(T+l):f(T+c),a(x,T)}let w=i+"_"+r;return(0,VC.jsxs)("div",{className:Rne.line,children:[(0,VC.jsxs)(D4,{children:[(0,VC.jsx)("div",{className:be(Rne.left,Rne["left-check"]),children:(0,VC.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:"placeholder",children:[(0,VC.jsx)("input",{id:"x-y",type:"checkbox",className:"checkbox"}),(0,VC.jsx)("span",{})]})}),(0,VC.jsx)("div",{className:Rne.txt_title,children:(0,VC.jsx)("label",{"html-for":"x-y",title:u(e),"data-test":e,children:u(e)})})]}),(0,VC.jsxs)("div",{className:be(Rne.left,Rne.txt_value),"data-test":w,children:[t.gridDragTriangle||"",(0,VC.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:"placeholder",children:[(0,VC.jsx)("input",{type:"checkbox",className:"checkbox"}),(0,VC.jsx)("span",{})]}),(0,VC.jsxs)("div",{className:Rne.flex,style:{gap:"16px",flex:"1"},children:[(0,VC.jsx)("input",{id:"xInput","data-test":"xInput",ref:b,type:"text",value:p,disabled:d,style:{boxSizing:"border-box",borderRadius:"2px",height:"24px",width:"100%"},onChange:x=>{m(x.target.value)},onFocus:x=>{m(p.replaceAll(l,"")),setTimeout(()=>{x.target.select()})},onKeyUp:x=>{x.key==="Enter"&&b.current.blur()},onBlur:x=>{y(i,p)}}),(0,VC.jsx)("input",{id:"yInput","data-test":"yInput",ref:g,type:"text",value:h,disabled:d,style:{boxSizing:"border-box",borderRadius:"2px",height:"24px",width:"100%"},onChange:x=>{f(x.target.value)},onFocus:x=>{f(h.replaceAll(c,"")),setTimeout(()=>{x.target.select()})},onKeyUp:x=>{x.key==="Enter"&&g.current.blur()},onBlur:x=>{y(r,h)}})]})]})]},w)}var kVi=L(z());function NVi(t){let{options:e,value:i,onChange:o,name:r}=t,n={marginRight:"8px",display:"inline-block",lineHeight:"27px"};for(let a of e)a.label=a.text,a.style={...n,...a.style||{}},a.name=r;return(0,kVi.jsx)($i,{onChange:a=>{o(r,a)},style:{padding:"8px"},value:i,dataTest:r,options:e},r)}var PVi=L(nO());var OVi=L(Se());var o5=L(z());function RVi(t){let{title:e,options:i,value:o,name:r,onChange:n,disabled:a,beforeChange:s}=t,l=be.bind(PVi.default.locals),c=J(),[d,u]=(0,OVi.useState)(o);function p(h,f,g){let b=aO(s||[],h,f);if(b===!1){u(g);return}u(b),n(h,b)}let m=[];for(let h of i)ue.isPlainObject(h)?m.push({...h,key:h,dataTest:h.text}):["Annotation","Constraint"].includes(h)?m.push({value:h,text:{context:"dimensionType",value:h},key:h}):m.push({value:h,text:h,key:h});return(0,o5.jsxs)("div",{className:l("line"),children:[(0,o5.jsxs)(D4,{children:[(0,o5.jsx)("div",{className:l("left-check"),children:(0,o5.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:"placeholder",children:[(0,o5.jsx)("input",{id:r+"-1",type:"checkbox",className:"checkbox"}),(0,o5.jsx)("span",{})]})}),(0,o5.jsx)("div",{className:l("txt_title"),children:(0,o5.jsx)("label",{"html-for":r+"-1",className:"i18n",title:c(e),"data-test":e,children:c(e)})})]}),(0,o5.jsxs)("div",{"data-test":r,style:{display:"flex",alignItems:"center",textAlign:"left",marginLeft:"4px",flex:1,paddingRight:"8px",boxSizing:"border-box",position:"relative",overflow:"hidden"},children:[(0,o5.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:"placeholder",children:[(0,o5.jsx)("input",{type:"checkbox",className:"checkbox"}),(0,o5.jsx)("span",{})]}),r==="attr-font-family"?(0,o5.jsx)(Jw,{disabled:a,name:r,value:d,style:{width:"100%",height:"24px"},list:m,onChange:h=>{p(r,h,o)}}):(0,o5.jsx)(xt,{disabled:a,value:d,style:{width:"100%",height:"24px"},list:m,onChange:h=>{p(r,h,o)},containerStyle:{overflow:"hidden"}})]})]},r)}var dQe=L(Se());var RDt=L(nO());var gM=L(z()),{locals:Xhe}=RDt.default;function _Vi(t){Ae(RDt.default);let{title:e,value:i,name:o,onChange:r,onClick:n=()=>{},disabled:a,readOnly:s,beforeChange:l,unit:c,rightChildren:d}=t;c=c!=null?c:"",i=i!=null?i:"";let u=J(),[p,m]=(0,dQe.useState)(i+c),h=(0,dQe.useRef)(null);function f(){let b=aO(l,o,p);if(b===!1){m(i);return}m(b+c),String(b)!==String(i)&&r(o,b)}let g=be.bind(Xhe);return(0,gM.jsxs)("div",{className:Xhe.line,children:[(0,gM.jsxs)(D4,{children:[(0,gM.jsx)("div",{className:be(Xhe.left,Xhe["left-check"]),children:(0,gM.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:"placeholder",children:[(0,gM.jsx)("input",{id:o,type:"checkbox",className:"checkbox"}),(0,gM.jsx)("span",{})]})}),(0,gM.jsx)("div",{className:g("txt_title"),children:(0,gM.jsx)("label",{htmlFor:o,title:u(e),"data-test":e,children:u(e)})})]}),(0,gM.jsxs)("div",{className:be(Xhe.left,Xhe.txt_value),"data-test":o,children:[t.gridDragTriangle||"",(0,gM.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:"placeholder",children:[(0,gM.jsx)("input",{type:"checkbox",className:"checkbox"}),(0,gM.jsx)("span",{})]}),(0,gM.jsx)("input",{ref:h,name:o,type:"text",value:p,className:g("input"),disabled:a,readOnly:s,autoComplete:"off",onFocus:b=>{m(String(p).replaceAll(c,"")),setTimeout(()=>{b.target.select()})},onKeyUp:b=>{b.key==="Enter"&&h.current.blur()},onBlur:b=>{s||f()},onChange:b=>{m(b.target.value)},onClick:n}),d]})]},o)}var jVi=L(Se());var _Dt=L(nO());var r5=L(z());function BVi(t){Ae(_Dt.default);let{locals:e}=_Dt.default,i=be.bind(e),{title:o,value:r,name:n,onChange:a,disabled:s,beforeChange:l}=t,c=J(),[d,u]=(0,jVi.useState)(r);function p(m){let h=aO(l,n,m);if(h===!1){u(r);return}a(n,h,r)}return(0,r5.jsxs)("div",{className:i("line"),children:[(0,r5.jsxs)(D4,{children:[(0,r5.jsx)("div",{className:i("left left-check"),children:(0,r5.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:i("placeholder"),children:[(0,r5.jsx)("input",{id:n,type:"checkbox",className:i("checkbox")}),(0,r5.jsx)("span",{})]})}),(0,r5.jsx)("div",{className:i("left txt_title f14"),children:(0,r5.jsx)("label",{"html-for":n,title:c(o),"data-test":o,children:c(o)})})]}),(0,r5.jsxs)("div",{className:i("left txt_value"),"data-test":n,children:[t.gridDragTriangle||"",(0,r5.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:i("placeholder"),children:[(0,r5.jsx)("input",{type:"checkbox",className:i("checkbox")}),(0,r5.jsx)("span",{})]}),(0,r5.jsx)(gpe,{style:{marginBottom:s?"0":"19px"},value:d,noTips:!0,disabled:s,onChange:p}),!s&&(0,r5.jsx)("div",{className:i("tip"),"data-test":"Ctrl / Shift / Alt + Enter for new line",title:c("Ctrl / Shift / Alt + Enter for new line"),style:{marginLeft:"1px",color:"#978e8e",position:"absolute",top:"72px",left:"17px",fontSize:"12px",width:"84%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:c("Ctrl / Shift / Alt + Enter for new line")})]})]},o)}var zVi=L(Se());var FVi=L(nO());var bM=L(z()),hLr=t=>{let{title:e,onChange:i}=t,{locals:o}=FVi.default,r=be.bind(o),n=J(),a=(0,zVi.useCallback)(l=>{let c,d;for(let u in l){switch(u){case"fontWeight":c=l[u]?"bold":"normal",d="attr-font-weight";break;case"italic":c=l[u]?"italic":"normal",d="attr-font-style";break;case"underline":c=l[u]?"underline":"inherit",d="attr-font-underline";break;default:break}i(d,c)}},[]),s={...t,onChange:a};return(0,bM.jsxs)("div",{className:r("line"),children:[(0,bM.jsxs)(D4,{children:[(0,bM.jsx)("div",{className:r("left-check"),children:(0,bM.jsxs)("span",{style:{position:"relative",visibility:"hidden"},children:[(0,bM.jsx)("input",{id:e,type:"checkbox",className:r("checkbox")}),(0,bM.jsx)("span",{})]})}),(0,bM.jsx)("div",{className:r("txt_title"),children:(0,bM.jsx)("label",{htmlFor:e,title:n(e),"data-test":e,children:n(e)})})]}),(0,bM.jsxs)("div",{className:r("txt_value"),"data-test":name,children:[(0,bM.jsxs)("span",{style:{position:"relative",visibility:"hidden"},children:[(0,bM.jsx)("input",{type:"checkbox",className:r("checkbox")}),(0,bM.jsx)("span",{})]}),(0,bM.jsx)(J_,{...s},JSON.stringify(t))]})]})},UVi=hLr;var uQe=L(Se());var VVi=L(nO());var Pu=L(z()),fLr=t=>{let{widthTitle:e="Width",heightTitle:i="Height",attrWidth:o,attrHeight:r,attrUnit:n,needRefreshBtn:a=!1,beforeChange:s=[],onChange:l,disabled:c,needKeepRationBtn:d=!1,widthName:u,heightName:p,linkedKey:m}=t,h=be.bind(VVi.default.locals),f=J(),[g,b]=(0,uQe.useState)(()=>{let w=localStorage.getItem(`${m}_linked-width-height`)==="1";return{attrWidthValue:o,attrHeightValue:r,attrUnitValue:n,isWidthHeightLinked:w}}),y=(w,x)=>{let S=null,T=null;if(d&&g.isWidthHeightLinked){let I=parseFloat(g.attrWidthValue.toString())/parseFloat(g.attrHeightValue.toString());w===u?(S=x,T=I===1?x:x/I):w===p&&(S=I===1?x:x*I,T=x)}else w===u?(S=x,T=g.attrHeightValue):w===p&&(S=g.attrWidthValue,T=x);b(I=>({...I,attrWidthValue:S,attrHeightValue:T}));let M={name:w,[u]:aO(s,u,S),[p]:aO(s,p,T)};l("attr-width-height-pair",M,g.isWidthHeightLinked)};return(0,Pu.jsxs)("div",{className:h("line"),children:[(0,Pu.jsxs)(D4,{style:{flexDirection:"column",gap:"14px"},children:[(0,Pu.jsxs)("div",{className:h("flex"),children:[(0,Pu.jsx)("div",{className:h("left-check"),children:(0,Pu.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:"placeholder",children:[(0,Pu.jsx)("input",{type:"checkbox",className:"checkbox"}),(0,Pu.jsx)("span",{})]})}),(0,Pu.jsx)("div",{className:h("txt_title"),children:(0,Pu.jsx)("label",{title:f(e),"data-test":e,children:f(e)})})]}),(0,Pu.jsxs)("div",{className:h("flex"),style:{},children:[(0,Pu.jsx)("div",{className:h("left-check"),children:(0,Pu.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:"placeholder",children:[(0,Pu.jsx)("input",{type:"checkbox",className:"checkbox"}),(0,Pu.jsx)("span",{})]})}),(0,Pu.jsx)("div",{className:h("txt_title"),children:(0,Pu.jsx)("label",{title:f(i),"data-test":i,children:f(i)})})]})]}),(0,Pu.jsxs)("div",{className:h("txt_value"),"data-test":u+"_"+p,children:[t.gridDragTriangle||"",(0,Pu.jsxs)("div",{style:{marginRight:"8px"},className:h("flex flex-column flex-1"),children:[(0,Pu.jsxs)("div",{className:h("flex"),"data-test":u,children:[(0,Pu.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:"placeholder",children:[(0,Pu.jsx)("input",{type:"checkbox",className:"checkbox"}),(0,Pu.jsx)("span",{})]}),(0,Pu.jsx)(or,{name:u,disabled:c,value:g.attrWidthValue,inputUnit:g.attrUnitValue,onChange:w=>{w===g.attrWidthValue||Number.isNaN(w)||y(u,w)},style:{marginBottom:"8px"}}),a&&(0,Pu.jsx)("span",{className:"attr-reset icon-eda-refresh-1  attr-reset-image",title:f("Restore Original Scale"),onClick:()=>{l("attr-reset-image-width",!0)}})]}),(0,Pu.jsxs)("div",{className:h("flex"),"data-test":p,children:[(0,Pu.jsxs)("span",{style:{position:"relative",visibility:"hidden"},className:"placeholder",children:[(0,Pu.jsx)("input",{type:"checkbox",className:"checkbox"}),(0,Pu.jsx)("span",{})]}),(0,Pu.jsx)(or,{name:p,disabled:c,value:g.attrHeightValue,inputUnit:g.attrUnitValue,onChange:w=>{w===g.attrHeightValue||Number.isNaN(w)||y(p,w)}}),a&&(0,Pu.jsx)("span",{className:"attr-reset icon-eda-refresh-1  attr-reset-image",title:f("Restore Original Scale"),onClick:()=>{l("attr-reset-image-height",!0)}})]})]}),(0,Pu.jsxs)("div",{className:h("flex"),children:[d&&(0,Pu.jsx)("span",{onClick:()=>{b(w=>(localStorage.setItem(`${m}_linked-width-height`,w.isWidthHeightLinked?"0":"1"),{...w,isWidthHeightLinked:!w.isWidthHeightLinked}))},title:f(g.isWidthHeightLinked?"Keep width/height ratio":"Not keep width/height ratio"),className:be(g.isWidthHeightLinked?"icon-eda-link":"icon-eda-unlink","equal-ratio-set-btn-panel",h("link-btn"))}),t.rightChildren]})]})]})},HVi=(0,uQe.memo)(fLr);var vI=L(z());function Jhe(t,e){switch(t){case"radio-list":return(0,vI.jsx)(NVi,{...e},e.name);case"text-input":return(0,vI.jsx)(_Vi,{...e},e.name);case"select":return(0,vI.jsx)(RVi,{...e},e.name);case"color":return(0,vI.jsx)(SVi,{...e},e.name);case"nine-grid":return(0,vI.jsx)(EVi,{...e},e.name);case"point":return(0,vI.jsx)(AVi,{...e},e.name);case"text-area":return(0,vI.jsx)(BVi,{...e},e.name);case"style":return(0,vI.jsx)(UVi,{...e},e.name);case"fill-stroke-pair":return(0,vI.jsx)(IVi,{...e},e.name);case"width-height-pair":return(0,vI.jsx)(HVi,{...e},e.name);default:return console.error(t,e,"Plz check code"),(0,vI.jsx)(vI.Fragment,{})}}var MB=L(z()),bLr=KS("span")`
	height: 100%;
	position: absolute;
	top: 2px;
	right: 15px;
	cursor: pointer;
	font-weight: bold;
`,WVi=(0,cY.createContext)({data:null,path:"",tabid:""}),QVi="panel-lib-left-meta",jDt;async function BDt(t){let[e,i]=t.split("@"),o=await cc.getPanelLibData(e,null,{path:i});jDt=jDt||(0,YVi.createRoot)(document.getElementById(QVi)),jDt.render((0,MB.jsx)(cY.default.StrictMode,{children:(0,MB.jsx)(WVi.Provider,{value:{data:o,path:i,tabid:t},children:(0,MB.jsx)(cY.Suspense,{children:(0,MB.jsx)(wLr,{},Date.now())})})}))}function yLr({data:t,path:e,tabid:i}){return function(r,n){var a,s;switch(n.title=n.name,n.onChange=(l,c)=>{GVi(l,e,c,t)},n.beforeChange=[],r){case"Panel Lib":n.value=t.display_title,n.gridDragTriangle=(0,MB.jsx)(M3,{propertyPanelId:QVi}),n.beforeChange.push((l,c)=>dh(c,1,128,!1,"Panel Lib")?c:!1);break;case"Category":{let l=t.tags;n.value=[(a=l.parent_tag)==null?void 0:a.name,(s=l.child_tag)==null?void 0:s.name].filter(Boolean).join(":"),n.onClick=async function(){let d={docType:Yi.PANEL_LIB,userId:t.owner.uuid||C.loginedUserInfo.uuid,path:e},u=await C1(d);if(u.confirm){let m=u.tag.pathName;GVi("Category",e,m.split(":"),t)}},n.rightChildren=(0,MB.jsx)(bLr,{onClick:n.onClick,children:"..."})}break;case"Description":n.value=t.description;break}return n}}var wLr=cY.default.memo(function(){let e=[{name:"Panel Lib",componentType:"text-input"},{name:"Category",componentType:"text-input",readOnly:!0},{name:"Description",componentType:"text-area"}],i=[],o=(0,cY.useContext)(WVi),r=yLr(o);for(let n of e){let a=r(n.name,n);i.push(Jhe(n.componentType,a))}return(0,MB.jsx)(MB.Fragment,{children:i})},(t,e)=>!1),GVi=async(t,e,i,o)=>{var c,d;let r=wa(),n=r.split("@")[0],a=Object.create(null);a.title=o.display_title,a.path=e,a.tags=[];let s=(c=o.tags)==null?void 0:c.parent_tag.name,l=(d=o.tags)==null?void 0:d.child_tag.name;switch(s&&a.tags.push(s),l&&a.tags.push(l),a.description=o.description,t){case"Panel Lib":if(i==="")return;a.title=i,await cc.updatePanelLib(n,a),he.setTabText(r,i);break;case"Description":a.description=i,await cc.updatePanelLib(n,a);break;case"Category":a.tags=i,await cc.updatePanelLib(n,a);break;default:console.error("should handle this name",t);break}BDt(r)};var zDt=class{constructor(){this.saveAsDataStr=""}async openPanelLibByUuid(e,i){return await yn({uuid:e,path:i.path})}async mountLeftAttrData(e){BDt(e)}async getPanelLibData(e,i,o){let r=Object.create(null);r.path=o.path;try{let n=await ts.fetchComponentItem(r.path===C.currentProject.projectId,e,r.path),a=n?n.result:null;if(a&&a.docType===ve.PANEL_LIB)return a}catch(n){switch(console.error(n),n.message){case"404":i&&i({doc_uuid:e,user_uuid:r.path,code:n.message});break;default:break}}return null}async getPanelLibSvg(e){return e.docType=ve.PANEL_LIB,e.viewBox=!0,(await C.messageBus.rpcCall("panel/generate-svg-str",e)).message}async panelLibPreview(e,i){let o=await cc.getPanelLibData(e,null,i);if(!o)return;let r=await cc.getPanelLibSvg(o);return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(r)))}async deletePanelLib(e,i){let o=!1;try{let r=Je?i.path:C.loginedUserInfo.uuid;return await Ze.deletePanelLib({isProject:!1,path:r,uuid:e}),o=!0,o}catch{return o}}async star(e,i){return await Ze.starPanelLib({isProject:!1,path:i,uuid:e}),!0}async unstar(e,i){return await Ze.unstarPanelLib({isProject:!1,path:i,uuid:e}),!0}getUrl(e,i){return e.replace("{uuid}",i)}async getPanelLibList(e){return await Ze.getPanelLibList(e)}async updatePanelLib(e,i){let o;i.uuid=e;try{o=await Ze.updatePanelLib({panelLib:{data:i},path:i.path,uuid:i.uuid,isProject:i.path===C.currentProject.projectId})}catch(r){switch(+r.message){case 1000001:De({msg:{value:"Panel Lib {value} duplicate name",options:{value:i.title}}});break}}return o}setSaveAsDataStr(e){this.saveAsDataStr=e}getSaveAsDataStr(){return this.saveAsDataStr}async createPanelLib(e){let i=C.loginedUserInfo,{title:o,desc:r,owner:n,path:a,data:s}=e;if(o.length<1||o.length>128){let h=me.i18n("The {0} length must be between {1}~{2} characters!",[me.i18n("Panel Lib"),1,128]);return Ut({type:"alert",message:h}),!1}a=a||n||i.uuid;let l=a===C.currentProject.projectId,c={title:o,description:r,tags:e.tags.filter(Boolean),docType:ve.PANEL_LIB,owner:n||i.uuid,path:a},d={panelLib:{data:c},path:a,isProject:l};s.uuid&&s.path&&(d.panelLib={override:c,uuid:s.uuid,path:s.path,isProject:l});let u,p,m;try{u=await Ze.createPanelLib(d)}catch(h){p=h.action,m=h.message}return u?(u.path=u.path||u.owner.uuid||i.uuid,Wa(u,1),await yn({data:u}),this.setSaveAsDataStr(""),!0):(this.onfailed(p,o,m),!1)}async fetch(e,i,o={}){let r="?";for(let l in o){let c=o[l];r+=l+"="+c+"&"}let n=i;e==="get"&&(n=i+r);let a={};e==="post"&&(a.method="post",a.headers={"Content-Type":"application/json"},a.body=JSON.stringify(o));let s=await fetch(n,a).then(l=>l.json());if(s.success)return s.result;throw console.error(s),new Error(s.code)}async import(e){let i=null,o="Import successfully!",r=!1,n=e.categoryName.filter(a=>!!a);try{let a=await la.importLibs({data:e.data.fileContent,target:{isProject:!C.currentProject||!C.currentProject.projectId?!1:e.owner===C.currentProject.projectId,path:e.owner},override:{panelLib:{tags:n,title:e.title,description:e.desc}}});if(i=a.successResult.panelLibs[0],i=i&&i.result?i.result:i,a&&a.failedResult&&a.failedResult.panelLibs.length)throw new Error(a.failedResult.panelLibs[0].message||"Import failed!")}catch{r=!0,o="Import failed!"}return r?(De({type:"error",msg:o}),this.onfailed(-1,e.title)):De({type:"success",msg:o}),i&&(Wa(i,1),_s(e.owner,Ls()),await yn({data:i})),!!r}async asCloud(e){let i=C.loginedUserInfo,{title:o,desc:r,owner:n,path:a,data:s}=e;a=Je?a:i.uuid;let l=a===C.currentProject.projectId,d={panelLib:{override:{title:o,description:r,tags:e.tags.filter(Boolean),docType:ve.PANEL_LIB,owner:n||i.uuid,path:a},uuid:s.uuid,path:s.path,isProject:l},path:a,isProject:l},u,p,m;try{u=await Ze.createPanelLib(d)}catch(h){p=h.action,m=h.message}return u?(u.path=u.path||u.owner.uuid||i.uuid,Wa(u,1),await yn({data:u}),this.setSaveAsDataStr(""),!0):(this.onfailed(p,o,m),!1)}onfailed(e,i,o){switch(e){case zo.PANELLIB_SAME_NAMA_EXISTS:De({msg:{value:"Panel Lib {value} duplicate name",options:{value:i}}});break;case zo.CREATE_PANEL_LIB_PERMISSIONS:De({type:"error",msg:"Permission denied",timer:3});break;default:Dt({icon:"error",closed:!0,content:me.i18n(o||"Document save as failure!")});break}}},cc=new zDt;var mQe=L(Se());var VDt=L(FDt());var e7=L(Se());var UDt=L(FDt());var E4=L(z()),{locals:CLr}=UDt.default,{delete_list:xLr}=CLr;function ZVi(t){return Je?t.project_uuid:t.owner.nickname?t.owner.nickname:t.owner.username}async function JVi({deviceData:t,isProjectLib:e}){let{classification:i}=Tr,o="";i.type==="personal"&&!Je?o=_o():i.type==="project"?o=C.currentProject.projectId:o=i.uuid;let r=Object();return t.forEach(n=>{var s,l,c,d,u,p,m;let a=lO(r,n.uuid,()=>({uuid:n.uuid,name:n.display_title,symbol:Object(),footprint:Object(),model3D:Object()}));a.symbol.uuid=n.attributes.Symbol,a.footprint.uuid=n.attributes.Footprint,a.model3D.uuid=(s=n.attributes["3D Model"])==null?void 0:s.split(jri)[0],a.symbol.name=n.symbol_name,a.footprint.name=n.footprint_name,a.model3D.name=n.attributes["3D Model Title"],a.model3D.docType=se.PCBLIB3D,(l=n.symbol_info)!=null&&l.owner&&((d=(c=n.symbol_info)==null?void 0:c.owner)==null?void 0:d.uuid)!==bn&&(a.symbol.owner=n.attributes.symbolOwner=ZVi(n.symbol_info)),(u=n.footprint_info)!=null&&u.owner&&((m=(p=n.footprint_info)==null?void 0:p.owner)==null?void 0:m.uuid)!==bn&&(a.footprint.owner=n.attributes.footprintOwner=ZVi(n.footprint_info)),n.footprint_info===null&&(a.footprint={})}),{device:r,isProjectLib:e}}function TLr(t,e){let i=J();Ae(UDt.default);let o=()=>{let g=[],b=[],y=[];for(let w in a){let x=a[w];x.symbol.name&&l&&g.push(x.symbol.uuid),x.footprint.name&&d&&b.push(x.footprint.uuid),x.model3D.name&&p&&y.push(x.model3D.uuid)}return{symbol:g,footprint:b,model3D:y}},r=t.isProjectLib?"Project":"",n=()=>({...t.device}),[a,s]=(0,e7.useState)(n),[l,c]=(0,e7.useState)(hn("SYSTEM").symbolLibManage!=="2"),[d,u]=(0,e7.useState)(!1),[p,m]=(0,e7.useState)(!1);(0,e7.useEffect)(()=>{s(n())},[t.device]),(0,e7.useEffect)(()=>{t.onChange(o())},[l,d,p]);let h=(0,e7.useMemo)(()=>({title:i([r,"Library Device"].join(" ").trim()),content:Object.values(a).map(g=>g.name).join("\u3001")}),[a]),f=()=>{let g=[],b=[],y=[];return Object.entries(a).forEach(([w,x])=>{x.symbol.name&&g.length<=0&&g.push((0,E4.jsx)("div",{children:(0,E4.jsx)($p,{defaultChecked:l,onChange:S=>{c(S)},children:(0,E4.jsx)("span",{children:`${i("Delete symbol too")}`})})},x.symbol.uuid)),x.footprint.name&&b.length<=0&&b.push((0,E4.jsx)("div",{children:(0,E4.jsx)($p,{defaultChecked:d,onChange:S=>{u(S)},children:(0,E4.jsx)("span",{children:`${i("Delete footprint too")}`})})},x.footprint.uuid)),x.model3D.name&&y.length<=0&&!wi&&y.push((0,E4.jsx)("div",{children:(0,E4.jsx)($p,{defaultChecked:p,onChange:S=>{m(S)},children:(0,E4.jsx)("span",{children:`${i("Delete 3D model too")}`})})},x.model3D.uuid))}),[g,b,y]};return(0,E4.jsxs)("div",{style:{paddingTop:"8px"},children:[(0,E4.jsx)("ul",{children:[h].map((g,b)=>g.content.length?(0,E4.jsxs)("li",{style:{display:"flex"},children:[(0,E4.jsxs)("span",{style:{whiteSpace:"nowrap",marginRight:"6px"},children:[g.title,":"]}),(0,E4.jsx)("span",{className:xLr,title:g.content,children:g.content})]},b):null)}),(0,E4.jsx)("div",{children:(0,E4.jsx)("div",{style:{padding:"8px 0px"},children:f()})}),(0,E4.jsx)("div",{children:i("Warming: Delete the symbol/footprint/3D model at the same time will impact the other binded devices!")})]})}var qVi=(0,e7.forwardRef)(TLr);var $he=L(Se());var A4=L(z());function SLr(t){let e=J(),[i,o]=(0,$he.useState)({sch:{title:"Schematic",list:[...t.schs].map(c=>({...c,checked:!0}))},pcb:{title:"PCB",list:[...t.pcbs].map(c=>({...c,checked:!0}))}}),r=()=>{let c=i.sch.list.filter(u=>u.checked).map(u=>u.schematicUuid),d=i.pcb.list.filter(u=>u.checked).map(u=>u.pcbUuid);return{sch:c,pcb:d}};(0,$he.useEffect)(()=>{t.onChange(r())},[i]);let n=c=>{o(c)},a=(0,$he.useMemo)(()=>!(i.sch.list.some(c=>!c.checked)||i.pcb.list.some(c=>!c.checked)),[i]),s=c=>{let d={...i};d.sch.list.forEach(u=>u.checked=c),d.pcb.list.forEach(u=>u.checked=c),n(d)},l=()=>{let c=[],d=[];return i.sch.list.forEach((u,p)=>{c.push((0,A4.jsx)("div",{children:(0,A4.jsx)($p,{defaultChecked:u.checked,children:(0,A4.jsx)("span",{children:`${e("Together Delete")} ${e(i.sch.title)} (${u.disPlayTitle})`}),onChange:m=>{let h={...i};h.sch.list[p].checked=m,n(h)}})},u.schematicUuid))}),i.pcb.list.forEach((u,p)=>{d.push((0,A4.jsx)("div",{children:(0,A4.jsx)($p,{defaultChecked:u.checked,children:(0,A4.jsx)("span",{children:`${e("Together Delete")} ${i.pcb.title} (${u.disPlayTitle})`}),onChange:m=>{let h={...i};h.pcb.list[p].checked=m,n(h)}})},u.pcbUuid))}),(0,A4.jsx)("div",{children:(0,A4.jsxs)("div",{style:{paddingTop:"8px"},children:[(0,A4.jsx)($p,{dataTest:"Select All",defaultChecked:a,onChange:s,children:e("Select All")}),[...c,...d]]})})};return(0,A4.jsxs)("div",{children:[(0,A4.jsxs)("div",{style:{display:"flex",padding:"8px 0",color:"var(--common-font-color)",maxHeight:"116px",overflow:"auto",minHeight:t.schs.length>0||t.pcbs.length>0?0:"100px"},children:[(0,A4.jsxs)("span",{style:{whiteSpace:"nowrap"},"data-test":"Project library reuse block symbol",children:[e("Project library reuse block symbol"),"\uFF1A"]}),(0,A4.jsx)("div",{children:t.cbbs.map((c,d)=>(0,A4.jsx)(A4.Fragment,{children:(0,A4.jsxs)("span",{style:{color:"#1890ff"},children:[d===0?"":"\u3001",c]},c)}))})]}),t.schs.length>0||t.pcbs.length>0?l():null]})}var XVi=SLr;var dy=L(z()),$Vi=be.bind(VDt.default.locals),eHi="This action will clear the history, You will not be able to undo/redo the previous action. Do you want to continue?";function MLr(){let t=J();Ae(VDt.default),Ce(rg);let e=t(rg.data.type);rg.data.tableType===Tt.CBB&&!rg.data.isProjectLib&&(e=t("project"));let i=t({value:"You are trying to delete the {xxx} as below, please be careful!",options:{xxx:e}}),o=(0,mQe.useMemo)(()=>{let r,{data:n}=rg;n.tableType===Tt.DEVICE?r=(0,dy.jsx)(qVi,{onChange:({symbol:u,footprint:p,model3D:m})=>{rg.checked.symbol=u,rg.checked.footprint=p,rg.checked.model3D=m},...rg.deviceInfo}):n.tableType===Tt.CBB&&n.libType===Yt.PROJECT&&(r=(0,dy.jsx)(XVi,{schs:n.cbb.schs,pcbs:n.cbb.pcbs,cbbs:n.names,onChange:({sch:u,pcb:p})=>{rg.checked.sch=u,rg.checked.pcb=p}}));let a=n.names.join("\u3001"),s=(0,dy.jsx)("span",{className:$Vi("delete_list"),title:a,children:a}),l="";n.tableType===Tt.SYMBOL?l=t("Warming: Delete the symbol(s) will impact the other binded devices!"):n.tableType===Tt.FOOTPRINT?l=t("Warming: Delete the footprint(s) will impact the other binded devices!"):n.tableType===Tt.MODEL3D?l=t("Warming: Delete the 3d model(s) will impact the other binded devices!"):n.tableType===Tt.MODEL_SIM_LIB&&(l=t("Warming: Delete the Simulation model(s) will impact the other binded devices!"));let c=(0,dy.jsxs)(dy.Fragment,{children:[s,(0,dy.jsx)("div",{style:{paddingTop:"8px"},children:l})]});return r||c},[rg.data]);return(0,dy.jsxs)("div",{className:$Vi("content"),children:[(0,dy.jsx)("p",{"data-test":i,children:t(i)}),rg.data.isProjectLib&&(0,dy.jsx)("p",{"data-test":eHi,children:t(eHi)}),(0,dy.jsx)("div",{style:{padding:"8px 0",maxHeight:"380px",overflow:"auto"},children:o})]})}function ILr(){let t=J();Ce(rg);let e=(0,mQe.useRef)(null);return(0,dy.jsxs)("footer",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},children:[(0,dy.jsx)($p,{defaultChecked:rg.isPermit,onChange:i=>{rg.setIsPermit(i),e.current.setStatus(!i)},children:t("I got it, continue to delete.")}),(0,dy.jsxs)("div",{className:"btns",children:[(0,dy.jsx)(ml,{ref:e,disabled:!rg.isPermit,type:"primary",size:"md",class:"confirmTextClass",onClick:async()=>{rg.delete()},style:{marginRight:"8px"},children:"Delete"}),(0,dy.jsx)(ml,{size:"md",onClick:()=>rg.cancel(),children:"Cancel"})]})]})}var rg=new class extends qe{constructor(){super(...arguments);this.id="batch-delete";this.isPermit=!1;this.checked={footprint:[],symbol:[],model3D:[],sch:[],pcb:[]};this.deviceInfo=Object();this.data={type:"",res:null,rowData:null,tableType:void 0,isProjectLib:void 0,cbb:{schs:[],pcbs:[]},names:[],libType:void 0}}reset(){this.isPermit=!1,it(this.checked,(e,i)=>{i.length=0}),this.deviceInfo=Object()}setIsPermit(e){this.isPermit=e,this.notify()}async delete(){if(!this.isPermit)return;let{tableType:e,res:i,rowData:o,isProjectLib:r,origin:n,path:a}=this.data,s=[...this.checked.symbol],l=[...this.checked.footprint],c=[...this.checked.model3D],d=a||(r?C.currentProject.projectId:Tr.classification.uuid),u=e==Tt.DEVICE?o.map(f=>f.uuid):[];for(let f=0;f<o.length;f+=1)await ew(o[f],e,r,!1,!1,d,s,l,c,u,n);let p=this.checked.sch,m=this.checked.pcb;(p.length>0||m.length>0)&&C.messageBus.publish("leftTreeDelete",{toDelSchs:p,toDelSheets:[],toDelPanels:[],toDelPcbs:m,toDelBoards:[],toDelCbbs:[]}),this.checked.sch.length=0,this.checked.pcb.length=0,this.checked.footprint.length=0,this.checked.symbol.length=0;let h={footprint:{},symbol:{},model3D:{}};if(o.forEach(f=>{f.symbol&&(h.symbol[f.symbol.uuid]=f.symbol.display_title),f.footprint&&(h.footprint[f.footprint.uuid]=f.footprint.display_title),f.model3D&&(h.model3D[f.model3D.uuid]=f.model3D.name)}),s.length>0){let f={text:"Delete symbol at the same time failed, no permission or it was deleted: {symbols}",attr:{symbols:s.map(g=>h.symbol[g]||g).join(", ")}};C.messageBus.publish("bottomBarLog",{type:"info",msg:Ti(f.text,{params:f.attr})})}if(l.length>0){let f={text:"Delete footprint at the same time failed, no permission or it was deleted: {footprints}",attr:{footprints:l.map(g=>h.footprint[g]||g).join(", ")}};C.messageBus.publish("bottomBarLog",{type:"info",msg:Ti(f.text,{params:f.attr})})}if(c.length>0){let f={text:"Delete 3D model at the same time failed, no permission or it was deleted: {models}",attr:{models:c.map(g=>h.model3D[g]||g).join(", ")}};C.messageBus.publish("bottomBarLog",{type:"info",msg:Ti(f.text,{params:f.attr})})}le.destroy(this.id)}cancel(){le.destroy(this.id)}};async function Yq(t){let e="Document";t.tableType===Tt.CBB&&t.libType!==Yt.PROJECT&&(e=t.libType),t.type=e,rg.reset();let i=t.tableType===Tt.DEVICE?await JVi({deviceData:t.rowData,isProjectLib:t.isProjectLib}):Object();rg.deviceInfo=i,i.device&&t.rowData.forEach(o=>{o.model3D=i.device[o.uuid].model3D}),rg.data=t,Dt({id:rg.id,title:"Warning",icon:"warning",width:400,height:"auto",content:(0,dy.jsx)(MLr,{}),footer:(0,dy.jsx)(ILr,{}),showCancel:!1,showConfirm:!1,onClose(){},closed:!0,esc:!0})}var rEt=L(Vi());var HDt=L(z()),_ne="componentLidTableContextMenuId",Wq=["Footprint","Manufacturer"],efe=(t,e)=>[{key:"index",name:t("No."),sortable:!0,width:50},{key:"cate",name:t("Category"),sortable:!0,width:e},{key:"description",name:t("Description"),sortable:!0,width:e},{key:"update_time",name:t("Update Time"),sortable:!0,width:e},{key:"belong",name:t("Belong"),sortable:!0,width:e},{key:"last_modifier",name:t("Last modified by"),sortable:!0,width:e}];var GDt=(t,e)=>{let i=e?.125:.14285714285714285,o={key:"display_title",name:t("Symbol"),sortable:!0,width:i},r={key:"doc_type",name:t("Document Type"),sortable:!0,width:i},n={key:"version_time",name:t("Version"),sortable:!0,width:i},a=efe(t,i);return e?a.splice(1,0,o,r,n):a.splice(1,0,o,r),a},tHi=(t,e)=>{let i=e?.14285714285714285:.16666666666666666,o={key:"display_title",name:t("Footprint"),sortable:!0,width:i},r={key:"version_time",name:t("Version"),sortable:!0,width:i},n=efe(t,i);return e?n.splice(1,0,o,r):n.splice(1,0,o),n},iHi=(t,e)=>{if(Je)return[{key:"index",name:t("No."),sortable:!0,width:50},{key:"display_title",sortKey:["display_title","title"],name:t("Reuse Block"),sortable:!1,width:1/2,render:a=>(0,HDt.jsx)(TV,{...a})},{key:"description",name:t("Description"),sortable:!0,width:1/2}];let i=e?1/7:1/6,o={key:"display_title",sortKey:["display_title","title"],name:t("Reuse Block"),sortable:!1,width:i,render:a=>(0,HDt.jsx)(TV,{...a})},r={key:"version_time",name:t("Version"),sortable:!0,width:i},n=efe(t,1/6);return e?n.splice(1,0,o,r):n.splice(1,0,o),n},oHi=t=>{let e=Je?.5:.2,i={key:"display_title",name:t("3D Model"),sortable:!0,width:e},o=efe(t,e);return Je?(o.splice(1,2),o.splice(2,2)):o.splice(2,1),o.splice(1,0,i),o},rHi=t=>{let e=Je?.5:.2,i={key:"display_title",name:t("Simulation Model"),sortable:!0,width:e},o=efe(t,e);return Je?(o.splice(1,2),o.splice(2,2)):o.splice(2,1),o.splice(1,0,i),o},nHi=t=>{let e={key:"display_title",name:t("Panel Lib"),sortable:!0,width:.16666666666666666},i=efe(t,1/6);return i.splice(1,0,e),i};var YDt=(o=>(o.device="Device Type",o.symbol="Symbol Type",o.modelSimLib="SimModel Type",o))(YDt||{}),tfe=(c=>(c._2="Component Symbol",c._17="Block Symbol",c._18="Netflag Symbol",c._19="Netport Symbol",c._20="Drawing Symbol",c._21="Non-Electronic Symbol",c._22="Short Flag",c._25="Off Page Connector Symbol",c._31="Differential Pairs Flag Symbol",c))(tfe||{});var WDt=(a=>(a[a.footprint=4]="footprint",a[a.cbb=17]="cbb",a[a.model3D=16]="model3D",a[a.panelLib=29]="panelLib",a[a.NGSPICE_MODEL=7]="NGSPICE_MODEL",a[a.SIMULIDE_MODEL=32]="SIMULIDE_MODEL",a))(WDt||{});var hHi=L(Vi());var Bne=L(Vi());var yMe={width:1920,height:1360,maxSize:300*1024},LLr=[ve.SCH,ve.BLOCK_SYMBOL,ve.SIMULIDE,ve.NGSPICE],jne="generateProjectSheetPreviewImage",ife=yMe.maxSize,ofe=100,aHi=10,LD=class{constructor(){this.canvas=document.createElement("canvas"),this.ctx=this.canvas.getContext("2d")}canvas2Blob(e,i){return new Promise((o,r)=>{try{this.canvas.toBlob(n=>{o(n)},e,i/100)}catch(n){r(n)}})}test(){let e=this.canvas.toDataURL("image/webp");console.warn(e)}async getBlob(e,i,o){this.canvas.width=e,this.canvas.height=i,this.ctx.putImageData(new ImageData(o,e,i),0,0);let r={quality:ofe,size:ife},n={quality:aHi,size:0},a=null,s="image",l,c=ofe;for(;(!a||a.size>ife)&&(l=await this.canvas2Blob("image/webp",c),a=new File([l],s,{type:"image/webp"}),!(c<=n.quality));)r.quality=c,c=Math.floor((r.quality+n.quality)/2);return l}async getBase64Images(e,i,o){this.canvas.width=e,this.canvas.height=i,this.ctx.putImageData(new ImageData(o,e,i),0,0);let r={quality:ofe,size:ife},n={quality:aHi,size:0},a=null,s="image",l,c=ofe,d;for(;(!a||a.size>ife)&&(d=this.canvas.toDataURL("image/webp",c),l=uHi(d),a=new File([l],s,{type:"image/webp"}),!(c<=n.quality));)r.quality=c,c=Math.floor((r.quality+n.quality)/2);return d}async getImages(e){var o;let i=(await C.messageBus.rpcCall(Ei.BRANCH.LIST,{uuid:e,getStartNode:!0,isNotPage:"yes"})).message;if(i.success&&i.result.lists.length>0){let r=(o=i.result.lists.find(n=>n.default))==null?void 0:o.uuid;if(r){let n=C.apis.others.updateImage;return n=n.replace("{projectUuid}",e),n=n.replace("{branchUuid}",r),await cHi(e,r)}}}getBlob1BySrc(e,i,o,r,n,a){return new Promise((s,l)=>{let c=new Image;c.src=e;let d=this,u;c.onload=async function(){d.canvas.height=o,d.canvas.width=i;let p=Math.abs(Math.ceil((i-r)/2)),m=Math.abs(Math.ceil((o-n)/2));d.ctx.fillStyle=a,d.ctx.fillRect(0,0,i,o),d.ctx.drawImage(c,p,m,r,n);let h=ofe,f=null,g="image",b={quality:ofe,size:ife},y={quality:40,size:0};for(;(!f||f.size>ife)&&(u=await d.canvas2Blob("image/webp",h),f=new File([u],g,{type:"image/webp"}),!(h<=y.quality));)b.quality=h,h=Math.floor((b.quality+y.quality)/2);s(u)},c.onerror=p=>{l(p)}})}async generatePreviewImagePcb(e,i,o){he.getTabDocType(e)===ve.PCB&&await this.generatePreviewImagePcbCore(e,i,o)}async generatePreviewImagePcbCore(e,i,o,r=!1){let n=o||await he.getTabIFrame(e);if(!n)return;let a=U0(e)[0],s=await vLr(a,n);if(s){let{width:l,height:c,data:d}=s,u=await Qq(a,i),p=await this.getBlob(l,c,d);await QDt(a,p,i,u)}if(r)return this.canvas.toDataURL("image/webp")}async generatePreviewImageSch(e,i,o,r=!1){if(o=o||he.getTabDocType(e),!LLr.includes(o))return;let n=await ELr(e);if(n){let{data:a,width:s,height:l}=n,c=U0(e)[0],d=await Qq(c,i),u=await this.getBlob(s,l,a);await QDt(e,u,i,d)}if(r)return this.canvas.toDataURL("image/webp")}async generatePreviewImagePanel(e,i,o,r){let n=o||await he.getTabIFrame(e);if(!n||(r=r||he.getTabDocType(e),r!==ve.PANEL))return;let a=U0(e)[0],s=await DLr(a,n);if(s){let{canvasW:l,canvasH:c,imgW:d,imgH:u,pngSrc:p,themeBgColor:m}=s,h=await Qq(a,i),f=await this.getBlob1BySrc(p,l,c,d,u,m);await QDt(a,f,i,h)}}};async function vLr(t,e){return(await C.windowBridge.rpcCall("exportPCBPng",{width:yMe.width,height:yMe.height,tabId:t},e.contentWindow)).message}async function DLr(t,e){let{message:i}=await C.windowBridge.rpcCall(kt.Panel.GetPanelCanvasImg,yMe,e.contentWindow);return i}async function ELr(t){return(await C.messageBus.rpcCall("getCanvasPreviewImgData",{...yMe,tabId:t})).message}async function Qq(t,e){return Number((await C.messageBus.rpcCall($e.PROJECT.GET_DOC_MAX_TICKET,[t,e])).message)}async function QDt(t,e,i,o){let[r,n]=U0(t),a=await Pr.getVersion();await sHi(r,i,a.uuid,e,o)}async function sHi(t,e,i,o,r){(await C.messageBus.rpcCall(Kde.UPLOAD,[[{uuid:t,blob:o,ticket:r}],e,i])).message.success||console.error("UploadPreviewImage error")}async function lHi(t,e){let i=await Pr.getVersion();(await C.messageBus.rpcCall(Kde.DELETE,[[t],e,i.uuid])).message.success||console.error("DeletePreviewImage error")}async function ALr(t){return(await C.messageBus.rpcCall($e.PCB.GET_ALL_KEYS,[t])).message}async function NLr(t){return(await C.messageBus.rpcCall($e.SHEET.GET_ALL_KEYS,[void 0,t])).message}async function kLr(t){return(await C.messageBus.rpcCall($e.PANEL.GET_ALL_KEYS,[t])).message}async function PLr(t){return(await C.messageBus.rpcCall($e.SIMULATION.GET_ALL_KEYS,[t])).message}async function OLr(t){return(await C.messageBus.rpcCall($e.SYMBOL.GET_TYPE_KEYS,[!0,t])).message}async function RLr(t,e,i,o,r,n,a){if(!(t!=null&&t.length))return{sheetIds:e,panelIds:o,pcbIds:i,blockSymbolIds:r,simIds:n};let s={sheetIds:[],panelIds:[],pcbIds:[],blockSymbolIds:[],simIds:[]};for(let l=0;l<(e==null?void 0:e.length);l+=1){let c=e[l],d=!0;for(let u=0;u<(t==null?void 0:t.length);u+=1){let p=t[u];p.uuid===c&&(p.url&&p.ticket&&await Qq(c,a)===Number(p.ticket)&&(d=!1),t.splice(u,1))}d&&s.sheetIds.push(c)}for(let l=0;l<(i==null?void 0:i.length);l+=1){let c=i[l],d=!0;for(let u=0;u<(t==null?void 0:t.length);u+=1){let p=t[u];p.uuid===c&&(p.url&&p.ticket&&await Qq(c,a)===Number(p.ticket)&&(d=!1),t.splice(u,1))}d&&s.pcbIds.push(c)}for(let l=0;l<(o==null?void 0:o.length);l+=1){let c=o[l],d=!0;for(let u=0;u<(t==null?void 0:t.length);u+=1){let p=t[u];p.uuid===c&&(p.url&&p.ticket&&await Qq(c,a)===Number(p.ticket)&&(d=!1),t.splice(u,1))}d&&s.panelIds.push(c)}for(let l=0;l<(r==null?void 0:r.length);l+=1){let c=r[l],d=!0;for(let u=0;u<(t==null?void 0:t.length);u+=1){let p=t[u];p.uuid===c&&(p.url&&p.ticket&&await Qq(c,a)===Number(p.ticket)&&(d=!1),t.splice(u,1))}d&&s.blockSymbolIds.push(c)}for(let l=0;l<(n==null?void 0:n.length);l+=1){let c=n[l],d=!0;for(let u=0;u<(t==null?void 0:t.length);u+=1){let p=t[u];p.uuid===c&&(p.url&&p.ticket&&await Qq(c,a)===Number(p.ticket)&&(d=!1),t.splice(u,1))}d&&s.simIds.push(c)}return s}function _Lr(){let t=(0,Bne.default)(".preview-iframe-panel-wrap"),e="previewImagePanel",i=(0,Bne.default)("iframe",t);if(i.length)return Promise.resolve({fromInit:!1,$iframe:i});{let o=g1(t[0],e,ve.PANEL,!1);return i=(0,Bne.default)(o),new Promise(r=>{i[0].onload=async function(){r({fromInit:!0,$iframe:i})}})}}async function jLr(t){let{fromInit:e,$iframe:i}=await _Lr(),o=lo(t),r={docType:ve.PANEL,tabId:o},[n,a]=U0(o);return await C.windowBridge.rpcCall("syncImportDocEdit",{uuid:n,path:a,options:r},i[0].contentWindow),i[0]}function BLr(){let t=(0,Bne.default)(".preview-iframe-pcb-wrap"),e="previewImagePcb",i=(0,Bne.default)("iframe",t);if(i.length)return Promise.resolve({fromInit:!1,$iframe:i});{let o=g1(t[0],e,ve.PCB,!1);return i=(0,Bne.default)(o),new Promise(r=>{i[0].onload=async function(){r({fromInit:!0,$iframe:i})}})}}async function zLr(t){let{fromInit:e,$iframe:i}=await BLr(),o={docType:ve.PCB,tabId:lo(t),commSystemSetting:hn(),isPreview:!0,currOpenProjectId:C.currentProject.projectId};return e?await C.windowBridge.rpcCall("rpcInitFrameInfo",o,i[0].contentWindow):await C.windowBridge.rpcCall("loadPCB",o,i[0].contentWindow),i[0]}async function cHi(t,e){let i=(await C.messageBus.rpcCall(Kde.LIST,[t,e])).message;if(i.success)return i.result;console.error("GetThumbList error")}async function Kq(t){let e=(await C.messageBus.rpcCall(Kde.GET,[t])).message;if(e.success)return e.result;console.error("GetThumbBlob error")}async function dHi(t){let e=.01,i=!1,o=()=>{i=!0};vt(e,jne);let r=await Pr.getVersion(),n=await cHi(t,r.uuid),a=await NLr(t),s=await ALr(t),l=await kLr(t),c=await OLr(t),d=await PLr(t),{sheetIds:u,panelIds:p,pcbIds:m,blockSymbolIds:h,simIds:f}=await RLr(n,a,s,l,c,d,t);e=.05,vt(e,jne,void 0,o);let g=u.length+p.length+m.length+h.length+f.length,b=new LD;if(!i){for(let y=0;y<(u==null?void 0:u.length);y+=1){if(i)return;let w=u[y],x=lo(w);await b.generatePreviewImageSch(x,t,ve.SCH)}if(e+=u.length/g,vt(e,jne,void 0,o),!i){for(let y=0;y<(h==null?void 0:h.length);y+=1){if(i)return;let w=h[y],x=lo(w);await b.generatePreviewImageSch(x,t,ve.BLOCK_SYMBOL)}if(e+=h.length/g,vt(e,jne,void 0,o),!i){for(let y=0;y<(m==null?void 0:m.length);y+=1){if(i)return;let w=m[y],x=lo(w),S=await zLr(w);await b.generatePreviewImagePcbCore(x,t,S)}if(e+=m.length/g,vt(e,jne,void 0,o),!i){for(let y=0;y<(p==null?void 0:p.length);y+=1){if(i)return;let w=p[y],x=await jLr(w),S=lo(w);await b.generatePreviewImagePanel(S,t,x)}if(e+=p.length/g,vt(e,jne,void 0,o),!i){for(let y=0;y<(f==null?void 0:f.length);y+=1){if(i)return;let w=f[y],x=lo(w);await b.generatePreviewImageSch(x,t,ve.NGSPICE)}vt(1,jne)}}}}}}async function IB(t,e,i,o,r,n,a){t||a&&a();let s,l=n?r:o==null?void 0:o.uuid;if(!e||!l)return console.error(`symbolPreview: failed preview uuid:${e} path:${l}`),{symbol:void 0,thumb:s,isOldCbb:!1};o!=null&&o.branch_uuid&&(s=await JDt(o.uuid,o.branch_uuid,e,!1));let{symbol:c,isOldCbb:d}=await KDt(t,e,i,o,r,n);return{symbol:c,thumb:s,isOldCbb:d}}async function KDt(t,e,i,o,r,n){let a,s=!1,l=n?r:o==null?void 0:o.uuid;return!e||!l?{symbol:a,isOldCbb:s}:(o!=null&&o.branch_uuid?a={schematic_uuid:t,...i,project_uuid:r||(o==null?void 0:o.uuid),project_branch_uuid:o==null?void 0:o.branch_uuid}:(a=await Ze.getSymbol({path:l,isProject:l===C.currentProject.projectId,uuid:e}),s=!0),{symbol:a,isOldCbb:s})}async function ZDt(t,e){let i=C.apis.others.getImage;return i=i.replace("{projectUuid}",t),i=i.replace("{branchUuid}",e),(await hHi.default.ajax(i,{type:"GET",processData:!1,contentType:!1,headers:{path:t}})).result}async function JDt(t,e,i,o=!1){var a;let n=(a=(await ZDt(t,e)).filter(s=>s.uuid===i)[0])==null?void 0:a.url;return!n&&o&&(n=_pe),n}async function qDt(t,e,i){var r,n;let o;return i.type===Yt.EXTEND||C.extendLibStore.manager.hasLib(i.uuid)?o={...(n=(r=t==null?void 0:t.schematics)==null?void 0:r[0])!=null?n:{},fromLibUuid:i.uuid}:o=t.schematics.find(a=>a.uuid===e),o}async function XDt(t,e,i,o,r,n){return t!=null&&t.branch_uuid&&(i=await JDt(t.uuid,t.branch_uuid,e)),{placeData:await $Dt(t,e,o,r,n),thumb:i}}async function $Dt(t,e,i,o,r){var a,s;let n;if(Je&&!t.branch_uuid){let l={uuids:[e],docType:se.PCB,projectId:i},{message:c}=await C.messageBus.rpcCall(Ei.DOCUMENT.LIST,l);c.success&&(n=c.result[0])}else o.type===Yt.EXTEND||C.extendLibStore.manager.hasLib(o.uuid)?n={...(s=(a=t==null?void 0:t.pcb)==null?void 0:a[0])!=null?s:{},fromLibUuid:o.uuid,docType:se.PCB}:n={uuid:e,project_uuid:i||t.uuid,title:r,docType:se.PCB,project_branch_uuid:t.branch_uuid};return n}async function eEt(t,e,i,o,r,n,a){return t!=null&&t.branch_uuid&&(o=await JDt(t.uuid,t.branch_uuid,e)),{placeData:await tEt(t,e,i,r,n,a),thumb:o}}async function tEt(t,e,i,o,r,n){var s,l;let a;if(Je&&!t.branch_uuid){let c={uuids:[e],docType:se.SCH,projectId:o},{message:d}=await C.messageBus.rpcCall(Ei.DOCUMENT.LIST,c);d.success&&(a=d.result[0])}else r.type===Yt.EXTEND||C.extendLibStore.manager.hasLib(r.uuid)?a={...(l=(s=t==null?void 0:t.schs)==null?void 0:s[0])!=null?l:{},fromLibUuid:r.uuid,docType:se.SCH}:a={uuid:e,project_uuid:o||t.uuid,title:n,docType:se.SCH,schematic_uuid:i,project_branch_uuid:t.branch_uuid};return a}async function fHi(t,e,i){var f,g,b;let o=dt(),r=((f=t==null?void 0:t.attributes)==null?void 0:f.Symbol)||t.uuid,n=(t==null?void 0:t.docType)||(t==null?void 0:t.symbol_type),a,s,l,c,d=!0,{display_title:u,schUuidToCbbSymbolDetailMap:p,project_detail:m,project_uuid:h}=t;if(u)if(e){if(o===se.PCB){let T={uuid:r,projectId:h},{message:M}=await C.messageBus.rpcCall(Ei.DOCUMENT.GET,T);a=M}let{message:y}=await C.messageBus.rpcCall($e.SCHEMATIC.GET_UUID_BY_NAME,[u,h]),{symbol:w,thumb:x,isOldCbb:S}=await IB(y,r,t,m,h,e);return{placeData:a||w,thumb:x,isOldCbb:S,symbol:w}}else{let{type:y,title:w,project_uuid:x}=u;if(y===xr.SCH){let S=(g=p[r])==null?void 0:g.uuid;if(n=se.BLOCK_SYMBOL,!S)d=!1,a=await qDt(m,r,i);else{let{symbol:T,thumb:M,isOldCbb:I}=await IB(r,(b=p[r])==null?void 0:b.uuid,p[r],m,x,e);a=T,c=T,s=M,l=I}}else if(y===xr.PCB){let{placeData:S,thumb:T}=await XDt(m,r,t.thumb,x,i,w);a=S,s=T}else if(y===xr.SHEET){let{placeData:S,thumb:T}=await eEt(m,r,t.schUuid,t.thumb,x,i,w);a=S,s=T}else xr.PRJ;return{placeData:a,thumb:s,isOldCbb:l,hasBlockSymbol:d,symbol:c}}}async function gHi(t,e){var c;let i={},o=(await C.messageBus.rpcCall($e.PCB.GET_BY_TITLE,[t,C.currentProject.projectId])).message;o==null&&C.messageBus.publish("ui/toastMsg",{type:"warn",msg:"Place content empty!"});let{uuid:r,docType:n,project_uuid:a}=o,s=a||C.currentProject.projectId||e;i[t]={uuid:r,docType:n,projectId:s,env:{tabId:r+Zc+s,windowTabId:(c=ko())==null?void 0:c._TAB_ID_}};let l=await Ra();C.windowBridge.publish("toggle",{command:"placePcb",module:i},l)}async function FLr(t,e,i={}){let{beforePlaceCb:o,hooks:r,placeInfo:n}=i,a=e.project_uuid;t==se.PCB?(o&&await o(),await gHi(e.title,a)):t===se.SCH&&(o&&await o(),e.docType===se.BLOCK_SYMBOL?(e.multiPartIndex=0,e.multiPartIdArr=[""],await N4.placeSymbol({symbolData:e,sourceProjectId:a,hooks:r,placeInfo:n})):C.messageBus.publish("cbbSheet_place",{sheet:e,sourceProjectId:a,hooks:r,placeInfo:n}))}var iEt=t=>{if(!t.docType&&t.name!=null)return"schematic";switch(t.docType){case se.BLOCK_SYMBOL:return"symbol";case se.PCB:return"pcb";case se.SCH:return"sheet";default:throw new Error(`getReuseBlockChildType: can not read block type of ${t}`)}},pHi=async(t,e)=>{var o,r;switch(iEt(t)){case"pcb":{let{message:n}=await C.messageBus.rpcCall($e.PCB.GET_BY_TITLE,[t.title,C.currentProject.projectId]);return n}case"schematic":case"symbol":{let n=t.name||t.title,{message:a}=await C.messageBus.rpcCall($e.SCHEMATIC.GET_BY_NAME,[n,C.currentProject.projectId]),{message:s}=await C.messageBus.rpcCall($e.SYMBOL.GET_BY_TITLE,[n,C.currentProject.projectId]),l=(s||[]).find(c=>c.docType===se.BLOCK_SYMBOL);return l||a?{schematic:a,blockSymbol:l}:null}case"sheet":{let{message:n}=await C.messageBus.rpcCall($e.SCHEMATIC.GET_BY_NAME,[e,C.currentProject.projectId]);if(!(n!=null&&n.uuid))return null;let{message:a}=await C.messageBus.rpcCall($e.SHEET.GET_ALL_ARR,[n.uuid,C.currentProject.projectId]);for(let{uuid:s}of a){let l=(await C.messageBus.rpcCall($e.SHEET.GET,[s,C.currentProject.projectId])).message;if(((o=l.title)==null?void 0:o.toLocaleLowerCase())===((r=t.title)==null?void 0:r.toLocaleLowerCase()))return l.titleWithSchematic=`${e}.${l.display_title||l.title}`,l}return null}default:return null}};async function hQe(t,e=!1){return(await C.messageBus.rpcCall("cbbImport",{data:t,forceImport:e})).message}async function fQe(t,e){var o,r,n,a,s,l,c,d;let i=iEt(e);switch(i){case"schematic":{let u=(r=t.schematicMap[e.uuid])!=null?r:(o=Object.values(t.schematicMap))==null?void 0:o[0],p=(await C.messageBus.rpcCall($e.SCHEMATIC.GET_NAME_BY_UUID,[u,C.currentProject.projectId])).message,h=((await C.messageBus.rpcCall($e.SYMBOL.GET_BY_TITLE,[p,C.currentProject.projectId])).message||[]).find(f=>f.docType===se.BLOCK_SYMBOL);return h||(h=(await C.messageBus.rpcCall("judgeAndAddBlockSymbolBySchematic",u)).message),h}case"symbol":{let u=(a=t.symbolMap[e.uuid])!=null?a:(n=Object.values(t.symbolMap))==null?void 0:n[0];return(await C.messageBus.rpcCall($e.SYMBOL.GET,[u,C.currentProject.projectId])).message}case"sheet":{let u=(l=t.sheetMap[e.uuid])!=null?l:(s=Object.values(t.sheetMap))==null?void 0:s[0];return(await C.messageBus.rpcCall($e.SHEET.GET,[u,C.currentProject.projectId])).message}case"pcb":{let u=(d=t.pcbMap[e.uuid])!=null?d:(c=Object.values(t.pcbMap))==null?void 0:c[0];return(await C.messageBus.rpcCall($e.PCB.GET,[u,C.currentProject.projectId])).message}default:throw Error(`importCBB: invalid reuse block type: ${i}`)}}async function zne(t,e,i,o={}){let r=i.project_uuid,{beforePlaceCb:n}=o;e==se.PCB?(n&&await n(),await gHi(i.title,r)):e===se.SCH&&(n&&await n(),i.docType===se.BLOCK_SYMBOL?(i.multiPartIndex=0,i.multiPartIdArr=[""],N4.placeSymbol({symbolData:i,sourceProjectId:t,...o})):C.messageBus.publish("cbbSheet_place",{sheet:i,sourceProjectId:t,...o}))}async function Zq(t,e,i={}){if(je())return;if(!Je&&!await tj()){De({type:"error",msg:"No permission or project does not exist"});return}if(!t)return;let o=t.title||t.name,r=t.display_title||t.display_name,n=dt();if(e){await FLr(n,t,i);return}let a;if(n==se.PCB){let s=await pHi(t);s?Que({title:r||o,type:"pcb",importAndPlace:async()=>{a=await hQe(t,!0),zne(t.project_uuid,n,await fQe(a,t),i)},place:async()=>{zne(t.project_uuid,n,s,i)}}):(a=await hQe(t),zne(t.project_uuid,n,await fQe(a,t),i))}else if(n===se.SCH){let s=await pHi(t,i.schematicName);if(!s)a=await hQe(t),zne(t.project_uuid,n,await fQe(a,t),i);else{let l=s.docType===se.SCH?"sheet":s.schematic?"schematic":"symbol";Que({title:l==="sheet"?s.titleWithSchematic:r||o,type:l,importAndPlace:async()=>{a=await hQe(t,!0),zne(t.project_uuid,n,await fQe(a,t),i)},place:async()=>{let c=iEt(t);if(["schematic","symbol"].includes(c)){let{schematic:d,blockSymbol:u}=s;return d?u||(u=(await C.messageBus.rpcCall("judgeAndAddBlockSymbolBySchematic",d.uuid)).message):await C.messageBus.rpcCall("judgeAndAddSchematicByBlockSymbol",u.uuid),zne(t.project_uuid,n,u,i)}zne(t.project_uuid,n,s,i)}})}}}async function ULr(t,e,i,o,r){let n={page:t,size:e};o&&(n.filter=o),r&&(n.wd=r);let a=await $L(C.apis.oshwhub.getCbb,n),s=[],l=0;return a.success&&(s=wMe(a.result.projects,t,e,"oshwhub",!0),l=a.result.total),{lists:s,count:l,traceId:i}}function VLr(t,e,i,o,r,n){var c;let a=[],s=0;if(!Je)return{lists:a,count:s};let l=n?n.replace(/\\/g,"/"):"";for(let d of Object.keys(t.result||{}))if(t.result[d].isCbb){if(l){let u=(t.result[d].path||"").replace(/\\/g,"/");if(!u.startsWith(l+"/")&&u!==l)continue}if(o&&(t.result[d].name||((c=t.result[d].fileName)==null?void 0:c.split(".")[0])||"").toLocaleLowerCase().indexOf(o)===-1)continue;t.result[d].uuid=d,a.push(t.result[d])}return s=a.length,a=a.slice((e-1)*i,e*i),{lists:a,count:s}}async function HLr(t,e,i,o,r,n){let{message:a}=await C.messageBus.rpcCall(Ei.CLIENT.GET_PROJECT_PATHS,{cbb:!0,refresh:"yes",tags:r});if(a.success){let{lists:s,count:l}=VLr(a,t,e,n,void 0,o);return a.result.lists=wMe(s,t,e,o),{lists:s,count:l,traceId:i}}return{lists:[],count:0,traceId:i}}function GLr(t){let e=/[^\/\\]+(?=\.[^\/\\]+$)|[^\/\\]+$/,i=t.match(e);return i?i[0]:""}function wMe(t=[],e,i,o,r){return[...t].map((n,a)=>{var l,c;n.index=(e-1)*i+a+1;let s="";if(n.name?s=n.name:n.fileName&&n.fileName.endsWith(Ns.eprj)?s=n.fileName.replace(Ns.eprj,""):n.fileName&&n.fileName.endsWith(Ns.eprj2)?s=n.fileName.replace(Ns.eprj2,""):n.path&&(n.path.endsWith(Ns.eprj)||n.path.endsWith(Ns.eprj2))&&(s=GLr(n.path)),!n.name&&s&&(n.name=s),n.display_title={uuid:n.uuid,path:o,project_uuid:n.uuid,title:s,type:xr.PRJ},n.introduction=n.content||n.introduction,n.description=n.content||n.description,r)n.update_time=Rs(new Date(n.updated_at)),n.belong=((l=n==null?void 0:n.owner)==null?void 0:l.nickname)||"",n.last_modifier=n.modifier?n.modifier.nickname||n.modifier.username:"",n.projectPath=n.path,n.isOshwHubData=!0;else if(!Je){n.project_detail={...n};let{schUuidToCbbSymbolDetailMap:d,pcbUuidToCbbSymbolDetailMap:u}=oEt(n);n.schUuidToCbbSymbolDetailMap=d,n.pcbUuidToCbbSymbolDetailMap=u,n.cate=LB(n),n.update_time=Rs(new Date(n.updated_at)),n.version_time=n.version?ue.formatDate2(n.version*1e3):"",n.belong=((c=n==null?void 0:n.owner)==null?void 0:c.nickname)||"",n.last_modifier=n.modifier?n.modifier.nickname||n.modifier.username:""}return n})}function oEt(t){let{block_symbol:e=[],schematics:i=[],pcb:o=[]}=t,r={};for(let s=0;s<e.length;s++){let{uuid:l,display_title:c}=e[s];r[c]=e[s]}let n={};for(let s=0;s<i.length;s++){let{uuid:l,display_name:c}=i[s];n[l]=r[c]||r[c.toLowerCase()]}let a={};for(let s=0;s<o.length;s++){let{uuid:l,display_title:c}=o[s];a[l]=r[c]||r[c.toLowerCase()]}return{schUuidToCbbSymbolDetailMap:n,pcbUuidToCbbSymbolDetailMap:a}}async function YLr(t,e,i,o,r){let n=[],a=0,{message:s}=await C.messageBus.rpcCall($e.SYMBOL.GET_ALL_ARR_BY_TYPE,[!0,C.currentProject.projectId]);if(s!=null&&s.length){for(let l of Object.keys(s))n.unshift(s[l]);n=n.filter(l=>{if(o.length&&!r)try{let c=dj(l);if(!c||!c.parent_tag)return!!o.includes("@Uncategorized");for(let d=0;d<o.length;d++)if((d===0?c.parent_tag.uuid:c.child_tag.uuid)!==o[d])return!1}catch{return!1}return r?OS(l,r):!0}),a=n.length,t&&e&&(n=n.slice((t-1)*e,t*e))}return{lists:n,count:a,traceId:i}}async function cO(t,e,i,o,r,n,a,s,l){var c,d,u;if(n)return await YLr(t,e,o,i,r);if(a==="oshwhub")return await ULr(t,e,o,(i==null?void 0:i.length)&&i[i.length-1],r);if(C.extendLibStore.manager.hasLib(a)){let p=await((c=C.extendLibStore.manager.getLib(a).cbb)==null?void 0:c.getTransformedList({page:t,pageSize:e,query:{wd:r}}));return{traceId:o,lists:wMe(p.lists,t,e,a),count:p.count}}else{if(Je)return await HLr(t,e,o,a,i,r);if(r!=null&&r.trim()){let p={uid:a,pageSize:e,page:t,wd:r,path:a,needStr:!1,returnListStyle:"classifyarr",docType:[17],type:3,isProject:n},{message:m}=await C.messageBus.rpcCall(Og.SEARCH,p),h=a;return s?h="user":a===C.loginedUserInfo.uuid?h="mine":a===bo.getInstance().usedId&&(h="lcsc"),{lists:wMe(m.result.lists[h],t,e,a),count:m.result.count,traceId:o}}else{let p={page:t,pageSize:e,user_uuid:a,tags:i,isCbb:"true"};p.tagNotExists=l;let{message:m}=await C.messageBus.rpcCall(Ei.PROJECT.LIST,{isCbb:!0,...p});return{lists:wMe((d=m.result)==null?void 0:d.lists,t,e,a),count:+((u=m.result)==null?void 0:u.count),traceId:o}}}}var LB=(t,e=!1)=>{var o,r,n,a,s,l;let i="";if(e&&t.custom_tags)try{i=JSON.parse(t.custom_tags).join(":")}catch{}else{let c=d=>me.curr=="zh-hans"&&d.name_cn||d.name;i=(r=(o=t.tags)==null?void 0:o.parent_tag)!=null&&r.name?`${c((n=t.tags)==null?void 0:n.parent_tag)}${(s=(a=t.tags)==null?void 0:a.child_tag)!=null&&s.name?":"+c((l=t.tags)==null?void 0:l.child_tag):""}`:""}return i};async function bQe(t){let{uid:e}=t;if(!Eje(e))try{return await Ze.getDeviceList(t)}catch{return{lists:[],count:0,page:0,pageSize:0,totalPage:0}}}function yQe(t,e){return new Promise(async i=>{if(e===Tt.DEVICE&&_re(t).then(async function(o){if(o.success){let r=o.result,n=f5t(r.lists);r={...r,lists:n},i(r)}}),e===Tt.SYMBOL){let o=await WLr(t);i(o)}if(e===Tt.FOOTPRINT){let o=await QLr(t);i(o)}if(e===Tt.CBB){let{page:o,pageSize:r,searchValue:n,tag:a}=t,s=await cO(o,r,a,0,n,!0);i(s)}})}function WLr(t){return new Promise(async e=>{let{tag:i,docTypes:o,searchValue:r,page:n,pageSize:a}=t,s=await Yf({isProjectLib:!0,type:"symbols"}),c=await(u=>[...u].reverse().filter(p=>{if(p.source.match(/\w+\s*:\s*\w+/)||p.uuid.includes("_")||o.indexOf(p.docType)===-1)return!1;if(i.length&&!r)try{let m=dj(p);if(!m||!m.parent_tag)return!!i.includes("@Uncategorized");for(let h=0;h<i.length;h++)if((h===0?m.parent_tag.uuid:m.child_tag.uuid)!==i[h])return!1}catch{return!1}return r?OS(p,r):!0}))(s),d=c.length;n&&a&&(c=c.slice((n-1)*a,n*a)),e({lists:c,count:d})})}function QLr(t,e=!1){return new Promise(async(i,o)=>{let{tag:r,searchValue:n,page:a,pageSize:s}=t,{message:l}=await C.messageBus.rpcCall($e.FOOTPRINT.WITH_ORIGINS,[C.currentProject.projectId]);if(l){let c=l.filter(u=>{if(u.uuid.includes("_"))return!1;if(r.length&&!n)try{let p=dj(u);if(!p||!p.parent_tag)return!!r.includes("@Uncategorized");for(let m=0;m<r.length;m++)if((m===0?p.parent_tag.uuid:p.child_tag.uuid)!==r[m])return!1}catch{return!1}return n?OS(u,n):!0}),d=c.length;a&&(c=c.slice((a-1)*s,a*s)),i({lists:c,count:d})}})}function nEt(t,e,i,o){t=t.filter(n=>n.uuid),IP(o)&&(t=f5t(t));let r=C.currentProject.projectId&&(o===C.currentProject.projectId||o==="project");return[...t].map((n,a)=>{var c,d;let s=n.modifier||n.owner,l=r?((c=n.origin)==null?void 0:c.owner)||{}:n.owner;return{...n,index:(e-1)*i+a+1,isFavorite:!!n.isFavorite,display_title:n.display_title,device_name:n.display_title,footprint_name:((d=n.footprint)==null?void 0:d.display_title)||"",symbol_name:n.symbol?n.symbol.display_title:"",owner:(l==null?void 0:l.nickname)||(l==null?void 0:l.username)||"",ownerInfo:l,isProjectLib:n.isProject,modifier:(s==null?void 0:s.nickname)||(s==null?void 0:s.username)||"",Value:n.attributes.Value,Manufacturer:n.attributes.Manufacturer,product_code:(n==null?void 0:n.product_code)||n.attributes["Supplier Part"]||"",cateName:LB(n,r),update_time:wi&&n.updated_at?Rs(new Date(n.updated_at)):ue.formatDate2(n.updateTime*1e3),version_time:n.version?ue.formatDate2(n.version*1e3):""}})}function bHi(t,e,i,o){return t=t.filter(r=>r.uuid),[...t].map((r,n)=>{var s,l,c,d;let a=r.modifier||r.owner;return{...r,index:(e-1)*i+n+1,isFavorite:!!r.isFavorite,display_title:r.display_title,device_name:r.display_title,footprint_name:((s=r.footprint)==null?void 0:s.display_title)||"",symbol_name:r.symbol?r.symbol.display_title:"",owner:((l=r.owner)==null?void 0:l.nickname)||((c=r.owner)==null?void 0:c.username)||"",ownerInfo:r.owner,isProjectLib:r.isProject,modifier:(a==null?void 0:a.nickname)||(a==null?void 0:a.username)||"",Value:r.attributes.Value,Manufacturer:r.attributes.Manufacturer,product_code:(r==null?void 0:r.product_code)||r.attributes["Supplier Part"]||"",cateName:LB(r,!1),update_time:wi&&r.updated_at?Rs(new Date(r.updated_at)):ue.formatDate2(r.updateTime*1e3),version_time:r.version?ue.formatDate2(r.version*1e3):"",Price:((d=r.prices)==null?void 0:d[0].price)||"",Stock:r.stock||""}})}function gQe(t,e,i,o,r){return[...t].map((n,a)=>{var l,c,d,u,p;let s=n.origin;return n.index=(e-1)*i+a+1,n.doc_type=o(tfe[`_${n.docType}`]),n.cate=LB(n,r),n.update_time=ue.formatDate2(n.updateTime*1e3),n.version_time=n.version?ue.formatDate2(n.version*1e3):"",n.belong=((l=(s||n).owner)==null?void 0:l.nickname)||((d=(c=s||n)==null?void 0:c.creator)==null?void 0:d.nickname)||"",n.last_modifier=((p=(u=s||n)==null?void 0:u.modifier)==null?void 0:p.nickname)||"",n})}function aEt(t,e,i,o){return[...t].map((r,n)=>{var s,l;let a=r.origin;return r.index=(e-1)*i+n+1,r.cate=LB(r,o),r.update_time=ue.formatDate2(r.updateTime*1e3),r.version_time=r.version?ue.formatDate2(r.version*1e3):"",r.belong=((l=(s=a||r)==null?void 0:s.owner)==null?void 0:l.nickname)||"",r.last_modifier=(a||r).modifier?(a||r).modifier.nickname||(a||r).modifier.username:"",r})}function sEt(t=[],e,i,o,r,n){return[...t].map((s,l)=>{var d,u;s.index=(e-1)*i+l+1;let c="";if(s.name?c=s.name:s.fileName&&s.fileName.endsWith(Ns.eprj)?c=s.fileName.replace(Ns.eprj,""):s.fileName&&s.fileName.endsWith(Ns.eprj2)&&(c=s.fileName.replace(Ns.eprj2,"")),s.display_title={uuid:s.uuid,path:o,project_uuid:s.uuid,title:c,type:xr.PRJ},s.introduction=s.content||s.introduction,s.description=s.content||s.description,n)s.update_time=Rs(new Date(s.updated_at)),s.belong=((d=s==null?void 0:s.owner)==null?void 0:d.nickname)||"",s.last_modifier=s.modifier?s.modifier.nickname||s.modifier.username:"",s.projectPath=s.path,s.isOshwHubData=!0;else if(!Je){s.project_detail={...s};let{schUuidToCbbSymbolDetailMap:p,pcbUuidToCbbSymbolDetailMap:m}=a(s);s.schUuidToCbbSymbolDetailMap=p,s.pcbUuidToCbbSymbolDetailMap=m,s.cate=LB(s),s.update_time=Rs(new Date(s.updated_at)),s.version_time=s.version?ue.formatDate2(s.version*1e3):"",s.belong=((u=s==null?void 0:s.owner)==null?void 0:u.nickname)||"",s.last_modifier=s.modifier?s.modifier.nickname||s.modifier.username:""}return s});function a(s){let{block_symbol:l=[],schematics:c=[],pcb:d=[]}=s,u={};for(let h=0;h<l.length;h++){let{uuid:f,display_title:g}=l[h];u[g]=l[h]}let p={};for(let h=0;h<c.length;h++){let{uuid:f,display_name:g}=c[h];p[f]=u[g]||u[g.toLowerCase()]}let m={};for(let h=0;h<d.length;h++){let{uuid:f,display_title:g}=d[h];m[f]=u[g]||u[g.toLowerCase()]}return{schUuidToCbbSymbolDetailMap:p,pcbUuidToCbbSymbolDetailMap:m}}}function lEt(t,e,i){return[...t].map((o,r)=>(o.uuid=o.fileName+"|"+o.path,o.index=(e-1)*i+r+1,o.display_title=o.fileName.replace(/\.step/i,""),o.update_time=ue.formatDate2(o.mtime*1e3),o))}function cEt(t,e,i){return[...t].map((o,r)=>{var n,a;return o.index=(e-1)*i+r+1,o.cate=LB(o),o.update_time=ue.formatDate2(o.updated_at||o.updateTime*1e3),o.last_modifier=((n=o==null?void 0:o.modifier)==null?void 0:n.nickname)||((a=o==null?void 0:o.modifier)==null?void 0:a.username)||"",o})}function dEt(t,e,i){return[...t].map((o,r)=>{var n,a,s,l;return o.index=(e-1)*i+r+1,o.cate=LB(o),o.update_time=ue.formatDate2(o.updateTime*1e3),o.belong=((n=o==null?void 0:o.owner)==null?void 0:n.nickname)||((a=o==null?void 0:o.owner)==null?void 0:a.username)||"",o.last_modifier=((s=o==null?void 0:o.modifier)==null?void 0:s.nickname)||((l=o==null?void 0:o.modifier)==null?void 0:l.username)||"",o})}function uEt(t,e,i){return[...t].map((o,r)=>{var n;return o.index=(e-1)*i+r+1,o.cate=LB(o),o.update_time=ue.formatDate2(o.updateTime*1e3),o.belong=((n=o==null?void 0:o.owner)==null?void 0:n.nickname)||"",o.last_modifier=o.modifier?o.modifier.nickname||o.modifier.username:"",o})}function yHi(t,e,i){switch(t){case Tt.DEVICE:return o();case Tt.SYMBOL:return GDt(i,e);case Tt.FOOTPRINT:return tHi(i,e);case Tt.CBB:return e?GDt(i,e):iHi(i,e);case Tt.MODEL3D:return oHi(i);case Tt.PANEL_LIB:return nHi(i);case Tt.MODEL_SIM_LIB:return rHi(i)}function o(){let r=rV();return jf.getSymbolMode()!="2"&&(r=r.filter(n=>n.id!="symbol_name")),mEt(r,i)}}var pEt=t=>{switch(t){case"tags":return"cateName";case"version":return"version_time";case"updateTime":return"update_time";case"Supplier Part":return"product_code";default:return t}},wHi=t=>{switch(t){case"product_code":return"Supplier Part";default:return t}},mEt=(t,e)=>t.map(i=>({key:pEt(i.id),name:i.value,width:i.id==="index"?50:1/(t.length-1),sortable:!0}));function Fne(t,e,i,o,r,n){let a=C.currentProject.projectId&&(e===C.currentProject.projectId||e==="project");switch(t){case Tt.DEVICE:return nEt(i,o,r,e);case Tt.SYMBOL:return gQe(i,o,r,n,a);case Tt.FOOTPRINT:return aEt(i,o,r,a);case Tt.CBB:return a?gQe(i,o,r,n,a):sEt(i,o,r,e,a);case Tt.MODEL3D:return cEt(i,o,r);case Tt.MODEL_SIM_LIB:return dEt(i,o,r);case Tt.PANEL_LIB:return uEt(i,o,r)}}async function t7(t,e=Tt.DEVICE,i=!0,o,r="eda"){var f,g;r=Je&&Ko?"eda":r;let{wd:n,page:a,pageSize:s,uid:l,path:c,symbol_type:d,bindType:u,attributes:p}=t,m,h;if(e===Tt.DEVICE)if(r==="lcsc")h=vo?await rEt.default.getJSON(C.apis.eda.productSearch,{keyword:n,currPage:a,pageSize:s,path:c}):await rEt.default.getJSON(C.apis.devices.lcscSearch,{wd:n}),h.success&&(m=vo?await KLr(h,n,t):await ZLr(h,t));else{let b={};u&&(b.bindType=u),d&&(b.symbol_type=Number(d)),p&&(b.attributes=p),m={success:!0,result:await Ze.getDeviceSearchList({...t,query:b,withPackage:!0,isProject:c===C.currentProject.projectId})}}else if(Je)if(e===Tt.CBB)m=await gEt(n,a,s);else{if(e===Tt.MODEL3D&&!i)return JLr(t);m=await Yf({isSearch:!0,isProjectLib:!1,reqData:t})}else m=await Yf({isSearch:!0,isProjectLib:!1,reqData:t});if(Tn){let b=Tr.classificationList.at(-1),y,w,x;if(e===Tt.DEVICE){let S={...t,uid:bn,path:bn};if(y=c===bn?m:await Ze.getDeviceSearchList({path:S.path,isProject:S.path===C.currentProject.projectId,uid:S.uid,page:S.page,pageSize:S.pageSize,wd:S.wd}),![Yt.PROJECT,Yt.SYSTEM].includes(b.type)){let T=b.uuid,M={...t,uid:T,path:T};w=c===bn?await Ze.getDeviceSearchList({path:M.path,isProject:M.path===C.currentProject.projectId,uid:M.uid,page:M.page,pageSize:M.pageSize,wd:M.wd}):m}}else if(e!==Tt.CBB&&(y=c===bn?m:await Yf({isSearch:!0,isProjectLib:!1,reqData:{...t,uid:bn,path:bn}}),![Yt.PROJECT,Yt.SYSTEM].includes(b.type))){let S=b.uuid;w=c===bn?await Yf({isSearch:!0,isProjectLib:!1,reqData:{...t,uid:S,path:S}}):m}x={...((f=w==null?void 0:w.result)==null?void 0:f.facets)||{},...((g=y==null?void 0:y.result)==null?void 0:g.facets)||{}},y.success&&(m.result.facets={...m.result.facets,...x})}return m.success?m.result.facets={...m.result.facets,...await CMe(n,t.docType)}:De({type:"warn",msg:["Data reading failed:",String(m.code)],timer:3}),m.result}async function KLr(t,e,i){var p;if(!t.success)return t;let{page:o,pageSize:r}=i,n=((p=t.result.productList)==null?void 0:p.map(m=>m.hasDevice).filter(m=>!!m))||[],a={uid:"user",wd:e,page:1,pageSize:1,returnListStyle:"classifyarr",needStr:!1};i&&(a.path=i.path);let s=n.length?await Ze.getDeviceSearchList({path:i.path,isProject:i.path===C.currentProject.projectId,uuids:n}):[],l=s.length,u={facets:{...(await Ze.getDeviceSearchList({path:a.path,isProject:a.path===C.currentProject.projectId,uid:a.uid,page:a.page,pageSize:a.pageSize,wd:a.wd})).facets,lcsc:l},lists:{lcsc:s.slice((o-1)*r,o*r)}};return{...t,result:u}}async function ZLr(t,e){let i={...e,path:e.uid},{page:o,pageSize:r}=i,n=await Ze.getDeviceSearchList({path:i.path,isProject:i.path===C.currentProject.projectId,uid:i.uid,page:i.page,pageSize:i.pageSize,wd:i.wd});return n.facets.lcsc=t.result.length,n.lists=t.result.slice((o-1)*r,o*r),{...t,...{sucess:!0,result:n}}}function JLr(t){return new Promise(async(e,i)=>{let{searchValue:o,page:r,pageSize:n,uid:a,wd:s}=t;o=o||s;let l=await T0e({step_path:a});if(l!=null&&l.length){let c=l.filter(d=>o?!(d.fileName.toLowerCase().indexOf(o)<0):!0);r&&(c=c.slice((r-1)*n,r*n)),e(c)}})}function hEt(t){let e=[];return t.forEach(i=>{i.attributes&&i.attributes["Supplier Part"]&&e.push(i.attributes["Supplier Part"])}),e}function fEt(t){let e=[];return t.forEach(i=>{i.attributes&&i.attributes["Part Number"]&&e.push(i.attributes["Part Number"])}),e}var qLr=150;async function CHi(){let t=await xHi();await L0e(t)}function xHi(t=[],e=1,i=1){return new Promise((o,r)=>{let n={isProject:!1,withPackage:!0,page:e,pageSize:qLr,uid:_e.SYSTEMLIB_UUID,path:_e.SYSTEMLIB_UUID};if(e>i)return o(t);bQe(n).then(a=>{let s=a.lists;i=a.totalPage,s.push(...s)}).catch(a=>{console.error(a)}).finally(async()=>{e+=1,await xHi(t,e,i),o(t)})})}async function rfe(t,e){try{let i=[{isProject:C.currentProject?C.currentProject.projectId===e:!1,uuid:t,path:e}];W8({panelLibs:i})}catch{De({type:"error",msg:"Data abnormalities"})}}async function CQe(t){try{let e=[];for(let i=0;i<t.length;i++){let o=yr(t[i]);e.push({isProject:C.currentProject?C.currentProject.projectId===o:!1,uuid:t[i].uuid,path:o})}W8({panelLibs:e})}catch{De({type:"error",msg:"Data abnormalities"})}}var i7=L(z()),nfe=!1,vD=null,Une=null,od=null;function XLr(t,e){let i=t.document,o=i.head||i.getElementsByTagName("head")[0],r=document.createElement("style");if(r.styleSheet)try{r.styleSheet.cssText=e}catch{}else r.appendChild(document.createTextNode(e));o.appendChild(r)}function $Lr({containerRef:t}){Ae(bEt.default);let e=J(),{locals:i}=bEt.default,o=be.bind(i),r=(0,k4.useRef)(null),n=(0,k4.useRef)(null),{windowInstance:a,setTableRefreshCount:s,tabName:l,baseMenuSelected:c,secondaryMenuIds:d,libType:u,tableCheckedRows:p,tableSelectedRow:m,tableCheckbox:h,isProjectLib:f,setTableCheckbox:g,cacheBatchBtnList:b,setCacheBatchBtnList:y,setLibListRefreshCount:w,setCategoryRefreshCount:x,lineRight:S}=(0,k4.useContext)(tC),[T,M,I]=La(),[A,D,E]=La(),[N,R]=(0,k4.useState)([]),[v,k]=(0,k4.useState)([]),[P,O]=(0,k4.useState)({x:null,y:null}),[_,j]=(0,k4.useState)(!1),B=(0,k4.useRef)(!1);(0,k4.useEffect)(()=>(M(t.current),D(n.current),()=>{I(),E()}),[t.current]),(0,k4.useEffect)(()=>{T&&V(N)},[T,S]),(0,k4.useEffect)(()=>{y([])},[l]),(0,k4.useEffect)(()=>{b.length&&ne("batchOperation")},[c]),(0,k4.useEffect)(()=>{let re=mxe(l,u,B.current),Y=re.filter(ie=>Loe.includes(ie.key));re=re.filter(ie=>!Loe.includes(ie.key));let X=[];if(b.length&&Y.length?(X=Y.filter(ie=>b.find(de=>wOe[ie.key]===de.key)),re=X.length?b:re,g(!!X.length),!X.length&&y([])):(y([]),g(!1)),_)T&&V(re);else{let ie=[...re].map(de=>(de.key==="popupWindow"&&(de={...de,name:nfe&&a.name==="componentLibWin"?"Restore Window":"Popup Window"}),de));R(ie),setTimeout(()=>{j(!0)},200)}},[l,u,d,b.length]),(0,k4.useEffect)(()=>{let re=!!m;if(!h&&T&&B.current!=re){let Y=mxe(l,u,re).filter(X=>!Loe.includes(X.key));V(Y)}B.current=re},[m]),Gs("keydown",re=>{if(re.code&&(Une=re.code),!od)return;let Y=yEt();od.onbeforeunload=()=>{vD==null||vD.unmount()},od.onunload=()=>{Une==="F5"?setTimeout(()=>{H(Y)},500):vD&&G(),Une=null}}),(0,k4.useEffect)(()=>{a.onbeforeunload=()=>{vD==null||vD.unmount()},a.onunload=()=>{Une==="F5"||vD&&G(),Une=null}},[]);let V=re=>{let{width:Y}=n.current.parentNode.getBoundingClientRect(),X=re.length,ie=Math.floor((Y-0)/104),de=[...re].reverse().map((fe,ye)=>(fe={...fe,hidden:ye<X-ie},fe.key==="popupWindow"&&(fe={...fe,name:nfe&&a.name==="componentLibWin"?"Restore Window":"Popup Window"}),fe));k(de.filter(fe=>fe.hidden).reverse()),R(de.reverse())},G=()=>{a.name==="componentLibWin"&&a.close(),od&&od.close(),vD==null||vD.unmount(),vD=null,nfe=!1},Q=re=>{if(re){a.name!==od.name?od&&od.focus():G();return}if(!nfe){nfe=!0;let Y=yEt(),X=`top=32,left=64,width=${window.outerWidth-128},height=${window.innerHeight-64},toolbar=no,menubar=no,scrollbars=no,location=no,status=no`.replace(/\s|\r|\n/gm,"");od=window.open("editor?entry=dummy","componentLibWin",X),od.onload=()=>{H(Y),od._TAB_ID_=window._TAB_ID_,od.document.addEventListener("pointerdown",NU,!0),od.document.oncontextmenu=function(ie){return!1}},od.addEventListener("message",ie=>{ie.source===od.document.querySelector("iframe").contentWindow&&od.opener.postMessage(ie.data,ie.origin)}),od.onunload=()=>{Une==="F5"&&setTimeout(()=>{H(Y)},500),Une=null},window.onunload=()=>{od&&od.close()}}},H=re=>{if(ln.isViewerMode)return;XLr(od,re);let Y="height: 100vh;overflow: hidden;";od.document.body.style.cssText=Y;let X=document.createElement("style");X.innerHTML=String(SHi.default),od.document.head.appendChild(X);let ie=od.document.createElement("div");ie.id="bottomBar",ie.style.cssText="height: 100vh";let de=od.document.createElement("div");de.id="main-pcb-contextmenu-containter",de.style.cssText="position: fixed;left: 0; top: 0; z-index: 999999; display: none;",od.document.body.appendChild(ie),od.document.body.appendChild(de);let fe=document.createElement("style");fe.innerHTML=String(i),od.document.head.appendChild(fe),od.document.documentElement.setAttribute("data-theme",ms.getActiveTheme());let ye=THi.default.createRoot(ie);vD=ye,ye.render((0,i7.jsx)(_r.Provider,{value:od,children:(0,i7.jsx)(IHi,{openWindow:!0,windowInstance:od})}))},q=()=>{let{uuid:re,type:Y}=c;switch([Yt.OSHWHUB,Yt.STAR,Yt.PROJECT,Yt.SYSTEM,Yt.PUBLIC,Yt.USER].includes(Y)&&(re=void 0),l){case Tt.DEVICE:et("new_device",{docType:se.PART,defaultOwnerId:re});break;case Tt.FOOTPRINT:et("new_footprint",{userId:re});break;case Tt.MODEL3D:et("new_3D_model",{userId:re,selectedUserInfo:{uuid:re}});break;case Tt.SYMBOL:et("new_schematicLib",{defaultOwnerId:re});break;case Tt.CBB:et("new_CBB",{defaultOwnerId:re});break;case Tt.PANEL_LIB:et("open_create_panel_lib_dialog",{defaultOwnerId:re});break;case Tt.MODEL_SIM_LIB:et("new_Sim_Model",{defaultOwnerId:re});break}},U=()=>{y([]),g(!1);let re=mxe(l,u,B.current).filter(Y=>!Loe.includes(Y.key));T&&V(re)},F=()=>{De({type:"info",msg:"Nothing selected",timer:3})},K=async()=>{if(p.length>0){let re=[],Y=[];switch(p.forEach(X=>{re.push(X.uuid),Y.push(X.name||"")}),l){case Tt.DEVICE:{await L0e(p);break}case Tt.SYMBOL:{await rZ(p);break}case Tt.FOOTPRINT:{await xOe(p);break}case Tt.CBB:{if(u==Yt.PROJECT)await rZ(p);else{let X={projectIds:re,projectTitles:Y,isProjectLibrary:!1,fromLibUuid:c.uuid};await ii("cbb_save_as_local",X)}break}case Tt.PANEL_LIB:await CQe(p);break;default:throw new Error(l)}}else De({type:"info",msg:"Nothing selected",timer:3})},te=async()=>{if(p.length<=0){F();return}let re=[],Y=[],X=[],ie=p.map(async de=>{if(l===Tt.CBB){let fe=l===Tt.CBB&&!f?de.display_title.title:de.display_title,ye=[];if(C.currentProject.projectId&&(ye=await Cr("getReferenceCbbByUuid",{...de,project_detail:null})),ye.length<1){let Le,Re;C.currentProject.projectId&&(Le=await Cr($e.SCHEMATIC.GET_UUID_BY_NAME,[fe,C.currentProject.projectId]),Re=await Cr($e.PCB.GET_BY_TITLE,[fe,C.currentProject.projectId])),Le&&Y.push({schematicUuid:Le,disPlayTitle:fe}),Re&&X.push({pcbUuid:Re.uuid,disPlayTitle:fe}),re.push(fe)}else{let Le="error",Re=`
						${Ti("Delete Symbol")}
						${fe}
						${Ti("failed")}.
						${Ti("Found existing component(s) referenced by this symbol")}: 
					`,Ne=ye.map(Te=>{let{sheetId:Pe,data:{symbolId:Oe,attrs:{Designator:Ue},displayId:Ve,displaySymbolName:ze}}=Te,He=Ue?`${Ue}(${ze||Ve})`:ze||Ve;return tw({text:He,attr:{id:Oe,sheet:Pe}})}).join(";");C.windowBridge.publish("ui/toastMsg",{type:Le,msg:[{value:"Delete Symbol {name} failed!",options:{name:fe}},"Found existing component(s) referenced by this symbol"],bottomBarMsg:{type:Le,msg:[Re,Ne,"."]}},ko())}}else re.push(de.display_title)});await Promise.all(ie),p.length>0?Yq({tableType:l,rowData:p,names:re,cbb:{schs:Y,pcbs:X},libType:u,res:{operationType:"batchDeleteConfirm",userId:C.loginedUserInfo.uuid},isProjectLib:f}):De({type:"info",msg:"Nothing selected"})},ae=()=>{Vne(p,l,f,c.uuid)},pe=()=>{let re=mxe(l,u,B.current).filter(Y=>(Y.hidden=!1,Loe.includes(Y.key))).map(Y=>({...Y,type:Y.key==="batchDelete"?"danger":"primary",key:wOe[Y.key]})).concat({key:"cancel",name:"Cancel",type:"default"});g(!0),k([]),y(re),R(re)},Z=()=>{w(re=>re+1),s(re=>re+1),x(re=>re+1)},ee=()=>{let re=m==null?void 0:m.attributes["Supplier Part"];dY(re,a)},ce=async()=>{let re;switch(l){case Tt.DEVICE:{jf.getSymbolMode()==="2"?re="editDevice":re="easyEditDevice";break}case Tt.SYMBOL:{re="editSymbol";break}case Tt.FOOTPRINT:{re="editFootprint";break}case Tt.MODEL3D:{re="replace3DModel";break}case Tt.CBB:if(f){Jq(m,f,!1),Jq(m,f,!0),DI(m,f,!0);return}else{Rv(m.project_detail.uuid);return}case Tt.PANEL_LIB:{cc.openPanelLibByUuid(m.uuid,{path:yr(m)}),sy(1);return}case Tt.MODEL_SIM_LIB:{re="editSimulationModel";break}default:throw new Error(`BottomBar btnWrap: invalid tab(${l})`)}return afe(re,m,f,l,c.uuid)},ne=re=>{if(a.name==="componentLibWin"&&(dl.value=a),Loe.includes(re)&&!Je&&!br()){De({msg:"Please login first!",type:"warn"});return}re==="add"&&q(),re==="applyNewParts"&&yM("apply_new_parts",a),re==="refresh"&&Z(),re==="reportError"&&ee(),re==="cancel"&&U(),re==="batchExportLocalConfirm"&&K(),re==="batchDeleteConfirm"&&te(),re==="batchModifyCategoryConfirm"&&ae(),re==="popupWindow"&&Q(nfe),re==="edit"&&ce(),re==="batchOperation"&&pe()},oe=ue.throttle(async()=>{await CHi()},1e3);return(0,i7.jsxs)("div",{ref:n,className:o("container"),children:[N.map(re=>{var X,ie,de;if(re.hidden)return;let Y=!1;if(re.key==="batchDelete"&&u==Yt.PROJECT&&!xQe())Y=!0;else if(re.key==="reportError"&&((c==null?void 0:c.type)===Yt.INTERNAL||!m||m.symbol_type!==2))Y=!0;else if(u==Yt.TEAMS){let fe=(((X=m==null?void 0:m.creator)==null?void 0:X.uuid)||((de=(ie=m==null?void 0:m.project_detail)==null?void 0:ie.creator)==null?void 0:de.uuid))!=_o();l==Tt.CBB?(re.key==="add"&&!ym(c.uuid,Yr.Team_Module_Add)&&(Y=!0),re.key==="edit"&&!ym(c.uuid,Yr.Team_Module_Update)&&fe&&(Y=!0),(re.key==="batchSaveAs"||re.key==="batchExportLocalConfirm")&&!ym(c.uuid,Yr.Team_Module_Download)&&(Y=!0)):(re.key==="add"&&!ym(c.uuid,Yr.Team_Component_Add)&&(Y=!0),re.key==="edit"&&!ym(c.uuid,Yr.Team_Component_Update)&&fe&&(Y=!0),(re.key==="batchSaveAs"||re.key==="batchExportLocalConfirm")&&!ym(c.uuid,Yr.Team_Component_Download)&&(Y=!0))}return(0,i7.jsx)(Me,{disabled:Y,size:"sm",dataTest:re.name,type:(re==null?void 0:re.type)||"default",onClick:()=>ne(re.key),children:re!=null&&re.context?e({value:re.name,context:re.context}):e(re.name)},re.key)}),v.length>0&&(0,i7.jsxs)("div",{"data-test":"more",ref:r,className:o("more-btn"),onMouseLeave:()=>O(null),children:[(0,i7.jsx)("span",{onMouseEnter:re=>{let{right:Y,bottom:X}=r.current.getBoundingClientRect();O({x:Y,y:X+2})},children:">>"}),P&&(0,i7.jsx)("div",{style:{top:P.y,left:P.x},children:(0,i7.jsx)("div",{children:v.map(re=>(0,i7.jsx)("span",{"data-key":re.name,"data-test":re.name,onClick:()=>ne(re.key),children:re!=null&&re.context?e({value:re.name,context:re.context}):e(re.name)},re.key))})})]}),_t&&new URLSearchParams(window.location.search).has("batchExportDevice")&&(0,i7.jsx)(Me,{size:"sm",type:"default",onClick:()=>oe(),children:e("Batch Export System Library Devices")})]})}var MHi=$Lr;var wEt=L(vHi());var n5=L(z());var evr=(0,EI.createContext)(null);function tvr(){Ae(wEt.default);let{locals:t}=wEt.default,e=be.bind(t),i=J(),o=(0,EI.useRef)(null),r=(0,EI.useRef)(null),{tabName:n,baseMenuSelected:a,searchValue:s,setSearchValue:l,setBaseMenuAmounts:c,deviceOrigin:d,setDeviceOrigin:u,setPullMaxWidth:p,windowInstance:m,isSystemLib:h,setForceSearch:f,secondaryMenuIds:g}=(0,EI.useContext)(tC),b=(0,EI.useRef)(null),[y,w,x]=La();(0,EI.useEffect)(()=>(w(o.current),()=>{x()}),[o.current]),(0,EI.useEffect)(()=>{if(y){let{width:I}=y;p(m.innerWidth-I-52)}},[y,m.innerWidth]),(0,EI.useEffect)(()=>{a&&a.type!==Yt.SYSTEM&&u("eda")},[a]),(0,EI.useEffect)(()=>{h||u("eda")},[s]),(0,EI.useEffect)(()=>{s.trim().length&&g.length&&(l(""),c(null))},[g]);let S=Gr(I=>{u(I)},200),T=I=>{I.length>36?De({type:"warn",msg:"Cannot enter more than 36 characters!",timer:3}):(f(A=>A+1),I?(SQe(I)&&S("eda"),l(I.toLowerCase())):(l(""),c(null)))},M=Je?"Search, at lease 3 charaters":"Search, at lease 2 charaters";return(0,n5.jsx)(evr.Provider,{value:{},children:(0,n5.jsxs)("div",{className:e("container"),children:[(0,n5.jsxs)("div",{ref:o,className:e("left",{"input-border-radius-reset":n===Tt.DEVICE}),children:[(0,n5.jsx)(Hpi,{}),(0,n5.jsx)("div",{className:e("origin-wrap"),style:{display:n!==Tt.DEVICE||Ko?"none":""},children:!_t&&(0,n5.jsxs)(n5.Fragment,{children:[(0,n5.jsx)("span",{"data-test":"LCSC Electronics",className:e({active:d==="lcsc"}),onClick:()=>S("lcsc"),children:i("LCSC Electronics")}),(0,n5.jsx)("span",{"data-test":"JLCEDA",className:e({active:d==="eda"}),onClick:()=>S("eda"),children:vo?"EasyEDA":i("JLCEDA")})]})}),(0,n5.jsx)(vP,{ref:b,searchHistoryType:n,style:{width:"350px",border:"0 "},dataTest:"Search",placeholder:M,onUpdateInputValue:I=>{I||(l(""),c(null))},onBlur:I=>{I.toLowerCase()!==s&&b.current.confirm(I)},onConfirm:I=>T(I),onClearInputValue:()=>{l(""),c(null)}})]}),!_t&&(0,n5.jsx)("div",{className:e("apply-new-parts"),onClick:()=>yM("apply_new_parts",m),children:i("Request New Part")}),(0,n5.jsx)("div",{ref:r,className:e("right"),children:(0,n5.jsx)(MHi,{containerRef:r})})]})})}var DHi=tvr;var KHi=L(Se()),AEt=L(AHi());var WHi=L(Hr());var AI={get refresh(){return{icon:"eda-refresh",name:"Refresh",key:"refresh"}},get editDevice(){return{icon:"eda-edit",name:"Edit Device...",key:"editDevice"}},get easyEditDevice(){return{icon:"eda-edit",name:"Edit Device",key:"easyEditDevice"}},get editSymbol(){return{icon:"eda-edit",name:"Edit Symbol",key:"editSymbol"}},get editFootprint(){return{icon:"eda-edit",name:"Edit Footprint",key:"editFootprint"}},get editPcb(){return{icon:"eda-edit",name:"Edit PCB",key:"editPcb"}},get replace3DModel(){return{icon:"eda-edit",name:"Replace 3D Model...",key:"replace3DModel"}},get linkSymbol(){return{icon:"eda-link-3",name:"Link Symbol...",key:"linkSymbol"}},get linkFootprint(){return{icon:"eda-link-3",name:"Link Footprint...",key:"linkFootprint"}},get link3DModel(){return{icon:"eda-link-3",name:"Link 3D Model...",key:"link3DModel"}},get link2NewDevice(){return{icon:"eda-link-3",name:"Link to New Device...",key:"link2NewDevice"}},get linkToExistingDevice(){return{icon:"eda-link-3",name:"Link to Existing Device...",key:"linkToExistingDevice"}},get editSchematic(){return{icon:"eda-edit",name:"Edit Schematic",key:"editSchematic"}},get modify(){return{icon:"eda-edit",name:"Modify Information...",key:"modify"}},get libDelete(){return{icon:"eda-delete-trash",name:"Delete",key:"libDelete"}},get symbolSaveAs(){return{icon:"eda-save",name:"Symbol Save as...",key:"symbolSaveAs"}},get footprintSaveAs(){return{icon:"eda-save",name:"Footprint Save as...",key:"footprintSaveAs"}},get model3DSaveAs(){return{icon:"eda-save",name:"3D Model Save as...",key:"model3DSaveAs"}},get reportError(){return{icon:"eda-edit",name:"Report Error...",key:"reportError"}},get saveAs(){return{icon:"eda-save",name:"Save as...",key:"saveAs"}},get saveAsLocal(){return{icon:"eda-save",name:"Save as (Local)...",key:"saveAsLocal"}},get DocumentSaveAs(){return{icon:"eda-save",name:"Document Save as...",key:"saveAs"}},get DocumentSaveAsLocal(){return{icon:"eda-save",name:"Document Save as (Local)...",key:"saveAsLocal"}},get addOrRemoveFavorite(){return{icon:"eda-star-fill",name:"Add Favorite",key:"addOrRemoveFavorite"}},get addIntoBasicLibrary(){return{name:"Add into Common Library",key:"addIntoBasicLibrary"}},get viewProductDetail(){return{name:"View Product Detail...",key:"viewProductDetail"}},get viewDatasheet(){return{name:"View Datasheet...",key:"viewDatasheet"}},get editSimulationModel(){return{icon:"eda-edit",name:"Edit SimModelLib...",key:"editSimulationModel"}},get modifyCategory(){return{name:"Modify Category",key:"modifyCategory"}},get removeInRecent(){return{name:"Remove from list",key:"removeInRecent"}},get editPanelLib(){return{name:"Edit Panel Lib",icon:"eda-edit",key:"editPanelLib"}},get modifyPanelLibInfo(){return{name:"Modify Information",icon:"eda-edit",key:"modifyPanelLibInfo"}},get openCbbProject(){return{name:"Open Block Project",icon:"eda-edit",key:"openCbbProject"}},get modifyCbbInfo(){return{name:"Modify Information...",icon:"eda-edit",key:"modifyCbbInfo"}},get openDirectory(){return{name:"Open Directory",key:"openDirectory"}},get editCbbSymbol(){return{name:"Edit Block Symbol",icon:"eda-edit",key:"editCbbSymbol"}},get viewCbbDetail(){return{name:"View Detail",icon:"eda-save",key:"viewCbbDetail"}}},CEt=[{key:"refresh",name:"Refresh"},null,{key:"manageGategories",name:"Manage Categories"},null,{key:"expandAll",name:"Expand All"},{key:"collapseAll",name:"Collapse All"}],kHi=[{key:"recover",name:"Recover"}],PHi=[{key:"NewLibrary",name:"New Library..."},{key:"OpenLibraryDirectory",name:"Open Directory..."},{key:"RebuildSearchIndex",name:"Rebuild Search Index..."},{icon:"eda-refresh",key:"Refresh",name:"Refresh"}];function xEt(t){switch(t){case"refresh":return"bottomBar_refresh";case"editDevice":return"bottomBar_editDevice";case"easyEditDevice":return"bottomBar_easyEditDevice";case"editSymbol":return"bottomBar_editSymbol";case"editFootprint":return"bottomBar_editFootprint";case"editPcb":return"bottomBar_editPcb";case"replace3DModel":return"bottomBar_replace3DModel";case"linkSymbol":return"bottomBar_linkSymbol";case"linkFootprint":return"bottomBar_linkFootprint";case"link3DModel":return"bottomBar_link3DModel";case"link2NewDevice":return"bottomBar_link2NewDevice";case"linkToExistingDevice":return"bottomBar_linkToExistingDevice";case"editSchematic":return"bottomBar_editSchematic";case"modify":return"bottomBar_modify";case"libDelete":return"bottomBar_libDelete";case"symbolSaveAs":return"bottomBar_symbolSaveAs";case"footprintSaveAs":return"bottomBar_footprintSaveAs";case"model3DSaveAs":return"bottomBar_model3DSaveAs";case"reportError":return"bottomBar_reportError";case"saveAs":return"bottomBar_saveAs";case"saveAsLocal":return"bottomBar_saveAsLocal";case"addOrRemoveFavorite":return"bottomBar_addOrRemoveFavorite";case"addIntoBasicLibrary":return"bottomBar_addIntoBasicLibrary";case"viewProductDetail":return"bottomBar_viewProductDetail";case"viewDatasheet":return"bottomBar_viewDatasheet";case"editBlockProject":return"bottomBar_editBlockProject";case"editPanelLib":return"bottomBar_editPanelLib";case"documentSaveAsCloud":return"bottomBar_documentSaveAsCloud";case"documentSaveAsLocal":return"bottomBar_documentSaveAsLocal";case"expandAll":return"bottomBar_Category_expandAll";case"collapseAll":return"bottomBar_Category_collapseAll";case"recover":return"bottomBar_recover"}}var EEt=L(eC());function ivr(t){let e=yr(t);if(C.teams.includes(e))return Yt.TEAMS;if(C.loginedUserInfo.uuid===e)return Yt.PERSONAL;if(C.currentProject.projectId===e)return Yt.PROJECT;if(e===_e.SYSTEMLIB_UUID)return Yt.SYSTEM;if(C.extendLibStore.manager.hasLib(e))return Yt.EXTEND}function o7(t,e){var a;let{uuid:i,type:o}=t,r=i===_e.RECENT_LIB_UUID,n=o===Yt.STAR;return(r||n)&&(a=ivr(e))!=null?a:o}function NI(t){let e=t.indexOf("sep"),i=[...t];return e>-1?i.splice(e,0,"sep","removeInRecent"):i.push("sep","removeInRecent"),i}var ovr=["refresh","sep","editDevice","easyEditDevice","editSymbol","linkSymbol","editFootprint","linkFootprint","link3DModel","sep","modifyCategory","sep","libDelete","sep","saveAs","symbolSaveAs","footprintSaveAs","saveAsLocal","model3DSaveAs","sep","viewProductDetail","viewDatasheet","sep","addOrRemoveFavorite","addIntoBasicLibrary"],rvr=["refresh","sep","editDevice","easyEditDevice","editSymbol","editFootprint","sep","modifyCategory","sep","libDelete","sep","saveAs","symbolSaveAs","footprintSaveAs","saveAsLocal","model3DSaveAs","sep","viewProductDetail","viewDatasheet"],OHi=["refresh","sep","saveAs","symbolSaveAs","footprintSaveAs","saveAsLocal","model3DSaveAs","sep","viewProductDetail","viewDatasheet","sep","addOrRemoveFavorite","reportError","addIntoBasicLibrary"],nvr=["refresh","sep","editDevice","easyEditDevice","editSymbol","linkSymbol","editFootprint","linkFootprint","link3DModel","sep","modifyCategory","sep","libDelete","sep","saveAs","symbolSaveAs","footprintSaveAs","saveAsLocal","sep","viewProductDetail","viewDatasheet","addIntoBasicLibrary"],avr=["refresh","sep","editDevice","easyEditDevice","editSymbol","editFootprint","sep","modifyCategory","sep","libDelete","sep","saveAs","symbolSaveAs","footprintSaveAs","saveAsLocal","sep","viewProductDetail","viewDatasheet"],RHi=["refresh","sep","saveAs","symbolSaveAs","footprintSaveAs","saveAsLocal","sep","viewProductDetail","viewDatasheet","sep","addIntoBasicLibrary"],svr=["refresh","sep","saveAs","symbolSaveAs","footprintSaveAs","saveAsLocal","model3DSaveAs","sep","addIntoBasicLibrary","sep","modifyCategory"],lvr=["refresh","sep","saveAs","symbolSaveAs","footprintSaveAs","saveAsLocal","sep","viewProductDetail","viewDatasheet"];function TEt(t,e,i){let o=o7(t,e),r=Cvr(o);t.uuid===_e.RECENT_LIB_UUID&&(r=NI(r));let n=[];for(let s of r){if(s==="sep"){if(n[n.length-1]==="sep"&&s==="sep")continue}else if(!wvr(s,e,i))continue;n.push(s)}let a=[];return n.forEach((s,l)=>{if(s==="sep")a.length&&a.push(null);else{let c=AI[s];s==="addOrRemoveFavorite"?(c.name=e.isFavorite?"Remove Favorite":"Add Favorite",c.icon=e.isFavorite?"eda-star":"eda-star-fill"):s==="addIntoBasicLibrary"&&(c.name=e.isBasicLibrary?"Remove from Common Library":"Add into Common Library"),a.push(c)}}),a}var cvr=[se.SHEET_SYMBOL,se.SHORT_SYMBOL,se.NETFLAG,se.NETPORT,se.NONEELEC_SYMBOL,se.OFF_PAGE_CONNECTOR,se.DIFF_PAIRS_FLAG],dvr=["linkFootprint","editFootprint","footprintSaveAs","link3DModel","model3DSaveAs"],uvr=["editSymbol","symbolSaveAs"],pvr=["editFootprint","footprintSaveAs"],mvr=["model3DSaveAs"],hvr=["linkSymbol"],fvr=["linkFootprint"],_Hi=["editFootprint","editSymbol","editDevice","easyEditDevice","modify"],jHi=["editFootprint","editSymbol","editDevice","easyEditDevice","link2NewDevice","linkToExistingDevice","linkSymbol","linkFootprint","link3DModel","modify","replace3DModel","editPanelLib"],gvr=["link3DModel"],bvr=["editDevice","editSymbol","linkSymbol","symbolSaveAs"],yvr=["easyEditDevice"];function wvr(t,e,i){var d,u;if(cvr.includes(Number(e.symbol_type))&&dvr.includes(t))return!1;let o=(d=e.attributes)==null?void 0:d.Symbol,r=e.errorSymbol||!e.symbol,n=o&&!r;if(n&&hvr.includes(t)||!n&&uvr.includes(t))return!1;let a=(u=e.attributes)==null?void 0:u.Footprint,s=e.errorFootprint||!e.footprint,l=a&&!s;if(l&&fvr.includes(t)||!l&&pvr.includes(t))return!1;let c=e.attributes["3D Model"];return!(c&&gvr.includes(t)||!c&&mvr.includes(t)||i==="1"&&bvr.includes(t)||i!=="1"&&yvr.includes(t))}function Cvr(t){switch(t){case"personal":case"teams":return Je?nvr:ovr;case"project":return Je?avr:rvr;case Yt.INTERNAL:return svr;case Yt.EXTEND:return lvr;case"system":return bo.getInstance().getContextMenuKeys(Je?RHi:OHi);case"star":default:return Je?RHi:OHi}}var xvr=["refresh","sep","editSymbol","link2NewDevice","linkToExistingDevice","modify","sep","modifyCategory","sep","libDelete","sep","saveAs","saveAsLocal","sep","addOrRemoveFavorite"],Tvr=["refresh","sep","editSymbol","modify","sep","modifyCategory","sep","libDelete","sep","saveAs","saveAsLocal"],BHi=["refresh","sep","link2NewDevice","saveAs","saveAsLocal","sep","addOrRemoveFavorite"],Svr=["refresh","sep","editSymbol","link2NewDevice","linkToExistingDevice","modify","sep","modifyCategory","sep","libDelete","sep","saveAs"],Mvr=["refresh","sep","editSymbol","modify","sep","modifyCategory","sep","libDelete","sep","saveAs"],zHi=["refresh","sep","link2NewDevice","sep","saveAs"],Ivr=["refresh","sep","saveAs","saveAsLocal"];function SEt(t,e){let i=o7(t,e),o=Lvr(i);t.uuid===_e.RECENT_LIB_UUID&&(o=NI(o));let r=[];for(let n of o)if(n==="sep")r.length&&r.push(null);else{let a=AI[n];n==="addOrRemoveFavorite"&&(a.name=e.isFavorite?"Remove Favorite":"Add Favorite",a.icon=e.isFavorite?"eda-star":"eda-star-fill"),r.push(a)}return r}function Lvr(t){switch(t){case"personal":case"teams":return Je?Svr:xvr;case"project":return Je?Mvr:Tvr;case Yt.EXTEND:return Ivr;case"system":return bo.getInstance().getContextMenuKeys(Je?zHi:BHi);case"star":default:return Je?zHi:BHi}}var vvr=["refresh","sep","editFootprint","link2NewDevice","linkToExistingDevice","modify","sep","modifyCategory","sep","libDelete","sep","saveAs","saveAsLocal","sep","addOrRemoveFavorite"],Dvr=["refresh","sep","editFootprint","modify","sep","modifyCategory","sep","libDelete","sep","saveAs","saveAsLocal"],FHi=["refresh","sep","link2NewDevice","saveAs","saveAsLocal","sep","addOrRemoveFavorite"],Evr=["refresh","sep","editFootprint","link2NewDevice","linkToExistingDevice","modify","sep","modifyCategory","sep","libDelete","sep","saveAs"],Avr=["refresh","sep","editFootprint","modify","sep","modifyCategory","sep","libDelete","sep","saveAs"],UHi=["refresh","sep","link2NewDevice","sep","saveAs"],Nvr=["refresh","sep","saveAs","saveAsLocal"];function MEt(t,e){let i=o7(t,e),o=kvr(i);t.uuid===_e.RECENT_LIB_UUID&&(o=NI(o));let r=[];for(let n of o)if(n==="sep")r.length&&r.push(null);else{let a=AI[n];n==="addOrRemoveFavorite"&&(a.name=e.isFavorite?"Remove Favorite":"Add Favorite",a.icon=e.isFavorite?"eda-star":"eda-star-fill"),r.push(a)}return r}function kvr(t){switch(t){case"personal":case"teams":return Je?Evr:vvr;case"project":return Je?Avr:Dvr;case Yt.EXTEND:return Nvr;case"system":return bo.getInstance().getContextMenuKeys(Je?UHi:FHi);case"star":default:return Je?UHi:FHi}}var Pvr=["refresh","sep","replace3DModel","link2NewDevice","modify","sep","modifyCategory","sep","libDelete","sep","saveAs","sep","addOrRemoveFavorite"],VHi=["refresh","sep","link2NewDevice","saveAs","sep","addOrRemoveFavorite"],Ovr=["refresh","sep","link2NewDevice"],HHi=["refresh","sep","link2NewDevice"];function IEt(t,e){let i=o7(t,e),o=Rvr(i);t.uuid===_e.RECENT_LIB_UUID&&(o=NI(o));let r=[];return o.forEach(n=>{if(n==="sep")r.length&&r.push(null);else{let a=AI[n];n==="addOrRemoveFavorite"&&(a.name=e.isFavorite?"Remove Favorite":"Add Favorite",a.icon=e.isFavorite?"eda-star":"eda-star-fill"),r.push(a)}}),r}function Rvr(t){switch(t){case"personal":case"teams":return Je?Ovr:Pvr;case"project":throw new Error("model3DMenu: not exist project 3d model!");case"system":return bo.getInstance().getContextMenuKeys(Je?HHi:VHi);case"star":default:return Je?HHi:VHi}}var _vr=["refresh","sep","editSimulationModel","sep","libDelete","sep","saveAs","sep","addOrRemoveFavorite"],jvr=["refresh","sep","saveAs","sep","addOrRemoveFavorite"],Bvr=["refresh","sep","editSimulationModel"],zvr=["refresh","sep"];function LEt(t,e){let i=o7(t,e),o=Fvr(i);t.uuid===_e.RECENT_LIB_UUID&&(o=NI(o));let r=[];return o.forEach(n=>{if(n==="sep")r.length&&r.push(null);else{let a=AI[n];n==="addOrRemoveFavorite"&&(a.name=e.isFavorite?"Remove Favorite":"Add Favorite",a.icon=e.isFavorite?"eda-star":"eda-star-fill"),r.push(a)}}),r}function Fvr(t){switch(t){case"personal":case"teams":return Je?Bvr:_vr;case"project":throw new Error("SimModelLibMenu: not exist project sim model!");case"system":case"star":default:return Je?zvr:jvr}}function vEt(t,e){return PHi.filter(i=>!("OpenLibraryDirectory"===i.key&&(!e||[Yt.PROJECT,Yt.SYSTEM].includes(e.type))||"RebuildSearchIndex"===i.key&&(!e||[Yt.PROJECT,Yt.SYSTEM].includes(e.type)||![Tt.DEVICE,Tt.SYMBOL,Tt.FOOTPRINT,Tt.PANEL_LIB].includes(t))||!Je&&i.key!=="Refresh"))}var DEt=class{constructor(){this.rightContextMenuStore=new Map;this.extensionUuidToMenuIdsStore=new Map}setMenu(e,i,o){this.rightContextMenuStore.set(e,i);let r=this.extensionUuidToMenuIdsStore.get(o)||new Set;r.add(e),this.extensionUuidToMenuIdsStore.set(o,r)}getMenuItemsByKeyPrefix(e){let i;for(let[o,r]of this.rightContextMenuStore)o.startsWith(e)&&(i=r);return i}hasKey(e){let i=!1;for(let[o,r]of this.rightContextMenuStore)o.startsWith(e)&&(i=!0);return i}},vB=new DEt;var Uvr=["refresh","sep","editPanelLib","modifyPanelLibInfo","sep","libDelete","sep","DocumentSaveAsLocal"],Vvr=["refresh","sep","editPanelLib","modifyPanelLibInfo","sep","libDelete","sep","modifyCategory","sep","DocumentSaveAs","DocumentSaveAsLocal","sep","addOrRemoveFavorite","addIntoBasicLibrary"],Hvr=["refresh","sep","saveAsLocal"],Gvr=["refresh","sep","DocumentSaveAs","DocumentSaveAsLocal","sep","addOrRemoveFavorite","addIntoBasicLibrary"],Yvr=["refresh","sep","saveAsLocal"],Wvr=["refresh","sep","DocumentSaveAs","DocumentSaveAsLocal","sep","addOrRemoveFavorite","addIntoBasicLibrary"],Qvr=t=>{switch(t){case Yt.SYSTEM:return bo.getInstance().getContextMenuKeys(Je?Yvr:Wvr);case Yt.STAR:return Je?Hvr:Gvr;default:return Je?Uvr:Vvr}},GHi=(t,e)=>{let i=o7(t,e),o=Qvr(i);t.uuid===_e.RECENT_LIB_UUID&&(o=NI(o));let r=[];return o.forEach(n=>{if(n==="sep")r.length&&r.push(null);else{let a=AI[n];n==="addOrRemoveFavorite"?(a.name=e.isFavorite?"Remove Favorite":"Add Favorite",a.icon=e.isFavorite?"eda-star":"eda-star-fill"):n==="addIntoBasicLibrary"&&(a.name=e.isBasicLibrary?"Remove from Common Library":"Add into Common Library"),r.push(a)}}),r};var IQe=["refresh"],Kvr=["refresh","sep","openCbbProject","sep","saveAs","saveAsLocal","sep","addOrRemoveFavorite"],Zvr=["refresh","sep","openCbbProject","modifyCbbInfo","sep","libDelete","sep","modifyCategory","sep","saveAs","saveAsLocal","sep","addOrRemoveFavorite"],Jvr=["refresh","sep","openCbbProject","modifyCbbInfo","sep","openDirectory","sep","saveAs","saveAsLocal","sep","addOrRemoveFavorite"],qvr=["refresh","editPcb"],Xvr=["refresh","sep","editCbbSymbol","editSchematic"],$vr=["refresh","sep","editSymbol","editSchematic","editPcb","modifyCbbInfo","sep","libDelete","sep","modifyCategory","sep","saveAs","saveAsLocal"],eDr=["refresh","sep","editSymbol","editSchematic","editPcb","modifyCbbInfo","sep","libDelete","sep","saveAsLocal"],tDr=["refresh","sep","openCbbProject","sep","saveAs","saveAsLocal","viewCbbDetail"],iDr=["refresh","sep","saveAsLocal"],oDr=(t,e)=>{switch(t){case Yt.SYSTEM:case Yt.STAR:case Yt.USER:return e===xr.PRJ?bo.getInstance().getContextMenuKeys(Kvr):IQe;case Yt.PERSONAL:case Yt.TEAMS:return e===xr.PRJ?Je?Jvr:Zvr:e===xr.PCB?qvr:e===xr.SCH?Xvr:IQe;case Yt.PROJECT:return Je?eDr:$vr;case Yt.OSHWHUB:return e===xr.PRJ?tDr:IQe;case Yt.EXTEND:return e===xr.PRJ?iDr:IQe;default:return[]}},YHi=(t,e)=>{let i=t.type,o=oDr(i,e.display_title.type);t.uuid===_e.RECENT_LIB_UUID&&(o=NI(o));let r=[];return o.forEach(n=>{if(n==="sep")r.length&&r.push(null);else{let a=AI[n];if(n==="addOrRemoveFavorite")a.name=e.isFavorite?"Remove Favorite":"Add Favorite",a.icon=e.isFavorite?"eda-star":"eda-star-fill";else if(n==="addIntoBasicLibrary")a.name=e.isBasicLibrary?"Remove from Common Library":"Add into Common Library";else if(n==="editCbbSymbol"&&!e.schUuidToCbbSymbolDetailMap[e.uuid])return;r.push(a)}}),r};var LQe=L(z());function rDr(t,e,i){switch(t){case"device":return TEt(e,i,mt.getSymbolLibManage());case"symbol":return SEt(e,i);case"footprint":return MEt(e,i);case"cbb":return YHi(e,i);case"model3D":return IEt(e,i);case"panelLib":return GHi(e,i);case"modelSimLib":return LEt(e,i);default:return[]}}var nDr=(t,e,i="table",o)=>{let r=e.type;switch(i){case"table":return rDr(t,e,o);case"previewBox":return kHi;case"libList":return vEt(t,o);default:return r&&[Yt.TEAMS,Yt.USER].includes(r)?CEt:CEt.reduce((n,a)=>(a&&a.key!=="manageGategories"&&n.push(a),n),[])}};function aDr(t){var x,S,T;let e=be.bind(EEt.default.locals);Ae(EEt.default);let{tabName:i,baseMenuSelected:o,row:r,onClick:n,menuId:a,menuList:s,scene:l}=t,c=o.type,d=()=>s||nDr(i,o,l,r);r=((x=Tr.lastActiveRow)==null?void 0:x.uuid)===(r==null?void 0:r.uuid)?Tr.lastActiveRow:r,Tr.lastActiveRow&&(Tr.lastActiveRow=null);let u=M=>M?"Remove Favorite":"Add Favorite",p=M=>M?"Remove from Common Library":"Add into Common Library",m=M=>{let I=Wi("BASE_PANEL_LIB"),A=M.name;switch(M.key){case"addOrRemoveFavorite":A=u(r.isFavorite);break;case"addIntoBasicLibrary":A=p(Xs(r,"isBasicLibrary")?!!r.isBasicLibrary:qq(r));break;case"addIntoPanelBasicLibrary":A=p(qq(r,I,"uuid"));break}return A},h=M=>{var I,A,D,E,N;if(c===Yt.PROJECT){let R=C.currentProject.owner!==_o();if(_Hi.includes(M)&&(C.currentProject.isCBB?R:!vQe())||["libDelete"].includes(M)&&(C.currentProject.isCBB?R:!xQe()))return!0}if(c===Yt.TEAMS){let R=(((I=r==null?void 0:r.creator)==null?void 0:I.uuid)||((D=(A=r==null?void 0:r.project_detail)==null?void 0:A.creator)==null?void 0:D.uuid))!==_o();if(i===Tt.CBB){if(["modify","editBlockProject","editSchematic","editSymbol","editSymbolOnNewBrowser","editPcb"].includes(M)&&!ym(o.uuid,Yr.Team_Module_Update)&&R||["saveAsLocal"].includes(M)&&!ym(o.uuid,Yr.Team_Module_Download)||["saveAs"].includes(M)&&!ym(o.uuid,Yr.Team_Module_Copy)||["libDelete"].includes(M)&&!ym(o.uuid,Yr.Team_Module_Delete)&&R)return!0}else if(jHi.includes(M)&&!ym(o.uuid,Yr.Team_Component_Update)&&R||["saveAsLocal","documentSaveAsLocal"].includes(M)&&!ym(o.uuid,Yr.Team_Component_Download)||["saveAs","documentSaveAsCloud","symbolSaveAs","footprintSaveAs","model3DSaveAs"].includes(M)&&!ym(o.uuid,Yr.Team_Component_Copy)||["libDelete"].includes(M)&&!ym(o.uuid,Yr.Team_Component_Delete)&&R)return!0}if(c===Yt.PUBLIC){let R=_o(),v=(r==null?void 0:r.owner_uuid)||((E=r==null?void 0:r.ownerInfo)==null?void 0:E.uuid)||((N=r==null?void 0:r.owner)==null?void 0:N.uuid),k=C.teams.find(O=>O.uuid===v&&O.uuid!==R),P=k==null?void 0:k.members.some(O=>O.uuid===R);if(k&&P){if(i===Tt.CBB){if(["saveAs"].includes(M)&&!ym(v,Yr.Team_Module_Copy))return!0}else if(["saveAs","documentSaveAsCloud","symbolSaveAs","footprintSaveAs","model3DSaveAs"].includes(M)&&!ym(v,Yr.Team_Component_Copy))return!0}}},f=`${_ne}Menu_${i}_${c}`,g=(S=vB)==null?void 0:S.getMenuItemsByKeyPrefix(f),b=(T=vB)==null?void 0:T.hasKey(f),y=(M,I,A)=>({menuId:`${M}|${I}`,defaultConfig:A.map(E=>E===null?null:{id:E.id,title:E.title,icon:{iconPath:E.icon},command:"runRegisteredExtensionFn("+E.registerFn+")"})}),w=()=>{let M=[],I=d();for(let A of g){if(A===null){M.push(A);continue}if(I.some(E=>E&&E.key===A.id)){let E=I.filter(N=>N&&N.key===A.id)[0];M.push({id:E.key,title:A.title||m(E),icon:A.icon||{iconClassName:e(`icon-${E.icon}`),iconStyle:{backgroundSize:"12px 12px"}},subHotkeyId:xEt(E.key),disable:h(E.key)||E.disable,...A.registerFn?{command:`runRegisteredExtensionFn(${A.registerFn})`}:{callback:()=>n==null?void 0:n(E.key,r)}})}else A.title!==null&&M.push({id:A.id,title:A.title,icon:{iconPath:A.icon},command:"runRegisteredExtensionFn("+A.registerFn+")",children:A.menuItems?y(A.id,A.title,A.menuItems):void 0})}return M};return b?(0,LQe.jsx)(mv,{menuConfig:{menuId:(a||_ne)+"Menu",defaultConfig:w()}}):(0,LQe.jsx)(mv,{menuConfig:{menuId:(a||_ne)+"Menu",defaultConfig:d().map(M=>M===null||M.key==="addOrRemoveFavorite"&&Je?null:{id:M.key,title:m(M),icon:{iconClassName:e(`icon-${M.icon}`),iconStyle:{backgroundSize:"12px 12px"}},subHotkeyId:xEt(M.key),disable:h(M.key)||M.disable,callback:()=>{n==null||n(M.key,r)}})}})}var sfe=null;function DB(t){let{pageX:e,pageY:i,node:o,windowInstance:r,menuId:n}=t,a=n||_ne;sfe&&(sfe==null||sfe.unmount());let s=r.document.getElementById(a);s||(s=r.document.createElement("div"),s.id=a,r.document.body.appendChild(s)),sfe=WHi.default.createRoot(s),si.openMenu(a+"Menu",{x:e,y:i}),sfe.render((0,LQe.jsx)(_r.Provider,{value:r,children:o}))}var EB=aDr;function Hne(t,e,i){return new Promise(o=>{let{iconType:r,width:n,id:a}=i||{};Ut({id:a,type:"confirm",message:t,title:e,icon:r,width:n,onConfirm:async s=>{s.closeDialog=!1,await le.close(s==null?void 0:s.id),o(!0)},onCancel:async s=>{await le.close(s),o(!1)},onClose:()=>{setTimeout(()=>{o(void 0)},10)}})})}async function QHi(t){if(!await Hne("Rebuild search index maybe need some time, do you want to continue?","Notice"))return;let i=t.path;/\w+\.\w+$/.test(i)||(i+=`\\${t.uuid}.elib`);let r=new Fi({type:"info",msg:"Rebuilding search index, please wait a while...",timer:0});Epi(i).then(()=>{x1()}).finally(()=>{r.close()})}var Gne=L(z());function sDr(){var re;Ae(AEt.default);let t=(0,gh.useRef)(null),e=(0,gh.useContext)(tC),i=J(),{locals:o}=AEt.default,r=be.bind(o),{baseMenuSelected:n,onBaseMenuSelectedChange:a,tabName:s,searchValue:l,isProjectLib:c,currentTabDocType:d,baseMenuAmounts:u,setTableSelectedRow:p,libType:m,isSystemLib:h,deviceOrigin:f,onSecondarySelectedChange:g,setCurrentTabDocType:b,forceSearch:y,windowInstance:w,libListRefreshCount:x,setLibListRefreshCount:S,secondaryMenuIds:T,categoryRefreshCount:M,setCategoryRefreshCount:I}=e,A=(0,gh.useRef)([]),D=(0,gh.useRef)(C.currentProject.projectId),[E,N]=(0,gh.useState)([]),[R,v]=(0,gh.useState)([]),[k,P]=(0,gh.useState)(""),[O,_]=(0,gh.useState)(""),[j,B]=(0,gh.useState)(""),[V,G]=(0,gh.useState)(0),[Q,H]=(0,gh.useState)(!1),[q,U]=(0,gh.useState)(!1);(0,gh.useEffect)(()=>{if(w.document.readyState==="complete"){U(!0);return}w.document.addEventListener("readystatechange",function Y(){w.document.readyState==="complete"&&(U(!0),w.document.removeEventListener("readystatechange",Y))})},[]),(0,gh.useEffect)(()=>{x&&(async()=>(await uj(C.workspace),N([])))()},[x]),HA(()=>{A.current.length<=0||setTimeout(()=>{if(u){let X=Soe(A.current,{isSearch:!!l,tabName:s,amounts:u});A.current=X,N(X)}else if(!l){let X=Soe(A.current,{isSearch:!!l,tabName:s});Tr.classificationList=X,A.current=X,N(X)}let Y=A.current.find(X=>X.uuid===n.uuid);(!Y||Y.hidden)&&pe()},100)},[u,l],200),(0,gh.useEffect)(()=>{d<0?D.current||F():Z(Yt.PROJECT,!D.current||["model3D","panelLib","modelSimLib"].includes(s))},[d]),(0,gh.useEffect)(()=>{br()||(D.current=!1,b(-1),F())},[br()]);let F=()=>{var Y,X;if(Z(Yt.PROJECT,!0),m===Yt.PROJECT){let ie=A.current;Tr.classification=ie[0],a(ie[0]),P((Y=ie[0])==null?void 0:Y.uuid),_((X=ie[0])==null?void 0:X.type)}},K=()=>{let Y=[...mOe],X=mt.getLanguage();!_t&&s===Tt.CBB&&Y.splice(1,0,{title:X==="en"?"OSHWLab":"OSHWHub",uuid:"oshwhub",facetsKey:"oshwhub",amount:null,type:Yt.OSHWHUB});let ie=gOe(C.teams.filter(ye=>ye.uuid!==Xo.getValueFromCacheUser("uuid")));((C.workspace!=="Personal"?"nonPersonal":"personal")==="nonPersonal"||_t)&&(Y=Y.filter(ye=>ye.type!==Yt.PERSONAL));let fe=Y.findIndex(ye=>ye.type===Yt.STAR)+1;return Y.splice(fe,0,...ie),Y=Y.map(ye=>{var Le;return ye={...ye,amount:null},ye.type===Yt.PERSONAL&&(ye={...ye,uuid:(Le=C.loginedUserInfo)==null?void 0:Le.uuid}),ye.type===Yt.PROJECT&&(ye={...ye,hidden:!D.current}),ye}),C.extendLibStore.manager.getLibs().forEach(ye=>{Y.splice(ye.position,0,{title:ye.title,uuid:ye.id,facetsKey:ye.id,amount:null,type:Yt.EXTEND})}),Y},te=async Y=>{let X=await oZ(Y);return bOe(X,s)},ae=()=>{setTimeout(async()=>{let Y=Je?await te(Q):K();Y=Soe(Y.map(de=>(de.facetsKey==="lcsc"?de={...de,type:Yt.SYSTEM}:de.type==="client"&&(de={...de,type:Yt.PERSONAL}),de)),{isSearch:!!l,tabName:s,amounts:u}),Ko&&(Y=Y.map(de=>(de={...de,facetsKey:de.uuid},de))),j?Y=[...Y].filter(de=>i(de.title).search(j)!==-1):(Tr.classificationList=Y,v(Y));let X=Y.find(de=>!de.hidden),ie=Y.find(de=>de.uuid===k&&de.type===O&&!de.hidden);X&&(!k||!ie)&&(a(X),Tr.classification=X,P(X.uuid),_(X.type)),A.current=Y,N(Y),l&&(_t||s===Tt.CBB||Z(Yt.PUBLIC,!1),Z(Yt.STAR,!0)),Z(Yt.PROJECT,!D.current||["model3D","panelLib","modelSimLib"].includes(s))},200)};(0,gh.useEffect)(()=>{ae()},[C.teams,C.loginedUserInfo,Q,,x,s]),(0,gh.useEffect)(()=>{Z(Yt.PROJECT,!D.current||["model3D","panelLib","modelSimLib"].includes(s)),c&&["model3D","panelLib","modelSimLib","modelSimLib"].includes(s)&&(Tr.classification=E[0],a(E[0]),p(null),P(E[0].uuid),_(E[0].type));let Y=Soe(A.current,{isSearch:!!l,tabName:s,amounts:u});A.current=Y,N(Y)},[s]),(0,gh.useEffect)(()=>{if(A.current.length<=0||!l)return;let Y=Soe(A.current,{isSearch:!!l,tabName:s,amounts:u});m===Yt.STAR&&pe(),A.current=Y,N(Y)},[l,y]),(0,gh.useEffect)(()=>{var Y;(Y=t==null?void 0:t.current)!=null&&Y.offsetHeight&&G(t.current.offsetHeight-65)},[(re=t==null?void 0:t.current)==null?void 0:re.offsetHeight]),(0,gh.useEffect)(()=>{E.length>0&&!h&&["lcsc"].includes(f)&&pe(),g([]),I(M+1)},[f]),Bt(Y=>{let X=Soe(A.current,{isSearch:!!l,tabName:s,amounts:u});A.current=X,N(X)}).key("updateInternalLibStatus");let pe=()=>{Tr.classification=E[0],a(E[0]),p(null),P(E[0].uuid),_(E[0].type)},Z=(Y,X)=>{if(A.current.length<=0)return;let ie=[...A.current].map(de=>(de.type===Y&&(de={...de,hidden:X}),de));A.current=ie,N(ie)},ee=Y=>{let X=[...R].filter(ie=>i(ie.title).search(Y)!==-1);B(Y),A.current=X,N(X)},ce=(0,KHi.useMemo)(()=>{let Y=E.filter(X=>!X.hidden);for(let X=0;X<Y.length;X++)if(Y[X].uuid===k&&Y[X].type===O)return X;return-1},[k,E,O]),ne=(Y,X)=>{switch(w.name==="componentLibWin"&&(dl.value=w),Y){case"NewLibrary":{Gg();break}case"OpenLibraryDirectory":{let ie=X.path;/[^.]+\.\w+$/.test(ie)&&(ie=ie.slice(0,ie.lastIndexOf("\\"))),C.messageBus.rpcCall(Ei.CLIENT.OPEN_DIALOG,[ie]);break}case"RebuildSearchIndex":{QHi(X);break}case"Refresh":{C.messageBus.publish("updateTeamsInfo",!0);break}}},oe=(Y,X)=>{DB({pageX:X.pageX,pageY:X.pageY,windowInstance:w,node:(0,Gne.jsx)(EB,{tabName:s,baseMenuSelected:n,scene:"libList",row:Y,onClick:ne})})};return Bt(()=>{Z(Yt.PROJECT,!1),D.current=!0}).key("openProjectInitCompleted"),Bt(Y=>{q&&(Z(Yt.PROJECT,!0),setTimeout(()=>b(-1),200),D.current=!1)}).key(s0.ON_CLOSED),Bt(({isClient:Y,refresh:X})=>{q&&(setTimeout(()=>S(ie=>ie+1),200),Y&&H(X))}).key("refreshLibList"),Ce(C.extendLibStore,()=>(ae(),!1)),(0,Gne.jsxs)("div",{className:r("container"),"data-test":"library owner",ref:t,onContextMenu:Y=>{oe(null,Y)},children:[(0,Gne.jsx)(Ws,{initShowValue:j,placeholder:"Filter",onUpdateInputValue:ee,onClearInputValue:()=>{A.current=R,N(R),B("")}}),(0,Gne.jsx)(RU,{id:"bottomLibList",tabIndex:0,movable:!0,containerStyle:{marginTop:"5px",overflowX:"auto"},ulStyle:{width:"fit-content",minWidth:"100%"},defaultSelected:[ce],height:V,data:E.filter(Y=>!Y.hidden),selectHightLight:!0,ChildrenComponent:(Y,X)=>{let de=Y.type!==Yt.TEAMS&&!(Je&&Y.type===Yt.PERSONAL)?i(Y.title):Y.title;return(0,Gne.jsxs)("span",{title:de,"data-test":Y.title,style:{textOverflow:"ellipsis",overflow:"hidden"},children:[de,Y.amount?`(${Y.amount})`:""]},X)},onClick:(Y,X)=>{let ie={...E.filter(de=>!de.hidden)[X]};HU(n,ie)||(Tr.classification=ie,a(ie)),p(null),P(ie.uuid),_(ie.type)},onContentMenu:(Y,X)=>{X.stopPropagation(),X.preventDefault(),oe(Y,X)}})]})}var ZHi=sDr;var HC=L(Se());var kI=L(Se());var NEt=L(qHi());var kEt=L(z()),lDr=(t,e)=>{let{style:i,onClick:o=()=>{},collapseStatus:r="close",isSelectFirst:n=!0,disableTranslate:a=!1,setTags:s,boxId:l,originalListData:c=[],initCategoryActiveTab:d,libItemInfo:u}=t,p=(0,kI.useRef)({}),m=(0,kI.useRef)({}),h=(0,kI.useRef)(null),[f,g]=(0,kI.useState)(null);Ae(NEt.default);let{locals:b}=NEt.default,y=be.bind(b);(0,kI.useImperativeHandle)(e,()=>({setSelectedId:M=>{g(M)},setCollapseStatus:M=>{h.current.expandAll(M==="open")}}),[]),(0,kI.useEffect)(()=>{var I;if(w(),c.find(A=>A.id===f))g(f);else{let A=n?(I=c==null?void 0:c[0])==null?void 0:I.id:null;g(A),o(A,A?[A]:[])}},[c]);let w=()=>{p.current={},m.current={}},x=M=>{var A;let I={};for(let D=0;D<c.length;D++){c[D].id===M&&(I.parent_tag={uuid:c[D].id,name:c[D].name,name_cn:c[D].titleAdditional});for(let E=0;E<((A=c[D].extend||[])==null?void 0:A.length);E++)c[D].extend[E].id===M&&(I.parent_tag={uuid:c[D].id,name:c[D].name,name_cn:c[D].titleAdditional},I.child_tag={uuid:c[D].extend[E].id,name:c[D].extend[E].name,name_cn:c[D].extend[E].titleAdditional})}s==null||s(I)},S=(M,I,A)=>{A!=null&&A.isDisabledSelected||(g(M),x(M),o(M,I))};function T(M=c){return M.map(I);function I(A){var E;let D={id:A.id,title:A.name||A.title||A.titleAdditional,children:(E=A.children)!=null&&E.length?A.children.map(I):[],titleAdditional:me.i18n(A.titleAdditional),disableTranslate:!!A.disableTranslate};return A.id===_e.CATEGORY_ITEM_ALL_VALUE&&(D.title=D.title,D.titleAdditional=me.i18n(D.titleAdditional)),D}}return(0,kEt.jsx)("div",{className:y("box"),style:i,"data-test":"library classify",id:l,children:(0,kEt.jsx)(SDt,{isVirtualList:!0,ref:h,containerStyle:{border:"none"},selectedIds:[f],categoryList:T(),searchPlaceholder:"Filter",selectedCategoriesAction:(M,I)=>{let A=M[0],D=I[A].split(":");S(A,D,void 0)},libItemInfo:u,initCategoryActiveTab:d,ownerSelectValue:u.id,disableTranslate:a,updateExpandedIdsOnCategoryListChanged:!1})})},XHi=kI.default.memo((0,kI.forwardRef)(lDr));var eGi=L(z());function cDr(){let t=(0,HC.useContext)(tC),{baseMenuSelected:e,secondaryMenuIds:i,onSecondarySelectedChange:o,tabName:r,categoryRefreshCount:n,deviceOrigin:a,searchValue:s}=t,l=(0,HC.useRef)(null),[c,d]=(0,HC.useState)("close"),[u,p]=(0,HC.useState)(Tr.categoryList),m=(0,HC.useRef)(0),h=(0,HC.useMemo)(()=>Rri[r],[r]);(0,HC.useEffect)(()=>{var w;d("close"),i.length<=0&&(o([]),l.current.setSelectedId((w=u[0])==null?void 0:w.id))},[n]),(0,HC.useEffect)(()=>{var w;s.trim().length&&(o([]),l.current.setSelectedId((w=u[0])==null?void 0:w.id))},[s]);let f=(0,HC.useMemo)(()=>{let w=Po.workingMode;return[Ee.SIMULIDE,Ee.NGSPICE].includes(w)?w:null},[]),g=(0,HC.useRef)(f);Ce(Po,()=>{let w=Po.workingMode,x=[Ee.SIMULIDE,Ee.NGSPICE].includes(w)?w:null;return x!==g.current&&(g.current=x),!1}),(0,HC.useEffect)(()=>{m.current+=1,(async w=>{var T;if(!e)return;let x={uid:e==null?void 0:e.uuid,path:e==null?void 0:e.uuid,type:h,tabName:r,deviceOrigin:a,menuType:e==null?void 0:e.type},S=[];if((e==null?void 0:e.type)===Yt.EXTEND)try{S=await C.extendLibStore.manager.getLib(e.uuid).getCategoryTreeDataItemsInTab(r),Array.isArray(S)&&S.unshift({title:_e.CATEGORY_ITEM_ALL_TITLE,titleAdditional:me.i18n(_e.CATEGORY_ITEM_ALL_TITLE),disableTranslate:!1,id:_e.CATEGORY_ITEM_ALL_VALUE,order_no:Number.MAX_SAFE_INTEGER,children:[],parentId:void 0})}catch{S=[]}else if(r===Tt.CBB&&Je)S=[{title:_e.CATEGORY_ITEM_ALL_TITLE,titleAdditional:me.i18n(_e.CATEGORY_ITEM_ALL_TITLE),disableTranslate:!1,id:_e.CATEGORY_ITEM_ALL_VALUE,order_no:Number.MAX_SAFE_INTEGER,children:[],parentId:void 0}];else if([Yt.STAR,Yt.PROJECT,Yt.OSHWHUB].includes(x.uid)||(e==null?void 0:e.type)===Yt.INTERNAL&&r===Tt.DEVICE)S=await Uyi(x)||S;else{let M=await sn.fetchCategoryList(x.uid,x.path,x.type,b(),!0);S=((T=M==null?void 0:M.result)==null?void 0:T.treeData)||S}m.current===w&&([Yt.SYSTEM,Yt.STAR,Yt.PUBLIC,Yt.EXTEND,Yt.INTERNAL].includes(x.menuType)||S==null||S.splice(1,0,{id:"@Uncategorized",children:[],parentId:"",disableTranslate:!1,title:"Uncategorized",titleAdditional:me.i18n("Uncategorized")}),p(S),Tr.categoryList=S)})(m.current)},[e==null?void 0:e.uuid,r,n,a,g.current]),(0,HC.useEffect)(()=>{u!==Tr.categoryList&&p(Tr.categoryList)},[Tr.categoryList]);let b=()=>{if(r===Tt.DEVICE)switch(g.current){case Ee.NGSPICE:return[ve.NGSPICE_MODEL];case Ee.SIMULIDE:return[ve.SIMULIDE_MODEL];default:return}},y=(w,x)=>{o(x[0]===_e.CATEGORY_ITEM_ALL_VALUE?[]:x)};return(0,eGi.jsx)(XHi,{boxId:"bottomCateContainer",categoryRefreshCount:n,collapseStatus:c,originalListData:u,path:e==null?void 0:e.uuid,disableTranslate:!1,onClick:y,ref:l,style:{width:"250px",borderLeft:"1px solid var(--border-color-panel-divider)",height:"calc(100% - 30px)"},initCategoryActiveTab:t3t[r],libItemInfo:{key:e==null?void 0:e.type,id:(e==null?void 0:e.uuid)===Yt.PROJECT?C.currentProject.projectId:e==null?void 0:e.uuid,bindType:b()}})}var $Hi=cDr;var ds=L(Se());var a5=L(Se());var iGi=L(eC()),oGi=L(PEt());function PI(t,e=500,i={immediate:!1,trailing:!1}){let o=null;return function(...r){o&&window.clearTimeout(o),i.immediate?(o||t.apply(this,arguments),o=window.setTimeout(()=>{o=null,i.trailing&&t.apply(this,arguments)},e)):o=window.setTimeout(()=>{t.apply(this,arguments)},e)}}var OI=L(z()),dDr=({keyVal:t,libUuid:e,tags:i,isProjectLib:o,deviceOrigin:r,internalLibDeviceAttrData:n,onChange:a,onRemove:s})=>{let l=J(),c=iGi.default.locals,d=oGi.default.locals,[u,p]=(0,a5.useState)([]),[m,h]=(0,a5.useState)(""),[f,g]=(0,a5.useState)([]),[b,y]=(0,a5.useState)(""),[w,x]=(0,a5.useState)(""),[S,T]=(0,a5.useState)(!1),M=(0,a5.useMemo)(()=>{var j;return((j=f.find(B=>B.value===b))==null?void 0:j.text)||""},[f,b]),I=(0,a5.useRef)(null),A=O(m),D=j=>{let B={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};return j.replace(/[&<>"']/g,V=>B[V])},E=(0,a5.useCallback)(PI(j=>h(j),100),[]);(0,a5.useEffect)(()=>{p([]),y(""),x(""),T(!1)},[t,e,i,o]),(0,a5.useEffect)(()=>{let j=O(m);g(u.filter(B=>(j.lastIndex=0,j.test(l(B.text)))))},[m,u]);let N=j=>{var V;let B=j.map(G=>["Footprint","Symbol"].includes(t)?{value:G.uuid,text:G.display_title}:{value:G,text:G});B=R(B,"value"),(V=B[0])!=null&&V.value&&B.unshift({value:"",text:""}),p(B),x(""),setTimeout(()=>{I.current.refreshDropdownRefHeight(),I.current.toggle()})};function R(j,B){let V=new Map;return j.filter(G=>!V.has(G[B])&&V.set(G[B],1))}function v(){if(!i.length)return[];let j=[],B=Tr.categoryList.find(V=>V.id===i[0]);if(j.push(B.name_cn||B.name),i[1]&&B.children){let V=B.children.find(G=>G.id===i[1]);j.push(V.name_cn||V.name)}return j}let k=async()=>{let j=[],B=e,V=await Ze.getDeviceAttributesValues({path:B,isProject:B===C.currentProject.projectId,uid:B,key:t,tags:v()});return V&&(j=V),j},P=async j=>{let{message:B}=await C.messageBus.rpcCall($e.DEVICE.GET_ALL_ARR,[C.currentProject.projectId]),V=new Set;for(let G=0;G<B.length;G++){let H=B[G].attributes[j];if(j==="Footprint"){let{message:q}=await C.messageBus.rpcCall($e.FOOTPRINT.GET,[H,C.currentProject.projectId]);q&&V.add({display_title:q.display_title,uuid:H,title:q.title})}else if(j==="Symbol"){let{message:q}=await C.messageBus.rpcCall($e.SYMBOL.GET,[H,C.currentProject.projectId]);q&&V.add({display_title:q.display_title,uuid:H,title:q.title})}else V.add(H)}return[...V]};function O(j){let B=j.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return new RegExp(`(${B})`,"ig")}let _=({text:j,highlight:B})=>{if(!B)return j;let V=j.split(A);return(0,OI.jsx)(OI.Fragment,{children:V.map((G,Q)=>Q%2===0?(0,OI.jsx)("span",{children:G},Q):(0,OI.jsx)("em",{style:{backgroundColor:"var(--common-bg-color-highLight-item)",fontStyle:"unset"},children:G},Q))})};return(0,OI.jsxs)("section",{style:{position:"relative",display:"flex",alignItems:"center",height:"22px"},children:[(0,OI.jsx)("span",{style:{paddingRight:"2px"},children:Wq.includes(t)?l(t):l({context:"attrs",value:t,options:null})}),(0,OI.jsx)("span",{style:{width:"110px",height:"22px",position:"absolute",right:Wq.includes(t)?"-6px":"12px",lineHeight:"22px",display:S?"none":"",zIndex:1},onClick:async()=>{x("Loading...");let j=[];if(o)await P(t);else if(e===Yt.INTERNAL){if(n.length){for(let B=0;B<n.length;B+=1)if(n[B].name===t){j=n[B].value;break}}}else j=await k();N(j),T(!0)},children:l(w)}),(0,OI.jsx)(ej,{className:d["lib-filter-select"],ref:I,width:"110px",height:"22px",selectedValue:b,selectedText:l(M),searchAble:!0,dropBoxPadding:"4px",hiddenCallback:()=>{h("")},onSearchInput:j=>{E(j)},onItemChange:(j,B,V)=>{y(j),a(j)},children:(0,OI.jsx)(Z8,{containerHeight:Math.min(380,f.length*22),countTotal:f.length,estimatedRowHeight:22,children:({index:j,style:B})=>{let V=f[j],G=l(V.text);return(0,OI.jsx)(yTe,{value:String(V.value),title:G,children:m?_({text:G,highlight:m}):G},j)}})}),!Wq.includes(t)&&(0,OI.jsx)("i",{className:c["icon-eda-x-circle-small"],onClick:()=>s==null?void 0:s()})]})},rGi=dDr;var wM=L(Se());var jEt=L(aGi());var OEt=(i=>(i.down="up",i.up="down",i))(OEt||{}),REt=(i=>(i.down="down",i.up="up",i))(REt||{}),sGi=["Convert to PCB","Add into BOM","image","Footprint","Manufacturer","nameAlias","3D Model Title","3D Model Transform","Manufacturer Part","Supplier Part"];var _Et=class extends qe{constructor(){super(...arguments);this.removeVal=null;this.deviceProjectFilterKeys=[]}setRemoveVal(i){this.removeVal!==i&&(this.removeVal=i,this.notify())}setDeviceProjectFilterKeys(i){this.deviceProjectFilterKeys=i,this.notify()}},Xq=new _Et;var DD=L(z()),uDr=["JLCPCB Part Class","Supplier Footprint","Value"],pDr=({isProjectLib:t,tags:e,searchValue:i,setInternalLibDeviceAttrData:o,libUuid:r,deviceOrigin:n,onChange:a})=>{Ae(jEt.default),Ce(Xq);let s=be.bind(jEt.default.locals),l=J(),{window:c}=(0,wM.useContext)(_r),d=(0,wM.useRef)(null),{removeVal:u}=Xq,[p,m]=(0,wM.useState)("down"),[h,f]=(0,wM.useState)([]),[g,b]=(0,wM.useState)([]),[y,w]=(0,wM.useState)([]),[x,S]=(0,wM.useState)(!1),[T,M]=(0,wM.useState)(""),[I,A]=(0,wM.useState)({left:0,top:0});(0,wM.useEffect)(()=>{(async()=>{if(f([]),b([]),S(!1),m("down"),r===dv){let P=await D(),O=uDr.filter(_=>P.includes(_));w(O),O.length&&(a==null||a(O))}else w([])})()},[t,e,r]),(0,wM.useEffect)(()=>{u&&R(u,!1),Xq.setRemoveVal(null)},[u]);let D=async()=>{let P=[];if(t)P=Xq.deviceProjectFilterKeys;else if(r===Yt.INTERNAL){let O=await M0e({wd:i||void 0,tags:e}).catch(_=>null);O&&(P=O.map(_=>_.name),M(""),o(O))}else{let O=r,_=await Ze.getDeviceAttributesKeys({path:O,isProject:O===C.currentProject.projectId,uid:O,tags:e});_&&(P=_,M(""))}return P.filter(O=>!sGi.includes(O))},E=async()=>{M(h.length?"":l("Loading..."));let P=h.length?h:await D();f(P),!g.length&&b(P),m(REt[OEt[p]]),N(P.length),S(!x)},N=P=>{if(d.current){let{left:O,top:_,bottom:j}=d.current.getBoundingClientRect(),B=2,V=P?Math.min(261,61+P*26-10):51;c.innerHeight-j<V+B?_=_-V-B:_=j+B,A({left:O,top:_})}},R=(P,O)=>{if(O)w(_=>(_.push(P),a==null||a(_),_));else{let _=[...y].filter(j=>j!==P);a==null||a(_),w(_)}setTimeout(()=>{N(h.length)})},v=P=>{if(P){let O=[...g].filter(_=>l({context:"attrs",value:_,options:null}).indexOf(P)!==-1);f(O)}else f(g)},k=P=>{d.current.contains(P.target)||S(!1)};return Gs("click",k,{capture:!0}),Bt(()=>{S(!1)}).key("canvasMousedownEvent"),(0,DD.jsxs)("section",{ref:d,style:{position:"relative"},children:[(0,DD.jsx)(Me,{size:"sm",style:{height:"22px"},dataTest:"filterSelect",onClick:E,children:T||(0,DD.jsxs)("span",{children:["+",l("Filter"),(0,DD.jsx)("i",{className:s(p)})]})}),(0,DD.jsxs)("div",{className:s("select-container",{hidden:!x}),style:{left:I.left,top:I.top},children:[(0,DD.jsx)("div",{style:{margin:"10px 10px 5px"},children:(0,DD.jsx)(Ws,{placeholder:l("Filter"),onUpdateInputValue:P=>v(P)})}),(0,DD.jsx)("ul",{children:h.map(P=>(0,DD.jsxs)("li",{className:s("select-item"),"data-name":P,children:[(0,DD.jsx)($p,{style:{marginRight:"4px"},defaultChecked:y.includes(P),onChange:O=>R(P,O)}),(0,DD.jsx)("div",{className:s("select-item-name"),"data-i18n-context":"attrs",children:l({context:"attrs",value:P,options:null})})]},P))})]})]})},lGi=pDr;var cGi=L(Se());var AB=L(z());function mDr(t,e,i,o={checkbox:!1}){let{checkbox:r}=o,n=t({value:"You are trying to delete the project as below, this operation cannot be undone, please be careful!",options:{xxx:e}});return r&&(n+=`<p class="checkbox-text-wrap">
		<label>
			<input type="checkbox" class="delReply" name="delReply" id="delReply" />
			<span class="i18n">I got it, continue to delete. </span>
		</label>
	</p>`),n+='<br /><div style="overflow: auto;height:100px;">'+i.map(a=>`<span class="content" style="display: inline-block;padding: 8px;color: #1890ff;">${a}</span>`).join("\u3001")+"</div>",n}var NQe=t=>{let{type:e,title:i,onClick:o}=t,n=mDr(Rr,e,[i]),s=Dt({height:240,closed:!0,esc:!0,title:"Warning",isHtml:!0,content:n,footer:(0,AB.jsx)(()=>{let[l,c]=(0,cGi.useState)(!1);return(0,AB.jsxs)(AB.Fragment,{children:[(0,AB.jsx)(qt,{style:{float:"left"},onChange:()=>{c(!l)},children:"I got it, continue to delete."}),(0,AB.jsxs)("div",{children:[(0,AB.jsx)(Me,{size:"md",disabled:!l,type:"primary",onClick:()=>{o(),le.destroy(s)},children:"Delete"}),(0,AB.jsx)(Me,{style:{marginLeft:"5px"},size:"md",onClick:()=>{le.destroy(s)},children:"Cancel"})]})]})},{}),footerStyle:{display:"flex",justifyContent:"space-between"}})};async function lfe(t){var i;let e=await S0e({wd:t,page:1,pageSize:1},!1,!1).catch(o=>null);return(i=e==null?void 0:e.count)!=null?i:0}async function dGi(t,e,i,o,r,n){let a=Mt(String(Math.random()));n&&n(a);let s=[],l=await Yf({isProjectLib:!0,type:"blockSymbols"});for(let c of Object.keys(l))s.unshift(l[c]);return s=s.filter(c=>{if(o.length&&!r)try{let d=dj(c);if(!d||!d.parent_tag)return!!o.includes("@Uncategorized");for(let u=0;u<o.length;u++)if((u===0?d.parent_tag.uuid:d.child_tag.uuid)!==o[u])return!1}catch{return!1}return r?OS(c,r):!0}),t&&e&&(s=s.slice((t-1)*e,t*e)),{lists:s,ListsCount:s.length,requestId:a}}var kQe=(t,e)=>{let i=["display_title","index"];if(!e.length)return t;let o=s=>i.includes(s),r=[];[...t].forEach(s=>{r.push(s.key),e.forEach(l=>{(o(s.key)||l[s.key]&&r[r.indexOf(s.key)])&&r.splice(r.indexOf(s.key),1)})});let n=[...t].filter(s=>!r.includes(s.key));return n=(s=>{let l=[];return s.forEach(c=>{let d={...c,key:c.key,name:c.name,width:["index"].includes(c.key)?50:1/(s.length-1),sortable:!0};l.push(d)}),l})(n),n},PQe=async()=>{var e;let t=((e=am.customTableHeadData)==null?void 0:e.componentLibDevice)||"";if(t)am.setCustomTableHeadData("chooseDeviceDlg",{...t});else{let i=await zRe();am.setCustomTableHeadData("chooseDeviceDlg",{...i})}},hDr=async t=>{let e={},i=bo.getInstance().usedId,o={...t,isProject:i===C.currentProject.projectId,path:i,uid:i,pageSize:1,page:1},r=await Ze.getDeviceSearchList(o);r&&(e=r.facets);for(let n of C.extendLibStore.manager.getLibs())n.id!==t.uid&&n.isVisible({isSearch:!0,tabName:Tt.DEVICE,scene:x9.DIALOG})&&(e[n.id]=await n.getAmountByWd(Tt.DEVICE,t.wd));return e},BEt=async t=>{var i;let e=0;if((i=C.currentProject)!=null&&i.projectId){let{message:o}=await C.messageBus.rpcCall($e.DEVICE.WITH_ORIGINS,[C.currentProject.projectId]);e=o.filter(r=>OS(r,t)).length}return e},$q=async(t,e)=>{let i=await hDr(t);if(i[t.uid]=e,t.uid!==C.currentProject.projectId){let o=await BEt(t.wd);i[C.currentProject.projectId]=o}return C.isOpenInternalLib&&(i[Yt.INTERNAL]=await lfe(t.wd)),i};async function fDr(t,e){let i=Mt(String(Math.random()));e&&e(i);let{libUuid:o,type:r,requestBody:n}=t;return{result:await C.extendLibStore.manager.getLib(o).getTransformedListInTab(r,n),requestId:i}}async function uGi(t,e){let{libUuid:i,requestBody:o}=t,{result:r,requestId:n}=await fDr({libUuid:i,requestBody:o,type:Tt.DEVICE},e),a={...r,lists:{[i]:r.lists},uid:i,wd:o.query.wd},s=await $q({uid:i,pageSize:o.pageSize,page:o.page,wd:o.query.wd},r.count);return a.facets=s,{result:a,requestId:n,code:200,success:!0}}var UEt=L(mGi());var Yne=class t extends qe{static getInstance(){var e;return(e=this._instance)!=null?e:this._instance=new t}async findFootprintAnd3DModel(e){if(e.attributes["3D Model Title"]==null){let o=e.footprint;o.path||(o.path=e.path);let{d3modelItem:r,d3modelItemName:n,d3modelItemId:a,d3modelItemTransform:s}=await ue.getFootprint3DInfo(o.uuid,o.path,o.path===C.currentProject.projectId);(r||n&&a&&s)&&this.refreshView((l,c,d)=>{let u=l.find(p=>p.uuid===e.uuid);u&&(u.attributes["3D Model Title"]=n,u.attributes["3D Model"]=a,u.attributes["3D Model Transform"]=s,c([...l]),d([...l]))})}}refreshView(e){this.refreshCB=e,this.notify()}};function gDr(t){var c,d,u,p,m,h,f,g,b,y;let{page:e,pageSize:i,wd:o,tabName:r,deviceTypeValue:n,attributes:a,symbolTypeValue:s,tags:l}=t;switch(r){case Tt.DEVICE:return{page:e,pageSize:i,query:{wd:o,symbolType:n,attributes:a,classification:{primaryClassificationUuid:(c=l==null?void 0:l[0])!=null?c:"",secondaryClassificationUuid:(d=l==null?void 0:l[1])!=null?d:""}}};case Tt.SYMBOL:return{page:e,pageSize:i,query:{wd:o,symbolType:(s==null?void 0:s.length)>1?void 0:s[0],classification:{primaryClassificationUuid:(u=l==null?void 0:l[0])!=null?u:"",secondaryClassificationUuid:(p=l==null?void 0:l[1])!=null?p:""}}};case Tt.FOOTPRINT:return{page:e,pageSize:i,query:{wd:o,classification:{primaryClassificationUuid:(m=l==null?void 0:l[0])!=null?m:"",secondaryClassificationUuid:(h=l==null?void 0:l[1])!=null?h:""}}};case Tt.CBB:return{page:e,pageSize:i,query:{wd:o,classification:{primaryClassificationUuid:(f=l==null?void 0:l[0])!=null?f:"",secondaryClassificationUuid:(g=l==null?void 0:l[1])!=null?g:""}}};case Tt.MODEL3D:return{page:e,pageSize:i,query:{wd:o,classification:{primaryClassificationUuid:(b=l==null?void 0:l[0])!=null?b:"",secondaryClassificationUuid:(y=l==null?void 0:l[1])!=null?y:""}}};default:throw Error(`_getExtendLibListReqData: not support tabName:${r}`)}}async function hGi(t,e){let i=C.extendLibStore.manager.getLib(t),o=gDr(e);return await i.getTransformedListInTab(e.tabName,o)}var CM=L(Se());var ED=L(z()),fGi=t=>{let{containerId:e,initCategoryType:i,initCategoryName:o,onDialogSave:r}=t;Ce(ku),Ce(On);let n=(0,CM.useRef)(null),a=(0,CM.useRef)(C.workspace),[s,l]=(0,CM.useState)(""),[c,d]=(0,CM.useState)(""),[u,p]=(0,CM.useState)(""),[m,h]=(0,CM.useState)(o||""),[f,g]=(0,CM.useState)(""),[b,y]=(0,CM.useState)(!1),w=(0,CM.useRef)(null),x=(0,CM.useMemo)(()=>i?i===Yi.CBB:!1,[i]),S=(0,CM.useCallback)((M,I)=>{l(M),d(I.args.owner),p(I.title)},[]),T=async()=>{if(b||!await jv(s,Yr.Team_Component_Add,"Permission Dend")||!ch({ownerId:{value:s,isJudge:!Je},categoryId:f}))return;y(!0);let M,I,A;Je?x?(M=w.current,I=w.current,A=w.current):(M=On.selectPath,I=On.selectPath,A=On.selectPath):(M=c,I=c,A=u),r({path:M,categoryName:m,ownerBelongId:I,ownerBelongName:A}).then(D=>{D&&(y(!1),le.close(e))}).catch(()=>{y(!1)}).finally(()=>{y(!1)})};return Bt(M=>{let{key:I}=M;I==="Enter"&&T()}).keyboard(e),(0,ED.jsxs)(ED.Fragment,{children:[(0,ED.jsxs)(z0,{children:[Je&&!x&&(0,ED.jsx)(Wb,{selectChange:()=>{}}),Je&&x&&(0,ED.jsx)(Ype,{onChange:M=>w.current=M}),!Je&&(0,ED.jsx)(du,{ref:n,defaultSelectId:s,notFolder:!0,onOwnerChange:S,onWorkSpaceChange:M=>a.current=M}),(0,ED.jsx)(Ep,{inputValue:m,categoryType:i,ownerSelectId:s,clientLibPath:On.selectPath,openDialogCallback:(M,I)=>{h(M),g(I)},clearClick:()=>{h(""),g("")}})]}),(0,ED.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"8px"},children:[(0,ED.jsx)(Me,{disabled:b,type:"primary",onClick:()=>T(),children:"Save"}),(0,ED.jsx)(Me,{onClick:()=>le.close(e),children:"Cancel"})]})]})};var bGi=L(z());async function gGi(t,e){let i=bt[t],{containerId:o,width:r,closed:n}=i,{dialogTitle:a,initCategoryType:s,initCategoryName:l,onDialogSave:c}=e;le.open({id:o,title:a,width:r,closed:n,children:(0,bGi.jsx)(fGi,{containerId:o,initCategoryType:s,initCategoryName:l,onDialogSave:c})})}async function r7(t){return await ii("batchSave",{...t})}var n7=t=>{let e=new Set;return t.forEach(i=>{var r,n,a,s,l,c;let o="";try{if(i!=null&&i.custom_tags)o=JSON.parse(i.custom_tags).join(":");else if((n=(r=i.tags)==null?void 0:r.parent_tag)!=null&&n.name){let d=((a=i.tags.parent_tag)==null?void 0:a.name_cn)||((s=i.tags.parent_tag)==null?void 0:s.name),u=((l=i.tags.child_tag)==null?void 0:l.name_cn)||((c=i.tags.child_tag)==null?void 0:c.name);o=u?`${d}:${u}`:d}o&&e.add(o)}catch{o=""}}),e.size===1?Array.from(e).join():""};var yGi=t=>{r7({dialogTitle:"Document Save as",initCategoryName:n7(t),initCategoryType:Yi.PANEL_LIB,onDialogSave:async e=>{let i=!1,{path:o,categoryName:r}=e;return await Ro(t,async(n,a)=>{await Ze.createPanelLib({path:o,isProject:!1,panelLib:{isProject:!1,uuid:a.uuid,path:yr(a),override:{tags:r?r.split(":"):[]}}})&&(i=!0),De({type:i?"success":"error",msg:i?"Saved successfully!":"Save failed!"})}),i}})};var uy=L(z()),zEt=[2,18,19,20,21,22,25,31],uY="tableIndex",bDr=50,yDr=1,wDr=[10,20,50,100,150],wGi=63,FEt="";function CDr(){let t=(0,ds.useRef)(null),e=(0,ds.useRef)(null),i=(0,ds.useRef)(0),o=(0,ds.useRef)(0),r=(0,ds.useRef)({}),n=J(),{locals:a}=UEt.default,s=be.bind(a);Ae(UEt.default);let{baseMenuSelected:l,secondaryMenuIds:c,tabName:d,isProjectLib:u,isSystemLib:p,searchValue:m,deviceOrigin:h,tableRefreshCount:f,setTableRefreshCount:g,tableSelectedRow:b,setTableSelectedRow:y,windowInstance:w,openWindow:x,tableCheckedRows:S,setTableCheckedRows:T,tableCheckbox:M,setTableCheckbox:I,baseMenuAmounts:A,setBaseMenuAmounts:D,openCbbProject:E,setDoubleClickPlaceTrigger:N,categoryRefreshCount:R,setCategoryRefreshCount:v,forceSearch:k,libType:P,cacheBatchBtnList:O,symbolModeValue:_}=(0,ds.useContext)(tC),[j,B]=(0,ds.useState)(Tr.selectedDocType),[V,G]=(0,ds.useState)(zEt),[Q,H]=(0,ds.useState)(oT.NGSpcie),[q,U]=(0,ds.useState)([]),[F,K]=(0,ds.useState)([]),[te,ae]=(0,ds.useState)([]),[pe,Z]=(0,ds.useState)(null),[ee,ce]=(0,ds.useState)(yDr),[ne,oe]=(0,ds.useState)(bDr),[re,Y]=(0,ds.useState)(0),[X,ie]=(0,ds.useState)(!1),[de,fe]=(0,ds.useState)([]),[ye,Le]=(0,ds.useState)([]),[Re,Ne]=(0,ds.useState)(Wq),[Te,Pe]=(0,ds.useState)({}),[Oe,Ue]=(0,ds.useState)(wGi),[Ve,ze]=(0,ds.useState)(!1),[He,Ye,ke]=La(),[Be,Xe,Ge]=La(),[Ke,pt]=(0,ds.useState)([]),ot=(0,ds.useRef)(null),Qe=(0,ds.useRef)(null);Qe.current=Q,(0,ds.useEffect)(()=>{C.messageBus.rpcService("getSimulationTypeValue",()=>Qe.current===oT.NGSpcie?se.NGSPICE_MODEL:se.SIMULIDE_MODEL)},[]),(0,ds.useEffect)(()=>{(l==null?void 0:l.type)===Yt.STAR&&v(1+R)},[Q]);let ut=(0,ds.useMemo)(()=>d===Tt.DEVICE?"componentLibDevice":`componentLib-${d}-table`,[d]);Ce(Yne.getInstance(),()=>(Yne.getInstance().refreshCB(q,U,Mi),!1)),Ce(is,()=>{let $t=Fne(d,l.uuid,q,ee,ne,n);return U($t),!0}),Bt($t=>{let{path:ui,uuid:fi}=$t;Vm()===ui&&q.filter(no=>no.uuid===fi).length&&g(no=>no+1)}).key("deleteDataBottomCb"),(0,ds.useEffect)(()=>{ze(d===Tt.DEVICE&&c.length>0&&h==="eda")},[d,c,l,h]),(0,ds.useEffect)(()=>{let $t=GTe("table");oe($t)},[]),(0,ds.useEffect)(()=>{de.length&&!_t&&!Ko&&(async()=>{let $t=[...q];$t=await Cme($t,de),$t=await g5t($t,de),r.current[Qt()]===i.current&&(U($t),Mi($t))})()},[de]),(0,ds.useEffect)(()=>{ye.length&&(l==null?void 0:l.type)!==Yt.INTERNAL&&(async()=>{let $t=[...q];$t=await y5t($t,ye),r.current[Qt()]===i.current&&(U($t),Mi($t))})()},[ye]),(0,ds.useEffect)(()=>{U([]),ht()},[d,u]),(0,ds.useEffect)(()=>{d===Tt.CBB&&ht()},[q]);let rt=()=>{let $t=yHi(d,u,n);return d===Tt.CBB&&($t=kQe($t,q)),$t.forEach(ui=>{ui.onCell=(fi,to,no)=>{if(fi.errorFootprint&&no==="footprint_name"||fi.errorSymbol&&no==="symbol_name"||fi.error3DModel&&no==="3D Model Title")return{style:{color:"red"}}}}),$t},ht=()=>{let $t=rt();K($t),ae($t)};(0,ds.useEffect)(()=>{Tr.selectedDocType&&setTimeout(()=>{B(Tr.selectedDocType)},0)},[Tr.selectedDocType]),(0,ds.useEffect)(()=>{ht()},[me.curr]),(0,ds.useEffect)(()=>{_&&te.length!==0&&[Tt.DEVICE].includes(d)&&ni(_)},[_,te]),(0,ds.useEffect)(()=>(Ye(t.current),()=>{ke()}),[t.current]),(0,ds.useEffect)(()=>(Xe(e.current),()=>{Ge()}),[e.current]),(0,ds.useEffect)(()=>{if(He){let{height:$t}=He;Z($t)}},[He]),(0,ds.useEffect)(()=>{if(Be){let{height:$t}=Be;$t&&Ue($t+5+36)}},[Be]),(0,ds.useEffect)(()=>{B(void 0),G(zEt)},[d]),(0,ds.useEffect)(()=>{y(null),Ne(Wq),Pe({})},[d,l,c]),(0,ds.useEffect)(()=>{X&&dr()},[X]),HA(()=>{FEt=l==null?void 0:l.title,i.current+=1,fe([]),Le([]),U([]),ie(!0),y(null),O.length<=0&&I(!1),ht(),yt()},[d,l,c,j,V,Q,m,ee,ne,h,f,k,Te],300),(0,ds.useEffect)(()=>{q!=null&&q.length||y(null)},[q]),(0,ds.useEffect)(()=>{if(M&&P==Yt.TEAMS){let $t=O.some(fi=>fi.name=="Batch Delete"),ui=O.some(fi=>fi.name=="Batch Modify Category");if($t||ui){let fi;d==Tt.CBB?$t?fi=Yr.Team_Module_Delete:ui&&(fi=Yr.Team_Module_Update):$t?fi=Yr.Team_Component_Delete:ui&&(fi=Yr.Team_Component_Update);let to=!ym(l.uuid,fi);U(no=>{var Lr;for(let Pa of no){let Ss=((Lr=Pa.creator)==null?void 0:Lr.uuid)!=_o();Pa.disabledCheckbox=to&&Ss}return no})}}},[q,M]);let ct=(0,ds.useMemo)(()=>{let $t=Po.workingMode;return[Ee.SIMULIDE,Ee.NGSPICE].includes($t)?$t:null},[]),wt=(0,ds.useRef)(ct);Ce(Po,()=>{let $t=Po.workingMode,ui=[Ee.SIMULIDE,Ee.NGSPICE].includes($t)?$t:null;return ui!==wt.current&&(wt.current=ui,d===Tt.DEVICE&&g(f+1)),!1});let zt=()=>{let $t={};j&&($t.symbol_type=j),Te&&($t.attributes=Te);let ui=gt();return ui&&($t.bindType=ui),$t},gt=()=>{switch(wt.current){case Ee.NGSPICE:return se.NGSPICE_MODEL;case Ee.SIMULIDE:return se.SIMULIDE_MODEL;default:return}},Qt=()=>`${d}_${(l==null?void 0:l.uuid)||""}_${(c||[]).join(";")}_${j}_${V}_${Object.values(Te||{}).join(";")}`,yt=async()=>{if(l){if(r.current={...r.current,[Qt()]:i.current},l.type===Yt.EXTEND){await Ii(i.current,m.trim());return}if(d===Tt.DEVICE&&(l==null?void 0:l.type)===Yt.INTERNAL){await Mo(i.current,m.trim());return}if(u)await es(i.current);else if(d===Tt.CBB){m&&D(null);let{lists:$t,count:ui,traceId:fi}=await cO(ee,ne,c,i.current,m.trim(),!1,l.uuid,l.type===Yt.TEAMS,l.uuid!==Yt.OSHWHUB&&!m.trim()?c.includes("@Uncategorized"):!1);fi===i.current&&(Y(ui),U($t),ie(!1))}else if(m)Sa(i.current);else{if(ln.isViewerMode)return;d===Tt.DEVICE&&_i(i.current),d===Tt.SYMBOL&&nr(i.current),d===Tt.FOOTPRINT&&Do(i.current),d===Tt.MODEL3D&&Dr(i.current),d===Tt.MODEL_SIM_LIB&&cr(i.current),d===Tt.PANEL_LIB&&Zn(i.current)}}},jt=$t=>{if(M&&pY.has("categoryDialogContainer")){let ui=[];for(let fi of $t)fi.checked=S.some(to=>to.uuid===fi.uuid),fi.checked&&ui.push(fi);T(ui)}},ni=$t=>{let ui=[...te].find(no=>no.key==="symbol_name"),fi,to=rV();if(to&&(fi=[...to].find(no=>no.id==="symbol_name")),ui&&$t==="1"){let no=[...te].filter(Lr=>Lr.key!=="symbol_name");no=qi(no),ae(no),Mi(q,no)}else if(!ui&&$t==="2"&&fi){let no=rt();no=qi(no),ae(no),Mi(q,no)}},Ii=async($t,ui)=>{var to;let fi=await hGi(l.uuid,{wd:ui,page:ee,pageSize:ne,tabName:d,deviceTypeValue:j,symbolTypeValue:V,tags:c,attributes:Te});if(i.current===$t){if(fi!=null&&fi.lists){let no=Fne(d,l.uuid,fi.lists,ee,ne,n);d===Tt.DEVICE&&Mi(no),Y(+fi.count),U(no)}else Y(0),U([]);if(ie(!1),ui){let no={...await CMe(ui)};no[l.uuid]=(to=fi==null?void 0:fi.count)!=null?to:0,D(no)}}},Mo=async($t,ui)=>{var no;let fi={page:ee,pageSize:ne,symbol_type:j,tags:ui?void 0:c,attributes:Te,wd:ui||void 0,path:l.uuid,needStr:!1};ui&&D(null);let to=await S0e(fi).catch(Lr=>null);if(i.current===$t){if(to!=null&&to.lists){let Lr=bHi(to.lists,ee,ne,l.uuid);Mi(Lr),Y(+to.count),U(Lr)}else Y(0),U([]);if(ie(!1),ui){let Lr={...await CMe(ui)};Lr[Yt.INTERNAL]=(no=to==null?void 0:to.count)!=null?no:0,D(Lr)}}},_i=$t=>{let{uuid:ui}=l,fi={isProject:ui===C.currentProject.projectId,withPackage:!0,page:ee,pageSize:ne,uid:ui,path:ui,tags:c,query:zt()};c.length<=0&&delete fi.tags,!j&&delete fi.symbol_type,fi.tags instanceof Array&&fi.tags.length===1&&fi.tags[0]===_e.CATEGORY_ITEM_ALL_VALUE&&(fi.tags.length=0),c.includes("@Uncategorized")&&(delete fi.tags,fi.query.tagNotExists=!0),bQe(fi).then(async to=>{if(i.current===$t&&d===Tt.DEVICE){let no=nEt(to.lists,ee,ne,l.uuid);So(no),jt(no),Mi(no),Y(+to.count),U(no),ie(!1),d===Tt.DEVICE&&l.type===Yt.SYSTEM&&!Ko&&!_t&&fe(hEt(no)),d===Tt.DEVICE&&b5t(l.type)&&Le(fEt(no))}})},So=$t=>{for(let ui of $t)ui.attributes.Footprint&&!ui.footprint?(ui.footprint_name=n("Abnormal data!"),ui.errorFootprint=!0):ui.attributes.Footprint&&ui.footprint&&Yne.getInstance().findFootprintAnd3DModel(ui),ui.attributes.Symbol&&!ui.symbol&&(ui.symbol_name=n("Abnormal data!"),ui.errorSymbol=!0)},nr=async $t=>{let{uuid:ui}=l,fi={page:ee,pageSize:ne,uid:ui,path:ui,type:3,docType:V,tags:c};fi.tag instanceof Array&&fi.tag.length===1&&fi.tag[0]===_e.CATEGORY_ITEM_ALL_VALUE&&(fi.tag.length=0),c.includes("@Uncategorized")&&(delete fi.tags,fi.query={tagNotExists:!0});let to=await Yf({isSearch:!1,isProjectLib:!1,reqData:{...fi,docType:fi.docType instanceof Array?fi.docType:[fi.docType]}});if(to.success&&i.current===$t&&d===Tt.SYMBOL){let no=gQe(to.result.lists,ee,ne,n,u);jt(no),Y(+to.result.count),U(no),ie(!1)}},Do=async $t=>{let{uuid:ui}=l,fi={page:ee,pageSize:ne,uid:ui,path:ui,type:3,docType:4,tags:c};fi.tag instanceof Array&&fi.tag.length===1&&fi.tag[0]===_e.CATEGORY_ITEM_ALL_VALUE&&(fi.tag.length=0),c.includes("@Uncategorized")&&(delete fi.tags,fi.query={tagNotExists:!0});let to=await Yf({isSearch:!1,isProjectLib:!1,reqData:{...fi,docType:fi.docType instanceof Array?fi.docType:[fi.docType]}});if(to.success&&i.current===$t&&d===Tt.FOOTPRINT){let no=aEt(to.result.lists,ee,ne,u);jt(no),Y(+to.result.count),U(no),ie(!1)}},go=async($t,ui)=>{var Ms;let{uuid:fi,title:to}=l,no={page:ee,pageSize:ne,user_uuid:fi,tags:c};c.includes("@Uncategorized")&&(no.tagNotExists=!0);let{message:Lr}=Je?await C.messageBus.rpcCall(Ei.CLIENT.GET_PROJECT_PATHS,{cbb:!0,refresh:"yes"}):await C.messageBus.rpcCall(Ei.PROJECT.LIST,{isCbb:!0,...no});if(Lr.success&&i.current===$t){if(d!==Tt.CBB)return;let zr=[],dn=0;if(Je){for(let a0 of Object.keys(Lr.result||{}))if(Lr.result[a0].isCbb&&Lr.result[a0].dir.endsWith(to)){if(ui&&(Lr.result[a0].name||((Ms=Lr.result[a0].fileName)==null?void 0:Ms.split(".")[0])||"").toLocaleLowerCase().indexOf(ui)===-1)continue;Lr.result[a0].uuid=a0,zr.push(Lr.result[a0])}dn=zr.length,zr=zr.slice((ee-1)*ne,ee*ne)}else ui&&(zr=zr.filter(a0=>a0.name.indexOf(ui)!==-1)),zr=Lr.result.lists,dn=+Lr.result.count;let Kp=sEt(zr,ee,ne,fi,u);FEt==(l==null?void 0:l.title)&&(Y(dn),U(Kp),ie(!1))}else Lr.success||FEt==(l==null?void 0:l.title)&&(Y(0),U([]),ie(!1));async function Pa(zr){let{uuid:dn,path:Kp}=zr;if((await L6(Kp)).success){let{message:op}=await C.messageBus.rpcCall(Ei.PROJECT.TICKET,{uuid:dn,g_ticket:-1});op.success&&Object.assign(zr,op.result);let{schUuidToCbbSymbolDetailMap:xp,pcbUuidToCbbSymbolDetailMap:Q1,pcbs:Zp,schematics:Ma}=await Ss(zr);zr.schUuidToCbbSymbolDetailMap=xp,zr.pcbUuidToCbbSymbolDetailMap=Q1,zr.pcb=Zp,zr.schematics=Ma;let Ag=Object.keys(zr.schs||{});zr.schs=Ag.length?await dOe({projectId:dn,uuids:Ag,docType:se.SCH}):[],zr.boards=(await KU({uuid:dn,path:dn})).boards}}async function Ss(zr){let{block_symbol:dn={},schematics:Kp={},pcbs:a0={},uuid:op}=zr,xp={},Q1=Object.keys(dn).map(Ng=>new Promise(async S2=>{let Hn=await Ze.getSymbol({path:op,isProject:op===C.currentProject.projectId,uuid:Ng});S2(Hn)})),Zp=await Promise.allSettled(Q1);for(let Ng of Zp)if(Ng.status==="fulfilled"){let{display_title:S2}=Ng.value;xp[S2]=Ng.value}let Ma=[],Ag={},d1=Object.keys(Kp||{});if(d1.length){let{message:Ng}=await C.messageBus.rpcCall(Ei.SCHEMATIC.LIST,{projectId:op,uuids:d1});if(Ng.success){Ma=Ng.result;for(let S2=0;S2<Ng.result.length;S2++){let{uuid:Hn,display_name:Qx}=Ng.result[S2];Ag[Hn]=xp[Qx]}}}let T2=[],sS={},a3=Object.keys(a0||{});if(a3.length){let Ng={docType:se.PCB,uuids:a3,projectId:op},{message:S2}=await C.messageBus.rpcCall(Ei.DOCUMENT.LIST,Ng);if(S2.success){T2=S2.result;for(let Hn=0;Hn<S2.result.length;Hn++){let{uuid:Qx,display_title:Kx}=S2.result[Hn];sS[Qx]=xp[Kx]}}}return{schUuidToCbbSymbolDetailMap:Ag,pcbUuidToCbbSymbolDetailMap:sS,schematics:Ma,pcbs:T2}}},Dr=async $t=>{let{uuid:ui}=l;if(Je&&!(ui==dv&&Tn)){let fi=await T0e({step_path:ui}),to=lEt(fi.slice((ee-1)*ne,ee*ne),ee,ne);jt(to),Y(+fi.length),U(to),ie(!1)}else{let fi={page:ee,pageSize:ne,uid:ui,path:ui,type:3,docType:16,tags:c};c.includes("@Uncategorized")&&(delete fi.tags,fi.query={tagNotExists:!0});let to=await Yf({isSearch:!1,isProjectLib:!1,reqData:{...fi,docType:fi.docType instanceof Array?fi.docType:[fi.docType]}});if(to.success&&i.current===$t&&d===Tt.MODEL3D){let no=cEt(to.result.lists,ee,ne);jt(no),Y(+to.result.count),U(no),ie(!1)}}},cr=async $t=>{let{uuid:ui}=l,fi={query:void 0,page:ee,pageSize:ne,uid:ui,path:ui,type:3,docType:Q===oT.NGSpcie?se.NGSPICE_MODEL:se.SIMULIDE_MODEL,tags:c};c.includes("@Uncategorized")&&(delete fi.tags,fi.query={tagNotExists:!0});let to=await Yf({isSearch:!1,isProjectLib:!1,reqData:{...fi,docType:fi.docType instanceof Array?fi.docType:[fi.docType]}});if(to.success&&i.current===$t&&d&&d===Tt.MODEL_SIM_LIB){let no=dEt(to.result.lists,ee,ne);jt(no),Y(+to.result.count),U(no),ie(!1)}},Zn=async $t=>{let{uuid:ui}=l,fi={page:ee,pageSize:ne,uid:ui,path:ui,type:3,docType:29,tags:c};c.includes("@Uncategorized")&&(delete fi.tags,fi.query={tagNotExists:!0});let to=await Yf({isSearch:!1,isProjectLib:!1,reqData:{...fi,docType:fi.docType instanceof Array?fi.docType:[fi.docType]}});if(to.success&&i.current===$t&&d===Tt.PANEL_LIB){let no=uEt(to.result.lists,ee,ne);jt(no),Y(+to.result.count),U(no),ie(!1)}},Sa=async($t,ui)=>{if(D(null),l.type===Yt.STAR)return;let fi=d===Tt.CBB,to=ui||l.uuid,no={page:ee,pageSize:ne,uid:to,path:to,wd:m,returnListStyle:"classifyarr",symbol_type:j,bindType:gt(),docType:d===Tt.SYMBOL?V:[+WDt[d]],type:3,attributes:Te,needStr:!1};if(d!==Tt.DEVICE&&delete no.attributes,(d!==Tt.DEVICE||!j)&&delete no.symbol_type,d===Tt.DEVICE&&(delete no.docType,delete no.type),d===Tt.MODEL_SIM_LIB&&(Q==oT.NGSpcie?no.docType=[7]:Q==oT.Simulide&&(no.docType=[32])),Je&&fi){let{lists:Ss,count:Ms,traceId:zr}=await cO(ee,ne,c,i.current,m.trim(),!1,l.uuid,l.type===Yt.TEAMS,!1);zr===i.current&&(Y(Ms),U(Ss),ie(!1));return}let Lr=await t7(no,d,p,u,h);if(i.current!==$t)return;if(!Lr){ie(!1);return}let Pa=Lr.facets;if(fi)D(null);else if(Je&&!p&&d===Tt.MODEL3D){Y(Lr.length),U(await lEt(Lr,ee,ne)),ie(!1);return}else{let Ss=ui?{...Pa,project:o.current}:Pa;D(Ss)}if(!u){let{type:Ss,facetsKey:Ms}=l,zr=d===Tt.CBB&&Ss==="teams"?"user":to,dn=![Yt.SYSTEM,Yt.PERSONAL,Yt.PUBLIC].includes(Ss)||Ko?zr:_o()===dv&&Ss===Yt.PERSONAL?"lcsc":Ms,Kp=Lr.lists||[];Kp=await Fne(d,l.uuid,Kp,ee,ne,n),d===Tt.DEVICE&&(Mi(Kp),So(Kp)),Y(fi?Lr.count:Pa[dn]),U(Kp),ie(!1),d===Tt.DEVICE&&l.type===Yt.SYSTEM&&!Ko&&!_t&&fe(hEt(Kp)),d===Tt.DEVICE&&b5t(l.type)&&Le(fEt(Kp))}},es=async $t=>{let ui={page:ee,pageSize:ne,searchValue:m,tabType:d,tag:c,symbol_type:j,docTypes:V,attributes:Te,bindType:gt()};(d!==Tt.DEVICE||Object.keys(Te).length<=0)&&delete ui.attributes,[Tt.DEVICE,Tt.FOOTPRINT].includes(d)&&delete ui.docTypes,[Tt.SYMBOL,Tt.FOOTPRINT].includes(d)&&delete ui.symbol_type,await C.messageBus.rpcCall("/pro-mgr/project/upload/force"),await yQe(ui,d).then(async fi=>{if(i.current===$t){let to=Fne(d,l.uuid,fi.lists,ee,ne,n);for(let no of to)no.attributes&&(no.attributes.Footprint&&no.footprint===null?(no.footprint_name=n("Abnormal data!"),no.errorFootprint=!0):no.attributes.Footprint&&no.footprint&&Yne.getInstance().findFootprintAnd3DModel(no),no.attributes.Symbol&&no.symbol===null&&(no.symbol_name=n("Abnormal data!"),no.errorSymbol=!0));o.current=+fi.count,d===Tt.DEVICE&&await Mi(to),Y(+fi.count),U(to),ie(!1),d===Tt.DEVICE&&tu(to)}}),d!==Tt.CBB&&m&&Sa(i.current,dv)},tu=$t=>{let ui=new Set;$t.forEach(fi=>{Object.keys(fi.attributes).forEach(to=>{ui.add(to)})}),Xq.setDeviceProjectFilterKeys([...ui])},Mi=($t,ui)=>{let fi=["LCSC Stock","LCSC Price","JLCPCB Stock","JLCPCB Price","JLCPCB Part Class"];if($t.length<=0)return;let to=[],no=ui||te;no.forEach(Pa=>{to.push(Pa.key)}),no.forEach(Pa=>{$t.find(Ms=>Ms.product_code&&fi.includes(Pa.key)||(Ms==null?void 0:Ms.attributes[wHi(Pa.key)])||Ms[pEt(Pa.key)])&&to.splice(to.indexOf(Pa.key),1)});let Lr=no.filter(Pa=>!to.includes(Pa.key));Lr=qi(Lr),Lr.forEach(Pa=>{Pa.onCell=(Ss,Ms,zr)=>{if(Ss.errorFootprint&&zr==="footprint_name"||Ss.errorSymbol&&zr==="symbol_name"||Ss.error3DModel&&zr==="3D Model Title")return{style:{color:"red"}}}}),r.current[Qt()]===i.current&&K(Lr)},qi=$t=>$t.map(ui=>({key:ui.key,name:ui.name,width:ui.key==="index"?50:1/Math.max(1,$t.length-1),sortable:!0})),Eo=$t=>{var Ss;let{row:ui,clickObj:fi,tableData:to,selectedRowNumbers:no,isShift:Lr}=$t,Pa=fi==null?void 0:fi.clickCount;if(Tr.selectedItemData=ui,to&&no){ot.current&&(ot.current=null);let Ms=[];no.forEach(zr=>{let dn=to[zr];M&&Lr&&(dn.checked=!0),Ms.push(dn)}),(Ms==null?void 0:Ms.length)>0&&(ot.current=Ms)}if(y(ui),(Ss=pj[d])==null||Ss.add(ui),Pa===2&&N(Ms=>Ms+1),M&&Lr&&ot.current){T(ot.current);let Ms=to.map(zr=>ot.current.findIndex(Kp=>Kp[uY]===zr[uY])>-1?{...zr,checked:!0}:{...zr,checked:!1});U(Ms)}},Ct=async $t=>{await Ro($t,async(ui,fi)=>{let{uuid:to,isFavorite:no}=fi,Lr=yr(fi);if(await(no?cc.unstar(to,Lr):cc.star(to,Lr))){let Ss=q.map(Ms=>(Ms.uuid===to&&(Ms.isFavorite=!Ms.isFavorite),Ms)).filter(Ms=>P===Yt.STAR?Ms.isFavorite:!0);U(Ss),De({msg:no?"Remove favorite successully!":"Add favorite successfully!"})}})},ti=$t=>{it($t,(ui,fi)=>{var no,Lr;fi.isBasicLibrary=qq(fi,Wi("BASE_PANEL_LIB"),"uuid");let to=((no=fi.tags)==null?void 0:no.child_tag.name)||((Lr=fi.tags)==null?void 0:Lr.parent_tag.name)||"";C.messageBus.publish("updatePanelLibGlobal",{uuid:fi.uuid,path:yr(fi),display_title:fi.display_title,category:to,operate:fi.isBasicLibrary?"delete":"add"}),fi.isBasicLibrary=!fi.isBasicLibrary})},hi=async($t,ui)=>{var no,Lr,Pa;let fi=ui.uuid,to=ui!=null&&ui.origin?(Lr=(no=ui.origin)==null?void 0:no.owner)==null?void 0:Lr.uuid:(Pa=ui==null?void 0:ui.owner)==null?void 0:Pa.uuid;switch($t){case"addOrRemoveFavorite":ot.current&&await Ct(ot.current);break;case"addIntoBasicLibrary":ot.current&&ti(ot.current);break;case"libDelete":ot.current&&ot.current.length>0?TMe(ot.current,d,!1,P):NQe({type:n("Document"),title:ui.display_title,onClick:async()=>{cc.deletePanelLib(fi,{path:yr(ui)}).then(dn=>{dn&&(Wa(ui,3),he.closeTopTab(`${ui.uuid}@${yr(ui)}`),g(Kp=>Kp+1)),De({msg:dn?"successfully deleted!":"failed to delete!"})})}});break;case"editPanelLib":cc.openPanelLibByUuid(fi,{path:yr(ui)}),sy(1);break;case"modifyPanelLibInfo":let Ss=yr(ui),zr=await Ze.getPanelLib({path:Ss,isProject:Ss===C.currentProject.projectId,uuid:fi})||null;zr.libPath=Ss,xMe(zr,{isProjectLib:u,projectLibOrigin:to});break;case"saveAs":if(ot.current&&ot.current.length>1)yGi(ot.current);else{let dn=await eo(fi,yr(ui));dn&&(cc.setSaveAsDataStr(dn.dataStr),dn.dlgTitle="Document Save as",et("open_create_panel_lib_dialog",dn))}break;case"saveAsLocal":{ot.current&&ot.current.length>0?await CQe(ot.current):rfe(fi,yr(ui));break}case"modifyCategory":{let dn=yr(ui);ot.current&&ot.current.length>0&&Vne(ot.current,d,u,dn);break}}},ki=async($t,ui)=>{if(w.name==="componentLibWin"&&(dl.value=w),!["refresh","View Datasheet...","View Product Detail...","Report Error..."].includes($t)&&!Je&&!br()){De({msg:"Please login first!",type:"warn"});return}$t==="refresh"?g(fi=>fi+1):d===Tt.PANEL_LIB?await hi($t,ui):d===Tt.CBB?SMe($t,ui,u,()=>{g(fi=>fi+1)},"bottom",P,ot.current):afe($t,ui,u,d,l.uuid,P,ot.current)},eo=($t,ui)=>{let fi={path:ui,uuid:$t,isProject:ui===C.currentProject.projectId};switch(d){case Tt.DEVICE:return Ze.getDevice(fi);case Tt.SYMBOL:return Ze.getSymbol(fi);case Tt.FOOTPRINT:return Ze.getFootprint(fi);case Tt.MODEL3D:return Ze.getD3Model(fi);case Tt.PANEL_LIB:return Ze.getD3Model(fi);case Tt.MODEL_SIM_LIB:return Ze.getSimModel(fi)}},Qo=($t,ui)=>{DB({pageX:ui.pageX,pageY:ui.pageY,windowInstance:w,node:(0,uy.jsx)(EB,{tabName:d,baseMenuSelected:l,row:$t,onClick:ki})})},dr=()=>{let $t=k0('[class^="lc-table-body"]',Vr("bottomLibTable"));$t&&($t.scrollTop=0)};Bt(({row:$t,status:ui})=>{let fi=[...q].map(to=>(to[uY]===$t[uY]&&(to={...to,isFavorite:ui}),to));Tr.lastActiveRow={...$t,isFavorite:ui},U(fi),fi.length>0&&ot.current&&ot.current.length>0&&(ot.current=ot.current.map(to=>{let no=fi.find(Lr=>Lr[uY]===to[uY]);return no?{...no}:to})),P===Yt.STAR&&g(to=>to+1)}).key("componentLibFav"),Bt($t=>{let ui=mEt($t,n);lfi(ut),K(ui),ae(ui),Mi(q,ui)}).key("componentLibDevice_custom_head"),Bt(()=>{g(ui=>ui+1);let $t=GTe("table");oe($t)}).key("refreshComponentLib");let sa=$t=>{switch($t){case"refresh":g(ui=>ui+1)}},Vn=$t=>{Da.open({position:{x:$t.pageX,y:$t.pageY},data:[{iconClassName:"icon-eda-refresh",title:me.i18n("Refresh"),cmd:"refresh"}],onClick(ui,fi,to,no){sa(ui.cmdlink.join(":"))},onEnterConfirm(ui,fi,to){sa(ui.join(":"))},windowInstance:w})};function Cn($t=[]){return $t.forEach(ui=>{Xs(ui,uY)||(ui[uY]=ui.uuid)}),$t}let Ac=(l==null?void 0:l.type)===Yt.EXTEND?C.extendLibStore.manager.getLib(l.uuid).getSelectTypeListInTab(d):d===Tt.DEVICE?UNe:d===Tt.MODEL_SIM_LIB?Bri:d===Tt.SYMBOL?VNe:[];function Uo($t){let ui=/[\[\(\$\^\.\]\*\\\?\+\{\}\\|\)]/gi,fi=$t==null?void 0:$t.trim().split(" ").filter(to=>to).map(to=>(to=to.trim(),`(${to.replace(ui,no=>`\\${no}`)})`)).join("|");return new RegExp(fi,"ig")}return(0,uy.jsxs)("div",{className:s("container"),"data-test":"library table",children:[(0,uy.jsxs)("div",{ref:e,className:s("screen-wrap"),style:{display:Ac.length?"":"none"},children:[(0,uy.jsx)("span",{style:{paddingRight:"2px"},children:n(YDt[d])}),(0,uy.jsx)(xt,{containerStyle:{width:"154px",height:"22px"},list:Ac,value:d===Tt.DEVICE?j:d===Tt.MODEL_SIM_LIB?Q:V.length>1?"":V[0],onChange:$t=>{[Tt.DEVICE,Tt.SYMBOL].includes(d)?(Tr.selectedDocType=$t,d===Tt.DEVICE?B($t):d===Tt.SYMBOL&&G($t?[+$t]:zEt)):d===Tt.MODEL_SIM_LIB&&H($t)}}),Ve&&!c.includes("@Uncategorized")&&(0,uy.jsxs)(uy.Fragment,{children:[Re.map(($t,ui)=>(0,uy.jsx)(rGi,{keyVal:$t,tags:c,libUuid:l==null?void 0:l.uuid,isProjectLib:u,deviceOrigin:h,internalLibDeviceAttrData:Ke,onChange:fi=>{if(fi)Pe({...Te,[$t]:fi});else{let to={...Te};to[$t]&&delete to[$t],Pe(to)}},onRemove:()=>{let fi=[...Re],to={...Te};to[$t]&&delete to[$t],fi.splice(fi.indexOf($t),1),Ne(fi),Xq.setRemoveVal($t),Pe(to)}},ui)),(0,uy.jsx)(lGi,{tags:c,searchValue:m,deviceOrigin:h,libUuid:l==null?void 0:l.uuid,isProjectLib:u,setInternalLibDeviceAttrData:pt,onChange:$t=>{let ui=Wq.concat($t);Ne(ui)}})]})]}),(0,uy.jsx)("div",{id:"bottomLibTable",ref:t,className:s("table-container"),onContextMenu:Vn,style:{height:Ac.length?`calc(100% - ${d===Tt.SYMBOL?wGi:Oe}px)`:"calc(100% - 36px)"},children:(0,uy.jsx)(xi,{tableBodyStyle:{willChange:"transform"},onSort:()=>{!u&&Tt.CBB===d&&kv.update({})},resetTableDataCount:i.current,name:ut,showCustomHeadSettingOnHeadContextmenu:d===Tt.DEVICE,index:uY,height:pe,columns:F,highLightRegexpFn:Uo,rows:Cn(q),showStatus:!0,statusNode:X?n("loading..."):(0,uy.jsxs)("div",{children:[(0,uy.jsx)("div",{style:{textAlign:"center"},children:n("No Data!")}),!_t&&d==Tt.DEVICE&&m&&(0,uy.jsx)("div",{style:{marginTop:"4px"},children:(0,uy.jsx)(Me,{size:"sm",style:{height:"24px",lineHeight:"24px",margin:"0 4px"},onClick:()=>yM("apply_new_parts"),children:n("Request New Part")})})]}),searchValue:m,border:!0,moveAble:!0,stockade:d!==Tt.CBB,openHeadContentMenu:!0,checkbox:M,onClick:Eo,onContextMenu:($t,ui)=>{zi.isClearCache()&&l.type==Yt.PROJECT?zi.getPermissionList(C.currentProject.projectId).then(()=>{Qo($t,ui)}):Qo($t,ui)},onCheckRow:$t=>T($t),onRowMouseEnter:($t,ui)=>{d===Tt.CBB&&(kv.isMouseEnterRowIdx=ui)},onRowMouseLeave:()=>{kv.isMouseEnterRowIdx&&(kv.isMouseEnterRowIdx=null)}})}),(0,uy.jsx)("div",{className:s("pagination-wrap"),children:(0,uy.jsx)(cp,{inputJump:!1,simplify:!0,pageNumber:ee||0,countTotal:re||0,cutSize:ne||0,cutSizeOptions:wDr,onPageNumberChange:($t,ui)=>ce(ui),onPageSizeChange:$t=>{Vg("table",$t,"bottom"),oe($t)}})})]})}var CGi=CDr;var rl=L(Se());var VEt=L(eC()),HEt=L(TGi()),Qne=L(z()),xDr=({visible:t})=>{Ae(VEt.default),Ae(HEt.default);let e=be.bind(VEt.default.locals),i=be.bind(HEt.default.locals);return(0,Qne.jsx)(Qne.Fragment,{children:t&&(0,Qne.jsx)("div",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",zIndex:9999,backgroundColor:"var(--common-bg-color)"},children:(0,Qne.jsx)("div",{className:i("rotation"),style:{position:"absolute",left:"calc(50% - 18px)",top:"calc(50% - 18px)",width:"36px",height:"36px"},children:(0,Qne.jsx)("i",{className:e("icon-eda-loading"),style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})},cfe=xDr;var KEt=L(MGi());function IGi(t){if(!t||typeof t!="object")return"";let e="",i="";return Xr?(e=t.attributes["Supplier Part"],e&&e.includes("C")?i=`https://so.szlcsc.com/global.html?c=&k=${e}`:(e=t.attributes["Manufacturer Part"]||t.title,i=`https://so.szlcsc.com/global.html?c=&k=${e}`)):(e=t.attributes["Supplier Part"],e&&e.includes("C")?i=`https://lcsc.com/eda_search?q=${e}&&type=1`:(e=t.attributes["Manufacturer Part"]||t.title,i=`https://lcsc.com/search?q=${e}`)),i}function GEt(t){jQe(t),TDr(t),SDr(t)}function jQe(t){var i;let e=t.querySelector("[data-thumb='symbol']");e&&e.childNodes[0]&&(e.style.background="",(e==null?void 0:e.childNodes[0]).style.display="none",(i=(e==null?void 0:e.childNodes[0]).children[0])==null||i.removeAttribute("uuid"))}function TDr(t){let e=t.querySelector("[data-thumb='footprint']");e&&e.childNodes[0]&&((e==null?void 0:e.childNodes[0]).style.opacity="0")}function SDr(t){let e=t.querySelector("[data-thumb='3dModel']"),i=e==null?void 0:e.querySelector("div");i&&(i.style.display="none");let o=e==null?void 0:e.querySelector("p");o&&(o.style.display="flex")}async function LGi(t,e,i){return await Ze.getFootprint({uuid:t,path:e,isProject:i})}async function YEt(t){let{belongLib:e,uuid:i,path:o}=t,{id:r,type:n}=e;return n===Yt.PROJECT?await LGi(i,C.currentProject.projectId,!0):await LGi(i,o,!1)}async function MMe(t){try{switch(t.tabName){case Tt.FOOTPRINT:return await YEt(t.requestBody);default:throw Error("Not supported")}}catch{return null}}function BQe(t,e){var r,n;let i=new Map,o=[];e.type===Yt.EXTEND?o=(r=C.extendLibStore.manager.getLib(e.id).getPreviewTypesInTab(t))!=null?r:[]:o=(n=Nht[t])!=null?n:[];for(let a of o)i.set(a,{active:!0});return i}var WEt=L(DGi());var py=L(z()),{locals:MDr}=WEt.default,{cbb_preview_container:EGi,preview_img_container:IDr,preview_img:LDr}=MDr,FQe=t=>{let{selectPosition:e="top",imgSrc:i="",list:o=[],value:r,containerStyle:n={},docType:a,onChange:s}=t;return Ae(WEt.default),(0,py.jsx)(py.Fragment,{children:e==="top"?(0,py.jsxs)("div",{className:EGi,style:n,children:[(0,py.jsx)(AGi,{docType:a,list:o,value:r,onChange:l=>{s(l)}}),(0,py.jsx)(NGi,{imgSrc:i},i)]}):(0,py.jsxs)("div",{className:EGi,style:n,children:[(0,py.jsx)(NGi,{imgSrc:i},i),(0,py.jsx)(AGi,{docType:a,list:o,value:r,onChange:l=>{s(l)}})]})})},AGi=t=>{var n;let{docType:e,value:i,list:o,onChange:r}=t;return(0,py.jsx)(py.Fragment,{children:e===ve.SCH?(0,py.jsxs)("select",{value:i,onChange:a=>r(a.target.value),children:[!i&&(0,py.jsx)("option",{}),o.length&&o.map(a=>{var s;return(0,py.jsx)("optgroup",{label:a.display_name,children:(s=a.sheets)==null?void 0:s.map(l=>(0,py.jsx)("option",{value:l.uuid,children:`${l.display_title}.${a.display_name}`},l.uuid))},a.uuid)})]}):(0,py.jsx)(xt,{list:o.map(a=>({...a,showOriginalText:!0})),value:i||((n=o[0])==null?void 0:n.value),onChange:(a,s)=>r(a),containerStyle:{height:"24px"}})})},NGi=t=>{let{imgSrc:e}=t;return(0,py.jsx)("div",{className:IDr,onClick:i=>{},onWheel:i=>{e&&z2(i.nativeEvent)},onMouseDown:i=>{e&&Wf(i.nativeEvent)},onContextMenu:i=>{e&&gC(i.nativeEvent)},children:e?(0,py.jsx)("img",{src:e,className:LDr,style:{transform:"translate(0, 0) scale(1)"}}):""})};var K2=L(Se());var QEt=L(PGi());var a7=L(z()),{locals:vDr}=QEt.default,{batch_preview_container:DDr}=vDr,EDr=t=>{let{docType:e,pcb:i,sch:o,blockSymbol:r,thumbList:n,onSelectChange:a}=t,s=i.value,l=o.value,c=r.value;Ae(QEt.default);let d,u,p;return n.forEach(m=>{m.uuid===s?d=m.url:m.uuid===l?u=m.url:m.uuid===c&&(p=m.url)}),(0,a7.jsx)(a7.Fragment,{children:(0,a7.jsxs)("div",{className:DDr,children:[(0,a7.jsx)(FQe,{docType:ve.SCH,selectPosition:e===ve.PCB?"bottom":"top",list:o.list,value:l,imgSrc:u,containerStyle:{height:"100%"},onChange:m=>{a(m,ve.SCH)}}),(0,a7.jsx)(FQe,{docType:ve.BLOCK_SYMBOL,selectPosition:e===ve.PCB?"bottom":"top",list:r.list,value:c,imgSrc:p,containerStyle:{height:"100%"},onChange:m=>{a(m,ve.BLOCK_SYMBOL)}}),(0,a7.jsx)(FQe,{docType:ve.PCB,selectPosition:e===ve.PCB?"top":"bottom",list:i.list,value:s,imgSrc:d,containerStyle:{gridColumn:"1 / span 2",height:"100%",gridRowStart:e===ve.PCB?"1":"2"},onChange:m=>{a(m,ve.PCB)}})]})})};function ADr(t){var w,x,S,T,M,I,A,D,E;let{schUuidToCbbSymbolDetailMap:e,pcbUuidToCbbSymbolDetailMap:i,project_detail:o,block_symbol_list:r=[]}=t,{pcb:n=[],schs:a=[],schematics:s=[],block_symbol:l=[],boards:c=[]}=o,d,u,p,m;if(c!=null&&c.length)c.sort((N,R)=>(R.name||R.title).localeCompare(N.name||N.title)),c[0].sch&&(d=c[0].sch,p=(w=e[d])==null?void 0:w.uuid,m=(x=e[d])==null?void 0:x.display_title),c[0].pcb&&(u=c[0].pcb,p=p||((S=i[u])==null?void 0:S.uuid),m=m||((T=i[u])==null?void 0:T.display_title));else{let N=[...n,...s].sort((R,v)=>(v.display_title||v.display_name).localeCompare(R.display_title||R.display_name));N.length&&(N[0].docType&&N[0].docType===ve.PCB?(u=N[0].uuid,p=(M=i[u])==null?void 0:M.uuid,m=(I=i[u])==null?void 0:I.display_title):(d=N[0].uuid,p=(A=e[d])==null?void 0:A.uuid,m=(D=e[d])==null?void 0:D.display_title))}let h=NDr(s,a),f=(E=h.find(N=>N.uuid===d))==null?void 0:E.sheets[0],{uuid:g,display_title:b}=f||{},y=l;return Array.isArray(l)||(y=r),{pcb:{list:n.map(N=>({value:N.uuid,text:N.display_title||N.title})),value:u},sch:{list:h,value:g,sheetDisplayTitle:b},blockSymbol:{list:y.map(N=>({value:N.uuid,text:N.display_title||N.title})),value:p},displayTitle:m,schUuid:d,boards:c}}function NDr(t,e){let i=[];return(t||[]).forEach(o=>{let r=[];(e||[]).forEach(n=>{n.schematic_uuid===o.uuid&&r.push(n)}),i.push({...o,sheets:r})}),i}var kDr=(t,e)=>{let{rowData:i,placeBtnStatus:o,setPlaceBlockBtnStatus:r,setPlaceBlockSymbolBtnStatus:n}=t,{project_detail:a}=i;if(!a)return(0,a7.jsx)(a7.Fragment,{});let{uuid:s,branch_uuid:l}=a,{pcb:c,sch:d,blockSymbol:u,displayTitle:p,schUuid:m,boards:h}=ADr(i),[f,g]=(0,K2.useState)([]),[b,y]=(0,K2.useState)(c.value),[w,x]=(0,K2.useState)(d.value),[S,T]=(0,K2.useState)(d.sheetDisplayTitle),[M,I]=(0,K2.useState)(u.value),[A,D]=(0,K2.useState)(p),[E,N]=(0,K2.useState)(m),R=dt();(0,K2.useEffect)(()=>{r(()=>R===ve.SCH?w&&o:R===ve.PCB?b&&o:!1),R===ve.SCH&&M&&o?n(!0):n(!1)},[w,R,b,M,o]),(0,K2.useEffect)(()=>{y(c.value)},[c.value]),(0,K2.useEffect)(()=>{x(d.value)},[d.value]),(0,K2.useEffect)(()=>{T(d.sheetDisplayTitle)},[d.sheetDisplayTitle]),(0,K2.useEffect)(()=>{I(u.value)},[u.value]),(0,K2.useEffect)(()=>{D(p)},[p]),(0,K2.useEffect)(()=>{N(m)},[m]);let v=(k,P)=>{switch(P){case ve.SCH:{let O,_=d.list.find(G=>{let Q=G.sheets.find(H=>H.uuid===k);if(Q)return O=Q.display_title,!0}),j=_.display_name,B=c.list.find(G=>G.text.toLocaleLowerCase()===j.toLocaleLowerCase()),V=u.list.find(G=>G.text.toLocaleLowerCase()===j.toLocaleLowerCase());x(k),T(O),N(_.uuid),y(B==null?void 0:B.value),I(V==null?void 0:V.value),D(j);break}case ve.PCB:{let O=c.list.find(V=>V.value===k),_=O.text,j=d.list.find(V=>V.display_name.toLocaleLowerCase()===_.toLocaleLowerCase()),B=u.list.find(V=>V.text.toLocaleLowerCase()===_.toLocaleLowerCase());x(j==null?void 0:j.sheets[0].uuid),T(j==null?void 0:j.sheets[0].display_title),N(j==null?void 0:j.uuid),y(O.value),I(B==null?void 0:B.value),D(_);break}case ve.BLOCK_SYMBOL:{let O=u.list.find(V=>V.value===k),_=O.text,j=d.list.find(V=>V.display_name.toLocaleLowerCase()===_.toLocaleLowerCase()),B=c.list.find(V=>V.text.toLocaleLowerCase()===_.toLocaleLowerCase());x(j==null?void 0:j.sheets[0].uuid),T(j==null?void 0:j.sheets[0].display_title),N(j==null?void 0:j.uuid),y(B==null?void 0:B.value),I(O.value),D(_);break}}};return(0,K2.useEffect)(()=>{ZDt(s,l).then(k=>{g(k||[])})},[s,l]),(0,K2.useImperativeHandle)(e,()=>({display_title:A,sheetUuid:w,sheetDisplayTitle:S,schematic_uuid:E,pcbUuid:b,blockSymbolUuid:M})),(0,a7.jsx)(EDr,{docType:dt(),pcb:{...c,value:b},sch:{...d,value:w},blockSymbol:{...u,value:M},thumbList:f,onSelectChange:v})},OGi=(0,K2.forwardRef)(kDr);var s7=L(z()),RGi=t=>{let{placeBtnRef:e,docType:i,placeBlockBtnStatus:o,placeBlockSymbolBtnStatus:r,handlePlace:n,className:a}=t,s=J();return(0,s7.jsx)(s7.Fragment,{children:i===ve.PCB?(0,s7.jsx)(s7.Fragment,{children:(0,s7.jsx)("button",{ref:e,"data-test":"Place",disabled:!o,onClick:()=>{n("PLACE_BLOCK")},className:a,children:s("Place Block")})}):(0,s7.jsxs)(s7.Fragment,{children:[(0,s7.jsx)("button",{ref:e,"data-test":"Place",disabled:!o,onClick:()=>{n("PLACE_BLOCK")},className:a,children:s("Place Block")}),(0,s7.jsx)("button",{ref:e,"data-test":"Place",disabled:!r,onClick:()=>{n("PLACE_BLOCK_SYMBOL")},className:a,children:s("Place Block Symbol")})]})})};var Tl=L(z()),PDr=[Tt.DEVICE,Tt.CBB,Tt.PANEL_LIB];function ODr(){var Sa,es,tu;Ae(KEt.default);let t=(0,rl.useContext)(tC),e=J(),{locals:i}=KEt.default,o=be.bind(i),r=(0,rl.useRef)(null),n=(0,rl.useRef)(1),{tableSelectedRow:a,setCbbProjectId:s,tabName:l,windowInstance:c,isProjectLib:d,baseMenuSelected:u,currentTabDocType:p,doubleClickPlaceTrigger:m,setDoubleClickPlaceTrigger:h,splitLineStatus:f}=t,g=(0,rl.useRef)(null),b=(0,rl.useRef)(null),y=(0,rl.useRef)(null),w=(0,rl.useRef)({s:!1,f:!1}),x=(0,rl.useRef)({clickPlace:null}),S=(0,rl.useRef)(null),T=(0,rl.useRef)(null),M=(0,rl.useRef)(null),I=(0,rl.useRef)(a),A=(0,rl.useRef)(null),D=(0,rl.useRef)(null),[E,N]=(0,rl.useState)(!1),[R,v]=(0,rl.useState)(E),[k,P]=(0,rl.useState)(E),[O,_]=(0,rl.useState)("Place"),[j,B]=(0,rl.useState)(""),[V,G]=(0,rl.useState)([]),[Q,H]=(0,rl.useState)(!1),[q,U]=(0,rl.useState)(!1),[F,K]=(0,rl.useState)(!1),[te,ae]=(0,rl.useState)(!1),[pe,Z]=(0,rl.useState)(!1),[ee,ce]=(0,rl.useState)(null),[ne,oe]=(0,rl.useState)(null),[re,Y]=(0,rl.useState)(null),[X,ie]=(0,rl.useState)(BQe(Tt.DEVICE,{type:Yt.SYSTEM,id:dv})),[de,fe]=(0,rl.useState)([]),[ye,Le]=(0,rl.useState)(null),[Re,Ne]=(0,rl.useState)(null),[Te,Pe]=(0,rl.useState)(0),[Oe,Ue]=(0,rl.useState)(""),Ve=(0,rl.useRef)({isExis3DModelId:!1});function ze(Mi){N(Mi)}(0,rl.useEffect)(()=>{I.current=a},[a]),(0,rl.useEffect)(()=>(od||(x.current.clickPlace=C.messageBus.subscribe("clickPlaceBtn",Mi=>{var qi;if(dt()===se.PCB){let Eo;od&&((qi=od.document.querySelector("#bottomBar iframe"))==null?void 0:qi.getAttribute("sid"))==Mi?Eo=od.document.querySelector('#bottomBar button[data-test="Place"]'):Eo=S.current,Eo==null||Eo.click()}})),()=>{var Mi;(Mi=x.current.clickPlace)==null||Mi.cancel()}),[]),(0,rl.useEffect)(()=>{var Mi;if(te){let qi=(Mi=g==null?void 0:g.current)==null?void 0:Mi.querySelector("img");qi!=null&&(qi.style.display="none",g.current.innerHTML="")}},[te]),(0,rl.useEffect)(()=>{let Mi=BQe(l,{id:u==null?void 0:u.uuid,type:u==null?void 0:u.type});ie(Mi)},[l,u]),Bt(Mi=>{let{containerId:qi,tabId:Eo,belong:Ct}=Mi;Ct===he.belongContainer&&gt(de.includes(dt()))}).key("/pro-ui/container/tab/onActive"),Bt(()=>{gt(de.includes(dt()))}).key("updatePlaceBtnStatus"),(0,rl.useEffect)(()=>{a||GEt(r.current),Do()},[a]),(0,rl.useEffect)(()=>{var Mi;if(So(),H(!1),U(!1),K(!1),Y(null),oe(null),GEt(r.current),ze(!1),w.current={s:!1,f:!1},Ne(null),fe([]),ae(!1),Z(!1),G([]),Le(null),n.current=1,g.current&&(g.current.style.transform="scale(1) translate(0, 0)"),T.current+=1,a&&He(a,T.current),a)switch((Mi=a.display_title)==null?void 0:Mi.type){case xr.PCB:case xr.SHEET:{_("Place Block");break}case xr.SCH:{_("Place Block Symbol");break}default:{_("Place");break}}else _("Place")},[a,u]),(0,rl.useEffect)(()=>{m&&E&&(h(0),wt()),setTimeout(()=>{h(0)},1800)},[m,E]),(0,rl.useEffect)(()=>(D.current&&Qje(D.current),()=>D.current&&Kje(D.current)),[D.current]),Bt(({uuid:Mi,source:qi,partId:Eo})=>{var Ct;if(u.type!==Yt.PROJECT&&(Mi=qi==null?void 0:qi.split("|")[0]),Mi&&Mi===(ye==null?void 0:ye.uuid)&&((Ct=V==null?void 0:V.map(ti=>ti.value))!=null&&Ct.includes(Eo))){B(Eo);let ti=V.findIndex(hi=>hi.value===Eo);ot(ye,ti)}}).key("refreshBottomBarMultiPart");async function He(Mi,qi){var Eo,Ct;if(l===Tt.CBB&&!d&&((Eo=Mi==null?void 0:Mi.display_title)==null?void 0:Eo.type)===xr.PRJ&&await Bpe(Mi,yr(Mi)),M.current=qi,[Tt.DEVICE,Tt.SYMBOL].includes(l)&&(K(!0),Z(!1),ae(!1),await Ge(l,Mi).catch(ti=>{})),[Tt.CBB].includes(l)){K(!0),ae(!1),Z(!1);let{placeData:ti,thumb:hi,isOldCbb:ki,symbol:eo,hasBlockSymbol:Qo}=await fHi(Mi,d,u),{display_title:dr}=Mi;if(fe([dt()]),d)dt()===se.PCB&&ti&&(Le(ti),gt(!0),fe([se.PCB])),pt(eo,hi,ki);else{let{type:sa,title:Vn,project_uuid:Cn}=dr;s(dr.project_uuid),sa===xr.SCH?Qo?pt(eo,hi,ki):(await jQe(r.current),ae(!0),Qt(),fe([se.SCH]),dt()===se.SCH&&(Le(ti),ti&&gt(!0),K(!1))):[xr.PCB,xr.SHEET].includes(sa)?(fe(sa===xr.PCB?[se.PCB]:[se.SCH]),hi?Be(hi):(ae(!0),K(!1),Qt()),Le(ti)):(await jQe(r.current),ae(!0),K(!1),Qt()),sa===xr.PCB?dt()===se.PCB&&ti&&(gt(!0),fe([se.PCB])):sa===xr.SHEET&&dt()===se.SCH&&ti&&(gt(!0),fe([se.SCH]))}if(K(!1),l===Tt.CBB&&!d&&((Ct=a==null?void 0:a.display_title)==null?void 0:Ct.type)===xr.PRJ){let sa=dt();[se.PCB,se.SCH].includes(sa)&&(gt(!0),fe([se.SCH,se.PCB]))}}l===Tt.PANEL_LIB&&(K(!0),ke(Mi.uuid,{path:yr(Mi)})),await Ye(Mi),[Tt.MODEL3D].includes(l)&&rt(Mi),Mi.images&&Mi.images[0]&&M.current===T.current&&(oe(Array.isArray(Mi.images)?Mi.images[0]:Mi.images),Y(IGi(Mi)))}async function Ye(Mi){var Eo,Ct;let qi;if(U(!0),l===Tt.DEVICE){let ti=(Eo=Mi.attributes)==null?void 0:Eo.Footprint,hi=yr(a);ti&&(qi=await MMe({tabName:Tt.FOOTPRINT,requestBody:{belongLib:{id:u.uuid,type:u.type},uuid:ti,path:hi}}))}else if(l===Tt.FOOTPRINT){let ti=Mi.uuid,hi=yr(a);ti&&(qi=await MMe({tabName:Tt.FOOTPRINT,requestBody:{belongLib:{id:u.uuid,type:u.type},uuid:ti,path:hi}}))}if(qi)Qe(qi),Ne(qi);else{let ti=(Ct=b.current)==null?void 0:Ct.querySelector("iframe");ti&&C.windowBridge.publish("previewClearAll","",ti.contentWindow),U(!1)}}async function ke(Mi,qi){let Eo=await cc.getPanelLibData(Mi,null,qi),Ct=await cc.getPanelLibSvg(Eo);RegExp(/width/g).test(Ct)&&(gt([se.PANEL].includes(dt())),fe([se.PANEL]));let hi="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(Ct)));g.current.style.backgroundColor="#FFFFFF",g.current.innerHTML=`<img style="width:100%;height:100%;background:#FFFFFF;transform:translate(0,0) scale(1)" src="${hi}">`,Le(Eo),K(!1)}async function Be(Mi=""){g.current.innerHTML=`<img style="width:100%;height:100%;object-fit:contain;transform:scale(1) translate(0, 0);" src="${Mi}" alt="document thumb">`,K(!1)}function Xe(){Z(!0)}async function Ge(Mi,qi){var Eo;if(qi){let Ct=Mi===Tt.DEVICE?(Eo=qi.attributes)==null?void 0:Eo.Symbol:qi.uuid,ti=yr(qi);if(!Ct||!ti||Mi===Tt.DEVICE&&!qi.symbol){console.warn(`symbolPreview: failed preview uuid:${Ct} path:${ti}`),K(!1);return}let hi;hi=await Ze.getSymbol({uuid:Ct,path:ti,isProject:ti===C.currentProject.projectId}),await ot(hi,0)}K(!1)}async function Ke(Mi){var Qo;let{uuid:qi,schUuidToCbbSymbolDetailMap:Eo,project_detail:Ct,project_uuid:ti}=Mi,{symbol:hi,thumb:ki,isOldCbb:eo}=await IB(qi,(Qo=Eo[qi])==null?void 0:Qo.uuid,Eo[qi],Ct,ti,d);if(!hi){K(!1);return}ki&&Be(ki),eo&&hi&&await ot(hi,0),Le(hi),dt()==se.SCH&&gt(!0),fe([se.SCH]),K(!1)}async function pt(Mi,qi,Eo){if(!Mi){K(!1);return}qi&&Be(qi),Eo&&Mi?await ot(Mi,0):qi||Xe(),Le(Mi),dt()===se.SCH&&await zt(Mi),fe([se.SCH]),K(!1)}async function ot(Mi,qi){await Cr("createDocManager",{data:Mi,cb:async Eo=>{let Ct=Eo.getPartByIndex(qi);if(!Ct)return;Mi.svgStr=Ct.shapeManager.toModelSvg(Ct),Le(Mi);let ti=Eo.parts.map(hi=>({value:hi.partId,text:hi.partTitle,showOriginalText:!0}));G(ti),B(ti[qi].value),Rf(Mi).then(hi=>{if(M.current!==T.current){K(!1);return}K(!1),dt()==se.SCH&&gt(!0),zh(dt())&&gt(!0),w.current.s=!0,w.current.f?fe([se.SCH,se.PCB]):fe([dt()]),g.current.style.background=hi.bg;let ki=g.current.querySelector("img");ki?(ki.style.background=hi.bg,ki.src=hi.src,ki.style.display="block"):g.current.innerHTML=`<img style="width:100%;height:100%;background:${hi.bg};transform:translate(0,0) scale(1)" src="${hi.src}">`})}})}function Qe(Mi){var qi;if(!Mi){let Eo=(qi=b.current)==null?void 0:qi.querySelector("iframe");Eo&&C.windowBridge.publish("previewClearAll","",Eo.contentWindow);return}ce(Mi),ut(Mi,!0)}function ut(Mi,qi=!1){var hi,ki;let{uuid:Eo}=Mi;if(!Eo){let eo=(hi=b.current)==null?void 0:hi.querySelector("iframe");eo&&C.windowBridge.publish("previewClearAll","",eo.contentWindow);return}let Ct=(ki=b.current)==null?void 0:ki.querySelector("iframe");if(M.current!==T.current){U(!1);return}Ct?ti(!1):(Ct=g1(b.current,Eo,se.FOOTPRINT,qi,c),Ct.onload=function(){ti(!0)});async function ti(eo){var dr,sa;let Qo={docType:se.FOOTPRINT,tabId:Eo+Zc+Mi.path,commSystemSetting:hn(),isPreview:!0,currOpenProjectId:C.currentProject.projectId,dataStr:Mi.history_uuid?"":Mi.dataStr,isOldDataString:(dr=Mi.dataStr)==null?void 0:dr.trim().startsWith("[")};if(eo?await C.windowBridge.rpcCall("rpcInitFrameInfo",Qo,Ct.contentWindow):await C.windowBridge.rpcCall("loadFootprint",Qo,Ct.contentWindow),U(!1),I.current!=null){let Vn;l===Tt.DEVICE?Vn=(sa=I.current.attributes)==null?void 0:sa.Footprint:l===Tt.FOOTPRINT&&(Vn=I.current.uuid),Vn!=null&&(b.current.childNodes[0].style.opacity="1")}dt()===se.PCB&&gt(!0),w.current.f=!0,w.current.s?fe([se.SCH,se.PCB]):fe([se.PCB])}}let rt=ue.debounce(async Mi=>{let qi=Mi.uuid?Mi.uuid.split("|"):"",Eo=qi[1]||Vm();if(Tn&&dfe()||!Je){let Ct=await ts.fetchComponentItem(!1,qi[0],Eo,se.PCBLIB3D);ht(qi[0],Ct&&Ct.result?Ct.result:null,Mi.transform3D,Eo,l==Tt.DEVICE||l==Tt.FOOTPRINT)}else if(Ko||Tn&&!dfe()){let Ct=Eo===C.currentProject.projectId,ti=await ts.fetchComponentItem(Ct,qi[0],Eo,se.PCBLIB3D),hi=qi[0]+"|"+Eo,ki=ti&&ti.result?ti.result:null;ht((ki==null?void 0:ki.uuid)||hi,ki,Mi.transform3D,Eo,l==Tt.DEVICE||l==Tt.FOOTPRINT)}},200);async function ht(Mi,qi,Eo="0,0,0,0,0,0,0,0,0",Ct,ti){let hi=qi&&qi.dataStr||JSON.stringify({model:(qi==null?void 0:qi["3d_model_uuid"])||Mi,unit:"mm"});Ct=qi&&qi.path||Ct,H(!0),ct(Mi,{uuid:Mi,dataStr:hi,path:Ct},Eo,ti)}async function ct(Mi,qi,Eo="0,0,0,0,0,0,0,0,0",Ct=!1){let ti=Mi?qi&&qi.dataStr||JSON.stringify({model:Mi,unit:"mm"}):null,hi=qi.path,ki=y.current.querySelector("iframe");if(M.current!==T.current){H(!1);return}if(ki){let dr=y.current.querySelector("div");dr&&(dr.style.display="block"),setTimeout(()=>{Qo(ki,ti,Eo,hi,Ct)},100)}else{let dr=g1(y.current,Mi,se.VIEW3D,!1,c);dr.onload=async function(){Qo(dr,ti,Eo,hi,Ct)}}let eo=y.current.querySelector("p");eo&&(eo.style.display="none");async function Qo(dr,sa,Vn,Cn,fa){let Ac="",Uo=b.current.querySelector("iframe");fa&&Uo&&(Ac=(await C.windowBridge.rpcCall("/pcb/3d/source",{considerCanvasOrigin:!1,gnrBBoxOutlines:!0},Uo.contentWindow)).message),await Lze(dr),await C.windowBridge.rpcCall("/pcb/3d/load/data",Ac,dr.contentWindow),sa&&(await C.windowBridge.rpcCall("/pcb/3d/load/model",{dataStr:sa,path:Cn},dr.contentWindow),await C.windowBridge.rpcCall("/pcb/3d/model/update",Vn,dr.contentWindow),await C.windowBridge.rpcCall("/pcb/3d/model/closeEditMode","",dr.contentWindow)),await C.windowBridge.publish("toggle3DView",{cmd:"refresh"},dr.contentWindow);let $t={key:"attr-silk-technology",value:"standardSilk"};C.windowBridge.publish("3DViewModifyAttr",$t,dr.contentWindow),H(!1)}}let wt=async Mi=>{var Ct,ti;let qi=dt(),Eo=d?C.currentProject.projectId:yr(a);if(l===Tt.DEVICE){ze(!1);let hi=a,ki=ye,eo=Re,Qo=!0;hi.extraInfo={partId:j},a&&await eX(hi,d,qi,ki,Eo,Qo,eo,l,u),ze(!0)}else if(l===Tt.CBB){let hi=ye;if(Mi&&!d&&((Ct=a==null?void 0:a.display_title)==null?void 0:Ct.type)===xr.PRJ){if(Mi==="PLACE_BLOCK"){let eo=dt();eo===se.SCH?hi=await tEt(a.project_detail,A.current.sheetUuid,A.current.schematic_uuid,a.project_detail.uuid,u,A.current.sheetDisplayTitle):eo===se.PCB&&(hi=await $Dt(a.project_detail,A.current.pcbUuid,a.project_detail.uuid,u,A.current.display_title))}else if(Mi==="PLACE_BLOCK_SYMBOL"){let{blockSymbolUuid:eo}=A.current,{block_symbol_list:Qo=[],project_detail:dr}=a,{block_symbol:sa=[]}=dr,Vn=sa;Array.isArray(Vn)||(Vn=Qo);let Cn=Vn.find(Ac=>Ac.uuid===eo),{symbol:fa}=await KDt(A.current.schematic_uuid,A.current.blockSymbolUuid,Cn,a.project_detail,a.project_detail.uuid,d);hi=fa}}ze(!1);let ki=d||![xr.SHEET,xr.PRJ].includes((ti=a==null?void 0:a.display_title)==null?void 0:ti.type)?void 0:Vxt(a==null?void 0:a.project_detail,hi.schematic_uuid);await Zq(hi,d,{beforePlaceCb:()=>{sy(1)},schematicName:ki}),ze(!0)}else if(l===Tt.PANEL_LIB){if(dt()!==se.PANEL){De({msg:"Plz open panel file"});return}let ki=a.uuid;cc.getPanelLibData(ki,null,{path:Eo}).then(eo=>{Ca("/panel/place_lib",[eo])}),sy(1)}};async function zt(Mi){if(C.currentProject.projectId&&(Mi==null?void 0:Mi.project_uuid)===C.currentProject.projectId){let qi=(await C.messageBus.rpcCall("isNested",[gi(),Mi.display_title])).message;gt(!qi)}else gt(!0)}let gt=Mi=>{if(je()||Is())ze(!1);else{let qi=Mi,Eo=Qt();Eo==!1&&(qi=Eo),ze(qi)}},Qt=()=>{var Mi,qi,Eo;if(u.type===Yt.TEAMS&&[Tt.CBB].includes(l)){let Ct=(((Mi=a==null?void 0:a.creator)==null?void 0:Mi.uuid)||((Eo=(qi=a==null?void 0:a.project_detail)==null?void 0:qi.creator)==null?void 0:Eo.uuid))!=_o();!ym(u.uuid,Yr.Team_Module_Update)&&Ct&&(ae(!1),Z(!1),Xe())}return!!hJ(void 0,gn([Ao._val,Ao.Document._val,Ao.Document.Update]))},yt=async Mi=>{var Eo,Ct;if(!Mi||l!=Tt.CBB||d)return null;switch(jt(Mi)){case"pcb":{let{message:ti}=await C.messageBus.rpcCall($e.PCB.GET_BY_TITLE,[Mi.title,C.currentProject.projectId]);return ti}case"schematic":case"symbol":{let ti=Mi.name||Mi.title,{message:hi}=await C.messageBus.rpcCall($e.SCHEMATIC.GET_BY_NAME,[ti,C.currentProject.projectId]),{message:ki}=await C.messageBus.rpcCall($e.SYMBOL.GET_BY_TITLE,[ti,C.currentProject.projectId]),eo=(ki||[]).find(Qo=>Qo.docType===se.BLOCK_SYMBOL);return eo||hi?{schematic:hi,blockSymbol:eo}:null}case"sheet":{let ti=Vxt(a==null?void 0:a.project_detail,ye.schematic_uuid),{message:hi}=await C.messageBus.rpcCall($e.SCHEMATIC.GET_BY_NAME,[ti,C.currentProject.projectId]);if(!(hi!=null&&hi.uuid))return null;let{message:ki}=await C.messageBus.rpcCall($e.SHEET.GET_ALL_ARR,[hi.uuid,C.currentProject.projectId]);for(let{uuid:eo}of ki){let Qo=(await C.messageBus.rpcCall($e.SHEET.GET,[eo,C.currentProject.projectId])).message;if(((Eo=Qo.title)==null?void 0:Eo.toLocaleLowerCase())===((Ct=Mi.title)==null?void 0:Ct.toLocaleLowerCase()))return Qo.titleWithSchematic=`${ti}.${Qo.title}`,Qo}return null}default:return null}},jt=Mi=>{if(!Mi.docType&&Mi.name!=null)return"schematic";switch(Mi.docType){case se.BLOCK_SYMBOL:return"symbol";case se.PCB:return"pcb";case se.SCH:return"sheet";default:throw new Error(`getReuseBlockChildType: can not read block type of ${Mi}`)}},ni=()=>X.size>1,Ii=()=>PDr.includes(l),Mo=()=>Ii()||ni(),_i=({name:Mi,active:qi})=>{let Eo=ue.debounce(()=>{X.get(Mi).active=!qi,ie(X),Pe(Ct=>Ct+1)},200);return(0,Tl.jsx)("button",{"data-test":Mi,type:"button",className:o("default-btn other-btn",{"other-btn-active":qi}),onClick:Eo,children:Mi})};function So(){var qi,Eo;let Mi=(qi=g.current)==null?void 0:qi.querySelector("img");Mi&&([xr.PCB,xr.SHEET].includes((Eo=a==null?void 0:a.display_title)==null?void 0:Eo.type)?a.thumb&&Be(a.thumb):Mi.style.cssText="width: 100%; height: 100%; transform: translate(0, 0) scale(1); background: #fff")}let nr=()=>{let Mi=c.document.getElementById(_ne+"Menu");Mi&&Mi.remove()},Do=()=>{if(!a){Ve.current.isExis3DModelId=!1,Ue(""),Pe(Mi=>Mi+1);return}if(l===Tt.DEVICE){a.attributes["3D Model"]||a.attributes.Footprint?Ve.current.isExis3DModelId=!0:Ve.current.isExis3DModelId=!1,Pe(Mi=>Mi+1);return}if(l===Tt.FOOTPRINT){Ve.current.isExis3DModelId=!0;let Mi=yr(a);Ze.getFootprint({uuid:a.uuid,path:Mi,isProject:Mi===C.currentProject.projectId}).then(qi=>{if(qi){ue.getFootprint3DInfo(qi.uuid,qi.path,qi.path===C.currentProject.projectId,!1).then(({compiler:Eo,d3modelItem:Ct,d3modelItemName:ti,d3modelItemTransform:hi,d3modelItemPath:ki,d3modelItemId:eo})=>{Ue(ti),Pe(Qo=>Qo+1),eo&&As.fetchD3ModelItemHandle(eo).then(Qo=>{Qo&&(Ve.current.isExis3DModelId=!0)})}),Pe(Eo=>Eo+1);return}Pe(Eo=>Eo+1)})}};(0,rl.useEffect)(()=>{C.messageBus.subscribe("showPreviewRightClickMenuAtSubWindow",Mi=>{if(!c.name)return;let qi=c.document.getElementById(Mi.iframeElementId);qi||(qi=c.document.querySelector(`div[uuid="${Mi.iframeElementId}"] iframe`)||document.body);let Eo=qi.getBoundingClientRect();function Ct(ti){let hi=+qi.getAttribute("c_doctype")==se.VIEW3D;switch(ti){case"recover":let ki=qi.contentWindow;hi?C.windowBridge.publish("toggle3DView",{cmd:"refresh"},qi.contentWindow):C.windowBridge.publish("adaptAll","",ki);break;default:break}}Au.open({data:[{cmd:"recover",title:me.i18n("Recover")}],position:{x:Eo.left+Mi.x,y:Eo.top+Mi.y},onClick(ti,hi,ki,eo){Ct(ti.cmdlink.join(":"))},onEnterConfirm(ti,hi,ki){Ct(ti.join(":"))},windowInstance:c})})},[]);let go=()=>{let Mi=()=>(0,Tl.jsx)("div",{style:{position:"absolute",bottom:"-5px",width:"100%",padding:"5px 0"},children:(0,Tl.jsx)(Kt,{className:o("d3-model-name-input"),style:{marginRight:"16px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},value:Oe,disabled:!0,title:Oe})});return l===Tt.DEVICE?(0,Tl.jsx)("p",{style:{display:"flex",width:"100%",height:"100%",cursor:"pointer",justifyContent:"center",alignItems:"center"},onClick:async()=>{let qi=a==null?void 0:a.attributes["3D Model Transform"],Eo=a==null?void 0:a.attributes["3D Model"];try{if(Eo&&!Eo.includes("|")){let Ct=a.path===C.currentProject.projectId,{d3modelItem:ti}=(await ts.fetchComponentItem(Ct,a.uuid,a.path,se.DEVICE,{attachedDeviceBindingExtra:!0,isCheckD3ModelFileExist:Ct})).result||{};Eo=[Eo,ti==null?void 0:ti.path].join("|")}}catch{}rt({uuid:Eo,transform3D:qi})},children:e("Click to Preview 3D")}):l===Tt.FOOTPRINT?(0,Tl.jsxs)(Tl.Fragment,{children:[(0,Tl.jsx)("p",{style:{display:"flex",width:"100%",height:"100%",cursor:"pointer",justifyContent:"center",alignItems:"center",alignContent:"center"},onClick:async()=>{let qi=await MMe({tabName:l,requestBody:{uuid:a.uuid,path:yr(a),belongLib:{id:u.uuid,type:u.type}}}).catch(Eo=>null);qi&&ue.getFootprint3DInfo(qi.uuid,qi.path,qi.path===C.currentProject.projectId,!1).then(({compiler:Eo,d3modelItem:Ct,d3modelItemName:ti,d3modelItemTransform:hi,d3modelItemPath:ki,d3modelItemId:eo})=>{rt({uuid:eo,transform3D:hi})})},children:e("Click to Preview 3D")}),Ve.current.isExis3DModelId&&Mi()]}):null};function Dr(){switch(Array.from(X.values()).filter(qi=>qi.active).length){case 0:case 1:return"show-one";case 2:return"show-two";case 3:return"show-three";default:return""}}function cr(Mi){var Eo;let qi=(Eo=X.get(Mi))==null?void 0:Eo.active;switch(Mi){case"S":return qi;case"F":return qi;case"P":return qi;case"3D":return qi}}let Zn=l!==Tt.DEVICE&&l!==Tt.FOOTPRINT?null:Ve.current.isExis3DModelId?(0,Tl.jsx)(go,{}):null;return(0,Tl.jsxs)("div",{ref:r,className:o("container"),"data-refresh":Te,style:f==="close"?{display:"none"}:{},children:[Mo()&&(0,Tl.jsx)("div",{className:o("btn-wrap"),children:l===Tt.CBB&&!d&&((Sa=a==null?void 0:a.display_title)==null?void 0:Sa.type)===xr.PRJ?(0,Tl.jsx)(Tl.Fragment,{children:(0,Tl.jsx)(RGi,{placeBtnRef:S,docType:dt(),placeBlockBtnStatus:R,placeBlockSymbolBtnStatus:k,handlePlace:wt,className:o("default-btn place-btn")})}):(0,Tl.jsxs)(Tl.Fragment,{children:[(0,Tl.jsx)("button",{ref:S,"data-test":"Place",disabled:!E,className:o("default-btn place-btn"),style:{opacity:Ii()?1:0},onClick:()=>{wt()},children:e(O)}),ni()&&Array.from(X.entries()).map(([Mi,qi],Eo)=>(0,Tl.jsx)(_i,{name:Mi,active:qi.active},Mi))]})}),l===Tt.CBB&&!d&&((es=a==null?void 0:a.display_title)==null?void 0:es.type)===xr.PRJ?(0,Tl.jsx)(OGi,{rowData:a,ref:A,placeBtnStatus:E,setPlaceBlockBtnStatus:v,setPlaceBlockSymbolBtnStatus:P}):(0,Tl.jsx)(Tl.Fragment,{children:(0,Tl.jsxs)("div",{className:o(`show-wrap ${Dr()}`),children:[[Tt.DEVICE,Tt.SYMBOL,Tt.PANEL_LIB,Tt.CBB].includes(l)&&(0,Tl.jsxs)("div",{style:{display:cr("S")?"flex":"none",flexDirection:"column"},className:o("show-wrap-item",{hidden:!cr("S")}),children:[[Tt.DEVICE,Tt.SYMBOL].includes(l)&&(0,Tl.jsx)("div",{"data-select":"multiPart",className:o("other-wrap"),children:(0,Tl.jsx)(xt,{disabled:V.length<=1,value:j,list:V,onChange:Mi=>{B(Mi),ot(ye,V.findIndex(qi=>qi.value===Mi))}})}),(0,Tl.jsxs)("div",{ref:D,"data-canvas":"symbol","data-test":"symbol-canvas","data-show":cr("S"),style:{flex:1},onClick:Mi=>{Mi.button===1&&nr()},onMouseDown:Mi=>{Wf(Mi.nativeEvent,c)},onContextMenu:Mi=>{gC(Mi.nativeEvent,c)},onDoubleClick:()=>{te?u.uuid!==Yt.OSHWHUB?Rv(a.project_detail.uuid):MV(a.projectPath||a.project_detail.projectPath):dt()==se.SCH&&h(Mi=>Mi+1)},children:[(0,Tl.jsx)(cfe,{visible:F}),te?(0,Tl.jsxs)("div",{className:o("cbb-tips"),children:[((tu=a==null?void 0:a.display_title)==null?void 0:tu.type)===xr.SCH?(0,Tl.jsxs)("span",{children:[e("No module symbols"),(0,Tl.jsx)("br",{}),e("Symbols are automatically generated when placed"),(0,Tl.jsx)("br",{})]}):"",u.type===Yt.EXTEND?"":(0,Tl.jsx)("a",{onDoubleClick:Mi=>{Mi.stopPropagation(),u.uuid!==Yt.OSHWHUB?Rv(a.project_detail.uuid):MV(a.projectPath||a.project_detail.projectPath)},children:e("Double-click to view the reuse block project")})]}):"",pe?(0,Tl.jsx)("div",{className:o("cbb-tips"),children:(0,Tl.jsx)("p",{style:{color:"var(--common-font-color)",display:"flex",width:"100%",height:"100%",justifyContent:"center",alignItems:"center"},children:e("No Preview")})}):"",(0,Tl.jsx)("div",{ref:g,style:{overflow:"hidden"},"data-thumb":"symbol"})]})]}),(0,Tl.jsxs)("div",{"data-test":"footprint-canvas","data-canvas":"footprint","data-show":cr("F"),className:o("show-wrap-item",{hidden:!cr("F")}),children:[(0,Tl.jsx)(cfe,{visible:q}),(0,Tl.jsx)("div",{ref:b,"data-thumb":"footprint"})]}),(0,Tl.jsx)("div",{"data-test":"productImg-canvas","data-canvas":"productImg","data-show":cr("P"),className:o("show-wrap-item",{hidden:!cr("P")}),children:(0,Tl.jsx)("div",{"data-thumb":"productImg",children:ne&&(0,Tl.jsx)("img",{src:ne,style:{width:"100%",height:"100%",objectFit:"contain"},onClick:()=>re&&window.open(re)})})}),(0,Tl.jsxs)("div",{"data-test":"model3D-canvas","data-canvas":"3dModel","data-show":cr("3D"),className:o("show-wrap-item",{hidden:!cr("3D")}),children:[(0,Tl.jsx)(cfe,{visible:Q}),(0,Tl.jsx)("div",{ref:y,"data-thumb":"3dModel",children:Zn})]})]})})]})}var _Gi=ODr;var Kne=L(Se());var ZEt=L(BGi()),qEt=L(z()),JEt=(i=>(i.open="close",i.close="open",i))(JEt||{});function RDr({onMove:t,callback:e}){let i=J();Ae(ZEt.default);let{locals:o}=ZEt.default,r=be.bind(o),n=(0,Kne.useRef)({x:0,y:0}),a=(0,Kne.useRef)(!1),{windowInstance:s}=(0,Kne.useContext)(tC),[l,c]=(0,Kne.useState)("open"),d=f=>{f?(document.getElementById("pagemask").style.display="block",s.document.addEventListener("mousemove",p),s.document.addEventListener("mouseup",m)):(document.getElementById("pagemask").style.display="none",s.document.removeEventListener("mousemove",p),s.document.removeEventListener("mouseup",m))};function u(f){n.current={x:f.pageX,y:f.pageY},a.current=!1,f.target.parentElement.style.userSelect="none",d(!0)}function p(f){f.stopPropagation(),f.preventDefault(),s.document.body.style.cssText="-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:col-resize;";let g=n.current.x-f.pageX;t(g)}function m(f){f.target.parentElement.style.userSelect="",d(!1),s.document.body.style.cssText=""}function h(){c(JEt[l]),e(JEt[l])}return(0,qEt.jsx)("div",{className:r("split-line"),onMouseDown:u,children:(0,qEt.jsx)("div",{"data-test":"Toggle bottom bar",title:i("Toggle bottom bar"),className:r(`toggle toggle-${l}`),onClick:h,onMouseDown:f=>{f.stopPropagation()}})})}var zGi=RDr;var e8t=L(PEt());var XEt=class extends qe{constructor(){super(...arguments);this.refreshTableCount=0}setTableRefreshCount(){this.refreshTableCount+=Math.round(Math.random()*1e5),this.notify()}},$Et=new XEt;var xM=L(z()),tC=(0,vc.createContext)(void 0),_Dr="bottomBar";var IMe=275;function UGi(){FGi.default.createRoot(document.getElementById(_Dr)).render((0,xM.jsx)(VGi,{}))}function VGi({windowInstance:t=window,openWindow:e=!1}){Tr.windowInstance=t;let i=(0,vc.useRef)(null),o=(0,vc.useRef)(null),r=(0,vc.useRef)({tabChangeSubscribe:null}),{locals:n}=e8t.default,a=be.bind(n);Ae(e8t.default),Ce($Et),Ce(jf);let{refreshTableCount:s}=$Et,[l,c,d]=La(),[u,p]=(0,vc.useState)(null),[m,h]=(0,vc.useState)(IMe),[f,g]=(0,vc.useState)("open"),[b,y]=(0,vc.useState)(null),[w,x]=(0,vc.useState)([]),[S,T]=(0,vc.useState)(null),[M,I]=(0,vc.useState)(""),[A,D]=(0,vc.useState)(!1),[E,N]=(0,vc.useState)(!1),[R,v]=(0,vc.useState)(Tt.DEVICE),[k,P]=(0,vc.useState)(""),[O,_]=(0,vc.useState)("lcsc"),[j,B]=(0,vc.useState)(Yt.SYSTEM),[V,G]=(0,vc.useState)([]),[Q,H]=(0,vc.useState)(!1),[q,U]=(0,vc.useState)(0),[F,K]=(0,vc.useState)(0),[te,ae]=(0,vc.useState)(0),[pe,Z]=(0,vc.useState)(0),[ee,ce]=(0,vc.useState)(dt()),[ne,oe]=(0,vc.useState)(null),[re,Y]=(0,vc.useState)(IMe),[X,ie]=(0,vc.useState)(0),[de,fe]=(0,vc.useState)([]);Bt(Oe=>{Oe(S?{uuid:R===Tt.CBB&&!A?S.project_detail.uuid:S.uuid,libraryType:R,libraryUuid:b.uuid}:void 0)}).key("componentLib/getCurrentSelectedRowInfo"),(0,vc.useEffect)(()=>{U(s)},[s]),(0,vc.useLayoutEffect)(()=>(o.current&&c(o.current),()=>{d()}),[o.current]),(0,vc.useEffect)(()=>{if(l){let{width:Oe}=l;Oe&&p(Oe)}},[l]),(0,vc.useEffect)(()=>(r.current.tabChangeSubscribe=C.messageBus.subscribe("tabChange",()=>{setTimeout(()=>{ce(dt())},200)}),k2()===Ee.HOME&&setTimeout(()=>{sy()},300),()=>{r.current.tabChangeSubscribe.cancel()}),[]),(0,vc.useEffect)(()=>{re<IMe&&h(re)},[re]),(0,vc.useEffect)(()=>{let Oe=C.messageBus.subscribe("componentLibRefresh",Ve=>{let{tabType:ze,isProjectLib:He,doNotSearch:Ye}=Ve;ze&&ze!==Ls()||(console.log("liuqin",A),!(He!==void 0&&A!==He)&&(U(ke=>ke+1),ae(ke=>ke+1)))}),Ue=C.messageBus.subscribe("setCustomTableHeadDataAgain",()=>{ye()});return()=>{Oe.cancel(),Ue.cancel()}},[A]),(0,vc.useEffect)(()=>{O!=="lcsc"&&ye()},[jf.getSymbolMode(),O]),(0,vc.useEffect)(()=>{let Oe=Math.min(re,Math.max(IMe,m));h(Oe)},[re]);let ye=async()=>{let Oe=await zRe((b==null?void 0:b.type)===Yt.INTERNAL);am.setCustomTableHeadData("componentLibDevice",{...Oe}),await PQe()},Le=Oe=>{D(Oe.type===Yt.PROJECT),N(Oe.type===Yt.SYSTEM),B(Oe.type),y(Oe)},Re=Oe=>{!HGi(Oe,w)&&x(Oe)},Ne=()=>{let Oe=M;C.currentProject.projectId?window.open(location.origin+"/editor#id="+Oe):Os({uuid:Oe,options:{isNew:!0}})},Te=async Oe=>{var Ve;let Ue=M;if(C.currentProject.projectId){let ze=location.origin+"/editor#id="+Ue,He=(Ve=Oe==null?void 0:Oe.symbols)==null?void 0:Ve.map(Ye=>`!${lo(Ye.uuid,M)}`).concat(Oe==null?void 0:Oe.documents.map(Ye=>lo(Ye.uuid,M))).join("|");He!=null&&He.length&&(He=",tab=*"+He),window.open(ze+He)}else{await Os({uuid:Ue}),he.setTabTitle(Ue,Vr("new_title").value.trim()),await os(500);for(let ze of(Oe==null?void 0:Oe.documents)||[])ze.docType===se.PCB?await Ud(ze.uuid):await Cr("openDocByUuid",[ze.uuid,M]);for(let ze of(Oe==null?void 0:Oe.symbols)||[]){let Ye=await Ze.getSymbol({path:M,isProject:M===C.currentProject.projectId,uuid:ze.uuid})||null;await DI(Ye,!1,!0)}}},Pe=()=>(b==null?void 0:b.type)===Yt.EXTEND?C.extendLibStore.manager.getLib(b.uuid).isHasCategoryTreeInTab(R):!0;return(0,xM.jsx)(tC.Provider,{value:{baseMenuSelected:b,secondaryMenuIds:w,isProjectLib:A,isSystemLib:E,windowInstance:t,openWindow:e,libType:j,currentTabDocType:ee,tableCheckbox:Q,baseMenuAmounts:ne,tableSelectedRow:S,cbbProjectId:M,tabName:R,searchValue:k,deviceOrigin:O,tableRefreshCount:q,tableCheckedRows:V,pullMaxWidth:re,doubleClickPlaceTrigger:X,forceSearch:pe,cacheBatchBtnList:de,libListRefreshCount:F,categoryRefreshCount:te,symbolModeValue:jf.getSymbolMode(),lineRight:m,splitLineStatus:f,setCategoryRefreshCount:ae,setLibListRefreshCount:K,setCbbProjectId:I,openCbbProject:Ne,openCbbProjectAndExpand:Te,setTableSelectedRow:T,setTabName:v,setSearchValue:P,setDeviceOrigin:_,setTableRefreshCount:U,setTableCheckedRows:G,setTableCheckbox:H,setBaseMenuAmounts:oe,setPullMaxWidth:Y,setDoubleClickPlaceTrigger:ie,setForceSearch:Z,setCurrentTabDocType:ce,setCacheBatchBtnList:fe,onBaseMenuSelectedChange:Le,onSecondarySelectedChange:Re},children:(0,xM.jsx)("div",{className:a("container"),ref:o,children:(0,xM.jsxs)("div",{className:a("box"),style:{width:u},children:[(0,xM.jsxs)("div",{className:a("left-side"),style:{width:`calc(100% - ${m}px)`},children:[(0,xM.jsx)(DHi,{}),(0,xM.jsxs)("div",{className:a("main-side"),children:[(0,xM.jsx)(ZHi,{}),Pe()&&(0,xM.jsx)($Hi,{}),(0,xM.jsx)(CGi,{})]})]}),(0,xM.jsxs)("div",{ref:i,className:a("right-side"),style:{width:f==="close"||Ls()=="modelSimLib"?0:m},children:[(0,xM.jsx)(zGi,{onMove:Oe=>{Oe=Math.min(re,Math.max(IMe,Oe+m)),h(Oe)},callback:Oe=>g(Oe)}),(0,xM.jsx)(_Gi,{})]})]})})})}var IHi=VGi;var eYi=L(Hr());var YQe=L(Se());var l7=L(Se());var GGi={wire:"Wire",bus:"Bus",rect:"Rectangle",polyline:"Polyline",polygon:"Polygon",circle:"Circle",ellipse:"Ellipse",bezier:"Bezier",path:"Path",pin:"Pin",arc:"Arc",text:"Text",obj:"Image",netlabel:"Net Label",netflag:"Net Flag",netport:"Net Port",offPageConnector:"Off Page Connector",diffPairsFlag:"Differential Pairs Flag",short_symbol:"Short Flag",block_symbol:"Block Symbol",part:"Component",nonElectrical_symbol:"Non-Electronic Flag",table:"Table",noconnect:"No Connect Flag",maskregion:"Mask Region"},YGi=["attr-name","attr-id","Designator","Unique ID","Device","Symbol","Package","Add into BOM","Convert to PCB","attr-multi-part-group-id","attr-multi-part-no","attr-multi-part-count","attr-pin-name","Pin Type","attr-number","attr-rotation","attr-dot-visible","attr-clock-visible","attr-length","attr-text","attr-font-family","attr-font-size","attr-origin","attr-stroke-width","attr-stroke-style","attr-color","attr-stroke-color","attr-fill-color","attr-radius","attr-x","attr-y","attr-r","attr-href","attr-sheet-symbol","attr-sheet-size-template","attr-sheet-orientation","attr-width","attr-height","attr-locked"],LMe=160;var KGi=L(GQe());var tX=(t,e)=>{yn({tabId:t}).then(()=>{C.messageBus.publish("cancelSelect"),C.messageBus.publish("sch/selectWithShowCrossCursorByIds",{ids:e,tabId:t}),C.messageBus.publish("searchEnd")})};var t8t=class extends qe{constructor(){super(...arguments);this.rawData=null;this.leftTypeListData=null;this.rawSearchRes=null;this.showTableData=null;this.initSearchTableRes=null;this.searchResTableHeader=null;this.currentShowRowIdx=-1;this.cacheShowTableData=null;this.isNotSymbol=!1;this.dlgOpenTicket=0;this.clickPrevBtnOrNextBtn=ue.debounce(i=>{let o=null,r=this,n=this.showTableData.length;this.currentShowRowIdx>n&&(this.currentShowRowIdx=-1),i==="findPrev"?((this.currentShowRowIdx===-1||this.currentShowRowIdx===0)&&(this.currentShowRowIdx=n),this.currentShowRowIdx--):i==="findNext"&&(this.currentShowRowIdx===n-1&&(this.currentShowRowIdx=-1),this.currentShowRowIdx++),o=ue.deepClone(this.showTableData[this.currentShowRowIdx]);let a=r.isNotSymbol?lo(o.sheet,C.currentProject.projectId):o.sheet;r.isNotSymbol?(tX(a,[o.rowUniqueFlag]),this.setShowTableData(this.showTableData)):C.messageBus.rpcCall("pro-sch/getActivePartId").then(s=>{var c;let l=s==null?void 0:s.message;l&&l!==((c=o==null?void 0:o.rawRow)==null?void 0:c.partId)?(el.setActivePartItemTabKey(o.rawRow.partId),os(50).then(()=>{tX(a,[o.rowUniqueFlag]),this.setShowTableData(this.showTableData)})):(tX(a,[o.rowUniqueFlag]),this.setShowTableData(this.showTableData))})},LMe)}setDlgOpenTicket(){this.dlgOpenTicket+=1,this.notify()}setRawData(i){this.rawData=i;let{searchResult:o}=i;if(Zne(),It.getActiveTab(co.id).tabId!=="findResult"&&co.handleClick("findResult"),this.leftTypeListData=o.map(n=>n.cmdKey),o.length===0){this.showTableData=null;let n=he.getAllTabId();n&&n.forEach(a=>{kr("select_none",[{notChangeFindSelect:!0}],a)})}this.rawSearchRes=o,this.isNotSymbol=[se.SCH,se.BLANKTAB].includes(dt()),this.setSearchTableHeader(new Set(this.leftTypeListData)),this.notify()}setShowTableData(i){this.cacheShowTableData=i,i.length>0?this.showTableData=ue.deepClone(i):this.showTableData=i,this.notify()}setSearchTableHeader(i){let o=[];if(this.rawSearchRes){let r=[{key:"ID",name:"ID",sortable:!0}];o=o.concat(r),QGi()||o.push({key:"Page",name:"Page",sortable:!0});let a={};if(this.rawSearchRes.forEach(s=>{if(i.has(s.cmdKey))for(let l in s.matchedAttrs)Object.hasOwnProperty.call(s.matchedAttrs,l)&&l!=="ID"&&(a[s.matchedAttrs[l].attr]||(a[s.matchedAttrs[l].attr]=l))}),YGi.forEach(s=>{a[s]&&(o.push({key:s,name:s,sortable:!0}),delete a[s])}),Object.keys(a).length>0)for(let s in a)o.push({key:s,name:s,sortable:!0});o.length>10?o=o.map(s=>({...s,width:1/o.length+.03})):o=o.map(s=>({...s,width:1/o.length}))}this.searchResTableHeader=o}setInitSearchTableRes(i){this.initSearchTableRes=i,this.notify()}clickClearBtn(i=!0){this.rawData&&(this.rawData=null),this.leftTypeListData&&(this.leftTypeListData=null),this.rawSearchRes&&(this.rawSearchRes=null),this.showTableData&&(this.showTableData=null),this.initSearchTableRes&&(this.initSearchTableRes=null),this.currentShowRowIdx>0&&(this.currentShowRowIdx=-1),this.searchResTableHeader&&(this.searchResTableHeader=null),i&&this.notify()}},lr=new t8t;var mY=L(z()),i8t=be.bind(KGi.default.locals),jDr=()=>{let t=J();Ce(lr);let[e,i,o]=La(),[r,n]=(0,l7.useState)([]),[a,s]=(0,l7.useState)(null),l=(0,l7.useRef)(null),c=[{key:"resultType",name:t("All"),i18n:!0},{key:"resultCount",name:lr.leftTypeListData?`(${lr.leftTypeListData.length})`:"(0)",align:"right"}],d=()=>{lr.clickClearBtn()},u=p=>{if(!lr.initSearchTableRes)return;let m=p.filter(f=>f.checked).map(f=>f.rowUniqueFlag),h=lr.initSearchTableRes.filter(f=>m.includes(f.rawRow.cmdKey));n(f=>p),lr.setSearchTableHeader(new Set(m)),lr.setShowTableData(h)};return(0,l7.useEffect)(()=>{if(lr.leftTypeListData){let p=[];lr.leftTypeListData.reduce((m,h)=>(m.has(h)?m.set(h,m.get(h)+1):m.set(h,1),m),new Map).forEach((m,h)=>{var f;p.push({rowUniqueFlag:h,resultType:(f=GGi[h])!=null?f:"topicMaps\u9700\u8981\u6DFB\u52A0\u79CD\u7C7B",resultCount:`(${m})`,checked:!0,bgColor:"var(--bg-color-panel)"})}),n(m=>p)}else n(p=>[])},[lr.leftTypeListData]),(0,l7.useEffect)(()=>{if(lr.showTableData&&lr.showTableData.length>0&&lr.currentShowRowIdx!==-1){let p=lr.showTableData[0].cmdKey;n(m=>m.map(h=>(h.rowUniqueFlag===p&&(h.checked=!0),h)))}},[lr.currentShowRowIdx]),(0,l7.useEffect)(()=>(i(l.current),()=>{o()}),[l.current]),(0,l7.useEffect)(()=>{if(e){let{height:p}=e;s(p)}},[e]),(0,mY.jsx)(mY.Fragment,{children:(0,mY.jsxs)("div",{className:i8t("left-choose"),children:[(0,mY.jsx)(Me,{class:i8t("clear-btn"),onClick:d,children:t("Clear")}),(0,mY.jsx)("div",{className:i8t("type-list"),ref:l,children:(0,mY.jsx)(xi,{index:"rowUniqueFlag",columns:c,height:a,rows:r,checkbox:!0,border:!1,fixedHeader:!1,openRowSelectedBgColor:!1,resize:!1,onChange:u,headerStyle:{background:"var(--bg-color-panel )"},onAllChecked:(p,m)=>{m?lr.setShowTableData(lr.initSearchTableRes||[]):lr.setShowTableData([])}})})]})})},ZGi=(0,l7.memo)(jDr);var GC=L(Se());var qGi=L(GQe());var vMe=L(z()),JGi=be.bind(qGi.default.locals),BDr=()=>{var g;let t=J();Ce(lr),Ce(is);let[e,i]=(0,GC.useState)(null),[o,r]=(0,GC.useState)([]),[n,a,s]=La(),l=(0,GC.useRef)(null),c=(0,GC.useRef)(null),d=(0,GC.useRef)(!1),u=async(b,y,w)=>{let x=[],S=new Map;return await Ro(b,async(T,M,I)=>{var N;let A={rawRow:M,uniqueFlag:M.id+"#"+I,rowUniqueFlag:M.id,sheet:M.sheet,cmdKey:M.cmdKey};lr.isNotSymbol&&(A.Page=M.pageName+"."+(await C.messageBus.rpcCall("getSchematicDisplayTitleByTabId",{uuid:M.sheet})).message);let D={},E=(N=M==null?void 0:M.matchedAttrs)!=null?N:{};for(let R in E){let v=E[R];D[v.attr]=v.value}y.forEach(R=>{var v,k;if(R!=="Page")if(R==="ID")A[R]=(v=M==null?void 0:M.displayId)!=null?v:"";else{let P=lr.searchResTableHeader.find(j=>j.key===R),O=(k=D[P.key])!=null?k:"";P&&P.key==="Pin Type"&&(O=t({context:"pinType",value:O}));let _=O==="GND";A[R]=_?O:t({context:"attrs",value:O+""})}}),S.has(M.cmdKey)?S.set(M.cmdKey,S.get(M.cmdKey).concat(A)):S.set(M.cmdKey,[A])}),w.forEach(T=>{x=x.concat(S.get(T))}),lr.setInitSearchTableRes(x),x},p=Gr(b=>{let{row:y,selectedRowNumbers:w,isCtrl:x,isShift:S,tableData:T}=b;if(!y)return;!x&&!S&&w.length>0&&(lr.currentShowRowIdx=w.at(-1)),r(w);let M=T.find(I=>I.uniqueFlag===y.uniqueFlag);if(M){let I=lr.isNotSymbol?lo(M.sheet,C.currentProject.projectId):M.sheet,A=w.map(D=>{var E;return(E=T[D])==null?void 0:E.rowUniqueFlag});lr.isNotSymbol?tX(I,A):C.messageBus.rpcCall("pro-sch/getActivePartId").then(D=>{var N;let E=D==null?void 0:D.message;E&&E!==((N=M==null?void 0:M.rawRow)==null?void 0:N.partId)?(el.setActivePartItemTabKey(M.rawRow.partId),os(50).then(()=>{tX(I,A)})):tX(I,A)})}},LMe),m=b=>{let y=!le.isOpen("dlgFind")&&!le.isOpen("find-similar");d.current&&lr.showTableData&&lr.showTableData.length>0&&(y&&b.code==="KeyP"&&lr.clickPrevBtnOrNextBtn("findPrev"),y&&b.code==="KeyN"&&lr.clickPrevBtnOrNextBtn("findNext"))};(0,GC.useMemo)(()=>{var b,y,w;if(((b=lr.rawSearchRes)==null?void 0:b.length)>0&&((y=lr.searchResTableHeader)==null?void 0:y.length)>0&&((w=lr.leftTypeListData)==null?void 0:w.length)>0){let x=lr.searchResTableHeader.map(S=>S.key);u(lr.rawSearchRes,x,new Set(lr.leftTypeListData)).then(S=>{lr.setShowTableData(S)})}},[lr.rawSearchRes,lr.leftTypeListData]);let h=(0,GC.useMemo)(()=>lr.searchResTableHeader&&lr.searchResTableHeader.length>0?lr.searchResTableHeader.map(b=>{var y,w;return{...b,name:t({context:"attrs",value:(w=(y=C.PropertyKey[b.name])==null?void 0:y.title)!=null?w:b.name})}}):[],[is.lang,lr.searchResTableHeader]);(0,GC.useEffect)(()=>(a(l.current),()=>{s()}),[l.current]),(0,GC.useEffect)(()=>{if(n){let{height:b}=n;i(b)}},[n]),(0,GC.useEffect)(()=>{c.current&&lr.currentShowRowIdx>-1&&(r(b=>[lr.currentShowRowIdx]),c.current.virtualScrollRowIndexIntoView(lr.currentShowRowIdx))},[lr.currentShowRowIdx]),(0,GC.useEffect)(()=>(window.addEventListener("keyup",m),()=>{window.removeEventListener("keyup",m)}),[]);let f=Gr((b={})=>{Yn(()=>{let y=[],w=Reflect.ownKeys(b).length>0;it(b,(x,S)=>{if(!he.getTabById(x))return;let T=lr.isNotSymbol?o8t(x):x;S.forEach(M=>{let I=lr.showTableData.findIndex(A=>A.rowUniqueFlag===M&&A.sheet===T);I!==-1&&!o.includes(I)&&y.push(I)})}),w?y.length>0&&r(y):r([])})},LMe);return Bt(b=>{lr.showTableData&&lr.showTableData.length>0&&["sch","schlib"].includes(L9(dt()))&&b!=null&&b.target&&f(b.target)}).key("select_change"),(0,vMe.jsx)("div",{className:JGi("find-grid-parent"),children:(0,vMe.jsx)("div",{className:JGi("find-grid"),ref:l,onMouseEnter:()=>{d.current=!0},onMouseLeave:()=>{d.current=!1},children:lr.showTableData&&lr.showTableData.length?(0,vMe.jsx)(xi,{index:"uniqueFlag",ref:c,columns:h,rows:(g=lr.showTableData)!=null?g:[],selectedRowNumbers:o,height:e,moveAble:!0,openVirtualScroll:!0,fixedHeader:!0,showStatus:!0,border:!0,number:!0,onClick:b=>{p(b)},onChange:b=>{lr.setShowTableData(b!=null?b:[])}}):(0,vMe.jsx)("div",{"data-test":"No Data!",style:{textAlign:"center"},children:t("No Data!")})})})},XGi=(0,GC.memo)(BDr);var r8t=L(GQe());var iX=L(z()),zDr=be.bind(r8t.default.locals),FDr=()=>(Ce(Po),Ae(r8t.default),(0,YQe.useEffect)(()=>{var t;Po.isPanelRelated()&&((t=lr.showTableData)==null?void 0:t.length)>0&&lr.clickClearBtn()},[Po.workingMode]),(0,iX.jsx)(iX.Fragment,{children:(0,iX.jsxs)("div",{className:zDr("sch-findtypelog"),children:[(0,iX.jsx)(ZGi,{}),(0,iX.jsx)(XGi,{})]})})),$Gi=(0,YQe.memo)(FDr);var iYi=L(z()),tYi=()=>{eYi.default.createRoot(document.querySelector("#findTypeLog")).render((0,iYi.jsx)($Gi,{}))};var aYi=L(Hr());var YC=L(Se());var a8t=L(rYi());var hY=class t{static getInstance(){return this._instance||(this._instance=new t),this._instance}static createHash(){return b1()}constructor(){this.initial()}getChanel(){let e="cross-window-broadcasting";return new BroadcastChannel(e)}initial(){this.subscriberMap=new Map,this.activeRequesterMap=new Map,this.requesterCaches=new Set,this.responserCaches=new Set;let e=this.getChanel();e.onmessage=this.receiveMessage.bind(this)}createRequester(){let e=t.createHash();return this.requesterCaches.add(e),e}isRequester(e){return this.requesterCaches.has(e)}createResponser(){let e=t.createHash();return this.responserCaches.add(e),e}isResponser(e){return this.responserCaches.has(e)}async receiveMessage(e){let i=e.data;if(!i)return;let{type:o,broadcastName:r}=i;if(!o||!r){this.logger("Invalid broadcast message",i);return}if(o=="request"){let{requester:n,responser:a,data:s}=i;if(this.isRequester(n))return;let c=this.subscriberMap.get(r);if(!c)return;let d="";if(a&&a.length>0&&!Kb(a,p=>{if(this.isResponser(p))return d=p,!0}))return;d||(d=this.createResponser());try{let u=await c.call(null,s),p={broadcastName:r,responser:d,requester:n,data:u};this.responseBroadcast(p)}catch(u){this.logger("Subscriber call error",u)}}else if(o=="response"){let{responser:n,requester:a}=i;if(this.isResponser(n))return;let l=this.activeRequesterMap,c=l.get(a);if(!c)return;c.responseData.push(i),c.request.raceModel&&(clearTimeout(c.requestTimer),l.delete(a),c.requestResolve(c.responseData))}}subscribeBroadcast(e,i){return!e||!i||typeof i!="function"?(this.logger("Invalid subscriber",e),!1):(this.subscriberMap.set(e,i),this.logger("Subscribe broadcast",e),!0)}async requestBroadcast(e){let i=typeof e=="string"?{broadcastName:e}:e;if(!(i==null?void 0:i.broadcastName))return this.logger("Invalid request",e),null;let r=i.requester;r||(r=i.requester=this.createRequester());let n=i.timeout;n>0||(n=i.timeout=300),i.type="request";let a={request:i,responseData:[],requestResolve:null,requestTimer:null},s=new Promise(d=>{a.requestResolve=d}),l=this.activeRequesterMap;return l.set(r,a),this.logger("Request broadcast",i),this.getChanel().postMessage(i),a.requestTimer=setTimeout(()=>{l.delete(r),a.requestResolve(a.responseData)},n),s}responseBroadcast(e){let{broadcastName:i,responser:o,requester:r}=e||{};return!i||!o||!r?(this.logger("Invalid response",e),!1):(e.type="response",this.logger("Response broadcast",e),this.getChanel().postMessage(e),!0)}logger(e,...i){console.log("====WindowBroadcast====",`[${e}]`,...i)}};var QQe=L(Vi());var dO=L(z());function ufe(t){let e=he.getActiveTabData(),i="dlgCrossWin",o="Yes",r="No",n=dt()==se.PCB?me.i18n("SCH"):"PCB",a={value:Je?"It is detected that another window has opened the {0}, whether to pass it to another window to use this function?":"It is detected that another browser tab has opened the {0}, whether to pass it to another window to use this function?",options:[n]},s=m=>{let h=(0,QQe.default)('input[name="doNotShowAgain"]',m.$dlg).prop("checked")?m.type:"";he.setTabData(e.tabId,{doNotShowAgain:h})},l=()=>{let m=document.getElementById(i);m==null||m.remove()},c=async()=>{var h,f,g;let m=(0,QQe.default)("#dlgCrossWin");if(t&&t.onConfirm)t.onConfirm();else{let b=(h=e==null?void 0:e.data)==null?void 0:h.type;if(b=="placeTransfer"){let{selectObj:y,otherData:w}=(f=e==null?void 0:e.data)==null?void 0:f.placeTransferData;C.windowBridge.publish("cross-window",{selectObj:y,otherData:w,cmd:"crossProbe"},ko())}else if(b=="crossProbeBetweenWindows"){let{selectObj:y,otherData:w}=(g=e==null?void 0:e.data)==null?void 0:g.crossProbeBetweenWindows;C.windowBridge.publish("cross-window",{selectObj:y,otherData:w,cmd:"crossProbe"},ko())}}l(),s({$dlg:m,type:"confirm"})},d=async()=>{var h,f,g,b;let m=(0,QQe.default)("#dlgCrossWin");if(t&&t.onCancel)t.onCancel();else{let y=(h=e==null?void 0:e.data)==null?void 0:h.type;if(y=="placeTransfer"){let{selectObj:w,otherData:x}=(f=e==null?void 0:e.data)==null?void 0:f.placeTransferData;C.windowBridge.publish("notifyPcbCrossProbe",{...w,otherData:x},ko())}else if(y=="crossProbeBetweenWindows"){let{selectObj:w,otherData:x}=(g=e==null?void 0:e.data)==null?void 0:g.crossProbeBetweenWindows,S=he.getActiveTabData(),M={fromActiveFileType:(b=S==null?void 0:S.data)==null?void 0:b.doctype,selectObj:w,otherData:x};DMe(M,gi())}}l(),s({$dlg:m,type:"cancel"})},u=()=>{l()},p=()=>{let m=J();return(0,dO.jsxs)(dO.Fragment,{children:[(0,dO.jsxs)("div",{style:{position:"absolute",left:"0"},children:[(0,dO.jsx)("input",{name:"doNotShowAgain",type:"checkbox"}),(0,dO.jsx)("span",{children:m("Don't show again")})]}),(0,dO.jsx)(Me,{type:"primary",size:"md",onClick:()=>c(),children:o}),(0,dO.jsx)(Me,{size:"md",onClick:()=>d(),children:r})]})};Dt({id:i,title:me.i18n("Tip"),content:a,icon:"info",confirmText:o,cancelText:r,onConfirm:c,onClose:u,closed:!0,showCancel:!0,footer:(0,dO.jsx)(p,{})})}var oX=new Set;async function NB(t,e=!0){var N,R;let i=!1,o=t=="sch2pcb"||t=="file2pcb",r=t==="pcb2sch"||t=="file2sch",n=((R=(N=he.getActiveTabData())==null?void 0:N.data)==null?void 0:R.doNotShowAgain)||"";e&&(e=n!="cancel"&&(o||r));let a=C.currentProject.projectId,s=a,{activePageId:l,schematicId:c,schPageId:d,pcbPageId:u,boardName:p}=await V6t();if(!p||!d||!c||r&&!u||o&&!u){let v=await kUe(dt(),d||u);if(v.confirm)u||(u=v.pcbUuid),d||(d=v.sheetUuid,c=v.schematicId);else return D()}A(),e&&(o?e=l==d:r&&(e=l==u));let m=[];if(e){let v={source:t,projectId:a,schematicId:c,schPageId:d,pcbPageId:u,sourceVersion:cn.getHash("version")},k={broadcastName:"ImportChangesChecking",data:v},P=await hY.getInstance().requestBroadcast(k);Kb(P,O=>{let _=O.responser;O.data.canImportChanges&&m.push(_)})}if(m.length>0)return n=="confirm"?await E():ufe({onConfirm:async()=>{await E()},onCancel:async()=>{await NB(t,!1)}}),i=!0,D();let h=l==u,f=lo(u,a);h||(he.isHasTabById(f)&&await new Qm(f,{docType:se.PCB}).todo(),await Ud(u,{isActive:!0,unUpdatePartition:!0,checkOpenMultiTab:!1}));let g=lo(wr(u)[0],s),b=await he.getTabIFrame(g);if(!b)return Ut({type:"info",message:"The editor's environment is not prepared"}),D();o?await he.setTabActive(f):await yn({uuid:d,path:s});let y=(await C.messageBus.rpcCall("sch/getNetlistBySchematicId",{schematicId:c,ingoreSchDrc:!1})).message,w=tm("schDrcLog");if(o&&!h&&w.getLogCount().all&&(oX.add(f),It.setTabDisplayNone(co.id,"schDrcImport",!1),setTimeout(()=>{co.handleClick("schDrcImport")},50)),!y)return D();let x=(await C.windowBridge.rpcCall("pcb/getNetList",{uniqueIdKey:"Unique ID",autoUniqueId:!0},b.contentWindow)).message,S=await new Y2(y).decode(),T=await new Y2(x==null?void 0:x.netList).decode();if(!S||!T)return Ot("fatalError",me.i18n("Import failed! Incorrect file format!"),"Log",!1),D();let M=(await C.messageBus.rpcCall($e.SCHEMATIC.GET_DISPLAY_NAME_BY_UUID,[c,C.currentProject.projectId])).message,I=he.getTabTitle(f);return p=p||(await C.messageBus.rpcCall("getBoardNameByPcb",u)).message,USe({importNetList:o?S:T,baseNetList:o?T:S,source:t,updateConnectNet:!0,env:{schematicId:c,schPageId:d,pcbPageId:u,schematicName:M,pcbName:I,boardName:p,source:t}}),i=!0,D();function A(){C.messageBus.publish("bottomBarLogGroupStart",""),Ts()}function D(){return C.messageBus.publish("bottomBarLogGroupEnd",""),Zr(),i}async function E(){let v="";if(o)v=(await C.messageBus.rpcCall("sch/getNetlistBySchematicId",{schematicId:c})).message;else{let O=lo(wr(u)[0],s),_=await he.getTabIFrame(O),j=(await C.windowBridge.rpcCall("pcb/getNetList",{uniqueIdKey:"Unique ID",autoUniqueId:!0},_.contentWindow)).message,B=j==null?void 0:j.netList;B&&(v=JSON.stringify(B))}let k={source:t,netListSource:v},P={broadcastName:"ImportChangesApply",data:k,responser:m};await hY.getInstance().requestBroadcast(P)}}function UDr(t){if(!t)return null;let{source:e,projectId:i,schematicId:o,schPageId:r,pcbPageId:n,sourceVersion:a}=t,s=C.currentProject.projectId,l={canImportChanges:!1};if(i!=s)return l;let d=he.getActiveTab().replace(/\@.+$/,"");return e=="sch2pcb"?l.canImportChanges=d==n:e=="pcb2sch"&&(l.canImportChanges=d==r||o==he.getActiveSchematicId()),a!==cn.getHash("version")&&(l.canImportChanges=!1),l}async function VDr(t){if(!t)return!1;g();let{source:e,netListSource:i}=t,o=e==="sch2pcb"||e==="file2pcb",r=C.currentProject.projectId,n=r,{activePageId:a,schematicId:s,schPageId:l,pcbPageId:c,boardName:d}=await V6t(),u=lo(c,r),p=null,m=null;if(o){p=await new Y2(i).decode();let y=lo(wr(c)[0],n),w=await he.getTabIFrame(y),x=(await C.windowBridge.rpcCall("pcb/getNetList",{uniqueIdKey:"Unique ID",autoUniqueId:!0},w.contentWindow)).message;m=await new Y2(x==null?void 0:x.netList).decode()}else{let y=(await C.messageBus.rpcCall("sch/getNetlistBySchematicId",{schematicId:s})).message;p=await new Y2(y).decode(),m=await new Y2(i).decode()}let h=(await C.messageBus.rpcCall($e.SCHEMATIC.GET_DISPLAY_NAME_BY_UUID,[s,C.currentProject.projectId])).message,f=he.getTabTitle(u);return d=d||(await C.messageBus.rpcCall("getBoardNameByPcb",c)).message,USe({importNetList:o?p:m,baseNetList:o?m:p,source:e,updateConnectNet:!0,env:{schematicId:s,schPageId:l,pcbPageId:c,schematicName:h,pcbName:f,boardName:d,source:e}}),b();function g(){C.messageBus.publish("bottomBarLogGroupStart",""),Ts()}function b(){return C.messageBus.publish("bottomBarLogGroupEnd",""),Zr(),!0}}function nYi(){let t=hY.getInstance();t.subscribeBroadcast("ImportChangesChecking",UDr),t.subscribeBroadcast("ImportChangesApply",VDr)}var fY=L(z()),HDr=()=>{let[t,e]=(0,YC.useState)(null),[i,o]=(0,YC.useState)(1),[r,n]=(0,YC.useState)(50),[a,s]=(0,YC.useState)([]),l=(0,YC.useRef)(null),[c,d]=(0,YC.useState)(100),[u,p]=(0,YC.useState)(null),[m,h]=(0,YC.useState)(null),[f,g]=(0,YC.useState)([]),b=J();Ae(a8t.default);let{locals:y}=a8t.default,w=be.bind(y);(0,YC.useEffect)(()=>{let E=C.messageBus.subscribe("getDRCTableData",({errs:N,selectedId:R})=>{if(e(N),R&&(N!=null&&N.length)){let v=Math.max(1,Math.floor(N.findIndex(k=>k.globalIndex===R)/r)+1);Promise.resolve().then(()=>(o(v),Promise.resolve())).then(()=>{h(R)})}});return()=>E.cancel()},[r]),(0,YC.useEffect)(()=>{m&&a.forEach((E,N)=>{E.id==m&&g([N])})},[m,a]);let x=()=>{let E=document.getElementById("layout_toggler_bottom").getAttribute("style"),N=31,R=+E.slice(8,11);d(R-N)},S=(E,N,R)=>{let v=[];for(let k=N;k<R;k++){let P=E[k],{globalIndex:O,visible:_,obj1:j,obj2:B,errorObjType:V,errorType:G,layer:Q,explanation:H,ruleName:q,ruleTypeName:U}=P,F={value:V.split("to").map(ne=>b(ne.trim())).join(` ${b("to")} `),name:P.errorObjType},K={value:b(G),name:P.errorType},te={value:`<i class="icon-eda-eye ${_?"":"eye-hidden"}"></i>`},ae={...H.param};typeof H.param.obj1<"u"&&(ae.obj1=b(ae.obj1)),typeof H.param.obj2<"u"&&(ae.obj2=b(ae.obj2));let pe={value:b({value:H.str,options:ae})},Z={value:`${b(j.typeName)} ${j.suffix}`},ee={value:B?`${b(B.typeName)} ${B.suffix}`:""},ce={value:q==="Import Changes"?b(q):q};v.push({id:O,index:k+1,visible:te.value,errorType:K.value,errorObjType:F.value,ruleTypeName:U,ruleName:ce.value,obj1:Z.value,obj2:ee.value,layer:Q?Gm(Q):"-",explanation:pe.value,errorObjTypeName:F.name,errorTypeName:K.name})}return v};(0,YC.useEffect)(()=>{if(t==null)return;let E=(i-1)*r,N=Math.min(i*r,t.length),R=S(t,E,N);return s(R),x(),()=>{s([])}},[i,r,t,is.lang]),(0,YC.useEffect)(()=>(window.addEventListener("mousemove",x),()=>{window.removeEventListener("mousemove",x)}),[]),(0,YC.useEffect)(()=>{let E=[{key:"index",name:b("No."),width:.05,align:"left"},{key:"visible",name:b("Display"),width:.05,align:"left",showBodyTitle:!1,onCell(){return{style:{cursor:"pointer"}}}},{key:"errorType",name:b("Error Type"),width:.1,align:"left",sortable:!0},{key:"errorObjType",name:b("Error Object"),width:.1,align:"left",sortable:!0},{key:"ruleName",name:b("Rule Name"),width:.1,align:"left",sortable:!0,render:N=>{let R=N.row.errorTypeName,v=()=>{if(R==="Netlist Error"){NB("sch2pcb");return}if(N.colKey=="ruleName"&&R!=="Connection Error"){let k=N.row.errorTypeName=="Physical Error"?N.row.errorObjTypeName:N.row.ruleTypeName,P=N.row[N.colKey],O=Xi();C.windowBridge.publish("DesignRuler",{activeTab:"Rule",from:"drc",activeMenu:k,activeMenuName:P},O.contentWindow)}};return(0,fY.jsx)("span",{title:N.cellData,style:R!=="Connection Error"?{color:"#1890FF",cursor:"pointer"}:null,onClick:v,children:N.cellData})}},{key:"obj1",name:b("Object 1"),width:.1,align:"left",sortable:!0,onCell(N){return N&&N.errorTypeName==="Netlist Error"?{style:{}}:{style:{color:"#1890FF",cursor:"pointer"}}}},{key:"obj2",name:b("Object 2"),width:.1,align:"left",sortable:!0,onCell(N){return N&&N.errorTypeName==="Netlist Error"?{style:{}}:{style:{color:"#1890FF",cursor:"pointer"}}}},{key:"layer",name:b("Layer"),width:.1,align:"left",sortable:!0,onCell(){return{style:{color:"#1890FF",cursor:"pointer"}}}},{key:"explanation",name:b("Explanation"),width:.3,align:"left",sortable:!0}];p(E)},[is.lang]);let T=E=>{let N=E.row.id;return t.filter(R=>R.globalIndex===N)[0]},M=E=>E.clickObj.colKey,I=E=>{D(E,!1),E.clickObj.clickCount==2&&D(E,!0)},A=(E,N)=>{N.visible=!N.visible;let R=E.row.id,v=JSON.parse(JSON.stringify(E.tableData));v.forEach(k=>{k.id==R&&(k.visible=`<i class="icon-eda-eye ${N.visible?"":"eye-hidden"}"></i>`)}),s(v)},D=(E,N)=>{var j;let R=E?M(E):null,v=T(E),{obj1Type:k,obj1:P}=((j=v.explanation)==null?void 0:j.errData)||{},O=k==="Bridging Copper",_=Xi();switch(R){case"visible":if(!N){A(E,v);let V;v.errorType=="Connection Error"&&!v.objs[0].globalIndex?V=v.net:V=v.errorObjType,C.messageBus.publish("toggleErrorNodeVisible",{errorType:v.errorType,errorObjType:V,globalIndex:v.globalIndex,visibleMap:t.reduce((G,Q)=>(G[Q.globalIndex]=Q.visible,G),{})}),C.windowBridge.publish("toggleDRCError",{globalIndex:v.globalIndex,visible:v.visible},_.contentWindow)}break;case"obj1":case"obj2":if(v.errorType=="Netlist Error")return;let B=v.objs[R==="obj1"?0:1];!O&&B===void 0&&(B=v.objs[0]),v.errorType=="Connection Error"&&v.isFree&&!B?C.windowBridge.publish("highlightNet",{nets:[v.net],needAdaptAll:N},_.contentWindow):B&&(v.globalIndexIsNet?C.windowBridge.publish("highlightTrackInNets",{trackInNets:[B],needAdaptAll:N},_.contentWindow):C.windowBridge.publish("highlightItems",{globalIndexArr:[B],needAdaptAll:N},_.contentWindow));break;default:if(v.errorType=="Connection Error"&&v.isFree&&!v.objs[0])C.windowBridge.publish("highlightNet",{nets:[v.net],needAdaptAll:N},_.contentWindow);else if(v.globalIndexIsNet)C.windowBridge.publish("highlightTrackInNets",{trackInNets:v.objs,needAdaptAll:N},_.contentWindow);else{if(v.errorType=="Netlist Error")return;if(O){C.windowBridge.publish("highlightNet",{nets:[v.net],needAdaptAll:N,globalIndex:P},_.contentWindow);return}C.windowBridge.publish("highlightError",{globalIndex:v.globalIndex,objs:v.objs,pos:v.pos,needAdaptAll:N},_.contentWindow)}}};return(0,fY.jsxs)("div",{style:{width:"100%"},children:[(0,fY.jsx)("div",{ref:l,children:a.length>0&&(0,fY.jsx)(xi,{index:"index",columns:u,rows:a,height:c,stockade:!0,moveAble:!0,followHeightLight:!0,enableWindowResizeHandler:!1,border:!0,selectedRowNumbers:f,onClick:I})}),(0,fY.jsx)("div",{className:w("pagination"),children:a.length>0&&(0,fY.jsx)(cp,{simplify:!0,inputJump:!1,pageNumber:i||0,onPageNumberChange:(E,N)=>o(N),countTotal:t.length||0,cutSize:r||0,onPageSizeChange:E=>n(E)})})]})},n8t=null;function EMe(t){n8t||(n8t=t||document.querySelector("#drcTable"),aYi.default.createRoot(n8t).render((0,fY.jsx)(HDr,{})))}var gY=L(Se()),dYi=L(Hr()),uYi=L(lYi());var cYi={Copper:"Copper Fills"};var JQe=L(z());function YDr(){let t=be.bind(uYi.default.locals),e=J(),i=h(),[o,r]=(0,gY.useState)(100),[n,a]=(0,gY.useState)(""),[s,l]=(0,gY.useState)(""),[c,d]=(0,gY.useState)([]),[u,p]=(0,gY.useState)([]);(0,gY.useEffect)(()=>{let S=C.messageBus.subscribe("pro-ui/showComparisonResult",T=>{let{pcbTabId1:M,pcbTabId2:I,comparisonResults:A}=T||{};a(M),l(I),d(A);let D=f(A);p(D)});return m(),()=>{S.cancel()}},[]),(0,gY.useEffect)(()=>(window.addEventListener("mousemove",m),()=>{window.removeEventListener("mousemove",m)}),[]);function m(){let S=document.getElementById("layout_toggler_bottom").getAttribute("style"),T=31,M=+S.slice(8,11);r(M-T)}function h(){return[{key:"index",name:e("No."),width:.05,align:"left",sortable:!0},{key:"visible",name:e("Display"),width:.05,align:"left",showBodyTitle:!1,onCell(){return{style:{cursor:"pointer"}}}},{key:"layer",name:e("layer"),width:.1,align:"left",sortable:!0},{key:"obj1",name:e("Object 1"),width:.2,align:"left",sortable:!0,onCell(){return{style:{color:"#1890FF",cursor:"pointer"}}}},{key:"obj2",name:e("Object 2"),width:.2,align:"left",sortable:!0,onCell(){return{style:{color:"#1890FF",cursor:"pointer"}}}},{key:"diffType",name:e("Difference Type"),width:.4,align:"left",sortable:!0}]}function f(S){let T=[];if(!S)return T;let M=1;return S.forEach(E=>{let{type:N,object1:R,object2:v,diffTypes:k,hidden:P}=E,O=g(!P),_=(v==null?void 0:v.layerName)||(R==null?void 0:R.layerName);T.push({index:M++,visible:O,layer:I(_),obj1:A(R),obj2:A(v),diffType:D(N,k)})}),T;function I(E,N){return e(N?{value:E,context:N}:E)}function A(E){if(!E)return"-";let N=E.type,R=cYi[N]||N;return`${I(R)}(${E.showId})`}function D(E,N){let R="",v="pcb-comparison";switch(E){case"same":R="Same";break;case"less":R="More";break;case"more":R="Less";break;case"modify":R="Modify";break}let k=I(R,v);if(!N)return k;let P=[];return N.forEach(O=>{P.push(I(O))}),k+": "+P.join(", ")}}function g(S){return`<i class="icon-eda-eye ${S?"":"eye-hidden"}"></i>`}async function b(S){var O,_,j,B;let T=parseInt(S.row.index)-1,M=c[T];if(!M)return;let{object1:I,object2:A}=M,E=((O=S.clickObj)==null?void 0:O.clickCount)>1,N=!!(I&&n),R=!!(A&&s),v=(j=(_=S.clickObj)==null?void 0:_.e)==null?void 0:j.target,k=!1,P="";switch((B=S.clickObj)==null?void 0:B.colKey){case"visible":await y(M,S.row);return;case"obj1":N&&v&&v.tagName=="SPAN"&&(R=!1,k=!0,P=n);break;case"obj2":R&&v&&v.tagName=="SPAN"&&(N=!1,k=!0,P=s);break;default:break}P&&await he.setTabActive(P,!0),N&&w(n,I.id,E,k),R&&w(s,A.id,E,k)}async function y(S,T){let{object1:M,object2:I,hidden:A}=S,D="",E="";if(M&&I)D=I.layerName||M.layerName,E="modify";else if(M)D=M.layerName,E="less";else if(I)D=I.layerName,E="more";else return;let N=((M==null?void 0:M.id)||"")+"-"+((I==null?void 0:I.id)||""),R=!!A;S.hidden=!R,T.visible=g(R);let v=M&&n,k=I&&s,P=R?0:1;v&&x(n,M.id,P),k&&x(s,I.id,P),C.messageBus.publish("pro-ui/toggleComparisonResultVisible",{layerName:D,resultType:E,key:N,visible:R})}async function w(S,T,M,I){var D;let A=(D=await he.getTabIFrame(S))==null?void 0:D.contentWindow;A&&C.windowBridge.publish("pcb/positioningMark",{tabId:S,id:T,opt:{adaptAll:M,selectLink:I}},A)}async function x(S,T,M){var A;let I=(A=await he.getTabIFrame(S))==null?void 0:A.contentWindow;I&&C.windowBridge.publish("pcb/updateMaskState",{tabId:S,ids:T,state:M},I)}return(0,JQe.jsx)("div",{className:t("pcb-comparison-result-table"),children:u.length>0&&(0,JQe.jsx)(xi,{index:"index",height:o,columns:i,rows:u,stockade:!0,checkbox:!1,border:!0,onClick:b})})}var s8t=null;function l8t(t){s8t||(s8t=t||document.querySelector("#pcb-comparison-result-table"),dYi.default.createRoot(s8t).render((0,JQe.jsx)(YDr,{})))}var fYi=L(Vi()),WC=L(Se()),gYi=L(Hr());var d8t=L(hYi());var TM=L(z()),QDr=()=>{let t=(0,WC.useRef)(null),e=(0,WC.useRef)(null),[i,o]=(0,WC.useState)(""),[r,n]=(0,WC.useState)(!1),[a,s]=(0,WC.useState)([]),[l,c]=(0,WC.useState)([]),[d,u]=(0,WC.useState)(100),[p,m]=(0,WC.useState)(-1),[h,f]=(0,WC.useState)(!1);Ae(d8t.default);let{locals:g}=d8t.default,b=be.bind(g),y=J(),w=24,x=d-53,S=async()=>{await Pn("layout_toggler_bottom",!1,!0),t.current.focus()},T=k=>{n(!0),o(k),t.current.focus()},M=async k=>{let P=k;if(P&&(s([...a,P]),m(-1),I([...a,P])),Kme(k,!0).length>0){let _=await ei();C.windowBridge.publish("globalCommand",k,_.contentWindow)}o(""),si.closeMenu("tipForCommand")},I=k=>{let P=e.current.scrollTop,O=Math.floor(P/w),_=Math.min(k.length,Math.ceil((P+x)/w));c(k.slice(O,_))},A=()=>{I(a)},D=k=>{let P=Kme(k),O=/\s[0-9a-zA-Z]/,j={menuId:"tipForCommand",defaultConfig:[]};if(P.length>0&&!O.test(k)){P.forEach(V=>{j.defaultConfig.push({id:V+"_"+Math.random(),title:V})});let B=t.current.getBoundingClientRect();si.closeMenu(j.menuId),si.setMenuStatus(j.menuId,{menuFloor:2}),pl.open({menuConfig:j,position:{x:B.left,y:B.top-j.defaultConfig.length*28-14},menuClickCallback:V=>{let G=i.trim(),Q=V.id.split(/\s|</)[0],H=G.replace(/\S+/,Q);o(H),n(!0)}})}else si.closeMenu(j.menuId)},E=k=>{if(k.key==="Enter"){let O=i.trim();M(O)}if(si.getMenuShow("tipForCommand"))(k.key=="ArrowUp"||k.key==="ArrowDown")&&(k.preventDefault(),k.key=="ArrowUp"?(si.isMenuUseKeyboard(k.keyCode,"Up"),f(!0)):(si.isMenuUseKeyboard(k.keyCode,"Down"),f(!0)));else if(k.key=="ArrowUp"){if(p<a.length-1){let O=p+1;m(O),o(a[a.length-1-O])}}else if(k.key==="ArrowDown")if(p>0){let O=p-1;m(O),o(a[a.length-1-O])}else m(-1),o("")},N=(k,P)=>{let O=Kme(k,!0),_=P%2===0;return(0,TM.jsx)("div",{style:{backgroundColor:_?"var(--bg-color-1-table-row)":"var(--bg-color-table-row)",padding:"5px"},onMouseEnter:G=>{G.target.style.backgroundColor="var(--bg-color-selected-tr)",t.current.placeholder=y("Double-clicking on a historical command allows it to be filled in again")},onMouseLeave:G=>{G.target.style.backgroundColor=_?"var(--bg-color-1-table-row)":"var(--bg-color-table-row)",t.current.placeholder=y("Input Command")},"data-command":k,onDoubleClick:()=>T(k),children:O.length>0?k:`${me.i18n("Unknown Command")}: "${k}"`},P)},R=()=>{let k=document.getElementById("layout_toggler_bottom").getAttribute("style"),P=30,O=+k.slice(8,11);u(O-P)};(0,WC.useEffect)(()=>{I(a),e.current&&(e.current.scrollTop=e.current.scrollHeight)},[a]),(0,WC.useEffect)(()=>{r?n(!1):D(i)},[i]);let v=si.getMenuStore("tipForCommand");return Ce(v.selectId,()=>{if(h){f(!1);let k=si.getMenuSelectId("tipForCommand");if(k.length>0){let P=k.split(/\s|</)[0],_=i.trim().replace(/\S+/,P);return o(_),n(!0),!0}}}),(0,WC.useEffect)(()=>{C.messageBus.subscribe("/pro-ui/container/tab/onActive",k=>{let{tabId:P}=k;P=="pcbCommand"&&((0,fYi.default)("#layout_toggler_bottom").hasClass("close")&&S(),t.current.focus())})},[]),(0,WC.useEffect)(()=>{C.messageBus.subscribe("/pro-ui/container/resize",k=>{R(),uO().bottom.open&&t.current.focus()})},[]),(0,WC.useEffect)(()=>{R()},[]),(0,TM.jsx)(TM.Fragment,{children:(0,TM.jsxs)("div",{className:b("commandContainer"),style:{height:`${d}px`},children:[(0,TM.jsx)("div",{ref:e,onScroll:A,className:b("commandHistory"),style:{height:`${x}px`},children:(0,TM.jsx)("div",{style:{height:a.length*w,position:"relative"},children:l.map((k,P)=>(0,TM.jsx)("div",{style:{position:"absolute",top:(P+Math.floor(e.current.scrollTop/w))*w,height:w,width:"100%",boxSizing:"border-box"},className:"list-item",children:N(k,P)},P))})}),(0,TM.jsx)("div",{className:b("commandLineWrap"),children:(0,TM.jsxs)("div",{className:b("commandLine"),children:[(0,TM.jsx)("div",{className:b("weui-control-next-icon")}),(0,TM.jsx)("input",{className:b("input"),ref:t,value:i,onChange:k=>{o(k.target.value)},placeholder:y("Input Command"),onKeyDown:E,autoFocus:!0,onBlur:()=>si.closeMenu("tipForCommand")})]})})]})})},c8t=null;function u8t(t){c8t||(c8t=t||document.querySelector("#pcbCommand"),gYi.default.createRoot(c8t).render((0,TM.jsx)(QDr,{})))}var nWi=L(Hr());var tWi=L(Se());var Jne=class t{constructor(e){this.parent=e;this._childs=new Map;this._size=0}get value(){return this._value}get hasValue(){return this.hasOwnProperty("_value")}get size(){let e=this._size;return this._childs.forEach(i=>{e+=i.size}),e}get isRoot(){return!this.parent}get isLeaf(){return!this._childs.size}has(...e){let i=this;for(let o=0;o<e.length;o++){let r=e[o];if(i=i==null?void 0:i._getItem(r),!i)return!1;if(o===e.length-1)return i==null?void 0:i.hasValue}return!1}_getItem(...e){let i=this;for(let o=0;o<e.length;o++){let r=e[o];if(i=i._childs.get(r),!i)return;if(o===e.length-1)return i}}get(...e){let i=this._getItem(...e);return i==null?void 0:i.value}set(e,i){let o=this;return e.forEach((r,n)=>{let a=o._getItem(r);if(a||(a=new t(this),o._childs.set(r,a)),o=a,n===e.length-1){let s=o.hasValue;o._value=i,s||o._size++}}),this}clear(){this.delete(),this._childs.forEach(e=>e.clear()),this._childs.clear(),this._size=0}delete(...e){let i=this._getItem(...e);i!=null&&i.hasValue&&(delete this._value,i._size--)}_forEach(e,i,o){e.forEach((r,n)=>{let a=[...o,n];this._forEach(r._childs,i,a),r.hasValue&&i(r._value,a,this)})}forEach(e){this._forEach(this._childs,e,[])}async _forEachA(e,i,o){let r=e.entries();for(let[n,a]of r){let s=[...o,n];await this._forEachA(a._childs,i,s),a.hasValue&&await i(a._value,s,this)}}async forEachA(e){await this._forEachA(this._childs,e,[])}};var qQe=class{constructor(e){this.parent=e;this.status=0;this._propertyChangesCache={};this._deviceWithSymbolChangeCache=new Jne;this.debounceSendTopic=ue.debounce(this._sendTopic,10)}async _sendTopic(){if(this.status===1)return this.debounceSendTopic();this.status=1,await this._deviceWithSymbolChangeCache.forEachA(async(e,[i,o])=>{let r=Array.from(Object.entries(e)).reduce((n,a)=>(n[a[0]]=Array.from(a[1]),n),{});await C.messageBus.rpcCall("sch/replaceNotDeviceType",{target:r,deviceUuid:i,symbolUuid:o})}),C.messageBus.publish("sch/setProperty",{target:this.parent.parent.data.target,docType:this.parent.parent.data.docType,treeTarget:this.parent.parent.data.treeTarget,selectedTypes:this.parent.parent.data.selectedTypes,isFromTree:this.parent.parent.data.isFromTree,data:this._propertyChangesCache}),this._propertyChangesCache={},this._deviceWithSymbolChangeCache.clear()}propertyChange(e){var d,u,p,m;let{type:i,id:o,tabId:r,key:n,extra:a}=e,s=e.value,l=(d=this._propertyChangesCache[r])!=null?d:this._propertyChangesCache[r]={},c=(u=l[o])!=null?u:l[o]={};n==="fontStyle"&&(s={...(m=(p=c[n])==null?void 0:p.value)!=null?m:{},...s}),c[n]={keyName:"value",value:s,extra:a},this.debounceSendTopic()}deviceWithSymbolChange(e){var c,d;let{deviceUuid:i,symbolUuid:o,tabId:r,id:n}=e,a=[i,o],s=(c=this._deviceWithSymbolChangeCache.get(...a))!=null?c:this._deviceWithSymbolChangeCache.set(a,{[r]:new Set}).get(...a);((d=s[r])!=null?d:s[r]=new Set).add(n),this.debounceSendTopic()}};var zYi=L(Se());function bYi(t){var e,i;switch(t.contentType){case"INPUT":return t.content.value;case"TEXTAREA":return t.content.value;case"SELECT":return t.content.value;case"CHECKBOX":return t.content.checked;case"CUSTOM":return(i=(e=t.content).getValue)==null?void 0:i.call(e,t);case"TEXT":{let o=t.content;if(typeof o=="string"||o!=null&&o.value)return Rr(o);{let{useTranslate:r,content:n}=o;return r?Rr(n):(n==null?void 0:n.value)||n}}default:return t.content}}function yYi(t,e){var i,o,r,n,a,s,l,c,d,u;switch(t.contentType){case"SELECT":{t.content.list.some(p=>p.value===e)&&(t.content.value=e,(o=(i=t.content)==null?void 0:i.onChange)==null||o.call(i,e));return}case"INPUT":{t.content.value=e,(n=(r=t.content)==null?void 0:r.onChange)==null||n.call(r,e);return}case"TEXTAREA":{t.content.value=e,(s=(a=t.content)==null?void 0:a.onChange)==null||s.call(a,e);return}case"CHECKBOX":{t.content.checked=e,(c=(l=t.content)==null?void 0:l.onChange)==null||c.call(l,e);return}case"CUSTOM":{(u=(d=t.content).setValue)==null||u.call(d,t,e);return}case"TEXT":default:{console.log("not supported");return}}}function KDr(t){var e,i,o;switch(t.contentType){case"CHECKBOX":case"SELECT":return!1;case"INPUT":return!t.disabled;case"CUSTOM":return(o=(i=(e=t.content).canEdit)==null?void 0:i.call(e,t))!=null?o:!1;case"TEXT":default:return!1}}function ZDr(t){var e,i,o;switch(t.contentType){case"CHECKBOX":case"INPUT":case"TEXTAREA":case"SELECT":return!t.disabled;case"CUSTOM":return(o=(i=(e=t.content).canPaste)==null?void 0:i.call(e,t))!=null?o:!1;case"TEXT":default:return!1}}function JDr(t){var e,i,o;switch(t.contentType){case"CHECKBOX":case"INPUT":case"TEXTAREA":case"SELECT":case"TEXT":return t.content.disabled;case"CUSTOM":return(o=(i=(e=t.content).isDisabled)==null?void 0:i.call(e,t))!=null?o:!1;default:return!1}}function qDr(t,e){let{style:i={},onMouseDownCapture:o,onMouseEnter:r,onContextMenu:n}=e!=null?e:{},a=o,s=n,l=c=>{t.parent.recentlyMouseEnterCell=[t.rowId,t.columnId],r==null||r(c)};if(t.isSelected){let c=t.parent.getNearRowId(t.rowId,-1),d=t.parent.getNearRowId(t.rowId,1),u=t.parent.getNearColumnId(t.columnId,-1),p=t.parent.getNearColumnId(t.columnId,1);(c==null||!t.parent.selectManager.isSelected(c,t.columnId))&&(i.borderTop="solid 1px var(--border-color-selected-td)"),(u==null||!t.parent.selectManager.isSelected(t.rowId,u))&&(i.borderLeft="solid 1px var(--border-color-selected-td)"),(p==null||!t.parent.selectManager.isSelected(t.rowId,p))&&(i.borderRight="solid 1px var(--border-color-selected-td)"),(d==null||!t.parent.selectManager.isSelected(d,t.columnId))&&(i.borderBottom="solid 1px var(--border-color-selected-td)");let m=t.parent.selectManager.selectedRef;m[0]===t.rowId&&m[1]===t.columnId||(i.background="var(--bg-color-selected-td)")}return t.contentType==="UNDEFINED"&&(i.background="var(--bg-color-disabled-td)"),t.parent instanceof SM&&(a=c=>{SM.INNER_CELL_MOUSEDOWN_CAPTURE_CALLBACK(c,t),o==null||o(c)},s=c=>{SM.INNER_CELL_CONTEXTMENU_CALLBACK(c,t),n==null||n(c)}),{...e,style:i,onMouseDownCapture:a,onMouseEnter:l,onContextMenu:s,"data-row-id":t.rowId,"data-column-id":t.columnId}}function XDr(t){var e,i,o,r,n,a,s,l,c,d;switch(t.contentType){case"CHECKBOX":case"INPUT":case"TEXTAREA":case"TEXT":default:return(e=t.value)!=null?e:"";case"SELECT":{let u=t,p=u.value;if(((i=u.content.list)==null?void 0:i[0].text)!=null){let h=u.content.list.find(g=>g.value===p),f=(r=(o=h==null?void 0:h.text)!=null?o:p)!=null?r:"";return f.value!=null?f.value:f}else return p!=null?p:""}case"CUSTOM":{let u=t;return(d=(c=(a=(n=u.content).getText)==null?void 0:a.call(n,u))!=null?c:(l=(s=u.content).getValue)==null?void 0:l.call(s,u))!=null?d:""}}}function $Dr(t){return{type:t.contentType,subType:t.contentSubType,value:t.value,text:t.text}}var AMe=class{constructor(e,i,o,r){this.parent=e;this.originRowIndex=i;this.originColumnIndex=o;for(let n in r)this[n]=r[n];this._confirmValue=bYi(this)}get cellType(){return this._cellType}set cellType(e){this._cellType=e}get cellAttributes(){return qDr(this,this._cellAttributes)}set cellAttributes(e){this._cellAttributes=e}get contentType(){return this._contentType}set contentType(e){this._contentType=e}get contentSubType(){return this._content.type}get content(){return this._content}set content(e){this._content=e}get rowId(){return this.originRowIndex}get showRowIndex(){return this.parent.sortedShowIndexes?this.parent.sortedShowIndexes.indexOf(this.rowId):this.rowId}get columnId(){return this.originColumnIndex}get showColumnIndex(){return this.columnId}get isSelected(){return this.parent.selectManager.isSelected(this.rowId,this.columnId)}get value(){return bYi(this)}set value(e){yYi(this,e)}get confirmValue(){return this._confirmValue}set confirmValue(e){var i,o,r,n;yYi(this,e),this._contentType==="INPUT"?(o=(i=this.content).onConfirm)==null||o.call(i,this):this._contentType==="CUSTOM"&&((n=(r=this.content).onConfirm)==null||n.call(r,this)),this._confirmValue=e}get canEdit(){return KDr(this)}get canPaste(){return ZDr(this)}get canBatchEdit(){return this.contentType==="INPUT"}get disabled(){return JDr(this)}get position(){return{rowId:this.rowId,columnId:this.columnId}}get showPosition(){return{rowIndex:this.showRowIndex,columnIndex:this.showColumnIndex}}get text(){return XDr(this)}get clipboardData(){return $Dr(this)}canSetValueByEnterType(e,i){return this.contentType==="INPUT"&&e==="TEXT"?!0:this.contentType===e&&this.contentSubType===i}};var $Qe=class $Qe{constructor(e){this.parent=e;this._data=new Map}_getItem(e,i){var o,r;return(r=(o=this._data)==null?void 0:o.get(e))==null?void 0:r.get(i)}_addItem(e){var n;let{rowId:i,columnId:o}=e,r=(n=this._data.get(i))!=null?n:this._data.set(i,new Map).get(i);if(r.get(o))throw new Error("_CellInstancesManager: addItem failed, repeat columnId!");return r.set(o,e),this._data.size>$Qe.MAX_SIZE&&this._data.delete(this._data.keys().next().value),r.get(o)}addOrGetItem(e,i,o=this.parent.getCellProps(e,i)){var r;return(r=this._getItem(e,i))!=null?r:this._addItem(new AMe(this.parent,e,i,this.parent.getFixedCellConfig(o)))}clear(){this._data.clear()}};$Qe.MAX_SIZE=1e3;var XQe=$Qe;var eKe=class{constructor(e){this.parent=e;this._data=new Map;this._multiSelectedData=new Map}get lastEndMultiSelectedRef(){return this._lastEndMultiSelectedRef?[...this._lastEndMultiSelectedRef]:null}get selectedRef(){return this._selectedRef?[...this._selectedRef]:null}isSelected(e,i){var o,r;return!!((o=this._data.get(e))!=null&&o.get(i))||!!((r=this._multiSelectedData.get(e))!=null&&r.get(i))}_select(e,i,o=this._data){var n;((n=o.get(e))!=null?n:o.set(e,new Map).get(e)).set(i,!0)}singleSelect(e,i){this._select(e,i),this._selectedRef=[e,i]}multiSelect(e,i){if(this._selectedRef){this._multiSelectedData.clear();let{sortedShowIndexes:o}=this.parent;if(o){let[r,n]=[o.indexOf(e),o.indexOf(this._selectedRef[0])].sort((l,c)=>l-c),[a,s]=[i,this._selectedRef[1]].sort((l,c)=>l-c);for(let l=r;l<=n;l++)for(let c=a;c<=s;c++)this._select(o[l],c,this._multiSelectedData)}else{let[r,n]=[e,this._selectedRef[0]].sort((l,c)=>l-c),[a,s]=[i,this._selectedRef[1]].sort((l,c)=>l-c);for(let l=r;l<=n;l++)for(let c=a;c<=s;c++)this._select(l,c,this._multiSelectedData)}this._lastEndMultiSelectedRef=[e,i]}else this.singleSelect(e,i)}moveMultiSelectToSelect(){this._multiSelectedData.forEach((e,i)=>{e.forEach((o,r)=>{this._select(i,r)})}),this._lastEndMultiSelectedRef=void 0,this._multiSelectedData.clear()}_unSelect(e,i,o=this._data){let r=o.get(e);r==null||r.delete(i),r&&!r.size&&o.delete(e)}unSelect(e,i){var o,r,n,a;if(this._unSelect(e,i),this._unSelect(e,i,this._multiSelectedData),this._selectedRef&&this._selectedRef[0]===e&&this._selectedRef[1]===i){let[s,l]=(n=(r=(o=this._data.entries())==null?void 0:o.next())==null?void 0:r.value)!=null?n:[];if(s!=null){let c=(a=l.keys())==null?void 0:a.next().value;s!=null&&c!=null?this._selectedRef=[s,c]:this._selectedRef=void 0}}}_mergeSelected(...e){let i=new Map;for(let o of e)o.forEach((r,n)=>{var a;if(r.size){let s=(a=i.get(n))!=null?a:i.set(n,new Map).get(n);r.forEach((l,c)=>{s.set(c,l)})}});return i}getSelected(){return this._mergeSelected(this._data,this._multiSelectedData)}_hasSelected(...e){for(let i of e)for(let o of i)if(o[1].size)return!0;return!1}hasSelected(){return this._hasSelected(this._data,this._multiSelectedData)}clear(){this._data.clear(),this._multiSelectedData.clear(),this._selectedRef=void 0,this._lastEndMultiSelectedRef=void 0}getCornerSelected(e="lt"){let i=this.getSelected(),{sortedShowIndexes:o}=this.parent;if(o){let r=(["lt","rt"].includes(e)?o:o.reverse()).find(a=>i.has(a)),n=["lt","lb"].includes(e)?Math.min(...i.get(r).keys()):Math.max(...i.get(r).keys());return r!=null&&n!=null?[r,n]:null}else{let r=["lt","rt"].includes(e)?Math.min(...i.keys()):Math.max(...i.keys()),n=["lt","lb"].includes(e)?Math.min(...i.get(r).keys()):Math.max(...i.get(r).keys());return r!=null&&n!=null?[r,n]:null}}getSelectedArray(){let e=[],{sortedShowIndexes:i}=this.parent,o=this.getSelected(),r=[];if(i){let n=[];for(let a of i)o.has(a)&&n.push(a);r=n}else r=pfe(o.keys()).sort((n,a)=>n-a);for(let n of r){let a=o.get(n);e.push(pfe(a.keys()).sort((s,l)=>s-l).map(s=>[n,s]))}return e}selectAll(){this.parent.rowsForEach((e,i)=>{e.forEach((o,r)=>{this._select(i,r)})}),!this.selectedRef&&this.parent.rowsSize&&this.parent.colsSize&&(this._selectedRef=[0,0])}selectColumn(e){var i;for(let o=0;o<((i=this.parent.rowsSize)!=null?i:0);o++)this._select(o,e)}selectRow(e){var i;for(let o=0;o<((i=this.parent.colsSize)!=null?i:0);o++)this._select(e,o)}getAllHasSelectedRows(){let e=new Set;return this.getSelected().forEach((i,o)=>{i.size&&e.add(o)}),e}getAllHasSelectedColumns(){let e=new Set;return this.getSelected().forEach((i,o)=>{for(let r of i.keys())e.add(r)}),e}};var nX=class extends qe{constructor(i){super();this.parent=i;this.selectManager=new eKe(this);this.cellInstancesManager=new XQe(this)}get originRows(){var i;return(i=this._originRows)!=null?i:[]}set originRows(i){this._originRows=i,this._sortedShowIndexes=void 0}get totalHeight(){return this.rowsSize*this.rowHeight}get rowsSize(){return this.originRows.length}get colsSize(){var i,o;return(o=(i=this.originRows)==null?void 0:i[0])==null?void 0:o.reduce((r,n)=>{var a,s;return r+=typeof n=="string"?1:(s=(a=n==null?void 0:n.cellAttributes)==null?void 0:a.colSpan)!=null?s:1,r},0)}get sortedShowIndexes(){return this._sortedShowIndexes?this._sortedShowIndexes:this._sortedShowIndexes=this.getSortedShowIndexes()}get showMenu(){return!!document.querySelector('[react-contextmenu-name="excel-table-body-menu"]')}getContainerDom(i){let o=i;for(;o!=null;){if(o.getAttribute("table-section-container")===this.type)return o;o=o.parentElement}return null}getSortedShowIndexes(){}getApplyColsWidth(i=0){let o=[],r=0,n=new Array(this.colsSize).fill(0).map((a,s)=>{let l=Number(this.parent.colsWidth[s]);return!l||l<0?(o.push(s),0):(r+=l,l)});if(o.length){let a=Math.max(i/o.length,this.parent.minCellWidth);for(let s of o)n[s]=a,r+=a}if(this.parent.isFitContainerViewWidth&&(r>i||Math.abs(r-i)>1)){let a=i/r;return n.map(s=>Math.max(a*s,this.parent.minCellWidth))}else return n}getTableWidth(i=[]){return i.reduce((o,r)=>(o+=r,o),0)}loadData(i,o){this.clear();for(let r in o)this[r]=o[r];this.originRows=i}clear(){this.selectManager.clear(),this.cellInstancesManager.clear(),this.recentlyMouseEnterCell=void 0}rowsForEach(i){this.sortedShowIndexes?this.sortedShowIndexes.forEach((o,r)=>{i(this.originRows[o],o,this.originRows,r)}):this.originRows.forEach((...o)=>{i(...o,o[1])})}rowsMap(i){return this.sortedShowIndexes?this.sortedShowIndexes.map((o,r)=>i(this.originRows[o],o,this.originRows,r)):this.originRows.map((...o)=>i(...o,o[1]))}getNearRowId(i,o,r=!1){if(this.sortedShowIndexes){let n=this.sortedShowIndexes.indexOf(i);if(n){let a=n+o;return a>this.sortedShowIndexes.length-1?r?this.sortedShowIndexes[a%this.sortedShowIndexes.length]:null:a<0?r?this.sortedShowIndexes[this.sortedShowIndexes.length+a%this.sortedShowIndexes.length]:null:this.sortedShowIndexes[a]}else return console.error("getNextRowId: error rowId"),null}else{let n=i+o;return n>this.originRows.length-1?r?n%this.originRows.length:null:n<0?r?this.originRows.length+n%this.originRows.length:null:n}}getNearColumnId(i,o,r=!1){let n=i+o,a=this.colsSize;return n>a-1?r?n%a:null:n<0?r?a+n%a:null:n}getCellProps(i,o){var r,n;return(n=(r=this.originRows)==null?void 0:r[i])==null?void 0:n[o]}get refreshConfig(){return{...this._refreshConfig||{}}}refreshView(i){this._refreshConfig=i,this.notify()}setValueForAllSelectedCell(i,o,r){let n=!1;return this.selectManager.getSelected().forEach((a,s)=>{a.forEach((l,c)=>{let d=this.cellInstancesManager.addOrGetItem(s,c);this.setValueForCell(i,o,r,d)&&(n=!0)})}),n}setValueForCell(i,o,r,n,a=s=>s.isSelected){return!a(n)||!n.canSetValueByEnterType(i,o)||!n.canPaste?!1:(n.confirmValue=r,!0)}};function p8t(t,e,i,o){let r=[{title:me.i18n("Copy")+"(C)",cmd:"COPY",menuHotKey:"C",tips:"Ctrl+C"},{title:me.i18n("Paste")+"(P)",cmd:"PASTE",menuHotKey:"P",tips:"Ctrl+V"},{title:me.i18n("Batch Edit"),cmd:"BATCH EDIT",disabled:(()=>{let n=t.selectManager.selectedRef;if(n){let a=t.cellInstancesManager.addOrGetItem(...n);return!(a!=null&&a.canBatchEdit)||!(a!=null&&a.canEdit)}return!0})()},{title:me.i18n("Select All")+"(A)",cmd:"SELECT ALL",menuHotKey:"A",tips:"Ctrl+A"},{title:me.i18n("Select Column")+"(U)",cmd:"SELECT COLUMN",menuHotKey:"U"},{title:me.i18n("Select Row"),cmd:"SELECT ROW"}];Au.open({position:{x:e,y:i},data:r,onClick(n){o==null||o(n.cmd)},onEnterConfirm(n){o==null||o(n[0])},onKeydown(n,a,s){o==null||o(s.hitCmd)},contextmenuName:"excel-table-body-menu"})}var Xne=class t extends qe{constructor(){super(...arguments);this.namePrefix="";this.nameSuffix="";this.startNumber=1;this.incrementalStep=1;this.order="horizontal_vertical"}static getInstance(){var i;return(i=t._instance)!=null?i:t._instance=new t}toJSON(){return{namePrefix:this.namePrefix,nameSuffix:this.nameSuffix,startNumber:this.startNumber,incrementalStep:this.incrementalStep,order:this.order}}refreshView(){this.notify()}};var m8t=L(xYi());var tEr={vertical_horizontal:(t,e)=>{let{namePrefix:i,nameSuffix:o,startNumber:r,incrementalStep:n}=e,a=t.selectManager.getSelectedArray(),s=0,l=0,c=!0;for(;c;){c=!1;for(let d=0;d<a.length;d++){let u=a[d][l];if(u!=null){let p=t.cellInstancesManager.addOrGetItem(...u),m=`${i}${r+s*n}${o}`;p.canBatchEdit&&(p.confirmValue=m,s++),c=!0}}l++}},vertical_horizontal_reverse:(t,e)=>{let{namePrefix:i,nameSuffix:o,startNumber:r,incrementalStep:n}=e,a=t.selectManager.getSelectedArray(),s=0,l=0,c=!0;for(;c;){c=!1;for(let d=a.length-1;d>-1;d--){let u=a[d][l];if(u!=null){let p=t.cellInstancesManager.addOrGetItem(...u),m=`${i}${r+s*n}${o}`;p.canBatchEdit&&(p.confirmValue=m,s++),c=!0}}l++}},horizontal_vertical_reverse:(t,e)=>{let{namePrefix:i,nameSuffix:o,startNumber:r,incrementalStep:n}=e,a=t.selectManager.getSelectedArray(),s=0;for(let l=a.length-1;l>-1;l--)for(let c=0;c<a[l].length;c++){let d=a[l][c],u=t.cellInstancesManager.addOrGetItem(...d),p=`${i}${r+s*n}${o}`;u.canBatchEdit&&(u.confirmValue=p,u.content,s++)}},horizontal_vertical:(t,e)=>{let{namePrefix:i,nameSuffix:o,startNumber:r,incrementalStep:n}=e,a=t.selectManager.getSelectedArray(),s=0;for(let l=0;l<a.length;l++)for(let c=0;c<a[l].length;c++){let d=a[l][c],u=t.cellInstancesManager.addOrGetItem(...d),p=`${i}${r+s*n}${o}`;u.canBatchEdit&&(u.confirmValue=p,s++)}}};function TYi(t){return tEr[Xne.getInstance().order](t,Xne.getInstance().toJSON())}var ng=L(z());function iEr(){let t=Xne.getInstance();Ce(t);let e=J();Ae(m8t.default);let{locals:i}=m8t.default,o=be.bind(i);return(0,ng.jsxs)("div",{className:o("container"),children:[(0,ng.jsxs)("div",{className:o("line"),children:[(0,ng.jsxs)("label",{htmlFor:"",children:[e("Name Prefix"),":"]}),(0,ng.jsx)(Kt,{defaultValue:t.namePrefix,onBlur:r=>{t.namePrefix=r.target.value,t.refreshView()}})]}),(0,ng.jsxs)("div",{className:o("line"),style:{gridTemplateColumns:"2fr 3fr 2fr 3fr"},children:[(0,ng.jsxs)("label",{htmlFor:"",children:[e("Start Digit"),":"]}),(0,ng.jsx)(Kt,{type:"number",defaultValue:String(t.startNumber),onBlur:r=>{let n=Number(r.target.value);Number.isNaN(n)||(t.startNumber=Number(n)),t.refreshView()}}),(0,ng.jsxs)("label",{htmlFor:"",style:{textAlign:"center"},children:[e("Incremental Step"),":"]}),(0,ng.jsx)(Kt,{type:"number",defaultValue:String(t.incrementalStep),onBlur:r=>{let n=Number(r.target.value);Number.isNaN(n)||(t.incrementalStep=n),t.refreshView()}})]}),(0,ng.jsxs)("div",{className:o("line"),children:[(0,ng.jsxs)("label",{htmlFor:"",children:[e("Name Suffix"),":"]}),(0,ng.jsx)(Kt,{defaultValue:t.nameSuffix,onBlur:r=>{t.nameSuffix=r.target.value,t.refreshView()}})]}),(0,ng.jsxs)("div",{className:o("line"),style:{gridTemplateColumns:"1fr 3fr 1fr"},children:[(0,ng.jsx)("label",{htmlFor:"",children:e({value:"Order:",context:"designator"})}),(0,ng.jsxs)("div",{style:{display:"grid",rowGap:"8px",gridTemplateColumns:"1fr 1fr"},children:[(0,ng.jsx)(nn,{checked:t.order==="horizontal_vertical",value:"horizontal_vertical",onChange:r=>{r&&(t.order="horizontal_vertical",t.refreshView())},children:e({value:"Across Then Down",context:"designator"})}),(0,ng.jsx)(nn,{checked:t.order==="horizontal_vertical_reverse",value:"horizontal_vertical_reverse",onChange:r=>{r&&(t.order="horizontal_vertical_reverse",t.refreshView())},children:e({value:"Across Then Up",context:"designator"})}),(0,ng.jsx)(nn,{checked:t.order==="vertical_horizontal",value:"vertical_horizontal",onChange:r=>{r&&(t.order="vertical_horizontal",t.refreshView())},children:e({value:"Down Then Across",context:"designator"})}),(0,ng.jsx)(nn,{checked:t.order==="vertical_horizontal_reverse",value:"vertical_horizontal_reverse",onChange:r=>{r&&(t.order="vertical_horizontal_reverse",t.refreshView())},children:e({value:"Up Then Across",context:"designator"})})]}),(0,ng.jsx)("div",{className:o("preview"),"data-value":t.order})]})]})}function h8t(t){le.open({id:"excelTableBatchEdit",title:"Batch Edit",width:600,children:(0,ng.jsx)(iEr,{}),footer:!0,onOk:()=>{TYi(t),le.close("excelTableBatchEdit")},onCancel:()=>{le.close("excelTableBatchEdit")}})}function SYi(t){t.selectManager.hasSelected()&&(t.selectManager.clear(),t.setEdited(!1),t.refreshView())}async function MYi(t,e){await e.hotkeyManager.do(t)}function oEr(t,e,i,o){let r=o.getRowIndex(t[0]),n=o.rowHeight,a=o.getApplyColsWidth(),s=r*n,l=a.slice(0,t[1]).reduce((w,x)=>(w+=x,w),0),c=a[t[1]],d=n,u=new Yw(l,c+l,s,s+d),p=i.parentElement.clientWidth,m=i.clientHeight,h=i.scrollTop,f=i.parentElement.scrollLeft,g=new Yw(f,p+f,h,h+m),b=0,y=0;switch(e){case"intoView":{u.minX<g.minX?b=g.minX-u.minX:u.maxX>g.maxX&&(b=g.maxX-u.maxX),u.minY<g.minY?y=g.minY-u.minY:u.maxY>g.maxY&&(y=g.maxY-u.maxY);break}case"bottom":{y=g.maxY-u.maxY;break}case"top":{y=g.minY-u.minY;break}}i.parentElement.scrollLeft-=b,i.scrollTop-=y}function IYi(t,e,i){let{ref:o=i.selectManager.selectedRef,to:r="intoView"}=t,{selectManager:n}=i,a;switch(o){case"leftTopSelected":{a=n.getCornerSelected("lt");break}case"rightTopSelected":{a=n.getCornerSelected("rt");break}case"leftBottomSelected":{a=n.getCornerSelected("lb");break}case"rightBottomSelected":{a=n.getCornerSelected("rb");break}case"selectedRef":{a=n.selectedRef;break}default:{Array.isArray(o)&&o.length===2&&(a=o);break}}a&&oEr(a,r,e,i)}function LYi(t){t.refreshView({scrollViewConfig:{ref:"leftTopSelected",to:"top"}})}function vYi(t){t.refreshView({scrollViewConfig:{ref:"leftBottomSelected",to:"bottom"}})}async function tKe(t){if(!t.selectManager.hasSelected()||!await SM.copyPasteManager.copy(t)){new Fi({type:"warn",msg:"Not support copy this type content"});return}t.refreshView(),new Fi({type:"success",msg:"Copy Success!"})}async function iKe(t){let e=await SM.copyPasteManager.getDataInClipbord();if(!(e!=null&&e.length)){new Fi({type:"error",msg:"No need to paste data!"});return}await SM.copyPasteManager.paste(t,e)&&new Fi({type:"success",msg:"Paste Success!"}),t.refreshView()}function NMe(t,e){let{selectManager:i,cellInstancesManager:o}=t;if(i.selectedRef){!t.setEdited(!0,e)&&new Fi({type:"warn",msg:"Cannot be edited"});let a=t.editedPosition;t.refreshView(a?{position:{rowId:a[0],columnId:a[1]}}:void 0)}}function rEr(t){t.setEdited(!1),$ne(t,1,0),t.refreshView({scrollViewConfig:{ref:"selectedRef"}})}function DYi(t){t.editedPosition?rEr(t):NMe(t)}function f8t(t,e=!1){let{selectManager:i,editedPosition:o}=t,{selectedRef:r}=i;if(!r)return;let[n,a]=r,s=i.getSelected();if(s.size>1||s.values().next().value.size>1){let l=[],{sortedShowIndexes:c}=t;if(c){let f=[];for(let g of c)s.has(g)&&f.push(g);l=f}else l=pfe(s.keys()).sort((f,g)=>f-g);let d=s.get(n),u=pfe(d.keys()).sort((f,g)=>f-g),p=u.indexOf(a)+(e?-1:1),m=n,h=u[p];p>u.length-1?(m=l[(l.indexOf(m)+1)%l.length],h=Math.min(...s.get(m).keys())):p<0&&(m=l.at(l.indexOf(m)-1),h=Math.max(...s.get(m).keys())),i.singleSelect(m,h)}else $ne(t,0,e?-1:1);o&&t.setEdited(),t.refreshView({scrollViewConfig:{ref:i.selectedRef}})}function $ne(t,e,i){let{selectManager:o}=t,r=o.selectedRef;if(r){let n=t.getNearRowId(r[0],e),a=t.getNearColumnId(r[1],i);n!=null&&a!=null&&(o.clear(),o.singleSelect(n,a),t.refreshView({scrollViewConfig:{ref:"selectedRef"}}))}}function kMe(t,e,i){var n;let{selectManager:o}=t,r=(n=o.lastEndMultiSelectedRef)!=null?n:o.selectedRef;if(r){let a=t.getNearRowId(r[0],e),s=t.getNearColumnId(r[1],i);a!=null&&s!=null&&(o.multiSelect(a,s),t.refreshView({scrollViewConfig:{ref:[a,s]}}))}}function nEr(t){t.setEdited()&&h8t(t)}function g8t(t){t.selectManager.selectAll(),t.refreshView({scrollViewConfig:{ref:t.selectManager.selectedRef}})}function aEr(t){let e=t.selectManager.selectedRef;if(!e)return;let i=t.selectManager.getAllHasSelectedColumns();for(let o of i)t.selectManager.selectColumn(o);t.selectManager.singleSelect(...e),t.refreshView()}function sEr(t){let e=t.selectManager.selectedRef;if(!e)return;let i=t.selectManager.getAllHasSelectedRows();for(let o of i)t.selectManager.selectRow(o);t.selectManager.singleSelect(...e),t.refreshView()}function EYi(t,e){t.preventDefault();let i={COPY:async r=>{await tKe(r)},PASTE:async r=>{await iKe(r)},"BATCH EDIT":r=>{nEr(r)},"SELECT ALL":r=>{g8t(r)},"SELECT COLUMN":r=>{aEr(r)},"SELECT ROW":r=>{sEr(r)}},o=t.currentTarget;p8t(e,t.clientX,t.clientY,async r=>{i[r]&&(o.focus(),e.setEdited(!1),await i[r](e),os(0).then(()=>Au.closeActive()))})}var oKe=class{constructor(e){this.parent=e}async do(e){var s,l,c,d;let{key:i,ctrlKey:o,shiftKey:r,altKey:n,metaKey:a}=e;this.parent.editedPosition==null&&!["INPUT"].includes(document.activeElement.tagName)?(e.preventDefault(),this[i]!=null?(e.stopPropagation(),(s=this[i])==null||s.call(this,o,r,n,a)):i.length===1&&/[0-9a-z]/gi.test(i)&&!o&&!r&&!n&&!a&&(e.stopPropagation(),NMe(this.parent,i))):["Enter","Tab","PageUp","PageDown"].includes(e.key)&&(e.preventDefault(),(c=(l=document.activeElement)==null?void 0:l.blur)==null||c.call(l),this.parent.getContainerDom(e.target).focus(),await((d=this[i])==null?void 0:d.call(this,o,r,n,a)))}ArrowDown(e,i,o,r){i?kMe(this.parent,1,0):e||$ne(this.parent,1,0)}ArrowUp(e,i,o,r){i?kMe(this.parent,-1,0):e||$ne(this.parent,-1,0)}ArrowLeft(e,i,o,r){i?kMe(this.parent,0,-1):e||$ne(this.parent,0,-1)}ArrowRight(e,i,o,r){i?kMe(this.parent,0,1):e||$ne(this.parent,0,1)}F2(e,i,o,r){i||e||NMe(this.parent)}" "(e,i,o,r){i||e||NMe(this.parent)}Enter(e,i,o,r){i||e||DYi(this.parent)}Tab(e,i,o,r){i?f8t(this.parent,!0):e||f8t(this.parent)}A(e,i,o,r){this.a(e,i,o,r)}a(e,i,o,r){i||e&&g8t(this.parent)}async C(e,i,o,r){await this.c(e,i,o,r)}async c(e,i,o,r){i||e&&await tKe(this.parent)}async V(e,i,o,r){await this.v(e,i,o,r)}async v(e,i,o,r){i||e&&await iKe(this.parent)}PageUp(e,i,o,r){i||e||LYi(this.parent)}PageDown(e,i,o,r){i||e||vYi(this.parent)}async Insert(e,i,o,r){i?await iKe(this.parent):e&&await tKe(this.parent)}};var c7=class c7{_htmlValue2DataValue(e){try{return JSON.parse(e)}catch{return e}}_dataValue2htmlValue(e){return ue.htmlEncode(typeof e=="object"?JSON.stringify(e):e)}async _getByHtml(e){var r;let i=await e.getType(c7.HTML_TYPE),o=await Boi(i);if(((r=o==null?void 0:o.dataset)==null?void 0:r.source)===aX.HTML_FLAG){let n=[];return o.querySelectorAll("tr").forEach(a=>{let s=[];n.push(s),a.querySelectorAll("td").forEach(l=>{let{subType:c,type:d,value:u}=l.dataset;d?s.push({type:d,subType:c,value:this._htmlValue2DataValue(u)}):s.push(void 0)})}),n}return[]}async _getByText(e){let r=(await(await e.getType(c7.TEXT_TYPE)).text()).split(`\r
`),n=[];for(let a of r){let s=a.split("	"),l=[];n.push(l);for(let c of s)l.push({type:"INPUT",subType:void 0,value:c})}return n}async get(){var e;try{let i=(e=await navigator.clipboard.read())==null?void 0:e[0],o=i.types;if(!o.length)return[];let r=[];return o.includes(c7.HTML_TYPE)&&(r=await this._getByHtml(i)),r.length||o.includes(c7.TEXT_TYPE)&&(r=await this._getByText(i)),r}catch(i){throw new Fi({type:"warn",msg:"Not support paste, check your clipboard permission"}),Error(i)}}async _setByNavigatorClipboardWrite(e,i){let o=e.join(""),r=new Blob([o],{type:c7.HTML_TYPE}),n=i.join(""),a=new Blob([n],{type:c7.TEXT_TYPE}),s=new ClipboardItem({[c7.HTML_TYPE]:r,[c7.TEXT_TYPE]:a});await navigator.clipboard.write([s])}_setByCopyCommand(e){let i=e.join(""),o=document.createElement("div");o.contentEditable="true",o.innerHTML=i,document.body.appendChild(o);let r=document.createRange();r.selectNodeContents(o);let n=window.getSelection();n.removeAllRanges(),n.addRange(r);try{document.execCommand("copy"),console.log("HTML \u590D\u5236\u6210\u529F")}catch(a){console.error("HTML \u590D\u5236\u5931\u8D25:",a)}finally{document.body.removeChild(o),n.removeAllRanges()}}async set(e){if(!e.length)return!1;let i=!0;try{let o=[`<table data-source="${aX.HTML_FLAG}">`],r=[];for(let n of e){o.push("<tr>");for(let a of n){if(!a)o.push("<td></td>");else{let s=`data-type="${a.type}" data-value='${this._dataValue2htmlValue(a.value)}'`;a.subType!=null&&(s+=` data-sub-type=${a.subType}`);let l=a.text;o.push(`<td ${s}>${ue.htmlEncode(l)}</td>`),r.push(l)}r.push("	")}o.push("</tr>"),r.push(`\r
`)}o.push("</table>"),navigator.clipboard.write?await this._setByNavigatorClipboardWrite(o,r):await this._setByCopyCommand(o)}catch{new Fi({type:"warn",msg:"Not support copy, check your clipboard permission"}),i=!1}finally{return i}}};c7.TEXT_TYPE="text/plain",c7.HTML_TYPE="text/html";var rKe=c7;var aX=class{constructor(){this._clipboardChannel=new rKe}_clearBeforeEmptyColumns(e){var o,r;let i=-1;e=e==null?void 0:e.filter(n=>!!n);for(let n=0;n<((r=(o=e==null?void 0:e[0])==null?void 0:o.length)!=null?r:0);n++){let a=!0;for(let s=0;s<e.length;s++)if(e[s][n]!=null){a=!1;break}if(a)i=n;else break}return e.map(n=>n.slice(i+1))}async copy(e){var n;let i=e.selectManager.getSelected(),o=[],r=[];for(let[a,s]of i)for(let[l]of s)r.push(e.cellInstancesManager.addOrGetItem(a,l,e.getCellProps(a,l)));for(let a of r){let{showRowIndex:s,showColumnIndex:l}=a,c=(n=o[s])!=null?n:o[s]=[];c[l]=a.clipboardData}return await this._clipboardChannel.set(this._clearBeforeEmptyColumns(o))}async getDataInClipbord(){return await this._clipboardChannel.get()}async paste(e,i){if(i=i!=null?i:await this.getDataInClipbord(),!i)return!1;let{selectManager:o,cellInstancesManager:r}=e,n=o.getCornerSelected();if(!n)return!1;let a=r.addOrGetItem(...n,e.getCellProps(...n)),{showRowIndex:s,showColumnIndex:l}=a,c=!1;if(i.flat().length===1){let{type:d,value:u,subType:p}=i[0][0];c=e.setValueForAllSelectedCell(d,p,u)}else for(let d=0;d<i.length;d++){let u=i[d];for(let p=0;p<u.length;p++){let m=u[p];if(m!=null){let h=e.getRowId(s+d),f=l+p,g=r.addOrGetItem(h,f,e.getCellProps(h,f));e.setValueForCell(m.type,m.subType,m.value,g,()=>!0)&&(c=!0)}}}return c}};aX.HTML_FLAG="ExcelTable";var d7=class d7 extends nX{constructor(){super(...arguments);this.hotkeyManager=new oKe(this)}static INNER_CELL_MOUSEDOWN_CAPTURE_CALLBACK(i,o){if(i.button!==0){i.preventDefault();return}let r=o.parent,n=r.selectManager,a=i.currentTarget.parentElement.parentElement,s=!1,l=o.isSelected;i.shiftKey?(document.getSelection().removeAllRanges(),n.multiSelect(o.rowId,o.columnId)):i.ctrlKey?(n.moveMultiSelectToSelect(),o.isSelected?(n.unSelect(o.rowId,o.columnId),i.preventDefault()):n.singleSelect(o.rowId,o.columnId)):(o.isSelected?n.moveMultiSelectToSelect():!o.isSelected&&n.clear(),n.singleSelect(o.rowId,o.columnId)),r.refreshView();let[c,d]=[o.rowId,o.columnId];function u(m){var g;if(!m.buttons)return p(m);s=!0;let[h,f]=(g=o.parent.recentlyMouseEnterCell)!=null?g:[];(c!==h||d!==f)&&(n.multiSelect(h,f),r.setEdited(!1),r.refreshView(),[c,d]=[h,f])}function p(m){a.removeEventListener("mousemove",u),a.removeEventListener("mouseup",p),!s&&l&&o.isSelected&&o.parent.setEdited()}a.addEventListener("mousemove",u),a.addEventListener("mouseup",p)}static INNER_CELL_CONTEXTMENU_CALLBACK(i,o){o.isSelected||o.parent.selectManager.clear(),o.parent.selectManager.singleSelect(o.rowId,o.columnId),o.parent.refreshView()}get type(){return d7.TYPE}get rowHeight(){var i;return(i=this._rowHeight)!=null?i:d7.DEFAULT_ROW_HEIGHT}set rowHeight(i){this._rowHeight=i}set cellConfig(i){this._cellConfig=i}get cellConfig(){var i;return{...d7.DEFAULT_CELL_CONFIG,...(i=this._cellConfig)!=null?i:{}}}set selected(i){i.forEach((o,r)=>{o.forEach((n,a)=>{this.selectManager.singleSelect(r,a)})})}set refSelected(i){i&&this.selectManager.singleSelect(...i)}set edited(i){this.setEdited(i)}get editedPosition(){var i,o;return this._editedPosition?this._editedPosition[0]!==((i=this.selectManager.selectedRef)==null?void 0:i[0])||this._editedPosition[1]!==((o=this.selectManager.selectedRef)==null?void 0:o[1])?this._editedPosition=null:this._editedPosition:null}setEdited(i=!0,o){var r,n;if(!i)this._editedPosition=null;else{let a=this.selectManager.selectedRef;if(a){let s=this.cellInstancesManager.addOrGetItem(...a,this.getCellProps(...a));if(s.canEdit)vn(o)||(s.value=o);else return this._editedPosition=null,!1;s.contentType==="CUSTOM"&&((n=(r=s.content)==null?void 0:r.onEdit)==null||n.call(r,s,o))}this._editedPosition=a}return!0}getFixedCellConfig(i){return typeof i=="string"?{...this.cellConfig,content:{useTranslate:!1,content:i}}:vn(i)?{...this.cellConfig,contentType:"UNDEFINED"}:{...this.cellConfig,...i}}getTopAndShowRows(i,o){if(i==null||o==null)return null;let r=o/this.rowHeight,n=Math.max(0,Math.floor(r)-d7.BUFFER_ROWS_SIZE/2),a=Math.ceil(i/this.rowHeight)+d7.BUFFER_ROWS_SIZE,s=(r-n)*this.rowHeight;if(this.sortedShowIndexes){let l=this.sortedShowIndexes.slice(n,n+a);return{rows:l.map(c=>this.originRows[c]),top:s,indexes:l}}else return{rows:this.originRows.slice(n,n+a),top:s,indexes:new Array(a).fill(n).map((l,c)=>l+c)}}getRowIndex(i){return this.sortedShowIndexes?this.sortedShowIndexes.indexOf(i):i}getRowId(i){return this.sortedShowIndexes?this.sortedShowIndexes[i]:i}clear(){super.clear(),this.setEdited(!1)}};d7.DEFAULT_ROW_HEIGHT=24,d7.DEFAULT_CELL_CONFIG={cellType:"td",cellAttributes:{colSpan:1,rowSpan:1},contentType:"TEXT",content:""},d7.TYPE="body",d7.copyPasteManager=new aX,d7.BUFFER_ROWS_SIZE=4;var SM=d7;var sX=class sX extends nX{get type(){return sX.TYPE}get rowHeight(){var e;return(e=this._rowHeight)!=null?e:sX.DEFAULT_ROW_HEIGHT}set rowHeight(e){this._rowHeight=e}set cellConfig(e){this._cellConfig=e}get cellConfig(){var e;return{...sX.DEFAULT_CELL_CONFIG,...(e=this._cellConfig)!=null?e:{}}}getFixedCellConfig(e){return typeof e=="string"?{...this.cellConfig,content:e}:{...this.cellConfig,...e}}};sX.DEFAULT_ROW_HEIGHT=25,sX.DEFAULT_CELL_CONFIG={cellType:"th",cellAttributes:{colSpan:1,rowSpan:1},contentType:"TEXT",content:""},sX.TYPE="foot";var aKe=sX;var lX=class lX extends nX{get type(){return lX.TYPE}set rowHeight(e){this._rowHeight=e}get rowHeight(){var e;return(e=this._rowHeight)!=null?e:lX.DEFAULT_ROW_HEIGHT}set cellConfig(e){this._cellConfig=e}get cellConfig(){var e;return{...lX.DEFAULT_CELL_CONFIG,...(e=this._cellConfig)!=null?e:{}}}getFixedCellConfig(e){return typeof e=="string"?{...this.cellConfig,content:e}:{...this.cellConfig,...e}}};lX.DEFAULT_ROW_HEIGHT=25,lX.DEFAULT_CELL_CONFIG={cellType:"th",cellAttributes:{colSpan:1,rowSpan:1},contentType:"TEXT",content:""},lX.TYPE="head";var sKe=lX;var kB=class kB extends qe{constructor(){super(...arguments);this.headStore=new sKe(this);this.bodyStore=new SM(this);this.footStore=new aKe(this);this._isFitContainerViewWidth=!0;this._minCellWidth=kB.DEFAULT_MIN_CELL_WIDTH}static getInstance(i){var o;return(o=this._instances.get(i))!=null?o:this._instances.set(i,new kB).get(i)}get colsWidth(){var i;return[...(i=this._colsWidth)!=null?i:[]]}set colsWidth(i){this._colsWidth=i}get containerWidth(){var i;return(i=this._containerWidth)!=null?i:kB.DEFAULT_CONTAINER_WIDTH}set containerWidth(i){this._containerWidth=i}get containerHeight(){var i;return(i=this._containerHeight)!=null?i:kB.DEFAULT_CONTAINER_HEIGHT}set containerHeight(i){this._containerHeight=i}get isFitContainerViewWidth(){return this._isFitContainerViewWidth}set isFitContainerViewWidth(i){this._isFitContainerViewWidth=i}get minCellWidth(){return this._minCellWidth}set minCellWidth(i){this._minCellWidth=i}get headAndFootHeight(){return this.footStore.totalHeight+this.headStore.totalHeight}get colsSize(){return this.headStore.colsSize||this.bodyStore.colsSize||this.footStore.colsSize}loadData(i,o,r,n,a,s,l){for(let c in n)this[c]=n[c];this.headStore.loadData(i,a),this.bodyStore.loadData(o,s),this.footStore.loadData(r,l)}refreshView(){this.notify()}};kB._instances=new Map,kB.DEFAULT_CONTAINER_WIDTH="auto",kB.DEFAULT_CONTAINER_HEIGHT="auto",kB.DEFAULT_MIN_CELL_WIDTH=30;var AD=kB;var b8t=L(z());function y8t({type:t,config:e,children:i}){if(t==="td")return(0,b8t.jsx)("td",{...e,children:i});if(t==="th")return(0,b8t.jsx)("th",{align:"left",...e,children:i})}var AYi=L(z());function w8t({cell:t}){return(0,AYi.jsx)(qt,{...t.content,onChange:e=>{t.value=e,t.parent.setValueForAllSelectedCell(t.contentType,t.contentSubType,t.value)}})}var lKe=L(Se());var cKe=L(z());function C8t({cell:t}){var b;let e=ca(),{style:i={},onFocus:o,onChange:r,onBlur:n,onkeydown:a,children:s,...l}=t.content,c=(0,lKe.useRef)(null),d=(0,lKe.useRef)(new Map),u=(0,lKe.useRef)(null),p=o,m=r,h=n,f=a;i.border="none",i.backgroundColor="initial",i.pointerEvents=t.isSelected&&!t.disabled?"auto":"none",i.height=t.parent.rowHeight-2;let g={cursor:t.disabled?"not-allowed":t.isSelected?"text":"pointer",position:"relative"};if(t.parent instanceof SM){p=x=>{t.parent.setEdited(),d.current=t.parent.selectManager.getSelected(),o==null||o(x)},m=x=>{t.value=x,e()},f=x=>{var S,T;x.key==="Escape"?(u.current="esc",(S=c.current)==null||S.blur()):x.key==="Enter"&&(u.current="enter",(T=c.current)==null||T.blur()),a==null||a(x)},h=(...x)=>{Yn(()=>{if(t.parent.showMenu||u.current==="esc"||t.value===t.confirmValue){t.value=t.confirmValue,t.parent.setEdited(!1),e();return}u.current=null,t.confirmValue=t.value,n==null||n(...x),d.current.forEach((S,T)=>{S.forEach((M,I)=>{let A=t.parent.cellInstancesManager.addOrGetItem(T,I,t.parent.getCellProps(T,I));A.parent.setValueForCell(t.contentType,t.contentSubType,t.value,A,()=>!0)})})})};let y=t.parent.editedPosition;if((y==null?void 0:y[0])===t.rowId&&(y==null?void 0:y[1])===t.columnId&&c.current){let x=t.parent.getContainerDom(c.current),S=t.showRowIndex,T=t.parent.rowHeight,M=S*T;!t.parent.showMenu&&x.scrollTop<=M&&M+T<=x.scrollTop+x.clientHeight&&((b=c.current)==null||b.focus())}}return(0,cKe.jsxs)("div",{style:g,children:[(0,cKe.jsx)(Kt,{ref:c,clickTriggerSelect:!0,focusTriggerSelect:"SELECT_ALL",style:i,onFocus:p,onChange:m,onBlur:h,onkeydown:f,...l}),s||""]})}var NYi=L(z());function eae({maskStyle:t}){return(0,NYi.jsx)("div",{style:{width:"100%",top:0,height:"100%",position:"absolute",...t}})}var PMe=L(z());function x8t({cell:t}){let{style:e={},children:i,...o}=t.content;e.border="none",e.background="none",e.height=t.parent.rowHeight-2;let r={position:"relative",cursor:t.disabled?"not-allowed":"pointer"};return(0,PMe.jsxs)("div",{style:r,children:[(0,PMe.jsx)(xt,{style:e,...o,onChange:n=>{t.value=n,t.parent.setValueForAllSelectedCell(t.contentType,t.contentSubType,t.value)}}),(0,PMe.jsx)(eae,{maskStyle:{width:"calc(100% - 30px)",height:"100%",pointerEvents:t.isSelected?"none":"auto"}}),i||""]})}var T8t=L(z());function S8t({cell:t}){let e=J(),i=t.content,o={padding:"0 6px",lineHeight:t.parent.rowHeight-2+"px",overflow:"hidden",textOverflow:"ellipsis"};if(t.disabled&&(o.color="var(--font-color-disabled-td)",o.cursor="not-allowed"),typeof i=="string"||i!=null&&i.value){let n=e(i);return(0,T8t.jsx)("div",{title:n,style:o,children:n})}else{let{content:r,useTranslate:n}=i,a=n?e(r):(r==null?void 0:r.value)||r;return(0,T8t.jsx)("div",{title:a,style:o,children:a})}}var OMe=L(z());function cEr(t,e){if(t.elementProps){let{Element:i}=t;return(0,OMe.jsx)(i,{cell:e})}else return t}function M8t({cell:t}){let{element:e,maskStyle:i={}}=t.content,o={position:"relative",cursor:t.disabled?"not-allowed":"pointer",maxHeight:t.parent.rowHeight-2},r=cEr(e,t);return(0,OMe.jsxs)("div",{style:o,children:[r,(0,OMe.jsx)(eae,{maskStyle:{...i,pointerEvents:t.isSelected?"none":"auto"}})]})}var kYi=L(z());function I8t({cell:t}){return(0,kYi.jsx)("div",{style:{cursor:"not-allowed",height:"100%",backgroundColor:"var(--bg-color-disabled-td)"}})}var RYi=L(Hr()),cX=L(Se());var v8t=L(OYi());var RMe="excelTableTextarea";var mfe=L(z()),{locals:dEr}=v8t.default,L8t=be.bind(dEr),uEr=t=>{let{left:e,top:i,content:o,destroyDialog:r,onConfirm:n}=t,a=J();Ae(v8t.default);let[s,l]=(0,cX.useState)(o),c=(0,cX.useRef)(!1),d=(0,cX.useMemo)(()=>({left:e,top:i}),[]),u=(S=s)=>{S.length>255&&(De({type:"warn",msg:"Text cannot be more than 255 characters!"}),S=o),S.trim().length||(S=o),S!==o&&n(S),r()},p=S=>{S.stopPropagation();let T=S.code.toLowerCase();(T==="enter"||T==="numpadenter")&&S.preventDefault()},m=S=>{S.stopPropagation();let T=S.target,M=S.code.toLowerCase();if(M==="enter"||M==="numpadenter")if(S.preventDefault(),S.ctrlKey||S.shiftKey||S.altKey){let I=T.selectionStart,A=T.selectionEnd,D=s.substring(0,I)+`
`+s.substring(A);l(D),setTimeout(()=>{T.selectionStart=I+1,T.selectionEnd=I+1})}else u(s)},h=S=>{c.current=!0,S.target.select()},f=S=>{c.current=!1,b(S)},g=S=>{S.stopPropagation();let T=S.code.toLowerCase(),M=S.target;if(T==="escape"){M===w.current&&c.current?(l(o),c.current=!1):r();return}c.current=!0},b=S=>{let M=S.relatedTarget;for(;M!=null&&M!==y.current;)M=M.parentNode;M!==y.current&&u()},y=(0,cX.useRef)(),w=(0,cX.useRef)(),x=be("pop-content-container",L8t("modify-text-suspension-container"));return(0,mfe.jsxs)("div",{ref:y,tabIndex:0,className:x,style:{...d},onKeyDown:g,onBlur:b,children:[(0,mfe.jsx)("textarea",{ref:w,value:s,className:L8t("textarea"),autoFocus:!0,onChange:S=>l(S.target.value),onKeyDown:p,onKeyUp:m,onFocus:h,onBlur:f}),(0,mfe.jsx)("div",{className:L8t("bottom-tip"),children:a("Ctrl / Shift / Alt + Enter for new line")})]})};async function D8t(t){let e=document.getElementById(RMe)||document.createElement("div"),i=RYi.default.createRoot(e),o=()=>{i.unmount()};e.id=RMe,e.style.position="fixed",e.style.top="0",e.style.left="0",e.style.zIndex="999999",document.body.appendChild(e),i.render((0,mfe.jsx)(uEr,{...t,destroyDialog:o}))}function _Yi(t,e){let{clientX:i,clientY:o}=t,{innerWidth:r,innerHeight:n}=globalThis,a=Math.max(Math.min(i,r-260),0),s=Math.max(Math.min(o-165),0);D8t({left:a,top:s,content:e.value,onConfirm:l=>{e.value=l,e.parent.setValueForAllSelectedCell(e.contentType,e.contentSubType,e.value)}})}var _Me=L(z());function E8t({cell:t}){let{children:e,value:i}=t.content,o={position:"relative",cursor:t.disabled?"not-allowed":"pointer"},r={padding:"0 6px",lineHeight:t.parent.rowHeight-2+"px",overflow:"hidden",textOverflow:"ellipsis"};return(0,_Me.jsxs)("div",{style:o,title:i,children:[(0,_Me.jsx)("div",{style:r,onClick:n=>{_Yi(n,t)},children:i}),(0,_Me.jsx)(eae,{maskStyle:{pointerEvents:t.isSelected?"none":"auto"}}),e||""]})}var PB=L(z());function hEr({cell:t}){switch(t.contentType){case"SELECT":return(0,PB.jsx)(x8t,{cell:t});case"CHECKBOX":return(0,PB.jsx)(w8t,{cell:t});case"CUSTOM":return(0,PB.jsx)(M8t,{cell:t});case"INPUT":return(0,PB.jsx)(C8t,{cell:t});case"TEXTAREA":return(0,PB.jsx)(E8t,{cell:t});case"UNDEFINED":return(0,PB.jsx)(I8t,{cell:t});case"TEXT":default:return(0,PB.jsx)(S8t,{cell:t})}}function tae({cell:t}){return Ce(t.parent,()=>{let{position:e}=t.parent.refreshConfig;return(e==null?void 0:e.rowId)===t.rowId&&e.columnId===t.columnId}),(0,PB.jsx)(y8t,{type:t.cellType,config:t.cellAttributes,children:(0,PB.jsx)(hEr,{cell:t})})}var A8t=L(BYi());var bY=L(z());function N8t({id:t}){var a;let e=AD.getInstance(t).headStore,i=(0,zYi.useRef)(null);Ae(A8t.default);let o=be.bind(A8t.default.locals);Ce(e,()=>!0);let r=e.getApplyColsWidth((a=i.current)==null?void 0:a.offsetWidth),n=e.getTableWidth(r);return(0,bY.jsx)("div",{ref:i,className:o("table-head-container"),"table-section-container":e.type,children:(0,bY.jsxs)("table",{style:{height:e.totalHeight,width:n},children:[(0,bY.jsx)("colgroup",{children:r.map((s,l)=>(0,bY.jsx)("col",{width:s},l))}),(0,bY.jsx)("thead",{children:e.rowsMap((s,l,c,d)=>(0,bY.jsx)("tr",{style:{height:e.rowHeight},children:s.map((u,p)=>{let m=e.cellInstancesManager.addOrGetItem(l,p,u);return(0,bY.jsx)(tae,{cell:m},p)})},d))})]})})}var mKe=L(Se());var k8t=L(UYi());var OB=L(z());function P8t({id:t}){var m,h,f,g,b,y,w,x;let e=AD.getInstance(t).bodyStore,i=(0,mKe.useRef)(null);Ae(k8t.default);let o=be.bind(k8t.default.locals);Ce(e,()=>{let{scrollViewConfig:S,position:T,scrollLeft:M}=e.refreshConfig;return T?!1:M!=null?(i.current.style.width="calc(100% + "+M+"px)",i.current.scrollLeft=0,!1):(S&&IYi(S,i.current,e),!0)}),Gs("click",S=>{if(le.hasMaskDialogOpen())return;let T=S.target;for(;T!=null;){if(T===i.current||T.getAttribute("react-contextmenu-name")==="excel-table-body-menu"||T.id===RMe||!document.contains(T))return;T=T.parentElement}SYi(e)}),(0,mKe.useEffect)(()=>{let S=new ResizeObserver(T=>{window.requestAnimationFrame(()=>{var E,N,R,v;let M=(N=(E=i.current)==null?void 0:E.parentElement.offsetWidth)!=null?N:0,I=(v=(R=i.current)==null?void 0:R.parentElement.scrollLeft)!=null?v:0,A=e.getApplyColsWidth(M),D=e.getTableWidth(A);i.current.style.width=Math.min(M+I,D)+"px"})});return i.current&&S.observe(i.current.querySelector("table")),()=>{S.disconnect()}},[i.current]);let r=(h=(m=i.current)==null?void 0:m.parentElement.clientHeight)!=null?h:0,n=(g=(f=i.current)==null?void 0:f.parentElement.offsetWidth)!=null?g:0,a=(y=(b=i.current)==null?void 0:b.parentElement.scrollLeft)!=null?y:0,s=(x=(w=i.current)==null?void 0:w.scrollTop)!=null?x:0,{top:l=0,rows:c=[],indexes:d}=e.getTopAndShowRows(r,s)||{},u=e.getApplyColsWidth(n),p=e.getTableWidth(u);return(0,OB.jsxs)("div",{"table-section-container":e.type,tabIndex:1,ref:i,className:o("table-body-container"),style:{height:"calc(100% - "+e.parent.headAndFootHeight+"px)",minHeight:e.rowHeight,width:Math.min(n+a,p)},onScroll:()=>{requestAnimationFrame(()=>{e.refreshView();let S=i.current.scrollLeft;S&&(i.current.scrollLeft=0,i.current.parentElement.scrollLeft+=S)})},onKeyDown:async S=>{await MYi(S,e)},onContextMenu:S=>{EYi(S,e)},children:[(0,OB.jsx)("div",{style:{height:e.totalHeight}}),(0,OB.jsxs)("table",{style:{position:"absolute",top:s-l,height:"100%",maxHeight:e.totalHeight,width:p},children:[(0,OB.jsx)("colgroup",{children:u.map((S,T)=>(0,OB.jsx)("col",{width:S},T))}),(0,OB.jsx)("tbody",{children:c.map((S,T)=>(0,OB.jsx)("tr",{style:{height:e.rowHeight},children:S.map((M,I)=>{let A=e.cellInstancesManager.addOrGetItem(d[T],I,M);return(0,OB.jsx)(tae,{cell:A},I)})},d[T]))})]})]})}var GYi=L(Se());var O8t=L(HYi());var yY=L(z());function R8t({id:t}){var a;let e=AD.getInstance(t).footStore,i=(0,GYi.useRef)(null);Ae(O8t.default);let o=be.bind(O8t.default.locals);Ce(e,()=>!0);let r=e.getApplyColsWidth((a=i.current)==null?void 0:a.offsetWidth),n=e.getTableWidth(r);return(0,yY.jsx)("div",{ref:i,className:o("table-foot-container"),"table-section-container":e.type,children:(0,yY.jsxs)("table",{style:{height:e.totalHeight,width:n},children:[(0,yY.jsx)("colgroup",{children:r.map((s,l)=>(0,yY.jsx)("col",{width:s},l))}),(0,yY.jsx)("tfoot",{children:e.rowsMap((s,l,c,d)=>(0,yY.jsx)("tr",{style:{height:e.rowHeight},children:s.map((u,p)=>{let m=e.cellInstancesManager.addOrGetItem(l,p,u);return(0,yY.jsx)(tae,{cell:m},p)})},d))})]})})}var _8t=L(WYi());var hfe=L(Se());function QYi(t,e){var n;let{headStore:i,bodyStore:o,footStore:r}=t;o.refreshView(),((n=t.resizeRecord)==null?void 0:n.width)!==e.contentRect.width&&(i.refreshView(),r.refreshView()),t.resizeRecord=e.contentRect}var iae=L(z());function j8t(t){let{id:e,head:i=[],body:o=[],foot:r=[],config:n={},headConfig:a={},bodyConfig:s={},footConfig:l={}}=t,c=AD.getInstance(e),d=(0,hfe.useRef)(null);Ae(_8t.default);let u=be.bind(_8t.default.locals);return c.loadData(i,o,r,n,a,s,l),Ce(c,()=>!0),(0,hfe.useEffect)(()=>{let p=new ResizeObserver(m=>{window.requestAnimationFrame(()=>{m!=null&&m[0]&&QYi(c,m[0])})});return d.current&&p.observe(d.current),()=>{p.disconnect()}},[d.current]),(0,iae.jsx)(hfe.StrictMode,{children:(0,iae.jsxs)("div",{ref:d,className:u("table-container"),style:{width:c.containerWidth,height:c.containerHeight},onScroll:p=>{requestAnimationFrame(()=>{c.bodyStore.refreshView({scrollLeft:d.current.scrollLeft})})},children:[(0,iae.jsx)(N8t,{id:e}),(0,iae.jsx)(P8t,{id:e}),(0,iae.jsx)(R8t,{id:e})]})})}var KYi=j8t;var B8t=L(Se());var oae=L(z());function z8t({cell:t}){var y,w,x;let{property:e,context:i}=t.content.element.elementProps,o=iw(e),{value:r,valueDisabled:n,inputUnit:a=Vo(),positive:s,defaultValue:l,isBlockValue:c,isInstanceValue:d}=e,u=((y=C.PropertyKey[o])==null?void 0:y.title)||o,p=(0,B8t.useRef)(null),m={ref:p,positive:s,value:r!=null?r:l||r,dValue:l,inputUnit:a,name:u,dataTest:u,disabled:n,style:{border:"none",background:"none",height:`${ND.BODY_ROW_HEIGHT-2}px`,color:c||d?"#39f":""},onChange:(S,T)=>{let M=fo(io(S,"pixel",a),a)+a;M!==t.value&&(M!==e.value&&(t.value=M),h.current.forEach((I,A)=>{I.forEach((D,E)=>{let N=t.parent.cellInstancesManager.addOrGetItem(A,E,t.parent.getCellProps(A,E));N.parent.setValueForCell(t.contentType,t.contentSubType,t.value,N,()=>!0)})}))},onFocus:()=>{h.current=t.parent.selectManager.getSelected()}},h=(0,B8t.useRef)(new Map),f=t.parent.editedPosition,g=(f==null?void 0:f[0])===t.rowId&&(f==null?void 0:f[1])===t.columnId,b=(w=p.current)==null?void 0:w.inputRef;if(g){if(b!=null&&b.current){let S=i.store.tableStore.bodyStore.getContainerDom(b.current),T=t.showRowIndex,M=t.parent.rowHeight,I=T*M;S.scrollTop<=I&&I+M<=S.scrollTop+S.clientHeight&&os(1).then(()=>{var A;(A=b.current)==null||A.focus()})}}else document.activeElement===(b==null?void 0:b.current)&&((x=i.store.tableStore.bodyStore.getContainerDom(b.current))==null||x.focus());return(0,oae.jsxs)(oae.Fragment,{children:[(0,oae.jsx)(or,{...m}),d?(0,oae.jsx)("div",{style:{width:0,height:0,borderTop:"5px solid #3399ff",borderRight:"5px solid #3399ff",borderLeft:"5px solid transparent",borderBottom:"5px solid transparent",right:"0px",top:"0",position:"absolute"}}):""]})}var dX=L(z());function fEr(t){let{isAssemblyValue:e,propertyKey:i,isInstanceDevicesAttrValue:o,isInstanceValue:r}=t,n={width:0,height:0,right:0,top:0,position:"absolute"};if(e){let a;[C.PropertyKey.Device.key,C.PropertyKey["Add into BOM"].key].includes(i)?a="#ff6600":a="#000000",n.borderTop=`5px solid ${a}`,n.borderRight=`5px solid ${a}`,n.borderLeft=`5px solid ${a}`,n.borderBottom=`5px solid ${a}`}else o?(n.borderTop="5px solid #000000",n.borderRight="5px solid #000000",n.borderLeft="5px solid transparent",n.borderBottom="5px solid transparent"):r&&(n.borderTop="5px solid #3399ff",n.borderRight="5px solid #3399ff",n.borderLeft="5px solid transparent",n.borderBottom="5px solid transparent");return n}function uX({isAssemblyValue:t,propertyKey:e,isInstanceDevicesAttrValue:i,isInstanceValue:o}){let r=fEr({isAssemblyValue:t,propertyKey:e,isInstanceDevicesAttrValue:i,isInstanceValue:o});return t?[C.PropertyKey.Device.key,C.PropertyKey["Add into BOM"].key].includes(e)?(0,dX.jsx)("div",{style:r}):(0,dX.jsx)("div",{style:r}):i?(0,dX.jsx)("div",{style:r}):o?(0,dX.jsx)("div",{style:r}):(0,dX.jsx)(dX.Fragment,{})}var QC=L(z());var ffe={Device:(t,e)=>{let i=iw(t),{value:o,valueDisabled:r,isBlockValue:n,isInstanceValue:a,extra:s={},isAssemblyValue:l,isInstanceDevicesAttrValue:c}=t,{type:d,id:u,tabId:p,store:m}=e,h=(0,QC.jsxs)(QC.Fragment,{children:[(0,QC.jsx)(ea,{disabled:r,dataTest:i+"",value:o,inputStyle:{color:IH(i,l,n,a),backgroundColor:"initial"},hasClearButton:!1,style:{border:"none",height:`${e.store.bodyConfig.rowHeight-2}px`,backgroundColor:"initial"},openDialog:()=>{let g={form:"replaceDevice",needRefresh:!0};C.messageBus.publish("openDeviceSelectDlg",{...g,deviceType:d})}}),(0,QC.jsx)(uX,{isAssemblyValue:l,propertyKey:i,isInstanceDevicesAttrValue:c,isInstanceValue:a})]}),f={type:`Device(${s.cmdKey})`,canPaste:g=>!0,isDisabled:g=>r,getValue:g=>({propertyKey:i,...s}),getText:g=>t.value,setValue:(g,b)=>{let{type:y,id:w,tabId:x}=e,{path:S,uuid:T,cmdKey:M,symbolUuid:I}=s,{path:A,uuid:D,cmdKey:E,symbolUuid:N,propertyKey:R}=b;A&&S===A&&R===i&&E&&E===M&&D&&T!==D&&(Ej.includes(E)?N&&e.store.changeManager.deviceWithSymbolChange({id:w,tabId:x,deviceUuid:D,symbolUuid:N}):e.store.changeManager.propertyChange({type:y,id:w,tabId:x,value:D,key:i}))},element:h,maskStyle:{width:`calc(100% - ${ND.BODY_ROW_HEIGHT}px)`}};return{contentType:"CUSTOM",content:f}},Drawing:(t,e)=>{let i=iw(t),{value:o,valueDisabled:r,extra:n={}}=t,{type:a,id:s,tabId:l}=e,c=(0,QC.jsx)(ea,{style:{border:"none",height:`${e.store.bodyConfig.rowHeight-2}px`,backgroundColor:"initial"},inputStyle:{backgroundColor:"initial"},disabled:r,value:o,hasClearButton:!0,onClearClick:()=>{e.store.changeManager.propertyChange({type:a,id:s,tabId:l,value:"No Sheet",key:iw(t)})},openDialog:()=>{C.messageBus.publish("openSheetMgrDlg",{searchValue:"",isProject:!0,from:"canvas",selected_tab:"system",nosheet:o==="No Sheet",symbolType:ve.SHEET_SYMBOL,target:e.store.parent.data.targetFilterBySelectedType})}}),d={type:"Drawing",canPaste:u=>!0,isDisabled:u=>r,getValue:u=>({propertyKey:i,...n}),getText:u=>t.value,setValue:(u,p)=>{let{path:m,deviceUuid:h}=n,{path:f,deviceUuid:g,propertyKey:b}=p,{type:y,id:w,tabId:x}=e;f&&m===f&&i===b&&h!==g&&e.store.changeManager.propertyChange({type:y,id:w,tabId:x,value:g,key:i,extra:{deviceUuid:g}})},element:c,maskStyle:{width:"calc(100% - 40px)"}};return{contentType:"CUSTOM",content:d}},Symbol:(t,e)=>{var o;return{content:{style:{color:t.isBlockValue||t.isInstanceValue?"#39f":""},disabled:!0,value:(o=t.value)!=null?o:"",children:(0,QC.jsx)(uX,{isAssemblyValue:t.isAssemblyValue,propertyKey:t.propertyKey,isInstanceDevicesAttrValue:t.isInstanceDevicesAttrValue,isInstanceValue:t.isInstanceValue})},contentType:"INPUT"}},Footprint:(t,e)=>{let i=iw(t),{value:o,valueDisabled:r,isInstanceValue:n,extra:a={},isAssemblyValue:s,isInstanceDevicesAttrValue:l}=t,{type:c,id:d,tabId:u}=e,p=(0,QC.jsxs)(QC.Fragment,{children:[(0,QC.jsx)(ea,{style:{border:"none",backgroundColor:"initial",height:`${e.store.bodyConfig.rowHeight-2}px`},inputStyle:{backgroundColor:"initial"},disabled:r,value:o,hasClearButton:!0,onClearClick:()=>{e.store.changeManager.propertyChange({type:c,id:d,tabId:u,value:"",key:iw(t)})},openDialog:()=>{C.messageBus.publish("openFootprintMgr")}}),(0,QC.jsx)(uX,{isAssemblyValue:s,propertyKey:i,isInstanceDevicesAttrValue:l,isInstanceValue:n})]}),m={type:"Footprint",canPaste:h=>!0,isDisabled:h=>r,getValue:h=>({propertyKey:i,...a}),getText:h=>t.value,setValue:(h,f)=>{let{type:g,id:b,tabId:y}=e,{path:w,uuid:x}=a,{path:S,uuid:T,propertyKey:M}=f;S&&w===S&&M===i&&x!==T&&e.store.changeManager.propertyChange({type:g,id:b,tabId:y,value:T,key:i})},element:p,maskStyle:{width:"calc(100% - 40px)"}};return{contentType:"CUSTOM",content:m}}},pO={input:(t,e)=>{var c;let{isBlockValue:i,isInstanceValue:o,isAssemblyValue:r,propertyKey:n,isInstanceDevicesAttrValue:a}=t,s={color:IH(n,r,i,o)},l=(0,QC.jsx)(uX,{isAssemblyValue:r,propertyKey:n,isInstanceDevicesAttrValue:a,isInstanceValue:o});return{content:{disabled:t.valueDisabled,value:(c=t.value)!=null?c:"",style:s,onConfirm:d=>{let{type:u,id:p,tabId:m}=e;d.value!==t.value&&e.store.changeManager.propertyChange({type:u,id:p,tabId:m,value:d.value,key:n,extra:t.extra})},children:l},contentType:"INPUT"}},select:(t,e)=>{let i=iw(t),{defaultValue:o,value:r,valueOptions:n,valueDisabled:a,isBlockValue:s,isInstanceValue:l,isAssemblyValue:c,isInstanceDevicesAttrValue:d}=t,u={color:IH(i,c,s,l)},p;if(o!==void 0){let h="(Default)",f,g;i===C.PropertyKey.fillStyle.key&&(f={value:s4[o]+me._context_i18n("theme",h),context:"theme"},g=Pb[s4[o]],p=Pb[s4[r||o]]),n=yne(n,o,h,f,g),r==null&&(r=o+h)}let m=(0,QC.jsx)(uX,{isAssemblyValue:c,propertyKey:i,isInstanceDevicesAttrValue:d,isInstanceValue:l});return{content:{list:n,disabled:a,value:r,valueIcon:p,style:u,onChange:h=>{let{type:f,id:g,tabId:b}=e;h!==t.value&&e.store.changeManager.propertyChange({type:f,id:g,tabId:b,value:h,key:i})},children:m},contentType:"SELECT"}},unitInput:(t,e)=>{let i=iw(t),{value:o,valueDisabled:r,inputUnit:n=Vo(),positive:a,defaultValue:s,isBlockValue:l,isInstanceValue:c}=t,d={type:"unitInput",canPaste:u=>!r,isDisabled:u=>r,canEdit:u=>!r,getValue:u=>{var p,m;return t.value&&!isNaN(Number(t.value))?Vh((p=t.value)!=null?p:s,n):(m=t.value)!=null?m:s},setValue:(u,p)=>{let m=ul(p,n),h=io(m,n,"pixel");Number.isNaN(h)||(t.value=String(h))},onConfirm:u=>{let p=ul(u.value,n),m=io(p,n,"pixel");if(!Number.isNaN(m)){let{type:h,id:f,tabId:g}=e;e.store.changeManager.propertyChange({type:h,id:f,tabId:g,value:m,key:i})}},element:{Element:z8t,elementProps:{property:t,context:e}}};return{contentType:"CUSTOM",content:d}},textArea:(t,e)=>{let i=iw(t),{value:o,valueDisabled:r,isBlockValue:n,isInstanceValue:a,isAssemblyValue:s,isInstanceDevicesAttrValue:l}=t,c=(0,QC.jsx)(uX,{isAssemblyValue:s,propertyKey:i,isInstanceDevicesAttrValue:l,isInstanceValue:a});return{content:{disabled:r,value:o,onChange:d=>{let{type:u,id:p,tabId:m}=e;d!==t.value&&e.store.changeManager.propertyChange({type:u,id:p,tabId:m,value:d,key:i})},children:c},contentType:"TEXTAREA"}},numberInput:(t,e)=>{var r;let{isBlockValue:i,isInstanceValue:o}=t;return{content:{style:{color:IH(t.propertyKey,t.isAssemblyValue,i,o),backgroundColor:"initial"},type:"number",disabled:t.valueDisabled,value:(r=t.value)!=null?r:"",onConfirm:n=>{let{type:a,id:s,tabId:l}=e;n.value!==t.value&&e.store.changeManager.propertyChange({type:a,id:s,tabId:l,value:n.value,key:iw(t)})}},contentType:"INPUT"}},selectSymbolName:(t,e)=>pO.input(t,e),selectNetName:(t,e)=>pO.input(t,e),color:(t,e)=>{let i=iw(t),o="color",{defaultValue:r,value:n,valueOptions:a,valueDisabled:s}=t,l=(0,QC.jsx)(vp,{inputStyle:{border:"none",height:`${ND.BODY_ROW_HEIGHT-2}px`,backgroundColor:"initial"},boxStyle:{marginLeft:"2px",height:`${ND.BODY_ROW_HEIGHT-4}px`,width:`${ND.BODY_ROW_HEIGHT-4}px`,border:"none"},disabled:s,color:n,restoreDefaultButton:!0,defaultColor:r,needRefresh:!1,style:{width:"100%"},allowNone:!0,name:i,onChange:(d,u,p)=>{let{type:m,id:h,tabId:f}=e;d!==t.value&&(e.store.changeManager.propertyChange({type:m,id:h,tabId:f,value:d,key:iw(t)}),e.store.tableStore.bodyStore.setValueForAllSelectedCell("CUSTOM",o,d))}}),c={type:o,canPaste:d=>!s,isDisabled:d=>s,getValue:d=>n,setValue:(d,u)=>{let{type:p,id:m,tabId:h}=e;u!==t.value&&e.store.changeManager.propertyChange({type:p,id:m,tabId:h,value:u,key:i})},element:l,maskStyle:{width:`calc(100% - ${ND.BODY_ROW_HEIGHT}px)`,left:`${ND.BODY_ROW_HEIGHT}px`}};return{contentType:"CUSTOM",content:c}},fontSize:(t,e)=>(t.positive=!0,pO.unitInput(t,e)),textOrigin:(t,e)=>{var l;let i=iw(t),{defaultValue:o,value:r,valueOptions:n=[{value:"0|0",text:"Left Top"},{value:"0|1",text:"Left Middle"},{value:"0|2",text:"Left Bottom"},{value:"1|0",text:"Center Top"},{value:"1|1",text:"Center Middle"},{value:"1|2",text:"Center Bottom"},{value:"2|0",text:"Right Top"},{value:"2|1",text:"Right Middle"},{value:"2|2",text:"Right Bottom"}],valueDisabled:a}=t,s="(Default)";if(o!==void 0){o=o.hAlign+"|"+o.vAlign;let c=me.i18n((l=n.find(d=>d.value===o))==null?void 0:l.text)+me._context_i18n("theme",s);n=yne(n,o,s,c)}return r==null||r.hAlign==null||r.vAlign==null?r=o+s:r=`${r.hAlign}|${r.vAlign}`,{content:{list:n,disabled:a,value:r,onChange:c=>{let{type:d,id:u,tabId:p}=e;c=c.endsWith(s)?null:c.split("|").reduce((m,h)=>(m.hAlign==null?m.hAlign=Number(h):m.vAlign=Number(h),m),{}),c!==t.value&&e.store.changeManager.propertyChange({type:d,id:u,tabId:p,value:c,key:i})}},contentType:"SELECT"}},drawingWidth:(t,e)=>{var i;return t.inputUnit=(i=t.inputUnit)!=null?i:Vo(),pO.unitInput(t,e)},drawingHeight:(t,e)=>{var i;return t.inputUnit=(i=t.inputUnit)!=null?i:Vo(),pO.unitInput(t,e)},selectOptionAndClearInput:(t,e)=>pO.input(t,e),selectInput:(t,e)=>pO.input(t,e)},ZYi={fontWeight:(t,e)=>{let i=[{value:1,text:"yes"},{value:0,text:"no"}],o=t.value.fontWeight?1:0;return{content:{list:i,disabled:!1,value:o,onChange:r=>{let{type:n,id:a,tabId:s}=e;if(r!==t.value){let l=!!r;e.store.changeManager.propertyChange({type:n,id:a,tabId:s,value:{fontWeight:l},key:"fontStyle"})}}},contentType:"SELECT"}},italic:(t,e)=>{let i=[{value:1,text:"yes"},{value:0,text:"no"}],o=t.value.italic?1:0;return{content:{list:i,disabled:!1,value:o,onChange:r=>{let{type:n,id:a,tabId:s}=e;if(r!==t.value){let l=!!r;e.store.changeManager.propertyChange({type:n,id:a,tabId:s,value:{italic:l},key:"fontStyle"})}}},contentType:"SELECT"}},underline:(t,e)=>{let i=[{value:1,text:"yes"},{value:0,text:"no"}],o=t.value.underline?1:0;return{content:{list:i,disabled:!1,value:o,onChange:r=>{let{type:n,id:a,tabId:s}=e;if(r!==t.value){let l=!!r;e.store.changeManager.propertyChange({type:n,id:a,tabId:s,value:{underline:l},key:"fontStyle"})}}},contentType:"SELECT"}}};function iw(t){var e,i;return(i=(e=t.extra)==null?void 0:e.propertyKey)!=null?i:t.propertyKey}function JYi(t){var i;let e=iw(t);return e?e in ffe?!!ffe[t.propertyKey]:e==="fontStyle"?!0:!!pO[(i=t.valueType)!=null?i:"input"]:!1}function qYi(t,e){var o,r,n;let i=iw(t);if(i)return i in ffe?(o=ffe[i])==null?void 0:o.call(ffe,t,e):(n=pO[(r=t.valueType)!=null?r:"input"])==null?void 0:n.call(pO,t,e)}var XYi={fontWeight:"Bold",italic:"Italic",underline:"Font Underline"};var RB=class RB extends qe{constructor(i){super();this.parent=i;this.tableStore=AD.getInstance("schPropertyList");this.changeManager=new qQe(this);this._selectedOriginData=new Map;this._headIndexMap=new Jne;this._selected=new Map}recordSelectDataBeforeLoadData(){var r;this._selectedOriginData.clear(),this._selected.clear(),this._refSelectedOriginData=null,this._refSelected=null;let i=this.tableStore.bodyStore.selectManager.getSelected();i.size&&i.forEach((n,a)=>{let s=this.tableData[a];n.forEach((l,c)=>{var m,h;let d=this._headIndexMap.get(c),u=(m=this._selectedOriginData.get(s.tabId))!=null?m:this._selectedOriginData.set(s.tabId,new Map).get(s.tabId);((h=u.get(s.id))!=null?h:u.set(s.id,new Jne).get(s.id)).set(d,!0)})});let o=this.tableStore.bodyStore.selectManager.selectedRef;if(o){let[n,a]=o,s=(r=this.tableData)==null?void 0:r[n],l=this._headIndexMap.get(a);this._refSelectedOriginData={key:l,id:s.id,tabId:s.tabId}}}get tableData(){var i,o;return(o=(i=this.parent.data)==null?void 0:i.tableData)!=null?o:[]}_buildSet(i,o){var u,p;let{keys:r,needRemoved:n,extraKeyMap:a,sizeMap:s,totalSizeMap:l}=i,c=(u=o.extra)==null?void 0:u.propertyKey,d=o.propertyKey;if(c!=null){a.set(d,c),n.add(c);let m=s.has(c)?s.get(c)+1:0;if(s.set(c,m),l.has(c)&&l.get(c)>=m)return;l.set(c,Math.max(m,(p=l.get(c))!=null?p:0))}d==="fontStyle"?(r.add("fontWeight"),r.add("italic"),r.add("underline")):r.add(d)}_getSortedKeys(i){let o=new Map,r=[],n=new Map;return i.forEach((a,s)=>{var h,f;let{keys:l,needRemoved:c,extraKeyMap:d}=a;for(let g of c)l.delete(g);let u=(f=(h=this.parent.data.groups.find(g=>g.title===p2i[s]))==null?void 0:h.content)==null?void 0:f.data,p=u==null?void 0:u.reduce((g,b,y)=>(b.propertyKey&&g.set(b.propertyKey,y),g),new Map),m=p?Array.from(l).sort((g,b)=>{let y=p.get(g),w=p.get(b);return y!=null&&w!=null?y-w:y==null&&w==null?d.get(g)==="Name"?-1:d.get(b)==="Name"?1:0:y==null?1:-1}):l;for(let g of m){let b=g,y=[b];if(d.has(g)){b=d.get(g);let w=o.has(b)?o.get(b)+1:0;o.set(b,w),n.set(b,1),y=w?[b,w]:[b]}else{if(n.has(b))continue;n.set(b,1)}r.push(y)}}),r}get tableHead(){var s;this._headIndexMap.clear(),this._headIndexMap.set([RB.OBJECT_KEY],0),this._headIndexMap.set([0],[RB.OBJECT_KEY]);let i=new Map,o=new Map,r=new Map;for(let l of this.tableData){let{properties:c}=l,d=new Map;for(let u in c){let p=(s=i.get(u))!=null?s:i.set(u,{keys:new Set,needRemoved:new Set,extraKeyMap:o,totalSizeMap:r,sizeMap:d}).get(u);p.sizeMap=d;let m=c[u];for(let h of m)JYi(h)&&this._buildSet(p,h)}}let n=this._getSortedKeys(i),a=[RB.OBJECT_KEY];return n.forEach((l,c)=>{var p;let d=l[0],u=((p=C.PropertyKey[d])==null?void 0:p.title)||XYi[d]||d;a.push({content:{value:u,context:"attrs"}}),this._headIndexMap.set(l,c+1),this._headIndexMap.set([c+1],l)}),[a]}get tableBody(){let i=this._headIndexMap.size/2;return this.tableData.map((o,r)=>{var s,l,c,d;let n=new Array(i).fill(void 0);n[0]={content:{content:(s=JA[o.type])!=null?s:o.type,useTranslate:!0,disabled:!0}};let a={id:o.id,tabId:o.tabId,type:o.type,store:this};if(this._judegeAndSetSelected(this._headIndexMap.get(0),a,r,0),Object.values(o.properties).forEach(u=>{var m;let p=new Map;for(let h of u){let f=iw(h);if(p.set(f,((m=p.get(f))!=null?m:p.set(f,-1).get(f))+1),f==="fontStyle")for(let g of["fontWeight","italic","underline"]){let b=this._headIndexMap.get(g);n[b]=ZYi[g](h,a),this._judegeAndSetSelected([g],a,r,b)}else{let g=qYi(h,a);if(g!=null){let b=[f],y=p.get(f);y&&b.push(y);let w=this._headIndexMap.get(...b);n[w]=g,this._judegeAndSetSelected(b,a,r,w)}}}}),(d=(c=(l=this._selectedOriginData)==null?void 0:l.get(a.tabId))==null?void 0:c.get(a.id))!=null&&d.size)for(let u=0;u<n.length;u++)n[u]||this._judegeAndSetSelected(this._headIndexMap.get(u),a,r,u);return n})}_judegeAndSetSelected(i,o,r,n){var p,m,h;let{id:a,tabId:s}=o,{id:l,tabId:c,key:d}=(p=this._refSelectedOriginData)!=null?p:{};a===l&&s===c&&d.length===i.length&&d.every((f,g)=>f===i[g])&&(this._refSelected=[r,n]);let u=(m=this._selectedOriginData.get(s))==null?void 0:m.get(a);u!=null&&u.has(...i)&&(((h=this._selected.get(r))!=null?h:this._selected.set(r,new Map).get(r)).set(n,!0),u.delete(...i))}get bodyConfig(){return{rowHeight:RB.BODY_ROW_HEIGHT,selected:this._selected,refSelected:this._refSelected}}get headConfig(){return{rowHeight:RB.HEAD_ROW_HEIGHT}}get tableConfig(){return{minCellWidth:150,containerHeight:"100%"}}refreshView(){this.notify()}};RB.OBJECT_KEY="Object Type",RB.BODY_ROW_HEIGHT=24,RB.HEAD_ROW_HEIGHT=24;var ND=RB;var gKe=class extends qe{constructor(i){super();this.parent=i}get types(){var i;return((i=this.parent.data)==null?void 0:i.types)||{}}get selectedTypes(){return this.parent.data.selectedTypes}get menus(){try{return Object.entries(this.types).map(([i,o])=>{var r;return{id:i,amount:o,name:(r=JA[i])!=null?r:i,checked:this.selectedTypes==="All"||this.selectedTypes.includes(i)}})}catch{return[]}}refreshView(){this.notify()}};var Km=class t extends qe{constructor(){super(...arguments);this.menuStore=new gKe(this);this.contentStore=new ND(this)}static getInstance(){return this._instance||(this._instance=new t)}loadData(i){this.contentStore.recordSelectDataBeforeLoadData(),this.data=i}refreshView(){this.contentStore.changeManager.status===1&&(this.contentStore.changeManager.status=0),this.menuStore.refreshView(),this.notify()}};function jMe(t,e=Km.getInstance().menuStore){let i=t.filter(r=>r.checked),o=i.length===t.length&&t.length>1?"All":i.map(r=>r.id);C.messageBus.publish("sch/renderPropertyPanel",{target:e.parent.data.target,docType:e.parent.data.docType,treeTarget:e.parent.data.treeTarget,isFromTree:e.parent.data.isFromTree,selectedTypes:o,isSelectedTypeChange:!0})}var F8t=L(eWi()),yKe=L(z());function U8t(){Ae(F8t.default);let t=be.bind(F8t.default.locals),e=(0,tWi.useRef)(null),i=Km.getInstance().menuStore;return Ce(i,()=>{var o,r;return e.current&&((r=(o=e.current).setMenus)==null||r.call(o,i.menus)),!0}),(0,yKe.jsx)("div",{className:t("left-panel"),children:(0,yKe.jsx)("div",{className:t("menu-container"),children:(0,yKe.jsx)(L_,{ref:e,showAmount:!0,setAll:!0,menus:i.menus,onCheck:o=>{jMe(e.current.menus)},onCheckAll:()=>{jMe(e.current.menus)},onUnCheck:()=>{jMe(e.current.menus)},onUnCheckAll:()=>{jMe(e.current.menus)}})})})}var V8t=L(oWi()),H8t=L(z());function G8t(){Ae(V8t.default);let t=be.bind(V8t.default.locals),e=Km.getInstance().contentStore;return Ce(e,()=>!0),(0,H8t.jsx)("div",{className:t("content-panel"),children:(0,H8t.jsx)(KYi,{id:"schPropertyList",head:e.tableHead,body:e.tableBody,config:e.tableConfig,headConfig:e.headConfig,bodyConfig:e.bodyConfig})})}var rae=L(z());function Y8t(){let t=Km.getInstance();return Ce(t,()=>!0),(0,rae.jsxs)(rae.Fragment,{children:[(0,rae.jsx)(U8t,{}),(0,rae.jsx)(G8t,{})]})}var rWi="schPropertyList";var aWi=L(Se()),CKe=L(z()),sWi=()=>{nWi.default.createRoot(document.getElementById(rWi)).render((0,CKe.jsxs)(aWi.StrictMode,{children:[(0,CKe.jsx)(Y8t,{}),","]}))};var jWi=L(Hr());var Q0=L(Se());var cWi=L(Se());var W8t=L(gfe()),pX=L(z());var _B=t=>{let{locals:e}=W8t.default,i=be.bind(W8t.default.locals),{filterValue:o,resultValue:r,iconVisible:n=!0,style:a={},inputStyle:s={},showFilterResult:l=!0,clickPrevNextCb:c,clickClearCb:d,handleModeChangeCb:u,handleInputChangeCb:p}=t,[m,h]=(0,cWi.useState)("Filter"),f=J(),g=b=>{h(b)};return(0,pX.jsxs)("div",{className:e.leftTreeSearch,style:{...a},children:[n&&(0,pX.jsx)("div",{className:i(`icon_wrap ${m==="Search"?"active":""}`),children:(0,pX.jsx)("span",{className:i(`icon icon-eda-zoom ${m==="Search"?"active":""}`),"data-test":"Search",title:f("Search"),onClick:()=>{g("Search"),u&&u("Search")}})}),n&&(0,pX.jsx)("div",{className:i(`icon_wrap ${m==="Filter"?"active":""}`),children:(0,pX.jsx)("span",{className:i(`icon icon-eda-filter ${m==="Filter"?"active":""}`),"data-test":"Filter",title:f("Filter"),onClick:()=>{g("Filter"),u&&u("Filter")}})}),(0,pX.jsx)(i4,{showFilterResult:!!o&&l,hasClearButton:!0,hasZoomBotton:!0,value:o,resultValue:r,onChange:p,clickPrevNextCb:c,clickClearCb:d,style:{height:"24px",width:"calc(100% - 58px)",...s}})]})};var dWi=[{title:"Object Comparison",key:"Device",titleStyle:{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}},{title:"Network Comparison",key:"Network",titleStyle:{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}}];var Q8t=["Origin","Line Style","Fill","Convert to PCB","Add into BOM","Italic","Bold","Underline","Fill Color","Stroke Color","Line Width","Font Color","Font","Color","PCB Layer"];var DWi=L(BMe());var kD=L(Vi()),X8t=L(mWi());var mX=L(Se());var TWi=L(Vi()),Z8t=L(Se());var J8t=L(fWi()),SWi=L(eC());var yWi=L(Ure());var bfe=t=>{switch(t){case st.BLOCK_SYMBOL:return"Reuse Block";case st.SYMBOL:return"Component";case st.WIRE:case st.BUS:return"Wire/Bus";case st.NETFLAG:return"Netflag";case st.NETPORT:return"Netport";case st.OFFPAGECONNECTOR:return"Off Page Connector";case st.NETLABEL:return"Net Label";case st.SHORTSYMBOL:return"Short Symbol";case st.NONEELECSYMBOL:return"None Electric Symbol";case st.POLYLINE:return"Polyline";case st.ARC:return"Arc";case st.CIRCLE:return"Circle";case st.BEZIER:return"Bezier";case st.RECT:return"Rect";case st.TEXT:return"Text";case st.ELLIPSE:return"Ellipse";case st.SCH:return"";case st.MASKREGION:return"Mask Region";case st.IMAGE:return"Image";case st.TABLE:return"Table";case st.OFFPAGECONNECTOR:return"Off Page Connector"}};var gEr="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8",Dc={blue:"FF4f83bd",blue2:"FF0070C0",green:"FF00b050",yellow:"FFffc000",white:"FFffffff"};function gWi(t){let e=t.split("/");for(let i=0;i<e.length;i++)i===e.length-1?e[i]=e[i].replace(/(\$\d+)([a-zA-Z]+)(\d+)/,function(o,r,n,a){return r+"P"+a}):e[i]=e[i].replace(/(\$\d+)([a-zA-Z]+)(\d+)/,function(o,r,n,a){return r+"I"+a});return e.join("\\")}var SKe=class{constructor(){this.updateCurrentArr=(e,i,o,r)=>(e==="placeholder"?(o=["\u65E0"],r=r.map(n=>n.compareStatus==="placeholder"?`${n.key} : \u65E0`:`${n.key} : ${n.value}`)):i==="placeholder"?(r=["\u65E0"],o=o.map(n=>n.compareStatus==="placeholder"?`${n.key} : \u65E0`:`${n.key} : ${n.value}`)):(o=o.map(n=>n.compareStatus==="placeholder"?`${n.key} : \u65E0`:`${n.key} : ${n.value}`),r=r.map(n=>n.compareStatus==="placeholder"?`${n.key} : \u65E0`:`${n.key} : ${n.value}`)),[o,r]);this.updateNetCurrentPinArr=(e,i,o,r)=>{let n=[],a=[];return e==="placeholder"?(n=["\u65E0"],it(r.content.pinTableArr,(s,l)=>{l.compareStatus==="placeholder"?a.push("\u65E0"):l.compareStatus!=="equal"&&a.push(`${l.title}`)})):i==="placeholder"?(a=["\u65E0"],it(o.content.pinTableArr,(s,l)=>{l.compareStatus==="placeholder"?n.push("\u65E0"):l.compareStatus!=="equal"&&n.push(`${l.title}`)})):(it(o.content.pinTableArr,(s,l)=>{l.compareStatus==="placeholder"?n.push("\u65E0"):l.compareStatus!=="equal"&&n.push(`${l.title}`)}),it(r.content.pinTableArr,(s,l)=>{l.compareStatus==="placeholder"?a.push("\u65E0"):l.compareStatus!=="equal"&&a.push(`${l.title}`)})),[n,a]}}fillCell(e,i,o,r="",n="",a={}){e.getCell(i).value=o,n&&(e.getCell(i).font={color:{argb:n}}),e.getCell(i).alignment=Object.assign({},a,{shrinkToFit:!0,vertical:"top",horizontal:"left"}),r&&(e.getCell(i).fill={type:"pattern",pattern:"solid",fgColor:{argb:r},bgColor:{argb:r}}),e.getCell(i).border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}}}generateTable(e,i,o,r){let n=i.charCodeAt(),a=String.fromCharCode(n+1),s=String.fromCharCode(n+2);this.fillCell(r,`${i}${o}`,"\u5DE5\u7A0B",Dc.blue2,Dc.white,""),this.fillCell(r,`${a}${o}`,"\u5DE5\u7A0B1",Dc.blue2,Dc.white,""),this.fillCell(r,`${s}${o}`,"\u5DE5\u7A0B2",Dc.blue2,Dc.white,"");let l=o+1;it(e,(c,d,u)=>{if(d.board){let[f,g]=d.board,[b,y]=d.schematic;this.fillCell(r,`${i}${l}`,"BoardName",Dc.green,Dc.white),this.fillCell(r,`${a}${l}`,f,Dc.green,Dc.white),this.fillCell(r,`${s}${l}`,g,Dc.green,Dc.white),l+=1,this.fillCell(r,`${i}${l}`,"SchematicName",Dc.green,Dc.white),this.fillCell(r,`${a}${l}`,b,Dc.green,Dc.white),this.fillCell(r,`${s}${l}`,y,Dc.green,Dc.white),l+=1}else{let[f,g]=d.schematic;this.fillCell(r,`${i}${l}`,"BlockName",Dc.green,Dc.white),this.fillCell(r,`${a}${l}`,f,Dc.green,Dc.white),this.fillCell(r,`${s}${l}`,g,Dc.green,Dc.white),l+=1}let[p,m]=d.sheets,h=Math.max(p.length,m.length);for(let f=0;f<h;f++){let g=p[f]||"",b=m[f]||"";this.fillCell(r,`${i}${l}`,"SheetName"),this.fillCell(r,`${a}${l}`,g),this.fillCell(r,`${s}${l}`,b),l+=1}})}generateSChRow(e,i,o,r){r.mergeCells(`B${o}:E${o}`),r.mergeCells(`B${o+1}:E${o+1}`),this.fillCell(r,`A${o}`,"\u539F\u7406\u56FE1",Dc.blue,Dc.white),this.fillCell(r,`B${o}`,e,Dc.blue,Dc.white),this.fillCell(r,`A${o+1}`,"\u539F\u7406\u56FE2",Dc.blue,Dc.white),this.fillCell(r,`B${o+1}`,i,Dc.blue,Dc.white)}generateDeviveTitle(e,i,o=!1){this.fillCell(i,`A${e}`,"\u9875\u7801",Dc.yellow),this.fillCell(i,`B${e}`,"\u5BF9\u8C611",Dc.yellow),this.fillCell(i,`C${e}`,o?"\u5C5E\u60271":"\u539F\u7406\u56FE1\u5C5E\u6027",Dc.yellow),this.fillCell(i,`D${e}`,"\u5BF9\u8C612",Dc.yellow),this.fillCell(i,`E${e}`,o?"\u5C5E\u60272":"\u539F\u7406\u56FE2\u5C5E\u6027",Dc.yellow)}generateUndifferent(e,i){e.mergeCells("A1:D1"),this.fillCell(e,"A1",i)}generateNetTitle(e,i,o=!1){this.fillCell(i,`A${e}`,"\u9875\u7801",Dc.yellow),this.fillCell(i,`B${e}`,"\u7F51\u7EDC\u540D",Dc.yellow),this.fillCell(i,`C${e}`,o?"1\u4F4D\u53F7.\u7BA1\u811A\u53F7":"\u539F\u7406\u56FE1\u4F4D\u53F7.\u7BA1\u811A\u53F7",Dc.yellow),this.fillCell(i,`D${e}`,o?"2\u4F4D\u53F7.\u7BA1\u811A\u53F7":"\u539F\u7406\u56FE2\u4F4D\u53F7.\u7BA1\u811A\u53F7",Dc.yellow)}generateNetRow(e,i,o,r,n,a){this.fillCell(a,`A${e}`,i),this.fillCell(a,`B${e}`,o===null?"":o),this.fillCell(a,`C${e}`,r.join(`
`)),this.fillCell(a,`D${e}`,n.join(`
`)),a.columns=[{key:"A",width:20,alignment:{vertical:"top",horizontal:"left"}},{key:"B",width:40,alignment:{vertical:"top",horizontal:"left"}},{key:"C",width:60},{key:"D",width:60}],a.getCell(`C${e}`).alignment={wrapText:!0,vertical:"top",horizontal:"left"},a.getCell(`D${e}`).alignment={wrapText:!0,vertical:"top",horizontal:"left"}}generateDeviceRow(e,i,o,r,n,a,s){this.fillCell(s,`A${e}`,i),this.fillCell(s,`B${e}`,o===null?"":o),this.fillCell(s,`C${e}`,n.join(`
`)),this.fillCell(s,`D${e}`,r===null?"":r),this.fillCell(s,`E${e}`,a.join(`
`)),s.columns=[{key:"A",width:20,alignment:{vertical:"top",horizontal:"left"}},{key:"B",width:40,alignment:{vertical:"top",horizontal:"left"}},{key:"C",width:60},{key:"D",width:40,alignment:{vertical:"top",horizontal:"left"}},{key:"E",width:60}],s.getCell(`C${e}`).alignment={wrapText:!0,vertical:"top",horizontal:"left"},s.getCell(`E${e}`).alignment={wrapText:!0,vertical:"top",horizontal:"left"}}getPage(e,i){return e.compareStatus==="placeholder"?(ol(i.content.sheetPath)?i.content.sheetPath.split("_").splice(1).join("\\\\")+"\\":"")+i.text:e.text}getRealText(e,i,o=!0){return e.treeNodeType===""||e.treeNodeType===st.PIN?e.compareStatus==="placeholder"?"":o?`${me.i18n(bfe(e.treeNodeType))}  ${e.text}`:e.text:e.compareStatus==="placeholder"?o?`${me.i18n(bfe(i.treeNodeType))}  ${i.text}`:i.text:o?`${me.i18n(bfe(e.treeNodeType))}  ${e.text}`:e.text}deviceSheet(e,i,o){var v,k;let r=null,n=null,a=null,s=null,l=null,c=null,d=null,u=null,p=null,m=null,h=[],f=[],g=null,b=null,y=null,w=null,x=null,S=null,T=null,M=null,I=1,A="",D=0,E=this,N=!1,R=new Map;if(i.length===0&&o.length===0)return this.generateUndifferent(e,"\u5668\u4EF6\u6BD4\u8F83\u65E0\u5DEE\u5F02"),!1;for(let P=0,O=i.length;P<O;P++){let _=i[P],j=o[P];if(![st.SHEET,st.SCH,st.BLOCK_SYMBOL].includes(_.treeNodeType)&&_.margin<=D){A="";let B=_.content.sheetPath.endsWith("X")?_.content.sheetPath.slice(0,-1):_.content.sheetPath;l=R.get(B)}if(w=y,y=_.treeNodeType,u=l,p=c,m=d,_.treeNodeType===st.SCH){h=[],f=[],l=null,c=null,d=null,r=this.getRealText(_,j),n=this.getRealText(j,_),this.generateSChRow(r,n,I,e),I+=2,this.generateDeviveTitle(I,e,!0),I+=1;continue}else if(_.treeNodeType===st.SHEET)g=_.compareStatus,b=j.compareStatus,l=A+this.getPage(_,j),R.set(_.path,l);else if(_.treeNodeType===st.BLOCK_SYMBOL){let B=i[P+1];(B==null?void 0:B.treeNodeType)===st.SHEET&&(D=B.margin);let V=_.content.realMatchPath.endsWith("X")?_.content.realMatchPath.slice(0,-1):_.content.realMatchPath;A=gWi(V.split("_").slice(1).join("/")+"/");let[G,Q]=E.updateCurrentArr(T,M,(v=_.content)==null?void 0:v.attrTableArr,(k=j.content)==null?void 0:k.attrTableArr);c=this.getRealText(_,j),d=this.getRealText(j,_),this.generateDeviceRow(I,u,c,d,G,Q,e),I+=1,h=[],f=[]}else{c=this.getRealText(_,j),d=this.getRealText(j,_),T=x||_.compareStatus,M=S||j.compareStatus,x=_.compareStatus,S=j.compareStatus;let[B,V]=E.updateCurrentArr(T,M,_.content.attrTableArr,j.content.attrTableArr);this.generateDeviceRow(I,u,c,d,B,V,e),I+=1,h=[],f=[]}if(w===st.SHEET&&(y===st.SCH||y===st.SHEET||y===st.BLOCK||y===st.BLOCKS)){let B=V=>V==="placeholder"?["\u65E0"]:[""];this.generateDeviceRow(I,u,"","",B(g),B(b),e),I+=1,P===O-1&&this.generateDeviceRow(I,l,"","",B(g),B(b),e)}}}netSheet(e,i,o){let r=null,n=null,a=null,s=null,l=null,c=null,d=[],u=[],p=null,m=null,h=null,f=null,g=null,b=null,y=null,w=null,x=null,S=null,T=1,M=0,I="",A=this,D=!1;if(i.length===0&&o.length===0)return this.generateUndifferent(e,"\u7F51\u7EDC\u6BD4\u8F83\u65E0\u5DEE\u5F02"),!1;let E=(N,R)=>{let[v,k]=A.updateCurrentArr(N,R,d,u);this.generateNetRow(T,p,m,v,k,e),T+=1,d=[],u=[],g===st.SHEET&&(c=null)};for(let N=0,R=i.length;N<R;N++){let v=i[N],k=o[N];if(v.margin<=M&&(I="",M=0),b=g,g=v.treeNodeType,p=l,m=c,v.treeNodeType===st.SCH){d=[],u=[],c=null,l=null,r=this.getRealText(v,k,!1),n=this.getRealText(k,v,!1),this.generateSChRow(r,n,T,e),T+=2,this.generateNetTitle(T,e,D),T+=1;continue}else if(v.treeNodeType===st.SHEET)h=v.compareStatus,f=k.compareStatus,l=I+this.getPage(v,k);else if(v.treeNodeType===st.NET){c=this.getRealText(v,k,!1),x=y||v.compareStatus,S=w||k.compareStatus,y=v.compareStatus,w=k.compareStatus;let[P,O]=A.updateNetCurrentPinArr(x,S,v,k);this.generateNetRow(T,p,c,P,O,e),T+=1}else if(v.treeNodeType===st.BLOCK_SYMBOL){M=v.margin;let P=v.content.realMatchPath.endsWith("X")?v.content.realMatchPath.slice(0,-1):v.content.realMatchPath;I=gWi(P.split("_").slice(1).join("/")+"/"),c=null;let[O,_]=A.updateNetCurrentPinArr(x,S,v,k);this.generateNetRow(T,p,v.text,O,_,e),T+=1}if(b===st.SHEET&&(g===st.SCH||g===st.SHEET||g===st.BLOCK||g===st.BLOCKS)){let P=O=>O==="placeholder"?["\u65E0"]:[""];this.generateNetRow(T,p,"",P(h),P(f),e),T+=1,N===R-1&&this.generateNetRow(T,l,m,P(h),P(f),e)}}}async downloadRangeResult(){this.workbookResult=new yWi.Workbook,this.workbookResult.getWorksheet("\u5668\u4EF6\u6BD4\u8F83")&&this.workbookResult.removeWorksheet("\u5668\u4EF6\u6BD4\u8F83"),this.workbookResult.getWorksheet("\u7F51\u7EDC\u6BD4\u8F83")&&this.workbookResult.removeWorksheet("\u7F51\u7EDC\u6BD4\u8F83");let[e,i]=(await C.messageBus.rpcCall("compareSch/downloadDeviceData","")).message,o=this.workbookResult.addWorksheet("\u5668\u4EF6\u6BD4\u8F83",{properties:{defaultColWidth:16,defaultRowHeight:18}});this.deviceSheet(o,e,i);let[r,n]=(await C.messageBus.rpcCall("compareSch/downloadNetData","")).message,a=this.workbookResult.addWorksheet("\u7F51\u7EDC\u6BD4\u8F83",{properties:{defaultColWidth:16,defaultRowHeight:18}});this.netSheet(a,r,n),this.workbookResult.xlsx.writeBuffer().then(s=>{ya(new Blob([s],{type:gEr}),"\u539F\u7406\u56FE\u6BD4\u8F83\u8303\u56F4\u7ED3\u679C.xlsx")})}};var wWi=[{key:"Component",value:!0,treeNodeType:st.SYMBOL},{key:"Wire",value:!0,treeNodeType:st.WIRE},{key:"Bus",value:!0,treeNodeType:st.BUS},{key:"Netflag",value:!0,treeNodeType:st.NETFLAG},{key:"Netport",value:!0,treeNodeType:st.NETPORT},{key:"Off Page Connector",value:!0,treeNodeType:st.OFFPAGECONNECTOR},{key:"Net Label",value:!0,treeNodeType:st.NETLABEL},{key:"Short Symbol",value:!0,treeNodeType:st.SHORTSYMBOL},{key:"None Electric Symbol",value:!0,treeNodeType:st.NONEELECSYMBOL},{key:"Differential Pairs Flag",value:!0,treeNodeType:st.DIFFPAIRFLAG},{key:"Mask Region",value:!0,treeNodeType:st.MASKREGION},{key:"Polyline",value:!0,treeNodeType:st.POLYLINE},{key:"Arc",value:!0,treeNodeType:st.ARC},{key:"Circle",value:!0,treeNodeType:st.CIRCLE},{key:"Bezier",value:!0,treeNodeType:st.BEZIER},{key:"Rect",value:!0,treeNodeType:st.RECT},{key:"Text",value:!0,treeNodeType:st.TEXT},{key:"Ellipse",value:!0,treeNodeType:st.ELLIPSE},{key:"Image",value:!0,treeNodeType:st.IMAGE},{key:"Table",value:!0,treeNodeType:st.TABLE}],CWi=[{key:"Name",title:"Name",value:!0},{key:"ID",title:"ID",value:!0},{key:"Unique ID",title:"Unique ID",value:!0},{key:"Device",title:"Device",value:!0},{key:"Symbol",title:"Symbol",value:!0},{key:"Footprint",title:"Footprint",value:!0},{key:"Add into BOM",title:"Add into BOM",value:!0},{key:"Convert to PCB",title:"Convert to PCB",value:!0},{key:"PCB Layer",title:"PCB Layer",value:!0},{key:"Value",title:"Value",value:!0},{key:"Supplier Part",title:"Supplier Part",value:!0},{key:"Supplier Footprint",title:"Supplier Footprint",value:!0},{key:"Description",title:"Description",value:!0},{key:"Group",title:"Group",value:!0},{key:"Reuse Block",title:"Reuse Block",value:!0},{key:"Group ID",title:"Group ID",value:!0},{key:"Channel ID",title:"Channel ID",value:!0}],bEr=(t,e)=>{let i=new Map;it(t,(r,n)=>{i.set(n.key,n.value)});let o=!0;for(let r=0,n=e.length;r<n;r++){let a=e[r];if(a.value!==i.get(a.key)){o=!1;break}}return o},K8t=class extends qe{constructor(){super(...arguments);this._schematicId1=null;this._schematicId2=null;this._rangeContent="ShowAll";this._activeRange="Device";this._deviceTableData=[];this._netWorkTableData=[];this._showDifferenceObject1={};this._showDifferenceObject2={};this._deviceTypeList=wWi;this._netWorkTypeList=[];this._attrFilterList=CWi;this._activeMode="Filter";this._filterValue="";this._deviceTreeData1=[];this._deviceTreeData2=[];this._netWorkTreeData1=[];this._netWorkTreeData2=[];this._deviceStartIndex=0;this._netWorkStartIndex=0;this._deviceScrollTop=0;this._netWorkScrollTop=0;this._deviceContentHeight=0;this._netWorkContentHeight=0;this._deviceContainerHeight=0;this._netWorkContainerHeight=0;this._devicePrefixHeight=0;this._netWorkPrefixHeight=0;this._lastAttrFilterList=CWi}get activeRange(){return this._activeRange}set activeRange(i){this._activeRange=i,C.messageBus.publish("compareSch/toggleActiveRange",i),this.notify()}get rangeContent(){return this._rangeContent}set rangeContent(i){this._rangeContent=i,C.messageBus.publish("compareToggleRangeContent",i),this.notify()}get deviceTypeList(){return this._deviceTypeList}set deviceTypeList(i){this._deviceTypeList=i,C.messageBus.publish("compareSch/deviceTypeList",i),this.notify()}get attrFilterList(){return this._attrFilterList}set attrFilterList(i){let o=bEr(this._lastAttrFilterList,i);this._attrFilterList=i,this._lastAttrFilterList=ue.deepClone(i),o||C.messageBus.publish("compareSch/attrFilter",i),this.notify()}get attrFilterArr(){let i=[];return it(this._attrFilterList,(o,r)=>{r.value||i.push(r.key)}),i.join(",")}get netWorkTypeList(){return this._netWorkTypeList}set netWorkTypeList(i){this._netWorkTypeList=i,C.messageBus.publish("compareSch/netWorkTypeList",i),this.notify()}get activeMode(){return this._activeMode}set activeMode(i){this._activeMode=i}get deviceTableData(){return this._deviceTableData}set deviceTableData(i){this._deviceTableData=i,this.notify()}get netWorkTableData(){return this._netWorkTableData}set netWorkTableData(i){this._netWorkTableData=i,this.notify()}get showDifferenceObject1(){return this._showDifferenceObject1}set showDifferenceObject1(i){this._showDifferenceObject1=i,this.notify()}get showDifferenceObject2(){return this._showDifferenceObject2}set showDifferenceObject2(i){this._showDifferenceObject2=i,this.notify()}get filterValue(){return this._filterValue}set filterValue(i){this._filterValue=i}get deviceTreeData1(){return this._deviceTreeData1}set deviceTreeData1(i){this._deviceTreeData1=i,this.notify()}get deviceTreeData2(){return this._deviceTreeData2}set deviceTreeData2(i){this._deviceTreeData2=i,this.notify()}init(){this.rangeContent="ShowAll",this.activeRange="Device",this.deviceTableData=[],this.netWorkTableData=[],this.showDifferenceObject1={},this.showDifferenceObject2={},this._deviceTypeList=wWi,this._netWorkTypeList=[],this.activeMode="Filter",this.filterValue=""}},$c=new K8t,xWi=new SKe;var jB=L(z());function q8t({item:t,index:e,startIndex:i,onContextMenu:o,isProject1:r,range:n}){let{id:a,path:s,treeNodeType:l,text:c,margin:d,childLen:u,status:p,selectedStatus:m,compareStatus:h}=t,{showDifferenceObject1:f,showDifferenceObject2:g,filterValue:b}=$c;Ce($c);let y=J(),w=be.bind(J8t.default.locals),x=be.bind(SWi.default.locals),S=()=>r&&s in f?f[s]:!r&&s in g?g[s]:t.showDifference;Ae(J8t.default);let T=(0,Z8t.useRef)(null),M=(0,Z8t.useRef)(null),A=Array.from({length:d},(H,q)=>q+1).map(H=>(0,jB.jsx)("span",{className:w("tree-indent")},H)),D=H=>{switch(H){case"difference":return"icon-color-red";case"unique":return"icon-color-blue";case"placeholder":return"icon-color-gray";default:return""}},E=`${w("tree-indent")}  ${w("tree-join")}`,N=`${w("tree-hit")} ${w("tree-expanded")}`,R=`${w("tree-hit")} ${w("tree-collapsed")}`,v=`${w("tree-node")} ${m?w("tree-node-selected"):""}`,k=`${u<1?E:p?N:R}`,P=x(IKe(t),D(h)),O=`${zMe(l),w("tree-title")} ${w(h)}`,_=`${w("tree-icon")}    ${S()?"icon-eda-eye":"eye-hidden"}`,j=(H,q)=>{H.detail===2?(clearTimeout(M.current),C.messageBus.publish("compareSch/dblClick",q.matchPath),H.stopPropagation()):(clearTimeout(M.current),M.current=setTimeout(()=>{(0,TWi.default)(H.target).has("input").length<1&&C.messageBus.publish("compareSch/click",q.matchPath)},260),H.stopPropagation())},B=(H,q)=>{C.messageBus.publish("compareSch/clickEye",{path:q.matchPath,status:!S()}),H.stopPropagation()},V=H=>{C.messageBus.publish("compareSch/addSelected",t.matchPath),C.messageBus.publish("compareSch/toggleState",t.matchPath),H.stopPropagation()},G=(H,q)=>{let U=h!=="placeholder"?y(bfe(l))+" "+H:"-";if(U.length>20&&l===st.TEXT&&(U=U.substring(0,20)+"..."),q){if(q){let F=q.replace(/[\$\?\.\*\+\(\)\[\]\|\\]/g,ae=>"\\"+ae),K=new RegExp(F,"i");return U.replace(K,ae=>`<span class=${w("hightlight")}>${ae}</span>`)}}else return U},Q=[st.SCH,st.SHEET].includes(l)||["placeholder","equal"].includes(h)?(0,jB.jsx)("span",{className:w("tree-indent")},e):(0,jB.jsx)("span",{className:_,onClick:H=>{B(H,t)}});return(0,jB.jsx)("li",{ref:T,children:(0,jB.jsxs)("div",{className:v,"node-id":a,"data-path":s,"node-type":l,title:ue.htmlEncode(h==="placeholder"?"-":t.text),onClick:H=>{j(H,t)},onContextMenu:H=>o&&o(H,t),children:[n==="Device"&&Q,A,(0,jB.jsx)("span",{className:k,onClick:H=>{V(H)}}),(0,jB.jsx)("span",{className:`${P} ${w("tree-icon")} `}),(0,jB.jsx)("span",{className:O,"data-text":ue.htmlEncode(c),dangerouslySetInnerHTML:{__html:G(c,b)}})]})})}var BB=L(z());function $8t({treeData1:t,treeData2:e,id:i,rangeContent:o,scrollTop:r,startIndex:n,contentHeight:a,containerHeight:s,prefixHeight:l,range:c}){let d=J(),u=T=>d({value:T,context:"compareSch"});Ae(X8t.default);let p=(0,mX.useRef)(null),m=(0,mX.useRef)(null),h=(0,mX.useRef)(null),{locals:f}=X8t.default,g=be.bind(f),[b,y,w]=La();(0,mX.useEffect)(()=>{if(b){let T=(0,kD.default)(p.current).scrollTop();C.messageBus.publish("compareRender",{start:T,isScroll:!0})}},[b]),(0,mX.useEffect)(()=>(y(p.current),()=>{w()}),[p.current]);let x=Gr(T=>{let M=(0,kD.default)(T.target).scrollLeft(),I=parseInt((0,kD.default)(T.target).attr("scrollLeft"));if(Math.abs(M-I)<6){let A=(0,kD.default)(p.current).scrollTop();Math.abs(r-A)>5&&C.messageBus.publish("compareRender",{start:A,isScroll:!0})}else(0,kD.default)(T.target).attr("scrollLeft",M)},10);(0,mX.useEffect)(()=>{let T=parseInt(getComputedStyle(p.current).height);a>=s?((0,kD.default)(m.current).height(a+16),(0,kD.default)(h.current).height(a)):((0,kD.default)(m.current).height(p.current.clientHeight),(0,kD.default)(h.current).height(p.current.clientHeight)),(0,kD.default)(p.current).scrollTop(r);let M=p.current.scrollHeight,I=p.current.clientHeight;M>T&&T>I&&((0,kD.default)(m.current).height(T),(0,kD.default)(h.current).height(T))},[a,s,r,l]);let S=async(T,M,I)=>{T.stopPropagation(),T.preventDefault(),pl.open({menuConfig:{menuId:"compare_treeMenu",defaultConfig:[{id:"expand_lower",title:"Expand All",isTranslate:{},hotkeyCmd:"expand_lower",subHotkeyId:"leftTreeMenu_expand_lower",disable:M.childLen<1,callback:A=>{let D=M.matchPath;C.messageBus.publish("compareSch/addSelected",D),C.messageBus.publish("compareSch/toggleStateAll",{matchPath:D,cmd:"expand_all"})}},{id:"collapse_lower",title:"Collapse All",isTranslate:{},hotkeyCmd:"collapse_lower",subHotkeyId:"leftTreeMenu_collapse_lower",disable:M.childLen<1,callback:A=>{let D=M.matchPath;C.messageBus.publish("compareSch/addSelected",D),C.messageBus.publish("compareSch/toggleStateAll",{matchPath:D,cmd:"collapse_all"})}}]},position:{x:T.pageX-5,y:T.pageY-5}})};return(0,BB.jsx)("div",{className:g("content-box"),children:(0,BB.jsxs)("div",{id:i,className:g("box-item compareTreeContainer"),onScroll:x,ref:p,children:[(0,BB.jsx)("div",{className:g("border"),ref:h}),(0,BB.jsx)("div",{className:g("phantom"),ref:m}),(0,BB.jsx)("ul",{className:g("prject1 tree"),style:{transform:`translate3d(0, ${r}px,0)`,top:-l,paddingLeft:"10px"},children:t.map((T,M)=>(0,BB.jsx)(q8t,{range:c,item:T,isProject1:!0,index:M,startIndex:n,onContextMenu:I=>S(I,T,M)},T.path+M))}),(0,BB.jsx)("ul",{className:g("prject2 tree"),style:{transform:`translate3d(0, ${r}px,0)`,top:-l,paddingLeft:"10px"},children:e.map((T,M)=>(0,BB.jsx)(q8t,{range:c,item:T,isProject1:!1,index:M,startIndex:n,onContextMenu:I=>S(I,T,M)},T.path+M))})]})})}var nae=L(Se());var FMe=L(Se());var eAt=L(IWi());var hX=L(z()),{locals:wEr}=eAt.default,{container:CEr}=wEr,vKe=class extends qe{constructor(){super(...arguments);this.data=null}update(i){this.data=i,this.notify()}},LWi=({id:t,symbolNameSelectorStore:e,needEqual:i=!0,setOptionsShow:o,optionShow:r=!0})=>{Ae(eAt.default),Ce(e,()=>!(e.data&&e.data.id!==t));let n=J(),{data:a}=e,s=(0,FMe.useRef)(null),l=(0,FMe.useRef)(null),c=b=>{if(e.data&&(l!=null&&l.current)){if(l.current.contains(b.target)||e.data.inputRef===b.target)return;let{onBlur:y}=a;y()}};(0,FMe.useEffect)(()=>{let b=Array.from(window.frames).map(w=>w).filter(Boolean),y=c;return b.forEach(w=>{try{w.addEventListener("pointerdown",y)}catch(x){console.log(x)}}),document.body.addEventListener("pointerdown",y),()=>{b.forEach(w=>{try{w.removeEventListener("pointerdown",y)}catch(x){console.log(x)}}),document.body.removeEventListener("pointerdown",y)}});let d=(b,y)=>{let w=!1,x=e.data.valueOptions;for(let S=0;S<x.length;S++)x[S].key===b&&(w=!x[S].value);return(0,hX.jsx)("div",{title:b,style:{display:"flex",flexWrap:"nowrap",justifyContent:"space-between",alignContent:"center",alignItems:"center"},children:(0,hX.jsx)(qt,{id:"customProperty",checked:w,onChange:(S,T)=>{let M=x.map(I=>(I.key===b&&(I.value=!S),I));e.update({...e.data,valueOptions:M})},children:n(b)})})};if(!a)return(0,hX.jsx)(hX.Fragment,{});let{valueOptions:u,value:p,style:m,onChange:h,inputRef:f,maxHeight:g}=a;return(0,hX.jsx)("div",{className:CEr,style:{...m,zIndex:9999,display:r?"block":"none"},ref:l,children:(0,hX.jsx)(j2,{ref:s,positionFixed:!1,value:"",filterCN:!0,selectList:u.map(b=>b.key),selectAlwaysShow:!0,clickSelectItemNotSetInput:!0,selectListStyle:{position:"static",width:"auto",boxShadow:"none",maxHeight:`${g-30}px`},optionContentRender:d,onSelectItemClick:b=>{let y=f,w=[],x=[];it(e.data.valueOptions,(S,T)=>{T.key===b?T.value&&w.push(T.key):T.value||w.push(T.key),x.push(T)}),y.value=w.join(","),h(w.join(","))},onShowState:b=>{o(b)}})})};var aae=L(z()),DKe=!1,xEr=new vKe,vWi=t=>{let{dataTest:e,value:i,onChange:o,valueOptions:r,disabled:n,position:a="absolute",symbolStore:s}=t,l=(0,nae.useRef)(null),c=J(),d=Mt(),[u,p]=(0,nae.useState)(!1),[m,h]=(0,nae.useState)(s||xEr);(0,nae.useEffect)(()=>{l.current&&(l.current.parentElement.style.overflow="unset",l.current.parentElement.style.position="relative",m.data&&m.update({...m.data,inputRef:l.current,id:d}))},[l,m]);function f(g){return g.split(",").map(y=>c(y)).join(",")}return(0,aae.jsxs)(aae.Fragment,{children:[(0,aae.jsx)(Kt,{dataTest:e,autoFocus:!1,readOnly:!0,ref:l,defaultValue:(m.data,f(i)),enterTriggerBlur:!0,clickTriggerSelect:!1,style:{height:"24px",borderRadius:"2px",overflow:"hidden",textOverflow:"ellipsis"},onFocus:g=>{p(!0);let b=g.target,y=f(i).length;b.setSelectionRange(y,y)},onBlur:g=>{DKe=!1;let b=g.currentTarget.value;i===b||m.data==null&&f(i)===b||(o(b),$c.attrFilterList=m.data.valueOptions,m.update(null))},onClick:g=>{if(DKe)return;DKe=!0,g.target.value=i;let{left:b,bottom:y,width:w,height:x}=g.target.getBoundingClientRect(),S=window.innerHeight-y-30,T=S-220>0?"220":S;m.update({id:d,inputRef:g.target,value:i,valueOptions:r,maxHeight:T,style:{position:a,right:"0px",top:(a==="fixed"?y:x)+"px",width:w+"px",maxHeight:T+"px"},onChange:M=>{o(M)},onBlur:()=>{setTimeout(()=>{m.data&&($c.attrFilterList=m.data.valueOptions,m.data.inputRef.value=f(m.data.inputRef.value),m.update(null),p(!1),DKe=!1)})}})}},(m.data,f(i))),(0,aae.jsx)(LWi,{id:d,symbolNameSelectorStore:m,setOptionsShow:g=>{p(g)},optionShow:u})]})};var fy=L(z()),sae=be.bind(DWi.default.locals),EWi=()=>{Ce($c);let t=ca(),e=J(),{deviceTypeList:i,netWorkTypeList:o,activeRange:r,rangeContent:n,activeMode:a,filterValue:s,attrFilterList:l}=$c,c=null,[d,u]=(0,Q0.useState)(a),[p,m]=(0,Q0.useState)({curNum:0,totalNum:0}),[h,f]=(0,Q0.useState)(!0),[g,b]=(0,Q0.useState)($c.attrFilterArr),[y,w]=(0,Q0.useState)([]),[x,S]=(0,Q0.useState)([]),[T,M]=(0,Q0.useState)([]),[I,A]=(0,Q0.useState)([]),[D,E]=(0,Q0.useState)(0),[N,R]=(0,Q0.useState)(0),[v,k]=(0,Q0.useState)(0),[P,O]=(0,Q0.useState)(0),[_,j]=(0,Q0.useState)(0),[B,V]=(0,Q0.useState)(0),[G,Q]=(0,Q0.useState)(0),[H,q]=(0,Q0.useState)(0),[U,F]=(0,Q0.useState)(0),[K,te]=(0,Q0.useState)(0),ae=(0,Q0.useRef)({render:null}),pe=(0,Q0.useRef)(null),Z=()=>{w([]),S([]),M([]),A([]),E(0),R(0),k(0),O(0),j(0),V(0),Q(0),q(0),F(0),te(0),m({...p,curNum:0,totalNum:0})};(0,Q0.useEffect)(()=>(ae.current.render=C.messageBus.subscribe("compareSch/render",async({treeData1:re,treeData2:Y,scrollTop:X,startIndex:ie,options:de,activeRange:fe,showDifferenceObject1:ye,showDifferenceObject2:Le})=>{fe==="Device"?(w(re),S(Y),E(X),k(ie),Q(de.containerHeight),j(de.contentHeight),F(de.prefixHeight)):(M(re),A(Y),R(X),O(ie),q(de.containerHeight),V(de.contentHeight),te(de.prefixHeight)),$c.showDifferenceObject1=ye,$c.showDifferenceObject2=Le}),()=>{var re;(re=ae.current.render)==null||re.cancel()}),[r,n,i,o]),(0,Q0.useEffect)(()=>{r==="Device"?f(y.length===0):r==="Network"&&f(T.length===0)},[r,y,T]);let ee=(0,Q0.useCallback)(async re=>{let Y=re.trim();$c.filterValue=Y,t();let{message:{curNum:X,totalNum:ie}}=await C.messageBus.rpcCall("compareSch/rangeSearch",[Y,d==="Filter"]);m({...p,curNum:X,totalNum:ie})},[r,d]),ce=(0,Q0.useCallback)(async re=>{u(re);let{curNum:Y,totalNum:X}=(await C.messageBus.rpcCall("compareSch/searchChangeInit",re==="Filter")).message;m({...p,curNum:Y,totalNum:X})},[d]),ne=(0,Q0.useCallback)(async(re,Y,X)=>{if(re==="prev"&&!Y){let ie=p.curNum-1,{curNum:de,totalNum:fe}=(await C.messageBus.rpcCall("compareSch/prevOrNext",ie)).message;m({...p,curNum:de,totalNum:fe})}if(re==="next"&&!X){let ie=p.curNum+1,{curNum:de,totalNum:fe}=(await C.messageBus.rpcCall("compareSch/prevOrNext",ie)).message;m({...p,curNum:de,totalNum:fe})}},[p.curNum,p.totalNum]),oe=(0,Q0.useCallback)(async()=>{await C.messageBus.rpcCall("compareSch/init")},[]);return(0,Q0.useEffect)(()=>{c!==r&&(m({...p,curNum:0,totalNum:0}),$c.filterValue="",ee(""),c=r)},[r]),(0,fy.jsxs)("div",{className:sae("center-container"),children:[(0,fy.jsxs)("div",{className:sae("header"),children:[(0,fy.jsxs)("section",{style:{display:"flex",flexBasis:"60%"},children:[(0,fy.jsx)("div",{className:sae("tab-container"),children:(0,fy.jsx)(yl,{lists:dWi,direction:"top",type:"card",defaultActiveKey:r,onClick:re=>{$c.activeRange=re}})}),(0,fy.jsx)(_B,{style:{margin:"0 5px"},handleInputChangeCb:ee,handleModeChangeCb:ce,filterValue:s,resultValue:p,clickPrevNextCb:ne,clickClearCb:oe})]}),(0,fy.jsxs)("section",{style:{display:"flex",flexBasis:"40%"},children:[(0,fy.jsxs)("label",{style:{textOverflow:"ellipsis",width:"98px",lineHeight:"25px",overflow:"hidden",whiteSpace:"nowrap"},children:[e("Attributes not to be compared"),":"]}),(0,fy.jsx)(vWi,{value:g,valueOptions:l,onChange:re=>{b(re)}})]}),(0,fy.jsxs)("section",{className:sae("btn-container"),children:[(0,fy.jsx)(Me,{size:"sm",disabled:h,onClick:re=>{$c.init(),Z(),C.messageBus.publish("compareSch/refresh")},children:"Refresh"}),(0,fy.jsx)(Me,{size:"sm",onClick:re=>{$c.init(),Z(),C.messageBus.publish("compareSch/clearInit")},children:"Clear"}),(0,fy.jsx)(Me,{size:"sm",disabled:h,onClick:re=>{xWi.downloadRangeResult()},children:"Export"})]})]}),(0,fy.jsxs)("div",{className:sae("compare-content"),children:[(0,fy.jsx)("div",{className:sae("panel"),style:{display:`${r==="Device"?"":"none"}`},children:(0,fy.jsx)($8t,{range:"Device",treeData1:y,treeData2:x,startIndex:v,rangeContent:n,scrollTop:D,id:"compareDeviceContainer",contentHeight:_,containerHeight:G,prefixHeight:U})}),(0,fy.jsx)("div",{className:sae("panel"),style:{display:`${r==="Network"?"":"none"}`},children:(0,fy.jsx)($8t,{range:"Network",treeData1:T,treeData2:I,startIndex:P,rangeContent:n,scrollTop:N,id:"compareNetWorkContainer",contentHeight:B,containerHeight:H,prefixHeight:K})})]})]})};var VMe=L(Se());var OWi=L(BMe());var UMe=L(Se());var tAt=L(NWi());var PD=L(z()),kWi=t=>{Ae(tAt.default);let e=be.bind(tAt.default.locals),{schematicData:i,activeSchematic:o}=t,[r,n]=(0,UMe.useState)((o==null?void 0:o.schematicUuid)||""),[a,s]=(0,UMe.useState)(""),l=i.map(u=>({value:u.schematicUuid,text:u.schematicName,showOriginalText:!0})),c=J(),d=(0,UMe.useCallback)(()=>{r&&a&&r!==a?(It.setTabDisplayNone(co.id,"sch-comparison-result",!1),le.close(),setTimeout(async()=>{co.handleClick("sch-comparison-result"),await C.messageBus.rpcCall("compareSch/initPrj",{schematicId1:r,schematicId2:a})},50)):r===a&&(De({type:"info",msg:"Schematic1 is the same as Schematic2!"}),console.error("\u4E24\u4E2A\u539F\u7406\u56FE\u91CD\u590D"))},[r,a]);return(0,PD.jsxs)("div",{className:e("container"),children:[(0,PD.jsxs)("div",{children:[(0,PD.jsxs)("section",{className:e("select-container"),children:[(0,PD.jsxs)("span",{children:[c("Schematic"),"1:"]}),(0,PD.jsx)(xt,{list:l,onChange:u=>{n(u)},value:r,containerStyle:{width:"calc(100% - 70px)"}})]}),(0,PD.jsxs)("section",{className:e("select-container"),children:[(0,PD.jsxs)("span",{children:[c("Schematic"),"2:"]}),(0,PD.jsx)(xt,{list:l,onChange:u=>{s(u)},value:a,containerStyle:{width:"calc(100% - 70px)"}})]})]}),(0,PD.jsxs)("footer",{style:{textAlign:"right"},children:[(0,PD.jsx)(Me,{type:"primary",dataTest:"Start comparing",disabled:!r||!a,onClick:d,style:{marginRight:"8px"},children:c("Start comparing")}),(0,PD.jsx)(Me,{dataTest:"Cancel",onClick:()=>{le.close()},children:c("Cancel")})]})]})};var PWi=L(z());async function AKe(){let t=bt.sch_comparison,e=he.getActiveTab(),i=(await C.messageBus.rpcCall("getBOMNetListSelectList",e)).message,o,r;if(i){let{rangeSchList:p}=i;r=p.map((m,h)=>{var b,y;let{boardName:f}=m,g=f?(y=(b=m.title)==null?void 0:b.split(`${f} : `))==null?void 0:y[1]:m.title;return h===0&&e!=="0"&&(o={schematicName:g,schematicUuid:m.id}),{schematicName:g,schematicUuid:m.id}})}let{containerId:n,title:a,width:s,closed:l,mask:c,esc:d,height:u}=t;le.open({id:n,title:a,width:s,closed:l,mask:c,esc:d,children:(0,PWi.jsx)(kWi,{schematicData:r,activeSchematic:o}),height:u,onClose:()=>{}})}var zB=L(z()),RWi=()=>{let t=J(),e=be.bind(OWi.default.locals),[i,o]=(0,VMe.useState)(!0),{deviceTypeList:r,netWorkTypeList:n,activeRange:a,rangeContent:s}=$c;Ce($c),(0,VMe.useEffect)(()=>{let c=C.messageBus.subscribe("compareSch/netWorkType",u=>{$c.netWorkTypeList=u}),d=C.messageBus.subscribe("compareSch/contentInit",()=>{$c.init()});return()=>{c.cancel(),d.cancel()}},[]),(0,VMe.useEffect)(()=>{if(a==="Device"){let c=r.every(d=>d.value);o(c)}else{let c=n.every(d=>d.value);o(c)}},[r,n,a]);let l=c=>{};return Bt(c=>{$c.init(),C.messageBus.publish("compareSch/clearInit"),It.setTabDisplayNone("bottom-bar-container","sch-comparison-result",!0)}).key(s0.ON_CLOSED),(0,zB.jsxs)("div",{className:e("left-container"),children:[(0,zB.jsxs)("section",{className:e("header"),children:[(0,zB.jsx)(Me,{style:{height:"28px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"normal",lineHeight:"normal",marginRight:"8px"},size:"sm",onClick:c=>{AKe()},dataTest:"Schematic Comparison",children:"Schematic Comparison"}),(0,zB.jsx)(qt,{checked:s==="ShowDiff",onChange:c=>{$c.rangeContent=c?"ShowDiff":"ShowAll"},textStyle:{maxWidth:"73px",whiteSpace:"normal",lineHeight:"normal"},dataTest:"Show Only Differences",children:"Show Only Differences"})]}),(0,zB.jsxs)("section",{className:e("bottom"),children:[(0,zB.jsx)(qt,{className:e("check-line"),checked:i,dataTest:"selectAll",onChange:c=>{a==="Device"?$c.deviceTypeList=$c.deviceTypeList.map(({key:d,value:u,treeNodeType:p})=>(u=c,{key:d,value:u,treeNodeType:p})):$c.netWorkTypeList=$c.netWorkTypeList.map(({key:d,value:u})=>(u=c,{key:d,value:u})),l(c)},children:`${t("Select All")}`},"selectAll"),a==="Device"?r.map((c,d)=>(0,zB.jsx)(qt,{className:e("check-line"),checked:c.value,onChange:u=>{$c.deviceTypeList=$c.deviceTypeList.map(({key:p,value:m,treeNodeType:h})=>(p==c.key&&(m=u),{key:p,value:m,treeNodeType:h}))},children:c.key},c.key)):n.map((c,d)=>(0,zB.jsx)(qt,{className:e("check-line"),checked:c.value,translate:!1,onChange:u=>{$c.netWorkTypeList=$c.netWorkTypeList.map(({key:p,value:m})=>(p==c.key&&(m=u),{key:p,value:m}))},children:c.key},d))]})]})};var FB=L(Se());var iAt=L(BMe());var OD=L(z()),_Wi=()=>{let t=J();Ae(iAt.default);let e=be.bind(iAt.default.locals),[i,o]=(0,FB.useState)([]),[r,n]=(0,FB.useState)([]),[a,s]=(0,FB.useState)([]),[l,c]=(0,FB.useState)([]),[d,u]=(0,FB.useState)(0),{activeRange:p,rangeContent:m,activeMode:h,deviceTableData:f,netWorkTableData:g}=$c;Ce($c),(0,FB.useEffect)(()=>{let y=C.messageBus.subscribe("compareSch/deviceTableData",async x=>{$c.deviceTableData=x}),w=C.messageBus.subscribe("compareSch/netWorkTableData",async x=>{$c.netWorkTableData=x});return()=>{y.cancel(),w.cancel()}},[]),(0,FB.useEffect)(()=>{u(()=>document.querySelector("#sch-comparison-result").clientHeight-8);let y=new ResizeObserver(w=>{requestAnimationFrame(()=>{u(()=>document.querySelector("#sch-comparison-result").clientHeight-8)})});return y.observe(document.querySelector("#sch-comparison-result")),()=>{y.unobserve(document.querySelector("#sch-comparison-result"))}},[]);let b=({sheet:y,id:w},x=!1)=>{let S={sheet:y,id:w,fit:x?1:0};C.messageBus.publish("updateSelectEle",S)};return(0,FB.useEffect)(()=>{var y,w,x,S,T,M,I,A;if(p==="Device"){let D=[{key:"property",name:t("Property"),width:.3,i18n:!0,render:v=>{let{row:k}=v;return(0,OD.jsx)("span",{children:t(k.rawProperty)})}},{key:"value1",name:((y=f[0])==null?void 0:y.title)||"-",width:.35,render:v=>{let{row:k}=v,P=Q8t.includes(k.rawProperty)?t(k==null?void 0:k.value1):k==null?void 0:k.value1;return(0,OD.jsx)("span",{className:e(k.compareStatus1),children:P})}},{key:"value2",name:((w=f[1])==null?void 0:w.title)||"-",width:.35,render:v=>{let{row:k}=v,P=Q8t.includes(k.rawProperty)?t(k==null?void 0:k.value2):k==null?void 0:k.value2;return(0,OD.jsx)("span",{className:e(k.compareStatus2),children:P})}}],E=[],N=((x=f[0])==null?void 0:x.attrTableArr)||[],R=((S=f[1])==null?void 0:S.attrTableArr)||[];it(N,(v,k,P)=>{let{path:O,uuid:_,compareStatus:j,key:B,value:V}=k,{path:G,uuid:Q,compareStatus:H,key:q,value:U}=R[P];E.push({property:t(B),rawProperty:B,index:P,value1:V,value2:U,tabId1:O||"",tabId2:G||"",uuid1:_,uuid2:Q,compareStatus2:H,compareStatus1:j})}),o(D),n(E)}else if(p==="Network"){let D=[{key:"value1",name:((T=g[0])==null?void 0:T.title)||"-",width:.5,render:v=>{let{row:k}=v;return(0,OD.jsx)("span",{className:e(k.compareStatus1),onClick:P=>{k.compareStatus1!=="placeholder"&&b({sheet:k.tabId1,id:k.uuid1},!1)},onDoubleClick:P=>{k.compareStatus1!=="placeholder"&&b({sheet:k.tabId1,id:k.uuid1},!0)},children:(k==null?void 0:k.value1)||"-"})}},{key:"value2",name:((M=g[1])==null?void 0:M.title)||"-",width:.5,render:v=>{let{row:k}=v;return(0,OD.jsx)("span",{className:e(k.compareStatus2),onClick:P=>{k.compareStatus2!=="placeholder"&&b({sheet:k.tabId2,id:k.uuid2},!1)},onDoubleClick:P=>{k.compareStatus2!=="placeholder"&&b({sheet:k.tabId2,id:k.uuid2},!0)},children:(k==null?void 0:k.value2)||"-"})}}],E=[],N=((I=g[0])==null?void 0:I.pinTableArr)||[],R=((A=g[1])==null?void 0:A.pinTableArr)||[];it(N,(v,k,P)=>{let{path:O,symbolId:_,compareStatus:j,title:B,uuid:V,displayId:G,tabId:Q}=k,{path:H,symbolId:q,compareStatus:U,title:F,uuid:K,displayId:te,tabId:ae}=R[P];E.push({value1:j==="placeholder"?"-":B,value2:U==="placeholder"?"-":F,index:P,path1:O,path2:H,tabId1:Q,tabId2:ae,uuid1:V,uuid2:K,symbolId1:_,symbolId2:q,compareStatus1:j,compareStatus2:U})}),s(D),c(E)}},[p,f,g]),(0,OD.jsx)("div",{style:{width:"calc(55% - 287px)",height:"100%"},children:(0,OD.jsxs)("div",{id:"compareSchTable",className:e("compare-content"),style:{width:"100%",height:"100%"},children:[(0,OD.jsx)("div",{className:e("panel"),style:{display:`${p==="Device"?"":"none"}`,height:"100%"},children:(0,OD.jsx)(xi,{index:"index",height:d,number:!0,stockade:!0,columns:i,rows:r,border:!0,openVirtualScroll:!1,isCtrlSelect:!1,isShiftSelect:!1,onClick:y=>{},onContextMenu:()=>{}})}),(0,OD.jsx)("div",{className:e("panel"),style:{display:`${p==="Network"?"":"none"}`,height:"100%"},children:(0,OD.jsx)(xi,{index:"index",height:d,number:!0,stockade:!0,columns:a,rows:l,border:!0,openVirtualScroll:!1,isCtrlSelect:!1,isShiftSelect:!1,onClick:y=>{},onContextMenu:()=>{}})})]})})};var oAt=L(BMe()),lae=L(z()),SEr=()=>{Ae(oAt.default);let t=be.bind(oAt.default.locals);return(0,lae.jsxs)("div",{className:t("sch-comparison-result-wrap"),children:[(0,lae.jsx)(RWi,{}),(0,lae.jsx)(EWi,{}),(0,lae.jsx)(_Wi,{})]})},MEr=null;function BWi(){MEr||jWi.default.createRoot(document.querySelector("#sch-comparison-result")).render((0,lae.jsx)(SEr,{}))}var QWi=L(Hr());var FWi=L(Se());var zWi=L(Se());function yfe(t,e){if(/\=\{(.*)\}/gi.test(t)){let i=/\=\{(.*)\}/gi.exec(t);if(i&&i[1])return e[i[1]]||""}return t||""}var bh=class{static async ajaxMatchForEda(e){var o;let i=vo?C.apis.eda.easyMatchForEda:C.apis.components.matchForEda;try{let r=await Vc(i,JSON.stringify(e),void 0,{headers:{"Content-Type":"application/json"}});if(Wh(r)){let n=r==null?void 0:r.data;vo&&(o=r==null?void 0:r.result)!=null&&o.data&&(n=JSON.parse(r.result.data).data),n&&it(n,(a,s)=>{let{comment:l,footprint:c,componentCode:d}=s,u=[l,c,d].join("@");this.matchForEdaCache.set(u,s)})}else Wh(r)||console.warn("\u63A5\u53E3\u8C03\u7528\u5931\u8D25",i,r==null?void 0:r.msg)}catch{console.error("\u63A5\u53E3\u62A5\u9519",i)}}static async ajaxGetSmtPartInfo(e){if(!(Ko||_t||Nt||!e.length))try{await Ro(this.chunkArray(e,100),async(i,o)=>{let r=await Vc(C.apis.eda.getSmtPartInfo,{numbers:o,path:bn});Wh(r)&&r.result?r.result.forEach(n=>{n!=null&&n.component_code&&(this.supplierPartCache.has(n.component_code)?this.supplierPartCache.set(n.component_code,{...this.supplierPartCache.get(n.component_code),smtStockNum:n==null?void 0:n.stock_num,price:n==null?void 0:n.maxPrice}):this.supplierPartCache.set(n.component_code,{smtStockNum:n==null?void 0:n.stock_num,price:n==null?void 0:n.maxPrice}))}):Wh(r)||console.warn("\u63A5\u53E3\u8C03\u7528\u5931\u8D25",C.apis.eda.getSmtPartInfo,r.msg)})}catch{console.error("\u63A5\u53E3\u62A5\u9519",C.apis.eda.getSmtPartInfo)}}static async ajaxEdaProductSearch(e){try{await Ro(this.chunkArray(e,200),async(i,o)=>{var n;let r=await Ol.postJSON(C.apis.eda.productSearch,{codes:o.join(",")},void 0);Wh(r)&&((n=r==null?void 0:r.result)!=null&&n.productList)?o.forEach(a=>{let s=r.result.productList.find(l=>(l==null?void 0:l.code)===a||(l==null?void 0:l.number)===a);if(s){let l=(s==null?void 0:s.code)||(s==null?void 0:s.number);if(!l)return;this.supplierPartCache.has(l)?this.supplierPartCache.set(l,{...this.supplierPartCache.get(l),lcscStockNum:s==null?void 0:s.stockNumber}):this.supplierPartCache.set(l,{lcscStockNum:s==null?void 0:s.stockNumber})}}):Wh(r)||console.warn("\u63A5\u53E3\u8C03\u7528\u5931\u8D25",C.apis.eda.productSearch,r.msg)})}catch{console.error("\u63A5\u53E3\u62A5\u9519",C.apis.eda.productSearch)}}static async ajaxDeviceSearchByCode(e){try{await Ro(this.chunkArray(e,200),async(i,o)=>{let r=await Vc(C.apis.devices.searchByCodes,{codes:o,path:_e.SYSTEMLIB_UUID});Wh(r)&&r.result?o.forEach(n=>{let a=r.result.find(s=>(s==null?void 0:s.product_code)===n);a&&(this.supplierPartCache.has(a.product_code)?this.supplierPartCache.set(a.product_code,{...this.supplierPartCache.get(a.product_code),attributes:{...a.attributes,Device:a.uuid},footprint:{...a.footprint}}):this.supplierPartCache.set(a.product_code,{attributes:{...a.attributes,Device:a.uuid},footprint:{...a.footprint}}))}):Wh(r)||console.warn("\u63A5\u53E3\u8C03\u7528\u5931\u8D25",C.apis.devices.searchByCodes,r==null?void 0:r.msg)})}catch{console.error("\u63A5\u53E3\u62A5\u9519",C.apis.devices.searchByCodes)}}static chunkArray(e,i){let o=[];for(let r=0;r<e.length;r+=i){let n=e.slice(r,r+i);o.push(n)}return o}static getStockDataItem(e){var o,r,n;let i=this.supplierPartCache.get(e);return{lcscStockNum:(o=i==null?void 0:i.lcscStockNum)!=null?o:"",smtStockNum:(r=i==null?void 0:i.smtStockNum)!=null?r:"",price:(n=i==null?void 0:i.price)!=null?n:"..."}}static dispose(){this.matchForEdaCache.clear(),this.supplierPartCache.clear()}};bh.matchForEdaCache=new Map,bh.supplierPartCache=new Map;function IEr(t,e,i,o=!0){let r=o?e.toLowerCase():e,n=typeof i=="string"?[i]:i;return t.filter(s=>n.some(l=>l in s&&a(r,o?String(s[l]).toLowerCase():String(s[l]))));function a(s,l){return l.includes(s)}}var LEr=["designator","supplierPart","supplier","comment","footprint","count","manufacturerPart","manufacturer"],NKe=class extends qe{constructor(){super(...arguments);this.DataTableName="devicesStandardizationTable";this.projectReadOnly=!1;this.isPcbHavePermissionFlag=!1;this.searchValue="";this.selectedRowData=[];this.searchTableData=[];this.isCheckDesignatorAggregation=!0;this.isCheckShowRecommendations=!0;this.deviceStandardizationContentTabItem="totalData";this.rowIdx=0;this.devicesStandardizationTableData=[];this.devicesStandardizationRes=null;this.waitDeterminedRes=null;this.waitDistributionRes=null;this.perfetchMatchRes=null;this.notCheckRes=null}setSearchValue(i){this.searchValue=i,i.length>0?(this.rowIdx=0,this.devicesStandardizationTableData=IEr(this.searchTableData,i,LEr,!0).map((o,r)=>o.isRecommendedDecice?{...o,rowUuid:o.footprint+"#"+r,designator:["Recommended"]}:(this.rowIdx++,{...o,rowUuid:o.designator.join("#")+`#${this.rowIdx}`,rowIdx:this.rowIdx}))):this.devicesStandardizationTableData=this.searchTableData,this.notify()}designatorAggregationHandler(){this.isCheckDesignatorAggregation=!this.isCheckDesignatorAggregation,this.setDevicesStandardizationTableData(),this.notify()}showRecommendationsHandler(){this.isCheckShowRecommendations=!this.isCheckShowRecommendations,this.setDevicesStandardizationTableData(),this.notify()}setDeviceStandardizationContentTabItem(i){this.deviceStandardizationContentTabItem=i,this.selectedRowData.length>0&&(this.selectedRowData.length=0),this.setDevicesStandardizationTableData(),this.notify()}generateRowData(i,o){var s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T;let r=!1,n=!1;(this.projectReadOnly||this.isPcbHavePermissionFlag)&&(n=!0);let a=[];for(let M of this.selectedRowData)if(M.originRow.Designator.some(I=>o.includes(I))){if(r=!0,a.push(M),this.isCheckShowRecommendations&&(M!=null&&M.isRecommendedDecice)){let I=(s=M==null?void 0:M.originRow)==null?void 0:s.recommendedDevices;if(I){let A=(l=I==null?void 0:I.recommendedDevices)==null?void 0:l.attributes;a.push({originRow:M,designator:[],supplierPart:(c=A&&A["Supplier Part"])!=null?c:"",supplier:(d=A&&A.Supplier)!=null?d:"",comment:(p=(u=I==null?void 0:I.recommendedDevices)==null?void 0:u.Comment)!=null?p:"",footprint:(f=(h=(m=I==null?void 0:I.recommendedDevices)==null?void 0:m.footprint)==null?void 0:h.display_title)!=null?f:"",manufacturerPart:(g=A&&A["Manufacturer Part"])!=null?g:"",manufacturer:(b=A&&A.Manufacturer)!=null?b:"",...bh.getStockDataItem(A&&A["Supplier Part"]),isRecommendedDecice:!0,noCheckbox:!0,bgColor:"var(--bg-color-table-row)"})}}break}return oV.setCheckedList(this.DataTableName,a),{originRow:{...i,Designator:i.Designator.filter(M=>o.includes(M))},designator:o,supplierPart:i["Supplier Part"],supplier:i.Supplier,comment:(y=i.Comment)!=null?y:"",footprint:(w=i.Footprint)!=null?w:"",count:o.length,manufacturerPart:i["Manufacturer Part"],manufacturer:i.Manufacturer,...bh.getStockDataItem(i&&i["Supplier Part"]),isRecommendedDecice:!1,noCheckbox:!1,deviceStandardizedRes:i.deviceStandardizedRes,tabIdArr:(x=i.tabIdArr)!=null?x:[],symbolId:(S=i.symbolId)!=null?S:[],pcbIds:(T=i.ids)!=null?T:"",checked:r,disabledCheckbox:n,bgColor:i.deviceStandardizedRes==="waitDetermined"?"var(--bg-color-table-waitDetermined)":i.deviceStandardizedRes==="waitDistribution"?"var(--bg-color-table-waitDistribution)":i.deviceStandardizedRes==="notCheck"?"var(--bg-color-table-notCheck)":i.deviceStandardizedRes==="perfetchMatch"?"var(--bg-color-table-perfetchMatch)":""}}setDevicesStandardizationTableData(){if(this.isCheckDesignatorAggregation&&!this.isCheckShowRecommendations)this.filterDevicesStandardizationRes().sort((i,o)=>ue.naturalCompare(i.Designator.join(),o.Designator.join())).forEach(i=>{this.devicesStandardizationTableData.push(this.generateRowData(i,i.Designator))});else if(!this.isCheckDesignatorAggregation&&this.isCheckShowRecommendations){let i=[];this.filterDevicesStandardizationRes().forEach(o=>{o.Designator.forEach(r=>{i.push({...o,Designator:[r]})})}),i=i.sort((o,r)=>ue.naturalCompare(o.Designator[0],r.Designator[0])),i.forEach(o=>{o.Designator.forEach(r=>{var n,a,s,l,c,d,u,p,m,h;if(o.recommendedDevices){this.devicesStandardizationTableData.push(this.generateRowData(o,[r]));let f=(n=o.recommendedDevices)==null?void 0:n.attributes;this.devicesStandardizationTableData.push({originRow:{...o,Designator:o.Designator.filter(g=>g===r)},designator:[],supplierPart:(a=f&&f["Supplier Part"])!=null?a:"",supplier:(s=f&&f.Supplier)!=null?s:"",comment:(c=(l=o.recommendedDevices)==null?void 0:l.Comment)!=null?c:"",footprint:(p=(u=(d=o.recommendedDevices)==null?void 0:d.footprint)==null?void 0:u.display_title)!=null?p:"",manufacturerPart:(m=f&&f["Manufacturer Part"])!=null?m:"",manufacturer:(h=f&&f.Manufacturer)!=null?h:"",...bh.getStockDataItem(f&&f["Supplier Part"]),isRecommendedDecice:!0,noCheckbox:!0,bgColor:"var(--bg-color-table-row)"})}else this.devicesStandardizationTableData.push(this.generateRowData(o,[r]))})})}else!this.isCheckDesignatorAggregation&&!this.isCheckShowRecommendations?(this.filterDevicesStandardizationRes().forEach(i=>{i.Designator.forEach(o=>{this.devicesStandardizationTableData.push(this.generateRowData(i,[o]))})}),this.devicesStandardizationTableData=this.devicesStandardizationTableData.sort((i,o)=>ue.naturalCompare(i.designator[0],o.designator[0]))):this.filterDevicesStandardizationRes().sort((i,o)=>ue.naturalCompare(i.Designator.join(),o.Designator.join())).forEach(i=>{var o,r,n,a,s,l,c,d,u,p;if(i.recommendedDevices){this.devicesStandardizationTableData.push(this.generateRowData(i,i.Designator));let m=(o=i.recommendedDevices)==null?void 0:o.attributes;this.devicesStandardizationTableData.push({originRow:i,designator:[],supplierPart:(r=m&&m["Supplier Part"])!=null?r:"",supplier:(n=m&&m.Supplier)!=null?n:"",comment:(s=(a=i.recommendedDevices)==null?void 0:a.Comment)!=null?s:"",footprint:(d=(c=(l=i.recommendedDevices)==null?void 0:l.footprint)==null?void 0:c.display_title)!=null?d:"",manufacturerPart:(u=m&&m["Manufacturer Part"])!=null?u:"",manufacturer:(p=m&&m.Manufacturer)!=null?p:"",...bh.getStockDataItem(m&&m["Supplier Part"]),isRecommendedDecice:!0,noCheckbox:!0,bgColor:"var(--bg-color-table-row)"})}else this.devicesStandardizationTableData.push(this.generateRowData(i,i.Designator))});this.devicesStandardizationTableData=this.devicesStandardizationTableData.map((i,o)=>i.isRecommendedDecice?{rowUuid:`${i.footprint+"#Recommended"+o}`,...i,designator:["Recommended"]}:(this.rowIdx++,{rowUuid:i.designator.join("#")+`#${this.rowIdx}`,rowIdx:this.rowIdx,...i})),this.searchTableData=this.devicesStandardizationTableData}filterDevicesStandardizationRes(){switch(this.devicesStandardizationTableData=[],this.rowIdx=0,this.deviceStandardizationContentTabItem){case"totalData":return this.devicesStandardizationRes;case"waitDetermined":return this.waitDeterminedRes;case"waitDistribution":return this.waitDistributionRes;case"perfetchMatch":return this.perfetchMatchRes;case"notCheck":return this.notCheckRes;default:return this.devicesStandardizationRes}}setDevicesStandardizationRes(i){this.projectReadOnly=zi.getIsProjectReadOnly(),this.isPcbHavePermissionFlag&&(this.isPcbHavePermissionFlag=!1),dt()==se.PCB&&(this.isPcbHavePermissionFlag=this.isPcbHavePermission()),this.devicesStandardizationRes=i,this.waitDeterminedRes=this.devicesStandardizationRes.filter(o=>o.deviceStandardizedRes==="waitDetermined"),this.waitDistributionRes=this.devicesStandardizationRes.filter(o=>o.deviceStandardizedRes==="waitDistribution"),this.perfetchMatchRes=this.devicesStandardizationRes.filter(o=>o.deviceStandardizedRes==="perfetchMatch"),this.notCheckRes=this.devicesStandardizationRes.filter(o=>o.deviceStandardizedRes==="notCheck"),this.setDevicesStandardizationTableData(),this.searchValue.length>0&&this.setSearchValue(this.searchValue),this.notify()}setSelectedRowData(i){this.selectedRowData=i}isPcbHavePermission(){let i=Ga.isConcurrentStrictMode,o=!1;if(i){let{disable:r}=Ga.getIframeDisableStatusPanelPcb(he.getActiveTab());o=r}return o}},UB=(0,zWi.createContext)(void 0);var mO=L(z()),vEr=()=>{let t=(0,FWi.useContext)(UB),e=J(),i="Check",o=s=>{let l=!1,c={},d=C.currentProject.projectId;return t.selectedRowData.forEach(u=>{var m;let p=(m=u==null?void 0:u.originRow)==null?void 0:m.designatorAndSymbolId;p&&(u.originRow.Check.length===0&&(l=!0),p&&u.designator.forEach(h=>{let f=p.find(g=>g.split("#")[0]===h);if(f){let g=f.split("#"),b=g[2],y=g[3],w=lo(y,d);c[w]?c[w][b]={[i]:{value:s}}:c[w]={[b]:{[i]:{value:s}}}}}))}),{target:c,judgeAddProperty:l}},r=async()=>{let s=dt();if(s===se.SCH){let{target:l,judgeAddProperty:c}=o("false");c?C.messageBus.publish("sch/addProperty",{data:l,docType:se.SCH}):C.messageBus.publish("sch/setProperty",{data:l,docType:se.SCH});return}if(s===se.PCB){let l=t.selectedRowData.reduce((c,d)=>(c.push(...d.pcbIds),c),[]);await C.windowBridge.rpcCall("PcbDeviceStandardization_setCheck",{ids:l,checked:!1},(await ei()).contentWindow),wfe();return}},n=async()=>{let s=dt();if(s===se.SCH){let{target:l,judgeAddProperty:c}=o("true");c?C.messageBus.publish("sch/addProperty",{data:l,docType:se.SCH}):C.messageBus.publish("sch/setProperty",{data:l,docType:se.SCH});return}if(s===se.PCB){let l=t.selectedRowData.reduce((c,d)=>(c.push(...d.pcbIds),c),[]);await C.windowBridge.rpcCall("PcbDeviceStandardization_setCheck",{ids:l,checked:!0},(await ei()).contentWindow),wfe();return}},a=()=>{let s=dt();s===se.SCH&&C.messageBus.publish("deviceStandardization",{tabid:gi(),forceFlush:!0}),s===se.PCB&&wfe(),De({type:"success",msg:"Update successfully!"})};return(0,mO.jsx)(mO.Fragment,{children:(0,mO.jsxs)("div",{className:"btn-list",children:[(0,mO.jsx)(Me,{disabled:t.projectReadOnly||t.isPcbHavePermissionFlag,type:"primary",onClick:a,style:{height:"24px",lineHeight:"24px",marginRight:"8px"},children:(0,mO.jsxs)("span",{"data-test":"Refresh List",children:[(0,mO.jsx)("span",{className:"icon-eda-refresh-white btn-list-item-icon"}),e("Refresh List")]})}),(0,mO.jsx)(Me,{disabled:t.projectReadOnly||t.isPcbHavePermissionFlag,onClick:r,style:{height:"24px",lineHeight:"24px",marginRight:"8px"},children:"Set to Not Check"}),(0,mO.jsx)(Me,{disabled:t.projectReadOnly||t.isPcbHavePermissionFlag,onClick:n,style:{height:"24px",lineHeight:"24px"},children:"Set to Check"})]})})},UWi=vEr;var VWi=L(Se());var cae=L(z()),HMe=(t,e)=>{let i=0;return(t==null?void 0:t.length)>0&&(e?i=t.length:t.forEach(o=>{i+=o.Designator.length})),i},DEr=()=>{let t=(0,VWi.useContext)(UB);Ce(t);let e=J(),i=[{key:"totalData",contendtTab:e("All")},{key:"waitDetermined",contendtTab:e("Undetermined")},{key:"waitDistribution",contendtTab:e("Allocation number")},{key:"perfetchMatch",contendtTab:e("Exact Match")},{key:"notCheck",contendtTab:e("Not Check")}];return(0,cae.jsx)(cae.Fragment,{children:(0,cae.jsx)("ul",{className:"tab-content",children:i.map(o=>(0,cae.jsxs)("li",{onClick:()=>{t.setDeviceStandardizationContentTabItem(o.key)},style:{color:t.deviceStandardizationContentTabItem===o.key?"#1890ff":""},children:[o.contendtTab,"\xA0(",o.key==="totalData"?HMe(t.devicesStandardizationRes,t.isCheckDesignatorAggregation):o.key==="waitDetermined"?HMe(t.waitDeterminedRes,t.isCheckDesignatorAggregation):o.key==="waitDistribution"?HMe(t==null?void 0:t.waitDistributionRes,t.isCheckDesignatorAggregation):o.key==="perfetchMatch"?HMe(t.perfetchMatchRes,t.isCheckDesignatorAggregation):HMe(t.notCheckRes,t.isCheckDesignatorAggregation),")"]},o.key))})})},HWi=DEr;var GWi=L(Se());var ow=L(z()),EEr=()=>{let t=(0,GWi.useContext)(UB);Ce(t);let e=J();return(0,ow.jsx)(ow.Fragment,{children:(0,ow.jsxs)("div",{className:"device-standardization-header_right",children:[(0,ow.jsx)("div",{className:"search",children:(0,ow.jsx)(Ws,{onUpdateInputValue:i=>{t.setSearchValue(i.trim())},onClearInputValue:()=>{t.setSearchValue("")},onConfirm:i=>{t.setSearchValue(i.trim())}})}),(0,ow.jsxs)("div",{className:"designator-aggregation",children:[(0,ow.jsxs)("span",{className:"placeholder",children:[(0,ow.jsx)("input",{type:"checkbox",className:"checkbox",checked:t==null?void 0:t.isCheckDesignatorAggregation,onChange:()=>{t.designatorAggregationHandler()}}),(0,ow.jsx)("span",{})]}),(0,ow.jsx)("span",{children:e("Combined Designators")})]}),(0,ow.jsxs)("div",{className:"show-recommendations",children:[(0,ow.jsxs)("span",{className:"placeholder",children:[(0,ow.jsx)("input",{type:"checkbox",className:"checkbox",checked:t==null?void 0:t.isCheckShowRecommendations,onChange:()=>{t.showRecommendationsHandler()}}),(0,ow.jsx)("span",{})]}),(0,ow.jsx)("span",{children:e("Show Recommendations")})]})]})})},YWi=EEr;var u7=L(Se());var rw=L(z()),PKe=async(t,e)=>{let i=t==null?void 0:t.find(o=>o.split("#")[0]===e);if(i){let o=i.split("#"),r=o[2],n=o[3],a=C.currentProject.projectId,s=lo(n,a),l=await he.getTabIFrame(s);return{symbolId:r,uuid:n,path:a,tabId:s,iframe:l}}else return},rAt=(t,e)=>{let i=t==null?void 0:t.find(o=>o.split("#")[0]===e);if(i)return i.split("#")[2]},GMe=[],AEr=async(t,e,i)=>{let o=dt();if(i||(GMe.length=0),o===se.SCH){let r=await PKe(t.originRow.designatorAndSymbolId,e);if(r){let{symbolId:n,tabId:a,iframe:s}=r;GMe.push(n),s&&(a!==he.getActiveTab()&&await he.setTabActive(a),C.messageBus.publish("sch/selectWithShowCrossCursorByIds",{ids:GMe,tabId:a})),C.messageBus.publish("cancelPropertyOverlay"),C.messageBus.publish("sch/renderPropertyPanel",{renderUI:!0,target:{[a]:[n]}});return}}if(o===se.PCB){let r=rAt(t.originRow.designatorAndSymbolId,e);r&&(GMe.push(r),C.messageBus.publish("highlightItems",{globalIndexArr:GMe,needAdaptAll:!1}));return}},NEr=async(t,e)=>{let i=dt();if(i===se.SCH){let o=await PKe(t.originRow.designatorAndSymbolId,e);if(o){let{symbolId:r,uuid:n,path:a,tabId:s,iframe:l}=o;l?s!==he.getActiveTab()&&await he.setTabActive(s):(await C.messageBus.rpcCall("openDocByUuid",[n,a]),l=await he.getTabIFrame(s)),C.messageBus.publish("sch/selectWithShowCrossCursorByIds",{ids:[r],tabId:s}),C.messageBus.publish("cancelPropertyOverlay"),C.messageBus.publish("sch/renderPropertyPanel",{renderUI:!0});return}}if(i===se.PCB){let o=rAt(t.originRow.designatorAndSymbolId,e);o&&C.messageBus.publish("highlightItems",{globalIndexArr:[o],needAdaptAll:!0});return}},kEr=async(t,e)=>{let i=dt();if(i===se.SCH){let o=await PKe(t.originRow.designatorAndSymbolId,e);if(o){let{symbolId:r,iframe:n}=o;n&&C.windowBridge.publish("highlightSymbols",[[r],st.SYMBOL],n.contentWindow);return}}if(i===se.PCB){let o=rAt(t.originRow.designatorAndSymbolId,e);if(o){let r=Xi();C.windowBridge.publish("realTimeHighlight",[o],r.contentWindow)}return}},PEr=async(t,e)=>{let i=dt();if(i===se.SCH){let o=await PKe(t.originRow.designatorAndSymbolId,e);if(o){let{symbolId:r,iframe:n}=o;n&&C.windowBridge.publish("unhighlightSymbols",[[r],st.SYMBOL],n.contentWindow);return}}if(i===se.PCB){let o=Xi();C.windowBridge.publish("cancelRealTimeHighlight","",o.contentWindow);return}},nAt=(t,e)=>{var a;if(!e||!t)return t;e=e.replace(/[\[\(\$\^\.\]\*\\\?\+\{\}\\|\)]/gi,s=>`\\${s}`);let i=new RegExp(e,"ig"),o=t==null?void 0:t.split(i),r=t==null?void 0:t.match(i),n=[];for(let s=0;s<(o==null?void 0:o.length)-.5;s+=.5)Math.floor(s)!==s?n.push((0,rw.jsx)("span",{className:"hightlight",children:r[Math.floor(s)]},s)):(a=o[s])!=null&&a.length&&n.push((0,rw.jsx)("span",{children:o[s]},s));return n},OEr=()=>{let t=(0,u7.useContext)(UB);Ce(t),Ce(ms);let e=J(),i=(0,u7.useRef)(null),o=(0,u7.useRef)(null),[r,n]=(0,u7.useState)(0),[a,s,l]=La(),c=ca(),d=[{key:"rowIdx",name:e("No."),width:.05,fixed:"left",align:"center",render:u=>{let{row:p}=u;return(0,rw.jsx)("span",{style:{backgroundColor:p.bgColor},children:p.rowIdx})}},{key:"designator",name:e("Designator"),width:.2,ellipsis:!1,fixed:"left",align:"center",render:u=>{let{row:p}=u,{designator:m}=p;if(!Array.isArray(m))return;let h=m.length===1&&m[0]==="Recommended"?m.join():m.sort((f,g)=>ue.naturalCompare(f,g));return(0,rw.jsx)("div",{style:{backgroundColor:p.bgColor},children:typeof h=="string"?(0,rw.jsx)("span",{children:e(h)}):h.map((f,g)=>(0,rw.jsxs)("div",{style:{display:"inline-block"},children:[(0,rw.jsx)("span",{className:"designator-col",onClick:b=>{AEr(p,f,b.ctrlKey)},onDoubleClick:()=>{NEr(p,f)},onMouseOver:()=>{kEr(p,f)},onMouseLeave:()=>{PEr(p,f)},children:nAt(f,t.searchValue)}),g<p.designator.length-1&&(0,rw.jsx)("span",{children:","})]},`${f}@${g}`))})}},{key:"operation",name:e("Operation"),width:.1,align:"center",render:u=>{let{row:p}=u;return p.isRecommendedDecice?(0,rw.jsx)(Me,{disabled:t.projectReadOnly||t.isPcbHavePermissionFlag,style:{height:"20px",lineHeight:"20px"},onClick:()=>{let m=[];m.push(p.originRow),C.messageBus.publish("openRecommendedDevicesDlg",{isRecommendedDevices:!0,currentDeviceStandardizationRow:m})},children:"Use Recommended Device"}):(0,rw.jsx)(Me,{disabled:t.projectReadOnly||t.isPcbHavePermissionFlag,style:{height:"20px",lineHeight:"20px"},onClick:()=>{let m=[];m.push(p.originRow),C.messageBus.publish("openDeviceSelectDlg",{form:"DeviceStandardization",needRefresh:!0,searchValue:p.designator[0].startsWith("R")||p.designator[0].startsWith("C")||p.designator[0].startsWith("L")||p.designator[0].startsWith("D")?`${p.comment} ${p.footprint}`:p.comment,currentDeviceStandardizationRow:m})},children:"Assign LCSC Part"})}},{key:"supplierPart",name:e("Supplier Part"),width:.1,align:"center"},{key:"supplier",name:e("Supplier"),width:.1,align:"center"},{key:"stockAndSMT",name:e("LCSC\xA0Stock/SMT Stock"),width:.15,align:"center",render:u=>{let{row:p}=u;return(0,rw.jsxs)("div",{className:"stock-patch-col ",children:[(0,rw.jsx)("span",{children:p.lcscStockNum}),(0,rw.jsx)("span",{children:"\xA0/\xA0"}),(0,rw.jsx)("span",{children:p.smtStockNum})]})}},{key:"price",name:e("Unit\xA0Price"),width:.1,align:"center"},{key:"comment",name:e("Comment"),width:.1,align:"center"},{key:"footprint",name:e("Footprint"),width:.1,align:"center"},{key:"count",name:e("Count"),width:.05,align:"center"},{key:"manufacturerPart",name:e("Manufacturer Part"),width:.1,align:"center"},{key:"manufacturer",name:e("Manufacturer"),width:.1,align:"center"}];return(0,u7.useEffect)(()=>(i.current&&s(i.current),()=>{l()}),[i.current]),(0,u7.useEffect)(()=>{if(a){let{height:u}=a;n(u)}},[a]),(0,u7.useEffect)(()=>{Yn(()=>{var u,p;if(o.current&&t.devicesStandardizationTableData.length>0){let m=(p=(u=o.current.tableBodyDiv)==null?void 0:u.scrollTop)!=null?p:0;o.current.handleTableScrollByScrollTop(m),Yn(()=>{var h,f;m===0&&((f=(h=o.current)==null?void 0:h.tableBodyDiv)==null||f.scrollTo({top:0,behavior:"smooth"}))})}})},[t.devicesStandardizationTableData.length]),(0,u7.useEffect)(()=>{Yn(()=>{c()},30)},[ms.activeTheme]),(0,rw.jsx)("div",{style:{height:"calc(100% - 88px)",padding:"4px 4px 0",boxSizing:"border-box"},ref:i,children:(0,rw.jsx)(xi,{name:t.DataTableName,ref:o,index:"rowUuid",height:r,checkbox:!0,fixedHeader:!0,showStatus:!0,searchValue:t.searchValue,columns:d,rows:t.devicesStandardizationTableData,border:!0,openRowSelectedBgColor:!1,openVirtualScroll:!0,onCheckRow:u=>{t.setSelectedRowData(u)}},t.deviceStandardizationContentTabItem)})},WWi=OEr;var RD=L(z()),Cfe=new NKe,REr=()=>(0,RD.jsx)(RD.Fragment,{children:(0,RD.jsx)(UB.Provider,{value:Cfe,children:(0,RD.jsxs)("div",{className:"device-standardization-container",children:[(0,RD.jsxs)("div",{className:"device-standardization-header",children:[(0,RD.jsx)(HWi,{}),(0,RD.jsx)(YWi,{})]}),(0,RD.jsx)(UWi,{}),(0,RD.jsx)(WWi,{})]})})}),_Er=QWi.default.createRoot(document.querySelector("#device-standardization")||document.createElement("div"));function aAt(t){Cfe.setDevicesStandardizationRes(t),_Er.render((0,RD.jsx)(REr,{}))}var dae=class{static async getRecommendedDevicesData(){let e=this.originalDeviceStandardData.map((i,o)=>{var r;return{bomIndex:o.toString(),comment:i.Comment,footprint:i.Footprint,componentCode:i["Supplier Part"],customerCode:((r=C.globalVariableCookieData.userInfo)==null?void 0:r.customerCode)||""}}).filter(i=>{let{comment:o,footprint:r,componentCode:n}=i,a=[o,r,n].join("@");return!bh.matchForEdaCache.has(a)});e.length>0&&await bh.ajaxMatchForEda(e),it(this.originalDeviceStandardData,(i,o)=>{let r=[o.Comment,o.Footprint,o["Supplier Part"]].join("@"),n=bh.matchForEdaCache.get(r);if(n&&n.matchDetailForEdaVOList){let a=n.matchDetailForEdaVOList[0];a&&(o.recommendedDevices=a,this.ajaxSupplierPartData.push(a.matchComponentCode))}})}static setAjaxSupplierPartData(){this.ajaxSupplierPartData=[],this.originalDeviceStandardData.forEach(e=>{e["Supplier Part"]&&this.ajaxSupplierPartData.push(e["Supplier Part"])})}static async getAjaxData(){try{await bh.ajaxGetSmtPartInfo(this.ajaxSupplierPartData),await bh.ajaxEdaProductSearch(this.ajaxSupplierPartData),await bh.ajaxDeviceSearchByCode(this.ajaxSupplierPartData)}catch(e){console.error("\u63A5\u53E3\u62A5\u9519",e)}}static renderDom(){aAt(this.originalDeviceStandardData)}};dae.ajaxSupplierPartData=[];var sAt=class extends dae{static handleCompare(){it(this.originalDeviceStandardData,(e,i)=>{var n;let o=i["Supplier Part"],r=bh.supplierPartCache.get(o);if(o===""){if(i.deviceStandardizedRes="waitDistribution",i.recommendedDevices){let a=bh.supplierPartCache.get(i.recommendedDevices.matchComponentCode);a&&(a!=null&&a.attributes)?(i.recommendedDevices={...i.recommendedDevices,...a},i.recommendedDevices.Comment=i.recommendedDevices.attributes&&yfe(i.recommendedDevices.attributes.Name,i.recommendedDevices.attributes)||""):delete i.recommendedDevices}}else if(r){let a=r.attributes&&yfe(r.attributes.Name,r.attributes)||"";r.attributes&&(i.Comment===a||i.Comment===r.attributes.Value||i.Comment===r.attributes["Manufacturer Part"]||i.Comment===r.attributes.Device)&&i.Footprint===((n=r.footprint)==null?void 0:n.display_title)&&i.Manufacturer===r.attributes.Manufacturer&&i["Manufacturer Part"]===r.attributes["Manufacturer Part"]&&i.Supplier===r.attributes.Supplier&&(i.Value===""||!r.attributes.Value||r.attributes.Value&&i.Value!==""&&i.Value===r.attributes.Value)?(i.deviceStandardizedRes="perfetchMatch",i.recommendedDevices&&delete i.recommendedDevices):(i.deviceStandardizedRes="waitDetermined",i.recommendedDevices&&(i.recommendedDevices=r,i.recommendedDevices.Comment=a))}else if(i.deviceStandardizedRes="waitDetermined",i["Supplier Part"]!==""&&i.recommendedDevices){let a=bh.supplierPartCache.get(i.recommendedDevices.matchComponentCode);a&&(a!=null&&a.attributes)?i.recommendedDevices=a:delete i.recommendedDevices}if((i["Add into BOM"]==="no"||i["Standardization Check"]==="false")&&(i.deviceStandardizedRes="notCheck",i.recommendedDevices&&delete i.recommendedDevices),!i.designatorAndSymbolId){let a=[];it(i.Designator,(s,l,c)=>{a.push(`${l}#${c}#${i.ids[c]}`)}),i.designatorAndSymbolId=a}})}static async initData(e){this.originalDeviceStandardData=e,this.handleCompare(),this.renderDom(),this.setAjaxSupplierPartData(),await this.getRecommendedDevicesData(),await this.getAjaxData(),this.handleCompare(),Cfe.setDevicesStandardizationRes(this.originalDeviceStandardData)}},wfe=async()=>{let t=await he.getTabIFrame(),e=(await C.windowBridge.rpcCall("PcbDeviceStandardization","",t.contentWindow)).message;sAt.initData(e)};function KWi(){UGi(),JWi(),tYi(),sWi()}async function kme(t=!1,e){if(Je){let i=await oZ(t);C.messageBus.publish("refreshLibList",{isClient:!0,refresh:t})}else Array.isArray(C.teams)&&C.messageBus.publish("refreshLibList",{isClient:!1,refresh:t})}var ZWi=[Ee.COMMON_BLANK,Ee.SCH,Ee.CBB_BLANK,Ee.CBB_SCH,Ee.SCH_INSTANCE,Ee.BLOCK_SCH,Ee.CBB_BLOCK_SCH,Ee.SCHMODULE,Ee.PART,Ee.BLOCK_SYMBOL,Ee.NETFLAG,Ee.NETPORT,Ee.OFF_PAGE_CONNECTOR,Ee.SHEET_SYMBOL,Ee.NONEELEC_SYMBOL,Ee.DIFF_PAIRS_FLAG],lAt=[{tabId:"lib",title:"Library"},{tabId:"log",title:"Log"},{tabId:"device-standardization",title:{value:"Device Standardization",context:"leftTree"},mode:[Ee.SCH,Ee.CBB_SCH,Ee.SCH_INSTANCE,Ee.BLOCK_SCH,Ee.CBB_BLOCK_SCH,Ee.PCB]},{tabId:"schDrcResult",title:"DRC",mode:[Ee.COMMON_BLANK,Ee.SCH,Ee.CBB_BLANK,Ee.CBB_SCH,Ee.SCH_INSTANCE,Ee.BLOCK_SCH,Ee.CBB_BLOCK_SCH,Ee.SCHMODULE]},{tabId:"simErcResult",title:"ERC",mode:[Ee.NGSPICE,Ee.SIMULIDE]},{tabId:"panelDrcResult",title:"DRC",mode:[Ee.PANEL]},{tabId:"drcResult",title:"DRC",mode:[Ee.PCB]},{tabId:"findResult",title:"Find Result",isDisplayNone:!0},{tabId:"pcbCommand",title:"Command",mode:[Ee.PCB,Ee.FOOTPRINT],isAbleDelete:!0,titleStyle:{maxWidth:"none"}},{tabId:"comparison-result",title:"Comparison Result",isDisplayNone:!0,isAbleDelete:!0,titleStyle:{maxWidth:"none"}},{tabId:"schDrcImport",title:"SCH DRC",mode:[Ee.PCB],isDisplayNone:!0,isAbleDelete:!0},{tabId:"sch-comparison-result",title:"Comparison Result",isDisplayNone:!0,isAbleDelete:!0},{tabId:"schPropertyList",title:"Property List",mode:ZWi}],co=new class{constructor(){this.id="bottom-bar-container"}init(){var e,i,o,r,n,a;let t={id:co.id,dom:"layoutBottom",tabs:lAt,tabDock:"bottom",styleType:"panel",tabsStyle:{minWidth:"80px"},tabBoxStyle:{padding:0},tabSize:24,activeTabId:"lib",currentMode:Ee.HOME,dataSensors:!0,isShowMarkLine:!0,pushpin:{isFixed:!((a=(n=(r=(o=(i=(e=C)==null?void 0:e.profileSetting)==null?void 0:i.commSystemSetting)==null?void 0:o.SYSTEM)==null?void 0:r.sidePanelAutoHide)==null?void 0:n.bottomPanel)!=null&&a.value),onClick:s=>{let l=Wi("SYSTEM","sidePanelAutoHide",{readValueKey:!1});l.bottomPanel.value=s,mt.savePreference("commSystemSetting",sc()),It.setPinStatus(co.id,!s)}},blankClick:async s=>{dt()!==se.WAVEFORM&&await Pn("layout_toggler_bottom",!(0,gy.default)("#layout_toggler_bottom").hasClass("close"),!0)}};It.addTabBar(t),C.messageBus.subscribe("/pro-ui/container/tab/onClick",s=>{let{containerId:l,tabId:c}=s;l===co.id&&co.handleClick(c,!0)}),C.messageBus.subscribe("/pro-ui/container/tab/onDelete",s=>{let{containerId:l,tabId:c}=s;if(c=="pcbCommand")It.deleteTab({containerId:l,tabId:c}),mt.setCacheObj("pcbCommandTab",!1),mt.saveToServer(!1);else if(c=="comparison-result")C.messageBus.publish("pro-ui/clearComparisonResult"),It.setTabDisplayNone(co.id,"comparison-result",!0),co.handleClick("lib");else if(c==="sch-comparison-result")$c.init(),C.messageBus.publish("compareSch/clearInit"),It.setTabDisplayNone(co.id,"sch-comparison-result",!0),co.handleClick("lib");else if(c==="schDrcImport"){let d=gi();oX.delete(d),oX.size<=0&&It.setTabDisplayNone(co.id,"schDrcImport",!0),co.handleClick("lib")}}),(_t||Nt)&&It.setTabDisplayNone(this.id,"device-standardization",!0)}handleClick(t,e){var s,l,c,d;let i=!0,o,r=!0,n=(l=(s=It.getTabData({containerId:co.id,tabId:"drcResult"}))==null?void 0:s.data)==null?void 0:l.isCacheTabClose,a=It.getActiveTab(co.id);switch((a==null?void 0:a.tabId)===t&&e&&(Pn("layout_toggler_bottom",!(0,gy.default)("#layout_toggler_bottom").hasClass("close"),!0),r=!1),n&&(It.setTabExtraData(co.id,"drcResult",{isCacheTabClose:!1}),r=!1),t){case"lib":{o=(0,gy.default)("#bottomBar");break}case"log":{let u=It.getTabData({containerId:co.id,tabId:t}).isHasMsg;u&&It.setTabHasMsg(co.id,t,!1),o=(0,gy.default)("#primaryLog"),hO("Log"),r&&by({type:"Log",toEnd:u});break}case"device-standardization":{o=(0,gy.default)("#device-standardization");let u=dt(),p=u===se.SCH,m=u===se.PCB,h=he.getActiveTab();p?o.attr("deviceStandardizationUuid")!==h&&Yn(()=>{C.messageBus.publish("deviceStandardization",{tabid:h,forceFlush:!0})},100):m&&o.attr("deviceStandardizationUuid")!==h&&wfe(),o.attr("deviceStandardizationUuid",h),r=!((d=(c=It.getTabData({containerId:co.id,tabId:"device-standardization"}))==null?void 0:c.data)==null?void 0:d.isCacheTabClose);break}case"schDrcResult":{let u=It.getTabData({containerId:co.id,tabId:t}).isHasMsg;u&&It.setTabHasMsg(co.id,t,!1),o=(0,gy.default)("#schDrcPrimaryLog"),hO("schDrcLog"),r&&by({type:"schDrcLog",toEnd:u});break}case"panelDrcResult":{let u=It.getTabData({containerId:co.id,tabId:t}).isHasMsg;u&&It.setTabHasMsg(co.id,t,!1),o=(0,gy.default)("#panelDrcPrimaryLog"),hO("panelDrcLog"),r&&by({type:"panelDrcLog",toEnd:u});break}case"simErcResult":{let u=It.getTabData({containerId:co.id,tabId:t}).isHasMsg;u&&It.setTabHasMsg(co.id,t,!1),o=(0,gy.default)("#simErcPrimaryLog"),hO("simErcLog"),r&&by({type:"simErcLog",toEnd:u});break}case"findResult":{[se.PCB,se.FOOTPRINT].includes(dt())?(o=(0,gy.default)("#findObjContainer"),iSe(),o.length==0&&(i=!1)):o=(0,gy.default)("#findTypeLog"),kMt(gi(),dt());break}case"drcResult":{o=(0,gy.default)("#drcResult");let u=(0,gy.default)("#treeMyDesignDRC-content");e&&u&&u.is(":empty")&&C.messageBus.publish("RENDER_DESIGN_TREE",{containerId:"designDRCTree"}),EMe(),dt()!==se.PCB&&(i=!1),PMt(gi(),dt());break}case"comparison-result":{o=(0,gy.default)("#pcb-comparison-result"),l8t();break}case"sch-comparison-result":{o=(0,gy.default)("#sch-comparison-result"),BWi();break}case"pcbCommand":{o=(0,gy.default)("#pcbCommand"),u8t();break}case"schDrcImport":{let u=It.getTabData({containerId:co.id,tabId:t}).isHasMsg;u&&It.setTabHasMsg(co.id,t,!1),o=(0,gy.default)("#schDrcPrimaryLog"),hO("schDrcLog"),r&&by({type:"schDrcLog",toEnd:u});break}case"schPropertyList":{o=(0,gy.default)("#schPropertyList");break}default:i=!1}i&&(It.setActiveTab({containerId:co.id,tabId:t}),o.show().siblings().hide()),r&&Zne(void 0,t==="sch-comparison-result"||!0)}tabChangeByDoc(t,e){var r;let i=k2({tabId:t,docType:e});if(It.changeContainerMode({containerId:co.id,mode:i,data:{doctype:e,tabId:t}}),e===se.WAVEFORM){lAt.forEach(n=>{(n.tabId=="lib"||n.tabId=="log"||n.tabId=="findResult")&&It.setTabDisplayNone(co.id,n.tabId,!0)}),sy(0);return}else lAt.forEach(n=>{(n.tabId=="lib"||n.tabId=="log"||n.tabId=="findResult")&&It.setTabDisplayNone(co.id,n.tabId,!1)});let o=(r=It.getActiveTab(co.id))==null?void 0:r.tabId;if(["schDrcResult","panelDrcResult","simErcResult"].includes(o))if(e===se.PCB){let n=(0,gy.default)("#layout_toggler_bottom").hasClass("close");It.setTabExtraData(co.id,"drcResult",{isCacheTabClose:n}),co.handleClick("drcResult")}else e===se.PANEL?o!=="panelDrcResult"&&co.handleClick("panelDrcResult"):e===se.SCH?o!=="schDrcResult"&&co.handleClick("schDrcResult"):e===se.NGSPICE?co.handleClick("simErcResult"):e===se.SIMULIDE?o!=="simErcResult"&&co.handleClick("simErcResult"):co.handleClick("lib");if(zh(e)&&o!=="pcbCommand"&&!["log","simErcResult","lib"].includes(o)&&co.handleClick("lib"),[se.BLANKTAB].includes(e)&&sy(0),o==="findResult"&&kMt(t,e),o==="drcResult"&&PMt(t,e),o==="device-standardization"){let n=(0,gy.default)("#layout_toggler_bottom").hasClass("close");It.setTabExtraData(co.id,"device-standardization",{isCacheTabClose:n}),e===se.PCB||e===se.SCH?co.handleClick("device-standardization"):co.handleClick("lib")}o==="pcbCommand"&&e!==(se.PCB||se.FOOTPRINT)&&co.handleClick("lib"),o==="schPropertyList"&&!It.judgeHasMode(i,ZWi)&&co.handleClick("lib"),It.setTabDisplayNone(co.id,"findResult",Wn(e)||[se.HOME,se.NGSPICE,se.SIMULIDE].includes(e)),e===se.HOME&&!["lib","log"].includes(o)&&co.handleClick("lib")}};function OKe(){return qWi}function hO(t){qWi=t}var qWi="Log";function JWi(){gpi(),bpi(),ypi(),wpi(),$Wi()}function dAt(t){let e=(0,cAt.default)(t);return me.update(e[0]),e.text().replaceAll(/\n|\t/g,"")}function jEr(t,e=0){var i;switch(t){case"Log":UEr(t);break;case"schDrcLog":BEr(t);break;case"panelDrcLog":zEr(t);break;case"simErcLog":FEr(t);break}if(e===1)fX(t);else if(t==="Log"||t==="schDrcLog"||t==="panelDrcLog"||t==="simErcLog"){let o=t==="Log"?"log":t==="schDrcLog"?"schDrcResult":t==="simErcLog"?"simErcResult":"panelDrcResult";(((i=It.getActiveTab(co.id))==null?void 0:i.tabId)!==o||(0,cAt.default)("#layout_toggler_bottom").hasClass("close"))&&It.setTabHasMsg(co.id,o,!0)}}var BEr=ue.debounce(RKe,50),zEr=ue.debounce(RKe,50),FEr=ue.debounce(RKe,50),UEr=ue.debounce(RKe,50);function RKe(t){by({type:t,toEnd:!0})}function XWi(t){return t==="Log"?z8.showLogType:t==="schDrcLog"?S_.showLogType:t==="panelDrcLog"?M_.showLogType:t==="simErcLog"?I_.showLogType:"all"}function tw(t){let e=[];if(t.attr){let i=!1;for(let[o,r]of Object.entries(t.attr))e.push(`data-log-find-${o}="${r}"`),o==="path"&&(i=!0);i||e.push(`data-log-find-path="${C.currentProject.projectId}"`)}else if(t.call){e.push('data-log-find-call="true"');for(let i in t.call){let o=t.call[i];o=typeof o=="object"?JSON.stringify(o):o,e.push(`data-log-find-${i}="${o}"`)}}return`<span class="link" ${e.join(" ")}>${t.text}</span>`}var xfe=!1;function by(t){xfe=t,eQi()}function $Wi(){eQi(),requestAnimationFrame(function(){$Wi()})}function eQi(){if(xfe){let{type:t,toEnd:e}=typeof xfe=="object"?xfe:{type:xfe,toEnd:!1};VEr(t,e),xfe=!1}}function tm(t="Log"){let e=IS.getLog(t);return e||(e=new IS(t,{hasTimestamp:!0},i=>{}),e.addListener("clear",()=>{by(t)})),e}function uAt(t){[tm()].forEach(o=>{o.openProject(t)})}function VEr(t,e=!1){switch(t){case"Log":HEr(t,e);break;case"schDrcLog":GEr(t,e);break;case"panelDrcLog":YEr(t,e);break;case"simErcLog":WEr(t,e);break}}var HEr=ue.debounce(_Ke,10),GEr=ue.debounce(_Ke,10),YEr=ue.debounce(_Ke,10),WEr=ue.debounce(_Ke,10);async function _Ke(t,e=!1){switch(t){case"Log":return z8.setRefresh({toEnd:e});case"schDrcLog":return S_.setRefresh({toEnd:e});case"panelDrcLog":return M_.setRefresh({toEnd:e});case"simErcLog":return I_.setRefresh({toEnd:e})}}function pAt(t){let{tabType:e,htmlStr:i,index:o,logCategory:r}=t;if(o||o===0){let n=tm(e).getLogList(r);n[Number(o)].htmlContent=i}}function C3(t){let e=tm(t).getLogList("all"),i="";for(let o of e)i+=`${dAt(o.htmlContent)}
`;ya(i,`${t}_${ue.formatDate(new Date,"yyyy-MM-dd")}.txt`)}function Eb(t){tm(t).clear()}function t2(t){let{type:e,tabType:i,msg:o,openTab:r,timeStamp:n}=t,a=tm(i||"Log");n&&(a.timeStamp=n);let s=r?r===!0?1:r:0;a.freeLog(e,o),jEr(i||"Log",s)}var gX=L(z());async function jKe(t,e={}){let i="Symbol";switch(t){case se.BLOCK_SYMBOL:i="BlockSymbol";break;case se.PART:i="Symbol";break;case se.FOOTPRINT:i="Footprint";break;default:i="Device";break}if(i==="Symbol"){let o=(await C.messageBus.rpcCall("getDeviceByUuid",{uuid:e.uuid,type:i})).message;if(o.length){let r=`<span class="i18n">${i}</span> ${e.display_title}  <span class="i18n">is\xA0referenced\uFF1A</span>`,n=[],a=".";await Ro(o,async(l,c)=>{let{sheetId:d,data:u}=c,{attrs:p,displayId:m,cmdKey:h}=u,{Designator:f,Name:g}=p;g=(await C.messageBus.rpcCall("sch/getFormulaName",{cmdKey:h,Name:g,attrs:p})).message;let b=f?`${f}(${g||m})`:g||m,y={id:u.symbolId,sheet:d};n.push(tw({text:b,attr:y}))});let s=[r,n.join(";"),a];Ot("info",s,"Log")}}else if(i=="Footprint"){let o=await YMe("Footprint",e),r=await WMe("Footprint",e),n=await mAt(e.uuid),a=[].concat(o,r),s=await hAt(e),l=`<span class="i18n">${i}</span> ${e.display_title}  <span class="i18n">is\xA0referenced\uFF1A</span>`,c=".";if(n.length>0&&(l=`<span class="i18n">${i}</span> ${e.display_title}  <span class="i18n">is\xA0referenced by special footprint(s)\uFF1A</span>`,Ot("info",[l,c],"Log")),s.length>0){l=`<span class="i18n">${i}</span> ${e.display_title}  <span class="i18n">is\xA0referenced by device(s)\uFF1A</span>`;let d=[l,s.join(";"),c];Ot("info",d,"Log")}if(a.length>0){let d=[l,a.map(tw).join(";"),c];Ot("info",d,"Log")}}else if(i=="Device"){let o=await YMe("Device",e),r=await WMe("Device",e),n=[].concat(o,r),a=`<span class="i18n">${i}</span> ${e.display_title}  <span class="i18n">is\xA0referenced\uFF1A</span>`,s=".";if(n.length>0){let l=[a,n.map(tw).join(";"),s];Ot("info",l,"Log")}}}async function Nq(t={}){let e={action:"yes",data:t},i;return t.msg?i=t.msg:i=`
        <div>
            <div style="line-height: 20px; font-weight: bolder;">${t.scope==0?me.i18n("This action will:"):me.i18n("Modifying the project library will:")}</div>
            <div style="line-height: 20px;">${t.scope!==0?me.i18n("Affect all references to the library in the whole project."):""}</div>
            <div style="line-height: 20px;">${me.i18n("Clear the history, You will not be able to undo/redo the previous action")}</div>
            <div style="line-height: 20px;">${me.i18n("Do you want to continue?")}</div>
        </div>
    `,new Promise(async(o,r)=>{let n,a=()=>{let s=J();return(0,gX.jsxs)(gX.Fragment,{children:[(0,gX.jsx)(Me,{type:"primary",size:"md",onClick:()=>{le.destroy(n),e.action="yes",o(e)},children:"Yes"}),(0,gX.jsx)(Me,{size:"md",onClick:()=>{le.destroy(n),e.action="no",o(e)},children:"No"})]})};n=(await C.messageBus.rpcCall("messageSync",{type:"confirm",title:"Notice",isHtml:!0,message:i,height:t.height,footer:(0,gX.jsx)(a,{}),closable:!0,esc:!0,onConfirm:()=>{le.destroy(n),e.action="yes",o(e)}})).message})}var QMe="updateFootprintCache";function tQi(){he.$on(r2.CLOSE_TAB,t=>{String(t.doctype)===String(se.FOOTPRINT)&&!t.openInNewWindow&&fAt([t.tabid])})}function HV(t,e){o(t,e),i(t,e);function i(r,n){return he.isHasTabById(r)?(Object.keys(n).forEach((s,l)=>{he.setTabData(r,{[s]:n[s]})}),!0):!1}function o(r,n){let a,s=r.split("@")[0];try{a=JSON.parse(window.localStorage.getItem(QMe)||"{}"),typeof a[s]>"u"&&(a[s]={})}catch{a={[s]:{}}}Object.keys(n).forEach((l,c)=>{a[s][l]=n[l]}),window.localStorage.setItem(QMe,JSON.stringify(a))}}function Tfe(t,e){return i(t,e);function i(o,r){let n,a=o.split("@")[0];try{if(n=JSON.parse(window.localStorage.getItem(QMe)||"{}"),typeof n[a]>"u")return null}catch{return null}let s={};return r.forEach((l,c)=>{typeof n[a][l]<"u"&&(s[l]=n[a][l])}),s}}function fAt(t){let e;try{e=JSON.parse(window.localStorage.getItem(QMe)||"{}"),t.forEach(i=>{let o=i.split("@")[0];typeof e[o]<"u"&&delete e[o]}),window.localStorage.setItem(QMe,JSON.stringify(e))}catch{}}function QEr(t){return he.isHasTabById(t)}async function iQi(t){return new Promise(async(e,i)=>{let o=t.uuids[0],r=t.type,n=t.force||!1;if(!o)return;let a=t.pcbTabId||he.getActiveTab(),s=!n&&await Nq({scope:r,uuid:o});if(n||s.action==="yes"){let{message:l}=await C.messageBus.rpcCall($e.FOOTPRINT.GET,[o,C.currentProject.projectId]);if(s.data.display_title=(l==null?void 0:l.display_title)||"",await jKe(se.FOOTPRINT,s.data),!QEr(o)){qb({...l,path:C.currentProject.projectId},C.currentProject.projectId,c=>{HV(l.uuid,{"edtfootprint-type":r,"edtfootprint-new-device-uuid":l.uuid,"edtfootprint-old-device-uuid":o,"edtfootprint-trigger-tabid":a,"edtfootprint-old-source":l.source}),e({ret:0,msg:"",data:l})});return}he.simulateClick(o)}})}var oQi="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548//assets/favicon.ico",MM={time:0,timer:null,show:function(){if(!MM.timer&&document.hidden)return MM.timer=setInterval(function(){MM.time++,MM.time%2==0?MM.change_icon(oQi):MM.change_icon("undefined")},100),[MM.timer]},change_icon:t=>{let e=document.querySelector('link[rel="icon"]'),i=document.querySelector('link[rel="shortcut icon"]');e!==null?e.href=t:(e=document.createElement("link"),e.rel="icon",e.href=t,document.head.appendChild(e)),i!==null?i.href=t:(i=document.createElement("link"),i.rel="icon",i.href=t,document.head.appendChild(i))},clear:function(){clearTimeout(MM.timer),MM.timer=void 0,MM.change_icon(oQi)}};var gAt=class{constructor(){this.menuButtonSet={};this.topMenuButtonId=[];this.moreMenuButtonId=[];this.map={};this.moreShowStatus=new Ps(!1)}getMoreShowStatus(){return this.moreShowStatus}setMoreShow(e){this.moreShowStatus.setValue(e)}getMenuButton(e){return this.menuButtonSet[e]||(this.menuButtonSet[e]={}),this.menuButtonSet[e]}setMenuButton(e,i){i&&(this.menuButtonSet[e]=i,i.menuId&&(this.map[i.menuId]=e))}closeOtherExpandTopMenu(e,i=!1){let o=si.getMenuShowIds(this.getTopMenuId()),r=this.getMenuButton(e).menuId;o.forEach(n=>{if(r==n)return!0;si.closeBelongMenu(n)}),i&&this.setMoreShow(!1)}clear(){this.menuButtonSet={},this.topMenuButtonId=[],this.moreMenuButtonId=[]}setTopMenuButtonId(e){this.topMenuButtonId=e}getTopMenuButtonId(){return this.topMenuButtonId}getTopMenuId(){let e=[];return this.topMenuButtonId.forEach(i=>{let o=this.getMenuButton(i).menuId;e.push(o)}),e}setMoreMenuButtonId(e){this.moreMenuButtonId=e}getMoreMenuButtonId(){return this.moreMenuButtonId}setMenuButtonMenuId(e,i){if(!i)return;let o=this.getMenuButton(e);o.menuId=i,this.map[i]=e}setMenuButtonPos(e,i){let o=this.getMenuButton(e);o.position=i}getMenuButtonPos(e){return this.getMenuButton(e).position}setTopMenuByConfig(e){e.forEach(i=>{var n;let o=i.id,r=(n=i.menuItems)==null?void 0:n.menuId;o&&(this.topMenuButtonId.push(o),this.setMenuButton(o,{menuId:r}))})}setMoreMenuByConfig(e){e.forEach(i=>{let o=i.id;o&&this.moreMenuButtonId.push(o)})}isMenuUseKeyboard(e,i){let o=Z2.getTopMenuId(),r=si.getMenuShowIds(o);if(r.length>=1){let n=Z2.getTopMenuButtonId(),a=r[0],s=o.findIndex(l=>l==a);switch(e){case 37:if(!si.getMenuChildShowId(a)){si.closeBelongMenu(a),s=(s-1+o.length)%o.length;let c=o[s],d=n[s];this.moreMenuButtonId.includes(d)?this.setMoreShow(!0):this.getMoreShowStatus().value&&this.setMoreShow(!1);let u=Z2.getMenuButtonPos(d);return u&&si.openMenu(c,{x:u.left,y:u.top+u.height,width:0,height:(u==null?void 0:u.height)||0}),!0}break;case 39:{let l=!1,c=a;for(;si.getMenuSelectId(c);){let u=si.getMenuSelectId(c),p=si.getChildMenuId(c),m=si.getMenuSelectId(p),h=u?si.judgeItemDisable(si.getMenuStore(c).selectMenuItem):!1;if(u&&p&&m)c=p;else if(u&&p&&!h){l=!0;break}else break}if(!l){si.closeBelongMenu(a),s=(s+1)%o.length;let d=o[s],u=n[s];this.moreMenuButtonId.includes(u)?this.setMoreShow(!0):this.getMoreShowStatus().value&&this.setMoreShow(!1);let p=Z2.getMenuButtonPos(u);return p&&si.openMenu(d,{x:p.left,y:p.top+p.height,width:0,height:(p==null?void 0:p.height)||0}),!0}}break}}return!1}},Z2=new gAt;var bAt=class{constructor(){this.task=new Set;this.timeout=null}addTask(e){this.task.add(e),clearTimeout(this.timeout),this.timeout=setTimeout(async()=>{let i=new Set(this.task);this.task.clear(),await this.execute(i),this.timeout=null},0)}async execute(e){for(let i of e)await this.run(i)}run(e){return new Promise(async(i,o)=>{let r=e.publishName,n=e.hotkey;if(r==="ui_hotkey")await C.messageBus.rpcCall(r,{function:n.hotkeyCmd,key:n.hotkeyCmd,cmd:n.command||"",keyStr:e.keyStr,keyCode:e.keyCode,funcE:n.funcE,range:n.range}),i(!0);else if(r==="photoView_centerByCur_hotkey"){let a=n.range,s=n.scene;for(let l of a)for(let c of s)C.messageBus.publish(r,{range:l,scene:c,function:n.hotkeyCmd,key:l+"-"+c+"-"+n.hotkeyCmd,cmd:n.command||"",keyStr:e.keyStr,keyCode:e.keyCode,funcE:n.funcE,keyAction:e.keyAction});i(!0)}else{let a=n.range,s=n.scene;for(let l of a)for(let c of s)if((await C.messageBus.rpcCall(r,{range:l,scene:c,function:n.hotkeyCmd,key:l+"-"+c+"-"+n.hotkeyCmd,cmd:n.command||"",keyStr:e.keyStr,keyCode:e.keyCode,funcE:n.funcE,keyAction:e.keyAction})).message){i(!0);return}i(!0)}})}},BKe=new bAt;var MNt=L(nQi());var SNt=L(Se());function WKe(t){return QKe(t.map(([e,i])=>new Array(e).fill(i,0,e)))}function QKe(t){return t.reduce((e,i)=>e.concat(Array.isArray(i)?QKe(i):i),[])}var aQi=[0,1,2,3].concat(...WKe([[2,4],[2,5],[4,6],[4,7],[8,8],[8,9],[16,10],[16,11],[32,12],[32,13],[64,14],[64,15],[2,0],[1,16],[1,17],[2,18],[2,19],[4,20],[4,21],[8,22],[8,23],[16,24],[16,25],[32,26],[32,27],[64,28],[64,29]]));function yh(){let t=this;function e(r){let n=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.extra_bits,l=t.stat_desc.extra_base,c=t.stat_desc.max_length,d,u,p,m,h,f,g=0;for(m=0;m<=15;m++)r.bl_count[m]=0;for(n[r.heap[r.heap_max]*2+1]=0,d=r.heap_max+1;d<573;d++)u=r.heap[d],m=n[n[u*2+1]*2+1]+1,m>c&&(m=c,g++),n[u*2+1]=m,!(u>t.max_code)&&(r.bl_count[m]++,h=0,u>=l&&(h=s[u-l]),f=n[u*2],r.opt_len+=f*(m+h),a&&(r.static_len+=f*(a[u*2+1]+h)));if(g!==0){do{for(m=c-1;r.bl_count[m]===0;)m--;r.bl_count[m]--,r.bl_count[m+1]+=2,r.bl_count[c]--,g-=2}while(g>0);for(m=c;m!==0;m--)for(u=r.bl_count[m];u!==0;)p=r.heap[--d],!(p>t.max_code)&&(n[p*2+1]!=m&&(r.opt_len+=(m-n[p*2+1])*n[p*2],n[p*2+1]=m),u--)}}function i(r,n){let a=0;do a|=r&1,r>>>=1,a<<=1;while(--n>0);return a>>>1}function o(r,n,a){let s=[],l=0,c,d,u;for(c=1;c<=15;c++)s[c]=l=l+a[c-1]<<1;for(d=0;d<=n;d++)u=r[d*2+1],u!==0&&(r[d*2]=i(s[u]++,u))}t.build_tree=function(r){let n=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.elems,l,c,d=-1,u;for(r.heap_len=0,r.heap_max=573,l=0;l<s;l++)n[l*2]!==0?(r.heap[++r.heap_len]=d=l,r.depth[l]=0):n[l*2+1]=0;for(;r.heap_len<2;)u=r.heap[++r.heap_len]=d<2?++d:0,n[u*2]=1,r.depth[u]=0,r.opt_len--,a&&(r.static_len-=a[u*2+1]);for(t.max_code=d,l=Math.floor(r.heap_len/2);l>=1;l--)r.pqdownheap(n,l);u=s;do l=r.heap[1],r.heap[1]=r.heap[r.heap_len--],r.pqdownheap(n,1),c=r.heap[1],r.heap[--r.heap_max]=l,r.heap[--r.heap_max]=c,n[u*2]=n[l*2]+n[c*2],r.depth[u]=Math.max(r.depth[l],r.depth[c])+1,n[l*2+1]=n[c*2+1]=u,r.heap[1]=u++,r.pqdownheap(n,1);while(r.heap_len>=2);r.heap[--r.heap_max]=r.heap[1],e(r),o(n,t.max_code,r.bl_count)}}yh._length_code=[0,1,2,3,4,5,6,7].concat(...WKe([[2,8],[2,9],[2,10],[2,11],[4,12],[4,13],[4,14],[4,15],[8,16],[8,17],[8,18],[8,19],[16,20],[16,21],[16,22],[16,23],[32,24],[32,25],[32,26],[31,27],[1,28]]));yh.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0];yh.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576];yh.d_code=function(t){return t<256?aQi[t]:aQi[256+(t>>>7)]};yh.extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0];yh.extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13];yh.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7];yh.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];function KC(t,e,i,o,r){let n=this;n.static_tree=t,n.extra_bits=e,n.extra_base=i,n.elems=o,n.max_length=r}var KEr=[12,140,76,204,44,172,108,236,28,156,92,220,60,188,124,252,2,130,66,194,34,162,98,226,18,146,82,210,50,178,114,242,10,138,74,202,42,170,106,234,26,154,90,218,58,186,122,250,6,134,70,198,38,166,102,230,22,150,86,214,54,182,118,246,14,142,78,206,46,174,110,238,30,158,94,222,62,190,126,254,1,129,65,193,33,161,97,225,17,145,81,209,49,177,113,241,9,137,73,201,41,169,105,233,25,153,89,217,57,185,121,249,5,133,69,197,37,165,101,229,21,149,85,213,53,181,117,245,13,141,77,205,45,173,109,237,29,157,93,221,61,189,125,253,19,275,147,403,83,339,211,467,51,307,179,435,115,371,243,499,11,267,139,395,75,331,203,459,43,299,171,427,107,363,235,491,27,283,155,411,91,347,219,475,59,315,187,443,123,379,251,507,7,263,135,391,71,327,199,455,39,295,167,423,103,359,231,487,23,279,151,407,87,343,215,471,55,311,183,439,119,375,247,503,15,271,143,399,79,335,207,463,47,303,175,431,111,367,239,495,31,287,159,415,95,351,223,479,63,319,191,447,127,383,255,511,0,64,32,96,16,80,48,112,8,72,40,104,24,88,56,120,4,68,36,100,20,84,52,116,3,131,67,195,35,163,99,227],ZEr=WKe([[144,8],[112,9],[24,7],[8,8]]);KC.static_ltree=QKe(KEr.map((t,e)=>[t,ZEr[e]]));var JEr=[0,16,8,24,4,20,12,28,2,18,10,26,6,22,14,30,1,17,9,25,5,21,13,29,3,19,11,27,7,23],qEr=WKe([[30,5]]);KC.static_dtree=QKe(JEr.map((t,e)=>[t,qEr[e]]));KC.static_l_desc=new KC(KC.static_ltree,yh.extra_lbits,257,286,15);KC.static_d_desc=new KC(KC.static_dtree,yh.extra_dbits,0,30,15);KC.static_bl_desc=new KC(null,yh.extra_blbits,0,19,7);var XEr=9,$Er=8;function VB(t,e,i,o,r){let n=this;n.good_length=t,n.max_lazy=e,n.nice_length=i,n.max_chain=o,n.func=r}var lQi=0,GKe=1,uae=2,fO=[new VB(0,0,0,0,lQi),new VB(4,4,8,4,GKe),new VB(4,5,16,8,GKe),new VB(4,6,32,32,GKe),new VB(4,4,16,16,uae),new VB(8,16,32,32,uae),new VB(8,16,128,128,uae),new VB(8,32,128,256,uae),new VB(32,128,258,1024,uae),new VB(32,258,258,4096,uae)],FKe=["need dictionary","stream end","","","stream error","data error","","buffer error","",""],p7=0,UKe=1,KMe=2,VKe=3,e8r=32,yAt=42,HKe=113,ZMe=666,wAt=8,t8r=0,CAt=1,i8r=2,pf=3,YKe=258,_D=YKe+pf+1;function sQi(t,e,i,o){let r=t[e*2],n=t[i*2];return r<n||r==n&&o[e]<=o[i]}function o8r(){let t=this,e,i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M,I,A,D,E,N,R,v,k,P,O,_=new yh,j=new yh,B=new yh;t.depth=[];let V,G,Q,H,q,U;t.bl_count=[],t.heap=[],k=[],P=[],O=[];function F(){c=2*n,u[m-1]=0;for(let Ye=0;Ye<m-1;Ye++)u[Ye]=0;D=fO[E].max_lazy,R=fO[E].good_length,v=fO[E].nice_length,A=fO[E].max_chain,S=0,b=0,M=0,y=I=pf-1,x=0,p=0}function K(){let Ye;for(Ye=0;Ye<286;Ye++)k[Ye*2]=0;for(Ye=0;Ye<30;Ye++)P[Ye*2]=0;for(Ye=0;Ye<19;Ye++)O[Ye*2]=0;k[256*2]=1,t.opt_len=t.static_len=0,G=Q=0}function te(){_.dyn_tree=k,_.stat_desc=KC.static_l_desc,j.dyn_tree=P,j.stat_desc=KC.static_d_desc,B.dyn_tree=O,B.stat_desc=KC.static_bl_desc,q=0,U=0,H=8,K()}t.pqdownheap=function(Ye,ke){let Be=t.heap,Xe=Be[ke],Ge=ke<<1;for(;Ge<=t.heap_len&&(Ge<t.heap_len&&sQi(Ye,Be[Ge+1],Be[Ge],t.depth)&&Ge++,!sQi(Ye,Xe,Be[Ge],t.depth));)Be[ke]=Be[Ge],ke=Ge,Ge<<=1;Be[ke]=Xe};function ae(Ye,ke){let Be=-1,Xe,Ge=Ye[1],Ke=0,pt=7,ot=4;Ge===0&&(pt=138,ot=3),Ye[(ke+1)*2+1]=65535;for(let Qe=0;Qe<=ke;Qe++)Xe=Ge,Ge=Ye[(Qe+1)*2+1],!(++Ke<pt&&Xe==Ge)&&(Ke<ot?O[Xe*2]+=Ke:Xe!==0?(Xe!=Be&&O[Xe*2]++,O[32]++):Ke<=10?O[34]++:O[36]++,Ke=0,Be=Xe,Ge===0?(pt=138,ot=3):Xe==Ge?(pt=6,ot=3):(pt=7,ot=4))}function pe(){let Ye;for(ae(k,_.max_code),ae(P,j.max_code),B.build_tree(t),Ye=18;Ye>=3&&O[yh.bl_order[Ye]*2+1]===0;Ye--);return t.opt_len+=3*(Ye+1)+5+5+4,Ye}function Z(Ye){t.pending_buf[t.pending++]=Ye}function ee(Ye){Z(Ye&255),Z(Ye>>>8&255)}function ce(Ye){Z(Ye>>8&255),Z(Ye&255&255)}function ne(Ye,ke){let Be,Xe=ke;U>16-Xe?(Be=Ye,q|=Be<<U&65535,ee(q),q=Be>>>16-U,U+=Xe-16):(q|=Ye<<U&65535,U+=Xe)}function oe(Ye,ke){let Be=Ye*2;ne(ke[Be]&65535,ke[Be+1]&65535)}function re(Ye,ke){let Be,Xe=-1,Ge,Ke=Ye[1],pt=0,ot=7,Qe=4;for(Ke===0&&(ot=138,Qe=3),Be=0;Be<=ke;Be++)if(Ge=Ke,Ke=Ye[(Be+1)*2+1],!(++pt<ot&&Ge==Ke)){if(pt<Qe)do oe(Ge,O);while(--pt!==0);else Ge!==0?(Ge!=Xe&&(oe(Ge,O),pt--),oe(16,O),ne(pt-3,2)):pt<=10?(oe(17,O),ne(pt-3,3)):(oe(18,O),ne(pt-11,7));pt=0,Xe=Ge,Ke===0?(ot=138,Qe=3):Ge==Ke?(ot=6,Qe=3):(ot=7,Qe=4)}}function Y(Ye,ke,Be){let Xe;for(ne(Ye-257,5),ne(ke-1,5),ne(Be-4,4),Xe=0;Xe<Be;Xe++)ne(O[yh.bl_order[Xe]*2+1],3);re(k,Ye-1),re(P,ke-1)}function X(){U==16?(ee(q),q=0,U=0):U>=8&&(Z(q&255),q>>>=8,U-=8)}function ie(){ne(CAt<<1,3),oe(256,KC.static_ltree),X(),1+H+10-U<9&&(ne(CAt<<1,3),oe(256,KC.static_ltree),X()),H=7}function de(Ye,ke){let Be,Xe,Ge;if(t.dist_buf[G]=Ye,t.lc_buf[G]=ke&255,G++,Ye===0?k[ke*2]++:(Q++,Ye--,k[(yh._length_code[ke]+256+1)*2]++,P[yh.d_code(Ye)*2]++),(G&8191)===0&&E>2){for(Be=G*8,Xe=S-b,Ge=0;Ge<30;Ge++)Be+=P[Ge*2]*(5+yh.extra_dbits[Ge]);if(Be>>>=3,Q<Math.floor(G/2)&&Be<Math.floor(Xe/2))return!0}return G==V-1}function fe(Ye,ke){let Be,Xe,Ge=0,Ke,pt;if(G!==0)do Be=t.dist_buf[Ge],Xe=t.lc_buf[Ge],Ge++,Be===0?oe(Xe,Ye):(Ke=yh._length_code[Xe],oe(Ke+256+1,Ye),pt=yh.extra_lbits[Ke],pt!==0&&(Xe-=yh.base_length[Ke],ne(Xe,pt)),Be--,Ke=yh.d_code(Be),oe(Ke,ke),pt=yh.extra_dbits[Ke],pt!==0&&(Be-=yh.base_dist[Ke],ne(Be,pt)));while(Ge<G);oe(256,Ye),H=Ye[256*2+1]}function ye(){U>8?ee(q):U>0&&Z(q&255),q=0,U=0}function Le(Ye,ke,Be){ye(),H=8,Be&&(ee(ke),ee(~ke)),t.pending_buf.set(l.subarray(Ye,Ye+ke),t.pending),t.pending+=ke}function Re(Ye,ke,Be){ne((t8r<<1)+(Be?1:0),3),Le(Ye,ke,!0)}function Ne(Ye,ke,Be){let Xe,Ge,Ke=0;E>0?(_.build_tree(t),j.build_tree(t),Ke=pe(),Xe=t.opt_len+3+7>>>3,Ge=t.static_len+3+7>>>3,Ge<=Xe&&(Xe=Ge)):Xe=Ge=ke+5,ke+4<=Xe&&Ye!=-1?Re(Ye,ke,Be):Ge==Xe?(ne((CAt<<1)+(Be?1:0),3),fe(KC.static_ltree,KC.static_dtree)):(ne((i8r<<1)+(Be?1:0),3),Y(_.max_code+1,j.max_code+1,Ke+1),fe(k,P)),K(),Be&&ye()}function Te(Ye){Ne(b>=0?b:-1,S-b,Ye),b=S,e.flush_pending()}function Pe(){let Ye,ke,Be,Xe;do{if(Xe=c-M-S,Xe===0&&S===0&&M===0)Xe=n;else if(Xe==-1)Xe--;else if(S>=n+n-_D){l.set(l.subarray(n,n+n),0),T-=n,S-=n,b-=n,Ye=m,Be=Ye;do ke=u[--Be]&65535,u[Be]=ke>=n?ke-n:0;while(--Ye!==0);Ye=n,Be=Ye;do ke=d[--Be]&65535,d[Be]=ke>=n?ke-n:0;while(--Ye!==0);Xe+=n}if(e.avail_in===0)return;Ye=e.read_buf(l,S+M,Xe),M+=Ye,M>=pf&&(p=l[S]&255,p=(p<<g^l[S+1]&255)&f)}while(M<_D&&e.avail_in!==0)}function Oe(Ye){let ke=65535,Be;for(ke>o-5&&(ke=o-5);;){if(M<=1){if(Pe(),M===0&&Ye==0)return p7;if(M===0)break}if(S+=M,M=0,Be=b+ke,(S===0||S>=Be)&&(M=S-Be,S=Be,Te(!1),e.avail_out===0)||S-b>=n-_D&&(Te(!1),e.avail_out===0))return p7}return Te(Ye==4),e.avail_out===0?Ye==4?KMe:p7:Ye==4?VKe:UKe}function Ue(Ye){let ke=A,Be=S,Xe,Ge,Ke=I,pt=S>n-_D?S-(n-_D):0,ot=v,Qe=s,ut=S+YKe,rt=l[Be+Ke-1],ht=l[Be+Ke];I>=R&&(ke>>=2),ot>M&&(ot=M);do if(Xe=Ye,!(l[Xe+Ke]!=ht||l[Xe+Ke-1]!=rt||l[Xe]!=l[Be]||l[++Xe]!=l[Be+1])){Be+=2,Xe++;do;while(l[++Be]==l[++Xe]&&l[++Be]==l[++Xe]&&l[++Be]==l[++Xe]&&l[++Be]==l[++Xe]&&l[++Be]==l[++Xe]&&l[++Be]==l[++Xe]&&l[++Be]==l[++Xe]&&l[++Be]==l[++Xe]&&Be<ut);if(Ge=YKe-(ut-Be),Be=ut-YKe,Ge>Ke){if(T=Ye,Ke=Ge,Ge>=ot)break;rt=l[Be+Ke-1],ht=l[Be+Ke]}}while((Ye=d[Ye&Qe]&65535)>pt&&--ke!==0);return Ke<=M?Ke:M}function Ve(Ye){let ke=0,Be;for(;;){if(M<_D){if(Pe(),M<_D&&Ye==0)return p7;if(M===0)break}if(M>=pf&&(p=(p<<g^l[S+(pf-1)]&255)&f,ke=u[p]&65535,d[S&s]=u[p],u[p]=S),ke!==0&&(S-ke&65535)<=n-_D&&N!=2&&(y=Ue(ke)),y>=pf)if(Be=de(S-T,y-pf),M-=y,y<=D&&M>=pf){y--;do S++,p=(p<<g^l[S+(pf-1)]&255)&f,ke=u[p]&65535,d[S&s]=u[p],u[p]=S;while(--y!==0);S++}else S+=y,y=0,p=l[S]&255,p=(p<<g^l[S+1]&255)&f;else Be=de(0,l[S]&255),M--,S++;if(Be&&(Te(!1),e.avail_out===0))return p7}return Te(Ye==4),e.avail_out===0?Ye==4?KMe:p7:Ye==4?VKe:UKe}function ze(Ye){let ke=0,Be,Xe;for(;;){if(M<_D){if(Pe(),M<_D&&Ye==0)return p7;if(M===0)break}if(M>=pf&&(p=(p<<g^l[S+(pf-1)]&255)&f,ke=u[p]&65535,d[S&s]=u[p],u[p]=S),I=y,w=T,y=pf-1,ke!==0&&I<D&&(S-ke&65535)<=n-_D&&(N!=2&&(y=Ue(ke)),y<=5&&(N==1||y==pf&&S-T>4096)&&(y=pf-1)),I>=pf&&y<=I){Xe=S+M-pf,Be=de(S-1-w,I-pf),M-=I-1,I-=2;do++S<=Xe&&(p=(p<<g^l[S+(pf-1)]&255)&f,ke=u[p]&65535,d[S&s]=u[p],u[p]=S);while(--I!==0);if(x=0,y=pf-1,S++,Be&&(Te(!1),e.avail_out===0))return p7}else if(x!==0){if(Be=de(0,l[S-1]&255),Be&&Te(!1),S++,M--,e.avail_out===0)return p7}else x=1,S++,M--}return x!==0&&(Be=de(0,l[S-1]&255),x=0),Te(Ye==4),e.avail_out===0?Ye==4?KMe:p7:Ye==4?VKe:UKe}function He(Ye){return Ye.total_in=Ye.total_out=0,Ye.msg=null,t.pending=0,t.pending_out=0,i=HKe,r=0,te(),F(),0}t.deflateInit=function(Ye,ke,Be,Xe,Ge,Ke){return Xe||(Xe=wAt),Ge||(Ge=$Er),Ke||(Ke=0),Ye.msg=null,ke==-1&&(ke=6),Ge<1||Ge>XEr||Xe!=wAt||Be<9||Be>15||ke<0||ke>9||Ke<0||Ke>2?-2:(Ye.dstate=t,a=Be,n=1<<a,s=n-1,h=Ge+7,m=1<<h,f=m-1,g=Math.floor((h+pf-1)/pf),l=new Uint8Array(n*2),d=[],u=[],V=1<<Ge+6,t.pending_buf=new Uint8Array(V*4),o=V*4,t.dist_buf=new Uint16Array(V),t.lc_buf=new Uint8Array(V),E=ke,N=Ke,He(Ye))},t.deflateEnd=function(){return i!=yAt&&i!=HKe&&i!=ZMe?-2:(t.lc_buf=null,t.dist_buf=null,t.pending_buf=null,u=null,d=null,l=null,t.dstate=null,i==HKe?-3:0)},t.deflateParams=function(Ye,ke,Be){let Xe=0;return ke==-1&&(ke=6),ke<0||ke>9||Be<0||Be>2?-2:(fO[E].func!=fO[ke].func&&Ye.total_in!==0&&(Xe=Ye.deflate(1)),E!=ke&&(E=ke,D=fO[E].max_lazy,R=fO[E].good_length,v=fO[E].nice_length,A=fO[E].max_chain),N=Be,Xe)},t.deflateSetDictionary=function(Ye,ke,Be){let Xe=Be,Ge,Ke=0;if(!ke||i!=yAt)return-2;if(Xe<pf)return 0;for(Xe>n-_D&&(Xe=n-_D,Ke=Be-Xe),l.set(ke.subarray(Ke,Ke+Xe),0),S=Xe,b=Xe,p=l[0]&255,p=(p<<g^l[1]&255)&f,Ge=0;Ge<=Xe-pf;Ge++)p=(p<<g^l[Ge+(pf-1)]&255)&f,d[Ge&s]=u[p],u[p]=Ge;return 0},t.deflate=function(Ye,ke){let Be,Xe,Ge,Ke,pt;if(ke>4||ke<0)return-2;if(!Ye.next_out||!Ye.next_in&&Ye.avail_in!==0||i==ZMe&&ke!=4)return Ye.msg=FKe[4],-2;if(Ye.avail_out===0)return Ye.msg=FKe[7],-5;if(e=Ye,Ke=r,r=ke,i==yAt&&(Xe=wAt+(a-8<<4)<<8,Ge=(E-1&255)>>1,Ge>3&&(Ge=3),Xe|=Ge<<6,S!==0&&(Xe|=e8r),Xe+=31-Xe%31,i=HKe,ce(Xe)),t.pending!==0){if(e.flush_pending(),e.avail_out===0)return r=-1,0}else if(e.avail_in===0&&ke<=Ke&&ke!=4)return e.msg=FKe[7],-5;if(i==ZMe&&e.avail_in!==0)return Ye.msg=FKe[7],-5;if(e.avail_in!==0||M!==0||ke!=0&&i!=ZMe){switch(pt=-1,fO[E].func){case lQi:pt=Oe(ke);break;case GKe:pt=Ve(ke);break;case uae:pt=ze(ke);break;default:}if((pt==KMe||pt==VKe)&&(i=ZMe),pt==p7||pt==KMe)return e.avail_out===0&&(r=-1),0;if(pt==UKe){if(ke==1)ie();else if(Re(0,0,!1),ke==3)for(Be=0;Be<m;Be++)u[Be]=0;if(e.flush_pending(),e.avail_out===0)return r=-1,0}}return ke!=4?0:1}}function cQi(){let t=this;t.next_in_index=0,t.next_out_index=0,t.avail_in=0,t.total_in=0,t.avail_out=0,t.total_out=0}cQi.prototype={deflateInit(t,e){let i=this;return i.dstate=new o8r,e||(e=15),i.dstate.deflateInit(i,t,e)},deflate(t){let e=this;return e.dstate?e.dstate.deflate(e,t):-2},deflateEnd(){let t=this;if(!t.dstate)return-2;let e=t.dstate.deflateEnd();return t.dstate=null,e},deflateParams(t,e){let i=this;return i.dstate?i.dstate.deflateParams(i,t,e):-2},deflateSetDictionary(t,e){let i=this;return i.dstate?i.dstate.deflateSetDictionary(i,t,e):-2},read_buf(t,e,i){let o=this,r=o.avail_in;return r>i&&(r=i),r===0?0:(o.avail_in-=r,t.set(o.next_in.subarray(o.next_in_index,o.next_in_index+r),e),o.next_in_index+=r,o.total_in+=r,r)},flush_pending(){let t=this,e=t.dstate.pending;e>t.avail_out&&(e=t.avail_out),e!==0&&(t.next_out.set(t.dstate.pending_buf.subarray(t.dstate.pending_out,t.dstate.pending_out+e),t.next_out_index),t.next_out_index+=e,t.dstate.pending_out+=e,t.total_out+=e,t.avail_out-=e,t.dstate.pending-=e,t.dstate.pending===0&&(t.dstate.pending_out=0))}};function dQi(t){let e=this,i=new cQi,o=r8r(t&&t.chunkSize?t.chunkSize:64*1024),r=0,n=new Uint8Array(o),a=t?t.level:-1;typeof a>"u"&&(a=-1),i.deflateInit(a),i.next_out=n,e.append=function(s,l){let c,d,u=0,p=0,m=0,h=[];if(s.length){i.next_in_index=0,i.next_in=s,i.avail_in=s.length;do{if(i.next_out_index=0,i.avail_out=o,c=i.deflate(r),c!=0)throw new Error("deflating: "+i.msg);i.next_out_index&&(i.next_out_index==o?h.push(new Uint8Array(n)):h.push(n.subarray(0,i.next_out_index))),m+=i.next_out_index,l&&i.next_in_index>0&&i.next_in_index!=u&&(l(i.next_in_index),u=i.next_in_index)}while(i.avail_in>0||i.avail_out===0);return h.length>1?(d=new Uint8Array(m),h.forEach(function(f){d.set(f,p),p+=f.length})):d=h[0]?new Uint8Array(h[0]):new Uint8Array,d}},e.flush=function(){let s,l,c=0,d=0,u=[];do{if(i.next_out_index=0,i.avail_out=o,s=i.deflate(4),s!=1&&s!=0)throw new Error("deflating: "+i.msg);o-i.avail_out>0&&u.push(n.slice(0,i.next_out_index)),d+=i.next_out_index}while(i.avail_in>0||i.avail_out===0);return i.deflateEnd(),l=new Uint8Array(d),u.forEach(function(p){l.set(p,c),c+=p.length}),l}}function r8r(t){return t+5*(Math.floor(t/16383)+1)}var jD=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],AQi=1440,n8r=0,a8r=4,s8r=9,l8r=5,c8r=[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],d8r=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],u8r=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],p8r=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,112,112],m8r=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],h8r=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],bX=15;function MAt(){let t=this,e,i,o,r,n,a;function s(c,d,u,p,m,h,f,g,b,y,w){let x,S,T,M,I,A,D,E,N,R,v,k,P,O,_;R=0,I=u;do o[c[d+R]]++,R++,I--;while(I!==0);if(o[0]==u)return f[0]=-1,g[0]=0,0;for(E=g[0],A=1;A<=bX&&o[A]===0;A++);for(D=A,E<A&&(E=A),I=bX;I!==0&&o[I]===0;I--);for(T=I,E>I&&(E=I),g[0]=E,O=1<<A;A<I;A++,O<<=1)if((O-=o[A])<0)return-3;if((O-=o[I])<0)return-3;for(o[I]+=O,a[1]=A=0,R=1,P=2;--I!==0;)a[P]=A+=o[R],P++,R++;I=0,R=0;do(A=c[d+R])!==0&&(w[a[A]++]=I),R++;while(++I<u);for(u=a[T],a[0]=I=0,R=0,M=-1,k=-E,n[0]=0,v=0,_=0;D<=T;D++)for(x=o[D];x--!==0;){for(;D>k+E;){if(M++,k+=E,_=T-k,_=_>E?E:_,(S=1<<(A=D-k))>x+1&&(S-=x+1,P=D,A<_))for(;++A<_&&!((S<<=1)<=o[++P]);)S-=o[P];if(_=1<<A,y[0]+_>AQi)return-3;n[M]=v=y[0],y[0]+=_,M!==0?(a[M]=I,r[0]=A,r[1]=E,A=I>>>k-E,r[2]=v-n[M-1]-A,b.set(r,(n[M-1]+A)*3)):f[0]=v}for(r[1]=D-k,R>=u?r[0]=192:w[R]<p?(r[0]=w[R]<256?0:96,r[2]=w[R++]):(r[0]=h[w[R]-p]+16+64,r[2]=m[w[R++]-p]),S=1<<D-k,A=I>>>k;A<_;A+=S)b.set(r,(v+A)*3);for(A=1<<D-1;(I&A)!==0;A>>>=1)I^=A;for(I^=A,N=(1<<k)-1;(I&N)!=a[M];)M--,k-=E,N=(1<<k)-1}return O!==0&&T!=1?-5:0}function l(c){let d;for(e||(e=[],i=[],o=new Int32Array(bX+1),r=[],n=new Int32Array(bX),a=new Int32Array(bX+1)),i.length<c&&(i=[]),d=0;d<c;d++)i[d]=0;for(d=0;d<bX+1;d++)o[d]=0;for(d=0;d<3;d++)r[d]=0;n.set(o.subarray(0,bX),0),a.set(o.subarray(0,bX+1),0)}t.inflate_trees_bits=function(c,d,u,p,m){let h;return l(19),e[0]=0,h=s(c,0,19,19,null,null,u,d,p,e,i),h==-3?m.msg="oversubscribed dynamic bit lengths tree":(h==-5||d[0]===0)&&(m.msg="incomplete dynamic bit lengths tree",h=-3),h},t.inflate_trees_dynamic=function(c,d,u,p,m,h,f,g,b){let y;return l(288),e[0]=0,y=s(u,0,c,257,u8r,p8r,h,p,g,e,i),y!=0||p[0]===0?(y==-3?b.msg="oversubscribed literal/length tree":y!=-4&&(b.msg="incomplete literal/length tree",y=-3),y):(l(288),y=s(u,c,d,0,m8r,h8r,f,m,g,e,i),y!=0||m[0]===0&&c>257?(y==-3?b.msg="oversubscribed distance tree":y==-5?(b.msg="incomplete distance tree",y=-3):y!=-4&&(b.msg="empty distance tree with lengths",y=-3),y):0)}}MAt.inflate_trees_fixed=function(t,e,i,o){return t[0]=s8r,e[0]=l8r,i[0]=c8r,o[0]=d8r,0};var KKe=0,uQi=1,pQi=2,mQi=3,hQi=4,fQi=5,gQi=6,xAt=7,bQi=8,ZKe=9;function f8r(){let t=this,e,i=0,o,r=0,n=0,a=0,s=0,l=0,c=0,d=0,u,p=0,m,h=0;function f(g,b,y,w,x,S,T,M){let I,A,D,E,N,R,v,k,P,O,_,j,B,V,G,Q;v=M.next_in_index,k=M.avail_in,N=T.bitb,R=T.bitk,P=T.write,O=P<T.read?T.read-P-1:T.end-P,_=jD[g],j=jD[b];do{for(;R<20;)k--,N|=(M.read_byte(v++)&255)<<R,R+=8;if(I=N&_,A=y,D=w,Q=(D+I)*3,(E=A[Q])===0){N>>=A[Q+1],R-=A[Q+1],T.win[P++]=A[Q+2],O--;continue}do{if(N>>=A[Q+1],R-=A[Q+1],(E&16)!==0){for(E&=15,B=A[Q+2]+(N&jD[E]),N>>=E,R-=E;R<15;)k--,N|=(M.read_byte(v++)&255)<<R,R+=8;I=N&j,A=x,D=S,Q=(D+I)*3,E=A[Q];do if(N>>=A[Q+1],R-=A[Q+1],(E&16)!==0){for(E&=15;R<E;)k--,N|=(M.read_byte(v++)&255)<<R,R+=8;if(V=A[Q+2]+(N&jD[E]),N>>=E,R-=E,O-=B,P>=V)G=P-V,P-G>0&&2>P-G?(T.win[P++]=T.win[G++],T.win[P++]=T.win[G++],B-=2):(T.win.set(T.win.subarray(G,G+2),P),P+=2,G+=2,B-=2);else{G=P-V;do G+=T.end;while(G<0);if(E=T.end-G,B>E){if(B-=E,P-G>0&&E>P-G)do T.win[P++]=T.win[G++];while(--E!==0);else T.win.set(T.win.subarray(G,G+E),P),P+=E,G+=E,E=0;G=0}}if(P-G>0&&B>P-G)do T.win[P++]=T.win[G++];while(--B!==0);else T.win.set(T.win.subarray(G,G+B),P),P+=B,G+=B,B=0;break}else if((E&64)===0)I+=A[Q+2],I+=N&jD[E],Q=(D+I)*3,E=A[Q];else return M.msg="invalid distance code",B=M.avail_in-k,B=R>>3<B?R>>3:B,k+=B,v-=B,R-=B<<3,T.bitb=N,T.bitk=R,M.avail_in=k,M.total_in+=v-M.next_in_index,M.next_in_index=v,T.write=P,-3;while(!0);break}if((E&64)===0){if(I+=A[Q+2],I+=N&jD[E],Q=(D+I)*3,(E=A[Q])===0){N>>=A[Q+1],R-=A[Q+1],T.win[P++]=A[Q+2],O--;break}}else return(E&32)!==0?(B=M.avail_in-k,B=R>>3<B?R>>3:B,k+=B,v-=B,R-=B<<3,T.bitb=N,T.bitk=R,M.avail_in=k,M.total_in+=v-M.next_in_index,M.next_in_index=v,T.write=P,1):(M.msg="invalid literal/length code",B=M.avail_in-k,B=R>>3<B?R>>3:B,k+=B,v-=B,R-=B<<3,T.bitb=N,T.bitk=R,M.avail_in=k,M.total_in+=v-M.next_in_index,M.next_in_index=v,T.write=P,-3)}while(!0)}while(O>=258&&k>=10);return B=M.avail_in-k,B=R>>3<B?R>>3:B,k+=B,v-=B,R-=B<<3,T.bitb=N,T.bitk=R,M.avail_in=k,M.total_in+=v-M.next_in_index,M.next_in_index=v,T.write=P,0}t.init=function(g,b,y,w,x,S){e=KKe,c=g,d=b,u=y,p=w,m=x,h=S,o=null},t.proc=function(g,b,y){let w,x,S,T=0,M=0,I=0,A,D,E,N;for(I=b.next_in_index,A=b.avail_in,T=g.bitb,M=g.bitk,D=g.write,E=D<g.read?g.read-D-1:g.end-D;;)switch(e){case KKe:if(E>=258&&A>=10&&(g.bitb=T,g.bitk=M,b.avail_in=A,b.total_in+=I-b.next_in_index,b.next_in_index=I,g.write=D,y=f(c,d,u,p,m,h,g,b),I=b.next_in_index,A=b.avail_in,T=g.bitb,M=g.bitk,D=g.write,E=D<g.read?g.read-D-1:g.end-D,y!=0)){e=y==1?xAt:ZKe;break}n=c,o=u,r=p,e=uQi;case uQi:for(w=n;M<w;){if(A!==0)y=0;else return g.bitb=T,g.bitk=M,b.avail_in=A,b.total_in+=I-b.next_in_index,b.next_in_index=I,g.write=D,g.inflate_flush(b,y);A--,T|=(b.read_byte(I++)&255)<<M,M+=8}if(x=(r+(T&jD[w]))*3,T>>>=o[x+1],M-=o[x+1],S=o[x],S===0){a=o[x+2],e=gQi;break}if((S&16)!==0){s=S&15,i=o[x+2],e=pQi;break}if((S&64)===0){n=S,r=x/3+o[x+2];break}if((S&32)!==0){e=xAt;break}return e=ZKe,b.msg="invalid literal/length code",y=-3,g.bitb=T,g.bitk=M,b.avail_in=A,b.total_in+=I-b.next_in_index,b.next_in_index=I,g.write=D,g.inflate_flush(b,y);case pQi:for(w=s;M<w;){if(A!==0)y=0;else return g.bitb=T,g.bitk=M,b.avail_in=A,b.total_in+=I-b.next_in_index,b.next_in_index=I,g.write=D,g.inflate_flush(b,y);A--,T|=(b.read_byte(I++)&255)<<M,M+=8}i+=T&jD[w],T>>=w,M-=w,n=d,o=m,r=h,e=mQi;case mQi:for(w=n;M<w;){if(A!==0)y=0;else return g.bitb=T,g.bitk=M,b.avail_in=A,b.total_in+=I-b.next_in_index,b.next_in_index=I,g.write=D,g.inflate_flush(b,y);A--,T|=(b.read_byte(I++)&255)<<M,M+=8}if(x=(r+(T&jD[w]))*3,T>>=o[x+1],M-=o[x+1],S=o[x],(S&16)!==0){s=S&15,l=o[x+2],e=hQi;break}if((S&64)===0){n=S,r=x/3+o[x+2];break}return e=ZKe,b.msg="invalid distance code",y=-3,g.bitb=T,g.bitk=M,b.avail_in=A,b.total_in+=I-b.next_in_index,b.next_in_index=I,g.write=D,g.inflate_flush(b,y);case hQi:for(w=s;M<w;){if(A!==0)y=0;else return g.bitb=T,g.bitk=M,b.avail_in=A,b.total_in+=I-b.next_in_index,b.next_in_index=I,g.write=D,g.inflate_flush(b,y);A--,T|=(b.read_byte(I++)&255)<<M,M+=8}l+=T&jD[w],T>>=w,M-=w,e=fQi;case fQi:for(N=D-l;N<0;)N+=g.end;for(;i!==0;){if(E===0&&(D==g.end&&g.read!==0&&(D=0,E=D<g.read?g.read-D-1:g.end-D),E===0&&(g.write=D,y=g.inflate_flush(b,y),D=g.write,E=D<g.read?g.read-D-1:g.end-D,D==g.end&&g.read!==0&&(D=0,E=D<g.read?g.read-D-1:g.end-D),E===0)))return g.bitb=T,g.bitk=M,b.avail_in=A,b.total_in+=I-b.next_in_index,b.next_in_index=I,g.write=D,g.inflate_flush(b,y);g.win[D++]=g.win[N++],E--,N==g.end&&(N=0),i--}e=KKe;break;case gQi:if(E===0&&(D==g.end&&g.read!==0&&(D=0,E=D<g.read?g.read-D-1:g.end-D),E===0&&(g.write=D,y=g.inflate_flush(b,y),D=g.write,E=D<g.read?g.read-D-1:g.end-D,D==g.end&&g.read!==0&&(D=0,E=D<g.read?g.read-D-1:g.end-D),E===0)))return g.bitb=T,g.bitk=M,b.avail_in=A,b.total_in+=I-b.next_in_index,b.next_in_index=I,g.write=D,g.inflate_flush(b,y);y=0,g.win[D++]=a,E--,e=KKe;break;case xAt:if(M>7&&(M-=8,A++,I--),g.write=D,y=g.inflate_flush(b,y),D=g.write,E=D<g.read?g.read-D-1:g.end-D,g.read!=g.write)return g.bitb=T,g.bitk=M,b.avail_in=A,b.total_in+=I-b.next_in_index,b.next_in_index=I,g.write=D,g.inflate_flush(b,y);e=bQi;case bQi:return y=1,g.bitb=T,g.bitk=M,b.avail_in=A,b.total_in+=I-b.next_in_index,b.next_in_index=I,g.write=D,g.inflate_flush(b,y);case ZKe:return y=-3,g.bitb=T,g.bitk=M,b.avail_in=A,b.total_in+=I-b.next_in_index,b.next_in_index=I,g.write=D,g.inflate_flush(b,y);default:return y=-2,g.bitb=T,g.bitk=M,b.avail_in=A,b.total_in+=I-b.next_in_index,b.next_in_index=I,g.write=D,g.inflate_flush(b,y)}},t.free=function(){}}var yQi=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Sfe=0,TAt=1,wQi=2,CQi=3,xQi=4,TQi=5,JKe=6,qKe=7,SQi=8,pae=9;function g8r(t,e){let i=this,o=Sfe,r=0,n=0,a=0,s,l=[0],c=[0],d=new f8r,u=0,p=new Int32Array(AQi*3),m=0,h=new MAt;i.bitk=0,i.bitb=0,i.win=new Uint8Array(e),i.end=e,i.read=0,i.write=0,i.reset=function(f,g){g&&(g[0]=m),o==JKe&&d.free(f),o=Sfe,i.bitk=0,i.bitb=0,i.read=i.write=0},i.reset(t,null),i.inflate_flush=function(f,g){let b,y,w;return y=f.next_out_index,w=i.read,b=(w<=i.write?i.write:i.end)-w,b>f.avail_out&&(b=f.avail_out),b!==0&&g==-5&&(g=0),f.avail_out-=b,f.total_out+=b,f.next_out.set(i.win.subarray(w,w+b),y),y+=b,w+=b,w==i.end&&(w=0,i.write==i.end&&(i.write=0),b=i.write-w,b>f.avail_out&&(b=f.avail_out),b!==0&&g==-5&&(g=0),f.avail_out-=b,f.total_out+=b,f.next_out.set(i.win.subarray(w,w+b),y),y+=b,w+=b),f.next_out_index=y,i.read=w,g},i.proc=function(f,g){let b,y,w,x,S,T,M,I;for(x=f.next_in_index,S=f.avail_in,y=i.bitb,w=i.bitk,T=i.write,M=T<i.read?i.read-T-1:i.end-T;;){let A,D,E,N,R,v,k,P;switch(o){case Sfe:for(;w<3;){if(S!==0)g=0;else return i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,i.inflate_flush(f,g);S--,y|=(f.read_byte(x++)&255)<<w,w+=8}switch(b=y&7,u=b&1,b>>>1){case 0:y>>>=3,w-=3,b=w&7,y>>>=b,w-=b,o=TAt;break;case 1:A=[],D=[],E=[[]],N=[[]],MAt.inflate_trees_fixed(A,D,E,N),d.init(A[0],D[0],E[0],0,N[0],0),y>>>=3,w-=3,o=JKe;break;case 2:y>>>=3,w-=3,o=CQi;break;case 3:return y>>>=3,w-=3,o=pae,f.msg="invalid block type",g=-3,i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,i.inflate_flush(f,g)}break;case TAt:for(;w<32;){if(S!==0)g=0;else return i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,i.inflate_flush(f,g);S--,y|=(f.read_byte(x++)&255)<<w,w+=8}if((~y>>>16&65535)!=(y&65535))return o=pae,f.msg="invalid stored block lengths",g=-3,i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,i.inflate_flush(f,g);r=y&65535,y=w=0,o=r!==0?wQi:u!==0?qKe:Sfe;break;case wQi:if(S===0||M===0&&(T==i.end&&i.read!==0&&(T=0,M=T<i.read?i.read-T-1:i.end-T),M===0&&(i.write=T,g=i.inflate_flush(f,g),T=i.write,M=T<i.read?i.read-T-1:i.end-T,T==i.end&&i.read!==0&&(T=0,M=T<i.read?i.read-T-1:i.end-T),M===0)))return i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,i.inflate_flush(f,g);if(g=0,b=r,b>S&&(b=S),b>M&&(b=M),i.win.set(f.read_buf(x,b),T),x+=b,S-=b,T+=b,M-=b,(r-=b)!==0)break;o=u!==0?qKe:Sfe;break;case CQi:for(;w<14;){if(S!==0)g=0;else return i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,i.inflate_flush(f,g);S--,y|=(f.read_byte(x++)&255)<<w,w+=8}if(n=b=y&16383,(b&31)>29||(b>>5&31)>29)return o=pae,f.msg="too many length or distance symbols",g=-3,i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,i.inflate_flush(f,g);if(b=258+(b&31)+(b>>5&31),!s||s.length<b)s=[];else for(I=0;I<b;I++)s[I]=0;y>>>=14,w-=14,a=0,o=xQi;case xQi:for(;a<4+(n>>>10);){for(;w<3;){if(S!==0)g=0;else return i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,i.inflate_flush(f,g);S--,y|=(f.read_byte(x++)&255)<<w,w+=8}s[yQi[a++]]=y&7,y>>>=3,w-=3}for(;a<19;)s[yQi[a++]]=0;if(l[0]=7,b=h.inflate_trees_bits(s,l,c,p,f),b!=0)return g=b,g==-3&&(s=null,o=pae),i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,i.inflate_flush(f,g);a=0,o=TQi;case TQi:for(;b=n,!(a>=258+(b&31)+(b>>5&31));){let O,_;for(b=l[0];w<b;){if(S!==0)g=0;else return i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,i.inflate_flush(f,g);S--,y|=(f.read_byte(x++)&255)<<w,w+=8}if(b=p[(c[0]+(y&jD[b]))*3+1],_=p[(c[0]+(y&jD[b]))*3+2],_<16)y>>>=b,w-=b,s[a++]=_;else{for(I=_==18?7:_-14,O=_==18?11:3;w<b+I;){if(S!==0)g=0;else return i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,i.inflate_flush(f,g);S--,y|=(f.read_byte(x++)&255)<<w,w+=8}if(y>>>=b,w-=b,O+=y&jD[I],y>>>=I,w-=I,I=a,b=n,I+O>258+(b&31)+(b>>5&31)||_==16&&I<1)return s=null,o=pae,f.msg="invalid bit length repeat",g=-3,i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,i.inflate_flush(f,g);_=_==16?s[I-1]:0;do s[I++]=_;while(--O!==0);a=I}}if(c[0]=-1,R=[],v=[],k=[],P=[],R[0]=9,v[0]=6,b=n,b=h.inflate_trees_dynamic(257+(b&31),1+(b>>5&31),s,R,v,k,P,p,f),b!=0)return b==-3&&(s=null,o=pae),g=b,i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,i.inflate_flush(f,g);d.init(R[0],v[0],p,k[0],p,P[0]),o=JKe;case JKe:if(i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,(g=d.proc(i,f,g))!=1)return i.inflate_flush(f,g);if(g=0,d.free(f),x=f.next_in_index,S=f.avail_in,y=i.bitb,w=i.bitk,T=i.write,M=T<i.read?i.read-T-1:i.end-T,u===0){o=Sfe;break}o=qKe;case qKe:if(i.write=T,g=i.inflate_flush(f,g),T=i.write,M=T<i.read?i.read-T-1:i.end-T,i.read!=i.write)return i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,i.inflate_flush(f,g);o=SQi;case SQi:return g=1,i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,i.inflate_flush(f,g);case pae:return g=-3,i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,i.inflate_flush(f,g);default:return g=-2,i.bitb=y,i.bitk=w,f.avail_in=S,f.total_in+=x-f.next_in_index,f.next_in_index=x,i.write=T,i.inflate_flush(f,g)}}},i.free=function(f){i.reset(f,null),i.win=null,p=null},i.set_dictionary=function(f,g,b){i.win.set(f.subarray(g,g+b),0),i.read=i.write=b},i.sync_point=function(){return o==TAt?1:0}}var b8r=32,y8r=8,w8r=0,MQi=1,IQi=2,LQi=3,vQi=4,DQi=5,SAt=6,JMe=7,EQi=12,yX=13,C8r=[0,0,255,255];function x8r(){let t=this;t.mode=0,t.method=0,t.was=[0],t.need=0,t.marker=0,t.wbits=0;function e(i){return!i||!i.istate?-2:(i.total_in=i.total_out=0,i.msg=null,i.istate.mode=JMe,i.istate.blocks.reset(i,null),0)}t.inflateEnd=function(i){return t.blocks&&t.blocks.free(i),t.blocks=null,0},t.inflateInit=function(i,o){return i.msg=null,t.blocks=null,o<8||o>15?(t.inflateEnd(i),-2):(t.wbits=o,i.istate.blocks=new g8r(i,1<<o),e(i),0)},t.inflate=function(i,o){let r,n;if(!i||!i.istate||!i.next_in)return-2;let a=i.istate;for(o=o==a8r?-5:0,r=-5;;)switch(a.mode){case w8r:if(i.avail_in===0)return r;if(r=o,i.avail_in--,i.total_in++,((a.method=i.read_byte(i.next_in_index++))&15)!=y8r){a.mode=yX,i.msg="unknown compression method",a.marker=5;break}if((a.method>>4)+8>a.wbits){a.mode=yX,i.msg="invalid win size",a.marker=5;break}a.mode=MQi;case MQi:if(i.avail_in===0)return r;if(r=o,i.avail_in--,i.total_in++,n=i.read_byte(i.next_in_index++)&255,((a.method<<8)+n)%31!==0){a.mode=yX,i.msg="incorrect header check",a.marker=5;break}if((n&b8r)===0){a.mode=JMe;break}a.mode=IQi;case IQi:if(i.avail_in===0)return r;r=o,i.avail_in--,i.total_in++,a.need=(i.read_byte(i.next_in_index++)&255)<<24&4278190080,a.mode=LQi;case LQi:if(i.avail_in===0)return r;r=o,i.avail_in--,i.total_in++,a.need+=(i.read_byte(i.next_in_index++)&255)<<16&16711680,a.mode=vQi;case vQi:if(i.avail_in===0)return r;r=o,i.avail_in--,i.total_in++,a.need+=(i.read_byte(i.next_in_index++)&255)<<8&65280,a.mode=DQi;case DQi:return i.avail_in===0?r:(r=o,i.avail_in--,i.total_in++,a.need+=i.read_byte(i.next_in_index++)&255,a.mode=SAt,2);case SAt:return a.mode=yX,i.msg="need dictionary",a.marker=0,-2;case JMe:if(r=a.blocks.proc(i,r),r==-3){a.mode=yX,a.marker=0;break}if(r==0&&(r=o),r!=1)return r;r=o,a.blocks.reset(i,a.was),a.mode=EQi;case EQi:return i.avail_in=0,1;case yX:return-3;default:return-2}},t.inflateSetDictionary=function(i,o,r){let n=0,a=r;if(!i||!i.istate||i.istate.mode!=SAt)return-2;let s=i.istate;return a>=1<<s.wbits&&(a=(1<<s.wbits)-1,n=r-a),s.blocks.set_dictionary(o,n,a),s.mode=JMe,0},t.inflateSync=function(i){let o,r,n,a,s;if(!i||!i.istate)return-2;let l=i.istate;if(l.mode!=yX&&(l.mode=yX,l.marker=0),(o=i.avail_in)===0)return-5;for(r=i.next_in_index,n=l.marker;o!==0&&n<4;)i.read_byte(r)==C8r[n]?n++:i.read_byte(r)!==0?n=0:n=4-n,r++,o--;return i.total_in+=r-i.next_in_index,i.next_in_index=r,i.avail_in=o,l.marker=n,n!=4?-3:(a=i.total_in,s=i.total_out,e(i),i.total_in=a,i.total_out=s,l.mode=JMe,0)},t.inflateSyncPoint=function(i){return!i||!i.istate||!i.istate.blocks?-2:i.istate.blocks.sync_point()}}function NQi(){}NQi.prototype={inflateInit(t){let e=this;return e.istate=new x8r,t||(t=15),e.istate.inflateInit(e,t)},inflate(t){let e=this;return e.istate?e.istate.inflate(e,t):-2},inflateEnd(){let t=this;if(!t.istate)return-2;let e=t.istate.inflateEnd(t);return t.istate=null,e},inflateSync(){let t=this;return t.istate?t.istate.inflateSync(t):-2},inflateSetDictionary(t,e){let i=this;return i.istate?i.istate.inflateSetDictionary(i,t,e):-2},read_byte(t){return this.next_in[t]},read_buf(t,e){return this.next_in.subarray(t,t+e)}};function kQi(t){let e=this,i=new NQi,o=t&&t.chunkSize?Math.floor(t.chunkSize*2):128*1024,r=n8r,n=new Uint8Array(o),a=!1;i.inflateInit(),i.next_out=n,e.append=function(s,l){let c=[],d,u,p=0,m=0,h=0;if(s.length!==0){i.next_in_index=0,i.next_in=s,i.avail_in=s.length;do{if(i.next_out_index=0,i.avail_out=o,i.avail_in===0&&!a&&(i.next_in_index=0,a=!0),d=i.inflate(r),a&&d===-5){if(i.avail_in!==0)throw new Error("inflating: bad input")}else if(d!==0&&d!==1)throw new Error("inflating: "+i.msg);if((a||d===1)&&i.avail_in===s.length)throw new Error("inflating: bad input");i.next_out_index&&(i.next_out_index===o?c.push(new Uint8Array(n)):c.push(n.subarray(0,i.next_out_index))),h+=i.next_out_index,l&&i.next_in_index>0&&i.next_in_index!=p&&(l(i.next_in_index),p=i.next_in_index)}while(i.avail_in>0||i.avail_out===0);return c.length>1?(u=new Uint8Array(h),c.forEach(function(f){u.set(f,m),m+=f.length})):u=c[0]?new Uint8Array(c[0]):new Uint8Array,u}},e.flush=function(){i.inflateEnd()}}var IAt=new Date(2107,11,31),LAt=new Date(1980,0,1),_c=void 0,BD="undefined",HB="function";var qMe=class{constructor(e){return class extends TransformStream{constructor(i,o){let r=new e(o);super({transform(n,a){a.enqueue(r.append(n))},flush(n){let a=r.flush();a&&n.enqueue(a)}})}}}};var T8r=64,PQi=2;try{typeof navigator!=BD&&navigator.hardwareConcurrency&&(PQi=navigator.hardwareConcurrency)}catch{}var S8r={chunkSize:512*1024,maxWorkers:PQi,terminateWorkerTimeout:5e3,useWebWorkers:!0,useCompressionStream:!0,workerScripts:_c,CompressionStreamNative:typeof CompressionStream!=BD&&CompressionStream,DecompressionStreamNative:typeof DecompressionStream!=BD&&DecompressionStream},CX=Object.assign({},S8r);function XMe(){return CX}function XKe(t){return Math.max(t.chunkSize,T8r)}function Mfe(t){let{baseURL:e,chunkSize:i,maxWorkers:o,terminateWorkerTimeout:r,useCompressionStream:n,useWebWorkers:a,Deflate:s,Inflate:l,CompressionStream:c,DecompressionStream:d,workerScripts:u}=t;if(wX("baseURL",e),wX("chunkSize",i),wX("maxWorkers",o),wX("terminateWorkerTimeout",r),wX("useCompressionStream",n),wX("useWebWorkers",a),s&&(CX.CompressionStream=new qMe(s)),l&&(CX.DecompressionStream=new qMe(l)),wX("CompressionStream",c),wX("DecompressionStream",d),u!==_c){let{deflate:p,inflate:m}=u;if((p||m)&&(CX.workerScripts||(CX.workerScripts={})),p){if(!Array.isArray(p))throw new Error("workerScripts.deflate must be an array");CX.workerScripts.deflate=p}if(m){if(!Array.isArray(m))throw new Error("workerScripts.inflate must be an array");CX.workerScripts.inflate=m}}}function wX(t,e){e!==_c&&(CX[t]=e)}var vAt={application:{"andrew-inset":"ez",annodex:"anx","atom+xml":"atom","atomcat+xml":"atomcat","atomserv+xml":"atomsrv",bbolin:"lin","cu-seeme":"cu","davmount+xml":"davmount",dsptype:"tsp",ecmascript:["es","ecma"],futuresplash:"spl",hta:"hta","java-archive":"jar","java-serialized-object":"ser","java-vm":"class",m3g:"m3g","mac-binhex40":"hqx",mathematica:["nb","ma","mb"],msaccess:"mdb",msword:["doc","dot","wiz"],mxf:"mxf",oda:"oda",ogg:"ogx",pdf:"pdf","pgp-keys":"key","pgp-signature":["asc","sig"],"pics-rules":"prf",postscript:["ps","ai","eps","epsi","epsf","eps2","eps3"],rar:"rar","rdf+xml":"rdf","rss+xml":"rss",rtf:"rtf","xhtml+xml":["xhtml","xht"],xml:["xml","xsl","xsd","xpdl"],"xspf+xml":"xspf",zip:"zip","vnd.android.package-archive":"apk","vnd.cinderella":"cdy","vnd.google-earth.kml+xml":"kml","vnd.google-earth.kmz":"kmz","vnd.mozilla.xul+xml":"xul","vnd.ms-excel":["xls","xlb","xlt","xlm","xla","xlc","xlw"],"vnd.ms-pki.seccat":"cat","vnd.ms-pki.stl":"stl","vnd.ms-powerpoint":["ppt","pps","pot","ppa","pwz"],"vnd.oasis.opendocument.chart":"odc","vnd.oasis.opendocument.database":"odb","vnd.oasis.opendocument.formula":"odf","vnd.oasis.opendocument.graphics":"odg","vnd.oasis.opendocument.graphics-template":"otg","vnd.oasis.opendocument.image":"odi","vnd.oasis.opendocument.presentation":"odp","vnd.oasis.opendocument.presentation-template":"otp","vnd.oasis.opendocument.spreadsheet":"ods","vnd.oasis.opendocument.spreadsheet-template":"ots","vnd.oasis.opendocument.text":"odt","vnd.oasis.opendocument.text-master":["odm","otm"],"vnd.oasis.opendocument.text-template":"ott","vnd.oasis.opendocument.text-web":"oth","vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","vnd.openxmlformats-officedocument.spreadsheetml.template":"xltx","vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","vnd.openxmlformats-officedocument.presentationml.slideshow":"ppsx","vnd.openxmlformats-officedocument.presentationml.template":"potx","vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","vnd.openxmlformats-officedocument.wordprocessingml.template":"dotx","vnd.smaf":"mmf","vnd.stardivision.calc":"sdc","vnd.stardivision.chart":"sds","vnd.stardivision.draw":"sda","vnd.stardivision.impress":"sdd","vnd.stardivision.math":["sdf","smf"],"vnd.stardivision.writer":["sdw","vor"],"vnd.stardivision.writer-global":"sgl","vnd.sun.xml.calc":"sxc","vnd.sun.xml.calc.template":"stc","vnd.sun.xml.draw":"sxd","vnd.sun.xml.draw.template":"std","vnd.sun.xml.impress":"sxi","vnd.sun.xml.impress.template":"sti","vnd.sun.xml.math":"sxm","vnd.sun.xml.writer":"sxw","vnd.sun.xml.writer.global":"sxg","vnd.sun.xml.writer.template":"stw","vnd.symbian.install":["sis","sisx"],"vnd.visio":["vsd","vst","vss","vsw","vsdx","vssx","vstx","vssm","vstm"],"vnd.wap.wbxml":"wbxml","vnd.wap.wmlc":"wmlc","vnd.wap.wmlscriptc":"wmlsc","vnd.wordperfect":"wpd","vnd.wordperfect5.1":"wp5","x-123":"wk","x-7z-compressed":"7z","x-abiword":"abw","x-apple-diskimage":"dmg","x-bcpio":"bcpio","x-bittorrent":"torrent","x-cbr":["cbr","cba","cbt","cb7"],"x-cbz":"cbz","x-cdf":["cdf","cda"],"x-cdlink":"vcd","x-chess-pgn":"pgn","x-cpio":"cpio","x-csh":"csh","x-director":["dir","dxr","cst","cct","cxt","w3d","fgd","swa"],"x-dms":"dms","x-doom":"wad","x-dvi":"dvi","x-httpd-eruby":"rhtml","x-font":"pcf.Z","x-freemind":"mm","x-gnumeric":"gnumeric","x-go-sgf":"sgf","x-graphing-calculator":"gcf","x-gtar":["gtar","taz"],"x-hdf":"hdf","x-httpd-php":["phtml","pht","php"],"x-httpd-php-source":"phps","x-httpd-php3":"php3","x-httpd-php3-preprocessed":"php3p","x-httpd-php4":"php4","x-httpd-php5":"php5","x-ica":"ica","x-info":"info","x-internet-signup":["ins","isp"],"x-iphone":"iii","x-iso9660-image":"iso","x-java-jnlp-file":"jnlp","x-jmol":"jmz","x-killustrator":"kil","x-latex":"latex","x-lyx":"lyx","x-lzx":"lzx","x-maker":["frm","fb","fbdoc"],"x-ms-wmd":"wmd","x-msdos-program":["com","exe","bat","dll"],"x-netcdf":["nc"],"x-ns-proxy-autoconfig":["pac","dat"],"x-nwc":"nwc","x-object":"o","x-oz-application":"oza","x-pkcs7-certreqresp":"p7r","x-python-code":["pyc","pyo"],"x-qgis":["qgs","shp","shx"],"x-quicktimeplayer":"qtl","x-redhat-package-manager":["rpm","rpa"],"x-ruby":"rb","x-sh":"sh","x-shar":"shar","x-shockwave-flash":["swf","swfl"],"x-silverlight":"scr","x-stuffit":"sit","x-sv4cpio":"sv4cpio","x-sv4crc":"sv4crc","x-tar":"tar","x-tex-gf":"gf","x-tex-pk":"pk","x-texinfo":["texinfo","texi"],"x-trash":["~","%","bak","old","sik"],"x-ustar":"ustar","x-wais-source":"src","x-wingz":"wz","x-x509-ca-cert":["crt","der","cer"],"x-xcf":"xcf","x-xfig":"fig","x-xpinstall":"xpi",applixware:"aw","atomsvc+xml":"atomsvc","ccxml+xml":"ccxml","cdmi-capability":"cdmia","cdmi-container":"cdmic","cdmi-domain":"cdmid","cdmi-object":"cdmio","cdmi-queue":"cdmiq","docbook+xml":"dbk","dssc+der":"dssc","dssc+xml":"xdssc","emma+xml":"emma","epub+zip":"epub",exi:"exi","font-tdpfr":"pfr","gml+xml":"gml","gpx+xml":"gpx",gxf:"gxf",hyperstudio:"stk","inkml+xml":["ink","inkml"],ipfix:"ipfix","jsonml+json":"jsonml","lost+xml":"lostxml","mads+xml":"mads",marc:"mrc","marcxml+xml":"mrcx","mathml+xml":["mathml","mml"],mbox:"mbox","mediaservercontrol+xml":"mscml","metalink+xml":"metalink","metalink4+xml":"meta4","mets+xml":"mets","mods+xml":"mods",mp21:["m21","mp21"],mp4:"mp4s","oebps-package+xml":"opf","omdoc+xml":"omdoc",onenote:["onetoc","onetoc2","onetmp","onepkg"],oxps:"oxps","patch-ops-error+xml":"xer","pgp-encrypted":"pgp",pkcs10:"p10","pkcs7-mime":["p7m","p7c"],"pkcs7-signature":"p7s",pkcs8:"p8","pkix-attr-cert":"ac","pkix-crl":"crl","pkix-pkipath":"pkipath",pkixcmp:"pki","pls+xml":"pls","prs.cww":"cww","pskc+xml":"pskcxml","reginfo+xml":"rif","relax-ng-compact-syntax":"rnc","resource-lists+xml":"rl","resource-lists-diff+xml":"rld","rls-services+xml":"rs","rpki-ghostbusters":"gbr","rpki-manifest":"mft","rpki-roa":"roa","rsd+xml":"rsd","sbml+xml":"sbml","scvp-cv-request":"scq","scvp-cv-response":"scs","scvp-vp-request":"spq","scvp-vp-response":"spp",sdp:"sdp","set-payment-initiation":"setpay","set-registration-initiation":"setreg","shf+xml":"shf","sparql-query":"rq","sparql-results+xml":"srx",srgs:"gram","srgs+xml":"grxml","sru+xml":"sru","ssdl+xml":"ssdl","ssml+xml":"ssml","tei+xml":["tei","teicorpus"],"thraud+xml":"tfi","timestamped-data":"tsd","vnd.3gpp.pic-bw-large":"plb","vnd.3gpp.pic-bw-small":"psb","vnd.3gpp.pic-bw-var":"pvb","vnd.3gpp2.tcap":"tcap","vnd.3m.post-it-notes":"pwn","vnd.accpac.simply.aso":"aso","vnd.accpac.simply.imp":"imp","vnd.acucobol":"acu","vnd.acucorp":["atc","acutc"],"vnd.adobe.air-application-installer-package+zip":"air","vnd.adobe.formscentral.fcdt":"fcdt","vnd.adobe.fxp":["fxp","fxpl"],"vnd.adobe.xdp+xml":"xdp","vnd.adobe.xfdf":"xfdf","vnd.ahead.space":"ahead","vnd.airzip.filesecure.azf":"azf","vnd.airzip.filesecure.azs":"azs","vnd.amazon.ebook":"azw","vnd.americandynamics.acc":"acc","vnd.amiga.ami":"ami","vnd.anser-web-certificate-issue-initiation":"cii","vnd.anser-web-funds-transfer-initiation":"fti","vnd.antix.game-component":"atx","vnd.apple.installer+xml":"mpkg","vnd.apple.mpegurl":"m3u8","vnd.aristanetworks.swi":"swi","vnd.astraea-software.iota":"iota","vnd.audiograph":"aep","vnd.blueice.multipass":"mpm","vnd.bmi":"bmi","vnd.businessobjects":"rep","vnd.chemdraw+xml":"cdxml","vnd.chipnuts.karaoke-mmd":"mmd","vnd.claymore":"cla","vnd.cloanto.rp9":"rp9","vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"vnd.cluetrust.cartomobile-config":"c11amc","vnd.cluetrust.cartomobile-config-pkg":"c11amz","vnd.commonspace":"csp","vnd.contact.cmsg":"cdbcmsg","vnd.cosmocaller":"cmc","vnd.crick.clicker":"clkx","vnd.crick.clicker.keyboard":"clkk","vnd.crick.clicker.palette":"clkp","vnd.crick.clicker.template":"clkt","vnd.crick.clicker.wordbank":"clkw","vnd.criticaltools.wbs+xml":"wbs","vnd.ctc-posml":"pml","vnd.cups-ppd":"ppd","vnd.curl.car":"car","vnd.curl.pcurl":"pcurl","vnd.dart":"dart","vnd.data-vision.rdz":"rdz","vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"vnd.dece.ttml+xml":["uvt","uvvt"],"vnd.dece.unspecified":["uvx","uvvx"],"vnd.dece.zip":["uvz","uvvz"],"vnd.denovo.fcselayout-link":"fe_launch","vnd.dna":"dna","vnd.dolby.mlp":"mlp","vnd.dpgraph":"dpg","vnd.dreamfactory":"dfac","vnd.ds-keypoint":"kpxx","vnd.dvb.ait":"ait","vnd.dvb.service":"svc","vnd.dynageo":"geo","vnd.ecowin.chart":"mag","vnd.enliven":"nml","vnd.epson.esf":"esf","vnd.epson.msf":"msf","vnd.epson.quickanime":"qam","vnd.epson.salt":"slt","vnd.epson.ssf":"ssf","vnd.eszigno3+xml":["es3","et3"],"vnd.ezpix-album":"ez2","vnd.ezpix-package":"ez3","vnd.fdf":"fdf","vnd.fdsn.mseed":"mseed","vnd.fdsn.seed":["seed","dataless"],"vnd.flographit":"gph","vnd.fluxtime.clip":"ftc","vnd.framemaker":["fm","frame","maker","book"],"vnd.frogans.fnc":"fnc","vnd.frogans.ltf":"ltf","vnd.fsc.weblaunch":"fsc","vnd.fujitsu.oasys":"oas","vnd.fujitsu.oasys2":"oa2","vnd.fujitsu.oasys3":"oa3","vnd.fujitsu.oasysgp":"fg5","vnd.fujitsu.oasysprs":"bh2","vnd.fujixerox.ddd":"ddd","vnd.fujixerox.docuworks":"xdw","vnd.fujixerox.docuworks.binder":"xbd","vnd.fuzzysheet":"fzs","vnd.genomatix.tuxedo":"txd","vnd.geogebra.file":"ggb","vnd.geogebra.tool":"ggt","vnd.geometry-explorer":["gex","gre"],"vnd.geonext":"gxt","vnd.geoplan":"g2w","vnd.geospace":"g3w","vnd.gmx":"gmx","vnd.grafeq":["gqf","gqs"],"vnd.groove-account":"gac","vnd.groove-help":"ghf","vnd.groove-identity-message":"gim","vnd.groove-injector":"grv","vnd.groove-tool-message":"gtm","vnd.groove-tool-template":"tpl","vnd.groove-vcard":"vcg","vnd.hal+xml":"hal","vnd.handheld-entertainment+xml":"zmm","vnd.hbci":"hbci","vnd.hhe.lesson-player":"les","vnd.hp-hpgl":"hpgl","vnd.hp-hpid":"hpid","vnd.hp-hps":"hps","vnd.hp-jlyt":"jlt","vnd.hp-pcl":"pcl","vnd.hp-pclxl":"pclxl","vnd.hydrostatix.sof-data":"sfd-hdstx","vnd.ibm.minipay":"mpy","vnd.ibm.modcap":["afp","listafp","list3820"],"vnd.ibm.rights-management":"irm","vnd.ibm.secure-container":"sc","vnd.iccprofile":["icc","icm"],"vnd.igloader":"igl","vnd.immervision-ivp":"ivp","vnd.immervision-ivu":"ivu","vnd.insors.igm":"igm","vnd.intercon.formnet":["xpw","xpx"],"vnd.intergeo":"i2g","vnd.intu.qbo":"qbo","vnd.intu.qfx":"qfx","vnd.ipunplugged.rcprofile":"rcprofile","vnd.irepository.package+xml":"irp","vnd.is-xpr":"xpr","vnd.isac.fcs":"fcs","vnd.jam":"jam","vnd.jcp.javame.midlet-rms":"rms","vnd.jisp":"jisp","vnd.joost.joda-archive":"joda","vnd.kahootz":["ktz","ktr"],"vnd.kde.karbon":"karbon","vnd.kde.kchart":"chrt","vnd.kde.kformula":"kfo","vnd.kde.kivio":"flw","vnd.kde.kontour":"kon","vnd.kde.kpresenter":["kpr","kpt"],"vnd.kde.kspread":"ksp","vnd.kde.kword":["kwd","kwt"],"vnd.kenameaapp":"htke","vnd.kidspiration":"kia","vnd.kinar":["kne","knp"],"vnd.koan":["skp","skd","skt","skm"],"vnd.kodak-descriptor":"sse","vnd.las.las+xml":"lasxml","vnd.llamagraphics.life-balance.desktop":"lbd","vnd.llamagraphics.life-balance.exchange+xml":"lbe","vnd.lotus-1-2-3":"123","vnd.lotus-approach":"apr","vnd.lotus-freelance":"pre","vnd.lotus-notes":"nsf","vnd.lotus-organizer":"org","vnd.lotus-screencam":"scm","vnd.lotus-wordpro":"lwp","vnd.macports.portpkg":"portpkg","vnd.mcd":"mcd","vnd.medcalcdata":"mc1","vnd.mediastation.cdkey":"cdkey","vnd.mfer":"mwf","vnd.mfmp":"mfm","vnd.micrografx.flo":"flo","vnd.micrografx.igx":"igx","vnd.mif":"mif","vnd.mobius.daf":"daf","vnd.mobius.dis":"dis","vnd.mobius.mbk":"mbk","vnd.mobius.mqy":"mqy","vnd.mobius.msl":"msl","vnd.mobius.plc":"plc","vnd.mobius.txf":"txf","vnd.mophun.application":"mpn","vnd.mophun.certificate":"mpc","vnd.ms-artgalry":"cil","vnd.ms-cab-compressed":"cab","vnd.ms-excel.addin.macroenabled.12":"xlam","vnd.ms-excel.sheet.binary.macroenabled.12":"xlsb","vnd.ms-excel.sheet.macroenabled.12":"xlsm","vnd.ms-excel.template.macroenabled.12":"xltm","vnd.ms-fontobject":"eot","vnd.ms-htmlhelp":"chm","vnd.ms-ims":"ims","vnd.ms-lrm":"lrm","vnd.ms-officetheme":"thmx","vnd.ms-powerpoint.addin.macroenabled.12":"ppam","vnd.ms-powerpoint.presentation.macroenabled.12":"pptm","vnd.ms-powerpoint.slide.macroenabled.12":"sldm","vnd.ms-powerpoint.slideshow.macroenabled.12":"ppsm","vnd.ms-powerpoint.template.macroenabled.12":"potm","vnd.ms-project":["mpp","mpt"],"vnd.ms-word.document.macroenabled.12":"docm","vnd.ms-word.template.macroenabled.12":"dotm","vnd.ms-works":["wps","wks","wcm","wdb"],"vnd.ms-wpl":"wpl","vnd.ms-xpsdocument":"xps","vnd.mseq":"mseq","vnd.musician":"mus","vnd.muvee.style":"msty","vnd.mynfc":"taglet","vnd.neurolanguage.nlu":"nlu","vnd.nitf":["ntf","nitf"],"vnd.noblenet-directory":"nnd","vnd.noblenet-sealer":"nns","vnd.noblenet-web":"nnw","vnd.nokia.n-gage.data":"ngdat","vnd.nokia.n-gage.symbian.install":"n-gage","vnd.nokia.radio-preset":"rpst","vnd.nokia.radio-presets":"rpss","vnd.novadigm.edm":"edm","vnd.novadigm.edx":"edx","vnd.novadigm.ext":"ext","vnd.oasis.opendocument.chart-template":"otc","vnd.oasis.opendocument.formula-template":"odft","vnd.oasis.opendocument.image-template":"oti","vnd.olpc-sugar":"xo","vnd.oma.dd2+xml":"dd2","vnd.openofficeorg.extension":"oxt","vnd.openxmlformats-officedocument.presentationml.slide":"sldx","vnd.osgeo.mapguide.package":"mgp","vnd.osgi.dp":"dp","vnd.osgi.subsystem":"esa","vnd.palm":["pdb","pqa","oprc"],"vnd.pawaafile":"paw","vnd.pg.format":"str","vnd.pg.osasli":"ei6","vnd.picsel":"efif","vnd.pmi.widget":"wg","vnd.pocketlearn":"plf","vnd.powerbuilder6":"pbd","vnd.previewsystems.box":"box","vnd.proteus.magazine":"mgz","vnd.publishare-delta-tree":"qps","vnd.pvi.ptid1":"ptid","vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"vnd.realvnc.bed":"bed","vnd.recordare.musicxml":"mxl","vnd.recordare.musicxml+xml":"musicxml","vnd.rig.cryptonote":"cryptonote","vnd.rn-realmedia":"rm","vnd.rn-realmedia-vbr":"rmvb","vnd.route66.link66+xml":"link66","vnd.sailingtracker.track":"st","vnd.seemail":"see","vnd.sema":"sema","vnd.semd":"semd","vnd.semf":"semf","vnd.shana.informed.formdata":"ifm","vnd.shana.informed.formtemplate":"itp","vnd.shana.informed.interchange":"iif","vnd.shana.informed.package":"ipk","vnd.simtech-mindmapper":["twd","twds"],"vnd.smart.teacher":"teacher","vnd.solent.sdkm+xml":["sdkm","sdkd"],"vnd.spotfire.dxp":"dxp","vnd.spotfire.sfs":"sfs","vnd.stepmania.package":"smzip","vnd.stepmania.stepchart":"sm","vnd.sus-calendar":["sus","susp"],"vnd.svd":"svd","vnd.syncml+xml":"xsm","vnd.syncml.dm+wbxml":"bdm","vnd.syncml.dm+xml":"xdm","vnd.tao.intent-module-archive":"tao","vnd.tcpdump.pcap":["pcap","cap","dmp"],"vnd.tmobile-livetv":"tmo","vnd.trid.tpt":"tpt","vnd.triscape.mxs":"mxs","vnd.trueapp":"tra","vnd.ufdl":["ufd","ufdl"],"vnd.uiq.theme":"utz","vnd.umajin":"umj","vnd.unity":"unityweb","vnd.uoml+xml":"uoml","vnd.vcx":"vcx","vnd.visionary":"vis","vnd.vsf":"vsf","vnd.webturbo":"wtb","vnd.wolfram.player":"nbp","vnd.wqd":"wqd","vnd.wt.stf":"stf","vnd.xara":"xar","vnd.xfdl":"xfdl","vnd.yamaha.hv-dic":"hvd","vnd.yamaha.hv-script":"hvs","vnd.yamaha.hv-voice":"hvp","vnd.yamaha.openscoreformat":"osf","vnd.yamaha.openscoreformat.osfpvg+xml":"osfpvg","vnd.yamaha.smaf-audio":"saf","vnd.yamaha.smaf-phrase":"spf","vnd.yellowriver-custom-menu":"cmp","vnd.zul":["zir","zirz"],"vnd.zzazz.deck+xml":"zaz","voicexml+xml":"vxml",widget:"wgt",winhlp:"hlp","wsdl+xml":"wsdl","wspolicy+xml":"wspolicy","x-ace-compressed":"ace","x-authorware-bin":["aab","x32","u32","vox"],"x-authorware-map":"aam","x-authorware-seg":"aas","x-blorb":["blb","blorb"],"x-bzip":"bz","x-bzip2":["bz2","boz"],"x-cfs-compressed":"cfs","x-chat":"chat","x-conference":"nsc","x-dgc-compressed":"dgc","x-dtbncx+xml":"ncx","x-dtbook+xml":"dtb","x-dtbresource+xml":"res","x-eva":"eva","x-font-bdf":"bdf","x-font-ghostscript":"gsf","x-font-linux-psf":"psf","x-font-pcf":"pcf","x-font-snf":"snf","x-font-ttf":["ttf","ttc"],"x-font-type1":["pfa","pfb","pfm","afm"],"x-freearc":"arc","x-gca-compressed":"gca","x-glulx":"ulx","x-gramps-xml":"gramps","x-install-instructions":"install","x-lzh-compressed":["lzh","lha"],"x-mie":"mie","x-mobipocket-ebook":["prc","mobi"],"x-ms-application":"application","x-ms-shortcut":"lnk","x-ms-xbap":"xbap","x-msbinder":"obd","x-mscardfile":"crd","x-msclip":"clp","application/x-ms-installer":"msi","x-msmediaview":["mvb","m13","m14"],"x-msmetafile":["wmf","wmz","emf","emz"],"x-msmoney":"mny","x-mspublisher":"pub","x-msschedule":"scd","x-msterminal":"trm","x-mswrite":"wri","x-nzb":"nzb","x-pkcs12":["p12","pfx"],"x-pkcs7-certificates":["p7b","spc"],"x-research-info-systems":"ris","x-silverlight-app":"xap","x-sql":"sql","x-stuffitx":"sitx","x-subrip":"srt","x-t3vm-image":"t3","x-tex-tfm":"tfm","x-tgif":"obj","x-xliff+xml":"xlf","x-xz":"xz","x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"xaml+xml":"xaml","xcap-diff+xml":"xdf","xenc+xml":"xenc","xml-dtd":"dtd","xop+xml":"xop","xproc+xml":"xpl","xslt+xml":"xslt","xv+xml":["mxml","xhvml","xvml","xvm"],yang:"yang","yin+xml":"yin",envoy:"evy",fractals:"fif","internet-property-stream":"acx",olescript:"axs","vnd.ms-outlook":"msg","vnd.ms-pkicertstore":"sst","x-compress":"z","x-perfmon":["pma","pmc","pmr","pmw"],"ynd.ms-pkipko":"pko",gzip:["gz","tgz"],"smil+xml":["smi","smil"],"vnd.debian.binary-package":["deb","udeb"],"vnd.hzn-3d-crossword":"x3d","vnd.sqlite3":["db","sqlite","sqlite3","db-wal","sqlite-wal","db-shm","sqlite-shm"],"vnd.wap.sic":"sic","vnd.wap.slc":"slc","x-krita":["kra","krz"],"x-perl":["pm","pl"],yaml:["yaml","yml"]},audio:{amr:"amr","amr-wb":"awb",annodex:"axa",basic:["au","snd"],flac:"flac",midi:["mid","midi","kar","rmi"],mpeg:["mpga","mpega","mp3","m4a","mp2a","m2a","m3a"],mpegurl:"m3u",ogg:["oga","ogg","spx"],"prs.sid":"sid","x-aiff":"aifc","x-gsm":"gsm","x-ms-wma":"wma","x-ms-wax":"wax","x-pn-realaudio":"ram","x-realaudio":"ra","x-sd2":"sd2",adpcm:"adp",mp4:"mp4a",s3m:"s3m",silk:"sil","vnd.dece.audio":["uva","uvva"],"vnd.digital-winds":"eol","vnd.dra":"dra","vnd.dts":"dts","vnd.dts.hd":"dtshd","vnd.lucent.voice":"lvp","vnd.ms-playready.media.pya":"pya","vnd.nuera.ecelp4800":"ecelp4800","vnd.nuera.ecelp7470":"ecelp7470","vnd.nuera.ecelp9600":"ecelp9600","vnd.rip":"rip",webm:"weba","x-caf":"caf","x-matroska":"mka","x-pn-realaudio-plugin":"rmp",xm:"xm",aac:"aac",aiff:["aiff","aif","aff"],opus:"opus",wav:"wav"},chemical:{"x-alchemy":"alc","x-cache":["cac","cache"],"x-cache-csf":"csf","x-cactvs-binary":["cbin","cascii","ctab"],"x-cdx":"cdx","x-chem3d":"c3d","x-cif":"cif","x-cmdf":"cmdf","x-cml":"cml","x-compass":"cpa","x-crossfire":"bsd","x-csml":["csml","csm"],"x-ctx":"ctx","x-cxf":["cxf","cef"],"x-embl-dl-nucleotide":["emb","embl"],"x-gamess-input":["inp","gam","gamin"],"x-gaussian-checkpoint":["fch","fchk"],"x-gaussian-cube":"cub","x-gaussian-input":["gau","gjc","gjf"],"x-gaussian-log":"gal","x-gcg8-sequence":"gcg","x-genbank":"gen","x-hin":"hin","x-isostar":["istr","ist"],"x-jcamp-dx":["jdx","dx"],"x-kinemage":"kin","x-macmolecule":"mcm","x-macromodel-input":"mmod","x-mdl-molfile":"mol","x-mdl-rdfile":"rd","x-mdl-rxnfile":"rxn","x-mdl-sdfile":"sd","x-mdl-tgf":"tgf","x-mmcif":"mcif","x-mol2":"mol2","x-molconn-Z":"b","x-mopac-graph":"gpt","x-mopac-input":["mop","mopcrt","zmt"],"x-mopac-out":"moo","x-ncbi-asn1":"asn","x-ncbi-asn1-ascii":["prt","ent"],"x-ncbi-asn1-binary":"val","x-rosdal":"ros","x-swissprot":"sw","x-vamas-iso14976":"vms","x-vmd":"vmd","x-xtel":"xtel","x-xyz":"xyz"},font:{otf:"otf",woff:"woff",woff2:"woff2"},image:{gif:"gif",ief:"ief",jpeg:["jpeg","jpg","jpe","jfif","jfif-tbnl","jif"],pcx:"pcx",png:"png","svg+xml":["svg","svgz"],tiff:["tiff","tif"],"vnd.djvu":["djvu","djv"],"vnd.wap.wbmp":"wbmp","x-canon-cr2":"cr2","x-canon-crw":"crw","x-cmu-raster":"ras","x-coreldraw":"cdr","x-coreldrawpattern":"pat","x-coreldrawtemplate":"cdt","x-corelphotopaint":"cpt","x-epson-erf":"erf","x-icon":"ico","x-jg":"art","x-jng":"jng","x-nikon-nef":"nef","x-olympus-orf":"orf","x-portable-anymap":"pnm","x-portable-bitmap":"pbm","x-portable-graymap":"pgm","x-portable-pixmap":"ppm","x-rgb":"rgb","x-xbitmap":"xbm","x-xpixmap":"xpm","x-xwindowdump":"xwd",bmp:"bmp",cgm:"cgm",g3fax:"g3",ktx:"ktx","prs.btif":"btif",sgi:"sgi","vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"vnd.dwg":"dwg","vnd.dxf":"dxf","vnd.fastbidsheet":"fbs","vnd.fpx":"fpx","vnd.fst":"fst","vnd.fujixerox.edmics-mmr":"mmr","vnd.fujixerox.edmics-rlc":"rlc","vnd.ms-modi":"mdi","vnd.ms-photo":"wdp","vnd.net-fpx":"npx","vnd.xiff":"xif",webp:"webp","x-3ds":"3ds","x-cmx":"cmx","x-freehand":["fh","fhc","fh4","fh5","fh7"],"x-pict":["pic","pct"],"x-tga":"tga","cis-cod":"cod",avif:"avifs",heic:["heif","heic"],pjpeg:["pjpg"],"vnd.adobe.photoshop":"psd","x-adobe-dng":"dng","x-fuji-raf":"raf","x-icns":"icns","x-kodak-dcr":"dcr","x-kodak-k25":"k25","x-kodak-kdc":"kdc","x-minolta-mrw":"mrw","x-panasonic-raw":["raw","rw2","rwl"],"x-pentax-pef":["pef","ptx"],"x-sigma-x3f":"x3f","x-sony-arw":"arw","x-sony-sr2":"sr2","x-sony-srf":"srf"},message:{rfc822:["eml","mime","mht","mhtml","nws"]},model:{iges:["igs","iges"],mesh:["msh","mesh","silo"],vrml:["wrl","vrml"],"x3d+vrml":["x3dv","x3dvz"],"x3d+xml":"x3dz","x3d+binary":["x3db","x3dbz"],"vnd.collada+xml":"dae","vnd.dwf":"dwf","vnd.gdl":"gdl","vnd.gtw":"gtw","vnd.mts":"mts","vnd.usdz+zip":"usdz","vnd.vtu":"vtu"},text:{"cache-manifest":["manifest","appcache"],calendar:["ics","icz","ifb"],css:"css",csv:"csv",h323:"323",html:["html","htm","shtml","stm"],iuls:"uls",plain:["txt","text","brf","conf","def","list","log","in","bas","diff","ksh"],richtext:"rtx",scriptlet:["sct","wsc"],texmacs:"tm","tab-separated-values":"tsv","vnd.sun.j2me.app-descriptor":"jad","vnd.wap.wml":"wml","vnd.wap.wmlscript":"wmls","x-bibtex":"bib","x-boo":"boo","x-c++hdr":["h++","hpp","hxx","hh"],"x-c++src":["c++","cpp","cxx","cc"],"x-component":"htc","x-dsrc":"d","x-diff":"patch","x-haskell":"hs","x-java":"java","x-literate-haskell":"lhs","x-moc":"moc","x-pascal":["p","pas","pp","inc"],"x-pcs-gcd":"gcd","x-python":"py","x-scala":"scala","x-setext":"etx","x-tcl":["tcl","tk"],"x-tex":["tex","ltx","sty","cls"],"x-vcalendar":"vcs","x-vcard":"vcf",n3:"n3","prs.lines.tag":"dsc",sgml:["sgml","sgm"],troff:["t","tr","roff","man","me","ms"],turtle:"ttl","uri-list":["uri","uris","urls"],vcard:"vcard","vnd.curl":"curl","vnd.curl.dcurl":"dcurl","vnd.curl.scurl":"scurl","vnd.curl.mcurl":"mcurl","vnd.dvb.subtitle":"sub","vnd.fly":"fly","vnd.fmi.flexstor":"flx","vnd.graphviz":"gv","vnd.in3d.3dml":"3dml","vnd.in3d.spot":"spot","x-asm":["s","asm"],"x-c":["c","h","dic"],"x-fortran":["f","for","f77","f90"],"x-opml":"opml","x-nfo":"nfo","x-sfv":"sfv","x-uuencode":"uu",webviewhtml:"htt",javascript:"js",json:"json",markdown:["md","markdown","mdown","markdn"],"vnd.wap.si":"si","vnd.wap.sl":"sl"},video:{avif:"avif","3gpp":"3gp",annodex:"axv",dl:"dl",dv:["dif","dv"],fli:"fli",gl:"gl",mpeg:["mpeg","mpg","mpe","m1v","m2v","mp2","mpa","mpv2"],mp4:["mp4","mp4v","mpg4"],quicktime:["qt","mov"],ogg:"ogv","vnd.mpegurl":["mxu","m4u"],"x-flv":"flv","x-la-asf":["lsf","lsx"],"x-mng":"mng","x-ms-asf":["asf","asx","asr"],"x-ms-wm":"wm","x-ms-wmv":"wmv","x-ms-wmx":"wmx","x-ms-wvx":"wvx","x-msvideo":"avi","x-sgi-movie":"movie","x-matroska":["mpv","mkv","mk3d","mks"],"3gpp2":"3g2",h261:"h261",h263:"h263",h264:"h264",jpeg:"jpgv",jpm:["jpm","jpgm"],mj2:["mj2","mjp2"],"vnd.dece.hd":["uvh","uvvh"],"vnd.dece.mobile":["uvm","uvvm"],"vnd.dece.pd":["uvp","uvvp"],"vnd.dece.sd":["uvs","uvvs"],"vnd.dece.video":["uvv","uvvv"],"vnd.dvb.file":"dvb","vnd.fvt":"fvt","vnd.ms-playready.media.pyv":"pyv","vnd.uvvu.mp4":["uvu","uvvu"],"vnd.vivo":"viv",webm:"webm","x-f4v":"f4v","x-m4v":"m4v","x-ms-vob":"vob","x-smv":"smv",mp2t:"ts"},"x-conference":{"x-cooltalk":"ice"},"x-world":{"x-vrml":["vrm","flr","wrz","xaf","xof"]}},vOl=(()=>{let t={};for(let e of Object.keys(vAt))for(let i of Object.keys(vAt[e])){let o=vAt[e][i];if(typeof o=="string")t[o]=e+"/"+i;else for(let r=0;r<o.length;r++)t[o[r]]=e+"/"+i}return t})();var OQi=[];for(let t=0;t<256;t++){let e=t;for(let i=0;i<8;i++)e&1?e=e>>>1^3988292384:e=e>>>1;OQi[t]=e}var wY=class{constructor(e){this.crc=e||-1}append(e){let i=this.crc|0;for(let o=0,r=e.length|0;o<r;o++)i=i>>>8^OQi[(i^e[o])&255];this.crc=i}get(){return~this.crc}};var $Me=class extends TransformStream{constructor(){let e,i=new wY;super({transform(o,r){i.append(o),r.enqueue(o)},flush(){let o=new Uint8Array(4);new DataView(o.buffer).setUint32(0,i.get()),e.value=o}}),e=this}};function Ife(t){if(typeof TextEncoder==BD){t=unescape(encodeURIComponent(t));let e=new Uint8Array(t.length);for(let i=0;i<e.length;i++)e[i]=t.charCodeAt(i);return e}else return new TextEncoder().encode(t)}var IM={concat(t,e){if(t.length===0||e.length===0)return t.concat(e);let i=t[t.length-1],o=IM.getPartial(i);return o===32?t.concat(e):IM._shiftRight(e,o,i|0,t.slice(0,t.length-1))},bitLength(t){let e=t.length;if(e===0)return 0;let i=t[e-1];return(e-1)*32+IM.getPartial(i)},clamp(t,e){if(t.length*32<e)return t;t=t.slice(0,Math.ceil(e/32));let i=t.length;return e=e&31,i>0&&e&&(t[i-1]=IM.partial(e,t[i-1]&2147483648>>e-1,1)),t},partial(t,e,i){return t===32?e:(i?e|0:e<<32-t)+t*1099511627776},getPartial(t){return Math.round(t/1099511627776)||32},_shiftRight(t,e,i,o){for(o===void 0&&(o=[]);e>=32;e-=32)o.push(i),i=0;if(e===0)return o.concat(t);for(let a=0;a<t.length;a++)o.push(i|t[a]>>>e),i=t[a]<<32-e;let r=t.length?t[t.length-1]:0,n=IM.getPartial(r);return o.push(IM.partial(e+n&31,e+n>32?i:o.pop(),1)),o}},e6e={bytes:{fromBits(t){let i=IM.bitLength(t)/8,o=new Uint8Array(i),r;for(let n=0;n<i;n++)(n&3)===0&&(r=t[n/4]),o[n]=r>>>24,r<<=8;return o},toBits(t){let e=[],i,o=0;for(i=0;i<t.length;i++)o=o<<8|t[i],(i&3)===3&&(e.push(o),o=0);return i&3&&e.push(IM.partial(8*(i&3),o)),e}}},RQi={};RQi.sha1=class{constructor(t){let e=this;e.blockSize=512,e._init=[1732584193,4023233417,2562383102,271733878,3285377520],e._key=[1518500249,1859775393,2400959708,3395469782],t?(e._h=t._h.slice(0),e._buffer=t._buffer.slice(0),e._length=t._length):e.reset()}reset(){let t=this;return t._h=t._init.slice(0),t._buffer=[],t._length=0,t}update(t){let e=this;typeof t=="string"&&(t=e6e.utf8String.toBits(t));let i=e._buffer=IM.concat(e._buffer,t),o=e._length,r=e._length=o+IM.bitLength(t);if(r>9007199254740991)throw new Error("Cannot hash more than 2^53 - 1 bits");let n=new Uint32Array(i),a=0;for(let s=e.blockSize+o-(e.blockSize+o&e.blockSize-1);s<=r;s+=e.blockSize)e._block(n.subarray(16*a,16*(a+1))),a+=1;return i.splice(0,16*a),e}finalize(){let t=this,e=t._buffer,i=t._h;e=IM.concat(e,[IM.partial(1,1)]);for(let o=e.length+2;o&15;o++)e.push(0);for(e.push(Math.floor(t._length/4294967296)),e.push(t._length|0);e.length;)t._block(e.splice(0,16));return t.reset(),i}_f(t,e,i,o){if(t<=19)return e&i|~e&o;if(t<=39)return e^i^o;if(t<=59)return e&i|e&o|i&o;if(t<=79)return e^i^o}_S(t,e){return e<<t|e>>>32-t}_block(t){let e=this,i=e._h,o=Array(80);for(let c=0;c<16;c++)o[c]=t[c];let r=i[0],n=i[1],a=i[2],s=i[3],l=i[4];for(let c=0;c<=79;c++){c>=16&&(o[c]=e._S(1,o[c-3]^o[c-8]^o[c-14]^o[c-16]));let d=e._S(5,r)+e._f(c,n,a,s)+l+o[c]+e._key[Math.floor(c/20)]|0;l=s,s=a,a=e._S(30,n),n=r,r=d}i[0]=i[0]+r|0,i[1]=i[1]+n|0,i[2]=i[2]+a|0,i[3]=i[3]+s|0,i[4]=i[4]+l|0}};var DAt={};DAt.aes=class{constructor(t){let e=this;e._tables=[[[],[],[],[],[]],[[],[],[],[],[]]],e._tables[0][0][0]||e._precompute();let i=e._tables[0][4],o=e._tables[1],r=t.length,n,a,s,l=1;if(r!==4&&r!==6&&r!==8)throw new Error("invalid aes key size");for(e._key=[a=t.slice(0),s=[]],n=r;n<4*r+28;n++){let c=a[n-1];(n%r===0||r===8&&n%r===4)&&(c=i[c>>>24]<<24^i[c>>16&255]<<16^i[c>>8&255]<<8^i[c&255],n%r===0&&(c=c<<8^c>>>24^l<<24,l=l<<1^(l>>7)*283)),a[n]=a[n-r]^c}for(let c=0;n;c++,n--){let d=a[c&3?n:n-4];n<=4||c<4?s[c]=d:s[c]=o[0][i[d>>>24]]^o[1][i[d>>16&255]]^o[2][i[d>>8&255]]^o[3][i[d&255]]}}encrypt(t){return this._crypt(t,0)}decrypt(t){return this._crypt(t,1)}_precompute(){let t=this._tables[0],e=this._tables[1],i=t[4],o=e[4],r=[],n=[],a,s,l,c;for(let d=0;d<256;d++)n[(r[d]=d<<1^(d>>7)*283)^d]=d;for(let d=a=0;!i[d];d^=s||1,a=n[a]||1){let u=a^a<<1^a<<2^a<<3^a<<4;u=u>>8^u&255^99,i[d]=u,o[u]=d,c=r[l=r[s=r[d]]];let p=c*16843009^l*65537^s*257^d*16843008,m=r[u]*257^u*16843008;for(let h=0;h<4;h++)t[h][d]=m=m<<24^m>>>8,e[h][u]=p=p<<24^p>>>8}for(let d=0;d<5;d++)t[d]=t[d].slice(0),e[d]=e[d].slice(0)}_crypt(t,e){if(t.length!==4)throw new Error("invalid aes block size");let i=this._key[e],o=i.length/4-2,r=[0,0,0,0],n=this._tables[e],a=n[0],s=n[1],l=n[2],c=n[3],d=n[4],u=t[0]^i[0],p=t[e?3:1]^i[1],m=t[2]^i[2],h=t[e?1:3]^i[3],f=4,g,b,y;for(let w=0;w<o;w++)g=a[u>>>24]^s[p>>16&255]^l[m>>8&255]^c[h&255]^i[f],b=a[p>>>24]^s[m>>16&255]^l[h>>8&255]^c[u&255]^i[f+1],y=a[m>>>24]^s[h>>16&255]^l[u>>8&255]^c[p&255]^i[f+2],h=a[h>>>24]^s[u>>16&255]^l[p>>8&255]^c[m&255]^i[f+3],f+=4,u=g,p=b,m=y;for(let w=0;w<4;w++)r[e?3&-w:w]=d[u>>>24]<<24^d[p>>16&255]<<16^d[m>>8&255]<<8^d[h&255]^i[f++],g=u,u=p,p=m,m=h,h=g;return r}};var _Qi={getRandomValues(t){let e=new Uint32Array(t.buffer),i=o=>{let r=987654321,n=4294967295;return function(){return r=36969*(r&65535)+(r>>16)&n,o=18e3*(o&65535)+(o>>16)&n,(((r<<16)+o&n)/4294967296+.5)*(Math.random()>.5?1:-1)}};for(let o=0,r;o<t.length;o+=4){let n=i((r||Math.random())*4294967296);r=n()*987654071,e[o/4]=n()*4294967296|0}return t}},EAt={};EAt.ctrGladman=class{constructor(t,e){this._prf=t,this._initIv=e,this._iv=e}reset(){this._iv=this._initIv}update(t){return this.calculate(this._prf,t,this._iv)}incWord(t){if((t>>24&255)===255){let e=t>>16&255,i=t>>8&255,o=t&255;e===255?(e=0,i===255?(i=0,o===255?o=0:++o):++i):++e,t=0,t+=e<<16,t+=i<<8,t+=o}else t+=1<<24;return t}incCounter(t){(t[0]=this.incWord(t[0]))===0&&(t[1]=this.incWord(t[1]))}calculate(t,e,i){let o;if(!(o=e.length))return[];let r=IM.bitLength(e);for(let n=0;n<o;n+=4){this.incCounter(i);let a=t.encrypt(i);e[n]^=a[0],e[n+1]^=a[1],e[n+2]^=a[2],e[n+3]^=a[3]}return IM.clamp(e,r)}};var xX={importKey(t){return new xX.hmacSha1(e6e.bytes.toBits(t))},pbkdf2(t,e,i,o){if(i=i||1e4,o<0||i<0)throw new Error("invalid params to pbkdf2");let r=(o>>5)+1<<2,n,a,s,l,c,d=new ArrayBuffer(r),u=new DataView(d),p=0,m=IM;for(e=e6e.bytes.toBits(e),c=1;p<(r||1);c++){for(n=a=t.encrypt(m.concat(e,[c])),s=1;s<i;s++)for(a=t.encrypt(a),l=0;l<a.length;l++)n[l]^=a[l];for(s=0;p<(r||1)&&s<n.length;s++)u.setInt32(p,n[s]),p+=4}return d.slice(0,o/8)}};xX.hmacSha1=class{constructor(t){let e=this,i=e._hash=RQi.sha1,o=[[],[]];e._baseHash=[new i,new i];let r=e._baseHash[0].blockSize/32;t.length>r&&(t=new i().update(t).finalize());for(let n=0;n<r;n++)o[0][n]=t[n]^909522486,o[1][n]=t[n]^1549556828;e._baseHash[0].update(o[0]),e._baseHash[1].update(o[1]),e._resultHash=new i(e._baseHash[0])}reset(){let t=this;t._resultHash=new t._hash(t._baseHash[0]),t._updated=!1}update(t){let e=this;e._updated=!0,e._resultHash.update(t)}digest(){let t=this,e=t._resultHash.finalize(),i=new t._hash(t._baseHash[1]).update(e).finalize();return t.reset(),i}encrypt(t){if(this._updated)throw new Error("encrypt on already updated hmac called!");return this.update(t),this.digest(t)}};var I8r=typeof crypto!=BD&&typeof crypto.getRandomValues==HB,GB="Invalid password",TX="Invalid signature",CY="zipjs-abort-check-password";function $Ke(t){return I8r?crypto.getRandomValues(t):_Qi.getRandomValues(t)}var Lfe=16,L8r="raw",zQi={name:"PBKDF2"},v8r={name:"HMAC"},D8r="SHA-1",E8r=Object.assign({hash:v8r},zQi),AAt=Object.assign({iterations:1e3,hash:{name:D8r}},zQi),A8r=["deriveBits"],i6e=[8,12,16],t6e=[16,24,32],SX=10,N8r=[0,0,0,0],iZe=typeof crypto!=BD,n6e=iZe&&crypto.subtle,FQi=iZe&&typeof n6e!=BD,YB=e6e.bytes,k8r=DAt.aes,P8r=EAt.ctrGladman,O8r=xX.hmacSha1,jQi=iZe&&FQi&&typeof n6e.importKey==HB,BQi=iZe&&FQi&&typeof n6e.deriveBits==HB,eZe=class extends TransformStream{constructor({password:e,rawPassword:i,signed:o,encryptionStrength:r,checkPasswordOnly:n}){super({start(){Object.assign(this,{ready:new Promise(a=>this.resolveReady=a),password:HQi(e,i),signed:o,strength:r-1,pending:new Uint8Array})},async transform(a,s){let l=this,{password:c,strength:d,resolveReady:u,ready:p}=l;c?(await R8r(l,d,c,m7(a,0,i6e[d]+2)),a=m7(a,i6e[d]+2),n?s.error(new Error(CY)):u()):await p;let m=new Uint8Array(a.length-SX-(a.length-SX)%Lfe);s.enqueue(UQi(l,a,m,0,SX,!0))},async flush(a){let{signed:s,ctr:l,hmac:c,pending:d,ready:u}=this;if(c&&l){await u;let p=m7(d,0,d.length-SX),m=m7(d,d.length-SX),h=new Uint8Array;if(p.length){let f=r6e(YB,p);c.update(f);let g=l.update(f);h=o6e(YB,g)}if(s){let f=m7(o6e(YB,c.digest()),0,SX);for(let g=0;g<SX;g++)if(f[g]!=m[g])throw new Error(TX)}a.enqueue(h)}}})}},tZe=class extends TransformStream{constructor({password:e,rawPassword:i,encryptionStrength:o}){let r;super({start(){Object.assign(this,{ready:new Promise(n=>this.resolveReady=n),password:HQi(e,i),strength:o-1,pending:new Uint8Array})},async transform(n,a){let s=this,{password:l,strength:c,resolveReady:d,ready:u}=s,p=new Uint8Array;l?(p=await _8r(s,c,l),d()):await u;let m=new Uint8Array(p.length+n.length-n.length%Lfe);m.set(p,0),a.enqueue(UQi(s,n,m,p.length,0))},async flush(n){let{ctr:a,hmac:s,pending:l,ready:c}=this;if(s&&a){await c;let d=new Uint8Array;if(l.length){let u=a.update(r6e(YB,l));s.update(u),d=o6e(YB,u)}r.signature=o6e(YB,s.digest()).slice(0,SX),n.enqueue(NAt(d,r.signature))}}}),r=this}};function UQi(t,e,i,o,r,n){let{ctr:a,hmac:s,pending:l}=t,c=e.length-r;l.length&&(e=NAt(l,e),i=z8r(i,c-c%Lfe));let d;for(d=0;d<=c-Lfe;d+=Lfe){let u=r6e(YB,m7(e,d,d+Lfe));n&&s.update(u);let p=a.update(u);n||s.update(p),i.set(o6e(YB,p),d+o)}return t.pending=m7(e,d),i}async function R8r(t,e,i,o){let r=await VQi(t,e,i,m7(o,0,i6e[e])),n=m7(o,i6e[e]);if(r[0]!=n[0]||r[1]!=n[1])throw new Error(GB)}async function _8r(t,e,i){let o=$Ke(new Uint8Array(i6e[e])),r=await VQi(t,e,i,o);return NAt(o,r)}async function VQi(t,e,i,o){t.password=null;let r=await j8r(L8r,i,E8r,!1,A8r),n=await B8r(Object.assign({salt:o},AAt),r,8*(t6e[e]*2+2)),a=new Uint8Array(n),s=r6e(YB,m7(a,0,t6e[e])),l=r6e(YB,m7(a,t6e[e],t6e[e]*2)),c=m7(a,t6e[e]*2);return Object.assign(t,{keys:{key:s,authentication:l,passwordVerification:c},ctr:new P8r(new k8r(s),Array.from(N8r)),hmac:new O8r(l)}),c}async function j8r(t,e,i,o,r){if(jQi)try{return await n6e.importKey(t,e,i,o,r)}catch{return jQi=!1,xX.importKey(e)}else return xX.importKey(e)}async function B8r(t,e,i){if(BQi)try{return await n6e.deriveBits(t,e,i)}catch{return BQi=!1,xX.pbkdf2(e,t.salt,AAt.iterations,i)}else return xX.pbkdf2(e,t.salt,AAt.iterations,i)}function HQi(t,e){return e===_c?Ife(t):e}function NAt(t,e){let i=t;return t.length+e.length&&(i=new Uint8Array(t.length+e.length),i.set(t,0),i.set(e,t.length)),i}function z8r(t,e){if(e&&e>t.length){let i=t;t=new Uint8Array(e),t.set(i,0)}return t}function m7(t,e,i){return t.subarray(e,i)}function o6e(t,e){return t.fromBits(e)}function r6e(t,e){return t.toBits(e)}var vfe=12,oZe=class extends TransformStream{constructor({password:e,passwordVerification:i,checkPasswordOnly:o}){super({start(){Object.assign(this,{password:e,passwordVerification:i}),QQi(this,e)},transform(r,n){let a=this;if(a.password){let s=GQi(a,r.subarray(0,vfe));if(a.password=null,s[vfe-1]!=a.passwordVerification)throw new Error(GB);r=r.subarray(vfe)}o?n.error(new Error(CY)):n.enqueue(GQi(a,r))}})}},rZe=class extends TransformStream{constructor({password:e,passwordVerification:i}){super({start(){Object.assign(this,{password:e,passwordVerification:i}),QQi(this,e)},transform(o,r){let n=this,a,s;if(n.password){n.password=null;let l=$Ke(new Uint8Array(vfe));l[vfe-1]=n.passwordVerification,a=new Uint8Array(o.length+l.length),a.set(YQi(n,l),0),s=vfe}else a=new Uint8Array(o.length),s=0;a.set(YQi(n,o),s),r.enqueue(a)}})}};function GQi(t,e){let i=new Uint8Array(e.length);for(let o=0;o<e.length;o++)i[o]=KQi(t)^e[o],kAt(t,i[o]);return i}function YQi(t,e){let i=new Uint8Array(e.length);for(let o=0;o<e.length;o++)i[o]=KQi(t)^e[o],kAt(t,e[o]);return i}function QQi(t,e){let i=[305419896,591751049,878082192];Object.assign(t,{keys:i,crcKey0:new wY(i[0]),crcKey2:new wY(i[2])});for(let o=0;o<e.length;o++)kAt(t,e.charCodeAt(o))}function kAt(t,e){let[i,o,r]=t.keys;t.crcKey0.append([e]),i=~t.crcKey0.get(),o=WQi(Math.imul(WQi(o+ZQi(i)),134775813)+1),t.crcKey2.append([o>>>24]),r=~t.crcKey2.get(),t.keys=[i,o,r]}function KQi(t){let e=t.keys[2]|2;return ZQi(Math.imul(e,e^1)>>>8)}function ZQi(t){return t&255}function WQi(t){return t&4294967295}var JQi="deflate-raw",nZe=class extends TransformStream{constructor(e,{chunkSize:i,CompressionStream:o,CompressionStreamNative:r}){super({});let{compressed:n,encrypted:a,useCompressionStream:s,zipCrypto:l,signed:c,level:d}=e,u=this,p,m,h=qQi(super.readable);(!a||l)&&c&&(p=new $Me,h=WB(h,p)),n&&(h=$Qi(h,s,{level:d,chunkSize:i},r,o)),a&&(l?h=WB(h,new rZe(e)):(m=new tZe(e),h=WB(h,m))),XQi(u,h,()=>{let f;a&&!l&&(f=m.signature),(!a||l)&&c&&(f=new DataView(p.value.buffer).getUint32(0)),u.signature=f})}},aZe=class extends TransformStream{constructor(e,{chunkSize:i,DecompressionStream:o,DecompressionStreamNative:r}){super({});let{zipCrypto:n,encrypted:a,signed:s,signature:l,compressed:c,useCompressionStream:d}=e,u,p,m=qQi(super.readable);a&&(n?m=WB(m,new oZe(e)):(p=new eZe(e),m=WB(m,p))),c&&(m=$Qi(m,d,{chunkSize:i},r,o)),(!a||n)&&s&&(u=new $Me,m=WB(m,u)),XQi(this,m,()=>{if((!a||n)&&s){let h=new DataView(u.value.buffer);if(l!=h.getUint32(0,!1))throw new Error(TX)}})}};function qQi(t){return WB(t,new TransformStream({transform(e,i){e&&e.length&&i.enqueue(e)}}))}function XQi(t,e,i){e=WB(e,new TransformStream({flush:i})),Object.defineProperty(t,"readable",{get(){return e}})}function $Qi(t,e,i,o,r){try{let n=e&&o?o:r;t=WB(t,new n(JQi,i))}catch{if(e)try{t=WB(t,new r(JQi,i))}catch{return t}else return t}return t}function WB(t,e){return t.pipeThrough(e)}var eKi="message",tKi="start",iKi="pull",PAt="data",oKi="ack",OAt="close",cZe="deflate",dZe="inflate";var sZe=class extends TransformStream{constructor(e,i){super({});let o=this,{codecType:r}=e,n;r.startsWith(cZe)?n=nZe:r.startsWith(dZe)&&(n=aZe);let a=0,s=0,l=new n(e,i),c=super.readable,d=new TransformStream({transform(p,m){p&&p.length&&(s+=p.length,m.enqueue(p))},flush(){Object.assign(o,{inputSize:s})}}),u=new TransformStream({transform(p,m){p&&p.length&&(a+=p.length,m.enqueue(p))},flush(){let{signature:p}=l;Object.assign(o,{signature:p,outputSize:a,inputSize:s})}});Object.defineProperty(o,"readable",{get(){return c.pipeThrough(d).pipeThrough(l).pipeThrough(u)}})}},lZe=class extends TransformStream{constructor(e){let i;super({transform:o,flush(r){i&&i.length&&r.enqueue(i)}});function o(r,n){if(i){let a=new Uint8Array(i.length+r.length);a.set(i),a.set(r,i.length),r=a,i=null}r.length>e?(n.enqueue(r.slice(0,e)),o(r.slice(e),n)):i=r}}};var aKi=typeof Worker!=BD;var Dfe=class{constructor(e,{readable:i,writable:o},{options:r,config:n,streamOptions:a,useWebWorkers:s,transferStreams:l,scripts:c},d){let{signal:u}=a;return Object.assign(e,{busy:!0,readable:i.pipeThrough(new lZe(n.chunkSize)).pipeThrough(new _At(i,a),{signal:u}),writable:o,options:Object.assign({},r),scripts:c,transferStreams:l,terminate(){return new Promise(p=>{let{worker:m,busy:h}=e;m?(h?e.resolveTerminated=p:(m.terminate(),p()),e.interface=null):p()})},onTaskFinished(){let{resolveTerminated:p}=e;p&&(e.resolveTerminated=null,e.terminated=!0,e.worker.terminate(),p()),e.busy=!1,d(e)}}),(s&&aKi?F8r:sKi)(e,n)}},_At=class extends TransformStream{constructor(e,{onstart:i,onprogress:o,size:r,onend:n}){let a=0;super({async start(){i&&await RAt(i,r)},async transform(s,l){a+=s.length,o&&await RAt(o,a,r),l.enqueue(s)},async flush(){e.size=a,n&&await RAt(n,a)}})}};async function RAt(t,...e){try{await t(...e)}catch{}}function sKi(t,e){return{run:()=>U8r(t,e)}}function F8r(t,e){let{baseURL:i,chunkSize:o}=e;if(!t.interface){let r;try{r=G8r(t.scripts[0],i,t)}catch{return aKi=!1,sKi(t,e)}Object.assign(t,{worker:r,interface:{run:()=>V8r(t,{chunkSize:o})}})}return t.interface}async function U8r({options:t,readable:e,writable:i,onTaskFinished:o},r){try{let n=new sZe(t,r);await e.pipeThrough(n).pipeTo(i,{preventClose:!0,preventAbort:!0});let{signature:a,inputSize:s,outputSize:l}=n;return{signature:a,inputSize:s,outputSize:l}}finally{o()}}async function V8r(t,e){let i,o,r=new Promise((p,m)=>{i=p,o=m});Object.assign(t,{reader:null,writer:null,resolveResult:i,rejectResult:o,result:r});let{readable:n,options:a,scripts:s}=t,{writable:l,closed:c}=H8r(t.writable),d=uZe({type:tKi,scripts:s.slice(1),options:a,config:e,readable:n,writable:l},t);d||Object.assign(t,{reader:n.getReader(),writer:l.getWriter()});let u=await r;return d||await l.getWriter().close(),await c,u}function H8r(t){let e,i=new Promise(r=>e=r);return{writable:new WritableStream({async write(r){let n=t.getWriter();await n.ready,await n.write(r),n.releaseLock()},close(){e()},abort(r){return t.getWriter().abort(r)}}),closed:i}}var rKi=!0,nKi=!0;function G8r(t,e,i){let o={type:"module"},r,n;typeof t==HB&&(t=t());try{r=new URL(t,e)}catch{r=t}if(rKi)try{n=new Worker(r)}catch{rKi=!1,n=new Worker(r,o)}else n=new Worker(r,o);return n.addEventListener(eKi,a=>Y8r(a,i)),n}function uZe(t,{worker:e,writer:i,onTaskFinished:o,transferStreams:r}){try{let{value:n,readable:a,writable:s}=t,l=[];if(n&&(n.byteLength<n.buffer.byteLength?t.value=n.buffer.slice(0,n.byteLength):t.value=n.buffer,l.push(t.value)),r&&nKi?(a&&l.push(a),s&&l.push(s)):t.readable=t.writable=null,l.length)try{return e.postMessage(t,l),!0}catch{nKi=!1,t.readable=t.writable=null,e.postMessage(t)}else e.postMessage(t)}catch(n){throw i&&i.releaseLock(),o(),n}}async function Y8r({data:t},e){let{type:i,value:o,messageId:r,result:n,error:a}=t,{reader:s,writer:l,resolveResult:c,rejectResult:d,onTaskFinished:u}=e;try{if(a){let{message:m,stack:h,code:f,name:g}=a,b=new Error(m);Object.assign(b,{stack:h,code:f,name:g}),p(b)}else{if(i==iKi){let{value:m,done:h}=await s.read();uZe({type:PAt,value:m,done:h,messageId:r},e)}i==PAt&&(await l.ready,await l.write(new Uint8Array(o)),uZe({type:oKi,messageId:r},e)),i==OAt&&p(null,n)}}catch(m){uZe({type:OAt,messageId:r},e),p(m)}function p(m,h){m?d(m):c(h),l&&l.releaseLock(),u()}}var mae=[],jAt=[];var lKi=0;async function pZe(t,e){let{options:i,config:o}=e,{transferStreams:r,useWebWorkers:n,useCompressionStream:a,codecType:s,compressed:l,signed:c,encrypted:d}=i,{workerScripts:u,maxWorkers:p}=o;e.transferStreams=r||r===_c;let m=!l&&!c&&!d&&!e.transferStreams;return e.useWebWorkers=!m&&(n||n===_c&&o.useWebWorkers),e.scripts=e.useWebWorkers&&u?u[s]:[],i.useCompressionStream=a||a===_c&&o.useCompressionStream,(await h()).run();async function h(){let g=mae.find(b=>!b.busy);if(g)return cKi(g),new Dfe(g,t,e,f);if(mae.length<p){let b={indexWorker:lKi};return lKi++,mae.push(b),new Dfe(b,t,e,f)}else return new Promise(b=>jAt.push({resolve:b,stream:t,workerOptions:e}))}function f(g){if(jAt.length){let[{resolve:b,stream:y,workerOptions:w}]=jAt.splice(0,1);b(new Dfe(g,y,w,f))}else g.worker?(cKi(g),W8r(g,e)):mae=mae.filter(b=>b!=g)}}function W8r(t,e){let{config:i}=e,{terminateWorkerTimeout:o}=i;Number.isFinite(o)&&o>=0&&(t.terminated?t.terminated=!1:t.terminateTimeout=setTimeout(async()=>{mae=mae.filter(r=>r!=t);try{await t.terminate()}catch{}},o))}function cKi(t){let{terminateTimeout:e}=t;e&&(clearTimeout(e),t.terminateTimeout=null)}function dKi(t,e={}){let i=`const{Array:e,Object:t,Number:n,Math:r,Error:s,Uint8Array:i,Uint16Array:o,Uint32Array:c,Int32Array:f,Map:a,DataView:l,Promise:u,TextEncoder:w,crypto:h,postMessage:d,TransformStream:p,ReadableStream:y,WritableStream:m,CompressionStream:b,DecompressionStream:g}=self,k=void 0,v="undefined",S="function";class z{constructor(e){return class extends p{constructor(t,n){const r=new e(n);super({transform(e,t){t.enqueue(r.append(e))},flush(e){const t=r.flush();t&&e.enqueue(t)}})}}}}const C=[];for(let e=0;256>e;e++){let t=e;for(let e=0;8>e;e++)1&t?t=t>>>1^3988292384:t>>>=1;C[e]=t}class x{constructor(e){this.t=e||-1}append(e){let t=0|this.t;for(let n=0,r=0|e.length;r>n;n++)t=t>>>8^C[255&(t^e[n])];this.t=t}get(){return~this.t}}class A extends p{constructor(){let e;const t=new x;super({transform(e,n){t.append(e),n.enqueue(e)},flush(){const n=new i(4);new l(n.buffer).setUint32(0,t.get()),e.value=n}}),e=this}}const _={concat(e,t){if(0===e.length||0===t.length)return e.concat(t);const n=e[e.length-1],r=_.i(n);return 32===r?e.concat(t):_.o(t,r,0|n,e.slice(0,e.length-1))},l(e){const t=e.length;if(0===t)return 0;const n=e[t-1];return 32*(t-1)+_.i(n)},u(e,t){if(32*e.length<t)return e;const n=(e=e.slice(0,r.ceil(t/32))).length;return t&=31,n>0&&t&&(e[n-1]=_.h(t,e[n-1]&2147483648>>t-1,1)),e},h:(e,t,n)=>32===e?t:(n?0|t:t<<32-e)+1099511627776*e,i:e=>r.round(e/1099511627776)||32,o(e,t,n,r){for(void 0===r&&(r=[]);t>=32;t-=32)r.push(n),n=0;if(0===t)return r.concat(e);for(let s=0;s<e.length;s++)r.push(n|e[s]>>>t),n=e[s]<<32-t;const s=e.length?e[e.length-1]:0,i=_.i(s);return r.push(_.h(t+i&31,t+i>32?n:r.pop(),1)),r}},I={bytes:{p(e){const t=_.l(e)/8,n=new i(t);let r;for(let s=0;t>s;s++)3&s||(r=e[s/4]),n[s]=r>>>24,r<<=8;return n},m(e){const t=[];let n,r=0;for(n=0;n<e.length;n++)r=r<<8|e[n],3&~n||(t.push(r),r=0);return 3&n&&t.push(_.h(8*(3&n),r)),t}}},P=class{constructor(e){const t=this;t.blockSize=512,t.k=[1732584193,4023233417,2562383102,271733878,3285377520],t.v=[1518500249,1859775393,2400959708,3395469782],e?(t.S=e.S.slice(0),t.C=e.C.slice(0),t.A=e.A):t.reset()}reset(){const e=this;return e.S=e.k.slice(0),e.C=[],e.A=0,e}update(e){const t=this;"string"==typeof e&&(e=I._.m(e));const n=t.C=_.concat(t.C,e),r=t.A,i=t.A=r+_.l(e);if(i>9007199254740991)throw new s("Cannot hash more than 2^53 - 1 bits");const o=new c(n);let f=0;for(let e=t.blockSize+r-(t.blockSize+r&t.blockSize-1);i>=e;e+=t.blockSize)t.I(o.subarray(16*f,16*(f+1))),f+=1;return n.splice(0,16*f),t}P(){const e=this;let t=e.C;const n=e.S;t=_.concat(t,[_.h(1,1)]);for(let e=t.length+2;15&e;e++)t.push(0);for(t.push(r.floor(e.A/4294967296)),t.push(0|e.A);t.length;)e.I(t.splice(0,16));return e.reset(),n}D(e,t,n,r){return e>19?e>39?e>59?e>79?void 0:t^n^r:t&n|t&r|n&r:t^n^r:t&n|~t&r}V(e,t){return t<<e|t>>>32-e}I(t){const n=this,s=n.S,i=e(80);for(let e=0;16>e;e++)i[e]=t[e];let o=s[0],c=s[1],f=s[2],a=s[3],l=s[4];for(let e=0;79>=e;e++){16>e||(i[e]=n.V(1,i[e-3]^i[e-8]^i[e-14]^i[e-16]));const t=n.V(5,o)+n.D(e,c,f,a)+l+i[e]+n.v[r.floor(e/20)]|0;l=a,a=f,f=n.V(30,c),c=o,o=t}s[0]=s[0]+o|0,s[1]=s[1]+c|0,s[2]=s[2]+f|0,s[3]=s[3]+a|0,s[4]=s[4]+l|0}},D={getRandomValues(e){const t=new c(e.buffer),n=e=>{let t=987654321;const n=4294967295;return()=>(t=36969*(65535&t)+(t>>16)&n,(((t<<16)+(e=18e3*(65535&e)+(e>>16)&n)&n)/4294967296+.5)*(r.random()>.5?1:-1))};for(let s,i=0;i<e.length;i+=4){const e=n(4294967296*(s||r.random()));s=987654071*e(),t[i/4]=4294967296*e()|0}return e}},V={importKey:e=>new V.R(I.bytes.m(e)),B(e,t,n,r){if(n=n||1e4,0>r||0>n)throw new s("invalid params to pbkdf2");const i=1+(r>>5)<<2;let o,c,f,a,u;const w=new ArrayBuffer(i),h=new l(w);let d=0;const p=_;for(t=I.bytes.m(t),u=1;(i||1)>d;u++){for(o=c=e.encrypt(p.concat(t,[u])),f=1;n>f;f++)for(c=e.encrypt(c),a=0;a<c.length;a++)o[a]^=c[a];for(f=0;(i||1)>d&&f<o.length;f++)h.setInt32(d,o[f]),d+=4}return w.slice(0,r/8)},R:class{constructor(e){const t=this,n=t.M=P,r=[[],[]];t.U=[new n,new n];const s=t.U[0].blockSize/32;e.length>s&&(e=(new n).update(e).P());for(let t=0;s>t;t++)r[0][t]=909522486^e[t],r[1][t]=1549556828^e[t];t.U[0].update(r[0]),t.U[1].update(r[1]),t.K=new n(t.U[0])}reset(){const e=this;e.K=new e.M(e.U[0]),e.N=!1}update(e){this.N=!0,this.K.update(e)}digest(){const e=this,t=e.K.P(),n=new e.M(e.U[1]).update(t).P();return e.reset(),n}encrypt(e){if(this.N)throw new s("encrypt on already updated hmac called!");return this.update(e),this.digest(e)}}},R=typeof h!=v&&typeof h.getRandomValues==S,B="Invalid password",E="Invalid signature",M="zipjs-abort-check-password";function U(e){return R?h.getRandomValues(e):D.getRandomValues(e)}const K=16,N={name:"PBKDF2"},O=t.assign({hash:{name:"HMAC"}},N),T=t.assign({iterations:1e3,hash:{name:"SHA-1"}},N),W=["deriveBits"],j=[8,12,16],H=[16,24,32],L=10,F=[0,0,0,0],q=typeof h!=v,G=q&&h.subtle,J=q&&typeof G!=v,Q=I.bytes,X=class{constructor(e){const t=this;t.O=[[[],[],[],[],[]],[[],[],[],[],[]]],t.O[0][0][0]||t.T();const n=t.O[0][4],r=t.O[1],i=e.length;let o,c,f,a=1;if(4!==i&&6!==i&&8!==i)throw new s("invalid aes key size");for(t.v=[c=e.slice(0),f=[]],o=i;4*i+28>o;o++){let e=c[o-1];(o%i==0||8===i&&o%i==4)&&(e=n[e>>>24]<<24^n[e>>16&255]<<16^n[e>>8&255]<<8^n[255&e],o%i==0&&(e=e<<8^e>>>24^a<<24,a=a<<1^283*(a>>7))),c[o]=c[o-i]^e}for(let e=0;o;e++,o--){const t=c[3&e?o:o-4];f[e]=4>=o||4>e?t:r[0][n[t>>>24]]^r[1][n[t>>16&255]]^r[2][n[t>>8&255]]^r[3][n[255&t]]}}encrypt(e){return this.W(e,0)}decrypt(e){return this.W(e,1)}T(){const e=this.O[0],t=this.O[1],n=e[4],r=t[4],s=[],i=[];let o,c,f,a;for(let e=0;256>e;e++)i[(s[e]=e<<1^283*(e>>7))^e]=e;for(let l=o=0;!n[l];l^=c||1,o=i[o]||1){let i=o^o<<1^o<<2^o<<3^o<<4;i=i>>8^255&i^99,n[l]=i,r[i]=l,a=s[f=s[c=s[l]]];let u=16843009*a^65537*f^257*c^16843008*l,w=257*s[i]^16843008*i;for(let n=0;4>n;n++)e[n][l]=w=w<<24^w>>>8,t[n][i]=u=u<<24^u>>>8}for(let n=0;5>n;n++)e[n]=e[n].slice(0),t[n]=t[n].slice(0)}W(e,t){if(4!==e.length)throw new s("invalid aes block size");const n=this.v[t],r=n.length/4-2,i=[0,0,0,0],o=this.O[t],c=o[0],f=o[1],a=o[2],l=o[3],u=o[4];let w,h,d,p=e[0]^n[0],y=e[t?3:1]^n[1],m=e[2]^n[2],b=e[t?1:3]^n[3],g=4;for(let e=0;r>e;e++)w=c[p>>>24]^f[y>>16&255]^a[m>>8&255]^l[255&b]^n[g],h=c[y>>>24]^f[m>>16&255]^a[b>>8&255]^l[255&p]^n[g+1],d=c[m>>>24]^f[b>>16&255]^a[p>>8&255]^l[255&y]^n[g+2],b=c[b>>>24]^f[p>>16&255]^a[y>>8&255]^l[255&m]^n[g+3],g+=4,p=w,y=h,m=d;for(let e=0;4>e;e++)i[t?3&-e:e]=u[p>>>24]<<24^u[y>>16&255]<<16^u[m>>8&255]<<8^u[255&b]^n[g++],w=p,p=y,y=m,m=b,b=w;return i}},Y=class{constructor(e,t){this.j=e,this.H=t,this.L=t}reset(){this.L=this.H}update(e){return this.F(this.j,e,this.L)}q(e){if(255&~(e>>24))e+=1<<24;else{let t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}return e}G(e){0===(e[0]=this.q(e[0]))&&(e[1]=this.q(e[1]))}F(e,t,n){let r;if(!(r=t.length))return[];const s=_.l(t);for(let s=0;r>s;s+=4){this.G(n);const r=e.encrypt(n);t[s]^=r[0],t[s+1]^=r[1],t[s+2]^=r[2],t[s+3]^=r[3]}return _.u(t,s)}},Z=V.R;let $=q&&J&&typeof G.importKey==S,ee=q&&J&&typeof G.deriveBits==S;class te extends p{constructor({password:e,rawPassword:n,signed:r,encryptionStrength:o,checkPasswordOnly:c}){super({start(){t.assign(this,{ready:new u((e=>this.J=e)),password:ie(e,n),signed:r,X:o-1,pending:new i})},async transform(e,t){const n=this,{password:r,X:o,J:f,ready:a}=n;r?(await(async(e,t,n,r)=>{const i=await se(e,t,n,ce(r,0,j[t])),o=ce(r,j[t]);if(i[0]!=o[0]||i[1]!=o[1])throw new s(B)})(n,o,r,ce(e,0,j[o]+2)),e=ce(e,j[o]+2),c?t.error(new s(M)):f()):await a;const l=new i(e.length-L-(e.length-L)%K);t.enqueue(re(n,e,l,0,L,!0))},async flush(e){const{signed:t,Y:n,Z:r,pending:o,ready:c}=this;if(r&&n){await c;const f=ce(o,0,o.length-L),a=ce(o,o.length-L);let l=new i;if(f.length){const e=ae(Q,f);r.update(e);const t=n.update(e);l=fe(Q,t)}if(t){const e=ce(fe(Q,r.digest()),0,L);for(let t=0;L>t;t++)if(e[t]!=a[t])throw new s(E)}e.enqueue(l)}}})}}class ne extends p{constructor({password:e,rawPassword:n,encryptionStrength:r}){let s;super({start(){t.assign(this,{ready:new u((e=>this.J=e)),password:ie(e,n),X:r-1,pending:new i})},async transform(e,t){const n=this,{password:r,X:s,J:o,ready:c}=n;let f=new i;r?(f=await(async(e,t,n)=>{const r=U(new i(j[t]));return oe(r,await se(e,t,n,r))})(n,s,r),o()):await c;const a=new i(f.length+e.length-e.length%K);a.set(f,0),t.enqueue(re(n,e,a,f.length,0))},async flush(e){const{Y:t,Z:n,pending:r,ready:o}=this;if(n&&t){await o;let c=new i;if(r.length){const e=t.update(ae(Q,r));n.update(e),c=fe(Q,e)}s.signature=fe(Q,n.digest()).slice(0,L),e.enqueue(oe(c,s.signature))}}}),s=this}}function re(e,t,n,r,s,o){const{Y:c,Z:f,pending:a}=e,l=t.length-s;let u;for(a.length&&(t=oe(a,t),n=((e,t)=>{if(t&&t>e.length){const n=e;(e=new i(t)).set(n,0)}return e})(n,l-l%K)),u=0;l-K>=u;u+=K){const e=ae(Q,ce(t,u,u+K));o&&f.update(e);const s=c.update(e);o||f.update(s),n.set(fe(Q,s),u+r)}return e.pending=ce(t,u),n}async function se(n,r,s,o){n.password=null;const c=await(async(e,t,n,r,s)=>{if(!$)return V.importKey(t);try{return await G.importKey("raw",t,n,!1,s)}catch(e){return $=!1,V.importKey(t)}})(0,s,O,0,W),f=await(async(e,t,n)=>{if(!ee)return V.B(t,e.salt,T.iterations,n);try{return await G.deriveBits(e,t,n)}catch(r){return ee=!1,V.B(t,e.salt,T.iterations,n)}})(t.assign({salt:o},T),c,8*(2*H[r]+2)),a=new i(f),l=ae(Q,ce(a,0,H[r])),u=ae(Q,ce(a,H[r],2*H[r])),w=ce(a,2*H[r]);return t.assign(n,{keys:{key:l,$:u,passwordVerification:w},Y:new Y(new X(l),e.from(F)),Z:new Z(u)}),w}function ie(e,t){return t===k?(e=>{if(typeof w==v){const t=new i((e=unescape(encodeURIComponent(e))).length);for(let n=0;n<t.length;n++)t[n]=e.charCodeAt(n);return t}return(new w).encode(e)})(e):t}function oe(e,t){let n=e;return e.length+t.length&&(n=new i(e.length+t.length),n.set(e,0),n.set(t,e.length)),n}function ce(e,t,n){return e.subarray(t,n)}function fe(e,t){return e.p(t)}function ae(e,t){return e.m(t)}class le extends p{constructor({password:e,passwordVerification:n,checkPasswordOnly:r}){super({start(){t.assign(this,{password:e,passwordVerification:n}),de(this,e)},transform(e,t){const n=this;if(n.password){const t=we(n,e.subarray(0,12));if(n.password=null,t[11]!=n.passwordVerification)throw new s(B);e=e.subarray(12)}r?t.error(new s(M)):t.enqueue(we(n,e))}})}}class ue extends p{constructor({password:e,passwordVerification:n}){super({start(){t.assign(this,{password:e,passwordVerification:n}),de(this,e)},transform(e,t){const n=this;let r,s;if(n.password){n.password=null;const t=U(new i(12));t[11]=n.passwordVerification,r=new i(e.length+t.length),r.set(he(n,t),0),s=12}else r=new i(e.length),s=0;r.set(he(n,e),s),t.enqueue(r)}})}}function we(e,t){const n=new i(t.length);for(let r=0;r<t.length;r++)n[r]=ye(e)^t[r],pe(e,n[r]);return n}function he(e,t){const n=new i(t.length);for(let r=0;r<t.length;r++)n[r]=ye(e)^t[r],pe(e,t[r]);return n}function de(e,n){const r=[305419896,591751049,878082192];t.assign(e,{keys:r,ee:new x(r[0]),te:new x(r[2])});for(let t=0;t<n.length;t++)pe(e,n.charCodeAt(t))}function pe(e,t){let[n,s,i]=e.keys;e.ee.append([t]),n=~e.ee.get(),s=be(r.imul(be(s+me(n)),134775813)+1),e.te.append([s>>>24]),i=~e.te.get(),e.keys=[n,s,i]}function ye(e){const t=2|e.keys[2];return me(r.imul(t,1^t)>>>8)}function me(e){return 255&e}function be(e){return 4294967295&e}const ge="deflate-raw";class ke extends p{constructor(e,{chunkSize:t,CompressionStream:n,CompressionStreamNative:r}){super({});const{compressed:s,encrypted:i,useCompressionStream:o,zipCrypto:c,signed:f,level:a}=e,u=this;let w,h,d=Se(super.readable);i&&!c||!f||(w=new A,d=xe(d,w)),s&&(d=Ce(d,o,{level:a,chunkSize:t},r,n)),i&&(c?d=xe(d,new ue(e)):(h=new ne(e),d=xe(d,h))),ze(u,d,(()=>{let e;i&&!c&&(e=h.signature),i&&!c||!f||(e=new l(w.value.buffer).getUint32(0)),u.signature=e}))}}class ve extends p{constructor(e,{chunkSize:t,DecompressionStream:n,DecompressionStreamNative:r}){super({});const{zipCrypto:i,encrypted:o,signed:c,signature:f,compressed:a,useCompressionStream:u}=e;let w,h,d=Se(super.readable);o&&(i?d=xe(d,new le(e)):(h=new te(e),d=xe(d,h))),a&&(d=Ce(d,u,{chunkSize:t},r,n)),o&&!i||!c||(w=new A,d=xe(d,w)),ze(this,d,(()=>{if((!o||i)&&c){const e=new l(w.value.buffer);if(f!=e.getUint32(0,!1))throw new s(E)}}))}}function Se(e){return xe(e,new p({transform(e,t){e&&e.length&&t.enqueue(e)}}))}function ze(e,n,r){n=xe(n,new p({flush:r})),t.defineProperty(e,"readable",{get:()=>n})}function Ce(e,t,n,r,s){try{e=xe(e,new(t&&r?r:s)(ge,n))}catch(r){if(!t)return e;try{e=xe(e,new s(ge,n))}catch(t){return e}}return e}function xe(e,t){return e.pipeThrough(t)}const Ae="data",_e="close";class Ie extends p{constructor(e,n){super({});const r=this,{codecType:s}=e;let i;s.startsWith("deflate")?i=ke:s.startsWith("inflate")&&(i=ve);let o=0,c=0;const f=new i(e,n),a=super.readable,l=new p({transform(e,t){e&&e.length&&(c+=e.length,t.enqueue(e))},flush(){t.assign(r,{inputSize:c})}}),u=new p({transform(e,t){e&&e.length&&(o+=e.length,t.enqueue(e))},flush(){const{signature:e}=f;t.assign(r,{signature:e,outputSize:o,inputSize:c})}});t.defineProperty(r,"readable",{get:()=>a.pipeThrough(l).pipeThrough(f).pipeThrough(u)})}}class Pe extends p{constructor(e){let t;super({transform:function n(r,s){if(t){const e=new i(t.length+r.length);e.set(t),e.set(r,t.length),r=e,t=null}r.length>e?(s.enqueue(r.slice(0,e)),n(r.slice(e),s)):t=r},flush(e){t&&t.length&&e.enqueue(t)}})}}const De=new a,Ve=new a;let Re,Be=0,Ee=!0;async function Me(e){try{const{options:t,scripts:r,config:s}=e;if(r&&r.length)try{Ee?importScripts.apply(k,r):await Ue(r)}catch(e){Ee=!1,await Ue(r)}self.initCodec&&self.initCodec(),s.CompressionStreamNative=self.CompressionStream,s.DecompressionStreamNative=self.DecompressionStream,self.Deflate&&(s.CompressionStream=new z(self.Deflate)),self.Inflate&&(s.DecompressionStream=new z(self.Inflate));const i={highWaterMark:1},o=e.readable||new y({async pull(e){const t=new u((e=>De.set(Be,e)));Ke({type:"pull",messageId:Be}),Be=(Be+1)%n.MAX_SAFE_INTEGER;const{value:r,done:s}=await t;e.enqueue(r),s&&e.close()}},i),c=e.writable||new m({async write(e){let t;const r=new u((e=>t=e));Ve.set(Be,t),Ke({type:Ae,value:e,messageId:Be}),Be=(Be+1)%n.MAX_SAFE_INTEGER,await r}},i),f=new Ie(t,s);Re=new AbortController;const{signal:a}=Re;await o.pipeThrough(f).pipeThrough(new Pe(s.chunkSize)).pipeTo(c,{signal:a,preventClose:!0,preventAbort:!0}),await c.getWriter().close();const{signature:l,inputSize:w,outputSize:h}=f;Ke({type:_e,result:{signature:l,inputSize:w,outputSize:h}})}catch(e){Ne(e)}}async function Ue(e){for(const t of e)await import(t)}function Ke(e){let{value:t}=e;if(t)if(t.length)try{t=new i(t),e.value=t.buffer,d(e,[e.value])}catch(t){d(e)}else d(e);else d(e)}function Ne(e=new s("Unknown error")){const{message:t,stack:n,code:r,name:i}=e;d({error:{message:t,stack:n,code:r,name:i}})}addEventListener("message",(({data:e})=>{const{type:t,messageId:n,value:r,done:s}=e;try{if("start"==t&&Me(e),t==Ae){const e=De.get(n);De.delete(n),e({value:new i(r),done:s})}if("ack"==t){const e=Ve.get(n);Ve.delete(n),e()}t==_e&&Re.abort()}catch(e){Ne(e)}}));const Oe=-2;function Te(t){return We(t.map((([t,n])=>new e(t).fill(n,0,t))))}function We(t){return t.reduce(((t,n)=>t.concat(e.isArray(n)?We(n):n)),[])}const je=[0,1,2,3].concat(...Te([[2,4],[2,5],[4,6],[4,7],[8,8],[8,9],[16,10],[16,11],[32,12],[32,13],[64,14],[64,15],[2,0],[1,16],[1,17],[2,18],[2,19],[4,20],[4,21],[8,22],[8,23],[16,24],[16,25],[32,26],[32,27],[64,28],[64,29]]));function He(){const e=this;function t(e,t){let n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}e.ne=n=>{const s=e.re,i=e.ie.se,o=e.ie.oe;let c,f,a,l=-1;for(n.ce=0,n.fe=573,c=0;o>c;c++)0!==s[2*c]?(n.ae[++n.ce]=l=c,n.le[c]=0):s[2*c+1]=0;for(;2>n.ce;)a=n.ae[++n.ce]=2>l?++l:0,s[2*a]=1,n.le[a]=0,n.ue--,i&&(n.we-=i[2*a+1]);for(e.he=l,c=r.floor(n.ce/2);c>=1;c--)n.de(s,c);a=o;do{c=n.ae[1],n.ae[1]=n.ae[n.ce--],n.de(s,1),f=n.ae[1],n.ae[--n.fe]=c,n.ae[--n.fe]=f,s[2*a]=s[2*c]+s[2*f],n.le[a]=r.max(n.le[c],n.le[f])+1,s[2*c+1]=s[2*f+1]=a,n.ae[1]=a++,n.de(s,1)}while(n.ce>=2);n.ae[--n.fe]=n.ae[1],(t=>{const n=e.re,r=e.ie.se,s=e.ie.pe,i=e.ie.ye,o=e.ie.me;let c,f,a,l,u,w,h=0;for(l=0;15>=l;l++)t.be[l]=0;for(n[2*t.ae[t.fe]+1]=0,c=t.fe+1;573>c;c++)f=t.ae[c],l=n[2*n[2*f+1]+1]+1,l>o&&(l=o,h++),n[2*f+1]=l,f>e.he||(t.be[l]++,u=0,i>f||(u=s[f-i]),w=n[2*f],t.ue+=w*(l+u),r&&(t.we+=w*(r[2*f+1]+u)));if(0!==h){do{for(l=o-1;0===t.be[l];)l--;t.be[l]--,t.be[l+1]+=2,t.be[o]--,h-=2}while(h>0);for(l=o;0!==l;l--)for(f=t.be[l];0!==f;)a=t.ae[--c],a>e.he||(n[2*a+1]!=l&&(t.ue+=(l-n[2*a+1])*n[2*a],n[2*a+1]=l),f--)}})(n),((e,n,r)=>{const s=[];let i,o,c,f=0;for(i=1;15>=i;i++)s[i]=f=f+r[i-1]<<1;for(o=0;n>=o;o++)c=e[2*o+1],0!==c&&(e[2*o]=t(s[c]++,c))})(s,e.he,n.be)}}function Le(e,t,n,r,s){const i=this;i.se=e,i.pe=t,i.ye=n,i.oe=r,i.me=s}He.ge=[0,1,2,3,4,5,6,7].concat(...Te([[2,8],[2,9],[2,10],[2,11],[4,12],[4,13],[4,14],[4,15],[8,16],[8,17],[8,18],[8,19],[16,20],[16,21],[16,22],[16,23],[32,24],[32,25],[32,26],[31,27],[1,28]])),He.ke=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],He.ve=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],He.Se=e=>256>e?je[e]:je[256+(e>>>7)],He.ze=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],He.Ce=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],He.xe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],He.Ae=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];const Fe=Te([[144,8],[112,9],[24,7],[8,8]]);Le._e=We([12,140,76,204,44,172,108,236,28,156,92,220,60,188,124,252,2,130,66,194,34,162,98,226,18,146,82,210,50,178,114,242,10,138,74,202,42,170,106,234,26,154,90,218,58,186,122,250,6,134,70,198,38,166,102,230,22,150,86,214,54,182,118,246,14,142,78,206,46,174,110,238,30,158,94,222,62,190,126,254,1,129,65,193,33,161,97,225,17,145,81,209,49,177,113,241,9,137,73,201,41,169,105,233,25,153,89,217,57,185,121,249,5,133,69,197,37,165,101,229,21,149,85,213,53,181,117,245,13,141,77,205,45,173,109,237,29,157,93,221,61,189,125,253,19,275,147,403,83,339,211,467,51,307,179,435,115,371,243,499,11,267,139,395,75,331,203,459,43,299,171,427,107,363,235,491,27,283,155,411,91,347,219,475,59,315,187,443,123,379,251,507,7,263,135,391,71,327,199,455,39,295,167,423,103,359,231,487,23,279,151,407,87,343,215,471,55,311,183,439,119,375,247,503,15,271,143,399,79,335,207,463,47,303,175,431,111,367,239,495,31,287,159,415,95,351,223,479,63,319,191,447,127,383,255,511,0,64,32,96,16,80,48,112,8,72,40,104,24,88,56,120,4,68,36,100,20,84,52,116,3,131,67,195,35,163,99,227].map(((e,t)=>[e,Fe[t]])));const qe=Te([[30,5]]);function Ge(e,t,n,r,s){const i=this;i.Ie=e,i.Pe=t,i.De=n,i.Ve=r,i.Re=s}Le.Be=We([0,16,8,24,4,20,12,28,2,18,10,26,6,22,14,30,1,17,9,25,5,21,13,29,3,19,11,27,7,23].map(((e,t)=>[e,qe[t]]))),Le.Ee=new Le(Le._e,He.ze,257,286,15),Le.Me=new Le(Le.Be,He.Ce,0,30,15),Le.Ue=new Le(null,He.xe,0,19,7);const Je=[new Ge(0,0,0,0,0),new Ge(4,4,8,4,1),new Ge(4,5,16,8,1),new Ge(4,6,32,32,1),new Ge(4,4,16,16,2),new Ge(8,16,32,32,2),new Ge(8,16,128,128,2),new Ge(8,32,128,256,2),new Ge(32,128,258,1024,2),new Ge(32,258,258,4096,2)],Qe=["need dictionary","stream end","","","stream error","data error","","buffer error","",""],Xe=113,Ye=666,Ze=262;function $e(e,t,n,r){const s=e[2*t],i=e[2*n];return i>s||s==i&&r[t]<=r[n]}function et(){const e=this;let t,n,s,c,f,a,l,u,w,h,d,p,y,m,b,g,k,v,S,z,C,x,A,_,I,P,D,V,R,B,E,M,U;const K=new He,N=new He,O=new He;let T,W,j,H,L,F;function q(){let t;for(t=0;286>t;t++)E[2*t]=0;for(t=0;30>t;t++)M[2*t]=0;for(t=0;19>t;t++)U[2*t]=0;E[512]=1,e.ue=e.we=0,W=j=0}function G(e,t){let n,r=-1,s=e[1],i=0,o=7,c=4;0===s&&(o=138,c=3),e[2*(t+1)+1]=65535;for(let f=0;t>=f;f++)n=s,s=e[2*(f+1)+1],++i<o&&n==s||(c>i?U[2*n]+=i:0!==n?(n!=r&&U[2*n]++,U[32]++):i>10?U[36]++:U[34]++,i=0,r=n,0===s?(o=138,c=3):n==s?(o=6,c=3):(o=7,c=4))}function J(t){e.Ke[e.pending++]=t}function Q(e){J(255&e),J(e>>>8&255)}function X(e,t){let n;const r=t;F>16-r?(n=e,L|=n<<F&65535,Q(L),L=n>>>16-F,F+=r-16):(L|=e<<F&65535,F+=r)}function Y(e,t){const n=2*e;X(65535&t[n],65535&t[n+1])}function Z(e,t){let n,r,s=-1,i=e[1],o=0,c=7,f=4;for(0===i&&(c=138,f=3),n=0;t>=n;n++)if(r=i,i=e[2*(n+1)+1],++o>=c||r!=i){if(f>o)do{Y(r,U)}while(0!=--o);else 0!==r?(r!=s&&(Y(r,U),o--),Y(16,U),X(o-3,2)):o>10?(Y(18,U),X(o-11,7)):(Y(17,U),X(o-3,3));o=0,s=r,0===i?(c=138,f=3):r==i?(c=6,f=3):(c=7,f=4)}}function $(){16==F?(Q(L),L=0,F=0):8>F||(J(255&L),L>>>=8,F-=8)}function ee(t,n){let s,i,o;if(e.Ne[W]=t,e.Oe[W]=255&n,W++,0===t?E[2*n]++:(j++,t--,E[2*(He.ge[n]+256+1)]++,M[2*He.Se(t)]++),!(8191&W)&&D>2){for(s=8*W,i=C-k,o=0;30>o;o++)s+=M[2*o]*(5+He.Ce[o]);if(s>>>=3,j<r.floor(W/2)&&s<r.floor(i/2))return!0}return W==T-1}function te(t,n){let r,s,i,o,c=0;if(0!==W)do{r=e.Ne[c],s=e.Oe[c],c++,0===r?Y(s,t):(i=He.ge[s],Y(i+256+1,t),o=He.ze[i],0!==o&&(s-=He.ke[i],X(s,o)),r--,i=He.Se(r),Y(i,n),o=He.Ce[i],0!==o&&(r-=He.ve[i],X(r,o)))}while(W>c);Y(256,t),H=t[513]}function ne(){F>8?Q(L):F>0&&J(255&L),L=0,F=0}function re(t,n,r){X(0+(r?1:0),3),((t,n)=>{ne(),H=8,Q(n),Q(~n),e.Ke.set(u.subarray(t,t+n),e.pending),e.pending+=n})(t,n)}function se(n){((t,n,r)=>{let s,i,o=0;D>0?(K.ne(e),N.ne(e),o=(()=>{let t;for(G(E,K.he),G(M,N.he),O.ne(e),t=18;t>=3&&0===U[2*He.Ae[t]+1];t--);return e.ue+=14+3*(t+1),t})(),s=e.ue+3+7>>>3,i=e.we+3+7>>>3,i>s||(s=i)):s=i=n+5,n+4>s||-1==t?i==s?(X(2+(r?1:0),3),te(Le._e,Le.Be)):(X(4+(r?1:0),3),((e,t,n)=>{let r;for(X(e-257,5),X(t-1,5),X(n-4,4),r=0;n>r;r++)X(U[2*He.Ae[r]+1],3);Z(E,e-1),Z(M,t-1)})(K.he+1,N.he+1,o+1),te(E,M)):re(t,n,r),q(),r&&ne()})(0>k?-1:k,C-k,n),k=C,t.Te()}function ie(){let e,n,r,s;do{if(s=w-A-C,0===s&&0===C&&0===A)s=f;else if(-1==s)s--;else if(C>=f+f-Ze){u.set(u.subarray(f,f+f),0),x-=f,C-=f,k-=f,e=y,r=e;do{n=65535&d[--r],d[r]=f>n?0:n-f}while(0!=--e);e=f,r=e;do{n=65535&h[--r],h[r]=f>n?0:n-f}while(0!=--e);s+=f}if(0===t.We)return;e=t.je(u,C+A,s),A+=e,3>A||(p=255&u[C],p=(p<<g^255&u[C+1])&b)}while(Ze>A&&0!==t.We)}function oe(e){let t,n,r=I,s=C,i=_;const o=C>f-Ze?C-(f-Ze):0;let c=B;const a=l,w=C+258;let d=u[s+i-1],p=u[s+i];R>_||(r>>=2),c>A&&(c=A);do{if(t=e,u[t+i]==p&&u[t+i-1]==d&&u[t]==u[s]&&u[++t]==u[s+1]){s+=2,t++;do{}while(u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&w>s);if(n=258-(w-s),s=w-258,n>i){if(x=e,i=n,n>=c)break;d=u[s+i-1],p=u[s+i]}}}while((e=65535&h[e&a])>o&&0!=--r);return i>A?A:i}e.le=[],e.be=[],e.ae=[],E=[],M=[],U=[],e.de=(t,n)=>{const r=e.ae,s=r[n];let i=n<<1;for(;i<=e.ce&&(i<e.ce&&$e(t,r[i+1],r[i],e.le)&&i++,!$e(t,s,r[i],e.le));)r[n]=r[i],n=i,i<<=1;r[n]=s},e.He=(t,S,x,W,j,G)=>(W||(W=8),j||(j=8),G||(G=0),t.Le=null,-1==S&&(S=6),1>j||j>9||8!=W||9>x||x>15||0>S||S>9||0>G||G>2?Oe:(t.Fe=e,a=x,f=1<<a,l=f-1,m=j+7,y=1<<m,b=y-1,g=r.floor((m+3-1)/3),u=new i(2*f),h=[],d=[],T=1<<j+6,e.Ke=new i(4*T),s=4*T,e.Ne=new o(T),e.Oe=new i(T),D=S,V=G,(t=>(t.qe=t.Ge=0,t.Le=null,e.pending=0,e.Je=0,n=Xe,c=0,K.re=E,K.ie=Le.Ee,N.re=M,N.ie=Le.Me,O.re=U,O.ie=Le.Ue,L=0,F=0,H=8,q(),(()=>{w=2*f,d[y-1]=0;for(let e=0;y-1>e;e++)d[e]=0;P=Je[D].Pe,R=Je[D].Ie,B=Je[D].De,I=Je[D].Ve,C=0,k=0,A=0,v=_=2,z=0,p=0})(),0))(t))),e.Qe=()=>42!=n&&n!=Xe&&n!=Ye?Oe:(e.Oe=null,e.Ne=null,e.Ke=null,d=null,h=null,u=null,e.Fe=null,n==Xe?-3:0),e.Xe=(e,t,n)=>{let r=0;return-1==t&&(t=6),0>t||t>9||0>n||n>2?Oe:(Je[D].Re!=Je[t].Re&&0!==e.qe&&(r=e.Ye(1)),D!=t&&(D=t,P=Je[D].Pe,R=Je[D].Ie,B=Je[D].De,I=Je[D].Ve),V=n,r)},e.Ze=(e,t,r)=>{let s,i=r,o=0;if(!t||42!=n)return Oe;if(3>i)return 0;for(i>f-Ze&&(i=f-Ze,o=r-i),u.set(t.subarray(o,o+i),0),C=i,k=i,p=255&u[0],p=(p<<g^255&u[1])&b,s=0;i-3>=s;s++)p=(p<<g^255&u[s+2])&b,h[s&l]=d[p],d[p]=s;return 0},e.Ye=(r,i)=>{let o,w,m,I,R;if(i>4||0>i)return Oe;if(!r.$e||!r.et&&0!==r.We||n==Ye&&4!=i)return r.Le=Qe[4],Oe;if(0===r.tt)return r.Le=Qe[7],-5;var B;if(t=r,I=c,c=i,42==n&&(w=8+(a-8<<4)<<8,m=(D-1&255)>>1,m>3&&(m=3),w|=m<<6,0!==C&&(w|=32),w+=31-w%31,n=Xe,J((B=w)>>8&255),J(255&B)),0!==e.pending){if(t.Te(),0===t.tt)return c=-1,0}else if(0===t.We&&I>=i&&4!=i)return t.Le=Qe[7],-5;if(n==Ye&&0!==t.We)return r.Le=Qe[7],-5;if(0!==t.We||0!==A||0!=i&&n!=Ye){switch(R=-1,Je[D].Re){case 0:R=(e=>{let n,r=65535;for(r>s-5&&(r=s-5);;){if(1>=A){if(ie(),0===A&&0==e)return 0;if(0===A)break}if(C+=A,A=0,n=k+r,(0===C||C>=n)&&(A=C-n,C=n,se(!1),0===t.tt))return 0;if(C-k>=f-Ze&&(se(!1),0===t.tt))return 0}return se(4==e),0===t.tt?4==e?2:0:4==e?3:1})(i);break;case 1:R=(e=>{let n,r=0;for(;;){if(Ze>A){if(ie(),Ze>A&&0==e)return 0;if(0===A)break}if(3>A||(p=(p<<g^255&u[C+2])&b,r=65535&d[p],h[C&l]=d[p],d[p]=C),0===r||(C-r&65535)>f-Ze||2!=V&&(v=oe(r)),3>v)n=ee(0,255&u[C]),A--,C++;else if(n=ee(C-x,v-3),A-=v,v>P||3>A)C+=v,v=0,p=255&u[C],p=(p<<g^255&u[C+1])&b;else{v--;do{C++,p=(p<<g^255&u[C+2])&b,r=65535&d[p],h[C&l]=d[p],d[p]=C}while(0!=--v);C++}if(n&&(se(!1),0===t.tt))return 0}return se(4==e),0===t.tt?4==e?2:0:4==e?3:1})(i);break;case 2:R=(e=>{let n,r,s=0;for(;;){if(Ze>A){if(ie(),Ze>A&&0==e)return 0;if(0===A)break}if(3>A||(p=(p<<g^255&u[C+2])&b,s=65535&d[p],h[C&l]=d[p],d[p]=C),_=v,S=x,v=2,0!==s&&P>_&&f-Ze>=(C-s&65535)&&(2!=V&&(v=oe(s)),5>=v&&(1==V||3==v&&C-x>4096)&&(v=2)),3>_||v>_)if(0!==z){if(n=ee(0,255&u[C-1]),n&&se(!1),C++,A--,0===t.tt)return 0}else z=1,C++,A--;else{r=C+A-3,n=ee(C-1-S,_-3),A-=_-1,_-=2;do{++C>r||(p=(p<<g^255&u[C+2])&b,s=65535&d[p],h[C&l]=d[p],d[p]=C)}while(0!=--_);if(z=0,v=2,C++,n&&(se(!1),0===t.tt))return 0}}return 0!==z&&(n=ee(0,255&u[C-1]),z=0),se(4==e),0===t.tt?4==e?2:0:4==e?3:1})(i)}if(2!=R&&3!=R||(n=Ye),0==R||2==R)return 0===t.tt&&(c=-1),0;if(1==R){if(1==i)X(2,3),Y(256,Le._e),$(),9>1+H+10-F&&(X(2,3),Y(256,Le._e),$()),H=7;else if(re(0,0,!1),3==i)for(o=0;y>o;o++)d[o]=0;if(t.Te(),0===t.tt)return c=-1,0}}return 4!=i?0:1}}function tt(){const e=this;e.nt=0,e.rt=0,e.We=0,e.qe=0,e.tt=0,e.Ge=0}function nt(e){const t=new tt,n=(o=e&&e.chunkSize?e.chunkSize:65536)+5*(r.floor(o/16383)+1);var o;const c=new i(n);let f=e?e.level:-1;void 0===f&&(f=-1),t.He(f),t.$e=c,this.append=(e,r)=>{let o,f,a=0,l=0,u=0;const w=[];if(e.length){t.nt=0,t.et=e,t.We=e.length;do{if(t.rt=0,t.tt=n,o=t.Ye(0),0!=o)throw new s("deflating: "+t.Le);t.rt&&(t.rt==n?w.push(new i(c)):w.push(c.subarray(0,t.rt))),u+=t.rt,r&&t.nt>0&&t.nt!=a&&(r(t.nt),a=t.nt)}while(t.We>0||0===t.tt);return w.length>1?(f=new i(u),w.forEach((e=>{f.set(e,l),l+=e.length}))):f=w[0]?new i(w[0]):new i,f}},this.flush=()=>{let e,r,o=0,f=0;const a=[];do{if(t.rt=0,t.tt=n,e=t.Ye(4),1!=e&&0!=e)throw new s("deflating: "+t.Le);n-t.tt>0&&a.push(c.slice(0,t.rt)),f+=t.rt}while(t.We>0||0===t.tt);return t.Qe(),r=new i(f),a.forEach((e=>{r.set(e,o),o+=e.length})),r}}tt.prototype={He(e,t){const n=this;return n.Fe=new et,t||(t=15),n.Fe.He(n,e,t)},Ye(e){const t=this;return t.Fe?t.Fe.Ye(t,e):Oe},Qe(){const e=this;if(!e.Fe)return Oe;const t=e.Fe.Qe();return e.Fe=null,t},Xe(e,t){const n=this;return n.Fe?n.Fe.Xe(n,e,t):Oe},Ze(e,t){const n=this;return n.Fe?n.Fe.Ze(n,e,t):Oe},je(e,t,n){const r=this;let s=r.We;return s>n&&(s=n),0===s?0:(r.We-=s,e.set(r.et.subarray(r.nt,r.nt+s),t),r.nt+=s,r.qe+=s,s)},Te(){const e=this;let t=e.Fe.pending;t>e.tt&&(t=e.tt),0!==t&&(e.$e.set(e.Fe.Ke.subarray(e.Fe.Je,e.Fe.Je+t),e.rt),e.rt+=t,e.Fe.Je+=t,e.Ge+=t,e.tt-=t,e.Fe.pending-=t,0===e.Fe.pending&&(e.Fe.Je=0))}};const rt=-2,st=-3,it=-5,ot=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],ct=[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],ft=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],at=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],lt=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,112,112],ut=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],wt=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13];function ht(){let e,t,n,r,s,i;function o(e,t,o,c,f,a,l,u,w,h,d){let p,y,m,b,g,k,v,S,z,C,x,A,_,I,P;C=0,g=o;do{n[e[t+C]]++,C++,g--}while(0!==g);if(n[0]==o)return l[0]=-1,u[0]=0,0;for(S=u[0],k=1;15>=k&&0===n[k];k++);for(v=k,k>S&&(S=k),g=15;0!==g&&0===n[g];g--);for(m=g,S>g&&(S=g),u[0]=S,I=1<<k;g>k;k++,I<<=1)if(0>(I-=n[k]))return st;if(0>(I-=n[g]))return st;for(n[g]+=I,i[1]=k=0,C=1,_=2;0!=--g;)i[_]=k+=n[C],_++,C++;g=0,C=0;do{0!==(k=e[t+C])&&(d[i[k]++]=g),C++}while(++g<o);for(o=i[m],i[0]=g=0,C=0,b=-1,A=-S,s[0]=0,x=0,P=0;m>=v;v++)for(p=n[v];0!=p--;){for(;v>A+S;){if(b++,A+=S,P=m-A,P=P>S?S:P,(y=1<<(k=v-A))>p+1&&(y-=p+1,_=v,P>k))for(;++k<P&&(y<<=1)>n[++_];)y-=n[_];if(P=1<<k,h[0]+P>1440)return st;s[b]=x=h[0],h[0]+=P,0!==b?(i[b]=g,r[0]=k,r[1]=S,k=g>>>A-S,r[2]=x-s[b-1]-k,w.set(r,3*(s[b-1]+k))):l[0]=x}for(r[1]=v-A,o>C?d[C]<c?(r[0]=256>d[C]?0:96,r[2]=d[C++]):(r[0]=a[d[C]-c]+16+64,r[2]=f[d[C++]-c]):r[0]=192,y=1<<v-A,k=g>>>A;P>k;k+=y)w.set(r,3*(x+k));for(k=1<<v-1;g&k;k>>>=1)g^=k;for(g^=k,z=(1<<A)-1;(g&z)!=i[b];)b--,A-=S,z=(1<<A)-1}return 0!==I&&1!=m?it:0}function c(o){let c;for(e||(e=[],t=[],n=new f(16),r=[],s=new f(15),i=new f(16)),t.length<o&&(t=[]),c=0;o>c;c++)t[c]=0;for(c=0;16>c;c++)n[c]=0;for(c=0;3>c;c++)r[c]=0;s.set(n.subarray(0,15),0),i.set(n.subarray(0,16),0)}this.st=(n,r,s,i,f)=>{let a;return c(19),e[0]=0,a=o(n,0,19,19,null,null,s,r,i,e,t),a==st?f.Le="oversubscribed dynamic bit lengths tree":a!=it&&0!==r[0]||(f.Le="incomplete dynamic bit lengths tree",a=st),a},this.it=(n,r,s,i,f,a,l,u,w)=>{let h;return c(288),e[0]=0,h=o(s,0,n,257,at,lt,a,i,u,e,t),0!=h||0===i[0]?(h==st?w.Le="oversubscribed literal/length tree":-4!=h&&(w.Le="incomplete literal/length tree",h=st),h):(c(288),h=o(s,n,r,0,ut,wt,l,f,u,e,t),0!=h||0===f[0]&&n>257?(h==st?w.Le="oversubscribed distance tree":h==it?(w.Le="incomplete distance tree",h=st):-4!=h&&(w.Le="empty distance tree with lengths",h=st),h):0)}}function dt(){const e=this;let t,n,r,s,i=0,o=0,c=0,f=0,a=0,l=0,u=0,w=0,h=0,d=0;function p(e,t,n,r,s,i,o,c){let f,a,l,u,w,h,d,p,y,m,b,g,k,v,S,z;d=c.nt,p=c.We,w=o.ot,h=o.ct,y=o.write,m=y<o.read?o.read-y-1:o.end-y,b=ot[e],g=ot[t];do{for(;20>h;)p--,w|=(255&c.ft(d++))<<h,h+=8;if(f=w&b,a=n,l=r,z=3*(l+f),0!==(u=a[z]))for(;;){if(w>>=a[z+1],h-=a[z+1],16&u){for(u&=15,k=a[z+2]+(w&ot[u]),w>>=u,h-=u;15>h;)p--,w|=(255&c.ft(d++))<<h,h+=8;for(f=w&g,a=s,l=i,z=3*(l+f),u=a[z];;){if(w>>=a[z+1],h-=a[z+1],16&u){for(u&=15;u>h;)p--,w|=(255&c.ft(d++))<<h,h+=8;if(v=a[z+2]+(w&ot[u]),w>>=u,h-=u,m-=k,v>y){S=y-v;do{S+=o.end}while(0>S);if(u=o.end-S,k>u){if(k-=u,y-S>0&&u>y-S)do{o.lt[y++]=o.lt[S++]}while(0!=--u);else o.lt.set(o.lt.subarray(S,S+u),y),y+=u,S+=u,u=0;S=0}}else S=y-v,y-S>0&&2>y-S?(o.lt[y++]=o.lt[S++],o.lt[y++]=o.lt[S++],k-=2):(o.lt.set(o.lt.subarray(S,S+2),y),y+=2,S+=2,k-=2);if(y-S>0&&k>y-S)do{o.lt[y++]=o.lt[S++]}while(0!=--k);else o.lt.set(o.lt.subarray(S,S+k),y),y+=k,S+=k,k=0;break}if(64&u)return c.Le="invalid distance code",k=c.We-p,k=k>h>>3?h>>3:k,p+=k,d-=k,h-=k<<3,o.ot=w,o.ct=h,c.We=p,c.qe+=d-c.nt,c.nt=d,o.write=y,st;f+=a[z+2],f+=w&ot[u],z=3*(l+f),u=a[z]}break}if(64&u)return 32&u?(k=c.We-p,k=k>h>>3?h>>3:k,p+=k,d-=k,h-=k<<3,o.ot=w,o.ct=h,c.We=p,c.qe+=d-c.nt,c.nt=d,o.write=y,1):(c.Le="invalid literal/length code",k=c.We-p,k=k>h>>3?h>>3:k,p+=k,d-=k,h-=k<<3,o.ot=w,o.ct=h,c.We=p,c.qe+=d-c.nt,c.nt=d,o.write=y,st);if(f+=a[z+2],f+=w&ot[u],z=3*(l+f),0===(u=a[z])){w>>=a[z+1],h-=a[z+1],o.lt[y++]=a[z+2],m--;break}}else w>>=a[z+1],h-=a[z+1],o.lt[y++]=a[z+2],m--}while(m>=258&&p>=10);return k=c.We-p,k=k>h>>3?h>>3:k,p+=k,d-=k,h-=k<<3,o.ot=w,o.ct=h,c.We=p,c.qe+=d-c.nt,c.nt=d,o.write=y,0}e.init=(e,i,o,c,f,a)=>{t=0,u=e,w=i,r=o,h=c,s=f,d=a,n=null},e.ut=(e,y,m)=>{let b,g,k,v,S,z,C,x=0,A=0,_=0;for(_=y.nt,v=y.We,x=e.ot,A=e.ct,S=e.write,z=S<e.read?e.read-S-1:e.end-S;;)switch(t){case 0:if(z>=258&&v>=10&&(e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,m=p(u,w,r,h,s,d,e,y),_=y.nt,v=y.We,x=e.ot,A=e.ct,S=e.write,z=S<e.read?e.read-S-1:e.end-S,0!=m)){t=1==m?7:9;break}c=u,n=r,o=h,t=1;case 1:for(b=c;b>A;){if(0===v)return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);m=0,v--,x|=(255&y.ft(_++))<<A,A+=8}if(g=3*(o+(x&ot[b])),x>>>=n[g+1],A-=n[g+1],k=n[g],0===k){f=n[g+2],t=6;break}if(16&k){a=15&k,i=n[g+2],t=2;break}if(!(64&k)){c=k,o=g/3+n[g+2];break}if(32&k){t=7;break}return t=9,y.Le="invalid literal/length code",m=st,e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);case 2:for(b=a;b>A;){if(0===v)return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);m=0,v--,x|=(255&y.ft(_++))<<A,A+=8}i+=x&ot[b],x>>=b,A-=b,c=w,n=s,o=d,t=3;case 3:for(b=c;b>A;){if(0===v)return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);m=0,v--,x|=(255&y.ft(_++))<<A,A+=8}if(g=3*(o+(x&ot[b])),x>>=n[g+1],A-=n[g+1],k=n[g],16&k){a=15&k,l=n[g+2],t=4;break}if(!(64&k)){c=k,o=g/3+n[g+2];break}return t=9,y.Le="invalid distance code",m=st,e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);case 4:for(b=a;b>A;){if(0===v)return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);m=0,v--,x|=(255&y.ft(_++))<<A,A+=8}l+=x&ot[b],x>>=b,A-=b,t=5;case 5:for(C=S-l;0>C;)C+=e.end;for(;0!==i;){if(0===z&&(S==e.end&&0!==e.read&&(S=0,z=S<e.read?e.read-S-1:e.end-S),0===z&&(e.write=S,m=e.wt(y,m),S=e.write,z=S<e.read?e.read-S-1:e.end-S,S==e.end&&0!==e.read&&(S=0,z=S<e.read?e.read-S-1:e.end-S),0===z)))return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);e.lt[S++]=e.lt[C++],z--,C==e.end&&(C=0),i--}t=0;break;case 6:if(0===z&&(S==e.end&&0!==e.read&&(S=0,z=S<e.read?e.read-S-1:e.end-S),0===z&&(e.write=S,m=e.wt(y,m),S=e.write,z=S<e.read?e.read-S-1:e.end-S,S==e.end&&0!==e.read&&(S=0,z=S<e.read?e.read-S-1:e.end-S),0===z)))return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);m=0,e.lt[S++]=f,z--,t=0;break;case 7:if(A>7&&(A-=8,v++,_--),e.write=S,m=e.wt(y,m),S=e.write,z=S<e.read?e.read-S-1:e.end-S,e.read!=e.write)return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);t=8;case 8:return m=1,e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);case 9:return m=st,e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);default:return m=rt,e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m)}},e.ht=()=>{}}ht.dt=(e,t,n,r)=>(e[0]=9,t[0]=5,n[0]=ct,r[0]=ft,0);const pt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];function yt(e,t){const n=this;let r,s=0,o=0,c=0,a=0;const l=[0],u=[0],w=new dt;let h=0,d=new f(4320);const p=new ht;n.ct=0,n.ot=0,n.lt=new i(t),n.end=t,n.read=0,n.write=0,n.reset=(e,t)=>{t&&(t[0]=0),6==s&&w.ht(e),s=0,n.ct=0,n.ot=0,n.read=n.write=0},n.reset(e,null),n.wt=(e,t)=>{let r,s,i;return s=e.rt,i=n.read,r=(i>n.write?n.end:n.write)-i,r>e.tt&&(r=e.tt),0!==r&&t==it&&(t=0),e.tt-=r,e.Ge+=r,e.$e.set(n.lt.subarray(i,i+r),s),s+=r,i+=r,i==n.end&&(i=0,n.write==n.end&&(n.write=0),r=n.write-i,r>e.tt&&(r=e.tt),0!==r&&t==it&&(t=0),e.tt-=r,e.Ge+=r,e.$e.set(n.lt.subarray(i,i+r),s),s+=r,i+=r),e.rt=s,n.read=i,t},n.ut=(e,t)=>{let i,f,y,m,b,g,k,v;for(m=e.nt,b=e.We,f=n.ot,y=n.ct,g=n.write,k=g<n.read?n.read-g-1:n.end-g;;){let S,z,C,x,A,_,I,P;switch(s){case 0:for(;3>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}switch(i=7&f,h=1&i,i>>>1){case 0:f>>>=3,y-=3,i=7&y,f>>>=i,y-=i,s=1;break;case 1:S=[],z=[],C=[[]],x=[[]],ht.dt(S,z,C,x),w.init(S[0],z[0],C[0],0,x[0],0),f>>>=3,y-=3,s=6;break;case 2:f>>>=3,y-=3,s=3;break;case 3:return f>>>=3,y-=3,s=9,e.Le="invalid block type",t=st,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t)}break;case 1:for(;32>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}if((~f>>>16&65535)!=(65535&f))return s=9,e.Le="invalid stored block lengths",t=st,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);o=65535&f,f=y=0,s=0!==o?2:0!==h?7:0;break;case 2:if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);if(0===k&&(g==n.end&&0!==n.read&&(g=0,k=g<n.read?n.read-g-1:n.end-g),0===k&&(n.write=g,t=n.wt(e,t),g=n.write,k=g<n.read?n.read-g-1:n.end-g,g==n.end&&0!==n.read&&(g=0,k=g<n.read?n.read-g-1:n.end-g),0===k)))return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);if(t=0,i=o,i>b&&(i=b),i>k&&(i=k),n.lt.set(e.je(m,i),g),m+=i,b-=i,g+=i,k-=i,0!=(o-=i))break;s=0!==h?7:0;break;case 3:for(;14>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}if(c=i=16383&f,(31&i)>29||(i>>5&31)>29)return s=9,e.Le="too many length or distance symbols",t=st,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);if(i=258+(31&i)+(i>>5&31),!r||r.length<i)r=[];else for(v=0;i>v;v++)r[v]=0;f>>>=14,y-=14,a=0,s=4;case 4:for(;4+(c>>>10)>a;){for(;3>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}r[pt[a++]]=7&f,f>>>=3,y-=3}for(;19>a;)r[pt[a++]]=0;if(l[0]=7,i=p.st(r,l,u,d,e),0!=i)return(t=i)==st&&(r=null,s=9),n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);a=0,s=5;case 5:for(;i=c,258+(31&i)+(i>>5&31)>a;){let o,w;for(i=l[0];i>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}if(i=d[3*(u[0]+(f&ot[i]))+1],w=d[3*(u[0]+(f&ot[i]))+2],16>w)f>>>=i,y-=i,r[a++]=w;else{for(v=18==w?7:w-14,o=18==w?11:3;i+v>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}if(f>>>=i,y-=i,o+=f&ot[v],f>>>=v,y-=v,v=a,i=c,v+o>258+(31&i)+(i>>5&31)||16==w&&1>v)return r=null,s=9,e.Le="invalid bit length repeat",t=st,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);w=16==w?r[v-1]:0;do{r[v++]=w}while(0!=--o);a=v}}if(u[0]=-1,A=[],_=[],I=[],P=[],A[0]=9,_[0]=6,i=c,i=p.it(257+(31&i),1+(i>>5&31),r,A,_,I,P,d,e),0!=i)return i==st&&(r=null,s=9),t=i,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);w.init(A[0],_[0],d,I[0],d,P[0]),s=6;case 6:if(n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,1!=(t=w.ut(n,e,t)))return n.wt(e,t);if(t=0,w.ht(e),m=e.nt,b=e.We,f=n.ot,y=n.ct,g=n.write,k=g<n.read?n.read-g-1:n.end-g,0===h){s=0;break}s=7;case 7:if(n.write=g,t=n.wt(e,t),g=n.write,k=g<n.read?n.read-g-1:n.end-g,n.read!=n.write)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);s=8;case 8:return t=1,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);case 9:return t=st,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);default:return t=rt,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t)}}},n.ht=e=>{n.reset(e,null),n.lt=null,d=null},n.yt=(e,t,r)=>{n.lt.set(e.subarray(t,t+r),0),n.read=n.write=r},n.bt=()=>1==s?1:0}const mt=13,bt=[0,0,255,255];function gt(){const e=this;function t(e){return e&&e.gt?(e.qe=e.Ge=0,e.Le=null,e.gt.mode=7,e.gt.kt.reset(e,null),0):rt}e.mode=0,e.method=0,e.vt=[0],e.St=0,e.marker=0,e.zt=0,e.Ct=t=>(e.kt&&e.kt.ht(t),e.kt=null,0),e.xt=(n,r)=>(n.Le=null,e.kt=null,8>r||r>15?(e.Ct(n),rt):(e.zt=r,n.gt.kt=new yt(n,1<<r),t(n),0)),e.At=(e,t)=>{let n,r;if(!e||!e.gt||!e.et)return rt;const s=e.gt;for(t=4==t?it:0,n=it;;)switch(s.mode){case 0:if(0===e.We)return n;if(n=t,e.We--,e.qe++,8!=(15&(s.method=e.ft(e.nt++)))){s.mode=mt,e.Le="unknown compression method",s.marker=5;break}if(8+(s.method>>4)>s.zt){s.mode=mt,e.Le="invalid win size",s.marker=5;break}s.mode=1;case 1:if(0===e.We)return n;if(n=t,e.We--,e.qe++,r=255&e.ft(e.nt++),((s.method<<8)+r)%31!=0){s.mode=mt,e.Le="incorrect header check",s.marker=5;break}if(!(32&r)){s.mode=7;break}s.mode=2;case 2:if(0===e.We)return n;n=t,e.We--,e.qe++,s.St=(255&e.ft(e.nt++))<<24&4278190080,s.mode=3;case 3:if(0===e.We)return n;n=t,e.We--,e.qe++,s.St+=(255&e.ft(e.nt++))<<16&16711680,s.mode=4;case 4:if(0===e.We)return n;n=t,e.We--,e.qe++,s.St+=(255&e.ft(e.nt++))<<8&65280,s.mode=5;case 5:return 0===e.We?n:(n=t,e.We--,e.qe++,s.St+=255&e.ft(e.nt++),s.mode=6,2);case 6:return s.mode=mt,e.Le="need dictionary",s.marker=0,rt;case 7:if(n=s.kt.ut(e,n),n==st){s.mode=mt,s.marker=0;break}if(0==n&&(n=t),1!=n)return n;n=t,s.kt.reset(e,s.vt),s.mode=12;case 12:return e.We=0,1;case mt:return st;default:return rt}},e._t=(e,t,n)=>{let r=0,s=n;if(!e||!e.gt||6!=e.gt.mode)return rt;const i=e.gt;return s<1<<i.zt||(s=(1<<i.zt)-1,r=n-s),i.kt.yt(t,r,s),i.mode=7,0},e.It=e=>{let n,r,s,i,o;if(!e||!e.gt)return rt;const c=e.gt;if(c.mode!=mt&&(c.mode=mt,c.marker=0),0===(n=e.We))return it;for(r=e.nt,s=c.marker;0!==n&&4>s;)e.ft(r)==bt[s]?s++:s=0!==e.ft(r)?0:4-s,r++,n--;return e.qe+=r-e.nt,e.nt=r,e.We=n,c.marker=s,4!=s?st:(i=e.qe,o=e.Ge,t(e),e.qe=i,e.Ge=o,c.mode=7,0)},e.Pt=e=>e&&e.gt&&e.gt.kt?e.gt.kt.bt():rt}function kt(){}function vt(e){const t=new kt,n=e&&e.chunkSize?r.floor(2*e.chunkSize):131072,o=new i(n);let c=!1;t.xt(),t.$e=o,this.append=(e,r)=>{const f=[];let a,l,u=0,w=0,h=0;if(0!==e.length){t.nt=0,t.et=e,t.We=e.length;do{if(t.rt=0,t.tt=n,0!==t.We||c||(t.nt=0,c=!0),a=t.At(0),c&&a===it){if(0!==t.We)throw new s("inflating: bad input")}else if(0!==a&&1!==a)throw new s("inflating: "+t.Le);if((c||1===a)&&t.We===e.length)throw new s("inflating: bad input");t.rt&&(t.rt===n?f.push(new i(o)):f.push(o.subarray(0,t.rt))),h+=t.rt,r&&t.nt>0&&t.nt!=u&&(r(t.nt),u=t.nt)}while(t.We>0||0===t.tt);return f.length>1?(l=new i(h),f.forEach((e=>{l.set(e,w),w+=e.length}))):l=f[0]?new i(f[0]):new i,l}},this.flush=()=>{t.Ct()}}kt.prototype={xt(e){const t=this;return t.gt=new gt,e||(e=15),t.gt.xt(t,e)},At(e){const t=this;return t.gt?t.gt.At(t,e):rt},Ct(){const e=this;if(!e.gt)return rt;const t=e.gt.Ct(e);return e.gt=null,t},It(){const e=this;return e.gt?e.gt.It(e):rt},_t(e,t){const n=this;return n.gt?n.gt._t(n,e,t):rt},ft(e){return this.et[e]},je(e,t){return this.et.subarray(e,e+t)}},self.initCodec=()=>{self.Deflate=nt,self.Inflate=vt};
`,o=()=>e.useDataURI?"data:text/javascript,"+encodeURIComponent(i):URL.createObjectURL(new Blob([i],{type:"text/javascript"}));t({workerScripts:{inflate:[o],deflate:[o]}})}var uKi="Writer iterator completed too soon",Q8r="text/plain";var K8r="Content-Type";var Z8r=64*1024,pKi="writable",a6e=class{constructor(){this.size=0}init(){this.initialized=!0}},Efe=class extends a6e{get readable(){let e=this,{chunkSize:i=Z8r}=e,o=new ReadableStream({start(){this.chunkOffset=0},async pull(r){let{offset:n=0,size:a,diskNumberStart:s}=o,{chunkOffset:l}=this;r.enqueue(await ZC(e,n+l,Math.min(i,a-l),s)),l+i>a?r.close():this.chunkOffset+=i}});return o}};var xY=class extends Efe{constructor(e){super(),Object.assign(this,{blob:e,size:e.size})}async readUint8Array(e,i){let o=this,r=e+i,a=await(e||r<o.size?o.blob.slice(e,r):o.blob).arrayBuffer();return a.byteLength>i&&(a=a.slice(e,r)),new Uint8Array(a)}},hae=class extends a6e{constructor(e){super();let i=this,o=new TransformStream,r=[];e&&r.push([K8r,e]),Object.defineProperty(i,pKi,{get(){return o.writable}}),i.blob=new Response(o.readable,{headers:r}).blob()}getData(){return this.blob}},fae=class extends xY{constructor(e){super(new Blob([e],{type:Q8r}))}},Afe=class extends hae{constructor(e){super(e),Object.assign(this,{encoding:e,utf8:!e||e.toLowerCase()=="utf-8"})}async getData(){let{encoding:e,utf8:i}=this,o=await super.getData();if(o.text&&i)return o.text();{let r=new FileReader;return new Promise((n,a)=>{Object.assign(r,{onload:({target:s})=>n(s.result),onerror:()=>a(r.error)}),r.readAsText(o,e)})}}};var mZe=class extends Efe{constructor(e){super(),this.readers=e}async init(){let e=this,{readers:i}=e;e.lastDiskNumber=0,e.lastDiskOffset=0,await Promise.all(i.map(async(o,r)=>{await o.init(),r!=i.length-1&&(e.lastDiskOffset+=o.size),e.size+=o.size})),super.init()}async readUint8Array(e,i,o=0){let r=this,{readers:n}=this,a,s=o;s==-1&&(s=n.length-1);let l=e;for(;l>=n[s].size;)l-=n[s].size,s++;let c=n[s],d=c.size;if(l+i<=d)a=await ZC(c,l,i);else{let u=d-l;a=new Uint8Array(i),a.set(await ZC(c,l,u)),a.set(await r.readUint8Array(e+u,i-u,o),u)}return r.lastDiskNumber=Math.max(s,r.lastDiskNumber),a}},s6e=class extends a6e{constructor(e,i=4294967295){super();let o=this;Object.assign(o,{diskNumber:0,diskOffset:0,size:0,maxSize:i,availableSize:i});let r,n,a,s=new WritableStream({async write(d){let{availableSize:u}=o;if(a)d.length>=u?(await l(d.slice(0,u)),await c(),o.diskOffset+=r.size,o.diskNumber++,a=null,await this.write(d.slice(u))):await l(d);else{let{value:p,done:m}=await e.next();if(m&&!p)throw new Error(uKi);r=p,r.size=0,r.maxSize&&(o.maxSize=r.maxSize),o.availableSize=o.maxSize,await gO(r),n=p.writable,a=n.getWriter(),await this.write(d)}},async close(){await a.ready,await c()}});Object.defineProperty(o,pKi,{get(){return s}});async function l(d){let u=d.length;u&&(await a.ready,await a.write(d),r.size+=u,o.size+=u,o.availableSize-=u)}async function c(){n.size=r.size,await a.close()}}};async function gO(t,e){if(t.init&&!t.initialized)await t.init(e);else return Promise.resolve()}function hZe(t){return Array.isArray(t)&&(t=new mZe(t)),t instanceof ReadableStream&&(t={readable:t}),t}function fZe(t){t.writable===_c&&typeof t.next==HB&&(t=new s6e(t)),t instanceof WritableStream&&(t={writable:t});let{writable:e}=t;return e.size===_c&&(e.size=0),t instanceof s6e||Object.assign(t,{diskNumber:0,diskOffset:0,availableSize:1/0,maxSize:1/0}),t}function ZC(t,e,i,o){return t.readUint8Array(e,i,o)}var mKi="\0\u263A\u263B\u2665\u2666\u2663\u2660\u2022\u25D8\u25CB\u25D9\u2642\u2640\u266A\u266B\u263C\u25BA\u25C4\u2195\u203C\xB6\xA7\u25AC\u21A8\u2191\u2193\u2192\u2190\u221F\u2194\u25B2\u25BC !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u2302\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xA2\xA3\xA5\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0 ".split(""),J8r=mKi.length==256;function hKi(t){if(J8r){let e="";for(let i=0;i<t.length;i++)e+=mKi[t[i]];return e}else return new TextDecoder().decode(t)}function l6e(t,e){return e&&e.trim().toLowerCase()=="cp437"?hKi(t):new TextDecoder(e).decode(t)}var BAt="filename",zAt="rawFilename",FAt="comment",UAt="rawComment",VAt="uncompressedSize",HAt="compressedSize",GAt="offset",gZe="diskNumberStart",Nfe="lastModDate",bZe="rawLastModDate",c6e="lastAccessDate",fKi="rawLastAccessDate",d6e="creationDate",gKi="rawCreationDate",YAt="internalFileAttribute",WAt="internalFileAttributes",QAt="externalFileAttribute",KAt="externalFileAttributes",ZAt="msDosCompatible",yZe="zip64",JAt="encrypted",qAt="version",XAt="versionMadeBy",$At="zipCrypto",eNt="directory",tNt="executable",q8r=[BAt,zAt,HAt,VAt,Nfe,bZe,FAt,UAt,c6e,d6e,GAt,gZe,gZe,YAt,WAt,QAt,KAt,ZAt,yZe,JAt,qAt,XAt,$At,eNt,tNt,"bitFlag","signature","filenameUTF8","commentUTF8","compressionMethod","extraField","rawExtraField","extraFieldZip64","extraFieldUnicodePath","extraFieldUnicodeComment","extraFieldAES","extraFieldNTFS","extraFieldExtendedTimestamp"],TY=class{constructor(e){q8r.forEach(i=>this[i]=e[i])}};var wZe="File format is not recognized",CKi="End of central directory not found",xKi="End of Zip64 central directory locator not found",TKi="Central directory header not found",SKi="Local file header not found",MKi="Zip64 extra field not found",IKi="File contains encrypted entry",LKi="Encryption method not supported",oNt="Compression method not supported",rNt="Split zip file",bKi="utf-8",yKi="cp437",tAr=[[VAt,4294967295],[HAt,4294967295],[GAt,4294967295],[gZe,65535]],iAr={65535:{getValue:J2,bytes:4},4294967295:{getValue:CZe,bytes:8}},Ofe=class{constructor(e,i={}){Object.assign(this,{reader:hZe(e),options:i,config:XMe()})}async*getEntriesGenerator(e={}){let i=this,{reader:o}=i,{config:r}=i;if(await gO(o),(o.size===_c||!o.readUint8Array)&&(o=new xY(await new Response(o.readable).blob()),await gO(o)),o.size<22)throw new Error(wZe);o.chunkSize=XKe(r);let n=await sAr(o,101010256,o.size,22,65535*16);if(!n){let D=await ZC(o,0,4),E=aw(D);throw J2(E)==134695760?new Error(rNt):new Error(CKi)}let a=aw(n),s=J2(a,12),l=J2(a,16),c=n.offset,d=nw(a,20),u=c+22+d,p=nw(a,4),m=o.lastDiskNumber||0,h=nw(a,6),f=nw(a,8),g=0,b=0;if(l==4294967295||s==4294967295||f==65535||h==65535){let D=await ZC(o,n.offset-20,20),E=aw(D);if(J2(E,0)==117853008){l=CZe(E,8);let N=await ZC(o,l,56,-1),R=aw(N),v=n.offset-20-56;if(J2(R,0)!=101075792&&l!=v){let k=l;l=v,g=l-k,N=await ZC(o,l,56,-1),R=aw(N)}if(J2(R,0)!=101075792)throw new Error(xKi);p==65535&&(p=J2(R,16)),h==65535&&(h=J2(R,20)),f==65535&&(f=CZe(R,32)),s==4294967295&&(s=CZe(R,40)),l-=s}}if(l>=o.size&&(g=o.size-l-s-22,l=o.size-s-22),m!=p)throw new Error(rNt);if(l<0)throw new Error(wZe);let y=0,w=await ZC(o,l,s,h),x=aw(w);if(s){let D=n.offset-s;if(J2(x,y)!=33639248&&l!=D){let E=l;l=D,g+=l-E,w=await ZC(o,l,s,h),x=aw(w)}}let S=n.offset-l-(o.lastDiskOffset||0);if(s!=S&&S>=0&&(s=S,w=await ZC(o,l,s,h),x=aw(w)),l<0||l>=o.size)throw new Error(wZe);let T=LM(i,e,"filenameEncoding"),M=LM(i,e,"commentEncoding");for(let D=0;D<f;D++){let E=new nNt(o,r,i.options);if(J2(x,y)!=33639248)throw new Error(TKi);vKi(E,x,y+6);let N=!!E.bitFlag.languageEncodingFlag,R=y+46,v=R+E.filenameLength,k=v+E.extraFieldLength,P=nw(x,y+4),O=P>>8==0,_=P>>8==3,j=w.subarray(R,v),B=nw(x,y+32),V=k+B,G=w.subarray(k,V),Q=N,H=N,q=J2(x,y+38),U=O&&(kfe(x,y+38)&16)==16||_&&(q>>16&16384)==16384||j.length&&j[j.length-1]=="/".charCodeAt(0),F=_&&(q>>16&73)==73,K=J2(x,y+42)+g;Object.assign(E,{versionMadeBy:P,msDosCompatible:O,compressedSize:0,uncompressedSize:0,commentLength:B,directory:U,offset:K,diskNumberStart:nw(x,y+34),internalFileAttributes:nw(x,y+36),externalFileAttributes:q,rawFilename:j,filenameUTF8:Q,commentUTF8:H,rawExtraField:w.subarray(v,k),executable:F}),E.internalFileAttribute=E.internalFileAttributes,E.externalFileAttribute=E.externalFileAttributes;let te=LM(i,e,"decodeText")||l6e,ae=Q?bKi:T||yKi,pe=H?bKi:M||yKi,Z=te(j,ae);Z===_c&&(Z=l6e(j,ae));let ee=te(G,pe);ee===_c&&(ee=l6e(G,pe)),Object.assign(E,{rawComment:G,filename:Z,comment:ee,directory:U||Z.endsWith("/")}),b=Math.max(K,b),DKi(E,E,x,y+6),E.zipCrypto=E.encrypted&&!E.extraFieldAES;let ce=new TY(E);ce.getData=(oe,re)=>E.getData(oe,ce,re),y=V;let{onprogress:ne}=e;if(ne)try{await ne(D+1,f,new TY(E))}catch{}yield ce}let I=LM(i,e,"extractPrependedData"),A=LM(i,e,"extractAppendedData");return I&&(i.prependedData=b>0?await ZC(o,0,b):new Uint8Array),i.comment=d?await ZC(o,c+22,d):new Uint8Array,A&&(i.appendedData=u<o.size?await ZC(o,u,o.size-u):new Uint8Array),!0}async getEntries(e={}){let i=[];for await(let o of this.getEntriesGenerator(e))i.push(o);return i}async close(){}};var nNt=class{constructor(e,i,o){Object.assign(this,{reader:e,config:i,options:o})}async getData(e,i,o={}){let r=this,{reader:n,offset:a,diskNumberStart:s,extraFieldAES:l,compressionMethod:c,config:d,bitFlag:u,signature:p,rawLastModDate:m,uncompressedSize:h,compressedSize:f}=r,g=i.localDirectory={},b=await ZC(n,a,30,s),y=aw(b),w=LM(r,o,"password"),x=LM(r,o,"rawPassword"),S=LM(r,o,"passThrough");if(w=w&&w.length&&w,x=x&&x.length&&x,l&&l.originalCompressionMethod!=99)throw new Error(oNt);if(c!=0&&c!=8&&!S)throw new Error(oNt);if(J2(y,0)!=67324752)throw new Error(SKi);vKi(g,y,4),g.rawExtraField=g.extraFieldLength?await ZC(n,a+30+g.filenameLength,g.extraFieldLength,s):new Uint8Array,DKi(r,g,y,4,!0),Object.assign(i,{lastAccessDate:g.lastAccessDate,creationDate:g.creationDate});let T=r.encrypted&&g.encrypted&&!S,M=T&&!l;if(S||(i.zipCrypto=M),T){if(!M&&l.strength===_c)throw new Error(LKi);if(!w&&!x)throw new Error(IKi)}let I=a+30+g.filenameLength+g.extraFieldLength,A=f,D=n.readable;Object.assign(D,{diskNumberStart:s,offset:I,size:A});let E=LM(r,o,"signal"),N=LM(r,o,"checkPasswordOnly");N&&(e=new WritableStream),e=fZe(e),await gO(e,S?f:h);let{writable:R}=e,{onstart:v,onprogress:k,onend:P}=o,O={options:{codecType:dZe,password:w,rawPassword:x,zipCrypto:M,encryptionStrength:l&&l.strength,signed:LM(r,o,"checkSignature")&&!S,passwordVerification:M&&(u.dataDescriptor?m>>>8&255:p>>>24&255),signature:p,compressed:c!=0&&!S,encrypted:r.encrypted&&!S,useWebWorkers:LM(r,o,"useWebWorkers"),useCompressionStream:LM(r,o,"useCompressionStream"),transferStreams:LM(r,o,"transferStreams"),checkPasswordOnly:N},config:d,streamOptions:{signal:E,size:A,onstart:v,onprogress:k,onend:P}},_=0;try{({outputSize:_}=await pZe({readable:D,writable:R},O))}catch(j){if(!N||j.message!=CY)throw j}finally{let j=LM(r,o,"preventClose");R.size+=_,!j&&!R.locked&&await R.getWriter().close()}return N?_c:e.getData?e.getData():R}};function vKi(t,e,i){let o=t.rawBitFlag=nw(e,i+2),r=(o&1)==1,n=J2(e,i+6);Object.assign(t,{encrypted:r,version:nw(e,i),bitFlag:{level:(o&6)>>1,dataDescriptor:(o&8)==8,languageEncodingFlag:(o&2048)==2048},rawLastModDate:n,lastModDate:lAr(n),filenameLength:nw(e,i+22),extraFieldLength:nw(e,i+24)})}function DKi(t,e,i,o,r){let{rawExtraField:n}=e,a=e.extraField=new Map,s=aw(new Uint8Array(n)),l=0;try{for(;l<n.length;){let b=nw(s,l),y=nw(s,l+2);a.set(b,{type:b,data:n.slice(l+4,l+4+y)}),l+=4+y}}catch{}let c=nw(i,o+4);Object.assign(e,{signature:J2(i,o+10),uncompressedSize:J2(i,o+18),compressedSize:J2(i,o+14)});let d=a.get(1);d&&(oAr(d,e),e.extraFieldZip64=d);let u=a.get(28789);u&&(wKi(u,BAt,zAt,e,t),e.extraFieldUnicodePath=u);let p=a.get(25461);p&&(wKi(p,FAt,UAt,e,t),e.extraFieldUnicodeComment=p);let m=a.get(39169);m?(rAr(m,e,c),e.extraFieldAES=m):e.compressionMethod=c;let h=a.get(10);h&&(nAr(h,e),e.extraFieldNTFS=h);let f=a.get(21589);f&&(aAr(f,e,r),e.extraFieldExtendedTimestamp=f);let g=a.get(6534);g&&(e.extraFieldUSDZ=g)}function oAr(t,e){e.zip64=!0;let i=aw(t.data),o=tAr.filter(([r,n])=>e[r]==n);for(let r=0,n=0;r<o.length;r++){let[a,s]=o[r];if(e[a]==s){let l=iAr[s];e[a]=t[a]=l.getValue(i,n),n+=l.bytes}else if(t[a])throw new Error(MKi)}}function wKi(t,e,i,o,r){let n=aw(t.data),a=new wY;a.append(r[i]);let s=aw(new Uint8Array(4));s.setUint32(0,a.get(),!0);let l=J2(n,1);Object.assign(t,{version:kfe(n,0),[e]:l6e(t.data.subarray(5)),valid:!r.bitFlag.languageEncodingFlag&&l==J2(s,0)}),t.valid&&(o[e]=t[e],o[e+"UTF8"]=!0)}function rAr(t,e,i){let o=aw(t.data),r=kfe(o,4);Object.assign(t,{vendorVersion:kfe(o,0),vendorId:kfe(o,2),strength:r,originalCompressionMethod:i,compressionMethod:nw(o,5)}),e.compressionMethod=t.compressionMethod}function nAr(t,e){let i=aw(t.data),o=4,r;try{for(;o<t.data.length&&!r;){let n=nw(i,o),a=nw(i,o+2);n==1&&(r=t.data.slice(o+4,o+4+a)),o+=4+a}}catch{}try{if(r&&r.length==24){let n=aw(r),a=n.getBigUint64(0,!0),s=n.getBigUint64(8,!0),l=n.getBigUint64(16,!0);Object.assign(t,{rawLastModDate:a,rawLastAccessDate:s,rawCreationDate:l});let c=iNt(a),d=iNt(s),u=iNt(l),p={lastModDate:c,lastAccessDate:d,creationDate:u};Object.assign(t,p),Object.assign(e,p)}}catch{}}function aAr(t,e,i){let o=aw(t.data),r=kfe(o,0),n=[],a=[];i?((r&1)==1&&(n.push(Nfe),a.push(bZe)),(r&2)==2&&(n.push(c6e),a.push(fKi)),(r&4)==4&&(n.push(d6e),a.push(gKi))):t.data.length>=5&&(n.push(Nfe),a.push(bZe));let s=1;n.forEach((l,c)=>{if(t.data.length>=s+4){let d=J2(o,s);e[l]=t[l]=new Date(d*1e3);let u=a[c];t[u]=d}s+=4})}async function sAr(t,e,i,o,r){let n=new Uint8Array(4),a=aw(n);cAr(a,0,e);let s=o+r;return await l(o)||await l(Math.min(s,i));async function l(c){let d=i-c,u=await ZC(t,d,c);for(let p=u.length-o;p>=0;p--)if(u[p]==n[0]&&u[p+1]==n[1]&&u[p+2]==n[2]&&u[p+3]==n[3])return{offset:d+p,buffer:u.slice(p,p+o).buffer}}}function LM(t,e,i){return e[i]===_c?t.options[i]:e[i]}function lAr(t){let e=(t&4294901760)>>16,i=t&65535;try{return new Date(1980+((e&65024)>>9),((e&480)>>5)-1,e&31,(i&63488)>>11,(i&2016)>>5,(i&31)*2,0)}catch{}}function iNt(t){return new Date(Number(t/BigInt(1e4)-BigInt(116444736e5)))}function kfe(t,e){return t.getUint8(e)}function nw(t,e){return t.getUint16(e,!0)}function J2(t,e){return t.getUint32(e,!0)}function CZe(t,e){return Number(t.getBigUint64(e,!0))}function cAr(t,e,i){t.setUint32(e,i,!0)}function aw(t){return new DataView(t.buffer)}var RKi="File already exists",_Ki="Zip file comment exceeds 64KB",jKi="File entry comment exceeds 64KB",BKi="File entry name exceeds 64KB",wNt="Version exceeds 65535",zKi="The strength must equal 1, 2, or 3",FKi="Extra field type exceeds 65535",UKi="Extra field data exceeds 64KB",NZe="Zip64 is not supported (make sure 'keepOrder' is set to 'true')",VKi="Undefined uncompressed size",kKi=new Uint8Array([7,0,2,0,65,69,3,0,0]),bNt=0,PKi=[],Rfe=class{constructor(e,i={}){e=fZe(e);let o=e.availableSize!==_c&&e.availableSize>0&&e.availableSize!==1/0&&e.maxSize!==_c&&e.maxSize>0&&e.maxSize!==1/0;Object.assign(this,{writer:e,addSplitZipSignature:o,options:i,config:XMe(),files:new Map,filenames:new Set,offset:i.offset===_c?e.writable.size:i.offset,pendingEntriesSize:0,pendingAddFileCalls:new Set,bufferedWrites:0})}async add(e="",i,o={}){let r=this,{pendingAddFileCalls:n,config:a}=r;bNt<a.maxWorkers?bNt++:await new Promise(l=>PKi.push(l));let s;try{if(e=e.trim(),r.filenames.has(e))throw new Error(RKi);return r.filenames.add(e),s=mAr(r,e,i,o),n.add(s),await s}catch(l){throw r.filenames.delete(e),l}finally{n.delete(s);let l=PKi.shift();l?l():bNt--}}async close(e=new Uint8Array,i={}){let o=this,{pendingAddFileCalls:r,writer:n}=this,{writable:a}=n;for(;r.size;)await Promise.allSettled(Array.from(r));return await TAr(this,e,i),gu(o,i,"preventClose")||await a.getWriter().close(),n.getData?n.getData():a}};async function mAr(t,e,i,o){e=e.trim();let r=gu(t,o,ZAt),n=gu(t,o,XAt,r?20:768),a=gu(t,o,tNt);if(n>65535)throw new Error(wNt);let s=gu(t,o,KAt,0);s===0&&(s=gu(t,o,QAt,0)),!o.directory&&e.endsWith("/")&&(o.directory=!0),gu(t,o,eNt)?(e.endsWith("/")||(e+="/"),s===0&&(r?s=16:s=16384<<16)):!r&&s===0&&(a?s=493<<16:s=420<<16);let c=gu(t,o,"encodeText",Ife),d=c(e);if(d===_c&&(d=Ife(e)),yu(d)>65535)throw new Error(BKi);let u=o.comment||"",p=c(u);if(p===_c&&(p=Ife(u)),yu(p)>65535)throw new Error(jKi);let m=gu(t,o,qAt,20);if(m>65535)throw new Error(wNt);let h=gu(t,o,Nfe,new Date),f=gu(t,o,c6e),g=gu(t,o,d6e),b=gu(t,o,WAt,0);b===0&&(b=gu(t,o,YAt,0));let y=gu(t,o,"passThrough"),w,x;y||(w=gu(t,o,"password"),x=gu(t,o,"rawPassword"));let S=gu(t,o,"encryptionStrength",3),T=gu(t,o,$At),M=gu(t,o,"extendedTimestamp",!0),I=gu(t,o,"keepOrder",!0),A=gu(t,o,"level"),D=gu(t,o,"useWebWorkers"),E=gu(t,o,"bufferedWrite"),N=gu(t,o,"dataDescriptorSignature",!1),R=gu(t,o,"signal"),v=gu(t,o,"useUnicodeFileNames",!0),k=gu(t,o,"useCompressionStream"),P=gu(t,o,"compressionMethod"),O=gu(t,o,"dataDescriptor",!0),_=gu(t,o,yZe);if(!T&&(w!==_c||x!==_c)&&!(S>=1&&S<=3))throw new Error(zKi);let j=new Uint8Array,{extraField:B}=o;if(B){let X=0,ie=0;B.forEach(de=>X+=4+yu(de)),j=new Uint8Array(X),B.forEach((de,fe)=>{if(fe>65535)throw new Error(FKi);if(yu(de)>65535)throw new Error(UKi);yy(j,new Uint16Array([fe]),ie),yy(j,new Uint16Array([yu(de)]),ie+2),yy(j,de,ie+4),ie+=4+yu(de)})}let V=0,G=0,Q=0;if(y&&({uncompressedSize:Q}=o,Q===_c))throw new Error(VKi);let H=_===!0;i&&(i=hZe(i),await gO(i),y?V=OKi(Q):i.size===_c?(O=!0,(_||_===_c)&&(_=!0,Q=V=4294967296)):(Q=i.size,V=OKi(Q)));let{diskOffset:q,diskNumber:U,maxSize:F}=t.writer,K=H||Q>4294967295,te=H||V>4294967295,ae=H||t.offset+t.pendingEntriesSize-q>4294967295,Z=gu(t,o,"supportZip64SplitFile",!0)&&H||U+Math.ceil(t.pendingEntriesSize/F)>65535;if(ae||K||te||Z){if(_===!1||!I)throw new Error(NZe);_=!0}_=_||!1;let ee=gu(t,o,JAt),{signature:ce}=o;o=Object.assign({},o,{rawFilename:d,rawComment:p,version:m,versionMadeBy:n,lastModDate:h,lastAccessDate:f,creationDate:g,rawExtraField:j,zip64:_,zip64UncompressedSize:K,zip64CompressedSize:te,zip64Offset:ae,zip64DiskNumberStart:Z,password:w,rawPassword:x,level:!k&&t.config.CompressionStream===_c&&t.config.CompressionStreamNative===_c?0:A,useWebWorkers:D,encryptionStrength:S,extendedTimestamp:M,zipCrypto:T,bufferedWrite:E,keepOrder:I,useUnicodeFileNames:v,dataDescriptor:O,dataDescriptorSignature:N,signal:R,msDosCompatible:r,internalFileAttribute:b,internalFileAttributes:b,externalFileAttribute:s,externalFileAttributes:s,useCompressionStream:k,passThrough:y,encrypted:!!(w&&yu(w)||x&&yu(x))||y&&ee,signature:ce,compressionMethod:P});let ne=gAr(o),oe=yAr(o),re=yu(ne.localHeaderArray,oe.dataDescriptorArray);G=re+V,t.options.usdz&&(G+=G+64),t.pendingEntriesSize+=G;let Y;try{Y=await hAr(t,e,i,{headerInfo:ne,dataDescriptorInfo:oe,metadataSize:re},o)}finally{t.pendingEntriesSize-=G}return Object.assign(Y,{name:e,comment:u,extraField:B}),new TY(Y)}async function hAr(t,e,i,o,r){let{files:n,writer:a}=t,{keepOrder:s,dataDescriptor:l,signal:c}=r,{headerInfo:d}=o,{usdz:u}=t.options,p=Array.from(n.values()).pop(),m={},h,f,g,b,y,w,x;n.set(e,m);try{let I;s&&(I=p&&p.lock,S()),(r.bufferedWrite||t.writerLocked||t.bufferedWrites&&s||!l)&&!u?(w=new TransformStream,x=new Response(w.readable).blob(),w.writable.size=0,h=!0,t.bufferedWrites++,await gO(a)):(w=a,await T()),await gO(w);let{writable:A}=a,{diskOffset:D}=a;if(t.addSplitZipSignature){delete t.addSplitZipSignature;let N=new Uint8Array(4),R=JC(N);bu(R,0,134695760),await KB(A,N),t.offset+=4}u&&bAr(o,t.offset-D),h||(await I,await M(A));let{diskNumber:E}=a;if(y=!0,m.diskNumberStart=E,m=await fAr(i,w,m,o,t.config,r),y=!1,n.set(e,m),m.filename=e,h){await w.writable.getWriter().close();let N=await x;await I,await T(),b=!0,l||(N=await CAr(m,N,A,r)),await M(A),m.diskNumberStart=a.diskNumber,D=a.diskOffset,await N.stream().pipeTo(A,{preventClose:!0,preventAbort:!0,signal:c}),A.size+=N.size,b=!1}if(m.offset=t.offset-D,m.zip64)xAr(m,r);else if(m.offset>4294967295)throw new Error(NZe);return t.offset+=m.size,m}catch(I){if(h&&b||!h&&y){if(t.hasCorruptedEntries=!0,I)try{I.corruptedEntry=!0}catch{}h?t.offset+=w.writable.size:t.offset=w.writable.size}throw n.delete(e),I}finally{h&&t.bufferedWrites--,g&&g(),f&&f()}function S(){m.lock=new Promise(I=>g=I)}async function T(){t.writerLocked=!0;let{lockWriter:I}=t;t.lockWriter=new Promise(A=>f=()=>{t.writerLocked=!1,A()}),await I}async function M(I){yu(d.localHeaderArray)>a.availableSize&&(a.availableSize=0,await KB(I,new Uint8Array))}}async function fAr(t,e,{diskNumberStart:i,lock:o},r,n,a){let{headerInfo:s,dataDescriptorInfo:l,metadataSize:c}=r,{localHeaderArray:d,headerArray:u,lastModDate:p,rawLastModDate:m,encrypted:h,compressed:f,version:g,compressionMethod:b,rawExtraFieldExtendedTimestamp:y,extraFieldExtendedTimestampFlag:w,rawExtraFieldNTFS:x,rawExtraFieldAES:S}=s,{dataDescriptorArray:T}=l,{rawFilename:M,lastAccessDate:I,creationDate:A,password:D,rawPassword:E,level:N,zip64:R,zip64UncompressedSize:v,zip64CompressedSize:k,zip64Offset:P,zip64DiskNumberStart:O,zipCrypto:_,dataDescriptor:j,directory:B,executable:V,versionMadeBy:G,rawComment:Q,rawExtraField:H,useWebWorkers:q,onstart:U,onprogress:F,onend:K,signal:te,encryptionStrength:ae,extendedTimestamp:pe,msDosCompatible:Z,internalFileAttributes:ee,externalFileAttributes:ce,useCompressionStream:ne,passThrough:oe}=a,re={lock:o,versionMadeBy:G,zip64:R,directory:!!B,executable:!!V,filenameUTF8:!0,rawFilename:M,commentUTF8:!0,rawComment:Q,rawExtraFieldExtendedTimestamp:y,rawExtraFieldNTFS:x,rawExtraFieldAES:S,rawExtraField:H,extendedTimestamp:pe,msDosCompatible:Z,internalFileAttributes:ee,externalFileAttributes:ce,diskNumberStart:i},{signature:Y,uncompressedSize:X}=a,ie=0;oe||(X=0);let{writable:de}=e;if(t){t.chunkSize=XKe(n),await KB(de,d);let ye=t.readable,Le=ye.size=t.size,Re={options:{codecType:cZe,level:N,rawPassword:E,password:D,encryptionStrength:ae,zipCrypto:h&&_,passwordVerification:h&&_&&m>>8&255,signed:!oe,compressed:f&&!oe,encrypted:h&&!oe,useWebWorkers:q,useCompressionStream:ne,transferStreams:!1},config:n,streamOptions:{signal:te,size:Le,onstart:U,onprogress:F,onend:K}},Ne=await pZe({readable:ye,writable:de},Re);ie=Ne.outputSize,oe||(X=Ne.inputSize,Y=Ne.signature),de.size+=X}else await KB(de,d);let fe;if(R){let ye=4;v&&(ye+=8),k&&(ye+=8),P&&(ye+=8),O&&(ye+=4),fe=new Uint8Array(ye)}else fe=new Uint8Array;return wAr({signature:Y,rawExtraFieldZip64:fe,compressedSize:ie,uncompressedSize:X,headerInfo:s,dataDescriptorInfo:l},a),j&&await KB(de,T),Object.assign(re,{uncompressedSize:X,compressedSize:ie,lastModDate:p,rawLastModDate:m,creationDate:A,lastAccessDate:I,encrypted:h,zipCrypto:_,size:c+ie,compressionMethod:b,version:g,headerArray:u,signature:Y,rawExtraFieldZip64:fe,extraFieldExtendedTimestampFlag:w,zip64UncompressedSize:v,zip64CompressedSize:k,zip64Offset:P,zip64DiskNumberStart:O}),re}function gAr(t){let{rawFilename:e,lastModDate:i,lastAccessDate:o,creationDate:r,level:n,zip64:a,zipCrypto:s,useUnicodeFileNames:l,dataDescriptor:c,directory:d,rawExtraField:u,encryptionStrength:p,extendedTimestamp:m,encrypted:h}=t,{version:f,compressionMethod:g}=t,b=!d&&(n>0||n===_c&&g!==0),y;if(h&&!s){y=new Uint8Array(yu(kKi)+2);let P=JC(y);qu(P,0,39169),yy(y,kKi,2),CNt(P,8,p)}else y=new Uint8Array;let w,x,S;if(m){x=new Uint8Array(9+(o?4:0)+(r?4:0));let P=JC(x);qu(P,0,21589),qu(P,2,yu(x)-4),S=1+(o?2:0)+(r?4:0),CNt(P,4,S);let O=5;bu(P,O,Math.floor(i.getTime()/1e3)),O+=4,o&&(bu(P,O,Math.floor(o.getTime()/1e3)),O+=4),r&&bu(P,O,Math.floor(r.getTime()/1e3));try{w=new Uint8Array(36);let _=JC(w),j=yNt(i);qu(_,0,10),qu(_,2,32),qu(_,8,1),qu(_,10,24),RI(_,12,j),RI(_,20,yNt(o)||j),RI(_,28,yNt(r)||j)}catch{w=new Uint8Array}}else w=x=new Uint8Array;let T=0;l&&(T=T|2048),c&&(T=T|8),g===_c&&(g=b?8:0),g==8&&(n>=1&&n<3&&(T=T|6),n>=3&&n<5&&(T=T|1),n===9&&(T=T|2)),a&&(f=f>45?f:45),h&&(T=T|1,s||(f=f>51?f:51,y[9]=g,g=99));let M=new Uint8Array(26),I=JC(M);qu(I,0,f),qu(I,2,T),qu(I,4,g);let A=new Uint32Array(1),D=JC(A),E;i<LAt?E=LAt:i>IAt?E=IAt:E=i,qu(D,0,(E.getHours()<<6|E.getMinutes())<<5|E.getSeconds()/2),qu(D,2,(E.getFullYear()-1980<<4|E.getMonth()+1)<<5|E.getDate());let N=A[0];bu(I,6,N),qu(I,22,yu(e));let R=yu(y,x,w,u);qu(I,24,R);let v=new Uint8Array(30+yu(e)+R),k=JC(v);return bu(k,0,67324752),yy(v,M,4),yy(v,e,30),yy(v,y,30+yu(e)),yy(v,x,30+yu(e,y)),yy(v,w,30+yu(e,y,x)),yy(v,u,30+yu(e,y,x,w)),{localHeaderArray:v,headerArray:M,headerView:I,lastModDate:i,rawLastModDate:N,encrypted:h,compressed:b,version:f,compressionMethod:g,extraFieldExtendedTimestampFlag:S,rawExtraFieldExtendedTimestamp:x,rawExtraFieldNTFS:w,rawExtraFieldAES:y,extraFieldLength:R}}function bAr(t,e){let{headerInfo:i}=t,{localHeaderArray:o,extraFieldLength:r}=i,n=JC(o),a=64-(e+yu(o))%64;a<4&&(a+=64);let s=new Uint8Array(a),l=JC(s);qu(l,0,6534),qu(l,2,a-2);let c=o;i.localHeaderArray=o=new Uint8Array(yu(c)+a),yy(o,c),yy(o,s,yu(c)),n=JC(o),qu(n,28,r+a),t.metadataSize+=a}function yAr(t){let{zip64:e,dataDescriptor:i,dataDescriptorSignature:o}=t,r=new Uint8Array,n,a=0;return i&&(r=new Uint8Array(e?o?24:20:o?16:12),n=JC(r),o&&(a=4,bu(n,0,134695760))),{dataDescriptorArray:r,dataDescriptorView:n,dataDescriptorOffset:a}}function wAr(t,e){let{signature:i,rawExtraFieldZip64:o,compressedSize:r,uncompressedSize:n,headerInfo:a,dataDescriptorInfo:s}=t,{headerView:l,encrypted:c}=a,{dataDescriptorView:d,dataDescriptorOffset:u}=s,{zip64:p,zip64UncompressedSize:m,zip64CompressedSize:h,zipCrypto:f,dataDescriptor:g}=e;if((!c||f)&&i!==_c&&(bu(l,10,i),g&&bu(d,u,i)),p){let b=JC(o);qu(b,0,1),qu(b,2,yu(o)-4);let y=4;m&&(bu(l,18,4294967295),RI(b,y,BigInt(n)),y+=8),h&&(bu(l,14,4294967295),RI(b,y,BigInt(r))),g&&(RI(d,u+4,BigInt(r)),RI(d,u+12,BigInt(n)))}else bu(l,14,r),bu(l,18,n),g&&(bu(d,u+4,r),bu(d,u+8,n))}async function CAr(t,e,i,{zipCrypto:o}){let r;r=await e.slice(0,26).arrayBuffer(),r.byteLength!=26&&(r=r.slice(0,26));let n=new DataView(r);return(!t.encrypted||o)&&bu(n,14,t.signature),t.zip64?(bu(n,18,4294967295),bu(n,22,4294967295)):(bu(n,18,t.compressedSize),bu(n,22,t.uncompressedSize)),await KB(i,new Uint8Array(r)),e.slice(r.byteLength)}function xAr(t,e){let{rawExtraFieldZip64:i,offset:o,diskNumberStart:r}=t,{zip64UncompressedSize:n,zip64CompressedSize:a,zip64Offset:s,zip64DiskNumberStart:l}=e,c=JC(i),d=4;n&&(d+=8),a&&(d+=8),s&&(RI(c,d,BigInt(o)),d+=8),l&&bu(c,d,r)}async function TAr(t,e,i){let{files:o,writer:r}=t,{diskOffset:n,writable:a}=r,{diskNumber:s}=r,l=0,c=0,d=t.offset-n,u=o.size;for(let[,S]of o){let{rawFilename:T,rawExtraFieldZip64:M,rawExtraFieldAES:I,rawComment:A,rawExtraFieldNTFS:D,rawExtraField:E,extendedTimestamp:N,extraFieldExtendedTimestampFlag:R,lastModDate:v}=S,k;if(N){k=new Uint8Array(9);let P=JC(k);qu(P,0,21589),qu(P,2,5),CNt(P,4,R),bu(P,5,Math.floor(v.getTime()/1e3))}else k=new Uint8Array;S.rawExtraFieldCDExtendedTimestamp=k,c+=46+yu(T,A,M,I,D,k,E)}let p=new Uint8Array(c),m=JC(p);await gO(r);let h=0;for(let[S,T]of Array.from(o.values()).entries()){let{offset:M,rawFilename:I,rawExtraFieldZip64:A,rawExtraFieldAES:D,rawExtraFieldCDExtendedTimestamp:E,rawExtraFieldNTFS:N,rawExtraField:R,rawComment:v,versionMadeBy:k,headerArray:P,zip64:O,zip64UncompressedSize:_,zip64CompressedSize:j,zip64DiskNumberStart:B,zip64Offset:V,internalFileAttributes:G,externalFileAttributes:Q,diskNumberStart:H,uncompressedSize:q,compressedSize:U}=T,F=yu(A,D,E,N,R);bu(m,l,33639248),qu(m,l+4,k);let K=JC(P);_||bu(K,18,q),j||bu(K,14,U),yy(p,P,l+6),qu(m,l+30,F),qu(m,l+32,yu(v)),qu(m,l+34,O&&B?65535:H),qu(m,l+36,G),Q&&bu(m,l+38,Q),bu(m,l+42,O&&V?4294967295:M),yy(p,I,l+46),yy(p,A,l+46+yu(I)),yy(p,D,l+46+yu(I,A)),yy(p,E,l+46+yu(I,A,D)),yy(p,N,l+46+yu(I,A,D,E)),yy(p,R,l+46+yu(I,A,D,E,N)),yy(p,v,l+46+yu(I)+F);let te=46+yu(I,v)+F;if(l-h>r.availableSize&&(r.availableSize=0,await KB(a,p.slice(h,l)),h=l),l+=te,i.onprogress)try{await i.onprogress(S+1,o.size,new TY(T))}catch{}}await KB(a,h?p.slice(h):p);let f=r.diskNumber,{availableSize:g}=r;g<22&&f++;let b=gu(t,i,yZe);if(d>4294967295||c>4294967295||u>65535||f>65535){if(b===!1)throw new Error(NZe);b=!0}let y=new Uint8Array(b?98:22),w=JC(y);l=0,b&&(bu(w,0,101075792),RI(w,4,BigInt(44)),qu(w,12,45),qu(w,14,45),bu(w,16,f),bu(w,20,s),RI(w,24,BigInt(u)),RI(w,32,BigInt(u)),RI(w,40,BigInt(c)),RI(w,48,BigInt(d)),bu(w,56,117853008),RI(w,64,BigInt(d)+BigInt(c)),bu(w,72,f+1),gu(t,i,"supportZip64SplitFile",!0)&&(f=65535,s=65535),u=65535,d=4294967295,c=4294967295,l+=76),bu(w,l,101010256),qu(w,l+4,f),qu(w,l+6,s),qu(w,l+8,u),qu(w,l+10,u),bu(w,l+12,c),bu(w,l+16,d);let x=yu(e);if(x)if(x<=65535)qu(w,l+20,x);else throw new Error(_Ki);await KB(a,y),x&&await KB(a,e)}async function KB(t,e){let i=t.getWriter();try{await i.ready,t.size+=yu(e),await i.write(e)}finally{i.releaseLock()}}function yNt(t){if(t)return(BigInt(t.getTime())+BigInt(116444736e5))*BigInt(1e4)}function gu(t,e,i,o){let r=e[i]===_c?t.options[i]:e[i];return r===_c?o:r}function OKi(t){return t+5*(Math.floor(t/16383)+1)}function CNt(t,e,i){t.setUint8(e,i)}function qu(t,e,i){t.setUint16(e,i,!0)}function bu(t,e,i){t.setUint32(e,i,!0)}function RI(t,e,i){t.setBigUint64(e,i,!0)}function yy(t,e,i){t.set(e,i)}function JC(t){return new DataView(t.buffer)}function yu(...t){let e=0;return t.forEach(i=>i&&(e+=i.length)),e}var AAr={},HKi;try{HKi=AAr.url}catch{}Mfe({baseURL:HKi});dKi(Mfe);Mfe({Deflate:dQi,Inflate:kQi});async function m6e(t){let e=C.currentProject.projectId,{fileName:i,suffix:o,prjData:r,passwordValue:n}=t,a;if(Je)if(await C.messageBus.rpcCall("/pro-mgr/savePassword",[e,n]),r)a=await GKi(r,i);else{i=i.replace(/[*:;"|\/\\<>?\r\n\t]|\.\./g,"_");let s={name:i,uuid:e,suffix:o,analyzeReuseBlock:!0};a=(await C.messageBus.rpcCall(qr.DOWNLOAD_PROJECT,s)).message}else if(r)a=await YKi(r,i,n);else{let s={name:i,uuid:e,password:n,analyzeReuseBlock:!0};a=(await C.messageBus.rpcCall(qr.DOWNLOAD_PROJECT,s)).message,a.success&&C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.PROJECT_SAVEAS_LOCAL,content:{},project_uuid:e}])}return a}async function kAr(t){var c,d,u,p,m,h,f,g;let e=C.currentProject.projectId,{fileName:i,suffix:o,prjData:r,passwordValue:n}=t,a="easyeda-pro",s=null;if(r&&!r.dataStr){let b={project:r};s={success:!0,code:"success",result:b}}else s=await sD(a,e,r,{encodingOptions:{encodingType:a,encoderOptions:{useDefaultStyle:!0,associate3D:!0}}});if(s!=null&&s.success&&s.result){let b={},w=s.result.project,x={config:w.config,boards:{},devices:{},symbols:{},footprints:{},schematics:{},pcbs:{},panels:{}},S,T=x.boards;(c=w.boards)==null||c.forEach(k=>{T[k.name]={schematic:k.sch||"",pcb:k.pcb||""}}),S=b.BLOB={},(d=w.blobs)==null||d.forEach(k=>{let{hash:P,fileName:O,dataStr:_}=k,j=btoa(P)+Lo.BLOB,B=va(_);S[j]=B,delete k.dataStr}),S=b.FONT={},S=b.SYMBOL={};let M=x.symbols;(u=w.symbols)==null||u.forEach(k=>{let P=k.uuid+Lo.SYMBOL,O=va(k.dataStr);S[P]=O,delete k.dataStr,M[k.uuid]=k}),S=b.FOOTPRINT={};let I=x.footprints;(p=w.footprints)==null||p.forEach(k=>{let P=k.uuid+Lo.FOOTPRINT,O=va(k.dataStr);S[P]=O,delete k.dataStr,I[k.uuid]=k});let A=x.devices;(m=w.devices)==null||m.forEach(k=>{A[k.uuid]=k}),S=b.INSTANCE=kZe(w.block_symbol_attribute),S=b.SHEET={};let D=x.schematics,E=w.schematics||{};for(let k in E){let P=E[k],O=S[k]={};D[k]={name:P.name,sheets:[]};let _=D[k].sheets;(h=P.sheets)==null||h.forEach(j=>{let B=j.sheet_id+Lo.SCH,V=va(j.dataStr);O[B]=V,delete j.dataStr,_.push({uuid:j.uuid,id:j.sheet_id,name:j.title,display_title:j.title})})}S=b.PCB={};let N=x.pcbs;(f=w.pcbs)==null||f.forEach(k=>{let P=k.uuid+Lo.PCB,O=va(k.dataStr);S[P]=O,delete k.dataStr,N[k.uuid]=k.title}),S=b.POUR={},S=b.PANEL={};let R=x.panels;(g=w.panels)==null||g.forEach(k=>{let P=k.uuid+Lo.PANEL,O=va(k.dataStr);S[P]=O,delete k.dataStr,R[k.uuid]=k.title}),b["project.json"]=va(JSON.stringify(x,void 0,2));let v=await PZe(new Blob([vb(b)]),n);return wi?await cd(v,i,o):(ya(v,i+o),{success:!0})}return s}function kZe(t){let e={};return Kb(t,i=>{let{path:o,attr:r}=i,n=[];n.push(JSON.stringify(["DOCTYPE","INSTANCE","1.0"])),n.push(JSON.stringify(["OVERRIDE",o.split("_"),r]));let a=btoa(o)+Lo.INSTANCE,s=n.join(`
`);e[a]=va(s)}),e}async function xNt(t){var s,l,c,d,u,p,m,h;let e=C.currentProject.projectId,{fileName:i,suffix:o,prjData:r,passwordValue:n}=t,a=await sD("easyeda-pro",e,r,{encodingOptions:{encodingType:"easyeda-pro",encoderOptions:{useDefaultStyle:!0,associate3D:!0}}});if(a!=null&&a.success&&a.result){let f={},b=a.result.project,y={config:b.config,boards:{},devices:{},symbols:{},footprints:{},schematics:{},pcbs:{},panels:{}},w,x=y.boards;(s=b.boards)==null||s.forEach(R=>{x[R.name]={schematic:R.sch||"",pcb:R.pcb||""}}),w=f.BLOB={},(l=b.blobs)==null||l.forEach(R=>{let{hash:v,fileName:k,dataStr:P}=R,O=btoa(v)+Lo.BLOB,_=va(P);w[O]=_,delete R.dataStr}),w=f.FONT={},w=f.SYMBOL={};let S=y.symbols;(c=b.symbols)==null||c.forEach(R=>{let v=R.uuid+Lo.SYMBOL,k=va(R.dataStr);w[v]=k,delete R.dataStr,S[R.uuid]=R}),w=f.FOOTPRINT={};let T=y.footprints;(d=b.footprints)==null||d.forEach(R=>{let v=R.uuid+Lo.FOOTPRINT,k=va(R.dataStr);w[v]=k,delete R.dataStr,T[R.uuid]=R});let M=y.devices;(u=b.devices)==null||u.forEach(R=>{M[R.uuid]=R}),w=f.INSTANCE=kZe(b.block_symbol_attribute),w=f.SHEET={};let I=y.schematics,A=b.schematics||{};for(let R in A){let v=A[R],k=w[R]={};I[R]={name:v.name,sheets:[]};let P=I[R].sheets;(p=v.sheets)==null||p.forEach(O=>{let _=O.sheet_id+Lo.SCH,j=va(O.dataStr);k[_]=j,delete O.dataStr,P.push({uuid:O.uuid,id:O.sheet_id,name:O.title,display_title:O.title})})}w=f.PCB={};let D=y.pcbs;(m=b.pcbs)==null||m.forEach(R=>{let v=R.uuid+Lo.PCB,k=va(R.dataStr);w[v]=k,delete R.dataStr,D[R.uuid]=R.title}),w=f.POUR={},w=f.PANEL={};let E=y.panels;return(h=b.panels)==null||h.forEach(R=>{let v=R.uuid+Lo.PANEL,k=va(R.dataStr);w[v]=k,delete R.dataStr,E[R.uuid]=R.title}),f["project.json"]=va(JSON.stringify(y,void 0,2)),await PZe(new Blob([vb(f)]),n)}}async function h6e(t,e=!0){let i=t.suffix==Lo.PRJ,o=i?await kAr(t):await m6e(t);if(e&&i){let r=!!t.isDocument;if(o!=null&&o.success){let n=r?"Document saves successfully!":"Project saves successfully!";new Fi({type:"success",msg:n})}else{let n=(o==null?void 0:o.message)||"",a=r?"Document save as failure!":"Project save as failure!",s=me.i18n(a)+` ${me.i18n(n)}`;new Fi({type:"error",msg:s})}}return o}async function PZe(t,e){if(!e)return t;let o=await new Ofe(new xY(t)).getEntries(),r=new hae("application/zip"),n=new Rfe(r);return await Promise.all(o.map(async a=>{let s=await a.getData(new Afe);s!==""?n.add(a.filename,new fae(s),{password:e}):n.add(a.filename,new fae(s))})),await n.close(),await r.getData()}var ZB=L(z()),{locals:TNt}=MNt.default;function PAr(t){var w;Ae(MNt.default);let{displayText:e,sourceCode:i,title:o}=t,[r,n]=(0,SNt.useState)(i),[a,s]=(0,SNt.useState)(e),l=J(),{creator:c,owner:d}=(w=he.getActiveTabData())==null?void 0:w.data,u=dt(),p=C.teams.find(x=>x.uuid==d),m=!0,h=!0;if(p){let x=c==_o(),S=zi.getTeamPermissionCaches(d);if([se.FOOTPRINT,se.PART,se.DEVICE,se.PANEL_LIB,se.PCBLIB3D,se.SCHLIB3D].includes(u))m=Hd(S,Yr.Team_Component_Update)||x,h=Hd(S,Yr.Team_Component_Download);else if([se.BLOCK_SYMBOL].includes(u))m=Hd(S,Yr.Team_Module_Update)||x,h=Hd(S,Yr.Team_Module_Download);else if([se.SCH,se.PCB].includes(u))if(C.currentProject.isCBB)m=Hd(S,Yr.Team_Module_Update)||x,h=Hd(S,Yr.Team_Module_Download);else{let T=zi.getProjectPermissionCache(C.currentProject.projectId);h=Hd(T,Io.Project_Downloading),m=Hd(T,Io.Doc_Updating)}}else{let x=zi.getProjectPermissionCache(C.currentProject.projectId);h=Hd(x,Io.Project_Downloading),m=Hd(x,Io.Doc_Updating)}let f=!h,g=je()||!m,b=5e5,y=l("Content is too big to show, you can download it directly.");return(0,ZB.jsxs)("div",{className:TNt.container,children:[(0,ZB.jsx)("div",{className:TNt.wrapper,children:(0,ZB.jsx)("textarea",{readOnly:g,value:a,onChange:x=>{n(x.target.value),s(x.target.value)},className:TNt.textarea,onFocus:x=>{setTimeout(()=>{x.target.select()},0)},onPaste:x=>{let S=x.clipboardData.getData("text");S&&S.length>=b&&(s(y),x.preventDefault()),n(S)},spellCheck:"false",autoComplete:"off"})}),(0,ZB.jsxs)("div",{style:{display:"flex",gap:5,justifyContent:"flex-end",marginTop:"10px"},children:[(0,ZB.jsx)(Me,{disabled:f,type:"primary",onClick:()=>OAr(r,o),children:"Download"}),(0,ZB.jsx)(Me,{disabled:g,type:"primary",onClick:()=>r&&vNt(r),children:"Apply"}),(0,ZB.jsx)(Me,{onClick:()=>{le.close(_fe)},children:"Cancel"})]})]})}var _fe="source-code-dialog";function INt(t){let{width:e,height:i}=e1e({width:1e3,height:600});le.open({id:_fe,title:"File Source",width:e,height:i,closed:!0,children:(0,ZB.jsx)(PAr,{...t}),footer:!1,esc:!0,openCallback(){}})}function LNt(){return le.isOpen(_fe)}async function vNt(t){let e={SCH:se.SCH,SYMBOL:se.PART,NETFLAG:se.NETFLAG,NETPORT:se.NETPORT,OFF_PAGE_CONNECTOR:se.OFF_PAGE_CONNECTOR,DIFF_PAIRS_FLAG:se.DIFF_PAIRS_FLAG,SHEET_SYMBOL:se.SHEET_SYMBOL,NONEELEC_SYMBOL:se.NONEELEC_SYMBOL,SHORT_SYMBOL:se.SHORT_SYMBOL,PCB:se.PCB,FOOTPRINT:se.FOOTPRINT,PANEL:se.PANEL},i=()=>{Ot("error",[Ti("Invalid format.")],void 0,!0)},o=dt();if(o===se.PCB||o===se.FOOTPRINT){let r=await ei();return await C.windowBridge.rpcCall("pcb/decode",t,r.contentWindow).then(n=>{if(n.message)return le.close(_fe),!0;Ot("error",[Ti("Invalid format.")],void 0,!0)})}else{if(ty(o))return await C.messageBus.rpcCall("loadDocJsonToEditor",[t,{tabId:gi()}]).then(r=>{if(r.message!==!1)return le.close(_fe),o===se.PART&&C.messageBus.publish("PartTree.initTree"),!0});if(Wn(o)){let r={docType:o,tabId:gi(),unsaved:1,isSourceFile:!0};return await C.messageBus.rpcCall("panel/decode",[t,r]).then(n=>{if(n.message&&n.message!==!1)return le.close(_fe),!0})}else return Ot("error",[Ti("The code does not match current document type.")],void 0,!0)}}async function OAr(t,e){let i=dt(),o=gi(),[r,n]=U0(o),a=n===C.currentProject.projectId;if(i===se.SCH){let{selectData:s,title:l}=await jfe(),c=ue.formatDate2(new Date,"y-m-d"),u={fileName:l||`ProDoc_${e}_${c}`,suffix:Lo.PRJ2,prjData:s,isDocument:!0};await m6e(u)}else if(i===se.PCB){let{selectData:s,title:l}=await jfe(),c=ue.formatDate2(new Date,"y-m-d"),u={fileName:l||`ProDoc_${e}_${c}`,suffix:Lo.PRJ2,prjData:s,isDocument:!0};await m6e(u)}else if(i===se.PANEL){let{selectData:s,title:l}=await jfe(),c=ue.formatDate2(new Date,"y-m-d"),u={fileName:l||`ProDoc_${e}_${c}`,suffix:Lo.PRJ2,prjData:s,isDocument:!0};await m6e(u)}else{if(i===se.FOOTPRINT)return D0e(r,n);if(i===se.PANEL_LIB)return rfe(r,n);if(I6(i))return v0e(r,n)}}var FD="treeMyProject",zD=class zD{static getProjectDataStore(e){return zD.projectDataStore[e]||(zD.projectDataStore[e]=new DNt),zD.projectDataStore[e]}static setProjectData(e,i){i&&this.getProjectDataStore(i).setProjectData(e)}static getKeyboardStore(e){return zD.keyboardStore[e]||(zD.keyboardStore[e]=new L8),zD.keyboardStore[e]}static deleteKeyboardStore(e){zD.keyboardStore[e]&&delete zD.keyboardStore[e]}static setTreeMousePosition(e,i){this.treeMousePosition[e]=i}static getTreeMousePosition(e){return this.treeMousePosition[e]||{x:-1,y:-1}}static deleteTreeMousePosition(e){this.treeMousePosition[e]&&delete this.treeMousePosition[e]}};zD.keyboardStore={},zD.projectDataStore={},zD.treeMousePosition={};var vM=zD,DNt=class extends qe{constructor(){super(...arguments);this.schLeftTreeData=[]}setProjectData(i){this.schLeftTreeData=i,this.notify()}};var ed=L(Se());var a2=L(Se());var MX="tree-expand-",WKi="tree-rowdata-";var QKi={containerStyleObject:{},containerWidth:"100%",containerHeight:"100%",initContainerScrollTop:0,isVirtualList:!1,extendIconType:"tree-extends-box",data:[],treeWidgetItemWidth:"30px",itemStyleObject:{},showTagLine:!0,showExpandBtn:!0,emptyLabel:"Empty list",expandAll:void 0,leftTranslationalAlignment:!1,multiSelect:!1,itemHeight:"26px",contentUnderline:!1,selectedIds:[],expandedIds:[],onExpand:null,onClick:null,itemRender:null,onVirtualScroll:null,topBufferSize:30,bottomBufferSize:30};var KKi="zh-hans";var JKi=L(OZe());var sg=L(z()),{locals:h7}=JKi.default;function ENt(t){let{lineKey:e,lineData:i,selectedKeys:o,profile:r,expandAction:n}=t,{levels:a=[],expand:s,sourceData:l}=i,{leftTranslationalAlignment:c=!1,itemStyleObject:d,showTagLine:u=!0,showExpandBtn:p=!0,extendIconType:m="tree-extends-box",contentUnderline:h,itemRender:f}=r,{isPropagationOnExtend:g,extendIcon:b}=r,y=J(),w=be({[h7["tree-content"]]:!0,[h7["tree-content-underline"]]:!!h,[h7["tree-content-disabled"]]:!!l.disabled}),x=h7["tree-blank"],S=h7["tree-extends"],T=be(h7["tree-extends-icon"],{[h7[`${m}`]]:!b,[h7[`${m}-active`]]:!b&&!!s,[b&&(b==null?void 0:b.expandIcon)||""]:!!s&&!!b,[b&&(b==null?void 0:b.collapseIcon)||""]:!s&&!!b}),M=be.bind(h7),I=h7["tree-usertips-line"],A=M("tree-usertips-line-middle tree-join"),D=h7["tree-usertips-line-turn"],E=h7["tree-usertips-line-fork"],N=[],R=(0,sg.jsx)("div",{className:T,onClick:k=>{!g&&k.stopPropagation(),n&&n(i)}});a.forEach((k,P)=>{switch(k.stag){case-1:{if(c&&P===0){N.push((0,sg.jsx)("span",{children:l.showAsterisk?(0,sg.jsx)("em",{style:{transform:"translate3d(-1px, 3px, 10px)",color:"red"},children:"*"}):null},k.key));return}N.push((0,sg.jsx)("span",{className:x,children:l.showAsterisk?(0,sg.jsx)("em",{style:{transform:"translate3d(-1px, 3px, 10px)",color:"red"},children:"*"}):null},k.key));return}case 0:{if(!p){N.push((0,sg.jsx)("span",{className:x},k.key));return}N.push((0,sg.jsx)("span",{className:S,children:R},k.key));return}case 1:{if(!u){N.push((0,sg.jsx)("span",{className:x},k.key));return}N.push((0,sg.jsx)("span",{className:I},k.key));return}case 2:{if(!u){N.push((0,sg.jsx)("span",{className:x,children:P===a.length-1&&l.showAsterisk?(0,sg.jsx)("em",{style:{transform:"translate3d(-1px, 3px, 10px)",color:"red"},children:"*"}):null},k.key));return}N.push((0,sg.jsx)("span",{className:A,children:P===a.length-1&&l.showAsterisk?(0,sg.jsx)("em",{style:{transform:"translate3d(-1px, 3px, 10px)",color:"red"},children:"*"}):null},k.key));return}case 3:{if(!u){N.push((0,sg.jsx)("span",{className:x},k.key));return}N.push((0,sg.jsx)("span",{className:D},k.key));return}case 4:{if(!u){N.push((0,sg.jsx)("span",{className:x},k.key));return}N.push((0,sg.jsx)("span",{className:E},k.key));return}default:{N.push((0,sg.jsx)("span",{className:x},k.key));return}}});let v=l.titleAdditional&&me.curr===KKi?String(l.titleAdditional):String(l.title);return N.push((0,sg.jsx)("span",{"data-itemid":l.id,className:w,style:d,"data-test":l.dataTest||l.title,children:f?f(l,i,me):y(v)},e)),(0,sg.jsx)(sg.Fragment,{children:N})}var _Ar=1,gae=1;function jAr(t,e,i,o,r=void 0){return typeof r<"u"?r:i?!1:typeof(o==null?void 0:o.length)=="number"?o.includes(t):typeof e=="boolean"?e:!!r}function ANt(t,e,i,o=void 0){let r=[];for(let n=0;n<t.length;n++){let a=n,s=t[n],{id:l,children:c,expand:d,isLeaf:u}=s,p=l||`${WKi}${_Ar++}`,m=(e||[]).map(f=>f.stag===0&&a+1<t.length?{key:`${MX}${gae++}`,stag:4}:f.stag===0&&a+1===t.length?{key:`${MX}${gae++}`,stag:3}:f.stag===3?{key:`${MX}${gae++}`,stag:-1}:f.stag===4?{key:`${MX}${gae++}`,stag:1}:f);c&&c.length||u?m.push({key:`${MX}${gae++}`,stag:0}):m.length?m.push({key:`${MX}${gae++}`,stag:2}):m.push({key:`${MX}${gae++}`,stag:-1});let h={id:p,levels:m,isLeaf:!!u,expand:jAr(p,!!d,!!u,i,o),children:[],sourceData:s.sourceData?s.sourceData:s};c&&c.length&&(h.children=ANt(c,m,i,o)),r.push(h)}return r}var NNt=L(OZe());var _I=L(z()),{locals:Bfe}=NNt.default;function BAr(t,e){let i=J();Ae(NNt.default);let o={...QKi,...t},{data:r,containerStyleObject:n,containerWidth:a,containerHeight:s,initContainerScrollTop:l,treeWidgetItemWidth:c,multiSelect:d,visibleLockControl:u}=o,{expandAll:p,hoverNodeId:m,isVirtualList:h,itemHeight:f,emptyLabel:g,showTagLine:b}=o,{expandedIds:y,selectedIds:w,topBufferSize:x,bottomBufferSize:S,notAutoSelect:T}=o,{onExpand:M,onClick:I,onContextMenu:A,onMouseEnter:D,onMouseLeave:E,onVirtualScroll:N,onMousesDown:R,onMouseUp:v,onMouseMove:k,onMouseDown:P}=o,O=(0,a2.useRef)(null),_=(0,a2.useRef)(null),j=(0,a2.useRef)(0),B=(0,a2.useRef)(0),V=(0,a2.useRef)({}),G=(0,a2.useRef)({}),[Q,H]=(0,a2.useState)(y),[q,U]=(0,a2.useState)(w),F=(0,a2.useMemo)(()=>B.current+1,[y]),K=(0,a2.useMemo)(()=>F!==B.current?(B.current=F,y):Q,[y,Q]),te=(0,a2.useMemo)(()=>j.current+1,[w]),ae=(0,a2.useMemo)(()=>te!==j.current?(j.current=te,w):q,[w,q]),pe=(0,a2.useMemo)(()=>{if(_.current){let Te=_.current;return _.current=null,Te}return ANt(r,[],K,p)},[r,K]),Z=`${Bfe["tree-container"]}`,ee=Bfe["tree-rowline"],ce=Bfe["tree-rowline-selected"],ne=` ${Bfe["tree-rowline-can-hover"]}`,oe=` ${Bfe["tree-rowline-hover"]}`,re={};(0,a2.useImperativeHandle)(e,()=>({test(){console.log(arguments)}})),(0,a2.useEffect)(()=>{O.current&&c&&O.current.style.setProperty("--tree-widget-item-width",c)},[pe.length]);let Y=Ne=>{if(T)return ae;let Te=[];return d?ae.indexOf(Ne)<=-1?Te=[...ae,Ne]:Te=ae.filter(Oe=>Oe!==Ne):Te=[Ne],U(Te),Te},X=Ne=>{let Te={};return Ne.forEach(Pe=>{Te[Pe]=V[Pe]}),Te},ie=(Ne,Te)=>{if(G.current.blockClickAction)return;let Pe=Ne.sourceData.id,Oe=Y(Pe),Ue=X(Oe);I&&I(Oe,Ne.sourceData,Ne,Ue,Te)},de=(Ne,Te)=>{if(P&&P(Ne,Te),R instanceof Function&&R(Ne,Te)===!1){G.current.blockClickAction=!0;return}G.current.blockClickAction=!1},fe=(Ne,Te)=>{let Pe=Ne.sourceData.id,Oe=Y(Pe),Ue=X(Oe);A&&A(Oe,Ne.sourceData,Ne,Ue,Te)},ye=Ne=>{let Te=Ne.id,Pe=new Set(K);Ne.expand?Pe.add(Te):Pe.has(Te)&&Pe.delete(Te),_.current=pe,H(Array.from(Pe)),M&&M(Ne.sourceData,Ne)},Le=Ne=>{let{expand:Te}=Ne;Ne.expand=!Te,ye(Ne)},Re=(Ne,Te)=>Ne.map((Pe,Oe)=>{let{id:Ue,children:Ve,expand:ze,isLeaf:He,sourceData:Ye}=Pe,ke=Ye.href,Be=ae.indexOf(Ye.id)>=0,Xe=!!(ze&&!He&&(Ve!=null&&Ve.length)),Ge=be(ee,{[ce]:Be,[ne]:m===void 0,[oe]:m!==void 0&&m===Pe.id,[Bfe.a]:!!ke});return V[Ue]=V[Te]?V[Te]+":"+Ue:Ue,ke?[(0,_I.jsx)("a",{className:Ge,href:ke,style:re,onClick:Ke=>ie(Pe,Ke),onContextMenu:Ke=>fe(Pe,Ke),onMouseEnter:Ke=>D&&D(Pe,Ke),onMouseLeave:Ke=>E&&E(Pe,Ke),children:(0,_I.jsx)(ENt,{lineKey:Oe,lineData:Pe,profile:o,selectedKeys:ae,expandAction:Le})},Ue),Xe?Re(Ve,Ue):null]:[(0,_I.jsxs)("div",{className:Ge,style:re,onClick:Ke=>ie(Pe,Ke),onMouseDown:Ke=>de(Pe,Ke),onContextMenu:Ke=>fe(Pe,Ke),onMouseEnter:Ke=>D&&D(Pe,Ke),onMouseLeave:Ke=>E&&E(Pe,Ke),onMouseUp:Ke=>v&&v(Pe,Ke),onMouseMove:Ke=>k&&k(Pe,Ke),children:[u&&u(Ye,Pe,me),(0,_I.jsx)(ENt,{lineKey:Oe,lineData:Pe,profile:o,selectedKeys:ae,expandAction:Le})]},Ue),Xe?Re(Ve,Ue):null]});if(pe.length){let Ne=Re(pe,void 0).flat(1/0).filter(Te=>!!Te);if(h&&s&&/\d+px$/i.test(String(s))){let Te=parseInt(f||""),Pe=parseInt(s||"");return(0,_I.jsx)("section",{"data-tagitem":"tree-container",className:Z,style:n,ref:O,children:(0,_I.jsx)(Z8,{containerHeight:Pe,countTotal:Ne.length,estimatedRowHeight:Te,initContainerScrollTop:l,topBufferSize:x,bottomBufferSize:S,countTotalNotScroll:!0,onScroll:N,children:({index:Oe,style:Ue})=>(0,_I.jsx)("div",{"data-index":Oe,style:Ue,children:Ne[Oe]})})})}return(0,_I.jsx)("section",{style:{width:"fit-content",minWidth:"100%"},children:(0,_I.jsx)("section",{"data-tagitem":"tree-container",className:Z,style:n,ref:O,children:Ne})})}return(0,_I.jsx)("section",{style:{width:"fit-content",minWidth:"100%"},children:(0,_I.jsx)("section",{"data-tagitem":"tree-container",style:{lineHeight:"25px",textAlign:"center",padding:"3px 0"},children:(0,_I.jsx)("span",{"data-test":g,children:i(g)})})})}var qKi=(0,a2.forwardRef)(BAr);var XKi=qKi;var HZe=L(gfe());var $Ki={menuId:"panel-tree-context-menu",defaultConfig:[{id:"refresh",title:"Refresh",icon:{iconPath:lt.icon_eda_refresh},callback:()=>{_l(st.PANEL_OBJECT_ROOT_NODE)}},{id:"delete",title:"Delete",icon:{iconPath:lt.icon_eda_delete_trash},disable:!0}]},eZi={menuId:"panel-tree-level_menu",defaultConfig:[{id:"raise_one_level",title:"Raise one level",icon:{iconPath:lt.icon_eda_move_up},callback:()=>{f6e("raise_one_level")}},{id:"lower_one_level",title:"Lower one level",icon:{iconPath:lt.icon_eda_move_down},callback:()=>{f6e("lower_one_level")}},{id:"bring_to_front",title:"Bring to Front",icon:{iconPath:lt.icon_eda_bring_to_front},callback:()=>{f6e("bring_to_front")}},{id:"send_to_back",title:"Send to Back",icon:{iconPath:lt.icon_eda_bring_to_front},callback:()=>{f6e("send_to_back")}}]},zAr={menuId:"panel-tree-context-menu",defaultConfig:[{id:"level",title:"Level",icon:{iconPath:lt.icon_eda_bring_to_front},isHide:()=>{let{treeNodeType:t}=us.panelRightClickTreeItemData;return![st.PANEL_OBJECT_NODE].includes(t)},children:eZi},{id:"delete",title:"Delete",icon:{iconPath:lt.icon_eda_delete_trash},disable:()=>{let{treeNodeType:t}=us.panelRightClickTreeItemData;return![st.PANEL_OBJECT_NODE,st.PANEL_COMBINATION_OBJECT_NODE,st.PANEL_COMBINATION_ROOT_NODE].includes(t)},callback:()=>{kNt(us.panelRightClickTreeItemData)}},{id:"refresh",title:"Refresh",icon:{iconPath:lt.icon_eda_refresh},callback:()=>{_l(st.PANEL_OBJECT_ROOT_NODE)}},{id:"Check Out",title:"Check Out",isHide:()=>{let{args:t}=us.panelRightClickTreeItemData,{type:e}=t;if(e!=="Panel")return!0;let{hideFlag:i}=fT("checkOut");return i},callback:()=>{Ga.checkInAndOut("check_out")},disable:()=>{let{args:t}=us.panelRightClickTreeItemData,{type:e}=t;if(e!=="Panel")return!0;let{disableFlag:i}=fT("checkOut");return i}},{id:"Check In",title:"Check In",isHide:()=>{let{args:t}=us.panelRightClickTreeItemData,{type:e}=t;if(e!=="Panel")return!0;let{hideFlag:i}=fT("checkIn");return i},disable:()=>{let{args:t}=us.panelRightClickTreeItemData,{type:e}=t;if(e!=="Panel")return!0;let{disableFlag:i}=fT("checkIn");return i}}]};function tZi(){return zAr={menuId:"panel-tree-context-menu",defaultConfig:[{id:"level",title:"Level",icon:{iconPath:lt.icon_eda_bring_to_front},isHide:()=>{let{treeNodeType:t}=us.panelRightClickTreeItemData;return![st.PANEL_OBJECT_NODE].includes(t)},children:eZi},{id:"delete",title:"Delete",icon:{iconPath:lt.icon_eda_delete_trash},disable:()=>{let{treeNodeType:t}=us.panelRightClickTreeItemData;return![st.PANEL_OBJECT_NODE,st.PANEL_COMBINATION_OBJECT_NODE,st.PANEL_COMBINATION_ROOT_NODE].includes(t)},callback:()=>{kNt(us.panelRightClickTreeItemData)}},{id:"refresh",title:"Refresh",icon:{iconPath:lt.icon_eda_refresh},callback:()=>{_l(st.PANEL_OBJECT_ROOT_NODE)}},{id:"Check In",title:"Check In",isHide:()=>{let{hideFlag:t}=fT("checkIn"),{treeNodeType:e}=us.panelRightClickTreeItemData;return t||![st.PANEL_OBJECT_ROOT_NODE].includes(e)},disable:()=>{let{disableFlag:t}=fT("checkIn");return t},callback:()=>{Ga.checkInAndOut("check_in")}},{id:"Check Out",title:"Check Out",isHide:()=>{let{hideFlag:t}=fT("checkOut"),{treeNodeType:e}=us.panelRightClickTreeItemData;return t||![st.PANEL_OBJECT_ROOT_NODE].includes(e)},disable:()=>{let{disableFlag:t}=fT("checkOut");return t},callback:()=>{Ga.checkInAndOut("check_out")}}]}}var iZi=()=>(us.panelRightClickTreeItemData={},$Ki),oZi=t=>(us.panelRightClickTreeItemData=t,tZi()),kNt=t=>{let{treeNodeType:e,originId:i}=t;switch(e){case st.PANEL_OBJECT_NODE:kr("delete"),bH();break;case st.PANEL_COMBINATION_ROOT_NODE:case st.PANEL_COMBINATION_OBJECT_NODE:e===st.PANEL_COMBINATION_ROOT_NODE?Ca("panel/delete-combination",[[i]]):kr("delete"),Pt(kt.Panel.EditCombination,[!1]),bH();break;default:break}_l(st.PANEL_OBJECT_ROOT_NODE)},f6e=t=>{let{selectedIdStore:e}=us,i=e.selectedNodes.map(o=>o.originId);kr(t,[i])};var UD=L(Vi()),RZe=L(gfe()),g6e=L(OZe());var PNt=class{constructor(){this.clientX=0;this.clientY=0}async onMouseDown(e,i){this.clientX=i.clientX,this.clientY=i.clientY,this.selectedNode=e.sourceData;let{originId:o,treeNodeType:r}=this.selectedNode;if(![st.PANEL_OBJECT_NODE,st.PANEL_OBJECT_LAYER_NODE,st.PANEL_OBJECT_ROOT_NODE].includes(r)&&(this.isDraging=!0,r===st.PANEL_COMBINATION_ROOT_NODE)){let{combinations:n}=await Pt(kt.Panel.GetAllCombinationAndElesFromTop,[o]);this.selectedNodeChildComIds=n}}onMouseMove(e,i){let{locals:o}=RZe.default,{locals:r}=g6e.default;if(!this.isDraging)return;let n=(0,UD.default)("#treePanelObjects-content").width();if(Math.abs(this.clientX-i.clientX)>2||Math.abs(this.clientY-i.clientY)>2){this.$temp||(this.$temp=(0,UD.default)(`<div style="height: 2px;width:${n}px;background:#999;"></div>`),this.$temp.appendTo(document.body));let a=i.clientY-i.target.getBoundingClientRect().top;a<20?a=a:a=20-a,this.$temp.css({position:"absolute",zIndex:1e3,opacity:.8,listStyle:"none",pointerEvents:"none",left:"28px",top:i.pageY-a});let s=document.elementFromPoint(i.clientX,i.pageY-a-5);s=(0,UD.default)(s).attr("data-itemid")?s:s.parentElement,this.changeMouse(s);let l=(0,UD.default)(s).parent();l&&(0,UD.default)(l).hasClass(r.move)?this.dropElement=l:this.dropElement=null}}async onMouseUp(){let{panelTreeDataStore:e}=us;if(this.$temp&&this.$temp.remove(),this.clearCursor(),this.isDraging=!1,delete this.$temp,this.dropElement){let{locals:i}=g6e.default,o=this.dropElement.children(`.${i["tree-content"]}`).attr("data-itemid"),r=e.getTreeNodeItemByUniqueId(o),{originId:n,treeNodeType:a}=r,{originId:s,treeNodeType:l}=this.selectedNode;if(this.canDropButNotHandle(n))return;if(l===st.PANEL_COMBINATION_ROOT_NODE){if(a===st.PANEL_COMBINATION_ROOT_NODE){if(this.selectedNodeChildComIds.includes(n)||n===s)return;let c=n,d=this.selectedNode.parent.id,u=d?[{combId:c,add:[],remove:[],addComb:[s],removeComb:[]},{combId:d,add:[],remove:[],addComb:[],removeComb:[s]}]:[{combId:c,add:[],remove:[],addComb:[s],removeComb:[]}];await Pt(kt.Panel.ModifyCombination,[u])}else if(a!==st.PANEL_COMBINATION_OBJECT_NODE){let c=this.selectedNode.parent.id;await Pt(kt.Panel.ModifyCombination,[[{combId:s,add:[],remove:[],addComb:[],removeComb:[],parent:null},{combId:c,add:[],remove:[],addComb:[],removeComb:[s]}]])}}else switch(a){case st.PANEL_COMBINATION_ROOT_NODE:{if(this.selectedNode.parent.id===n)return;let c=this.selectedNode.parent.id,d=n;await Pt(kt.Panel.ModifyCombination,[[{combId:c,add:[],remove:[s]},{combId:d,add:[s],remove:[]}]]);break}case st.PANEL_OBJECT_ROOT_NODE:{kr("removeFromGroup",[[s]]);break}default:break}this.dropElement=null,this.selectedNodeChildComIds=[],_l(st.PANEL_OBJECT_ROOT_NODE)}}canDropButNotHandle(e){if(e){if(e===this.selectedNode.parent.id)return!0}else if(!this.selectedNode.parent.id)return!0;return!1}changeMouse(e){var f;let{panelTreeDataStore:i}=us,{locals:o}=RZe.default,{locals:r}=g6e.default,n=(0,UD.default)(e),a=n.attr("data-itemid"),s=i.getTreeNodeItemByUniqueId(a),{treeNodeType:l}=s,c=[st.PANEL_COMBINATION_ROOT_NODE,st.PANEL_OBJECT_ROOT_NODE],d=c.includes(l),u=i.flattenData.findIndex(g=>g.id===a),p=(f=i.flattenData[u+1])==null?void 0:f.id,m;p&&(m=(0,UD.default)(`span[data-itemid="${p}"]`)),Array.from((0,UD.default)(`.${o.panelTreeDiv} .${r["tree-rowline"]}`)).forEach(g=>{let b=(0,UD.default)(g).children(`.${r["tree-content"]}`).attr("data-itemid"),{treeNodeType:y}=i.getTreeNodeItemByUniqueId(b);c.includes(y)||(0,UD.default)(g).addClass(r["not-allowed"])}),d?(n.parent().addClass(r.move),(m==null?void 0:m.length)>0&&(m.parent().removeClass(r["not-allowed"]),m.parent().addClass(r.move))):(m==null?void 0:m.length)>0&&m.parent().addClass(r["not-allowed"])}clearCursor(){let{locals:e}=RZe.default,{locals:i}=g6e.default;(0,UD.default)(`.${e.panelTreeDiv} .${i["tree-rowline"]}`).removeClass(i.move),(0,UD.default)(`.${e.panelTreeDiv} .${i["tree-rowline"]}`).removeClass(i["not-allowed"])}},b6e=new PNt;var rZi=L(gfe()),y6e=L(z());var nZi=t=>{let{activeType:e,onChange:i}=t,o=e==="layer",{locals:r}=rZi.default,n=be.bind(r),a=J();return(0,y6e.jsxs)("div",{className:r.locateContainer,children:[(0,y6e.jsx)("span",{className:n(`layer ${o?"active":""}`),"data-test":"Layer",onClick:s=>{i("layer",s)},children:a("Layer")}),(0,y6e.jsx)("span",{className:n(`combination ${o?"":"active"}`),"data-test":"Combination",onClick:s=>{i("Combination",s)},children:a("Combination")})]})};var ONt=L(gfe());var zfe=L(z()),FAr=t=>{let{locals:e}=ONt.default,{sourceData:i}=t,{treeNodeType:o,originId:r,args:n,parentId:a}=i,{visibleLockKeysStore:s}=us,l=J(),c=be.bind(ONt.default.locals);Ce(s);let d,u,p,m=![st.PANEL_OBJECT_ROOT_NODE,st.PANEL_OBJECT_LAYER_NODE].includes(o),h=m&&n.type!="Dimension";m&&(d=s.isVisible(r)?"icon-eda-eye":"eye-hidden",p=s.isGray(r)?"eye-opacity":""),h&&(u=s.islock(r)?"icon-eda-lock":"icon-eda-unlock");function f(x){return{Text:"text",Image:"obj",Rect:"rect",Ellipse:"ellipse",Shape:"group",Group:"group",Dimension:"dimension","Elliptical Arc":"arc","Horizontal Dimension":"dimension","Vertical Dimension":"dimension","Dimension Length":"dimensionLength","Dimension Radius":"dimensionLength","Dimension Angle":"dimensionLength","Auxiliary Point":"auxiliaryLine","Horizontal Auxiliary Line":"auxiliaryLine","Vertical Auxiliary Line":"auxiliaryLine","Auxiliary Line":"auxiliaryLine"}[x]||x}let g=async x=>{x.stopPropagation();let S=s.isVisible(r),T=s.isGray(r),{eyeGrayType:M,type:I}=i.args;if(T){let{combination:A,layer:D,filter:E}=M,N=[];A&&N.push("Group"),D&&N.push("Layer"),E&&N.push("Filter Type");let v=N.map((P,O)=>{let _=is.lang==="en";if(N.length===1)return l(P);if(N.length===2)return l(P)+(O===0?w(_,O):"");if(N.length===3)return l(P)+(O===0?is.lang==="en"?",":"\u3001":O===1?w(_,O):"")}).join(""),k=l({value:`The {temp} to which this object belongs is currently hidden. Do you want to unhide ${N.length>1?"them":"it"}?`,options:{temp:v}});return Dt({title:"Warning",content:k,icon:"warning",confirmText:"Confirm",showCancel:!0,onConfirm:()=>{y(r,S,M,I)},closed:!0})}else switch(o){case st.PANEL_OBJECT_NODE:case st.PANEL_COMBINATION_OBJECT_NODE:s.setVisible(r,!S),await Pt(kt.Panel.PanelLayerPrimitiveVisibilityChange,[[r]]);break;default:let{elements:A}=await Pt(kt.Panel.GetAllCombinationAndElesFromTop,[r]);await Pt(kt.Panel.PanelCombinationVisibleChange,[r,!S]),await Pt(kt.Panel.PanelCombinationElesVisChange,[A,!S]),_l(st.PANEL_OBJECT_ROOT_NODE,{syncTreeSelected:!1});break}},b=x=>{x.stopPropagation();let S=s.islock(r),T="";switch(o){case st.PANEL_COMBINATION_OBJECT_NODE:case st.PANEL_OBJECT_NODE:T=S?"unlockElements":"lockElements";break;case st.PANEL_COMBINATION_ROOT_NODE:T=S?"unlockCombination":"lockCombination";break;default:break}kr(T,[[r]]),s.setLock(r,!S)};async function y(x,S,T,M){let{combination:I,layer:A,filter:D}=T;if(I)switch(o){case st.PANEL_COMBINATION_OBJECT_NODE:case st.PANEL_OBJECT_NODE:let{eleInCombination:E}=kr("isEleInCombination",[x]);E&&await Pt(kt.Panel.CancelAllParentCombinationHidden,[x,"objectNode"]);break;case st.PANEL_COMBINATION_ROOT_NODE:await Pt(kt.Panel.CancelAllParentCombinationHidden,[x,"CombinationNode"]);let{elements:N}=await Pt(kt.Panel.GetAllCombinationAndElesFromTop,[x]);await Pt(kt.Panel.PanelCombinationVisibleChange,[x,!S]),await Pt(kt.Panel.PanelCombinationElesVisChange,[N,!S]);break;default:break}if(A&&(await Pt(kt.Panel.CancelLayerPanelHidden,[x]),bH()),D){let E=await he.getTabIFrame();hI.unSavedConfig[1].lists.forEach(N=>{N.key===f(M)&&(N.visible=!0)});for(let N of hI.unSavedConfig[0].lists)if(N.key!=="all-state"&&!N.visible){let{lock:R,hide:v}=(await C.windowBridge.rpcCall("getEleFilterStatus",[x],E.contentWindow)).message;N.key==="hide"&&v&&(N.visible=!0),N.key==="visible"&&!v&&(N.visible=!0),N.key==="lock"&&R&&(N.visible=!0),N.key==="unlock"&&!R&&(N.visible=!0)}hI.setUnSavedConfig([...hI.unSavedConfig]),C.windowBridge.publish("applyFilter",[hI.unSavedConfig],E.contentWindow)}_l(st.PANEL_OBJECT_ROOT_NODE,{syncTreeSelected:!1})}function w(x,S){return x?S===1?","+l("and")+" ":" "+l("and")+" ":l("and")}return(0,zfe.jsxs)("div",{className:e["icon-wrap"],style:{borderTop:`${a?"none":"1px solid var(--common-border-color-1)"}`},children:[(0,zfe.jsx)("span",{style:{borderRight:"1px solid var(--common-border-color-1)"},children:(0,zfe.jsx)("span",{className:c(`${d} ${p} tree-icon`),onClick:g})}),(0,zfe.jsx)("span",{className:c(`${u} tree-icon`),onClick:x=>{x.stopPropagation(),u&&b(x)}})]})},aZi=FAr;var bae,LX=class{constructor(e,i,o,r={}){this.root=new vX(o,null,e,r.iconCls||"icon-eda-project",()=>i,!0,{name:i,...r})}addPanelObjectNode(e){function i(a){let{text:s,name:l,type:c,title:d}=a,u=s?`${s.replace(/e/,"")}`:"";return s&&c?l?`${u} : ${ue.htmlEncode(l)}`:u:ue.htmlEncode(d||u||l||"")}function o(a){let{id:s,name:l,type:c,title:d}=a;return l||d||s}function r(a,s){if(a.length>0)a.forEach(l=>{let c=new _Ze(s,o(l),l),{elements:d,elesData:u}=c.attributes;d.length>0&&u.forEach(m=>{new jZe(c,i(m),m)});let{children:p}=c.attributes;r(p,c)});else return}let n=new RNt(this.root,i(e),e);n.attributes.name==="Combination"?e.list.forEach(a=>{let s=new _Ze(n,o(a),a),{children:l}=s.attributes;r(l,s),a.elesData.forEach(c=>{new jZe(s,i(c),c)})}):e.list.forEach(a=>{let s=new _Nt(n,i(a),a);a.list.forEach(l=>{new jNt(s,i(l),l)})})}static name2icon(e,i){let o={orange:"icon-color-orange",primaryBlue:"icon-color-primaryblue"};return({Component:"icon-eda-symbol",Group:"icon-eda-group","Copper Region":"icon-eda-region-copper",Track:"icon-eda-wire","Board Outline":"icon-eda-board-outline","Slot Region":"icon-eda-region-slot","Fill Region":"icon-eda-region-fill","Prohibited Region":"icon-eda-region-prohibited","Constraint Region":"icon-eda-region-constraint",Line:"icon-eda-line",Text:"icon-eda-text","3D Shell - Outline":"icon-eda-3dshell-outline","3D Shell - Screw Pillar":"icon-eda-3dshell-screw-pillar","3D Shell - Side Datum Line":"icon-eda-3dshell-datum-line","3D Shell - Side Slot Region":"icon-eda-3dshell-side-region-slot","3D Shell - Top/Bottom Slot Region":"icon-eda-3dshell-top-region-slot","3D Shell - Side Entity":"icon-eda-3dshell-side-entity","3D Shell - Top/Bottom Entity":"icon-eda-3dshell-top-entity",Image:"icon-eda-image","Colorful Image":"icon-eda-image",Dimension:"icon-eda-dimension","Horizontal Dimension":"icon-eda-dimension","Vertical Dimension":"icon-eda-dimension","Dimension Length":"icon-eda-dimension-length","Dimension Radius":"icon-eda-dimension-radius","Dimension Angle":"icon-eda-dimension-degree",Pad:"icon-eda-pad","Test Point":"icon-eda-point-test","FPC Stiffener":"icon-eda-fpc-stiffener",Via:"icon-eda-via",NetClass:"icon-eda-class-track",Differential:"icon-eda-routing-differential",EqualLengthGroup:"icon-eda-routing-tuning",Designator:"icon-eda-symbol",Device:"icon-eda-device",Footprint:"icon-eda-footprint",Ellipse:"icon-eda-circle",Bezier:"icon-eda-bezier-2",Rect:"icon-eda-rectangle",Shape:"icon-pen-tool",Teardrop:"icon-eda-teardrop",ColorBox:"tree-node-color-box",Panel:"icon-eda-panel",PanelLayer:"icon-eda-project",Combination:"icon-eda-group",CombinationGroup:"icon-eda-group","Elliptical Arc":"icon-eda-arc","Auxiliary Line":"icon-eda-auxiliary","Auxiliary Point":"icon-eda-auxiliary-point","Horizontal Auxiliary Line":"icon-eda-auxiliary-horizontal","Vertical Auxiliary Line":"icon-eda-auxiliary-vertical"}[e]||"icon-eda-file")+" "+(o[i]||"")}},vX=class{constructor(e,i,o,r,n,a,s={}){this.expanded=!1;this.children=[];this.visible=!0;this.parent=i,this.uuid=o,this.iconCls=r,this.id=o,this.state=a?"closed":"open",this.treeNodeType=e,i!=null?(i.addChild(this),this.marginSize=i.marginSize+1):this.marginSize=0,this.text=n(),this.attributes=s,this.expanded=a}addChild(e){e.parent===this&&this.children.push(e)}},RNt=class extends vX{constructor(e,i,o){super(st.PANEL_OBJECT_ROOT_NODE,e,o.id||"",LX.name2icon(o.type,o.iconColor),()=>i,!0,o)}},_Nt=class extends vX{constructor(e,i,o){super(st.PANEL_OBJECT_LAYER_NODE,e,o.id||"",LX.name2icon(o.type,o.iconColor),()=>i,!0,o)}},_Ze=class extends vX{constructor(e,i,o){let r=LX.name2icon(o.type,o.iconColor);super(st.PANEL_COMBINATION_ROOT_NODE,e,o.id||"",r,()=>i,!0,o)}},jNt=class extends vX{constructor(e,i,o){super(st.PANEL_OBJECT_NODE,e,o.id||"",LX.name2icon(o.type,o.iconColor),()=>i,!0,o)}},jZe=class extends vX{constructor(e,i,o){super(st.PANEL_COMBINATION_OBJECT_NODE,e,o.id||"",LX.name2icon(o.type,o.iconColor),()=>i,!0,o)}};async function lZi(t=[],e,i){if(!t.length)return;let{checkOutType:o}=await Ga.getTopTipsStatusPanel(gi());t[0].checkOutType=o,bae=new LX("",i||C.currentProject.title,st.PANEL_OBJECT_ROOT_NODE,{list:t,i18n:!0,iconCls:"icon-eda-project-fill"}),t.forEach(r=>{bae.addPanelObjectNode(r)}),e||(bae.editCombinationId=await Pt(kt.Panel.GetEditCombinationId)||"",bae.editPathId=await Pt(kt.Panel.GetEditingPathId)||""),us.panelTreeDataStore.setProjectData(bae.root),e&&bO()}function bO(){let t=kr("getSelectedObjsInfoInTreeNode",[],void 0,!0);SY.syncTreeSelected({dataModal:t})}var cZi=L(eC());var DM=L(z());var JB=22,{locals:BZe}=HZe.default,BNt=be.bind(HZe.default.locals),VAr=be.bind(cZi.default.locals),HAr=()=>{let{panelTreeDataStore:t,expandKeysStore:e,selectedIdStore:i}=us,[o,r,n]=La();Ce(t),Ce(i),Ce(e);let a=(0,ed.useContext)(_r);Ae(HZe.default);let s=J(),l=(0,ed.useRef)(""),[c,d]=(0,ed.useState)(""),u=(0,ed.useRef)({x:-1,y:-1}),p=(0,ed.useRef)({x:-1,y:-1}),[m,h]=(0,ed.useState)(0),[f,g]=(0,ed.useState)(""),[b,y]=(0,ed.useState)("Filter"),[w,x]=(0,ed.useState)({curNum:0,totalNum:0}),S=(0,ed.useRef)(null),[T,M]=(0,ed.useState)("layer"),I=(0,ed.useRef)(0),A=(0,ed.useRef)(!0),D=(0,ed.useRef)(null),E=(o==null?void 0:o.height)||0,N=(0,ed.useMemo)(()=>new Object({expandIcon:BNt("tree-expand"),collapseIcon:BNt("tree-collapse")}),[]),R=(0,ed.useCallback)((oe,re)=>{re.expand?e.add(oe.id):e.has(oe.id)&&e.delete(oe.id),VZe(t.panelTreeData)},[t.panelTreeData]),v=(0,ed.useCallback)((oe,re)=>{let{title:Y,iconCls:X,args:ie,treeNodeType:de,originId:fe}=oe,ye=ie.i18n,Le=ie.checkOutType,Re;Le&&Le!=="none"&&(Re=VAr(GZe(Le))),X=GAr(de,fe,X),ye&&(Y=s(Y)),[st.PANEL_OBJECT_NODE,st.PANEL_COMBINATION_OBJECT_NODE,st.PANEL_COMBINATION_ROOT_NODE].includes(de)&&(Y=K(oe));let Ne=(Te,Pe)=>{if(Te=Te.replace(/\</g,"&lt;").replace(/\>/g,"&gt;"),[st.PANEL_OBJECT_LAYER_NODE,st.PANEL_OBJECT_ROOT_NODE,st.PRJ].includes(Pe))return Te;let Oe=jd(f);Oe=Oe.split(" ");let Ue,Ve=[];return Oe.forEach(ze=>{ze=ze.replace(/\</g,"&lt;").replace(/\>/g,"&gt;");let He=new RegExp(ze,"ig");Ue?(Ve=[...new Set(Ve)],Ve.forEach(Ye=>{Ue=Ue.replace(Ye,"^|^")}),Ue=Ue.replace(He,Ye=>Ye?`<span class=${BZe.hightlight}>${Ye}</span>`:""),Ve.forEach(Ye=>{Ue=Ue.replace("^|^",Ye)})):Ue=Te&&Te.replace(He,Ye=>(Ye&&Ve.push(`<span class=${BZe.hightlight}>${Ye}</span>`),Ye?`<span class=${BZe.hightlight}>${Ye}</span>`:""))}),Ue||Te};return(0,DM.jsxs)(DM.Fragment,{children:[X&&(0,DM.jsx)("span",{className:BNt(X),style:{width:"16px",height:"16px",margin:"0 2px"}}),Re&&(0,DM.jsx)("span",{className:`${Re}`,style:{width:"16px",height:"16px",margin:"0 2px"}}),(0,DM.jsx)("span",{dangerouslySetInnerHTML:{__html:Ne(Y,de)},title:Y})]})},[m,f]),k=(0,ed.useCallback)((oe,re)=>{let Y=p.current.x,X=p.current.y,{x:ie,y:de}=u.current;if(X===de&&Y===ie)return;u.current={x:Y,y:X};let fe=t.getTreeNodeItemByUniqueId(oe.id),{treeNodeType:ye,originId:Le}=fe;[st.PANEL_OBJECT_NODE,st.PANEL_COMBINATION_OBJECT_NODE].includes(ye)?kr("highlightById",[Le],void 0,!0):ye===st.PANEL_COMBINATION_ROOT_NODE&&kr("highlightCombination",[Le],void 0,!0),c!==void 0&&d(void 0)},[c,u.current.x,u.current.y]),P=(0,ed.useCallback)((oe,re)=>{let{id:Y}=oe,X=t.getTreeNodeItemByUniqueId(Y),{treeNodeType:ie,originId:de}=X;[st.PANEL_OBJECT_NODE,st.PANEL_COMBINATION_OBJECT_NODE].includes(ie)?kr("unhighlightById",[de],void 0,!0):[st.PANEL_COMBINATION_ROOT_NODE].includes(ie)&&kr("unhighlightCombination",[de],void 0,!0),u.current={x:-1,y:-1},c!==void 0&&d(void 0)},[c]);(0,ed.useEffect)(()=>(D.current&&r(D.current),()=>{n()}),[D.current]);let O=(0,ed.useCallback)((oe,re)=>(0,DM.jsx)(aZi,{sourceData:oe,lineData:re}),[]),_=(0,ed.useCallback)(async(oe,re,Y,X,ie)=>{ie.stopPropagation();let de=zNt(t.filterTreeData[0]),{treeNodeType:fe,originId:ye,id:Le,parentId:Re}=re;if(!ie.shiftKey&&!ie.ctrlKey){let Ne=de.findIndex(Te=>Te.id===Le);SY.setStart(Ne)}if(l.current=re.id,ie.detail===1){let Ne=function(){var Ue;let Te=i.selectedNodes.find(Ve=>[st.PANEL_COMBINATION_ROOT_NODE,st.PANEL_COMBINATION_OBJECT_NODE].includes(Ve.treeNodeType));if(!Te)return fe===st.PANEL_OBJECT_NODE&&!t.isEleInCombination(ye)?!1:fe===st.PANEL_COMBINATION_ROOT_NODE?Re!=="Combination":!0;let{id:Pe}=Te.parent,Oe;return Oe=(Ue=t.getTreeNodeItemByUniqueId(Le))==null?void 0:Ue.parent.id,Oe!==Pe};if(ie.shiftKey){let Xe=function(Ge,Ke){let pt="";switch(Ge){case st.PANEL_OBJECT_NODE:t.isEleInCombination(Ke)?pt=de.filter(rt=>rt.originId===Ke)[1].parentId:pt="top";break;case st.PANEL_COMBINATION_OBJECT_NODE:pt=de.filter(ut=>ut.originId===Ke)[1].parentId;break;case st.PANEL_COMBINATION_ROOT_NODE:let{parentId:ot}=de.find(Qe=>Qe.originId===Ke);pt=ot==="Combination"?"top":ot;break;default:break}return pt},Te=SY.getStart();if(!Te)return;let Pe=de.findIndex(Ge=>Ge.id===Le),{treeNodeType:Oe,originId:Ue}=de[Te],{treeNodeType:Ve}=de[Pe],ze=de.slice(Math.min(Te,Pe),Math.max(Te,Pe)+1),He=Xe(Oe,Ue),Ye=Xe(Ve,ye);if(He!==Ye)return bO();let ke=[],Be=[];if(ze.forEach(Ge=>{if(Xe(Ge.treeNodeType,Ge.originId)===He)switch(Ge.treeNodeType){case st.PANEL_COMBINATION_OBJECT_NODE:case st.PANEL_OBJECT_NODE:{ke.push(Ge.originId);break}case st.PANEL_COMBINATION_ROOT_NODE:{Be.push(Ge.originId);break}default:break}}),Be.length>0){await Pt(kt.Panel.SelectCombination,[Be]);for(let Ge=0;Ge<Be.length;Ge++){let{elements:Ke}=await Pt(kt.Panel.GetAllCombinationAndElesFromTop,[Be[Ge]]);Ke.length===0&&i.selectedIds.push(Be[Ge]),ke.push(...Ke)}}ke.length>0&&(kr("selectById",[ke,{notReleaseActive:!1,isLeftTree:!0}]),kr("highlightItems",[ke,{scrollElementsIntoView:!1}])),C.messageBus.publish("panel_updateAttrPanel"),bO(),$N()}else if(ie.ctrlKey&&i.selectedIds.length>0){if(Ne())return bO();let Te=i.selectedNodes.map(Pe=>Pe.originId);if(Te.includes(ye)&&Te.length>1)kr("unSelectById",[[ye]]);else{let Pe=[],Oe=[];Te.push(ye),Te.forEach(Ue=>{let Ve=t.flattenData.find(ze=>ze.originId===Ue);Ve.treeNodeType===st.PANEL_COMBINATION_ROOT_NODE?Oe.push(Ue):Ve.treeNodeType===st.PANEL_OBJECT_NODE&&Pe.push(Ue)});for(let Ue=0;Ue<Oe.length;Ue++){let{elements:Ve}=await Pt(kt.Panel.GetAllCombinationAndElesFromTop,[Oe[Ue]]);Ve.length===0&&i.selectedIds.push(Oe[Ue]),Pe.push(...Ve)}await Pt(kt.Panel.SelectCombination,[Oe]),kr("selectById",[Pe,{notReleaseActive:!1,isLeftTree:!0}]),kr("highlightItems",[Pe,{scrollElementsIntoView:!1}])}C.messageBus.publish("panel_updateAttrPanel"),bO(),$N()}else switch(i.setSelect([Le]),kr("select_none"),fe){case st.PANEL_OBJECT_NODE:await zZe(ye);break;case st.PANEL_COMBINATION_OBJECT_NODE:await UZe(re);break;case st.PANEL_COMBINATION_ROOT_NODE:await FZe(re);break}}if(ie.detail===2){kr("select_none");let{treeNodeType:Ne,originId:Te}=re;switch(Ne){case st.PANEL_OBJECT_NODE:kr("selectById",[[Te],{notReleaseActive:!1,isLeftTree:!0}]),C.messageBus.publish("panel_updateAttrPanel"),bO(),C.messageBus.publish("updateMenuByDocStatus"),kr("highlightItems",[[Te],{scrollElementsIntoView:!0}]);break;case st.PANEL_COMBINATION_OBJECT_NODE:await Pt(kt.Panel.EditCombination,[re.parent.id]),kr("selectById",[[Te],{notReleaseActive:!1,isLeftTree:!0}]),kr("highlightItems",[[Te],{scrollElementsIntoView:!0}]),C.messageBus.publish("panel_updateAttrPanel"),bO();break;case st.PANEL_COMBINATION_ROOT_NODE:let{elements:Pe}=await Pt(kt.Panel.GetAllCombinationAndElesFromTop,[Te]);if(kr("highlightItems",[Pe,{scrollElementsIntoView:!0}]),await Pt(kt.Panel.EditCombination,[Te]),await Pt(kt.Panel.SelectCombination,[[Te]]),C.messageBus.publish("panel_updateAttrPanel"),Pe.length>0)bO();else{let{treeManager:Oe}=Ffe(st.PANEL_OBJECT_ROOT_NODE),Ue=await Pt(kt.Panel.GetEditCombinationId);Oe.editCombinationId=Ue,i.setSelect([Te])}break;default:i.setSelect([re.id]);break}}},[]),j=(0,ed.useCallback)((oe,re)=>{re.stopPropagation(),b6e.onMouseDown(oe,re)},[]),B=(0,ed.useCallback)((oe,re)=>{re.stopPropagation(),b6e.onMouseMove(oe,re)},[]),V=(0,ed.useCallback)((oe,re)=>{re.stopPropagation(),b6e.onMouseUp()},[]),G=(0,ed.useCallback)((oe,re,Y)=>{oe==="prev"&&!re&&(x(X=>({...X,curNum:X.curNum-1})),d(S.current[w.curNum-2].id),l.current=S.current[w.curNum-2].id),oe==="next"&&!Y&&(x(X=>({...X,curNum:X.curNum+1})),d(S.current[w.curNum].id),l.current=S.current[w.curNum].id)},[w.curNum,w.totalNum]),Q=(0,ed.useCallback)(oe=>{g(oe.trim())},[]),H=(0,ed.useCallback)(oe=>{y(oe)},[b]),q=(0,ed.useCallback)(oe=>{I.current=oe.scrollTop},[m]),U=(0,ed.useCallback)((oe,re)=>{M(oe),oe==="layer"&&(I.current=0,h(m+1))},[m,I.current]),F=(oe=!0)=>{let re=ie=>![st.PANEL_COMBINATION_OBJECT_NODE,st.PANEL_COMBINATION_ROOT_NODE,st.PANEL_OBJECT_NODE].includes(ie),Y=(ie,de)=>{let fe=[];return ie.forEach(ye=>{let{treeNodeType:Le,args:Re,parentId:Ne}=ye,Te=Re.i18n?s(ye.title):K(ye);if(ye.children.length>0){let Pe=Y(ye.children,de);if(Pe.length>0||re(Le)){let Oe=Object.assign({},ye);Oe.children=Pe,fe.push(Oe),!e.has(Ne)&&oe&&e.add(Ne)}else if(Te.search(new RegExp(jd(de),"i"))!=-1||re(Le)){let Oe=Object.assign({},ye);delete Oe.children,fe.push(Oe),!e.has(Ne)&&oe&&e.add(Ne)}}else(Te.search(new RegExp(jd(de),"i"))!=-1||re(Le))&&(fe.push(ye),!e.has(Ne)&&oe&&e.add(Ne))}),fe},X=Y(t.panelTreeData,f);if(f){let ie=t.flattenData.filter(de=>{let{args:fe,treeNodeType:ye}=de;return(fe.i18n?s(de.title):K(de)).search(new RegExp(jd(f),"i"))!=-1&&!re(ye)});x(de=>(ie.length>0?(de.curNum=1,de.totalNum=ie.length,d(ie[0].id)):(de.curNum=0,de.totalNum=0),{...de})),S.current=ie}b==="Filter"&&t.setFilterTreeData(X)};(0,ed.useEffect)(()=>{F(!0)},[f,b]),(0,ed.useEffect)(()=>{F(!1)},[t.panelTreeData]);function K(oe){let{id:re,name:Y}=oe,{type:X,category:ie,dimensionType:de,text:fe}=oe.args,ye;return["Text","Rect","Ellipse","Shape","Image","Dimension","Dimension Length","Dimension Angle","Dimension Radius","Auxiliary Line","Horizontal Auxiliary Line","Vertical Auxiliary Line","Auxiliary Point","CombinationGroup","Elliptical Arc"].includes(X)?(ye=X==="Dimension"?s({context:"dimensionType",value:ie})+"-"+s(de):X==="CombinationGroup"?s("Combination"):s(X),ye+fe.replace(/[eCG]/g,"")+(Y?":"+Y:"")):oe.title}async function te(oe,re){if(A.current){A.current=!1;try{let{panelTreeDataStore:Y}=us,{treeList:X}=Y,ie=Y.treeList.findIndex(fe=>fe===re),de=re;oe==="UP"&&ie-1>0?de=Y.treeList[ie-1]:oe==="DOWN"&&ie+1<X.length?de=Y.treeList[ie+1]:de=re,await ae(de)}finally{A.current=!0}}}async function ae(oe){let re=t.getTreeNodeItemByUniqueId(oe),{treeNodeType:Y,originId:X}=re;if(l.current!==oe)switch(l.current=oe,pe(oe),Y){case st.PANEL_OBJECT_NODE:i.setSelect([oe]),await zZe(X);break;case st.PANEL_COMBINATION_OBJECT_NODE:i.setSelect([oe,X]),await UZe(re);break;case st.PANEL_COMBINATION_ROOT_NODE:i.setSelect([oe]),await FZe(re);break;default:i.setSelect([oe]),kr("select_none");break}}function pe(oe){let{flattenData:re}=t,Y=re.findIndex(X=>X.id===oe);if(Y>-1){let X=Y*JB,{height:ie}=D.current.getBoundingClientRect()||{},de=D.current.firstChild.firstChild.scrollTop;if(de>X-JB)I.current=Math.max(X-JB,0),h(m+1);else if(de+ie-JB<X+JB){let fe=re.length*JB-ie;I.current=Math.min(X-ie+JB*2,fe),h(m+1)}}}Gs("mouseup",()=>{b6e.onMouseUp()});let Z=(0,ed.useCallback)(async(oe,re,Y,X,ie)=>{if(ln.isViewerMode)return;ie.stopPropagation(),ie.preventDefault();let{treeNodeType:de,originId:fe,id:ye}=re;switch(i.selectedIds.includes(ye)||kr("select_none"),pl.open({menuConfig:oZi(re),position:{x:ie.pageX-5,y:ie.pageY-5},windowInstance:a}),de){case st.PANEL_OBJECT_NODE:await zZe(fe);break;case st.PANEL_COMBINATION_OBJECT_NODE:await UZe(re);break;case st.PANEL_COMBINATION_ROOT_NODE:i.setSelect([ye]),await FZe(re);break;default:i.setSelect([ye]);break}},[a]),ee=async()=>{var de;let{keyCode:oe}=us.keyBoardStore.keyboardValue,re=l.current||i.selectedIds[0];if(!oe||!C.mousePlace.isInLeftPanel()||!re)return;let Y=t.getTreeNodeItemByUniqueId(re);if(!Y&&![33,34].includes(+oe))return;let{parentId:X}=Y,ie=((de=Y.children[0])==null?void 0:de.id)||"";switch(oe){case 13:YAr(Y,i,e);break;case 38:u.current=p.current,te("UP",re);break;case 40:u.current=p.current,te("DOWN",re);break;case 27:let{treeManager:fe}=Ffe(st.PANEL_OBJECT_ROOT_NODE);C.messageBus.publish("EscKeyDown");let{editPathId:ye,editCombinationId:Le}=fe;ye?(kr("endEditingPath"),fe.editPathId=""):Le&&(await Pt(kt.Panel.EditCombination,[!1]),fe.editCombinationId=""),h(m+1);break;case 37:{let Pe=e.expandKeys.has(re),Oe=e.expandKeys.has(X);Pe?e.delete(re):Oe&&(e.delete(X),ae(X))}break;case 39:{let Pe=e.expandKeys.has(re);Y.children.length>0&&!Pe&&e.add(re),Y.children.length>0&&Pe&&ae(Y.children[0].id)}break;case 46:let{treeNodeType:Re,children:Ne,originId:Te}=Y;Re===st.PANEL_COMBINATION_ROOT_NODE&&Ne.length===0?kr("deleteEmptyCombination",[[Te]]):kr("delete"),_l(st.PANEL_OBJECT_ROOT_NODE);break;case 33:ce("up");break;case 34:ce("down");break;case 35:ne("end");break;case 36:ne("top");break;default:break}};function ce(oe){let{height:re}=D.current.getBoundingClientRect()||{};if(oe==="up")I.current=Math.max(I.current-re,0);else{let Y=t.flattenData.length*JB;I.current=Math.min(I.current+re,Y-re)}h(m+1)}function ne(oe){if(oe==="top")I.current=0;else{let re=t.flattenData.length*JB,{height:Y}=D.current.getBoundingClientRect()||{};I.current=re-Y}h(m+1)}return Ce(e,()=>(VZe(t.panelTreeData),!0)),Ce(us.keyBoardStore,()=>(ee(),!1)),(0,DM.jsxs)(DM.Fragment,{children:[(0,DM.jsx)(nZi,{activeType:T,onChange:U}),(0,DM.jsx)(_B,{handleInputChangeCb:Q,handleModeChangeCb:H,filterValue:f,resultValue:w,clickPrevNextCb:G}),(0,DM.jsx)("div",{className:BZe.panelTreeDiv,ref:D,onContextMenu:oe=>{oe.stopPropagation(),oe.preventDefault(),!ln.isViewerMode&&pl.open({menuConfig:iZi(),position:{x:oe.pageX-5,y:oe.pageY-5},windowInstance:a})},onMouseMove:oe=>{p.current.x=oe.pageX,p.current.y=oe.pageY},children:(0,DM.jsx)(XKi,{data:f&&b==="Filter"?t.filterTreeData:t.panelTreeData,expandedIds:Array.from(e.expandKeys),containerHeight:E+"px",itemHeight:`${JB}px`,showTagLine:!0,isVirtualList:!0,treeWidgetItemWidth:"16px",selectedIds:i.selectedIds,hoverNodeId:c,initContainerScrollTop:I.current,onVirtualScroll:q,itemRender:v,topBufferSize:10,bottomBufferSize:10,extendIcon:N,isPropagationOnExtend:!1,onClick:_,onExpand:R,onContextMenu:Z,onMouseEnter:k,onMouseLeave:P,onMouseMove:B,onMouseDown:j,onMouseUp:V,visibleLockControl:O,multiSelect:!0,notAutoSelect:!0})})]})};async function zZe(t){let{eleInCombination:e}=kr("isEleInCombination",[t]);e?await Pt(kt.Panel.EditCombination,[e]):await Pt(kt.Panel.EditCombination,[!1]),kr("selectById",[[t],{notReleaseActive:!1,isLeftTree:!0}]),C.messageBus.publish("panel_updateAttrPanel"),C.messageBus.publish("updateMenuByDocStatus"),kr("highlightItems",[[t],{scrollElementsIntoView:!1}])}async function FZe(t){let{selectedIdStore:e}=us,{originId:i}=t;await Pt(kt.Panel.GetEditCombinationId)&&t.parent.treeNodeType===st.PANEL_OBJECT_ROOT_NODE&&Pt(kt.Panel.EditCombination,[!1]),t.parent&&t.parent.treeNodeType===st.PANEL_COMBINATION_ROOT_NODE?(await Pt(kt.Panel.EditCombination,[t.parent.id]),await Pt(kt.Panel.SelectCombination,[[i]])):await Pt(kt.Panel.SelectCombination,[[i]]),C.messageBus.publish("panel_updateAttrPanel");let{elements:r}=await Pt(kt.Panel.GetAllCombinationAndElesFromTop,[i])||{};if((r==null?void 0:r.length)===0&&t.parent){let{treeManager:n}=Ffe(st.PANEL_OBJECT_ROOT_NODE),a=await Pt(kt.Panel.GetEditCombinationId);n.editCombinationId=a,e.setSelect([i])}kr("highlightItems",[r,{scrollElementsIntoView:!1}])}async function UZe(t){let{originId:e}=t;t.parent.treeNodeType===st.PANEL_COMBINATION_ROOT_NODE&&(await Pt(kt.Panel.EditCombination,[t.parent.id]),kr("selectById",[[e],{notReleaseActive:!1,isLeftTree:!0}]),kr("highlightItems",[[e],{scrollElementsIntoView:!1}]),C.messageBus.publish("panel_updateAttrPanel"))}function GAr(t,e,i){if(dt()!==se.PANEL||!e)return i;let{treeManager:o}=Ffe(st.PANEL_OBJECT_ROOT_NODE),r;return t===st.PANEL_COMBINATION_ROOT_NODE?r=o.editCombinationId:[st.PANEL_OBJECT_NODE,st.PANEL_COMBINATION_OBJECT_NODE].includes(t)&&(r=o.editPathId),r===e?i+" icon-color-red":i}function YAr(t,e,i){let{treeNodeType:o,originId:r,id:n}=t;switch(kr("select_none"),o){case st.PANEL_OBJECT_NODE:zZe(r);break;case st.PANEL_COMBINATION_OBJECT_NODE:UZe(t);break;case st.PANEL_COMBINATION_ROOT_NODE:FZe(t);default:e.setSelect([n]),i.has(n)?i.delete(n):i.add(n);break}}var dZi=HAr;var FNt=class extends qe{constructor(){super(...arguments);this.panelTreeData=[];this.flattenData=[];this.filterTreeData=[];this.treeList=[]}setProjectData(i){let o=this.handleOriginData(i);this.panelTreeData=[o],this.flattenData=zNt(this.panelTreeData[0]);let{expandKeysStore:r,visibleLockKeysStore:n}=us;it(this.flattenData,(s,l)=>{if(l.children.length>0&&r.allHasChildIds.add(l.id),![st.PANEL_OBJECT_LAYER_NODE,st.PANEL_OBJECT_ROOT_NODE].includes(l.treeNodeType)){let{originId:c}=l;n.setVisible(c,l.args.visible),n.setLock(c,l.args.lock),l.args.eyeGrayType&&a(l.args.eyeGrayType)?n.setGray(c,!0):n.setGray(c,!1)}}),VZe(this.panelTreeData),r.expandAll(),this.notify();function a(s){return s.combination||s.filter||s.layer}}setFilterTreeData(i){this.filterTreeData=i,this.notify()}handleOriginData(i){let o={id:i.attributes.name,treeNodeType:i.treeNodeType,title:i.attributes.name,children:r(i.children),args:i.attributes,iconCls:i.iconCls,originId:i.attributes.name,parent:i.parent,parentId:""};function r(a){return a.length===0?[]:a.map(s=>({id:n(s),treeNodeType:s.treeNodeType,title:s.text,name:s.attributes.name,children:r(s.children),args:s.attributes,iconCls:s.iconCls,originId:s.attributes.id,parent:s.parent,parentId:n(s.parent)}))}function n(a){switch(a.treeNodeType){case st.PANEL_OBJECT_LAYER_NODE:case st.PANEL_OBJECT_ROOT_NODE:return a.attributes.name;case st.PANEL_COMBINATION_ROOT_NODE:return"G"+a.id;case st.PANEL_COMBINATION_OBJECT_NODE:return"C"+a.id;case st.PANEL_OBJECT_NODE:return a.id;default:break}}return o}initDataKeys(){let{expandKeysStore:i,visibleLockKeysStore:o}=us;i.clear(),o.clear()}getTreeNodeItemByUniqueId(i){return this.flattenData.filter(o=>o.id===i)[0]}isEleInCombination(i){return this.flattenData.filter(o=>o.originId===i).length>1}},UNt=class extends qe{constructor(){super(...arguments);this.expandKeys=new Set;this.collapseKeys=new Set;this.allHasChildIds=new Set}clear(){this.expandKeys.clear(),this.collapseKeys.clear(),this.allHasChildIds.clear()}add(i,o,r){this.expandKeys.add(i),this.collapseKeys.delete(i),!o&&this.notify()}delete(i,o,r){this.expandKeys.delete(i),this.collapseKeys.add(i),!o&&this.notify()}has(i){return this.expandKeys.has(i)}expandAll(){this.allHasChildIds.forEach(i=>{this.collapseKeys.has(i)||(this.expandKeys.add(i),this.collapseKeys.delete(i))}),this.notify()}collapseAll(){this.allHasChildIds.forEach(i=>{this.expandKeys.delete(i),this.collapseKeys.add(i)}),this.notify()}},VNt=class extends qe{constructor(){super(...arguments);this.visibleKeys=new Set;this.lockKeys=new Set;this.grayKeys=new Set}setVisible(i,o){o?this.visibleKeys.add(i):this.visibleKeys.delete(i),this.notify()}setLock(i,o){o?this.lockKeys.add(i):this.lockKeys.delete(i),this.notify()}setGray(i,o){o?this.grayKeys.add(i):this.grayKeys.delete(i),this.notify()}isVisible(i){return this.visibleKeys.has(i)}islock(i){return this.lockKeys.has(i)}isGray(i){return this.grayKeys.has(i)}clear(){this.visibleKeys.clear(),this.lockKeys.clear(),this.grayKeys.clear()}},HNt=class extends qe{constructor(){super(...arguments);this.selectedIds=[];this.selectedNodes=[]}setSelect(i){let o=[],{panelTreeDataStore:r}=us;i.map(n=>{let a=r.flattenData.find(s=>s.originId===n);if(!a)o.push(n);else{let{treeNodeType:s}=a;if(s===st.PANEL_COMBINATION_ROOT_NODE)o.push("G"+n);else if(s===st.PANEL_OBJECT_NODE){o.push(n);let{eleInCombination:l}=kr("isEleInCombination",[n],void 0,!0);l&&o.push("C"+n)}}}),this.selectedIds=o,this.selectedNodes=r.flattenData.filter(n=>this.selectedIds.includes(n.id)),this.notify()}},us=class{};us.panelTreeDataStore=new FNt,us.expandKeysStore=new UNt,us.visibleLockKeysStore=new VNt,us.selectedIdStore=new HNt,us.panelRightClickTreeItemData=null,us.keyBoardStore=new L8;function zNt(t){let e=i=>{let o=[];return i.forEach(r=>{o.push(r),r.children&&r.children.length>0&&o.push(...e(r.children))}),o};return e([t])}var VZe=t=>{let{expandKeysStore:e,panelTreeDataStore:i}=us,o=r=>{let n=[];return r.map(a=>{let s=e.expandKeys.has(a.id);n.push(a.id,...s&&a.children?o(a.children):[])}),n};i.treeList=o(t)};var GNt={new_board:Er,new_schematic:Er,new_page:Er,new_PCB:Er,new_Panel:Er,file_save:je,importDXF:je,insertImage:je,importSpecctraSession:je,importNetlist:je,undo:je,redo:je,repeat:je,cut:je,paste:je,undefined:je,duplicate:je,duplicatePaste:je,duplicateToCursor:je,duplicateToOtherLayer:je,copySpecial:je,copyToImage:je,copyToSvg:je,copyToPng:je,MOVE_BY_CENTER_POINT:je,MOVE_BY_ORIGIN_POINT:je,MOVE_BY_REFERENCE_POINT:je,delete:je,"delete-target":je,"delete-all":je,mergeAsClosedLine:je,dispersedAsIndependentLine:je,Split:je,"draw(RCutout)":je,"draw(CCutout)":je,"draw(PCutout)":je,avoidSlots:je,avoidPads:je,CONVERT_TO_PAD:je,CONVERT_TO_2D_LINE:je,CONVERT_TO_SLOT_REGION:je,CONVERT_TO_FILL_REGION:je,CONVERT_TO_COPPER_REGION:je,CONVERT_TO_PROHIBITED_REGION:je,CONVERT_TO_BOARD_OUTLINE:je,CONVERT_TO_CONSTRAINT_REGION:je,CONVERT_TO_D3_SHELL_OUTLINE:je,CONVERT_TO_D3_SHELL_SLOT_REGION:je,CONVERT_TO_D3_SHELL_ENTITY:je,CONVERT_TO_FPC_STIFFENER:je,toggleAdsorb:je,editArray:je,ADD_FILLET:je,ADD_CHAMFER:je,boolIntersection:je,boolAggregate:je,boolSubtraction:je,boolExclusive:je,boolSplit:je,unlockAll:je,showAll:je,Unit:()=>{let t=!1,e=dt();return(e==ve.PCB||e==ve.FOOTPRINT)&&(t=FCe()),t},"unit(mm)":je,"unit(mil)":je,"unit(inch)":je,setGridRange:je,horizontal_tile_tab:()=>{var n,a;let t=he.getTileStatus(),e=he.getFilterTabs(["0"]).length<=1,i=t==="horizontal"||t==="horizontal_all",o=(((a=(n=he.containerTree)==null?void 0:n.children)==null?void 0:a.length)||0)>=he.containerSize,r=he.containerIds.some((s,l)=>{var u,p,m;let c=l===he.containerIds.length-1,d=(m=(p=(u=It.containerInfo[s])==null?void 0:u.tabs)==null?void 0:p.filter(h=>!["tab_page1","0"].includes(h.tabId)))==null?void 0:m.length;return d&&!(c&&o)&&d>1});return e||i&&!r},vertical_tile_tab:()=>{var n,a;let t=he.getTileStatus(),e=he.getFilterTabs(["0"]).length<=1,i=t==="vertical",o=(((a=(n=he.containerTree)==null?void 0:n.children)==null?void 0:a.length)||0)>=he.containerSize,r=he.containerIds.some((s,l)=>{var u,p,m;let c=l===he.containerIds.length-1,d=(m=(p=(u=It.containerInfo[s])==null?void 0:u.tabs)==null?void 0:p.filter(h=>!["tab_page1","0"].includes(h.tabId)))==null?void 0:m.length;return d&&!(c&&o)&&d>1});return e||i&&!r},tile_all__tab:()=>{var a,s,l,c;let t=he.getTileStatus(),e=he.getFilterTabs(["0"]).length<=1,i=t==="all"||t==="horizontal_all",o=(s=(a=he.containerTree)==null?void 0:a.children)==null?void 0:s.length,r=o&&o>=he.containerSize&&!!((c=(l=he.containerTree)==null?void 0:l.children[o-1])!=null&&c.children),n=he.containerIds.some((d,u)=>{var h,f,g;let p=u===he.containerIds.length-1,m=(g=(f=(h=It.containerInfo[d])==null?void 0:h.tabs)==null?void 0:f.filter(b=>!["tab_page1","0"].includes(b.tabId)))==null?void 0:g.length;return m&&!(p&&r)&&m>1});return e||i&&!n},merge_all_tab:()=>he.containerIds.length<=1,"place_part(via)":je,PlaceSinglePad:je,"place_part(polygonpad)":je,placeDevice:je,"draw(wire)":je,"draw(bus)":je,"place_part(netlabel)":je,"place_special_part(short_symbol)":je,"place_part(noconnect)":je,"place_part(junction)":je,"place_shortcut_device(test_point)":je,"draw(block)":je,"draw(polyline)":je,"draw(pen)":je,"draw(dimension-xy)":je,"draw(measure-length)":je,"draw(arc)":je,"draw(bezier)":je,"place_part(testPad)":je,"place_part(autoTestPad)":je,"draw(circle)":je,"draw(ellipse)":je,"draw(rect)":je,showTextDialog:je,showTextDialog_pcb:je,editTable:je,"place_part(stack_table)":je,"place_part(drill_table)":je,"place_part(3dShellScrewPillar)":je,"draw(3dShellSideSlotDatumLine)":je,importChangesFromSch:()=>je()||!Nl||!Eu,importChangesFromPcb:()=>Er()||!Nl||!Eu,updateSchematicNetPort:je,generateOrUpdateBlockSymbol:je,reuseTemplateLayoutAndRoute:je,ref_designator_annotate:je,pcb_design_rule:je,placeTransfer:Er,updateComponent:Er,resetUniqueId:FCe,projectSheetSetting:Er,"draw(track)":je,"draw(stretchtrack)":je,"draw(difftrack)":je,equalLengthTuning:je,diffPairEqualLengthTuning:je,"auto-routing":je,pcbBatchFanout:je,removeLoop:je,autoLayout:je,groupSelected:je,joinGroup:je,removeFromGroup:je,reuseLayoutRoute:je,ungroupSelected:je,ungroupAll:je,"set-attr-text-position":je,swapLocation:je,flip2OppositeSide:je,absoluteOffset:je,relativeOffset:je,align_left:je,align_right:je,align_top:je,align_bottom:je,checkIfSelectAlignRefObject:je,align_horizontal_center:je,align_vertical_center:je,checkIfSelectAlignRefObjectForCenters:je,align_grid:je,distribute_horizontal_equidistant:je,distribute_vertical_equidistant:je,distribute_left_side_edge_equidistant:je,distribute_top_side_edge_equidistant:je,distribute_horizontal_by_center_distance:je,distribute_vertical_by_center_distance:je,distribute_horizontal_by_edges_distance:je,distribute_vertical_by_edges_distance:je,distribute:je,component_distribute_by_region:je,rotate_ccw:je,rotate_left:je,rotate_right:je,rotate_reference_point:je,fliph:je,flipv:je,fliph_reference_point:je,flipv_reference_point:je,raise_one_level:je,lower_one_level:je,bring_to_front:je,send_to_back:je,"command-tool":je,teardrop:je,openPanelizeDlg:je,removeUnusedPadDlg:je,connectPads:je,layerOptionsSet:je,viewCopperAreaManager:je,"opensubmenu-distribute":je,align_horizontal_equidistant:je,align_vertical_equidistant:je,"opensubmenu-duplicate-panel":je,"opensubmenu-duplicate":je,"opensubmenu-move":je,"opensubmenu-delete":je,Cutout:je,"opensubmenu-booleanoperation":je,"opensubmenu-group":je,"opensubmenu-offset":je,"opensubmenu-align":je,"opensubmenu-rotate":je,"opensubmenu-flip":je,"opensubmenu-level":je,Command:je,removeUnusedPad:je,"opensubmenu-gridsize-pcb":TS,"opensubmenu-snapsize":je,PlaceViaFence:je};var P4=L(Se());var YNt=L(pZi());var Jd=L(z()),WAr="_",YZe="cacheRecoveryDlg",MY=new hT(0),WNt=!1,QAr=t=>{let e=J();Ae(YNt.default);let i=be.bind(YNt.default.locals),o=(0,P4.useRef)(void 0),r=(0,P4.useRef)(void 0),[n,a,s]=La(),[l,c]=(0,P4.useState)(""),[d,u]=(0,P4.useState)(!0),[p,m]=(0,P4.useState)(null),[h,f]=(0,P4.useState)(null),[g,b]=(0,P4.useState)([]),[y,w]=(0,P4.useState)("");(0,P4.useEffect)(()=>(r.current&&a(r.current),()=>{s()}),[r.current]),(0,P4.useEffect)(()=>()=>{WNt=!1},[]);let x=[{name:e("name"),key:"name",width:.6,ellipsis:!0,sortable:!0},{name:e("Update Time"),key:"time",width:.4,ellipsis:!0,sortable:!0}],S=(0,P4.useCallback)(E=>E.substr(0,E.lastIndexOf(WAr)),[]),T=E=>{try{let N=/%[0-9A-Fa-f]{2}/g,R=/[%<>:"\/\\|?*#\x00-\x1F]/g;return E.replace(N,k=>{R.lastIndex=0;let P=decodeURIComponent(k);return R.test(P)?P:k})}catch{return E}},M=(0,P4.useMemo)(()=>{function E(P){let O=[];return it(P,(_,j)=>{if(!j.length)return;let B=j[0].time,V="";if(wi){let Q=j[0].fileName;V=S(Q)}let G={id:_,fileFolder:V,name:_,time:B};O.push(G)}),O.sort((_,j)=>j.time-_.time),it(O,(_,j)=>{j.time=ue.formatDate2(new Date(j.time))}),O}let N="[\\^$.|?*+()",R="";for(let P=0;P<l.length;P++){let O=l[P];N.includes(O)?R+="\\"+O:R+=O}let v=new RegExp(R,"i"),k={};return it(p,(P,O)=>{O.length?v.test(P)&&(k[P]=O):delete p[P]}),E(k)},[l,p]);(0,P4.useEffect)(()=>{function E(v){let k={};it(v,(P,O)=>{let{fileName:_,ctimeMs:j}=O,B=T(S(_)),V={time:j,title:B,fileName:_};k[B]=k[B]||[],k[B].push(V)}),it(k,(P,O)=>{k[P]=O.sort((_,j)=>j.time-_.time)}),MY.info("\u5904\u7406\u540E...",k),m(k)}function N(v){let k={};it(v,(P,O)=>{O.originTitle=O.title,O.title=decodeURIComponent(O.title),k[O.title]=k[O.title]||[],k[O.title].push(O)}),it(k,(P,O)=>{k[P]=O.sort((_,j)=>j.time-_.time)}),MY.info("\u5904\u7406\u540E...",k),m(k)}async function R(){let v=[];if(wi){let{message:k}=await C.messageBus.rpcCall(Ei.CLIENT.CACHE_LIST);k.success&&(v=k.result),E(v)}else v=(await C.messageBus.rpcCall(Yo.PROJECT_CACHE.GET_INDEXS)).message,N(v);MY.info("end.........."),u(!1),MY.info("list...",v)}R()},[]),(0,P4.useEffect)(()=>{var E;M.length?(E=o.current)==null||E.toSelectRow(M[0]):(b([]),w(""),f(null))},[M]);let I=async()=>{if(MY.info("\u9009\u62E9\u7684\u6570\u636E...",h),h){let E=h.id,N=p[E];if(!N||!N.length)return;let R=y,v=R&&Number(R),k=N.filter(P=>P.time===v)[0];if(MY.info("\u9009\u62E9\u7684\u5DE5\u7A0B...",k,v),!k)return De({type:"info",msg:"Please select data first!",timer:3});if(wi){let{message:P}=await C.messageBus.rpcCall(Ei.CLIENT.GET_CACHE,[k.fileName]);cd(P,T(k.fileName),Lo.PRJ)}else{let{message:P}=await C.messageBus.rpcCall(Yo.PROJECT_CACHE.GET,[[k.uuid,k.time,k.originTitle]]);if(P){let O=qB(k.title,!1,k.time);ya(P.data,O+Lo.PRJ)}else Ot("error","No matching data found in the cache!")}}},A=()=>{Ut({type:"confirm",title:"Warning",message:"Will remove all histories record of this project, do you want to continue?",textOK:"OK",textCancel:"Cancel",closable:!0,showCancel:!0,onConfirm:async()=>{if(MY.info("\u9009\u62E9\u7684\u6570\u636E...",h),h){let E=h.id,N=p[E];if(!N||!N.length)return De({type:"info",msg:"Please select data first!",timer:3});let R;if(wi){let k=h.fileFolder,P={path:C.currentProject.projectId,dir:k},O={withCredentials:!1},{message:_}=await C.messageBus.rpcCall(Ei.CLIENT.DELETE_CACHE,[P,O]);R=_.success}else{let k=N.map(O=>[O.uuid,O.time,O.originTitle]),{message:P}=await C.messageBus.rpcCall(Yo.PROJECT_CACHE.DEL_LOTS,[k]);R=!P.failedData.length}R&&(delete p[E],m(Object.assign({},p)));let v=R?"successfully deleted!":"failed to delete!";De({type:"success",msg:v,timer:3})}}})},D=async()=>{if(MY.info("\u9009\u62E9\u7684\u6570\u636E...",h),h){let E=h.id,N=p[E];if(!N||!N.length)return;let R=y,v=R&&Number(R),k=N.filter(P=>P.time===v)[0];if(MY.info("\u9009\u62E9\u7684\u5DE5\u7A0B...",k,v),!k)return De({type:"info",msg:"Please select data first!",timer:3});if(wi){let{message:P}=await C.messageBus.rpcCall(Ei.CLIENT.GET_CACHE,[k.fileName]),O=new File([P],k.fileName);bme([O])}else{let{message:P}=await C.messageBus.rpcCall(Yo.PROJECT_CACHE.GET,[[k.uuid,k.time,k.originTitle]]);if(P){let O=(await C.messageBus.rpcCall(qr.UNZIP,{file:P.data})).message;if(!O.success){Ot("error",O.message);return}let _=O.result,j=Object.assign(_||{},{config:{title:k.title}}),B=j.schematics;it(B,(Q,H)=>{H.origin=!0});let V=Object.keys(B),G=j.block_symbol;await Ro(G,async(Q,H)=>{let{message:q}=await C.messageBus.rpcCall($e.SCHEMATIC.GET_NAME_BY_UUID,[H.title,C.currentProject.projectId]);V.includes(q)&&(H.origin=!0)}),c5e(j)}else Ot("error","No matching data found in the cache!")}le.close(YZe)}};return(0,Jd.jsxs)(Jd.Fragment,{children:[(0,Jd.jsxs)("div",{className:i("cacheRecoveryDlg"),children:[(0,Jd.jsxs)("div",{className:i("left"),children:[(0,Jd.jsx)("div",{className:i("label"),"data-test":"Project List",children:e("Project List")}),(0,Jd.jsxs)("div",{className:i("content"),children:[(0,Jd.jsxs)("div",{className:i("filterEl"),children:[(0,Jd.jsx)("input",{type:"text",value:l,onChange:E=>c(E.target.value),onFocus:E=>E.target.select()}),(0,Jd.jsx)("span",{className:i("icon searchIcon icon-eda-zoom")}),l&&(0,Jd.jsx)("span",{className:i("icon comm-fittinginput-clear"),onClick:()=>c(""),children:(0,Jd.jsx)("i",{className:i("icon-eda-x-circle-small"),style:{fontSize:"1.5rem"}})})]}),(0,Jd.jsx)("div",{className:i("container"),children:d?(0,Jd.jsx)("div",{className:i("window-loading"),style:{width:"100%",height:"100%",overflow:"hidden"},children:(0,Jd.jsx)("div",{style:{textAlign:"center",width:"100%",height:"100%",verticalAlign:"middle",margin:"50% auto",transform:"translateY(-50%)"},children:(0,Jd.jsx)("span",{className:i("rotation"),style:{display:"inline-block"},children:(0,Jd.jsx)("i",{className:i("icon-eda-loading"),style:{width:"52px",height:"52px"}})})})}):(0,Jd.jsx)("div",{ref:r,style:{display:"block",height:"100%"},"data-test":"cacheRecoveryTable",children:(0,Jd.jsx)(xi,{ref:o,index:"id",height:(n==null?void 0:n.height)||325,columns:x,rows:M,border:!0,openVirtualScroll:!1,isCtrlSelect:!1,isShiftSelect:!1,onClick:E=>{var N,R;if((N=E==null?void 0:E.clickObj)!=null&&N.e&&(WNt=!0),E.row){let k=p[E.row.id].sort((P,O)=>O.time-P.time).map(P=>({value:P.time,label:ue.formatDate2(new Date(P.time)),style:{marginBottom:"0px",width:"100%"}}));b(k),w(((R=k[0])==null?void 0:R.value)||""),f(E.row)}},onContextMenu:()=>{}})})})]})]}),(0,Jd.jsxs)("div",{className:i("right"),children:[(0,Jd.jsx)("div",{className:i("label historical"),"data-test":"Histories record",children:e("Histories record")}),(0,Jd.jsx)("div",{className:i("content"),children:(0,Jd.jsx)("div",{className:i("container"),children:d?(0,Jd.jsx)("div",{className:i("window-loading"),style:{width:"100%",height:"100%",overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,Jd.jsx)("span",{className:i("rotation"),style:{display:"inline-block"},children:(0,Jd.jsx)("i",{className:i("icon-eda-loading"),style:{width:"52px",height:"52px"}})})}):(0,Jd.jsx)("div",{className:i("list"),children:(0,Jd.jsx)($i,{value:y,options:g,layoutVertical:!0,subRadioStyle:{lineHeight:"24px"},onChange:E=>w(E),style:{writingMode:"unset",width:"100%"}})})})})]})]}),(0,Jd.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"8px"},children:[(0,Jd.jsx)(Me,{size:"md",disabled:!h,type:"primary",onClick:()=>I(),children:"Export"}),(0,Jd.jsx)(Me,{size:"md",disabled:!h,type:"primary",onClick:()=>A(),children:"Remove"}),(0,Jd.jsx)(Me,{size:"md",disabled:!h,type:"primary",onClick:()=>D(),children:"Recover"}),(0,Jd.jsx)(Me,{size:"md",onClick:()=>le.close(YZe),children:"Cancel"})]})]})},mZi=()=>{le.open({id:YZe,title:"Cache Recovery",width:800,height:500,esc:!0,mask:!1,children:(0,Jd.jsx)(QAr,{})})},hZi=()=>le.isOpen(YZe)&&WNt;var fZi=L(Vi());var KAr={1:"home",7:"view3d",8:"view2d",9:"panelview3d"},ZAr={1:"editor",3:"not_select_canvas"},w6e=class w6e{static performCmd(e){if(!KAr[e.range]||!ZAr[e.scene])return!1;let i=KNt();if(e.scene!==i)return!1;let o=dt(),r=JAr(o),n=e.function;return!r||e.range!==r?!1:(w6e.hooks[n]?w6e.hooks[n].call(null,{cmd:n,args:e.args,keyStr:e.keyStr,keyCode:e.keyCode}):console.warn("home_hotkey ",n+" does not exist!"),C.messageBus.publish("sensorsEventsReport",{eventName:"hotkey",eventData:{hotkey:e.keyStr,function:e.funcE}}),!0)}};w6e.hooks={"openMenu(#mm-common-tools)":function(e={}){s5(e)},close_tab:function(){C.messageBus.publish("doCommand_ui",["close_tab"])},close_all_tabs:function(){C.messageBus.publish("doCommand_ui",["close_all_tabs"])},"openMenu(#mm-common-fabrication2)":function(e={}){s5(e)},"opensubmenu-export":function(e={}){s5(e)},closeProject:function(e={}){et(e.cmd)},"toolbar_toggle(topbar)":function(e={}){et(e.cmd)},"toolbar_toggle(leftbar)":function(e={}){et(e.cmd)},"toolbar_toggle(rightbar)":function(e={}){et(e.cmd)},exportPng:function(e={}){et(e.cmd)},switchVersion:function(e={}){et(e.cmd)},historicalRecords:function(e={}){et(e.cmd)},export3DFile:function(e={}){et(e.cmd)},export3DShellFile:function(e={}){et(e.cmd)},"zoom(in)":function(e={}){et(e.cmd)},"zoom(out)":function(e={}){et(e.cmd)},fitview:function(e={}){et(e.cmd)},"opensubmenu-gridsize-pcb":function(e={}){s5(e.cmd)},gridSnapKeepRatio:function(e={}){et(e)},setGridSize:function(e={}){et(e.cmd)},setGridRange:function(e={}){et(e.cmd)},"opensubmenu-snapsize":function(e={}){s5(e)},"opensubmenu-gridtype-pcb":function(e={}){s5(e)},"switchGridType(outlets)":function(e={}){et(e.cmd)},"switchGridType(grid)":function(e={}){et(e.cmd)},"switchGridType(none)":function(e={}){et(e.cmd)},"opensubmenu-new":function(e={}){s5(e)},"opensubmenu-import":function(e={}){s5(e)},new_device:function(e={}){e.cmd="new_device",e.args={docType:se.PART},et(e.cmd,e.args)},new_NetFlag:function(e={}){e.cmd="new_device",e.args={docType:se.NETFLAG},et(e.cmd,e.args)},new_NetPort:function(e={}){e.cmd="new_device",e.args={docType:se.NETPORT},et(e.cmd,e.args)},new_OffPageConnector:function(e={}){e.cmd="new_device",e.args={docType:se.OFF_PAGE_CONNECTOR},et(e.cmd,e.args)},new_Drawing:function(e={}){e.cmd="new_device",e.args={docType:se.SHEET_SYMBOL},et(e.cmd,e.args)},new_Non_Electronic:function(e={}){e.cmd="new_device",e.args={docType:se.NONEELEC_SYMBOL},et(e.cmd,e.args)},new_schematicLib:function(e={}){et(e.cmd)},new_footprint:function(e={}){et(e.cmd)},new_3D_model:function(e={}){et(e.cmd)},new_CBB:function(e={}){et(e.cmd)},"show_help_file(part_store)":function(e={}){et(e.cmd)},"show_help_file(pcb_manu_facturing)":function(e={}){et(e.cmd)},"show_help_file(3d_cnc)":function(e={}){et(e.cmd)},standard_edition_migration:function(e={}){et(e.cmd)},cacheRecovery:function(e={}){et(e.cmd)},"importFile(easyeda)":function(e={}){et(e.cmd)},file_open:function(e={}){et(e.cmd)},"importFile(altium)":function(e={}){et(e.cmd)},"importFile(eagle)":function(e={}){et(e.cmd)},"importFile(kicad)":function(e={}){et(e.cmd)},"importFile(pads)":function(e={}){et(e.cmd)},"importFile(protel)":function(e={}){et(e.cmd)},"importFile(ltspice)":function(e={}){et(e.cmd)},clearRecentList:function(e={}){et(e.cmd)},"commonButtonsSetting(SYSTEM)":function(e={}){et(e.cmd)},"commonButtonsSetting(CATEGORY)":function(e={}){et(e.cmd)},"commonButtonsSetting(BASE_LIBRARY)":function(e={}){et(e.cmd)},"commonButtonsSetting(CANVAS)":function(e={}){et(e.cmd)},"commonButtonsSetting(OBJECT)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_FOOTPRINT)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_THEME)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_COMM_GRID_SIZE)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_COMM_TRACK_WIDTH)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_COMM_VIA_SIZE)":function(e={}){et(e.cmd)},"commonButtonsSetting(ADSORPTION)":function(e={}){et(e.cmd)},"commonButtonsSetting(PANEL_CANVAS)":function(e={}){et(e.cmd)},"commonButtonsSetting(PANEL_THEME)":function(e={}){et(e.cmd)},"commonButtonsSetting(COMM_TYPEFACE)":function(e={}){et(e.cmd)},"commonButtonsSetting(DESIGN)":function(e={}){et(e.cmd)},"commonButtonsSetting(PROPERTY)":function(e={}){et(e.cmd)},"commonButtonsSetting(HOTKEY)":function(e={}){et(e.cmd)},"commonButtonsSetting(CUSTOM_TOOLBAR)":function(e={}){et(e.cmd)},"commonButtonsSetting(SAVE)":function(e={}){et(e.cmd)},"show_help_file(community)":function(e={}){et(e.cmd)},"show_help_file(contact)":function(e={}){et(e.cmd)},show_about:function(e={}){et(e.cmd)},"openMenu(#mm-common-file)":async function(e={}){s5(e)},"openMenu(#mm-common-sim)":async function(e={}){s5(e)},"openMenu(#mm-common-simWaveform)":function(e={}){s5(e)},"openMenu(#mm-common-view)":function(e={}){s5(e)},"openMenu(#mm-common-advanced)":function(e={}){s5(e)},"openMenu(#mm-common-order)":function(e={}){s5(e)},"openMenu(#mm-common-settings)":function(e={}){s5(e)},"openMenu(#mm-common-help)":function(e={}){s5(e)},openProject:function(e={}){et(e.cmd)},newProject:function(e={}){et("new_project")},full_screen:function(e={}){C.messageBus.publish("doCommand_ui",["fullScreen",{keyCode:e.keyCode}])},save_all:function(e={}){et("save_all")},operateBottomPanel:function(e={}){(0,fZi.default)("#layout_toggler_bottom").data("allow-open",!0),et("toolbar_toggle(bottombar)")},tutorials:function(){et("tutorials")},stop_video_capture:function(){et("stop_video_capture")},show_videocapture:function(){et("show_videocapture")}};var C6e=w6e;function KNt(){switch(dt()){case se.VIEW3D:case se.PHOTOVIEW:case se.PANEL3D:return 3;default:return 1}}function JAr(t){switch(t){case se.VIEW3D:return 7;case se.PHOTOVIEW:return 8;case se.PANEL3D:return 9;default:return 1}}async function s5(t){switch(dt()){case se.VIEW3D:case se.PHOTOVIEW:case se.PANEL3D:{let i=(await C.messageBus.rpcCall("/view/getMouseRecorder")).message;et(t.cmd,i);return}default:{let i=(await C.messageBus.rpcCall("/ui/getMouseRecorder")).message;i.notFrame=!0,et(t.cmd,i);break}}}function gZi(t){let e=Array.from(t.querySelectorAll('[data-tagitem="search-category-treelist-container"]'));for(let i=0;i<e.length;i++)e[i].style.overflow="hidden"}function bZi(t){let e=Array.from(t.querySelectorAll('[data-tagitem="search-category-treelist-container"]'));for(let i=0;i<e.length;i++)e[i].style.overflow="auto"}var qAr=[ve.SCH,ve.PCB,ve.PANEL];function XAr(t){return!!(Je?Object.keys(C.lcscPublicProject).includes(t):C.lcscPublicProject.find(i=>i.uuid==t&&i.members.every(o=>{var r;return o.uuid!==((r=C.globalVariableCookieData.userInfo)==null?void 0:r.uuid)})))}function ZNt(){let t=WZe();De({type:"warn",msg:t,timer:3})}function WZe(){let t;return XAr(C.currentProject.projectId)&&(t=me.i18n("The current project is an official case, which cannot be saved after modification. You can save it and modify it later."),Ot("warn",t)),t}async function Ufe(t,e,i={code:0,message:"",success:!0}){let o=he.getTabById(t);if(!(o!=null&&o.data))throw new Error("tabId Error");let r=o.data.doctype,n;qAr.includes(r)&&(n=WZe()),Ko||!wi?await yae("saveCheckPermissionsTool",t,e):await wae("saveCheckPermissionsTool",t,e),(i.code===yO||i.code===x6e)&&(De({type:"error",msg:i.message||"Save failed!",timer:3}),Ot("error",[Ti("You don't have permission to save!")])),n&&De({type:"warn",msg:n,timer:3})}async function yZi(){Ko||!wi?await yae("saveProjectFile"):await wae("saveProjectFile")}var wZi=[{size:"md",style:{marginRight:"8px"},messageBusName:"replaceAll",btnText:"Replace All",disable:Er,display:"none"},{size:"md",style:{marginRight:"8px"},messageBusName:"replaceCurrent",btnText:"Replace Current",disable:Er,display:"none"},{size:"md",style:{marginRight:"8px"},messageBusName:"findAll",btnText:"Find All",disable:!1,display:"block"},{size:"md",style:{marginRight:"8px"},messageBusName:"findPrev",btnText:"Find Previous(P)",disable:!1,display:"block"},{size:"md",style:{marginRight:"8px"},messageBusName:"findNext",btnText:"Find Next(N)",disable:!1,display:"block"},{size:"md",btnText:"Cancel",disable:!1,display:"block"}],Cae=[{value:"blur",text:"Blur",dataTest:"Blur"},{value:"equal",text:"Equal",dataTest:"Equal"}],CZi=[{value:"current_schematic",text:"Current Schematic",disabled:!1,forDoctype:"1"},{value:"project",text:"Project",disabled:!1,forDoctype:"1"},{value:"current_sheet",text:"Current Page",disabled:!1,forDoctype:"1"},{value:"all_part",text:"All Part",disabled:!1,forDoctype:"2"},{value:"current_part",text:"Current Part",disabled:!1,forDoctype:"2"},{value:"current_select",text:"Current Page Selected Objects",disabled:!0,forDoctype:"1,2"}],JNt=[{value:"part,block_symbol",label:"Components",checked:!0,forDoctype:"1"},{value:"netlabel,netflag,netport,offPageConnector,short_symbol,wire,bus",label:"Net",checked:!0,forDoctype:"1"},{value:"pin",label:"Pins",checked:!0,forDoctype:"2"},{value:"text",label:"Texts",checked:!0,forDoctype:"2"}],xZi=[{value:"regular",label:"Use Regular[*?]",checked:!1,disabled:!1},{value:"case",label:"Match case",checked:!1,disabled:!1},{value:"expression",label:"Use expression",checked:!1,disabled:!1}];var QZe=class extends qe{constructor(){super(...arguments);this.isShowReplaceDiv=!1;this.findScopeMethod=Cae[0].value;this.findValue="";this.replaceValue="";this.findAttrValue="all";this.cacheFindAttrValueMap=new Map;this._specialPropertyKeyRenderData=null;this._keyDownP=!1;this._keyDownN=!1;this.findValueInputIsBlur=!0}initBasicFindAttribute(i){this.basicFindAttribute=i}initCustomFindAttribute(i){this.customFindAttribute=i}get findAttrValueRender(){return this.findAttrValue}set findAttrValueRender(i){this.findAttrValue=i,this.cacheFindAttrValueMap.set(dt(),i),this.notify()}get findValueRender(){return this._specialPropertyKeyRenderData?this._specialPropertyKeyRenderData.find(o=>o.value===this.findValue)?this.findValue:this._specialPropertyKeyRenderData[0].value:this.findValue}set findValueRender(i){this.findValue=i,this.notify()}get replaceValueRender(){return this._specialPropertyKeyRenderData?this._specialPropertyKeyRenderData.find(o=>o.value===this.replaceValue)?this.replaceValue:this._specialPropertyKeyRenderData[0].value:this.replaceValue}set replaceValueRender(i){this.replaceValue=i,this.notify()}get isShowReplaceDivRender(){return this.isShowReplaceDiv}set isShowReplaceDivRender(i){this.isShowReplaceDiv=i,this.notify()}get findScopeMethodRender(){return this.findScopeMethod}set findScopeMethodRender(i){this.findScopeMethod=i,this.notify()}get specialPropertyKeyRenderData(){return this._specialPropertyKeyRenderData}set specialPropertyKeyRenderData(i){this._specialPropertyKeyRenderData=i,this.notify()}get keyDownP(){return this._keyDownP}set keyDownP(i){this._keyDownP=i,i&&this.notify()}get keyDownN(){return this._keyDownN}set keyDownN(i){this._keyDownN=i,i&&this.notify()}setFindContentSelectDataRender(i){this.findContentSelectDataRender=i;let o=this.cacheFindAttrValueMap.get(dt());i.findIndex(r=>r.value===o)>-1?this.findAttrValue=o:this.findAttrValue="all"}};var KZe=class extends qe{constructor(){super(...arguments);this.cacheSchLibFindObjectData=[];this.cacheSchFindObjectData=[];this.findObjectDataRender=[]}initFindObjectDataRender(i=!1){let o=dt();if(pr(o)){if(this.cacheSchLibFindObjectData.length>0)this.findObjectDataRender=this.cacheSchLibFindObjectData;else{let r=ue.deepClone(JNt);this.findObjectDataRender=r.filter(n=>n.forDoctype==="2")}this.cacheSchLibFindObjectData=this.findObjectDataRender}else this.cacheSchFindObjectData.length>0?this.findObjectDataRender=this.cacheSchFindObjectData:this.findObjectDataRender=ue.deepClone(JNt),this.cacheSchFindObjectData=this.findObjectDataRender;i&&this.notify()}setFindObjectDataRender(i,o){this.findObjectDataRender=this.findObjectDataRender.map(r=>(r.value===i&&(r.checked=o),r)),this.whenCloseDialog(),this.notify()}whenCloseDialog(){let i=dt();pr(i)?this.cacheSchLibFindObjectData=this.findObjectDataRender:this.cacheSchFindObjectData=this.findObjectDataRender}getSearchFindObjectParam(){return this.findObjectDataRender.reduce((i,o)=>(o.checked&&(i=i.concat(o.value.split(","))),i),[])}};var ZZe=[{value:"",translateContext:!0,optionText:"Any"},{value:"part",translateContext:!1,optionText:"Component"},{value:"block_symbol",translateContext:!1,optionText:"Reuse Block"},{value:"Component Name/Property",translateContext:!0,optionText:"Component Name/Property"},{value:"Net Name/Property",translateContext:!0,optionText:"Net Name/Property"},{value:"netlabel",translateContext:!1,optionText:"Netlabel"},{value:"wire",translateContext:!1,optionText:"Wire"},{value:"bus",translateContext:!1,optionText:"Bus"},{value:"netflag",translateContext:!1,optionText:"Net Flag"},{value:"netport",translateContext:!1,optionText:"Net Port"},{value:"offPageConnector",translateContext:!1,optionText:"Off Page Connector"},{value:"diffPairsFlag",translateContext:!1,optionText:"Differential Pairs Flag"},{value:"short_symbol",translateContext:!1,optionText:"ShortSymbol"},{value:"maskregion",translateContext:!1,optionText:"Mask Region"},{value:"pin",translateContext:!1,optionText:"Pin",display:"block",symboleditenable:!0},{value:"noconnect",translateContext:!1,optionText:"No Connect Flag"},{value:"polyline",translateContext:!1,optionText:"Polyline"},{value:"arc",translateContext:!1,optionText:"Arc"},{value:"bezier",translateContext:!1,optionText:"Bezier"},{value:"ellipse",translateContext:!1,optionText:"Ellipse"},{value:"circle",translateContext:!1,optionText:"Circle"},{value:"rect",translateContext:!1,optionText:"Rectangle"},{value:"text",translateContext:!1,optionText:"Text"},{value:"obj",translateContext:!1,optionText:"Image"}],JZe=[{value:"",translateContext:!0,optionText:"Any"},{value:"pin",translateContext:!1,optionText:"Pin"},{value:"Pin Name/Property",translateContext:!0,optionText:"Pin Name/Property"},{value:"arc",translateContext:!1,optionText:"Arc"},{value:"bezier",translateContext:!1,optionText:"Bezier"},{value:"ellipse",translateContext:!1,optionText:"Ellipse"},{value:"circle",translateContext:!1,optionText:"Circle"},{value:"rect",translateContext:!1,optionText:"Rectangle"},{value:"text",translateContext:!1,optionText:"Text"},{value:"obj",translateContext:!1,optionText:"Image"}];var TZi=[{value:"current_schematic",optionText:"Current Schematic",display:"block",disable:!1,forDoctype:"1,26",class:""},{value:"project",optionText:"Project",display:"block",disable:!1,forDoctype:"1,0,26",class:""},{value:"current_sheet",optionText:"Current Page",display:"block",disable:!1,forDoctype:"1",class:""},{value:"all_part",optionText:"All Part",display:"block",disable:!1,forDoctype:"2,20",class:""},{value:"current_part",optionText:"Current Part",display:"block",disable:!1,forDoctype:"2,20",class:""},{value:"current_select",optionText:"Current Page Selected Objects",display:"block",disable:!0,forDoctype:"1,2,20",class:""}],qZe=[{value:"any",optionText:"Any"}],SZi=[{name:"regular",value:"Use Regex",checked:!1,disabled:!1},{name:"case",value:"Match case",checked:!1,disabled:!1},{name:"expression",value:"Use expression",checked:!1,disabled:!1}],xae=[{value:"any",optionText:"Any"},{value:"contain",optionText:"Contain"},{value:"except",optionText:"Not Contain"},{value:"equal",optionText:"Equal"},{value:"notequal",optionText:"Not equal to"}],XZe=[{value:"any",optionText:"Any"},{value:"value",optionText:"Value Displayed"},{value:"not_value",optionText:"Value Not Displayed"}],DX=[{value:"any",optionText:"Any"},{value:"only_key",optionText:"Only Key Displayed"},{value:"only_value",optionText:"Only Value Displayed"},{value:"both",optionText:"Both Displayed"},{value:"both_not",optionText:"Both Not Displayed"},{value:"value",optionText:"Value Displayed"},{value:"not_value",optionText:"Value Not Displayed"}],MZi=[{text:"Property",translateContext:!0,class:"title"},{text:"Condition",translateContext:!0,class:""},{text:"Property Value",translateContext:!1,class:""},{text:"Display",translateContext:!1,class:""}],IZi=[{i18n:"Find All",size:"md",style:{marginRight:"8px"},class:"",messageBusName:"all",btnType:"primary",btnText:"Find All",disable:!1},{i18n:"Previous",size:"md",style:{marginRight:"8px"},class:"prev",messageBusName:"findPrev",btnType:"default",btnText:"Previous(P)",disable:!1},{i18n:"Next",size:"md",style:{marginRight:"8px"},class:"next",messageBusName:"findNext",btnType:"default",btnText:"Next(N)",disable:!1},{i18n:"Cancel",size:"md",class:"",btnType:"default",btnText:"Cancel",disable:!1}];var $Ze=class extends qe{constructor(){super(...arguments);this.findRangeValue="";this.findRangeSelectData=[];this.findRangeSelectDataRender=[];this.cacheSchFindRangeValue="";this.cacheSchLibFindRangeValue=""}async initFindRangeSelectData(i=!1){let{rangeSchList:o=[]}=(await C.messageBus.rpcCall("getBOMNetListSelectList",C.tabId)).message;o.length>0&&(o=o.filter(s=>s.boardName&&s.value));let r=[];o.length>0&&o.forEach(s=>{r.push({value:s.value,text:s.boardName,disabled:!1,forDoctype:"1,26"})});let n=ue.deepClone(CZi),a=n.findIndex(s=>s.value==="project");n.splice(a+1,0,...r),this.findRangeSelectData=n,this.setFindRangeSelectDataRender(ue.deepClone(n)),i&&this.notify()}setFindRangeSelectDataRender(i,o=!1){let r=dt();if(r)if(pr(r)){if(this.findRangeSelectDataRender=i.reduce((n,a)=>((a.forDoctype==="2"||a.forDoctype==="1,26"||a.forDoctype==="1,2")&&n.push(a),n),[]),this.cacheSchLibFindRangeValue){let n=this.findRangeSelectDataRender.find(a=>a.value===this.cacheSchLibFindRangeValue);n&&!n.disabled?this.findRangeValue=this.cacheSchLibFindRangeValue:this.findRangeValue="all_part"}else this.findRangeValue="all_part";this.cacheSchLibFindRangeValue=this.findRangeValue}else{if(this.findRangeSelectDataRender=i.reduce((n,a)=>((a.forDoctype==="1"||a.forDoctype==="1,26"||a.forDoctype==="1,2")&&n.push(a),n),[]),this.cacheSchFindRangeValue){let n=this.findRangeSelectDataRender.find(a=>a.value===this.cacheSchFindRangeValue);n&&!n.disabled?this.findRangeValue=this.cacheSchFindRangeValue:this.findRangeValue="current_schematic"}else this.findRangeValue="current_schematic";this.cacheSchFindRangeValue=this.findRangeValue}else(this.findRangeValue==="current_schematic"||this.findRangeValue==="current_sheet"||this.findRangeValue==="current_select")&&(this.findRangeValue="project",this.findRangeSelectDataRender=i.filter(n=>n.value!=="current_sheet"&&n.value!=="current_schematic"));o&&this.notify()}setFindRangeValue(i){this.findRangeValue=i,this.whenCloseDialog(),this.notify()}whenCloseDialog(){let i=dt();i&&(pr(i)?this.cacheSchLibFindRangeValue=this.findRangeValue:this.cacheSchFindRangeValue=this.findRangeValue)}getSearchFindRangeParam(i){return{range:this.findRangeValue,rangeIds:this.getRangeIds(i)}}getRangeIds(i){let o=[];return this.findRangeValue==="current_schematic"?o.push(Zj()):this.findRangeValue==="project"?o.push(C.currentProject.projectId):this.findRangeValue==="current_sheet"||this.findRangeValue==="all_part"||this.findRangeValue==="current_part"?o.push(gi()):this.findRangeValue==="current_select"?o=o.concat(this.getSelectedIds(i)):o.push(this.findRangeValue),o}getSelectedIds(i){let o=[];return XB().forEach(n=>{let{cmdKey:a,id:s,modelType:l}=n;if(l==="NetGroup"&&(i.includes("wire")||i.includes("bus"))&&(n.children.forEach(c=>{if(c.cmdKey==="wire"||c.cmdKey==="bus"){let d=n.id;o.push(d)}}),n==null||n.netNames.forEach(c=>{o.push(c.id)})),i.includes(a))if(a==="wire"||a==="bus"){let c=n.parent.id;o.push(c)}else o.push(s)}),Array.from(new Set(o))}};var qNt=class extends qe{constructor(){super(...arguments);this.dlgContainerId="dlgFind";this.findContentStore=new QZe;this.findRangeStore=new $Ze;this.findObjctStore=new KZe;this.findInputFormatData=xZi;this.findInResultChecked=!1;this.cacheFindParam=null}async initDialog(){await this.findRangeStore.initFindRangeSelectData(),this.findObjctStore.initFindObjectDataRender();let{basicAttrs:i=[],customAttrs:o=[]}=(await C.messageBus.rpcCall("sch/findReplace/getFindAttribute",this.findRangeStore.findRangeValue)).message;this.findContentStore.initBasicFindAttribute(i),this.findContentStore.initCustomFindAttribute(o)}closeDialog(){this.findRangeStore.whenCloseDialog(),this.findObjctStore.whenCloseDialog()}setFindInputFormatData(i,o,r){r&&(this.findInputFormatData=this.findInputFormatData.map(n=>(i==="regular"?(n.value===i&&(n.checked=o),n.value==="expression"&&n.checked&&(n.checked=!1)):i==="expression"?(n.value===i&&(n.checked=o),n.value==="regular"&&n.checked&&(n.checked=!1)):n.value===i&&(n.checked=o),n))),!r&&this.findContentStore.findScopeMethodRender===Cae[0].value&&(this.findInputFormatData=this.findInputFormatData.map(n=>({...n,checked:!1,disabled:!1}))),!r&&this.findContentStore.findScopeMethodRender===Cae[1].value&&(this.findInputFormatData=this.findInputFormatData.map(n=>({...n,checked:!1,disabled:!0}))),this.notify()}setFindInResultChecked(i,o=!0){this.findInResultChecked=i,o&&this.notify()}getSearchFindContentParam(i){let o=[],r=this.findContentStore.findScopeMethodRender,n=this.findContentStore.findValueRender;this.findInputFormatData.find(s=>s.value==="expression").checked&&(r="expression"),this.findInputFormatData.find(s=>s.value==="regular").checked&&(r="regular",n=n.replace(/\+/g,"\\+").replace(/\./g,"\\."),n=n.replace(/\*/g,()=>"(.*)"),n=n.replace(/\?/g,()=>"(.)"));let a=this.findInputFormatData.find(s=>s.value==="case").checked;return this.findContentStore.findAttrValueRender==="all"?this.findContentStore.findContentSelectDataRender.forEach(s=>{s.value==="all"||s.value==="Basic Properties"||s.value==="Custom Properties"||o.push({title:ue.htmlEncode(i(s.text)),attrName:s.value,case:a,mode:r,value:Kr(n)?n:String.raw`${n}`,isOr:!0})}):o.push({title:ue.htmlEncode(i(this.findContentStore.findAttrValueRender)),mode:r,case:a,value:Kr(n)?n:String.raw`${n}`,attrName:this.findContentStore.findAttrValueRender}),o}get findInResultCheckedDisabled(){var o;let i=((o=lr.showTableData)==null?void 0:o.length)>0;return!i&&this.findInResultChecked&&this.setFindInResultChecked(!1,!1),i}findInPreResult(i,o){let r=[];return i.forEach(n=>{o.forEach(a=>{for(let s in n.matchedAttrs){let l=n.matchedAttrs[s];if(l.attr!==a.attrName){o.length===1&&l.attr!=="ID"&&delete n.matchedAttrs[s];continue}a.mode==="blur"||a.mode==="expression"||a.mode==="regular"?String(l.value).match(new RegExp(a.value,a.case?"":"i"))&&r.push(n):a.mode==="equal"||a.type==="equal"?(a.value=a.value.replace(/\\/g,""),(a.value===String(l.value)||a.value+"(Default)"===n.value)&&r.push(n)):(a.mode==="notequal"||a.type==="notequal")&&(a.value=a.value.replace(/\\/g,""),a.value!==String(l.value)&&r.push(n))}})}),this.groupResult(r)}groupResult(i){let o={};i.forEach((s,l)=>{let c=`${s.sheet}#${s.id}`;o[c]?(o[c].matchedAttrs[s.name]={attr:s.attr,cn_attr:s.name,value:s.value},o[c].index.push(l)):(s.index=[l],s.matchedAttrs=s.matchedAttrs?s.matchedAttrs:{[s.name]:{attr:s.attr,cn_attr:s.name,value:s.value}},o[c]=s)});let r=Object.values(o),n=[],a=[];return r.forEach(s=>{s.cmdKey==="part"?n.push(s):a.push(s)}),n.concat(a)}schFindReplaceDialogInterceptHotKey(i){return le.isOpen(this.dlgContainerId)&&(i===80||i===78)?(i===80&&(this.findContentStore.keyDownP=!0),i===78&&(this.findContentStore.keyDownN=!0),!0):!1}},XB=()=>{let t=self.SCH.docMemoryManager.docMap.get(he.getActiveSheetId()).docManager;if(pr(dt()))return t.shapeManager.selectManager.get();{let e=t.projectMgr.selectMgr.getTarget()[gi()];return e?e.map(i=>t.idManager.get(i)).filter(Boolean):[]}},fc=new qNt;var XNt=class extends qe{constructor(){super(...arguments);this.dlgContainerId="find-similar";this._typeTitle=null;this._typePropertyKey="";this._typePropertyKeySelect=[...qZe];this._findRange=null;this._findRangeSelect=[...TZi];this._basePropertyGroup=null;this._keyPropertyGroup=null;this._morePropertyGroup=null;this._combinationGroup=null;this._reuseBlockGroup=null;this._findRegularRules=[...SZi];this._allFindSimilarContain=xae[0].value;this._allInput="";this._allFindSimilarAllDisplay=DX[0].value;this.cacheFindRangeMap=new Map;this.cacheFindParam=null;this._keyDownP=!1;this._keyDownN=!1;this.updateFindRangeSelect=async(i,o=!0,r=!0)=>{var s,l,c;let n=dt();if((l=(s=C)==null?void 0:s.currentProject)!=null&&l.projectId&&o){let{rangeSchList:d=[]}=(await C.messageBus.rpcCall("getBOMNetListSelectList",C.tabId)).message;d.length>0&&(d=d.filter(m=>m.boardName&&m.value));let u=[];d.length>0&&d.forEach(m=>{u.push({value:m.value,optionText:m.boardName,display:"block",disabled:!1,forDoctype:"1,26",class:"added"})}),this._findRangeSelect=this._findRangeSelect.filter(m=>m.class==="");let p=this._findRangeSelect.findIndex(m=>m.value==="project");this._findRangeSelect.splice(p+1,0,...u)}this._findRangeSelect=this._findRangeSelect.map(d=>(d.forDoctype.split(",").map(u=>+u).includes(n)?d.display="block":d.display="none",d));let a=this.cacheFindRangeMap.get(n);a&&((c=this._findRangeSelect.find(d=>d.value===a))==null?void 0:c.display)==="block"?!r&&a==="current_select"?this._findRange=this._findRangeSelect.find(d=>d.display==="block").value:this._findRange=a:this._findRange=this._findRangeSelect.find(d=>d.display==="block").value,i&&this.notify()}}async initDialog(i){let{basePropertyGroup:o,keyPropertyGroup:r,morePropertyGroup:n,combinationGroup:a,reuseBlockGroup:s,typeTitle:l,typePropertyKey:c,componentNamePropertyKeyData:d,netNamePropertKeyData:u,pinNamePropertKeyData:p}=i;if(this._basePropertyGroup=o,this._keyPropertyGroup=r,this._morePropertyGroup=n,this._combinationGroup=a,this._reuseBlockGroup=s,this._typeTitle=l,this._typePropertyKey=c!=null?c:"",d||u||p){let m=d||u||p;m&&(this._typePropertyKeySelect=qZe.concat(m.map(h=>({value:h.propertyKey,optionText:h.propertyTitle}))))}await this.updateFindRangeSelect(!1,!0),this.notify()}getFindSimilarParam(){var c,d,u,p,m;let i=kl(dt()),o=this._findRange,r=[];this._typeTitle&&this._typePropertyKey?r.push([this._typeTitle,this._typePropertyKey]):this._typeTitle?r.push(this._typeTitle):i?JZe.forEach(h=>{h.value&&r.push(h.value)}):ZZe.forEach(h=>{h.value&&r.push(h.value)});let n=[];(c=this._basePropertyGroup)!=null&&c.length&&(n=n.concat(this.getConditionItem(this._basePropertyGroup))),(d=this._keyPropertyGroup)!=null&&d.length&&(n=n.concat(this.getConditionItem(this._keyPropertyGroup))),(u=this._morePropertyGroup)!=null&&u.length&&(n=n.concat(this.getConditionItem(this._morePropertyGroup))),(p=this._combinationGroup)!=null&&p.length&&(n=n.concat(this.getConditionItem(this._combinationGroup))),(m=this._reuseBlockGroup)!=null&&m.length&&(n=n.concat(this.getConditionItem(this._reuseBlockGroup)));let a=Array.isArray(r[0])&&(r[0].includes("Component Name/Property")||r[0].includes("Net Name/Property")||r[0].includes("Pin Name/Property"));if(this._findRange==="current_select"&&a){if(r[0][1]==="any"){let h=n.splice(0,1)[0];h&&this._typePropertyKeySelect.forEach(f=>{n.push({...h,title:Rr({value:f.optionText,context:"attrs"}),attrName:f.value})})}r=["text"]}let s=this.getRangeIds(r),l=n.filter(h=>h.type!=="any");if(l.length)if(a){let h=[];n[0]&&h.push(n[0]);let f=n.filter(g=>g.type!==this._allFindSimilarContain);h.length&&(f=h.concat(f)),f.length&&(n=f.map(g=>({...g,isOr:!1})))}else{n=l;let h=n.filter(f=>f.type!==this._allFindSimilarContain);h.length&&(n=h)}return{range:o,objs:r,condition:this.distinctDeep(n),rangeIds:s}}getConditionItem(i){var n,a;let o=[],r=((a=(n=C.profileSetting.commSystemSetting.CANVAS)==null?void 0:n.unit)==null?void 0:a.value)||"inch";return i.forEach(s=>{var b,y,w,x,S,T,M,I;let{propertyKey:l,valueType:c,propertyTitle:d}=s,u="blur",p=(b=s==null?void 0:s.findSimilarCondition)!=null?b:this._allFindSimilarContain,m=this._allInput||s.value,h=(y=s==null?void 0:s.findSimilarDisplay)!=null?y:this._allFindSimilarAllDisplay,f=this._findRegularRules.find(A=>A.checked===!0);if(f&&(u=f.name,u==="case"&&(u="blur")),typeof m=="string"&&u==="regular"&&(m="^"+m.replace(/\+/g,"\\+").replace(/\./g,"\\."),m=m.replace(/\*/g,()=>"(.*)"),m=m.replace(/\?/g,()=>"(.)")),typeof m=="string"&&u==="blur"&&(m=String.raw`${m}`),["origin"].includes(l)&&c==="textOrigin"&&(m=this.getGroupTextAlign((s==null?void 0:s.value)||(s==null?void 0:s.defaultValue))),["fontStyle"].includes(l)&&c==="fontStyle"){let{hasModified:A}=s;for(let D in s.value)o.push({title:Rr((S=(x=(w=C.PropertyKey[l])==null?void 0:w.title)!=null?x:l)!=null?S:""),mode:u,case:this._findRegularRules.find(E=>E.name==="case").checked,value:A[D]?m[D]:null,type:p,display:h,isOr:!1,attrName:D});return}c==="unitInput"&&m&&!kl(dt())&&(m=io(m,"pixel",r));let g=new RegExp("(.*)(Default)").test(m+"");o.push({title:Rr((I=(M=d!=null?d:(T=C.PropertyKey[l])==null?void 0:T.title)!=null?M:l)!=null?I:""),mode:u,case:this._findRegularRules.find(A=>A.name==="case").checked,value:Kr(m)||g?null:String(m),type:p,display:h,isOr:!0,attrName:d==="Name"?d:l})}),o}getRangeIds(i){let o=[];return this._findRange==="current_schematic"?o.push(Zj()):this._findRange==="project"?o.push(C.currentProject.projectId):this._findRange==="current_sheet"||this._findRange==="all_part"||this._findRange==="current_part"?o.push(gi()):this._findRange==="current_select"?o=o.concat(this.getSelectedIds(i)):o.push(this._findRange),o}getSelectedIds(i){let o=[];return XB().forEach(n=>{let{cmdKey:a,id:s,modelType:l}=n;if(l==="NetGroup"&&(i.includes("wire")||i.includes("bus"))&&(n.children.forEach(c=>{if(c.cmdKey==="wire"||c.cmdKey==="bus"){let d=n.id;o.push(d)}}),n==null||n.netNames.forEach(c=>{o.push(c.id)})),i.includes(a))if(a==="wire"||a==="bus"){let c=n.parent.id;o.push(c)}else o.push(s)}),Array.from(new Set(o))}get basePropertyGroup(){return this._basePropertyGroup}set basePropertyGroup(i){this._basePropertyGroup=i,this.notify()}get keyPropertyGroup(){return this._keyPropertyGroup}set keyPropertyGroup(i){this._keyPropertyGroup=i,this.notify()}get morePropertyGroup(){return this._morePropertyGroup}set morePropertyGroup(i){this._morePropertyGroup=i,this.notify()}get combinationGroup(){return this._combinationGroup}set combinationGroup(i){this._combinationGroup=i,this.notify()}get reuseBlockGroup(){return this._reuseBlockGroup}set reuseBlockGroup(i){this._reuseBlockGroup=i,this.notify()}get typeTitle(){return this._typeTitle}set typeTitle(i){i!==this._typeTitle&&(this._typeTitle=i,C.messageBus.rpcCall("changeFindSimilarType",[this._typeTitle,this._findRange]).then(o=>{let r=o.message;if(r){i==="Component Name/Property"||i==="Net Name/Property"||i==="Pin Name/Property"?this._typePropertyKey="any":this._typePropertyKey="";let{basePropertyGroup:n,keyPropertyGroup:a,morePropertyGroup:s,combinationGroup:l,reuseBlockGroup:c,componentNamePropertyKeyData:d,netNamePropertKeyData:u,pinNamePropertKeyData:p}=r;if(this._basePropertyGroup=n,this._keyPropertyGroup=a,this._morePropertyGroup=s,this._combinationGroup=l,this._reuseBlockGroup=c,d||u||p){let m=d||u||p;this._typePropertyKeySelect=qZe.concat(m.map(h=>({value:h.propertyKey,optionText:h.propertyTitle})))}this.notify()}}))}get typePropertyKey(){return this._typePropertyKey}set typePropertyKey(i){this._typePropertyKey!==i&&(this._typePropertyKey=i,this._basePropertyGroup&&(i!=="any"?this._basePropertyGroup=this._basePropertyGroup.map((o,r)=>{var n,a;return r===0&&(["Convert to PCB","Add into BOM"].includes(i)?(o.propertyKey=i,o.value="yes",o.valueType="select",o.propertyTitle=i,o.valueOptions=[{value:"yes",text:{value:"Yes"}},{value:"no",text:{value:"No"}}]):(o.propertyKey=i,o.propertyTitle=((a=(n=this._typePropertyKeySelect)==null?void 0:n.find(s=>s.value===i))==null?void 0:a.optionText)||i,o.valueType="input",o.value="")),o}):this._basePropertyGroup=this._basePropertyGroup.map((o,r)=>(r===0&&(o.propertyKey="Name/Property",o.propertyTitle="Name/Property",o.value=""),o))),this.notify())}get typePropertyKeySelect(){return this._typePropertyKeySelect}set typePropertyKeySelect(i){this._typePropertyKeySelect=i,this.notify()}get findRange(){return this._findRange}set findRange(i){this._findRange=i,this.cacheFindRangeMap.set(dt(),i),this.notify()}get findRangeSelect(){return this._findRangeSelect}set findRangeSelect(i){this._findRangeSelect=i;let o=this._findRangeSelect.find(n=>n.value==="current_select").disable,r=dt();o&&this._findRange==="current_select"&&(kl(r)?(this._findRange="all_part",this.cacheFindRangeMap.set(r,this._findRange)):(this._findRange="project",this.cacheFindRangeMap.set(r,this._findRange))),this.notify()}get findRegularRules(){return this._findRegularRules}set findRegularRules(i){this._findRegularRules=i,this.notify()}get allFindSimilarContain(){return this._allFindSimilarContain}set allFindSimilarContain(i){this._allFindSimilarContain=i,this.notify()}get allInput(){return this._allInput}set allInput(i){this._allInput=i,this.notify()}get allFindSimilarAllDisplay(){return this._allFindSimilarAllDisplay}set allFindSimilarAllDisplay(i){this._allFindSimilarAllDisplay=i,this.notify()}getGroupTextAlign(i){let o=!1;Reflect.has(i,"hAlign")||(i.hAlign=0),Reflect.has(i,"vAlign")||(i.vAlign=2),i.vAlign===null&&(o=!0);let r=(i.hAlign||0)+""+(o?0:i.vAlign),n="";switch(r){case"00":n="start|0";break;case"01":n="start|1";break;case"02":n="start|2";break;case"10":n="middle|0";break;case"11":n="middle|1";break;case"12":n="middle|2";break;case"20":n="end|0";break;case"21":n="end|1";break;case"22":n="end|2";break}return o&&n==="start|0"&&n+"(Default)"||n}get keyDownP(){return this._keyDownP}set keyDownP(i){this._keyDownP=i,i&&this.notify()}get keyDownN(){return this._keyDownN}set keyDownN(i){this._keyDownN=i,i&&this.notify()}schFindSimilarInterceptHotKey(i){return le.isOpen(this.dlgContainerId)&&(i===80||i===78)?(i===80&&(this.keyDownP=!0),i===78&&(this.keyDownN=!0),!0):!1}distinctDeep(i){let o=new Set;return i.filter(r=>{let n=JSON.stringify(r);return o.has(n)?!1:(o.add(n),!0)})}},$o=new XNt;function LZi(t,e,i,o,r,n,a){try{var s=t[n](a),l=s.value}catch(c){return void i(c)}s.done?e(l):Promise.resolve(l).then(o,r)}function g7(t){return function(){var e=this,i=arguments;return new Promise(function(o,r){var n=t.apply(e,i);function a(l){LZi(n,o,r,a,s,"next",l)}function s(l){LZi(n,o,r,a,s,"throw",l)}a(void 0)})}}function T6e(){return T6e=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var o in i)({}).hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},T6e.apply(null,arguments)}function wh(){var t,e,i=typeof Symbol=="function"?Symbol:{},o=i.iterator||"@@iterator",r=i.toStringTag||"@@toStringTag";function n(m,h,f,g){var b=h&&h.prototype instanceof s?h:s,y=Object.create(b.prototype);return VD(y,"_invoke",(function(w,x,S){var T,M,I,A=0,D=S||[],E=!1,N={p:0,n:0,v:t,a:R,f:R.bind(t,4),d:function(v,k){return T=v,M=0,I=t,N.n=k,a}};function R(v,k){for(M=v,I=k,e=0;!E&&A&&!P&&e<D.length;e++){var P,O=D[e],_=N.p,j=O[2];v>3?(P=j===k)&&(I=O[(M=O[4])?5:(M=3,3)],O[4]=O[5]=t):O[0]<=_&&((P=v<2&&_<O[1])?(M=0,N.v=k,N.n=O[1]):_<j&&(P=v<3||O[0]>k||k>j)&&(O[4]=v,O[5]=k,N.n=j,M=0))}if(P||v>1)return a;throw E=!0,k}return function(v,k,P){if(A>1)throw TypeError("Generator is already running");for(E&&k===1&&R(k,P),M=k,I=P;(e=M<2?t:I)||!E;){T||(M?M<3?(M>1&&(N.n=-1),R(M,I)):N.n=I:N.v=I);try{if(A=2,T){if(M||(v="next"),e=T[v]){if(!(e=e.call(T,I)))throw TypeError("iterator result is not an object");if(!e.done)return e;I=e.value,M<2&&(M=0)}else M===1&&(e=T.return)&&e.call(T),M<2&&(I=TypeError("The iterator does not provide a '"+v+"' method"),M=1);T=t}else if((e=(E=N.n<0)?I:w.call(x,N))!==a)break}catch(O){T=t,M=1,I=O}finally{A=1}}return{value:e,done:E}}})(m,f,g),!0),y}var a={};function s(){}function l(){}function c(){}e=Object.getPrototypeOf;var d=[][o]?e(e([][o]())):(VD(e={},o,function(){return this}),e),u=c.prototype=s.prototype=Object.create(d);function p(m){return Object.setPrototypeOf?Object.setPrototypeOf(m,c):(m.__proto__=c,VD(m,r,"GeneratorFunction")),m.prototype=Object.create(u),m}return l.prototype=c,VD(u,"constructor",c),VD(c,"constructor",l),l.displayName="GeneratorFunction",VD(c,r,"GeneratorFunction"),VD(u),VD(u,r,"Generator"),VD(u,o,function(){return this}),VD(u,"toString",function(){return"[object Generator]"}),(wh=function(){return{w:n,m:p}})()}function VD(t,e,i,o){var r=Object.defineProperty;try{r({},"",{})}catch{r=0}VD=function(n,a,s,l){function c(d,u){VD(n,d,function(p){return this._invoke(d,u,p)})}a?r?r(n,a,{value:s,enumerable:!l,configurable:!l,writable:!l}):n[a]=s:(c("next",0),c("throw",1),c("return",2))},VD(t,e,i,o)}function iNr(){return"quickchat-script-"+Date.now()+"-"+Math.random().toString(36).substring(2,11)}function oNr(t,e){if(!e||Object.keys(e).length===0)return t;var i=new URL(t);return Object.entries(e).forEach(function(o){var r=o[0],n=o[1];i.searchParams.set(r,n)}),i.toString()}function S6e(t){return function(){if(t){for(var e,i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];(e=console).log.apply(e,["[QuickChat SDK]"].concat(o))}}}function rNr(){for(var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],e="",i=1;i<=36;i++)i===9||i===14||i===19||i===24?e+="-":i===15?e+=4:i===20?e+=t[Math.random()*4|8]:e+=t[Math.random()*16|0];return e.replace(/-/g,"")}function nNr(){if(typeof window>"u")return rNr();var t="quickchat_device_id";try{var e=localStorage.getItem(t);if(e)return e}catch{}for(var i=[navigator.userAgent,navigator.language,screen.width+"x"+screen.height,new Date().getTimezoneOffset().toString(),navigator.platform||"",navigator.cookieEnabled?"1":"0"],o=0,r=i.join("|"),n=0;n<r.length;n++){var a=r.charCodeAt(n);o=(o<<5)-o+a,o=o&o}var s="device_"+Math.abs(o).toString(36)+"_"+Date.now().toString(36);try{localStorage.setItem(t,s)}catch{}return s}function aNr(){document.querySelectorAll("iframe").forEach(function(o){(o.id.includes("chat")||o.src.includes("chat"))&&(console.log("\u79FB\u9664\u65E7 iframe:",o.src),o.remove())});for(var t=0,e=Object.keys(window);t<e.length;t++){var i=e[t];if(/quickchat|QuickChat|QuickCEP/i.test(i)){console.log("\u6E05\u7406\u5168\u5C40\u53D8\u91CF:",i);try{delete window[i]}catch{}}}}var sNr=(function(){function t(i){i===void 0&&(i=!1),this.scriptId=null,this.isScriptLoaded=!1,this.isSDKReady=!1,this.debugLog=S6e(i)}var e=t.prototype;return e.setDebugMode=function(o){this.debugLog=S6e(o)},e.loadScript=(function(){var i=g7(wh().m(function r(n){var a=this;return wh().w(function(s){for(;;)switch(s.n){case 0:return s.a(2,new Promise(function(l,c){if(a.scriptId){var d=document.querySelector("script."+a.scriptId);if(d){a.debugLog("\u811A\u672C\u5DF2\u5B58\u5728\uFF0C\u8DF3\u8FC7\u52A0\u8F7D\uFF0CClass:",a.scriptId),l();return}}a.isScriptLoaded=!1,a.isSDKReady=!1;var u=oNr(n.scriptUrl,n.urlParams);a.scriptId=iNr(),a.debugLog("\u521B\u5EFAscript\u6807\u7B7E\uFF0CClass:",a.scriptId,"URL:",u);var p=document.createElement("script");p.id="quickChatScript",p.className=a.scriptId,p.src=u,p.async=n.async!==!1,p.onload=function(){a.debugLog("script\u6807\u7B7E\u52A0\u8F7D\u5B8C\u6210\uFF0CClass:",a.scriptId),a.isScriptLoaded=!0,l()},p.onerror=function(){a.debugLog("script\u6807\u7B7E\u52A0\u8F7D\u5931\u8D25\uFF0CClass:",a.scriptId),a.isScriptLoaded=!1,a.isSDKReady=!1,c(new Error("Failed to load QuickChat SDK from "+u))},document.head.appendChild(p)}))}},r)}));function o(r){return i.apply(this,arguments)}return o})(),e.removeScript=function(){if(this.scriptId){var o=document.querySelector("script."+this.scriptId);o&&o.parentNode&&(this.debugLog("\u5220\u9664script\u6807\u7B7E\uFF0CClass:",this.scriptId),o.parentNode.removeChild(o)),this.scriptId=null}this.resetLoadStatus()},e.getCurrentScriptId=function(){return this.scriptId},e.markSDKReady=function(){this.debugLog("\u6807\u8BB0SDK\u4E3A\u51C6\u5907\u5C31\u7EEA\u72B6\u6001"),this.isSDKReady=!0},e.getScriptLoadStatus=function(){return{isScriptLoaded:this.isScriptLoaded,isSDKReady:this.isSDKReady}},e.resetLoadStatus=function(){this.isScriptLoaded=!1,this.isSDKReady=!1},t})(),lNr=(function(){function t(){this.isReady=!1,this.eventList=[]}var e=t.prototype;return e.setupReadyHook=function(o){var r=this;typeof window>"u"||(this.debugLog("\u6CE8\u518C window.quickChatReadyHook \u65B9\u6CD5"),window.quickChatReadyHook=function(){console.log("[QuickChat SDK] \u6536\u5230\u7B2C\u4E09\u65B9JS\u5C31\u7EEA\u901A\u77E5"),r.notifyReady(o)})},e.notifyReady=function(o){this.isReady=!0,o(),this.executeEventList()},e.debugLog=function(o){for(var r,n=arguments.length,a=new Array(n>1?n-1:0),s=1;s<n;s++)a[s-1]=arguments[s];(r=console).log.apply(r,["[EventManager] "+o].concat(a))},e.executeEventList=function(){this.eventList.forEach(function(o){try{o(window.quickChatApi||null)}catch(r){console.error("\u6267\u884C\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u65F6\u51FA\u9519:",r)}}),this.eventList=[]},e.onReady=function(o){if(typeof window>"u"){console.warn("QuickChat SDK onReady called in non-browser environment");return}if(this.isReady)try{o(window.quickChatApi||null)}catch(r){console.error("\u6267\u884C\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u65F6\u51FA\u9519:",r)}else this.eventList.push(o)},e.reset=function(){this.isReady=!1,this.eventList=[]},e.getIsReady=function(){return this.isReady},t})();function cNr(t,e){return e===void 0&&(e={}),new Promise(function(i,o){var r=new XMLHttpRequest,n=e.method||"GET";r.open(n,t,!0),e.headers&&Object.keys(e.headers).forEach(function(a){r.setRequestHeader(a,e.headers[a])}),r.onreadystatechange=function(){if(r.readyState===4)if(r.status>=200&&r.status<300){var a={ok:!0,status:r.status,statusText:r.statusText,json:function(){return Promise.resolve(JSON.parse(r.responseText))},text:function(){return Promise.resolve(r.responseText)}};i(a)}else o(new Error("HTTP "+r.status+": "+r.statusText))},r.onerror=function(){o(new Error("Network error"))},r.ontimeout=function(){o(new Error("Request timeout"))},e.timeout&&(r.timeout=e.timeout),r.send(e.body||null)})}function vZi(){return typeof fetch>"u"||typeof window<"u"&&!window.fetch?cNr:fetch}var dNr="/api/ai-customer-service/livechat/generate-id",uNr="/api/ai-customer-service/livechat/getCustomerInfo",pNr=(function(){var t=g7(wh().m(function e(i){var o,r,n,a;return wh().w(function(s){for(;;)switch(s.n){case 0:return o=vZi(),s.n=1,o(dNr,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({businessLine:(i||"").toLocaleUpperCase()})});case 1:if(r=s.v,r.ok){s.n=2;break}throw new Error("HTTP "+r.status+": "+r.statusText);case 2:return s.n=3,r.json();case 3:if(n=s.v,n.success){s.n=4;break}throw new Error("API\u8BF7\u6C42\u5931\u8D25: "+n.message);case 4:if(a=n.data,a){s.n=5;break}throw new Error("API\u54CD\u5E94\u7684data\u5B57\u6BB5\u4E3A\u7A7A");case 5:return s.a(2,{userId:String(a)})}},e)}));return function(i){return t.apply(this,arguments)}})(),mNr=(function(){var t=g7(wh().m(function e(i){var o,r,n,a;return wh().w(function(s){for(;;)switch(s.n){case 0:return o=vZi(),s.n=1,o(uNr+"/"+i,{method:"GET",headers:{"Content-Type":"application/json"}});case 1:if(r=s.v,r.ok){s.n=2;break}throw new Error("HTTP "+r.status+": "+r.statusText);case 2:return s.n=3,r.json();case 3:if(n=s.v,n.success){s.n=4;break}throw new Error("API\u8BF7\u6C42\u5931\u8D25: "+n.message);case 4:if(a=n.data,!(!a||!a.customerCode)){s.n=5;break}throw new Error("API\u54CD\u5E94\u7684data\u5B57\u6BB5\u4E3A\u7A7A");case 5:return s.a(2,{customerCode:String(a.customerCode)})}},e)}));return function(i){return t.apply(this,arguments)}})(),DZi,Tae=(function(){function t(){this.quickChatApi=null,this.loadPromise=null,this.currentUserId=null,this.bizType="default",this.originalOptions=null,this.debugLog=S6e(!1),this.scriptManager=new sNr(!1),this.eventManager=new lNr}t.getInstance=function(){return t.instance||(t.instance=new t),t.instance};var e=t.prototype;return e.resetToInitialState=function(){this.debugLog("\u91CD\u7F6ESDK\u72B6\u6001\u5230\u521D\u59CB\u72B6\u6001"),this.quickChatApi=null,this.loadPromise=null,this.currentUserId=null,this.eventManager.reset(),this.clearInheritedMethods()},e.clearInheritedMethods=function(){var o=this;this.quickChatApi&&Object.keys(this.quickChatApi).forEach(function(r){typeof o.quickChatApi[r]=="function"&&o[r]&&(o.debugLog("\u6E05\u9664\u7EE7\u627F\u7684\u65B9\u6CD5:",r),delete o[r])})},e.setupReadyCallback=function(){var o=this;this.eventManager.setupReadyHook(function(){o.scriptManager.markSDKReady(),o.quickChatApi=window.quickChatApi||null,o.quickChatApi&&o.inheritApiMethods()})},e.inheritApiMethods=function(){var o=this;this.quickChatApi&&Object.keys(this.quickChatApi).forEach(function(r){typeof o.quickChatApi[r]=="function"?o[r]=function(){var n;return(n=o.quickChatApi)[r].apply(n,arguments)}:o[r]=o.quickChatApi[r]})},e.removeScript=function(){aNr(),this.scriptManager.removeScript(),this.resetToInitialState()},e.reloadScriptWithParams=(function(){var i=g7(wh().m(function r(n){var a,s;return wh().w(function(l){for(;;)switch(l.n){case 0:if(this.originalOptions){l.n=1;break}throw new Error("\u65E0\u6CD5\u91CD\u65B0\u52A0\u8F7Dscript\uFF1A\u7F3A\u5C11\u539F\u59CB\u9009\u9879");case 1:return this.removeScript(),a=T6e({},this.originalOptions.urlParams,n),s=T6e({},this.originalOptions,{urlParams:a}),this.debugLog("\u91CD\u65B0\u52A0\u8F7Dscript\uFF0C\u53C2\u6570:",a),l.n=2,this.loadSDK(s);case 2:return l.a(2)}},r,this)}));function o(r){return i.apply(this,arguments)}return o})(),e.onReady=function(o){this.eventManager.onReady(o)},e.loadSDK=(function(){var i=g7(wh().m(function r(n){var a=this;return wh().w(function(s){for(;;)switch(s.n){case 0:if(!(typeof window>"u")){s.n=1;break}throw new Error("QuickChat SDK can only be used in browser environment");case 1:if(n.scriptUrl){s.n=2;break}throw new Error("scriptUrl is required in options");case 2:if(n.urlParams||(n.urlParams={}),n.debug!==void 0&&this.setDebugMode(n.debug),n.urlParams.visitorId||(n.urlParams.visitorId=nNr(),this.debugLog("\u81EA\u52A8\u751F\u6210 visitorId:",n.urlParams.visitorId)),this.originalOptions=T6e({},n),this.setupReadyCallback(),this.debugLog("bizType\u53C2\u6570\u4E3A",n.bizType),n.bizType!==void 0&&(this.bizType=n.bizType),!this.loadPromise){s.n=3;break}return s.a(2,this.loadPromise);case 3:return this.loadPromise=this.scriptManager.loadScript(n).then(function(){return new Promise(function(l,c){var d=n.timeout||5e3,u=setTimeout(function(){c(new Error("SDK ready timeout after "+d/1e3+" seconds"))},d),p=function(){a.eventManager.getIsReady()?(clearTimeout(u),l()):setTimeout(p,100)};p()})}),s.a(2,this.loadPromise)}},r,this)}));function o(r){return i.apply(this,arguments)}return o})(),e.getStatus=function(){var o=this.scriptManager.getScriptLoadStatus();return{isReady:this.eventManager.getIsReady(),hasApi:!!this.quickChatApi,isScriptLoaded:o.isScriptLoaded,isSDKReady:o.isSDKReady}},e.getOriginalApi=function(){return this.quickChatApi},e.setDebugMode=function(o){this.debugLog=S6e(o),this.scriptManager.setDebugMode(o),o&&console.log("[QuickChat SDK] \u8C03\u8BD5\u6A21\u5F0F\u5DF2\u542F\u7528")},e.isDebugMode=function(){return this.debugLog!==S6e(!1)},e.setVisitorId=(function(){var i=g7(wh().m(function r(n,a){var s=this,l,c;return wh().w(function(d){for(;;)switch(d.p=d.n){case 0:return this.currentUserId=n,this.debugLog("\u8BBE\u7F6E\u8BBF\u5BA2ID\uFF0CuserId:",n,"customerCode:",a),l={visitorId:n},d.p=1,d.n=2,this.reloadScriptWithParams(l);case 2:this.onReady(function(){var u;a&&(u=s.quickChatApi)!=null&&u.setContactProperties&&(s.debugLog("\u8C03\u7528 setContactProperties (\u5EF6\u8FDF)\uFF0Cemail:",a),s.quickChatApi.setContactProperties({email:a}),s.debugLog("\u8C03\u7528 setContactProperties (\u5EF6\u8FDF)\uFF0C$customer_id:",n),s.quickChatApi.setContactProperties({$customer_id:n}))}),this.debugLog("\u8BBF\u5BA2ID\u8BBE\u7F6E\u5B8C\u6210\uFF0CuserId:",n),d.n=4;break;case 3:throw d.p=3,c=d.v,console.error("\u8BBE\u7F6E\u8BBF\u5BA2ID\u5931\u8D25:",c),c;case 4:return d.a(2)}},r,this,[[1,3]])}));function o(r,n){return i.apply(this,arguments)}return o})(),e.clearVisitorId=(function(){var i=g7(wh().m(function r(){var n=this,a;return wh().w(function(s){for(;;)switch(s.p=s.n){case 0:this.currentUserId=null,this.debugLog("\u6E05\u9664\u8BBF\u5BA2ID"),s.p=1,this.onReady(g7(wh().m(function l(){return wh().w(function(c){for(;;)switch(c.n){case 0:return c.n=1,n.reloadScriptWithParams();case 1:n.debugLog("\u8BBF\u5BA2ID\u6E05\u9664\u5B8C\u6210");case 2:return c.a(2)}},l)}))),s.n=3;break;case 2:throw s.p=2,a=s.v,console.error("\u6E05\u9664\u8BBF\u5BA2ID\u5931\u8D25:",a),a;case 3:return s.a(2)}},r,this,[[1,2]])}));function o(){return i.apply(this,arguments)}return o})(),e.getCurrentVisitorId=function(){return this.currentUserId},e.getCurrentScriptId=function(){return this.scriptManager.getCurrentScriptId()},e.fetchAndSetUserId=(function(){var i=g7(wh().m(function r(n){var a=this;return wh().w(function(s){for(;;)switch(s.n){case 0:return s.a(2,new Promise(function(l,c){var d=(function(){var u=g7(wh().m(function p(){var m,h,f,g;return wh().w(function(b){for(;;)switch(b.p=b.n){case 0:return b.p=0,m=n||"",b.n=1,pNr(a.bizType);case 1:if(h=b.v,!(!h||!h.userId||typeof h.userId!="string")){b.n=2;break}throw new Error("\u83B7\u53D6\u5230\u7684\u7528\u6237\u6570\u636E\u65E0\u6548");case 2:if(m){b.n=4;break}return b.n=3,mNr(h.userId);case 3:f=b.v,f&&f.customerCode&&(m=f.customerCode);case 4:return b.n=5,a.setVisitorId(h.userId,m);case 5:l(h.userId),b.n=7;break;case 6:b.p=6,g=b.v,console.error("\u83B7\u53D6\u7528\u6237ID\u5931\u8D25:",g),c(g);case 7:return b.a(2)}},p,null,[[0,6]])}));return function(){return u.apply(this,arguments)}})();a.onReady(function(){d()})}))}},r)}));function o(r){return i.apply(this,arguments)}return o})(),e.switchManageVisitorId=(function(){var i=g7(wh().m(function r(n){var a;return wh().w(function(s){for(;;)switch(s.p=s.n){case 0:if(!n){s.n=5;break}return s.p=1,s.n=2,this.fetchAndSetUserId();case 2:s.n=4;break;case 3:s.p=3,a=s.v,console.error("\u8BBE\u7F6E\u8BBF\u5BA2ID\u5931\u8D25:",a);case 4:s.n=6;break;case 5:return s.n=6,this.clearVisitorId();case 6:return s.a(2)}},r,this,[[1,3]])}));function o(r){return i.apply(this,arguments)}return o})(),t})();DZi=Tae;DZi.instance=null;if(typeof window>"u")throw new Error("AI LiveChat SDK can only run in browser environment. Node.js is not supported.");function hNr(t){return $Nt.apply(this,arguments)}function $Nt(){return $Nt=g7(wh().m(function t(e){var i;return wh().w(function(o){for(;;)switch(o.n){case 0:return i=Tae.getInstance(),o.n=1,i.loadSDK(e);case 1:return o.a(2,i)}},t)})),$Nt.apply(this,arguments)}var M6e={init:hNr,QuickChatClient:Tae};typeof window<"u"&&(window.AiLivechatSDK=M6e);function AZi(){SNr(),ENr(),TNr(),fNr(),bNr(),wNr(),MNr(),INr(),vNr(),LNr(),yNr(),(0,Oo.default)(document).on("mousedown",'.window-mask, #editorTabbar, #treeMyProject-content,[class^="window-mask"]',function(e){e.button===1&&e.preventDefault()}),(0,Oo.default)(document).on("mousedown","#bottomBar img",function(e){e.preventDefault()}),(0,Oo.default)("#componentLib").on("click","a[cmd], li[cmd], div[cmd], p[cmd],span[cmd]",async function(e){if(e.preventDefault(),(0,Oo.default)(this).hasClass("l-btn-disabled"))return;let i=(0,Oo.default)(this),o=i.attr("cmd"),r="";if(![se.PCB,se.FOOTPRINT,se.PHOTOVIEW,se.VIEW3D,se.PANEL].includes(dt())&&!["toMyNotifications","user_login","user_register","toMyHomePage","toMyAccount"].includes(o)){let a=(await C.messageBus.rpcCall(kt.Sch.GetDocStatus)).message;if(a&&a.disableToolBarButtons.includes(o))return}if(i.hasClass("dropicon")&&i.parent().hasClass("dropDown"))if(i.attr("cmd"))o=i.attr("cmd");else{let a=i.parent().find(".newArrow[menu]").attr("menu"),s;(0,Oo.default)(a).children().each((l,c)=>{let d=(0,Oo.default)(c);!s&&c.style.display!="none"&&!d.attr("itemdisabled")&&(s=d)}),s&&(o=s.attr("cmd"),s.attr("iconCls")&&(r=s.attr("iconCls")),o&&i.attr("cmd",o),r&&(i.attr("iconCls",r),i.find(".l-btn-empty").attr("class",`l-btn-empty ${r}`)))}let n=Object.create(null);o=="openRecentProject"&&(n.projectId=i.attr("projectId")),wi&&o==="commonButtonsSetting(SYSTEM)"&&(o="commonButtonsSetting(CLIENT)"),et(o,n)}),(0,Oo.default)(".openid > a").click(function(){let e="/User/login?provider="+(0,Oo.default)(this).attr("title")+"&time="+ +new Date;window.open(e,"social_sign_on","location=0,status=0,scrollbars=0,width=800,height=500")}),window.addEventListener("focus",function(){Ai.getOnlySelectCmd()==="insertImage"&&Ai.setOnlySelectCmd("")},!1);let t=null;window.addEventListener("storage",async function(i){if(i.key=="preferences"){if(JSON.parse(i.newValue).version!==au.getCurrentVersion())return;window.clearTimeout(t),t=window.setTimeout(()=>{Yfe()},30);let r=JSON.parse(localStorage.getItem("preferences")),n=await ei();C.messageBus.publish("updateAssociationPCBCanvasGridAndSnap",+r.isAssociationPCBCanvasGridAndSnap,n&&n.contentWindow),C.profileSetting&&(C.profileSetting.isAssociationPCBCanvasGridAndSnap=+r.isAssociationPCBCanvasGridAndSnap),C.messageBus.publish("updateAssociationPCBCanvasGridType",+r.isAssociationPCBCanvasGridType,n&&n.contentWindow)}else i.key==="isLogout"?i.newValue==="true"&&(v6e(),tl(C.workspace==="Personal"?{}:{org_uuid:C.workspace})):i.key==="isLogin"&&i.newValue!=="false"&&await Hfe(JSON.parse(i.newValue))}),window.addEventListener("popstate",()=>{history.forward()}),gNr(),(0,Oo.default)(document).on("click","#new3DModelDlg .to-user-center-link, #dlgChooseLibs .to-user-center-link",function(){let e=(0,Oo.default)(this),i=e.attr("href");i!=null&&((!wi||!Je)&&(i.includes("lang")||(i+=`&lang=${mt.toWorkSpaceNeedLang()}`)),e.attr("href",i))}),C.messageBus.subscribe("/pcb/3d/closePreviewWindow",e=>{C.pcbTo3DView[e]&&delete C.pcbTo3DView[e].isOpen}),C.messageBus.subscribe(tT.PROJECT.UPLOAD_FAILED,async e=>{e.code===yO&&await yZi()}),C.messageBus.rpcService("/ui/forward/tabid",async e=>{let[i,o,r]=e,n=await he.getTabIFrame(i);return!n||!(n!=null&&n.contentWindow)?(De({msg:"Corresponding PCB have been closed, please re-preview and try again"}),null):(await C.windowBridge.rpcCall(o,r,n.contentWindow)).message}),C.messageBus.rpcService("/ui/getMouseRecorder",async e=>e7t),C.messageBus.rpcService("/view/getMouseRecorder",async e=>CHe),(function(){document.addEventListener("pointerdown",e),document.addEventListener("mousemove",e),document.addEventListener("keydown",e);function e(){C.lastMouseOrKeyBoardEventTime=new Date().getTime()}})(),PNr()}var e7t={clientX:null,clientY:null},CHe={clientX:null,clientY:null};function fNr(){function t(e){let{type:i,button:o,buttons:r,clientX:n,clientY:a}=e;e7t.clientX=n,e7t.clientY=a,Ca("main2iframe/trigger-event",[{type:i,button:o,buttons:r,clientX:n,clientY:a}])}document.addEventListener("mouseup",t),document.addEventListener("mousedown",t),document.addEventListener("mousemove",t)}function gNr(){let t=ue.debounce(e=>{let i=e.currentTarget,o=rn(i,"max"),r=rn(i,"min"),n=Math.floor(Number(i.value));!isNaN(n)&&o&&(n=Math.min(n,Number(o))),!isNaN(n)&&r&&(n=Math.max(n,Number(r))),i===Vr("rangeExportStart")&&Number(i.value)>Number(Vr("rangeExportEnd").value)&&(n=Number(Vr("rangeExportEnd").value)),i===Vr("rangeExportEnd")&&Number(i.value)<Number(Vr("rangeExportStart").value)&&(n=Number(Vr("rangeExportStart").value)),i.value=n},500);(0,Oo.default)("body").on("change",'#rangeExportEnd,#rangeExportStart,input[name="EXPORT_TRANSPARENCY"]',t),(0,Oo.default)("body").on("keyup",'#rangeExportEnd,input[name="EXPORT_TRANSPARENCY"]',t),(0,Oo.default)("body").on("blur",'#rangeExportEnd,#rangeExportStart,input[name="EXPORT_TRANSPARENCY"]',e=>{let i=e.currentTarget,o=+rn(i,"max"),r=+rn(i,"min");(!i.value||Number(i.value)>o||Number(i.value)<r)&&(i.value=rn(i,"data-default"))}),(0,Oo.default)("#check-all-lib").change(function(){(0,Oo.default)('#update_lib_list li input[type="checkbox"]').not(":disabled").prop("checked",(0,Oo.default)(this).is(":checked"))}),(0,Oo.default)("#tabbar_bodies").on("mouseover mouseout",".editframe",function(e){C.isMouseOnEditFrame=e.type=="mouseover"}),(async function(){let e=Je?await Ol.get(C.apis.client.exampleProjectPaths,{}):await Ol.get(C.apis.others.lcscPublicProject,{});C.lcscPublicProject=Je?e.result:e.result.lists})(),(0,Oo.default)(".filter-input").on("click",function(e){let i=(0,Oo.default)(this).width();if(i-e.offsetX<17){let o=(0,Oo.default)(this).find("input");o.attr("can-search","1"),o.trigger("change"),o.removeAttr("can-search")}else i-e.offsetX<35&&(0,Oo.default)(this).removeClass("clear").find("input").val("").trigger("input").trigger("change")}).on("input","input",function(){(0,Oo.default)(this).val()?(0,Oo.default)(this).parent().addClass("clear"):(0,Oo.default)(this).parent().removeClass("clear")}).on("keyup","input",function(e){e.keyCode===13&&((0,Oo.default)(this).attr("can-search","1"),(0,Oo.default)(this).trigger("change"),(0,Oo.default)(this).removeAttr("can-search"))}),Je&&((0,Oo.default)("#project-path-new-project").on("click",".project-path-input",function(){let e=(0,Oo.default)('#project-path-new-project [name="project-path"]').val(),i=(0,Oo.default)('#project-path-new-project [name="project-path-input"]');Av(String(e)).then(o=>{if(o.code==1){let r=(0,Oo.default)("[name=project-path]",(0,Oo.default)("#project-path-new-project .box"));wd().then(({projectPath:n})=>{!n.includes(o.path)&&n.push(o.path);let s=n.map((l,c)=>({value:l,text:l})).map(l=>`<option value="${l.value}">${l.text}</option>`).join("");r.html(s),r.val(o.path),i.val(o.path)})}})}),(0,Oo.default)("#project-path-new-project").on("change",'[name="project-path"]',function(){(0,Oo.default)('#project-path-new-project [name="project-path-input"]').val((0,Oo.default)(this).val())}))}function bNr(){window.addEventListener("resize",function(){i7t.execHooks(),O4({record:!1,isResize:!0}),iJe()},!1)}function yNr(){let t=["dragEnter","dragover"];for(let e of t)document.addEventListener(e,i=>{i.preventDefault()})}function wNr(){document.addEventListener("keydown",function(i){C.eventFn.keyDown(i)},!1),document.addEventListener("keyup",function(i){C.eventFn.keyUp(i)},!1),(0,Oo.default)(document).on("focus","input,textarea",function(i){C.eventFn.focus(i)}),document.addEventListener("paste",async i=>{let o=i.target;if(o&&(o.tagName==="INPUT"||o.tagName==="TEXTAREA"||o.isContentEditable)||le.hasDialogOpen())return;let n=dt(),a=[se.PCB,se.FOOTPRINT].includes(n),s=[se.PANEL,se.PANEL_LIB].includes(n),l;if(a||s){let c=i.clipboardData.items;for(let d of Array.from(c))if(d&&d.type.indexOf("image")!==-1){i.preventDefault(),l=d.getAsFile();break}}try{(await navigator.permissions.query({name:"clipboard-read"})).state=="granted"&&l&&(a?await t7t(l):s&&await kNr(l))}catch(c){console.warn(c)}});let t=["fliph","flipv","rotate_ccw","rotate_left","rotate_right","rotate_reference_point"],e=i=>{var n,a,s,l;if(t.includes(i.hotkeyCmd))return!!((a=(n=GNt)[i.hotkeyCmd])!=null&&a.call(n));let o=Gu.getDisableCmdStore(i.hotkeyCmd).value,r=(l=(s=GNt)[i.hotkeyCmd])==null?void 0:l.call(s);return o||r};C.eventFn={keyUp(i,{fromDoctype:o}=ks){let r=(0,Oo.default)(i.target),n=r.attr("oldval")||"",a=i.target.tagName;(a=="TEXTAREA"||a=="INPUT")&&i.keyCode===27&&!i.target._compositionstart&&(r.val(n),r.trigger("input").blur());let s=i.keyStr||a_(i),l=dt();if(he.isUseSwitchDocHotkey(i),!C.isMouseOnEditFrame||S0i()||si.judgeMenuShowAndExist()||C.mousePlace.isInHomePageProjectTree())return;if(ty(l)){if(o!==l){let m={type:i.type,key:i.key,keyCode:i.keyCode,metaKey:i.metaKey,ctrlKey:i.ctrlKey,shiftKey:i.shiftKey,altKey:i.altKey,target:{tagName:i.target.tagName}};Ca("main2iframe/trigger-event",[m])}let d=Ys.getAllHotkeys(),u="sch_hotkey",p=["moveSelectedLeft","moveSelectedRight","moveSelectedUp","moveSelectedDown","toggleAdsorb"];it(d,(m,h)=>{p.includes(h.hotkeyCmd)&&c(h,u)})}if((l===se.PCB||l===se.FOOTPRINT)&&o!==l){let d={type:i.type,key:i.key,keyCode:i.keyCode,metaKey:i.metaKey,ctrlKey:i.ctrlKey,shiftKey:i.shiftKey,altKey:i.altKey};C.windowBridge.publish("keyup",d,Xi().contentWindow)}function c(d,u){if(!(g3(d.hotkey)!==g3(s)||s=="")){if(e(d))return!1;BKe.addTask({publishName:u,hotkey:d,keyStr:s,keyCode:i.keyCode,keyAction:"keyup"})}}},focus(i){let o=document.activeElement.tagName;(o=="TEXTAREA"||o=="INPUT")&&(0,Oo.default)(i.target).attr("oldval",(0,Oo.default)(i.target).val())},keyDown:async function(i){var M,I,A;let o=i.target.tagName,r=i||window.event,n=r.keyStr||a_(r);if(n==="")return;if((o=="TEXTAREA"||o=="SELECT"||o=="INPUT"&&!((M=i.target.getAttribute("name"))!=null&&M.startsWith("DontStopHotkey")&&!NNr(r.key))&&i.target.getAttribute("type")!="checkbox"&&i.target.getAttribute("type")!="radio")&&r.keyCode!==27){b(n)&&i.preventDefault&&i.preventDefault();return}let a=x(r);if(y(n)&&((I=i.preventDefault)==null||I.call(i)),a||fc.schFindReplaceDialogInterceptHotKey(r.keyCode)||$o.schFindSimilarInterceptHotKey(r.keyCode))return;if(le.isOpen(bt["find-objects"].containerId)&&Jc.hasData()&&(r.keyCode==80||r.keyCode==78)){Jc.goToRow(r.keyCode==78?1:-1);return}if(oV.whetherExecuteTableHotKey(r.code)||Z2.isMenuUseKeyboard(r.keyCode,n)||si.isMenuUseKeyboard(r.keyCode,n)||await w(r)||[38,40].includes(r.keyCode)&&hZi())return;let l=dt(),c=I6e();if(C.eventFn.escEnter(r,c),c!=null&&r.keyCode===27)return;if(r.keyCode===13){if(C0i(l))return}else if(x0i(n,l))return;if(Da.isContextMenuOfNowActive()||le.hasMaskDialogOpen())return;let d="",u="",p=Ys.getAllHotkeys(),m=Object.keys(p),h=[],f=await S(l);for(let D=0;D<m.length;D++){let E=p[m[D]];if(g3(E.hotkey)===g3(n)&&E.isCustomize){if(e(E))return!1;let{scene:N,range:R,hotkeyCmd:v}=E;if(!R.includes(EZi(l)))return;N.includes(f)&&((A=Ys.getCustomizeHotKeyHooks(v))==null||A());return}}for(let D=0;D<m.length;D++){let E=p[m[D]];g3(E.hotkey)===g3(n)&&h.push(E)}if(h.length>1&&h.every(E=>{let{scene:N,range:R}=E;return R.includes(EZi(l))&&N.includes(f)})){let E,N;if(!C.isMouseOnEditFrame||![se.SCH,se.FOOTPRINT,se.PCB,se.PANEL_LIB,se.PANEL,se.PHOTOVIEW,se.VIEW3D,se.PANEL3D].includes(l)&&!pr(l)){let R=(await C.messageBus.rpcCall("/ui/getMouseRecorder")).message;E=R.clientX,N=R.clientY}else{let R=await he.getTabIFrame(),v=R.getBoundingClientRect(),k;if(l===se.SCH||pr(l))k=(await C.windowBridge.rpcCall("sch/getMouseRecorder",null,R.contentWindow)).message;else switch(l){case se.FOOTPRINT:case se.PCB:k=(await C.windowBridge.rpcCall("pcb/getMouseRecorder",null,R.contentWindow)).message;break;case se.PANEL_LIB:case se.PANEL:k=(await C.windowBridge.rpcCall("panel/getMouseRecorder",null,R.contentWindow)).message;break;case se.PHOTOVIEW:case se.VIEW3D:case se.PANEL3D:k=(await C.windowBridge.rpcCall("view/getMouseRecorder",null,R.contentWindow)).message;break;default:break}E=v.left+k.clientX,N=v.top+k.clientY}pl.open({position:{x:E,y:N},menuConfig:{menuId:"conflictMenu",defaultConfig:T(h)}});return}if(l===se.SCH||pr(l)){d="sch_hotkey";let D={type:r.type,key:i.key,keyCode:i.keyCode,metaKey:i.metaKey,ctrlKey:i.ctrlKey,shiftKey:i.shiftKey,altKey:i.altKey,target:{tagName:i.target.tagName}};Ca("main2iframe/trigger-event",[D])}else if(Wn(l))d="panel_hotkey",i.stopPropagation&&i.stopPropagation();else if(l===se.PCB||l===se.FOOTPRINT){d="pcb_hotkey";let D={key:i.key,keyCode:i.keyCode,shiftKey:i.shiftKey,ctrlKey:i.ctrlKey,metaKey:i.metaKey,altKey:i.altKey},E=await ei(),N=await(await C.windowBridge.rpcCall("getHotKeyCmd",D,E.contentWindow)).message;if(N){if(!_t&&["drawpartition(Rectangle)","drawpartition(Circle)","drawpartition(Polygon)","exportManufacturingFilesForOneClick","OPEN_PARTITION_MANAGER"].includes(N.menuHotkeyCmd))return!1;let R={hotkeyCmd:N.menuHotkeyCmd};if(e(R))return!1}if(Da.isContextMenuOfNowActive()&&[38,39,40,37,35].indexOf(i.keyCode)>=0)return;C.messageBus.publish(d,D);return}else if(l===se.BLANKTAB)d="blank_tab_hotkey",i.stopPropagation&&i.stopPropagation();else if(l===se.ASSEMBLY_VARIANT)d="assembly_tab_hotkey",i.stopPropagation&&i.stopPropagation();else if(zh(l)||l===se.WAVEFORM){d="simulation_hotkey";let D={type:r.type,key:i.key,keyCode:i.keyCode,metaKey:i.metaKey,ctrlKey:i.ctrlKey,shiftKey:i.shiftKey,altKey:i.altKey,target:{tagName:i.target.tagName}};Ca("main2iframe/trigger-event",[D])}else d="home_hotkey",i.stopPropagation&&i.stopPropagation();for(let D in p){let E=p[D];!C.isMouseOnEditFrame&&(d=="panel_hotkey"||d=="sch_hotkey"||d=="simulation_hotkey")&&!E.scene.includes(1)||await g(E)}return!1;async function g(D){if(g3(D.hotkey)===g3(n)){if(e(D))return!1;if(D.publishName==="ui_hotkey")BKe.addTask({publishName:D.publishName,hotkey:D,keyCode:r.keyCode,keyStr:n});else{if(D.funcE==="Expand and Modify Properties"&&!(await C.messageBus.rpcCall("sch/hasSelected")).message)return;let E=(l==se.PHOTOVIEW||l==se.VIEW3D)&&D.hotkeyCmd=="centerViewByCursor";E&&(u="photoView_centerByCur_hotkey"),BKe.addTask({publishName:E?u:d,hotkey:D,keyCode:r.keyCode,keyStr:n,keyAction:"keydown"})}}}function b(D){let E={"Ctrl+S":!0,"Ctrl+R":!0,"Ctrl+H":!0,"Ctrl+T":!0,F1:!0,F4:!0,F6:!0,F7:!0,F9:!0,F10:!0,"Ctrl+Shift+R":!0,"Ctrl+Shift+O":!0,"Ctrl+Shift+B":!0,"Ctrl+Shift+G":!0,"Shift+Alt+E":!0,"Ctrl+Shift+C":!0,"Ctrl+L":!0,"Ctrl+Tab":!0,"Ctrl+Page Down":!0,"Ctrl+Shift+E":!0,"Ctrl+Shift+T":!0,"Ctrl+Shift+M":!0,"Ctrl+Shift+D":!0,"Ctrl+J":!0,"Ctrl+N":!0,"Ctrl+P":!0,"Ctrl+1":!0,"Ctrl+2":!0,"Ctrl+3":!0,"Ctrl+4":!0,"Ctrl+5":!0,"Ctrl+6":!0,"Ctrl+7":!0,"Ctrl+8":!0,"Ctrl+9":!0,"Ctrl+K":!0,"Ctrl+E":!0,F5:!0,"Shift+F5":!0,ESC:!0,"Ctrl+U":!0,"Ctrl+G":!0,"Ctrl+=":!0,Enter:!0,"Ctrl+-":!0,"Ctrl+0":!0,"Shift+Esc":!0,"Ctrl+Shift+N":!0,"Ctrl+W":!0,"Ctrl+F4":!0,"Ctrl+Page Up":!0,"Ctrl+Shift+Tab":!0,"Ctrl+O":!0,"Ctrl+Shift":!0,"Ctrl+Shift+F":!0};if(LNt()&&(E["Ctrl+F"]=!1),!D)return!1;if(D.startsWith("Alt"))return!0;let N={};for(let R in E){let v=g3(R);N[v]=E[R]}return typeof N[D]=="function"?N[D]():N[D]}function y(D){let E={F1:!0,F4:!0,F6:!0,F7:!0,F9:!0,F10:!0,"Ctrl+Shift+R":!0,"Ctrl+Shift+O":!0,"Ctrl+Shift+B":!0,"Ctrl+Shift+G":!0,"Shift+Alt+E":!0,"Ctrl+L":!0,"Ctrl+Tab":function(){return!0},"Ctrl+Shift":!0,"Ctrl+H":!0,"Ctrl+Page Down":!0,"Ctrl+Shift+H":!0,"Shift+Alt+H":!0,"Ctrl+Shift+E":!0,"Ctrl+Shift+C":!0,"Ctrl+Shift+T":!0,"Ctrl+Shift+D":!0,"Ctrl+Shift+M":!0,"Ctrl+Shift+X":!0,"Ctrl+J":!0,"Ctrl+N":!0,"Ctrl+O":!0,"Ctrl+P":!0,"Ctrl+S":!0,Space:!0,"Ctrl+F"(){return!LNt()},"Ctrl+Shift+F":!0,"Ctrl+A":!0,"Alt+V":!0,Alt:!0,"Cmd+W":!0,Down:function(){return C.isMouseOnEditFrame||C.mousePlace.isInPreventDefaultUpDownPlace()||C.mousePlace.isInHomePageProjectTree()||si.judgeMenuShowAndExist()||a},Up:function(){return C.isMouseOnEditFrame||C.mousePlace.isInPreventDefaultUpDownPlace()||C.mousePlace.isInHomePageProjectTree()||si.judgeMenuShowAndExist()||a},Left:function(){return C.isMouseOnEditFrame||C.mousePlace.isInLeftSchTree()||C.mousePlace.isInHomePageProjectTree()},Right:function(){return C.isMouseOnEditFrame||C.mousePlace.isInLeftSchTree()||C.mousePlace.isInHomePageProjectTree()},"Page Down":Wr.treeFocusSet.size>0,"Page Up":Wr.treeFocusSet.size>0,Tab:()=>i.target.tagName==="BODY","Ctrl+Z":()=>i.target.tagName==="BODY","Ctrl+1":!0,"Ctrl+2":!0,"Ctrl+3":!0,"Ctrl+4":!0,"Ctrl+5":!0,"Ctrl+6":!0,"Ctrl+7":!0,"Ctrl+8":!0,"Ctrl+9":!0,"Ctrl+K":!0,"Ctrl+E":!0,F5:!0,"Ctrl+R":!0,"Shift+F5":!0,ESC:!0,"Ctrl+U":!0,"Ctrl+G":!0,"Ctrl+=":!0,Enter:!0,"Ctrl+-":!0,"Ctrl+0":!0,"Shift+Esc":!0,"Ctrl+T":!0,"Ctrl+Shift+N":!0,"Ctrl+W":!0,"Ctrl+F4":!0,"Ctrl+Page Up":!0,"Ctrl+Shift+Tab":!0};if(!D)return!1;if(D.startsWith("Alt"))return!0;let N={};for(let R in E){let v=g3(R);N[v]=E[R]}return typeof N[D]=="function"?N[D]():N[D]}async function w(D){let E=D.ctrlKey,N=D.shiftKey,R={38:{func:"UpKeyDown",funcStr:"\u4E0A\u4E00\u884C"},40:{func:"DownKeyDown",funcStr:"\u4E0B\u4E00\u884C"},37:{func:"LeftKeyDown",funcStr:"\u6536\u8D77"},39:{func:"RightKeyDown",funcStr:"\u5C55\u5F00"},33:{func:"",funcStr:"\u4E0A\u4E00\u9875"},34:{func:"",funcStr:"\u4E0B\u4E00\u9875"},36:{func:"",funcStr:"\u7B2C\u4E00\u4E2A"},35:{func:"",funcStr:"\u6700\u540E\u4E00\u4E2A"}},v=a_(r);switch(D.keyCode){case 13:{if(C.mousePlace.isInLeftPanelProjectTree())Wr.getKeyboardStore(FS).setKeyboardValue({keyCode:D.keyCode});else if(C.mousePlace.isInOpenDialogProjectTree())Wr.getKeyboardStore(q6).setKeyboardValue({keyCode:D.keyCode});else if(C.mousePlace.isInLeftSchTree())vM.getKeyboardStore(FD).setKeyboardValue({keyCode:D.keyCode});else if(C.mousePlace.isInLeftPanel())us.keyBoardStore.setKeyboardValue({keyCode:D.keyCode});else if(C.mousePlace.isInSelectCompent())return h_.keyBoardStore.setKeyboardValue({keyCode:D.keyCode,evt:D}),!0;break}case 27:{C.mousePlace.isInLeftPanel()&&us.keyBoardStore.setKeyboardValue({keyCode:D.keyCode});break}case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:{let k=!1;if(C.mousePlace.isInDesignTree())k=!0;else if(C.mousePlace.isInLeftSchTree())vM.getKeyboardStore(FD).setKeyboardValue({keyCode:D.keyCode,isCtrl:E,isShift:N}),k=!0;else if(C.mousePlace.isInLeftPanelProjectTree())Wr.getKeyboardStore(FS).setKeyboardValue({keyCode:D.keyCode}),k=!0;else if(C.mousePlace.isInOpenDialogProjectTree())Wr.getKeyboardStore(q6).setKeyboardValue({keyCode:D.keyCode}),k=!0;else if(C.mousePlace.isInKeyPlace(D.keyCode))R[D.keyCode].func&&(C.messageBus.publish(R[D.keyCode].func),k=!0);else if(C.mousePlace.isInLeftPanel())us.keyBoardStore.setKeyboardValue({keyCode:D.keyCode});else if(C.mousePlace.isInKeyRangePlace(D.keyCode))k=!0;else if(C.mousePlace.isInSelectCompent())return h_.keyBoardStore.setKeyboardValue({keyCode:D.keyCode,evt:D}),!0;if(k&&C.messageBus.publish("sensorsEventsReport",{eventName:"hotkey",eventData:{hotkey:v,function:R[D.keyCode].funcStr}}),k)return!0;break}case 33:{let k=!1;if(Wr.treeFocusSet.forEach(P=>{Wr.getKeyboardStore(P).setKeyboardValue({keyCode:D.keyCode}),k=!0}),C.mousePlace.isInLeftPanel()&&us.keyBoardStore.setKeyboardValue({keyCode:D.keyCode}),k)return!0;break}case 34:{let k=!1;if(Wr.treeFocusSet.forEach(P=>{Wr.getKeyboardStore(P).setKeyboardValue({keyCode:D.keyCode}),k=!0}),C.mousePlace.isInLeftPanel()&&us.keyBoardStore.setKeyboardValue({keyCode:D.keyCode}),k)return!0;break}case 113:if(C.mousePlace.isInLeftSchTree())return vM.getKeyboardStore(FD).setKeyboardValue({keyCode:D.keyCode}),!0;break;case 46:{if(C.mousePlace.isInLeftPanel())us.keyBoardStore.setKeyboardValue({keyCode:D.keyCode});else if(C.mousePlace.isInLeftSchTree())return vM.getKeyboardStore(FD).setKeyboardValue({keyCode:D.keyCode}),!0;break}case 35:C.mousePlace.isInLeftPanelProjectTree()?Wr.getKeyboardStore(FS).setKeyboardValue({keyCode:D.keyCode}):C.mousePlace.isInLeftPanel()&&us.keyBoardStore.setKeyboardValue({keyCode:D.keyCode});break;case 36:C.mousePlace.isInLeftPanelProjectTree()?Wr.getKeyboardStore(FS).setKeyboardValue({keyCode:D.keyCode}):C.mousePlace.isInLeftPanel()&&us.keyBoardStore.setKeyboardValue({keyCode:D.keyCode});break;default:break}if(C.mousePlace.isInLeftSchTree()){if(v==="Ctrl+C")return vM.getKeyboardStore(FD).setKeyboardValue({keyCode:D.keyCode,keyStr:v}),!0;if(v==="Ctrl+V")return vM.getKeyboardStore(FD).setKeyboardValue({keyCode:D.keyCode,keyStr:v}),!0}if(v=="Ctrl+V")try{let k=await navigator.clipboard.read();if(k.length>0){let P=k[0].types;if(P&&!P.length)return!0;for(let O of P)if(O.startsWith("image/"))return!0}}catch{}}function x(D){return!1}async function S(D){let E;if(D===se.SCH||pr(D),Wn(D))return E=(await C.messageBus.rpcCall("getPanelScene")).message;switch(D){case se.FOOTPRINT:case se.PCB:let N=await ei(),{message:R}=await C.windowBridge.rpcCall("getPcbScene","",N.contentWindow);E=R[0];break;case se.HOME:case se.VIEW3D:case se.PHOTOVIEW:case se.PANEL3D:E=KNt();break;case se.BLANKTAB:E=C.isMouseOnEditFrame?1:3;break;default:E=1;break}return E}function T(D){return D.map(E=>({id:E.hotkeyCmd,title:Rr(E.funcE),hotkeyCmd:E.hotkeyCmd,subHotkeyId:E.hotkeyCmd,callback:async()=>{if(l===se.SCH||pr(l)){d="sch_hotkey";let N={type:r.type,key:i.key,keyCode:i.keyCode,metaKey:i.metaKey,ctrlKey:i.ctrlKey,shiftKey:i.shiftKey,altKey:i.altKey,target:{tagName:i.target.tagName}};Ca("main2iframe/trigger-event",[N])}else if(Wn(l))d="panel_hotkey",i.stopPropagation&&i.stopPropagation();else if(l===se.PCB||l===se.FOOTPRINT){d="pcb_hotkey";let N={key:i.key,keyCode:i.keyCode,shiftKey:i.shiftKey,ctrlKey:i.ctrlKey,altKey:i.altKey,hotkeyCmd:E.hotkeyCmd},R=await ei(),v=await(await C.windowBridge.rpcCall("getHotKeyCmd",N,R.contentWindow)).message;if(v){let k={hotkeyCmd:v.menuHotkeyCmd};if(e(k))return!1}C.messageBus.publish(d,N);return}else l===se.BLANKTAB?(d="blank_tab_hotkey",i.stopPropagation&&i.stopPropagation()):l===se.ASSEMBLY_VARIANT?(d="assembly_tab_hotkey",i.stopPropagation&&i.stopPropagation()):(d="home_hotkey",i.stopPropagation&&i.stopPropagation());!C.isMouseOnEditFrame&&(d=="panel_hotkey"||d=="sch_hotkey")&&!E.scene.includes(1)||await g(E)}}))}},escEnter:function(i,o=I6e()){if(i.defaultPrevented)return;let r=i.keyCode,n=i.target.tagName,a=13,s=27;if(r==s&&(0,Oo.default)("#colorpanel").hide(),r==a&&o){let l=["drawing-attr"],c=!1;if(n==="TEXTAREA"||n==="INPUT"){for(let u=0;u<l.length;u+=1)if((0,Oo.default)(i.target).closest("#"+l[u]).length>0){c=!0;break}if(!c)return}if((0,Oo.default)(i.target).closest("a")[0])return;i.preventDefault&&i.preventDefault();let d=o.find(".dialog-button a:not(.disabled):not(.l-btn-disabled):eq(0)").filter(function(){return(0,Oo.default)(this).css("display")!=="none"});d.length?d.trigger("click"):o.find(".messager-button a:not(.disabled):eq(0)").filter(function(){return(0,Oo.default)(this).css("display")!=="none"}).trigger("click")}if(r==s){if(Tv.closeCurrent(!0))return;if(o){let l=o.attr("esc-quit-forbiden");if(n==="SELECT"||i.target._compositionstart||(i.preventDefault&&i.preventDefault(),l))return;let c=o.attr("id");o.attr("data-render")==="react"&&c||o.dialog("close")}}}}}var CNr="__LOCAL_UPLOAD_COUNT__",xNr="__LOCAL_DONE_COUNT__";function TNr(){window.addEventListener("beforeunload",function t(e){if(he.saveContainerData(),(he.hasTabUnSaved()||self[CNr]!==self[xNr])&&!C.ignoreConfirmClose){e.preventDefault();let i=me.i18n("Some changes have not been saved.");if(e.returnValue=i,qL){let o="<p>"+i+"<p>"+me.i18n("Are you sure you want to leave this page?");!window.app||window.app.closing?Ut({type:"confirm",title:"Confirm Close",message:o,textOK:"Leave this page",textCancel:"Stay on this page",showCancel:!0,isHtml:!0,onConfirm:async()=>{C.ignoreConfirmClose=!0,C.currentProject.projectId&&await Xg(C.currentProject.projectId),Zv("_close")},onCancel:()=>{_a.setCloseAction("reload")},onClose:()=>{_a.setCloseAction("reload")}}):Ut({type:"confirm",title:"Confirm Reload",message:o,textOK:"Reload this page",textCancel:"Cancel",showCancel:!0,isHtml:!0,onConfirm:()=>{window.removeEventListener("beforeunload",t),location.replace(location.pathname)}})}return i}else return null},!1)}function SNr(){(0,Oo.default)(document).on("contextmenu",function(t){!qL&&(t.target.tagName!=="INPUT"&&t.target.tagName!=="TEXTAREA"||(t.target.tagName==="INPUT"||t.target.tagName==="TEXTAREA")&&(0,Oo.default)(t.target).prop("disabled"))&&!t.target.hasAttribute("data-enableContextmenu")&&t.preventDefault()}).on("focus",'input[unit="true"], input[percent="true"]',function(){if([se.PCB,se.FOOTPRINT].includes(dt()))return;let t=(0,Oo.default)(this).val(),e=parseFloat((0,Oo.default)(this).val());isNaN(e)||((0,Oo.default)(this).attr("oldval",t),(0,Oo.default)(this).val(e))}).on("blur",'input[unit="true"]',function(t){let e=["attr-rotation","attr-angle","attr-start-angle","attr-end-angle"];if([se.PCB,se.FOOTPRINT].includes(dt()))return;let o=(kr("canvas_config")||{}).unit||"inch",r=(0,Oo.default)(this).val();if(!o||!r)return;let n=(0,Oo.default)(this)[0];L6e(n,"sch-font-size")&&(o=Vo(),r=yd(r,o)),L6e(n,"panel-font-size")&&(o="mm"),e.includes(n.name)&&(o="\xB0");let a=parseFloat(r);isNaN(a)?(0,Oo.default)(this).attr("oldval")?(0,Oo.default)(this).val((0,Oo.default)(this).attr("oldval")):(0,Oo.default)(this).val(10+o):(0,Oo.default)(this).val(a+o)}).on("blur",'input[percent="true"]',function(){let t=(0,Oo.default)(this).val();if(!t)return;let e=parseFloat(t);isNaN(e)?(0,Oo.default)(this).attr("oldval")?(0,Oo.default)(this).val((0,Oo.default)(this).attr("oldval")):(0,Oo.default)(this).val("100%"):(0,Oo.default)(this).val(e+"%")}).on("blur",'input[name="serviceLink"]',function(){let t=(0,Oo.default)(this).val();if(!/^(http|https):\/\/([\w.]+\/?)\S*/.test(t.trim())&&t!==""){let e=`https://${t}`;(0,Oo.default)(this).val(e)}}).on("click",".tab[show-to]",function(){let t=(0,Oo.default)(this).attr("show-to");(0,Oo.default)(this).addClass("active").siblings().removeClass("active"),(0,Oo.default)('[show-for="'+t+'"]').show().siblings().hide()}).on("input",'#drawing-attr-Text textarea, .attrarea textarea[name="attr-text"], .attrarea input[name="attr-text"], input[type="text"]',function(){let t=(0,Oo.default)(this).val();t.match(C.emojiReg)&&(0,Oo.default)(this).val(t.replace(C.emojiReg,""))}),(0,Oo.default)(document).on({compositionstart:function(t){let e=this;typeof e._compositionstart=="number"&&clearTimeout(e._compositionstart),e._compositionstart=!0},compositionend:function(t){let e=this;e._compositionstart=setTimeout(function(){delete e._compositionstart},200)}},"input[type=text], textarea"),document.addEventListener("click",function(t){if(t.button===TK&&t.target&&t.target.getAttribute){let e=t.target;if(e.tagName!="A"&&(e=(0,Oo.default)(e).closest("A")[0]),e){let i=e.getAttribute("href");i&&i.match(/^#|^javascript\:/)&&t.preventDefault()}}},!1),document.addEventListener("dragover",function(t){(function(i){return Array.prototype.indexOf.call(i.dataTransfer.types,"Files")>=0})(t)&&t.preventDefault()}),(0,Oo.default)(document).on("click",".applyNewPartsBtn",()=>yM("apply_new_parts"))}function MNr(){function t(o,r){if(typeof r!="function")return!1;let n=new FileReader;n.onload=function(a){r(a.target.result)},n.readAsDataURL(o)}let e,i={multiple:!1,accept:"image/*",fileFilter:function(o){return/\.(png|gif|jpeg|jpg|svg)$/i.test(o.name)},onValidate:function(o){o||Ut({type:"warn",message:"Please select an image file."})},onSelectFiles:function(o){if(!o[0])return;let r=function(n){};t(o[0],r)}};(0,Oo.default)("#dlgImageProperty-select").on("click",function(){if(!window.FileReader){Ut({type:"error",message:"Your browser cannot run this function."});return}e||(e=nu.instance((0,Oo.default)("<br>")).config(i)),e.openSelect()})}function INr(){let e,i=NaN;(0,Oo.default)(`#${$Pe},#${eOe},#${tOe},#${iOe}`).on("click","[data-log-find-id]",function(r){clearTimeout(e),e=setTimeout(()=>{o.bind(this)("click")},260)}).on("dblclick","[data-log-find-id]",function(){clearTimeout(e),o.bind(this)("dbLclick")}).on("scroll",function(r){let n=r.target.scrollTop;if(i==n)return;let a=OKe();by(a),i=n}).on("click","[data-log-find-call]",function(r){let n=(0,Oo.default)(this),a=n.attr("data-log-find-cmd"),s=n.attr("data-log-find-topic"),l=n.attr("data-log-find-args")||"";l=l&&JSON.parse(l),a?et.call(this,a,l):s&&C.messageBus.publish(s,l)});function o(r){var y;let n=r==="dbLclick",a=(0,Oo.default)(this),s=(0,Oo.default)(this).attr("data-log-find-type"),l=(0,Oo.default)(this).attr("data-log-find-options"),c=OKe(),d=XWi(c),u=a.parents(".log").eq(0),p=u.attr("data-log-index"),m=a.parent(),h=a.get(0).outerHTML;a.addClass("clicked");let f=a.get(0).outerHTML,g=((y=m==null?void 0:m.attr("i18n"))==null?void 0:y.match(/\{\w+\}/g))||[];for(let w of g){let x=`i18n-params-${w.slice(1,w.length-1)}`.toLocaleLowerCase(),S=m.attr(x);m.attr(x,S.replace(h,f))}let b=u.get(0).outerHTML;if(a.attr("data-log-find-pcbid")){let w=a.attr("data-log-find-pcbid").split(","),x=a.attr("data-log-find-id").split("|"),S={};w.forEach((T,M)=>{let I=(x[M]||"").split(",");I.length>0&&(S[T]=I)}),A9i(S,n)}else if(a.attr("data-log-find-symbolid")){let w=a.attr("data-log-find-symbolid"),S=a.attr("data-log-find-id").split(",");he.isHasTabById(w)&&he.setTabActive(w).then(()=>{n?C.messageBus.publish("sch/selectWithShowCrossCursorByIds",{tabId:w,ids:S}):C.messageBus.publish("sch/selectModelsByIds",{tabId:w,ids:S})})}else if(a.attr("data-log-find-panelid")){let w=a.attr("data-log-find-panelid"),x=a.attr("data-log-find-id"),S=a.attr("data-log-find-comid"),T=[x];he.getTabById(w)?he.setTabActive(w).then(()=>{kr("select_none"),kr("highlightItems",[T,{scrollElementsIntoView:n}]),Pt(kt.Panel.EditCombination,[S||""]).then(M=>{kr("selectById",[T]),C.messageBus.publish("panel_updateAttrPanel"),C.messageBus.publish("panel/updateTreeActiveElements")})}):yn({uuid:w})}else if(a.attr("data-log-find-simTabid")){let w={partId:a.attr("data-log-find-part-id"),simTabid:a.attr("data-log-find-simTabid"),id:a.attr("data-log-find-id"),isGroupId:s==="wire"||s==="bus",updateInfo:{index:p,tabType:c,htmlStr:b,logCategory:d},fit:n?1:0,path:a.attr("data-log-find-path")};pAt({index:Number(p),tabType:c,htmlStr:b,logCategory:d}),C.messageBus.publish("updateSimSelectEle",w)}else{let w={partId:a.attr("data-log-find-part-id"),sheet:a.attr("data-log-find-sheet"),id:a.attr("data-log-find-id"),isGroupId:s==="wire"||s==="bus",updateInfo:{index:p,tabType:c,htmlStr:b,logCategory:d},fit:n?1:0,path:a.attr("data-log-find-path"),options:{openFootPrintManager:l==="openFootPrintManager"}};pAt({index:Number(p),tabType:c,htmlStr:b,logCategory:d}),C.messageBus.publish("updateSelectEle",w)}}}function LNr(){let t=(0,Oo.default)("#editorTabbar"),e=(0,Oo.default)(".previewBox .thumb-loading"),i=(0,Oo.default)("#layout_toggler_left, #layout_toggler_right, #layout_toggler_bottom, #layout_toggler_part_symbol, .bottomBar-splitLine"),o,r,n,a=!1;i.on("pointerdown",function(s){a=!0,r=this,o=s.target.id,!o&&s.currentTarget&&(o=s.currentTarget.id),n=uO(),(0,Oo.default)("#pagemask").show(),e.each((l,c)=>{(0,Oo.default)(c).data("isVisible")!=null&&(0,Oo.default)(c).data("isVisible",(0,Oo.default)(c).filter(function(){return(0,Oo.default)(this).css("display")!=="none"})).addClass("bg-transparent").show()}),o==="layout_toggler_bottom"&&gZi(document.getElementById("bottomBarBox")),(0,Oo.default)(r).addClass("dragging"),document.body.classList.add("unselectable")}),(0,Oo.default)(document).on("pointermove",async function(s){if(!a||(0,Oo.default)(r).hasClass("close"))return;let l=s.pageX,c=s.pageY;if(o==="layout_toggler_left"){let u=IY("left");l=l>u?u:l<jI?jI:l,n.left.left=l,(0,Oo.default)("body").css("cursor","col-resize")}if(o==="layout_toggler_right"){let u=IY("right");l=Gw.winWidth-l,l=l>u?u:l<l5?l5:l,n.right.right=l,(0,Oo.default)("body").css("cursor","col-resize")}if(o==="layout_toggler_bottom"){let u=IY("bottom");c=Gw.winHeight-c,c=c>u?u:c<Vfe?Vfe:c,n.bottom.bottom=c,(0,Oo.default)("body").css("cursor","row-resize"),(0,Oo.default)("#"+o).data("allow-open",!0),by(OKe())}if(o==="layout_toggler_part_symbol"&&(c=c>t.height()?t.height():c<92?92:c,c=(c-66)/t.height(),n.partSymbol.top=c,(0,Oo.default)("body").css("cursor","row-resize")),o==="layout_toggler_bottom_right"||o==="layout_toggler_bottom_right1"){let u=(0,Oo.default)("#dlgbtmbarClassificationWrap").width()+(0,Oo.default)("#dlgbtmbarCategoryWrap").width();l=Math.max(u+Gfe,l),l=Math.min(Gw.winWidth-280,l),n.bottomRight.right=Gw.winWidth-l,(0,Oo.default)("body").css("cursor","col-resize"),(0,Oo.default)("#layout_toggler_bottom").data("allow-open",!0)}Sae(n);let d;o==="layout_toggler_left"?d={left:{left:n.left.left,open:n.left.open}}:o==="layout_toggler_right"?d={right:{right:n.right.right,open:n.right.open}}:o==="layout_toggler_bottom"&&(d={bottom:{bottom:n.bottom.bottom,open:n.bottom.open}}),await O4({layout:d,record:!0,isResize:!1,globalLayout:n}),o==="layout_toggler_bottom"&&C.messageBus.publish("adjustPinTableHeight"),C.messageBus.publish("dragLeftToggerBarMove")}),(0,Oo.default)(document).on("pointerup",function(s){if(a){if(a=!1,e.each((l,c)=>{(0,Oo.default)(c).data("isVisible")&&(0,Oo.default)(c).show(),(0,Oo.default)(c).removeClass("bg-transparent").data("isVisible",null)}),(0,Oo.default)("#pagemask").hide(),(0,Oo.default)("body").css("cursor","default"),(0,Oo.default)(r).removeClass("dragging"),o==="layout_toggler_bottom"&&bZi(document.getElementById("bottomBarBox")),a)Sae(n,!0);else{let l=o.replace("layout_toggler_","");Ho.setTopBarItemChecked(`toolbar_toggle(${l}bar)`)}document.body.classList.remove("unselectable"),o=void 0,r=void 0,n=void 0,s.stopPropagation&&s.stopPropagation()}})}function vNr(){window.addEventListener("load",()=>{}),document.addEventListener("visibilitychange",function(){document.hidden||MM.timer&&MM.clear()}),window.addEventListener("resize",function(){i7t.execHooks(),O4({record:!1,isResize:!0})},!1)}var DNr=new BroadcastChannel("loginNotifier");DNr.onmessage=async t=>{var o,r;let e=(o=t.data)==null?void 0:o.data;((r=t.data)==null?void 0:r.type)==="loginHandle"&&(Object.keys(e).length&&y1("isLogin",JSON.stringify(e)),await Hfe(e))};function ENr(){(0,Oo.default)(window).on("message",function(t){t=t.originalEvent;let e=t.data&&t.data.data;switch(t.data&&t.data.type){case"updateTeam":oJe();break;case"avatar-updated":C.userAvatar=e||"",Wfe(e);break;case"saveAsLocal":C.cmdFromUserCenter.saveAsLocal=!0;break;case"saveAsCloud":C.cmdFromUserCenter.saveAsCloud=!0;break;default:break}})}async function ANr(){return new Promise(t=>{let e=document.createElement("iframe");e.style.display="none",e.src="editor?entry=dummy",e.onload=()=>{let i=e.contentWindow;t(i.PRO_EDITOR_MODE===self.PRO_EDITOR_MODE),requestAnimationFrame(()=>e.remove())},e.onerror=()=>{new E2(D2.WARN).warn("checkModeByServer: \u68C0\u67E5\u7F16\u8F91\u5668\u6A21\u5F0F\u5931\u8D25\uFF0C\u8DF3\u8FC7\u6A21\u5F0F\u5224\u65AD"),t(!0),requestAnimationFrame(()=>e.remove())},document.body.append(e)})}async function Hfe(t){await ANr()||location.reload(),!t||!Object.keys(t).length?C.globalVariableCookieData={}:t.username&&t.uuid&&(Xo.setUserInfo(t),_f.setLoginStatus(!0)),oJe(),t&&C.loginHandle(t),C.messageBus.publish("AiLivechatLoginUpdate",t)}function NNr(t){return["+","-","*","/","0",".","1","2","3","4","5","6","7","8","9"].includes(t)}window.addEventListener("message",function(t){let e=t.data;e.cmd==="openPlaceDeviceSmt"&&(e.searchVal?$B({form:"smt",searchValue:e.searchVal}):$B({form:"smt"})),e.isSmtSuccess&&(0,Oo.default)('#chooseDeviceDialogContainer a[data-pop-tagitem="cancel"]').trigger("click")});window.addEventListener("sendBroadcastMessage",t=>{new BroadcastChannel("crossProbe").postMessage(t.detail)});function NZi(t){let e=0,i=new BroadcastChannel("crossProbe");i.onmessage=async function(o){var w,x;let r=o.data||{},n=r.cmd,a=r.data,{fromActiveProjectId:s,fromActiveFileType:l,fromActiveFileId:c,selectObj:d,otherData:u,ticket:p,fromVersion:m}=a,h=a.selectObj,f=wa(),g=dt(),b=he.getActiveProject(),y=Pr.version.uuid;switch(n){case"crossProbe":if(!a||!s||!c||!h||!f||s!=b||m!=y)return;(g==se.PCB&&l==se.SCH||g==se.SCH&&l==se.PCB)&&(l==se.PCB?C.messageBus.rpcCall("NotifySchCrossProbe",{pcbUuid:he.getUuidAndPathByTab(c).uuid,rule:h,otherData:u}):C.windowBridge.publish("notifyPcbCrossProbe",{...d,otherData:u},ko()));break;case"clearSelected":if(!a||!s||!c||!h||!f||s!=b||m!=y)return;if(g==se.PCB||g==se.SCH)if(l==se.PCB)C.windowBridge.publish("crossClearSelected",{pcbUuid:wr(f)[0]},ko()),C.windowBridge.publish("updateAttrPanel",void 0,ko());else{let S=await ei();C.windowBridge.publish("clearSelected","",S.contentWindow)}break;case"crossProbeBetweenWindows":if(!a||!s||!c||!h||!f||s!=b||m!=y)return;f!==c?(g==se.PCB&&l==se.SCH||g==se.SCH&&l==se.PCB)&&(u.crossWindowType="crossProbeBetweenWindows",C.windowBridge.publish("cross-window",{selectObj:h,otherData:u,cmd:"crossProbeBetweenWindowsAck",ticket:p},ko())):f==c&&(e=p,u.isManualTrigger||(a.otherData.isCrossWindow=!1,DMe(a,f)),setTimeout(()=>{e===p&&(e=0,u.isManualTrigger&&(a.otherData.isCrossWindow=!1,DMe(a,f)))},600));break;case"crossProbeBetweenWindowsAck":{if(e===p){if(f==c)return;e=0;let S=he.getActiveTabData(),T=(w=S==null?void 0:S.data)==null?void 0:w.doNotShowAgain;switch(u.crossWindowType){case"crossProbeBetweenWindows":if(u.isCrossWindow=!0,!u.isManualTrigger){C.windowBridge.publish("cross-window",{selectObj:d,otherData:u,cmd:"crossProbe"},ko());return}if(T)if(T=="confirm"){C.windowBridge.publish("cross-window",{selectObj:h,otherData:u,cmd:"crossProbe"},ko());return}else{a.fromActiveFileId=f,a.fromActiveFileType=g,a.otherData.isCrossWindow=!1,DMe(a,f);return}else{if(S.data.doctype==se.PCB&&!d.pad.length&&!d.component.length&&!((x=d.nets)!=null&&x.length)){De({type:"info",msg:"Can't find matching objects"});return}he.setTabData(S.tabId,{type:"crossProbeBetweenWindows",crossProbeBetweenWindows:{selectObj:d,otherData:u}}),ufe();return}break;case"placeTransfer":if(T)if(T=="confirm"){C.windowBridge.publish("cross-window",{selectObj:h,otherData:u,cmd:"crossProbe"},ko());return}else C.windowBridge.publish("notifyPcbCrossProbe",{...h,otherData:u},ko());else{he.setTabData(S.tabId,{type:"placeTransfer",placeTransferData:{selectObj:d,otherData:u}}),ufe();return}break}}break}case"placeTransfer":if(!a||!s||!c||!h||!f||s!=b||m!=y)return;g==se.PCB&&l==se.SCH&&f!==c?(u.crossWindowType="placeTransfer",C.windowBridge.publish("cross-window",{selectObj:h,otherData:u,cmd:"crossProbeBetweenWindowsAck",ticket:p},ko())):f==c&&(e=p,setTimeout(async()=>{e===p&&(e=0,C.windowBridge.publish("notifyPcbCrossProbe",{...h,otherData:u},ko()))},600));break;case"save":if(!a||!s||!c||!h||!f||s!=b||m!=y)return;if(l==se.FOOTPRINT&&g==se.PCB){await C.messageBus.rpcCall("/pro-mgr/project/sync/force",[C.currentProject.projectId]);let{attrData:S,indexdbDetailData:T,detailDataUuid:M}=h,I=he.getAllTabIdByDoctype(se.PCB),A=[];for(let D=0;D<I.length;D++){let E=await he.getTabIFrame(I[D]);(await C.windowBridge.rpcCall("editFootprintResult",{type:+S["edtfootprint-type"],data:{modify:{[S["edtfootprint-old-device-uuid"]]:M},footprint:[T]}},E.contentWindow)).message&&A.push(I[D])}HV(S["edtfootprint-new-device-uuid"],{"edtfootprint-old-device-uuid":M,"edtfootprint-type":2}),A.forEach(async D=>{EX(D)})}if(l==se.PART&&g==se.SCH){let S;if(await C.messageBus.rpcCall("collectOldDataStr",[[h.uuid],!1,T=>S=T]),!h.uuid)return;await C.messageBus.rpcCall("/pro-mgr/project/sync/force",[C.currentProject.projectId]),EX(h.uuid),C.messageBus.rpcCall("updateOpenedSheetSymbol",[S,!1])}if(l==se.SCH&&g==se.PCB){if(!h.uuid)return;await C.messageBus.rpcCall("/pro-mgr/project/sync/force",[C.currentProject.projectId])}break}},i.onmessageerror=function(o){console.error("BroadcastChannel onmessageerror ("+o.target+"):",o)}}async function DMe(t,e){var l;let[i,o]=wr(e);if((l=he.getTabData(e))==null?void 0:l.isReadOnlyMode)return;let{selectObj:n,fromActiveFileType:a,otherData:s}=t;a==se.SCH?C.windowBridge.publish("notifyPcbCrossProbe",{...n,otherData:s},ko()):a==se.PCB&&(await C.messageBus.rpcCall("NotifySchCrossProbe",{pcbUuid:i,rule:n,otherData:s}),s!=null&&s.isCrossProbeTool&&!(s!=null&&s.isSplitScreen)&&setTimeout(()=>{he.setTabActive(e,!0).then(()=>{setTimeout(()=>{Ic("crossProbeTool")},100)})},100))}function Pxt(t,e=!0){return(i,o)=>{let r=i[t],n=o[t];if(typeof r<"u"&&typeof n<"u")return e?r-n:n-r}}function uHi(t){let e=t.split(",")[0].split(":")[1].split(";")[0],i=atob(t.split(",")[1]),o=new ArrayBuffer(i.length),r=new Uint8Array(o);for(let n=0;n<i.length;n++)r[n]=i.charCodeAt(n);return new Blob([r],{type:e})}async function tJe(){async function t(r){let{message:n}=await C.messageBus.rpcCall(Ei.OTHER.SET_EDITOR_VERSION,[r]);n.success&&location.reload()}ap().unsaveFileTabId.length&&await xl();let{message:i}=await C.messageBus.rpcCall(Ei.OTHER.GET_EDITOR_VERSION),o=i.result;t(o)}async function m4(t,e,i,o){if(!o){let{message:c}=await C.messageBus.rpcCall(Ei.TAG.LIST,{user_uuid:t,types:[e],path:t});c&&c.code===0&&c.success?o=c.result:console.error(c.message)}let[r,n]=i.split(":"),a="",s="";async function l(c,d){let{message:u}=await C.messageBus.rpcCall(Ei.TAG.CREATE,{user_uuid:t,path:t,type:[e],name:d,parent_uuid:c,order_no:0});if(u&&u.code===0&&u.success)return u.result[0].uuid;console.error(u.message)}return r&&(it(o,(c,d)=>{!d.parent_uuid&&d.name===r&&(a=d.uuid)}),a||(a=await l("",r))),n&&a&&(it(o,(c,d)=>{d.parent_uuid&&d.name===n&&(s=d.uuid)}),s||(s=await l(a,n))),[a,s]}function AX(t,e=""){let i="";return t&&(i=t.Comment||t.comment||t.Name||t.Value||t["Manufacturer Part"]||e||""),i}function SQe(t){return t.trim()?!!/^C9900\d{6}$/i.test(t):!1}function e1e(t){let e=(0,Oo.default)(window).width(),i=(0,Oo.default)(window).height(),o=t.width,r=t.height,n=80;return o&&o>=e-n&&(o=e-n),r&&r>=i-n&&(r=i-n),{width:o,height:r}}function Aj(t,e){var o,r,n,a,s,l;let i="";if(e){if(t.custom_tags)try{i=JSON.parse(t.custom_tags).join(":")}catch{}}else if((r=(o=t.tags)==null?void 0:o.parent_tag)!=null&&r.name){let c=((n=t.tags.parent_tag)==null?void 0:n.name_cn)||((a=t.tags.parent_tag)==null?void 0:a.name),d=((s=t.tags.child_tag)==null?void 0:s.name_cn)||((l=t.tags.child_tag)==null?void 0:l.name);i=d?`${c}:${d}`:c}return i}async function Vg(t,e,i){let o=t==="table"?"tablePageSize":"chartPageSize";mt.setCacheObj(o,e),await mt.saveToServer(),i&&i==="chooseDeviceDlg"?C.messageBus.publish("refreshComponentLib"):i&&i==="bottom"?C.messageBus.publish("updateChooseDeviceTablePageSize"):(C.messageBus.publish("refreshComponentLib"),C.messageBus.publish("updateChooseDeviceTablePageSize"))}function GTe(t){let e="tablePageSize",i=50;return t==="chart"&&(e="chartPageSize",i=10),mt.getCacheObj(e)||i}function EZi(t){if(pr(t))return 3;switch(t){case se.VIEW3D:return 7;case se.PHOTOVIEW:return 8;case se.PANEL3D:return 9;case se.PANEL_LIB:return 10;case se.PANEL:return 6;case se.PCB:return 4;case se.FOOTPRINT:return 5;case se.BLANKTAB:return 0;case se.SCH:return 2;case se.HOME:return 1;case se.NGSPICE:return 12;case se.SIMULIDE:return 13;default:return 1}}function kZi(){let t=mt.getUserName();return!!["Admin","LCSC","lcsc"].includes(t)}async function t7t(t){if(je(gi(),dt()))return;let e=await qCt(t);if(!e.dataURL)return;let i=await ei(),o=new B2,r=await o.getImageType(e.file),n=e.originalFile?await o.getImageType(e.originalFile):null,a={originUrl:e.dataURL,name:t.name,size:e.file.size,lastModified:t.lastModified,type:e.file.type,actualFormat:r,actualOriginalFormat:n};cre.add(e.dataURL,e.file),C.windowBridge.publish("insertImage",a,i.contentWindow)}async function kNr(t){if(je(gi(),dt()))return;let{activeElement:e}=document;if(e&&(["INPUT","TEXTAREA"].includes(e.tagName)||e.isContentEditable))return!1;Ca("pasteImage",[t])}async function PNr(){let t=self.location.host.includes("uat"),e=self.location.host.includes("localhost");if(!e&&(!Xr||_t||wi||!M6e))return;let i="",o=!1,r=null,n=!1,a=async s=>{var u;if(!Tae)return;let l=s==null?void 0:s.username,c=((u=C.globalVariableCookieData.userInfo)==null?void 0:u.customerCode)||"",d=Tae.getInstance();l||c?(await d.fetchAndSetUserId(c),n=!0):n&&await d.clearVisitorId()};if(C.messageBus.subscribe("AiLivechatLoginUpdate",async s=>{if(console.log("AiLivechatLoginUpdate triggered"),!o){console.log("AiLivechatSDK is not ready"),r=s;return}a(s)}),C.messageBus.subscribe("adjustPinTableHeight",async()=>{let s=document.querySelector("#layout_toggler_bottom"),l=document.querySelector("#quick-chat-iframe");if(!s||!l)return;let c=+s.style.bottom.replace("px","")||0;c<=24&&(c=0),l.style.inset=`auto 0px ${c}px auto`}),C.messageBus.subscribe("tabChange",async s=>{let{fromTab:l,tabId:c,docType:d}=s,u=c=="tab_page1";if(!o){let m=document.querySelector("#quick-chat-iframe");m&&(m.style.visibility=u?"":"hidden");return}let p=Tae.getInstance();u?p.open():p.close()}),i=await fetch("/api/edaCommonConfigs/getJLCAISDK",{method:"GET"}).then(s=>s.json()).then(s=>{var l;return(l=s.result)==null?void 0:l.url}).catch(s=>{console.error("getJLCAISDK failed",s),e&&document.body.insertAdjacentHTML("beforeend",'<div id="quick-chat-iframe" style="display: block; border: none; position: fixed; inset: auto 0px 0px auto; width: 256px; height: 100px; opacity: 1; background: none transparent; background-color: #f008; margin: 0px; max-height: 100%; max-width: 100vw; transform: translateY(0px); transition: transform 0.3s; visibility: visible; z-index: 2147483647; border-radius: 47px 30px 47px 47px;"><h1 style="line-height: 80px; text-align: center;">No AiLivechatSDK</h1></div>')}),!i){console.error("getJLCAISDK failed");return}M6e&&M6e.init({scriptUrl:i,bizType:"eda",debug:!0,timeout:5e3}).then(s=>{s.onReady(()=>{console.log("AiLivechatSDK is ready"),o=!0,he.getActiveTab()=="tab_page1"||s.close(),r&&(a(r),r=null)})}).catch(s=>{console.error("AiLivechatSDK error",s)})}var BI=L(z());function PZi(t){let{containerId:e,params:i}=t,{params:o,confirmCallback:r}=i;Ce(On);let n=(0,EM.useRef)(C.workspace),[a,s]=(0,EM.useState)(""),[l,c]=(0,EM.useState)(""),[d,u]=(0,EM.useState)(o["file-name"]||""),[p,m]=(0,EM.useState)(o["file-category-name"]||""),[h,f]=(0,EM.useState)(o["file-category"]||""),[g,b]=(0,EM.useState)(o["file-describe"]||""),[y,w]=(0,EM.useState)(!1),x=(0,EM.useRef)(null),S=(0,EM.useMemo)(()=>{let D=[_e.FAVORITELIB_UUID,"project",bn].includes(o["file-owner"]||o["file-uuid"])?"":o["file-owner"]||o["file-uuid"];return s(D),D},[]),T=(0,EM.useCallback)((D,E)=>{s(D),c(E.args.owner)},[]),M=async D=>{if(D.stopPropagation(),D.preventDefault(),!ch({ownerId:{value:a,isJudge:!Je},title:{value:d,tipName:"Footprint"},description:{value:g},categoryId:h}))return;let E=h?h.split(":"):[],N=Je?On.selectPath:l;if(p){let[v,k]=await m4(N,Yi.FOOTPRINT,p);v&&(E=(k?[v,k].join(":"):v).split(":"))}let R={"file-owner":N,"file-name":d,"file-category":E,"file-describe":g,"file-category-name":p?p.split(":"):[]};typeof r=="function"&&(r({$closeDialog:le.close.bind(null,e),$close:le.close.bind(null,e),setButtonDisable:w.bind(null,!0),setButtonEnable:w.bind(null,!1)},{data:{formData:R}}),!_t&&qg(n.current))},I=D=>{let E=D.target;if(D.keyCode===13){E.blur(),M(D);return}},A=D=>{};return(0,BI.jsxs)(BI.Fragment,{children:[(0,BI.jsxs)(z0,{children:[Je&&(0,BI.jsx)(Wb,{selectChange:()=>{}}),!Je&&(0,BI.jsx)(du,{ref:x,orgUuid:C.workspace,defaultSelectId:S,notFolder:!0,onOwnerChange:T,notWorkSpaceChange:_t,onWorkSpaceChange:D=>n.current=D}),(0,BI.jsx)(PS,{name:"Footprint",enterTriggerBlur:!1,inputValue:d,onChange:D=>u(D),onKeydown:I,onKeyup:A}),(0,BI.jsx)(Ep,{inputValue:p,categoryType:Yi.FOOTPRINT,ownerSelectId:a,clientLibPath:On.selectPath,openDialogCallback:(D,E)=>{m(D),f(E)},clearClick:()=>{m(""),f("")}}),(0,BI.jsx)(lh,{value:g,onChange:D=>b(D)})]}),(0,BI.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"8px"},children:[(0,BI.jsx)(Me,{disabled:y,type:"primary",onClick:D=>M(D),children:"Save"}),(0,BI.jsx)(Me,{onClick:()=>le.close(e),children:"Cancel"})]})]})}var RZi=L(z());async function OZi(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i,l=t.confirmCallback;if(typeof l=="function"){delete t.confirmCallback;let d={params:{...JSON.parse(JSON.stringify(t))},confirmCallback:l};le.open({id:o,title:t.title||r,width:n,height:a,closed:s,esc:!0,children:(0,RZi.jsx)(PZi,{containerId:o,params:d})})}}var BZi=L(Se());var r7t=L(jZi());var b7=L(z()),{locals:ONr}=r7t.default,o7t=be.bind(ONr),RNr=t=>{let{dialogId:e,containerId:i}=t;Ae(r7t.default);let o=J(),[r,n]=(0,BZi.useState)(()=>{let m=t.data,h=m.paths[0];return{libName:m.name,savePath:h,pathOptions:m.paths.map(f=>({value:f,text:f})),handlerConfirmCallback:m.handlerConfirmCallback}}),a=m=>{n({...r,...m})},s=()=>{le.close(i)},l=()=>{let m=/[\\\/:*?"<>|]+/g,{libName:h}=r;return m.test(h)?(h=h.replace(m,""),a({libName:h}),De({type:"info",msg:"Title contains special characters, automatically filtered",timer:5}),!1):!h||h.trim()==""?(De({type:"warn",msg:"The library name is called null"}),!1):!0},c=async()=>{let m=g=>{if(g&&g.success)r.handlerConfirmCallback&&r.handlerConfirmCallback(g.data?Object.keys(g.data)[0]:""),C.messageBus.publish("updateTeamsInfo"),De({type:"success",msg:"Created successfully!"}),s();else{let b=g.msg||g.message;if(b==="database exists"){b=o({value:"Library name: {0} already exists",options:[r.libName]}),Dt({content:b});return}Dt({title:"Error",icon:"error",content:b||"Create Library Failed!"})}},h={name:r.libName,path:r.savePath},{message:f}=await C.messageBus.rpcCall(Ei.CLIENT.CREATE_LIB,h);m(f)},d=m=>{switch(m){case"save":{if(!l())break;c();break}case"cancel":{s();break}}};Bt(m=>{(m==null?void 0:m.code)==="Escape"&&d("cancel")}).keyboard(i),Bt(()=>{d("cancel")}).close(i);let u=65,p=o7t("pop-content-container","batch-fanout-container");return(0,b7.jsxs)("div",{className:p,style:{height:"100%"},children:[(0,b7.jsx)("div",{className:o7t("pop-content-wrapper"),children:(0,b7.jsxs)(FA,{children:[(0,b7.jsx)(Wv,{title:o("Library name"),titleWidth:u,children:(0,b7.jsx)(Kt,{dataTest:"Library name",value:r.libName,style:{height:24},onChange:m=>a({libName:m})})}),(0,b7.jsx)(Wv,{title:o("Save path"),titleWidth:u,children:(0,b7.jsx)(xt,{dataTest:"Save path",value:r.savePath,list:r.pathOptions,onChange:m=>a({savePath:m})})})]})}),(0,b7.jsxs)("div",{className:o7t("pop-footer-wrapper"),children:[(0,b7.jsx)(Me,{"data-test":"Save",type:"primary",style:{marginRight:"8px"},onClick:()=>d("save"),children:"Save"}),(0,b7.jsx)(Me,{"data-test":"cancel",onClick:()=>d("cancel"),children:"Cancel"})]})]})},zZi=RNr;var UZi=L(z());async function FZi(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;return le.open({id:o,title:r,width:n,height:a,closed:s,esc:!0,folded:!1,mask:!0,children:(0,UZi.jsx)(zZi,{containerId:o,dialogId:t.dialogId,data:t.data})}),{origin:"react"}}var SO=L(Se());var xqe=L(Zm());var QZi=L(Se());var Qfe=["Footprint","3D Model","3D Model Id","3D Model Title","3D Model Transform","Symbol","NGSpice Model","NGSpice Model Title","Sim Model","Sim Model Title","NGspice Model Path","Sim Model Path"],n7t=["3D Model","3D Model Title","3D Model Transform"];var Kfe=75,Zfe=400,_Nr=110,lg={attributeLabelWidth:_Nr},y7=new um,w7="deviceEditManager";var aJe=class extends qe{constructor(e){super(),this.parent=e,this._isShowOwnerSection=!0,this._workSpaceSelected=_e.PERSIONAL_WORKSPACE,this._workSpaceDisabled=!1,this._isShowWorkSpace=!0,this._userIdSelected="",this._userSelectDisabled=!1,this._deviceItemName="",this._initialDeviceItemName="",this._categoryTags=[],this._categoryShowString="",this._symbolTypeList=this.createSymbolTypeList(),this._symbolType=tr.ComponentSymbol,this._symbolTypeDisabled=!1,this._symbolOperationType="New",this._isShowSymbolOperationType=!0,this._symbolItemId="",this._symbolItemName="",this._symbolItem=null,this._symbolItemPath="",this._symbolItemDisabled=!1,this._footprintItemId="",this._footprintItemName="",this._footprintItem=null,this._footprintItemPath="",this._footprintItemDisabled=!1,this._isShowFootprintItem=!0,this._isShowSimulationModelItem=!0,this._d3modelItem=void 0,this._d3modelItemId=void 0,this._d3modelItemName=void 0,this._NGspiceModelItem=void 0,this._NGspiceModelItemId=void 0,this._NGspiceModelItemName=void 0,this._SimulideModelItem=void 0,this._SimulideModelItemId=void 0,this._SimulideModelItemName=void 0,this._d3modelItemTransform=void 0,this._d3modelItemDisabled=!1,this._footprintD3modelItem=void 0,this._footprintD3modelItemId=void 0,this._footprintD3modelItemName=void 0,this._footprintD3modelItemTransform=void 0,this._isShowD3modelItem=!0,this._imageUrl="",this._isShowImageUrlItem=!0,this._description="",this._tabList=[],this._loadingFootprintViewTimer=null}async initial(e,i){let o=i.initDeviceItem;typeof i.isShowOwnerSection<"u"?this.isShowOwnerSection=!!i.isShowOwnerSection:this.isShowOwnerSection=!0,typeof i.isShowWorkSpace<"u"?this.isShowWorkSpace=!!i.isShowWorkSpace:Tn||Ko?this.isShowWorkSpace=!1:this.isShowWorkSpace=!0,typeof i.workSpaceDisabled<"u"?this.workSpaceDisabled=!!i.workSpaceDisabled:i.callScenType==="DEVICE_EDITOR"?this.workSpaceDisabled=!0:this.workSpaceDisabled=!1,typeof i.userSelectDisabled<"u"?this.userSelectDisabled=!!i.userSelectDisabled:i.callScenType==="DEVICE_EDITOR"?this.userSelectDisabled=!0:this.userSelectDisabled=!1,typeof i.workSpaceSelected<"u"&&(this.workSpaceSelected=i.workSpaceSelected);let r=await this.getFixedUserSelectedParams(i);if(this.userIdSelected=r.userIdSelected,this.tabList=r.tabList,typeof i.deviceItemName<"u"?this.deviceItemName=i.deviceItemName:o&&o.display_title?this.deviceItemName=o.display_title:this.deviceItemName="",this.symbolType=e,[tr.NetflagSymbol,tr.NetportSymbol,tr.OffPageConnectorSymbol,tr.DiffPairsFlagSymbol,tr.DrawingSymbol].indexOf(this.symbolType)>=0?(this.isShowD3modelItem=!1,this.isShowFootprintItem=!1,this.isShowImageUrlItem=!1,this.isShowSimulationModelItem=!1):(this.isShowD3modelItem=!0,this.isShowFootprintItem=!0,this.isShowImageUrlItem=!0,this.isShowSimulationModelItem=!0),typeof i.symbolTypeDisabled<"u"?this.symbolTypeDisabled=!!i.symbolTypeDisabled:this.symbolTypeDisabled=!1,typeof i.symbolOperationType<"u"?this.symbolOperationType=i.symbolOperationType:i.initSymbolItem?this.symbolOperationType="Associate":this.symbolOperationType=i.initDeviceItem?"Associate":"New",typeof i.isShowSymbolOperationType<"u"?this.isShowSymbolOperationType=!!i.isShowSymbolOperationType:this.isShowSymbolOperationType=!0,this.symbolItem=i.initSymbolItem||null,this.symbolItemId=i.initSymbolItem?i.initSymbolItem.uuid:"",typeof i.symbolItemName<"u"?this.symbolItemName=i.symbolItemName:i.initSymbolItem?this.symbolItemName=i.initSymbolItem.display_title:this.symbolItemName="",this.symbolItemPath=i.path,this.symbolItemDisabled=typeof i.symbolItemDisabled<"u"?!!i.symbolItemDisabled:!1,this.parent.thumb.isSymbolThumbShowAddBtn=!this.symbolItem,this.footprintItem=i.initFootprintItem||null,this.footprintItemId=i.initFootprintItem?i.initFootprintItem.uuid:"",this.footprintItemName=i.initFootprintItem?i.initFootprintItem.display_title:"",this.footprintItemPath=i.path,this.footprintItemDisabled=typeof i.footprintItemDisabled<"u"?!!i.footprintItemDisabled:!1,this.parent.thumb.isFootprintThumbShowAddBtn=!this.footprintItem,this.d3modelItem=i.initD3modelItem||void 0,this.d3modelItemId=i.initD3modelItemId?i.initD3modelItemId:i.initD3modelItem?i.initD3modelItem.uuid:void 0,this.d3modelItemName=i.initD3modelItemTitle?i.initD3modelItemTitle:i.initD3modelItem?i.initD3modelItem.display_title:void 0,this.d3modelItemTransform=i.initD3modelTransform?i.initD3modelTransform:void 0,this.d3modelItemDisabled=typeof i.d3modelItemDisabled<"u"?!!i.d3modelItemDisabled:!1,this.parent.thumb.isD3ModelThumbShowAddBtn=!(this.d3modelItem||this.footprintItem),this.SimulideModelItemId=i.initSimulideModelItemId?i.initSimulideModelItemId:void 0,this.NGspiceModelItemId=i.initNGspiceModelItemId?i.initNGspiceModelItemId:void 0,this.SimulideModelItemName=i.initSimulideModelItemName?i.initSimulideModelItemName:void 0,this.NGspiceModelItemName=i.initNGspiceModelItemName?i.initNGspiceModelItemName:void 0,this.imageUrl=o?Array.isArray(o.images)&&o.images?o.images[0]:o.images||"":"",this.parent.thumb.isImageThumbShowAddBtn=!this.imageUrl,typeof i.description<"u"?this.description=i.description:o&&o.description?this.description=o.description:this.description="",o&&this.updateCategoryShowByDeviceItem(o),i.categoryTags instanceof Array){let n=i.categoryTags.join(":");await this.whenCategoryConfirmUpdate(n)}else this.parent.dialogProps.isFromProject?this.updateProjectCategoryShowByDeviceItem(o):(this.categoryTags=this.filterInitDeviceCategoryTags(o),this.categoryTags.length&&await this.whenCategoryConfirmUpdate(this.categoryTags.join(":")));this.hasIdButNotFound=i.hasIdButNotFound,this.initialDeviceItemName=this.deviceItemName,this.footprintItem&&(await ue.getFootprint3DInfo(this.footprintItem.uuid,this.footprintItem.path,this.footprintItem.path===C.currentProject.projectId).catch(n=>({})).then(n=>{let{compiler:a,d3modelItem:s,d3modelItemId:l,d3modelItemName:c,d3modelItemTransform:d}=n;this.footprintD3modelItem=n==null?void 0:n.d3modelItem,this.footprintD3modelItemId=l,this.footprintD3modelItemName=c,this.footprintD3modelItemTransform=d}),this.hasIdButNotFound.d3DModel&&this.whenD3ModelInfoClear())}get deviceItemName(){return this._deviceItemName}set deviceItemName(e){this._deviceItemName=e,this.notify()}get initialDeviceItemName(){return this._initialDeviceItemName}set initialDeviceItemName(e){this._initialDeviceItemName=e}get symbolTypeList(){return this._symbolTypeList}get workSpaceSelected(){return this._workSpaceSelected}set workSpaceSelected(e){this._workSpaceSelected=e,this.notify()}get workSpaceDisabled(){return this._workSpaceDisabled}set workSpaceDisabled(e){this._workSpaceDisabled=e,this.notify()}get isShowOwnerSection(){return this._isShowOwnerSection}set isShowOwnerSection(e){this._isShowOwnerSection=e,this.notify()}get isShowWorkSpace(){return this._isShowWorkSpace}set isShowWorkSpace(e){this._isShowWorkSpace=e,this.notify()}get userIdSelected(){return this._userIdSelected}set userIdSelected(e){this._userIdSelected=e,this.notify()}get userSelectDisabled(){return this._userSelectDisabled}set userSelectDisabled(e){this._userSelectDisabled=e,this.notify()}get categoryTags(){return this._categoryTags}set categoryTags(e){this._categoryTags=e,this.notify()}get categoryShowString(){return this._categoryShowString}set categoryShowString(e){this._categoryShowString=e,this.notify()}get symbolType(){return this._symbolType}set symbolType(e){this._symbolType=e,this.notify()}get symbolTypeDisabled(){return this._symbolTypeDisabled}set symbolTypeDisabled(e){this._symbolTypeDisabled=e,this.notify()}get symbolOperationType(){return this._symbolOperationType}set symbolOperationType(e){this._symbolOperationType=e,this.notify()}get symbolItemDisabled(){return this._symbolItemDisabled}set symbolItemDisabled(e){this._symbolItemDisabled=e,this.notify()}get symbolItemId(){return this._symbolItemId}set symbolItemId(e){this._symbolItemId=e,this.notify()}get symbolItemName(){return this._symbolItemName}set symbolItemName(e){this._symbolItemName=e,this.notify()}get symbolItem(){return this._symbolItem}set symbolItem(e){this._symbolItem=e,this.notify()}get symbolItemPath(){return this._symbolItemPath}set symbolItemPath(e){this._symbolItemPath=e,this.notify()}get footprintItemId(){return this._footprintItemId}set footprintItemId(e){this._footprintItemId=e,this.notify()}get footprintItemName(){return this._footprintItemName}set footprintItemName(e){this._footprintItemName=e,this.notify()}get footprintItem(){return this._footprintItem}set footprintItem(e){this._footprintItem=e,this.notify()}get footprintItemPath(){return this._footprintItemPath}set footprintItemPath(e){this._footprintItemPath=e,this.notify()}get footprintItemDisabled(){return this._footprintItemDisabled}set footprintItemDisabled(e){this._footprintItemDisabled=e,this.notify()}get isShowFootprintItem(){return this._isShowFootprintItem}set isShowFootprintItem(e){this._isShowFootprintItem=e,this.notify()}get isShowSimulationModelItem(){return this._isShowSimulationModelItem}set isShowSimulationModelItem(e){this._isShowSimulationModelItem=e,this.notify()}get d3modelItem(){return this._d3modelItem}set d3modelItem(e){this._d3modelItem=e,this.notify()}get d3modelItemId(){return this._d3modelItemId}set d3modelItemId(e){this._d3modelItemId=e,this.notify()}get d3modelItemName(){return this._d3modelItemName}set d3modelItemName(e){this._d3modelItemName=e,this.notify()}get SimulideModelItem(){return this._SimulideModelItem}set SimulideModelItem(e){this._SimulideModelItem=e,this.notify()}get SimulideModelItemId(){return this._SimulideModelItemId}set SimulideModelItemId(e){this._SimulideModelItemId=e,this.notify()}get SimulideModelItemName(){return this._SimulideModelItemName}set SimulideModelItemName(e){this._SimulideModelItemName=e,this.notify()}get NGspiceModelItem(){return this._NGspiceModelItem}set NGspiceModelItem(e){this._NGspiceModelItem=e,this.notify()}get NGspiceModelItemId(){return this._NGspiceModelItemId}set NGspiceModelItemId(e){this._NGspiceModelItemId=e,this.notify()}get NGspiceModelItemName(){return this._NGspiceModelItemName}set NGspiceModelItemName(e){this._NGspiceModelItemName=e,this.notify()}get d3modelItemTransform(){return this._d3modelItemTransform}set d3modelItemTransform(e){this._d3modelItemTransform=e,this.notify()}get d3modelItemDisabled(){return this._d3modelItemDisabled}set d3modelItemDisabled(e){this._d3modelItemDisabled=e,this.notify()}get footprintD3modelItem(){return this._footprintD3modelItem}set footprintD3modelItem(e){this._footprintD3modelItem=e,this.notify()}get footprintD3modelItemId(){return this._footprintD3modelItemId}set footprintD3modelItemId(e){this._footprintD3modelItemId=e,this.notify()}get footprintD3modelItemName(){return this._footprintD3modelItemName}set footprintD3modelItemName(e){this._footprintD3modelItemName=e,this.notify()}get footprintD3modelItemTransform(){return this._footprintD3modelItemTransform}set footprintD3modelItemTransform(e){this._footprintD3modelItemTransform=e,this.notify()}get isShowSymbolOperationType(){return this._isShowSymbolOperationType}set isShowSymbolOperationType(e){this._isShowSymbolOperationType=e,this.notify()}get isShowD3modelItem(){return this._isShowD3modelItem}set isShowD3modelItem(e){this._isShowD3modelItem=e,this.notify()}get imageUrl(){return this._imageUrl}set imageUrl(e){this._imageUrl=e,this.notify()}get isShowImageUrlItem(){return this._isShowImageUrlItem}set isShowImageUrlItem(e){this._isShowImageUrlItem=e,this.notify()}get description(){return this._description}set description(e){this._description=e,this.notify()}get tabList(){return this._tabList}set tabList(e){this._tabList=e,this.notify()}async updateUserIdSelected(){let e=this.parent.dialogProps,i=await this.getFixedUserSelectedParams(e);this.userIdSelected=i.userIdSelected,this.tabList=i.tabList}createSymbolTypeList(){return[{text:"Component Symbol",value:tr.ComponentSymbol},{text:"Netflag Symbol",value:tr.NetflagSymbol},{text:"Netport Symbol",value:tr.NetportSymbol},{text:"Off Page Connector Symbol",value:tr.OffPageConnectorSymbol},{text:"Drawing Symbol",value:tr.DrawingSymbol},{text:"Non-Electronic Symbol",value:tr.NonElectronicSymbol}]}whenWorkSpaceChanged(e){this.workSpaceSelected!==e&&(this.workSpaceSelected=e)}whenTeamOwnerChanged(e){this.userIdSelected!==e&&(this.userIdSelected=e,(this.parent.callScenType==="DEVICE_CREATOR"||this.parent.callScenType==="DEVICE_ASSOCIA")&&(this.parent.path=e))}whenSymbolTypeChanged(e){this.symbolType=e,this.symbolOperationType!=="New"&&this.whenSymbolInfoClear(),this.parent.property.refreshProperties(this.symbolType),[tr.NetflagSymbol,tr.NetportSymbol,tr.OffPageConnectorSymbol,tr.DiffPairsFlagSymbol,tr.DrawingSymbol].indexOf(e)>=0?(this.isShowD3modelItem=!1,this.isShowFootprintItem=!1,this.isShowImageUrlItem=!1,this.isShowSimulationModelItem=!1):(this.isShowD3modelItem=!0,this.isShowFootprintItem=!0,this.isShowImageUrlItem=!0,this.isShowSimulationModelItem=!0)}whenSymbolOperationTypeChanged(e){this.symbolOperationType=e,this.symbolItemId="",this.symbolItem=null,e==="New"&&(this.symbolItemName=this.deviceItemName),this.symbolItemPath=this.userIdSelected,this.parent.thumb.isSymbolThumbShowAddBtn=!0}whenCategoryInfoClear(){this.categoryTags=[],this.categoryShowString=""}whenSymbolInfoClear(){this.symbolItemId="",this.symbolItem=null,this.symbolItemName="",this.parent.thumb.isSymbolThumbShowAddBtn=!0,this.symbolTypeDisabled=!1,this.hasIdButNotFound!==null&&typeof this.hasIdButNotFound=="object"&&(this.hasIdButNotFound.symbol=!1),this.parent.property.whenPropertyModify("baseProperties","Symbol","")}whenFootprintInfoClear(){var e;window.clearTimeout(this._loadingFootprintViewTimer),this.parent.thumb.isFootprintThumbShowLoading=!1,this.parent.property.isD3ModelInfoEmpty(!1)?(this.parent.thumb.isD3ModelThumbShowAddBtn=!0,this.d3modelItem=null,this.d3modelItemId="",this.d3modelItemName="",this.d3modelItemTransform=""):this.parent.thumb.isD3ModelThumbShowAddBtn=!1,this.footprintItemId="",this.footprintItem=null,this.footprintItemName="",(e=this.hasIdButNotFound)!=null&&e.Footprint&&(this.hasIdButNotFound.Footprint=!1),this.parent.thumb.isFootprintThumbShowAddBtn=!0,this.parent.property.whenPropertyModify("baseProperties","Footprint","")}whenD3ModelInfoClear(){var e;this.d3modelItemId="",this.d3modelItem=null,this.d3modelItemName="",(e=this.hasIdButNotFound)!=null&&e.d3DModel&&(this.hasIdButNotFound.d3DModel=!1),this.d3modelItemTransform="",this.parent.thumb.isD3ModelThumbShowAddBtn=!0,this.parent.property.whenPropertyModify("baseProperties","3D Model",""),this.parent.property.whenPropertyModify("baseProperties","3D Model Title",""),this.parent.property.whenPropertyModify("baseProperties","3D Model Transform","")}whenSimulideModelInfoClear(){this.SimulideModelItemId="",this.SimulideModelItem=null,this.SimulideModelItemName="",this.parent.property.whenPropertyModify("baseProperties","Sim Model",""),this.parent.property.whenPropertyModify("baseProperties","Sim Model Title","")}whenNgspiceModelInfoClear(){this.NGspiceModelItemId="",this.NGspiceModelItem=null,this.NGspiceModelItemName="",this.parent.property.whenPropertyModify("baseProperties","NGSpice Model",""),this.parent.property.whenPropertyModify("baseProperties","NGSpice Model Title","")}async whenD3ModelInfoRestoreToFootprintBoundInfo(){this.d3modelItemId=void 0,this.d3modelItem=null,this.d3modelItemName=void 0,this.d3modelItemTransform=void 0,this.parent.thumb.isD3ModelThumbShowAddBtn=!0,this.parent.property.whenPropertyDelete("baseProperties","3D Model"),this.parent.property.whenPropertyDelete("baseProperties","3D Model Title"),this.parent.property.whenPropertyDelete("baseProperties","3D Model Transform"),this.footprintD3modelItemId&&(this.d3modelItem=this.footprintD3modelItem,this.d3modelItemId=this.footprintD3modelItemId,this.d3modelItemName=this.footprintD3modelItemName,this.d3modelItemTransform=this.footprintD3modelItemTransform),this.parent.thumb.isD3ModelThumbShowAddBtn=!this.d3modelItem}whenImageInfoClear(){this.imageUrl="",this.parent.thumb.isImageThumbShowAddBtn=!0}async whenCategoryConfirmUpdate(e){let i=await sn.fetchCategoryList(this.userIdSelected,this.userIdSelected,[3],void 0,!1);this.categoryTags=e.split(":");let o=this.categoryTags[0],r=this.categoryTags[1],n="",a="",s=i.result?i.result.sourceCategoryList:[],l=me.curr==="zh-cn"||me.curr==="zh-hans";for(let c=0;c<s.length;c++){if(o&&s[c].uuid===o){n=l&&s[c].name_cn?s[c].name_cn:s[c].name;continue}if(r&&s[c].uuid===r){a=l&&s[c].name_cn?s[c].name_cn:s[c].name;continue}}n&&(this.categoryShowString=n+(a?`:${a}`:""))}async whenSymbolConfirmUpdate(e){this.symbolItemId=e.componentItem.uuid,this.symbolItemName=e.componentItem.display_title,this.symbolItem=e.componentItem,this.hasIdButNotFound!==null&&typeof this.hasIdButNotFound=="object"&&(this.hasIdButNotFound.symbol=!1),this.symbolOperationType="Associate",this.symbolItemPath=e.path||e.componentItem.path||this.userIdSelected,this.parent.thumb.isSymbolThumbShowAddBtn=!this.symbolItem,this.symbolTypeDisabled=!!this.symbolItem,this.parent.property.whenPropertyModify("baseProperties","Symbol",this.symbolItemId)}async whenFootprintConfirmUpdate(e){window.clearTimeout(this._loadingFootprintViewTimer),this.parent.thumb.isFootprintThumbShowLoading=!0,this.footprintItemId=e.componentItem.uuid,this.footprintItemName=e.componentItem.display_title,this.footprintItem=e.componentItem,this.hasIdButNotFound!==null&&typeof this.hasIdButNotFound=="object"&&(this.hasIdButNotFound.Footprint=!1),this.footprintItemPath=e.path||e.componentItem.path||this.userIdSelected,this.parent.thumb.isFootprintThumbShowAddBtn=!this.footprintItem,this.parent.property.whenPropertyModify("baseProperties","Footprint",this.footprintItemId),this._loadingFootprintViewTimer=window.setTimeout(()=>{this.parent.thumb.isFootprintThumbShowLoading=!1},550),window.setTimeout(async()=>{let{compiler:i,d3modelItem:o,d3modelItemId:r,d3modelItemName:n,d3modelItemTransform:a}=await ue.getFootprint3DInfo(e.componentItem.uuid,e.componentItem.path,e.componentItem.path===C.currentProject.projectId);this.footprintD3modelItem=o,this.footprintD3modelItemId=r,this.footprintD3modelItemName=n,this.footprintD3modelItemTransform=a,this.parent.property.isD3ModelInfoEmpty(!1)&&this.footprintD3modelItemId&&(this.d3modelItem=this.footprintD3modelItem,this.d3modelItemId=this.footprintD3modelItemId,this.d3modelItemName=this.footprintD3modelItemName,this.d3modelItemTransform=this.footprintD3modelItemTransform),this.parent.thumb.isD3ModelThumbShowAddBtn=!this.d3modelItem})}async whenD3ModelConfirmUpdate(e){let{d3modelItemId:i,d3modelItemName:o,d3modelItemPath:r,d3modelTransform:n,isLocaleFilenameMode:a}=sB(e);this.d3modelItem=e.componentItem,this.d3modelItemId=i,this.d3modelItemName=o,this.d3modelItemTransform=e.transform||_e.D3MVIEW_DEFAULT_TRANSFORM,this.d3modelItemName&&typeof this.hasIdButNotFound=="object"&&(this.hasIdButNotFound.d3DModel=!1),this.parent.thumb.isD3ModelThumbShowAddBtn=!this.d3modelItem,this.parent.property.whenPropertyModify("baseProperties","3D Model",this.d3modelItemId),this.parent.property.whenPropertyModify("baseProperties","3D Model Title",this.d3modelItemName),this.parent.property.whenPropertyModify("baseProperties","3D Model Transform",this.d3modelItemTransform)}async whenSimulideModelConfirmUpdate(e){let{componentItem:i}=e;this.SimulideModelItemId=i.uuid,this.SimulideModelItemName=i.display_title,this.parent.property.whenPropertyModify("baseProperties","Sim Model",this.SimulideModelItemId),this.parent.property.whenPropertyModify("baseProperties","Sim Model Title",this.SimulideModelItemName)}async whenNgspiceModelConfirmUpdate(e){let{componentItem:i}=e;this.NGspiceModelItemId=i.uuid,this.NGspiceModelItemName=i.display_title,this.parent.property.whenPropertyModify("baseProperties","NGSpice Model",this.NGspiceModelItemId),this.parent.property.whenPropertyModify("baseProperties","NGSpice Model Title",this.NGspiceModelItemName)}async whenImageConfirmUpdate(e){let i="";for(let o=0;o<e.length;o++){let r=e[o];r.status!=="uploaded"&&r.remoteUrl||(i+=`${r.remoteUrl};`)}i=i.replace(/;{1}$/g,""),this.imageUrl=i,this.parent.thumb.isImageThumbShowAddBtn=!this.imageUrl}filterInitDeviceCategoryTags(e){var n,a;let i=[];if(!e||!e.tags)return i;let o=(n=e.tags)==null?void 0:n.parent_tag,r=(a=e.tags)==null?void 0:a.child_tag;return o!=null&&o.uuid&&i.push(o.uuid),r!=null&&r.uuid&&i.push(r.uuid),i}updateProjectCategoryShowByDeviceItem(e){if(!e)return;let i=Ici(e.custom_tags),o="";i[0]&&(o=i[0]),i[1]&&(o+=`:${i[1]}`),this.categoryShowString=o}updateCategoryShowByDeviceItem(e){if(HZi(e.tags)!=="object")return;let{parent_tag:i,child_tag:o}=e.tags||{},r="";i&&(i.name||i.name_cn)&&(r=me.curr==="zh-hans"?i.name_cn:i.name),r&&o&&(o.name||o.name_cn)&&(r+=`:${me.curr==="zh-hans"?o.name_cn:o.name}`),r&&(this.categoryShowString=r)}async getFixedUserSelectedParams(e){let i=e.initDeviceItem,o=C.loginedUserInfo||{},r={username:o.username,uuid:o.uuid},n=await iI(this.parent.dialogProps.isFromProject,Hs.Normal,""),a="";return typeof e.userIdSelected<"u"&&e.userIdSelected!==""?a=e.userIdSelected:i?i.owner&&i.owner.uuid?a=i.owner.uuid:i.project_uuid?a=i.project_uuid:i.path?a=i.path:a=r.uuid:a=(Af||Sb)&&n.length&&n[0].id?n[0].id:r.uuid,(Af||Sb)&&(a===bo.getInstance().usedId||a===_e.FAVORITELIB_UUID)&&n[0]&&(a=n[0].id),{userIdSelected:a,tabList:n}}};var sJe=class extends qe{constructor(e){super(),this.parent=e,this._isSymbolThumbShowLoading=!1,this._isFootprintThumbShowLoading=!1,this._isD3ModelThumbShowLoading=!1,this._isImageThumbShowLoading=!1,this._isSymbolThumbShowAddBtn=!0,this._isFootprintThumbShowAddBtn=!0,this._isD3ModelThumbShowAddBtn=!0,this._isImageThumbShowAddBtn=!0,this._footprintViewIframeId="",this._d3modelViewIframeId="",this._footprintPreviewStr="",this._isFootprintThumbLoaded=!1,this._isD3ModelThumbLoaded=!1}async initial(e){}get isSymbolThumbShowLoading(){return this._isSymbolThumbShowLoading}set isSymbolThumbShowLoading(e){this._isSymbolThumbShowLoading=e,this.notify()}get isFootprintThumbShowLoading(){return this._isFootprintThumbShowLoading}set isFootprintThumbShowLoading(e){this._isFootprintThumbShowLoading=e,this.notify()}get isD3ModelThumbShowLoading(){return this._isD3ModelThumbShowLoading}set isD3ModelThumbShowLoading(e){this._isD3ModelThumbShowLoading=e,this.notify()}get isImageThumbShowLoading(){return this._isImageThumbShowLoading}set isImageThumbShowLoading(e){this._isImageThumbShowLoading=e,this.notify()}get isSymbolThumbShowAddBtn(){return this._isSymbolThumbShowAddBtn}set isSymbolThumbShowAddBtn(e){this._isSymbolThumbShowAddBtn=e,this.notify()}get isFootprintThumbShowAddBtn(){return this._isFootprintThumbShowAddBtn}set isFootprintThumbShowAddBtn(e){this._isFootprintThumbShowAddBtn=e,this.notify()}get isD3ModelThumbShowAddBtn(){return this._isD3ModelThumbShowAddBtn}set isD3ModelThumbShowAddBtn(e){this._isD3ModelThumbShowAddBtn=e,this.notify()}get isImageThumbShowAddBtn(){return this._isImageThumbShowAddBtn}set isImageThumbShowAddBtn(e){this._isImageThumbShowAddBtn=e,this.notify()}get d3modelViewIframeId(){return this._d3modelViewIframeId}set d3modelViewIframeId(e){this._d3modelViewIframeId=e,this.notify()}get footprintViewIframeId(){return this._footprintViewIframeId}set footprintViewIframeId(e){this._footprintViewIframeId=e,this.notify()}get footprintPreviewStr(){return this._footprintPreviewStr}set footprintPreviewStr(e){this._footprintPreviewStr=e,this.notify()}get isFootprintThumbLoaded(){return this._isFootprintThumbLoaded}set isFootprintThumbLoaded(e){this._isFootprintThumbLoaded=e,this.notify()}get isD3ModelThumbLoaded(){return this._isD3ModelThumbLoaded}set isD3ModelThumbLoaded(e){this._isD3ModelThumbLoaded=e,this.notify()}};var y0="IPC/DAC-2552",D6e="IPC-2552";function GZi(){let t=[{label:"Name",sKey:"Name",sValue:"",object:`${Al[tr.ComponentSymbol]},${Al[tr.NetflagSymbol]}`,__fixed:!0},{label:"Designator",sKey:"Designator",sValue:"U?",object:Al[tr.ComponentSymbol],__fixed:!0},{label:"Add into BOM",sKey:"Add into BOM",sValue:"yes",object:Al[tr.ComponentSymbol],__fixed:!0},{label:"Convert to PCB",sKey:"Convert to PCB",sValue:"yes",object:Al[tr.ComponentSymbol],__fixed:!0},{label:"@Board Name",sKey:"@Board Name",sValue:"",object:Al[tr.DrawingSymbol],disabled:!0,__fixed:!0},{label:"@Page Name",sKey:"@Page Name",sValue:"",object:Al[tr.DrawingSymbol],disabled:!0,__fixed:!0},{label:"@Create Date",sKey:"@Create Date",sValue:"",object:Al[tr.DrawingSymbol],disabled:!0,__fixed:!0},{label:"@Create Time",sKey:"@Create Time",sValue:"",object:Al[tr.DrawingSymbol],disabled:!0,__fixed:!0},{label:"@Page Count",sKey:"@Page Count",sValue:"",object:Al[tr.DrawingSymbol],disabled:!0,__fixed:!0},{label:"@Page No",sKey:"@Page No",sValue:"",object:Al[tr.DrawingSymbol],disabled:!0,__fixed:!0},{label:"@Project Name",sKey:"@Project Name",sValue:"",object:Al[tr.DrawingSymbol],disabled:!0,__fixed:!0},{label:"@Schematic Name",sKey:"@Schematic Name",sValue:"",object:Al[tr.DrawingSymbol],disabled:!0,__fixed:!0},{label:"@Update Date",sKey:"@Update Date",sValue:"",object:Al[tr.DrawingSymbol],disabled:!0,__fixed:!0},{label:"@Update Time",sKey:"@Update Time",sValue:"",object:Al[tr.DrawingSymbol],disabled:!0,__fixed:!0},{label:"@Assembly Variant",sKey:"@Assembly Variant",sValue:"",object:Al[tr.DrawingSymbol],disabled:!0,__fixed:!0},{label:"Company",sKey:"Company",sValue:"",object:Al[tr.DrawingSymbol],__fixed:!0},{label:"Device",sKey:"Device",sValue:"",object:Al[tr.DrawingSymbol],__fixed:!0},{label:"Drawed",sKey:"Drawed",sValue:"",object:Al[tr.DrawingSymbol],__fixed:!0},{label:"Page Size",sKey:"Page Size",sValue:"",object:Al[tr.DrawingSymbol],__fixed:!0},{label:"Part Number",sKey:"Part Number",sValue:"",object:Al[tr.DrawingSymbol],__fixed:!0},{label:"Reviewed",sKey:"Reviewed",sValue:"",object:Al[tr.DrawingSymbol],__fixed:!0},{label:"Symbol",sKey:"Symbol",sValue:"",object:`${Al[tr.DrawingSymbol]};Device`,__fixed:!0},{label:"Version",sKey:"Version",sValue:"",object:Al[tr.DrawingSymbol],__fixed:!0},{label:"Border",sKey:"Border",sValue:nCt,object:Al[tr.DrawingSymbol],__fixed:!0},{label:"Title Block Position",sKey:"Title Block Position",sValue:sCt,object:Al[tr.DrawingSymbol],__fixed:!0},{label:"Size",sKey:"Size",sValue:upe,object:Al[tr.DrawingSymbol],__fixed:!0},{label:"Width",sKey:"Width",sValue:String(lCt),object:Al[tr.DrawingSymbol],__fixed:!0},{label:"Height",sKey:"Height",sValue:String(cCt),object:Al[tr.DrawingSymbol],__fixed:!0},{label:"Region Start",sKey:"Region Start",sValue:String(aCt),object:Al[tr.DrawingSymbol],__fixed:!0},{label:"X Region Count",sKey:"X Region Count",sValue:String(dCt),object:Al[tr.DrawingSymbol],__fixed:!0},{label:"Y Region Count",sKey:"Y Region Count",sValue:String(uCt),object:Al[tr.DrawingSymbol],__fixed:!0},{label:"Blade Width",sKey:"Blade Width",sValue:String(mCt),object:Al[tr.DrawingSymbol],__fixed:!0},{label:"Color",sKey:"Color",sValue:pCt,object:Al[tr.DrawingSymbol],__fixed:!0},{label:Qu,sKey:Qu,sValue:"1",object:Al[tr.DrawingSymbol],__fixed:!0}];return MSe.forEach(e=>{if(e==="3D Model Id")return;Ft(t,"sKey",e).index<=-1&&t.push({label:e,sKey:e,sValue:"",object:"Device",__fixed:!0})}),t}function YZi(){return[{label:"Value",sKey:"Value",sValue:"",object:Al[tr.ComponentSymbol],__fixed:!0},{label:"Manufacturer",sKey:"Manufacturer",sValue:"",object:Al[tr.ComponentSymbol],__fixed:!0},{label:"Manufacturer Part",sKey:"Manufacturer Part",sValue:"",object:Al[tr.ComponentSymbol],__fixed:!0},{label:"Supplier",sKey:"Supplier",sValue:"",object:Al[tr.ComponentSymbol],__fixed:!0},{label:"Supplier Part",sKey:"Supplier Part",sValue:"",object:Al[tr.ComponentSymbol],__fixed:!0}]}var lJe=class extends qe{constructor(e){super(),this.parent=e,this._baseProperties=[],this._extendsProperties=[],this._allReceivedProps=[],this._attrSelectList=[],this._attrSelectBlankItemId=Mt(),this._attrSelectBlankItem={value:this._attrSelectBlankItemId,text:""},this._attrSelectSysBtnItemId=Mt(),this._attrSelectSysBtnItem={value:this._attrSelectSysBtnItemId,text:me.i18n("New Custom Property..."),style:{borderBottom:"1px solid var(--separator-color-drop-down-menu)"}},this._attrSelectValue=this._attrSelectBlankItemId}async initial(e,i){await this.refreshAllProperties(i.initDeviceItem,e),this.refreshBaseProperties(e),this.initDeviceBasePropertyItemValue(i),this.refreshExtendsProperties(i.initDeviceItem),this.refreshAttrSelectList(e),this.parent.infoPanel.footprintItemId&&this.whenPropertyModify("baseProperties","Footprint",this.parent.infoPanel.footprintItemId),this.parent.infoPanel.symbolItemId&&this.whenPropertyModify("baseProperties","Symbol",this.parent.infoPanel.symbolItemId),typeof this.parent.infoPanel.d3modelItemId<"u"&&this.whenPropertyModify("baseProperties","3D Model",this.parent.infoPanel.d3modelItemId),typeof this.parent.infoPanel.d3modelItemName<"u"&&this.whenPropertyModify("baseProperties","3D Model Title",this.parent.infoPanel.d3modelItemName),typeof this.parent.infoPanel.d3modelItemTransform<"u"&&(this.parent.infoPanel.d3modelItemTransform===_e.D3MVIEW_DEFAULT_TRANSFORM&&!this.parent.infoPanel.d3modelItemId||this.whenPropertyModify("baseProperties","3D Model Transform",this.parent.infoPanel.d3modelItemTransform))}get baseProperties(){return this._baseProperties}set baseProperties(e){this._baseProperties=e,this.notify()}get extendsProperties(){return this._extendsProperties}set extendsProperties(e){this._extendsProperties=e,this.notify()}get attrSelectList(){return this._attrSelectList}set attrSelectList(e){this._attrSelectList=e,this.notify()}get allReceivedProps(){return this._allReceivedProps}set allReceivedProps(e){this._allReceivedProps=e}get attrSelectValue(){return this._attrSelectValue}set attrSelectValue(e){this._attrSelectValue=e,this.notify()}async whenPropertyModify(e,i,o){let r=Ft(this.allReceivedProps,"sKey",i);if(!(r.index<=-1)){if(r.data.sValue=o,e==="baseProperties"){let n=Ft(this.baseProperties,"sKey",i);n.index<=-1?this.baseProperties.push({...r.data}):n.data.sValue=o}if(e==="extendsProperties"){let n=Ft(this.extendsProperties,"sKey",i);n.index<=-1?this.extendsProperties.push({...r.data}):n.data.sValue=o}this.notify()}}whenPropertyDelete(e,i){let o=Ft(this.allReceivedProps,"sKey",i);if(o.index>=0&&(o.data.sValue=n7t.indexOf(i)>=0?void 0:"",this.refreshAttrSelectList(this.parent.infoPanel.symbolType)),e==="baseProperties"){let r=Ft(this.baseProperties,"sKey",i);r.index>=0&&this.baseProperties.splice(r.index,1)}if(e==="extendsProperties"){let r=Ft(this.extendsProperties,"sKey",i);r.index>=0&&this.extendsProperties.splice(r.index,1)}}whenAttrListSelectChanged(e){this.attrSelectValue=e;let i=e;if(i===this._attrSelectBlankItemId){window.setTimeout(()=>{this.attrSelectValue=this._attrSelectBlankItemId});return}if(i===this._attrSelectSysBtnItemId){window.setTimeout(()=>{this.attrSelectValue=this._attrSelectBlankItemId}),Qc({menuSelected:"PROPERTY"});return}let o=Ft(this.allReceivedProps,"sKey",e);o.index>=0&&(this.extendsProperties=[...this.extendsProperties,o.data],this.refreshAttrSelectList(this.parent.infoPanel.symbolType),window.setTimeout(()=>{this.attrSelectValue=this._attrSelectBlankItemId}))}async refreshProperties(e){await this.refreshAllProperties(this.parent.dialogProps.initDeviceItem,e),this.refreshBaseProperties(e),this.refreshExtendsProperties(this.parent.dialogProps.initDeviceItem),this.refreshAttrSelectList(e)}isD3ModelInfoEmpty(e=!0){let i=Ft(this.allReceivedProps,"sKey","3D Model");return i.index<=-1?!0:e?i.data.sValue==null:!i.data.sValue}async refreshAllProperties(e,i){this.allReceivedProps=[];let o=[],r=GZi();for(let s=0;s<r.length;s++)["3D Model","3D Model Title","3D Model Transform"].indexOf(r[s].sKey)>=0&&(r[s].sValue=void 0),["NGSpice Model","NGSpice Model Title","Sim Model Title","Sim Model","NGspice Model Path","Sim Model Path"].indexOf(r[s].sKey)>=0&&(r[s].sValue=void 0),o.push(r[s]);if(i!==tr.DrawingSymbol){let s=Ft(o,"sKey","Height");s.index>=0&&o.splice(s.index,1)}let n=Wi("PROPERTY",void 0,{defaultValue:"{}"}),a=JSON.parse(n.property||"[]");for(let s=0;s<a.length;s++){if(vIt.includes(a[s].property))continue;let l=Ft(o,"sKey",a[s].property);if(l.index>=0){["Part Number"].indexOf(a[s].property)>=0&&(l.data.object=a[s].object,l.data.__fixed=!1);continue}let c=!1;g1e.indexOf(a[s].property)>=0&&(c=!0);let d={label:a[s].property,sKey:a[s].property,sValue:"",attributeType:a[s].attribute_type,object:a[s].object,type:a[s].type,disabled:c};["3D Model","3D Model Title","3D Model Transform"].indexOf(d.sKey)>=0&&(d.sValue=void 0),o.push(d)}if(e){let s=e.attributes||{},l=Object.keys(s);for(let c=0;c<l.length;c++){let d=l[c];if(d===y0||vIt.includes(d))continue;let u=Ft(o,"sKey",d);if(u.index>=0){u.data.sValue=s[d];continue}o.push({label:d,sKey:d,sValue:s[d],disabled:!1})}}for(let s=0;s<o.length;s++)o[s].sKey==="Designator"&&o[s].sValue===""&&(o[s].sValue="U?");this.allReceivedProps=o}refreshBaseProperties(e){this.baseProperties=[];let i=[];for(let o=0;o<this.allReceivedProps.length;o++){let r=this.allReceivedProps[o];n7t.indexOf(r.sKey)>=0||r.__fixed&&(r.object.indexOf(Al[e])>=0||r.object.indexOf("Device")>=0)&&i.push(this.allReceivedProps[o])}this.baseProperties=i}refreshExtendsProperties(e){if(!e)return;this.extendsProperties=[];let i=[],o=e.attributes||{},r=Object.keys(o),n=this.baseProperties.map(l=>l.sKey),a=YZi(),s=a.map(l=>l.sKey);for(let l=0;l<a.length;l++){let{label:c,sKey:d}=a[l];if(r.includes(d)){let u=Ft(this.allReceivedProps,"sKey",c);u.index>=0&&i.push({label:c,sKey:d,sValue:u.data.sValue,disabled:!1})}}for(let l=0;l<r.length;l++){let c=r[l];if(n.indexOf(c)>=0||MSe.indexOf(c)>=0||s.indexOf(c)>=0)continue;let d=Ft(this.allReceivedProps,"sKey",c);d.index>=0&&i.push({label:c,sKey:c,sValue:d.data.sValue,disabled:!1})}this.extendsProperties=i}refreshAttrSelectList(e){this.attrSelectList=[];let i=[...this.baseProperties,...this.extendsProperties],o=[this._attrSelectBlankItem,this._attrSelectSysBtnItem],r=[],n=[],a=[],s=this.allReceivedProps.filter(u=>u.type==="custom"),l=s.map(u=>u.label),c=this.allReceivedProps.filter(u=>l.indexOf(u.label)<=-1),d=[].concat(s,c);for(let u=0;u<d.length;u++){let p=d[u];if(MSe.indexOf(p.sKey)>=0||Ft(i,"sKey",p.sKey).index>=0)continue;let h=p&&p.type==="system"?p.label==="Link"?me._context_i18n("system-property",p.label):me.i18n(p.label):p.label;if(!p.object){r.push({text:h,value:p.sKey});continue}if(p.object==="Common"){r.push({text:h,value:p.sKey});continue}if(p.object.indexOf(Al[e])>=0){n.push({text:h,value:p.sKey});continue}if(p.object.indexOf("Footprint")>=0){a.push({text:h,value:p.sKey});continue}if(p.object.indexOf("Device")>=0){a.push({text:h,value:p.sKey});continue}}this.attrSelectList=[].concat(o,r,n,a)}initDeviceBasePropertyItemValue(e){let i=e.initDeviceItem;if(!i)return;let o=i.attributes,r=Object.keys(o);if(r.indexOf("Symbol")>=0){let n=Ft(this.baseProperties,"sKey","Symbol");n.index>=0&&(n.data.sValue=o.Symbol)}if(r.indexOf("Footprint")>=0){let n=Ft(this.baseProperties,"sKey","Footprint");n.index>=0&&(n.data.sValue=o.Footprint)}if(r.indexOf("3D Model")>=0){let n=Ft(this.baseProperties,"sKey","3D Model");n.index>=0&&(n.data.sValue=o["3D Model"])}if(r.indexOf("3D Model Title")>=0){let n=Ft(this.baseProperties,"sKey","3D Model Title");n.index>=0&&(n.data.sValue=o["3D Model Title"])}if(r.indexOf("3D Model Transform")>=0){let n=Ft(this.baseProperties,"sKey","3D Model Transform");n.index>=0&&(n.data.sValue=o["3D Model Transform"])}}};async function KZi(t){let e=new a7t;return await e.initial(t),e}var a7t=class extends Hb{constructor(){super(),this._dialogProps=null,this._infoPanel=new aJe(this),this._thumb=new sJe(this),this._property=new lJe(this),this._path="",this._callScenType="DEVICE_CREATOR",this._hasChangedDeviceProfile=!1,this._isShowModeSwitchBtn=!0,this._isProSymbolLibMode=!1,this._crossDialogMessageHandler=null,this._updatePerferenceTimer=null,this._simplifyBtnDisabled=!0,this._windowInstance=window,this._systemConfigModifyListenerHandler=null,this._systemConfigModifyHandler=this.systemConfigModifyHandler.bind(this)}async initial(e){this._crossDialogMessageHandler=this.crossDialogMessage.bind(this),this.dialogReady=!0,this.dialogProps=e,this.callScenType=e.callScenType,this._systemConfigModifyListenerHandler||(this._systemConfigModifyListenerHandler=C.messageBus.subscribe("systemSettingPropertyUpdate",this._systemConfigModifyHandler));let i=typeof e.symbolType<"u"?e.symbolType:this.getSymbolTypeByDeviceItem(this.dialogProps.initDeviceItem);this.isShowModeSwitchBtn=typeof e.isShowModeSwitchBtn<"u"?!!e.isShowModeSwitchBtn:!0,this.isProSymbolLibMode=uxe(),this.path=e.path,typeof e.windowInstance<"u"&&(this.windowInstance=e.windowInstance),await this.infoPanel.initial(i,e),await this.property.initial(i,e),await this.thumb.initial(e),await this.getPerference(),this.dialogProps.symbolType===tr.DrawingSymbol&&(this.simplifyBtnDisabled=!1),this.property.isD3ModelInfoEmpty()&&this.infoPanel.footprintD3modelItem&&(this.infoPanel.d3modelItem=this.infoPanel.footprintD3modelItem,this.infoPanel.d3modelItemId=this.infoPanel.footprintD3modelItemId,this.infoPanel.d3modelItemName=this.infoPanel.footprintD3modelItemName,this.infoPanel.d3modelItemTransform=this.infoPanel.footprintD3modelItemTransform),this.thumb.isD3ModelThumbShowAddBtn=!this.infoPanel.d3modelItemId&&!this.infoPanel.footprintItemId,(this.dialogProps.callScenType==="DEVICE_CREATOR"||this.dialogProps.callScenType==="DEVICE_SAVEAS"||this.dialogProps.callScenType==="DEVICE_ASSOCIA")&&this.syncModify(),this.dialogProps.isCalledBySimplify&&(this.hasChangedDeviceProfile=!0),window.setTimeout(()=>{this.simplifyBtnDisabled=!1},1*1e3)}set dialogProps(e){this._dialogProps=e}get dialogProps(){return this._dialogProps}get infoPanel(){return this._infoPanel}get thumb(){return this._thumb}get property(){return this._property}get path(){return this._path}set path(e){this._path=e,this.notify()}get windowInstance(){return this._windowInstance}set windowInstance(e){this._windowInstance=e,this.notify()}get callScenType(){return this._callScenType}set callScenType(e){this._callScenType=e}get simplifyBtnDisabled(){return this._simplifyBtnDisabled}set simplifyBtnDisabled(e){this._simplifyBtnDisabled=e,this.notify()}get hasChangedDeviceProfile(){return this._hasChangedDeviceProfile}set hasChangedDeviceProfile(e){this._hasChangedDeviceProfile=e}get isShowModeSwitchBtn(){return this._isShowModeSwitchBtn}set isShowModeSwitchBtn(e){this._isShowModeSwitchBtn=e}get isProSymbolLibMode(){return this._isProSymbolLibMode}set isProSymbolLibMode(e){this._isProSymbolLibMode=e}whenWidgetsPropsUpdate(e){this.dialogProps=e}whenDialogMounted(){window.addEventListener("message",this._crossDialogMessageHandler,!1)}whenDialogUnmounted(){window.removeEventListener("message",this._crossDialogMessageHandler,!1),this._systemConfigModifyListenerHandler&&this._systemConfigModifyListenerHandler.cancel()}getSymbolTypeByDeviceItem(e){let i=tr.ComponentSymbol;return e&&e.symbol_type&&(i=e.symbol_type),i}syncModify(e){this.hasChangedDeviceProfile=!0}async crossDialogMessage(e){let{data:i}=e;if(i.messageToken==="SYMBOL_CREATED_FROM_DEVICEDLG"){let o=i.result;if(o&&typeof o=="object"&&o.uuid){o.path||(o.path=this.infoPanel.userIdSelected),o.dataStrId&&(o.dataStr=(await C.messageBus.rpcCall("/pro-mgr/getDataStr",o)).message||""),this.infoPanel.whenSymbolConfirmUpdate({componentItem:o}),this.infoPanel.symbolOperationType="Associate",this.syncModify();let r=window.location.origin+window.location.pathname+"#tab=*!"+o.uuid+"@"+this.infoPanel.userIdSelected;window.open(r)}return}if(i.messageToken!=="FOOTPRINT_CREATED_FROM_DEVICEDLG"&&i.messageToken==="D3MODEL_CREATED_FROM_DEVICEDLG"){let o=i.result;o&&typeof o=="object"&&o.uuid&&(o.dataStrId&&(o.dataStr=(await C.messageBus.rpcCall("/pro-mgr/getDataStr",o)).message||""),this.infoPanel.whenD3ModelConfirmUpdate({componentItem:o,path:this.infoPanel.userIdSelected}),this.syncModify());return}}async getPerference(){let e=(await of("usrDeviceDialogAttributeLabelWidth",()=>lg.attributeLabelWidth)).value,i=e<=Kfe?Kfe:e>=Zfe?Zfe:e;lg.attributeLabelWidth=i,i!==i&&await this.setPerference()}async setPerference(){window.clearTimeout(this._updatePerferenceTimer),this._updatePerferenceTimer=window.setTimeout(()=>{Ks({usrDeviceDialogAttributeLabelWidth:lg.attributeLabelWidth},!0)},200)}whenThumbCanvasIframeLoaded(e){}systemConfigModifyHandler(){this.property.refreshProperties(this.infoPanel.symbolType)}},gc=(0,QZi.createContext)(void 0);var TO=L(Se()),vXi=L(Zm());var Lae=L(Se()),s7t=L(Zm());var Iae=L(Se());var cJe=L(z());function ZZi(t){let{disabled:e,initSelectValue:i,refreshTicket:o=0,onSelectChange:r,onRefreshCallback:n}=t,a=J(),[s,l]=(0,Iae.useState)(i),[c,d]=(0,Iae.useState)(""),[u,p]=(0,Iae.useState)([]);return(0,Iae.useEffect)(()=>{R2().then(m=>{let h=m.filter(f=>!bT(f.uuid)).map(f=>({title:f.nickname,value:f.uuid}));p(h)})},[o]),(0,Iae.useEffect)(()=>{let m=u;m.length<=0&&(m=[{value:i,title:i}],p(m));let h=u.map(b=>b.value),f=i;h.length&&h.indexOf(i)<=-1&&(f=u[0].value,r(f));let g=Ft(m,"value",f);l(f),d(g.data.title),window.setTimeout(()=>{n&&n()},500)},[i,u]),(0,cJe.jsx)("div",{style:{height:"24px",width:"100%"},children:(0,cJe.jsx)(ej,{disabled:e,selectedValue:s,selectedText:c,onItemChange:m=>{l(m),r&&r(m)},isTranslateForSelectedText:!1,searchAble:!0,children:u.map(m=>(0,cJe.jsx)(lc,{isTranslate:!1,value:m.value,title:m.title,children:m.title},m.value))})})}var AM=L(z()),{locals:E6e}=s7t.default;function JZi(){let t=J(),e=be.bind(s7t.default.locals),i=(0,Lae.useContext)(gc);Ce(i.infoPanel);let o={width:"135px",marginRight:"8px",flexShrink:0,display:i.infoPanel.isShowWorkSpace?"initial":"none"},r=(0,Lae.useRef)(null),[n,a]=(0,Lae.useState)(0),[s,l]=(0,Lae.useState)(!1),c=h=>{i.infoPanel.whenWorkSpaceChanged(h),i.syncModify()},d=(h,f)=>{i.infoPanel.whenTeamOwnerChanged(h)},u=h=>{i.syncModify()};if(!i.infoPanel.isShowOwnerSection)return null;let p=Af||Sb,m=()=>p?(0,AM.jsx)("span",{style:{margin:"4px 0 0 8px",textDecoration:"none",outline:"none",color:"#1890ff",cursor:"pointer"},"data-test":"Create Component library",onClick:async h=>{h.preventDefault(),Gg(f=>{s||(a(n+1),l(!0),i.infoPanel.updateUserIdSelected())})},children:t("Create Component library")}):(0,AM.jsx)("a",{className:e("create-team-link")+" "+E6e["profileline-link"],"data-key":"owner",href:`/account/user/team/create?from=editor&lang=${mt.toWorkSpaceNeedLang()}${i.infoPanel.workSpaceSelected!=="Personal"?`&orguuid=${i.infoPanel.workSpaceSelected}`:""}`,target:"_blank",onClick:h=>{wi&&(h.preventDefault(),window.electronAPI.openWindow(`${location.origin}/account/user/team/create?from=editor&lang=${mt.toWorkSpaceNeedLang()}${i.infoPanel.workSpaceSelected!=="Personal"?`&orguuid=${i.infoPanel.workSpaceSelected}`:""}`))},style:{margin:"4px 0 0 8px",textDecoration:"none",display:iT?"none":""},"data-test":"Create Team",children:t("Create Team")});return(0,AM.jsxs)("div",{className:E6e["profileline-wrapper"],style:{overflow:"initial"},children:[(0,AM.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:E6e["profileline-label-wrapper"],children:(0,AM.jsx)("span",{title:t("Owner"),"data-test":"Owner",i18n:"Owner",children:t("Owner")})}),(0,AM.jsxs)("div",{className:E6e["profileline-content-wrapper"],children:[(0,AM.jsx)("div",{style:o,children:(0,AM.jsx)(zZ,{orgUuid:i.infoPanel.workSpaceSelected,disable:i.infoPanel.workSpaceDisabled,onChangeSelect:c})}),(0,AM.jsxs)("div",{style:{width:"100%",position:"relative",flexShrink:1,display:"flex"},children:[p?(0,AM.jsx)(ZZi,{disabled:i.infoPanel.userSelectDisabled,initSelectValue:i.infoPanel.userIdSelected,refreshTicket:n,onSelectChange:d,onRefreshCallback:()=>{l(!1)}}):(0,AM.jsx)(sj,{ref:r,notFolder:!0,disabled:i.infoPanel.userSelectDisabled,defaultSelectId:i.infoPanel.userIdSelected,refreshTicket:n,org_uuid:i.infoPanel.workSpaceSelected,onSelectChange:d,onItemClicked:u,reFreshCallback:()=>{l(!1)}}),(0,AM.jsx)("span",{className:e("icon-eda-refresh",{rotateIcon:s}),"data-i18n-attr":"title",title:t("Refresh"),style:{width:"12px",height:"12px",cursor:"pointer",margin:"6px 8px 0 5px"},onClick:()=>{s||(a(n+1),l(!0))}})]})]}),(0,AM.jsx)("div",{className:E6e["profileline-tips-wrapper"],children:m()})]})}var PX=L(Se()),l7t=L(Zm());var kX=L(z()),{locals:dJe}=l7t.default;function qZi(){let t=J(),e=be.bind(l7t.default.locals),i=(0,PX.useContext)(gc),o=(0,PX.useRef)({hasChange:!1}),[r,n]=(0,PX.useState)(i.infoPanel.deviceItemName),a=c=>{let d=c.target.value,u=r===i.infoPanel.symbolItemName;n(d),i.infoPanel.deviceItemName=d,o.current.hasChange=!0,i.infoPanel.symbolOperationType==="New"&&(i.callScenType==="DEVICE_CREATOR"||i.callScenType==="DEVICE_ASSOCIA"||i.callScenType==="DEVICE_SAVEAS")&&u&&(i.infoPanel.symbolItemName=d,i.syncModify())},s=c=>{let d=c.target.value;i.infoPanel.deviceItemName=d,i.infoPanel.symbolOperationType==="New"&&(i.callScenType==="DEVICE_CREATOR"||i.callScenType==="DEVICE_ASSOCIA"||i.callScenType==="DEVICE_SAVEAS")&&o.current.hasChange&&(i.infoPanel.symbolItemName=d),i.syncModify()},l=c=>{let d=c.target;d&&d.select()};return(0,PX.useEffect)(()=>{i.infoPanel.deviceItemName!==r&&n(i.infoPanel.deviceItemName)},[i.infoPanel.deviceItemName]),(0,kX.jsxs)("div",{className:dJe["profileline-wrapper"],children:[(0,kX.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:dJe["profileline-label-wrapper"],children:(0,kX.jsx)("span",{title:t("Device"),"data-test":"Device",i18n:"Device",children:t("Device")})}),(0,kX.jsx)("div",{className:dJe["profileline-content-wrapper"],children:(0,kX.jsx)("input",{type:"text",value:r,name:"deviceName",style:{width:"100%",height:"24px"},onChange:a,onBlur:s,onFocus:l,autoComplete:"off"})}),(0,kX.jsx)("div",{className:dJe["profileline-tips-wrapper"]})]})}var CJi=L(Se()),m7t=L(Zm());var JNr=L(Vi());var RX=L(Se());var TJe=L(OX());var bJe=L(Se());var $Zi=L(Se());var pJe=class extends L3{constructor(){super(),this.requestTypes=["2"]}};var mJe=class extends dm{constructor(){super()}};var hJe=class extends D3{constructor(){super(),this.searchPlaceHolder="Search, at lease 2 charaters"}};var C7=class extends qe{constructor(){super(),this._symbolItem=null,this._isShowLoading=!1,this._hightlightIds=[],this._partIndex=0,this._sourceSCHCanvasSymbolParts=[],this._useSCHCanvasSymbolDataPriority=!1}set symbolItem(e){this._symbolItem=e,this.notify()}get symbolItem(){return this._symbolItem}set isShowLoading(e){this._isShowLoading=e,this.notify()}get isShowLoading(){return this._isShowLoading}set hightlightIds(e){this._hightlightIds=e,this.notify()}get hightlightIds(){return this._hightlightIds}set partIndex(e){this._partIndex=e,this.notify()}get partIndex(){return this._partIndex}set sourceSCHCanvasSymbolParts(e){this._sourceSCHCanvasSymbolParts=e,this.notify()}get sourceSCHCanvasSymbolParts(){return this._sourceSCHCanvasSymbolParts}set useSCHCanvasSymbolDataPriority(e){this._useSCHCanvasSymbolDataPriority=e,this.notify()}get useSCHCanvasSymbolDataPriority(){return this._useSCHCanvasSymbolDataPriority}baseExit(){this.symbolItem=null,this.isShowLoading=!0}setLoadingStatus(){this.isShowLoading=!0,this.symbolItem=null}};var fJe=class extends C7{constructor(){super()}};var gJe=class extends nf{get dataType(){return Tt.SYMBOL}constructor(){super(),this._selectElementDisabaled=!1,this._selectedSymolType=tr.ComponentSymbol,this._symbolTypeList=[{value:t4i,text:i4i,disabled:!1},{value:"2",text:"Component Symbol",disabled:!1},{value:"18",text:"Netflag Symbol",disabled:!1},{value:"19",text:"Netport Symbol",disabled:!1},{value:"25",text:"Off Page Connector Symbol",disabled:!1},{value:"31",text:"Differential Pairs Flag Symbol",disabled:!1},{value:"20",text:"Drawing Symbol",disabled:!1},{value:"21",text:"Non-Electronic Symbol",disabled:!1},{value:"22",text:"Short Symbol",disabled:!1}],this._tableCols=this.createTableColsProfile()}set selectElementDisabaled(e){this._selectElementDisabaled=e,this.notify()}get selectElementDisabaled(){return this._selectElementDisabaled}set selectedSymolType(e){this._selectedSymolType=e,this.notify()}get selectedSymolType(){return this._selectedSymolType}set symbolTypeList(e){this._symbolTypeList=e}get symbolTypeList(){return this._symbolTypeList}set tableCols(e){this._tableCols=e}get tableCols(){return this._tableCols}createTableColsProfile(){return[{key:"numberIndex",name:"No.",sortable:!0,width:.1},{key:"display_title",name:"Title",sortable:!0,width:.3},{key:"description",name:"Description",sortable:!0,width:.3},{key:"ownerBelong",name:"Belong",sortable:!0,width:.1},{key:"updateTimeString",name:"Update Time",sortable:!0,width:.2}]}async fetchComponentList(e,i,o,r=50,n=[],a=-1,s=[]){let l=c=>{let{count:d,page:u,pageSize:p,totalPage:m,lists:h}=c;return this.pageNumber=u||1,this.totalPage=m||1,this.totalCount=d||0,{...c,lists:h.map((f,g)=>{let b=f.owner||{};return{...f,$id:f.uuid,updateTimeString:fC(f),numberIndex:g+1,ownerBelong:b.nickname}})}};this.componentListRequestId=Mt();try{let c={};n.length===1&&n[0]==="@Uncategorized"&&(c.tagNotExists=!0);let d=await Ze.getSymbolList({isProject:e===C.currentProject.projectId,uid:e,path:e,page:o,pageSize:r,tags:n,docType:s,query:c});return{code:0,success:!0,result:l(d),requestId:this.componentListRequestId}}catch(c){return console.warn(c),{code:-1,success:!1,result:null,requestId:this.componentListRequestId}}}async fetchComponentListBySearch(e,i,o,r=_e.DEFAULT_PAGESIZE,n=[],a=-1,s="",l=[]){let c=(p,m)=>{let{count:h,page:f,pageSize:g,totalPage:b,lists:y,facets:w={}}=p;this.pageNumber=+f||1,this.totalPage=+b||1;let x={},S={},T=Object.keys(w);for(let A=0;A<T.length;A++){let D=T[A];if(D===bo.getInstance().usedFacetsKey){let E=Ft(this.libList,"id",bo.getInstance().usedId);E.index>=0&&(x[E.data.id]=w[D],S[E.data.id]=y);continue}if(D===_e.USERLIB_ALIAS){let E=Ft(this.libList,"id",C.loginedUserInfo.uuid);E.index>=0&&(x[E.data.id]=w[D],S[E.data.id]=y);continue}x[D]=w[D],S[D]=y}this.facets=x;let M=this.selectedLibIds[0];this.totalCount=Number.isSafeInteger(+this.facets[M])?+this.facets[M]:h||0;let I=S[M]||[];return{...p,lists:{[M]:I.map((A,D)=>{let E=A.owner||{};return{...A,$id:A.uuid,updateTimeString:fC(A),numberIndex:D+1,ownerBelong:E.nickname}})},facets:x,uid:m,wd:s}},d=Ft(this.libList,"id",this.projectsIds[0]),u={};d.index>=0&&(u.preojectId=d.data.id),u.isSelectedProjectLib=this.selectedLibIds.includes(this.projectsIds[0]),this.componentListRequestId=Mt();try{let p={};n.length===1&&n[0]==="@Uncategorized"&&(p.tagNotExists=!0);let m=e===C.currentProject.projectId,h=null,f=null,g=null;return f=await Ze.getSymbolSearchList({isProject:!1,uid:e,path:e,page:o,pageSize:r,docType:l,tags:n,wd:s,query:p}),C.currentProject.projectId&&Ft(this.libList,"id",C.currentProject.projectId).index>=0&&(g=await Ze.getSymbolSearchList({isProject:!0,uid:C.currentProject.projectId,path:C.currentProject.projectId,page:o,pageSize:r,tags:n,docType:l,wd:s,query:p})),m&&g?(h=g,h.facets={[e]:h.count,...f.facets}):(h=f,g&&(h.facets={[C.currentProject.projectId]:g.count,...f.facets})),{code:0,success:!0,result:c(h,e),requestId:this.componentListRequestId}}catch(p){return console.warn(p),{code:-1,success:!1,result:null,requestId:this.componentListRequestId}}}async refreshComponentList(e,i,o="",r=[],n=(a,s)=>{}){let a=this.selectedLibIds[0];this.facets={},this.componentListLoadStatus="Loading";let s=[];if(this.selectedSymolType===tr.ALL_VALUE?(s=this.symbolTypeList.map(c=>+c.value),s.shift()):s=[+this.selectedSymolType],r[0]===_e.CATEGORY_ITEM_ALL_VALUE&&(r=[]),!o||!o.trim()){let c=await this.fetchComponentList(e,i,this.pageNumber,this.pageSize,r,this.type,s);if(this.componentListRequestId!==c.requestId)return;if((c.code!==0||c.success===!1)&&console.error(c),c.result){let d=c.result.lists||[];d.length>=1?(this.tableData=d,this.componentListLoadStatus=""):(this.tableData=[],this.componentListLoadStatus="No Results!")}else c.code===-1?this.componentListLoadStatus="Fetch list error.":this.componentListLoadStatus="No Results!";this.notify(),n("fetch",c);return}let l=await this.fetchComponentListBySearch(e,i,this.pageNumber,this.pageSize,r,this.type,o.toLocaleLowerCase(),s);if(this.componentListRequestId===l.requestId){if((l.code!==0||l.success===!1)&&console.error(l),l.result){let c=l.result.lists[a]||[];c.length>=1?(this.tableData=c,this.componentListLoadStatus=""):(this.tableData=[],this.componentListLoadStatus="No Results!")}else l.code===-1?this.componentListLoadStatus="Fetch list error.":this.componentListLoadStatus="No Results!";n("search",l)}}async refreshComponentItem(e,i,o){var r;this.componentItemLoadStatus="Loading";try{let n=await Ze.getSymbol({isProject:(r=C.currentProject)!=null&&r.projectId?C.currentProject.projectId===i:!1,uuid:e,path:i});this.componentItem=n||null,this.componentItemLoadStatus=this.componentItem?"":"No Results!"}catch{this.componentItem=null,this.componentItemLoadStatus="No Results!"}this.notify(),o&&o(this.componentItem)}clearAllRemoteData(){this.clearSelectedRowsBase(),this.tableData=[],this.componentItem=null}};async function eJi(){let t=new c7t;return await t.initial(),t}var c7t=class extends Hb{constructor(){super(),this._dialogProps=null,this.libListModel=new mJe,this.componentSearchModel=new hJe,this.categoryModel=new pJe,this.componentTable=new gJe,this.symbolViewsModel=new fJe,this._isOnSearching=!1}set dialogProps(e){this._dialogProps=e}get dialogProps(){return this._dialogProps}get isOnSearching(){return this._isOnSearching}set isOnSearching(e){this._isOnSearching=e}async initial(){this.dialogReady=!0}async initialStore(e){await this.libListModel.setInitialLibList(Hs.Normal),await this.libListModel.freshInitLibList([bo.getInstance().usedId],this.libListModel.isFromProject),this.componentTable.projectsIds=JSON.parse(JSON.stringify(this.libListModel.projectsIds)),this.componentTable.libList=ue.deepClone(this.libListModel.cacheLibList),this.componentTable.facets=JSON.parse(JSON.stringify(this.libListModel.facets)),this.componentTable.selectedLibIds=JSON.parse(JSON.stringify(this.libListModel.getSelectedTruthLibIds())),this.componentTable.initPageSize(),this.whenLibSelectedChanged()}async refreshLibList(){await this.libListModel.refreshLibListFromRemote(),this.componentTable.selectedLibIds=JSON.parse(JSON.stringify(this.libListModel.getSelectedTruthLibIds()))}propsUpdate(e){this.dialogProps=e,this.dialogProps.wantSelectedLibItemId&&(this.libListModel.selectedIds=[this.dialogProps.wantSelectedLibItemId],this.componentTable.selectedLibIds=this.libListModel.getSelectedTruthLibIds()),typeof this.dialogProps.isFromProject<"u"&&(this.libListModel.isFromProject=!!this.dialogProps.isFromProject,this.componentTable.isFromProject=!!this.dialogProps.isFromProject),this.dialogProps.symbolType&&(this.componentTable.selectedSymolType=this.dialogProps.symbolType),this.dialogProps.searchInputValue&&(this.componentSearchModel.searchValue=this.dialogProps.searchInputValue,this.componentSearchModel.isInSearchingStatus=!0,this.whenImmersedComponentSearchStatus()),this.dialogProps.componentItemId&&(this.componentTable.componentItemId=this.dialogProps.componentItemId,this.whenComponentListRowSelectedChanged())}triggerFromUpdate(e={}){}async whenCategorySelectedChanged(){if(this.isOnSearching){let e=[...this.categoryModel.renderSelectedIds];this.componentSearchModel.searchValue="",this.componentSearchModel.isInSearchingStatus&&(this.componentSearchModel.isInSearchingStatus=!1,this.libListModel.isSearchStatus=!1,await this.whenExitComponentSearchStatus(!1)),this.categoryModel.renderSelectedIds=[...e]}this.componentTable.clearAllRemoteData(),this.componentTable.refreshComponentList(this.libListModel.getSelectedTruthLibIds()[0],this.libListModel.getSelectedTruthLibIds()[0],this.componentSearchModel.searchValue,this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenImmersedComponentSearchStatus(){if(this.componentSearchModel.searchValue.trim().length>128){this.searchValueLengthVerify();return}let e=this.libListModel.getSelectedTruthLibIds();this.isOnSearching=!0,this.categoryModel.recoverSelectToDefault(),this.componentTable.clearAllRemoteData(),this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,!(Tn||Ko),!(Tn||Ko),!0,this.componentTable.dataType),!1,{}),F0(this,{kv:{facets:{}},targets:["componentTable"]}),this.componentTable.refreshComponentList(e[0],e[0],this.componentSearchModel.searchValue,this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]),i=>{i==="search"&&(F0(this,{kv:{facets:this.componentTable.facets},targets:["libListModel"]}),this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,!(Tn||Ko),!(Tn||Ko),!0,this.componentTable.dataType),this.componentSearchModel.isInSearchingStatus))})}whenExitComponentSearchStatus(e=!0){this.isOnSearching=!1;let i=this.libListModel.getSelectedTruthLibIds();this.categoryModel.recoverSelectToDefault(),this.componentTable.clearAllRemoteData(),this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,!(Tn||Ko),!(Tn||Ko),!0,this.componentTable.dataType),!1,{}),F0(this,{kv:{facets:{}},targets:["componentTable"]}),e&&this.componentTable.refreshComponentList(i[0],i[0],this.componentSearchModel.searchValue,this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenLibSelectedChanged(){let e=this.libListModel.getSelectedTruthLibIds();this.categoryModel.clearCategoryList(),this.componentTable.clearAllRemoteData(),this.categoryModel.refreshCategoryList(e[0],e[0],this.libListModel),F0(this,{kv:{facets:{},selectedLibIds:e},targets:["componentTable"]}),this.componentTable.refreshComponentList(e[0],e[0],this.componentSearchModel.searchValue,[],i=>{this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,!(Tn||Ko),!(Tn||Ko),!0,this.componentTable.dataType),this.componentSearchModel.isInSearchingStatus,this.componentTable.facets)})}whenSymbolTypeSelectedChanged(){this.componentTable.clearAllRemoteData(),this.componentTable.refreshComponentList(this.libListModel.getSelectedTruthLibIds()[0],this.libListModel.getSelectedTruthLibIds()[0],this.componentSearchModel.searchValue,this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenComponentListPageChanged(){this.componentTable.clearAllRemoteData(),this.componentTable.refreshComponentList(this.libListModel.getSelectedTruthLibIds()[0],this.libListModel.getSelectedTruthLibIds()[0],this.componentSearchModel.searchValue,this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenComponentListRowSelectedChanged(){this.symbolViewsModel.setLoadingStatus(),this.componentTable.refreshComponentItem(this.componentTable.componentItemId,this.libListModel.getSelectedTruthLibIds()[0],e=>{e&&(this.symbolViewsModel.symbolItem=this.componentTable.componentItem)})}},x7=(0,$Zi.createContext)(void 0);var tJi=L(OX()),d7t=L(z()),{locals:jNr}=tJi.default;function BNr(t){let e=J(),i=`display-flex flex-nowrap ${jNr["component-search-section"]}`,o=(0,bJe.useContext)(x7);Ce(o.componentSearchModel);let r=(s,l)=>{o.componentSearchModel.searchValue=s},n=(s,l)=>{o.componentSearchModel.searchValue="",o.componentSearchModel.isInSearchingStatus&&(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,o.whenExitComponentSearchStatus())},a=(s,l)=>{o.componentSearchModel.searchValue?(o.componentSearchModel.isInSearchingStatus=!0,o.libListModel.isSearchStatus=!0,o.whenImmersedComponentSearchStatus()):(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,o.whenExitComponentSearchStatus())};return(0,d7t.jsx)("section",{className:i,children:(0,d7t.jsx)(Bm,{initShowValue:o.componentSearchModel.searchValue,placeholder:o.componentSearchModel.searchPlaceHolder,onUpdateInputValue:r,onClearInputValue:n,onConfirm:a})})}var iJi=bJe.default.memo(BNr);var yJe=L(Se());var oJi=L(OX());var u7t=L(z()),{locals:zNr}=oJi.default;function FNr(t){let e=J(),i=`${zNr["liblist-section"]}`,o=(0,yJe.useContext)(x7);Ce(o.libListModel);let r=()=>{o.libListModel.searchValue=""},n=(s,l)=>{o.libListModel.selectedIds=s,o.whenLibSelectedChanged()},a=()=>{o.refreshLibList().then(()=>{o.componentSearchModel.searchValue?(o.componentSearchModel.isInSearchingStatus=!0,o.libListModel.isSearchStatus=!0,o.whenImmersedComponentSearchStatus()):(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,o.whenExitComponentSearchStatus())})};return(0,u7t.jsx)("section",{className:i,children:(0,u7t.jsx)(j3,{emptyLabel:o.libListModel.emptyLabel,selectedIds:o.libListModel.selectedIds,libList:o.libListModel.cacheLibList,searchPlaceholder:o.libListModel.searchPlaceHolder,searchValue:o.libListModel.searchValue,selectedLibsAction:n,clearSearchInputAction:r,libRefreshAction:a})})}var rJi=yJe.default.memo(FNr);var wJe=L(Se());var nJi=L(OX());var p7t=L(z()),{locals:UNr}=nJi.default;function VNr(t){let e=J(),i=`${UNr["category-section"]}`,o=(0,wJe.useContext)(x7);Ce(o.categoryModel);let r=()=>{o.categoryModel.searchValue=""},n=a=>{o.categoryModel.renderSelectedIds=a,o.whenCategorySelectedChanged()};return(0,p7t.jsx)("section",{className:i,children:(0,p7t.jsx)(Gb,{isLock:!1,isVirtualList:!1,selectedIds:o.categoryModel.renderSelectedIds,categoryList:o.categoryModel.renderCategoryList,searchPlaceholder:o.categoryModel.searchPlaceHolder,searchValue:o.categoryModel.searchValue,selectedCategoriesAction:n,clearSearchInputAction:r,libItemInfo:o.libListModel.currentSelectLibItem,initCategoryActiveTab:o.categoryModel.requestTypes[0],ownerSelectValue:o.libListModel.getSelectedTruthLibIds()[0]})})}var aJi=wJe.default.memo(VNr);var zI=L(Se());var sJi=L(Se());var lJi=L(OX()),CJe=L(z()),{locals:HNr}=lJi.default;function GNr(t){let{selectedValue:e,selectList:i,onChange:o}=t,r=`${HNr["symboltype-wrapper"]}`;return(0,CJe.jsx)("div",{className:r,children:(0,CJe.jsx)("div",{className:"display-flex flex-lateral-axis-center",style:{width:"45%",padding:"0 5px 5px 5px"},children:(0,CJe.jsx)(xt,{disabled:!0,value:e,list:i,onChange:o})})})}var cJi=sJi.default.memo(GNr);var dJi=L(OX());var wO=L(z()),{locals:YNr}=dJi.default;function WNr(t){let e=J(),i=`display-flex flex-direct-column flex-main-axis-stretch ${YNr["table-section"]}`,o=(0,zI.useContext)(x7);Ce(o.componentTable);let r=(0,zI.useRef)(null),n=(0,zI.useRef)(null),[a,s]=(0,zI.useState)(100),[l,c]=(0,zI.useState)(o.componentTable.tableCols.map(h=>({...h,name:e(h.name)}))),d=h=>{o.componentTable.selectedSymolType=h,o.whenSymbolTypeSelectedChanged()},u=h=>{let{row:f,selectedRowNumbers:g,tableData:b=[]}=h,y=b[g[0]];!y||f.$id!==y.$id||(o.hasClickedComponentItem=!0,o.componentTable.tableSelectedRowNumbers=g,o.componentTable.componentItemId=y.uuid,o.whenComponentListRowSelectedChanged())},p=(h,f)=>{o.componentTable.pageNumber!==f&&(o.componentTable.pageNumber=+f,o.whenComponentListPageChanged())},m=h=>{o.componentTable.pageSize=+h,Vg("table",h),o.whenComponentListPageChanged()};return(0,zI.useEffect)(()=>(r.current&&Yn(()=>{if(!r.current)return;let h=r.current.getBoundingClientRect();r.current.style.width=`${h.width}px`,s(h.height)},100),()=>{}),[]),(0,zI.useEffect)(()=>{c(o.componentTable.tableCols.map(h=>({...h,name:e(h.name)})))},[o.componentTable.tableCols]),(0,zI.useEffect)(()=>{n.current.refresh()},[o.componentTable.tableData]),(0,wO.jsxs)("section",{className:i,children:[(0,wO.jsx)(cJi,{selectList:o.componentTable.symbolTypeList,selectedValue:String(o.componentTable.selectedSymolType),onChange:d}),(0,wO.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-stretch",style:{width:"100%",height:"100%",position:"relative",overflowY:"hidden",overflowX:"auto"},children:[(0,wO.jsx)("div",{ref:r,style:{height:"100%",width:"100%",overflowY:"hidden",overflowX:"auto"},children:(0,wO.jsx)(xi,{ref:n,index:"$id",border:!0,isShiftSelect:!1,isCtrlSelect:!1,height:a,columns:l,openHeadContentMenu:!0,showCustomHeadSettingOnHeadContextmenu:!1,rows:o.componentTable.tableData,onClick:u,selectedRowNumbers:o.componentTable.tableSelectedRowNumbers,openVirtualScroll:!0,searchValue:o.isOnSearching&&o.componentSearchModel.searchValue?o.componentSearchModel.searchValue:"",showStatus:o.componentTable.componentListLoadStatus!=="",statusNode:(0,wO.jsx)("div",{style:{lineHeight:"50px",textAlign:"center"},children:(0,wO.jsx)("span",{children:e(o.componentTable.componentListLoadStatus)})})})}),(0,wO.jsx)("div",{style:{width:"100%",height:"30px",overflow:"hidden",display:"flex",justifyContent:"flex-end",alignContent:"center",alignItems:"center",textAlign:"right",padding:"5px 5px 0 5px"},children:(0,wO.jsx)(cp,{simplify:!0,inputJump:!1,pageNumber:o.componentTable.pageNumber,countTotal:o.componentTable.totalCount,cutSize:o.componentTable.pageSize,cutSizeOptions:o.componentTable.cutSizeOptions,onPageNumberChange:p,onPageSizeChange:m,gDisabled:o.componentTable.paginationDisabled})})]})]})}var uJi=zI.default.memo(WNr);var Jfe=L(Se());var pJi=L(OX()),hJi=L(z()),{locals:YWl}=pJi.default;function QNr(t){let e=J(),i=(0,Jfe.useContext)(x7);Ce(i.symbolViewsModel);let o=(0,Jfe.useRef)(null),r=n=>{};return(0,hJi.jsx)(B3,{$ref:o,enableThumbImageScalable:!0,enableThumbImageDraggable:!0,initSetShowLoading:i.symbolViewsModel.isShowLoading,symbolItem:i.symbolViewsModel.symbolItem,onPartSelectChange:r})}var mJi=Jfe.default.memo(QNr);var NM=L(z());function KNr(t){return(0,NM.jsxs)(NM.Fragment,{children:[(0,NM.jsxs)("div",{className:"display-flex flex-main-axis-start flex-nowrap",children:[(0,NM.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-between flex-lateral-axis-stretch flex-nowrap",style:{width:"40%",overflow:"hidden"},children:[(0,NM.jsx)(iJi,{}),(0,NM.jsxs)("div",{className:"display-flex flex-nowrap",style:{height:"calc(100% - 30px)"},children:[(0,NM.jsx)(rJi,{}),(0,NM.jsx)(aJi,{})]})]}),(0,NM.jsx)("div",{style:{width:"60%",padding:"5px 0 0 0",margin:"0 5px",border:"1px solid var(--border-color-panel-divider)"},children:(0,NM.jsx)(uJi,{})})]}),(0,NM.jsx)("div",{style:{width:"350px",flexShrink:"0",padding:"5px 5px",border:"1px solid var(--border-color-panel-divider)"},children:(0,NM.jsx)(mJi,{})})]})}var fJi=KNr;var c5=L(z()),{locals:xJe}=TJe.default,gJi=null,ZNr=t=>{let e=J(),{dialogWidth:i,dialogHeight:o,containerId:r,dialogId:n,onDialogOpen:a,onDialogCancel:s,onDialogClose:l,onDialogConfirm:c,onDialogClosed:d}=t,[u,p]=(0,RX.useState)(null),m=(0,RX.useRef)(null);m.current=u;let h=`pop-content-wrapper display-flex flex-nowrap ${xJe["main-container"]}`,f=`${xJe["view-loading-wrapper"]}`,g=`${xJe["view-loading"]}`,b=`rotation ${xJe["view-loading-rotation"]}`,y=async w=>{if(w==="confirm"){let x=u.componentTable.componentItem||u.symbolViewsModel.symbolItem;if(!x){De({msg:"Please select one symbol",type:"error"});return}if((c?await c({stamp:new Date().getTime(),componentItem:x,path:u.libListModel.getSelectedTruthLibIds()[0],hasClickedComponentItem:u.hasClickedComponentItem}):!0)===!1)return;l&&l(),le.close();return}w==="cancel"&&s&&s(),await oo({action:w,dialogId:n,formData:{}}),l&&l(),le.close()};return(0,RX.useLayoutEffect)(()=>{window.clearTimeout(gJi),gJi=window.setTimeout(()=>{eJi().then(async w=>{await w.propsUpdate(t),await w.initialStore(t),w.triggerFromUpdate({}),p(w),a&&a()})},30)},[]),(0,RX.useEffect)(()=>()=>{d&&d()},[]),u?(0,c5.jsxs)("div",{className:"pop-content-container",style:{height:o+"px"},children:[(0,c5.jsx)("style",{children:String(TJe.default)}),(0,c5.jsxs)(x7.Provider,{value:u,children:[(0,c5.jsx)("div",{className:h,children:(0,c5.jsx)(fJi,{...t})}),(0,c5.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,c5.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>y("confirm"),children:"Confirm"}),(0,c5.jsx)(Me,{onClick:()=>y("cancel"),children:"Cancel"})]})]})]}):(0,c5.jsxs)("div",{className:"pop-content-container",style:{height:o+"px"},children:[(0,c5.jsx)("style",{children:String(TJe.default)}),(0,c5.jsx)("div",{className:f,children:(0,c5.jsx)("div",{className:g,children:(0,c5.jsx)("div",{className:b,children:(0,c5.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})]})},bJi=ZNr;var wJi=L(z());async function yJi(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;return le.open({id:o,title:r,width:n,closed:s,esc:!0,folded:!1,children:(0,wJi.jsx)(bJi,{containerId:o,dialogId:t.dialogId,...t,dialogWidth:n,dialogHeight:a})}),le}async function SJe(t){return await ii("symbolManager",{...t})}async function qfe(t,e,i,o,r=!1,n="",a,s={}){let l=s||{},c=typeof l.dialogClosedCallback=="function"?l.dialogClosedCallback:null;return await SJe({path:o,searchInputValue:n,wantSelectedLibItemId:"",isFromProject:r,componentItemId:e,symbolType:i,onDialogOpen(){},onDialogCancel(){},onDialogClose(){},onDialogClosed(){c&&c()},async onDialogConfirm(d){a(d)}})}var HD=L(z()),{locals:ez}=m7t.default;function xJi(){let t=J(),e=be.bind(m7t.default.locals),i=(0,CJi.useContext)(gc);Ce(i.infoPanel);let o=n=>{let s=n.target.value;i.infoPanel.whenSymbolOperationTypeChanged(s)},r=()=>{if(!i.infoPanel.isShowSymbolOperationType)return;let n=i.dialogProps.initDeviceItem;qfe(n?n.uuid:"",i.infoPanel.symbolItemId,i.infoPanel.symbolType,i.path,!!i.dialogProps.isFromProject,i.infoPanel.deviceItemName,a=>{i.infoPanel.whenSymbolConfirmUpdate(a),i.syncModify()},{dialogClosedCallback:()=>{i.infoPanel.symbolOperationType=i.infoPanel.symbolItem?"Associate":"New"}})};return i.infoPanel.isShowSymbolOperationType?(0,HD.jsxs)("div",{className:ez["profileline-wrapper"],children:[(0,HD.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:ez["profileline-label-wrapper"],children:(0,HD.jsx)("span",{title:t("Symbol"),"data-test":"Symbol",i18n:"Symbol",children:t("Symbol")})}),(0,HD.jsxs)("div",{className:ez["profileline-content-wrapper"],children:[(0,HD.jsxs)("label",{className:ez["profileline-content-item-wrapper"],children:[(0,HD.jsx)("input",{"data-input-type":"radio","data-attritem-input":"symbolOperationType",name:"symbolOperationType1",type:"radio",value:"New",className:ez["profile-input-radio"],onChange:o,checked:i.infoPanel.symbolOperationType==="New",disabled:!1}),(0,HD.jsx)("span",{title:t("New Symbol"),i18n:"New Symbol","data-test":"New Symbol",className:ez["profile-input-tips"],children:t("New Symbol")})]}),(0,HD.jsxs)("label",{className:ez["profileline-content-item-wrapper"],onClick:r,children:[(0,HD.jsx)("input",{"data-input-type":"radio","data-attritem-input":"symbolOperationType",name:"symbolOperationType2",type:"radio",value:"Associate",className:ez["profile-input-radio"],onChange:o,checked:i.infoPanel.symbolOperationType==="Associate",disabled:!1}),(0,HD.jsx)("span",{title:t("Associate Existing Symbol"),i18n:"Associate Existing Symbol","data-test":"Associate Existing Symbol",className:ez["profile-input-tips"],children:t("Associate Existing Symbol")})]})]}),(0,HD.jsx)("div",{className:ez["profileline-tips-wrapper"]})]}):null}var TJi=L(Se()),h7t=L(Zm());var LY=L(z()),{locals:A6e}=h7t.default;function SJi(){let t=J(),e=be.bind(h7t.default.locals),i=(0,TJi.useContext)(gc);Ce(i.infoPanel);let o=()=>{O3().then(a=>{a.action==="yes"&&(i.infoPanel.whenCategoryInfoClear(),i.syncModify())})},r=()=>{var a;C1({docType:Yi.DEVICE,userId:i.infoPanel.userIdSelected,path:"",isProjectLib:!1,libOwnerId:(a=i==null?void 0:i.dialogProps)==null?void 0:a.projectLibOrigin}).then(s=>{var l;if(s.confirm){let c=i.infoPanel.categoryShowString!=="";(l=i==null?void 0:i.dialogProps)!=null&&l.isFromProject?(i.infoPanel.categoryTags=s.tag.pathId.split(":"),i.infoPanel.categoryShowString=s.tag.pathName):i.infoPanel.whenCategoryConfirmUpdate(s.tag.pathId),i.syncModify(),c&&De({type:"success",msg:"Update successfully!",timer:2.5})}})},n=a=>{a.preventDefault(),Qc({menuSelected:"CATEGORY",initCategoryActiveLibId:i.infoPanel.userIdSelected})};return(0,LY.jsxs)("div",{className:A6e["profileline-wrapper"],children:[(0,LY.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:A6e["profileline-label-wrapper"],children:(0,LY.jsx)("span",{title:t("Category"),"data-test":"Category",i18n:"Category",children:t("Category")})}),(0,LY.jsx)("div",{className:A6e["profileline-content-wrapper"],children:(0,LY.jsx)(ea,{value:i.infoPanel.categoryShowString,hasClearButton:!0,hasThreePoint:!0,onClearClick:o,openDialog:r})}),(0,LY.jsx)("div",{className:A6e["profileline-tips-wrapper"],children:(0,LY.jsx)("a",{className:A6e["profileline-link"],href:"#",style:{margin:"4px 0 0 8px",textDecoration:"none"},"data-test":"Manage Categories",onClick:n,children:t("Manage Categories")})})]})}var $fe=L(Se()),f7t=L(Zm());var kM=L(z()),{locals:Xfe}=f7t.default;function IJi(){var u,p;let t=J(),e=be.bind(f7t.default.locals),i=(0,$fe.useContext)(gc);Ce(i.infoPanel);let[o,r]=(0,$fe.useState)(i.infoPanel.symbolItemName),n=m=>{i.infoPanel.whenSymbolTypeChanged(m)},a=m=>{r(m),i.infoPanel.symbolItemName=m,i.syncModify()},s=()=>{O3().then(m=>{m.action==="yes"&&(i.infoPanel.whenSymbolInfoClear(),i.syncModify())})},l=()=>{let m=i.dialogProps.initDeviceItem;qfe(m?m.uuid:"",i.infoPanel.symbolItemId,i.infoPanel.symbolType,i.path,!!i.dialogProps.isFromProject,i.infoPanel.symbolItemName,h=>{let f=i.infoPanel.symbolItemName!=="";i.infoPanel.whenSymbolConfirmUpdate(h),i.syncModify(),f&&De({type:"success",msg:"Update successfully!",timer:2.5})},{dialogClosedCallback:()=>{(i.callScenType==="DEVICE_CREATOR"||i.callScenType==="DEVICE_ASSOCIA")&&(i.infoPanel.symbolOperationType=i.infoPanel.symbolItem?"Associate":"New")}})},c=m=>{m.preventDefault(),et("new_schematicLib",{messageToken:"SYMBOL_CREATED_FROM_DEVICEDLG",orgUuid:i.infoPanel.workSpaceSelected,defaultOwnerId:i.infoPanel.userIdSelected,isUserSelectDisabled:!0,isWorkespaceSelectDisabled:!0})},d=m=>{m.preventDefault();let h=i.dialogProps.initDeviceItem,f=i.infoPanel.symbolItem,g=!1;wi?g=!!f.isProjectLibs:g=!!f.project_uuid;let b=Vm(),y={...f,libPath:b,deviceId:h?h.uuid:""};GD(g,y,()=>DI(y,g,!0)),C.messageBus.publish("ui/device/dvdialog/close")};return(0,$fe.useEffect)(()=>{i.infoPanel.symbolItemName!==o&&r(i.infoPanel.symbolItemName)},[i.infoPanel.symbolItemName]),(0,kM.jsxs)("div",{className:Xfe["profileline-wrapper"],children:[(0,kM.jsx)("input",{type:"hidden",name:"symbol-item-id",value:i.infoPanel.symbolItemId}),(0,kM.jsx)("input",{type:"hidden",name:"symbol-item-path",value:i.infoPanel.symbolItemPath}),(0,kM.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:Xfe["profileline-label-wrapper"],children:(0,kM.jsx)("span",{title:t("Symbol"),"data-test":"Symbol",i18n:"Symbol",children:t("Symbol")})}),(0,kM.jsxs)("div",{className:Xfe["profileline-content-wrapper"],children:[(0,kM.jsx)("div",{style:{paddingRight:"4px",width:"50%"},children:(0,kM.jsx)(xt,{list:i.infoPanel.symbolTypeList,value:i.infoPanel.symbolType,onChange:n,name:"symbolType",containerStyle:{height:"24px"},optionsAutoWidth:!0,disabled:i.infoPanel.symbolTypeDisabled})}),(0,kM.jsx)("div",{style:{paddingLeft:"4px",width:"50%"},children:(0,kM.jsx)(ea,{value:o,hasClearButton:!0,hasThreePoint:i.infoPanel.symbolOperationType==="Associate",onClearClick:s,openDialog:l,disabled:i.infoPanel.symbolItemDisabled,couldInput:i.infoPanel.symbolOperationType==="New"&&!((u=i.infoPanel.hasIdButNotFound)!=null&&u.symbol),onInputUpdate:a,errorValue:(p=i.infoPanel.hasIdButNotFound)==null?void 0:p.symbol})})]}),(0,kM.jsx)("div",{className:Xfe["profileline-tips-wrapper"],children:i.infoPanel.symbolItemName&&i.infoPanel.symbolOperationType==="Associate"?(0,kM.jsx)("a",{className:Xfe["profileline-link"],href:"#",style:{margin:"4px 0 0 8px",textDecoration:"none"},"data-test":"Edit Symbol",onClick:d,children:t("Edit Symbol")}):(0,kM.jsx)("a",{className:Xfe["profileline-link"],href:"#",style:{margin:"4px 0 0 8px",textDecoration:"none"},"data-test":"New Symbol",onClick:c,children:t("New Symbol")})})]})}var LJi=L(Se()),g7t=L(Zm());async function MJe(t,e,i,o,r,n,a={},s){let l=a||{},c=typeof l.isFromProject<"u"?!!l.isFromProject:!1,d=null;if(e)try{d=await Ze.getFootprint({isProject:r===C.currentProject.projectId,path:r,uuid:e})}catch(f){console.log(f)}let u=null;i&&(u=await As.fetchD3ModelItemHandle(i,r),u||(u=As.createDefaultD3modelItem(i,"","")));let p=t||Mt(Math.random()),m=[p],h=[{$id:p,deviceId:t,attributes:l.attributes||{},path:r,checked:!0,designator:"-",information:$f.NORMAL.msg(),canvasOrigin:{x:0,y:0,z:0},symbolItem:null,symbolItemTitle:"",symbolItemIdInit:"",footprintItem:d,footprintItemTitle:(d||{}).display_title||"",footprintItemIdInit:d?d.uuid:"",d3modelItem:u,d3modelItemTitle:(u||{}).display_title||"",d3modelItemTransform:o||_e.D3MVIEW_DEFAULT_TRANSFORM,d3modelItemIdInit:u?u.uuid:"",simmodelItem:null,simmodelItemTitle:"",simmodelItemIdInit:"",deviceItemTitle:"",isError:!1,errorType:$f.NORMAL.type,bgColor:Pc().bgColor,hasIdButNotFound:s}];return await aB({callScenType:"DEVICE_DIALOG",path:"",searchInputValue:"",deviceList:h,deviceListSelectedIds:m,wantSelectedLibItemId:"",isFromProject:c,onDialogOpen(){},onDialogCancel(){},onDialogClose(){},onDialogClosed(){},onDialogConfirm(f){n(f)}})}var tz=L(z()),{locals:N6e}=g7t.default;function vJi(){var p;let t=J(),e=be.bind(g7t.default.locals),i=(0,LJi.useContext)(gc);Ce(i.infoPanel);let o=i.infoPanel.d3modelItemId,r=i.infoPanel.d3modelItemName,n=ue.splitComponentId2FolderAndFilenameMixin(o,!0),a=n.isLocaleFilenameMode?`${n.path}\\${r}`:r,s=()=>{O3().then(m=>{m.action==="yes"&&(i.infoPanel.whenD3ModelInfoClear(),i.syncModify())})},l=()=>{let m=i.dialogProps.initDeviceItem;MJe(m?m.uuid:"",i.infoPanel.footprintItemId,i.infoPanel.d3modelItemId,i.infoPanel.d3modelItemTransform,i.path,h=>{let f=i.infoPanel.d3modelItemName!=="";i.infoPanel.whenD3ModelConfirmUpdate(h),i.syncModify(),f&&De({type:"success",msg:"Update successfully!",timer:2.5})},{attributes:m?m.attributes:{}},i.infoPanel.hasIdButNotFound)},c=m=>{m.preventDefault();let h=i.infoPanel.userIdSelected,f={},g=Ft(C.teams||[],"uuid",h);g.index>=0&&(f={...g.data}),et("new_3D_model",{messageToken:"D3MODEL_CREATED_FROM_DEVICEDLG",orgUuid:i.infoPanel.workSpaceSelected,defaultOwnerId:i.infoPanel.userIdSelected})},d=m=>{Au.open({data:[{title:me.i18n("Restore to footprint model"),cmd:"RestoreFootprintModel",disabled:i.property.isD3ModelInfoEmpty()}],position:{x:m.clientX,y:m.clientY},onClick(h,f,g,b){h.cmd==="RestoreFootprintModel"&&(i.infoPanel.whenD3ModelInfoRestoreToFootprintBoundInfo(),i.syncModify())},onEnterConfirm(h,f,g){h[0]==="RestoreFootprintModel"&&(i.infoPanel.whenD3ModelInfoRestoreToFootprintBoundInfo(),i.syncModify())}})},u=m=>{m.preventDefault(),d(m)};return i.infoPanel.isShowD3modelItem?(0,tz.jsxs)("div",{className:N6e["profileline-wrapper"],children:[(0,tz.jsx)("input",{type:"hidden",name:"d3model-item-id",value:i.infoPanel.d3modelItemId}),(0,tz.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:N6e["profileline-label-wrapper"],children:(0,tz.jsx)("span",{title:t("3D Model"),"data-test":"3D Model",i18n:"3D Model",children:t("3D Model")})}),(0,tz.jsx)("div",{className:N6e["profileline-content-wrapper"],onContextMenu:u,children:(0,tz.jsx)(ea,{value:a||"",hasClearButton:!0,hasThreePoint:!0,onClearClick:s,openDialog:l,disabled:i.infoPanel.d3modelItemDisabled,errorValue:(p=i.infoPanel.hasIdButNotFound)==null?void 0:p.d3DModel})}),(0,tz.jsx)("div",{className:N6e["profileline-tips-wrapper"],children:(0,tz.jsx)("a",{className:N6e["profileline-link"],href:"#",style:{margin:"4px 0 0 8px",textDecoration:"none"},"data-test":"New 3D Model",onClick:c,children:t("New 3D Model")})})]}):null}var aqi=L(Se()),D7t=L(Zm());var FI=L(Se());var HJe=L(YD());var $Ji=L(Se()),eqi=L(YD());var EJi=L(Se());var LJe=class extends L3{constructor(){super(),this.requestTypes=["4"]}};var vJe=class extends eB{constructor(){super()}};var DJe=class extends dm{constructor(){super()}};var EJe=class extends D3{constructor(){super(),this.searchPlaceHolder="Search, at lease 2 charaters"}};var _X=class extends qe{constructor(){super(),this._selectedIds=[],this._tableSelectedRowNumbers=[],this._sortKeyValueList=[],this._sourceList=[],this._resetSortTag=0}set sortKeyValueList(e){this._sortKeyValueList=e}get sortKeyValueList(){return this._sortKeyValueList}set resetSortTag(e){this._resetSortTag=e,this.notify()}get resetSortTag(){return this._resetSortTag}set selectedIds(e){this._selectedIds=e,this.notify()}get selectedIds(){return this._selectedIds}set tableSelectedRowNumbers(e){this._tableSelectedRowNumbers=e,this.notify()}get tableSelectedRowNumbers(){return this._tableSelectedRowNumbers}set sourceList(e){this._sourceList=e,this.notify()}get sourceList(){return this._sourceList}updateSortKeyValueList(e,i){this.sortKeyValueList=YZ(e,i)}sortTableData(e,i,o,r){if(o==="NORMAL"){let n=[...r];return n.sort((a,s)=>this.sortKeyValueList.indexOf(a[i])-this.sortKeyValueList.indexOf(s[i])),n}if(o==="ASC_SORT"||o==="DESC_SORT"){let n=[];for(let a=0;a<e.length;a++)n.push({...e[a]});return n}return[]}};var AJe=class extends _X{constructor(){super(),this._tableCols=this.createTableColsProfile(),this._tableData=[],this._padNumberList=[]}set tableCols(e){this._tableCols=e,this.notify()}get tableCols(){return this._tableCols}set tableData(e){this._tableData=e,this.notify()}get tableData(){return this._tableData}set padNumberList(e){this._padNumberList=e,this.notify()}get padNumberList(){return this._padNumberList}createTableColsProfile(){return[{key:"number",name:"No.",sortable:!0,width:.5},{key:"size",name:"Size",sortable:!0,width:.5}]}refreshByFootprintDimensionList(e,i){let o=[];return i.forEach((r,n)=>{let a=parseFloat(String(r.highPrecisionValue));e!==A5t&&(a=ue.unitConversion.conversion1(A5t,e,a));let s=e===_e.CANVAS_UNIT_MIL?1:3;a=li.toFixed(a,s,!0),o.push({$id:String(n),number:r.textTitle,size:String(a),gId:"",gIdArr:[""]})}),this.tableData=o,this.updateSortKeyValueList("$id"),o}refreshByPadDimensionList(e,i){let o=[],r=[];return i.forEach((n,a)=>{let s=+n.width,l=+n.height;e!==Dze&&(s=ue.unitConversion.conversion1(Dze,e,s),l=ue.unitConversion.conversion1(Dze,e,l));let c=e===_e.CANVAS_UNIT_MIL?1:3;s=+li.toFixed(s,c,!0),l=+li.toFixed(l,c,!0),o.push({$id:String(a),number:n.index,size:s+" * "+l,gId:n.number,gIdArr:n.gIdArr}),r.push(n.index)}),this.tableData=o,this.updateSortKeyValueList("$id"),this.padNumberList=r,this.resetSortTag=this.resetSortTag+1,o}updateSortKeyValueList(e){super.updateSortKeyValueList(e,this.tableData)}sortTable(e,i,o){this.tableData=super.sortTableData(e,i,o,this.tableData)}};var NJe=class extends nf{get dataType(){return Tt.FOOTPRINT}constructor(){super(),this._docType="4",this._tableCols=this.createTableColsProfile()}set docType(e){this._docType=e}get docType(){return this._docType}set tableCols(e){this._tableCols=e}get tableCols(){return this._tableCols}createTableColsProfile(){return[{key:"numberIndex",name:"No.",sortable:!0,width:.15},{key:"display_title",name:"Footprint",sortable:!0,width:.25},{key:"description",name:"Description",sortable:!0,width:.25},{key:"ownerBelong",name:"Belong",sortable:!0,width:.13},{key:"updateTimeString",name:"Update Time",sortable:!0,width:.22}]}async fetchComponentList(e,i,o,r=50,n=[],a=-1,s=[]){let l=c=>{let{count:d,page:u,pageSize:p,totalPage:m,lists:h}=c;return this.pageNumber=u||1,this.totalPage=m||1,this.totalCount=d||0,{...c,lists:h.map((f,g)=>{let b=f.owner||{};return{...f,$id:f.uuid,updateTimeString:fC(f),numberIndex:g+1,ownerBelong:b.nickname}})}};this.componentListRequestId=Mt();try{let c={};n.length===1&&n[0]==="@Uncategorized"&&(c.tagNotExists=!0);let d={isProject:e===C.currentProject.projectId,uid:e,path:e,page:o,pageSize:r,query:c};n.length>0&&(d.tags=n);let u=await Ze.getFootprintList(d);return{code:0,success:!0,result:l(u),requestId:this.componentListRequestId}}catch(c){return console.warn(c),{code:-1,success:!1,result:null,requestId:this.componentListRequestId}}}async fetchComponentListBySearch(e,i,o,r=_e.DEFAULT_PAGESIZE,n=[],a=-1,s="",l=[]){let c=(p,m)=>{let{count:h,page:f,pageSize:g,totalPage:b,lists:y,facets:w={}}=p;this.pageNumber=+f||1,this.totalPage=+b||1;let x={},S={},T=Object.keys(w);T.length<=0&&(w[m]=h,T.push(m));for(let A=0;A<T.length;A++){let D=T[A];if(D===bo.getInstance().usedFacetsKey){let E=Ft(this.libList,"id",bo.getInstance().usedId);E.index>=0&&(x[E.data.id]=w[D],S[E.data.id]=y);continue}if(D===_e.USERLIB_ALIAS){let E=Ft(this.libList,"id",C.loginedUserInfo.uuid);E.index>=0&&(x[E.data.id]=w[D],S[E.data.id]=y);continue}x[D]=w[D],S[D]=y}this.facets=x;let M=this.selectedLibIds[0];this.totalCount=Number.isSafeInteger(+this.facets[M])?+this.facets[M]:h||0;let I=S[M]||[];return{...p,lists:{[M]:I.map((A,D)=>{let E=A.owner||{};return{...A,$id:A.uuid,updateTimeString:fC(A),numberIndex:D+1,ownerBelong:E.nickname}})},facets:x,uid:m,wd:s}},d=Ft(this.libList,"id",this.projectsIds[0]),u={};d.index>=0&&(u.preojectId=d.data.id),u.isSelectedProjectLib=this.selectedLibIds.includes(this.projectsIds[0]),this.componentListRequestId=Mt();try{let p={};n.length===1&&n[0]==="@Uncategorized"&&(p.tagNotExists=!0);let m=e===C.currentProject.projectId,h=null,f=null,g=null,b={isProject:!1,uid:e,path:e,page:o,pageSize:r,wd:s,query:p};if(n.length>0&&(b.tags=n),f=await Ze.getFootprintSearchList(b),C.currentProject.projectId&&Ft(this.libList,"id",C.currentProject.projectId).index>=0){let w={isProject:!0,uid:C.currentProject.projectId,path:C.currentProject.projectId,page:o,pageSize:r,wd:s,query:p};n.length>0&&(w.tags=n),g=await Ze.getFootprintSearchList(w)}return m&&g?(h=g,h.facets={[e]:h.count,...f.facets}):(h=f,g&&(h.facets={[C.currentProject.projectId]:g.count,...f.facets})),{code:0,success:!0,result:c(h,e),requestId:this.componentListRequestId}}catch(p){return console.warn(p),{code:-1,success:!1,result:null,requestId:this.componentListRequestId}}}async refreshComponentList(e,i,o="",r=[],n=(a,s)=>{}){let a=this.selectedLibIds[0];if(this.facets={},this.componentListLoadStatus="Loading",r[0]===_e.CATEGORY_ITEM_ALL_VALUE&&(r=[]),!o||!o.trim()){let l=await this.fetchComponentList(e,i,this.pageNumber,this.pageSize,r,this.type);if(this.componentListRequestId!==l.requestId)return;if((l.code!==0||l.success===!1)&&console.error(l),l.result){let c=l.result.lists||[];c.length>=1?(this.tableData=c,this.componentListLoadStatus=""):(this.tableData=[],this.componentListLoadStatus="No Results!")}else l.code===-1?this.componentListLoadStatus="Fetch list error.":this.componentListLoadStatus="No Results!";this.updateSortKeyValueList("$id"),this.notify(),n("fetch",l);return}let s=await this.fetchComponentListBySearch(e,i,this.pageNumber,this.pageSize,r,this.type,o.toLocaleLowerCase());if(this.componentListRequestId===s.requestId){if((s.code!==0||s.success===!1)&&console.error(s),s.result){let l=s.result.lists[a]||[];l.length>=1?(this.tableData=l,this.componentListLoadStatus=""):(this.tableData=[],this.componentListLoadStatus="No Results!")}else s.code===-1?this.componentListLoadStatus="Fetch list error.":this.componentListLoadStatus="No Results!";this.updateSortKeyValueList("$id"),n("search",s)}}async refreshComponentItem(e,i,o){this.componentItemLoadStatus="Loading";try{let r=await Ze.getFootprint({isProject:C.currentProject?C.currentProject.projectId===i:!1,uuid:e,path:i});this.componentItem=r||null,this.componentItemLoadStatus=this.componentItem?"":"No Results!"}catch{this.componentItem=null,this.componentItemLoadStatus="No Results!"}this.notify(),o&&o(this.componentItem)}clearAllRemoteData(){this.clearSelectedRowsBase(),this.tableData=[],this.componentItem=null}};var kJe=class extends qe{constructor(){super(),this._searchValue="",this._searchPlaceHolder="Filter",this._isInSearchingStatus=!1}set searchPlaceHolder(e){this._searchPlaceHolder=e}get searchPlaceHolder(){return this._searchPlaceHolder}set searchValue(e){this._searchValue=e,this.notify()}get searchValue(){return this._searchValue}set isInSearchingStatus(e){this._isInSearchingStatus=e}get isInSearchingStatus(){return this._isInSearchingStatus}};var PJe=class extends sq{constructor(){super();this.getColKey=i=>{switch(i){case"tags":return"cateName";case"footprint":case"Footprint":return"footprintItemTitle";case"Comment":case"\u5907\u6CE8":return"comment";case"Designator":return"designator";case"3D Model Title":return"d3modelItemTitle";case"Symbol":return"symbolItemTitle";case"Device":return"deviceItemTitle";default:return i}};this._tableSelectedRowNumbers=[],this._tableCols=[],this._padNumberList=[],this._searchValue=""}set tableSelectedRowNumbers(i){this._tableSelectedRowNumbers=i,this.notify()}get tableSelectedRowNumbers(){return this._tableSelectedRowNumbers}set tableCols(i){this._tableCols=i,this.notify()}get tableCols(){return this._tableCols}set padNumberList(i){this._padNumberList=i,this.notify()}get padNumberList(){return this._padNumberList}set searchValue(i){this._searchValue=i}get searchValue(){return this._searchValue}updateTableColsProfile(i){let o=i||nV(qh.Default);return o.map(r=>({key:this.getColKey(r.id),name:r.value,sortable:!0,width:1/o.length}))}washDeviceListBeforeStartSearchProcess(){this.tableSelectedRowNumbers=[],this.selectedIds=[],this.tableData.forEach(i=>{i.checked=!1})}washDeviceListBeforeExitSearchProcess(){this.tableSelectedRowNumbers=[],this.selectedIds=[],this.tableData.forEach(i=>{i.checked=!1})}refreshDeviceListBySearch(i=""){if(!i){this.renderTableData=ue.deepClone(this.tableData.map(n=>n));return}let o=this.tableCols,r=[];this.tableData.forEach(n=>{let a=n.attributes||{};for(let s of o){if(!s.key)continue;let l=n[s.key]||a[s.key];if(!(typeof l>"u")&&l.toLocaleLowerCase().indexOf(i.toLocaleLowerCase())>=0){r.push(n);break}}}),this.renderTableData=r}refreshDeviceListOnFootprintBySelected(i){for(let o=0;o<this.tableSelectedRowNumbers.length;o++){let r=this.tableData[o];if(r){r.footprintTitle=i.display_title,r.footprintItem=i,r.padNumberList=this.padNumberList;let n=r.partPinMatchMap,a=Object.keys(r.pinHashtable||{}),s=r.padNumberList,l=!1;for(let c=0;c<a.length;c++){let d=r.pinHashtable[a[c]];if(d.length&&!s.length){l=!0,n[a[c]]&&(n[a[c]].isError=!0);continue}for(let u=0;u<d.length;u++)if(s.indexOf(String(d[u].pinNumber))<=-1){l=!0,n[a[c]]&&(n[a[c]].isError=!0);break}n[a[c]]&&(n[a[c]].isError=!1)}if(l){r.isError=!0,r.bgColor=v3.bgColor,r.errorType=mc.NOT_MATCH.type,r.information=mc.NOT_MATCH.msg(r.designator);continue}r.isError=!1,r.bgColor=Pc().bgColor,r.errorType=mc.NORMAL.type,r.information=mc.NORMAL.msg()}}this.renderTableData=ue.deepClone(this.tableData)}refreshDeviceListBySelectedIds(){this.tableData.forEach(i=>{if(this.selectedIds.indexOf(i.$id)>=0){i.checked=!0;return}i.checked=!1}),this.refreshDeviceListBySearch(this.searchValue)}};var OJe=class extends C7{constructor(){super()}};var RJe=class extends _X{constructor(){super(),this._tableCols=this.createTableColsProfile(),this._tableData=[],this._sizeList=[],this._isPadSize=!1}set tableCols(e){this._tableCols=e,this.notify()}get tableCols(){return this._tableCols}set tableData(e){this._tableData=e,this.notify()}get tableData(){return this._tableData}set sizeList(e){this._sizeList=e}get sizeList(){return this._sizeList}set isPadSize(e){this._isPadSize=e}get isPadSize(){return this._isPadSize}createTableColsProfile(){return[{key:"pinNumber",name:"No.",sortable:!0,width:.5},{key:"pinName",name:"Name",sortable:!0,width:.5}]}refreshPinListByPadNumbers(e,i){let o=this.sizeList.map(a=>a.number),r=e?e.sort((a,s)=>{let l=Number(a.pinNumber),c=Number(s.pinNumber);return l>c?1:l<c?-1:0}).map((a,s)=>({...a,isError:!1,$id:s.toString()})):this.tableData,n=!1;for(let a=0;a<r.length;a++)String(r[a].pinNumber).split(",").some(l=>!o.includes(l))?(r[a].isError=!0,r[a].bgColor=v3.bgColor,n=!0):(r[a].isError=!1,r[a].bgColor=Pc().bgColor);return this.tableData=ue.deepClone(r),i&&this.updateSortKeyValueList("$id"),this.resetSortTag=this.resetSortTag+1,n}updateSortKeyValueList(e){super.updateSortKeyValueList(e,this.tableData)}sortTable(e,i,o){this.tableData=super.sortTableData(e,i,o,this.tableData)}};var WD=new um,QD="footprintManager";var k6e={text:"Confirm",cmd:"confirm"},b7t={text:"Update",cmd:"update"},P6e={DEVICE_DIALOG:k6e,SCH_CANVAS:b7t,BOTTOM_TABLE_LINK_FOOTPRINT:k6e,SYMBOL_EDIT:k6e};function y7t(t=[],e,i){if(!t||!t.length||!e)return{index:-1,data:null};let o={index:-1,data:null};for(let r=0;r<t.length;r++)if(typeof t[r]=="object"){if(e=="pinNumber"&&t[r][e].split(",").includes(i)){o.data=t[r],o.index=r;break}else if(t[r][e]===i){o.data=t[r],o.index=r;break}}return o}async function AJi(){let t=new w7t;return await t.initial(),t}var w7t=class extends Hb{constructor(){super(),this._dialogProps=null,this._cache={},this.libListModel=new DJe,this.componentSearchModel=new EJe,this.categoryModel=new LJe,this.componentTable=new NJe,this.footprintViewsModel=new vJe,this.sizeListModel=new AJe,this.deviceSearchModel=new kJe,this.deviceListModel=new PJe,this.symbolViewsModel=new OJe,this.pinListModel=new RJe,this._isOnSearching=!1,this._loadingFootprintViewTimer=null}set dialogProps(e){this._dialogProps=e}get dialogProps(){return this._dialogProps}get isOnSearching(){return this._isOnSearching}set isOnSearching(e){this._isOnSearching=e}async initial(){this.dialogReady=!0}async initialStore(e){await this.libListModel.setInitialLibList(Hs.Normal),await this.libListModel.freshInitLibList([bo.getInstance().usedId],this.libListModel.isFromProject),this.componentTable.projectsIds=JSON.parse(JSON.stringify(this.libListModel.projectsIds)),this.componentTable.libList=ue.deepClone(this.libListModel.cacheLibList),this.componentTable.facets=JSON.parse(JSON.stringify(this.libListModel.facets)),this.componentTable.selectedLibIds=JSON.parse(JSON.stringify(this.libListModel.getSelectedTruthLibIds())),this.componentTable.initPageSize(),this.windowInstance=e.windowInstance,this.whenLibSelectedChanged()}async refreshLibList(){await this.libListModel.refreshLibListFromRemote(),this.componentTable.selectedLibIds=JSON.parse(JSON.stringify(this.libListModel.getSelectedTruthLibIds()))}async propsUpdate(e){var o,r;this.dialogProps=e;let i=[];this.dialogProps.wantSelectedLibItemId&&(this.libListModel.selectedIds=[this.dialogProps.wantSelectedLibItemId],this.componentTable.selectedLibIds=this.libListModel.getSelectedTruthLibIds()),typeof this.dialogProps.isFromProject<"u"&&(this.libListModel.isFromProject=!!this.dialogProps.isFromProject,this.componentTable.isFromProject=!!this.dialogProps.isFromProject),this.dialogProps.searchInputValue&&(this.componentSearchModel.searchValue=this.dialogProps.searchInputValue),typeof this.dialogProps.deviceList<"u"&&(i=this.dialogProps.deviceList),this.deviceListModel.tableCols=this.deviceListModel.updateTableColsProfile();try{let n;((o=this.dialogProps)==null?void 0:o.callScenType)==="DEVICE_DIALOG"||((r=this.dialogProps)==null?void 0:r.callScenType)==="BOTTOM_TABLE_LINK_FOOTPRINT"?n=await iP("footprintManagerDlg",this.dialogProps.deviceList[0].deviceId,this.dialogProps.deviceList[0].path):n=await iP("footprintManagerDlg"),am.setCustomTableHeadData("footprintManagerDlg",{...n})}catch(n){console.warn(`FootprintDlg Get Custom Device Header Data Error:${n}`)}}triggerFromUpdate(e={}){window.setTimeout(async()=>{this._cache={};let i=typeof this.dialogProps.deviceList<"u"?this.dialogProps.deviceList:[];if(this._cache.deviceList=i,this._cache.options={...e},e.updateTableSelectedRowNumbers&&typeof this.dialogProps.deviceListSelectedIds<"u"){let a=[];this._cache.deviceListSelectedIds=this.dialogProps.deviceListSelectedIds,this._cache.deviceListSelectedIds.forEach(s=>{let l=Ft(i,"$id",s);l.index>=0&&a.push(l.index)}),this._cache.tableSelectedRowNumbers=a}e.triggerUpdateDeviceListByUpdateBtn&&(this.deviceListModel.tableData=i,this.deviceListModel.refreshDeviceListBySearch(this.deviceListModel.searchValue)),this.deviceListModel.updateSortKeyValueList("$id");let{tableSelectedRowNumbers:o,deviceList:r,deviceListSelectedIds:n}=this._cache;typeof n<"u"&&(this.deviceListModel.selectedIds=n),this.deviceListModel.tableData=r,o&&(this.deviceListModel.tableSelectedRowNumbers=o),this.deviceListModel.refreshDeviceListBySelectedIds(),this.deviceListModel.updateSortKeyValueList("$id"),await this.whenDeviceListRowSelectedChanged(),this._cache={}})}async whenFootprintCanvasIframeLoaded(){this.deviceListModel.isTableListCouldBeLoaded=!0}async whenCategorySelectedChanged(){if(this.isOnSearching){let i=[...this.categoryModel.renderSelectedIds];this.componentSearchModel.searchValue="",this.componentSearchModel.isInSearchingStatus&&(this.componentSearchModel.isInSearchingStatus=!1,this.libListModel.isSearchStatus=!1,await this.whenExitComponentSearchStatus(!1)),this.categoryModel.renderSelectedIds=[...i]}let e=this.libListModel.getSelectedTruthLibIds();this.componentTable.clearAllRemoteData(),this.componentTable.refreshComponentList(e[0],e[0],this.componentSearchModel.isInSearchingStatus?this.componentSearchModel.searchValue:"",this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenImmersedComponentSearchStatus(){if(this.componentSearchModel.searchValue.trim().length>128){this.searchValueLengthVerify();return}this.isOnSearching=!0,this.categoryModel.recoverSelectToDefault(),this.componentTable.clearAllRemoteData(),this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.initalLibList,!(Tn||Ko),!(Tn||Ko),!0,this.componentTable.dataType),!1,{}),F0(this,{kv:{facets:{}},targets:["componentTable"]});let e=this.libListModel.getSelectedTruthLibIds();this.componentTable.refreshComponentList(e[0],e[0],this.componentSearchModel.searchValue,this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]),i=>{i==="search"&&(F0(this,{kv:{facets:this.componentTable.facets},targets:["libListModel"]}),this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.initalLibList,!(Tn||Ko),!(Tn||Ko),!0,this.componentTable.dataType),this.componentSearchModel.isInSearchingStatus))})}whenExitComponentSearchStatus(e=!0){this.isOnSearching=!1,this.categoryModel.recoverSelectToDefault(),this.componentTable.clearAllRemoteData(),this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.initalLibList,!(Tn||Ko),!(Tn||Ko),!0,this.componentTable.dataType),!1,{}),F0(this,{kv:{facets:{}},targets:["componentTable"]});let i=this.libListModel.getSelectedTruthLibIds();e&&this.componentTable.refreshComponentList(i[0],i[0],"",this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenLibSelectedChanged(){let e=this.libListModel.getSelectedTruthLibIds();this.categoryModel.clearCategoryList(),this.componentTable.clearAllRemoteData(),this.categoryModel.refreshCategoryList(e[0],e[0],this.libListModel),F0(this,{kv:{facets:{},selectedLibIds:e},targets:["componentTable"]}),this.componentTable.refreshComponentList(e[0],e[0],this.componentSearchModel.isInSearchingStatus?this.componentSearchModel.searchValue:"",[],i=>{this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,!(Tn||Ko),!(Tn||Ko),!0,this.componentTable.dataType),this.componentSearchModel.isInSearchingStatus,this.componentTable.facets)})}whenComponentListChange(e,i,o,r){if(e==="padTable"){this.sizeListModel.sortTable(i,"$id",r);return}if(e==="pinTable"){this.pinListModel.sortTable(i,"$id",r);return}if(e==="componentTable"){this.componentTable.sortTable(i,"$id",r);return}if(e==="deviceTable"){this.deviceListModel.sortTable(i,"$id",r),this.deviceListModel.refreshDeviceListBySearch(this.deviceSearchModel.searchValue.trim());return}}whenComponentListPageChanged(){let e=this.libListModel.getSelectedTruthLibIds();this.componentTable.clearAllRemoteData(),this.componentTable.refreshComponentList(e[0],e[0],this.componentSearchModel.isInSearchingStatus?this.componentSearchModel.searchValue:"",this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenComponentListRowSelectedChanged(){window.clearTimeout(this._loadingFootprintViewTimer),C.messageBus.publish("ui/footprint/ftpdialog/conbtndisabledstatus",!0),this.footprintViewsModel.checkModeKey="padDimension",this.footprintViewsModel.isShowLoading=!0;let e=this.libListModel.getSelectedTruthLibIds()[0],i=this.componentTable.componentItemId;if([_e.PUBLICLIB_ALIAS,_e.RECENT_LIB_UUID,_e.FAVORITELIB_UUID].includes(e)){let o=this.componentTable.tableData.find(r=>r.$id===i);o&&(e=yr(o))}this.componentTable.refreshComponentItem(i,e,o=>{o&&(this.footprintViewsModel.footprintItem=o,this.footprintViewsModel.needLockMask=!1),this._loadingFootprintViewTimer=window.setTimeout(()=>{this.footprintViewsModel.isShowLoading=!1},500)})}whenFootprintDimensionListReady(e,i){this.sizeListModel.refreshByFootprintDimensionList(e,i),this.pinListModel.sizeList=[],this.pinListModel.isPadSize=!1}whenPadDimensionListReady(e,i){let o=this.sizeListModel.refreshByPadDimensionList(e,i);this.pinListModel.sizeList=o,this.pinListModel.isPadSize=!0,this.deviceListModel.padNumberList=o.map(r=>r.number),this.pinListModel.refreshPinListByPadNumbers(void 0,!1)}whenPinListReady(e){this.pinListModel.refreshPinListByPadNumbers(ue.deepClone(e),!0)}whenImmersedDeviceSearchStatus(){this.deviceListModel.washDeviceListBeforeStartSearchProcess(),this.deviceListModel.refreshDeviceListBySearch(this.deviceSearchModel.searchValue.trim())}whenExitDeviceSearchStatus(){this.deviceListModel.washDeviceListBeforeExitSearchProcess(),this.deviceListModel.renderTableData=ue.deepClone(this.deviceListModel.tableData)}async whenDeviceListRowSelectedChanged(){window.clearTimeout(this._loadingFootprintViewTimer);let e=this.deviceListModel.renderTableData[this.deviceListModel.tableSelectedRowNumbers[0]];if(this.symbolViewsModel.hightlightIds=[],this.symbolViewsModel.symbolItem=null,this.footprintViewsModel.hightlightIds=[],this.pinListModel.selectedIds=[],this.sizeListModel.selectedIds=[],this.pinListModel.tableSelectedRowNumbers=[],this.sizeListModel.tableSelectedRowNumbers=[],e){this.componentSearchModel.searchValue=e.footprintItemTitle,this.symbolViewsModel.isShowLoading=!0,this.footprintViewsModel.isShowLoading=!0;let i=typeof e.partIndex<"u"?+e.partIndex:0;this.symbolViewsModel.partIndex=isNaN(i)||i<=0?0:i,e.symbolItem&&(this.symbolViewsModel.symbolItem=e.symbolItem),e.callScenType==="SCH_CANVAS"&&(this.symbolViewsModel.useSCHCanvasSymbolDataPriority=!0,this.symbolViewsModel.sourceSCHCanvasSymbolParts=e.sourceSCHCanvasSymbolParts),e.fetchSymbolItemOnSelected&&(this.symbolViewsModel.symbolItem||(this.symbolViewsModel.symbolItem=await Ze.getSymbol({isProject:e.path===C.currentProject.projectId,path:e.path,uuid:e.symbolItemIdInit}))),this.symbolViewsModel.isShowLoading=!1,e.footprintItem&&Object.keys(e.footprintItem).length?(this.footprintViewsModel.footprintItem=e.footprintItem,this.footprintViewsModel.needLockMask=!1):(this.footprintViewsModel.footprintItem=null,this.footprintViewsModel.needLockMask=!0),this._loadingFootprintViewTimer=window.setTimeout(()=>{this.footprintViewsModel.isShowLoading=!1},550)}}whenSizeListRowSelectedChanged(e){if(e===null||typeof e>"u"){this.footprintViewsModel.hightlightIds=[],this.symbolViewsModel.hightlightIds=[],this.sizeListModel.selectedIds=[],this.sizeListModel.tableSelectedRowNumbers=[],this.pinListModel.selectedIds=[],this.pinListModel.tableSelectedRowNumbers=[];return}let i=e?Ft(this.sizeListModel.tableData,"$id",e).data:this.sizeListModel.tableData[this.sizeListModel.tableSelectedRowNumbers[0]];if(i){let o=y7t(this.pinListModel.tableData,"pinNumber",i.number);o.index>=0?(this.pinListModel.tableSelectedRowNumbers=[o.index],this.symbolViewsModel.hightlightIds=[...o.data.hightlightIds]):this.pinListModel.tableSelectedRowNumbers=[],i.gIdArr&&(this.footprintViewsModel.hightlightIds=[...i.gIdArr])}}whenMouseHoverFootprintViewCanvas(e){if(e===null||typeof e>"u"){this.symbolViewsModel.hightlightIds=[],this.sizeListModel.selectedIds=[],this.sizeListModel.tableSelectedRowNumbers=[],this.pinListModel.selectedIds=[],this.pinListModel.tableSelectedRowNumbers=[];return}let i=e?Ft(this.sizeListModel.tableData,"number",e).data:this.sizeListModel.tableData[this.sizeListModel.tableSelectedRowNumbers[0]];if(i){let o=y7t(this.pinListModel.tableData,"pinNumber",i.number);o.index>=0?(this.pinListModel.tableSelectedRowNumbers=[o.index],this.symbolViewsModel.hightlightIds=[...o.data.hightlightIds]):this.pinListModel.tableSelectedRowNumbers=[]}}whenPinListRowSelectedChanged(e){if(e===null||typeof e>"u"){this.footprintViewsModel.hightlightIds=[],this.symbolViewsModel.hightlightIds=[],this.sizeListModel.selectedIds=[],this.sizeListModel.tableSelectedRowNumbers=[],this.pinListModel.selectedIds=[],this.pinListModel.tableSelectedRowNumbers=[];return}let i=e?Ft(this.pinListModel.tableData,"$id",e).data:this.pinListModel.tableData[this.pinListModel.tableSelectedRowNumbers[0]];if(i){let o=i.pinNumber.split(","),r=[],n=[];for(let a=0,s=o.length;a<s;a++){let l=o[a],c=Ft(this.sizeListModel.tableData,"number",l);c.index>=0?(r.push(c.index),c.data.gIdArr&&n.push(...c.data.gIdArr)):this.sizeListModel.tableSelectedRowNumbers=[]}this.sizeListModel.tableSelectedRowNumbers=r,this.footprintViewsModel.hightlightIds=n,this.symbolViewsModel.hightlightIds=i.hightlightIds}}},mf=(0,EJi.createContext)(void 0);var _Je=L(Se());var NJi=L(YD()),x7t=L(z()),{locals:qNr}=NJi.default;function XNr(t){let e=J(),i=`display-flex flex-nowrap ${qNr["component-search-section"]}`,o=(0,_Je.useContext)(mf);Ce(o.componentSearchModel);let r=(s,l)=>{o.componentSearchModel.searchValue=s},n=(s,l)=>{o.componentSearchModel.searchValue="",o.componentSearchModel.isInSearchingStatus&&(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,o.whenExitComponentSearchStatus())},a=(s,l)=>{o.componentSearchModel.searchValue?(o.componentSearchModel.isInSearchingStatus=!0,o.libListModel.isSearchStatus=!0,o.whenImmersedComponentSearchStatus()):(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,o.whenExitComponentSearchStatus())};return(0,x7t.jsx)("section",{className:i,children:(0,x7t.jsx)(Bm,{initShowValue:o.componentSearchModel.searchValue,placeholder:o.componentSearchModel.searchPlaceHolder,onUpdateInputValue:r,onClearInputValue:n,onConfirm:a})})}var kJi=_Je.default.memo(XNr);var jJe=L(Se());var PJi=L(YD());var T7t=L(z()),{locals:$Nr}=PJi.default;function e7r(t){let e=J(),i=`${$Nr["liblist-section"]}`,o=(0,jJe.useContext)(mf);Ce(o.libListModel);let r=()=>{o.libListModel.searchValue=""},n=(s,l)=>{o.libListModel.selectedIds=s,o.whenLibSelectedChanged()},a=()=>{o.refreshLibList().then(()=>{o.componentSearchModel.searchValue?(o.componentSearchModel.isInSearchingStatus=!0,o.libListModel.isSearchStatus=!0,o.whenImmersedComponentSearchStatus()):(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,o.whenExitComponentSearchStatus())})};return(0,T7t.jsx)("section",{className:i,children:(0,T7t.jsx)(j3,{selectedIds:o.libListModel.selectedIds,emptyLabel:o.libListModel.emptyLabel,libList:o.libListModel.cacheLibList,searchPlaceholder:o.libListModel.searchPlaceHolder,searchValue:o.libListModel.searchValue,selectedLibsAction:n,clearSearchInputAction:r,libRefreshAction:a})})}var OJi=jJe.default.memo(e7r);var BJe=L(Se());var RJi=L(YD());var S7t=L(z()),{locals:t7r}=RJi.default;function i7r(t){let e=J(),i=`${t7r["category-section"]}`,o=(0,BJe.useContext)(mf);Ce(o.categoryModel),Ce(o.footprintViewsModel);let r=()=>{o.categoryModel.searchValue=""},n=a=>{o.categoryModel.renderSelectedIds=a,o.whenCategorySelectedChanged()};return(0,S7t.jsx)("section",{className:i,children:(0,S7t.jsx)(Gb,{isLock:!1,isVirtualList:!0,selectedIds:o.categoryModel.renderSelectedIds,categoryList:o.categoryModel.renderCategoryList,searchPlaceholder:o.categoryModel.searchPlaceHolder,searchValue:o.categoryModel.searchValue,selectedCategoriesAction:n,clearSearchInputAction:r,libItemInfo:o.libListModel.currentSelectLibItem,initCategoryActiveTab:o.categoryModel.requestTypes[0],ownerSelectValue:o.libListModel.getSelectedTruthLibIds()[0]})})}var _Ji=BJe.default.memo(i7r);var qC=L(Se());var jJi=L(YD());var iz=L(z()),{locals:o7r}=jJi.default;function r7r(t){let e=J(),i=(0,qC.useRef)(null),o=`display-flex flex-direct-column flex-main-axis-stretch ${o7r["table-section"]}`,r=(0,qC.useContext)(mf);Ce(r.componentTable);let n=(0,qC.useRef)(null),a=(0,qC.useRef)(null),[s,l]=(0,qC.useState)(100),[c,d]=(0,qC.useState)(r.componentTable.tableCols.map(g=>({...g,name:e(g.name)}))),u=(0,qC.useCallback)(()=>{Yn(()=>{if(!n.current)return;let g=n.current.getBoundingClientRect();n.current.style.width="100%",l(g.height)},100)},[]),p=g=>{let{row:b,selectedRowNumbers:y,tableData:w=[]}=g,x=[];y.forEach(S=>{let T=w[S];T&&x.push(T.uuid)}),window.clearTimeout(i.current),i.current=window.setTimeout(async()=>{r.hasClickedComponentItem=!0,r.componentTable.tableSelectedRowNumbers=y,r.componentTable.componentItemId=x[0],r.whenComponentListRowSelectedChanged()},16.67)},m=(g,b)=>{r.componentTable.pageNumber!==b&&(r.componentTable.pageNumber=+b,r.whenComponentListPageChanged())},h=g=>{r.componentTable.pageSize=+g,Vg("table",g),r.whenComponentListPageChanged()},f=(g,b,y)=>{r.whenComponentListChange("componentTable",g,b,y)};return(0,qC.useEffect)(()=>(u(),window.addEventListener("resize",u),()=>{window.removeEventListener("resize",u)}),[]),(0,qC.useEffect)(()=>{d(r.componentTable.tableCols.map(g=>({...g,name:e(g.name)})))},[r.componentTable.tableCols]),(0,qC.useEffect)(()=>{if(a.current){let{handleTableScrollByScrollTop:g,tableBodyDiv:b}=a.current;b&&g&&g(b.scrollTop)}},[r.componentTable.tableData]),(0,iz.jsx)("section",{className:o,children:(0,iz.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-stretch",style:{width:"100%",height:"100%",position:"relative",overflowY:"hidden",overflowX:"auto"},children:[(0,iz.jsx)("div",{ref:n,style:{height:"100%",width:"100%",overflowY:"hidden",overflowX:"auto"},children:(0,iz.jsx)(xi,{ref:a,index:"$id",border:!0,isShiftSelect:!1,isCtrlSelect:!1,height:s,columns:c,openHeadContentMenu:!0,enableWindowResizeHandler:!1,moveAble:!0,rows:r.componentTable.tableData,onClick:p,onChange:f,openVirtualScroll:!0,selectedRowNumbers:r.componentTable.tableSelectedRowNumbers,searchValue:r.isOnSearching&&r.componentSearchModel.searchValue?r.componentSearchModel.searchValue:"",showStatus:r.componentTable.componentListLoadStatus!=="",statusNode:(0,iz.jsx)("div",{style:{lineHeight:"50px",textAlign:"center"},children:(0,iz.jsx)("span",{children:e(r.componentTable.componentListLoadStatus)})})})}),(0,iz.jsx)("div",{style:{width:"100%",height:"30px",overflow:"hidden",display:"flex",justifyContent:"flex-end",alignContent:"center",alignItems:"center",textAlign:"right",padding:"5px 5px 0 5px"},children:(0,iz.jsx)(cp,{simplify:!0,inputJump:!1,pageNumber:r.componentTable.pageNumber,countTotal:r.componentTable.totalCount,cutSize:r.componentTable.pageSize,cutSizeOptions:r.componentTable.cutSizeOptions,onPageNumberChange:m,onPageSizeChange:h,gDisabled:r.componentTable.paginationDisabled})})]})})}var BJi=qC.default.memo(r7r);var FJe=L(Se());var FJi=L(YD());function zJi(t,e,i,o){he.isHasTabById(t.uuid)?he.simulateClick(t.uuid):(i&&(t.isBottomBarEdit=i),t.isProjectLib=e,t.libPath=o,qb(t,t.project_uuid?t.project_uuid:void 0,()=>{})),e&&window.setTimeout(()=>{HV(t.uuid,{"edtfootprint-new-device-uuid":t.uuid,"edtfootprint-old-device-uuid":t.uuid,"edtfootprint-type":2})})}var zJe=L(z()),{locals:n7r}=FJi.default;function a7r(t){let e=be.bind(n7r),i=J(),o=(0,FJe.useContext)(mf);Ce(o.footprintViewsModel);let r=h=>{o.footprintViewsModel.unit=h,o.footprintViewsModel.checkModeKey===Pj?o.whenPadDimensionListReady(o.footprintViewsModel.unit,o.sizeListModel.sourceList):o.footprintViewsModel.checkModeKey===yJ&&o.whenFootprintDimensionListReady(o.footprintViewsModel.unit,o.sizeListModel.sourceList)},n=h=>{o.footprintViewsModel.checkModeKey=h},a=h=>{o.footprintViewsModel.viewSizeModeKey=h},s=()=>{if(!o.footprintViewsModel.footprintItem){De({type:"info",msg:"No Results!",timer:2.5});return}zJi(o.footprintViewsModel.footprintItem,!!o.footprintViewsModel.footprintItem.project_uuid,!1,o.libListModel.getSelectedTruthLibIds()[0]),C.messageBus.publish("ui/footprint/ftpdialog/close")},l=(h,f)=>{o.sizeListModel.sourceList=ue.deepClone(f),o.whenFootprintDimensionListReady(h,f)},c=(h,f)=>{o.sizeListModel.sourceList=ue.deepClone(f),o.whenPadDimensionListReady(h,f)},d=()=>{o.footprintViewsModel.isCanvasRenderering=!0},u=()=>{o.footprintViewsModel.isCanvasRenderering=!1,o.footprintViewsModel.iframeId&&C.messageBus.publish("ui/footprint/ftpdialog/conbtndisabledstatus",!1)},p=h=>{o.footprintViewsModel.iframeId=h,o.whenFootprintCanvasIframeLoaded()},m=h=>{if(typeof h>"u"||h===null){o.whenMouseHoverFootprintViewCanvas(void 0);return}let f=-1,g=o.sizeListModel.tableData;for(let b=0;b<g.length;b++)if(g[b].number===h){f=b;break}f>=0&&(o.sizeListModel.tableSelectedRowNumbers=[f],o.whenMouseHoverFootprintViewCanvas(h))};return(0,zJe.jsx)("div",{className:e("footprint-views"),children:(0,zJe.jsx)("div",{style:{width:"100%",height:"100%"},children:(0,zJe.jsx)(sI,{initSetShowLoading:o.footprintViewsModel.isShowLoading,footprintItem:o.footprintViewsModel.footprintItem,initUnitValue:o.footprintViewsModel.unit,initCheckModeKey:o.footprintViewsModel.checkModeKey,initViewSizeModeKey:o.footprintViewsModel.viewSizeModeKey,initHightLightIds:o.footprintViewsModel.hightlightIds,needLockMask:o.footprintViewsModel.needLockMask,isAutoHiddenLoadingWhenCanvasRendered:!1,isShowEditBtn:!0,isShowFullToggleBtn:!0,isShowSizeTypeCheckToggleBtn:!0,isShowUnitToggleSelector:!0,enableHoverPadHightlight:!0,windowInstance:o.windowInstance,onIframeLoaded:p,onUnitUpdate:r,onCheckModeKeyUpdate:n,onViewSizeModeKeyUpdate:a,onEditBtnClicked:s,onFootprintDimensionListReady:l,onPadDimensionListReady:c,onCanvasRenderStart:d,onCanvasRenderEnd:u,onMouseHoverCanvas:m})})})}var UJi=FJe.default.memo(a7r);var tge=L(Se());var VJi=L(YD());var GJi=L(z()),{locals:Mql}=VJi.default;function s7r(t){let e=J(),i=(0,tge.useContext)(mf);Ce(i.symbolViewsModel);let o=(0,tge.useRef)(null),r=s=>{i.symbolViewsModel.partIndex=+s},n=s=>{i.whenPinListReady(s)},a=(s,l)=>{Da.open({data:[{title:"Recover",cmd:"RECOVER"}],position:{x:s,y:l},onClick(c,d,u,p){c.cmd==="RECOVER"&&o.current.recoverImageViews()},onEnterConfirm(c,d,u){c[0]==="RECOVER"&&o.current.recoverImageViews()}})};return(0,GJi.jsx)(B3,{$ref:o,enableThumbImageDraggable:!0,enableThumbImageScalable:!0,initSetShowLoading:i.symbolViewsModel.isShowLoading,symbolItem:i.symbolViewsModel.symbolItem,onPartSelectChange:r,onPinListCreated:n,initHightLightIds:i.symbolViewsModel.hightlightIds,partIndex:i.symbolViewsModel.partIndex,useSCHCanvasSymbolDataPriority:i.symbolViewsModel.useSCHCanvasSymbolDataPriority,sourceSCHCanvasSymbolParts:i.symbolViewsModel.sourceSCHCanvasSymbolParts,activeTabId:gi(),onImageSectionContextmenu:a})}var HJi=tge.default.memo(s7r);var d5=L(Se());var YJi=L(YD());var M7t=L(z()),{locals:Oql}=YJi.default;function l7r(t){let e=J(),i=(0,d5.useContext)(mf);Ce(i.sizeListModel);let o=(0,d5.useRef)(null),r=(0,d5.useRef)(null),[n,a]=(0,d5.useState)(100),[s,l]=(0,d5.useState)(i.sizeListModel.tableCols.map(h=>({...h,name:e(h.name)}))),c=(0,d5.useRef)(null),d=(h,f)=>{window.clearTimeout(c.current),i.sizeListModel.tableSelectedRowNumbers=[f],i.whenSizeListRowSelectedChanged(h.$id)},u=(h,f)=>{let g=i.sizeListModel.tableSelectedRowNumbers.indexOf(f);c.current=window.setTimeout(()=>{i.whenSizeListRowSelectedChanged(null)},100),!(g<=-1)&&(i.sizeListModel.tableSelectedRowNumbers.splice(g,1),i.sizeListModel.tableSelectedRowNumbers=[...i.sizeListModel.tableSelectedRowNumbers])},p=(h,f,g)=>{i.whenComponentListChange("padTable",h,f,g)},m=(0,d5.useCallback)(()=>{Yn(()=>{if(!o.current)return;let h=o.current.getBoundingClientRect();o.current.style.width="100%",a(h.height)},100)},[]);return(0,d5.useEffect)(()=>{r.current.cancelSortStatus(),i.sizeListModel.sortTable(i.sizeListModel.tableData,"$id","NORMAL")},[i.sizeListModel.resetSortTag]),(0,d5.useEffect)(()=>(o.current&&window.setTimeout(()=>{let h=o.current.getBoundingClientRect();a(h.height)},200),()=>{}),[]),(0,M7t.jsx)("section",{ref:o,style:{width:"100%",height:"100%"},children:(0,M7t.jsx)(xi,{ref:r,index:"$id",border:!0,height:n,columns:s,enableSelectRowByHover:!0,followHeightLight:!0,enableWindowResizeHandler:!1,onRowMouseEnter:d,onRowMouseLeave:u,onChange:p,useRowComponentStateOnRowSelected:!1,rows:i.sizeListModel.tableData,selectedRowNumbers:i.sizeListModel.tableSelectedRowNumbers})})}var WJi=d5.default.memo(l7r);var u5=L(Se());var QJi=L(YD());var I7t=L(z()),{locals:Gql}=QJi.default;function c7r(t){let e=J(),i=(0,u5.useContext)(mf);Ce(i.pinListModel);let o=(0,u5.useRef)(null),r=(0,u5.useRef)(null),[n,a]=(0,u5.useState)(100),[s,l]=(0,u5.useState)(i.pinListModel.tableCols.map(h=>({...h,name:e(h.name)}))),c=(0,u5.useRef)(null),d=(h,f)=>{window.clearTimeout(c.current),i.pinListModel.tableSelectedRowNumbers=[f],i.whenPinListRowSelectedChanged(h.$id)},u=(h,f)=>{let g=i.pinListModel.tableSelectedRowNumbers.indexOf(f);c.current=window.setTimeout(()=>{i.whenSizeListRowSelectedChanged(null)},100),!(g<=-1)&&(i.pinListModel.tableSelectedRowNumbers.splice(g,1),i.pinListModel.tableSelectedRowNumbers=[...i.pinListModel.tableSelectedRowNumbers])},p=(h,f,g)=>{i.whenComponentListChange("pinTable",h,f,g)},m=(0,u5.useCallback)(()=>{Yn(()=>{if(!o.current)return;let h=o.current.getBoundingClientRect();o.current.style.width="100%",a(h.height)},100)},[]);return(0,u5.useEffect)(()=>{r.current.cancelSortStatus(),i.pinListModel.sortTable(i.pinListModel.tableData,"$id","NORMAL")},[i.pinListModel.resetSortTag]),(0,u5.useEffect)(()=>(o.current&&window.setTimeout(()=>{let h=o.current.getBoundingClientRect();a(h.height)},200),()=>{}),[]),(0,I7t.jsx)("section",{ref:o,style:{width:"100%",height:"100%"},children:(0,I7t.jsx)(xi,{ref:r,index:"$id",border:!0,height:n,columns:s,enableSelectRowByHover:!0,followHeightLight:!0,enableWindowResizeHandler:!1,onRowMouseEnter:d,onRowMouseLeave:u,onChange:p,useRowComponentStateOnRowSelected:!1,rows:i.pinListModel.tableData,selectedRowNumbers:i.pinListModel.tableSelectedRowNumbers})})}var KJi=u5.default.memo(c7r);var UJe=L(Se());var ZJi=L(YD()),L7t=L(z()),{locals:d7r}=ZJi.default;function u7r(t){let e=J(),i=`display-flex flex-nowrap ${d7r["device-search-section"]}`,o=(0,UJe.useContext)(mf);Ce(o.deviceSearchModel);let r=(s,l)=>{o.deviceSearchModel.searchValue=s,o.deviceListModel.searchValue=s},n=(s,l)=>{o.deviceSearchModel.searchValue="",o.deviceListModel.searchValue="",o.deviceSearchModel.isInSearchingStatus&&(o.deviceSearchModel.isInSearchingStatus=!1,o.whenExitDeviceSearchStatus())},a=(s,l)=>{o.deviceSearchModel.searchValue?o.deviceSearchModel.isInSearchingStatus=!0:o.deviceSearchModel.isInSearchingStatus=!1,o.whenImmersedDeviceSearchStatus()};return(0,L7t.jsx)("section",{className:i,children:(0,L7t.jsx)(Bm,{initShowValue:o.deviceSearchModel.searchValue,placeholder:o.deviceSearchModel.searchPlaceHolder,isImmediatelyDoConfirmAtEndinput:!0,onUpdateInputValue:r,onClearInputValue:n,onConfirm:a})})}var JJi=UJe.default.memo(u7r);var p5=L(Se());var qJi=L(YD());var ige=L(z()),{locals:p7r}=qJi.default;function m7r(t){let e=J(),i=(0,p5.useRef)(null),o=`display-flex flex-direct-column flex-main-axis-stretch ${p7r["table-section"]}`,r=(0,p5.useContext)(mf);Ce(r.deviceListModel);let n=(0,p5.useRef)(null),[a,s]=(0,p5.useState)(100),l=(0,p5.useCallback)(()=>{Yn(()=>{if(!n.current)return;let p=n.current.getBoundingClientRect();n.current.style.width="100%",s(p.height)},100)},[]),c=p=>{let{row:m,selectedRowNumbers:h,tableData:f=[]}=p,g=[];h.forEach(b=>{let y=f[b];y&&g.push(y.$id)}),window.clearTimeout(i.current),i.current=window.setTimeout(async()=>{r.deviceListModel.tableSelectedRowNumbers=h,r.deviceListModel.selectedIds=g,r.deviceListModel.refreshDeviceListBySelectedIds(),await r.whenDeviceListRowSelectedChanged()},16.67)},d=(p,m,h)=>{if(h.isTriggerByRowsUpdate||h.isTriggerByCheckListUpdate)return;let f=p.map(g=>r.deviceListModel.tableData.findIndex(b=>g.$id===b.$id));r.deviceListModel.tableSelectedRowNumbers=f,r.deviceListModel.selectedIds=p.map(g=>g.$id),r.deviceListModel.refreshDeviceListBySelectedIds()},u=(p,m,h)=>{r.whenComponentListChange("deviceTable",p,m,h)};return Bt(p=>{r.deviceListModel.tableCols=r.deviceListModel.updateTableColsProfile(p)}).key("footprintManagerDlg_custom_head"),(0,p5.useEffect)(()=>(l(),window.addEventListener("resize",l),()=>{window.removeEventListener("resize",l)}),[]),(0,p5.useEffect)(()=>()=>{r.deviceListModel.tableCols=r.deviceListModel.tableCols.map(p=>(p.onCell=(m,h,f)=>{if(m.errorType===mc.NO_FOOTPRINT_DATA.type)return{style:{color:"red",className:"important-style"}}},{...p,name:e(p.name)}))},[]),(0,p5.useEffect)(()=>{r.deviceListModel.renderTableData.length>0&&r.deviceListModel.renderTableData.forEach(p=>{p.errorType===mc.NO_FOOTPRINT_DATA.type&&(p.footprintItemTitle=e("Abnormal data!"))})},[r.deviceListModel.renderTableData]),(0,p5.useEffect)(()=>{r.deviceListModel.tableCols.forEach(p=>{p.onCell=(m,h,f)=>{if(m.errorType===mc.NO_FOOTPRINT_DATA.type&&p.key==="footprintItemTitle")return{style:{color:"red",className:"important-style"}}}})},[r.deviceListModel.tableCols]),(0,ige.jsxs)("section",{className:o,children:[r.deviceListModel.isTableListCouldBeLoaded?null:(0,ige.jsx)("div",{style:{position:"absolute",left:0,bottom:0,top:0,right:0,zIndex:9999,cursor:"default"}}),(0,ige.jsx)("div",{ref:n,style:{height:"100%",width:"100%",overflowY:"hidden",border:"1px solid var(--border-color-panel-divider)",overflowX:"auto"},children:(0,ige.jsx)(xi,{name:"footprintManagerDlg",index:"$id",border:!0,checkbox:!0,height:a,columns:r.deviceListModel.tableCols,moveAble:!0,multiSelect:!0,showCustomHeadSettingOnHeadContextmenu:!0,enableWindowResizeHandler:!1,openHeadContentMenu:!0,rows:r.deviceListModel.renderTableData,onClick:c,onCheckRow:d,onChange:u,openVirtualScroll:!0,selectedRowNumbers:r.deviceListModel.tableSelectedRowNumbers,searchValue:r.deviceListModel.searchValue,checkedList:r.deviceListModel.renderTableData.filter(p=>p.checked)})})]})}var XJi=p5.default.memo(m7r);var Rp=L(z()),{locals:MXl}=eqi.default;function h7r(t){let{containerId:e,confirmBtnDisabledStatus:i,callScenType:o}=t,r=(0,$Ji.useContext)(mf);Ce(r.footprintViewsModel),WD.emit("syncDialogFootButtonsState",{containerId:e,callScenType:o,confirmBtnDisabledStatus:i},QD);let n={width:"100%",height:"100%",position:"relative"};return r.footprintViewsModel.viewSizeModeKey===g5e&&(n.position="initial"),(0,Rp.jsxs)("div",{style:{width:"100%",height:"100%",display:"flex",flexWrap:"nowrap"},children:[(0,Rp.jsxs)("div",{style:{width:"85%",height:"100%",flexShrink:"0",position:"relative"},children:[(0,Rp.jsxs)("div",{"data-test":"device panel",style:{display:"flex",flexWrap:"nowrap",width:"100%",height:"50%",paddingBottom:"5px"},children:[(0,Rp.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-between flex-lateral-axis-stretch flex-nowrap",style:{width:"70%",height:"100%",overflow:"hidden"},children:[(0,Rp.jsx)(JJi,{}),(0,Rp.jsx)("div",{className:"display-flex flex-nowrap",style:{height:"calc(100% - 30px)"},children:(0,Rp.jsx)(XJi,{})})]}),(0,Rp.jsx)("div",{style:{maxWidth:"325px",minWidth:"50px",width:"30%",flexShrink:"1",height:"100%",padding:"5px 5px",margin:"0 0 0 5px",border:"1px solid var(--border-color-panel-divider)"},children:(0,Rp.jsx)(HJi,{})})]}),(0,Rp.jsxs)("div",{"data-test":"footprint panel",style:{display:"flex",flexWrap:"nowrap",width:"100%",height:"50%",paddingBottom:"5px"},children:[(0,Rp.jsxs)("div",{style:{display:"flex",flexWrap:"nowrap",width:"70%"},children:[(0,Rp.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-between flex-lateral-axis-stretch flex-nowrap",style:{width:"40%",height:"100%",overflow:"hidden"},children:[(0,Rp.jsx)(kJi,{}),(0,Rp.jsxs)("div",{className:"display-flex flex-nowrap",style:{height:"calc(100% - 30px)"},children:[(0,Rp.jsx)(OJi,{}),(0,Rp.jsx)(_Ji,{})]})]}),(0,Rp.jsx)("div",{style:{width:"60%",height:"100%",margin:"0 0 0 5px",border:"1px solid var(--border-color-panel-divider)",overflow:"auto"},children:(0,Rp.jsx)(BJi,{})})]}),(0,Rp.jsx)("div",{style:{maxWidth:"325px",minWidth:"50px",width:"30%",flexShrink:"1",height:"100%",margin:"0 0 0 5px"},children:(0,Rp.jsx)("div",{style:n,children:(0,Rp.jsx)(UJi,{})})})]})]}),(0,Rp.jsxs)("div",{style:{width:"15%",height:"100%",paddingLeft:"5px",paddingBottom:"5px",flexShrink:"0"},"data-test":"pin panel",children:[(0,Rp.jsx)("div",{style:{width:"100%",height:"50%",paddingBottom:"5px"},children:(0,Rp.jsx)("div",{style:{width:"100%",height:"100%",border:"1px solid var(--border-color-panel-divider)"},children:(0,Rp.jsx)(KJi,{})})}),(0,Rp.jsx)("div",{style:{width:"100%",height:"50%",border:"1px solid var(--border-color-panel-divider)"},children:(0,Rp.jsx)(WJi,{})})]})]})}var tqi=h7r;var KD=L(z()),{locals:VJe}=HJe.default,iqi=null,f7r=t=>{let e=J(),{dialogWidth:i,dialogHeight:o,containerId:r,dialogId:n,callScenType:a,onDialogOpen:s,onDialogCancel:l,onDialogClose:c,onDialogConfirm:d,onDialogClosed:u}=t,[p,m]=(0,FI.useState)(null),h=(0,FI.useRef)(null);h.current=p;let[f,g]=(0,FI.useState)(!0),b=(0,FI.useRef)(null),y=(0,FI.useRef)(null),w=`pop-content-wrapper display-flex flex-nowrap ${VJe["main-container"]}`,x=`${VJe["view-loading-wrapper"]}`,S=`${VJe["view-loading"]}`,T=`rotation ${VJe["view-loading-rotation"]}`,M=(0,FI.useCallback)(A=>{if(A.keyCode===13){let D=A.target;h.current&&y.current&&document.activeElement===b.current&&D===b.current&&y.current(P6e[a].cmd)}},[]),I=async A=>{if(A===k6e.cmd){let D=h.current.componentTable.componentItem||h.current.footprintViewsModel.footprintItem;if(!D||D.$emptyItem){De({msg:me.i18n("Please select one footprint"),type:"error"});return}h.current.deviceListModel.refreshDeviceListOnFootprintBySelected(D);let E=h.current.libListModel.getSelectedTruthLibIds();if((d?await d({stamp:new Date().getTime(),componentItem:D,path:E[0],deviceList:h.current.deviceListModel.tableData,deviceListSelectedIds:h.current.deviceListModel.selectedIds,libListSelectedIds:E,libList:h.current.libListModel.cacheLibList,padNumberList:h.current.sizeListModel.padNumberList,hasClickedComponentItem:h.current.hasClickedComponentItem}):!0)===!1)return;c&&c(),window.setTimeout(()=>{le.close(r)},100);return}if(A===b7t.cmd){let D=h.current.componentTable.componentItem||h.current.footprintViewsModel.footprintItem;if(!D||D.$emptyItem){De({msg:"Please select one footprint",type:"error"});return}d&&d({stamp:new Date().getTime(),componentItem:D,path:h.current.libListModel.getSelectedTruthLibIds()[0],deviceList:h.current.deviceListModel.tableData,deviceListSelectedIds:h.current.deviceListModel.selectedIds,libListSelectedIds:h.current.libListModel.getSelectedTruthLibIds(),libList:h.current.libListModel.cacheLibList,padNumberList:h.current.sizeListModel.padNumberList,hasClickedComponentItem:h.current.hasClickedComponentItem});return}A==="cancel"&&l&&l(),await oo({action:A,dialogId:n,formData:{}}),c&&c(),le.close(r)};return y.current=I,(0,FI.useEffect)(()=>{let A=C.messageBus.subscribe("ui/footprint/ftpdialog/close",()=>{A.cancel(),le.close()}),D=C.messageBus.subscribe("ui/footprint/ftpdialog/refreshDeviceList",N=>{h.current.propsUpdate({...h.current.dialogProps,deviceList:N}),h.current.triggerFromUpdate({triggerUpdateDeviceListByUpdateBtn:!0})}),E=C.messageBus.subscribe("ui/footprint/ftpdialog/conbtndisabledstatus",N=>{g(N)});return document.addEventListener("keydown",M,!1),()=>{D.cancel(),E.cancel(),document.removeEventListener("keydown",M)}},[]),(0,FI.useLayoutEffect)(()=>{window.clearTimeout(iqi),iqi=window.setTimeout(()=>{AJi().then(async A=>{await A.propsUpdate(t),await A.initialStore(t),A.triggerFromUpdate({updateTableSelectedRowNumbers:!0}),m(A),s&&s()})},30)},[]),(0,FI.useEffect)(()=>(WD.clearEvent("dialogFootBtnClicked",QD),WD.on("dialogFootBtnClicked",({action:A})=>{I(A)},QD),()=>{u&&u()}),[]),p?(0,KD.jsxs)("div",{tabIndex:0,className:"pop-content-container",style:{height:o+"px"},ref:b,children:[(0,KD.jsx)("style",{children:String(HJe.default)}),(0,KD.jsx)(mf.Provider,{value:h.current,children:(0,KD.jsx)("div",{className:w,style:{overflowX:"auto"},children:(0,KD.jsx)(tqi,{containerId:r,confirmBtnDisabledStatus:f,callScenType:a})})})]}):(0,KD.jsxs)("div",{className:"pop-content-container",style:{height:o+"px"},children:[(0,KD.jsx)("style",{children:String(HJe.default)}),(0,KD.jsx)("div",{className:x,children:(0,KD.jsx)("div",{className:S,children:(0,KD.jsx)("div",{className:T,children:(0,KD.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})]})},oqi=f7r;var rge=L(Se());var oge=L(z());function rqi(){let t=J(),e=(0,rge.useRef)({isSimplifyBtnDisabled:!0,isShowModeSwitchBtn:!0,containerId:"",confirmBtnDisabledStatus:!0,confirmBtnTextString:"Confirm",userIdSelected:"",callScenType:"DEVICE_DIALOG"}),[i,o]=(0,rge.useState)(0),r=n=>{WD.emit("dialogFootBtnClicked",{action:n},QD)};return(0,rge.useLayoutEffect)(()=>{WD.clearEvent("syncDialogFootButtonsState",QD),WD.on("syncDialogFootButtonsState",n=>{e.current.containerId=n.containerId,e.current.confirmBtnDisabledStatus=n.confirmBtnDisabledStatus,e.current.callScenType=n.callScenType,o(a=>a+1)},QD)},[]),(0,oge.jsx)("div",{style:{width:"100%",display:"flex",alignContent:"center",alignItems:"center",justifyContent:"flex-end",position:"relative",padding:"15px 0 0 0"},"data-refresh":i,children:(0,oge.jsxs)("div",{children:[(0,oge.jsx)(Me,{disabled:e.current.confirmBtnDisabledStatus,type:"primary",style:{marginRight:"8px"},onClick:()=>r(P6e[e.current.callScenType].cmd),children:P6e[e.current.callScenType].text}),(0,oge.jsx)(Me,{onClick:()=>r("cancel"),children:"Cancel"})]})})}var v7t=L(z());async function nqi(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;return WD.clearNameSpace(QD),le.open({id:o,title:r,width:n,closed:s,esc:!0,folded:!1,footer:(0,v7t.jsx)(rqi,{}),children:(0,v7t.jsx)(oqi,{containerId:o,dialogId:t.dialogId,callScenType:t.callScenType,...t,dialogWidth:n,dialogHeight:a}),onClose:()=>{WD.clearNameSpace(QD)},onCancel:()=>{WD.clearNameSpace(QD)}}),le}async function jX(t){return await ii("footprintManager",{...t})}function CO(t=[]){for(let e=0;e<t.length;e++){let i=t[e],o=i.partPinMatchMap,r=Object.keys(i.pinHashtable||{}),n=i.padNumberList;if(i.isError===!0)continue;if(!i.footprintItem){if(i.footprintItemIdInit){i.isError=!0,i.bgColor=v3.bgColor,i.errorType=mc.NO_FOOTPRINT_DATA.type,i.information=mc.NO_FOOTPRINT_DATA.msg(i.designator);continue}i.isError=!0,i.bgColor=v3.bgColor,i.errorType=mc.NO_FOOTPRINT.type,i.information=mc.NO_FOOTPRINT.msg(i.designator);continue}let a=!1;for(let s=0;s<r.length;s++){let l=i.pinHashtable[r[s]];if(o[r[s]]={isError:!1},l.length&&!n.length){a=!0,o[r[s]].isError=!0;continue}l.reduce((d,u)=>(d=d.concat(u.pinNumber.split(",")),d),[]).some(d=>!n.includes(d))&&(a=!0,o[r[s]].isError=!0)}if(a){i.isError=!0,i.bgColor=v3.bgColor,i.errorType=mc.NOT_MATCH.type,i.information=mc.NOT_MATCH.msg(i.designator);continue}i.isError=!1,i.bgColor=Pc().bgColor,i.errorType=mc.NORMAL.type,i.information=mc.NORMAL.msg()}}async function GJe(t,e,i,o,r,n={}){let a=o||bo.getInstance().usedId,s=n||{},l=s.d3ModelItemTitle||"",c=typeof s.isFromProject<"u"?!!s.isFromProject:!1,d=null,u={};if(e)try{if(d=await Ze.getSymbol({isProject:a===C.currentProject.projectId,path:a,uuid:e}),d){let y=(await cI(d)).selectList;for(let w=0;w<y.length;w++){let x=y[w];u[x.value]=(await lI(d,w)).pinList}}}catch(b){console.error(b)}let p=null,m=[];if(i)try{p=await Ze.getFootprint({isProject:a===C.currentProject.projectId,path:a,uuid:i}),m=[]}catch(b){console.error(b)}let h=t||Mt(Math.random()),f=[h],g=[{callScenType:"DEVICE_DIALOG",$id:h,deviceId:t,path:o,checked:!0,designator:"-",information:mc.NORMAL.msg(),partPinMatchMap:{},pinHashtable:u,padNumberList:m,comment:"",partIndex:0,symbolItem:d,symbolItemTitle:d?d.display_title:"",symbolItemIdInit:d?d.uuid:"",footprintItem:p,footprintItemTitle:(p||{}).display_title||"",footprintItemIdInit:p?p.uuid:"",d3modelItem:null,d3modelItemTitle:"",d3modelItemTransform:"",d3modelItemIdInit:"",simmodelItem:null,simmodelItemTitle:"",simmodelItemIdInit:"",deviceItemTitle:"",isError:!1,errorType:mc.NORMAL.type,bgColor:Pc().bgColor,d3ModelId:"",d3ModelItemTitle:l}];return CO(g),await jX({callScenType:"DEVICE_DIALOG",path:"",searchInputValue:"",deviceList:g,deviceListSelectedIds:f,wantSelectedLibItemId:"",isFromProject:c,windowInstance:dl.value,onDialogOpen(){},onDialogCancel(){},onDialogClose(){},onDialogClosed(){},async onDialogConfirm(b){r(b)}})}async function YJe(t,e,i){return new Promise(async(o,r)=>{let n=(e.data||{}).formData||{};if(t.setButtonDisable(),!i.is3_0&&i.dataStr){let s=oH(i.dataStr);if(s instanceof Array){let l,c=!1;for(let d=s.length-1;d>=0;d--)if(l=s[d],l[0]=="ATTR"&&l[6]=="Footprint"&&l[7]!=n["file-name"]){l[7]=n["file-name"],c=!0;break}c&&(i.dataStr=GFe(s))}}let a="";try{let s={title:n["file-name"],description:n["file-describe"],tags:n["file-category-name"]||[],docType:+se.FOOTPRINT};n.is3_0;let l=await Ze.createFootprint({path:n["file-owner"],isProject:n["file-owner"]===C.currentProject.projectId,footprint:{data:s}});De({type:"success",msg:"Created successfully!",timer:2.5}),t.setButtonEnable(),t.$close(),Wa(l,1),l.path||(l.path=n["file-owner"]),o(l)}catch(s){a=s.message||"Save failed!",s&&(s.action===zo.DEVICE_SAME_NAMA_EXISTS||s.action===zo.SYMBOL_SAME_NAMA_EXISTS||s.action===zo.FOOTPRINT_SAME_NAMA_EXISTS)&&(a=me.i18n(s.message,{libName:await d4(n["file-owner"]),componentName:n["file-name"]})),s&&s.action===zo.CREATE_FOOTPRINT_PERMISSIONS&&(a="Permission denied"),De({type:"error",msg:a,timer:3}),t.setButtonEnable(),r(null)}})}async function WJe(t,e=new Function){try{let i={"file-owner":(t.userInfo||{}).uuid,"file-name":(t.fileInfo||{}).name,"file-describe":(t.fileInfo||{}).describe,"file-category":(t.fileInfo||{}).category,"file-uuid":t.userId,"file-category-name":(t.fileInfo||{}).categoryName},o=(r,n)=>{e(r,n,t.fileInfo||{})};i.confirmCallback=o,ii("save-to-footprint-file",i)}catch(i){console.warn(i)}}var T7=L(z()),{locals:nge}=D7t.default;function sqi(){var s;let t=J(),e=be.bind(D7t.default.locals),i=(0,aqi.useContext)(gc);Ce(i.infoPanel);let o=()=>{O3().then(l=>{l.action==="yes"&&(i.infoPanel.whenFootprintInfoClear(),i.syncModify())})},r=()=>{var d,u;let l=i.dialogProps.initDeviceItem,c=((u=(d=i==null?void 0:i.infoPanel)==null?void 0:d.footprintItem)==null?void 0:u.path)||i.path;GJe(l?l.uuid:"",i.infoPanel.symbolItemId,i.infoPanel.footprintItemId,c,p=>{let m=i.infoPanel.footprintItemName!=="";i.infoPanel.whenFootprintConfirmUpdate(p),i.syncModify(),m&&De({type:"success",msg:"Update successfully!",timer:2.5})},{isFromProject:i.dialogProps.isFromProject})},n=l=>{l.preventDefault();let d=(C.globalVariableCookieData||{}).easyeda_user||{},u=C.currentProject||{};WJe({fileInfo:{dataStr:Pg.createEmptyFootprintDataStr()},userInfo:{...d,uuid:i.infoPanel.userIdSelected}},(p,m,h)=>{YJe(p,m,h).then(f=>{f&&!f.path&&(f.path=i.infoPanel.userIdSelected),i.infoPanel.whenFootprintConfirmUpdate({componentItem:f}),i.syncModify(),f&&f.uuid&&window.setTimeout(async()=>{let g=i.infoPanel.userIdSelected,b=`#tab=*!${f.uuid}@${g}`,y=`${window.location.origin}/editor${b}`;if(C.currentProject.projectId===g&&(y=`${window.location.origin}/editor#id=${g},tab=*!${f.uuid}@${g}`),wi)await fetch("app://api/system/openNewEditorWindow",{method:"post",body:JSON.stringify({url:y})});else{let w=window.open("");w&&(w.location.href=y)}},300),p.$closeDialog()}).catch(()=>{console.warn("Failed to create Footprint-Data")})})},a=l=>{l.preventDefault();let c=i.dialogProps.initDeviceItem,d=i.infoPanel.footprintItem,u=C.currentProject&&C.currentProject.projectId?d.path===C.currentProject.projectId:!1,p={...d,libPath:d.path,deviceId:c?c.uuid:"",project_uuid:u?d.path:""};GD(u,p,()=>{GS(p,u,{},!0,m=>{he.setTabData(m,{path:d.path})})}),C.messageBus.publish("ui/device/dvdialog/close")};return i.infoPanel.isShowFootprintItem?(0,T7.jsxs)("div",{className:nge["profileline-wrapper"],children:[(0,T7.jsx)("input",{type:"hidden",name:"footprint-item-id",value:i.infoPanel.footprintItemId}),(0,T7.jsx)("input",{type:"hidden",name:"footprint-item-path",value:i.infoPanel.footprintItemPath}),(0,T7.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:nge["profileline-label-wrapper"],children:(0,T7.jsx)("span",{title:t("Footprint"),"data-test":"Footprint",i18n:"Footprint",children:t("Footprint")})}),(0,T7.jsx)("div",{className:nge["profileline-content-wrapper"],children:(0,T7.jsx)(ea,{value:i.infoPanel.footprintItemName,hasClearButton:!0,hasThreePoint:!0,onClearClick:o,openDialog:r,disabled:i.infoPanel.footprintItemDisabled,errorValue:(s=i.infoPanel.hasIdButNotFound)==null?void 0:s.Footprint})}),(0,T7.jsx)("div",{className:nge["profileline-tips-wrapper"],children:i.infoPanel.footprintItemName?(0,T7.jsx)("a",{className:nge["profileline-link"],href:"#",style:{margin:"4px 0 0 8px",textDecoration:"none"},"data-test":"Edit Footprint",onClick:a,children:t("Edit Footprint")}):(0,T7.jsx)("a",{className:nge["profileline-link"],href:"#",style:{margin:"4px 0 0 8px",textDecoration:"none"},"data-test":"New Footprint",onClick:n,children:t("New Footprint")})})]}):null}var lqi=L(Se()),E7t=L(Zm());async function QJe(t,e){let i=[],o=(t||"").split(";");for(let r=0;r<o.length;r++)o[r]&&i.push({url:o[r],name:DUe(o[r])});ii("upload-image-dialog",{maxNumber:1,uploadName:"editormd-image-file",imageList:i,imageItemSize:{width:200,height:200},confirmCallback:e})}var BX=L(z()),{locals:KJe}=E7t.default;function cqi(){let t=J(),e=be.bind(E7t.default.locals),i=(0,lqi.useContext)(gc);Ce(i.infoPanel),Ce(i.property),Ce(i.thumb);let o=()=>{O3().then(n=>{n.action==="yes"&&(i.infoPanel.whenImageInfoClear(),i.syncModify())})},r=()=>{QJe(i.infoPanel.imageUrl,(n,a)=>{let s=i.infoPanel.imageUrl!=="";i.infoPanel.whenImageConfirmUpdate(n),i.syncModify(),s&&De({type:"success",msg:"Update successfully!",timer:2.5}),a()})};return i.infoPanel.isShowImageUrlItem?(0,BX.jsxs)("div",{className:KJe["profileline-wrapper"],children:[(0,BX.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:KJe["profileline-label-wrapper"],children:(0,BX.jsx)("span",{title:t("Image"),"data-test":"Image",i18n:"Image",children:t("Image")})}),(0,BX.jsx)("div",{className:KJe["profileline-content-wrapper"],children:(0,BX.jsx)(ea,{value:i.infoPanel.imageUrl,hasClearButton:!0,hasThreePoint:!0,onClearClick:o,openDialog:r})}),(0,BX.jsx)("div",{className:KJe["profileline-tips-wrapper"]})]}):null}var dqi=L(Se()),A7t=L(Zm());var zX=L(z()),{locals:ZJe}=A7t.default;function uqi(){let t=J(),e=be.bind(A7t.default.locals),i=(0,dqi.useContext)(gc);Ce(i.infoPanel);let o=n=>{let s=n.target.value;i.infoPanel.description=s,i.syncModify()},r=n=>{let a=n.target;a&&a.select()};return(0,zX.jsxs)("div",{className:ZJe["profileline-wrapper"],style:{alignContent:"flex-start",alignItems:"flex-start"},children:[(0,zX.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:ZJe["profileline-label-wrapper"],children:(0,zX.jsx)("span",{title:t("Description"),"data-test":"Description",i18n:"Description",children:t("Description")})}),(0,zX.jsx)("div",{className:ZJe["profileline-content-wrapper"],children:(0,zX.jsx)("textarea",{defaultValue:i.infoPanel.description,name:"description",style:{width:"100%",height:"82px",padding:"5px 5px"},onChange:o,onFocus:r})}),(0,zX.jsx)("div",{className:ZJe["profileline-tips-wrapper"]})]})}var JJe=L(Se());var pqi=L(Zm());var age=L(z()),{locals:vae}=pqi.default;function mqi(t){let e=J(),i=(0,JJe.useContext)(gc);Ce(i),Ce(i.infoPanel),Ce(i.property),Ce(i.thumb);let o=i.thumb.isSymbolThumbShowAddBtn?`${vae["thumb-item-btn"]}`:`${vae["thumb-item-btn"]} ${vae["display-none"]}`,r=i.thumb.isSymbolThumbShowAddBtn?`${vae["thumb-item-mask"]}`:`${vae["thumb-item-mask"]} ${vae["display-none"]}`,n=(0,JJe.useRef)(null),a=l=>{},s=l=>{let c=i.dialogProps.initDeviceItem;qfe(c?c.uuid:"",i.infoPanel.symbolItemId,i.infoPanel.symbolType,i.path,!!i.dialogProps.isFromProject,i.infoPanel.deviceItemName,d=>{i.infoPanel.whenSymbolConfirmUpdate(d),i.syncModify()})};return(0,age.jsxs)("div",{className:vae["thumb-item-container"],children:[(0,age.jsx)(B3,{$ref:n,enableThumbImageScalable:!0,enableThumbImageDraggable:!0,initSetShowLoading:i.thumb.isSymbolThumbShowLoading,symbolItem:i.infoPanel.symbolItem,onPartSelectChange:a,isForceShowPinNameAndNumber:!1,selectPosition:"bottom"}),(0,age.jsx)(ml,{class:o,size:"sm",onClick:s,children:"Related Symbol"}),(0,age.jsx)("div",{className:r})]})}var qJe=L(Se());var hqi=L(Zm());var Dae=L(z()),{locals:vY}=hqi.default;function fqi(t){let e=J(),i=(0,qJe.useContext)(gc);Ce(i.infoPanel),Ce(i.property),Ce(i.thumb);let o=i.thumb.isImageThumbShowAddBtn?`${vY["thumb-item-btn"]}`:`${vY["thumb-item-btn"]} ${vY["display-none"]}`,r=i.thumb.isImageThumbShowAddBtn?`${vY["thumb-item-mask"]}`:`${vY["thumb-item-mask"]} ${vY["display-none"]}`,n=(0,qJe.useRef)(null),a=s=>{QJe(i.infoPanel.imageUrl,(l,c)=>{i.infoPanel.whenImageConfirmUpdate(l),i.syncModify(),c()})};return i.infoPanel.isShowImageUrlItem?(0,Dae.jsxs)("div",{className:vY["thumb-item-container"],children:[(0,Dae.jsx)("img",{src:i.infoPanel.imageUrl,className:vY["image-thumb"],alt:""}),(0,Dae.jsx)(ml,{class:o,size:"sm",onClick:a,children:"Update Image"}),(0,Dae.jsx)("div",{className:r})]}):(0,Dae.jsx)("div",{className:vY["thumb-item-container"]})}var gqi=L(Se());var bqi=L(Zm());var Eae=L(z()),{locals:FX}=bqi.default;function yqi(t){let e=J(),i=(0,gqi.useContext)(gc);Ce(i),Ce(i.infoPanel),Ce(i.property),Ce(i.thumb);let o=i.thumb.isFootprintThumbShowAddBtn?`${FX["thumb-item-btn"]}`:`${FX["thumb-item-btn"]} ${FX["display-none"]}`,r=i.thumb.isFootprintThumbShowAddBtn?`${FX["thumb-item-mask"]}`:`${FX["thumb-item-mask"]} ${FX["display-none"]}`,n=Gr(async c=>{let d=i.dialogProps.initDeviceItem;await GJe(d?d.uuid:"",i.infoPanel.symbolItemId,i.infoPanel.footprintItemId,i.path,u=>{i.infoPanel.whenFootprintConfirmUpdate(u),i.syncModify()},{isFromProject:i.dialogProps.isFromProject})},260),a=()=>{},s=()=>{if(i.thumb.footprintViewIframeId){let c=document.querySelector(`[uuid="${i.thumb.footprintViewIframeId}"]`);if(c){let d=c.querySelector("iframe");C.windowBridge.rpcCall("/pcb/3d/source",{considerCanvasOrigin:!1,gnrBBoxOutlines:!0},d.contentWindow).then(u=>{i.thumb.footprintPreviewStr=u.message})}}},l=c=>{i.thumb.footprintViewIframeId=c,i.whenThumbCanvasIframeLoaded("Footprint")};return i.infoPanel.isShowFootprintItem?(0,Eae.jsxs)("div",{className:FX["thumb-item-container"],children:[(0,Eae.jsx)(sI,{initSetShowLoading:i.thumb.isFootprintThumbShowLoading,footprintItem:i.infoPanel.footprintItem,isAutoHiddenLoadingWhenCanvasRendered:!1,needLockMask:!1,isShowEditBtn:!1,isShowFullToggleBtn:!1,isShowSizeTypeCheckToggleBtn:!1,isShowUnitToggleSelector:!1,windowInstance:i.windowInstance,onIframeLoaded:l,onCanvasRenderStart:a,onCanvasRenderEnd:s}),(0,Eae.jsx)(ml,{class:o,size:"sm",onClick:n,children:"Related Footprint"}),(0,Eae.jsx)("div",{className:r})]}):(0,Eae.jsx)("div",{className:FX["thumb-item-container"]})}var XJe=L(Se());var wqi=L(Zm());var Aae=L(z()),{locals:UX}=wqi.default;function Cqi(t){let e=J(),i=(0,XJe.useContext)(gc);Ce(i),Ce(i.infoPanel),Ce(i.property),Ce(i.thumb);let o=i.thumb.isD3ModelThumbShowAddBtn?`${UX["thumb-item-btn"]}`:`${UX["thumb-item-btn"]} ${UX["display-none"]}`,r=i.thumb.isD3ModelThumbShowAddBtn?`${UX["thumb-item-mask"]}`:`${UX["thumb-item-mask"]} ${UX["display-none"]}`,n=(0,XJe.useRef)(null),a=d=>{let u=i.dialogProps.initDeviceItem;MJe(u?u.uuid:"",i.infoPanel.footprintItemId,i.infoPanel.d3modelItemId,i.infoPanel.d3modelItemTransform,i.path,p=>{i.infoPanel.whenD3ModelConfirmUpdate(p),i.syncModify()},{attributes:u?u.attributes:{}})},s=()=>{},l=()=>{},c=d=>{i.thumb.d3modelViewIframeId=d,i.whenThumbCanvasIframeLoaded("D3Model")};return i.infoPanel.isShowD3modelItem?(0,Aae.jsxs)("div",{className:UX["thumb-item-container"],children:[(0,Aae.jsx)(SA,{isCouldLoadIframe:!0,initSetShowLoading:i.thumb.isD3ModelThumbShowLoading,footprintPreviewStr:i.thumb.footprintPreviewStr,d3modelItem:i.infoPanel.d3modelItem,d3modelTransform:i.infoPanel.d3modelItemTransform,d3ModelItemId:i.infoPanel.d3modelItemId,windowInstance:i.windowInstance,isShowFullToggleBtn:!1,isShowPerspectiveActionGroups:!1,onIframeLoaded:c,onCanvasRenderStart:s,onCanvasRenderEnd:l}),(0,Aae.jsx)(ml,{class:o,size:"sm",onClick:a,children:"Related 3D Model"}),(0,Aae.jsx)("div",{className:r})]}):(0,Aae.jsx)("div",{className:UX["thumb-item-container"]})}var zqi=L(Se()),B7t=L(Zm());var Bqi=L(Zm());var xqi=L(Se()),Tqi=L(Zm());var Nae=L(z()),{locals:N7t}=Tqi.default;function Sqi(t){let{label:e,sKey:i,sValue:o,disabled:r,onModifyProperty:n}=t,a=J(),s=e,l=i,c=typeof r<"u"?!!r:!1,d=g1e.indexOf(l)>=0&&o===""?me.i18n("<System Assignment>"):o,[u,p]=(0,xqi.useState)(d),m=b=>{let y=b.target;y&&y.select()},h=b=>{let y=b.target,w=y.getAttribute("data-key"),x=y.value;p(x)},f=b=>{let y=b.target,w=y.getAttribute("data-key"),x=y.value;x.length>=256&&Dt({icon:"error",closed:!0,content:me.i18n("{0} should be no more than 255 letters",[me.i18n(w)])}),p(x),n(l,x)},g=b=>{let y=b.target;b.keyCode===13&&y.blur()};return(0,Nae.jsxs)("div",{className:N7t["profileline-wrapper"],children:[(0,Nae.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:N7t["profileline-label-wrapper"],style:{flex:`0 0 ${lg.attributeLabelWidth}px`,textAlign:"left"},children:(0,Nae.jsx)("span",{title:a({value:s,context:"attrs"}),"data-test":s,i18n:s,children:a({value:s,context:"attrs"})})}),(0,Nae.jsx)("div",{className:N7t["profileline-content-wrapper"],children:(0,Nae.jsx)("input",{type:"text","data-key":l,value:u,name:l,style:{width:"100%",height:"26px"},onChange:h,onBlur:f,onKeyDown:g,onFocus:m,disabled:c,autoComplete:"off"})})]})}var DY=L(Se()),Mqi=L(Zm());var R4=L(z()),{locals:k7t}=Mqi.default;function Iqi(t){let{label:e,sKey:i,sValue:o,disabled:r,propertyList:n=[],onModifyProperty:a}=t,s=J(),l="Name",c="Name",[d,u]=(0,DY.useState)(o),p=n.map(E=>E.sKey).filter(E=>[...Qfe,"Name"].indexOf(E)<=-1),[m,h]=(0,DY.useState)(!1),f=(0,DY.useRef)(null),g=(0,DY.useRef)(null),b=(0,DY.useRef)({position:"absolute",top:"48px",right:"10px",zIndex:"9999",width:"409px",border:"1px solid var(--border-color-drop-down-menu)",padding:"5px 5px",backgroundColor:"var(--bg-color-drop-down-menu)",boxShadow:"1px 1px 4px rgba(0, 0, 0, calc(var(--has-shadow-drop-down-menu) * 0.2))"}),y=E=>{let N=E.target;N&&N.select()},w=E=>{if(E===!0){let N=f.current.getBoundingClientRect().toJSON();b.current.width=`${N.width}px`,h(E);return}h(E)},x=E=>{let N=E.target,R=N.getAttribute("data-key"),v=N.value;u(v)},S=()=>{window.clearTimeout(g.current),w(!0)},T=E=>{let N=E.target,R=N.getAttribute("data-key"),v=N.value;u(v),a(c,v),g.current=window.setTimeout(()=>{w(!1)},50)},M=E=>{let N=`{${E}}`,R=new RegExp(`\\{${E}\\}`),v=d;v.startsWith("=")||(v="="+v),R.test(v)||(v+=N),u(v),a(c,v)},I=()=>{window.clearTimeout(g.current)},A=()=>{g.current=window.setTimeout(()=>{w(!1)},300)},D=(E,N)=>{let R=E.toLocaleLowerCase().indexOf(N.toLocaleLowerCase()),v=null;if(R>=0){let k=(0,R4.jsx)("em",{style:{fontStyle:"normal"},className:"hightlight",children:E.slice(R,R+N.length)});v=(0,R4.jsxs)("span",{children:[E.slice(0,R),k,E.slice(R+N.length)]})}else v=(0,R4.jsx)(R4.Fragment,{children:E});return(0,R4.jsxs)("div",{title:E,style:{display:"flex",flexWrap:"nowrap",justifyContent:"space-between",alignContent:"center",alignItems:"center"},children:[(0,R4.jsxs)("div",{children:[(0,R4.jsx)("span",{children:"{"}),(0,R4.jsx)("span",{children:v}),(0,R4.jsx)("span",{children:"}"})]}),(0,R4.jsx)("div",{children:s(E)})]})};return(0,DY.useEffect)(()=>{o!==d&&u(o)},[o]),(0,R4.jsxs)("div",{className:k7t["profileline-wrapper"],children:[(0,R4.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:k7t["profileline-label-wrapper"],style:{flex:`0 0 ${lg.attributeLabelWidth}px`,textAlign:"left"},children:(0,R4.jsx)("span",{title:s(l),"data-test":l,i18n:l,children:s(l)})}),(0,R4.jsxs)("div",{className:k7t["profileline-content-wrapper"],children:[(0,R4.jsx)("input",{ref:f,type:"text","data-key":c,value:d,name:c,style:{width:"100%",height:"26px"},onChange:x,onBlur:T,onClick:S,onFocus:y,autoComplete:"off","aria-autocomplete":"none"}),m&&(0,R4.jsx)(j2,{positionFixed:!1,value:"",disableNativeRowTitle:!0,translateOption:{deleteBrace:!0},selectAlwaysShow:!0,clickSelectItemNotSetInput:!0,selectListStyle:{position:"static",width:"auto",boxShadow:"none"},selectList:p,focusTriggerSelect:!0,style:b.current,onSelectItemClick:M,optionContentRender:D,onFilterInputFocus:I,blur:A})]})]})}var Lqi=L(Se()),vqi=L(Zm());var kae=L(z()),{locals:P7t}=vqi.default;function Dqi(t){let{label:e,sKey:i,sValue:o,disabled:r,onModifyProperty:n}=t,a=J(),s="Designator",l="Designator",[c,d]=(0,Lqi.useState)(o),u=m=>{let h=m.target,f=h.getAttribute("data-key"),g=h.value;d(g)},p=m=>{let h=m.target,f=h.getAttribute("data-key"),g=h.value.trim();g===""&&(g="U?"),d(g),n(l,g)};return(0,kae.jsxs)("div",{className:P7t["profileline-wrapper"],children:[(0,kae.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:P7t["profileline-label-wrapper"],style:{flex:`0 0 ${lg.attributeLabelWidth}px`,textAlign:"left"},children:(0,kae.jsx)("span",{title:a(s),"data-test":s,i18n:s,children:a(s)})}),(0,kae.jsx)("div",{className:P7t["profileline-content-wrapper"],children:(0,kae.jsx)("input",{type:"text","data-key":l,value:c,name:l,style:{width:"100%",height:"26px"},onChange:u,onBlur:p,autoComplete:"off"})})]})}var Eqi=L(Se()),Aqi=L(Zm());var Pae=L(z()),{locals:O7t}=Aqi.default;function Nqi(t){let{label:e,sKey:i,sValue:o,disabled:r,onModifyProperty:n}=t,a=J(),s="Convert to PCB",l="Convert to PCB",[c,d]=(0,Eqi.useState)(o),u=[{text:me.i18n("yes"),value:"yes"},{text:me.i18n("no"),value:"no"}],p=m=>{d(m),n(l,m)};return(0,Pae.jsxs)("div",{className:O7t["profileline-wrapper"],children:[(0,Pae.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:O7t["profileline-label-wrapper"],style:{flex:`0 0 ${lg.attributeLabelWidth}px`,textAlign:"left"},children:(0,Pae.jsx)("span",{title:a(s),"data-test":s,i18n:s,children:a(s)})}),(0,Pae.jsx)("div",{className:O7t["profileline-content-wrapper"],children:(0,Pae.jsx)(xt,{value:c,list:u,onChange:p,searchable:!1,style:{height:"26px"}})})]})}var kqi=L(Se()),Pqi=L(Zm());var Oae=L(z()),{locals:R7t}=Pqi.default;function Oqi(t){let{label:e,sKey:i,sValue:o,onModifyProperty:r}=t,n=J(),a="Add into BOM",s="Add into BOM",[l,c]=(0,kqi.useState)(o),d=[{text:me.i18n("yes"),value:"yes"},{text:me.i18n("no"),value:"no"}],u=p=>{c(p),r(s,p)};return(0,Oae.jsxs)("div",{className:R7t["profileline-wrapper"],children:[(0,Oae.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:R7t["profileline-label-wrapper"],style:{flex:`0 0 ${lg.attributeLabelWidth}px`,textAlign:"left"},children:(0,Oae.jsx)("span",{title:n(a),"data-test":a,i18n:a,children:n(a)})}),(0,Oae.jsx)("div",{className:R7t["profileline-content-wrapper"],children:(0,Oae.jsx)(xt,{value:l,list:d,onChange:u,searchable:!1,style:{height:"26px"}})})]})}var Rqi=L(Se()),_qi=L(Zm());var Rae=L(z()),{locals:_7t}=_qi.default,$Je="mm";function jqi(t){let{label:e,sKey:i,sValue:o,disabled:r,onModifyProperty:n}=t,a=J(),s=e,l=i,c=typeof r<"u"?!!r:!1,d=g1e.indexOf(l)>=0&&o===""?me.i18n("<System Assignment>"):o,u=(0,Rqi.useMemo)(()=>x4(d,$Je),[d]);return(0,Rae.jsxs)("div",{className:_7t["profileline-wrapper"],children:[(0,Rae.jsx)("div",{"data-tagitem":"profileline-label-wrapper",className:_7t["profileline-label-wrapper"],style:{flex:`0 0 ${lg.attributeLabelWidth}px`,textAlign:"left"},children:(0,Rae.jsx)("span",{title:a({value:s,context:"attrs"}),"data-test":s,i18n:s,children:a({value:s,context:"attrs"})})}),(0,Rae.jsx)("div",{className:_7t["profileline-content-wrapper"],children:(0,Rae.jsx)(or,{name:l,disabled:c,style:{width:"100%",height:"26px"},"data-key":l,value:u,inputUnit:$Je,originUnit:$Je,onChange:(p,m)=>{p!==""&&+p<=0||(p+=$Je,n(l,p))}})})]})}var _ae=L(z()),{locals:dic}=Bqi.default;function eqe(t){let e=null;switch(t.sKey){case"Add into BOM":{e=(0,_ae.jsx)(Oqi,{...t});break}case"Convert to PCB":{e=(0,_ae.jsx)(Nqi,{...t});break}case"Designator":{e=(0,_ae.jsx)(Dqi,{...t});break}case"Name":{e=(0,_ae.jsx)(Iqi,{...t});break}case"Height":{e=(0,_ae.jsx)(jqi,{...t});break}default:{e=(0,_ae.jsx)(Sqi,{...t});break}}return e}var tqe=L(z()),{locals:j7t}=B7t.default;function Fqi(){let t=J(),e=be.bind(B7t.default.locals),i=(0,zqi.useContext)(gc);Ce(i.infoPanel),Ce(i.property);let o=j7t["profileline-item-container-select"],r=i.property.baseProperties.filter(a=>Qfe.indexOf(a.sKey)<=-1),n=(a,s)=>{i.property.whenPropertyModify("baseProperties",a,s),i.syncModify()};return i.infoPanel.symbolType===tr.DrawingSymbol?null:(0,tqe.jsx)("div",{children:(0,tqe.jsx)("ul",{className:j7t["profileline-container"],children:r.map((a,s)=>(0,tqe.jsx)("li",{"data-active-classname":o,"data-property-key":a.sKey,className:j7t["profileline-item-container"],"data-tagitem":"extends-property-item",children:eqe({...a,propertyList:[...i.property.baseProperties,...i.property.extendsProperties],onModifyProperty:n})},a.sKey))})})}var O6e=L(Se()),U7t=L(Zm());function Uqi(t,e,i){try{let o=Array.from(i.querySelectorAll(t));if(!o.length)return null;let r=e;for(;r;){if(r===i.parentElement)return null;if(o.includes(r))return r;r=r.parentElement}return r}catch(o){return console.warn(o),null}}function z7t(t){let e=t.target,i=t.currentTarget,o=i.getAttribute("data-active-classname");if(!o)return;let r=document.querySelector(`.${o}`);r&&(r.classList.remove(o),i.removeAttribute("data-active-classname"))}var sge=L(z()),{locals:F7t}=U7t.default;function Vqi(){let t=J(),e=be.bind(U7t.default.locals),i=(0,O6e.useContext)(gc);Ce(i.infoPanel),Ce(i.property);let{window:o}=(0,O6e.useContext)(_r),r=F7t["profileline-item-container-select"],n=i.property.extendsProperties,a=(0,O6e.useRef)(null),s=(u,p)=>{i.property.whenPropertyModify("extendsProperties",u,p),i.syncModify()};if(i.infoPanel.symbolType===tr.DrawingSymbol)return null;let l=u=>{i.property.whenAttrListSelectChanged(u),i.syncModify()},c=(u,p)=>{Da.open({data:[{title:me.i18n("Delete"),cmd:"delete"}],position:{x:u.clientX,y:u.clientY},onClick(m,h,f,g){m.cmd==="delete"&&(i.property.whenPropertyDelete("extendsProperties",p),i.syncModify())},onEnterConfirm(m,h,f){m[0]==="delete"&&(i.property.whenPropertyDelete("extendsProperties",p),i.syncModify())},windowInstance:o})},d=u=>{u.preventDefault();let p=Uqi('[data-tagitem="extends-property-item"]',u.target,a.current);if(!p)return;let m=Array.from(p.parentElement.children),h=p.getAttribute("data-active-classname"),f=p.getAttribute("data-property-key");if(h){for(let g=0;g<m.length;g++)m[g]!==p&&m[g].classList.remove(h);p.classList.add(h),document.body.setAttribute("data-active-classname",h),c(u,f)}};return(0,sge.jsxs)("div",{ref:a,children:[(0,sge.jsx)("ul",{className:F7t["profileline-container"],style:{marginBottom:"5px"},children:n.map((u,p)=>(0,sge.jsx)("li",{onContextMenu:d,"data-property-key":u.sKey,"data-active-classname":r,className:F7t["profileline-item-container"],"data-tagitem":"extends-property-item",children:eqe({...u,propertyList:[...i.property.baseProperties,...i.property.extendsProperties],onModifyProperty:s})},u.sKey))}),(0,sge.jsx)(xt,{value:i.property.attrSelectValue,list:i.property.attrSelectList,onChange:l,searchable:!0})]})}var cge=L(Se());var Hqi=L(Se());var S7=L(z());function Gqi(){let t="deviceDialog",e=Wi("OBJECT","theme",{readValueKey:!1}),i=e[e.activeTheme],o=(0,Hqi.useContext)(gc),n=o.property.baseProperties.concat(o.property.extendsProperties).filter(c=>xZ.indexOf(c.sKey)>-1).reduce((c,d)=>(c.set(d.sKey,d),c),new Map);function a(c){var d;return(d=n.get(c))==null?void 0:d.sValue}function s(){let c=Number(a("Width")),d=Number(a("Height"));if(!c||!d)return upe;let u="Customize";return it(ES,(p,m)=>{if(m.w==c&&m.h==d)return u=p,!1}),u}return(0,S7.jsxs)(c0,{status:"open",title:"Drawing Border",style:{backgroundColor:"var(--common-bg-color-panel-header)"},children:[(0,S7.jsx)(ao,{propertyPanelId:t,propertyKey:"Border",propertyTitle:"Border",value:"Show",valueType:"plainText",valueCheckBox:!0,valueChecked:a("Border")==="1",onChange:l}),(0,S7.jsx)(ao,{propertyPanelId:t,propertyKey:"Title Block Position",propertyTitle:"Title Block Position",value:a("Title Block Position"),valueType:"select",valueOptions:dpe,onChange:l}),(0,S7.jsx)(ao,{propertyPanelId:t,propertyKey:"Size",propertyTitle:"Size",value:s(),valueType:"select",valueOptions:W3(Object.keys(ES).concat(s()==="Customize"?"Customize":[])),onChange:l}),(0,S7.jsx)(Zu,{widthProperty:{propertyKey:"Width",value:a("Width"),valueType:"drawingWidth"},heightProperty:{propertyKey:"Height",value:a("Height"),valueType:"drawingHeight"},inputUnit:"inch",onChange:l}),(0,S7.jsx)(ao,{propertyPanelId:t,propertyKey:"Region Start",propertyTitle:"Region Start",value:a("Region Start"),valueType:"select",valueOptions:cpe,onChange:l}),(0,S7.jsx)(ao,{propertyPanelId:t,propertyKey:"X Region Count",propertyTitle:"X Region Count",value:a("X Region Count"),valueType:"numberInput",onChange:l}),(0,S7.jsx)(ao,{propertyPanelId:t,propertyKey:"Y Region Count",propertyTitle:"Y Region Count",value:a("Y Region Count"),valueType:"numberInput",onChange:l}),(0,S7.jsx)(ao,{propertyPanelId:t,propertyKey:"Blade Width",propertyTitle:"Blade Width",value:a("Blade Width"),valueType:"unitInput",inputUnit:Vo(),onChange:l}),(0,S7.jsx)(ao,{propertyPanelId:t,defaultValue:i.color.symbol,propertyKey:"Color",propertyTitle:"Color",value:a("Color")||x_e,valueType:"color",onChange:l})]});function l(c){it(c,(d,u)=>{switch(d){case"Border":{o.property.whenPropertyModify("baseProperties",d,u.valueVisible?"1":"0");break}case"Size":{o.property.whenPropertyModify("baseProperties","Width",String(ES[u.value].w)),o.property.whenPropertyModify("baseProperties","Height",String(ES[u.value].h));break}default:{let p=u.value;p==null?p="":p=String(p),o.property.whenPropertyModify("baseProperties",d,p);break}}}),o.syncModify()}}var Yqi=L(Se());var lge=L(z());function Wqi(){var c;let t=J(),e="deviceDialog",i=(0,Yqi.useContext)(gc),o=i.property.baseProperties.concat(i.property.extendsProperties),r=o.reduce((d,u)=>(d.set(u.sKey,u),d),new Map),n=o.filter(d=>[...Qfe,...xZ,Qu,"Device"].indexOf(d.sKey)<=-1),a=d=>{i.property.whenAttrListSelectChanged(d),i.syncModify()},s=(d,u,p)=>{p.property.extendsProperties.findIndex(h=>h.sKey===u)>-1&&Au.open({data:[{title:me.i18n("Delete"),cmd:"delete"}],position:{x:d.clientX,y:d.clientY},onClick(h,f,g,b){h.cmd==="delete"&&(p.property.whenPropertyDelete("extendsProperties",u),p.syncModify())},onEnterConfirm(h,f,g){h[0]==="delete"&&(p.property.whenPropertyDelete("extendsProperties",u),p.syncModify())}})};return(0,lge.jsxs)(c0,{status:"open",title:"Title Block",style:{backgroundColor:"var(--common-bg-color-panel-header)"},children:[(0,lge.jsx)(ao,{propertyPanelId:e,propertyKey:Qu,propertyTitle:Qu,value:"Show",valueType:"plainText",valueCheckBox:!0,valueChecked:((c=r.get(Qu))==null?void 0:c.sValue)==="1",onChange:l}),n.map(d=>{let u=d.disabled,p=u,m=u?t("<System Assignment>"):d.sValue;return(0,lge.jsx)(ao,{labelSectionStyle:{flex:`0 0 ${lg.attributeLabelWidth}px`},propertyPanelId:e,propertyKey:d.sKey,propertyTitle:d.sKey,value:m,valueDisabled:p,onChange:l,onKeyContextmenu:h=>{s(h,d.sKey,i)}},d.sKey)}),(0,lge.jsx)(xt,{value:i.property.attrSelectValue,list:i.property.attrSelectList,onChange:a,searchable:!0})]});function l(d){it(d,(u,p)=>{switch(u){case Qu:{i.property.whenPropertyModify("baseProperties",Qu,p.valueChecked?"1":"0");break}default:{i.property.baseProperties.some(m=>m.sKey===u)?i.property.whenPropertyModify("baseProperties",u,p.value):i.property.whenPropertyModify("extendsProperties",u,p.value);break}}}),i.syncModify()}}var R6e=L(z());function Qqi(){let t=(0,cge.useContext)(gc);Ce(t.property),Ce(t.infoPanel);let e=(0,cge.useRef)(null);return(0,cge.useEffect)(()=>{var i;(i=e.current)==null||i.querySelectorAll(".key_section").forEach(o=>{o.style.flex=`0 0 ${lg.attributeLabelWidth}px`})},[e.current]),t.infoPanel.symbolType!==tr.DrawingSymbol?null:(0,R6e.jsxs)("div",{ref:e,style:{display:"flex",flexDirection:"column",gap:"8px"},children:[(0,R6e.jsx)(Gqi,{}),(0,R6e.jsx)(Wqi,{})]})}var P7r=L(Se()),SXi=L(Zm());var _6e={text:"Confirm",cmd:"confirm"},V7t={text:"Update",cmd:"update"},iqe={DEVICE_DIALOG:_6e,SCH_CANVAS:V7t,BOTTOM_TABLE_LINK_SIMMODEL:_6e,SYMBOL_EDIT:_6e};var UI={"Pin Name":"pinName","Pin Number":"pinNumber","Pin SimName":"pinSimName","Pin NgName":"pinNgName"};var GI=L(Se());var wqe=L(xO());var jae=L(Se()),bXi=L(xO());var Xqi=L(Se());var rqe=class extends L3{constructor(){super(),this.requestTypes=["6"]}};var nqe=class extends dm{constructor(){super()}};var aqe=class extends D3{constructor(){super()}};var sqe=class extends nf{get dataType(){return Tt.MODEL_SIM_LIB}constructor(){super(),this._docType=ve.NGSPICE_MODEL,this._tableCols=this.createTableColsProfile()}set docType(e){this._docType=e}get docType(){return this._docType}set tableCols(e){this._tableCols=e}get tableCols(){return this._tableCols}createTableColsProfile(){return[{key:"numberIndex",name:"No.",sortable:!0,width:.1},{key:"display_title",name:"Model",sortable:!0,width:.2},{key:"description",name:"Description",sortable:!0,width:.2},{key:"ownerBelong",name:"Belong",sortable:!0,width:.1},{key:"updateTimeString",name:"Update Time",sortable:!0,width:.4}]}async filterComponentList(e){let{count:i,page:o,pageSize:r,totalPage:n,lists:a}=e;return this.pageNumber=o||1,this.totalPage=n||1,this.totalCount=i||0,{...e,lists:await Promise.all(a.map(async(s,l)=>{let c=s.owner||{},d={uuid:s.uuid,path:s.path,isProject:!1},u=await Ze.getSimModel(d),p=JSON.parse(u.dataStr||"{}");return{...s,$id:s.uuid,ownerBelong:c.username,description:p.description||"",updateTimeString:fC(s),numberIndex:l+1}}))}}async fetchComponentList(e,i,o,r=50,n=[],a=-1){let s={uid:e,path:i,page:o,pageSize:r,docType:[this.docType],tags:n,isProject:!1};this.componentListRequestId=Mt();let l=await Ze.getSimModelList(s),c=null;if(l)c={code:0,success:!0,result:l};else return{...c,requestId:this.componentListRequestId};return{...c,result:await this.filterComponentList(c.result),requestId:this.componentListRequestId}}filterComponentListBySearch(e){let{count:i,page:o,pageSize:r,totalPage:n,lists:a,facets:s}=e;this.pageNumber=+o||1,this.totalPage=+n||1,this.facets=s;let l=this.selectedLibIds[0];this.totalCount=Number.isSafeInteger(+this.facets[l])?+this.facets[l]:i||0;let c=a;return{...e,lists:{[l]:c.map(d=>({...d,$id:d.uuid}))},facets:s}}async fetchComponentListBySearch(e,i,o,r=_e.DEFAULT_PAGESIZE,n=[],a=-1,s=""){let l=Ft(this.libList,"id",this.projectsIds[0]),c={};l.index>=0&&(c.preojectId=l.data.id),c.isSelectedProjectLib=this.selectedLibIds.includes(this.projectsIds[0]),this.componentListRequestId=Mt();let d=await Ze.getSimModelSearchList({uid:e,page:o,pageSize:r,isProject:!1,path:i,wd:s?s.toLocaleLowerCase():"",docType:[this.docType]});return d?{...d,result:this.filterComponentListBySearch(d),requestId:this.componentListRequestId}:{...d,requestId:this.componentListRequestId}}async refreshComponentList(e,i,o="",r=[],n=(a,s)=>{}){let a=this.selectedLibIds[0];if(this.facets={},this.componentListLoadStatus="Loading",r[0]===_e.CATEGORY_ITEM_ALL_VALUE&&(r=[]),!o||!o.trim()){let l=null;if(l=await this.fetchComponentList(e,i,this.pageNumber,this.pageSize,r,this.type),!l||this.componentListRequestId!==l.requestId)return;if(l.code!==0||l.success,l.result){let c=l.result.lists||[];c.length>=1?(this.tableData=c,this.componentListLoadStatus=""):(this.tableData=[],this.componentListLoadStatus="No Results!")}else this.componentListLoadStatus="No Results!";this.notify(),n("fetch",l);return}let s=null;if((!wi||N0)&&(s=await this.fetchComponentListBySearch(e,i,this.pageNumber,this.pageSize,r,this.type,o.toLocaleLowerCase())),!(!s||this.componentListRequestId!==s.requestId)){if((s.code!==0||s.success===!1)&&console.error(s),s.result){let l=s.result.lists[a]||[];l.length>=1?(this.tableData=l,this.componentListLoadStatus=""):(this.tableData=[],this.componentListLoadStatus="No Results!")}else this.componentListLoadStatus="No Results!";n("search",s)}}async refreshComponentItem(e,i,o){this.componentItemLoadStatus="Loading";let r=null,n={uuid:e,path:i,isProject:!1},a=await Ze.getSimModel(n);r=a&&a?a:null,this.componentItem=r,this.componentItemLoadStatus=this.componentItem?"":"No Results!",C.messageBus.publish("ui/simmodel/simdialog/conbtndisabledstatus",!1),this.notify(),o&&o(this.componentItem)}clearAllRemoteData(){this.clearSelectedRowsBase(),this.tableData=[],this.componentItem=null}};var lqe=class extends qe{constructor(){super(),this._searchValue="",this._searchPlaceHolder="Filter",this._isInSearchingStatus=!1}set searchPlaceHolder(e){this._searchPlaceHolder=e}get searchPlaceHolder(){return this._searchPlaceHolder}set searchValue(e){this._searchValue=e,this.notify()}get searchValue(){return this._searchValue}set isInSearchingStatus(e){this._isInSearchingStatus=e}get isInSearchingStatus(){return this._isInSearchingStatus}};var cqe=class extends sq{constructor(){super();this.getColKey=i=>{switch(i){case"tags":return"cateName";case"Comment":case"\u5907\u6CE8":return"comment";case"Designator":return"designator";case"Sim Model Title":return"simmodelItemTitle";case"Symbol":return"symbolItemTitle";case"Device":return"deviceItemTitle";default:return i}};this._tableSelectedRowNumbers=[],this._tableCols=[],this._searchValue=""}set tableSelectedRowNumbers(i){this._tableSelectedRowNumbers=i,this.notify()}get tableSelectedRowNumbers(){return this._tableSelectedRowNumbers}set tableCols(i){this._tableCols=i,this.notify()}get tableCols(){return this._tableCols}set searchValue(i){this._searchValue=i}get searchValue(){return this._searchValue}updateTableColsProfile(i){let o=i||nV(qh.SimModel);return o.map(r=>({key:this.getColKey(r.id),name:r.value,sortable:!0,width:1/o.length}))}washDeviceListBeforeStartSearchProcess(){this.tableSelectedRowNumbers=[],this.selectedIds=[],this.tableData.forEach(i=>{i.checked=!1})}washDeviceListBeforeExitSearchProcess(){this.tableSelectedRowNumbers=[],this.selectedIds=[],this.tableData.forEach(i=>{i.checked=!1})}refreshDeviceListBySearch(i=""){if(!i){this.renderTableData=this.tableData.map(a=>a);return}let o=[],r=this.tableCols,n=[];this.tableData.forEach(a=>{let s=a.attributes||{};r.forEach(l=>{if(!l.key)return;let c=a[l.key]||s[l.key];if(!(typeof c>"u")&&c.toLocaleLowerCase().indexOf(i.toLocaleLowerCase())>=0){if(n.indexOf(a.$id)>=0)return;o.push(a),n.push(a.$id);return}})}),this.renderTableData=o}refreshDeviceListBySelectedIds(){this.tableData.forEach(i=>{if(this.selectedIds.indexOf(i.$id)>=0){i.checked=!0;return}i.checked=!1}),this.refreshDeviceListBySearch(this.searchValue)}};var dge=class extends qe{constructor(){super(),this._selectedIds=[],this._tableSelectedRowNumbers=[],this._sortKeyValueList=[],this._sourceList=[],this._resetSortTag=0}set sortKeyValueList(e){this._sortKeyValueList=e}get sortKeyValueList(){return this._sortKeyValueList}set resetSortTag(e){this._resetSortTag=e,this.notify()}get resetSortTag(){return this._resetSortTag}set selectedIds(e){this._selectedIds=e,this.notify()}get selectedIds(){return this._selectedIds}set tableSelectedRowNumbers(e){this._tableSelectedRowNumbers=e,this.notify()}get tableSelectedRowNumbers(){return this._tableSelectedRowNumbers}set sourceList(e){this._sourceList=e,this.notify()}get sourceList(){return this._sourceList}updateSortKeyValueList(e,i){this.sortKeyValueList=YZ(e,i)}sortTableData(e,i,o,r){if(o==="NORMAL"){let n=[...r];return n.sort((a,s)=>this.sortKeyValueList.indexOf(a[i])-this.sortKeyValueList.indexOf(s[i])),n}if(o==="ASC_SORT"||o==="DESC_SORT"){let n=[];for(let a=0;a<e.length;a++)n.push({...e[a]});return n}return[]}};var dqe=class extends dge{constructor(){super(),this._tableCols=[],this._tableData=[],this.mySelectIds=new Set,this._isPadSize=!1}set tableCols(e){this._tableCols=e,this.notify()}get tableCols(){return this._tableCols}set tableData(e){this._tableData=e,this.notify()}get tableData(){return this._tableData}set simTableData(e){this._simTableData=e,this.notify()}get simTableData(){return this._simTableData}set isPadSize(e){this._isPadSize=e}get isPadSize(){return this._isPadSize}refreshPinList(e){e.forEach(o=>{o.pinNgName===""&&(o.pinNgName="Not Connected"),o.pinSimName===""&&(o.pinSimName="Not Connected")});let i=e?e.sort((o,r)=>{let n=Number(o.pinNumber),a=Number(r.pinNumber);return n>a?1:n<a?-1:0}).map((o,r)=>({...o,isError:!1})):this.tableData;this.tableData=ue.deepClone(i)}refreshPinListBySimModel(e,i){this.tableData.forEach(o=>{let r=0;for(r;r<e.length;r++)if(e[r].pinNumber==o.pinNumber){o[i===ve.SIMULIDE_MODEL?"pinSimName":"pinNgName"]=e[r].simPinName,o.bgColor=Pc().bgColor,o.isError=!1;break}r==e.length&&(o.bgColor=v3.bgColor,o.isError=!0,o[i===ve.SIMULIDE_MODEL?"pinSimName":"pinNgName"]="Not Connected")}),this.updateSortKeyValueList("$id"),this.resetSortTag=this.resetSortTag+1}updateSortKeyValueList(e){super.updateSortKeyValueList(e,this.tableData)}sortTable(e,i,o){this.tableData=super.sortTableData(e,i,o,this.tableData)}};var uqe=class extends dge{constructor(){super(),this._tableCols=this.createTableColsProfile(),this._tableData=[],this._isPadSize=!1}set tableCols(e){this._tableCols=e,this.notify()}get tableCols(){return this._tableCols}set tableData(e){this._tableData=e,this.notify()}get tableData(){return this._tableData}set isPadSize(e){this._isPadSize=e}get isPadSize(){return this._isPadSize}createTableColsProfile(){return[{key:"pinNumber",name:"No.",sortable:!0,width:.5},{key:"simPinName",name:"SimName",sortable:!0,width:.5}]}refreshSimPinList(e,i){let o=i.map(n=>n.pinNumber),r=e?e.sort((n,a)=>{let s=Number(n.pinNumber),l=Number(a.pinNumber);return s>l?1:s<l?-1:0}).map((n,a)=>({...n})):this.tableData;for(let n=0;n<r.length;n++)o.indexOf(String(r[n].pinNumber))<=-1?(r[n].isError=!0,r[n].bgColor=v3.bgColor):(r[n].isError=!1,r[n].bgColor=Pc().bgColor);this.tableData=ue.deepClone(r),this.updateSortKeyValueList("$id"),this.resetSortTag=this.resetSortTag+1}updateSortKeyValueList(e){super.updateSortKeyValueList(e,this.tableData)}sortTable(e,i,o){this.tableData=super.sortTableData(e,i,o,this.tableData)}};function Jqi(t=[],e,i){if(!t||!t.length||!e)return{index:-1,data:null};let o={index:-1,data:null};for(let r=0;r<t.length;r++)if(typeof t[r]=="object"){if(e=="pinNumber"&&t[r][e].split(",").includes(i)){o.data=t[r],o.index=r;break}else if(t[r][e]===i){o.data=t[r],o.index=r;break}}return o}function pqe(t){let{dataStr:e}=t;return JSON.parse(e).Pins.split(",").map(o=>{let r=o.indexOf("=");if(r===-1)return[o.trim(),""];let n=o.substring(0,r).trim(),a=o.substring(r+1).trim();return[n,a]}).map(([o,r])=>({$id:o,simPinName:r,pinNumber:o,hightlightIds:o}))}async function $qi(){let t=new H7t;return await t.initial(),t}var H7t=class extends Hb{constructor(){super(),this._dialogProps=null,this._cache={},this.docType=ve.NGSPICE_MODEL,this.libListModel=new nqe,this.componentSearchModel=new aqe,this.categoryModel=new rqe,this.componentTable=new sqe,this.deviceSearchModel=new lqe,this.deviceListModel=new cqe,this.pinListModel=new dqe,this.simPinList=new uqe,this._isOnSearching=!1}set dialogProps(e){this._dialogProps=e}get dialogProps(){return this._dialogProps}get isOnSearching(){return this._isOnSearching}set isOnSearching(e){this._isOnSearching=e}async initial(){this.dialogReady=!0}async initialStore(e){await this.libListModel.setInitialLibList(Hs.Normal),await this.libListModel.freshInitLibList([_e.SYSTEMLIB_UUID],this.libListModel.isFromProject),this.componentTable.docType&&(this.componentTable.docType=e.doctype),this.docType=e.doctype,this.componentTable.projectsIds=JSON.parse(JSON.stringify(this.libListModel.projectsIds)),this.componentTable.libList=ue.deepClone(this.libListModel.cacheLibList),this.componentTable.facets=JSON.parse(JSON.stringify(this.libListModel.facets)),this.componentTable.selectedLibIds=JSON.parse(JSON.stringify(this.libListModel.getSelectedTruthLibIds())),this.componentTable.initPageSize(),this.whenLibSelectedChanged()}async refreshLibList(){await this.libListModel.refreshLibListFromRemote(),this.componentTable.selectedLibIds=JSON.parse(JSON.stringify(this.libListModel.getSelectedTruthLibIds()))}async propsUpdate(e){var o,r;this.dialogProps=e;let i=[];this.dialogProps.wantSelectedLibItemId&&(this.libListModel.selectedIds=[this.dialogProps.wantSelectedLibItemId],this.componentTable.selectedLibIds=this.libListModel.getSelectedTruthLibIds()),typeof this.dialogProps.isFromProject<"u"&&(this.libListModel.isFromProject=!!this.dialogProps.isFromProject,this.componentTable.isFromProject=!!this.dialogProps.isFromProject),this.dialogProps.searchInputValue&&(this.componentSearchModel.searchValue=this.dialogProps.searchInputValue),typeof this.dialogProps.deviceList<"u"&&(i=this.dialogProps.deviceList),this.deviceListModel.tableCols=this.deviceListModel.updateTableColsProfile();try{let n;((o=this.dialogProps)==null?void 0:o.callScenType)==="DEVICE_DIALOG"||((r=this.dialogProps)==null?void 0:r.callScenType)==="BOTTOM_TABLE_LINK_SIMMODEL"?n=await iP("modelSimManagerDlg",this.dialogProps.deviceList[0].deviceId,this.dialogProps.deviceList[0].path):n=await iP("modelSimManagerDlg"),am.setCustomTableHeadData("modelSimManagerDlg",{...n})}catch(n){console.warn(`SimModelDlg Get Custom Device Header Data Error:${n}`)}}triggerFromUpdate(e={}){window.setTimeout(async()=>{this._cache={};let i=typeof this.dialogProps.deviceList<"u"?this.dialogProps.deviceList:[];if(this._cache.deviceList=i,this._cache.options={...e},e.updateTableSelectedRowNumbers){if(typeof this.dialogProps.deviceListSelectedIds<"u"){let o=[];this._cache.deviceListSelectedIds=this.dialogProps.deviceListSelectedIds,this._cache.deviceListSelectedIds.forEach(r=>{let n=Ft(i,"$id",r);n.index>=0&&o.push(n.index)}),this._cache.tableSelectedRowNumbers=o}this.refreshDeviceList()}e.triggerUpdateDeviceListByUpdateBtn&&(this.deviceListModel.tableData=i,this.deviceListModel.refreshDeviceListBySearch(this.deviceListModel.searchValue)),this.deviceListModel.updateSortKeyValueList("$id")})}async refreshDeviceList(){let{tableSelectedRowNumbers:e,deviceList:i,deviceListSelectedIds:o}=this._cache;typeof o<"u"&&(this.deviceListModel.selectedIds=o),this.deviceListModel.tableData=i,this.deviceListModel.tableSelectedRowNumbers=e,this.deviceListModel.refreshDeviceListBySelectedIds(),this.deviceListModel.updateSortKeyValueList("$id"),await this.whenDeviceListRowSelectedChanged(),this._cache={}}whenCategorySelectedChanged(){this.componentTable.clearAllRemoteData(),this.componentTable.refreshComponentList(this.libListModel.getSelectedTruthLibIds()[0],this.libListModel.getSelectedTruthLibIds()[0],this.componentSearchModel.isInSearchingStatus?this.componentSearchModel.searchValue:"",this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenImmersedComponentSearchStatus(){if(this.componentSearchModel.searchValue.trim().length>128){this.searchValueLengthVerify();return}this.isOnSearching=!0,this.categoryModel.recoverSelectToDefault(),this.componentTable.clearAllRemoteData(),this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,!(Tn||Ko),!1),this.componentSearchModel.isInSearchingStatus,{}),F0(this,{kv:{facets:{}},targets:["componentTable"]}),this.componentTable.refreshComponentList(this.libListModel.getSelectedTruthLibIds()[0],this.libListModel.getSelectedTruthLibIds()[0],this.componentSearchModel.searchValue,this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]),e=>{e==="search"&&(F0(this,{kv:{facets:this.componentTable.facets},targets:["libListModel"]}),this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,!(Tn||Ko),!1),this.componentSearchModel.isInSearchingStatus))})}whenExitComponentSearchStatus(){this.isOnSearching=!1,this.categoryModel.recoverSelectToDefault(),this.componentTable.clearAllRemoteData(),this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.initalLibList),!1,{}),F0(this,{kv:{facets:{}},targets:["componentTable"]}),this.componentTable.refreshComponentList(this.libListModel.getSelectedTruthLibIds()[0],this.libListModel.getSelectedTruthLibIds()[0],"",this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenLibSelectedChanged(){this.categoryModel.clearCategoryList(),this.componentTable.clearAllRemoteData(),this.categoryModel.refreshCategoryList(this.libListModel.getSelectedTruthLibIds()[0],this.libListModel.getSelectedTruthLibIds()[0],this.libListModel),F0(this,{kv:{facets:{},selectedLibIds:this.libListModel.getSelectedTruthLibIds()},targets:["componentTable"]}),this.componentTable.refreshComponentList(this.libListModel.getSelectedTruthLibIds()[0],this.libListModel.getSelectedTruthLibIds()[0],this.componentSearchModel.isInSearchingStatus?this.componentSearchModel.searchValue:"",[],e=>{this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,!1,!0),this.componentSearchModel.isInSearchingStatus,this.componentTable.facets)})}whenComponentListChange(e,i,o,r){if(e==="simTable"){this.simPinList.sortTable(i,"$id",r);return}if(e==="pinTable"){this.pinListModel.sortTable(i,"$id",r);return}if(e==="componentTable"){this.componentTable.sortTable(i,"$id",r);return}if(e==="deviceTable"){this.deviceListModel.sortTable(i,"$id",r),this.deviceListModel.refreshDeviceListBySearch(this.deviceSearchModel.searchValue.trim());return}}whenComponentListPageChanged(){this.componentTable.clearAllRemoteData(),this.componentTable.refreshComponentList(this.libListModel.getSelectedTruthLibIds()[0],this.libListModel.getSelectedTruthLibIds()[0],this.componentSearchModel.isInSearchingStatus?this.componentSearchModel.searchValue:"",this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenComponentListRowSelectedChanged(){C.messageBus.publish("ui/simmodel/simdialog/conbtndisabledstatus",!0),this.componentTable.refreshComponentItem(this.componentTable.componentItemId,this.libListModel.getSelectedTruthLibIds()[0],e=>{if(e){let i=pqe(e);this.whenSimPinListReady(i)}})}whenSimPinListReady(e){this.pinListModel.refreshPinListBySimModel(e,this.docType),this.simPinList.refreshSimPinList(ue.deepClone(e),this.pinListModel.tableData)}whenPinListReady(e){this.pinListModel.refreshPinList(ue.deepClone(e))}whenImmersedDeviceSearchStatus(){this.deviceListModel.washDeviceListBeforeStartSearchProcess(),this.deviceListModel.refreshDeviceListBySearch(this.deviceSearchModel.searchValue.trim())}whenExitDeviceSearchStatus(){this.deviceListModel.washDeviceListBeforeExitSearchProcess(),this.deviceListModel.renderTableData=ue.deepClone(this.deviceListModel.tableData)}async whenDeviceListRowSelectedChanged(){let e=this.deviceListModel.renderTableData[this.deviceListModel.tableSelectedRowNumbers[0]];e&&(this.componentSearchModel.searchValue=e.simmodelItemTitle,e.symbolItem&&lI(e.symbolItem,void 0).then(i=>{this.whenPinListReady(i.pinList)}))}whenSimPinListRowSelectedChanged(e){if(e===null||typeof e>"u"){this.simPinList.selectedIds=[],this.simPinList.tableSelectedRowNumbers=[],this.pinListModel.selectedIds=[],this.pinListModel.tableSelectedRowNumbers=[];return}let i=e?Ft(this.simPinList.tableData,"$id",e).data:this.simPinList.tableData[this.simPinList.tableSelectedRowNumbers[0]];if(i){let o=Jqi(this.pinListModel.tableData,"pinNumber",i.pinNumber);o.index>=0?this.pinListModel.tableSelectedRowNumbers=[o.index]:this.pinListModel.tableSelectedRowNumbers=[]}}whenPinListRowSelectedChanged(e){if(e===null||typeof e>"u"){this.simPinList.selectedIds=[],this.simPinList.tableSelectedRowNumbers=[],this.pinListModel.selectedIds=[],this.pinListModel.tableSelectedRowNumbers=[];return}let i=e?Ft(this.pinListModel.tableData,"$id",e).data:this.pinListModel.tableData[this.pinListModel.tableSelectedRowNumbers[0]];if(i){let o=i.pinNumber.split(","),r=[],n=[];for(let a=0,s=o.length;a<s;a++){let l=o[a],c=Ft(this.simPinList.tableData,"pinNumber",l);c.index>=0?r.push(c.index):this.simPinList.tableSelectedRowNumbers=[]}this.simPinList.tableSelectedRowNumbers=r}}},q2=(0,Xqi.createContext)(void 0);var mqe=L(Se());var eXi=L(xO()),G7t=L(z()),{locals:g7r}=eXi.default;function b7r(t){let e=J(),i=`display-flex flex-nowrap ${g7r["component-search-section"]}`,o=(0,mqe.useContext)(q2);Ce(o.componentSearchModel);let r=(s,l)=>{o.componentSearchModel.searchValue=s},n=(s,l)=>{o.componentSearchModel.searchValue="",o.componentSearchModel.isInSearchingStatus&&(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,o.whenExitComponentSearchStatus())},a=(s,l)=>{o.componentSearchModel.searchValue?(o.componentSearchModel.isInSearchingStatus=!0,o.libListModel.isSearchStatus=!0,o.whenImmersedComponentSearchStatus()):(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,o.whenExitComponentSearchStatus())};return(0,G7t.jsx)("section",{className:i,children:(0,G7t.jsx)(Bm,{initShowValue:o.componentSearchModel.searchValue,placeholder:o.componentSearchModel.searchPlaceHolder,onUpdateInputValue:r,onClearInputValue:n,onConfirm:a})})}var tXi=mqe.default.memo(b7r);var hqe=L(Se());var iXi=L(xO());var Y7t=L(z()),{locals:y7r}=iXi.default;function w7r(t){let e=J(),i=`${y7r["liblist-section"]}`,o=(0,hqe.useContext)(q2);Ce(o.libListModel);let r=()=>{o.libListModel.searchValue=""},n=(s,l)=>{o.libListModel.selectedIds=s,o.whenLibSelectedChanged()},a=()=>{o.refreshLibList().then(()=>{o.componentSearchModel.searchValue?(o.componentSearchModel.isInSearchingStatus=!0,o.libListModel.isSearchStatus=!0,o.whenImmersedComponentSearchStatus()):(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,o.whenExitComponentSearchStatus())})};return(0,Y7t.jsx)("section",{className:i,children:(0,Y7t.jsx)(j3,{selectedIds:o.libListModel.selectedIds,emptyLabel:o.libListModel.emptyLabel,libList:o.libListModel.cacheLibList,searchPlaceholder:o.libListModel.searchPlaceHolder,searchValue:o.libListModel.searchValue,selectedLibsAction:n,clearSearchInputAction:r,libRefreshAction:a})})}var oXi=hqe.default.memo(w7r);var fqe=L(Se());var rXi=L(xO());var W7t=L(z()),{locals:C7r}=rXi.default;function x7r(t){let e=J(),i=`${C7r["category-section"]}`,o=(0,fqe.useContext)(q2);Ce(o.categoryModel);let r=()=>{o.categoryModel.searchValue=""},n=a=>{o.categoryModel.renderSelectedIds=a,o.whenCategorySelectedChanged()};return(0,W7t.jsx)("section",{className:i,children:(0,W7t.jsx)(Gb,{isVirtualList:!0,selectedIds:o.categoryModel.renderSelectedIds,categoryList:o.categoryModel.renderCategoryList,searchPlaceholder:o.categoryModel.searchPlaceHolder,searchValue:o.categoryModel.searchValue,selectedCategoriesAction:n,clearSearchInputAction:r,libItemInfo:o.libListModel.currentSelectLibItem,initCategoryActiveTab:o.categoryModel.requestTypes[0],ownerSelectValue:o.libListModel.getSelectedTruthLibIds()[0]})})}var nXi=fqe.default.memo(x7r);var VI=L(Se());var aXi=L(xO());var oz=L(z()),{locals:T7r}=aXi.default;function S7r(t){let e=J(),i=`display-flex flex-direct-column flex-main-axis-stretch ${T7r["table-section"]}`,o=(0,VI.useContext)(q2);Ce(o.componentTable);let r=(0,VI.useRef)(null),n=(0,VI.useRef)(null),[a,s]=(0,VI.useState)(100),[l,c]=(0,VI.useState)(o.componentTable.tableCols.map(h=>({...h,name:e(h.name)}))),d=h=>{let{row:f,selectedRowNumbers:g,tableData:b=[]}=h,y=b[g[0]];!y||f.$id!==y.$id||(o.hasClickedComponentItem=!0,o.componentTable.tableSelectedRowNumbers=g,o.componentTable.componentItemId=y.uuid,o.whenComponentListRowSelectedChanged())},u=(h,f)=>{o.componentTable.pageNumber!==f&&(o.componentTable.pageNumber=+f,o.whenComponentListPageChanged())},p=h=>{o.componentTable.pageSize=+h,Vg("table",h),o.whenComponentListPageChanged()},m=(h,f,g)=>{o.whenComponentListChange("componentTable",h,f,g)};return(0,VI.useEffect)(()=>{n.current.refresh()},[o.componentTable.tableData]),(0,VI.useEffect)(()=>(r.current&&window.setTimeout(()=>{if(!r.current)return;let h=r.current.getBoundingClientRect();s(h.height),r.current.style.width=h.width+"px"},200),()=>{}),[]),(0,VI.useEffect)(()=>{c(o.componentTable.tableCols.map(h=>({...h,name:e(h.name)})))},[o.componentTable.tableCols]),(0,oz.jsx)("section",{className:i,children:(0,oz.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-stretch",style:{width:"100%",height:"100%",position:"relative",overflowY:"hidden",overflowX:"auto"},children:[(0,oz.jsx)("div",{ref:r,style:{height:"100%",width:"100%",overflowY:"hidden",overflowX:"auto"},children:(0,oz.jsx)(xi,{ref:n,index:"$id",border:!0,onChange:m,height:a,columns:l,openHeadContentMenu:!0,showCustomHeadSettingOnHeadContextmenu:!1,rows:o.componentTable.tableData,onClick:d,openVirtualScroll:!0,selectedRowNumbers:o.componentTable.tableSelectedRowNumbers,searchValue:o.isOnSearching&&o.componentSearchModel.searchValue?o.componentSearchModel.searchValue:"",showStatus:o.componentTable.componentListLoadStatus!=="",statusNode:(0,oz.jsx)("div",{style:{lineHeight:"50px",textAlign:"center"},children:(0,oz.jsx)("span",{children:e(o.componentTable.componentListLoadStatus)})})})}),(0,oz.jsx)("div",{style:{width:"100%",height:"30px",overflow:"hidden",display:"flex",justifyContent:"flex-end",alignContent:"center",alignItems:"center",textAlign:"right",padding:"5px 5px 0 5px"},children:(0,oz.jsx)(cp,{simplify:!0,inputJump:!1,pageNumber:o.componentTable.pageNumber,countTotal:o.componentTable.totalCount,cutSize:o.componentTable.pageSize,cutSizeOptions:o.componentTable.cutSizeOptions,onPageNumberChange:u,onPageSizeChange:p,gDisabled:o.componentTable.paginationDisabled})})]})})}var sXi=VI.default.memo(S7r);var _4=L(Se());var lXi=L(xO());var Q7t=L(Hr());var EY=L(z()),{locals:Nnc}=lXi.default;function cXi(t){let e=J(),i=(0,_4.useContext)(q2);Ce(i.pinListModel);let o=(0,_4.useRef)(null),r=(0,_4.useRef)(null),[n,a]=(0,_4.useState)(100),s=(0,_4.useRef)(null),[l,c]=(0,_4.useState)([-1]);(0,_4.useEffect)(()=>{c(l.filter(f=>i.pinListModel.tableSelectedRowNumbers.includes(f)))},[i.pinListModel.tableSelectedRowNumbers]);let[d,u]=(0,_4.useState)([]),p=(0,_4.useMemo)(()=>{let f=i.simPinList.tableData,g=i.pinListModel,b=[],y=[];return f.length>0?(b=f.map(w=>{let x=i.docType===ve.SIMULIDE_MODEL,S=w.simPinName;return S==="Not Connected"||!S?null:{value:S,text:S,showOriginalText:!0}}).filter(Boolean),[...b,{value:"Not Connected",text:"Not Connected",showOriginalText:!0}]):(y=g.tableData.map(w=>{let S=i.docType===ve.SIMULIDE_MODEL?w.pinSimName:w.pinNgName;return S==="Not Connected"||!S?null:{value:S,text:S,showOriginalText:!0}}).filter(Boolean),[...y,{value:"Not Connected",text:"Not Connected",showOriginalText:!0}])},[i.simPinList.tableData,i.pinListModel.tableData]),m=(f,g,b)=>{i.whenComponentListChange("pinTable",f,g,b)};(0,_4.useEffect)(()=>{r.current.cancelSortStatus(),i.pinListModel.sortTable(i.pinListModel.tableData,"$id","NORMAL")},[i.pinListModel.resetSortTag]),(0,_4.useEffect)(()=>(o.current&&window.setTimeout(()=>{let f=o.current.getBoundingClientRect();a(f.height)},200),()=>{}),[]),(0,_4.useEffect)(()=>{let f=[{key:UI["Pin Number"],name:e("No."),width:.2,sortable:!0,render(g){let{row:b}=g,y=b[UI["Pin Number"]];return(0,EY.jsx)("span",{title:y,children:y})}},{key:UI["Pin Name"],name:e("Name"),width:.2,sortable:!0,render(g){let{row:b}=g,y=b[UI["Pin Name"]];return(0,EY.jsx)("span",{title:y,children:y})}},{key:h(),name:e("SimName"),width:.6,sortable:!0,render(g){let b=i.pinListModel,{row:y,rowNumber:w,setRowData:x}=g,S=y[h()];return l.includes(w)?(0,EY.jsx)(xt,{value:S,list:p,onChange:T=>{i.pinListModel.tableData.forEach(I=>{I[h()]===T&&I.$id!==y.$id&&(I[h()]="Not Connected")}),y[h()]=T}}):(0,EY.jsx)("span",{children:S})}}];u(f)},[l,p]);let h=()=>i.docType===ve.SIMULIDE_MODEL?UI["Pin SimName"]:UI["Pin NgName"];return(0,EY.jsx)("div",{ref:o,style:{width:"100%",height:"100%"},onClick:()=>{let f=i.pinListModel.tableSelectedRowNumbers.indexOf(0);s.current=window.setTimeout(()=>{i.whenPinListRowSelectedChanged(null)},100),!(f<=-1)&&(i.pinListModel.tableSelectedRowNumbers.splice(f,1),i.pinListModel.tableSelectedRowNumbers=[...i.pinListModel.tableSelectedRowNumbers])},children:(0,EY.jsx)(xi,{index:"$id",border:!0,ref:r,height:n,columns:d,scrollXBaseBottom:5,onChange:m,rows:i.pinListModel.tableData,selectedRowNumbers:i.pinListModel.tableSelectedRowNumbers,onClick:({allSelectedRowIndexValues:f,editingRowNumbers:g,clickObj:b,row:y})=>{var x;let w=i.pinListModel;((x=b.e)==null?void 0:x.button)===0&&(!b.isCtrl&&!b.isShift&&(g.includes(b.rowNumber)||f.has(y.$id)&&w.mySelectIds.has(y.$id))&&c([b.rowNumber]),i.pinListModel.tableSelectedRowNumbers=[b.rowNumber],i.whenPinListRowSelectedChanged(y.$id),w.mySelectIds=new Set(f))},editingRowNumbers:l})})}var knc=_4.default.memo(cXi);function dXi(t){let{storeValue:e,rootElement:i=document.getElementById("pin-list-panel")}=t;try{if(!i||!e)return console.error("\u521D\u59CB\u5316\u5F15\u811A\u9762\u677F\u5931\u8D25\uFF1A\u7F3A\u5C11\u5BB9\u5668\u6216\u4E0A\u4E0B\u6587\u503C"),!1;let o=()=>i.innerHTML="";return o(),(0,Q7t.createRoot)(i).render((0,EY.jsx)(q2.Provider,{value:e,children:(0,EY.jsx)(cXi,{})})),{cleanup:o,unmount:()=>(0,Q7t.createRoot)(i).unmount()}}catch(o){return console.error("\u521D\u59CB\u5316\u5F15\u811A\u5217\u8868\u5931\u8D25",o),!1}}var HI=L(Se());var uXi=L(xO());var K7t=L(z()),{locals:Unc}=uXi.default;function I7r(t){let e=J(),i=(0,HI.useContext)(q2);Ce(i.simPinList);let o=(0,HI.useRef)(null),r=(0,HI.useRef)(null),[n,a]=(0,HI.useState)(100),[s,l]=(0,HI.useState)(i.simPinList.tableCols.map(m=>({...m,name:e(m.name)}))),c=(0,HI.useRef)(null),d=(m,h)=>{window.clearTimeout(c.current),i.simPinList.tableSelectedRowNumbers=[h],i.whenSimPinListRowSelectedChanged(m.$id)},u=(m,h)=>{let f=i.simPinList.tableSelectedRowNumbers.indexOf(h);c.current=window.setTimeout(()=>{i.whenSimPinListRowSelectedChanged(null)},100),!(f<=-1)&&(i.simPinList.tableSelectedRowNumbers.splice(f,1),i.simPinList.tableSelectedRowNumbers=[...i.simPinList.tableSelectedRowNumbers])},p=(m,h,f)=>{i.whenComponentListChange("simTable",m,h,f)};return(0,HI.useEffect)(()=>{r.current.cancelSortStatus(),i.simPinList.sortTable(i.simPinList.tableData,"$id","NORMAL")},[i.simPinList.resetSortTag]),(0,HI.useEffect)(()=>(o.current&&window.setTimeout(()=>{let m=o.current.getBoundingClientRect();a(m.height)},200),()=>{}),[]),(0,K7t.jsx)("section",{ref:o,style:{width:"100%",height:"100%"},children:(0,K7t.jsx)(xi,{index:"$id",border:!0,ref:r,onChange:p,height:n,columns:s,onRowMouseEnter:d,onRowMouseLeave:u,rows:i.simPinList.tableData,selectedRowNumbers:i.simPinList.tableSelectedRowNumbers})})}var pXi=HI.default.memo(I7r);var gqe=L(Se());var mXi=L(xO()),Z7t=L(z()),{locals:L7r}=mXi.default;function v7r(t){let e=J(),i=`display-flex flex-nowrap ${L7r["device-search-section"]}`,o=(0,gqe.useContext)(q2);Ce(o.deviceSearchModel);let r=(s,l)=>{o.deviceSearchModel.searchValue=s,o.deviceListModel.searchValue=s},n=(s,l)=>{o.deviceSearchModel.searchValue="",o.deviceListModel.searchValue="",o.deviceSearchModel.isInSearchingStatus&&(o.deviceSearchModel.isInSearchingStatus=!1,o.whenExitDeviceSearchStatus())},a=(s,l)=>{o.deviceSearchModel.searchValue?o.deviceSearchModel.isInSearchingStatus=!0:o.deviceSearchModel.isInSearchingStatus=!1,o.whenImmersedDeviceSearchStatus()};return(0,Z7t.jsx)("section",{className:i,children:(0,Z7t.jsx)(Bm,{initShowValue:o.deviceSearchModel.searchValue,placeholder:o.deviceSearchModel.searchPlaceHolder,isImmediatelyDoConfirmAtEndinput:!0,onUpdateInputValue:r,onClearInputValue:n,onConfirm:a})})}var hXi=gqe.default.memo(v7r);var ZD=L(Se());var fXi=L(xO());var bqe=L(z()),{locals:D7r}=fXi.default;function E7r(t){let e=J(),i=(0,ZD.useRef)(null),o=`display-flex flex-direct-column flex-main-axis-stretch ${D7r["table-section"]}`,r=(0,ZD.useContext)(q2);Ce(r.deviceListModel);let n=(0,ZD.useRef)(null),[a,s]=(0,ZD.useState)(100),l=u=>{let{row:p,selectedRowNumbers:m,tableData:h=[]}=u,f=[];m.forEach(g=>{let b=h[g];b&&f.push(b.$id)}),window.clearTimeout(i.current),i.current=window.setTimeout(async()=>{r.deviceListModel.tableSelectedRowNumbers=m,r.deviceListModel.selectedIds=f,r.deviceListModel.refreshDeviceListBySelectedIds(),await r.whenDeviceListRowSelectedChanged()},16.67)},c=(u,p,m)=>{m.isTriggerByRowsUpdate||m.isTriggerByCheckListUpdate||(r.deviceListModel.tableSelectedRowNumbers=p,r.deviceListModel.selectedIds=u.map(h=>h.$id),r.deviceListModel.refreshDeviceListBySelectedIds())},d=(u,p,m)=>{r.whenComponentListChange("deviceTable",u,p,m)};return Bt(u=>{r.deviceListModel.tableCols=r.deviceListModel.updateTableColsProfile(u)}).key("modelSimManagerDlg_custom_head"),(0,ZD.useEffect)(()=>(n.current&&window.setTimeout(()=>{if(!n.current)return;let u=n.current.getBoundingClientRect();s(u.height)},200),()=>{r.deviceListModel.tableCols=r.deviceListModel.tableCols.map(u=>({...u,name:e(u.name)}))}),[]),(0,ZD.useEffect)(()=>{r.deviceListModel.renderTableData.length>0&&r.deviceListModel.renderTableData.forEach(u=>{let{hasIdButNotFound:p}=u;p!=null&&p.symbol&&(u.symbolItemTitle=e("Abnormal data!")),p!=null&&p.simModel&&(u.simmodelItemTitle=e("Abnormal data!"))})},[r.deviceListModel.renderTableData]),(0,ZD.useEffect)(()=>{r.deviceListModel.tableCols.forEach(u=>{u.onCell=(p,m,h)=>{var f;if((f=p.hasIdButNotFound)!=null&&f.Footprint&&h==="footprintItemTitle")return{style:{color:"red"}}}})},[r.deviceListModel.tableCols]),(0,bqe.jsx)("section",{className:o,children:(0,bqe.jsx)("div",{ref:n,style:{height:"100%",width:"100%",overflowY:"hidden",border:"1px solid var(--border-color-panel-divider)",overflowX:"auto"},children:(0,bqe.jsx)(xi,{name:"modelSimManagerDlg",index:"$id",border:!0,checkbox:!0,height:a,columns:r.deviceListModel.tableCols,multiSelect:!0,showCustomHeadSettingOnHeadContextmenu:!0,openHeadContentMenu:!0,rows:r.deviceListModel.renderTableData,onClick:l,onChange:d,onCheckRow:c,openVirtualScroll:!0,selectedRowNumbers:r.deviceListModel.tableSelectedRowNumbers,searchValue:r.deviceListModel.searchValue})})})}var gXi=ZD.default.memo(E7r);var cg=L(z()),{locals:mac}=bXi.default;function A7r(t){let e=(0,jae.useContext)(q2),i=(0,jae.useRef)(null),o=(0,jae.useRef)({});return(0,jae.useEffect)(()=>{let r=i.current;if(r&&e){let n=document.getElementById("pin-list-panel")||r,a=dXi({storeValue:e,rootElement:n});a&&(o.current=a)}return()=>{o.current.cleanup&&o.current.cleanup()}},[e]),(0,cg.jsxs)("div",{style:{width:"100%",height:"100%",display:"flex",flexWrap:"nowrap"},children:[(0,cg.jsxs)("div",{style:{width:"calc(100% - 230px)",height:"100%",flexShrink:"0",position:"relative"},children:[(0,cg.jsx)("div",{"data-test":"device panel",style:{display:"flex",flexWrap:"nowrap",width:"100%",height:"50%",paddingBottom:"5px"},children:(0,cg.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-between flex-lateral-axis-stretch flex-nowrap",style:{width:"100%",height:"100%",overflow:"hidden"},children:[(0,cg.jsx)(hXi,{}),(0,cg.jsx)("div",{className:"display-flex flex-nowrap",style:{height:"calc(100% - 30px)"},children:(0,cg.jsx)(gXi,{})})]})}),(0,cg.jsxs)("div",{"data-test":"simModel panel",style:{display:"flex",flexWrap:"nowrap",width:"100%",height:"50%",paddingBottom:"5px"},children:[(0,cg.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-between flex-lateral-axis-stretch flex-nowrap",style:{width:"40%",height:"100%",overflow:"hidden"},children:[(0,cg.jsx)(tXi,{}),(0,cg.jsxs)("div",{className:"display-flex flex-nowrap",style:{height:"calc(100% - 30px)"},children:[(0,cg.jsx)(oXi,{}),(0,cg.jsx)(nXi,{})]})]}),(0,cg.jsx)("div",{style:{width:"60%",height:"100%",margin:"0 0 0 5px",border:"1px solidvar(--border-color-table-header)",overflow:"auto"},children:(0,cg.jsx)(sXi,{})})]})]}),(0,cg.jsxs)("div",{"data-test":"pin panel",style:{width:"230px",height:"100%",paddingLeft:"5px",flexShrink:"0"},children:[(0,cg.jsx)("div",{style:{display:"flex",width:"100%",height:"50%",paddingBottom:"5px"},children:(0,cg.jsx)("div",{ref:i,id:"pin-list-panel",style:{width:"100%",height:"100%",border:"1px solid var(--border-color-table-header)"}})}),(0,cg.jsx)("div",{style:{display:"flex",width:"100%",height:"50%",paddingBottom:"5px"},children:(0,cg.jsx)("div",{style:{width:"100%",height:"100%",border:"1px solid var(--border-color-table-header)"},children:(0,cg.jsx)(pXi,{})})})]})]})}var yXi=A7r;var m5=L(z()),{locals:yqe}=wqe.default,wXi=null,N7r=t=>{let e=J(),{dialogWidth:i,dialogHeight:o,containerId:r,dialogId:n,callScenType:a,onDialogOpen:s,onDialogCancel:l,onDialogClose:c,onDialogConfirm:d,onDialogClosed:u}=t,[p,m]=(0,GI.useState)(null),h=(0,GI.useRef)(null);h.current=p;let[f,g]=(0,GI.useState)(!0),b=(0,GI.useRef)(null),y=(0,GI.useRef)(null),w=`pop-content-wrapper display-flex flex-nowrap ${yqe["main-container"]}`,x=`${yqe["view-loading-wrapper"]}`,S=`${yqe["view-loading"]}`,T=`rotation ${yqe["view-loading-rotation"]}`,M=(0,GI.useCallback)(A=>{if(A.keyCode===13){let D=A.target;h.current&&y.current&&document.activeElement===b.current&&D===b.current&&y.current(iqe[a].cmd)}},[]),I=async A=>{let D=p.libListModel.getSelectedTruthLibIds()[0],E=p.libListModel.cacheLibList.find(R=>R.id===D),N=E?[_e.LIB_SYSTEM_KEY,_e.LIB_PROJECT_KEY,_e.LIB_PERSONAL_KEY,_e.LIB_PUBLIC_KEY,_e.LIB_FAVORITE_KEY,_e.LIB_TEMAS_KEY].indexOf(E.key)>=0?String(E.id):String(E.title):D;if(A===_6e.cmd){let R=p.componentTable.componentItem;if(!R){De({msg:me.i18n("Please select one SimModel"),type:"error"});return}if((d?await d({stamp:new Date().getTime(),componentItem:R,pinList:p.pinListModel.tableData,path:D,deviceList:p.deviceListModel.tableData,deviceListSelectedIds:p.deviceListModel.selectedIds,libListSelectedIds:p.libListModel.getSelectedTruthLibIds(),libList:p.libListModel.cacheLibList,hasClickedComponentItem:p.hasClickedComponentItem}):!0)===!1)return;c&&c(),window.setTimeout(()=>{le.close()},100);return}if(A===V7t.cmd){let R=p.componentTable.componentItem;if(!R){De({msg:"Please select one footprint",type:"error"});return}d&&d({stamp:new Date().getTime(),componentItem:R,path:D,pinList:p.pinListModel.tableData,deviceList:p.deviceListModel.tableData,deviceListSelectedIds:p.deviceListModel.selectedIds,libListSelectedIds:p.libListModel.getSelectedTruthLibIds(),libList:p.libListModel.cacheLibList,hasClickedComponentItem:p.hasClickedComponentItem});return}A==="cancel"&&l&&l(),await oo({action:A,dialogId:n,formData:{}}),c&&c(),le.close()};return y.current=I,(0,GI.useEffect)(()=>{let A=C.messageBus.subscribe("ui/simmodel/simdialog/close",()=>{A.cancel(),le.close()}),D=C.messageBus.subscribe("ui/simmodel/simdialog/refreshDeviceList",N=>{h.current.propsUpdate({...h.current.dialogProps,deviceList:N}),h.current.triggerFromUpdate({triggerUpdateDeviceListByUpdateBtn:!0})}),E=C.messageBus.subscribe("ui/simmodel/simdialog/conbtndisabledstatus",N=>{g(N)});return document.addEventListener("keydown",M,!1),()=>{D.cancel(),E.cancel(),document.removeEventListener("keydown",M)}},[]),(0,GI.useLayoutEffect)(()=>{window.clearTimeout(wXi),wXi=window.setTimeout(()=>{$qi().then(async A=>{await A.propsUpdate(t),await A.initialStore(t),A.triggerFromUpdate({updateTableSelectedRowNumbers:!0}),m(A),s&&s()})},30)},[]),(0,GI.useEffect)(()=>()=>{u&&u()},[]),p?(0,m5.jsxs)("div",{tabIndex:0,className:"pop-content-container",style:{height:o+"px"},ref:b,children:[(0,m5.jsx)("style",{children:String(wqe.default)}),(0,m5.jsxs)(q2.Provider,{value:p,children:[(0,m5.jsx)("div",{className:w,children:(0,m5.jsx)(yXi,{...t})}),(0,m5.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,m5.jsx)(Me,{disabled:f,type:"primary",style:{marginRight:"8px"},onClick:()=>I(iqe[a].cmd),children:iqe[a].text}),(0,m5.jsx)(Me,{onClick:()=>I("cancel"),children:"Cancel"})]})]})]}):(0,m5.jsxs)("div",{className:"pop-content-container",style:{height:o+"px"},children:[(0,m5.jsx)("style",{children:String(wqe.default)}),(0,m5.jsx)("div",{className:x,children:(0,m5.jsx)("div",{className:S,children:(0,m5.jsx)("div",{className:T,children:(0,m5.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})]})},CXi=N7r;var TXi=L(z());async function xXi(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;return le.open({id:o,title:r,width:n,closed:s,esc:!0,folded:!1,children:(0,TXi.jsx)(CXi,{containerId:o,dialogId:t.dialogId,callScenType:t.callScenType,doctype:t.docType,...t,dialogWidth:n,dialogHeight:a})}),le}async function J7t(t){return await ii("sim_Model_Manager",{...t})}async function uge(t,e,i){try{let o={titles:[t],docType:i,path:e,isProject:!1},n={uuid:(await Ze.getSimModelSearchList(o))[t][0].uuid,path:e,isProject:!1};return await Ze.getSimModel(n)}catch{return null}}var MXi=L(z()),{locals:Asc}=SXi.default;var O7r=L(Se()),IXi=L(Zm());var LXi=L(z()),{locals:$sc}=IXi.default;var qd=L(z()),{locals:XC}=vXi.default,R7r=/^matrix3d\((?:[-\d.]+,\s*){12}([-\d.]+),\s*([-\d.]+)(?:,\s*[-\d.]+){2}\)/,_7r=/^matrix\((?:[-\d.]+,\s*){4}([-\d.]+),\s*([-\d.]+)\)$/;function DXi(t){let{dialogHeight:e,containerId:i,confirmBtnDisabledStatus:o,confirmBtnTextString:r}=t,n=J(),a=(0,TO.useContext)(gc);Ce(a);let{window:s}=(0,TO.useContext)(_r);y7.emit("syncDialogFootButtonsState",{isSimplifyBtnDisabled:a.simplifyBtnDisabled,isShowModeSwitchBtn:a.isShowModeSwitchBtn,containerId:i,confirmBtnDisabledStatus:o,confirmBtnTextString:r,userIdSelected:a.infoPanel.userIdSelected},w7);let l=(0,TO.useRef)({dialogStore:null,hasMove:!1,isMouseDown:!1,targetElement:null,mouseDownClientX:0,mouseDistX:0,mouseMoveX:0,allTagElements:[]});l.current.dialogStore=a;let c=(0,TO.useCallback)(AXi(()=>{let h=l.current.allTagElements;for(let f=0;f<h.length;f++)h[f].style.flex=`0 0 ${l.current.mouseMoveX}px`},16.67),[]),d=(0,TO.useCallback)(h=>{h.preventDefault(),l.current.isMouseDown=!0,l.current.hasMove=!1,l.current.targetElement=h.target,l.current.mouseDownClientX=h.clientX;let f=EXi(l.current.targetElement,"transform"),g=f.match(R7r)||f.match(_7r);l.current.mouseDistX=l.current.mouseDownClientX-+g[1],l.current.allTagElements=Array.from(l.current.targetElement.parentElement.querySelectorAll('[data-tagitem="profileline-label-wrapper"],.key_section')),s.document.addEventListener("mousemove",u),s.document.addEventListener("mouseup",p),window.setTimeout(()=>{m(l.current.targetElement.parentElement)})},[]),u=(0,TO.useCallback)(h=>{h.preventDefault(),l.current.isMouseDown=!0,l.current.hasMove=!0,l.current.mouseMoveX=h.clientX-l.current.mouseDistX,l.current.mouseMoveX=l.current.mouseMoveX<=Kfe?Kfe:l.current.mouseMoveX,l.current.mouseMoveX=l.current.mouseMoveX>=Zfe?Zfe:l.current.mouseMoveX;let f=l.current.targetElement;f.style.transform=`translate3d(${l.current.mouseMoveX}px, 0px, 5px)`,c()},[]),p=(0,TO.useCallback)(h=>{h.preventDefault(),l.current.isMouseDown=!1,lg.attributeLabelWidth=l.current.mouseMoveX,s.document.removeEventListener("mousemove",u),s.document.removeEventListener("mouseup",p),window.setTimeout(()=>{l.current.hasMove=!1,l.current.allTagElements=[],l.current.dialogStore.setPerference()})},[]),m=(0,TO.useCallback)(h=>{if(!h)return;let f=Array.from(h.querySelectorAll("input"));for(let g=0;g<f.length;g++)f[g].blur()},[]);return(0,qd.jsxs)("div",{"data-tagitem":"container-main",className:XC.container,children:[(0,qd.jsxs)("div",{className:XC["basecontent-wrapper"],children:[(0,qd.jsxs)("div",{className:XC["section-area"],style:{width:"50%",paddingRight:"5px"},children:[(0,qd.jsx)("div",{className:XC["section-area-label"],"data-test":"Device Infomation",i18n:"Device Infomation",children:n("Device Infomation")}),(0,qd.jsxs)("div",{"data-tagitem":"deviceEditDialogBaseProperty",className:XC["section-area-content"],style:{maxHeight:"435px"},children:[(0,qd.jsx)(JZi,{}),(0,qd.jsx)(qZi,{}),(0,qd.jsx)(SJi,{}),(0,qd.jsx)(xJi,{}),(0,qd.jsx)(IJi,{}),(0,qd.jsx)(sqi,{}),(0,qd.jsx)(vJi,{}),!1,(0,qd.jsx)(cqi,{}),(0,qd.jsx)(uqi,{})]})]}),(0,qd.jsxs)("div",{className:XC["section-area"],style:{width:"50%",paddingLeft:"5px"},children:[(0,qd.jsx)("div",{className:XC["section-area-label"],"data-test":"Property",i18n:"Property",children:n("Property")}),(0,qd.jsx)("i",{onMouseDown:d,className:XC["drag-controller"],style:{transform:`translate3d(${lg.attributeLabelWidth}px, 0px, 5px)`}}),(0,qd.jsxs)("div",{"data-tagitem":"deviceEditDialogAttrProperty",className:XC["section-area-content"],style:{maxHeight:"435px"},children:[(0,qd.jsx)(Fqi,{}),(0,qd.jsx)(Vqi,{}),(0,qd.jsx)(Qqi,{})]})]})]}),(0,qd.jsx)("div",{className:XC["thumb-wrapper"],children:(0,qd.jsxs)("div",{className:XC["section-area"],children:[(0,qd.jsx)("div",{className:XC["section-area-label"],"data-test":"Preview",i18n:"Preview",children:n("Preview")}),(0,qd.jsxs)("div",{className:XC["section-area-content"],style:{display:"flex",flexWrap:"nowrap"},children:[(0,qd.jsx)("div",{className:XC["thumb-box"],children:(0,qd.jsx)(mqi,{})}),(0,qd.jsx)("div",{className:XC["thumb-box"],children:(0,qd.jsx)(yqi,{})}),(0,qd.jsx)("div",{className:XC["thumb-box"],children:(0,qd.jsx)(Cqi,{})}),(0,qd.jsx)("div",{className:XC["thumb-box"],children:(0,qd.jsx)(fqi,{})})]})]})})]})}function NXi(t){let e={},i=t.property.baseProperties,o=t.property.extendsProperties,r=t.dialogProps.initDeviceItem;e.stamp=new Date().getTime(),e.path=t.path,e.hasChangedDeviceProfile=t.hasChangedDeviceProfile,e.callScenType=t.dialogProps.callScenType,e.symbolOperationType=t.infoPanel.symbolOperationType,e.isFromProject=t.dialogProps.isFromProject,e.workSpaceSelected=t.infoPanel.workSpaceSelected,e.userIdSelected=t.infoPanel.userIdSelected,e.tabList=t.infoPanel.tabList,e.deviceItemName=t.infoPanel.deviceItemName&&typeof t.infoPanel.deviceItemName=="string"?t.infoPanel.deviceItemName.trim():void 0,e.initialDeviceItemName=t.infoPanel.initialDeviceItemName,e.deviceItemId=r?r.uuid:"",e.imageUrl=t.infoPanel.imageUrl,e.categoryTags=t.infoPanel.categoryTags,e.categoryShowString=t.infoPanel.categoryShowString,e.description=t.infoPanel.description?t.infoPanel.description.trim():"",e.symbolType=t.infoPanel.symbolType,e.symbolItem=t.infoPanel.symbolItem,e.footprintItem=t.infoPanel.footprintItem,e.d3modelItem=t.infoPanel.d3modelItem,e.symbolItemId=t.infoPanel.symbolItem?t.infoPanel.symbolItem.uuid:"",e.symbolItemName=t.infoPanel.symbolItemName?t.infoPanel.symbolItemName:t.infoPanel.symbolItem?t.infoPanel.symbolItem.display_title:"",e.symbolItemName=(e.symbolItemName||"").trim(),e.symbolItemPath=t.infoPanel.symbolItemPath||"",e.footprintItemId=t.infoPanel.footprintItem?t.infoPanel.footprintItem.uuid:"",e.footprintItemName=t.infoPanel.footprintItemName?t.infoPanel.footprintItemName:t.infoPanel.footprintItem?t.infoPanel.footprintItem.display_title:"",e.footprintItemName=(e.footprintItemName||"").trim(),e.footprintItemPath=typeof t.infoPanel.footprintItemPath<"u"?t.infoPanel.footprintItemPath:void 0;let n=typeof t.infoPanel.d3modelItemId<"u"?t.infoPanel.d3modelItemId:t.infoPanel.d3modelItem?t.infoPanel.d3modelItem.uuid:void 0;e.d3modelItemId=n;let a=typeof t.infoPanel.d3modelItemName<"u"?t.infoPanel.d3modelItemName:t.infoPanel.d3modelItem?t.infoPanel.d3modelItem.display_title:void 0;e.d3modelItemName=a,e.d3modelItemTransform=t.infoPanel.d3modelItemTransform!=="undefined"?t.infoPanel.d3modelItemTransform:void 0,e.footprintItem&&e.footprintItem.$emptyItem&&(e.footprintItem=null);let s={},l=[...i,...o];for(let c=0;c<l.length;c++){let d=l[c].sKey;s[d]=l[c].sValue,typeof s[d]=="string"&&(s[d]=s[d].trim())}return s.Description=e.description,e.attributes=s,e}var JD=L(z()),{locals:Cqe}=xqe.default,kXi=null,PXi=null,j7r=t=>{let e=J(),{dialogWidth:i,dialogHeight:o,containerId:r,dialogId:n,onDialogOpen:a,onDialogCancel:s,onDialogClose:l,onDialogConfirm:c,onDialogClosed:d}=t,[u,p]=(0,SO.useState)(!1),[m,h]=(0,SO.useState)("Confirm"),[f,g]=(0,SO.useState)(null),b=(0,SO.useRef)(null);b.current=f;let y=t.height-168,w=`pop-content-wrapper display-flex flex-nowrap ${Cqe["main-container"]}`,x=`${Cqe["view-loading-wrapper"]}`,S=`${Cqe["view-loading"]}`,T=`rotation ${Cqe["view-loading-rotation"]}`,M=async I=>{if(I==="simplifySettring"){gJ({symbolDoctype:+b.current.infoPanel.symbolType,deviceName:b.current.infoPanel.deviceItemName,description:b.current.infoPanel.description,categoryName:b.current.infoPanel.categoryShowString,canSelectSymbolType:!0,formData:null,contentData:null,onDialogOpened:()=>{window.clearTimeout(PXi),PXi=window.setTimeout(()=>{l&&l(),le.close(r)},1/60)}});return}if(I==="confirm"){if(!b.current.hasChangedDeviceProfile){s&&s(),le.close(r);return}if(p(!0),h("Saving"),(c?await c({...NXi(b.current)},f):!0)===!1){p(!1),h("Confirm");return}l&&l(),le.close(r);return}if(I==="cancel"&&s&&s(),I==="openIpcDac2552Dlg"){et("openIpcDac2552Dlg",{...t});return}await oo({action:I,dialogId:n,formData:{}}),l&&l(),le.close(r)};return(0,SO.useEffect)(()=>{b.current&&b.current.dialogProps!==t&&b.current.whenWidgetsPropsUpdate(t)},[t]),(0,SO.useLayoutEffect)(()=>{window.clearTimeout(kXi),kXi=window.setTimeout(()=>{let I=C.messageBus.subscribe("ui/device/dvdialog/close",()=>{I.cancel(),le.close(r)});document.body.addEventListener("click",z7t),KZi(t).then(A=>{A.whenDialogMounted(),g(A),a&&a()})},30)},[]),(0,SO.useEffect)(()=>(y7.clearEvent("dialogFootBtnClicked",w7),y7.on("dialogFootBtnClicked",({action:I})=>{M(I)},w7),()=>{b.current&&b.current.whenDialogUnmounted(),b.current=null,document.body.removeEventListener("click",z7t),d&&d()}),[]),f?(0,JD.jsxs)("div",{className:"pop-content-container",children:[(0,JD.jsx)("style",{children:String(xqe.default)}),(0,JD.jsx)(gc.Provider,{value:f,children:(0,JD.jsx)("div",{className:w,children:(0,JD.jsx)(DXi,{dialogHeight:o,containerId:r,confirmBtnDisabledStatus:u,confirmBtnTextString:m})})})]}):(0,JD.jsxs)("div",{className:"pop-content-container",children:[(0,JD.jsx)("style",{children:String(xqe.default)}),(0,JD.jsx)("div",{className:x,children:(0,JD.jsx)("div",{className:S,children:(0,JD.jsx)("div",{className:T,children:(0,JD.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})]})},OXi=j7r;var pge=L(Se());var MO=L(z());function RXi(){let t=J(),e=(0,pge.useRef)({isSimplifyBtnDisabled:!0,isShowModeSwitchBtn:!0,containerId:"",confirmBtnDisabledStatus:!0,confirmBtnTextString:"Confirm",userIdSelected:""}),[i,o]=(0,pge.useState)(0),r=a=>{y7.emit("dialogFootBtnClicked",{action:a},w7)},n=()=>e.current.isSimplifyBtnDisabled?(0,MO.jsxs)("span",{"data-test":"Simplify Setting",style:{lineHeight:"28px",cursor:"default",color:"rgb(128, 128, 128)"},children:[t("Simplify Setting"),">"]}):(0,MO.jsxs)("span",{onClick:()=>{r("simplifySettring")},"data-test":"Simplify Setting",style:{lineHeight:"28px",cursor:"pointer",color:"rgb(24, 144, 255)"},children:[t("Simplify Setting"),">"]});return(0,pge.useLayoutEffect)(()=>{y7.clearEvent("syncDialogFootButtonsState",w7),y7.on("syncDialogFootButtonsState",a=>{e.current.isSimplifyBtnDisabled=a.isSimplifyBtnDisabled,e.current.isShowModeSwitchBtn=a.isShowModeSwitchBtn,e.current.containerId=a.containerId,e.current.confirmBtnDisabledStatus=a.confirmBtnDisabledStatus,e.current.confirmBtnTextString=a.confirmBtnTextString,e.current.userIdSelected=a.userIdSelected,o(s=>s+1)},w7)},[]),(0,MO.jsxs)("div",{style:{width:"100%",display:"flex",alignContent:"center",alignItems:"center",justifyContent:"space-between",position:"relative",padding:"15px 0 0 0"},"data-refresh":i,children:[(0,MO.jsxs)("div",{style:{display:"flex",alignItems:"center",alignContent:"center",justifyContent:"flex-start",flexWrap:"nowrap"},children:[e.current.isShowModeSwitchBtn&&(0,MO.jsx)(n,{}),e.current.isShowModeSwitchBtn&&(0,MO.jsx)("span",{style:{lineHeight:"28px",cursor:"pointer",color:"rgb(24, 144, 255)",marginLeft:"10px"},"data-test":"New in Batch",onClick:()=>{et("openBatchCreateDeviceDialog",{selectedId:e.current.userIdSelected}),le.close(e.current.containerId)},children:t("New in Batch")})]}),(0,MO.jsxs)("div",{children:[(0,MO.jsx)(Me,{disabled:e.current.confirmBtnDisabledStatus,type:"primary",style:{marginRight:"8px"},onClick:()=>r("confirm"),children:e.current.confirmBtnTextString}),(0,MO.jsx)(Me,{onClick:()=>r("cancel"),children:"Cancel"})]})]})}var q7t=L(z());async function _Xi(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i,l=t.dialogTitle||r;return le.open({id:o,title:l,width:n,height:a,closed:s,esc:!0,folded:!1,footer:(0,q7t.jsx)(RXi,{}),children:(0,q7t.jsx)(OXi,{containerId:o,dialogId:t.dialogId,callScenType:t.callScenType,...i,...t,dialogWidth:n,dialogHeight:a}),onClose:()=>{y7.clearNameSpace(w7)},onCancel:()=>{y7.clearNameSpace(w7)}}),le}async function VX(t){return await ii("deviceEditManager",{...t})}var AY=L(Se());var Dqe=L(Se());var BXi=L(Se());var Tqe=class extends L3{constructor(){super(),this.requestTypes=["3"]}};var Sqe=class extends dm{constructor(){super()}};var Mqe=class extends D3{constructor(){super(),this.searchPlaceHolder="Search, at lease 2 charaters"}};var Iqe=class extends C7{constructor(){super()}};var jXi="@all",B7r="All",Lqe=class extends nf{get dataType(){return Tt.DEVICE}constructor(){super(),this._selectElementDisabaled=!1,this._selectedSymolType="20",this._symbolTypeList=[{value:jXi,text:B7r,disabled:!1},{value:"2",text:"Component Symbol",disabled:!1},{value:"18",text:"Netflag Symbol",disabled:!1},{value:"19",text:"Netport Symbol",disabled:!1},{value:"15",text:"Off Page Connector Symbol",disabled:!1},{value:"31",text:"Differential Pairs Flag Symbol",disabled:!1},{value:"20",text:"Drawing Symbol",disabled:!1},{value:"21",text:"Non-Electronic Symbol",disabled:!1},{value:"22",text:"Short Symbol",disabled:!1}],this._tableCols=this.createTableColsProfile()}set selectElementDisabaled(e){this._selectElementDisabaled=e,this.notify()}get selectElementDisabaled(){return this._selectElementDisabaled}set selectedSymolType(e){this._selectedSymolType=e,this.notify()}get selectedSymolType(){return this._selectedSymolType}set symbolTypeList(e){this._symbolTypeList=e}get symbolTypeList(){return this._symbolTypeList}set tableCols(e){this._tableCols=e}get tableCols(){return this._tableCols}createTableColsProfile(){return[{key:"numberIndex",name:"No.",sortable:!0,width:.1},{key:"display_title",name:"Title",sortable:!0,width:.3},{key:"description",name:"Description",sortable:!0,width:.3},{key:"ownerBelong",name:"Belong",sortable:!0,width:.1},{key:"updateTimeString",name:"Update Time",sortable:!0,width:.2}]}async fetchComponentList(e,i,o,r=50,n=[],a=-1){let s=l=>{let{count:c,page:d,pageSize:u,totalPage:p,lists:m}=l;return this.pageNumber=d||1,this.totalPage=p||1,this.totalCount=c||0,{...l,lists:m.map((h,f)=>({...h,$id:h.uuid,updateTimeString:fC(h),numberIndex:f+1}))}};this.componentListRequestId=Mt();try{let l=await Ze.getDeviceList({isProject:i===C.currentProject.projectId,uid:e,path:i,page:o,pageSize:r,tags:n,query:{symbol_type:se.SHEET_SYMBOL}});return{success:!0,result:s(l),requestId:this.componentListRequestId}}catch{return{success:!1,requestId:this.componentListRequestId}}}async fetchComponentListBySearch(e,i,o,r=_e.DEFAULT_PAGESIZE,n=[],a=-1,s,l=[]){let c=p=>{let{count:m,page:h,pageSize:f,totalPage:g,lists:b,facets:y={}}=p;this.pageNumber=+h||1,this.totalPage=+g||1;let w={},x={},S=Object.keys(y);for(let I=0;I<S.length;I++){let A=S[I];if(A===bo.getInstance().usedFacetsKey){let D=Ft(this.libList,"id",bo.getInstance().usedId);D.index>=0&&(w[D.data.id]=y[A],x[D.data.id]=b[A]);continue}if(A===_e.USERLIB_ALIAS){let D=Ft(this.libList,"id",C.loginedUserInfo.uuid);D.index>=0&&(w[D.data.id]=y[A],x[D.data.id]=b[A]);continue}w[A]=y[A],x[A]=b[A]}this.facets=w;let T=this.selectedLibIds[0];this.totalCount=Number.isSafeInteger(+this.facets[T])?+this.facets[T]:m||0;let M=x[T]||[];return{...p,lists:{[T]:M.map((I,A)=>({...I,$id:I.uuid,updateTimeString:fC(I),numberIndex:A+1}))},facets:w}},d=Ft(this.libList,"id",this.projectsIds[0]),u={};d.index>=0&&(u.preojectId=d.data.id),u.isSelectedProjectLib=this.selectedLibIds.includes(this.projectsIds[0]),this.componentListRequestId=Mt();try{let p={uid:e,pageSize:r,page:o,wd:s?s.toLocaleLowerCase():"",returnListStyle:"classifyarr",type:a,path:i,docType:l},m=await Ze.getSymbolSearchList(p);return{success:!0,result:c(m),requestId:this.componentListRequestId}}catch{return{success:!1,requestId:this.componentListRequestId}}}async refreshComponentList(e,i,o="",r=[],n=(a,s)=>{}){let a=this.selectedLibIds[0];this.facets={},this.componentListLoadStatus="Loading";let s=[];if(this.selectedSymolType===jXi?(s=this.symbolTypeList.map(c=>+c.value),s.shift()):s=[+this.selectedSymolType],r[0]===_e.CATEGORY_ITEM_ALL_VALUE&&(r=[]),!o||!o.trim()){let c=await this.fetchComponentList(e,i,this.pageNumber,this.pageSize,r,this.type);if(this.componentListRequestId!==c.requestId)return;if((c.code!==0||c.success===!1)&&console.error(c),c.result){let d=c.result.lists||[];d.length>=1?(this.tableData=d.filter(u=>{var p;return!!u.symbol||((p=u.attributes)==null?void 0:p.Symbol)}),this.componentListLoadStatus=""):(this.tableData=[],this.componentListLoadStatus="No Results!")}else this.componentListLoadStatus="No Results!";this.notify(),n("fetch",c);return}let l=await this.fetchComponentListBySearch(e,i,this.pageNumber,this.pageSize,r,this.type,o,s);if(this.componentListRequestId===l.requestId){if((l.code!==0||l.success===!1)&&console.error(l),l.result){let c=l.result.lists[a]||[];c.length>=1?(this.tableData=c.filter(d=>{var u;return!!d.symbol||((u=d.attributes)==null?void 0:u.Symbol)}),this.componentListLoadStatus=""):(this.tableData=[],this.componentListLoadStatus="No Results!")}else this.componentListLoadStatus="No Results!";n("search",l)}}async refreshComponentItem(e,i,o){this.componentItemLoadStatus="Loading";try{let r=await Ze.getSymbol({isProject:C.currentProject?C.currentProject.projectId===i:!1,uuid:e,path:i});this.componentItem=r||null,this.componentItemLoadStatus=this.componentItem?"":"No Results!"}catch{this.componentItem=null,this.componentItemLoadStatus="No Results!"}this.notify(),o&&o(this.componentItem)}clearAllRemoteData(){this.clearSelectedRowsBase(),this.tableData=[],this.componentItem=null}};async function zXi(){let t=new X7t;return await t.initial(),t}var X7t=class extends Hb{constructor(){super();this._noSheetChecked=!1;this._hasCheckedOne=!1;this._dialogProps=null,this.libListModel=new Sqe,this.componentSearchModel=new Mqe,this.categoryModel=new Tqe,this.componentTable=new Lqe,this.symbolViewsModel=new Iqe,this._isOnSearching=!1}get noSheetChecked(){return this._noSheetChecked}set noSheetChecked(i){this._noSheetChecked=i,this.updateHasCheckedOne()}get hasClickedComponentItem(){return super.hasClickedComponentItem}set hasClickedComponentItem(i){super.hasClickedComponentItem=i,this.updateHasCheckedOne()}updateHasCheckedOne(){let i=!!(this._noSheetChecked||this.hasClickedComponentItem);i!=this._hasCheckedOne&&(this._hasCheckedOne=i,C.messageBus.publish("ui/drawingsetting/dialog/conbtndisabledstatus",!i))}set dialogProps(i){this._dialogProps=i}get dialogProps(){return this._dialogProps}get isOnSearching(){return this._isOnSearching}set isOnSearching(i){this._isOnSearching=i}async initial(){this.dialogReady=!0}async initialStore(i){await this.libListModel.setInitialLibList(Hs.Normal),await this.libListModel.freshInitLibList([bo.getInstance().usedId],this.libListModel.isFromProject),this.componentTable.projectsIds=JSON.parse(JSON.stringify(this.libListModel.projectsIds)),this.componentTable.libList=ue.deepClone(this.libListModel.cacheLibList),this.componentTable.facets=JSON.parse(JSON.stringify(this.libListModel.facets)),this.componentTable.selectedLibIds=JSON.parse(JSON.stringify(this.libListModel.getSelectedTruthLibIds())),this.componentTable.initPageSize(),this.whenLibSelectedChanged()}async refreshLibList(){await this.libListModel.refreshLibListFromRemote(),this.componentTable.selectedLibIds=JSON.parse(JSON.stringify(this.libListModel.getSelectedTruthLibIds()))}async propsUpdate(i){this.dialogProps=i,typeof this.dialogProps.isProject<"u"&&(this.libListModel.isFromProject=!!this.dialogProps.isProject,this.componentTable.isFromProject=!!this.dialogProps.isProject),this.dialogProps.symbolType&&(this.componentTable.selectedSymolType=this.dialogProps.symbolType),this.dialogProps.searchValue&&(this.componentSearchModel.searchValue=this.dialogProps.searchValue,this.componentSearchModel.isInSearchingStatus=!0,this.whenImmersedSearchStatus()),this.noSheetChecked=!!this._dialogProps.nosheet}triggerFromUpdate(i={}){}whenCategorySelectedChanged(){let i=this.libListModel.getSelectedTruthLibIds();this.componentTable.clearAllRemoteData(),this.componentTable.refreshComponentList(i[0],i[0],this.componentSearchModel.searchValue,this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenImmersedSearchStatus(){if(this.componentSearchModel.searchValue.trim().length>128){this.searchValueLengthVerify();return}this.isOnSearching=!0,this.categoryModel.recoverSelectToDefault(),this.componentTable.clearAllRemoteData(),this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,void 0,void 0,!0,this.componentTable.dataType),!1,{}),F0(this,{kv:{facets:{}},targets:["componentTable"]});let i=this.libListModel.getSelectedTruthLibIds();this.componentTable.refreshComponentList(i[0],i[0],this.componentSearchModel.searchValue,this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]),o=>{o==="search"&&(F0(this,{kv:{facets:this.componentTable.facets},targets:["libListModel"]}),this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,void 0,void 0,!0,this.componentTable.dataType),this.componentSearchModel.isInSearchingStatus))})}whenExitSearchStatus(){this.isOnSearching=!1,this.categoryModel.recoverSelectToDefault(),this.componentTable.clearAllRemoteData(),this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,void 0,void 0,!0,this.componentTable.dataType),!1,{}),F0(this,{kv:{facets:{}},targets:["componentTable"]});let i=this.libListModel.getSelectedTruthLibIds();this.componentTable.refreshComponentList(i[0],i[0],this.componentSearchModel.searchValue,this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenLibSelectedChanged(){this.categoryModel.clearCategoryList(),this.componentTable.clearAllRemoteData();let i=this.libListModel.getSelectedTruthLibIds();this.categoryModel.refreshCategoryList(i[0],i[0]),F0(this,{kv:{facets:{},selectedLibIds:i},targets:["componentTable"]}),this.componentTable.refreshComponentList(i[0],i[0],this.componentSearchModel.searchValue,[],o=>{this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,void 0,void 0,!0,this.componentTable.dataType),this.componentSearchModel.isInSearchingStatus,this.componentTable.facets)}),this.hasClickedComponentItem=!1}whenSymbolTypeSelectedChanged(){let i=this.libListModel.getSelectedTruthLibIds();this.componentTable.clearAllRemoteData(),this.componentTable.refreshComponentList(i[0],i[0],this.componentSearchModel.searchValue,this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenComponentListPageChanged(){let i=this.libListModel.getSelectedTruthLibIds();this.componentTable.clearAllRemoteData(),this.componentTable.refreshComponentList(i[0],i[0],this.componentSearchModel.searchValue,this.categoryModel.getCategoryTags(this.categoryModel.renderSelectedIds[0]))}whenComponentListRowSelectedChanged(){this.symbolViewsModel.setLoadingStatus();let i=this.libListModel.getSelectedTruthLibIds()[0];this.componentTable.refreshComponentItem(this.componentTable.componentItemId,i,async o=>{var r,n;o&&(this.symbolViewsModel.symbolItem=await Ze.getSymbol({isProject:i===C.currentProject.projectId,path:i,uuid:((r=o==null?void 0:o.symbol)==null?void 0:r.uuid)||((n=o==null?void 0:o.attributes)==null?void 0:n.Symbol)}))})}},M7=(0,BXi.createContext)(void 0);var UXi=L(Bae()),$7t=L(z());function F7r(t){let e=J(),o=be.bind(UXi.default.locals)("display-flex flex-nowrap component-search-section"),r=(0,Dqe.useContext)(M7);Ce(r.componentSearchModel);let n=(l,c)=>{r.componentSearchModel.searchValue=l},a=(l,c)=>{r.componentSearchModel.searchValue="",r.componentSearchModel.isInSearchingStatus&&(r.componentSearchModel.isInSearchingStatus=!1,r.libListModel.isSearchStatus=!1,r.whenExitSearchStatus())},s=(l,c)=>{r.componentSearchModel.searchValue?(r.componentSearchModel.isInSearchingStatus=!0,r.libListModel.isSearchStatus=!0,r.whenImmersedSearchStatus()):(r.componentSearchModel.isInSearchingStatus=!1,r.libListModel.isSearchStatus=!1)};return(0,$7t.jsx)("section",{className:o,children:(0,$7t.jsx)(Bm,{initShowValue:r.componentSearchModel.searchValue,placeholder:r.componentSearchModel.searchPlaceHolder,onUpdateInputValue:n,onClearInputValue:a,onConfirm:s})})}var VXi=Dqe.default.memo(F7r);var Eqe=L(Se());var HXi=L(Bae()),ekt=L(z());function U7r(t){let e=J(),o=be.bind(HXi.default.locals)("liblist-section"),r=(0,Eqe.useContext)(M7);Ce(r.libListModel);let n=()=>{r.libListModel.searchValue=""},a=(l,c)=>{r.libListModel.selectedIds=l,r.whenLibSelectedChanged()},s=()=>{r.refreshLibList().then(()=>{r.componentSearchModel.searchValue?(r.componentSearchModel.isInSearchingStatus=!0,r.libListModel.isSearchStatus=!0,r.whenImmersedSearchStatus()):(r.componentSearchModel.isInSearchingStatus=!1,r.libListModel.isSearchStatus=!1,r.whenExitSearchStatus())})};return(0,ekt.jsx)("section",{className:o,children:(0,ekt.jsx)(j3,{emptyLabel:r.libListModel.emptyLabel,selectedIds:r.libListModel.selectedIds,libList:r.libListModel.cacheLibList,searchPlaceholder:r.libListModel.searchPlaceHolder,searchValue:r.libListModel.searchValue,selectedLibsAction:a,clearSearchInputAction:n,libRefreshAction:s})})}var GXi=Eqe.default.memo(U7r);var Aqe=L(Se());var YXi=L(Bae());var tkt=L(z());function V7r(t){let e=J(),o=be.bind(YXi.default.locals)("category-section"),r=(0,Aqe.useContext)(M7);Ce(r.categoryModel);let n=()=>{r.categoryModel.searchValue=""},a=s=>{r.categoryModel.renderSelectedIds=s,r.whenCategorySelectedChanged()};return(0,tkt.jsx)("section",{className:o,children:(0,tkt.jsx)(Gb,{isLock:!1,isVirtualList:!1,selectedIds:r.categoryModel.renderSelectedIds,categoryList:r.categoryModel.renderCategoryList,searchPlaceholder:r.categoryModel.searchPlaceHolder,searchValue:r.categoryModel.searchValue,selectedCategoriesAction:a,clearSearchInputAction:n,ownerSelectValue:r.libListModel.getSelectedTruthLibIds()[0]})})}var WXi=Aqe.default.memo(V7r);var PM=L(Se());var QXi=L(Bae());var IO=L(z());function H7r(t){let e=J(),i=be.bind(QXi.default.locals),o=i("display-flex flex-direct-column table-section"),r=(0,PM.useContext)(M7);Ce(r.componentTable);let[n,a]=(0,PM.useState)(!!t.noSheetChecked),s=(0,PM.useRef)(null),l=(0,PM.useRef)(null),[c,d]=(0,PM.useState)(100),[u,p]=(0,PM.useState)(r.componentTable.tableCols.map(g=>({...g,name:e(g.name),filter:!0}))),m=g=>{let{row:b,selectedRowNumbers:y,tableData:w=[]}=g,x=w[y[0]];if(!x||b.$id!==x.$id)return;let S=!1;a(S),r.noSheetChecked=S,r.hasClickedComponentItem=!0,r.componentTable.tableSelectedRowNumbers=y,r.componentTable.componentItemId=x.uuid,r.whenComponentListRowSelectedChanged()},h=(g,b)=>{r.componentTable.pageNumber!==b&&(r.componentTable.pageNumber=+b,r.whenComponentListPageChanged())},f=g=>{r.componentTable.pageSize=+g,Vg("table",g),r.whenComponentListPageChanged()};return(0,PM.useEffect)(()=>(s.current&&window.setTimeout(()=>{if(!s.current)return;let g=s.current.getBoundingClientRect();s.current.style.width=`${g.width}px`,d(g.height)},200),()=>{}),[]),(0,PM.useEffect)(()=>{p(r.componentTable.tableCols.map(g=>({...g,name:e(g.name),filter:!0})))},[r.componentTable.tableCols]),(0,PM.useEffect)(()=>{l.current.refresh()},[r.componentTable.tableData]),(0,IO.jsxs)("section",{className:o,children:[(0,IO.jsx)(qt,{checked:n,style:{float:"left",marginLeft:"5px"},onChange:g=>{a(g),r.noSheetChecked=g},children:"Do not use drawings"}),(0,IO.jsxs)("div",{className:i("display-flex flex-direct-column"),style:{width:"100%",height:"100%",position:"relative",overflowY:"hidden",overflowX:"auto"},children:[(0,IO.jsx)("div",{ref:s,style:{height:"100%",width:"100%",overflowY:"hidden",overflowX:"auto"},children:(0,IO.jsx)(xi,{ref:l,index:"$id",border:!0,isShiftSelect:!1,isCtrlSelect:!1,height:c,columns:u,openHeadContentMenu:!0,showCustomHeadSettingOnHeadContextmenu:!1,rows:r.componentTable.tableData,onClick:m,selectedRowNumbers:r.componentTable.tableSelectedRowNumbers,openVirtualScroll:!0,searchValue:r.isOnSearching&&r.componentSearchModel.searchValue?r.componentSearchModel.searchValue:"",showStatus:r.componentTable.componentListLoadStatus!=="",statusNode:(0,IO.jsx)("div",{style:{lineHeight:"50px",textAlign:"center"},children:(0,IO.jsx)("span",{children:e(r.componentTable.componentListLoadStatus)})}),onContextMenu:(g,b)=>{Da.open({position:{x:b.pageX,y:b.pageY},data:[{iconClassName:"icon-eda-edit",title:me.i18n("Edit"),cmd:"edit"}],onClick(y,w,x,S){Vj(g.attributes.Symbol,g.project_uuid&&g.project_uuid===C.currentProject.projectId,g,null,yr(g),void 0,void 0,()=>{le.closeAll()})},onEnterConfirm(y,w,x){Vj(g.attributes.Symbol,g.project_uuid&&g.project_uuid===C.currentProject.projectId,g,null,yr(g))}})}})}),(0,IO.jsx)("div",{style:{width:"100%",height:"30px",overflow:"hidden",display:"flex",justifyContent:"flex-end",alignContent:"center",alignItems:"center",textAlign:"right",padding:"5px 5px 0 5px"},children:(0,IO.jsx)(cp,{simplify:!0,inputJump:!1,pageNumber:r.componentTable.pageNumber,countTotal:r.componentTable.totalCount,cutSize:r.componentTable.pageSize,cutSizeOptions:r.componentTable.cutSizeOptions,onPageNumberChange:h,onPageSizeChange:f,gDisabled:r.componentTable.paginationDisabled})})]})]})}var KXi=PM.default.memo(H7r);var mge=L(Se());var JXi=L(z());function G7r(t){let e=J(),i=(0,mge.useContext)(M7);Ce(i.symbolViewsModel);let o=(0,mge.useRef)(null),r=n=>{};return(0,JXi.jsx)(B3,{$ref:o,initSetShowLoading:!1,enableThumbImageScalable:!0,enableThumbImageDraggable:!0,symbolItem:i.symbolViewsModel.symbolItem,onPartSelectChange:r})}var ZXi=mge.default.memo(G7r);var qXi=L(Bae()),OM=L(z());function Y7r(t){let e=be.bind(qXi.default.locals);return(0,OM.jsxs)(OM.Fragment,{children:[(0,OM.jsxs)("div",{className:"display-flex flex-main-axis-start flex-nowrap",style:{overflow:"hidden"},children:[(0,OM.jsxs)("div",{className:e("display-flex flex-direct-column flex-main-axis-between flex-lateral-axis-stretch flex-nowrap"),style:{minWidth:"40%",overflow:"hidden"},children:[(0,OM.jsx)(VXi,{}),(0,OM.jsxs)("div",{className:e("display-flex flex-nowrap"),style:{height:"calc(100% - 30px)"},children:[(0,OM.jsx)(GXi,{}),(0,OM.jsx)(WXi,{})]})]}),(0,OM.jsx)("div",{style:{minWidth:"60%",padding:"5px 0 0 0",margin:"0 5px",border:"1px solid var(--border-color-panel-divider)"},children:(0,OM.jsx)(KXi,{noSheetChecked:t.nosheet})})]}),(0,OM.jsx)("div",{style:{width:"350px",flexShrink:"0",padding:"5px 5px",margin:"0 5px",border:"1px solid var(--border-color-panel-divider)"},children:(0,OM.jsx)(ZXi,{})})]})}var XXi=Y7r;var ikt=L(Bae());var YI=L(z()),$Xi=null,W7r=t=>{let e=J();Ae(ikt.default);let i=be.bind(ikt.default.locals),{dialogWidth:o,dialogHeight:r,containerId:n,dialogId:a,onDialogOpen:s,onDialogCancel:l,onDialogClose:c,onDialogConfirm:d,onDialogClosed:u}=t,[p,m]=(0,AY.useState)(null),h=(0,AY.useRef)(null),[f,g]=(0,AY.useState)(!0),b=i("pop-content-wrapper display-flex main-container"),y=i("view-loading-wrapper"),w=i("view-loading"),x=i("rotation view-loading-rotation"),S=async T=>{if(T==="confirm"){let M=p.noSheetChecked?null:p.componentTable.componentItem;if((d?await d({path:p.libListModel.getSelectedTruthLibIds()[0],deviceDetail:M}):!0)===!1)return;c&&c(),le.close();return}T==="cancel"&&l&&l(),await oo({action:T,dialogId:a,formData:{}}),c&&c(),le.close()};return(0,AY.useLayoutEffect)(()=>{window.clearTimeout($Xi),$Xi=window.setTimeout(()=>{zXi().then(async T=>{await T.propsUpdate(t),await T.initialStore(t),T.triggerFromUpdate({}),m(T),s&&s()}),C.messageBus.subscribe("ui/drawingsetting/dialog/conbtndisabledstatus",T=>{g(T)})},30)},[]),(0,AY.useEffect)(()=>()=>{u&&u()},[]),p?(0,YI.jsx)("div",{className:i("pop-content-container"),style:{height:r+"px"},children:(0,YI.jsxs)(M7.Provider,{value:p,children:[(0,YI.jsx)("div",{className:b,children:(0,YI.jsx)(XXi,{...t})}),(0,YI.jsxs)("div",{className:i("pop-footer-wrapper"),children:[(0,YI.jsx)(Me,{type:"primary",disabled:f,style:{marginRight:"8px"},onClick:()=>S("confirm"),children:"Confirm"}),(0,YI.jsx)(Me,{onClick:()=>S("cancel"),children:"Cancel"})]})]})}):(0,YI.jsx)("div",{className:"pop-content-container",style:{height:r+"px"},children:(0,YI.jsx)("div",{className:y,children:(0,YI.jsx)("div",{className:w,children:(0,YI.jsx)("div",{className:x,children:(0,YI.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})})},e$i=W7r;var i$i=L(z());async function t$i(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;return le.open({id:o,title:r,width:n,closed:s,esc:!0,folded:!1,children:(0,i$i.jsx)(e$i,{containerId:o,dialogId:t.dialogId,...t,dialogWidth:n,dialogHeight:a})}),le}var gge=L(Se());var Wqe=L(Nqe());var k$i=L(Se());var dg=new um,HX={defaultTag:"default",clearTableOfRuleType:["Blind/Buried Via"],netTypeMap:{net:"net",netClass:"netClass",netDifferentail:"netDifferentail",equalLengthGroup:"equalLengthGroup"},netType2Describe:{net:"Net",netClass:"Net Class",netDifferentail:"Differential Pair",equalLengthGroup:"Equal Length Group"},ruleType2NetViewType:{"Safe Spacing":"COMM_NET","Other Spacing":"COMM_NET","Creepage Distance":"COMM_NET",Track:"COMM_NET","Blind/Buried Via":"COMM_NET","Differential Pair":"DIFFERENTAIL_PAIR","Net Length Range":"NET_LENGTH","Net Length Tolerance":"NET_LENGTH","Via Size":"COMM_NET","Plane Zone":"COMM_NET","Copper Zone":"COMM_NET","Paste Mask Expansion":"COMM_NET","Solder Mask Expansion":"COMM_NET"},ruleType2DescriHashtable:{"Safe Spacing":"Spacing - Safe Spacing","Other Spacing":"Spacing - Other Spacing","Creepage Distance":"Spacing - Creepage Distance",Track:"Physics - Track","Blind/Buried Via":"Physics - Blind/Buried Via","Differential Pair":"Physics - Differential Pair","Net Length Range":"Physics - Net Length Range","Net Length Tolerance":"Physics - Net Length Tolerance","Via Size":"Physics - Via Size","Plane Zone":"Plane - Plane Zone","Copper Zone":"Plane - Copper Zone","Paste Mask Expansion":"Expansion - Paste Mask Expansion","Solder Mask Expansion":"Expansion - Solder Mask Expansion"},ruleType2NewEditnameHashtable:{"Safe Spacing":"safeClearance","Other Spacing":"otherClearance","Creepage Distance":"creepage",Track:"trackWidth","Blind/Buried Via":"blindVia","Differential Pair":"differentialPair","Net Length Range":"netLength","Net Length Tolerance":"netLengthTolerance","Via Size":"viaSize","Plane Zone":"innerPlane","Copper Zone":"copperRegion","Paste Mask Expansion":"pasteMaskExpansion","Solder Mask Expansion":"solderMaskExpansion"},inputValueThreshold:{"Safe Spacing":{mm:{min:0,max:254},mil:{min:0,max:1e4}}},joinNetClassWhenSelectSubItems(){return"\u540C\u4E00\u7F51\u7EDC\u4E0D\u80FD\u52A0\u5165\u4E0D\u540C\u7F51\u7EDC\u7C7B\u4E0B\u3002\u52A0\u5165\u7F51\u7EDC\u7C7B\u540E\u753B\u5E03\u5DE6\u4FA7\u6811\u7684\u7F51\u7EDC\u7C7B\u6587\u4EF6\u5939\u9700\u8981\u540C\u6B65"},thresholdTips(t,e,i){return{mm:me.i18n('Current unit is "mm", the minimum\xA0value is {0}, the maximum value is {1}, 3 decimal places.',[e,i]),mil:me.i18n('Current unit is "mil", the minimum\xA0value is {0}, the maximum value is {1}, 1 decimal places.',[e,i])}[t]}};function X2(t){De({type:"warn",msg:t,timer:3})}function okt(t){let e=t.actualOriginalFormat||t.actualFormat||t.type.split("/")[1],i=["jpg","png"];return typeof e=="string"?i.includes(e.toLowerCase()):!1}function rkt(){return!(dt()!=se.PCB||!VJ())}function r$i(t){return rkt()&&okt(t)}function B6e(t,e){let i=t.width,o=t.height,r=e.width||100,n=e.height||100,a=r/n,s=Math.sqrt(1600*1600/(r*n)),l=s*r,c=s*n,d=Math.max(l,c),u;d<=i&&d<=o?u=1:u=Math.min(i,o)/d;let p=Math.round(l*u),m=Math.round(c*u),h=(i-p)*.5|0,f=(o-m)*.5|0;return{canvasWidth:i,canvasHeight:o,sourceMarginLeft:0,sourceMarginTop:0,sourceImageWidth:r,sourceImageHeight:n,drawMarginLeft:h,drawMarginTop:f,drawImageWidth:p,drawImageHeight:m}}function WI(t,e,i){if(e==i)return t*1;if(typeof t=="string"&&(arguments.length==2&&(i=e,e=t.replace(/^[-+.\d\s]+/,""),t=t.replace(/[^-+.\d\s]+$/,"")),t=+t),typeof t!="number"||!isFinite(t))throw Error("Invalid value for unit convert");if(e=e.toLowerCase(),i=i.toLowerCase(),e=="cm"?(e="mm",t*=10):e=="px"&&(e="pixel"),i=="cm"?(i="mm",t*=.1):i=="px"&&(i="pixel"),e==i)return t*1;if(!o(e)||!o(i))throw Error("Not supported unit convert "+e+" to "+i);switch(e+"2"+i){case"mil2pixel":return t*.1;case"mil2mm":return t*.0254;case"mil2inch":return t*.001;case"mm2pixel":return t/.254;case"mm2mil":return t/.0254;case"mm2inch":return t/25.4;case"pixel2mil":return t*10;case"pixel2mm":return t*.254;case"pixel2inch":return t*.01;case"inch2pixel":return t*100;case"inch2mil":return t*1e3;case"inch2mm":return t*25.4;default:break}throw Error("Not supported unit convert "+e+" to "+i);function o(r){return/^(pixel|mil|mm|inch)$/i.test(r)}}function n$i(t,e,i){switch(t){case"Track":{for(let o in e.form.data)if(!rz(i,e.form.data[o],"minValue","maxValue","defaultValue"))return!1;return!0}case"Net Length Range":return rz(i,e.form,"netLengthMin","netLengthMax");case"Differential Pair":{for(let o in e.form.strokeWidthTables.data)if(!rz(i,e.form.strokeWidthTables.data[o],"minValue","maxValue","defaultValue"))return!1;for(let o in e.form.diffPairSpacingTables.data)if(!rz(i,e.form.diffPairSpacingTables.data[o],"minValue",void 0,"defaultValue"))return!1;return!0}case"Blind/Buried Via":return Q7r(e.table);case"Via Size":{let o=rz(i,e.form,"viaOuterdiameterMin","viaOuterdiameterMax","viaOuterdiameterDefault"),r=rz(i,e.form,"viaInnerdiameterMin","viaInnerdiameterMax","viaInnerdiameterDefault");return o&&r}default:return!0}}function rz(t,e,i,o,r){return i&&o&&e[i]!=null&&e[o]!=null&&fo(e[i],t)>fo(e[o],t)?(r!=null?X2("The default value needs to be between the minimum value and the maximum value!"):X2("The minimum value cannot be greater than the maximum value"),!1):r&&i&&e[r]!=null&&e[i]!=null&&fo(e[r],t)<fo(e[i],t)?(o!=null?X2("The default value needs to be between the minimum value and the maximum value!"):X2("The default value cannot be less than the minimum value"),!1):r&&o&&e[r]!=null&&e[o]!=null&&fo(e[r],t)>fo(e[o],t)?(i!=null?X2("The default value needs to be between the minimum value and the maximum value!"):X2("The default value cannot be greater than the maximum value"),!1):!0}function Q7r(t){let e=t.map(o=>o.name);if(new Set(e).size!=e.length)return X2("Duplicate name exists!"),!1;let i=t.map(o=>[o.startLayer,o.endLayer].sort().join("-"));if(new Set(i).size!=i.length){let o=[];for(let r=0;r<i.length;r++)i.slice(0,r).includes(i[r])||o.push(t[r]);return t.length=0,[].push.apply(t,o),X2("Operation success,The layer pair of blind/buried via is not allowed to be the top layer to the bottom layer or exactly the same\uFF0Cwhich has been automatically deleted!"),!1}if(i.includes("1-2")){let o=[];for(let r=0;r<i.length;r++)i[r]!="1-2"&&o.push(t[r]);return t.length=0,[].push.apply(t,o),X2("Operation success. The layer pair of blind/buried via is not allowed to be the top layer to the bottom layer, which has been automatically deleted!"),!1}return!0}var a$i={unit:"mil",column:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline"],row:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline","Hole"],status:0,tables:{1:{status:1,content:[[6],[6,6],[6,6,6],[6,6,6,6],[6,6,6,6,6],[6,6,6,6,6,6],[6,6,6,6,6,6,6],[10,10,10,10,10,10,10,10],[6,6,6,6,6,6,6,10,6],[6,6,6,6,6,6,6,10,6,6],[6,6,6,6,6,6,6,10,6,6,6],[11.8,11.8,11.8,11.8,11.8,11.8,11.8,10,11.8,11.8,11.8],[6,6,6,6,6,6,6,10,6,6,6,11.8]]}}};var s$i={unit:"mm",form:{device2device:0,thru2Smd:0,hole2Hole:.3}};var l$i={unit:"mil",form:{status:1,data:{1:{minValue:5,defaultValue:10,maxValue:100}}}};var c$i={unit:"mil",form:{strokeWidthTables:{status:1,data:{1:{minValue:5,defaultValue:10,maxValue:100}}},diffPairSpacingTables:{status:1,data:{1:{minValue:6,defaultValue:10}}},differentailPairLenTolerMax:10}};var d$i={table:[]};var u$i={unit:"mm",form:{viaOuterdiameterMin:.5,viaOuterdiameterMax:10,viaOuterdiameterDefault:.61,viaInnerdiameterMin:.3,viaInnerdiameterMax:6.3,viaInnerdiameterDefault:.305}};var p$i={unit:"mil",form:{status:1,data:{1:{connectMode:0,lineClearance:10,lineWidth:10,lineAngle:90}}}};var m$i={unit:"mil",form:{singleLayerPadModel:{status:1,data:{1:{connectMode:0,lineClearance:10,lineWidth:10,lineAngle:90}}},multiLayerPadModel:{status:1,data:{1:{connectMode:0,lineClearance:10,lineWidth:10,lineAngle:90}}},trackConnectModel:{status:1,data:{1:{trackConnectMode:0}}}}};var h$i={unit:"mil",form:{padToplayerExpansion:0,padBottomlayerExpansion:0,testPointToplayerExpansion:-1e3,testPointBottomlayerExpansion:-1e3}};var f$i={unit:"mil",form:{padToplayerExpansion:2,padBottomlayerExpansion:2,viaToplayerExpansion:-1e3,viaBottomlayerExpansion:-1e3,testPointToplayerExpansion:2,testPointBottomlayerExpansion:2}};var g$i={unit:"mil",form:{netLengthMax:0,netLengthMin:0}};var b$i={unit:"mm",form:{netLengthTolerance:25.4}};var y$i={unit:"mm",form:{creepageDistance:0,ignoreLayer:!0}};var kqe={"Safe Spacing":{pageViewType:"SAFE_SPACING",...a$i},"Other Spacing":{pageViewType:"OTHER_SPACING",...s$i},Track:{pageViewType:"TRACK",...l$i},"Differential Pair":{pageViewType:"DIFFERENTAIL_PAIR",...c$i},"Blind/Buried Via":{pageViewType:"BLIND_BURYING",...d$i},"Via Size":{pageViewType:"APERTURE",...u$i},"Plane Zone":{pageViewType:"PLANE_ZONE",...p$i},"Copper Zone":{pageViewType:"COPPER_ZONE",...m$i},"Net Length Range":{pageViewType:"NET_LENGTH_RANGE",...g$i},"Net Length Tolerance":{pageViewType:"NET_LENGTH_TOLERANCE",...b$i},"Paste Mask Expansion":{pageViewType:"PASTE_MASK_EXP",...h$i},"Solder Mask Expansion":{pageViewType:"SOLDER_MASK_EXP",...f$i},"Creepage Distance":{pageViewType:"CREEPAGE_SPACING",...y$i}};var T$i=L(Vi());var w$i=(t,e)=>({processConfigSettingSaveAsConfig:{text:"Save As Config...",value:"save-as-config",disabled:!0},processConfigSettingRenameConfig:{text:"Rename Config...",value:"rename-config",disabled:!0},processConfigSettingSaveConfig:{text:"Save Config",value:"save-config",disabled:!0},processConfigSettingDeleteConfig:{text:"Delete Config",value:"delete-config",disabled:!0},processConfigSettingSaveAsDefault:{text:"Set as New PCB Default Config",value:"Set-as-new-pcb-default-config",disabled:!0},processConfigProfileSelectedName:t,usrPcbProcessConfigProfile:[],sysPcbProcessConfigProfile:[],isWaitToSave:!1,defaultPcbProcessConfigProfile:e}),NY=[{name:"JLCPCB Capability(Two Layers Board)",config:{Spacing:{"Safe Spacing":{copperThickness1oz:{column:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline"],editName:"copperThickness1oz",isSetDefault:!0,row:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline","Hole"],table:[[.102],[.152,.152],[.152,.152,.152],[.152,.152,.152,.152],[.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152,.152],[.254,.254,.254,.254,.254,.254,.254,.254],[.3,.152,.152,.152,.152,.152,.152,.254,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.3,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.152,.152,.152],[.3,.3,.3,.3,.3,.3,.3,.254,.3,.3,.3],[.176,.176,.176,.176,.176,.176,.176,.254,.176,.176,.176,.176]],unit:"mm"},copperThickness2oz:{column:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline"],editName:"copperThickness2oz",isSetDefault:!1,row:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline","Hole"],table:[[.203],[.152,.152],[.152,.152,.152],[.152,.152,.152,.152],[.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152,.152],[.254,.254,.254,.254,.254,.254,.254,.254],[.3,.152,.152,.152,.152,.152,.152,.254,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.3,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.152,.152,.152],[.3,.3,.3,.3,.3,.3,.3,.254,.3,.3,.3],[.176,.176,.176,.176,.176,.176,.176,.254,.176,.176,.176,.176]],unit:"mm"}},"Other Spacing":{otherClearance:{editName:"otherClearance",form:{device2device:0,thru2Smd:0,hole2Hole:.3},isSetDefault:!0,unit:"mm"}},"Creepage Distance":{creepage:{editName:"creepage",form:{creepageDistance:0,ignoreLayer:!0},isSetDefault:!0,unit:"mm"}}},Expansion:{"Paste Mask Expansion":{pasteMaskExpansion:{editName:"pasteMaskExpansion",form:{padBottomlayerExpansion:0,padToplayerExpansion:0,testPointBottomlayerExpansion:-25.4,testPointToplayerExpansion:-25.4},isSetDefault:!0,unit:"mm"}},"Solder Mask Expansion":{solderMaskExpansion:{editName:"solderMaskExpansion",form:{padBottomlayerExpansion:.051,padToplayerExpansion:.051,viaBottomlayerExpansion:-25.4,viaToplayerExpansion:-25.4,testPointBottomlayerExpansion:.051,testPointToplayerExpansion:.051},isSetDefault:!0,unit:"mm"}}},Physics:{"Blind/Buried Via":{blindVia:{editName:"blindVia",isSetDefault:!0,table:[]}},"Differential Pair":{differentialPair:{editName:"differentialPair",form:{differentailPairLenTolerMax:.254,differentailPairSpacingDefault:.152,differentailPairSpacingMin:.152,strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.127},isSetDefault:!0,unit:"mm"}},"Net Length Range":{netLength:{editName:"netLength",form:{netLengthMax:0,netLengthMin:0},isSetDefault:!0,unit:"mm"}},"Net Length Tolerance":{netLengthTolerance:{editName:"netLengthTolerance",form:{netLengthTolerance:25.4},isSetDefault:!0,unit:"mm"}},Track:{copperThickness1oz:{editName:"copperThickness1oz",form:{strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.127},isSetDefault:!0,unit:"mm"},copperThickness2oz:{editName:"copperThickness2oz",form:{strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.203},isSetDefault:!1,unit:"mm"}},"Via Size":{viaSize:{editName:"viaSize",form:{viaInnerdiameterDefault:.305,viaInnerdiameterMax:6.3,viaInnerdiameterMin:.3,viaOuterdiameterDefault:.61,viaOuterdiameterMax:10,viaOuterdiameterMin:.5},isSetDefault:!0,unit:"mm"}}},Plane:{"Copper Zone":{copperRegion:{editName:"copperRegion",form:{multiLayerPadConnectionMode:"0",multiLayerPadDivergenceSpacing:.254,multiLayerPadDivergenceStrokeWidth:.254,multiLayerPadSpokeAngle:90,padConnectionMode:"0",padDivergenceSpacing:.254,padDivergenceStrokeWidth:.254,padSpokeAngle:90,trackConnectionMode:"0"},isSetDefault:!0,unit:"mm"}},"Plane Zone":{innerPlane:{editName:"innerPlane",form:{multiLayerPadConnectionMode:"0",multiLayerPadDivergenceSpacing:.254,multiLayerPadDivergenceStrokeWidth:.254,multiLayerPadSpokeAngle:90},isSetDefault:!0,unit:"mm"}}}}},{name:"JLCPCB Capability(Single Layer Board)",config:{Spacing:{"Safe Spacing":{copperThickness1oz:{column:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline"],editName:"copperThickness1oz",isSetDefault:!0,row:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline","Hole"],table:[[.102],[.152,.152],[.152,.152,.152],[.152,.152,.152,.152],[.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152,.152],[.254,.254,.254,.254,.254,.254,.254,.254],[.3,.152,.152,.152,.152,.152,.152,.254,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.3,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.152,.152,.152],[.3,.3,.3,.3,.3,.3,.3,.254,.3,.3,.3],[.176,.176,.176,.176,.176,.176,.176,.254,.176,.176,.176,.176]],unit:"mm"},copperThickness2oz:{column:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline"],editName:"copperThickness2oz",isSetDefault:!1,row:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline","Hole"],table:[[.203],[.152,.152],[.152,.152,.152],[.152,.152,.152,.152],[.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152,.152],[.254,.254,.254,.254,.254,.254,.254,.254],[.3,.152,.152,.152,.152,.152,.152,.254,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.3,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.152,.152,.152],[.3,.3,.3,.3,.3,.3,.3,.254,.3,.3,.3],[.176,.176,.176,.176,.176,.176,.176,.254,.176,.176,.176,.176]],unit:"mm"}},"Other Spacing":{otherClearance:{editName:"otherClearance",form:{device2device:0,thru2Smd:0,hole2Hole:.3},isSetDefault:!0,unit:"mm"}},"Creepage Distance":{creepage:{editName:"creepage",form:{creepageDistance:0,ignoreLayer:!0},isSetDefault:!0,unit:"mm"}}},Expansion:{"Paste Mask Expansion":{pasteMaskExpansion:{editName:"pasteMaskExpansion",form:{padBottomlayerExpansion:0,padToplayerExpansion:0,testPointBottomlayerExpansion:-25.4,testPointToplayerExpansion:-25.4},isSetDefault:!0,unit:"mm"}},"Solder Mask Expansion":{solderMaskExpansion:{editName:"solderMaskExpansion",form:{padBottomlayerExpansion:.051,padToplayerExpansion:.051,viaBottomlayerExpansion:-25.4,viaToplayerExpansion:-25.4,testPointBottomlayerExpansion:.051,testPointToplayerExpansion:.051},isSetDefault:!0,unit:"mm"}}},Physics:{"Blind/Buried Via":{blindVia:{editName:"blindVia",isSetDefault:!0,table:[]}},"Differential Pair":{differentialPair:{editName:"differentialPair",form:{differentailPairLenTolerMax:.254,differentailPairSpacingDefault:.152,differentailPairSpacingMin:.152,strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.127},isSetDefault:!0,unit:"mm"}},"Net Length Range":{netLength:{editName:"netLength",form:{netLengthMax:0,netLengthMin:0},isSetDefault:!0,unit:"mm"}},"Net Length Tolerance":{netLengthTolerance:{editName:"netLengthTolerance",form:{netLengthTolerance:25.4},isSetDefault:!0,unit:"mm"}},Track:{copperThickness1oz:{editName:"copperThickness1oz",form:{strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.102},isSetDefault:!0,unit:"mm"},copperThickness2oz:{editName:"copperThickness2oz",form:{strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.203},isSetDefault:!1,unit:"mm"}},"Via Size":{viaSize:{editName:"viaSize",form:{viaInnerdiameterDefault:.5,viaInnerdiameterMax:6.3,viaInnerdiameterMin:.3,viaOuterdiameterDefault:1,viaOuterdiameterMax:10,viaOuterdiameterMin:.5},isSetDefault:!0,unit:"mm"}}},Plane:{"Copper Zone":{copperRegion:{editName:"copperRegion",form:{multiLayerPadConnectionMode:"0",multiLayerPadDivergenceSpacing:.254,multiLayerPadDivergenceStrokeWidth:.254,multiLayerPadSpokeAngle:90,padConnectionMode:"0",padDivergenceSpacing:.254,padDivergenceStrokeWidth:.254,padSpokeAngle:90,trackConnectionMode:"0"},isSetDefault:!0,unit:"mm"}},"Plane Zone":{innerPlane:{editName:"innerPlane",form:{multiLayerPadConnectionMode:"0",multiLayerPadDivergenceSpacing:.254,multiLayerPadDivergenceStrokeWidth:.254,multiLayerPadSpokeAngle:90},isSetDefault:!0,unit:"mm"}}}}},{name:"JLCPCB Capability(Multiple Layers Board)",config:{Spacing:{"Safe Spacing":{copperThickness1oz:{column:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline"],editName:"copperThickness1oz",isSetDefault:!0,row:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline","Hole"],table:[[.102],[.152,.152],[.152,.152,.152],[.152,.152,.152,.152],[.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152,.152],[.254,.254,.254,.254,.254,.254,.254,.254],[.3,.152,.152,.152,.152,.152,.152,.254,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.3,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.152,.152,.152],[.3,.3,.3,.3,.3,.3,.3,.254,.3,.3,.3],[.176,.176,.176,.176,.176,.176,.176,.254,.176,.176,.176,.176]],unit:"mm"},copperThickness2oz:{column:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline"],editName:"copperThickness2oz",isSetDefault:!1,row:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline","Hole"],table:[[.203],[.152,.152],[.152,.152,.152],[.152,.152,.152,.152],[.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152,.152],[.254,.254,.254,.254,.254,.254,.254,.254],[.3,.152,.152,.152,.152,.152,.152,.254,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.3,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.152,.152,.152],[.3,.3,.3,.3,.3,.3,.3,.254,.3,.3,.3],[.176,.176,.176,.176,.176,.176,.176,.254,.176,.176,.176,.176]],unit:"mm"},"copperThicknessInner0.5oz":{column:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline"],editName:"copperThicknessInner0.5oz",isSetDefault:!1,row:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline","Hole"],table:[[.089],[.152,.152],[.152,.152,.152],[.152,.152,.152,.152],[.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152,.152],[.254,.254,.254,.254,.254,.254,.254,.254],[.3,.152,.152,.152,.152,.152,.152,.254,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.3,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.152,.152,.152],[.3,.3,.3,.3,.3,.3,.3,.254,.3,.3,.3],[.176,.176,.176,.176,.176,.176,.176,.254,.176,.176,.176,.176]],unit:"mm"}},"Other Spacing":{otherClearance:{editName:"otherClearance",form:{device2device:0,thru2Smd:0,hole2Hole:.3},isSetDefault:!0,unit:"mm"}},"Creepage Distance":{creepage:{editName:"creepage",form:{creepageDistance:0,ignoreLayer:!0},isSetDefault:!0,unit:"mm"}}},Expansion:{"Paste Mask Expansion":{pasteMaskExpansion:{editName:"pasteMaskExpansion",form:{padBottomlayerExpansion:0,padToplayerExpansion:0,testPointBottomlayerExpansion:-25.4,testPointToplayerExpansion:-25.4},isSetDefault:!0,unit:"mm"}},"Solder Mask Expansion":{solderMaskExpansion:{editName:"solderMaskExpansion",form:{padBottomlayerExpansion:.051,padToplayerExpansion:.051,viaBottomlayerExpansion:-25.4,viaToplayerExpansion:-25.4,testPointBottomlayerExpansion:.051,testPointToplayerExpansion:.051},isSetDefault:!0,unit:"mm"}}},Physics:{"Blind/Buried Via":{blindVia:{editName:"blindVia",isSetDefault:!0,table:[]}},"Differential Pair":{differentialPair:{editName:"differentialPair",form:{differentailPairLenTolerMax:.254,differentailPairSpacingDefault:.152,differentailPairSpacingMin:.152,strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.127},isSetDefault:!0,unit:"mm"}},"Net Length Range":{netLength:{editName:"netLength",form:{netLengthMax:0,netLengthMin:0},isSetDefault:!0,unit:"mm"}},"Net Length Tolerance":{netLengthTolerance:{editName:"netLengthTolerance",form:{netLengthTolerance:25.4},isSetDefault:!0,unit:"mm"}},Track:{copperThickness1oz:{editName:"copperThickness1oz",form:{strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.102},isSetDefault:!0,unit:"mm"},copperThickness2oz:{editName:"copperThickness2oz",form:{strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.203},isSetDefault:!1,unit:"mm"},"copperThickness0.5oz":{editName:"copperThickness0.5oz",form:{strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.089},isSetDefault:!1,unit:"mm"}},"Via Size":{viaSize:{editName:"viaSize",form:{viaInnerdiameterDefault:.305,viaInnerdiameterMax:6.3,viaInnerdiameterMin:.2,viaOuterdiameterDefault:.61,viaOuterdiameterMax:10,viaOuterdiameterMin:.3},isSetDefault:!0,unit:"mm"}}},Plane:{"Copper Zone":{copperRegion:{editName:"copperRegion",form:{multiLayerPadConnectionMode:"0",multiLayerPadDivergenceSpacing:.254,multiLayerPadDivergenceStrokeWidth:.254,multiLayerPadSpokeAngle:90,padConnectionMode:"0",padDivergenceSpacing:.254,padDivergenceStrokeWidth:.254,padSpokeAngle:90,trackConnectionMode:"0"},isSetDefault:!0,unit:"mm"}},"Plane Zone":{innerPlane:{editName:"innerPlane",form:{multiLayerPadConnectionMode:"0",multiLayerPadDivergenceSpacing:.254,multiLayerPadDivergenceStrokeWidth:.254,multiLayerPadSpokeAngle:90},isSetDefault:!0,unit:"mm"}}}}},{name:"JLCPCB Capability(High Frequency Board)",config:{Spacing:{"Safe Spacing":{safeClearance:{column:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline"],editName:"safeClearance",isSetDefault:!0,row:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline","Hole"],table:[[.102],[.152,.152],[.152,.152,.152],[.152,.152,.152,.152],[.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152,.152],[.254,.254,.254,.254,.254,.254,.254,.254],[.3,.152,.152,.152,.152,.152,.152,.254,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.3,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.152,.152,.152],[.3,.3,.3,.3,.3,.3,.3,.254,.3,.3,.3],[.176,.176,.176,.176,.176,.176,.176,.254,.176,.176,.176,.176]],unit:"mm"}},"Other Spacing":{otherClearance:{editName:"otherClearance",form:{device2device:0,thru2Smd:0,hole2Hole:.3},isSetDefault:!0,unit:"mm"}},"Creepage Distance":{creepage:{editName:"creepage",form:{creepageDistance:0,ignoreLayer:!0},isSetDefault:!0,unit:"mm"}}},Expansion:{"Paste Mask Expansion":{pasteMaskExpansion:{editName:"pasteMaskExpansion",form:{padBottomlayerExpansion:0,padToplayerExpansion:0,testPointBottomlayerExpansion:-25.4,testPointToplayerExpansion:-25.4},isSetDefault:!0,unit:"mm"}},"Solder Mask Expansion":{solderMaskExpansion:{editName:"solderMaskExpansion",form:{padBottomlayerExpansion:.051,padToplayerExpansion:.051,viaBottomlayerExpansion:-25.4,viaToplayerExpansion:-25.4,testPointBottomlayerExpansion:.051,testPointToplayerExpansion:.051},isSetDefault:!0,unit:"mm"}}},Physics:{"Blind/Buried Via":{blindVia:{editName:"blindVia",isSetDefault:!0,table:[]}},"Differential Pair":{differentialPair:{editName:"differentialPair",form:{differentailPairLenTolerMax:.254,differentailPairSpacingDefault:.152,differentailPairSpacingMin:.152,strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.127},isSetDefault:!0,unit:"mm"}},"Net Length Range":{netLength:{editName:"netLength",form:{netLengthMax:0,netLengthMin:0},isSetDefault:!0,unit:"mm"}},"Net Length Tolerance":{netLengthTolerance:{editName:"netLengthTolerance",form:{netLengthTolerance:25.4},isSetDefault:!0,unit:"mm"}},Track:{trackWidth:{editName:"trackWidth",form:{strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.102},isSetDefault:!0,unit:"mm"}},"Via Size":{viaSize:{editName:"viaSize",form:{viaInnerdiameterDefault:.305,viaInnerdiameterMax:6,viaInnerdiameterMin:.25,viaOuterdiameterDefault:.61,viaOuterdiameterMax:10,viaOuterdiameterMin:.5},isSetDefault:!0,unit:"mm"}}},Plane:{"Copper Zone":{copperRegion:{editName:"copperRegion",form:{multiLayerPadConnectionMode:"0",multiLayerPadDivergenceSpacing:.254,multiLayerPadDivergenceStrokeWidth:.254,multiLayerPadSpokeAngle:90,padConnectionMode:"0",padDivergenceSpacing:.254,padDivergenceStrokeWidth:.254,padSpokeAngle:90,trackConnectionMode:"0"},isSetDefault:!0,unit:"mm"}},"Plane Zone":{innerPlane:{editName:"innerPlane",form:{multiLayerPadConnectionMode:"0",multiLayerPadDivergenceSpacing:.254,multiLayerPadDivergenceStrokeWidth:.254,multiLayerPadSpokeAngle:90},isSetDefault:!0,unit:"mm"}}}}},{name:"JLCPCB Capability(Aluminum Substrate Board)",config:{Spacing:{"Safe Spacing":{safeClearance:{column:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline"],editName:"safeClearance",isSetDefault:!0,row:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline","Hole"],table:[[.102],[.152,.152],[.152,.152,.152],[.152,.152,.152,.152],[.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152,.152],[.254,.254,.254,.254,.254,.254,.254,.254],[.3,.152,.152,.152,.152,.152,.152,.254,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.3,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.152,.152,.152],[.3,.3,.3,.3,.3,.3,.3,.254,.3,.3,.3],[.176,.176,.176,.176,.176,.176,.176,.254,.176,.176,.176,.176]],unit:"mm"}},"Other Spacing":{otherClearance:{editName:"otherClearance",form:{device2device:0,thru2Smd:0,hole2Hole:.3},isSetDefault:!0,unit:"mm"}},"Creepage Distance":{creepage:{editName:"creepage",form:{creepageDistance:0,ignoreLayer:!0},isSetDefault:!0,unit:"mm"}}},Expansion:{"Paste Mask Expansion":{pasteMaskExpansion:{editName:"pasteMaskExpansion",form:{padBottomlayerExpansion:0,padToplayerExpansion:0,testPointBottomlayerExpansion:-25.4,testPointToplayerExpansion:-25.4},isSetDefault:!0,unit:"mm"}},"Solder Mask Expansion":{solderMaskExpansion:{editName:"solderMaskExpansion",form:{padBottomlayerExpansion:.051,padToplayerExpansion:.051,viaBottomlayerExpansion:-25.4,viaToplayerExpansion:-25.4,testPointBottomlayerExpansion:.051,testPointToplayerExpansion:.051},isSetDefault:!0,unit:"mm"}}},Physics:{"Blind/Buried Via":{blindVia:{editName:"blindVia",isSetDefault:!0,table:[]}},"Differential Pair":{differentialPair:{editName:"differentialPair",form:{differentailPairLenTolerMax:.254,differentailPairSpacingDefault:.152,differentailPairSpacingMin:.152,strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.127},isSetDefault:!0,unit:"mm"}},"Net Length Range":{netLength:{editName:"netLength",form:{netLengthMax:0,netLengthMin:0},isSetDefault:!0,unit:"mm"}},"Net Length Tolerance":{netLengthTolerance:{editName:"netLengthTolerance",form:{netLengthTolerance:25.4},isSetDefault:!0,unit:"mm"}},Track:{trackWidth:{editName:"trackWidth",form:{strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.102},isSetDefault:!0,unit:"mm"}},"Via Size":{viaSize:{editName:"viaSize",form:{viaInnerdiameterDefault:1,viaInnerdiameterMax:6,viaInnerdiameterMin:1,viaOuterdiameterDefault:2,viaOuterdiameterMax:10,viaOuterdiameterMin:1},isSetDefault:!0,unit:"mm"}}},Plane:{"Copper Zone":{copperRegion:{editName:"copperRegion",form:{multiLayerPadConnectionMode:"0",multiLayerPadDivergenceSpacing:.254,multiLayerPadDivergenceStrokeWidth:.254,multiLayerPadSpokeAngle:90,padConnectionMode:"0",padDivergenceSpacing:.254,padDivergenceStrokeWidth:.254,padSpokeAngle:90,trackConnectionMode:"0"},isSetDefault:!0,unit:"mm"}},"Plane Zone":{innerPlane:{editName:"innerPlane",form:{multiLayerPadConnectionMode:"0",multiLayerPadDivergenceSpacing:.254,multiLayerPadDivergenceStrokeWidth:.254,multiLayerPadSpokeAngle:90},isSetDefault:!0,unit:"mm"}}}}},{name:"JLCPCB Capability(Copper Substrate Board)",config:{Spacing:{"Safe Spacing":{safeClearance:{column:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline"],editName:"safeClearance",isSetDefault:!0,row:["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline","Hole"],table:[[.102],[.152,.152],[.152,.152,.152],[.152,.152,.152,.152],[.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152],[.152,.152,.152,.152,.152,.152,.152],[.254,.254,.254,.254,.254,.254,.254,.254],[.3,.152,.152,.152,.152,.152,.152,.254,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.3,.152],[.152,.152,.152,.152,.152,.152,.152,.254,.152,.152,.152],[.3,.3,.3,.3,.3,.3,.3,.254,.3,.3,.3],[.176,.176,.176,.176,.176,.176,.176,.254,.176,.176,.176,.176]],unit:"mm"}},"Other Spacing":{otherClearance:{editName:"otherClearance",form:{device2device:0,thru2Smd:0,hole2Hole:.3},isSetDefault:!0,unit:"mm"}},"Creepage Distance":{creepage:{editName:"creepage",form:{creepageDistance:0,ignoreLayer:!0},isSetDefault:!0,unit:"mm"}}},Expansion:{"Paste Mask Expansion":{pasteMaskExpansion:{editName:"pasteMaskExpansion",form:{padBottomlayerExpansion:0,padToplayerExpansion:0,testPointBottomlayerExpansion:-25.4,testPointToplayerExpansion:-25.4},isSetDefault:!0,unit:"mm"}},"Solder Mask Expansion":{solderMaskExpansion:{editName:"solderMaskExpansion",form:{padBottomlayerExpansion:.051,padToplayerExpansion:.051,viaBottomlayerExpansion:-25.4,viaToplayerExpansion:-25.4,testPointBottomlayerExpansion:.051,testPointToplayerExpansion:.051},isSetDefault:!0,unit:"mm"}}},Physics:{"Blind/Buried Via":{blindVia:{editName:"blindVia",isSetDefault:!0,table:[]}},"Differential Pair":{differentialPair:{editName:"differentialPair",form:{differentailPairLenTolerMax:.254,differentailPairSpacingDefault:.152,differentailPairSpacingMin:.152,strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.127},isSetDefault:!0,unit:"mm"}},"Net Length Range":{netLength:{editName:"netLength",form:{netLengthMax:0,netLengthMin:0},isSetDefault:!0,unit:"mm"}},"Net Length Tolerance":{netLengthTolerance:{editName:"netLengthTolerance",form:{netLengthTolerance:25.4},isSetDefault:!0,unit:"mm"}},Track:{trackWidth:{editName:"trackWidth",form:{strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.102},isSetDefault:!0,unit:"mm"}},"Via Size":{viaSize:{editName:"viaSize",form:{viaInnerdiameterDefault:1,viaInnerdiameterMax:6,viaInnerdiameterMin:1,viaOuterdiameterDefault:2,viaOuterdiameterMax:10,viaOuterdiameterMin:1},isSetDefault:!0,unit:"mm"}}},Plane:{"Copper Zone":{copperRegion:{editName:"copperRegion",form:{multiLayerPadConnectionMode:"0",multiLayerPadDivergenceSpacing:.254,multiLayerPadDivergenceStrokeWidth:.254,multiLayerPadSpokeAngle:90,padConnectionMode:"0",padDivergenceSpacing:.254,padDivergenceStrokeWidth:.254,padSpokeAngle:90,trackConnectionMode:"0"},isSetDefault:!0,unit:"mm"}},"Plane Zone":{innerPlane:{editName:"innerPlane",form:{multiLayerPadConnectionMode:"0",multiLayerPadDivergenceSpacing:.254,multiLayerPadDivergenceStrokeWidth:.254,multiLayerPadSpokeAngle:90},isSetDefault:!0,unit:"mm"}}}}}];var C$i=null,nkt,z6e="DRDialogContainer",x$i="User Custom Config",Pqe=class extends qe{constructor(i){super();this.disabled=!1;this.options=[];this.parent=i}initial(i){var s,l,c;let o=i.ruleTemplateName,r;i.ruleTemplateName?r=((l=(s=C.profileSetting)==null?void 0:s.usrPcbProcessConfigProfile)==null?void 0:l.defaultPcbProcessConfigProfile)||"JLCPCB Capability(Two Layers Board)":r=o,this.data?(o=o||me.i18n(x$i),this.data.processConfigProfileSelectedName=o):(o=o||me.i18n(x$i),this.data=w$i(o,r)),this.data.defaultPcbProcessConfigProfile=r,this.paramsData=JSON.parse(JSON.stringify(i)),this.originParamsData=JSON.parse(JSON.stringify(i)),this.data.usrPcbProcessConfigProfile=(c=akt())==null?void 0:c.config,this.data.sysPcbProcessConfigProfile.length||(this.data.sysPcbProcessConfigProfile=NY.map((d,u)=>({...d,text:me.i18n(d.name)}))),this.data.sysPcbProcessConfigProfile.map((d,u)=>d.name).includes(this.data.processConfigProfileSelectedName)?(this.data.processConfigSettingSaveAsConfig.disabled=!1,this.data.processConfigSettingSaveAsDefault.disabled=!1,this.data.processConfigSettingRenameConfig.disabled=!0,this.data.processConfigSettingDeleteConfig.disabled=!0,this.data.processConfigSettingSaveConfig.disabled=!0):(this.data.processConfigSettingSaveAsConfig.disabled=!1,this.data.processConfigSettingSaveAsDefault.disabled=!1,this.data.processConfigSettingRenameConfig.disabled=!1,this.data.processConfigSettingDeleteConfig.disabled=!1,this.data.processConfigSettingSaveConfig.disabled=!this.data.isWaitToSave),Ft(this.data.usrPcbProcessConfigProfile,"name",this.data.processConfigProfileSelectedName).index<0&&(this.data.processConfigSettingRenameConfig.disabled=!0,this.data.processConfigSettingDeleteConfig.disabled=!0),this.updateSelectOptions(),dg.on("setSaveBtnStatus",d=>{window.clearTimeout(C$i),C$i=window.setTimeout(()=>{this.data.sysPcbProcessConfigProfile.map(u=>u.name).includes(this.data.processConfigProfileSelectedName)||(nkt=d,d==="disabled"?this.data.processConfigSettingSaveConfig.disabled=!0:d==="available"&&(this.data.processConfigSettingSaveConfig.disabled=!1),this.updateSelectOptions())},100)},z6e)}restore(){let i;this.data.processConfigProfileSelectedName!==me.i18n("Custom Config")?i=this.data.processConfigProfileSelectedName:i=this.data.lastProcessConfigProfileSelectedName;let o=Ft(this.data.usrPcbProcessConfigProfile,"name",i),r;if(o.index>-1)r=this.findDefaultRuleData(o.data.config);else{let n=Ft(this.data.sysPcbProcessConfigProfile,"name",i);if(n.index>-1)r=this.findDefaultRuleData(n.data.config);else{let a=this.data.defaultPcbProcessConfigProfile||"JLCPCB Capability(Two Layers Board)",s=Ft(this.data.usrPcbProcessConfigProfile,"name",a);s.index<0&&(s=Ft(this.data.sysPcbProcessConfigProfile,"name",a)),r=this.findDefaultRuleData(s.data.config)}}this.parent.ruleManager.selectedRuleData.args={...this.parent.ruleManager.selectedRuleData.args,...JSON.parse(JSON.stringify(r)),editName:this.parent.ruleManager.selectedRuleData.args.editName,isSetDefault:this.parent.ruleManager.selectedRuleData.args.isSetDefault},this.parent.ruleManager.updateTreeData(),this.parent.ruleManager.changeUnit2(this.parent.ruleManager.selectedRuleData,this.parent.ruleManager.selectedRuleType,this.parent.ruleManager.unit)}findDefaultRuleData(i){hge(i);for(let o in i)for(let r in i[o])if(r==this.parent.ruleManager.selectedRuleType){let n=i[o][r];for(let a in n)if(n[a].isSetDefault)return n[a]}}updateSelectOptions(i){let o=this.data.sysPcbProcessConfigProfile.map((c,d)=>({text:c.name,value:c.name})),r=this.data.usrPcbProcessConfigProfile.map((c,d)=>({text:c.name,value:c.name})),n=this.data.defaultPcbProcessConfigProfile,a=l(o,n);a||(a=l(r,n,!0));let s=a?a.defConf:[];o.length>0&&(o[o.length-1].style={borderBottom:"1px solid var(--border-color-panel-divider)"}),i&&r.push(i),r.length>0&&(it(r,(c,d)=>{d.text={value:d.text+"{value}",options:{value:""}}}),r[r.length-1].style={borderBottom:"1px solid var(--border-color-panel-divider)"}),this.value=this.data.processConfigProfileSelectedName,this.options=[...s,...o,...r,this.data.processConfigSettingSaveAsConfig,this.data.processConfigSettingSaveAsDefault,this.data.processConfigSettingRenameConfig,this.data.processConfigSettingDeleteConfig,this.data.processConfigSettingSaveConfig],this.options.every(c=>c.value!=this.value)&&this.options.unshift({text:me.i18n(this.value),value:this.value}),this.disabled=!1,this.update();function l(c,d,u=!1){let p=Ft(c,"value",d);if(p.index!=-1){let m=c[p.index],h=c.splice(p.index,1);return m.text={value:m.text+(u?"{value}":"(Default)"),options:{value:me.i18n("(Default)")}},m.style={borderBottom:"1px solid var(--border-color-panel-divider)"},{defConf:[m],res:h}}return null}}handleTagitemInputChangeAction(i){switch(this.value=i,i){case"rename-config":{this.disabled=!0,cB({forms:[{type:"input",title:me.i18n("Name"),key:"name",value:this.data.processConfigProfileSelectedName,tips:""}]},o=>{let{formData:r}=o.data,n=(r.name||"").trim(),a=!0;if(n||(Ut({type:"warn",message:"Please Input Name"}),a=!1),n.length>20&&(Ut({type:"warn",message:me.i18n("The typing cannot over {0} characters.",[20])}),a=!1),!a){this.value=this.data.processConfigProfileSelectedName,this.disabled=!1,this.data.isWaitToSave&&this.setSelectViewWaitToSave();return}let s=this.removeItemFromStorage(this.data.processConfigProfileSelectedName);if(!s){this.value=this.data.processConfigProfileSelectedName,this.disabled=!1;return}if(Ft(this.data.usrPcbProcessConfigProfile,"name",n).index>=0){Ut({type:"warn",message:"Name already exists"}),this.value=this.data.processConfigProfileSelectedName,this.disabled=!1,this.data.usrPcbProcessConfigProfile.splice(s.index,0,{...s.data});return}let c=this.parent.getFormData();this.data.usrPcbProcessConfigProfile.splice(s.index,0,{name:n,config:c.Rule}),this.data.processConfigProfileSelectedName===this.data.defaultPcbProcessConfigProfile&&(this.data.defaultPcbProcessConfigProfile=n),this.data.processConfigProfileSelectedName=n,this.data.processConfigSettingSaveAsConfig.disabled=!1,this.data.processConfigSettingRenameConfig.disabled=!1,this.data.processConfigSettingDeleteConfig.disabled=!1,this.data.processConfigSettingSaveConfig.disabled=typeof nkt>"u"?!0:nkt!=="available",this.updateSelectOptions(),this.updatePreference()},()=>{this.value=this.data.processConfigProfileSelectedName,this.disabled=!1,this.update()});break}case"save-as-config":{this.openSaveAsConfigDlg();break}case"save-config":{if(this.data.processConfigProfileSelectedName==me.i18n("Custom Config")){this.openSaveAsConfigDlg();return}this.value=this.data.processConfigProfileSelectedName;let o=Ft(this.data.usrPcbProcessConfigProfile,"name",this.data.processConfigProfileSelectedName);if(o.index<=-1)return;o.data.config=this.parent.ruleManager.getFormData(),this.data.processConfigSettingSaveAsConfig.disabled=!1,this.data.processConfigSettingRenameConfig.disabled=!1,this.data.processConfigSettingDeleteConfig.disabled=!1,this.data.processConfigSettingSaveConfig.disabled=!0,this.updateSelectOptions(),this.data.isWaitToSave=!1,this.updatePreference(),dg.emit("setSaveBtnStatus","disabled",z6e);break}case"delete-config":{this.disabled=!0,Dt({icon:"question",closed:!0,content:me.i18n("Are you sure you want to delete?"),onConfirm:()=>{let o=Ft(this.data.usrPcbProcessConfigProfile,"name",this.data.processConfigProfileSelectedName);if(o.index<=-1){Ft(this.data.sysPcbProcessConfigProfile,"name",this.data.processConfigProfileSelectedName).index<=-1&&(this.data.processConfigProfileSelectedName=this.data.defaultPcbProcessConfigProfile),this.value=this.data.processConfigProfileSelectedName,this.handleClickDataItem();return}this.data.usrPcbProcessConfigProfile.splice(o.index,1),this.data.processConfigProfileSelectedName===this.data.defaultPcbProcessConfigProfile&&(this.data.defaultPcbProcessConfigProfile="JLCPCB Capability(Two Layers Board)"),this.data.processConfigProfileSelectedName=this.data.defaultPcbProcessConfigProfile,this.data.processConfigSettingSaveAsConfig.disabled=!1,this.data.processConfigSettingRenameConfig.disabled=!0,this.data.processConfigSettingDeleteConfig.disabled=!0,this.data.processConfigSettingSaveConfig.disabled=!0,this.updateSelectOptions();let r=this.paramsData,n=Ft(this.data.usrPcbProcessConfigProfile,"name",this.data.processConfigProfileSelectedName);if(n.index>=0)r.Rule=n.data.config;else{let a=Ft(this.data.sysPcbProcessConfigProfile,"name",this.data.processConfigProfileSelectedName);a.index>=0&&(r.Rule=a.data.config)}this.parent.ruleManager.initial(r),this.parent.ruleManager.setAllRuleUnsaved(),this.updatePreference()},onClose:()=>{this.value=this.data.processConfigProfileSelectedName,this.updateSelectOptions()}});break}case"Set-as-new-pcb-default-config":{this.data.isWaitToSave?this.openSaveAsConfigDlg(!0):(this.data.defaultPcbProcessConfigProfile=this.data.processConfigProfileSelectedName,this.updatePreference(),this.updateSelectOptions());break}default:this.handleClickDataItem()}}openSaveAsConfigDlg(i=!1){if(this.disabled=!0,this.data.usrPcbProcessConfigProfile.length>=5){Ut({type:"warn",message:"No more than 5 custom configurations"}),this.value=this.data.processConfigProfileSelectedName,this.disabled=!1,this.update();return}cB({forms:[{type:"input",title:me.i18n("Name"),key:"name",value:me.i18n("Custom Config")+"1",tips:""}]},o=>{let{formData:r}=o.data,n=(r.name||"").trim(),a=!0;if(n||(Ut({type:"warn",message:"Please Input Name"}),a=!1),n.length>20&&(Ut({type:"warn",message:me.i18n("The typing cannot over {0} characters.",[20])}),a=!1),!a){this.value=this.data.processConfigProfileSelectedName,this.disabled=!1,this.update();return}if(Ft(this.data.usrPcbProcessConfigProfile,"name",n).index>=0){Ut({type:"warn",message:"Name already exists"}),this.value=this.data.processConfigProfileSelectedName,this.disabled=!1,this.update();return}this.data.processConfigProfileSelectedName=n;let l=this.parent.getFormData();this.data.usrPcbProcessConfigProfile.push({name:n,config:l.Rule}),i&&(this.data.defaultPcbProcessConfigProfile=n),this.data.processConfigSettingSaveAsDefault.disabled=!1,this.data.processConfigSettingSaveAsConfig.disabled=!1,this.data.processConfigSettingRenameConfig.disabled=!1,this.data.processConfigSettingDeleteConfig.disabled=!1,this.data.processConfigSettingSaveConfig.disabled=!0,this.updateSelectOptions(),this.data.isWaitToSave=!1;let c=this.paramsData;c.Rule=l.Rule,this.parent.ruleManager.initial(c),this.parent.ruleManager.setAllRuleUnsaved(),this.updatePreference()},()=>{this.value=this.data.processConfigProfileSelectedName,this.disabled=!1,this.update()})}removeItemFromStorage(i){let o=Ft(this.data.usrPcbProcessConfigProfile,"name",i);if(!(o.index<=-1))return this.data.usrPcbProcessConfigProfile.splice(o.index,1),o}updatePreference(){let i={selected:this.data.processConfigProfileSelectedName,config:JSON.parse(JSON.stringify(this.data.usrPcbProcessConfigProfile)),defaultPcbProcessConfigProfile:this.data.defaultPcbProcessConfigProfile};Ks({usrPcbProcessConfigProfile:i},!0)}handleClickDataItem(){this.data.isWaitToSave=!1,this.disabled=!0;let i=Ft(this.data.usrPcbProcessConfigProfile,"name",this.value);if(i.index>=0)this.setCustomPresetView(this.value,i.data.config);else{let o=Ft(this.data.sysPcbProcessConfigProfile,"name",this.value);o.index>=0&&this.setNonCustomPresetView(this.value,o.data.config)}}setNonCustomPresetView(i,o){this.data.processConfigProfileSelectedName=i,this.data.processConfigSettingSaveAsConfig.disabled=!1,this.data.processConfigSettingRenameConfig.disabled=!0,this.data.processConfigSettingDeleteConfig.disabled=!0,this.data.processConfigSettingSaveConfig.disabled=!0,this.updateSelectOptions();let r=JSON.parse(JSON.stringify(this.paramsData)),n={Rule:this.parent.ruleManager.getFormData()},a={...r,...n,ruleTemplateName:i};a.Rule=o,this.paramsData=JSON.parse(JSON.stringify(a)),window.setTimeout(()=>{this.parent.ruleManager.initial(this.paramsData),this.parent.ruleManager.setAllRuleUnsaved()})}setCustomPresetView(i,o){this.data.processConfigProfileSelectedName=i,this.data.processConfigSettingSaveAsConfig.disabled=!1,this.data.processConfigSettingRenameConfig.disabled=!1,this.data.processConfigSettingDeleteConfig.disabled=!1,this.data.processConfigSettingSaveConfig.disabled=!0,this.updateSelectOptions();let r=JSON.parse(JSON.stringify(this.paramsData)),n={Rule:this.parent.ruleManager.getFormData()},a={...r,...n};a.Rule=o,this.paramsData=JSON.parse(JSON.stringify(a)),window.setTimeout(()=>{this.parent.ruleManager.initial(this.paramsData),this.parent.ruleManager.setAllRuleUnsaved(),dg.emit("setSaveBtnStatus","available",z6e)})}setSelectViewWaitToSave(){this.data.isWaitToSave=!0,this.options.forEach(i=>{i.value===this.value&&i.text[0]!="*"&&(i.text="* "+i.text)})}update(){this.notify()}exportConfig(){let i={Rule:this.parent.ruleManager.getFormData(),Net:this.parent.netRule.getFormData("Net"),EqualLengthGroups:this.parent.netRule.getFormData("EqualLengthGroups"),NetDifferentails:this.parent.netRule.getFormData("NetDifferentails")};Z7r(i)}importConfig(){let i=JSON.parse(JSON.stringify(this.paramsData)),o={Rule:this.parent.ruleManager.getFormData()},r={...i,...o};this.tempDataForImport=r,zA((0,T$i.default)(document.body),n=>{n.designRulesCacheStorage=this.parent.getFormData(!0),J7r(n,(a,s)=>{let{hasRepeat:l,RuleData:c}=a.data;if(l){Dt({icon:"warning",title:me.i18n("Tips"),closed:!0,content:me.i18n("Rules with the same design rule name will be overwritten, whether the import is confirmed or not"),onConfirm:()=>{this.modifySysConfig(),r.Rule=c,this.paramsData=JSON.parse(JSON.stringify(r)),window.setTimeout(()=>{this.parent.ruleManager.initial(this.paramsData),this.parent.ruleManager.setAllRuleUnsaved(),dg.emit("setSaveBtnStatus","available",z6e),s&&s()})}});return}this.modifySysConfig(),r.Rule=c,this.paramsData=JSON.parse(JSON.stringify(r)),window.setTimeout(()=>{this.parent.ruleManager.initial(this.paramsData),this.parent.ruleManager.setAllRuleUnsaved(),dg.emit("setSaveBtnStatus","available",z6e),s&&s()})})})}modifySysConfig(){let i=Ft(this.data.sysPcbProcessConfigProfile,"name",this.data.processConfigProfileSelectedName),o=Ft(this.data.usrPcbProcessConfigProfile,"name",this.data.processConfigProfileSelectedName);if(i.index>=0){this.data.lastProcessConfigProfileSelectedName=this.data.processConfigProfileSelectedName,this.data.processConfigProfileSelectedName=me.i18n("Custom Config"),this.data.processConfigSettingRenameConfig.disabled=!0,this.data.isWaitToSave=!0;let r={text:me.i18n("Custom Config"),value:me.i18n("Custom Config")};this.updateSelectOptions(r)}o.index>=0&&(this.data.processConfigSettingSaveAsConfig.disabled=!1,this.data.processConfigSettingRenameConfig.disabled=!1,this.data.processConfigSettingDeleteConfig.disabled=!1,this.data.processConfigSettingSaveConfig.disabled=!1,this.data.isWaitToSave=!1,this.updateSelectOptions())}};async function Z7r(t){try{let e=await ii("export-design-rules-file",{designData:t})}catch(e){console.warn(e)}}async function J7r(t,e){try{t.confirmCallback=e,ii("import-design-rules-file",t)}catch(i){console.warn(i)}}function akt(){if(!C.profileSetting)return null;let t=JSON.parse(JSON.stringify((C.profileSetting.usrPcbProcessConfigProfile||{}).config||[]));for(let e of t)hge(e.config);return Object.assign({},C.profileSetting.usrPcbProcessConfigProfile,{config:t})}function hge(t,e=!0){let i=t.Spacing["Safe Spacing"],o=Object.values(t.Plane["Copper Zone"]).find(n=>n.isSetDefault);for(let n in i){let a=i[n];if(a.column.length==7&&a.row.length==8){a.column=["Track","SMD Pad","TH Pad","Via","Fill Region/Teardrop","Slot Region","Line","Text/Image","Board Outline"],a.row=["Track","SMD Pad","TH Pad","Via","Fill Region/Teardrop","Slot Region","Line","Text/Image","Board Outline","Hole"];let s=a.table;s.splice(1,0,s[1].slice(0));for(let l=2;l<s.length;l++)s[l].splice(1,0,s[l][1]);s.push([s[1][0],...s.slice(1).map(l=>l[1])])}if(a.column.length==9&&a.row.length==10){a.column=["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline"],a.row=["Track","SMD Pad","TH Pad","SMD Test Point","TH Test Point","Via","Fill Region/Teardrop","Copper/Plane Zone","Slot Region","Line","Text/Image","Board Outline","Hole"];let s=a.table;s.splice(3,0,[...s[1],s[2][1],s[1][1]],[...s[2],s[2][1],s[2][2]]);for(let l=5;l<s.length;l++)s[l].splice(3,0,s[l][1],s[l][2]);s.splice(7,0,Array(8).fill(o.form.networkSpacing));for(let l=8;l<s.length;l++)s[l].splice(7,0,o.form.networkSpacing);s[8][7]=o.form.distance2Border,s[11][7]=o.form.distance2Border}}let r=t.Spacing["Other Spacing"];for(let n in r){let a=r[n];a.form.thru2Smd==null&&(a.form.thru2Smd=0),a.form.hole2Hole==null&&(a.form.hole2Hole=ue.unitConversion.conversion1("mm",a.unit,.3))}for(let n in t.Spacing["Safe Spacing"]){let a=t.Spacing["Safe Spacing"][n];F6e("Safe Spacing",a)}for(let n in t.Physics.Track){let a=t.Physics.Track[n];F6e("Track",a)}for(let n in t.Physics["Differential Pair"]){let a=t.Physics["Differential Pair"][n];F6e("Differential Pair",a)}for(let n in t.Plane["Copper Zone"]){let a=t.Plane["Copper Zone"][n];F6e("Copper Zone",a)}for(let n in t.Plane["Plane Zone"]){let a=t.Plane["Plane Zone"][n];F6e("Plane Zone",a)}if(t.Physics["Net Length"]&&(t.Physics["Net Length Range"]=t.Physics["Net Length"],delete t.Physics["Net Length"]),!t.Physics["Net Length Tolerance"]&&e){let n=Object.values(t.Spacing["Safe Spacing"])[0].unit,a=kqe["Net Length Tolerance"];t.Physics["Net Length Tolerance"]={netLengthTolerance:{editName:"netLengthTolerance",form:{netLengthTolerance:ue.unitConversion.conversion(a.unit,n,a.form.netLengthTolerance)},isSetDefault:!0,unit:n}}}}function F6e(t,e){switch(t){case"Safe Spacing":{e.tables||(e.status=0,e.tables={1:{status:1,content:e.table}},delete e.table);break}case"Track":{e.form.data||(e.form={status:1,data:{1:{minValue:e.form.strokeWidthMin,defaultValue:e.form.strokeWidthDefault,maxValue:e.form.strokeWidthMax}}},delete e.form.strokeWidthMin,delete e.form.strokeWidthDefault,delete e.form.strokeWidthMax);break}case"Differential Pair":{e.form.strokeWidthTables||(e.form.strokeWidthTables={status:1,data:{1:{minValue:e.form.strokeWidthMin,defaultValue:e.form.strokeWidthDefault,maxValue:e.form.strokeWidthMax}}},delete e.form.strokeWidthMin,delete e.form.strokeWidthMax,delete e.form.strokeWidthDefault,e.form.diffPairSpacingTables={status:1,data:{1:{minValue:e.form.differentailPairSpacingMin,defaultValue:e.form.differentailPairSpacingDefault}}},delete e.form.differentailPairSpacingMin,delete e.form.differentailPairSpacingDefault);break}case"Plane Zone":{e.form.data||(e.form={status:1,data:{1:{connectMode:e.form.multiLayerPadConnectionMode,lineClearance:e.form.multiLayerPadDivergenceSpacing,lineWidth:e.form.multiLayerPadDivergenceStrokeWidth,lineAngle:e.form.multiLayerPadSpokeAngle}}},delete e.form.multiLayerPadConnectionMode,delete e.form.multiLayerPadDivergenceSpacing,delete e.form.multiLayerPadDivergenceStrokeWidth,delete e.form.multiLayerPadSpokeAngle);break}case"Copper Zone":e.form.singleLayerPadModel||(e.form.singleLayerPadModel={status:1,data:{1:{connectMode:e.form.padConnectionMode,lineClearance:e.form.padDivergenceSpacing,lineWidth:e.form.padDivergenceStrokeWidth,lineAngle:e.form.padSpokeAngle}}},delete e.form.strokeWidthMin,delete e.form.strokeWidthDefault,delete e.form.strokeWidthMax,delete e.form.strokeWidthMax,e.form.multiLayerPadModel={status:1,data:{1:{connectMode:e.form.multiLayerPadConnectionMode,lineClearance:e.form.multiLayerPadDivergenceSpacing,lineWidth:e.form.multiLayerPadDivergenceStrokeWidth,lineAngle:e.form.multiLayerPadSpokeAngle}}},delete e.form.multiLayerPadConnectionMode,delete e.form.multiLayerPadDivergenceSpacing,delete e.form.multiLayerPadDivergenceStrokeWidth,delete e.form.multiLayerPadSpokeAngle,e.form.trackConnectModel={status:1,data:{1:{trackConnectMode:e.form.trackConnectionMode}}},delete e.form.trackConnectionMode)}return e}var S$i="DRDialogContainer",Oqe=class extends qe{constructor(i){super();this.treeData=[];this._unit="mil";this.ruleOrder=[{Spacing:_t?["Safe Spacing","Creepage Distance","Other Spacing"]:["Safe Spacing","Other Spacing"]},{Physics:["Track","Net Length Range","Net Length Tolerance","Differential Pair","Blind/Buried Via","Via Size"]},{Plane:["Plane Zone","Copper Zone"]},{Expansion:["Paste Mask Expansion","Solder Mask Expansion"]}];this.layerList=new Array;this.viaSizeList=new Array;this.refreshTableMap=new Map;this.ruleName="Rule";this.expandedIds=[];this.parent=i,this._hasCommonModified=!1,this.expandedIds=this.parent.getAllFolderIds(this.ruleOrder)}initial(i,o=!1){hge(i.Rule),this.handleRemovedRules(i),this.layerList=i.option.sort((l,c)=>l.value==2?1:c.value==2?-1:Number(l.value)-Number(c.value)),this.layerList.forEach(l=>{if(l.dataTest)return;let c=l.text.toString(),d=+l.value,u=this.getBlindLayerOrder(d);l.dataTest=c;let p=c.match(/\d+$/),m;p&&(m=p[0],c=c.replace(/\d+$/,"")),l.text={value:m?`{layerOrder}.${c}{number}`:`{layerOrder}.${c}`,options:{layerOrder:u,number:m}}}),this.removeBlindViaRuleForNotExistInnerLayer(i.Rule.Physics["Blind/Buried Via"],i.option);let r=Object.values(i.Rule.Spacing["Safe Spacing"])[0].unit;this.treeData=this.initTreeData(i.Rule),this.updateViaSizeList(),this.selectedRuleType=this.parent.activeTopTab=="Rule"?this.parent.activeRuleType:"Safe Spacing";let n=i.Rule[this.selectedRuleCategory][this.selectedRuleType],a,s;for(let l in n){let c=n[l];this.unit=r,c.editName==this.parent.activeRuleName&&(s=`${this.selectedRuleType}:${c.editName}`),c.isSetDefault&&(a=`${this.selectedRuleType}:${c.editName}`)}this.selectedRule=s||a,this.parent.activeRuleName=null,!o&&this.updateRuleOptions()}getSelectedRuleToTop(){let i=0;for(let o of this.treeData){i++;for(let r of o.children){i++;for(let n of r.children){if(this.selectedRule==n.id)return i;i++}}}return 0}get hasCommonModified(){return this._hasCommonModified}set hasCommonModified(i){this._hasCommonModified=i}get unit(){return this._unit}set unit(i){this._unit=i,this.refresh()}get selectedRuleData(){let i=this.getRuleTypeData(this.selectedRuleType);for(let o of i.children)if(`${this.selectedRuleType}:${o.args.editName}`==this.selectedRule)return o}updateCurrentSpacingTable(){let i=this.selectedRuleData.args.tables;for(let o in i){let r=i[o];if(r.status)for(let n=0;n<r.content.length;n++)for(let a=0;a<r.content[n].length;a++){let s=`safe-spacing-table-layer${o}-td${n}${a}`,l=document.querySelector(`#${s} input`);l&&(l.value=Om(r.content[n][a],{decimalPlacesShow:this.unit=="mm"?3:1}).toString())}}}setSelectedRuleUnsaved(i=!0,o){if(this.parent.readonly)return;let r;o?(o.args.redStar=i,r=o.id.toString()):(this.selectedRuleData.args.redStar=i,r=this.parent.ruleManager.selectedRule),i&&(this.parent.processConfig.modifySysConfig(),dg.emit("setSaveBtnStatus","available",S$i));let n=document.querySelector(`[data-itemid="${r}"] i`);n?n.style.display=i?"":"none":this.updateTreeData()}setAllRuleUnsaved(i=!0){this.treeData.forEach(o=>{o.children.forEach(r=>{r.children.forEach(n=>{n.args.redStar=i;let a=document.querySelector(`[data-itemid="${n.id}"] i`);a&&(a.style.display=i?"":"none")})})}),i&&dg.emit("setSaveBtnStatus","available",S$i),this.updateTreeData()}getRuleTypeData(i){for(let o of this.treeData)for(let r of o.children)if(r.id==i)return r}getRuleOptions(i){let o=this.getRuleTypeData(i),r=[];return i=="Net Length Tolerance"&&r.unshift({value:"",text:"",showOriginalText:!0}),o.children.forEach(n=>{let a=n.args.isSetDefault?"default":n.args.editName,s=n.args.isSetDefault?`${n.args.editName}(${me.i18n("Default")})`:n.args.editName;r.push({value:a,text:s,showOriginalText:!0})}),r}handleDefaultRule(i,o){if(i=="default"||!i)return i;let r=this.getRuleTypeData(o),n=r.children.filter(s=>s.args.isSetDefault)[0],a=r.children.some(s=>s.args.editName==i);return n.args.editName==i||!a?"default":i}updateRuleOptions(i,o,r){this.parent.netRule.updateRuleOptions(i,o,r),this.parent.netNetRule.updateRuleOptions(i,o,r),this.parent.regionRule.updateRuleOptions(i,o,r),this.hasCommonModified=!0}resetBlindViaRuleName(i){let o=i.startLayer,r=i.endLayer,n=this.getBlindLayerOrder(o),a=this.getBlindLayerOrder(r),s=n<a;i.name=s?`${n}-${a}`:`${a}-${n}`}getBlindLayerOrder(i){return i==1?1:i==2?this.layerList.length:i-15+2}updateTreeData(){this.treeData=[...this.treeData],this.hasCommonModified=!0,this.refresh()}setRuleAsDefault(i){var s,l,c;let o=(l=(s=i==null?void 0:i.args)==null?void 0:s.categorayKey)!=null?l:this.selectedRuleType,r=(c=i==null?void 0:i.id.toString())!=null?c:this.selectedRule,n=this.getRuleTypeData(o),a;for(let d=0;d<n.children.length;d++){let u=n.children[d];`${o}:${u.args.editName}`==r?(u.args.isSetDefault=!0,a=d):u.args.isSetDefault=!1}this.selectedRuleType=o,this.selectedRule=r,n.children.sort(this.sortRuleComparator),this.setSelectedRuleUnsaved(),this.updateRuleOptions(),this.updateTreeData(),this.updateViaSizeList(),this.hasCommonModified=!0}duplicateRule(i){var c,d,u;let o=(d=(c=i==null?void 0:i.args)==null?void 0:c.categorayKey)!=null?d:this.selectedRuleType,r=(u=i==null?void 0:i.id.toString())!=null?u:this.selectedRule,n=this.getRuleTypeData(o),a=n.children.find(p=>p.id===r);if(!a)return;let s=this.generateDuplicateName(a.title),l=ue.deepClone(a);Object.assign(l,{id:`${o}:${s}`,title:s,args:{...l.args,editing:!0,editName:s,isSetDefault:!1,redStar:!0}}),n.children.push(l),this.selectedRule=l.id,this.selectedRuleType=o,this.updateRuleOptions(),this.updateTreeData(),this.updateViaSizeList(),this.hasCommonModified=!0,this.parent.processConfig.modifySysConfig()}deleteRule(i){let o=()=>{var s,l,c,d;let r=(l=(s=i==null?void 0:i.args)==null?void 0:s.categorayKey)!=null?l:this.selectedRuleType,n=(d=(c=i==null?void 0:i.args)==null?void 0:c.editName)!=null?d:this.selectedRuleData.args.editName,a=this.getRuleTypeData(r);this.selectedRule=a.children[0].id;for(let u of a.children)if(u.args.isSetDefault){this.selectedRule=u.id;break}a.children=a.children.filter(u=>u.args.editName!=n),this.updateRuleOptions(a.id,n),this.parent.processConfig.modifySysConfig(),this.updateTreeData(),this.updateViaSizeList(),this.hasCommonModified=!0};Ut({type:"confirm",icon:"question",message:"Sure to delete?",onConfirm:()=>o()})}sortRuleComparator(i,o){return i.args.isSetDefault?-1:o.args.isSetDefault?1:ue.naturalSortComparator(i.title,o.title)}changeUnit(i){this.treeData.forEach(o=>{o.children.forEach(r=>{r.children.forEach(n=>{this.changeUnit2(n,r.id,i)})})}),this.unit=i,this.hasCommonModified=!0,this.setSelectedRuleUnsaved()}changeUnit2(i,o,r){let n=i.args.unit;if(n&&n!=r){i.args.unit=r;let a=[];switch(o){case"Safe Spacing":{let s=i.args.tables;for(let l in s)s[l].content.forEach(d=>{d.forEach((u,p)=>d[p]=ue.unitConversion.conversion(n,r,d[p]))});return}case"Creepage Distance":{a=["creepageDistance","ignoreLayer"];break}case"Other Spacing":{a=["device2device","thru2Smd","hole2Hole"];break}case"Track":{let s=i.args.form.data;for(let l in s){let c=s[l];["minValue","defaultValue","maxValue"].forEach(d=>{c[d]=ue.unitConversion.conversion(n,r,c[d])})}break}case"Net Length Range":{a=["netLengthMin","netLengthMax"];break}case"Net Length Tolerance":{a=["netLengthTolerance"];break}case"Differential Pair":{["strokeWidthTables","diffPairSpacingTables"].forEach(s=>{let l=i.args.form[s].data;for(let c in l){let d=l[c];(s=="strokeWidthTables"?["minValue","defaultValue","maxValue"]:["minValue","defaultValue"]).forEach(p=>{d[p]=ue.unitConversion.conversion(n,r,d[p])})}}),i.args.form.differentailPairLenTolerMax=ue.unitConversion.conversion(n,r,i.args.form.differentailPairLenTolerMax);break}case"Via Size":{a=["viaOuterdiameterMin","viaOuterdiameterDefault","viaOuterdiameterMax","viaInnerdiameterMin","viaInnerdiameterDefault","viaInnerdiameterMax"];break}case"Plane Zone":{let s=i.args.form.data;for(let l in s){let c=s[l];["lineClearance","lineWidth"].forEach(d=>{c[d]=ue.unitConversion.conversion(n,r,c[d])})}break}case"Copper Zone":{["singleLayerPadModel","multiLayerPadModel"].forEach(s=>{let l=i.args.form[s].data;for(let c in l){let d=l[c];["lineClearance","lineWidth"].forEach(u=>{d[u]=ue.unitConversion.conversion(n,r,d[u])})}});break}case"Paste Mask Expansion":{a=["padToplayerExpansion","padBottomlayerExpansion","testPointToplayerExpansion","testPointBottomlayerExpansion"];break}case"Solder Mask Expansion":{a=["padToplayerExpansion","padBottomlayerExpansion","viaToplayerExpansion","viaBottomlayerExpansion","testPointToplayerExpansion","testPointBottomlayerExpansion"];break}default:throw Error("Unknown mode key")}a.forEach(s=>i.args.form[s]=ue.unitConversion.conversion(n,r,i.args.form[s]))}}reNameRule(i,o){var l,c,d,u;let r=(c=(l=o==null?void 0:o.args)==null?void 0:l.editName)!=null?c:this.selectedRuleData.args.editName,n=(u=(d=o==null?void 0:o.args)==null?void 0:d.categorayKey)!=null?u:this.selectedRuleType;if(i===""||r==i)return r;if(this.getRuleTypeData(n).children.some(p=>p.args.editName==i))return Ut({type:"info",message:"Name already exists"}),r;let s=o!=null?o:this.selectedRuleData;return s.id=`${n}:${i}`,(!o||o==this.selectedRuleData)&&(this.selectedRule=s.id),s.args.editName=i,s.title=i,this.updateViaSizeList(r,i),this.parent.netRule.replaceOldRuleName(r,i,n),this.parent.netNetRule.replaceOldRuleName(r,i,n),this.parent.regionRule.replaceOldRuleName(r,i,n),this.updateRuleOptions(void 0,void 0,o),this.setSelectedRuleUnsaved(void 0,o),this.hasCommonModified=!0,i}updateViaSizeList(i,o){this.viaSizeList.length=0,this.viaSizeList.push({text:"",value:""});for(let r of this.treeData)if(r.id==="Physics")for(let n of r.children){if(n.id==="Via Size")for(let a of n.children){let s={};a.args.isSetDefault?s.text=`${a.args.editName} (default)`:s.text=a.args.editName,s.value=a.args.editName,this.viaSizeList.push(s)}if(i&&o&&n.id==="Blind/Buried Via")for(let a of n.children){let s=a.args.table;for(let l of s)l.viaSizeRule===i&&(l.viaSizeRule=o)}}}addNewRule(i){for(let o of this.treeData)for(let r of o.children)if(r.id==i){let n=r.children.filter(u=>{var p;return(p=u.args)==null?void 0:p.isSetDefault})[0]||r.children[0],a=JSON.parse(JSON.stringify(n));a.args={...a.args,...JSON.parse(JSON.stringify(kqe[i]))};let s=HX.ruleType2NewEditnameHashtable[i],l=r.children.reduce((u,p)=>{let m=parseInt(p.title.split(s)[1]);return!isNaN(m)&&m>u?m:u},0),c=s+(l+1),d={...a,id:`${r.id}:${c}`,title:c};d.args={...d.args,editing:!0,editName:c,isSetDefault:!1},r.children.push(d),this.updateRuleOptions(),this.selectedRule=d.id,this.selectedRuleType=r.id,this.parent.processConfig.modifySysConfig(),this.changeUnit(this.unit),this.updateTreeData(),this.updateViaSizeList(),this.hasCommonModified=!0;return}}initTreeData(i){return this.ruleOrder.map(o=>{let r=Object.keys(o)[0];return{id:r,title:me.i18n(r),disabledSelect:!0,children:o[r].map(n=>({id:n,title:me.i18n(n),args:{isRuleType:!0},disabledSelect:!0,children:Object.entries(i[r][n]).map(([a,s])=>({id:`${n}:${s.editName}`,title:s.editName,args:{...s,isRule:!0,categorayKey:n,redStar:!1}})).sort(this.sortRuleComparator)}))}})}getRuleCategory(i){for(let o of this.ruleOrder){let r=Object.keys(o)[0];if(o[r].includes(i))return r}}batchModifySpacingTable(i){let o=this.selectedRuleData.args.tables,r=i["modify-control-index"],n=i["modify-control-type"],a=+i["modify-safe-spacing"],s=i["modify-control-layer"];switch(n){case"modifyCols":{for(let l in o){let c=o[l];c.status&&(c.content.forEach(d=>{d[r]!==void 0&&(d[r]=a)}),this.refreshTableMap.get(+l)&&this.refreshTableMap.get(+l)())}break}case"modifyRows":{o[s].content[r].forEach((l,c)=>o[s].content[r][c]=a),this.refreshTableMap.get(+s)&&this.refreshTableMap.get(+s)();break}case"modifyAll":{for(let l in o)o[l].content.forEach(c=>{c.forEach((d,u)=>c[u]=a)}),this.refreshTableMap.get(+l)&&this.refreshTableMap.get(+l)();break}case"modifyLayer":o[s].content.forEach(l=>{l.forEach((c,d)=>l[d]=a)}),this.refreshTableMap.get(+s)&&this.refreshTableMap.get(+s)()}this.setSelectedRuleUnsaved(),this.updateCurrentSpacingTable(),this.hasCommonModified=!0}modifySpacing(i,o,r,n=1){let l=this.selectedRuleData.args.tables[n].content;l[i][o]!=r&&(l[i][o]=r,this.hasCommonModified=!0,this.setSelectedRuleUnsaved())}get selectedRuleCategory(){return this.getRuleCategory(this.selectedRuleType)}removeBlindViaRuleForNotExistInnerLayer(i,o){let r=new Set;for(let n of o)r.add(+n.value);for(let n in i){let a=i[n];a.table=a.table.filter(s=>r.has(+s.startLayer)&&r.has(+s.endLayer))}}arr2Map(i){let o={};return i.forEach(r=>{o[r.args.editName]=r.args}),o}getFormData(i=!1){if(!i){let r=this.findWrongPage();if(r)return this.selectedRuleType=r.ruleType,this.selectedRule=`${r.ruleType}:${r.ruleName}`,this.parent.activeTopTab!="Rule"?(this.parent.activeTopTab="Rule",this.parent.update()):this.updateTreeData(),null}let o={};for(let r=0;r<this.ruleOrder.length;r++){let n=this.ruleOrder[r],a=Object.keys(n)[0];o[a]={};let s=n[a];for(let l=0;l<s.length;l++)o[a][s[l]]=this.arr2Map(this.treeData[r].children[l].children)}return o}findWrongPage(){for(let i=0;i<this.ruleOrder.length;i++){let o=this.ruleOrder[i],r=Object.keys(o)[0],n=o[r];for(let a=0;a<n.length;a++){let s=this.treeData[i].children[a].children;for(let l=0;l<s.length;l++)if(!n$i(n[a],s[l].args,this.unit))return{ruleType:n[a],ruleName:s[l].args.editName}}}return null}getAllLayers(){return this.layerList.map(i=>({layerId:i.value,layerName:i.dataTest}))}setLayeredRule(i){let o=this.selectedRuleData.args;o.status=i,i===1&&this.updateTableLayered(),this.setSelectedRuleUnsaved(),this.updateTreeData(),this.hasCommonModified=!0}updateTableLayered(){let o=this.selectedRuleData.args.tables,r=this.layerList,n=o[1];r.forEach(a=>{let s=a.value;o[s]||(o[+s]={status:0,content:ue.deepClone(n.content)})})}changeOpenState(i,o){let r=this.getRuleTypeData(this.selectedRuleType);for(let n=0;n<r.children.length;n++){let a=r.children[n];if(`${this.selectedRuleType}:${a.args.editName}`==this.selectedRule){let l=a.args.tables[i];l.status=o;break}}this.setSelectedRuleUnsaved(),this.hasCommonModified=!0}handleRemovedRules(i){this.parent.netRule.handleRemovedRules(i),this.parent.netNetRule.handleRemovedRules(i),this.parent.regionRule.handleRemovedRules(i)}isRuleExist(i,o,r){for(let n in i)for(let a in i[n])if((a==o||["Plane Safe Spacing","Copper Safe Spacing"].includes(o)&&a=="Safe Spacing")&&(i[n][a][r]||r=="default"))return!0;return!1}generateDuplicateName(i){let o=this.getRuleTypeData(this.selectedRuleType),r=i.replace(/_(\d+)$/,""),n=0;return o.children.forEach(a=>{let s=a.args.editName.match(new RegExp(`^${r}_(\\d+)$`));if(s){let l=parseInt(s[1]);l>n&&(n=l)}}),`${r}_${n+1}`}refresh(){this.notify()}};var sw=L(Se());var M$i=[{text:"Apply",type:"primary",style:{marginRight:"8px"},disabled:je,command:"apply",dataTest:"Apply"},{text:"Confirm",type:"primary",style:{marginRight:"8px"},disabled:je,command:"confirm",dataTest:"Confirm"},{text:"Cancel",command:"cancel",dataTest:"Cancel"}];async function I$i(t){try{await ii("auto-create-differentail-pair",t)}catch(e){console.warn(e)}}async function U6e(t,e=!1){if(C.differentailPairCache!==null){let i=await ei(),{NetDifferentails:o}=C.differentailPairCache.formData,r=t&&t.length?t:(await C.windowBridge.rpcCall("getAllDifferentailRules","",i.contentWindow)).message;e&&(r=o),L$i({action:"design-rules",dialogId:C.differentailPairCache.dialogId,option:"",extra:{activeTab:"Net",activeMenu:"Differential Pair"},...C.differentailPairCache.formData,NetDifferentails:r}),C.differentailPairCache=null}}var Rqe=class{constructor(){this.dialogs=new Array;this.ids=new Array;this.idActionMap=new Map;C.messageBus.subscribe("dialogPcbOpen",this.openDialog.bind(this)),C.messageBus.subscribe("PcbdialogDataFlush",this.dialogDataFlush.bind(this)),C.messageBus.subscribe("PcbcloseDialog",this.closeDialog.bind(this))}async openDialog(e){C.messageBus.publish("rightClickPcbMenu",{state:"hide"});let i=await ii(e.action,{...e,fromType:"listen"});(i==null?void 0:i.origin)!="react"&&(this.dialogs.push(i),this.ids.push(e.dialogId),this.idActionMap.set(e.dialogId,e.action))}dialogDataFlush(e){let i=e.dialogId,o=this.ids.indexOf(i);o>=0&&this.dialogs[o]!=null&&C.messageBus.publish("updateDialogAttrView",e)}closeDialog(e){let i=e.dialogId,o=this.ids.indexOf(i);if(o>=0){let r=this.dialogs[o],n,a=this.idActionMap.get(i);a&&bt[a].containerId&&(n=bt[a].containerId),r&&(r.destroy instanceof Function&&r.destroy(n),r.$closeDialog instanceof Function&&r.$closeDialog()),this.dialogs.splice(o,1),this.ids.splice(o,1),this.idActionMap.delete(i)}}};var skt=L(D$i());var rs=L(z()),q7r=t=>{let{containerId:e,params:i}=t,{differentailPairName:o,differentailPairPositiveNet:r,differentailPairNegativeNet:n,differentailPairList:a,netOptions:s,isEdit:l,fromRule:c,oldData:d,isAuto:u}=i,p=J(),m=be.bind(skt.default.locals);Ae(skt.default);let[h,f]=(0,sw.useState)([]),[g,b]=(0,sw.useState)(""),[y,w]=(0,sw.useState)(""),[x,S]=(0,sw.useState)(""),[T,M]=(0,sw.useState)([]),[I,A]=(0,sw.useState)([]),[D,E]=(0,sw.useState)(),[N,R]=(0,sw.useState)(!1),[v,k]=(0,sw.useState)(""),P=(0,sw.useRef)(null),[O,_]=(0,sw.useState)({allDifferentailPair:""});d||(d=JSON.parse(JSON.stringify(i))),Bt(({code:oe})=>{oe==="Escape"&&G("close")}).keyboard(e);let j=dt()===se.SCH;(0,sw.useEffect)(()=>{B();let oe=C.messageBus.subscribe(`close_${e}`,()=>{G("close")}),re=C.messageBus.subscribe("updateDifferentailPairDlg",Y=>{if(f(Y.newDifferentailPairList),Y.newDifferentailPairList.length>0){let X=Y.newDifferentailPairList[0];Z(X.name,Y.newDifferentailPairList),w(X.sub[0].name),S(X.sub[1].name)}a=JSON.parse(JSON.stringify(Y.differentailPairList)),i.differentailPairList=JSON.parse(JSON.stringify(Y.differentailPairList)),delete Y.newDifferentailPairList,i.oldData=JSON.parse(JSON.stringify(Y))});return()=>{oe.cancel(),re.cancel()}},[]);let B=()=>{var oe;if(j){let re=JSON.parse(JSON.stringify(a));f(re);let Y={edit:!1,editItem:"",isAuto:!1};E(Y),w(r),S(n),o||(o=(oe=re[0])==null?void 0:oe.name),Z(o,re,Y.isAuto),k(l?"edit":"new");let X=re.find(ie=>(ie==null?void 0:ie.name)===o);R(!!(X!=null&&X.isAuto))}else{let re=JSON.parse(JSON.stringify(a));f(re);let Y={edit:!1,editItem:"",isAuto:!1};E(Y),w(r),S(n),Z(o,re,Y.isAuto),k(l?"edit":"new"),R(Y.isAuto)}},V=oe=>{var ye;let{type:re,refData:Y}=oe,X=(Le,Re)=>{let Ne=Rd(`.${Re+"-clear-btn"}`)[0];Le.target.value?Ne.style.display="block":Ne.style.display="none",ie(Le.target.value)},ie=Le=>{let Re=Le.toLowerCase();O[re]=Le,_(O);let Ne=Y.current.childNodes,Te=!0;for(let Pe of Ne)Pe.innerText.trim().toLowerCase().includes(Re)?(Pe.style.display="flex",Te&&Re&&(re=="allDifferentailPair"&&Pe.getAttribute("title")!==g&&U({target:Pe}),Te=!1)):Pe.style.display="none"},de=Le=>{Rd(`.${Le+"-input"}`)[0].value="";let Re=Rd(`.${Le+"-clear-btn"}`)[0];Re.style.display="none",O[Le]="",_(O),fe()},fe=()=>{ie(O[re])};return(0,sw.useEffect)(()=>{var Le;if(!((Le=Rd(`.${re+"-input"}`)[0])!=null&&Le.value)){let Re=Y.current.childNodes;for(let Ne of Re)Ne.style.display="flex"}},[(ye=Rd(`.${re+"-input"}`)[0])==null?void 0:ye.value]),(0,rs.jsx)("div",{style:{padding:"5px 0"},children:(0,rs.jsx)("div",{className:m("comm-fittinginput-container"),style:{width:"calc(100% - 8px)",marginLeft:"4px"},children:(0,rs.jsxs)("div",{className:m("comm-fittinginput-wrapper"),style:{backgroundColor:`var(${je()?"--bg-color-disabled-input":"--bg-color-input"})`},children:[(0,rs.jsx)("input",{disabled:je(),className:m(`comm-fittinginput-input ${oe.type+"-input"}`),onInput:Le=>X(Le,oe.type),type:"text",placeholder:p("Filter"),"data-test":"Filter","data-i18n-attr":"placeholder",defaultValue:O[re]}),(0,rs.jsx)("span",{className:m(`comm-fittinginput-clear ${oe.type+"-clear-btn"} ${O[re]?"":"comm-fittinginput-clear-hidden"}`),onClick:()=>de(oe.type),children:(0,rs.jsx)("i",{className:m("icon-eda-x-circle-small"),style:{fontSize:"1.5rem"}})}),(0,rs.jsx)("span",{className:m("comm-fittinginput-search"),onClick:Le=>fe(),children:(0,rs.jsx)("i",{className:m("icon-eda-zoom-small")})})]})})})},G=async oe=>{let re;switch(oe){case"close":case"cancel":re={},c&&await U6e(void 0,!0);break;case"apply":case"confirm":{let Y;for(let X=0;X<h.length;X++){if(h[X].isAuto)continue;let ie=h[X].sub.every(fe=>!fe.name),de=h[X].sub.length==2&&h[X].sub.every(fe=>fe.name);if(!ie&&!de){Z(h[X].name),w(h[X].sub[0].name),S(h[X].sub[1].name),Y=p("Positive network and negative network cannot be empty!"),Dt({title:p("Tip"),content:Y,icon:"info",confirmText:"Confirm",closed:!0});return}if(de&&h[X].sub[0].name==h[X].sub[1].name){Z(h[X].name),w(h[X].sub[0].name),S(h[X].sub[1].name),Y=p("A positive network is not the same as a negative network"),Dt({title:p("Tip"),content:Y,icon:"info",confirmText:"Confirm",closed:!0});return}ie&&(h.splice(X,1),X--)}if(c){let X=[],ie=[];h.forEach((fe,ye)=>{var Le,Re;(Le=fe.sub[0])!=null&&Le.name?ie.push(fe.sub[0].name):fe.sub.shift(),(Re=fe.sub[1])!=null&&Re.name?ie.push(fe.sub[1].name):fe.sub.pop()}),X.push(...h),s.filter(fe=>!ie.includes(fe.value)).forEach(fe=>{let ye={"Blind/Buried Via":"default","Copper Zone":"default","Net Length Range":"default","Net Length Tolerance":"default","Paste Mask Expansion":"default","Plane Zone":"default","Safe Spacing":"default","Solder Mask Expansion":"default",Track:"default","Via Size":"default",name:fe.value,type:"net"};X.push(ye)}),oe!=="apply"&&await U6e(X)}else if(dt()===se.PCB){let ie=await ei(),de=!0;de=(await C.windowBridge.rpcCall("handleDifferentailManagerData",h,ie.contentWindow)).message}else C.messageBus.rpcCall("uploadDifferentialPairData",h);if(oe=="apply"&&(a=JSON.parse(JSON.stringify(h)),i.differentailPairList=JSON.parse(JSON.stringify(h)),i.oldData=void 0),f([...h]),h.length){if(oe!="apply"){let X=h[0];Z(X.name),w(X.sub[0].name),S(X.sub[1].name)}}else Z(""),w(""),S("");C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.DIFFERENTIAL_PAIR,content:{},project_uuid:C.currentProject.projectId}])}break;case"autoGeneration":i.isEdit=!0,I$i({...i,newDifferentailPairList:h})}oe!=="apply"&&oe!=="autoGeneration"&&le.close(e)},Q=()=>{let oe=()=>{k("new"),R(!1);let Y=h.map(ie=>ie.name),X=lkt(Y);Z(X),w(""),S(""),O.allDifferentailPair="",_(O)},re=()=>{P.current.childNodes.forEach((X,ie)=>{if(X.className.includes("selected")){let de=X.getAttribute("title"),fe="",ye="",Le="",Re=h.filter(Ne=>Ne.name!==de||Ne.isAuto);f([...Re]),ie!==0?(Le=h[ie-1].name,fe=h[ie-1].sub[0].name,ye=h[ie-1].sub[1].name):Re.length>0?(Le=h[ie+1].name,fe=h[ie+1].sub[0].name,ye=h[ie+1].sub[1].name):(Le="",fe="",ye=""),Z(Le,Re),w(fe),S(ye),O.allDifferentailPair="",_(O)}})};return(0,rs.jsxs)("div",{"data-tagitem":"op-btn-wrapper",className:m("display-flex"),style:{paddingBottom:"10px"},children:[(0,rs.jsxs)("div",{children:[(0,rs.jsx)("span",{"data-tagitem":"addOne",className:m(`icon_operate icon_operate_add attr_setting_btn ${je()&&"disabled pointer-events-none"}`),style:{marginLeft:"0"},title:p("Add"),onClick:oe}),(0,rs.jsx)("span",{"data-tagitem":"delOne",className:m(`icon_operate icon_operate_delete attr_setting_btn ${(!g||je()||N)&&"disabled pointer-events-none"}`),title:p("Delete"),onClick:re})]}),(0,rs.jsx)("div",{style:{flex:"1"},children:(0,rs.jsx)("div",{"data-tagitem":"search-rule-container",style:{padding:"0 5px"}})})]})},H=oe=>{oe.stopPropagation(),oe.keyCode==13&&oe.target.blur(),oe.keyCode==27&&(oe.target.value=oe.target.getAttribute("value"),oe.target.blur())},q=oe=>{let re,Y=oe.target;re=Y.value;let X={"Differential Pair":"default",name:re,sub:[{"Differential Pair":"default",name:y,type:"net"},{"Differential Pair":"default",name:x,type:"net"}],type:"netDifferentail"};if(re.length>32){let ie=p({value:"The typing cannot over {0} characters.",options:[32]}),de=()=>{Y.focus()};Dt({title:p("Tip"),content:ie,icon:"info",confirmText:"Confirm",onCancel:de,closed:!0});return}if(re)if(h.findIndex(ie=>ie.name==re&&!ie.isAuto)>-1){if(Y.defaultValue!=re){let ie=p({value:"Already exist a differentail-pair named {0}",options:[re]}),de=()=>{Y.focus()};Dt({title:p("Tip"),content:ie,icon:"info",confirmText:"Confirm",onCancel:de,closed:!0});return}}else{if(Y.defaultValue){let ie=h.find(de=>de.name==Y.defaultValue&&!de.isAuto);ie?ie.name=re:h.push(X)}else h.push(X);k("edit"),Z(re)}else if(k("edit"),h.length){h.find(ye=>ye.name==Y.defaultValue)?re=Y.defaultValue:re=h[h.length-1].name,Z(re);let ie=h.find(ye=>ye.name==re),de=ie.sub[0].name,fe=ie.sub[1].name;w(de),S(fe)}else Z(""),w(""),S("");f(h),E({edit:!1,editItem:"",isAuto:!1})},U=(oe,re,Y=!1)=>{let X=oe.target.textContent.trim();j?X=re:oe.target.childNodes.length>1&&oe.target.childNodes[1].tagName!=="SPAN"&&(X=X.slice(1));let ie=h.find(ye=>ye.name==X);j&&(ie=h.find(ye=>ye.name==X&&(ye.isAuto||!1)==Y));let de=ie.sub[0].name,fe=ie.sub[1].name;R(Y),w(de),S(fe),Z(X,h,Y)},F=(oe,re,Y=!1)=>{let X=oe.target.textContent.trim();j?X=re:oe.target.childNodes.length>1&&oe.target.childNodes[1].tagName!=="SPAN"&&(X=X.slice(1)),!Y&&(R(Y),b(""),E({edit:!0,editItem:X,isAuto:Y}))},K=oe=>{let re=h.find(X=>X.name==oe&&!X.isAuto),Y=d.differentailPairList.find(X=>X.name==oe&&!X.isAuto);if(re&&!Y)return!0;if(re&&Y)return!(re.sub[0].name==Y.sub[0].name&&re.sub[1].name==Y.sub[1].name)},te=(oe,re)=>{h.forEach(Y=>{Y.name===g&&!Y.isAuto&&ae(Y,oe,re)}),Z(g)},ae=(oe,re,Y)=>{Y=="pos"?(oe.sub[0]?oe.sub[0].name=re:oe.sub.unshift({"Differential Pair":"default",name:re,type:"net"}),w(re)):(oe.sub[1]?oe.sub[1].name=re:oe.sub.push({"Differential Pair":"default",name:re,type:"net"}),S(re));let ie=["_P","_N","+","-"].find(ye=>re.endsWith(ye)),de=JSON.parse(JSON.stringify(s));!(Y=="pos"?x:y)&&ie&&pe({allNetsList:de,suffix:{_P:"_N",_N:"_P","+":"-","-":"+"}[ie],val:re,item:oe,type:Y})},pe=oe=>{var ye;let re=(Le,Re)=>{let Ne=Le.lastIndexOf(Re);return Ne===-1?null:Le.substring(0,Ne)},Y=oe.val,X=["_P","_N","+","-"],ie=null;for(let Le of X)if(Y.endsWith(Le)){ie=Le;break}if(!ie)return;let de=re(Y,ie);if(de===null)return;let fe=(ye=oe.allNetsList.find(Le=>{let Re=Le.value;return Re.endsWith(oe.suffix)?re(Re,oe.suffix)===de:!1}))==null?void 0:ye.value;if(fe){if(h.find(Re=>{var Ne,Te;return((Ne=Re.sub[0])==null?void 0:Ne.name)==fe||((Te=Re.sub[1])==null?void 0:Te.name)==fe}))return;oe.type=="pos"?(oe.item.sub[1]?oe.item.sub[1].name=fe:oe.item.sub.unshift({"Differential Pair":"default",name:fe,type:"net"}),S(fe)):(oe.item.sub[0]?oe.item.sub[0].name=fe:oe.item.sub.push({"Differential Pair":"default",name:fe,type:"net"}),w(fe))}},Z=(oe,re=h,Y=!1)=>{let X=new Set,ie=re.find(Le=>Le.name==oe);if(!Y)for(let Le of re)Le.name!==oe&&!Le.isAuto&&(Le.sub[0].name&&X.add(Le.sub[0].name),Le.sub[1].name&&X.add(Le.sub[1].name));let de=s.filter(Le=>!X.has(Le.value)),fe=JSON.parse(JSON.stringify(de)),ye=JSON.parse(JSON.stringify(de));(ie==null?void 0:ie.sub[0].name)!==(ie==null?void 0:ie.sub[1].name)&&(fe=fe.filter(Le=>Le.value!==(ie==null?void 0:ie.sub[1].name)),ye=ye.filter(Le=>Le.value!==(ie==null?void 0:ie.sub[0].name))),ee(fe),ee(ye),M(fe),A(ye),b(oe)},ee=oe=>oe.sort((re,Y)=>ue.naturalSortComparator(ue.naturalSortSplitor(re.text),ue.naturalSortSplitor(Y.text))),ce=oe=>{let re=dt();i.isEdit=!0;let Y={...i,differentailPairList:h,differentailPairName:g,differentailPairPositiveNet:y,differentailPairNegativeNet:x,oldData:d};re===se.PCB?C.messageBus.publish("buttomCommand",{action:"differentailNetSelect",formData:Y,type:oe}):C.messageBus.rpcCall("selectDifferentialPairNet",{type:oe,formData:Y,newDifferentailPairList:h}),le.close(e)},ne=(0,sw.useCallback)(oe=>{var re;return oe?oe.isAuto:(re=h.find(Y=>Y.name===g))==null?void 0:re.isAuto},[g]);return(0,rs.jsxs)("div",{className:m("pop-content-container"),style:{height:"100%"},onKeyDown:oe=>oe.keyCode==27&&G("close"),children:[(0,rs.jsxs)("div",{className:m("createDifferentailPair"),style:{marginBottom:"20px"},children:[(0,rs.jsxs)("div",{className:m("allDifferentailPairName"),children:[(0,rs.jsx)(Q,{}),(0,rs.jsxs)("fieldset",{className:m("differentailPairNameWrap"),children:[(0,rs.jsx)(V,{type:"allDifferentailPair",refData:P}),(0,rs.jsxs)("ul",{className:m("allDifferentailPair"),ref:P,children:[h.map((oe,re)=>{let Y="";return v=="edit"&&(g?oe.name==g&&(oe.isAuto||!1)==N&&(Y="selected"):re==0&&(Y="selected")),D.edit&&D.editItem==oe.name&&N==(oe.isAuto||!1)?(0,rs.jsx)("li",{value:+(oe.isAuto||!1),children:(0,rs.jsx)("input",{disabled:je(),defaultValue:D.editItem,autoFocus:!0,onKeyDown:X=>H(X),onBlur:X=>q(X),type:"text",name:"differentailPairName",style:{width:"100%"}})},`all-differentailPair-list-${re}`):(0,rs.jsxs)("li",{onDoubleClick:X=>F(X,oe.name,oe.isAuto),onClick:X=>U(X,oe.name,oe.isAuto),title:oe.name,className:m(Y),style:{justifyContent:`${j?"space-between":"unset"}`},value:+(oe.isAuto||!1),children:[!j&&K(oe.name)&&(0,rs.jsx)("span",{className:m("tr-menu-item-text-tag"),children:"*"}),!j&&oe.name,j&&(0,rs.jsxs)("span",{children:[K(oe.name)&&!oe.isAuto?(0,rs.jsx)("span",{className:m("tr-menu-item-text-tag"),children:"*"}):null,(0,rs.jsx)("span",{children:oe.name})]}),j&&ne(oe)&&(0,rs.jsx)("span",{className:m("icon-eda-differential differential-icon")})]},`all-netClass-list-${re}`)}),v=="new"&&(0,rs.jsx)("li",{children:(0,rs.jsx)("input",{disabled:je(),autoFocus:!0,onKeyDown:oe=>H(oe),onBlur:oe=>q(oe),type:"text",name:"differentailPairName","data-title-input":"differentailPairName",style:{width:"100%"},defaultValue:`${g}`})})]})]})]}),(0,rs.jsxs)("div",{className:m("netSelectWrap"),children:[(0,rs.jsxs)("div",{className:m("display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap"),style:{padding:"5px 0"},children:[(0,rs.jsx)("div",{className:m("nameWrap"),title:p("Positive Net"),"data-test":"Positive Net",children:p("Positive Net")}),(0,rs.jsxs)("div",{className:m("display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap"),style:{width:"100%",marginLeft:"15px"},children:[!N&&(0,rs.jsx)(xt,{disabled:je()||N,searchable:!0,style:{width:"100%",height:"28px"},value:y,list:y?T:[{value:"",text:""},...T],onChange:oe=>te(oe,"pos")}),N&&(0,rs.jsx)("span",{className:m("net-disabled"),children:y})]})]}),(0,rs.jsxs)("div",{className:m("display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap"),children:[(0,rs.jsx)("div",{className:m("nameWrap")}),(0,rs.jsx)(Me,{class:m("buttonWrap"),dataTest:"Click To Select Network",onClick:()=>ce("positive"),disabled:je()||N,children:p("Click To Select Network")})]}),(0,rs.jsxs)("div",{className:m("display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap"),style:{padding:"20px 0 5px"},children:[(0,rs.jsx)("div",{className:m("nameWrap"),title:p("Negative Net"),"data-test":"Negative Net",children:p("Negative Net")}),(0,rs.jsxs)("div",{className:m("display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap"),style:{width:"100%",paddingLeft:"15px"},children:[!N&&(0,rs.jsx)(xt,{disabled:je()||N,searchable:!0,style:{width:"100%",height:"28px"},value:x,list:x?I:[{value:"",text:""},...I],onChange:oe=>te(oe,"neg")}),N&&(0,rs.jsx)("span",{className:m("net-disabled"),children:x})]})]}),(0,rs.jsxs)("div",{className:m("display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap"),children:[(0,rs.jsx)("div",{className:m("nameWrap")}),(0,rs.jsx)(Me,{class:m("buttonWrap"),dataTest:"Click To Select Network",onClick:()=>ce("negative"),disabled:je()||N,children:p("Click To Select Network")})]})]})]}),(0,rs.jsxs)("div",{className:m("pop-footer-wrapper"),style:{justifyContent:"space-between"},children:[(0,rs.jsx)("div",{children:(0,rs.jsx)(Me,{dataTest:"Automatic Generation",onClick:()=>G("autoGeneration"),disabled:je(),children:p("Automatic Generation...")})}),(0,rs.jsx)("div",{children:M$i.map((oe,re)=>(0,rs.jsx)(Me,{dataTest:oe.dataTest,type:oe.type,style:oe.style,disabled:oe.disabled&&oe.disabled(),onClick:()=>G(oe.command),children:p(oe.text)},`bottom-btn-${re}`))})]})]})},E$i=q7r;var N$i=L(z());async function A$i(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;le.open({id:o,title:r,width:n,height:a,closed:s,children:(0,N$i.jsx)(E$i,{containerId:o,params:t})})}async function ckt(t){return await ii("create-differentail-pair",{...t})}function lkt(t){let e=0,i=[],o=new RegExp("^DP[\\s_]*(\\d+)$","i");for(var r=0,n=t.length;r<n;r++)(e=t[r].match(o))&&(e=e[1]*1,i.indexOf(e)===-1&&i.push(e));return i.sort(function(s,l){return s-l}),i.length?"DP"+(i[i.length-1]+1):"DP1"}var _qe=class extends qe{constructor(i){super();this.tableRows=[];this.tableRowsOrigin=[];this.netClassELGroups=[];this.differentialPairData=[];this.ruleOptions=new Array;this.selectedRowIndex=new Array;this.lastClickRowIndex=0;this.filterWord="";this.ruleName="Net";this.expandedIds=[];this.ruleOrder=[{Spacing:_t?["Safe Spacing","Creepage Distance"]:["Safe Spacing"]},{Physics:["Track","Net Length Range","Net Length Tolerance","Differential Pair","Via Size"]},{Plane:["Plane Zone","Copper Zone"]},{Expansion:["Paste Mask Expansion","Solder Mask Expansion"]}];this.parent=i,this.expandedIds=this.parent.getAllFolderIds(this.ruleOrder)}get netClassData(){let i=[];return this.netClassELGroups.forEach(o=>{var r;o.type=="netClass"||o.type=="net"?i.push(o):(r=o.sub)!=null&&r.length&&o.sub.forEach(n=>{i.push(n)})}),i}get equalLengthGroupData(){let i=[];return this.netClassELGroups.forEach(o=>{var r;o.type=="equalLengthGroup"||o.type=="net"?i.push(o):(r=o.sub)!=null&&r.length&&o.sub.forEach(n=>{i.push(n)})}),i}update(){this.parent.activeTopTab===this.ruleName&&(this.tableRows=this.getTableRows(),this.tableRowsOrigin=JSON.parse(JSON.stringify(this.tableRows)),this.filterWord?this.filterRows(this.filterWord):this.notify())}matchFilterWord(i){var s;let o=this.filterWord.trim().toLowerCase(),r=i.ruleName=="default"?(s=this.ruleOptions.filter(l=>l.value=="default")[0])==null?void 0:s.text:i.ruleName,n=i.copperRuleName,a=i.planeRuleName;return[i.name,r,n,a,me.i18n(i.type),i.ruleType].some(l=>l&&l.toLowerCase().includes(o))}filterRows(i){let o=this.filterWord;if(this.filterWord=i,i=i.trim().toLowerCase(),i=="")this.tableRows=[...this.tableRowsOrigin];else{let r=new Set,n={};for(let a=0;a<this.tableRowsOrigin.length;a++){let s=this.tableRowsOrigin[a];this.matchFilterWord(s)&&(r.add(a),s.type!="Net"?n[s.name]={all:[],matched:[]}:s.parent&&n[s.parent.name]&&n[s.parent.name].matched.push(a)),s.type=="Net"&&s.parent&&n[s.parent.name]&&n[s.parent.name].all.push(a)}for(let a of Object.values(n))a.all.length>0&&a.matched.length==0&&a.all.forEach(s=>r.add(s));this.tableRows=[...r].sort((a,s)=>a-s).map(a=>this.tableRowsOrigin[a])}o!==i&&(this.selectedRowIndex=[],this.lastClickRowIndex=0),this.notify()}initial(i){this.netClassELGroups=JSON.parse(JSON.stringify(i.Net)),this.differentialPairData=JSON.parse(JSON.stringify(i.NetDifferentails)),this.treeData=this.initTreeData(),this.selectedRuleType=this.parent.activeTopTab=="Net"?this.parent.activeRuleType:"Safe Spacing",dg.clearEvent("editNetClass","design-rules"),dg.on("editNetClass",o=>{this.netClassELGroups=this.parseNetData(o.newNetClassList,o.changeName,o.type.includes("net-class")),this.parent.netNetRule.updateNetClassOptions(),this.update()},"design-rules")}get selectedRuleType(){return this._selectedRuleType}set selectedRuleType(i){this._selectedRuleType=i,this.ruleOptions=this.parent.ruleManager.getRuleOptions(i),this.update()}targetNetList(i){let o=[""];return this.netClassELGroups.find(n=>n.type!="net"&&n.name==i).sub.forEach(n=>o.push(n.name)),o.map(n=>({value:n,text:n,showOriginalText:!0}))}updateRuleOptions(i,o,r){var a,s;let n=(s=(a=r==null?void 0:r.args)==null?void 0:a.selectedRuleType)!=null?s:this.selectedRuleType;if(this.ruleOptions=this.parent.ruleManager.getRuleOptions(n),i&&o)if(i=="Differential Pair")this.differentialPairData.forEach(l=>{l[i]==o&&(l[i]="default")});else{let l=this.netClassELGroups,c=[];l.forEach(d=>{c.push(d),d.type!="net"&&c.push(...d.sub)}),c.forEach(d=>{d[i]==o&&(d[i]="default"),i=="Safe Spacing"&&(d["Copper Safe Spacing"]==o&&(d["Copper Safe Spacing"]=null),d["Plane Safe Spacing"]==o&&(d["Plane Safe Spacing"]=null))})}this.initial({Net:this.netClassELGroups,NetDifferentails:this.differentialPairData})}getTableRows(){let i=[],o;return this.selectedRuleType=="Differential Pair"?o=this.differentialPairData:o=this.netClassELGroups,o.sort((r,n)=>{if(r.type==n.type)return ue.naturalSortComparator(ue.naturalSortSplitor(r.name),ue.naturalSortSplitor(n.name))}),o.forEach(r=>{let n={id:Mt(),name:r.name,type:this.getRowType(r.type),ruleName:this.parent.ruleManager.handleDefaultRule(r[this.selectedRuleType],this.selectedRuleType),copperRuleName:this.ruleOptions.some(a=>a.value==r["Copper Safe Spacing"])?r["Copper Safe Spacing"]:null,planeRuleName:this.ruleOptions.some(a=>a.value==r["Plane Safe Spacing"])?r["Plane Safe Spacing"]:null,ruleType:`${me.i18n(this.selectedRuleCategory)} - ${me.i18n(this.selectedRuleType)}`,targetNet:this.selectedRuleType=="Net Length Tolerance"?r.targetNet:null};if(i.push(n),r.type!="net"&&r.sub.length>0){let a=r.sub.map(s=>({id:Mt(),name:s.name,type:"Net",ruleName:(["Differential Pair"].includes(this.selectedRuleType)?r:s)[this.selectedRuleType],copperRuleName:this.ruleOptions.some(l=>l.value==s["Copper Safe Spacing"])?s["Copper Safe Spacing"]:null,planeRuleName:this.ruleOptions.some(l=>l.value==s["Plane Safe Spacing"])?s["Plane Safe Spacing"]:null,ruleType:`${me.i18n(this.selectedRuleCategory)} - ${me.i18n(this.selectedRuleType)}`,targetNet:this.selectedRuleType=="Net Length Tolerance"?s.targetNet:null,parent:r,hidden:r.folded})).sort((s,l)=>ue.naturalSortComparator(ue.naturalSortSplitor(s.name),ue.naturalSortSplitor(l.name)));i.push(...a)}}),i}getRowType(i){let o;switch(i){case"net":o="Net";break;case"netClass":o="Net Class";break;case"equalLengthGroup":o="Equal Length Group";break;case"netDifferentail":o="Differential Pair";break}return o}getRuleCategory(i){for(let o of this.ruleOrder){let r=Object.keys(o)[0];if(o[r].includes(i))return r}}get selectedRuleCategory(){return this.getRuleCategory(this.selectedRuleType)}initTreeData(){return this.ruleOrder.map(o=>{let r=Object.keys(o)[0];return{id:r,title:r,children:o[r].map(n=>({id:n,title:n,args:{isRuleType:!0,ruleCategory:r}}))}})}getAllRuleTypeNames(){return["Blind/Buried Via","Copper Zone","Paste Mask Expansion","Plane Zone","Creepage Distance","Solder Mask Expansion","Track","Via Size","Net Length Range","Net Length Tolerance"]}parseNetData(i,o,r){var u;let n=this.netClassELGroups,a={},s=[],l=new Set;n.forEach(p=>{p.type=="net"?(a[p.name]=p,l.add(p.name)):(p.type==(r?"equalLengthGroup":"netClass")&&s.push(p),p.sub.forEach(m=>{a[m.name]=m}))});let c=[];for(let p in i){let m=i[p].sort((g,b)=>ue.naturalSortComparator(ue.naturalSortSplitor(g),ue.naturalSortSplitor(b))),h=((u=o.find(g=>g.newName==p))==null?void 0:u.oldName)||p,f=n.find(g=>g.type==(r?"netClass":"equalLengthGroup")&&g.name==h);f||(f={type:r?"netClass":"equalLengthGroup",name:p},this.resetAllRuleToDefault(f)),f.sub=m.map(g=>a[g]),c.push(f)}for(let p of s)c.push(p);let d=new Set;for(let p of c){let m=[];p.sub.forEach(h=>m.push(h.name)),m.forEach(h=>d.add(h))}return Object.values(a).forEach(p=>{p.type=="net"&&!d.has(p.name)&&(l.has(p.name)||this.resetAllRuleToDefault(p),c.push(p))}),c.sort(this.sortNetCompare)}toggleFolding(i){let o;this.selectedRuleType=="Differential Pair"?o=this.differentialPairData:o=this.netClassELGroups;for(let r=0;r<o.length;r++){let n=o[r];n.name==i.name&&n.type==this.getType(i.type)&&(n.folded=!n.folded)}this.update()}isFolded(i){let o;this.selectedRuleType=="Differential Pair"?o=this.differentialPairData:o=this.netClassELGroups;for(let r=0;r<o.length;r++){let n=o[r];if(n.name==i.name&&n.type==this.getType(i.type))return n.folded}}toggleFoldingAll(i){let o;this.selectedRuleType=="Differential Pair"?o=this.differentialPairData:o=this.netClassELGroups;for(let r=0;r<o.length;r++){let n=o[r];n.folded=i}this.update()}removeNetClass(i,o){let r=this.netClassELGroups,n=r.findIndex(a=>(o?a.type=="netClass":a.type=="equalLengthGroup")&&i==a.name);n>-1&&(r[n].sub.forEach(a=>{delete a.parent,r.some((s,l)=>{var c;return l!==n&&((c=s.sub)==null?void 0:c.some(d=>d.name==a.name))})||(this.resetAllRuleToDefault(a),r.push(a))}),r.splice(n,1),r.sort(this.sortNetCompare),this.parent.netNetRule.updateNetClassOptions(),this.update())}sortNetCompare(i,o){return i.type==o.type?ue.naturalSortComparator(ue.naturalSortSplitor(i.name),ue.naturalSortSplitor(o.name)):i.type=="netClass"?-1:1}removeFromNetClass(i,o){let r=this.netClassELGroups;for(let n=0;n<r.length;n++){let a=r[n];if(o?a.type=="netClass":a.type=="equalLengthGroup"){let s=a.sub.findIndex(l=>l.name==i);if(s>-1){let l=a.sub.splice(s,1)[0];delete l.parent,r.some(c=>{var d;return(d=c.sub)==null?void 0:d.some(u=>u.name==l.name)})||(this.resetAllRuleToDefault(l),r.push(l)),r.sort(this.sortNetCompare),this.update();break}}}}removeDiffPair(i){let o=this.differentialPairData;i.forEach(r=>{let n=o.findIndex(a=>a.type!="net"&&r==a.name);n>-1&&(o.splice(n,1)[0].sub.forEach(s=>{delete s.parent,o.push(s)}),o.sort(this.sortNetCompare))}),this.update()}resetAllRuleToDefault(i){this.getAllRuleTypeNames().forEach(r=>{i[r]="default"})}changeRule(i,o,r){var l;let n,a=r=="Net";o=this.parent.ruleManager.handleDefaultRule(o,this.selectedRuleType),this.selectedRuleType=="Differential Pair"?n=this.differentialPairData:n=this.netClassELGroups;let s=new Set;n.forEach(c=>{!a&&c.type!="net"&&c.name==i&&this.getType(r)==c.type&&c.sub.forEach(d=>{s.add(d.name)})});for(let c=0;c<n.length;c++){let d=n[c];d.name==i&&this.getType(r)==d.type?a&&d.type=="net"?d[this.selectedRuleType]=o:!a&&d.type!="net"&&(d[this.selectedRuleType]=o,this.selectedRuleType!="Differential Pair"&&d.sub.forEach(u=>{u[this.selectedRuleType]=o})):(l=d.sub)!=null&&l.length&&d.sub.forEach(u=>{(u.name==i||s.has(u.name))&&(u[this.selectedRuleType]=o)})}this.update()}getType(i){switch(i){case"Net Class":return"netClass";case"Equal Length Group":return"equalLengthGroup";case"Net":return"net";case"Differential Pair":return"netDifferentail"}}changeCopperPlaneRule(i,o,r,n){var l;let a,s=r=="Net";o=this.parent.ruleManager.handleDefaultRule(o,this._selectedRuleType),n=="Differential Pair"?a=this.differentialPairData:a=this.netClassELGroups;for(let c=0;c<a.length;c++){let d=a[c];d.name==i&&this.getType(r)==d.type?s&&d.type=="net"?d[n]=o:!s&&d.type!="net"&&(d.type==this.getType(r)&&(d[n]=o),this.selectedRuleType!="Differential Pair"&&d.sub.forEach(u=>{u[n]=o})):(l=d.sub)!=null&&l.length&&d.sub.forEach(u=>{u.name==i&&(u[n]=o)})}this.update()}changeTargetNet(i,o){this.netClassELGroups.forEach(r=>{var n,a;return r.name==i?(r.targetNet=o,(n=r.sub)!=null&&n.length&&r.sub.forEach(s=>s.targetNet=o)):(a=r.sub)!=null&&a.length&&r.sub.forEach(s=>{s.name==i&&(s.targetNet=o)}),!1}),this.update()}replaceOldRuleName(i,o,r){let n;r=="Differential Pair"?n=this.differentialPairData:["Net Length Range","Net Length Tolerance"].includes(r)?n=this.equalLengthGroupData:n=this.netClassELGroups,n.forEach(a=>{a[r]==i&&(a[r]=o),r=="Safe Spacing"&&(a["Copper Safe Spacing"]==i&&(a["Copper Safe Spacing"]=o),a["Plane Safe Spacing"]==i&&(a["Plane Safe Spacing"]=o))})}getFormData(i){switch(i){case"Net":case"EqualLengthGroups":return this.netClassELGroups;case"NetDifferentails":return this.differentialPairData}}openDifferentialPair(i,o){var l,c;let r=this.parent.getFormData(!0);C.differentailPairCache={formData:r,dialogId:this.parent.dialogId};let n=[],a=[],s=[];if(this.differentialPairData.forEach(d=>{d.type==="net"&&n.push({value:d.name,text:d.name,showOriginalText:!0}),d.type==="netDifferentail"&&(s.push(d),a.push(d.name),n.push({value:d.sub[0].name,text:d.sub[0].name,showOriginalText:!0},{value:d.sub[1].name,text:d.sub[1].name,showOriginalText:!0}))}),n.length<2&&console.warn("\u6570\u91CF\u5C0F\u4E8E1\uFF0C \u4E0D\u80FD\u7EC4\u6210\u5DEE\u5206\u5BF9"),o){let d=this.differentialPairData.find(p=>p.type=="netDifferentail"&&p.name==i[0]),u=d.sub;le.close("DRDialogContainer"),ckt({differentailPairName:d.name,differentailPairPositiveNet:((l=u[0])==null?void 0:l.name)||"",differentailPairNegativeNet:((c=u[1])==null?void 0:c.name)||"",differentailPairList:s,netOptions:n,isEdit:!0,formData:r,fromRule:!0})}else{let d=lkt(a),u=i[0]||"",p=i[1]||"";le.close("DRDialogContainer"),ckt({differentailPairName:d,differentailPairList:s,differentailPairPositiveNet:u,differentailPairNegativeNet:p,netOptions:n,formData:r,fromRule:!0})}}handleRemovedRules(i){if(!this.netClassELGroups)return;let o={Net:{list:this.netClassELGroups,ruleTypeNames:[...Object.values(this.ruleOrder).map(r=>Object.values(r)).flat(2),"Plane Safe Spacing","Copper Safe Spacing"].filter(r=>!["Differential Pair"].includes(r))},NetDifferentails:{list:this.differentialPairData,ruleTypeNames:["Differential Pair"]}};for(let r in o){let n=o[r];for(let a of n.list){let s=n.ruleTypeNames;for(let l of s){let c=a[l];if(c&&!this.parent.ruleManager.isRuleExist(i.Rule,l,c)&&(a[l]="default"),a.sub&&a.sub.length)for(let d of a.sub)for(let u of s){let p=d[u];p&&!this.parent.ruleManager.isRuleExist(i.Rule,u,p)&&(d[u]="default")}}}}this.update()}};var jqe=class extends qe{constructor(i){super();this.ruleOptions=new Array;this.netOptions=new Array;this.netClassOptions=new Array;this.equalLengthGroupOptions=new Array;this.treeData=[];this.tableRows=[];this.tableRowsOrigin=[];this.ruleOrder=[{Spacing:_t?["Safe Spacing","Creepage Distance"]:["Safe Spacing"]}];this.filterWord="";this.ruleName="Net-net";this.parent=i,this.expandedIds=this.parent.getAllFolderIds(this.ruleOrder)}initial(i){this.treeData=this.initTreeData(),this.rawData=i,this.initNetOptions(),this.selectedRuleType=this.parent.activeTopTab=="Net-net"?this.parent.activeRuleType:"Safe Spacing",this.tableRowsOrigin=JSON.parse(JSON.stringify(this.tableRows))}update(){this.parent.activeTopTab===this.ruleName&&(this.tableRows=this.getTableRows(),this.tableRowsOrigin=JSON.parse(JSON.stringify(this.tableRows)),this.notify())}filterRows(i){this.filterWord=i,this.tableRows=this.tableRowsOrigin.filter(o=>{var s;if(i=i.trim().toLowerCase(),i=="")return!0;let r=o.rule=="default"?(s=this.ruleOptions.filter(l=>l.value=="default")[0])==null?void 0:s.text:o.rule,n=o.copperRuleName,a=o.planeRuleName;return[o.net1.name,o.net2.name,r,n,a,me.i18n(o.net1.type=="netClass"?"Net Class":o.net1.type=="net"?"Net":"Equal Length Group"),me.i18n(o.net2.type=="netClass"?"Net Class":o.net2.type=="net"?"Net":"Equal Length Group"),o.ruleType].some(l=>l&&l.toLowerCase().includes(i))}),this.notify()}get selectedRuleType(){return this._selectedRuleType}set selectedRuleType(i){this._selectedRuleType=i,this.ruleOptions=this.parent.ruleManager.getRuleOptions(i),this.update()}updateRuleOptions(i,o,r){var a,s;let n=(s=(a=r==null?void 0:r.args)==null?void 0:a.selectedRuleType)!=null?s:this.selectedRuleType;this.ruleOptions=this.parent.ruleManager.getRuleOptions(n),i&&o&&this.rawData[i]&&this.rawData[i].forEach(l=>{l.rule==o&&(l.rule="default"),i=="Safe Spacing"&&(l.copperRuleName==o&&(l.copperRuleName=null),l.planeRuleName==o&&(l.planeRuleName=null))}),this.initial(this.rawData)}getRuleTypeData(i){for(let o of this.treeData)for(let r of o.children)if(r.id==i)return r}initNetOptions(){let i=new Array,o=new Array,r=new Array;this.parent.netRule.netClassELGroups.forEach(n=>{n.type=="net"?i.push(n.name):n.type=="netClass"?(o.push(n.name),n.sub.forEach(a=>{i.push(a.name)})):(r.push(n.name),n.sub.forEach(a=>{i.some(s=>s==a.name)||i.push(a.name)}))}),this.sortResultList(i),this.netOptions=i.map(n=>({value:n,text:n,showOriginalText:!0})),this.netClassOptions=o.map(n=>({value:n,text:n,showOriginalText:!0})),this.equalLengthGroupOptions=r.map(n=>({value:n,text:n,showOriginalText:!0}))}sortResultList(i){return i.sort((o,r)=>ue.naturalSortComparator(ue.naturalSortSplitor(o),ue.naturalSortSplitor(r)))}updateNetClassOptions(){let i=this.parent.netRule.netClassELGroups.filter(o=>o.type!="net").map(o=>({name:o.name,type:o.type}));for(let o in this.rawData)this.rawData[o].forEach(n=>{n.net1.type!="net"&&!i.find(a=>a.name==n.net1.name&&a.type==n.net1.type)?n.net1.name="":n.net2.type!="net"&&!i.find(a=>a.name==n.net2.name&&a.type==n.net2.type)&&(n.net2.name="")});this.initial(this.rawData)}getTableRows(){return this.tableData.map((i,o)=>({id:Mt(),net1:i.net1,net2:i.net2,rule:this.parent.ruleManager.handleDefaultRule(i.rule,this.selectedRuleType),copperRuleName:this.ruleOptions.some(r=>r.value==i.copperRuleName)?i.copperRuleName:null,planeRuleName:this.ruleOptions.some(r=>r.value==i.planeRuleName)?i.planeRuleName:null,ruleType:`${me.i18n(this.selectedRuleCategory)} - ${me.i18n(this.selectedRuleType)}`,used:i.used}))}initTreeData(){return this.ruleOrder.map(o=>{let r=Object.keys(o)[0];return{id:r,title:me.i18n(r),children:o[r].map(n=>({id:n,title:me.i18n(n),args:{isRuleType:!0}}))}})}getRuleCategory(i){for(let o of this.ruleOrder){let r=Object.keys(o)[0];if(o[r].includes(i))return r}}get selectedRuleCategory(){return this.getRuleCategory(this.selectedRuleType)}addNewRow(){var o,r;let i={net1:{type:"net",name:((o=this.netOptions[0])==null?void 0:o.value)||""},net2:{type:"net",name:((r=this.netOptions[1])==null?void 0:r.value)||""},rule:"default"};this.tableData.push(i),this.tableData.tableSelectedIndex=this.tableData.length-1,this.verifyDuplicated(),this.update()}deleteRow(i){this.tableData.splice(i,1),this.tableData.length>0?this.tableData.tableSelectedIndex=Math.min(this.tableData.length-1,this.tableData.tableSelectedIndex):delete this.tableData.tableSelectedIndex,this.verifyDuplicated(),this.update()}changeNetName(i,o,r){this.tableData[i][o?"net1":"net2"].name=r,this.verifyDuplicated(),this.update()}changeNetType(i,o,r){this.tableData[i][o?"net1":"net2"].type=r}changeRule(i,o){this.tableData[i].rule=o,this.verifyDuplicated(),this.update()}changeCopperPlaneRule(i,o,r){this.tableData[i][r]=o,this.verifyDuplicated(),this.update()}replaceOldRuleName(i,o,r){var n;(n=this.rawData[r])==null||n.forEach(a=>{a.rule==i&&(a.rule=o),a.copperRuleName==i&&(a.copperRuleName=o),a.planeRuleName==i&&(a.planeRuleName=o)}),this.update()}get tableData(){return this.rawData[this.selectedRuleType]}verifyDuplicated(i=this.selectedRuleType){let o=this.rawData[i],r=[];for(let n of o){let a=[`${n.net1.type}-${n.net1.name}`,`${n.net2.type}-${n.net2.name}`].sort().join(" ");if(r.push(a),n.net1.type==n.net2.type&&n.net1.name==n.net2.name)return De({type:"warn",msg:"The same name net pair exist",timer:2.5}),!1}for(let n=0;n<r.length;n++)o[n].used=r.some((a,s)=>n!=s&&r[n]==a);return o.some(n=>n.used)?(De({type:"warn",msg:"Duplicate net pairs exist",timer:2.5}),!1):!0}getFormData(i){if(i)return this.rawData;for(let r in this.rawData)if(!this.verifyDuplicated(r))return this.parent.activeTopTab!="Net-net"?(this.parent.activeTopTab="Net-net",this.selectedRuleType=r,this.parent.update()):this.selectedRuleType=r,null;let o={};for(let r in this.rawData){let n=this.rawData[r],a=[];for(let s of n)s.net1.name&&s.net2.name&&a.push(s);o[r]=a}return o}handleRemovedRules(i){if(!this.rawData)return;let o="Safe Spacing",r=this.rawData[o];for(let n of r)n.rule&&!this.parent.ruleManager.isRuleExist(i.Rule,o,n.rule)&&(n.rule="default"),["copperRuleName","planeRuleName"].forEach(a=>{n[a]&&!this.parent.ruleManager.isRuleExist(i.Rule,o,n[a])&&(n[a]=null)});this.update()}};var Bqe=class extends qe{constructor(i){super();this.ruleOrder=[{Spacing:_t?["Safe Spacing","Creepage Distance","Other Spacing"]:["Safe Spacing","Other Spacing"]},{Physics:["Track","Differential Pair","Via Size"]},{Plane:["Plane Zone","Copper Zone"]}];this.treeData=[];this.tableRows=[];this.tableRowsOrigin=[];this.ruleOptions=new Array;this.ruleName="Constraint";this.expandedIds=[];this.parent=i,this.expandedIds=this.parent.getAllFolderIds(this.ruleOrder)}update(){this.parent.activeTopTab===this.ruleName&&(this.tableRows=this.getTableRows(),this.tableRowsOrigin=JSON.parse(JSON.stringify(this.tableRows)),this.notify())}filterRows(i){i=i.trim().toLowerCase(),this.tableRows=this.tableRowsOrigin.filter(o=>i==""?!0:[o.constraintName,o.ruleName,o.copperRuleName,o.planeRuleName,o.ruleType].some(r=>r&&r.toLowerCase().includes(i))),this.notify()}initial(i){this.rawData=ue.deepClone(i.constraintRegion),this.region=ue.deepClone(i.Region),this.treeData=this.initTreeData(),this.selectedRuleType=this.parent.activeTopTab=="Constraint"?this.parent.activeRuleType:"Safe Spacing"}get selectedRuleType(){return this._selectedRuleType}getRuleOptions(i){var n,a;let o=(a=(n=i==null?void 0:i.args)==null?void 0:n.selectedRuleType)!=null?a:this.selectedRuleType,r=this.parent.ruleManager.getRuleOptions(o);return r.unshift({value:"",text:""}),r}set selectedRuleType(i){this._selectedRuleType=i,this.ruleOptions=this.getRuleOptions(),this.update()}updateRuleOptions(i,o,r){this.ruleOptions=this.getRuleOptions(r),i&&o&&this.rawData.forEach(n=>{n[i]==o&&(n[i]=null),i=="Safe Spacing"&&(n["Copper Safe Spacing"]==o&&(n["Copper Safe Spacing"]=null),n["Plane Safe Spacing"]==o&&(n["Plane Safe Spacing"]=null))}),this.initial({constraintRegion:this.rawData,Region:this.region})}initTreeData(){return this.ruleOrder.map(o=>{let r=Object.keys(o)[0];return{id:r,title:me.i18n(r),children:o[r].map(n=>({id:n,title:me.i18n(n),args:{isRuleType:!0,ruleCategory:r}}))}})}getTableRows(){return this.rawData.map((i,o)=>({globalIndex:i.name,constraintName:i.constraintName,ruleName:this.parent.ruleManager.handleDefaultRule(i[this.selectedRuleType],this.selectedRuleType),copperRuleName:this.ruleOptions.some(r=>r.value==i["Copper Safe Spacing"])?i["Copper Safe Spacing"]:null,planeRuleName:this.ruleOptions.some(r=>r.value==i["Plane Safe Spacing"])?i["Plane Safe Spacing"]:null,ruleType:`${me.i18n(this.selectedRuleCategory)} - ${me.i18n(this.selectedRuleType)}`}))}getRuleCategory(i){for(let o of this.ruleOrder){let r=Object.keys(o)[0];if(o[r].includes(i))return r}}get selectedRuleCategory(){return this.getRuleCategory(this.selectedRuleType)}changeRule(i,o){this.rawData.forEach(r=>{r.name==i&&(r[this.selectedRuleType]=o,this.update())})}changeCopperPlaneRule(i,o,r){this.rawData.forEach(n=>{n.name==i&&(n[r]=o,this.update())})}replaceOldRuleName(i,o,r){this.rawData.forEach(n=>{n[r]==i&&(n[r]=o)}),this.region.forEach(n=>{n[r]==i&&(n[r]=o),r=="Safe Spacing"&&(n["Copper Safe Spacing"]==i&&(n["Copper Safe Spacing"]=o),n["Plane Safe Spacing"]==i&&(n["Plane Safe Spacing"]=o))}),this.update()}changeName(i,o){this.rawData.forEach(r=>{r.name==i&&(r.constraintName=o)})}updateTable(i){for(let o=0;o<i.length;o++)for(let r=0;r<this.rawData.length;r++)i[o].globalIndex==this.rawData[r].name&&(this.rawData[r].constraintName=i[o].constraintName);this.update()}getFormData(){return this.rawData}handleRemovedRules(i){if(!this.rawData)return;let o=[...Object.values(this.ruleOrder).map(r=>Object.values(r)).flat(2),"Plane Safe Spacing","Copper Safe Spacing"];for(let r of this.rawData)for(let n of o)r[n]&&!this.parent.ruleManager.isRuleExist(i.Rule,n,r[n])&&(r[n]=null);this.update()}};async function P$i(t,e){let i=new dkt;return i.dialogId=e,await i.initial(t),i}var dkt=class extends qe{constructor(){super();this.scrollToGivenRule=!1;this._dialogProps=null,this.ruleManager=new Oqe(this),this.netRule=new _qe(this),this.netNetRule=new jqe(this),this.regionRule=new Bqe(this),this.processConfig=new Pqe(this),this.readonly=je()}set needShowTip(i){this._needShowTip=i,this.update()}get needShowTip(){return this._needShowTip}set dialogProps(i){this._dialogProps=i}get dialogProps(){return this._dialogProps}update(){this.notify()}async initial(i){var o,r,n,a;this.scrollToGivenRule=i.extra&&(i.extra.activeMenu||i.extra.activeMenuName||i.extra.addItemAndFocus),this.activeTopTab=((o=i.extra)==null?void 0:o.activeTab)||"Rule",this.activeRuleType=((r=i.extra)==null?void 0:r.activeMenu)||"Safe Spacing",this.activeRuleName=(n=i.extra)==null?void 0:n.activeMenuName,this.addItemAndFocus=(a=i.extra)==null?void 0:a.addItemAndFocus,this.processConfig.initial(i),this.ruleManager.initial(i,!0),this.netRule.initial(i),this.netNetRule.initial(i.NetnetList),this.regionRule.initial(i)}getFormData(i=!1){let o=this.ruleManager.getFormData(i);if(!o)return null;let r=this.netNetRule.getFormData(i);return r?(this.ruleManager.hasCommonModified&&C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.DESIGN_RULE,content:{},project_uuid:C.currentProject.projectId}]),{Rule:o,Net:this.netRule.getFormData("Net"),EqualLengthGroups:this.netRule.getFormData("EqualLengthGroups"),NetDifferentails:this.netRule.getFormData("NetDifferentails"),NetnetList:r,Region:this.regionRule.region,constraintRegion:this.regionRule.getFormData(),RuleTemplateName:this.processConfig.value,option:this.ruleManager.layerList}):null}getAllFolderIds(i){let o=[];for(let r=0;r<i.length;r++){let n=i[r],a=Object.keys(n)[0],s=n[a];o.push(a);for(let l=0;l<s.length;l++){let c=s[l];o.push(c)}}return o}},w0=(0,k$i.createContext)(void 0);var ZX=L(Se());var D7=L(Se());var gkt=L(kY());var h5=L(Se());var R$i=L(Se());var lw=L(z());function A1({isSetDefault:t,editName:e,showUnit:i=!0,isLayered:o=null,showSetDefault:r=!0}){let n=[{text:"mm",value:"mm"},{text:"mil",value:"mil"}],a=(0,R$i.useContext)(w0),s=J(),l=t?"Default":"Set as Default";return(0,lw.jsxs)(lw.Fragment,{children:[(0,lw.jsxs)("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",flexWrap:"nowrap"},children:[(0,lw.jsxs)("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",flexWrap:"nowrap"},children:[(0,lw.jsxs)("strong",{style:{minWidth:"50px",paddingRight:"10px"},"data-test":"Name",children:[s("Name"),":"]}),(0,lw.jsx)(Kt,{name:"editName",defaultValue:e,disabled:a.readonly,clickTriggerSelect:!0,enterTriggerBlur:!0,onBlur:d})]}),r&&(0,lw.jsx)("div",{style:{marginLeft:"30px"},children:(0,lw.jsx)(Me,{type:"primary",size:"sm",disabled:t||a.readonly,onClick:c,children:l})}),(0,lw.jsx)("div",{style:{marginLeft:"10px"},children:(0,lw.jsx)(Me,{size:"sm",disabled:t||a.readonly,onClick:u,children:"Delete"})})]}),i&&(0,lw.jsxs)("div",{style:{marginTop:"10px",display:"flex",justifyContent:"flex-start",alignItems:"center",flexWrap:"nowrap"},children:[(0,lw.jsxs)("span",{style:{minWidth:"50px",paddingRight:"10px"},"data-test":"Unit",children:[s("Unit"),":"," "]}),(0,lw.jsx)("div",{children:(0,lw.jsx)(xt,{style:{width:"65px"},list:n,value:a.ruleManager.unit,onChange:m=>{a.ruleManager.changeUnit(m)}})}),o!==null&&(0,lw.jsx)($i,{name:"layered",value:o.toString(),style:{marginLeft:"20px"},options:[{value:"0",label:"All"},{value:"1",label:"Layered"}],onChange:m=>p(+m)})]})]});function c(){a.ruleManager.setRuleAsDefault()}function d(m){m.target.value=a.ruleManager.reNameRule(m.target.value)}function u(){a.ruleManager.deleteRule()}function p(m){a.ruleManager.setLayeredRule(m)}}var ukt=L(kY());var nl=L(z());function _$i({data:t}){if(!t)return;let e=(0,h5.useContext)(w0);Ce(e.ruleManager);let i=t.isSetDefault,o=t.editName||"",r=t.unit,n=t.status;n===1&&e.ruleManager.updateTableLayered();let a=J(),s=be.bind(ukt.default.locals);Ae(ukt.default);let l=(0,h5.useRef)(null),c=(0,h5.useRef)(null),d=()=>{c.current&&l.current&&c.current.handleScroll(l.current.scrollTop)},u=({tables:f})=>{e.ruleManager.refreshTableMap.clear();let g=1,[b,y]=(0,h5.useState)(f[g]);return(0,nl.jsx)("tbody",{children:(0,nl.jsx)(h5.default.Fragment,{children:t.row.map((w,x)=>(0,nl.jsxs)("tr",{style:{display:"table-row"},children:[(0,nl.jsx)("td",{onClick:()=>h("modifyRows",x,+g),"data-test":w,children:a({context:"designRule",value:w})}),t.column.map((S,T)=>{let M=`safe-spacing-table-layer${g}-td${x}${T}`;return b.content[x][T]==null?(0,nl.jsx)("td",{id:M,className:s("empty-cell")},M):(0,nl.jsx)("td",{id:M,children:(0,nl.jsx)(or,{inputUnit:e.ruleManager.unit,originUnit:r,hiddenUnit:!0,value:b.content[x][T],dataTest:S,disabled:e.readonly,style:{width:"100%",height:"26px",background:"inherit",textAlign:"center"},onFocus:I=>{I.target.value=e.ruleManager.selectedRuleData.args.tables[g||1].content[x][T]},onChange:(I,A)=>{if(+I>=0){let D=1e4;e.ruleManager.unit=="mm"&&(D=ue.unitConversion.conversion("mil","mm",D)),I=Math.min(+I,D),e.ruleManager.modifySpacing(x,T,I,+g),y({...e.ruleManager.selectedRuleData.args.tables[g||1]})}}})},M)})]},`layer${g}row${x}`))},`forLayer${g}`)})},p=h5.default.forwardRef((f,g)=>{let b=t.tables,y=(0,h5.useRef)(null);e.ruleManager.refreshTableMap.clear();let w=e.ruleManager.getAllLayers(),[x,S]=(0,h5.useState)(T());function T(){let D=0;return w.map(E=>{let N=b[E.layerId].status;return D<2&&N==1?(D++,!0):!1})}function M(D,E,N){let R=N.status===1;x[E]=R;let v={...b};v[D]=N;let k=0;if(R)for(let P=E+1;P<w.length;P++){let O=w[P].layerId,_=v[O];if(k<1&&_.status==1){k++;continue}x[P]=!1}else for(let P=E+1;P<w.length;P++){let O=w[P].layerId,_=v[O];if(k<2&&_.status==1){k++,x[P]=!0;continue}x[P]=!1}S([...x])}let I=()=>{let D=["All",...t.column];return(0,nl.jsx)("colgroup",{children:D.map((E,N)=>{let R=37;return N===D.length-1&&(R-=.1),(0,nl.jsx)("col",{"data-col-id":E,width:R})})})},A=D=>{if(y.current){let E=Array.from(y.current.querySelectorAll("tr[data-layer-id]")),N=!1;for(let R=0;R<E.length;R++){let v=E[R],k=y.current.clientHeight,P=v.offsetTop;D+k>P&&b[v.getAttribute("data-layer-id")].status===1&&x[R]===!1&&(N=!0,x[R]=!0)}N&&S([...x])}};return(0,h5.useImperativeHandle)(g,()=>({handleScroll:A})),(0,nl.jsx)("div",{ref:y,style:{maxHeight:420,marginTop:-1},children:(0,nl.jsxs)("table",{className:s("common-table-wrpper"),style:{width:"100%"},children:[(0,nl.jsx)(I,{}),(0,nl.jsx)("tbody",{children:w.map((D,E)=>{let N=D.layerId,[R,v]=(0,h5.useState)(b[N]);e.ruleManager.refreshTableMap.set(+N,()=>v({...R}));let k=R.status==1;return(0,nl.jsxs)(h5.default.Fragment,{children:[(0,nl.jsxs)("tr",{"data-layer-id":N,children:[(0,nl.jsxs)("td",{onClick:()=>h("modifyLayer",N,+N),"data-test":"all",children:[(0,nl.jsx)("div",{className:k?"tree-extends-icon_1ULhu tree-extends-box_ipMRU tree-extends-box-active_3NDlX":"tree-extends-icon_1ULhu tree-extends-box_ipMRU",style:{display:"inline-block",top:"3px"},onClick:P=>{P.stopPropagation();let O=R.status?0:1;e.ruleManager.changeOpenState(+N,O);let _={...R,status:O};v(_),M(D.layerId,E,_)}}),(0,nl.jsxs)("span",{"data-test":D.layerName,children:[" ",Gm(D.layerName)]})]}),t.column.map((P,O)=>(0,nl.jsx)("td",{className:s("empty-cell")},`layer${D.layerId}tr-1${O}`))]}),x[E]?t.row.map((P,O)=>(0,nl.jsxs)("tr",{style:{display:k?"table-row":"none"},children:[(0,nl.jsx)("td",{onClick:()=>h("modifyRows",O,+N),"data-test":P,children:a({context:"designRule",value:P})}),t.column.map((_,j)=>R.content[O][j]==null?(0,nl.jsx)("td",{className:s("empty-cell")},`layer${N}td${O}${j}`):(0,nl.jsx)("td",{children:(0,nl.jsx)(or,{inputUnit:e.ruleManager.unit,originUnit:r,hiddenUnit:!0,value:R.content[O][j],dataTest:_,disabled:e.readonly,style:{width:"100%",height:"20px",background:"inherit"},onChange:(B,V)=>{if(+B>=0){let G=1e4;e.ruleManager.unit=="mm"&&(G=ue.unitConversion.conversion("mil","mm",G)),B=Math.min(+B,G),e.ruleManager.modifySpacing(O,j,B,+N),v({...e.ruleManager.selectedRuleData.args.tables[N||1]})}}})},`layer${N}td${O}${j}`))]},`layer${N}row${O}`)):(0,nl.jsx)(nl.Fragment,{})]},`forLayer${D.layerId}`)})})]})})}),m=HX.inputValueThreshold["Safe Spacing"];return(0,nl.jsxs)(nl.Fragment,{children:[(0,nl.jsx)(A1,{isSetDefault:i,editName:o,isLayered:n}),(0,nl.jsxs)("div",{onScroll:d,ref:l,style:{marginTop:"10px",maxHeight:"460px",overflowY:"auto"},children:[(0,nl.jsx)("div",{style:{position:"sticky",top:0,zIndex:9},children:(0,nl.jsxs)("table",{className:s("common-table-wrpper"),style:{width:"100%"},children:[(0,nl.jsx)("thead",{children:(0,nl.jsx)("tr",{style:{position:"sticky",top:"-1px",zIndex:9},children:["All",...t.column].map((f,g)=>(0,nl.jsx)("th",{style:{width:1/(t.column.length+1)},onClick:()=>h(g==0?"modifyAll":"modifyCols",g-1),"data-test":f,children:a(f)},g))})}),n===0?(0,nl.jsx)(u,{tables:t.tables}):(0,nl.jsx)(nl.Fragment,{})]})}),n===1?(0,nl.jsx)(p,{ref:c}):(0,nl.jsx)(nl.Fragment,{})]}),(0,nl.jsxs)("div",{style:{padding:"10px 0",color:"var(--font-color-pop-up)"},children:[(0,nl.jsxs)("div",{children:[a("Tips"),":"]}),(0,nl.jsxs)("div",{children:["1. ",HX.thresholdTips(r,m[e.ruleManager.unit].min,m[e.ruleManager.unit].max)]}),(0,nl.jsxs)("div",{children:["2. ",a("You can click the header to modify clearances in batch.")]})]})]});function h(f,g,b=1){e.readonly||ii("batch-modify-spacing",{spacing:"",type:f,index:g,unit:r,layer:b})}}var zqe=L(Se());var j$i=L(Se());var GX=L(z());function hf({name:t,value:e,unit:i,onChange:o,illegal:r}){let n=J(),a=(0,j$i.useContext)(w0);return(0,GX.jsxs)("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",flexWrap:"nowrap",margin:"0 0 10px 0"},children:[(0,GX.jsx)("div",{style:{flex:"0 0 125px",textAlign:"right",paddingRight:"10px"},children:(0,GX.jsx)("span",{title:n(t),"data-test":t,children:n(t)})}),(0,GX.jsx)("div",{style:{width:"100%"},children:(0,GX.jsx)(or,{value:e,inputUnit:a.ruleManager.unit,originUnit:i,hiddenUnit:!0,disabled:a.readonly,style:r?{color:"red"}:null,dataTest:t,onChange:(s,l)=>{s!=e&&(a.ruleManager.setSelectedRuleUnsaved(),o(s,l))}})}),(0,GX.jsx)("div",{style:{flex:"0 0 10px"}})]})}var nz=L(z());function B$i({data:t}){if(!t)return;let e=t.isSetDefault,i=t.editName||"",o=t.unit,[r,n]=(0,zqe.useState)(t.form.device2device),[a,s]=(0,zqe.useState)(t.form.thru2Smd),[l,c]=(0,zqe.useState)(t.form.hole2Hole);function d(u,p){if(+u>=0){let m=1e4;o=="mm"&&(m=ue.unitConversion.conversion("mil","mm",m)),u=Math.min(+u,m),p(u)}}return(0,nz.jsxs)(nz.Fragment,{children:[(0,nz.jsx)(A1,{isSetDefault:e,editName:i}),(0,nz.jsxs)("div",{style:{marginTop:"20px"},children:[(0,nz.jsx)(hf,{name:"Component to Component",value:r,unit:o,onChange:u=>{d(u,p=>{n(p),t.form.device2device=p})}}),(0,nz.jsx)(hf,{name:"TH Solder Joint to SMD Component",value:a,unit:o,onChange:u=>{d(u,p=>{s(p),t.form.thru2Smd=p})}}),(0,nz.jsx)(hf,{name:"Hole to Hole",value:l,unit:o,onChange:u=>{d(u,p=>{c(p),t.form.hole2Hole=p})}})]})]})}var z$i=L(Se());var mkt=L(Nqe());var zae=L(Se());var pkt=L(Nqe());var cw=L(z()),Fqe=["minValue","defaultValue","maxValue"],LO=(0,zae.memo)(function(e){let i=J(),o=be.bind(pkt.default.locals);Ae(pkt.default);let r=(0,zae.useContext)(w0),{columnHeads:n,tableData:a,unit:s,singleLayer:l}=e,[c,d]=(0,zae.useState)(a.status!==0),u=r.ruleManager.getAllLayers();l&&(u=[u[0],u.at(-1)]);for(let M of u)a.data[M.layerId]==null&&(a.data[M.layerId]=ue.deepClone(a.data[1]));let[p,m]=(0,zae.useState)(h(a));function h(M,I){let A={};for(let D=0;D<n.length;D++){let E=n[D];A[E.key]=M.data[1][E.key];for(let N of u)if(M.data[N.layerId][E.key]!=M.data[1][E.key]){A[E.key]=null;break}}return A.lastModify=I,A}let f=()=>{a.status=c?0:1,d(!c)};function g(M,I,A){let D=Fqe.indexOf(A)+1;if(M.lastModify=(M.lastModify||0)*10%100+D,I=="all")for(let E in a.data)a.data[E].lastModify=M.lastModify}function b(M,I,A){let D=Fqe.indexOf(A)+1,E=n.filter(N=>Fqe.includes(N.key)).length;return M.lastModify%10==D||E>2&&Math.round(M.lastModify/10)==D}function y(M,I,A){let D=I=="all"?Object.keys(a.data):[I],E=b(M,I,A);for(let N of D){let R=M.minValue,v=M.defaultValue,k=M.maxValue;switch(A){case"minValue":return E&&(k!=null&&fo(R,s)>fo(k,s)||v!=null&&fo(R,s)>fo(v,s));case"defaultValue":return E&&(fo(v,s)<fo(R,s)||k!=null&&fo(v,s)>fo(k,s));case"maxValue":return E&&(fo(k,s)<fo(R,s)||v!=null&&fo(k,s)<fo(v,s))}}}function w(M,I,A,D){if(A.inputType!="select"&&A.valid){let N=fo(I,r.ruleManager.unit);if(!A.valid(N))return}let E=A.key;if(D=="all")for(let N in a.data)a.data[N][E]=I;if(M[E]=I,A.inputType!="select"&&Fqe.includes(E)){let N=n.find(k=>k.key==="minValue")?"minValue":void 0,R=n.find(k=>k.key==="maxValue")?"maxValue":void 0,v=n.find(k=>k.key==="defaultValue")?"defaultValue":void 0;rz(s,M,N,R,v),g(M,D,E)}m(h(a,D=="all"?M.lastModify:null)),r.ruleManager.setSelectedRuleUnsaved()}function x(M,I){return M!="connectMode"&&I!=null&&I!=0}let S={connectMode:[{value:0,text:"Spoke"},{value:1,text:"Direct"},{value:2,text:"No Connection"}],trackConnectMode:[{value:0,text:"Direct"},{value:1,text:"No Connection"}],lineAngle:[{value:45,text:"45 Degrees"},{value:90,text:"90 Degrees"}]},T={value:"N/A",text:"N/A",disabled:!0};return(0,cw.jsxs)("table",{className:o("table"),style:{width:e.width},children:[(0,cw.jsx)("thead",{children:(0,cw.jsx)("tr",{children:n.map((M,I)=>(0,cw.jsx)("td",{style:{width:"40px"},children:i({context:"layerName",value:M.name})},M.key))})}),(0,cw.jsxs)("tbody",{children:[(0,cw.jsxs)("tr",{children:[(0,cw.jsxs)("td",{children:[(0,cw.jsx)("span",{onClick:f,className:o(c?"tree-expanded":"tree-collapsed"),"data-test":"all"}),i({context:"layerName",value:"All"})]}),n.slice(1).map(M=>(0,cw.jsx)("td",{className:x(M.key,p.connectMode)?o("disabled-cell"):"",children:M.inputType=="select"?(0,cw.jsx)(xt,{value:p[M.key]==null?"N/A":p[M.key],list:[...S[M.key],T],disabled:r.readonly,containerStyle:{padding:1},dataTest:M.key,style:{border:"none",maxWidth:"calc(100% - 2px)",height:"24px",boxSizing:"border-box",position:"absolute"},onChange:(I,A)=>w(p,I,M,"all")}):(0,cw.jsx)(or,{value:p[M.key]==null?"N/A":p[M.key],inputUnit:r.ruleManager.unit,originUnit:s,disabled:r.readonly,dataTest:M.key,style:{color:y(p,"all",M.key)?"red":null,width:"100%",height:"100%",textAlign:"center",background:"inherit"},hiddenUnit:!0,onChange:(I,A)=>w(p,I,M,"all")})},M.key))]}),c&&u.map((M,I)=>(0,cw.jsxs)("tr",{children:[(0,cw.jsx)("td",{"data-test":M.layerName,children:Gm(M.layerName)}),n.slice(1).map((A,D)=>(0,cw.jsx)("td",{className:x(A.key,a.data[M.layerId].connectMode)?o("disabled-cell"):"",children:A.inputType=="select"?(0,cw.jsx)(xt,{value:a.data[M.layerId][A.key],list:S[A.key],disabled:r.readonly,containerStyle:{padding:1},dataTest:A.key,style:{border:"none",maxWidth:"calc(100% - 2px)",height:"24px",position:"absolute",display:x(A.key,a.data[M.layerId].connectMode)?"none":""},onChange:(E,N)=>w(a.data[M.layerId],E,A,M.layerId)}):(0,cw.jsx)(or,{value:a.data[M.layerId][A.key],inputUnit:r.ruleManager.unit,disabled:r.readonly,originUnit:s,dataTest:A.key,style:{color:y(a.data[M.layerId],M.layerId,A.key)?"red":null,width:"100%",height:"100%",textAlign:"center",background:"inherit"},hiddenUnit:!0,onChange:(E,N)=>w(a.data[M.layerId],E,A,M.layerId)})},A.key))]},I))]})]})});var PY=L(z());function F$i({data:t}){if(!t)return;let e=J(),i=be.bind(mkt.default.locals),o=(0,z$i.useContext)(w0);Ce(o.ruleManager),Ae(mkt.default);let r=t.isSetDefault,n=t.editName||"",a=t.unit,s=[{key:"layerName",name:"layer"},{key:"minValue",name:"Stroke Width Min",valid:l=>l>0},{key:"defaultValue",name:"Stroke Width Default",valid:l=>l>0},{key:"maxValue",name:"Stroke Width Max",valid:l=>l>0}];return(0,PY.jsxs)(PY.Fragment,{children:[(0,PY.jsx)(A1,{isSetDefault:r,editName:n}),(0,PY.jsxs)("div",{style:{height:"500px",overflow:"auto"},children:[(0,PY.jsx)("div",{style:{margin:"25px 0 10px 0",fontWeight:"bolder"},children:e("Stroke Width")}),(0,PY.jsx)(LO,{columnHeads:s,tableData:t.form,unit:a,width:"80%"})]})]})}var Uqe=L(Se());var YX=L(z());function V6e(t){let[e,i]=(0,Uqe.useState)(t.data[t.min.attrName]),[o,r]=(0,Uqe.useState)(t.default!=null?t.data[t.default.attrName]:null),[n,a]=(0,Uqe.useState)(t.max!=null?t.data[t.max.attrName]:Number.MAX_SAFE_INTEGER),s=[t.min,t.default,t.max].reduce((u,p)=>u+(p!=null?1:0),0);return(0,YX.jsxs)(YX.Fragment,{children:[(0,YX.jsx)(hf,{name:t.min.name||"Min",value:e,unit:t.unit,illegal:l(1,s)&&(n!=null&&fo(e,t.unit)>fo(n,t.unit)||o!=null&&fo(e,t.unit)>fo(o,t.unit)),onChange:(u,p)=>{d(u,p,m=>{i(m),c(1),t.data[t.min.attrName]=m})}}),t.default&&(0,YX.jsx)(hf,{name:t.default.name||"Default",value:o,unit:t.unit,illegal:l(2,s)&&(fo(o,t.unit)<fo(e,t.unit)||n!=null&&fo(o,t.unit)>fo(n,t.unit)),onChange:(u,p)=>{d(u,p,m=>{r(m),c(2),t.data[t.default.attrName]=m})}}),t.max&&(0,YX.jsx)(hf,{name:t.max.name||"Max",value:n,unit:t.unit,illegal:l(3,s)&&(fo(n,t.unit)<fo(e,t.unit)||o!=null&&fo(n,t.unit)<fo(o,t.unit)),onChange:(u,p)=>{d(u,p,m=>{a(m),c(3),t.data[t.max.attrName]=m})}})]});function l(u,p){return t.data.lastModify%10==u||p>2&&Math.round(t.data.lastModify/10)==u}function c(u){t.data.lastModify=(t.data.lastModify||0)*10%100+u}function d(u,p,m){var h,f;t.verify(u)&&(m(u),rz(t.unit,t.data,t.min.attrName,(h=t.max)==null?void 0:h.attrName,(f=t.default)==null?void 0:f.attrName))}}var WX=L(z());function U$i({data:t}){if(!t)return;let e=J(),i=t.isSetDefault,o=t.editName||"",r=t.unit,n=1e6;return(0,WX.jsxs)(WX.Fragment,{children:[(0,WX.jsx)(A1,{isSetDefault:i,editName:o}),(0,WX.jsx)("div",{style:{marginTop:"20px"},children:(0,WX.jsx)(V6e,{unit:r,verify:a=>{let s=ue.unitConversion.conversion1("mil",r,n);if(+a>=0&&+a<=s)return!0;let l;return a<0?l=e("The minimum value of Net Length is")+` 0 ${r} !`:a>s&&(l=e("The maximum value of Net Length is")+` ${s} ${r} !`),l&&De({type:"warn",msg:l,timer:2.5}),!1},data:t.form,min:{attrName:"netLengthMin",name:"Minimum"},max:{attrName:"netLengthMax",name:"Maximum"}})})]})}var V$i=L(Se());var QX=L(z());function H$i({data:t}){if(!t)return;let e=J(),i=t.isSetDefault,o=t.editName||"",r=t.unit,[n,a]=(0,V$i.useState)(t.form.netLengthTolerance),s=1e6;return(0,QX.jsxs)(QX.Fragment,{children:[(0,QX.jsx)(A1,{isSetDefault:i,showSetDefault:!0,editName:o}),(0,QX.jsx)("div",{style:{marginTop:"20px"},children:(0,QX.jsx)(hf,{name:"\xB1",value:n,unit:r,onChange:l=>{if(+l>=0){let c=1e6;r=="mm"&&(c=ue.unitConversion.conversion("mil","mm",c)),l=Math.min(+l,c),a(l),t.form.netLengthTolerance=+l}}})})]})}var Fae=L(Se());var dw=L(z());function G$i({data:t}){if(!t)return;let e=J(),i=t.isSetDefault,o=t.editName||"",r=t.unit,[n,a]=(0,Fae.useState)(t.form.padToplayerExpansion),[s,l]=(0,Fae.useState)(t.form.padBottomlayerExpansion),[c,d]=(0,Fae.useState)(t.form.viaToplayerExpansion),[u,p]=(0,Fae.useState)(t.form.viaBottomlayerExpansion),[m,h]=(0,Fae.useState)(t.form.testPointToplayerExpansion),[f,g]=(0,Fae.useState)(t.form.testPointBottomlayerExpansion);return(0,dw.jsxs)(dw.Fragment,{children:[(0,dw.jsx)(A1,{isSetDefault:i,editName:o}),(0,dw.jsxs)("div",{children:[(0,dw.jsx)("div",{style:{margin:"25px 0 10px 0",fontWeight:"bolder"},children:e("Pad")}),(0,dw.jsx)(hf,{name:"Top Layer Expansion",value:n,unit:r,onChange:b=>{a(b),t.form.padToplayerExpansion=b}}),(0,dw.jsx)(hf,{name:"Bottom Layer Expansion",value:s,unit:r,onChange:b=>{l(b),t.form.padBottomlayerExpansion=b}})]}),(0,dw.jsxs)("div",{children:[(0,dw.jsx)("div",{style:{margin:"25px 0 10px 0",fontWeight:"bolder"},children:e("Via")}),(0,dw.jsx)(hf,{name:"Top Layer Expansion",value:c,unit:r,onChange:b=>{d(b),t.form.viaToplayerExpansion=b}}),(0,dw.jsx)(hf,{name:"Bottom Layer Expansion",value:u,unit:r,onChange:b=>{p(b),t.form.viaBottomlayerExpansion=b}})]}),(0,dw.jsxs)("div",{children:[(0,dw.jsx)("div",{style:{margin:"25px 0 10px 0",fontWeight:"bolder"},children:e("Test Point")}),(0,dw.jsx)(hf,{name:"Top Layer Expansion",value:m,unit:r,onChange:b=>{h(b),t.form.testPointToplayerExpansion=b}}),(0,dw.jsx)(hf,{name:"Bottom Layer Expansion",value:f,unit:r,onChange:b=>{g(b),t.form.testPointBottomlayerExpansion=b}})]})]})}var H6e=L(Se());var QI=L(z());function Y$i({data:t}){if(!t)return;let e=J(),i=t.isSetDefault,o=t.editName||"",r=t.unit,[n,a]=(0,H6e.useState)(t.form.padToplayerExpansion),[s,l]=(0,H6e.useState)(t.form.padBottomlayerExpansion),[c,d]=(0,H6e.useState)(t.form.testPointToplayerExpansion),[u,p]=(0,H6e.useState)(t.form.testPointBottomlayerExpansion);return(0,QI.jsxs)(QI.Fragment,{children:[(0,QI.jsx)(A1,{isSetDefault:i,editName:o}),(0,QI.jsxs)("div",{children:[(0,QI.jsx)("div",{style:{margin:"25px 0 10px 0",fontWeight:"bolder"},children:e("Pad")}),(0,QI.jsx)(hf,{name:"Top Layer Expansion",value:n,unit:r,onChange:m=>{a(m),t.form.padToplayerExpansion=m}}),(0,QI.jsx)(hf,{name:"Bottom Layer Expansion",value:s,unit:r,onChange:m=>{l(m),t.form.padBottomlayerExpansion=m}})]}),(0,QI.jsxs)("div",{children:[(0,QI.jsx)("div",{style:{margin:"25px 0 10px 0",fontWeight:"bolder"},children:e("Test Point")}),(0,QI.jsx)(hf,{name:"Top Layer Expansion",value:c,unit:r,onChange:m=>{d(m),t.form.testPointToplayerExpansion=m}}),(0,QI.jsx)(hf,{name:"Bottom Layer Expansion",value:u,unit:r,onChange:m=>{p(m),t.form.testPointBottomlayerExpansion=m}})]})]})}var W$i=L(Se());var $C=L(z());function Q$i({data:t}){if(!t)return;let e=(0,W$i.useContext)(w0);Ce(e.ruleManager);let i=J(),o=t.isSetDefault,r=t.editName||"",n=t.unit,a=[{key:"layerName",name:"layer"},{key:"connectMode",name:"Connection Type",inputType:"select"},{key:"lineWidth",name:"Spoke Width",inputType:"input",valid:l=>l>=0},{key:"lineClearance",name:"Spoke Spacing",inputType:"input",valid:l=>l>=0},{key:"lineAngle",name:"Spoke Angles",inputType:"select"}],s=[{key:"layerName",name:"layer"},{key:"trackConnectMode",name:"Connection Type",inputType:"select"}];return(0,$C.jsxs)($C.Fragment,{children:[(0,$C.jsx)(A1,{isSetDefault:o,editName:r}),(0,$C.jsxs)("div",{style:{height:"500px",overflow:"hidden auto"},children:[(0,$C.jsxs)("div",{children:[(0,$C.jsx)("div",{style:{margin:"10px 0 5px 0",fontWeight:"bolder"},children:i("Single-layer Pad")}),(0,$C.jsx)(LO,{columnHeads:a,tableData:t.form.singleLayerPadModel,singleLayer:!0,unit:n,width:"100%"})]}),(0,$C.jsxs)("div",{children:[(0,$C.jsx)("div",{style:{margin:"10px 0 5px 0",fontWeight:"bolder"},children:i("Multi-layer Pad")}),(0,$C.jsx)(LO,{columnHeads:a,tableData:t.form.multiLayerPadModel,unit:n,width:"100%"})]}),(0,$C.jsxs)("div",{children:[(0,$C.jsx)("div",{style:{margin:"10px 0 5px 0",fontWeight:"bolder"},children:i("Track")}),(0,$C.jsx)(LO,{columnHeads:s,tableData:t.form.trackConnectModel,unit:n,width:"40%"})]})]}),(0,$C.jsx)("div",{style:{padding:"10px 0",color:"var(--font-color-pop-up)"},children:i("Tip: After the spoke width is set to 0, the connection will be automatically generated according to the size of the pad")})]})}var K$i=L(Se());var az=L(z());function Z$i({data:t}){if(!t)return;let e=(0,K$i.useContext)(w0);Ce(e.ruleManager);let i=J(),o=t.isSetDefault,r=t.editName||"",n=t.unit,a=[{key:"layerName",name:"layer"},{key:"connectMode",name:"Connection Type",inputType:"select"},{key:"lineWidth",name:"Spoke Width",inputType:"input",valid:s=>s>=0},{key:"lineClearance",name:"Spoke Spacing",inputType:"input",valid:s=>s>=0},{key:"lineAngle",name:"Spoke Angles",inputType:"select"}];return(0,az.jsxs)(az.Fragment,{children:[(0,az.jsx)(A1,{isSetDefault:o,editName:r}),(0,az.jsxs)("div",{style:{height:"500px",overflow:"hidden auto"},children:[(0,az.jsx)("div",{style:{margin:"10px 0 5px 0",fontWeight:"bolder"},children:i("Multi-layer Pad")}),(0,az.jsx)(LO,{columnHeads:a,tableData:t.form,unit:n,width:"100%"})]}),(0,az.jsx)("div",{style:{padding:"10px 0",color:"var(--font-color-pop-up)"},children:i("Tip: After the spoke width is set to 0, the connection will be automatically generated according to the size of the pad")})]})}var v7=L(z());function J$i({data:t}){if(!t)return;let e=J(),i=t.isSetDefault,o=t.editName||"",r=t.unit;return(0,v7.jsxs)(v7.Fragment,{children:[(0,v7.jsx)(A1,{isSetDefault:i,editName:o}),(0,v7.jsxs)("div",{children:[(0,v7.jsx)("div",{style:{margin:"25px 0 10px 0",fontWeight:"bolder"},children:e("Via Outer Diameter")}),(0,v7.jsx)(V6e,{unit:r,verify:n=>+n>=.001,data:t.form,min:{attrName:"viaOuterdiameterMin"},default:{attrName:"viaOuterdiameterDefault"},max:{attrName:"viaOuterdiameterMax"}})]}),(0,v7.jsxs)("div",{style:{marginTop:"20px"},children:[(0,v7.jsx)("div",{style:{margin:"25px 0 10px 0",fontWeight:"bolder"},children:e("Via Inner Diameter")}),(0,v7.jsx)(V6e,{unit:r,verify:n=>+n>=.001,data:t.form,min:{attrName:"viaInnerdiameterMin"},default:{attrName:"viaInnerdiameterDefault"},max:{attrName:"viaInnerdiameterMax"}})]})]})}var sz=L(Se());var s2=L(z());function q$i({data:t}){if(!t)return;let e=J(),i=t.isSetDefault,o=t.editName||"",r=(0,sz.useContext)(w0);Ce(r.ruleManager);let[n,a]=(0,sz.useState)(r.ruleManager.selectedRuleData.args.tableSelectedIndex),s=(0,sz.useRef)();(0,sz.useLayoutEffect)(()=>{s.current.scrollTop=30*n},[n]);function l(u){let p=u.map(m=>({layer:[m.startLayer,m.endLayer].sort().join("-"),name:m.name}));for(let m=0;m<p.length;m++)u[m].startLayer==u[m].endLayer?u[m].invalid=!0:u[m].invalid=p.some(h=>p[m]!=h&&(p[m].name==h.name||p[m].layer==h.layer))}function c(u){var m;let p=r.ruleManager.selectedRuleData.args;switch(u){case"add":{let h={key:0,name:"",startLayer:1,endLayer:2,viaSizeRule:""};r.ruleManager.resetBlindViaRuleName(h),p.table.push(h),l(p.table),p.tableSelectedIndex=p.table.length-1;break}case"delete":{if((m=p.table[p.tableSelectedIndex])!=null&&m.used){Dt({icon:"warning",closed:!0,content:"The rule is used for via, and cannot be deleted!"});return}p.table.splice(p.tableSelectedIndex,1),l(p.table),p.tableSelectedIndex=Math.min(p.tableSelectedIndex,p.table.length-1);break}case"down":case"up":{let h=r.ruleManager.selectedRuleData.args.table,f=u=="up"?-1:1;[h[p.tableSelectedIndex],h[p.tableSelectedIndex+f]]=[h[p.tableSelectedIndex+f],h[p.tableSelectedIndex]],p.tableSelectedIndex=p.tableSelectedIndex+f;break}}r.ruleManager.setSelectedRuleUnsaved(),r.ruleManager.updateTreeData()}let d=(u,p,m)=>{let h,f=document.querySelectorAll("section.der-netclass-row");for(let g=0;g<f.length;g++)f[g].querySelector(`[data-id=${u}]`)!=null&&(h=f[g].querySelectorAll("[data-id]"));if(!h)return!0;for(let g=0;g<h.length-1;g++){let b=h[g].getAttribute("data-id");if(b!==u&&m[b]==p)return!1}return!0};return(0,s2.jsxs)(s2.Fragment,{children:[(0,s2.jsx)(A1,{isSetDefault:i,editName:o,showUnit:!1}),(0,s2.jsx)("div",{style:{display:"flex",paddingTop:"10px"},children:(0,s2.jsx)(ec,{style:{marginLeft:"16px"},onClick:c,addButton:!0,deleteButton:!0,upButton:!0,downButton:!0,addDisabled:r.readonly,deleteDisabled:n==null||!r.ruleManager.selectedRuleData.args.table.length||r.readonly,upDisabled:n==0||n==null||!r.ruleManager.selectedRuleData.args.table.length||r.readonly,downDisabled:n==r.ruleManager.selectedRuleData.args.table.length-1||n==null||r.readonly})}),(0,s2.jsxs)("div",{style:{marginTop:"10px",paddingRight:"10px",height:"100%",overflow:"auto"},children:[(0,s2.jsx)("div",{style:{display:"flex",flexWrap:"nowrap",justifyContent:"space-between",alignItems:"center"},children:["Name","Start Layer","End Layer","Via Size"].map((u,p)=>(0,s2.jsx)("div",{style:{width:"25%",padding:"0 5px",boxSizing:"border-box"},children:(0,s2.jsx)("div",{style:{backgroundColor:"var(--bg-color-pop-up-sep)",padding:"5px",textAlign:"center"},children:e(u)})},u))}),(0,s2.jsx)("div",{"data-tagitem":"net-rule-table",className:"net-rule-table user-select-none",style:{marginTop:"5px",height:"480px",overflow:"auto"},ref:s,children:r.ruleManager.selectedRuleData.args.table.map((u,p)=>{let[m,h]=(0,sz.useState)(u.name),[f,g]=(0,sz.useState)(u.viaSizeRule);return(0,s2.jsxs)("section",{className:"der-netclass-row"+(n==p?" der-nets-row-active":""),style:{display:"flex",flexWrap:"nowrap",justifyContent:"space-between",alignItems:"center"},onClick:()=>{r.ruleManager.selectedRuleData.args.tableSelectedIndex=p,a(p)},children:[(0,s2.jsx)("div",{style:{width:"25%",padding:"0 5px",boxSizing:"border-box",textAlign:"center"},children:(0,s2.jsx)("div",{style:{color:u.invalid?_e.HEX_RED_COLOR:""},children:m})}),(0,s2.jsx)("div",{style:{width:"25%",padding:"0 5px",boxSizing:"border-box"},children:(0,s2.jsx)(xt,{searchable:!0,value:u.startLayer,dataTest:"Start Layer",style:{color:u.invalid?_e.HEX_RED_COLOR:""},list:r.ruleManager.layerList,disabled:r.readonly,needCheckUpdate:d,onChange:b=>{+b==u.endLayer?De({type:"warn",msg:"The layer pair of blind/buried via is not allowed to be the top layer to the bottom layer or exactly the same",timer:2.5}):(u.startLayer=+b,r.ruleManager.resetBlindViaRuleName(u),h(u.name),l(r.ruleManager.selectedRuleData.args.table)),r.ruleManager.setSelectedRuleUnsaved()}})}),(0,s2.jsx)("div",{style:{width:"25%",padding:"0 5px",boxSizing:"border-box"},children:(0,s2.jsx)(xt,{searchable:!0,value:u.endLayer,dataTest:"End Layer",disabled:r.readonly,style:{color:u.invalid?_e.HEX_RED_COLOR:""},list:r.ruleManager.layerList,needCheckUpdate:d,onChange:b=>{+b==u.startLayer?De({type:"warn",msg:"The layer pair of blind/buried via is not allowed to be the top layer to the bottom layer or exactly the same",timer:2.5}):(u.endLayer=+b,r.ruleManager.resetBlindViaRuleName(u),h(u.name),l(r.ruleManager.selectedRuleData.args.table)),r.ruleManager.setSelectedRuleUnsaved()}})}),(0,s2.jsx)("div",{style:{width:"25%",padding:"0 5px",boxSizing:"border-box"},children:(0,s2.jsx)(xt,{searchable:!0,value:f,dataTest:"Via Size",disabled:r.readonly,style:{color:u.invalid?_e.HEX_RED_COLOR:""},list:r.ruleManager.viaSizeList,onChange:b=>{u.viaSizeRule=b,g(b),r.ruleManager.setSelectedRuleUnsaved()}})})]},`blind_${p}`)})})]})]})}var Vqe=L(Se());var Cy=L(z());function X$i({data:t}){if(!t)return;let e=J(),i=(0,Vqe.useContext)(w0),o=t.isSetDefault,r=t.editName||"",n=t.unit,[a,s]=(0,Vqe.useState)(t.form.differentailPairLenTolerMax||0),l=[{key:"layerName",name:"layer"},{key:"minValue",name:"Stroke Width Min",valid:d=>d>0},{key:"defaultValue",name:"Stroke Width Default",valid:d=>d>0},{key:"maxValue",name:"Stroke Width Max",valid:d=>d>0}],c=[{key:"layerName",name:"layer"},{key:"minValue",name:"Stroke Width Min",valid:d=>d>0},{key:"defaultValue",name:"Stroke Width Default",valid:d=>d>0}];return(0,Cy.jsxs)(Cy.Fragment,{children:[(0,Cy.jsx)(A1,{isSetDefault:o,editName:r}),(0,Cy.jsxs)("div",{style:{height:"500px",overflow:"auto"},children:[(0,Cy.jsxs)("div",{children:[(0,Cy.jsx)("div",{style:{margin:"15px 0 6px 0",fontWeight:"bolder"},children:e("Stroke Width")}),(0,Cy.jsx)(LO,{columnHeads:l,tableData:t.form.strokeWidthTables,unit:n,width:"80%"})]}),(0,Cy.jsxs)("div",{style:{marginTop:"5px"},children:[(0,Cy.jsx)("div",{style:{margin:"15px 0 6px 0",fontWeight:"bolder"},children:e("Spacing")}),(0,Cy.jsx)(LO,{columnHeads:c,tableData:t.form.diffPairSpacingTables,unit:n,width:"60%"})]}),(0,Cy.jsxs)("div",{style:{marginTop:"15px"},children:[(0,Cy.jsx)("div",{style:{margin:"0px 0 6px 0",fontWeight:"bolder"},children:e("Differential Pair Length Tolerance")}),(0,Cy.jsxs)("div",{style:{display:"flex",lineHeight:"24px"},children:[(0,Cy.jsx)("div",{style:{marginRight:"54px"},children:e("Differential Pair Length Tolerance Max")}),(0,Cy.jsx)(or,{value:a,dataTest:"Differential Pair Length Tolerance Max",inputUnit:i.ruleManager.unit,originUnit:n,style:{height:"24px",width:"200px"},hiddenUnit:!0,disabled:i.readonly,onChange:(d,u)=>{d!=a&&(s(d),t.form.differentailPairLenTolerMax=+d,i.ruleManager.setSelectedRuleUnsaved())}})]})]})]}),(0,Cy.jsx)("div",{style:{color:"var(--font-color-pop-up)"},children:(0,Cy.jsx)("span",{children:e("Tip: when the differential pair rule conflicts with the safe spacing rule and the track rule, the differential pair rule shall prevail")})})]})}var hkt=L(Se());var vO=L(z());function $$i({data:t}){if(!t)return null;let e=t.isSetDefault,i=t.editName||"",o=t.unit,[r,n]=(0,hkt.useState)(t.form.creepageDistance),[a,s]=(0,hkt.useState)(t.form.ignoreLayer!==void 0?t.form.ignoreLayer:!0),l=J();function c(u,p){if(+u>=0){let m=1e4;o==="mm"&&(m=ue.unitConversion.conversion("mil","mm",m)),u=Math.min(+u,m),p(u)}}function d(u,p){p(u)}return(0,vO.jsxs)(vO.Fragment,{children:[(0,vO.jsx)(A1,{isSetDefault:e,editName:i}),(0,vO.jsxs)("div",{style:{marginTop:"20px"},children:[(0,vO.jsx)(hf,{name:"Min Creepage Distance",value:r,unit:o,onChange:u=>{c(u,p=>{n(p),t.form.creepageDistance=p})}}),(0,vO.jsx)("div",{style:{marginLeft:"56px"},children:(0,vO.jsx)(qt,{checked:a,onChange:u=>{d(u,p=>{s(p),t.form.ignoreLayer=p})},children:(0,vO.jsx)("span",{children:l("Ignore the inner layer")})})})]})]})}var wu=L(z()),{locals:X7r}=gkt.default,fkt=be.bind(X7r),$7r=600,eeo=22;var ekr={border:"none",background:"transparent",outline:0,cursor:"pointer",height:"20px",paddingLeft:0,lineHeight:"20px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"};function tkr(){let t=(0,D7.useContext)(w0);if(t.activeTopTab!=="Rule")return(0,wu.jsx)(wu.Fragment,{});let e=J();Ce(t),Ce(t.ruleManager),Ce(t.netRule);let[i,o]=(0,D7.useState)(t.ruleManager.expandedIds),r;return(0,D7.useEffect)(()=>(t.addItemAndFocus&&(t.ruleManager.addNewRule(t.addItemAndFocus),t.addItemAndFocus=null,t.scrollToGivenRule=!1),r=C.messageBus.subscribe("modifySafeSpacing",t.ruleManager.batchModifySpacingTable.bind(t.ruleManager)),()=>{r.cancel()}),[]),(0,D7.useEffect)(()=>{let p=m=>{var f;let h=()=>{let g=document.activeElement;return!!(g&&(g.tagName==="INPUT"||g.tagName==="TEXTAREA"))};if(m.ctrlKey&&m.key==="c"){if(h())return;l("duplicate")}else if(m.key==="Delete"){if(h()||((f=t.ruleManager.selectedRuleData)==null?void 0:f.args.isSetDefault)||t.readonly)return;l("delete")}};return document.addEventListener("keydown",p),()=>{document.removeEventListener("keydown",p)}},[]),(0,wu.jsxs)("div",{style:{display:"flex",justifyContent:"start",flexWrap:"nowrap",height:"100%"},children:[(0,wu.jsx)("style",{children:String(gkt.default)}),(0,wu.jsx)("div",{className:fkt("tree-menu-container"),children:(0,wu.jsx)("div",{className:fkt("tree-menu-scroll"),style:{overflowY:"auto",height:$7r+"px"},children:(0,wu.jsx)("div",{className:fkt("tree-menu"),children:(0,wu.jsx)(Bd,{selectedIds:[t.ruleManager.selectedRule],treeWidgetItemWidth:"12px",itemHeight:eeo+"px",showTagLine:!1,expandedIds:i,onExpand:c,onClick:a,onContextMenu:(p,m,h,f,g)=>s(g,m),extendIconType:"tree-extends-triangle",data:t.ruleManager.treeData,itemRender:d,initContainerScrollTop:t.scrollToGivenRule?t.ruleManager.getSelectedRuleToTop()*eeo-100:void 0})})})}),(0,wu.jsx)("div",{style:{width:"100%",height:"100%",marginLeft:"15px",overflow:"auto"},children:(0,wu.jsx)("div",{style:{width:"100%",height:"100%",display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"stretch"},children:(0,wu.jsx)(n,{})})})]});function n(){var h;let p=t.ruleManager.selectedRuleType,m=(h=t.ruleManager.selectedRuleData)==null?void 0:h.args;switch(p){case"Safe Spacing":return(0,wu.jsx)(_$i,{data:m});case"Other Spacing":return(0,wu.jsx)(B$i,{data:m});case"Creepage Distance":return(0,wu.jsx)($$i,{data:m});case"Track":return(0,wu.jsx)(F$i,{data:m});case"Net Length Range":return(0,wu.jsx)(U$i,{data:m});case"Net Length Tolerance":return(0,wu.jsx)(H$i,{data:m});case"Differential Pair":return(0,wu.jsx)(X$i,{data:m});case"Blind/Buried Via":return(0,wu.jsx)(q$i,{data:m});case"Via Size":return(0,wu.jsx)(J$i,{data:m});case"Plane Zone":return(0,wu.jsx)(Z$i,{data:m});case"Copper Zone":return(0,wu.jsx)(Q$i,{data:m});case"Paste Mask Expansion":return(0,wu.jsx)(Y$i,{data:m});case"Solder Mask Expansion":return(0,wu.jsx)(G$i,{data:m});default:return(0,wu.jsxs)("h1",{children:["Error: Cannot find page for this rule type: ",p]})}}function a(p,m,h,f,g){var b;(b=m.args)!=null&&b.isRule&&(t.ruleManager.selectedRule=`${m.args.categorayKey}:${m.args.editName}`,t.ruleManager.selectedRuleType=m.args.categorayKey,t.ruleManager.updateTreeData())}function s(p,m){var h,f;if(p.preventDefault(),(h=m.args)!=null&&h.isRule){let g=[{key:"setAsDefault",name:"Set as Default",disable:!1},{key:"duplicate",name:"Make a Copy",icon:"eda-copy",customHotKeyText:"Ctrl+C",disable:!1},{key:"rename",name:"Rename",icon:"eda-edit",disable:!1},{key:"delete",name:"Delete",icon:"eda-delete-trash",customHotKeyText:"Delete",disable:!1}];if((f=m.args)!=null&&f.isSetDefault)for(let b of g)["setAsDefault","delete"].includes(b.key)&&(b.disable=!0);pl.open({menuConfig:{menuId:"designRuleRightClickMenu",defaultConfig:g.map(b=>({id:b.key,title:b.name,icon:b.icon?{iconClassName:`icon-${b.icon}`}:void 0,disable:b.disable||!1,customHotKeyText:b==null?void 0:b.customHotKeyText,callback:()=>l(b.key,m)}))},position:{x:p.pageX,y:p.pageY},windowInstance:window})}}function l(p,m){switch(p){case"setAsDefault":t.ruleManager.setRuleAsDefault(m);break;case"duplicate":t.ruleManager.duplicateRule(m);break;case"rename":m.args.editing=!0,t.ruleManager.refresh();break;case"delete":t.ruleManager.deleteRule(m);break}}function c(p,m){let h=i.indexOf(p.id);h>-1?t.ruleManager.expandedIds.splice(h,1):t.ruleManager.expandedIds.push(p.id),o([...t.ruleManager.expandedIds])}function d(p,m,h){var w,x,S,T;let[f,g]=(0,D7.useState)(p.title.toString()),[b,y]=(0,D7.useState)(!1);return(0,D7.useEffect)(()=>{var M;(M=p.args)!=null&&M.editing&&y(!0)},[(w=p.args)==null?void 0:w.editing]),(0,wu.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",flexGrow:"1"},onDoubleClick:()=>{var M;(M=p.args)!=null&&M.isRule&&(p.args.editing=!0,y(!0))},children:[(0,wu.jsxs)("div",{style:{display:"flex",alignItems:"flex-end"},children:[(0,wu.jsx)("i",{style:{color:"red",display:(x=p.args)!=null&&x.redStar?"":"none",paddingRight:"4px"},children:"* "}),b?(0,wu.jsx)(Kt,{value:f,autoFocus:!0,focusTriggerSelect:!0,enterTriggerBlur:!0,onChange:M=>g(M),onBlur:M=>{var I;if(M.target.value!=p.title){let A=t.ruleManager.reNameRule(M.target.value,p);g(A)}y(!1),(I=p.args)!=null&&I.editing&&(p.args.editing=!1)}}):(0,wu.jsx)("div",{style:ekr,children:f})]}),((S=p.args)==null?void 0:S.isRuleType)&&!t.readonly&&(0,wu.jsx)("span",{className:"icon-eda-add-circle",style:{right:"15px",position:"absolute",fontSize:"15px",width:"16px",height:"16px",backgroundSize:"100% 100%"},onClick:M=>u(M,p),onDoubleClick:M=>u(M,p)}),(T=p.args)!=null&&T.isSetDefault?(0,wu.jsxs)("span",{style:{display:"block",wordBreak:"keep-all",padding:"0 8px"},children:["[",e("Default"),"]"]}):null]})}function u(p,m){var h;p.stopPropagation(),p.preventDefault(),(h=m.args)!=null&&h.isRuleType&&t.ruleManager.addNewRule(m.id)}}var teo=D7.default.memo(tkr);var RM=L(Se());var bkt=L(kY());var zl=L(z()),{locals:ikr}=bkt.default,Hqe=be.bind(ikr),E7=["Type","Name","Rule","Rule Type"],j4=["rule"];function okr(){let t=(0,RM.useContext)(w0);if(t.activeTopTab!=="Net")return(0,zl.jsx)(zl.Fragment,{});let e=J(),[i,o]=(0,RM.useState)(t.netRule.expandedIds);Ce(t),Ce(t.netRule);function r(){h(0),p.current&&(p.current.scrollTop=0)}function n(T,M,I,A,D){var E;(E=M.args)!=null&&E.isRuleType&&t.netRule.selectedRuleType!=M.id&&(r(),t.netRule.selectedRuleType=M.id)}function a(T,M){let I=!1;switch(M){case"rule":I=T.ruleName!==T.parent[t.netRule.selectedRuleType];break;case"copperRule":I=T.copperRuleName!==T.parent["Copper Safe Spacing"];break;case"planeRule":I=T.planeRuleName!==T.parent["Plane Safe Spacing"];break}return I}let s=t.netRule.selectedRuleType=="Safe Spacing";(0,RM.useEffect)(()=>{let T=t.netRule.tableRows.some(I=>I.copperRuleName),M=t.netRule.tableRows.some(I=>I.planeRuleName);if(s){let I=E7.includes("Copper Rule"),A=j4.includes("copperRule"),D=E7.includes("Plane Rule"),E=j4.includes("planeRule");T?(!I&&E7.splice(E7.length-1,0,"Copper Rule"),!A&&j4.push("copperRule")):(I&&(E7=E7.filter(N=>N!=="Copper Rule")),A&&(j4=j4.filter(N=>N!=="copperRule"))),M?(!D&&E7.splice(E7.length-1,0,"Plane Rule"),!E&&j4.push("planeRule")):(D&&(E7=E7.filter(N=>N!=="Plane Rule")),E&&(j4=j4.filter(N=>N!=="planeRule")))}t.netRule.update()},[t.netRule.tableRows.length>0]);let l=(0,RM.useCallback)((T,M)=>{T.stopPropagation(),T.preventDefault();let I,A=t.netRule.selectedRowIndex;A.includes(M)?I=t.netRule.tableRows.filter((P,O)=>A.includes(O)):(I=[t.netRule.tableRows[M]],t.netRule.selectedRowIndex=[M]);let D={menuId:"design-rule-net-table-menu",defaultConfig:[{id:"new-net-class",title:"New Net Class",isHide:()=>R()||I.every(P=>!E(P)||v(P)),callback:()=>{let P=Xi();C.windowBridge.publish("showEditNetClassDlg",{type:"new-net-class",data:t.netRule.netClassData,nets:I.filter(O=>O.type=="Net"&&!O.parent).map(O=>O.name),from:"designRuleDlg"},P.contentWindow)}},{id:"new-equal-length-group",title:"New Equal Length Group",isHide:()=>R()||I.every(P=>!N(P)||v(P)),callback:()=>{let P=Xi();C.windowBridge.publish("showEditNetClassDlg",{type:"new-equal-length-group",data:t.netRule.equalLengthGroupData,nets:I.filter(O=>O.type=="Net"&&!O.parent).map(O=>O.name),from:"designRuleDlg"},P.contentWindow)}},{id:"join-net-class",title:"Join Net Class",isHide:()=>R()||I.every(P=>!E(P)||v(P)||k(P))||t.netRule.netClassData.every(P=>P.type!="netClass"),callback:()=>{let P=Xi();C.windowBridge.publish("joinNetGroupDlg",{nets:I.filter(O=>O.type=="Net"&&!O.parent).map(O=>O.name),data:t.netRule.netClassData,isNetClass:!0,from:"designRuleDlg"},P.contentWindow)}},{id:"join-equal-length-group",title:"Join Equal Length Group",isHide:()=>R()||I.every(P=>!N(P)||v(P)||k(P))||t.netRule.equalLengthGroupData.every(P=>P.type!="equalLengthGroup"),callback:()=>{let P=Xi();C.windowBridge.publish("joinNetGroupDlg",{nets:I.filter(O=>O.type=="Net"&&!O.parent).map(O=>O.name),data:t.netRule.equalLengthGroupData,isNetClass:!1,from:"designRuleDlg"},P.contentWindow)}},{id:"edit-net-class",title:"Edit",isHide:()=>I.length!=1||R()||!(E(I[0])&&k(I[0])),callback:()=>{let P=Xi();C.windowBridge.publish("showEditNetClassDlg",{type:"edit-net-class",data:t.netRule.netClassData,nets:[I[0].name],from:"designRuleDlg"},P.contentWindow)}},{id:"delete",title:"Delete",isHide:()=>R()||I.some(P=>!(E(P)&&k(P))),callback:()=>{Ut({type:"confirm",message:"Sure to delete?",onConfirm:()=>{t.netRule.removeNetClass(I.map(P=>P.name),!0)}})}},{id:"remove-from-net-class",title:"Remove From Net Class",isHide:()=>R()||I.some(P=>!(v(P)&&P.parent.type=="netClass")),callback:()=>t.netRule.removeFromNetClass(I.map(P=>P.name),!0)},{id:"edit-equal-length-group",title:"Edit",isHide:()=>I.length!=1||R()||!(N(I[0])&&k(I[0])),callback:()=>{let P=Xi();C.windowBridge.publish("showEditNetClassDlg",{type:"edit-equal-length-group",data:t.netRule.equalLengthGroupData,nets:[I[0].name],from:"designRuleDlg"},P.contentWindow)}},{id:"delete-equal-length-group",title:"Delete",isHide:()=>R()||I.some(P=>!(N(P)&&k(P))),callback:()=>{Ut({type:"confirm",message:"Sure to delete?",onConfirm:()=>{t.netRule.removeNetClass(I.map(P=>P.name),!1)}})}},{id:"remove-from-equal-length-group",title:"Remove From Equal Length Group",isHide:()=>R()||I.some(P=>!(v(P)&&P.parent.type=="equalLengthGroup")),callback:()=>t.netRule.removeFromNetClass(I.map(P=>P.name),!1)},{id:"new-differential-pair",title:"New Differential Pair",isHide:()=>I.length>2||!R()||I.some(P=>v(P)),callback:()=>{t.netRule.openDifferentialPair(I.map(P=>P.name),!1)}},{id:"edit-differential-pair",title:"Edit",isHide:()=>I.length!=1||!R()||!k(I[0]),callback:()=>{t.netRule.openDifferentialPair([I[0].name],!0)}},{id:"delete-differential-pair",title:"Delete",isHide:()=>!R()||I.some(P=>!k(P)),callback:()=>{Ut({type:"confirm",message:"Sure to delete?",onConfirm:()=>{t.netRule.removeDiffPair(I.map(P=>P.name))}})}},{id:"expand_lower",title:"Expand All",hotkeyCmd:"expand_lower",callback:P=>{t.netRule.toggleFoldingAll(!1)}},{id:"collapse_lower",title:"Collapse All",hotkeyCmd:"collapse_lower",callback:P=>{t.netRule.toggleFoldingAll(!0)}}]};t.readonly||D.defaultConfig.every(O=>O.isHide instanceof Function&&O.isHide())||pl.open({menuConfig:D,position:{x:T.pageX-5,y:T.pageY-5}});function E(P){return["Net Class","Net"].includes(P.type)}function N(P){return["Equal Length Group","Net"].includes(P.type)}function R(){return t.netRule.selectedRuleType=="Differential Pair"}function v(P){return P.type=="Net"&&P.parent}function k(P){return P.type!="Net"}},[]);function c(T,M){if(T.ctrlKey)t.netRule.selectedRowIndex.includes(M)?t.netRule.selectedRowIndex=t.netRule.selectedRowIndex.filter(I=>I!=M):t.netRule.selectedRowIndex.push(M),t.netRule.lastClickRowIndex=M;else if(T.shiftKey){let I=new Array(Math.abs(t.netRule.lastClickRowIndex-M)+1).fill(null).map((A,D)=>D+Math.min(M,t.netRule.lastClickRowIndex));t.netRule.selectedRowIndex=I}else t.netRule.selectedRowIndex=[M],t.netRule.lastClickRowIndex=M;t.netRule.update()}let d=["Type","Name","Rule","Rule Type"];t.netRule.selectedRuleType==="Net Length Tolerance"&&(d=["Type","Name","Rule","Target Net","Rule Type"]);function u(T,M){let I=i.indexOf(T.id);I>-1?t.netRule.expandedIds.splice(I,1):t.netRule.expandedIds.push(T.id),o([...t.netRule.expandedIds])}let p=(0,RM.useRef)(null),[m,h]=(0,RM.useState)(0),[f,g]=(0,RM.useState)(0),b=32,y=525,w=Math.ceil(y/b);(0,RM.useEffect)(()=>{g(w)},[w]);let x=()=>{if(p.current){let T=p.current.scrollTop,M=Math.floor(T/b),I=M+w;(M!==m||I!==f)&&(h(M),g(I))}},S=T=>{let{tableRows:M,startIndex:I,endIndex:A}=T,E=M.filter(k=>!k.hidden).slice(I,A),N=E[0],R=E[E.length-1];I=M.indexOf(N),A=M.indexOf(R)+1;let v=M.slice(I,A);return(0,zl.jsx)(zl.Fragment,{children:v.length?v.map((k,P)=>!k.hidden&&(0,zl.jsxs)("section",{className:"der-netclass-row"+(t.netRule.selectedRowIndex.includes(I+P)?" der-nets-row-active":""),style:{display:"flex",flexWrap:"nowrap",justifyContent:"space-between",alignItems:"center"},onClick:O=>c(O,I+P),onContextMenu:O=>l(O,I+P),children:[(0,zl.jsx)("div",{style:{width:s?j4.length>2?"16%":j4.length>1?"19%":"25%":`${100/d.length}%`},children:(0,zl.jsx)("div",{style:{padding:"5px 15px",textAlign:k.parent?"right":"center"},"data-netclass-viewtag":"item-type-text",children:e(k.type)})}),(0,zl.jsxs)("div",{style:{width:s?j4.length>2?"16%":j4.length>1?"19%":"25%":`${100/d.length}%`,position:"relative"},children:[k.type!="Net"&&(0,zl.jsx)("i",{className:"comm-icon-add","data-tagitem":"toggle-subs-area","data-toggle-subs-status":"open",style:{position:"absolute",left:"5px",top:"5px"},onClick:O=>t.netRule.toggleFolding(k),children:t.netRule.isFolded(k)?"+":"-"}),(0,zl.jsx)("div",{style:{padding:"5px",textAlign:"center",overflow:"hidden",textOverflow:"ellipsis",marginLeft:k.type!="Net"?"20px":null},"data-netclass-viewtag":"item-name-text",children:k.name})]}),s?j4.map(O=>(0,zl.jsx)("div",{style:{width:j4.length>2?"16%":j4.length>1?"19%":"25%"},children:(!(t.netRule.selectedRuleType=="Differential Pair"&&k.type=="Net"&&!k.parent)||k.type!="Net"&&k.sub.children.length>0)&&(0,zl.jsx)("div",{style:{padding:"5px",textAlign:"center"},children:(0,zl.jsx)(xt,{style:{height:"22px",paddingTop:"0",paddingBottom:"0",width:"100%",color:k.parent&&a(k,O)?"#3399FF":null},value:O=="rule"?k.ruleName:O=="copperRule"?k.copperRuleName:k.planeRuleName,disabled:t.readonly,list:["copperRule","planeRule"].includes(O)?[{value:"",text:""},...t.netRule.ruleOptions]:t.netRule.ruleOptions,onChange:_=>{if(O=="rule")_!=k.ruleName&&t.netRule.changeRule(k.name,_,k.type);else if(O=="copperRule"&&_!=k.copperRuleName||O=="planeRule"&&_!=k.planeRuleName){let j=O=="copperRule"?"Copper Safe Spacing":"Plane Safe Spacing";t.netRule.changeCopperPlaneRule(k.name,_,k.type,j)}}})})},O)):(0,zl.jsx)("div",{style:{width:`${100/d.length}%`},children:(!(["Differential Pair"].includes(t.netRule.selectedRuleType)&&k.type=="Net"&&!k.parent)||k.type!="Net"&&k.sub.children.length>0)&&(0,zl.jsx)("div",{style:{padding:"5px",textAlign:"center"},children:(0,zl.jsx)(xt,{style:{height:"22px",paddingTop:"0",paddingBottom:"0",width:"100%",color:k.parent&&k.ruleName!==k.parent[t.netRule.selectedRuleType]?"#3399FF":null},value:k.ruleName,disabled:t.readonly||["Differential Pair"].includes(t.netRule.selectedRuleType)&&k.parent,list:t.netRule.ruleOptions,onChange:O=>{t.netRule.changeRule(k.name,O,k.type)}})})}),t.netRule.selectedRuleType=="Net Length Tolerance"&&(0,zl.jsx)("div",{style:{width:`${100/d.length}%`},children:(0,zl.jsx)("div",{style:{width:"85%",textAlign:"center"},children:(k.parent||k.type!="Net")&&(0,zl.jsx)(xt,{style:{height:"22px",paddingTop:"0",paddingBottom:"0",width:"100%",color:k.parent&&k.targetNet!==k.parent.targetNet?"#3399FF":null},value:k.targetNet||"",disabled:t.readonly,list:t.netRule.targetNetList(k.type=="Net"?k.parent.name:k.name),onChange:O=>{t.netRule.changeTargetNet(k.name,O)}})})}),(0,zl.jsx)("div",{style:{width:s?j4.length>2?"16%":j4.length>1?"19%":"25%":`${100/d.length}%`},children:(0,zl.jsx)("div",{style:{padding:"5px",textAlign:"center"},children:k.ruleType})})]},k.id)):(0,zl.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:e("No Results!")})})};return(0,zl.jsxs)("div",{style:{display:"flex",justifyContent:"start",flexWrap:"nowrap",height:"100%"},children:[(0,zl.jsx)("style",{children:String(bkt.default)}),(0,zl.jsx)("div",{className:Hqe("tree-menu-container"),children:(0,zl.jsx)("div",{className:Hqe("tree-menu-scroll"),children:(0,zl.jsx)("div",{className:Hqe("tree-menu"),children:(0,zl.jsx)(Bd,{selectedIds:[t.netRule.selectedRuleType],notAutoSelect:!0,treeWidgetItemWidth:"12px",itemHeight:"22px",showTagLine:!1,onClick:n,expandedIds:i,onExpand:u,extendIconType:"tree-extends-triangle",data:t.netRule.treeData})})})}),(0,zl.jsxs)("div",{className:Hqe("rule-content-container"),style:{display:"flex",flexDirection:"column",justifyContent:"start",alignItems:"stretch"},children:[(0,zl.jsx)("div",{style:{width:"calc(100% - 8px)",paddingBottom:"8px",display:"flex",justifyContent:"space-between",alignItems:"center"},children:(0,zl.jsx)("div",{style:{width:"100%",padding:"0 5px"},children:(0,zl.jsx)(Ws,{initShowValue:t.netRule.filterWord,style:{height:25,width:"100%"},placeholder:"Filter",onUpdateInputValue:T=>{t.netRule.filterRows(T)},onClearInputValue:()=>{t.netRule.update()}})})}),(0,zl.jsxs)("div",{style:{height:"560px",overflow:"auto"},children:[(0,zl.jsx)("div",{style:{display:"flex",flexWrap:"nowrap",justifyContent:"space-between",alignItems:"center"},children:s?E7.map((T,M)=>(0,zl.jsx)("div",{style:{width:j4.length>2?"16%":j4.length>1?"19%":"25%",padding:M===E7.length-1?"0 0 0 5px":"0 5px",boxSizing:"border-box"},children:(0,zl.jsx)("div",{style:{backgroundColor:"var(--bg-color-tab)",padding:"5px",textAlign:"center"},children:e(T)})},T)):d.map((T,M)=>(0,zl.jsx)("div",{style:{width:"25%",padding:M===d.length-1?"0 0 0 5px":"0 5px",boxSizing:"border-box"},children:(0,zl.jsx)("div",{style:{backgroundColor:"var(--bg-color-tab)",padding:"5px",textAlign:"center"},children:e(T)})},T))}),(0,zl.jsx)("div",{"data-tagitem":"net-rule-table",className:"net-rule-table user-select-none",style:{marginTop:"5px",height:y,overflowY:"auto",position:"relative"},onScroll:x,ref:p,children:(0,zl.jsx)("div",{style:{height:t.netRule.tableRows.filter(T=>!T.hidden).length*b},children:(0,zl.jsx)("div",{style:{position:"absolute",top:m*b,width:"100%"},children:(0,zl.jsx)(S,{tableRows:t.netRule.tableRows,startIndex:m,endIndex:f})})})})]})]})]})}var ieo=RM.default.memo(okr);var lz=L(Se());var wkt=L(kY());var Jl=L(z()),{locals:rkr}=wkt.default,ykt=be.bind(rkr),nkr=[{value:"net",text:"Net"},{value:"netClass",text:"Net Class"},{value:"equalLengthGroup",text:"Equal Length Group"}],B4=[];function akr(){let t=(0,lz.useContext)(w0);if(t.activeTopTab!=="Net-net")return(0,Jl.jsx)(Jl.Fragment,{});let e=J(),[i,o]=(0,lz.useState)(t.netNetRule.expandedIds);Ce(t),Ce(t.ruleManager),Ce(t.netNetRule);let r=(u,p)=>(0,Jl.jsx)("div",{style:{display:"flex",justifyContent:"space-between",flexGrow:"1"},children:(0,Jl.jsx)("span",{children:u.title})});function n(u,p,m,h,f){var g;(g=p.args)!=null&&g.isRuleType&&t.netNetRule.selectedRuleType!=p.id&&(t.netNetRule.selectedRuleType=p.id)}function a(u){switch(u){case"add":t.netNetRule.addNewRow();break;case"delete":t.netNetRule.deleteRow(t.netNetRule.tableData.tableSelectedIndex);break}}let s=({net_type:u,val:p,rowIndex:m,isNet1:h})=>{let[f,g]=(0,lz.useState)(u),[b,y]=(0,lz.useState)(p),w=t.netNetRule.selectedRuleType;return(0,Jl.jsxs)("div",{style:{display:"flex"},children:[(0,Jl.jsx)(xt,{list:nkr,style:{color:"inherit"},value:f,disabled:t.readonly,onChange:x=>{var T,M;t.netNetRule.changeNetType(m,h,x),g(x);let S=x=="net"?t.netNetRule.netOptions:x=="netClass"?t.netNetRule.netClassOptions:t.netNetRule.equalLengthGroupOptions;t.netNetRule.changeNetName(m,h,(T=S[0])==null?void 0:T.value),y((M=S[0])==null?void 0:M.value)}}),(0,Jl.jsx)(xt,{value:b,style:{color:"inherit"},searchable:!0,disabled:t.readonly,listMaxHeight:500,virtualScroll:!0,list:f=="net"?t.netNetRule.netOptions:f=="netClass"?t.netNetRule.netClassOptions:t.netNetRule.equalLengthGroupOptions,onChange:x=>{t.netNetRule.changeNetName(m,h,x)}})]})},l=t.netRule.selectedRuleType=="Safe Spacing";(0,lz.useEffect)(()=>{t.netNetRule.update();let u=t.netNetRule.tableRows.some(m=>m.copperRuleName),p=t.netNetRule.tableRows.some(m=>m.planeRuleName);if(l){let m=B4.includes("copperRule"),h=B4.includes("planeRule");u?!m&&B4.push("copperRule"):m&&(B4=B4.filter(f=>f!=="copperRule")),p?!h&&B4.push("planeRule"):h&&(B4=B4.filter(f=>f!=="planeRule"))}},[]);let c=[{key:"Net1",name:"Net1",width:l&&B4.length?B4.length==1?.2:.1666:.25,nameRender:()=>(0,Jl.jsxs)("div",{style:{lineHeight:"initial",position:"absolute",height:"60px",top:0,left:0,width:"100%"},children:[(0,Jl.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"30px",borderBottom:"1px solid var(--common-border-color)"},children:[e("Net")," 1"]}),(0,Jl.jsxs)("div",{style:{display:"flex"},children:[(0,Jl.jsx)("div",{style:{width:"50%",display:"flex",alignItems:"center",justifyContent:"center",height:"30px",borderRight:"1px solid var(--common-border-color)"},children:e("Type")}),(0,Jl.jsx)("div",{style:{width:"50%",display:"flex",alignItems:"center",justifyContent:"center",height:"30px"},children:e("Name")})]})]}),onCell(u){return{style:{height:32,color:u.used?_e.HEX_RED_COLOR:""}}},render:u=>{let p=u.row;return(0,Jl.jsx)(s,{net_type:p.net1.type,val:p.net1.name,rowIndex:u.rowNumber,isNet1:!0})}},{key:"Net2",name:"Net2",width:l&&B4.length?B4.length==1?.2:.1666:.25,nameRender:()=>(0,Jl.jsxs)("div",{style:{lineHeight:"initial",position:"absolute",height:"60px",top:0,left:0,width:"100%"},children:[(0,Jl.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"30px",borderBottom:"1px solid var(--common-border-color)"},children:[e("Net")," 2"]}),(0,Jl.jsxs)("div",{style:{display:"flex"},children:[(0,Jl.jsx)("div",{style:{width:"50%",display:"flex",alignItems:"center",justifyContent:"center",height:"30px",borderRight:"1px solid var(--common-border-color)"},children:e("Type")}),(0,Jl.jsx)("div",{style:{width:"50%",display:"flex",alignItems:"center",justifyContent:"center",height:"30px"},children:e("Name")})]})]}),onCell(u){return{style:{height:32,color:u.used?_e.HEX_RED_COLOR:""}}},render:u=>{let p=u.row;return(0,Jl.jsx)(s,{net_type:p.net2.type,val:p.net2.name,rowIndex:u.rowNumber,isNet1:!1})}},{key:"Rule",name:"Rule",width:l&&B4.length?B4.length==1?.2:.1666:.25,nameRender:()=>(0,Jl.jsx)("div",{style:{lineHeight:"initial",position:"absolute",height:"60px",top:0,left:0,width:"100%",display:"flex",alignItems:"center",justifyContent:"center"},children:e("Rule")}),onCell(u){return{style:{height:32,color:u.used?_e.HEX_RED_COLOR:""}}},render:u=>{let p=u.row;return!t.netNetRule.ruleOptions[0].value&&!t.netNetRule.ruleOptions[0].text&&t.netNetRule.ruleOptions.shift(),(0,Jl.jsx)("div",{style:{display:"flex",alignItems:"center"},children:(0,Jl.jsx)(xt,{value:p.rule,style:{color:"inherit"},list:t.netNetRule.ruleOptions,disabled:t.readonly,listMaxHeight:500,virtualScroll:!0,onChange:m=>{t.netNetRule.changeRule(u.rowNumber,m)}})})}},{key:"ruleType",name:"Rule Type",width:l&&B4.length?B4.length==1?.2:.1666:.25,align:"center",nameRender:()=>(0,Jl.jsx)("div",{style:{lineHeight:"initial",position:"absolute",height:"60px",top:0,left:0,width:"100%",display:"flex",alignItems:"center",justifyContent:"center"},children:e("Rule Type")}),onCell(u){return{style:{height:32,color:u.used?_e.HEX_RED_COLOR:""}}}}];if(l){let u=B4.map(p=>({key:p=="copperRule"?"copperRuleName":"planeRuleName",name:p=="copperRule"?"Copper Rule":"Plane Rule",width:B4.length?B4.length==1?.2:.1666:.25,nameRender:()=>(0,Jl.jsx)("div",{style:{lineHeight:"initial",position:"absolute",height:"60px",top:0,left:0,width:"100%",display:"flex",alignItems:"center",justifyContent:"center"},children:p=="copperRule"?e("Copper Rule"):e("Plane Rule")}),onCell(m){return{style:{height:32,color:m.used?"#FF0000":""}}},render:m=>{let h=m.row;return(0,Jl.jsx)("div",{style:{display:"flex",alignItems:"center"},children:(0,Jl.jsx)(xt,{value:p=="copperRule"?h.copperRuleName:h.planeRuleName,style:{color:"inherit"},list:["copperRule","planeRule"].includes(p)?[{value:"",text:""},...t.netNetRule.ruleOptions]:t.netRule.ruleOptions,disabled:t.readonly,onChange:f=>{let g=p=="copperRule"?"copperRuleName":"planeRuleName";t.netNetRule.changeCopperPlaneRule(m.rowNumber,f,g)}})})}}));if(u.length)for(let p of u)c.splice(c.length-1,0,p)}function d(u,p){let m=i.indexOf(u.id);m>-1?t.netNetRule.expandedIds.splice(m,1):t.netNetRule.expandedIds.push(u.id),o([...t.netNetRule.expandedIds])}return(0,Jl.jsxs)("div",{style:{display:"flex",justifyContent:"start",flexWrap:"nowrap",height:"100%"},children:[(0,Jl.jsx)("style",{children:String(wkt.default)}),(0,Jl.jsx)("div",{className:ykt("tree-menu-container"),children:(0,Jl.jsx)("div",{className:ykt("tree-menu-scroll"),children:(0,Jl.jsx)("div",{className:ykt("tree-menu"),children:(0,Jl.jsx)(Bd,{selectedIds:[t.netNetRule.selectedRuleType],notAutoSelect:!0,treeWidgetItemWidth:"12px",itemHeight:"22px",showTagLine:!1,onClick:n,expandedIds:i,onExpand:d,extendIconType:"tree-extends-triangle",data:t.netNetRule.treeData,itemRender:r})})})}),(0,Jl.jsxs)("div",{style:{width:"100%",height:"100%",marginLeft:"15px",overflow:"auto"},children:[(0,Jl.jsxs)("div",{style:{width:"calc(100% - 8px)",paddingBottom:"8px",display:"flex",flexWrap:"nowrap",justifyContent:"space-between",alignItems:"center"},children:[(0,Jl.jsx)(ec,{style:{marginLeft:"16px"},onClick:a,addButton:!0,deleteButton:!0,upButton:!1,downButton:!1,addDisabled:t.readonly,deleteDisabled:t.netNetRule.tableData.tableSelectedIndex==null||t.readonly}),(0,Jl.jsx)("div",{style:{paddingLeft:"5px",flexGrow:1},children:(0,Jl.jsx)(Ws,{initShowValue:t.netNetRule.filterWord,style:{height:25,width:"100%"},placeholder:"Filter",onUpdateInputValue:u=>{t.netNetRule.filterRows(u)},onClearInputValue:()=>{t.netNetRule.update()}})})]}),(0,Jl.jsx)("div",{style:{display:"flex",flexWrap:"nowrap",justifyContent:"space-between",alignItems:"center"},children:(0,Jl.jsxs)("div",{style:{width:"calc(100% - 10px)",padding:"0 5px"},children:[(0,Jl.jsx)(xi,{headHeight:62,resize:!1,index:"id",headerBorder:!0,selectedRowNumbers:[t.netNetRule.tableData.tableSelectedIndex],height:560,openVirtualScroll:!0,rowHeight:32,columns:c,rows:t.netNetRule.tableRows,onClick:u=>{t.netNetRule.tableData.tableSelectedIndex=u.selectedRowNumbers[0],t.netNetRule.update()}}),!t.netNetRule.tableData.length&&(0,Jl.jsx)("div",{style:{width:"100%",textAlign:"center"},children:e("No Results!")})]})})]})]})}var oeo=lz.default.memo(akr);var KX=L(Se());var Ckt=L(kY());var N1=L(z()),{locals:skr}=Ckt.default,Uae=be.bind(skr),ex=[];function lkr(){let t=(0,KX.useContext)(w0);if(t.activeTopTab!=="Constraint")return(0,N1.jsx)(N1.Fragment,{});let e=J(),[i,o]=(0,KX.useState)(t.regionRule.expandedIds);Ce(t),Ce(t.ruleManager),Ce(t.regionRule);let r=p=>{if(!u(p)){t.regionRule.update();return}t.regionRule.updateTable(p)},n=t.regionRule.selectedRuleType=="Safe Spacing";(0,KX.useEffect)(()=>{let p=t.regionRule.tableRows.some(h=>h.copperRuleName),m=t.regionRule.tableRows.some(h=>h.planeRuleName);if(n){let h=ex.includes("copperRule"),f=ex.includes("planeRule");p?!h&&ex.push("copperRule"):h&&(ex=ex.filter(g=>g!=="copperRule")),m?!f&&ex.push("planeRule"):f&&(ex=ex.filter(g=>g!=="planeRule"))}t.regionRule.update()},[]);let a=[{key:"constraintName",name:(0,N1.jsx)("div",{style:{background:"var(--bg-color-tab)"},children:e("Region Name")}),width:n&&ex.length?ex.length==1?.25:.2:.3333,align:"center",editable:!0,onCell(){return{style:{height:32}}},onHeadCell(p){return{title:e("Region Name"),style:{padding:"0 5px 0 0",backgroundColor:"var(--common-bg-color)"}}}},{key:"ruleName",name:(0,N1.jsx)("div",{style:{background:"var(--bg-color-tab)"},children:e("Rule")}),width:n&&ex.length?ex.length==1?.25:.2:.3333,align:"center",onCell(){return{style:{lineHeight:"14px"}}},onHeadCell(p){return{title:e("Rule"),style:{padding:"0 5px",backgroundColor:"var(--common-bg-color)"}}},render(p){let m=p.row;return(0,N1.jsx)("div",{style:{display:"flex",alignItems:"center"},children:(0,N1.jsx)(xt,{value:m.ruleName,list:t.regionRule.ruleOptions,disabled:t.readonly,style:{width:"100%",height:"22px"},onChange:h=>{t.regionRule.changeRule(m.globalIndex,h)}})})}},{key:"ruleType",name:(0,N1.jsx)("div",{style:{background:"var(--bg-color-tab)"},children:e("Rule Type")}),width:n&&ex.length?ex.length==1?.25:.2:.3333,align:"center",onHeadCell(p){return{title:e("Rule Type"),style:{paddingLeft:"0 0 0 5px",backgroundColor:"var(--common-bg-color)"}}}}];if(n){let p=ex.map(m=>({key:m=="copperRule"?"copperRuleName":"planeRuleName",name:(0,N1.jsx)("div",{style:{background:"#efefef"},children:m=="copperRule"?e("Copper Rule"):e("Plane Rule")}),width:ex.length?ex.length==1?.25:.2:.3333,align:"center",onCell(){return{style:{lineHeight:"14px"}}},onHeadCell(h){return{title:m=="copperRule"?e("Copper Rule"):e("Plane Rule"),style:{padding:"0 5px",backgroundColor:"var(--common-bg-color)"}}},render(h){let f=h.row;return(0,N1.jsx)("div",{style:{display:"flex",alignItems:"center"},children:(0,N1.jsx)(xt,{value:m=="copperRule"?f.copperRuleName:f.planeRuleName,list:t.regionRule.ruleOptions,disabled:t.readonly,style:{width:"100%",height:"22px"},onChange:g=>{let b=m=="copperRule"?"Copper Safe Spacing":"Plane Safe Spacing";t.regionRule.changeCopperPlaneRule(f.globalIndex,g,b)}})})}}));if(p.length)for(let m of p)a.splice(a.length-1,0,m)}function s(p,m,h,f,g){var b;(b=m.args)!=null&&b.isRuleType&&t.regionRule.selectedRuleType!=m.id&&(t.regionRule.selectedRuleType=m.id)}let l=(p,m)=>(0,N1.jsx)("div",{style:{display:"flex",justifyContent:"space-between",flexGrow:"1"},children:(0,N1.jsx)("span",{children:p.title})});function c(p,m){let h=i.indexOf(p.id);h>-1?t.regionRule.expandedIds.splice(h,1):t.regionRule.expandedIds.push(p.id),o([...t.regionRule.expandedIds])}let d=be(Uae("constraint-rule-panel"),"display-flex flex-main-axis-start flex-nowrap");return(0,N1.jsxs)("div",{className:d,style:{height:"100%"},children:[(0,N1.jsx)("style",{children:String(Ckt.default)}),(0,N1.jsx)("div",{className:Uae("tree-menu-container"),children:(0,N1.jsx)("div",{className:Uae("tree-menu-scroll"),children:(0,N1.jsx)("div",{className:Uae("tree-menu"),children:(0,N1.jsx)(Bd,{selectedIds:[t.regionRule.selectedRuleType],notAutoSelect:!0,treeWidgetItemWidth:"12px",itemHeight:"22px",showTagLine:!1,onClick:s,expandedIds:i,onExpand:c,extendIconType:"tree-extends-triangle",data:t.regionRule.treeData,itemRender:l})})})}),(0,N1.jsx)("div",{className:be(Uae("rule-content-container"),"display-flex flex-direct-column flex-main-axis-start flex-lateral-axis-stretch"),children:(0,N1.jsxs)("div",{className:Uae("input-search-box"),"data-test":"Filter Key",children:[(0,N1.jsx)(Ws,{style:{height:25,width:"100%"},placeholder:"Filter",onUpdateInputValue:p=>{t.regionRule.filterRows(p)},onClearInputValue:()=>{t.regionRule.update()}}),(0,N1.jsx)("div",{className:Uae("constraint-table-warper"),children:(0,N1.jsx)(xi,{index:"globalIndex",columns:a,rows:t.regionRule.tableRows,selectedRowNumbers:[null],height:532,openRowSelectedBgColor:!1,onChange:p=>{r(p)}})})]})})]});function u(p){let m=!0,h="",f=new Set;for(let g of p){let b=g.constraintName;if(b?f.has(b)&&(h="The name already exists, please modify",m=!1):(h="The name cannot be empty, please modify",m=!1),f.add(b),!m)break}return m||Dt({content:h}),m}}var reo=KX.default.memo(lkr);var neo=L(kY());var l2=L(z()),{locals:ckr}=neo.default,xkt=be.bind(ckr),dkr=[{key:"Rule",title:"Rule Management"},{key:"Net",title:"Net Rule"},{key:"Net-net",title:"Net-Net Rule"},{key:"Constraint",title:"Region Rule"}];function ukr({params:t}){let e=J(),i=(0,ZX.useContext)(w0);Ce(i);let[o,r]=(0,ZX.useState)(!1);return(0,ZX.useEffect)(()=>{if(i.activeTopTab=="Net"&&i.netRule.selectedRuleType=="Safe Spacing"){if(i.netRule.tableRows.some(a=>a.copperRuleName||a.planeRuleName)){r(!0);return}}else if(i.activeTopTab=="Net-net"&&i.netNetRule.selectedRuleType=="Safe Spacing"){if(i.netNetRule.tableRows.some(a=>a.copperRuleName||a.planeRuleName)){r(!0);return}}else if(i.activeTopTab=="Constraint"&&i.regionRule.selectedRuleType=="Safe Spacing"&&i.regionRule.tableRows.some(a=>a.copperRuleName||a.planeRuleName)){r(!0);return}r(!1)},[i.activeTopTab,i.netRule.selectedRuleType]),(0,l2.jsxs)("div",{className:xkt("comm-tab-container"),style:{height:"655px",flexGrow:1},children:[(0,l2.jsx)("div",{className:xkt("comm-tab-header"),children:(0,l2.jsx)(yl,{lists:dkr,direction:"top",type:"card",activeKey:i.activeTopTab,tabsStyle:{padding:"3px 18px"},onClick:a=>{i.activeTopTab=a,i.update(),i.processConfig.update()}})}),(0,l2.jsx)("div",{className:xkt("comm-tab-content"),children:(0,l2.jsx)("div",{style:{height:"100%",padding:"10px 10px"},children:(0,l2.jsx)(n,{topTab:i.activeTopTab})})}),(0,l2.jsxs)("div",{style:{paddingLeft:"6px"},children:[e("Tips: Design rule apply priority is: "),(0,l2.jsx)("span",{style:{color:"red"},children:e("Region rule > Net-net rule > Net rule")}),e(", when the object has different rules, it will use the high\xA0priority rule first.")]}),(0,l2.jsx)("div",{style:{paddingLeft:"6px",display:o?"block":"none"},children:e("When the copper rule/plane rule is not empty, the copper/plane spacing takes precedence over the spacing parameters of the copper rule/plane rule")})]});function n({topTab:a}){return(0,l2.jsxs)(l2.Fragment,{children:[(0,l2.jsx)("div",{style:{display:a=="Rule"?"block":"none"},children:(0,l2.jsx)(teo,{})}),(0,l2.jsx)("div",{style:{display:a=="Net"?"block":"none"},children:(0,l2.jsx)(ieo,{})}),(0,l2.jsx)("div",{style:{display:a=="Net-net"?"block":"none"},children:(0,l2.jsx)(oeo,{})}),(0,l2.jsx)("div",{style:{display:a=="Constraint"?"block":"none"},children:(0,l2.jsx)(reo,{})})]})}}var aeo=ZX.default.memo(ukr);var Gqe=L(Se());var seo=L(kY());var fge=L(z()),{locals:pkr}=seo.default,vgc=be.bind(pkr);function mkr(t){let{params:e}=t,i=J(),o=(0,Gqe.useContext)(w0);return Ce(o),Ce(o.processConfig),(0,fge.jsxs)("div",{style:{display:"flex"},children:[(0,fge.jsx)(xt,{disabled:o.readonly,style:{height:"28px",width:"180px"},value:o.processConfig.value,list:o.processConfig.options,onChange:r=>{o.processConfig.handleTagitemInputChangeAction(r),o.processConfig.update()}}),(0,fge.jsx)(Me,{style:{marginLeft:"5px"},disabled:o.activeTopTab!="Rule"||o.readonly,onClick:()=>o.processConfig.importConfig(),children:"Import Config"}),(0,fge.jsx)(Me,{style:{marginLeft:"5px"},disabled:o.activeTopTab!="Rule"||o.readonly,onClick:()=>o.processConfig.exportConfig(),children:"Export Config"})]})}var leo=Gqe.default.memo(mkr);var ceo=L(kY());var xy=L(z()),{locals:Yqe}=Wqe.default,hkr=t=>{let e=J(),i=be.bind(ceo.default.locals),{containerId:o,params:r,dialogId:n,onDialogOpen:a,onDialogCancel:s,onDialogClose:l,onDialogConfirm:c,onDialogClosed:d}=t,[u,p]=(0,gge.useState)(null),m=(0,gge.useRef)(null);m.current=u;let h=`pop-content-wrapper display-flex flex-nowrap ${Yqe["main-container"]}`,f=`${Yqe["view-loading-wrapper"]}`,g=`${Yqe["view-loading"]}`,b=`rotation ${Yqe["view-loading-rotation"]}`,y=async w=>{if(w==="cancel"){le.close(o);return}if(w=="restore"){Dt({icon:"warning",title:me.i18n("Tips"),closed:!0,content:me.i18n("You are restoring the design rule as default setting, continue?"),onConfirm:()=>{u.processConfig.restore(),u.ruleManager.setSelectedRuleUnsaved(!0)}});return}let x=u.getFormData();if(x){if(Qqe()&&(w=="confirm"||w=="apply")){De({type:"warn",msg:"Currently there are sub-picture partitions, and the design rules cannot be modified. Please try after merging them into the main picture",timer:2.5});return}await oo({action:w,dialogId:n,formData:x}),u.ruleManager.setAllRuleUnsaved(!1),(w=="confirm"||w=="apply")&&De({type:"success",msg:"Operation success!",timer:2.5}),w=="confirm"&&le.close(o)}};return(0,gge.useLayoutEffect)(()=>(P$i(r,n).then(w=>{p(w),a&&a()}),()=>{d&&d()}),[]),u?(0,xy.jsxs)("div",{style:{width:"100%",height:"100%",overflowX:"hidden",overflowY:"hidden"},children:[(0,xy.jsx)("style",{children:String(Wqe.default)}),(0,xy.jsxs)(w0.Provider,{value:u,children:[(0,xy.jsx)("div",{className:h,children:(0,xy.jsx)(aeo,{params:r})}),(0,xy.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,xy.jsx)(leo,{}),(0,xy.jsxs)("div",{children:[(0,xy.jsx)(Me,{disabled:u.readonly,type:"primary",style:{marginLeft:"5px"},onClick:()=>y("restore"),children:"Restore Default"}),(0,xy.jsx)(Me,{disabled:u.readonly,type:"primary",style:{marginLeft:"5px"},onClick:()=>y("apply"),children:"Apply"}),(0,xy.jsx)(Me,{disabled:u.readonly,type:"primary",style:{marginLeft:"5px"},onClick:()=>y("confirm"),children:"Confirm"}),(0,xy.jsx)(Me,{style:{marginLeft:"5px"},onClick:()=>y("cancel"),children:"Cancel"})]})]})]})]}):(0,xy.jsxs)("div",{className:i("pop-content-container"),children:[(0,xy.jsx)("style",{children:String(Wqe.default)}),(0,xy.jsx)("div",{className:f,children:(0,xy.jsx)("div",{className:g,children:(0,xy.jsx)("div",{className:b,children:(0,xy.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})]})},deo=hkr;var peo=L(z());async function ueo(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;return le.open({id:o,title:r,width:n,closed:a,esc:!0,folded:!1,children:(0,peo.jsx)(deo,{containerId:o,dialogId:t.dialogId,params:t})}),le}async function L$i(t){return await ii("design-rules",{...t})}var bge=L(Se());var iXe=L(Tkt());var weo=L(Se());var heo={defaultTag:"default",netTypeMap:{net:"net",netClass:"netClass"},netType2Describe:{net:"Net",netClass:"Net Class"},ruleType2NetViewType:{Track:"COMM_NET"},ruleType2DescriHashtable:{Track:"Physics - Track"},ruleType2NewEditnameHashtable:{Track:"trackWidth"},joinNetClassWhenSelectSubItems(){return"\u540C\u4E00\u7F51\u7EDC\u4E0D\u80FD\u52A0\u5165\u4E0D\u540C\u7F51\u7EDC\u7C7B\u4E0B\u3002\u52A0\u5165\u7F51\u7EDC\u7C7B\u540E\u753B\u5E03\u5DE6\u4FA7\u6811\u7684\u7F51\u7EDC\u7C7B\u6587\u4EF6\u5939\u9700\u8981\u540C\u6B65"},thresholdTips(t,e,i){return{mm:me.i18n('Current unit is "mm", the minimum\xA0value is {0}, the maximum value is {1}, 3 decimal places.',[e,i]),mil:me.i18n('Current unit is "mil", the minimum\xA0value is {0}, the maximum value is {1}, 1 decimal places.',[e,i])}[t]}};function feo(t,e,i){switch(t){case"Track":{for(let o in e.form.data)if(!Skt(i,e.form.data[o],"minValue","maxValue","defaultValue"))return!1;return!0}default:return!0}}function Skt(t,e,i,o,r){return i&&o&&e[i]!=null&&e[o]!=null&&fo(e[i],t)>fo(e[o],t)?(r!=null?X2("The default value needs to be between the minimum value and the maximum value!"):X2("The minimum value cannot be greater than the maximum value"),!1):r&&i&&e[r]!=null&&e[i]!=null&&fo(e[r],t)<fo(e[i],t)?(o!=null?X2("The default value needs to be between the minimum value and the maximum value!"):X2("The default value cannot be less than the minimum value"),!1):r&&o&&e[r]!=null&&e[o]!=null&&fo(e[r],t)>fo(e[o],t)?(i!=null?X2("The default value needs to be between the minimum value and the maximum value!"):X2("The default value cannot be greater than the maximum value"),!1):!0}var geo={unit:"mil",form:{strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.127}};var beo={Track:{pageViewType:"TRACK",...geo}};var JX=[{Physics:["Track"]}],gkr=(()=>{let t=[];for(let e=0;e<JX.length;e++){let i=JX[e],o=Object.keys(i)[0],r=i[o];t.push(o);for(let n=0;n<r.length;n++){let a=r[n];t.push(a)}}return t})(),yeo="DRDialogContainer",Kqe=class extends qe{constructor(i){super();this.treeData=[];this._unit="mil";this.allFolderIds=gkr;this.layerList=new Array;this.viaSizeList=new Array;this.refreshTableMap=new Map;this.parent=i,this._hasCommonModified=!1}initial(i){this.handleRemovedRules(i);let o=Object.values(i.Rule.Physics.Track)[0].unit;this.treeData=this.initTreeData(i.Rule),this.selectedRuleType=this.parent.activeTopTab=="Rule"?this.parent.activeRuleType:"Track";let r=i.Rule[this.selectedRuleCategory][this.selectedRuleType],n,a;for(let s in r){let l=r[s];this.unit=o,l.editName==this.parent.activeRuleName&&(a=`${this.selectedRuleType}:${l.editName}`),l.isSetDefault&&(n=`${this.selectedRuleType}:${l.editName}`)}this.selectedRule=a||n,this.parent.activeRuleName=null}getSelectedRuleToTop(){let i=0;for(let o of this.treeData){i++;for(let r of o.children){i++;for(let n of r.children){if(this.selectedRule==n.id)return i;i++}}}return 0}get hasCommonModified(){return this._hasCommonModified}set hasCommonModified(i){this._hasCommonModified=i}get unit(){return this._unit}set unit(i){this._unit=i,this.notify()}get selectedRuleData(){let i=this.getRuleTypeData(this.selectedRuleType);for(let o of i.children)if(`${this.selectedRuleType}:${o.args.editName}`==this.selectedRule)return o}setSelectedRuleUnsaved(i=!0){if(this.parent.readonly)return;this.selectedRuleData.args.redStar=i,i&&dg.emit("setSaveBtnStatus","available",yeo);let o=document.querySelector(`[data-itemid="${this.parent.ruleManager.selectedRule}"] i`);o?o.style.display="":this.updateTreeData()}setAllRuleUnsaved(i=!0){this.treeData.forEach(o=>{o.children.forEach(r=>{r.children.forEach(n=>n.args.redStar=i)})}),i&&dg.emit("setSaveBtnStatus","available",yeo),this.updateTreeData()}getRuleTypeData(i){for(let o of this.treeData)for(let r of o.children)if(r.id==i)return r}getRuleOptions(i){let o=this.getRuleTypeData(i),r=[];return i=="Net Length Tolerance"&&r.unshift({value:"",text:"",showOriginalText:!0}),o.children.forEach(n=>{let a=n.args.isSetDefault?"default":n.args.editName,s=n.args.isSetDefault?`${n.args.editName}(${me.i18n("Default")})`:n.args.editName;r.push({value:a,text:s,showOriginalText:!0})}),r}handleDefaultRule(i,o){if(i=="default"||!i)return i;let r=this.getRuleTypeData(o),n=r.children.filter(s=>s.args.isSetDefault)[0],a=r.children.some(s=>s.args.editName==i);return n.args.editName==i||!a?"default":i}updateRuleOptions(i,o){this.parent.netRule.updateRuleOptions(i,o),this.hasCommonModified=!0}updateTreeData(){this.treeData=[...this.treeData],this.hasCommonModified=!0,this.notify()}deleteRule(i){let o=this.getRuleTypeData(this.selectedRuleType);this.selectedRule=o.children[0].id;for(let r of o.children)if(r.args.isSetDefault){this.selectedRule=r.id;break}o.children=o.children.filter(r=>r.args.editName!=i),this.updateRuleOptions(o.id,i),this.updateTreeData(),this.hasCommonModified=!0}setRuleAsDefault(){let i=this.getRuleTypeData(this.selectedRuleType),o;for(let r=0;r<i.children.length;r++){let n=i.children[r];`${this.selectedRuleType}:${n.args.editName}`==this.selectedRule?(n.args.isSetDefault=!0,o=r):n.args.isSetDefault=!1}i.children.sort(this.sortRuleComparator),this.setSelectedRuleUnsaved(),this.updateRuleOptions(),this.updateTreeData(),this.hasCommonModified=!0}sortRuleComparator(i,o){return i.args.isSetDefault?-1:o.args.isSetDefault?1:ue.naturalSortComparator(i.title,o.title)}changeUnit(i){this.treeData.forEach(o=>{o.children.forEach(r=>{r.children.forEach(n=>{this.changeUnit2(n,r.id,i)})})}),this.unit=i,this.hasCommonModified=!0,this.setSelectedRuleUnsaved()}changeUnit2(i,o,r){let n=i.args.unit;if(n&&n!=r){i.args.unit=r;let a=[];switch(o){case"Track":{let s=i.args.form.data;a=["strokeWidthMin","strokeWidthDefault","strokeWidthMax"];break}}a.forEach(s=>i.args.form[s]=ue.unitConversion.conversion(n,r,i.args.form[s]))}}reNameRule(i){let o=this.selectedRuleData.args.editName;if(i===""||o==i)return o;if(this.getRuleTypeData(this.selectedRuleType).children.some(a=>a.args.editName==i))return Ut({type:"info",message:"Name already exists"}),o;let n=this.selectedRuleData;return n.id=this.selectedRule=`${this.selectedRuleType}:${i}`,n.args.editName=i,n.title=i,this.parent.netRule.replaceOldRuleName(o,i,this.selectedRuleType),this.updateRuleOptions(),this.setSelectedRuleUnsaved(),this.hasCommonModified=!0,i}addNewRule(i){for(let o of this.treeData)for(let r of o.children)if(r.id==i){let n=r.children.filter(u=>{var p;return(p=u.args)==null?void 0:p.isSetDefault})[0]||r.children[0],a=JSON.parse(JSON.stringify(n));a.args={...a.args,...ue.deepClone(beo[i])};let s=heo.ruleType2NewEditnameHashtable[i],l=r.children.reduce((u,p)=>{let m=parseInt(p.title.split(s)[1]);return!isNaN(m)&&m>u?m:u},0),c=s+(l+1),d={...a,id:`${r.id}:${c}`,title:c};d.args={...d.args,editing:!0,editName:c,isSetDefault:!1},r.children.push(d),this.updateRuleOptions(),this.selectedRule=d.id,this.selectedRuleType=r.id,this.changeUnit(this.unit),this.updateTreeData(),this.hasCommonModified=!0;return}}initTreeData(i){return JX.map(o=>{let r=Object.keys(o)[0];return{id:r,title:me.i18n(r),children:o[r].map(n=>({id:n,title:me.i18n(n),args:{isRuleType:!0},children:Object.entries(i[r][n]).map(([a,s])=>({id:`${n}:${s.editName}`,title:s.editName,args:{...s,isRule:!0,categorayKey:n,redStar:!1}})).sort(this.sortRuleComparator)}))}})}getRuleCategory(i){for(let o of JX){let r=Object.keys(o)[0];if(o[r].includes(i))return r}}get selectedRuleCategory(){return this.getRuleCategory(this.selectedRuleType)}arr2Map(i){let o={};return i.forEach(r=>{o[r.args.editName]=r.args}),o}getFormData(i=!1){if(!i){let r=this.findWrongPage();if(r)return this.selectedRuleType=r.ruleType,this.selectedRule=`${r.ruleType}:${r.ruleName}`,this.parent.activeTopTab!="Rule"?(this.parent.activeTopTab="Rule",this.parent.update()):this.updateTreeData(),null}let o={};for(let r=0;r<JX.length;r++){let n=JX[r],a=Object.keys(n)[0];o[a]={};let s=n[a];for(let l=0;l<s.length;l++)o[a][s[l]]=this.arr2Map(this.treeData[r].children[l].children)}return o}findWrongPage(){for(let i=0;i<JX.length;i++){let o=JX[i],r=Object.keys(o)[0],n=o[r];for(let a=0;a<n.length;a++){let s=this.treeData[i].children[a].children;for(let l=0;l<s.length;l++)if(!feo(n[a],s[l].args,this.unit))return{ruleType:n[a],ruleName:s[l].args.editName}}}return null}handleRemovedRules(i){this.parent.netRule.handleRemovedRules(i)}isRuleExist(i,o,r){for(let n in i)for(let a in i[n])if(a==o&&(i[n][a][r]||r=="default"))return!0;return!1}restore(){this.selectedRuleData.args={...this.selectedRuleData.args,form:{strokeWidthDefault:.254,strokeWidthMax:2.54,strokeWidthMin:.127},unit:"mm",editName:this.selectedRuleData.args.editName,isSetDefault:this.selectedRuleData.args.isSetDefault},this.updateTreeData(),this.changeUnit2(this.selectedRuleData,this.selectedRuleType,this.unit)}};var Mkt=[{Physics:["Track"]}],Zqe=class extends qe{constructor(i){super();this.tableRows=[];this.tableRowsOrigin=[];this.netClassELGroups=[];this.ruleOptions=new Array;this.selectedRowIndex=new Array;this.lastClickRowIndex=0;this.filterWord="";this.parent=i}get netClassData(){let i=[];return this.netClassELGroups.forEach(o=>{var r;o.type=="netClass"||o.type=="net"?i.push(o):(r=o.sub)!=null&&r.length&&o.sub.forEach(n=>{i.push(n)})}),i}get equalLengthGroupData(){let i=[];return this.netClassELGroups.forEach(o=>{var r;o.type=="equalLengthGroup"||o.type=="net"?i.push(o):(r=o.sub)!=null&&r.length&&o.sub.forEach(n=>{i.push(n)})}),i}update(){this.tableRows=this.getTableRows(),this.tableRowsOrigin=JSON.parse(JSON.stringify(this.tableRows)),this.filterWord?this.filterRows(this.filterWord):this.notify()}filterRows(i){var o;if(i=i.trim().toLowerCase(),this.filterWord=i,i=="")this.tableRows=[...this.tableRowsOrigin];else{let r=new Set,n=new Array;for(let a=0;a<this.tableRowsOrigin.length;a++){let s=this.tableRowsOrigin[a],l=s.ruleName=="default"?(o=this.ruleOptions.filter(p=>p.value=="default")[0])==null?void 0:o.text:s.ruleName,c=s.copperRuleName,d=s.planeRuleName;if([s.name,l,c,d,me.i18n(s.type),s.ruleType].some(p=>p&&p.toLowerCase().includes(i))){if(r.add(a),s.type!="Net")n.push(s.name);else if(s.parent){let p=this.tableRowsOrigin.findIndex(m=>m.type!="Net"&&this.getType(m.type)==s.parent.type&&m.name==s.parent.name);r.add(p)}}else s.type=="Net"&&n.includes(s.parent)&&r.add(a)}this.tableRows=[...r].sort((a,s)=>a-s).map(a=>this.tableRowsOrigin[a])}this.selectedRowIndex=[],this.lastClickRowIndex=0,this.notify()}initial(i){this.netClassELGroups=JSON.parse(JSON.stringify(i.Net)),this.treeData=this.initTreeData(),this.selectedRuleType=this.parent.activeTopTab=="Net"?this.parent.activeRuleType:"Track",dg.clearEvent("editNetClass","design-rules"),dg.on("editNetClass",o=>{this.netClassELGroups=this.parseNetData(o.newNetClassList,o.changeName,o.type.includes("net-class")),this.update()},"design-rules")}get selectedRuleType(){return this._selectedRuleType}set selectedRuleType(i){this._selectedRuleType=i,this.ruleOptions=this.parent.ruleManager.getRuleOptions(i),this.update()}targetNetList(i){let o=[""];return this.netClassELGroups.find(n=>n.type!="net"&&n.name==i).sub.forEach(n=>o.push(n.name)),o.map(n=>({value:n,text:n,showOriginalText:!0}))}updateRuleOptions(i,o){if(this.ruleOptions=this.parent.ruleManager.getRuleOptions(this.selectedRuleType),i&&o){let r=this.netClassELGroups,n=[];r.forEach(a=>{n.push(a),a.type!="net"&&n.push(...a.sub)}),n.forEach(a=>{a[i]==o&&(a[i]="default")})}this.initial({Net:this.netClassELGroups})}getTableRows(){let i=[],o;return o=this.netClassELGroups,o.sort((r,n)=>{if(r.type==n.type)return ue.naturalSortComparator(ue.naturalSortSplitor(r.name),ue.naturalSortSplitor(n.name))}),o.forEach(r=>{let n={id:Mt(),name:r.name,type:this.getRowType(r.type),ruleName:this.parent.ruleManager.handleDefaultRule(r[this.selectedRuleType],this.selectedRuleType),ruleType:`${me.i18n(this.selectedRuleCategory)} - ${me.i18n(this.selectedRuleType)}`,targetNet:null};if(i.push(n),r.type!="net"&&r.sub.length>0){let a=r.sub.map(s=>({id:Mt(),name:s.name,type:"Net",ruleName:s[this.selectedRuleType],ruleType:`${me.i18n(this.selectedRuleCategory)} - ${me.i18n(this.selectedRuleType)}`,targetNet:null,parent:r.name,hidden:r.folded})).sort((s,l)=>ue.naturalSortComparator(ue.naturalSortSplitor(s.name),ue.naturalSortSplitor(l.name)));i.push(...a)}}),i}getRowType(i){let o;switch(i){case"net":o="Net";break;case"netClass":o="Net Class";break;case"equalLengthGroup":o="Equal Length Group";break;case"netDifferentail":o="Differential Pair";break}return o}getRuleCategory(i){for(let o of Mkt){let r=Object.keys(o)[0];if(o[r].includes(i))return r}}get selectedRuleCategory(){return this.getRuleCategory(this.selectedRuleType)}initTreeData(){return Mkt.map(o=>{let r=Object.keys(o)[0];return{id:r,title:r,children:o[r].map(n=>({id:n,title:n,args:{isRuleType:!0,ruleCategory:r}}))}})}getAllRuleTypeNames(){return["Track"]}parseNetData(i,o,r){var u;let n=this.netClassELGroups,a={},s=[],l=new Set;n.forEach(p=>{p.type=="net"?(a[p.name]=p,l.add(p.name)):(p.type==(r?"equalLengthGroup":"netClass")&&s.push(p),p.sub.forEach(m=>{a[m.name]=m}))});let c=[];for(let p in i){let m=i[p].sort((g,b)=>ue.naturalSortComparator(ue.naturalSortSplitor(g),ue.naturalSortSplitor(b))),h=((u=o.find(g=>g.newName==p))==null?void 0:u.oldName)||p,f=n.find(g=>g.type==(r?"netClass":"equalLengthGroup")&&g.name==h);f||(f={type:"netClass",name:p},this.resetAllRuleToDefault(f)),f.sub=m.map(g=>a[g]),c.push(f)}for(let p of s)c.push(p);let d=new Set;for(let p in i)i[p].forEach(h=>d.add(h));return Object.values(a).forEach(p=>{p.type=="net"&&!d.has(p.name)&&(l.has(p.name)||this.resetAllRuleToDefault(p),c.push(p))}),c.sort(this.sortNetCompare)}toggleFolding(i){let o;o=this.netClassELGroups;for(let r=0;r<o.length;r++){let n=o[r];n.name==i.name&&n.type==this.getType(i.type)&&(n.folded=!n.folded)}this.update()}isFolded(i){let o;o=this.netClassELGroups;for(let r=0;r<o.length;r++){let n=o[r];if(n.name==i.name&&n.type==this.getType(i.type))return n.folded}}toggleFoldingAll(i){let o;o=this.netClassELGroups;for(let r=0;r<o.length;r++){let n=o[r];n.folded=i}this.update()}removeNetClass(i,o){let r=this.netClassELGroups,n=r.findIndex(a=>(o?a.type=="netClass":a.type=="equalLengthGroup")&&i==a.name);n>-1&&(r[n].sub.forEach(a=>{delete a.parent,this.resetAllRuleToDefault(a),r.push(a)}),r.splice(n,1),r.sort(this.sortNetCompare),this.update())}sortNetCompare(i,o){return i.type==o.type?ue.naturalSortComparator(ue.naturalSortSplitor(i.name),ue.naturalSortSplitor(o.name)):i.type=="netClass"?1:-1}removeFromNetClass(i,o){let r=this.netClassELGroups;for(let n=0;n<r.length;n++){let a=r[n];if(o?a.type=="netClass":a.type=="equalLengthGroup"){let s=a.sub.findIndex(l=>l.name==i);if(s>-1){let l=a.sub.splice(s,1)[0];delete l.parent,this.resetAllRuleToDefault(l),r.some(c=>{var d;return(d=c.sub)==null?void 0:d.some(u=>u.name==l.name)})||r.push(l),r.sort(this.sortNetCompare),this.update();break}}}}resetAllRuleToDefault(i){this.getAllRuleTypeNames().forEach(r=>{i[r]="default"})}changeRule(i,o,r){var s;let n,a=r=="Net";o=this.parent.ruleManager.handleDefaultRule(o,this.selectedRuleType),n=this.netClassELGroups;for(let l=0;l<n.length;l++){let c=n[l];c.name==i?a&&c.type=="net"?c[this.selectedRuleType]=o:!a&&c.type!="net"&&(c.type==this.getType(r)&&(c[this.selectedRuleType]=o),this.selectedRuleType!="Differential Pair"&&c.sub.forEach(d=>{d[this.selectedRuleType]=o})):(s=c.sub)!=null&&s.length&&c.sub.forEach(d=>{d.name==i&&(d[this.selectedRuleType]=o)})}this.update()}getType(i){switch(i){case"Net Class":return"netClass";case"Equal Length Group":return"equalLengthGroup";case"Net":return"net";case"Differential Pair":return"netDifferentail"}}replaceOldRuleName(i,o,r){let n;n=this.netClassELGroups,n.forEach(a=>{a[r]==i&&(a[r]=o)})}getFormData(i){switch(i){case"Net":case"EqualLengthGroups":return this.netClassData}}handleRemovedRules(i){if(!this.netClassELGroups)return;let o={Net:{list:this.netClassELGroups,ruleTypeNames:[...Object.values(Mkt).map(r=>Object.values(r)).flat(2),"Plane Safe Spacing","Copper Safe Spacing"].filter(r=>!["Differential Pair"].includes(r))}};for(let r in o){let n=o[r];for(let a of n.list){let s=n.ruleTypeNames;for(let l of s){let c=a[l];if(c&&!this.parent.ruleManager.isRuleExist(i.Rule,l,c)&&(a[l]="default"),a.sub&&a.sub.length)for(let d of a.sub)for(let u of s){let p=d[u];p&&!this.parent.ruleManager.isRuleExist(i.Rule,u,p)&&(d[u]="default")}}}}this.update()}};async function Ceo(t,e){let i=new Ikt;return i.dialogId=e,await i.initial(t),i}var Ikt=class extends qe{constructor(){super();this.scrollToGivenRule=!1;this._dialogProps=null,this.ruleManager=new Kqe(this),this.netRule=new Zqe(this),this.readonly=je()}set needShowTip(i){this._needShowTip=i,this.update()}get needShowTip(){return this._needShowTip}set dialogProps(i){this._dialogProps=i}get dialogProps(){return this._dialogProps}update(){this.notify()}async initial(i){var o,r,n,a;this.scrollToGivenRule=i.extra&&(i.extra.activeMenu||i.extra.activeMenuName||i.extra.addItemAndFocus),this.activeTopTab=((o=i.extra)==null?void 0:o.activeTab)||"Rule",this.activeRuleType=((r=i.extra)==null?void 0:r.activeMenu)||"Track",this.activeRuleName=(n=i.extra)==null?void 0:n.activeMenuName,this.addItemAndFocus=(a=i.extra)==null?void 0:a.addItemAndFocus,this.ruleManager.initial(i),this.netRule.initial(i)}getFormData(i=!1){let o=this.ruleManager.getFormData(i);return o?(this.ruleManager.hasCommonModified&&C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.DESIGN_RULE,content:{},project_uuid:C.currentProject.projectId}]),{Rule:o,Net:this.netRule.getFormData("Net"),option:this.ruleManager.layerList}):null}},KI=(0,weo.createContext)(void 0);var eXe=L(Se());var cz=L(Se());var Dkt=L(G6e());var Leo=L(Se());var Teo=L(Se());var tx=L(z());function Seo({isSetDefault:t,editName:e,showUnit:i=!0,showSetDefault:o=!0}){let r=[{text:"mm",value:"mm"},{text:"mil",value:"mil"}],n=(0,Teo.useContext)(KI),a=J(),s=t?"Default":"Set as Default";return(0,tx.jsxs)(tx.Fragment,{children:[(0,tx.jsxs)("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",flexWrap:"nowrap"},children:[(0,tx.jsxs)("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",flexWrap:"nowrap"},children:[(0,tx.jsxs)("strong",{style:{minWidth:"50px",paddingRight:"10px"},"data-test":"Name",children:[a("Name"),":"]}),(0,tx.jsx)(Kt,{name:"editName",defaultValue:e,disabled:n.readonly,clickTriggerSelect:!0,enterTriggerBlur:!0,onBlur:c})]}),o&&(0,tx.jsx)("div",{style:{marginLeft:"30px"},children:(0,tx.jsx)(Me,{type:"primary",size:"sm",disabled:t||n.readonly,onClick:l,children:s})}),(0,tx.jsx)("div",{style:{marginLeft:"10px"},children:(0,tx.jsx)(Me,{size:"sm",disabled:t||n.readonly,onClick:d,children:"Delete"})})]}),i&&(0,tx.jsxs)("div",{style:{marginTop:"10px",display:"flex",justifyContent:"flex-start",alignItems:"center",flexWrap:"nowrap"},children:[(0,tx.jsxs)("span",{style:{minWidth:"50px",paddingRight:"10px"},"data-test":"Unit",children:[a("Unit"),":"," "]}),(0,tx.jsx)("div",{children:(0,tx.jsx)(xt,{style:{width:"65px"},list:r,value:n.ruleManager.unit,onChange:u=>{n.ruleManager.changeUnit(u)}})})]})]});function l(){n.ruleManager.setRuleAsDefault()}function c(u){u.target.value=n.ruleManager.reNameRule(u.target.value)}function d(){Ut({type:"confirm",icon:"question",message:"Sure to delete?",onConfirm:()=>n.ruleManager.deleteRule(e)})}}var Lkt=L(Tkt());var Meo=L(Se());var qX=L(z());function qqe({name:t,value:e,unit:i,onChange:o,illegal:r}){let n=J(),a=(0,Meo.useContext)(KI);return(0,qX.jsxs)("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",flexWrap:"nowrap",margin:"0 0 10px 0"},children:[(0,qX.jsx)("div",{style:{flex:"0 0 125px",textAlign:"right",paddingRight:"10px"},children:(0,qX.jsx)("span",{title:n(t),"data-test":t,children:n(t)})}),(0,qX.jsx)("div",{style:{width:"100%"},children:(0,qX.jsx)(or,{value:e,inputUnit:a.ruleManager.unit,originUnit:i,hiddenUnit:!0,disabled:a.readonly,style:r?{color:"red"}:null,onChange:(s,l)=>{s!=e&&(a.ruleManager.setSelectedRuleUnsaved(),o(s,l))}})}),(0,qX.jsx)("div",{style:{flex:"0 0 10px"}})]})}var Xqe=L(Se());var XX=L(z());function Ieo(t){let[e,i]=(0,Xqe.useState)(t.data[t.min.attrName]),[o,r]=(0,Xqe.useState)(t.default!=null?t.data[t.default.attrName]:null),[n,a]=(0,Xqe.useState)(t.max!=null?t.data[t.max.attrName]:Number.MAX_SAFE_INTEGER),s=[t.min,t.default,t.max].reduce((u,p)=>u+(p!=null?1:0),0);return(0,XX.jsxs)(XX.Fragment,{children:[(0,XX.jsx)(qqe,{name:t.min.name||"Min",value:e,unit:t.unit,illegal:l(1,s)&&(n!=null&&fo(e,t.unit)>fo(n,t.unit)||o!=null&&fo(e,t.unit)>fo(o,t.unit)),onChange:(u,p)=>{d(u,p,m=>{i(m),c(1),t.data[t.min.attrName]=m})}}),t.default&&(0,XX.jsx)(qqe,{name:t.default.name||"Default",value:o,unit:t.unit,illegal:l(2,s)&&(fo(o,t.unit)<fo(e,t.unit)||n!=null&&fo(o,t.unit)>fo(n,t.unit)),onChange:(u,p)=>{d(u,p,m=>{r(m),c(2),t.data[t.default.attrName]=m})}}),t.max&&(0,XX.jsx)(qqe,{name:t.max.name||"Max",value:n,unit:t.unit,illegal:l(3,s)&&(fo(n,t.unit)<fo(e,t.unit)||o!=null&&fo(n,t.unit)<fo(o,t.unit)),onChange:(u,p)=>{d(u,p,m=>{a(m),c(3),t.data[t.max.attrName]=m})}})]});function l(u,p){return t.data.lastModify%10==u||p>2&&Math.round(t.data.lastModify/10)==u}function c(u){t.data.lastModify=(t.data.lastModify||0)*10%100+u}function d(u,p,m){var h,f;t.verify(u)&&(m(u),Skt(t.unit,t.data,t.min.attrName,(h=t.max)==null?void 0:h.attrName,(f=t.default)==null?void 0:f.attrName))}}var OY=L(z());function veo({data:t}){if(!t)return;let e=J(),i=be.bind(Lkt.default.locals),o=(0,Leo.useContext)(KI);Ce(o.ruleManager),Ae(Lkt.default);let r=t.isSetDefault,n=t.editName||"",a=t.unit,s=[{key:"layerName",name:"layer"},{key:"minValue",name:"Stroke Width Min"},{key:"defaultValue",name:"Stroke Width Default"},{key:"maxValue",name:"Stroke Width Max"}];return(0,OY.jsxs)(OY.Fragment,{children:[(0,OY.jsx)(Seo,{isSetDefault:r,editName:n}),(0,OY.jsxs)("div",{style:{height:"500px",overflow:"auto"},children:[(0,OY.jsx)("div",{style:{margin:"25px 0 10px 0",fontWeight:"bolder"},children:e("Stroke Width")}),(0,OY.jsx)(Ieo,{unit:a,verify:l=>+l>=.001,data:t.form,min:{attrName:"strokeWidthMin",name:"Stroke Width Min"},default:{attrName:"strokeWidthDefault",name:"Stroke Width Default"},max:{attrName:"strokeWidthMax",name:"Stroke Width Max"}})]})]})}var z4=L(z()),{locals:bkr}=Dkt.default,vkt=be.bind(bkr),ykr=600,Deo=22;function wkr(){let t=J(),e=(0,cz.useContext)(KI);Ce(e),Ce(e.ruleManager),Ce(e.netRule);let[i,o]=(0,cz.useState)(e.ruleManager.allFolderIds),r=()=>{let c=e.ruleManager.selectedRuleType,d=e.ruleManager.selectedRuleData.args;switch(c){case"Track":return(0,z4.jsx)(veo,{data:d});default:return(0,z4.jsxs)("h1",{children:["Error: Cannot find page for this rule type: ",c]})}},n=(c,d,u,p,m)=>{var h;(h=d.args)!=null&&h.isRule&&(e.ruleManager.selectedRule=`${d.args.categorayKey}:${d.args.editName}`,e.ruleManager.selectedRuleType=d.args.categorayKey,e.ruleManager.updateTreeData())},a=(c,d)=>{let u=document.activeElement;if(u&&(u.tagName==="INPUT"||u.tagName==="TEXTAREA"))return;let p=i.indexOf(c.id);p>-1&&(i.splice(p,1),o([...i]))},s=(c,d,u)=>{var g,b,y,w;let[p,m]=(0,cz.useState)(!((g=c.args)!=null&&g.editing)),[h,f]=(0,cz.useState)(c.title.toString());return(0,z4.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",flexGrow:"1"},children:[(0,z4.jsxs)("div",{style:{display:"flex",alignItems:"flex-end"},children:[(0,z4.jsx)("i",{style:{color:"red",display:(b=c.args)!=null&&b.redStar?"":"none",paddingRight:"4px"},children:"* "}),(0,z4.jsx)(Kt,{selected:!p,style:p?{border:"none",background:"transparent",outline:0,cursor:"pointer",height:"20px",paddingLeft:0}:{height:"20px"},value:h,title:h,onChange:x=>f(x),readOnly:p,enterTriggerBlur:!0,onBlur:x=>{var S;if((S=c.args)!=null&&S.editing){if(c.args.editing=!1,x.target.value!=c.args.editName){let T=e.ruleManager.reNameRule(x.target.value);x.target.value=T}m(!0)}},onClick:x=>{p||x.stopPropagation()}})]}),((y=c.args)==null?void 0:y.isRuleType)&&!e.readonly&&(0,z4.jsx)("span",{className:"icon-eda-add-circle",style:{right:"15px",position:"absolute",fontSize:"15px",width:"16px",height:"16px",backgroundSize:"100% 100%"},onClick:x=>l(c)}),(w=c.args)!=null&&w.isSetDefault?(0,z4.jsxs)("span",{style:{display:"block",wordBreak:"keep-all",padding:"0 8px"},children:["[",t("Default"),"]"]}):null]})},l=c=>{var d;(d=c.args)!=null&&d.isRuleType&&e.ruleManager.addNewRule(c.id)};return(0,cz.useEffect)(()=>{e.addItemAndFocus&&(e.ruleManager.addNewRule(e.addItemAndFocus),e.addItemAndFocus=null,e.scrollToGivenRule=!1)},[]),(0,z4.jsxs)("div",{style:{display:"flex",justifyContent:"start",flexWrap:"nowrap",height:"100%"},children:[(0,z4.jsx)("style",{children:String(Dkt.default)}),(0,z4.jsx)("div",{className:vkt("tree-menu-container"),children:(0,z4.jsx)("div",{className:vkt("tree-menu-scroll"),style:{overflowY:"auto"},children:(0,z4.jsx)("div",{className:vkt("tree-menu"),children:(0,z4.jsx)(Bd,{selectedIds:[e.ruleManager.selectedRule],treeWidgetItemWidth:"12px",itemHeight:Deo+"px",showTagLine:!1,expandedIds:i,onExpand:a,onClick:n,extendIconType:"tree-extends-triangle",data:e.ruleManager.treeData,itemRender:s,containerHeight:ykr+"px",initContainerScrollTop:e.scrollToGivenRule?e.ruleManager.getSelectedRuleToTop()*Deo-100:void 0,inputDisableExpand:!0,isVirtualList:!0})})})}),(0,z4.jsx)("div",{style:{width:"100%",height:"100%",marginLeft:"15px",overflow:"auto"},children:(0,z4.jsx)("div",{style:{width:"100%",height:"100%",display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"stretch"},children:(0,z4.jsx)(r,{})})})]})}var Eeo=cz.default.memo(wkr);var DO=L(Se());var Ekt=L(G6e());var _p=L(z()),{locals:Ckr}=Ekt.default,$qe=be.bind(Ckr);function xkr(){let t=J(),[e,i]=(0,DO.useState)([]),o=(0,DO.useContext)(KI);Ce(o),Ce(o.netRule);function r(l,c,d,u,p){var m;(m=c.args)!=null&&m.isRuleType&&o.netRule.selectedRuleType!=c.id&&(o.netRule.selectedRuleType=c.id)}(0,DO.useEffect)(()=>{o.netRule.update()},[]);let n=(0,DO.useCallback)((l,c)=>{l.stopPropagation(),l.preventDefault();let d,u=o.netRule.selectedRowIndex;u.includes(c)?d=o.netRule.tableRows.filter((b,y)=>u.includes(y)):(d=[o.netRule.tableRows[c]],o.netRule.selectedRowIndex=[c]);let p={menuId:"design-rule-net-table-menu",defaultConfig:[{id:"new-net-class",title:"New Net Class",isHide:()=>d.every(b=>!m(b)||f(b)),callback:()=>{let b=Xi();C.windowBridge.publish("showEditNetClassDlg",{type:"new-net-class",data:o.netRule.netClassData,nets:d.filter(y=>y.type=="Net"&&!y.parent).map(y=>y.name),from:"designRuleDlg"},b.contentWindow)}},{id:"new-equal-length-group",title:"New Equal Length Group",isHide:()=>d.every(b=>!h(b)||f(b)),callback:()=>{let b=Xi();C.windowBridge.publish("showEditNetClassDlg",{type:"new-equal-length-group",data:o.netRule.equalLengthGroupData,nets:d.filter(y=>y.type=="Net"&&!y.parent).map(y=>y.name),from:"designRuleDlg"},b.contentWindow)}},{id:"join-net-class",title:"Join Net Class",isHide:()=>d.every(b=>!m(b)||f(b)||g(b))||o.netRule.netClassData.every(b=>b.type!="netClass"),callback:()=>{let b=Xi();C.windowBridge.publish("joinNetGroupDlg",{nets:d.filter(y=>y.type=="Net"&&!y.parent).map(y=>y.name),data:o.netRule.netClassData,isNetClass:!0,from:"designRuleDlg"},b.contentWindow)}},{id:"join-equal-length-group",title:"Join Equal Length Group",isHide:()=>d.every(b=>!h(b)||f(b)||g(b))||o.netRule.equalLengthGroupData.every(b=>b.type!="equalLengthGroup"),callback:()=>{let b=Xi();C.windowBridge.publish("joinNetGroupDlg",{nets:d.filter(y=>y.type=="Net"&&!y.parent).map(y=>y.name),data:o.netRule.equalLengthGroupData,isNetClass:!1,from:"designRuleDlg"},b.contentWindow)}},{id:"edit-net-class",title:"Edit",isHide:()=>d.length!=1||!(m(d[0])&&g(d[0])),callback:()=>{let b=Xi();C.windowBridge.publish("showEditNetClassDlg",{type:"edit-net-class",data:o.netRule.netClassData,nets:[d[0].name],from:"designRuleDlg"},b.contentWindow)}},{id:"delete",title:"Delete",isHide:()=>d.some(b=>!(m(b)&&g(b))),callback:()=>{Ut({type:"confirm",message:"Sure to delete?",onConfirm:()=>{o.netRule.removeNetClass(d.map(b=>b.name),!0)}})}},{id:"remove-from-net-class",title:"Remove From Net Class",isHide:()=>d.some(b=>!(f(b)&&b.parent.type=="netClass")),callback:()=>o.netRule.removeFromNetClass(d.map(b=>b.name),!0)},{id:"edit-equal-length-group",title:"Edit",isHide:()=>d.length!=1||!(h(d[0])&&g(d[0])),callback:()=>{let b=Xi();C.windowBridge.publish("showEditNetClassDlg",{type:"edit-equal-length-group",data:o.netRule.equalLengthGroupData,nets:[d[0].name],from:"designRuleDlg"},b.contentWindow)}},{id:"delete-equal-length-group",title:"Delete",isHide:()=>d.some(b=>!(h(b)&&g(b))),callback:()=>{Ut({type:"confirm",message:"Sure to delete?",onConfirm:()=>{o.netRule.removeNetClass(d.map(b=>b.name),!1)}})}},{id:"remove-from-equal-length-group",title:"Remove From Equal Length Group",isHide:()=>d.some(b=>!(f(b)&&b.parent.type=="equalLengthGroup")),callback:()=>o.netRule.removeFromNetClass(d.map(b=>b.name),!1)},{id:"expand_lower",title:"Expand All",hotkeyCmd:"expand_lower",callback:b=>{o.netRule.toggleFoldingAll(!1)}},{id:"collapse_lower",title:"Collapse All",hotkeyCmd:"collapse_lower",callback:b=>{o.netRule.toggleFoldingAll(!0)}}]};o.readonly||p.defaultConfig.every(y=>y.isHide instanceof Function&&y.isHide())||pl.open({menuConfig:p,position:{x:l.pageX-5,y:l.pageY-5}});function m(b){return["Net Class","Net"].includes(b.type)}function h(b){return["Equal Length Group","Net"].includes(b.type)}function f(b){return b.type=="Net"&&b.parent}function g(b){return b.type!="Net"}},[]);function a(l,c){if(l.ctrlKey)o.netRule.selectedRowIndex.includes(c)?o.netRule.selectedRowIndex=o.netRule.selectedRowIndex.filter(d=>d!=c):o.netRule.selectedRowIndex.push(c),o.netRule.lastClickRowIndex=c;else if(l.shiftKey){let d=new Array(Math.abs(o.netRule.lastClickRowIndex-c)+1).fill(null).map((u,p)=>p+Math.min(c,o.netRule.lastClickRowIndex));o.netRule.selectedRowIndex=d}else o.netRule.selectedRowIndex=[c],o.netRule.lastClickRowIndex=c;o.netRule.update()}let s=["Type","Name","Rule","Rule Type"];return o.netRule.selectedRuleType==="Net Length Tolerance"&&(s=["Type","Name","Rule","Target Net","Rule Type"]),(0,DO.useEffect)(()=>{i(D_(o.netRule.treeData))},[o.netRule.treeData]),(0,_p.jsxs)("div",{style:{display:"flex",justifyContent:"start",flexWrap:"nowrap",height:"100%"},children:[(0,_p.jsx)("style",{children:String(Ekt.default)}),(0,_p.jsx)("div",{className:$qe("tree-menu-container"),children:(0,_p.jsx)("div",{className:$qe("tree-menu-scroll"),children:(0,_p.jsx)("div",{className:$qe("tree-menu"),children:(0,_p.jsx)(Bd,{selectedIds:[o.netRule.selectedRuleType],notAutoSelect:!0,treeWidgetItemWidth:"12px",itemHeight:"22px",showTagLine:!1,onClick:r,expandedIds:e,extendIconType:"tree-extends-triangle",data:o.netRule.treeData})})})}),(0,_p.jsxs)("div",{className:$qe("rule-content-container"),style:{display:"flex",flexDirection:"column",justifyContent:"start",alignItems:"stretch"},children:[(0,_p.jsx)("div",{style:{width:"calc(100% - 8px)",paddingBottom:"8px",display:"flex",justifyContent:"space-between",alignItems:"center"},children:(0,_p.jsx)("div",{style:{width:"100%",padding:"0 5px"},children:(0,_p.jsx)(Ws,{style:{height:25,width:"100%"},placeholder:"Filter",onUpdateInputValue:l=>{o.netRule.filterRows(l)},onClearInputValue:()=>{o.netRule.update()}})})}),(0,_p.jsxs)("div",{style:{height:"560px",overflow:"auto"},children:[(0,_p.jsx)("div",{style:{display:"flex",flexWrap:"nowrap",justifyContent:"space-between",alignItems:"center"},children:s.map((l,c)=>(0,_p.jsx)("div",{style:{width:"25%",padding:"0 5px",boxSizing:"border-box"},children:(0,_p.jsx)("div",{style:{backgroundColor:"var(--bg-color-tab)",padding:"5px",textAlign:"center"},children:t(l)})},l))}),(0,_p.jsx)("div",{"data-tagitem":"net-rule-table",className:"net-rule-table user-select-none",style:{marginTop:"5px",height:"525px",overflowY:"auto",position:"relative"},children:o.netRule.tableRows.length?o.netRule.tableRows.map((l,c)=>!l.hidden&&(0,_p.jsxs)("section",{className:"der-netclass-row"+(o.netRule.selectedRowIndex.includes(c)?" der-nets-row-active":""),style:{display:"flex",flexWrap:"nowrap",justifyContent:"space-between",alignItems:"center"},onClick:d=>a(d,c),onContextMenu:d=>n(d,c),children:[(0,_p.jsx)("div",{style:{width:`${100/s.length}%`},children:(0,_p.jsx)("div",{style:{padding:"5px 15px",textAlign:l.parent?"right":"center"},"data-netclass-viewtag":"item-type-text",children:t(l.type)})}),(0,_p.jsxs)("div",{style:{width:`${100/s.length}%`,position:"relative"},children:[l.type!="Net"&&(0,_p.jsx)("i",{className:"comm-icon-add","data-tagitem":"toggle-subs-area","data-toggle-subs-status":"open",style:{position:"absolute",left:"5px",top:"5px"},onClick:d=>o.netRule.toggleFolding(l),children:o.netRule.isFolded(l)?"+":"-"}),(0,_p.jsx)("div",{style:{padding:"5px",textAlign:"center",overflow:"hidden",textOverflow:"ellipsis",marginLeft:l.type!="Net"?"20px":null},"data-netclass-viewtag":"item-name-text",children:l.name})]}),(0,_p.jsx)("div",{style:{width:`${100/s.length}%`},children:(!(["Differential Pair","Net Length Tolerance"].includes(o.netRule.selectedRuleType)&&l.type=="Net"&&!l.parent)||l.type!="Net"&&l.sub.children.length>0)&&(0,_p.jsx)("div",{style:{padding:"5px",textAlign:"center"},children:(0,_p.jsx)(xt,{style:{height:"22px",paddingTop:"0",paddingBottom:"0",width:"100%",color:l.parent&&l.ruleName!==l.parent[o.netRule.selectedRuleType]?"red":null},value:l.ruleName,disabled:o.readonly,list:o.netRule.ruleOptions,onChange:d=>{d!=l.ruleName&&o.netRule.changeRule(l.name,d,l.type)}})})}),(0,_p.jsx)("div",{style:{width:`${100/s.length}%`},children:(0,_p.jsx)("div",{style:{padding:"5px",textAlign:"center"},children:l.ruleType})})]},l.id)):(0,_p.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:t("No Results!")})})]})]})]})}var Aeo=DO.default.memo(xkr);var Neo=L(G6e());var _M=L(z()),{locals:Tkr}=Neo.default,Akt=be.bind(Tkr),Skr=[{key:"Rule",title:"Rule Management"},{key:"Net",title:"Net Rule"}];function Mkr({params:t}){let e=J(),i=(0,eXe.useContext)(KI);Ce(i);let o=({topTab:r})=>(0,_M.jsxs)(_M.Fragment,{children:[(0,_M.jsx)("div",{style:{display:r=="Rule"?"block":"none"},children:(0,_M.jsx)(Eeo,{})}),(0,_M.jsx)("div",{style:{display:r=="Net"?"block":"none"},children:(0,_M.jsx)(Aeo,{})})]});return(0,_M.jsxs)("div",{className:Akt("comm-tab-container"),style:{height:"655px",flexGrow:1},children:[(0,_M.jsx)("div",{className:Akt("comm-tab-header"),children:(0,_M.jsx)(yl,{lists:Skr,direction:"top",type:"card",defaultActiveKey:i.activeTopTab,onClick:r=>{i.activeTopTab=r,i.update()}})}),(0,_M.jsx)("div",{className:Akt("comm-tab-content"),children:(0,_M.jsx)("div",{style:{height:"100%",padding:"10px 10px"},children:(0,_M.jsx)(o,{topTab:i.activeTopTab})})})]})}var keo=eXe.default.memo(Mkr);var Peo=L(G6e());var Ty=L(z()),{locals:tXe}=iXe.default,Ikr=t=>{let e=J(),i=be.bind(Peo.default.locals),{containerId:o,params:r,dialogId:n,onDialogOpen:a,onDialogCancel:s,onDialogClose:l,onDialogConfirm:c,onDialogClosed:d}=t,[u,p]=(0,bge.useState)(null),m=(0,bge.useRef)(null);m.current=u;let h=`pop-content-wrapper display-flex flex-nowrap ${tXe["main-container"]}`,f=`${tXe["view-loading-wrapper"]}`,g=`${tXe["view-loading"]}`,b=`rotation ${tXe["view-loading-rotation"]}`,y=async w=>{if(w==="cancel"){le.close(o);return}if(w=="restore"){Dt({icon:"warning",title:e("Tips"),closed:!0,content:e("You are restoring the design rule as default setting, continue?"),onConfirm:()=>{u.ruleManager.restore(),u.ruleManager.setSelectedRuleUnsaved(!0)}});return}let x=u.getFormData();x&&(u.ruleManager.setAllRuleUnsaved(!1),(w=="confirm"||w=="apply")&&(await C.messageBus.rpcCall("sch/savePcbDesignRuleData",x),De({type:"success",msg:"Operation success!",timer:2.5})),w=="confirm"&&le.close(o))};return(0,bge.useLayoutEffect)(()=>(Ceo(r,n).then(w=>{p(w),a&&a()}),()=>{d&&d()}),[]),u?(0,Ty.jsxs)("div",{style:{width:"100%",height:"100%",overflowX:"hidden",overflowY:"hidden"},children:[(0,Ty.jsx)("style",{children:String(iXe.default)}),(0,Ty.jsxs)(KI.Provider,{value:u,children:[(0,Ty.jsx)("div",{className:h,children:(0,Ty.jsx)(keo,{params:r})}),(0,Ty.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,Ty.jsx)("div",{style:{width:"10px"}}),(0,Ty.jsxs)("div",{children:[(0,Ty.jsx)(Me,{disabled:u.readonly,type:"primary",style:{marginLeft:"5px"},onClick:()=>y("restore"),children:"Restore Default"}),(0,Ty.jsx)(Me,{disabled:u.readonly,type:"primary",style:{marginLeft:"5px"},onClick:()=>y("apply"),children:"Apply"}),(0,Ty.jsx)(Me,{disabled:u.readonly,type:"primary",style:{marginLeft:"5px"},onClick:()=>y("confirm"),children:"Confirm"}),(0,Ty.jsx)(Me,{style:{marginLeft:"5px"},onClick:()=>y("cancel"),children:"Cancel"})]})]})]})]}):(0,Ty.jsxs)("div",{className:i("pop-content-container"),children:[(0,Ty.jsx)("style",{children:String(iXe.default)}),(0,Ty.jsx)("div",{className:f,children:(0,Ty.jsx)("div",{className:g,children:(0,Ty.jsx)("div",{className:b,children:(0,Ty.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})]})},Oeo=Ikr;var jeo=L(z());async function Reo(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;return le.open({id:o,title:r,width:n,closed:a,esc:!0,folded:!1,children:(0,jeo.jsx)(Oeo,{containerId:o,dialogId:t.dialogId,params:t})}),le}async function _eo(t){return await ii("design-rules-sch",{...t})}var Feo=L(Se());var rXe=L(zeo());var N7=L(z()),{locals:Lkr}=rXe.default,Nkt=be.bind(Lkr),vkr=t=>{let{dialogId:e,containerId:i,pcbData:o}=t,r=J();Ae(rXe.default);let n=".json",[a,s]=(0,Feo.useState)(()=>{let h=he.getActiveTab();return`Config_DesignRule_${he.getTabTitle(h)||"PCB"}_${Rs(void 0,"yyyy-MM-dd")}`}),l=h=>{let{fileName:f}=h;return!f||!f.trim()?(De({type:"warn",msg:"Please enter a name"}),!1):!0},c=async h=>{switch(String(h)){case"confirm":{let f=d();if(!l(f))return;u(f),p();break}case"cancel":{p();break}}},d=()=>({fileName:a}),u=h=>{let f=o.designData.Rule;ya(JSON.stringify(f,null,2),h.fileName+n)},p=()=>{le.close(i)};Bt(h=>{(h==null?void 0:h.code)==="Escape"&&c("cancel")}).keyboard(i),Bt(()=>{c("cancel")}).close(i);let m=Nkt("pop-content-container","export-design-rules-file-container");return(0,N7.jsxs)("div",{className:m,style:{height:"100%"},children:[(0,N7.jsx)("style",{children:String(rXe.default)}),(0,N7.jsx)("div",{className:Nkt("pop-content-wrapper"),children:(0,N7.jsx)(FA,{children:(0,N7.jsxs)(Wv,{title:"File Name",titleStyle:{paddingRight:6},children:[(0,N7.jsx)(Kt,{dataTest:"File Name",value:a,autoFocus:!0,focusTriggerSelect:!0,onChange:s}),(0,N7.jsx)("span",{style:{marginLeft:4},children:n})]})})}),(0,N7.jsxs)("div",{className:Nkt("pop-footer-wrapper"),children:[(0,N7.jsx)(Me,{"data-test":"Confirm",type:"primary",style:{marginRight:"8px",marginLeft:"auto"},onClick:()=>c("confirm"),children:"Confirm"}),(0,N7.jsx)(Me,{"data-test":"Cancel",onClick:()=>c("cancel"),children:"Cancel"})]})]})},Ueo=vkr;var Heo=L(z());async function Veo(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i,l={designData:t.designData};return le.open({id:o,title:r,width:n,height:a,closed:s,esc:!0,folded:!1,mask:!0,children:(0,Heo.jsx)(Ueo,{containerId:o,dialogId:t.dialogId,pcbData:l})}),{origin:"react"}}var RY=L(Se());var Vae={HYPEN_TAG:":",NAME_PREFIX:"__namePrefix",RULE_ASSIGNMENT:"RULE_ASSIGNMENT",menuErgodic(t,e=new Function,i=!1,o=!1,r=!0,n=""){for(let a=0;a<t.length;a++)t[a]&&(r?(r=!1,n=n?n+`${this.HYPEN_TAG}`+t[a].name:t[a].name||""):n=(n||t[a].name||"").replace(/:(.*)/,`:${t[a].name}`),t[a].showname=me.i18n(t[a].name),i&&(t[a].isShowAdd=!1,t[a].showCheckbox=t[a].checked=!0,t[a].id=Mt(t[a].name+Math.random())),t[a][this.NAME_PREFIX]=n,!t[a].isDump&&t[a].extend.length?this.menuErgodic(t[a].extend,e,i,o,!0,t[a].name):e(t[a],t[a][this.NAME_PREFIX])===!1&&(t[a]=null),o&&(n=""))}};var Geo=[{name:"Spacing",showname:"",isDump:!0,extend:[{name:"Safe Spacing",showname:"",id:"1-1",selected:!0},{name:"Creepage Distance",showname:"",id:"1-2",selected:!0}]},{name:"Physics",showname:"",isDump:!0,extend:[{name:"Track",showname:"",id:"2-1"},{name:"Net Length Range",showname:"",id:"2-2"},{name:"Net Length Tolerance",showname:"",id:"2-3"},{name:"Differential Pair",showname:"",id:"2-4"},{name:"Blind/Buried Via",showname:"",id:"2-5"},{name:"Via Size",showname:"",id:"2-6"}]},{name:"Plane",showname:"",isDump:!0,extend:[{name:"Plane Zone",showname:"",id:"3-1"},{name:"Copper Zone",showname:"",id:"3-2"}]},{name:"Extend",showname:"",isDump:!0,extend:[{name:"Paste Mask Expansion",showname:"",id:"4-1"},{name:"Solder Mask Expansion",showname:"",id:"4-2"}]}];var Yeo=[{name:"Spacing",showname:"",extend:[{name:"Safe Spacing",showname:"",isShowAdd:!0,extend:[],isDump:!0,pageViewType:"SAFE_SPACING"},{name:"Creepage Distance",showname:"",isShowAdd:!0,extend:[],isDump:!0,pageViewType:"CREEPAGE_SPACING"},{name:"Other Spacing",showname:"",isShowAdd:!0,extend:[],isDump:!0,pageViewType:"OTHER_SPACING"}]},{name:"Physics",showname:"",extend:[{name:"Track",showname:"",isShowAdd:!0,extend:[],isDump:!0,pageViewType:"TRACK"},{name:"Net Length Range",showname:"",isShowAdd:!0,extend:[],isDump:!0,pageViewType:"NET_LENGTH_RANGE"},{name:"Net Length Tolerance",showname:"",isShowAdd:!0,extend:[],isDump:!0,pageViewType:"NET_LENGTH_TOLERANCE"},{name:"Differential Pair",showname:"",isShowAdd:!0,extend:[],isDump:!0,pageViewType:"DIFFERENTAIL_PAIR"},{name:"Blind/Buried Via",showname:"",isShowAdd:!0,extend:[],isDump:!0,pageViewType:"BLIND_BURYING"},{name:"Via Size",showname:"",isShowAdd:!0,extend:[],isDump:!0,pageViewType:"APERTURE"}]},{name:"Plane",showname:"",extend:[{name:"Plane Zone",showname:"",isShowAdd:!0,extend:[],isDump:!0,pageViewType:"PLANE_ZONE"},{name:"Copper Zone",showname:"",isShowAdd:!0,extend:[],isDump:!0,pageViewType:"COPPER_ZONE"}]},{name:"Expansion",showname:"",extend:[{name:"Paste Mask Expansion",showname:"",isShowAdd:!0,extend:[],isDump:!0,pageViewType:"PASTE_MASK_EXP"},{name:"Solder Mask Expansion",showname:"",isShowAdd:!0,extend:[],isDump:!0,pageViewType:"SOLDER_MASK_EXP"}]}];var Weo={ergodicRuleMgrTreeMenuData(t={},e={}){let i=JSON.parse(JSON.stringify(e.designRulesCacheStorage)).Rule,o=!0;Vae.menuErgodic(t,(r,n)=>{if(!o)return;let a=n.split(Vae.HYPEN_TAG);if(a.length!==2)throw o=!1,{ret:-1,msg:"\u8BBE\u8BA1\u89C4\u5219\u540D\u79F0\u9519\u8BEF",detail:a};let l=i[a[0]][a[1]],d=e[a[0]][a[1]]||null;if(!d||!l)return!1;r.extend=[];let u=!1;if(Object.values(d).forEach((p,m)=>{delete p.pageViewType;let h=p.editName,f=h;p.isSetDefault&&(u=!0);let g=Mt(h+Math.random());r.extend.push({name:h,showname:f,id:g,showCheckbox:!0,checked:!0,selected:!1})}),delete r[Vae.NAME_PREFIX],!u)throw o=!1,{ret:-3,msg:"\u8BBE\u8BA1\u89C4\u5219\u4E0D\u5B58\u5728\u9ED8\u8BA4\u9879"}},!0)},exec(t={}){let i=JSON.parse(JSON.stringify({ruleManagerTreeMenuData:Yeo,ruleManagerContentData:{},netRuleTreeMenuData:Geo,netRuleContentData:{}})).ruleManagerTreeMenuData;return this.ergodicRuleMgrTreeMenuData(i,t||{}),i}};var kkt=L(Keo());var qD=L(z()),aXe=be.bind(kkt.default.locals),Dkr=[{text:"Confirm",type:"primary",style:{marginRight:"8px"},command:"confirm"},{text:"Cancel",command:"cancel"}];function Zeo(t){let{containerId:e,params:i}=t,{importRuleData:o,confirmCallback:r}=i,n=J();Ae(kkt.default);let[a,s]=(0,RY.useState)([]),[l,c]=(0,RY.useState)([]);(0,RY.useEffect)(()=>{try{hge(o,!1);let g=Weo.exec(o),b=d(g);s(b)}catch{Ut({type:"error",message:"Import failed! Incorrect file format!"}),le.close(e)}},[]);let d=(0,RY.useCallback)(g=>{var y,w;let b=new Array;for(let x of g){if(!x)continue;let S={id:x.id,title:x.showname,args:{checked:x.checked,name:x.name,showname:x.showname,showCheckbox:x.showCheckbox,isShowAdd:x.isShowAdd,__namePrefix:(y=x.__namePrefix)!=null?y:"",isDump:(w=x.isDump)!=null?w:!1}};x.extend&&(S.children=d(x.extend)),b.push(S)}return b},[]),u=(0,RY.useCallback)(g=>g.map(b=>{let y={id:b.id+"",name:b.args.name,showname:b.args.showname,showCheckbox:b.args.showCheckbox,checked:b.args.checked,isShowAdd:b.args.isShowAdd,__namePrefix:b.args.__namePrefix,isDump:b.args.isDump,extend:[]};return b.children&&(y.extend=u(b.children)),y}),[]),p=async(g,b)=>{switch(g.stopPropagation(),g.preventDefault(),b){case"close":case"cancel":le.close(e);break;case"confirm":{let y=u(a),w=!1,x=JSON.parse(JSON.stringify(o.designRulesCacheStorage)).Rule;Vae.menuErgodic(y,(S,T)=>{let M=T.split(Vae.HYPEN_TAG);if(M.length!==2)return;let A=x[M[0]][M[1]],E=o[M[0]][M[1]];if(!E||!A)return;let N=Object.keys(E),R=Object.keys(A),v=N.filter(k=>R.indexOf(k)>-1);v&&v.length&&(w=!0),N.forEach((k,P)=>{let O=S;if(S.extend&&S.extend.length>0&&S.extend.forEach(B=>{B.name===k&&(O=B)}),!O.checked)return;let _=JSON.parse(JSON.stringify(E[k]));A[k]||(_.isSetDefault=!1);let j=Object.values(A).find((B,V)=>B.isSetDefault);j&&j.editName===_.editName?_.isSetDefault=!0:_.isSetDefault=!1,A[k]=_})},!1),typeof r=="function"&&r({data:{RuleData:x,hasRepeat:w}},le.close.bind(null,e))}break}};function m(g,b){g!==b.args.checked&&(b.args.checked=g,b.children&&b.children.forEach(y=>{m(g,y)}))}function h(g){let b=!1;return g.forEach(y=>{let w=y.args.checked;y.children&&y.children.length>0&&(w=h(y.children)),y.args.checked=w,y.args.checked&&(b=!0)}),b}let f=(g,b)=>(0,qD.jsxs)(qD.Fragment,{children:[(0,qD.jsx)(qt,{style:{marginRight:"4px"},checked:g.args.checked,onChange:(y,w)=>{m(y,g),h(a)}}),(0,qD.jsx)("span",{children:g.title})]});return(0,RY.useEffect)(()=>{c(D_(a))},[a]),(0,qD.jsxs)("div",{className:aXe("pop-content-container"),style:{height:"100%"},id:e,children:[(0,qD.jsx)("div",{className:aXe("pop-content-wrapper"),children:(0,qD.jsx)("div",{"data-tagitem":"treemenu-container",className:aXe("tree-container"),style:{height:"100%",overflow:"auto"},children:(0,qD.jsx)(Bd,{extendIconType:"tree-extends-triangle",treeWidgetItemWidth:"15px",showTagLine:!1,showExpandBtn:!0,itemHeight:"25px",data:a,expandedIds:l,itemRender:f})})}),(0,qD.jsx)("div",{className:aXe("pop-footer-wrapper"),children:Dkr.map((g,b)=>(0,qD.jsx)(Me,{type:g.type,style:g.style,onClick:y=>p(y,g.command),children:g.text},`bottom-btn-${b}`))})]})}var qeo=L(z());async function Jeo(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i,l=t.confirmCallback;if(typeof l=="function"){delete t.confirmCallback;let d={importRuleData:{...JSON.parse(JSON.stringify(t))},confirmCallback:l};le.open({id:o,title:r,width:n,height:a,closed:s,esc:!0,children:(0,qeo.jsx)(Zeo,{containerId:o,params:d})})}}var Hae=L(Se());var XD=L(z()),Ekr=1e4,Akr=t=>{let{containerId:e,type:i,index:o,spacing:r,layer:n,unit:a="mm"}=t.params,s=document.getElementById(e),l=J(),c=(0,Hae.useMemo)(()=>HX.inputValueThreshold["Safe Spacing"],[]),d=(0,Hae.useMemo)(()=>HX.thresholdTips(a,c[a].min,c[a].max),[a]),[u,p]=(0,Hae.useState)(r||0);(0,Hae.useLayoutEffect)(()=>{s.querySelector("input").select()},[]);let m=async h=>{let f=ue.unitConversion.conversion("mil",a,Ekr),g={"modify-control-index":o,"modify-control-type":i,"modify-safe-spacing":Math.min(+u,f),"modify-control-layer":n};h==="confirm"&&await C.messageBus.publish("modifySafeSpacing",g),le.close()};return Bt(({code:h})=>{h==="Escape"&&m("cancel"),["Enter","NumpadEnter"].includes(h)&&m("confirm")}).keyboard(e),(0,XD.jsxs)("div",{className:"pop-content-container",children:[(0,XD.jsx)("div",{className:"pop-content-wrapper",style:{padding:"15px 20px"},children:(0,XD.jsxs)("div",{className:"display-flex flex-main-axis-start flex-lateral-axis-start flex-nowrap",style:{width:"100%"},children:[(0,XD.jsx)("div",{className:"left txt_title f14",style:{flex:"0 0 85px",paddingTop:"4px"},children:(0,XD.jsx)("span",{title:l("Safe Spacing"),"data-test":"Safe Spacing",children:l("Safe Spacing")})}),(0,XD.jsxs)("div",{className:"left txt_value",style:{padding:"0 10px",width:"100%"},children:[(0,XD.jsx)(or,{value:u,inputUnit:a,originUnit:a,hiddenUnit:!0,onChange:h=>p(Math.abs(+h))}),(0,XD.jsx)("div",{style:{padding:"10px 0",textAlign:"left",color:_e.HEX_GRAY_COLOR3},children:d})]})]})}),(0,XD.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,XD.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>m("confirm"),children:"Confirm"}),(0,XD.jsx)(Me,{onClick:()=>m("cancel"),children:"Cancel"})]})]})},Xeo=Akr;var eto=L(z());async function $eo(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,children:(0,eto.jsx)(Xeo,{params:{...t,containerId:o}})})}var $X=L(Se());var lXe=L(ito());async function oto(t,e){let i={code:0,message:""},o=e["input-value"];switch(t){case 0:return i;case 1:{let r=+o;return isNaN(r)?(i.code=-1,i.message=me.i18n("invalid value"),i):(r<=0&&(i.code=-1,i.message=me.i18n("Please enter a value not less than {value}!",{value:"0"})),i)}default:}return i}function rto(t,e){if(Array.from(t).length<=0)return null;let i={},o="";for(let r=0;r<t.length;r++)if(t[r])switch(t[r].blur(),String(t[r].type)){case"undefined":{t[r].hasAttribute("data-value")&&(o=t[r].getAttribute(e)||e,i[o]=t[r].getAttribute("data-value"));continue}case"submit":case"reset":case"file":case"button":continue;case"select-one":case"select-multiple":{for(let n=0;n<t[r].options.length;n++){let a=t[r].options[n],s="";a.selected&&(s=a.value||a.text,o=t[r].getAttribute(e)?t[r].getAttribute(e):t[r].name,o&&(i[o]=s))}break}case"checkbox":{o=t[r].getAttribute(e)?t[r].getAttribute(e):t[r].name,o&&(i[o]=t[r].checked);break}case"radio":if(!t[r].checked)break;default:if(o=t[r].getAttribute(e)?t[r].getAttribute(e):t[r].name,o){let n=t[r],a=n.nextElementSibling&&n.nextElementSibling.getAttribute("data-tagitem-span")=="unit"?n.nextElementSibling.innerText.replace(/\s/g,""):null,s=n.getAttribute("data-unit"),l=n.getAttribute("precise-value")||n.value;i[o]=t[r].getAttribute("data-attritem-type")=="extend-number"?j9(ul(l,a||s),a||s):l}}return i}var f5=L(z());var Nkr=({fromType:t,forms:e,containerId:i,dialogId:o,maxLen:r,verificationType:n=0,onConfirm:a=null,onCancel:s=null,onClose:l=null,dontClose:c=!1})=>{let d=document.getElementById(i);Ae(lXe.default);let u=be.bind(lXe.default.locals),p=J();(0,$X.useLayoutEffect)(()=>{setTimeout(()=>{let b=e[0].inputStatus,y=d.querySelectorAll("input");y&&(b==="selectAll"&&y[0]&&y[0].select(),b==="focus"&&y[0]&&y[0].focus())},100)},[]);let m=async g=>{let b=!c,y=f();if(g==="confirm"){let w=await oto(n,y);if(w.code!==0){De({type:"error",msg:w.message});return}}switch(g){case"confirm":{a&&(b=await a({forms:y}));break}case"cancel":{s&&(b=await s({forms:y}));break}case"close":{l&&(b=await l({forms:y}));break}}if(t==="listen"){await oo({action:g,dialogId:o,formData:g==="confirm"?y:{}});let w=a||s||l;b&&w?le.destroy(i):w||le.close(i)}else C.messageBus.publish("commonly_value_input_dialog_btn_event",{action:g,data:{action:g,data:g==="confirm"?{formData:f()}:{}}})},h=()=>{let g=d.querySelectorAll("[data-attritem-input]");return Array.from(g)},f=()=>rto(h(),"data-attritem-input");return Bt(()=>{m("close")}).close(i),Bt(({key:g})=>{g==="Enter"&&m("confirm"),g==="Escape"&&m("cancel")}).keyboard(i),(0,f5.jsxs)("div",{className:u("container"),children:[(0,f5.jsx)(kkr,{verificationType:n,forms:e,containerId:i,maxLen:r}),(0,f5.jsxs)("div",{className:u("footer"),children:[(0,f5.jsx)(Me,{type:"primary",onClick:()=>m("confirm"),children:"Confirm"}),(0,f5.jsx)(Me,{onClick:()=>m("cancel"),children:"Cancel"})]})]})},kkr=({forms:t,containerId:e,maxLen:i,verificationType:o=0})=>{let r=document.getElementById(e),n=be.bind(lXe.default.locals),a=J(),s=m=>{let h=[];if(m.title=="Layer"&&m.options)for(let f=0;f<m.options.length;f++){let g=m.options[f];h.push({...g,dataTest:g.title,text:Gm(g.title),showOriginalText:!0})}return h},l=m=>m.tips?"number":!m.type||m.type==="input"?"text":m.type,c=m=>{let h=g=>typeof g=="number"&&g%1===0,f=m.value||"";return typeof f=="number"&&!h(f)&&(f=["mm","mil"].includes(m.tips)?fo(f,m.tips):f.toFixed(3)),f},d=m=>{let h=m;h=h.replace(/。/g,"."),h=h.replace(Kyi,"");let f=h.split(".");return f.length>2&&(h=f[0]+"."+f.slice(1).join("")),h.startsWith(".")&&(h="0"+h),h},u=(0,$X.useCallback)(({item:m})=>{let[h,f]=(0,$X.useState)(c(m)),g=b=>{let w=b.target.value;if(o===1){f(d(w));return}f(w)};return(0,f5.jsx)("input",{"data-attritem-input":m.key,name:m.key,type:"text",value:h,"data-unit":m.tips,"data-attritem-type":l(m)=="number"?"extend-number":"",maxLength:i||-1,style:{width:"100%"},autoComplete:"off",onFocus:b=>b.target.select(),onInput:g,onBlur:b=>{if(l(m)=="number"){let y=ul(b.target.value,m.tips);if(isNaN(y))f(b.target.getAttribute("oldval"));else if(["mm","mil"].includes(m.tips)){let w=j9(y,m.tips);b.target.setAttribute("precise-value",w.toString());let x=fo(y,m.tips).toString();b.target.setAttribute("oldval",x),f(x)}else f(y)}else!b.target.value&&!m.allowEmpty&&f(b.target.getAttribute("oldval"))}})},[]),p=(0,$X.useCallback)(({item:m})=>{let h=s(m),[f,g]=(0,$X.useState)(m.value||(h[0]?h[0].value:void 0)||"");return(0,f5.jsx)(xt,{htmlAttrs:{"data-attritem-input":"input-value"},list:h,value:f,onChange:b=>{g(b)},name:m.key,containerStyle:{height:"24px"},optionsAutoWidth:!0})},[]);return(0,f5.jsx)("div",{className:n("body"),children:t.map((m,h)=>(0,f5.jsxs)("div",{className:n("content"),children:[(0,f5.jsx)("span",{className:n("title",{hidden:!m.title}),title:a(m.title),"data-test":m.title,children:a(m.title)}),(0,f5.jsxs)("div",{style:{width:"100%"},children:[!["select"].includes(m.type)&&(0,f5.jsx)(u,{item:m}),["select"].includes(m.type)&&(0,f5.jsx)(p,{item:m})]}),(0,f5.jsx)("div",{className:n("tips",{hidden:!m.tips}),children:a(m.tips)})]},h))})},nto=Nkr;var sto=L(z());async function ato(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;t.forms.forEach(s=>{if(s.type==="select"&&s.title==="Layer"&&Array.isArray(s.options)){let l=s.options.map(c=>({option:c,layerId:c.value}));eq(l),s.options=l.map(c=>c.option)}}),await le.open({id:o,title:r,width:n,closed:a,children:(0,sto.jsx)(nto,{fromType:t.fromType,containerId:o,dialogId:t.dialogId,maxLen:t.maxLen,forms:t.forms,verificationType:t.verificationType,onConfirm:t.onConfirm,onCancel:t.onCancel,onClose:t.onClose,dontClose:t.dontClose})})}var jY=L(Se());var Pkt=L(cto());var _Y=L(z()),{locals:dto}=Pkt.default,Pkr=t=>{let e=J(),{containerId:i,dialogId:o,onDialogOpen:r,onDialogCancel:n,onDialogClose:a,onDialogConfirm:s,onDialogClosed:l}=t,c=(0,jY.useRef)(null),d=(0,jY.useRef)(null),u=(0,jY.useRef)(null),p=(0,jY.useRef)({});p.current={};let[m,h]=(0,jY.useState)(!0),f=`pop-content-wrapper display-flex flex-nowrap ${dto["main-container"]}`,g=`pop-footer-wrapper ${dto["dialog-btns-wrapper"]}`,b=async x=>{if(x==="confirm"){if(y())return;let S=da.getSubmitDataForDialog("CUSTOM_DIALOG");if(!S){Dt({content:me.i18n("System error!")});return}let T={stamp:new Date().getTime(),...S};s&&await s(T);let M=Xi();C.windowBridge.publish("pcbdialogClose",T,M.contentWindow)}x==="cancel"&&n&&n(),await oo({action:x,dialogId:o,formData:{}}),a&&a(),le.close(i)};function y(){var T,M,I;let x=da.mapBlendedData.CUSTOM_DIALOG.attrlist;if(((M=(T=x==null?void 0:x["2DLINE"])==null?void 0:T["attr-2dline-type"])==null?void 0:M.value)!=="Copper Region")return!1;let S=(I=da.mapBlendedData.CUSTOM_DIALOG.extra)==null?void 0:I.pourNames;if(S&&x["2DLINE"]&&x["2DLINE"]["attr-2dline-name"]){let A=x["2DLINE"]["attr-2dline-name"].value;if(new Set(S).has(A))return!0}return!1}(0,jY.useLayoutEffect)(()=>{r&&r();let{blendedData:x,primitiveTypeList:S}=t,{tabid:T,doctype:M,primitive:I}=x;return x.status={[I[0]]:!0},x.callScene="CUSTOM_DIALOG",x.extra={...x.extra,dialogId:t.dialogId,action:t.action,fromType:t.fromType},ET.closeProjectAttrPanel(),u.current=C.messageBus.subscribe("ui/groupCollapseChange",function(A){A.callScene==="CUSTOM_DIALOG"&&(p.current[A.title]=A)}),Aq(t).then(A=>{da.update(A,x.callScene),c.current||(c.current=C.messageBus.subscribe("updateDialogAttrView",D=>{D.action==="attribute-for-2dline"&&(D.blendedData.callScene="CUSTOM_DIALOG",D.blendedData.extra={...D.blendedData.extra,dialogId:t.dialogId,action:t.action,fromType:t.fromType},Aq(D).then(E=>{for(let N=0;N<E.groups.length;N++)E.groups[N].collapsed=(p.current[E.groups[N].title]?p.current[E.groups[N].title].status:"open")!=="open";da.update(E,x.callScene)}))})),d.current||(d.current=C.messageBus.subscribe("closeDialogAttrView",D=>{D.action==="attribute-for-2dline"&&le.close()})),window.setTimeout(()=>{h(!1)},300)}),()=>{c.current&&(c.current.cancel(),c.current=void 0),d.current&&(d.current.cancel(),d.current=void 0),u.current&&(u.current.cancel(),u.current=void 0),p.current=void 0,l&&l(),da.destoryCacheData("CUSTOM_DIALOG")}},[]),Bt(x=>{(x==null?void 0:x.code)==="Escape"&&b("cancel")}).keyboard(i),Bt(()=>{b("cancel")}).close(i),Bt(({key:x})=>{x==="Enter"&&b("confirm")}).keyboard(i);let w=x=>{let S=Object.keys(x)[0],T={[S]:x[S].value};oo({action:"apply",dialogId:o,formData:T})};return(0,_Y.jsxs)("div",{className:"pop-content-container",children:[(0,_Y.jsx)("style",{children:String(Pkt.default)}),(0,_Y.jsx)("div",{className:f,children:(0,_Y.jsx)(Cpe,{onChange:w,callScene:"CUSTOM_DIALOG"})}),(0,_Y.jsxs)("div",{className:g,children:[(0,_Y.jsx)(Me,{"data-test":"Confirm",disabled:m,type:"primary",style:{marginRight:"8px"},onClick:()=>b("confirm"),children:"Confirm"}),(0,_Y.jsx)(Me,{"data-test":"Cancel",onClick:()=>b("cancel"),children:"Cancel"})]})]})},uto=Pkr;var mto=L(z());async function pto(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;return le.open({id:o,title:r,width:n,closed:a,folded:!1,children:(0,mto.jsx)(uto,{containerId:o,dialogId:t.dialogId,...t})}),le}var $D=L(Se());var dz=L(Se());var _kt=L(Okt());var e$=L(z()),Rkt=be.bind(_kt.default.locals);function fto(t){let{id:e,width:i,height:o,url:r,status:n,deleteImageCallback:a}=t,s=J();Ae(_kt.default);let{window:l}=(0,dz.useContext)(_r),[c,d]=(0,dz.useState)(!1),u=(0,dz.useMemo)(()=>n.includes("%")?n:s(cD.itemUploadStateHashtable[n]||cD.defaultItemUploadStateText),[n]),p=(0,dz.useMemo)(()=>n==="uploadfail",[n]),m=(0,dz.useCallback)(g=>{g.stopPropagation(),d(!0)},[d]),h=(0,dz.useCallback)(g=>{g.stopPropagation(),d(!1)},[d]),f=g=>{g.stopPropagation(),l.confirm(s("Are you sure you want to delete?"))&&a(e)};return(0,e$.jsxs)("div",{className:Rkt("image-item"),"data-tagitem-imgid":"${itemData.id}","data-tagitem":"image-item",onMouseOver:m,onMouseLeave:h,style:{width:i+"px",height:o+20+"px"},children:[(0,e$.jsx)("input",{"data-tagitem":"removte-image-url",value:"${itemData.status === 'uploaded' ? itemData.url : ''}",type:"hidden",name:"removte-image-url"}),(0,e$.jsx)("input",{"data-tagitem":"removte-image-name",value:"${itemData.status === 'uploaded' ? itemData.name : ''}",type:"hidden",name:"removte-image-name"}),(0,e$.jsx)("img",{src:r||"","data-tagitem":"image-item-img",style:{width:i+"px",height:o+"px"}}),(0,e$.jsx)("div",{"data-tagitem":"image-item-status",className:Rkt("status-text"),style:{color:p?"red":""},children:u}),(0,e$.jsx)("span",{"data-tagitem":"image-item-delete",className:Rkt("delete-btn"),style:{display:c?"block":"none"},onClick:f,children:"X"})]})}var jkt=L(Okt());async function gto(t){return new Promise((e,i)=>{let o=new FileReader;o.onload=function(r){let n=new Image;n.onload=function(a){e({ret:0,data:n.src,msg:"",image:n})},n.onerror=function(a){i({ret:-1,data:null,msg:"Read Image File Error"})},n.src=r.target.result},o.onerror=function(r){i({ret:-1,data:null,msg:"Read File Error"})},o.readAsDataURL(t)})}var ix=L(z()),t$=be.bind(jkt.default.locals),Okr=[{text:"Upload",type:"primary",style:{marginRight:"8px"},command:"upload"},{text:"Confirm",type:"primary",style:{marginRight:"8px"},command:"confirm"},{text:"Cancel",command:"cancel"}];function Bkt(t){let{containerId:e,params:i}=t,o=J();Ae(jkt.default);let[r,n]=(0,$D.useState)({upload:!0,confirm:!0,cancel:!1}),[a,s]=(0,$D.useState)(!1),[l,c]=(0,$D.useState)(cD.itemUploadStateHashtable.upload),[d,u]=(0,$D.useState)(0),[p,m]=(0,$D.useState)([]),h=(0,$D.useRef)(null);(0,$D.useEffect)(()=>{i.uploadName||(i.uploadName="upload-file-name"),i.imageItemSize||(i.imageItemSize={width:cD.defaultImageItemSize.width,height:cD.defaultImageItemSize.heigth});let M=(i.imageList||[]).map(I=>({id:typeof I.id<"u"?I.id:Mt(Math.random()+""),remoteUrl:I.url||"",status:"uploaded",...I}));m(M),u(f(M).length)},[]);let f=(0,$D.useCallback)(M=>M.filter(I=>I.status==="uploaded")||[],[]),g=M=>{let I=d===f(M).length;n(A=>(A.confirm=I,{...A}))},b=M=>{let I=!M.some((D,E)=>D.status==="wupload"||D.status==="uploadfail"),A=!!M.some((D,E)=>D.status==="uploadfail");n(D=>(D.upload=I,{...D})),c(A?cD.itemUploadStateHashtable.reupload:cD.itemUploadStateHashtable.upload)},y=async M=>{switch(M){case"close":case"cancel":le.close(e);break;case"upload":T();break;case"confirm":if(typeof i.confirmCallback=="function"){let I=`${window.location.origin}`,A=p.filter(D=>D.status==="uploaded").map((D,E)=>{let N=D.remoteUrl;return N.indexOf(I)<=-1?{...D,fullRemoteUrl:I+N}:{...D,fullRemoteUrl:N}});i.confirmCallback(A,le.close.bind(null,e))}break}},w=M=>{let I=p.filter(A=>A.id!==M);m(I),g(I),b(I)},x=(0,$D.useCallback)(M=>{M.stopPropagation(),h.current&&h.current.click()},[h.current]),S=async M=>{let I=M.target.files;if(!I)return;let A=[],D=i.maxNumber-p.length;for(let N=0;N<I.length&&!(N>=D);N++){let R=await gto(I[N]),v=Mt(String(N));A.push({id:v,name:v,url:R.data,status:"wupload",remoteUrl:"",__file:I[N]})}M.target.value="";let E=[...p,...A];m(E),b(E)},T=async()=>{var I;s(!0),c(cD.itemUploadStateHashtable.uploading);let M=!1;for(let A=0;A<p.length;A++){let D=p[A];if(["wupload","uploadfail"].includes(D.status)){let E=new FormData;E.append(i.uploadName,D.__file,D.__file.name);try{let R=(await EUe(E,function(v){let k=v.total,P=v.loaded;D.status=P/k*100+"%",m([...p])})).data;if(R){let v=R.url||((I=R.result)==null?void 0:I.url);if(!v)throw new Error(R);let k=DUe(v);D.status="uploaded",D.remoteUrl=v,k&&(D.name=k)}}catch(N){D.status="uploadfail",M=!0,F8i(N.xhr);continue}}}s(!1),n({upload:!0,confirm:!1,cancel:!1}),c(cD.itemUploadStateHashtable.upload),M&&b(p)};return(0,ix.jsxs)("div",{className:t$("pop-content-container"),style:{height:"100%"},id:e,children:[(0,ix.jsx)("div",{className:t$("pop-content-wrapper"),children:(0,ix.jsx)("div",{style:{width:"100%",height:"100%",overflow:"hidden"},children:(0,ix.jsx)("section",{className:t$("display-flex flex-direct-column flex-main-axis-start"),style:{width:"100%",height:"100%",overflow:"auto"},children:(0,ix.jsxs)("div",{children:[(0,ix.jsx)("div",{"data-tagitem":"images-list",style:{display:"inline-block",clear:"both"},children:p.map(M=>(0,ix.jsx)(fto,{id:M.id,width:i.imageItemSize.width,height:i.imageItemSize.height,url:M.url,status:M.status,deleteImageCallback:w},M.id))}),(0,ix.jsxs)("div",{"data-tagitem":"add-one-tag",className:t$("add-one-tag"),style:{display:p.length>=i.maxNumber?"none":"inline-block"},onClick:x,children:[(0,ix.jsx)("input",{type:"file",name:"image-upload",accept:"image/*",className:t$("upload-input"),multiple:!0,ref:h,onChange:S}),(0,ix.jsx)("span",{children:"+"})]})]})})})}),(0,ix.jsxs)("div",{className:t$("pop-footer-wrapper"),children:[(0,ix.jsxs)("div",{className:t$("display-flex flex-direct-row flex-main-axis-start"),style:{width:"100%"},children:[(0,ix.jsx)("div",{"data-tagitem":"upload-status",style:{paddingRight:"10px"},children:`\u5DF2\u9009 ${p.length} \u5F20, \u6700\u591A\u53EF\u9009 ${i.maxNumber} \u5F20`}),(0,ix.jsx)("div",{"data-tagitem":"upload-progress",style:{paddingLeft:"10px"}})]}),Okr.map((M,I)=>(0,ix.jsx)(Me,{type:M.type,style:M.style,disabled:r[M.command],class:a?t$("pointer-events-none"):"",onClick:()=>y(M.command),children:M.command==="upload"?o(l):o(M.text)},`bottom-btn-${I}`))]})]})}var yto=L(z());async function bto(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;le.open({id:o,title:r,width:n,height:a,closed:s,esc:!0,children:(0,yto.jsx)(Bkt,{containerId:o,params:t})})}var pXe=L(Se());var zkt=L(Cto()),BY=L(z()),Rkr=t=>{let{containerId:e,dialogId:i,number:o}=t;Ae(zkt.default);let r=J(),n=be.bind(zkt.default.locals),[a,s]=(0,pXe.useState)(o);async function l(d){await oo({action:d,dialogId:i,formData:d==="confirm"?{"attr-x":"0","attr-y":"0",number:a.toString().toUpperCase()}:{}}),le.close(e)}(0,pXe.useEffect)(()=>{setTimeout(()=>{document.querySelector(`#${e} input`).focus()},300)},[]);let c=d=>{let u=d.trim();u=u.replace(/[^0-9\a-\z\A-\Z\?]/gi,""),s(u)};return Bt(d=>{d&&(d.code==="Escape"&&l("close"),["Enter","NumpadEnter"].includes(d.code)&&l("confirm"))}).keyboard(e),Bt(()=>{l("close")}).close(e),(0,BY.jsxs)("div",{className:n("container"),children:[(0,BY.jsxs)("div",{className:n("content"),children:[(0,BY.jsx)("span",{className:n("title"),title:r("Number"),"data-test":"Number",children:r("Number")}),(0,BY.jsx)(Kt,{type:"text",value:String(a),selected:!0,focusTriggerSelect:!0,onChange:c})]}),(0,BY.jsxs)("div",{className:n("footer"),children:[(0,BY.jsx)(Me,{type:"primary",onClick:()=>l("confirm"),children:"Confirm"}),(0,BY.jsx)(Me,{onClick:()=>l("cancel"),children:"Cancel"})]})]})},xto=Rkr;var Sto=L(z());async function Tto(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;await le.open({id:o,title:r,width:n,closed:a,children:(0,Sto.jsx)(xto,{containerId:o,dialogId:t.dialogId,number:t.number})})}var Lto=L(Se()),vto=L(Fkt());var Ukt=class extends qe{constructor(){super(...arguments);this._range="allItems";this._allItemsAttrList=[];this._selectedItemsAttrList=[{text:"Designator",value:"Designator",_selected:!0}];this._positionList=[];this._list=[{text:"Designator",value:"Designator",_selected:!0}]}get range(){return this._range}set range(i){this._range=i,this.notify()}get allItemsAttrList(){return this._allItemsAttrList}set allItemsAttrList(i){this._allItemsAttrList=i,this.notify()}get selectedItemsAttrList(){return this._selectedItemsAttrList}set selectedItemsAttrList(i){this._selectedItemsAttrList=i,this.notify()}get positionList(){return this._positionList}set positionList(i){this._positionList=i,this.notify()}get selectedAttr(){return this._selectedAttr}set selectedAttr(i){this._selectedAttr=i,this.notify()}get selectedPosition(){return this._selectedPosition}set selectedPosition(i){this._selectedPosition=i,this.notify()}get list(){return this._list}set list(i){this._list=i,this.notify()}refreshDialog(i){this._range=i.range,this._allItemsAttrList=i.allItemsAttrList||[{text:"Designator",value:"Designator",_selected:!0}],this._selectedItemsAttrList=i.selectedItemsAttrList||[{text:"Designator",value:"Designator",_selected:!0}],this._positionList=i.positionList,this._selectedPosition=i.selectedPosition,this._selectedAttr=i.selectedAttr||"Designator",this._list=this._range==="allItems"?this._allItemsAttrList:this._selectedItemsAttrList,this.notify()}update(i){var o;if(i.selectedItemsAttrList!==void 0){this._selectedItemsAttrList=i.selectedItemsAttrList;let n=(i==null?void 0:i.selectedItemsAttrList.length)>0?"selectedItems":"allItems",a=n==="selectedItems"?this.selectedItemsAttrList||[{text:"Designator",value:"Designator",_selected:!0}]:this.allItemsAttrList,s=((o=a==null?void 0:a[0])==null?void 0:o.value)||"Designator";this.selectedAttr=s,this.list=a,this.range=n,this.notify()}}},Ch=new Ukt;var Gae=L(z());function _kr(){Ae(vto.default);let t=J();return Ce(Ch),(0,Gae.jsxs)(Gae.Fragment,{children:[(0,Gae.jsx)("span",{"data-test":"Range:",children:t("Range:")}),(0,Gae.jsx)($i,{value:Ch.range,options:[{value:"selectedItems",label:"Only selected components"},{value:"allItems",label:"All components"}],onChange:e=>{Ch.range=e}})]})}var Dto=Lto.default.memo(_kr);var Eto=L(Se());var Yae=L(z());function jkr(){let t=J();return Ce(Ch),(0,Yae.jsxs)(Yae.Fragment,{children:[(0,Yae.jsxs)("span",{title:t("Property/Property Value"),"data-test":"Property/Property Value",children:[t("Property/Property Value"),":"]}),(0,Yae.jsx)(xt,{dataTest:"property-value",searchable:!0,value:Ch.selectedAttr,list:Ch.list.map(e=>({text:e.text||e.value,value:e.value,_selected:e._selected})),onChange:e=>{Ch.selectedAttr=e}})]})}var Ato=Eto.default.memo(jkr);var Nto=L(Se());var Wae=L(z());function Bkr(){let t=J();return Ce(Ch),(0,Wae.jsxs)(Wae.Fragment,{children:[(0,Wae.jsxs)("span",{title:t("Property Position"),"data-test":"Property Position",children:[t("Property Position"),":"]}),(0,Wae.jsx)(xt,{dataTest:"text-position",list:Ch.positionList,value:Ch.selectedPosition,onChange:e=>{Ch.selectedPosition=e}})]})}var kto=Nto.default.memo(Bkr);var Vkt=L(Fkt());var Pto=L(Se());var yge=L(z());function zkr(t){Ae(Vkt.default);let{locals:e}=Vkt.default,i=be.bind(e);return Ce(Ch),(0,Pto.useEffect)(()=>{let o=C.messageBus.subscribe("pcbAttrUpdate",r=>{Ch.update(r)});return()=>{o.cancel()}}),(0,yge.jsxs)("div",{className:i("container"),children:[(0,yge.jsx)(Dto,{}),(0,yge.jsx)(Ato,{}),(0,yge.jsx)(kto,{})]})}var Oto=zkr;var Rto=(function(){return[{text:"Top",value:"top"},{text:"Bottom",value:"bottom"},{text:"Left",value:"left"},{text:"Right",value:"right"},{text:"Center",value:"center"},{text:"Left-Top",value:"lefttop"},{text:"Left-Bottom",value:"leftbottom"},{text:"Right-Top",value:"righttop"},{text:"Right-Bottom",value:"rightbottom"}]})();var zY=L(z());async function Hkt(t={},e){let{containerId:i,title:o,width:r,closed:n}=bt[e],a="Apply",s=u=>{oo({action:u,dialogId:t.dialogId,formData:{"property-value":Ch.selectedAttr,"text-position":Ch.selectedPosition,radio:Ch.range}}),u==="confirm"&&le.close(i)},l="Confirm",c="Cancel",d=()=>{le.close(i)};le.open({id:i,title:o,width:r,closed:n,remove:!0,mask:!1,children:(0,zY.jsx)(Oto,{onButtonClicked:s}),footer:(0,zY.jsxs)(zY.Fragment,{children:[(0,zY.jsx)(Me,{"data-test":"Apply",type:"primary",onClick:()=>s("apply"),children:a}),(0,zY.jsx)(Me,{"data-test":"Confirm",type:"primary",onClick:()=>s("confirm"),children:l}),(0,zY.jsx)(Me,{"data-test":"Cancel",onClick:()=>d(),children:c})]}),openCallback:()=>{var S,T,M;let p=(t==null?void 0:t.selectedItemsAttrList.length)>0?"selectedItems":"allItems",m=Rto,h=(S=t==null?void 0:t.allItemsAttrList)==null?void 0:S.map(I=>({value:I.value,text:I.title})),f=(T=t==null?void 0:t.selectedItemsAttrList)==null?void 0:T.map(I=>({value:I.value,text:I.title})),g=Ch.range==="allItems"?Ch.allItemsAttrList:Ch.selectedItemsAttrList,b=m[0].value,y=((M=g==null?void 0:g[0])==null?void 0:M.value)||"Designator",x=(t.extra||{}).designatorRelativePostion;x&&(b=x,Ft(m,"value",x).index<0&&m.unshift({text:x,value:x})),Ch.refreshDialog({range:p,allItemsAttrList:h,selectedItemsAttrList:f,positionList:m,selectedAttr:y,selectedPosition:b,list:[]})}})}var wge=L(Se());var Gkt=L(jto());var FY=L(z()),{locals:Bto}=Gkt.default,Fkr=t=>{let e=J(),{containerId:i,dialogId:o,onDialogOpen:r,onDialogCancel:n,onDialogClose:a,onDialogConfirm:s,onDialogClosed:l}=t,c=(0,wge.useRef)(null),d=(0,wge.useRef)(null),u=(0,wge.useRef)({});u.current={};let p=`pop-content-wrapper display-flex flex-nowrap ${Bto["main-container"]}`,m=`pop-footer-wrapper ${Bto["dialog-btns-wrapper"]}`,h=async g=>{if(g==="confirm"){let b=da.getSubmitDataForDialog("CUSTOM_DIALOG");if(!b){Dt({content:me.i18n("System error!")});return}let y={stamp:new Date().getTime(),...b};s&&await s(y);let w=Xi();C.windowBridge.publish("pcbdialogClose",y,w.contentWindow)}g==="cancel"&&n&&n(),await oo({action:g,dialogId:o,formData:{}}),a&&a(),le.close()};(0,wge.useLayoutEffect)(()=>{r&&r();let{blendedData:g,primitiveTypeList:b}=t,{tabid:y,doctype:w,primitive:x}=g;return g.status={[x[0]]:!0},g.callScene="CUSTOM_DIALOG",g.extra={...g.extra,dialogId:t.dialogId,action:t.action,fromType:t.fromType},ET.closeProjectAttrPanel(),d.current=C.messageBus.subscribe("ui/groupCollapseChange",function(S){S.callScene==="CUSTOM_DIALOG"&&(u.current[S.title]=S)}),Aq(t).then(S=>{da.update(S,g.callScene),c.current||(c.current=C.messageBus.subscribe("updateDialogAttrView",T=>{T.action==="attribute-for-pad"&&(T.blendedData.callScene="CUSTOM_DIALOG",T.blendedData.extra={...T.blendedData.extra,dialogId:t.dialogId,action:t.action,fromType:t.fromType},Aq(T).then(M=>{for(let I=0;I<M.groups.length;I++)M.groups[I].collapsed=(u.current[M.groups[I].title]?u.current[M.groups[I].title].status:"open")!=="open";da.update(M,g.callScene)}))}))}),()=>{c.current&&(c.current.cancel(),c.current=null),l&&l(),da.destoryCacheData("CUSTOM_DIALOG")}},[]);let f=g=>{let b=Object.keys(g)[0],y={[b]:g[b].value};oo({action:"apply",dialogId:o,formData:y})};return Bt(({key:g})=>{g==="Enter"&&h("confirm")}).keyboard(i),(0,FY.jsxs)("div",{className:"pop-content-container",children:[(0,FY.jsx)("style",{children:String(Gkt.default)}),(0,FY.jsx)("div",{className:p,children:(0,FY.jsx)(Cpe,{onChange:f,callScene:"CUSTOM_DIALOG"})}),(0,FY.jsxs)("div",{className:m,children:[(0,FY.jsx)(Me,{"data-test":"Confirm",type:"primary",style:{marginRight:"8px"},onClick:()=>h("confirm"),children:"Confirm"}),(0,FY.jsx)(Me,{"data-test":"Cancel",onClick:()=>h("cancel"),children:"Cancel"})]})]})},zto=Fkr;var Uto=L(z());async function Fto(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;return le.open({id:o,title:r,width:n,closed:a,esc:!0,folded:!1,children:(0,Uto.jsx)(zto,{containerId:o,dialogId:t.dialogId,...t})}),le}var Qae=L(Se());var Vto=[{key:"outerDiameter",name:"Outer Diameter"},{key:"innerDiameter",name:"Inner Diameter"}];var Ykt=L(Gto());var g5=L(z()),Ukr=t=>{let{containerId:e,unit:i,attrNet:o,dialogId:r,innerDiameter:n,outerDiameter:a,needSelectNet:s,isTestPad:l}=t.params,{netList:c=[]}=t.params;Ae(Ykt.default);let d=(0,Qae.useRef)(null),u=J(),p=be.bind(Ykt.default.locals),[m,h]=(0,Qae.useState)({attrNet:o,outerDiameter:a,innerDiameter:n}),f=(0,Qae.useRef)(null);f.current=m,ZPe(d);let g=(0,Qae.useMemo)(()=>ue.naturalSort(c||[],"value").map(T=>(T.showOriginalText=!0,T)),[]),b=async S=>{let T={};if(l)T={net:m.attrNet};else{let M=S==="confirm"&&io(f.current.outerDiameter,i,"pixel")/2,I=S==="confirm"&&io(f.current.innerDiameter,i,"pixel")/2;T={net:f.current.attrNet,radius:M,holeRadius:I}}await oo({action:S,dialogId:r,formData:S==="confirm"?T:{}}),le.close(e)},y=S=>{let T=S.target;if(S.keyCode===13){let M=ul(T.value,i);!isNaN(M)&&M>0&&(T.blur(),window.setTimeout(()=>{b("confirm")},50))}},w=S=>{let T=S.target;S.keyCode===13&&(T.blur(),window.setTimeout(()=>{b("confirm")},50))},x=S=>S.replace(/[\u4e00-\u9fa5]/gi,"");return Bt(()=>{b("close")}).close(e),Bt(({code:S})=>{S==="Escape"&&b("close")}).keyboard(e),(0,g5.jsxs)("div",{className:p("container"),style:{height:"auto"},children:[(0,g5.jsxs)("div",{className:p("content"),ref:d,children:[(s||l)&&(0,g5.jsxs)("div",{className:p("content-item"),children:[(0,g5.jsx)("label",{className:p("form-label"),"data-test":"Net:",children:u("Net:")}),(0,g5.jsx)(j2,{selectList:VHe(g).map(S=>S.value),showDropDownIcon:!0,value:m.attrNet,onKeyDown:w,inputFilterAction:x,onChange:S=>{h({...m,attrNet:S.toLocaleUpperCase()})}})]}),!l&&(0,g5.jsx)(g5.Fragment,{children:Vto.map(S=>(0,g5.jsxs)("div",{className:p("content-item"),"data-test":S.name,children:[(0,g5.jsx)("label",{className:p("form-label"),"data-test":S.name,children:u(S.name)}),(0,g5.jsx)(or,{positive:!0,value:m[S.key],originUnit:i,inputUnit:i,onKeyDown:y,onChange:T=>{h({...m,[S.key]:T})}})]},S.key))})]}),(0,g5.jsxs)("div",{className:p("footer"),children:[(0,g5.jsx)(Me,{type:"primary",onClick:()=>b("confirm"),children:"Confirm"}),(0,g5.jsx)(Me,{onClick:()=>b("cancel"),children:"Cancel"})]})]})},Yto=Ukr;var Qto=L(z());async function Wto(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;await le.open({id:o,title:(t==null?void 0:t.title)||r,width:n,closed:a,children:(0,Qto.jsx)(Yto,{params:{...t,containerId:o}})})}var Kae=L(Se());var Kto=[{key:"attr-via-general-outerdiameter",name:"Outer Diameter"},{key:"attr-via-general-innerdiameter",name:"Inner Diameter"},{key:"attr-spacing",name:"Spacing"},{key:"attr-row-spacing",name:"Row Spacing"},{key:"attr-col-spacing",name:"Column Spacing"}];var Wkt=L(Jto());var Sy=L(z()),k7=null,Vkr=t=>{let{containerId:e,dialogId:i,attrNet:o="",netList:r=[],attrViaGeneralOuterdiameter:n=0}=t.params,{attrViaGeneralInnerdiameter:a=0,attrRowSpacing:s=0,attrColSpacing:l=0,attrSpacing:c=0,unit:d="-",type:u}=t.params;Ae(Wkt.default);let p=J(),m=be.bind(Wkt.default.locals),[h,f]=(0,Kae.useState)({"attr-net":o,"attr-spacing":k7?k7["attr-spacing"]:c,"attr-col-spacing":k7?k7["attr-col-spacing"]:l,"attr-row-spacing":k7?k7["attr-row-spacing"]:s,"attr-via-general-innerdiameter":k7?k7["attr-via-general-innerdiameter"]:a,"attr-via-general-outerdiameter":k7?k7["attr-via-general-outerdiameter"]:n});k7=null;let g=(0,Kae.useMemo)(()=>{let S=ue.naturalSort(r,"value");return S.unshift({text:"",value:""}),S.map(T=>(T.showOriginalText=!0,T))},[]),b=async S=>{u==="lineSutureVia"&&S!=="cmd"?(delete h["attr-row-spacing"],delete h["attr-col-spacing"]):S!=="cmd"?delete h["attr-spacing"]:S==="cmd"&&(k7=h),!(S==="confirm"&&y())&&(await oo({action:S,dialogId:i,formData:S==="confirm"?h:S==="cmd"?{action:"netSelect",data:{}}:{}}),le.close(e))},y=()=>{let S=h["attr-col-spacing"],T=h["attr-row-spacing"],M=h["attr-via-general-innerdiameter"],I=h["attr-via-general-outerdiameter"];return I>=S||I>=T||M>=S||M>=T?(De({type:"warn",msg:"The suture via spacing is too small, please modify"}),!0):!1};Bt(()=>{b("close")}).close(e),Bt(({code:S})=>{S==="Escape"&&b("close"),["Enter","NumpadEnter"].includes(S)&&b("confirm")}).keyboard(e);let w=(0,Kae.useMemo)(()=>{let S=[...Kto];return u!=="lineSutureVia"&&S.splice(2,1),u==="lineSutureVia"&&S.splice(3,2),S},[]),x=(0,Kae.useCallback)(S=>{let{labelName:T,inputValue:M,inputBlur:I,positive:A}=S;return(0,Sy.jsxs)("div",{className:m("layer"),children:[(0,Sy.jsx)("div",{className:m("title"),children:(0,Sy.jsx)("span",{"data-test":T,children:p(T)})}),(0,Sy.jsx)(or,{value:M,originUnit:d,inputUnit:d,positive:A,onChange:(D,E)=>{I(D,E)}})]})},[]);return(0,Sy.jsxs)("div",{className:m("container"),children:[(0,Sy.jsxs)("div",{className:m("body"),children:[(0,Sy.jsxs)("div",{className:m("layer"),children:[(0,Sy.jsx)("div",{className:m("title"),children:(0,Sy.jsx)("span",{"data-test":"Net",children:p("Net")})}),(0,Sy.jsx)(xt,{style:{height:"22px"},searchable:!0,list:g,value:h["attr-net"],onChange:S=>{f({...h,"attr-net":S})}})]}),(0,Sy.jsxs)("div",{className:m("layer"),children:[(0,Sy.jsx)("div",{className:m("title"),children:(0,Sy.jsx)("span",{children:""})}),(0,Sy.jsx)(Me,{type:"primary",style:{padding:"0 18px",height:"30px",lineHeight:"30px"},onClick:()=>b("cmd"),children:"Click To Select Network"})]}),w.map(S=>(0,Sy.jsx)(x,{positive:["attr-via-general-outerdiameter","attr-via-general-innerdiameter"].includes(S.key),labelName:S.name,inputValue:h[S.key],inputBlur:T=>f({...h,[S.key]:T})},S.key))]}),(0,Sy.jsxs)("div",{className:m("footer"),children:[(0,Sy.jsx)(Me,{type:"primary",onClick:()=>b("confirm"),children:"Confirm"}),(0,Sy.jsx)(Me,{onClick:()=>b("cancel"),children:"Cancel"})]})]})},qto=Vkr;var $to=L(z());async function Xto(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;await le.open({id:o,title:r,width:n,height:a,closed:s,children:(0,$to.jsx)(qto,{params:{...t,containerId:o}})})}var ZI=L(Se());var Qkt=L(tio());var My=L(z()),Hkr=t=>{let{containerId:e,ids:i,dialogId:o,diameter:r=0,innerDiameter:n=0,lineSpacing:a=0,columnSpacing:s=0,unit:l=""}=t.params,c=document.getElementById(e);Ae(Qkt.default);let d=J(),u=be.bind(Qkt.default.locals),[p,m]=(0,ZI.useState)("Add"),[h,f]=(0,ZI.useState)(!0),[g,b]=(0,ZI.useState)({"attr-via-column-spacing":s,"attr-via-inner-diameter":n,"attr-via-line-spacing":a,"attr-via-diameter":r});(0,ZI.useLayoutEffect)(()=>{let T=c.getAttribute("data");if(T){let M=JSON.parse(T).radioCache;m(M),f(M==="Remove")}},[]),(0,ZI.useEffect)(()=>{f(p==="Remove")},[p]);let y=async T=>{if(T==="confirm"&&p==="Add"&&w())return;let M={...g,"attr-ids":i,"attr-via-operation":p};p==="Remove"&&delete M["attr-via-operation"],await oo({action:T,dialogId:o,formData:T==="confirm"?M:{}}),c.setAttribute("data",JSON.stringify({radioCache:p})),le.close(e)},w=()=>{let T=g["attr-via-column-spacing"],M=g["attr-via-line-spacing"],I=g["attr-via-inner-diameter"],A=g["attr-via-diameter"];return A>=T||A>=M||I>=T||I>=M?(De({type:"warn",msg:"The suture via spacing is too small, please modify"}),!0):!1};Bt(()=>{y("close")}).close(e),Bt(({code:T})=>{T==="Escape"&&y("cancel"),["Enter","NumpadEnter"].includes(T)&&y("confirm")}).keyboard(e);let x=(0,ZI.useMemo)(()=>[{key:"attr-via-diameter",name:"Outer Diameter"},{key:"attr-via-inner-diameter",name:"Inner Diameter"},{key:"attr-via-line-spacing",name:"Row Spacing"},{key:"attr-via-column-spacing",name:"Column Spacing"}],[]),S=(0,ZI.useCallback)(T=>{let{labelName:M,value:I,disabledInput:A,positive:D}=T,E=["Outer Diameter","Inner Diameter"].includes(M)||!A?{}:{display:"none"};return(0,My.jsxs)("div",{className:u("line"),style:E,children:[(0,My.jsx)("div",{className:u("txt_title"),style:{flex:" 0 0 20%"},children:(0,My.jsx)("span",{"data-test":M,children:d(M)})}),(0,My.jsx)("div",{className:u("txt_value"),children:(0,My.jsx)(or,{value:I,originUnit:l,inputUnit:l,positive:D,onChange:(N,R)=>{T.onBlur&&T.onBlur(N,R)}})})]})},[]);return(0,My.jsxs)("div",{className:u("container"),children:[(0,My.jsxs)("div",{className:u("body"),children:[(0,My.jsxs)("div",{className:u("line"),children:[(0,My.jsx)("div",{className:u("txt_title"),children:(0,My.jsx)("span",{"data-test":"Operation",children:d("Operation")})}),(0,My.jsx)("div",{className:u("txt_value"),children:["Add","Remove"].map(T=>(0,My.jsxs)(ZI.Fragment,{children:[(0,My.jsx)("input",{id:T,type:"radio",checked:p===T,onChange:()=>m(T)}),(0,My.jsx)("label",{className:"label",htmlFor:T,"data-test":T,style:{marginRight:"8px"},children:d(T)})]},T))})]}),x.map(T=>(0,My.jsx)(S,{positive:["attr-via-diameter","attr-via-inner-diameter"].includes(T.key),labelName:T.name,value:g[T.key],disabledInput:h,onBlur:M=>{b({...g,[T.key]:M})}},T.key))]}),(0,My.jsxs)("div",{className:u("footer"),children:[(0,My.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>y("confirm"),children:"Confirm"}),(0,My.jsx)(Me,{onClick:()=>y("cancel"),children:"Cancel"})]})]})},iio=Hkr;var rio=L(z());async function oio(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;await le.open({id:o,title:r,width:n,height:a,closed:s,children:(0,rio.jsx)(iio,{params:{...t,containerId:o}})})}var ax=L(Se());var i$=L(Se()),aio=L(uT());var ox=L(z()),b5={LINE:"line",ARC:"arc"},nio=t=>{let e=J(),{tearShape:i,tearShapeChangeHandler:o}=t,r=n=>{o(n),C.messageBus.publish("tearShapeChangeAction",n)};return(0,ox.jsx)(ox.Fragment,{children:(0,ox.jsx)("div",{className:"padding-btn",style:{width:"100%",overflow:"hidden"},children:(0,ox.jsxs)("div",{className:"display-flex",style:{position:"relative",border:"1px solid var(--common-border-color)",borderRadius:"0 0 2px 2px",padding:"16px"},children:[(0,ox.jsx)("div",{"data-test":"Shape",style:{position:"absolute",left:"25px",top:"-10px",lineHeight:"20px",padding:"0 10px",backgroundColor:"var(--common-bg-color)"},children:(0,ox.jsx)("span",{children:e("Shape")})}),(0,ox.jsx)("div",{style:{lineHeight:"30px",minWidth:"100px",cursor:"pointer"},children:(0,ox.jsxs)("label",{style:{paddingLeft:"16px",width:"25%"},children:[(0,ox.jsx)("input",{"data-test":"tearShape",name:"tearShape",type:"radio",value:"selected",checked:i==="arc",style:{verticalAlign:"middle",cursor:"pointer"},onChange:()=>{r("arc")}}),(0,ox.jsx)("span",{"data-test":"Arc",style:{cursor:"pointer"},children:e("Arc")})]})}),(0,ox.jsx)("div",{style:{lineHeight:"30px",minWidth:"100px",cursor:"pointer"},children:(0,ox.jsxs)("label",{style:{paddingLeft:"5px",width:"25%"},children:[(0,ox.jsx)("input",{"data-test":"tearShape",name:"tearShape",type:"radio",value:"line",checked:i==="line",style:{verticalAlign:"middle",cursor:"pointer"},onChange:()=>{r("line")}}),(0,ox.jsx)("span",{"data-test":"Line",style:{cursor:"pointer"},children:e("Line")})]})})]})})})};var c2=L(z());var sio=t=>{let e=J(),{tearShapeValue:i,circlePadViaChecked:o,roundPadWidth:r,roundPadHeight:n,circlePadViaCheckedChangeHandler:a,roundPadWidthChangeHandler:s,roundPadHeightChangeHandler:l}=t,c=i===b5.LINE?"teardrop-circular-padvia-icon":"teardrop-circular-padvia-arc-icon",d=(0,i$.useRef)(null),u=(0,i$.useRef)(null),p=(0,i$.useRef)(null),m=(0,i$.useRef)(null),h=(0,i$.useRef)({oldRoundPadWidth:r,oldRoundPadHeight:n}),f=b=>{let y=b.target.value,w=+y;if(y===""){s(1);return}if(isNaN(w)){s(+h.current.oldRoundPadWidth);return}/^0+\d+/.test(String(y))&&(w=+String(y).replace(/^0+/,""),s(w),b.target.value=String(w)),w>100&&(w=100,s(100)),w<1&&(w=1,s(1)),h.current.oldRoundPadWidth=w},g=b=>{let y=b.target.value,w=+y;if(y===""){l(1);return}if(isNaN(w)){l(+h.current.oldRoundPadHeight);return}/^0+\d+/.test(String(y))&&(w=+String(y).replace(/^0+/,""),l(w),b.target.value=String(w)),w>1e3&&(w=1e3,l(1e3)),w<1&&(w=1,l(1)),h.current.oldRoundPadHeight=w};return(0,i$.useEffect)(()=>(d.current=C.messageBus.subscribe("tearShapeChangeAction",b=>{let y=aio.default.findDOMNode(u.current);b===b5.LINE?(y.classList.remove("teardrop-circular-padvia-arc-icon"),y.classList.add("teardrop-circular-padvia-icon")):b===b5.ARC&&(y.classList.remove("teardrop-circular-padvia-icon"),y.classList.add("teardrop-circular-padvia-arc-icon"))}),()=>{d.current&&d.current.cancel()}),[]),(0,c2.jsx)(c2.Fragment,{children:(0,c2.jsx)("div",{style:{width:"100%",overflow:"hidden"},className:"padding-btn",children:(0,c2.jsxs)("div",{children:[(0,c2.jsxs)("label",{style:{paddingLeft:"16px",width:"25%"},children:[(0,c2.jsx)("input",{"data-test":"Circle Pad/Via",name:"Circle Pad/Via",type:"checkbox",checked:o,style:{verticalAlign:"middle",cursor:"pointer"},onChange:b=>{a(b.target.checked)}}),(0,c2.jsx)("span",{"data-test":"Circle Pad/Via",style:{cursor:"pointer"},children:e("Circle Pad/Via")})]}),(0,c2.jsxs)("div",{className:"display-flex flex-main-axis-start flex-lateral-axis-stretch flex-nowrap",style:{width:"100%"},children:[(0,c2.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-center flex-lateral-axis-start",style:{width:"57%",padding:"0 0 0 16px"},children:[(0,c2.jsxs)("div",{className:"display-flex flex-main-axis-start flex-lateral-axis-center flex-nowrap",style:{width:"100%",overflow:"hidden",padding:"7.5px 0"},children:[(0,c2.jsx)("div",{"data-test":"Width(W)",style:{flex:"0 0 55px"},children:e("Width(W)")}),(0,c2.jsx)("input",{"data-test":"roundPadWidth",ref:p,type:"number",name:"roundPadWidth",value:r,style:{padding:"3px 5px",width:"100%",flex:"0 0 80px",margin:"0 10px"},onChange:b=>{s(b.target.value===""?"":+b.target.value)},onBlur:f,onFocus:b=>{b.target.select&&b.target.select()}}),(0,c2.jsx)("span",{children:"%"})]}),(0,c2.jsxs)("div",{className:"display-flex flex-main-axis-start flex-lateral-axis-center flex-nowrap",style:{width:"100%",overflow:"hidden",padding:"7.5px 0"},children:[(0,c2.jsx)("div",{"data-test":"Height(H)",style:{flex:"0 0 55px"},children:e("Height(H)")}),(0,c2.jsx)("input",{"data-test":"roundPadHeight",ref:m,type:"number",name:"roundPadHeight",value:n,style:{padding:"3px 5px",width:"100%",flex:"0 0 80px",margin:"0 10px"},onChange:b=>{l(b.target.value===""?"":+b.target.value)},onBlur:g,onFocus:b=>{b.target.select&&b.target.select()}}),(0,c2.jsx)("span",{children:"%"})]})]}),(0,c2.jsx)("div",{style:{width:"55%",minHeight:"88px"},children:(0,c2.jsx)("div",{className:`teardrop-icon ${c}`,ref:u})})]})]})})})};var o$=L(Se()),lio=L(uT());var d2=L(z());var cio=t=>{let e=J(),{tearShapeValue:i,rectPadWidth:o,rectPadHeight:r,specialShapedPadChecked:n,rectPadWidthChangeHandler:a,rectPadHeightChangeHandler:s,specialShapedPadCheckedChangeHandler:l}=t,c=i===b5.LINE?"teardrop-not-circular-padvia-icon":"teardrop-not-circular-padvia-arc-icon",d=(0,o$.useRef)(null),u=(0,o$.useRef)(null),p=(0,o$.useRef)(null),m=(0,o$.useRef)(null),h=(0,o$.useRef)({oldRectPadWidth:o,oldRectPadHeight:r}),f=b=>{let y=b.target.value,w=+y;if(y===""){a(100);return}if(isNaN(w)){a(+h.current.oldRectPadWidth);return}/^0+\d+/.test(String(y))&&(w=+String(y).replace(/^0+/,""),a(w),b.target.value=String(w)),w>1e3&&(w=1e3,a(1e3)),w<100&&(w=100,a(100)),h.current.oldRectPadWidth=w},g=b=>{let y=b.target.value,w=+y;if(y===""){s(1);return}if(isNaN(w)){s(+h.current.oldRectPadHeight);return}/^0+\d+/.test(String(y))&&(w=+String(y).replace(/^0+/,""),s(w),b.target.value=String(w)),w>1e3&&(w=1e3,s(1e3)),w<1&&(w=1,s(1)),h.current.oldRectPadHeight=w};return(0,o$.useEffect)(()=>(d.current=C.messageBus.subscribe("tearShapeChangeAction",b=>{let y=lio.default.findDOMNode(u.current);b===b5.LINE?(y.classList.remove("teardrop-not-circular-padvia-arc-icon"),y.classList.add("teardrop-not-circular-padvia-icon")):b===b5.ARC&&(y.classList.remove("teardrop-not-circular-padvia-icon"),y.classList.add("teardrop-not-circular-padvia-arc-icon"))}),()=>{d.current&&d.current.cancel()}),[]),(0,d2.jsx)(d2.Fragment,{children:(0,d2.jsx)("div",{style:{width:"100%",overflow:"hidden"},className:"padding-btn",children:(0,d2.jsxs)("div",{children:[(0,d2.jsxs)("label",{style:{paddingLeft:"16px",width:"25%"},children:[(0,d2.jsx)("input",{"data-test":"Rectangle/Oval/Polygon Pad",name:"Rectangle/Oval/Polygon Pad",type:"checkbox",checked:n,style:{verticalAlign:"middle",cursor:"pointer"},onChange:b=>{l(b.target.checked)}}),(0,d2.jsx)("span",{"data-test":"Rectangle/Oval/Polygon Pad",style:{cursor:"pointer"},children:e("Rectangle/Oval/Polygon Pad")})]}),(0,d2.jsxs)("div",{className:"display-flex flex-main-axis-start flex-lateral-axis-stretch flex-nowrap",style:{width:"100%"},children:[(0,d2.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-center flex-lateral-axis-start",style:{width:"57%",padding:"0 0 0 16px"},children:[(0,d2.jsxs)("div",{className:"display-flex flex-main-axis-start flex-lateral-axis-center flex-nowrap",style:{width:"100%",overflow:"hidden",padding:"7.5px 0"},children:[(0,d2.jsx)("div",{"data-test":"Width(W)",style:{flex:"0 0 55px"},children:e("Width(W)")}),(0,d2.jsx)("input",{"data-test":"rectPadWidth",ref:p,type:"number",name:"rectPadWidth",value:o,style:{padding:"3px 5px",width:"100%",flex:"0 0 80px",margin:"0 10px"},onChange:b=>{a(b.target.value===""?"":+b.target.value)},onBlur:f,onFocus:b=>{b.target.select&&b.target.select()}}),(0,d2.jsx)("span",{children:"%"})]}),(0,d2.jsxs)("div",{className:"display-flex flex-main-axis-start flex-lateral-axis-center flex-nowrap",style:{width:"100%",overflow:"hidden",padding:"7.5px 0"},children:[(0,d2.jsx)("div",{"data-test":"Height(H)",style:{flex:"0 0 55px"},children:e("Height(H)")}),(0,d2.jsx)("input",{"data-test":"rectPadHeight",ref:m,type:"number",name:"rectPadHeight",value:r,style:{padding:"3px 5px",width:"100%",flex:"0 0 80px",margin:"0 10px"},onChange:b=>{s(b.target.value===""?"":+b.target.value)},onBlur:g,onFocus:b=>{b.target.select&&b.target.select()}}),(0,d2.jsx)("span",{children:"%"})]})]}),(0,d2.jsx)("div",{style:{width:"55%",minHeight:"88px"},children:(0,d2.jsx)("div",{className:`teardrop-icon ${c}`,ref:u})})]})]})})})};var rx=L(z()),dio=t=>{let e=J(),{operationType:i,operationTypeChangeHandler:o}=t;return(0,rx.jsx)(rx.Fragment,{children:(0,rx.jsx)("div",{className:"padding-btn",style:{width:"100%",overflow:"hidden"},children:(0,rx.jsxs)("div",{className:"display-flex",style:{position:"relative",border:"1px solid var(--common-border-color)",borderRadius:"0 0 2px 2px",padding:"16px"},children:[(0,rx.jsx)("div",{"data-test":"Operation",style:{position:"absolute",left:"25px",top:"-10px",lineHeight:"20px",padding:"0 10px",backgroundColor:"var(--common-bg-color)"},children:(0,rx.jsx)("span",{children:e("Operation")})}),(0,rx.jsx)("div",{style:{lineHeight:"30px",minWidth:"100px",cursor:"pointer"},children:(0,rx.jsxs)("label",{style:{paddingLeft:"16px",width:"25%"},children:[(0,rx.jsx)("input",{"data-test":"operationType",name:"operationType",type:"radio",value:"add",checked:i==="add",style:{verticalAlign:"middle",cursor:"pointer"},onChange:()=>{o("add")}}),(0,rx.jsx)("span",{"data-test":"Add",style:{cursor:"pointer"},children:e("Add")})]})}),(0,rx.jsx)("div",{style:{lineHeight:"30px",minWidth:"100px",cursor:"pointer"},children:(0,rx.jsxs)("label",{style:{paddingLeft:"5px",width:"25%"},children:[(0,rx.jsx)("input",{"data-test":"operationType",name:"operationType",type:"radio",value:"selected",checked:i==="remove",style:{verticalAlign:"middle",cursor:"pointer"},onChange:()=>{o("remove")}}),(0,rx.jsx)("span",{"data-test":"Remove",style:{cursor:"pointer"},children:e("Remove")})]})})]})})})};var nx=L(z()),uio=t=>{let e=J(),{applyScope:i,applyScopeChangeHandler:o}=t;return(0,nx.jsx)(nx.Fragment,{children:(0,nx.jsx)("div",{className:"padding-btn",style:{width:"100%",overflow:"hidden"},children:(0,nx.jsxs)("div",{className:"display-flex",style:{position:"relative",border:"1px solid var(--common-border-color)",borderRadius:"0 0 2px 2px",padding:"16px"},children:[(0,nx.jsx)("div",{"data-test":"Range of application",style:{position:"absolute",left:"25px",top:"-10px",lineHeight:"20px",padding:"0 10px",backgroundColor:"var(--common-bg-color)"},children:(0,nx.jsx)("span",{children:e("Range of application")})}),(0,nx.jsx)("div",{style:{lineHeight:"30px",minWidth:"100px",cursor:"pointer"},children:(0,nx.jsxs)("label",{style:{paddingLeft:"16px",width:"25%"},children:[(0,nx.jsx)("input",{"data-test":"applyScope",name:"applyScope",type:"radio",value:"all",checked:i==="all",style:{verticalAlign:"middle",cursor:"pointer"},onChange:()=>{o("all")}}),(0,nx.jsx)("span",{"data-test":"All",style:{cursor:"pointer"},children:e("All")})]})}),(0,nx.jsx)("div",{style:{lineHeight:"30px",minWidth:"100px",cursor:"pointer"},children:(0,nx.jsxs)("label",{style:{paddingLeft:"5px",width:"25%"},children:[(0,nx.jsx)("input",{"data-test":"applyScope",name:"applyScope",type:"radio",value:"selected",checked:i==="selected",style:{verticalAlign:"middle",cursor:"pointer"},onChange:()=>{o("selected")}}),(0,nx.jsx)("span",{"data-test":"Only Selected",style:{cursor:"pointer"},children:e("Only Selected")})]})})]})})})};var eE=L(z()),pio=t=>{let e=J(),{ignoreDRC:i,ignoreDRCChangeHandler:o}=t;return(0,eE.jsx)(eE.Fragment,{children:(0,eE.jsx)("div",{className:"padding-btn",style:{width:"100%",overflow:"hidden"},children:(0,eE.jsxs)("div",{className:"display-flex",style:{position:"relative",border:"1px solid var(--common-border-color)",borderRadius:"0 0 2px 2px",padding:"16px"},children:[(0,eE.jsx)("div",{"data-test":"Option",style:{position:"absolute",left:"25px",top:"-10px",lineHeight:"20px",padding:"0 10px",backgroundColor:"var(--common-bg-color)"},children:(0,eE.jsx)("span",{children:e("Option")})}),(0,eE.jsx)("div",{style:{lineHeight:"30px",minWidth:"100px",cursor:"pointer"},children:(0,eE.jsxs)("label",{style:{paddingLeft:"16px",width:"25%"},children:[(0,eE.jsx)("input",{"data-test":"ignoreDRC",name:"ignoreDRC",type:"checkbox",checked:i,style:{verticalAlign:"middle",cursor:"pointer"},onChange:r=>{o(r.target.checked)}}),(0,eE.jsx)("span",{"data-test":"Ignore DRC when generating teardrops",style:{cursor:"pointer"},children:e("Ignore DRC when generating teardrops")})]})})]})})})};var r$=L(Se()),mio=L(uT());var u2=L(z());var hio=t=>{let e=J(),{tearShapeValue:i,routingChecked:o,routingWidth:r,routingHeight:n,routingCheckedChangeHandler:a,routingWidthChangeHandler:s,routingHeightChangeHandler:l}=t,c=i===b5.LINE?"teardrop-routing-line-icon":"teardrop-routing-arc-icon",d=(0,r$.useRef)(null),u=(0,r$.useRef)(null),p=(0,r$.useRef)(null),m=(0,r$.useRef)(null),h=(0,r$.useRef)({oldRoutingWidth:r,oldRoutingHeight:n}),f=b=>{let y=b.target.value,w=+y;if(y===""){s(1);return}if(isNaN(w)){s(+h.current.oldRoutingWidth);return}/^0+\d+/.test(String(y))&&(w=+String(y).replace(/^0+/,""),s(w),b.target.value=String(w)),w>100&&(w=100,s(100)),w<1&&(w=1,s(1)),h.current.oldRoutingWidth=w},g=b=>{let y=b.target.value,w=+y;if(y===""){l(1);return}if(isNaN(w)){l(+h.current.oldRoutingHeight);return}/^0+\d+/.test(String(y))&&(w=+String(y).replace(/^0+/,""),l(w),b.target.value=String(w)),w>1e3&&(w=1e3,l(1e3)),w<1&&(w=1,l(1)),h.current.oldRoutingHeight=w};return(0,r$.useEffect)(()=>(d.current=C.messageBus.subscribe("tearShapeChangeAction",b=>{let y=mio.default.findDOMNode(u.current);b===b5.LINE?(y.classList.remove("teardrop-routing-arc-icon"),y.classList.add("teardrop-routing-line-icon")):b===b5.ARC&&(y.classList.remove("teardrop-routing-line-icon"),y.classList.add("teardrop-routing-arc-icon"))}),()=>{d.current&&d.current.cancel()}),[]),(0,u2.jsx)(u2.Fragment,{children:(0,u2.jsx)("div",{style:{width:"100%",overflow:"hidden"},className:"padding-btn",children:(0,u2.jsxs)("div",{children:[(0,u2.jsxs)("label",{style:{paddingLeft:"16px",width:"25%"},children:[(0,u2.jsx)("input",{"data-test":"Routing",name:"Routing",type:"checkbox",checked:o,style:{verticalAlign:"middle",cursor:"pointer"},onChange:b=>{a(b.target.checked)}}),(0,u2.jsx)("span",{"data-test":"Routing",style:{cursor:"pointer"},children:e("Routing")})]}),(0,u2.jsxs)("div",{className:"display-flex flex-main-axis-start flex-lateral-axis-stretch flex-nowrap",style:{width:"100%"},children:[(0,u2.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-center flex-lateral-axis-start",style:{width:"57%",padding:"0 0 0 16px"},children:[(0,u2.jsxs)("div",{className:"display-flex flex-main-axis-start flex-lateral-axis-center flex-nowrap",style:{width:"100%",overflow:"hidden",padding:"7.5px 0"},children:[(0,u2.jsx)("div",{"data-test":"Width(W)",style:{flex:"0 0 55px"},children:e("Width(W)")}),(0,u2.jsx)("input",{"data-test":"routingWidth",ref:p,type:"number",name:"routingWidth",value:r,style:{padding:"3px 5px",width:"100%",flex:"0 0 80px",margin:"0 10px"},onChange:b=>{s(b.target.value===""?"":+b.target.value)},onBlur:f,onFocus:b=>{b.target.select&&b.target.select()}}),(0,u2.jsx)("span",{children:"%"})]}),(0,u2.jsxs)("div",{className:"display-flex flex-main-axis-start flex-lateral-axis-center flex-nowrap",style:{width:"100%",overflow:"hidden",padding:"7.5px 0"},children:[(0,u2.jsx)("div",{"data-test":"Height(H)",style:{flex:"0 0 55px"},children:e("Height(H)")}),(0,u2.jsx)("input",{"data-test":"routingHeight",ref:m,type:"number",name:"routingHeight",value:n,style:{padding:"3px 5px",width:"100%",flex:"0 0 80px",margin:"0 10px"},onChange:b=>{l(b.target.value===""?"":+b.target.value)},onBlur:g,onFocus:b=>{b.target.select&&b.target.select()}}),(0,u2.jsx)("span",{children:"%"})]})]}),(0,u2.jsx)("div",{style:{width:"55%",minHeight:"88px"},children:(0,u2.jsx)("div",{className:`teardrop-icon ${c}`,ref:u})})]})]})})})};var n$=L(Se()),fio=L(uT());var p2=L(z());var gio=t=>{let e=J(),{tearShapeValue:i,TConnectionChecked:o,TConnectionWidth:r,TConnectionHeight:n,TConnectionCheckedChangeHandler:a,TConnectionWidthChangeHandler:s,TConnectionHeightChangeHandler:l}=t,c=i===b5.LINE?"teardrop-t_connection-line-icon":"teardrop-t_connection-arc-icon",d=(0,n$.useRef)(null),u=(0,n$.useRef)(null),p=(0,n$.useRef)(null),m=(0,n$.useRef)(null),h=(0,n$.useRef)({oldTConnectionWidth:r,oldTConnectionHeight:n}),f=b=>{let y=b.target.value,w=+y;if(y===""){s(1);return}if(isNaN(w)){s(+h.current.oldTConnectionWidth);return}/^0+\d+/.test(String(y))&&(w=+String(y).replace(/^0+/,""),s(w),b.target.value=String(w)),w>1e3&&(w=1e3,s(1e3)),w<1&&(w=1,s(1)),h.current.oldTConnectionWidth=w},g=b=>{let y=b.target.value,w=+y;if(y===""){l(1);return}if(isNaN(w)){l(+h.current.oldTConnectionHeight);return}/^0+\d+/.test(String(y))&&(w=+String(y).replace(/^0+/,""),l(w),b.target.value=String(w)),w>1e3&&(w=1e3,l(1e3)),w<1&&(w=1,l(1)),h.current.oldTConnectionHeight=w};return(0,n$.useEffect)(()=>(d.current=C.messageBus.subscribe("tearShapeChangeAction",b=>{let y=fio.default.findDOMNode(u.current);b===b5.LINE?(y.classList.remove("teardrop-t_connection-arc-icon"),y.classList.add("teardrop-t_connection-line-icon")):b===b5.ARC&&(y.classList.remove("teardrop-t_connection-line-icon"),y.classList.add("teardrop-t_connection-arc-icon"))}),()=>{d.current&&d.current.cancel()}),[]),(0,p2.jsx)(p2.Fragment,{children:(0,p2.jsx)("div",{style:{width:"100%",overflow:"hidden"},className:"padding-btn",children:(0,p2.jsxs)("div",{children:[(0,p2.jsxs)("label",{style:{paddingLeft:"16px",width:"25%"},children:[(0,p2.jsx)("input",{"data-test":"TConnection",name:"TConnection",type:"checkbox",checked:o,style:{verticalAlign:"middle",cursor:"pointer"},onChange:b=>{a(b.target.checked)}}),(0,p2.jsx)("span",{"data-test":"T Connection",style:{cursor:"pointer"},children:e("T Connection")})]}),(0,p2.jsxs)("div",{className:"display-flex flex-main-axis-start flex-lateral-axis-stretch flex-nowrap",style:{width:"100%"},children:[(0,p2.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-center flex-lateral-axis-start",style:{width:"57%",padding:"0 0 0 16px"},children:[(0,p2.jsxs)("div",{className:"display-flex flex-main-axis-start flex-lateral-axis-center flex-nowrap",style:{width:"100%",overflow:"hidden",padding:"7.5px 0"},children:[(0,p2.jsx)("div",{"data-test":"Width(W)",style:{flex:"0 0 55px"},children:e("Width(W)")}),(0,p2.jsx)("input",{"data-test":"TConnectionWidth",ref:p,type:"number",name:"TConnectionWidth",value:r,style:{padding:"3px 5px",width:"100%",flex:"0 0 80px",margin:"0 10px"},onChange:b=>{s(b.target.value===""?"":+b.target.value)},onBlur:f,onFocus:b=>{b.target.select&&b.target.select()}}),(0,p2.jsx)("span",{children:"%"})]}),(0,p2.jsxs)("div",{className:"display-flex flex-main-axis-start flex-lateral-axis-center flex-nowrap",style:{width:"100%",overflow:"hidden",padding:"7.5px 0"},children:[(0,p2.jsx)("div",{"data-test":"Height(H)",style:{flex:"0 0 55px"},children:e("Height(H)")}),(0,p2.jsx)("input",{"data-test":"TConnectionHeight",ref:m,type:"number",name:"TConnectionHeight",value:n,style:{padding:"3px 5px",width:"100%",flex:"0 0 80px",margin:"0 10px"},onChange:b=>{l(b.target.value===""?"":+b.target.value)},onBlur:g,onFocus:b=>{b.target.select&&b.target.select()}}),(0,p2.jsx)("span",{children:"%"})]})]}),(0,p2.jsx)("div",{style:{width:"55%",minHeight:"88px"},children:(0,p2.jsx)("div",{className:`teardrop-icon ${c}`,ref:u})})]})]})})})};var ff=L(z());var Gkr=t=>{let e=J(),{containerId:i,dialogId:o,applyScope:r,operationType:n,tearShape:a,ignoreDRC:s,roundPadWidth:l,roundPadHeight:c,circlePadViaChecked:d,rectPadWidth:u,rectPadHeight:p,specialShapedPadChecked:m,routingWidth:h,routingHeight:f,routingChecked:g,TConnectionWidth:b,TConnectionHeight:y,TConnectionChecked:w}=t,[x,S]=(0,ax.useState)(r),[T,M]=(0,ax.useState)(a),[I,A]=(0,ax.useState)(s),[D,E]=(0,ax.useState)(n),[N,R]=(0,ax.useState)(l),[v,k]=(0,ax.useState)(c),[P,O]=(0,ax.useState)(d),[_,j]=(0,ax.useState)(u),[B,V]=(0,ax.useState)(p),[G,Q]=(0,ax.useState)(m),[H,q]=(0,ax.useState)(h),[U,F]=(0,ax.useState)(f),[K,te]=(0,ax.useState)(g),[ae,pe]=(0,ax.useState)(b),[Z,ee]=(0,ax.useState)(y),[ce,ne]=(0,ax.useState)(w),oe=async X=>{if(X==="cancel"){le.close();return}let ie=Y();await oo({action:X,dialogId:o,formData:ie})},re=PI(async X=>{let ie=Y();await oo({action:X,dialogId:o,formData:ie})},300,{immediate:!0,trailing:!1}),Y=()=>({"apply-scope":x,"tear-shape":T,"ignore-DRC":I,"operation-type":D,"round-pad-width":+N,"round-pad-height":+v,"circle-pad-via-checked":P,"rect-pad-width":+_,"rect-pad-height":+B,"special-shaped-pad-checked":G,"routing-width":+H,"routing-height":+U,"routing-checked":K,"t-connection-width":+ae,"t-connection-height":+Z,"t-connection-checked":ce});return(0,ff.jsxs)("div",{className:"pop-content-container tear-drop-dialog",children:[(0,ff.jsxs)("div",{className:"pop-content-wrapper",style:{overflow:"hidden"},children:[(0,ff.jsxs)("div",{style:{float:"left",width:"40%"},children:[(0,ff.jsx)(dio,{operationType:D,operationTypeChangeHandler:E}),(0,ff.jsx)(uio,{applyScope:x,applyScopeChangeHandler:S}),(0,ff.jsx)(nio,{tearShape:T,tearShapeChangeHandler:M}),(0,ff.jsx)(pio,{ignoreDRC:I,ignoreDRCChangeHandler:A})]}),(0,ff.jsx)("div",{style:{float:"left",width:"58.5%",marginLeft:"8px"},children:(0,ff.jsx)("div",{style:{width:"100%",overflow:"hidden"},className:"padding-btn",children:(0,ff.jsxs)("div",{style:{position:"relative",border:"1px solid var(--common-border-color)",borderRadius:"0 0 2px 2px"},children:[(0,ff.jsx)("div",{"data-test":"Range",style:{position:"absolute",left:"25px",top:"-10px",lineHeight:"20px",padding:"0 10px",backgroundColor:"var(--common-bg-color)"},children:(0,ff.jsx)("span",{children:e("Range")})}),(0,ff.jsxs)("div",{style:{width:"100%"},children:[(0,ff.jsx)(sio,{tearShapeValue:T,roundPadWidth:N,roundPadHeight:v,circlePadViaChecked:P,roundPadWidthChangeHandler:R,roundPadHeightChangeHandler:k,circlePadViaCheckedChangeHandler:O}),(0,ff.jsx)(cio,{tearShapeValue:T,rectPadWidth:_,rectPadHeight:B,specialShapedPadChecked:G,rectPadWidthChangeHandler:j,rectPadHeightChangeHandler:V,specialShapedPadCheckedChangeHandler:Q}),(0,ff.jsx)(hio,{tearShapeValue:T,routingWidth:H,routingHeight:U,routingChecked:K,routingCheckedChangeHandler:te,routingWidthChangeHandler:q,routingHeightChangeHandler:F}),(0,ff.jsx)(gio,{tearShapeValue:T,TConnectionWidth:ae,TConnectionHeight:Z,TConnectionChecked:ce,TConnectionCheckedChangeHandler:ne,TConnectionWidthChangeHandler:pe,TConnectionHeightChangeHandler:ee})]})]})})}),(0,ff.jsx)("div",{className:"tip",children:(0,ff.jsx)("span",{children:e("Tip: The Line object will not generate teardrop. If no teardrop is generated, please use the Track instead of Line.")})})]}),(0,ff.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,ff.jsx)(Me,{type:"primary",class:"addTearDrop",style:{marginRight:"8px"},onClick:()=>re("apply"),children:"Apply"}),(0,ff.jsx)(Me,{onClick:()=>oe("cancel"),children:"Cancel"})]})]})},bio=Gkr;var wio=L(z());async function yio(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;return le.open({id:o,title:r,width:n,closed:a,esc:!0,folded:!1,mask:!1,children:(0,wio.jsx)(bio,{containerId:o,dialogId:t.dialogId,applyScope:t["apply-scope"],operationType:t["operation-type"],tearShape:t["tear-shape"],ignoreDRC:t["ignore-DRC"],roundPadWidth:t["round-pad-width"],roundPadHeight:t["round-pad-height"],circlePadViaChecked:t["circle-pad-via-checked"],rectPadWidth:t["rect-pad-width"],rectPadHeight:t["rect-pad-height"],specialShapedPadChecked:t["special-shaped-pad-checked"],routingWidth:t["routing-width"],routingHeight:t["routing-height"],routingChecked:t["routing-checked"],TConnectionWidth:t["t-connection-width"],TConnectionHeight:t["t-connection-height"],TConnectionChecked:t["t-connection-checked"]})}),{origin:"react"}}var xXe=L(Se());function Cio(t){for(let e of Object.keys(t))t[e]!=null&&(Y6e[e]=t[e])}var Y6e={imageInfo:{},checkedPlaceTrueColor:!1,tolerance:0,simplify:0,smoothness:0,despeckle:0,antiphase:!1,whiteAsTransparent:!0,imageWidth:0,imageHeight:0,imageOriginRatio:1,unit:"mm"};var qkt=L(s$());var W6e=L(Se());var Tio=L(s$()),Kkt=L(z()),{locals:Ykr}=Tio.default,Wkr=be.bind(Ykr),Sio=({formData:t,onCanvasUpdated:e})=>{let{imageInfo:i,checkedPlaceTrueColor:o}=t;(0,W6e.useLayoutEffect)(()=>{s().then(l=>{l&&(e==null||e(l))})},[i.originUrl,o]);let r=be(Wkr("canvas-preview"),"display-flex flex-main-axis-start flex-lateral-axis-center"),n=(0,W6e.useRef)(),a=(0,W6e.useRef)();return(0,Kkt.jsx)("div",{ref:n,className:r,style:{width:"100%",overflow:"hidden"},children:(0,Kkt.jsx)("canvas",{ref:a,width:300,height:300})});async function s(){let l=a.current,{checkedPlaceTrueColor:c}=t,{originUrl:d}=i,{image:u,msg:p}=await new B2().readUrlAsImage(d);if(!u){Dt({content:p});return}l.width=c?621:300;let m=B6e(l,u);l.getContext("2d").drawImage(u,m.drawMarginLeft,m.drawMarginTop,m.drawImageWidth,m.drawImageHeight);let f=B6e({width:300,height:300},u),g=f.drawImageWidth,b=f.drawImageHeight;return{pixelImageSize:{width:g,height:b}}}};var Aio=L(Se());var Nio=L(s$());var Mio=L(Se());var Iio=L(s$()),Cge=L(z()),{locals:Qkr}=Iio.default,Zkt=be.bind(Qkr),Lio=t=>{let{fileName:e,dataTest:i,onChange:o}=t,r=(0,Mio.useRef)();return(0,Cge.jsx)("div",{className:Zkt("select-image"),children:(0,Cge.jsxs)("label",{className:Zkt("input-label"),children:[(0,Cge.jsx)("input",{"data-test":i,type:"text",value:e||"",placeholder:"Image Name",onClick:n=>{n.target.blur(),lje(a=>{o({imageInfo:a})})},onChange:()=>{}}),(0,Cge.jsx)("em",{className:Zkt("ellipsis-point"),children:"..."})]})})};var vio=L(s$()),xge=L(z()),{locals:Kkr}=vio.default,Jkt=be.bind(Kkr),Q6e=t=>{let{min:e=0,max:i=1,dataTest:o,onMouseUp:r}=t,[n,a]=pT(t);return(0,xge.jsxs)("div",{className:Jkt("input-range"),children:[(0,xge.jsx)("input",{"data-test":o,type:"range",value:n,min:e,max:i,step:.01,style:{height:18},onChange:s=>{a(+s.target.value),r==null||r(+s.target.value)}}),(0,xge.jsx)("span",{className:Jkt("range-tag"),children:`[${e} ~ ${i}]`}),(0,xge.jsx)("span",{className:Jkt("range-value"),children:n})]})};var Dio=L(s$());var uz=L(z()),{locals:Zkr}=Dio.default,yXe=be.bind(Zkr),Eio=t=>{let{imageWidth:e,imageHeight:i,unit:o,imageOriginRatio:r,onChange:n}=t,a=ue.unitConversion.conversion1("mil",o,5e5);return(0,uz.jsxs)("div",{className:yXe("image-size","display-flex flex-lateral-axis-center"),children:[(0,uz.jsx)("label",{className:yXe("input-label"),children:(0,uz.jsx)(Kt,{dataTest:"Image Width",type:"number",value:e.toString(),style:{width:120,height:24,textAlign:"center"},onChange:s=>n({imageWidth:+s}),focusTriggerSelect:!0,onBlur:s=>{let l=r,c=Math.max(Math.min(+s.target.value,a),.01),d=c/l;n({imageWidth:+c.toFixed(3),imageHeight:+d.toFixed(3)})}})}),(0,uz.jsx)("span",{children:"X"}),(0,uz.jsx)("label",{className:yXe("input-label"),children:(0,uz.jsx)(Kt,{dataTest:"Image Height",type:"number",value:i.toString(),style:{width:120,height:24,textAlign:"center"},onChange:s=>n({imageHeight:+s}),focusTriggerSelect:!0,onBlur:s=>{let l=r,c=Math.max(Math.min(+s.target.value,a),.01),d=c*l;n({imageWidth:+d.toFixed(3),imageHeight:+c.toFixed(3)})}})}),(0,uz.jsx)("label",{className:yXe("input-label"),children:(0,uz.jsx)(xt,{value:o,list:[{text:"mil",value:"mil"},{text:"mm",value:"mm"}],style:{marginLeft:"5px",width:"53px",height:"24px"},onChange:s=>{let l=ue.unitConversion.conversion1(o,s,e),c=ue.unitConversion.conversion1(o,s,i);n({imageWidth:l,imageHeight:c,unit:s})}})})]})};var wm=L(z()),{locals:Jkr}=Nio.default,qkr=be.bind(Jkr),kio=t=>{let{formData:e,onChange:i}=t,{imageInfo:o}=e,r=J(),n=(0,Aio.useCallback)(a=>{let{title:s,children:l}=a,c=J();return(0,wm.jsx)(Wv,{...a,title:c(s),titleWidth:100,children:l})},[]);return(0,wm.jsxs)("div",{className:qkr("insert-image-form"),children:[(0,wm.jsx)(n,{title:"Select Image",children:(0,wm.jsx)(Lio,{dataTest:"Select Image",fileName:o.name,onChange:a=>i(a)})}),(0,wm.jsx)(n,{title:"Place Original Image",hidden:!rkt(),children:(0,wm.jsxs)(wm.Fragment,{children:[(0,wm.jsx)(qt,{dataTest:"checkedPlaceTrueColor",checked:e.checkedPlaceTrueColor,style:{lineHeight:"normal",padding:"0px 2px"},disabled:!okt(o),onChange:a=>i({checkedPlaceTrueColor:a})}),(0,wm.jsx)("span",{style:{color:"rgb(255,50,50)",marginLeft:"10px",verticalAlign:"middle"},children:r("Apply for JLCPCB colorful silkscreen manufacturing(only png and jpg format)")})]})}),!e.checkedPlaceTrueColor&&(0,wm.jsxs)(wm.Fragment,{children:[(0,wm.jsx)(n,{title:"Tolerance",children:(0,wm.jsx)(Q6e,{dataTest:"Tolerance",defaultValue:e.tolerance,onMouseUp:a=>i({tolerance:a})})}),(0,wm.jsx)(n,{title:"Simplify",children:(0,wm.jsx)(Q6e,{dataTest:"Simplify",defaultValue:e.simplify,onMouseUp:a=>i({simplify:a})})}),(0,wm.jsx)(n,{title:"Smoothness",children:(0,wm.jsx)(Q6e,{dataTest:"Smoothness",defaultValue:e.smoothness,min:0,max:1.33,onMouseUp:a=>i({smoothness:a})})}),(0,wm.jsx)(n,{title:"Despeckle",children:(0,wm.jsx)(Q6e,{dataTest:"Despeckle",defaultValue:e.despeckle,min:0,max:5,onMouseUp:a=>i({despeckle:a})})}),(0,wm.jsx)(n,{title:"White As Background Color",children:(0,wm.jsx)(qt,{dataTest:"White As Background Color",checked:e.whiteAsTransparent,style:{lineHeight:"normal",padding:"0px 2px"},onChange:a=>i({whiteAsTransparent:a})})}),(0,wm.jsx)(n,{title:"Antiphase",children:(0,wm.jsx)(qt,{dataTest:"Antiphase",checked:e.antiphase,style:{lineHeight:"normal",padding:"0px 2px"},onChange:a=>i({antiphase:a})})})]}),(0,wm.jsx)(n,{title:"Image Size",style:{marginBottom:0},children:(0,wm.jsx)(Eio,{imageWidth:e.imageWidth,imageHeight:e.imageHeight,unit:e.unit,imageOriginRatio:e.imageOriginRatio,onChange:a=>i(a)})})]})};var y5=L(Se());var Cm={getColorTolerance(t=0){var e=1e-4,i=1,o=1e-4,r=+(t||o)||o;return r<e?r=e:r>i&&(r=i),r},getSimplifyTolerance(t=0){var e=0,i=1.33,o=+t;return o<e?o=e:o>i&&(o=i),o=o<.1?0:o*2,o},getCornerThreshold(t=0){var e=0,i=1,o=+t;return o<e?o=e:o>i&&(o=i),o},getDespeckleThreshold(t=0){var e=0,i=5,o=+t;return o<e?o=e:o>i&&(o=i),o},rgb2value(t,e,i){return(30*t+59*e+11*i)/255+.5|0},rgba2value(t,e,i,o){if(o==255)return this.rgb2value(t,e,i);if(o===0)return 100;o/=255;var r=240+o*(t-240),n=240+o*(e-240),a=240+o*(i-240);return this.rgb2value(r,n,a)},data2gray(t){for(var e=new Uint8Array(t.length/4),i={},o=0,r=0,n=t.length-3;o<n;o+=4){var a=this.rgba2value(t[o],t[o+1],t[o+2],t[o+3]);i[a]=(i[a]||0)+1,e[r++]=a}return e.values=i,e},data2blackWhite(t,e,i,o,r){if(!r)return o=o===!0,(function(f,g){for(var b=[],y=0,w=3,x=f.length;w<x;w+=4)b[y++]=f[w]<128==g;return b})(t,o);var n=this.data2gray(t),a=n.values,s=r?100:0,l=n,c={},d=Object.keys(a).map(function(f){return Math.round(+f)}),u=d.map(function(f){return Math.abs(s-f)}),p=Math.max.apply(0,u),m,h=n.length;if(i<=0)for(m=0;m<h;m++)n[m]=n[m]==s!=o?1:0;else if(i>=1)for(m=0;m<h;m++)n[m]=Math.abs(s-n[m])==p!=o?1:0;else for(m=0;m<h;m++)n[m]=Math.abs(s-n[m])/p>i!=o?1:0;return n},drawPathData(t,e){t.forEach(function(i){var o=i.values;switch(i.type){case"M":e.moveTo(o[0],o[1]);break;case"L":e.lineTo(o[0],o[1]);break;case"C":e.bezierCurveTo(o[0],o[1],o[2],o[3],o[4],o[5]);break;case"Z":e.closePath();break;default:break}})},getBBoxOfBitMap(t,e,i=!1){let o=p=>p===0||i&&p===255;e=parseInt(e);var r=t.length,n=r/e,a,s,l=1e9,c=1e9,d=-1,u=-1;e:for(s=0;s<n;s++)for(a=0;a<e;a++)if(!o(t[a+s*e])){c=s;break e}e:for(a=0;a<e;a++)for(s=0;s<n;s++)if(!o(t[a+s*e])){l=a;break e}e:for(s=n-1;s>=0;s--)for(a=e-1;a>=0;a--)if(!o(t[a+s*e])){u=s;break e}e:for(a=e-1;a>=0;a--)for(s=n-1;s>=0;s--)if(!o(t[a+s*e])){d=a;break e}return{x:l,y:c,width:d+1-l,height:u+1-c}},changePathData(t,e,i){t.forEach(function(o){var r=o.values;switch(o.type){case"M":case"L":r[0]=e(r[0]),r[1]=i(r[1]);break;case"C":r[0]=e(r[0]),r[1]=i(r[1]),r[2]=e(r[2]),r[3]=i(r[3]),r[4]=e(r[4]),r[5]=i(r[5]);break;default:break}})},pathDataArrayToD(t){for(var e=[],i=0,o=t.length;i<o;i++)for(var r=t[i],n=0,a=r.length;n<a;n++){var s=r[n],l=s.values;e.push(s.type+l.join(" "))}return e.join("")},linesScale(t,e){function i(o){o[0]*=e,o[1]*=e}e!==1&&t.forEach(function(o){o.forEach(i)})},getMinMax(t){var e,i,o,r,n;return t.forEach(function(a){a.forEach(function(s){(e===n||s[0]<e)&&(e=s[0]),(i===n||s[1]<i)&&(i=s[1]),(o===n||s[0]>o)&&(o=s[0]),(r===n||s[1]>r)&&(r=s[1])})}),{minX:e||0,minY:i||0,maxX:o||0,maxY:r||0}},linesOffset(t,e,i){function o(r){r[0]+=e,r[1]+=i}!e&&!i||t.forEach(function(r){r.forEach(o)})},lines2PathDataString(t){if(!t||!t.length)return"";function e(n,a){return(a===0?"M":" L")+n[0]+" "+n[1]}function i(n){return n.map(e).join("")+"Z"}if(t.groups){var o=t.groups.map(function(n){var a=n.map(function(s){return t[s]}).map(i).join("");return a});return o}var r=t.map(i).join("");return r}};var Pio=L(s$());function wXe(){function t(h=0,f=0){this.x=h,this.y=f}t.prototype.copy=function(){return new t(this.x,this.y)};function e(h,f,g){var b=h.length,y=f*g;this.w=f,this.h=g,this.size=y,y==b?this.data=new Int8Array(h):this.data=new Int8Array(y)}e.prototype.at=function(h,f){return h>=0&&h<this.w&&f>=0&&f<this.h&&this.data[this.w*f+h]===1},e.prototype.index=function(h){var f=new t;return f.y=Math.floor(h/this.w),f.x=h-f.y*this.w,f},e.prototype.flip=function(h,f){this.at(h,f)?this.data[this.w*f+h]=0:this.data[this.w*f+h]=1},e.prototype.copy=function(){return new e(this.data,this.w,this.h)};function i(){this.area=0,this.len=0,this.curve={},this.pt=[],this.minX=1e5,this.minY=1e5,this.maxX=-1,this.maxY=-1}function o(h){this.n=h,this.tag=new Array(h),this.c=new Array(h*3),this.alphaCurve=0,this.vertex=new Array(h),this.alpha=new Array(h),this.alpha0=new Array(h),this.beta=new Array(h)}var r=null,n=[],a={turnpolicy:"minority",turdsize:0,optcurve:!0,alphamax:1,opttolerance:.2};function s(h){var f;for(f in h)h.hasOwnProperty(f)&&a.hasOwnProperty(f)&&(a[f]=h[f])}function l(){let h=1e5,f=1e5,g=-1,b=-1;for(let y of n)h=Math.min(h,y.minX),f=Math.min(f,y.minY),g=Math.max(g,y.maxX),b=Math.max(b,y.maxY);return{x:h,y:f,width:g+1-h,height:b+1-f}}function c(h,f){var g=h.copy(),b=new t(0,0),y,w=[];function x(I){for(var A=g.w*I.y+I.x;A<g.size&&g.data[A]!==1;)A++;return A<g.size&&g.index(A)}function S(I,A){var D,E,N;for(D=2;D<5;D++){for(N=0,E=-D+1;E<=D-1;E++)N+=g.at(I+E,A+D-1)?1:-1,N+=g.at(I+D-1,A+E-1)?1:-1,N+=g.at(I+E-1,A-D)?1:-1,N+=g.at(I-D,A+E)?1:-1;if(N>0)return 1;if(N<0)return 0}return 0}function T(I){var A=new i,D=I.x,E=I.y,N=0,R=1,v;for(A.sign=h.at(I.x,I.y)?"+":"-";A.pt.push(new t(D,E)),D>A.maxX&&(A.maxX=D),D<A.minX&&(A.minX=D),E>A.maxY&&(A.maxY=E),E<A.minY&&(A.minY=E),A.len++,D+=N,E+=R,A.area-=D*R,!(D===I.x&&E===I.y);){var k=g.at(D+(N+R-1)/2,E+(R-N-1)/2),P=g.at(D+(N-R-1)/2,E+(R+N-1)/2);P&&!k?f.turnpolicy==="right"||f.turnpolicy==="black"&&A.sign==="+"||f.turnpolicy==="white"&&A.sign==="-"||f.turnpolicy==="majority"&&S(D,E)||f.turnpolicy==="minority"&&!S(D,E)?(v=N,N=-R,R=v):(v=N,N=R,R=-v):P?(v=N,N=-R,R=v):k||(v=N,N=R,R=-v)}return A}function M(I){var A=I.pt[0].y,D=I.len,E,N,R,v,k,P;for(k=1;k<D;k++)if(E=I.pt[k].x,N=I.pt[k].y,N!==A){for(v=A<N?A:N,R=I.maxX,P=E;P<R;P++)g.flip(P,v);A=N}}for(;b=x(b);)y=T(b),M(y),y.area>f.turdsize&&w.push(y);return w}function d(h,f){function g(){this.data=[0,0,0,0,0,0,0,0,0]}g.prototype.at=function(U,F){return this.data[U*3+F]};function b(U,F,K,te,ae){this.x=U,this.y=F,this.xy=K,this.x2=te,this.y2=ae}function y(U,F){return U>=F?U%F:U>=0?U:F-1-(-1-U)%F}function w(U,F){return U.x*F.y-U.y*F.x}function x(U,F,K){return U<=K?U<=F&&F<K:U<=F||F<K}function S(U){return U>0?1:U<0?-1:0}function T(U,F){var K=new Array(3),te,ae,pe;for(K[0]=F.x,K[1]=F.y,K[2]=1,pe=0,te=0;te<3;te++)for(ae=0;ae<3;ae++)pe+=K[te]*U.at(te,ae)*K[ae];return pe}function M(U,F,K){var te=new t;return te.x=F.x+U*(K.x-F.x),te.y=F.y+U*(K.y-F.y),te}function I(U,F){var K=new t;return K.y=S(F.x-U.x),K.x=-S(F.y-U.y),K}function A(U,F){var K=I(U,F);return K.y*(F.x-U.x)-K.x*(F.y-U.y)}function D(U,F,K){var te,ae,pe,Z;return te=F.x-U.x,ae=F.y-U.y,pe=K.x-U.x,Z=K.y-U.y,te*Z-pe*ae}function E(U,F,K,te){var ae,pe,Z,ee;return ae=F.x-U.x,pe=F.y-U.y,Z=te.x-K.x,ee=te.y-K.y,ae*ee-Z*pe}function N(U,F,K){var te,ae,pe,Z;return te=F.x-U.x,ae=F.y-U.y,pe=K.x-U.x,Z=K.y-U.y,te*pe+ae*Z}function R(U,F,K,te){var ae,pe,Z,ee;return ae=F.x-U.x,pe=F.y-U.y,Z=te.x-K.x,ee=te.y-K.y,ae*Z+pe*ee}function v(U,F){return Math.sqrt((U.x-F.x)*(U.x-F.x)+(U.y-F.y)*(U.y-F.y))}function k(U,F,K,te,ae){var pe=1-U,Z=new t;return Z.x=pe*pe*pe*F.x+3*(pe*pe*U)*K.x+3*(U*U*pe)*te.x+U*U*U*ae.x,Z.y=pe*pe*pe*F.y+3*(pe*pe*U)*K.y+3*(U*U*pe)*te.y+U*U*U*ae.y,Z}function P(U,F,K,te,ae,pe){var Z,ee,ce,ne,oe,re,Y,X,ie,de;return Z=E(U,F,ae,pe),ee=E(F,K,ae,pe),ce=E(K,te,ae,pe),ne=Z-2*ee+ce,oe=-2*Z+2*ee,re=Z,Y=oe*oe-4*ne*re,ne===0||Y<0?-1:(X=Math.sqrt(Y),ie=(-oe+X)/(2*ne),de=(-oe-X)/(2*ne),ie>=0&&ie<=1?ie:de>=0&&de<=1?de:-1)}function O(U){var F,K,te;U.x0=U.pt[0].x,U.y0=U.pt[0].y,U.sums=[];var ae=U.sums;for(ae.push(new b(0,0,0,0,0)),F=0;F<U.len;F++)K=U.pt[F].x-U.x0,te=U.pt[F].y-U.y0,ae.push(new b(ae[F].x+K,ae[F].y+te,ae[F].xy+K*te,ae[F].x2+K*K,ae[F].y2+te*te))}function _(U){var F=U.len,K=U.pt,te,ae=new Array(F),pe=new Array(F),Z=new Array(4);U.lon=new Array(F);var ee=[new t,new t],ce=new t,ne=new t,oe=new t,re,Y,X,ie,de,fe,ye,Le,Re=0;for(Y=F-1;Y>=0;Y--)K[Y].x!=K[Re].x&&K[Y].y!=K[Re].y&&(Re=Y+1),pe[Y]=Re;for(Y=F-1;Y>=0;Y--){for(Z[0]=Z[1]=Z[2]=Z[3]=0,te=(3+3*(K[y(Y+1,F)].x-K[Y].x)+(K[y(Y+1,F)].y-K[Y].y))/2,Z[te]++,ee[0].x=0,ee[0].y=0,ee[1].x=0,ee[1].y=0,Re=pe[Y],ie=Y;;){if(re=0,te=(3+3*S(K[Re].x-K[ie].x)+S(K[Re].y-K[ie].y))/2,Z[te]++,Z[0]&&Z[1]&&Z[2]&&Z[3]){ae[Y]=ie,re=1;break}if(ce.x=K[Re].x-K[Y].x,ce.y=K[Re].y-K[Y].y,w(ee[0],ce)<0||w(ee[1],ce)>0||(Math.abs(ce.x)<=1&&Math.abs(ce.y)<=1||(ne.x=ce.x+(ce.y>=0&&(ce.y>0||ce.x<0)?1:-1),ne.y=ce.y+(ce.x<=0&&(ce.x<0||ce.y<0)?1:-1),w(ee[0],ne)>=0&&(ee[0].x=ne.x,ee[0].y=ne.y),ne.x=ce.x+(ce.y<=0&&(ce.y<0||ce.x<0)?1:-1),ne.y=ce.y+(ce.x>=0&&(ce.x>0||ce.y<0)?1:-1),w(ee[1],ne)<=0&&(ee[1].x=ne.x,ee[1].y=ne.y)),ie=Re,Re=pe[ie],!x(Re,Y,ie)))break}re===0&&(oe.x=S(K[Re].x-K[ie].x),oe.y=S(K[Re].y-K[ie].y),ce.x=K[ie].x-K[Y].x,ce.y=K[ie].y-K[Y].y,de=w(ee[0],ce),fe=w(ee[0],oe),ye=w(ee[1],ce),Le=w(ee[1],oe),X=1e7,fe<0&&(X=Math.floor(de/-fe)),Le>0&&(X=Math.min(X,Math.floor(-ye/Le))),ae[Y]=y(ie+X,F))}for(X=ae[F-1],U.lon[F-1]=X,Y=F-2;Y>=0;Y--)x(Y+1,ae[Y],X)&&(X=ae[Y]),U.lon[Y]=X;for(Y=F-1;x(y(Y+1,F),X,U.lon[Y]);Y--)U.lon[Y]=X}function j(U){function F(fe,ye,Le){var Re=fe.len,Ne=fe.pt,Te=fe.sums,Pe,Oe,Ue,Ve,ze,He,Ye,ke,Be,Xe,Ge,Ke,pt,ot,Qe=0;return Le>=Re&&(Le-=Re,Qe=1),Qe===0?(Pe=Te[Le+1].x-Te[ye].x,Oe=Te[Le+1].y-Te[ye].y,Ve=Te[Le+1].x2-Te[ye].x2,Ue=Te[Le+1].xy-Te[ye].xy,ze=Te[Le+1].y2-Te[ye].y2,He=Le+1-ye):(Pe=Te[Le+1].x-Te[ye].x+Te[Re].x,Oe=Te[Le+1].y-Te[ye].y+Te[Re].y,Ve=Te[Le+1].x2-Te[ye].x2+Te[Re].x2,Ue=Te[Le+1].xy-Te[ye].xy+Te[Re].xy,ze=Te[Le+1].y2-Te[ye].y2+Te[Re].y2,He=Le+1-ye+Re),Ge=(Ne[ye].x+Ne[Le].x)/2-Ne[0].x,Ke=(Ne[ye].y+Ne[Le].y)/2-Ne[0].y,ot=Ne[Le].x-Ne[ye].x,pt=-(Ne[Le].y-Ne[ye].y),Ye=(Ve-2*Pe*Ge)/He+Ge*Ge,ke=(Ue-Pe*Ke-Oe*Ge)/He+Ge*Ke,Be=(ze-2*Oe*Ke)/He+Ke*Ke,Xe=pt*pt*Ye+2*pt*ot*ke+ot*ot*Be,Math.sqrt(Xe)}var K,te,ae,pe,Z=U.len,ee=new Array(Z+1),ce=new Array(Z+1),ne=new Array(Z),oe=new Array(Z+1),re=new Array(Z+1),Y=new Array(Z+1),X,ie,de;for(K=0;K<Z;K++)de=y(U.lon[y(K-1,Z)]-1,Z),de==K&&(de=y(K+1,Z)),de<K?ne[K]=Z:ne[K]=de;for(te=1,K=0;K<Z;K++)for(;te<=ne[K];)oe[te]=K,te++;for(K=0,te=0;K<Z;te++)re[te]=K,K=ne[K];for(re[te]=Z,ae=te,K=Z,te=ae;te>0;te--)Y[te]=K,K=oe[K];for(Y[0]=0,ee[0]=0,te=1;te<=ae;te++)for(K=Y[te];K<=re[te];K++){for(ie=-1,pe=re[te-1];pe>=oe[K];pe--)X=F(U,pe,K)+ee[pe],(ie<0||X<ie)&&(ce[K]=pe,ie=X);ee[K]=ie}for(U.m=ae,U.po=new Array(ae),K=Z,te=ae-1;K>0;te--)K=ce[K],U.po[te]=K}function B(U){function F(Ye,ke,Be,Xe,Ge){for(var Ke=Ye.len,pt=Ye.sums,ot,Qe,ut,rt,ht,ct,wt,zt,gt,Qt,yt,jt=0;Be>=Ke;)Be-=Ke,jt+=1;for(;ke>=Ke;)ke-=Ke,jt-=1;for(;Be<0;)Be+=Ke,jt-=1;for(;ke<0;)ke+=Ke,jt+=1;ot=pt[Be+1].x-pt[ke].x+jt*pt[Ke].x,Qe=pt[Be+1].y-pt[ke].y+jt*pt[Ke].y,ut=pt[Be+1].x2-pt[ke].x2+jt*pt[Ke].x2,rt=pt[Be+1].xy-pt[ke].xy+jt*pt[Ke].xy,ht=pt[Be+1].y2-pt[ke].y2+jt*pt[Ke].y2,ct=Be+1-ke+jt*Ke,Xe.x=ot/ct,Xe.y=Qe/ct,wt=(ut-ot*ot/ct)/ct,zt=(rt-ot*Qe/ct)/ct,gt=(ht-Qe*Qe/ct)/ct,Qt=(wt+gt+Math.sqrt((wt-gt)*(wt-gt)+4*zt*zt))/2,wt-=Qt,gt-=Qt,Math.abs(wt)>=Math.abs(gt)?(yt=Math.sqrt(wt*wt+zt*zt),yt!==0&&(Ge.x=-zt/yt,Ge.y=wt/yt)):(yt=Math.sqrt(gt*gt+zt*zt),yt!==0&&(Ge.x=-gt/yt,Ge.y=zt/yt)),yt===0&&(Ge.x=Ge.y=0)}var K=U.m,te=U.po,ae=U.len,pe=U.pt,Z=U.x0,ee=U.y0,ce=new Array(K),ne=new Array(K),oe=new Array(K),re=new Array(3),Y,X,ie,de,fe,ye=new t;for(U.curve=new o(K),X=0;X<K;X++)ie=te[y(X+1,K)],ie=y(ie-te[X],ae)+te[X],ce[X]=new t,ne[X]=new t,F(U,te[X],ie,ce[X],ne[X]);for(X=0;X<K;X++)if(oe[X]=new g,Y=ne[X].x*ne[X].x+ne[X].y*ne[X].y,Y===0)for(ie=0;ie<3;ie++)for(de=0;de<3;de++)oe[X].data[ie*3+de]=0;else for(re[0]=ne[X].y,re[1]=-ne[X].x,re[2]=-re[1]*ce[X].y-re[0]*ce[X].x,fe=0;fe<3;fe++)for(de=0;de<3;de++)oe[X].data[fe*3+de]=re[fe]*re[de]/Y;var Le,Re,Ne,Te,Pe,Oe,Ue,Ve,ze,He;for(X=0;X<K;X++){for(Le=new g,Re=new t,ye.x=pe[te[X]].x-Z,ye.y=pe[te[X]].y-ee,ie=y(X-1,K),fe=0;fe<3;fe++)for(de=0;de<3;de++)Le.data[fe*3+de]=oe[ie].at(fe,de)+oe[X].at(fe,de);for(;;){if(Pe=Le.at(0,0)*Le.at(1,1)-Le.at(0,1)*Le.at(1,0),Pe!==0){Re.x=(-Le.at(0,2)*Le.at(1,1)+Le.at(1,2)*Le.at(0,1))/Pe,Re.y=(Le.at(0,2)*Le.at(1,0)-Le.at(1,2)*Le.at(0,0))/Pe;break}for(Le.at(0,0)>Le.at(1,1)?(re[0]=-Le.at(0,1),re[1]=Le.at(0,0)):Le.at(1,1)?(re[0]=-Le.at(1,1),re[1]=Le.at(1,0)):(re[0]=1,re[1]=0),Y=re[0]*re[0]+re[1]*re[1],re[2]=-re[1]*ye.y-re[0]*ye.x,fe=0;fe<3;fe++)for(de=0;de<3;de++)Le.data[fe*3+de]+=re[fe]*re[de]/Y}if(Ne=Math.abs(Re.x-ye.x),Te=Math.abs(Re.y-ye.y),Ne<=.5&&Te<=.5){U.curve.vertex[X]=new t(Re.x+Z,Re.y+ee);continue}if(Oe=T(Le,ye),Ve=ye.x,ze=ye.y,Le.at(0,0)!==0)for(He=0;He<2;He++)Re.y=ye.y-.5+He,Re.x=-(Le.at(0,1)*Re.y+Le.at(0,2))/Le.at(0,0),Ne=Math.abs(Re.x-ye.x),Ue=T(Le,Re),Ne<=.5&&Ue<Oe&&(Oe=Ue,Ve=Re.x,ze=Re.y);if(Le.at(1,1)!==0)for(He=0;He<2;He++)Re.x=ye.x-.5+He,Re.y=-(Le.at(1,0)*Re.x+Le.at(1,2))/Le.at(1,1),Te=Math.abs(Re.y-ye.y),Ue=T(Le,Re),Te<=.5&&Ue<Oe&&(Oe=Ue,Ve=Re.x,ze=Re.y);for(fe=0;fe<2;fe++)for(de=0;de<2;de++)Re.x=ye.x-.5+fe,Re.y=ye.y-.5+de,Ue=T(Le,Re),Ue<Oe&&(Oe=Ue,Ve=Re.x,ze=Re.y);U.curve.vertex[X]=new t(Ve+Z,ze+ee)}}function V(U){var F=U.curve,K=F.n,te=F.vertex,ae,pe,Z;for(ae=0,pe=K-1;ae<pe;ae++,pe--)Z=te[ae],te[ae]=te[pe],te[pe]=Z}function G(U){var F=U.curve.n,K=U.curve,te,ae,pe,Z,ee,ce,ne,oe,re;for(te=0;te<F;te++)ae=y(te+1,F),pe=y(te+2,F),re=M(1/2,K.vertex[pe],K.vertex[ae]),ee=A(K.vertex[te],K.vertex[pe]),ee!==0?(Z=D(K.vertex[te],K.vertex[ae],K.vertex[pe])/ee,Z=Math.abs(Z),ce=Z>1?1-1/Z:0,ce=ce/.75):ce=4/3,K.alpha0[ae]=ce,ce>=f.alphamax?(K.tag[ae]="CORNER",K.c[3*ae+1]=K.vertex[ae],K.c[3*ae+2]=re):(ce<.55?ce=.55:ce>1&&(ce=1),ne=M(.5+.5*ce,K.vertex[te],K.vertex[ae]),oe=M(.5+.5*ce,K.vertex[pe],K.vertex[ae]),K.tag[ae]="CURVE",K.c[3*ae+0]=ne,K.c[3*ae+1]=oe,K.c[3*ae+2]=re),K.alpha[ae]=ce,K.beta[ae]=.5;K.alphacurve=1}function Q(U){function F(){this.pen=0,this.c=[new t,new t],this.t=0,this.s=0,this.alpha=0}function K(Ue,Ve,ze,He,Ye,ke,Be){var Xe=Ue.curve.n,Ge=Ue.curve,Ke=Ge.vertex,pt,ot,Qe,ut,rt,ht,ct,wt,zt,gt,Qt,yt,jt,ni,Ii,Mo,_i,So,nr,Do,go,Dr,cr;if(Ve==ze||(pt=Ve,rt=y(Ve+1,Xe),ot=y(pt+1,Xe),ut=ke[ot],ut===0))return 1;for(wt=v(Ke[Ve],Ke[rt]),pt=ot;pt!=ze;pt=ot)if(ot=y(pt+1,Xe),Qe=y(pt+2,Xe),ke[ot]!=ut||S(E(Ke[Ve],Ke[rt],Ke[ot],Ke[Qe]))!=ut||R(Ke[Ve],Ke[rt],Ke[ot],Ke[Qe])<wt*v(Ke[ot],Ke[Qe])*-.999847695156)return 1;if(Qt=Ge.c[y(Ve,Xe)*3+2].copy(),yt=Ke[y(Ve+1,Xe)].copy(),jt=Ke[y(ze,Xe)].copy(),ni=Ge.c[y(ze,Xe)*3+2].copy(),ht=Be[ze]-Be[Ve],ht-=D(Ke[0],Ge.c[Ve*3+2],Ge.c[ze*3+2])/2,Ve>=ze&&(ht+=Be[Xe]),So=D(Qt,yt,jt),nr=D(Qt,yt,ni),Do=D(Qt,jt,ni),go=So+Do-nr,nr==So||(cr=Do/(Do-go),Dr=nr/(nr-So),Mo=nr*cr/2,Mo===0))return 1;for(_i=ht/Mo,ct=2-Math.sqrt(4-_i/.3),He.c[0]=M(cr*ct,Qt,yt),He.c[1]=M(Dr*ct,ni,jt),He.alpha=ct,He.t=cr,He.s=Dr,yt=He.c[0].copy(),jt=He.c[1].copy(),He.pen=0,pt=y(Ve+1,Xe);pt!=ze;pt=ot){if(ot=y(pt+1,Xe),cr=P(Qt,yt,jt,ni,Ke[pt],Ke[ot]),cr<-.5||(Ii=k(cr,Qt,yt,jt,ni),wt=v(Ke[pt],Ke[ot]),wt===0)||(zt=D(Ke[pt],Ke[ot],Ii)/wt,Math.abs(zt)>Ye)||N(Ke[pt],Ke[ot],Ii)<0||N(Ke[ot],Ke[pt],Ii)<0)return 1;He.pen+=zt*zt}for(pt=Ve;pt!=ze;pt=ot){if(ot=y(pt+1,Xe),cr=P(Qt,yt,jt,ni,Ge.c[pt*3+2],Ge.c[ot*3+2]),cr<-.5||(Ii=k(cr,Qt,yt,jt,ni),wt=v(Ge.c[pt*3+2],Ge.c[ot*3+2]),wt===0)||(zt=D(Ge.c[pt*3+2],Ge.c[ot*3+2],Ii)/wt,gt=D(Ge.c[pt*3+2],Ge.c[ot*3+2],Ke[ot])/wt,gt*=.75*Ge.alpha[ot],gt<0&&(zt=-zt,gt=-gt),zt<gt-Ye))return 1;zt<gt&&(He.pen+=(zt-gt)*(zt-gt))}return 0}var te=U.curve,ae=te.n,pe=te.vertex,Z=new Array(ae+1),ee=new Array(ae+1),ce=new Array(ae+1),ne=new Array(ae+1),oe,re,Y,X,ie=new F,de,fe,ye,Le,Re,Ne,Te,Pe=new Array(ae),Oe=new Array(ae+1);for(re=0;re<ae;re++)te.tag[re]=="CURVE"?Pe[re]=S(D(pe[y(re-1,ae)],pe[re],pe[y(re+1,ae)])):Pe[re]=0;for(ye=0,Oe[0]=0,de=te.vertex[0],re=0;re<ae;re++)fe=y(re+1,ae),te.tag[fe]=="CURVE"&&(Le=te.alpha[fe],ye+=.3*Le*(4-Le)*D(te.c[re*3+2],pe[fe],te.c[fe*3+2])/2,ye+=D(de,te.c[re*3+2],te.c[fe*3+2])/2),Oe[re+1]=ye;for(Z[0]=-1,ee[0]=0,ce[0]=0,Y=1;Y<=ae;Y++)for(Z[Y]=Y-1,ee[Y]=ee[Y-1],ce[Y]=ce[Y-1]+1,re=Y-2;re>=0&&(X=K(U,re,y(Y,ae),ie,f.opttolerance,Pe,Oe),!X);re--)(ce[Y]>ce[re]+1||ce[Y]==ce[re]+1&&ee[Y]>ee[re]+ie.pen)&&(Z[Y]=re,ee[Y]=ee[re]+ie.pen,ce[Y]=ce[re]+1,ne[Y]=ie,ie=new F);for(oe=ce[ae],Re=new o(oe),Ne=new Array(oe),Te=new Array(oe),Y=ae,re=oe-1;re>=0;re--)Z[Y]==Y-1?(Re.tag[re]=te.tag[y(Y,ae)],Re.c[re*3+0]=te.c[y(Y,ae)*3+0],Re.c[re*3+1]=te.c[y(Y,ae)*3+1],Re.c[re*3+2]=te.c[y(Y,ae)*3+2],Re.vertex[re]=te.vertex[y(Y,ae)],Re.alpha[re]=te.alpha[y(Y,ae)],Re.alpha0[re]=te.alpha0[y(Y,ae)],Re.beta[re]=te.beta[y(Y,ae)],Ne[re]=Te[re]=1):(Re.tag[re]="CURVE",Re.c[re*3+0]=ne[Y].c[0],Re.c[re*3+1]=ne[Y].c[1],Re.c[re*3+2]=te.c[y(Y,ae)*3+2],Re.vertex[re]=M(ne[Y].s,te.c[y(Y,ae)*3+2],pe[y(Y,ae)]),Re.alpha[re]=ne[Y].alpha,Re.alpha0[re]=ne[Y].alpha,Ne[re]=ne[Y].s,Te[re]=ne[Y].t),Y=Z[Y];for(re=0;re<oe;re++)fe=y(re+1,oe),Re.beta[re]=Ne[re]/(Ne[re]+Te[fe]);Re.alphacurve=1,U.curve=Re}for(var H=0;H<h.length;H++){var q=h[H];O(q),_(q),j(q),B(q),q.sign==="-"&&V(q),G(q),f.optcurve&&Q(q)}}function u(h,f,g,b){return b&&s(b),r=new e(h,f,g),n=c(r,a),d(n,a),n}function p(){r=null,n=[]}function m(){function h(w){var x=w.n,S,T,M,I,A=[];for(T=(x-1)*3+2,A[0]={type:"M",values:[w.c[T].x,w.c[T].y]},S=0;S<x;S++)w.tag[S]==="CURVE"?(M=S*3,I=M+1,T=I+1,A.push({type:"C",values:[w.c[M].x,w.c[M].y,w.c[I].x,w.c[I].y,w.c[T].x,w.c[T].y]})):w.tag[S]==="CORNER"&&(M=S*3+1,I=M+1,A.push({type:"L",values:[w.c[M].x,w.c[M].y]}),A.push({type:"L",values:[w.c[I].x,w.c[I].y]}));return A}var f=n.length,g,b,y=[];for(b=0;b<f;b++)g=n[b].curve,y[b]=h(g);return y}return{setOptions:s,process:u,clear:p,getPathDataArray:m,getBBox:l}}var K6e=L(z()),{locals:Xkr}=Pio.default,$kr=be.bind(Xkr),Oio=(0,y5.forwardRef)(({formData:t,onCanvasUpdated:e},i)=>{let{imageInfo:o,checkedPlaceTrueColor:r,tolerance:n,simplify:a,smoothness:s,despeckle:l,antiphase:c,whiteAsTransparent:d}=t,[u,p]=(0,y5.useState)(null),[m,h]=(0,y5.useState)(null),[f,g]=(0,y5.useState)(null),[b,y]=(0,y5.useState)(1);(0,y5.useLayoutEffect)(()=>{I()},[o.originUrl]),(0,y5.useLayoutEffect)(()=>{if(m){let D=A(m,f,t);D&&(e==null||e(D))}},[m,f,r,n,a,s,l,c,d]),(0,y5.useImperativeHandle)(i,()=>({clear:()=>w.current.clear()}));let w=(0,y5.useRef)(wXe()),x=be($kr("canvas-preview"),"display-flex flex-main-axis-end flex-lateral-axis-center"),S=r?"none":void 0,T=(0,y5.useRef)(),M=(0,y5.useRef)();return(0,K6e.jsxs)("div",{className:x,style:{display:S,width:"100%",overflow:"hidden"},children:[(0,K6e.jsx)("canvas",{ref:T,width:300,height:300}),(0,K6e.jsx)("canvas",{hidden:!0,ref:M,width:300,height:300})]});async function I(){let D=T.current,{checkedPlaceTrueColor:E}=t,{originUrl:N}=o;if(E)return;let{image:R,msg:v}=await new B2().readUrlAsImage(N);if(h(R),!R){y(1),p(null);return}let k=B6e(D,R);g(k);let P=T.current,O=M.current,_=O.getContext("2d");P.width-=0,O.width-=0;let j=Math.ceil(Math.sqrt(1600*1600/(k.sourceImageWidth*k.sourceImageHeight)));y(j);let B=j*k.sourceImageWidth,V=j*k.sourceImageHeight;O.width=B,O.height=V,_.drawImage(R,0,0,B,V);let G=_.getImageData(0,0,B,V);p(G)}function A(D,E,N){let R=T.current,v=M.current,k=R.getContext("2d"),P=v.getContext("2d");R.width-=0,v.width-=0;let O=v.width,_=v.height;P.drawImage(D,0,0,O,_);let j=Cm.getColorTolerance(+N.tolerance),B=Cm.getSimplifyTolerance(+N.simplify),V=Cm.getCornerThreshold(+N.smoothness),G=Cm.getDespeckleThreshold(+N.despeckle),Q=N.antiphase,H=N.whiteAsTransparent,q=Cm.data2blackWhite(u.data,parseInt(O),j,Q,H),U=w.current;U.process(q,parseInt(O),parseInt(_),{alphamax:V,opttolerance:B,turdsize:G*b*b});let F=U.getBBox(),K=U.getPathDataArray();v.width-=0,P.beginPath(),K.forEach(function(Z){Cm.drawPathData(Z,P)}),P.fillStyle="#000",P.fill("evenodd"),k.drawImage(v,E.drawMarginLeft,E.drawMarginTop,E.drawImageWidth,E.drawImageHeight);let te=0,ae=0;K.length?F.width>F.height?(te=300,ae=te*F.height/F.width):(ae=300,te=ae*F.width/F.height):te=ae=0;let pe=K;return pe.bbox=F,{pixelImageSize:{width:te,height:ae},shapeLines:pe}}});var P7=L(z()),Zae="insert trueColorImage..",{locals:e9r}=qkt.default,CXe=be.bind(e9r),t9r=({containerId:t,dialogId:e,formData:i})=>{let o=(0,xXe.useRef)(),r=J(),n=ca(),a=(0,xXe.useRef)(i),s=a.current,l=(0,xXe.useRef)({baseImageSize:{width:0,height:0},shapeLines:{}}),c=b=>{let y={...a.current,...b};r$i(y.imageInfo)||(y.checkedPlaceTrueColor=!1),Cio(y),n()},d=b=>{let{width:y,height:w}=b,x=+Number(WI(y,"pixel",s.unit)).toFixed(3),S=+Number(WI(w,"pixel",s.unit)).toFixed(3),T=x/S;c({imageWidth:x,imageHeight:S,imageOriginRatio:T})};async function u(b){switch(b){case"confirm":{m();break}case"close":case"cancel":p();break}}function p(){cre.emptyAll(),o.current.clear(),le.close()}return Bt(b=>{!b.altKey&&!b.ctrlKey&&!b.shiftKey&&(b.key=="Escape"&&u("cancel"),b.key=="Enter"&&u("confirm"))}).keyboard(t),Bt(()=>{u("close")}).close(t),(0,P7.jsxs)("div",{className:CXe("pop-content-container"),style:{height:"auto"},children:[(0,P7.jsx)("style",{children:String(qkt.default)}),(0,P7.jsxs)("div",{className:CXe("pop-content-wrapper"),children:[(0,P7.jsxs)("div",{className:CXe("display-flex flex-nowrap"),style:{paddingBottom:"5px"},children:[(0,P7.jsx)(Sio,{formData:s,onCanvasUpdated:({pixelImageSize:b})=>{s.checkedPlaceTrueColor&&d(b)}}),(0,P7.jsx)(Oio,{ref:o,formData:s,onCanvasUpdated:({pixelImageSize:b,shapeLines:y})=>{s.checkedPlaceTrueColor||d(b);let w=l.current;w.baseImageSize=b,w.shapeLines=y}})]}),(0,P7.jsx)(kio,{formData:s,onChange:b=>c(b)})]}),(0,P7.jsxs)("div",{className:CXe("pop-footer-wrapper"),children:[(0,P7.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>u("confirm"),children:"Confirm"}),(0,P7.jsx)(Me,{onClick:()=>u("cancel"),children:"Cancel"})]})]});async function m(){if(!s.imageWidth||!s.imageHeight)return;let{size:b}=s.imageInfo,{checkedPlaceTrueColor:y}=s,w={action:"confirm",dialogId:e,formData:{}};if(!y)w.formData={type:"Image",pathDataString:g()},await oo(w),p();else{vt(.1,Zae);let{hasPermission:x}=await Mv();if((N0||!wi)&&!x)return X2("You don't have permission to save!"),vt(1,Zae),null;h(b),setTimeout(async()=>{let S=await f();S&&(w.formData=S,await oo(w),p())})}}function h(b){b>hV&&De({type:"info",msg:"The photo you upload exceeds 5M, the system will automatically compress it for you"})}async function f(){let{originUrl:b,name:y,actualFormat:w,actualOriginalFormat:x}=s.imageInfo,{imageWidth:S,imageHeight:T,unit:M}=s,I=new B2;vt(.15,Zae);let A=await I.readFileAsDataURL(cre.get(b),!0);if(w&&(A=I.replaceDataUrlMineType(A,w)),x&&!["jpg","png"].includes(w)&&(A=await I.changeFormatBack(A,x)),A=await I.compressImageByCanvas(A,hV),vt(.5,Zae),!await aje(A,!1))return vt(1,Zae),null;vt(.67,Zae);let E={type:"TrueColorPicture",dataUrl:A,width:S,height:T,unit:M,fileName:y};return vt(1,Zae),E}function g(){let{imageWidth:b,imageHeight:y,unit:w}=s,x={width:WI(b,w,"pixel"),height:WI(y,w,"pixel")},S=l.current.baseImageSize,T=l.current.shapeLines,M=x.width/S.width,I=[0,0,0,0],A=+I[0]+I[2]/2,D=+I[1]+I[3]/2,E,N=T.bbox;if(T[0]&&T[0][0]&&T[0][0].type){A-=N.width*M/2,D-=N.height*M/2,A=+li.toFixed(A,2,!0),D=+li.toFixed(D,2,!0);let R=function(P){return P*M+A},v=function(P){return P*M+D},k=T;k.forEach(function(P){Cm.changePathData(P,R,v)}),E=Cm.pathDataArrayToD(k)}else{let R=TXe(T);Cm.linesScale(R,M);let v=Cm.getMinMax(R);A-=(v.maxX-v.minX)/2,D-=(v.maxY-v.minY)/2,A=+li.toFixed(A,2,!0),D=+li.toFixed(D,2,!0),Cm.linesOffset(R,A,D),E=Cm.lines2PathDataString(R)}return{path:E||null,width:b,height:y,unit:w}}},Rio=t9r;var jio=L(z());async function _io(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i,{data:l}=t;Y6e.imageInfo=l,Y6e.checkedPlaceTrueColor=!1,le.open({id:o,title:r,width:n,height:a,closed:s,children:(0,jio.jsx)(Rio,{containerId:o,dialogId:t.dialogId,formData:Y6e})})}var Tge=L(Vi());var i9r={createListsHtmlString(t=[]){let e='<ul class="comm-ulist">';return t.forEach((i,o)=>{e+=`
                <li class="comm-dark-list-item" data-tagitem="primitive-item">
                    <div style="width: 100%;" class="display-flex flex-main-axis-start flex-lateral-axis-start flex-nowrap">
                        <div data-tagitem="item-title" style="width: 60%; padding: 3px 0; font-weight: 900; max-width: 100px;">${me.i18n(String(i.title))}</div>
                        <div class="display-flex flex-main-axis-start flex-lateral-axis-start flex-wrap">${this.createContentItem(i.content)}</div>
                    </div>
                </li>
            `}),e+="</ul>",e},createContentItem(t=[]){let e="";return t.forEach((i,o)=>{e+=`
                <div style="padding: 3px 12px;" class="display-flex flex-main-axis-start flex-lateral-axis-start flex-nowrap">
					<span style="font-weight: 900;">${me.i18n(String(i.label))}: </span>
					<span>${me.i18n(String(i.value))}</span>
				</div>
            `}),e}},Bio=i9r;function zio(t={}){return{storage:{componentContainerElement:null,pressedkeys:[],...t},createRender(e={},i={}){let o=Bio.createListsHtmlString(e.lists);return{contentHtml:`
					<div 
						class="suspension-container" 
						id="${e.containerId}" 
						tabindex="0"
						style="box-sizing: border-box; border: 1px solid rgb(80, 80, 80, 0.5); box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 10px 5px; padding: 5px 5px; position: fixed; background-color: rgb(0, 0, 0, 0.85); left: 0; top: 0; width: 0; height: 0;"
					>
                        <div class="suspension-wapper" style="overflow: auto; width: 100%; height: 100%;">
                            <div data-tagitem="lists-wrapper">${o}</div>
                        </div>
                    </div>
                `}},async render(e={}){let i=this.createRender({...this.storage,...e});if(this.storage={...this.storage,...e},m3(document.getElementById(this.storage.containerId)),!e.lists.length){console.warn("\u6570\u636E\u4E3A\u7A7A...");return}document.body.appendChild(document.createRange().createContextualFragment(i.contentHtml));let o=document.getElementById(this.storage.containerId),r=Xi(),n;r&&(n=r.getBoundingClientRect());let a=window.devicePixelRatio;a=a>1?a:1;let s=e.left/a,l=e.top/a;o.style.left=`${s+(n.left||0)-2}px`,o.style.top=`${l+(n.top||0)-2}px`,o.style.width="auto",o.style.maxWidth=`${this.storage.maxWidth}px`,o.style.minWidth=`${this.storage.minWidth}px`,o.style.minHeight=`${this.storage.minHeight}px`,o.style.maxHeight=`${this.storage.maxHeight}px`,o.style.zIndex="999"},initial(e={}){this.storage.componentContainerElement=document.getElementById(`${this.storage.containerId}`),this.storage.$componentContainerElement=(0,Tge.default)(this.storage.componentContainerElement),this.storage.contentData=e,this.setContainerRect(),this.setItemTitleRect(),this.fixMenuPosition(),Promise.resolve().then(()=>{let i=this.storage.componentContainerElement;i&&i.focus&&i.focus()})},bindEvent(){let e=this,i=this.storage.componentContainerElement;if(!i)return;(0,Tge.default)(i).on("blur",function(a){a.stopPropagation(),a.preventDefault(),e.$closeDialog()});let o=i.querySelector('[data-tagitem="lists-wrapper"]');(0,Tge.default)(o).on("click","li",function(a){a.stopPropagation(),a.preventDefault(),e.handleItemClickAction(this)});let r=null,n=null;(0,Tge.default)(o).off("mouseenter").on("mouseenter","li",function(a){a.stopPropagation(),a.preventDefault(),window.clearTimeout(r),window.clearTimeout(n),r=window.setTimeout(()=>{e.handleItemHoverInAction(this)},150)}),(0,Tge.default)(o).off("mouseleave").on("mouseleave","li",function(a){a.stopPropagation(),a.preventDefault(),window.clearTimeout(r),n=window.setTimeout(()=>{e.handleItemHoverOutAction(this)},50)})},methodsGather:{$closeDialog(){let e=this.storage.componentContainerElement;try{e.parentElement.removeChild(e)}catch{}},handleItemClickAction(e){let i=e.getAttribute("data-tagitem");switch(String(i)){case"primitive-item":{let o=this.getSelectedTagret(e);if(o){o.dialogId=this.storage.dialogId;let r=Xi();C.windowBridge.publish("pcbdialogCMD",o,r.contentWindow),this.$closeDialog()}}break;default:}},handleItemHoverInAction(e){let i=e.getAttribute("data-tagitem");switch(String(i)){case"primitive-item":{let o=this.getSelectedTagret(e);if(o){o.action="highlightTarget",o.dialogId=this.storage.dialogId;let r=Xi();C.windowBridge.publish("pcbdialogModify",o,r.contentWindow)}}break;default:}},handleItemHoverOutAction(e){let i=e.getAttribute("data-tagitem");switch(String(i)){case"primitive-item":{let o=this.getSelectedTagret(e);if(o){o.action="cancelHighlightTarget",o.dialogId=this.storage.dialogId;let r=Xi();C.windowBridge.publish("pcbdialogModify",o,r.contentWindow)}}break;default:}},getSelectedTagret(e){if(!e)return null;let i=-1,o=e.parentElement.children,r=this.storage.contentData;return Array.from(o).forEach((n,a)=>{n===e&&(i=a)}),i>=0&&r.lists[i]?r.lists[i]:null},setContainerRect(){let e=bt["display-overlap-primitive"],i=this.storage.componentContainerElement;i&&(i.style.height=e.height,i.style.maxHeight=e.maxHeight+"px",i.style.overflowX="hidden",i.style.overflowY="auto")},setItemTitleRect(){let e=this.storage.componentContainerElement;if(!e)return;let i=e.querySelectorAll('[data-tagitem="item-title"]'),o=0;Array.from(i).forEach((r,n)=>{let a=r.getBoundingClientRect();o=o<=a.width?a.width:o}),Array.from(i).forEach((r,n)=>{r.style.width=`${o}px`,r.style.flex=`0 0 ${o}px`})},fixMenuPosition(){let e=document.getElementById(this.storage.containerId);if(!e)return;let[i,o]=[document.body.offsetWidth,document.body.offsetHeight],[r,n,a,s]=[e.offsetHeight,e.offsetWidth,e.offsetLeft,e.offsetTop];n+a>i&&(e.style.left=`${a-n}px`),r+s>o&&(e.style.top=`${s-r}px`)}}}}function Fio(t){let e=t.methodsGather||{};for(let i in e)e.hasOwnProperty(i)&&!t[i]&&(t[i]=e[i].bind(t))}function Xkt(){this.handlers={}}Xkt.prototype.$on=function(t,e){!t||typeof e!="function"||(this.handlers[t]||(this.handlers[t]=[]),this.handlers[t].push(e))};Xkt.prototype.$emit=async function(){if(this.handlers[arguments[0]])for(let t=0;t<this.handlers[arguments[0]].length;t++)this.handlers[arguments[0]][t]&&await this.handlers[arguments[0]][t].call(this,arguments[1])};var Uio=Xkt;function Vio(t,e){let i=t.methodsGather||{},o=e.$on.bind(e),r=i.$closeDialog?i.$closeDialog.bind(t):new Function,n=i.$closeDialog?i.$closeDialog.bind(t):new Function,a=i.$updateView?i.$updateView.bind(t):new Function;return{...t,$close:r,$closeDialog:n,$on:o,$updateView:a}}async function SXe(t={},e,i,o){let r={...t},n=i({...bt[e],...o||{}});Fio(n);let a=new Uio,s=await n.render(r,()=>{});return await n.initial(r),s&&s.$el[0]&&(s.$el[0].storage=n.storage),n.bindEvent(),Vio(n,a)}async function Hio(t={},e){return await SXe({...JSON.parse(JSON.stringify(t))},e,zio)}var Yio=L(Vi());function o9r(t){let e=String(t.value),i=String(t.label);if(i=="Layer Pair")try{let o=e.match(/(.*) to (.*)/i);e=me.i18n(o[1])+" "+me.i18n("to")+" "+me.i18n(o[2])}catch{e=String(t.value)}return i=="FPCMaterial"&&(i="Material",e=me._context_i18n("FPCStiffenerAttr",e,null)),["Footprint","Device","Text","Net","Name"].indexOf(i)<0&&(e=me.i18n(e)),`
		<div style="padding: 3px 12px;"><span style="font-weight: 900;">${me.i18n(i)}: </span><span>${e}</span></div>
	`}function r9r(t){let e=t.module,i=t.sourceData,o=i.errData,r=i.param,n=t.needTranslate||!0,a=String(t.value),s=String(t.label);if(typeof r.obj<"u"){let l="";o.objType&&(l=me.i18n(o.objType)),l===""&&o.obj&&(l=me.i18n(o.obj)),l!==""&&o.net&&(l+=`(${o.net})`),l!==""&&o.obj&&(l+=`: ${me.i18n(o.obj)}`),l===""&&(l=r.obj),r.obj=me.i18n(l)}if(typeof r.obj1<"u"){let l="";o.obj1Type&&(l=me.i18n(o.obj1Type)),l===""&&(o.obj1Suffix?l=o.obj1Suffix:l=me.i18n(o.obj1)),l!==""&&(o.obj1Suffix?l+=o.obj1Suffix:(o.net&&(l+=`(${o.net})`),o.obj1&&(l+=`: ${me.i18n(o.obj1)}`))),l===""&&(l=r.obj1),r.obj1=me.i18n(l)}if(typeof r.obj2<"u"){let l="";o.obj2Type&&(l=me.i18n(o.obj2Type)),l===""&&(o.obj2Suffix?l=o.obj2Suffix:l=me.i18n(o.obj2)),l!==""&&(o.obj2Suffix?l+=o.obj2Suffix:(o.net&&(l+=`(${o.net})`),o.obj2&&(l+=`: ${me.i18n(o.obj2)}`))),l===""&&(l=r.obj2),r.obj2=me.i18n(l)}return a=me.i18n(i.str,r),`
		<div style="padding: 3px 12px;"><span style="font-weight: 900;">${me.i18n(s)}: </span><span>${a}</span></div>
	`}var n9r={createListsHtmlString(t){let e='<ul class="comm-ulist">';for(let i=0;i<t.length;i++){let o=t[i].hiddenTitle===!0?"display: none;":"";e+=`
			<li class="comm-dark-list-item" data-tagitem="primitive-item" style="padding-top: 2px; padding-bottom: 2px;">
				<div style="width: 100%;" class="display-flex flex-main-axis-between flex-lateral-axis-start flex-nowrap">
					<div data-tagitem="item-title" style="width: 65px; flex: 0 0 65px; padding: 3px 0; font-weight: 900; min-width: max-content; ${o}">${me.i18n(String(t[i].title))}</div>
					<div style="width: 100%;" class="display-flex flex-main-axis-start flex-lateral-axis-start flex-wrap">${this.createContentItem(t[i].content)}</div>
				</div>
			</li>
		`}return e+="</ul>",e},createContentItem(t=[]){let e="";for(let i of t){if(i.module==="DRC"){e+=r9r(i);continue}e+=o9r(i)}return e}},Gio=n9r;function Wio(t={}){return{storage:{componentContainerElement:null,...t},createRender(e={},i={}){let o=Gio.createListsHtmlString(e.itemData);return{contentHtml:`
					<div 
						class="suspension-container" 
						id="${e.containerId}" 
						tabindex="0"
						style="border: 1px solid rgb(80, 80, 80, 0.5); box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 10px 5px; position: absolute; background-color: rgb(0, 0, 0); left: 0; top: 0; width: 0; height: 0;"
					>
                        <div class="suspension-wapper" style="overflow: auto; width: 100%; height: 100%;">
                            <div data-tagitem="lists-wrapper">${o}</div>
                        </div>
                    </div>
                `}},async render(e={}){let i=this.createRender({...this.storage,...e});if(document.getElementById(this.storage.containerId))return;document.body.appendChild(document.createRange().createContextualFragment(i.contentHtml));let o=document.getElementById(this.storage.containerId),r=await ei(),n;r&&(n=r.getBoundingClientRect()),o.style.left=`${e.left+(n.left||0)-2}px`,o.style.top=`${e.top+(n.top||0)-2}px`,o.style.width=`${this.storage.width?this.storage.width+"px":"auto"}`,o.style.height=`${this.storage.height?this.storage.height+"px":"auto"}`,o.style.minWidth=`${this.storage.minWidth}px`,o.style.maxWidth=`${this.storage.maxWidth}px`,o.style.minHeight=`${this.storage.minHeight}px`,o.style.maxHeight=`${this.storage.maxHeight}px`,o.style.zIndex="999"},initial(e={}){this.storage.componentContainerElement=document.getElementById(`${this.storage.containerId}`),this.storage.$componentContainerElement=(0,Yio.default)(this.storage.componentContainerElement),this.storage.contentData=e},bindEvent(){},methodsGather:{$closeDialog(){let e=this.storage.componentContainerElement||document.getElementById(`${this.storage.containerId}`);try{e.parentElement.removeChild(e)}catch{}}}}}async function Qio(t={},e){return await SXe({...JSON.parse(JSON.stringify(t))},e,Wio)}var k1=L(Se());var t9t=L(Z6e());var UY=L(Se());var Sge=L(z()),l9r=(t,e,i,o)=>{let r={height:"25px",lineHeight:"25px",textOverflow:"ellipsis",width:"116px",whiteSpace:"nowrap",overflow:"hidden"};if(o=="Name"&&delete r.width,e&&(r.cursor="not-allowed",r.background="rgb(241, 241, 241)"),i!=null){let n=jd(i);n=n.split(" "),n.forEach(a=>{var l;let s=new RegExp(a,"ig");t=(l=String(t))==null?void 0:l.replace(s,c=>c?`<span class=${ns("hightlight")}>${c}</span>`:"")})}return(0,Sge.jsx)("div",{style:r,dangerouslySetInnerHTML:{__html:t}})},$kt=t=>{let{type:e,value:i,onBlur:o,highLightValue:r}=t,[n,a]=(0,UY.useState)(!1),[s,l]=(0,UY.useState)(i),c=(0,UY.useRef)(null),d={display:"block",width:"16px",height:"16px",margin:"auto 0",marginLeft:"11px",cursor:"move",flexShrink:0,filter:"var(--common-icon-color)"},u=h=>{e=="Priority"&&!isNaN(Number(h))?(Number(h)<=0&&(h="1"),l(h)):e=="Name"&&l(h)};(0,UY.useEffect)(()=>{i!==s&&l(i)},[i]);let p=(0,UY.useCallback)(h=>{h.stopPropagation(),h.preventDefault()},[]),m=h=>{h=="add"?c.current&&(c.current.addEventListener("dragstart",p),c.current.addEventListener("dragover",p),c.current.addEventListener("dragenter",p),c.current.addEventListener("dragend",p),c.current.addEventListener("drop",p)):h=="remove"&&c.current&&(c.current.removeEventListener("dragstart",p),c.current.removeEventListener("dragover",p),c.current.removeEventListener("dragenter",p),c.current.removeEventListener("dragend",p),c.current.removeEventListener("drop",p))};return(0,Sge.jsxs)("div",{onDoubleClick:()=>{a(!0),m("add")},style:{display:e=="Name"?"flex":""},draggable:!0,ref:c,children:[e=="Name"?(0,Sge.jsx)("span",{className:"icon icon_operate_movedrag",style:d}):null,n?(0,Sge.jsx)(Kt,{value:s,enterTriggerBlur:!0,focusTriggerSelect:!0,autoFocus:!0,onChange:h=>{u(h)},onBlur:h=>{o(h,l),a(!1),m("remove")}}):l9r(s,!1,r,e)]})};async function qio(){Dt({title:"Tips",icon:"warning",content:me.i18n("You need to close the copper manager before drawing, whether to save and close immediately."),width:400,contentHeight:100,height:"auto",showConfirm:!0,showCancel:!0,closed:!0,confirmButtonSize:"lg",cancelButtonSize:"lg",onConfirm:t=>{t.closeDialog=!1,t.closeDlg(),C.messageBus.publish("closeCopperManagerDialog",{command:!0})},onCancel:async()=>{let t=await ei();t&&C.windowBridge.publish("userCancelCurrentCommand",{command:!0},t.contentWindow)},onClose:async()=>{let t=await ei();t&&C.windowBridge.publish("userCancelCurrentCommand",{command:!0},t.contentWindow)}})}var Xio=L(Z6e()),l$=L(z()),$io=t=>{let{upAble:e,downAble:i,selectIds:o,handleRowUpMove:r,handleRowDownMove:n,turnSelect2Top:a,turnSelect2Bot:s,deleItem:l}=t;Ae(Xio.default);let c=be.bind(Jae),d=J();return(0,l$.jsxs)("div",{className:c("opertateBar"),children:[(0,l$.jsx)("span",{className:c(`icon_operate icon_operate_up ${e?"":"disabled"}`),title:d("Move Up"),"data-ops":"up","data-test":"Move Up",onClick:()=>e&&r()}),(0,l$.jsx)("span",{"data-test":"Move Down",className:c(`icon_operate icon_operate_down ${i?"":"disabled"}`),title:d("Move Down"),onClick:()=>i&&n()}),(0,l$.jsx)("span",{className:c(`icon_operate icon-eda-text-align-top ${e?"":"disabled"}`),title:d("Sticky on Top"),"data-test":"Sticky on Top",onClick:()=>e&&a()}),(0,l$.jsx)("span",{"data-test":"Sticky on Bot",className:c(`icon_operate icon-eda-text-align-bottom ${i?"":"disabled"}`),title:d("Sticky on Bot"),onClick:()=>i&&s()}),(0,l$.jsx)("span",{"data-test":"delete",className:`icon_operate icon_operate_delete ${(o==null?void 0:o.length)>0?"":"disabled"}`,title:d("delete"),onClick:()=>(o==null?void 0:o.length)>0&&l()})]})};var d$=L(Se());var eoo=L(Z6e());var c$=L(z()),too=t=>{let{searchValue:e,setSearchValue:i,setSelectRowIndex:o,setSelectIds:r,tableData:n,layerList:a,judgeEdgeFun:s,setSelectRowData:l,mouseEnterHighLight:c,refreshSearch:d,isExpand:u,actualTableData:p,expandNode:m}=t;Ae(eoo.default);let h=J(),f=be.bind(Jae),[g,b]=(0,d$.useState)(0),[y,w]=(0,d$.useState)(""),[x,S]=(0,d$.useState)([]),T=D=>{let E=[],N=["name","index","layer","net"],R=D.toLowerCase();for(let v in p){if(u[v])continue;let k=p[v],P=!1;for(let O of k){for(let _ in O)if(N.includes(_)&&typeof O[_]=="string"){if(O[_].toLowerCase().includes(R)){P=!0;break}}else if(_==="layer"&&h(a.find(B=>(B==null?void 0:B.value)==O[_]).text).toLowerCase().includes(R)){P=!0;break}if(P){m(v);break}}}for(let v=0;v<n.length;v++){let k=n[v];for(let P in k){if(k!=null&&k.layerName)break;if(N.includes(P)){if(P==="layer"){if(h(a.find(_=>(_==null?void 0:_.value)==k[P]).text).toLowerCase().includes(R)){E.push(v);break}}else if(P==="index"){String(k[P]).includes(D+"")&&E.push(v);break}else if(k[P].toLowerCase().includes(R)){E.push(v);break}}}}return E};(0,d$.useEffect)(()=>{if(e){let D=()=>{let N=T(e).map(R=>n[R].id);S(N),N.length>0?I(N[0],1):A(!1)};D(),d&&D()}},[e,d]);let M=(0,d$.useMemo)(()=>PI(i,500),[i]),I=(D,E)=>{let N=n.findIndex(R=>R.id==D);o([N]),r([D]),l(n[N]),s([D],n),c({action:"highLightSelectPour",data:[D]}),b(E)},A=(D=!0)=>{D&&(i(""),w("")),b(0),S([])};return(0,c$.jsxs)("div",{className:f("searchBar"),children:[(0,c$.jsx)("input",{onChange:D=>{let E=D.target.value;w(E),M(E),E==""&&A()},value:y!=null?y:"",className:f("fittinginput-input"),type:"text"}),(0,c$.jsx)("span",{className:f("icon-eda-move-left-line prev"),onClick:()=>{g-1>0&&I(x[g-2],g-1)}}),(0,c$.jsx)("span",{className:f("icon-eda-move-right-line next"),onClick:()=>{g<x.length&&I(x[g],g+1)}}),(0,c$.jsx)("span",{className:f("number"),children:`${g}/${x.length}`}),(0,c$.jsx)("span",{onClick:()=>A(),className:f("icon-eda-x-circle-small")})]})};var ioo=L(Z6e()),qae=L(z()),ooo=t=>{let{isEdit:e,handleBtnEvent:i}=t;Ae(ioo.default);let o=J(),r=be.bind(Jae);return(0,qae.jsxs)("div",{className:r("pop-footer-wrapper"),children:[(0,qae.jsx)(Me,{"data-test":"Rule",type:"primary",style:{marginRight:"8px"},onClick:()=>i("cmd"),children:o("Rule")}),(0,qae.jsx)(Me,{"data-test":"Apply",disabled:!e,type:"primary",style:{marginRight:"8px"},onClick:()=>i("apply"),children:o("Apply")}),(0,qae.jsx)(Me,{"data-test":"Confirm",type:"primary",style:{marginRight:"8px"},onClick:()=>i("confirm"),children:"Confirm"}),(0,qae.jsx)(Me,{"data-test":"Cancel",onClick:()=>i("cancel"),children:"Cancel"})]})};function u$(t,e){let i=t==null?0:t.length;if(!i)return-1;let o=i-1;for(;o>=0;){if(e(t[o],o,t))return o;o--}return-1}var Mge=(t,e)=>Array.from(t).map(i=>e.findIndex(o=>o.id==i));var Cu=L(Se()),loo=L(Se());var e9t=L(noo());var Iy=L(z()),aoo={position:"fixed",width:"inherit",maxHeight:"192px",zIndex:9999,overflow:"auto",background:"var(--bg-color-drop-down-menu)",fontSize:"12px",color:"var(--font-color-drop-down-menuItem)",boxShadow:"0 0 4px #9b9b9b"},soo={height:"24px",padding:"0 8px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",lineHeight:"24px",cursor:"pointer"},c9r={background:"var(--bg-color-hover-drop-down-menuItem)",color:"var(--font-color-hover-drop-down-menuItem)"},VY=be.bind(e9t.default.locals),d9r={boxSizing:"border-box",position:"relative",display:"flex",overflow:"hidden",width:"100%",height:"24px",borderRadius:"2px",fontSize:"12px",fontFamily:"Microsoft YaHei",border:"1px solid var(--common-border-color-1)",color:"var(--common-font-color)",boxShadow:"none",alignItems:"center",padding:"0 20px 0 4px",cursor:"pointer"};function u9r(t,e){let{value:i,createNewItem:o,filterBlankItems:r,selectList:n,translateOption:a,style:s,selectAlwaysShow:l,selectListStyle:c={},clickSelectItemNotSetInput:d,disabled:u,focusTriggerSelect:p,clear:m,stillNeedClear:h,showDropDownIcon:f,dataTest:g,highLightValue:b,onSelectItemClick:y,onClick:w,onClearClick:x,optionContentRender:S}=t;Ae(e9t.default);let[T,M]=(0,Cu.useState)(i),[I,A]=(0,Cu.useState)(n||[]),[D,E]=(0,Cu.useState)(!!l),N=(0,Cu.useRef)(null),[R,v]=(0,Cu.useState)(-1),k=(0,Cu.useRef)(null),P=(0,Cu.useRef)(D),O=(0,Cu.useRef)(T),_=(0,Cu.useRef)(R),j=J();(0,loo.useImperativeHandle)(e,()=>N.current);let[B,V]=(0,Cu.useState)(!1),G=(0,Cu.useRef)(null);(0,Cu.useEffect)(()=>{if(b!=null){let fe=jd(b);fe=fe.split(" "),fe.forEach(ye=>{var Ne;let Le=new RegExp(ye,"ig"),Re=(Ne=String(T))==null?void 0:Ne.replace(Le,Te=>Te?`<span class=${VY("hightlight")}>${Te}</span>`:"");G.current=(0,Iy.jsx)("span",{style:{paddingLeft:"4px"},dangerouslySetInnerHTML:{__html:Re}}),V(!0)})}},[b]),(0,Cu.useEffect)(()=>{O.current=T},[T]),(0,Cu.useEffect)(()=>{P.current=D},[D]),(0,Cu.useEffect)(()=>{t.selectList&&A(t.selectList)},[t.selectList]),(0,Cu.useEffect)(()=>{M(t.value)},[t.value]);let Q=(0,Cu.useRef)(!1),H=fe=>{Q.current=!0;let ye=fe.target.value.trim();if(M(ye),t.selectList){v(-1),U();let Le=ye.toLowerCase();A(t.selectList.filter(Re=>Re.toLowerCase().includes(Le)))}},q=fe=>{var ye;vn(fe)&&(fe=O.current),l||(E(!1),X.current&&(X.current.removeEventListener("dragstart",de),X.current.removeEventListener("dragover",de),X.current.removeEventListener("dragenter",de),X.current.removeEventListener("dragend",de),X.current.removeEventListener("drop",de))),v(-1),t.validator&&!t.validator(fe)&&(fe=t.value,M(fe)),(ye=t.onChange)==null||ye.call(t,fe)},U=(0,Cu.useCallback)(()=>{if(!~_.current)return;let fe=k.current,{scrollHeight:ye,clientHeight:Le}=fe,Re=fe.children[_.current],Ne=Re?Re.offsetTop:0;Ne>ye-Le?Ne=ye-Le:Ne<Le/2?Ne=0:Ne-=Le/2,fe.scrollTop=Ne},[]);(0,Cu.useEffect)(()=>{_.current=R},[R]);let F=fe=>{if(I.length){if(fe.key==="ArrowDown"){fe.preventDefault(),fe.stopPropagation();let ye=_.current+1;ye>I.length-1&&(ye=0),v(ye),U()}else if(fe.key==="ArrowUp"){fe.preventDefault(),fe.stopPropagation();let ye=_.current-1;ye<0&&(ye=I.length-1),v(ye),U()}}else fe.key==="Enter"&&Q.current&&q()};(0,Cu.useEffect)(()=>(D&&window.addEventListener("keydown",F,!0),()=>{window.removeEventListener("keydown",F,!0)}),[D]);let K=fe=>{v(fe)},te=fe=>{d||M(I[fe]),q(I[fe]),y==null||y(I[fe])},ae=()=>{let fe=~R?I[R]:void 0;q(fe)},pe=fe=>{fe.key==="Enter"&&ae(),P.current&&(fe.key==="ArrowUp"||fe.key==="ArrowDown")&&fe.stopPropagation()},Z=fe=>a?a.deleteBrace?j(fe.slice(1,fe.length-1)):j(fe):"",ee=()=>I.map((fe,ye)=>{let Le=Z(fe),Re=(()=>{let Te=typeof fe=="string"?fe.toLocaleLowerCase().indexOf(T.toLocaleLowerCase()):-1,Pe;if(Te>=0){let Oe=(0,Iy.jsx)("em",{style:{fontStyle:"normal"},className:"hightlight",children:fe.slice(Te,Te+T.length)});Pe=(0,Iy.jsxs)("span",{children:[fe.slice(0,Te),Oe,fe.slice(Te+T.length)]})}else Pe=fe;return(0,Iy.jsxs)(Iy.Fragment,{children:[Pe,Le?(0,Iy.jsx)("span",{style:{float:"right"},children:Le}):""]})})(),Ne=ye===R?{...soo,...c9r}:soo;return(0,Iy.jsx)("div",{title:Le?`${fe}|${Le}`:"",style:Ne,onPointerDown:Te=>Te.preventDefault(),onPointerMove:()=>K(ye),onPointerUp:()=>te(ye),children:S?S(fe):Re},fe+ye)}),[ce,ne]=(0,Cu.useState)(aoo),[oe,re,Y]=La(),X=(0,Cu.useRef)(null);(0,Cu.useEffect)(()=>(N.current&&re(N.current),()=>{Y()}),[N.current]);function ie(){var fe,ye;if(N.current){let{left:Le,top:Re,width:Ne,height:Te}=getComputedStyle(N.current),Pe=(ye=(fe=N.current)==null?void 0:fe.getBoundingClientRect().top)!=null?ye:0,Oe=parseFloat(Le),Ue=parseFloat(Ne),Ve=parseFloat(Te),{innerHeight:ze}=window,He=Pe<ze>>1?{key:"top",value:Pe+Ve}:{key:"bottom",value:ze-Pe};ne({...aoo,width:`${Ue}px`,left:`${Oe}px`,[He.key]:`${He.value}px`})}}(0,Cu.useEffect)(()=>{oe&&ie()},[oe]),(0,Cu.useEffect)(()=>{t.focus&&N.current.focus()},[]);let de=(0,Cu.useCallback)(fe=>{fe.stopPropagation(),fe.preventDefault()},[]);return(0,Cu.useEffect)(()=>{D&&I.length&&X.current&&(X.current.addEventListener("dragstart",de),X.current.addEventListener("dragover",de),X.current.addEventListener("dragenter",de),X.current.addEventListener("dragend",de),X.current.addEventListener("drop",de))},[D]),(0,Iy.jsxs)("div",{ref:X,style:{...t.style},tabIndex:10,onBlur:fe=>{q()},onClick:()=>{V(!1),D||E(!0)},draggable:!0,children:[B&&(0,Iy.jsxs)("div",{className:VY("input-wrap","display-flex flex-lateral-axis-center"),style:d9r,children:[G.current,f&&(0,Iy.jsx)("div",{className:VY("input-icon","display-flex flex-lateral-axis-center"),children:(0,Iy.jsx)("i",{className:VY("arr-icon"),onClick:()=>{u||(w==null||w(),ie(),E(!0))}})})]}),!B&&(0,Iy.jsxs)("div",{className:VY("input-wrap","display-flex flex-lateral-axis-center"),onClick:()=>{V(!1)},children:[(0,Iy.jsx)("input",{"data-test":g,className:be(VY("input",{clear:m}),t.className),style:{width:"100%"},type:"text",ref:N,disabled:u,autoComplete:"off",onFocus:()=>{p&&N.current&&N.current.select()},onInput:H,onKeyUp:pe,value:T,onClick:()=>{w==null||w(),ie(),E(!0)},onBlur:()=>{var fe;Q.current=!1,(fe=t.blur)==null||fe.call(t,!1)}}),(0,Iy.jsxs)("div",{className:VY("input-icon","display-flex flex-lateral-axis-center"),children:[m&&(h||!u)&&(0,Iy.jsx)("i",{"data-test":`${g} Clear`,className:be(VY("icon-clear"),"icon-eda-x-circle"),onClick:x}),f&&(0,Iy.jsx)("i",{className:VY("arr-icon"),onClick:()=>{u||(w==null||w(),ie(),E(!0))}})]})]}),D&&I.length?(0,Iy.jsx)("div",{style:{...ce,...c},ref:k,onWheel:fe=>{fe.stopPropagation()},children:ee()}):null]})}var coo=(0,Cu.memo)((0,Cu.forwardRef)(u9r));var Xae=class t{static _swapItem(e,i,o){return e[o]=e.splice(i,1,e[o])[0],e}static moveUpItem(e,i){return i==0?e:t._swapItem(e,i,i-1)}static moveDownItem(e,i){return i==e.length-1?e:t._swapItem(e,i,i+1)}};var jp=L(z()),p9r="id",{locals:Jae}=t9t.default,m9r=({params:t})=>{Ae(t9t.default);let{containerId:e,dialogId:i}=t,o=J(),r=be.bind(Jae),n=t.layerList||[],a=t.netList||[],[s,l]=(0,k1.useState)([]),c=(0,k1.useRef)({}),[d,u]=(0,k1.useState)(!1),[p,m]=(0,k1.useState)(!1),[h,f]=(0,k1.useState)([]),[g,b]=(0,k1.useState)(),[y,w]=(0,k1.useState)(),x=(0,k1.useRef)(null),S=(0,k1.useRef)(null),[T,M]=(0,k1.useState)(void 0),[I,A]=(0,k1.useState)(0),[D,E]=(0,k1.useState)(!1);(0,k1.useEffect)(()=>{let Te=Object.values(t==null?void 0:t.table);if(Te.length>0){let Pe=[];Te.forEach(Oe=>{Oe.forEach((Ue,Ve)=>{Ve>0&&(Ue={...Ue,index:Ve}),Pe.push(Ue)})}),l(Pe),c.current=t==null?void 0:t.table,S.current=JSON.stringify(c.current)}},[t.table]);let N=(Te,Pe,Oe)=>{var Ge,Ke,pt,ot;let Ue=s.splice(s.findIndex(Qe=>Qe.id==Pe),1)[0],Ve=u$(s,Qe=>(Qe.layer||Qe.FlayerId)==Number(Te)),ze=s[Ve],He=c.current[Ue==null?void 0:Ue.parentName],Ye=c.current[(ze==null?void 0:ze.parentName)||(ze==null?void 0:ze.layerName)],ke=Ft(He,"id",Ue.id),Be=Ft(Ye,"id",ze.id);Ue.layer=Number(Te),Ue.parentName=ze.parentName||ze.layerName,s.splice(Ve+1,0,Ue),ke.data.layer=((Ge=Be.data)==null?void 0:Ge.layer)||((Ke=Be.data)==null?void 0:Ke.FlayerId),ke.data.parentName=((pt=Be.data)==null?void 0:pt.parentName)||((ot=Be.data)==null?void 0:ot.layerName);let Xe=He.splice(ke.index,1)[0];Ye.splice(Be.index+1,0,Xe),V(),l([...s]),Oe!=="pcb"&&ye("operate",{action:"refreshPanelData",data:{type:"layer",id:Pe,value:Te}})},R={};Object.keys(t.table).forEach(Te=>{R[Te]=!0});let[v,k]=(0,k1.useState)(R),P=(Te,Pe)=>{if(Te)s.every(Oe=>Oe.parentName!==Pe)&&(s.forEach((Oe,Ue)=>{Oe.layerName==Pe&&c.current[Oe.layerName].forEach((Ve,ze)=>{ze>0&&Ve.parentName==Pe&&s.splice(Ue+ze,0,Ve)})}),l([...s]));else if(s.some(Oe=>Oe.parentName==Pe)){let Oe=s.filter(Ve=>Ve.parentName!==Pe),Ue=Oe.map(Ve=>Ve.id);if(y&&y.length){let Ve=y.filter(ze=>Ue.includes(ze));w(Ve),f(Mge(Ve,s)),j(Ve,s)}l([...Oe])}V()},O=[{key:"name",name:o("Name"),width:.25,render(Te){let Pe=Oe=>{let Ue=Ft(s,"id",Te.row.id),Ve=Ft(c.current[Te.row.parentName],"id",Te.row.id);Ue.data&&(Ue.data.name=Oe),Ve.data&&(Ve.data.name=Oe),ye("operate",{action:"refreshPanelData",data:{type:"name",id:Te.row.id,value:Oe}}),l([...s]),E(!0)};if(Te.row.layerName){let Oe=v[Te.row.layerName],Ue=eP.includes(Te.row.layerName)?Te.row.layerName:o(Te.row.layerName);return(0,jp.jsxs)("div",{style:{userSelect:"none"},children:[(0,jp.jsx)("span",{title:o(Oe?"Collapse":"Expand"),"data-test":r(Oe?"tree-expanded":"tree-collapsed"),className:r(Oe?"tree-expanded":"tree-collapsed"),onClick:Ve=>{v[Te.row.layerName]=!Oe,k({...v}),P(!Oe,Te.row.layerName)}}),(0,jp.jsx)("span",{children:Ue})]})}return(0,jp.jsx)($kt,{value:Te.row.name,highLightValue:T,type:"Name",onBlur:Oe=>Pe(Oe.target.value)})}},{key:"index",name:o("Priority"),width:.2,render(Te){let{row:Pe}=Te,Oe=(Ue,Ve)=>{let ze=s.findIndex(Ye=>Ye.id==Pe.id),He=u$(s,Ye=>Ye.parentName==Pe.parentName);if(ze==He&&Ue>=He){Ve(Pe.index);return}Ue<1?Ue=s.findIndex(Ye=>(Ye==null?void 0:Ye.layerName)==Pe.parentName)+1:Ue>He?Ue=He:Ue=s.findIndex(Ye=>(Ye==null?void 0:Ye.parentName)==Pe.parentName&&Ye.index==Ue),s.splice(Ue,0,s.splice(ze,1)[0]),f([Ue]),V(),l([...s]),G()};return Pe.layerName?(0,jp.jsx)(jp.Fragment,{}):(0,jp.jsx)($kt,{type:"Priority",value:Pe.index,highLightValue:T,onBlur:(Ue,Ve)=>Oe(Number(Ue.target.value),Ve)})}},{key:"layer",name:o("Layer"),width:.25,render(Te){return Te.row.layerName?(0,jp.jsx)(jp.Fragment,{}):(n=n.map(Pe=>eP.includes(Pe.text)?{...Pe,showOriginalText:!0}:Pe),(0,jp.jsx)(xt,{disabled:!1,value:Te.row.layer,highLightValue:T,list:n,onChange:Pe=>{let Oe=u$(s,Ve=>(Ve.layer||Ve.FlayerId)==Number(Pe)),Ue=s[Oe];if(H(Ue,Te.row)){ie(Te.row.id,Te.rowNumber,"undo");return}ie(Te.row.id,Te.rowNumber,"undo"),N(Pe,Te.row.id)}}))}},{key:"net",name:o("Net"),width:.3,selectList:a,render(Te){if(Te.row.layerName)return(0,jp.jsx)(jp.Fragment,{});let Pe=Te.row||{},Oe=Pe.id,Ue=a.map(ze=>ze.value),Ve=ze=>{let He=ze.toUpperCase();x.current&&x.current[Oe]&&(x.current[Oe]=He);let Ye=Ft(s,"id",Oe);Ye.data&&(Ye.data.net=He,ye("operate",{action:"refreshPanelData",data:{type:"net",id:Oe,value:He}})),V(),l([...s]),G()};return(0,jp.jsx)("div",{style:{width:"100%",height:"25px",display:"flex",alignItems:"center",alignContent:"center"},children:(0,jp.jsx)(coo,{value:Pe.net,showDropDownIcon:!0,focusTriggerSelect:!0,highLightValue:T,style:{width:"92%"},onChange:ze=>Ve(ze),selectList:Ue})})}}],_=(Te,Pe)=>{if(Te.length===0)return!1;let Oe=new Set(Te),Ue=null;for(let He=0;He<Te.length&&!Ue;He++){let Ye=Pe.find(ke=>ke.id===Te[He]);Ye!=null&&Ye.parentName&&(Ue=Ye.parentName)}if(!Ue)return!1;let Ve=0,ze=0;for(let He of Pe)He.parentName===Ue&&(Ve++,Oe.has(He.id)&&ze++);return ze===Ve&&Ve>0},j=(Te,Pe)=>{var Ye;let Oe=()=>{u(!0),m(!0)},Ue=()=>{u(!1),m(!1)},Ve=()=>{u(!1),m(!0)},ze=()=>{u(!0),m(!1)},He=(ke,Be)=>{var Xe,Ge,Ke,pt,ot,Qe,ut;if((Xe=Pe[ke-1])!=null&&Xe.layerName&&((Ge=Pe[Be+1])!=null&&Ge.layerName)){Ue();return}else if((Ke=Pe[ke-1])!=null&&Ke.layerName&&!((pt=Pe[Be+1])!=null&&pt.layerName)){Ve();return}else if((ot=Pe[Be+1])!=null&&ot.layerName&&!((Qe=Pe[ke-1])!=null&&Qe.layerName)||!((ut=Pe[ke-1])!=null&&ut.layerName)&&Be+1==Pe.length){ze();return}else Oe()};if(Te.length==0){Ue();return}if(Le(Te,Pe)||Pe.length==0||Te.some(ke=>ke[0]=="F")){Ue();return}if(_(Te,Pe)){Ue();return}if(Te.length==1){let ke=Ft(Pe,"id",Te[0]);if(ke.index==Pe.length-1&&((Ye=Pe[ke.index-1])!=null&&Ye.layerName)){Ue();return}He(ke.index,ke.index)}else{let ke=B(Te,Pe,"actualIndex"),Be=ke[0],Xe=ke[ke.length-1];He(Be,Xe)}},B=(Te,Pe,Oe)=>{let Ue=[];return Te.forEach(Ve=>{let ze=Pe.findIndex(He=>He.id==Ve);ze!==-1&&(Oe=="actualIndex"?Ue.push({pority:Pe[ze].index,idx:ze}):Ue.push(Pe[ze].index))}),Oe=="actualIndex"?Ue.sort((Ve,ze)=>Ve.pority-ze.pority).map(Ve=>Ve.idx):Ue.sort((Ve,ze)=>Ve-ze)},V=()=>{let Te=1;s.map(Pe=>{if(Pe.layerName&&Te>1&&(Te=1),Pe.parentName)return Pe.index=Te,Te++,Pe}),E(!0)},G=Te=>{if(!g)return;let Pe=[];Te&&(g.parentName=Te),s.forEach(Oe=>{Oe.parentName&&(g==null?void 0:g.parentName)==(Oe==null?void 0:Oe.parentName)&&Pe.push(Oe)}),Pe.unshift(c.current[g.parentName||g.layerName][0]),c.current[g.parentName]=Pe},Q=Te=>{v[Te]=!0,k({...v}),P(!0,Te)},H=(Te,Pe)=>Te.layerName&&!v[Te.layerName]?(Q(Te.layerName),N(Te.FlayerId,Pe.id),!0):!1,q=(Te,Pe,Oe)=>{var Ke,pt,ot,Qe;if(Te===Pe)return-1;let Ue=s[Te],Ve=s[Pe],ze=!1;if(Te>Pe&&(Ve!=null&&Ve.FlayerId)?(Ve=s[Pe-1],ze=!0):Te<Pe&&(Ve!=null&&Ve.FlayerId)&&(ze=!0),H(Ve,Ue)){Oe&&ie(Ue.id,Te,"undo");return}if(Ue.id==Ve.id)return;let He=(ut,rt)=>{let ht=rt.layer||rt.FlayerId;ut.layer!==ht&&(Oe&&ie(ut.id,Te,"undo"),ye("operate",{action:"refreshPanelData",data:{type:"layer",id:ut.id,value:ht}})),ut.layer=ht,ut.parentName=rt.parentName||rt.layerName;let ct=s.splice(Te,1)[0];return s.splice(Pe,0,ct),Pe},Ye=c.current[Ue.parentName],ke=c.current[Ve.parentName||Ve.layerName],Be=Ft(Ye,"id",Ue.id),Xe=Ft(ke,"id",Ve.id);Be.data.layer=((Ke=Xe.data)==null?void 0:Ke.layer)||((pt=Xe.data)==null?void 0:pt.FlayerId),Be.data.parentName=((ot=Xe.data)==null?void 0:ot.parentName)||((Qe=Xe.data)==null?void 0:Qe.layerName);let Ge=Ye.splice(Be.index,1)[0];return ke.splice(ze?Xe.index+1:Xe.index,0,Ge),He(Ue,Ve)},U=(0,k1.useCallback)((Te,Pe,Oe)=>{if(Oe==-1){V(),l([...s]);return}F(Te,Pe)},[s]),F=(Te,Pe,Oe=!0)=>{q(Te,Pe,Oe)!=-1&&(V(),l([...s]))},K=(Te,Pe)=>(Pe===0||Te[Pe-1].layerName||([Te[Pe],Te[Pe-1]]=[Te[Pe-1],Te[Pe]]),Te),te=(Te,Pe)=>(Pe===Te.length-1||Te[Pe+1].layerName||([Te[Pe],Te[Pe+1]]=[Te[Pe+1],Te[Pe]]),Te),ae=(Te,Pe,Oe)=>{if(Le(Pe,Oe))return;let Ue=Pe,Ve=c.current[g.parentName];if(Ue.length==1){let ze=Ft(Oe,"id",g.id).index,He=Ft(Ve,"id",g.id).index;if(g.layerName||He<0||He>Ve.length)return;Te=="up"?(K(Oe,ze),K(Ve,He)):Te=="down"&&(te(Oe,ze),te(Ve,He)),V(),l([...Oe])}else{let ze=B(Ue,Oe,"pority"),He=Oe.findIndex(Ye=>Ye.parentName==g.parentName&&Ye.index==ze[Te=="up"?0:ze.length-1]);if(Te=="up")for(let Ye of ze){let ke=Oe.findIndex(Xe=>Xe.parentName==g.parentName&&Xe.index==Ye),Be=Ve.findIndex(Xe=>(Xe==null?void 0:Xe.parentName)==g.parentName&&Xe.name==Oe[ke].name);if(ke!==-1){if(Oe[He-1].layerName)break;Xae.moveUpItem(Oe,ke),Xae.moveUpItem(Ve,Be)}}else if(Te=="down")for(let Ye=ze.length-1;Ye>=0;Ye--){let ke=ze[Ye],Be=Oe.findIndex(Ge=>Ge.parentName==g.parentName&&Ge.index==ke),Xe=Ve.findIndex(Ge=>(Ge==null?void 0:Ge.parentName)==g.parentName&&Ge.name==Oe[Be].name);if(Be!==-1){if(Oe[He+1].layerName)break;Xae.moveDownItem(Oe,Be),Xae.moveDownItem(Ve,Xe)}}V(),l([...Oe])}f(Mge(Pe,Oe)),j(Pe,Oe)},pe=Gr(()=>{ae("up",y,s)},300),Z=Gr(()=>{ae("down",y,s)},300),ee=Gr(()=>{if(Le(y,s))return;let Te=y;if(Te.length==1){let Pe=s.findIndex(Ve=>Ve.id==Te[0]),Oe=s.splice(Pe,1),Ue=s.findIndex(Ve=>Ve.parentName==Oe[0].parentName);if(Ue==-1){s.splice(Pe,0,Oe[0]);return}s.splice(Ue,0,Oe[0])}else{let Pe=[],Oe;B(Te,s,"actualIndex").map(Ve=>s[Ve].id).forEach(Ve=>{let ze=s.findIndex(He=>He.id==Ve);if(ze!==-1){let He=s.splice(ze,1);Pe.push(He),Oe||(Oe=s.findIndex(Ye=>{var ke;return(Ye==null?void 0:Ye.layerName)==((ke=He[0])==null?void 0:ke.parentName)}))}}),Pe.forEach((Ve,ze)=>{s.splice(Oe+ze+1,0,Ve[0])})}V(),l([...s]),G(),f(Mge(y,s)),j(y,s)},300),ce=Gr(()=>{if(Le(y,s))return;let Te=y;if(Te.length==1){let Pe=s.findIndex(Oe=>Oe.id==Te[0]);if(Pe==u$(s,Oe=>Oe.parentName==s[Pe].parentName))return;{let Oe=u$(s,Ue=>Ue.parentName==s[Pe].parentName);s.splice(Oe,0,s.splice(Pe,1)[0])}}else{let Pe=[],Oe;B(Te,s,"actualIndex").map(Ve=>s[Ve].id).forEach(Ve=>{let ze=s.findIndex(He=>He.id==Ve);ze!==-1&&(Pe.push(s.splice(ze,1)),Oe||(Oe=s[ze].parentName))}),Pe.forEach(Ve=>{let ze=u$(s,He=>He.parentName==Oe);s.splice(ze+1,0,Ve[0])})}V(),l([...s]),G(),f(Mge(y,s)),j(y,s)},300),ne=Te=>{let Pe=Te||y;Pe.length!=0&&(Pe.forEach(Oe=>{let Ue=s.splice(s.findIndex(ze=>ze.id==Oe),1)[0],Ve=c.current[Ue==null?void 0:Ue.parentName];Ve.splice(Ve.findIndex(ze=>ze.id==Oe),1)}),V(),l([...s]),w([]),f(Mge(y,s)),j([],s),T&&A(I+=1))},oe=async()=>{let Te=y;await ye("apply"),oo({action:"cmd",dialogId:i,formData:{action:"rebuildSelected",data:Te}})},re=async()=>{await ye("apply"),await oo({action:"cmd",dialogId:i,formData:{action:"rebuildAll"}})};(0,k1.useEffect)(()=>{let Te={};s.forEach(Pe=>{Te[Pe.id]=Pe.net}),x.current=Te},[s]);let Y=(0,k1.useRef)(new Map),X=(0,k1.useRef)(new Map),ie=(Te,Pe,Oe)=>{if(Oe=="undo")if(!Y.current.get(Te))Y.current.set(Te,[Pe]);else{let Ue=Y.current.get(Te);Y.current.set(Te,Ue.concat(Pe))}else if(Oe=="redo")if(!X.current.get(Te))X.current.set(Te,[Pe]);else{let Ue=X.current.get(Te);X.current.set(Te,Ue.concat(Pe))}};(0,k1.useLayoutEffect)(()=>{let Te=C.messageBus.subscribe("saveAndCloseCopperDialog",Ve=>{Ve.data.open&&qio()}),Pe=C.messageBus.subscribe("closeCopperManagerDialog",Ve=>{Ve.command&&ye("confirm")}),Oe=C.messageBus.subscribe("refreshCopperMangerDialog",Ve=>{fe(Ve.data,s)}),Ue=C.messageBus.subscribe("modifyCopperMangerDialogParams",Ve=>{let{table:ze,netList:He,layerList:Ye}=Ve.data;if(Ve.action=="modify")Ve.data.forEach(ke=>{let Be=s.findIndex(Xe=>Xe.id==ke.id);switch(ke.key){case"net":s[Be].net=ke.value,l([...s]),Ft(c.current[s[Be].parentName],"id",ke.id).data.net=ke.value;break;case"layerId":let Xe=u$(s,Ke=>(Ke.layer||Ke.FlayerId)==Number(ke.value)),Ge=s[Xe];if(ke.source!=="panelModify"){if(ke.command=="undo"){let Ke=Y.current.get(ke.id);if(Ke&&Ke.length>0){Xe=Ke.pop(),ie(ke.id,Be,"redo"),F(Be,Xe,!1);return}}else if(ke.command=="redo"){let Ke=X.current.get(ke.id);if(Ke&&Ke.length>0){Xe=Ke.pop(),ie(ke.id,Be,"undo"),F(Be,Xe,!1);return}}}else ie(ke.id,Be,"undo");if(H(Ge,ke))return;N(ke.value,ke.id,"pcb");break;case"name":s[Be].name=ke.value,l([...s]),Ft(c.current[s[Be].parentName],"id",ke.id).data.name=ke.value;break}});else if(c.current=ze,ze=Object.values(ze),ze.length>0){let ke=[];ze.forEach(Be=>{Be.forEach((Xe,Ge)=>{Ge>0&&(Xe={...Xe,index:Ge}),ke.push(Xe)})}),fe(y,ke),l(ke)}});return()=>{Te.cancel(),Pe.cancel(),Oe.cancel(),Ue.cancel()}},[s,y]);let de=Te=>{let{action:Pe,data:Oe}=Te;ye("operate",{action:Pe,data:Oe})},fe=(Te,Pe)=>{if(!Te)return;let Oe=Te,Ue=[];Oe.forEach(Ve=>Ue.push(Pe.findIndex(ze=>ze.id==Ve))),w(Oe),f(Ue),b(Pe[Ue[0]]),j(Oe,Pe)},ye=(Te,Pe)=>{let Oe;if((Te==="confirm"||Te=="apply")&&(Te=="apply"&&E(!1),Oe={layerList:n,netList:a,table:c.current}),Te==="cmd"){let Ue=null;y&&y.length==1&&(Ue=y[0]),Oe={action:"callDesignRulesDialog",data:Ue}}Te==="operate"&&(Te="cmd",Oe={action:Pe.action,data:Pe.data}),oo({action:Te,dialogId:i,formData:Oe}),Te!=="cmd"&&Te!=="apply"&&le.destroy(e)};Bt(()=>{ye("close")}).close(e);let Le=(Te,Pe)=>{let Oe=!1,Ue=[];return Te.forEach((Ve,ze)=>{let He=Pe.findIndex(Ye=>Ye.id==Ve);He!=-1&&Pe[He].parentName&&(ze>0&&!Ue.includes(Pe[He].parentName)&&(Oe=!0),Ue.push(Pe[He].parentName))}),Oe},Re=()=>(0,jp.jsxs)("div",{className:"rebuildBar",children:[(0,jp.jsx)(Me,{type:"primary",style:{marginRight:"8px"},disabled:!y||y.length<=0,onClick:()=>(y==null?void 0:y.length)>0&&oe(),children:o("Rebuild Selected")}),(0,jp.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:re,children:o("Rebuild All")})]}),Ne=Te=>{["ArrowDown","ArrowUp"].includes(Te.code)&&Te.preventDefault()};return(0,k1.useEffect)(()=>(document.addEventListener("keydown",Ne),document.addEventListener("keypress",Ne),()=>{document.removeEventListener("keydown",Ne),document.removeEventListener("keypress",Ne)}),[]),(0,jp.jsxs)("div",{className:r("pop-content-container"),children:[(0,jp.jsxs)("div",{className:r("rule-operate"),children:[(0,jp.jsx)($io,{upAble:d,downAble:p,selectIds:y,handleRowUpMove:pe,handleRowDownMove:Z,turnSelect2Top:ee,turnSelect2Bot:ce,deleItem:ne}),(0,jp.jsx)(too,{searchValue:T,setSearchValue:M,setSelectRowIndex:f,setSelectIds:w,judgeEdgeFun:j,setSelectRowData:b,mouseEnterHighLight:de,tableData:s,layerList:n,refreshSearch:I,actualTableData:c.current,isExpand:v,expandNode:Q}),(0,jp.jsx)(Re,{})]}),(0,jp.jsxs)("div",{style:{height:"350px"},className:r("pop-content-wrapper display-flex flex-direct-column flex-main-axis-start flex-lateral-axis-start"),children:[(0,jp.jsx)(xi,{index:p9r,columns:O,rows:s,border:!0,height:320,openVirtualScroll:!1,onClick:(0,k1.useCallback)(({row:Te,tableData:Pe,allSelectedRowIndexValues:Oe,selectedRowNumbers:Ue})=>{w([]),b(Te),Array.from(Oe).every(Ve=>Ve&&Ve[0]!=="F")&&(w(Array.from(Oe)),de({action:"highLightSelectPour",data:Array.from(Oe)})),j(Array.from(Oe),Pe)},[]),openRowHoverBgColor:!0,moveAble:!0,followHeightLight:!0,selectedRowNumbers:h,enableDragSort:!0,showDragIcon:!1,onDragMoveEnd:U,dragConfig:{upperLimitIndex:0,lowerLimitIndex:s.length},onRowMouseEnter:Te=>{de({action:"highLightPour",data:Te.id})},onRowMouseLeave:Te=>{de({action:"unHighLightPour",data:Te.id})}}),(0,jp.jsx)("div",{style:{lineHeight:"30px",paddingLeft:"10px",color:_e.HEX_GRAY_COLOR3},children:o("Tip: When rebuilding multiple copper zones, the system will pour copper in order of priority number from small to large")})]}),(0,jp.jsx)(ooo,{isEdit:D,handleBtnEvent:ye})]})},doo=m9r;var poo=L(z());async function uoo(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,mask:!1,children:(0,poo.jsx)(doo,{params:{...t,containerId:o}})})}var woo=L(Vi());var HY=L(Se());function i9t(t){let e=!0,i="";return(!t.fileName||!t.fileName.trim())&&(e=!1,i="The name can not be empty!"),e||De({type:"warn",msg:i,timer:2.5}),e}var r9t=L(IXe());var hoo=L(Se());var foo=L(IXe());var h9r="exportPickPlaceDialog";function LXe(){let t=J();return(e,i=h9r)=>t({context:i,value:e,options:{}})}var Ou=L(z()),{locals:f9r}=foo.default,pz=be.bind(f9r),g9r=t=>{let{fileName:e,fileType:i,unit:o,isExportBtmLayerCoordinate:r,btmLayerCoordinateType:n,isContainPanelized:a,isContainPanelMarkCoord:s,mirrorBottomRotation:l,separator:c,exportNoUnit:d,onFormDataChange:u}=t,p=LXe(),m=(0,hoo.useCallback)(h=>{let{title:f,children:g}=h;return(0,Ou.jsxs)("div",{className:pz("form-item"),children:[(0,Ou.jsx)("span",{className:pz("form-title"),title:f,children:`${f}:`}),n_(g,{className:pz("form-content")},!0)]})},[]);return(0,Ou.jsxs)("div",{className:pz("export-options"),style:{width:"40%"},children:[(0,Ou.jsxs)("div",{className:pz("export-info"),children:[(0,Ou.jsx)(m,{title:p("File Name"),children:(0,Ou.jsx)(Kt,{dataTest:"File Name",value:e,style:{height:"24px",width:"auto"},onChange:h=>{u({fileName:h})}})}),(0,Ou.jsx)(m,{title:p("Export File Type"),children:(0,Ou.jsxs)($i,{dataTest:"Export File Type",value:i,gap:0,subRadioStyle:{display:"inline-block",width:"20%"},translate:!1,onChange:h=>u({fileType:h}),children:[(0,Ou.jsx)(nn,{value:"xlsx",children:"XLSX"}),(0,Ou.jsx)(nn,{value:"csv",children:"CSV"}),(0,Ou.jsx)(nn,{value:"txt",children:"TXT"})]})}),i=="csv"&&(0,Ou.jsx)(m,{title:p("Separator"),children:(0,Ou.jsxs)($i,{dataTest:"Separator",value:c,gap:0,subRadioStyle:{display:"inline-block",width:"20%"},translate:!1,onChange:h=>u({separator:h}),children:[(0,Ou.jsx)(nn,{value:"Tab",children:"Tab"}),(0,Ou.jsx)(nn,{value:"Comma",children:","})]})}),(0,Ou.jsx)(m,{title:p("Unit"),children:(0,Ou.jsxs)($i,{dataTest:"Unit",value:o,gap:0,subRadioStyle:{display:"inline-block",width:"20%"},translate:!1,onChange:h=>u({unit:h}),children:[(0,Ou.jsx)(nn,{value:"mm",children:"mm"}),(0,Ou.jsx)(nn,{value:"mil",children:"mil"})]})}),(0,Ou.jsxs)("div",{className:pz("form-item"),children:[(0,Ou.jsx)("span",{className:pz("form-title")}),(0,Ou.jsx)("div",{className:pz("form-content"),children:(0,Ou.jsx)(qt,{dataTest:"exportNoUnit",checked:d,onChange:h=>u({exportNoUnit:h}),children:p("Coordinates do not include units")})})]})]}),(0,Ou.jsxs)("div",{className:pz("other-options"),children:[(0,Ou.jsx)("p",{style:{marginBottom:"8px"},children:p("Other options")}),(0,Ou.jsxs)("div",{className:pz("mirror-bottom-layer-coordinates"),style:{marginBottom:16},children:[(0,Ou.jsx)(qt,{dataTest:"isExportBtmLayerCoordinate",checked:r,style:{marginBottom:8},onChange:h=>u({isExportBtmLayerCoordinate:h}),children:p("Mirror bottom components' coordinate(JLCPCB doesn't need)")}),(0,Ou.jsx)("br",{}),(0,Ou.jsx)($i,{dataTest:"pickPlaceCoordinateType",value:n,disabled:!r,style:{marginLeft:"5%"},layoutVertical:!0,gap:12,options:[{value:"mirrorCoordinateY",label:"Mirror coordinate Y"},{value:"mirrorCoordinateX",label:"Mirror coordinate X"}],translate:p,onChange:h=>u({btmLayerCoordinateType:h})})]}),(0,Ou.jsx)(qt,{dataTest:"mirrorBottomRotation",checked:l,onChange:h=>u({mirrorBottomRotation:h}),style:{marginBottom:16},children:p("Mirror bottom component's rotation(JLCPCB doesn't need)")}),(0,Ou.jsx)(qt,{dataTest:"isContainPanelized",checked:a,onChange:h=>u({isContainPanelized:h}),style:{marginBottom:16},children:p("Include panelized components' coordinates(JLCPCB doesn't need)")}),(0,Ou.jsx)(qt,{dataTest:"isContainPanelMarkCoord",checked:s,onChange:h=>u({isContainPanelMarkCoord:h}),children:p("Include panelized fiducial marks' coordinates(JLCPCB doesn't need)")})]})]})},goo=g9r;var $ae=L(Se());var boo=L(IXe());var ug=L(z()),{locals:b9r}=boo.default,tE=be.bind(b9r),y9r=t=>{let{allAttrKeys:e,attrTableRows:i,onAttrTableRowsChange:o}=t,r=LXe(),n=M=>$Fe.includes(M)?r(a(M)):r(a(M),"attrs"),a=M=>M==="3D Model Title"?"3D Model":M,s=ca(),l=new Set(i.map(M=>M.key)),[c,d]=(0,$ae.useState)(null),u=[{key:"title",name:r("Title"),width:.5,editable:!0},{key:"key",name:r("Property"),width:.5,render:M=>{let I=M.row[M.colKey],A=n(I);return(0,ug.jsx)("span",{title:A,children:A})}}],p=M=>{let I=null;if(M==null)return I;for(let A=0;A<i.length;A++)if(i[A].key===M){I=A;break}return I},m=p(c),[h,f]=(0,$ae.useState)(null),g=(0,$ae.useRef)(""),b=(0,$ae.useMemo)(()=>{let{allKeys:M,staticKeys:I,componentKeys:A}=e,D=[],E=(N,R)=>{let v=R.map(k=>({key:k}));return{title:r(N),attrs:v}};return D.push(E("Statistics",I)),D.push(E("Part Attributes",A)),D},[e]),y=g.current.trim();if(y){let M={title:"",attrs:[]},I=M.attrs,A=new RegExp(`${y}`,"i");b.forEach(D=>{D.attrs.forEach(E=>{n(E.key).match(A)&&I.push(E)})}),b=[M]}let w=b.map(({title:M,attrs:I})=>(0,ug.jsxs)("div",{className:tE("attr-classify-box"),children:[M&&(0,ug.jsx)("p",{className:tE("classify-title"),children:r(M)}),(0,ug.jsx)("ul",{children:I.map(A=>{let{key:D}=A,E=n(D),N=h&&h.key===D;return(0,ug.jsxs)("li",{title:E,className:tE("attr-li-item",{selected:N}),onClick:()=>{f({...A})},children:[(0,ug.jsx)(qt,{dataTest:D,checked:l.has(D),onChange:R=>{if(R){let v=[...i],k=a(A.key);v.push({key:A.key,title:k}),o(v)}else{let v=[...i],k=p(D);k!=null&&(v.splice(k,1),o(v))}}}),(0,ug.jsx)("span",{className:tE("attr-title"),children:E})]},D)})})]},M)),x=M=>{switch(M){case"add":{if(h){let I=[...i];if(!l.has(h.key)){let A=h.key,D=a(A);I.push({key:A,title:D}),o(I),d(h.key)}}else De({type:"warn",msg:"Please select!"});break}case"delete":{if(m!=null){let I=[...i];I.splice(m,1),o(I)}else De({type:"warn",msg:"Please select!"});break}}},S=M=>{let I=m;if(I==null)return;let A=[];switch(M){case"up":{A=[...i],A[I]=i[I-1],A[I-1]=i[I];break}case"down":{A=[...i],A[I]=i[I+1],A[I+1]=i[I];break}case"delete":{let D=null;for(let E=0;E<i.length;E++)E!==I?A.push(i[E]):E<i.length-1?D=i[E+1].key:E>0&&(D=i[E-1].key);d(D);break}}o(A)},T=M=>{let{row:I,selectedRowNumbers:A}=M;d(I.key)};return(0,ug.jsxs)("div",{className:tE("export-content"),style:{width:"60%"},children:[(0,ug.jsxs)("div",{className:tE("attrs-checked-list-box"),children:[(0,ug.jsx)("div",{className:tE("input-search-box"),"data-test":"Filter Key",children:(0,ug.jsx)(Bm,{placeholder:"Filter",onUpdateInputValue:M=>{g.current=M,s()},onClearInputValue:()=>{g.current="",s()}})}),(0,ug.jsx)("div",{className:tE("attrs-checked-list-wrap"),"data-test":"All Attr CheckList",children:w})]}),(0,ug.jsxs)("div",{className:tE("attr-move-operate-box"),children:[(0,ug.jsx)("p",{"data-test":"addMoveButton",id:"addAttrs",className:tE("addAttrs"),onClick:()=>{x("add")},children:(0,ug.jsx)("span",{className:"icon-eda-move-down-line"})}),(0,ug.jsx)("p",{"data-test":"deleteMoveButton",id:"reduceAttrs",className:tE("reduceAttrs"),onClick:()=>{x("delete")},children:(0,ug.jsx)("span",{className:"icon-eda-move-down-line"})})]}),(0,ug.jsxs)("div",{className:tE("attrs-table-box"),children:[(0,ug.jsx)(ec,{addButton:!1,upButton:!0,downButton:!0,deleteButton:!0,upDisabled:m==null||m===0,downDisabled:m==null||m===i.length-1,deleteDisabled:m==null,style:{margin:"4px 0px 10px"},onClick:M=>{S(M)}}),(0,ug.jsx)("div",{className:tE("attrs-table-wrap"),children:(0,ug.jsx)(xi,{index:"key",columns:u,rows:i,selectedRowNumbers:[m],stockade:!0,height:473,onClick:T,onChange:M=>{o(M)}})})]})]})},yoo=y9r;var JI=L(z()),{locals:w9r}=r9t.default,o9t=be.bind(w9r),C9r=t=>{var y,w,x,S;let{containerId:e}=t;Ae(r9t.default);let i=J(),o=(0,HY.useMemo)(()=>{let T=he.getActiveTab(),I=`PickAndPlace_${he.getTabTitle(T)||"PCB"}_${Rs(void 0,"yyyy-MM-dd")}`;return{...aSe,fileName:I}},[]),[r,n]=(0,HY.useState)(o),[a,s]=(0,HY.useState)(!1),l=T=>{n(M=>({...M,...T}))};(0,HY.useLayoutEffect)(()=>{let T=XFe.cache?XFe.cache:FMt(),M=jMt(o,T);BMt(M.attrTableRows).then(I=>{var A;M.allAttrKeys=I,l(M),((A=t.originInfo)==null?void 0:A.hide)!==void 0&&d(t.originInfo)})},[]),(y=t.originInfo)!=null&&y.hide&&(le.hide(e),(0,HY.useEffect)(()=>{a&&c()},[a]));let c=Gr(async()=>{let T=h();(!r.fileName||!r.fileName.trim())&&(T.fileName=rr.coordinateFileName);let M=await XUe({...T,isOnlyCreateData:!0});if(M){let I={fileContent:M.fileContent,fileType:M.fileType};await u(I),zMt(r,!1),g(T);let A=It.getActiveTab(he.getTabContainer(he.currentTabId));C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.COORDINATE_EXPORT,content:{"Scope Name":A?A.title:""},project_uuid:C.currentProject.projectId}])}else await u(null)},100),d=Gr(T=>{for(let M in T){if(M=="from"||M=="hide")continue;let I=T[M];l({[M]:I})}s(!0)},100),u=async T=>{await rr.setFilesMap({[rr.coordinateFileName]:T}),f()},p=Gr(_b(async()=>{let T=h();if(!i9t(T))return;let M=await XUe({...T,isOnlyCreateData:!0});M&&await H8i(M.fileContent,`${M.fileName}.${M.fileType}`)&&f()}),100),m=async T=>{switch(T){case"saveAsAttachment":{p();break}case"export":{let M=h();if(!i9t(M))break;he.isTabUnSaved(gi())&&await xl();let A=await ei();C.windowBridge.publish("exportCoordinateFile",M,A.contentWindow),zMt(r),g(M);let D=It.getActiveTab(he.getTabContainer(he.currentTabId));C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.COORDINATE_EXPORT,content:{"Scope Name":D?D.title:""},project_uuid:C.currentProject.projectId}]),f();break}case"importSetting":{zA((0,woo.default)(document.body),async M=>{let I=jMt(r,M);I.allAttrKeys=await BMt(I.attrTableRows),l(I)});break}case"exportSetting":{let M=Qre(r),I="Config_Pick_Place_File_"+ue.formatDate(new Date,"yyyy-MM-dd")+".json";ya(JSON.stringify(M,null,2),I);break}case"resetDefault":{Dt({content:"Are you sure you want to restore the configuration of the current page to the default state?",confirmText:"Yes",cancelText:"No",showCancel:!0,onConfirm:()=>{let M=ue.deepClone(aSe),I=Qre(M);l(I)}});break}case"confirm":{let M={...r};rr.setFileConfigMap({type:"Coordinate File",valData:M}),f();break}case"cancel":{f();break}}},h=()=>{let T=/[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~。，、；：？！“”‘’【】『』（）《》〈〉［］｛｝｟｠«»‹›〖〗【】〔〕〈〉《》「」『』【】〖〗〝〞‘’“”‛‟•‧‥…⋯.]/g;return{fileName:r.fileName.replace(T,"_"),fileType:r.fileType,unit:r.unit,btmLayerCoordinateType:r.isExportBtmLayerCoordinate?r.btmLayerCoordinateType:null,isContainPanelized:r.isContainPanelized,isContainPanelMarkCoord:r.isContainPanelMarkCoord,attrHeads:r.attrTableRows,mirrorBottomRotation:r.mirrorBottomRotation,separator:r.separator,exportNoUnit:r.exportNoUnit}},f=()=>{XFe.cache=Qre(r),le.close(e)},g=T=>{C.messageBus.publish("sensorsEventsReport",{eventName:"export_pickplace",eventData:{is_success:!0},formData:T})};Bt(T=>{T&&T.code==="Escape"&&m("cancel")}).keyboard(e),Bt(()=>{m("cancel")}).close(e);let b=o9t("pop-content-container","export-pick-place-file");return(0,JI.jsxs)("div",{className:b,style:{height:"100%"},children:[(0,JI.jsxs)("div",{className:o9t("pop-content-wrapper"),children:[(0,JI.jsx)(goo,{...r,onFormDataChange:l}),(0,JI.jsx)(yoo,{allAttrKeys:r.allAttrKeys,attrTableRows:r.attrTableRows,onAttrTableRowsChange:T=>l({attrTableRows:T})})]}),(0,JI.jsxs)("div",{className:o9t("pop-footer-wrapper"),children:[(0,JI.jsx)(Me,{"data-test":"importSetting",style:{marginRight:"8px"},onClick:()=>m("importSetting"),children:"Import Setting"}),(0,JI.jsx)(Me,{"data-test":"exportSetting",style:{marginRight:"8px"},onClick:()=>m("exportSetting"),children:"Export Setting"}),(0,JI.jsx)(Me,{"data-test":"resetDefault",type:"primary",style:{marginLeft:"auto",marginRight:"8px"},onClick:()=>m("resetDefault"),children:"Reset Default"}),_t&&((w=t.originInfo)==null?void 0:w.from)!=="oneClickExport"&&(0,JI.jsx)(Me,{"data-test":"saveAsAttachment",type:"primary",style:{marginRight:"8px"},onClick:()=>m("saveAsAttachment"),children:"Save as Attachment"}),((x=t.originInfo)==null?void 0:x.from)=="oneClickExport"&&(0,JI.jsx)(Me,{"data-test":"Confirm",type:"primary",style:{marginRight:"8px"},onClick:()=>m("confirm"),children:"Confirm"}),((S=t.originInfo)==null?void 0:S.from)!=="oneClickExport"&&(0,JI.jsx)(Me,{"data-test":"export",type:"primary",style:{marginRight:"8px"},onClick:()=>m("export"),children:"Export"}),(0,JI.jsx)(Me,{"data-test":"cancel",onClick:()=>m("cancel"),children:"Cancel"})]})]})},Coo=C9r;var Too=L(z());async function xoo(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;return le.open({id:o,title:r,width:n,height:a,closed:s,esc:!0,folded:!1,children:(0,Too.jsx)(Coo,{containerId:o,dialogId:t.dialogId,originInfo:t.originInfo})}),{origin:"react"}}var Moo=L(Se());var ese=L(z()),x9r=function(t){let e=J(),{title:i,content:o}=t,r=i.value=="Project Title"?o.value:e(o.value),n={flex:"0 0 125px",textAlign:"left",wordBreak:"break-word",fontWeight:i.isBold?"bolder":400},a={width:"100%",paddingLeft:"25px",fontWeight:i.isBold?"bolder":400};return(0,ese.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:{padding:"5px 0"},children:[(0,ese.jsx)("div",{title:e(i.value),style:n,children:(0,ese.jsx)("span",{"data-test":i.value,children:e(i.value)})}),(0,ese.jsx)("div",{title:r,style:a,children:(0,ese.jsx)("span",{"data-test":r,children:r})})]})},Soo=x9r;var vXe={createOuterListsTextString(t){let e="";return t.forEach((i,o)=>{e+=this.createInnerListsTextString(i)}),e},createInnerListsTextString(t){let e="";return t.forEach((i,o)=>{e+=this.createInnerListsItemTextString(i)+`\r
`}),e+`\r
`},createInnerListsItemTextString(t){let e=t.title||{},i=t.content||{};return`${e.value?me.i18n(String(e.value))+":":""} 		${me.i18n(String(i.value))}`}};var EO=L(z()),T9r=t=>{let e=J(),{containerId:i,dialogId:o,lists:r,pcbDataRes:n}=t,a=(0,Moo.useRef)(null),s=vXe.createOuterListsTextString(r),l=async c=>{if(c==="export"){Hme(s,`Info_PCB_${n.display_title}_${Rs(new Date,"yyyy-MM-dd")}`);return}if(c==="copy"){a.current&&document.execCommand("copy")&&(a.current.select(),document.execCommand("copy"),De({type:"warn",msg:"Content copied to clipboard",timer:2.5}));return}await oo({action:c,dialogId:o,formData:{}}),le.close()};return(0,EO.jsxs)("div",{className:"pop-content-container",children:[(0,EO.jsxs)("div",{className:"pop-content-wrapper",children:[r.map(c=>(0,EO.jsx)("div",{style:{padding:"10px 0"},children:c.map(d=>(0,EO.jsx)(Soo,{title:d.title,content:d.content}))})),(0,EO.jsx)("textarea",{ref:a,name:"pcbInformationTextarea",value:s,style:{width:"100%",height:"100%",position:"absolute",left:"-10000px",top:"-10000px"},children:s})]}),(0,EO.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,EO.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>l("export"),children:"Export"}),(0,EO.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>l("copy"),children:"Copy"}),(0,EO.jsx)(Me,{onClick:()=>l("cancel"),children:"Cancel"})]})]})},Ioo=T9r;var voo=L(z());async function Loo(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;return le.open({id:o,title:r,width:n,closed:a,esc:!0,folded:!1,children:(0,voo.jsx)(Ioo,{containerId:o,dialogId:t.dialogId,lists:t.lists,pcbDataRes:t.pcbDataRes})}),{origin:"react"}}var Ige=L(Se());var Doo=[{key:"offsetX",name:"Offset X"},{key:"offsetY",name:"Offset Y"}];var n9t=L(Aoo());var mz=L(z()),{locals:EXe}=n9t.default,S9r=t=>{Ae(n9t.default);let{containerId:e,unit:i,dialogId:o}=t,r=J(),n=(0,Ige.useRef)({closeMsgBus:null}),a=document.getElementById(e),[s,l]=(0,Ige.useState)({offsetX:0,offsetY:0});Bt(({code:d})=>{d==="Escape"&&c("close"),["Enter","NumpadEnter"].includes(d)&&c("confirm")}).keyboard(e),(0,Ige.useLayoutEffect)(()=>{setTimeout(()=>{a.querySelectorAll("input")[0].select()},0),n.current.closeMsgBus=C.messageBus.subscribe(`close_${e}`,()=>{c("close")})},[]);let c=async d=>{await oo({action:d,dialogId:o,formData:d==="confirm"?{offsetXY:s}:{}}),n.current.closeMsgBus.cancel(),le.close(e)};return(0,mz.jsxs)("div",{className:EXe.relative_offset,children:[(0,mz.jsx)("div",{className:EXe.input_wrapper,children:Doo.map(d=>(0,mz.jsxs)("div",{"data-test":d.key,className:EXe.input_line,children:[(0,mz.jsx)("span",{title:r(d.name),children:r(d.name)}),(0,mz.jsx)(or,{value:s[d.key],originUnit:i,inputUnit:i,onChange:u=>{l({...s,[d.key]:u})}})]},d.key))}),(0,mz.jsxs)("div",{className:EXe.footer,children:[(0,mz.jsx)(Me,{type:"primary",onClick:()=>c("confirm"),children:"Confirm"}),(0,mz.jsx)(Me,{onClick:()=>c("cancel"),children:"Cancel"})]})]})},Noo=S9r;var Poo=L(z());async function koo(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,children:(0,Poo.jsx)(Noo,{containerId:o,unit:t.extra.unit,dialogId:t.dialogId})})}var Lge=L(Se());var Ooo=[{key:"relativeOffsetX",name:"Offset X"},{key:"relativeOffsetY",name:"Offset Y"},{key:"refPointX",name:"Reference Point X"},{key:"refPointY",name:"Reference Point Y"}];var a9t=L(_oo());var hz=L(z()),{locals:NXe}=a9t.default,M9r=({containerId:t,dialogId:e,unit:i,refPointX:o,refPointY:r})=>{Ae(a9t.default);let n=J(),a=(0,Lge.useRef)({closeMsgBus:null}),s=document.getElementById(t),[l,c]=(0,Lge.useState)({relativeOffsetX:0,relativeOffsetY:0,refPointX:o,refPointY:r});Bt(({code:u})=>{u==="Escape"&&d("close"),["Enter","NumpadEnter"].includes(u)&&d("confirm")}).keyboard(t),(0,Lge.useLayoutEffect)(()=>{setTimeout(()=>{s.querySelectorAll("input")[0].select()},0),a.current.closeMsgBus=C.messageBus.subscribe(`close_${t}`,()=>{d("close")})},[]);let d=async u=>{let p={x:l.relativeOffsetX+l.refPointX,y:l.relativeOffsetY+l.refPointY};await oo({action:u,dialogId:e,formData:u==="confirm"?{newPos:p}:{}}),a.current.closeMsgBus.cancel(),le.close(t)};return(0,hz.jsxs)("div",{className:NXe.relative_offset,children:[(0,hz.jsx)("div",{className:NXe.input_wrapper,children:Ooo.map(u=>(0,hz.jsxs)("div",{"data-test":u.key,className:NXe.input_line,children:[(0,hz.jsx)("span",{title:n(u.name),children:n(u.name)}),(0,hz.jsx)(or,{value:l[u.key],originUnit:i,inputUnit:i,onChange:p=>{c({...l,[u.key]:p})}})]},u.key))}),(0,hz.jsxs)("div",{className:NXe.footer,children:[(0,hz.jsx)(Me,{type:"primary",onClick:()=>d("confirm"),children:"Confirm"}),(0,hz.jsx)(Me,{onClick:()=>d("cancel"),children:"Cancel"})]})]})},joo=M9r;var zoo=L(z());async function Boo(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,children:(0,zoo.jsx)(joo,{containerId:o,dialogId:t.dialogId,unit:t.extra.unit,refPointX:t.extra.refPoint.x,refPointY:t.extra.refPoint.y})})}var vge=L(Se());var Foo=[{key:"positionX",name:"X Location"},{key:"positionY",name:"Y Location"}];var s9t=L(Voo());var qI=L(z()),{locals:PXe}=s9t.default,I9r=({containerId:t,dialogId:e,unit:i})=>{let o=J(),r=(0,vge.useRef)({closeMsgBus:null}),n=document.getElementById(t),[a,s]=(0,vge.useState)({positionX:0,positionY:0});Bt(({code:c})=>{c==="Escape"&&l("close"),["Enter","NumpadEnter"].includes(c)&&l("confirm")}).keyboard(t),(0,vge.useLayoutEffect)(()=>{setTimeout(()=>{n.querySelectorAll("input")[0].select()},0),r.current.closeMsgBus=C.messageBus.subscribe(`close_${t}`,()=>{l("close")})},[]);let l=async c=>{await oo({action:c,dialogId:e,formData:c==="confirm"?{newPos:a}:{}}),r.current.closeMsgBus.cancel(),le.close(t)};return(0,qI.jsxs)(qI.Fragment,{children:[(0,qI.jsx)("style",{children:String(s9t.default)}),(0,qI.jsxs)("div",{className:PXe.relative_offset,children:[(0,qI.jsx)("div",{className:PXe.input_wrapper,children:Foo.map(c=>(0,qI.jsxs)("div",{"data-test":c.key,className:PXe.input_line,children:[(0,qI.jsx)("span",{title:o(c.name),children:o(c.name)}),(0,qI.jsx)(or,{value:a[c.key],originUnit:i,inputUnit:i,onChange:d=>{s({...a,[c.key]:d})}})]},c.key))}),(0,qI.jsxs)("div",{className:PXe.footer,children:[(0,qI.jsx)(Me,{type:"primary",onClick:()=>l("confirm"),children:"Confirm"}),(0,qI.jsx)(Me,{onClick:()=>l("cancel"),children:"Cancel"})]})]})]})},Hoo=I9r;var Yoo=L(z());async function Goo(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,children:(0,Yoo.jsx)(Hoo,{containerId:o,dialogId:t.dialogId,unit:t.extra.unit})})}var OXe=L(Se());var O7=L(z()),L9r=t=>{let{containerId:e,unit:i,dialogId:o,space:r,cmd:n}=t,a=J(),s=document.getElementById(e),[l,c]=(0,OXe.useState)(r);(0,OXe.useLayoutEffect)(()=>{setTimeout(()=>{s.querySelectorAll("input")[0].select()},0)},[]);let d=async u=>{let p=io(l,"pixel");await oo({action:u,dialogId:o,formData:u==="confirm"?{spacing:p,cmd:n}:{}}),u==="confirm"&&s.setAttribute("data",p.toString()),le.close()};return Bt(({code:u})=>{u==="Escape"&&d("cancel"),["Enter","NumpadEnter"].includes(u)&&d("confirm")}).keyboard(e),Bt(()=>{d("close")}).close(e),(0,O7.jsxs)("div",{className:"pop-content-container oneLineOneInputDlg",children:[(0,O7.jsx)("div",{className:"pop-content-wrapper","data-test":"Spacing",children:(0,O7.jsxs)("div",{className:"line",style:{marginTop:0},children:[(0,O7.jsx)("div",{className:"txt_title f14",children:(0,O7.jsx)("span",{children:a("Spacing")})}),(0,O7.jsx)("div",{className:"txt_value",children:(0,O7.jsx)(or,{value:l,inputUnit:i,originUnit:i,hiddenUnit:!0,onChange:u=>{c(u+i)}})})]})}),(0,O7.jsxs)("div",{className:"pop-footer-wrapper dialog-button",children:[(0,O7.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>d("confirm"),children:"Confirm"}),(0,O7.jsx)(Me,{onClick:()=>d("cancel"),children:"Cancel"})]})]})},Woo=L9r;var Koo=L(z());async function Qoo(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,children:(0,Koo.jsx)(Woo,{containerId:o,dialogId:t.dialogId,unit:t.extra.unit,space:t.extra.spacing,cmd:t.extra.cmd})})}var Ly=L(Se());var l9t=[{key:"start-x",name:"Start X",style:{marginLeft:"30px"},isUnit:!0,disabled:!0},{key:"start-y",name:"Start Y",style:{marginLeft:"30px"},isUnit:!0,disabled:!0},{key:"per-row-count",name:"Items per Row",style:{marginLeft:"30px"},isUnit:!1},{key:"per-column-count",name:"Items per Column",style:{marginLeft:"30px"},isUnit:!1},{key:"space-x",name:"Column Spacing",style:{marginLeft:"30px"},isUnit:!0},{key:"space-y",name:"Row Spacing",style:{marginLeft:"30px"},isUnit:!0},{key:"rotation",name:"Item Rotation",style:{marginLeft:"30px"},isUnit:!1}],c9t=[{key:"center-x",name:"Center X",style:{marginLeft:"30px"},isUnit:!0},{key:"center-y",name:"Center Y",style:{marginLeft:"30px"},isUnit:!0},{key:"start-degree",name:"Start Degree",style:{},isUnit:!1,disabled:!0},{key:"start-rotation-degree",name:"Start Rotation Degree",style:{},isUnit:!1},{key:"quantity",name:"Quantity",style:{},isUnit:!1},{key:"spacing-degree",name:"Spacing Degree",style:{},isUnit:!1},{key:"radius",name:"Radius",style:{},isUnit:!0,disabled:!0}];var d9t=L(Joo());var _Xe=[{value:"KeepOriginNets",text:"Keep Origin Nets"},{value:"ClearNets",text:"Clear Nets"},{value:"InheritNetsfromTouchedObjects",text:"Inherit Nets from Touched Objects"}];var Sl=L(z()),{locals:P1}=d9t.default,v9r=t=>{Ae(d9t.default);let e=(0,Ly.useContext)(WK);Ce(e);let i=(0,Ly.useRef)({}),{pcbData:o}=e,r=J(),n=be.bind(P1),{containerId:a,dialogId:s,extra:{unit:l,pos:c}}=t,d=document.getElementById(a),[u,p]=(0,Ly.useState)("matrix"),[m,h]=(0,Ly.useState)({"start-x":c.x,"start-y":c.y,"distribute-by":"row","per-row-count":"","per-column-count":"","space-x":"","space-y":"",rotation:0}),[f,g]=(0,Ly.useState)({"center-x":"","center-y":"",direction:"anti-clockwise","start-degree":"","start-rotation-degree":"",quantity:"","spacing-degree":"",radius:"","r-to-match":"no"}),[b,y]=(0,Ly.useState)("InheritNetsfromTouchedObjects");(0,Ly.useEffect)(()=>{i.current.pointMsgBus=C.messageBus.subscribe("showArrayDistributionDlg",D=>{e.setPCBData(D),le.show(a)})},[u]),(0,Ly.useEffect)(()=>{M()},[f["center-x"],f["center-y"]]),(0,Ly.useMemo)(()=>{if(o){let{refPoint:{x:D,y:E},unit:N}=o;u==="matrix"?h({...m,"start-x":D,"start-y":E}):g({...f,"center-x":D,"center-y":E})}},[o]);let w=async D=>{if(["cancel","close"].includes(D)){await oo({action:D,dialogId:s,formData:{}}),i.current.pointMsgBus.cancel(),le.destroy();return}let E=x();if(!E)return;let N={...E,"array-type":u};await oo({action:D,dialogId:s,formData:N}),i.current.pointMsgBus.cancel(),le.destroy()},x=(D=!0)=>{let E=u==="matrix"?{...m,inheritNet:b}:{...f,inheritNet:b},N=d.querySelector(`.${u}-con`).querySelectorAll("input"),R=!0;return N.forEach(v=>{E[v.name]===""?(D&&(v.style.border="1px solid red"),R=!1):D&&(v.style.border="1px solid #d1d1d1");let k=v.getAttribute("data-precise-value")||v.value;if(v.name.match(/(-([xy])|radius)$/)){if(isNaN(parseFloat(k)))return;E[v.name]=ue.unitConversion.conversion(l,"mil",parseFloat(k))/10}else E[v.name]=k}),R?E:(D&&De({type:"warn",msg:"Please fill in all parameters!",timer:2.5}),null)},S=()=>{let D=Xi();C.windowBridge.publish("tool","selectCenterPoint",D.contentWindow),le.hide()};Bt(()=>{w("close")}).close(a),Bt(({code:D})=>{D==="Escape"&&w("cancel"),["Enter","NumpadEnter"].includes(D)&&w("confirm")}).keyboard(a);let T=(0,Ly.useCallback)(D=>{let{style:E,spanName:N="text",inputName:R,inputValue:v,disabled:k,isUnit:P,isInt:O,onBlur:_}=D;return(0,Sl.jsxs)("div",{className:P1.line,children:[(0,Sl.jsx)("span",{className:"title "+P1.left,style:E,"data-test":N,children:r(N)}),(0,Sl.jsx)(or,{className:P1.right,name:R,disabled:k,value:v!==""&&P?ue.unitConversion.conversion("mil",l,+v)*10:v,originUnit:P?l:"",inputUnit:P?l:"",onChange:j=>{if(j!=="")if(P)_&&_(ue.unitConversion.conversion(l,"mil",+j)/10);else{if(j=parseFloat(j.toString()),["per-row-count","per-column-count"].includes(R)&&j<1)return;R.includes("degree")||R.includes("rotation")?j=Om(v6.regularD(j),{decimalPlacesShow:3}):j=Math.round(j),_&&_(j)}}})]})},[]);(0,Ly.useEffect)(()=>{let D=x(!1);if(!D)return;let E={...D,"array-type":u};oo({action:"apply",dialogId:s,formData:E})},[f,m,b]);function M(){let D=parseFloat(f["center-x"]),E=parseFloat(f["center-y"]),N=parseFloat(m["start-x"]),R=parseFloat(m["start-y"]);if(!isNaN(D)&&!isNaN(E)){let v={x:D,y:E},k={x:N,y:R},P=v6.regularD(v6.toDegrees(li.getAngleByDot(v.x,v.y,k.x,k.y))),O=li.getDistance(k.x,k.y,v.x,v.y);f["start-degree"]=Om(P,{decimalPlacesShow:3}).toString(),isNaN(O)||(f.radius=Om(O,{decimalPlacesShow:1+(l=="mil"?1:3)}).toString()),g({...f})}}let I=(0,Ly.useCallback)(D=>{let{style:E,spanName:N,checked:R,onChange:v}=D;return(0,Sl.jsxs)("label",{style:E,children:[(0,Sl.jsx)("input",{type:"radio",name:"array-type",className:"left",checked:R,onChange:v}),(0,Sl.jsx)("span",{className:"left","data-test":N,children:r(N)})]})},[]),A=()=>(0,Sl.jsxs)("div",{className:P1.line,children:[(0,Sl.jsx)("span",{className:"title "+P1.left,"data-test":"Net",children:r("Net")}),(0,Sl.jsx)(xt,{value:b,style:{width:"190px",float:"right"},list:_Xe,onChange:D=>y(D)})]});return(0,Sl.jsxs)("div",{className:P1.distribute,children:[(0,Sl.jsxs)("div",{className:P1.popContentWrapper,children:[(0,Sl.jsxs)("div",{className:"header type "+P1.box,style:{textAlign:"center"},children:[(0,Sl.jsx)("span",{className:P1.title,"data-test":"Type",children:r("Type")}),(0,Sl.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[(0,Sl.jsx)(I,{style:{marginRight:"70px"},spanName:"Rectangular",checked:u==="matrix",onChange:(0,Ly.useCallback)(()=>p("matrix"),[])}),(0,Sl.jsx)(I,{spanName:"Circular",checked:u==="circular",onChange:(0,Ly.useCallback)(()=>p("circular"),[])})]})]}),(0,Sl.jsxs)("div",{children:[(0,Sl.jsxs)("div",{className:"matrix-con "+P1.box,style:{display:u==="circular"?"none":""},children:[(0,Sl.jsx)("span",{className:P1.title,"data-test":"Rectangular",children:r("Rectangular")}),(0,Sl.jsx)("div",{className:P1.line,children:(0,Sl.jsx)("span",{className:"title "+P1.left,"data-test":"Location",children:r("Location")})}),l9t.slice(0,2).map((D,E)=>(0,Sl.jsx)(T,{disabled:D.disabled||!1,style:D.style,inputName:D.key,inputValue:m[D.key],spanName:D.name,isUnit:D.isUnit,onBlur:N=>h({...m,[D.key]:N})},D.key)),(0,Sl.jsxs)("div",{className:P1.line,children:[(0,Sl.jsx)("span",{className:"title "+P1.left,"data-test":"Distribute by",children:r("Distribute by")}),(0,Sl.jsx)(xt,{value:m["distribute-by"],style:{width:"190px",float:"right"},list:[{text:"Horizontal, then vertical",value:"row"},{text:"Vertical, then horizontal",value:"column"}],onChange:D=>{h({...m,"distribute-by":D})}})]}),l9t.slice(2).map((D,E)=>(0,Sl.jsx)(T,{disabled:D.disabled||!1,style:D.style,inputName:D.key,inputValue:m[D.key],spanName:D.name,isUnit:D.isUnit,onBlur:N=>h({...m,[D.key]:N})},D.key)),(0,Sl.jsx)(A,{})]}),(0,Sl.jsxs)("div",{className:"circular-con "+P1.box,style:{display:u==="matrix"?"none":""},children:[(0,Sl.jsx)("span",{className:P1.title,"data-test":"Circular",children:r("Circular")}),(0,Sl.jsxs)("div",{className:P1.line,children:[(0,Sl.jsx)("span",{className:"title "+P1.left,"data-test":"Location",children:r("Location")}),(0,Sl.jsx)(Me,{class:P1.selectPoint,style:{minWidth:"76px"},size:"sm",onClick:S,children:"Select point by click"})]}),c9t.slice(0,2).map((D,E)=>(0,Sl.jsx)(T,{disabled:D.disabled||!1,style:D.style,inputName:D.key,inputValue:f[D.key],spanName:D.name,isUnit:D.isUnit,onBlur:N=>g({...f,[D.key]:N})},D.key)),(0,Sl.jsxs)("div",{className:P1.line,children:[(0,Sl.jsx)("span",{className:"title "+P1.left,"data-test":"Direction",children:r("Direction")}),(0,Sl.jsx)(xt,{name:"direction",style:{width:"190px",float:"right"},value:f.direction,list:[{text:"Anti-Clockwise",value:"anti-clockwise"},{text:"Clockwise",value:"clockwise"}],onChange:D=>{g({...f,direction:D})}})]}),c9t.slice(2).map((D,E)=>(0,Sl.jsx)(T,{disabled:D.disabled||!1,style:D.style,inputName:D.key,inputValue:f[D.key],spanName:D.name,isUnit:D.isUnit,onBlur:N=>g({...f,[D.key]:N})},D.key)),(0,Sl.jsxs)("div",{className:P1.line,children:[(0,Sl.jsx)("span",{className:"title "+P1.left,"data-test":"Rotate Item to Match",children:r("Rotate Item to Match")}),(0,Sl.jsx)(xt,{name:"r-to-match",style:{width:"190px",float:"right"},value:f["r-to-match"],list:[{text:"No",value:"no"},{text:"Yes",value:"yes"}],onChange:D=>{g({...f,"r-to-match":D})}})]}),(0,Sl.jsx)(A,{})]})]})]}),(0,Sl.jsxs)("div",{className:P1.popFooterWrapper,children:[(0,Sl.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>w("confirm"),children:"Confirm"}),(0,Sl.jsx)(Me,{onClick:()=>w("cancel"),children:"Cancel"})]})]})},qoo=v9r;var $oo=L(z());async function Xoo(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,children:(0,$oo.jsx)(qoo,{containerId:o,dialogId:t.dialogId,extra:t.extra})})}var $2=L(Se());var u9t=L(tro());var J6e=class J6e{static openTipsDialog(e){let i=he.getTopActiveSchematicId();if(e==="basis"){this.onConfirm(e,i);return}let o=ri.getVariant(e,i),r="When switching to {variantName}, all changes will be saved and the history will be cleared. You will not be able to undo/redo previous actions. Do you want to continue?";r=me.i18n(r,{variantName:o.title}),Dt({title:"Warning",icon:"warning",closed:!0,confirmText:" Yes",cancelText:"No",content:r,showCancel:!0,contentHeight:100,height:"auto",confirmButtonSize:"lg",cancelButtonSize:"lg",onConfirm:this.onConfirm.bind(this,e,i)})}static async onConfirm(e,i){try{ap().unsaveFileTabId.length&&await xl(),await this.updateCanvas(e,i),this.updateAttrPanel()}catch{De({type:"error",msg:"Save failed!"})}finally{Ho.adjust(),si.setRadioStatus("top-menu-view-variantMenu","variantMenu",`changeVariantViewMode(${e})`)}}static async updateCanvas(e,i){e==="basis"?delete J6e.schematicIdVariantUuid[i]:J6e.schematicIdVariantUuid[i]=e,await C.messageBus.rpcCall("sch/variant/switchCanvas",{variantId:e,schemaitcId:i})}static updateAttrPanel(){C.messageBus.publish("sch/renderPropertyPanel",{renderUI:!0})}static checkTopSchematicInVariantView(e){return!!this.schematicIdVariantUuid[e]}};J6e.schematicIdVariantUuid={};var R7=J6e;var gf=L(z()),{locals:D9r}=u9t.default,GY={rowCache:null,colCache:null,rowSpacingCache:null,colSpacingCache:null},E9r=t=>{var F,K;Ae(u9t.default);let e=J(),i=be.bind(D9r),o=(0,$2.useContext)(WK);Ce(o);let{pcbData:r}=o,n=t.extra||{},{rowCache:a,colCache:s,rowSpacingCache:l,colSpacingCache:c}=GY||{},d=(0,$2.useRef)(!1),u=(0,$2.useRef)(),p=(0,$2.useRef)(),m=dt()==(se.PANEL||se.PANEL_LIB)?"mm":Vo(),h=(0,$2.useRef)(m),[f,g]=(0,$2.useState)(a||Number(n.row)||1),[b,y]=(0,$2.useState)(s||Number(n.column)||1),w=te=>te?ul(te,m):0,x=(w(l)||w((F=u.current)==null?void 0:F.value)||0)+m,S=(w(c)||w((K=p.current)==null?void 0:K.value)||0)+m,[T,M]=(0,$2.useState)(x),[I,A]=(0,$2.useState)(S),[D,E]=(0,$2.useState)(f<=1&&b<=1),[N,R]=(0,$2.useState)(1),[v,k]=(0,$2.useState)(1),[P,O]=(0,$2.useState)(0),[_,j]=(0,$2.useState)(0);(0,$2.useEffect)(()=>{h.current!==m&&(M(x),A(S),h.current=m)},[m]),(0,$2.useEffect)(()=>{let{row:te,colum:ae,rowSpacing:pe,columnSpacing:Z}=n,ee=pe&&Math.round(-io(pe,"pixel",m)*100)/100+m,ce=Z&&Math.round(io(Z,"pixel",m)*100)/100+m;u.current.value=ee||"0",p.current.value=ce||"0",M(ee),A(ce),te&&g(te),ae&&y(ae)},[n.row,n.colum,n.rowSpacing,n.columnSpacing]);async function B(te,ae=!1){let pe=ce=>{var oe;let ne=(oe=ce.trim().match(/[a-z]+$/i))==null?void 0:oe[0];return ne&&qci(ne)?io(ce,"pixel"):parseFloat(ce)},Z=-pe(u.current.value),ee=pe(p.current.value);if(!Number.isNaN(Number(f))&&!Number.isNaN(b)&&f>=1&&b>=1&&!isNaN(Z)&&!isNaN(ee)){if(f===1&&b===1)return C.messageBus.publish("message",{type:"alert",message:"The number of rows and columns cannot be set to 1 simultaneously"}),{success:!1};{ae&&le.close();let ce={row:f,column:b,rowSpacing:Z,columnSpacing:ee,saveHistory:te=="alignItemsInArray"},oe=he.getActiveTabData().data.doctype;return[se.SCH,se.NGSPICE,se.SIMULIDE].includes(oe)||pr(oe)?await C.messageBus.rpcCall(te,ce):Wn(oe)&&await Pt("panel/"+te,[ce]),{success:!0}}}else console.error("Invalid input for #dlgArrayAttribute dialog")}let V=(te,ae,pe)=>{let Z=ul(te,m);isNaN(Z)&&(Z=0);let ee=Wn()?+Ai.panelGridSizeStore.value:+Ai.gridSizeStore.value;Z=Wn()?Z:ty()?H(Z):Math.round(Z/ee)*ee;let ce=pe?Om(Z)+m:String(Om(Z));ae=="rowSpacing"?M(ce):(ae="colSpacing")&&A(ce)},G=(te,ae)=>{if(ae=="rowSpacing"||ae=="colSpacing"){let pe=String(te.target.value).toLowerCase();pe=pe.replace(/(mm|mil|inch)$/g,""),ae=="rowSpacing"&&M(pe),ae=="colSpacing"&&A(pe)}te.target.select&&setTimeout(()=>{te.target.select()},10)},Q=(te,ae)=>{let pe=ae.target.value;switch(te){case"row":g(pe),E(parseInt(pe)<=1&&Number(b)<=1);break;case"column":y(pe),E(Number(f)<=1&&parseInt(pe)<=1);break;case"rowSpacing":M(pe);break;case"colSpacing":A(pe);break}},H=te=>{var Z;let ae=(Z=Ai.getSelectCmdStore("toggleAdsorb"))==null?void 0:Z.value,pe=Ai.gridSizeStore.value;return ae?Math.round(te/pe)*pe:te},q=(te,ae,pe)=>{let Z=()=>{let ce=$s(ae.target.value);return ce&&(ce=parseInt(ce.toString())),(!ce||ce<1)&&(ce=pe),pe=ce,ce},ee=()=>{let ce=ae.target.value,ne=ul(ce,m);isNaN(ne)&&(ne=pe);let oe=Wn()?+Ai.panelGridSizeStore.value:+Ai.gridSizeStore.value;return ne=Wn()?ne:ty()?H(ne):Math.round(ne/oe)*oe,pe=ne,Om(ne)+m};switch(te){case"row":g(Z()),R(pe);break;case"column":y(Z()),k(pe);break;case"rowSpacing":V(ee(),"rowSpacing",!0),O(pe);break;case"colSpacing":V(ee(),"colSpacing",!0),j(pe);break}d.current=!1},U=async te=>{switch(te){case"confirm":let{success:ae}=await B("alignItemsInArray",!0);ae&&C.messageBus.publish("refreshPinManager");break;case"cancel":case"close":A9r(!1),le.close();break;case"Preview":await B("preview");break;case"Adjust Array Spacing By Cursor":D||(await B("adjustArraySpacingByCursor"),GY.rowCache=f,GY.colCache=b,T&&(GY.rowSpacingCache=T.replace(m,"")),I&&(GY.colSpacingCache=I.replace(m,"")),le.close())}};return(0,$2.useEffect)(()=>{if(r){let te=(r==null?void 0:r.rowSpacing)&&Math.round(-io(r==null?void 0:r.rowSpacing,"pixel",m)*100)/100+m,ae=(r==null?void 0:r.columnSpacing)&&Math.round(io(r==null?void 0:r.columnSpacing,"pixel",m)*100)/100+m;u.current.value=te||"0",p.current.value=ae||"0",M(te),A(ae)}},[r]),Bt(()=>{GY.rowCache=f,GY.colCache=b,T&&(GY.rowSpacingCache=T.replace(m,"")),I&&(GY.colSpacingCache=I.replace(m,""))}).close(t.containerId),Bt(({key:te})=>{te=="Enter"&&!d.current?U("confirm"):te=="Escape"&&U("cancel")}).keyboard(t.containerId),Bt(()=>{U("cancel")}).close(t.containerId),(0,gf.jsxs)("div",{className:i("panel-body panel-body-noborder window-body"),"data-test":"dlgArrayAttribute",children:[(0,gf.jsx)("div",{className:i("dialog-content panel-body panel-body-noheader panel-body-noborder"),children:(0,gf.jsxs)("div",{className:i("gray-dialog-border"),children:[(0,gf.jsxs)("div",{className:i("inputRow"),children:[(0,gf.jsxs)("span",{className:`i18n ${i("form-label")}`,"data-i18n-attr":"title","data-test":"Row",title:e("Row"),children:[e("Row"),":"]}),(0,gf.jsx)("input",{name:"value",type:"text",className:i("form-box"),style:{flexGrow:"1",height:"24px"},value:f,onFocus:te=>G(te),onBlur:te=>q("row",te,N),onChange:te=>Q("row",te),onKeyDown:te=>{if(te.key==="Enter"){d.current=!0,te.stopPropagation();return}}})]}),(0,gf.jsxs)("div",{className:i("inputRow"),children:[(0,gf.jsxs)("span",{className:`i18n ${i("form-label")}`,"data-i18n-attr":"title","data-test":"Column",title:e("Column"),children:[e("Column"),":"]}),(0,gf.jsx)("input",{name:"value",type:"text",className:i("form-box"),style:{flexGrow:"1",height:"24px"},value:b,onFocus:te=>G(te),onBlur:te=>q("column",te,v),onChange:te=>Q("column",te),onKeyDown:te=>{if(te.key==="Enter"){d.current=!0,te.stopPropagation();return}}})]}),(0,gf.jsxs)("div",{className:i("inputRow"),children:[(0,gf.jsxs)("span",{className:`i18n ${i("form-label")}`,"data-i18n-attr":"title","data-test":"Row Spacing:",title:e("Row Spacing"),children:[e("Row Spacing"),":"]}),(0,gf.jsx)("input",{ref:u,name:"value",type:"text",className:i("form-box"),style:{flexGrow:"1",height:"24px"},value:T!=null?T:x,onFocus:te=>G(te,"rowSpacing"),onBlur:te=>q("rowSpacing",te,P),onChange:te=>Q("rowSpacing",te),onKeyDown:te=>{if(te.key==="Enter"){d.current=!0,te.stopPropagation();return}}})]}),(0,gf.jsxs)("div",{className:i("inputRow"),children:[(0,gf.jsxs)("span",{className:`i18n ${i("form-label")}`,"data-i18n-attr":"title","data-test":"Column Spacing:",title:e("Column Spacing"),children:[e("Column Spacing"),":"]}),(0,gf.jsx)("input",{ref:p,name:"value",type:"text",className:i("form-box"),style:{flexGrow:"1",height:"24px"},value:I!=null?I:S,onFocus:te=>G(te,"colSpacing"),onBlur:te=>q("colSpacing",te,_),onChange:te=>Q("colSpacing",te),onKeyDown:te=>{if(te.key==="Enter"){d.current=!0,te.stopPropagation();return}}})]})]})}),(0,gf.jsxs)("div",{className:i("dialog-button"),children:[(0,gf.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>U("confirm"),"data-test":"Confirm",disabled:R7.checkTopSchematicInVariantView(Zj()),children:"Confirm"}),(0,gf.jsx)(Me,{onClick:()=>U("cancel"),"data-test":"Cancel",children:"Cancel"}),(0,gf.jsx)("div",{style:{float:"left",margin:"0 8px 0 0"},children:(0,gf.jsx)(Me,{style:{minWidth:"72px"},onClick:()=>U("Preview"),"data-test":"Preview",children:e("Preview")})}),(0,gf.jsx)("div",{style:{float:"left"},children:(0,gf.jsx)(Me,{disabled:D,onClick:()=>U("Adjust Array Spacing By Cursor"),"data-test":"Adjust Array Spacing By Cursor",children:e("Adjust Array Spacing By Cursor")})})]})]})};function A9r(t){let e=he.getActiveTabData().data.doctype;[se.SCH,se.NGSPICE,se.SIMULIDE].includes(e)||pr(e)?C.messageBus.publish("sch/arrayCopyCancel"):Pt(kt.Panel.ArrayCopyCancel)}var iro=E9r;var rro=L(z());async function oro(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,children:(0,rro.jsx)(iro,{containerId:o,extra:t.params})})}var uw=L(Se());var p9t=[{key:"start-x",name:"Start X",style:{marginLeft:"30px"},isUnit:!0},{key:"start-y",name:"Start Y",style:{marginLeft:"30px"},isUnit:!0},{key:"per-count",name:"Items per Row",style:{marginLeft:"30px"},isUnit:!1},{key:"space-x",name:"Column Spacing",style:{marginLeft:"30px"},isUnit:!0},{key:"space-y",name:"Row Spacing",style:{marginLeft:"30px"},isUnit:!0},{key:"rotation",name:"Item Rotation",style:{marginLeft:"30px"},isUnit:!1}],m9t=[{key:"center-x",name:"Center X",style:{marginLeft:"30px"},isUnit:!0},{key:"center-y",name:"Center Y",style:{marginLeft:"30px"},isUnit:!0},{key:"start-degree",name:"Start Degree",style:{},isUnit:!1},{key:"start-rotation-degree",name:"Start Rotation Degree",style:{},isUnit:!1},{key:"quantity",name:"Quantity",style:{},isUnit:!1,disabled:!0},{key:"spacing-degree",name:"Spacing Degree",style:{},isUnit:!1},{key:"radius",name:"Radius",style:{},isUnit:!0}];var h9t=L(aro());var bc=L(z()),{locals:xh}=h9t.default,N9r=t=>{Ae(h9t.default);let e=(0,uw.useContext)(WK);Ce(e);let i=(0,uw.useRef)({}),{pcbData:o}=e,r=J(),n=be.bind(xh),{containerId:a,dialogId:s,extra:{unit:l,quantity:c}}=t,d=document.getElementById(a),[u,p]=(0,uw.useState)("matrix"),[m,h]=(0,uw.useState)("row"),[f,g]=(0,uw.useState)({"start-x":"","start-y":"","distribute-by":"row","per-count":"","space-x":"","space-y":"",rotation:"0"}),[b,y]=(0,uw.useState)({"center-x":"","center-y":"",direction:"anti-clockwise","start-degree":"","start-rotation-degree":"",quantity:c+"","spacing-degree":"",radius:"","r-to-match":"no"});(0,uw.useEffect)(()=>{i.current.pointMsgBus=C.messageBus.subscribe("showArrayDistributionDlg",I=>{e.setPCBData(I),le.show(a)})},[u]),(0,uw.useMemo)(()=>{if(o){let{refPoint:{x:I,y:A},unit:D}=o;u==="matrix"?g({...f,"start-x":I,"start-y":A}):y({...b,"center-x":I,"center-y":A})}},[o]);let w=async I=>{if(["cancel","close"].includes(I)){await oo({action:I,dialogId:s,formData:{}}),i.current.pointMsgBus.cancel(),le.destroy();return}let A=x();if(!A)return;let D={...A,"distribute-type":u};C.messageBus.publish("arrayDistribution",{...D,action:I,dialogId:s}),oo({action:I,dialogId:s,formData:D})},x=()=>{let I=u==="matrix"?{...f}:{...b},A=d.querySelector(`.${u}-con`).querySelectorAll("input"),D=!0;return A.forEach(E=>{I[E.name]===""?(E.style.border="1px solid red",D=!1):E.style.border="1px solid #d1d1d1";let N=E.getAttribute("data-precise-value")||E.value;if(E.name.match(/(-([xy])|radius)$/)){if(isNaN(parseFloat(N)))return;I[E.name]=ue.unitConversion.conversion(l,"mil",parseFloat(N))/10}else I[E.name]=N}),D?I:(De({type:"warn",msg:"Please fill in all parameters!",timer:2.5}),null)},S=()=>{let I=Xi();C.windowBridge.publish("tool",u=="matrix"?"selectStartPoint":"selectCenterPoint",I.contentWindow),le.hide()};Bt(()=>{w("close")}).close(a),Bt(({code:I})=>{I==="Escape"&&w("cancel"),["Enter","NumpadEnter"].includes(I)&&w("apply")}).keyboard(a);let T=(0,uw.useCallback)(I=>{let{style:A,spanName:D,inputType:E="text",inputName:N,inputValue:R,disabled:v,isUnit:k,isInt:P,onBlur:O}=I,_=R!==""&&k?ue.unitConversion.conversion("mil",l,+R)*10:R;return(0,bc.jsxs)("div",{className:xh.line,children:[(0,bc.jsx)("span",{className:"title "+xh.left,style:A,"data-test":D,children:r(D)}),(0,bc.jsx)("input",{type:E,className:xh.right,defaultValue:R!==""&&k?fo(_,l)+l:_,"data-precise-value":_,name:N,disabled:v,autoComplete:"off",onFocus:j=>{j.target.value!==""&&(j.target.value=(P?parseInt(j.target.value):parseFloat(j.target.value)).toString())},onBlur:j=>{if(j.target.value!=j.target.getAttribute("data-precise-value"))if(j.target.value===""&&j.target.setAttribute("data-precise-value",""),k){let B=ul(j.target.value,l);isNaN(B)?j.target.value=fo(+j.target.getAttribute("data-precise-value"),l)+l:(j.target.value=fo(B,l)+l,j.target.setAttribute("data-precise-value",B.toString()),O&&O(ue.unitConversion.conversion(l,"mil",B)/10))}else{let B=parseFloat($s(j.target.value).toString());N.includes("degree")||N.includes("rotation")?B=Om(v6.regularD(B),{decimalPlacesShow:3}):B=Math.round(B),isNaN(B)||N=="per-count"&&B<1?j.target.value=j.target.getAttribute("data-precise-value")||"1":(j.target.value=B.toString(),j.target.setAttribute("data-precise-value",B.toString()),O&&O(B))}}})]})},[]),M=(0,uw.useCallback)(I=>{let{style:A,spanName:D,checked:E,onChange:N}=I;return(0,bc.jsxs)("label",{style:A,children:[(0,bc.jsx)("input",{type:"radio",name:"distribute-type",className:"left",checked:E,onChange:N}),(0,bc.jsx)("span",{className:"left","data-test":D,children:r(D)})]})},[]);return(0,bc.jsxs)("div",{className:xh.distribute,children:[(0,bc.jsxs)("div",{className:xh.popContentWrapper,children:[(0,bc.jsxs)("div",{className:"header type "+xh.box,style:{textAlign:"center"},children:[(0,bc.jsx)("span",{className:xh.title,"data-test":"Type",children:r("Type")}),(0,bc.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[(0,bc.jsx)(M,{style:{marginRight:"70px"},spanName:"Rectangular",checked:u==="matrix",onChange:(0,uw.useCallback)(()=>p("matrix"),[])}),(0,bc.jsx)(M,{spanName:"Circular",checked:u==="circular",onChange:(0,uw.useCallback)(()=>p("circular"),[])})]})]}),(0,bc.jsxs)("div",{children:[(0,bc.jsxs)("div",{className:"matrix-con "+xh.box,style:{border:"1px solid var(--common-border-color-1)",display:u==="circular"?"none":""},children:[(0,bc.jsx)("span",{className:xh.title,"data-test":"Rectangular",children:r("Rectangular")}),(0,bc.jsxs)("div",{className:xh.line,children:[(0,bc.jsx)("span",{className:"title "+xh.left,"data-test":"Location",children:r("Location")}),(0,bc.jsx)(Me,{class:xh.selectPoint,style:{minWidth:"76px"},size:"sm",onClick:S,children:"Select point by click"})]}),p9t.map((I,A)=>A>1?null:(0,bc.jsx)(T,{style:I.style,inputName:I.key,inputValue:f[I.key],spanName:I.name,isUnit:I.isUnit,onBlur:D=>g({...f,[I.key]:D})},I.key)),(0,bc.jsxs)("div",{className:xh.line,children:[(0,bc.jsx)("span",{className:"title "+xh.left,"data-test":"Distribute by",children:r("Distribute by")}),(0,bc.jsx)(xt,{style:{width:"190px",float:"right"},value:f["distribute-by"],list:[{text:"Horizontal, then vertical",value:"row"},{text:"Vertical, then horizontal",value:"column"}],onChange:I=>{g({...f,"distribute-by":I}),h(I)}})]}),p9t.map((I,A)=>A<2?null:(0,bc.jsx)(T,{style:I.style,inputName:I.key,inputValue:f[I.key],spanName:I.key!="per-count"?I.name:m=="row"?"Items per Row":"Items per Column",isUnit:I.isUnit,onBlur:D=>g({...f,[I.key]:D})},I.key))]}),(0,bc.jsxs)("div",{className:"circular-con "+xh.box,style:{border:"1px solid var(--common-border-color)",display:u==="matrix"?"none":""},children:[(0,bc.jsx)("span",{className:xh.title,"data-test":"Circular",children:r("Circular")}),(0,bc.jsxs)("div",{className:xh.line,children:[(0,bc.jsx)("span",{className:"title "+xh.left,"data-test":"Location",children:r("Location")}),(0,bc.jsx)(Me,{class:xh.selectPoint,style:{minWidth:"76px"},size:"sm",onClick:S,children:"Select point by click"})]}),m9t.map((I,A)=>A>1?null:(0,bc.jsx)(T,{style:I.style,inputName:I.key,inputValue:b[I.key],spanName:I.name,isUnit:I.isUnit,onBlur:D=>y({...b,[I.key]:D})},I.key)),(0,bc.jsxs)("div",{className:xh.line,children:[(0,bc.jsx)("span",{className:"title "+xh.left,"data-test":"Direction",children:r("Direction")}),(0,bc.jsx)(xt,{name:"direction",style:{width:"190px",float:"right"},value:b.direction,list:[{text:"Anti-Clockwise",value:"anti-clockwise"},{text:"Clockwise",value:"clockwise"}],onChange:I=>y({...b,direction:I})})]}),m9t.map((I,A)=>A<2?null:(0,bc.jsx)(T,{disabled:I.disabled||!1,style:I.style,inputName:I.key,inputValue:b[I.key],spanName:I.name,isUnit:I.isUnit,onBlur:D=>y({...b,[I.key]:D})},I.key)),(0,bc.jsxs)("div",{className:xh.line,children:[(0,bc.jsx)("span",{className:"title "+xh.left,"data-test":"Rotate Item to Match",children:r("Rotate Item to Match")}),(0,bc.jsx)(xt,{name:"r-to-match",style:{width:"190px",float:"right"},value:b["r-to-match"],list:[{text:"No",value:"no"},{text:"Yes",value:"yes"}],onChange:I=>y({...b,"r-to-match":I})})]})]})]})]}),(0,bc.jsxs)("div",{className:xh.popFooterWrapper,children:[(0,bc.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>w("apply"),children:"Confirm"}),(0,bc.jsx)(Me,{onClick:()=>w("cancel"),children:"Cancel"})]})]})},sro=N9r;var cro=L(z());async function lro(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,mask:!1,children:(0,cro.jsx)(sro,{containerId:o,dialogId:t.dialogId,extra:t.extra})})}var eb=L(Se());var q6e=L(uro());var pro=[{value:"any",optionText:"Any"},{value:"Name",optionText:"Component Property - Name"},{value:"Designator",optionText:"Component Property - Designator"},{value:"Device",optionText:"Component Property - Device"},{value:"Footprint",optionText:"Component Property - Footprint"},{value:"Value",optionText:"Component Property - Value"}];var mro=[{value:"currentPage",optionText:"Current Page"},{value:"selected",optionText:"Current Selected Object"}],hro=[{value:"wildChar",text:"Use Regular[*?]",checked:!1,disabled:!1},{value:"caseSensitive",text:"Match case",checked:!1,disabled:!1},{value:"expression",text:"Use expression",checked:!1,disabled:!1}],fro=[{value:"any",optionText:"Any"},{value:"contain",optionText:"Contain"},{value:"equal",optionText:"Equal"}],gro=[{value:"any",optionText:"Any"},{value:"onlyKey",optionText:"Only Key Displayed"},{value:"onlyValue",optionText:"Only Value Displayed"},{value:"both",optionText:"Both Displayed"},{value:"none",optionText:"Both Not Displayed"}];var bro=[{i18n:"Find All",size:"md",style:{marginRight:"8px"},class:"",action:"apply",btnType:"default",btnText:"Find All",disable:!1},{i18n:"Previous",size:"md",style:{marginRight:"8px"},class:"prev",action:"previous",btnType:"default",btnText:"Previous(P)",disable:!1},{i18n:"Next",size:"md",style:{marginRight:"8px"},class:"next",action:"next",btnType:"default",btnText:"Next(N)",disable:!1},{i18n:"Cancel",size:"md",class:"",action:"cancel",btnType:"default",btnText:"Cancel",disable:!1}];var as=L(z()),{locals:yro}=q6e.default,iE={},k9r=t=>{Ae(q6e.default);let e=be.bind(q6e.default),{containerId:i,dialogId:o}=t,r=J(),n=document.getElementById(i);(0,eb.useLayoutEffect)(()=>{setTimeout(()=>{n.querySelector('.row[data-attr-name="All"] input').focus()},0)},[]);let[a,s]=(0,eb.useState)(t.objTypeName||"Component"),[l,c]=(0,eb.useState)(t.componentPropertyType||"any"),[d,u]=(0,eb.useState)(t.inputType),[p,m]=(0,eb.useState)(t.values),[h,f]=(0,eb.useState)(t.unit),[g,b]=(0,eb.useState)(t.attrConfig),[y,w]=(0,eb.useState)("currentPage");(0,eb.useEffect)(()=>{let V=C.messageBus.subscribe("updatePcbFindDialog",G=>{s(G.objTypeName||"Component"),c(G.componentPropertyType),m(G.values)});return()=>{V.cancel()}},[]);let[x,S]=(0,eb.useState)(hro),T=(V,G)=>{S(Q=>(V==="wildChar"?Q=Q.map(H=>(H.value===V&&(H.checked=G),H.value==="expression"&&H.checked&&(H.checked=!1),H)):V==="expression"?Q=Q.map(H=>(H.value===V&&(H.checked=G),H.value==="wildChar"&&H.checked&&(H.checked=!1),H)):Q=Q.map(H=>(H.value===V&&(H.checked=G),H)),Q))},M=()=>(0,as.jsxs)("div",{className:"ranges border",children:[(0,as.jsxs)("div",{className:"row",style:{display:"flex"},children:[(0,as.jsx)("div",{className:"title",children:r({value:"Type:",context:"find-similar"})}),(0,as.jsx)("div",{style:{flex:1},children:(0,as.jsx)(xt,{name:"objectType",value:a,list:Object.keys(g).map(V=>({text:V,value:V})),onChange:V=>{s(V.toString())}})}),a=="Component Property"&&(0,as.jsx)("div",{style:{flex:1},children:(0,as.jsx)(xt,{name:"component_property_type",value:l,list:pro.map(V=>({value:V.value,text:{value:V.optionText,context:"find-similar"}})),onChange:V=>{c(V.toString())}})})]}),(0,as.jsxs)("div",{className:"row",style:{display:"flex"},children:[(0,as.jsx)("div",{className:"title",children:r({value:"Range:",context:"find-similar"})}),(0,as.jsx)("div",{style:{flex:1,overflowX:"hidden"},children:(0,as.jsx)($i,{value:y,options:mro.map(V=>({value:V.value,label:r({value:V.optionText,context:"find-similar"})})),gap:"130px",onChange:V=>{w(V)}})})]})]}),I=()=>(0,as.jsx)("div",{className:"row stringMode",style:{display:"flex"},children:x.map(V=>(0,as.jsx)("div",{children:(0,as.jsxs)("label",{children:[(0,as.jsx)("input",{type:"checkbox",name:V.value,checked:V.checked,onChange:()=>T(V.value,!V.checked)}),(0,as.jsx)("span",{children:r(V.text)})]})},V.value))}),A=(V,G,Q,H)=>{if(V.target.value=="")return"";if(G=="textInputWithUnit"){let q=ul(V.target.value,h);return isNaN(q)?Q:j9(q,h)+h}else if(G=="textInputWithNumber"){let q=$s(V.target.value);return isNaN(q)?Q:H.toLowerCase().includes("rotation")?li.fixAngle(q):q}return V.target.value},D=({val:V,type:G,attrName:Q})=>{let[H,q]=(0,eb.useState)(V||""),[U,F]=(0,eb.useState)(V||"");return(0,as.jsx)("div",{className:"value",children:(0,as.jsx)(Kt,{ref:K=>Q=="All"&&K&&K.focus(),type:"text",defaultValue:H,enterTriggerBlur:!0,onFocus:K=>{if(G=="textInputWithUnit"&&K.target.value!==""){let te=parseFloat(K.target.value);isNaN(te)||(K.target.value=te.toString())}},onBlur:K=>{let te=A(K,G,U,Q);K.target.value=te,iE[Q]&&(iE[Q].attrValue=te)}})})},E=({val:V,list:G,attrName:Q,addClearBtn:H})=>{let[q,U]=(0,eb.useState)(V||"");return(0,as.jsx)("div",{className:"value",children:H?(0,as.jsx)(_1e,{value:q,showDropDownIcon:!0,clear:!0,selectList:G.map(F=>F.value),onChange:F=>{iE[Q].attrValue=F,U(F)},onClearClick:()=>U("")},Q):(0,as.jsx)(xt,{name:Q,value:q,list:G.map(F=>({showOriginalText:!0,text:F.text,value:F.value,disabled:F.disabled})),onChange:F=>{iE[Q].attrValue=F,U(F)}},Q)})},N=({row:V})=>{var H;let[G,Q]=(0,eb.useState)(V.condition||((H=iE[V.value])==null?void 0:H.mode)||"any");return(0,as.jsx)("div",{children:(0,as.jsx)(xt,{name:"mode",value:G,list:fro.map(q=>({value:q.value,text:r({value:q.optionText,context:"find-similar"})})),onChange:q=>{iE[V.value].mode=q.toString(),Q(q.toString())}})})},R=({row:V})=>{let[G,Q]=(0,eb.useState)("any");return(0,as.jsx)("div",{children:(0,as.jsx)(xt,{name:"display",value:G,list:gro.map(H=>({value:H.value,text:r({value:H.optionText,context:"find-similar"})})),onChange:H=>{iE[V.value].attrDisplay=H.toString(),Q(H.toString())}})})},v=({attrName:V})=>{var U,F,K;let G=d[V]||{type:"textInput",translate:!1},Q=G.type,H=G.clearBtn,q=p[V]!=null?p[V]:"";if(iE[V]&&(iE[V].attrValue=q),Q==="select"){let ae=(((U=g[a][V])==null?void 0:U.value)||G.value).map(pe=>({text:pe,value:pe,doNotTranslate:!G.translate,i18nContext:G.i18nContext}));return q=="<...>"&&ae.unshift({text:q,value:q,doNotTranslate:!G.translate}),q=(K=q!=null?q:(F=ae[0])==null?void 0:F.value)!=null?K:"",iE[V].attrValue=q,(0,as.jsx)(E,{attrName:V,val:q,list:ae.map(pe=>{let Z;return pe.doNotTranslate?Z=pe.text:(Z=r({value:pe.text,context:pe.i18nContext}),Jc.zh2EnCache[Z]=pe.text),{text:Z,value:pe.value,disabled:pe.value=="<...>"}}),addClearBtn:H})}return(0,as.jsx)(D,{val:q,type:Q,attrName:V},V)},k=V=>(0,as.jsxs)("div",{className:"row column4 attr-row","data-attr-name":V.value,children:[(0,as.jsx)("div",{className:"title",children:r({value:V.value.startsWith("attrs-")?V.value.split("attrs-")[1]:V.value=="Property Value"&&l!="any"?l:V.value,context:V.value=="All"?null:"attrs"})}),(0,as.jsx)(N,{row:V}),(0,as.jsx)(v,{attrName:V.value},V.value),V.showDisplayColumn&&(0,as.jsx)(R,{row:V})]}),P=(0,eb.useMemo)(()=>{iE={All:{mode:"contain",attrValue:"",attrDisplay:"any",attrName:"All"}};let V=[],G=[];return g[a]&&Object.entries(g[a]).forEach(Q=>{let H=Q[0],q=Q[1];iE[H]={mode:"any",attrValue:"",attrDisplay:"any",attrName:H},H.startsWith("attrs-")?G.push((0,as.jsx)(k,{value:H,showDisplayColumn:a=="Component"},H)):V.push((0,as.jsx)(k,{value:H,showDisplayColumn:a=="Component"&&!q.cannotDisplay},H))}),G.length>0&&V.push((0,as.jsxs)("div",{className:"para-attr",children:[(0,as.jsx)("span",{className:"title",children:r("Custom Properties")}),G]},"customProps")),V},[a,p,l]),O=()=>(0,as.jsxs)("div",{className:"conditions border",children:[(0,as.jsx)("legend",{className:"first",children:r("Property")}),(0,as.jsx)(I,{}),(0,as.jsx)(k,{value:"All",condition:"contain",showDisplayColumn:!0}),(0,as.jsxs)("div",{className:"row column4",style:{background:"var(--bg-color-table-header)"},children:[(0,as.jsx)("div",{children:r("Property Name")}),(0,as.jsx)("div",{children:r({value:"Condition",context:"find-similar"})}),(0,as.jsx)("div",{children:r("Property Value")}),(0,as.jsx)("div",{children:r("Canvas Display")})]}),(0,as.jsx)("div",{className:"properties",children:P})]}),_=async(V,G=!1)=>{let Q=[];for(let q of Object.values(iE))q.mode!="any"&&(q.attrName=="All"&&(q.attrValueEn=Jc.zh2EnCache[q.attrValue]),Q.push(q));let H={objType:a,strMode:x.filter(q=>q.checked).map(q=>q.value),conditions:Q,componentPropertyType:l,selectFirstRow:G,objRange:y};await oo({action:V,dialogId:o,formData:H})},j=V=>{switch(V){case"previous":case"next":YY&&YY.hasData()?YY.goToRow(V=="previous"?-1:1):_("apply",!0);break;case"apply":{_(V);break}case"cancel":le.close(i)}},B=()=>{let V=J();return Ae(q6e.default),(0,eb.useEffect)(()=>{let G=C.messageBus.subscribe(`keyboard_${i}`,Q=>{(Q==null?void 0:Q.key)=="Enter"&&j("apply")});return()=>{G.cancel()}},[]),(0,as.jsx)("div",{className:yro.footer,children:bro.map((G,Q)=>(0,as.jsx)(Me,{class:G.class,type:G.btnType,size:G.size,style:{...G.style&&G.style},disabled:G.disable,onClick:()=>j(G.action),children:G.btnText},G.i18n))})};return(0,as.jsxs)("div",{className:yro.relative_offset,id:"pcbFindDialog",children:[(0,as.jsxs)("div",{children:[(0,as.jsx)(M,{}),(0,as.jsx)(O,{})]}),(0,as.jsx)(B,{})]})},wro=k9r;var xro=L(z());async function Cro(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i,s={dialogId:t.dialogId,attrConfig:t.extra.attrConfig,inputType:t.extra.inputType,unit:t.extra.unit,objTypeName:t.extra.objTypeName,values:t.extra.values,componentPropertyType:t.extra.componentPropertyType};if(le.isOpen(o)){C.messageBus.publish("updatePcbFindDialog",s);return}Jc.zh2EnCache={},le.open({id:o,title:r,width:n,closed:a,mask:!1,children:(0,xro.jsx)(wro,{containerId:o,...s})})}var Wno=L(Vi()),KY=L(Se());var f$e=L(X6e());var Vno=L(Se());var gno=L(Se());var Dge=11,UEc="SIGNAL",VEc="PLANE",HEc="TOP",GEc="CUSTOM",Sro="Signal",Mro=["TOP","BOTTOM","SIGNAL"],Iro="Plane",Lro=["PLANE"],vro="Silk Layer",Dro=["TOP_SILK","BOT_SILK"],Ero="SolderMask Layer",Aro=["TOP_SOLDER_MASK","BOT_SOLDER_MASK"],Nro="PasteMask Layer",kro=["TOP_PASTE_MASK","BOT_PASTE_MASK"],Pro="Assembly",Oro=["TOP_ASSEMBLY","BOT_ASSEMBLY"],Rro="Custom Layer",_ro=["CUSTOM"],jro="Other",Bro=[{name:"PlaneZone",value:"PLANE"},{name:"Signal",value:"SIGNAL"}];var f9t=[{title:"Layer Management",key:"Layer Management"},{title:"Physical Stacking",key:"Physical Stacking"}],g9t=[{name:"1",value:1},{name:"2",value:2},{name:"4",value:4},{name:"6",value:6},{name:"8",value:8},{name:"10",value:10},{name:"12",value:12},{name:"14",value:14},{name:"16",value:16},{name:"18",value:18},{name:"20",value:20},{name:"22",value:22},{name:"24",value:24},{name:"26",value:26},{name:"28",value:28},{name:"30",value:30},{name:"32",value:32}],b9t=[{name:"Common Material",value:"CommonMaterial"},{name:"FPC Flexible",value:"FPCFlexible"}];var zro=[{key:"numberIndex",name:"No.",sortable:!1,width:.1},{key:"layerName",name:"Name",sortable:!1,width:.3},{key:"layerType",name:"Type",sortable:!1,width:.2},{key:"activeColor",name:"Color",sortable:!1,width:.2},{key:"activeColorAlpha",name:"Transparency(%)",sortable:!1,width:.2}],Fro="",Uro="";var Vro=[{key:"Layer",name:"Layer",sortable:!1,width:.2},{key:"Layer Type",name:"Type",sortable:!1,width:.2},{key:"Material",name:"Material",sortable:!1,width:.15},{key:"Thickness",name:"Thickness(mm)",sortable:!1,width:.15},{key:"Permittivity",name:"Permittivity",sortable:!1,width:.15},{key:"Loss Tangent",name:"Loss Tangent",sortable:!1,width:.15}],Hro=1600,Gro=35,Yro=10,fz=1e3,AO="mm",Wro=3.3,Qro=4.5,Kro=.02,Zro=0,y9t="-",Ege="SUBSTRATE",VXe={TOP_SILK:1,TOP_PASTE_MASK:2,TOP_SOLDER_MASK:3,TOP:4,PLANE:5,SIGNAL:5,BOTTOM:6,BOT_SOLDER_MASK:7,BOT_PASTE_MASK:8,BOT_SILK:9};function P9r(t){let i=String(t).split(".");return typeof i[1]<"u"?i[1].length:0}function w9t(t,e=!1){let i={...t,Material:t.Material||"",Thickness:t.Thickness||0,Permittivity:t.Permittivity||0,"Loss Tangent":t["Loss Tangent"]||0,lcEnableDragSort:!1,$id:t["Layer Id"],referenceLayerId:t["Layer Id"],localLayer:t.Layer,localLayerPhyType:"",localLayerPhyTypeShow:"",bgColor:"",isNameEditStatus:!1,isTypeEditStatus:!1,isMaterialEditStatus:!1,isThicknessEditStatus:!1,isPermittivityEditStatus:!1,isLossTangentEditStatus:!1,isNameUpdated:!1,isNameChanging:!1,oldLayerPhyType:t.Type,oldLayerName:t.Layer,oldMaterial:t.Material||"",oldThickness:t.Thickness||0,oldPermittivity:t.Permittivity||0,oldLossTangent:t["Loss Tangent"]||0};if(e&&i.Thickness!=null){let o=P9r(i.Thickness),r=i.Thickness*fz,n=+li.toFixed(r,o,!0);i.Thickness=n,i.oldThickness=i.Thickness}return i.Type=x9t(i["Layer Type"]),i}function qro(t,e=!1){return t.map((i,o)=>w9t(i,e))}function C9t(t,e){let i=ue.deepClone(t);i.localLayerPhyTypeShow=i.localLayerPhyType=x9t(i["Layer Type"]),i.bgColor=O9r(i.localLayerPhyType),i.lcEnableDragSort=kge(i)||S9t(i);let o=i["Layer Type"]===Ege,r=!1;if(o){let a=`SUBSTRATE${+i["Layer Id"]-100}`;r=i.Layer!==a}let n=Object.keys(i);for(let a=0;a<n.length;a++){let s=n[a],l=i[s];if(!(s==="$id"||s=="Layer Id"||s=="Layer Type"||s==="bgColor"||s==="localLayerPhyType")&&typeof l!="boolean"){if(s==="Thickness"||s==="oldThickness"){l=l/fz,i[s]=l;continue}if(s==="Permittivity"||s==="Loss Tangent"||s==="oldPermittivity"||s==="oldLossTangent"){e&&l===null?i[s]=y9t:i[s]=l;continue}if(typeof l=="string"){if((s==="Layer"||s==="oldLayerName")&&l.startsWith("Dielectric")){i[s]=me._context_i18n("pcb-layers","Dielectric{number}",{number:l.slice(10)});continue}if((s==="Layer"||s==="oldLayerName")&&l.startsWith("Inner")){i[s]=me._context_i18n("pcb-layers","Inner{number}",{number:l.slice(5)});continue}if((s==="Layer"||s==="oldLayerName")&&r||s==="localLayer"||s==="oldMaterial")continue;i[s]=me._context_i18n("pcb-layers",l,null)}if(l===null){i[s]=y9t;continue}}}return i}function eIe(t,e){return t.map((i,o)=>C9t(i,e))}function Xro(t){let e=(i,o)=>{let r=i.layerType,n=o.layerType,a=VXe[r],s=VXe[n];return a&&s&&a!==s?a>s?1:-1:i.layerId>o.layerId?1:-1};return t.filter(i=>VXe[i.layerType]).sort(e)}function $ro(t,e,i=[]){let o=[],r=[],n=0,a=0,s=1e4,l=(u,p,m,h)=>{let f=x9t(u),g=Age(f);if(typeof p>"u"||p===""||p===null){let y=Ft(e,"layerName",m);y.data&&(p=y.data.layerId)}if(a+=g,h){if(u===Ege){n++;let y={"Layer Id":++s,Layer:Jro(n,i),"Layer Type":Ege,Type:"Substrate",Material:HXe("Substrate"),Thickness:Age("Substrate"),Permittivity:GXe("Substrate"),"Loss Tangent":YXe("Substrate")};o.push(y),r.push(y)}else{let y={"Layer Id":p,Layer:m,"Layer Type":u,Type:f,Material:HXe(f),Thickness:g,Permittivity:GXe(f),"Loss Tangent":YXe(f)};o.push(y)}return}let b={"Layer Id":p,Layer:m,"Layer Type":u,Type:f,Material:HXe(f),Thickness:g,Permittivity:GXe(f),"Loss Tangent":YXe(f)};if(o.push(b),f==="Copper"&&u!=="BOTTOM"){n++;let y={"Layer Id":++s,Layer:Jro(n,i),"Layer Type":Ege,Type:"Substrate",Material:HXe("Substrate"),Thickness:Age("Substrate"),Permittivity:GXe("Substrate"),"Loss Tangent":YXe("Substrate")};o.push(y),r.push(y)}},c=u=>{let p=Ft(t,"Layer Type",u);p.index<=-1&&(p=Ft(e,"layerType",u),p.index>=0&&l(p.data.layerType,p.data.layerId,p.data.layerName,!1))},d=e.filter(u=>u.layerType==="SIGNAL"||u.layerType==="PLANE");if(t.length){c("TOP_SILK"),c("TOP_PASTE_MASK");let u=0;for(let p of t){let m=p["Layer Id"],h=p.Layer;(p["Layer Type"]==="SIGNAL"||p["Layer Type"]==="PLANE"&&d[u])&&(m=d[u].layerId,h!==d[u].layerName&&(h=d[u].layerName),++u),l(p["Layer Type"],m,h,!0)}c("BOT_PASTE_MASK"),c("BOT_SILK")}else for(let u of e)l(u.layerType,u.layerId,u.layerName,!1);return r.forEach((u,p)=>{u.Thickness=Number((Hro-a)/n),p===Math.floor(n/2)&&(u.Material="FR4")}),o}function x9t(t){switch(t){case"TOP":case"BOTTOM":case"SIGNAL":case"PLANE":return"Copper";case"TOP_SILK":case"BOT_SILK":case"BOTTOM_SILK":return"Silk Layer";case"TOP_PASTE_MASK":case"BOT_PASTE_MASK":return"PasteMask Layer";case"TOP_SOLDER_MASK":case"BOT_SOLDER_MASK":case"BOTTOM_SOLDER_MASK":return"SolderMask Layer";default:return"Substrate"}}function O9r(t){return`${{Copper:"#FF9900","Silk Layer":"#01BE01","SolderMask Layer":"#01BE01","PasteMask Layer":"#01BE01",Substrate:"#999999"}[t]}`}function Age(t){switch(t){case"SolderMask Layer":return Yro;case"Copper":return Gro;case"Substrate":return 0;default:return null}}function HXe(t){switch(t){case"SolderMask Layer":return"";case"Substrate":return"PP";default:return null}}function GXe(t){switch(t){case"Substrate":return Qro;case"SolderMask Layer":return Wro;default:return null}}function YXe(t){switch(t){case"SolderMask Layer":return Kro;case"Substrate":return Zro;default:return null}}function eno(t){return t.filter(e=>e.Type==="Substrate").map(e=>e.Layer)}function Jro(t,e=[]){let i=`Dielectric${t}`;for(;e.includes(i);)t++,i=`Dielectric${t}`;return i}function tno(t){let e=0;for(let i=0;i<t.length;i++)+t[i]["Layer Id"]>=e&&(e=t[i]["Layer Id"]);return e}function ino(t){for(let e=t.length-1;e>=0;e--)if(t[e]["Layer Type"]==="BOTTOM")return e;return-1}function ono(t,e,i=0,o="FR4",r=4.5,n=1.5100045999999998){return{Layer:t,"Layer Id":e,"Layer Type":Ege,"Loss Tangent":i,Material:o,Permittivity:r,Thickness:n,Type:null}}function rno(t){let e=0;for(let i of t)e+=Age(i.Type)||0;return e}function Nge(t,e=!1){return t.map(i=>T9t(i,e))}function T9t(t,e=!1){let i={"Layer Id":t["Layer Id"],Layer:t.localLayer,"Layer Type":t["Layer Type"],Type:t.localLayerPhyType,Material:t.oldMaterial||"",Thickness:t.Thickness||0,Permittivity:t.Permittivity||0,"Loss Tangent":t["Loss Tangent"]||0};return e&&(i.referenceLayerId=t.referenceLayerId),i}function kge(t){return t.localLayerPhyType==="Copper"&&t["Layer Type"]!=="TOP"&&t["Layer Type"]!=="BOTTOM"}function S9t(t){return t.localLayerPhyType==="Substrate"}function tIe(t,e="",i=-1){if(e&&i!==-1){for(let r=0;r<t.length;r++){if(String(t[r]["Layer Id"])===String(i))continue;if((t[r].isNameUpdated?t[r].Layer:Gm(t[r].Layer))===e)return!0}return!1}let o=new Array(t.length);for(let r=0;r<t.length;r++){let n=t[r].isNameUpdated?t[r].Layer:Gm(t[r].Layer);if(o.indexOf(n)<=-1){o.push(n);continue}return!0}return!1}function nno(t){let e=[];for(let a=0;a<t.length;a++){if(t[a]["Layer Type"]!=="SUBSTRATE")continue;let l=t[a].localLayer.match(/\d+$/g);l&&l.length&&e.push(+l[0])}let i=ue.naturalSort(e),o=i[0],r=i[i.length-1],n=0;for(;n<=r;){if(i.indexOf(n)<=-1)return n;n++}return r+1}function R9r(t,e){let i={...t,$id:t.layerId,referenceLayerId:t.layerId,numberIndex:e,localLayerType:"",isNameEditStatus:!1,isNameChanging:!1,oldLayerType:t.layerType,oldActiveColor:t.activeColor,oldLayerName:t.layerName,oldActiveColorAlpha:t.activeColorAlpha};return i.activeColorAlpha=+li.toFixed(100-+i.activeColorAlpha*100,4,!1),i.oldActiveColorAlpha=+li.toFixed(100-+i.oldActiveColorAlpha*100,4,!1),Mro.indexOf(t.layerType)>=0?(i.localLayerType=Sro,i):Lro.indexOf(t.layerType)>=0?(i.localLayerType=Iro,i):Dro.indexOf(t.layerType)>=0?(i.localLayerType=vro,i):Aro.indexOf(t.layerType)>=0?(i.localLayerType=Ero,i):kro.indexOf(t.layerType)>=0?(i.localLayerType=Nro,i):Oro.indexOf(t.layerType)>=0?(i.localLayerType=Pro,i):_ro.indexOf(t.layerType)>=0?(i.localLayerType=Rro,i):(i.localLayerType=jro,i)}function ano(t){return t.map((e,i)=>R9r(e,i+1))}function sno(t){let e=[],i=[],o=[],r=[];for(let l=0;l<t.length;l++){if(t[l].layerType==="TOP"){e.push(t[l]);continue}if(t[l].layerType==="SIGNAL"||t[l].layerType==="PLANE"){i.push(t[l]);continue}if(xI(t[l].layerId)){o.push(t[l]);continue}r.push(t[l])}let n=Ft(r,"layerType","OUTLINE"),a=[],s=[];return n.index>=0&&(a=r.slice(0,n.index),s=r.slice(n.index)),[].concat(e,i,a,o,s)}function lno(t){let e=t.filter(i=>xI(i.layerId));return e.length&&e.every(i=>i.status!==0)?"FPCFlexible":"CommonMaterial"}function M9t(t,e,i=!1){return t.map(o=>Pge(o,e,i))}function Pge(t,e,i=!1){let o=+li.toFixed((100-+t.activeColorAlpha)/100,4,!1),r=+li.toFixed((100-+e)/100,4,!1),n={activeColor:t.activeColor,activeColorAlpha:o,deactiveColor:t.deactiveColor,deactiveColorAlpha:r||t.deactiveColorAlpha,layerId:t.layerId,layerName:t.layerName,layerType:t.layerType,locked:t.locked,status:t.status};return i&&(n.referenceLayerId=t.referenceLayerId),n}function Oge(t){return t.layerType==="SIGNAL"||t.layerType==="PLANE"}function KXe(t,e){for(let i=0;i<t.length;i++)if(Oge(t[i])){if(e>=1){t[i].status=1,e--;continue}t[i].status=0}return t}function oIe(t,e="",i=-1){if(e&&i!==-1){for(let r=0;r<t.length;r++){if(t[r].layerId===i||t[r].status===0)continue;if(t[r].layerName===e)return!0}return!1}let o=new Array(t.length);for(let r=0;r<t.length;r++){if(t[r].status===0)continue;let n=Gm(t[r].layerName);if(o.indexOf(n)<=-1){o.push(n);continue}return!0}return!1}var ZXe=class extends qe{constructor(e){super(),this.parent=e}createExoprtData(e=!1){let i=M9t(this.parent.layerTableStore.tableData,this.parent.layerFormStore.nonActiveLayerOpacity,e),o=Nge(this.parent.layerPhyTableStore.tableData,e);return{layerManagement:i,physicalStacking:o}}exportAsFile(e=!1){let i=M9t(this.parent.layerTableStore.tableData,this.parent.layerFormStore.nonActiveLayerOpacity,e),o=Nge(this.parent.layerPhyTableStore.tableData,e),r=`Config_LayerManager_${ue.formatDate2(new Date,"yyyy-MM-dd")}.json`,n={layerManagement:i.map(a=>({selected:!1,values:a})),physicalStacking:o.map(a=>({selected:!1,values:a}))};ya(JSON.stringify(n,null,"	"),r)}async checkImportLayerData(e,i){let o=e.filter(n=>n.status!==0).map(n=>n.layerId),r=i.filter(n=>!o.includes(n.layerId)).map(n=>n.layerId);return await this.checkDelLayers(r)}async checkDelLayers(e){let i=await ei(),{notEmpty:o,conflictBlindViaRule:r}=(await C.windowBridge.rpcCall("CanRemoveLayers",{layerIds:e,action:"layerTotalUpdated"},i.contentWindow)).message,n="";if(o.layerNames.length>0&&(n=me.i18n(`<p>${o.layerNames.map(a=>a.indexOf("Inner")==0?`<span style="color:red;">${me._context_i18n("pcb-layers","Inner{number}",{number:a.split("Inner")[1]})}</span>`:`<span style="color:red;">${me._context_i18n("pcb-layers",a,null)}</span>`).join(", ")}</p>`)),r||n){let a=me.i18n("Please delete or adjust all the objects of the layers and the design rules of the blind/buried hole first:")+n;return Ut({type:"warn",message:a,isHtml:!0}),!1}return!0}async checkCanRemoveLayersWhenLayerCountChanged(e,i){let o=KXe(JSON.parse(JSON.stringify(e)),i).filter(d=>Oge(d)&&d.status!==0).map(d=>d.layerId),n=e.filter(d=>Oge(d)&&d.status!==0).map(d=>d.layerId).filter(d=>o.indexOf(d)<=-1),a=await ei(),{notEmpty:s,conflictBlindViaRule:l}=(await C.windowBridge.rpcCall("CanRemoveLayers",{layerIds:n,action:"layerTotalUpdated"},a.contentWindow)).message,c="";if(s.layerNames.length>0&&(c=me.i18n(`<p>${s.layerNames.map(d=>d.indexOf("Inner")==0?`<span style="color:red;" data-i18n-context="pcb-layers">${me._context_i18n("pcb-layers","Inner{number}",{number:d.split("Inner")[1]})}</span>`:`<span style="color:red;" data-i18n-context="pcb-layers">${me._context_i18n("pcb-layers",d,null)}</span>`).join(", ")}</p>`)),l||c){let d=me.i18n("Please delete or adjust all the objects of the layers and the design rules of the blind/buried hole first:")+c;return Ut({type:"warn",message:d,isHtml:!0}),!1}return!0}};var JXe=class extends qe{constructor(e){super(),this.parent=e,this._copperLayerSettingList=JSON.parse(JSON.stringify(g9t)),this._copperLayerSettingSelected=g9t[0].value,this._nonActiveLayerOpacity=0,this._pcbMaterialList=JSON.parse(JSON.stringify(b9t)),this._pcbMaterialSelected=b9t[0].value}updateNonActiveLayerOpacityBySelectedLayerColorPreset(e){switch(e){case"JLCEDA":{this.nonActiveLayerOpacity=50;break}case"Altium Designer":{this.nonActiveLayerOpacity=0;break}case"PADS":{this.nonActiveLayerOpacity=50;break}case"KiCad":{this.nonActiveLayerOpacity=50;break}}}updateNonActiveLayerOpacityByLayerTable(){let i=100-+this.parent.layerTableStore.tableData[0].deactiveColorAlpha*100;this.nonActiveLayerOpacity=li.toFixed(i,2)}get copperLayerSettingList(){return this._copperLayerSettingList}set copperLayerSettingList(e){this._copperLayerSettingList=e,this.notify()}get copperLayerSettingSelected(){return this._copperLayerSettingSelected}set copperLayerSettingSelected(e){this._copperLayerSettingSelected=e,this.notify()}get nonActiveLayerOpacity(){return this._nonActiveLayerOpacity}set nonActiveLayerOpacity(e){this._nonActiveLayerOpacity=e,this.notify()}get pcbMaterialList(){return this._pcbMaterialList}set pcbMaterialList(e){this._pcbMaterialList=e,this.notify()}get pcbMaterialSelected(){return this._pcbMaterialSelected}set pcbMaterialSelected(e){this._pcbMaterialSelected=e,this.notify()}};var Rge=class extends qe{constructor(){super(),this._addtionBtnShow=!0,this._addtionBtnDisabled=!0,this._deletionBtnShow=!0,this._deletionBtnDisabled=!0,this._upmoveBtnShow=!0,this._upmoveBtnDisabled=!0,this._downmoveBtnShow=!0,this._downmoveBtnDisabled=!0,this._newCount=0}get addtionBtnShow(){return this._addtionBtnShow}set addtionBtnShow(e){this._addtionBtnShow=e,this.notify()}get addtionBtnDisabled(){return this._addtionBtnDisabled}set addtionBtnDisabled(e){this._addtionBtnDisabled=e,this.notify()}get deletionBtnShow(){return this._deletionBtnShow}set deletionBtnShow(e){this._deletionBtnShow=e,this.notify()}get deletionBtnDisabled(){return this._deletionBtnDisabled}set deletionBtnDisabled(e){this._deletionBtnDisabled=e,this.notify()}get upmoveBtnShow(){return this._upmoveBtnShow}set upmoveBtnShow(e){this._upmoveBtnShow=e,this.notify()}get upmoveBtnDisabled(){return this._upmoveBtnDisabled}set upmoveBtnDisabled(e){this._upmoveBtnDisabled=e,this.notify()}get downmoveBtnShow(){return this._downmoveBtnShow}set downmoveBtnShow(e){this._downmoveBtnShow=e,this.notify()}get downmoveBtnDisabled(){return this._downmoveBtnDisabled}set downmoveBtnDisabled(e){this._downmoveBtnDisabled=e,this.notify()}};var qXe=class extends Rge{constructor(e){super(),this.parent=e}updateBtnStatus(e){if(this.addtionBtnDisabled=!1,!e){this.deletionBtnDisabled=!0;return}e.layerType==="CUSTOM"?this.deletionBtnDisabled=!1:this.deletionBtnDisabled=!0}};var XXe=class extends qe{constructor(e){super(),this.parent=e,this._boardThickness=Fro,this._stackThickness=Uro}get boardThickness(){return this._boardThickness}set boardThickness(e){this._boardThickness=e,this.notify()}get stackThickness(){return this._stackThickness}set stackThickness(e){this._stackThickness=e,this.notify()}refreshStackThickness(){let i=this.parent.layerPhyTableStore.extendedTypeLayerPhyList.reduce((r,n)=>(r+=n.Thickness,r),0),o=Om(i/fz,{decimalPlacesShow:AO=="mm"?4:1})+AO;this.stackThickness=o}};var $Xe=class extends Rge{constructor(e){super(),this.parent=e}updateBtnStatus(e,i,o){if(this.addtionBtnDisabled=!1,!e){this.deletionBtnDisabled=!0,this.upmoveBtnDisabled=!0,this.downmoveBtnDisabled=!0;return}e.localLayerPhyType==="Substrate"||e.localLayerPhyType==="Copper"?e["Layer Type"]==="TOP"||e["Layer Type"]==="BOTTOM"?(this.upmoveBtnDisabled=!0,this.downmoveBtnDisabled=!0):(i&&(i["Layer Type"]==="TOP"||i["Layer Type"]==="BOTTOM")?this.upmoveBtnDisabled=!0:this.upmoveBtnDisabled=!1,o&&(o["Layer Type"]==="TOP"||o["Layer Type"]==="BOTTOM")?this.downmoveBtnDisabled=!0:this.downmoveBtnDisabled=!1):(this.upmoveBtnDisabled=!0,this.downmoveBtnDisabled=!0),e.localLayerPhyType==="Substrate"?i&&o&&i.localLayerPhyType==="Copper"&&o.localLayerPhyType==="Copper"?this.deletionBtnDisabled=!0:this.deletionBtnDisabled=!1:this.deletionBtnDisabled=!0}};var _ge=class extends qe{constructor(e){super(),this.parent=e,this._enableDragSort=!1,this._tableSelectedRowNumbers=[],this._tableOccupyHeight=375,this._isOpenedHiddenInputElement=!1}set enableDragSort(e){this._enableDragSort=e}get enableDragSort(){return this._enableDragSort}set isOpenedHiddenInputElement(e){this._isOpenedHiddenInputElement=e}get isOpenedHiddenInputElement(){return this._isOpenedHiddenInputElement}set tableSelectedRowNumbers(e){this._tableSelectedRowNumbers=e,this.notify()}get tableSelectedRowNumbers(){return this._tableSelectedRowNumbers}set tableOccupyHeight(e){this._tableOccupyHeight=e,this.notify()}get tableOccupyHeight(){return this._tableOccupyHeight}};var e$e=class extends _ge{constructor(e){super(e),this.enableDragSort=!0,this._lcEnableDragSortStatusMap={},this._extendedTypeLayerPhyList=[],this._tableData=[],this._renderTableData=[],this._tableCols=Vro,this._upperLimitIndex=0,this._lowerLimitIndex=0}set extendedTypeLayerPhyList(e){this._extendedTypeLayerPhyList=e}get extendedTypeLayerPhyList(){return this._extendedTypeLayerPhyList}set tableCols(e){this._tableCols=e}get tableCols(){return this._tableCols}set tableData(e){this._tableData=e,this.notify()}get tableData(){return this._tableData}set renderTableData(e){this._renderTableData=e,this.notify()}get renderTableData(){return this._renderTableData}set upperLimitIndex(e){this._upperLimitIndex=e,this.notify()}get upperLimitIndex(){return this._upperLimitIndex}set lowerLimitIndex(e){this._lowerLimitIndex=e,this.notify()}get lowerLimitIndex(){return this._lowerLimitIndex}getPhyReferenceIds(){let e=[];for(let i=0;i<this.tableData.length;i++){let o=this.tableData[i];kge(o)&&e.push(o.referenceLayerId)}return e}updateTableViewByLayerList(e=[],i=eno(this.tableData)){let o=this.parent.layerTableStore.filterUsedLayer(),r=Xro(o),n=this.parent.stackPhyPresetProfileStore.getPresetEntitySettingItemBySelectedValue(this.parent.stackPhyPresetProfileStore.initSelectedValue),a=$ro(n?n.list:[],r,i);this.updateTableViewByInitLayerPhyList(a,e,!1)}updateTableViewByInitLayerPhyList(e,i,o,r){this.extendedTypeLayerPhyList=qro(e,!!o),this.tableData=eIe(this.extendedTypeLayerPhyList,r),i instanceof Array&&i.length&&this.updateAllInnerIds(i),this.updateRenderTable()}getLayerItemByIndex(e){let i=this.renderTableData[e];return i||null}updateTableViewByExtendLayerPhyTypeList(e){this.tableData=eIe(this.extendedTypeLayerPhyList,e),this.updateRenderTable()}updateAllInnerIds(e){let i=[];for(let o=0;o<this.tableData.length;o++){let r=this.tableData[o];kge(r)&&i.push(r)}if(e.length===i.length)for(let o=0;o<i.length;o++){let r=i[o];r.$id=e[o],r["Layer Id"]=e[o]}}setLayerPhyColValueByLayerId(e,i,o,r=!1,n){let a=!1,s="",l="";if(i==="Layer"?(l="oldLayerName",s="localLayer",a=!0):i==="Material"?l="oldMaterial":i==="Thickness"?l="oldThickness":i==="Permittivity"?l="oldPermittivity":i==="Loss Tangent"&&(l="oldLossTangent"),!l)return;let c=this.tableData;for(let d=0;d<c.length;d++)if(String(c[d]["Layer Id"])===String(e)){typeof c[d][i]<"u"&&(a&&(c[d].isNameUpdated=!0),c[d][i]=o,s&&(c[d][s]=o),r&&typeof c[d][l]<"u"&&(c[d][l]=o),n&&n(c[d]));break}}setExtendedTypeLayerPhyColValueByLayerId(e,i,o,r=!1){let n="",a="";if(i==="Layer"?(a="oldLayerName",n="localLayer"):i==="Material"?a="oldMaterial":i==="Thickness"?(a="oldThickness",o=+o*fz):i==="Permittivity"?a="oldPermittivity":i==="Loss Tangent"&&(a="oldLossTangent"),!a)return;let s=this.extendedTypeLayerPhyList;for(let l=0;l<s.length;l++)if(String(s[l]["Layer Id"])===String(e)){typeof s[l][i]<"u"&&(s[l][i]=o,n&&(s[l][n]=o),r&&typeof s[l][a]<"u"&&(s[l][a]=o));break}}setLayerPhyColValueByLayerName(e,i,o,r=!1){let n="",a="";if(i==="Layer"?(a="oldLayerName",n="localLayer"):i==="Material"?a="oldMaterial":i==="Thickness"?a="oldThickness":i==="Permittivity"?a="oldPermittivity":i==="Loss Tangent"&&(a="oldLossTangent"),!a)return;let s=this.tableData;for(let l=0;l<s.length;l++)if(s[l].localLayer===e){typeof s[l][i]<"u"&&(s[l][i]=o,n&&(s[l][n]=o),r&&typeof s[l][a]<"u"&&(s[l][a]=o));break}}setExtendedTypeLayerPhyColValueByPresetList(e){let i=e[0]?Object.keys(e[0]):[],o=this.extendedTypeLayerPhyList;for(let r=0;r<o.length;r++){let n=o[r],a=n.Layer,s=Ft(e,"Layer",a);if(!(s.index<=-1))for(let l=0;l<i.length;l++){let c=i[l];if(c==="Layer")continue;let d=s.data[c],u="",p="";c==="Layer"?(p="oldLayerName",u="localLayer"):c==="Material"?p="oldMaterial":c==="Thickness"?(p="oldThickness",d=+d*fz):c==="Permittivity"?p="oldPermittivity":c==="Loss Tangent"&&(p="oldLossTangent"),typeof n[c]<"u"&&typeof d<"u"&&d!==null&&(n[c]=d,u&&(n[u]=d),typeof n[p]<"u"&&(n[p]=d))}}}setLayerPhyKeyEditStatusById(e,i){let o=this.tableData,r="";if(i==="Layer"?r="isNameEditStatus":i==="Material"?r="isMaterialEditStatus":i==="Thickness"?r="isThicknessEditStatus":i==="Permittivity"?r="isPermittivityEditStatus":i==="Loss Tangent"&&(r="isLossTangentEditStatus"),!r)return!1;let n=!1;for(let a=0;a<o.length;a++)if(String(o[a]["Layer Id"])===String(e)){o[a][r]=!0,n=!0;continue}else o[a][r]=!1;return n}setAllLayerPhysExitKeyEditStatus(e){let i=this.tableData,o="";if(e==="Layer"?o="isNameEditStatus":e==="Material"?o="isMaterialEditStatus":e==="Thickness"?o="isThicknessEditStatus":e==="Permittivity"?o="isPermittivityEditStatus":e==="Loss Tangent"&&(o="isLossTangentEditStatus"),!o)return!1;for(let r=0;r<i.length;r++)i[r][o]=!1;return!0}setLayerPhyDragEnbaledById(e){let i=this.tableData;for(let o=0;o<i.length;o++)typeof this._lcEnableDragSortStatusMap[i[o]["Layer Id"]]<"u"&&e===i[o]["Layer Id"]&&(i[o].lcEnableDragSort=this._lcEnableDragSortStatusMap[i[o]["Layer Id"]]);return!0}setLayerPhyDragDisabledById(e){let i=this.tableData;for(let o=0;o<i.length;o++)if(String(i[o]["Layer Id"])===String(e)){this._lcEnableDragSortStatusMap[i[o]["Layer Id"]]=i[o].lcEnableDragSort,i[o].lcEnableDragSort=!1;continue}}resetReferenceId(){for(let e=0;e<this.tableData.length;e++)this.tableData[e].referenceLayerId=this.tableData[e]["Layer Id"]}refreshUpperLimitIndex(){for(let e=0;e<this.tableData.length;e++)if(this.tableData[e]["Layer Type"]==="TOP"){this.upperLimitIndex=e;break}}refreshLowerLimitIndex(){for(let e=0;e<this.tableData.length;e++)if(this.tableData[e]["Layer Type"]==="BOTTOM"){this.lowerLimitIndex=e;break}}moveItemsByIndexs(e,i){if(e===i)return-1;let o=this.tableData[e];return this.tableData.splice(e,1),this.tableData.splice(i,0,o),i}clearTableData(){this.tableData=[]}updateRenderTable(){this.renderTableData=ue.deepClone(this.tableData)}};var t$e=class extends _ge{constructor(i){super(i);this._allInnerStackSortIds=[];this._froceRenderColorPick=0,this._allInnerStackSortIds=[],this._tableData=[],this._renderTableData=[],this._tableCols=zro,this._layerTypeMap=Bro.map(o=>({...o,name:me._context_i18n("pcb-layers",o.name,null)}))}get froceRenderColorPick(){return this._froceRenderColorPick}set froceRenderColorPick(i){this._froceRenderColorPick=i,this.notify()}get allInnerStackSortIds(){return this._allInnerStackSortIds}set allInnerStackSortIds(i){this._allInnerStackSortIds=i}get layerTypeMap(){return this._layerTypeMap}set tableCols(i){this._tableCols=i}get tableCols(){return this._tableCols}set tableData(i){this._tableData=i,this.notify()}get tableData(){return this._tableData}set renderTableData(i){this._renderTableData=i,this.notify()}get renderTableData(){return this._renderTableData}updateTableView(i){this.tableData=ano(sno(i)),this.updateRenderTable()}clearTableData(){this.tableData=[]}getLayerCount(){let i=this.filterInnerAndUsedLayer();return i?i.length+2:2}setInnerLayersEnableByCount(i){this.tableData=KXe(JSON.parse(JSON.stringify(this.tableData)),i)}setCustomLayerStatusById(i,o,r){let n=this.tableData;for(let a=0;a<n.length;a++)if(n[a].layerType==="CUSTOM"&&n[a].layerId===+i){r==="delete"&&!isNaN(Number(i))&&(n[a].layerName=`Custom${Number(i)-70}`,n[a].oldLayerName=`Custom${Number(i)-70}`),n[a].status=o,n[a].isNameEditStatus=!1;break}}filterUsedLayer(){return this.tableData.filter(o=>o.status!==0)}filterUsedPlusFpcStatusLayer(){return this.tableData.filter(o=>o.status!==0||xI(o.layerId))}filterInnerAndUsedLayer(){return this.tableData.filter(o=>(o.layerType==="SIGNAL"||o.layerType==="PLANE")&&o.status!==0)}filterCustomAndNousedLayer(){return this.tableData.filter(o=>o.layerType==="CUSTOM"&&o.status===0)}setAllLayersExitKeyEditStatus(i){let o=this.tableData,r="";if(i==="layerName"&&(r="isNameEditStatus"),!r)return!1;for(let n=0;n<o.length;n++)o[n][r]=!1;return!0}setLayerKeyEditStatusById(i,o){let r=this.tableData,n="";if(o==="layerName"&&(n="isNameEditStatus"),!n)return!1;let a=!1;for(let s=0;s<r.length;s++)if(r[s].layerId===+i){r[s][n]=!0,a=!0;continue}else r[s][n]=!1;return a}updateAllInnerStackSortIds(){let i=this.filterInnerAndUsedLayer();this.allInnerStackSortIds=i.map(o=>o.layerId)}updateAllTableDataInnersContent(i){let o=[],r=[];for(let a=0;a<this.tableData.length;a++)Oge(this.tableData[a])&&this.tableData[a].status!==0&&(o.push(this.tableData[a]),r.push(a));let n=ue.deepClone(this.tableData);for(let a=0;a<o.length;a++){let s=i[a],l=Ft(n,"referenceLayerId",s);if(l.index<=-1)continue;let c=o[a].$id,d=o[a].layerId,u=r[a];this.tableData[u]={...l.data,$id:c,layerId:d}}}setLayerNameById(i,o,r=!1,n){let a=this.tableData;for(let s=0;s<a.length;s++)if(a[s].layerId===+i){a[s].layerName=o,r&&(a[s].oldLayerName=o),n&&n(a[s]);break}}updateDeactiveColorAplha(){let i=this.parent.layerFormStore.nonActiveLayerOpacity,o=+li.toFixed((100-+i)/100,2,!0);for(let r=0;r<this.tableData.length;r++)this.tableData[r].deactiveColorAlpha=o}resetReferenceId(){for(let i=0;i<this.tableData.length;i++)this.tableData[i].referenceLayerId=this.tableData[i].layerId}setFpcStatusLayersSatus(i=!1){if(i){for(let o=0;o<this.tableData.length;o++)xI(this.tableData[o].layerId)&&(this.tableData[o].status=1);return}for(let o=0;o<this.tableData.length;o++)xI(this.tableData[o].layerId)&&(this.tableData[o].status=0)}setLayerColorById(i,o,r=!1){let n=this.tableData;for(let a=0;a<n.length;a++)if(n[a].layerId===+i){n[a].activeColor=o,r&&(n[a].oldActiveColor=o),n[a].isNameEditStatus=!1;break}}setLayerAlphaById(i,o,r=!1){let n=this.tableData;for(let a=0;a<n.length;a++)if(n[a].layerId===+i){n[a].activeColorAlpha=o,r&&(n[a].oldActiveColorAlpha=o);break}}setLayerTypeById(i,o,r=!1){let n=this.tableData;for(let a=0;a<n.length;a++)if(n[a].layerId===+i){n[a].layerType=o,r&&(n[a].oldLayerType=o);break}}updateRenderTable(){this.parent.layerFormStore.pcbMaterialSelected==="CommonMaterial"?(this.setFpcStatusLayersSatus(!1),this.renderTableData=ue.deepClone(this.filterUsedLayer())):(this.setFpcStatusLayersSatus(!0),this.renderTableData=ue.deepClone(this.filterUsedPlusFpcStatusLayer()))}};var i$e=class extends qe{constructor(e){super(),this.parent=e,this._activeTabId=f9t[0].key,this._tabs=JSON.parse(JSON.stringify(f9t))}get activeTab(){return this._activeTabId}set activeTab(e){this._activeTabId=e,this.notify()}get tabs(){return this._tabs}};var gz=class{static showToastMessage(e){Ut({type:"warn",message:e,isHtml:!0})}static showPCBMaterialTypeToggleWarnning(e){let i="";e==="noSupportMultiCopper"?i="JLCPCB doesn't support to fabricate more than four layers FPC flexiable board.":e==="switchPCBTypeFail"&&(i="Switch board type failed, found some stiffener objects, please delete them first."),i&&Ut({type:"warn",message:i,isHtml:!0})}static showThicknessValueWarnnig(){Ut({type:"warn",message:"Set the board thickness is too small!"})}static showPCBSingleLayerWarnning(){Ut({type:"warn",message:"Doesn't support layout single layer PCB directly, please layout at single side first, when export the Gerber you can select the single layer as you want."})}};function cno(t){return t[0]==="*"?t.substring(1).trim():t}var jge=class extends qe{constructor(){super(),this._blankOptionDefaulTitleString="Custom Config",this._hasChanged=!1,this._presetEntitySetting=[],this._fixedList=[],this._floatList=[],this._saveBtnDisabled=!0,this._saveBtnTitle="Save Config",this._renameBtnDisabled=!0,this._renameBtnTitle="Rename Config...",this._saveAsBtnDisabled=!0,this._saveAsbtnTitle="Save As Config...",this._deleteBtnDisabled=!0,this._deleteBtnTitle="Delete Config",this._isSetToDefaultBtnShow=!0,this._setToDefaultBtnDisabled=!0,this._setToDefaultBtnTitle="Set to default",this._initSelectedValue="",this._blankOptionId="",this._blankOption=null}get blankOptionDefaulTitleString(){return this._blankOptionDefaulTitleString=this._blankOptionDefaulTitleString,this._blankOptionDefaulTitleString}set blankOptionDefaulTitleString(e){this._blankOptionDefaulTitleString=e}get hasChanged(){return this._hasChanged}set hasChanged(e){this._hasChanged=e}get blankOption(){return this._blankOption}set blankOption(e){this._blankOption=e}get presetEntitySetting(){return this._presetEntitySetting}set presetEntitySetting(e){this._presetEntitySetting=e}get fixedList(){return this._fixedList}set fixedList(e){this._fixedList=e,this.notify()}get floatList(){return this._floatList}set floatList(e){this._floatList=e,this.notify()}get saveBtnDisabled(){return this._saveBtnDisabled}set saveBtnDisabled(e){this._saveBtnDisabled=e,this.notify()}get saveBtnTitle(){return this._saveBtnTitle}set saveBtnTitle(e){this._saveBtnTitle=e,this.notify()}get renameBtnDisabled(){return this._renameBtnDisabled}set renameBtnDisabled(e){this._renameBtnDisabled=e,this.notify()}get renameBtnTitle(){return this._renameBtnTitle}set renameBtnTitle(e){this._renameBtnTitle=e,this.notify()}get saveAsBtnDisabled(){return this._saveAsBtnDisabled}set saveAsBtnDisabled(e){this._saveAsBtnDisabled=e,this.notify()}get saveAsbtnTitle(){return this._saveAsbtnTitle}set saveAsbtnTitle(e){this._saveAsbtnTitle=e,this.notify()}get deleteBtnDisabled(){return this._deleteBtnDisabled}set deleteBtnDisabled(e){this._deleteBtnDisabled=e,this.notify()}get deleteBtnTitle(){return this._deleteBtnTitle}set deleteBtnTitle(e){this._deleteBtnTitle=e,this.notify()}get isSetToDefaultBtnShow(){return this._isSetToDefaultBtnShow}set isSetToDefaultBtnShow(e){this._isSetToDefaultBtnShow=e,this.notify()}get setToDefaultBtnDisabled(){return this._setToDefaultBtnDisabled}set setToDefaultBtnDisabled(e){this._setToDefaultBtnDisabled=e,this.notify()}get setToDefaultBtnTitle(){return this._setToDefaultBtnTitle}set setToDefaultBtnTitle(e){this._setToDefaultBtnTitle=e,this.notify()}get initSelectedValue(){return this._initSelectedValue}set initSelectedValue(e){this._initSelectedValue=e,this.notify()}get blankOptionId(){return this._blankOptionId}set blankOptionId(e){this._blankOptionId=e}getItemBySelectedValue(e){if(!e)return null;let i=[...this.fixedList,...this.floatList];for(let o=0;o<i.length;o++)if(i[o].value===e)return i[o];return null}getItemBySelectedTitle(e,i=!0){if(!e)return null;let o=[...this.fixedList];i&&(o=o.filter(n=>n.value!==this.blankOption.value)||[]);let r=[...o,...this.floatList];for(let n=0;n<r.length;n++)if(r[n].title===e)return r[n];return null}getPresetEntitySettingItemBySelectedValue(e){for(let i=0;i<this.presetEntitySetting.length;i++)if(this.presetEntitySetting[i].id===e)return this.presetEntitySetting[i];return null}getSelectedTitle(e=!0){let i=[...this.fixedList];e&&(i=i.filter(r=>r.value!==this.blankOption.value)||[]);let o=[...i,...this.floatList].find(r=>r.value===this.initSelectedValue);return cno(o&&o.title||"")}isSelectedBlankOption(){return this.initSelectedValue===this.blankOption.value}isSelectedFixedSection(e=!1){let i=[];return e?i=this.fixedList:i=this.fixedList.filter(r=>r.value!==this.blankOption.value)||[],i.map(r=>r.value).indexOf(this.initSelectedValue)>=0}isSelectedFloatSection(){return this.floatList.map(i=>i.value).indexOf(this.initSelectedValue)>=0}baseReset(){this.hasChanged=!1,this.blankOption=null,this.presetEntitySetting=[],this.fixedList=[],this.floatList=[],this.saveBtnDisabled=!0,this.saveBtnTitle="Save Config",this.renameBtnDisabled=!0,this.renameBtnTitle="Rename Config...",this.saveAsBtnDisabled=!0,this.saveAsbtnTitle="Save As Config...",this.deleteBtnDisabled=!0,this.deleteBtnTitle="Delete Config",this.isSetToDefaultBtnShow=!0,this.setToDefaultBtnDisabled=!0,this.setToDefaultBtnTitle="Set to default",this.initSelectedValue="",this.blankOptionId=""}};var o$e=class extends jge{constructor(e){super(),this.parent=e,this._systemDefaultFixedNames=c_.map(i=>i.name)}initColorSetting(){this.blankOptionDefaulTitleString="",this.blankOptionId="blank_"+Mt(String(Math.random())),this.blankOption={title:this.blankOptionDefaulTitleString,value:this.blankOptionId,disabled:!1,show:!1,prohibitSelect:!0};let e=[this.blankOption],i=[...this.floatList],o=[...this.presetEntitySetting],{profileSetting:r}=C;try{let n=[],a=[],s=JSON.parse(JSON.stringify(r.commSystemSetting.PCB_THEME.canvasColorTheme||[]));for(let l=0;l<s.length;l++){if(this._systemDefaultFixedNames.includes(s[l].name)){a.push(s[l]);continue}n.push(s[l])}for(let l=0;l<a.length;l++){let c=Mt(String(Math.random()));o.push({list:a[l].list,id:c}),e.push({title:me.i18n(a[l].name),value:c,disabled:!1,show:!0,sourceTitle:a[l].name})}for(let l=0;l<n.length;l++){let c=Mt(String(Math.random()));o.push({list:n[l].list,id:c}),i.push({title:n[l].name,value:c,disabled:!1,show:!0,sourceTitle:n[l].name})}this.floatList=i,this.fixedList=e,this.presetEntitySetting=o,this.initSelectedValue=this.blankOptionId}catch{}}deleteItemBySelectedValue(e){let i=Ft(this.floatList,"value",e);if(i.index>=0){this.floatList.splice(i.index,1),this.floatList=[...this.floatList];let o=Ft(this.presetEntitySetting,"id",e);this.presetEntitySetting.splice(o.index,1)}}async savePresetData(){let{profileSetting:e}=C,i=[],o=[],r={};for(let a=0;a<this.floatList.length;a++)o.push(this.floatList[a].value),r[this.floatList[a].value]=this.floatList[a].title;for(let a=0;a<this.presetEntitySetting.length;a++)if(o.indexOf(this.presetEntitySetting[a].id)>=0){let s=r[this.presetEntitySetting[a].id];i.push({name:s,list:this.presetEntitySetting[a].list})}let n=JSON.parse(JSON.stringify(e.commSystemSetting.PCB_THEME.canvasColorTheme||[]));for(let a=0;a<n.length;a++)if(this._systemDefaultFixedNames.includes(n[a].name)){i.unshift(n[a]);continue}e.commSystemSetting.PCB_THEME.canvasColorTheme=i,await Ks({commSystemSetting:e.commSystemSetting})}modifyOldFloatListByValue(e,i,o=!1){if(o){this.floatList.push(i);return}for(let r=0;r<this.floatList.length;r++)if(e===this.floatList[r].value){let n=this.floatList[r].value;this.floatList[r]={...i,value:n}}}refreshList(){let e=[...this.fixedList.filter(o=>o.value!==this.blankOption.value)||[]],i=[this.blankOption];for(let o=0;o<e.length;o++)i.push(e[o]);this.fixedList=i}updateShowListView(e=!1){this.refreshList(),e&&(this.initSelectedValue=this.blankOption.value)}updatePresetActionBtnsStatus(e=!1){if(this.hasChanged=e,this.saveBtnDisabled=!0,this.renameBtnDisabled=!0,this.deleteBtnDisabled=!0,this.saveAsBtnDisabled=!0,this.isSelectedBlankOption()){this.saveBtnDisabled=!0,this.renameBtnDisabled=!0,this.deleteBtnDisabled=!0,this.saveAsBtnDisabled=!1;return}if(this.isSelectedFixedSection()){this.saveBtnDisabled=!0,this.renameBtnDisabled=!0,this.deleteBtnDisabled=!0,this.saveAsBtnDisabled=!1;return}if(this.isSelectedFloatSection()){this.renameBtnDisabled=!1,this.deleteBtnDisabled=!1,this.saveAsBtnDisabled=!1,e&&(this.saveBtnDisabled=!1);return}}};var dno={fixedList:[],floatList:[],initSelectedValue:void 0,setSelectedTitle:void 0,saveBtnDisabled:!0,saveBtnTitle:"Save",saveAsBtnDisabled:!0,saveAsbtnTitle:"Save As...",renameBtnDisabled:!0,renameBtnTitle:"Rename",deleteBtnDisabled:!0,deleteBtnTitle:"Delete",isSetToDefaultBtnShow:!1,setToDefaultBtnDisabled:!1,setToDefaultBtnTitle:"Set to default"};var uno=10,rIe=1;var r$e={4:{name:"JLC04161H-7628"},6:{name:"JLC06161H-3313"},8:{name:"JLC08161H-2116"}},n$e={2:[{name:"Board Thickness0.11mm",layerCount:2,list:[{"Layer Id":3,Layer:"Top Silkscreen Layer","Layer Type":"TOP_SILK",Type:"Silk Layer",Material:"-",Thickness:0,Permittivity:0,"Loss Tangent":0},{"Layer Id":7,Layer:"Top Paste Mask Layer","Layer Type":"TOP_PASTE_MASK",Type:"PasteMask Layer",Material:"-",Thickness:0,Permittivity:0,"Loss Tangent":0},{"Layer Id":5,Layer:"Top Solder Mask Layer","Layer Type":"TOP_SOLDER_MASK",Type:"SolderMask Layer",Material:"",Thickness:.027,Permittivity:0,"Loss Tangent":0},{"Layer Id":1,Layer:"Top Layer","Layer Type":"TOP",Type:"Copper",Material:"-",Thickness:.012,Permittivity:0,"Loss Tangent":0},{"Layer Id":101,Layer:"Dielectric1","Layer Type":"SUBSTRATE",Type:"Substrate",Material:"PI",Thickness:.025,Permittivity:0,"Loss Tangent":0},{"Layer Id":2,Layer:"Bottom Layer","Layer Type":"BOTTOM",Type:"Copper",Material:"-",Thickness:.012,Permittivity:0,"Loss Tangent":0},{"Layer Id":6,Layer:"Bottom Solder Mask Layer","Layer Type":"BOT_SOLDER_MASK",Type:"SolderMask Layer",Material:"",Thickness:.027,Permittivity:0,"Loss Tangent":0},{"Layer Id":8,Layer:"Bottom Paste Mask Layer","Layer Type":"BOT_PASTE_MASK",Type:"PasteMask Layer",Material:"-",Thickness:0,Permittivity:0,"Loss Tangent":0},{"Layer Id":4,Layer:"Bottom Silkscreen Layer","Layer Type":"BOT_SILK",Type:"Silk Layer",Material:"-",Thickness:0,Permittivity:0,"Loss Tangent":0}]},{name:"Board Thickness0.12mm",layerCount:2,list:[{"Layer Id":3,Layer:"Top Silkscreen Layer","Layer Type":"TOP_SILK",Type:"Silk Layer",Material:"-",Thickness:0,Permittivity:0,"Loss Tangent":0},{"Layer Id":7,Layer:"Top Paste Mask Layer","Layer Type":"TOP_PASTE_MASK",Type:"PasteMask Layer",Material:"-",Thickness:0,Permittivity:0,"Loss Tangent":0},{"Layer Id":5,Layer:"Top Solder Mask Layer","Layer Type":"TOP_SOLDER_MASK",Type:"SolderMask Layer",Material:"",Thickness:.027,Permittivity:0,"Loss Tangent":0},{"Layer Id":1,Layer:"Top Layer","Layer Type":"TOP",Type:"Copper",Material:"-",Thickness:.018,Permittivity:0,"Loss Tangent":0},{"Layer Id":101,Layer:"Dielectric1","Layer Type":"SUBSTRATE",Type:"Substrate",Material:"PI",Thickness:.025,Permittivity:0,"Loss Tangent":0},{"Layer Id":2,Layer:"Bottom Layer","Layer Type":"BOTTOM",Type:"Copper",Material:"-",Thickness:.018,Permittivity:0,"Loss Tangent":0},{"Layer Id":6,Layer:"Bottom Solder Mask Layer","Layer Type":"BOT_SOLDER_MASK",Type:"SolderMask Layer",Material:"",Thickness:.027,Permittivity:0,"Loss Tangent":0},{"Layer Id":8,Layer:"Bottom Paste Mask Layer","Layer Type":"BOT_PASTE_MASK",Type:"PasteMask Layer",Material:"-",Thickness:0,Permittivity:0,"Loss Tangent":0},{"Layer Id":4,Layer:"Bottom Silkscreen Layer","Layer Type":"BOT_SILK",Type:"Silk Layer",Material:"-",Thickness:0,Permittivity:0,"Loss Tangent":0}]},{name:"Board Thickness0.2mm",layerCount:2,list:[{"Layer Id":3,Layer:"Top Silkscreen Layer","Layer Type":"TOP_SILK",Type:"Silk Layer",Material:"-",Thickness:0,Permittivity:0,"Loss Tangent":0},{"Layer Id":7,Layer:"Top Paste Mask Layer","Layer Type":"TOP_PASTE_MASK",Type:"PasteMask Layer",Material:"-",Thickness:0,Permittivity:0,"Loss Tangent":0},{"Layer Id":5,Layer:"Top Solder Mask Layer","Layer Type":"TOP_SOLDER_MASK",Type:"SolderMask Layer",Material:"",Thickness:.05,Permittivity:0,"Loss Tangent":0},{"Layer Id":1,Layer:"Top Layer","Layer Type":"TOP",Type:"Copper",Material:"-",Thickness:.035,Permittivity:0,"Loss Tangent":0},{"Layer Id":101,Layer:"Dielectric1","Layer Type":"SUBSTRATE",Type:"Substrate",Material:"PI",Thickness:.025,Permittivity:0,"Loss Tangent":0},{"Layer Id":2,Layer:"Bottom Layer","Layer Type":"BOTTOM",Type:"Copper",Material:"-",Thickness:.035,Permittivity:0,"Loss Tangent":0},{"Layer Id":6,Layer:"Bottom Solder Mask Layer","Layer Type":"BOT_SOLDER_MASK",Type:"SolderMask Layer",Material:"",Thickness:.05,Permittivity:0,"Loss Tangent":0},{"Layer Id":8,Layer:"Bottom Paste Mask Layer","Layer Type":"BOT_PASTE_MASK",Type:"PasteMask Layer",Material:"-",Thickness:0,Permittivity:0,"Loss Tangent":0},{"Layer Id":4,Layer:"Bottom Silkscreen Layer","Layer Type":"BOT_SILK",Type:"Silk Layer",Material:"-",Thickness:0,Permittivity:0,"Loss Tangent":0}]}]},pno={4:[{name:"JLC04161H-7628",layerCount:4,list:[{Layer:"Top Solder Mask Layer","Layer Id":null,"Layer Type":"TOP_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0},{Layer:"Top Layer","Layer Id":null,"Layer Type":"TOP",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric1","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"7628 RC49% 8.6mil",Thickness:.2104,Permittivity:0,"Loss Tangent":0},{Layer:"Inner1","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric2","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"1.1mm H/HOZ Copper",Thickness:1.065,Permittivity:0,"Loss Tangent":0},{Layer:"Inner2","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric3","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"7628 RC49% 8.6mil",Thickness:.2104,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Layer","Layer Id":null,"Layer Type":"BOTTOM",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Solder Mask Layer","Layer Id":null,"Layer Type":"BOTTOM_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0}]},{name:"JLC04161H-3313",layerCount:4,list:[{Layer:"Top Solder Mask Layer","Layer Id":null,"Layer Type":"TOP_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0},{Layer:"Top Layer","Layer Id":null,"Layer Type":"TOP",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric1","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"3313 RC57% 4.2mil",Thickness:.0994,Permittivity:0,"Loss Tangent":0},{Layer:"Inner1","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric2","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"1.3mm H/HOZ Copper",Thickness:1.265,Permittivity:0,"Loss Tangent":0},{Layer:"Inner2","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric3","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"3313 RC57% 4.2mil",Thickness:.0994,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Layer","Layer Id":null,"Layer Type":"BOTTOM",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Solder Mask Layer","Layer Id":null,"Layer Type":"BOTTOM_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0}]},{name:"JLC04161H-1080",layerCount:4,list:[{Layer:"Top Solder Mask Layer","Layer Id":null,"Layer Type":"TOP_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0},{Layer:"Top Layer","Layer Id":null,"Layer Type":"TOP",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric1","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"1080 RC67% 3.3mil",Thickness:.0764,Permittivity:0,"Loss Tangent":0},{Layer:"Inner1","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric2","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"1.3mm H/HOZ Copper",Thickness:1.265,Permittivity:0,"Loss Tangent":0},{Layer:"Inner2","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric3","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"1080 RC67% 3.3mil",Thickness:.0764,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Layer","Layer Id":null,"Layer Type":"BOTTOM",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Solder Mask Layer","Layer Id":null,"Layer Type":"BOTTOM_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0}]}],6:[{name:"JLC06161H-3313",layerCount:6,list:[{Layer:"Top Solder Mask Layer","Layer Id":null,"Layer Type":"TOP_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0},{Layer:"Top Layer","Layer Id":null,"Layer Type":"TOP",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric1","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"3313 RC57% 4.2mil",Thickness:.0994,Permittivity:0,"Loss Tangent":0},{Layer:"Inner1","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric2","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"0.55mm H/H No copper",Thickness:.55,Permittivity:0,"Loss Tangent":0},{Layer:"Inner2","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric3","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"2116 RC54% 4.9mil",Thickness:.1088,Permittivity:0,"Loss Tangent":0},{Layer:"Inner3","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric4","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"0.55mm H/H No copper",Thickness:.55,Permittivity:0,"Loss Tangent":0},{Layer:"Inner4","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric5","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"3313 RC57% 4.2mil",Thickness:.0994,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Layer","Layer Id":null,"Layer Type":"BOTTOM",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Solder Mask Layer","Layer Id":null,"Layer Type":"BOTTOM_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0}]},{name:"JLC06161H-7628",layerCount:6,list:[{Layer:"Top Solder Mask Layer","Layer Id":null,"Layer Type":"TOP_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0},{Layer:"Top Layer","Layer Id":null,"Layer Type":"TOP",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric1","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"7628 RC49% 8.6mil",Thickness:.2104,Permittivity:0,"Loss Tangent":0},{Layer:"Inner1","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric2","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"0.4mm H/HOZ No copper",Thickness:.4,Permittivity:0,"Loss Tangent":0},{Layer:"Inner2","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric3","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"7628 RC49% 8.6mil",Thickness:.2028,Permittivity:0,"Loss Tangent":0},{Layer:"Inner3","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric4","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"0.4mm H/HOZ No copper",Thickness:.4,Permittivity:0,"Loss Tangent":0},{Layer:"Inner4","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric5","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"7628 RC49% 8.6mil",Thickness:.2104,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Layer","Layer Id":null,"Layer Type":"BOTTOM",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Solder Mask Layer","Layer Id":null,"Layer Type":"BOTTOM_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0}]},{name:"JLC06161H-1080",layerCount:6,list:[{Layer:"Top Solder Mask Layer","Layer Id":null,"Layer Type":"TOP_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0},{Layer:"Top Layer","Layer Id":null,"Layer Type":"TOP",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric1","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"1080 RC67% 3.3mil",Thickness:.0764,Permittivity:0,"Loss Tangent":0},{Layer:"Inner1","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric2","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"0.55mm H/H No copper",Thickness:.55,Permittivity:0,"Loss Tangent":0},{Layer:"Inner2","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric3","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"7628 RC49% 8.6mil",Thickness:.2028,Permittivity:0,"Loss Tangent":0},{Layer:"Inner3","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric4","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"0.55mm H/H No copper",Thickness:.55,Permittivity:0,"Loss Tangent":0},{Layer:"Inner4","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric5","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"1080 RC67% 3.3mil",Thickness:.0764,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Layer","Layer Id":null,"Layer Type":"BOTTOM",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Solder Mask Layer","Layer Id":null,"Layer Type":"BOTTOM_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0}]}],8:[{name:"JLC08161H-2116",layerCount:8,list:[{Layer:"Top Solder Mask Layer","Layer Id":null,"Layer Type":"TOP_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0},{Layer:"Top Layer","Layer Id":null,"Layer Type":"TOP",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric1","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"2116 RC54% 4.9mil",Thickness:.1164,Permittivity:0,"Loss Tangent":0},{Layer:"Inner1","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric2","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"0.3mm H/HOZ No copper",Thickness:.3,Permittivity:0,"Loss Tangent":0},{Layer:"Inner2","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric3","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"1080 RC67% 3.3mil",Thickness:.0764,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric4","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"1080 RC67% 3.3mil",Thickness:.0764,Permittivity:0,"Loss Tangent":0},{Layer:"Inner3","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric5","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"0.3mm H/HOZ No copper",Thickness:.3,Permittivity:0,"Loss Tangent":0},{Layer:"Inner4","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric6","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"1080 RC67% 3.3mil",Thickness:.0764,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric7","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"1080 RC67% 3.3mil",Thickness:.0764,Permittivity:0,"Loss Tangent":0},{Layer:"Inner5","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric8","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"0.3mm H/HOZ No copper",Thickness:.3,Permittivity:0,"Loss Tangent":0},{Layer:"Inner6","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric9","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"2116 RC54% 4.9mil",Thickness:.1164,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Layer","Layer Id":null,"Layer Type":"BOTTOM",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Solder Mask Layer","Layer Id":null,"Layer Type":"BOTTOM_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0}]},{name:"JLC08161H-7628",layerCount:8,list:[{Layer:"Top Solder Mask Layer","Layer Id":null,"Layer Type":"TOP_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0},{Layer:"Top Layer","Layer Id":null,"Layer Type":"TOP",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric1","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"7628 RC49% 8.6mil",Thickness:.2104,Permittivity:0,"Loss Tangent":0},{Layer:"Inner1","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric2","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"0.2mm H/HOZ No copper",Thickness:.2,Permittivity:0,"Loss Tangent":0},{Layer:"Inner2","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric3","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"7628 RC49% 8.6mil",Thickness:.2028,Permittivity:0,"Loss Tangent":0},{Layer:"Inner3","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric4","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"0.2mm H/HOZ No copper",Thickness:.2,Permittivity:0,"Loss Tangent":0},{Layer:"Inner4","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric5","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"7628 RC49% 8.6mil",Thickness:.2028,Permittivity:0,"Loss Tangent":0},{Layer:"Inner5","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric6","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"0.2mm H/HOZ No copper",Thickness:.2,Permittivity:0,"Loss Tangent":0},{Layer:"Inner6","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric7","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"7628 RC49% 8.6mil",Thickness:.2104,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Layer","Layer Id":null,"Layer Type":"BOTTOM",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Solder Mask Layer","Layer Id":null,"Layer Type":"BOTTOM_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0}]},{name:"JLC08161H-1080",layerCount:8,list:[{Layer:"Top Solder Mask Layer","Layer Id":null,"Layer Type":"TOP_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0},{Layer:"Top Layer","Layer Id":null,"Layer Type":"TOP",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric1","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"1080 RC67% 3.3mil",Thickness:.0764,Permittivity:0,"Loss Tangent":0},{Layer:"Inner1","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric2","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"0.3mm H/HOZ No copper",Thickness:.3,Permittivity:0,"Loss Tangent":0},{Layer:"Inner2","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric3","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"7628 RC49% 8.6mil",Thickness:.2028,Permittivity:0,"Loss Tangent":0},{Layer:"Inner3","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric4","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"0.3mm H/HOZ No copper",Thickness:.3,Permittivity:0,"Loss Tangent":0},{Layer:"Inner4","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric5","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"7628 RC49% 8.6mil",Thickness:.2028,Permittivity:0,"Loss Tangent":0},{Layer:"Inner5","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric6","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"0.3mm H/HOZ No copper",Thickness:.3,Permittivity:0,"Loss Tangent":0},{Layer:"Inner6","Layer Id":null,"Layer Type":"SIGNAL",Type:null,Material:"Inner layer thickness",Thickness:.0152,Permittivity:0,"Loss Tangent":0},{Layer:"Dielectric7","Layer Id":null,"Layer Type":"SUBSTRATE",Type:null,Material:"1080 RC67% 3.3mil",Thickness:.0764,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Layer","Layer Id":null,"Layer Type":"BOTTOM",Type:null,Material:"Outer layer thickness 1oz",Thickness:.035,Permittivity:0,"Loss Tangent":0},{Layer:"Bottom Solder Mask Layer","Layer Id":null,"Layer Type":"BOTTOM_SOLDER_MASK",Type:null,Material:"",Thickness:0,Permittivity:0,"Loss Tangent":0}]}]};var nIe=L(Vi());async function mno(t,e,i){return new Promise(o=>{let r;BU(t),i=="CommonMaterial"?(r="usrPcbStackLayerPhyProfile",C.profileSetting.usrPcbStackLayerPhyProfile=e):i=="FPCFlexible"&&(r="usrFPCStackLayerPhyProfile",C.profileSetting.usrFPCStackLayerPhyProfile=e),nIe.default.ajax({type:"GET",url:C.apis.others.userInfo}).then(n=>{let a={...JSON.parse(n.result.preference||"{}"),commSystemSetting:t,[r]:e};C.profileSetting.usrStackPhySettingDefaults&&(a.usrStackPhySettingDefaults=C.profileSetting.usrStackPhySettingDefaults),C.profileSetting.usrFPCStackPhySettingDefaults&&(a.usrFPCStackPhySettingDefaults=C.profileSetting.usrFPCStackPhySettingDefaults),nIe.default.ajax({type:"POST",url:C.apis.others.preference,data:{action:"setPreferences",preferences:JSON.stringify(a)}}).then(()=>{o(),De({type:"success",msg:"Save preferences successfully!",timer:2})})})})}async function hno(t,e,i){return new Promise(o=>{let r;BU(t),i=="CommonMaterial"?(r="usrStackPhySettingDefaults",C.profileSetting.usrStackPhySettingDefaults=e):i=="FPCFlexible"&&(r="usrFPCStackPhySettingDefaults",C.profileSetting.usrFPCStackPhySettingDefaults=e),nIe.default.ajax({type:"GET",url:C.apis.others.userInfo}).then(n=>{let a={...JSON.parse(n.result.preference||"{}"),commSystemSetting:t,[r]:e};C.profileSetting.usrPcbStackLayerPhyProfile&&(a.usrPcbStackLayerPhyProfile=C.profileSetting.usrPcbStackLayerPhyProfile),C.profileSetting.usrFPCStackLayerPhyProfile&&(a.usrFPCStackLayerPhyProfile=C.profileSetting.usrFPCStackLayerPhyProfile),mt.setCacheObj(r,e),nIe.default.ajax({type:"POST",url:C.apis.others.preference,data:{action:"setPreferences",preferences:JSON.stringify(a)}}).then(()=>{o(),De({type:"success",msg:"Save preferences successfully!",timer:2})})})})}var a$e=class extends jge{constructor(e){super(),this.parent=e,this._allStackPhySetting=[],this._allFixedList=[],this._allFloatList=[],this._defaultSetting={},this._layerPhyPerferenceConfig=""}get defaultSetting(){return this._defaultSetting}set defaultSetting(e){this._defaultSetting=e}get allStackPhySetting(){return this._allStackPhySetting}set allStackPhySetting(e){this._allStackPhySetting=e}get allFixedList(){return this._allFixedList}set allFixedList(e){this._allFixedList=e}get allFloatList(){return this._allFloatList}set allFloatList(e){this._allFloatList=e}get layerPhyPerferenceConfig(){return this._layerPhyPerferenceConfig}set layerPhyPerferenceConfig(e){this._layerPhyPerferenceConfig=e}reset(){this.allStackPhySetting=[],this.allFixedList=[],this.allFloatList=[],this.layerPhyPerferenceConfig="",this.baseReset()}selectLsDataByPcbMaterialType(e,i){let o;switch(i){case"CommonMaterial":return o=!1,[e.usrPcbStackLayerPhyProfile,e.usrStackPhySettingDefaults,o];case"FPCFlexible":return o=!0,[e.usrFPCStackLayerPhyProfile,e.usrFPCStackPhySettingDefaults,o]}}initStackPhySetting(e){this.reset(),this.blankOptionId="blank_"+Mt(String(Math.random())),this.blankOption={title:this.blankOptionDefaulTitleString,value:this.blankOptionId,disabled:!1,show:!1};let i=[],o=[],r=[],{profileSetting:n}=C,[a,s,l]=this.selectLsDataByPcbMaterialType(n,e);try{let c=JSON.parse(JSON.stringify(l?n$e:pno)),d=JSON.parse(JSON.stringify(a||[])),u=JSON.parse(JSON.stringify(s||r$e)),p=Object.keys(c);for(let f=0;f<p.length;f++){let g=c[p[f]];for(let b=0;b<g.length;b++){let y=Mt(String(Math.random())),w=l?g[b].name:me.i18n(g[b].name);r.push({list:g[b].list,id:y,layerCount:+p[f]}),i.push({title:w,value:y,disabled:!1,layerCount:+p[f],show:!0})}}for(let f=0;f<d.length;f++){let g=Mt(String(Math.random())),b=d[f].layerCount;r.push({list:d[f].list,id:g,layerCount:b}),o.push({title:d[f].name,value:g,disabled:!1,layerCount:b,show:!0})}this.allFixedList=i,this.allFloatList=o,this.allStackPhySetting=r;let m=[...this.allFixedList,...this.allFloatList].map(f=>f.title),h={};Object.keys(u).forEach(f=>{m.indexOf(u[f].name)>=0&&(h[f]=u[f])}),this.defaultSetting=h,this.initSelectedValue=this.blankOptionId}catch{}}deleteStackBySelectedValue(e,i){let o=Ft(this.allFloatList,"value",e);o.index>=0&&this.allFloatList.splice(o.index,1);let r=Ft(this.allStackPhySetting,"value",e);r.index>=0&&this.allStackPhySetting.splice(r.index,1)}getDefaultNameByLayerCount(e=0){let i=this.defaultSetting;return typeof i[e]>"u"?null:i[e].name}selectedDefaultItem(e,i){this.refreshList(e);let o="";if(i&&this.layerPhyPerferenceConfig){let r=[...this.fixedList,...this.floatList];for(let n=0;n<r.length;n++)if(r[n].title===this.layerPhyPerferenceConfig){o=r[n].value;break}}if(!o){let r=(this.defaultSetting[e]||{}).name,n=this.getItemBySelectedTitle(r);o=n?n.value:null}return o||(o=this.blankOption.value,this.blankOption.title=""),this.initSelectedValue=o,o}async savePresetData(e){let i=[],o=[],r={};for(let n=0;n<this.allFloatList.length;n++)o.push(this.allFloatList[n].value),r[this.allFloatList[n].value]=this.allFloatList[n].title;for(let n=0;n<this.allStackPhySetting.length;n++)if(o.indexOf(this.allStackPhySetting[n].id)>=0){let a=r[this.allStackPhySetting[n].id];i.push({name:a,list:this.allStackPhySetting[n].list,layerCount:this.allStackPhySetting[n].layerCount})}await mno(sc(),i,e)}async savePresetDefault(e){await hno(sc(),JSON.parse(JSON.stringify(this.defaultSetting)),e)}modifyOldAllFloatListByValue(e,i,o=!1){if(o){this.allFloatList.push(i);return}for(let r=0;r<this.allFloatList.length;r++)if(this.allFloatList[r].value===e){let n=this.allFloatList[r].value;this.allFloatList[r]={...i,value:n}}}refreshList(e){let i=[],o=[],r=[];i.push(this.blankOption);for(let n=0;n<this.allStackPhySetting.length;n++)this.allStackPhySetting[n].layerCount===e&&r.push(this.allStackPhySetting[n]);for(let n=0;n<this.allFixedList.length;n++)this.allFixedList[n].layerCount===e&&i.push(this.allFixedList[n]);for(let n=0;n<this.allFloatList.length;n++)this.allFloatList[n].layerCount===e&&o.push(this.allFloatList[n]);this.fixedList=i,this.floatList=o,this.presetEntitySetting=r}updateShowListView(e,i=!1){this.refreshList(e),this.blankOption.show=!!i,this.setToDefaultBtnTitle=me.i18n("Set to the default Settings of {0} layers",[e]),i&&(this.blankOption.title=this.blankOptionDefaulTitleString,this.initSelectedValue=this.blankOption.value)}updatePresetActionBtnsStatus(e=!1){if(this.hasChanged=e,this.saveBtnDisabled=!0,this.renameBtnDisabled=!0,this.deleteBtnDisabled=!0,this.saveAsBtnDisabled=!0,this.setToDefaultBtnDisabled=!1,this.isSelectedBlankOption()){this.saveBtnDisabled=!0,this.renameBtnDisabled=!0,this.deleteBtnDisabled=!0,this.saveAsBtnDisabled=!1;return}if(this.isSelectedFixedSection()){this.saveBtnDisabled=!0,this.renameBtnDisabled=!0,this.deleteBtnDisabled=!0,this.saveAsBtnDisabled=!1;return}if(this.isSelectedFloatSection()){this.saveBtnDisabled=!0,this.deleteBtnDisabled=!1,this.renameBtnDisabled=!1,this.saveAsBtnDisabled=!1,e&&(this.saveBtnDisabled=!1);return}}};async function Bge(t,e,i,o,r){return new Promise(n=>{let a=ue.deepClone(t),s=ue.deepClone(e),l={ret:0,msg:"",targetItem:null,action:r};cB({forms:[{type:"input",title:me.i18n("Name"),key:"name",value:o,tips:"",allowEmpty:!0}]},async c=>{if(c.action!=="confirm"){l.ret=-1,n(l);return}let{formData:d}=c.data,{name:u=""}=d,p=u.trim(),m=[...a,...s].map(f=>f.title),h=!0;if(p||(l.ret=-1,l.msg=me.i18n("please input valid name!"),h=!1),p.length>20&&(l.ret=-1,l.msg=me.i18n("The typing cannot over {0} characters.",[20]),h=!1),m.indexOf(p)>=0&&(l.ret=-1,l.msg=me.i18n("The name already exists, please modify"),h=!1),!h){Dt({icon:"warning",closed:!0,content:l.msg}),l.ret=-1,n(l);return}if(l.action==="SAVE_AS"){l.targetItem={title:p,disabled:!1,value:Mt(String(Math.random())),show:!0},n(l);return}if(l.action==="RENAME"){let f=Ft(s,"value",i);l.targetItem={title:p,disabled:!1,value:f.data.value,show:!0},n(l);return}},()=>{l.ret=-1,n(l)})})}var s$e=class extends qe{constructor(e){super(),this.parent=e,this._loadingText="Processing...",this._exportBtnTitle="Export",this._exportBtnDisabled=!1,this._importBtnTitle="Import",this._importBtnDisabled=!1,this._applyBtnTitle="Apply",this._applyBtnDisabled=!1,this._confirmBtnTitle="Confirm",this._confirmBtnDisabled=!1,this._cancelBtnTitle="Cancel",this._cancelBtnDisabled=!0}get loadingText(){return this._loadingText}get exportBtnTitle(){return this._exportBtnTitle}set exportBtnTitle(e){this._exportBtnTitle=e,this.notify()}get exportBtnDisabled(){return this._exportBtnDisabled}set exportBtnDisabled(e){this._exportBtnDisabled=e,this.notify()}get importBtnTitle(){return this._importBtnTitle}set importBtnTitle(e){this._importBtnTitle=e,this.notify()}get importBtnDisabled(){return this._importBtnDisabled}set importBtnDisabled(e){this._importBtnDisabled=e,this.notify()}get applyBtnTitle(){return this._applyBtnTitle}set applyBtnTitle(e){this._applyBtnTitle=e,this.notify()}get applyBtnDisabled(){return this._applyBtnDisabled}set applyBtnDisabled(e){this._applyBtnDisabled=e,this.notify()}get confirmBtnTitle(){return this._confirmBtnTitle}set confirmBtnTitle(e){this._confirmBtnTitle=e,this.notify()}get confirmBtnDisabled(){return this._confirmBtnDisabled}set confirmBtnDisabled(e){this._confirmBtnDisabled=e,this.notify()}get cancelBtnTitle(){return this._cancelBtnTitle}set cancelBtnTitle(e){this._cancelBtnTitle=e,this.notify()}get cancelBtnDisabled(){return this._cancelBtnDisabled}set cancelBtnDisabled(e){this._cancelBtnDisabled=e,this.notify()}setSubmittingStatus(e){if(e==="apply"){this.applyBtnDisabled=!0,this.applyBtnTitle=me.i18n(this.loadingText),this.confirmBtnDisabled=!0;return}if(e==="confirm"){this.confirmBtnDisabled=!0,this.confirmBtnTitle=me.i18n(this.loadingText),this.applyBtnDisabled=!0;return}}exitSubmittingStatus(){this.applyBtnTitle="Apply",this.applyBtnDisabled=!1,this.confirmBtnTitle="Confirm",this.confirmBtnDisabled=!1}};async function bno(){let t=new I9t;return await t.initial(),t}var I9t=class extends qe{constructor(){super(),this._dialogProps=null,this._dialogReady=!1,this.dataEIStore=new ZXe(this),this.layerFormStore=new JXe(this),this.layerOperationsStore=new qXe(this),this.layerPhyFormStore=new XXe(this),this.layerPhyOperationsStore=new $Xe(this),this.layerPhyTableStore=new e$e(this),this.layerTableStore=new t$e(this),this.panelTabStore=new i$e(this),this.layerColorPresetProfileStore=new o$e(this),this.stackPhyPresetProfileStore=new a$e(this),this.dialogButtonsStore=new s$e(this),this.recordAction="NonspecificTag"}get recordAction(){return this._recordAction}set recordAction(e){this._recordAction=e,this.notify()}set dialogReady(e){this._dialogReady=e}get dialogReady(){return this._dialogReady}set dialogProps(e){this._dialogProps=e}get dialogProps(){return this._dialogProps}async initial(){this.dialogReady=!0,this.layerOperationsStore.updateBtnStatus(null),this.layerPhyOperationsStore.updateBtnStatus(null)}whenWidgetsPropsUpdate(e,i=!1){this.dialogProps=e,this.layerFormStore.pcbMaterialSelected=lno(this.dialogProps.layerList),i&&(this.layerColorPresetProfileStore.initColorSetting(),this.stackPhyPresetProfileStore.initStackPhySetting(this.layerFormStore.pcbMaterialSelected)),this.stackPhyPresetProfileStore.layerPhyPerferenceConfig=this.dialogProps.layerPhyPerferenceConfig,this.layerTableStore.updateTableView(this.dialogProps.layerList),this.layerTableStore.updateAllInnerStackSortIds(),this.layerFormStore.updateNonActiveLayerOpacityByLayerTable(),this.layerFormStore.copperLayerSettingSelected=this.layerTableStore.getLayerCount();let o=this.layerFormStore.pcbMaterialSelected==="FPCFlexible";this.layerPhyTableStore.updateTableViewByInitLayerPhyList(this.dialogProps.layerPhyList,this.layerTableStore.allInnerStackSortIds,!0,o),this.layerPhyFormStore.refreshStackThickness(),this.layerPhyTableStore.refreshUpperLimitIndex(),this.layerPhyTableStore.refreshLowerLimitIndex();let r=this.layerTableStore.getLayerCount(),n=this.stackPhyPresetProfileStore.selectedDefaultItem(r,!0);this.stackPhyPresetProfileStore.initSelectedValue=n,this.stackPhyPresetProfileStore.updateShowListView(r,!1),this.stackPhyPresetProfileStore.updatePresetActionBtnsStatus(),this.layerColorPresetProfileStore.saveAsBtnDisabled=!1}whenDialogInSubmittingStatus(e){this.dialogButtonsStore.setSubmittingStatus(e);let i=this.stackPhyPresetProfileStore.getItemBySelectedValue(this.stackPhyPresetProfileStore.initSelectedValue);this.stackPhyPresetProfileStore.layerPhyPerferenceConfig=i?i.title:""}whenDialogExitSubmittingStatus(){this.layerTableStore.resetReferenceId(),this.layerPhyTableStore.resetReferenceId(),this.layerTableStore.updateRenderTable(),this.layerPhyTableStore.updateRenderTable(),this.dialogButtonsStore.exitSubmittingStatus()}whenDialogTabChanged(e){this.panelTabStore.activeTab=e}async whenCopperLayerSettingChanged(e){let i=+e-2;if(+e-2<0){gz.showPCBSingleLayerWarnning();return}if(this.layerTableStore.getLayerCount()>i&&!await this.dataEIStore.checkCanRemoveLayersWhenLayerCountChanged(this.layerTableStore.tableData,i))return;this.layerFormStore.pcbMaterialSelected==="FPCFlexible"&&i>=4&&gz.showPCBMaterialTypeToggleWarnning("noSupportMultiCopper"),this.recordAction="ChangedCopperLayerCount",this.layerTableStore.setInnerLayersEnableByCount(i),this.layerTableStore.updateRenderTable(),this.layerTableStore.updateAllInnerStackSortIds(),this.layerTableStore.tableSelectedRowNumbers=[0],this.layerFormStore.copperLayerSettingSelected=this.layerTableStore.getLayerCount();let o=this.stackPhyPresetProfileStore.selectedDefaultItem(this.layerFormStore.copperLayerSettingSelected,!1);this.stackPhyPresetProfileStore.initSelectedValue=o,this.stackPhyPresetProfileStore.updateShowListView(this.layerFormStore.copperLayerSettingSelected,!1),this.stackPhyPresetProfileStore.updatePresetActionBtnsStatus(),this.layerPhyTableStore.clearTableData(),this.layerPhyTableStore.updateTableViewByLayerList(this.layerTableStore.allInnerStackSortIds),this.layerPhyFormStore.refreshStackThickness(),this.layerPhyTableStore.refreshLowerLimitIndex(),this.whenToggleStackPhyPresetSelected(!1)}whenNonActiveLayerOpacityChanged(e,i){this.layerFormStore.nonActiveLayerOpacity=Z3({value:String(e)},2).value,i!=="input"&&(this.layerColorPresetProfileStore.updateShowListView(this.layerColorPresetProfileStore.isSelectedFixedSection()),this.layerColorPresetProfileStore.updatePresetActionBtnsStatus(!0))}async whenPcbMaterialChanged(e){this.recordAction="NonspecificTag";let i=e==="FPCFlexible";if(e==="CommonMaterial"){let n=await ei();if(!n)return;let{hasFPCProfile:a,isDrawingFPCProfile:s}=(await C.windowBridge.rpcCall("pcb/getFPCStiffenerInfo","",n.contentWindow)).message;if(a){gz.showPCBMaterialTypeToggleWarnning("switchPCBTypeFail");return}(s||a)&&gz.showPCBMaterialTypeToggleWarnning("switchPCBTypeFail")}i&&this.layerTableStore.filterInnerAndUsedLayer().length>=4&&gz.showPCBMaterialTypeToggleWarnning("noSupportMultiCopper"),this.stackPhyPresetProfileStore.initStackPhySetting(e),this.layerPhyTableStore.updateTableViewByLayerList([],[]);let o=this.layerTableStore.getLayerCount(),r=this.stackPhyPresetProfileStore.selectedDefaultItem(o,!1);this.stackPhyPresetProfileStore.initSelectedValue=r,this.stackPhyPresetProfileStore.updateShowListView(o),this.stackPhyPresetProfileStore.updatePresetActionBtnsStatus(),this.whenToggleStackPhyPresetSelected(!1,i),this.layerFormStore.pcbMaterialSelected=e,this.layerTableStore.updateRenderTable()}async whenLayerOpeartionBtnClicked(e){if(this.recordAction="NonspecificTag",e==="add"){this.recordAction="ClickedLayerIncreasedBtn";let o=this.layerTableStore.filterCustomAndNousedLayer()[0];if(!o)return;this.layerTableStore.setCustomLayerStatusById(o.layerId,1,"add"),this.layerTableStore.updateRenderTable(),this.layerTableStore.tableSelectedRowNumbers=[this.layerTableStore.renderTableData.length-1],this.layerOperationsStore.deletionBtnDisabled=!1;return}if(e==="delete"){this.recordAction="ClickedLayerReducedBtn";let i=this.layerTableStore.renderTableData.length,o=this.layerTableStore.tableSelectedRowNumbers[0],r=this.layerTableStore.renderTableData[o];if(!r||!await this.dataEIStore.checkDelLayers([r.layerId]))return;this.layerTableStore.setCustomLayerStatusById(r.layerId,0,"delete"),this.layerTableStore.updateRenderTable(),o=o>=i-1?i-1:o,this.layerTableStore.tableSelectedRowNumbers=[o];let a=this.layerTableStore.renderTableData[o];this.layerOperationsStore.deletionBtnDisabled=!a||a.layerType!=="CUSTOM"}}async whenLayerTableInputElementUpdated(e,i,o,r,n,a=!1){if(o==="layerName"){let s=r.trim(),l=!1,c=!1;if(e==="BLUR"){s||(s=Gm(i.oldLayerName)),oIe(this.layerTableStore.renderTableData,s,+n)&&(s=Gm(i.oldLayerName),De({type:"error",msg:"Repeat Name!"}));let d=Ft(this.layerPhyTableStore.tableData,"referenceLayerId",i.referenceLayerId);d.index>=0&&(d.data.Layer=s,this.layerPhyTableStore.updateRenderTable()),c=!1}else c=!0;this.layerTableStore.setLayerNameById(n,s,a,d=>{d.isNameChanging=c}),this.layerTableStore.updateRenderTable(),this.layerColorPresetProfileStore.updateShowListView(this.layerColorPresetProfileStore.isSelectedFixedSection()),this.layerColorPresetProfileStore.updatePresetActionBtnsStatus(!0);return}if(o==="layerType"){let s=await ei(),l=r==="PLANE",{notEmpty:c}=(await C.windowBridge.rpcCall("CanRemoveLayers",l?{layerIds:[n,Dge],action:"layerTypeUpdated"}:{layerIds:[n],action:"layerTypeUpdated"},s.contentWindow)).message,d=[];if(c.layerIds.includes(+n)&&d.push(me.i18n("Please delete all the objects of this layer first!")),l&&!c.layerIds.includes(Dge)&&d.push(me.i18n("Please create board outline first!")),d.length>0){gz.showToastMessage(d.map(u=>`<p>${u}</p>`).join("")),this.layerTableStore.updateRenderTable();return}this.layerTableStore.setLayerTypeById(n,r,!0),this.layerTableStore.updateRenderTable(),this.layerColorPresetProfileStore.updateShowListView(this.layerColorPresetProfileStore.isSelectedFixedSection()),this.layerColorPresetProfileStore.updatePresetActionBtnsStatus(!0);return}if(o==="activeColorAlpha"){let s=r,l=!1,c=!1;if(e==="BLUR"&&(s=+r,Number.isNaN(s)&&(l=!0,s=i.oldActiveColorAlpha),+s<=0&&(c=!0,s=0),+s>=100&&(c=!0,s=100),!l&&s===i.oldActiveColorAlpha&&c===!1))return;this.layerTableStore.setLayerAlphaById(n,s,a),this.layerTableStore.updateRenderTable(),this.layerColorPresetProfileStore.updateShowListView(this.layerColorPresetProfileStore.isSelectedFixedSection()),this.layerColorPresetProfileStore.updatePresetActionBtnsStatus(!0);return}}whenLayerItemColorChanged(e,i){(!e||e.toLocaleUpperCase()==="NONE")&&(e=this.getDefaultColor(String(i))),L9t(e)||(De({type:"error",msg:"Invalid color value"}),e=this.getDefaultColor(String(i))),e=yno(e),this.layerTableStore.setLayerColorById(i,e,!0),this.layerTableStore.updateRenderTable(),this.layerColorPresetProfileStore.updateShowListView(this.layerColorPresetProfileStore.isSelectedFixedSection()),this.layerColorPresetProfileStore.updatePresetActionBtnsStatus(!0),this.layerTableStore.froceRenderColorPick+=1,this.notify()}whenLayerTableHiddenInputBlured(e){this.layerTableStore.setAllLayersExitKeyEditStatus(e),this.layerTableStore.updateRenderTable(),this.layerTableStore.isOpenedHiddenInputElement=!1}whenLayerTabelRowClicked(e,i){this.layerTableStore.tableSelectedRowNumbers=e;let o=this.layerTableStore.renderTableData[this.layerTableStore.tableSelectedRowNumbers[0]];this.layerOperationsStore.updateBtnStatus(o),this.layerTableStore.setAllLayersExitKeyEditStatus(i);let r=this.layerTableStore.setLayerKeyEditStatusById(o.layerId,i);this.layerTableStore.updateRenderTable(),r&&(this.layerTableStore.isOpenedHiddenInputElement=!0)}whenBoardThicknessChanged(e){this.layerPhyFormStore.boardThickness=e}whenLayerPhyOpeartionBtnClicked(e){let i=this.layerPhyTableStore.tableSelectedRowNumbers[0],o=this.layerPhyTableStore.renderTableData[i];if(e==="add"){let r=tno(this.layerPhyTableStore.renderTableData),n=ono(me.i18n("Dielectric")+""+nno(this.layerPhyTableStore.tableData),r+1),a=0;if(o&&(kge(o)||S9t(o))&&(a=i+1,n["Loss Tangent"]=o["Loss Tangent"],n.Material=o.Material,n.Permittivity=o.Permittivity,n.Thickness=o.Thickness*1e3),a<=0&&(a=ino(this.layerPhyTableStore.renderTableData)),a<=0)throw new Error("Substrate Layer List Error.");let s=w9t(n),l=C9t(s);this.layerPhyTableStore.extendedTypeLayerPhyList.splice(a,0,s),this.layerPhyTableStore.tableData.splice(a,0,l),this.layerPhyTableStore.updateRenderTable(),this.layerPhyTableStore.tableSelectedRowNumbers=[a],this.layerPhyTableStore.refreshLowerLimitIndex(),this.layerPhyFormStore.refreshStackThickness(),this.layerPhyOperationsStore.updateBtnStatus(this.layerPhyTableStore.tableData[a],this.layerPhyTableStore.getLayerItemByIndex(a-1),this.layerPhyTableStore.getLayerItemByIndex(a+1));return}if(e==="delete"){if(!this.layerPhyTableStore.renderTableData[i])return;this.layerPhyTableStore.extendedTypeLayerPhyList.splice(i,1),this.layerPhyTableStore.tableData.splice(i,1),this.layerPhyTableStore.updateRenderTable(),this.layerPhyTableStore.tableSelectedRowNumbers=[i],this.layerPhyTableStore.refreshLowerLimitIndex(),this.layerPhyFormStore.refreshStackThickness(),this.layerPhyOperationsStore.updateBtnStatus(this.layerPhyTableStore.tableData[i],this.layerPhyTableStore.getLayerItemByIndex(i-1),this.layerPhyTableStore.getLayerItemByIndex(i+1));return}if(e==="up"){let r=i-1;if(r<=this.layerPhyTableStore.upperLimitIndex)return;this.whenLayerPhyTableDragmoveEnded(i,r);return}if(e==="down"){let r=i+1;if(r>=this.layerPhyTableStore.lowerLimitIndex)return;this.whenLayerPhyTableDragmoveEnded(i,r);return}}whenLayerPhyTableDragmoveEnded(e,i){if(e<=-1)return;let o=this.layerPhyTableStore.moveItemsByIndexs(e,i);o!=-1&&(this.layerPhyTableStore.updateRenderTable(),this.layerPhyTableStore.tableSelectedRowNumbers=[],window.requestAnimationFrame(()=>{this.layerPhyTableStore.updateAllInnerIds(this.layerTableStore.allInnerStackSortIds),this.layerPhyTableStore.updateRenderTable(),this.layerPhyTableStore.tableSelectedRowNumbers=[o],this.layerPhyOperationsStore.updateBtnStatus(this.layerPhyTableStore.tableData[o],this.layerPhyTableStore.getLayerItemByIndex(o-1),this.layerPhyTableStore.getLayerItemByIndex(o+1)),this.layerTableStore.updateAllTableDataInnersContent(this.layerPhyTableStore.getPhyReferenceIds()),this.layerTableStore.updateRenderTable()}))}whenLayerPhyTableInputElementFocused(e){this.layerPhyTableStore.setLayerPhyDragDisabledById(e["Layer Id"]),this.layerPhyTableStore.updateRenderTable()}whenLayerPhyTableInputElementUpdated(e,i,o,r,n,a=!1){if(o==="Layer"){let s=r.trim(),l=!1,c=!1;e==="BLUR"?(s||(s=i.oldLayerName),tIe(this.layerPhyTableStore.renderTableData,s,n)&&(s=i.oldLayerName,De({type:"error",msg:"Repeat Name!"})),c=!1):c=!0,this.layerPhyTableStore.setExtendedTypeLayerPhyColValueByLayerId(n,"Layer",s,a),this.layerPhyTableStore.setLayerPhyColValueByLayerId(n,"Layer",s,a,d=>{d.isNameChanging=c}),this.layerPhyTableStore.updateRenderTable(),this.stackPhyPresetProfileStore.updateShowListView(this.layerTableStore.getLayerCount(),this.stackPhyPresetProfileStore.isSelectedFixedSection()||this.stackPhyPresetProfileStore.isSelectedBlankOption()),this.stackPhyPresetProfileStore.updatePresetActionBtnsStatus(!0);return}if(o==="Material"){let s=r;if(e==="BLUR"&&s===i.oldMaterial)return;this.layerPhyTableStore.setExtendedTypeLayerPhyColValueByLayerId(n,"Material",s,a),this.layerPhyTableStore.setLayerPhyColValueByLayerId(n,"Material",s,a),this.layerPhyTableStore.updateRenderTable(),this.stackPhyPresetProfileStore.updateShowListView(this.layerTableStore.getLayerCount(),this.stackPhyPresetProfileStore.isSelectedFixedSection()||this.stackPhyPresetProfileStore.isSelectedBlankOption()),this.stackPhyPresetProfileStore.updatePresetActionBtnsStatus(!0);return}if(o==="Thickness"){let s=r,l=r;if(e==="BLUR"){if(String(r)===String(i.oldThickness))return;s=+r,Number.isNaN(s)||String(r)===""?(s=i.oldThickness,l=+i.oldThickness):(s=s<0?i.oldThickness:s,l=s)}this.layerPhyTableStore.setLayerPhyColValueByLayerId(n,"Thickness",s,a),this.layerPhyTableStore.setExtendedTypeLayerPhyColValueByLayerId(n,"Thickness",l,a),this.layerPhyTableStore.updateRenderTable(),this.layerPhyFormStore.refreshStackThickness(),this.stackPhyPresetProfileStore.updateShowListView(this.layerTableStore.getLayerCount(),this.stackPhyPresetProfileStore.isSelectedFixedSection()||this.stackPhyPresetProfileStore.isSelectedBlankOption()),this.stackPhyPresetProfileStore.updatePresetActionBtnsStatus(!0);return}if(o==="Permittivity"){let s=r;if(e==="BLUR"){if(String(s)===String(i.oldPermittivity))return;s=+r,(Number.isNaN(s)||String(r)==="")&&(s=i.oldPermittivity)}this.layerPhyTableStore.setExtendedTypeLayerPhyColValueByLayerId(n,"Permittivity",s,a),this.layerPhyTableStore.setLayerPhyColValueByLayerId(n,"Permittivity",s,a),this.layerPhyTableStore.updateRenderTable(),this.stackPhyPresetProfileStore.updateShowListView(this.layerTableStore.getLayerCount(),this.stackPhyPresetProfileStore.isSelectedFixedSection()||this.stackPhyPresetProfileStore.isSelectedBlankOption()),this.stackPhyPresetProfileStore.updatePresetActionBtnsStatus(!0);return}if(o==="Loss Tangent"){let s=r;if(e==="BLUR"){if(String(s)===String(i.oldLossTangent))return;s=+r,(Number.isNaN(s)||String(r)==="")&&(s=i.oldLossTangent)}this.layerPhyTableStore.setExtendedTypeLayerPhyColValueByLayerId(n,"Loss Tangent",s,a),this.layerPhyTableStore.setLayerPhyColValueByLayerId(n,"Loss Tangent",s,a),this.layerPhyTableStore.updateRenderTable(),this.stackPhyPresetProfileStore.updateShowListView(this.layerTableStore.getLayerCount(),this.stackPhyPresetProfileStore.isSelectedFixedSection()||this.stackPhyPresetProfileStore.isSelectedBlankOption()),this.stackPhyPresetProfileStore.updatePresetActionBtnsStatus(!0);return}}whenLayerPhyTableHiddenInputBlured(e,i){this.layerPhyTableStore.setAllLayerPhysExitKeyEditStatus(e),this.layerPhyTableStore.setLayerPhyDragEnbaledById(i["Layer Id"]),this.layerPhyTableStore.updateRenderTable(),this.layerPhyTableStore.isOpenedHiddenInputElement=!1}whenLayerPhyTabelRowClicked(e,i,o){this.layerPhyTableStore.tableSelectedRowNumbers=e;let r=this.layerPhyTableStore.tableSelectedRowNumbers[0],n=this.layerPhyTableStore.renderTableData[this.layerPhyTableStore.tableSelectedRowNumbers[0]];if(this.layerPhyOperationsStore.updateBtnStatus(this.layerPhyTableStore.tableData[r],this.layerPhyTableStore.getLayerItemByIndex(r-1),this.layerPhyTableStore.getLayerItemByIndex(r+1)),!n)return;this.layerPhyTableStore.setAllLayerPhysExitKeyEditStatus(i);let a=this.layerPhyTableStore.setLayerPhyKeyEditStatusById(n["Layer Id"],i);this.layerPhyTableStore.updateRenderTable(),a&&(this.layerPhyTableStore.isOpenedHiddenInputElement=!0)}whenAutoAssignThicknessBtnClicked(){let e=parseFloat(String(this.layerPhyFormStore.boardThickness))*fz||0,i=rno(this.layerPhyTableStore.extendedTypeLayerPhyList),o=this.layerFormStore.pcbMaterialSelected==="FPCFlexible";if(e<i)return gz.showThicknessValueWarnnig();let r=[],n=0;for(let s of this.layerPhyTableStore.extendedTypeLayerPhyList)o||(s.Thickness=Age(s.Type)),s.Type==="Substrate"?r.push(s):n+=s.Thickness;r.forEach(s=>{s.Thickness=Number((e-n)/r.length)});let a=eIe(this.layerPhyTableStore.extendedTypeLayerPhyList);this.layerPhyTableStore.tableData=a,this.layerPhyTableStore.updateRenderTable(),this.layerPhyFormStore.refreshStackThickness(),this.stackPhyPresetProfileStore.updateShowListView(this.layerTableStore.getLayerCount(),this.stackPhyPresetProfileStore.isSelectedFixedSection()||this.stackPhyPresetProfileStore.isSelectedBlankOption()),this.stackPhyPresetProfileStore.updatePresetActionBtnsStatus(!0)}async importFileProfile(e){this.dialogProps.layerList.length=0,this.dialogProps.layerPhyList.length=0;let i=e.layerManagement.map(a=>a.values),o=e.physicalStacking.map(a=>a.values),r=this.layerTableStore.tableData.filter(a=>a.status!=0);if(!await this.dataEIStore.checkImportLayerData(i,r)){Ot("error",Ti("Import layer manager config failed."),void 0,!0);return}for(let a=0;a<i.length;a++)this.dialogProps.layerList[a]=i[a];for(let a=0;a<o.length;a++)this.dialogProps.layerPhyList[a]=o[a];this.whenWidgetsPropsUpdate(this.dialogProps,!1)}whenToggleLayerColorPresetSelected(e,i=!0){this.layerColorPresetProfileStore.initSelectedValue=e;let o=this.layerColorPresetProfileStore.getItemBySelectedValue(e);this.layerFormStore.updateNonActiveLayerOpacityBySelectedLayerColorPreset(o?o.sourceTitle:null);let r=Ft(this.layerColorPresetProfileStore.presetEntitySetting,"id",this.layerColorPresetProfileStore.initSelectedValue);if(r.index>=0){let n=r.data;for(let a=0;a<n.list.length;a++){let s=n.list[a],l=s.layerId,c=100-+s.activeColorAlpha*100;this.layerTableStore.setLayerAlphaById(l,c,!0),this.layerTableStore.setLayerColorById(l,s.activeColor,!0)}this.layerTableStore.updateRenderTable()}i&&(this.layerColorPresetProfileStore.updateShowListView(!1),this.layerColorPresetProfileStore.updatePresetActionBtnsStatus())}async whenLayerColorPresetActionClicked(e){let i=this.layerColorPresetProfileStore.initSelectedValue,o=this.layerColorPresetProfileStore.getPresetEntitySettingItemBySelectedValue(i),r=!1;switch(this.layerColorPresetProfileStore.isSelectedFixedSection()&&this.layerColorPresetProfileStore.hasChanged&&(e="SAVE_AS"),e){case"DELETE":{let n=this;await new Promise((a,s)=>{Dt({icon:"warning",title:me.i18n("Tips"),closed:!0,showCancel:!0,confirmText:me.i18n("Yes"),confirmDataTest:"Yes",cancelText:me.i18n("No"),cancelDataTest:"No",content:me.i18n("Are you sure you want to delete?"),onConfirm(){n.layerColorPresetProfileStore.deleteItemBySelectedValue(i),n.layerColorPresetProfileStore.initSelectedValue=n.layerColorPresetProfileStore.blankOptionId,r=!0,a(null)},onCancel(){a(null)},onClose(){a(null)}})});break}case"SAVE":{if(o){o.list=[];for(let n=0;n<this.layerTableStore.tableData.length;n++){let a=this.layerTableStore.tableData[n];if(["SIGNAL","PLANE"].includes(a.layerType)&&+a.layerId>=15&&+a.layerId<=21){o.list.push(Pge(this.layerTableStore.tableData[n],this.layerFormStore.nonActiveLayerOpacity));continue}a.status===1&&o.list.push(Pge(this.layerTableStore.tableData[n],this.layerFormStore.nonActiveLayerOpacity))}}break}case"SAVE_AS":{if(this.layerColorPresetProfileStore.floatList.length>=5){Ut({type:"alert",message:"No more than 5 custom configurations"});return}let n=this.layerColorPresetProfileStore.getSelectedTitle(),a=n===this.layerColorPresetProfileStore.blankOptionDefaulTitleString?me.i18n("Custom Config"):n,s=await Bge(this.layerColorPresetProfileStore.fixedList.slice(1),this.layerColorPresetProfileStore.floatList,this.layerColorPresetProfileStore.initSelectedValue,a,"SAVE_AS");if(s.ret!==0)return;this.layerColorPresetProfileStore.modifyOldFloatListByValue(s.targetItem.value,s.targetItem,!0),this.layerColorPresetProfileStore.initSelectedValue=s.targetItem.value;let l=[];for(let c=0;c<this.layerTableStore.tableData.length;c++){let d=this.layerTableStore.tableData[c];if(["SIGNAL","PLANE"].includes(d.layerType)&&+d.layerId>=15&&+d.layerId<=21){l.push(Pge(this.layerTableStore.tableData[c],this.layerFormStore.nonActiveLayerOpacity));continue}d.status===1&&l.push(Pge(this.layerTableStore.tableData[c],this.layerFormStore.nonActiveLayerOpacity))}this.layerColorPresetProfileStore.presetEntitySetting.push({id:s.targetItem.value,list:l});break}case"RENAME":{let n=await Bge(this.layerColorPresetProfileStore.fixedList.slice(1),this.layerColorPresetProfileStore.floatList,this.layerColorPresetProfileStore.initSelectedValue,this.layerColorPresetProfileStore.getSelectedTitle(),"RENAME");if(n.ret!==0)return;this.layerColorPresetProfileStore.modifyOldFloatListByValue(n.targetItem.value,n.targetItem);break}}this.layerColorPresetProfileStore.updateShowListView(r),this.layerColorPresetProfileStore.updatePresetActionBtnsStatus(),this.layerColorPresetProfileStore.savePresetData()}whenToggleStackPhyPresetSelected(e=!0,i){let o=this.layerFormStore.pcbMaterialSelected==="FPCFlexible",r=this.stackPhyPresetProfileStore.getPresetEntitySettingItemBySelectedValue(this.stackPhyPresetProfileStore.initSelectedValue);r&&(this.layerPhyTableStore.setExtendedTypeLayerPhyColValueByPresetList(r.list),this.layerPhyTableStore.updateTableViewByExtendLayerPhyTypeList(i||o),this.layerPhyFormStore.refreshStackThickness()),e&&(this.stackPhyPresetProfileStore.updateShowListView(this.layerTableStore.getLayerCount(),!1),this.stackPhyPresetProfileStore.updatePresetActionBtnsStatus())}async whenStackPhyPresetActionClicked(e){let i=this.layerTableStore.getLayerCount(),o=this.stackPhyPresetProfileStore.initSelectedValue,r=!1,n=!1;switch((this.stackPhyPresetProfileStore.isSelectedFixedSection()||this.stackPhyPresetProfileStore.isSelectedBlankOption())&&this.stackPhyPresetProfileStore.hasChanged&&e==="SAVE"&&(e="SAVE_AS"),this.stackPhyPresetProfileStore.initSelectedValue===this.stackPhyPresetProfileStore.blankOptionId&&e==="SAVE_SET_DEFAULT"&&(e="SAVE_AS_AND_SET_DEFAULT"),e){case"SAVE_SET_DEFAULT":{n=!0,this.stackPhyPresetProfileStore.defaultSetting[i]={name:this.stackPhyPresetProfileStore.getSelectedTitle()};break}case"SAVE_AS_AND_SET_DEFAULT":{let a=this.stackPhyPresetProfileStore.getSelectedTitle(),s=!a||a===this.layerColorPresetProfileStore.blankOptionDefaulTitleString?me.i18n("Custom Config"):a,l=await Bge(this.stackPhyPresetProfileStore.fixedList.slice(1),this.stackPhyPresetProfileStore.floatList,this.stackPhyPresetProfileStore.initSelectedValue,s,"SAVE_AS");if(l.ret!==0)return;this.stackPhyPresetProfileStore.allStackPhySetting.push({id:l.targetItem.value,layerCount:this.layerTableStore.getLayerCount(),list:Nge(this.layerPhyTableStore.renderTableData)}),this.stackPhyPresetProfileStore.allFloatList=[...this.stackPhyPresetProfileStore.allFloatList,{...l.targetItem,layerCount:i}],this.stackPhyPresetProfileStore.initSelectedValue=l.targetItem.value,this.stackPhyPresetProfileStore.defaultSetting[i]={name:l.targetItem.title};break}case"DELETE":{let a=this;await new Promise((s,l)=>{Dt({icon:"warning",title:me.i18n("Tips"),closed:!0,showCancel:!0,confirmText:me.i18n("Yes"),cancelText:me.i18n("No"),content:me.i18n("Are you sure you want to delete?"),onConfirm(){a.stackPhyPresetProfileStore.deleteStackBySelectedValue(o,i),a.stackPhyPresetProfileStore.initSelectedValue=a.stackPhyPresetProfileStore.blankOptionId,delete a.stackPhyPresetProfileStore.defaultSetting[i],r=!1,s(null)},onCancel(){s(null)},onClose(){s(null)}})});break}case"SAVE":{let a=this.stackPhyPresetProfileStore.getPresetEntitySettingItemBySelectedValue(o);if(a){a.list=[];for(let s=0;s<this.layerPhyTableStore.tableData.length;s++)a.list.push(T9t(this.layerPhyTableStore.tableData[s]))}break}case"SAVE_AS":{let a=this.stackPhyPresetProfileStore.getSelectedTitle(),s=!a||a===this.layerColorPresetProfileStore.blankOptionDefaulTitleString?me.i18n("Custom Config"):a,l=await Bge(this.stackPhyPresetProfileStore.fixedList.slice(1),this.stackPhyPresetProfileStore.floatList,this.stackPhyPresetProfileStore.initSelectedValue,s,"SAVE_AS");if(l.ret!==0)return;this.stackPhyPresetProfileStore.allStackPhySetting.push({id:l.targetItem.value,layerCount:this.layerTableStore.getLayerCount(),list:Nge(this.layerPhyTableStore.renderTableData)}),this.stackPhyPresetProfileStore.modifyOldAllFloatListByValue(l.targetItem.value,{...l.targetItem,layerCount:i},!0),this.stackPhyPresetProfileStore.initSelectedValue=l.targetItem.value;break}case"RENAME":{let a=await Bge(this.stackPhyPresetProfileStore.fixedList.slice(1),this.stackPhyPresetProfileStore.floatList,this.stackPhyPresetProfileStore.initSelectedValue,this.stackPhyPresetProfileStore.getSelectedTitle(),"RENAME");if(a.ret!==0)return;this.stackPhyPresetProfileStore.modifyOldAllFloatListByValue(a.targetItem.value,{...a.targetItem,layerCount:i}),this.stackPhyPresetProfileStore.defaultSetting[i]&&(this.stackPhyPresetProfileStore.defaultSetting[i].name=a.targetItem.title);break}}this.stackPhyPresetProfileStore.updateShowListView(i,r),this.stackPhyPresetProfileStore.updatePresetActionBtnsStatus(),this.stackPhyPresetProfileStore.savePresetDefault(this.layerFormStore.pcbMaterialSelected),this.stackPhyPresetProfileStore.savePresetData(this.layerFormStore.pcbMaterialSelected)}getDefaultColor(e){let i="#FF0000",o=Ft(c_,"name",vo?"EasyEDA":"JLCEDA");if(o.index>=0){let r=Ft(o.data.list,"layerId",String(e));return r.index>=0?r.data.activeColor:i}return i}},vy=(0,gno.createContext)(void 0);var kno=L(Se());var Fge=L(Se());var oE=L(Se());var Tno=L(Se());function zge(t,e){for(let i=t.length-1;i>=0;i--)if(t[i].value===e)return t[i];return null}var Sno=L(v9t());function Cno(t=[],e={},i=void 0){let o="",r=e||{},n=r.v||"value",a=r.t||"text",s=r.i||"i18n",l=typeof r.offTranslation<"u"?!!r.offTranslation:!1,c=typeof r.offAutoFill<"u"?!!r.offAutoFill:!1,d=!1,u=JSON.parse(JSON.stringify(t));return typeof i!=null&&(u.forEach((p,m)=>{String(p[n])===String(i)&&(p.selected=!0,d=!0)}),!c&&typeof i<"u"&&(!d||!t.length)&&u.unshift({[n]:i,[s]:i,[a]:i})),u.forEach(function(p,m){let h=bz(p[n]),f=l||p.offTranslation,g=bz(f?p[a]:xno(p[a],p.params_i18n)),b=bz(p[s]||p[a]),y=p.attrs||{},w="";Object.keys(y).forEach((x,S)=>{w+=`${x}="${y[x]}" `}),o+=`
                    <option
                        value="${h}"
                        class="${f?"":"i18n"}"
                        data-test="${p.dataTestVal||b||g}"
                        ${f?"":'i18n="'+b+'"'}
                        ${p.selected?'selected="selected"':""}
                        ${p.disabled?'disabled="disabled"':""}
                        ${w}
                    >${ue.htmlEncode(g)}</option>
                `}),o}var bz=t=>String(t).replace(/[&<>"']/g,e=>({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"})[e]);var tb=L(z()),{locals:K0}=Sno.default;function B9r(t){let e=J(),{setListComponentHidden:i,setStaticShowText:o,fixedList:r,floatList:n,initSelectedValue:a,saveBtnDisabled:s,saveBtnTitle:l,renameBtnDisabled:c,renameBtnTitle:d,saveAsBtnDisabled:u,saveAsbtnTitle:p,deleteBtnDisabled:m,deleteBtnTitle:h,isSetToDefaultBtnShow:f,setToDefaultBtnDisabled:g,setToDefaultBtnTitle:b,onTogglePresetSelected:y,onActionTagClicked:w}=t,x=`${K0["presetlist-item"]}`+(s?` ${K0["presetlist-item-disabled"]}`:""),S=`${K0["presetlist-item"]}`+(c?` ${K0["presetlist-item-disabled"]}`:""),T=`${K0["presetlist-item"]}`+(u?` ${K0["presetlist-item-disabled"]}`:""),M=`${K0["presetlist-item"]}`+(m?` ${K0["presetlist-item-disabled"]}`:""),I=`${K0["presetlist-item"]}`+(g?` ${K0["presetlist-item-disabled"]}`:""),A=E=>{let R=E.currentTarget.getAttribute("data-value"),v=zge([...r,...n],R);!R||!v||v.disabled||v.prohibitSelect===!0||(o(v.title),y&&y(R),window.setTimeout(()=>{i()}))},D=E=>{let N=E.currentTarget,R=N.getAttribute("data-action");!R||N.classList.contains(K0["presetlist-item-disabled"])||(w&&w(R),window.setTimeout(()=>{i()}))};return(0,tb.jsx)("div",{className:K0["presetlist-container"],"data-tagitem":"presetlist-container",children:(0,tb.jsx)("main",{className:K0["presetlist-wrapper"],children:(0,tb.jsxs)("ul",{className:K0["presetlist-ulist"],children:[r.filter(E=>E.show===!0).map((E,N)=>{let R=!!E.prohibitSelect,v=`${K0["presetlist-item"]}`+(E.disabled?` ${K0["presetlist-item-disabled"]}`:"")+(E.prohibitSelect?` ${K0["presetlist-item-prohibitselect"]}`:"")+(a===E.value&&R===!1?` ${K0["presetlist-item-selected"]}`:"");return(0,tb.jsx)("li",{className:v,"data-value":bz(E.value),onClick:A,children:(0,tb.jsx)("div",{className:K0["presetlist-content"],children:e(E.title)})},N)}),(0,tb.jsx)("li",{className:K0["presetlist-separator"]}),n.filter(E=>E.show===!0).map((E,N)=>{let R=!!E.prohibitSelect,v=`${K0["presetlist-item"]}`+(E.disabled?` ${K0["presetlist-item-disabled"]}`:"")+(E.prohibitSelect?` ${K0["presetlist-item-prohibitselect"]}`:"")+(a===E.value&&R===!1?` ${K0["presetlist-item-selected"]}`:"");return(0,tb.jsx)("li",{className:v,"data-value":bz(E.value),onClick:A,children:(0,tb.jsx)("div",{className:K0["presetlist-content"],children:E.title})},N)}),(0,tb.jsx)("li",{className:K0["presetlist-separator"]}),f?(0,tb.jsx)("li",{className:I,"data-action":"SAVE_SET_DEFAULT",onClick:D,children:(0,tb.jsx)("div",{className:K0["presetlist-content"],children:e(b)})}):null,(0,tb.jsx)("li",{className:x,"data-action":"SAVE",onClick:D,children:(0,tb.jsx)("div",{className:K0["presetlist-content"],children:e(l)})}),(0,tb.jsx)("li",{className:T,"data-action":"SAVE_AS",onClick:D,children:(0,tb.jsx)("div",{className:K0["presetlist-content"],children:e(p)})}),(0,tb.jsx)("li",{className:S,"data-action":"RENAME",onClick:D,children:(0,tb.jsx)("div",{className:K0["presetlist-content"],children:e(d)})}),(0,tb.jsx)("li",{className:M,"data-action":"DELETE",onClick:D,children:(0,tb.jsx)("div",{className:K0["presetlist-content"],children:e(h)})})]})})})}var Mno=Tno.default.memo(B9r);var D9t=L(v9t());function Ino(t){return eP.indexOf(t)>=0?t:Rr(t)}var NO=L(z()),{locals:c$e}=D9t.default;function z9r(t){let e=(0,oE.useRef)(JSON.parse(JSON.stringify(dno))),{containerStyle:i={},fixedList:o=e.current.fixedList,floatList:r=e.current.floatList,initSelectedValue:n=e.current.initSelectedValue,setSelectedTitle:a=e.current.setSelectedTitle||void 0,saveBtnDisabled:s=e.current.saveBtnDisabled,saveBtnTitle:l=e.current.saveBtnTitle,renameBtnDisabled:c=e.current.renameBtnDisabled,renameBtnTitle:d=e.current.renameBtnTitle,saveAsBtnDisabled:u=e.current.saveAsBtnDisabled,saveAsbtnTitle:p=e.current.saveAsbtnTitle,deleteBtnDisabled:m=e.current.deleteBtnDisabled,deleteBtnTitle:h=e.current.deleteBtnTitle,isSetToDefaultBtnShow:f=e.current.isSetToDefaultBtnShow,setToDefaultBtnDisabled:g=e.current.setToDefaultBtnDisabled,setToDefaultBtnTitle:b=e.current.setToDefaultBtnTitle,onTogglePresetSelected:y,onActionTagClicked:w}=t,x=zge([...o,...r],n),S=(0,oE.useRef)(null),T=(0,oE.useRef)(null),[M,I]=(0,oE.useState)(!1),[A,D]=(0,oE.useState)(x?x.title:"-"),E=typeof a<"u"?a:A,N=k=>{let P=k.target;if(M&&T.current&&T.current.contains(P)){I(!1);return}I(!0)},R=k=>{window.setTimeout(()=>{I(!1)})},v=()=>{I(!1)};return(0,oE.useEffect)(()=>{if(M&&S.current){let k=S.current.querySelector('[data-tagitem="presetlist-container"]'),P=S.current.getBoundingClientRect().toJSON(),O=k.getBoundingClientRect().toJSON(),_=O.height+rIe+uno,j=document.documentElement.clientHeight;O.left=P.left,O.right=O.left+O.width,j<=_?(O.top=P.bottom+rIe,O.bottom=O.height+O.top):j-P.bottom<_?(O.top=P.top-O.height-rIe,O.bottom=O.height+O.top):(O.top=P.bottom+rIe,O.bottom=O.height+O.top),O.width=P.width,O.right=O.width+O.width,k.style.left=O.left+"px",k.style.top=O.top+"px",k.style.width=O.width+"px"}},[M]),(0,oE.useEffect)(()=>{let k=zge([...o,...r],n);if(!k){D("-");return}if(k.title!==A){D(k.title);return}},[n]),(0,oE.useEffect)(()=>{let k=zge([...o,...r],n);D(k?k.title:"-")},[o,r]),(0,NO.jsxs)("section",{style:{width:"100%",position:"relative",zIndex:999},children:[(0,NO.jsx)("style",{children:String(D9t.default)}),(0,NO.jsxs)("div",{className:c$e["presetmgr-container"],ref:S,tabIndex:0,onBlur:R,onClick:N,"data-tagitem":"presetmgr-container",style:{...i},children:[(0,NO.jsxs)("div",{ref:T,className:c$e["presetmgr-wrapper"],"data-tagitem":"presetmgr-wrapper",children:[(0,NO.jsx)("div",{className:c$e["staticshow-content"],children:Ino(E)}),(0,NO.jsxs)("svg",{className:c$e["staticshow-icon"],viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",children:[(0,NO.jsx)("path",{d:"M511.862 750.76l-431.297-431.297 34.419-34.419 431.297 431.297-34.419 34.419z",fill:"#272636"}),(0,NO.jsx)("path",{d:"M942.267 319.461l-431.298 431.298-34.419-34.419 431.298-431.298 34.419 34.419z",fill:"#272636"})]})]}),M?(0,NO.jsx)(Mno,{fixedList:o,floatList:r,initSelectedValue:n,setListComponentHidden:v,setStaticShowText:D,saveBtnDisabled:s,saveBtnTitle:l,renameBtnDisabled:c,renameBtnTitle:d,saveAsBtnDisabled:u,saveAsbtnTitle:p,deleteBtnDisabled:m,deleteBtnTitle:h,isSetToDefaultBtnShow:f,setToDefaultBtnDisabled:g,setToDefaultBtnTitle:b,onTogglePresetSelected:y,onActionTagClicked:w}):null]})]})}var Lno=oE.default.memo(z9r);var d$e=Lno;var bf=L(z());function F9r(){let t=J(),e=(0,Fge.useContext)(vy);Ce(e.layerFormStore),Ce(e.layerColorPresetProfileStore);let[i,o]=(0,Fge.useState)(0),r=async u=>{o(i+1),await e.whenCopperLayerSettingChanged(u)},n=(u,p)=>{e.whenNonActiveLayerOpacityChanged(u,"input")},a=u=>{let p=+u.target.value;String(p)==="NaN"&&(p=0),p<=0&&(p=0),p>=100&&(p=100),e.whenNonActiveLayerOpacityChanged(p,"blur")},s=u=>{let p=u.target;p.select&&p.select()},l=u=>{o(i+1),e.whenPcbMaterialChanged(u)},c=u=>{e.whenToggleLayerColorPresetSelected(u)},d=u=>{e.whenLayerColorPresetActionClicked(u)};return(0,bf.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",children:[(0,bf.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:{padding:"0 16px 0 0",width:"fit-content"},children:[(0,bf.jsx)("div",{style:{textAlign:"left",wordBreak:"break-word",whiteSpace:"nowrap"},children:(0,bf.jsxs)("span",{children:[t("Copper Layer"),": "]})}),(0,bf.jsx)("div",{"data-refresh":i,style:{width:"100%",minWidth:"60px",paddingLeft:"10px"},children:(0,bf.jsx)(xt,{list:e.layerFormStore.copperLayerSettingList.map(u=>({...u,text:u.name})),value:e.layerFormStore.copperLayerSettingSelected,onChange:r,name:"copperLayerSetting",containerStyle:{height:"24px"},optionsAutoWidth:!0})})]}),(0,bf.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:{padding:"0 16px 0 0",width:"fit-content"},children:[(0,bf.jsx)("div",{style:{textAlign:"left",wordBreak:"break-word",whiteSpace:"nowrap"},children:(0,bf.jsxs)("span",{children:[t("Color Setting"),": "]})}),(0,bf.jsx)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:{width:"100%",minWidth:"150px",paddingLeft:"10px"},children:(0,bf.jsx)(d$e,{fixedList:e.layerColorPresetProfileStore.fixedList,floatList:e.layerColorPresetProfileStore.floatList,initSelectedValue:e.layerColorPresetProfileStore.initSelectedValue,saveBtnDisabled:e.layerColorPresetProfileStore.saveBtnDisabled,saveBtnTitle:e.layerColorPresetProfileStore.saveBtnTitle,renameBtnDisabled:e.layerColorPresetProfileStore.renameBtnDisabled,renameBtnTitle:e.layerColorPresetProfileStore.renameBtnTitle,saveAsBtnDisabled:e.layerColorPresetProfileStore.saveAsBtnDisabled,saveAsbtnTitle:e.layerColorPresetProfileStore.saveAsbtnTitle,deleteBtnDisabled:e.layerColorPresetProfileStore.deleteBtnDisabled,deleteBtnTitle:e.layerColorPresetProfileStore.deleteBtnTitle,onTogglePresetSelected:c,onActionTagClicked:d})})]}),(0,bf.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:{padding:"0 16px 0 0px",width:"fit-content",maxWidth:"220px"},children:[(0,bf.jsx)("div",{style:{textAlign:"left",wordBreak:"break-word",whiteSpace:"nowrap",overflow:"hidden",maxWidth:"135px",textOverflow:"ellipsis"},children:(0,bf.jsxs)("span",{children:[t("Inactive Layer Transparency"),": "]})}),(0,bf.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:{width:"80px",paddingLeft:"10px"},children:[(0,bf.jsx)(Kt,{type:"text",focusTriggerSelect:!0,readOnly:!1,name:"nonActiveLayerOpacity",value:String(e.layerFormStore.nonActiveLayerOpacity),onChange:n,onFocus:s,onBlur:a,style:{height:"22px"}}),(0,bf.jsx)("span",{style:{paddingLeft:"5px"},children:"%"})]})]}),(0,bf.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:{padding:"0",width:"fit-content"},children:[(0,bf.jsx)("div",{style:{textAlign:"left",wordBreak:"break-word",whiteSpace:"nowrap"},children:(0,bf.jsxs)("span",{children:[t("PCB Type"),": "]})}),(0,bf.jsx)("div",{style:{width:"100%",minWidth:"130px",paddingLeft:"10px"},children:(0,bf.jsx)(xt,{list:e.layerFormStore.pcbMaterialList.map(u=>({...u,text:u.name})),value:e.layerFormStore.pcbMaterialSelected,onChange:l,name:"pcbMaterial",containerStyle:{height:"24px"},optionsAutoWidth:!0})})]})]})}var vno=Fge.default.memo(F9r);var u$e=L(Se());var Eno=L(z());function U9r(){let t=(0,u$e.useContext)(vy);Ce(t.layerOperationsStore);let e=i=>{t.whenLayerOpeartionBtnClicked(i)};return(0,Eno.jsx)(ec,{addButton:t.layerOperationsStore.addtionBtnShow,addDisabled:t.layerOperationsStore.addtionBtnDisabled,deleteButton:t.layerOperationsStore.deletionBtnShow,deleteDisabled:t.layerOperationsStore.deletionBtnDisabled,upButton:!1,downButton:!1,onClick:e})}var Dno=u$e.default.memo(U9r);var w5=L(Se());var Ano=L(X6e());var jM=L(z()),{locals:Uge}=Ano.default;function V9r(){let t=J(),e=(0,w5.useContext)(vy);Ce(e.layerTableStore);let i=(0,w5.useRef)({isCompositionInputting:!1,action:""}),o=(0,w5.useRef)(null),r=(0,w5.useRef)(""),n=(0,w5.useRef)(-1),a=(0,w5.useRef)(null),s=(0,w5.useRef)(null),l=(0,w5.useRef)(0),c=(0,w5.useRef)(null),d=(0,w5.useRef)(""),u=e.layerTableStore.tableCols.map(m=>({...m,name:t(m.name),render(h){let{rowNumber:f}=h,g=h.row,b=this,y=D=>{d.current=D.target.value;let E=D.target;typeof E.select<"u"&&E.select()},w=D=>{let E=D.target;D.key==="Enter"&&i.current.isCompositionInputting===!1&&E.blur(),i.current.action==="CompositionEnd"&&(i.current.isCompositionInputting=!1)},x=D=>{i.current.isCompositionInputting=!0,i.current.action="CompositionStart"},S=D=>{i.current.action="CompositionEnd"},T=async(D,E)=>{let N=E.nativeEvent.currentTarget,R=N.getAttribute("data-layerid"),v=N.getAttribute("data-tagitem");await e.whenLayerTableInputElementUpdated("CHANGE",g,v,D,R,!1)},M=async D=>{let E=D.target,N=E.value,R=E.getAttribute("data-layerid"),v=E.getAttribute("data-tagitem");await e.whenLayerTableInputElementUpdated("CHANGE",g,v,N,R,!1)},I=async D=>{n.current=-1;let E=D.target,N=E.value,R=E.getAttribute("data-layerid"),v=E.getAttribute("data-tagitem");Object.is(N,d.current)||await e.whenLayerTableInputElementUpdated("BLUR",g,v,N,R,!0),e.whenLayerTableHiddenInputBlured(v)},A=null;switch(b.key){case"numberIndex":{A=(0,jM.jsx)("div",{children:f+1});break}case"layerName":{g.isNameEditStatus&&["CUSTOM","PLANE","SIGNAL"].indexOf(g.layerType)>=0?A=(0,jM.jsx)("div",{className:`${Uge["layertable-nameinput-container"]}`,children:(0,jM.jsx)("input",{className:`${Uge["layertable-nameinput"]}`,type:"text",name:"layerName",defaultValue:Gm(g.layerName),style:{display:"block"},onFocus:y,onKeyUp:w,onChange:M,onBlur:I,onCompositionStart:x,onCompositionEnd:S,"data-layerid":g.layerId,"data-tagitem":"layerName","data-row":f,"data-col":"layerName"})}):A=(0,jM.jsx)("div",{children:Gm(g.layerName)});break}case"layerType":{["SIGNAL","PLANE"].indexOf(g.layerType)>=0?A=(0,jM.jsx)("div",{children:(0,jM.jsx)(xt,{list:e.layerTableStore.layerTypeMap.map(D=>({value:D.value,text:D.name})),value:g.layerType,name:"layerType",onChange:(D,E)=>{T(D,E)},htmlAttrs:{"data-layeridssss":g.layerId},dropContainerHtmlAttrs:{"data-layerid":g.layerId,"data-tagitem":"layerType"}})}):A=(0,jM.jsx)("div",{children:t(g.localLayerType)});break}case"activeColor":{A=(0,jM.jsx)("div",{className:`${Uge["layertable-coloricon-container"]}`,children:(0,jM.jsx)("div",{className:`${Uge["layertable-coloricon-wrapper"]}`,"data-layerid":g.layerId,"data-tagitem":"activeColor","data-bgColor":String(g.activeColor).toUpperCase(),children:(0,jM.jsx)(vp,{color:String(g.activeColor).toUpperCase(),onChange:(D,E={})=>{E["data-layerid"]&&e.whenLayerItemColorChanged(D,+E["data-layerid"])},needRefresh:!1,payloads:{"data-layerid":g.layerId,"data-tagitem":"activeColor"},forceRender:e.layerTableStore.froceRenderColorPick,restoreDefaultButton:!1,allowNone:!1})})});break}case"activeColorAlpha":{A=(0,jM.jsx)("div",{className:`${Uge["layertable-alphainput-container"]}`,children:(0,jM.jsx)("input",{className:`${Uge["layertable-alphainput"]}`,type:"text",name:"activeColorAlpha",value:g.activeColorAlpha,style:{display:"block"},onFocus:y,onKeyUp:w,onChange:M,onBlur:I,"data-layerid":g.layerId,"data-tagitem":"activeColorAlpha","data-row":f,"data-col":"activeColorAlpha"})});break}}return A}})),p=m=>{let{clickObj:h,selectedRowNumbers:f,row:g}=m;r.current=h.colKey,n.current=h.rowNumber,e.whenLayerTabelRowClicked(f,h.colKey)};return(0,w5.useEffect)(()=>{let m=null;return o.current&&(m=new MutationObserver(h=>{for(let f=0;f<h.length;f++){let g=h[f].target;if(!g)continue;let b=Array.from(g.querySelectorAll(`[data-row="${n.current}"]`)),y=null;for(let S=0;S<b.length;S++)if(b[S].getAttribute("data-col")===r.current){y=b[S];break}if(y){y.focus();break}let x=h[f].addedNodes[0];if(x&&x.nodeName.toLocaleUpperCase()==="TR"&&(e.recordAction==="ClickedLayerIncreasedBtn"||e.recordAction==="ClickedLayerReducedBtn")){x.scrollIntoView();break}}}),m.observe(o.current,{childList:!0,subtree:!0})),()=>{m&&m.disconnect()}},[]),(0,jM.jsx)("div",{id:"dlgLayerOptionsSetTable",ref:o,style:{height:"100%",width:"100%",overflowY:"hidden",overflowX:"auto"},children:(0,jM.jsx)(xi,{index:"$id",border:!0,height:e.layerTableStore.tableOccupyHeight,columns:u,openHeadContentMenu:!1,showCustomHeadSettingOnHeadContextmenu:!1,rows:e.layerTableStore.renderTableData,selectedRowNumbers:e.layerTableStore.tableSelectedRowNumbers,openVirtualScroll:!1,isOnlyHighlightText:!0,onClick:p})})}var Nno=w5.default.memo(V9r);var WY=L(z());function H9r(t){return(0,WY.jsxs)("div",{style:{height:"100%",display:"flex",flexDirection:"column",justifyContent:"flex-start"},children:[(0,WY.jsx)("div",{style:{height:"38px",display:"flex",alignContent:"flex-end",alignItems:"flex-end"},children:(0,WY.jsx)(vno,{})}),(0,WY.jsx)("div",{style:{height:"38px",display:"flex",alignContent:"center",alignItems:"center"},children:(0,WY.jsx)(Dno,{})}),(0,WY.jsx)("div",{style:{height:"calc(100% - 38px - 38px)"},children:(0,WY.jsx)(Nno,{})})]})}var Pno=kno.default.memo(H9r);var Fno=L(Se());var p$e=L(Se());var XI=L(z());function G9r(){let t=J(),e=(0,p$e.useContext)(vy);Ce(e.layerPhyFormStore);let i=(a,s)=>{e.whenBoardThicknessChanged(a)},o=a=>{let s=a.target.value.trim()===""?"":+a.target.value;Number.isNaN(s)&&(s=""),s!==""&&s<=0&&(s=0),s!==""&&s>=100&&(s=100),e.whenBoardThicknessChanged(s)},r=a=>{let s=a.target;s.select&&s.select()},n=a=>{e.whenAutoAssignThicknessBtnClicked()};return(0,XI.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:{padding:"16px 0 0 0"},children:[(0,XI.jsxs)("div",{style:{textAlign:"left",wordBreak:"break-word",whiteSpace:"nowrap",paddingRight:"10px"},children:[(0,XI.jsx)("span",{children:t("Current stack thickness:")}),(0,XI.jsx)("span",{id:"StackBoardThickness",children:e.layerPhyFormStore.stackThickness})]}),(0,XI.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:{padding:"0",width:"fit-content"},children:[(0,XI.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:{padding:"0 16px 0 12px",width:"fit-content",maxWidth:"200px"},children:[(0,XI.jsx)("div",{style:{textAlign:"left",wordBreak:"break-word",whiteSpace:"nowrap"},children:(0,XI.jsxs)("span",{children:[t("Board Thickness"),": "]})}),(0,XI.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:{width:"100%",maxWidth:"150px",paddingLeft:"8px"},children:[(0,XI.jsx)(Kt,{type:"text",focusTriggerSelect:!0,readOnly:!1,name:"boardThickness",defaultValue:String(e.layerPhyFormStore.boardThickness),onChange:i,onFocus:r,onBlur:o,style:{height:"22px"}}),(0,XI.jsx)("span",{style:{paddingLeft:"5px"},children:"mm"})]})]}),(0,XI.jsx)(Me,{style:{marginRight:"8px",whiteSpace:"nowrap",height:"26px",lineHeight:"26px",color:"#1890ff"},onClick:n,id:"autoAssignSubstrateThickness",children:"Auto Assign substrate thickness"})]})]})}var Ono=p$e.default.memo(G9r);var m$=L(Se());var E9t=L(z());function Y9r(){let t=(0,m$.useContext)(vy);Ce(t.layerPhyOperationsStore),Ce(t.layerPhyTableStore);let e=(0,m$.useRef)(!1),i=o=>{e.current!==!0&&(e.current=!0,t.whenLayerPhyOpeartionBtnClicked(o))};return(0,m$.useEffect)(()=>{window.setTimeout(()=>{e.current=!1})},[t.layerPhyTableStore.renderTableData]),(0,E9t.jsx)("div",{style:{padding:"6px 0 8px 19px"},children:(0,E9t.jsx)(ec,{addButton:t.layerPhyOperationsStore.addtionBtnShow,addDisabled:t.layerPhyOperationsStore.addtionBtnDisabled,deleteButton:t.layerPhyOperationsStore.deletionBtnShow,deleteDisabled:t.layerPhyOperationsStore.deletionBtnDisabled,upButton:t.layerPhyOperationsStore.upmoveBtnShow,upDisabled:t.layerPhyOperationsStore.upmoveBtnDisabled,downButton:t.layerPhyOperationsStore.downmoveBtnShow,downDisabled:t.layerPhyOperationsStore.downmoveBtnDisabled,onClick:i})})}var Rno=m$.default.memo(Y9r);var rE=L(Se());var Bno=L(X6e());var jno=L(X6e()),aIe=L(z()),{locals:_no}=jno.default;function A9t(t){let{row:e,colStyleObject:i,translate:o,onInputElementFocusAction:r,onInputElementKeyupAction:n,onInputElementChangedAction:a,onInputElementBluredAction:s}=t,l=e.Material,c=l;return/No copper/i.test(l)?c=l.replace(/No copper/gi,"")+o({context:"layerManagerDialog",value:"No copper"}):/Copper/i.test(l)&&(c=l.replace(/Copper/gi,"")+o({context:"layerManagerDialog",value:"Copper"})),e.isMaterialEditStatus?(0,aIe.jsx)("div",{"data-row-tag":"SolderMask Layer","data-col-tag":"Material",style:i,className:`${_no["layertable-nameinput-container"]}`,children:(0,aIe.jsx)("input",{className:`${_no["layertable-nameinput"]}`,type:"text",name:"Material",defaultValue:c,style:{display:"block"},onFocus:r,onKeyUp:n,onChange:a,onBlur:s,"data-layerid":e["Layer Id"],"data-tagitem":"Material"})}):(0,aIe.jsx)("div",{"data-row-tag":"SolderMask Layer","data-col-tag":"Material",style:i,children:c})}function N9t(t){let{row:e,colStyleObject:i,translate:o}=t,r=e.Material,n=r;return/No copper/i.test(r)?n=r.replace(/No copper/gi,"")+o({context:"layerManagerDialog",value:"No copper"}):/Copper/i.test(r)&&(n=r.replace(/Copper/gi,"")+o({context:"layerManagerDialog",value:"Copper"})),(0,aIe.jsx)("div",{"data-row-tag":"SolderMask Layer","data-col-tag":"Material",style:i,children:n})}var fs=L(z()),{locals:C5}=Bno.default,jc={};function W9r(){let t=J(),e=(0,rE.useContext)(vy);Ce(e.layerPhyTableStore);let i=(0,rE.useRef)(!1),o=(0,rE.useRef)(void 0),r=(0,rE.useRef)(""),n=(0,rE.useRef)(null),a=(0,rE.useRef)(null),s=e.layerFormStore.pcbMaterialSelected=="FPCFlexible",l=e.layerPhyTableStore.tableCols.map(u=>({...u,name:t(u.name),render(p){let m=p.row,h=p.rowNumber,f=this,g=S=>{let T=S.target;typeof T.select<"u"&&T.select(),e.whenLayerPhyTableInputElementFocused(m)},b=S=>{let T=S.target;S.keyCode===13&&T.blur()},y=S=>{let T=S.target,M=T.value,I=T.getAttribute("data-layerid"),A=T.getAttribute("data-tagitem");e.whenLayerPhyTableInputElementUpdated("CHANGE",m,A,M,I,!1)},w=S=>{i.current=!1;let T=S.target,M=T.value,I=T.getAttribute("data-layerid"),A=T.getAttribute("data-tagitem");e.whenLayerPhyTableInputElementUpdated("BLUR",m,A,M,I,!0),e.whenLayerPhyTableHiddenInputBlured(A,m)},x=null;if(["Silk Layer","PasteMask Layer"].indexOf(m.localLayerPhyType)>=0){switch(f.key){case"Layer":{x=(0,fs.jsx)("div",{"data-row-tag":m.localLayerPhyType,"data-col-tag":"Layer",style:jc,children:Gm(m.Layer)});break}case"Layer Type":{x=(0,fs.jsx)("div",{"data-row-tag":m.localLayerPhyType,"data-col-tag":"Layer Type",style:jc,children:t(m.localLayerPhyType)});break}case"Material":{x=(0,fs.jsx)(N9t,{row:m,colStyleObject:jc,translate:t});break}case"Thickness":{x=(0,fs.jsx)("div",{"data-row-tag":m.localLayerPhyType,"data-col-tag":"Thickness",style:jc,children:Om(m.Thickness,{decimalPlacesShow:AO=="mm"?4:1})});break}case"Permittivity":{if(s){x=(0,fs.jsx)("div",{"data-row-tag":m.localLayerPhyType,"data-col-tag":"Permittivity",style:jc,children:"0"});break}x=(0,fs.jsx)("div",{"data-row-tag":m.localLayerPhyType,"data-col-tag":"Permittivity",style:jc,children:t(m.Permittivity)});break}case"Loss Tangent":{if(s){x=(0,fs.jsx)("div",{"data-row-tag":m.localLayerPhyType,"data-col-tag":"Loss Tangent",style:jc,children:"0"});break}x=(0,fs.jsx)("div",{"data-row-tag":m.localLayerPhyType,"data-col-tag":"Loss Tangent",style:jc,children:t(m["Loss Tangent"])});break}}return x}if(m.localLayerPhyType==="SolderMask Layer"){switch(f.key){case"Layer":{x=(0,fs.jsx)("div",{"data-row-tag":"SolderMask Layer","data-col-tag":"Layer",style:jc,children:Gm(m.Layer)});break}case"Layer Type":{x=(0,fs.jsx)("div",{"data-row-tag":"SolderMask Layer","data-col-tag":"Layer Type",style:jc,children:t(m.localLayerPhyType)});break}case"Material":{x=(0,fs.jsx)(A9t,{row:m,colStyleObject:jc,translate:t,onInputElementFocusAction:g,onInputElementKeyupAction:b,onInputElementChangedAction:y,onInputElementBluredAction:w});break}case"Thickness":{m.isThicknessEditStatus?x=(0,fs.jsx)("div",{"data-row-tag":"SolderMask Layer","data-col-tag":"Thickness",style:jc,className:`${C5["layertable-nameinput-container"]}`,children:(0,fs.jsx)("input",{className:`${C5["layertable-nameinput"]}`,type:"number",name:"Thickness",value:Om(m.Thickness,{decimalPlacesShow:AO=="mm"?4:1}),style:{display:"block"},onFocus:g,onKeyUp:b,onChange:y,onBlur:w,"data-layerid":m["Layer Id"],"data-tagitem":"Thickness"})}):x=(0,fs.jsx)("div",{"data-row-tag":"SolderMask Layer","data-col-tag":"Thickness",style:jc,children:Om(m.Thickness,{decimalPlacesShow:AO=="mm"?4:1})});break}case"Permittivity":{if(s){x=(0,fs.jsx)("div",{"data-row-tag":"SolderMask Layer","data-col-tag":"Permittivity",style:jc,children:"0"});break}m.isPermittivityEditStatus?x=(0,fs.jsx)("div",{"data-row-tag":"SolderMask Layer","data-col-tag":"Permittivity",style:jc,className:`${C5["layertable-nameinput-container"]}`,children:(0,fs.jsx)("input",{className:`${C5["layertable-nameinput"]}`,type:"number",name:"Permittivity",value:m.Permittivity,style:{display:"block"},onFocus:g,onKeyUp:b,onChange:y,onBlur:w,"data-layerid":m["Layer Id"],"data-tagitem":"Permittivity"})}):x=(0,fs.jsx)("div",{"data-row-tag":"SolderMask Layer","data-col-tag":"Permittivity",style:jc,children:m.Permittivity});break}case"Loss Tangent":{if(s){x=(0,fs.jsx)("div",{"data-row-tag":"SolderMask Layer","data-col-tag":"Loss Tangent",style:jc,children:"0"});break}m.isLossTangentEditStatus?x=(0,fs.jsx)("div",{"data-row-tag":"SolderMask Layer","data-col-tag":"Loss Tangent",style:jc,className:`${C5["layertable-nameinput-container"]}`,children:(0,fs.jsx)("input",{className:`${C5["layertable-nameinput"]}`,type:"number",name:"Loss Tangent",value:m["Loss Tangent"],style:{display:"block"},onFocus:g,onKeyUp:b,onChange:y,onBlur:w,"data-layerid":m["Layer Id"],"data-tagitem":"Loss Tangent"})}):x=(0,fs.jsx)("div",{"data-row-tag":"SolderMask Layer","data-col-tag":"Loss Tangent",style:jc,children:m["Loss Tangent"]});break}}return x}if(m.localLayerPhyType==="Copper"){switch(f.key){case"Layer":{x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Layer",style:jc,children:m.isNameUpdated?m.localLayer:Gm(m.localLayer)});break}case"Layer Type":{x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Layer Type",style:jc,children:t(m.localLayerPhyType)});break}case"Material":{x=(0,fs.jsx)(N9t,{row:m,colStyleObject:jc,translate:t});break}case"Thickness":{m.isThicknessEditStatus?x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Thickness",style:jc,className:`${C5["layertable-nameinput-container"]}`,children:(0,fs.jsx)("input",{className:`${C5["layertable-nameinput"]}`,type:"number",name:"Thickness",value:Om(m.Thickness,{decimalPlacesShow:AO=="mm"?4:1}),style:{display:"block"},onFocus:g,onKeyUp:b,onChange:y,onBlur:w,"data-layerid":m["Layer Id"],"data-tagitem":"Thickness"})}):x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Thickness",style:jc,children:Om(m.Thickness,{decimalPlacesShow:AO=="mm"?4:1})});break}case"Permittivity":{if(s){x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Permittivity",style:jc,children:"0"});break}x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Permittivity",style:jc,children:t(m.Permittivity)});break}case"Loss Tangent":{if(s){x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Loss Tangent",style:jc,children:"0"});break}x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Loss Tangent",style:jc,children:t(m["Loss Tangent"])});break}}return x}if(m.localLayerPhyType==="Substrate"){switch(f.key){case"Layer":{m.isNameEditStatus?x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Layer",style:jc,className:`${C5["layertable-nameinput-container"]}`,children:(0,fs.jsx)("input",{className:`${C5["layertable-nameinput"]}`,type:"text",name:"Layer",defaultValue:m.isNameUpdated?m.Layer:Gm(m.Layer),style:{display:"block"},onFocus:g,onKeyUp:b,onChange:y,onBlur:w,"data-layerid":m["Layer Id"],"data-tagitem":"Layer"})}):x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Layer",style:jc,children:m.isNameUpdated?m.Layer:Gm(m.Layer)});break}case"Layer Type":{x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Layer Type",style:jc,children:t(m.localLayerPhyType)});break}case"Material":{x=(0,fs.jsx)(A9t,{row:m,colStyleObject:jc,translate:t,onInputElementFocusAction:g,onInputElementKeyupAction:b,onInputElementChangedAction:y,onInputElementBluredAction:w});break}case"Thickness":{m.isThicknessEditStatus?x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Thickness",style:jc,className:`${C5["layertable-nameinput-container"]}`,children:(0,fs.jsx)("input",{className:`${C5["layertable-nameinput"]}`,type:"number",name:"Thickness",value:Om(m.Thickness,{decimalPlacesShow:AO=="mm"?4:1}),style:{display:"block"},onFocus:g,onKeyUp:b,onChange:y,onBlur:w,"data-layerid":m["Layer Id"],"data-tagitem":"Thickness"})}):x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Thickness",style:jc,children:Om(m.Thickness,{decimalPlacesShow:AO=="mm"?4:1})});break}case"Permittivity":{if(s){x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Permittivity",style:jc,children:"0"});break}m.isPermittivityEditStatus?x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Permittivity",style:jc,className:`${C5["layertable-nameinput-container"]}`,children:(0,fs.jsx)("input",{className:`${C5["layertable-nameinput"]}`,type:"number",name:"Permittivity",value:m.Permittivity,style:{display:"block"},onFocus:g,onKeyUp:b,onChange:y,onBlur:w,"data-layerid":m["Layer Id"],"data-tagitem":"Permittivity"})}):x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Permittivity",style:jc,children:m.Permittivity});break}case"Loss Tangent":{if(s){x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Loss Tangent",style:jc,children:"0"});break}m.isLossTangentEditStatus?x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Loss Tangent",style:jc,className:`${C5["layertable-nameinput-container"]}`,children:(0,fs.jsx)("input",{className:`${C5["layertable-nameinput"]}`,type:"number",name:"Loss Tangent",value:m["Loss Tangent"],style:{display:"block"},onFocus:g,onKeyUp:b,onChange:y,onBlur:w,"data-layerid":m["Layer Id"],"data-tagitem":"Loss Tangent"})}):x=(0,fs.jsx)("div",{"data-row-tag":"Copper","data-col-tag":"Loss Tangent",style:jc,children:m["Loss Tangent"]});break}}return x}return(0,fs.jsx)("div",{children:t("Partition format error!")})}})),c=(u,p,m)=>{e.whenLayerPhyTableDragmoveEnded(u,p)},d=u=>{let{clickObj:p,selectedRowNumbers:m,row:h}=u;window.clearTimeout(n.current),p&&(n.current=window.setTimeout(()=>{r.current=p.colKey,o.current=m[0],e.whenLayerPhyTabelRowClicked(m,p.colKey,h)}))};return(0,rE.useEffect)(()=>{a.current&&e.layerPhyTableStore.isOpenedHiddenInputElement&&Yn(()=>{let u=a.current.querySelector(`[data-content-rowindex="${o.current}"]`);if(u){let p=u.querySelector(`[name="${r.current}"]`);p&&!i.current&&(p.focus&&p.focus(),p.select&&p.select(),i.current=!0)}})},[e.layerPhyTableStore.renderTableData]),(0,rE.useEffect)(()=>()=>{i.current=!1,r.current="",o.current=void 0},[]),(0,fs.jsx)("div",{style:{padding:"0"},children:(0,fs.jsx)("div",{id:"dlgPhysicalStackingTable",ref:a,style:{height:"100%",width:"100%",overflowY:"hidden",overflowX:"auto"},children:(0,fs.jsx)(xi,{index:"$id",border:!0,height:e.layerPhyTableStore.tableOccupyHeight,columns:l,openHeadContentMenu:!1,showCustomHeadSettingOnHeadContextmenu:!1,rows:e.layerPhyTableStore.renderTableData,selectedRowNumbers:e.layerPhyTableStore.tableSelectedRowNumbers,openVirtualScroll:!1,isOnlyHighlightText:!0,rowHeight:34,onClick:d,enableDragSort:!0,dragConfig:{upperLimitIndex:e.layerPhyTableStore.upperLimitIndex,lowerLimitIndex:e.layerPhyTableStore.lowerLimitIndex},onDragMoveEnd:c})})})}var zno=rE.default.memo(W9r);var Vge=L(z());function Q9r(t){return(0,Vge.jsxs)("div",{style:{height:"100%",display:"flex",flexDirection:"column",justifyContent:"flex-start"},children:[(0,Vge.jsx)(Ono,{}),(0,Vge.jsx)(Rno,{}),(0,Vge.jsx)(zno,{})]})}var Uno=Fno.default.memo(Q9r);var QY=L(z());function Z9r(t){let e=(0,Vno.useContext)(vy);return Ce(e.panelTabStore),(0,QY.jsxs)("div",{style:{width:"100%",height:"100%",minHeight:"inherit",overflow:"hidden"},children:[(0,QY.jsx)(yl,{lists:e.panelTabStore.tabs,direction:"top",defaultActiveKey:e.panelTabStore.activeTab,type:"card",tabsStyle:{minWidth:"81px"},containerDomId:"layerManagerHeader",onClick:i=>{e.whenDialogTabChanged(i)}}),(0,QY.jsxs)("div",{id:"layerManagerContent",children:[(0,QY.jsx)("div",{style:{display:`${e.panelTabStore.activeTab==="Layer Management"?"":"none"}`,width:"100%",height:"100%"},children:(0,QY.jsx)(Pno,{})}),(0,QY.jsx)("div",{style:{display:`${e.panelTabStore.activeTab==="Physical Stacking"?"":"none"}`,width:"100%",height:"100%"},children:(0,QY.jsx)(Uno,{})})]})]})}var Hno=Z9r;var h$e=L(Se());var m$e=L(Se());var k9t=L(z());function J9r(t){let e=(0,m$e.useContext)(vy);Ce(e.layerFormStore),Ce(e.stackPhyPresetProfileStore);let i=l=>{e.stackPhyPresetProfileStore.initSelectedValue=l,e.layerPhyTableStore.clearTableData(),e.layerPhyTableStore.updateTableViewByLayerList(e.layerTableStore.allInnerStackSortIds),e.layerPhyFormStore.refreshStackThickness(),e.layerPhyTableStore.refreshLowerLimitIndex(),e.whenToggleStackPhyPresetSelected()},o=l=>{e.whenStackPhyPresetActionClicked(l)},r=e.layerFormStore.copperLayerSettingSelected,n=e.stackPhyPresetProfileStore.defaultSetting[String(r)],a=[...e.stackPhyPresetProfileStore.fixedList].map(l=>n&&l.title===n.name&&l.value!==e.stackPhyPresetProfileStore.blankOption.value?{...l,title:`${l.title}(${me.i18n("Default")})`}:{...l}),s=[...e.stackPhyPresetProfileStore.floatList].map(l=>n&&l.title===n.name?{...l,title:`${l.title}(${me.i18n("Default")})`}:{...l});return(0,k9t.jsx)("div",{style:{height:"100%",display:"flex",flexDirection:"column",justifyContent:"flex-start"},children:(0,k9t.jsx)(d$e,{containerStyle:{height:"28px"},fixedList:a,floatList:s,initSelectedValue:e.stackPhyPresetProfileStore.initSelectedValue,saveBtnDisabled:e.stackPhyPresetProfileStore.saveBtnDisabled,saveBtnTitle:e.stackPhyPresetProfileStore.saveBtnTitle,renameBtnDisabled:e.stackPhyPresetProfileStore.renameBtnDisabled,renameBtnTitle:e.stackPhyPresetProfileStore.renameBtnTitle,saveAsBtnDisabled:e.stackPhyPresetProfileStore.saveAsBtnDisabled,saveAsbtnTitle:e.stackPhyPresetProfileStore.saveAsbtnTitle,deleteBtnDisabled:e.stackPhyPresetProfileStore.deleteBtnDisabled,deleteBtnTitle:e.stackPhyPresetProfileStore.deleteBtnTitle,isSetToDefaultBtnShow:e.stackPhyPresetProfileStore.isSetToDefaultBtnShow,setToDefaultBtnDisabled:e.stackPhyPresetProfileStore.setToDefaultBtnDisabled,setToDefaultBtnTitle:e.stackPhyPresetProfileStore.setToDefaultBtnTitle,onTogglePresetSelected:i,onActionTagClicked:o})})}var Gno=m$e.default.memo(J9r);var pw=L(z());function q9r(t){let e=J(),{handleBtnEvent:i}=t,o=(0,h$e.useContext)(vy);return Ce(o.panelTabStore),Ce(o.dialogButtonsStore),(0,pw.jsxs)(pw.Fragment,{children:[o.panelTabStore.activeTab==="Layer Management"?(0,pw.jsxs)(pw.Fragment,{children:[(0,pw.jsx)(Me,{style:{marginRight:"8px",position:"absolute",left:0,top:0},onClick:()=>i("import"),children:e(o.dialogButtonsStore.importBtnTitle)}),(0,pw.jsx)(Me,{style:{marginRight:"8px",position:"absolute",left:"104px",top:0},onClick:()=>i("export"),children:e(o.dialogButtonsStore.exportBtnTitle)})]}):(0,pw.jsxs)(pw.Fragment,{children:[(0,pw.jsx)("div",{style:{height:"28px",width:"180px",position:"absolute",left:0,top:0},children:(0,pw.jsx)(Gno,{})}),(0,pw.jsx)(Me,{style:{marginRight:"8px",position:"absolute",left:"204px",top:0},onClick:()=>i("import"),children:e(o.dialogButtonsStore.importBtnTitle)}),(0,pw.jsx)(Me,{style:{marginRight:"8px",position:"absolute",left:"308px",top:0},onClick:()=>i("export"),children:e(o.dialogButtonsStore.exportBtnTitle)})]}),(0,pw.jsx)(Me,{type:"primary",style:{marginRight:"8px"},disabled:o.dialogButtonsStore.applyBtnDisabled,onClick:()=>i("apply"),children:e(o.dialogButtonsStore.applyBtnTitle)}),(0,pw.jsx)(Me,{type:"primary",style:{marginRight:"8px"},disabled:o.dialogButtonsStore.confirmBtnDisabled,onClick:()=>i("confirm"),children:e(o.dialogButtonsStore.confirmBtnTitle)}),(0,pw.jsx)(Me,{onClick:()=>i("cancel"),children:e(o.dialogButtonsStore.cancelBtnTitle)})]})}var Yno=h$e.default.memo(q9r);var x5=L(z()),{locals:sIe}=f$e.default,X9r=t=>{let e=J(),{containerId:i,dialogId:o,onDialogOpen:r,onDialogCancel:n,onDialogClose:a,onDialogConfirm:s,onDialogApply:l,onDialogClosed:c}=t,[d,u]=(0,KY.useState)(null),p=(0,KY.useRef)(null);p.current=d;let m=`fileInput${i}`,h=`pop-content-wrapper display-flex flex-nowrap ${sIe["main-container"]}`,f=`pop-footer-wrapper ${sIe["dialog-btns-wrapper"]}`,g=`${sIe["view-loading-wrapper"]}`,b=`${sIe["view-loading"]}`,y=`rotation ${sIe["view-loading-rotation"]}`,w=async S=>{let T=S.currentTarget,M=T.files[0];if(M){let I=new FileReader;I.readAsText(M),I.onload=async()=>{let A=I.result;try{let D=JSON.parse(A);await d.importFileProfile(D)}catch{Ot("error",Ti("Import layer manager config failed."),void 0,!0)}}}T.value=""},x=async S=>{let T=async()=>{let M=d.layerFormStore.copperLayerSettingSelected;if(M>=6){let I=await ei(),{message:A}=await C.windowBridge.rpcCall("getCopperLayersCount","",I.contentWindow);typeof A=="number"&&A!=M&&et("checkJLCPCBPersonCoupon")}};if(S==="import"){(0,Wno.default)(`#${m}`).trigger("click");return}if(S==="export"){d.dataEIStore.exportAsFile();return}if(S==="apply"){d.layerTableStore.updateDeactiveColorAplha();let{layerManagement:M,physicalStacking:I}=d.dataEIStore.createExoprtData(!0),A=d.layerColorPresetProfileStore.initSelectedValue;if(oIe(d.layerTableStore.tableData)){De({type:"error",msg:"Duplicate names exist in the layer list"});return}if(tIe(d.layerPhyTableStore.tableData)){De({type:"error",msg:"Duplicate names exist in the physical stacking list"});return}vo&&await T(),l&&(d.whenDialogInSubmittingStatus("apply"),await l({layerConfigArr:M,layerPhysConfigArr:I,pcbLayerSelectedName:A,layerPhyPerferenceConfig:d.stackPhyPresetProfileStore.layerPhyPerferenceConfig}));return}if(S==="confirm"){d.layerTableStore.updateDeactiveColorAplha();let{layerManagement:M,physicalStacking:I}=d.dataEIStore.createExoprtData(!0),A=d.layerColorPresetProfileStore.initSelectedValue;if(oIe(d.layerTableStore.tableData)){De({type:"error",msg:"Duplicate names exist in the layer list"});return}if(tIe(d.layerPhyTableStore.tableData)){De({type:"error",msg:"Duplicate names exist in the physical stacking list"});return}vo&&await T(),s&&(d.whenDialogInSubmittingStatus("confirm"),await s({layerConfigArr:M,layerPhysConfigArr:I,pcbLayerSelectedName:A,layerPhyPerferenceConfig:d.stackPhyPresetProfileStore.layerPhyPerferenceConfig})),a&&a(),le.close();return}S==="cancel"&&n&&n(),await oo({action:S,dialogId:o,formData:{}}),a&&a(),le.close()};return(0,KY.useEffect)(()=>{p.current&&p.current.dialogProps!==t&&p.current.whenWidgetsPropsUpdate(t)},[t]),(0,KY.useEffect)(()=>{let S=C.messageBus.subscribe("FinishedHandleLayerUpdate",()=>{p.current&&p.current.whenDialogExitSubmittingStatus()});return()=>{S&&S.cancel()}},[]),(0,KY.useLayoutEffect)(()=>(bno().then(S=>{u(S),S.whenWidgetsPropsUpdate(t,!0),r&&r()}),()=>{c&&c()}),[]),d?(0,x5.jsxs)("div",{className:"pop-content-container",children:[(0,x5.jsx)("style",{children:String(f$e.default)}),(0,x5.jsxs)(vy.Provider,{value:d,children:[(0,x5.jsxs)("div",{className:h,children:[(0,x5.jsx)(Hno,{...t}),(0,x5.jsx)("input",{id:m,type:"file",className:"hidden",accept:".json",onChange:w})]}),(0,x5.jsx)("div",{className:f,children:(0,x5.jsx)(Yno,{handleBtnEvent:x})})]})]}):(0,x5.jsxs)("div",{className:"pop-content-container",children:[(0,x5.jsx)("style",{children:String(f$e.default)}),(0,x5.jsx)("div",{className:g,children:(0,x5.jsx)("div",{className:b,children:(0,x5.jsx)("div",{className:y,children:(0,x5.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})]})},Qno=X9r;var Jno=L(z());async function Kno(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i,s=t;return le.open({id:o,title:r,width:n,closed:a,esc:!0,folded:!1,children:(0,Jno.jsx)(Qno,{containerId:o,dialogId:t.dialogId,...s})}),le}function Zno(t={}){let{action:e,dialogId:i,extra:o,fromType:r,maxLen:n}=t,a=o.layerPhyPerferenceConfig,s=o.panels||[],l=o.pcbLayerSelectedNameCache||"",c=s[0].layerList||[],d=s[1].layerPhyList||[];return{...t,pcbLayerSelectedNameCache:l,layerList:c,layerPhyList:d,layerPhyPerferenceConfig:a,onDialogOpen(){},async onDialogConfirm(u){let p={action:e,dialogId:i,layerConfigArr:u.layerConfigArr,layerPhysConfigArr:u.layerPhysConfigArr,pcbLayerSelectedName:u.pcbLayerSelectedName,layerPhyPerferenceConfig:u.layerPhyPerferenceConfig,upgraded:!0},m=Xi();C.windowBridge.publish("pcbdialogModify",p,m.contentWindow)},async onDialogApply(u){let p={action:e,dialogId:i,layerConfigArr:u.layerConfigArr,layerPhysConfigArr:u.layerPhysConfigArr,pcbLayerSelectedName:u.pcbLayerSelectedName,layerPhyPerferenceConfig:u.layerPhyPerferenceConfig,upgraded:!0},m=Xi();C.windowBridge.publish("pcbdialogModify",p,m.contentWindow)}}}var C$e=L(Se()),_9t=L(lIe());var cIe=[{text:"Fatal Error",value:"Fatal Error"},{text:"Error",value:"Error"},{text:"Warning",value:"Warning"},{text:"Note",value:"Note"},{text:"Ignore",value:"Ignore"}],b$e=(r=>(r[r["Fatal Error"]=0]="Fatal Error",r[r.Error=1]="Error",r[r.Warning=2]="Warning",r[r.Note=3]="Note",r[r.Ignore=4]="Ignore",r))(b$e||{}),dIe=["IN","OUT","BI","Passive","Open Collector","Open Emitter","Power","Ground","HIZ","Terminator","Undefined"],uIe={4:2,2:1,1:0,0:4};var Xno=[{title:"All Set To Ignore",cmd:"All Set To Ignore",iconClassName:"icon-eda-connect-ignore"},{title:"All Set To Warning",cmd:"All Set To Warning",iconClassName:"icon-eda-connect-warning"},{title:"All Set To Error",cmd:"All Set To Error",iconClassName:"icon-eda-connect-error"},{title:"All Set To Fatal Error",cmd:"All Set To Fatal Error",iconClassName:"icon-eda-connect-fatal-error"},{title:"Restore Default",cmd:"Restore Default"}];var P9t=class extends qe{constructor(){super(...arguments);this.displayData=new Map;this._activeTabKey="Net";this._forceIndex=0}get activeTabKey(){return this._activeTabKey}set activeTabKey(i){this._activeTabKey=i,this.notify()}get forceIndex(){return this._forceIndex}set forceIndex(i){this._forceIndex=i,this.notify()}async initDialog(){let i=(await C.messageBus.rpcCall("getDesignRuleDisplayData")).message;this.setDisplayData(i,!1)}closeDialog(){this.displayData.clear(),this._forceIndex=0,this._activeTabKey="Net"}setDisplayData(i,o=!0){let r=[],n=[],a=[],s=[];i.forEach(l=>{l.CheckSch==="Net"&&r.push(l),l.CheckSch==="Component"&&n.push(l),l.CheckSch==="Reuse Block"&&a.push(l),l.CheckSch==="Connection"&&s.push(l)}),this.displayData.set("Net",r),this.displayData.set("Component",n),this.displayData.set("Reuse Block",a),this.displayData.set("Connection",s),o&&this.notify()}},Xd=new P9t;var nE=L(Se()),$no=L(lIe());var eao=L(eC()),Hge=L(z()),$9r=be.bind($no.default.locals),ePr=()=>{let t=J();Ce(Xd);let e=(0,nE.useRef)(null),i=(0,nE.useMemo)(()=>cIe.filter(n=>n.value!=="Ignore"),[]),o=(0,nE.useMemo)(()=>[{key:"No",name:t("No."),width:.06,align:"center"},{key:"designRule",name:t("Design Rule"),width:.72},{key:"messageLevel",name:t("Message Level"),width:.22,render(n){let{row:a,setRowData:s}=n;return(0,Hge.jsx)(tPr,{value:a.messageLevel,list:i,onChange:l=>{s({rowIndex:a.rowUniqueFlag,colKey:this.key,value:l})}})}}],[]),r=(0,nE.useMemo)(()=>{let n=[];return Xd.displayData.size>0&&["Net","Component","Reuse Block"].includes(Xd.activeTabKey)&&(n=Xd.displayData.get(Xd.activeTabKey).map((a,s)=>({rowUniqueFlag:s+1+"#",No:s+1,checked:a.enforce,Checks:t(a.CheckSch),designRule:t(a.designRuleSch),messageLevel:cIe[a.level].value,CheckSch:a.CheckSch,designRuleSch:a.designRuleSch,RuleKey:a.RuleKey}))),n},[Xd.forceIndex,Xd.activeTabKey]);return(0,Hge.jsx)("div",{className:$9r("table-container"),ref:e,children:(0,Hge.jsx)(xi,{index:"rowUniqueFlag",columns:o,rows:r,border:!0,fixedHeader:!0,checkbox:!0,openRowHoverBgColor:!1,openRowSelectedBgColor:!1,onChange:n=>{Xd.displayData.set(Xd.activeTabKey,n.map(a=>({enforce:a.checked,RuleKey:a.RuleKey,level:Number(b$e[a.messageLevel]),CheckSch:a.CheckSch,designRuleSch:a.designRuleSch})))}})})},tPr=t=>{let{value:e,list:i,onChange:o}=t,r=be.bind(eao.default.locals),[n,a]=(0,nE.useState)(!1),s=J(),l=(0,nE.useRef)(null);(0,nE.useEffect)(()=>{let p=m=>{a&&m.target.closest("div.table-select-wrapper")!==l.current&&a(!1)};return document.addEventListener("pointerup",p),()=>{document.removeEventListener("pointerup",p)}},[]);function c(p){let m="";switch(p){case"Fatal Error":{m="icon-eda-fatal-error";break}case"Error":{m="icon-eda-error-1";break}case"Warning":{m="icon-eda-warning-2";break}case"Note":{m="messager-info";break}case"Ignore":break;default:m=""}return m}function d(p){return p.map(m=>(m.icon=c(m.value),m.iconStyle=u(m.value),m))}function u(p){return{filter:iPr(p),backgroundRepeat:"no-repeat",backgroundSize:"14px 14px",width:"14px",height:"14px",minWidth:"14px",minHeight:"14px",maxWidth:"14px",maxHeight:"14px",padding:"0",marginRight:"8px"}}return(0,Hge.jsx)("div",{className:"table-select-wrapper",ref:l,style:{width:"100%",height:"24px"},onClick:()=>{a(!0)},children:(0,Hge.jsx)(xt,{value:e,list:d(i),style:{width:"100%",height:"100%",border:"none",backgroundColor:"unset"},valueIcon:c(e),valueIconStyle:{...u(e),marginRight:"4px"},onChange:p=>{o(p),a(!1)}})})},tao=(0,nE.memo)(ePr);function iPr(t){let e="";switch(t){case"Fatal Error":{e="none";break}case"Error":{e="none";break}case"Warning":{e="none";break}case"Note":{e="invert(54%) sepia(0%) saturate(1%) hue-rotate(253deg) brightness(97%) contrast(92%)";break}case"Ignore":break;default:e=""}return e}var iao=L(Se()),oao=L(Vi()),rao=L(lIe());var kO=L(z()),oPr=be.bind(rao.default.locals),rPr=t=>{let{dialogId:e}=t,i=async()=>{let a=(await C.messageBus.rpcCall("setDefaultDesignRule")).message;Xd.setDisplayData(a,!1),Xd.forceIndex++},o=async()=>{let a=[];Xd.displayData.forEach(s=>{a=a.concat(s)}),await C.messageBus.rpcCall("saveDesignRule",{displayTableData:a}),Xd.closeDialog(),le.close(e)},r=()=>{zA((0,oao.default)("#designRuleCalibration"),async a=>{let s=(await C.messageBus.rpcCall("updateDesignRule",{designRule:a,updateGVars:!1})).message;Xd.setDisplayData(s,!1),Xd.forceIndex++})},n=async()=>{let a={};Xd.displayData.forEach(s=>{s.forEach(l=>{a[l.RuleKey]={level:l.level,enforce:l.enforce}})}),await C.messageBus.rpcCall("prevVeifyNowHandler",{prevVeifyNowHandlerData:a}),ii("verify-now","")};return(0,kO.jsxs)("div",{className:oPr("footer-container"),children:[(0,kO.jsxs)("div",{children:[(0,kO.jsx)(Me,{onClick:r,children:"Import Config"}),(0,kO.jsx)(Me,{style:{marginLeft:"8px"},onClick:async()=>{let a=(await C.messageBus.rpcCall("getCurrentDesignRule")).message;ya(JSON.stringify(a,null,2),"Config_DesignRule_SCH_"+ue.formatDate2(new Date,"yyyy-MM-dd")+".json")},children:"Export Config"})]}),(0,kO.jsxs)("div",{children:[(0,kO.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:i,children:"Restore Default"}),(0,kO.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:n,children:"Verify Now"}),(0,kO.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:o,children:"Confirm"}),(0,kO.jsx)(Me,{onClick:()=>{Xd.closeDialog(),le.close(e)},children:"Cancel"})]})]})},nao=(0,iao.memo)(rPr);var wz=L(Se()),cao=L(lIe());var yz=L(Se()),R9t=L(sao());var w$e=L(z()),lao=yz.forwardRef((t,e)=>{Ae(R9t.default);let{locals:i}=R9t.default,o=be.bind(i),{className:r,checked:n,disabled:a,onClick:s,onChange:l,onKeyDown:c,size:d="sm",...u}=t,[p,m]=yz.useState(n),h=yz.useRef(null);yz.useEffect(()=>{m(n)},[n]);function f(w,x){let S=p;return a||(S=w,m(S),l==null||l(S,x)),S}function g(w){w.key==="ArrowLeft"?f(!1,w):w.key==="ArrowRight"&&f(!0,w),c==null||c(w)}function b(w){let x=f(!p,w);s==null||s(x,w)}yz.useImperativeHandle(e,()=>({setInnerChecked:m}));let y=`${r||""} switch ${d} ${p?"checked":"un-checked"}`;return(0,w$e.jsx)("button",{...u,type:"button",role:"switch",disabled:a,className:o(y),ref:e,onKeyDown:g,onClick:b,children:(0,w$e.jsx)("span",{ref:h,className:o("icon-box"),children:(0,w$e.jsx)("i",{className:o("icon")})})})});lao.displayName="Switch";var Gge=lao;var Z0=L(z()),BM=be.bind(cao.default.locals),nPr=()=>{Ce(Xd);let t=ca(),e=J(),i=(0,wz.useRef)(null),o=(0,wz.useRef)(null),r=p=>{let m=[],h=[],f=[],g=[],b=[],y=[],w=[],x=[],S=[],T=[],M=[];return p.forEach((I,A)=>{A===0?m.push(I):A>0&&A<=2?h.push(I):A>2&&A<=5?f.push(I):A>5&&A<=9?g.push(I):A>9&&A<=14?b.push(I):A>14&&A<=20?y.push(I):A>20&&A<=27?w.push(I):A>27&&A<=35?x.push(I):A>35&&A<=44?S.push(I):A>44&&A<=54?T.push(I):M.push(I)}),[m,h,f,g,b,y,w,x,S,T,M]},n=(0,wz.useMemo)(()=>{let p=Xd.displayData.get("Connection");return(p==null?void 0:p.length)>0?r(p):[]},[Xd.forceIndex]),a=p=>{n.forEach(m=>{m.forEach(h=>{h.enforce=p})})},s=(p,m)=>{let h=Xd.displayData.get("Connection").find(f=>f.RuleKey===p);h.level=m,t()},l=(p,m)=>{n[p].forEach(h=>{h.level=m})},c=(p,m)=>{n.forEach(h=>{h.length>p&&(h[p].level=m)})},d=(p,m,h)=>{Au.open({data:Xno,position:{x:p.clientX,y:p.clientY},onClick:async f=>{let g=f==null?void 0:f.cmd;if(g)switch(g){case"All Set To Ignore":Kr(m)||l(m,4),Kr(h)||c(h,4),t();break;case"All Set To Warning":Kr(m)||l(m,2),Kr(h)||c(h,2),t();break;case"All Set To Error":Kr(m)||l(m,1),Kr(h)||c(h,1),t();break;case"All Set To Fatal Error":Kr(m)||l(m,0),Kr(h)||c(h,0),t();break;case"Restore Default":if(!i.current){let b=(await C.messageBus.rpcCall("setDefaultDesignRule")).message;i.current=b.filter(y=>y.CheckSch==="Connection")}Kr(m)||n[m].forEach(b=>{let y=i.current.find(w=>b.RuleKey===w.RuleKey);y&&y.level!==b.level&&(b.level=y.level)}),Kr(h)||n.forEach(b=>{if(b.length>h){let w=b[h],x=i.current.find(S=>w.RuleKey===S.RuleKey);x&&x.level!==w.level&&(w.level=x.level)}}),t();break;default:break}}})},u=(0,wz.useMemo)(()=>{var m;let p=!1;return((m=n[0])==null?void 0:m.length)>0&&(p=n[0][0].enforce),p},[Xd.forceIndex]);return(0,wz.useEffect)(()=>{o.current&&Xd.forceIndex!==0&&o.current.setInnerChecked(u)},[Xd.forceIndex]),(0,Z0.jsxs)("div",{className:BM("connection-container"),children:[(0,Z0.jsxs)("div",{className:BM("connection-left"),children:[(0,Z0.jsx)("span",{children:e("Pin Conflicts Detection")}),(0,Z0.jsx)(Gge,{style:{marginLeft:"8px"},checked:u,onChange:a,ref:o})]}),(0,Z0.jsx)("div",{className:BM("connection-right"),children:(0,Z0.jsx)("div",{className:BM("connection-right-content"),children:(n==null?void 0:n.length)>0&&n.map((p,m)=>{let h=p.length;return(0,Z0.jsx)("div",{className:BM("row-item"),children:p.map((f,g)=>m===0&&g===0?(0,Z0.jsx)(h$,{level:f.level,isNeedLeftTitle:!0,isNeedTopTitle:!0,leftTitle:dIe[m],topTitle:dIe[m],connectionItemClick:()=>{s(f.RuleKey,uIe[f.level])},leftTitleOnContextMenuClick:b=>{d(b,m,null)},topTitleOnContextMenuClick:b=>{d(b,null,m)}},f.RuleKey):g===0?(0,Z0.jsx)(h$,{level:f.level,isNeedLeftTitle:!0,leftTitle:dIe[m],connectionItemClick:()=>{s(f.RuleKey,uIe[f.level])},leftTitleOnContextMenuClick:b=>{d(b,m,null)}},f.RuleKey):g+1===h?(0,Z0.jsx)(h$,{level:f.level,isNeedTopTitle:!0,topTitle:dIe[m],connectionItemClick:()=>{s(f.RuleKey,uIe[f.level])},topTitleOnContextMenuClick:b=>{d(b,null,m)}},f.RuleKey):(0,Z0.jsx)(h$,{level:f.level,connectionItemClick:()=>{s(f.RuleKey,uIe[f.level])}},f.RuleKey))},`rowItem#${m}`)})})}),(0,Z0.jsxs)("div",{className:BM("connection-tip"),children:[(0,Z0.jsxs)("div",{className:BM("connection-tip-item"),children:[(0,Z0.jsx)(h$,{level:4,tipColorItem:!0}),(0,Z0.jsx)("span",{children:e("Ignore")})]}),(0,Z0.jsxs)("div",{className:BM("connection-tip-item"),children:[(0,Z0.jsx)(h$,{level:2,tipColorItem:!0}),(0,Z0.jsx)("span",{children:e("Warning")})]}),(0,Z0.jsxs)("div",{className:BM("connection-tip-item"),children:[(0,Z0.jsx)(h$,{level:1,tipColorItem:!0}),(0,Z0.jsx)("span",{children:e("Error")})]}),(0,Z0.jsxs)("div",{className:BM("connection-tip-item"),children:[(0,Z0.jsx)(h$,{level:0,tipColorItem:!0}),(0,Z0.jsx)("span",{children:e("Fatal Error")})]})]})]})},h$=t=>{let e=J(),{level:i,isNeedLeftTitle:o=!1,isNeedTopTitle:r=!1,tipColorItem:n=!1,leftTitle:a="",topTitle:s="",connectionItemClick:l,leftTitleOnContextMenuClick:c,topTitleOnContextMenuClick:d}=t;return(0,Z0.jsxs)("div",{className:BM("connection-item-container"),children:[(0,Z0.jsx)("div",{className:BM("connection-item",{"tip-color-item":n,ignore:i===4,warning:i===2,error:i===1,"fatal-error":i===0}),title:e(cIe[i].text),onClick:u=>{u.stopPropagation(),u.preventDefault(),l&&l()}}),o&&(0,Z0.jsx)("div",{className:BM("left-title"),onContextMenu:u=>{u.stopPropagation(),u.preventDefault(),c&&c(u)},onClick:u=>{u.stopPropagation(),u.preventDefault()},children:e({value:a,context:"pinType"})}),r&&(0,Z0.jsx)("div",{className:BM("top-title"),onContextMenu:u=>{u.stopPropagation(),u.preventDefault(),d&&d(u)},onClick:u=>{u.stopPropagation(),u.preventDefault()},children:e({value:s,context:"pinType"})}),r&&(0,Z0.jsx)("div",{className:BM("top-title-line")})]})},dao=(0,wz.memo)(nPr);var tse=L(z()),aPr=be.bind(_9t.default.locals),sPr=t=>{Ae(_9t.default),Ce(Xd);let{containerId:e}=t,i=(0,C$e.useMemo)(()=>[{key:"Net",title:"Net",dataTest:"Net",tabStyle:{width:"80px",padding:"5px 0",borderBottom:"1px solid var(--border-color-panel-tab)",backgroundColor:"var(--bg-color-tab)"}},{key:"Component",title:"Component",dataTest:"Component",tabStyle:{width:"80px",padding:"5px 0",borderBottom:"1px solid var(--border-color-panel-tab)",backgroundColor:"var(--bg-color-tab)"}},{key:"Reuse Block",title:"Reuse Block",dataTest:"Reuse Block",tabStyle:{width:"80px",padding:"5px 0",borderBottom:"1px solid var(--border-color-panel-tab)",backgroundColor:"var(--bg-color-tab)"}},{key:"Connection",title:"Connection",dataTest:"Connection",tabStyle:{width:"80px",padding:"5px 0",borderBottom:"1px solid var(--border-color-panel-tab)",backgroundColor:"var(--bg-color-tab)"}}],[]);return Bt(()=>{Xd.closeDialog()}).close(e),(0,tse.jsxs)("div",{className:aPr("container"),children:[(0,tse.jsx)(yl,{activeTabStyle:{backgroundColor:"var(--bg-color-selected-panel-tab)",borderBottom:"none"},tabsStyle:{margin:"0"},tabBoxStyle:{width:"320px",top:"1px",border:"1px solid var(--border-color-panel-tab)",borderBottom:"none"},lists:i,direction:"bottom",type:"normal",defaultActiveKey:Xd.activeTabKey,onClick:o=>{Xd.activeTabKey=o}}),["Net","Component","Reuse Block"].includes(Xd.activeTabKey)&&(0,tse.jsx)(tao,{}),Xd.activeTabKey==="Connection"&&(0,tse.jsx)(dao,{}),(0,tse.jsx)(nao,{dialogId:e})]})},uao=(0,C$e.memo)(sPr);var mao=L(z());async function pao(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,resize:d}=i;await Xd.initDialog(),le.open({id:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,children:(0,mao.jsx)(uao,{containerId:o})})}var Tao=L(Vi()),I$e=L(Se());var V9t=L(j9t());var wao=L(j9t());var gao={distanceTrack:{track:{level:-999999,enforce:!0,text:["distance","track","track"]},SMDPad:{level:-999999,enforce:!0,text:["distance","track","SMD Pad"]},THPad:{level:-999999,enforce:!0,text:["distance","track","TH Pad"]},SMDTestPoint:{level:-999999,enforce:!0,text:["distance","track","SMD Test Point"]},THTestPoint:{level:-999999,enforce:!0,text:["distance","track","TH Test Point"]},via:{level:-999999,enforce:!0,text:["distance","track","via"]},fillRegion:{level:-999999,enforce:!0,text:["distance","track","fill region"]},slot:{level:-999999,enforce:!0,text:["distance","track","slot region"]},line:{level:-999999,enforce:!0,text:["distance","track","line"]},textAndImage:{level:-999999,enforce:!0,text:["distance","track","text/image"]},outline:{level:-999999,enforce:!0,text:["distance","track","board outline"]},hole:{level:-999999,enforce:!0,text:["distance","track","Hole"]}},distanceSMDPad:{SMDPad:{level:-999999,enforce:!0,text:["distance","SMD Pad","SMD Pad"]},THPad:{level:-999999,enforce:!0,text:["distance","SMD Pad","TH Pad"]},SMDTestPoint:{level:-999999,enforce:!0,text:["distance","SMD Pad","SMD Test Point"]},THTestPoint:{level:-999999,enforce:!0,text:["distance","SMD Pad","TH Test Point"]},via:{level:-999999,enforce:!0,text:["distance","SMD Pad","via"]},fillRegion:{level:-999999,enforce:!0,text:["distance","SMD Pad","fill region"]},slot:{level:-999999,enforce:!0,text:["distance","SMD Pad","slot region"]},line:{level:-999999,enforce:!0,text:["distance","SMD Pad","line"]},textAndImage:{level:-999999,enforce:!0,text:["distance","SMD Pad","text/image"]},outline:{level:-999999,enforce:!0,text:["distance","SMD Pad","board outline"]},hole:{level:-999999,enforce:!0,text:["distance","SMD Pad","Hole"]}},distanceTHPad:{THPad:{level:-999999,enforce:!0,text:["distance","TH Pad","TH Pad"]},SMDTestPoint:{level:-999999,enforce:!0,text:["distance","TH Pad","SMD Test Point"]},THTestPoint:{level:-999999,enforce:!0,text:["distance","TH Pad","TH Test Point"]},via:{level:-999999,enforce:!0,text:["distance","TH Pad","via"]},fillRegion:{level:-999999,enforce:!0,text:["distance","TH Pad","fill region"]},slot:{level:-999999,enforce:!0,text:["distance","TH Pad","slot region"]},line:{level:-999999,enforce:!0,text:["distance","TH Pad","line"]},textAndImage:{level:-999999,enforce:!0,text:["distance","TH Pad","text/image"]},outline:{level:-999999,enforce:!0,text:["distance","TH Pad","board outline"]},hole:{level:-999999,enforce:!0,text:["distance","TH Pad","Hole"]}},distanceSMD_Test_Point:{SMDTestPoint:{level:-999999,enforce:!0,text:["distance","SMD Test Point","SMD Test Point"]},THTestPoint:{level:-999999,enforce:!0,text:["distance","SMD Test Point","TH Test Point"]},via:{level:-999999,enforce:!0,text:["distance","SMD Test Point","via"]},fillRegion:{level:-999999,enforce:!0,text:["distance","SMD Test Point","fill region"]},slot:{level:-999999,enforce:!0,text:["distance","SMD Test Point","slot region"]},line:{level:-999999,enforce:!0,text:["distance","SMD Test Point","line"]},textAndImage:{level:-999999,enforce:!0,text:["distance","SMD Test Point","text/image"]},outline:{level:-999999,enforce:!0,text:["distance","SMD Test Point","board outline"]},hole:{level:-999999,enforce:!0,text:["distance","SMD Test Point","Hole"]}},distanceTH_Test_Point:{THTestPoint:{level:-999999,enforce:!0,text:["distance","TH Test Point","TH Test Point"]},via:{level:-999999,enforce:!0,text:["distance","TH Test Point","via"]},fillRegion:{level:-999999,enforce:!0,text:["distance","TH Test Point","fill region"]},slot:{level:-999999,enforce:!0,text:["distance","TH Test Point","slot region"]},line:{level:-999999,enforce:!0,text:["distance","TH Test Point","line"]},textAndImage:{level:-999999,enforce:!0,text:["distance","TH Test Point","text/image"]},outline:{level:-999999,enforce:!0,text:["distance","TH Test Point","board outline"]},hole:{level:-999999,enforce:!0,text:["distance","TH Test Point","Hole"]}},distanceVia:{via:{level:-999999,enforce:!0,text:["distance","via","via"]},fillRegion:{level:-999999,enforce:!0,text:["distance","via","fill region"]},slot:{level:-999999,enforce:!0,text:["distance","via","slot region"]},line:{level:-999999,enforce:!0,text:["distance","via","line"]},textAndImage:{level:-999999,enforce:!0,text:["distance","via","text/image"]},outline:{level:-999999,enforce:!0,text:["distance","via","board outline"]},hole:{level:-999999,enforce:!0,text:["distance","via","Hole"]}},distanceFillRegion:{fillRegion:{level:-999999,enforce:!0,text:["distance","fill region","fill region"]},slot:{level:-999999,enforce:!0,text:["distance","fill region","slot region"]},line:{level:-999999,enforce:!0,text:["distance","fill region","line"]},textAndImage:{level:-999999,enforce:!0,text:["distance","fill region","text/image"]},outline:{level:-999999,enforce:!0,text:["distance","fill region","board outline"]},hole:{level:-999999,enforce:!0,text:["distance","fill region","Hole"]}},distanceSlot:{slot:{level:-999999,enforce:!0,text:["distance","slot region","slot region"]},line:{level:-999999,enforce:!0,text:["distance","slot region","line"]},textAndImage:{level:-999999,enforce:!0,text:["distance","slot region","text/image"]},outline:{level:-999999,enforce:!0,text:["distance","slot region","board outline"]},hole:{level:-999999,enforce:!0,text:["distance","slot region","Hole"]}},distanceLine:{line:{level:-999999,enforce:!0,text:["distance","line","line"]},textAndImage:{level:-999999,enforce:!0,text:["distance","line","text/image"]},outline:{level:-999999,enforce:!0,text:["distance","line","board outline"]},hole:{level:-999999,enforce:!0,text:["distance","line","Hole"]}},distanceTextImage:{textAndImage:{level:-999999,enforce:!0,text:["distance","text/image","text/image"]},outline:{level:-999999,enforce:!0,text:["distance","text/image","board outline"]},hole:{level:-999999,enforce:!0,text:["distance","text/image","Hole"]}},distanceHole:{outline:{level:-999999,enforce:!0,text:["distance","Hole","board outline"]},hole:{level:-999999,enforce:!0,text:["distance","Hole","Hole"]}},distanceComponent:{component:{level:-999999,enforce:!0,text:["distance","component","component"]},SMDPad:{level:-999999,enforce:!0,text:["distance","TH Pad","SMD component"]}},distancePlaneZone:{track:{level:-999999,enforce:!0,text:["distance","Plane zone","track"]},SMDPad:{level:-999999,enforce:!0,text:["distance","Plane zone","SMD Pad"]},THPad:{level:-999999,enforce:!0,text:["distance","Plane zone","TH Pad"]},SMDTestPoint:{level:-999999,enforce:!0,text:["distance","Plane zone","SMD Test Point"]},THTestPoint:{level:-999999,enforce:!0,text:["distance","Plane zone","TH Test Point"]},via:{level:-999999,enforce:!0,text:["distance","Plane zone","via"]},fillRegion:{level:-999999,enforce:!0,text:["distance","Plane zone","fill region"]},planeZone:{level:-999999,enforce:!0,text:["distance","Plane zone","Plane zone"]},slot:{level:-999999,enforce:!0,text:["distance","Plane zone","slot region"]},line:{level:-999999,enforce:!0,text:["distance","Plane zone","line"]},textAndImage:{level:-999999,enforce:!0,text:["distance","Plane zone","text/image"]},outline:{level:-999999,enforce:!0,text:["distance","Plane zone","board outline"]},hole:{level:-999999,enforce:!0,text:["distance","Plane zone","Hole"]}},distanceCopper:{track:{level:-999999,enforce:!0,text:["distance","copper zone","track"]},SMDPad:{level:-999999,enforce:!0,text:["distance","copper zone","SMD Pad"]},THPad:{level:-999999,enforce:!0,text:["distance","copper zone","TH Pad"]},SMDTestPoint:{level:-999999,enforce:!0,text:["distance","copper zone","SMD Test Point"]},THTestPoint:{level:-999999,enforce:!0,text:["distance","copper zone","TH Test Point"]},via:{level:-999999,enforce:!0,text:["distance","copper zone","via"]},fillRegion:{level:-999999,enforce:!0,text:["distance","copper zone","fill region"]},copper:{level:-999999,enforce:!0,text:["distance","copper zone","Copper zone"]},slot:{level:-999999,enforce:!0,text:["distance","copper zone","slot region"]},line:{level:-999999,enforce:!0,text:["distance","copper zone","line"]},textAndImage:{level:-999999,enforce:!0,text:["distance","copper zone","text/image"]},outline:{level:-999999,enforce:!0,text:["distance","copper zone","board outline"]},hole:{level:-999999,enforce:!0,text:["distance","copper zone","Hole"]}},..._t?{"Creepage Distance":{Creepage:{level:-999999,enforce:!0,text:"Creepage distance between an object and other objects"}}}:{},distanceSameComponentItem:{distanceSameComponentItem:{level:-999999,enforce:!0,text:"The distance between two objects in the same footprint violates the DRC value"}}};var B9t="pcbDRCCustomConfig",z9t="pcbDRCCustomConfig",lPr={...gao,prohibitRegionRule:{overlapWithOtherObject:{level:-999999,enforce:!0,text:"Prohibited region and other object overlap"}},trackRule:{minTrackWidth:{level:-999999,enforce:!0,text:"Track width min"},maxTrackWidth:{level:-999999,enforce:!0,text:"Track width max"}},netLength:{minLength:{level:-999999,enforce:!0,text:"Net length min"},maxLength:{level:-999999,enforce:!0,text:"Net length max"}},netLengthTolerance:{tolerance:{level:-999999,enforce:!0,text:"Net length tolerance"}},holeSize:{minViaSize:{level:-999999,enforce:!0,text:"Via size min"},maxViaSize:{level:-999999,enforce:!0,text:"Via size max"}},connect:{sameNetNotConnect:{level:-999999,enforce:!0,text:"Object is disconnected from other object of the same network"},checkFreeCopper:{level:-999999,enforce:!0,text:"Free copper region"},checkFreeTrack:{level:-999999,enforce:!0,text:"Free track"},checkFreeLine:{level:-999999,enforce:!0,text:"Free line"},checkFreeFillRegion:{level:-999999,enforce:!0,text:"Free fill region"}},diff:{minWidth:{level:-999999,enforce:!0,text:"Differential pair track width min"},maxWidth:{level:-999999,enforce:!0,text:"Differential pair track width max"},minGap:{level:-999999,enforce:!0,text:"Differential pair spacing min"},maxLengthTolerance:{level:-999999,enforce:!0,text:"Differential pair length tolerance max"}},schematicNetlist:{netList:{level:-999999,enforce:!0,text:"There is a difference between the netlist of the schematic under the same board"}}},Yge=lPr;function T$e(){let t=J();return e=>{let i={context:z9t,value:"",options:[]};return typeof e=="string"?i.value=e:(i.value=e.value,i.options=e.options,e.notTranslateOptions||(i.options=e.options.map(o=>t({context:z9t,value:o})))),t(i)}}function bao(t){if(typeof t=="string")return t;if(Array.isArray(t)&&t[0]=="distance"){let[e,i,o]=t;return i=i[0].toUpperCase()+i.slice(1),{value:"{0} to {1} distance",options:[i,o]}}}function yao(t){let e="";switch(t){case"distanceTrack":e="Track";break;case"distanceSMDPad":e="SMD Pad";break;case"distanceTHPad":e="TH Pad";break;case"distanceSMD_Test_Point":e="SMD Test Point";break;case"distanceTH_Test_Point":e="TH Test Point";break;case"distanceVia":e="Via";break;case"distanceFillRegion":e="Fill Region";break;case"distanceSlot":e="Slot Region";break;case"distanceLine":e="Line";break;case"distanceTextImage":e="Text/Image";break;case"distanceHole":e="Hole";break;case"distanceComponent":e="Component";break;case"distanceCopper":e="Copper Zone";break;case"distancePlaneZone":e="Plane Zone";break}if(e)return{value:"{0} Spacing",options:[e]};switch(t){case"distanceSameComponentItem":return"Clearance Error in the same footprint";case"prohibitRegionRule":return"Prohibited Region";case"trackRule":return"Track";case"netLength":return"Net Length Range";case"netLengthTolerance":return"Net Length Tolerance";case"holeSize":return"Hole Size";case"connect":return"Connection";case"diff":return"Differential Pair";case"schematicNetlist":return"Schematic Netlist";case"Creepage Distance":return"Creepage Distance"}return t}var F9t=L(z()),{locals:cPr}=wao.default,dPr=be.bind(cPr),Cao=t=>{let{drcTableRows:e,onCheckRowChange:i}=t,o=T$e(),r=[{key:"index",name:o("No."),width:.06},{key:"type",name:o("Checks"),width:.17,onCell:(n,a)=>{let s=0,l=n.classifyRecord.type;if(a===0||l!==e[a-1].classifyRecord.type)for(let c=a;c<e.length&&l===e[c].classifyRecord.type;c++)s++;return{rowSpan:s,style:{background:"var(--common-bg-color)"}}}},{key:"rule",name:o("Design Rule"),width:.77}];return(0,F9t.jsx)("div",{className:dPr("drc-custom-config-table-wrap"),style:{height:"100%"},children:(0,F9t.jsx)(xi,{index:"index",columns:r,rows:e,selectedRowNumbers:[null],checkbox:!0,stockade:!0,border:!0,height:506,openRowSelectedBgColor:!1,onCheckRow:n=>{let a=new Set(n.map(s=>s.index));i(a)}})})};function pIe(t,e){e=e||{};let i={};for(let o of Object.keys(t)){let r=t[o],n=e[o];i[o]={};for(let a of Object.keys(r)){let s=r[a];if(i[o][a]={...s},n&&typeof n=="object"){let l=n[a];l&&!isNaN(l.level)&&typeof l.level=="number"&&(i[o][a]={...i[o][a],level:l.level,enforce:!!l.enforce})}}}return i}async function xao(t){return mt.setCacheObj(B9t,t),await mt.saveToServer(),t}function S$e(){let t=M$e();return t||(t=pIe(Yge,{})),t}function M$e(){return mt.getCacheObj(B9t)}var Cz=L(z()),{locals:uPr}=V9t.default,U9t=be.bind(uPr),pPr=t=>{let{dialogId:e,containerId:i}=t;Ae(V9t.default);let o=T$e(),r=m=>{let h=[];for(let f of Object.keys(m)){let g=m[f],b=o(yao(f));Object.keys(g).forEach(y=>{var A;let{enforce:w,level:x}=g[y],S=(A=Yge[f][y])==null?void 0:A.text,T=o(bao(S)),I={classifyRecord:{type:f,key:y},level:x,checked:w,index:h.length+1,type:b,rule:T};h.push(I)})}return h},n=(0,I$e.useMemo)(()=>{let m=pIe(Yge,M$e());return{drcTableRows:r(m)}},[]),[a,s]=(0,I$e.useState)(n),l=m=>{s(h=>({...h,...m}))},c=m=>{let h={};for(let f of m){let{type:g,key:b}=f.classifyRecord;h[g]=h[g]||{},h[g][b]={level:f.level,enforce:f.checked}}return h},d=async m=>{switch(String(m)){case"checkNow":{let h=c(a.drcTableRows);JSON.stringify(M$e())!==JSON.stringify(h)&&xao(h);let f=await ei();await C.windowBridge.rpcCall("updateDRCCustomConfig",h,f.contentWindow),et("checkDRC",{isOpenDRCCustomCheck:!0}),u();break}case"exportSetting":{let h="Config_DRC_Custom_PCB_"+ue.formatDate(new Date,"yyyy-MM-dd")+".json",f=c(a.drcTableRows);ya(JSON.stringify(f,null,2),h);break}case"importSetting":{zA((0,Tao.default)(document.body),h=>{let f=pIe(Yge,c(a.drcTableRows)),g=pIe(f,h);l({drcTableRows:r(g)})});break}case"cancel":{u();break}}},u=()=>{le.close(i)};Bt(m=>{m&&m.code==="Escape"&&d("cancel")}).keyboard(i),Bt(()=>{d("cancel")}).close(i);let p=U9t("pop-content-container");return(0,Cz.jsxs)("div",{className:p,style:{height:"100%"},children:[(0,Cz.jsx)("div",{className:U9t("pop-content-wrapper"),children:(0,Cz.jsx)(Cao,{drcTableRows:a.drcTableRows,onCheckRowChange:m=>{a.drcTableRows.forEach(f=>f.checked=m.has(f.index))}})}),(0,Cz.jsxs)("div",{className:U9t("pop-footer-wrapper"),children:[(0,Cz.jsx)(Me,{"data-test":"importSetting",style:{marginRight:"8px"},onClick:()=>d("importSetting"),children:"Import Setting"}),(0,Cz.jsx)(Me,{"data-test":"exportSetting",style:{marginRight:"8px"},onClick:()=>d("exportSetting"),children:"Export Setting"}),(0,Cz.jsx)(Me,{"data-test":"checkNow",type:"primary",style:{marginLeft:"auto",marginRight:"8px"},onClick:()=>d("checkNow"),children:"Check Now"}),(0,Cz.jsx)(Me,{"data-test":"cancel",onClick:()=>d("cancel"),children:"Cancel"})]})]})},Sao=pPr;var Iao=L(z());async function Mao(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;return le.open({id:o,title:r,width:n,height:a,closed:s,esc:!0,folded:!1,children:(0,Iao.jsx)(Sao,{containerId:o,dialogId:t.dialogId})}),{origin:"react"}}var D$e=L(Se());var K9t=L(mIe());var mPr="batchFanout";function ZY(){let t=J();return(e,i=mPr)=>t({context:i,value:e,options:[]})}var H9t={operationType:"Add",fanoutType:"BGA",bgaFanoutDirect:"45",viaPadSpacingType:"PadCenter",viaPadSpacing:10,minChannelSpace:10,includeNoNet:!1,fanoutOuter2Rows:!0,ignoreDRC:!0,track:{widthRuleType:"FollowRule",width:0},via:{type:"Through",blindName:"",sizeType:"FollowRule",outsideDiameter:0,insideDiameter:0},unit:"mil",viaLayerOptions:[],blindRuleOptions:[],defaultTrackRule:null,defaultViaSizeRule:null,blindViaRules:[]},G9t=ue.deepClone(H9t);function Aao(t){G9t=t}var W9t=L(Se()),kao=L(mIe());var Nao=L(mIe()),Y9t=L(z()),{locals:yPr}=Nao.default,QOc=be.bind(yPr),v$e=t=>{let e=ZY(),i=t.title?e(t.title):"";return(0,Y9t.jsx)(FA,{...t,title:i,titleStyle:{left:25,padding:"0 10px",...t.titleStyle},contentStyle:{paddingLeft:32,paddingRight:32,...t.contentStyle}})},mw=t=>{let e=ZY(),i=t.title?e(t.title):"";return(0,Y9t.jsx)(Wv,{...t,title:i,style:{width:"45%",...t.style},titleStyle:{width:92,...t.titleStyle},contentStyle:{overflow:"inherit"}})};function ise(t,e,i){return e=+e,isNaN(e)||e<=0?+t:$I(e,i,i)}function $I(t,e,i){return ue.unitConversion.conversion1(e,i,+t)}function JY(t,e,i){return t=+t,e[1]==="i"&&i[0]==="m"&&i[1]==="m"?ue.unitConversion.mil2mm(t):e[0]==="m"&&e[1]==="m"&&i[1]==="i"?ue.unitConversion.mm2mil(t):ue.unitConversion.conversion1(e,i,t)}var O1=L(z()),{locals:wPr}=kao.default,qY=be.bind(wPr),Pao=t=>{let{formData:e,updateFormData:i}=t,o=ZY(),{unit:r}=e,[n,a]=(0,W9t.useState)(e.viaPadSpacing),[s,l]=(0,W9t.useState)(e.minChannelSpace),c=e.operationType==="Remove",d=(b=e.fanoutType)=>["Inward","Outward","OutOrIn"].includes(b),u=(b=e.fanoutType)=>b==="BGA",p=!d()&&e.viaPadSpacingType==="PadCenter",m=16,h=80,f="55%",g=qY("display-flex flex-lateral-axis-center");return(0,O1.jsxs)(v$e,{title:"Fanout Option",children:[(0,O1.jsx)(mw,{title:"Operation Type",children:(0,O1.jsx)($i,{dataTest:"operationType",value:e.operationType,translate:o,gap:0,className:qY("radio-group"),subRadioClassName:qY("radio"),options:["Add","Remove"],onChange:b=>i({operationType:b})})}),(0,O1.jsxs)("div",{className:g,children:[(0,O1.jsx)(mw,{title:"Fanout Type",style:{flexShrink:0,marginTop:0,marginBottom:0},children:(0,O1.jsx)(xt,{dataTest:"fanoutType",value:e.fanoutType,disabled:c,className:qY("select"),list:[{value:"BGA",text:"BGA"},{value:"ViaInPad",text:o("Via in Pad")},{value:"Top",text:o("Top")},{value:"Bottom",text:o("Bottom")},{value:"Left",text:o("Left")},{value:"Right",text:o("Right")},{value:"UpperLeft",text:o("Upper Left")},{value:"LowerLeft",text:o("Lower Left")},{value:"UpperRight",text:o("Upper Right")},{value:"LowerRight",text:o("Lower Right")},{value:"Outward",text:o("Outward")},{value:"Inward",text:o("Inward")},{value:"OutOrIn",text:o("Out/In")}],onChange:b=>{i({fanoutType:b})}})}),(0,O1.jsx)(mw,{title:"Fanout Direction",hidden:!u(),style:{width:f,marginLeft:m,marginTop:0,marginBottom:0},titleStyle:{width:h},children:(0,O1.jsx)(xt,{dataTest:"bgaFanoutDirect",value:e.bgaFanoutDirect,disabled:c,className:qY("select select-large"),list:[{value:"45",text:"45\xB0"},{value:"90",text:"90\xB0"}],onChange:b=>{i({bgaFanoutDirect:b})}})})]}),(0,O1.jsxs)("div",{className:g,children:[(0,O1.jsx)(mw,{title:"Via - Pad Spacing",hidden:d(),style:{flexShrink:0,marginBottom:0},children:(0,O1.jsx)($i,{dataTest:"viaPadSpacingType",value:e.viaPadSpacingType,disabled:c,translate:o,gap:0,className:qY("radio-group"),subRadioClassName:qY("radio"),options:[{value:"PadCenter",label:"Pad Center"},{value:"Custom",label:"Custom"}],onChange:b=>{if(b==="Custom"){let y=$I(H9t.viaPadSpacing,"mil",r);a(y),i({viaPadSpacingType:b,viaPadSpacing:y});return}i({viaPadSpacingType:b})}})}),(0,O1.jsxs)(mw,{title:d()?"Via - Pad Spacing":"",style:{...d()?{}:{width:f},marginBottom:0},titleStyle:d()?{}:{width:h+16},children:[(0,O1.jsx)(Kt,{dataTest:"viaPadSpacing",value:p?"":n.toString(),className:qY("input"),disabled:c||p,onChange:b=>a(b),onBlur:()=>{let b=ise(e.viaPadSpacing,n,r);a(b),i({viaPadSpacing:b})}}),(0,O1.jsx)("span",{style:{marginLeft:5},children:r})]}),(0,O1.jsxs)(mw,{title:"Min Channel Space",hidden:!d(),style:{marginLeft:m,marginBottom:0},titleStyle:{width:h},children:[(0,O1.jsx)(Kt,{dataTest:"minChannelSpace",value:s.toString(),disabled:c,className:qY("input"),onChange:b=>l(b),onBlur:()=>{let b=s==0?s:ise(e.minChannelSpace,s,r);l(b),i({minChannelSpace:b})}}),(0,O1.jsx)("span",{style:{marginLeft:5},children:r})]})]}),(0,O1.jsxs)("div",{className:g,children:[(0,O1.jsx)(mw,{hiddenTitle:!0,style:{marginBottom:0},children:(0,O1.jsx)(qt,{dataTest:"includeNoNet",checked:e.includeNoNet,disabled:c,translate:o,onChange:b=>i({includeNoNet:b}),children:"Include Unassigned Pins"})}),(0,O1.jsx)(mw,{hiddenTitle:!0,hidden:!u(),style:{marginLeft:m,marginBottom:0},children:(0,O1.jsx)(qt,{dataTest:"fanoutOuter2Rows",checked:e.fanoutOuter2Rows,disabled:c,translate:o,onChange:b=>i({fanoutOuter2Rows:b}),children:"Fanout Outer 2 Rows of Pads"})})]}),(0,O1.jsx)(mw,{hiddenTitle:!0,children:(0,O1.jsx)(qt,{dataTest:"ignoreDRC",checked:e.ignoreDRC,disabled:c,translate:o,onChange:b=>i({ignoreDRC:b}),children:"Ignore DRC When Fanning Out"})})]})};var Wge=L(Se()),Oao=L(mIe());var pg=L(z());var{locals:CPr}=Oao.default,PO=be.bind(CPr),Rao=t=>{let{formData:e,updateFormData:i}=t,{unit:o}=e,r=ZY(),{via:n,defaultViaSizeRule:a}=e,s=(N,R)=>{switch(N){case"viaType":R.type==="Blind"?l(n.blindName):(n.insideDiameter=e.defaultViaSizeRule.defaultInnerDiameter,n.outsideDiameter=e.defaultViaSizeRule.defaultDiameter);break;case"blindName":l(R.blindName);break}i({via:{...n,...R}})},l=N=>{for(let R of e.blindViaRules)if(R.blindViaName===N){n.insideDiameter=R.ViaSizeRule.defaultInnerDiameter,n.outsideDiameter=R.ViaSizeRule.defaultDiameter;return}n.insideDiameter=e.defaultViaSizeRule.defaultInnerDiameter,n.outsideDiameter=e.defaultViaSizeRule.defaultDiameter},{track:c,defaultTrackRule:d}=e,u=N=>{i({track:{...c,...N}})},[p,m]=(0,Wge.useState)(c.width),[h,f]=(0,Wge.useState)(n.outsideDiameter),[g,b]=(0,Wge.useState)(n.insideDiameter),y=e.operationType==="Remove",w=n.type==="Blind",x=n.sizeType==="FollowRule",S=c.widthRuleType==="FollowRule",T=(0,Wge.useMemo)(()=>{if(w){let N=e.blindRuleOptions,R=new Map(e.viaLayerOptions.map(v=>[v.value,v.text]));return N.map(v=>{let k=`${v.text}(${R.get(v.startLayerId)}-${R.get(v.endLayerId)})`;return{value:v.value,text:k}})}return[]},[n.type,n.blindName,e.blindRuleOptions]),M=()=>{Dt({content:"Can not change to Blind/Buried Via, please add Blind/Buried Via rule at Design Rule first.",confirmText:"Design Rule",cancelText:"Cancel",showCancel:!0,onConfirm:N=>{if(N){let R=Xi();C.windowBridge.publish("DesignRuler",{activeTab:"Rule",activeMenu:"Blind/Buried Via"},R.contentWindow)}}})},I=16,A=80,D="55%",E=PO("display-flex flex-lateral-axis-center");return(0,pg.jsxs)(v$e,{title:"Track Via Property",children:[(0,pg.jsxs)("div",{className:E,children:[(0,pg.jsx)(mw,{title:"Track Width",style:{},children:(0,pg.jsx)($i,{dataTest:"trackWidthRuleType",value:c.widthRuleType,disabled:y,translate:r,gap:0,className:PO("radio-group"),subRadioClassName:PO("radio"),options:[{value:"FollowRule",label:"Follow Rule"},{value:"Custom",label:"Custom"}],onChange:N=>{if(N==="Custom"){let R=d.defaultWidth;m(R),u({width:R,widthRuleType:N})}else u({widthRuleType:N})}})}),(0,pg.jsxs)(mw,{style:{width:D},titleStyle:{width:A+16},children:[(0,pg.jsx)(Kt,{dataTest:"trackWidth",value:S?d.defaultWidth.toString():p.toString(),className:PO("input"),disabled:y||S,onChange:N=>m(N),onBlur:()=>{let N=ise(c.width,p,o);m(N),u({width:N})}}),(0,pg.jsx)("span",{style:{marginLeft:5},children:o})]})]}),(0,pg.jsxs)("div",{className:E,children:[(0,pg.jsx)(mw,{title:"Via",style:{marginTop:0,marginBottom:0},children:(0,pg.jsx)($i,{dataTest:"viaType",value:n.type,disabled:y,gap:0,className:PO("radio-group"),subRadioClassName:PO("radio"),options:[{value:"Through",label:"Through Via"},{value:"Blind",label:"Blind Via"}],onChange:N=>{if(N==="Blind"&&e.blindRuleOptions.length===0){M();return}s("viaType",{type:N})}})}),(0,pg.jsx)(mw,{style:{width:D,marginTop:0,marginBottom:0},titleStyle:{width:A+16},children:(0,pg.jsx)(xt,{dataTest:"blindName",value:n.blindName,className:PO("select"),disabled:y||!w,list:T,onChange:N=>s("blindName",{blindName:N})})})]}),(0,pg.jsx)(mw,{title:"Via Size",children:(0,pg.jsx)($i,{dataTest:"viaSizeType",value:n.sizeType,disabled:y,gap:0,className:PO("radio-group"),subRadioClassName:PO("radio"),options:[{value:"FollowRule",label:"Follow Rule"},{value:"Custom",label:"Custom"}],onChange:N=>{if(N==="Custom"){let{defaultDiameter:R,defaultInnerDiameter:v}=a;f(R),b(v),s("viaSizeType",{sizeType:N,outsideDiameter:R,insideDiameter:v});return}s("viaSizeType",{sizeType:N})}})}),(0,pg.jsxs)("div",{className:E,style:{paddingLeft:"92px"},children:[(0,pg.jsxs)(mw,{title:"Outer Diameter",titleStyle:{width:"46px"},style:{marginTop:0},children:[(0,pg.jsx)(Kt,{dataTest:"outsideDiameter",value:x?n.outsideDiameter.toString():h.toString(),className:PO("input"),disabled:y||x,onChange:N=>f(N),onBlur:()=>{let N=ise(n.outsideDiameter,h,o);f(N),s("size",{outsideDiameter:N})}}),(0,pg.jsx)("span",{style:{marginLeft:5},children:o})]}),(0,pg.jsxs)(mw,{title:"Inner Diameter",titleStyle:{width:"46px"},style:{marginLeft:I,marginTop:0},children:[(0,pg.jsx)(Kt,{dataTest:"insideDiameter",value:x?n.insideDiameter.toString():g.toString(),className:PO("input"),disabled:y||x,onChange:N=>b(N),onBlur:()=>{let N=ise(n.insideDiameter,g,o);b(N),s("size",{insideDiameter:N})}}),(0,pg.jsx)("span",{style:{marginLeft:5},children:o})]})]})]})};var xz=L(z()),{locals:xPr}=K9t.default,Q9t=be.bind(xPr),TPr=t=>{let{dialogId:e,containerId:i,pcbData:o}=t;Ae(K9t.default);let r=ZY(),n=(h,f,g,b=!0)=>{if(!b){h.viaPadSpacing=JY(h.viaPadSpacing,f,g),h.minChannelSpace=JY(h.minChannelSpace,f,g),h.track.width=JY(h.track.width,f,g),h.via.outsideDiameter=JY(h.via.outsideDiameter,f,g),h.via.insideDiameter=JY(h.via.insideDiameter,f,g);let x=h.defaultTrackRule,S=h.defaultViaSizeRule;return x.defaultWidth=JY(x.defaultWidth,"mil",g),S.defaultDiameter=JY(S.defaultDiameter,"mil",g),S.defaultInnerDiameter=JY(S.defaultInnerDiameter,"mil",g),!0}h.viaPadSpacing=$I(h.viaPadSpacing,f,g),h.minChannelSpace=$I(h.minChannelSpace,f,g),h.track.width=$I(h.track.width,f,g),h.via.outsideDiameter=$I(h.via.outsideDiameter,"mil",g),h.via.insideDiameter=$I(h.via.insideDiameter,"mil",g);let y=h.defaultTrackRule,w=h.defaultViaSizeRule;y.defaultWidth=$I(y.defaultWidth,"mil",g),w.defaultDiameter=$I(w.defaultDiameter,"mil",g),w.defaultInnerDiameter=$I(w.defaultInnerDiameter,"mil",g);for(let x of h.blindViaRules)x.ViaSizeRule.defaultDiameter=$I(x.ViaSizeRule.defaultDiameter,"mil",g),x.ViaSizeRule.defaultInnerDiameter=$I(x.ViaSizeRule.defaultInnerDiameter,"mil",g)},a=h=>{let f=G9t,g=f.unit;f.unit=h.unit,f.viaLayerOptions=h.viaLayerOptions,f.blindRuleOptions=h.blindRuleOptions,f.defaultTrackRule=h.defaultTrackRule,f.defaultViaSizeRule=h.defaultViaSizeRule,f.blindViaRules=h.blindViaRules;let b=f.via,y=f.blindRuleOptions;if(f.via.type==="Through")f.via.insideDiameter=f.defaultViaSizeRule.defaultInnerDiameter,f.via.outsideDiameter=f.defaultViaSizeRule.defaultDiameter;else for(let w of f.blindViaRules)if(w.blindViaName===f.via.blindName){f.via.insideDiameter=w.ViaSizeRule.defaultInnerDiameter,f.via.outsideDiameter=w.ViaSizeRule.defaultDiameter;break}if(y.length){let w=y.find(x=>x.value===b.blindName);w==null&&(w=y[0],b.blindName=w.value)}else b.type="Through";return n(f,g,f.unit),f},[s,l]=(0,D$e.useState)(()=>a(o)),c=h=>{let f={...s,...h};l(f),Aao(f)};(0,D$e.useLayoutEffect)(()=>{let h=C.messageBus.subscribe("refreshBatchFanoutDialog",f=>{c(a(f.data))});return()=>{h.cancel()}},[]);let d=async h=>{switch(String(h)){case"apply":{oo({action:h,dialogId:e,formData:{formData:u()}});break}case"cancel":{p();break}case"openRuleDlg":{Ic("pcb_DRC");break}}},u=()=>{let h=ue.deepClone(s);return n(h,s.unit,"mil",!1),{operationType:h.operationType,fanoutType:h.fanoutType,bgaFanoutDirect:h.bgaFanoutDirect,viaPadSpacingType:h.viaPadSpacingType,viaPadSpacing:h.viaPadSpacing/10,minChannelSpace:h.minChannelSpace/10,includeNoNet:h.includeNoNet,fanoutOuter2Rows:h.fanoutOuter2Rows,ignoreDRC:h.ignoreDRC,track:{widthRuleType:h.track.widthRuleType,width:h.track.width/10},via:{type:h.via.type,blindName:h.via.blindName,sizeType:h.via.sizeType,outsideDiameter:h.via.outsideDiameter/10,insideDiameter:h.via.insideDiameter/10}}},p=()=>{le.close(i)};Bt(h=>{(h==null?void 0:h.code)==="Escape"&&d("cancel")}).keyboard(i),Bt(()=>{d("cancel")}).close(i);let m=Q9t("pop-content-container","batch-fanout-container");return(0,xz.jsxs)("div",{className:m,style:{height:"100%"},children:[(0,xz.jsxs)("div",{className:Q9t("pop-content-wrapper"),children:[(0,xz.jsx)(Pao,{formData:s,updateFormData:c}),(0,xz.jsx)(Rao,{formData:s,updateFormData:c})]}),(0,xz.jsxs)("div",{className:Q9t("pop-footer-wrapper"),children:[(0,xz.jsx)(Me,{"data-test":"Design Rules",style:{marginRight:"8px"},onClick:()=>d("openRuleDlg"),children:"Design Rules..."}),(0,xz.jsx)(Me,{"data-test":"apply",type:"primary",style:{marginLeft:"auto",marginRight:"8px"},onClick:()=>d("apply"),children:"Apply"}),(0,xz.jsx)(Me,{"data-test":"cancel",onClick:()=>d("cancel"),children:"Cancel"})]})]})},_ao=TPr;var Bao=L(z());async function jao(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;return le.open({id:o,title:r,width:n,height:a,closed:s,esc:!0,folded:!1,mask:!1,children:(0,Bao.jsx)(_ao,{containerId:o,dialogId:t.dialogId,pcbData:t.data})}),{origin:"react"}}var Qge=L(Se());var Z9t=L(Fao()),_7=L(z()),{locals:SPr}=Z9t.default;function J9t(t){Ae(Z9t.default);let e=be.bind(SPr),i=J(),{dialogId:o,content:r}=t,n=(0,Qge.useRef)(null),[a,s]=(0,Qge.useState)(r),l=()=>{n.current&&(n.current.focus(),n.current.select&&n.current.select())},c=m=>{m.target.select&&m.target.select()},d=m=>{s(m.target.value)},u=m=>{if(m.keyCode===13){m.target.blur(),window.setTimeout(async()=>{await p("confirm")});return}},p=async m=>{let h=m==="confirm"?{groupName:a.trim()}:{};await oo({action:m,dialogId:o,formData:h}),le.close()};return(0,Qge.useEffect)(()=>{l()},[]),(0,_7.jsxs)("div",{className:e("pop-content-container oneLineOneInputDlg"),children:[(0,_7.jsx)("div",{className:"pop-content-wrapper",children:(0,_7.jsxs)("div",{className:e("line"),children:[(0,_7.jsx)("div",{className:e("txt_title f14"),children:(0,_7.jsx)("span",{children:i("Group Name")})}),(0,_7.jsx)("div",{className:"txt_value",children:(0,_7.jsx)("input",{name:"groupName",value:a,ref:n,type:"text","data-test":"GroupName",onFocus:c,onChange:d,onKeyUp:u})})]})}),(0,_7.jsxs)("div",{className:e("pop-footer-wrapper dialog-button"),children:[(0,_7.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>p("confirm"),children:"Confirm"}),(0,_7.jsx)(Me,{onClick:()=>p("cancel"),children:"Cancel"})]})]})}var Vao=L(z());async function Uao(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,esc:!0,folded:!1,children:(0,Vao.jsx)(J9t,{dialogId:t.dialogId,content:t.extra.defaultName||""})})}var A$e=L(Se());var j7=L(z()),MPr=t=>{var c;let{containerId:e,dialogId:i,groups:o}=t,r=J(),n=document.getElementById(e),[a,s]=(0,A$e.useState)((c=o[0])==null?void 0:c.globalIndex);(0,A$e.useLayoutEffect)(()=>{let d=n.getAttribute("data");d&&s(d)},[]);let l=async d=>{await oo({action:d,dialogId:i,formData:d==="confirm"?{groupId:a}:{}}),d==="confirm"&&n.setAttribute("data",a),le.close(e)};return Bt(()=>{l("close")}).close(e),(0,j7.jsxs)("div",{className:"pop-content-container oneLineOneInputDlg",children:[(0,j7.jsx)("div",{className:"pop-content-wrapper",children:(0,j7.jsxs)("div",{className:"line",style:{marginTop:0},children:[(0,j7.jsx)("div",{className:"txt_title f14",style:{margin:"auto 10px;"},children:(0,j7.jsx)("span",{children:r("Group Name")})}),(0,j7.jsx)("div",{className:"txt_value",style:{width:"220px"},children:(0,j7.jsx)(xt,{list:o.map(d=>({value:d.globalIndex,text:d.name})),value:a,onChange:d=>{s(d)}})})]})}),(0,j7.jsxs)("div",{className:"pop-footer-wrapper dialog-button",children:[(0,j7.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>l("confirm"),children:"Confirm"}),(0,j7.jsx)(Me,{onClick:()=>l("cancel"),children:"Cancel"})]})]})},Hao=MPr;var Yao=L(z());async function Gao(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,children:(0,Yao.jsx)(Hao,{containerId:o,dialogId:t.dialogId,unit:t.extra.unit,groups:t.extra})})}var N$e=L(Se());var B7=L(z()),IPr=t=>{let{containerId:e,dialogId:i,nets:o,netGroups:r,isNetClass:n,from:a}=t,s=J(),l=document.getElementById(e),[c,d]=(0,N$e.useState)("");(0,N$e.useLayoutEffect)(()=>{let p=l.getAttribute("data");p&&d(p)},[]);let u=async p=>{a=="designRuleDlg"&&p=="confirm"?(r[c].push(...o),dg.emit("editNetClass",{btnAction:"confirm",newNetClassList:r,changeName:[],type:n?"new-net-class":"new-equal-length-group"},"design-rules")):await oo({action:p,dialogId:i,formData:p==="confirm"?{isNetClass:n,from:a,nets:o,netGroup:c}:{}}),p==="confirm"&&l.setAttribute("data",c),le.close(e)};return Bt(()=>{u("close")}).close(e),(0,B7.jsxs)("div",{className:"pop-content-container oneLineOneInputDlg",children:[(0,B7.jsx)("div",{className:"pop-content-wrapper",children:(0,B7.jsxs)("div",{className:"line",style:{marginTop:0},children:[(0,B7.jsx)("div",{className:"txt_title f14",style:{whiteSpace:"nowrap"},children:(0,B7.jsx)("span",{children:s(n?"Net Class":"Equal Length Group")})}),(0,B7.jsx)("div",{className:"txt_value",style:{width:"220px",marginLeft:"10px"},children:(0,B7.jsx)(xt,{list:Object.keys(r).map(p=>({value:p,text:p,showOriginalText:!0})),value:c,onChange:p=>{d(p)}})})]})}),(0,B7.jsxs)("div",{className:"pop-footer-wrapper dialog-button",children:[(0,B7.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>u("confirm"),children:"Confirm"}),(0,B7.jsx)(Me,{onClick:()=>u("cancel"),children:"Cancel"})]})]})},Wao=IPr;var Kao=L(z());async function Qao(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,children:(0,Kao.jsx)(Wao,{containerId:o,dialogId:t.dialogId,netGroups:t.extra.netGroups,nets:t.extra.nets,from:t.extra.from,isNetClass:t.extra.isNetClass})})}var ose=L(Se());var X9t=L(Jao());var q9t=[{text:"Apply",type:"primary",style:{marginRight:"8px"},disabled:je,command:"apply"},{text:"Confirm",type:"primary",style:{marginRight:"8px"},disabled:je,command:"confirm"},{text:"Cancel",command:"cancel"}];var Dy=L(z()),LPr=t=>{let{containerId:e,params:i}=t,{positiveNetSuffix:o,negativeNetSuffix:r,newDifferentailPairList:n}=i,[a,s]=(0,ose.useState)(o),[l,c]=(0,ose.useState)(r),[d,u]=(0,ose.useState)([]),[p,m]=(0,ose.useState)([]),h=J(),f=be.bind(X9t.default.locals);Ae(X9t.default),(0,ose.useEffect)(()=>{g()},[]);let g=(E=[])=>{E.forEach((R,v)=>{R.$id=v}),u(E);let N=E.filter(R=>R.checked);for(let R of q9t)R.disabled&&!je()&&(E.length<1||N.length===0?(R.command=="apply"||R.command=="confirm")&&(R.disabled=()=>!0):(R.command=="apply"||R.command=="confirm")&&(R.disabled=()=>!1))},b=(E,N)=>{if(Array.isArray(N))return De({type:"info",msg:{value:"The following difference pair name already exist: {0}",options:{0:N.join("\u3001")}},timer:3}),!1;if(N)return De({type:"info",msg:{value:"{0} differential pairs are created.",options:{0:E.length}},timer:3}),!0},y=async()=>{let E=await ei(),N=(await C.windowBridge.rpcCall("getDifferentailBySuffix",{positiveNetSuffix:a,negativeNetSuffix:l},E.contentWindow)).message;g(N)},w=()=>{let{netOptions:E,newDifferentailPairList:N}=i,R=new Set;N.forEach(P=>{let{isAuto:O,sub:_}=P;_.forEach(j=>{O||R.add(j.name)})}),E=E.filter(P=>!R.has(P.value));let v=k(E,a,l);g(v);function k(P,O,_){let j=[],B={};P.forEach(V=>{let G=V.value;if(!(G.length<=Math.max(O.length,_.length))){if(G.endsWith(O)){let Q=G.slice(0,-O.length);B[Q]||(B[Q]={positiveNet:null,negativeNet:null,title:Q}),B[Q].positiveNet=G}else if(G.endsWith(_)){let Q=G.slice(0,-_.length);B[Q]||(B[Q]={positiveNet:null,negativeNet:null,title:Q}),B[Q].negativeNet=G}}});for(let V in B){let G=B[V];G.positiveNet&&G.negativeNet&&j.push(G)}return j}},x=(E,N)=>{E.differentailPairName=N[0].title,E.differentailPairPositiveNet=N[0].positiveNet,E.differentailPairNegativeNet=N[0].negativeNet;let R=N.map(k=>{let P=[k.positiveNet,k.negativeNet];return k={"Differential Pair":"default",name:k.title,isAuto:!1,sub:[{"Differential Pair":"default",name:k.positiveNet,type:"net"},{"Differential Pair":"default",name:k.negativeNet,type:"net"}],type:"netDifferentail"},E.newDifferentailPairList.forEach(O=>{let _=!1,j=!1;P.includes(O.sub[0].name)&&(O.sub[0].name="",_=!0),P.includes(O.sub[1].name)&&(O.sub[1].name="",j=!0)}),k});dt()===se.PCB?(E.differentailPairList.push(...R),E.newDifferentailPairList.splice(E.newDifferentailPairList.length-1,0,...R)):E.newDifferentailPairList=E.newDifferentailPairList.concat(R),delete E.oldData},S=async E=>{switch(E){case"close":case"cancel":le.close(e);break;case"apply":case"confirm":if(dt()===se.PCB){let N=await ei(),R=[];for(let P of p.length?p:d)R.push(P);let v=(await C.windowBridge.rpcCall("addNetDifferentailArr",R,N.contentWindow)).message;b(R,v)&&(x(i,R),C.messageBus.publish("updateDifferentailPairDlg",i),E=="confirm"?le.close(e):y())}else{let N=n.filter(k=>!k.isAuto).map(k=>k.name),R=[],v=d.filter(k=>N.includes(k.title)&&k.checked?(R.push(k.title),!1):k.checked).map(k=>({name:k.title,sub:[{name:k.positiveNet,type:"net"},{name:k.negativeNet,type:"net"}]}));if(R.length>0&&De({type:"info",msg:{value:"The following difference pair name already exist: {0}",options:{0:R.join("\u3001")}},timer:3}),v.length>0){De({type:"info",msg:{value:"{0} differential pairs are created.",options:{0:v.length}},timer:3});let k=v.map(O=>O.name),P=d.filter(O=>k.includes(O.title));x(i,P),C.messageBus.publish("updateDifferentailPairDlg",i),E=="confirm"?le.close(e):w()}}break;case"search":!a||!l?De({type:"warn",msg:"The positive network suffix and negative network suffixes cannot be empty!",timer:3}):a==l?De({type:"warn",msg:"Positive network suffix and negative network suffix cannot be the same!",timer:3}):dt()===se.PCB?y():w();break}},T=()=>(0,Dy.jsxs)("div",{className:f("display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap"),style:{marginBottom:"16px",overflow:"unset"},children:[(0,Dy.jsxs)("div",{className:f("display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap"),style:{width:"40%",paddingRight:"5px"},children:[(0,Dy.jsx)("div",{title:h("Positive Net Suffix"),"data-test":"Positive Net Suffix",style:{textAlign:"left",whiteSpace:"nowrap"},children:h("Positive Net Suffix")+":"}),(0,Dy.jsx)("div",{className:f("display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap"),style:{width:"100%",paddingLeft:"8px"},children:(0,Dy.jsx)("input",{className:f("dialog-input"),type:"text",defaultValue:a,onInput:E=>M(E,"positiveNetSuffix")})})]}),(0,Dy.jsxs)("div",{className:f("display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap"),style:{width:"40%",paddingLeft:"5px"},children:[(0,Dy.jsx)("div",{title:h("Negative Net Suffix"),"data-test":"Negative Net Suffix",style:{textAlign:"left",whiteSpace:"nowrap"},children:h("Negative Net Suffix")+":"}),(0,Dy.jsx)("div",{className:f("display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap"),style:{width:"100%",paddingLeft:"8px"},children:(0,Dy.jsx)("input",{className:f("dialog-input"),type:"text",defaultValue:l,onInput:E=>M(E,"negativeNetSuffix")})})]}),(0,Dy.jsx)("div",{style:{display:"flex",justifyContent:"flex-end",width:"20%"},children:(0,Dy.jsx)(Me,{"data-test":"Search",style:{color:"#1890ff",minWidth:"72px",height:"24px",lineHeight:"24px"},onClick:()=>S("search"),children:h("Search")})})]}),M=(E,N)=>{let R=E.target.value;switch(N){case"positiveNetSuffix":s(R);break;case"negativeNetSuffix":c(R);break}},I=[{key:"title",name:h("Differential Pair Title"),width:.4,ellipsis:!0,editable:!0},{key:"positiveNet",name:h("Positive Net"),width:.3,ellipsis:!0},{key:"negativeNet",name:h("Negative Net"),width:.3,ellipsis:!0}],A=(E,N)=>{let{selectedRowNumbers:R,isCtrl:v,isShift:k,row:P}=N,{$id:O}=P;E.forEach(j=>{O===j.$id&&(j.checked=!j.checked)});let _=[];for(let j of R)!v&&!k?p.findIndex(B=>B.$id==j)<0&&_.push(E[j]):_.push(E[j]);g([...E]),m(_)},D=()=>p.map(N=>N.$id);return(0,Dy.jsxs)("div",{className:f("pop-content-container"),style:{height:"100%"},children:[(0,Dy.jsxs)("div",{className:f("pop-content-wrapper display-flex flex-direct-column flex-nowrap"),children:[T(),(0,Dy.jsx)(xi,{index:"$id",selectedRowNumbers:D(),border:!0,columns:I,rows:d,onChange:E=>{g([...E]),m([])},checkbox:!0,onClick:E=>{A(d,E)}})]}),(0,Dy.jsx)("div",{className:f("pop-footer-wrapper"),children:(0,Dy.jsx)("div",{children:q9t.map((E,N)=>(0,Dy.jsx)(Me,{"data-test":E.text,type:E.type,style:E.style,disabled:E.disabled&&E.disabled(),onClick:()=>S(E.command),children:(0,Dy.jsx)("span",{children:h(E.text)})},`bottom-btn-${N}`))})})]})},qao=LPr;var $ao=L(z());async function Xao(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i,l={...JSON.parse(JSON.stringify({positiveNetSuffix:"+",negativeNetSuffix:"-"})),...JSON.parse(JSON.stringify(t))};le.open({id:o,title:r,width:n,height:a,closed:s,children:(0,$ao.jsx)(qao,{containerId:o,params:l}),onKeyup:c=>{c.key==="Escape"&&(le.close(o),VP(l))}})}var Kge=L(Se());var $9t=L(tso());var z7=L(z()),{locals:vPr}=$9t.default;function ePt(t){Ae($9t.default);let e=be.bind(vPr),i=J(),{dialogId:o,content:r}=t,n=(0,Kge.useRef)(null),[a,s]=(0,Kge.useState)(r.value),l=()=>{n.current&&(n.current.focus(),n.current.select&&n.current.select())},c=h=>{h.target.select&&h.target.select()},d=h=>{s(h.target.value)},u=h=>{let{unit:f,value:g}=r,b=h.target.value,y=parseFloat(b);isNaN(y)?y=h.target.getAttribute("oldval")||g:y=Om(y,{decimalPlacesShow:f=="mil"?1:3})+f,s(y)},p=h=>{if(h.keyCode===13){h.target.blur(),window.setTimeout(async()=>{await m("confirm")});return}},m=async h=>{let f={};switch(String(h)){case"close":case"cancel":let{unit:g,rulerId:b,value:y,isNew:w}=r;f={value:ue.unitConversion.conversion(g,"mil",parseFloat(y)/10),rulerId:b,noChangeValue:!0,isNew:w};break;case"confirm":{let{unit:S,rulerId:T,value:M,isNew:I}=r,A=M,D=a;isNaN(parseFloat(M))&&(D=A);let E=A==D;D=ue.unitConversion.conversion(S,"mil",parseFloat(D)/10),f={value:D,rulerId:T,noChangeValue:E,isNew:I}}break}await oo({action:h,dialogId:o,formData:f}),le.close()};return(0,Kge.useEffect)(()=>{l()},[]),(0,z7.jsxs)("div",{className:e("pop-content-container oneLineOneInputDlg"),children:[(0,z7.jsx)("div",{className:"pop-content-wrapper",children:(0,z7.jsxs)("div",{className:e("line clear"),children:[(0,z7.jsx)("div",{className:e("txt_title f14"),"data-test":"Filename",children:(0,z7.jsx)("span",{children:i("Length")})}),(0,z7.jsx)("div",{className:e("txt_value"),children:(0,z7.jsx)("input",{name:"value",value:a,ref:n,type:"text","data-test":"Length",onFocus:c,onChange:d,onKeyUp:p,onBlur:u})})]})}),(0,z7.jsxs)("div",{className:e("pop-footer-wrapper dialog-button"),children:[(0,z7.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>m("confirm"),children:"Confirm"}),(0,z7.jsx)(Me,{onClick:()=>m("cancel"),children:"Cancel"})]})]})}var oso=L(z());async function iso(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,esc:!0,folded:!1,children:(0,oso.jsx)(ePt,{dialogId:t.dialogId,content:t.extra||""})})}var Zge=L(Se());var F7=L(z()),DPr=(t={})=>{let{containerId:e,dialogId:i,extra:o}=t,r=J(),n=(0,Zge.useRef)({closeMsgBus:null}),a=o.unit,s=document.getElementById(e),[l,c]=(0,Zge.useState)(o.value);(0,Zge.useLayoutEffect)(()=>{setTimeout(()=>{s.querySelectorAll("input")[0].select()},0),n.current.closeMsgBus=C.messageBus.subscribe(`close_${e}`,()=>{d("close")})},[]);let d=async u=>{oo({action:u,dialogId:i,formData:u==="confirm"?{value:ue.unitConversion.conversion(a,"mil",parseFloat(l)/10)}:{}}),u==="confirm"&&C.messageBus.publish("/ui/promptToOpen3DViewWindow"),n.current.closeMsgBus.cancel(),le.close(e)};return(0,F7.jsxs)("div",{className:"pop-content-container oneLineOneInputDlg",children:[(0,F7.jsx)("div",{className:"pop-content-wrapper",children:(0,F7.jsxs)("div",{"data-test":"Extend the distance",className:"line clear",style:{marginTop:0},children:[(0,F7.jsx)("div",{className:"txt_title f14",children:(0,F7.jsxs)("span",{title:r("Extend the distance"),children:[r("Extend the distance"),":"]})}),(0,F7.jsx)("div",{className:"txt_value",style:{width:"220px"},children:(0,F7.jsx)(or,{value:l,originUnit:a,inputUnit:a,onChange:u=>{c(u)}})})]})}),(0,F7.jsxs)("div",{className:"pop-footer-wrapper dialog-button",children:[(0,F7.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>d("confirm"),children:"Confirm"}),(0,F7.jsx)(Me,{onClick:()=>d("cancel"),children:"Cancel"})]})]})},rso=DPr;var aso=L(z());async function nso(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,popup:!1,children:(0,aso.jsx)(rso,{containerId:o,dialogId:t.dialogId,title:t.title,extra:t.extra})})}var f$=L(Se());var tPt=L(lso());var eL=L(z()),EPr=({params:t,encryptFiles:e,cancelFn:i,showFileName:o=!1})=>{let[r,n]=(0,f$.useState)(!1),[a,s]=(0,f$.useState)("password"),[l,c]=(0,f$.useState)(""),[d,u]=(0,f$.useState)(e[0]),[p,m]=(0,f$.useState)("");Ae(tPt.default);let{locals:h}=tPt.default,f=be.bind(h),g=J(),b=M=>{M.key==="Enter"&&y()},y=async()=>{if(l==""){new Fi({type:"warn",msg:"Please enter password"});return}if((await C.messageBus.rpcCall("/pro-mgr/checkPassword",[[d],l])).message){let I=e.findIndex(A=>A===d);e.splice(I,1),c(""),e[0]&&u(e[0])}else{new Fi({type:"warn",msg:"Password incorrect, please re-enter"});return}e.length||w()};async function w(){var D;await le.close();let M=t;Oa.setImportFile(M);let I=Oa.getInstance();yme((D=M[0])==null?void 0:D.name);let A=I.from;await wC("proeda",A),I.fileName=M.map(E=>E==null?void 0:E.name).join(","),I.update()}(0,f$.useEffect)(()=>{let M=me.i18n("{filename}File Encrypted",{filename:(d==null?void 0:d.name)||""});m(M)},[d]);let x=i.current=(M=!1)=>{let I=e.findIndex(D=>D===d);e.splice(I,1);let A=t.findIndex(D=>D===d);t.splice(A,1),e.length>0?M?ii("file_encrypted",{files:t,showFileName:o,encryptFiles:e}):(c(""),u(e[0])):t.length>0?w():le.close()},S=()=>{n(!r),s(r?"password":"text")},T=M=>{let A=M.target.value.replace(/[\u4e00-\u9fa5]|(^\s+)|(\s+$)/gi,"");c(A)};return(0,eL.jsxs)(eL.Fragment,{children:[(0,eL.jsxs)("div",{className:f("container"),children:[o&&(0,eL.jsx)("p",{className:f("file-name"),children:p}),(0,eL.jsx)("span",{"data-test":"pleaseEnterPassword:",className:f("pleaseEnterPassword"),children:g("Please enter password:")}),(0,eL.jsx)("input",{"data-test":"passwordInput:",className:f(`passwordInput-${a}`),type:"text",value:l,onChange:T,onKeyDown:b}),(0,eL.jsx)("div",{className:f("iconContainer"),children:(0,eL.jsx)("i",{className:f(r?"icon-eda-eye":"icon-eda-no-eye"),onClick:S})})]}),(0,eL.jsxs)("div",{className:f("buttonContainer"),children:[(0,eL.jsx)(Me,{"data-test":"confirm",type:"primary",onClick:y,children:"Confirm"}),(0,eL.jsx)(Me,{"data-test":"cancel",style:{marginLeft:"8px"},onClick:x,children:"Cancel"})]})]})},cso=EPr;var uso=L(z());async function dso(t,e){let{files:i,showFileName:o,encryptFiles:r}=t,{containerId:n,title:a,width:s,height:l,closed:c}=bt[e],d={current:p=>{}};r||(r=await APr(i)),Kr(o)&&(o=r.length>1);async function u(){d.current(!0)}return le.open({id:n,title:a,width:s,height:l,closed:c,esc:!0,onClose:u,children:(0,uso.jsx)(cso,{params:i,encryptFiles:r,showFileName:o,cancelFn:d})}),le}async function APr(t){return(await Promise.all(t.map(async i=>{if((await C.messageBus.rpcCall("/pro-mgr/isEncrypted",i)).message)return i}))).filter(i=>i)}var iPt=L(mso());var aE=L(z()),NPr=({params:t})=>{Ae(iPt.default);let{locals:e}=iPt.default,i=be.bind(e),o=J(),r=async()=>{et("Preview3DInNewWindow"),le.close()},n=()=>{le.close()},a=s=>{let l=s.target.checked;localStorage.setItem("promptToOpen3DViewWindow",l.toString())};return(0,aE.jsxs)(aE.Fragment,{children:[(0,aE.jsx)("div",{className:i("contentContainer"),children:(0,aE.jsx)("p",{"data-test":"promptContent",children:o("Do you want to open 3D Shell Preview window in the same time? Follow-up can be through: Top menu - View - 3D Shell Preview open")})}),(0,aE.jsxs)("div",{className:i("checkboxContainer"),children:[(0,aE.jsx)("input",{type:"checkbox","data-test":"checkbox",onChange:a}),(0,aE.jsx)("label",{"data-test":"Don't show again",children:o("Don't show again")})]}),(0,aE.jsxs)("div",{className:i("buttonContainer"),children:[(0,aE.jsx)(Me,{"data-test":"openNow",type:"primary",onClick:r,children:"Open Now"}),(0,aE.jsx)(Me,{"data-test":"later",type:"primary",style:{marginLeft:"8px"},onClick:n,children:"Later"})]})]})},hso=NPr;var bso=L(z());async function fso(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;return le.open({id:o,title:r,width:n,height:a,closed:s,esc:!0,children:(0,bso.jsx)(hso,{params:t})}),le}async function gso(t){return await ii("prompt-3d-window",{...t})}var g$=L(Se());var oPt=L(wso());var dd=L(z()),F4=be.bind(oPt.default.locals);function Cso(t){let{containerId:e,params:i}=t,{params:o,confirmCallback:r}=i;Ae(oPt.default);let n=J(),[a,s]=(0,g$.useState)(o.startAngle+""),[l,c]=(0,g$.useState)(o.endAngle+""),[d,u]=(0,g$.useState)(o.minRadius+""),[p,m]=(0,g$.useState)(o.maxRadius+""),h=f=>{f.stopPropagation(),f.preventDefault();let g={startAngle:a,endAngle:l,minRadius:d,maxRadius:p};typeof r=="function"&&r({$close:le.close.bind(null,e)},{data:{formData:g}})};return(0,dd.jsx)(dd.Fragment,{children:(0,dd.jsxs)("div",{className:F4("pop-content-container"),style:{height:"auto"},children:[(0,dd.jsxs)("div",{className:F4("pop-content-wrapper wrap"),children:[(0,dd.jsxs)("div",{className:F4("display-flex flex-nowrap flex-lateral-axis-center margin-btn"),style:{overflow:"hidden"},children:[(0,dd.jsx)("div",{"data-tagitem":"label",className:F4("left txt_title f14 label"),children:(0,dd.jsxs)("span",{title:n("Start Angle"),"data-test":"Start Angle",children:[n("Start Angle"),":"]})}),(0,dd.jsxs)("div",{className:F4("left txt_value"),style:{width:"100%"},children:[(0,dd.jsx)(_$e,{autoFocus:!0,defaultValue:a,id:"startAngle",onChange:f=>s(f)}),(0,dd.jsx)("span",{children:"\xB0"})]})]}),(0,dd.jsxs)("div",{className:F4("display-flex flex-nowrap flex-lateral-axis-center margin-btn"),style:{overflow:"hidden"},children:[(0,dd.jsx)("div",{"data-tagitem":"label",className:F4("left txt_title f14 label"),children:(0,dd.jsxs)("span",{className:F4("i18n"),title:n("End Angle"),"data-test":"End Angle",children:[n("End Angle"),":"]})}),(0,dd.jsxs)("div",{className:F4("left txt_value"),style:{width:"100%"},children:[(0,dd.jsx)(_$e,{defaultValue:l,id:"endAngle",onChange:f=>c(f)}),(0,dd.jsx)("span",{children:"\xB0"})]})]})]}),(0,dd.jsxs)("div",{className:F4("pop-content-wrapper wrap"),children:[(0,dd.jsxs)("div",{className:F4("display-flex flex-nowrap flex-lateral-axis-center margin-btn"),style:{overflow:"hidden"},children:[(0,dd.jsx)("div",{"data-tagitem":"label",className:F4("left txt_title f14 label"),children:(0,dd.jsxs)("span",{className:F4("i18n"),title:n("Start Radius"),i18n:"Start Radius",children:[n("Start Radius"),":"]})}),(0,dd.jsxs)("div",{className:F4("left txt_value"),style:{width:"100%"},children:[(0,dd.jsx)(_$e,{defaultValue:d,id:"minRadius",onChange:f=>u(f)}),(0,dd.jsx)("span",{children:o.unit||"mil"})]})]}),(0,dd.jsxs)("div",{className:F4("display-flex flex-nowrap flex-lateral-axis-center margin-btn"),style:{overflow:"hidden"},children:[(0,dd.jsx)("div",{"data-tagitem":"label",className:F4("left txt_title f14 label"),children:(0,dd.jsxs)("span",{className:F4("i18n"),title:n("End Radius"),"data-test":"End Radius",children:[n("End Radius"),":"]})}),(0,dd.jsxs)("div",{className:F4("left txt_value"),style:{width:"100%"},children:[(0,dd.jsx)(_$e,{defaultValue:p,id:"maxRadius",onChange:f=>m(f)}),(0,dd.jsx)("span",{children:o.unit||"mil"})]})]})]}),(0,dd.jsxs)("div",{className:F4("pop-footer-wrapper"),children:[(0,dd.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:f=>h(f),children:"Confirm"}),(0,dd.jsx)(Me,{onClick:()=>le.close(e),children:"Cancel"})]})]})})}var _$e=t=>{let{id:e,defaultValue:i,onChange:o,autoFocus:r}=t,[n,a]=(0,g$.useState)(i),s=(0,g$.useRef)({oldVal:i}),l=c=>{let d=$s(n);if(isNaN(d)){a(s.current.oldVal);return}let u=d;e==="startAngle"?u=li.fixAngle(d):e==="endAngle"&&(u=d==360?360:li.fixAngle(d));let p=u+"";a(p),s.current.oldVal=p,o(p),c.stopPropagation(),c.preventDefault()};return(0,dd.jsx)(dd.Fragment,{children:(0,dd.jsx)("input",{"data-attritem-input":e,name:e,style:{width:"160px",marginRight:"2px"},type:"text",value:n,autoFocus:!!r,onFocus:c=>{a(parseFloat(n)+""),c.target.select()},onKeyDown:c=>{c.key=="Enter"&&l(c)},onBlur:l,onChange:c=>a(c.target.value)})})};var Tso=L(z());async function xso(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i,l=t.confirmCallback;if(typeof l=="function"){delete t.confirmCallback;let d={params:{...JSON.parse(JSON.stringify(t))},confirmCallback:l};le.open({id:o,title:r,width:n,height:a,closed:s,esc:!0,children:(0,Tso.jsx)(Cso,{containerId:o,params:d})})}}var F$e=L(Se());var z$e=L(rPt());var hIe=L(Se()),Mso=L(rPt());var B$e=t=>{if(!t)return 0;let e=t,i=t.match(/.*\((.*)\)/);i&&i[1]&&(e=i[1]);let o=parseFloat(e);return e.indexOf("mm")>-1&&(o=io(o,"mm","mil")),o/10};var Md=L(z()),{locals:OPr}=Mso.default,Jge=be.bind(OPr),b$=t=>(0,Md.jsx)(Wv,{...t,titleWidth:82}),Iso=t=>{let{formData:e,onFormDataChange:i}=t,o=J(),{unit:r,addToNet:n}=e,[a,s]=(0,hIe.useState)(e.addedTo||"");(0,hIe.useEffect)(()=>{e.currentNetLength>=0&&!e.addedTo&&(e.addedTo=Vh(e.currentNetLength*10+e.additionalLength,"mil",r),s(e.addedTo))},[e.currentNetLength]),(0,hIe.useEffect)(()=>{if(e.addToNet&&e.longerNets.length){let d=e.longerNets.find(p=>p.net==e.addToNet),u=Vh(d.netLength*10,"mil",r);e.addedTo=`${n} (${u})`,s(e.addedTo)}},[e.addToNet]);let l=d=>{let u;isNaN(+d)||(u=+d);let p=d.match(/(.*)(mil|mm)/);p&&p[1]&&!isNaN(+p[1])&&(u=+p[1]);let m=d.match(/.*\((.*)(mil|mm)\)/);if(m&&m[1]&&(u=parseFloat(m[1])),isNaN(u)||u<0)return!1;let h=parseFloat(Vh(u,r,"mil"))/10;return e.currentNetLength>=0&&h<e.currentNetLength?(X2("Target length is less than or equal to current length."),!1):!0},c=()=>{if(e.addedLength)return e.addedLength;if(a!=""&&e.currentNetLength<0)return"";let d=0,u=B$e(a);if(u){let p=u-e.currentNetLength;d=p>0?p:0}return d*10};return(0,Md.jsxs)(Md.Fragment,{children:[(0,Md.jsxs)(FA,{title:"Length",contentClassName:Jge("fieldset"),children:[(0,Md.jsx)(b$,{hiddenTitle:!0,children:(0,Md.jsx)($i,{dataTest:"lengthType",value:e.lengthType,options:[{value:"followRule",label:"Follow Rule"},{value:"specifiedLength",label:"Specified Length"}],onChange:d=>i({lengthType:d})})}),(0,Md.jsxs)(b$,{title:"Net Length Range",hidden:e.lengthType!=="followRule",children:[(0,Md.jsx)(or,{dataTest:"netLengthMin",value:e.netLengthMin,inputUnit:r,disabled:!0,style:{maxWidth:151}}),(0,Md.jsx)("span",{style:{padding:"0 10px"},children:"~"}),(0,Md.jsx)(or,{dataTest:"netLengthMax",value:e.netLengthMax,inputUnit:r,disabled:!0,style:{maxWidth:151}}),(0,Md.jsx)("span",{"data-test":"openRuleSetting",className:Jge("open-rule-setting-button"),onClick:()=>{let d=Xi();C.windowBridge.publish("DesignRuler",{activeTab:"Rule",activeMenu:"Net Length Range"},d.contentWindow)},children:o("Rule Setting")})]}),(0,Md.jsxs)(b$,{title:"Net Length Tolerance",hidden:e.lengthType!=="followRule",children:[(0,Md.jsx)(or,{dataTest:"netLengthToleranceMin",value:-e.netLengthTolerance,inputUnit:r,disabled:!0,style:{maxWidth:151}}),(0,Md.jsx)("span",{style:{padding:"0 10px"},children:"~"}),(0,Md.jsx)(or,{dataTest:"netLengthToleranceMax",value:e.netLengthTolerance,inputUnit:r,disabled:!0,style:{maxWidth:151}}),(0,Md.jsx)("span",{"data-test":"openRuleSetting2",className:Jge("open-rule-setting-button"),onClick:()=>{let d=Xi();C.windowBridge.publish("DesignRuler",{activeTab:"Rule",activeMenu:"Net Length Tolerance"},d.contentWindow)},children:o("Rule Setting")})]}),(0,Md.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,Md.jsx)(b$,{title:"Additional Length",hidden:e.lengthType==="followRule",children:(0,Md.jsx)(or,{dataTest:"additionalLength",value:c(),inputUnit:r,style:{maxWidth:242},onChange:d=>{if(d==="")return;let u=+d;if(u>=0){e.addToNet=null;let p={additionalLength:u,addedLength:u+""};if(e.currentNetLength>=0){let m=Vh(u+e.currentNetLength*10,"mil",r);p.addedTo=m,s(m)}else s("");i(p)}}})}),(0,Md.jsxs)(b$,{title:"Add to",hidden:e.lengthType==="followRule",children:[(0,Md.jsx)(j2,{dataTest:"addTo",value:e.currentNetLength<0?"":a,validator:l,selectAlwaysShow:!1,selectList:e.longerNets.map(d=>`${d.net} (${Vh(d.netLength*10,"mil",r)})`),showDropDownIcon:e.currentNetLength>=0,focusTriggerSelect:!0,onChange:d=>{if(a==d)return;e.currentNetLength<0&&(e.addedLength=null);let u,p=r;isNaN(+d)||(u=+d);let m=d.match(/(.*)(mil|mm)/);m&&m[1]&&!isNaN(+m[1])&&(u=+m[1],p=m[2]);let h=d.match(/.*\((.*)(mil|mm)\)/);h&&h[1]?(u=parseFloat(h[1]),p=h[2],e.addToNet=d.split("(")[0].trim()):e.addToNet=null;let f=parseFloat(Vh(u,p,"mil"))/10,g=Vh(u,p,r);s(g),i({additionalLength:(f-e.currentNetLength)*10,addedTo:g})},onClick:async()=>{},style:{width:"calc(100% - 20px)"}}),(0,Md.jsx)("div",{className:"icon-eda-click-to-select",title:o("Click To Select Network"),style:{width:"16px",height:"16px",cursor:"pointer",borderLeft:"1px solid transparent"},onClick:()=>{let d=Xi();C.windowBridge.publish("pcbdialogCMD",{action:"netSelect",data:{addedLength:e.additionalLength,addedTo:e.addedTo,lengthType:e.lengthType},dialogId:e.dialogId},d.contentWindow),le.close(e.containerId)}})]})]})]}),(0,Md.jsx)(FA,{title:"Corner",contentClassName:Jge("fieldset"),children:(0,Md.jsx)($i,{dataTest:"cornerType",value:e.cornerType,style:{display:"flex",justifyContent:"space-around",margin:"6px 0"},options:[{value:"line45",label:"Line 45\xB0"},{value:"line90",label:"Line 90\xB0"},{value:"arc90",label:"Arc 90\xB0"}],onChange:d=>i({cornerType:d})})}),(0,Md.jsx)(FA,{title:"Routing Constraints",contentClassName:Jge("fieldset"),children:(0,Md.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,Md.jsxs)("div",{style:{flexGrow:1},children:[(0,Md.jsx)(b$,{title:"Routing Method",children:(0,Md.jsx)($i,{dataTest:"routingMethod",value:e.isSingleSide?"single":"double",options:[{value:"single",label:"Single Side"},{value:"double",label:"Double Side"}],onChange:d=>i({isSingleSide:d==="single"})})}),(0,Md.jsx)(b$,{title:"Gap (W)",children:(0,Md.jsx)(or,{dataTest:"gap(w)",value:e.width,inputUnit:r,onChange:d=>{let u=+d;u>0&&i({width:u})}})}),(0,Md.jsx)(b$,{title:"Minimum Amplitude (H)",children:(0,Md.jsx)(or,{dataTest:"Minimum Amplitude (H)",value:e.minHeight,inputUnit:r,onChange:d=>{let u=+d;u>0&&i({minHeight:u})}})})]}),(0,Md.jsx)("div",{className:be(Jge("route-length-type-img"),`icon-eda-equal-length-${e.cornerType}${e.isSingleSide?"-not":""}-centered`)})]})})]})};var XY=L(z()),{locals:RPr}=z$e.default,nPt=be.bind(RPr),_Pr=t=>{let{dialogId:e,containerId:i,pcbData:o}=t;Ae(z$e.default);let[r,n]=(0,F$e.useState)(()=>{let u=o.netLengthMin*10,p=o.netLengthMax*10,m=o.additionalLength*10,h=o.width*10,f=o.minHeight*10,g=o.longerNets,b=o.currentNetLength,y=o.addToNet,w=y?null:o.addedTo,x=y?null:o.addedLength,S=o.netLengthTolerance*10;return{isDiffPair:o.isDiffPair,lengthType:o.lengthType||o.restrictLength?"specifiedLength":"followRule",netLengthMin:u,netLengthMax:p,netLengthTolerance:S,additionalLength:m,longerNets:g,currentNetLength:b,cornerType:o.type||"line45",isSingleSide:o.isSingleSide,width:h,minHeight:f,unit:o.unit,dialogId:e,containerId:i,addToNet:y,addedTo:w,addedLength:x}}),a=u=>{n({...r,...u})};(0,F$e.useLayoutEffect)(()=>{let u=C.messageBus.subscribe("updateNetLengthRule",p=>{let{netLengthMin:m,netLengthMax:h}=p;a({netLengthMin:m,netLengthMax:h})});return()=>{u.cancel()}},[]);let s=async u=>{switch(String(u)){case"confirm":{oo({action:u,dialogId:e,formData:{formData:l()}}),c();break}case"cancel":{c();break}}},l=()=>{let u=r.additionalLength/10,p=r.width/10,m=r.minHeight/10;return{isDiffPair:r.isDiffPair,restrictLength:r.lengthType!=="followRule",additionalLength:u,addedTo:Vh(B$e(r.addedTo),"mil"),type:r.cornerType,isSingleSide:r.isSingleSide,width:p,minHeight:m}},c=()=>{le.close(i)};Bt(u=>{(u==null?void 0:u.code)==="Escape"&&s("cancel")}).keyboard(i),Bt(()=>{s("cancel")}).close(i);let d=nPt("pop-content-container","equal-length-tuning-container");return(0,XY.jsxs)("div",{className:d,style:{height:"100%"},children:[(0,XY.jsx)("style",{children:String(z$e.default)}),(0,XY.jsx)("div",{className:nPt("pop-content-wrapper"),children:(0,XY.jsx)(Iso,{formData:r,onFormDataChange:a})}),(0,XY.jsxs)("div",{className:nPt("pop-footer-wrapper"),children:[(0,XY.jsx)(Me,{"data-test":"Confirm",type:"primary",style:{marginRight:"8px"},onClick:()=>s("confirm"),children:"Confirm"}),(0,XY.jsx)(Me,{"data-test":"cancel",onClick:()=>s("cancel"),children:"Cancel"})]})]})},Lso=_Pr;var Dso=L(z());async function vso(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;return le.open({id:o,title:r,width:n,height:a,closed:s,esc:!0,folded:!1,mask:!0,children:(0,Dso.jsx)(Lso,{containerId:o,dialogId:t.dialogId,pcbData:t.extra})}),{origin:"react"}}var J0=L(Se());var Eso=[{text:"Apply",type:"primary",style:{marginRight:"8px"},command:"apply",dataTest:"Apply",disabled:je},{text:"Confirm",type:"primary",style:{marginRight:"8px"},command:"confirm",dataTest:"Confirm",disabled:je},{text:"Cancel",command:"cancel",dataTest:"Cancel"}];var aPt=L(Nso());var gs=L(z()),jPr=t=>{let{containerId:e,dialogId:i,extra:o}=t,{type:r,allNets:n,netClass:a,netClassName:s,selectedNets:l,from:c,autoNetClass:d=[]}=o,u=J(),p=be.bind(aPt.default.locals);Ae(aPt.default);let[m,h]=(0,J0.useState)({}),[f,g]=(0,J0.useState)([]),[b,y]=(0,J0.useState)([]),[w,x]=(0,J0.useState)([]),[S,T]=(0,J0.useState)([]),[M,I]=(0,J0.useState)(""),[A,D]=(0,J0.useState)(""),[E,N]=(0,J0.useState)(""),[R,v]=(0,J0.useState)({}),k=(0,J0.useRef)(!1),P=(0,J0.useRef)(null),O=(0,J0.useRef)(null),_=(0,J0.useRef)(null),j=(0,J0.useRef)(null),[B,V]=(0,J0.useState)({allNetClassList:"",notSelectedList:"",selectedList:""}),G=(0,J0.useRef)(!1),Q=(0,J0.useRef)(!1),H=(0,J0.useRef)(!1),q=(0,J0.useRef)(-1),U=(0,J0.useRef)(""),F=(0,J0.useRef)([]),[K,te]=(0,J0.useState)([...d]),ae=dt()===se.SCH;(0,J0.useEffect)(()=>{if(d.length===0||!ae){let ze=JSON.parse(JSON.stringify(a));h(ze);for(let Be in a)Object.prototype.hasOwnProperty.call(a,Be)&&(f.includes(Be)||f.push(Be));g(f),I(s||Object.keys(a)[0]),D(r),v({edit:!1,editItem:""});let Ye=(r.startsWith("edit")||r.startsWith("join")?a[s||Object.keys(a)[0]]:l)||[],ke=n.filter(Be=>!Ye.includes(Be));x(Ye),T(fe(ke,a))}else{D(r);let ze=JSON.parse(JSON.stringify(a));h(ze);let He=Object.keys(a);g(He),N(d[0].busId),x(d[0].nets),T([])}},[]);let pe=ze=>{I(""),T([]),N(ze),x(d.find(He=>He.busId===ze).nets)},Z=ze=>{let He=d.filter(Ye=>Ye.busName.toLowerCase().includes(ze.toLowerCase()));return He.length>0||ze?(He.length>0&&pe(He[0].busId),te(He)):(pe(d[0].busId),te([...d])),He};(0,J0.useEffect)(()=>{var ze;(ze=document.getElementsByClassName("allNetClassList-input")[0])==null||ze.focus()},[U.current]);let ee=ze=>{var pt;let{type:He,refData:Ye}=ze,ke=(0,J0.useRef)(null),Be=ot=>{let Qe=Rd(`.${He+"-clear-btn"}`)[0];Qe.style.display=ot.target.value?"block":"none",He==="allNetClassList"&&d.length>0&&(U.current=ot.target.value,F.current=Z(ot.target.value)),Xe(ot.target.value),He==="allNetClassList"&&(k.current=!0)},Xe=ot=>{let Qe=ot.toLowerCase();B[He]=ot,V(B);let ut=Ye.current.childNodes,rt=!0;for(let ht of ut)ht.innerText.trim().toLowerCase().includes(Qe)?(ht.style.display="block",rt&&Qe&&(He=="allNetClassList"&&ht.getAttribute("title")!==M&&F.current.length===0&&X({target:ht}),rt=!1)):ht.style.display="none"};(0,J0.useLayoutEffect)(()=>{He=="allNetClassList"&&k!=null&&k.current&&(ke.current.focus(),k.current=!1)},[]);let Ge=()=>{Rd(`.${He+"-input"}`)[0].value="",Rd(`.${He+"-clear-btn"}`)[0].style.display="none",B[He]="",V(B),He==="allNetClassList"&&d.length>0&&(U.current="",F.current=Z("")),Ke()},Ke=()=>{Xe(B[He])};return(0,J0.useEffect)(()=>{var ot;if((ot=Rd(`.${He+"-input"}`)[0])!=null&&ot.value)Ke();else{let Qe=Ye.current.childNodes;for(let ut of Qe)ut.style.display="block"}},[(pt=Rd(`.${He+"-input"}`)[0])==null?void 0:pt.value]),(0,gs.jsx)("div",{className:p("filterNetList"),style:{padding:"5px 0"},children:(0,gs.jsx)("div",{className:p("comm-fittinginput-container"),style:{width:"calc(100% - 8px)",marginLeft:"4px"},children:(0,gs.jsxs)("div",{className:p("comm-fittinginput-wrapper"),style:{backgroundColor:`var(${je()?"--bg-color-disabled-input":"--bg-color-input"})`},children:[(0,gs.jsx)("input",{ref:ke,disabled:je(),className:p(`comm-fittinginput-input ${ze.type+"-input"}`),onInput:ot=>Be(ot),type:"text",placeholder:u("Filter"),"data-test":"Filter","data-i18n-attr":"placeholder",defaultValue:B[He]}),(0,gs.jsx)("span",{className:p(`comm-fittinginput-clear ${ze.type+"-clear-btn"} ${B[He]?"":"comm-fittinginput-clear-hidden"}`),onClick:()=>Ge(),children:(0,gs.jsx)("i",{className:p("icon-eda-x-circle-small"),style:{fontSize:"1.5rem"}})}),(0,gs.jsx)("span",{className:p("comm-fittinginput-search"),onClick:()=>Ke(),children:(0,gs.jsx)("i",{className:p("icon-eda-zoom-small")})})]})})})},ce=async ze=>{let He;if(ae)ze==="apply"&&(o.netClass=JSON.parse(JSON.stringify(m)),y([])),["apply","confirm"].includes(ze)&&C.messageBus.publish(r.includes("net-class")?"uploadNetClassData":"uploadEQLGroupData",m);else{switch(ze){case"close":case"cancel":He={};break;case"apply":c=="designRuleDlg"?dg.emit("editNetClass",{btnAction:"apply",newNetClassList:m,changeName:b,type:r},"design-rules"):He={newNetClassList:m,oldNetClassList:a,type:r,changeName:b},o.netClass=JSON.parse(JSON.stringify(m)),y([]);break;case"confirm":{c=="designRuleDlg"?dg.emit("editNetClass",{btnAction:"confirm",newNetClassList:m,changeName:b,type:r},"design-rules"):He={newNetClassList:m,oldNetClassList:a,type:r,changeName:b};break}}c!=="designRuleDlg"&&await oo({action:ze,dialogId:i,formData:He})}r==="new-net-class"&&C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.NET_CLASS,content:{},project_uuid:C.currentProject.projectId}]),r==="new-equal-length-group"&&C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.EQUAL_LENGTH_GROUP,content:{},project_uuid:C.currentProject.projectId}]),ze!=="apply"&&le.close(e)};Bt(()=>{ce("close")}).close(e);let ne=()=>{let ze=()=>{let Ye=A.replace("edit","new");D(Ye),x([]),T(fe(n,m)),I(""),B.allNetClassList="",V(B)},He=()=>{let Ye=P.current.childNodes;Ye.forEach((ke,Be)=>{if(ke.className.includes("selected")){let Xe=ke.getAttribute("title"),Ge=[],Ke=[];f.splice(f.indexOf(Xe),1),g(f),delete m[Xe],h(m),Be!==0?(I(Ye[Be-1].title),Ge=m[Ye[Be-1].title],Ke=n.filter(pt=>!Ge.includes(pt))):f.length>0?(I(f[0]),Ge=m[f[0]],Ke=fe(n.filter(pt=>!Ge.includes(pt)),m)):(I(""),Ge=[],Ke=fe(n,m)),x(Ge),T(Ke),B.allNetClassList="",V(B)}})};return(0,gs.jsxs)("div",{"data-tagitem":"op-btn-wrapper",className:p("display-flex"),style:{paddingBottom:"10px"},children:[(0,gs.jsxs)("div",{children:[(0,gs.jsx)("span",{"data-tagitem":"addOne",className:p(`icon_operate icon_operate_add attr_setting_btn ${je()&&"disabled"}`),style:{marginLeft:"0"},title:u("Add"),onClick:ze}),(0,gs.jsx)("span",{"data-tagitem":"delOne",className:p(`icon_operate icon_operate_delete attr_setting_btn ${(!M||je())&&"disabled"}`),title:u("Delete"),onClick:He})]}),(0,gs.jsx)("div",{style:{flex:"1"},children:(0,gs.jsx)("div",{"data-tagitem":"search-rule-container",style:{padding:"0 5px"}})})]})},oe=ze=>{for(let He in m)if(Object.prototype.hasOwnProperty.call(m,He)&&m[He].includes(ze)){let ke=u({value:"Already belonged to {0}",options:[He]});return(0,gs.jsx)("span",{style:{color:"red"},children:ke})}return""},re=ze=>{ze.stopPropagation(),ze.keyCode==13&&ze.target.blur(),ze.keyCode==27&&(ze.target.value=ze.target.getAttribute("value"),ze.target.blur())},Y=ze=>{let He=ze.target,Ye=He.value.trim();if(Ye.length>32){let ke=u({value:"The typing cannot over {0} characters.",options:[32]});Dt({title:u("Tip"),content:ke,icon:"info",confirmText:"Confirm",closed:!0});return}if(Ye){if(f.includes(Ye)&&ze.target.defaultValue!=Ye){let Xe=(t.extra.type.includes("net-class")?"Net Class":"Equal Length Group")=="Net Class"?"Already exist a net class named {0}":"Already exist an equal length group named {0}",Ge=u({value:Xe,options:[Ye]}),Ke=()=>{Rd(".new-net-class")[0].focus()};Dt({title:u("Tip"),content:Ge,icon:"info",confirmText:"Confirm",onCancel:Ke,closed:!0});return}if(He.defaultValue)for(let Be in m)Object.prototype.hasOwnProperty.call(m,Be)&&Be==He.defaultValue&&(f[f.indexOf(Be)]=Ye,g(f),m[Ye]=m[Be],Be!==Ye&&delete m[Be],h(m),Be!==Ye&&(b.push({oldName:Be,newName:Ye}),y(b)));else{f.push(Ye);let Be=[...f];g(Be),m[Ye]=w,h(m),N("")}let ke=A.replace("new","edit");D(ke),I(Ye)}else{let ke=A.replace("new","edit");D(ke);let Be="",Xe=[],Ge=[];f.length&&(He.defaultValue?(Be=He.defaultValue,Xe=m[Be]):(Be=f[f.length-1],Xe=m[Be])),Ge=fe(n.filter(Ke=>!Xe.includes(Ke)),m),I(Be),x(Xe),T(Ge)}v({edit:!1,editItem:""})},X=ze=>{let He=ze.target.innerText.trim();ze.target.childNodes.length>1&&(He=He.slice(1)),N(""),I(He);let Ye=m[He],ke=n.filter(Be=>!Ye.includes(Be));x(Ye),T(fe(ke,m))},ie=ze=>{let He=ze.target.innerText.trim();ze.target.childNodes.length>1&&(He=He.slice(1)),I(""),v({edit:!0,editItem:He})},de=ze=>{let He=Object.keys(m).includes(ze),Ye=Object.keys(a).includes(ze);if(He&&!Ye)return!0;if(He&&Ye)return m[ze].length==a[ze].length&&m[ze].every(Be=>a[ze].includes(Be))?m[ze].length?!1:a[ze].length:!0},fe=(ze,He)=>{let Ye=[];for(let ke in He)if(Object.prototype.hasOwnProperty.call(He,ke)){let Be=He[ke];for(let Xe=0;Xe<=ze.length-1;Xe++){let Ge=ze[Xe];Be.includes(Ge)&&(Ye.push(...ze.splice(Xe,1)),Xe--)}}return ye(ze),ye(Ye),ze.push(...Ye),ze},ye=ze=>ze.sort((He,Ye)=>ue.naturalSortComparator(ue.naturalSortSplitor(He),ue.naturalSortSplitor(Ye))),Le=(ze,He)=>{let Ye=-1;return ze.forEach((ke,Be)=>{ke.innerText==(He==null?void 0:He.innerText)&&(Ye=Be)}),Ye},Re=ze=>{let He=ze.target.tagName=="SPAN"?ze.target.parentNode:ze.target,Ye=He.parentNode.childNodes;if(ze.shiftKey){q.current>0&&(q.current=-1);let ke=Le(Ye,He),Be=Rd(".lastIndexForShiftShift",He.parentNode)[0],Xe=Le(Ye,Be);Ye.forEach((Ge,Ke)=>{Ke>=Math.min(ke,Xe)&&Ke<=Math.max(ke,Xe)?Ge.className=p("selected"):Ge.className=""})}else He.className.includes("selected")?He.className="":He.className=p("selected"),ze.ctrlKey||Ye.forEach(ke=>{ke.innerText!=He.innerText&&(ke.className="")}),Ye.forEach(ke=>{ke.innerText==He.innerText?!ke.className.includes("lastIndexForShiftShift")&&(ke.className=ke.className+" lastIndexForShiftShift"):ke.className.includes("lastIndexForShiftShift")&&ke.className.replace("lastIndexForShiftShift","")})},Ne=ze=>{let He=ze.target,Ye=r.includes("net-class"),ke=[],Be=[],Xe=JSON.parse(JSON.stringify(w)),Ge=JSON.parse(JSON.stringify(S));O.current.childNodes.forEach(ot=>{ot.className.includes("selected")&&ot.style.display!="none"&&ke.push(Te(ot.innerText))}),_.current.childNodes.forEach(ot=>{ot.className.includes("selected")&&ot.style.display!="none"&&Be.push(Te(ot.innerText))});let Ke=t.extra.type.includes("net-class")?"Net Class":"Equal Length Group",pt="";if(Object.keys(m).length){if(!M){Ke=="Net Class"?pt=u("No net class selected, please choose before join!"):pt=u("No equal length group selected, please choose before join!"),Dt({title:u("Tip"),content:pt,icon:"warning",confirmText:"Confirm",closed:!0});return}}else{Ke=="Net Class"?pt=u("No net class found, please create before join!"):pt=u("No equal length group found, please create before join!"),Dt({title:u("Tip"),content:pt,icon:"warning",confirmText:"Confirm",closed:!0});return}if(He.className.includes("add")){let ot=[];for(let Qe in m)if(Object.prototype.hasOwnProperty.call(m,Qe)){let ut=m[Qe];ke.forEach(rt=>{ut.includes(rt)&&Qe!==M&&ot.push(rt)})}if(ot.length){let ht=function(){for(let zt in m)if(Object.prototype.hasOwnProperty.call(m,zt)){let gt=m[zt];ke.forEach(Qt=>{if(gt.includes(Qt))zt!==M&&m[zt].splice(m[zt].indexOf(Qt),1);else{!Xe.includes(Qt)&&Xe.push(Qt);let yt=Ge.indexOf(Qt);yt>-1&&Ge.splice(yt,1)}})}m[M]=Xe,h(m),x(Xe),T(Ge)},Qe=u("Do you want to move out and join the current net class?"),rt=u({value:Ye?"Nets below are ready in other net class: {0}":"Nets below are ready in other equal length group: {0}",options:[ot.join(", ")]});rt=rt+`
`+Qe;let ct=()=>{ht()},wt=()=>{ke=ke.filter(zt=>!ot.includes(zt)),ht()};Dt({title:u("Warn"),content:rt,showCancel:!0,onConfirm:ct,onCancel:wt,closed:!0});return}else{for(let Qe of ke){!Xe.includes(Qe)&&Xe.push(Qe);let ut=Ge.indexOf(Qe);ut>-1&&Ge.splice(ut,1)}m[M]=Xe}}else{let Qe=((rt,ht)=>{let ct=[];for(let wt in rt)wt!==ht&&ct.push(...rt[wt]);return ct})(m,M),ut=Ge.length-Qe.length;for(let rt of Be){!Ge.includes(rt)&&Ge.splice(ut,0,rt);let ht=Ge.slice(0,ut+1),ct=Ge.slice(ut+1);Ge=[...ye(ht),...ct];let zt=Xe.indexOf(rt);zt>-1&&Xe.splice(zt,1)}m[M]=Xe}h(m),x(Xe),T(Ge),O.current.childNodes.forEach((ot,Qe)=>{ot.className.includes("selected")&&(ot.className="")}),_.current.childNodes.forEach((ot,Qe)=>{ot.className.includes("selected")&&(ot.className="")})},Te=ze=>{let He=ze.indexOf(u("Already belonged to"));return He!==-1&&(ze=ze.slice(0,He-1)),ze},Pe=A.split("-")[0],Oe=ze=>ze.filter(Ye=>Ye.className.includes("selected")).length>1?(De({type:"warn",msg:"Can only be moved by select a row"}),!1):!0,Ue=(ze,He)=>{ze.forEach((Ye,ke)=>{if(ke===He){Ye.className=p("selected");let Be=Ye.clientHeight,Xe=He*Be,Ge=Ye.parentElement.scrollTop,Ke=Ye.parentElement.clientHeight,pt=Xe+Be;!(Xe>Ge&&pt<Ge+Ke)&&Ye.scrollIntoView({behavior:"smooth"})}else Ye.className=""})},Ve=Gr(ze=>{if(!G.current&&!Q.current&&!H.current||G.current&&S.length===0)return;let He=[];if(Q.current&&(He=ye(w),He.length===0))return;let Ye=[];if(H.current&&(j.current.childNodes.forEach(Be=>{Ye=Ye.concat(Be.childNodes)}),Ye.length===0))return;let ke=ze.code;if(["ShiftLeft","ShiftRight"].includes(ke)&&q.current>0&&(q.current=-1),["ArrowDown","ArrowUp","Home","End","PageDown","PageUp"].includes(ke)){ze.preventDefault(),ze.stopPropagation();let Be,Xe;G.current&&(Be=O.current,Xe=Array.from(Be.childNodes)),Q.current&&(Be=_.current,Xe=Array.from(_.current.childNodes)),H.current&&(Be=j.current,Xe=Ye.reduce((Ke,pt)=>(Ke=Ke.concat(Array.from(pt)),Ke),[]));let Ge=Xe.length;if(Ge===0)return;switch(ke){case"ArrowDown":if(ze.shiftKey&&!H.current){if(Xe.findIndex(zt=>zt.className.includes("selected"))===-1){Ue(Xe,0);return}if(q.current<0){let zt=Xe.findLastIndex(gt=>gt.className.includes("selected"));q.current=zt+1}else q.current++;let pt=Math.min(q.current,Ge-1),ot=Xe[pt];ot.className=p("selected");let Qe=ot.clientHeight,ut=pt*Qe,rt=ot.parentElement.scrollTop,ht=ot.parentElement.clientHeight,ct=ut+Qe;!(ut>rt&&ct<rt+ht)&&ot.scrollIntoView({behavior:"smooth"})}else if(Oe(Xe)){let Ke=Xe.findIndex(pt=>pt.className.includes("selected"));if(Ke>-1){let pt=Ke+1;if(pt===Ge)return;Ue(Xe,pt)}else Ue(Xe,0)}break;case"ArrowUp":if(ze.shiftKey&&!H.current){if(Xe.findIndex(zt=>zt.className.includes("selected"))===-1){Ue(Xe,0);return}if(q.current<0){let zt=Xe.findLastIndex(gt=>gt.className.includes("selected"));q.current=zt}let pt=q.current-1;if(pt<0)return;let ot=Xe[q.current],Qe=Xe[pt];ot.className.includes("selected")&&Qe.className.includes("selected")?ot.className="":Qe.className=p("selected"),q.current=pt;let ut=ot.clientHeight,rt=q.current*ut,ht=ot.parentElement.scrollTop,ct=ot.parentElement.clientHeight;!(rt>ht&&rt<ht+ct)&&ot.scrollIntoView({behavior:"smooth"})}else if(Oe(Xe)){let Ke=Xe.findIndex(pt=>pt.className.includes("selected"));if(Ke>-1){let pt=Ke-1;if(pt<0)return;Ue(Xe,pt)}else Ue(Xe,0)}break;case"Home":Ue(Xe,0);break;case"End":Ue(Xe,Ge-1);break;case"PageDown":{let Ke=Xe[0].clientHeight,pt=Be.clientHeight,ot=Be.scrollTop,Qe=ot+pt,ut=Be.scrollHeight;if(Qe>=ut){Ue(Xe,Ge-1);return}Qe=Math.min(ot+pt,ut-pt);let rt=Math.floor(Qe/Ke)+1,ht=Math.max(1,Math.min(rt,Ge));Ue(Xe,ht)}break;case"PageUp":{let Ke=Be.scrollTop;if(Ke===0){Ue(Xe,0);return}let pt=Be.clientHeight,ot=Xe[0].clientHeight,Qe=Math.max(Ke-pt,0),ut=0;if(Qe!==0){let rt=Math.floor(Qe/ot)+1;ut=Math.max(1,Math.min(rt,Ge))}Ue(Xe,ut)}break;default:break}}},100);return Gs("keyup",Ve),Gs("keydown",ze=>{switch(ze.code){case"ArrowDown":case"ArrowUp":case"Home":case"End":case"PageDown":case"PageUp":ze.preventDefault(),ze.stopPropagation();break;default:break}}),(0,gs.jsxs)("div",{className:p("pop-content-container"),style:{height:"100%"},onKeyDown:ze=>ze.keyCode==27&&ce("close"),children:[(0,gs.jsxs)("div",{className:p("editNetClass"),style:{marginBottom:"20px"},children:[(0,gs.jsxs)("div",{className:p("allNetClassName"),children:[(0,gs.jsx)(ne,{}),(0,gs.jsxs)("fieldset",{className:p("netClassNameWrap"),children:[(0,gs.jsx)(ee,{type:"allNetClassList",refData:P}),(0,gs.jsxs)("div",{className:p("ul-wrap"),ref:j,onMouseEnter:()=>{H.current=!0},onMouseLeave:()=>{H.current=!1},children:[(0,gs.jsx)("ul",{children:K.map(ze=>(0,gs.jsxs)("li",{onClick:He=>pe(ze.busId),title:ze.busName,className:p(`${ze.busId===E&&"selected"}`),children:[(0,gs.jsx)("span",{children:ze.busName}),(0,gs.jsx)("span",{className:p("bus-icon")})]},`all-netClass-list-${ze.busId}`))}),(0,gs.jsxs)("ul",{className:p("allNetClassList"),ref:P,children:[f.map((ze,He)=>{let Ye="";return(Pe=="join"||Pe=="edit")&&(M?ze==M&&(Ye="selected"):He==0&&!E&&(Ye="selected")),R.edit&&R.editItem==ze?(0,gs.jsx)("li",{children:(0,gs.jsx)("input",{disabled:je(),defaultValue:R.editItem,autoFocus:!0,onKeyDown:ke=>re(ke),onBlur:ke=>Y(ke),type:"text",name:"netClassName",className:p("form-box netClassName new-net-class"),style:{width:"100%"},autoComplete:"off"})},`all-netClass-list-${He}`):(0,gs.jsxs)("li",{onDoubleClick:ke=>ie(ke),onClick:ke=>{X(ke),k.current=!1},title:ze,className:p(Ye),children:[de(ze)?(0,gs.jsx)("span",{className:p("tr-menu-item-text-tag"),children:"*"}):null,ze]},`all-netClass-list-${He}`)}),Pe=="new"&&(0,gs.jsx)("li",{children:(0,gs.jsx)("input",{disabled:je(),autoFocus:!0,onKeyDown:ze=>re(ze),onBlur:ze=>Y(ze),type:"text",name:"netClassName",className:p("form-box netClassName new-net-class"),style:{width:"100%"},autoComplete:"off"})})]})]})]})]}),(0,gs.jsxs)("div",{className:p("netlist-for-netclass"),children:[(0,gs.jsxs)("fieldset",{children:[(0,gs.jsx)("legend",{"data-test":"Not Selected",children:u({context:"netClass",value:"Not Selected"})}),(0,gs.jsx)(ee,{type:"notSelectedList",refData:O}),(0,gs.jsx)("ul",{className:p("notSelectedList"),ref:O,onMouseEnter:()=>{G.current=!0},onMouseLeave:()=>{G.current=!1},children:S.map((ze,He)=>(0,gs.jsxs)("li",{onClick:Ye=>Re(Ye),children:[ze,oe(ze)]},`not-selected-list-${He}`))})]}),(0,gs.jsxs)("div",{className:p("middle-buttons"),children:[(0,gs.jsx)("div",{onClick:ze=>Ne(ze),className:p(`add ${(je()||E)&&"disabled backgroundDisabled"}`),children:(0,gs.jsx)("span",{className:p("add"),children:">"})}),(0,gs.jsx)("div",{onClick:ze=>Ne(ze),className:p(`delete ${(je()||E)&&"disabled backgroundDisabled"}`),children:(0,gs.jsx)("span",{className:p("delete"),children:"<"})})]}),(0,gs.jsxs)("fieldset",{children:[(0,gs.jsx)("legend",{"data-test":"Selected",children:u({context:"netClass",value:"Selected"})}),(0,gs.jsx)(ee,{type:"selectedList",refData:_}),(0,gs.jsx)("ul",{className:p("selectedList"),ref:_,onMouseEnter:()=>{Q.current=!0},onMouseLeave:()=>{Q.current=!1},children:ye(w).map((ze,He)=>(0,gs.jsx)("li",{onClick:Ye=>Re(Ye),children:ze},`selected-list-${He}`))})]})]})]}),(0,gs.jsx)("div",{className:p("pop-footer-wrapper"),children:Eso.map((ze,He)=>(0,gs.jsx)(Me,{type:ze.type,style:ze.style,disabled:ze.disabled&&ze.disabled(),dataTest:ze.dataTest,onClick:()=>ce(ze.command),children:u(ze.text)},`bottom-btn-${He}`))})]})},U$e=jPr;var G$e=L(z());async function kso(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;r=`${t.extra.type.includes("net-class")?"Net Class":"Equal Length Group"} Manager`;let c=document.getElementById(o);le.open({id:o,title:r,width:n,height:a,closed:s,children:(0,G$e.jsx)(U$e,{containerId:o,dialogId:t.dialogId,extra:t.extra})})}async function V$e(){let t=bt["edit-netClass"],{containerId:e,width:i,height:o,closed:r}=t,n="Net Class Manager ",a=(await C.messageBus.rpcCall("getNlNetBySchematicId",gi())).message,s=Object.keys(a).sort((p,m)=>p.localeCompare(m,void 0,{numeric:!0})),l=(await C.messageBus.rpcCall("sch/getSchNetClassData",gi())).message,c=(await C.messageBus.rpcCall("sch/autoGenNetClass",gi())).message,u={type:`${Object.keys(l).length===0&&c.length===0?"new":"edit"}-net-class`,allNets:s,netClass:l,selectedNets:[],from:"listen",netClassName:"",autoNetClass:c};le.open({id:e,title:n,width:i,height:o,closed:r,children:(0,G$e.jsx)(U$e,{containerId:e,dialogId:e,extra:u})})}async function H$e(){let t=bt["edit-netClass"],{containerId:e,width:i,height:o,closed:r}=t,n="Equal Length Group Manager",a=(await C.messageBus.rpcCall("getNlNetBySchematicId",gi())).message,s=Object.keys(a).sort((u,p)=>u.localeCompare(p,void 0,{numeric:!0})),l=(await C.messageBus.rpcCall("sch/getSchEQLGroupData",gi())).message,d={type:`${Object.keys(l).length===0?"new":"edit"}-equal-length-group`,allNets:s,netClass:l,selectedNets:[],from:"listen",netClassName:""};le.open({id:e,title:n,width:i,height:o,closed:r,children:(0,G$e.jsx)(U$e,{containerId:e,dialogId:e,extra:d})})}var y$=L(Se());var fIe=(r=>(r.tips="Locked objects found, please choose your operation:",r.skipLocked="Continue current operation, skip the locked object",r.remainLocked="Continue current operation, but do not unlock the object",r.unLockLocked="Continue current operation\uFF0Cwhile unlocking the object",r))(fIe||{});var sPt=L(Oso()),lPt=L(eC()),sx=L(z()),BPr=t=>{let{containerId:e,status:i,dialogId:o}=t,r=J();Ae(sPt.default),Ae(lPt.default);let n=be.bind(sPt.default.locals),a=be.bind(lPt.default.locals),s=(0,y$.useRef)(null),l=document.getElementById(e),[c,d]=(0,y$.useState)(i);(0,y$.useLayoutEffect)(()=>{let h=l.querySelector(`[value=${i}]`);h&&h.setAttribute("checked","checked"),s.current&&s.current.focus()},[]);let u=async h=>{await oo({action:h,dialogId:o,formData:h==="confirm"?{status:c}:{}}),le.close(e)},p=h=>{h.keyCode===13&&u("confirm")};Bt(()=>{u("close")}).close(e),Bt(({code:h})=>{h==="Escape"&&u("close")}).keyboard(e);let m=(0,y$.useCallback)(h=>{let{labelName:f,onChange:g}=h;return(0,sx.jsx)("p",{style:{marginBottom:"16px"},children:(0,sx.jsxs)("label",{children:[(0,sx.jsx)("input",{"data-test":fIe[f],value:f,style:{width:"30px",verticalAlign:"middle",margin:0},type:"radio",name:"action-for-locked",onChange:()=>g&&g(f)}),(0,sx.jsx)("span",{"data-test":fIe[f],children:r(fIe[f])})]})})},[]);return(0,sx.jsxs)("div",{className:n("container"),ref:s,tabIndex:0,onKeyDown:p,children:[(0,sx.jsxs)("div",{className:n("body"),children:[(0,sx.jsx)("div",{className:a("icon-eda-warning")}),(0,sx.jsxs)("div",{className:n("content"),children:[(0,sx.jsx)("p",{style:{marginBottom:"16px"},"data-test":"Locked objects found, please choose your operation:",children:r("Locked objects found, please choose your operation:")}),(0,sx.jsx)(m,{labelName:"skipLocked",onChange:h=>d(h)}),(0,sx.jsx)(m,{labelName:"remainLocked",onChange:h=>d(h)}),(0,sx.jsx)(m,{labelName:"unLockLocked",onChange:h=>d(h)})]})]}),(0,sx.jsxs)("div",{className:n("footer"),children:[(0,sx.jsx)(Me,{type:"primary",onClick:()=>u("confirm"),children:"Confirm"}),(0,sx.jsx)(Me,{onClick:()=>u("cancel"),children:"Cancel"})]})]})},Rso=BPr;var jso=L(z());async function _so(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;await le.open({id:o,title:r,width:n,closed:s,children:(0,jso.jsx)(Rso,{containerId:o,status:t.extra.status,dialogId:t.dialogId})})}var rse=L(Se());var lx=L(z()),zPr=t=>{let{containerId:e,moveWhole:i,dialogId:o}=t,r=J(),n=document.getElementById(e),[a,s]=(0,rse.useState)(i),[l,c]=(0,rse.useState)(!1);(0,rse.useLayoutEffect)(()=>{let p=n.querySelector('[value="moveWhole"]');p&&p.setAttribute("checked","checked")},[]);let d=async p=>{await oo({action:p,dialogId:o,formData:p==="confirm"?{moveWhole:a,notAsking:l}:{}}),le.close(e)};Bt(()=>{d("close")}).close(e),Bt(({code:p})=>{p==="Escape"&&d("close")}).keyboard(e);let u=(0,rse.useCallback)(p=>{let{value:m,text:h,onChange:f}=p;return(0,lx.jsx)("p",{style:{marginBottom:"16px"},children:(0,lx.jsxs)("label",{children:[(0,lx.jsx)("input",{value:m,style:{width:"30px",verticalAlign:"middle",margin:0},type:"radio",name:"action-for-locked",onChange:()=>f&&f(m)}),(0,lx.jsx)("span",{className:"i18n",i18n:h,children:r(h)})]})})},[]);return(0,lx.jsxs)("div",{className:"pop-content-container",style:{height:"auto"},children:[(0,lx.jsxs)("div",{style:{position:"relative",marginBottom:"16px"},children:[(0,lx.jsx)("div",{className:"messager-icon messager-info"}),(0,lx.jsxs)("div",{children:[(0,lx.jsx)("p",{style:{marginBottom:"16px"},className:"i18n",children:r("Please confirm moving option")}),(0,lx.jsx)($i,{value:a?"moveWhole":"moveSelf",options:[{value:"moveWhole",label:r("For this component")},{value:"moveSelf",label:r("Only this pad")}],layoutVertical:!0,onChange:p=>s(p=="moveWhole")})]}),(0,lx.jsx)("div",{style:{position:"absolute",bottom:"-41px",zIndex:9022},children:(0,lx.jsx)(qt,{checked:l,onChange:c,children:"Don't show again"})})]}),(0,lx.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,lx.jsx)(Me,{type:"primary",style:{marginRight:"8px"},class:"i18n",onClick:()=>d("confirm"),children:"Confirm"}),(0,lx.jsx)(Me,{onClick:()=>d("cancel"),class:"i18n",children:"Cancel"})]})]})},Bso=zPr;var Fso=L(z());async function zso(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;le.open({id:o,title:r,width:n,height:a,closed:s,children:(0,Fso.jsx)(Bso,{containerId:o,moveWhole:t.extra.moveWhole,dialogId:t.dialogId})})}var $Y=L(Se());var Uso=[{name:"Quantity",list:[["column","row"],["columnSpacing","rowSpacing"],"vCutHorizontal",["stampPerColumn","stampPerRow"],["stampHoleDiameter","stampHoleSpacing"],"stampHolePerGroup"]},{name:"Technology Side",list:["createBorder",["borderHeight","borderPosition"],"createPositionHole","positionHoleDiameter","createMark",["markDiameter","markExpansion"]]},{name:"Other",list:["onlyOutline","resetCanvasOrigin"]}],Vso={row:{name:"Row",inputType:"int",value:t=>t.row},column:{name:"Column",inputType:"int",value:t=>t.column},rowSpacing:{name:"Row Spacing",inputType:"float",value:t=>t.rowSpacing,disabled:t=>!t.borderAtLeftRight&&!t.stampRow,resetVal:(t,e)=>t>0&&t<e.minSpacing?e.minSpacing:null,check:(t,e)=>t-e.minSpacing>-1e-8||t==0&&!e.stampRow},columnSpacing:{name:"Column Spacing",inputType:"float",value:t=>t.columnSpacing,disabled:t=>!t.borderAtTopBottom&&!t.stampColumn,resetVal:(t,e)=>t>0&&t<e.minSpacing?e.minSpacing:null,check:(t,e)=>t-e.minSpacing>-1e-8||t==0&&!e.stampColumn},vCutHorizontal:{name:"V-CUT Direction",inputType:"radio",value:t=>t.vCutHorizontal?"yes":"no",options:[{text:"Horizontal",value:"yes"},{text:"Vertical",value:"no"}],hidden:t=>t.stampRow==t.stampColumn,updateParam:(t,e)=>{let i=t=="yes";return{vCutHorizontal:i,stampRow:!i,stampColumn:i}}},stampPerColumn:{name:"Stamp Hole Group - Column",inputType:"int",value:t=>t.stampPerColumn,resetVal:(t,e,i)=>t<1?1:t>i.height/(e.stampHoleSpacing*e.stampHolePerGroup)?Math.floor(i.height/(e.stampHoleSpacing*e.stampHolePerGroup)):null,check:(t,e,i)=>t<=i.height/(e.stampHoleSpacing*e.stampHolePerGroup),hidden:t=>!t.stampColumn},stampPerRow:{name:"Row",inputType:"int",value:t=>t.stampPerRow,resetVal:(t,e,i)=>t<1?1:t>i.width/(e.stampHoleSpacing*e.stampHolePerGroup)?Math.floor(i.width/(e.stampHoleSpacing*e.stampHolePerGroup)):null,check:(t,e,i)=>t<=i.width/(e.stampHoleSpacing*e.stampHolePerGroup),hidden:t=>!t.stampRow},stampHoleDiameter:{name:"Stamp Hole Diameter",inputType:"float",value:t=>t.stampHoleDiameter,resetVal:(t,e)=>t>=0&&t<e.minStampHoleDiameter?e.minStampHoleDiameter:null,check:(t,e)=>t>=e.minStampHoleDiameter,hidden:t=>!t.stampRow&&!t.stampColumn},stampHoleSpacing:{name:"Spacing",inputType:"float",value:t=>t.stampHoleSpacing,resetVal:(t,e)=>t>=0&&t<e.minStampHoleSpacing?e.minStampHoleSpacing:null,check:(t,e)=>t>=e.minStampHoleSpacing,hidden:t=>!t.stampRow&&!t.stampColumn},stampHolePerGroup:{name:"Number of Stamp Holes Per Group",inputType:"int",value:t=>t.stampHolePerGroup,resetVal:(t,e,i)=>t<1?1:t>Math.min(i.width/(e.stampHoleSpacing*e.stampPerRow),i.height/(e.stampHoleSpacing*e.stampPerColumn))?Math.floor(Math.min(i.width/(e.stampHoleSpacing*e.stampPerRow),i.height/(e.stampHoleSpacing*e.stampPerColumn))):null,check:(t,e,i)=>t<=i.width/(e.stampHoleSpacing*e.stampPerRow)&&t<=i.height/(e.stampHoleSpacing*e.stampPerColumn),hidden:t=>!t.stampRow&&!t.stampColumn},createBorder:{name:"Create Technology Side",inputType:"radio",value:t=>t.createBorder?"yes":"no",updateParam:(t,e)=>{t=="yes"&&!e.borderAtTopBottom&&!e.borderAtLeftRight&&(e.borderAtTopBottom=!0,e.borderAtLeftRight=!1),e.createBorder=t=="yes"}},borderHeight:{name:"Technology Side Height",inputType:"float",value:t=>t.borderHeight,resetVal:(t,e)=>t>=0&&t<e.minBorderHeight?e.minBorderHeight:null,check:(t,e)=>t>=e.minBorderHeight,disabled:t=>!t.createBorder},borderPosition:{name:"Position",inputType:"select",value:t=>t.borderAtTopBottom&&t.borderAtLeftRight?"both":t.borderAtLeftRight?"leftRight":"topBottom",options:[{text:"Top and Bottom",value:"topBottom"},{text:"Left and Right",value:"leftRight"},{text:"Board Around",value:"both"}],disabled:t=>!t.createBorder,updateParam:(t,e)=>t=="both"?{borderAtTopBottom:!0,borderAtLeftRight:!0}:t=="leftRight"?{borderAtTopBottom:!1,borderAtLeftRight:!0}:{borderAtTopBottom:!0,borderAtLeftRight:!1}},createPositionHole:{name:"Create Positioning Holes",inputType:"radio",value:t=>t.createPositionHole?"yes":"no",disabled:t=>!t.createBorder},positionHoleDiameter:{name:"Positioning Holes Diameter",inputType:"float",value:t=>t.positionHoleDiameter,resetVal:(t,e)=>t>=0&&t<e.minPositionHoleDiameter?e.minPositionHoleDiameter:null,check:(t,e)=>t>=e.minPositionHoleDiameter,disabled:t=>!t.createBorder||!t.createPositionHole},createMark:{name:"Create Fiducial Marks",inputType:"radio",value:t=>t.createMark?"yes":"no",disabled:t=>!t.createBorder},markDiameter:{name:"Fiducial Mark Diameter",inputType:"float",value:t=>t.markDiameter,resetVal:(t,e)=>t>=0&&t<e.minMarkDiameter?e.minMarkDiameter:null,check:(t,e)=>t>=e.minMarkDiameter,disabled:t=>!t.createBorder||!t.createMark},markExpansion:{name:"Solder Mask Expansion",inputType:"float",value:t=>t.markExpansion,resetVal:(t,e)=>t>=0&&t<e.minMarkExpansion?e.minMarkExpansion:null,check:(t,e)=>t>=e.minMarkExpansion,disabled:t=>!t.createBorder||!t.createMark},resetCanvasOrigin:{name:"Set Canvas Origin",inputType:"radio",value:t=>t.resetCanvasOrigin?"yes":"no",options:[{text:"Bottom left corner",value:"yes"},{text:"Keep current position",value:"no"}]},onlyOutline:{name:"Panelize Type",inputType:"select",value:t=>t.onlyOutline?"yes":"no",options:[{text:"Only BoardOutline",value:"yes"},{text:"All Objects",value:"no"}]}};var cPt=L(Gso());var Tm=L(z());var FPr={true:"Tips: When only panelizing the board outline, the Gerber and Pick and Place file only contains single board data, the Gerber file has a small size, most PCB manufacturers support this option.",false:"Tips: When panelizing the full objects, the Gerber and Pick and Place file contains all boards data, the Gerber file has a big size, some PCB manufacturers need this option."},{locals:V7}=cPt.default,UPr=t=>{Ae(cPt.default);let{containerId:e,unit:i,bbox:o,dialogId:r}=t,[n,a]=(0,$Y.useState)({...t.param,createBorder:t.param.borderAtLeftRight||t.param.borderAtTopBottom,vCutHorizontal:!t.param.stampRow,onlyOutlineBefore:t.param.onlyOutline}),s=J(),l=(0,$Y.useRef)({closeMsgBus:null}),c=document.getElementById(e),d=(0,$Y.useMemo)(()=>n.on?n.stampColumn&&n.stampRow?"stampHole":!n.stampColumn&&!n.stampRow?"vCut":"vCutStamp":"noPanelize",[n.on,n.stampRow,n.stampColumn]);(0,$Y.useEffect)(()=>{let g=C.messageBus.subscribe(`keyboard_${e}`,b=>{(b==null?void 0:b.key)=="Enter"||(b==null?void 0:b.key)=="Escape"&&u("cancel")});return()=>{g.cancel()}},[]),(0,$Y.useEffect)(()=>{let g=g1(c.querySelector("#panelizePreview"),"panelizePreview",se.PCB);g.onload=async function(){let b=await ei(),y=(await C.windowBridge.rpcCall("FileSourceForPanelizePreview","",b.contentWindow)).message,w={docType:se.PCB,tabId:"panelizePreview",dataStr:y,commSystemSetting:hn(),isPreview:!0,currOpenProjectId:C.currentProject.projectId};await C.windowBridge.rpcCall("rpcInitFrameInfo",w,g.contentWindow),document.getElementById("panelizeDlgMask").style.display="none"},setTimeout(()=>{let b=document.getElementById("panelizeDlgMask");b&&(b.style.display="none")},1e4),l.current.closeMsgBus=C.messageBus.subscribe(`close_${e}`,()=>{u("close")})},[]);let u=async g=>{let b={panelizeParam:{...n,createBorder:void 0,vCutHorizontal:void 0,onlyOutlineBefore:void 0,borderAtTopBottom:n.createBorder&&n.borderAtTopBottom,borderAtLeftRight:n.createBorder&&n.borderAtLeftRight},checkFirstRender:n.onlyOutlineBefore&&!n.onlyOutline};await oo({action:g,dialogId:r,formData:g==="confirm"?b:{}}),l.current.closeMsgBus.cancel(),le.close(e)};function p(g,b){return ue.unitConversion.conversion("mil",b,+g*10)}function m(g,b=!1){var x,S,T,M;let y=Vso[g],w;switch(y.inputType){case"int":w=(0,Tm.jsx)(or,{className:[V7.formBox,g].join(" "),disabled:!n.on||((x=y.disabled)==null?void 0:x.call(y,n)),value:y.value(n),inputUnit:"",onChange:I=>{let A=parseInt(I.toString());(isNaN(A)||A<1||y.check&&!y.check(A,n,o))&&(A=y.resetVal&&y.resetVal(A,n,o)?y.resetVal(A,n,o):NaN),isNaN(A)||h({[g]:A})}});break;case"float":w=(0,Tm.jsx)(or,{className:[V7.formBox,g].join(" "),disabled:!n.on||((S=y.disabled)==null?void 0:S.call(y,n)),value:p(y.value(n),i),originUnit:i,inputUnit:i,onChange:I=>{let A=+I,D=ue.unitConversion.conversion(i,"mil",A)/10,E;y.check&&!y.check(D,n,o)?E=y.resetVal(D,n,o):E=D,E!=null&&h({[g]:E})}});break;case"select":{let I=y.options||[{text:"Yes",value:"yes"},{text:"No",value:"no"}];w=(0,Tm.jsx)(xt,{disabled:!n.on,list:I,className:g,value:y.value(n),onChange:A=>{let D=["yes","no"].includes(A)?A=="yes":A,E;y.updateParam?E=y.updateParam(D,n):E={[g]:D},h(E)}});break}case"radio":{let I=y.options||[{text:"Yes",value:"yes"},{text:"No",value:"no"}];w=(0,Tm.jsx)($i,{name:g,className:g,disabled:!n.on||((T=y.disabled)==null?void 0:T.call(y,n)),value:y.value(n),options:I.map(A=>({value:A.value,label:A.text})),onChange:A=>{let D;y.updateParam?D=y.updateParam(A,n):D={[g]:A=="yes"},h(D,g=="vCutHorizontal")}});break}}return(0,Tm.jsxs)("div",{className:[V7.formItem,b?"secondColumn":"firstColumn"].join(" "),style:{display:(M=y.hidden)!=null&&M.call(y,n)?"none":"",width:g==="resetCanvasOrigin"?"100%":"50%"},children:[(0,Tm.jsxs)("label",{className:[V7.formLabel,V7.secondColumnLabel].join(" "),"data-test":y.name,children:[s(g=="stampPerRow"?n.stampRow&&!n.stampColumn?"Stamp Hole Group - Row":"Row":y.name),":"]}),w]},y.name)}function h(g,b=!1){g={...n,...g},b&&["rowSpacing","columnSpacing"].forEach(w=>{let x=w=="rowSpacing"&&g.stampRow||w=="columnSpacing"&&g.stampColumn;g[w]=x?g.minSpacing:0}),a(g);let y=c.querySelector("#panelizePreview iframe");C.windowBridge.rpcCall("PreviewPanelize",{...g,borderAtTopBottom:g.createBorder&&g.borderAtTopBottom,borderAtLeftRight:g.createBorder&&g.borderAtLeftRight},y.contentWindow)}function f(g){switch(g){case"noPanelize":h({on:!1});break;case"stampHole":h({on:!0,stampRow:!0,stampColumn:!0},!0);break;case"vCut":h({on:!0,stampRow:!1,stampColumn:!1},!0);break;case"vCutStamp":h({on:!0,stampRow:!n.vCutHorizontal,stampColumn:n.vCutHorizontal},!0);break}}return(0,Tm.jsxs)(Tm.Fragment,{children:[(0,Tm.jsxs)("div",{className:V7.dlgPanelize,id:"dlgPanelize",children:[(0,Tm.jsx)("div",{id:"panelizeDlgMask",style:{width:"100%",height:"100%",zIndex:"100",backgroundColor:"rgba(0, 0, 0, 0.3)",position:"absolute",top:"0",left:"0",display:"flex",alignItems:"center"},children:(0,Tm.jsx)("div",{className:"icon-eda-loading rotation",style:{width:"48px",height:"48px",marginLeft:"25%"}})}),(0,Tm.jsxs)("div",{className:"form",style:{boxSizing:"border-box",width:"100%",height:"100%",display:"flex"},children:[(0,Tm.jsxs)("div",{style:{width:"700px",height:"100%",overflowY:"auto",overflowX:"hidden",flexShrink:"0",marginRight:"16px"},children:[(0,Tm.jsxs)("div",{className:"matrix-con "+V7.box,children:[(0,Tm.jsx)("span",{className:V7.title,"data-test":"Type",children:s("Type")}),(0,Tm.jsx)($i,{name:"panelizeType",value:d,style:{paddingLeft:"5px",paddingRight:"10px",display:"flex",justifyContent:"space-between"},options:[{value:"vCut",label:"V-CUT"},{value:"stampHole",label:"Stamp Hole"},{value:"vCutStamp",label:"V-CUT + Stamp Hole"},{value:"noPanelize",label:"No Panelize"}],onChange:g=>f(g)})]}),Uso.map(g=>(0,Tm.jsxs)("div",{className:"matrix-con "+V7.box,children:[(0,Tm.jsx)("span",{className:V7.title,"data-test":g.name,children:s(g.name)}),g.list.map((b,y)=>Array.isArray(b)?(0,Tm.jsx)("div",{style:{display:"flex"},children:b.map((w,x)=>m(w,x>0))},y):m(b))]},g.name))]}),(0,Tm.jsxs)("div",{style:{width:"50%",marginTop:"20px",overflow:"hidden",display:"flex",flexDirection:"column"},children:[(0,Tm.jsx)("div",{id:"panelizePreview",style:{height:"calc(100% - 50px)",overflow:"hidden"}}),(0,Tm.jsx)("div",{id:"tipsForPanelizeType",className:V7.tipsForPanelizeType,children:s(FPr[n.onlyOutline])})]})]})]}),(0,Tm.jsxs)("div",{className:V7.popFooterWrapper,children:[(0,Tm.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>u("confirm"),children:"Confirm"}),(0,Tm.jsx)(Me,{onClick:()=>u("cancel"),children:"Cancel"})]})]})},Yso=UPr;var Qso=L(z());async function Wso(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,children:(0,Qso.jsx)(Yso,{containerId:o,dialogId:t.dialogId,unit:t.unit,param:t.panelizeParam,bbox:t.bbox})})}var gIe=L(Se());var uPt=L(Zso());var Ey=L(z()),{locals:dPt}=uPt.default,VPr=t=>{Ae(uPt.default);let{containerId:e,dialogId:i}=t,o=J(),[r,n]=(0,gIe.useState)(t.operation),[a,s]=(0,gIe.useState)(t.range),[l,c]=(0,gIe.useState)(t.onlySelect),[d,u]=(0,gIe.useState)(t.realTimeUpdateUnusedLayers),p=async m=>{await oo({action:m,dialogId:i,formData:m==="apply"?{operation:r,range:a,onlySelect:l,realTimeUpdateUnusedLayers:d}:{}}),m!="apply"&&le.close(e)};return Bt(()=>{p("close")}).close(e),Bt(({code:m})=>{m==="Escape"&&p("close")}).keyboard(e),(0,Ey.jsxs)("div",{className:"pop-content-container",style:{height:"auto"},children:[(0,Ey.jsxs)("div",{style:{position:"relative",marginBottom:"16px"},children:[(0,Ey.jsxs)("div",{children:[(0,Ey.jsxs)("fieldset",{className:dPt.gray_dialog_border,children:[(0,Ey.jsx)("legend",{"data-test":"Unused Pad Operation",children:o("Unused Pad Operation")}),(0,Ey.jsx)($i,{value:r,options:[{value:"remove",label:o("Remove")},{value:"restore",label:o({value:"Restore",context:"remove_unused_pad"})},{value:"update",label:o("Update")}],onChange:m=>n(m)})]}),(0,Ey.jsxs)("fieldset",{className:dPt.gray_dialog_border,children:[(0,Ey.jsx)("legend",{"data-test":"Application Range",children:o("Application Range")}),(0,Ey.jsx)($i,{value:a.toString(),options:[{value:"1",label:o("All")},{value:"2",label:o("Only Pad")},{value:"3",label:o("Only Via")}],onChange:m=>s(+m)})]}),(0,Ey.jsxs)("fieldset",{className:dPt.gray_dialog_border,children:[(0,Ey.jsx)("div",{children:(0,Ey.jsx)(qt,{checked:l,onChange:m=>c(m),children:"Valid only for Selected"})}),(0,Ey.jsx)("div",{children:(0,Ey.jsx)(qt,{checked:d,onChange:m=>u(m),children:"Real-Time Update"})})]})]}),(0,Ey.jsx)("div",{children:o("Tip: This function is only valid for the signal layer of the inner layer, the pads of the top layer, bottom layer and plane layer will not be removed")})]}),(0,Ey.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,Ey.jsx)(Me,{type:"primary",style:{marginRight:"8px"},class:"i18n",onClick:()=>p("apply"),children:"Apply"}),(0,Ey.jsx)(Me,{onClick:()=>p("cancel"),class:"i18n",children:"Cancel"})]})]})},Jso=VPr;var Xso=L(z());async function qso(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s,mask:l}=i;le.open({id:o,title:r,width:n,height:a,closed:s,mask:l,children:(0,Xso.jsx)(Jso,{containerId:o,dialogId:t.dialogId,operation:t.operation,onlySelect:t.onlySelect,realTimeUpdateUnusedLayers:t.realTimeUpdateUnusedLayers,range:t.range})})}var tlo=L(Vi()),qge=L(Se());var pPt=L(elo());var ilo=L(Ure());var Ru=L(z()),Z$e=[["1","T","-0.65","0","0","Round","0.249","0.249"],["2","B","0","0","0","Rectangle","0.249","0.249"],["3","M","0.65","0","0","Oval","0.249","0.124"]],HPr=["1","T","0","0","0","Round","0.249","0.249"];var J$e={Layer:["T","B","M"],Shape:["Round","Rectangle","Oval"]},GPr=t=>{let e=be.bind(pPt.default.locals);Ae(pPt.default);let{containerId:i,dialogId:o}=t,r=J(),n={};J$e.Shape.forEach(I=>n[r(I)]=I);let[a,s]=(0,qge.useState)("mm"),[l,c]=(0,qge.useState)(null),d=[{value:"Pad Number",id:"padNumber",type:"string"},{value:"Layer",id:"layer",type:"string"},{value:"Center X",id:"centerX",type:"number"},{value:"Center Y",id:"centerY",type:"number"},{value:"Rotation",id:"rotation",type:"number"},{value:"Shape",id:"shape",type:"string"},{value:"Width",id:"width",type:"number"},{value:"Height",id:"height",type:"number"}],[u,p]=(0,qge.useState)(()=>t.pads.length>0?f(t.pads.map(I=>d.map(A=>I[A.id]))):f(Z$e));(0,qge.useLayoutEffect)(()=>{c(null),t.pads.length>0?p(f(t.pads.map(I=>d.map(A=>I[A.id])))):p(f(Z$e))},[t.pads]);let m=async I=>{I=="import"?w():I==="export"?g():I==="confirm"?(await oo({action:I,dialogId:o,formData:{pads:S(),unit:a}}),le.close(i),c(null)):I==="cancel"&&(le.close(i),c(null))};function h(){}function f(I=Z$e){let A=[];return I.map(D=>{let E=[];D.map(N=>{E.push({value:N})}),A.push(E)}),A}function g(){x().length&&y(x(),["Info_PAD",he.getTabTitle(),ue.formatDate2(new Date,"yyyy-MM-dd")].join("_"))}function b(){y(Z$e,"Info_PAD_Template")}function y(I,A,D="csv"){let E="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8",N=new ilo.Workbook,R=N.addWorksheet("Net");for(let k=0;k<d.length;k++)R.getColumn(k+1).values=[d[k].value,...I.map(P=>{var O;return d[k].id=="shape"&&(O=n[P[k]])!=null?O:P[k]})];(D==="csv"?N.csv:N.xlsx).writeBuffer().then(k=>{let P=new Blob([k],{type:E});wi?cd(P,`${A}.${D}`,D):N2.downloadFile(`${A}.${D}`,P)})}function w(){if(!window.FileReader)return function(){Ut({type:"warn",message:"Your browser cannot run this function."})};let I={multiple:!1,accept:".csv",fileFilter:function(D){return/\.csv$/i.test(D.name)},onValidate:function(D){D||Ut({type:"warn",message:"Please select csv files."})},onSelectFiles:D=>{let E=D[0];if(!E)return;let N=new FileReader;N.readAsText(E),N.onload=function(R){let k=R.target.result.split(/[\r|\n]+/).filter(_=>!!_).map(_=>_.split(",")),P=[],O=!1;if(k.length>0&&d.map(_=>_.value).join(",").toLowerCase()!==k[0].join(",").toLowerCase())O=!0;else if(k.length>2){for(let _=1;_<k.length;_++){let j=k[_],B=[];P.push(B);for(let V=0;V<d.length;V++){let G=j[V].trim(),Q=d[V].value;switch(Q){case"Pad Number":{G=G.toUpperCase(),G.match(/[(A-Z|0-9)]/)?B.push(G):O=!0;break}case"Layer":{G=G.toUpperCase(),J$e[Q].includes(G)?B.push(G):O=!0;break}case"Center X":case"Center Y":{G=parseFloat(G),isNaN(G)?O=!0:B.push(G);break}case"Rotation":{G=parseFloat(G),isNaN(G)?O=!0:B.push(v6.regularD(G));break}case"Shape":{J$e[Q].includes(G)?B.push(G):O=!0;break}case"Width":case"Height":{G=parseFloat(G),isNaN(G)||G<.001?O=!0:B.push(G);break}}if(O)break}if(O)break}O||p(f(P))}if(O){let _="The format of the imported CSV file is abnormal, please click the download template button to get the template";De({type:"error",msg:_,bottomBarMsg:{type:"error",msg:`<span class="i18n">${_}</span>`}})}}}},A;A||(A=nu.instance((0,tlo.default)("<br>")).config(I)),A.openSelect()}function x(){return u.length?u.map(I=>I.map(A=>A.value)):[]}function S(){return x().map(A=>{let D={};return d.forEach((E,N)=>{D[E.id]=E.type=="number"?+A[N]:A[N]}),D})}function T(I){switch(I){case"add":{let A=HPr.map(N=>({value:N})),D=[...u],E=l!==null?l+1:u.length;D.splice(E,0,A),p(D),c(E);break}case"delete":{if(l!=null){let A=[...u];A.splice(l,1),p(A),A.length===0?c(null):l>=A.length?c(A.length-1):c(l)}break}case"up":{if(l!=null&&l>0){let A=[...u],D=[...A[l]];A[l]=[...A[l-1]],A[l-1]=D,p(A),c(l-1)}break}case"down":{if(l!=null&&l<u.length-1){let A=[...u],D=[...A[l]];A[l]=[...A[l+1]],A[l+1]=D,p(A),c(l+1)}break}}}let M=(I,A,D)=>{let E=d[A].id,N=D;switch(E){case"padNumber":N=D.toUpperCase().replace(/[^A-Z0-9]/g,"");break;case"rotation":N=v6.regularD($s(D)||0);break;case"centerX":case"centerY":N=$s(D)||0;break;case"width":case"height":let R=$s(D)||0;N=R>=.001?R:.001;break}p(R=>{let v=[...R],k=[...v[I]];return k[A]={...k[A],value:N},v[I]=k,v})};return(0,Ru.jsxs)("div",{className:"pop-content-container",children:[(0,Ru.jsx)("div",{className:"pop-content-wrapper box",children:(0,Ru.jsxs)("div",{className:"gray-dialog-border",children:[(0,Ru.jsxs)("ul",{className:"pin-wizard-content",children:[(0,Ru.jsx)("li",{className:"content-layer",children:(0,Ru.jsxs)("span",{className:"layer-title",children:[(0,Ru.jsx)("span",{style:{margin:"8px 16px",display:"inline-block"},children:r("Tip: Please follow the template below to create a pick and place file and import it")}),(0,Ru.jsx)(Me,{size:"sm",style:{color:"#1890ff"},onClick:b,children:r("Download Template")})]})}),(0,Ru.jsxs)("li",{className:"content-layer",children:[(0,Ru.jsx)("span",{className:"layer-title",children:(0,Ru.jsxs)("span",{style:{margin:"8px 16px",display:"inline-block"},children:[r("Unit"),":"]})}),(0,Ru.jsx)("span",{className:"layer-input",children:(0,Ru.jsx)($i,{value:a,options:[{value:"mm",label:"mm"},{value:"mil",label:"mil"}],onChange:I=>s(I)})})]})]}),(0,Ru.jsx)(ec,{style:{marginLeft:"16px"},onClick:T,addButton:!0,deleteButton:!0,upButton:!0,downButton:!0,deleteDisabled:l==null,upDisabled:l===null||u.length===0||l===0,downDisabled:l===null||u.length===0||l===u.length-1}),(0,Ru.jsx)("div",{className:e("common-table-wrpper"),style:{width:"100%",height:"310px"},children:(0,Ru.jsxs)("table",{className:e("table"),children:[(0,Ru.jsx)("thead",{children:(0,Ru.jsx)("tr",{children:d.map(I=>(0,Ru.jsx)("td",{children:r(I.value)},I.id))})}),(0,Ru.jsx)("tbody",{children:u.map((I,A)=>(0,Ru.jsx)("tr",{className:l===A?e("selected"):"",onClick:()=>c(A),children:I.map((D,E)=>{let N=d[E],R=["layer","shape"].includes(N.id),v=["centerX","centerY","rotation","width","height"].includes(N.id);return(0,Ru.jsx)("td",{children:R?(0,Ru.jsx)(xt,{value:D.value,list:J$e[N.value].map(k=>({value:k,text:r(k)})),onChange:k=>M(A,E,k),containerStyle:{padding:"1px"},style:{width:"100%",height:"24px",boxSizing:"border-box",border:"none"}}):v?(0,Ru.jsx)(or,{value:D.value,onChange:k=>M(A,E,k),originUnit:a,inputUnit:a,hiddenUnit:!0,style:{width:"100%",height:"24px",textAlign:"center",background:"inherit"}}):(0,Ru.jsx)("input",{type:"text",value:D.value,onChange:k=>M(A,E,k.target.value),style:{width:"100%",height:"24px",padding:0,margin:0,outline:"none",textAlign:"center",background:"transparent",boxSizing:"border-box"}})},E)})},A))})]})})]})}),(0,Ru.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,Ru.jsxs)("div",{className:"comm-btn-left",style:{left:"0"},children:[(0,Ru.jsx)(Me,{style:{marginRight:"5px"},onClick:()=>m("import"),children:"Import"}),(0,Ru.jsx)(Me,{onClick:()=>m("export"),children:"Export"})]}),(0,Ru.jsxs)("div",{className:"comm-btn-right",children:[(0,Ru.jsx)(Me,{style:{marginRight:"5px"},type:"primary",onClick:()=>m("confirm"),children:"Confirm"}),(0,Ru.jsx)(Me,{onClick:()=>m("cancel"),children:"Cancel"})]})]})]})},olo=GPr;var nlo=L(z());async function rlo(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,children:(0,nlo.jsx)(olo,{containerId:o,dialogId:t.dialogId,pads:t.pads})})}var nse=L(Se());var mPt=L(slo());var H7=L(z()),hPt=(r=>(r.tempFiles="Temporary Files",r.cookies="Cookies",r.indexedDB="IndexedDB",r.localStorage="LocalStorage",r))(hPt||{}),llo=(r=>(r.tempFiles="Temporary Page Files",r.cookies="Affects Login Information",r.indexedDB="Affects\xA0Local Cache",r.localStorage="Affects Personal Preferences",r))(llo||{}),YPr=({containerId:t})=>{let[e,i]=(0,nse.useState)(!1),[o,r]=(0,nse.useState)({tempFiles:!0,cookies:!0,indexedDB:!0,localStorage:!0});Ae(mPt.default);let n=J(),a=be.bind(mPt.default.locals),s=async d=>{d==="confirm"&&(i(!0),await rSt(o),C.messageBus.publish("renderCacheSizeView",{})),le.close(t)},l=(0,nse.useCallback)(d=>{let{inputName:u,checked:p,onChange:m}=d;return(0,H7.jsxs)("div",{className:a("layer"),children:[(0,H7.jsx)($p,{dataTest:hPt[u],defaultChecked:p,onChange:h=>m==null?void 0:m(h),children:(0,H7.jsx)("span",{style:{cursor:"pointer"},children:n(hPt[u])})}),(0,H7.jsxs)("span",{children:["\xA0\xA0\xA0\xA0",me.i18n(llo[u])]})]})},[]),c=(0,nse.useMemo)(()=>["tempFiles","cookies","indexedDB","localStorage"],[]);return(0,H7.jsxs)("div",{className:a("container"),children:[(0,H7.jsx)("div",{className:a("content"),children:c.map(d=>(0,H7.jsx)(l,{inputName:d,checked:o[d],onChange:u=>r({...o,[d]:u})}))}),(0,H7.jsxs)("div",{className:a("footer"),children:[(0,H7.jsx)(Me,{type:"primary",onClick:()=>s("confirm"),children:e?"Loading...":"Confirm"}),(0,H7.jsx)(Me,{onClick:()=>s("cancel"),children:"Cancel"})]})]})},clo=YPr;var ulo=L(z());async function dlo(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;await le.open({id:o,title:r,width:n,closed:a,children:(0,ulo.jsx)(clo,{containerId:o})})}var $$e=L(Se());var eet=L(A5e());function plo(t){let e=new Set;for(let i=0;i<t.length;i++){let o=mlo(t[i]);if(!e.has(o)){e.add(o);continue}return{success:!1,path:o}}return{success:!0,path:void 0}}var fPt=class{async launchClient(e){let i=[{field:"systemOnlineType"},{field:"projectPath",compareFunc:this.equalBaseArray},{field:"libPath",compareFunc:this.equalBaseArray},{field:"onlinePrjBackupPath"},{field:"activation"},{field:"appTmpBackupDir"},{field:"log",compareFunc:(a,s)=>this.areObjectsEqual(a,s,{dir:(l,c)=>l===c})}];if(Fn&&i.splice(i.findIndex(a=>a.field==="onlinePrjBackupPath"),1),!this.isConfigsChange(e,i).success)return;this.saveConfigSuccessToast();let r=!0;if(Fn){let a=["systemOnlineType","log"],s=i.filter(c=>a.includes(c.field));r=this.isConfigsChange(e,s).success}let n=!0;if(r&&(n=await this.openResetClientDialog()),n){let a=ap(),s=!0;if(a.unsaveFileTabId.length&&(s=await this.openSaveFileDialog()),s){await hc.clearIndexDBData("launchClient",e.systemOnlineType);let l={launchType:e.systemOnlineType};l.LIB_DIR=e.libPath,l.APP_PROJECT_DIR=e.projectPath,l.ONLINE_BACKUP_DIR=e.onlinePrjBackupPath,l.TMP_BACKUP_DIR=e.appTmpBackupDir,l.LOG=e.log,l.PROXY=e.proxy,fetch(C.apis.client.launchType,{method:"post",body:JSON.stringify(l)})}}}async openResetClientDialog(){let e=Xr?"JLCEDA":"EasyEDA";return new Promise((i,o)=>{let r=Fn?"After changing the operating mode and switch client logging, you need to restart the program.":"After changing the operating mode,changing the path,replace activation File and switch client logging, you need to restart the program.";Dt({title:`${e}(Professional)`,icon:"question",content:me.i18n(r)+me.i18n("Whether to restart the program immediately?"),confirmText:"Confirm",cancelText:"Cancel",showCancel:!0,onConfirm:()=>i(!0),onCancel:()=>i(!1)})})}saveConfigSuccessToast(){De({type:"success",msg:"Save config successfully",timer:2.5})}async openSaveFileDialog(){return new Promise((e,i)=>{QLi({closeClientEnd:!1,onSaved:o=>e(o),onUnSave:()=>e(!0),onCancel:()=>e(!1)})})}isConfigsChange(e,i){let o=Aa.cacheSetting,r=!1;for(let{field:n,compareFunc:a}of i){let s=o[n],l=e[n];if(!(a?a(s,l):s===l)){r=!0;break}}return r?{code:1,success:!0}:{code:0,success:!1}}async verifyConfig(e){typeof e.projectPath>"u"&&(e=this.getConfigByClientCache());let i=this.isValidPath(e);if(!i.ret)return Dt({content:me.i18n("Invalid Path!")+i.path}),{code:-1,success:!1};let o=plo(e.libPath);if(!o.success){let n=me.i18n("Duplicate library name: {0}",[o.path]);return Dt({content:n}),{code:-1,success:!1}}if(!e.systemOnlineType||e.projectPath.length===0||e.libPath.length===0||!e.onlinePrjBackupPath||!e.appTmpBackupDir||!e.activation)return Dt({content:"The path cannot be empty!"}),{code:-1,success:!1};let r=[{field:"systemOnlineType"},{field:"projectPath",compareFunc:this.equalBaseArray},{field:"libPath",compareFunc:this.equalBaseArray},{field:"onlinePrjBackupPath"},{field:"activation"},{field:"autoCheckVersionUpdate"},{field:"appTmpBackupDir"},{field:"proxy",compareFunc:this.areObjectsEqual},{field:"log",compareFunc:this.areObjectsEqual}];return Fn&&r.splice(r.findIndex(n=>n.field==="onlinePrjBackupPath"),1),this.isConfigsChange(e,r)}isValidPath(e){let i=new RegExp('^[^/:*?""<>|,;]+$'),o=/(\d{1,3}\.){3}\d{1,3}/;for(let r of e.projectPath)if(i.test(r)&&!o.test(r))return{ret:!1,path:r};for(let r of e.libPath)if(i.test(r)&&!o.test(r))return{ret:!1,path:r};return i.test(e.onlinePrjBackupPath)?{ret:!1,path:e.onlinePrjBackupPath}:i.test(e.appTmpBackupDir)?{ret:!1,path:e.appTmpBackupDir}:i.test(e.activation)?{ret:!1,path:e.activation}:{ret:!0,path:""}}equalBaseArray(e,i){if(e.length!==i.length)return!1;for(let o=0;o<e.length;o++)if(e[o]!==i[o])return!1;return!0}areObjectsEqual(e,i,o={}){let r=Object.keys(e),n=Object.keys(i);if(r.length!==n.length)return!1;for(let a of r){if(!n.includes(a))return!1;if(o[a]){if(!o[a](e[a],i[a]))return!1}else if(e[a]!==i[a])return!1}return!0}getConfigByClientCache(){let e=Wi("CLIENT",void 0,{defaultValue:{}}),i={systemOnlineType:e.systemOnlineType.value,libPath:e.libPath.value,projectPath:e.projectPath.value,onlinePrjBackupPath:e.onlinePrjBackupPath.value};return JSON.parse(JSON.stringify(i))}},Xge=new fPt;var gPt=L(A5e());var G7=L(z()),{locals:WPr}=gPt.default,hlo=be.bind(WPr),QPr=({show:t})=>(0,G7.jsx)("span",{style:{width:"10px",display:"inline-block"},children:t?(0,G7.jsx)("em",{style:{transform:"translate3d(-1px, 3px, 10px)",color:"red",marginRight:"3px"},children:"*"}):(0,G7.jsx)(G7.Fragment,{children:"\xA0"})}),flo=()=>{let t=J();Ae(gPt.default),Ce(Aa);let e=[{id:"RUNNING_MODE",text:"Running Mode"},{id:"DATA_PATH",text:"Data Path"},{id:"NETWORK_PROXY",text:"Network Proxy"},{id:"SOFTWARE_UPDATES",text:"Software Updates"},{id:"OTHER_SETTING",text:"Other Setting"}];Fn&&e.splice(e.findIndex(o=>o.id==="SOFTWARE_UPDATES"),1);let i=Aa.getModifiedFields();return(0,G7.jsx)("div",{className:hlo("selector-container"),children:e.map((o,r)=>(0,G7.jsx)(G7.Fragment,{children:(0,G7.jsxs)("div",{onClick:()=>Aa.menuId=o.id,className:hlo(`selector-box ${o.id===Aa.menuId?"selected":""}`),style:{marginTop:r==0?"8px":null},children:[(0,G7.jsx)(QPr,{show:i.has(o.id)}),t(o.text)]},o.id)}))})};var OO=L(z()),{locals:KPr}=eet.default,X$e=be.bind(KPr),ZPr=()=>(Ae(eet.default),(0,OO.jsx)("div",{className:X$e("main-content"),children:DIi(Aa.menuId)})),JPr=t=>{let{dialogId:e,containerId:i}=t;Ae(eet.default),Ce(Aa);let o=J(),r=Aa.clientSetting;(0,$$e.useLayoutEffect)(()=>{wd().then(u=>{u&&(Aa.batchClientSettings({...Aa.clientSetting,libPath:u.libPath,projectPath:u.projectPath,onlinePrjBackupPath:u.onlinePrjBackupPath,autoCheckVersionUpdate:u.autoCheckVersionUpdate,activation:u.activation,cacheDir:u.cacheDir,appTmpBackupDir:u.appTmpBackupDir,proxy:u.proxy,log:u.log}),Aa.syncProxyConfings(u.proxy))})},[]);let[n,a]=(0,$$e.useState)(!1);async function s(){let u="/api/client/proxy/set",{enable:p,...m}=Aa.proxyConfigs,h={method:"POST",headers:new Headers({"Content-Type":"application/json"}),body:JSON.stringify({enable:p,...m})},f=3e4,g=0,b=3,y,w,x=()=>{w=De({type:"info",msg:"Verifying the proxy",timer:0}),y=setInterval(()=>{let S=".".repeat(g);w.updateMsg(`${me.i18n("Verifying the proxy")}${S}`),g=(g+1)%(b+1)},500)};try{let S=new AbortController,T=S.signal,M=setTimeout(()=>S.abort(),f);x(),a(!0);let A=await(await fetch(u,{...h,signal:T})).json();return clearTimeout(M),clearInterval(y),w.close(),A.success?!0:(De({type:"error",msg:o("Network connection failed!"),timer:2.5}),!1)}catch{return clearInterval(y),w.close(),De({type:"error",msg:o("Network connection failed!"),timer:2.5}),!1}finally{a(!1),clearInterval(y),w.close()}}async function l(){let u="api/client/activation",p=blo(r.activation);if(!p){De({type:"error",msg:o("Failed to read the activation file!"),timer:2.5});return}let m=await new Promise(async(g,b)=>{let y=new FileReader;y.onload=()=>g(y.result),y.onerror=()=>b(y.error),y.readAsText(await p)});if(!m)return{result:{success:!1,isEmpty:!0}};let h=JSON.parse(m),f={method:"post",headers:new Headers({"Content-Type":"application/json"}),body:JSON.stringify({activation:h})};try{return await(await fetch(u,f)).json()}catch(g){return De({type:"error",msg:`${me.i18n("Failed to read the activation file!")}${g}`,timer:2.5}),!1}}let c=async u=>{let p=async()=>{if(Xge.areObjectsEqual(Aa.proxyConfigs,Aa.cacheSetting.proxy))return!0;let{enable:g,host:b,port:y}=Aa.proxyConfigs;if(g&&(!b||!y))return De({type:"error",msg:o("The network proxy setting host and port cannot be empty!")}),Aa.menuId="NETWORK_PROXY",!1;try{if(!await s())return Aa.menuId="NETWORK_PROXY",!1}catch{return!1}return!0},m=async()=>{if(r.activation==Aa.cacheSetting.activation)return!0;let f=await l();return f.result.success?!0:(f.result.isEmpty?De({type:"error",msg:o("Imported file is empty!"),timer:2.5}):De({type:"error",msg:o("Failed to replace the activation file!"),timer:2.5}),!1)},h=async()=>Fn||r.autoCheckVersionUpdate==Aa.cacheSetting.autoCheckVersionUpdate?!0:await vme(Aa.autoCheckVersionUpdate,!1);switch(String(u)){case"apply":{let f=Aa.toJSON(),g=await Xge.verifyConfig(f);if(g.code!==1)return g.code;if(!await p()||!await h()||(Aa.delModifiedFields(["NETWORK_PROXY","SOFTWARE_UPDATES"]),!await m()))break;await Xge.launchClient(f);break}case"confirm":{let f=Aa.toJSON();if((await Xge.verifyConfig(f)).code!==1){d();return}if(!await p()||!await h()||!await m())break;await Xge.launchClient(f),d();break}case"cancel":{d();break}}},d=()=>{le.close(i)};return Bt(u=>{u&&u.code==="Escape"&&c("cancel")}).keyboard(i),Bt(()=>{c("cancel"),Aa.closeDialog()}).close(i),(0,OO.jsxs)("div",{className:X$e("pop-content-container"),style:{width:"100%",height:"100%"},children:[(0,OO.jsxs)("div",{className:X$e("content-wrapper"),children:[(0,OO.jsx)(flo,{}),(0,OO.jsx)(ZPr,{})]}),(0,OO.jsxs)("div",{className:X$e("pop-footer-wrapper"),style:{marginTop:"8px"},children:[(0,OO.jsx)(Me,{disabled:n,"data-test":"apply",type:"primary",style:{marginRight:"8px"},onClick:()=>c("apply"),children:"Apply"}),(0,OO.jsx)(Me,{disabled:n,"data-test":"confirm",type:"primary",style:{marginRight:"8px"},onClick:()=>c("confirm"),children:"Confirm"}),(0,OO.jsx)(Me,{"data-test":"cancel",onClick:()=>c("cancel"),children:"Cancel"})]})]})},glo=JPr;var wlo=L(z());async function ylo(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;await Aa.initDialog();let l=t.tag;l&&(Aa.menuId=l),le.open({id:o,title:r,width:n,height:a,closed:s,esc:!0,folded:!1,children:(0,wlo.jsx)(glo,{containerId:o,dialogId:t.dialogId})})}var mg=L(Se());var Clo=[{text:"Apply",type:"primary",style:{marginRight:"8px"},disabled:je,command:"apply"},{text:"Confirm",type:"primary",style:{marginRight:"8px"},disabled:je,command:"confirm"},{text:"Cancel",command:"cancel"}];var bPt=L(Tlo());var Un=L(z()),qPr=t=>{let{containerId:e,params:i}=t,{allGroups:o,allNets:r,allPads:n,isSettingAdding:a,isSettingEditing:s,selectedGroupName:l,selectedNet:c,selectedPad1:d,selectedPad2:u,triggerBtn:p,dialogId:m,oldData:h}=i,f=J(),g=be.bind(bPt.default.locals);Ae(bPt.default);let[b,y]=(0,mg.useState)([]),[w,x]=(0,mg.useState)(""),[S,T]=(0,mg.useState)(""),[M,I]=(0,mg.useState)(""),[A,D]=(0,mg.useState)(""),[E,N]=(0,mg.useState)([]),[R,v]=(0,mg.useState)([]),[k,P]=(0,mg.useState)([]),[O,_]=(0,mg.useState)([]),[j,B]=(0,mg.useState)([]),[V,G]=(0,mg.useState)([]),[Q,H]=(0,mg.useState)(null),[q,U]=(0,mg.useState)(!0),[F,K]=(0,mg.useState)({}),te="All nets",ae="Null network",pe=(0,mg.useRef)(null),Z=(0,mg.useRef)(null),ee=o.map(Qe=>Qe.groupName),ce=(0,mg.useRef)(null),ne=(0,mg.useRef)(null),[oe,re]=(0,mg.useState)({padPairNameList:"",selectedList:""});h||(h=JSON.parse(JSON.stringify(i))),(0,mg.useEffect)(()=>{Y()},[]);let Y=()=>{let Qe=JSON.parse(JSON.stringify(o));y(Qe),_(ee);let ut=l||ee[0];x(ut);let rt=o.find(gt=>gt.groupName==ut),ht=[];if(rt)for(let gt of rt.details){let Qt=gt.pad1.designator?gt.pad1.designator+":"+gt.pad1.number:fe(gt.pad1.id),yt=gt.pad2.designator?gt.pad2.designator+":"+gt.pad2.number:fe(gt.pad2.id);ht.push({value:Qt+"-"+yt,pads:[Qt,yt]})}B(ht);let ct={edit:!1,editItem:""};s&&l&&(ct={edit:!0,editItem:l}),K(ct);let wt=p?c:c||te;Ge(wt,d,u),X(r);let zt=r.map(gt=>({value:gt,text:gt,showOriginalText:!0}));zt.unshift({value:te,text:te}),zt.push({value:ae,text:ae}),P(zt),T(wt),I(d),D(u),U(a)},X=Qe=>Qe.sort((ut,rt)=>ue.naturalSortComparator(ue.naturalSortSplitor(ut),ue.naturalSortSplitor(rt))),ie=Qe=>Qe.sort((ut,rt)=>ue.naturalSortComparator(ue.naturalSortSplitor(ut.text),ue.naturalSortSplitor(rt.text))),de=Qe=>{let{type:ut,refData:rt}=Qe,ht=gt=>{let Qt=Rd(`.${ut+"-clear-btn"}`)[0];gt.target.value?Qt.style.display="block":Qt.style.display="none",ct(gt.target.value)},ct=gt=>{let Qt=gt.toLowerCase();oe[ut]=gt,re(oe);let yt=rt.current.childNodes,jt=!0;for(let ni of yt)ni.innerText.trim().toLowerCase().includes(Qt)?(ni.style.display="block",jt&&Qt&&(ut=="padPairNameList"&&ni.getAttribute("title")!==w&&Ne({target:ni}),jt=!1)):ni.style.display="none"},wt=()=>{ct(oe[ut])},zt=()=>{Rd(`.${ut+"-input"}`)[0].value="";let gt=Rd(`.${ut+"-clear-btn"}`)[0];gt.style.display="none",oe[ut]="",re(oe),wt()};return(0,Un.jsx)("div",{className:g("filterNetList"),style:{padding:"5px 0"},children:(0,Un.jsx)("div",{className:g("comm-fittinginput-container"),style:{width:"calc(100% - 8px)",marginLeft:"4px"},children:(0,Un.jsxs)("div",{className:g("comm-fittinginput-wrapper"),children:[(0,Un.jsx)("input",{disabled:je(),className:g(`comm-fittinginput-input ${Qe.type+"-input"}`),onInput:gt=>ht(gt),type:"text",placeholder:f("Filter"),"data-test":"Filter","data-i18n-attr":"placeholder",defaultValue:oe[ut]}),(0,Un.jsx)("span",{className:g(`comm-fittinginput-clear ${Qe.type+"-clear-btn"} ${oe[ut]?"":"comm-fittinginput-clear-hidden"}`),onClick:()=>zt(),children:(0,Un.jsx)("i",{className:g("icon-eda-x-circle-small"),style:{fontSize:"1.5rem"}})}),(0,Un.jsx)("span",{className:g("comm-fittinginput-search"),onClick:gt=>wt(),children:(0,Un.jsx)("i",{className:g("icon-eda-zoom-small")})})]})})})},fe=Qe=>{for(let ut of n)if(ut.id===Qe)return ut.text;return Qe},ye=()=>{let Qe=()=>{U(!0),B([])},ut=()=>{let rt=b.findIndex(ht=>ht.groupName==w);if(b.splice(rt,1),y([...b]),b.length){let ht=rt==0?0:rt-1,ct=b[ht].groupName;x(ct),Te(ct),_(b.map(wt=>wt.groupName))}else x(""),B([]),_([])};return(0,Un.jsxs)("div",{"data-tagitem":"op-btn-wrapper",className:g("display-flex"),style:{paddingBottom:"10px"},children:[(0,Un.jsxs)("div",{children:[(0,Un.jsx)("span",{"data-tagitem":"addOne",className:g(`icon_operate icon_operate_add attr_setting_btn ${je()&&"disabled pointer-events-none"}`),style:{marginLeft:"0"},title:f("Add"),onClick:Qe}),(0,Un.jsx)("span",{"data-tagitem":"delOne",className:g(`icon_operate icon_operate_delete attr_setting_btn ${(!w||je())&&"disabled pointer-events-none"}`),title:f("Delete"),onClick:ut})]}),(0,Un.jsx)("div",{style:{flex:"1"},children:(0,Un.jsx)("div",{"data-tagitem":"search-rule-container",style:{padding:"0 5px"}})})]})},Le=Qe=>{Qe.stopPropagation(),Qe.keyCode==13&&Qe.target.blur(),Qe.keyCode==27&&(Qe.target.value=Qe.target.getAttribute("value"),Qe.target.blur())},Re=Qe=>{let ut=Qe.target,rt=ut.value.trim();if(rt.length>32){let ht=f({value:"The typing cannot over {0} characters.",options:[32]});Dt({title:f("Tip"),content:ht,icon:"info",confirmText:"Confirm",closed:!0});return}if(rt){if(O.includes(rt)&&Qe.target.defaultValue!=rt){De({type:"warn",msg:"Same Name",timer:2.5}),ut.defaultValue?Z.current.focus():pe.current.focus();return}if(ut.defaultValue)for(let ct of b){let wt=ct.groupName;wt==ut.defaultValue&&rt!==wt&&(ct.oldGroupName=wt,ct.groupName=rt,ct.action=ct.action=="CREATED"?"CREATED":"UPDATED")}else b.push({groupName:rt,oldGroupName:rt,action:"CREATED",details:[]}),B([]);U(!1);let ht=b.map(ct=>ct.groupName);_([...ht]),x(rt),y([...b])}else U(!1);K({edit:!1,editItem:""})},Ne=Qe=>{let ut=Qe.target.innerText.trim();Qe.target.childNodes.length>1&&(ut=ut.slice(1)),x(ut),Te(ut)},Te=Qe=>{let ut=b.find(rt=>rt.groupName==Qe);if(ut.details.length){let rt=[];for(let ht of ut.details){let{pad1:ct,pad2:wt}=ht,zt=fe(ct.id),gt=fe(wt.id);ct.designator&&(zt=ct.designator+":"+ct.number),wt.designator&&(gt=wt.designator+":"+wt.number),rt.push({value:zt+"-"+gt,pads:[zt,gt]})}B(rt)}else B([])},Pe=Qe=>{let ut=Qe.target.innerText.trim();Qe.target.childNodes.length>1&&(ut=ut.slice(1)),x(""),K({edit:!0,editItem:ut})},Oe=Qe=>{let ut=!1,rt=b.find(ht=>ht.groupName==Qe);return rt&&(ut=rt.action!=="UNCHANGED"),ut},Ue=(Qe,ut)=>{let rt=0;return Qe.forEach((ht,ct)=>{ht.innerText==ut&&(rt=ct)}),rt},Ve=Qe=>{let ut=Qe.target.tagName=="SPAN"?Qe.target.parentNode:Qe.target,rt=ut.parentNode.childNodes;if(Qe.shiftKey){let ht=[],ct=Ue(rt,Q),wt=Ue(rt,ut.innerText);rt.forEach((zt,gt)=>{gt>=Math.min(wt,ct)&&gt<=Math.max(wt,ct)&&ht.push(zt.innerText)}),G(ht)}else H(ut.innerText),Qe.ctrlKey?V.includes(ut.innerText)?G(V.filter(ht=>ht!==ut.innerText)):G([...V,ut.innerText]):G([ut.innerText])},ze=()=>{if(!w){De({type:"warn",msg:"Please select group first!",timer:2.5});return}if(!M){De({type:"warn",msg:"Please select the pad1",timer:2.5});return}if(!A){De({type:"warn",msg:"Please select the pad2",timer:2.5});return}let Qe=Ke(te),ut,rt;for(let zt of Qe)zt.value==M&&(ut=zt.text),zt.value==A&&(rt=zt.text);let ht=ut+"-"+rt;if(j.find(zt=>zt.pads.includes(ut)&&zt.pads.includes(rt))){De({type:"warn",msg:"The same pad pair already exists,please re-select!",timer:2.5});return}let ct=[];for(let zt of b)if(zt.details.length)for(let gt of zt.details){let{pad1:Qt,pad2:yt}=gt,jt=fe(Qt.id),ni=fe(yt.id);Qt.designator&&(jt=Qt.designator+":"+Qt.number),yt.designator&&(ni=yt.designator+":"+yt.number),ct.push({groupName:zt.groupName,pads:[jt,ni]})}let wt=ct.find(zt=>zt.pads.includes(ut)&&zt.pads.includes(rt));if(wt){De({type:"warn",msg:{value:"The same pad pair already exists in group {0},please re-select!",options:{0:wt.groupName}},timer:2.5});return}j.push({value:ht,pads:[ut,rt]}),B([...j]),Ge(te,"",""),T(te),I(""),D(""),Be(j)},He=(Qe,ut,rt)=>{let ht=S;switch(rt){case"net":if(S==Qe)return;Ge(Qe,M,A),T(Qe),I(""),D("");break;case"pad1":let ct=E[ut.target.optionNumber];S==te&&(ht=ct.nets[0]||ae),T(ht),setTimeout(()=>Ge(ht,Qe,A),0),I(Qe);break;case"pad2":let wt=R[ut.target.optionNumber];S==te&&(ht=wt.nets[0]||ae),T(ht),setTimeout(()=>Ge(ht,M,Qe),0),D(Qe);break}},Ye=Qe=>{switch(Qe){case"pad1":I(""),Ge(S,"",A);break;case"pad2":D(""),Ge(S,M,"");break}},ke=()=>{var ht;let Qe=[],ut;for(let ct=0;ct<j.length;ct++){let wt=j[ct];V.includes(wt.value)?ut=j[ct+1]:Qe.push(wt)}B([...Qe]);let rt=[(ut==null?void 0:ut.value)||((ht=Qe.at(-1))==null?void 0:ht.value)].filter(Boolean);G(rt),Be(Qe)},Be=Qe=>{let ut=[];for(let rt of Qe)ut.push(rt.pads);for(let rt of b)if(rt.groupName==w){rt.action=rt.action=="CREATED"?"CREATED":"UPDATED";let ht={};n.forEach(wt=>{let zt=fe(wt.id);wt.designator&&(zt=wt.designator+":"+wt.number),ht[zt]=wt});let ct=[];for(let wt of ut){let zt,gt;zt=ht[wt[0]],gt=ht[wt[1]],zt&&gt&&ct.push({pad1:zt,pad2:gt})}rt.details=[...ct]}y([...b])},Xe=Qe=>{let ut={allGroups:b,allNets:r,allPads:n,isSettingAdding:q,isSettingEditing:!q,selectedGroupName:w,selectedNet:S,selectedPad1:M,selectedPad2:A,oldData:h};C.messageBus.publish("buttomCommand",{action:"PadsPairPadSelect",formData:{...ut,triggerBtn:Qe}}),le.close(e)},Ge=(Qe,ut,rt)=>{let ht=Ke(Qe),ct=ht,wt=ht;ut&&(wt=ht.filter(zt=>zt.value!==ut)),rt&&(ct=ht.filter(zt=>zt.value!==rt)),ie(ct),ie(wt),N(ct),v(wt)},Ke=Qe=>{let ut=[];for(let rt of n){let ht={};if(rt.designator){let ct=rt.designator+":"+rt.number;ht={value:rt.id,text:ct,nets:rt.nets}}else ht={value:rt.id,text:fe(rt.id),nets:rt.nets};Qe?(rt.nets.includes(Qe)||Qe==te||Qe==ae&&rt.nets[0]=="")&&ut.push(ht):rt.nets[0]==""&&ut.push(ht)}return ut},pt=async Qe=>{let ut;switch(Qe){case"close":case"cancel":ut={};break;case"apply":ut=ot(Qe);for(let rt of b)rt.action="UNCHANGED";o=ue.deepClone(b),y([...o]);break;case"confirm":{ut=ot(Qe);break}}await oo({action:Qe,dialogId:m,formData:ut}),Qe!=="apply"&&le.close(e)};Bt(()=>{pt("close")}).close(e);let ot=Qe=>{let ut,rt=ue.deepClone(b);for(let ht of h.allGroups)rt.find(ct=>ct.groupName==ht.groupName)||rt.push({...ht,action:"DELETED"});return ut={action:Qe,allGroups:rt},ut};return(0,Un.jsxs)("div",{className:g("pop-content-container"),style:{height:"100%"},onKeyDown:Qe=>Qe.keyCode==27&&pt("close"),children:[(0,Un.jsxs)("div",{id:"editPadPair",className:g("editPadPair"),style:{marginBottom:"20px"},children:[(0,Un.jsxs)("div",{className:g("padPairNameWrap"),children:[(0,Un.jsx)(ye,{}),(0,Un.jsxs)("fieldset",{className:g("listWrap"),children:[(0,Un.jsx)(de,{refData:ce,type:"padPairNameList"}),(0,Un.jsxs)("ul",{className:g("padPairNameList"),ref:ce,children:[O.map((Qe,ut)=>{let rt="";return w?Qe==w&&(rt="selected"):ut==0&&(rt="selected"),F.edit&&F.editItem==Qe?(0,Un.jsx)("li",{children:(0,Un.jsx)("input",{disabled:je(),defaultValue:F.editItem,autoFocus:!0,onKeyDown:ht=>Le(ht),onBlur:ht=>Re(ht),type:"text",name:"padPairGroupName",className:g("form-box padPairGroupName new-pad-pair-group"),style:{width:"100%"},ref:Z,autoComplete:"off"})},`pad-pair-name-list-${ut}`):(0,Un.jsxs)("li",{onDoubleClick:ht=>Pe(ht),onClick:ht=>Ne(ht),title:Qe,className:g(rt),children:[Oe(Qe)?(0,Un.jsx)("span",{className:g("tr-menu-item-text-tag"),children:"*"}):null,Qe]},`pad-pair-name-list-${ut}`)}),q&&(0,Un.jsx)("li",{children:(0,Un.jsx)("input",{disabled:je(),autoFocus:!0,onKeyDown:Qe=>Le(Qe),onBlur:Qe=>Re(Qe),type:"text",name:"padPairGroupName",className:g("form-box padPairGroupName new-pad-pair-group"),style:{width:"100%"},ref:pe,autoComplete:"off"})})]})]})]}),(0,Un.jsx)("div",{className:g("select-pads-middle-operate"),children:(0,Un.jsxs)("fieldset",{children:[(0,Un.jsx)("legend",{"data-test":"select pad(s)",children:f("select pad(s)")}),(0,Un.jsx)("div",{style:{width:"97%",margin:"10px 5px 18px"},children:(0,Un.jsx)(xt,{disabled:je(),searchable:!0,list:k,value:S,onChange:(Qe,ut)=>{He(Qe,ut,"net")}})}),(0,Un.jsxs)("div",{className:g("notSelectedList"),children:[(0,Un.jsxs)("div",{style:{display:"flex",justifyContent:"center",height:"50%"},children:[(0,Un.jsx)("div",{style:{marginRight:"10px"},children:(0,Un.jsx)("span",{"data-test":"Pad1",children:`${f("Pad")}1:`})}),(0,Un.jsxs)("div",{style:{width:"55%",position:"relative"},children:[(0,Un.jsx)("div",{children:(0,Un.jsx)(xt,{disabled:je(),searchable:!0,list:E,value:M,onChange:(Qe,ut)=>He(Qe,ut,"pad1")})}),(0,Un.jsx)("span",{onClick:()=>{Ye("pad1")},className:g("icon-eda-x-circle clear-input-circle"),style:{display:"block",top:"5px",right:"25px",position:"absolute",zIndex:"999"}}),(0,Un.jsx)(Me,{disabled:je(),size:"md",style:{marginTop:"10px"},"data-test":"select pad(s)",onClick:()=>{Xe("pad1-select-btn")},children:f("select pad(s)")})]})]}),(0,Un.jsxs)("div",{style:{display:"flex",justifyContent:"center",height:"50%"},children:[(0,Un.jsx)("div",{style:{marginRight:"10px"},children:(0,Un.jsx)("span",{"data-test":"Pad2",children:`${f("Pad")}2:`})}),(0,Un.jsxs)("div",{style:{width:"55%",position:"relative"},children:[(0,Un.jsx)("div",{children:(0,Un.jsx)(xt,{disabled:je(),searchable:!0,list:R,value:A,onChange:(Qe,ut)=>He(Qe,ut,"pad2")})}),(0,Un.jsx)("span",{onClick:()=>{Ye("pad2")},className:g("icon-eda-x-circle clear-input-circle"),style:{display:"block",top:"5px",right:"25px",position:"absolute",zIndex:"999"}}),(0,Un.jsx)(Me,{disabled:je(),size:"md",style:{marginTop:"10px"},"data-test":"select pad(s)",onClick:()=>{Xe("pad2-select-btn")},children:f("select pad(s)")})]})]})]})]})}),(0,Un.jsx)("div",{className:g("middle-buttons"),children:(0,Un.jsx)("div",{onClick:()=>ze(),style:{width:"100%"},children:(0,Un.jsx)("span",{children:">"})})}),(0,Un.jsxs)("div",{className:g("selectedPads"),children:[(0,Un.jsxs)("div",{"data-tagitem":"op-btn-wrapper",style:{paddingBottom:"10px"},children:[(0,Un.jsx)("div",{children:(0,Un.jsx)("span",{"data-tagitem":"delOne",className:g(`icon_operate icon_operate_delete attr_setting_btn ${(!V.length||je())&&"disabled pointer-events-none"}`),title:f("Delete"),onClick:()=>ke()})}),(0,Un.jsx)("div",{style:{flex:"1"},children:(0,Un.jsx)("div",{"data-tagitem":"search-rule-container",style:{padding:"0 5px"}})})]}),(0,Un.jsxs)("fieldset",{className:g("listWrap"),children:[(0,Un.jsx)(de,{type:"selectedList",refData:ne}),(0,Un.jsx)("ul",{className:g("selectedList"),ref:ne,style:{height:"180px",overflowY:"auto"},children:j.map((Qe,ut)=>(V.includes(Qe.value)&&g("selected"),(0,Un.jsx)("li",{className:V.includes(Qe.value)?g("selected"):"",onClick:rt=>Ve(rt),children:Qe.value},`selected-list-${Qe.value}`)))})]})]})]}),(0,Un.jsx)("div",{className:g("pop-footer-wrapper"),children:Clo.map((Qe,ut)=>(0,Un.jsx)(Me,{type:Qe.type,style:Qe.style,disabled:Qe.disabled&&Qe.disabled(),onClick:()=>pt(Qe.command),children:(0,Un.jsx)("span",{"data-test":Qe.text,children:f(Qe.text)})},`bottom-btn-${ut}`))})]})},Slo=qPr;var Ilo=L(z());async function Mlo(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;le.open({id:o,title:r,width:n,height:a,closed:s,children:(0,Ilo.jsx)(Slo,{containerId:o,params:t})})}var Dlo=L(Se());var iet=L(vlo());var tL=L(z()),{locals:XPr}=iet.default,bIe=be.bind(XPr),$Pr=t=>{let{dialogId:e,containerId:i}=t,o=J();Ae(iet.default);let[r,n]=(0,Dlo.useState)(!1),a=async d=>{switch(String(d)){case"confirm":{oo({action:d,dialogId:e,formData:s()}),l();break}case"cancel":{oo({action:d,dialogId:e,formData:s()}),l();break}case"close":{l();break}}},s=()=>({status:r}),l=()=>{le.close(i)};Bt(d=>{(d==null?void 0:d.code)==="Escape"&&a("close")}).keyboard(i),Bt(()=>{a("close")}).close(i);let c=bIe("delete-element-container","pop-content-container");return(0,tL.jsxs)("div",{className:c,style:{height:"100%"},children:[(0,tL.jsx)("style",{children:String(iet.default)}),(0,tL.jsx)("div",{className:bIe("pop-content-wrapper"),children:(0,tL.jsxs)("div",{className:bIe("display-flex flex-main-axis-start"),children:[(0,tL.jsx)("div",{className:bIe("messager-icon messager-warning"),style:{flexBasis:27}}),(0,tL.jsxs)("div",{children:[(0,tL.jsx)("p",{"data-test":"The selected object contains components, whether to delete it?",children:o("The selected object contains components, whether to delete it?")}),(0,tL.jsx)("p",{"data-test":"Tip: Clicking cancel will only delete objects that are not components",style:{color:"red"},children:o("Tip: Clicking cancel will only delete objects that are not components")})]})]})}),(0,tL.jsxs)("div",{className:bIe("pop-footer-wrapper"),children:[(0,tL.jsx)(qt,{dataTest:"Don't show again",checked:r,onChange:n,children:"Don't show again"}),(0,tL.jsx)(Me,{"data-test":"Confirm",type:"primary",style:{marginRight:"8px",marginLeft:"auto"},onClick:()=>a("confirm"),children:"Confirm"}),(0,tL.jsx)(Me,{"data-test":"Cancel",onClick:()=>a("cancel"),children:"Cancel"})]})]})},Elo=$Pr;var Nlo=L(z());async function Alo(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;return le.open({id:o,title:r,width:n,height:a,closed:s,esc:!0,folded:!1,mask:!0,children:(0,Nlo.jsx)(Elo,{containerId:o,dialogId:t.dialogId})}),{origin:"react"}}var $ge=L(Se());var RO=L(z()),eOr=({containerId:t,dialogId:e,viaPosition:i})=>{(0,$ge.useLayoutEffect)(()=>{let s=document.querySelector(`#${t}`);s.style.opacity="0",r.current.closeMsgBus=C.messageBus.subscribe(`close_${t}`,()=>{a("close")}),r.current.keyboardMsgBus=C.messageBus.subscribe(`keyboard_${t}`,l=>{!l.altKey&&!l.ctrlKey&&!l.shiftKey&&(l.key=="Escape"&&a("cancel"),l.key=="Enter"&&a("confirm"))})},[]),(0,$ge.useEffect)(()=>{n()},[]);let o=J(),r=(0,$ge.useRef)({}),n=()=>{let s=document.querySelector(`#${t}`);s.style.opacity="1",s.tabIndex=0,s.focus()},a=async s=>{await oo({action:s,dialogId:e,formData:{}}),le.destroy(t),r.current.closeMsgBus.cancel(),r.current.keyboardMsgBus.cancel()};return(0,RO.jsxs)("div",{className:"pop-content-container",style:{height:"auto"},children:[(0,RO.jsxs)("div",{style:{position:"relative",marginBottom:"16px"},children:[(0,RO.jsx)("div",{className:"messager-icon messager-warning"}),(0,RO.jsx)("div",{children:(0,RO.jsx)("p",{children:o("Via DRC violation detected,please check the white DRC border.Whether to ignore DRC and continue placing via?")})})]}),(0,RO.jsx)("div",{className:"pop-footer-wrapper",style:{display:"flex",justifyContent:"flex-end"},children:(0,RO.jsxs)("div",{children:[(0,RO.jsx)(Me,{type:"primary",onClick:()=>a("confirm"),style:{marginRight:"5px",minWidth:"76px"},children:"Yes"}),(0,RO.jsx)(Me,{onClick:()=>a("close"),style:{minWidth:"76px"},children:"No"})]})})]})},klo=eOr;var Olo=L(z());async function Plo(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i,l=t.data.viaPosition;le.open({id:o,title:r,width:n,height:a,closed:s,children:(0,Olo.jsx)(klo,{containerId:o,dialogId:t.dialogId,viaPosition:l})})}var Tz=L(Se());var net=L(_lo());var e2e=class t{static async openHotkeySettingDlg(e){try{let{hotkeyCmd:i}=e;e.eventBusNameSpace=i,e.onConfirm=t.handleHotkey,await ii("hotkey-setting",e)}catch(i){console.warn(i)}}static handleHotkey(e){var r;let i=e.hotkey,o=(r=C.profileSetting)==null?void 0:r.commSystemSetting;o&&(i&&M0i(i,o.HOTKEY),e.menuHotkey&&av.changeHotkeyConfig(e.hotkeyCmd,e.menuHotkey,o.HOTKEY),mt.savePreference("commSystemSetting",o),Nc.updateHotkeyConfig())}};var yPt=class extends qe{updateInput(){this.notify()}},ret=new yPt;function jlo(t){return Ce(ret,t),ret}var q0=L(z()),{locals:hg}=net.default,tOr=(t={})=>{let{containerId:e,dialogId:i,extra:o}=t,{hotkey:r,menuHotkey:n,getActiveFunc:a,hotkeyCmd:s,onConfirm:l,select:c,hotkeyDataFunc:d,onOpenDialog:u}=o,p=be.bind(net.default.locals);Ae(net.default);let m=J(),h=(0,Tz.useRef)(null),f,g,b;if(f={hotkey:null,menuHotkey:null},g={hotkey:null,menuHotkey:null,valid:null},r){g.valid={Hotkey:!0,Command:!0};let A=f.hotkey=iOr(r,a);A.command=(A.command||"").trim().replaceAll("&lt;","<").replaceAll("&gt;",">"),r.command=(r.command||"").trim().replaceAll("&lt;","<").replaceAll("&gt;",">"),g.hotkey=ue.deepClone(r)}if(n){let A=av.menuHotkey;f.menuHotkey=ue.deepClone(A[s]),g.menuHotkey=ue.deepClone(n)}b=(r||n).funcE;let y=async A=>{switch(A){case"cancel":case"close":le.close(e);break;case"confirm":{let D=!1,E=!1;if(r){let N=g.hotkey;D=(r.hotkey||"")!=(N.hotkey||""),D||(D=(r.command||"")!=(N.command||""))}if(n){let N=g.menuHotkey;E=(n.hotkey||"")!=(N.hotkey||"")}if(E||D){let N={hotkeyCmd:s};D&&(N.hotkey=g.hotkey,N.hotkey.command&&(N.hotkey.command=zlo(N.hotkey.command))),E&&(N.menuHotkey=g.menuHotkey),ret.updateInput(),l==null||l(N)}le.close(e)}break}};function w(A,D){return A=A.replace(D,""),A+D}let x=A=>{let D=A.value+(A.suffix||""),[E,N]=(0,Tz.useState)(D),[R,v]=(0,Tz.useState)(A.value),{name:k}=A,[P,O]=(0,Tz.useState)(null),_=(0,Tz.useRef)(null);if(A.readOnly)return(0,q0.jsxs)("div",{className:`${hg.line}`,children:[(0,q0.jsxs)("div",{className:`${hg.name}`,title:m(k),"data-i18n-attr":"title","data-test":k,children:[m(k),":"]}),(0,q0.jsx)("div",{className:`${hg.value}`,children:(0,q0.jsx)("div",{className:`${hg.label}`,children:(0,q0.jsx)("span",{title:m(E),className:`${hg.filetype} ${hg.border} ${hg.editDisable} ${hg.text}`,"data-test":E,children:m(E)})})})]});let{onKeyDown:j,onFocus:B,onBlur:V,defaultValue:G,placeholder:Q,suffix:H,isInValidHotkey:q,isCommand:U,hotkey:F,changeButton:K,clickRepeatObj:te,selected:ae,onlyEnglish:pe}=A;jlo(()=>(ce(E),!0)),(0,Tz.useEffect)(()=>{setTimeout(()=>{K==null||K(k,P==null)})}),(0,Tz.useEffect)(()=>{setTimeout(()=>{ae&&_.current.focus()})},[]);let Z=H||"";function ee(oe){N(oe),ce(oe),setTimeout(()=>{_.current.focus()})}function ce(oe){let re=q==null?void 0:q(F,U?zlo(oe):oe,d,U);if(re){O(re);return}!re&&P&&O(re)}let ne=w(E,H)!=w(G,H);return(0,q0.jsxs)("div",{style:{width:"100%"},children:[(0,q0.jsxs)("div",{className:`${hg.line}`,children:[(0,q0.jsxs)("div",{className:`${hg.name}`,title:m(k),"data-test":k,children:[m(k),":"]}),(0,q0.jsxs)("div",{className:`${hg.value}`,children:[(0,q0.jsxs)("div",{className:`${ne?hg.label1:hg.label}`,children:[(0,q0.jsx)("input",{readOnly:pe,type:"text",ref:_,className:`${hg.filetype}`,placeholder:m(Q||""),value:E,onKeyDown:oe=>{if(j){let re=j(oe);ce(re),N(re),oe.preventDefault()}},onKeyUp:oe=>{oe.stopPropagation()},onFocus:oe=>{if(setTimeout(()=>{oe.target.select()}),Z){let re=E.replace(Z,"");N(re)}},onBlur:oe=>{let re=E;V&&(re=V(re,R));let Y=re+Z;Z&&(N(Y),v(re)),ce(Y)},onChange:oe=>{N(oe.target.value),ce(oe.target.value)}}),E!=Z&&E!=""&&(0,q0.jsx)("i",{className:`icon clearIcon ${hg.clearIcon}`,onClick:()=>{ee(Z)}})]}),ne&&(0,q0.jsx)(K_,{onClick:()=>{ee(G+Z)}})]})]}),P&&(0,q0.jsxs)("div",{className:`${hg.line} ${hg.tips}`,children:[(0,q0.jsx)("div",{className:`${hg.name}`}),(0,q0.jsxs)("div",{className:`${hg.value}`,children:[(0,q0.jsx)("span",{className:`${hg.usedHotkey}`,onClick:()=>{te(P,k)},children:m(P.funcE)}),(0,q0.jsx)("span",{className:`${hg.error}`,"data-test":"Shortcut keys used",children:m("Shortcut keys used")})]})]})]})};function S(A){let D=(A||"").indexOf("<"),E,N;return D==-1?(E=A,N=""):(E=A.slice(0,D),N=A.slice(D)),{command:E,suffix:N}}let T,M;r&&!r.cmdEditDisable&&!r.invisibleHotKey&&(T=S(r.command),M=S(f.hotkey.command));function I(A,D){var R;let E=g.valid;E[A]=D;let N=!(E.Hotkey&&E.Command);(R=h.current)==null||R.setStatus(N)}return(0,q0.jsxs)("div",{className:p("pop-content-container oneLineOneInputDlg"),children:[(0,q0.jsx)("div",{className:p("pop-content-wrapper"),children:(0,q0.jsx)("div",{className:hg.dlgModifyHotkey,children:(0,q0.jsxs)("div",{className:hg.borderOut,children:[(0,q0.jsx)(x,{value:b,name:"Name",readOnly:!0}),r&&!r.invisibleHotKey&&(0,q0.jsx)(x,{name:"Hotkey",value:r.hotkey||"",readOnly:r.hotkeyEditDisable,defaultValue:f.hotkey.hotkey||"",placeholder:"Global Shortcut key",onKeyDown:A=>a_(A),onBlur:A=>(g.hotkey.hotkey=A,A),isInValidHotkey:aet,isCommand:!1,hotkey:r,changeButton:I,clickRepeatObj:u||oOr,selected:c=="Hotkey",onlyEnglish:!0}),n&&(0,q0.jsx)(x,{name:"Menu Hotkey",selected:c=="Menu Hotkey",placeholder:"Shortcut keys for menu display",value:n.hotkey||"",defaultValue:f.menuHotkey.hotkey||"",onKeyDown:A=>dci(A),onBlur:A=>(g.menuHotkey.hotkey=A,A),onlyEnglish:!0}),r&&!r.cmdEditDisable&&!r.invisibleHotKey&&(0,q0.jsx)(x,{selected:c=="Command",name:"Command",value:T.command,suffix:T.suffix,defaultValue:M.command,onBlur:(A,D)=>{let E=A;return S(E).suffix!=""?(E=D+T.suffix,A=D):E=A+T.suffix,g.hotkey.command=E,A},isInValidHotkey:aet,isCommand:!0,hotkey:r,changeButton:I,onlyEnglish:!1})]})})}),(0,q0.jsxs)("div",{className:p("pop-footer-wrapper dialog-button"),children:[(0,q0.jsx)(ml,{type:"primary",style:{marginRight:"8px"},onClick:()=>y("confirm"),ref:h,disabled:!1,children:"Confirm"}),(0,q0.jsx)(ml,{onClick:()=>y("cancel"),children:"Cancel"})]})]})},Flo=tOr;function aet(t,e,i,o=!1){if(!e)return null;let r=t,n;i?n=i():n=Nc.getUserConfig();let{range:a,scene:s,hotkeyCmd:l}=r;for(let c in n){let d=n[c];for(let u=0;u<d.length;u++){let p=d[u];if(p.hotkeyCmd===l)continue;let m=o?e.toLocaleLowerCase()===p.command:e===p.hotkey,h=Blo(a,p.range),f=Blo(s,p.scene);if(m&&h&&f)return p}}return null}function Blo(t,e){return[...new Set(t.concat(e))].length<t.length+e.length}function iOr(t,e){let i;e?i=e():i=Nc.getActiveConfig();let o=t,{range:r,scene:n,hotkeyCmd:a}=o,s=yOi(i),l=EH[s];for(let c in l){let d=l[c];for(let u=0;u<d.length;u++){let p=d[u];if(p.hotkeyCmd===a)return ue.deepClone(p)}}return null}function oOr(t,e){let i=t.hotkeyCmd,o=Ys.getMenuInfoByHotkey(i),r={hotkey:t,hotkeyCmd:i,menuHotkey:o,select:e};e2e.openHotkeySettingDlg(r)}function zlo(t){return(t||"").trim().replaceAll("<","&lt;").replaceAll(">","&gt;")}var Vlo=L(z());async function Ulo(t={},e){let i=bt[e],{title:o,width:r,closed:n}=i,a=t.eventBusNameSpace;le.open({id:t.eventBusNameSpace,title:o,width:r,closed:n,popup:!1,children:(0,Vlo.jsx)(Flo,{containerId:a,dialogId:a,title:t.title,extra:t})})}var set=L(Se());var eW=L(z());function nOr(t){Ce(ms);let e=28,i={position:"absolute",width:"100%",height:`calc(100% - ${e}px)`,left:0,top:`${e}px`},o=(0,set.useRef)(null),r=`editor?entry=ocr-symbol&entryType=PRO&language=${me.curr}&theme=${ms.getActiveTheme()}&pinSpace=${t.pinSpace}&pinLength=${t.pinLength}`;return Kr(new URLSearchParams(location.search).get("ocrSymbolTest"))||(r+="&test"),(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)("div",{ref:o,style:{...i,display:"flex",alignItems:"center",justifyContent:"center"},children:(0,eW.jsx)("span",{className:"rotation",style:{display:"inline-block"},children:(0,eW.jsx)("i",{className:"icon-eda-loading",style:{width:"52px",height:"52px"}})})}),(0,eW.jsx)("iframe",{onLoad:n=>{o.current.remove(),n.currentTarget.style.display=""},style:{...i,display:"none"},src:r,frameBorder:"0"})]})}async function wPt(t,e){var p,m,h,f;let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;t.containerId=o;let l=(p=C.profileSetting.commSystemSetting)==null?void 0:p.CANVAS,c=(m=l.unit)==null?void 0:m.value,d=(h=l.defaultPinDistance)==null?void 0:h.value;d=np.convert(d,ru(c),10);let u=(f=l.defaultPinLength)==null?void 0:f.value;u=np.convert(u,ru(c),10),le.open({id:o,title:r,width:n,height:a,closed:s,onPaste:!0,children:(0,set.createElement)(nOr,{entryType:"PRO",pinSpace:d,pinLength:u}),resize:!0})}var R1=L(Se());var CPt="Wire / Bus Length",xPt="Adapt To Longest Netname",Hlo="Adapt To Netname";var Glo="Fixed Length",TPt="Preserve Existing Wire Length",SPt="Add no connect flag when the net name and length are empty",Ylo="Fill in the pin name with the net name";var X0=L(Se());var Qlo=L(Se());var tW=L(z()),Wlo={height:"24px",padding:"0 8px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",lineHeight:"24px",cursor:"pointer"},aOr={background:"var(--bg-color-hover-drop-down-menuItem)",color:"var(--font-color-hover-drop-down-menuItem)"};function sOr(t,e){let{value:i,selectList:o=[],onSelectItemClick:r,onClick:n,positionFixed:a=!0}=t,s={position:a?"fixed":"absolute",width:"inherit",maxHeight:"192px",zIndex:99999,overflow:"auto",background:"var(--bg-color-drop-down-menu)",fontSize:"12px",color:"var(--font-color-drop-down-menuItem)",boxShadow:"0 0 4px calc(var(--has-shadow-drop-down-menu) * 0.2)",border:"1px solid var(--common-border-color)"},[l,c]=(0,X0.useState)(i||""),[d,u]=(0,X0.useState)(o||[]),[p,m]=(0,X0.useState)(!1),h=(0,X0.useRef)(null),[f,g]=(0,X0.useState)(-1),b=(0,X0.useRef)(null),y=(0,X0.useRef)(p),w=(0,X0.useRef)(l),x=(0,X0.useRef)(f);(0,Qlo.useImperativeHandle)(e,()=>h.current),(0,X0.useEffect)(()=>{w.current=l},[l]),(0,X0.useEffect)(()=>{y.current=p},[p]),(0,X0.useEffect)(()=>{let q=l.toLowerCase();u(t.selectList.filter(U=>U.toLowerCase().includes(q)))},[t.selectList]),(0,X0.useEffect)(()=>{c(t.value)},[t.value]);let S=(0,X0.useRef)(!1),T=q=>{S.current=!0;let U=q.target.value.trim();c(U),M(U),p||(m(!0),Q())},M=(q=l)=>{if(t.selectList){g(-1),A();let U=q.toLowerCase();u(t.selectList.filter(F=>F.toLowerCase().includes(U)))}},I=q=>{var U;vn(q)&&(v.current?(v.current=!1,q=t.value,c(q)):q=l),g(-1),t.validator&&!t.validator(q)&&(q=t.value,c(q)),(U=t.onChange)==null||U.call(t,q)},A=(0,X0.useCallback)(()=>{if(!~x.current)return;let q=b.current,{scrollHeight:U,clientHeight:F}=q,K=q.children[x.current].offsetTop;K>U-F?K=U-F:K<F/2?K=0:K-=F/2,q.scrollTop=K},[]);(0,X0.useEffect)(()=>{x.current=f},[f]);let D=q=>{if(d.length){if(q.key==="ArrowDown"){let U=x.current+1;U>d.length-1&&(U=0),g(U),A()}else if(q.key==="ArrowUp"){let U=x.current-1;U<0&&(U=d.length-1),g(U),A()}}};(0,X0.useEffect)(()=>(window.addEventListener("keydown",D),()=>{window.removeEventListener("keydown",D)}),[]);let E=q=>{g(q)},N=q=>{I(d[q]),r==null||r(d[q]),m(!1)},R=()=>{var q;~f?I(d[f]):(q=h.current)==null||q.blur()},v=(0,X0.useRef)(!1),k=q=>{q.key==="Enter"?R():q.key==="Escape"&&(v.current=!0,h.current.blur())},P=()=>d.map((q,U)=>{let F=(()=>{let te=q.toLocaleLowerCase().indexOf(l.toLocaleLowerCase()),ae;if(te>=0){let pe=(0,tW.jsx)("em",{style:{fontStyle:"normal"},className:"hightlight",children:q.slice(te,te+l.length)});ae=(0,tW.jsxs)("span",{children:[q.slice(0,te),pe,q.slice(te+l.length)]})}else ae=q;return ae})(),K=U===f?{...Wlo,...aOr}:Wlo;return(0,tW.jsx)("div",{title:q,style:K,onPointerDown:te=>te.preventDefault(),onPointerMove:()=>E(U),onPointerUp:()=>N(U),children:F},q+U)}),[O,_]=(0,X0.useState)(s),[j,B,V]=La(),G=(0,X0.useRef)(null);(0,X0.useEffect)(()=>(h.current&&B(h.current),()=>{V()}),[h.current]);function Q(q){var ee,ce;let{left:U,width:F,height:K}=q||h.current.getBoundingClientRect(),te=(ce=(ee=h.current)==null?void 0:ee.getBoundingClientRect().top)!=null?ce:0,{innerHeight:ae}=window,pe=te<ae>>1?{key:"top",value:te+K}:{key:"bottom",value:ae-te},Z;a?Z={...s,width:`${F}px`,left:`${U}px`,[pe.key]:`${pe.value}px`}:Z={...s,width:`${F}px`,left:"0px",[pe.key]:"24px"},_(Z)}(0,X0.useEffect)(()=>{j&&Q(j)},[j]),(0,X0.useEffect)(()=>{t.focus&&h.current.focus()},[]);let H=(0,tW.jsx)("div",{style:{...O},ref:b,onWheel:q=>{q.stopPropagation()},onMouseDown:q=>{q.preventDefault()},children:P()});return(0,tW.jsxs)("div",{ref:G,style:{position:"relative",width:"100%",...t.style||ks},children:[(0,tW.jsx)("input",{className:t.className||"",style:{width:"100%"},type:"text",ref:h,onInput:T,onKeyUpCapture:k,value:l,onClick:()=>{n==null||n(),M(),m(!0),Q()},onFocus:q=>{q.target.select()},onBlur:()=>{var q;S.current=!1,m(!1),(q=t.blur)==null||q.call(t),I()}}),p&&d.length?a?(0,tW.jsx)(YU,{children:H}):H:null]})}var Sz=(0,X0.memo)((0,X0.forwardRef)(sOr));var Bs=L(z()),ps=new class extends qe{constructor(){super(...arguments);this.allSelectedRowIndexValues=new Set;this.isFillPinNameInSelectedRow=!1;this.importedRowData=null;this.data=[];this.saveExsitingLength=!1;this.wireOrBusLength={checkedValue:xPt,fixedLength:.3,unit:"inch"};this.addNoConnectFlagIfNoNameAndLengthEmpty=!1}get id(){return bt["fan-out-netlabel-or-noConnect"].containerId}setIsFillPinNameInSelectedRow(e){this.isFillPinNameInSelectedRow=e,this.notify()}setImportedRowData(e){this.importedRowData=e,this.notify()}setData(e){this.data=e,this.notify()}originalData2RowData(e){let i={wireOrBusLength:n=>n.value===0?"":`${n.value.toString()+n.unit.toString()}`,noConnect:n=>T5[`${+n}`],pinRotation:n=>Klo[n]},r=ps.saveExsitingLength;return dOr(Object.values(e).map((n,a)=>{let s=Object.create(null);return s.index=a,s.pinId=n.pinId,s.point=n.point,s.connectedGroupType=n.connectedGroupType,s.disabled=Object.create(null),s.selectList=Object.create(null),s.symbolId=n.symbolId,Object.entries(n.data).forEach(([l,c])=>{let{value:d,disabled:u}=c,p=i[l];s[l]=p?p(d):d,l==="wireOrBusLength"?s.disabled[l]=r&&!!c.value||u:(l==="netname"&&(s.selectList[l]=c.selectList),s.disabled[l]=u)}),s}))}setSaveExsitingLength(e){this.saveExsitingLength=vn(e)?!this.saveExsitingLength:e,this.notify()}get unit(){return Vo()}setWireOrBusLengthCheckable(e){this.wireOrBusLength.checkedValue=e,this.notify()}setFixedLength(e){this.wireOrBusLength.fixedLength=e,this.wireOrBusLength.unit=this.unit,this.notify()}setAddNoConnectFlagIfNoNameAndLengthEmpty(e){this.addNoConnectFlagIfNoNameAndLengthEmpty=vn(e)?!this.addNoConnectFlagIfNoNameAndLengthEmpty:e,this.notify()}confirm(){let{data:e,originalData:i}=this;if(!i)return;let o;e.length?(o={},e.forEach(r=>{let n=i[r.pinId].data,a=(()=>{var d;let s=!!T5[r.noConnect];if(s)return s;let l=!1,c=(d=r.wireOrBusLength.match(/[a-zA-Z]/))==null?void 0:d.index;return c&&r.wireOrBusLength.substring(0,c)==="0"&&(l=!0),r.wireOrBusLength===""&&(l=!0),!n.wireOrBusLength.disabled&&ps.addNoConnectFlagIfNoNameAndLengthEmpty&&!r.netname&&l})();o[r.pinId]={pinId:r.pinId,point:r.point,connectedGroupType:r.connectedGroupType,symbolId:r.symbolId,data:{pinName:{value:r.pinName,disabled:r.disabled.pinName},pinNumber:{value:`${r.pinNumber}`,disabled:r.disabled.pinNumber},pinRotation:{value:Klo[r.pinRotation],disabled:r.disabled.pinRotation},netname:{value:r.netname,disabled:r.disabled.netname,selectList:[]},wireOrBusLength:{value:r.wireOrBusLength===""?ws.zero().toJSON():ws.build1(r.wireOrBusLength).toJSON(),disabled:n.wireOrBusLength.disabled},noConnect:{value:a,disabled:r.disabled.noConnect},designator:{value:r.designator,disabled:!1}}}})):o=i,Cr("sch/validateFanOutNetlabelData",{data:o,wireOrBusLengthConf:this.wireOrBusLength,forbideEditLength:this.saveExsitingLength}).then(r=>{this._close()})}_close(){this.clear(),le.close(this.id)}cancel(){this._close(),C.messageBus.publish("sch/cancelFanOutNetLabelNoConnect")}clear(){this.isFillPinNameInSelectedRow=!1,this.allSelectedRowIndexValues.clear(),this.importedRowData=null,this.data=[]}};var lOr={designator:0,symbolId:1,pinNumber:2,pinRotation:3,pinName:4,netname:5,wireOrBusLength:6,noConnect:7},T5=(i=>(i[i.No=0]="No",i[i.Yes=1]="Yes",i))(T5||{});var Klo={0:"R",180:"L",90:"T",270:"B",R:0,L:180,T:90,B:270},Zlo={L:2,B:4,R:8,T:16},cOr={L:["y",1],B:["x",1],R:["y",-1],T:["x",-1]};function dOr(t){return t.sort(({designator:e,symbolId:i,pinRotation:o,point:r},{designator:n,symbolId:a,pinRotation:s,point:l})=>{if(e===n&&i===a){let c=Zlo[o]-Zlo[s];if(c!==0)return c;let[d,u]=cOr[o];return u*(r[d]-l[d])}else return ue.naturalCompare(e,n)}),t}function MPt(t,{type:e,selectList:i}){let o=!1;return e==="bus"?C.messageBus.publish("sch/validateIsConformBusName",{value:t,cb:r=>{o=r}}):e==="busentry"?o=i.some(r=>r.toUpperCase()===t.toUpperCase()):C.messageBus.publish("sch/validateIsConformWireName",{value:t,cb:r=>{o=r}}),o}function IPt(t,{log:e}=ks,i=Vo()){let r=fo(io(25,"inch",i),i),n=t>0&&t<=r;return e&&!n&&C.messageBus.publish("ui/toastMsg",{type:"warn",msg:{text:"Length Range: {start}~{end}{suffix}",i18nParam:{start:0,end:r,suffix:i}},timer:3}),n}function Jlo(t){let{value:e,defaultValue:i=e,validator:o,onChange:r,unit:n}=t,[a,s]=(0,R1.useState)(`${e+n}`),l=()=>{let d=a==="",u=d?0:yd(a,n);isFinite(u)&&o&&o(u)?s(String(u)+n):(s(`${i+n}`),u=i),r&&r(d?a:String(u))};(0,R1.useEffect)(()=>{s(document.activeElement!==c.current?t.value+n:String(t.value))},[t.value]);let c=(0,R1.useRef)(null);return(0,R1.useEffect)(()=>{t.focus&&c.current.focus()},[t.focus]),(0,Bs.jsx)("input",{ref:c,type:"text",className:"fixed-length-input",value:a,onInput:d=>{s(SD(d.target.value))},onBlur:d=>{l()},onFocus:d=>{s(a.substring(0,a.lastIndexOf(n)))},onKeyDown:d=>{d.key==="Escape"&&d.stopPropagation()},onKeyUp:d=>{d.key==="Escape"&&(d.stopPropagation(),l())}})}function uOr(){let{wireOrBusLength:t,unit:e}=ps,i=fo(io(t.fixedLength,t.unit,e),e);return(0,Bs.jsx)(Jlo,{validator:o=>IPt(o,{log:!0}),value:i,unit:e,onChange:o=>{ps.setFixedLength(+o)}})}var pOr=t=>{let e=J(),i=(0,R1.useRef)({title:e(CPt),options:[{value:xPt},{value:Hlo},{value:Glo}]}),o=r=>{ps.setWireOrBusLengthCheckable(r)};return(0,Bs.jsxs)("section",{className:"item-layer",style:{display:"flex"},children:[(0,Bs.jsxs)("em",{children:[i.current.title,(0,Bs.jsx)("span",{children:":"})]}),(0,Bs.jsx)($i,{style:{marginRight:16},name:"wire-or-bus-length",value:ps.wireOrBusLength.checkedValue,options:i.current.options,onChange:o}),(0,Bs.jsx)(uOr,{},"input")]})};function mOr(){let t=J(),e={checked:ps.saveExsitingLength,content:t(TPt)},i=()=>{ps.setSaveExsitingLength()};return(0,Bs.jsxs)("section",{className:"item-layer",children:[(0,Bs.jsx)("em",{}),(0,Bs.jsx)("ul",{children:(0,Bs.jsx)("li",{children:(0,Bs.jsxs)("label",{children:[(0,Bs.jsx)("input",{type:"checkbox",value:e.content,checked:e.checked,onChange:()=>i()}),(0,Bs.jsx)("span",{children:e.content})]})},e.content)})]},TPt)}function hOr(){let t=J(),e={checked:ps.addNoConnectFlagIfNoNameAndLengthEmpty,content:t(SPt)},i=()=>{ps.setAddNoConnectFlagIfNoNameAndLengthEmpty()};return(0,Bs.jsxs)("section",{className:"item-layer",children:[(0,Bs.jsxs)("em",{children:[t("No Connect Flag"),(0,Bs.jsx)("span",{children:":"})]}),(0,Bs.jsx)("ul",{children:(0,Bs.jsx)("li",{children:(0,Bs.jsxs)("label",{children:[(0,Bs.jsx)("input",{type:"checkbox",value:e.content,checked:e.checked,onChange:()=>i()}),(0,Bs.jsx)("span",{children:e.content})]})},e.content)})]},SPt)}var iW=(t,e)=>{let i={height:"25px",lineHeight:"25px"};return e&&(i.cursor="not-allowed",i.color="var(--font-color-disabled-td)",i.background="var(--bg-color-disabled-td)"),(0,Bs.jsx)("div",{style:i,children:t})},fOr=t=>{let{value:e}=t,[i,o]=(0,R1.useState)(!1),r=J(),n=(0,R1.useRef)(null);return(0,R1.useEffect)(()=>{let a=s=>{o&&s.target.closest("div.table-select-wrapper")!==n.current&&o(!1)};return document.addEventListener("click",a),()=>{document.removeEventListener("click",a)}},[]),(0,Bs.jsx)("div",{className:"table-select-wrapper",ref:n,onDoubleClick:()=>{o(!0)},tabIndex:0,onBlur:()=>{o(!1)},children:i?(0,Bs.jsx)(xt,{select:!0,value:t.value,list:t.list,onChange:a=>{t.onChange(a),o(!1)}}):iW(r(e))})},gOr=t=>{let{value:e,onChange:i}=t,[o,r]=(0,R1.useState)(!1),n=e===""?e:e+ps.unit;return(0,Bs.jsx)("div",{onDoubleClick:()=>{r(!0)},children:o?(0,Bs.jsx)(Jlo,{focus:!0,value:e,unit:ps.unit,validator:a=>a===0||IPt(a,{log:!0}),onChange:a=>{i(a),r(!1)}}):iW(n)})},bOr=t=>{let{value:e,onChange:i}=t,[o,r]=(0,R1.useState)(!1);return(0,Bs.jsx)("div",{onDoubleClick:()=>{r(!0)},children:o?(0,Bs.jsx)(Sz,{value:e,focus:!0,validator:t.validator,onChange:n=>{i(n),r(!1)},selectList:t.selectList}):iW(e)})},yOr=()=>{let t=(0,R1.useContext)(qlo),e=J(),i=[{key:"designator",name:e("Designator"),width:.1,sortable:!0},{key:"pinNumber",name:e("Pin Number"),width:.15,sortable:!0,sortKey:["designator","pinNumber"],render(o){let{row:r}=o,n=r[this.key];return iW(n)}},{key:"pinRotation",name:e("Pin Order"),width:.15,sortable:!0,sortKey:["designator","pinRotation"],render(o){let{row:r}=o,n=r[this.key];return iW(n)}},{key:"pinName",name:e("Pin Name"),sortable:!0,sortKey:["designator","pinName"],width:.15,render(o){let{row:r}=o,n=r[this.key];return iW(n)}},{key:"netname",name:e("Net name"),width:.15,render(o){let{row:r,setRowData:n}=o,a=r.disabled[this.key],s=r[this.key];return a?iW(s,!0):(0,Bs.jsx)(bOr,{value:s,validator:l=>MPt(l.toUpperCase(),{type:r.connectedGroupType,selectList:r.selectList.netname}),onChange:l=>{l=l.toUpperCase(),r[this.key]=l,n({rowIndex:r.pinId,colKey:this.key,value:l}),l&&r.noConnect===T5[1]&&(r.noConnect=T5[0],n({rowIndex:r.pinId,colKey:"noConnect",value:T5[0]}))},selectList:r.selectList.netname})}},{key:"wireOrBusLength",name:e(CPt),width:.2,render(o){let{row:r,setRowData:n,setCellStyle:a}=o,s=r[this.key]===""?"":yd(r[this.key],ps.unit)||"",l=r.disabled[this.key];return(0,R1.useEffect)(()=>{a({backgroundColor:l?"var(--bg-color-disabled-td)":""})},[l]),l?iW(s&&s+ps.unit,!0):(0,Bs.jsx)(gOr,{value:s,onChange:c=>{let d=c===""?c:c+ps.unit;r[this.key]=d,n({rowIndex:r.pinId,colKey:this.key,value:d}),n({rowIndex:r.pinId,colKey:"noConnect",value:T5[0]}),r.noConnect=T5[0]}})}},{key:"noConnect",name:e("No Connect Flag"),width:.1,selectList:[T5[0],T5[1]].map(o=>({text:e(o),value:o,key:o})),render(o){let{row:r,setRowData:n,setCellStyle:a}=o,s=r.disabled[this.key],l=r[this.key];return(0,R1.useEffect)(()=>{a({backgroundColor:s?"var(--bg-color-disabled-td)":""})},[s]),s?iW(e(l),!0):(0,Bs.jsx)(fOr,{value:l,list:this.selectList,onChange:c=>{r[this.key]=c,n({rowIndex:r.pinId,colKey:this.key,value:c}),c===T5[1]&&(r.netname="",n({rowIndex:r.pinId,colKey:"netname",value:""}))}})}}];return(0,R1.useEffect)(()=>{ps.setData(ps.originalData2RowData(t.data))},[]),(0,R1.useEffect)(()=>{let o=[...ps.data],r=ps.saveExsitingLength,n=t.data;o.forEach(a=>{a.disabled.wireOrBusLength=r&&!!a.wireOrBusLength||n[a.pinId].data.wireOrBusLength.disabled}),r&&o.forEach(a=>{var l;let s=(l=n[a.pinId].data.wireOrBusLength)==null?void 0:l.value;if(s){let c=s.value;a.wireOrBusLength=c?ws.build2(s).toString():String(a.wireOrBusLength)}}),ps.setData(o)},[ps.saveExsitingLength,ps.wireOrBusLength.checkedValue]),(0,R1.useEffect)(()=>{ps.importedRowData&&(ps.setData(ps.importedRowData),ps.importedRowData=null)},[ps.importedRowData]),(0,R1.useEffect)(()=>{if(ps.isFillPinNameInSelectedRow){let o=[...ps.data];o.forEach(r=>{ps.allSelectedRowIndexValues.has(r.pinId)&&MPt(r.pinName,{type:r.connectedGroupType,selectList:r.selectList.netname})&&(r.netname=r.pinName,r.noConnect=T5[0])}),ps.setData(o),ps.setIsFillPinNameInSelectedRow(!1)}},[ps.isFillPinNameInSelectedRow]),(0,Bs.jsx)("section",{className:"main-table",children:(0,Bs.jsx)(xi,{index:"pinId",columns:i,rows:ps.data,height:300,border:!0,stockade:!1,fixedHeader:!0,onClick:({allSelectedRowIndexValues:o})=>{ps.allSelectedRowIndexValues=o},onChange:o=>{ps.setData(o)},onMoveRowStatus:({up:o,down:r})=>{}})})},qlo=(0,R1.createContext)(void 0);function wOr(t){let e=J();Ce(ps);let i=()=>{if(!ps.allSelectedRowIndexValues.size){De({type:"warn",msg:"Please select the row that requires action",timer:2});return}ps.setIsFillPinNameInSelectedRow(!0)};return(0,Bs.jsx)(qlo.Provider,{value:{...t},children:(0,Bs.jsxs)("div",{className:"fanout-netlabel-content",children:[(0,Bs.jsx)(pOr,{}),(0,Bs.jsx)(mOr,{}),(0,Bs.jsx)(hOr,{}),(0,Bs.jsx)(Me,{class:"add-pinname-to-netname",type:"default",onClick:()=>{i()},children:Ylo}),(0,Bs.jsx)(yOr,{})]})})}function COr(){let t=(0,R1.useRef)(ps.id),e=J();Ce(ps);function i(s){let l=[],c=s.split(`
`),d=["designator","symbolId","pinNumber","pinRotation","pinName","netname","wireOrBusLength","noConnect"],[u,p]=[c.shift(),d.join("")].map(m=>m.replace(/[\s|,]/g,"").toLowerCase());if(u!==p)return De({type:"warn",msg:{value:'The format of the imported CSV file is abnormal, please use the "Export" function at {functionArea} to get the template',options:{functionArea:"Fan Out Netlabel"}},timer:4}),!1;for(let m=0;m<c.length;m++){let h=c[m];if(Xlo(h))continue;let f=h.split(/[\t]/g).map(SD);for(let g=0;g<length;g++)vn(f[g])&&(f[g]="");l.push(f)}return l}function o(s){let{["designator"]:l,["symbolId"]:c,["pinNumber"]:d,["pinRotation"]:u,["pinName"]:p,["netname"]:m,["wireOrBusLength"]:h,["noConnect"]:f}=lOr;s.forEach(S=>{S[f]===T5[1]&&S[m]&&(S[f]=T5[0])});let g=s.reduce((S,T,M)=>{let I=[T[l],T[d],T[u],T[p]].join(","),A=[T[l],T[c],T[d],T[u],T[p]].join(",");return![T5[0],T5[1]].includes(T[f])||Number.isNaN(+T[h])||(S[I]={netname:T[m].toUpperCase(),wireOrBusLength:T[h],noConnect:T[f],importRowIdx:M},S[A]={netname:T[m].toUpperCase(),wireOrBusLength:T[h],noConnect:T[f],importRowIdx:M}),S},Object.create(null)),b=[],y=[];if((ps.data||ps.originalData2RowData(ps.originalData)).forEach(S=>{let T=[S.designator,S.pinNumber,S.pinRotation,S.pinName].join(","),M=[S.designator,S.symbolId,S.pinNumber,S.pinRotation,S.pinName].join(","),I=g[M]||g[T];if(I){let A={...S},D=I.netname;MPt(D,{type:A.connectedGroupType,selectList:A.selectList.netname})&&(A.netname=D);let N=parseFloat(I.wireOrBusLength);IPt(N)&&(A.wireOrBusLength=N.toString()+Vo()),A.disabled.noConnect||(A.noConnect=I.noConnect),y.push(I.importRowIdx),b.push(A)}else b.push(S)}),!b.length){De({type:"warn",msg:"No valid data esist",timer:4});return}let x=s.map((S,T)=>T).filter(S=>!y.includes(S)).map(S=>S+1);x.length>0?De({type:"error",msg:"Failed to import some content!",bottomBarMsg:{type:"error",msg:['<span class="i18n">Could not find a unique match based on Designator and ID\uFF1ALine </span> ',x.join(",")]},timer:4}):De({type:"success",msg:"Import successfully!",timer:3}),ps.setImportedRowData(b)}let r=(0,R1.useCallback)(s=>{let l=s[0];if(!l)return;let c=new FileReader;c.readAsText(l),c.onload=function(d){let u=d.target.result.trim();if(!u){De({type:"error",msg:"Imported file is empty!",timer:1});return}let p=i(u);p!==!1&&o(p)}},[]),n=()=>{_Ci(r)},a=async()=>{let{data:s}=ps;if(!s.length)return;function l(g){return(g.join("	")+`
`).replace(/"/g,'"')}let c=["designator","symbolId","pinNumber","pinRotation","pinName","netname","wireOrBusLength","noConnect"],d=l(c),u=new Map;s.forEach(g=>{if(u.has(g.designator)){let b=u.get(g.designator);b.includes(g.symbolId)||u.set(g.designator,b.concat([g.symbolId]))}else u.set(g.designator,[g.symbolId])});let p=s.reduce((g,b)=>{let w=f(c.map(x=>b[x])).join("	")+`
`;return g+=w},""),m=d+p,{title:h}=await he.getTabInfo();f1e(m,"Fan_Out_Netlabel",h);function f(g){var b;for(let y=0;y<g.length;y++){if(y===0&&u.get(g[y]).length===1&&(g[y+1]=""),g[y]||(g[y]=""),y===6){let w=(b=g[y].match(/[a-zA-Z]/))==null?void 0:b.index;w&&(g[y]=g[y].substring(0,w))}g[y]=g[y].replace(/^([=+@-])/,(w,x)=>` ${x}`),g[y].match(/^0\d+$/)&&(g[y]=g[y]+"'")}return g}};return(0,Bs.jsxs)("footer",{className:"fanout-netlbael-footer",children:[(0,Bs.jsx)(Me,{class:"import-btn",onClick:n,children:"Import"}),(0,Bs.jsx)(Me,{class:"export-btn",onClick:a,children:"Export"}),(0,Bs.jsx)(Me,{class:"cancel-btn",onClick:()=>{ps.cancel()},children:"Cancel"}),(0,Bs.jsx)(Me,{type:"primary",class:"confirm-btn",onClick:()=>{ps.confirm()},children:"Confirm"})]})}var LPt={mainContent:(t=ks)=>(0,Bs.jsx)(wOr,{...t}),footer:(t=ks)=>(0,Bs.jsx)(COr,{...t})};function yIe(t=ks){let e=bt["fan-out-netlabel-or-noConnect"],{containerId:i,title:o,width:r,height:n,closed:a}=e;ps.originalData=t,le.open({id:i,title:o,width:r,closed:a,centered:!0,footer:LPt.footer(),folded:!0,children:LPt.mainContent({data:t}),onKeyup(s){switch(s.key){case"Enter":{setTimeout(()=>{ps.confirm()},100);break}case"Escape":{ps.cancel();break}}},onCancel(){ps.cancel()},onClose(){ps.cancel()}})}var uet=L(Vi());var pet=L(Se());var vPt=L(eco());var U4=L(z()),{locals:iL}=vPt.default,xOr=`
`,tco="id",TOr=t=>{let{containerId:e,dialogId:i,CBB:o,CBBTitle:r}=t.params,[n,a]=(0,pet.useState)([]),s=0,l=new Set,c=[],d=[];async function u(){for(let S of r)await(await C.messageBus.rpcCall($e.PCB.GET_BY_TITLE,[S,C.currentProject.projectId])).message&&l.add(S);for(let S in o)if(l.has(o[S].title)){let T={};T.key=S,T.name=S,T.checked=!1,T.title=o[S].title,T[tco]=s++,c.push(T),d.push(S)}a(c)}function p(S,T){let M=0;function I(R){if(M>=R.length)return null;let v=R.indexOf(xOr,M);v<0&&(v=R.length);let k=R.substring(M,v);return M=v+1,k}let A=new Array;for(;M<S.length;){let R=I(S),v=R&&JSON.parse(R);(v[0]=="LAYER"||v[0]=="LAYER_PHYS"||v[0]=="ACTIVE_LAYER")&&A.push(R)}M=0;let D=new Array;for(;M<T.length;){let R=I(T),v=R&&JSON.parse(R);v[0]=="LAYER"||v[0]=="LAYER_PHYS"||v[0]=="ACTIVE_LAYER"||D.push(R)}let E="",N=!1;for(let R of D)N&&(E+=`
`),E+=R,N=!0;for(let R of A)N&&(E+=`
`),E+=R,N=!0;return E}let m=!0,h=J(),f=[{key:"key",name:h("ALL"),align:"left",width:1}],g=document.getElementById(e),b=[...n],y=!0;(0,pet.useLayoutEffect)(()=>{async function S(){if(y&&(y=!1,await u()),d.length>0){let T=d[0],M=o[T],I=g.getElementsByClassName(iL.preview);det(M,I,!0);async function A(){let D=M.title,E=await(await C.messageBus.rpcCall($e.PCB.GET_BY_TITLE,[D,C.currentProject.projectId])).message;det(E,I,!1)}A()}}S()},[]);let w=async S=>{var M;let T={};for(let I of b){let A=I.title,D=await(await C.messageBus.rpcCall($e.PCB.GET_BY_TITLE,[A,C.currentProject.projectId])).message;if(D==null||D=="")continue;let{uuid:E,docType:N}=D,R=D.path||C.currentProject.projectId;T[A]={uuid:E,docType:N,projectId:R,env:{tabId:E+Zc+R,windowTabId:(M=ko())==null?void 0:M._TAB_ID_}}}await oo({action:S,dialogId:i,formData:S==="confirm"?{selects:b,pcbModule:T}:{}}),S==="confirm"&&g.setAttribute("data",""),le.close(e)};Bt(()=>{w("close")}).close(e);let x=S=>{let{row:T}=S,M=T.key,I=T.title,A=o[M],D=g.getElementsByClassName(iL.preview);det(A,D,!0);async function E(){let N=await(await C.messageBus.rpcCall($e.PCB.GET_BY_TITLE,[I,C.currentProject.projectId])).message;det(N,D,!1)}E()};return(0,U4.jsxs)("div",{className:"pop-content-container",style:{height:"100%"},children:[(0,U4.jsx)("style",{children:String(vPt.default)}),(0,U4.jsx)("div",{className:"pop-content-wrapper",children:(0,U4.jsxs)("div",{id:"ReuseTemplate",className:iL.reuse_template,children:[(0,U4.jsx)("div",{className:iL.table,children:(0,U4.jsx)(xi,{index:tco,columns:f,rows:n,checkbox:m,height:480,border:!0,onClick:x,onMoveRowStatus:S=>{},onCheckRow:S=>{b.length=0;for(let T of S)b.push(T)}})}),(0,U4.jsxs)("div",{className:iL.preview,children:[(0,U4.jsx)("div",{title:h("Current Version"),className:iL.preview_title_box,children:(0,U4.jsx)("span",{className:iL.title,children:h("Current Version")})}),(0,U4.jsx)("div",{id:"Current",className:iL.current_preview})]}),(0,U4.jsxs)("div",{className:iL.preview,children:[(0,U4.jsx)("div",{title:h("Updated Version"),className:iL.preview_title_box,children:(0,U4.jsx)("span",{className:iL.title,children:h("Updated Version")})}),(0,U4.jsx)("div",{id:"Updated",className:iL.update_preview})]})]})}),(0,U4.jsxs)("div",{className:"pop-footer-wrapper dialog-button",children:[(0,U4.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>w("confirm"),children:"Confirm"}),(0,U4.jsx)(Me,{onClick:()=>w("cancel"),children:"Cancel"})]})]})};async function det(t,e,i){if(e==null)return;let o=`.${iL.current_preview}`;i||(o=`.${iL.update_preview}`);let r=(0,uet.default)(o,e),n=()=>{r.data("footprint",t)},a=()=>{};return i?await SOr(t,r,n,null,!0):await ase(t,r,n,a,!0)}async function SOr(t,e,i=new Function,o=new Function,r=!1){if(!t)return;let{dataStr:n,uuid:a,tabId:s}=t;i();let l=(0,uet.default)("iframe",e);if(l.length==0){let d=g1(e[0],a,se.FOOTPRINT,r);l=(0,uet.default)(d),l[0].onload=async function(){return await c(s,!0),Promise.resolve(!0)}}else return await c(s,!1),Promise.resolve(!0);async function c(d,u){let{dataStr:p}=t,m={docType:se.PCB,tabId:d,dataStr:p,commSystemSetting:hn(),isPreview:!0,currOpenProjectId:C.currentProject.projectId};u?await C.windowBridge.rpcCall("rpcInitFrameInfo",m,l[0].contentWindow):await C.windowBridge.rpcCall("loadPCB",m,l[0].contentWindow)}}var ico=TOr;var oco=L(z());function DPt(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;t.containerId=o,le.open({id:o,title:r,width:"1000px",height:a,closed:s,onPaste:!0,children:(0,oco.jsx)(ico,{params:{...t,containerId:o}})})}var EPt=L(nco());var zM=L(z()),{locals:aco}=EPt.default,MOr=t=>{let{cmd:e,containerId:i,schematicId:o=null,variantUuid:r=null}=t,n=J(),a=()=>{co.handleClick("device-standardization"),le.close()},s=()=>{e==="bom_order_parts"||e==="bom_order_parts_smt"?C.messageBus.rpcCall("getOrderData",[he.getActiveTab()]).then(l=>{C.messageBus.publish("bomExpandEvent",{ev:l.message.ev,uuid:l.message.uuid,type:"orderParts",isSmt:e!=="bom_order_parts"})}):ii("export-bom",{schematicId:o,variantUuid:r}),C.messageBus.publish("placeComponentsOrder",!0),le.close(i)};return(0,zM.jsxs)(zM.Fragment,{children:[(0,zM.jsx)("style",{children:String(EPt.default)}),(0,zM.jsx)("div",{className:aco.prepass_bom_check_dialog,children:(0,zM.jsxs)("div",{className:"infos",children:[(0,zM.jsx)("div",{className:"messager-icon messager-info"}),(0,zM.jsx)("div",{className:"messages",children:(0,zM.jsx)("div",{children:n('It is recommended to use "Device Standardization" for inspection and assign of LCSC part numbers, which can reduce BOM errors and facilitate accurate parts purchase in LCSC and parts assembly of JLCPCB SMT. Device standardization inspection is strongly recommended!')})}),(0,zM.jsxs)("div",{className:aco.footer,children:[(0,zM.jsx)(Me,{type:"primary",onClick:()=>{a()},style:{maxWidth:"138px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:"Device Standardization"}),(0,zM.jsx)(Me,{onClick:()=>{s()},style:{maxWidth:"134px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:"Export BOM"}),(0,zM.jsx)(Me,{onClick:()=>{le.close()},style:{minWidth:"76px"},children:"Cancel"})]})]})})]})},sco=MOr;var cco=L(z());async function lco(t,e){let{cmd:i,schematicId:o,variantUuid:r}=e,n=bt[t],{containerId:a,title:s,width:l,closed:c,esc:d}=n;return le.open({id:a,title:s,width:l,closed:c,esc:d,children:(0,cco.jsx)(sco,{containerId:a,cmd:i,schematicId:o,variantUuid:r})}),{origin:"react"}}var fco=L(Vi()),ob=L(Se());var oW=L(Se());var APt=L(Gme());var FM=(t,e)=>{if(t){if(t==="realTimePrice"&&(t="Real-time Price"),t==="realTimeStock"&&(t="Real-time Stock"),t.startsWith("drawing:")){let i=t.split("drawing:")[1];t=e({value:"drawing:{sheetAttr}",options:{sheetAttr:e(i)}})}else t=e({context:"attrs",value:t});return t}};function het(t){let e;switch(t){case"Number":{e="No.";break}case"realTimePrice":{e="Real-time Price";break}case"realTimeStock":{e="Real-time Stock";break}default:{e=t;break}}return e}var ib=L(z()),fet=["Add into BOM","Convert to PCB"],IOr=({filterRules:t,allAttrs:e,initRulesOperateBtn:i,setInitRulesOperateBtn:o,updateFilterAttr:r,updateFilterRules:n})=>{let a=APt.default.locals,s=be.bind(APt.default.locals),l=J(),[c,d]=(0,oW.useState)(null),[u,p]=(0,oW.useState)(yI.rulesOperateBtn),[m,h]=(0,oW.useState)(!1),f=(0,oW.useRef)(null),g=(y,w)=>{n(y,"selected",!0),d(y);let x=ue.deepClone(u);x.forEach(S=>{S.disabled=!1,w&&S.type==="delete"&&(S.disabled=!0),y===0?S.type==="up"&&(S.disabled=!0):y+1===t.length&&S.type==="down"&&(S.disabled=!0)}),p(x)},b=(y,w)=>{if(w.disabled)return;let x=ue.deepClone(t),S=ue.deepClone(u),T=y;switch(w.type){case"add":{let M={attr:e[0],rule:fet.includes(e[0])?"no":"",checked:!1,isForbidDel:!1,selected:!1};M.selected=!1,M.checked=!1,x.push(M);break}case"delete":{let M=!0;x.splice(y,1),x.length&&(T=y-1,x.forEach((I,A)=>{A===T&&(I.selected=!0,M=I.isForbidDel)})),S.forEach(I=>{I.type==="delete"&&(I.disabled=M)});break}case"up":{T=y-1,[x[T],x[y]]=[x[y],x[T]],S.forEach(M=>{T===0&&M.type==="up"?M.disabled=!0:M.type==="down"&&(M.disabled=!1)});break}case"down":{T=y+1,[x[y],x[T]]=[x[T],x[y]],S.forEach(M=>{T===x.length-1&&M.type==="down"?M.disabled=!0:M.type==="up"&&(M.disabled=!1)});break}}d(T),p(S),n(T,"update",x)};return(0,oW.useEffect)(()=>{(t.length&&t.filter(w=>!w.checked)||[]).length?h(!1):h(!0)},[t]),(0,oW.useEffect)(()=>{i&&(p(yI.rulesOperateBtn),o(!1))},[i]),(0,ib.jsxs)("div",{className:s("filter-rules"),children:[(0,ib.jsxs)("div",{children:[(0,ib.jsxs)("span",{"data-test":"Filter Option:",children:[" ",l("Filter Option:")]}),(0,ib.jsx)("input",{id:"rules-all",type:"checkbox",name:"All",checked:m,onChange:y=>{n(0,"checkedAll",y.target.checked)}}),(0,ib.jsx)("label",{htmlFor:"rules-all",children:l("Select All")})]}),(0,ib.jsx)("div",{className:s("rule-operate"),children:u.map((y,w)=>(0,ib.jsx)("span",{className:`icon_operate icon_operate_${y.type} ${y.disabled?"disabled":""}`,"data-i18n-attr":"title","data-test":y.title,title:l(y.title),"data-ops":`rule(${y.type})`,onClick:()=>{b(c,y)}},w))}),(0,ib.jsx)("div",{className:s("rule-container"),children:(0,ib.jsx)("ul",{id:"rules",children:t.map((y,w)=>(0,ib.jsxs)("li",{className:s("rule-item",{"is-forbid-del":y.isForbidDel||!1,selected:y.selected||!1}),children:[(0,ib.jsx)("input",{type:"checkbox",name:"checked",checked:y.checked,onChange:x=>{x.stopPropagation(),n(w,"checked",x.target.checked)}}),(0,ib.jsx)("span",{}),(0,ib.jsxs)("div",{style:{display:"flex",alignItems:"center",width:"100%"},onClick:()=>{g(w,y.isForbidDel)},children:[(0,ib.jsx)("span",{style:{marginRight:"4px"},children:FM("Remove",l)}),(0,ib.jsx)(ld,{className:s("rule-select-wrap"),ref:f,width:"120px",height:"22px",style:{minWidth:"120px"},selectedValue:y.attr,searchAble:!0,disabled:y.isForbidDel,dropBoxPadding:"4px",showHoverTitle:!0,onSearchInput:x=>{r(x)},onItemChange:x=>{n(w,"attr",x)},hiddenCallback:()=>{r("")},children:e.map((x,S)=>(0,ib.jsx)(yTe,{value:x,title:FM(x,l),children:FM(x,l)},S))}),(0,ib.jsx)("span",{style:{margin:"0 4px"},children:l("has")}),fet.includes(y.attr)?(0,ib.jsx)(xt,{style:{width:"120px"},name:"content",value:y.rule,list:[{value:"no",text:"no"},{value:"yes",text:"yes"}],onChange:x=>{n(w,"rule",x)}}):(0,ib.jsx)("input",{type:"text",name:"content",value:y.rule||"",style:{width:"120px"},onChange:x=>{n(w,"rule",x.target.value)}})]})]},w))})})]})},dco=IOr;var uco=L(Gme());var hp=L(z());var{locals:wIe}=uco.default,LOr=({selectedFileInfo:t,fileName:e,fileType:i,documentList:o,exportSetFileName:r,setFileName:n,setFileType:a,isOneClickExport:s,showFileName:l,showFileType:c,assemblyVariantList:d,setVariant:u,variant:p,separator:m,setSeparator:h})=>{let f=J(),g=wIe.line,b=wIe["line-label"],y=x=>{a(x.target.value),mt.setCacheObj("BOMType",x.target.value),mt.saveToServer(!1)},w=x=>{h(x.target.value),mt.setCacheObj("BOMSeparator",x.target.value),mt.saveToServer(!1)};return(0,hp.jsxs)("div",{className:wIe["export-info"],children:[(0,hp.jsxs)("div",{className:g,children:[(0,hp.jsx)("label",{className:b,"data-test":"Range:",title:f("Range:"),children:f("Range:")}),(0,hp.jsx)(xt,{list:o,value:t.id,onChange:x=>{let S=o.filter(T=>T.value===x)[0];r(S)},containerStyle:{overflow:"hidden"},disabled:s})]}),t.env==="sch"&&(0,hp.jsxs)("div",{className:g,children:[(0,hp.jsx)("label",{className:b,"data-test":"Assembly Variants:",title:f("Assembly Variants:"),children:f("Assembly Variants:")}),(0,hp.jsx)(xt,{list:d,value:p,onChange:x=>{u(x)},containerStyle:{overflow:"hidden"}})]}),l&&(0,hp.jsxs)("div",{className:g,children:[(0,hp.jsx)("label",{className:b,"data-test":"File Name:",title:f("File Type:"),children:f("File Name:")}),(0,hp.jsx)("input",{type:"text",value:e,onChange:x=>n(x.target.value),style:{flexGrow:1,display:"inline-block"}})]}),c&&(0,hp.jsxs)("div",{children:[(0,hp.jsxs)("div",{className:g,children:[(0,hp.jsx)("label",{className:b,"data-test":"File Type:",title:f("File Type:"),children:f("File Type:")}),(0,hp.jsxs)("div",{className:wIe["file-type-wrap"],children:[(0,hp.jsx)("input",{type:"radio",name:"fileType",value:"xlsx",id:"bom-xlsx",checked:i==="xlsx",onChange:x=>y(x)}),(0,hp.jsx)("label",{htmlFor:"bom-xlsx",style:{marginRight:"16px"},children:"XLSX"}),(0,hp.jsx)("input",{type:"radio",name:"fileType",value:"csv",id:"bom-csv",checked:i==="csv",onChange:x=>y(x)}),(0,hp.jsx)("label",{htmlFor:"bom-csv",children:"CSV"})]})]}),i==="csv"&&(0,hp.jsxs)("div",{className:g,children:[(0,hp.jsx)("label",{className:b}),(0,hp.jsxs)("div",{className:wIe["file-type-wrap"],children:[(0,hp.jsx)("input",{type:"radio",name:"Separator",value:"Tab",id:"bom-csv-tab",checked:m==="Tab",onChange:x=>w(x)}),(0,hp.jsx)("label",{htmlFor:"bom-csv-tab",style:{marginRight:"16px"},children:"Tab"}),(0,hp.jsx)("input",{type:"radio",name:"Separator",value:"Comma",id:"bom-csv-comma",checked:m==="Comma",onChange:x=>w(x)}),(0,hp.jsx)("label",{htmlFor:"bom-csv-comma",children:","})]})]})]}),(0,hp.jsxs)("div",{className:g,children:[(0,hp.jsx)("label",{className:b,"data-test":"Template:",title:f("Template:"),children:f("Template:")}),(0,hp.jsx)(WDi,{fileType:i})]})]})},pco=LOr;var Th=L(Se());var mco=L(Gme());var fp=L(z()),vOr={0:"None",1:"Ascending",2:"Descending"},DOr={0:"None",1:"Primary",2:"Secondary"},EOr=[{text:"None",value:0},{text:"Ascending",value:1},{text:"Descending",value:2}],AOr=[{text:"None",value:0},{text:"Yes",value:1},{text:"No",value:2}],NOr=({allAttrs:t,tableAttrKeys:e,env:i,updateTableAttrKeys:o},r)=>{let n=(0,Th.useRef)(void 0),{locals:a}=mco.default,s=be.bind(a),l=J(),[c,d]=(0,Th.useState)({value:null,index:null}),u=s("attrTitle"),[p,m]=(0,Th.useState)([]),[h,f]=(0,Th.useState)(null),[g,b]=(0,Th.useState)([]),[y,w]=(0,Th.useState)([]),[x,S]=(0,Th.useState)([]),[T,M]=(0,Th.useState)([]),[I,A]=(0,Th.useState)(!1),[D,E]=(0,Th.useState)([]),[N,R]=(0,Th.useState)({type:null,index:null,value:null,isChecked:null}),[v,k,P]=La(),[O,_]=(0,Th.useState)([-1]),[j,B]=(0,Th.useState)(-1);(0,Th.useImperativeHandle)(r,()=>({resetTableSelectedRow:()=>{d({value:null,index:null})},cancelTablEditingStatus:()=>{_([-1])}})),(0,Th.useEffect)(()=>{Q(),I&&D.forEach(te=>{te.isChecked=!1,e.forEach(ae=>{ae.value===te.value&&(te.isChecked=!0)})})},[t,e,i]),(0,Th.useEffect)(()=>(k(n.current),()=>{P()}),[n.current]),(0,Th.useEffect)(()=>{if(v){let{height:te}=v;f(te)}},[v]);let V=(te,ae,pe,Z)=>{Z.forEach(ee=>{ee.value===te&&(ee[ae]=pe)}),o("updateTable",!1,Z)},G=(0,Th.useMemo)(()=>[{key:"title",name:l("Title"),width:.25,render(te){let{row:ae,rowNumber:pe,editingRowNumbers:Z,selectedRowNumbers:ee,tableData:ce}=te,ne=ae.title;return Z.includes(pe)&&Z[0]===ee[0]?(0,fp.jsx)(Kt,{defaultValue:ne,enterTriggerBlur:!0,autoFocus:!0,focusTriggerSelect:!0,onBlur:oe=>{oe.target.value.trim()&&V(ae.value,"title",oe.target.value,ce)},onkeydown:oe=>{oe.key==="Enter"&&d({value:null,index:null})}}):(0,fp.jsx)("span",{children:ne})}},{key:"value",name:l("Property"),width:.25,i18n:!0,render:te=>(0,fp.jsx)("span",{children:FM(te.row.value,l)})},{key:"order",name:l("Sort"),width:.25,render(te){let{row:ae,tableData:pe}=te;return ae.value!=="Number"?(0,fp.jsx)(xt,{value:ae.order,list:EOr,onChange:ee=>{V(ae.value,"order",ee,pe),_([-1])}}):(0,fp.jsx)("span",{children:l({context:"attrs",value:vOr[ae.order]})})}},{key:"key",name:l({context:"bom",value:"Group"}),width:.25,render(te){let{row:ae,tableData:pe}=te,Z=ae.value;return Z!=="Number"&&Z!=="Quantity"?(0,fp.jsx)(xt,{value:ae.key,list:AOr,onChange:ee=>{V(Z,"key",ee,pe)}}):(0,fp.jsx)("span",{children:l({context:"attrs",value:DOr[ae.key]})})}}],[]),Q=()=>{let te=[],ae=[],pe=[],Z=[],ee=[],ce=c1e(i);ce.forEach(ne=>{let oe=!1;e.forEach(Y=>{Y.value===ne&&(oe=!0)});let re=het(ne);te.push({title:re,value:ne,isChecked:oe})});for(let ne of t){if(!ne||(ne=ne.toString(),d1e.includes(ne)))continue;let oe=ne;ne==="Number"&&(oe="No.");let re=!1;e.forEach(Y=>{Y.value===ne&&(re=!0)}),ne.indexOf("drawing:")>-1?ee.push({title:oe,value:ne,isChecked:re}):W8i.includes(ne)?ae.push({title:oe,value:ne,isChecked:re}):Q8i.includes(ne)?pe.push({title:oe,value:ne,isChecked:re}):ce.includes(ne)||Z.push({title:oe,value:ne,isChecked:re})}m(te),b(ae),w(pe),M(Z),S(ee)},H=()=>(0,fp.jsx)("div",{children:(I?Z8i:K8i).map(ae=>{let pe=be("keysWrap",{type:ae}),Z=[],ee=`${ae} Attributes`;switch(ae){case"Statistics":{ee="Statistics",Z=p;break}case"Base":{Z=g;break}case"Key":{Z=y;break}case"More":{Z=T;break}case"Drawing":{Z=x;break}case"search":{Z=D,ee="search";break}}return(0,fp.jsxs)("div",{children:[I?null:(0,fp.jsx)("p",{className:u,i18n:ee,children:l(ee)}),(0,fp.jsx)("ul",{className:s(pe),children:Z.map((ne,oe)=>{let{title:re,value:Y,isChecked:X}=ne;return(0,fp.jsxs)("li",{title:FM(re,l),"data-test":Y,className:N.type===ae&&N.index===oe?s("selected"):null,onClick:()=>{let ie={...N,type:ae,index:oe,value:Y,isChecked:X};R(ie)},children:[(0,fp.jsx)("input",{type:"checkbox",checked:X,onChange:ie=>{let de={...N,type:ae,index:oe,title:re,value:Y,isChecked:ie.target.checked};R(de),o(Y,ie.target.checked)}}),(0,fp.jsx)("span",{children:FM(re,l)})]},Y)})})]},ae)})}),q=te=>{let ae=p.concat(g).concat(y).concat(T).concat(x),pe=!1,Z=new RegExp(`${te}`,"i");te.trim()?(ae=ae.filter(ee=>{let ce=FM(ee.value,l);return te&&ce.match(Z)}),pe=!0):pe=!1,A(pe),E(ae)},U=te=>{let ae=c.index,pe=ae,Z=[...e];if(te==="add"){if(N.value&&N.isChecked)return;if(!N.value){De({type:"error",msg:"Please select!"});return}let ee={...N,isChecked:!0};R(ee),o(N.value,!0)}else if(te==="reduce"){if(!c.value){De({type:"error",msg:"Please select!"});return}if(pe=ae&&ae-1,c.value===N.value){let ee={...N,isChecked:!1};R(ee)}Z.splice(ae,1),o(c.value,!1),d({value:Z.length?Z[pe].value:null,index:Z.length?pe:null})}},F=te=>{let{allSelectedRowIndexValues:ae,row:pe,selectedRowNumbers:Z,clickObj:ee,tableData:ce}=te,ne=Z[0],oe="true";e.length===1&&(oe="false"),d({value:pe.value,index:ne});let re=ee.rowNumber;(O.includes(re)||j===re)&&_([re]),B(re)},K=te=>{let ae=c.index,pe=ae;if(ae==null)return;let Z=[...e];switch(te){case"up":{pe=ae-1,[Z[pe],Z[ae]]=[Z[ae],Z[pe]];break}case"down":{pe=ae+1,[Z[ae],Z[pe]]=[Z[pe],Z[ae]];break}case"delete":pe=ae&&ae-1,Z.splice(ae,1)}o("updateTable",void 0,Z),d({value:Z.length?Z[pe].value:null,index:Z.length?pe:null})};return(0,fp.jsxs)("div",{className:a["no-empty"],children:[(0,fp.jsxs)("fieldset",{className:a["gray-dialog-border"],style:{maxWidth:"168px"},children:[(0,fp.jsx)("div",{className:a["attrkeys-filter"],children:(0,fp.jsx)(Ws,{placeholder:"Filter",onUpdateInputValue:te=>q(te)})}),(0,fp.jsx)("div",{id:"attrKeys",className:s("attrKeys"),style:{maxWidth:"168px"},children:H()})]}),(0,fp.jsxs)("div",{className:s("operate"),children:[(0,fp.jsx)("p",{id:"addAttrs",className:s("addAttrs"),onClick:te=>{te.stopPropagation(),U("add")},children:(0,fp.jsx)("span",{className:"icon-eda-move-down-line"})}),(0,fp.jsx)("p",{id:"reduceAttrs",className:s("reduceAttrs"),onClick:te=>{te.stopPropagation(),U("reduce")},children:(0,fp.jsx)("span",{className:"icon-eda-move-down-line"})})]}),(0,fp.jsxs)("div",{className:s("setting"),children:[(0,fp.jsx)(ec,{addButton:!1,upButton:!0,downButton:!0,deleteButton:!0,upDisabled:c.index==null||c.index===0,downDisabled:c.index==null||c.index===e.length-1,deleteDisabled:c.index==null,onClick:te=>{K(te)}}),(0,fp.jsx)("div",{id:"bom_table",className:s("table-container"),ref:n,children:(0,fp.jsx)(xi,{index:"value",columns:G,rows:e,height:h,selectedRowNumbers:[c.index],stockade:!0,border:!0,editingRowNumbers:O,onClick:F,onChange:te=>{te.forEach((ae,pe)=>{ae.key=Number(ae.key),ae.order=Number(ae.order),ae.orderWeight=Number(ae.orderWeight),ae.title===""&&(ae.title=e[pe].title)}),o("updateTable",void 0,te)}})})]})]})},hco=(0,Th.forwardRef)(NOr);var get=L(Gme());var hw=L(z()),NPt=["3D Model"],kOr=t=>{var oe,re;let{locals:e}=get.default,{containerId:i,dlgConfig:o,schematicId:r=null,variantUuid:n=null}=t,{showFileName:a=!0,showFileType:s=!0,rightButtons:l=_Ue.rightButtons,rangeFilter:c}=o||{};Ae(get.default);let d=J(),u=(0,ob.useRef)({closeMsgBus:null}),[p,m]=(0,ob.useState)(""),[h,f]=(0,ob.useState)(Object.create(null)),[g,b]=(0,ob.useState)("xlsx"),[y,w]=(0,ob.useState)([]),[x,S]=(0,ob.useState)(yI.defFilterCache),[T,M]=(0,ob.useState)([]),[I,A]=(0,ob.useState)([]),[D,E]=(0,ob.useState)([]),[N,R]=(0,ob.useState)(!1),[v,k]=(0,ob.useState)(!1),[P,O]=(0,ob.useState)("Basis"),[_,j]=(0,ob.useState)("Tab"),[B,V]=(0,ob.useState)([]),G=(0,ob.useRef)(void 0);(0,ob.useEffect)(()=>{let Y=he.getActiveTab();C.messageBus.rpcCall("getBOMNetListSelectList",Y).then(de=>{var Te;let{rangeSchList:fe,rangePcbList:ye}=de.message;c&&(ye=ye.filter(c),fe=fe.filter(c)),ye.length>0&&(ye[0].style={borderTop:"1px solid var(--border-color-panel-divider)"});let Le=[...fe,...ye],Ne=he.getTabDocType(Y)===ve.SCH?fe[0]:ye[0];r&&(Ne=fe.filter(Pe=>Pe.value===r)[0]),w(Le),f(Ne),U(Ne),F(Le[0]),((Te=t.originInfo)==null?void 0:Te.hide)!==void 0&&H(t.originInfo)});let X=mt.getCacheObj("BOMType");X&&b(X);let ie=mt.getCacheObj("BOMSeparator");ie&&j(ie)},[]),(oe=t.originInfo)!=null&&oe.hide&&(le.hide(i),(0,ob.useEffect)(()=>{N&&Q()},[N]));let Q=Gr(async()=>{let Y=K();if(!Y){await q(null);return}let X=await Cr("getExportBomFileData",Y);if(!X.error&&X.data){let ie=`${Y.fileName}.${Y.fileType}`,de=Object.keys(fSe).find(Le=>ie.match(new RegExp(`\\.${Le}$`,"i"))),ye={fileContent:new File([X.data],ie,{type:fSe[de]}),fileType:Y.fileType};await q(ye),Pl("1"),C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.BOM_EXPORT,content:{"Scope Name":h.text},project_uuid:C.currentProject.projectId}])}else await q(null)},100),H=Gr(Y=>{Y!=null&&Y.fileName&&m(Y==null?void 0:Y.fileName),Y!=null&&Y.fileType&&b(Y==null?void 0:Y.fileType),Y!=null&&Y.variant,Y!=null&&Y.filterRules&&S(Y==null?void 0:Y.filterRules),Y!=null&&Y.tableAttrKeys&&M(Y==null?void 0:Y.tableAttrKeys),Y!=null&&Y.allAttrs&&A(Y==null?void 0:Y.allAttrs),Y!=null&&Y.filterAttrs&&E(Y==null?void 0:Y.filterAttrs),R(!0)},100),q=async Y=>{await rr.setFilesMap({[rr.bomFileName]:Y}),Z()};(0,ob.useEffect)(()=>{let Y=h.value,X=[{value:"basis",text:"Basic"}],ie="basis";h.env==="sch"&&it(ri.sortVariantData[Y],(de,fe)=>{fe.uuid===n&&(ie=fe.uuid),X.push({value:fe.uuid,text:fe.title})}),O(ie),V(X)},[h]);let U=Y=>{let X=Y.text,ie="BOM_";X=X.split(":").map(de=>de&&de.replace(/(^\s*)|(\s*$)/g,"")),X&&X.length>1&&(X=X.join("_")),X+="_",X+=ue.formatDate(new Date,"yyyy-MM-dd"),ie+=X,m(ie),f(Y),F(Y)},F=Y=>{k(!0);let X=x.map(ie=>(ie.selected=!1,ie));S(X),C.messageBus.rpcCall("getExportBomData",{selectedFileInfo:Y}).then(ie=>{if(ie!=null&&ie.message){let{cloneTableKeys:de,allRules:fe,userFilterCache:ye}=ie==null?void 0:ie.message;ye.forEach(Le=>{Le.selected=!1}),ye=ye.filter(Le=>!NPt.includes(Le.attr)),Y.env==="sch"&&(de=de.filter(Le=>!pH.includes(Le.value))),fe=fe.filter(Le=>Y.env==="sch"?!pH.includes(Le)&&!NPt.includes(Le):!NPt.includes(Le)),S(ye),M(de),A(fe),E(fe)}})},K=()=>{if(!p){Dt({content:"Please enter a file name"});return}let Y=T.length?T.map((X,ie)=>(X.orderWeight=T.length-ie,X)):yI.defTableKeys.map((X,ie)=>(X.orderWeight=yI.defTableKeys.length-ie,X));return{fileType:g,fileName:p,boardName:h.boardName,selectedId:h.value,ev:h.env,filterRules:x,tableAttrKeys:Y,assemblyVariant:P,separator:_}},te=Gr(_b(async()=>{let Y=K();if(!Y)return;let X=await Cr("getExportBomFileData",K());if(!X.error&&X.data){let ie=`${Y.fileName}.${Y.fileType}`,de=Y.ev==="pcb"?ve.PCB:Y.ev==="sch"?ve.SCH:ve.BLANKTAB;await V8i(X.data,ie,de,X.docUuid)&&Z()}}),100);async function ae(Y){switch(Y){case"Import Config":{var ie={multiple:!1,accept:".json",fileFilter:function(Re){return/\.json$/i.test(Re.name)},onValidate:function(Re){Re||De({type:"error",msg:"Please upload json file"})},onSelectFiles:function(Re){var Ne,Te=Re[0],Pe=new FileReader;Pe.onload=async function(Oe){if(!Oe.target.result){De({type:"error",msg:"Please upload correct json file"});return}if(Ne=JSON.parse(Oe.target.result.toString()),!Ne||!Ne.BOM)return;let Ue="FILTER",Ve="ATTR",ze=Ne.BOM[Ue]||[],He=Ne.BOM[Ve]||[];S(ze),M(He),pe(x,He)},Pe.readAsText(Te)}},de=nu.instance((0,fco.default)("<br>")).config(ie);de.openSelect();break}case"Export Config":{let Ne="Config_BOM_"+ue.formatDate(new Date,"yyyy-MM-dd")+".json",Te={BOM:{FILTER:x,ATTR:T}};if(wi)cd(JSON.stringify(Te,null,"	"),Ne,"json");else if(typeof navigator<"u"&&navigator.msSaveOrOpenBlob){var fe=new Blob([JSON.stringify(Te,null,"	")],{type:"data:application/json;charset=utf-8"});navigator.msSaveOrOpenBlob(fe,Ne)}else{let Pe=document.createElement("a");Pe.style.visibility="hidden",document.body.appendChild(Pe);var ye=new Blob([JSON.stringify(Te,null,"	")],{type:"data:application/json;charset=utf-8"}),Le=URL.createObjectURL(ye);Pe.href=Le,Pe.download=Ne,Pe.click(),URL.revokeObjectURL(Le),document.body.removeChild(Pe)}break}case"Restore Default":{S(yI.defFilterCache),ne("restoreDefault",null,yI.defTableKeys),G.current.resetTableSelectedRow(),pe(yI.defFilterCache,yI.defTableKeys);break}case"Device Standardization":{co.handleClick("device-standardization"),Z();break}case"Upload to LCSC ERP":{if(_t)return;C.messageBus.publish("bomExpandEvent",{ev:h.env,uuid:h.value,type:"uploadToChipManager"}),Z();break}case"Order Parts":{if(Fn){window.open(C.HelpURL.order_bom,"_blank");return}if(_t)return;C.messageBus.publish("bomExpandEvent",{ev:h.env,uuid:h.value,type:"orderParts"}),Z();break}case"Order SMT Parts":{if(Fn){window.open(C.HelpURL.order_smt,"_blank");return}if(_t)return;C.messageBus.publish("bomExpandEvent",{ev:h.env,uuid:h.value,type:"orderParts",isSmt:!0}),Z();break}case"Save as Attachment":{te();break}case"Confirm":{let Re={fileName:p,fileType:g,filterRules:x,tableAttrKeys:T,allAttrs:I,filterAttrs:D,separator:_};rr.setFileConfigMap({type:"BOM",valData:Re}),Z();break}case"Export BOM":{let Re=K();if(!Re)return;C.messageBus.publish("exportBomHandler",Re),Pl("1"),C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.BOM_EXPORT,content:{"Scope Name":h.text},project_uuid:C.currentProject.projectId}]),Z();break}default:{Z();break}}}function pe(Y,X){mt.setCacheObj("BOM",{FILTER:Y,ATTR:X}),C.messageBus.publish("saveToServer",!1)}function Z(){le.close(i)}let ee=(Y,X,ie)=>{let de=ue.deepClone(x);switch(X){case"selected":{de.forEach((fe,ye)=>{ye===Y?fe[X]=!0:fe[X]=!1});break}case"checkedAll":{de.forEach(fe=>{fe.checked=!!ie});break}case"update":{de=ie;break}default:{for(let fe=0;fe<de.length;fe+=1)if(fe===Y){de[fe][X]=ie,X=="attr"&&(fet.includes(ie)?de[fe].rule="no":de[fe].rule="");break}break}}S(de),pe(de,T)},ce=Y=>{if(!Y)E(I);else{let X=I.filter(ie=>FM(ie,d).indexOf(Y)>-1);E(X)}},ne=(Y,X,ie)=>{if(Y==="updateTable"||Y==="restoreDefault"){let Re=ue.deepClone(ie);M(Re),Y!=="restoreDefault"&&pe(x,Re);return}let de=het(Y),fe=0;(_t||Ko?pH:[...W6t.concat(pH)]).includes(Y)?fe=1:Y==="Pin Count"&&(fe=2);let Le=ue.deepClone(T);X?Le.push({title:de,value:Y,order:0,key:fe,orderWeight:0}):Le.forEach((Re,Ne)=>{Re.value===Y&&Le.splice(Ne,1)}),M(Le),pe(x,Le)};return(0,hw.jsxs)(hw.Fragment,{children:[(0,hw.jsx)("style",{children:String(get.default)}),(0,hw.jsxs)("div",{onClick:()=>{G.current.resetTableSelectedRow()},children:[(0,hw.jsxs)("div",{className:e.container,children:[(0,hw.jsxs)("div",{className:e.selectFile,id:"selectFile",children:[(0,hw.jsx)(pco,{selectedFileInfo:h,fileName:p,fileType:g,variant:P,documentList:y,assemblyVariantList:B,exportSetFileName:U,setFileName:m,setFileType:b,isOneClickExport:((re=t.originInfo)==null?void 0:re.from)=="oneClickExport",showFileName:a,showFileType:s,setVariant:O,setSeparator:j,separator:_}),(0,hw.jsx)(dco,{filterRules:x,allAttrs:D,initRulesOperateBtn:v,setInitRulesOperateBtn:k,updateFilterAttr:ce,updateFilterRules:ee})]}),(0,hw.jsx)("div",{className:e.attrs,children:(0,hw.jsx)(hco,{allAttrs:I,env:h.env,tableAttrKeys:T,updateTableAttrKeys:ne,ref:G})})]}),(0,hw.jsxs)("div",{className:e.footer,children:[(0,hw.jsx)("div",{className:e.leftBtnWrap,children:_Ue.leftButtons.map((Y,X)=>(0,hw.jsx)(Me,{size:"md",style:{marginRight:"8px"},onClick:()=>ae(Y.key),children:Y.title},X))}),(0,hw.jsx)("div",{className:e.rightBtnWrap,children:l.map((Y,X)=>{var ie;if(!((Je||vo)&&Y.key==="Upload to LCSC ERP")&&!(!Xr&&Y.key==="Order SMT Parts")&&!(_t&&["Device Standardization","Upload to LCSC ERP","Order Parts","Order SMT Parts"].includes(Y.key))&&!(!_t&&["Save as Attachment"].includes(Y.key))){if(((ie=t.originInfo)==null?void 0:ie.from)=="oneClickExport"){if(["Device Standardization","Upload to LCSC ERP","Order Parts","Order SMT Parts","Save as Attachment","Export BOM"].includes(Y.key))return}else if(["Confirm"].includes(Y.key))return;return(0,hw.jsx)(Me,{type:Y.type?Y.type:"primary",size:"md",style:X===_Ue.rightButtons.length-1?null:{marginRight:"8px"},onClick:async()=>{var de;await ae(Y.key),(de=Y.onClick)==null||de.call(Y,K())},children:Y.title},X)}})})]})]})]})},gco=kOr;var yco=L(z());async function bco(t={},e){let{containerId:i,title:o,width:r,closed:n,remove:a}=bt["export-bom"],{schematicId:s,variantUuid:l}=t;le.open({id:i,title:o,width:r,closed:n,esc:!0,children:(0,yco.jsx)(gco,{containerId:i,schematicId:s,variantUuid:l,originInfo:t==null?void 0:t.originInfo,dlgConfig:t==null?void 0:t.dlgConfig})})}var Y7=L(Se()),PPt=L(Cco());var kPt=class extends qe{constructor(){super(...arguments);this.startNumOldVal=1;this.stepNumOldVal=1;this.prefix="";this.suffix=""}setStartNumOldVal(i){this.startNumOldVal=i,this.notify()}setStepNumOldVal(i){this.stepNumOldVal=i,this.notify()}setPrefix(i){this.prefix=i,this.notify()}setSuffix(i){this.suffix=i,this.notify()}},oL=new kPt;var Ny=L(z()),POr=t=>{let{locals:e}=PPt.default;Ae(PPt.default),Ce(oL);let i=(0,Y7.useRef)(null),o=(0,Y7.useRef)(null),r=(0,Y7.useRef)(null),n=(0,Y7.useRef)(null),[a,s]=(0,Y7.useState)(1),[l,c]=(0,Y7.useState)(1),[d,u]=(0,Y7.useState)(""),[p,m]=(0,Y7.useState)(""),h=J(),f=999999,g=-999999,b=T=>{let M=T.target.value.trim(),I=parseInt(M);I||I==0?(s(I),oL.setStartNumOldVal(I)):s(oL.startNumOldVal)},y=T=>{let M=T.target.value.trim(),I=parseInt(M),A=oL.stepNumOldVal;I===0?A>0?(c(-1),oL.setStepNumOldVal(-1)):(c(1),oL.setStepNumOldVal(1)):I?(c(I),oL.setStepNumOldVal(I)):c(A)},w=T=>{let M=T.target.value.trim();u(M),oL.setPrefix(M)},x=T=>{let M=T.target.value.trim();m(M),oL.setSuffix(M)},S=async()=>{if(!a||!l)return Ut({type:"error",message:"\u5F00\u59CB\u6570\u5B57\u6216\u9012\u589E\u6B65\u8FDB\u4E0D\u5B8C\u6574"}),!1;await C.messageBus.publish("batchReName",[a,l,d,p]),le.close()};return(0,Y7.useEffect)(()=>{s(oL.startNumOldVal),c(oL.stepNumOldVal),u(oL.prefix),m(oL.suffix)},[]),(0,Ny.jsxs)(Ny.Fragment,{children:[(0,Ny.jsxs)("div",{className:e.batch_rename,children:[(0,Ny.jsxs)("div",{className:e.prefix_wrap,children:[(0,Ny.jsx)("span",{className:e.prefix_span,children:h("Prefix:")}),(0,Ny.jsx)("input",{name:"rename-prefix",type:"text",value:d,ref:r,className:e.prefix_input,onChange:T=>{w(T)},onFocus:()=>{r.current.select()}})]}),(0,Ny.jsxs)("div",{className:e.start_step_wrap,children:[(0,Ny.jsxs)("span",{className:e.start_span,children:[h("Start"),":"]}),(0,Ny.jsx)("input",{name:"rename-start-number",id:"rename-start-number",ref:i,className:e.start_input,type:"number",min:g,max:f,value:a,onInput:T=>{b(T)},onFocus:()=>{i.current.select()}}),(0,Ny.jsxs)("span",{className:e.step_span,children:[h("Incremental Step"),":"]}),(0,Ny.jsx)("input",{className:e.step_input,name:"rename-step",type:"number",ref:o,min:g,max:f,value:l,onInput:T=>{y(T)},onFocus:()=>{o.current.select()}})]}),(0,Ny.jsxs)("div",{className:e.suffix_wrap,children:[(0,Ny.jsxs)("span",{className:e.suffix_span,children:[h("Suffix"),":"]}),(0,Ny.jsx)("input",{className:e.suffix_input,name:"rename-suffix",type:"text",value:p,ref:n,onChange:T=>{x(T)},onFocus:()=>{n.current.select()}})]})]}),(0,Ny.jsxs)("div",{className:e.footer,children:[(0,Ny.jsx)(Me,{type:"primary",onClick:()=>{S()},children:"Confirm"}),(0,Ny.jsx)(Me,{onClick:()=>{le.close()},children:"Cancel"})]})]})},xco=POr;var Sco=L(z());async function Tco(t,e){let{cmd:i}=e,o=bt[t],{containerId:r,title:n,width:a,closed:s}=o;return le.open({id:r,title:n,width:a,closed:s,children:(0,Sco.jsx)(xco,{containerId:r})}),{origin:"react"}}var xIe=L(Se());var jPt=L(w$());var rW=L(Se());var Lco=L(w$());var OPt=L(z()),Ico=be.bind(Lco.default.locals),OOr=t=>{let{findContentStore:e}=fc;Ce(e),Ce(lr);let{containerId:i}=t,o=J(),[r,n]=(0,rW.useState)(()=>wZi),a=l=>{n(c=>c.map(d=>(!["Replace Current","Replace All"].includes(d.btnText)&&d.btnText!=="Cancel"&&(d.disable=l),d)))},s=l=>{var h,f;if(l==="Cancel"){a(!1),le.close(i);return}a(!0);let c=fc.findObjctStore.getSearchFindObjectParam();if(c.length===0){De({type:"warn",msg:"Please Select Search Objects!"}),a(!1);return}let{range:d,rangeIds:u}=fc.findRangeStore.getSearchFindRangeParam(c),p=fc.getSearchFindContentParam(o);if(p.length===0){a(!1);return}let m={range:d,rangeIds:u,objs:c,condition:p};switch(l){case"Replace All":{if(e.replaceValueRender.length===0){Dt({closed:!0,showCancel:!0,content:"Are you sure to replace as blank?",onConfirm:()=>{C.messageBus.publish("sch/findReplace/replaceAll",{searchParam:m,searchValue:e.findValueRender,replaceValue:e.replaceValueRender})},onCancel:()=>{a(!1)},onClose:()=>{a(!1)}});return}C.messageBus.publish("sch/findReplace/replaceAll",{searchParam:m,searchValue:e.findValueRender,replaceValue:e.replaceValueRender});break}case"Replace Current":{let g;if(lr.showTableData&&(lr.currentShowRowIdx>-1?g=((h=lr.showTableData[lr.currentShowRowIdx])==null?void 0:h.rawRow)||{}:g=((f=lr.showTableData[0])==null?void 0:f.rawRow)||{}),e.replaceValueRender.length===0){Dt({closed:!0,showCancel:!0,content:"Are you sure to replace as blank?",onConfirm:()=>{C.messageBus.publish("sch/findReplace/replaceCurrent",{searchParam:m,searchValue:e.findValueRender,replaceValue:e.replaceValueRender,currentReplaceItem:g})},onCancel:()=>{a(!1)},onClose:()=>{a(!1)}});return}C.messageBus.publish("sch/findReplace/replaceCurrent",{searchParam:m,searchValue:e.findValueRender,replaceValue:e.replaceValueRender,currentReplaceItem:g});break}case"Find All":{if(fc.findInResultCheckedDisabled&&fc.findInResultChecked){let g=fc.findInPreResult(lr.rawSearchRes,p);lr.setRawData({searchResult:g});let b=g.reduce((y,w)=>{let x=dt()===se.SCH?lo(w.sheet,C.currentProject.projectId):w.sheet;return y[x]?y[x].includes(w.id)||(y[x]=y[x].concat(w.id)):y[x]=[w.id],y},{});Reflect.ownKeys(b).forEach(y=>{C.messageBus.publish("sch/unSelectAll",y),C.messageBus.publish("sch/selectByIds",{tabId:y,ids:b[y]})}),C.messageBus.publish("cancelPropertyOverlay"),C.messageBus.publish("sch/renderPropertyPanel",{target:b}),C.messageBus.publish("searchEnd");return}C.messageBus.publish("sch/findReplace/findAll",m);break}case"Find Previous(P)":{let g=dt()===se.SCH;!lr.initSearchTableRes||lr.isNotSymbol!==g||fc.cacheFindParam&&fc.cacheFindParam!==JSON.stringify(m)?C.messageBus.publish("sch/findReplace/findAll",m):lr.clickPrevBtnOrNextBtn("findPrev");break}case"Find Next(N)":{let g=dt()===se.SCH;!lr.initSearchTableRes||lr.isNotSymbol!==g||fc.cacheFindParam&&fc.cacheFindParam!==JSON.stringify(m)?C.messageBus.publish("sch/findReplace/findAll",m):lr.clickPrevBtnOrNextBtn("findNext");break}default:break}fc.cacheFindParam=JSON.stringify(m)};return(0,rW.useEffect)(()=>{e.isShowReplaceDivRender?n(l=>l.map(c=>((c.btnText==="Replace All"||c.btnText==="Replace Current")&&(c.display="block"),c))):n(l=>l.map(c=>((c.btnText==="Replace All"||c.btnText==="Replace Current")&&(c.display="none"),c)))},[e.isShowReplaceDivRender]),Bt(()=>{a(!1)}).key("searchEnd"),Bt(l=>{let{key:c}=l;if(c==="Enter"){let d=r.find(u=>u.display==="block");s(d.btnText)}}).keyboard(i),(0,rW.useEffect)(()=>{e.keyDownP&&e.findValueInputIsBlur&&(s("Find Previous(P)"),e.keyDownP=!1)},[e.keyDownP]),(0,rW.useEffect)(()=>{e.keyDownN&&e.findValueInputIsBlur&&(s("Find Next(N)"),e.keyDownN=!1)},[e.keyDownN]),(0,rW.useEffect)(()=>{lr.dlgOpenTicket>0&&n(l=>l.map(c=>(["Replace Current","Replace All"].includes(c.btnText)&&(c.disable=Er()),c)))},[lr.dlgOpenTicket]),(0,OPt.jsx)("div",{className:Ico("footer"),children:r.map(l=>(0,OPt.jsx)(Me,{size:l.size,style:{...l.style&&l.style,display:l.display},class:Ico("footer-btn-common"),disabled:typeof l.disable=="function"?l.disable():l.disable,onClick:()=>{s(l.btnText)},children:l.btnText},l.btnText))})},vco=(0,rW.memo)(OOr);var Mz=L(Se());var Dco=L(w$());var S5=L(z()),t2e=be.bind(Dco.default.locals),Eco=t=>{let{containerId:e}=t,{findContentStore:i,findObjctStore:o}=fc;Ce(i),Ce(o);let r=J(),n=(0,Mz.useRef)(null),a=p=>{i.findValueInputIsBlur=!0;let m=p.trim();m=="all"?i.specialPropertyKeyRenderData&&(i.specialPropertyKeyRenderData=null,i.findValueRender&&(i.findValueRender="")):C.messageBus.publish("sch/getPropertyItemData",{propertyKey:m,cmdKeyArr:u.find(h=>h.value===m).cmdKeys,cb:h=>{(h==null?void 0:h.valueType)==="select"?h&&(h==null?void 0:h.valueType)==="select"&&(i.specialPropertyKeyRenderData=h.valueOptions):i.specialPropertyKeyRenderData&&(i.specialPropertyKeyRenderData=null,i.findValueRender&&(i.findValueRender=""))}}),i.findAttrValueRender=m},s=(0,Mz.useMemo)(()=>[{key:"Find",title:"Find",dataTest:"Find",tabStyle:{width:"80px",padding:"5px 0",borderBottom:"1px solid var(--border-color-panel-tab)",backgroundColor:"var(--bg-color-tab)"}},{key:"Replace",title:"Replace",dataTest:"Replace",tabStyle:{width:"80px",padding:"5px 0",borderBottom:"1px solid var(--border-color-panel-tab)",backgroundColor:"var(--bg-color-tab)"}}],[]),l=(0,Mz.useMemo)(()=>[{value:"all",text:"All",dataTest:"All"}],[]),c=(0,Mz.useMemo)(()=>{let p=[];if(i.basicFindAttribute.length>0){p.push({value:"Basic Properties",text:"Basic Properties",dataTest:"Basic Properties",style:{fontWeight:"bolder",userSelect:"none",pointerEvents:"none"}});let m=o.getSearchFindObjectParam();i.basicFindAttribute.forEach(h=>{h.jsonKeys.some(f=>m.includes(f))&&p.push({value:h.key,text:h.title,dataTest:h.title,cmdKeys:h.jsonKeys})})}return p},[i.basicFindAttribute,o.findObjectDataRender]),d=(0,Mz.useMemo)(()=>{let p=[];if(i.customFindAttribute.length>0){p.push({value:"Custom Properties",text:"Custom Properties",dataTest:"Custom Properties",style:{fontWeight:"bolder",userSelect:"none",pointerEvents:"none"}});let m=o.getSearchFindObjectParam();i.customFindAttribute.forEach(h=>{h.jsonKeys.some(f=>m.includes(f))&&p.push({value:h.key,text:r({context:"attrs",value:h.title}),dataTest:h.title,cmdKeys:h.jsonKeys})})}return p},[i.customFindAttribute,o.findObjectDataRender]),u=(0,Mz.useMemo)(()=>{let p=l.concat(c,d);return i.setFindContentSelectDataRender(p),p},[c,d]);return(0,Mz.useEffect)(()=>{n.current&&(n.current.focus(),i.findValueInputIsBlur=!1,i.findValueRender.length>0&&n.current.select())},[]),Bt(p=>{let{key:m}=p;m==="Enter"&&n.current&&(n.current.blur(),i.findValueInputIsBlur=!0)}).keyboard(e),(0,S5.jsxs)("div",{className:t2e("switch-search-content"),children:[(0,S5.jsx)(yl,{activeTabStyle:{backgroundColor:"var(--bg-color-selected-panel-tab)",borderBottom:"none"},tabsStyle:{margin:"0"},tabBoxStyle:{width:"160px",top:"1px",border:"1px solid var(--border-color-panel-tab)",borderBottom:"none"},lists:s,direction:"bottom",type:"normal",defaultActiveKey:i.isShowReplaceDivRender?"Replace":"Find",onClick:p=>{p==="Find"?i.isShowReplaceDivRender=!1:i.isShowReplaceDivRender=!0}}),(0,S5.jsxs)("div",{className:t2e("search-content"),children:[(0,S5.jsxs)("div",{className:t2e("line"),children:[(0,S5.jsx)("span",{className:t2e("title"),children:r("Find Content:")}),(0,S5.jsxs)("div",{className:t2e("group"),children:[(0,S5.jsx)(xt,{containerStyle:{width:"100px"},name:"attr",list:u,value:i.findAttrValueRender,searchable:!0,select:!0,optionsAutoWidth:!0,onChange:a}),(0,S5.jsx)(xt,{containerStyle:{width:"100px",margin:"0 8px"},name:"mode",list:Cae,value:i.findScopeMethodRender,onChange:p=>{i.findScopeMethodRender=p}}),i.specialPropertyKeyRenderData?(0,S5.jsx)(xt,{containerStyle:{width:"240px"},value:i.findValueRender,list:i.specialPropertyKeyRenderData,select:!1,onChange:p=>{i.findValueRender=p.trim()}}):(0,S5.jsx)(Kt,{ref:n,style:{width:"240px"},defaultValue:i.findValueRender,onChange:p=>{i.findValueRender=p.trim()},onClick:()=>{i.findValueInputIsBlur=!1},onBlur:()=>{i.findValueInputIsBlur=!0}})]})]}),(0,S5.jsxs)("div",{className:t2e("replace-as"),style:{display:i.isShowReplaceDivRender?"flex":"none"},children:[(0,S5.jsx)("span",{children:r("Replace As:")}),i.specialPropertyKeyRenderData?(0,S5.jsx)(xt,{containerStyle:{width:"240px"},value:i.replaceValueRender,list:i.specialPropertyKeyRenderData,select:!1,onChange:p=>{i.replaceValueRender=p.trim()}}):(0,S5.jsx)(Kt,{style:{width:"240px"},defaultValue:i.replaceValueRender,onChange:p=>{i.replaceValueRender=p.trim()}})]})]})]})};var Nco=L(Se());var kco=L(w$());var i2e=L(z()),Aco=be.bind(kco.default.locals),Pco=()=>{let{findRangeStore:t}=fc;Ce(t);let e=J(),i=()=>{let o=dt(),r=L9(o);if(["sch","schlib"].includes(r))if(XB().length>0){let a=ue.deepClone(t.findRangeSelectData).map(s=>(s.value==="current_select"&&(s.disabled=!1),s));t.setFindRangeSelectDataRender(a,!0)}else{let a=ue.deepClone(t.findRangeSelectData).map(s=>(s.value==="current_select"&&(s.disabled=!0),s));t.setFindRangeSelectDataRender(a,!0),t.findRangeValue==="current_select"&&t.setFindRangeValue("current_schematic")}};return Bt(()=>{i()}).key("select_change"),Bt(async()=>{await t.initFindRangeSelectData(!0)}).key("sch/boardDataUpdate"),(0,Nco.useEffect)(()=>{i()},[]),(0,i2e.jsxs)("div",{className:Aco("line"),children:[(0,i2e.jsx)("span",{className:Aco("title"),children:e("Search Range:")}),(0,i2e.jsx)("label",{children:(0,i2e.jsx)(xt,{style:{width:"160px"},name:"find-range",list:t.findRangeSelectDataRender,value:t.findRangeValue,onChange:o=>{t.setFindRangeValue(o.trim())}})})]})};var Oco=L(w$());var o2e=L(z()),RPt=be.bind(Oco.default.locals),Rco=()=>{let{findObjctStore:t}=fc;Ce(t);let e=J();return(0,o2e.jsxs)("div",{className:RPt("line"),children:[(0,o2e.jsx)("span",{className:RPt("title"),children:e("Search Objects:")}),(0,o2e.jsx)("div",{className:RPt("group"),children:t.findObjectDataRender.map(i=>(0,o2e.jsx)(qt,{style:{width:"fit-content",marginRight:"8px"},checked:i.checked,onChange:o=>{t.setFindObjectDataRender(i.value,o)},children:i.label},i.label))})]})};var _co=L(Se());var jco=L(w$());var r2e=L(z()),_Pt=be.bind(jco.default.locals),Bco=()=>{Ce(fc),Ce(fc.findContentStore);let t=J();return(0,_co.useEffect)(()=>{fc.setFindInputFormatData("",!1,!1)},[fc.findContentStore.findScopeMethodRender]),(0,r2e.jsxs)("div",{className:_Pt("line"),children:[(0,r2e.jsx)("span",{className:_Pt("title"),children:t("Input Format:")}),(0,r2e.jsx)("div",{className:_Pt("group"),children:fc.findInputFormatData.map(e=>(0,r2e.jsx)(qt,{className:"obj-items",style:{width:"fit-content",marginRight:"8px"},checked:e.checked,disabled:e.disabled,onChange:i=>{fc.setFindInputFormatData(e.value,i,!0)},children:e.label},e.label))})]})};var Fco=L(w$());var CIe=L(z()),zco=be.bind(Fco.default.locals),Uco=()=>{let t=J();return Ce(lr),Ce(fc),(0,CIe.jsxs)("div",{className:zco("line"),style:{userSelect:"none"},children:[(0,CIe.jsx)("span",{className:zco("title"),children:t("Filter objects:")}),(0,CIe.jsx)(qt,{name:"find-in-result",disabled:!fc.findInResultCheckedDisabled,checked:fc.findInResultChecked,onChange:e=>{fc.setFindInResultChecked(e)},children:"Find in Result"})]})};var Iz=L(z()),Vco=be.bind(jPt.default.locals),ROr=t=>{Ce(Po),Ae(jPt.default);let{containerId:e}=t;return Bt(()=>{fc.closeDialog(),le.close(e)}).close(e),(0,xIe.useEffect)(()=>{let i=C.messageBus.subscribe("toggleFindShowContent",()=>{fc.findRangeStore.setFindRangeSelectDataRender(ue.deepClone(fc.findRangeStore.findRangeSelectData),!0),fc.findObjctStore.initFindObjectDataRender(!0)}),o=C.messageBus.subscribe("updateBoardOption",async()=>{await fc.findRangeStore.initFindRangeSelectData(!0)});return()=>{i.cancel(),o.cancel()}},[]),(0,xIe.useEffect)(()=>{Po.isPanelRelated()&&(fc.closeDialog(),le.close(e))},[Po.workingMode]),(0,Iz.jsxs)("div",{className:Vco("container"),children:[(0,Iz.jsx)(Eco,{containerId:e}),(0,Iz.jsxs)("div",{className:Vco("search-range"),children:[(0,Iz.jsx)(Pco,{}),(0,Iz.jsx)(Rco,{}),(0,Iz.jsx)(Bco,{}),(0,Iz.jsx)(Uco,{})]}),(0,Iz.jsx)(vco,{containerId:e})]})},Hco=(0,xIe.memo)(ROr);var Yco=L(z());async function Gco(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a,mask:s,esc:l}=i;lr.setDlgOpenTicket(),await fc.initDialog(),le.open({id:o,title:r,width:n,closed:a,mask:s,esc:l,children:(0,Yco.jsx)(Hco,{containerId:o})})}var Cet=L(Se());var sse=L(Se());var Qco=L(nW());var W7=L(z()),TIe=be.bind(Qco.default.locals),_Or=()=>{let t=J(),[e,i]=(0,sse.useState)([]);Ce($o),Ce(Po),Ce(lr);let o=()=>{let r=XB(),n=[];r.length>0&&(n=r.map(s=>s.id));let a=$o.findRangeSelect.find(s=>s.value==="current_select").disable;n.length>0?a&&($o.findRangeSelect=$o.findRangeSelect.map(s=>(s.value==="current_select"&&(s.disable=!1),s))):a||($o.findRangeSelect=$o.findRangeSelect.map(s=>(s.value==="current_select"&&(s.disable=!0),s)))};return(0,sse.useEffect)(()=>{o();let r=C.messageBus.subscribe("updateBoardOption",()=>{$o.updateFindRangeSelect(!0,!0)});return()=>{r.cancel()}},[]),(0,sse.useEffect)(()=>{let a=(kl(dt())?JZe:ZZe).map(s=>s.translateContext?{value:s.value,dataTest:s.value,text:{value:s.optionText,context:"find-similar"}}:{value:s.value,dataTest:s.value,text:s.optionText});a.findIndex(s=>s.value===$o.typeTitle)===-1&&($o.typeTitle=a[0].value),$o.updateFindRangeSelect(!1,!1),i(s=>a)},[Po.workingMode]),Bt(()=>{o()}).key("select_change"),Bt(async()=>{await $o.updateFindRangeSelect(!0,!0)}).key("sch/boardDataUpdate"),(0,W7.jsxs)("div",{className:TIe("ranges border"),children:[(0,W7.jsxs)("div",{className:TIe("row column2"),children:[(0,W7.jsx)("div",{className:TIe("title"),title:t({context:"find-similar",value:"Type:",options:null}),children:t({context:"find-similar",value:"Type:",options:null})}),(0,W7.jsxs)("div",{children:[(0,W7.jsx)(xt,{style:{lineHeight:"24px"},list:e,onChange:r=>{let n=r+"";$o.typeTitle=n},containerStyle:{width:$o.typePropertyKey?"150px":"100%"},value:$o.typeTitle}),$o.typePropertyKey&&$o.typePropertyKeySelect&&(0,W7.jsx)(xt,{style:{lineHeight:"24px"},list:$o.typePropertyKeySelect.map(r=>r.optionText==="Any"?{value:r.value,text:{value:r.optionText,context:"find-similar"}}:{value:r.value,text:{value:r.optionText,context:"attrs"}}),onChange:r=>{$o.typePropertyKey=r+""},value:$o.typePropertyKey,containerStyle:{marginLeft:"10px"}})]})]}),(0,W7.jsxs)("div",{className:TIe("row column2"),children:[(0,W7.jsx)("div",{className:TIe("title"),title:t({context:"find-similar:",value:"Range:"}),children:t({context:"find-similar:",value:"Range:"})}),(0,W7.jsx)("div",{children:(0,W7.jsx)(xt,{style:{lineHeight:"24px"},list:$o.findRangeSelect.filter(r=>r.display==="block").map(r=>({value:r.value,text:r.optionText,disabled:r.disable})),onChange:r=>{$o.findRange=r+""},value:$o.findRange})})]})]})},Kco=(0,sse.memo)(_Or);var cdo=L(Se()),ddo=L(nW());var Jco=L(Se());var qco=L(nW());var ky=L(z()),Zco=be.bind(qco.default.locals),jOr=t=>{var c,d,u,p;let{propertyKey:e,displaySelectDisable:i=!1,displaySelectData:o,propertyTitle:r}=t,n=r,a=J(),s=(m,h,f)=>{if(ue.isPlainObject(f)||(f=f+""),!(typeof f=="string"&&f.trim().length===0)){if($o.basePropertyGroup&&$o.basePropertyGroup.findIndex(b=>b.propertyKey===m)!==-1){$o.basePropertyGroup=$o.basePropertyGroup.map(b=>(b.propertyKey===m&&(h?b[h]=f:b.value=f),b));return}if($o.keyPropertyGroup&&$o.keyPropertyGroup.findIndex(b=>b.propertyKey===m)!==-1){$o.keyPropertyGroup=$o.keyPropertyGroup.map(b=>(b.propertyKey===m&&(h?b[h]=f:b.value=f),b));return}if($o.morePropertyGroup&&$o.morePropertyGroup.findIndex(b=>b.propertyKey===m)!==-1){$o.morePropertyGroup=$o.morePropertyGroup.map(b=>(b.propertyKey===m&&(h?b[h]=f:b.value=f),b));return}if($o.combinationGroup&&$o.combinationGroup.findIndex(b=>b.propertyKey===m)!==-1){$o.combinationGroup=$o.combinationGroup.map(b=>(b.propertyKey===m&&(h?b[h]=f:b.value=f),b));return}if($o.reuseBlockGroup&&$o.reuseBlockGroup.findIndex(b=>b.propertyKey===m)!==-1){$o.reuseBlockGroup=$o.reuseBlockGroup.map(b=>(b.propertyKey===m&&(h?b[h]=f:b.value=f),b));return}}},l=m=>{var x,S;let{propertyKey:h,value:f,valueOptions:g,valueType:b,defaultValue:y,hasModified:w}=m;if(h)switch(b){case"select":{let M=f,I=g,A,D,E;return y!==void 0&&(h===C.PropertyKey.fillStyle.key&&(A={value:s4[y]+a($A),context:"theme"},D=Pb[s4[y]],E=Pb[s4[M||y]]),I=yne(g,y,$A,A,D),f==null&&(M=y+$A)),(0,ky.jsx)(xt,{style:{width:"100%",lineHeight:"24px"},value:M,list:I,valueIcon:E,onChange:N=>{s(h,"",N)}})}case"fontSize":{let M=Vo();return(0,ky.jsxs)("div",{style:{display:"flex",alignItems:"center",width:"100%"},children:[(0,ky.jsx)(or,{name:(x=n!=null?n:h)!=null?x:"",dataTest:n!=null?n:h,inputUnit:M,value:f!=null?f:y,dValue:y,onChange:I=>{s(h,"",I)}}),(0,ky.jsx)(K_,{onClick:()=>{s(h,"",y)}})]})}case"color":return(0,ky.jsx)(vp,{color:f==="null"?y:f,defaultColor:y,needRefresh:!0,style:{width:"100%"},onChange:(M,I,A)=>{A==="Restore"?s(h,"",null):s(h,"",M)}});case"fontStyle":return(0,ky.jsx)(J_,{defaultValue:y,hasModified:w,...f,onChange:M=>{for(let I in M)w[I]=!0;s(h,"",{...f,...M})}});case"fontFamily":return(0,ky.jsx)(Jw,{value:f!=null?f:y,list:g,onChange:M=>{s(h,"",M)}});case"textOrigin":return(0,ky.jsx)(bpe,{defaultValue:y,hasModified:w,...f,onChange:M=>{s(h,"",M)}});case"unitInput":{let M=Vo();return(0,ky.jsx)(or,{name:(S=n!=null?n:h)!=null?S:"",dataTest:n!=null?n:h,inputUnit:M,value:f,onChange:I=>{s(h,"",I)}})}default:let T=f==null?"":f+"";return(0,ky.jsx)(Kt,{title:T||"",name:h,defaultValue:T||"",enterTriggerBlur:!0,clickTriggerSelect:!0,onBlur:M=>{s(h,"",M.target.value.trim())}})}};return(0,ky.jsxs)("div",{className:Zco("row column4"),children:[(0,ky.jsx)("div",{className:Zco("title"),children:(0,ky.jsx)("span",{title:a((c=n!=null?n:e)!=null?c:""),"data-test":n!=null?n:e,children:a({context:"attrs",value:(d=n!=null?n:e)!=null?d:""})})}),(0,ky.jsx)("div",{children:(0,ky.jsx)(xt,{style:{lineHeight:"24px"},list:xae.map(m=>({value:m.value,text:{value:m.optionText,context:"find-similar"}})),onChange:m=>{s(e,"findSimilarCondition",m+"")},value:(u=t==null?void 0:t.findSimilarCondition)!=null?u:xae[0].value})}),(0,ky.jsx)("div",{children:l(t)}),(0,ky.jsx)("div",{children:(0,ky.jsx)(xt,{style:{lineHeight:"24px"},list:o.map(m=>({value:m.value,text:{value:m.optionText,context:"find-similar"}})),optionsAutoWidth:!0,disabled:i,value:(p=t==null?void 0:t.findSimilarDisplay)!=null?p:o[0].value,onChange:m=>{s(e,"findSimilarDisplay",m+"")}})})]})},n2e=(0,Jco.memo)(jOr);var $co=L(Se());var edo=L(nW());var Lz=L(z()),Xco=be.bind(edo.default.locals),BOr=()=>{let t=J();return Ce($o),(0,Lz.jsxs)("div",{className:Xco("row column4"),"data-test":"find-similar-all",children:[(0,Lz.jsx)("div",{className:Xco("title"),children:t("All")}),(0,Lz.jsx)("div",{children:(0,Lz.jsx)(xt,{style:{lineHeight:"24px"},list:xae.map(e=>({value:e.value,text:{value:e.optionText,context:"find-similar"}})),value:$o.allFindSimilarContain,onChange:e=>{$o.allFindSimilarContain=e}})}),(0,Lz.jsx)("div",{children:(0,Lz.jsx)(Kt,{defaultValue:$o.allInput,onChange:e=>{$o.allInput=e.trim()}})}),(0,Lz.jsx)("div",{children:(0,Lz.jsx)(xt,{style:{lineHeight:"24px"},list:DX.map(e=>({value:e.value,text:{value:e.optionText,context:"find-similar"}})),optionsAutoWidth:!0,value:$o.allFindSimilarAllDisplay,onChange:e=>{$o.allFindSimilarAllDisplay=e}})})]})},tdo=(0,$co.memo)(BOr);var odo=L(Se());var rdo=L(nW()),BPt=L(z()),ido=be.bind(rdo.default.locals),zOr=()=>{let t=J();return(0,BPt.jsx)("div",{className:ido("row column4"),style:{backgroundColor:"var(--bg-color-table-header)"},children:MZi.map(e=>(0,BPt.jsx)("div",{className:ido(e.class),children:e.translateContext?t({context:"find-similar",value:`${e.text}`,options:null}):t(e.text)},e.text))})},ndo=(0,odo.memo)(zOr);var ado=L(Se());var sdo=L(nW());var lse=L(z()),FOr=be.bind(sdo.default.locals),UOr=()=>{let t=J();Ce($o);let e=(i,o)=>{i==="regular"?$o.findRegularRules=$o.findRegularRules.map(r=>(r.name===i&&(r.checked=o),r.name==="expression"&&r.checked&&(r.checked=!1),r)):i==="expression"?$o.findRegularRules=$o.findRegularRules.map(r=>(r.name===i&&(r.checked=o),r.name==="regular"&&r.checked&&(r.checked=!1),r)):$o.findRegularRules=$o.findRegularRules.map(r=>(r.name===i&&(r.checked=o),r))};return(0,lse.jsx)("div",{className:FOr("row"),style:{gridTemplateColumns:"25% 25% 25%"},children:$o.findRegularRules.map(i=>(0,lse.jsx)("div",{children:(0,lse.jsxs)("label",{children:[(0,lse.jsx)("input",{type:"checkbox",name:i.name,checked:i.checked,onChange:()=>{e(i.name,!i.checked)}}),(0,lse.jsx)("span",{children:t(i.value)})]})},i.value))})},ldo=(0,ado.memo)(UOr);var rL=L(z()),a2e=L(Se()),aW=be.bind(ddo.default.locals),VOr=()=>{var e,i,o,r,n,a,s;let t=J();return Ce($o),(0,rL.jsxs)("div",{className:aW("conditions border"),children:[(0,rL.jsx)("span",{className:aW("title"),children:t({context:"find-similar",value:"Property",options:null})}),(0,rL.jsx)(ldo,{}),(0,rL.jsx)(tdo,{}),(0,rL.jsx)(ndo,{}),((e=$o.basePropertyGroup)==null?void 0:e.length)>0&&(0,rL.jsx)("div",{className:aW("properties"),children:$o.basePropertyGroup.map((l,c)=>{let d=$o.typeTitle==="text",u=$o.typeTitle;return(u==="Component Name/Property"||u==="Net Name/Property"||u==="Pin Name/Property")&&c!==0&&(d=!0),(0,a2e.createElement)(n2e,{...l,key:`${l.propertyKey}#${c}`,displaySelectDisable:d,displaySelectData:l.propertyKey==="ID"?XZe:DX})})}),(((i=$o.keyPropertyGroup)==null?void 0:i.length)>0||((o=$o.morePropertyGroup)==null?void 0:o.length)>0)&&(0,rL.jsxs)("div",{className:aW("para-attr"),children:[(0,rL.jsx)("span",{className:aW("title"),children:t("Custom Properties")}),((r=$o.keyPropertyGroup)==null?void 0:r.length)>0&&$o.keyPropertyGroup.map(l=>(0,a2e.createElement)(n2e,{...l,key:Mt(),displaySelectDisable:$o.typeTitle==="text",displaySelectData:DX})),((n=$o.morePropertyGroup)==null?void 0:n.length)>0&&$o.morePropertyGroup.map(l=>(0,a2e.createElement)(n2e,{...l,displaySelectDisable:$o.typeTitle==="text",key:Mt(),displaySelectData:DX}))]}),((a=$o.combinationGroup)==null?void 0:a.length)>0&&(0,rL.jsxs)("div",{className:aW("group-attr"),children:[(0,rL.jsx)("span",{className:aW("title"),children:t("Group")}),$o.combinationGroup.map(l=>(0,a2e.createElement)(n2e,{...l,displaySelectDisable:!0,key:Mt(),displaySelectData:XZe}))]}),((s=$o.reuseBlockGroup)==null?void 0:s.length)>0&&(0,rL.jsxs)("div",{className:aW("reuse-block-attr"),children:[(0,rL.jsx)("span",{className:aW("title"),children:t("Reuse Block")}),$o.reuseBlockGroup.map(l=>(0,a2e.createElement)(n2e,{...l,displaySelectDisable:!0,key:Mt(),displaySelectData:XZe}))]})]})},udo=(0,cdo.memo)(VOr);var zPt=L(nW());var SIe=L(z()),HOr=be.bind(zPt.default.locals),GOr=t=>{let{containerId:e}=t;return Ce(Po),Ae(zPt.default),Bt(()=>{le.close(e)}).close(e),(0,Cet.useEffect)(()=>{Po.isPanelRelated()&&le.close(e)},[Po.workingMode]),(0,SIe.jsxs)("div",{className:HOr("find-similar-content"),children:[(0,SIe.jsx)(Kco,{}),(0,SIe.jsx)(udo,{})]})},pdo=(0,Cet.memo)(GOr);var cse=L(Se());var UPt=L(nW());var FPt=L(z()),{locals:YOr}=UPt.default,WOr=({containerId:t})=>{Ae(UPt.default),Ce($o);let[e,i]=(0,cse.useState)(IZi),o=async r=>{let n=$o.getFindSimilarParam();if(i(a=>a.map(s=>(s.btnText!=="Cancel"&&(s.disable=!0),s))),r==="findPrev"||r==="findNext"){let a=dt()===ve.SCH;!lr.initSearchTableRes||lr.isNotSymbol!==a||$o.cacheFindParam&&$o.cacheFindParam!==JSON.stringify(n)?C.messageBus.publish("applyFindSimilar",n):lr.clickPrevBtnOrNextBtn(r)}else C.messageBus.publish("applyFindSimilar",n);$o.cacheFindParam=JSON.stringify(n)};return Bt(()=>{var r;i(n=>n.map(a=>(a.btnText!=="Cancel"&&(a.disable=!1),a))),!((r=lr.showTableData)!=null&&r.length)&&$o.findRange==="current_select"&&$o.updateFindRangeSelect(!0,!1,!1)}).key("searchEnd"),Bt(r=>{if(r&&["Enter"].includes(r.code)){let n=$o.getFindSimilarParam();C.messageBus.publish("applyFindSimilar",n)}}).keyboard(t),(0,cse.useEffect)(()=>{$o.keyDownP&&(o("findPrev"),$o.keyDownP=!1)},[$o.keyDownP]),(0,cse.useEffect)(()=>{$o.keyDownN&&(o("findNext"),$o.keyDownN=!1)},[$o.keyDownN]),(0,FPt.jsx)("div",{className:YOr.footer,children:e.map(r=>(0,FPt.jsx)(Me,{class:r.class,type:r.btnType,size:r.size,style:{...r.style&&r.style},disabled:r.disable,onClick:()=>{r.messageBusName?o(r.messageBusName):(i(n=>n.map(a=>(a.btnText!=="Cancel"&&(a.disable=!1),a))),le.close(t))},children:r.btnText},r.i18n))})},mdo=(0,cse.memo)(WOr);var VPt=L(z());async function hdo(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s,mask:l,esc:c}=i;await $o.initDialog(t),le.open({id:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,children:(0,VPt.jsx)(pdo,{containerId:o}),footer:(0,VPt.jsx)(mdo,{containerId:o})})}var Iet=L(Se());var fdo="Name",gdo="Value",QOr=/PCB\((Name)?\|?(Value)?\)/,KOr=/Schematic\((Name)?\|?(Value)?\)/;var xet={default_status:"Default",all:"All"};function bdo(t){let e={sch:[],pcb:[]};if(t=typeof t=="string"?t:t.data,t===xet.default_status)e.sch=[!1,!1],e.pcb=[!1,!1];else if(t===xet.all)e.sch=[!0,!0],e.pcb=[!0,!0];else{let i=t.match(KOr),o=t.match(QOr);i&&i.length&&(e.sch[0]=i.indexOf(fdo)>-1,e.sch[1]=i.indexOf(gdo)>-1),o&&o.length&&(e.pcb[0]=o.indexOf(fdo)>-1,e.pcb[1]=o.indexOf(gdo)>-1)}return e}function ZOr(t){let e="",i,o=!0,r=0;if(t){for(let n of Reflect.ownKeys(t))if(t[n]&&Object.prototype.toString.call(t[n])==="[object Array]"&&(i=t[n],i[0]||i[1])){if(o=!1,i[0]&&i[1]&&(r+=1),r===2)break;let a=n==="sch"?`${e.length?",":""}Schematic`:`${e.length?",":""}PCB`,s=i[0]&&i[1]?"|":"",l=`(${i[0]?"Name":""}${s}${i[1]?"Value":""})`;e+=a+l}o?e=xet.default_status:r===2&&(e=xet.all)}return e}function HPt(){let t=C.systemAttrs,e=[];if(Object.prototype.toString.call(t)==="[object Array]"){for(let i of t)if(i&&i.property){i.show_status&&(i.showStatus=typeof i.show_status=="string"?i.show_status:ZOr(i.show_status));let o=ue.deepClone(i);o.type="system",e.push(o)}}return e}function Tet(t,e){let i=HPt(),o=new Set(i.map(a=>a.property)),r={};return e.map(a=>{r[a.property]=a.showStatus}),i=i.map(a=>(a.showStatus=r[a.property],a)),e.filter(a=>a.type!=="system"&&!o.has(a.property)).concat(i)}var GPt=class extends qe{constructor(){super(...arguments);this._designator="";this._showKeyDesignator=!1;this._showValueDesignator=!1;this._name="";this._showKeyName=!1;this._showValueAttrName=!1;this._attrs={}}get designator(){return this._designator}set designator(i){this._designator=i,this.notify()}get showKeyDesignator(){return this._showKeyDesignator}set showKeyDesignator(i){this._showKeyDesignator=i,this.notify()}get showValueDesignator(){return this._showValueDesignator}set showValueDesignator(i){this._showValueDesignator=i,this.notify()}get name(){return this._name}set name(i){this._name=i}get showKeyName(){return this._showKeyName}set showKeyName(i){this._showKeyName=i,this.notify()}get showValueAttrName(){return this._showValueAttrName}set showValueAttrName(i){this._showValueAttrName=i,this.notify()}get attrs(){return this._attrs}get dialogId(){return this._dialogId}refreshDialog(i,o){let{maxDesignator:r,attrs:n,partMasterParams:a}=i,s=!1,l=!1,c=!1,d=!1,u="",p="";if(a.isTab)p=a.Designator,s=a.showKeyDesignator,l=a.showValueDesignator,u=a.AttrName,c=a.showKeyName,d=a.showValueAttrName;else{let m=Wi("PROPERTY","property");it(JSON.parse(m),(h,f)=>{if(f.property==="Designator"||f.property==="Name"){let g=bdo(f.showStatus);g.sch[0]&&(f.property==="Designator"?s=!0:c=!0),g.sch[1]&&(f.property==="Designator"?l=!0:d=!0)}}),p=r,u=(n==null?void 0:n.Name)||""}this._designator=p,this._showKeyDesignator=s,this._showValueDesignator=l,this._name=u,this._showKeyName=c,this._showValueAttrName=d,this._dialogId=o,this._attrs=n,this.notify()}},yf=new GPt;function YPt(){let{showKeyName:t,showValueAttrName:e,name:i,showKeyDesignator:o,showValueDesignator:r,designator:n,dialogId:a}=yf,s=Zyi.exec(n);C.messageBus.publish("manualModifyDesignator",{value:n,tabId:gi()}),C.messageBus.rpcCall("sch/updateWillPlacePartName",{showKeyName:t,showValueAttrName:e,AttrName:i,showKeyDesignator:o,showValueDesignator:r,Designator:n,maxNum:s?["?","\uFF1F"].includes(s[2])?null:s[2]:null,pre:s?s[1]:n}),le.close(a)}var WPt=L(wdo());var wf=L(z());function JOr(){let t=J(),e=(0,Iet.useRef)(null);Ae(WPt.default);let i=be.bind(WPt.default.locals);Ce(yf),(0,Iet.useEffect)(()=>{e.current.focus(),e.current.select()},[]);let o=async r=>{let n=(await C.messageBus.rpcCall("sch/getTabDesignator",[r,yf.designator])).message;yf.designator=n};return(0,wf.jsxs)("div",{className:i("container"),children:[(0,wf.jsxs)("div",{className:i("section"),children:[(0,wf.jsxs)("label",{className:i("line-title"),children:[(0,wf.jsx)("input",{type:"checkbox",value:"true",name:"show-key-Name",style:{verticalAlign:"middle",cursor:"pointer"},checked:yf.showKeyName,onChange:r=>{yf.showKeyName=r.target.checked}}),(0,wf.jsx)("span",{className:i("title"),children:t("Name")})]}),(0,wf.jsxs)("div",{className:i("line-content"),children:[(0,wf.jsxs)("label",{style:{position:"relative"},children:[(0,wf.jsx)("input",{type:"checkbox",value:"true",style:{verticalAlign:"middle",cursor:"pointer"},name:"show-value-attr-name",checked:yf.showValueAttrName,onChange:r=>{yf.showValueAttrName=r.target.checked}}),(0,wf.jsx)("span",{})]}),(0,wf.jsx)(cV,{symbolStore:new sP,position:"fixed",value:yf.name,style:{width:"140px",height:"24px"},onChange:r=>{yf.name=r},propertyKey:"Name",valueOptions:Object.keys(yf.attrs||{}).map(r=>`${r}`).filter(r=>r!="Name").map(r=>({text:`{${r}}`,value:`{${r}}`}))},yf.name)]})]}),(0,wf.jsxs)("div",{className:i("section"),children:[(0,wf.jsxs)("label",{className:i("line-title"),children:[(0,wf.jsx)("input",{type:"checkbox",name:"show-key-Designator",value:"true",style:{verticalAlign:"middle",cursor:"pointer"},checked:yf.showKeyDesignator,onChange:r=>{yf.showKeyDesignator=r.target.checked}}),(0,wf.jsx)("span",{className:i("title"),children:t("Designator")})]}),(0,wf.jsxs)("div",{className:i("line-content"),children:[(0,wf.jsxs)("label",{children:[(0,wf.jsx)("input",{name:"show-value-Designator",type:"checkbox",value:"true",style:{verticalAlign:"middle",cursor:"pointer"},checked:yf.showValueDesignator,onChange:r=>{yf.showValueDesignator=r.target.checked}}),(0,wf.jsx)("span",{})]}),(0,wf.jsx)("input",{ref:e,name:"Designator",className:i("line-input"),type:"text",defaultValue:yf.designator,value:yf.designator,onBlur:r=>{yf.designator=r.target.value},onChange:r=>{yf.designator=r.target.value},onKeyUpCapture:r=>{r.key==="Enter"&&(yf.designator=r.target.value)}}),(0,wf.jsx)(ml,{style:{marginLeft:"16px",width:"50px"},size:"sm",onClick:r=>{o("min")},children:t("Min")}),(0,wf.jsx)(ml,{style:{marginLeft:"16px",width:"50px"},size:"sm",onClick:r=>{o("max")},children:t("Max")})]})]})]})}function Cdo(t,e){let{containerId:i,title:o,width:r,closed:n}=bt[e];yf.refreshDialog(t,i),le.open({id:i,title:o,width:r,closed:n,remove:!0,children:(0,wf.jsx)(JOr,{}),footer:!0,onCancel:()=>{le.close(i)},okText:"Place",onOk:()=>{YPt()},onKeyup(a){a.code==="Enter"&&YPt()}})}var dse=L(Se());var Q7=L(z()),s2e=null,QPt=null;async function xdo(t={},e){let{allCombinationName:i=[],combinationName:o="",combinationType:r}=t,n=bt[e],{containerId:a,title:s,width:l,closed:c,mask:d,esc:u,footer:p}=n;s2e=o,r==="joinGroup"&&(s="Join Group",i=i.map(h=>({value:h,text:h,showOriginalText:!0})));let m=async()=>{if(r==="groupSelected"&&i.includes(s2e))De({type:"error",msg:"Group name already exists!"});else{if(r==="groupSelected"){if(!s2e)return De({type:"warn",msg:"\u8BF7\u8F93\u5165\u7EC4\u5408\u540D"});C.messageBus.rpcCall("sch/newCombination",s2e).then(h=>{h.message&&h.message.success&&le.close(a)})}r==="joinGroup"&&C.messageBus.rpcCall("sch/joinCombination",QPt).then(h=>{h.message&&h.message.success&&le.close(a)})}};le.open({id:a,title:s,width:l,closed:c,mask:d,esc:u,footer:p,children:(0,Q7.jsx)(qOr,{containerId:a,combinationName:s2e,allCombinationName:i,handleComfirm:m,combinationType:r}),onOk:m,onCancel(){le.close(a)}})}var qOr=t=>{let{containerId:e,combinationName:i,handleComfirm:o,combinationType:r,allCombinationName:n}=t,a=J(),[s,l]=(0,dse.useState)(i),[c,d]=(0,dse.useState)(()=>{if(r==="joinGroup")return QPt=n[0].value,n[0].value}),u=(0,dse.useRef)(null);return(0,dse.useEffect)(()=>{u.current&&u.current.focus(),u.current&&u.current.select()},[]),Bt(p=>{(r==="groupSelected"||r==="joinGroup")&&p&&["Enter","NumpadEnter"].includes(p.code)&&o&&o()}).keyboard(e),(0,Q7.jsx)(Q7.Fragment,{children:(0,Q7.jsxs)("div",{className:"line",style:{display:"flex",marginTop:"15px",marginLeft:"15px"},children:[(0,Q7.jsx)("div",{className:"txt_title f14",style:{display:"flex",alignItems:"center"},children:(0,Q7.jsx)("span",{children:a("Group Name")})}),(0,Q7.jsxs)("div",{className:"txt_value",style:{marginLeft:"10px"},children:[r==="groupSelected"&&(0,Q7.jsx)("input",{ref:u,name:"groupName",type:"text",value:s,onChange:p=>{l(p.target.value.trim()),s2e=p.target.value.trim()}}),r==="joinGroup"&&(0,Q7.jsx)(xt,{style:{width:"207px"},list:n,value:c,onChange:p=>{d(p),QPt=p.trim()}})]})]})})};var sE={NP:["_P","_N"],PM:["+","-"]},K7=["Not Enabled","The Front Of Prefix","The Back Of Prefix","The Back Of Digit","The Back Of Suffix"],KPt=class extends qe{constructor(){super(...arguments);this._data=Object();this.prefixShouldFocus={common:!0,advanced:!0};this._isAdvanceMode=!1;this.diffPair={checked:!1,position:{value:K7[K7.length-1],options:[...K7]},name:[...sE.NP]}}get data(){return this._data}set data(i){this._data=i}setPrefixShouldFocusCommon(i){this.prefixShouldFocus.common=i}setPrefixShouldFocusAdvanced(i){this.prefixShouldFocus.advanced=i}changeNetName(i){this.data.netlabelInfo={...i},this.isAdvanceMode||(this.data.netlabelInfo.diffPair=null,this.syncNetNameByDiffPairChecked()),this.notify()}syncNetNameByDiffPairChecked(){let{netlabelInfo:i}=this.data;if(this.diffPair.checked){let{netNameInCommonMode:r}=this;[sE.NP,sE.PM].some(n=>n.some((a,s)=>{if(r.endsWith(a)){if(i.diffPair)o();else{let l=(a===sE.PM[0]?"\\":"")+a+"$",c=new RegExp(l,"i"),d=u=>u.replace(c,"");i.suffix.endsWith(a)?i.suffix=d(i.suffix):!i.willPlaceDigit&&!i.suffix&&(i.prefix=d(i.prefix))}return i.diffPair={name:{value:a,options:[a,n[s+1&1]]},position:K7[K7.length-1]},!0}}))}else i.diffPair&&(o(),i.diffPair=null);function o(){let r=i.diffPair.name.value;switch(K7.findIndex(a=>a===i.diffPair.position)){case 0:break;case 1:{i.prefix=r+i.prefix;break}case 2:{i.prefix=i.prefix+r;break}case 3:{i.suffix=r+i.suffix;break}case 4:{i.suffix=i.suffix+r;break}}}}syncNetNameByDiffPairName(){this.isAdvanceMode&&this.diffPair.position.value!==this.diffPair.position.options[0]&&(this.data.netlabelInfo.diffPair||(this.data.netlabelInfo.diffPair={position:this.diffPair.position.value,name:null}),this.data.netlabelInfo.diffPair.name={value:this.diffPair.name[0],options:[...this.diffPair.name]})}syncNetNameByDiffPairPosition(){let i=this.diffPair.position.value;this.diffPair.position.options.findIndex(r=>r===i)===0?this.data.netlabelInfo.diffPair=null:this.data.netlabelInfo.diffPair?this.data.netlabelInfo.diffPair.position=i:this.data.netlabelInfo.diffPair={position:i,name:{value:this.diffPair.name[0],options:[...this.diffPair.name]}}}get netNameInCommonMode(){let{prefix:i,suffix:o,incrementalStep:r,willPlaceDigit:n,diffPair:a}=this.data.netlabelInfo,s=[i,n,o];if(a){let l=this.diffPair.position.options.findIndex(d=>d===a.position),c=a.name.value;switch(l){case 0:break;case 1:case 2:case 3:case 4:{s.splice(l-1,0,c);break}}}return s.join("")}get isAdvanceMode(){return this._isAdvanceMode}set isAdvanceMode(i){this._isAdvanceMode=i,this.syncDiffPairByAdvanceMode(),this.notify()}init(){let i=this._wireLengthExpand?new ws(this._wireLengthExpand.value,this._wireLengthExpand.unit):new ws(.3,"inch");this._wireLengthExpand=_m(i,Vo()).toJSON()}get wireLengthExpand(){return this._wireLengthExpand}set wireLengthExpand(i){this._wireLengthExpand=i}get isDiffPairDiabled(){return this.isAdvanceMode?this.diffPair.position.value===K7[0]:this.diffPair.checked}syncDiffPairByChecked(i){i!==this.diffPair.checked&&(this.diffPair.checked=i,this.syncNetNameByDiffPairChecked()),this.notify()}syncDiffPairByPosition(i){i!==this.diffPair.position.value&&(this.diffPair.position.value=i,this.shouldSetDiffPairCheckedInAdvancedMode&&(this.diffPair.checked=!0),this.syncNetNameByDiffPairPosition()),this.notify()}get shouldSetDiffPairCheckedInAdvancedMode(){let{position:{value:i,options:o},name:r}=this.diffPair;return i===o[o.length-1]&&[sE.PM,sE.NP].some(n=>r.every(a=>n.includes(a)))}syncDiffPairByAdvanceMode(){if(this.isAdvanceMode)if(!this.diffPair.checked)this.syncDiffPairByPosition(K7[0]);else{let{netNameInCommonMode:i}=this;[sE.NP,sE.PM].some(r=>r.some((n,a)=>{if(i.endsWith(n))return this.syncDiffPairByPosition(K7[K7.length-1]),this.resetDiffPairName([n,r[++a&1]]),!0}))||this.syncDiffPairByPosition(K7[0])}else this.syncDiffPairByChecked(this.diffPair.position.value!==K7[0])}setDiffPairName(i,o){this.diffPair.name[o]=i;let r=[sE.NP,sE.PM].find(n=>n.includes(i));r&&(this.diffPair.name[++o&1]=r.find(n=>n!==i)),this.syncNetNameByDiffPairName(),this.notify()}resetDiffPairName(i){this.diffPair.name=[...i],this.syncNetNameByDiffPairName(),this.notify()}async confirm(){await os(32);let{success:i,msg:o}=await Cr("validateNetComposedName",{type:"netlabel",nameInfo:this.data.netlabelInfo});return i?(C.messageBus.publish("setNetLabelLeadWireLengthToSCH",this.wireLengthExpand),!this.isAdvanceMode&&this.data.netlabelInfo.suffix!==""&&(this.data.netlabelInfo.incrementalStep=""),this.data.netlabelInfo.diffPair&&!this.data.netlabelInfo.incrementalStep&&(this.data.netlabelInfo.incrementalStep="1"),await C.messageBus.publish("partNetLabelHandler",this.data.netlabelInfo),!0):(De({type:"error",msg:o,timer:2.5}),!1)}async getComposedNameItemByName(i){let o={prefix:"",suffix:"",willPlaceDigit:"",incrementalStep:""},n=await(async a=>{let s=await Cr("separateNetLabelName",{netlabelName:a,type:"bus"});return ue.isEmptyObj(s)&&(s=await Cr("separateNetLabelName",{netlabelName:a,type:"wire"})),s})(i);return Object.keys(o).forEach(a=>{n&&Object.hasOwnProperty.call(n,a)?o[a]=n[a]:o[a]=""}),Object.assign(o,{incrementalStep:1}),!this.isAdvanceMode&&o.suffix&&(o.incrementalStep=""),zs.data.netlabelInfo=o,this.syncNetNameByDiffPairChecked(),o.diffPair?o.diffPair.name.value=o.diffPair.name.options[1]:o.diffPair=null,!o.diffPair&&o.willPlaceDigit&&(o.willPlaceDigit=Number(o.willPlaceDigit)+o.incrementalStep+""),o}},zs=new KPt;var Tdo=L(Se());var _O=L(z());function XOr(){let t=J();return Ce(zs),(0,_O.jsxs)("div",{className:["more-setting",zs.isAdvanceMode?"advanced":""].join(" "),onClick:()=>{zs.isAdvanceMode=!zs.isAdvanceMode,zs.isAdvanceMode?zs.setPrefixShouldFocusAdvanced(!0):zs.setPrefixShouldFocusCommon(!0)},children:[(0,_O.jsx)("span",{"data-test":"More Setting",children:t("More Setting")}),(0,_O.jsx)("i",{})]})}function ZPt(){let t=(0,Tdo.useRef)(bt["netlabel-tab"].containerId),e=J();Ce(zs);let i=async()=>{await zs.confirm()&&le.close(t.current)},o=()=>{le.close(t.current)};return(0,_O.jsxs)("footer",{className:"netlabel-tab-footer",style:{width:"100%",display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,_O.jsx)("div",{children:(0,_O.jsx)(XOr,{})}),(0,_O.jsxs)("div",{children:[(0,_O.jsx)(Me,{type:"primary",class:"confirm-btn",onClick:i,style:{marginRight:"16px"},children:"Confirm"}),(0,_O.jsx)(Me,{class:"cancel-btn",onClick:o,children:"Cancel"})]})]})}var Sdo=L(Se());var hl=L(z()),JPt=255;function qPt(t=ks){let e=J(),i=(0,Sdo.useMemo)(()=>t.isAdvanceMode,[t.isAdvanceMode]),o=async s=>{let l={prefix:"",suffix:"",willPlaceDigit:"",incrementalStep:""},c=await t.separator(s);return Object.keys(l).forEach(d=>{c&&Object.hasOwnProperty.call(c,d)?l[d]=c[d]:l[d]=""}),Object.assign(l,{incrementalStep:1}),l},r=async s=>{let l=await o(s),c={...t.composedName,...l};t.onChange(c)};function n(){return(0,hl.jsx)("ul",{className:"wrapper-advanced",style:{listStyleType:"none"},children:(0,hl.jsxs)("li",{className:"content-layer",style:{display:"flex"},children:[(0,hl.jsxs)("span",{className:"layer-title attr-title",style:{width:"38px",lineHeight:"26px",textAlign:"left"},children:[(0,hl.jsx)("span",{"data-test":"Name",children:e("Name")}),":"]}),(0,hl.jsxs)("ul",{className:"layer-main",style:{flex:1},children:[(0,hl.jsxs)("li",{className:"content-layer",style:{display:"flex",alignItems:"center",marginBottom:"14px"},children:[(0,hl.jsxs)("span",{className:"layer-title key-title",style:{width:"2em",marginRight:"14px",whiteSpace:"nowrap"},children:[(0,hl.jsx)("span",{"data-test":"Prefix",children:e("Prefix")}),":"]}),(0,hl.jsx)("div",{className:"inline-content netlabel-prefix",style:{flex:1},children:(0,hl.jsx)(Sz,{onChange:s=>{t.onChange({...t.composedName,prefix:s})},focus:t.focus,blur:()=>t.onBlur(),value:t.composedName.prefix,validator:s=>s.length<=JPt,className:"prefix-input",style:{width:"100%"},selectList:t.selectList})})]}),(0,hl.jsxs)("li",{className:"content-layer",style:{marginBottom:"4px",display:"flex",alignItems:"center"},children:[(0,hl.jsx)("span",{className:"layer-title key-title",style:{width:"2em",marginRight:"14px",whiteSpace:"nowrap"}}),(0,hl.jsxs)("ul",{className:"inline-content",style:{listStyleType:"none",flex:1,display:"flex",justifyContent:"space-between",gap:"14px"},children:[(0,hl.jsx)("li",{className:"inline-layer",style:{flex:1},"data-test":"Start Value",children:e("Start Value")}),(0,hl.jsx)("li",{className:"inline-layer",style:{flex:1},"data-test":"Stepping",children:e("Stepping")})]})]}),(0,hl.jsxs)("li",{className:"content-layer",style:{display:"flex",alignItems:"center",marginBottom:"14px"},children:[(0,hl.jsxs)("span",{className:"layer-title key-title",style:{width:"2em",marginRight:"14px",whiteSpace:"nowrap"},children:[(0,hl.jsx)("span",{"data-test":"Digit",children:e("Digit")}),":"]}),(0,hl.jsxs)("ul",{className:"inline-content",style:{listStyleType:"none",flex:1,display:"flex",justifyContent:"space-between",gap:"14px"},children:[(0,hl.jsx)("li",{className:"inline-layer",style:{flex:1},children:(0,hl.jsx)("div",{className:"netlabel-start-digit",children:(0,hl.jsx)(E1,{value:t.composedName.willPlaceDigit,validator:()=>!0,unit:"",onChange:s=>{t.onChange({...t.composedName,willPlaceDigit:s})}})})}),(0,hl.jsx)("li",{className:"inline-layer",style:{flex:1},children:(0,hl.jsx)("div",{className:"netlabel-increase-step",children:(0,hl.jsx)(E1,{value:t.composedName.incrementalStep,validator:()=>!0,unit:"",onChange:s=>{t.onChange({...t.composedName,incrementalStep:s})}})})})]})]}),(0,hl.jsxs)("li",{className:"content-layer",style:{display:"flex",alignItems:"center"},children:[(0,hl.jsxs)("span",{className:"layer-title key-title",style:{width:"2em",marginRight:"14px",whiteSpace:"nowrap"},children:[(0,hl.jsx)("span",{"data-test":"Suffix",children:e("Suffix")}),":"]}),(0,hl.jsx)("div",{className:"inline-content netlabel-suffix",style:{flex:1},children:(0,hl.jsx)(Sz,{onChange:s=>{t.onChange({...t.composedName,suffix:s})},focus:!1,value:t.composedName.suffix,validator:s=>s.length<=JPt,className:"suffix-input",style:{width:"100%"},selectList:t.selectList})})]})]})]})})}function a(){return(0,hl.jsx)("ul",{className:"wrapper-common",style:{listStyleType:"none"},children:(0,hl.jsxs)("li",{className:"content-layer",style:{display:"flex",alignItems:"center"},children:[(0,hl.jsxs)("span",{className:"layer-title attr-title",style:{width:"76px",textAlign:"left",lineHeight:"24px"},children:[(0,hl.jsx)("span",{"data-test":"Name",children:e("Name")}),":"]}),(0,hl.jsx)("ul",{className:"layer-main",style:{flex:1},children:(0,hl.jsx)("li",{className:"content-layer",style:{display:"flex"},children:(0,hl.jsx)("div",{className:"inline-content netlabel-name",style:{flex:1},children:(0,hl.jsx)(Sz,{onChange:r,focus:t.focus,blur:()=>{var s;return(s=t.onBlur)==null?void 0:s.call(t)},value:t.netNameInCommonMode,validator:s=>s.length<=JPt,className:"suffix-input",style:{width:"100%"},selectList:t.selectList})})})})]})})}return i?(0,hl.jsx)(n,{}):(0,hl.jsx)(a,{})}function Let(t){let e=J();return(0,hl.jsxs)("div",{style:{display:"flex",padding:"16px 16px 16px 50px",border:"1px solid var(--common-border-color)"},children:[(0,hl.jsx)("div",{style:{flex:1},children:(0,hl.jsx)(qPt,{...t})}),(0,hl.jsx)("button",{style:{minWidth:"72px",maxWidth:"120px",height:"22px",padding:0,marginLeft:"14px",backgroundColor:"var(--bg-color-button)",color:"#1890ff",borderColor:"var(--border-color-button)"},onClick:()=>{t.onSwitch(!t.isAdvanceMode)},children:(0,hl.jsxs)("span",{"data-test":"More Setting",children:[e("More Setting"),t.isAdvanceMode?"-":"+"]})})]})}var vet=L(Se());var C0=L(z());function $Or(t){let[e,i]=(0,vet.useState)(t.value);return(0,vet.useEffect)(()=>{i(t.value)},[t.value]),(0,C0.jsx)("input",{type:"text",style:t.style,value:e,onKeyDown:o=>{o.stopPropagation()},onKeyUp:o=>{o.stopPropagation()},onInput:o=>{i(o.target.value)},onBlur:o=>{t.onChange(e)}})}function Mdo(){let t=J();Ce(zs);function e(){return(0,C0.jsx)("span",{style:{whiteSpace:"nowrap",paddingLeft:"2em"},"data-test":"The Ending is _P , _ N or + , - , Identified as a Differential Pair",children:t("The Ending is _P , _ N or + , - , Identified as a Differential Pair")})}function i(){return(0,C0.jsxs)("div",{className:"content-layer",style:{paddingTop:"16px",display:"flex",alignItems:"center"},children:[(0,C0.jsxs)("div",{className:"layer-title attr-title",style:{width:"76px",textAlign:"left",whiteSpace:"normal"},children:[(0,C0.jsx)("span",{"data-test":"Differential Pair",children:t("Differential Pair")}),":"]}),(0,C0.jsx)("ul",{className:"layer-main",children:(0,C0.jsxs)("div",{className:"inline-content",style:{alignItems:"center"},children:[(0,C0.jsx)($p,{defaultChecked:zs.diffPair.checked,onChange:a=>{zs.syncDiffPairByChecked(a)}}),(0,C0.jsx)(e,{})]})})]})}function o(){let a=zs.diffPair.position.options.map(s=>({value:s}));return(0,C0.jsx)($i,{style:{width:"100%"},dataTest:"netlabel-diffpair-position",value:zs.diffPair.position.value,gap:0,subRadioStyle:s=>{let l={display:"inline-block",width:"33.3333%"};return s>=3&&(l.paddingTop="20px"),l},translate:!0,onChange:s=>{zs.syncDiffPairByPosition(s)},options:a})}function r(){let a=()=>{zs.resetDiffPairName(sE.NP)},s=()=>{zs.resetDiffPairName(sE.PM)};return(0,C0.jsxs)("div",{style:{display:"flex",gap:"6px"},children:[zs.diffPair.name.map((l,c)=>(0,C0.jsx)($Or,{style:{width:"100%",height:"100%"},value:l,onChange:d=>{zs.setDiffPairName(d,c)}},l)),(0,C0.jsx)(Me,{onPointerUp:a,size:"sm",children:"Set as _P,_N"}),(0,C0.jsx)(Me,{onPointerUp:s,size:"sm",children:"Set as +,-"})]})}function n(){return(0,C0.jsxs)("div",{className:"content-layer",style:{paddingTop:"16px",display:"flex"},children:[(0,C0.jsxs)("div",{className:"layer-title attr-title",style:{minWidth:"38px",textAlign:"left"},children:[(0,C0.jsx)("span",{"data-test":"Differential Pair",children:t("Differential Pair")}),":"]}),(0,C0.jsxs)("ul",{className:"layer-main",children:[(0,C0.jsxs)("li",{className:"content-layer",children:[(0,C0.jsxs)("em",{className:"layer-title key-title",children:[(0,C0.jsx)("span",{"data-test":"Position",children:t("Position")}),":"]}),(0,C0.jsx)("div",{className:"inline-content diff-pair-position",children:(0,C0.jsx)(o,{})})]}),(0,C0.jsxs)("li",{className:"content-layer",children:[(0,C0.jsxs)("em",{className:"layer-title key-title",children:[(0,C0.jsx)("span",{"data-test":"Name",children:t("Name")}),":"]}),(0,C0.jsx)("div",{className:"inline-content diff-pair-name",children:(0,C0.jsx)(r,{})})]})]})]})}return zs.isAdvanceMode?(0,C0.jsx)(n,{}):(0,C0.jsx)(i,{})}var C$=L(z());function Ido(){Ce(zs);let t=J(),e=o=>{let r=Vo(),n=!1,a=yd(String(o),r),s=0,l=WI(25,"inch",r);return(!Number.isFinite(a)||a<s||a>l)&&(n=!0),!isNaN(a)&&!n},i=o=>{let r=new ws(.3,"inch"),n=Vo(),a=yd(String(o),n),s=new ws(a,n);zs.wireLengthExpand=s.toJSON()};return(0,C$.jsxs)("div",{className:"content-layer",style:{paddingTop:"16px",display:"flex",alignItems:"center"},children:[(0,C$.jsxs)("div",{className:"layer-title attr-title",style:{width:"76px",textAlign:"left",whiteSpace:"normal"},children:[(0,C$.jsx)("span",{"data-test":"Lead Wire\xA0From Pin",children:t("Lead Wire\xA0From Pin")}),":"]}),(0,C$.jsx)("ul",{className:"layer-main",children:(0,C$.jsx)("div",{className:"inline-content netlabel-lead-wire-length",children:(0,C$.jsx)(E1,{validator:e,value:+zs.wireLengthExpand.value,unit:zs.wireLengthExpand.unit,onChange:i})})})]})}var Z7=L(z());function eRr(){let t=bt["netlabel-tab"],{containerId:e,title:i,width:o,height:r,closed:n}=t,a=J();Ce(zs);let s=l=>{zs.changeNetName(l)};return(0,Z7.jsx)("div",{style:{width:"100%",height:"100%",padding:"16px",border:"1px solid var(--common-border-color-1)",boxSizing:"border-box"},children:(0,Z7.jsxs)("div",{className:"composition-info-dlg netlabel-info hasborder",title:a(i),children:[(0,Z7.jsx)("div",{className:"wrapper-ul",children:(0,Z7.jsx)(qPt,{composedName:zs.data.netlabelInfo,selectList:zs.data.netNames,isAdvanceMode:zs.isAdvanceMode,separator:zs.data.separator,onChange:s,netNameInCommonMode:zs.netNameInCommonMode,focus:zs.isAdvanceMode?zs.prefixShouldFocus.advanced:zs.prefixShouldFocus.common,onBlur:()=>{zs.isAdvanceMode?zs.setPrefixShouldFocusAdvanced(!1):zs.setPrefixShouldFocusCommon(!1)}})}),(0,Z7.jsx)("div",{className:"wrapper-ul",children:(0,Z7.jsx)(Mdo,{})}),(0,Z7.jsx)("div",{className:"wrapper-ul",children:(0,Z7.jsx)(Ido,{})})]})})}var tRr={footer:()=>(0,Z7.jsx)(ZPt,{}),main:()=>(0,Z7.jsx)(eRr,{})},XPt=tRr;async function MIe(t=ks){let e=bt["netlabel-tab"],{containerId:i,title:o,width:r,height:n,closed:a}=e,{netlabelInfo:s,netNames:l=await Cr("getAllNetNamesInBoard"),separator:c=async d=>{let u=await Cr("separateNetLabelName",{netlabelName:d,type:"bus"});return ue.isEmptyObj(u)&&(u=await Cr("separateNetLabelName",{netlabelName:d,type:"wire"})),u}}=t;zs.data={netlabelInfo:s,netNames:l,separator:c},zs.prefixShouldFocus.common=!0,zs.prefixShouldFocus.advanced=!0,zs.init(),le.open({id:i,title:o,width:r,closed:a,centered:!0,openCallback(){},footer:XPt.footer(),folded:!0,children:XPt.main(),esc:!0,onKeyup(d){d.key==="Enter"&&setTimeout(()=>{zs.confirm().then(u=>{u&&le.close()})})}})}var Gdo=L(Se());var nL=L(Se());var Ndo=L(x$());var Eet=class extends qe{constructor(){super();this._d3ModelRes=null;this._footprintPreviewStr="";this._d3IframeLoading=!1;this._imgSrc="";this.handelPreviewD3=async()=>{var o;let i={path:C.currentProject.projectId,d3ModelUuid:(o=this._clickRowData)==null?void 0:o.d3ModelUUID};try{this._d3IframeLoading=!0;let r;i.d3ModelUuid&&(r=await As.fetchD3ModelItemHandle(i.d3ModelUuid)),r?this._d3ModelRes=r:this._footprintPreviewStr?this._d3ModelRes=As.createDefaultD3modelItem(i.d3ModelUuid,"",""):(this._d3ModelRes=null,i.d3ModelUuid&&De({type:"warn",msg:"Failed to get data"}))}catch{this._d3ModelRes=null,De({type:"error",msg:"Failed to get data"})}this.notify()};this.deviceManagerSymbolViewStore=new IIe,this.deviceManagerFootprintViewStore=new LIe}async whenClickRowDataChange(i){this._clickRowData=i,this._d3ModelRes=null,this._imgSrc="",await this.getImageRes(i.deviceUUID,C.currentProject.projectId,!0),i!=null&&i.symbolUUID&&await this.deviceManagerSymbolViewStore.getSymbolRes(i.symbolUUID,C.currentProject.projectId,!0),await this.deviceManagerFootprintViewStore.getFootprintRes(i==null?void 0:i.footprintUUID,C.currentProject.projectId,!0)}get imgRes(){return this._imgSrc}async getImageRes(i,o,r){let n=await Ze.getDevice({isProject:r,path:o,uuid:i});n!=null&&n.images&&(this._imgSrc=Array.isArray(n.images)?n.images[0]:n.images)}get d3ModelRes(){return this._d3ModelRes}get d3Model(){var i,o;return(o=(i=this._clickRowData)==null?void 0:i.d3ModelUUID)!=null?o:""}get d3ModelTransform(){var i,o;return(o=(i=this._clickRowData)==null?void 0:i.d3ModelTransform)!=null?o:""}get currentClickRowData(){return this._clickRowData}get footprintPreviewStr(){return this._footprintPreviewStr}set footprintPreviewStr(i){this._footprintPreviewStr=i,this.notify()}get d3IframeLoading(){return this._d3IframeLoading}},IIe=class extends C7{constructor(){super();this._partDataSelectedValue=void 0;this._partDataSelectDisabled=!0;this._partDataSelectList=[]}async getSymbolRes(i,o,r){this.isShowLoading=!0;try{if(i)try{this.symbolItem=await Ze.getSymbol({isProject:o===C.currentProject.projectId,path:o,uuid:i});let n=await cI(ue.deepClone(this.symbolItem));n&&(this._partDataSelectedValue=n.selectedValue,this._partDataSelectDisabled=n.selectDisabled,this._partDataSelectList=n.selectList)}catch(n){this.symbolItem=null,De({type:"warn",msg:(n==null?void 0:n.message)||"Failed to get data"})}else this.symbolItem=null}catch{this.symbolItem=null,De({type:"error",msg:"Failed to get data"})}this.isShowLoading=!1}get partDataSelectDisabled(){return this._partDataSelectDisabled}set partDataSelectedValue(i){this._partDataSelectedValue=i,this.notify()}get partDataSelectedValue(){return this._partDataSelectedValue}get partDataSelectList(){return this._partDataSelectList}},LIe=class extends eB{constructor(){super()}async getFootprintRes(e,i,o){if(!e){this.footprintItem=null,this.needLockMask=!0;return}this.isShowLoading=!0,this.needLockMask=!1;try{if(e)try{this.footprintItem=await Ze.getFootprint({isProject:i===C.currentProject.projectId,path:i,uuid:e})}catch(r){this.footprintItem=null,De({type:"warn",msg:(r==null?void 0:r.message)||"Failed to get data"})}else this.footprintItem=null,this.needLockMask=!0}catch{this.footprintItem=null,this.needLockMask=!0,De({type:"error",msg:"Failed to get data"})}}};var Aet=class extends qe{constructor(){super(...arguments);this._type="targetBase";this._noneNull=!1;this._keepDesignator=!0;this._keepSymbol=!1;this._keepFootprintInSch=!1;this._keepFootprintInPcb=!0;this._keep3DModel=!0}set type(i){this._type=i,this.notify()}get type(){return this._type}set noneNull(i){this._noneNull=i,this.notify()}get noneNull(){return this._noneNull}set keepSymbol(i){this._keepSymbol=i,this.notify()}get keepSymbol(){return this._keepSymbol}set keepDesignator(i){this._keepDesignator=i,this.notify()}get keepDesignator(){return this._keepDesignator}set keepFootprintInSch(i){this._keepFootprintInSch=i,this.notify()}get keepFootprintInSch(){return this._keepFootprintInSch}set keepFootprintInPcb(i){this._keepFootprintInPcb=i,this.notify()}get keepFootprintInPcb(){return this._keepFootprintInPcb}set keep3DModel(i){this._keep3DModel=i,this.notify()}get keep3DModel(){return this._keep3DModel}};var Net=class extends qe{constructor(){super();this.targetDeviceParam=null;this._targetDeviceData=null;this._d3ModelRes=null;this._d3IframeLoading=!1;this.errorSymbolTitle="";this.errorFootprintTitle="";this._footprintPreviewStr="";this.handelPreviewD3=async()=>{var o,r;let i={path:this.targetDeviceParam.path,d3ModelUuid:(r=(o=this._targetDeviceData)==null?void 0:o.attributes)==null?void 0:r["3D Model"]};try{this._d3IframeLoading=!0;let n;i.d3ModelUuid&&(n=await As.fetchD3ModelItemHandle(i.d3ModelUuid,i.path)),n?this._d3ModelRes=n:this._footprintPreviewStr?this._d3ModelRes=As.createDefaultD3modelItem(i.d3ModelUuid,"",""):(this._d3ModelRes=null,i.d3ModelUuid&&De({type:"warn",msg:"Failed to get data"}))}catch{this._d3ModelRes=null,De({type:"error",msg:"Failed to get data"})}this.notify()};this.targetDeviceManagerSymbolViewStore=new IIe,this.targetDeviceManagerFootprintViewStore=new LIe}async whenTargetDeviceChange(i){var o,r,n,a;this.targetDeviceParam=i,await this.getDeviceRes(),this._targetDeviceData&&((r=(o=this._targetDeviceData)==null?void 0:o.attributes)!=null&&r.Symbol&&await this.targetDeviceManagerSymbolViewStore.getSymbolRes(this._targetDeviceData.attributes.Symbol,i.path,i.isProject),await this.targetDeviceManagerFootprintViewStore.getFootprintRes((a=(n=this._targetDeviceData)==null?void 0:n.attributes)==null?void 0:a.Footprint,i.path,i.isProject),this.notify())}async getDeviceRes(){let{uuid:i,path:o=C.currentProject.projectId}=this.targetDeviceParam;this._d3ModelRes=null;try{try{let r=await Ze.getDevice({isProject:o===C.currentProject.projectId,path:o,uuid:i});r&&(r.attributes.Device=r.uuid,r.attributes.Description=r.description||"",this._targetDeviceData=r)}catch(r){this._targetDeviceData=null,De({type:"warn",msg:(r==null?void 0:r.message)||"Failed to get data"})}}catch{this._targetDeviceData=null,De({type:"error",msg:"Failed to get data"})}}get imgRes(){var i,o,r;return(r=(o=(i=this._targetDeviceData)==null?void 0:i.images)==null?void 0:o[0])!=null?r:""}get d3ModelRes(){return this._d3ModelRes}get d3Model(){var i,o,r;return(r=(o=(i=this._targetDeviceData)==null?void 0:i.attributes)==null?void 0:o["3D Model"])!=null?r:""}get targetDeviceData(){return this._targetDeviceData}get d3ModelTransform(){var i,o,r;return(r=(o=(i=this._targetDeviceData)==null?void 0:i.attributes)==null?void 0:o["3D Model Transform"])!=null?r:""}get targetDeviceDisplayTitle(){var i,o;return((i=this._targetDeviceData)==null?void 0:i.display_title)||((o=this._targetDeviceData)==null?void 0:o.title)||""}get targetSymbolDisplayTitle(){var i,o,r,n,a,s,l,c;return(c=(l=(n=(i=this.targetDeviceManagerSymbolViewStore.symbolItem)==null?void 0:i.display_title)!=null?n:(r=(o=this._targetDeviceData)==null?void 0:o.symbol)==null?void 0:r.display_title)!=null?l:(s=(a=this._targetDeviceData)==null?void 0:a.symbol)==null?void 0:s.title)!=null?c:""}get targetFootpringDisplayTitle(){var i,o,r,n,a,s,l,c;return this.targetDeviceManagerFootprintViewStore.footprintItem&&(c=(l=(n=(i=this.targetDeviceManagerFootprintViewStore.footprintItem)==null?void 0:i.display_title)!=null?n:(r=(o=this._targetDeviceData)==null?void 0:o.footprint)==null?void 0:r.display_title)!=null?l:(s=(a=this._targetDeviceData)==null?void 0:a.footprint)==null?void 0:s.title)!=null?c:""}get footprintPreviewStr(){return this._footprintPreviewStr}set footprintPreviewStr(i){this._footprintPreviewStr=i,this.notify()}get d3IframeLoading(){return this._d3IframeLoading}};var vdo=[{key:"Designator",name:"Designator",sortable:!0},{key:"Device",name:"Device",sortable:!0},{key:"Footprint",name:"Footprint",sortable:!0},{key:"Info",name:"Info",sortable:!0}],ket=[{name:"S",active:!0},{name:"F",active:!0},{name:"P",active:!0},{name:"3D",active:!0}],Ddo=[{key:"Designator",name:"Designator",sortable:!0,width:.15},{key:"Comment",name:"Comment",sortable:!0,width:.25},{key:"Footprint",name:"Footprint",sortable:!0,width:.3},{key:"Info",name:"Info",sortable:!0,width:.3}],Edo=["Name","Designator","Unique ID","Device","Symbol","Footprint","Add into BOM","Convert to PCB"],Ado=["Not Check","3D Model Transform","3D Model","3DModel","3D Model","3D Model Title","Name","Global Net Name","Multi-Part Group","Reuse Block","Group ID","Channel ID",y0];var $Pt=class extends qe{constructor(){super(...arguments);this.rawCurrentDeviceList=null;this.currentDeviceTableHeader=null;this.initCurrentDeviceTableRow=null;this.schSelectIdMap=new Map;this.currentDeviceList=null;this.openReplaceDeviceDlgParams=null;this.isPCB=!1;this.selectedRowNumberSet=new Set;this.projectReadOnly=!1;this.isPcbHavePermissionFlag=!1;this.searchValue="";this.optionConfigurationStore=new Aet}async initDialog(){this.currentDeviceThumbStore=new Eet,this.targetDeviceThumbStore=new Net,this.isPCB=dt()==se.PCB,this.currentDeviceTableHeader=this.getCurrentDeviceTableHeader(),this.projectReadOnly=zi.getIsProjectReadOnly(),this.isPCB?(this.isPcbHavePermissionFlag=this.isPcbHavePermission(),await this.getPcbCurrentDeviceList()):(this.getSelectedSymbols(),await this.getSchCurrentDeviceList()),this.openReplaceDeviceDlgParams&&await this.targetDeviceThumbStore.whenTargetDeviceChange(this.openReplaceDeviceDlgParams)}closeDialog(){setTimeout(()=>{this.rawCurrentDeviceList&&(this.rawCurrentDeviceList=null),this.currentDeviceTableHeader&&(this.currentDeviceTableHeader=null),this.initCurrentDeviceTableRow&&(this.initCurrentDeviceTableRow=null),this.schSelectIdMap.clear(),this.searchValue&&(this.searchValue=""),this.selectedRowNumberSet.size>0&&this.selectedRowNumberSet.clear(),this.openReplaceDeviceDlgParams&&!ue.isEmptyObj(this.openReplaceDeviceDlgParams)&&(this.openReplaceDeviceDlgParams=null),this.isPCB&&(this.isPCB=!1),this.currentDeviceList&&(this.currentDeviceList=null),this.projectReadOnly&&(this.projectReadOnly=!1),this.isPcbHavePermissionFlag&&(this.isPcbHavePermissionFlag=!1),this.currentDeviceThumbStore=null,this.targetDeviceThumbStore=null},30)}set searchValueRender(i){if(this.searchValue=i,this.searchValue){let o=new Map,r=this.searchValue.toUpperCase(),n=this.currentDeviceTableHeader.map(s=>s.key);ha.initCurrentDeviceTableRow.forEach(s=>{n.forEach(l=>{s[l]&&s[l]!==""&&s[l].toUpperCase().includes(r)&&(o.has(s.rowUniqueFlag)||o.set(s.rowUniqueFlag,s))})});let a=[];o.forEach(s=>{a.push(s)}),this.setCurrentDeviceList(a)}else this.setCurrentDeviceList(ha.initCurrentDeviceTableRow)}get searchValueRender(){return this.searchValue}get searchHistoryType(){return Tt.DEVICE}async getSchCurrentDeviceList(){let i=(await C.messageBus.rpcCall("getAllSymbolMultipartBySchUuid",he.getTopActiveSchematicId())).message;this.rawCurrentDeviceList=i.sort((r,n)=>{var a,s;return ue.naturalCompare(((a=r[0].attrs)==null?void 0:a.Designator)||"",((s=n[0].attrs)==null?void 0:s.Designator)||"")});let o=this.currentDeviceTableHeader.map(r=>r.key);this.initCurrentDeviceTableRow=await this.getSchTableRow(this.rawCurrentDeviceList,o),await this.setCurrentDeviceList(this.initCurrentDeviceTableRow)}async getPcbCurrentDeviceList(){let i=await ei(),o=(await C.windowBridge.rpcCall("getAllComponentWithSelectionState","",i.contentWindow)).message;this.rawCurrentDeviceList=o.sort((n,a)=>{var s,l;return ue.naturalCompare((s=n==null?void 0:n.attributes)==null?void 0:s.Designator,(l=a==null?void 0:a.attributes)==null?void 0:l.Designator)});let r=this.currentDeviceTableHeader.map(n=>n.key);this.initCurrentDeviceTableRow=await this.getPcbTableRow(this.rawCurrentDeviceList,r),await this.setCurrentDeviceList(this.initCurrentDeviceTableRow)}getSelectedSymbols(){var o,r;let i=((r=(o=bD)==null?void 0:o.data)==null?void 0:r.target)||{};for(let n in i)this.schSelectIdMap.set(n,i[n])}async schReplaceEnd(){let i=this;setTimeout(async()=>{await C.messageBus.rpcCall("passProjectEnd"),await i.getSchCurrentDeviceList(),i.notify(),setTimeout(()=>{let o=i.currentDeviceList.filter(r=>r.checked===!0);o.length>0&&i.currentDeviceThumbStore.whenClickRowDataChange(o[o.length-1]),i.searchValue&&(i.searchValueRender=i.searchValue),i.notify()},10)},1e3)}async pcbReplaceEnd(){await this.getPcbCurrentDeviceList(),this.notify();let i=this;setTimeout(()=>{let o=i.currentDeviceList.filter(r=>r.checked===!0);o.length>0&&this.currentDeviceThumbStore.whenClickRowDataChange(o[o.length-1]),i.searchValue&&(i.searchValueRender=i.searchValue),i.notify()},10)}async setCurrentDeviceList(i,o=null){if(this.currentDeviceList=i,i.length>0){let r=i.filter(n=>n.checked===!0);r.length>0&&!o&&await this.currentDeviceThumbStore.whenClickRowDataChange(r[r.length-1]),o&&await this.currentDeviceThumbStore.whenClickRowDataChange(o)}this.notify()}setOpenReplaceDeviceDlgParams(i){this.openReplaceDeviceDlgParams=i}getCurrentDeviceTableHeader(){var i;if((i=this.openReplaceDeviceDlgParams)!=null&&i.isDeviceStandardization)return Ddo;{let o=nV()||vdo,r=o.length;return o.map(n=>({key:(n==null?void 0:n.key)||n.id,name:(n==null?void 0:n.name)||n.value,sortable:!0,width:1/r}))}}async setCurrentDeviceTableHeader(i){this.currentDeviceTableHeader=i;let o=this.currentDeviceTableHeader.map(r=>r.key);this.isPCB?this.initCurrentDeviceTableRow=await this.getPcbTableRow(this.rawCurrentDeviceList,o):this.initCurrentDeviceTableRow=await this.getSchTableRow(this.rawCurrentDeviceList,o),this.currentDeviceList=this.initCurrentDeviceTableRow,this.notify()}async getPcbTableRow(i,o){var a;let r=[],n=this;if(await Ro(i,async(s,l,c)=>{var g,b,y,w,x,S,T,M,I,A,D;let d=l.isSelected,u=!1,p=l.ID;n.selectedRowNumberSet.has(p)&&(d=!0),this.isPcbHavePermissionFlag&&(u=!0),this.projectReadOnly&&(u=!0);let m={$id:p,index:c+1,rowUniqueFlag:l.ID,rawDeviceItem:l,attributes:l==null?void 0:l.attributes,deviceUUID:l.deviceUUID,footprintUUID:l.footprintUUID,checked:d,disabledCheckbox:u,d3ModelUUID:(b=(g=l==null?void 0:l.attributes)==null?void 0:g["3D Model"])!=null?b:"",d3ModelTransform:(w=(y=l==null?void 0:l.attributes)==null?void 0:y["3D Model Transform"])!=null?w:"",displayFootPrint:(S=(x=l==null?void 0:l.attributes)==null?void 0:x.Footprint)!=null?S:""},h=(await C.messageBus.rpcCall($e.DEVICE.GET,[l.deviceUUID,C.currentProject.projectId])).message;m.displayDevice=(h==null?void 0:h.display_title)||(h==null?void 0:h.title)||"";let f=(await C.messageBus.rpcCall($e.SYMBOL.GET,[h.attributes.Symbol,C.currentProject.projectId])).message;m.symbolUUID=(M=(T=h.attributes)==null?void 0:T.Symbol)!=null?M:"",m.imgSrc=(A=(I=h==null?void 0:h.images)==null?void 0:I[0])!=null?A:"",m.displaySymbolName=f&&(D=f==null?void 0:f.display_title)!=null?D:"",o.forEach(E=>{var N,R,v,k,P,O,_,j,B;E=="Comment"||E=="Device"?m[E]=h.display_title||h.title||"":E=="Symbol"?m[E]=f?f.display_title:"":E=="i3DModelName"?m[E]=(R=(N=l.attributes)==null?void 0:N["3D Model Title"])!=null?R:"":E=="Info"?m[E]=(_=(O=(k=(v=h==null?void 0:h.display_title)!=null?v:h==null?void 0:h.title)!=null?k:f==null?void 0:f.display_title)!=null?O:(P=l==null?void 0:l.attributes)==null?void 0:P.Footprint)!=null?_:"No Data!":E=="Name"?m[E]=this.getPcbFormulaName(l):m[E]=(B=(j=l.attributes)==null?void 0:j[E])!=null?B:""}),r.push(m)}),(a=this.openReplaceDeviceDlgParams)!=null&&a.isDeviceStandardization){let{symbolSet:s,Comment:l}=this.openReplaceDeviceDlgParams;r=r.filter(c=>{if(s.has(c.rowUniqueFlag))return c.checked=!0,c.Comment=l,c.Info=c.displayDevice||c.displaySymbolName||c.displayFootPrint,c})}return r}async getSchTableRow(i,o){var c,d;let r=await this.getSchConcurrentDesignDisabledSet(),n=[],a=this,s=i.length,l=R7.checkTopSchematicInVariantView(he.getTopActiveSchematicId());for(let u=0;u<s;u++){let p=i[u],m=p[0],h=(c=m.attrs.Designator)!=null?c:"",f=m.symbolId,g={},b={},y=[],w=ol(m.path);p.length>1?(h="",f="",p.forEach((I,A)=>{var E,N;let D=I.symbolId;h+=(A!==0?",":"")+(((E=I==null?void 0:I.attrs)==null?void 0:E.Designator)||"")+"."+(A+1),f+=(A!==0?",":"")+D,g[D]=ol(I.path)?I.path:I.sheetUuid,b[D]={partDesignator:(((N=I==null?void 0:I.attrs)==null?void 0:N.Designator)||"")+"."+(A+1),disabledCanEdit:r.has(I.path)},y.push(I.path)})):p.length===1&&(g[f]=w?m.path:m.sheetUuid);let x=!1,S=!1,T=w?`${m.path}@${m.symbolId}`:`${m.sheetUuid}@${m.symbolId}`;if(a.schSelectIdMap.size>0){let I=lo(w?m.path:m.sheetUuid);x=a.schSelectIdMap.has(I)&&a.schSelectIdMap.get(I).includes(f)}a.selectedRowNumberSet.has(T)&&(x=!0),r.size>0&&r.has(m.path)&&(S=!0),y.length>0&&r.size>0&&(S=y.every(I=>r.has(I))),(this.projectReadOnly||l)&&(S=!0);let M={$id:T,index:u+1,rowUniqueFlag:T,checked:x,disabledCheckbox:S,attributes:m.attrs,partCount:Object.keys(g).length,pathMap:g,multiplePartsData:b,symbolId:f,deviceUUID:m.attrs.Device,symbolUUID:m.attrs.Symbol,footprintUUID:m.attrs.Footprint,d3ModelUUID:m.attrs["3D Model"],d3ModelTransform:m.attrs["3D Model Transform"],displayDevice:m.displayDevice,displaySymbolName:m.displaySymbolName,displayFootPrint:m.displayFootPrint,displayName:m.displayName};o.forEach(I=>{var A;if(I==="Designator")M[I]=h;else if(I==="Device")M[I]=M.displayDevice;else if(I==="Symbol")M[I]=M.displaySymbolName;else if(I==="Footprint")M[I]=M.displayFootPrint;else if(I==="i3DModelName")M[I]=m.attrs["3D Model Title"];else if(I==="Comment"){let D=AX(m.attrs,m.displayDevice);M[I]=(A=this.getComment(D,m.attrs))!=null?A:""}else I=="Name"?M[I]=M.displayName:M[I]=m.attrs[I]}),n.push(M)}if((d=this.openReplaceDeviceDlgParams)!=null&&d.isDeviceStandardization){let{symbolSet:u,Comment:p}=this.openReplaceDeviceDlgParams;n=n.filter(m=>{if(u.has(m.rowUniqueFlag))return m.checked=!0,m.Comment=p,m.Info=m.displayDevice||m.displaySymbolName||m.displayFootPrint,m})}return n}getPcbFormulaName(i){let o=i.attributes,r=o.Name;if(!r||!r.startsWith("="))return r;r=r.slice(1);let n=/\{([^\}]+)\}/g,a=null,s=[];for(;a=n.exec(r);)s.push(a[1]);o.ID=i.ID||i.$id;for(let l=0;l<s.length;l++){let c=s[l],d=`{${c}!}`;o[c]!=null&&(d=o[c]),r=r.replace(`{${c}}`,d)}return delete o.ID,r}getComment(i,o){if(/\=\{(.*)\}/gi.test(i)){let r=/\=\{(.*)\}/gi.exec(i);if(r&&r[1])return o[r[1]]||""}return i||""}async getSchConcurrentDesignDisabledSet(){let i=Ga.isConcurrentStrictMode,o=new Set;if(i){let r=(await C.messageBus.rpcCall("getAllSymbolPathPermissionBySchUuid",he.getTopActiveSchematicId())).message;for(let n in r)r[n]&&o.add(n)}return o}isPcbHavePermission(){let i=Ga.isConcurrentStrictMode,o=!1;if(i){let{disable:r}=Ga.getIframeDisableStatusPanelPcb(he.getActiveTab());o=r}return o}},ha=new $Pt;var T$=L(z()),iRr=be.bind(Ndo.default.locals),oRr=()=>{let t=J();Ce(ha);let[e,i]=(0,nL.useState)(265),o=(0,nL.useRef)(null),r=(0,nL.useRef)(null),n=(0,nL.useRef)(null),[a,s,l]=La(),c=(0,nL.useMemo)(()=>{if(ha.currentDeviceTableHeader)return ha.currentDeviceTableHeader.map(p=>{var m;return{...p,name:t((m=p.name)!=null?m:p.value)}})},[ha.currentDeviceTableHeader]),d=(0,nL.useMemo)(()=>{let{currentDeviceList:p}=ha,m=[];return p&&(p==null?void 0:p.length)>0&&p.forEach((h,f)=>h.checked&&m.push(f)),m},[ha.currentDeviceList]),u=p=>{if(p.clickObj.colKey!=="checkbox"&&o.current&&o.current===JSON.stringify(p.selectedRowNumbers))return;o.current=JSON.stringify(p.selectedRowNumbers);let m=p.tableData.map((h,f)=>(p.selectedRowNumbers.includes(f)?h.disabledCheckbox||(h.checked=!0):h.disabledCheckbox||(h.checked=!1),h));ha.setCurrentDeviceList(m,p.row)};return(0,nL.useEffect)(()=>{iP("deviceManagerDlg").then(p=>{am.setCustomTableHeadData("deviceManagerDlg",{...p})})},[]),Bt(p=>{if(p!=null&&p.length){let m=p.length,h=p.map(f=>({key:(f==null?void 0:f.key)||f.id,name:(f==null?void 0:f.name)||f.value,sortable:!0,width:1/m}));ha.setCurrentDeviceTableHeader(h)}}).key("deviceManagerDlg_custom_head"),(0,nL.useEffect)(()=>(r.current&&s(r.current),a!=null&&a.height&&(n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{i(a.height)},150)),()=>{l()}),[r.current,a==null?void 0:a.height]),(0,T$.jsxs)(T$.Fragment,{children:[(0,T$.jsx)(vP,{searchHistoryType:ha.searchHistoryType,style:{width:"100%"},initShowValue:ha.searchValueRender,placeholder:t("Filter"),dataTest:"Filter",isImmediatelyDoConfirmAtEndinput:!0,onUpdateInputValue:p=>{ha.searchValueRender=p.trim()}}),(0,T$.jsx)("div",{className:iRr("r-symbol-grid"),ref:r,children:ha.currentDeviceList&&(0,T$.jsx)(xi,{name:"deviceManagerDlg",index:"$id",height:e,columns:c,rows:ha.currentDeviceList,border:!0,checkbox:!0,moveAble:!0,openHeadContentMenu:!0,multiSelect:!0,showCustomHeadSettingOnHeadContextmenu:!0,openVirtualScroll:!0,searchValue:ha.searchValueRender,selectedRowNumbers:d,onClick:p=>{u(p)},onAllChecked:p=>{ha.setCurrentDeviceList(p)}})})]})},kdo=(0,nL.memo)(oRr);var vz=L(Se());var Pdo=L(x$());var rb=L(z()),jO=be.bind(Pdo.default.locals),rRr=()=>{let t=J(),{currentDeviceThumbStore:e}=ha,{deviceManagerFootprintViewStore:i,deviceManagerSymbolViewStore:o}=e;Ce(e),Ce(i),Ce(o);let[r,n]=(0,vz.useState)(()=>ue.deepClone(ket)),a=(0,vz.useRef)(null),s=(0,vz.useRef)(null),l=(0,vz.useMemo)(()=>r.filter(m=>m.active===!0).length,[r]),c=(0,vz.useRef)(null),d=m=>{n(h=>h.map(f=>({...f,active:f.name===m?!f.active:f.active})))},u=(m,h)=>{Da.open({data:[{title:"Recover",cmd:"RECOVER"}],position:{x:m,y:h},onClick(f,g,b,y){f.cmd==="RECOVER"&&s.current.recoverImageViews()},onEnterConfirm(f,g,b){f[0]==="RECOVER"&&s.current.recoverImageViews()}})},p=()=>{if(!i.footprintItem){e.footprintPreviewStr=null;return}a.current&&(c.current&&clearTimeout(c.current),c.current=setTimeout(()=>{if(a.current){let m=a.current.querySelector("iframe");m&&e&&C.windowBridge.rpcCall("/pcb/3d/source",{considerCanvasOrigin:!1,gnrBBoxOutlines:!0},m.contentWindow).then(h=>{(i!=null&&i.footprintItem||e.d3ModelRes)&&(e.footprintPreviewStr=h.message)}),i&&(i.isShowLoading=!1),c.current&&(c.current=null)}},350))};return(0,rb.jsx)(rb.Fragment,{children:(0,rb.jsxs)("div",{className:jO("current-device box"),children:[(0,rb.jsxs)("header",{className:jO("btn-group"),children:[(0,rb.jsx)("span",{className:jO("txt"),"data-test":"Current Device",children:t("Current Device")}),(0,rb.jsx)("span",{className:jO("right"),children:r.map(m=>(0,rb.jsx)("i",{"data-test":m.name,className:m.active?jO("active"):"",onClick:()=>{d(m.name)},children:m.name},m.name))})]}),(0,rb.jsxs)("div",{className:jO("previewViewBox"),children:[(0,rb.jsx)("div",{className:jO("symbolPreviewBox"),style:{display:r[0].active?"block":"none",width:l===1?"100%":"50%",height:l===1||l===2?"100%":"50%"},ref:s,children:(0,rb.jsx)(B3,{$ref:s,symbolItem:o.symbolItem,selectPosition:"bottom",showSelectedView:!1,enableThumbImageDraggable:!0,enableThumbImageScalable:!0,needGrayMask:!0,initSetShowLoading:o.isShowLoading,onImageSectionContextmenu:u})}),(0,rb.jsx)("div",{className:jO("footprintPreviewBox"),style:{display:r[1].active?"block":"none",width:l===1?"100%":"50%",height:l===1||l===2?"100%":"50%"},ref:a,children:(0,rb.jsx)(sI,{footprintItem:i.footprintItem,initSetShowLoading:i.isShowLoading,needLockMask:i.needLockMask,isAutoHiddenLoadingWhenCanvasRendered:!1,onCanvasRenderEnd:p})}),(0,rb.jsx)("div",{className:jO("imagePreviewBox"),style:{display:r[2].active?"block":"none",width:l===1?"100%":"50%",height:l===1||l===2?"100%":"50%"},children:(0,rb.jsx)(MA,{imageItem:e.imgRes,needGrayMask:!0})}),(0,rb.jsx)("div",{className:jO("previewBox-3d"),style:{display:r[3].active?"block":"none",width:l===1?"100%":"50%",height:l===1||l===2?"100%":"50%"},children:(0,rb.jsx)(SA,{d3modelItem:e.d3ModelRes,d3ModelItemId:e.d3Model,footprintPreviewStr:e.footprintPreviewStr,isCouldLoadIframe:e.d3IframeLoading,initSetShowLoading:e.d3ModelRes!==null,needGrayMask:!0,d3modelTransform:e.d3ModelTransform,onClickGrayMask:e.handelPreviewD3})})]}),(0,rb.jsx)("div",{className:jO("multipart-select"),children:(0,rb.jsx)(xt,{style:{height:"22px"},value:o.partDataSelectedValue,list:o.partDataSelectList,disabled:o.partDataSelectDisabled,onChange:m=>{var h;o.partDataSelectedValue=m,(h=s.current)==null||h.partSelectChangeAction(m)}})})]})})},Odo=(0,vz.memo)(rRr);var Dz=L(Se());var Rdo=L(x$());var nb=L(z()),BO=be.bind(Rdo.default.locals),nRr=()=>{let{targetDeviceThumbStore:t}=ha,{targetDeviceManagerFootprintViewStore:e,targetDeviceManagerSymbolViewStore:i}=t;Ce(t),Ce(e),Ce(i);let o=J(),[r,n]=(0,Dz.useState)(()=>ue.deepClone(ket)),a=(0,Dz.useRef)(null),s=(0,Dz.useRef)(null),l=(0,Dz.useMemo)(()=>r.filter(m=>m.active===!0).length,[r]),c=(0,Dz.useRef)(null),d=m=>{n(h=>h.map(f=>({...f,active:f.name===m?!f.active:f.active})))},u=(m,h)=>{Da.open({data:[{title:"Recover",cmd:"RECOVER"}],position:{x:m,y:h},onClick(f,g,b,y){f.cmd==="RECOVER"&&a.current.recoverImageViews()},onEnterConfirm(f,g,b){f[0]==="RECOVER"&&a.current.recoverImageViews()}})},p=()=>{if(!e.footprintItem){t.footprintPreviewStr=null;return}s.current&&(c.current&&clearTimeout(c.current),c.current=setTimeout(()=>{if(s.current){let m=s.current.querySelector("iframe");m&&t&&C.windowBridge.rpcCall("/pcb/3d/source",{considerCanvasOrigin:!1,gnrBBoxOutlines:!0},m.contentWindow).then(h=>{(e!=null&&e.footprintItem||t.d3ModelRes)&&(t.footprintPreviewStr=h.message)}),e&&(e.isShowLoading=!1),c.current&&(c.current=null)}},350))};return(0,nb.jsx)(nb.Fragment,{children:(0,nb.jsxs)("div",{className:BO("current-device box"),children:[(0,nb.jsxs)("header",{className:BO("btn-group"),children:[(0,nb.jsx)("span",{className:BO("txt"),"data-test":"Target Device",children:o("Target Device")}),(0,nb.jsx)("span",{className:BO("right"),children:r.map(m=>(0,nb.jsx)("i",{"data-test":m.name,className:m.active?BO("active"):"",onClick:()=>{d(m.name)},children:m.name},m.name))})]}),(0,nb.jsxs)("div",{className:BO("previewViewBox"),children:[(0,nb.jsx)("div",{className:BO("symbolPreviewBox"),style:{display:r[0].active?"block":"none",width:l===1?"100%":"50%",height:l===1||l===2?"100%":"50%"},ref:a,children:(0,nb.jsx)(B3,{$ref:a,symbolItem:i.symbolItem,selectPosition:"bottom",enableThumbImageDraggable:!0,enableThumbImageScalable:!0,needGrayMask:!0,initSetShowLoading:i.isShowLoading,showSelectedView:!1,onImageSectionContextmenu:u})}),(0,nb.jsx)("div",{className:BO("footprintPreviewBox"),style:{display:r[1].active?"block":"none",width:l===1?"100%":"50%",height:l===1||l===2?"100%":"50%"},ref:s,children:(0,nb.jsx)(sI,{footprintItem:e.footprintItem,initSetShowLoading:e.isShowLoading,needLockMask:e.needLockMask,isAutoHiddenLoadingWhenCanvasRendered:!1,onCanvasRenderEnd:p})}),(0,nb.jsx)("div",{className:BO("imagePreviewBox"),style:{display:r[2].active?"block":"none",width:l===1?"100%":"50%",height:l===1||l===2?"100%":"50%"},children:(0,nb.jsx)(MA,{imageItem:t.imgRes,needGrayMask:!0})}),(0,nb.jsx)("div",{className:BO("previewBox-3d"),style:{display:r[3].active?"block":"none",width:l===1?"100%":"50%",height:l===1||l===2?"100%":"50%"},children:(0,nb.jsx)(SA,{d3modelItem:t.d3ModelRes,d3ModelItemId:t.d3Model,isCouldLoadIframe:t.d3IframeLoading,footprintPreviewStr:t.footprintPreviewStr,initSetShowLoading:t.d3ModelRes!==null,needGrayMask:!0,d3modelTransform:t.d3ModelTransform,onClickGrayMask:t.handelPreviewD3})})]}),(0,nb.jsx)("div",{className:BO("multipart-select"),children:(0,nb.jsx)(xt,{style:{height:"22px"},value:i.partDataSelectedValue,list:i.partDataSelectList,disabled:i.partDataSelectDisabled,onChange:m=>{var h;i.partDataSelectedValue=m,(h=a.current)==null||h.partSelectChangeAction(m)}})})]})})},_do=(0,Dz.memo)(nRr);var J7=L(Se());var jdo=L(x$());var Ez=L(z()),aRr=be.bind(jdo.default.locals);var sRr=()=>{let t=J(),{currentDeviceThumbStore:e,targetDeviceThumbStore:i}=ha;Ce(e),Ce(i);let[o,r]=(0,J7.useState)(null),[n,a,s]=La(),l=(0,J7.useRef)(null),c=(0,J7.useMemo)(()=>[{key:"attributeName",name:t("Attribute"),align:"center",width:.3,i18n:!0},{key:"currentValue",name:t("Current Value"),align:"center",width:.35,render:u=>{var p,m,h,f,g,b;return(0,Ez.jsx)(Ez.Fragment,{children:(0,Ez.jsx)("span",{style:{color:((p=u.row)==null?void 0:p.currentValue)!==((m=u.row)==null?void 0:m.targetValue)?"red":"var(--font-color-table)"},title:(f=(h=u.row)==null?void 0:h.currentValue)!=null?f:"",children:(b=(g=u.row)==null?void 0:g.currentValue)!=null?b:""})})}},{key:"targetValue",name:t("Target Value"),align:"center",width:.35,render:u=>{var p,m,h,f,g,b;return(0,Ez.jsx)(Ez.Fragment,{children:(0,Ez.jsx)("span",{style:{color:((p=u.row)==null?void 0:p.currentValue)!==((m=u.row)==null?void 0:m.targetValue)?"red":"var(--font-color-table)"},title:(f=(h=u.row)==null?void 0:h.targetValue)!=null?f:"",children:(b=(g=u.row)==null?void 0:g.targetValue)!=null?b:""})})}}],[]),d=(0,J7.useMemo)(()=>{var p,m;let u=[];if(e.currentClickRowData||i.targetDeviceData){let{currentClickRowData:h}=e,{targetDeviceData:f}=i,g=new Set(Object.keys((p=h==null?void 0:h.attributes)!=null?p:{}).concat(Object.keys((m=f==null?void 0:f.attributes)!=null?m:{})));Edo.forEach(b=>{var y,w,x,S,T,M,I,A,D;if(b==="Device")u.push({rowUniqueFlag:b,attributeName:t({value:b,context:"attrs"}),currentValue:(y=h==null?void 0:h.displayDevice)!=null?y:"",targetValue:i.targetDeviceDisplayTitle});else if(b==="Symbol"){let{targetDeviceData:E}=i;(w=E==null?void 0:E.attributes)!=null&&w.Symbol&&(E==null?void 0:E.symbol)===null&&(i.errorSymbolTitle=t("Abnormal data!")),u.push({rowUniqueFlag:b,attributeName:t({value:b,context:"attrs"}),currentValue:(x=h==null?void 0:h.displaySymbolName)!=null?x:"",targetValue:i.errorSymbolTitle||i.targetSymbolDisplayTitle})}else b==="Footprint"?((S=f==null?void 0:f.attributes)!=null&&S.Footprint&&(f==null?void 0:f.footprint)===null&&(i.errorFootprintTitle=t("Abnormal data!")),u.push({rowUniqueFlag:b,attributeName:t({value:b,context:"attrs"}),currentValue:(T=h==null?void 0:h.displayFootPrint)!=null?T:"",targetValue:i.errorFootprintTitle||i.targetFootpringDisplayTitle})):u.push({rowUniqueFlag:b,attributeName:t({value:b,context:"attrs"}),currentValue:t((I=(M=h==null?void 0:h.attributes)==null?void 0:M[b])!=null?I:""),targetValue:t((D=(A=f==null?void 0:f.attributes)==null?void 0:A[b])!=null?D:"")});g.delete(b)}),Ado.forEach(b=>{g.has(b)&&g.delete(b)}),_ri.forEach(b=>{var y,w,x,S;g.has(b)&&(u.push({rowUniqueFlag:b,attributeName:t({value:b,context:"attrs"}),currentValue:t((w=(y=h==null?void 0:h.attributes)==null?void 0:y[b])!=null?w:""),targetValue:t((S=(x=f==null?void 0:f.attributes)==null?void 0:x[b])!=null?S:"")}),g.delete(b))}),g.size>0&&S4(Array.from(g).map(y=>({key:y}))).forEach(y=>{var w,x,S,T;u.push({rowUniqueFlag:y.key,attributeName:y.translate,currentValue:t((x=(w=h==null?void 0:h.attributes)==null?void 0:w[y.key])!=null?x:""),targetValue:t((T=(S=f==null?void 0:f.attributes)==null?void 0:S[y.key])!=null?T:"")})})}return u},[e.currentClickRowData,i.targetDeviceData]);return(0,J7.useEffect)(()=>(l.current&&a(l.current),()=>{s()}),[l.current]),(0,J7.useEffect)(()=>{if(n){let{height:u}=n;r(u)}},[n]),(0,Ez.jsx)("div",{className:aRr("r_right"),ref:l,children:(0,Ez.jsx)(xi,{index:"rowUniqueFlag",height:o,columns:c,rows:d,border:!0,fixedHeader:!0,openRowSelectedBgColor:!1})})},Bdo=(0,J7.memo)(sRr);var Pet=L(Se());var zdo=L(x$());var ic=L(z()),lE=be.bind(zdo.default.locals),lRr=()=>{let{optionConfigurationStore:t,targetDeviceThumbStore:e}=ha;Ce(t),Ce(e);let i=J(),o=(0,Pet.useMemo)(()=>[{value:"targetBase",label:(0,ic.jsx)("span",{children:i("Only keep target device\xA0properties")})},{value:"targetFirst",label:(0,ic.jsx)("span",{children:i("Merge properties(target first)")})},{value:"currentFirst",label:(0,ic.jsx)("span",{children:i("Merge properties(current first)")})}],[]);return(0,ic.jsx)(ic.Fragment,{children:(0,ic.jsxs)("div",{className:lE("r-l-b"),children:[(0,ic.jsxs)("div",{className:lE("line"),children:[(0,ic.jsx)("span",{className:lE("title"),style:{paddingTop:"5px"},"data-test":"Target Device",children:i("Target Device:")}),(0,ic.jsx)("span",{className:lE("desc target-device-wrap"),children:(0,ic.jsx)(ea,{style:{marginBottom:"20px",width:"320px"},value:e.targetDeviceDisplayTitle,hasClearButton:!1,hasThreePoint:!0,openDialog:()=>{C.messageBus.publish("openDeviceSelectDlg",{form:"replaceDevice",deviceType:"part"})}})})]}),(0,ic.jsxs)("div",{className:lE("line"),children:[(0,ic.jsx)("span",{className:lE("title"),"data-test":"Key\xA0Properties",children:i("Key\xA0Properties:")}),(0,ic.jsxs)("span",{className:lE("desc"),children:[(0,ic.jsxs)("label",{children:[(0,ic.jsx)("input",{disabled:ha.projectReadOnly||ha.isPcbHavePermissionFlag,type:"checkbox","data-test":"keep-pre",name:"keep-pre",checked:t.keepDesignator,onChange:r=>{t.keepDesignator=r.target.checked}}),(0,ic.jsx)("span",{children:i("Keep designator and unique ID")})]}),(0,ic.jsx)("br",{}),Po.workingMode!==Ee.PCB&&(0,ic.jsxs)("div",{style:{display:"flex"},children:[(0,ic.jsxs)("label",{children:[(0,ic.jsx)("input",{disabled:ha.projectReadOnly||ha.isPcbHavePermissionFlag,type:"checkbox","data-test":"keep-symbol",name:"keep-symbol",checked:t.keepSymbol,onChange:r=>{t.keepSymbol=r.target.checked}}),(0,ic.jsx)("span",{children:i("Keep current symbol")})]}),(0,ic.jsxs)("span",{style:{marginLeft:"48px",color:"red",flex:"3"},children:["(",i("Please carefully check the replaced network connection relationships."),")"]})]}),(0,ic.jsxs)("div",{style:{display:"flex"},children:[(0,ic.jsxs)("label",{children:[(0,ic.jsx)("input",{disabled:ha.projectReadOnly||ha.isPcbHavePermissionFlag,type:"checkbox","data-test":"keep-footprint",name:"keep-footprint",checked:ha.isPCB?t.keepFootprintInPcb:t.keepFootprintInSch,onChange:r=>{ha.isPCB?t.keepFootprintInPcb=r.target.checked:t.keepFootprintInSch=r.target.checked}}),(0,ic.jsx)("span",{children:i("Keep current footprint")})]}),(0,ic.jsxs)("span",{style:{marginLeft:"48px",color:"red",flex:"3"},children:["(",i("Please carefully check the replaced network connection relationships."),")"]})]}),Po.workingMode===Ee.PCB&&(0,ic.jsxs)("label",{children:[(0,ic.jsx)("input",{disabled:ha.projectReadOnly||ha.isPcbHavePermissionFlag,type:"checkbox","data-test":"keep-3dmodel",name:"keep-3dmodel",checked:t.keep3DModel,onChange:r=>{t.keep3DModel=r.target.checked}}),(0,ic.jsx)("span",{children:i("Keep current 3D model")})]})]})]}),(0,ic.jsxs)("div",{className:lE("line"),children:[(0,ic.jsx)("span",{className:lE("title"),"data-test":"Other Properties",children:`${i("Other Properties")}:`}),(0,ic.jsx)("span",{className:lE("desc"),children:(0,ic.jsx)($i,{disabled:ha.projectReadOnly||ha.isPcbHavePermissionFlag,dataTest:"replace-type",name:"replace-type",value:t.type,options:o,onChange:r=>{t.type=r}})})]}),(0,ic.jsxs)("div",{className:lE("line"),children:[(0,ic.jsx)("span",{className:lE("title"),"data-test":"Empty Value",children:i("Empty Value:")}),(0,ic.jsx)("span",{className:lE("desc"),children:(0,ic.jsxs)("label",{children:[(0,ic.jsx)("input",{disabled:ha.projectReadOnly||ha.isPcbHavePermissionFlag,type:"checkbox","data-test":"none-value",name:"none-value",checked:t.noneNull,onChange:r=>{t.noneNull=r.target.checked}}),(0,ic.jsx)("span",{children:i("Keep not empty value first")})]})})]})]})})},Fdo=(0,Pet.memo)(lRr);var Udo=L(Se()),Vdo=L(x$());var Oet=async(t,e,i,o,r)=>{var n,a;if(i)try{let s,l,c;if(t){s=i;let{Symbol:d,Footprint:u}=i==null?void 0:i.attributes;l=d&&await Ze.getSymbol({isProject:!0,uuid:d,path:C.currentProject.projectId}),c=u&&await Ze.getFootprint({isProject:!0,uuid:u,path:C.currentProject.projectId})}else{let{Symbol:d,Footprint:u}=i.attributes;s=await Ze.createDevice({device:{uuid:i.uuid,isProject:t,path:e},isProject:!0,path:C.currentProject.projectId}),((n=s==null?void 0:s.attributes)==null?void 0:n.Symbol)&&d&&(o?l=await Ze.getSymbol({isProject:t,path:e,uuid:d}):l=await Ze.createSymbol({path:C.currentProject.projectId,isProject:!0,symbol:{uuid:d,isProject:t,path:e}})),((a=s==null?void 0:s.attributes)==null?void 0:a.Footprint)&&u&&(r?c=await Ze.getFootprint({uuid:u,isProject:t,path:e}):c=await Ze.createFootprint({path:C.currentProject.projectId,isProject:!0,footprint:{uuid:u,isProject:t,path:e}}))}return{device:s,symbol:l,footprint:c}}catch{return}else return};var vIe=L(z()),cRr=be.bind(Vdo.default.locals),dRr=({containerId:t})=>{let e=Gr(async()=>{C.messageBus.publish("sch/gVars.actionRunner.cancel");let{isPCB:i,targetDeviceThumbStore:o,optionConfigurationStore:r,openReplaceDeviceDlgParams:n}=ha,{targetDeviceData:a,targetDeviceManagerSymbolViewStore:s}=o,{partDataSelectList:l}=s,c=[],d=[];if(ha.currentDeviceList.forEach(m=>{var h,f,g;if(m.checked&&!m.disabledCheckbox){let b=m.multiplePartsData;if(ue.isEmptyObj(b))c.push(m);else{let y=Rg(m);for(let w in y.pathMap)((h=b==null?void 0:b[w])==null?void 0:h.disabledCanEdit)===!0&&(d.push(b[w].partDesignator),y.symbolId=y.symbolId.split(",").filter(x=>x!==w).join(","),delete y.pathMap[w]);delete y.multiplePartsData,c.push(y)}}m.checked&&m.disabledCheckbox&&d.push((g=(f=m==null?void 0:m.attributes)==null?void 0:f.Designator)!=null?g:"")}),c.length===0&&(!a||!a.attributes)){De({type:"warn",msg:"Please select the device that needs to be replaced and the target device!"});return}else if(c.length===0){De({type:"warn",msg:"Please select the device that needs to be replaced!"});return}else if(!a||!a.attributes){De({type:"warn",msg:"Please select the target device!"});return}let{isProject:u,path:p}=n;if(i){let m=[],h={type:r.type,noneNull:r.noneNull,keepDesignator:r.keepDesignator,keepFootprint:r.keepFootprintInPcb,keep3DModel:r.keep3DModel},{device:f,footprint:g}=await Oet(u,p,a,!0,!1);vt(.5,"replaceDevice"),c.forEach(y=>{m.push({modify:{[y.deviceUUID]:f.uuid},footprint:[g],device:[f],toBeReplaced:y.rowUniqueFlag,option:{compareParam:h}})}),vt(.6,"replaceDevice");let b=await ei();await C.windowBridge.rpcCall("editDeviceResult",{type:2,data:Rg(m)},b.contentWindow),ha.selectedRowNumberSet=new Set(c.map(y=>y.rowUniqueFlag)),vt(1,"replaceDevice"),await ha.pcbReplaceEnd(),De({type:"success",msg:"Update Success!"})}else{let m=c.map(g=>({partCount:g.partCount,pathMap:g.pathMap,symbolId:g.symbolId,attributes:g.attributes})),h=l.map(g=>g.value),f={type:r.type,noneNull:r.noneNull,keepDesignator:r.keepDesignator,keepSymbol:r.keepSymbol,keepFootprint:r.keepFootprintInSch};C.messageBus.rpcCall("sch/replaceDevice",{targetDeviceIsProject:u,targetDevicePath:p,targetDevicePartIds:h,targetDeviceData:a,currentTableSelectData:m,replaceParam:f}).then(async g=>{var b,y;if(g!=null&&g.message){let{logs:w,success:x,replaceSelectData:S=[]}=g.message;if(x){if(S.length>0){let M=new Set(S);ha.selectedRowNumberSet=M,(y=(b=ha)==null?void 0:b.openReplaceDeviceDlgParams)!=null&&y.symbolSet&&(ha.openReplaceDeviceDlgParams.symbolSet=M)}await ha.schReplaceEnd();let T=[];ha.selectedRowNumberSet.forEach(M=>{T.push(M.split(Zc)[1])}),C.messageBus.publish("sch/selectModelsByIds",{ids:T,tabId:gi()}),C.messageBus.publish("sch/renderPropertyPanel",{renderUI:!0}),d.length>0&&De({type:"error",msg:"Some content does not have editing privileges.",bottomBarMsg:{type:"error",msg:Ti("Some content does not have editing privileges\uFF1A{checkoutLink}.",{params:{checkoutLink:d.join(",")}})}})}w.length>0&&Ot("error",w,"Log")}}).catch(g=>{console.error(g)})}},200);return Bt(({key:i})=>{i==="Enter"&&e()}).keyboard(t),(0,vIe.jsxs)("div",{className:cRr("footer-container"),children:[(0,vIe.jsx)(Me,{type:"primary",size:"md",onClick:e,style:{marginRight:"8px"},disabled:ha.projectReadOnly||ha.isPcbHavePermissionFlag||R7.checkTopSchematicInVariantView(Zj()),children:"Replace"}),(0,vIe.jsx)(Me,{size:"md",onClick:async()=>{C.messageBus.publish("sch/gVars.actionRunner.cancel"),await le.close(t),ha.closeDialog()},children:"Cancel"})]})},Hdo=(0,Udo.memo)(dRr);var eOt=L(x$());var UM=L(z()),Ret=be.bind(eOt.default.locals),uRr=t=>{let{containerId:e}=t;return Ae(eOt.default),Bt(()=>{C.messageBus.publish("sch/gVars.actionRunner.cancel"),ha.closeDialog()}).close(e),Bt(({key:i})=>{i=="Escape"&&(C.messageBus.publish("sch/gVars.actionRunner.cancel"),ha.closeDialog())}).keyboard(e),(0,UM.jsxs)(UM.Fragment,{children:[(0,UM.jsxs)("div",{className:Ret("container"),children:[(0,UM.jsxs)("div",{className:Ret("r_left"),children:[(0,UM.jsx)(kdo,{}),(0,UM.jsx)(Fdo,{})]}),(0,UM.jsxs)("div",{className:Ret("r_center"),children:[(0,UM.jsx)(Odo,{}),(0,UM.jsx)(_do,{})]}),(0,UM.jsx)(Bdo,{})]}),(0,UM.jsx)("div",{className:Ret("footer"),children:(0,UM.jsx)(Hdo,{containerId:e})})]})},Ydo=(0,Gdo.memo)(uRr);var Qdo=L(z());async function Wdo(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s,mask:l,esc:c}=i;if(ue.isEmptyObj(t)||ha.setOpenReplaceDeviceDlgParams(t),le.isOpen(o)){ha.openReplaceDeviceDlgParams&&await ha.targetDeviceThumbStore.whenTargetDeviceChange(ha.openReplaceDeviceDlgParams),le.show(o);return}await tOt()&&(await ha.initDialog(),le.open({id:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,children:(0,Qdo.jsx)(Ydo,{containerId:o})}))}var sW=L(Se());var iOt=L(Zdo());var gp=L(z()),{locals:pRr}=iOt.default;function oOt(t){var N,R,v,k;Ae(iOt.default);let e=be.bind(pRr),i=J(),[o,r]=(0,sW.useState)(""),[n,a]=(0,sW.useState)([]),[s,l]=(0,sW.useState)(((N=t.originInfo)==null?void 0:N.extension)||"xlsx"),[c,d]=(0,sW.useState)(!1);(0,sW.useEffect)(()=>{var P;((P=t.originInfo)==null?void 0:P.hide)!==void 0&&p(t.originInfo)},[]),(R=t.originInfo)!=null&&R.hide&&(le.hide(t.containerId),(0,sW.useEffect)(()=>{c&&u()},[c]));let u=Gr(async()=>{let P=await m();P.needBlob=!0;let O=await h(P);if(O.blobData){let _={fileContent:O.blobData,fileType:rr.testPointFileName.lastIndexOf(".")>-1?void 0:s};await rr.setFilesMap({[rr.testPointFileName]:_})}else await rr.setFilesMap({[rr.testPointFileName]:null});le.close(t.containerId)},100),p=Gr(P=>{P!=null&&P.fileName&&r(P==null?void 0:P.fileName),P!=null&&P.exportSelect,d(!0)},100);async function m(){let P="pcb/getAllTestPoints",O=await ei();return(await C.windowBridge.rpcCall(P,"",O.contentWindow)).message}async function h(P){let O="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8",{items:_,UNIT:j,nets:B,needBlob:V}=P,G=new kp({name:w(!0)}),Q=y();if(Q.forEach(U=>{switch(U){case"Summary":f(_,B,G);break;case"Testpoints Count":g(_,j,G);break;case"Nets Count":b(_,B,G);break}}),Q.indexOf("Summary")>=0){let U=G.sheets.find(F=>F.name==="Summary");if(Q.indexOf("Testpoints Count")>=0){let F=G.sheets.find(ae=>ae.name==="Testpoints Count"),te=U.addRow([me.i18n("Test Point Count"),"Test Point Count"]).getCell(2);te.value={formula:`=HYPERLINK("#'Testpoints Count'!A1","Testpoints Count")`},te.font={color:{argb:"FF0000FF"},underline:!0}}if(Q.indexOf("Nets Count")>=0){let F=G.sheets.find(ae=>ae.name==="Nets Count"),te=U.addRow([me.i18n("Net Count"),"Net Count"]).getCell(2);te.value={formula:`=HYPERLINK("#'Nets Count'!A1","Net Count")`},te.font={color:{argb:"FF0000FF"},underline:!0}}}G.workbook.calcProperties.fullCalcOnLoad=!0;let H;V?H={blobData:await G.getExportFileBlob(s)}:G.exportFile(s);let q=It.getActiveTab(he.getTabContainer(he.currentTabId));return C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.TESTPOINT_REPORT_EXPORT,content:{"Scope Name":q?q.title:""},project_uuid:C.currentProject.projectId}]),H}function f(P,O,_){let j=["\u7F51\u7EDC\u603B\u6570","\u6709\u6D4B\u8BD5\u70B9\u7684\u7F51\u7EDC","\u65E0\u6D4B\u8BD5\u70B9\u7684\u7F51\u7EDC","\u6D4B\u8BD5\u70B9\u8986\u76D6\u7387","\u9876\u9762\u6D4B\u8BD5\u70B9","\u5E95\u9762\u6D4B\u8BD5\u70B9"],B=["Nets Total","Has Testpoint Nets","No Testpoint Nets","Testpoint Coverage","Top Side Testpoints","Bottom Side Testpoints"],V=new Set,G=[],Q=[],H=[];P.forEach(te=>{let ae=te.net,pe=te.layerName;V.add(ae),pe=="Top Layer"?G.push(te):pe=="Bottom Layer"?Q.push(te):H.push(te)}),V.delete("");let q=O.length>0?Math.round(V.size/O.length*1e4)/100:0,U=[O.length,V.size,O.length-V.size,q+"%",G.length+H.length,Q.length+H.length],F=me.curr==="en",K=_.addSheet("Summary");return K.getColumn(1).values=F?B:j,K.getColumn(2).values=U,K}function g(P,O,_){let j=["Number"],B=["Net"],V=["Center X"],G=["Center Y"],Q=["Layer"],H=["Hole Size"],q=[];for(let F of P){let{x:K,y:te,layerName:ae,num:pe,net:Z,holeSize:ee}=F;if(ae==="Multi-Layer"){q.push(F);continue}j.push(pe),B.push(Z),V.push(K+" "+O),G.push(te+" "+O),Q.push(ae.replace("Layer","").trim()),H.push(ee+" "+O)}for(let F of q){let{x:K,y:te,layerName:ae,num:pe,net:Z,holeSize:ee}=F;j.push(pe),B.push(Z),V.push(K+" "+O),G.push(te+" "+O),Q.push("Top"),H.push(ee+" "+O),j.push(pe),B.push(Z),V.push(K+" "+O),G.push(te+" "+O),Q.push("Bottom"),H.push(ee+" "+O)}let U=_.addSheet("Testpoints Count");return U.getColumn(1).values=j,U.getColumn(2).values=B,U.getColumn(3).values=V,U.getColumn(4).values=G,U.getColumn(5).values=Q,U.getColumn(6).values=H,U}function b(P,O,_){let j=["Net Name"],B=["Quanatity"];for(let Q of O){j.push(Q);let H=P.filter(q=>q.net===Q);B.push(H.length)}let V=P.filter(Q=>Q.net==="");V.length&&(j.push(""),B.push(V.length));let G=_.addSheet("Nets Count");return G.getColumn(1).values=j,G.getColumn(2).values=B,G}function y(){return s==="csv"?["Testpoints Count"]:n}function w(P,O){let _=o.replace(/\.(xlsx|csv)$/,"");return P?_:_+"."+(O||s)}function x(){let P=new Date,O=P.getFullYear(),_=(P.getMonth()+1+"").padStart(2,"0"),j=(P.getDate()+"").padStart(2,"0");return`TestPoint_${he.getTabTitle()}_${O}-${_}-${j}.${s}`}function S(){let P=mt.getCacheObj("testPointsExportSelect");if(!P){let O=["Summary","Nets Count","Testpoints Count"];return mt.setCacheObj("testPointsExportSelect",O),O}return P}let T=P=>{P.target.select&&P.target.select()},M=P=>{r(P.target.value)},I=P=>{if(P.keyCode===13){P.target.blur(),window.setTimeout(async()=>{await E("export")});return}};function A(P){P.target.value=="xlsx"?l("xlsx"):l("csv"),r(w(!1,P.target.value))}function D(P){let O=P.target,_=O.value,j=[];if(O.checked)j=[...n,_];else{let B=n.indexOf(_);n.splice(B,1),j=[...n]}a(j),mt.savePreference("testPointsExportSelect",j,!1)}let E=async P=>{switch(String(P)){case"cancel":le.close();break;case"export":let O=await m();await h(O),le.close();break;case"confirm":let _={fileName:o,extension:s};rr.setFileConfigMap({type:"Test Point Report",valData:_}),le.close(t.containerId);break}};return(0,sW.useEffect)(()=>{r(x()),a(S())},[]),(0,gp.jsxs)("div",{className:e("pop-content-container oneLineOneInputDlg"),children:[(0,gp.jsxs)("div",{className:e("container container-styles"),children:[(0,gp.jsxs)("div",{className:e("form-item"),children:[(0,gp.jsxs)("label",{className:`i18n ${e("form-label")}`,"data-i18n-attr":"title","data-test":"Filename",title:"Filename",children:[i("Filename"),":"]}),(0,gp.jsx)("input",{name:"value",type:"text",className:e("form-box"),style:{flexGrow:"1",height:"24px"},value:o,onFocus:T,onChange:M,onKeyUp:I})]}),(0,gp.jsxs)("div",{className:e("form-item"),children:[(0,gp.jsxs)("label",{className:`i18n ${e("form-label")}`,"data-i18n-attr":"title","data-test":"File Type",title:"File Type",children:[i("File Type"),":"]}),(0,gp.jsxs)("label",{style:{marginRight:"16px",lineHeight:"16px"},children:[(0,gp.jsx)("input",{name:"file-type",type:"radio",value:"xlsx",checked:s=="xlsx",onChange:P=>A(P)}),(0,gp.jsx)("span",{children:"XLSX"})]}),(0,gp.jsxs)("label",{style:{lineHeight:"16px"},children:[(0,gp.jsx)("input",{name:"file-type",type:"radio",value:"csv",checked:s=="csv",onChange:P=>A(P)}),(0,gp.jsx)("span",{children:"CSV"})]})]}),s=="xlsx"&&(0,gp.jsxs)("div",{className:e("form-item"),children:[(0,gp.jsxs)("label",{className:`i18n ${e("form-label")}`,"data-i18n-attr":"title","data-test":"File Type",title:"File Type",children:[i("Export Option"),":"]}),(0,gp.jsxs)("label",{style:{marginRight:"20px",lineHeight:"18px"},children:[(0,gp.jsx)("input",{name:"file-type",type:"checkbox",value:"Summary",checked:n.indexOf("Summary")>=0,onChange:P=>D(P)}),(0,gp.jsx)("span",{children:me.i18n("Summary{text}",{text:""})})]}),(0,gp.jsxs)("label",{style:{lineHeight:"16px",marginRight:"16px"},children:[(0,gp.jsx)("input",{name:"file-type",type:"checkbox",value:"Testpoints Count",checked:n.indexOf("Testpoints Count")>=0,onChange:P=>D(P)}),(0,gp.jsx)("span",{children:i("Testpoints Count")})]}),(0,gp.jsxs)("label",{style:{lineHeight:"16px"},children:[(0,gp.jsx)("input",{name:"file-type",type:"checkbox",value:"Nets Count",checked:n.indexOf("Nets Count")>=0,onChange:P=>D(P)}),(0,gp.jsx)("span",{children:i("Nets Count")})]})]})]}),(0,gp.jsxs)("div",{className:e("pop-footer-wrapper dialog-button"),children:[((v=t.originInfo)==null?void 0:v.from)=="oneClickExport"&&(0,gp.jsx)(Me,{"data-test":"Confirm",type:"primary",style:{marginRight:"8px"},onClick:()=>E("confirm"),children:"Confirm"}),((k=t.originInfo)==null?void 0:k.from)!=="oneClickExport"&&(0,gp.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>E("export"),children:"Export"}),(0,gp.jsx)(Me,{onClick:()=>E("cancel"),children:"Cancel"})]})]})}var qdo=L(z());async function Jdo(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,esc:!0,folded:!1,children:(0,qdo.jsx)(oOt,{containerId:o,originInfo:t.originInfo})})}var use=L(Se());var rOt=L($do());var cx=L(z()),{locals:mRr}=rOt.default;function nOt(t){Ae(rOt.default);let{unit:e}=t,i=be.bind(mRr),o=J(),r=(0,use.useRef)(null),[n,a]=(0,use.useState)(""),[s,l]=(0,use.useState)(""),c=()=>{r.current&&(r.current.focus(),r.current.select&&r.current.select())},d=g=>{g.target.select&&g.target.select()},u=g=>{m(g.target.name,g.target.value)},p=g=>{if(g.keyCode===13){g.target.blur(),window.setTimeout(async()=>{await f("confirm")});return}};function m(g,b){switch(g){case"attr-canvas-origin-x":a(b);break;case"attr-canvas-origin-y":l(b);break}}let h=g=>{if(g.target.value!=""){var b=parseFloat(g.target.value);isNaN(b)?g.target.getAttribute("oldvalue")?m(g.target.name,g.target.getAttribute("oldvalue")):m(g.target.name,10+e):(m(g.target.name,Om(b,{decimalPlacesShow:e=="mil"?1:3})+e),g.target.setAttribute("oldvalue",g.target.value))}},f=async g=>{var b,y,w;switch(g){case"confirm":let x=parseFloat(n),S=parseFloat(s),T=(b=n.match(/([a-zA-Z]+)/))==null?void 0:b[0];if(Number.isNaN(x)||Number.isNaN(S)||!T)return;let M=await ei(),I=(await C.windowBridge.rpcCall("getCanvasParam","",(y=M.contentWindow)!=null?y:ko())).message,A=dt();(A===se.PANEL||kl(A))&&(S=-S),x=+io(x,T,"pixel")+I.origin.x,S=+io(S,T,"pixel")+I.origin.y,C.windowBridge.publish("setOrigin",{originX:x,originY:S},(w=M.contentWindow)!=null?w:ko()),le.close();break;case"cancel":case"close":le.close();break}};return(0,use.useEffect)(()=>{c()},[]),(0,cx.jsxs)("div",{className:i("oneLineOneInputDlg hasborder"),children:[(0,cx.jsxs)("div",{className:i("dialog-content panel-body panel-body-noheader panel-body-noborder"),children:[(0,cx.jsxs)("div",{className:i("line"),children:[(0,cx.jsx)("div",{className:i("txt_title f14"),"data-test":"Location X",children:(0,cx.jsx)("span",{children:o("Location X")})}),(0,cx.jsx)("div",{className:i("txt_value"),children:(0,cx.jsx)("input",{name:"attr-canvas-origin-x",value:n,ref:r,type:"text",onFocus:d,onChange:u,onKeyUp:p,onBlur:h})})]}),(0,cx.jsxs)("div",{className:i("line"),children:[(0,cx.jsx)("div",{className:i("txt_title f14"),"data-test":"Location Y",children:(0,cx.jsx)("span",{children:o("Location Y")})}),(0,cx.jsx)("div",{className:i("txt_value"),children:(0,cx.jsx)("input",{name:"attr-canvas-origin-y",value:s,type:"text",onFocus:d,onChange:u,onKeyUp:p,onBlur:h})})]})]}),(0,cx.jsxs)("div",{className:i("pop-footer-wrapper dialog-button"),children:[(0,cx.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>f("confirm"),children:"Confirm"}),(0,cx.jsx)(Me,{onClick:()=>f("cancel"),children:"Cancel"})]})]})}var tuo=L(z());async function euo(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;le.open({id:o,title:r,width:n,closed:a,esc:!0,folded:!1,children:(0,tuo.jsx)(nOt,{unit:t.unit||"mm"})})}var zO=L(Se());var sOt=L(ouo());var aOt=class extends qe{constructor(){super(...arguments);this.defaultData={Panel:{},Part:{},Sch:{}};this.cacheData={Panel:{},Part:{},Sch:{},textValue:""};this.initCount=0;this.hasModified={fontStyle:{Sch:{fontWeight:!1,italic:!1,underline:!1},Panel:{fontWeight:!1,italic:!1,underline:!1},Part:{fontWeight:!1,italic:!1,underline:!1}},textOrigin:{Sch:{hAlign:!1,vAlign:!1},Panel:{hAlign:!1,vAlign:!1},Part:{hAlign:!1,vAlign:!1}},fontColor:{Sch:!1,Panel:!1,Part:!1},fontFamily:{Sch:!1,Panel:!1,Part:!1},fontSize:{Sch:!1,Panel:!1,Part:!1}}}async initDialog(){this.initCount+=1;let i=dt();[se.PART,se.NETPORT,se.OFF_PAGE_CONNECTOR,se.DIFF_PAIRS_FLAG,se.NETFLAG,se.BLOCK_SYMBOL,se.NONEELEC_SYMBOL,se.SHEET_SYMBOL].includes(i)?this.activeDocType="Part":i===se.SCH?this.activeDocType="Sch":this.activeDocType="Panel";let{message:o}=await C.messageBus.rpcCall("getThemeCache");[se.PANEL,se.PANEL_LIB].includes(i)&&(o=Wi("PANEL_THEME")),this.initColor(o),this.initFontFamily(o),this.initFontSize(o),this.initFontStyle(o),this.initTextOrigin(),Object.keys(this.cacheData[this.activeDocType]).length==0&&(this.cacheData[this.activeDocType]=ue.deepClone(this.defaultData[this.activeDocType])),Object.keys(this.hasModified.fontStyle[this.activeDocType]).forEach(r=>{this.hasModified.fontStyle[this.activeDocType][r]||(this.cacheData[this.activeDocType].fontStyle[r]=this.defaultData[this.activeDocType].fontStyle[r])}),this.hasModified.fontColor[this.activeDocType]||(this.cacheData[this.activeDocType].fontColor=this.defaultData[this.activeDocType].fontColor),this.hasModified.fontFamily[this.activeDocType]||(this.cacheData[this.activeDocType].fontFamily=this.defaultData[this.activeDocType].fontFamily),this.hasModified.fontSize[this.activeDocType]||(this.cacheData[this.activeDocType].fontSize=this.defaultData[this.activeDocType].fontSize)}initColor(i){let o=this.activeDocType==="Part"?i.color.symbol:i.color.text;this.defaultData[this.activeDocType].fontColor=o}initFontFamily(i){let o="COMM_TYPEFACE",r=(this.activeDocType==="Part"?i.fontStyle.symbol:i.fontStyle.text).fontFamily+"(Default)",n=Wi("COMM_TYPEFACE","commonlyList",{defaultValue:o}),a=ue.deepClone(n),s={title:r,id:0};Wn()||a.unshift(s);let l=a.map(c=>({value:c.title,text:c.title}));this.defaultData[this.activeDocType].fontFamilyList=l,this.defaultData[this.activeDocType].fontFamily=Wn()?i.fontStyle.text.fontFamily:r}initFontSize(i){let{fontSize:o}=this.activeDocType==="Part"?i.fontStyle.symbol:i.fontStyle.text;this.defaultData[this.activeDocType].fontSize=o}initFontStyle(i){let{fontWeight:o,fontItalic:r,fontUnderline:n}=this.activeDocType==="Part"?i.fontStyle.symbol:i.fontStyle.text;this.defaultData[this.activeDocType].fontStyle={fontWeight:+o==1,italic:+r==1,underline:+n==1}}initTextOrigin(){this.defaultData[this.activeDocType].textOrigin={hAlign:0,vAlign:2}}},dx=new aOt;var _u=L(z()),hRr=t=>{let e="(Default)",{containerId:i}=t,{locals:o}=sOt.default,{footer:r,footer_left:n,footer_right:a}=o;Ae(sOt.default),Ce(dx);let{activeDocType:s,hasModified:l}=dx,{["fontColor"]:c,["fontFamilyList"]:d,["fontSize"]:u,["fontStyle"]:p,["textOrigin"]:m,["fontFamily"]:h}=dx.defaultData[s],{["fontColor"]:f,["fontFamilyList"]:g,["fontSize"]:b,["fontStyle"]:y,["textOrigin"]:w,["fontFamily"]:x}=dx.cacheData[s],{["textValue"]:S}=dx.cacheData,T=J(),[M,I]=(0,zO.useState)(f),[A,D]=(0,zO.useState)(x),[E,N]=(0,zO.useState)(b),[R,v]=(0,zO.useState)(y),[k,P]=(0,zO.useState)(w),[O,_]=(0,zO.useState)(S),j=(0,zO.useRef)(null);(0,zO.useEffect)(()=>{j==null||j.current.focus(),j==null||j.current.select()},[dx.initCount]);function B(){return Wn()?"mm":Vo()}function V(){I(c),N(u),D(h),v({...p}),P({...m}),l.fontStyle[s]={fontWeight:!1,italic:!1,underline:!1},l.textOrigin[s]={hAlign:!1,vAlign:!1},l.fontColor[s]=!1,l.fontFamily[s]=!1,l.fontSize[s]=!1,dx.cacheData[s]=ue.deepClone(dx.defaultData[s])}Bt(()=>{C.messageBus.publish("selectedAction")}).close(i);async function G(H){var U;let q=(U=H||O)==null?void 0:U.trim();if(!q||q.length<=0)return De({type:"error",msg:"This text can not be empty!"});if(q.length>4096)return C.windowBridge.publish("ui/toastMsg",{type:"error",msg:"Text cannot be more than 4096 characters!",timer:3},ko());{let F=Q();Wn()?et("place_part(text)",{value:q,attrs:F}):(C.messageBus.publish("drawingAttrTextHandler",{value:q,attrs:F,tabId:gi()}),C.messageBus.publish("selectedAction")),Ho.setTopBarItemChecked("showTextDialog"),le.close("drawing-attr-text-new")}}function Q(){let H=Wn(),q=(R.fontWeight?"bold":"normal")+(!H&&!l.fontStyle[s].fontWeight?e:""),U=(R.italic?"italic":"normal")+(!H&&!l.fontStyle[s].italic?e:""),F=(R.underline?"underline":"inherit")+(!H&&!l.fontStyle[s].underline?e:""),K=E+(!H&&!l.fontSize[s]?e:"");return{"attr-font-color":M+(!H&&!l.fontColor[s]?e:""),"attr-font-family":A,"attr-font-size":K,"attr-font-underline":F,"attr-font-style":U,"attr-font-weight":q,"attr-origin":pe()};function pe(){let{hAlign:Z,vAlign:ee}=k,ce;switch(Z){case 0:ce="start";break;case 1:ce="middle";break;case 2:ce="end";break;default:break}return ce+"|"+ee+(!H&&!l.textOrigin[s].hAlign&&!l.textOrigin[s].vAlign?e:"")}}return(0,_u.jsxs)(_u.Fragment,{children:[(0,_u.jsxs)("div",{className:o.dialog_wrap,children:[(0,_u.jsxs)("div",{className:o.cell,children:[(0,_u.jsxs)("div",{className:o.column_left,"data-test":"Text",children:[T("Text"),":"]}),(0,_u.jsx)("div",{className:o.column_right,children:(0,_u.jsx)(gpe,{textRef:j,style:{paddingRight:"0"},value:O,onChange:H=>{_(H),dx.cacheData.textValue=H},onKeyDown:(H,q)=>{H.keyCode===13&&!(H.shiftKey||H.ctrlKey||H.altKey)&&G(q)}})})]}),(0,_u.jsxs)("div",{className:o.cell,children:[(0,_u.jsxs)("div",{className:o.column_left,"data-test":"Font Color",children:[T("Font Color"),":"]}),(0,_u.jsx)("div",{className:o.column_right,children:(0,_u.jsx)(vp,{color:M,defaultColor:Wn()?_e.HEX_BLACK_COLOR:c,onChange:H=>{I(H),dx.cacheData[s].fontColor=H,l.fontColor[s]=H!==c},needRefresh:!1})})]}),(0,_u.jsxs)("div",{className:o.cell,children:[(0,_u.jsxs)("div",{className:o.column_left,"data-test":"Font Family",children:[T("Font Family"),":"]}),(0,_u.jsx)("div",{className:o.item,children:(0,_u.jsx)(Jw,{value:A,disabled:!1,list:d,onChange:H=>{D(H),dx.cacheData[s].fontFamily=H,l.fontFamily[s]=h!==H}})}),(0,_u.jsx)("div",{className:o.item,children:(0,_u.jsx)(or,{value:E,dValue:Wn()?"":u,inputUnit:B(),dataTest:"{key}(Default)",positive:!0,onChange:H=>{N(H),dx.cacheData[s].fontSize=H,l.fontSize[s]=!0}},E)})]}),(0,_u.jsxs)("div",{className:o.cell,children:[(0,_u.jsxs)("div",{className:o.column_left,"data-test":"Font Style",children:[T("Font Style"),":"]}),(0,_u.jsx)("div",{className:o.column_right,children:(0,_u.jsx)(J_,{...R,defaultValue:Wn()?{}:p,hasModified:Wn()?{}:l.fontStyle[s],onChange:H=>{let q={...R,...H},U=Object.keys(H)[0];l.fontStyle[s][U]=!0,v(q),dx.cacheData[s].fontStyle=q}},JSON.stringify(R))})]}),(0,_u.jsxs)("div",{className:o.cell,children:[(0,_u.jsxs)("div",{className:o.column_left,"data-test":"Origin",children:[T("Origin"),":"]}),(0,_u.jsx)("div",{className:o.column_right,children:(0,_u.jsx)(bpe,{...k,hasModified:Wn()?{}:l.textOrigin[s],defaultValue:Wn()?{}:m,onChange:H=>{P({...H}),dx.cacheData[s].textOrigin=H,l.textOrigin[s]={hAlign:!0,vAlign:!0}}},JSON.stringify(k))})]})]}),(0,_u.jsxs)("div",{className:r,children:[(0,_u.jsx)("div",{className:n,children:(0,_u.jsx)(Me,{onClick:()=>{V()},children:"Reset Default Style"})}),(0,_u.jsxs)("div",{className:a,children:[(0,_u.jsx)(Me,{type:"primary",onClick:()=>{G()},children:"Place"}),(0,_u.jsx)(Me,{onClick:()=>{le.close(),C.messageBus.publish("selectedAction")},children:"Cancel"})]})]})]})},ruo=hRr;var auo=L(z());async function nuo(t,e){let i=bt[t],{containerId:o,title:r,width:n,closed:a}=i;return await dx.initDialog(),le.open({id:o,title:r,width:n,closed:a,remove:!0,children:(0,auo.jsx)(ruo,{containerId:o}),onKeyup(s){s.key==="Escape"&&C.messageBus.publish("selectedAction")},visibilityChange(s){s?Ho.setTopBarItemChecked("showTextDialog"):C.messageBus.publish("selectedAction")}}),{origin:"react"}}var lOt=L(luo()),S$=L(Se());var M5=L(z()),FO=be.bind(lOt.default.locals),fRr=[{text:"Order 3D Shell",id:"order3DShell",type:"primary",style:{marginRight:"8px"},command:"order"},{text:"Export",type:"primary",style:{marginRight:"8px"},command:"export"},{text:"Cancel",cmd:"dialog-close",command:"cancel"}];function cuo(t){let{containerId:e}=t,i=J();Ae(lOt.default);let[o,r]=(0,S$.useState)(""),[n,a]=(0,S$.useState)("stl");(0,S$.useEffect)(()=>{async function d(){let u=UP.get(await wa())||he.getTabTitle(he.getActiveTab());r(`3DShell_${u}`)}d()},[]);let s=(0,S$.useCallback)(d=>{d.target.checked&&a(d.target.value)},[a]),l=async d=>{switch(d){case"close":case"cancel":le.close(e);break;case"order":if(Fn){window.open(C.HelpURL.order_3d_shell,"_blank");return}HP.order3DShell();break;case"export":c();break}},c=(0,S$.useCallback)(async()=>{if(await HP.checkHas3DPrimitive()){if(Ts(),!dh(o,1)){Zr();return}try{let u=wa().replace(/^3d-/i,""),p=await he.getTabIFrame(u),m=15*6e4,h=await C.windowBridge.rpcCall("/pcb/3d/shell/export_inframe",{name:o,type:n,timeout:m},p.contentWindow,m),f=It.getActiveTab(he.getTabContainer(he.currentTabId));C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.D3SHELLFILE_EXPORT,content:{"Scope Name":f?f.title:""},project_uuid:C.currentProject.projectId}]);let{error:g,sensorsData:b}=h.message;b&&C.messageBus.publish("sensorsEventsReport",{eventName:"export_3dshell",eventData:{is_success:!(g||b!=null&&b.err),fail_reason:g||(b==null?void 0:b.err),file_name:o,file_type:n,is_order:!1,shell_document_number:b==null?void 0:b.documentNumber3D}})}finally{le.close(e),Zr()}Pl("7")}},[o,n]);return(0,M5.jsxs)("div",{className:FO("export3DShellFile pop-content-container"),children:[(0,M5.jsxs)("div",{className:FO("container"),children:[(0,M5.jsxs)("div",{className:FO("export3DFileRow"),children:[(0,M5.jsx)("div",{className:FO("leftLable"),title:i("File Name:"),children:i("File Name:")}),(0,M5.jsx)("div",{className:FO("rightContent"),children:(0,M5.jsx)("input",{type:"text",className:FO("fileNameInput"),value:o,onChange:d=>{r(d.target.value)}})})]}),(0,M5.jsxs)("div",{className:FO("export3DFileRow"),children:[(0,M5.jsx)("div",{className:FO("leftLable"),title:i("Export File Type:"),children:i("Export File Type:")}),(0,M5.jsx)("div",{className:FO("rightContent"),children:["stl","step","obj"].map(d=>(0,M5.jsxs)("label",{className:FO("radioLabel"),children:[(0,M5.jsx)("input",{name:"export3DShellFileRadio",type:"radio",value:d,checked:n===d,onChange:s}),(0,M5.jsx)("span",{children:d.toUpperCase()})]},d))})]})]}),(0,M5.jsx)("div",{className:FO("pop-footer-wrapper"),children:fRr.map((d,u)=>_t&&d.command==="order"?null:(0,M5.jsx)(Me,{id:d.id,type:d.type,style:d.style,onClick:()=>l(d.command),children:i(d.text)},`bottom-btn-${u}`))})]})}var duo=L(z());async function cOt(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a,esc:s,mask:l}=i;le.open({id:o,title:r,width:n,closed:a,esc:s,mask:l,children:(0,duo.jsx)(cuo,{containerId:o})})}var dOt=L(puo());var Az=L(z()),gRr=t=>{let{id:e}=t,{locals:i}=dOt.default,o=be.bind(i);Ce(_a),Ae(dOt.default);let r=J(),n="Your file hasn't been saved. Would you like to save it now?",a=!0,s=async()=>{var S,T,M;a=!1;let u=_a.chose,p=_a.filterTabid,m,h=!!_a.dlgImport_pcbConfirm;_a.dlgImport_pcbConfirm=!1;let f=he.getActiveTabData(),g=f.tabId,b=(S=f==null?void 0:f.data)==null?void 0:S.doctype,y=(T=f==null?void 0:f.data)==null?void 0:T.scope,w=!0;le.close();let x=new LD;uOt(w,{chose:u,filterTabid:p,tabid:g,doctype:b,scope:y,fromAction:m,path:(M=f==null?void 0:f.data)==null?void 0:M.libpath,beforeClose:()=>{if([se.PCB,se.SCH,se.PANEL,se.SIMULIDE,se.NGSPICE].includes(b))switch(b){case se.SCH:case se.SIMULIDE:case se.NGSPICE:x.generatePreviewImageSch(g,C.currentProject.projectId);break;case se.PCB:x.generatePreviewImagePcb(g,C.currentProject.projectId);break;case se.PANEL:x.generatePreviewImagePanel(g,C.currentProject.projectId);break}}}).then(()=>{he.$emit(r2.CLOSE_TAB,{tabid:g,doctype:b}),h&&pse(),C.messageBus.publish("/pro-ui/files/reLaunchClient",{isCloseAll:u==="closeAll",fromAction:m});let I=_a.org_uuid;I&&(qg(I),_a.org_uuid=null),d(),_a.handleClientCloseAction()})},l=()=>{a=!1;let u,p=!!_a.dlgImport_pcbConfirm;_a.dlgImport_pcbConfirm=!1,le.close();let m=_a.chose,h=_a.filterTabid,f=he.getActiveTab();var g=dt();uOt(!1,{chose:m,filterTabid:h,docType:g,tabid:f,fromAction:u}).then(()=>{he.$emit(r2.CLOSE_TAB,{tabid:f,doctype:g}),p&&pse(),C.messageBus.publish("/pro-ui/files/reLaunchClient",{isCloseAll:!1,fromAction:u});let b=_a.org_uuid;b&&(qg(b),_a.org_uuid=null),d()})},c=()=>{_a.chose=void 0,_a.dlgImport_pcbConfirm=!1,_a.crossWindowNeedToOpen=null,_a.isFromLeaveDialog=!1,le.close();let u=_a.org_uuid;u&&(qg(u),_a.org_uuid=null),d()},d=()=>{a&&(_a.chose=void 0,_a.crossWindowNeedToOpen=null,_a.isFromLeaveDialog=!1);let u=_a.crossWindowNeedToOpen;u&&(A2?setTimeout(()=>window.open(u,"_blank"),200):window.open(u,"_blank"),_a.crossWindowNeedToOpen=null),a=!0};return Bt(()=>{d()}).close(e),(0,Az.jsxs)("div",{className:i.wrap,children:[(0,Az.jsxs)("div",{className:i.content,children:[(0,Az.jsx)("span",{className:o("messager-warning messager-icon")}),(0,Az.jsx)("span",{className:i["messager-text"],"data-test":n,children:r(n)})]}),(0,Az.jsxs)("div",{className:i.footer,children:[(0,Az.jsx)(Me,{type:"primary",onClick:async()=>{s()},style:{minWidth:"72px",marginLeft:"8px"},children:"Save"}),(0,Az.jsx)(Me,{type:"primary",onClick:()=>{l(),_a.handleClientCloseAction()},style:{minWidth:"72px",marginLeft:"8px"},children:"Don't Save"}),(0,Az.jsx)(Me,{onClick:()=>{c()},style:{minWidth:"72px",marginLeft:"8px"},children:"Cancel"})]})]})},muo=gRr;var huo=L(z());async function pOt(t,e){let{cmd:i}=e,o=bt[t],{containerId:r,title:n,width:a,closed:s,height:l}=o;return le.open({id:r,title:n,width:a,height:l,closed:s,children:(0,huo.jsx)(muo,{id:r})}),{origin:"react"}}var Uet=L(Se()),hOt=L(guo());var buo=[{value:"Center",text:"Center"},{value:"Top",text:"Top"},{value:"Bottom",text:"Bottom"},{value:"Left",text:"Left"},{value:"Right",text:"Right"},{value:"Left_Top",text:"Left Top"},{value:"Left_Bottom",text:"Left Bottom"},{value:"Right_Top",text:"Right Top"},{value:"Right_Bottom",text:"Right Bottom"}];var mOt=class extends qe{constructor(){super(...arguments);this.propertyOptions=[];this.ATTR_KEY_CACHE="Designator";this.optionConfig={range:"allComponent",attrKey:"",position:"Left_Top"};this.filterAttrKeys=["3D Model","3D Model Title","3D Model Transform",...Object.values(W_)]}async initDialog(){await this.getPropertyOptions();let i=(await C.messageBus.rpcCall("sch/hasComponentSelectedInCurrentPage")).message;fw.setOptionConfig("range",i?"selectedComponent":"allComponent")}closeDialog(){this.propertyOptions.length>0&&(this.propertyOptions=[])}async getPropertyOptions(){this.propertyOptions.length>0&&(this.propertyOptions=[]),this.optionConfig.attrKey="";let i=(await C.messageBus.rpcCall("getAttrKeys",this.optionConfig.range)).message;if(i.length>0){let o=[],r=[];i.forEach(a=>{this.filterAttrKeys.includes(a)||(/[\u4e00-\u9fa5]/.test(a)?o.push(a):r.push(a))}),r.sort(),o.sort((a,s)=>a.localeCompare(s,"zh-Hans-CN"));let n=r.concat(o);n.includes(this.ATTR_KEY_CACHE)||(this.ATTR_KEY_CACHE="Designator"),n.forEach(a=>{a===this.ATTR_KEY_CACHE?(this.ATTR_KEY_CACHE=a,this.optionConfig.attrKey=a):this.optionConfig.attrKey===""&&(this.optionConfig.attrKey=a),this.propertyOptions.push({value:a,text:a})})}else this.optionConfig.attrKey="",this.ATTR_KEY_CACHE="Designator";this.notify()}async setOptionConfig(i,o){i==="range"?(this.optionConfig.range=o,await this.getPropertyOptions()):i==="property"?(this.optionConfig.attrKey=o,this.ATTR_KEY_CACHE=o):i==="position"&&(this.optionConfig.position=o),this.notify()}handleConfirm(){let i=he.getActiveTab();ol(i)&&(i=he.getModelTabId(i));let{range:o,attrKey:r,position:n}=this.optionConfig;C.messageBus.publish("setAttrPosition",{range:o,attrKey:r,position:n})}},fw=new mOt;var Py=L(z()),Nz=be.bind(hOt.default.locals),bRr=t=>{let{containerId:e}=t;Ce(fw),Ce(is),Ae(hOt.default);let i=J(),o=(0,Uet.useMemo)(()=>[{value:"selectedComponent",label:(0,Py.jsx)("span",{children:i("Only selected components")})},{value:"allComponent",label:(0,Py.jsx)("span",{children:i("All components")})}],[is.lang]);return Bt(()=>{fw.closeDialog(),le.close(e)}).close(e),(0,Py.jsx)(Py.Fragment,{children:(0,Py.jsxs)("div",{className:Nz("container"),"data-test":"setAttrPositionInSch",children:[(0,Py.jsxs)("div",{className:Nz("range"),children:[(0,Py.jsx)("div",{"data-test":"Range:",title:i("Range:"),className:Nz("leftEl"),children:i("Range:")}),(0,Py.jsx)("div",{className:Nz("rightEl"),children:(0,Py.jsx)($i,{dataTest:"positionRange",name:"positionRange",value:fw.optionConfig.range,options:o,onChange:r=>{fw.setOptionConfig("range",r)}})})]}),(0,Py.jsxs)("div",{className:Nz("property"),children:[(0,Py.jsx)("div",{"data-test":"Property/Property Value:",title:i("Property/Property Value:"),className:Nz("leftEl"),children:i("Property/Property Value:")}),(0,Py.jsx)("div",{className:Nz("rightEl"),children:(0,Py.jsx)(xt,{searchable:!0,select:!0,value:fw.optionConfig.attrKey,list:fw.propertyOptions,style:{width:"90%"},onChange:r=>{fw.setOptionConfig("property",r)}})})]}),(0,Py.jsxs)("div",{className:Nz("location"),children:[(0,Py.jsx)("div",{"data-test":"Property Location:",title:i("Property Location:"),className:Nz("leftEl"),children:i("Property Location:")}),(0,Py.jsx)("div",{className:Nz("rightEl"),children:(0,Py.jsx)(xt,{select:!0,value:fw.optionConfig.position,list:buo,style:{width:"90%"},onChange:r=>{fw.setOptionConfig("position",r)}})})]})]})})},yuo=(0,Uet.memo)(bRr);var lW=L(z());async function wuo(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,footer:d}=i;await fw.initDialog();let u="Apply",p=()=>{fw.handleConfirm()},m="Confirm",h=()=>{fw.handleConfirm(),le.close(o)},f="Cancel",g=()=>{fw.closeDialog(),le.close(o)};le.open({id:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,footer:(0,lW.jsxs)(lW.Fragment,{children:[(0,lW.jsx)(Me,{"data-test":"Apply",type:"primary",onClick:()=>p(),children:u}),(0,lW.jsx)(Me,{"data-test":"Confirm",type:"primary",onClick:()=>h(),children:m}),(0,lW.jsx)(Me,{"data-test":"Cancel",onClick:()=>g(),children:f})]}),children:(0,lW.jsx)(yuo,{containerId:o})})}var gw=L(Se());var TOt=L(xuo());var hse=L(Se());var Het=L(z());function Tuo(t,e){let i=e.toLocaleLowerCase(),o=t.toLocaleLowerCase().indexOf(i),r;if(o>=0){let n=(0,Het.jsx)("em",{style:{fontStyle:"normal"},className:"hightlight",children:t.slice(o,o+i.length)});r=(0,Het.jsxs)("span",{children:[t.slice(0,o),n,t.slice(o+e.length)]})}else r=t;return r}var fOt=L(Muo());var cE=L(z()),mse=be.bind(fOt.default.locals),yRr=[{text:"Bind 3D models...",style:{marginRight:"8px"},command:"bind-model"},{text:"Reload all models",style:{marginRight:"8px"},command:"reload"},{text:"Processing completed, continue  to export",type:"primary",style:{marginRight:"8px"},command:"export"},{text:"Cancel",cmd:"dialog-close",command:"cancel"}];function wRr(t){let{containerId:e,compInfoArr:i,callback:o,pcbTabId:r}=t,n=J();Ae(fOt.default);let[a,s]=(0,hse.useState)(""),l=async p=>{switch(p){case"close":case"cancel":o("cancel"),le.close(e);break;case"bind-model":mLt(r,()=>{Ic("view3DModelManager")});break;case"reload":o("reload"),le.close(e);break;case"export":o("export"),le.close(e);break}},c=(0,hse.useMemo)(()=>i.map(m=>(m.failure=n(m.failure||""),m)).filter(m=>{var f,g,b,y,w;let h=a.toLocaleLowerCase();return((f=m.designator)==null?void 0:f.toLocaleLowerCase().includes(h))||((g=m.name)==null?void 0:g.toLocaleLowerCase().includes(h))||((b=m.footprint)==null?void 0:b.toLocaleLowerCase().includes(h))||((y=m.d3Model)==null?void 0:y.toLocaleLowerCase().includes(h))||((w=m.failure)==null?void 0:w.toLocaleLowerCase().includes(h))}),[i,a,n]),d=[{key:"designator",name:n("Component"),width:.1,render:p=>{let m=(0,hse.useCallback)(f=>{mLt(r,()=>{C.messageBus.publish("highlightItems",{needAdaptAll:!1,globalIndexArr:[p.row.id]})})},[r,p.row.id]),h=Tuo(p.cellData,a);return(0,cE.jsx)("span",{onClick:m,className:mse("link"),children:h})}},{key:"name",name:n("Name"),width:.175},{key:"footprint",name:n("Footprint"),width:.175},{key:"d3Model",name:n("3D Model Title"),width:.2},{key:"failure",name:n("Failure Cause"),width:.35}],u=(0,hse.useCallback)(p=>{s(p)},[s]);return(0,cE.jsxs)("div",{className:mse("d3-model-exception-dialog pop-content-container"),children:[(0,cE.jsxs)("div",{className:mse("container"),children:[(0,cE.jsx)("div",{className:mse("tips"),children:n("Please check the reason for the following component's failure to load the 3D model.You can either ignore them and export right away or handle all the anomalies, and export them after successful loading.")}),(0,cE.jsx)("div",{className:mse("filter-wrap"),children:(0,cE.jsx)(Ws,{placeholder:"Filter",onConfirm:u,onClearInputValue:u,onBlur:u,onUpdateInputValue:u})}),(0,cE.jsx)("div",{className:mse("table-wrap"),children:(0,cE.jsx)(xi,{index:"id",columns:d,rows:c,selectedRowNumbers:[null],border:!0,height:184,width:628,openRowSelectedBgColor:!1,searchValue:a})})]}),(0,cE.jsx)("div",{className:mse("pop-footer-wrapper"),children:yRr.map((p,m)=>(0,cE.jsx)(Me,{type:p.type,style:p.style,onClick:()=>l(p.command),children:n(p.text)},`bottom-btn-${m}`))})]})}function Iuo(t,e,i){let o=bt["d3-model-exception"],{containerId:r,title:n,width:a,closed:s,height:l}=o;le.open({id:r,title:n,width:a,height:l,closed:s,mask:!0,children:(0,cE.jsx)(wRr,{containerId:r,compInfoArr:t,callback:e,pcbTabId:i})})}var Auo=L(Vi()),Nuo=L(Ure());var vuo=L(hS());var Yet=class extends jA{encode(e){let i=this.netList,o={version:"2.0.0",components:{}},r=o.components;return i.iterator((n,a)=>{let{props:s,nets:l,extra:c}=a,d=c==null?void 0:c.pinInfoMap;if(!d){d={};for(let u in l){let p=l[u];d[u]={name:"",number:u,net:p}}}r[n]={props:a1e(s),pinInfoMap:d}}),i.designRule&&(o.designRule=i.designRule),i.netClass&&(o.netClass=i.netClass),i.equalLengthNetGroup&&(o.equalLengthNetGroup=i.equalLengthNetGroup),i.differentialPair&&(o.differentialPair=i.differentialPair),JSON.stringify(o,void 0,2)}};var Wet=class extends jA{constructor(){super(...arguments);this._ignoreAttrKey=["3D Model","3D Model Transform","FootprintName","DeviceName","SymbolName"]}encode(i){let{title:o="",version:r="",padsFootprintName:n=null,padsDeviceName:a=null}=i||{},s={},l={},c={},d=m=>{if(BA(n))return m;{let h=/[\s*?:？：]/g;return m.replace(h,n)}},u=m=>{if(BA(a))return m;{let h=/[\s*?？：:@]/g;return m.replace(h,a)}};this.netList.iterator((m,h)=>{let{props:f,nets:g}=h;a1e(h.props);let y=f.Designator||m,w=d(f.FootprintName),x=u(f.DeviceName),S=f.SymbolName;("Device"in f||"Footprint"in f)&&(i.deviceName?s[y]=[x,w].join("@"):s[y]=w);let T={};it(f,(M,I)=>{this._ignoreAttrKey.includes(M)||(M==="Device"?I=x||"":M==="Footprint"?I=w||"":M==="Symbol"&&(I=S||""),T[M]=I)}),En(l,y).push(T),it(g,(M,I)=>{if(I){let A=n1e(I);A&&En(c,A).push(y+"."+M)}})});let p=new Array;return p.push(`!PADS-POWERPCB-V9.0-MILS-CP936! Created by EasyEDA Pro V${r}\r
`),p.push(`*REMARK* ${o} -- ${ue.formatDate2(new Date)}\r
*REMARK*  \r
\r
`),p.push(`*PART*       ITEMS\r
`),it(s,(m,h)=>{let f=Math.max(m.length+1,8);p.push(`${m.padEnd(f," ")}${h}\r
`)}),p.push(`*NET*\r
`),it(c,(m,h)=>{p.push(`*SIGNAL* ${m}\r
`),this.splitArr(h,5,f=>{p.push(`${f.join(" ")} \r
`)})}),p.push(`\r
`),i.customProperty&&(p.push(`*MISC*      MISCELLANEOUS PARAMETERS\r
`),p.push(`\r
`),p.push(`ATTRIBUTE VALUES\r
`),p.push(`{\r
`),it(l,(m,h)=>{p.push(`PART ${m}\r
`),p.push(`{\r
`),it(h[0],(f,g)=>{p.push(`"${f}" ${g}\r
`)}),p.push(`}\r
`)}),p.push(`}\r
`),p.push(`\r
`)),p.push(`*END*     OF ASCII OUTPUT FILE\r
`),p.join("")}splitArr(i,o,r){for(let n=0;n<i.length;)r(i.slice(n,n+=o))}};var Qet=class extends jA{constructor(){super(...arguments);this._ignoreAttrKey=["3D Model","3D Model Transform","FootprintName","DeviceName","SymbolName"];this.getPinElectric=i=>{switch(i){case"IN":return"Input";case"OUT":return"Output";default:return"Passive"}}}encode(i){let o={},r={},n=["DESIGNATOR","FOOTPRINT","PARTTYPE","DESCRIPTION"],a=new Array;return a.push(`PROTEL NETLIST 2.0\r
`),this.netList.iterator((s,l)=>{let{props:c,nets:d}=l;a1e(c);let p=c.Designator||s,m=c.FootprintName,h=c.DeviceName,f=c.SymbolName;("Device"in c||"Footprint"in c)&&(o[p]=[h,m].join("@")),a.push(`[\r
`);for(let g=0,b=n.length;g<b;g++){let y=n[g],w=c[y];y==="DESIGNATOR"?w=c.Designator:y==="FOOTPRINT"?w=c.FootprintName:y==="PARTTYPE"?w=c.DeviceName:y==="DESCRIPTION"&&(w=c.Description),a.push(`${y}\r
`),a.push(`${w}\r
`)}a.push(`Component Kind\r
`),a.push(`Standard\r
`),it(c,(g,b)=>{this._ignoreAttrKey.includes(g)||(a.push(`${g}\r
`),g==="Device"?b=h||"":g==="Footprint"?b=m||"":g==="Symbol"&&(b=f||""),a.push(`${b}\r
`))}),a.push(`\r
*\r
`),a.push(`]\r
`),it(d,(g,b)=>{if(b){let y=n1e(b);y&&En(r,y).push({value:p+"-"+g,electric:this.getPinElectric(b),comment:c.DeviceName+"-"+g})}})}),it(r,(s,l)=>{a.push(`(\r
`),a.push(`${s} \r
`),it(l,(c,{value:d,electric:u,comment:p})=>{a.push(`${d} ${p} ${u.padEnd(8," ")}\r
`)}),a.push(`)\r
`)}),a.join("")}};var Ket=class extends jA{encode(e){let i=this.netList,o="",r=!0;return i.iterator((n,a)=>{var h;let{props:s,nets:l,extra:c}=a,d=((h=c==null?void 0:c.source)==null?void 0:h.componentId.toString())||"",u=(c==null?void 0:c.pinInfoMap)||{},p="",m=this.encodeComponentLine(d,s);if(m){p+=m;for(let f in l){let g=l[f],b=u[f],y=this.encodePinLine({name:b==null?void 0:b.name,number:f,net:g,props:b==null?void 0:b.props});y&&(p+=uLt+y)}r?(o+=p,r=!1):o+=VSe+p}}),o}encodeString(e){return e?(e=e.replace(new RegExp(Iq,"g"),pLt),e.match(new RegExp(v1e))||e.match(new RegExp(uLt))||e.match(new RegExp(VSe))?`${Iq}${e}${Iq}`:e):pLt}encodeLine(e){let i="";return e.forEach((o,r)=>{let n=this.encodeString(o);r==0?i+=n:i+=v1e+n}),i}encodeComponentLine(e,i){if(!i)return"";let o=i.Designator,r=i.DeviceName,n=i.FootprintName,a=[e,o,r,n],s=["Designator","DeviceName","FootprintName","Device","Footprint","Symbol"];for(let l in i){let c=i[l];s.includes(l)||a.push(l,c)}return this.encodeLine(a)}encodePinLine(e){if(!e)return"";let{name:i,number:o,net:r,props:n}=e,a=[i,o,r];if(n)for(let s in n){let l=n[s];a.push(s,l)}return this.encodeLine(a)}};function Luo(t,e){let{netListType:i,allegroFootprintName:o=null,padsFootprintName:r=null,padsDeviceName:n=null}=e||{},a="";if(i==="Allegro"||i==="PADS"){let s=[],l="Warning! The footprint name has Allegro doesn't support charaters \u201C; ! .\u201D or space",c="Warning! The component or footprint name has PADS doesn't support charaters \u201C* : ? @\u201D or space",d="The footprint name has Allegro doesn't support charaters \u201C; ! .\u201D or space, suggest modify and then export netlist again: {checkoutLink}.",u="The component or footprint name has PADS doesn't support charaters \u201C* : ? @\u201D or space, suggest modify and then export netlist again: {checkoutLink}.",p=i==="Allegro"?l:c,m=i==="Allegro"?d:u,h=/[;!.；！ ]/,f=/[*?:：？ ]/,g=/[*?？:： @]/;t.iterator((b,y)=>{let{extra:w,nets:x,props:S}=y,T=S.FootprintName;if((()=>{if(i==="Allegro"&&BA(o))return h.test(T);if(i==="PADS"&&BA(r))return f.test(T)})()){let{pageId:I,componentId:A}=w.source;s.push(tw({text:S.Designator,attr:{pcbid:lo(I,C.currentProject.projectId),id:Array.isArray(A)?A[0]:A,type:"rect"}}))}if(i==="PADS"&&BA(n)){let I=S.DeviceName;if(g.test(I)){let{pageId:A,componentId:D}=w.source;s.push(tw({text:S.Designator,attr:{pcbid:lo(A,C.currentProject.projectId),id:Array.isArray(D)?D[0]:D,type:"rect"}}))}}}),s.length>0&&(C.windowBridge.publish("ui/toastMsg",{type:"warn",msg:{value:p},bottomBarMsg:"log"},ko()),Ot("warn",Ti(m,{params:{checkoutLink:s.join("\u3001")}}),"Log",!0))}return i=="Allegro"?a=new PUe(t).encode(e):i=="JLCEDA"?a=new Yet(t).encode(e):i=="PADS"?a=new Wet(t).encode(e):i==="Protel2"?a=new Qet(t).encode(e):i==="DISA"?a=new Ket(t).encode(e):console.warn("Unsupported netList Type: ",i),a}async function l2e(t){var M;let{netListType:e,pcbMap:i=[],fileName:o=`NetList_${ue.formatDate2(new Date,"yyyy-MM-dd")}`,extension:r,options:n}=t||{};if(i.length==0)return null;let a=C.currentProject.projectId,s={};it(i,(I,A)=>{s[A.uuid]=A});let l=((M=k0('meta[name="editorMainVersion"]'))==null?void 0:M.getAttribute("content"))||"",{additionalValue:c,tolerance:d,deviceName:u,device:p,footprint:m,customProperty:h,allegroFootprintName:f=null,padsFootprintName:g=null,padsDeviceName:b=null}=n,y={netListType:e,title:"",version:l,additionalValue:c,tolerance:d,customProperty:h,deviceName:u,device:p,footprint:m,allegroFootprintName:f,padsFootprintName:g,padsDeviceName:b},x=ap().unsaveFileTabId||[],S={};x.length>0&&(await xl(),x.forEach(I=>{S[I.split("@")[0]]=I}));let T={};return await Ro(i,async(I,A)=>{var k;let{uuid:D}=A;if(!D)return;let{title:E}=A;y.title=E,y.pcbPageId=D;let N=(await C.pcbMessageBus.rpcCall("pcb/decodePcbWorldInWorker",{uuid:D,docType:se.PCB,projectId:a,options:{data:y},env:{tabId:D+Zc+a,windowTabId:(k=ko())==null?void 0:k._TAB_ID_},decodeTopic:"exportNetList"})).message;if(!N)return console.error("Export netList error or document is none",D);let R=await new Y2(N.netList).decode(),v=Luo(R,y);v&&(T[D]={netList:v,fileName:E})}),T}async function Zet(t,e){if(!t)return null;let i=Object.keys(t);if(i.length==0)return null;if(i.length==1){let o=t[i[0]].netList||"";return o?new Blob([o]):null}else{let o=new vuo.default;return i.forEach((n,a)=>{let{netList:s,fileName:l=`NetList_PCB_${a}`}=t[n];s&&o.file(l+"."+e,s)}),await o.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:9}})}}async function DIe(){let{message:t}=await C.messageBus.rpcCall($e.PROJECT.GET,[C.currentProject.projectId]);return t?Promise.resolve({...t}):Promise.reject({msg:"Failed to get project information"})}async function EIe(){let t=he.getActiveTab(),{uuid:e}=he.getUuidAndPathByTab(t),{message:i}=await C.messageBus.rpcCall($e.PCB.GET,[e,C.currentProject.projectId]);return i?Promise.resolve({...i}):Promise.reject({msg:"Failed to get PCB information"})}async function bOt(t,e){let i=[];i.push({title:{isBold:!0,value:"Project Title"},content:{isBold:!0,value:t.name||"-"}}),i.push({title:{isBold:!0,value:"Borard Title"},content:{isBold:!0,value:"-"}});let o=Ft(t.boards||[],"pcb",e.uuid);if(o.index>=0)i[i.length-1].content.value=o.data.name||"-";else{let n=(await C.messageBus.rpcCall("getBoardNameByPcb",e.uuid)).message;i[i.length-1].content.value=n||"-"}i.push({title:{isBold:!0,value:"PCB Title"},content:{isBold:!0,value:e.display_title||e.title||"-"}});let r=Rs();if(typeof e.updated_at=="object"){let n=e.updated_at.$date.$numberLong||+new Date().getTime();r=Rs(new Date(+n))}return i.push({title:{isBold:!0,value:"Time"},content:{isBold:!0,value:r}}),i}async function Duo(t){try{let e=await DIe(),i=await EIe();return t.lists&&t.lists instanceof Array&&t.lists.unshift(await bOt(e,i)),await ii("pcb-information",{...t,pcbDataRes:i})}catch(e){console.warn(e)}}function Li(){let t=he.getActiveTabData();return(t.data.doctype||t.data.docType)===se.PCB||(t.data.doctype||t.data.docType)===se.FOOTPRINT}function AIe(){let t=he.getActiveTabData();return(t.data.doctype||t.data.docType)===se.SCH}function Euo(t,e,i){let o=new Set(t.map(r=>r.value));return i!==void 0?o.has(e)&&o.has(i):o.has(e)}function c2e(t){return t.type==="SIGNAL"||t.type==="PLANE"}function CRr(t,e){let i=ue.deepClone(t);for(let o=0;o<i.length;o++)if(c2e(i[o])){if(e>=1){i[o].layerStatus=1,e--;continue}i[o].layerStatus=0}return i}function yOt(t){let e="";t==="noSupportMultiCopper"?e="JLCPCB doesn't support to fabricate more than four layers FPC flexiable board.":t==="switchPCBTypeFail"&&(e="Switch board type failed, found some stiffener objects, please delete them first."),e&&Ut({type:"warn",message:e,isHtml:!0})}function xRr(t,e){let i=ue.deepClone(e);for(let o=0;o<i.length;o++)xI(+i[o].layerId)&&(i[o].layerStatus=t===1?0:1);return i}var VM=class{static async selectLayerById(e){return Li()?await Pt(kt.Pcb.SelectLayerById,e):!1}static async setLayerStatus(e){return Li()?await Pt(kt.Pcb.SetLayerStatus,e):!1}static async setTheNumberOfCopperLayers(e){if(!Li())return!1;let{numberOfLayers:i}=e;if(i<2)return!1;let o=await Pt(kt.Pcb.GetAllLayers),r=o.filter(l=>c2e(l)&&l.layerStatus!==0),n=r.length+2;if(n===i)return!0;let a=CRr(o,i-2);if(n>i){let l=r.map(g=>+g.layerId),d=a.filter(g=>c2e(g)&&g.layerStatus!==0).map(g=>+g.layerId),u=l.filter(g=>d.indexOf(g)<=-1),p=await ei(),{notEmpty:m,conflictBlindViaRule:h}=(await C.windowBridge.rpcCall("CanRemoveLayers",{layerIds:u,action:"layerTotalUpdated"},p.contentWindow)).message,f="";if(m.layerNames.length>0&&(f=me.i18n(`<p>${m.layerNames.map(g=>g.indexOf("Inner")==0?`<span style="color:red;" data-i18n-context="pcb-layers">${me._context_i18n("pcb-layers","Inner{number}",{number:g.split("Inner")[1]})}</span>`:`<span style="color:red;" data-i18n-context="pcb-layers">${me._context_i18n("pcb-layers",g,null)}</span>`).join(", ")}</p>`)),h||f){let g=me.i18n("Please delete or adjust all the objects of the inner layers and the design rules of the blind/buried hole first:")+f;return Ut({type:"warn",message:g,isHtml:!0}),!1}}return await Pt(kt.Pcb.SetLayerData,{layerList:a})}static async getTheNumberOfCopperLayers(){return(await Pt(kt.Pcb.GetAllLayers)).filter(r=>c2e(r)&&r.layerStatus!==0).length+2}static async setLayerColorConfiguration(e){if(!Li())return!1;let{colorConfiguration:i}=e,o={1:vo?"EasyEDA":"JLCEDA",2:"Altium Designer",3:"PADS",4:"KiCad"};if(!o[String(i)])return!1;let r=Ft(c_,"name",o[String(i)]);return r.index<=-1?!1:await Pt(kt.Pcb.SetLayerThemeProfile,{canvasColorTheme:[r.data],canvasColorThemeSelected:o[String(i)]})}static async setInactiveLayerTransparency(e){if(!Li())return!1;let{transparency:i}=e;if(i<0||i>1)return!1;let o=Wi("PCB_THEME","canvasColorTheme"),r=Wi("PCB_THEME","canvasColorThemeSelected"),n=Ft(o,"name",r);if(n.index<=-1)return!1;let a=JSON.parse(JSON.stringify(n.data));return a.list.forEach(c=>{c.deactiveColorAlpha=Number(li.toFixed(String(1-i),2))}),await Pt(kt.Pcb.SetLayerThemeProfile,{canvasColorTheme:[a],canvasColorThemeSelected:r})}static async setPcbType(e){if(!Li())return!1;let{pcbType:i}=e;if(!i)return!1;let o=await Pt(kt.Pcb.GetAllLayers);if(i===1){let a=await ei();if(!a)return!1;let{hasFPCProfile:s,isDrawingFPCProfile:l}=(await C.windowBridge.rpcCall("pcb/getFPCStiffenerInfo","",a.contentWindow)).message;if(s||l||s)return yOt("switchPCBTypeFail"),!1}if(i===2&&o.filter(s=>(s.type==="SIGNAL"||s.type==="PLANE")&&s.layerStatus!==0).length>=2)return yOt("noSupportMultiCopper"),!1;let r=xRr(i,o);return await Pt(kt.Pcb.SetLayerData,{layerList:r})}static async addCustomLayer(e){if(!Li())return null;let i=await Pt(kt.Pcb.GetAllLayers),o=i.filter(s=>s.type==="CUSTOM").filter(s=>s.layerStatus===0);if(!o.length)return;let r=+o[0].layerId,n=ue.deepClone(i);for(let s=0;s<n.length;s++)r===n[s].layerId&&(n[s].layerStatus=1);return await Pt(kt.Pcb.SetLayerData,{layerList:n})?r:void 0}static async removeLayer(e){if(!Li())return!1;let{layerId:i}=e,o=await Pt(kt.Pcb.GetAllLayers),r=ue.deepClone(o);for(let a=0;a<r.length;a++)r[a].type==="CUSTOM"&&+i===r[a].layerId&&(r[a].layerStatus=0);return await Pt(kt.Pcb.SetLayerData,{layerList:r})}static async modifyLayer(e){if(!Li())return!1;let{layerId:i,data:o}=e,{name:r,type:n,color:a,transparency:s}=o,l=await Pt(kt.Pcb.GetAllLayers),c=ue.deepClone(l);for(let u=0;u<c.length;u++){let p=c[u];if(+i===p.layerId){if(typeof r<"u"&&(p.type==="SIGNAL"||p.type==="PLANE"||p.type==="CUSTOM")&&(p.name=r),typeof n<"u"&&(p.type==="SIGNAL"||p.type==="PLANE")&&["SIGNAL","PLANE"].indexOf(n)>=0){let m=await ei(),h=n==="PLANE",{notEmpty:f}=(await C.windowBridge.rpcCall("CanRemoveLayers",h?{layerIds:[i,Dge],action:"layerTypeUpdated"}:{layerIds:[i],action:"layerTypeUpdated"},m.contentWindow)).message;if(h&&!f.layerIds.includes(Dge))return!1;p.type=n}if(typeof a<"u"&&(p.activeColor=a),typeof s<"u")if(typeof s=="number"&&s>=0&&s<=100)p.activeColorAlpha=1-s/100;else return!1}}return await Pt(kt.Pcb.SetLayerData,{layerList:c})}static async getAllLayers(e){return Li()?await Pt(kt.Pcb.GetAllLayers):null}static async setInactiveLayerDisplayMode(e){if(!Li())return null;let{displayMode:i}=e;return i==2||i==0||i==1?(Ic(`brightness(${i})`),!0):!1}};var Jet=1440*60*1e3,wOt={xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8",csv:"text/csv",zip:"application/zip",png:"image/png",jpg:"image/jpeg",pdf:"application/pdf",svg:"image/svg+xml"};async function TRr(t,e,i,o){if(o==="xlsx"){let s=new kp({name:i}),l,c=[],d=i.replace(/\//g,"-");if(t&&t.length){t.forEach(u=>{c.push({header:u,key:u,width:20})});for(let u of e)u=u.map(p=>p.toString());return l=s.addSheet(d,{columns:c}),s.addRowsToSheet(l,e),(await s.getBlobData()).blobData}}let r=ue.createCSVString(t,e);if(r=="")throw"Invalid data";let n=new Uint8Array(2*r.length+2);n[0]=255,n[1]=254;for(var a=0;a<r.length;a++){let s=r[a].charCodeAt(0);n[2+2*a+1]=(65280&s)>>8,n[2+2*a]=255&s}return new Blob([n],{type:"text/csv"})}async function SRr(t,e){let i=await U2();if(i.length>=11){new Fi({type:"info",msg:"You can upload up to 10 BOM templates. Please delete the other templates before uploading."});return}let r=e?e.includes(".xlsx")?e:e+".xlsx":t.name;if(i.find(l=>l.attr.name===r)){new Fi({type:"info",msg:"The template has the same name. Please change the name of the file to be uploaded."});return}let a={name:r,creator:"jlceda",lastModifiedBy:t.lastModified,created:new Date};return await new kp(a).loadFile(t,async l=>{l.attr=a,i.push(l),await $V(i),tH(r)}),r}var Xu=class{static async getGerberFile(e){var c;if(!Li())return null;let i=C.loginedUserInfo.user_uuid,o=he.getActiveTab(),r=he.getActiveTabData();if(e.useDefaultLayerConfigs){let u=(await Pt(kt.Pcb.GetAllLayers)).filter(p=>c2e(p)&&p.layerStatus!==0);console.log("usedInnerLayersNow",u),u.forEach(p=>{e.layerConfigs.push({layerId:p.layerId,isMirror:!1})})}let n={...e,fileUuid:o,userUuid:i,title:r.title},a=wa().replace(/^3d-|^2d-/i,""),s=await he.getTabIFrame(a);vt(.01,"PCBMANUFACTUREDATA_GETGERBERFILE");let l=(await C.windowBridge.rpcCall("getExportGeberAttachmentData",{...n},s.contentWindow)).message;return!l||l.error?(vt(1,"PCBMANUFACTUREDATA_GETGERBERFILE"),C.progressManager.removeAll(),af(),{__isError:!0,__message:"get gerber file error."}):(vt(1,"PCBMANUFACTUREDATA_GETGERBERFILE"),C.progressManager.removeAll(),af(),{arrayBufferData:l.data,matchMimeType:wOt[n.fileType],fileName:(c=l.fileInfo)==null?void 0:c.fileName})}static async get3DFile(e){if(!Li())return null;let i={...e,timeout:1800*1e3};vt(.01,"PCBMANUFACTUREDATA_GET3DFILE");let o=wa().replace(/^3d-|^2d-/i,""),r=await he.getTabIFrame(o),n=(await C.windowBridge.rpcCall("/pcb/3d/model/export",i,r.contentWindow,Jet)).message,a=!n||!(n instanceof Array)||!n[0]?{__isError:!0,__message:"get 3d file error."}:{pcbData:n[0],optional:n[1],blobData:n[2].content};return vt(1,"PCBMANUFACTUREDATA_GET3DFILE"),a}static async get3DShellFile(e){if(!Li())return null;let i={...e};if(vt(.01,"PCBMANUFACTUREDATA_GET3DSHELLFILE"),!await HP.checkHas3DPrimitive())return vt(1,"PCBMANUFACTUREDATA_GET3DSHELLFILE"),{__isError:!0,__message:"get 3d shell file error."};let r=await Pt(kt.Pcb.Get3DShellFile,{...i,__onlyGetFileContent:!0});return vt(1,"PCBMANUFACTUREDATA_GET3DSHELLFILE"),r}static async getOrder3DShellFile(e){if(!Li())return null;vt(.01,"PCBMANUFACTUREDATA_GETORDER3DSHELLFILE"),await HP.order3DShell(),vt(1,"PCBMANUFACTUREDATA_GETORDER3DSHELLFILE")}static async getOrderPCB(e){if(!Li())return null;let i=await eUe();vt(.2/4,"Order PCB..."),await aq({silk:i,needDownLoad:!0})}static async getOrderSMT(e){if(!Li())return null;await ii("prepass-bom-standard-check",{cmd:"bom_order_parts_smt"})}static async getOrderComponents(e){if(!Li())return null;await ii("prepass-bom-standard-check",{cmd:"bom_order_parts"})}static async getPickAndPlaceFile(e){if(!Li())return null;let i={...e};vt(.01,"PCBMANUFACTUREDATA_GETPICKFILE");let o=wa().replace(/^3d-|^2d-/i,""),r=await he.getTabIFrame(o),n=(await C.windowBridge.rpcCall("exportCoordinateFileRPC",{formData:{...i,isOnlyCreateData:!0}},r.contentWindow)).message;if(!n)return vt(1,"PCBMANUFACTUREDATA_GETPICKFILE"),{__isError:!0,__message:"get pick_and_place file error."};let a=await TRr(n.head,n.result,n.fileName,n.fileType);return vt(1,"PCBMANUFACTUREDATA_GETPICKFILE"),{...n,blobData:a}}static async getBomFile(e){if(!Li())return null;if(e.template){let a=e.template,s=a.includes(".xlsx")?a:a+".xlsx",l=await U2(),c=[];if(l)if(c=l,c.map(u=>u.attr.name).includes(s))tH(s),delete e.template;else return null;else return null}let i=he.getActiveTabData(),o=ue.splitComponentId2FolderAndFilenameMixin(i.tabId),r={...e,selectedId:o.componentTitleOrId};vt(.01,"PCBMANUFACTUREDATA_GETBOMFILE");let n=await Cr("getExportBomFileData",{...r});return n.error?(vt(1,"PCBMANUFACTUREDATA_GETBOMFILE"),{__isError:!0,__message:"get bom file error."}):(vt(1,"PCBMANUFACTUREDATA_GETBOMFILE"),{arrayBufferData:n.data,matchMimeType:wOt[r.fileType]})}static async getBomDefaultParams(){let e=c1e("pcb"),i=he.getActiveTabData(),o=ue.splitComponentId2FolderAndFilenameMixin(i.tabId),{cloneTableKeys:r,allRules:n}=await(await C.messageBus.rpcCall("getExportBomData",{selectedFileInfo:{value:o.componentTitleOrId,env:"pcb"}})).message||{},a=n.filter(l=>![...e,...d1e].includes(l));return{statisticsArr:e,filterOptionArr:n,propertyArr:a,tableAttrKeysDefault:r}}static async getTestPointFile(e){if(!Li())return null;let i=he.getActiveTabData(),o=ue.splitComponentId2FolderAndFilenameMixin(i.tabId),r={...e,selectedId:o.componentTitleOrId};vt(.01,"PCBMANUFACTUREDATA_GETBOMFILE");let n=await ei(),a=(await C.windowBridge.rpcCall("pcb/getAllTestPoints","",n.contentWindow)).message,s="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8",l=["Number"],c=["Net"],d=["Center X"],u=["Center Y"],p=["Layer"],{items:m,UNIT:h}=a;for(let x of m){let{x:S,y:T,layerName:M,num:I,net:A}=x;l.push(I),c.push(A),d.push(S+" "+h),u.push(T+" "+h),p.push(M)}let f=new Nuo.Workbook,g=f.addWorksheet("Net");g.getColumn(1).values=l,g.getColumn(2).values=c,g.getColumn(3).values=d,g.getColumn(4).values=u,g.getColumn(5).values=p;let b=f.xlsx;r.fileType==="csv"&&(b=f.csv);let y=await b.writeBuffer(),w=new Blob([y],{type:s});return vt(1,"PCBMANUFACTUREDATA_GETBOMFILE"),{blobData:w}}static async getNetlistFile(e){if(!Li())return null;let o=he.getActiveTab().split("@")[0],{netlistType:r,fileName:n,extension:a}=e,s=await he.getActiveTab(),l=await C.messageBus.rpcCall("getBOMNetListSelectList",s);if(!l)return{__isError:!0,__message:"get net_list file error."};let c=[],{rangeSchList:d,rangePcbList:u}=l.message;u.length>0&&(u[0].style={borderTop:"1px solid var(--border-color-panel-divider)"});let p="all_pcb";[...d,...u].some(g=>{!g.isPcb||g.value==p||g.id===o&&c.push({uuid:g.value.toString(),title:g.title||g.text.toString(),dataStr:g.dataStr})});let h={},f=await l2e({netListType:r,fileName:n,extension:a,pcbMap:c,options:{additionalValue:"{Value}",tolerance:"",customProperty:!1,deviceName:!1,device:"{Footprint}",footprint:"{Footprint}"}});return h.blobData=await Zet(f,a),h}static async getDxfFile(e){if(!Li())return null;let i={...e};if(vt(.01,"Export DXF"),!i.layerConfigs.length){let s=await Pt(kt.Pcb.GetAllLayers);i.layerConfigs=s.map(l=>({layerId:+l.layerId,isMirror:!1,check:!0}))}let o={title:i.fileName,layerConfigs:i.layerConfigs,objectConfigs:i.objectConfigs,__isOnlyGetData:!0},r=wa().replace(/^3d-|^2d-/i,""),n=await he.getTabIFrame(r),a=(await C.windowBridge.rpcCall("exportDxfFileRPC",{...o},n.contentWindow)).message;return a?(vt(1,"Export DXF"),{blobData:a.blobData}):(vt(1,"Export DXF"),{__isError:!0,__message:"get dxf file error."})}static async getOpenDatabaseDoublePlusFile(e){if(!Li())return null;let i=C.loginedUserInfo.user_uuid,o=he.getActiveTab(),r=he.getActiveTabData(),n={...e,fileUuid:o,userUuid:i,title:r.title,language:me.curr},a=wa().replace(/^3d-|^2d-/i,""),s=await he.getTabIFrame(a);vt(.01,"PCBMANUFACTUREDATA_GETGERBERFILE");let l=(await C.windowBridge.rpcCall("exportOdbData",{...n},s.contentWindow)).message;return!l||l.error?(vt(1,"PCBMANUFACTUREDATA_GETGERBERFILE"),C.progressManager.removeAll(),af(),{__isError:!0,__message:"get gerber file error."}):(vt(1,"PCBMANUFACTUREDATA_GETGERBERFILE"),C.progressManager.removeAll(),af(),{arrayBufferData:l.data,matchMimeType:wOt[n.fileType]})}static async getDsnFile(e){if(!Li())return null;let i={...e};vt(.01,"PCBMANUFACTUREDATA_GETDSNFILE");let o=wa().replace(/^3d-|^2d-/i,""),r=await he.getTabIFrame(o),n=(await C.windowBridge.rpcCall("exportSpecctraFileRPC",{...i},r.contentWindow)).message;return n?(vt(1,"PCBMANUFACTUREDATA_GETDSNFILE"),{blobData:new Blob([n.dataStr],{type:"text/plain"})}):(vt(1,"PCBMANUFACTUREDATA_GETDSNFILE"),{__isError:!0,__message:"get dsn file error."})}static async getPcbInfoFile(){if(!Li())return null;vt(.01,"PCBMANUFACTUREDATA_GETPCBINFOFILE");let e=await Pt(kt.Pcb.GetSourcePCBInfo,{}),i=await DIe(),o=await EIe();e.lists&&e.lists instanceof Array&&e.lists.unshift(await bOt(i,o));let r=vXe.createOuterListsTextString(e.lists);return vt(1,"PCBMANUFACTUREDATA_GETPCBINFOFILE"),{blobData:new Blob([r],{type:"text/plain"})}}static async getFlyingProbeTestFile(e){if(!Li())return null;let i=await ei(),o=G0();vt(.01,"PCBMANUFACTUREDATA_FLYINGPROBETFILE");let{message:r}=await C.windowBridge.rpcCall("pcb/exportFlyingProbeFile",{pcbTitle:o},i.contentWindow);if(!r||r.error||!r.fileContent)return vt(1,"PCBMANUFACTUREDATA_FLYINGPROBETFILE"),{__isError:!0,__message:"get flying probe test file error."};let{fileContent:n,fileName:a}=r;return vt(1,"PCBMANUFACTUREDATA_FLYINGPROBETFILE"),{blobData:new Blob([n],{type:"text/plain"}),fileName:a}}static async getAutoRouteJson(e){if(!Li())return{jsonObject:void 0,pcbName:void 0};let i=await ei();vt(.01,"PCBMANUFACTUREDATA_AUTOROUTEJSONFILE");let{message:o}=await C.windowBridge.rpcCall("getNewAutoRouteJson",e,i.contentWindow);return o?(vt(1,"PCBMANUFACTUREDATA_AUTOROUTEJSONFILE"),C.progressManager.removeAll(),af(),{jsonObject:o,pcbName:he.getTabTitle()}):(vt(1,"PCBMANUFACTUREDATA_AUTOROUTEJSONFILE"),C.progressManager.removeAll(),af(),{jsonObject:void 0,pcbName:void 0})}static async getAutoRouteJsonForJR(e){if(!Li())return{jsonObject:void 0,pcbName:void 0};let i=await ei();vt(.01,"PCBMANUFACTUREDATA_AUTOROUTEJSONFILE");let{message:o}=await C.windowBridge.rpcCall("getNewAutoRouteJsonForJR",e,i.contentWindow);return o?(vt(1,"PCBMANUFACTUREDATA_AUTOROUTEJSONFILE"),C.progressManager.removeAll(),af(),{jsonObject:o,pcbName:he.getTabTitle()}):(vt(1,"PCBMANUFACTUREDATA_AUTOROUTEJSONFILE"),C.progressManager.removeAll(),af(),{jsonObject:void 0,pcbName:void 0})}static async getAutoLayoutJson(){if(!Li())return{jsonObject:void 0,pcbName:void 0};let e=await ei();vt(.01,"PCBMANUFACTUREDATA_AUTOLAYOUTJSONFILE");let{message:i}=await C.windowBridge.rpcCall("getNewAutoLayoutJson",void 0,e.contentWindow);return i?(vt(1,"PCBMANUFACTUREDATA_AUTOLAYOUTJSONFILE"),C.progressManager.removeAll(),af(),{jsonObject:i,pcbName:he.getTabTitle()}):(vt(1,"PCBMANUFACTUREDATA_AUTOLAYOUTJSONFILE"),C.progressManager.removeAll(),af(),{jsonObject:void 0,pcbName:void 0})}static async getIPCFile(){if(!Li())return null;let e=await ei(),i=dt();if(!e||i!==se.PCB)return;vt(.01,"PCBMANUFACTUREDATA_GETIPC_D_356AFILE");let o=C.currentProject.title,{message:r}=await C.messageBus.rpcCall($e.PROJECT.GET,[C.currentProject.projectId]),n=he.getActiveTab(),{uuid:a}=he.getUuidAndPathByTab(n),s=r.boards,l="";if(s){for(let m of s)if(m.pcb==a){l=m.name;break}}let c=C.client.currentProjectPath||"",d=await Pt(kt.Pcb.GetIPC_D_356AFile,{projectTitle:o,boardTitle:l,title:c});if(!d||!d.text)return vt(1,"PCBMANUFACTUREDATA_GETIPC_D_356AFILE"),null;let u=d.fileName,p=d.text;return vt(1,"PCBMANUFACTUREDATA_GETIPC_D_356AFILE"),{ipcFileName:u,source:p}}static getADFile(){return new Promise(async(e,i)=>{if(!Li())return e(null);let o="altium",r=dt();if(Zie(r)){let n=await qre(o);aH(n,o,a=>{e(a)})}else{let n=await sD(o);aH(n,o,a=>{e(a)})}})}static async getPADSFile(){return new Promise(async(e,i)=>{if(!Li())return e(null);let o="pads",r=dt();if(Zie(r)){let n=await qre(o);aH(n,o,a=>{e(a)})}else{let n=await sD(o);aH(n,o,a=>{e(a)})}})}static async getPDFFile(){if(!Li())return null;await XS.getInstance().initData();let i=XS.getInstance().exportConfig;if(!tq(i))return;let o=await ySe(i,!1);return o||null}static async getBomTemplates(){if(!Li())return null;let e=await U2(),i=[];return e&&(i=e),i.map(r=>r.attr.name)}static async deleteBomTemplate(e){if(!Li())return!1;let i=await U2(),o=[];if(i)if(o=i,o.map(a=>a.attr.name).includes(e)&&e!=="\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248BOM\u6A21\u677F.xlsx"){eSe(e);let a=mt.getCacheObj(rD);return e==a&&tH("None"),!0}else return!1;else return!1}static async uploadBomTemplateFile(e){if(!Li())return null;let i=e.templateFile,o=i.type;if("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet".indexOf(o)<0||!o){new Fi({type:"error",msg:"Please select xlsx format file."});return}return await SRr(i,e.template)}static async getBomTemplateFile(e){if(!Li()||!e)return null;let i=e.includes(".xlsx")?e:e+".xlsx",r=(await U2()).find(n=>n.attr.name===i);if(r){r.attr.created=new Date(r.attr.created);let n=r.attr,a=new kp(n);return tSe(r,a),await a.getExportFileBlob("xlsx")}else console.log("No template: "+i)}static async getInteractiveBomFile(){return Li()?(vt(0,"smtUILoading"),window.setTimeout(()=>{C.downloadFileForExtensionApi=!0,(0,Auo.default)(document.body).append('<iframe id="solderingAssistanceExport" src="editor?entry=welding-tools" frameborder="0" border="0" style="position: fixed; top:-1px;left:-1px;width: 1px;height: 1px; z-index: 9999;"></iframe>'),cn.setHash("wel",he.getActiveTab(),!0)}),new Promise(async(e,i)=>{C.messageBus.subscribe("pcb/getInteractiveBomFile",o=>{e(o)})})):null}static async getManufactureData(){rr.isNeedReturnFiles=!0,rr.returnsFile=void 0;let e=async(a,s)=>{switch(a){case"Gerber":let l=rr.fileConfigMap.get("Gerber");await fH("export-gerber",!1,{hide:s,from:"oneClickExport",...l});break;case"BOM":let c=rr.fileConfigMap.get("BOM");await ii("export-bom",{originInfo:{hide:s,from:"oneClickExport",...c}});break;case"Coordinate File":let d=rr.fileConfigMap.get("Coordinate File");await ii("export-pick-place-file",{originInfo:{hide:s,from:"oneClickExport",...d}});break;case"3D File":let u=rr.fileConfigMap.get("3D File");await ii("export-3d-file",{originInfo:{hide:s,from:"oneClickExport",...u}});break;case"DXF":let p=rr.fileConfigMap.get("DXF"),m={id:"exportDxf",title:"Export DXF",width:"750px",originInfo:{hide:s,from:"oneClickExport",...p}};await une(m);break;case"PDF":let h=rr.fileConfigMap.get("PDF");nq(one(dt()),"filePdf",void 0,{hide:s,from:"oneClickExport",...h});break;case"ODB++":let f=rr.fileConfigMap.get("ODB++");await fH("export-odb++",!1,{hide:s,from:"oneClickExport",...f});break;case"Netlist":let g=rr.fileConfigMap.get("Netlist");await ii("export-netlist",{originInfo:{hide:s,from:"oneClickExport",...g}});break;case"Test Point Report":let b=rr.fileConfigMap.get("Test Point Report");await ii("export-test-point-report",{originInfo:{hide:s,from:"oneClickExport",...b}});break}};rr.globalFileName||(rr.globalFileName="Manufacture.zip");let i=rr.getSelectedData();for(let a of i)e(a.fileType,!0);async function o(a,s=1e3,l=6e4){return new Promise((c,d)=>{let u=Date.now(),p=setInterval(()=>{a()?(clearInterval(p),c(!0)):Date.now()-u>=l&&(clearInterval(p),d(new Error))},s)})}let r=()=>typeof rr.returnsFile=="object";await o(r);let n;return r()&&(n=structuredClone(rr.returnsFile)),rr.isNeedReturnFiles=!1,rr.returnsFile=void 0,n}};var qet,MRr=new Uint8Array(16);function Xet(){if(!qet&&(qet=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!qet))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return qet(MRr)}var kuo=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function IRr(t){return typeof t=="string"&&kuo.test(t)}var d2e=IRr;var ux=[];for($et=0;$et<256;++$et)ux.push(($et+256).toString(16).substr(1));var $et;function LRr(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=(ux[t[e+0]]+ux[t[e+1]]+ux[t[e+2]]+ux[t[e+3]]+"-"+ux[t[e+4]]+ux[t[e+5]]+"-"+ux[t[e+6]]+ux[t[e+7]]+"-"+ux[t[e+8]]+ux[t[e+9]]+"-"+ux[t[e+10]]+ux[t[e+11]]+ux[t[e+12]]+ux[t[e+13]]+ux[t[e+14]]+ux[t[e+15]]).toLowerCase();if(!d2e(i))throw TypeError("Stringified UUID is invalid");return i}var u2e=LRr;function vRr(t){if(!d2e(t))throw TypeError("Invalid UUID");var e,i=new Uint8Array(16);return i[0]=(e=parseInt(t.slice(0,8),16))>>>24,i[1]=e>>>16&255,i[2]=e>>>8&255,i[3]=e&255,i[4]=(e=parseInt(t.slice(9,13),16))>>>8,i[5]=e&255,i[6]=(e=parseInt(t.slice(14,18),16))>>>8,i[7]=e&255,i[8]=(e=parseInt(t.slice(19,23),16))>>>8,i[9]=e&255,i[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,i[11]=e/4294967296&255,i[12]=e>>>24&255,i[13]=e>>>16&255,i[14]=e>>>8&255,i[15]=e&255,i}var COt=vRr;function DRr(t){t=unescape(encodeURIComponent(t));for(var e=[],i=0;i<t.length;++i)e.push(t.charCodeAt(i));return e}var ERr="6ba7b810-9dad-11d1-80b4-00c04fd430c8",ARr="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function ett(t,e,i){function o(r,n,a,s){if(typeof r=="string"&&(r=DRr(r)),typeof n=="string"&&(n=COt(n)),n.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var l=new Uint8Array(16+r.length);if(l.set(n),l.set(r,n.length),l=i(l),l[6]=l[6]&15|e,l[8]=l[8]&63|128,a){s=s||0;for(var c=0;c<16;++c)a[s+c]=l[c];return a}return u2e(l)}try{o.name=t}catch{}return o.DNS=ERr,o.URL=ARr,o}function NRr(t){if(typeof t=="string"){var e=unescape(encodeURIComponent(t));t=new Uint8Array(e.length);for(var i=0;i<e.length;++i)t[i]=e.charCodeAt(i)}return kRr(PRr(ORr(t),t.length*8))}function kRr(t){for(var e=[],i=t.length*32,o="0123456789abcdef",r=0;r<i;r+=8){var n=t[r>>5]>>>r%32&255,a=parseInt(o.charAt(n>>>4&15)+o.charAt(n&15),16);e.push(a)}return e}function Puo(t){return(t+64>>>9<<4)+14+1}function PRr(t,e){t[e>>5]|=128<<e%32,t[Puo(e)-1]=e;for(var i=1732584193,o=-271733879,r=-1732584194,n=271733878,a=0;a<t.length;a+=16){var s=i,l=o,c=r,d=n;i=I5(i,o,r,n,t[a],7,-680876936),n=I5(n,i,o,r,t[a+1],12,-389564586),r=I5(r,n,i,o,t[a+2],17,606105819),o=I5(o,r,n,i,t[a+3],22,-1044525330),i=I5(i,o,r,n,t[a+4],7,-176418897),n=I5(n,i,o,r,t[a+5],12,1200080426),r=I5(r,n,i,o,t[a+6],17,-1473231341),o=I5(o,r,n,i,t[a+7],22,-45705983),i=I5(i,o,r,n,t[a+8],7,1770035416),n=I5(n,i,o,r,t[a+9],12,-1958414417),r=I5(r,n,i,o,t[a+10],17,-42063),o=I5(o,r,n,i,t[a+11],22,-1990404162),i=I5(i,o,r,n,t[a+12],7,1804603682),n=I5(n,i,o,r,t[a+13],12,-40341101),r=I5(r,n,i,o,t[a+14],17,-1502002290),o=I5(o,r,n,i,t[a+15],22,1236535329),i=L5(i,o,r,n,t[a+1],5,-165796510),n=L5(n,i,o,r,t[a+6],9,-1069501632),r=L5(r,n,i,o,t[a+11],14,643717713),o=L5(o,r,n,i,t[a],20,-373897302),i=L5(i,o,r,n,t[a+5],5,-701558691),n=L5(n,i,o,r,t[a+10],9,38016083),r=L5(r,n,i,o,t[a+15],14,-660478335),o=L5(o,r,n,i,t[a+4],20,-405537848),i=L5(i,o,r,n,t[a+9],5,568446438),n=L5(n,i,o,r,t[a+14],9,-1019803690),r=L5(r,n,i,o,t[a+3],14,-187363961),o=L5(o,r,n,i,t[a+8],20,1163531501),i=L5(i,o,r,n,t[a+13],5,-1444681467),n=L5(n,i,o,r,t[a+2],9,-51403784),r=L5(r,n,i,o,t[a+7],14,1735328473),o=L5(o,r,n,i,t[a+12],20,-1926607734),i=v5(i,o,r,n,t[a+5],4,-378558),n=v5(n,i,o,r,t[a+8],11,-2022574463),r=v5(r,n,i,o,t[a+11],16,1839030562),o=v5(o,r,n,i,t[a+14],23,-35309556),i=v5(i,o,r,n,t[a+1],4,-1530992060),n=v5(n,i,o,r,t[a+4],11,1272893353),r=v5(r,n,i,o,t[a+7],16,-155497632),o=v5(o,r,n,i,t[a+10],23,-1094730640),i=v5(i,o,r,n,t[a+13],4,681279174),n=v5(n,i,o,r,t[a],11,-358537222),r=v5(r,n,i,o,t[a+3],16,-722521979),o=v5(o,r,n,i,t[a+6],23,76029189),i=v5(i,o,r,n,t[a+9],4,-640364487),n=v5(n,i,o,r,t[a+12],11,-421815835),r=v5(r,n,i,o,t[a+15],16,530742520),o=v5(o,r,n,i,t[a+2],23,-995338651),i=D5(i,o,r,n,t[a],6,-198630844),n=D5(n,i,o,r,t[a+7],10,1126891415),r=D5(r,n,i,o,t[a+14],15,-1416354905),o=D5(o,r,n,i,t[a+5],21,-57434055),i=D5(i,o,r,n,t[a+12],6,1700485571),n=D5(n,i,o,r,t[a+3],10,-1894986606),r=D5(r,n,i,o,t[a+10],15,-1051523),o=D5(o,r,n,i,t[a+1],21,-2054922799),i=D5(i,o,r,n,t[a+8],6,1873313359),n=D5(n,i,o,r,t[a+15],10,-30611744),r=D5(r,n,i,o,t[a+6],15,-1560198380),o=D5(o,r,n,i,t[a+13],21,1309151649),i=D5(i,o,r,n,t[a+4],6,-145523070),n=D5(n,i,o,r,t[a+11],10,-1120210379),r=D5(r,n,i,o,t[a+2],15,718787259),o=D5(o,r,n,i,t[a+9],21,-343485551),i=I$(i,s),o=I$(o,l),r=I$(r,c),n=I$(n,d)}return[i,o,r,n]}function ORr(t){if(t.length===0)return[];for(var e=t.length*8,i=new Uint32Array(Puo(e)),o=0;o<e;o+=8)i[o>>5]|=(t[o/8]&255)<<o%32;return i}function I$(t,e){var i=(t&65535)+(e&65535),o=(t>>16)+(e>>16)+(i>>16);return o<<16|i&65535}function RRr(t,e){return t<<e|t>>>32-e}function ttt(t,e,i,o,r,n){return I$(RRr(I$(I$(e,t),I$(o,n)),r),i)}function I5(t,e,i,o,r,n,a){return ttt(e&i|~e&o,t,e,r,n,a)}function L5(t,e,i,o,r,n,a){return ttt(e&o|i&~o,t,e,r,n,a)}function v5(t,e,i,o,r,n,a){return ttt(e^i^o,t,e,r,n,a)}function D5(t,e,i,o,r,n,a){return ttt(i^(e|~o),t,e,r,n,a)}var Ouo=NRr;var Lsd=ett("v3",48,Ouo);function _Rr(t,e,i){t=t||{};var o=t.random||(t.rng||Xet)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,e){i=i||0;for(var r=0;r<16;++r)e[i+r]=o[r];return e}return u2e(o)}var L$=_Rr;function jRr(t,e,i,o){switch(t){case 0:return e&i^~e&o;case 1:return e^i^o;case 2:return e&i^e&o^i&o;case 3:return e^i^o}}function xOt(t,e){return t<<e|t>>>32-e}function BRr(t){var e=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){var o=unescape(encodeURIComponent(t));t=[];for(var r=0;r<o.length;++r)t.push(o.charCodeAt(r))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);for(var n=t.length/4+2,a=Math.ceil(n/16),s=new Array(a),l=0;l<a;++l){for(var c=new Uint32Array(16),d=0;d<16;++d)c[d]=t[l*64+d*4]<<24|t[l*64+d*4+1]<<16|t[l*64+d*4+2]<<8|t[l*64+d*4+3];s[l]=c}s[a-1][14]=(t.length-1)*8/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=(t.length-1)*8&4294967295;for(var u=0;u<a;++u){for(var p=new Uint32Array(80),m=0;m<16;++m)p[m]=s[u][m];for(var h=16;h<80;++h)p[h]=xOt(p[h-3]^p[h-8]^p[h-14]^p[h-16],1);for(var f=i[0],g=i[1],b=i[2],y=i[3],w=i[4],x=0;x<80;++x){var S=Math.floor(x/20),T=xOt(f,5)+jRr(S,g,b,y)+w+e[S]+p[x]>>>0;w=y,y=b,b=xOt(g,30)>>>0,g=f,f=T}i[0]=i[0]+f>>>0,i[1]=i[1]+g>>>0,i[2]=i[2]+b>>>0,i[3]=i[3]+y>>>0,i[4]=i[4]+w>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,i[0]&255,i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,i[1]&255,i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,i[2]&255,i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,i[3]&255,i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,i[4]&255]}var Ruo=BRr;var Osd=ett("v5",80,Ruo);var Ml=L(z()),zRr="export pcb step2",HM={warned:!1,pcbId:"",fileType:"step",exportObj:["pcb","componentModel"],stepConfig:"assembly",isAutoGenerate3dModel:!0,exportResult:"Speed"},FRr=["Supplier","Supplier Part","Manufacturer","Manufacturer Part","Value","Footprint","Designator","Comment","Quantity","No.","Add into BOM","Convert to PCB"],_uo=["Add into BOM","Convert to PCB"],URr=[{text:"green",value:"green"},{text:"blue",value:"blue"},{text:"red",value:"red"},{text:"white",value:"white"},{text:"yellow",value:"yellow"},{text:"black",value:"black"},{text:"purple",value:"purple"},{text:"coppery",value:"coppery"}],VRr=t=>{var B,V,G;let{containerId:e}=t,{locals:i}=TOt.default,o=be.bind(i);Ae(TOt.default);let r=J(),n="Tip: only the component model imported in step format can be reflected in the exported step file",[a,s]=(0,gw.useState)(""),l=(0,gw.useRef)({fileType:"step",exportObj:["pcb","componentModel"],stepConfig:"assembly",exportResult:"Speed",isAutoGenerate3dModel:!0,isExcludeModel:!0}),[c,d]=(0,gw.useState)(-1),u=(0,gw.useCallback)(()=>{d(new Date().getTime())},[]),[p,m]=(0,gw.useState)(!1),[h,f]=(0,gw.useState)([]),[g,b]=(0,gw.useState)(),[y,w]=(0,gw.useState)([]),[x,S]=(0,gw.useState)(""),[T,M]=(0,gw.useState)(),I={},A=(()=>{let Q=!1,H=null;return q=>{let U=0,F=.15,K=3e3,te=ae=>{ae&&(H&&(clearInterval(H),H=null),I[q].isCancel=!0,I[q].reject())};vt(U,"start progress pcb step2",void 0,te),H=setInterval(()=>{U+=K/1e3*.01,vt(U,"start progress pcb step2",void 0,te),U>=F&&clearInterval(H)},K),Q||(Q=!0,C.messageBus.subscribe("/model/export/pcb/step2/progress",ae=>{var Z;if((Z=I[ae.id])!=null&&Z.isCancel&&ae.per<1)return;H&&(clearInterval(H),H=null,vt(1,"start progress pcb step2",void 0,te));let pe=F+(1-F)*ae.per;vt(pe,`${zRr}${ae.id}`,void 0,ee=>{if(!ee){delete I[ae.id];return}I[ae.id].isCancel=!0,I[ae.id].reject()})}))}})(),D=(0,gw.useCallback)(Q=>{let H=/\.zip$/i.test(Q.name);wi&&H?cd(Q.content,Q.name,"zip"):N2.downloadFile(Q.name,Q.content),le.close(e);let q=It.getActiveTab(he.getTabContainer(he.currentTabId));C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.D3FILE_EXPORT,content:{"Scope Name":q?q.title:""},project_uuid:C.currentProject.projectId}]),Pl("6")},[]);async function E(Q,H,q,U,F){let K=new gne(U,F.contentWindow);if(await K.handleExceptionalInfo(Q),await K.handleStatusInfo(H),!K.hasException()){D(q),Zr();return}function ae(Z){switch(Z){case"cancel":le.close(e);break;case"reload":N();break;case"export":D(q),K.logAfterExport(),le.close(e);break;default:break}}let pe=K.getCompInfoForExportDialog();Iuo(pe,ae,U),Zr()}async function N(){var H;let Q={};if(Q.name=a.trim(),Q.pcbName=UP.get(wa().replace(/^3d-|^2d-/i,""))||he.getTabTitle(he.getActiveTab()),!dh(Q.name,1)){Zr();return}try{let q=L$(),U=new Promise((ae,pe)=>{I[q]={isCancel:!1,reject:()=>{ae(null)}}}),F=wa().replace(/^3d-|^2d-/i,""),K=await he.getTabIFrame(F);Q.type=l.current.fileType,Q.obj=l.current.exportObj.join(","),Q.isAutoGenerate3dModel=l.current.isAutoGenerate3dModel,Q.assembly=l.current.stepConfig==="assembly",Q.type==="step"?A(q):Ts(),Q.timeout=1800*1e3,Q.solderColorMat={color:T},Q.isSpeedPriority=l.current.exportResult==="Speed",l.current.isExcludeModel&&(Q.filterCompCondition={[g]:x}),Q.id=q;let te=(H=await Promise.race([U,C.windowBridge.rpcCall("/pcb/3d/model/export",Q,K.contentWindow,Jet)]))==null?void 0:H.message;if(!te){Q.type!=="step"&&Zr();return}if(te.isTimeout)return I[q].isCancel=!0,Q.type==="step"?af():Zr(),Ot("warn",me.i18n("The file is too large to export."));E(te[0],te[1],te[2],F,K)}finally{le.hide(e)}}let R=(Q,H)=>{let q=l.current.exportObj.indexOf(Q);["via","silk","track"].includes(Q)&&!HM.warned&&H&&(HM.warned=!0,Dt({title:"Notice",content:"The export time might be significantly lengthened to between 10 and 20 minutes by choosing to export via, silkscreen, and signal layer circuits, Please be informed."})),H&&q===-1?l.current.exportObj.push(Q):!H&&q>-1&&l.current.exportObj.splice(q,1),u()};(0,gw.useEffect)(()=>{var U,F;let Q=wa().replace(/^3d-|^2d-/i,"");HM.pcbId===Q?(l.current.fileType=((U=t.originInfo)==null?void 0:U.fileType)||HM.fileType,l.current.exportObj=HM.exportObj,l.current.stepConfig=HM.stepConfig,l.current.isAutoGenerate3dModel=HM.isAutoGenerate3dModel,l.current.exportResult=HM.exportResult):HM.pcbId=Q;let H=UP.get(Q)||he.getTabTitle(he.getActiveTab()),q=ue.formatDate2(new Date,"y-m-d");return s(`3D_${H}_${q}`),((F=t.originInfo)==null?void 0:F.hide)!==void 0&&_(t.originInfo),()=>{HM.fileType=l.current.fileType,HM.exportObj=l.current.exportObj,HM.stepConfig=l.current.stepConfig,HM.isAutoGenerate3dModel=l.current.isAutoGenerate3dModel,HM.warned=!1,HM.exportResult=l.current.exportResult}},[]);let v=async()=>{let Q=wa().replace(/^3d-|^2d-/i,""),H=await he.getTabIFrame(Q),q=(await C.windowBridge.rpcCall("pcb_getComponentAttr",{},H.contentWindow)).message;q=k(q),b(q.find(U=>U==="Add into BOM")),S("no"),f(q),w(q)},k=Q=>{let H=new Set;for(let q of Q.concat(FRr))H.add(q);return Array.from(H)};(0,gw.useEffect)(()=>{let Q=he.getActiveTab();he.getTabDocType(Q)===ve.PCB?M("blue"):(async()=>{let U=await ei(),F=(await C.windowBridge.rpcCall("getPcb3DBoardColor",{},U.contentWindow)).message;M(F||"blue")})(),v()},[]);let P=Q=>{if(!Q)w(h);else{let H=h.filter(q=>FM(q,r).indexOf(Q)>-1);w(H)}};(B=t.originInfo)!=null&&B.hide&&(le.hide(e),(0,gw.useEffect)(()=>{p&&O()},[p]));let O=Gr(async()=>{var ee;let Q=L$(),H=new Promise((ce,ne)=>{I[Q]={isCancel:!1,reject:()=>{ce(null)}}}),q={};if(q.name=a.trim(),!dh(q.name,1)){await j(null),Zr();return}let U=wa().replace(/^3d-|^2d-/i,""),F=await he.getTabIFrame(U);q.type=l.current.fileType,q.obj=l.current.exportObj.join(","),q.isAutoGenerate3dModel=l.current.isAutoGenerate3dModel,q.assembly=l.current.stepConfig==="assembly",q.type==="step"?A(Q):Ts(),q.timeout=1800*1e3,q.solderColorMat={color:T},q.isSpeedPriority=l.current.exportResult==="Speed",l.current.isExcludeModel&&(q.filterCompCondition={[g]:x}),q.pcbName=UP.get(U)||he.getTabTitle(he.getActiveTab());let K=(ee=await Promise.race([H,await C.windowBridge.rpcCall("/pcb/3d/model/export",q,F.contentWindow,Jet)]))==null?void 0:ee.message;if(!K){q.type!=="step"&&Zr(),await j(null);return}if(K.isTimeout){I[Q].isCancel=!0,q.type==="step"?af():Zr(),Ot("warn",me.i18n("The file is too large to export.")),await j(null);return}let te=new gne(U,F.contentWindow);await te.handleExceptionalInfo(K[0]),await te.handleStatusInfo(K[1]),te.logAfterExport(),Zr();let ae=/\.zip$/i.test(K[2].name),pe={fileContent:K[2].content,fileType:ae?"zip":q.type};await j(pe);let Z=It.getActiveTab(he.getTabContainer(he.currentTabId));C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.D3FILE_EXPORT,content:{"Scope Name":Z?Z.title:""},project_uuid:C.currentProject.projectId}]),Pl("6")},100),_=Gr(Q=>{Q!=null&&Q.fileName&&s(Q==null?void 0:Q.fileName),Q!=null&&Q.type&&(l.current.fileType=Q==null?void 0:Q.type),Q!=null&&Q.obj&&(l.current.exportObj=Q==null?void 0:Q.obj),(Q==null?void 0:Q.isAutoGenerate3dModel)!==void 0&&(l.current.isAutoGenerate3dModel=Q==null?void 0:Q.isAutoGenerate3dModel),(Q==null?void 0:Q.stepConfig)!==void 0&&(l.current.stepConfig=Q==null?void 0:Q.stepConfig),m(!0)},100),j=async Q=>{await rr.setFilesMap({[rr.d3FileName]:Q}),le.close(e)};return(0,Ml.jsxs)("div",{children:[(0,Ml.jsx)("p",{className:o("header"),"data-test":n,children:r(n)}),(0,Ml.jsxs)("div",{className:o("content"),children:[(0,Ml.jsxs)("div",{className:o("row"),children:[(0,Ml.jsx)("span",{className:o("left-label"),"data-test":"File Name:",children:r("File Name:")}),(0,Ml.jsx)(Kt,{style:{width:"70%"},value:a,onChange:Q=>{s(Q)}})]}),(0,Ml.jsxs)("div",{className:o("row"),children:[(0,Ml.jsx)("span",{className:o("left-label"),"data-test":"File Type:",children:r("File Type:")}),(0,Ml.jsx)($i,{value:l.current.fileType,options:[{value:"step",label:"STEP"},{value:"obj",label:"OBJ"}],onChange:Q=>{l.current.fileType=Q,u()}})]}),(0,Ml.jsxs)("div",{className:o("row"),children:[(0,Ml.jsx)("span",{className:o("left-label"),"data-test":"Export Object:",children:r("Export Object:")}),(0,Ml.jsx)(qt,{className:o("checkbox-item"),children:"PCB",defaultChecked:!0,disabled:!0}),(0,Ml.jsx)(qt,{className:o("checkbox-item"),children:"Component Model",checked:l.current.exportObj.includes("componentModel"),onChange:Q=>R("componentModel",Q)}),(0,Ml.jsx)(qt,{className:o("checkbox-item"),children:"Through Via",checked:l.current.exportObj.includes("via"),onChange:Q=>R("via",Q)})]}),(0,Ml.jsxs)("div",{className:o("row"),children:[(0,Ml.jsx)("span",{className:o("left-label"),"data-test":"Export Object2:",children:""}),(0,Ml.jsx)(qt,{className:o("checkbox-item"),children:"Silk Screen",checked:l.current.exportObj.includes("silk"),onChange:Q=>R("silk",Q)}),(0,Ml.jsx)(qt,{className:o("checkbox-item"),children:"Signal layer circuits",checked:l.current.exportObj.includes("track"),onChange:Q=>R("track",Q)})]}),(0,Ml.jsxs)("div",{className:o("row"),children:[(0,Ml.jsx)("span",{className:o("left-label"),"data-test":"Board Color:",children:r("Board Color:")}),(0,Ml.jsx)(xt,{list:URr,style:{width:"83%"},value:T||"blue",onChange:Q=>{M(Q)}})]}),(0,Ml.jsxs)("div",{className:o("row"),children:[(0,Ml.jsx)("span",{className:o("left-label"),"data-test":"Export Option2:",children:r("Export Option:")}),(0,Ml.jsx)(qt,{style:{display:"flex"},children:'For components without bound 3D models, 3D models will be automatically generated (based on the "Height" property)',checked:l.current.isAutoGenerate3dModel,onChange:Q=>{l.current.isAutoGenerate3dModel=Q,u()}})]}),(0,Ml.jsxs)("div",{className:o("row"),style:{display:"flex"},children:[(0,Ml.jsx)("span",{className:o("left-label"),"data-test":"Export Option2:"}),(0,Ml.jsx)(qt,{style:{display:"flex"},checked:l.current.isExcludeModel,onChange:Q=>{l.current.isExcludeModel=Q,u()}}),(0,Ml.jsxs)("div",{style:{display:"flex",alignItems:"center",width:"600px"},children:[(0,Ml.jsx)("p",{style:{width:"30px",marginLeft:"4px"},children:r("Remove")}),(0,Ml.jsx)("div",{style:{width:"160px",height:"20px"},children:(0,Ml.jsx)(ld,{className:o("rule-select-wrap"),style:{minWidth:"120px"},selectedValue:g,searchAble:!0,dropBoxPadding:"4px",showHoverTitle:!0,onSearchInput:Q=>{P(Q)},onItemChange:Q=>{b(Q),_uo.includes(Q)||S("")},hiddenCallback:()=>{P("")},children:y.map((Q,H)=>(0,Ml.jsx)(lc,{value:Q,title:FM(Q,r),children:FM(Q,r)},H))})}),(0,Ml.jsx)("p",{style:{width:"34px",margin:"0px -7px 0px 7px"},children:r("has")}),_uo.includes(g)?(0,Ml.jsx)("div",{style:{width:"60px"},children:(0,Ml.jsx)(xt,{style:{width:"100%"},name:"content",value:x,list:[{value:"no",text:"no"},{value:"yes",text:"yes"}],onChange:Q=>{S(Q)}})}):(0,Ml.jsx)("input",{type:"text",name:"content",value:x||"",style:{width:"110px"},onChange:Q=>{S(Q.target.value)}}),(0,Ml.jsx)("p",{style:{width:"85px",marginLeft:"4px"},children:"\u7684\u5143\u4EF6\u6A21\u578B"})]})]}),l.current.fileType==="step"&&(0,Ml.jsxs)("div",{className:o("row"),children:[(0,Ml.jsx)("span",{className:o("left-label"),"data-test":"Export results:",children:r("Export results:")}),(0,Ml.jsx)($i,{value:l.current.exportResult,options:[{value:"Speed",label:"Speed Priority"},{value:"Quality",label:"Quality Priority"}],onChange:Q=>{l.current.exportResult=Q,u()}})]})]}),(0,Ml.jsxs)("div",{className:o("footer"),children:[((V=t.originInfo)==null?void 0:V.from)=="oneClickExport"&&(0,Ml.jsx)(Me,{"data-test":"Confirm",type:"primary",style:{marginRight:"8px"},onClick:()=>{if(!dh(a.trim()))return;let Q={fileName:a,type:l.current.fileType,obj:l.current.exportObj,isAutoGenerate3dModel:l.current.isAutoGenerate3dModel,stepConfig:l.current.stepConfig};rr.setFileConfigMap({type:"3D File",valData:Q}),le.close(e)},children:"Confirm"}),((G=t.originInfo)==null?void 0:G.from)!=="oneClickExport"&&(0,Ml.jsx)(Me,{type:"primary",onClick:()=>{N()},style:{minWidth:"72px",marginLeft:"8px"},children:"Export"}),(0,Ml.jsx)(Me,{onClick:()=>{le.close()},style:{minWidth:"72px",marginLeft:"8px"},children:"Cancel"})]})]})},juo=VRr;var Buo=L(z());async function SOt(t,e){let i=bt[t],{containerId:o,title:r,width:n,closed:a,height:s}=i;return le.open({id:o,title:r,width:n,height:s,closed:a,children:(0,Buo.jsx)(juo,{containerId:o,originInfo:e.originInfo})}),{origin:"react"}}var ott=L(Fuo());var Uuo=L(Se());var Ba=L(z()),{locals:hcd}=ott.default;var ql=Oa.getInstance(),HRr=t=>{let e=be.bind(ott.default.locals);Ae(ott.default);let i=J(),{containerId:o}=t;Ce(ql),(0,Uuo.useEffect)(()=>{ql.needShowFootprintAnd3DModel&&(ql.needBind=!0)},[]);let r=async l=>{switch(l){case"confirm":if(ql.disableImport)return;ql.disableImport=!0,await Huo(),ql.disableImport=!1,le.close(o);break;case"cancel":case"close":ql.clear(),le.close(o);break}},n=()=>{GRr()},a=(l,c)=>{switch(c.target.name){case"op":ql.changeImportChecked(c.target.value);break;case"solder-expasion":ql.changeExpansionChecked(c.target.value);break;case"board-source":ql.changeBoardChecked(c.target.value);break;case"styleOp":ql.changeStyleChecked(c.target.value);break;case"op-smt":ql.changeSmtChecked(c.target.value);break}},s=(l,c,d)=>{let u=c.target.name,{key:p}=d,m;switch(u){case"footprint-3d":m={[p]:{checked:l}},ql.changeFootprintAnd3DModelChecked(m);break;case"notes":m={[p]:{checked:l}},ql.changeNotesChecked(m);break}};return(0,Ba.jsxs)("div",{className:e("oneLineOneInputDlg"),children:[(0,Ba.jsx)("div",{className:e("pop-content-wrapper"),children:(0,Ba.jsxs)("div",{id:"form_import",children:[(0,Ba.jsx)("input",{type:"hidden",name:"to",value:"EasyEDA"}),(0,Ba.jsx)("input",{type:"hidden",name:"to_enc",value:"UTF-8"}),(0,Ba.jsx)("div",{className:e("border"),children:(0,Ba.jsxs)("div",{className:e("choose import-input-common"),style:{margin:0},children:[(0,Ba.jsxs)("div",{className:e("line"),children:[(0,Ba.jsxs)("div",{className:e("name"),title:i("File Type")+":","data-test":"File Type",children:[i("File Type"),":"]}),(0,Ba.jsx)("div",{className:e("value"),children:(0,Ba.jsx)("div",{className:e("filetype"),children:(0,Ba.jsx)(xt,{list:ql.fileTypeListData,value:ql.activeType,onChange:l=>{(ql.forSmt||ql.forEngine)&&!ql.fileName&&(le.close(o),MOt()),ql.changeFileTypeValue(l)},style:{width:"100%"}})})})]}),(0,Ba.jsxs)("div",{className:e("line"),children:[(0,Ba.jsxs)("div",{className:e("name"),title:i("Filename")+":","data-test":"Filename",children:[i("Filename"),":"]}),(0,Ba.jsxs)("div",{className:e("value omit"),children:[(0,Ba.jsx)("input",{type:"text",className:e("filename import_file_area"),readOnly:!0,value:ql.fileName,name:"file_name","data-test":"Click here to select file",placeholder:i("Click here to select file"),onClick:n}),(0,Ba.jsx)("span",{className:e("import_file_area dot"),onClick:n,children:"\xB7\xB7\xB7"}),(0,Ba.jsx)("a",{id:"import_file_button_pcb",className:e("easyui-linkbutton emphasize-btn"),style:{display:"none",cursor:"pointer"}})]})]}),(0,Ba.jsx)("div",{"data-test":"Maximum file size: {size}",style:{margin:"0 0 8px 105px"},children:i({value:"Maximum file size: {size}",options:{size:ql.size}})}),ql.needShowImport&&(0,Ba.jsxs)("div",{className:e("fileOperate"),children:[(0,Ba.jsxs)("div",{className:e("name"),"data-test":"Option",title:i("Option")+":","data-i18n-attr":"title",children:[i("Option"),":"]}),(0,Ba.jsx)("div",{className:e("radio"),children:ql.importOptions.map((l,c)=>(0,Ba.jsx)("div",{className:e("label"),children:(0,Ba.jsx)(nn,{...l,onChange:(d,u)=>{a(d,u)}})},c))})]}),ql.needShowExpansion&&(0,Ba.jsxs)("div",{className:e("fileOperate"),children:[(0,Ba.jsxs)("div",{className:e("name"),"data-test":"Via Solder Mask Expansion",title:i("Via Solder Mask Expansion")+":","data-i18n-attr":"title",children:[i("Via Solder Mask Expansion"),":"]}),(0,Ba.jsx)("div",{className:e("radio"),children:ql.expansionOptions.map((l,c)=>(0,Ba.jsx)("div",{className:e("label"),children:(0,Ba.jsx)(nn,{...l,onChange:(d,u)=>{a(d,u)}})},c))})]}),ql.needShowBoard&&(0,Ba.jsxs)("div",{className:e("fileOperate"),children:[(0,Ba.jsxs)("div",{className:e("name"),"data-test":"Board Outline Source",title:i("Board Outline Source")+":","data-i18n-attr":"title",children:[i("Board Outline Source"),":"]}),(0,Ba.jsx)("div",{className:e("radio"),children:ql.boardOptions.map((l,c)=>(0,Ba.jsx)("div",{className:e("label"),children:(0,Ba.jsx)(nn,{...l,onChange:(d,u)=>{a(d,u)}})},c))})]}),ql.needShowStyle&&(0,Ba.jsxs)("div",{className:e("fileOperate"),children:[(0,Ba.jsxs)("div",{className:e("name"),"data-test":"Schematic object style",title:i("Schematic object style")+":","data-i18n-attr":"title",children:[i("Schematic object style"),":"]}),(0,Ba.jsx)("div",{className:e("radio"),children:ql.styleOptions.map((l,c)=>(0,Ba.jsx)("div",{className:e("label"),children:(0,Ba.jsx)(nn,{...l,onChange:(d,u)=>{a(d,u)}})},c))})]}),ql.needShowSmt&&(0,Ba.jsxs)("div",{className:e("fileOperate"),children:[(0,Ba.jsxs)("div",{className:e("name"),"data-test":"Option",title:i("Option")+":","data-i18n-attr":"title",children:[i("Option"),":"]}),(0,Ba.jsx)("div",{className:e("radio"),children:ql.smtOptions.map((l,c)=>(0,Ba.jsx)("div",{className:e("label"),children:(0,Ba.jsx)(nn,{...l,onChange:(d,u)=>{a(d,u)}})},c))})]}),ql.needShowFootprintAnd3DModel&&(0,Ba.jsxs)("div",{className:e("fileOperate"),children:[(0,Ba.jsxs)("div",{className:e("name"),"data-test":"Footprint and 3D Model",title:i("Footprint and 3D Model")+":","data-i18n-attr":"title",children:[i("Footprint and 3D Model"),":"]}),(0,Ba.jsx)("div",{className:e("radio"),children:ql.footprintAnd3DModelOptions.map((l,c)=>(0,Ba.jsx)("div",{className:e("label"),children:(0,Ba.jsx)(qt,{...l,onChange:(d,u)=>{s(d,u,l)}})},c))})]}),ql.needShowNotes&&(0,Ba.jsxs)("div",{className:e("fileOperate"),children:[(0,Ba.jsxs)("div",{className:e("name"),"data-test":"Notes",title:i("Notes")+":","data-i18n-attr":"title",children:[i("Notes"),":"]}),(0,Ba.jsx)("div",{className:e("radio"),children:ql.notesOptions.map((l,c)=>(0,Ba.jsx)("div",{className:e("label"),children:(0,Ba.jsx)(qt,{...l,onChange:(d,u)=>{s(d,u,l)}})},c))})]})]})})]})}),(0,Ba.jsxs)("div",{className:e("pop-footer-wrapper dialog-button"),children:[(0,Ba.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>r("confirm"),children:ql.confirmBtn}),(0,Ba.jsx)(Me,{onClick:()=>r("cancel"),children:"Cancel"})]})]})},Vuo=HRr;function MOt(){let{activeType:t}=ql,e=ql.forSmt,i=ql.forEngine;if(t==="proeda")et("file_open",{openDlg:!0});else{let o=t,r="easyeda-pro";e?r=ql.smtChecked:i&&(r="smt-engine-preview"),xj({fileType:o}).then(async n=>{if(!n||n.length==0)return;let a=n[0].name;Oa.fileName(a),Oa.setImportFile(n),yme(a),await ii("import-file",{})})}}function GRr(){let t=ql.activeType,e=ql.from,i=ql.forSmt;if(t==="proeda"&&!i){et("file_open",{openDlg:!0});return}wC(t,e||"",!0)}var Yuo=L(z()),Guo=async function(t,e){let i=bt[t],{containerId:o,title:r,width:n,closed:a,mask:s,esc:l}=i;le.open({id:o,title:r,width:n,closed:a,mask:s,esc:l,children:(0,Yuo.jsx)(Vuo,{containerId:o})})};var A5=L(Se()),LOt=L(Quo());var Kuo=L(Vi());var IOt=class extends qe{constructor(){super(...arguments);this.initDialogParams=null;this.schData=null;this.pcbData=null;this.reuseModuleName={displayTitle:"",value:"",uuid:""};this.checkbox=null;this.passwordType="";this.password="";this.confirmPassword="";this.confirmDisabled=!1;this.fileSuffix=Lo.PRJ2}async initDialog(i){this.initDialogParams=i,await this.handleSchTemplate(),await this.handlePcbTemplate(),await this.handleModule()}closeDialog(){this.initDialogParams&&(this.initDialogParams=null),this.schData&&(this.schData=null),this.pcbData&&(this.pcbData=null),this.reuseModuleName={displayTitle:"",value:"",uuid:""},this.confirmDisabled=!1}setSchData(i){this.schData.value=i,this.notify()}setPcbData(i){this.pcbData.value=i,this.notify()}setReuseModuleName(i){this.reuseModuleName.value=i}setCheckBox(i){this.checkbox=i,this.notify()}setPasswordType(i){this.passwordType=i,this.notify()}setPassword(i){this.password=i,this.notify()}setConfirmPassword(i){this.confirmPassword=i,this.notify()}async handleSchTemplate(){let{sch:i,projectIds:o}=this.initDialogParams;if(o){this.schData={value:"",options:[]};return}try{let{message:r}=await C.messageBus.rpcCall($e.SCHEMATIC.GET_ALL_ARR,[C.currentProject.projectId]);r&&(this.schData=this.getOptions(r,i))}catch(r){console.error(r)}}async handlePcbTemplate(){let{pcb:i,projectIds:o}=this.initDialogParams;if(o){this.pcbData={value:"",options:[]};return}try{let{message:r}=await C.messageBus.rpcCall($e.PCB.GET_ALL_ARR,[C.currentProject.projectId]);r&&(this.pcbData=this.getOptions(r,i))}catch(r){console.error(r)}}async handleModule(){var r;let{blockSymbol:i,projectTitles:o}=this.initDialogParams;if(i){let{title:n="",uuid:a,displayTitle:s=""}=i;this.reuseModuleName={displayTitle:s,value:s,uuid:a},await this.handleModuleRelated(n)}else this.reuseModuleName={displayTitle:this.initDialogParams.onlySelected?this.initDialogParams.pcb.title:"",value:o?o.join(", "):this.initDialogParams.onlySelected&&((r=this.initDialogParams.pcb)==null?void 0:r.title)||"",uuid:""}}async handleModuleRelated(i){if(await this.isExistBlockSymbol()){let{message:r}=await C.messageBus.rpcCall($e.SCHEMATIC.GET_UUID_BY_NAME,[i,C.currentProject.projectId]);r&&(this.schData.value=r);let{message:n}=await C.messageBus.rpcCall($e.PCB.GET_UUID_BY_TITLE,[i,C.currentProject.projectId]);n&&(this.pcbData.value=n)}}async isExistBlockSymbol(){let{blockSymbol:i}=this.initDialogParams;if(i){let{message:o}=await C.messageBus.rpcCall($e.SYMBOL.IS_EXIST,[i.uuid,C.currentProject.projectId]);return o}else return!1}getOptions(i,o){let r={value:"",options:[]};return i.forEach(n=>{var a,s,l,c;if(o&&n.uuid===(o==null?void 0:o.uuid)&&(r.value=n.uuid),Object.hasOwnProperty.call(o||{},"displayTitle")){let d=(s=(a=n==null?void 0:n.display_name)!=null?a:n==null?void 0:n.display_title)!=null?s:"";o.displayTitle===d&&(r.value=n.uuid)}r.options.push({value:n.uuid,text:(c=(l=n==null?void 0:n.display_name)!=null?l:n==null?void 0:n.display_title)!=null?c:"",showOriginalText:!0})}),!r.value&&r.options[0]&&(r.value=r.options[0].value),r}check(i){let{sch:o,pcb:r,title:n}=i;if(!o&&!r&&!this.initDialogParams.projectIds)return Dt({title:"Information",icon:"none",content:"Please select at least one template schematic or PCB.",confirmText:"Confirm",closed:!0,height:130,isHtml:!1}),{success:!1};let a=/[\\\/:*?"<>|]+/g;return a.test(n)&&(n=n.replace(a,""),De({type:"info",msg:"Title contains special characters, automatically filtered",timer:5})),dh(n,1,void 0,void 0,n)?{success:!0,title:n}:{success:!1}}async handleConfirm(i){var p,m,h,f,g;let{value:o}=this.schData||{},{value:r}=this.pcbData||{},{value:n}=this.reuseModuleName||{},a=this.checkbox,s=this.passwordType,l=this.password,c=this.confirmPassword,d=this.initDialogParams.projectIds;if(a&&l==""){new Fi({type:"warn",msg:"Please enter password"});return}if(s=="password"&&c!==l){new Fi({type:"warn",msg:"The passwords entered do not match"});return}let{success:u}=this.check({sch:o,pcb:r,title:n});if(u){this.confirmDisabled=!0;let b=[];if(d)d.forEach(S=>{b.push({projectId:S,title:n})});else{let S=(m=(p=this.schData.options.find(I=>I.value===o))==null?void 0:p.text)!=null?m:"",T=(f=(h=this.pcbData.options.find(I=>I.value===r))==null?void 0:h.text)!=null?f:"",M=(g=this.reuseModuleName.uuid)!=null?g:"";b.push({title:n,sch:{uuid:o,title:S},pcb:{uuid:r,title:T},blockSymbol:{uuid:M,title:n}})}let y=C.progressManager,w=!1;y.bindingClosedCall(S=>{S&&(w=!0)});let x=n.split(",").map(S=>S.trim());for(let S=0;S<b.length&&!w;S++){let T=b[S];T.title=x[S]||T.title,this.initDialogParams&&this.initDialogParams.onlySelected?await this.handleDataForSelectedSave(T,l):this.fileSuffix==Lo.PRJ?await this.handleDataOld(T,l):await this.handleData(T,l)}y.unbindingClosedCall(),this.successCallback(),le.close(i)}}async handleData(i,o){let r=i.projectId||C.currentProject.projectId;await C.messageBus.rpcCall("/pro-mgr/savePassword",[r,o]);let{sch:n,pcb:a,blockSymbol:s,title:l}=i,c=C.loginedUserInfo,d=qB(l,!0),u=n||a||s?{name:d,uuid:r,suffix:Lo.PRJ2,data:{title:l,schematic:n,pcb:a,blockSymbol:s},related:{uuid:r,analyzeReuseBlock:!0},modifier:c,fromLibUuid:this.initDialogParams.fromLibUuid}:{uuid:r,fromLibUuid:this.initDialogParams.fromLibUuid,name:d,suffix:Lo.PRJ2},{message:p}=await C.messageBus.rpcCall(qr.DOWNLOAD_CBB,u);p!=null&&p.success&&(n||a)&&C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.CBB_SAVEAS_LOCAL,content:[{"Schematic Name":n==null?void 0:n.title},{"PCB Name":a==null?void 0:a.title}],project_uuid:C.currentProject.projectId}])}async handleDataOld(i,o){let r=i.projectId||C.currentProject.projectId,{sch:n,pcb:a,blockSymbol:s,title:l}=i,c=qB(l,!0),d=n||a||s?{uuid:r,data:{title:l,schematic:n,pcb:a,blockSymbol:s}}:{uuid:r},u=(await C.messageBus.rpcCall(Og.GET_EXPORT,d)).message;if(!u||!u.success||!u.result)return;let p=await h6e({fileName:c,suffix:Lo.PRJ,prjData:u.result,passwordValue:o,isDocument:!1},!0);p!=null&&p.success&&(n||a)&&C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.CBB_SAVEAS_LOCAL,content:[{"Schematic Name":n==null?void 0:n.title},{"PCB Name":a==null?void 0:a.title}],project_uuid:C.currentProject.projectId}])}async handleDataForSelectedSave(i,o){let{projectId:r}=C.currentProject;await C.messageBus.rpcCall("/pro-mgr/savePassword",[r,o]);let{sch:n,pcb:a,blockSymbol:s,title:l}=i,c=C.loginedUserInfo,d={uuid:c.uuid,nickname:c.nickname,userName:c.userName},u=qB(l,!0),p=await ei(),{dataStr:m,footprints:h,devices:f}=(await C.windowBridge.rpcCall("FileSourceForSelected",{pcbName:l,ownerInfo:d},p.contentWindow)).message,g=new Set(h),b=new Array;for(let S of f){let T=(await C.messageBus.rpcCall($e.DEVICE.GET,[S,C.currentProject.projectId])).message;T&&(T.attributes.Footprint&&g.add(T.attributes.Footprint),T.attributes.Symbol&&b.push(T.attributes.Symbol))}let y={footprints:[...g],symbols:b,devices:f},{message:w}=await C.messageBus.rpcCall(qr.BUILD_EXPORT,{uuid:C.currentProject.projectId,datas:y}),x=m+pRe+w.result;if(this.fileSuffix==Lo.PRJ){let S=await h6e({fileName:l,suffix:Lo.PRJ,prjData:{dataStr:x,config:{uuid:r,title:u,cbb_project:!0}},passwordValue:o,isDocument:!1},!0);if(!(S!=null&&S.success))return}else{let S={name:u,uuid:r,suffix:Lo.PRJ2,project:{config:{name:l,cbb_project:!0},dataStr:x,images:{}}},{message:T}=await C.messageBus.rpcCall(qr.DOWNLOAD_PROJECT,S);if(!(T!=null&&T.success))return}C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.CBB_SAVEAS_LOCAL,content:[{"PCB Name":i.pcb.title}],project_uuid:C.currentProject.projectId}])}async handleProject(i,o){let{sch:r,pcb:n,blockSymbol:a}=o;if(r!=null&&r.uuid){for(let s in i.schematics)if(s===(r==null?void 0:r.uuid)){let l=i.schematics[s];l.name=a.title,l.display_name=a.title;break}}if(n!=null&&n.uuid){for(let s of i.pcbs)if(s.uuid===(n==null?void 0:n.uuid)){s.title=a.title,s.display_title=a.title;break}}if(a!=null&&a.uuid){for(let s of i.block_symbol)if(s.uuid===(a==null?void 0:a.uuid)){s.title=a.title,s.display_title=a.title;break}}else{let s={docType:se.BLOCK_SYMBOL,title:a.title},{message:l}=await C.messageBus.rpcCall("getSymbolDefaultStr",s),c=_o(),d={title:a.title,description:"",dataStr:l,custom_tags:"",tags:[],path:i.uuid,docType:se.BLOCK_SYMBOL,owner:{uuid:c},source:"",project_uuid:i.uuid};i.block_symbol.push(d)}return i}successCallback(){C.messageBus.publish("progressUpdate",[7/7,"save as local..."]),C.messageBus.publish("hideLoading"),(0,Kuo.default)("#layout_toggler_bottom").data("allow-open",!0),this.closeDialog()}},Jm=new IOt;var ud=L(z()),bp=be.bind(LOt.default.locals),YRr=t=>{var A,D,E,N,R;let{containerId:e}=t,[i,o]=(0,A5.useState)(!1),[r,n]=(0,A5.useState)(null),[a,s]=(0,A5.useState)(!0),[l,c]=(0,A5.useState)("password"),[d,u]=(0,A5.useState)(""),[p,m]=(0,A5.useState)(""),[h,f]=(0,A5.useState)(!1),[g,b]=(0,A5.useState)(Jm.fileSuffix),y=!!((A=Jm.initDialogParams)!=null&&A.projectIds);Ae(LOt.default),Ce(Jm);let w=J();Bt(()=>{Jm.closeDialog()}).close(e);let x=v=>{v.key==="Enter"&&Jm.handleConfirm(e)},S=()=>{o(!i),c(i?"password":"text")},T=v=>{let P=v.target.value.replace(/[\u4e00-\u9fa5]|(^\s+)|(\s+$)/gi,"");u(P)},M=v=>{let P=v.target.value.replace(/[\u4e00-\u9fa5]|(^\s+)|(\s+$)/gi,"");m(P)},I=v=>{let k=v.target.checked;n(k),k?s(!1):(u(""),m(""),s(!0))};return(0,A5.useEffect)(()=>{Jm.setCheckBox(r)},[r]),(0,A5.useEffect)(()=>{Jm.setPasswordType(l)},[l]),(0,A5.useEffect)(()=>{p==d?f(!0):f(!1)},[p,d]),(0,A5.useEffect)(()=>{Jm.setPassword(d),Jm.setConfirmPassword(p)},[d,p]),(0,ud.jsxs)("div",{className:bp("container"),children:[!y&&!Jm.initDialogParams.onlySelected&&(0,ud.jsxs)(ud.Fragment,{children:[(0,ud.jsxs)("div",{className:bp("line"),children:[(0,ud.jsx)("div",{className:bp("lineLeft"),"data-test":"Template Schematic:",children:w("Template Schematic:")}),(0,ud.jsx)("div",{className:bp("lineRight"),children:(0,ud.jsx)(xt,{searchable:!0,style:{width:"85%"},value:(E=(D=Jm.schData)==null?void 0:D.value)!=null?E:"",list:Jm.schData.options,onChange:v=>{Jm.setSchData(v)},textStyle:{maxWidth:"calc(100% - 20px)"}})})]}),(0,ud.jsxs)("div",{className:bp("line"),children:[(0,ud.jsx)("div",{className:bp("lineLeft"),"data-test":"Template PCB:",children:w("Template PCB:")}),(0,ud.jsxs)("div",{className:bp("lineRight"),children:[(0,ud.jsx)(xt,{searchable:!0,style:{width:"85%"},value:(R=(N=Jm.pcbData)==null?void 0:N.value)!=null?R:"",list:Jm.pcbData.options,onChange:v=>{Jm.setPcbData(v)},textStyle:{maxWidth:"calc(100% - 20px)"}}),(0,ud.jsx)("span",{className:bp("icon-eda-x-circle-container"),style:{display:Jm.pcbData.value.length>0?"block":"none"},onClick:()=>{Jm.setPcbData("")},children:(0,ud.jsx)("i",{className:bp("icon-eda-x-circle"),style:{fontSize:"1.5rem"}})})]})]})]}),(0,ud.jsxs)("div",{className:bp("line"),children:[(0,ud.jsx)("div",{className:bp("lineLeft"),"data-test":"Reuse Module Name:",children:w("Reuse Module Name:")}),(0,ud.jsx)("div",{className:bp("lineRight project-name-input-panel"),children:(0,ud.jsx)(Kt,{style:{width:"85%"},defaultValue:Jm.reuseModuleName.value,disabled:y,onChange:(v,k)=>{Jm.setReuseModuleName(v.trim())}})})]}),(0,ud.jsxs)("div",{className:bp("line"),children:[(0,ud.jsx)("div",{className:bp("lineLeft"),"data-test":"fileFormat:",children:`${w("File\xA0Format")}:`}),(0,ud.jsx)("div",{className:bp("lineRight project-name-input-panel"),children:(0,ud.jsx)($i,{value:g,options:[{value:Lo.PRJ2,label:`epro2 (${w("V3 format")})`},{value:Lo.PRJ,label:`epro (${w("V2 format")})`}],onChange:v=>{b(v),Jm.fileSuffix=v}})})]}),!y&&(0,ud.jsxs)("div",{className:bp("line"),children:[(0,ud.jsx)("div",{className:bp("lineLeft")}),(0,ud.jsx)("div",{className:bp("lineRight"),children:(0,ud.jsx)("div",{className:bp("tips"),"data-test":"Tips: The template schematic and PCB will be named according to the name of the reuse module and added to the board with the same name",children:w("Tips: The template schematic and PCB will be named according to the name of the reuse module and added to the board with the same name")})})]}),(0,ud.jsxs)("div",{className:bp("secondRow"),children:[(0,ud.jsxs)("div",{className:bp("secondRowLeft"),children:[(0,ud.jsx)("input",{type:"checkbox","data-test":"checkBox",className:bp("checkBox"),onChange:I}),(0,ud.jsx)("span",{"data-test":"setPassword:",className:bp("setPassword"),children:w("Set Password:")})]}),(0,ud.jsx)("input",{"data-test":"setPasswordInput:",className:bp(`passwordInput-${l}`),type:"text",value:d,onChange:T,disabled:a,style:{background:a?"var(--bg-color-disabled-input)":"var(--bg-color-input)"},onKeyDown:x}),(0,ud.jsx)("div",{className:bp("iconContainer"),children:(0,ud.jsx)("i",{className:bp(i?"icon-eda-eye":"icon-eda-no-eye"),onClick:S})})]}),l=="password"&&(0,ud.jsxs)("div",{className:bp("thirdRow"),children:[(0,ud.jsx)("span",{"data-test":"confirmPassword:",className:bp("confirmPassword"),children:w("Confirm Password:")}),(0,ud.jsx)("input",{"data-test":"confirmPasswordInput:",className:bp(`passwordInput-${l}`),type:"text",style:{color:h?"var(--common-font-color)":"red",background:a?"var(--bg-color-disabled-input)":"var(--bg-color-input)"},value:p,onChange:M,disabled:a,onKeyDown:x})]})]})},Zuo=(0,A5.memo)(YRr);var quo=L(z());async function Juo(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,footer:d}=i,{isProjectLibrary:u,projectIds:p}=t;if(!u&&!p){Dt({title:"Information",content:"Please select the current project data to save as reuse module!",confirmText:"Confirm",closed:!0,height:130,isHtml:!1});return}await Jm.initDialog(t),t.onlySelected&&(r="Save as Reuse Block(Local) Based on Selected"),le.open({id:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,footer:d,onOk:async()=>{Jm.confirmDisabled||await Jm.handleConfirm(o)},onCancel:()=>{Jm.closeDialog(),le.close(o)},children:(0,quo.jsx)(Zuo,{containerId:o})})}var n0o=L(hS()),a0o=L(v6t());var _1=L(Se());var NOt=L(vOt());var px=L(Se()),AOt=L(e0o());function t0o(t){if(document.getElementById(t))return;let e=`
        <div id="${t}" style="z-index: 998; width: 100%; height: 100%; position: absolute; left: 0; top: 0; bottom: 0; right: 0; background: transparent;"></div>
    `;document.getElementById("editorTabbar").appendChild(document.createRange().createContextualFragment(e))}function DOt(t){let e=document.getElementById(t);e&&e.remove()}var N5=L(z()),{locals:kz}=AOt.default,EOt="TOOL3D_IFRAME_MASK",p2e={DEFAULT:0,SETP:1,MAX:3};function i0o(t){let{updateAccuracy:e}=t,[i,o]=(0,px.useState)(0),r=(0,px.useRef)(null),n=(0,px.useRef)({stepValue:p2e.SETP,explodeRatio:p2e.DEFAULT,max:p2e.MAX,hasMove:!1,isMouseDown:!1,mouseDownX:0,mouseDownDistX:0,targetElement:null,barRadius:0,allRectDomWidth:0}),a=(0,px.useCallback)(()=>{if(!r.current)return;let g=r.current.querySelector('[data-tagitem="range-bar"]'),b=r.current.querySelector('[data-tagitem="range-track"]');n.current.allRectDomWidth=parseInt(window.getComputedStyle(b,null).width),n.current.barRadius=parseInt(window.getComputedStyle(g,null).width)/2},[]),s=(0,px.useCallback)(g=>{let b=Math.min(Math.max(g,p2e.DEFAULT),n.current.max);l(b),c(b),d(b)},[]),l=(0,px.useCallback)(g=>{n.current.explodeRatio=g,e(g)},[]),c=(0,px.useCallback)(g=>{if(!r.current)return;let b=r.current.querySelector('[data-tagitem="range-rateline"]');b.style.width=`${g/n.current.max*100}%`},[]),d=(0,px.useCallback)(g=>{if(!r.current)return;let b=r.current.querySelector('[data-tagitem="range-bar"]'),y=g/n.current.max*n.current.allRectDomWidth;b.style.left=`${y-n.current.barRadius}px`},[]),u=g=>{let y=g.currentTarget.getAttribute("data-action");if(y==="minus"){s(n.current.explodeRatio-n.current.stepValue);return}if(y==="add"){s(n.current.explodeRatio+n.current.stepValue);return}},p=(0,px.useCallback)(g=>{n.current.isMouseDown=!0,n.current.hasMove=!1,n.current.mouseDownX=g.clientX,n.current.targetElement=g.target,n.current.mouseDownDistX=n.current.targetElement.parentElement.getBoundingClientRect().left,t0o(EOt),document.addEventListener("mousemove",m),document.addEventListener("mouseup",h)},[]),m=(0,px.useCallback)(g=>{if(g.stopPropagation(),g.preventDefault(),g.buttons<=0){n.current.isMouseDown=!1,document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",h),window.setTimeout(()=>{n.current.hasMove=!1}),DOt(EOt);return}n.current.isMouseDown=!0,n.current.hasMove=!0;let y=(g.clientX-n.current.mouseDownDistX)/n.current.allRectDomWidth;s(y*n.current.max)},[]),h=(0,px.useCallback)(g=>{n.current.isMouseDown=!1,document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",h),window.setTimeout(()=>{n.current.hasMove=!1}),DOt(EOt)},[]),f=(0,px.useCallback)(g=>{if(n.current.hasMove)return;let b=g.currentTarget,w=(g.clientX-b.getBoundingClientRect().left)/n.current.allRectDomWidth;s(w*n.current.max)},[]);return(0,px.useEffect)(()=>{a()},[]),(0,N5.jsxs)(N5.Fragment,{children:[(0,N5.jsx)("style",{children:String(AOt.default)}),(0,N5.jsx)("div",{"data-render-flush":i,ref:r,className:kz["range-container"],children:(0,N5.jsxs)("div",{className:kz["range-wrapper"],children:[(0,N5.jsx)("div",{className:kz["range-minstep"],"data-action":"minus",onClick:u,children:(0,N5.jsx)("i",{className:kz["icon-min"]})}),(0,N5.jsxs)("div",{"data-tagitem":"range-process",className:kz["range-process"],onMouseUp:f,children:[(0,N5.jsx)("div",{"data-tagitem":"range-track",className:kz["range-track"],"data-action":"track"}),(0,N5.jsx)("div",{"data-tagitem":"range-bar",className:kz["range-bar"],"data-action":"bar",onMouseDown:p}),(0,N5.jsx)("div",{"data-tagitem":"range-rateline",className:kz["range-rateline"],"data-action":"rateline"})]}),(0,N5.jsx)("div",{className:kz["range-addstep"],"data-action":"add",onClick:u,children:(0,N5.jsx)("i",{className:kz["icon-add"]})})]})})]})}var Il=L(z()),qm=be.bind(NOt.default.locals),o0o={MAX:.04,STEP:.01},r0o={MAX:.58,STEP:.145};function s0o(t){let{containerId:e,params:i}=t,{orgUuid:o=C.workspace,defaultOwnerId:r,messageToken:n,options:a,defaultTitle:s,callback:l}=i,c=(0,_1.useRef)(C.workspace),[d,u]=(0,_1.useState)(r||""),[p,m]=(0,_1.useState)(""),[h,f]=(0,_1.useState)(i["file-category-name"]||""),[g,b]=(0,_1.useState)(i["file-category"]||""),y=(0,_1.useRef)(null),w=(0,_1.useRef)(null),[x,S]=(0,_1.useState)(s||""),T=(0,_1.useRef)({file:null}),M=(0,_1.useRef)({scale:p2e.DEFAULT}),[I,A]=(0,_1.useState)(!0),[D,E]=(0,_1.useState)([]),[N,R]=(0,_1.useState)("mm");Ae(NOt.default);let v=J(),k=(0,_1.useMemo)(()=>!!i.uuid,[]),P=(0,_1.useMemo)(()=>{let F="";return typeof i.defaultOwnerId<"u"&&(F=i.defaultOwnerId),i.selectedUserInfo&&i.selectedUserInfo.uuid&&(F=i.selectedUserInfo.uuid),u(F),F},[]),O=(0,_1.useCallback)((F,K)=>{u(F),m(K.args.owner)},[]),_=(0,_1.useCallback)(F=>{F.stopPropagation(),w.current&&w.current.click()},[w.current]),j=(0,_1.useCallback)(F=>{A(!1)},[]),B=(0,_1.useCallback)(F=>{A(!0)},[]),V=(0,_1.useCallback)(F=>(k?/.+\.(step|stp|obj)$/i:/.+\.(step|stp|zip|obj)$/i).test(F),[k]),G=(0,_1.useCallback)(async F=>{var ee;let K=F.target.files,te=K==null?void 0:K[0];if(!te)return;Ts(),F.target.value="";let ae=te.name;if(!V(ae)){C.messageBus.publish("message",{type:"alert",message:"Import failed! Incorrect file format!"}),Zr();return}let pe=Number((te.size/Math.pow(1024,2)).toFixed(2));if(!/.\.zip$/.test(ae)&&pe>=300){C.messageBus.publish("message",{type:"alert",message:"File size exceeds 300M!"}),Zr();return}if(S(ae),F.target!==null){if(ae.indexOf("zip")>-1){let ce=new n0o.default;await ce.loadAsync(te,{decodeFileName:re=>a0o.default.decode(re,"gbk")});let ne=ce.files,oe=[];for(let re in ne){let Y=ne[re],X=(re==null?void 0:re.split("/"))||[],ie=Q(X[X.length-1]),de=((ee=Y==null?void 0:Y._data)==null?void 0:ee.uncompressedSize)||0,fe=Number((de/Math.pow(1024,2)).toFixed(2));ie&&oe.push({name:ie,checked:!0,MBSize:fe})}E(oe)}else{let ce=Q(ae),ne=Number((te.size/Math.pow(1024,2)).toFixed(2));ce&&E([{name:ce,checked:!0,MBSize:ne}])}T.current.file=te}Zr()},[S,E]),Q=F=>{let K=/\.([^.]+)$/;switch(ae(F)){case"obj":case"stp":case"step":case"json":return F.replace(K,"");default:return""}function ae(pe){let Z=K.exec(pe);return Z?Z[1].toLowerCase():""}},H=F=>{let K=F.target.checked;D.forEach(te=>{te.checked=K}),E([...D])},q=(0,_1.useMemo)(()=>D.length<=0?!1:D.every(F=>F.checked),[D]),U=async F=>{Ts();let K=h?h.split(":"):[],te=Je?On.selectPath:p,ae=i.messageToken;if(!te){C.messageBus.publish("message",{type:"alert",message:"Please choose the owner!"}),Zr();return}if(!T.current.file&&!a){C.messageBus.publish("message",{type:"alert",message:"Please upload the 3D file!"}),Zr();return}if(D.filter(ye=>{if(ye.checked&&ye.MBSize>=300)return!0}).length){C.messageBus.publish("message",{type:"alert",message:"File size exceeds 300M!"}),Zr();return}let Z=null;if(a){let ye=a?await ei():null;a.modelName=x;let{message:Le}=(await C.windowBridge.rpcCall("pcb/generate3DModel",a,ye.contentWindow)).message;if(!Le||!Le.step)return Zr(),De({type:"error",msg:"Failed to generate 3d preview data."});Z=Le}let ee=await new Promise(ye=>{let Le=[],Re=D.map(Pe=>{if(Pe.checked)return Pe.name}),Ne=new FileReader,Te=a?new Blob([Z.step]):T.current.file;Ne.readAsArrayBuffer(Te),Ne.onload=async Pe=>{if(Pe.target!==null){let Oe=Pe.target.result,Ue=o0o.MAX-o0o.STEP*M.current.scale,Ve=r0o.MAX-r0o.STEP*M.current.scale,ze={file:x+(a?".step":""),data:Oe,linearDeflection:Ue,angularDeflection:Ve},{message:He}=await C.messageBus.rpcCall("handle3DModelFile",ze);(He.message||[]).forEach(ke=>{let Be=ke.name.split("/"),Ge=Be[Be.length-1].split(".");Ge.splice(Ge.length-1,1),ke.name=Ge.join("."),(Re.indexOf(ke.name)>-1||a)&&Le.push(ke)}),ye(Le)}}});if(!ee.length){C.messageBus.publish("message",{type:"alert",message:"Please select a file!"}),Zr();return}for(let ye of ee){let Le=ye.wasmStatus,Re=ye.model;if(Le==1){Zr(),Ot("error",me.i18n("3D model too large to import"));return}else if(Le==2||!Re){Zr(),De({type:"error",msg:"New Model Error"});return}}let ce={owner:te,docType:se.PCBLIB3D,tags:K,unit:N,models:ee,uuid:i.uuid?i.uuid:null},{message:ne}=await C.messageBus.rpcCall("newOrReplace3DModel",ce),oe;oe=ne.find(ye=>ye.success!==!0);let re=[],Y=[],X={};ne.forEach(ye=>{if(ye.success)re.push(ye.name),k?(Wa(ye.createResult,2),_3("model3D",ye.createResult.uuid,ye.createResult)):(Wa(ye.createResult,1),_s(ye.createResult.owner.uuid,"model3D"));else if(ye.code===Pm.DUPLICATE_DATA)Y.push(ye.name);else{let Le=ye.message;X[Le]||(X[Le]=[]),X[Le].push(ye.name)}}),re.length&&Ot("info",[Ti("{0} 3D models import successfully:",{params:{0:String(re.length)}}),`${re.join(",")}`]),Y.length&&Ot("warn",[Ti("{0} 3D models import failure.A library with the same name already exists: ",{params:{0:String(Y.length)}}),`${Y.join(",")}`]);let ie=Object.keys(X),de=[];it(X,(ye,Le)=>{de.push(ye+"\uFF1A"+Le.join(","))}),ie.length&&Ot("warn",[Ti("{0} 3D models import failure.",{params:{0:String(ie.length)}}),`${de.join(",")}`]);let fe=ne.length&&!oe;if(fe){if(ae){window.postMessage({results:ne||[],messageToken:ae},"*"),le.close(e),Zr();return}De({type:"success",msg:"Created successfully!",timer:3}),l&&l(ne[0],Z.bbox)}else{let ye=Qpe(oe.code,oe.message);De({type:"error",msg:ye,timer:3})}qg(c.current),Zr(),a&&!fe||le.close(e)};return(0,Il.jsxs)(Il.Fragment,{children:[(0,Il.jsxs)(z0,{children:[(0,Il.jsx)(du,{ref:y,orgUuid:o,defaultSelectId:P,notFolder:!0,onOwnerChange:O,notWorkSpaceChange:_t,onWorkSpaceChange:F=>c.current=F}),(0,Il.jsxs)("tr",{className:qm("form-item",{hidden:a}),children:[(0,Il.jsx)("td",{className:qm("label"),"data-test":"Model unit",title:v("Model unit"),children:v("Model unit")}),(0,Il.jsx)("td",{className:qm("content"),style:{paddingBottom:"16px"},children:(0,Il.jsxs)("select",{className:qm("selectModelUnit"),style:{height:"24px"},value:N,onChange:F=>{var K;R((K=F.target.value)!=null?K:"mm")},children:[(0,Il.jsx)("option",{value:"mm","data-test":"default(mm)",children:v("default(mm)")}),["cm","m","mil","inch"].map(F=>(0,Il.jsx)("option",{value:F,children:F},F))]})})]}),a?(0,Il.jsxs)("tr",{className:qm("model3DFiles form-item"),children:[(0,Il.jsx)("td",{className:qm("label"),"data-test":"Model Name",title:v("Model Name"),children:v("Model Name")}),(0,Il.jsx)("td",{className:qm("content"),style:{paddingBottom:"16px"},children:(0,Il.jsx)("input",{type:"text",value:x,className:qm("d3ModelName"),onChange:F=>{S(F.target.value)}})})]}):(0,Il.jsxs)("tr",{className:qm("model3DFiles form-item"),children:[(0,Il.jsx)("td",{className:qm("label"),"data-test":"3D file",title:v("3D file"),children:v("3D file")}),(0,Il.jsxs)("td",{className:qm("content"),style:{paddingBottom:"16px"},children:[(0,Il.jsx)("input",{type:"text",className:qm("readOnlyInput"),readOnly:!0,style:{height:"24px"},value:x,onClick:_}),(0,Il.jsx)("span",{className:qm("pointBtn"),onClick:_,children:"\xB7\xB7\xB7"}),(0,Il.jsx)("input",{type:"file",className:qm("model3DFilesInput"),accept:k?"":".zip,.obj,.step,.stp",ref:w,onChange:G}),(0,Il.jsx)("br",{}),(0,Il.jsx)("span",{className:qm("selectFileTip"),"data-test":"Maximum file size: 300MB",children:v("Maximum file size: 300MB")})]})]}),!k&&(0,Il.jsx)(Ep,{inputValue:h,categoryType:Yi.MODEL3D,ownerSelectId:d,clientLibPath:On.selectPath,openDialogCallback:(F,K)=>{f(F),b(K)},clearClick:()=>{f(""),b("")}}),(0,Il.jsxs)("tr",{className:qm("conversionAccuracy form-item",{hidden:a}),children:[(0,Il.jsx)("td",{className:qm("label"),"data-test":"Conversion Accuracy",title:v("Conversion Accuracy"),style:{lineHeight:"24px"},children:v("Conversion Accuracy")}),(0,Il.jsxs)("td",{className:qm("content"),children:[(0,Il.jsx)(i0o,{updateAccuracy:F=>{M.current.scale=F}}),(0,Il.jsx)("span",{className:qm("pointBtn icon-eda-ask-question"),onMouseEnter:j,onMouseLeave:B}),(0,Il.jsx)("div",{className:qm("accuracyTip none",{hidden:I}),"data-test":"When importing STEP format files, this option affects theaccuracy of 3D preview and exported obj files.",children:v("When importing STEP format files, this option affects theaccuracy of 3D preview and exported obj files.")})]})]}),(0,Il.jsxs)("tr",{className:qm("modelList form-item",{hidden:a}),children:[(0,Il.jsx)("td",{className:qm("label"),style:{paddingRight:"16px"},"data-test":"Model list",title:v("Model list"),children:v("Model list")}),(0,Il.jsxs)("td",{className:qm("content"),children:[(0,Il.jsxs)("div",{className:qm("selectAlLInput"),children:[(0,Il.jsx)("input",{name:"3DList",type:"checkbox",className:qm("selectAll"),checked:q,onChange:H}),(0,Il.jsx)("span",{"data-test":"Select All",children:v("Select All")})]}),(0,Il.jsx)("div",{className:qm("modelListContainer"),children:D.map((F,K)=>(0,Il.jsxs)("label",{className:qm("modelListItem"),style:{position:"relative"},children:[(0,Il.jsx)("input",{type:"checkbox",checked:F.checked,onChange:te=>{F.checked=te.target.checked,E([...D])}}),(0,Il.jsx)("span",{children:F.name}),(0,Il.jsx)("br",{})]},K))})]})]})]}),(0,Il.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"8px"},children:[(0,Il.jsx)(Me,{type:"primary",onClick:F=>U(F),children:"Save"}),(0,Il.jsx)(Me,{onClick:()=>le.close(e),children:"Cancel"})]})]})}var l0o=L(z());async function kOt(t={},e){let i=bt[e],{containerId:o,width:r,height:n,closed:a}=i,s="New 3D Model";t.uuid&&(s="Replace 3D Model"),le.open({id:o,title:s,width:r,height:n,closed:a,esc:!0,children:(0,l0o.jsx)(s0o,{containerId:o,params:t})})}var $7=L(Se());var ROt=L(d0o());var POt=class extends qe{},bw=new POt;var Sh=L(z()),OOt="saveAsLocalFileSuffix",WRr=()=>{let[t,e]=(0,$7.useState)(!1),[i,o]=(0,$7.useState)(!0),[r,n]=(0,$7.useState)(null),[a,s]=(0,$7.useState)("password"),[l,c]=(0,$7.useState)(""),[d,u]=(0,$7.useState)(""),[p,m]=(0,$7.useState)(!1),[h,f]=(0,$7.useState)(!1),{locals:g}=ROt.default,b=be.bind(g);Ae(ROt.default);let y=J(),w=mt.getCacheObj(OOt)||Lo.PRJ2,[x,S]=(0,$7.useState)(w),T=N=>{N.key==="Enter"&&M()},M=async()=>{if(h)return;if(f(!0),r&&l==""){new Fi({type:"warn",msg:"Please enter password"}),f(!1);return}if(a=="password"&&d!==l){new Fi({type:"warn",msg:"The passwords entered do not match"}),f(!1);return}let N="saveAsLocal-time";WA(N);let R=bw.docSaveAsLocalData,v=x==Lo.PRJ,k=v?null:R,P=bw.saveAsLocalFileName;if(R&&v){let j=uP(R),B={uuid:C.currentProject.projectId,name:P,cbb_project:!1,datas:j,analyzeReuseBlock:!0},V=(await C.messageBus.rpcCall(qr.GET_PROJECT_BY_IN_LOCAL,B)).message;if(!V||!V.success||!V.result){new Fi({type:"error",msg:"Project data acquisition failed!"}),f(!1);return}k=V.result}await h6e({fileName:P,suffix:x,prjData:k,passwordValue:l,isDocument:!!k},!0),mt.getCacheObj(OOt)!=x&&(mt.setCacheObj(OOt,x),await mt.saveToServer()),bw.docSaveAsLocalData=null,le.close(),KP(N)};Bt(()=>{bw.docSaveAsLocalData=null}).close("projectSaveAsLocalDialog");let I=()=>{e(!t),s(t?"password":"text")},A=N=>{let R=N.target.checked;n(R),R?o(!1):(c(""),u(""),o(!0))},D=N=>{let v=N.target.value.replace(/[\u4e00-\u9fa5]|(^\s+)|(\s+$)/gi,"");c(v)},E=N=>{let v=N.target.value.replace(/[\u4e00-\u9fa5]|(^\s+)|(\s+$)/gi,"");u(v)};return(0,$7.useEffect)(()=>{d==l?m(!0):m(!1)},[d,l]),(0,Sh.jsxs)(Sh.Fragment,{children:[(0,Sh.jsxs)("div",{className:b("saveProjectInfo"),children:[(0,Sh.jsxs)("div",{className:b("firstRow"),children:[(0,Sh.jsx)("span",{"data-test":"filename:",className:b("fileName"),children:y("Filename:")}),(0,Sh.jsx)(Kt,{style:{width:"412px"},defaultValue:bw.saveAsLocalFileName,onChange:N=>{bw.saveAsLocalFileName=N}})]}),(0,Sh.jsxs)("div",{className:b("firstRow"),children:[(0,Sh.jsx)("span",{"data-test":"fileFormat:",className:b("fileFormat"),children:`${y("File\xA0Format")}:`}),(0,Sh.jsx)($i,{value:x,options:[{value:Lo.PRJ2,label:`epro2 (${y("V3 format")})`},{value:Lo.PRJ,label:`epro (${y("V2 format")})`}],onChange:N=>{S(N)}})]}),(0,Sh.jsxs)("div",{className:b("secondRow"),children:[(0,Sh.jsxs)("div",{className:b("secondLeftSide"),children:[(0,Sh.jsx)("input",{type:"checkbox","data-test":"checkBox",className:b("checkBox"),onChange:A}),(0,Sh.jsx)("span",{"data-test":"setPassword:",className:b("setPassword"),children:y("Set Password:")})]}),(0,Sh.jsx)("input",{"data-test":"setPasswordInput:",className:b(`passwordInput-${a}`),type:"text",value:l,onChange:D,disabled:i,onKeyDown:T,style:{background:i?"var(--bg-color-disabled-input)":"var(--bg-color-input)"}}),(0,Sh.jsx)("div",{className:b("iconContainer"),children:(0,Sh.jsx)("i",{className:b(t?"icon-eda-eye":"icon-eda-no-eye"),onClick:I})})]}),a=="password"&&(0,Sh.jsxs)("div",{className:b("thirdRow"),children:[(0,Sh.jsx)("span",{"data-test":"confirmPassword:",className:b("confirmPassword"),children:y("Confirm Password:")}),(0,Sh.jsx)("input",{"data-test":"confirmPasswordInput:",className:b(`passwordInput-${a}`),type:"text",style:{color:p?"var(--common-font-color)":"red",background:i?"var(--bg-color-disabled-input)":"var(--bg-color-input)"},value:d,onChange:E,disabled:i,onKeyDown:T})]})]}),(0,Sh.jsxs)("div",{className:b("footer"),children:[(0,Sh.jsx)(Me,{type:"primary",onClick:M,disabled:h,style:{marginLeft:"8px"},children:"Confirm"}),(0,Sh.jsx)(Me,{onClick:()=>{le.close(),bw.docSaveAsLocalData=null},style:{marginLeft:"8px"},children:"Cancel"})]})]})},u0o=WRr;var p0o=L(z());async function _Ot(t,e){let i=bt[t],{containerId:o,width:r,closed:n,height:a}=i,s=bw.dialogTitle;return le.open({id:o,title:s,width:r,height:a,closed:n,children:(0,p0o.jsx)(u0o,{})}),{origin:"react"}}var m2e=L(Se());var jOt=L(f0o()),b0o=L(Vi());var Js=L(z());var g0o=[{key:"view",text:"View Update Notice",show:!1},{key:"upgrade",text:"Upgrade Immediately",show:!1},{key:"checkUpdate",text:"Check for updates",show:Zde&&!Fn},{key:"ok",text:"OK",show:!0}];var KRr=t=>{let e=be.bind(jOt.default.locals);Ae(jOt.default);let{containerId:i}=t,o=J(),[r,n]=(0,m2e.useState)({}),[a,s]=(0,m2e.useState)({}),[l]=(0,m2e.useState)(()=>{let u=au.getCurrentVersion(),p=(0,b0o.default)('meta[name="editorMainDate"]').attr("content"),[m,h,f]=p.split("/"),g=C.lastestVersion,b=`${f}-${m}-${h}`,y=vo?"0 0 150 30":"0 0 1793 300",w=null,x=null;_t?Eu&&Nl?(w=Xr?"JLCEDA Schematic Design Software":"EasyEDA Schematic Design Software",x=Xr?"JLCEDA PCB Design Software":"EasyEDA PCB Design Software"):Nl?w=Xr?"JLCEDA Schematic Design Software":"EasyEDA Schematic Design Software":Eu?w=Xr?"JLCEDA PCB Design Software":"EasyEDA PCB Design Software":w=Xr?"JLCEDA Professional Edition":"EasyEDA Professional Edition":w=Xr?"JLCEDA Professional Edition":"EasyEDA Professional Edition";let S=!1;return Je||!wi&&g&&au.compareVersion(g,u)>1&&(g0o.forEach(T=>{T.show=!0}),S=!0),{currentVersion:`V${u}`,buildData:b,logBBox:y,lastestVersion:`V${g}`,title1:w,title2:x,needShowUpdate:S}});(0,m2e.useEffect)(()=>{Fn?Ol.get(C.apis.client.activationInfo,{}).then(u=>{if(u&&u.success){let{company_name:p,start_date:m,end_date:h}=u.result||{},f=ue.formatDate(new Date(m),"yyyy-MM-dd"),g=ue.formatDate(new Date(h),"yyyy-MM-dd");s({company:p,duration:`${f} ~ ${g}`})}}):Je&&Ol.get(C.apis.client.activationInfo,{}).then(u=>{if(u&&u.success){let{username:p,customer_code:m,phone:h,email:f,company:g}=u.result||{};n({username:p,customer_code:m,phone:h,email:f,company:g})}})},[]);let c=async()=>{if(Fn)return;await SJ.checkOpenVersionUpdateDlg()||De({type:"success",msg:"Currently the latest version"})};async function d(u){let p=!0;switch(u){case"view":et("viewUpdateNotes");break;case"upgrade":et("updateImmediately");break;case"checkUpdate":if(Fn)break;await c(),p=!1;break}p&&le.close(i)}return(0,Js.jsxs)("div",{children:[(0,Js.jsx)("div",{style:{border:"1px solid var(--common-border-color)"},children:(0,Js.jsx)("div",{className:e("pop-content-wrapper"),children:(0,Js.jsxs)("div",{style:{textAlign:"center"},children:[(0,Js.jsxs)("div",{children:[l.title1&&(0,Js.jsx)("h3",{style:{margin:"16px"},children:`${o(l.title1)} ${C.version}`}),l.title2&&(0,Js.jsx)("h3",{style:{margin:"16px"},children:`${o(l.title2)} ${C.version}`})]}),(0,Js.jsx)("div",{style:{margin:"20px 0"},className:e(`${Nt?"ecad-logo":""}`),children:!Nt&&(0,Js.jsx)("svg",{id:"logo",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:l.logBBox,xmlSpace:"preserve",style:{width:"133px"},children:(0,Js.jsx)("path",{d:z5e,fill:"#5588ff"})})}),(0,Js.jsxs)("div",{className:e("showContent"),style:{margin:"10px 0"},children:[(0,Js.jsx)("span",{"data-test":"Version",children:o("Version")})," :",(0,Js.jsx)("span",{"data-key":"version",children:l.currentVersion}),(0,Js.jsx)("br",{}),(0,Js.jsx)("span",{"data-test":"BuiltDate",children:o("BuiltDate")})," :",(0,Js.jsx)("span",{"data-key":"buildDate",children:l.buildData}),(0,Js.jsx)("br",{}),l.needShowUpdate&&(0,Js.jsx)("div",{style:{color:"#1890ff"},children:`(${o("Latest Version")}:${l.lastestVersion}})`})]}),!Fn&&Je&&(0,Js.jsxs)("div",{id:"user-license-info",className:e("div-fieldset"),style:{marginTop:"16px",marginBottom:"16px"},children:[(0,Js.jsx)("span",{className:e("title"),"data-test":"LicensedTo.licensedTo1",children:o("Licensed to")}),(0,Js.jsxs)("div",{style:{lineHeight:2},children:[(0,Js.jsx)("span",{"data-test":"Username",children:o("Username")})," : ",(0,Js.jsx)("span",{"data-key":"username",children:r.username})," ",(0,Js.jsx)("br",{}),(0,Js.jsx)("span",{"data-test":"Customer Code",children:o("Customer Code")})," :"," ",(0,Js.jsx)("span",{"data-key":"customer-code",children:r.customer_code})," ",(0,Js.jsx)("br",{}),(0,Js.jsx)("span",{"data-test":"Phone",children:o("Phone")})," : ",(0,Js.jsx)("span",{"data-key":"phone",children:r.phone})," ",(0,Js.jsx)("br",{}),(0,Js.jsx)("span",{"data-test":"EmailText.email",children:o("Email")})," : ",(0,Js.jsx)("span",{"data-key":"email",children:r.email})," ",(0,Js.jsx)("br",{}),(0,Js.jsx)("span",{"data-test":"Company",children:o("Company")})," :",(0,Js.jsx)("span",{"data-key":"company",style:{display:"inline-block",maxWidth:"298px",verticalAlign:"top"},children:r.company})]})]}),Fn&&(0,Js.jsxs)("div",{id:"user-license-info",className:e("div-fieldset"),style:{marginTop:"16px",marginBottom:"16px"},children:[(0,Js.jsx)("span",{className:e("title"),"data-test":"LicensedTo.licensedTo1",children:o("Licensed to")}),(0,Js.jsxs)("div",{style:{lineHeight:2},children:[(0,Js.jsx)("span",{"data-test":"Company",children:o("Company")})," : ",(0,Js.jsx)("span",{"data-key":"company",style:{display:"inline-block",maxWidth:"298px",verticalAlign:"top"},children:a.company}),(0,Js.jsx)("br",{}),(0,Js.jsx)("span",{"data-test":"Duration of the Authorization",children:o("Duration of the Authorization")})," : ",(0,Js.jsx)("span",{"data-key":"duration",style:{display:"inline-block",maxWidth:"298px",verticalAlign:"top"},children:a.duration})]})]})]})})}),!_t&&(0,Js.jsx)("div",{"data-key":"about-the-library-files-note",style:{float:"left",marginTop:"20px",fontSize:"12px"},children:(0,Js.jsx)("a",{href:C.HelpURL.about_files_note,target:"_blank",style:{textDecoration:"none"},children:o("About the Library Files Note")})}),(0,Js.jsx)("div",{className:e("pop-footer-wrapper dialog-button"),children:g0o.map((u,p)=>{let{key:m,text:h,show:f}=u;if(!f)return null;let g={},b="primary";switch(m){case"view":g={background:"#fff",color:" #1890ff",border:"1px solid #d9d9d9",outline:"none",marginRight:"16px"};break;case"upgrade":g={marginRight:"16px"};break;case"checkUpdate":b="default",g={marginRight:"16px",color:"#1890ff"};break}return(0,Js.jsx)(Me,{type:b,style:g,onClick:()=>d(m),children:o(h)},p)})})]})},y0o=KRr;var x0o=L(z()),w0o=async function(t,e){let i=bt[t],{containerId:o,title:r,width:n,closed:a,mask:s,esc:l}=i;le.open({id:o,title:r,width:n,closed:a,mask:s,esc:l,children:(0,x0o.jsx)(y0o,{containerId:o})})};async function C0o(){await ii("eda-about",{})}var Cf=L(Se());var BOt=L(S0o());var xa=L(z()),ZRr=({id:t,cancelClickFn:e,originInfo:i})=>{let o=J(),r=be.bind(BOt.default.locals);Ae(BOt.default);let n=r("line"),a=r("line-label"),s="all_pcb",l=ue.formatDate2(new Date,"yyyy-MM-dd"),c=(i==null?void 0:i.from)=="oneClickExport",[d,u]=(0,Cf.useState)(!1);(0,Cf.useEffect)(()=>{de()},[]),i!=null&&i.hide&&(le.hide(t),(0,Cf.useEffect)(()=>{d&&p()},[d]));let p=Gr(async()=>{await Le()},100),m=Gr(Ne=>{Ne!=null&&Ne.netListType&&f(Ne==null?void 0:Ne.netListType),Ne!=null&&Ne.fileName&&T(Ne==null?void 0:Ne.fileName),Ne!=null&&Ne.deviceValue&&N(Ne==null?void 0:Ne.deviceValue),Ne!=null&&Ne.footprintValue&&v(Ne==null?void 0:Ne.footprintValue),Ne!=null&&Ne.additionalValue&&P(Ne==null?void 0:Ne.additionalValue),Ne!=null&&Ne.tolerance&&_(Ne==null?void 0:Ne.tolerance),(Ne==null?void 0:Ne.customProperty)!==void 0&&Q(Ne==null?void 0:Ne.customProperty),(Ne==null?void 0:Ne.deviceName)!==void 0&&q(Ne==null?void 0:Ne.deviceName),u(!0)},100),[h,f]=(0,Cf.useState)((i==null?void 0:i.netListType)||sessionStorage.getItem("netListType")||"Allegro"),g=[{value:"Allegro",text:"Allegro(.tel)"},{value:"PADS",text:"PADS(.asc)"},{value:"Protel2",text:"Protel2(.net)"},{value:"JLCEDA",text:`${vo?"EasyEDA(Professional)(.enet)":"JLCEDA(Professional)(.enet)"}`},{value:"DISA",text:"disa(.dnet)"}],[b,y]=(0,Cf.useState)(""),[w,x]=(0,Cf.useState)([]),[S,T]=(0,Cf.useState)(""),[M,I]=(0,Cf.useState)("device"),[A,D]=(0,Cf.useState)("footprint"),[E,N]=(0,Cf.useState)(sessionStorage.getItem("deviceValue")!==null?sessionStorage.getItem("deviceValue"):"{Footprint}"),[R,v]=(0,Cf.useState)(sessionStorage.getItem("footprintValue")!==null?sessionStorage.getItem("footprintValue"):"{Footprint}"),[k,P]=(0,Cf.useState)(sessionStorage.getItem("additionalValue")!==null?sessionStorage.getItem("additionalValue"):"{Value}"),[O,_]=(0,Cf.useState)(sessionStorage.getItem("tolerance")||""),[j,B]=(0,Cf.useState)([]),V=sessionStorage.getItem("outPut")!==null?JSON.parse(sessionStorage.getItem("outPut")):{customProperty:!1,deviceName:!1},[G,Q]=(0,Cf.useState)(V.customProperty),[H,q]=(0,Cf.useState)(V.deviceName),U=sessionStorage.getItem("allegroFootprintName")!==null?JSON.parse(sessionStorage.getItem("allegroFootprintName")):{checked:!1,value:""},[F,K]=(0,Cf.useState)(U.value),[te,ae]=(0,Cf.useState)(U.checked),pe=sessionStorage.getItem("padsFootprintName")!==null?JSON.parse(sessionStorage.getItem("padsFootprintName")):{checked:!1,value:""},[Z,ee]=(0,Cf.useState)(pe.value),[ce,ne]=(0,Cf.useState)(pe.checked),oe=sessionStorage.getItem("padsDeviceName")!==null?JSON.parse(sessionStorage.getItem("padsDeviceName")):{checked:!1,value:""},[re,Y]=(0,Cf.useState)(oe.value),[X,ie]=(0,Cf.useState)(oe.checked);return(0,xa.jsxs)(xa.Fragment,{children:[(0,xa.jsxs)("div",{className:r("container"),children:[(0,xa.jsxs)("div",{className:n,children:[(0,xa.jsx)("label",{className:a,"data-test":"Netlist Type:",title:o("Netlist Type:"),children:o("Netlist Type:")}),(0,xa.jsx)(xt,{list:g,containerStyle:{overflow:"hidden"},value:h,onChange:Ne=>{f(Ne),sessionStorage.setItem("netListType",Ne)}})]}),(0,xa.jsxs)("div",{className:n,children:[(0,xa.jsx)("label",{className:a,"data-test":"Scope:",title:o("Scope:"),children:o("Scope:")}),(0,xa.jsx)(xt,{list:w,value:b,containerStyle:{overflow:"hidden"},onChange:Ne=>{let Te=Ne.toString();y(Te);let Pe=null;w.some(Oe=>{if(Oe.value===Te)return Pe=Oe,fe(Te,Oe.isPcb),!0}),ye(Pe)},disabled:(i==null?void 0:i.from)=="oneClickExport"})]}),(0,xa.jsxs)("div",{className:n,children:[(0,xa.jsx)("label",{className:a,"data-test":"File Name:",title:o("File Name:"),children:o("File Name:")}),(0,xa.jsx)(Kt,{className:r("file-name"),type:"text",value:S,onChange:Ne=>{T(Ne)}})]}),h==="Allegro"&&(0,xa.jsxs)(xa.Fragment,{children:[(0,xa.jsxs)("div",{className:n,children:[(0,xa.jsx)("label",{style:{position:"relative"},className:a,"data-test":"Device",title:o("Device:"),children:o("Device:")}),(0,xa.jsx)(cV,{position:"fixed",value:E,style:{height:"24px"},needEqual:!1,symbolStore:new sP,onChange:Ne=>{Ne||(Ne="{Footprint}",I("device"+Date.now())),N(Ne),sessionStorage.setItem("deviceValue",Ne)},propertyKey:o("Device"),valueOptions:j},M)]}),(0,xa.jsxs)("div",{className:n,children:[(0,xa.jsx)("label",{style:{position:"relative"},className:a,"data-test":"Footprint",title:o("Footprint:"),children:o("Footprint:")}),(0,xa.jsx)(cV,{position:"fixed",value:R,style:{height:"24px"},onChange:Ne=>{Ne||(Ne="{Footprint}",D("footPrint"+Date.now())),v(Ne),sessionStorage.setItem("footprintValue",Ne)},symbolStore:new sP,needEqual:!1,propertyKey:o("Footprint"),valueOptions:j},A)]}),(0,xa.jsxs)("div",{className:n,children:[(0,xa.jsx)("label",{style:{position:"relative"},className:a,"data-test":"Additive attribute-Value:",title:o("Additive attribute-Value:"),children:o("Additive attribute-Value:")}),(0,xa.jsx)(cV,{position:"fixed",value:k,style:{height:"24px"},onChange:Ne=>{P(Ne),sessionStorage.setItem("additionalValue",Ne)},symbolStore:new sP,needEqual:!1,propertyKey:o("Additive attribute-Value:"),valueOptions:j},"value")]}),(0,xa.jsxs)("div",{className:n,children:[(0,xa.jsx)("label",{style:{position:"relative"},className:a,"data-test":"Additive attribute-Tolerance:",title:o("Additive attribute-Tolerance:"),children:o("Additive attribute-Tolerance:")}),(0,xa.jsx)(cV,{position:"fixed",value:O,style:{height:"24px"},needEqual:!1,symbolStore:new sP,onChange:Ne=>{_(Ne),sessionStorage.setItem("tolerance",Ne)},propertyKey:o("Additive attribute-Tolerance:"),valueOptions:j},"tolearance")]}),(0,xa.jsxs)("div",{className:n,children:[(0,xa.jsx)("label",{className:a,"data-test":"Special Characters:",title:o("Special Characters:"),children:o("Special Characters:")}),(0,xa.jsxs)("div",{className:r("special-content"),children:[(0,xa.jsxs)("div",{style:{display:"flex",flexDirection:"row",flex:"1 0  50%"},children:[(0,xa.jsx)(qt,{checked:te,style:{marginRight:"4px"},onChange:Ne=>{ae(Ne),sessionStorage.setItem("allegroFootprintName",JSON.stringify({checked:Ne,value:F}))}}),(0,xa.jsx)("div",{className:r("special-name"),title:o("Replace spaces and ;!.\uFF1B\uFF01 in the Footprint with"),"data-test":"footprint",children:o("Replace spaces and ;!.\uFF1B\uFF01 in the Footprint with")})]}),(0,xa.jsx)(Kt,{type:"text",disabled:!te,value:F,onChange:Ne=>{/[\s;!.；！']/.test(Ne)||(K(Ne),sessionStorage.setItem("allegroFootprintName",JSON.stringify({checked:te,value:Ne})))}})]})]})]}),h==="PADS"&&(0,xa.jsxs)(xa.Fragment,{children:[(0,xa.jsxs)("div",{className:n,children:[(0,xa.jsx)("label",{style:{position:"relative"},className:a,"data-test":"Output:",title:o("Output:"),children:o("Output:")}),(0,xa.jsxs)("div",{children:[(0,xa.jsx)(qt,{id:"customProperty",checked:G,style:{width:"200px"},onChange:Ne=>{let Te=!G;Q(Te),sessionStorage.setItem("outPut",JSON.stringify({customProperty:Te,deviceName:H}))},children:o("Component Properties")}),(0,xa.jsx)(qt,{id:"deviceName",checked:H,children:o("Device Name"),style:{width:"200px"},onChange:Ne=>{let Te=!H;q(Te),sessionStorage.setItem("outPut",JSON.stringify({customProperty:G,deviceName:Te}))}})]})]}),(0,xa.jsxs)("div",{className:n,children:[(0,xa.jsx)("label",{className:a,"data-test":"Special Characters:",title:o("Special Characters:"),children:o("Special Characters:")}),(0,xa.jsxs)("div",{className:r("special-content"),children:[(0,xa.jsxs)("div",{style:{display:"flex",flexDirection:"row",flex:"1 0  50%"},children:[(0,xa.jsx)(qt,{checked:ce,style:{marginRight:"4px"},onChange:Ne=>{ne(Ne),sessionStorage.setItem("padsFootprintName",JSON.stringify({checked:Ne,value:Z}))}}),(0,xa.jsx)("div",{className:r("special-name"),title:o("Replace spaces and *?:\uFF1F\uFF1A in the Footprint with"),"data-test":"footprint",children:o("Replace spaces and *?:\uFF1F\uFF1A in the Footprint with")})]}),(0,xa.jsx)(Kt,{disabled:!ce,type:"text",value:Z,onChange:Ne=>{/[\s*?:？：]/.test(Ne)||(ee(Ne),sessionStorage.setItem("padsFootprintName",JSON.stringify({checked:ce,value:Ne})))}})]})]}),(0,xa.jsxs)("div",{className:n,children:[(0,xa.jsx)("label",{className:a,"data-test":"Special Characters:",title:o("Special Characters:")}),(0,xa.jsxs)("div",{className:r("special-content"),children:[(0,xa.jsxs)("div",{style:{display:"flex",flexDirection:"row",flex:"1 0  50%"},children:[(0,xa.jsx)(qt,{checked:X,style:{marginRight:"4px"},onChange:Ne=>{ie(Ne),sessionStorage.setItem("padsDeviceName",JSON.stringify({checked:Ne,value:re}))}}),(0,xa.jsx)("div",{className:r("special-name"),title:o("Replace spaces and *?:\uFF1F\uFF1A in the Device with"),"data-test":"device",children:o("Replace spaces and *?:\uFF1F\uFF1A in the Device with")})]}),(0,xa.jsx)(Kt,{disabled:!X,type:"text",value:re,onChange:Ne=>{/[\s*?？：:@]/.test(Ne)||(Y(Ne),sessionStorage.setItem("padsDeviceName",JSON.stringify({checked:X,value:Ne})))}})]})]})]})]}),(0,xa.jsxs)("div",{className:r("footer"),children:[c&&(0,xa.jsx)(Me,{"data-test":"Confirm",type:"primary",style:{marginRight:"8px"},onClick:()=>{let Ne={netListType:h,fileName:S,additionalValue:k,tolerance:O,customProperty:G,deviceName:H};rr.setFileConfigMap({type:"Netlist",valData:Ne}),le.close(t)},children:"Confirm"}),(i==null?void 0:i.from)!=="oneClickExport"&&(0,xa.jsx)(Me,{type:"primary",onClick:async()=>{await Le()&&e()},children:"Export"}),(0,xa.jsx)(Me,{style:{marginLeft:"5px"},onClick:()=>{e()},children:"Cancel"})]})]});async function de(){let Ne=he.getActiveTab();C.messageBus.rpcCall("getBOMNetListSelectList",Ne).then(Te=>{let{rangeSchList:Pe,rangePcbList:Oe}=Te.message;Pe.forEach(He=>{He.showOriginalText=!0}),Oe.forEach(He=>{He.showOriginalText=!0}),Oe.length>0&&(Oe[0].style={borderTop:"1px solid var(--border-color-panel-divider)"});let Ue=[...Pe,...Oe],Ve=he.getTabDocType(Ne);x(Ue);let ze=Ve===se.PCB?Oe[0]:Pe[0];y(ze.value.toString()),fe(ze.value.toString(),Ve!==se.SCH),ye(ze),(i==null?void 0:i.hide)!==void 0&&m(i)})}async function fe(Ne,Te=!1){var Ue;let Pe=[];if(Te)if(wr(gi())[0]!==Ne){let Ve=C.currentProject.projectId,ze=(await C.pcbMessageBus.rpcCall("pcb/decodePcbWorldInWorker",{uuid:Ne,docType:se.PCB,projectId:Ve,options:{data:{type:"getDeviceKey"}},env:{tabId:Ne+Zc+Ve,windowTabId:(Ue=ko())==null?void 0:Ue._TAB_ID_},decodeTopic:"exportBom"})).message;Pe=(ze==null?void 0:ze.bom)||[]}else{let Ve=await Ra();Pe=(await C.windowBridge.rpcCall("getAllDeviceKey","",Ve)).message}else Pe=(await C.messageBus.rpcCall("getUsedAttrKeysBySchUuid",Ne)).message;let Oe=Pe.filter(Ve=>!["3D Model","3D Model Title","3D Model Transform"].includes(Ve)).map(Ve=>({value:`{${Ve}}`,text:{value:`{${Ve}}`,context:"attrs"}}));B(Oe)}function ye(Ne){let Te=Ne.text;Ne.boardName&&(Te=Ne.text.split(":")[1].trim()),T(`Netlist_${(Te||"").replace(/\s+/g,"_")}_${l}`)}async function Le(){if(!S&&!c)return Dt({title:"Error",icon:"error",content:"Please enter a file name",esc:!0}),!1;let Ne=!1;b===s?Ne=!0:w.some(ze=>{if(ze.value===b)return Ne=ze.isPcb,!0});let Te=h==="Allegro"?k:"",Pe=h==="Allegro"?O:"",Oe=te?F||"":null,Ue=ce?Z||"":null,Ve=X?re||"":null;if(Ne){let ze="tel";switch(h){case"JLCEDA":ze="enet";break;case"PADS":ze="asc";break;case"Protel2":ze="net";break;case"DISA":ze="dnet";break;default:break}let He=[],Ye=b===s;w.some(Ge=>{if(!Ge.isPcb||Ge.value==s)return;let Ke=Ge.value===b;return(Ke||Ye)&&He.push({uuid:Ge.value.toString(),title:Ge.title||Ge.text.toString(),dataStr:Ge.dataStr}),!Ye&&Ke});let ke=!c,Be=await l2e({netListType:h,fileName:S,extension:ze,pcbMap:He,options:{additionalValue:Te,tolerance:Pe,device:E,footprint:R,customProperty:G,deviceName:H,allegroFootprintName:Oe,padsFootprintName:Ue,padsDeviceName:Ve}});if(!Be||Object.keys(Be).length===0){await Re(null,ze);return}let Xe=await Zet(Be,ze);ke?Xe&&(wi?cd(Xe,S,ze):ya(Xe,S+"."+ze)):await Re(Xe,ze)}else if(!(await C.messageBus.rpcCall("exportNetlistDlgHandler",{root:b,preserveAll:!0,preserveGap:!1,initialRefdes:1,fileName:S,netlistType:h,options:{additionalValue:Te,tolerance:Pe,device:E,footprint:R,customProperty:G,deviceName:H,allegroFootprintName:Oe,padsFootprintName:Ue,padsDeviceName:Ve}})).message)return!1;return C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.NET_TABLE_EXPORT,content:{},project_uuid:C.currentProject.projectId}]),!0}async function Re(Ne,Te){if(c){if(Ne){let Pe={fileContent:Ne,fileType:Te};await rr.setFilesMap({[rr.netListFileName]:Pe})}else await rr.setFilesMap({[rr.netListFileName]:null});le.close(t)}}},M0o=ZRr;var L0o=L(z());async function I0o(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;return await le.open({id:o,title:r,width:n,closed:a,esc:!0,children:(0,L0o.jsx)(M0o,{cancelClickFn:le.close,id:o,originInfo:t.originInfo})})}var NIe=L(Se());var zOt=L(D0o()),aL=L(z()),JRr=()=>{let t=J();Ae(zOt.default);let{locals:e}=zOt.default,[i,o]=(0,NIe.useState)([]),[r,n]=(0,NIe.useState)(""),a=s=>{it(i,(l,{text:c,value:d,isBoard:u})=>{s===d&&n(d)})};return(0,NIe.useEffect)(()=>{let s=he.getActiveTab();s=he.getTabDocType(s)===se.SCH?s:"",C.messageBus.rpcCall("getSchematicSelectList",s).then(c=>{let d=c.message;o(d),n(d[0].value)})},[]),(0,aL.jsxs)(aL.Fragment,{children:[(0,aL.jsx)("div",{className:e.container,children:(0,aL.jsxs)("div",{className:e.line,children:[(0,aL.jsx)("label",{className:e.lineLabel,"data-test":"Scope:",title:t("Scope:"),children:t("Scope:")}),(0,aL.jsx)("select",{onChange:s=>a(s.target.value),children:i.map((s,l)=>(0,aL.jsx)("option",{id:s.key,value:s.value,children:s.text},s.value))})]})}),(0,aL.jsxs)("div",{className:e.footer,children:[(0,aL.jsx)(Me,{size:"md",type:"primary",onClick:async()=>{await C.messageBus.rpcCall("verifyNowHandler",r),le.close()},children:"Verify Now"}),(0,aL.jsx)(Me,{style:{marginLeft:"5px"},size:"md",onClick:()=>{le.close()},children:"Cancel"})]})]})};async function E0o(t={},e){let i=bt[e],{containerId:o,title:r,width:n}=i;return await le.open({id:o,title:r,width:n,closed,esc:!0,children:(0,aL.jsx)(JRr,{})})}var Pz=L(Se()),UOt=L(N0o());var FOt=class extends qe{constructor(){super(...arguments);this.initDialogParams=null;this.schData=null;this.pcbData=null;this.reuseModuleName={displayTitle:"",value:"",uuid:""};this.clientNotOnlineProjectPath="";this.additionalParams=null}async initDialog(i){var o,r;this.initDialogParams=i,await this.handleSchTemplate(),await this.handlePcbTemplate(),await this.handleModule(),this.additionalParams={owner:"",tags:"",custom_tags:((o=i.blockSymbol)==null?void 0:o.custom_tags)||"",description:((r=i.blockSymbol)==null?void 0:r.description)||""}}closeDialog(){this.initDialogParams&&(this.initDialogParams=null),this.schData&&(this.schData=null),this.pcbData&&(this.pcbData=null),this.additionalParams&&(this.additionalParams=null),this.reuseModuleName={displayTitle:"",value:"",uuid:""}}setClientNotOnlineProjectPath(i){this.clientNotOnlineProjectPath=i,this.notify()}setSchData(i){this.schData.value=i,this.notify()}setPcbData(i){this.pcbData.value=i,this.notify()}setReuseModuleName(i){this.reuseModuleName.value=i}setAdditionalParams(i){this.additionalParams=i}async handleSchTemplate(){let{message:i}=await C.messageBus.rpcCall($e.SCHEMATIC.GET_ALL_ARR,[C.currentProject.projectId]),{sch:o,blockSymbol:r}=this.initDialogParams;this.schData=this.getOptions(i,o||r)}async handlePcbTemplate(){let{message:i}=await C.messageBus.rpcCall($e.PCB.GET_ALL_ARR,[C.currentProject.projectId]),{pcb:o,blockSymbol:r}=this.initDialogParams;this.pcbData=this.getOptions(i,o||r)}async handleModule(){let{blockSymbol:i}=this.initDialogParams;if(i){let{title:o="",uuid:r,displayTitle:n=""}=i;this.reuseModuleName={displayTitle:n,value:n,uuid:r},await this.handleModuleRelated(o)}else this.reuseModuleName={displayTitle:this.initDialogParams.onlySelected?this.initDialogParams.pcb.title:"",value:this.initDialogParams.onlySelected?this.initDialogParams.pcb.title:"",uuid:""}}async handleModuleRelated(i){if(await this.isExistBlockSymbol()){let{message:r}=await C.messageBus.rpcCall($e.SCHEMATIC.GET_NAME_BY_UUID,[i,C.currentProject.projectId]);r&&(this.schData.value=r);let{message:n}=await C.messageBus.rpcCall($e.PCB.GET_UUID_BY_TITLE,[i,C.currentProject.projectId]);n&&(this.pcbData.value=n)}}async isExistBlockSymbol(){let{blockSymbol:i}=this.initDialogParams;if(i){let{message:o}=await C.messageBus.rpcCall($e.SYMBOL.IS_EXIST,[i.uuid,C.currentProject.projectId]);return o}else return!1}getOptions(i,o){let r={value:"",options:[]};return i.forEach(n=>{var a,s,l,c;if(n.uuid===(o==null?void 0:o.uuid)&&(r.value=n.uuid),Object.hasOwnProperty.call(o||{},"displayTitle")){let d=(s=(a=n==null?void 0:n.display_name)!=null?a:n==null?void 0:n.display_title)!=null?s:"";o.displayTitle===d&&(r.value=n.uuid)}r.options.push({value:n.uuid,text:(c=(l=n==null?void 0:n.display_name)!=null?l:n==null?void 0:n.display_title)!=null?c:"",showOriginalText:!0})}),!r.value&&r.options[0]&&(r.value=r.options[0].value),r}check(i){let{sch:o,pcb:r,title:n,owner:a,description:s}=i;if(!o&&!r)return Dt({title:"Information",icon:"none",content:"Please select at least one template schematic or PCB.",confirmText:"Confirm",closed:!0,height:130,isHtml:!1}),{success:!1};let l=/[\\\/:*?"<>|]+/g;return l.test(n)&&(n=n.replace(l,""),De({type:"info",msg:"Title contains special characters, automatically filtered",timer:5})),dh(n,1,void 0,void 0,n)?!Je&&!a?(Dt({title:"Information",content:"Please choose the owner!",confirmText:"Confirm",closed:!0,height:130,isHtml:!1}),{success:!1}):NTe(s,me.i18n("Describe"),0,256)?{success:!0,title:n}:{success:!1}:{success:!1}}async handleConfirm(i){var s,l,c,d,u;let{value:o}=this.schData,{value:r}=this.pcbData,{value:n}=this.reuseModuleName,{success:a}=this.check({sch:o,pcb:r,title:n,...this.additionalParams});if(a){let p=(l=(s=this.schData.options.find(g=>g.value===o))==null?void 0:s.text)!=null?l:"",m=(d=(c=this.pcbData.options.find(g=>g.value===r))==null?void 0:c.text)!=null?d:"",h=(u=this.reuseModuleName.uuid)!=null?u:"",f={title:n,schematic:{uuid:o,title:p},pcb:{uuid:r,title:m},blockSymbol:{uuid:h,title:n},...this.additionalParams};this.initDialogParams.onlySelected?await this.handleDataForSelectedSave(f):await this.handleData(f),le.close(i)}}async handleData(i){let{title:o,schematic:r,pcb:n,blockSymbol:a,owner:s,tags:l,custom_tags:c,description:d}=i,u=l?l.split(":"):[],p=Je?this.clientNotOnlineProjectPath:s;if(u.length<=0&&c!==""){let S=c.split(":"),T=await sn.addCategoriesBatchByNameArray({categories:S.length>1?[{parentName:S[0],childName:S[1]}]:[{parentName:S[0]}],type:[+Yi.CBB],uuid:p}),M=T.allParentCreated[0]?T.allParentCreated[0].uuid:void 0,I=T.allChildCreated[0]?T.allChildCreated[0].uuid:void 0;u=I?[M,I]:[M]}if(c&&/.+(:.+)?/.test(c)){let S=c.split(":");c=JSON.stringify(S)}let m={title:o,schematic:r,pcb:n,blockSymbol:a},h={owner:{uuid:s},name:o,description:d,tags:u,custom_tags:c,path:p,cbb_project:!0},f=C.currentProject.projectId,g={cbb:{uuid:f,data:m,related:{uuid:f,analyzeReuseBlock:!0}},info:h,options:{needDlg:!1}},{message:b}=await C.messageBus.rpcCall(qr.CBB_AS_CLOUD,g);if(!b.success)return De({type:"error",msg:"Project save as failure!",timer:3});this.successCallback();let y=(await C.messageBus.rpcCall("getAllSheetsName",i.schematic.uuid)).message;C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.CBB_SAVEAS_REMOTE,content:[...y.map(S=>({"Schematic Name":i.schematic.title,"Sheet Name":S})),{"PCB Name":i.pcb.title}],project_uuid:C.currentProject.projectId}]);let{message:w}=await C.messageBus.rpcCall("sch/getFirstSheetUuid",r.uuid),x=b.result.project.uuid;await Ev(x,{schPage:{uuid:w,project_uuid:x}})}async handleDataForSelectedSave(i){var I;let{title:o,schematic:r,pcb:n,blockSymbol:a,owner:s,tags:l,custom_tags:c,description:d}=i,u=C.teams.find(A=>A.uuid==s);(!u&&((I=Xo.getUserInfoFromCache())==null?void 0:I.uuid)==s||Je)&&(u=Xo.getUserInfoFromCache());let p={uuid:s,nickname:u.nickname,username:u.username},m=l?l.split(":"):[],h=Je?this.clientNotOnlineProjectPath:s,f=await ei(),{dataStr:g,footprints:b,devices:y}=(await C.windowBridge.rpcCall("FileSourceForSelected",{pcbName:o,ownerInfo:p},f.contentWindow)).message,w=new Set(b),x=new Array;for(let A of y){let D=(await C.messageBus.rpcCall($e.DEVICE.GET,[A,C.currentProject.projectId])).message;D&&(D.attributes.Footprint&&w.add(D.attributes.Footprint),D.attributes.Symbol&&x.push(D.attributes.Symbol))}let S={footprints:[...w],symbols:x,devices:y},{message:T}=await C.messageBus.rpcCall(qr.BUILD_EXPORT,{uuid:C.currentProject.projectId,datas:S}),M={uuid:Mt(),owner:{uuid:s,nickname:p.nickname,username:p.username},name:o,cbb_project:!0,description:d,tags:m,custom_tags:c,path:h};await C.messageBus.rpcCall(qr.IMPORT_NEW_PROJECT,{info:M,datas:{dataStr:g+pRe+T.result},analyzeReuseBlock:!0})}successCallback(){x1(),C.messageBus.publish("hideLoading"),this.closeDialog()}},xu=new FOt;var Tu=L(z()),dE=be.bind(UOt.default.locals),qRr=t=>{let e=ca(),{containerId:i}=t;Ae(UOt.default),Ce(xu);let o=J(),[r,n]=(0,Pz.useState)(()=>({custom_tags:xu.additionalParams.custom_tags,description:xu.additionalParams.description})),a=(0,Pz.useRef)(null),s=(0,Pz.useCallback)(d=>{xu.setAdditionalParams({...xu.additionalParams,owner:d}),e()},[]),l=(0,Pz.useCallback)(d=>{xu.setAdditionalParams({...xu.additionalParams,owner:d}),e()},[]),c=(0,Pz.useCallback)(d=>{xu.setClientNotOnlineProjectPath(d)},[]);return Bt(()=>{xu.closeDialog()}).close(i),(0,Tu.jsx)("div",{className:dE("container"),style:{overflow:"hidden"},children:(0,Tu.jsxs)(z0,{children:[!xu.initDialogParams.onlySelected&&(0,Tu.jsxs)(Tu.Fragment,{children:[(0,Tu.jsxs)("tr",{className:dE("line"),children:[(0,Tu.jsx)("td",{style:Kc,"data-test":"Template Schematic:",title:o("Template Schematic:"),children:o("Template Schematic:")}),(0,Tu.jsx)("td",{style:{width:"calc(100% - 352px)"},children:(0,Tu.jsxs)("div",{className:dE("lineRight"),children:[(0,Tu.jsx)(xt,{searchable:!0,style:{width:"85%"},value:xu.schData.value,list:xu.schData.options,onChange:d=>{xu.setSchData(d)},textStyle:{maxWidth:"calc(100% - 30px)"}}),(0,Tu.jsx)("span",{className:dE("icon-eda-x-circle-container"),style:{display:xu.schData.value.length>0?"block":"none"},onClick:()=>{xu.setSchData("")},children:(0,Tu.jsx)("i",{className:dE("icon-eda-x-circle"),style:{fontSize:"1.5rem"}})})]})})]}),(0,Tu.jsxs)("tr",{className:dE("line"),children:[(0,Tu.jsx)("td",{style:Kc,"data-test":"Template PCB:",title:o("Template PCB:"),children:o("Template PCB:")}),(0,Tu.jsx)("td",{style:{width:"calc(100% - 352px)"},children:(0,Tu.jsxs)("div",{className:dE("lineRight"),children:[(0,Tu.jsx)(xt,{searchable:!0,style:{width:"85%"},value:xu.pcbData.value,list:xu.pcbData.options,onChange:d=>{xu.setPcbData(d)},textStyle:{maxWidth:"calc(100% - 30px)"}}),(0,Tu.jsx)("span",{className:dE("icon-eda-x-circle-container"),style:{display:xu.pcbData.value.length>0?"block":"none"},onClick:()=>{xu.setPcbData("")},children:(0,Tu.jsx)("i",{className:dE("icon-eda-x-circle"),style:{fontSize:"1.5rem"}})})]})})]})]}),(0,Tu.jsxs)("tr",{className:dE("line"),children:[(0,Tu.jsx)("td",{style:Kc,"data-test":"Reuse Module Name:",title:o("Reuse Module Name:"),children:o("Reuse Module Name:")}),(0,Tu.jsx)("td",{style:{width:"calc(100% - 352px)"},children:(0,Tu.jsx)("div",{className:dE("lineRight"),children:(0,Tu.jsx)(Kt,{style:{width:"85%"},defaultValue:xu.reuseModuleName.displayTitle,onChange:d=>{xu.setReuseModuleName(d.trim())}})})})]}),(0,Tu.jsxs)("tr",{className:dE("line"),children:[(0,Tu.jsx)("td",{style:Kc}),(0,Tu.jsx)("td",{style:{width:"calc(100% - 352px)"},children:(0,Tu.jsx)("div",{className:dE("lineRight"),children:(0,Tu.jsx)("div",{style:{color:"red"},"data-test":"Tips: The template schematic and PCB will be named according to the name of the reuse module and added to the board with the same name",children:o("Tips: The template schematic and PCB will be named according to the name of the reuse module and added to the board with the same name")})})})]}),!Je&&(0,Tu.jsx)(du,{ref:a,notFolder:!0,onOwnerChange:s,onWorkSpaceChange:l,contentStyle:{width:"calc(100% - 352px)"}}),!Je&&(0,Tu.jsx)(Ep,{inputValue:r.custom_tags,categoryType:Yi.CBB,ownerSelectId:xu.additionalParams.owner.length===0?C.loginedUserInfo.uuid:xu.additionalParams.owner,contentStyle:{width:"calc(100% - 399px)"},clientLibPath:On.selectPath,openDialogCallback:(d,u)=>{xu.setAdditionalParams({...xu.additionalParams,custom_tags:d,tags:u}),n(p=>({...p,custom_tags:d}))},clearClick:()=>{xu.setAdditionalParams({...xu.additionalParams,custom_tags:"",tags:""}),n(d=>({...d,custom_tags:""}))}}),(0,Tu.jsx)(lh,{value:r.description,contentStyle:{width:"calc(100% - 330px)"},onChange:d=>{xu.setAdditionalParams({...xu.additionalParams,description:d.trim()}),n(u=>({...u,description:d.trim()}))}}),Je&&(0,Tu.jsx)(Ype,{onChange:c})]})})},k0o=(0,Pz.memo)(qRr);var O0o=L(z());async function P0o(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,footer:d}=i,{isProjectLibrary:u}=t;if(!u){Dt({title:"Information",content:"Please select the current project data to save as reuse module!",confirmText:"Confirm",closed:!0,height:130,isHtml:!1});return}t.onlySelected&&(r="Save as Reuse Block Based on Selected"),await xu.initDialog(t),le.open({id:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,footer:d,onOk:()=>{xu.handleConfirm(o)},onCancel:()=>{le.close(o,()=>{xu.closeDialog()})},children:(0,O0o.jsx)(k0o,{containerId:o})})}var h2e=L(Se());var HOt=L(_0o());var VOt=class extends qe{constructor(){super(...arguments);this.datas=[];this.options={}}initData(i,o){this.datas=i,this.options=o;let r=Wi("SYSTEM","placeDeviceType");this.defaultChecked=r!=="show"}},A$=new VOt;function cW(t,e){e!=null&&e.needTipModal?Dt({title:"Warning",content:"This action will clear the history, You will not be able to undo/redo the previous action. Do you want to continue?",confirmText:"Yes",cancelText:"No",showCancel:!0,icon:"question",closed:!0,esc:!0,onConfirm:()=>{i()}}):i();function i(){Dn.open(t)}}var ek=L(z()),XRr=()=>{let{locals:t}=HOt.default,e=be.bind(t),i=J();Ae(HOt.default);let[o,r]=(0,h2e.useState)(A$.defaultChecked),n="Found this device have been updated, do you want to update this device first in the project? Placing directly will use the older version from project library.";Ce(A$);let a='Next time the device placing will use the project library version, you can re-enable "Show updated notice dialog" at "Setting - System - Placing updated device".',s=(0,h2e.useCallback)(async()=>{let{uuids:d,laterCurVersion:u}=A$.options;cW({params:{needUpdateSymbolData:!0,silentIfNone:!1},args:{placeArgs:A$.datas,uuids:[d]}}),le.close()},[]),l=(0,h2e.useCallback)(()=>{let[d,u,p,m,h,f]=A$.datas;eX(d,u,p,m,f,!1,void 0,void 0,void 0,!0),le.close()},[]),c=(0,h2e.useCallback)((d,u)=>{d?Dt({icon:"question",title:"Notice",closed:!0,content:a,showCancel:!0,onConfirm:()=>{p(d),r(d)},onCancel:()=>{}}):(p(d),r(d));function p(m){let h=m?"hide":"show",f=Wi("SYSTEM","placeDeviceType",{readValueKey:!1,defaultValue:{}});f.value=h,mt.savePreference("commSystemSetting",sc())}},[]);return(0,ek.jsxs)("div",{className:t.wrap,children:[(0,ek.jsxs)("div",{className:t.content,children:[(0,ek.jsx)("span",{className:e("messager-warning messager-icon")}),(0,ek.jsx)("span",{className:t["messager-text"],"data-test":n,children:i(n)})]}),(0,ek.jsxs)("div",{className:t.footer,children:[(0,ek.jsx)(qt,{checked:o,onChange:c,children:"Don't show again"}),(0,ek.jsxs)("div",{children:[(0,ek.jsx)(Me,{type:"primary",onClick:s,style:{minWidth:"72px",marginLeft:"8px"},children:"Update"}),(0,ek.jsx)(Me,{type:"primary",onClick:l,style:{minWidth:"72px",marginLeft:"8px"},children:"Place"}),(0,ek.jsx)(Me,{onClick:()=>{le.close()},style:{minWidth:"72px",marginLeft:"8px"},children:"Cancel"})]})]})]})},j0o=XRr;var B0o=L(z());async function GOt(t,e){let{cmd:i}=e,o=bt[t],{containerId:r,title:n,width:a,closed:s,height:l,mask:c}=o;return le.open({id:r,title:n,width:a,height:l,mask:c,closed:s,children:(0,B0o.jsx)(j0o,{})}),{origin:"react"}}var YOt=L(F0o());var yw=L(Se()),G0o=L(gmt()),Y0o=L(fmt()),W0o=L(bmt()),Q0o=L(ymt());var Oz=(t,e,i)=>{if(t==="")return"";if(/^\-?[0-9]+\.[0-9]+$/.test(t)||/^\-?[0-9]+\.[0-9]+$/.test(`${e}`)){let o=`${t}`.match(/\.[0-9]+$/),r=`${e}`.match(/\.[0-9]+$/),n=o?`${t}`.length-(o.index+1):0,a=r?`${e}`.length-(r.index+1):0,s=Math.max(n,a);return(Number(t)+Number(e)).toFixed(s).toString()}else{if(/^\-?[0-9]+$/.test(t))return(Number(t)+Number(e)).toString();if(/^[A-Z]+$/i.test(t)){let o=t.length-1,r=t.substr(0,o),n=t[o],a=n.charCodeAt(0),s=90;return a<s&&a+Number(e)<=s?(n=String.fromCharCode(a+Number(e)),n=N$(n,i)):a<s&&a+Number(e)>s?(r=r?Oz(r,1,i):"A",r=N$(r,i),n=String.fromCharCode(65+(Number(e)-(90-a)-1)),n=N$(n,i)):a===s&&(r=r?Oz(r,1,i):"A",r=N$(r,i),n=String.fromCharCode(65+(Number(e)-1)),n=N$(n,i)),r+n}else return t}},N$=(t,e)=>{let i=e?/[IOQSXZ]/gim:null;return i&&i.test(t)?t.replace(i,function(o){return o==="Z"?"A":String.fromCharCode(o.charCodeAt(0)+1)}):t};async function U0o(t,e,i){let{range:o,rule:r,prefix:n,suffix:a,step:s}=t,l=0;if(e==="pad"&&i&&(l=o==="selectPads"?i.selectPadsNum:i.allPadsNum,o==="selectPads"&&l<1))return C.messageBus.publish("message",{type:"alert",message:"Please select the pad first!"}),Promise.resolve(!1);let c=r==="prefixIncrement",d=r==="suffixIncrement";if(c){if(!n)return C.messageBus.publish("message",{type:"alert",message:"The prefix is empty and cannot be incremented!"}),Promise.resolve(!1)}else if(d&&!a)return C.messageBus.publish("message",{type:"alert",message:"The suffix is empty and cannot be incremented!"}),Promise.resolve(!1);let u=/^[0-9]+$/,p=/^[A-Z]+$/,m=u.test(n),h=p.test(n),f=u.test(a),g=p.test(a);if(n&&!(m||h))return C.messageBus.publish("message",{type:"alert",message:"The prefix does not allow a combination of numbers and letters!"}),Promise.resolve(!1);if(a&&!(f||g))return C.messageBus.publish("message",{type:"alert",message:"The suffix does not allow a combination of numbers and letters!"}),Promise.resolve(!1);if(!s||!/^\-?[0-9]+$/.test(s))return C.messageBus.publish("message",{type:"alert",message:"The increment value is wrong, please re-enter!"}),Promise.resolve(!1);if(s<0){e==="pin"&&(l=(await C.messageBus.rpcCall("sch/getPinsInRange",o==="selectPins")).message);let y=c?n:d?a:null;if(y&&$Rr(y,l,s))return C.messageBus.publish("message",{type:"alert",message:"The increment value is wrong, please re-enter!"}),Promise.resolve(!1)}return Promise.resolve(!0)}function $Rr(t,e,i){if(/^[0-9]+$/.test(t))return Number(t)+(e-1)*i<0;if(/^[A-Z]+$/.test(t))return t.charCodeAt(0)+(e-1)*i<65}var Ta=L(z()),WOt={},Id=be.bind(YOt.default.locals),V0o={"renumber-pins":{rangeValue:"allPins",sequenceValue:"horizontal_vertical",prefix:"",suffix:"1",isReNumName:!0,rule:"suffixIncrement",step:1,isLimit:!0},"renumber-pads":{rangeValue:"allPads",sequenceValue:"horizontal_vertical",prefix:"",suffix:"1",rule:"suffixIncrement",step:1,isLimit:!0}};function K0o(t){let{dialogKey:e,containerId:i}=t,o=J();Ae(YOt.default);let r=V0o[e],[n,a]=(0,yw.useState)(r.rangeValue),s=r.prefix,l=r.suffix,[c,d]=(0,yw.useState)(s||""),[u,p]=(0,yw.useState)(l||"1"),[m,h]=(0,yw.useState)(r.sequenceValue),[f,g]=(0,yw.useState)(r.isLimit),[b,y]=(0,yw.useState)(r.isReNumName),[w,x]=(0,yw.useState)(r.rule),S=r.step,[T,M]=(0,yw.useState)(S),I=(0,yw.useRef)({prefix:s||"",suffix:l||"1",step:S||1}),A=(0,yw.useRef)({prefix:"",suffix:"1"}),D=(0,yw.useMemo)(()=>!(["anti_clockwise","custom_path"].includes(m)||T<=0),[m]),E=(0,yw.useMemo)(()=>{let F=[],K=A.current.prefix=N$(c,f),te=A.current.suffix=N$(u,f);if(w==="prefixIncrement"){let ae=Oz(K,T,f),pe=Oz(ae,T,f),Z=`${K+te};${ae+te};${pe+te};...`;F.push(Z)}else if(w==="suffixIncrement"){let ae=Oz(te,T,f),pe=Oz(ae,T,f),Z=`${K+te};${K+ae};${K+pe};...`;F.push(Z)}else{let ae=Oz(te,T,f),pe=Oz(ae,T,f),Z=Oz(K,T,f),ee=`${K+te};${K+ae};${K+pe};..`,ce=`${Z+te};${Z+ae};${Z+pe};...`;F.push(ee,ce)}return F},[c,u,T,w,f]),N=async F=>{F.stopPropagation(),F.preventDefault();let K=n,te=m,ae=he.getActiveTab(),pe={range:K,sequsence:te,isLimit:f,prefix:A.current.prefix,suffix:A.current.suffix,rule:w,step:Number(T),tabid:ae,isReNumName:b};if(await U0o(pe,e==="renumber-pins"?"pin":"pad",t.params)){if(e==="renumber-pins")if(te==="custom_path"){Object.assign(WOt,pe);let ee=pe.range==="allPins";C.messageBus.publish("customPathRenumberPins",{isSelectAll:ee,isReNumName:b})}else C.messageBus.publish("renumberPins",pe);else{pe.action="confirm",pe.dialogId=t.dialogId;let ee=Xi();C.windowBridge.publish("pcbdialogClose",pe,ee.contentWindow)}V0o[e]={rangeValue:n,prefix:c,sequenceValue:m,isLimit:f,rule:w,step:T,suffix:u,isReNumName:b},le.close(i)}},R=(0,yw.useMemo)(()=>e==="renumber-pins"?[{id:"range-all-pins",label:"All Pins",value:"allPins"},{id:"range-select-pins",label:"Pin Only Selected",value:"selectPins"}]:[{id:"range-all-pads",label:"All Pads",value:"allPads"},{id:"range-select-pads",label:"Pad Only Selected",value:"selectPads"}],[]),v=(0,yw.useMemo)(()=>[{id:"pin-sequsence-horizontal_vertical",label:"Horizontal, then vertical",value:"horizontal_vertical"},{id:"pin-sequsence-vertical_horizontal",label:"Vertical, then horizontal",value:"vertical_horizontal"},{id:"pin-anti_clockwise",label:"Anti-Clockwise",value:"anti_clockwise"},{id:"pin-custom_path",label:"Custom path",value:"custom_path"}],[]),k=(0,yw.useMemo)(()=>[{src:G0o.default,visible:m==="horizontal_vertical"},{src:Y0o.default,visible:m==="vertical_horizontal"},{src:W0o.default,visible:m==="anti_clockwise"},{src:Q0o.default,visible:m==="custom_path"}],[m]),P=F=>{h(F),["anti_clockwise","custom_path"].includes(F)&&x("suffixIncrement")},O=F=>{let K=F.target.value;/[a-z]+/.test(K)&&(K=K.toUpperCase()),d(K)},_=F=>{let K=F.target.value;if(!isNaN(K)&&Number(K)>Number.MAX_SAFE_INTEGER-1e4)return;/[a-z]+/.test(K)&&(K=K.toUpperCase()),p(K)},j=(F,K="prefix")=>{let te=/^[0-9]+$/.test(F),ae=/^[A-Z]+$/i.test(F),pe=w==="suffix_prefix_Increment"||K+"Increment"===w,Z;return!F&&pe?(C.messageBus.publish("message",{type:"alert",message:`The ${K} is empty and cannot be incremented!`}),Z=!1):!(te||ae)&&pe?(C.messageBus.publish("message",{type:"alert",message:`The ${K} only allows to enter numbers or letters alone!`}),Z=!1):Z=!0,Z},B=F=>{let K=F.target.value;j(K,"prefix")?I.current.prefix=K:d(I.current.prefix)},V=F=>{let K=F.target.value;j(K,"suffix")?I.current.suffix=K:p(I.current.suffix)},G=F=>{F<=0&&x("suffixIncrement"),M(F)},Q=F=>{G(F.target.value)},H=F=>{F.stopPropagation(),F.preventDefault();let K=Number(T)+1;G(K)},q=F=>{if(F.stopPropagation(),F.preventDefault(),T>1){let K=Number(T)-1;G(K)}},U=F=>{let K=F.target.value;/^[1-9]([0-9]+)?$/.test(K)?I.current.step=K:M(I.current.step)};return(0,Ta.jsx)(Ta.Fragment,{children:(0,Ta.jsxs)("div",{className:Id("pop-content-container renumberPinsDlg"),style:{height:"100%"},id:i,children:[(0,Ta.jsxs)("div",{className:Id("container pop-content-wrapper"),children:[(0,Ta.jsxs)("div",{className:Id("leftContent"),children:[(0,Ta.jsxs)("div",{className:Id("renumberRow"),children:[(0,Ta.jsx)("div",{className:Id("label"),"data-test":"Range:",children:o("Range:")}),(0,Ta.jsx)("div",{className:Id("content"),children:R.map((F,K)=>(0,Ta.jsx)(H0o,{id:F.id,label:F.label,value:F.value,checkedValue:n,onChange:te=>a(te)},K))})]}),(0,Ta.jsxs)("div",{className:Id("renumberRow"),children:[(0,Ta.jsx)("div",{className:Id("label"),"data-test":"Sequence:",children:o("Sequence:")}),(0,Ta.jsx)("div",{className:Id("content"),children:v.map((F,K)=>(0,Ta.jsx)(H0o,{id:F.id,label:F.label,value:F.value,checkedValue:m,onChange:te=>P(te)},K))})]}),(0,Ta.jsxs)("div",{className:Id("renumberRow"),children:[(0,Ta.jsx)("div",{className:Id("label"),"data-test":"Starting number:",children:o("Starting number:")}),(0,Ta.jsxs)("div",{className:Id("content"),children:[(0,Ta.jsxs)("div",{className:Id("renumberItem"),children:[(0,Ta.jsx)("label",{"data-test":"Prefix",children:o("Prefix")}),(0,Ta.jsx)("input",{type:"text",className:Id("renumberPinsPrefix"),value:c,onChange:O,onKeyDown:F=>{F.key.toLowerCase()==="enter"&&B(F)},onBlur:B})]}),(0,Ta.jsxs)("div",{className:Id("renumberItem"),children:[(0,Ta.jsx)("label",{"data-test":"Suffix",children:o("Suffix")}),(0,Ta.jsx)("input",{type:"text",className:Id("renumberPinsSuffix"),value:u,onChange:_,onKeyDown:F=>{F.key.toLowerCase()==="enter"&&V(F)},onBlur:V})]}),(0,Ta.jsx)("div",{className:Id("renumberItem"),children:(0,Ta.jsxs)("label",{children:[(0,Ta.jsx)("input",{type:"checkbox",className:Id("affixLimit"),checked:f,onChange:F=>g(!!F.target.checked)}),(0,Ta.jsx)("span",{"data-test":"Number prohibits I, O, Q, S, X, Z letters",children:o("Number prohibits I, O, Q, S, X, Z letters")})]})}),e==="renumber-pins"&&(0,Ta.jsx)("div",{className:Id("renumberItem"),children:(0,Ta.jsxs)("label",{children:[(0,Ta.jsx)("input",{type:"checkbox",className:Id("affixLimit"),checked:b,onChange:F=>y(!!F.target.checked)}),(0,Ta.jsx)("span",{"data-test":"Update Pin Name Synchronously",children:o("Update Pin Name Synchronously")})]})})]})]}),(0,Ta.jsxs)("div",{className:Id("renumberRow"),children:[(0,Ta.jsx)("div",{className:Id("label"),"data-test":"Numbering rules:",children:o("Numbering rules:")}),(0,Ta.jsxs)("div",{className:Id("content"),children:[(0,Ta.jsx)("div",{className:Id("renumberItem floatItem"),children:(0,Ta.jsxs)("select",{className:Id("renumberPinsRules"),value:w,onChange:F=>{x(F.target.value)},children:[(0,Ta.jsx)("option",{value:"prefixIncrement","data-test":"Prefix increment",children:o("Prefix increment")}),(0,Ta.jsx)("option",{value:"suffixIncrement","data-test":"Suffix increment",children:o("Suffix increment")}),(0,Ta.jsx)("option",{style:{display:D?"":"none"},value:"suffix_prefix_Increment","data-test":"Increment by prefix, then prefix",children:o("Increment by suffix, then prefix")})]})}),(0,Ta.jsxs)("div",{className:Id("renumberItem floatItem IncrementItem"),children:[(0,Ta.jsx)("label",{className:Id("incrementText"),"data-test":"Increment",children:o("Increment")}),(0,Ta.jsx)("span",{className:Id("incrementBtn add eda-sort-up-arrow"),onClick:H}),(0,Ta.jsx)("input",{type:"number",className:Id("incrementInput"),value:T,onKeyDown:F=>{if(F.key.toLowerCase()==="enter"){U(F);return}if(F.keyCode!==8&&F.keyCode!==46){let K=F.key;if(!/^[\-0-9]+$/.test(K))return!1}},onInput:Q,onBlur:U}),(0,Ta.jsx)("span",{className:Id("incrementBtn sub eda-sort-down-arrow"),onClick:q})]})]})]}),(0,Ta.jsxs)("div",{className:Id("renumberRow"),children:[(0,Ta.jsx)("div",{className:Id("label"),"data-test":"Preview:",children:o("Preview:")}),(0,Ta.jsx)("div",{className:Id("content"),children:(0,Ta.jsx)("div",{className:Id("renumberItem previewItem i18n"),children:E.map((F,K)=>(0,Ta.jsx)("div",{children:F},K))})})]})]}),(0,Ta.jsx)("div",{className:Id("rightContent"),children:k.map((F,K)=>(0,Ta.jsx)("img",{src:F.src,style:{display:F.visible?"":"none"}},K))})]}),(0,Ta.jsxs)("div",{className:Id("pop-footer-wrapper"),style:{gap:"8px"},children:[(0,Ta.jsx)(Me,{type:"primary",onClick:F=>N(F),children:"OK"}),(0,Ta.jsx)(Me,{onClick:()=>le.close(i),children:"Cancel"})]})]})})}var H0o=t=>{let e=J();return(0,Ta.jsx)(Ta.Fragment,{children:(0,Ta.jsxs)("div",{className:Id("renumberItem floatItem"),children:[(0,Ta.jsx)("input",{type:"radio",value:t.value,id:t.id,checked:t.checkedValue===t.value,onChange:i=>t.onChange(i.target.value)}),(0,Ta.jsx)("label",{htmlFor:t.id,"data-test":t.label,children:e(t.label)})]})})};var Z0o=L(z());function ltt(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;le.open({id:o,title:t.title||r,width:n,height:a,closed:s,esc:!0,children:(0,Z0o.jsx)(K0o,{containerId:o,dialogKey:e,dialogId:t.dialogId,params:t})})}var KOt=L(q0o());var QOt=class extends qe{constructor(){super(...arguments);this.content="";this.title="";this.buttonTitle=void 0}setDialog(i){this.content=i.content||"",this.title=i.title||"",this.buttonTitle=i.buttonTitle||"",this.notify()}},UO=new QOt;var k$=L(z()),e_r=t=>{let e=be.bind(KOt.default.locals);Ae(KOt.default);let{containerId:i}=t;Ce(UO);let o=()=>{if(UO.buttonTitle)return(0,k$.jsx)("div",{className:e("pop-footer-wrapper dialog-button"),style:{textAlign:"right"},children:(0,k$.jsx)(Me,{type:"primary",onClick:()=>{le.close(i)},children:UO.buttonTitle})})},r=UO.content.split(`
`).map(n=>(0,k$.jsx)("p",{children:n}));return(0,k$.jsxs)("div",{children:[(0,k$.jsx)("div",{className:e("pop-content-wrapper"),children:r}),(0,k$.jsx)(o,{})]})},X0o=e_r;var tpo=L(z()),$0o=async function(t,e){let i=bt[t],{containerId:o,title:r,width:n,closed:a,mask:s,esc:l}=i;UO.content=me.i18n(UO.content),le.open({id:o,title:UO.title,width:n,closed:a,mask:s,esc:l,children:(0,tpo.jsx)(X0o,{containerId:o})})};async function epo(){await ii("extapi_dialog_information_message",{})}var JOt=L(opo());var ZOt=class extends qe{constructor(){super(...arguments);this.content="";this.title="";this.mainButtonTitle=void 0;this.buttonTitle=void 0;this.callbackFn=void 0}setDialog(i){this.content=i.content||"",this.title=i.title||"",this.mainButtonTitle=i.mainButtonTitle||"",this.buttonTitle=i.buttonTitle||"",this.callbackFn=i.callbackFn||(()=>{}),this.notify()}},k5=new ZOt;var P$=L(z());var t_r=t=>{let e=be.bind(JOt.default.locals);Ae(JOt.default);let{containerId:i}=t,o=[{key:"mainButton",text:k5.mainButtonTitle,show:!!k5.mainButtonTitle},{key:"button",text:k5.buttonTitle,show:!!k5.buttonTitle}];Ce(k5);function r(s){if(typeof k5.callbackFn=="function")switch(s){case"mainButton":k5.callbackFn(!0);break;case"button":k5.callbackFn(!1);break}le.close(i)}let n=()=>{if(k5.mainButtonTitle||k5.buttonTitle)return(0,P$.jsx)("div",{className:e("pop-footer-wrapper dialog-button"),style:{textAlign:"right"},children:o.map((s,l)=>{let{key:c,text:d,show:u}=s;if(!u)return null;let p={};switch(c){case"mainButton":p={marginRight:"16px"};break;case"button":p={background:"#fff",color:" #1890ff",border:"1px solid #d9d9d9",outline:"none"};break}return(0,P$.jsx)(Me,{type:"primary",style:p,onClick:()=>r(c),children:d},l)})})},a=k5.content.split(`
`).map(s=>(0,P$.jsx)("p",{children:s}));return(0,P$.jsxs)("div",{children:[(0,P$.jsx)("div",{className:e("pop-content-wrapper"),children:a}),(0,P$.jsx)(n,{})]})},rpo=t_r;var spo=L(z()),npo=async function(t,e){let i=bt[t],{containerId:o,title:r,width:n,closed:a,mask:s,esc:l}=i;le.open({id:o,title:k5.title,width:n,closed:a,mask:s,esc:l,children:(0,spo.jsx)(rpo,{containerId:o})})};async function apo(){await ii("extapi_dialog_confirmation_message",{})}var utt=L(Se());var cpo=L(Se());var $Ot=L(qOt());var XOt=class extends qe{get content(){return this._content}set content(e){this._content=e,this.notify()}get toDelSchs(){return this._toDelSchs}set toDelSchs(e){this._toDelSchs=e,this.notify()}get toDelPcbs(){return this._toDelPcbs}set toDelPcbs(e){this._toDelPcbs=e,this.notify()}get isDelPartition(){return this._isDelPartition}get isDelInstance(){return this._isDelInstance}set isDelInstance(e){this._isDelInstance=e,this.notify()}get boards(){return this._boards}set boards(e){this._boards=e,this.notify()}get toDelCBBs(){return this._toDelCBBs}set toDelCBBs(e){this._toDelCBBs=e,this.notify()}get canDeleteSymbolTitle(){return this._canDeleteSymbolTitle}set canDeleteSymbolTitle(e){this._canDeleteSymbolTitle=e,this.notify()}get unDeleteSymbolTitle(){return this._unDeleteSymbolTitle}set unDeleteSymbolTitle(e){this._unDeleteSymbolTitle=e,this.notify()}init(e){let{content:i,toDelSchs:o,toDelCBBs:r,toDelPcbs:n,isDelInstance:a,isDelPartition:s,boards:l,unDeleteSymbolTitle:c,canDeleteSymbolTitle:d,exceptDevices:u="",symbolData:p="",justCheck:m=""}=e;this._content=i,this._toDelSchs=o,this._toDelPcbs=n,this._toDelCBBs=r,this._boards=l,this._isDelInstance=a,this._isDelPartition=s,this._canDeleteSymbolTitle=d,this._unDeleteSymbolTitle=c,this.exceptDevices=u,this.justCheck=m,this.symbolData=p,this.notify()}update(){this.notify()}},sL=new XOt;var Rz=L(z()),i_r=({containerId:t})=>{let e=J();Ae($Ot.default);let i=be.bind($Ot.default.locals),[o,r]=(0,cpo.useState)(!1),n=async()=>{let{isDelInstance:a,isDelPartition:s,content:l,justCheck:c,symbolData:d,exceptDevices:u}=sL,p=[],m=[],h=[],f=[],g=[];if(d&&C.messageBus.publish("projectLibRemove",{data:d,showConfirmDlg:!1,justCheck:c,exceptDevices:u}),it(l.Panel,(b,{panelUuid:y})=>{p.push(y)}),it(l.PCB,(b,{pcb:y})=>{h.push(y)}),it(l.Schematic,(b,{sch:y})=>{m.push(y)}),it(l.CBB,(b,y)=>{y.canDelete&&f.push(y)}),it(l.Simulation,(b,{simulationUuid:y})=>{g.push(y)}),C.messageBus.publish("leftTreeDelete",{toDelSheets:l.Page,toDelPanels:p,toDelSchs:m,toDelPcbs:h,toDelBoards:l.Boards,toDelCbbs:f,toDelSimulations:g}),a){let b=he.getAllTabIdByDoctype(se.SCH);await Ro(b,async(y,w)=>{await new Qm(w,{docType:se.SCH}).todo(),kr("clearHistory",[w],w)}),C.messageBus.publish("privateLibRefresh")}s&&setTimeout(async()=>{let b=Xi();C.windowBridge.rpcCall("continueDeletePartitionItem",null,b.contentWindow)},100),le.close(t)};return(0,Rz.jsxs)("div",{className:i("footer"),children:[(0,Rz.jsx)("div",{className:i("checkbox-text-wrap"),children:(0,Rz.jsxs)("label",{children:[(0,Rz.jsx)("input",{type:"checkbox",className:i("delReply"),name:"delReply",checked:o,onChange:a=>{r(!o)}}),(0,Rz.jsxs)("span",{children:[e("I got it, continue to delete.")," "]})]})}),(0,Rz.jsxs)("div",{className:i("button-wrap"),children:[(0,Rz.jsx)(Me,{type:"primary",disabled:!o,style:{marginRight:"8px"},onClick:n,children:"Delete"}),(0,Rz.jsx)(Me,{onClick:()=>{le.close(t)},children:"Cancel"})]})]})},dpo=i_r;var fse=L(qOt());var yp=L(z()),o_r=()=>{let t=J();Ae(fse.default);let e=be.bind(fse.default.locals),{content:i}=sL;return Ce(sL),(0,yp.jsx)("div",{className:e("content"),children:Object.keys(i).map((o,r)=>{let n=i[o];if(n.length>0){let a=[];if(it(n,(s,l)=>{"canDelete"in l?l.canDelete&&a.push(l.displayTitle||l.name):a.push(l.displayTitle||l.name)}),a.length>0)return(0,yp.jsxs)("div",{children:[(0,yp.jsx)("span",{children:t(o==="canDeleteSymbolTitleArr"?"Project library reuse block symbol":o)}),(0,yp.jsx)("span",{children:":"}),(0,yp.jsx)("span",{style:{color:"#1890ff"},children:a.join("\u3001")})]},r)}})})},r_r=()=>{let t=J();Ae(fse.default);let e=be.bind(fse.default.locals),i=[],o=[],{content:r,toDelSchs:n,toDelPcbs:a,toDelCBBs:s,unDeleteSymbolTitle:l,isDelInstance:c}=sL,[d,u]=(0,utt.useState)(!1);Ce(sL);let p=(y,w)=>{for(let x=w.length-1;x>=0;x--)(w[x].sch===y||w[x].pcb===y||w[x].symbolUuid===y)&&w.splice(x,1)},m=(y,w,x)=>{let S=!1;it(x,(T,M)=>{(M.sch===y||M.pcb===y||M.symbolUuid===y)&&(S=!0)}),S||x.push(w)},h=async(y,w,{key:x,type:S,uuid:T})=>{y.checked=w;let M=[],I=[];switch(it(r.Page,(E,{sheetUuid:N,isLast:R})=>{R||M.push(N)}),x){case"toDelCBBs":it(s,(E,{symbolUuid:N,displayTitle:R,sch:v,pcb:k})=>{if(it(n,(P,O)=>{O.sch===T&&(O.checked=w)}),it(a,(P,O)=>{O.pcb===T&&(O.checked=w)}),N===T||v===T||k===T)switch(S){case"sch":w?m(v,{sch:v,displayTitle:R},r.Schematic):p(v,r.Schematic);break;case"pcb":w?m(k,{pcb:k,displayTitle:R},r.PCB):p(k,r.PCB);break;case"symbol":let P=r.CBB.map(O=>O.symbolUuid);l.includes(y.lowerTitle)?y.canDelete=!1:y.canDelete=!0,w?!P.includes(y.symbolUuid)&&r.CBB.push(y):p(y.symbolUuid,r.CBB);break}});break;case"toDelSchs":it(n,(E,{sch:N,displayTitle:R})=>{N===T&&(w?m(N,{sch:N,displayTitle:R},r.Schematic):p(N,r.Schematic))});break;case"toDelPcbs":it(a,(E,{pcb:N,displayTitle:R})=>{N===T&&(w?m(N,{pcb:N,displayTitle:R},r.PCB):p(N,r.PCB))});break}it(n,(E,N)=>{N.checked&&I.push(N.sch)});let{canDeleteSymbolTitleArr:A,unDeleteSymbolTitleArr:D}=(await C.messageBus.rpcCall("getDeleteCBBInfo",[M,I,s,c])).message;sL.unDeleteSymbolTitle=D,sL.update(),g()},f=y=>{it(s,(w,x)=>{x.canDelete&&(x.checked=y,h(x,y,{key:"toDelCBBs",type:"symbol",uuid:x.symbolUuid}))}),it(a,(w,x)=>{x.checked=y,h(x,y,{key:"toDelPcbs",type:"pcb",uuid:x.pcb})}),it(n,(w,x)=>{x.checked=y,h(x,y,{key:"toDelSchs",type:"sch",uuid:x.sch})}),sL.update(),g()},g=()=>{let y=!0;it(s,(w,x)=>{x.canDelete&&!x.checked&&(y=!1)}),it(a,(w,x)=>{!x.checked&&(y=!1)}),it(n,(w,x)=>{!x.checked&&(y=!1)}),u(y)},b=s.length+a.length+n.length>1;return(0,utt.useEffect)(()=>{it(s,(y,w)=>{w.checked&&h(w,!0,{key:"toDelCBBs",type:"symbol",uuid:w.symbolUuid})}),it(n,(y,w)=>{w.checked&&h(w,!0,{key:"toDelSchs",type:"sch",uuid:w.sch})}),it(a,(y,w)=>{w.checked&&h(w,!0,{key:"toDelPcbs",type:"pcb",uuid:w.pcb})}),g()},[]),(0,yp.jsxs)("div",{className:e("select-content"),children:[b&&(0,yp.jsx)(qt,{className:e("check-line"),checked:d,dataTest:"selectAll",onChange:y=>{f(y)},children:`${t("Select All")}`},"selectAll"),s.length>0&&s.map((y,w)=>{let x=null,S=null;y.sch&&it(n,(M,I,A)=>{I.sch===y.sch&&(x=n[A],i.push(y.sch))}),y.pcb&&it(a,(M,I,A)=>{I.pcb===y.pcb&&(S=a[A],o.push(y.pcb))});let T=l.includes(y.lowerTitle);return(0,yp.jsxs)(yp.Fragment,{children:[y.sch&&x&&(0,yp.jsx)(qt,{className:e("check-line"),dataTest:`Together Delete:SCH' ${y.displayTitle}`,onChange:M=>{h(x,M,{key:"toDelCBBs",type:"sch",uuid:y.sch})},checked:x.checked,children:`${t("Together Delete:")}${t("SCH")} ${y.displayTitle}`},y.sch),y.sch&&x&&(0,yp.jsxs)(qt,{className:e("check-line"),disabled:!!T,checked:!T&&y.checked,dataTest:`${T?"Cannot Delete(is referenced):":"Together Delete:"} 'Project library reuse block symbol' ${y.displayTitle}`,onChange:M=>{h(y,M,{key:"toDelCBBs",type:"symbol",uuid:y.symbolUuid})},style:{marginLeft:"16px"},children:[(0,yp.jsxs)("span",{className:e(T?"error":"info"),children:[`${t(T?"Cannot Delete(is referenced):":"Together Delete:")}`," "]}),(0,yp.jsx)("span",{children:`${t("Project library reuse block symbol")} ${y.displayTitle}`})]},y.symbolUuid),(!y.sch||y.sch&&!x)&&(0,yp.jsxs)(qt,{className:e("check-line"),disabled:!!T,checked:!T&&y.checked,dataTest:`${T?"Cannot Delete(is referenced):":"Together Delete:"} 'Project library reuse block symbol' ${y.displayTitle}`,onChange:M=>{h(y,M,{key:"toDelCBBs",type:"symbol",uuid:y.symbolUuid})},children:[(0,yp.jsxs)("span",{className:e(T?"error":"info"),children:[`${t(T?"Cannot Delete(is referenced):":"Together Delete:")}`," "]}),`${t("Project library reuse block symbol")} ${y.displayTitle}`]},y.symbolUuid),y.pcb&&S&&(0,yp.jsx)(qt,{className:e("check-line"),checked:S.checked,dataTest:`Together Delete: PCB ${y.displayTitle}`,onChange:M=>{h(S,M,{key:"toDelCBBs",type:"pcb",uuid:y.pcb})},children:`${t("Together Delete:")} PCB ${y.displayTitle}`},y.pcb)]})}),n.length>0&&n.map((y,w)=>{if(!i.includes(y.sch))return i.push(y.sch),(0,yp.jsx)(qt,{className:e("check-line"),checked:y.checked,dataTest:`Together Delete: SCH ${y.displayTitle}`,onChange:x=>{h(y,x,{key:"toDelSchs",type:"sch",uuid:y.sch})},children:`${t("Together Delete:")}${t("SCH")} ${y.displayTitle}`},y.sch)}),a.length>0&&a.map((y,w)=>{if(!o.includes(y.pcb))return o.push(y.pcb),(0,yp.jsx)(qt,{className:e("check-line"),checked:y.checked,dataTest:`Together Delete: PCB ${y.displayTitle}`,onChange:x=>{h(y,x,{key:"toDelPcbs",type:"pcb",uuid:y.pcb})},children:`${t("Together Delete:")} PCB ${y.displayTitle}`},y.pcb)})]})},n_r=({containerId:t})=>{let e=J();Ae(fse.default);let i=be.bind(fse.default.locals),{isDelInstance:o,content:r}=sL,n=[];return o&&it(r.CBB,(a,s)=>{s.canDelete&&n.push(s.displayTitle)}),Ce(sL),(0,yp.jsxs)("div",{children:[(0,yp.jsx)("div",{className:i("messager-warning")}),(0,yp.jsxs)("div",{className:i("container"),children:[(0,yp.jsx)("div",{className:i("delCBBInstance"),style:{display:o?"block":"none"},children:e({value:"Reuse block {0} is not used in the current project. Do you need to delete the copy in the project library?",options:{0:n.join("\u3001")}})}),(0,yp.jsx)("div",{className:i("delete-tip"),children:e("You are trying to delete the document as below, this operation cannot be undone, please be careful!")}),(0,yp.jsx)("div",{className:i("clearHistory"),style:{display:o?"block":"none"},children:e("The delete action will clear the history, You will not be able to undo/redo the previous action.")}),(0,yp.jsx)(o_r,{}),(0,yp.jsx)(r_r,{})]}),(0,yp.jsx)(dpo,{containerId:t})]})},upo=n_r;var mpo=L(z());async function ppo(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s,mask:l,esc:c}=i;sL.init(t),le.open({id:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,remove:!0,children:(0,mpo.jsx)(upo,{containerId:o})})}var mW=L(Se());var D_t=L(f2e());var fpo=L(f2e());var ptt="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/extension-logo-JSC6HUNS.png";var tk=L(z()),gpo=t=>{let{title:e,description:i,image:o,publisher:r,uuid:n,isDownload:a,btnClickCallback:s,clickCallBack:l,selectUuid:c,version:d,checkUpdateStatus:u}=t,p=J(),m=be.bind(fpo.default.locals),h=o;return o instanceof Blob&&(h=URL.createObjectURL(o)),(0,tk.jsxs)("div",{className:m(`list-wrap ${c===n&&"selected"}`),onClick:f=>{l(n),f.stopPropagation()},children:[(0,tk.jsx)("div",{className:m("left"),children:(0,tk.jsx)("img",{className:m("img"),src:h||ptt,alt:""})}),(0,tk.jsxs)("div",{className:m("center"),children:[(0,tk.jsx)("div",{style:{fontSize:"13px",paddingTop:"4px"},className:m("ellipsis"),children:e}),(0,tk.jsx)("div",{style:{fontSize:"12px"},className:m("ellipsis"),title:i,children:i}),(0,tk.jsx)("div",{style:{fontSize:"11px",paddingTop:"2px",paddingBottom:"4px"},className:m("ellipsis","publisher"),children:r==null?void 0:r.split("<")[0].trim()}),(0,tk.jsxs)("div",{className:m("rightBottomButtons"),children:[u.isNeedUpdate&&(0,tk.jsx)("div",{className:m("text Update"),onClick:f=>{s(n,e,!1,u.latestVersion,!0)},children:p("Upgrade")}),(0,tk.jsx)("div",{className:m(`text ${a?"Uninstall":"Install"}`),onClick:f=>{s(n,e,a,d)},children:p(`${a?"Uninstall":"Install"}`)})]})]})]})};var R$=L(Vi());var s1o=L(Vi());var cL=L(yRt());var wRt=class extends qe{constructor(){super(...arguments);this.rowsLength=7;this.maxRowsLength=7;this.headHeight=25;this.rowHeight=25;this.tableHeight=202;this.dialogHeight=335;this.extensionUuid=""}generateVersionList(){var i,o;this.versionList=[];for(let r of this.versions)this.versionList.push({select:!1,version:r.version,createdTime:r.created_at,edaVersion:((i=r.engines)==null?void 0:i.eda)||"",compatibility:this.checkVersionCompatibility((o=r.engines)==null?void 0:o.eda)});this.filteredVersionList=[...this.versionList]}async getNewList(){this.versions=[];let i=await qa.getExtensionAllVersionDetails(this.extensionUuid);i&&(this.versions=i,this.generateVersionList(),this.notify())}filterVersionList(i){this.filteredVersionList=[],this.currentSelectedVersionRow=void 0;for(let o of this.versionList){let r=[o.version];r.push(...o.version.split(/[\.\-]/));for(let n of r)if(n.startsWith(i)){this.filteredVersionList.push(o);break}}this.notify()}selectVersion(i){for(let[o,r]of this.filteredVersionList.entries())r.version===i?this.filteredVersionList[o].select=!0:this.filteredVersionList[o].select=!1;this.notify()}checkVersionCompatibility(i){if(!i||i==="")return 0;let o=this.getEditorCurrentVersion(!0);if(o==="dev")return 2;let r=this.checkVersionRelationship(o,i);return r.withinRange?1:r.greaterThanRange?2:r.lessThanRange?-1:0}calculateTableAndDialogHeight(i,o,r,n){this.rowsLength=i,this.maxRowsLength=o||this.maxRowsLength,this.headHeight=r||this.headHeight,this.rowHeight=n||this.rowHeight,this.tableHeight=(this.rowsLength<=this.maxRowsLength?this.rowsLength:this.maxRowsLength)*this.rowHeight+this.headHeight+(this.rowsLength>=1?2:0),this.dialogHeight=this.tableHeight+106+27}getEditorCurrentVersion(i){if(!this.editorCurrentVersion){let o=document.getElementsByTagName("meta").editorMainVersion.content;if(i){let r=o.split(".");r.length>3&&(r.length=3),this.editorCurrentVersion=r.join(".")}else this.editorCurrentVersion=o}return this.editorCurrentVersion}checkVersionRelationship(i,o){if(cL.valid(i)===null||cL.validRange(o)===null)return{withinRange:!1,lessThanRange:!1,greaterThanRange:!1};let r=cL.satisfies(i,o),n=cL.maxSatisfying([i],o),a=cL.minSatisfying([i],o),s=!r&&(n?cL.lt(i,n):!0),l=!r&&(a?cL.gt(i,a):!0);return{withinRange:r,lessThanRange:s,greaterThanRange:l}}},j1=new wRt;var CRt=class extends qe{constructor(){super(...arguments);this._isShowOutExtensionTab=!1;this.activeTab=0;this._searchValue="";this.filterConfig={extensionLib:{status:"All",categoriesStatus:Oy},outExtensionLib:{status:"All",categoriesStatus:Oy},installedLib:{status:"All",categoriesStatus:Oy}}}get selectedUuid(){return this._selectedUuid}get isShowOutExtensionTab(){return this._isShowOutExtensionTab}setSelectedUuid(i){this._selectedUuid=i,this.selectedExtensionData=qa.showData.find(o=>o.uuid===i),j1.extensionUuid=i,this.notify()}get searchValue(){return this._searchValue}setSearchValue(i){this._searchValue=i,this.notify()}clearSelected(){this._selectedUuid=""}async init(){this.activeTab=0,this.filterConfig={extensionLib:{status:"All",categoriesStatus:Oy},outExtensionLib:{status:"All",categoriesStatus:Oy},installedLib:{status:"All",categoriesStatus:Oy}},this.setSearchValue(""),qa.curPageNumber=1,qa.extensionListData=[],qa.installedListData=[],qa.outExtensionListData=[],qa.showData=[],await this.handleOpenOutExtensionTab(),await qa.getInstalledListData(),await qa.getExtensionListData(),qa.refreshShowData(),this.clearSelected()}async switchActiveTab(i){this.activeTab!==i&&(this.activeTab=i,this.activeTab===0&&(qa.extensionListData=[],qa.curPageNumber=1,await qa.getExtensionListData()),this.activeTab===2&&(qa.outExtensionListData=[],qa.curPageNumber=1,await qa.getOutExtensionListData()),qa.refreshShowData())}refreshSelectedDataStatus(i,o,r=!1){r?this.selectedExtensionData.config[i]=o:this.selectedExtensionData[i]=o,this.notify()}resetFilterMenuStatus(){si.setRadioStatus("filter-tab-menu","status","All",!0),si.setRadioStatus("filter-tab-menu","categoriesStatus",Oy,!0),this.filterConfig={extensionLib:{status:"All",categoriesStatus:Oy},outExtensionLib:{status:"All",categoriesStatus:Oy},installedLib:{status:"All",categoriesStatus:Oy}}}async handleOpenOutExtensionTab(){try{if(_t){let i=await s1o.default.getJSON(C.apis.others.outsideExtension);if(i.success){let o=i==null?void 0:i.result;o&&(o!=null&&o.status)&&(o.status==="OFF"&&(this._isShowOutExtensionTab=!1),o.status==="ON"&&(this._isShowOutExtensionTab=!0))}}}catch(i){console.error(i)}}},Rn=new CRt;var jz=class{static async openReadFileDialog(){let e=document.createElement("input");return e.setAttribute("type","file"),e.setAttribute("multiple","multiple"),e.click(),await i();function i(){return new Promise(o=>{e.addEventListener("change",r=>{let n=r.target.files;o(n[0])})})}}static async saveFile(e){if(!e)return;let i=e.name,o=new Blob([e]);if(window.navigator&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(o,i);else{let r=URL.createObjectURL(o),n=document.createElement("a");n.href=r,n.download=i,document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(r)}}static async getEdaPath(){let e=await wd();return e==null?void 0:e.basePath}static async saveFileToFileSystem({uri:e,fileData:i,fileName:o}){let r=!/\/$/.test(e);if(!wi||!r&&!o)return!1;r||(e=e+o);let n=await new Promise((l,c)=>{let d=new FileReader;d.onloadend=()=>{let u=d.result,p=u.indexOf(",");l(u.substring(p+1))},d.onerror=c,d.readAsDataURL(i)});return await(await fetch(`${C.apis.client.writeFileSync}?path=${e}`,{method:"post",body:n})).json()}};var l1o=L(yRt());var Oy="All_Categories";var xRt=class extends qe{constructor(){super(...arguments);this.installedListData=[];this.extensionListData=[];this.outExtensionListData=[];this.showData=[];this.curPageNumber=1;this.totalPage=0}async getExtensionListData(){let i={page:this.curPageNumber,pageSize:20};Rn.searchValue&&(i.keywords=Rn.searchValue),Rn.filterConfig.extensionLib.categoriesStatus!==Oy&&(i.keywords=Rn.searchValue||"",i.category=Rn.filterConfig.extensionLib.categoriesStatus);let o=await R$.default.getJSON(C.apis.others.searchExtensions,i);if(!o||!o.success)return;this.totalPage=o.result.totalPage;let r=this.installedListData.map(s=>s.uuid),n=this.installedListData.filter(s=>s.isEnable).map(s=>s.uuid),a=o.result.lists.filter(s=>s.plugin_status===1).map(s=>{var c,d;return r.includes(s.uuid)?this.installedListData.find((u,p)=>u.uuid===s.uuid):{uuid:s.uuid,title:s.display_name,description:s.description,image:((c=s.images)==null?void 0:c.logo)||"",publisher:s.publisher,categories:[],isEnable:n.includes(s.uuid),isDownload:r.includes(s.uuid),version:s.version,checkUpdateStatus:{isNeedUpdate:!1},banner:((d=s.images)==null?void 0:d.banner)||"",detail:"",changelog:"",keywords:[],name:s.name,others:{name:s.name,uuid:s.uuid,"engines.eda":"",license:""},config:{isAllowExternalInteractions:!1,isAutoUpdate:!1,isOnlineSync:!1,isShowAtHeaderMenu:!1}}});this.extensionListData=[...this.extensionListData,...a]}async getOutExtensionListData(){try{if(!_t||!Rn.isShowOutExtensionTab)return;let i={page:this.curPageNumber,pageSize:20};Rn.searchValue&&(i.keywords=Rn.searchValue);let o=await R$.default.getJSON(C.apis.others.outsideExtensionDataSearch,i);if(!o||!o.success||Reflect.ownKeys((o==null?void 0:o.result)||{}).length===0)return;this.totalPage=o.result.totalPage;let r=this.installedListData.map(s=>s.uuid),n=this.installedListData.filter(s=>s.isEnable).map(s=>s.uuid),a=o.result.lists.filter(s=>s.plugin_status===1).map(s=>{var c,d;return r.includes(s.uuid)?this.installedListData.find(u=>u.uuid===s.uuid):{uuid:s.uuid,title:s.display_name,description:s.description,image:((c=s.images)==null?void 0:c.logo)||"",publisher:s.publisher,categories:[],isEnable:n.includes(s.uuid),isDownload:r.includes(s.uuid),version:s.version,checkUpdateStatus:{isNeedUpdate:!1},banner:((d=s.images)==null?void 0:d.banner)||"",detail:"",changelog:"",keywords:[],name:s.name,others:{name:s.name,uuid:s.uuid,"engines.eda":"",license:""},config:{isAllowExternalInteractions:!1,isAutoUpdate:!1,isOnlineSync:!1,isShowAtHeaderMenu:!1}}});this.outExtensionListData=[...this.outExtensionListData,...a]}catch(i){console.error(i)}}async getInstalledListData(){let i=await C.extensionApiMessageBus2.rpcCall("extensionApi.getExtensionsDetail");this.installedListData=i.map(o=>{var l,c,d,u,p,m;let{config:r,extensionStoreStatus:n}=o,{headerMenus:a}=r,s=this.handleCategories(r.categories);return{uuid:r.uuid,title:r.displayName,description:r.description,image:((l=o.files.logo)==null?void 0:l.source)||"",publisher:r.publisher,categories:s,isEnable:o.isEnable,isDownload:!0,version:r.version,checkUpdateStatus:{latestVersion:n.latestVersion,isNeedUpdate:n.isNeedUpdate},banner:((c=o.files.banner)==null?void 0:c.source)||"",detail:((d=o.files.readme)==null?void 0:d.source)||"",changelog:((u=o.files.changelog)==null?void 0:u.source)||"",keywords:r.keywords,name:r.name,others:{name:r.name,uuid:r.uuid,"engines.eda":(p=r.engines)==null?void 0:p.eda,license:r.license},more:{Repository:((m=r.repository)==null?void 0:m.url)||"",Bugs:r.bugs,Homepage:r.homepage},config:{isAllowExternalInteractions:o.isAllowExternalInteractions,isAutoUpdate:o.isAutoUpdate,isOnlineSync:o.isOnlineSync,isShowAtHeaderMenu:o.isShowAtHeaderMenu},headerMenu:null}})}async refreshShowData(){await this.getInstalledListData(),this.syncExtensionListCheckUpdateStatusWithInstalledList(),this.filterExtensionsData()}syncExtensionListCheckUpdateStatusWithInstalledList(){for(let i of this.installedListData){for(let[o,r]of this.extensionListData.entries())if(i.uuid===r.uuid){this.extensionListData[o]={...i};break}for(let[o,r]of this.outExtensionListData.entries())if(i.uuid===r.uuid){this.outExtensionListData[o]={...i};break}}}filterShowData(){let{activeTab:i,filterConfig:{extensionLib:o,installedLib:r}}=Rn,n=i===0?o:r,{status:a,categoriesStatus:s}=n,l=i===0?this.extensionListData:this.installedListData,c;if(a==="All"&&s===Oy&&(c=l),i===0){let d=this.installedListData.map(u=>u.uuid);c=l.filter(u=>a==="All"?u:a==="Installed"?d.includes(u.uuid):!d.includes(u.uuid)).filter(u=>s===Oy?u:u.categories.includes(s))}else c=l.filter(d=>a==="All"?d:a==="Enabled"?d.isEnable:!d.isEnable).filter(d=>s===Oy?d:d.categories.includes(s));this.showData=c.filter(d=>{if(d.uuid===Rn.searchValue)return!0;{let u=Rn.searchValue.split("").map(m=>`.*${m}`).join("")+".*",p=new RegExp(u,"i");return p.test(d.title)||p.test(d.description)||p.test(d.publisher)||p.test(d.name)}}),this.notify()}async searchFilterExtensionsData(){qa.curPageNumber=1;let{activeTab:i}=Rn;i===0&&(this.extensionListData=[],await this.getExtensionListData()),i===2&&(this.outExtensionListData=[],await this.getOutExtensionListData()),this.filterExtensionsData()}filterExtensionsData(){let{activeTab:i,filterConfig:{extensionLib:o,installedLib:r,outExtensionLib:n}}=Rn,a,s;switch(i){case 0:a=o,s=this.extensionListData;break;case 1:a=r,s=this.installedListData;break;case 2:a=n,s=this.outExtensionListData;break;default:break}let{status:l,categoriesStatus:c}=a;if(i===0||i===2){let d=this.installedListData.map(u=>u.uuid);this.showData=s.filter(u=>l==="All"?u:l==="Installed"?d.includes(u.uuid):!d.includes(u.uuid))}else this.showData=s.filter(d=>l==="All"?d:l==="Enabled"?d.isEnable:!d.isEnable).filter(d=>c===Oy?d:d.categories.includes(c)).filter(d=>{if(d.uuid===Rn.searchValue)return!0;{let u=new RegExp(Rn.searchValue,"i");return u.test(d.title)||u.test(d.description)||u.test(d.publisher)||u.test(d.name)}});this.notify()}async installExtension(i,o,r,n,a=!1,s){try{if(a)return this.downloadInstalledExtensionFile(i,r,o);if(!s){let d=await this.getExtensionVersionDetail(i,o);if(d)s=d.result.file_path;else return De({type:"error",msg:me.i18n("Extension installation failed!")})}let l=await fetch(s,{method:"GET"}),c=l.headers.get("Content-Type");if(c&&c.includes("application/json")){let d=await l.json();if(!d.success)return De({type:"error",msg:me.i18n("Extension installation failed!")+d.message})}else{let d=l.body.getReader(),u=[];for(;;){let{done:m,value:h}=await d.read();if(m)break;u.push(h)}let p=new File([new Blob(u)],r?`${r}_v${o}.eext`:"");r?jz.saveFile(p):(await C.extensionApiMessageBus2.rpcCall("extensionApi.importExtensionPackages",{files:[p],action:n}),await this.refreshShowData(),Rn.setSelectedUuid(i))}}catch{De({type:"error",msg:me.i18n("Extension installation failed!")})}}async downloadInstalledExtensionFile(i,o,r){let n=await C.extensionApiMessageBus2.rpcCall("extensionApi.getExtensionPackage",i);if(n!=null&&n.source){let a=new File([n.source],o?`${o}_v${r}.eext`:"");jz.saveFile(a)}}async uninstallExtension(i){let{uuid:o,title:r,version:n,t:a}=i;Dt({icon:"warning",title:"Uninstall Extension",isHtml:!0,content:`
                    <div>
                        <div>
                            ${a("This action will permanently uninstall the following extensions. Do you wish to continue?")}
                        </div>
                        <div style="color: #5588ff;">
						    <p>${a("Name")}\uFF1A${r}</p>
							<p>${a("Version")}\uFF1AV${n}</p>
							<p>UUID\uFF1A${o}</p>
                        </div>
                    </div>
                `,showAgain:!0,againMessage:a("I got it, continue to operate."),showCancel:!0,confirmButtonDisable:!0,needChangeConfirmStatus:!0,onConfirm:async()=>{let s=await C.extensionApiMessageBus2.rpcCall("extensionApi.deleteExtension",o);Rn.activeTab===1&&Rn.clearSelected(),Rn.refreshSelectedDataStatus("isDownload",!1),Rn.refreshSelectedDataStatus("isEnable",!1),this.extensionListData.forEach(l=>{l.uuid===o&&(l.isDownload=!1)}),this.refreshShowData()}})}async getExtensionVersionDetail(i,o){return Rn.activeTab===2?await R$.default.getJSON(C.apis.others.outsideExtensionDataDetail,{uuid:i,version:o}):await R$.default.getJSON(C.apis.others.getExtensionDetail,{uuid:i,version:o})}async getExtensionDetail(i){var r;let o=this.installedListData.find((n,a)=>n.uuid===i);if(o)return o;for(let[n,a]of this.extensionListData.entries())if(a.uuid===i){let s=a.version,l=await R$.default.getJSON(C.apis.others.getExtensionDetail,{uuid:i,version:s});return this.extensionListData[n]=Object.assign(this.extensionListData[n],{downloadFilePath:l.result.file_path,license:l.result.license,detail:l.result.readme,changelog:l.result.change_log,keywords:l.result.keywords,categories:l.result.categories,others:{name:l.result.name,uuid:l.result.uuid,"engines.eda":(r=l.result.engines)==null?void 0:r.eda,license:l.result.license},more:{Repository:"",Bugs:l.result.bugs,Homepage:l.result.homepage}}),this.extensionListData[n]}}async getExtensionAllVersionDetails(i){let o;_t?o=await R$.default.getJSON(C.apis.others.getExtensionVersionList_SYH+i,{order:"desc"}):o=await R$.default.getJSON(C.apis.others.getExtensionVersionList_DEV,{uuid:i});let r=[];if(o.success&&Array.isArray(o.result)&&o.result.length>=1)for(let n=0;n<o.result.length;n++)_t?o.result[n].created_at=new Date(o.result[n].created_at*1e3).toLocaleDateString():o.result[n].created_at=new Date(o.result[n].created_at).toLocaleDateString(),l1o.valid(o.result[n].version)!==null&&o.result[n].status===1&&r.push(o.result[n]);return r}async setExtensionStatus(i,o){let r=await C.extensionApiMessageBus2.rpcCall("extensionApi.setExtensionStatus",{uuid:Rn.selectedUuid,statusName:i,status:o})}handleCategories(i){let o=["PCB","Schematic","Panel","Symbol","Footprint","Library","Project"];return i||(i=["Other"]),Array.isArray(i)||(i=[i]),i.some(n=>o.includes(n))?i=i.filter(n=>n!=="Other"):i=["Other"],i}},qa=new xRt;var g1o=L(f2e());var c1o="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTggMTgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE4IDE4OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6bm9uZTt9Cjwvc3R5bGU+CjxnPgoJPHJlY3QgY2xhc3M9InN0MCIgd2lkdGg9IjE4IiBoZWlnaHQ9IjE4Ii8+Cgk8Zz4KCQk8cGF0aCBkPSJNMTUuOSw2aC0xLjdjLTAuMywwLTAuNSwwLjItMC41LDAuNVMxMy45LDcsMTQuMiw3SDE2bC0wLjEsOUgybDAuMS05aDEuN2MwLjMsMCwwLjUtMC4yLDAuNS0wLjVTNC4xLDYsMy44LDZIMi4xCgkJCUMxLjUsNiwxLDYuNCwxLDd2OWMwLDAuNiwwLjUsMSwxLjEsMWgxMy44YzAuNiwwLDEuMS0wLjQsMS4xLTFWN0MxNyw2LjQsMTYuNSw2LDE1LjksNnoiLz4KCQk8cGF0aCBkPSJNNC4yLDkuMUM0LjIsOS4xLDQuMiw5LjEsNC4yLDkuMUM0LjEsOS4yLDQuMSw5LjIsNC4xLDkuMmMwLDAsMCwwLjEtMC4xLDAuMWMwLDAsMCwwLDAsMGMwLDAuMSwwLDAuMSwwLDAuMnMwLDAuMSwwLDAuMgoJCQljMCwwLDAsMCwwLDBjMCwwLjEsMC4xLDAuMSwwLjEsMC4xbDAuMSwwLjFMOC4zLDE0YzAuNCwwLjQsMSwwLjQsMS40LDBsNC4xLTQuMWwwLjEtMC4xYzAuMSwwLDAuMS0wLjEsMC4xLTAuMXYwCgkJCWMwLTAuMSwwLTAuMSwwLTAuMnMwLTAuMSwwLTAuMnYwYzAtMC4xLTAuMS0wLjEtMC4xLTAuMmMwLDAtMC4xLTAuMS0wLjEtMC4xaDBjLTAuMSwwLTAuMSwwLTAuMiwwSDExVjJjMC0wLjUtMC41LTEtMS0xSDgKCQkJQzcuNSwxLDcsMS41LDcsMnY3SDQuNUM0LjQsOSw0LjQsOSw0LjIsOS4xQzQuMyw5LDQuMyw5LDQuMiw5LjFDNC4zLDksNC4yLDkuMSw0LjIsOS4xeiBNNywxMGMwLjYsMCwxLTAuNCwxLTFWMmgydjcKCQkJYzAsMC42LDAuNCwxLDEsMWgxLjNMOSwxMy4zTDUuNywxMEg3eiIvPgoJPC9nPgo8L2c+Cjwvc3ZnPgo=";var b1o=L(Apt());var y2e=L(Se());var TRt=L(u1o());var dL=L(z()),rzr=t=>{let[e,i]=(0,y2e.useState)(""),o=be.bind(TRt.default.locals);Ae(TRt.default);let r=J(),n=[{key:"install",text:"Install",show:!0,type:"primary"},{key:"close",text:"Close",show:!0,type:"default"}];Ce(j1);function a(p){switch(p){case-1:return r({context:"extensionApi",value:"Not supported"});case 0:return r({context:"extensionApi",value:"Unknown"});case 1:return r({context:"extensionApi",value:"Main line support"});case 2:return r({context:"extensionApi",value:"Not tested"})}}function s(p){switch(p){case-1:return o("not-supported");case 0:return o("unknown");case 1:return o("main-line");case 2:return o("not-tested")}}let l=(0,y2e.useMemo)(()=>[{key:"select",width:.06,name:"",sortable:!1,filter:!1,render:p=>(0,dL.jsx)("div",{children:(0,dL.jsx)(nn,{checked:p.cellData})})},{key:"version",width:.3,name:r({context:"extensionApi",value:"Version"}),sortable:!0,filter:!1},{key:"createdTime",width:.2,name:r({context:"extensionApi",value:"Created Time"}),sortable:!0,filter:!1},{key:"edaVersion",width:.44,name:r({context:"extensionApi",value:"Compatibility (Mark by author)"}),sortable:!0,filter:!1,render:p=>(0,dL.jsxs)("div",{className:o("compatibility"),children:[(0,dL.jsx)("span",{className:s(p.row.compatibility),children:a(p.row.compatibility)}),p.row.compatibility!==0&&(0,dL.jsxs)("span",{className:s(p.row.compatibility),children:["\xA0(",p.cellData,")"]})]})}],[]);function c(p){j1.currentSelectedVersionRow&&p.row.version===j1.currentSelectedVersionRow.version&&Date.now()-j1.currentSelectedVersionRow.firstClickTimestamp<=300?(j1.currentSelectedVersionRow.firstClickTimestamp=0,d("install")):(j1.currentSelectedVersionRow={...p.row,firstClickTimestamp:Date.now()},j1.currentSelectedVersionRow.select=!0,j1.selectVersion(p.row.version))}async function d(p){switch(p){case"install":j1.currentSelectedVersionRow&&(Rn.selectedExtensionData.isDownload&&(await qa.setExtensionStatus("isAutoUpdate",!1),Rn.refreshSelectedDataStatus("isAutoUpdate",!1,!0)),await qa.installExtension(j1.extensionUuid,j1.currentSelectedVersionRow.version,void 0,"install"),j1.currentSelectedVersionRow=void 0,le.close(t.containerId));break;case"close":j1.currentSelectedVersionRow=void 0,le.close(t.containerId);break}}let u=(0,y2e.useCallback)(p=>{i(p),j1.filterVersionList(p)},[]);return(0,dL.jsxs)("div",{children:[(0,dL.jsxs)("div",{className:o("pop-content-wrapper"),children:[(0,dL.jsx)(_B,{handleInputChangeCb:u,iconVisible:!1,filterValue:e,style:{margin:"0",marginBottom:"4px",width:"100%"},inputStyle:{width:"100%"},showFilterResult:!1}),(0,dL.jsx)(xi,{index:"version",height:j1.tableHeight,rows:j1.filteredVersionList,columns:l,rowHeight:j1.rowHeight,headHeight:j1.headHeight,border:!0,stockade:!0,moveAble:!0,resize:!1,multiSelect:!1,isCtrlSelect:!1,isShiftSelect:!1,onClick:p=>{c(p)}}),j1.filteredVersionList.length===0&&(0,dL.jsx)("div",{style:{height:177}})]}),(0,dL.jsx)("div",{className:o("pop-footer-wrapper dialog-button"),style:{textAlign:"right"},children:n.map((p,m)=>{let{key:h,text:f,show:g,type:b}=p;if(!g)return null;let y={};switch(h){case"install":y={marginRight:"16px"};break;case"close":y={};break}return(0,dL.jsx)(Me,{type:b,style:y,onClick:()=>d(h),children:f},m)})})]})},p1o=rzr;var f1o=L(z()),m1o=async function(t,e){let i=bt[t],{containerId:o,title:r,width:n,closed:a,mask:s,esc:l,height:c}=i;le.open({id:o,title:r,width:n,closed:a,mask:s,esc:l,children:(0,f1o.jsx)(p1o,{containerId:o}),height:j1.dialogHeight,onClose:()=>{}})};async function h1o(){j1.currentSelectedVersionRow=void 0,await j1.getNewList(),await ii("extapi_extension_change_version",{})}var y1o=L(Se()),ww=L(z()),nzr=()=>{let t=J(),e=be.bind(g1o.default.locals);Ce(Rn);let{title:i,description:o,publisher:r,uuid:n,isDownload:a,version:s,isEnable:l,name:c,image:d,checkUpdateStatus:u}=Rn.selectedExtensionData,p=d;d instanceof Blob&&(p=URL.createObjectURL(d));let m=(0,y1o.useMemo)(()=>({menuId:"extapi-extensions-manager-version-right-menu",defaultConfig:[{id:"Install a specific version...",title:{context:"extensionApi",value:"Install a specific version..."}}]}),[]),h=f=>{switch(f.id){case"Install a specific version...":h1o();break}};return(0,ww.jsxs)("div",{className:e("top-wrap"),onClick:f=>{},children:[(0,ww.jsx)("div",{className:e("left-img"),children:(0,ww.jsx)("img",{className:e("img"),src:p||ptt,alt:""})}),(0,ww.jsxs)("div",{className:e("center"),children:[(0,ww.jsx)("div",{style:{fontSize:"13px"},className:e("ellipsis"),children:i}),(0,ww.jsx)("div",{style:{fontSize:"12px"},className:e("ellipsis"),children:r}),(0,ww.jsx)("div",{style:{fontSize:"12px"},className:e("ellipsis"),title:o,children:o}),(0,ww.jsxs)("div",{className:e("button-wrap"),children:[u.isNeedUpdate&&(0,ww.jsx)("div",{className:e("update"),children:(0,ww.jsx)("img",{src:b1o.default,alt:"Update extension",onClick:()=>{qa.installExtension(n,u.latestVersion,void 0,"upgrade")},className:e("updateIcon")})}),(0,ww.jsx)("div",{className:e("version"),children:(0,ww.jsx)(XV,{title:"V"+s,menuConfig:m,showAllow:!0,menuClickCallback:h})}),(0,ww.jsx)("div",{className:e(`text ${a?"Uninstall":"Install"}`),onClick:()=>{a?qa.uninstallExtension({uuid:n,version:s,title:i,t}):qa.installExtension(n,s,void 0,"install")},children:t(`${a?"Uninstall":"Install"}`)}),a&&(0,ww.jsx)("div",{className:e(`text ${l?"Enabled":"Disabled"}`),onClick:async()=>{await qa.setExtensionStatus("isEnable",!l),Rn.refreshSelectedDataStatus("isEnable",!l)},children:t(`${l?"Enabled":"Disabled"}`)}),(0,ww.jsx)("div",{className:e("download"),children:(0,ww.jsx)("img",{src:c1o,alt:"Download extension",onClick:()=>{qa.installExtension(n,s,c,void 0,a)},className:e("downloadIcon")})})]})]})]})},w1o=nzr;var SRt=[{id:Oy,title:"All",optionType:{type:"radio",groupName:"categoriesStatus",defaultChecked:!0}},{id:"PCB",title:"PCB",optionType:{type:"radio",groupName:"categoriesStatus"}},{id:"Schematic",title:"Schematic",optionType:{type:"radio",groupName:"categoriesStatus"}},{id:"Panel",title:"Panel",optionType:{type:"radio",groupName:"categoriesStatus"}},{id:"Symbol",title:"Symbol",optionType:{type:"radio",groupName:"categoriesStatus"}},{id:"Footprint",title:"Footprint",optionType:{type:"radio",groupName:"categoriesStatus"}},{id:"Library",title:"Library",optionType:{type:"radio",groupName:"categoriesStatus"}},{id:"Project",title:"Project",optionType:{type:"radio",groupName:"categoriesStatus"}},{id:"Other",title:"Other",optionType:{type:"radio",groupName:"categoriesStatus"}}],C1o={menuId:"filter-tab-menu",defaultConfig:[{id:"All",title:"All",optionType:{type:"radio",groupName:"status",defaultChecked:!0}},{id:"Installed",title:"Installed",optionType:{type:"radio",groupName:"status"}},{id:"Not_Installed",title:"Not Installed",optionType:{type:"radio",groupName:"status"}},null,...SRt]},x1o={menuId:"filter-tab-menu",defaultConfig:[{id:"All",title:"All",optionType:{type:"radio",groupName:"status",defaultChecked:!0}},{id:"Installed",title:"Installed",optionType:{type:"radio",groupName:"status"}},{id:"Not_Installed",title:"Not Installed",optionType:{type:"radio",groupName:"status"}},null,...SRt]},T1o={menuId:"filter-tab-menu",defaultConfig:[{id:"All",title:"All",optionType:{type:"radio",groupName:"status",defaultChecked:!0}},{id:"Enabled",title:"Enabled",optionType:{type:"radio",groupName:"status"}},{id:"Disabled",title:"Disabled",optionType:{type:"radio",groupName:"status"}},null,...SRt]};var z$=L(Se());var vho=L(f2e());var S1o=L(f2e());var Itt=L(z()),azr=[{title:"Allow interactive with external",id:"isAllowExternalInteractions"},{title:"Show at header menu",id:"isShowAtHeaderMenu"},{title:"Auto update",id:"isAutoUpdate"}],M1o=()=>{let{config:t}=Rn.selectedExtensionData,e=J(),i=be.bind(S1o.default.locals);Ce(Rn);let o=async(r,n)=>{await qa.setExtensionStatus(r,n),Rn.refreshSelectedDataStatus(r,n,!0)};return(0,Itt.jsx)("div",{className:i("config-wrap"),children:azr.map((r,n)=>{let{title:a,id:s}=r;return(0,Itt.jsx)("div",{className:i("config-item"),children:(0,Itt.jsx)(qt,{style:{},checked:t[s],onChange:l=>{o(r.id,l)},dataTest:a,children:e({context:"extensionApi",value:a})})},n)})})};var kRt={};X4e(kRt,{arrayReplaceAt:()=>NRt,assign:()=>x2e,escapeHtml:()=>uW,escapeRE:()=>Hzr,fromCodePoint:()=>UIe,has:()=>kzr,isMdAsciiPunct:()=>wse,isPunctChar:()=>yse,isSpace:()=>Ld,isString:()=>jtt,isValidEntityCode:()=>Btt,isWhiteSpace:()=>bse,lib:()=>Gzr,normalizeReference:()=>Cse,unescapeAll:()=>dW,unescapeMd:()=>jzr});var Att={};X4e(Att,{decode:()=>zIe,encode:()=>Dtt,format:()=>w2e,parse:()=>FIe});var I1o={};function szr(t){let e=I1o[t];if(e)return e;e=I1o[t]=[];for(let i=0;i<128;i++){let o=String.fromCharCode(i);e.push(o)}for(let i=0;i<t.length;i++){let o=t.charCodeAt(i);e[o]="%"+("0"+o.toString(16).toUpperCase()).slice(-2)}return e}function Ltt(t,e){typeof e!="string"&&(e=Ltt.defaultChars);let i=szr(e);return t.replace(/(%[a-f0-9]{2})+/gi,function(o){let r="";for(let n=0,a=o.length;n<a;n+=3){let s=parseInt(o.slice(n+1,n+3),16);if(s<128){r+=i[s];continue}if((s&224)===192&&n+3<a){let l=parseInt(o.slice(n+4,n+6),16);if((l&192)===128){let c=s<<6&1984|l&63;c<128?r+="\uFFFD\uFFFD":r+=String.fromCharCode(c),n+=3;continue}}if((s&240)===224&&n+6<a){let l=parseInt(o.slice(n+4,n+6),16),c=parseInt(o.slice(n+7,n+9),16);if((l&192)===128&&(c&192)===128){let d=s<<12&61440|l<<6&4032|c&63;d<2048||d>=55296&&d<=57343?r+="\uFFFD\uFFFD\uFFFD":r+=String.fromCharCode(d),n+=6;continue}}if((s&248)===240&&n+9<a){let l=parseInt(o.slice(n+4,n+6),16),c=parseInt(o.slice(n+7,n+9),16),d=parseInt(o.slice(n+10,n+12),16);if((l&192)===128&&(c&192)===128&&(d&192)===128){let u=s<<18&1835008|l<<12&258048|c<<6&4032|d&63;u<65536||u>1114111?r+="\uFFFD\uFFFD\uFFFD\uFFFD":(u-=65536,r+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),n+=9;continue}}r+="\uFFFD"}return r})}Ltt.defaultChars=";/?:@&=+$,#";Ltt.componentChars="";var zIe=Ltt;var L1o={};function lzr(t){let e=L1o[t];if(e)return e;e=L1o[t]=[];for(let i=0;i<128;i++){let o=String.fromCharCode(i);/^[0-9a-z]$/i.test(o)?e.push(o):e.push("%"+("0"+i.toString(16).toUpperCase()).slice(-2))}for(let i=0;i<t.length;i++)e[t.charCodeAt(i)]=t[i];return e}function vtt(t,e,i){typeof e!="string"&&(i=e,e=vtt.defaultChars),typeof i>"u"&&(i=!0);let o=lzr(e),r="";for(let n=0,a=t.length;n<a;n++){let s=t.charCodeAt(n);if(i&&s===37&&n+2<a&&/^[0-9a-f]{2}$/i.test(t.slice(n+1,n+3))){r+=t.slice(n,n+3),n+=2;continue}if(s<128){r+=o[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&n+1<a){let l=t.charCodeAt(n+1);if(l>=56320&&l<=57343){r+=encodeURIComponent(t[n]+t[n+1]),n++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(t[n])}return r}vtt.defaultChars=";/?:@&=+$,-_.!~*'()#";vtt.componentChars="-_.!~*'()";var Dtt=vtt;function w2e(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function Ett(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var czr=/^([a-z0-9.+-]+:)/i,dzr=/:[0-9]*$/,uzr=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,pzr=["<",">",'"',"`"," ","\r",`
`,"	"],mzr=["{","}","|","\\","^","`"].concat(pzr),hzr=["'"].concat(mzr),v1o=["%","/","?",";","#"].concat(hzr),D1o=["/","?","#"],fzr=255,E1o=/^[+a-z0-9A-Z_-]{0,63}$/,gzr=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,A1o={javascript:!0,"javascript:":!0},N1o={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function bzr(t,e){if(t&&t instanceof Ett)return t;let i=new Ett;return i.parse(t,e),i}Ett.prototype.parse=function(t,e){let i,o,r,n=t;if(n=n.trim(),!e&&t.split("#").length===1){let c=uzr.exec(n);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let a=czr.exec(n);if(a&&(a=a[0],i=a.toLowerCase(),this.protocol=a,n=n.substr(a.length)),(e||a||n.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=n.substr(0,2)==="//",r&&!(a&&A1o[a])&&(n=n.substr(2),this.slashes=!0)),!A1o[a]&&(r||a&&!N1o[a])){let c=-1;for(let h=0;h<D1o.length;h++)o=n.indexOf(D1o[h]),o!==-1&&(c===-1||o<c)&&(c=o);let d,u;c===-1?u=n.lastIndexOf("@"):u=n.lastIndexOf("@",c),u!==-1&&(d=n.slice(0,u),n=n.slice(u+1),this.auth=d),c=-1;for(let h=0;h<v1o.length;h++)o=n.indexOf(v1o[h]),o!==-1&&(c===-1||o<c)&&(c=o);c===-1&&(c=n.length),n[c-1]===":"&&c--;let p=n.slice(0,c);n=n.slice(c),this.parseHost(p),this.hostname=this.hostname||"";let m=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!m){let h=this.hostname.split(/\./);for(let f=0,g=h.length;f<g;f++){let b=h[f];if(b&&!b.match(E1o)){let y="";for(let w=0,x=b.length;w<x;w++)b.charCodeAt(w)>127?y+="x":y+=b[w];if(!y.match(E1o)){let w=h.slice(0,f),x=h.slice(f+1),S=b.match(gzr);S&&(w.push(S[1]),x.unshift(S[2])),x.length&&(n=x.join(".")+n),this.hostname=w.join(".");break}}}}this.hostname.length>fzr&&(this.hostname=""),m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let s=n.indexOf("#");s!==-1&&(this.hash=n.substr(s),n=n.slice(0,s));let l=n.indexOf("?");return l!==-1&&(this.search=n.substr(l),n=n.slice(0,l)),n&&(this.pathname=n),N1o[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Ett.prototype.parseHost=function(t){let e=dzr.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var FIe=bzr;var MRt={};X4e(MRt,{Any:()=>Ntt,Cc:()=>ktt,Cf:()=>k1o,P:()=>C2e,S:()=>Ptt,Z:()=>Ott});var Ntt=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var ktt=/[\0-\x1F\x7F-\x9F]/;var k1o=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/;var C2e=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/;var Ptt=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/;var Ott=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;var P1o=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(t=>t.charCodeAt(0)));var O1o=new Uint16Array("\u0200aglq	\x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(t=>t.charCodeAt(0)));var IRt,yzr=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),LRt=(IRt=String.fromCodePoint)!==null&&IRt!==void 0?IRt:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function vRt(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=yzr.get(t))!==null&&e!==void 0?e:t}var xw;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(xw||(xw={}));var wzr=32,_$;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(_$||(_$={}));function DRt(t){return t>=xw.ZERO&&t<=xw.NINE}function Czr(t){return t>=xw.UPPER_A&&t<=xw.UPPER_F||t>=xw.LOWER_A&&t<=xw.LOWER_F}function xzr(t){return t>=xw.UPPER_A&&t<=xw.UPPER_Z||t>=xw.LOWER_A&&t<=xw.LOWER_Z||DRt(t)}function Tzr(t){return t===xw.EQUALS||xzr(t)}var Cw;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(Cw||(Cw={}));var Bz;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(Bz||(Bz={}));var Rtt=class{constructor(e,i,o){this.decodeTree=e,this.emitCodePoint=i,this.errors=o,this.state=Cw.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Bz.Strict}startEntity(e){this.decodeMode=e,this.state=Cw.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,i){switch(this.state){case Cw.EntityStart:return e.charCodeAt(i)===xw.NUM?(this.state=Cw.NumericStart,this.consumed+=1,this.stateNumericStart(e,i+1)):(this.state=Cw.NamedEntity,this.stateNamedEntity(e,i));case Cw.NumericStart:return this.stateNumericStart(e,i);case Cw.NumericDecimal:return this.stateNumericDecimal(e,i);case Cw.NumericHex:return this.stateNumericHex(e,i);case Cw.NamedEntity:return this.stateNamedEntity(e,i)}}stateNumericStart(e,i){return i>=e.length?-1:(e.charCodeAt(i)|wzr)===xw.LOWER_X?(this.state=Cw.NumericHex,this.consumed+=1,this.stateNumericHex(e,i+1)):(this.state=Cw.NumericDecimal,this.stateNumericDecimal(e,i))}addToNumericResult(e,i,o,r){if(i!==o){let n=o-i;this.result=this.result*Math.pow(r,n)+parseInt(e.substr(i,n),r),this.consumed+=n}}stateNumericHex(e,i){let o=i;for(;i<e.length;){let r=e.charCodeAt(i);if(DRt(r)||Czr(r))i+=1;else return this.addToNumericResult(e,o,i,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,o,i,16),-1}stateNumericDecimal(e,i){let o=i;for(;i<e.length;){let r=e.charCodeAt(i);if(DRt(r))i+=1;else return this.addToNumericResult(e,o,i,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,o,i,10),-1}emitNumericEntity(e,i){var o;if(this.consumed<=i)return(o=this.errors)===null||o===void 0||o.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===xw.SEMI)this.consumed+=1;else if(this.decodeMode===Bz.Strict)return 0;return this.emitCodePoint(vRt(this.result),this.consumed),this.errors&&(e!==xw.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,i){let{decodeTree:o}=this,r=o[this.treeIndex],n=(r&_$.VALUE_LENGTH)>>14;for(;i<e.length;i++,this.excess++){let a=e.charCodeAt(i);if(this.treeIndex=Szr(o,r,this.treeIndex+Math.max(1,n),a),this.treeIndex<0)return this.result===0||this.decodeMode===Bz.Attribute&&(n===0||Tzr(a))?0:this.emitNotTerminatedNamedEntity();if(r=o[this.treeIndex],n=(r&_$.VALUE_LENGTH)>>14,n!==0){if(a===xw.SEMI)return this.emitNamedEntityData(this.treeIndex,n,this.consumed+this.excess);this.decodeMode!==Bz.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:i,decodeTree:o}=this,r=(o[i]&_$.VALUE_LENGTH)>>14;return this.emitNamedEntityData(i,r,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,i,o){let{decodeTree:r}=this;return this.emitCodePoint(i===1?r[e]&~_$.VALUE_LENGTH:r[e+1],o),i===3&&this.emitCodePoint(r[e+2],o),o}end(){var e;switch(this.state){case Cw.NamedEntity:return this.result!==0&&(this.decodeMode!==Bz.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Cw.NumericDecimal:return this.emitNumericEntity(0,2);case Cw.NumericHex:return this.emitNumericEntity(0,3);case Cw.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Cw.EntityStart:return 0}}};function R1o(t){let e="",i=new Rtt(t,o=>e+=LRt(o));return function(r,n){let a=0,s=0;for(;(s=r.indexOf("&",s))>=0;){e+=r.slice(a,s),i.startEntity(n);let c=i.write(r,s+1);if(c<0){a=s+i.end();break}a=s+c,s=c===0?a+1:a}let l=e+r.slice(a);return e="",l}}function Szr(t,e,i,o){let r=(e&_$.BRANCH_LENGTH)>>7,n=e&_$.JUMP_TABLE;if(r===0)return n!==0&&o===n?i:-1;if(n){let l=o-n;return l<0||l>=r?-1:t[i+l]-1}let a=i,s=a+r-1;for(;a<=s;){let l=a+s>>>1,c=t[l];if(c<o)a=l+1;else if(c>o)s=l-1;else return t[l+r]}return-1}var Mzr=R1o(P1o),igd=R1o(O1o);function j$(t,e=Bz.Legacy){return Mzr(t,e)}function _tt(t){for(let e=1;e<t.length;e++)t[e][0]+=t[e-1][0]+1;return t}var Izr=new Map(_tt([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(_tt([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(_tt([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(_tt([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]));var Lzr=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),vzr=String.prototype.codePointAt!=null?(t,e)=>t.codePointAt(e):(t,e)=>(t.charCodeAt(e)&64512)===55296?(t.charCodeAt(e)-55296)*1024+t.charCodeAt(e+1)-56320+65536:t.charCodeAt(e);function ERt(t,e){return function(o){let r,n=0,a="";for(;r=t.exec(o);)n!==r.index&&(a+=o.substring(n,r.index)),a+=e.get(r[0].charCodeAt(0)),n=r.index+1;return a+o.substring(n)}}var _1o=ERt(/[&<>'"]/g,Lzr),j1o=ERt(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),B1o=ERt(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var z1o;(function(t){t[t.XML=0]="XML",t[t.HTML=1]="HTML"})(z1o||(z1o={}));var F1o;(function(t){t[t.UTF8=0]="UTF8",t[t.ASCII=1]="ASCII",t[t.Extensive=2]="Extensive",t[t.Attribute=3]="Attribute",t[t.Text=4]="Text"})(F1o||(F1o={}));function Azr(t){return Object.prototype.toString.call(t)}function jtt(t){return Azr(t)==="[object String]"}var Nzr=Object.prototype.hasOwnProperty;function kzr(t,e){return Nzr.call(t,e)}function x2e(t){return Array.prototype.slice.call(arguments,1).forEach(function(i){if(i){if(typeof i!="object")throw new TypeError(i+"must be object");Object.keys(i).forEach(function(o){t[o]=i[o]})}}),t}function NRt(t,e,i){return[].concat(t.slice(0,e),i,t.slice(e+1))}function Btt(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||(t&65535)===65535||(t&65535)===65534||t>=0&&t<=8||t===11||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function UIe(t){if(t>65535){t-=65536;let e=55296+(t>>10),i=56320+(t&1023);return String.fromCharCode(e,i)}return String.fromCharCode(t)}var H1o=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Pzr=/&([a-z#][a-z0-9]{1,31});/gi,Ozr=new RegExp(H1o.source+"|"+Pzr.source,"gi"),Rzr=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function _zr(t,e){if(e.charCodeAt(0)===35&&Rzr.test(e)){let o=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return Btt(o)?UIe(o):t}let i=j$(t);return i!==t?i:t}function jzr(t){return t.indexOf("\\")<0?t:t.replace(H1o,"$1")}function dW(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(Ozr,function(e,i,o){return i||_zr(e,o)})}var Bzr=/[&<>"]/,zzr=/[&<>"]/g,Fzr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function Uzr(t){return Fzr[t]}function uW(t){return Bzr.test(t)?t.replace(zzr,Uzr):t}var Vzr=/[.?*+^$[\]\\(){}|-]/g;function Hzr(t){return t.replace(Vzr,"\\$&")}function Ld(t){switch(t){case 9:case 32:return!0}return!1}function bse(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function yse(t){return C2e.test(t)||Ptt.test(t)}function wse(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Cse(t){return t=t.trim().replace(/\s+/g," "),"\u1E9E".toLowerCase()==="\u1E7E"&&(t=t.replace(/ẞ/g,"\xDF")),t.toLowerCase().toUpperCase()}var Gzr={mdurl:Att,ucmicro:MRt};var _Rt={};X4e(_Rt,{parseLinkDestination:()=>ORt,parseLinkLabel:()=>PRt,parseLinkTitle:()=>RRt});function PRt(t,e,i){let o,r,n,a,s=t.posMax,l=t.pos;for(t.pos=e+1,o=1;t.pos<s;){if(n=t.src.charCodeAt(t.pos),n===93&&(o--,o===0)){r=!0;break}if(a=t.pos,t.md.inline.skipToken(t),n===91){if(a===t.pos-1)o++;else if(i)return t.pos=l,-1}}let c=-1;return r&&(c=t.pos),t.pos=l,c}function ORt(t,e,i){let o,r=e,n={ok:!1,pos:0,str:""};if(t.charCodeAt(r)===60){for(r++;r<i;){if(o=t.charCodeAt(r),o===10||o===60)return n;if(o===62)return n.pos=r+1,n.str=dW(t.slice(e+1,r)),n.ok=!0,n;if(o===92&&r+1<i){r+=2;continue}r++}return n}let a=0;for(;r<i&&(o=t.charCodeAt(r),!(o===32||o<32||o===127));){if(o===92&&r+1<i){if(t.charCodeAt(r+1)===32)break;r+=2;continue}if(o===40&&(a++,a>32))return n;if(o===41){if(a===0)break;a--}r++}return e===r||a!==0||(n.str=dW(t.slice(e,r)),n.pos=r,n.ok=!0),n}function RRt(t,e,i,o){let r,n=e,a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(o)a.str=o.str,a.marker=o.marker;else{if(n>=i)return a;let s=t.charCodeAt(n);if(s!==34&&s!==39&&s!==40)return a;e++,n++,s===40&&(s=41),a.marker=s}for(;n<i;){if(r=t.charCodeAt(n),r===a.marker)return a.pos=n+1,a.str+=dW(t.slice(e,n)),a.ok=!0,a;if(r===40&&a.marker===41)return a;r===92&&n+1<i&&n++,n++}return a.can_continue=!0,a.str+=dW(t.slice(e,n)),a}var zz={};zz.code_inline=function(t,e,i,o,r){let n=t[e];return"<code"+r.renderAttrs(n)+">"+uW(n.content)+"</code>"};zz.code_block=function(t,e,i,o,r){let n=t[e];return"<pre"+r.renderAttrs(n)+"><code>"+uW(t[e].content)+`</code></pre>
`};zz.fence=function(t,e,i,o,r){let n=t[e],a=n.info?dW(n.info).trim():"",s="",l="";if(a){let d=a.split(/(\s+)/g);s=d[0],l=d.slice(2).join("")}let c;if(i.highlight?c=i.highlight(n.content,s,l)||uW(n.content):c=uW(n.content),c.indexOf("<pre")===0)return c+`
`;if(a){let d=n.attrIndex("class"),u=n.attrs?n.attrs.slice():[];d<0?u.push(["class",i.langPrefix+s]):(u[d]=u[d].slice(),u[d][1]+=" "+i.langPrefix+s);let p={attrs:u};return`<pre><code${r.renderAttrs(p)}>${c}</code></pre>
`}return`<pre><code${r.renderAttrs(n)}>${c}</code></pre>
`};zz.image=function(t,e,i,o,r){let n=t[e];return n.attrs[n.attrIndex("alt")][1]=r.renderInlineAsText(n.children,i,o),r.renderToken(t,e,i)};zz.hardbreak=function(t,e,i){return i.xhtmlOut?`<br />
`:`<br>
`};zz.softbreak=function(t,e,i){return i.breaks?i.xhtmlOut?`<br />
`:`<br>
`:`
`};zz.text=function(t,e){return uW(t[e].content)};zz.html_block=function(t,e){return t[e].content};zz.html_inline=function(t,e){return t[e].content};function T2e(){this.rules=x2e({},zz)}T2e.prototype.renderAttrs=function(e){let i,o,r;if(!e.attrs)return"";for(r="",i=0,o=e.attrs.length;i<o;i++)r+=" "+uW(e.attrs[i][0])+'="'+uW(e.attrs[i][1])+'"';return r};T2e.prototype.renderToken=function(e,i,o){let r=e[i],n="";if(r.hidden)return"";r.block&&r.nesting!==-1&&i&&e[i-1].hidden&&(n+=`
`),n+=(r.nesting===-1?"</":"<")+r.tag,n+=this.renderAttrs(r),r.nesting===0&&o.xhtmlOut&&(n+=" /");let a=!1;if(r.block&&(a=!0,r.nesting===1&&i+1<e.length)){let s=e[i+1];(s.type==="inline"||s.hidden||s.nesting===-1&&s.tag===r.tag)&&(a=!1)}return n+=a?`>
`:">",n};T2e.prototype.renderInline=function(t,e,i){let o="",r=this.rules;for(let n=0,a=t.length;n<a;n++){let s=t[n].type;typeof r[s]<"u"?o+=r[s](t,n,e,i,this):o+=this.renderToken(t,n,e)}return o};T2e.prototype.renderInlineAsText=function(t,e,i){let o="";for(let r=0,n=t.length;r<n;r++)switch(t[r].type){case"text":o+=t[r].content;break;case"image":o+=this.renderInlineAsText(t[r].children,e,i);break;case"html_inline":case"html_block":o+=t[r].content;break;case"softbreak":case"hardbreak":o+=`
`;break;default:}return o};T2e.prototype.render=function(t,e,i){let o="",r=this.rules;for(let n=0,a=t.length;n<a;n++){let s=t[n].type;s==="inline"?o+=this.renderInline(t[n].children,e,i):typeof r[s]<"u"?o+=r[s](t,n,e,i,this):o+=this.renderToken(t,n,e,i)}return o};var G1o=T2e;function VO(){this.__rules__=[],this.__cache__=null}VO.prototype.__find__=function(t){for(let e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1};VO.prototype.__compile__=function(){let t=this,e=[""];t.__rules__.forEach(function(i){i.enabled&&i.alt.forEach(function(o){e.indexOf(o)<0&&e.push(o)})}),t.__cache__={},e.forEach(function(i){t.__cache__[i]=[],t.__rules__.forEach(function(o){o.enabled&&(i&&o.alt.indexOf(i)<0||t.__cache__[i].push(o.fn))})})};VO.prototype.at=function(t,e,i){let o=this.__find__(t),r=i||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__[o].fn=e,this.__rules__[o].alt=r.alt||[],this.__cache__=null};VO.prototype.before=function(t,e,i,o){let r=this.__find__(t),n=o||{};if(r===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(r,0,{name:e,enabled:!0,fn:i,alt:n.alt||[]}),this.__cache__=null};VO.prototype.after=function(t,e,i,o){let r=this.__find__(t),n=o||{};if(r===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(r+1,0,{name:e,enabled:!0,fn:i,alt:n.alt||[]}),this.__cache__=null};VO.prototype.push=function(t,e,i){let o=i||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:o.alt||[]}),this.__cache__=null};VO.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);let i=[];return t.forEach(function(o){let r=this.__find__(o);if(r<0){if(e)return;throw new Error("Rules manager: invalid rule name "+o)}this.__rules__[r].enabled=!0,i.push(o)},this),this.__cache__=null,i};VO.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(i){i.enabled=!1}),this.enable(t,e)};VO.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);let i=[];return t.forEach(function(o){let r=this.__find__(o);if(r<0){if(e)return;throw new Error("Rules manager: invalid rule name "+o)}this.__rules__[r].enabled=!1,i.push(o)},this),this.__cache__=null,i};VO.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var xse=VO;function S2e(t,e,i){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=i,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}S2e.prototype.attrIndex=function(e){if(!this.attrs)return-1;let i=this.attrs;for(let o=0,r=i.length;o<r;o++)if(i[o][0]===e)return o;return-1};S2e.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]};S2e.prototype.attrSet=function(e,i){let o=this.attrIndex(e),r=[e,i];o<0?this.attrPush(r):this.attrs[o]=r};S2e.prototype.attrGet=function(e){let i=this.attrIndex(e),o=null;return i>=0&&(o=this.attrs[i][1]),o};S2e.prototype.attrJoin=function(e,i){let o=this.attrIndex(e);o<0?this.attrPush([e,i]):this.attrs[o][1]=this.attrs[o][1]+" "+i};var pW=S2e;function Y1o(t,e,i){this.src=t,this.env=i,this.tokens=[],this.inlineMode=!1,this.md=e}Y1o.prototype.Token=pW;var W1o=Y1o;var Yzr=/\r\n?|\n/g,Wzr=/\0/g;function jRt(t){let e;e=t.src.replace(Yzr,`
`),e=e.replace(Wzr,"\uFFFD"),t.src=e}function BRt(t){let e;t.inlineMode?(e=new t.Token("inline","",0),e.content=t.src,e.map=[0,1],e.children=[],t.tokens.push(e)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}function zRt(t){let e=t.tokens;for(let i=0,o=e.length;i<o;i++){let r=e[i];r.type==="inline"&&t.md.inline.parse(r.content,t.md,t.env,r.children)}}function Qzr(t){return/^<a[>\s]/i.test(t)}function Kzr(t){return/^<\/a\s*>/i.test(t)}function FRt(t){let e=t.tokens;if(t.md.options.linkify)for(let i=0,o=e.length;i<o;i++){if(e[i].type!=="inline"||!t.md.linkify.pretest(e[i].content))continue;let r=e[i].children,n=0;for(let a=r.length-1;a>=0;a--){let s=r[a];if(s.type==="link_close"){for(a--;r[a].level!==s.level&&r[a].type!=="link_open";)a--;continue}if(s.type==="html_inline"&&(Qzr(s.content)&&n>0&&n--,Kzr(s.content)&&n++),!(n>0)&&s.type==="text"&&t.md.linkify.test(s.content)){let l=s.content,c=t.md.linkify.match(l),d=[],u=s.level,p=0;c.length>0&&c[0].index===0&&a>0&&r[a-1].type==="text_special"&&(c=c.slice(1));for(let m=0;m<c.length;m++){let h=c[m].url,f=t.md.normalizeLink(h);if(!t.md.validateLink(f))continue;let g=c[m].text;c[m].schema?c[m].schema==="mailto:"&&!/^mailto:/i.test(g)?g=t.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):g=t.md.normalizeLinkText(g):g=t.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,"");let b=c[m].index;if(b>p){let S=new t.Token("text","",0);S.content=l.slice(p,b),S.level=u,d.push(S)}let y=new t.Token("link_open","a",1);y.attrs=[["href",f]],y.level=u++,y.markup="linkify",y.info="auto",d.push(y);let w=new t.Token("text","",0);w.content=g,w.level=u,d.push(w);let x=new t.Token("link_close","a",-1);x.level=--u,x.markup="linkify",x.info="auto",d.push(x),p=c[m].lastIndex}if(p<l.length){let m=new t.Token("text","",0);m.content=l.slice(p),m.level=u,d.push(m)}e[i].children=r=NRt(r,a,d)}}}}var Q1o=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Zzr=/\((c|tm|r)\)/i,Jzr=/\((c|tm|r)\)/ig,qzr={c:"\xA9",r:"\xAE",tm:"\u2122"};function Xzr(t,e){return qzr[e.toLowerCase()]}function $zr(t){let e=0;for(let i=t.length-1;i>=0;i--){let o=t[i];o.type==="text"&&!e&&(o.content=o.content.replace(Jzr,Xzr)),o.type==="link_open"&&o.info==="auto"&&e--,o.type==="link_close"&&o.info==="auto"&&e++}}function eFr(t){let e=0;for(let i=t.length-1;i>=0;i--){let o=t[i];o.type==="text"&&!e&&Q1o.test(o.content)&&(o.content=o.content.replace(/\+-/g,"\xB1").replace(/\.{2,}/g,"\u2026").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1\u2014").replace(/(^|\s)--(?=\s|$)/mg,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1\u2013")),o.type==="link_open"&&o.info==="auto"&&e--,o.type==="link_close"&&o.info==="auto"&&e++}}function URt(t){let e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)t.tokens[e].type==="inline"&&(Zzr.test(t.tokens[e].content)&&$zr(t.tokens[e].children),Q1o.test(t.tokens[e].content)&&eFr(t.tokens[e].children))}var tFr=/['"]/,K1o=/['"]/g,Z1o="\u2019";function ztt(t,e,i){return t.slice(0,e)+i+t.slice(e+1)}function iFr(t,e){let i,o=[];for(let r=0;r<t.length;r++){let n=t[r],a=t[r].level;for(i=o.length-1;i>=0&&!(o[i].level<=a);i--);if(o.length=i+1,n.type!=="text")continue;let s=n.content,l=0,c=s.length;e:for(;l<c;){K1o.lastIndex=l;let d=K1o.exec(s);if(!d)break;let u=!0,p=!0;l=d.index+1;let m=d[0]==="'",h=32;if(d.index-1>=0)h=s.charCodeAt(d.index-1);else for(i=r-1;i>=0&&!(t[i].type==="softbreak"||t[i].type==="hardbreak");i--)if(t[i].content){h=t[i].content.charCodeAt(t[i].content.length-1);break}let f=32;if(l<c)f=s.charCodeAt(l);else for(i=r+1;i<t.length&&!(t[i].type==="softbreak"||t[i].type==="hardbreak");i++)if(t[i].content){f=t[i].content.charCodeAt(0);break}let g=wse(h)||yse(String.fromCharCode(h)),b=wse(f)||yse(String.fromCharCode(f)),y=bse(h),w=bse(f);if(w?u=!1:b&&(y||g||(u=!1)),y?p=!1:g&&(w||b||(p=!1)),f===34&&d[0]==='"'&&h>=48&&h<=57&&(p=u=!1),u&&p&&(u=g,p=b),!u&&!p){m&&(n.content=ztt(n.content,d.index,Z1o));continue}if(p)for(i=o.length-1;i>=0;i--){let x=o[i];if(o[i].level<a)break;if(x.single===m&&o[i].level===a){x=o[i];let S,T;m?(S=e.md.options.quotes[2],T=e.md.options.quotes[3]):(S=e.md.options.quotes[0],T=e.md.options.quotes[1]),n.content=ztt(n.content,d.index,T),t[x.token].content=ztt(t[x.token].content,x.pos,S),l+=T.length-1,x.token===r&&(l+=S.length-1),s=n.content,c=s.length,o.length=i;continue e}}u?o.push({token:r,pos:d.index,single:m,level:a}):p&&m&&(n.content=ztt(n.content,d.index,Z1o))}}}function VRt(t){if(t.md.options.typographer)for(let e=t.tokens.length-1;e>=0;e--)t.tokens[e].type!=="inline"||!tFr.test(t.tokens[e].content)||iFr(t.tokens[e].children,t)}function HRt(t){let e,i,o=t.tokens,r=o.length;for(let n=0;n<r;n++){if(o[n].type!=="inline")continue;let a=o[n].children,s=a.length;for(e=0;e<s;e++)a[e].type==="text_special"&&(a[e].type="text");for(e=i=0;e<s;e++)a[e].type==="text"&&e+1<s&&a[e+1].type==="text"?a[e+1].content=a[e].content+a[e+1].content:(e!==i&&(a[i]=a[e]),i++);e!==i&&(a.length=i)}}var GRt=[["normalize",jRt],["block",BRt],["inline",zRt],["linkify",FRt],["replacements",URt],["smartquotes",VRt],["text_join",HRt]];function YRt(){this.ruler=new xse;for(let t=0;t<GRt.length;t++)this.ruler.push(GRt[t][0],GRt[t][1])}YRt.prototype.process=function(t){let e=this.ruler.getRules("");for(let i=0,o=e.length;i<o;i++)e[i](t)};YRt.prototype.State=W1o;var J1o=YRt;function Fz(t,e,i,o){this.src=t,this.md=e,this.env=i,this.tokens=o,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;let r=this.src;for(let n=0,a=0,s=0,l=0,c=r.length,d=!1;a<c;a++){let u=r.charCodeAt(a);if(!d)if(Ld(u)){s++,u===9?l+=4-l%4:l++;continue}else d=!0;(u===10||a===c-1)&&(u!==10&&a++,this.bMarks.push(n),this.eMarks.push(a),this.tShift.push(s),this.sCount.push(l),this.bsCount.push(0),d=!1,s=0,l=0,n=a+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Fz.prototype.push=function(t,e,i){let o=new pW(t,e,i);return o.block=!0,i<0&&this.level--,o.level=this.level,i>0&&this.level++,this.tokens.push(o),o};Fz.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Fz.prototype.skipEmptyLines=function(e){for(let i=this.lineMax;e<i&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e};Fz.prototype.skipSpaces=function(e){for(let i=this.src.length;e<i;e++){let o=this.src.charCodeAt(e);if(!Ld(o))break}return e};Fz.prototype.skipSpacesBack=function(e,i){if(e<=i)return e;for(;e>i;)if(!Ld(this.src.charCodeAt(--e)))return e+1;return e};Fz.prototype.skipChars=function(e,i){for(let o=this.src.length;e<o&&this.src.charCodeAt(e)===i;e++);return e};Fz.prototype.skipCharsBack=function(e,i,o){if(e<=o)return e;for(;e>o;)if(i!==this.src.charCodeAt(--e))return e+1;return e};Fz.prototype.getLines=function(e,i,o,r){if(e>=i)return"";let n=new Array(i-e);for(let a=0,s=e;s<i;s++,a++){let l=0,c=this.bMarks[s],d=c,u;for(s+1<i||r?u=this.eMarks[s]+1:u=this.eMarks[s];d<u&&l<o;){let p=this.src.charCodeAt(d);if(Ld(p))p===9?l+=4-(l+this.bsCount[s])%4:l++;else if(d-c<this.tShift[s])l++;else break;d++}l>o?n[a]=new Array(l-o+1).join(" ")+this.src.slice(d,u):n[a]=this.src.slice(d,u)}return n.join("")};Fz.prototype.Token=pW;var q1o=Fz;var oFr=65536;function WRt(t,e){let i=t.bMarks[e]+t.tShift[e],o=t.eMarks[e];return t.src.slice(i,o)}function X1o(t){let e=[],i=t.length,o=0,r=t.charCodeAt(o),n=!1,a=0,s="";for(;o<i;)r===124&&(n?(s+=t.substring(a,o-1),a=o):(e.push(s+t.substring(a,o)),s="",a=o+1)),n=r===92,o++,r=t.charCodeAt(o);return e.push(s+t.substring(a)),e}function QRt(t,e,i,o){if(e+2>i)return!1;let r=e+1;if(t.sCount[r]<t.blkIndent||t.sCount[r]-t.blkIndent>=4)return!1;let n=t.bMarks[r]+t.tShift[r];if(n>=t.eMarks[r])return!1;let a=t.src.charCodeAt(n++);if(a!==124&&a!==45&&a!==58||n>=t.eMarks[r])return!1;let s=t.src.charCodeAt(n++);if(s!==124&&s!==45&&s!==58&&!Ld(s)||a===45&&Ld(s))return!1;for(;n<t.eMarks[r];){let x=t.src.charCodeAt(n);if(x!==124&&x!==45&&x!==58&&!Ld(x))return!1;n++}let l=WRt(t,e+1),c=l.split("|"),d=[];for(let x=0;x<c.length;x++){let S=c[x].trim();if(!S){if(x===0||x===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(S))return!1;S.charCodeAt(S.length-1)===58?d.push(S.charCodeAt(0)===58?"center":"right"):S.charCodeAt(0)===58?d.push("left"):d.push("")}if(l=WRt(t,e).trim(),l.indexOf("|")===-1||t.sCount[e]-t.blkIndent>=4)return!1;c=X1o(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();let u=c.length;if(u===0||u!==d.length)return!1;if(o)return!0;let p=t.parentType;t.parentType="table";let m=t.md.block.ruler.getRules("blockquote"),h=t.push("table_open","table",1),f=[e,0];h.map=f;let g=t.push("thead_open","thead",1);g.map=[e,e+1];let b=t.push("tr_open","tr",1);b.map=[e,e+1];for(let x=0;x<c.length;x++){let S=t.push("th_open","th",1);d[x]&&(S.attrs=[["style","text-align:"+d[x]]]);let T=t.push("inline","",0);T.content=c[x].trim(),T.children=[],t.push("th_close","th",-1)}t.push("tr_close","tr",-1),t.push("thead_close","thead",-1);let y,w=0;for(r=e+2;r<i&&!(t.sCount[r]<t.blkIndent);r++){let x=!1;for(let T=0,M=m.length;T<M;T++)if(m[T](t,r,i,!0)){x=!0;break}if(x||(l=WRt(t,r).trim(),!l)||t.sCount[r]-t.blkIndent>=4||(c=X1o(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),w+=u-c.length,w>oFr))break;if(r===e+2){let T=t.push("tbody_open","tbody",1);T.map=y=[e+2,0]}let S=t.push("tr_open","tr",1);S.map=[r,r+1];for(let T=0;T<u;T++){let M=t.push("td_open","td",1);d[T]&&(M.attrs=[["style","text-align:"+d[T]]]);let I=t.push("inline","",0);I.content=c[T]?c[T].trim():"",I.children=[],t.push("td_close","td",-1)}t.push("tr_close","tr",-1)}return y&&(t.push("tbody_close","tbody",-1),y[1]=r),t.push("table_close","table",-1),f[1]=r,t.parentType=p,t.line=r,!0}function KRt(t,e,i){if(t.sCount[e]-t.blkIndent<4)return!1;let o=e+1,r=o;for(;o<i;){if(t.isEmpty(o)){o++;continue}if(t.sCount[o]-t.blkIndent>=4){o++,r=o;continue}break}t.line=r;let n=t.push("code_block","code",0);return n.content=t.getLines(e,r,4+t.blkIndent,!1)+`
`,n.map=[e,t.line],!0}function ZRt(t,e,i,o){let r=t.bMarks[e]+t.tShift[e],n=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||r+3>n)return!1;let a=t.src.charCodeAt(r);if(a!==126&&a!==96)return!1;let s=r;r=t.skipChars(r,a);let l=r-s;if(l<3)return!1;let c=t.src.slice(s,r),d=t.src.slice(r,n);if(a===96&&d.indexOf(String.fromCharCode(a))>=0)return!1;if(o)return!0;let u=e,p=!1;for(;u++,!(u>=i||(r=s=t.bMarks[u]+t.tShift[u],n=t.eMarks[u],r<n&&t.sCount[u]<t.blkIndent));)if(t.src.charCodeAt(r)===a&&!(t.sCount[u]-t.blkIndent>=4)&&(r=t.skipChars(r,a),!(r-s<l)&&(r=t.skipSpaces(r),!(r<n)))){p=!0;break}l=t.sCount[e],t.line=u+(p?1:0);let m=t.push("fence","code",0);return m.info=d,m.content=t.getLines(e+1,u,l,!0),m.markup=c,m.map=[e,t.line],!0}function JRt(t,e,i,o){let r=t.bMarks[e]+t.tShift[e],n=t.eMarks[e],a=t.lineMax;if(t.sCount[e]-t.blkIndent>=4||t.src.charCodeAt(r)!==62)return!1;if(o)return!0;let s=[],l=[],c=[],d=[],u=t.md.block.ruler.getRules("blockquote"),p=t.parentType;t.parentType="blockquote";let m=!1,h;for(h=e;h<i;h++){let w=t.sCount[h]<t.blkIndent;if(r=t.bMarks[h]+t.tShift[h],n=t.eMarks[h],r>=n)break;if(t.src.charCodeAt(r++)===62&&!w){let S=t.sCount[h]+1,T,M;t.src.charCodeAt(r)===32?(r++,S++,M=!1,T=!0):t.src.charCodeAt(r)===9?(T=!0,(t.bsCount[h]+S)%4===3?(r++,S++,M=!1):M=!0):T=!1;let I=S;for(s.push(t.bMarks[h]),t.bMarks[h]=r;r<n;){let A=t.src.charCodeAt(r);if(Ld(A))A===9?I+=4-(I+t.bsCount[h]+(M?1:0))%4:I++;else break;r++}m=r>=n,l.push(t.bsCount[h]),t.bsCount[h]=t.sCount[h]+1+(T?1:0),c.push(t.sCount[h]),t.sCount[h]=I-S,d.push(t.tShift[h]),t.tShift[h]=r-t.bMarks[h];continue}if(m)break;let x=!1;for(let S=0,T=u.length;S<T;S++)if(u[S](t,h,i,!0)){x=!0;break}if(x){t.lineMax=h,t.blkIndent!==0&&(s.push(t.bMarks[h]),l.push(t.bsCount[h]),d.push(t.tShift[h]),c.push(t.sCount[h]),t.sCount[h]-=t.blkIndent);break}s.push(t.bMarks[h]),l.push(t.bsCount[h]),d.push(t.tShift[h]),c.push(t.sCount[h]),t.sCount[h]=-1}let f=t.blkIndent;t.blkIndent=0;let g=t.push("blockquote_open","blockquote",1);g.markup=">";let b=[e,0];g.map=b,t.md.block.tokenize(t,e,h);let y=t.push("blockquote_close","blockquote",-1);y.markup=">",t.lineMax=a,t.parentType=p,b[1]=t.line;for(let w=0;w<d.length;w++)t.bMarks[w+e]=s[w],t.tShift[w+e]=d[w],t.sCount[w+e]=c[w],t.bsCount[w+e]=l[w];return t.blkIndent=f,!0}function qRt(t,e,i,o){let r=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;let n=t.bMarks[e]+t.tShift[e],a=t.src.charCodeAt(n++);if(a!==42&&a!==45&&a!==95)return!1;let s=1;for(;n<r;){let c=t.src.charCodeAt(n++);if(c!==a&&!Ld(c))return!1;c===a&&s++}if(s<3)return!1;if(o)return!0;t.line=e+1;let l=t.push("hr","hr",0);return l.map=[e,t.line],l.markup=Array(s+1).join(String.fromCharCode(a)),!0}function $1o(t,e){let i=t.eMarks[e],o=t.bMarks[e]+t.tShift[e],r=t.src.charCodeAt(o++);if(r!==42&&r!==45&&r!==43)return-1;if(o<i){let n=t.src.charCodeAt(o);if(!Ld(n))return-1}return o}function eho(t,e){let i=t.bMarks[e]+t.tShift[e],o=t.eMarks[e],r=i;if(r+1>=o)return-1;let n=t.src.charCodeAt(r++);if(n<48||n>57)return-1;for(;;){if(r>=o)return-1;if(n=t.src.charCodeAt(r++),n>=48&&n<=57){if(r-i>=10)return-1;continue}if(n===41||n===46)break;return-1}return r<o&&(n=t.src.charCodeAt(r),!Ld(n))?-1:r}function rFr(t,e){let i=t.level+2;for(let o=e+2,r=t.tokens.length-2;o<r;o++)t.tokens[o].level===i&&t.tokens[o].type==="paragraph_open"&&(t.tokens[o+2].hidden=!0,t.tokens[o].hidden=!0,o+=2)}function XRt(t,e,i,o){let r,n,a,s,l=e,c=!0;if(t.sCount[l]-t.blkIndent>=4||t.listIndent>=0&&t.sCount[l]-t.listIndent>=4&&t.sCount[l]<t.blkIndent)return!1;let d=!1;o&&t.parentType==="paragraph"&&t.sCount[l]>=t.blkIndent&&(d=!0);let u,p,m;if((m=eho(t,l))>=0){if(u=!0,a=t.bMarks[l]+t.tShift[l],p=Number(t.src.slice(a,m-1)),d&&p!==1)return!1}else if((m=$1o(t,l))>=0)u=!1;else return!1;if(d&&t.skipSpaces(m)>=t.eMarks[l])return!1;if(o)return!0;let h=t.src.charCodeAt(m-1),f=t.tokens.length;u?(s=t.push("ordered_list_open","ol",1),p!==1&&(s.attrs=[["start",p]])):s=t.push("bullet_list_open","ul",1);let g=[l,0];s.map=g,s.markup=String.fromCharCode(h);let b=!1,y=t.md.block.ruler.getRules("list"),w=t.parentType;for(t.parentType="list";l<i;){n=m,r=t.eMarks[l];let x=t.sCount[l]+m-(t.bMarks[l]+t.tShift[l]),S=x;for(;n<r;){let k=t.src.charCodeAt(n);if(k===9)S+=4-(S+t.bsCount[l])%4;else if(k===32)S++;else break;n++}let T=n,M;T>=r?M=1:M=S-x,M>4&&(M=1);let I=x+M;s=t.push("list_item_open","li",1),s.markup=String.fromCharCode(h);let A=[l,0];s.map=A,u&&(s.info=t.src.slice(a,m-1));let D=t.tight,E=t.tShift[l],N=t.sCount[l],R=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=I,t.tight=!0,t.tShift[l]=T-t.bMarks[l],t.sCount[l]=S,T>=r&&t.isEmpty(l+1)?t.line=Math.min(t.line+2,i):t.md.block.tokenize(t,l,i,!0),(!t.tight||b)&&(c=!1),b=t.line-l>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=R,t.tShift[l]=E,t.sCount[l]=N,t.tight=D,s=t.push("list_item_close","li",-1),s.markup=String.fromCharCode(h),l=t.line,A[1]=l,l>=i||t.sCount[l]<t.blkIndent||t.sCount[l]-t.blkIndent>=4)break;let v=!1;for(let k=0,P=y.length;k<P;k++)if(y[k](t,l,i,!0)){v=!0;break}if(v)break;if(u){if(m=eho(t,l),m<0)break;a=t.bMarks[l]+t.tShift[l]}else if(m=$1o(t,l),m<0)break;if(h!==t.src.charCodeAt(m-1))break}return u?s=t.push("ordered_list_close","ol",-1):s=t.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(h),g[1]=l,t.line=l,t.parentType=w,c&&rFr(t,f),!0}function $Rt(t,e,i,o){let r=t.bMarks[e]+t.tShift[e],n=t.eMarks[e],a=e+1;if(t.sCount[e]-t.blkIndent>=4||t.src.charCodeAt(r)!==91)return!1;function s(y){let w=t.lineMax;if(y>=w||t.isEmpty(y))return null;let x=!1;if(t.sCount[y]-t.blkIndent>3&&(x=!0),t.sCount[y]<0&&(x=!0),!x){let M=t.md.block.ruler.getRules("reference"),I=t.parentType;t.parentType="reference";let A=!1;for(let D=0,E=M.length;D<E;D++)if(M[D](t,y,w,!0)){A=!0;break}if(t.parentType=I,A)return null}let S=t.bMarks[y]+t.tShift[y],T=t.eMarks[y];return t.src.slice(S,T+1)}let l=t.src.slice(r,n+1);n=l.length;let c=-1;for(r=1;r<n;r++){let y=l.charCodeAt(r);if(y===91)return!1;if(y===93){c=r;break}else if(y===10){let w=s(a);w!==null&&(l+=w,n=l.length,a++)}else if(y===92&&(r++,r<n&&l.charCodeAt(r)===10)){let w=s(a);w!==null&&(l+=w,n=l.length,a++)}}if(c<0||l.charCodeAt(c+1)!==58)return!1;for(r=c+2;r<n;r++){let y=l.charCodeAt(r);if(y===10){let w=s(a);w!==null&&(l+=w,n=l.length,a++)}else if(!Ld(y))break}let d=t.md.helpers.parseLinkDestination(l,r,n);if(!d.ok)return!1;let u=t.md.normalizeLink(d.str);if(!t.md.validateLink(u))return!1;r=d.pos;let p=r,m=a,h=r;for(;r<n;r++){let y=l.charCodeAt(r);if(y===10){let w=s(a);w!==null&&(l+=w,n=l.length,a++)}else if(!Ld(y))break}let f=t.md.helpers.parseLinkTitle(l,r,n);for(;f.can_continue;){let y=s(a);if(y===null)break;l+=y,r=n,n=l.length,a++,f=t.md.helpers.parseLinkTitle(l,r,n,f)}let g;for(r<n&&h!==r&&f.ok?(g=f.str,r=f.pos):(g="",r=p,a=m);r<n;){let y=l.charCodeAt(r);if(!Ld(y))break;r++}if(r<n&&l.charCodeAt(r)!==10&&g)for(g="",r=p,a=m;r<n;){let y=l.charCodeAt(r);if(!Ld(y))break;r++}if(r<n&&l.charCodeAt(r)!==10)return!1;let b=Cse(l.slice(1,c));return b?(o||(typeof t.env.references>"u"&&(t.env.references={}),typeof t.env.references[b]>"u"&&(t.env.references[b]={title:g,href:u}),t.line=a),!0):!1}var tho=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"];var nFr="[a-zA-Z_:][a-zA-Z0-9:._-]*",aFr="[^\"'=<>`\\x00-\\x20]+",sFr="'[^']*'",lFr='"[^"]*"',cFr="(?:"+aFr+"|"+sFr+"|"+lFr+")",dFr="(?:\\s+"+nFr+"(?:\\s*=\\s*"+cFr+")?)",iho="<[A-Za-z][A-Za-z0-9\\-]*"+dFr+"*\\s*\\/?>",oho="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",uFr="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",pFr="<[?][\\s\\S]*?[?]>",mFr="<![A-Za-z][^>]*>",hFr="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",rho=new RegExp("^(?:"+iho+"|"+oho+"|"+uFr+"|"+pFr+"|"+mFr+"|"+hFr+")"),nho=new RegExp("^(?:"+iho+"|"+oho+")");var M2e=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+tho.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(nho.source+"\\s*$"),/^$/,!1]];function e_t(t,e,i,o){let r=t.bMarks[e]+t.tShift[e],n=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(r)!==60)return!1;let a=t.src.slice(r,n),s=0;for(;s<M2e.length&&!M2e[s][0].test(a);s++);if(s===M2e.length)return!1;if(o)return M2e[s][2];let l=e+1;if(!M2e[s][1].test(a)){for(;l<i&&!(t.sCount[l]<t.blkIndent);l++)if(r=t.bMarks[l]+t.tShift[l],n=t.eMarks[l],a=t.src.slice(r,n),M2e[s][1].test(a)){a.length!==0&&l++;break}}t.line=l;let c=t.push("html_block","",0);return c.map=[e,l],c.content=t.getLines(e,l,t.blkIndent,!0),!0}function t_t(t,e,i,o){let r=t.bMarks[e]+t.tShift[e],n=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;let a=t.src.charCodeAt(r);if(a!==35||r>=n)return!1;let s=1;for(a=t.src.charCodeAt(++r);a===35&&r<n&&s<=6;)s++,a=t.src.charCodeAt(++r);if(s>6||r<n&&!Ld(a))return!1;if(o)return!0;n=t.skipSpacesBack(n,r);let l=t.skipCharsBack(n,35,r);l>r&&Ld(t.src.charCodeAt(l-1))&&(n=l),t.line=e+1;let c=t.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[e,t.line];let d=t.push("inline","",0);d.content=t.src.slice(r,n).trim(),d.map=[e,t.line],d.children=[];let u=t.push("heading_close","h"+String(s),-1);return u.markup="########".slice(0,s),!0}function i_t(t,e,i){let o=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;let r=t.parentType;t.parentType="paragraph";let n=0,a,s=e+1;for(;s<i&&!t.isEmpty(s);s++){if(t.sCount[s]-t.blkIndent>3)continue;if(t.sCount[s]>=t.blkIndent){let m=t.bMarks[s]+t.tShift[s],h=t.eMarks[s];if(m<h&&(a=t.src.charCodeAt(m),(a===45||a===61)&&(m=t.skipChars(m,a),m=t.skipSpaces(m),m>=h))){n=a===61?1:2;break}}if(t.sCount[s]<0)continue;let p=!1;for(let m=0,h=o.length;m<h;m++)if(o[m](t,s,i,!0)){p=!0;break}if(p)break}if(!n)return!1;let l=t.getLines(e,s,t.blkIndent,!1).trim();t.line=s+1;let c=t.push("heading_open","h"+String(n),1);c.markup=String.fromCharCode(a),c.map=[e,t.line];let d=t.push("inline","",0);d.content=l,d.map=[e,t.line-1],d.children=[];let u=t.push("heading_close","h"+String(n),-1);return u.markup=String.fromCharCode(a),t.parentType=r,!0}function o_t(t,e,i){let o=t.md.block.ruler.getRules("paragraph"),r=t.parentType,n=e+1;for(t.parentType="paragraph";n<i&&!t.isEmpty(n);n++){if(t.sCount[n]-t.blkIndent>3||t.sCount[n]<0)continue;let c=!1;for(let d=0,u=o.length;d<u;d++)if(o[d](t,n,i,!0)){c=!0;break}if(c)break}let a=t.getLines(e,n,t.blkIndent,!1).trim();t.line=n;let s=t.push("paragraph_open","p",1);s.map=[e,t.line];let l=t.push("inline","",0);return l.content=a,l.map=[e,t.line],l.children=[],t.push("paragraph_close","p",-1),t.parentType=r,!0}var Ftt=[["table",QRt,["paragraph","reference"]],["code",KRt],["fence",ZRt,["paragraph","reference","blockquote","list"]],["blockquote",JRt,["paragraph","reference","blockquote","list"]],["hr",qRt,["paragraph","reference","blockquote","list"]],["list",XRt,["paragraph","reference","blockquote"]],["reference",$Rt],["html_block",e_t,["paragraph","reference","blockquote"]],["heading",t_t,["paragraph","reference","blockquote"]],["lheading",i_t],["paragraph",o_t]];function Utt(){this.ruler=new xse;for(let t=0;t<Ftt.length;t++)this.ruler.push(Ftt[t][0],Ftt[t][1],{alt:(Ftt[t][2]||[]).slice()})}Utt.prototype.tokenize=function(t,e,i){let o=this.ruler.getRules(""),r=o.length,n=t.md.options.maxNesting,a=e,s=!1;for(;a<i&&(t.line=a=t.skipEmptyLines(a),!(a>=i||t.sCount[a]<t.blkIndent));){if(t.level>=n){t.line=i;break}let l=t.line,c=!1;for(let d=0;d<r;d++)if(c=o[d](t,a,i,!1),c){if(l>=t.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");t.tight=!s,t.isEmpty(t.line-1)&&(s=!0),a=t.line,a<i&&t.isEmpty(a)&&(s=!0,a++,t.line=a)}};Utt.prototype.parse=function(t,e,i,o){if(!t)return;let r=new this.State(t,e,i,o);this.tokenize(r,r.line,r.lineMax)};Utt.prototype.State=q1o;var aho=Utt;function VIe(t,e,i,o){this.src=t,this.env=i,this.md=e,this.tokens=o,this.tokens_meta=Array(o.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}VIe.prototype.pushPending=function(){let t=new pW("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t};VIe.prototype.push=function(t,e,i){this.pending&&this.pushPending();let o=new pW(t,e,i),r=null;return i<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),o.level=this.level,i>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(r),o};VIe.prototype.scanDelims=function(t,e){let i=this.posMax,o=this.src.charCodeAt(t),r=t>0?this.src.charCodeAt(t-1):32,n=t;for(;n<i&&this.src.charCodeAt(n)===o;)n++;let a=n-t,s=n<i?this.src.charCodeAt(n):32,l=wse(r)||yse(String.fromCharCode(r)),c=wse(s)||yse(String.fromCharCode(s)),d=bse(r),u=bse(s),p=!u&&(!c||d||l),m=!d&&(!l||u||c);return{can_open:p&&(e||!m||l),can_close:m&&(e||!p||c),length:a}};VIe.prototype.Token=pW;var sho=VIe;function fFr(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function r_t(t,e){let i=t.pos;for(;i<t.posMax&&!fFr(t.src.charCodeAt(i));)i++;return i===t.pos?!1:(e||(t.pending+=t.src.slice(t.pos,i)),t.pos=i,!0)}var gFr=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function n_t(t,e){if(!t.md.options.linkify||t.linkLevel>0)return!1;let i=t.pos,o=t.posMax;if(i+3>o||t.src.charCodeAt(i)!==58||t.src.charCodeAt(i+1)!==47||t.src.charCodeAt(i+2)!==47)return!1;let r=t.pending.match(gFr);if(!r)return!1;let n=r[1],a=t.md.linkify.matchAtStart(t.src.slice(i-n.length));if(!a)return!1;let s=a.url;if(s.length<=n.length)return!1;s=s.replace(/\*+$/,"");let l=t.md.normalizeLink(s);if(!t.md.validateLink(l))return!1;if(!e){t.pending=t.pending.slice(0,-n.length);let c=t.push("link_open","a",1);c.attrs=[["href",l]],c.markup="linkify",c.info="auto";let d=t.push("text","",0);d.content=t.md.normalizeLinkText(s);let u=t.push("link_close","a",-1);u.markup="linkify",u.info="auto"}return t.pos+=s.length-n.length,!0}function a_t(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==10)return!1;let o=t.pending.length-1,r=t.posMax;if(!e)if(o>=0&&t.pending.charCodeAt(o)===32)if(o>=1&&t.pending.charCodeAt(o-1)===32){let n=o-1;for(;n>=1&&t.pending.charCodeAt(n-1)===32;)n--;t.pending=t.pending.slice(0,n),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(i++;i<r&&Ld(t.src.charCodeAt(i));)i++;return t.pos=i,!0}var s_t=[];for(let t=0;t<256;t++)s_t.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){s_t[t.charCodeAt(0)]=1});function l_t(t,e){let i=t.pos,o=t.posMax;if(t.src.charCodeAt(i)!==92||(i++,i>=o))return!1;let r=t.src.charCodeAt(i);if(r===10){for(e||t.push("hardbreak","br",0),i++;i<o&&(r=t.src.charCodeAt(i),!!Ld(r));)i++;return t.pos=i,!0}let n=t.src[i];if(r>=55296&&r<=56319&&i+1<o){let s=t.src.charCodeAt(i+1);s>=56320&&s<=57343&&(n+=t.src[i+1],i++)}let a="\\"+n;if(!e){let s=t.push("text_special","",0);r<256&&s_t[r]!==0?s.content=n:s.content=a,s.markup=a,s.info="escape"}return t.pos=i+1,!0}function c_t(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==96)return!1;let r=i;i++;let n=t.posMax;for(;i<n&&t.src.charCodeAt(i)===96;)i++;let a=t.src.slice(r,i),s=a.length;if(t.backticksScanned&&(t.backticks[s]||0)<=r)return e||(t.pending+=a),t.pos+=s,!0;let l=i,c;for(;(c=t.src.indexOf("`",l))!==-1;){for(l=c+1;l<n&&t.src.charCodeAt(l)===96;)l++;let d=l-c;if(d===s){if(!e){let u=t.push("code_inline","code",0);u.markup=a,u.content=t.src.slice(i,c).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return t.pos=l,!0}t.backticks[d]=c}return t.backticksScanned=!0,e||(t.pending+=a),t.pos+=s,!0}function bFr(t,e){let i=t.pos,o=t.src.charCodeAt(i);if(e||o!==126)return!1;let r=t.scanDelims(t.pos,!0),n=r.length,a=String.fromCharCode(o);if(n<2)return!1;let s;n%2&&(s=t.push("text","",0),s.content=a,n--);for(let l=0;l<n;l+=2)s=t.push("text","",0),s.content=a+a,t.delimiters.push({marker:o,length:0,token:t.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return t.pos+=r.length,!0}function lho(t,e){let i,o=[],r=e.length;for(let n=0;n<r;n++){let a=e[n];if(a.marker!==126||a.end===-1)continue;let s=e[a.end];i=t.tokens[a.token],i.type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",i=t.tokens[s.token],i.type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="",t.tokens[s.token-1].type==="text"&&t.tokens[s.token-1].content==="~"&&o.push(s.token-1)}for(;o.length;){let n=o.pop(),a=n+1;for(;a<t.tokens.length&&t.tokens[a].type==="s_close";)a++;a--,n!==a&&(i=t.tokens[a],t.tokens[a]=t.tokens[n],t.tokens[n]=i)}}function yFr(t){let e=t.tokens_meta,i=t.tokens_meta.length;lho(t,t.delimiters);for(let o=0;o<i;o++)e[o]&&e[o].delimiters&&lho(t,e[o].delimiters)}var d_t={tokenize:bFr,postProcess:yFr};function wFr(t,e){let i=t.pos,o=t.src.charCodeAt(i);if(e||o!==95&&o!==42)return!1;let r=t.scanDelims(t.pos,o===42);for(let n=0;n<r.length;n++){let a=t.push("text","",0);a.content=String.fromCharCode(o),t.delimiters.push({marker:o,length:r.length,token:t.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return t.pos+=r.length,!0}function cho(t,e){let i=e.length;for(let o=i-1;o>=0;o--){let r=e[o];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;let n=e[r.end],a=o>0&&e[o-1].end===r.end+1&&e[o-1].marker===r.marker&&e[o-1].token===r.token-1&&e[r.end+1].token===n.token+1,s=String.fromCharCode(r.marker),l=t.tokens[r.token];l.type=a?"strong_open":"em_open",l.tag=a?"strong":"em",l.nesting=1,l.markup=a?s+s:s,l.content="";let c=t.tokens[n.token];c.type=a?"strong_close":"em_close",c.tag=a?"strong":"em",c.nesting=-1,c.markup=a?s+s:s,c.content="",a&&(t.tokens[e[o-1].token].content="",t.tokens[e[r.end+1].token].content="",o--)}}function CFr(t){let e=t.tokens_meta,i=t.tokens_meta.length;cho(t,t.delimiters);for(let o=0;o<i;o++)e[o]&&e[o].delimiters&&cho(t,e[o].delimiters)}var u_t={tokenize:wFr,postProcess:CFr};function p_t(t,e){let i,o,r,n,a="",s="",l=t.pos,c=!0;if(t.src.charCodeAt(t.pos)!==91)return!1;let d=t.pos,u=t.posMax,p=t.pos+1,m=t.md.helpers.parseLinkLabel(t,t.pos,!0);if(m<0)return!1;let h=m+1;if(h<u&&t.src.charCodeAt(h)===40){for(c=!1,h++;h<u&&(i=t.src.charCodeAt(h),!(!Ld(i)&&i!==10));h++);if(h>=u)return!1;if(l=h,r=t.md.helpers.parseLinkDestination(t.src,h,t.posMax),r.ok){for(a=t.md.normalizeLink(r.str),t.md.validateLink(a)?h=r.pos:a="",l=h;h<u&&(i=t.src.charCodeAt(h),!(!Ld(i)&&i!==10));h++);if(r=t.md.helpers.parseLinkTitle(t.src,h,t.posMax),h<u&&l!==h&&r.ok)for(s=r.str,h=r.pos;h<u&&(i=t.src.charCodeAt(h),!(!Ld(i)&&i!==10));h++);}(h>=u||t.src.charCodeAt(h)!==41)&&(c=!0),h++}if(c){if(typeof t.env.references>"u")return!1;if(h<u&&t.src.charCodeAt(h)===91?(l=h+1,h=t.md.helpers.parseLinkLabel(t,h),h>=0?o=t.src.slice(l,h++):h=m+1):h=m+1,o||(o=t.src.slice(p,m)),n=t.env.references[Cse(o)],!n)return t.pos=d,!1;a=n.href,s=n.title}if(!e){t.pos=p,t.posMax=m;let f=t.push("link_open","a",1),g=[["href",a]];f.attrs=g,s&&g.push(["title",s]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=h,t.posMax=u,!0}function m_t(t,e){let i,o,r,n,a,s,l,c,d="",u=t.pos,p=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91)return!1;let m=t.pos+2,h=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(h<0)return!1;if(n=h+1,n<p&&t.src.charCodeAt(n)===40){for(n++;n<p&&(i=t.src.charCodeAt(n),!(!Ld(i)&&i!==10));n++);if(n>=p)return!1;for(c=n,s=t.md.helpers.parseLinkDestination(t.src,n,t.posMax),s.ok&&(d=t.md.normalizeLink(s.str),t.md.validateLink(d)?n=s.pos:d=""),c=n;n<p&&(i=t.src.charCodeAt(n),!(!Ld(i)&&i!==10));n++);if(s=t.md.helpers.parseLinkTitle(t.src,n,t.posMax),n<p&&c!==n&&s.ok)for(l=s.str,n=s.pos;n<p&&(i=t.src.charCodeAt(n),!(!Ld(i)&&i!==10));n++);else l="";if(n>=p||t.src.charCodeAt(n)!==41)return t.pos=u,!1;n++}else{if(typeof t.env.references>"u")return!1;if(n<p&&t.src.charCodeAt(n)===91?(c=n+1,n=t.md.helpers.parseLinkLabel(t,n),n>=0?r=t.src.slice(c,n++):n=h+1):n=h+1,r||(r=t.src.slice(m,h)),a=t.env.references[Cse(r)],!a)return t.pos=u,!1;d=a.href,l=a.title}if(!e){o=t.src.slice(m,h);let f=[];t.md.inline.parse(o,t.md,t.env,f);let g=t.push("image","img",0),b=[["src",d],["alt",""]];g.attrs=b,g.children=f,g.content=o,l&&b.push(["title",l])}return t.pos=n,t.posMax=p,!0}var xFr=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[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])?)*)$/,TFr=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function h_t(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==60)return!1;let o=t.pos,r=t.posMax;for(;;){if(++i>=r)return!1;let a=t.src.charCodeAt(i);if(a===60)return!1;if(a===62)break}let n=t.src.slice(o+1,i);if(TFr.test(n)){let a=t.md.normalizeLink(n);if(!t.md.validateLink(a))return!1;if(!e){let s=t.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";let l=t.push("text","",0);l.content=t.md.normalizeLinkText(n);let c=t.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return t.pos+=n.length+2,!0}if(xFr.test(n)){let a=t.md.normalizeLink("mailto:"+n);if(!t.md.validateLink(a))return!1;if(!e){let s=t.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";let l=t.push("text","",0);l.content=t.md.normalizeLinkText(n);let c=t.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return t.pos+=n.length+2,!0}return!1}function SFr(t){return/^<a[>\s]/i.test(t)}function MFr(t){return/^<\/a\s*>/i.test(t)}function IFr(t){let e=t|32;return e>=97&&e<=122}function f_t(t,e){if(!t.md.options.html)return!1;let i=t.posMax,o=t.pos;if(t.src.charCodeAt(o)!==60||o+2>=i)return!1;let r=t.src.charCodeAt(o+1);if(r!==33&&r!==63&&r!==47&&!IFr(r))return!1;let n=t.src.slice(o).match(rho);if(!n)return!1;if(!e){let a=t.push("html_inline","",0);a.content=n[0],SFr(a.content)&&t.linkLevel++,MFr(a.content)&&t.linkLevel--}return t.pos+=n[0].length,!0}var LFr=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,vFr=/^&([a-z][a-z0-9]{1,31});/i;function g_t(t,e){let i=t.pos,o=t.posMax;if(t.src.charCodeAt(i)!==38||i+1>=o)return!1;if(t.src.charCodeAt(i+1)===35){let n=t.src.slice(i).match(LFr);if(n){if(!e){let a=n[1][0].toLowerCase()==="x"?parseInt(n[1].slice(1),16):parseInt(n[1],10),s=t.push("text_special","",0);s.content=Btt(a)?UIe(a):UIe(65533),s.markup=n[0],s.info="entity"}return t.pos+=n[0].length,!0}}else{let n=t.src.slice(i).match(vFr);if(n){let a=j$(n[0]);if(a!==n[0]){if(!e){let s=t.push("text_special","",0);s.content=a,s.markup=n[0],s.info="entity"}return t.pos+=n[0].length,!0}}}return!1}function dho(t){let e={},i=t.length;if(!i)return;let o=0,r=-2,n=[];for(let a=0;a<i;a++){let s=t[a];if(n.push(0),(t[o].marker!==s.marker||r!==s.token-1)&&(o=a),r=s.token,s.length=s.length||0,!s.close)continue;e.hasOwnProperty(s.marker)||(e[s.marker]=[-1,-1,-1,-1,-1,-1]);let l=e[s.marker][(s.open?3:0)+s.length%3],c=o-n[o]-1,d=c;for(;c>l;c-=n[c]+1){let u=t[c];if(u.marker===s.marker&&u.open&&u.end<0){let p=!1;if((u.close||s.open)&&(u.length+s.length)%3===0&&(u.length%3!==0||s.length%3!==0)&&(p=!0),!p){let m=c>0&&!t[c-1].open?n[c-1]+1:0;n[a]=a-c+m,n[c]=m,s.open=!1,u.end=a,u.close=!1,d=-1,r=-2;break}}}d!==-1&&(e[s.marker][(s.open?3:0)+(s.length||0)%3]=d)}}function b_t(t){let e=t.tokens_meta,i=t.tokens_meta.length;dho(t.delimiters);for(let o=0;o<i;o++)e[o]&&e[o].delimiters&&dho(e[o].delimiters)}function y_t(t){let e,i,o=0,r=t.tokens,n=t.tokens.length;for(e=i=0;e<n;e++)r[e].nesting<0&&o--,r[e].level=o,r[e].nesting>0&&o++,r[e].type==="text"&&e+1<n&&r[e+1].type==="text"?r[e+1].content=r[e].content+r[e+1].content:(e!==i&&(r[i]=r[e]),i++);e!==i&&(r.length=i)}var w_t=[["text",r_t],["linkify",n_t],["newline",a_t],["escape",l_t],["backticks",c_t],["strikethrough",d_t.tokenize],["emphasis",u_t.tokenize],["link",p_t],["image",m_t],["autolink",h_t],["html_inline",f_t],["entity",g_t]],C_t=[["balance_pairs",b_t],["strikethrough",d_t.postProcess],["emphasis",u_t.postProcess],["fragments_join",y_t]];function HIe(){this.ruler=new xse;for(let t=0;t<w_t.length;t++)this.ruler.push(w_t[t][0],w_t[t][1]);this.ruler2=new xse;for(let t=0;t<C_t.length;t++)this.ruler2.push(C_t[t][0],C_t[t][1])}HIe.prototype.skipToken=function(t){let e=t.pos,i=this.ruler.getRules(""),o=i.length,r=t.md.options.maxNesting,n=t.cache;if(typeof n[e]<"u"){t.pos=n[e];return}let a=!1;if(t.level<r){for(let s=0;s<o;s++)if(t.level++,a=i[s](t,!0),t.level--,a){if(e>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;a||t.pos++,n[e]=t.pos};HIe.prototype.tokenize=function(t){let e=this.ruler.getRules(""),i=e.length,o=t.posMax,r=t.md.options.maxNesting;for(;t.pos<o;){let n=t.pos,a=!1;if(t.level<r){for(let s=0;s<i;s++)if(a=e[s](t,!1),a){if(n>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(t.pos>=o)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};HIe.prototype.parse=function(t,e,i,o){let r=new this.State(t,e,i,o);this.tokenize(r);let n=this.ruler2.getRules(""),a=n.length;for(let s=0;s<a;s++)n[s](r)};HIe.prototype.State=sho;var uho=HIe;function pho(t){let e={};t=t||{},e.src_Any=Ntt.source,e.src_Cc=ktt.source,e.src_Z=Ott.source,e.src_P=C2e.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");let i="[><\uFF5C]";return e.src_pseudo_letter="(?:(?!"+i+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(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]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+i+"|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+i+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+i+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+e.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+e.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}function x_t(t){return Array.prototype.slice.call(arguments,1).forEach(function(i){i&&Object.keys(i).forEach(function(o){t[o]=i[o]})}),t}function Htt(t){return Object.prototype.toString.call(t)}function DFr(t){return Htt(t)==="[object String]"}function EFr(t){return Htt(t)==="[object Object]"}function AFr(t){return Htt(t)==="[object RegExp]"}function mho(t){return Htt(t)==="[object Function]"}function NFr(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var fho={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function kFr(t){return Object.keys(t||{}).reduce(function(e,i){return e||fho.hasOwnProperty(i)},!1)}var PFr={"http:":{validate:function(t,e,i){let o=t.slice(e);return i.re.http||(i.re.http=new RegExp("^\\/\\/"+i.re.src_auth+i.re.src_host_port_strict+i.re.src_path,"i")),i.re.http.test(o)?o.match(i.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,i){let o=t.slice(e);return i.re.no_http||(i.re.no_http=new RegExp("^"+i.re.src_auth+"(?:localhost|(?:(?:"+i.re.src_domain+")\\.)+"+i.re.src_domain_root+")"+i.re.src_port+i.re.src_host_terminator+i.re.src_path,"i")),i.re.no_http.test(o)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:o.match(i.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,i){let o=t.slice(e);return i.re.mailto||(i.re.mailto=new RegExp("^"+i.re.src_email_name+"@"+i.re.src_host_strict,"i")),i.re.mailto.test(o)?o.match(i.re.mailto)[0].length:0}}},OFr="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",RFr="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function _Fr(t){t.__index__=-1,t.__text_cache__=""}function jFr(t){return function(e,i){let o=e.slice(i);return t.test(o)?o.match(t)[0].length:0}}function hho(){return function(t,e){e.normalize(t)}}function Vtt(t){let e=t.re=pho(t.__opts__),i=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||i.push(OFr),i.push(e.src_xn),e.src_tlds=i.join("|");function o(s){return s.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(o(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(o(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(o(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(o(e.tpl_host_fuzzy_test),"i");let r=[];t.__compiled__={};function n(s,l){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+l)}Object.keys(t.__schemas__).forEach(function(s){let l=t.__schemas__[s];if(l===null)return;let c={validate:null,link:null};if(t.__compiled__[s]=c,EFr(l)){AFr(l.validate)?c.validate=jFr(l.validate):mho(l.validate)?c.validate=l.validate:n(s,l),mho(l.normalize)?c.normalize=l.normalize:l.normalize?n(s,l):c.normalize=hho();return}if(DFr(l)){r.push(s);return}n(s,l)}),r.forEach(function(s){t.__compiled__[t.__schemas__[s]]&&(t.__compiled__[s].validate=t.__compiled__[t.__schemas__[s]].validate,t.__compiled__[s].normalize=t.__compiled__[t.__schemas__[s]].normalize)}),t.__compiled__[""]={validate:null,normalize:hho()};let a=Object.keys(t.__compiled__).filter(function(s){return s.length>0&&t.__compiled__[s]}).map(NFr).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><\uFF5C]|"+e.src_ZPCc+"))("+a+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><\uFF5C]|"+e.src_ZPCc+"))("+a+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),_Fr(t)}function BFr(t,e){let i=t.__index__,o=t.__last_index__,r=t.__text_cache__.slice(i,o);this.schema=t.__schema__.toLowerCase(),this.index=i+e,this.lastIndex=o+e,this.raw=r,this.text=r,this.url=r}function T_t(t,e){let i=new BFr(t,e);return t.__compiled__[i.schema].normalize(i,t),i}function uE(t,e){if(!(this instanceof uE))return new uE(t,e);e||kFr(t)&&(e=t,t={}),this.__opts__=x_t({},fho,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=x_t({},PFr,t),this.__compiled__={},this.__tlds__=RFr,this.__tlds_replaced__=!1,this.re={},Vtt(this)}uE.prototype.add=function(e,i){return this.__schemas__[e]=i,Vtt(this),this};uE.prototype.set=function(e){return this.__opts__=x_t(this.__opts__,e),this};uE.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let i,o,r,n,a,s,l,c,d;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(i=l.exec(e))!==null;)if(n=this.testSchemaAt(e,i[2],l.lastIndex),n){this.__schema__=i[2],this.__index__=i.index+i[1].length,this.__last_index__=i.index+i[0].length+n;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c<this.__index__)&&(o=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(a=o.index+o[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=o.index+o[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(d=e.indexOf("@"),d>=0&&(r=e.match(this.re.email_fuzzy))!==null&&(a=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=s))),this.__index__>=0};uE.prototype.pretest=function(e){return this.re.pretest.test(e)};uE.prototype.testSchemaAt=function(e,i,o){return this.__compiled__[i.toLowerCase()]?this.__compiled__[i.toLowerCase()].validate(e,o,this):0};uE.prototype.match=function(e){let i=[],o=0;this.__index__>=0&&this.__text_cache__===e&&(i.push(T_t(this,o)),o=this.__last_index__);let r=o?e.slice(o):e;for(;this.test(r);)i.push(T_t(this,o)),r=r.slice(this.__last_index__),o+=this.__last_index__;return i.length?i:null};uE.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;let i=this.re.schema_at_start.exec(e);if(!i)return null;let o=this.testSchemaAt(e,i[2],i[0].length);return o?(this.__schema__=i[2],this.__index__=i.index+i[1].length,this.__last_index__=i.index+i[0].length+o,T_t(this,0)):null};uE.prototype.tlds=function(e,i){return e=Array.isArray(e)?e:[e],i?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(o,r,n){return o!==n[r-1]}).reverse(),Vtt(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Vtt(this),this)};uE.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};uE.prototype.onCompile=function(){};var gho=uE;var zFr=/^xn--/,FFr=/[^\0-\x7F]/,UFr=/[\x2E\u3002\uFF0E\uFF61]/g,VFr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S_t=35,Uz=Math.floor,M_t=String.fromCharCode;function B$(t){throw new RangeError(VFr[t])}function HFr(t,e){let i=[],o=t.length;for(;o--;)i[o]=e(t[o]);return i}function yho(t,e){let i=t.split("@"),o="";i.length>1&&(o=i[0]+"@",t=i[1]),t=t.replace(UFr,".");let r=t.split("."),n=HFr(r,e).join(".");return o+n}function who(t){let e=[],i=0,o=t.length;for(;i<o;){let r=t.charCodeAt(i++);if(r>=55296&&r<=56319&&i<o){let n=t.charCodeAt(i++);(n&64512)==56320?e.push(((r&1023)<<10)+(n&1023)+65536):(e.push(r),i--)}else e.push(r)}return e}var GFr=t=>String.fromCodePoint(...t),YFr=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:36},bho=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},Cho=function(t,e,i){let o=0;for(t=i?Uz(t/700):t>>1,t+=Uz(t/e);t>S_t*26>>1;o+=36)t=Uz(t/S_t);return Uz(o+(S_t+1)*t/(t+38))},xho=function(t){let e=[],i=t.length,o=0,r=128,n=72,a=t.lastIndexOf("-");a<0&&(a=0);for(let s=0;s<a;++s)t.charCodeAt(s)>=128&&B$("not-basic"),e.push(t.charCodeAt(s));for(let s=a>0?a+1:0;s<i;){let l=o;for(let d=1,u=36;;u+=36){s>=i&&B$("invalid-input");let p=YFr(t.charCodeAt(s++));p>=36&&B$("invalid-input"),p>Uz((2147483647-o)/d)&&B$("overflow"),o+=p*d;let m=u<=n?1:u>=n+26?26:u-n;if(p<m)break;let h=36-m;d>Uz(2147483647/h)&&B$("overflow"),d*=h}let c=e.length+1;n=Cho(o-l,c,l==0),Uz(o/c)>2147483647-r&&B$("overflow"),r+=Uz(o/c),o%=c,e.splice(o++,0,r)}return String.fromCodePoint(...e)},Tho=function(t){let e=[];t=who(t);let i=t.length,o=128,r=0,n=72;for(let l of t)l<128&&e.push(M_t(l));let a=e.length,s=a;for(a&&e.push("-");s<i;){let l=2147483647;for(let d of t)d>=o&&d<l&&(l=d);let c=s+1;l-o>Uz((2147483647-r)/c)&&B$("overflow"),r+=(l-o)*c,o=l;for(let d of t)if(d<o&&++r>2147483647&&B$("overflow"),d===o){let u=r;for(let p=36;;p+=36){let m=p<=n?1:p>=n+26?26:p-n;if(u<m)break;let h=u-m,f=36-m;e.push(M_t(bho(m+h%f,0))),u=Uz(h/f)}e.push(M_t(bho(u,0))),n=Cho(r,c,s===a),r=0,++s}++r,++o}return e.join("")},WFr=function(t){return yho(t,function(e){return zFr.test(e)?xho(e.slice(4).toLowerCase()):e})},QFr=function(t){return yho(t,function(e){return FFr.test(e)?"xn--"+Tho(e):e})},KFr={version:"2.3.1",ucs2:{decode:who,encode:GFr},decode:xho,encode:Tho,toASCII:QFr,toUnicode:WFr};var I_t=KFr;var Sho={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}};var Mho={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}};var Iho={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}};var ZFr={default:Sho,zero:Mho,commonmark:Iho},JFr=/^(vbscript|javascript|file|data):/,qFr=/^data:image\/(gif|png|jpeg|webp);/;function XFr(t){let e=t.trim().toLowerCase();return JFr.test(e)?qFr.test(e):!0}var Lho=["http:","https:","mailto:"];function $Fr(t){let e=FIe(t,!0);if(e.hostname&&(!e.protocol||Lho.indexOf(e.protocol)>=0))try{e.hostname=I_t.toASCII(e.hostname)}catch{}return Dtt(w2e(e))}function eUr(t){let e=FIe(t,!0);if(e.hostname&&(!e.protocol||Lho.indexOf(e.protocol)>=0))try{e.hostname=I_t.toUnicode(e.hostname)}catch{}return zIe(w2e(e),zIe.defaultChars+"%")}function rk(t,e){if(!(this instanceof rk))return new rk(t,e);e||jtt(t)||(e=t||{},t="default"),this.inline=new uho,this.block=new aho,this.core=new J1o,this.renderer=new G1o,this.linkify=new gho,this.validateLink=XFr,this.normalizeLink=$Fr,this.normalizeLinkText=eUr,this.utils=kRt,this.helpers=x2e({},_Rt),this.options={},this.configure(t),e&&this.set(e)}rk.prototype.set=function(t){return x2e(this.options,t),this};rk.prototype.configure=function(t){let e=this;if(jtt(t)){let i=t;if(t=ZFr[i],!t)throw new Error('Wrong `markdown-it` preset "'+i+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(i){t.components[i].rules&&e[i].ruler.enableOnly(t.components[i].rules),t.components[i].rules2&&e[i].ruler2.enableOnly(t.components[i].rules2)}),this};rk.prototype.enable=function(t,e){let i=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(r){i=i.concat(this[r].ruler.enable(t,!0))},this),i=i.concat(this.inline.ruler2.enable(t,!0));let o=t.filter(function(r){return i.indexOf(r)<0});if(o.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+o);return this};rk.prototype.disable=function(t,e){let i=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(r){i=i.concat(this[r].ruler.disable(t,!0))},this),i=i.concat(this.inline.ruler2.disable(t,!0));let o=t.filter(function(r){return i.indexOf(r)<0});if(o.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+o);return this};rk.prototype.use=function(t){let e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};rk.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");let i=new this.core.State(t,this,e);return this.core.process(i),i.tokens};rk.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};rk.prototype.parseInline=function(t,e){let i=new this.core.State(t,this,e);return i.inlineMode=!0,this.core.process(i),i.tokens};rk.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var L_t=rk;var $0=L(z());var Dho=()=>{var y;let t=J(),e=be.bind(vho.default.locals),i=new L_t("default",{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null});i.renderer.rules.link_open=function(w,x,S,T,M){return w[x].attrIndex("target")!==-1||(w[x].attrPush(["target","_blank"]),w[x].attrPush(["rel","noopener noreferrer"])),M.renderToken(w,x,S)};let[o,r]=(0,z$.useState)("Detail"),[n,a]=(0,z$.useState)(""),[s,l]=(0,z$.useState)(""),[c,d]=(0,z$.useState)(Rn.selectedExtensionData.isEnable),{categories:u,keywords:p,others:m,more:h}=Rn.selectedExtensionData;(0,z$.useEffect)(()=>{if(Rn.selectedUuid){let{detail:w,uuid:x,changelog:S,isDownload:T}=Rn.selectedExtensionData;T?(w&&w instanceof Blob?w.text().then(M=>{M||(M=t({context:"extensionApi",value:"No details available."})),a(i.render(M))}):a(typeof w=="string"?i.render(w):t({context:"extensionApi",value:"No details available."})),S instanceof Blob&&S.text().then(M=>{l(i.render(M))})):qa.getExtensionDetail(x).then(M=>{M.detail||(M.detail=t({context:"extensionApi",value:"No details available."})),qa.showData.forEach(I=>{I.uuid===x&&(I.detail=M.detail,I.changelog=M.changelog,a(i.render(M.detail)),M.changelog&&l(i.render(M.changelog)))})})}r("Detail")},[Rn.selectedUuid]),(0,z$.useEffect)(()=>{Rn.selectedExtensionData.isDownload?d(Rn.selectedExtensionData.isEnable):d(!1),r("Detail")},[Rn.selectedExtensionData.isEnable,Rn.selectedExtensionData.isDownload]);let f=w=>{navigator.clipboard.writeText(w).then(()=>{new Fi({type:"success",msg:"Copy Success!"})})},g=w=>{o!==w&&r(w)},b=w=>{let x=Object.entries(w),S=t("Click to Copy:");return(0,$0.jsx)("div",{className:e("other-detail-wrap"),children:x.map((T,M)=>(0,$0.jsxs)("div",{className:e("detail-item"),children:[(0,$0.jsx)("span",{className:e("key-item"),children:t({context:"extensionApi",value:T[0]})}),(0,$0.jsx)("span",{className:e("value-item"),title:`${S}${T[1]}`,onClick:()=>{f(T[1])},children:T[1]})]},M))})};return(0,$0.jsxs)("div",{className:e("detail-wrap"),children:[(0,$0.jsxs)("section",{className:e("tab-wrap"),children:[(0,$0.jsx)("p",{className:e(`tab ${o==="Detail"&&"active"}`),onClick:()=>{g("Detail")},style:{paddingLeft:"0"},children:t("Detail")}),s&&(0,$0.jsxs)($0.Fragment,{children:[(0,$0.jsx)("span",{children:"|"}),(0,$0.jsx)("p",{className:e(`tab ${o==="Changelog"&&"active"}`),onClick:()=>{g("Changelog")},children:t({context:"extensionApi",value:"Change Log"})})]}),c&&(0,$0.jsx)("span",{children:"|"}),c&&(0,$0.jsx)("p",{className:e(`tab ${o==="Config"&&"active"}`),onClick:()=>{g("Config")},children:t("Config")})]}),(0,$0.jsxs)("section",{className:e("detail-content-wrap"),children:[o==="Detail"&&(0,$0.jsx)("div",{className:e("md-wrap markdown-body"),dangerouslySetInnerHTML:{__html:n}}),o==="Changelog"&&(0,$0.jsx)("div",{className:e("md-wrap markdown-body"),dangerouslySetInnerHTML:{__html:s}}),o==="Config"&&((y=Rn.selectedExtensionData)==null?void 0:y.isDownload)&&(0,$0.jsx)(M1o,{}),(0,$0.jsxs)("div",{className:e("right-detail-wrap"),children:[(0,$0.jsx)("p",{className:e("detail-title"),style:{marginTop:"0px"},children:t({context:"extensionApi",value:"Categories"})}),(0,$0.jsx)("p",{children:t(typeof u=="string"?u:u.join(" "))}),(0,$0.jsx)("p",{className:e("detail-title"),children:t({context:"extensionApi",value:"Keywords"})}),(0,$0.jsx)("div",{className:e("keywords-wrap"),children:typeof p=="string"?p:p.map((w,x)=>(0,$0.jsx)("span",{className:e("keywords-item"),children:w},x))}),(0,$0.jsx)("p",{className:e("detail-title"),children:t({context:"extensionApi",value:"Other"})}),(0,$0.jsx)(b,{...m}),(0,$0.jsx)("p",{className:e("detail-title"),children:t({context:"extensionApi",value:"More"})}),h&&(0,$0.jsx)("div",{style:{display:"flex",flexDirection:"column"},children:Object.entries(h).map((w,x)=>{if(w[1]&&(w[1].startsWith("http")||w[1].startsWith("mailto:")))return(0,$0.jsx)("a",{href:w[1],target:"_blank",children:t({context:"extensionApi",value:w[0]})},x)})})]})]})]})};var tUr=["text/javascript","application/zip","application/octet-stream","application/x-zip-compressed","multipart/x-zip",""];function iUr(t,e){return e.includes(t.type)}function Eho(t,e){if(t.length===0)return[];{let i=[];for(let o=0;o<t.length;o++){let r=t.item(o);e==="extensionCode"?iUr(r,tUr)&&i.push(r):i.push(r)}if(i.length!==0)return i}return[]}var mx=L(Se());var pE=L(Se()),Aho=()=>{let[t,e]=(0,pE.useState)(0),i=(0,pE.useRef)(null),o=(0,pE.useRef)(null),r=(0,pE.useCallback)(n=>{o.current&&cancelAnimationFrame(o.current),o.current=requestAnimationFrame(()=>{e(n.target.scrollTop)})},[]);return(0,pE.useEffect)(()=>{let n=i.current;return e(n.scrollTop),n.addEventListener("scroll",r),()=>n.removeEventListener("scroll",r)},[]),[t,i]};function Nho(t){var r;let e=(0,pE.useRef)(null),[i,o]=(0,pE.useState)([]);return(0,pE.useEffect)(()=>{let n=e.current.children,a=new IntersectionObserver((s,l)=>{let c=[];for(let d of s)d.isIntersecting&&c.push(d);o(c)},{root:t,rootMargin:"0px",threshold:[0]});for(let s of n)a.observe(s);return()=>{a.disconnect()}},[e.current,(r=e.current)==null?void 0:r.children.length]),[e,i]}function v_t(...t){}var Tse=L(Se()),Sse=L(z());function oUr(t){let{root:e,onFirstShow:i=()=>{},onLastShow:o}=t,r=(0,Tse.useRef)(),n=(0,Tse.useRef)();return(0,Tse.useEffect)(()=>{let a=r.current,s=n.current,l=new IntersectionObserver((c,d)=>{c[0].isIntersecting&&o()},{root:e,rootMargin:"0px",threshold:[0]});return l.observe(s),()=>{l.disconnect()}},[e,o,i]),(0,Sse.jsxs)(Sse.Fragment,{children:[(0,Sse.jsx)("div",{className:"load-before",ref:r,style:{height:"1px"}}),t.children,(0,Sse.jsx)("div",{className:"load-after",ref:n,style:{height:"1px"}})]})}var kho=(0,Tse.memo)(oUr);var GIe=L(z()),rUr=(t,e)=>{let i=(0,mx.useRef)(new Map);(0,mx.useImperativeHandle)(e,()=>({viewport:x.current,pullDown(){let k=x.current,P=k.scrollHeight-k.offsetHeight;k.scrollBy(0,P)},scrollTo(k,P){x.current.scrollTo({left:k,top:P,behavior:"smooth"})},getItemPositionMap(){return i.current}}),[]);let{Item:o,itemCount:r,renderAhead:n=0,getChildHeight:a,className:s,onLastShow:l,onFirstShow:c,itemIsVisible:d=v_t,scrollPositionChange:u,getPositionMapKey:p,initScrollTop:m=0,countForRender:h=0}=t,[f,g]=(0,mx.useState)(0),{childPositions:b,childPositionMap:y}=(0,mx.useMemo)(()=>{let k=[0],P=new Map;for(let O=1;O<r;O++){let _=a(O-1);if(p){let j=p(O-1);P.set(j,k[O-1])}k.push(k[O-1]+_)}return{childPositions:k,childPositionMap:P}},[r,h]);i.current=y;let[w,x]=Aho();w=m||w;let S=(b[r-1]||0)+a(r-1),T=(0,mx.useMemo)(()=>nUr(w,b,r),[w,b,r]),M=Math.max(0,T-n);u&&u(0,w);let I=(0,mx.useMemo)(()=>aUr(b,T,r,f),[b,T,r,f]),A=Math.min(r-1,I+n);for(;b[A]<w+f&&A<r-1;)A++;let D=A-M+1,E=b[M],N=(0,mx.useMemo)(()=>new Array(D).fill(null).map((k,P)=>o({index:P+M})),[M,D,o]);(0,mx.useEffect)(()=>{g(x.current.offsetHeight)},[]);let[R,v]=Nho(x.current);return d(v),(0,GIe.jsx)("div",{className:be("viewport",s),style:{height:"100%",overflow:"auto"},ref:x,children:(0,GIe.jsx)(kho,{root:x.current,onLastShow:l,onFirstShow:c,children:(0,GIe.jsx)("div",{style:{overflow:"hidden",willChange:"transform",height:S,position:"relative"},children:(0,GIe.jsx)("div",{style:{willChange:"transform",transform:`translateY(${E}px)`},ref:R,children:N})})})})};function nUr(t,e,i){let o=0,r=i-1;if(o>r)return i-1;for(;r!==o;){let n=Math.floor((r-o)/2+o);if(e[n]<=t&&e[n+1]>t)return n;if(n===o)return r;e[n]<=t?o=n:r=n}return i-1}function aUr(t,e,i,o){let r;for(r=e;r<i;r++)if(t[r]>t[e]+o)return r;return r}var Gtt=(0,mx.memo)((0,mx.forwardRef)(rUr));var Mm=L(z()),Oho=L(Se()),sUr=()=>{let t=be.bind(D_t.default.locals);Ae(D_t.default),Ce(qa),Ce(Rn);let e=J(),[i,o]=(0,mW.useState)(!1),r=(0,mW.useRef)(null),n=(0,mW.useRef)(!1),a=(0,mW.useRef)(null),{activeTab:s}=Rn,l=y=>{Rn.resetFilterMenuStatus(),Rn.switchActiveTab(y),o(!1)},c=(0,mW.useCallback)(async y=>{Rn.selectedUuid!==y&&(await qa.getExtensionDetail(y),Rn.setSelectedUuid(y))},[Rn.selectedUuid]),d=(y,w,x,S)=>{x?qa.uninstallExtension({uuid:y,title:w,t:e,version:S}):qa.installExtension(y,S,void 0,"install")},u=(0,mW.useCallback)(y=>{Rn.setSearchValue(y.trim()),qa.searchFilterExtensionsData()},[]),p=async y=>{let w=Eho(y.target.files,"extensionCode");await C.extensionApiMessageBus2.rpcCall("extensionApi.importExtensionPackages",{files:w,action:"import"}),Rn.clearSelected(),qa.refreshShowData(),y.target.value=""},m=Gr(y=>{if(!n.current||qa.showData.length===0)return;switch(y.code){case"ArrowDown":y.preventDefault(),y.stopPropagation(),h();break;case"ArrowUp":y.preventDefault(),y.stopPropagation(),f();break;default:break}},100),h=()=>{Yn(()=>{let{selectedUuid:y}=Rn,{showData:w}=qa;if(!y){g();return}let x=qa.showData.at(-1);if(y===x.uuid)return;let S=w.findIndex(T=>T.uuid===Rn.selectedUuid);if(S>-1){let T=S+1,M=w[T];Rn.setSelectedUuid(M.uuid),a.current&&b(T)}else g()})},f=()=>{let{selectedUuid:y}=Rn,{showData:w}=qa;if(!y){g();return}let x=w[0];if(y===x.uuid)return;let S=w.findIndex(T=>T.uuid===Rn.selectedUuid);if(S>-1){let T=S-1,M=w[T];Rn.setSelectedUuid(M.uuid),a.current&&b(T)}else g()},g=()=>{let{showData:y}=qa;if(y.length===0)return;let w=y[0];Rn.setSelectedUuid(w.uuid)},b=y=>{if(!a.current)return;let w=70,x=a.current.viewport,S=(y+1)*w,T=x.scrollTop,M=x.clientHeight,I=S+w;if(!(S>T&&I<T+M)){let D=S-M/2+w/2;a.current.scrollTo(0,D)}};return Gs("keyup",m),(0,Mm.jsxs)("div",{style:{height:"100%"},children:[(0,Mm.jsxs)("div",{className:t("content-wrapper"),children:[(0,Mm.jsxs)("div",{className:t("left-content"),children:[(0,Mm.jsxs)("div",{className:t("tab-area"),children:[(0,Mm.jsx)("span",{className:t(`tab ${s===0&&"active"}`),onClick:()=>{l(0)},children:e(_t?"Internal Extension":"Extension Square")}),Rn.isShowOutExtensionTab&&(0,Mm.jsx)("span",{className:t(`tab ${s===2&&"active"}`),style:{borderLeft:"none"},onClick:()=>{l(2)},children:e("External Extension")}),(0,Mm.jsx)("span",{className:t(`tab ${s===1&&"active"}`),style:{borderLeft:"none"},onClick:()=>{l(1)},children:e("Installed")})]}),(0,Mm.jsxs)("div",{className:t("search-area"),children:[(0,Mm.jsx)(_B,{handleInputChangeCb:u,iconVisible:!1,style:{margin:"4px 0",width:"100%"},inputStyle:{width:"100%"},showFilterResult:!1}),(0,Mm.jsx)("span",{className:t(`icon icon-eda-filter ${i&&"active"}`),style:{marginLeft:"4px",marginRight:"4px"},onClick:y=>{pl.open({position:{x:y.pageX+10,y:y.pageY+10},menuConfig:s===0?C1o:s===2?x1o:T1o,clickItemCloseMenu:!1,menuClickCallback:w=>{let x=s===0,S=Rn.filterConfig[`${x?"extensionLib":s===2?"outExtensionLib":"installedLib"}`];S[w.optionType.groupName]!==w.id&&(S[w.optionType.groupName]=w.id,x?qa.searchFilterExtensionsData():qa.filterExtensionsData(),o(!(S.categoriesStatus===Oy&&S.status==="All")))}})}})]}),(0,Mm.jsxs)("div",{className:t("list-area"),onMouseEnter:()=>{n.current=!0},onMouseLeave:()=>{n.current=!1},children:[qa.showData.length>0&&(0,Mm.jsx)(Gtt,{ref:a,itemCount:qa.showData.length,onLastShow:async()=>{qa.curPageNumber<qa.totalPage&&Rn.activeTab===0&&(qa.curPageNumber+=1,await qa.getExtensionListData(),qa.refreshShowData())},getChildHeight:y=>70,Item:y=>{let w=y.index,x=qa.showData[w];return(0,Oho.createElement)(gpo,{...x,key:w,selectUuid:Rn.selectedUuid,btnClickCallback:d,clickCallBack:c})}}),qa.showData.length===0&&(0,Mm.jsx)("div",{style:{padding:"20px 10px"},children:e({context:"extensionApi",value:"No extensions data available."})})]})]}),(0,Mm.jsx)("div",{className:t("right-content"),children:Rn.selectedUuid&&(0,Mm.jsxs)(Mm.Fragment,{children:[(0,Mm.jsx)("div",{className:t("top"),children:(0,Mm.jsx)(w1o,{})}),(0,Mm.jsx)(Dho,{})]})})]}),(0,Mm.jsxs)("div",{className:t("footer-wrapper"),children:[(0,Mm.jsx)(Me,{type:"primary",onClick:()=>{r.current.click()},dataTest:"Import",children:(0,Mm.jsxs)(Mm.Fragment,{children:[(0,Mm.jsx)("input",{ref:r,type:"file",accept:".eext, .zip",multiple:!0,onChange:y=>p(y),style:{display:"none"}}),e("Import")]})}),(0,Mm.jsx)(Me,{onClick:()=>{le.close()},dataTest:"Close",children:e("Close")})]})]})},Pho=sUr;var jho=L(z()),Rho=async function(t,e){let i=bt[t],{containerId:o,title:r,width:n,closed:a,mask:s,esc:l,height:c}=i;await Rn.init(),le.open({id:o,title:r,width:n,closed:a,mask:s,esc:l,children:(0,jho.jsx)(Pho,{}),height:c,onClose:()=>{}})};async function _ho(){await ii("extapi_extensions_manager_new",{})}var _zt=L(zho());var E_t=class extends qe{constructor(){super(...arguments);this.rowsLength=0;this.maxRowsLength=4;this.headHeight=25;this.rowHeight=25;this.tableHeight=25;this.userScriptEditor=void 0}calculateTableHeight(i,o,r,n){this.rowsLength=i,this.maxRowsLength=o||this.maxRowsLength,this.headHeight=r||this.headHeight,this.rowHeight=n||this.rowHeight,this.tableHeight=(this.rowsLength<=this.maxRowsLength?this.rowsLength:this.maxRowsLength)*this.rowHeight+this.headHeight+(this.rowsLength>=1?2:0),this.notify()}},WM=new E_t;var A_t=class extends qe{constructor(){super(...arguments);this.standaloneScriptList=[]}setNewList(i){this.standaloneScriptList=[],i.forEach(o=>{this.standaloneScriptList.push(o)}),WM.calculateTableHeight(this.standaloneScriptList.length),this.notify()}insertLine(i){let o=!1;for(let r of this.standaloneScriptList)if(i.userScriptKey===r.userScriptKey){o=!0;break}o||(this.standaloneScriptList=[i,...this.standaloneScriptList],WM.calculateTableHeight(this.standaloneScriptList.length),this.notify())}deleteLine(i){for(let[o,r]of this.standaloneScriptList.entries())if(r.userScriptKey===i){this.standaloneScriptList.splice(o,1),this.standaloneScriptList=[...this.standaloneScriptList],WM.calculateTableHeight(this.standaloneScriptList.length),this.notify();break}}setLine(i){let o=!1;for(let[r,n]of this.standaloneScriptList.entries())if(i.userScriptKey===n.userScriptKey){this.standaloneScriptList[r]=i,o=!0,WM.calculateTableHeight(this.standaloneScriptList.length),this.notify();break}o||(this.standaloneScriptList=[i,...this.standaloneScriptList],WM.calculateTableHeight(this.standaloneScriptList.length),this.notify())}},Xm=new A_t;var ZO=L(Se());var $d=class t{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,i,o){[e,i]=A2e(this,e,i);let r=[];return this.decompose(0,e,r,2),o.length&&o.decompose(0,o.length,r,3),this.decompose(i,this.length,r,1),L2e.from(r,this.length-(i-e)+o.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,i=this.length){[e,i]=A2e(this,e,i);let o=[];return this.decompose(e,i,o,0),L2e.from(o,i-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let i=this.scanIdentical(e,1),o=this.length-this.scanIdentical(e,-1),r=new Lse(this),n=new Lse(e);for(let a=i,s=i;;){if(r.next(a),n.next(a),a=0,r.lineBreak!=n.lineBreak||r.done!=n.done||r.value!=n.value)return!1;if(s+=r.value.length,r.done||s>=o)return!0}}iter(e=1){return new Lse(this,e)}iterRange(e,i=this.length){return new Ztt(this,e,i)}iterLines(e,i){let o;if(e==null)o=this.iter();else{i==null&&(i=this.lines+1);let r=this.line(e).from;o=this.iterRange(r,Math.max(r,i==this.lines+1?this.length:i<=1?0:this.line(i-1).to))}return new Jtt(o)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?t.empty:e.length<=32?new mE(e):L2e.from(mE.split(e,[]))}},mE=class t extends $d{constructor(e,i=lUr(e)){super(),this.text=e,this.length=i}get lines(){return this.text.length}get children(){return null}lineInner(e,i,o,r){for(let n=0;;n++){let a=this.text[n],s=r+a.length;if((i?o:s)>=e)return new k_t(r,s,o,a);r=s+1,o++}}decompose(e,i,o,r){let n=e<=0&&i>=this.length?this:new t(Fho(this.text,e,i),Math.min(i,this.length)-Math.max(0,e));if(r&1){let a=o.pop(),s=Ktt(n.text,a.text.slice(),0,n.length);if(s.length<=32)o.push(new t(s,a.length+n.length));else{let l=s.length>>1;o.push(new t(s.slice(0,l)),new t(s.slice(l)))}}else o.push(n)}replace(e,i,o){if(!(o instanceof t))return super.replace(e,i,o);[e,i]=A2e(this,e,i);let r=Ktt(this.text,Ktt(o.text,Fho(this.text,0,e)),i),n=this.length+o.length-(i-e);return r.length<=32?new t(r,n):L2e.from(t.split(r,[]),n)}sliceString(e,i=this.length,o=`
`){[e,i]=A2e(this,e,i);let r="";for(let n=0,a=0;n<=i&&a<this.text.length;a++){let s=this.text[a],l=n+s.length;n>e&&a&&(r+=o),e<l&&i>n&&(r+=s.slice(Math.max(0,e-n),i-n)),n=l+1}return r}flatten(e){for(let i of this.text)e.push(i)}scanIdentical(){return 0}static split(e,i){let o=[],r=-1;for(let n of e)o.push(n),r+=n.length+1,o.length==32&&(i.push(new t(o,r)),o=[],r=-1);return r>-1&&i.push(new t(o,r)),i}},L2e=class t extends $d{constructor(e,i){super(),this.children=e,this.length=i,this.lines=0;for(let o of e)this.lines+=o.lines}lineInner(e,i,o,r){for(let n=0;;n++){let a=this.children[n],s=r+a.length,l=o+a.lines-1;if((i?l:s)>=e)return a.lineInner(e,i,o,r);r=s+1,o=l+1}}decompose(e,i,o,r){for(let n=0,a=0;a<=i&&n<this.children.length;n++){let s=this.children[n],l=a+s.length;if(e<=l&&i>=a){let c=r&((a<=e?1:0)|(l>=i?2:0));a>=e&&l<=i&&!c?o.push(s):s.decompose(e-a,i-a,o,c)}a=l+1}}replace(e,i,o){if([e,i]=A2e(this,e,i),o.lines<this.lines)for(let r=0,n=0;r<this.children.length;r++){let a=this.children[r],s=n+a.length;if(e>=n&&i<=s){let l=a.replace(e-n,i-n,o),c=this.lines-a.lines+l.lines;if(l.lines<c>>4&&l.lines>c>>6){let d=this.children.slice();return d[r]=l,new t(d,this.length-(i-e)+o.length)}return super.replace(n,s,l)}n=s+1}return super.replace(e,i,o)}sliceString(e,i=this.length,o=`
`){[e,i]=A2e(this,e,i);let r="";for(let n=0,a=0;n<this.children.length&&a<=i;n++){let s=this.children[n],l=a+s.length;a>e&&n&&(r+=o),e<l&&i>a&&(r+=s.sliceString(e-a,i-a,o)),a=l+1}return r}flatten(e){for(let i of this.children)i.flatten(e)}scanIdentical(e,i){if(!(e instanceof t))return 0;let o=0,[r,n,a,s]=i>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=i,n+=i){if(r==a||n==s)return o;let l=this.children[r],c=e.children[n];if(l!=c)return o+l.scanIdentical(c,i);o+=l.length+1}}static from(e,i=e.reduce((o,r)=>o+r.length+1,-1)){let o=0;for(let m of e)o+=m.lines;if(o<32){let m=[];for(let h of e)h.flatten(m);return new mE(m,i)}let r=Math.max(32,o>>5),n=r<<1,a=r>>1,s=[],l=0,c=-1,d=[];function u(m){let h;if(m.lines>n&&m instanceof t)for(let f of m.children)u(f);else m.lines>a&&(l>a||!l)?(p(),s.push(m)):m instanceof mE&&l&&(h=d[d.length-1])instanceof mE&&m.lines+h.lines<=32?(l+=m.lines,c+=m.length+1,d[d.length-1]=new mE(h.text.concat(m.text),h.length+1+m.length)):(l+m.lines>r&&p(),l+=m.lines,c+=m.length+1,d.push(m))}function p(){l!=0&&(s.push(d.length==1?d[0]:t.from(d,c)),c=-1,l=d.length=0)}for(let m of e)u(m);return p(),s.length==1?s[0]:new t(s,i)}};$d.empty=new mE([""],0);function lUr(t){let e=-1;for(let i of t)e+=i.length+1;return e}function Ktt(t,e,i=0,o=1e9){for(let r=0,n=0,a=!0;n<t.length&&r<=o;n++){let s=t[n],l=r+s.length;l>=i&&(l>o&&(s=s.slice(0,o-r)),r<i&&(s=s.slice(i-r)),a?(e[e.length-1]+=s,a=!1):e.push(s)),r=l+1}return e}function Fho(t,e,i){return Ktt(t,[""],e,i)}var Lse=class{constructor(e,i=1){this.dir=i,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[i>0?1:(e instanceof mE?e.text.length:e.children.length)<<1]}nextInner(e,i){for(this.done=this.lineBreak=!1;;){let o=this.nodes.length-1,r=this.nodes[o],n=this.offsets[o],a=n>>1,s=r instanceof mE?r.text.length:r.children.length;if(a==(i>0?s:0)){if(o==0)return this.done=!0,this.value="",this;i>0&&this.offsets[o-1]++,this.nodes.pop(),this.offsets.pop()}else if((n&1)==(i>0?0:1)){if(this.offsets[o]+=i,e==0)return this.lineBreak=!0,this.value=`
`,this;e--}else if(r instanceof mE){let l=r.text[a+(i<0?-1:0)];if(this.offsets[o]+=i,l.length>Math.max(0,e))return this.value=e==0?l:i>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=r.children[a+(i<0?-1:0)];e>l.length?(e-=l.length,this.offsets[o]+=i):(i<0&&this.offsets[o]--,this.nodes.push(l),this.offsets.push(i>0?1:(l instanceof mE?l.text.length:l.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}},Ztt=class{constructor(e,i,o){this.value="",this.done=!1,this.cursor=new Lse(e,i>o?-1:1),this.pos=i>o?e.length:0,this.from=Math.min(i,o),this.to=Math.max(i,o)}nextInner(e,i){if(i<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,i<0?this.pos-this.to:this.from-this.pos);let o=i<0?this.pos-this.from:this.to-this.pos;e>o&&(e=o),o-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*i,this.value=r.length<=o?r:i<0?r.slice(r.length-o):r.slice(0,o),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}},Jtt=class{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:i,lineBreak:o,value:r}=this.inner.next(e);return i&&this.afterBreak?(this.value="",this.afterBreak=!1):i?(this.done=!0,this.value=""):o?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}};typeof Symbol<"u"&&($d.prototype[Symbol.iterator]=function(){return this.iter()},Lse.prototype[Symbol.iterator]=Ztt.prototype[Symbol.iterator]=Jtt.prototype[Symbol.iterator]=function(){return this});var k_t=class{constructor(e,i,o,r){this.from=e,this.to=i,this.number=o,this.text=r}get length(){return this.to-this.from}};function A2e(t,e,i){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,i))]}var v2e="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=1;t<v2e.length;t++)v2e[t]+=v2e[t-1];function cUr(t){for(let e=1;e<v2e.length;e+=2)if(v2e[e]>t)return v2e[e-1]<=t;return!1}function Uho(t){return t>=127462&&t<=127487}var Vho=8205;function jy(t,e,i=!0,o=!0){return(i?Kho:dUr)(t,e,o)}function Kho(t,e,i){if(e==t.length)return e;e&&Zho(t.charCodeAt(e))&&Jho(t.charCodeAt(e-1))&&e--;let o=Ry(t,e);for(e+=QM(o);e<t.length;){let r=Ry(t,e);if(o==Vho||r==Vho||i&&cUr(r))e+=QM(r),o=r;else if(Uho(r)){let n=0,a=e-2;for(;a>=0&&Uho(Ry(t,a));)n++,a-=2;if(n%2==0)break;e+=2}else break}return e}function dUr(t,e,i){for(;e>0;){let o=Kho(t,e-2,i);if(o<e)return o;e--}return 0}function Zho(t){return t>=56320&&t<57344}function Jho(t){return t>=55296&&t<56320}function Ry(t,e){let i=t.charCodeAt(e);if(!Jho(i)||e+1==t.length)return i;let o=t.charCodeAt(e+1);return Zho(o)?(i-55296<<10)+(o-56320)+65536:i}function JIe(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function QM(t){return t<65536?1:2}var P_t=/\r\n?|\n/,V4=(function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t})(V4||(V4={})),hW=class t{constructor(e){this.sections=e}get length(){let e=0;for(let i=0;i<this.sections.length;i+=2)e+=this.sections[i];return e}get newLength(){let e=0;for(let i=0;i<this.sections.length;i+=2){let o=this.sections[i+1];e+=o<0?this.sections[i]:o}return e}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(e){for(let i=0,o=0,r=0;i<this.sections.length;){let n=this.sections[i++],a=this.sections[i++];a<0?(e(o,r,n),r+=n):r+=a,o+=n}}iterChangedRanges(e,i=!1){O_t(this,e,i)}get invertedDesc(){let e=[];for(let i=0;i<this.sections.length;){let o=this.sections[i++],r=this.sections[i++];r<0?e.push(o,r):e.push(r,o)}return new t(e)}composeDesc(e){return this.empty?e:e.empty?this:qho(this,e)}mapDesc(e,i=!1){return e.empty?this:R_t(this,e,i)}mapPos(e,i=-1,o=V4.Simple){let r=0,n=0;for(let a=0;a<this.sections.length;){let s=this.sections[a++],l=this.sections[a++],c=r+s;if(l<0){if(c>e)return n+(e-r);n+=s}else{if(o!=V4.Simple&&c>=e&&(o==V4.TrackDel&&r<e&&c>e||o==V4.TrackBefore&&r<e||o==V4.TrackAfter&&c>e))return null;if(c>e||c==e&&i<0&&!s)return e==r||i<0?n:n+l;n+=l}r=c}if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return n}touchesRange(e,i=e){for(let o=0,r=0;o<this.sections.length&&r<=i;){let n=this.sections[o++],a=this.sections[o++],s=r+n;if(a>=0&&r<=i&&s>=e)return r<e&&s>i?"cover":!0;r=s}return!1}toString(){let e="";for(let i=0;i<this.sections.length;){let o=this.sections[i++],r=this.sections[i++];e+=(e?" ":"")+o+(r>=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(i=>typeof i!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new t(e)}static create(e){return new t(e)}},KM=class t extends hW{constructor(e,i){super(e),this.inserted=i}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return O_t(this,(i,o,r,n,a)=>e=e.replace(r,r+(o-i),a),!1),e}mapDesc(e,i=!1){return R_t(this,e,i,!0)}invert(e){let i=this.sections.slice(),o=[];for(let r=0,n=0;r<i.length;r+=2){let a=i[r],s=i[r+1];if(s>=0){i[r]=s,i[r+1]=a;let l=r>>1;for(;o.length<l;)o.push($d.empty);o.push(a?e.slice(n,n+a):$d.empty)}n+=a}return new t(i,o)}compose(e){return this.empty?e:e.empty?this:qho(this,e,!0)}map(e,i=!1){return e.empty?this:R_t(this,e,i,!0)}iterChanges(e,i=!1){O_t(this,e,i)}get desc(){return hW.create(this.sections)}filter(e){let i=[],o=[],r=[],n=new vse(this);e:for(let a=0,s=0;;){let l=a==e.length?1e9:e[a++];for(;s<l||s==l&&n.len==0;){if(n.done)break e;let d=Math.min(n.len,l-s);O5(r,d,-1);let u=n.ins==-1?-1:n.off==0?n.ins:0;O5(i,d,u),u>0&&F$(o,i,n.text),n.forward(d),s+=d}let c=e[a++];for(;s<c;){if(n.done)break e;let d=Math.min(n.len,c-s);O5(i,d,-1),O5(r,d,n.ins==-1?-1:n.off==0?n.ins:0),n.forward(d),s+=d}}return{changes:new t(i,o),filtered:hW.create(r)}}toJSON(){let e=[];for(let i=0;i<this.sections.length;i+=2){let o=this.sections[i],r=this.sections[i+1];r<0?e.push(o):r==0?e.push([o]):e.push([o].concat(this.inserted[i>>1].toJSON()))}return e}static of(e,i,o){let r=[],n=[],a=0,s=null;function l(d=!1){if(!d&&!r.length)return;a<i&&O5(r,i-a,-1);let u=new t(r,n);s=s?s.compose(u.map(s)):u,r=[],n=[],a=0}function c(d){if(Array.isArray(d))for(let u of d)c(u);else if(d instanceof t){if(d.length!=i)throw new RangeError(`Mismatched change set length (got ${d.length}, expected ${i})`);l(),s=s?s.compose(d.map(s)):d}else{let{from:u,to:p=u,insert:m}=d;if(u>p||u<0||p>i)throw new RangeError(`Invalid change range ${u} to ${p} (in doc of length ${i})`);let h=m?typeof m=="string"?$d.of(m.split(o||P_t)):m:$d.empty,f=h.length;if(u==p&&f==0)return;u<a&&l(),u>a&&O5(r,u-a,-1),O5(r,p-u,f),F$(n,r,h),a=p}}return c(e),l(!s),s}static empty(e){return new t(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let i=[],o=[];for(let r=0;r<e.length;r++){let n=e[r];if(typeof n=="number")i.push(n,-1);else{if(!Array.isArray(n)||typeof n[0]!="number"||n.some((a,s)=>s&&typeof a!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(n.length==1)i.push(n[0],0);else{for(;o.length<r;)o.push($d.empty);o[r]=$d.of(n.slice(1)),i.push(n[0],o[r].length)}}}return new t(i,o)}static createSet(e,i){return new t(e,i)}};function O5(t,e,i,o=!1){if(e==0&&i<=0)return;let r=t.length-2;r>=0&&i<=0&&i==t[r+1]?t[r]+=e:e==0&&t[r]==0?t[r+1]+=i:o?(t[r]+=e,t[r+1]+=i):t.push(e,i)}function F$(t,e,i){if(i.length==0)return;let o=e.length-2>>1;if(o<t.length)t[t.length-1]=t[t.length-1].append(i);else{for(;t.length<o;)t.push($d.empty);t.push(i)}}function O_t(t,e,i){let o=t.inserted;for(let r=0,n=0,a=0;a<t.sections.length;){let s=t.sections[a++],l=t.sections[a++];if(l<0)r+=s,n+=s;else{let c=r,d=n,u=$d.empty;for(;c+=s,d+=l,l&&o&&(u=u.append(o[a-2>>1])),!(i||a==t.sections.length||t.sections[a+1]<0);)s=t.sections[a++],l=t.sections[a++];e(r,c,n,d,u),r=c,n=d}}}function R_t(t,e,i,o=!1){let r=[],n=o?[]:null,a=new vse(t),s=new vse(e);for(let l=-1;;)if(a.ins==-1&&s.ins==-1){let c=Math.min(a.len,s.len);O5(r,c,-1),a.forward(c),s.forward(c)}else if(s.ins>=0&&(a.ins<0||l==a.i||a.off==0&&(s.len<a.len||s.len==a.len&&!i))){let c=s.len;for(O5(r,s.ins,-1);c;){let d=Math.min(a.len,c);a.ins>=0&&l<a.i&&a.len<=d&&(O5(r,0,a.ins),n&&F$(n,r,a.text),l=a.i),a.forward(d),c-=d}s.next()}else if(a.ins>=0){let c=0,d=a.len;for(;d;)if(s.ins==-1){let u=Math.min(d,s.len);c+=u,d-=u,s.forward(u)}else if(s.ins==0&&s.len<d)d-=s.len,s.next();else break;O5(r,c,l<a.i?a.ins:0),n&&l<a.i&&F$(n,r,a.text),l=a.i,a.forward(a.len-d)}else{if(a.done&&s.done)return n?KM.createSet(r,n):hW.create(r);throw new Error("Mismatched change set lengths")}}function qho(t,e,i=!1){let o=[],r=i?[]:null,n=new vse(t),a=new vse(e);for(let s=!1;;){if(n.done&&a.done)return r?KM.createSet(o,r):hW.create(o);if(n.ins==0)O5(o,n.len,0,s),n.next();else if(a.len==0&&!a.done)O5(o,0,a.ins,s),r&&F$(r,o,a.text),a.next();else{if(n.done||a.done)throw new Error("Mismatched change set lengths");{let l=Math.min(n.len2,a.len),c=o.length;if(n.ins==-1){let d=a.ins==-1?-1:a.off?0:a.ins;O5(o,l,d,s),r&&d&&F$(r,o,a.text)}else a.ins==-1?(O5(o,n.off?0:n.len,l,s),r&&F$(r,o,n.textBit(l))):(O5(o,n.off?0:n.len,a.off?0:a.ins,s),r&&!a.off&&F$(r,o,a.text));s=(n.ins>l||a.ins>=0&&a.len>l)&&(s||o.length>c),n.forward2(l),a.forward(l)}}}}var vse=class{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,i=this.i-2>>1;return i>=e.length?$d.empty:e[i]}textBit(e){let{inserted:i}=this.set,o=this.i-2>>1;return o>=i.length&&!e?$d.empty:i[o].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}},I2e=class t{constructor(e,i,o){this.from=e,this.to=i,this.flags=o}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,i=-1){let o,r;return this.empty?o=r=e.mapPos(this.from,i):(o=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),o==this.from&&r==this.to?this:new t(o,r,this.flags)}extend(e,i=e){if(e<=this.anchor&&i>=this.anchor)return Fo.range(e,i);let o=Math.abs(e-this.anchor)>Math.abs(i-this.anchor)?e:i;return Fo.range(this.anchor,o)}eq(e,i=!1){return this.anchor==e.anchor&&this.head==e.head&&(!i||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return Fo.range(e.anchor,e.head)}static create(e,i,o){return new t(e,i,o)}},Fo=class t{constructor(e,i){this.ranges=e,this.mainIndex=i}map(e,i=-1){return e.empty?this:t.create(this.ranges.map(o=>o.map(e,i)),this.mainIndex)}eq(e,i=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let o=0;o<this.ranges.length;o++)if(!this.ranges[o].eq(e.ranges[o],i))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new t([this.main],0)}addRange(e,i=!0){return t.create([e].concat(this.ranges),i?0:this.mainIndex+1)}replaceRange(e,i=this.mainIndex){let o=this.ranges.slice();return o[i]=e,t.create(o,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new t(e.ranges.map(i=>I2e.fromJSON(i)),e.main)}static single(e,i=e){return new t([t.range(e,i)],0)}static create(e,i=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let o=0,r=0;r<e.length;r++){let n=e[r];if(n.empty?n.from<=o:n.from<o)return t.normalized(e.slice(),i);o=n.to}return new t(e,i)}static cursor(e,i=0,o,r){return I2e.create(e,e,(i==0?0:i<0?8:16)|(o==null?7:Math.min(6,o))|(r!=null?r:16777215)<<6)}static range(e,i,o,r){let n=(o!=null?o:16777215)<<6|(r==null?7:Math.min(6,r));return i<e?I2e.create(i,e,48|n):I2e.create(e,i,(i>e?8:0)|n)}static normalized(e,i=0){let o=e[i];e.sort((r,n)=>r.from-n.from),i=e.indexOf(o);for(let r=1;r<e.length;r++){let n=e[r],a=e[r-1];if(n.empty?n.from<=a.to:n.from<a.to){let s=a.from,l=Math.max(n.to,a.to);r<=i&&i--,e.splice(--r,2,n.anchor>n.head?t.range(l,s):t.range(s,l))}}return new t(e,i)}};function Xho(t,e){for(let i of t.ranges)if(i.to>e)throw new RangeError("Selection points outside of document")}var Y_t=0,un=class t{constructor(e,i,o,r,n){this.combine=e,this.compareInput=i,this.compare=o,this.isStatic=r,this.id=Y_t++,this.default=e([]),this.extensions=typeof n=="function"?n(this):n}get reader(){return this}static define(e={}){return new t(e.combine||(i=>i),e.compareInput||((i,o)=>i===o),e.compare||(e.combine?(i,o)=>i===o:W_t),!!e.static,e.enables)}of(e){return new D2e([],this,0,e)}compute(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new D2e(e,this,1,i)}computeN(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new D2e(e,this,2,i)}from(e,i){return i||(i=o=>o),this.compute([e],o=>i(o.field(e)))}};function W_t(t,e){return t==e||t.length==e.length&&t.every((i,o)=>i===e[o])}var D2e=class{constructor(e,i,o,r){this.dependencies=e,this.facet=i,this.type=o,this.value=r,this.id=Y_t++}dynamicSlot(e){var i;let o=this.value,r=this.facet.compareInput,n=this.id,a=e[n]>>1,s=this.type==2,l=!1,c=!1,d=[];for(let u of this.dependencies)u=="doc"?l=!0:u=="selection"?c=!0:(((i=e[u.id])!==null&&i!==void 0?i:1)&1)==0&&d.push(e[u.id]);return{create(u){return u.values[a]=o(u),1},update(u,p){if(l&&p.docChanged||c&&(p.docChanged||p.selection)||__t(u,d)){let m=o(u);if(s?!Hho(m,u.values[a],r):!r(m,u.values[a]))return u.values[a]=m,1}return 0},reconfigure:(u,p)=>{let m,h=p.config.address[n];if(h!=null){let f=eit(p,h);if(this.dependencies.every(g=>g instanceof un?p.facet(g)===u.facet(g):g instanceof B1?p.field(g,!1)==u.field(g,!1):!0)||(s?Hho(m=o(u),f,r):r(m=o(u),f)))return u.values[a]=f,0}else m=o(u);return u.values[a]=m,1}}}};function Hho(t,e,i){if(t.length!=e.length)return!1;for(let o=0;o<t.length;o++)if(!i(t[o],e[o]))return!1;return!0}function __t(t,e){let i=!1;for(let o of e)WIe(t,o)&1&&(i=!0);return i}function uUr(t,e,i){let o=i.map(l=>t[l.id]),r=i.map(l=>l.type),n=o.filter(l=>!(l&1)),a=t[e.id]>>1;function s(l){let c=[];for(let d=0;d<o.length;d++){let u=eit(l,o[d]);if(r[d]==2)for(let p of u)c.push(p);else c.push(u)}return e.combine(c)}return{create(l){for(let c of o)WIe(l,c);return l.values[a]=s(l),1},update(l,c){if(!__t(l,n))return 0;let d=s(l);return e.compare(d,l.values[a])?0:(l.values[a]=d,1)},reconfigure(l,c){let d=__t(l,o),u=c.config.facets[e.id],p=c.facet(e);if(u&&!d&&W_t(i,u))return l.values[a]=p,0;let m=s(l);return e.compare(m,p)?(l.values[a]=p,0):(l.values[a]=m,1)}}}var Gho=un.define({static:!0}),B1=class t{constructor(e,i,o,r,n){this.id=e,this.createF=i,this.updateF=o,this.compareF=r,this.spec=n,this.provides=void 0}static define(e){let i=new t(Y_t++,e.create,e.update,e.compare||((o,r)=>o===r),e);return e.provide&&(i.provides=e.provide(i)),i}create(e){let i=e.facet(Gho).find(o=>o.field==this);return((i==null?void 0:i.create)||this.createF)(e)}slot(e){let i=e[this.id]>>1;return{create:o=>(o.values[i]=this.create(o),1),update:(o,r)=>{let n=o.values[i],a=this.updateF(n,r);return this.compareF(n,a)?0:(o.values[i]=a,1)},reconfigure:(o,r)=>r.config.address[this.id]!=null?(o.values[i]=r.field(this),0):(o.values[i]=this.create(o),1)}}init(e){return[this,Gho.of({field:this,create:e})]}get extension(){return this}},Mse={lowest:4,low:3,default:2,high:1,highest:0};function YIe(t){return e=>new qtt(e,t)}var hE={highest:YIe(Mse.highest),high:YIe(Mse.high),default:YIe(Mse.default),low:YIe(Mse.low),lowest:YIe(Mse.lowest)},qtt=class{constructor(e,i){this.inner=e,this.prec=i}},Xtt=class t{of(e){return new QIe(this,e)}reconfigure(e){return t.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}},QIe=class{constructor(e,i){this.compartment=e,this.inner=i}},$tt=class t{constructor(e,i,o,r,n,a){for(this.base=e,this.compartments=i,this.dynamicSlots=o,this.address=r,this.staticValues=n,this.facets=a,this.statusTemplate=[];this.statusTemplate.length<o.length;)this.statusTemplate.push(0)}staticFacet(e){let i=this.address[e.id];return i==null?e.default:this.staticValues[i>>1]}static resolve(e,i,o){let r=[],n=Object.create(null),a=new Map;for(let p of pUr(e,i,a))p instanceof B1?r.push(p):(n[p.facet.id]||(n[p.facet.id]=[])).push(p);let s=Object.create(null),l=[],c=[];for(let p of r)s[p.id]=c.length<<1,c.push(m=>p.slot(m));let d=o==null?void 0:o.config.facets;for(let p in n){let m=n[p],h=m[0].facet,f=d&&d[p]||[];if(m.every(g=>g.type==0))if(s[h.id]=l.length<<1|1,W_t(f,m))l.push(o.facet(h));else{let g=h.combine(m.map(b=>b.value));l.push(o&&h.compare(g,o.facet(h))?o.facet(h):g)}else{for(let g of m)g.type==0?(s[g.id]=l.length<<1|1,l.push(g.value)):(s[g.id]=c.length<<1,c.push(b=>g.dynamicSlot(b)));s[h.id]=c.length<<1,c.push(g=>uUr(g,h,m))}}let u=c.map(p=>p(s));return new t(e,a,u,s,l,n)}};function pUr(t,e,i){let o=[[],[],[],[],[]],r=new Map;function n(a,s){let l=r.get(a);if(l!=null){if(l<=s)return;let c=o[l].indexOf(a);c>-1&&o[l].splice(c,1),a instanceof QIe&&i.delete(a.compartment)}if(r.set(a,s),Array.isArray(a))for(let c of a)n(c,s);else if(a instanceof QIe){if(i.has(a.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(a.compartment)||a.inner;i.set(a.compartment,c),n(c,s)}else if(a instanceof qtt)n(a.inner,a.prec);else if(a instanceof B1)o[s].push(a),a.provides&&n(a.provides,s);else if(a instanceof D2e)o[s].push(a),a.facet.extensions&&n(a.facet.extensions,Mse.default);else{let c=a.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${a}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);n(c,s)}}return n(t,Mse.default),o.reduce((a,s)=>a.concat(s))}function WIe(t,e){if(e&1)return 2;let i=e>>1,o=t.status[i];if(o==4)throw new Error("Cyclic dependency between fields and/or facets");if(o&2)return o;t.status[i]=4;let r=t.computeSlot(t,t.config.dynamicSlots[i]);return t.status[i]=2|r}function eit(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}var $ho=un.define(),j_t=un.define({combine:t=>t.some(e=>e),static:!0}),efo=un.define({combine:t=>t.length?t[0]:void 0,static:!0}),tfo=un.define(),ifo=un.define(),ofo=un.define(),rfo=un.define({combine:t=>t.length?t[0]:!1}),uL=class{constructor(e,i){this.type=e,this.value=i}static define(){return new B_t}},B_t=class{of(e){return new uL(this,e)}},z_t=class{constructor(e){this.map=e}of(e){return new Fs(this,e)}},Fs=class t{constructor(e,i){this.type=e,this.value=i}map(e){let i=this.type.map(this.value,e);return i===void 0?void 0:i==this.value?this:new t(this.type,i)}is(e){return this.type==e}static define(e={}){return new z_t(e.map||(i=>i))}static mapEffects(e,i){if(!e.length)return e;let o=[];for(let r of e){let n=r.map(i);n&&o.push(n)}return o}};Fs.reconfigure=Fs.define();Fs.appendConfig=Fs.define();var _y=class t{constructor(e,i,o,r,n,a){this.startState=e,this.changes=i,this.selection=o,this.effects=r,this.annotations=n,this.scrollIntoView=a,this._doc=null,this._state=null,o&&Xho(o,i.newLength),n.some(s=>s.type==t.time)||(this.annotations=n.concat(t.time.of(Date.now())))}static create(e,i,o,r,n,a){return new t(e,i,o,r,n,a)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let i of this.annotations)if(i.type==e)return i.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let i=this.annotation(t.userEvent);return!!(i&&(i==e||i.length>e.length&&i.slice(0,e.length)==e&&i[e.length]=="."))}};_y.time=uL.define();_y.userEvent=uL.define();_y.addToHistory=uL.define();_y.remote=uL.define();function mUr(t,e){let i=[];for(let o=0,r=0;;){let n,a;if(o<t.length&&(r==e.length||e[r]>=t[o]))n=t[o++],a=t[o++];else if(r<e.length)n=e[r++],a=e[r++];else return i;!i.length||i[i.length-1]<n?i.push(n,a):i[i.length-1]<a&&(i[i.length-1]=a)}}function nfo(t,e,i){var o;let r,n,a;return i?(r=e.changes,n=KM.empty(e.changes.length),a=t.changes.compose(e.changes)):(r=e.changes.map(t.changes),n=t.changes.mapDesc(e.changes,!0),a=t.changes.compose(r)),{changes:a,selection:e.selection?e.selection.map(n):(o=t.selection)===null||o===void 0?void 0:o.map(r),effects:Fs.mapEffects(t.effects,r).concat(Fs.mapEffects(e.effects,n)),annotations:t.annotations.length?t.annotations.concat(e.annotations):e.annotations,scrollIntoView:t.scrollIntoView||e.scrollIntoView}}function F_t(t,e,i){let o=e.selection,r=E2e(e.annotations);return e.userEvent&&(r=r.concat(_y.userEvent.of(e.userEvent))),{changes:e.changes instanceof KM?e.changes:KM.of(e.changes||[],i,t.facet(efo)),selection:o&&(o instanceof Fo?o:Fo.single(o.anchor,o.head)),effects:E2e(e.effects),annotations:r,scrollIntoView:!!e.scrollIntoView}}function afo(t,e,i){let o=F_t(t,e.length?e[0]:{},t.doc.length);e.length&&e[0].filter===!1&&(i=!1);for(let n=1;n<e.length;n++){e[n].filter===!1&&(i=!1);let a=!!e[n].sequential;o=nfo(o,F_t(t,e[n],a?o.changes.newLength:t.doc.length),a)}let r=_y.create(t,o.changes,o.selection,o.effects,o.annotations,o.scrollIntoView);return fUr(i?hUr(r):r)}function hUr(t){let e=t.startState,i=!0;for(let r of e.facet(tfo)){let n=r(t);if(n===!1){i=!1;break}Array.isArray(n)&&(i=i===!0?n:mUr(i,n))}if(i!==!0){let r,n;if(i===!1)n=t.changes.invertedDesc,r=KM.empty(e.doc.length);else{let a=t.changes.filter(i);r=a.changes,n=a.filtered.mapDesc(a.changes).invertedDesc}t=_y.create(e,r,t.selection&&t.selection.map(n),Fs.mapEffects(t.effects,n),t.annotations,t.scrollIntoView)}let o=e.facet(ifo);for(let r=o.length-1;r>=0;r--){let n=o[r](t);n instanceof _y?t=n:Array.isArray(n)&&n.length==1&&n[0]instanceof _y?t=n[0]:t=afo(e,E2e(n),!1)}return t}function fUr(t){let e=t.startState,i=e.facet(ofo),o=t;for(let r=i.length-1;r>=0;r--){let n=i[r](t);n&&Object.keys(n).length&&(o=nfo(o,F_t(e,n,t.changes.newLength),!0))}return o==t?t:_y.create(e,t.changes,t.selection,o.effects,o.annotations,o.scrollIntoView)}var gUr=[];function E2e(t){return t==null?gUr:Array.isArray(t)?t:[t]}var Im=(function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t})(Im||(Im={})),bUr=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,U_t;try{U_t=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function yUr(t){if(U_t)return U_t.test(t);for(let e=0;e<t.length;e++){let i=t[e];if(/\w/.test(i)||i>"\x80"&&(i.toUpperCase()!=i.toLowerCase()||bUr.test(i)))return!0}return!1}function wUr(t){return e=>{if(!/\S/.test(e))return Im.Space;if(yUr(e))return Im.Word;for(let i=0;i<t.length;i++)if(e.indexOf(t[i])>-1)return Im.Word;return Im.Other}}var vd=class t{constructor(e,i,o,r,n,a){this.config=e,this.doc=i,this.selection=o,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=n,a&&(a._state=this);for(let s=0;s<this.config.dynamicSlots.length;s++)WIe(this,s<<1);this.computeSlot=null}field(e,i=!0){let o=this.config.address[e.id];if(o==null){if(i)throw new RangeError("Field is not present in this state");return}return WIe(this,o),eit(this,o)}update(...e){return afo(this,e,!0)}applyTransaction(e){let i=this.config,{base:o,compartments:r}=i;for(let s of e.effects)s.is(Xtt.reconfigure)?(i&&(r=new Map,i.compartments.forEach((l,c)=>r.set(c,l)),i=null),r.set(s.value.compartment,s.value.extension)):s.is(Fs.reconfigure)?(i=null,o=s.value):s.is(Fs.appendConfig)&&(i=null,o=E2e(o).concat(s.value));let n;i?n=e.startState.values.slice():(i=$tt.resolve(o,r,this),n=new t(i,this.doc,this.selection,i.dynamicSlots.map(()=>null),(l,c)=>c.reconfigure(l,this),null).values);let a=e.startState.facet(j_t)?e.newSelection:e.newSelection.asSingle();new t(i,e.newDoc,a,n,(s,l)=>l.update(s,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:e},range:Fo.cursor(i.from+e.length)}))}changeByRange(e){let i=this.selection,o=e(i.ranges[0]),r=this.changes(o.changes),n=[o.range],a=E2e(o.effects);for(let s=1;s<i.ranges.length;s++){let l=e(i.ranges[s]),c=this.changes(l.changes),d=c.map(r);for(let p=0;p<s;p++)n[p]=n[p].map(d);let u=r.mapDesc(c,!0);n.push(l.range.map(u)),r=r.compose(d),a=Fs.mapEffects(a,d).concat(Fs.mapEffects(E2e(l.effects),u))}return{changes:r,selection:Fo.create(n,i.mainIndex),effects:a}}changes(e=[]){return e instanceof KM?e:KM.of(e,this.doc.length,this.facet(t.lineSeparator))}toText(e){return $d.of(e.split(this.facet(t.lineSeparator)||P_t))}sliceDoc(e=0,i=this.doc.length){return this.doc.sliceString(e,i,this.lineBreak)}facet(e){let i=this.config.address[e.id];return i==null?e.default:(WIe(this,i),eit(this,i))}toJSON(e){let i={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let o in e){let r=e[o];r instanceof B1&&this.config.address[r.id]!=null&&(i[o]=r.spec.toJSON(this.field(e[o]),this))}return i}static fromJSON(e,i={},o){if(!e||typeof e.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let r=[];if(o){for(let n in o)if(Object.prototype.hasOwnProperty.call(e,n)){let a=o[n],s=e[n];r.push(a.init(l=>a.spec.fromJSON(s,l)))}}return t.create({doc:e.doc,selection:Fo.fromJSON(e.selection),extensions:i.extensions?r.concat([i.extensions]):r})}static create(e={}){let i=$tt.resolve(e.extensions||[],new Map),o=e.doc instanceof $d?e.doc:$d.of((e.doc||"").split(i.staticFacet(t.lineSeparator)||P_t)),r=e.selection?e.selection instanceof Fo?e.selection:Fo.single(e.selection.anchor,e.selection.head):Fo.single(0);return Xho(r,o.length),i.staticFacet(j_t)||(r=r.asSingle()),new t(i,o,r,i.dynamicSlots.map(()=>null),(n,a)=>a.create(n),null)}get tabSize(){return this.facet(t.tabSize)}get lineBreak(){return this.facet(t.lineSeparator)||`
`}get readOnly(){return this.facet(rfo)}phrase(e,...i){for(let o of this.facet(t.phrases))if(Object.prototype.hasOwnProperty.call(o,e)){e=o[e];break}return i.length&&(e=e.replace(/\$(\$|\d*)/g,(o,r)=>{if(r=="$")return"$";let n=+(r||1);return!n||n>i.length?o:i[n-1]})),e}languageDataAt(e,i,o=-1){let r=[];for(let n of this.facet($ho))for(let a of n(this,i,o))Object.prototype.hasOwnProperty.call(a,e)&&r.push(a[e]);return r}charCategorizer(e){return wUr(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:i,from:o,length:r}=this.doc.lineAt(e),n=this.charCategorizer(e),a=e-o,s=e-o;for(;a>0;){let l=jy(i,a,!1);if(n(i.slice(l,a))!=Im.Word)break;a=l}for(;s<r;){let l=jy(i,s);if(n(i.slice(s,l))!=Im.Word)break;s=l}return a==s?null:Fo.range(a+o,s+o)}};vd.allowMultipleSelections=j_t;vd.tabSize=un.define({combine:t=>t.length?t[0]:4});vd.lineSeparator=efo;vd.readOnly=rfo;vd.phrases=un.define({compare(t,e){let i=Object.keys(t),o=Object.keys(e);return i.length==o.length&&i.every(r=>t[r]==e[r])}});vd.languageData=$ho;vd.changeFilter=tfo;vd.transactionFilter=ifo;vd.transactionExtender=ofo;Xtt.reconfigure=Fs.define();function hx(t,e,i={}){let o={};for(let r of t)for(let n of Object.keys(r)){let a=r[n],s=o[n];if(s===void 0)o[n]=a;else if(!(s===a||a===void 0))if(Object.hasOwnProperty.call(i,n))o[n]=i[n](s,a);else throw new Error("Config merge conflict for field "+n)}for(let r in e)o[r]===void 0&&(o[r]=e[r]);return o}var HO=class{eq(e){return this==e}range(e,i=e){return KIe.create(e,i,this)}};HO.prototype.startSide=HO.prototype.endSide=0;HO.prototype.point=!1;HO.prototype.mapMode=V4.TrackDel;var KIe=class t{constructor(e,i,o){this.from=e,this.to=i,this.value=o}static create(e,i,o){return new t(e,i,o)}};function V_t(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}var H_t=class t{constructor(e,i,o,r){this.from=e,this.to=i,this.value=o,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,i,o,r=0){let n=o?this.to:this.from;for(let a=r,s=n.length;;){if(a==s)return a;let l=a+s>>1,c=n[l]-e||(o?this.value[l].endSide:this.value[l].startSide)-i;if(l==a)return c>=0?a:s;c>=0?s=l:a=l+1}}between(e,i,o,r){for(let n=this.findIndex(i,-1e9,!0),a=this.findIndex(o,1e9,!1,n);n<a;n++)if(r(this.from[n]+e,this.to[n]+e,this.value[n])===!1)return!1}map(e,i){let o=[],r=[],n=[],a=-1,s=-1;for(let l=0;l<this.value.length;l++){let c=this.value[l],d=this.from[l]+e,u=this.to[l]+e,p,m;if(d==u){let h=i.mapPos(d,c.startSide,c.mapMode);if(h==null||(p=m=h,c.startSide!=c.endSide&&(m=i.mapPos(d,c.endSide),m<p)))continue}else if(p=i.mapPos(d,c.startSide),m=i.mapPos(u,c.endSide),p>m||p==m&&c.startSide>0&&c.endSide<=0)continue;(m-p||c.endSide-c.startSide)<0||(a<0&&(a=p),c.point&&(s=Math.max(s,m-p)),o.push(c),r.push(p-a),n.push(m-a))}return{mapped:o.length?new t(r,n,o,s):null,pos:a}}},x0=class t{constructor(e,i,o,r){this.chunkPos=e,this.chunk=i,this.nextLayer=o,this.maxPoint=r}static create(e,i,o,r){return new t(e,i,o,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let i of this.chunk)e+=i.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:i=[],sort:o=!1,filterFrom:r=0,filterTo:n=this.length}=e,a=e.filter;if(i.length==0&&!a)return this;if(o&&(i=i.slice().sort(V_t)),this.isEmpty)return i.length?t.of(i):this;let s=new tit(this,null,-1).goto(0),l=0,c=[],d=new nk;for(;s.value||l<i.length;)if(l<i.length&&(s.from-i[l].from||s.startSide-i[l].value.startSide)>=0){let u=i[l++];d.addInner(u.from,u.to,u.value)||c.push(u)}else s.rangeIndex==1&&s.chunkIndex<this.chunk.length&&(l==i.length||this.chunkEnd(s.chunkIndex)<i[l].from)&&(!a||r>this.chunkEnd(s.chunkIndex)||n<this.chunkPos[s.chunkIndex])&&d.addChunk(this.chunkPos[s.chunkIndex],this.chunk[s.chunkIndex])?s.nextChunk():((!a||r>s.to||n<s.from||a(s.from,s.to,s.value))&&(d.addInner(s.from,s.to,s.value)||c.push(KIe.create(s.from,s.to,s.value))),s.next());return d.finishInner(this.nextLayer.isEmpty&&!c.length?t.empty:this.nextLayer.update({add:c,filter:a,filterFrom:r,filterTo:n}))}map(e){if(e.empty||this.isEmpty)return this;let i=[],o=[],r=-1;for(let a=0;a<this.chunk.length;a++){let s=this.chunkPos[a],l=this.chunk[a],c=e.touchesRange(s,s+l.length);if(c===!1)r=Math.max(r,l.maxPoint),i.push(l),o.push(e.mapPos(s));else if(c===!0){let{mapped:d,pos:u}=l.map(s,e);d&&(r=Math.max(r,d.maxPoint),i.push(d),o.push(u))}}let n=this.nextLayer.map(e);return i.length==0?n:new t(o,i,n||t.empty,r)}between(e,i,o){if(!this.isEmpty){for(let r=0;r<this.chunk.length;r++){let n=this.chunkPos[r],a=this.chunk[r];if(i>=n&&e<=n+a.length&&a.between(n,e-n,i-n,o)===!1)return}this.nextLayer.between(e,i,o)}}iter(e=0){return ZIe.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,i=0){return ZIe.from(e).goto(i)}static compare(e,i,o,r,n=-1){let a=e.filter(u=>u.maxPoint>0||!u.isEmpty&&u.maxPoint>=n),s=i.filter(u=>u.maxPoint>0||!u.isEmpty&&u.maxPoint>=n),l=Yho(a,s,o),c=new Ise(a,l,n),d=new Ise(s,l,n);o.iterGaps((u,p,m)=>Who(c,u,d,p,m,r)),o.empty&&o.length==0&&Who(c,0,d,0,0,r)}static eq(e,i,o=0,r){r==null&&(r=999999999);let n=e.filter(d=>!d.isEmpty&&i.indexOf(d)<0),a=i.filter(d=>!d.isEmpty&&e.indexOf(d)<0);if(n.length!=a.length)return!1;if(!n.length)return!0;let s=Yho(n,a),l=new Ise(n,s,0).goto(o),c=new Ise(a,s,0).goto(o);for(;;){if(l.to!=c.to||!G_t(l.active,c.active)||l.point&&(!c.point||!l.point.eq(c.point)))return!1;if(l.to>r)return!0;l.next(),c.next()}}static spans(e,i,o,r,n=-1){let a=new Ise(e,null,n).goto(i),s=i,l=a.openStart;for(;;){let c=Math.min(a.to,o);if(a.point){let d=a.activeForPoint(a.to),u=a.pointFrom<i?d.length+1:a.point.startSide<0?d.length:Math.min(d.length,l);r.point(s,c,a.point,d,u,a.pointRank),l=Math.min(a.openEnd(c),d.length)}else c>s&&(r.span(s,c,a.active,l),l=a.openEnd(c));if(a.to>o)return l+(a.point&&a.to>o?1:0);s=a.to,a.next()}}static of(e,i=!1){let o=new nk;for(let r of e instanceof KIe?[e]:i?CUr(e):e)o.add(r.from,r.to,r.value);return o.finish()}static join(e){if(!e.length)return t.empty;let i=e[e.length-1];for(let o=e.length-2;o>=0;o--)for(let r=e[o];r!=t.empty;r=r.nextLayer)i=new t(r.chunkPos,r.chunk,i,Math.max(r.maxPoint,i.maxPoint));return i}};x0.empty=new x0([],[],null,-1);function CUr(t){if(t.length>1)for(let e=t[0],i=1;i<t.length;i++){let o=t[i];if(V_t(e,o)>0)return t.slice().sort(V_t);e=o}return t}x0.empty.nextLayer=x0.empty;var nk=class t{finishChunk(e){this.chunks.push(new H_t(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,i,o){this.addInner(e,i,o)||(this.nextLayer||(this.nextLayer=new t)).add(e,i,o)}addInner(e,i,o){let r=e-this.lastTo||o.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||o.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(i-this.chunkStart),this.last=o,this.lastFrom=e,this.lastTo=i,this.value.push(o),o.point&&(this.maxPoint=Math.max(this.maxPoint,i-e)),!0)}addChunk(e,i){if((e-this.lastTo||i.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,i.maxPoint),this.chunks.push(i),this.chunkPos.push(e);let o=i.value.length-1;return this.last=i.value[o],this.lastFrom=i.from[o]+e,this.lastTo=i.to[o]+e,!0}finish(){return this.finishInner(x0.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let i=x0.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,i}};function Yho(t,e,i){let o=new Map;for(let n of t)for(let a=0;a<n.chunk.length;a++)n.chunk[a].maxPoint<=0&&o.set(n.chunk[a],n.chunkPos[a]);let r=new Set;for(let n of e)for(let a=0;a<n.chunk.length;a++){let s=o.get(n.chunk[a]);s!=null&&(i?i.mapPos(s):s)==n.chunkPos[a]&&!(i!=null&&i.touchesRange(s,s+n.chunk[a].length))&&r.add(n.chunk[a])}return r}var tit=class{constructor(e,i,o,r=0){this.layer=e,this.skip=i,this.minPoint=o,this.rank=r}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,i=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,i,!1),this}gotoInner(e,i,o){for(;this.chunkIndex<this.layer.chunk.length;){let r=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(r)||this.layer.chunkEnd(this.chunkIndex)<e||r.maxPoint<this.minPoint))break;this.chunkIndex++,o=!1}if(this.chunkIndex<this.layer.chunk.length){let r=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],i,!0);(!o||this.rangeIndex<r)&&this.setRangeIndex(r)}this.next()}forward(e,i){(this.to-e||this.endSide-i)<0&&this.gotoInner(e,i,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],i=this.layer.chunk[this.chunkIndex],o=e+i.from[this.rangeIndex];if(this.from=o,this.to=e+i.to[this.rangeIndex],this.value=i.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}},ZIe=class t{constructor(e){this.heap=e}static from(e,i=null,o=-1){let r=[];for(let n=0;n<e.length;n++)for(let a=e[n];!a.isEmpty;a=a.nextLayer)a.maxPoint>=o&&r.push(new tit(a,i,o,n));return r.length==1?r[0]:new t(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,i=-1e9){for(let o of this.heap)o.goto(e,i);for(let o=this.heap.length>>1;o>=0;o--)N_t(this.heap,o);return this.next(),this}forward(e,i){for(let o of this.heap)o.forward(e,i);for(let o=this.heap.length>>1;o>=0;o--)N_t(this.heap,o);(this.to-e||this.value.endSide-i)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),N_t(this.heap,0)}}};function N_t(t,e){for(let i=t[e];;){let o=(e<<1)+1;if(o>=t.length)break;let r=t[o];if(o+1<t.length&&r.compare(t[o+1])>=0&&(r=t[o+1],o++),i.compare(r)<0)break;t[o]=i,t[e]=r,e=o}}var Ise=class{constructor(e,i,o){this.minPoint=o,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=ZIe.from(e,i,o)}goto(e,i=-1e9){return this.cursor.goto(e,i),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=i,this.openStart=-1,this.next(),this}forward(e,i){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-i)<0;)this.removeActive(this.minActive);this.cursor.forward(e,i)}removeActive(e){Wtt(this.active,e),Wtt(this.activeTo,e),Wtt(this.activeRank,e),this.minActive=Qho(this.active,this.activeTo)}addActive(e){let i=0,{value:o,to:r,rank:n}=this.cursor;for(;i<this.activeRank.length&&(n-this.activeRank[i]||r-this.activeTo[i])>0;)i++;Qtt(this.active,i,o),Qtt(this.activeTo,i,r),Qtt(this.activeRank,i,n),e&&Qtt(e,i,this.cursor.from),this.minActive=Qho(this.active,this.activeTo)}next(){let e=this.to,i=this.point;this.point=null;let o=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),o&&Wtt(o,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let n=this.cursor.value;if(!n.point)this.addActive(o),this.cursor.next();else if(i&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=n,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=n.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else{this.to=this.endSide=1e9;break}}if(o){this.openStart=0;for(let r=o.length-1;r>=0&&o[r]<e;r--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let i=[];for(let o=this.active.length-1;o>=0&&!(this.activeRank[o]<this.pointRank);o--)(this.activeTo[o]>e||this.activeTo[o]==e&&this.active[o].endSide>=this.point.endSide)&&i.push(this.active[o]);return i.reverse()}openEnd(e){let i=0;for(let o=this.activeTo.length-1;o>=0&&this.activeTo[o]>e;o--)i++;return i}};function Who(t,e,i,o,r,n){t.goto(e),i.goto(o);let a=o+r,s=o,l=o-e;for(;;){let c=t.to+l-i.to||t.endSide-i.endSide,d=c<0?t.to+l:i.to,u=Math.min(d,a);if(t.point||i.point?t.point&&i.point&&(t.point==i.point||t.point.eq(i.point))&&G_t(t.activeForPoint(t.to),i.activeForPoint(i.to))||n.comparePoint(s,u,t.point,i.point):u>s&&!G_t(t.active,i.active)&&n.compareRange(s,u,t.active,i.active),d>a)break;s=d,c<=0&&t.next(),c>=0&&i.next()}}function G_t(t,e){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!=e[i]&&!t[i].eq(e[i]))return!1;return!0}function Wtt(t,e){for(let i=e,o=t.length-1;i<o;i++)t[i]=t[i+1];t.pop()}function Qtt(t,e,i){for(let o=t.length-1;o>=e;o--)t[o+1]=t[o];t[e]=i}function Qho(t,e){let i=-1,o=1e9;for(let r=0;r<e.length;r++)(e[r]-o||t[r].endSide-t[i].endSide)<0&&(i=r,o=e[r]);return i}function fW(t,e,i=t.length){let o=0;for(let r=0;r<i;)t.charCodeAt(r)==9?(o+=e-o%e,r++):(o++,r=jy(t,r));return o}function iit(t,e,i,o){for(let r=0,n=0;;){if(n>=e)return r;if(r==t.length)break;n+=t.charCodeAt(r)==9?i-n%i:1,r=jy(t,r)}return o===!0?-1:t.length}var sfo=typeof Symbol>"u"?"__\u037C":Symbol.for("\u037C"),Q_t=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),lfo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{},ak=class{constructor(e,i){this.rules=[];let{finish:o}=i||{};function r(a){return/^@/.test(a)?[a]:a.split(/,\s*/)}function n(a,s,l,c){let d=[],u=/^@(\w+)\b/.exec(a[0]),p=u&&u[1]=="keyframes";if(u&&s==null)return l.push(a[0]+";");for(let m in s){let h=s[m];if(/&/.test(m))n(m.split(/,\s*/).map(f=>a.map(g=>f.replace(/&/,g))).reduce((f,g)=>f.concat(g)),h,l);else if(h&&typeof h=="object"){if(!u)throw new RangeError("The value of a property ("+m+") should be a primitive value.");n(r(m),h,d,p)}else h!=null&&d.push(m.replace(/_.*/,"").replace(/[A-Z]/g,f=>"-"+f.toLowerCase())+": "+h+";")}(d.length||p)&&l.push((o&&!u&&!c?a.map(o):a).join(", ")+" {"+d.join(" ")+"}")}for(let a in e)n(r(a),e[a],this.rules)}getRules(){return this.rules.join(`
`)}static newName(){let e=lfo[sfo]||1;return lfo[sfo]=e+1,"\u037C"+e.toString(36)}static mount(e,i,o){let r=e[Q_t],n=o&&o.nonce;r?n&&r.setNonce(n):r=new K_t(e,n),r.mount(Array.isArray(i)?i:[i],e)}},cfo=new Map,K_t=class{constructor(e,i){let o=e.ownerDocument||e,r=o.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let n=cfo.get(o);if(n)return e[Q_t]=n;this.sheet=new r.CSSStyleSheet,cfo.set(o,this)}else this.styleTag=o.createElement("style"),i&&this.styleTag.setAttribute("nonce",i);this.modules=[],e[Q_t]=this}mount(e,i){let o=this.sheet,r=0,n=0;for(let a=0;a<e.length;a++){let s=e[a],l=this.modules.indexOf(s);if(l<n&&l>-1&&(this.modules.splice(l,1),n--,l=-1),l==-1){if(this.modules.splice(n++,0,s),o)for(let c=0;c<s.rules.length;c++)o.insertRule(s.rules[c],r++)}else{for(;n<l;)r+=this.modules[n++].rules.length;r+=s.rules.length,n++}}if(o)i.adoptedStyleSheets.indexOf(this.sheet)<0&&(i.adoptedStyleSheets=[this.sheet,...i.adoptedStyleSheets]);else{let a="";for(let l=0;l<this.modules.length;l++)a+=this.modules[l].getRules()+`
`;this.styleTag.textContent=a;let s=i.head||i;this.styleTag.parentNode!=s&&s.insertBefore(this.styleTag,s.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}};var gW={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},N2e={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},xUr=typeof navigator<"u"&&/Mac/.test(navigator.platform),TUr=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(By=0;By<10;By++)gW[48+By]=gW[96+By]=String(By);var By;for(By=1;By<=24;By++)gW[By+111]="F"+By;var By;for(By=65;By<=90;By++)gW[By]=String.fromCharCode(By+32),N2e[By]=String.fromCharCode(By);var By;for(oit in gW)N2e.hasOwnProperty(oit)||(N2e[oit]=gW[oit]);var oit;function dfo(t){var e=xUr&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||TUr&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",i=!e&&t.key||(t.shiftKey?N2e:gW)[t.keyCode]||t.key||"Unidentified";return i=="Esc"&&(i="Escape"),i=="Del"&&(i="Delete"),i=="Left"&&(i="ArrowLeft"),i=="Up"&&(i="ArrowUp"),i=="Right"&&(i="ArrowRight"),i=="Down"&&(i="ArrowDown"),i}function dLe(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function ijt(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function SUr(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function mit(t,e){if(!e.anchorNode)return!1;try{return ijt(t,e.anchorNode)}catch{return!1}}function uLe(t){return t.nodeType==3?Ase(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function oLe(t,e,i,o){return i?ufo(t,e,i,o,-1)||ufo(t,e,i,o,1):!1}function Ese(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function wit(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}function ufo(t,e,i,o,r){for(;;){if(t==i&&e==o)return!0;if(e==(r<0?0:bW(t))){if(t.nodeName=="DIV")return!1;let n=t.parentNode;if(!n||n.nodeType!=1)return!1;e=Ese(t)+(r<0?0:1),t=n}else if(t.nodeType==1){if(t=t.childNodes[e+(r<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=r<0?bW(t):0}else return!1}}function bW(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function Gjt(t,e){let i=e?t.left:t.right;return{left:i,right:i,top:t.top,bottom:t.bottom}}function MUr(t){let e=t.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function Xfo(t,e){let i=e.width/t.offsetWidth,o=e.height/t.offsetHeight;return(i>.995&&i<1.005||!isFinite(i)||Math.abs(e.width-t.offsetWidth)<1)&&(i=1),(o>.995&&o<1.005||!isFinite(o)||Math.abs(e.height-t.offsetHeight)<1)&&(o=1),{scaleX:i,scaleY:o}}function IUr(t,e,i,o,r,n,a,s){let l=t.ownerDocument,c=l.defaultView||window;for(let d=t,u=!1;d&&!u;)if(d.nodeType==1){let p,m=d==l.body,h=1,f=1;if(m)p=MUr(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(d).position)&&(u=!0),d.scrollHeight<=d.clientHeight&&d.scrollWidth<=d.clientWidth){d=d.assignedSlot||d.parentNode;continue}let y=d.getBoundingClientRect();({scaleX:h,scaleY:f}=Xfo(d,y)),p={left:y.left,right:y.left+d.clientWidth*h,top:y.top,bottom:y.top+d.clientHeight*f}}let g=0,b=0;if(r=="nearest")e.top<p.top?(b=-(p.top-e.top+a),i>0&&e.bottom>p.bottom+b&&(b=e.bottom-p.bottom+b+a)):e.bottom>p.bottom&&(b=e.bottom-p.bottom+a,i<0&&e.top-b<p.top&&(b=-(p.top+b-e.top+a)));else{let y=e.bottom-e.top,w=p.bottom-p.top;b=(r=="center"&&y<=w?e.top+y/2-w/2:r=="start"||r=="center"&&i<0?e.top-a:e.bottom-w+a)-p.top}if(o=="nearest"?e.left<p.left?(g=-(p.left-e.left+n),i>0&&e.right>p.right+g&&(g=e.right-p.right+g+n)):e.right>p.right&&(g=e.right-p.right+n,i<0&&e.left<p.left+g&&(g=-(p.left+g-e.left+n))):g=(o=="center"?e.left+(e.right-e.left)/2-(p.right-p.left)/2:o=="start"==s?e.left-n:e.right-(p.right-p.left)+n)-p.left,g||b)if(m)c.scrollBy(g,b);else{let y=0,w=0;if(b){let x=d.scrollTop;d.scrollTop+=b/f,w=(d.scrollTop-x)*f}if(g){let x=d.scrollLeft;d.scrollLeft+=g/h,y=(d.scrollLeft-x)*h}e={left:e.left-y,top:e.top-w,right:e.right-y,bottom:e.bottom-w},y&&Math.abs(y-g)<1&&(o="nearest"),w&&Math.abs(w-b)<1&&(r="nearest")}if(m)break;d=d.assignedSlot||d.parentNode}else if(d.nodeType==11)d=d.host;else break}function LUr(t){let e=t.ownerDocument;for(let i=t.parentNode;i&&i!=e.body;)if(i.nodeType==1){if(i.scrollHeight>i.clientHeight||i.scrollWidth>i.clientWidth)return i;i=i.assignedSlot||i.parentNode}else if(i.nodeType==11)i=i.host;else break;return null}var ojt=class{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:i,focusNode:o}=e;this.set(i,Math.min(e.anchorOffset,i?bW(i):0),o,Math.min(e.focusOffset,o?bW(o):0))}set(e,i,o,r){this.anchorNode=e,this.anchorOffset=i,this.focusNode=o,this.focusOffset=r}},k2e=null;function $fo(t){if(t.setActive)return t.setActive();if(k2e)return t.focus(k2e);let e=[];for(let i=t;i&&(e.push(i,i.scrollTop,i.scrollLeft),i!=i.ownerDocument);i=i.parentNode);if(t.focus(k2e==null?{get preventScroll(){return k2e={preventScroll:!0},!0}}:void 0),!k2e){k2e=!1;for(let i=0;i<e.length;){let o=e[i++],r=e[i++],n=e[i++];o.scrollTop!=r&&(o.scrollTop=r),o.scrollLeft!=n&&(o.scrollLeft=n)}}}var pfo;function Ase(t,e,i=e){let o=pfo||(pfo=document.createRange());return o.setEnd(t,i),o.setStart(t,e),o}function _2e(t,e,i,o){let r={key:e,code:e,keyCode:i,which:i,cancelable:!0};o&&({altKey:r.altKey,ctrlKey:r.ctrlKey,shiftKey:r.shiftKey,metaKey:r.metaKey}=o);let n=new KeyboardEvent("keydown",r);n.synthetic=!0,t.dispatchEvent(n);let a=new KeyboardEvent("keyup",r);return a.synthetic=!0,t.dispatchEvent(a),n.defaultPrevented||a.defaultPrevented}function vUr(t){for(;t;){if(t&&(t.nodeType==9||t.nodeType==11&&t.host))return t;t=t.assignedSlot||t.parentNode}return null}function ego(t){for(;t.attributes.length;)t.removeAttributeNode(t.attributes[0])}function DUr(t,e){let i=e.focusNode,o=e.focusOffset;if(!i||e.anchorNode!=i||e.anchorOffset!=o)return!1;for(o=Math.min(o,bW(i));;)if(o){if(i.nodeType!=1)return!1;let r=i.childNodes[o-1];r.contentEditable=="false"?o--:(i=r,o=bW(i))}else{if(i==t)return!0;o=Ese(i),i=i.parentNode}}function tgo(t){return t.scrollTop>Math.max(1,t.scrollHeight-t.clientHeight-4)}function igo(t,e){for(let i=t,o=e;;){if(i.nodeType==3&&o>0)return{node:i,offset:o};if(i.nodeType==1&&o>0){if(i.contentEditable=="false")return null;i=i.childNodes[o-1],o=bW(i)}else if(i.parentNode&&!wit(i))o=Ese(i),i=i.parentNode;else return null}}function ogo(t,e){for(let i=t,o=e;;){if(i.nodeType==3&&o<i.nodeValue.length)return{node:i,offset:o};if(i.nodeType==1&&o<i.childNodes.length){if(i.contentEditable=="false")return null;i=i.childNodes[o],o=0}else if(i.parentNode&&!wit(i))o=Ese(i)+1,i=i.parentNode;else return null}}var ZM=class t{constructor(e,i,o=!0){this.node=e,this.offset=i,this.precise=o}static before(e,i){return new t(e.parentNode,Ese(e),i)}static after(e,i){return new t(e.parentNode,Ese(e)+1,i)}},Yjt=[],z1=class t{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let i=this.posAtStart;for(let o of this.children){if(o==e)return i;i+=o.length+o.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,i){if(this.flags&2){let o=this.dom,r=null,n;for(let a of this.children){if(a.flags&7){if(!a.dom&&(n=r?r.nextSibling:o.firstChild)){let s=t.get(n);(!s||!s.parent&&s.canReuseDOM(a))&&a.reuseDOM(n)}a.sync(e,i),a.flags&=-8}if(n=r?r.nextSibling:o.firstChild,i&&!i.written&&i.node==o&&n!=a.dom&&(i.written=!0),a.dom.parentNode==o)for(;n&&n!=a.dom;)n=mfo(n);else o.insertBefore(a.dom,n);r=a.dom}for(n=r?r.nextSibling:o.firstChild,n&&i&&i.node==o&&(i.written=!0);n;)n=mfo(n)}else if(this.flags&1)for(let o of this.children)o.flags&7&&(o.sync(e,i),o.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,i){let o;if(e==this.dom)o=this.dom.childNodes[i];else{let r=bW(e)==0?0:i==0?-1:1;for(;;){let n=e.parentNode;if(n==this.dom)break;r==0&&n.firstChild!=n.lastChild&&(e==n.firstChild?r=-1:r=1),e=n}r<0?o=e:o=e.nextSibling}if(o==this.dom.firstChild)return 0;for(;o&&!t.get(o);)o=o.nextSibling;if(!o)return this.length;for(let r=0,n=0;;r++){let a=this.children[r];if(a.dom==o)return n;n+=a.length+a.breakAfter}}domBoundsAround(e,i,o=0){let r=-1,n=-1,a=-1,s=-1;for(let l=0,c=o,d=o;l<this.children.length;l++){let u=this.children[l],p=c+u.length;if(c<e&&p>i)return u.domBoundsAround(e,i,c);if(p>=e&&r==-1&&(r=l,n=c),c>i&&u.dom.parentNode==this.dom){a=l,s=d;break}d=p,c=p+u.breakAfter}return{from:n,to:s<0?o+this.length:s,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:a<this.children.length&&a>=0?this.children[a].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let i=this.parent;i;i=i.parent){if(e&&(i.flags|=2),i.flags&1)return;i.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let i=e.parent;if(!i)return e;e=i}}replaceChildren(e,i,o=Yjt){this.markDirty();for(let r=e;r<i;r++){let n=this.children[r];n.parent==this&&o.indexOf(n)<0&&n.destroy()}this.children.splice(e,i-e,...o);for(let r=0;r<o.length;r++)o[r].setParent(this)}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){return new Cit(this.children,e,this.children.length)}childPos(e,i=1){return this.childCursor().findPos(e,i)}toString(){let e=this.constructor.name.replace("View","");return e+(this.children.length?"("+this.children.join()+")":this.length?"["+(e=="Text"?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}static get(e){return e.cmView}get isEditable(){return!0}get isWidget(){return!1}get isHidden(){return!1}merge(e,i,o,r,n,a){return!1}become(e){return!1}canReuseDOM(e){return e.constructor==this.constructor&&!((this.flags|e.flags)&8)}getSide(){return 0}destroy(){for(let e of this.children)e.parent==this&&e.destroy();this.parent=null}};z1.prototype.breakAfter=0;function mfo(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}var Cit=class{constructor(e,i,o){this.children=e,this.pos=i,this.i=o,this.off=0}findPos(e,i=1){for(;;){if(e>this.pos||e==this.pos&&(i>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let o=this.children[--this.i];this.pos-=o.length+o.breakAfter}}};function rgo(t,e,i,o,r,n,a,s,l){let{children:c}=t,d=c.length?c[e]:null,u=n.length?n[n.length-1]:null,p=u?u.breakAfter:a;if(!(e==o&&d&&!a&&!p&&n.length<2&&d.merge(i,r,n.length?u:null,i==0,s,l))){if(o<c.length){let m=c[o];m&&(r<m.length||m.breakAfter&&(u!=null&&u.breakAfter))?(e==o&&(m=m.split(r),r=0),!p&&u&&m.merge(0,r,u,!0,0,l)?n[n.length-1]=m:((r||m.children.length&&!m.children[0].length)&&m.merge(0,r,null,!1,0,l),n.push(m))):m!=null&&m.breakAfter&&(u?u.breakAfter=1:a=1),o++}for(d&&(d.breakAfter=a,i>0&&(!a&&n.length&&d.merge(i,d.length,n[0],!1,s,0)?d.breakAfter=n.shift().breakAfter:(i<d.length||d.children.length&&d.children[d.children.length-1].length==0)&&d.merge(i,d.length,null,!1,s,0),e++));e<o&&n.length;)if(c[o-1].become(n[n.length-1]))o--,n.pop(),l=n.length?0:s;else if(c[e].become(n[0]))e++,n.shift(),s=n.length?0:l;else break;!n.length&&e&&o<c.length&&!c[e-1].breakAfter&&c[o].merge(0,0,c[e-1],!1,s,l)&&e--,(e<o||n.length)&&t.replaceChildren(e,o,n)}}function ngo(t,e,i,o,r,n){let a=t.childCursor(),{i:s,off:l}=a.findPos(i,1),{i:c,off:d}=a.findPos(e,-1),u=e-i;for(let p of o)u+=p.length;t.length+=u,rgo(t,c,d,s,l,o,0,r,n)}var pL=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},rjt=typeof document<"u"?document:{documentElement:{style:{}}},njt=/Edge\/(\d+)/.exec(pL.userAgent),ago=/MSIE \d/.test(pL.userAgent),ajt=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(pL.userAgent),Pit=!!(ago||ajt||njt),hfo=!Pit&&/gecko\/(\d+)/i.test(pL.userAgent),Z_t=!Pit&&/Chrome\/(\d+)/.exec(pL.userAgent),ffo="webkitFontSmoothing"in rjt.documentElement.style,sgo=!Pit&&/Apple Computer/.test(pL.vendor),gfo=sgo&&(/Mobile\/\w+/.test(pL.userAgent)||pL.maxTouchPoints>2),oa={mac:gfo||/Mac/.test(pL.platform),windows:/Win/.test(pL.platform),linux:/Linux|X11/.test(pL.platform),ie:Pit,ie_version:ago?rjt.documentMode||6:ajt?+ajt[1]:njt?+njt[1]:0,gecko:hfo,gecko_version:hfo?+(/Firefox\/(\d+)/.exec(pL.userAgent)||[0,0])[1]:0,chrome:!!Z_t,chrome_version:Z_t?+Z_t[1]:0,ios:gfo,android:/Android\b/.test(pL.userAgent),webkit:ffo,safari:sgo,webkit_version:ffo?+(/\bAppleWebKit\/(\d+)/.exec(pL.userAgent)||[0,0])[1]:0,tabSize:rjt.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"},EUr=256,Wz=class t extends z1{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,i){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(i&&i.node==this.dom&&(i.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,i,o){return this.flags&8||o&&(!(o instanceof t)||this.length-(i-e)+o.length>EUr||o.flags&8)?!1:(this.text=this.text.slice(0,e)+(o?o.text:"")+this.text.slice(i),this.markDirty(),!0)}split(e){let i=new t(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),i.flags|=this.flags&8,i}localPosFromDOM(e,i){return e==this.dom?i:i?this.text.length:0}domAtPos(e){return new ZM(this.dom,e)}domBoundsAround(e,i,o){return{from:o,to:o+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,i){return AUr(this.dom,e,i)}},H$=class t extends z1{constructor(e,i=[],o=0){super(),this.mark=e,this.children=i,this.length=o;for(let r of i)r.setParent(this)}setAttrs(e){if(ego(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let i in this.mark.attrs)e.setAttribute(i,this.mark.attrs[i]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,i){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,i)}merge(e,i,o,r,n,a){return o&&(!(o instanceof t&&o.mark.eq(this.mark))||e&&n<=0||i<this.length&&a<=0)?!1:(ngo(this,e,i,o?o.children.slice():[],n-1,a-1),this.markDirty(),!0)}split(e){let i=[],o=0,r=-1,n=0;for(let s of this.children){let l=o+s.length;l>e&&i.push(o<e?s.split(e-o):s),r<0&&o>=e&&(r=n),o=l,n++}let a=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new t(this.mark,i,a)}domAtPos(e){return lgo(this,e)}coordsAt(e,i){return dgo(this,e,i)}};function AUr(t,e,i){let o=t.nodeValue.length;e>o&&(e=o);let r=e,n=e,a=0;e==0&&i<0||e==o&&i>=0?oa.chrome||oa.gecko||(e?(r--,a=1):n<o&&(n++,a=-1)):i<0?r--:n<o&&n++;let s=Ase(t,r,n).getClientRects();if(!s.length)return null;let l=s[(a?a<0:i>=0)?0:s.length-1];return oa.safari&&!a&&l.width==0&&(l=Array.prototype.find.call(s,c=>c.width)||l),a?Gjt(l,a<0):l||null}var pLe=class t extends z1{static create(e,i,o){return new t(e,i,o)}constructor(e,i,o){super(),this.widget=e,this.length=i,this.side=o,this.prevWidget=null}split(e){let i=t.create(this.widget,this.length-e,this.side);return this.length-=e,i}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,i,o,r,n,a){return o&&(!(o instanceof t)||!this.widget.compare(o.widget)||e>0&&n<=0||i<this.length&&a<=0)?!1:(this.length=e+(o?o.length:0)+(this.length-i),!0)}become(e){return e instanceof t&&e.side==this.side&&this.widget.constructor==e.widget.constructor?(this.widget.compare(e.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get overrideDOMText(){if(this.length==0)return $d.empty;let e=this;for(;e.parent;)e=e.parent;let{view:i}=e,o=i&&i.state.doc,r=this.posAtStart;return o?o.slice(r,r+this.length):$d.empty}domAtPos(e){return(this.length?e==0:this.side>0)?ZM.before(this.dom):ZM.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,i){let o=this.widget.coordsAt(this.dom,e,i);if(o)return o;let r=this.dom.getClientRects(),n=null;if(!r.length)return null;let a=this.side?this.side<0:e>0;for(let s=a?r.length-1:0;n=r[s],!(e>0?s==0:s==r.length-1||n.top<n.bottom);s+=a?-1:1);return Gjt(n,!a)}get isEditable(){return!1}get isWidget(){return!0}get isHidden(){return this.widget.isHidden}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}},mLe=class t extends z1{constructor(e){super(),this.side=e}get length(){return 0}merge(){return!1}become(e){return e instanceof t&&e.side==this.side}split(){return new t(this.side)}sync(){if(!this.dom){let e=document.createElement("img");e.className="cm-widgetBuffer",e.setAttribute("aria-hidden","true"),this.setDOM(e)}}getSide(){return this.side}domAtPos(e){return this.side>0?ZM.before(this.dom):ZM.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return $d.empty}get isHidden(){return!0}};Wz.prototype.children=pLe.prototype.children=mLe.prototype.children=Yjt;function lgo(t,e){let i=t.dom,{children:o}=t,r=0;for(let n=0;r<o.length;r++){let a=o[r],s=n+a.length;if(!(s==n&&a.getSide()<=0)){if(e>n&&e<s&&a.dom.parentNode==i)return a.domAtPos(e-n);if(e<=n)break;n=s}}for(let n=r;n>0;n--){let a=o[n-1];if(a.dom.parentNode==i)return a.domAtPos(a.length)}for(let n=r;n<o.length;n++){let a=o[n];if(a.dom.parentNode==i)return a.domAtPos(0)}return new ZM(i,0)}function cgo(t,e,i){let o,{children:r}=t;i>0&&e instanceof H$&&r.length&&(o=r[r.length-1])instanceof H$&&o.mark.eq(e.mark)?cgo(o,e.children[0],i-1):(r.push(e),e.setParent(t)),t.length+=e.length}function dgo(t,e,i){let o=null,r=-1,n=null,a=-1;function s(c,d){for(let u=0,p=0;u<c.children.length&&p<=d;u++){let m=c.children[u],h=p+m.length;h>=d&&(m.children.length?s(m,d-p):(!n||n.isHidden&&i>0)&&(h>d||p==h&&m.getSide()>0)?(n=m,a=d-p):(p<d||p==h&&m.getSide()<0&&!m.isHidden)&&(o=m,r=d-p)),p=h}}s(t,e);let l=(i<0?o:n)||o||n;return l?l.coordsAt(Math.max(0,l==o?r:a),i):NUr(t)}function NUr(t){let e=t.dom.lastChild;if(!e)return t.dom.getBoundingClientRect();let i=uLe(e);return i[i.length-1]||null}function sjt(t,e){for(let i in t)i=="class"&&e.class?e.class+=" "+t.class:i=="style"&&e.style?e.style+=";"+t.style:e[i]=t[i];return e}var bfo=Object.create(null);function Wjt(t,e,i){if(t==e)return!0;t||(t=bfo),e||(e=bfo);let o=Object.keys(t),r=Object.keys(e);if(o.length-(i&&o.indexOf(i)>-1?1:0)!=r.length-(i&&r.indexOf(i)>-1?1:0))return!1;for(let n of o)if(n!=i&&(r.indexOf(n)==-1||t[n]!==e[n]))return!1;return!0}function ljt(t,e,i){let o=!1;if(e)for(let r in e)i&&r in i||(o=!0,r=="style"?t.style.cssText="":t.removeAttribute(r));if(i)for(let r in i)e&&e[r]==i[r]||(o=!0,r=="style"?t.style.cssText=i[r]:t.setAttribute(r,i[r]));return o}function kUr(t){let e=Object.create(null);for(let i=0;i<t.attributes.length;i++){let o=t.attributes[i];e[o.name]=o.value}return e}var fx=class t extends z1{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,i,o,r,n,a){if(o){if(!(o instanceof t))return!1;this.dom||o.transferDOM(this)}return r&&this.setDeco(o?o.attrs:null),ngo(this,e,i,o?o.children.slice():[],n,a),!0}split(e){let i=new t;if(i.breakAfter=this.breakAfter,this.length==0)return i;let{i:o,off:r}=this.childPos(e);r&&(i.append(this.children[o].split(r),0),this.children[o].merge(r,this.children[o].length,null,!1,0,0),o++);for(let n=o;n<this.children.length;n++)i.append(this.children[n],0);for(;o>0&&this.children[o-1].length==0;)this.children[--o].destroy();return this.children.length=o,this.markDirty(),this.length=e,i}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){Wjt(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,i){cgo(this,e,i)}addLineDeco(e){let i=e.spec.attributes,o=e.spec.class;i&&(this.attrs=sjt(i,this.attrs||{})),o&&(this.attrs=sjt({class:o},this.attrs||{}))}domAtPos(e){return lgo(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,i){var o;this.dom?this.flags&4&&(ego(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(ljt(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,i);let r=this.dom.lastChild;for(;r&&z1.get(r)instanceof H$;)r=r.lastChild;if(!r||!this.length||r.nodeName!="BR"&&((o=z1.get(r))===null||o===void 0?void 0:o.isEditable)==!1&&(!oa.ios||!this.children.some(n=>n instanceof Wz))){let n=document.createElement("BR");n.cmIgnore=!0,this.dom.appendChild(n)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,i;for(let o of this.children){if(!(o instanceof Wz)||/[^ -~]/.test(o.text))return null;let r=uLe(o.dom);if(r.length!=1)return null;e+=r[0].width,i=r[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:i}:null}coordsAt(e,i){let o=dgo(this,e,i);if(!this.children.length&&o&&this.parent){let{heightOracle:r}=this.parent.view.viewState,n=o.bottom-o.top;if(Math.abs(n-r.lineHeight)<2&&r.textHeight<n){let a=(n-r.textHeight)/2;return{top:o.top+a,bottom:o.bottom-a,left:o.left,right:o.left}}}return o}become(e){return!1}covers(){return!0}static find(e,i){for(let o=0,r=0;o<e.children.length;o++){let n=e.children[o],a=r+n.length;if(a>=i){if(n instanceof t)return n;if(a>i)break}r=a+n.breakAfter}return null}},Dse=class t extends z1{constructor(e,i,o){super(),this.widget=e,this.length=i,this.deco=o,this.breakAfter=0,this.prevWidget=null}merge(e,i,o,r,n,a){return o&&(!(o instanceof t)||!this.widget.compare(o.widget)||e>0&&n<=0||i<this.length&&a<=0)?!1:(this.length=e+(o?o.length:0)+(this.length-i),!0)}domAtPos(e){return e==0?ZM.before(this.dom):ZM.after(this.dom,e==this.length)}split(e){let i=this.length-e;this.length=e;let o=new t(this.widget,i,this.deco);return o.breakAfter=this.breakAfter,o}get children(){return Yjt}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}get overrideDOMText(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):$d.empty}domBoundsAround(){return null}become(e){return e instanceof t&&e.widget.constructor==this.widget.constructor?(e.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,this.deco=e.deco,this.breakAfter=e.breakAfter,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(e,i){return this.widget.coordsAt(this.dom,e,i)}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(e){let{startSide:i,endSide:o}=this.deco;return i==o?!1:e<0?i<0:o>0}},mL=class{eq(e){return!1}updateDOM(e,i){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,i,o){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}},JM=(function(t){return t[t.Text=0]="Text",t[t.WidgetBefore=1]="WidgetBefore",t[t.WidgetAfter=2]="WidgetAfter",t[t.WidgetRange=3]="WidgetRange",t})(JM||(JM={})),ra=class extends HO{constructor(e,i,o,r){super(),this.startSide=e,this.endSide=i,this.widget=o,this.spec=r}get heightRelevant(){return!1}static mark(e){return new hLe(e)}static widget(e){let i=Math.max(-1e4,Math.min(1e4,e.side||0)),o=!!e.block;return i+=o&&!e.inlineOrder?i>0?3e8:-4e8:i>0?1e8:-1e8,new G$(e,i,i,o,e.widget||null,!1)}static replace(e){let i=!!e.block,o,r;if(e.isBlockGap)o=-5e8,r=4e8;else{let{start:n,end:a}=ugo(e,i);o=(n?i?-3e8:-1:5e8)-1,r=(a?i?2e8:1:-6e8)+1}return new G$(e,o,r,i,e.widget||null,!0)}static line(e){return new fLe(e)}static set(e,i=!1){return x0.of(e,i)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}};ra.none=x0.empty;var hLe=class t extends ra{constructor(e){let{start:i,end:o}=ugo(e);super(i?-1:5e8,o?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var i,o;return this==e||e instanceof t&&this.tagName==e.tagName&&(this.class||((i=this.attrs)===null||i===void 0?void 0:i.class))==(e.class||((o=e.attrs)===null||o===void 0?void 0:o.class))&&Wjt(this.attrs,e.attrs,"class")}range(e,i=e){if(e>=i)throw new RangeError("Mark decorations may not be empty");return super.range(e,i)}};hLe.prototype.point=!1;var fLe=class t extends ra{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof t&&this.spec.class==e.spec.class&&Wjt(this.spec.attributes,e.spec.attributes)}range(e,i=e){if(i!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,i)}};fLe.prototype.mapMode=V4.TrackBefore;fLe.prototype.point=!0;var G$=class t extends ra{constructor(e,i,o,r,n,a){super(i,o,n,e),this.block=r,this.isReplace=a,this.mapMode=r?i<=0?V4.TrackBefore:V4.TrackAfter:V4.TrackDel}get type(){return this.startSide!=this.endSide?JM.WidgetRange:this.startSide<=0?JM.WidgetBefore:JM.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof t&&PUr(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,i=e){if(this.isReplace&&(e>i||e==i&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&i!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,i)}};G$.prototype.point=!0;function ugo(t,e=!1){let{inclusiveStart:i,inclusiveEnd:o}=t;return i==null&&(i=t.inclusive),o==null&&(o=t.inclusive),{start:i!=null?i:e,end:o!=null?o:e}}function PUr(t,e){return t==e||!!(t&&e&&t.compare(e))}function cjt(t,e,i,o=0){let r=i.length-1;r>=0&&i[r]+o>=t?i[r]=Math.max(i[r],e):i.push(t,e)}var rLe=class t{constructor(e,i,o,r){this.doc=e,this.pos=i,this.end=o,this.disallowBlockEffectsFor=r,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=i}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof Dse&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new fx),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(rit(new mLe(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(e&&this.content.length&&this.content[this.content.length-1]instanceof Dse)&&this.getLine()}buildText(e,i,o){for(;e>0;){if(this.textOff==this.text.length){let{value:n,lineBreak:a,done:s}=this.cursor.next(this.skip);if(this.skip=0,s)throw new Error("Ran out of text content when drawing inline views");if(a){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=n,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(i.slice(i.length-o)),this.getLine().append(rit(new Wz(this.text.slice(this.textOff,this.textOff+r)),i),o),this.atCursorPos=!0,this.textOff+=r,e-=r,o=0}}span(e,i,o,r){this.buildText(i-e,o,r),this.pos=i,this.openStart<0&&(this.openStart=r)}point(e,i,o,r,n,a){if(this.disallowBlockEffectsFor[a]&&o instanceof G$){if(o.block)throw new RangeError("Block decorations may not be specified via plugins");if(i>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let s=i-e;if(o instanceof G$)if(o.block)o.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Dse(o.widget||Y$.block,s,o));else{let l=pLe.create(o.widget||Y$.inline,s,s?0:o.startSide),c=this.atCursorPos&&!l.isEditable&&n<=r.length&&(e<i||o.startSide>0),d=!l.isEditable&&(e<i||n>r.length||o.startSide<=0),u=this.getLine();this.pendingBuffer==2&&!c&&!l.isEditable&&(this.pendingBuffer=0),this.flushBuffer(r),c&&(u.append(rit(new mLe(1),r),n),n=r.length+Math.max(0,n-r.length)),u.append(rit(l,r),n),this.atCursorPos=d,this.pendingBuffer=d?e<i||n>r.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=r.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(o);s&&(this.textOff+s<=this.text.length?this.textOff+=s:(this.skip+=s-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=i),this.openStart<0&&(this.openStart=n)}static build(e,i,o,r,n){let a=new t(e,i,o,n);return a.openEnd=x0.spans(r,i,o,a),a.openStart<0&&(a.openStart=a.openEnd),a.finish(a.openEnd),a}};function rit(t,e){for(let i of e)t=new H$(i,[t],t.length);return t}var Y$=class extends mL{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}};Y$.inline=new Y$("span");Y$.block=new Y$("div");var wp=(function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t})(wp||(wp={})),Nse=wp.LTR,Qjt=wp.RTL;function pgo(t){let e=[];for(let i=0;i<t.length;i++)e.push(1<<+t[i]);return e}var OUr=pgo("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),RUr=pgo("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),djt=Object.create(null),Vz=[];for(let t of["()","[]","{}"]){let e=t.charCodeAt(0),i=t.charCodeAt(1);djt[e]=i,djt[i]=-e}function mgo(t){return t<=247?OUr[t]:1424<=t&&t<=1524?2:1536<=t&&t<=1785?RUr[t-1536]:1774<=t&&t<=2220?4:8192<=t&&t<=8204?256:64336<=t&&t<=65023?4:1}var _Ur=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/,Gz=class{get dir(){return this.level%2?Qjt:Nse}constructor(e,i,o){this.from=e,this.to=i,this.level=o}side(e,i){return this.dir==i==e?this.to:this.from}forward(e,i){return e==(this.dir==i)}static find(e,i,o,r){let n=-1;for(let a=0;a<e.length;a++){let s=e[a];if(s.from<=i&&s.to>=i){if(s.level==o)return a;(n<0||(r!=0?r<0?s.from<i:s.to>i:e[n].level>s.level))&&(n=a)}}if(n<0)throw new RangeError("Index out of range");return n}};function hgo(t,e){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++){let o=t[i],r=e[i];if(o.from!=r.from||o.to!=r.to||o.direction!=r.direction||!hgo(o.inner,r.inner))return!1}return!0}var $m=[];function jUr(t,e,i,o,r){for(let n=0;n<=o.length;n++){let a=n?o[n-1].to:e,s=n<o.length?o[n].from:i,l=n?256:r;for(let c=a,d=l,u=l;c<s;c++){let p=mgo(t.charCodeAt(c));p==512?p=d:p==8&&u==4&&(p=16),$m[c]=p==4?2:p,p&7&&(u=p),d=p}for(let c=a,d=l,u=l;c<s;c++){let p=$m[c];if(p==128)c<s-1&&d==$m[c+1]&&d&24?p=$m[c]=d:$m[c]=256;else if(p==64){let m=c+1;for(;m<s&&$m[m]==64;)m++;let h=c&&d==8||m<i&&$m[m]==8?u==1?1:8:256;for(let f=c;f<m;f++)$m[f]=h;c=m-1}else p==8&&u==1&&($m[c]=1);d=p,p&7&&(u=p)}}}function BUr(t,e,i,o,r){let n=r==1?2:1;for(let a=0,s=0,l=0;a<=o.length;a++){let c=a?o[a-1].to:e,d=a<o.length?o[a].from:i;for(let u=c,p,m,h;u<d;u++)if(m=djt[p=t.charCodeAt(u)])if(m<0){for(let f=s-3;f>=0;f-=3)if(Vz[f+1]==-m){let g=Vz[f+2],b=g&2?r:g&4?g&1?n:r:0;b&&($m[u]=$m[Vz[f]]=b),s=f;break}}else{if(Vz.length==189)break;Vz[s++]=u,Vz[s++]=p,Vz[s++]=l}else if((h=$m[u])==2||h==1){let f=h==r;l=f?0:1;for(let g=s-3;g>=0;g-=3){let b=Vz[g+2];if(b&2)break;if(f)Vz[g+2]|=2;else{if(b&4)break;Vz[g+2]|=4}}}}}function zUr(t,e,i,o){for(let r=0,n=o;r<=i.length;r++){let a=r?i[r-1].to:t,s=r<i.length?i[r].from:e;for(let l=a;l<s;){let c=$m[l];if(c==256){let d=l+1;for(;;)if(d==s){if(r==i.length)break;d=i[r++].to,s=r<i.length?i[r].from:e}else if($m[d]==256)d++;else break;let u=n==1,p=(d<e?$m[d]:o)==1,m=u==p?u?1:2:o;for(let h=d,f=r,g=f?i[f-1].to:t;h>l;)h==g&&(h=i[--f].from,g=f?i[f-1].to:t),$m[--h]=m;l=d}else n=c,l++}}}function ujt(t,e,i,o,r,n,a){let s=o%2?2:1;if(o%2==r%2)for(let l=e,c=0;l<i;){let d=!0,u=!1;if(c==n.length||l<n[c].from){let f=$m[l];f!=s&&(d=!1,u=f==16)}let p=!d&&s==1?[]:null,m=d?o:o+1,h=l;e:for(;;)if(c<n.length&&h==n[c].from){if(u)break e;let f=n[c];if(!d)for(let g=f.to,b=c+1;;){if(g==i)break e;if(b<n.length&&n[b].from==g)g=n[b++].to;else{if($m[g]==s)break e;break}}if(c++,p)p.push(f);else{f.from>l&&a.push(new Gz(l,f.from,m));let g=f.direction==Nse!=!(m%2);pjt(t,g?o+1:o,r,f.inner,f.from,f.to,a),l=f.to}h=f.to}else{if(h==i||(d?$m[h]!=s:$m[h]==s))break;h++}p?ujt(t,l,h,o+1,r,p,a):l<h&&a.push(new Gz(l,h,m)),l=h}else for(let l=i,c=n.length;l>e;){let d=!0,u=!1;if(!c||l>n[c-1].to){let f=$m[l-1];f!=s&&(d=!1,u=f==16)}let p=!d&&s==1?[]:null,m=d?o:o+1,h=l;e:for(;;)if(c&&h==n[c-1].to){if(u)break e;let f=n[--c];if(!d)for(let g=f.from,b=c;;){if(g==e)break e;if(b&&n[b-1].to==g)g=n[--b].from;else{if($m[g-1]==s)break e;break}}if(p)p.push(f);else{f.to<l&&a.push(new Gz(f.to,l,m));let g=f.direction==Nse!=!(m%2);pjt(t,g?o+1:o,r,f.inner,f.from,f.to,a),l=f.from}h=f.from}else{if(h==e||(d?$m[h-1]!=s:$m[h-1]==s))break;h--}p?ujt(t,h,l,o+1,r,p,a):h<l&&a.push(new Gz(h,l,m)),l=h}}function pjt(t,e,i,o,r,n,a){let s=e%2?2:1;jUr(t,r,n,o,s),BUr(t,r,n,o,s),zUr(r,n,o,s),ujt(t,r,n,e,i,o,a)}function FUr(t,e,i){if(!t)return[new Gz(0,0,e==Qjt?1:0)];if(e==Nse&&!i.length&&!_Ur.test(t))return fgo(t.length);if(i.length)for(;t.length>$m.length;)$m[$m.length]=256;let o=[],r=e==Nse?0:1;return pjt(t,r,r,i,0,t.length,o),o}function fgo(t){return[new Gz(0,t,0)]}var ggo="";function UUr(t,e,i,o,r){var n;let a=o.head-t.from,s=Gz.find(e,a,(n=o.bidiLevel)!==null&&n!==void 0?n:-1,o.assoc),l=e[s],c=l.side(r,i);if(a==c){let p=s+=r?1:-1;if(p<0||p>=e.length)return null;l=e[s=p],a=l.side(!r,i),c=l.side(r,i)}let d=jy(t.text,a,l.forward(r,i));(d<l.from||d>l.to)&&(d=c),ggo=t.text.slice(Math.min(a,d),Math.max(a,d));let u=s==(r?e.length-1:0)?null:e[s+(r?1:-1)];return u&&d==c&&u.level+(r?0:1)<l.level?Fo.cursor(u.side(!r,i)+t.from,u.forward(r,i)?1:-1,u.level):Fo.cursor(d+t.from,l.forward(r,i)?-1:1,l.level)}function VUr(t,e,i){for(let o=e;o<i;o++){let r=mgo(t.charCodeAt(o));if(r==1)return Nse;if(r==2||r==4)return Qjt}return Nse}var bgo=un.define(),ygo=un.define(),wgo=un.define(),Cgo=un.define(),mjt=un.define(),xgo=un.define(),Tgo=un.define(),Sgo=un.define({combine:t=>t.some(e=>e)}),Mgo=un.define({combine:t=>t.some(e=>e)}),Igo=un.define(),nLe=class t{constructor(e,i="nearest",o="nearest",r=5,n=5,a=!1){this.range=e,this.y=i,this.x=o,this.yMargin=r,this.xMargin=n,this.isSnapshot=a}map(e){return e.empty?this:new t(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new t(Fo.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}},nit=Fs.define({map:(t,e)=>t.map(e)}),Lgo=Fs.define();function Tw(t,e,i){let o=t.facet(Cgo);o.length?o[0](e):window.onerror?window.onerror(String(e),i,void 0,void 0,e):i?console.error(i+":",e):console.error(e)}var Oit=un.define({combine:t=>t.length?t[0]:!0}),HUr=0,XIe=un.define(),e1=class t{constructor(e,i,o,r,n){this.id=e,this.create=i,this.domEventHandlers=o,this.domEventObservers=r,this.extension=n(this)}static define(e,i){let{eventHandlers:o,eventObservers:r,provide:n,decorations:a}=i||{};return new t(HUr++,e,o,r,s=>{let l=[XIe.of(s)];return a&&l.push(gLe.of(c=>{let d=c.plugin(s);return d?a(d):ra.none})),n&&l.push(n(s)),l})}static fromClass(e,i){return t.define(o=>new e(o),i)}},aLe=class{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let i=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(i)}catch(o){if(Tw(i.state,o,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(i){Tw(e.state,i,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var i;if(!((i=this.value)===null||i===void 0)&&i.destroy)try{this.value.destroy()}catch(o){Tw(e.state,o,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}},vgo=un.define(),Kjt=un.define(),gLe=un.define(),Dgo=un.define(),Zjt=un.define(),Ego=un.define();function yfo(t,e){let i=t.state.facet(Ego);if(!i.length)return i;let o=i.map(n=>n instanceof Function?n(t):n),r=[];return x0.spans(o,e.from,e.to,{point(){},span(n,a,s,l){let c=n-e.from,d=a-e.from,u=r;for(let p=s.length-1;p>=0;p--,l--){let m=s[p].spec.bidiIsolate,h;if(m==null&&(m=VUr(e.text,c,d)),l>0&&u.length&&(h=u[u.length-1]).to==c&&h.direction==m)h.to=d,u=h.inner;else{let f={from:c,to:d,direction:m,inner:[]};u.push(f),u=f.inner}}}}),r}var Ago=un.define();function Ngo(t){let e=0,i=0,o=0,r=0;for(let n of t.state.facet(Ago)){let a=n(t);a&&(a.left!=null&&(e=Math.max(e,a.left)),a.right!=null&&(i=Math.max(i,a.right)),a.top!=null&&(o=Math.max(o,a.top)),a.bottom!=null&&(r=Math.max(r,a.bottom)))}return{left:e,right:i,top:o,bottom:r}}var $Ie=un.define(),Yz=class t{constructor(e,i,o,r){this.fromA=e,this.toA=i,this.fromB=o,this.toB=r}join(e){return new t(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let i=e.length,o=this;for(;i>0;i--){let r=e[i-1];if(!(r.fromA>o.toA)){if(r.toA<o.fromA)break;o=o.join(r),e.splice(i-1,1)}}return e.splice(i,0,o),e}static extendWithRanges(e,i){if(i.length==0)return e;let o=[];for(let r=0,n=0,a=0,s=0;;r++){let l=r==e.length?null:e[r],c=a-s,d=l?l.fromB:1e9;for(;n<i.length&&i[n]<d;){let u=i[n],p=i[n+1],m=Math.max(s,u),h=Math.min(d,p);if(m<=h&&new t(m+c,h+c,m,h).addToSet(o),p>d)break;n+=2}if(!l)return o;new t(l.fromA,l.toA,l.fromB,l.toB).addToSet(o),a=l.toA,s=l.toB}}},xit=class t{constructor(e,i,o){this.view=e,this.state=i,this.transactions=o,this.flags=0,this.startState=e.state,this.changes=KM.empty(this.startState.doc.length);for(let n of o)this.changes=this.changes.compose(n.changes);let r=[];this.changes.iterChangedRanges((n,a,s,l)=>r.push(new Yz(n,a,s,l))),this.changedRanges=r}static create(e,i,o){return new t(e,i,o)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}},Tit=class extends z1{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=ra.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new fx],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new Yz(0,0,0,e.state.doc.length)],0,null)}update(e){var i;let o=e.changedRanges;this.minWidth>0&&o.length&&(o.every(({fromA:c,toA:d})=>d<this.minWidthFrom||c>this.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let r=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((i=this.domChanged)===null||i===void 0)&&i.newSel?r=this.domChanged.newSel.head:!JUr(e.changes,this.hasComposition)&&!e.selectionSet&&(r=e.state.selection.main.head));let n=r>-1?YUr(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:c,to:d}=this.hasComposition;o=new Yz(c,d,e.changes.mapPos(c,-1),e.changes.mapPos(d,1)).addToSet(o.slice())}this.hasComposition=n?{from:n.range.fromB,to:n.range.toB}:null,(oa.ie||oa.chrome)&&!n&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let a=this.decorations,s=this.updateDeco(),l=KUr(a,s,e.changes);return o=Yz.extendWithRanges(o,l),!(this.flags&7)&&o.length==0?!1:(this.updateInner(o,e.startState.doc.length,n),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,i,o){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,i,o);let{observer:r}=this.view;r.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let a=oa.chrome||oa.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,a),this.flags&=-8,a&&(a.written||r.selectionRange.focusNode!=a.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(a=>a.flags&=-9);let n=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let a of this.children)a instanceof Dse&&a.widget instanceof Sit&&n.push(a.dom);r.updateGaps(n)}updateChildren(e,i,o){let r=o?o.range.addToSet(e.slice()):e,n=this.childCursor(i);for(let a=r.length-1;;a--){let s=a>=0?r[a]:null;if(!s)break;let{fromA:l,toA:c,fromB:d,toB:u}=s,p,m,h,f;if(o&&o.range.fromB<u&&o.range.toB>d){let x=rLe.build(this.view.state.doc,d,o.range.fromB,this.decorations,this.dynamicDecorationMap),S=rLe.build(this.view.state.doc,o.range.toB,u,this.decorations,this.dynamicDecorationMap);m=x.breakAtStart,h=x.openStart,f=S.openEnd;let T=this.compositionView(o);S.breakAtStart?T.breakAfter=1:S.content.length&&T.merge(T.length,T.length,S.content[0],!1,S.openStart,0)&&(T.breakAfter=S.content[0].breakAfter,S.content.shift()),x.content.length&&T.merge(0,0,x.content[x.content.length-1],!0,0,x.openEnd)&&x.content.pop(),p=x.content.concat(T).concat(S.content)}else({content:p,breakAtStart:m,openStart:h,openEnd:f}=rLe.build(this.view.state.doc,d,u,this.decorations,this.dynamicDecorationMap));let{i:g,off:b}=n.findPos(c,1),{i:y,off:w}=n.findPos(l,-1);rgo(this,y,w,g,b,p,m,h,f)}o&&this.fixCompositionDOM(o)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let i of e.transactions)for(let o of i.effects)o.is(Lgo)&&(this.editContextFormatting=o.value)}compositionView(e){let i=new Wz(e.text.nodeValue);i.flags|=8;for(let{deco:r}of e.marks)i=new H$(r,[i],i.length);let o=new fx;return o.append(i,0),o}fixCompositionDOM(e){let i=(n,a)=>{a.flags|=8|(a.children.some(l=>l.flags&7)?1:0),this.markedForComposition.add(a);let s=z1.get(n);s&&s!=a&&(s.dom=null),a.setDOM(n)},o=this.childPos(e.range.fromB,1),r=this.children[o.i];i(e.line,r);for(let n=e.marks.length-1;n>=-1;n--)o=r.childPos(o.off,1),r=r.children[o.i],i(n>=0?e.marks[n].node:e.text,r)}updateSelection(e=!1,i=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let o=this.view.root.activeElement,r=o==this.dom,n=!r&&mit(this.dom,this.view.observer.selectionRange)&&!(o&&this.dom.contains(o));if(!(r||i||n))return;let a=this.forceSelection;this.forceSelection=!1;let s=this.view.state.selection.main,l=this.moveToLine(this.domAtPos(s.anchor)),c=s.empty?l:this.moveToLine(this.domAtPos(s.head));if(oa.gecko&&s.empty&&!this.hasComposition&&GUr(l)){let u=document.createTextNode("");this.view.observer.ignore(()=>l.node.insertBefore(u,l.node.childNodes[l.offset]||null)),l=c=new ZM(u,0),a=!0}let d=this.view.observer.selectionRange;(a||!d.focusNode||(!oLe(l.node,l.offset,d.anchorNode,d.anchorOffset)||!oLe(c.node,c.offset,d.focusNode,d.focusOffset))&&!this.suppressWidgetCursorChange(d,s))&&(this.view.observer.ignore(()=>{oa.android&&oa.chrome&&this.dom.contains(d.focusNode)&&ZUr(d.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let u=dLe(this.view.root);if(u)if(s.empty){if(oa.gecko){let p=WUr(l.node,l.offset);if(p&&p!=3){let m=(p==1?igo:ogo)(l.node,l.offset);m&&(l=new ZM(m.node,m.offset))}}u.collapse(l.node,l.offset),s.bidiLevel!=null&&u.caretBidiLevel!==void 0&&(u.caretBidiLevel=s.bidiLevel)}else if(u.extend){u.collapse(l.node,l.offset);try{u.extend(c.node,c.offset)}catch{}}else{let p=document.createRange();s.anchor>s.head&&([l,c]=[c,l]),p.setEnd(c.node,c.offset),p.setStart(l.node,l.offset),u.removeAllRanges(),u.addRange(p)}n&&this.view.root.activeElement==this.dom&&(this.dom.blur(),o&&o.focus())}),this.view.observer.setSelectionRange(l,c)),this.impreciseAnchor=l.precise?null:new ZM(d.anchorNode,d.anchorOffset),this.impreciseHead=c.precise?null:new ZM(d.focusNode,d.focusOffset)}suppressWidgetCursorChange(e,i){return this.hasComposition&&i.empty&&oLe(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==i.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,i=e.state.selection.main,o=dLe(e.root),{anchorNode:r,anchorOffset:n}=e.observer.selectionRange;if(!o||!i.empty||!i.assoc||!o.modify)return;let a=fx.find(this,i.head);if(!a)return;let s=a.posAtStart;if(i.head==s||i.head==s+a.length)return;let l=this.coordsAt(i.head,-1),c=this.coordsAt(i.head,1);if(!l||!c||l.bottom>c.top)return;let d=this.domAtPos(i.head+i.assoc);o.collapse(d.node,d.offset),o.modify("move",i.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let u=e.observer.selectionRange;e.docView.posFromDOM(u.anchorNode,u.anchorOffset)!=i.from&&o.collapse(r,n)}moveToLine(e){let i=this.dom,o;if(e.node!=i)return e;for(let r=e.offset;!o&&r<i.childNodes.length;r++){let n=z1.get(i.childNodes[r]);n instanceof fx&&(o=n.domAtPos(0))}for(let r=e.offset-1;!o&&r>=0;r--){let n=z1.get(i.childNodes[r]);n instanceof fx&&(o=n.domAtPos(n.length))}return o?new ZM(o.node,o.offset,!0):e}nearest(e){for(let i=e;i;){let o=z1.get(i);if(o&&o.rootView==this)return o;i=i.parentNode}return null}posFromDOM(e,i){let o=this.nearest(e);if(!o)throw new RangeError("Trying to find position for a DOM position outside of the document");return o.localPosFromDOM(e,i)+o.posAtStart}domAtPos(e){let{i,off:o}=this.childCursor().findPos(e,-1);for(;i<this.children.length-1;){let r=this.children[i];if(o<r.length||r instanceof fx)break;i++,o=0}return this.children[i].domAtPos(o)}coordsAt(e,i){let o=null,r=0;for(let n=this.length,a=this.children.length-1;a>=0;a--){let s=this.children[a],l=n-s.breakAfter,c=l-s.length;if(l<e)break;if(c<=e&&(c<e||s.covers(-1))&&(l>e||s.covers(1))&&(!o||s instanceof fx&&!(o instanceof fx&&i>=0)))o=s,r=c;else if(o&&c==e&&l==e&&s instanceof Dse&&Math.abs(i)<2){if(s.deco.startSide<0)break;a&&(o=null)}n=c}return o?o.coordsAt(e-r,i):null}coordsForChar(e){let{i,off:o}=this.childPos(e,1),r=this.children[i];if(!(r instanceof fx))return null;for(;r.children.length;){let{i:s,off:l}=r.childPos(o,1);for(;;s++){if(s==r.children.length)return null;if((r=r.children[s]).length)break}o=l}if(!(r instanceof Wz))return null;let n=jy(r.text,o);if(n==o)return null;let a=Ase(r.dom,o,n).getClientRects();for(let s=0;s<a.length;s++){let l=a[s];if(s==a.length-1||l.top<l.bottom&&l.left<l.right)return l}return null}measureVisibleLineHeights(e){let i=[],{from:o,to:r}=e,n=this.view.contentDOM.clientWidth,a=n>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,s=-1,l=this.view.textDirection==wp.LTR;for(let c=0,d=0;d<this.children.length;d++){let u=this.children[d],p=c+u.length;if(p>r)break;if(c>=o){let m=u.dom.getBoundingClientRect();if(i.push(m.height),a){let h=u.dom.lastChild,f=h?uLe(h):[];if(f.length){let g=f[f.length-1],b=l?g.right-m.left:m.right-g.left;b>s&&(s=b,this.minWidth=n,this.minWidthFrom=c,this.minWidthTo=p)}}}c=p+u.breakAfter}return i}textDirectionAt(e){let{i}=this.childPos(e,1);return getComputedStyle(this.children[i].dom).direction=="rtl"?wp.RTL:wp.LTR}measureTextSize(){for(let n of this.children)if(n instanceof fx){let a=n.measureTextSize();if(a)return a}let e=document.createElement("div"),i,o,r;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let n=uLe(e.firstChild)[0];i=e.getBoundingClientRect().height,o=n?n.width/27:7,r=n?n.height:i,e.remove()}),{lineHeight:i,charWidth:o,textHeight:r}}childCursor(e=this.length){let i=this.children.length;return i&&(e-=this.children[--i].length),new Cit(this.children,e,i)}computeBlockGapDeco(){let e=[],i=this.view.viewState;for(let o=0,r=0;;r++){let n=r==i.viewports.length?null:i.viewports[r],a=n?n.from-1:this.length;if(a>o){let s=(i.lineBlockAt(a).bottom-i.lineBlockAt(o).top)/this.view.scaleY;e.push(ra.replace({widget:new Sit(s),block:!0,inclusive:!0,isBlockGap:!0}).range(o,a))}if(!n)break;o=n.to+1}return ra.set(e)}updateDeco(){let e=1,i=this.view.state.facet(gLe).map(n=>(this.dynamicDecorationMap[e++]=typeof n=="function")?n(this.view):n),o=!1,r=this.view.state.facet(Dgo).map((n,a)=>{let s=typeof n=="function";return s&&(o=!0),s?n(this.view):n});for(r.length&&(this.dynamicDecorationMap[e++]=o,i.push(x0.join(r))),this.decorations=[this.editContextFormatting,...i,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1;return this.decorations}scrollIntoView(e){if(e.isSnapshot){let c=this.view.viewState.lineBlockAt(e.range.head);this.view.scrollDOM.scrollTop=c.top-e.yMargin,this.view.scrollDOM.scrollLeft=e.xMargin;return}for(let c of this.view.state.facet(Igo))try{if(c(this.view,e.range,e))return!0}catch(d){Tw(this.view.state,d,"scroll handler")}let{range:i}=e,o=this.coordsAt(i.head,i.empty?i.assoc:i.head>i.anchor?-1:1),r;if(!o)return;!i.empty&&(r=this.coordsAt(i.anchor,i.anchor>i.head?-1:1))&&(o={left:Math.min(o.left,r.left),top:Math.min(o.top,r.top),right:Math.max(o.right,r.right),bottom:Math.max(o.bottom,r.bottom)});let n=Ngo(this.view),a={left:o.left-n.left,top:o.top-n.top,right:o.right+n.right,bottom:o.bottom+n.bottom},{offsetWidth:s,offsetHeight:l}=this.view.scrollDOM;IUr(this.view.scrollDOM,a,i.head<i.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,s),-s),Math.max(Math.min(e.yMargin,l),-l),this.view.textDirection==wp.LTR)}};function GUr(t){return t.node.nodeType==1&&t.node.firstChild&&(t.offset==0||t.node.childNodes[t.offset-1].contentEditable=="false")&&(t.offset==t.node.childNodes.length||t.node.childNodes[t.offset].contentEditable=="false")}var Sit=class extends mL{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}};function kgo(t,e){let i=t.observer.selectionRange;if(!i.focusNode)return null;let o=igo(i.focusNode,i.focusOffset),r=ogo(i.focusNode,i.focusOffset),n=o||r;if(r&&o&&r.node!=o.node){let s=z1.get(r.node);if(!s||s instanceof Wz&&s.text!=r.node.nodeValue)n=r;else if(t.docView.lastCompositionAfterCursor){let l=z1.get(o.node);!l||l instanceof Wz&&l.text!=o.node.nodeValue||(n=r)}}if(t.docView.lastCompositionAfterCursor=n!=o,!n)return null;let a=e-n.offset;return{from:a,to:a+n.node.nodeValue.length,node:n.node}}function YUr(t,e,i){let o=kgo(t,i);if(!o)return null;let{node:r,from:n,to:a}=o,s=r.nodeValue;if(/[\n\r]/.test(s)||t.state.doc.sliceString(o.from,o.to)!=s)return null;let l=e.invertedDesc,c=new Yz(l.mapPos(n),l.mapPos(a),n,a),d=[];for(let u=r.parentNode;;u=u.parentNode){let p=z1.get(u);if(p instanceof H$)d.push({node:u,deco:p.mark});else{if(p instanceof fx||u.nodeName=="DIV"&&u.parentNode==t.contentDOM)return{range:c,text:r,marks:d,line:u};if(u!=t.contentDOM)d.push({node:u,deco:new hLe({inclusive:!0,attributes:kUr(u),tagName:u.tagName.toLowerCase()})});else return null}}}function WUr(t,e){return t.nodeType!=1?0:(e&&t.childNodes[e-1].contentEditable=="false"?1:0)|(e<t.childNodes.length&&t.childNodes[e].contentEditable=="false"?2:0)}var QUr=class{constructor(){this.changes=[]}compareRange(e,i){cjt(e,i,this.changes)}comparePoint(e,i){cjt(e,i,this.changes)}};function KUr(t,e,i){let o=new QUr;return x0.compare(t,e,i,o),o.changes}function ZUr(t,e){for(let i=t;i&&i!=e;i=i.assignedSlot||i.parentNode)if(i.nodeType==1&&i.contentEditable=="false")return!0;return!1}function JUr(t,e){let i=!1;return e&&t.iterChangedRanges((o,r)=>{o<e.to&&r>e.from&&(i=!0)}),i}function qUr(t,e,i=1){let o=t.charCategorizer(e),r=t.doc.lineAt(e),n=e-r.from;if(r.length==0)return Fo.cursor(e);n==0?i=1:n==r.length&&(i=-1);let a=n,s=n;i<0?a=jy(r.text,n,!1):s=jy(r.text,n);let l=o(r.text.slice(a,s));for(;a>0;){let c=jy(r.text,a,!1);if(o(r.text.slice(c,a))!=l)break;a=c}for(;s<r.length;){let c=jy(r.text,s);if(o(r.text.slice(s,c))!=l)break;s=c}return Fo.range(a+r.from,s+r.from)}function XUr(t,e){return e.left>t?e.left-t:Math.max(0,t-e.right)}function $Ur(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function J_t(t,e){return t.top<e.bottom-1&&t.bottom>e.top+1}function wfo(t,e){return e<t.top?{top:e,left:t.left,right:t.right,bottom:t.bottom}:t}function Cfo(t,e){return e>t.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function hjt(t,e,i){let o,r,n,a,s=!1,l,c,d,u;for(let h=t.firstChild;h;h=h.nextSibling){let f=uLe(h);for(let g=0;g<f.length;g++){let b=f[g];r&&J_t(r,b)&&(b=wfo(Cfo(b,r.bottom),r.top));let y=XUr(e,b),w=$Ur(i,b);if(y==0&&w==0)return h.nodeType==3?xfo(h,e,i):hjt(h,e,i);if(!o||a>w||a==w&&n>y){o=h,r=b,n=y,a=w;let x=w?i<b.top?-1:1:y?e<b.left?-1:1:0;s=!x||(x>0?g<f.length-1:g>0)}y==0?i>b.bottom&&(!d||d.bottom<b.bottom)?(l=h,d=b):i<b.top&&(!u||u.top>b.top)&&(c=h,u=b):d&&J_t(d,b)?d=Cfo(d,b.bottom):u&&J_t(u,b)&&(u=wfo(u,b.top))}}if(d&&d.bottom>=i?(o=l,r=d):u&&u.top<=i&&(o=c,r=u),!o)return{node:t,offset:0};let p=Math.max(r.left,Math.min(r.right,e));if(o.nodeType==3)return xfo(o,p,i);if(s&&o.contentEditable!="false")return hjt(o,p,i);let m=Array.prototype.indexOf.call(t.childNodes,o)+(e>=(r.left+r.right)/2?1:0);return{node:t,offset:m}}function xfo(t,e,i){let o=t.nodeValue.length,r=-1,n=1e9,a=0;for(let s=0;s<o;s++){let l=Ase(t,s,s+1).getClientRects();for(let c=0;c<l.length;c++){let d=l[c];if(d.top==d.bottom)continue;a||(a=e-d.left);let u=(d.top>i?d.top-i:i-d.bottom)-1;if(d.left-1<=e&&d.right+1>=e&&u<n){let p=e>=(d.left+d.right)/2,m=p;if((oa.chrome||oa.gecko)&&Ase(t,s).getBoundingClientRect().left==d.right&&(m=!p),u<=0)return{node:t,offset:s+(m?1:0)};r=s+(m?1:0),n=u}}}return{node:t,offset:r>-1?r:a>0?t.nodeValue.length:0}}function Pgo(t,e,i,o=-1){var r,n;let a=t.contentDOM.getBoundingClientRect(),s=a.top+t.viewState.paddingTop,l,{docHeight:c}=t.viewState,{x:d,y:u}=e,p=u-s;if(p<0)return 0;if(p>c)return t.state.doc.length;for(let x=t.viewState.heightOracle.textHeight/2,S=!1;l=t.elementAtHeight(p),l.type!=JM.Text;)for(;p=o>0?l.bottom+x:l.top-x,!(p>=0&&p<=c);){if(S)return i?null:0;S=!0,o=-o}u=s+p;let m=l.from;if(m<t.viewport.from)return t.viewport.from==0?0:i?null:Tfo(t,a,l,d,u);if(m>t.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:i?null:Tfo(t,a,l,d,u);let h=t.dom.ownerDocument,f=t.root.elementFromPoint?t.root:h,g=f.elementFromPoint(d,u);g&&!t.contentDOM.contains(g)&&(g=null),g||(d=Math.max(a.left+1,Math.min(a.right-1,d)),g=f.elementFromPoint(d,u),g&&!t.contentDOM.contains(g)&&(g=null));let b,y=-1;if(g&&((r=t.docView.nearest(g))===null||r===void 0?void 0:r.isEditable)!=!1){if(h.caretPositionFromPoint){let x=h.caretPositionFromPoint(d,u);x&&({offsetNode:b,offset:y}=x)}else if(h.caretRangeFromPoint){let x=h.caretRangeFromPoint(d,u);x&&({startContainer:b,startOffset:y}=x,(!t.contentDOM.contains(b)||oa.safari&&eVr(b,y,d)||oa.chrome&&tVr(b,y,d))&&(b=void 0))}}if(!b||!t.docView.dom.contains(b)){let x=fx.find(t.docView,m);if(!x)return p>l.top+l.height/2?l.to:l.from;({node:b,offset:y}=hjt(x.dom,d,u))}let w=t.docView.nearest(b);if(!w)return null;if(w.isWidget&&((n=w.dom)===null||n===void 0?void 0:n.nodeType)==1){let x=w.dom.getBoundingClientRect();return e.y<x.top||e.y<=x.bottom&&e.x<=(x.left+x.right)/2?w.posAtStart:w.posAtEnd}else return w.localPosFromDOM(b,y)+w.posAtStart}function Tfo(t,e,i,o,r){let n=Math.round((o-e.left)*t.defaultCharacterWidth);if(t.lineWrapping&&i.height>t.defaultLineHeight*1.5){let s=t.viewState.heightOracle.textHeight,l=Math.floor((r-i.top-(t.defaultLineHeight-s)*.5)/s);n+=l*t.viewState.heightOracle.lineLength}let a=t.state.sliceDoc(i.from,i.to);return i.from+iit(a,n,t.state.tabSize)}function eVr(t,e,i){let o;if(t.nodeType!=3||e!=(o=t.nodeValue.length))return!1;for(let r=t.nextSibling;r;r=r.nextSibling)if(r.nodeType!=1||r.nodeName!="BR")return!1;return Ase(t,o-1,o).getBoundingClientRect().left>i}function tVr(t,e,i){if(e!=0)return!1;for(let r=t;;){let n=r.parentNode;if(!n||n.nodeType!=1||n.firstChild!=r)return!1;if(n.classList.contains("cm-line"))break;r=n}let o=t.nodeType==1?t.getBoundingClientRect():Ase(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return i-o.left>5}function fjt(t,e){let i=t.lineBlockAt(e);if(Array.isArray(i.type)){for(let o of i.type)if(o.to>e||o.to==e&&(o.to==i.to||o.type==JM.Text))return o}return i}function iVr(t,e,i,o){let r=fjt(t,e.head),n=!o||r.type!=JM.Text||!(t.lineWrapping||r.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head);if(n){let a=t.dom.getBoundingClientRect(),s=t.textDirectionAt(r.from),l=t.posAtCoords({x:i==(s==wp.LTR)?a.right-1:a.left+1,y:(n.top+n.bottom)/2});if(l!=null)return Fo.cursor(l,i?-1:1)}return Fo.cursor(i?r.to:r.from,i?-1:1)}function Sfo(t,e,i,o){let r=t.state.doc.lineAt(e.head),n=t.bidiSpans(r),a=t.textDirectionAt(r.from);for(let s=e,l=null;;){let c=UUr(r,n,a,s,i),d=ggo;if(!c){if(r.number==(i?t.state.doc.lines:1))return s;d=`
`,r=t.state.doc.line(r.number+(i?1:-1)),n=t.bidiSpans(r),c=t.visualLineSide(r,!i)}if(l){if(!l(d))return s}else{if(!o)return c;l=o(d)}s=c}}function oVr(t,e,i){let o=t.state.charCategorizer(e),r=o(i);return n=>{let a=o(n);return r==Im.Space&&(r=a),r==a}}function rVr(t,e,i,o){let r=e.head,n=i?1:-1;if(r==(i?t.state.doc.length:0))return Fo.cursor(r,e.assoc);let a=e.goalColumn,s,l=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(r,e.assoc||-1),d=t.documentTop;if(c)a==null&&(a=c.left-l.left),s=n<0?c.top:c.bottom;else{let m=t.viewState.lineBlockAt(r);a==null&&(a=Math.min(l.right-l.left,t.defaultCharacterWidth*(r-m.from))),s=(n<0?m.top:m.bottom)+d}let u=l.left+a,p=o!=null?o:t.viewState.heightOracle.textHeight>>1;for(let m=0;;m+=10){let h=s+(p+m)*n,f=Pgo(t,{x:u,y:h},!1,n);if(h<l.top||h>l.bottom||(n<0?f<r:f>r)){let g=t.docView.coordsForChar(f),b=!g||h<g.top?-1:1;return Fo.cursor(f,b,void 0,a)}}}function hit(t,e,i){for(;;){let o=0;for(let r of t)r.between(e-1,e+1,(n,a,s)=>{if(e>n&&e<a){let l=o||i||(e-n<a-e?-1:1);e=l<0?n:a,o=l}});if(!o)return e}}function q_t(t,e,i){let o=hit(t.state.facet(Zjt).map(r=>r(t)),i.from,e.head>i.from?-1:1);return o==i.from?i:Fo.cursor(o,o<i.from?1:-1)}var gjt=class{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,oa.safari&&e.contentDOM.addEventListener("input",()=>null),oa.gecko&&wVr(e.contentDOM.ownerDocument)}handleEvent(e){!uVr(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,i){let o=this.handlers[e];if(o){for(let r of o.observers)r(this.view,i);for(let r of o.handlers){if(i.defaultPrevented)break;if(r(this.view,i)){i.preventDefault();break}}}}ensureHandlers(e){let i=nVr(e),o=this.handlers,r=this.view.contentDOM;for(let n in i)if(n!="scroll"){let a=!i[n].handlers.length,s=o[n];s&&a!=!s.handlers.length&&(r.removeEventListener(n,this.handleEvent),s=null),s||r.addEventListener(n,this.handleEvent,{passive:a})}for(let n in o)n!="scroll"&&!i[n]&&r.removeEventListener(n,this.handleEvent);this.handlers=i}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&e.keyCode!=27&&Rgo.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),oa.android&&oa.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let i;return oa.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((i=Ogo.find(o=>o.keyCode==e.keyCode))&&!e.ctrlKey||aVr.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=i||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(e){let i=this.pendingIOSKey;return!i||i.key=="Enter"&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString())?!1:(this.pendingIOSKey=void 0,_2e(this.view.contentDOM,i.key,i.keyCode,i instanceof KeyboardEvent?i:void 0))}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:oa.safari&&!oa.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}};function Mfo(t,e){return(i,o)=>{try{return e.call(t,o,i)}catch(r){Tw(i.state,r)}}}function nVr(t){let e=Object.create(null);function i(o){return e[o]||(e[o]={observers:[],handlers:[]})}for(let o of t){let r=o.spec;if(r&&r.domEventHandlers)for(let n in r.domEventHandlers){let a=r.domEventHandlers[n];a&&i(n).handlers.push(Mfo(o.value,a))}if(r&&r.domEventObservers)for(let n in r.domEventObservers){let a=r.domEventObservers[n];a&&i(n).observers.push(Mfo(o.value,a))}}for(let o in GO)i(o).handlers.push(GO[o]);for(let o in lk)i(o).observers.push(lk[o]);return e}var Ogo=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],aVr="dthko",Rgo=[16,17,18,20,91,92,224,225],ait=6;function sit(t){return Math.max(0,t)*.7+8}function sVr(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}var bjt=class{constructor(e,i,o,r){this.view=e,this.startEvent=i,this.style=o,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=i,this.scrollParent=LUr(e.contentDOM),this.atoms=e.state.facet(Zjt).map(a=>a(e));let n=e.contentDOM.ownerDocument;n.addEventListener("mousemove",this.move=this.move.bind(this)),n.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=i.shiftKey,this.multiple=e.state.facet(vd.allowMultipleSelections)&&lVr(e,i),this.dragging=dVr(e,i)&&zgo(i)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){var i;if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&sVr(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let o=0,r=0,n=((i=this.scrollParent)===null||i===void 0?void 0:i.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},a=Ngo(this.view);e.clientX-a.left<=n.left+ait?o=-sit(n.left-e.clientX):e.clientX+a.right>=n.right-ait&&(o=sit(e.clientX-n.right)),e.clientY-a.top<=n.top+ait?r=-sit(n.top-e.clientY):e.clientY+a.bottom>=n.bottom-ait&&(r=sit(e.clientY-n.bottom)),this.setScrollSpeed(o,r)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,i){this.scrollSpeed={x:e,y:i},e||i?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let i=null;for(let o=0;o<e.ranges.length;o++){let r=e.ranges[o],n=null;if(r.empty){let a=hit(this.atoms,r.from,0);a!=r.from&&(n=Fo.cursor(a,-1))}else{let a=hit(this.atoms,r.from,-1),s=hit(this.atoms,r.to,1);(a!=r.from||s!=r.to)&&(n=Fo.range(r.from==r.anchor?a:s,r.from==r.head?a:s))}n&&(i||(i=e.ranges.slice()),i[o]=n)}return i?Fo.create(i,e.mainIndex):e}select(e){let{view:i}=this,o=this.skipAtoms(this.style.get(e,this.extend,this.multiple));(this.mustSelect||!o.eq(i.state.selection,this.dragging===!1))&&this.view.dispatch({selection:o,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.transactions.some(i=>i.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}};function lVr(t,e){let i=t.state.facet(bgo);return i.length?i[0](e):oa.mac?e.metaKey:e.ctrlKey}function cVr(t,e){let i=t.state.facet(ygo);return i.length?i[0](e):oa.mac?!e.altKey:!e.ctrlKey}function dVr(t,e){let{main:i}=t.state.selection;if(i.empty)return!1;let o=dLe(t.root);if(!o||o.rangeCount==0)return!0;let r=o.getRangeAt(0).getClientRects();for(let n=0;n<r.length;n++){let a=r[n];if(a.left<=e.clientX&&a.right>=e.clientX&&a.top<=e.clientY&&a.bottom>=e.clientY)return!0}return!1}function uVr(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let i=e.target,o;i!=t.contentDOM;i=i.parentNode)if(!i||i.nodeType==11||(o=z1.get(i))&&o.ignoreEvent(e))return!1;return!0}var GO=Object.create(null),lk=Object.create(null),_go=oa.ie&&oa.ie_version<15||oa.ios&&oa.webkit_version<604;function pVr(t){let e=t.dom.parentNode;if(!e)return;let i=e.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout(()=>{t.focus(),i.remove(),jgo(t,i.value)},50)}function jgo(t,e){let{state:i}=t,o,r=1,n=i.toText(e),a=n.lines==i.selection.ranges.length;if(yjt!=null&&i.selection.ranges.every(l=>l.empty)&&yjt==n.toString()){let l=-1;o=i.changeByRange(c=>{let d=i.doc.lineAt(c.from);if(d.from==l)return{range:c};l=d.from;let u=i.toText((a?n.line(r++).text:e)+i.lineBreak);return{changes:{from:d.from,insert:u},range:Fo.cursor(c.from+u.length)}})}else a?o=i.changeByRange(l=>{let c=n.line(r++);return{changes:{from:l.from,to:l.to,insert:c.text},range:Fo.cursor(l.from+c.length)}}):o=i.replaceSelection(n);t.dispatch(o,{userEvent:"input.paste",scrollIntoView:!0})}lk.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft};GO.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&t.inputState.tabFocusMode!=0&&(t.inputState.tabFocusMode=Date.now()+2e3),!1);lk.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};lk.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};GO.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let i=null;for(let o of t.state.facet(wgo))if(i=o(t,e),i)break;if(!i&&e.button==0&&(i=fVr(t,e)),i){let o=!t.hasFocus;t.inputState.startMouseSelection(new bjt(t,e,i,o)),o&&t.observer.ignore(()=>{$fo(t.contentDOM);let n=t.root.activeElement;n&&!n.contains(t.contentDOM)&&n.blur()});let r=t.inputState.mouseSelection;if(r)return r.start(e),r.dragging===!1}return!1};function Ifo(t,e,i,o){if(o==1)return Fo.cursor(e,i);if(o==2)return qUr(t.state,e,i);{let r=fx.find(t.docView,e),n=t.state.doc.lineAt(r?r.posAtEnd:e),a=r?r.posAtStart:n.from,s=r?r.posAtEnd:n.to;return s<t.state.doc.length&&s==n.to&&s++,Fo.range(a,s)}}var Bgo=(t,e)=>t>=e.top&&t<=e.bottom,Lfo=(t,e,i)=>Bgo(e,i)&&t>=i.left&&t<=i.right;function mVr(t,e,i,o){let r=fx.find(t.docView,e);if(!r)return 1;let n=e-r.posAtStart;if(n==0)return 1;if(n==r.length)return-1;let a=r.coordsAt(n,-1);if(a&&Lfo(i,o,a))return-1;let s=r.coordsAt(n,1);return s&&Lfo(i,o,s)?1:a&&Bgo(o,a)?-1:1}function vfo(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:i,bias:mVr(t,i,e.clientX,e.clientY)}}var hVr=oa.ie&&oa.ie_version<=11,Dfo=null,Efo=0,Afo=0;function zgo(t){if(!hVr)return t.detail;let e=Dfo,i=Afo;return Dfo=t,Afo=Date.now(),Efo=!e||i>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(Efo+1)%3:1}function fVr(t,e){let i=vfo(t,e),o=zgo(e),r=t.state.selection;return{update(n){n.docChanged&&(i.pos=n.changes.mapPos(i.pos),r=r.map(n.changes))},get(n,a,s){let l=vfo(t,n),c,d=Ifo(t,l.pos,l.bias,o);if(i.pos!=l.pos&&!a){let u=Ifo(t,i.pos,i.bias,o),p=Math.min(u.from,d.from),m=Math.max(u.to,d.to);d=p<d.from?Fo.range(p,m):Fo.range(m,p)}return a?r.replaceRange(r.main.extend(d.from,d.to)):s&&o==1&&r.ranges.length>1&&(c=gVr(r,l.pos))?c:s?r.addRange(d):Fo.create([d])}}}function gVr(t,e){for(let i=0;i<t.ranges.length;i++){let{from:o,to:r}=t.ranges[i];if(o<=e&&r>=e)return Fo.create(t.ranges.slice(0,i).concat(t.ranges.slice(i+1)),t.mainIndex==i?0:t.mainIndex-(t.mainIndex>i?1:0))}return null}GO.dragstart=(t,e)=>{let{selection:{main:i}}=t.state;if(e.target.draggable){let r=t.docView.nearest(e.target);if(r&&r.isWidget){let n=r.posAtStart,a=n+r.length;(n>=i.to||a<=i.from)&&(i=Fo.range(n,a))}}let{inputState:o}=t;return o.mouseSelection&&(o.mouseSelection.dragging=!0),o.draggedContent=i,e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(i.from,i.to)),e.dataTransfer.effectAllowed="copyMove"),!1};GO.dragend=t=>(t.inputState.draggedContent=null,!1);function Nfo(t,e,i,o){if(!i)return;let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:n}=t.inputState,a=o&&n&&cVr(t,e)?{from:n.from,to:n.to}:null,s={from:r,insert:i},l=t.state.changes(a?[a,s]:s);t.focus(),t.dispatch({changes:l,selection:{anchor:l.mapPos(r,-1),head:l.mapPos(r,1)},userEvent:a?"move.drop":"input.drop"}),t.inputState.draggedContent=null}GO.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let i=e.dataTransfer.files;if(i&&i.length){let o=Array(i.length),r=0,n=()=>{++r==i.length&&Nfo(t,e,o.filter(a=>a!=null).join(t.state.lineBreak),!1)};for(let a=0;a<i.length;a++){let s=new FileReader;s.onerror=n,s.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(s.result)||(o[a]=s.result),n()},s.readAsText(i[a])}return!0}else{let o=e.dataTransfer.getData("Text");if(o)return Nfo(t,e,o,!0),!0}return!1};GO.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let i=_go?null:e.clipboardData;return i?(jgo(t,i.getData("text/plain")||i.getData("text/uri-list")),!0):(pVr(t),!1)};function bVr(t,e){let i=t.dom.parentNode;if(!i)return;let o=i.appendChild(document.createElement("textarea"));o.style.cssText="position: fixed; left: -10000px; top: 10px",o.value=e,o.focus(),o.selectionEnd=e.length,o.selectionStart=0,setTimeout(()=>{o.remove(),t.focus()},50)}function yVr(t){let e=[],i=[],o=!1;for(let r of t.selection.ranges)r.empty||(e.push(t.sliceDoc(r.from,r.to)),i.push(r));if(!e.length){let r=-1;for(let{from:n}of t.selection.ranges){let a=t.doc.lineAt(n);a.number>r&&(e.push(a.text),i.push({from:a.from,to:Math.min(t.doc.length,a.to+1)})),r=a.number}o=!0}return{text:e.join(t.lineBreak),ranges:i,linewise:o}}var yjt=null;GO.copy=GO.cut=(t,e)=>{let{text:i,ranges:o,linewise:r}=yVr(t.state);if(!i&&!r)return!1;yjt=r?i:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:o,scrollIntoView:!0,userEvent:"delete.cut"});let n=_go?null:e.clipboardData;return n?(n.clearData(),n.setData("text/plain",i),!0):(bVr(t,i),!1)};var Fgo=uL.define();function Ugo(t,e){let i=[];for(let o of t.facet(Tgo)){let r=o(t,e);r&&i.push(r)}return i?t.update({effects:i,annotations:Fgo.of(!0)}):null}function Vgo(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let i=Ugo(t.state,e);i?t.dispatch(i):t.update([])}},10)}lk.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),Vgo(t)};lk.blur=t=>{t.observer.clearSelectionRange(),Vgo(t)};lk.compositionstart=lk.compositionupdate=t=>{t.observer.editContext||(t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0))};lk.compositionend=t=>{t.observer.editContext||(t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,oa.chrome&&oa.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50))};lk.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};GO.beforeinput=(t,e)=>{var i;let o;if(oa.chrome&&oa.android&&(o=Ogo.find(r=>r.inputType==e.inputType))&&(t.observer.delayAndroidKey(o.key,o.keyCode),o.key=="Backspace"||o.key=="Delete")){let r=((i=window.visualViewport)===null||i===void 0?void 0:i.height)||0;setTimeout(()=>{var n;(((n=window.visualViewport)===null||n===void 0?void 0:n.height)||0)>r+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return oa.ios&&e.inputType=="deleteContentForward"&&t.observer.flushSoon(),oa.safari&&e.inputType=="insertText"&&t.inputState.composing>=0&&setTimeout(()=>lk.compositionend(t,e),20),!1};var kfo=new Set;function wVr(t){kfo.has(t)||(kfo.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}var Pfo=["pre-wrap","normal","pre-line","break-spaces"],wjt=class{constructor(e){this.lineWrapping=e,this.doc=$d.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,i){let o=this.doc.lineAt(i).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(o+=Math.max(0,Math.ceil((i-e-o*this.lineLength*.5)/this.lineLength))),this.lineHeight*o}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return Pfo.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let i=!1;for(let o=0;o<e.length;o++){let r=e[o];r<0?o++:this.heightSamples[Math.floor(r*10)]||(i=!0,this.heightSamples[Math.floor(r*10)]=!0)}return i}refresh(e,i,o,r,n,a){let s=Pfo.indexOf(e)>-1,l=Math.round(i)!=Math.round(this.lineHeight)||this.lineWrapping!=s;if(this.lineWrapping=s,this.lineHeight=i,this.charWidth=o,this.textHeight=r,this.lineLength=n,l){this.heightSamples={};for(let c=0;c<a.length;c++){let d=a[c];d<0?c++:this.heightSamples[Math.floor(d*10)]=!0}}return l}},Cjt=class{constructor(e,i){this.from=e,this.heights=i,this.index=0}get more(){return this.index<this.heights.length}},Hz=class t{constructor(e,i,o,r,n){this.from=e,this.length=i,this.top=o,this.height=r,this._content=n}get type(){return typeof this._content=="number"?JM.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof G$?this._content.widget:null}get widgetLineBreaks(){return typeof this._content=="number"?this._content:0}join(e){let i=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(e._content)?e._content:[e]);return new t(this.from,this.length+e.length,this.top,this.height+e.height,i)}},Ih=(function(t){return t[t.ByPos=0]="ByPos",t[t.ByHeight=1]="ByHeight",t[t.ByPosNoHeight=2]="ByPosNoHeight",t})(Ih||(Ih={})),fit=.001,fE=class t{constructor(e,i,o=2){this.length=e,this.height=i,this.flags=o}get outdated(){return(this.flags&2)>0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,i){this.height!=i&&(Math.abs(this.height-i)>fit&&(e.heightChanged=!0),this.height=i)}replace(e,i,o){return t.of(o)}decomposeLeft(e,i){i.push(this)}decomposeRight(e,i){i.push(this)}applyChanges(e,i,o,r){let n=this,a=o.doc;for(let s=r.length-1;s>=0;s--){let{fromA:l,toA:c,fromB:d,toB:u}=r[s],p=n.lineAt(l,Ih.ByPosNoHeight,o.setDoc(i),0,0),m=p.to>=c?p:n.lineAt(c,Ih.ByPosNoHeight,o,0,0);for(u+=m.to-c,c=m.to;s>0&&p.from<=r[s-1].toA;)l=r[s-1].fromA,d=r[s-1].fromB,s--,l<p.from&&(p=n.lineAt(l,Ih.ByPosNoHeight,o,0,0));d+=p.from-l,l=p.from;let h=Tjt.build(o.setDoc(a),e,d,u);n=n.replace(l,c,h)}return n.updateHeight(o,0)}static empty(){return new sk(0,0)}static of(e){if(e.length==1)return e[0];let i=0,o=e.length,r=0,n=0;for(;;)if(i==o)if(r>n*2){let s=e[i-1];s.break?e.splice(--i,1,s.left,null,s.right):e.splice(--i,1,s.left,s.right),o+=1+s.break,r-=s.size}else if(n>r*2){let s=e[o];s.break?e.splice(o,1,s.left,null,s.right):e.splice(o,1,s.left,s.right),o+=2+s.break,n-=s.size}else break;else if(r<n){let s=e[i++];s&&(r+=s.size)}else{let s=e[--o];s&&(n+=s.size)}let a=0;return e[i-1]==null?(a=1,i--):e[i]==null&&(a=1,o++),new xjt(t.of(e.slice(0,i)),a,t.of(e.slice(o)))}};fE.prototype.size=1;var Mit=class extends fE{constructor(e,i,o){super(e,i),this.deco=o}blockAt(e,i,o,r){return new Hz(r,this.length,o,this.height,this.deco||0)}lineAt(e,i,o,r,n){return this.blockAt(0,o,r,n)}forEachLine(e,i,o,r,n,a){e<=n+this.length&&i>=n&&a(this.blockAt(0,o,r,n))}updateHeight(e,i=0,o=!1,r){return r&&r.from<=i&&r.more&&this.setHeight(e,r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}},sk=class t extends Mit{constructor(e,i){super(e,i,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,i,o,r){return new Hz(r,this.length,o,this.height,this.breaks)}replace(e,i,o){let r=o[0];return o.length==1&&(r instanceof t||r instanceof V$&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof V$?r=new t(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):fE.of(o)}updateHeight(e,i=0,o=!1,r){return r&&r.from<=i&&r.more?this.setHeight(e,r.heights[r.index++]):(o||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}},V$=class t extends fE{constructor(e){super(e,0)}heightMetrics(e,i){let o=e.doc.lineAt(i).number,r=e.doc.lineAt(i+this.length).number,n=r-o+1,a,s=0;if(e.lineWrapping){let l=Math.min(this.height,e.lineHeight*n);a=l/n,this.length>n+1&&(s=(this.height-l)/(this.length-n-1))}else a=this.height/n;return{firstLine:o,lastLine:r,perLine:a,perChar:s}}blockAt(e,i,o,r){let{firstLine:n,lastLine:a,perLine:s,perChar:l}=this.heightMetrics(i,r);if(i.lineWrapping){let c=r+(e<i.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-o)/this.height))*this.length)),d=i.doc.lineAt(c),u=s+d.length*l,p=Math.max(o,e-u/2);return new Hz(d.from,d.length,p,u,0)}else{let c=Math.max(0,Math.min(a-n,Math.floor((e-o)/s))),{from:d,length:u}=i.doc.line(n+c);return new Hz(d,u,o+s*c,s,0)}}lineAt(e,i,o,r,n){if(i==Ih.ByHeight)return this.blockAt(e,o,r,n);if(i==Ih.ByPosNoHeight){let{from:m,to:h}=o.doc.lineAt(e);return new Hz(m,h-m,0,0,0)}let{firstLine:a,perLine:s,perChar:l}=this.heightMetrics(o,n),c=o.doc.lineAt(e),d=s+c.length*l,u=c.number-a,p=r+s*u+l*(c.from-n-u);return new Hz(c.from,c.length,Math.max(r,Math.min(p,r+this.height-d)),d,0)}forEachLine(e,i,o,r,n,a){e=Math.max(e,n),i=Math.min(i,n+this.length);let{firstLine:s,perLine:l,perChar:c}=this.heightMetrics(o,n);for(let d=e,u=r;d<=i;){let p=o.doc.lineAt(d);if(d==e){let h=p.number-s;u+=l*h+c*(e-n-h)}let m=l+c*p.length;a(new Hz(p.from,p.length,u,m,0)),u+=m,d=p.to+1}}replace(e,i,o){let r=this.length-i;if(r>0){let n=o[o.length-1];n instanceof t?o[o.length-1]=new t(n.length+r):o.push(null,new t(r-1))}if(e>0){let n=o[0];n instanceof t?o[0]=new t(e+n.length):o.unshift(new t(e-1),null)}return fE.of(o)}decomposeLeft(e,i){i.push(new t(e-1),null)}decomposeRight(e,i){i.push(null,new t(this.length-e-1))}updateHeight(e,i=0,o=!1,r){let n=i+this.length;if(r&&r.from<=i+this.length&&r.more){let a=[],s=Math.max(i,r.from),l=-1;for(r.from>i&&a.push(new t(r.from-i-1).updateHeight(e,i));s<=n&&r.more;){let d=e.doc.lineAt(s).length;a.length&&a.push(null);let u=r.heights[r.index++];l==-1?l=u:Math.abs(u-l)>=fit&&(l=-2);let p=new sk(d,u);p.outdated=!1,a.push(p),s+=d+1}s<=n&&a.push(null,new t(n-s).updateHeight(e,s));let c=fE.of(a);return(l<0||Math.abs(c.height-this.height)>=fit||Math.abs(l-this.heightMetrics(e,i).perLine)>=fit)&&(e.heightChanged=!0),c}else(o||this.outdated)&&(this.setHeight(e,e.heightForGap(i,i+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}},xjt=class extends fE{constructor(e,i,o){super(e.length+i+o.length,e.height+o.height,i|(e.outdated||o.outdated?2:0)),this.left=e,this.right=o,this.size=e.size+o.size}get break(){return this.flags&1}blockAt(e,i,o,r){let n=o+this.left.height;return e<n?this.left.blockAt(e,i,o,r):this.right.blockAt(e,i,n,r+this.left.length+this.break)}lineAt(e,i,o,r,n){let a=r+this.left.height,s=n+this.left.length+this.break,l=i==Ih.ByHeight?e<a:e<s,c=l?this.left.lineAt(e,i,o,r,n):this.right.lineAt(e,i,o,a,s);if(this.break||(l?c.to<s:c.from>s))return c;let d=i==Ih.ByPosNoHeight?Ih.ByPosNoHeight:Ih.ByPos;return l?c.join(this.right.lineAt(s,d,o,a,s)):this.left.lineAt(s,d,o,r,n).join(c)}forEachLine(e,i,o,r,n,a){let s=r+this.left.height,l=n+this.left.length+this.break;if(this.break)e<l&&this.left.forEachLine(e,i,o,r,n,a),i>=l&&this.right.forEachLine(e,i,o,s,l,a);else{let c=this.lineAt(l,Ih.ByPos,o,r,n);e<c.from&&this.left.forEachLine(e,c.from-1,o,r,n,a),c.to>=e&&c.from<=i&&a(c),i>c.to&&this.right.forEachLine(c.to+1,i,o,s,l,a)}}replace(e,i,o){let r=this.left.length+this.break;if(i<r)return this.balanced(this.left.replace(e,i,o),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-r,i-r,o));let n=[];e>0&&this.decomposeLeft(e,n);let a=n.length;for(let s of o)n.push(s);if(e>0&&Ofo(n,a-1),i<this.length){let s=n.length;this.decomposeRight(i,n),Ofo(n,s)}return fE.of(n)}decomposeLeft(e,i){let o=this.left.length;if(e<=o)return this.left.decomposeLeft(e,i);i.push(this.left),this.break&&(o++,e>=o&&i.push(null)),e>o&&this.right.decomposeLeft(e-o,i)}decomposeRight(e,i){let o=this.left.length,r=o+this.break;if(e>=r)return this.right.decomposeRight(e-r,i);e<o&&this.left.decomposeRight(e,i),this.break&&e<r&&i.push(null),i.push(this.right)}balanced(e,i){return e.size>2*i.size||i.size>2*e.size?fE.of(this.break?[e,null,i]:[e,i]):(this.left=e,this.right=i,this.height=e.height+i.height,this.outdated=e.outdated||i.outdated,this.size=e.size+i.size,this.length=e.length+this.break+i.length,this)}updateHeight(e,i=0,o=!1,r){let{left:n,right:a}=this,s=i+n.length+this.break,l=null;return r&&r.from<=i+n.length&&r.more?l=n=n.updateHeight(e,i,o,r):n.updateHeight(e,i,o),r&&r.from<=s+a.length&&r.more?l=a=a.updateHeight(e,s,o,r):a.updateHeight(e,s,o),l?this.balanced(n,a):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}};function Ofo(t,e){let i,o;t[e]==null&&(i=t[e-1])instanceof V$&&(o=t[e+1])instanceof V$&&t.splice(e-1,3,new V$(i.length+1+o.length))}var CVr=5,Tjt=class t{constructor(e,i){this.pos=e,this.oracle=i,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,i){if(this.lineStart>-1){let o=Math.min(i,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof sk?r.length+=o-this.pos:(o>this.pos||!this.isCovered)&&this.nodes.push(new sk(o-this.pos,-1)),this.writtenTo=o,i>o&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=i}point(e,i,o){if(e<i||o.heightRelevant){let r=o.widget?o.widget.estimatedHeight:0,n=o.widget?o.widget.lineBreaks:0;r<0&&(r=this.oracle.lineHeight);let a=i-e;o.block?this.addBlock(new Mit(a,r,o)):(a||n||r>=CVr)&&this.addLineDeco(r,n,a)}else i>e&&this.span(e,i);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:i}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=i,this.writtenTo<e&&((this.writtenTo<e-1||this.nodes[this.nodes.length-1]==null)&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new sk(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,i){let o=new V$(i-e);return this.oracle.doc.lineAt(e).to==i&&(o.flags|=4),o}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof sk)return e;let i=new sk(0,-1);return this.nodes.push(i),i}addBlock(e){this.enterLine();let i=e.deco;i&&i.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,i&&i.endSide>0&&(this.covering=e)}addLineDeco(e,i,o){let r=this.ensureLine();r.length+=o,r.collapsed+=o,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=i,this.writtenTo=this.pos=this.pos+o}finish(e){let i=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(i instanceof sk)&&!this.isCovered?this.nodes.push(new sk(0,-1)):(this.writtenTo<this.pos||i==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let o=e;for(let r of this.nodes)r instanceof sk&&r.updateHeight(this.oracle,o),o+=r?r.length:1;return this.nodes}static build(e,i,o,r){let n=new t(o,e);return x0.spans(i,o,r,n,0),n.finish(o)}};function xVr(t,e,i){let o=new Sjt;return x0.compare(t,e,i,o,0),o.changes}var Sjt=class{constructor(){this.changes=[]}compareRange(){}comparePoint(e,i,o,r){(e<i||o&&o.heightRelevant||r&&r.heightRelevant)&&cjt(e,i,this.changes,5)}};function TVr(t,e){let i=t.getBoundingClientRect(),o=t.ownerDocument,r=o.defaultView||window,n=Math.max(0,i.left),a=Math.min(r.innerWidth,i.right),s=Math.max(0,i.top),l=Math.min(r.innerHeight,i.bottom);for(let c=t.parentNode;c&&c!=o.body;)if(c.nodeType==1){let d=c,u=window.getComputedStyle(d);if((d.scrollHeight>d.clientHeight||d.scrollWidth>d.clientWidth)&&u.overflow!="visible"){let p=d.getBoundingClientRect();n=Math.max(n,p.left),a=Math.min(a,p.right),s=Math.max(s,p.top),l=c==t.parentNode?p.bottom:Math.min(l,p.bottom)}c=u.position=="absolute"||u.position=="fixed"?d.offsetParent:d.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:n-i.left,right:Math.max(n,a)-i.left,top:s-(i.top+e),bottom:Math.max(s,l)-(i.top+e)}}function SVr(t,e){let i=t.getBoundingClientRect();return{left:0,right:i.right-i.left,top:e,bottom:i.bottom-(i.top+e)}}var sLe=class{constructor(e,i,o){this.from=e,this.to=i,this.size=o}static same(e,i){if(e.length!=i.length)return!1;for(let o=0;o<e.length;o++){let r=e[o],n=i[o];if(r.from!=n.from||r.to!=n.to||r.size!=n.size)return!1}return!0}draw(e,i){return ra.replace({widget:new Mjt(this.size*(i?e.scaleY:e.scaleX),i)}).range(this.from,this.to)}},Mjt=class extends mL{constructor(e,i){super(),this.size=e,this.vertical=i}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}get estimatedHeight(){return this.vertical?this.size:-1}},Iit=class{constructor(e){this.state=e,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!1,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=Rfo,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=wp.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let i=e.facet(Kjt).some(o=>typeof o!="function"&&o.class=="cm-lineWrapping");this.heightOracle=new wjt(i),this.stateDeco=e.facet(gLe).filter(o=>typeof o!="function"),this.heightMap=fE.empty().applyChanges(this.stateDeco,$d.empty,this.heightOracle.setDoc(e.doc),[new Yz(0,0,0,e.doc.length)]);for(let o=0;o<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());o++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=ra.set(this.lineGaps.map(o=>o.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:i}=this.state.selection;for(let o=0;o<=1;o++){let r=o?i.head:i.anchor;if(!e.some(({from:n,to:a})=>r>=n&&r<=a)){let{from:n,to:a}=this.lineBlockAt(r);e.push(new P2e(n,a))}}return this.viewports=e.sort((o,r)=>o.from-r.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?Rfo:new Ijt(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(eLe(e,this.scaler))})}update(e,i=null){this.state=e.state;let o=this.stateDeco;this.stateDeco=this.state.facet(gLe).filter(d=>typeof d!="function");let r=e.changedRanges,n=Yz.extendWithRanges(r,xVr(o,this.stateDeco,e?e.changes:KM.empty(this.state.doc.length))),a=this.heightMap.height,s=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),n),this.heightMap.height!=a&&(e.flags|=2),s?(this.scrollAnchorPos=e.changes.mapPos(s.from,-1),this.scrollAnchorHeight=s.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let l=n.length?this.mapViewport(this.viewport,e.changes):this.viewport;(i&&(i.range.head<l.from||i.range.head>l.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,i));let c=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,e.flags|=this.updateForViewport(),(c||!e.changes.empty||e.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),i&&(this.scrollTarget=i),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(Mgo)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let i=e.contentDOM,o=window.getComputedStyle(i),r=this.heightOracle,n=o.whiteSpace;this.defaultTextDirection=o.direction=="rtl"?wp.RTL:wp.LTR;let a=this.heightOracle.mustRefreshForWrapping(n),s=i.getBoundingClientRect(),l=a||this.mustMeasureContent||this.contentDOMHeight!=s.height;this.contentDOMHeight=s.height,this.mustMeasureContent=!1;let c=0,d=0;if(s.width&&s.height){let{scaleX:x,scaleY:S}=Xfo(i,s);(x>.005&&Math.abs(this.scaleX-x)>.005||S>.005&&Math.abs(this.scaleY-S)>.005)&&(this.scaleX=x,this.scaleY=S,c|=8,a=l=!0)}let u=(parseInt(o.paddingTop)||0)*this.scaleY,p=(parseInt(o.paddingBottom)||0)*this.scaleY;(this.paddingTop!=u||this.paddingBottom!=p)&&(this.paddingTop=u,this.paddingBottom=p,c|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=8);let m=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=m&&(this.scrollAnchorHeight=-1,this.scrollTop=m),this.scrolledToBottom=tgo(e.scrollDOM);let h=(this.printing?SVr:TVr)(i,this.paddingTop),f=h.top-this.pixelViewport.top,g=h.bottom-this.pixelViewport.bottom;this.pixelViewport=h;let b=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(b!=this.inView&&(this.inView=b,b&&(l=!0)),!this.inView&&!this.scrollTarget)return 0;let y=s.width;if((this.contentDOMWidth!=y||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=s.width,this.editorHeight=e.scrollDOM.clientHeight,c|=8),l){let x=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(x)&&(a=!0),a||r.lineWrapping&&Math.abs(y-this.contentDOMWidth)>r.charWidth){let{lineHeight:S,charWidth:T,textHeight:M}=e.docView.measureTextSize();a=S>0&&r.refresh(n,S,T,M,y/T,x),a&&(e.docView.minWidth=0,c|=8)}f>0&&g>0?d=Math.max(f,g):f<0&&g<0&&(d=Math.min(f,g)),r.heightChanged=!1;for(let S of this.viewports){let T=S.from==this.viewport.from?x:e.docView.measureVisibleLineHeights(S);this.heightMap=(a?fE.empty().applyChanges(this.stateDeco,$d.empty,this.heightOracle,[new Yz(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,a,new Cjt(S.from,T))}r.heightChanged&&(c|=2)}let w=!this.viewportIsAppropriate(this.viewport,d)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return w&&(c&2&&(c|=this.updateScaler()),this.viewport=this.getViewport(d,this.scrollTarget),c|=this.updateForViewport()),(c&2||w)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,i){let o=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,n=this.heightOracle,{visibleTop:a,visibleBottom:s}=this,l=new P2e(r.lineAt(a-o*1e3,Ih.ByHeight,n,0,0).from,r.lineAt(s+(1-o)*1e3,Ih.ByHeight,n,0,0).to);if(i){let{head:c}=i.range;if(c<l.from||c>l.to){let d=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),u=r.lineAt(c,Ih.ByPos,n,0,0),p;i.y=="center"?p=(u.top+u.bottom)/2-d/2:i.y=="start"||i.y=="nearest"&&c<l.from?p=u.top:p=u.bottom-d,l=new P2e(r.lineAt(p-1e3/2,Ih.ByHeight,n,0,0).from,r.lineAt(p+d+1e3/2,Ih.ByHeight,n,0,0).to)}}return l}mapViewport(e,i){let o=i.mapPos(e.from,-1),r=i.mapPos(e.to,1);return new P2e(this.heightMap.lineAt(o,Ih.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(r,Ih.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:i},o=0){if(!this.inView)return!0;let{top:r}=this.heightMap.lineAt(e,Ih.ByPos,this.heightOracle,0,0),{bottom:n}=this.heightMap.lineAt(i,Ih.ByPos,this.heightOracle,0,0),{visibleTop:a,visibleBottom:s}=this;return(e==0||r<=a-Math.max(10,Math.min(-o,250)))&&(i==this.state.doc.length||n>=s+Math.max(10,Math.min(o,250)))&&r>a-2*1e3&&n<s+2*1e3}mapLineGaps(e,i){if(!e.length||i.empty)return e;let o=[];for(let r of e)i.touchesRange(r.from,r.to)||o.push(new sLe(i.mapPos(r.from),i.mapPos(r.to),r.size));return o}ensureLineGaps(e,i){let o=this.heightOracle.lineWrapping,r=o?1e4:2e3,n=r>>1,a=r<<1;if(this.defaultTextDirection!=wp.LTR&&!o)return[];let s=[],l=(d,u,p,m)=>{if(u-d<n)return;let h=this.state.selection.main,f=[h.from];h.empty||f.push(h.to);for(let b of f)if(b>d&&b<u){l(d,b-10,p,m),l(b+10,u,p,m);return}let g=IVr(e,b=>b.from>=p.from&&b.to<=p.to&&Math.abs(b.from-d)<n&&Math.abs(b.to-u)<n&&!f.some(y=>b.from<y&&b.to>y));if(!g){if(u<p.to&&i&&o&&i.visibleRanges.some(b=>b.from<=u&&b.to>=u)){let b=i.moveToLineBoundary(Fo.cursor(u),!1,!0).head;b>d&&(u=b)}g=new sLe(d,u,this.gapSize(p,d,u,m))}s.push(g)},c=d=>{if(d.length<a||d.type!=JM.Text)return;let u=MVr(d.from,d.to,this.stateDeco);if(u.total<a)return;let p=this.scrollTarget?this.scrollTarget.range.head:null,m,h;if(o){let f=r/this.heightOracle.lineLength*this.heightOracle.lineHeight,g,b;if(p!=null){let y=cit(u,p),w=((this.visibleBottom-this.visibleTop)/2+f)/d.height;g=y-w,b=y+w}else g=(this.visibleTop-d.top-f)/d.height,b=(this.visibleBottom-d.top+f)/d.height;m=lit(u,g),h=lit(u,b)}else{let f=u.total*this.heightOracle.charWidth,g=r*this.heightOracle.charWidth,b,y;if(p!=null){let w=cit(u,p),x=((this.pixelViewport.right-this.pixelViewport.left)/2+g)/f;b=w-x,y=w+x}else b=(this.pixelViewport.left-g)/f,y=(this.pixelViewport.right+g)/f;m=lit(u,b),h=lit(u,y)}m>d.from&&l(d.from,m,d,u),h<d.to&&l(h,d.to,d,u)};for(let d of this.viewportLines)Array.isArray(d.type)?d.type.forEach(c):c(d);return s}gapSize(e,i,o,r){let n=cit(r,o)-cit(r,i);return this.heightOracle.lineWrapping?e.height*n:r.total*this.heightOracle.charWidth*n}updateLineGaps(e){sLe.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=ra.set(e.map(i=>i.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let i=[];x0.spans(e,this.viewport.from,this.viewport.to,{span(r,n){i.push({from:r,to:n})},point(){}},20);let o=i.length!=this.visibleRanges.length||this.visibleRanges.some((r,n)=>r.from!=i[n].from||r.to!=i[n].to);return this.visibleRanges=i,o?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(i=>i.from<=e&&i.to>=e)||eLe(this.heightMap.lineAt(e,Ih.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(i=>i.top<=e&&i.bottom>=e)||eLe(this.heightMap.lineAt(this.scaler.fromDOM(e),Ih.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let i=this.lineBlockAtHeight(e+8);return i.from>=this.viewport.from||this.viewportLines[0].top-e>200?i:this.viewportLines[0]}elementAtHeight(e){return eLe(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}},P2e=class{constructor(e,i){this.from=e,this.to=i}};function MVr(t,e,i){let o=[],r=t,n=0;return x0.spans(i,t,e,{span(){},point(a,s){a>r&&(o.push({from:r,to:a}),n+=a-r),r=s}},20),r<e&&(o.push({from:r,to:e}),n+=e-r),{total:n,ranges:o}}function lit({total:t,ranges:e},i){if(i<=0)return e[0].from;if(i>=1)return e[e.length-1].to;let o=Math.floor(t*i);for(let r=0;;r++){let{from:n,to:a}=e[r],s=a-n;if(o<=s)return n+o;o-=s}}function cit(t,e){let i=0;for(let{from:o,to:r}of t.ranges){if(e<=r){i+=e-o;break}i+=r-o}return i/t.total}function IVr(t,e){for(let i of t)if(e(i))return i}var Rfo={toDOM(t){return t},fromDOM(t){return t},scale:1,eq(t){return t==this}},Ijt=class t{constructor(e,i,o){let r=0,n=0,a=0;this.viewports=o.map(({from:s,to:l})=>{let c=i.lineAt(s,Ih.ByPos,e,0,0).top,d=i.lineAt(l,Ih.ByPos,e,0,0).bottom;return r+=d-c,{from:s,to:l,top:c,bottom:d,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(i.height-r);for(let s of this.viewports)s.domTop=a+(s.top-n)*this.scale,a=s.domBottom=s.domTop+(s.bottom-s.top),n=s.bottom}toDOM(e){for(let i=0,o=0,r=0;;i++){let n=i<this.viewports.length?this.viewports[i]:null;if(!n||e<n.top)return r+(e-o)*this.scale;if(e<=n.bottom)return n.domTop+(e-n.top);o=n.bottom,r=n.domBottom}}fromDOM(e){for(let i=0,o=0,r=0;;i++){let n=i<this.viewports.length?this.viewports[i]:null;if(!n||e<n.domTop)return o+(e-r)/this.scale;if(e<=n.domBottom)return n.top+(e-n.domTop);o=n.bottom,r=n.domBottom}}eq(e){return e instanceof t?this.scale==e.scale&&this.viewports.length==e.viewports.length&&this.viewports.every((i,o)=>i.from==e.viewports[o].from&&i.to==e.viewports[o].to):!1}};function eLe(t,e){if(e.scale==1)return t;let i=e.toDOM(t.top),o=e.toDOM(t.bottom);return new Hz(t.from,t.length,i,o-i,Array.isArray(t._content)?t._content.map(r=>eLe(r,e)):t._content)}var dit=un.define({combine:t=>t.join(" ")}),Ljt=un.define({combine:t=>t.indexOf(!0)>-1}),vjt=ak.newName(),Hgo=ak.newName(),Ggo=ak.newName(),Ygo={"&light":"."+Hgo,"&dark":"."+Ggo};function Djt(t,e,i){return new ak(e,{finish(o){return/&/.test(o)?o.replace(/&\w*/,r=>{if(r=="&")return t;if(!i||!i[r])throw new RangeError(`Unsupported selector: ${r}`);return i[r]}):t+" "+o}})}var LVr=Djt("."+vjt,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Ygo),tLe="\uFFFF",Ejt=class{constructor(e,i){this.points=e,this.text="",this.lineSeparator=i.facet(vd.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=tLe}readRange(e,i){if(!e)return this;let o=e.parentNode;for(let r=e;;){this.findPointBefore(o,r);let n=this.text.length;this.readNode(r);let a=r.nextSibling;if(a==i)break;let s=z1.get(r),l=z1.get(a);(s&&l?s.breakAfter:(s?s.breakAfter:wit(r))||wit(a)&&(r.nodeName!="BR"||r.cmIgnore)&&this.text.length>n)&&this.lineBreak(),r=a}return this.findPointBefore(o,i),this}readTextNode(e){let i=e.nodeValue;for(let o of this.points)o.node==e&&(o.pos=this.text.length+Math.min(o.offset,i.length));for(let o=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let n=-1,a=1,s;if(this.lineSeparator?(n=i.indexOf(this.lineSeparator,o),a=this.lineSeparator.length):(s=r.exec(i))&&(n=s.index,a=s[0].length),this.append(i.slice(o,n<0?i.length:n)),n<0)break;if(this.lineBreak(),a>1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=a-1);o=n+a}}readNode(e){if(e.cmIgnore)return;let i=z1.get(e),o=i&&i.overrideDOMText;if(o!=null){this.findPointInside(e,o.length);for(let r=o.iter();!r.next().done;)r.lineBreak?this.lineBreak():this.append(r.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,i){for(let o of this.points)o.node==e&&e.childNodes[o.offset]==i&&(o.pos=this.text.length)}findPointInside(e,i){for(let o of this.points)(e.nodeType==3?o.node==e:e.contains(o.node))&&(o.pos=this.text.length+(vVr(e,o.node,o.offset)?i:0))}};function vVr(t,e,i){for(;;){if(!e||i<bW(e))return!1;if(e==t)return!0;i=Ese(e)+1,e=e.parentNode}}var Lit=class{constructor(e,i){this.node=e,this.offset=i,this.pos=-1}},Ajt=class{constructor(e,i,o,r){this.typeOver=r,this.bounds=null,this.text="",this.domChanged=i>-1;let{impreciseHead:n,impreciseAnchor:a}=e.docView;if(e.state.readOnly&&i>-1)this.newSel=null;else if(i>-1&&(this.bounds=e.docView.domBoundsAround(i,o,0))){let s=n||a?[]:AVr(e),l=new Ejt(s,e.state);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=NVr(s,this.bounds.from)}else{let s=e.observer.selectionRange,l=n&&n.node==s.focusNode&&n.offset==s.focusOffset||!ijt(e.contentDOM,s.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(s.focusNode,s.focusOffset),c=a&&a.node==s.anchorNode&&a.offset==s.anchorOffset||!ijt(e.contentDOM,s.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(s.anchorNode,s.anchorOffset),d=e.viewport;if((oa.ios||oa.chrome)&&e.state.selection.main.empty&&l!=c&&(d.from>0||d.to<e.state.doc.length)){let u=Math.min(l,c),p=Math.max(l,c),m=d.from-u,h=d.to-p;(m==0||m==1||u==0)&&(h==0||h==-1||p==e.state.doc.length)&&(l=0,c=e.state.doc.length)}this.newSel=Fo.single(c,l)}}};function Wgo(t,e){let i,{newSel:o}=e,r=t.state.selection.main,n=t.inputState.lastKeyTime>Date.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:a,to:s}=e.bounds,l=r.from,c=null;(n===8||oa.android&&e.text.length<s-a)&&(l=r.to,c="end");let d=EVr(t.state.doc.sliceString(a,s,tLe),e.text,l-a,c);d&&(oa.chrome&&n==13&&d.toB==d.from+2&&e.text.slice(d.from,d.toB)==tLe+tLe&&d.toB--,i={from:a+d.from,to:a+d.toA,insert:$d.of(e.text.slice(d.from,d.toB).split(tLe))})}else o&&(!t.hasFocus&&t.state.facet(Oit)||o.main.eq(r))&&(o=null);if(!i&&!o)return!1;if(!i&&e.typeOver&&!r.empty&&o&&o.main.empty?i={from:r.from,to:r.to,insert:t.state.doc.slice(r.from,r.to)}:i&&i.from>=r.from&&i.to<=r.to&&(i.from!=r.from||i.to!=r.to)&&r.to-r.from-(i.to-i.from)<=4?i={from:r.from,to:r.to,insert:t.state.doc.slice(r.from,i.from).append(i.insert).append(t.state.doc.slice(i.to,r.to))}:(oa.mac||oa.android)&&i&&i.from==i.to&&i.from==r.head-1&&/^\. ?$/.test(i.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(o&&i.insert.length==2&&(o=Fo.single(o.main.anchor-1,o.main.head-1)),i={from:r.from,to:r.to,insert:$d.of([" "])}):oa.chrome&&i&&i.from==i.to&&i.from==r.head&&i.insert.toString()==`
 `&&t.lineWrapping&&(o&&(o=Fo.single(o.main.anchor-1,o.main.head-1)),i={from:r.from,to:r.to,insert:$d.of([" "])}),i)return Qgo(t,i,o,n);if(o&&!o.main.eq(r)){let a=!1,s="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(a=!0),s=t.inputState.lastSelectionOrigin),t.dispatch({selection:o,scrollIntoView:a,userEvent:s}),!0}else return!1}function Qgo(t,e,i,o=-1){if(oa.ios&&t.inputState.flushIOSKey(e))return!0;let r=t.state.selection.main;if(oa.android&&(e.to==r.to&&(e.from==r.from||e.from==r.from-1&&t.state.sliceDoc(e.from,r.from)==" ")&&e.insert.length==1&&e.insert.lines==2&&_2e(t.contentDOM,"Enter",13)||(e.from==r.from-1&&e.to==r.to&&e.insert.length==0||o==8&&e.insert.length<e.to-e.from&&e.to>r.head)&&_2e(t.contentDOM,"Backspace",8)||e.from==r.from&&e.to==r.to+1&&e.insert.length==0&&_2e(t.contentDOM,"Delete",46)))return!0;let n=e.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let a,s=()=>a||(a=DVr(t,e,i));return t.state.facet(xgo).some(l=>l(t,e.from,e.to,n,s))||t.dispatch(s()),!0}function DVr(t,e,i){let o,r=t.state,n=r.selection.main;if(e.from>=n.from&&e.to<=n.to&&e.to-e.from>=(n.to-n.from)/3&&(!i||i.main.empty&&i.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let s=n.from<e.from?r.sliceDoc(n.from,e.from):"",l=n.to>e.to?r.sliceDoc(e.to,n.to):"";o=r.replaceSelection(t.state.toText(s+e.insert.sliceString(0,void 0,t.state.lineBreak)+l))}else{let s=r.changes(e),l=i&&i.main.to<=s.newLength?i.main:void 0;if(r.selection.ranges.length>1&&t.inputState.composing>=0&&e.to<=n.to&&e.to>=n.to-10){let c=t.state.sliceDoc(e.from,e.to),d,u=i&&kgo(t,i.main.head);if(u){let h=e.insert.length-(e.to-e.from);d={from:u.from,to:u.to-h}}else d=t.state.doc.lineAt(n.head);let p=n.to-e.to,m=n.to-n.from;o=r.changeByRange(h=>{if(h.from==n.from&&h.to==n.to)return{changes:s,range:l||h.map(s)};let f=h.to-p,g=f-c.length;if(h.to-h.from!=m||t.state.sliceDoc(g,f)!=c||h.to>=d.from&&h.from<=d.to)return{range:h};let b=r.changes({from:g,to:f,insert:e.insert}),y=h.to-n.to;return{changes:b,range:l?Fo.range(Math.max(0,l.anchor+y),Math.max(0,l.head+y)):h.map(b)}})}else o={changes:s,selection:l&&r.selection.replaceRange(l)}}let a="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,a+=".compose",t.inputState.compositionFirstChange&&(a+=".start",t.inputState.compositionFirstChange=!1)),r.update(o,{userEvent:a,scrollIntoView:!0})}function EVr(t,e,i,o){let r=Math.min(t.length,e.length),n=0;for(;n<r&&t.charCodeAt(n)==e.charCodeAt(n);)n++;if(n==r&&t.length==e.length)return null;let a=t.length,s=e.length;for(;a>0&&s>0&&t.charCodeAt(a-1)==e.charCodeAt(s-1);)a--,s--;if(o=="end"){let l=Math.max(0,n-Math.min(a,s));i-=a+l-n}if(a<n&&t.length<e.length){let l=i<=n&&i>=a?n-i:0;n-=l,s=n+(s-a),a=n}else if(s<n){let l=i<=n&&i>=s?n-i:0;n-=l,a=n+(a-s),s=n}return{from:n,toA:a,toB:s}}function AVr(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:i,anchorOffset:o,focusNode:r,focusOffset:n}=t.observer.selectionRange;return i&&(e.push(new Lit(i,o)),(r!=i||n!=o)&&e.push(new Lit(r,n))),e}function NVr(t,e){if(t.length==0)return null;let i=t[0].pos,o=t.length==2?t[1].pos:i;return i>-1&&o>-1?Fo.single(i+e,o+e):null}var kVr={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},X_t=oa.ie&&oa.ie_version<=11,Njt=class{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new ojt,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(i=>{for(let o of i)this.queue.push(o);(oa.ie&&oa.ie_version<=11||oa.ios&&e.composing)&&i.some(o=>o.type=="childList"&&o.removedNodes.length||o.type=="characterData"&&o.oldValue.length>o.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&e.constructor.EDIT_CONTEXT!==!1&&(this.editContext=new kjt(e),e.contentDOM.editContext=this.editContext.editContext),X_t&&(this.onCharData=i=>{this.queue.push({target:i.target,type:"characterData",oldValue:i.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var i;((i=this.view.docView)===null||i===void 0?void 0:i.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(e.scrollDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(i=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),i.length>0&&i[i.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(i=>{i.length>0&&i[i.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){e.type=="change"&&!e.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((i,o)=>i!=e[o]))){this.gapIntersection.disconnect();for(let i of e)this.gapIntersection.observe(i);this.gaps=e}}onSelectionChange(e){let i=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:o}=this,r=this.selectionRange;if(o.state.facet(Oit)?o.root.activeElement!=this.dom:!mit(o.dom,r))return;let n=r.anchorNode&&o.docView.nearest(r.anchorNode);if(n&&n.ignoreEvent(e)){i||(this.selectionChanged=!1);return}(oa.ie&&oa.ie_version<=11||oa.android&&oa.chrome)&&!o.state.selection.main.empty&&r.focusNode&&oLe(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,i=dLe(e.root);if(!i)return!1;let o=oa.safari&&e.root.nodeType==11&&SUr(this.dom.ownerDocument)==this.dom&&PVr(this.view,i)||i;if(!o||this.selectionRange.eq(o))return!1;let r=mit(this.dom,o);return r&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&DUr(this.dom,o)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(o),r&&(this.selectionChanged=!0),!0)}setSelectionRange(e,i){this.selectionRange.set(e.node,e.offset,i.node,i.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,i=null;for(let o=this.dom;o;)if(o.nodeType==1)!i&&e<this.scrollTargets.length&&this.scrollTargets[e]==o?e++:i||(i=this.scrollTargets.slice(0,e)),i&&i.push(o),o=o.assignedSlot||o.parentNode;else if(o.nodeType==11)o=o.host;else break;if(e<this.scrollTargets.length&&!i&&(i=this.scrollTargets.slice(0,e)),i){for(let o of this.scrollTargets)o.removeEventListener("scroll",this.onScroll);for(let o of this.scrollTargets=i)o.addEventListener("scroll",this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,kVr),X_t&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),X_t&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,i){var o;if(!this.delayedAndroidKey){let r=()=>{let n=this.delayedAndroidKey;n&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=n.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&n.force&&_2e(this.dom,n.key,n.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(r)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:i,force:this.lastChange<Date.now()-50||!!(!((o=this.delayedAndroidKey)===null||o===void 0)&&o.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let i=-1,o=-1,r=!1;for(let n of e){let a=this.readMutation(n);a&&(a.typeOver&&(r=!0),i==-1?{from:i,to:o}=a:(i=Math.min(a.from,i),o=Math.max(a.to,o)))}return{from:i,to:o,typeOver:r}}readChange(){let{from:e,to:i,typeOver:o}=this.processRecords(),r=this.selectionChanged&&mit(this.dom,this.selectionRange);if(e<0&&!r)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let n=new Ajt(this.view,e,i,o);return this.view.docView.domChanged={newSel:n.newSel?n.newSel.main:null},n}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let i=this.readChange();if(!i)return this.view.requestMeasure(),!1;let o=this.view.state,r=Wgo(this.view,i);return this.view.state==o&&(i.domChanged||i.newSel&&!i.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),r}readMutation(e){let i=this.view.docView.nearest(e.target);if(!i||i.ignoreMutation(e))return null;if(i.markDirty(e.type=="attributes"),e.type=="attributes"&&(i.flags|=4),e.type=="childList"){let o=_fo(i,e.previousSibling||e.target.previousSibling,-1),r=_fo(i,e.nextSibling||e.target.nextSibling,1);return{from:o?i.posAfter(o):i.posAtStart,to:r?i.posBefore(r):i.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:i.posAtStart,to:i.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener("change",this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener("change",this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&this.editContext.update(e)}destroy(){var e,i,o;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(i=this.gapIntersection)===null||i===void 0||i.disconnect(),(o=this.resizeScroll)===null||o===void 0||o.disconnect();for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}};function _fo(t,e,i){for(;e;){let o=z1.get(e);if(o&&o.parent==t)return o;let r=e.parentNode;e=r!=t.dom?r:i>0?e.nextSibling:e.previousSibling}return null}function jfo(t,e){let i=e.startContainer,o=e.startOffset,r=e.endContainer,n=e.endOffset,a=t.docView.domAtPos(t.state.selection.main.anchor);return oLe(a.node,a.offset,r,n)&&([i,o,r,n]=[r,n,i,o]),{anchorNode:i,anchorOffset:o,focusNode:r,focusOffset:n}}function PVr(t,e){if(e.getComposedRanges){let r=e.getComposedRanges(t.root)[0];if(r)return jfo(t,r)}let i=null;function o(r){r.preventDefault(),r.stopImmediatePropagation(),i=r.getTargetRanges()[0]}return t.contentDOM.addEventListener("beforeinput",o,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",o,!0),i?jfo(t,i):null}var kjt=class{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.resetRange(e.state);let i=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});i.addEventListener("textupdate",o=>{let{anchor:r}=e.state.selection.main,n={from:this.toEditorPos(o.updateRangeStart),to:this.toEditorPos(o.updateRangeEnd),insert:$d.of(o.text.split(`
`))};n.from==this.from&&r<this.from?n.from=r:n.to==this.to&&r>this.to&&(n.to=r),!(n.from==n.to&&!n.insert.length)&&(this.pendingContextChange=n,Qgo(e,n,Fo.single(this.toEditorPos(o.selectionStart),this.toEditorPos(o.selectionEnd))),this.pendingContextChange&&this.revertPending(e.state))}),i.addEventListener("characterboundsupdate",o=>{let r=[],n=null;for(let a=this.toEditorPos(o.rangeStart),s=this.toEditorPos(o.rangeEnd);a<s;a++){let l=e.coordsForChar(a);n=l&&new DOMRect(l.left,l.right,l.right-l.left,l.bottom-l.top)||n||new DOMRect,r.push(n)}i.updateCharacterBounds(o.rangeStart,r)}),i.addEventListener("textformatupdate",o=>{let r=[];for(let n of o.getTextFormats()){let a=n.underlineStyle,s=n.underlineThickness;if(a!="None"&&s!="None"){let l=`text-decoration: underline ${a=="Dashed"?"dashed ":a=="Squiggle"?"wavy ":""}${s=="Thin"?1:2}px`;r.push(ra.mark({attributes:{style:l}}).range(this.toEditorPos(n.rangeStart),this.toEditorPos(n.rangeEnd)))}}e.dispatch({effects:Lgo.of(ra.set(r))})}),i.addEventListener("compositionstart",()=>{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)}),i.addEventListener("compositionend",()=>{e.inputState.composing=-1,e.inputState.compositionFirstChange=null}),this.measureReq={read:o=>{this.editContext.updateControlBounds(o.contentDOM.getBoundingClientRect());let r=dLe(o.root);r&&r.rangeCount&&this.editContext.updateSelectionBounds(r.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let i=0,o=!1,r=this.pendingContextChange;return e.changes.iterChanges((n,a,s,l,c)=>{if(o)return;let d=c.length-(a-n);if(r&&a>=r.to)if(r.from==n&&r.to==a&&r.insert.eq(c)){r=this.pendingContextChange=null,i+=d;return}else r=null,this.revertPending(e.state);if(n+=i,a+=i,a<=this.from)this.from+=d,this.to+=d;else if(n<this.to){if(n<this.from||a>this.to||this.to-this.from+c.length>3e4){o=!0;return}this.editContext.updateText(this.toContextPos(n),this.toContextPos(a),c.toString()),this.to+=d}i+=d}),r&&!o&&this.revertPending(e.state),!o}update(e){!this.applyEdits(e)||!this.rangeIsValid(e.state)?(this.pendingContextChange=null,this.resetRange(e.state),this.editContext.updateText(0,this.editContext.text.length,e.state.doc.sliceString(this.from,this.to)),this.setSelection(e.state)):(e.docChanged||e.selectionSet)&&this.setSelection(e.state),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:i}=e.selection.main;this.from=Math.max(0,i-1e4),this.to=Math.min(e.doc.length,i+1e4)}revertPending(e){let i=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(i.from),this.toContextPos(i.to+i.insert.length),e.doc.sliceString(i.from,i.to))}setSelection(e){let{main:i}=e.selection,o=this.toContextPos(Math.max(this.from,Math.min(this.to,i.anchor))),r=this.toContextPos(i.head);(this.editContext.selectionStart!=o||this.editContext.selectionEnd!=r)&&this.editContext.updateSelection(o,r)}rangeIsValid(e){let{head:i}=e.selection.main;return!(this.from>0&&i-this.from<500||this.to<e.doc.length&&this.to-i<500||this.to-this.from>1e4*3)}toEditorPos(e){return e+this.from}toContextPos(e){return e-this.from}},Ir=class t{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:i}=e;this.dispatchTransactions=e.dispatchTransactions||i&&(o=>o.forEach(r=>i(r,this)))||(o=>this.update(o)),this.dispatch=this.dispatch.bind(this),this._root=e.root||vUr(e.parent)||document,this.viewState=new Iit(e.state||vd.create(e)),e.scrollTo&&e.scrollTo.is(nit)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(XIe).map(o=>new aLe(o));for(let o of this.plugins)o.update(this);this.observer=new Njt(this),this.inputState=new gjt(this),this.inputState.ensureHandlers(this.plugins),this.docView=new Tit(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure()}dispatch(...e){let i=e.length==1&&e[0]instanceof _y?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(i,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let i=!1,o=!1,r,n=this.state;for(let p of e){if(p.startState!=n)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");n=p.state}if(this.destroyed){this.viewState.state=n;return}let a=this.hasFocus,s=0,l=null;e.some(p=>p.annotation(Fgo))?(this.inputState.notifiedFocused=a,s=1):a!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=a,l=Ugo(n,a),l||(s=1));let c=this.observer.delayedAndroidKey,d=null;if(c?(this.observer.clearDelayedAndroidKey(),d=this.observer.readChange(),(d&&!this.state.doc.eq(n.doc)||!this.state.selection.eq(n.selection))&&(d=null)):this.observer.clear(),n.facet(vd.phrases)!=this.state.facet(vd.phrases))return this.setState(n);r=xit.create(this,n,e),r.flags|=s;let u=this.viewState.scrollTarget;try{this.updateState=2;for(let p of e){if(u&&(u=u.map(p.changes)),p.scrollIntoView){let{main:m}=p.state.selection;u=new nLe(m.empty?m:Fo.cursor(m.head,m.head>m.anchor?-1:1))}for(let m of p.effects)m.is(nit)&&(u=m.value.clip(this.state))}this.viewState.update(r,u),this.bidiCache=vit.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),i=this.docView.update(r),this.state.facet($Ie)!=this.styleModules&&this.mountStyles(),o=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(i,e.some(p=>p.isUserEvent("select.pointer")))}finally{this.updateState=0}if(r.startState.facet(dit)!=r.state.facet(dit)&&(this.viewState.mustMeasureContent=!0),(i||o||u||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),i&&this.docViewUpdate(),!r.empty)for(let p of this.state.facet(mjt))try{p(r)}catch(m){Tw(this.state,m,"update listener")}(l||d)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),d&&!Wgo(this,d)&&c.force&&_2e(this.contentDOM,c.key,c.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let i=this.hasFocus;try{for(let o of this.plugins)o.destroy(this);this.viewState=new Iit(e),this.plugins=e.facet(XIe).map(o=>new aLe(o)),this.pluginMap.clear();for(let o of this.plugins)o.update(this);this.docView.destroy(),this.docView=new Tit(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}i&&this.focus(),this.requestMeasure()}updatePlugins(e){let i=e.startState.facet(XIe),o=e.state.facet(XIe);if(i!=o){let r=[];for(let n of o){let a=i.indexOf(n);if(a<0)r.push(new aLe(n));else{let s=this.plugins[a];s.mustUpdate=e,r.push(s)}}for(let n of this.plugins)n.mustUpdate!=e&&n.destroy(this);this.plugins=r,this.pluginMap.clear()}else for(let r of this.plugins)r.mustUpdate=e;for(let r=0;r<this.plugins.length;r++)this.plugins[r].update(this);i!=o&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let e of this.plugins){let i=e.value;if(i&&i.docViewUpdate)try{i.docViewUpdate(this)}catch(o){Tw(this.state,o,"doc view update listener")}}}measure(e=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let i=null,o=this.scrollDOM,r=o.scrollTop*this.scaleY,{scrollAnchorPos:n,scrollAnchorHeight:a}=this.viewState;Math.abs(r-this.viewState.scrollTop)>1&&(a=-1),this.viewState.scrollAnchorHeight=-1;try{for(let s=0;;s++){if(a<0)if(tgo(o))n=-1,a=this.viewState.heightMap.height;else{let m=this.viewState.scrollAnchorAt(r);n=m.from,a=m.top}this.updateState=1;let l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(s>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];l&4||([this.measureRequests,c]=[c,this.measureRequests]);let d=c.map(m=>{try{return m.read(this)}catch(h){return Tw(this.state,h),Bfo}}),u=xit.create(this,this.state,[]),p=!1;u.flags|=l,i?i.flags|=l:i=u,this.updateState=2,u.empty||(this.updatePlugins(u),this.inputState.update(u),this.updateAttrs(),p=this.docView.update(u),p&&this.docViewUpdate());for(let m=0;m<c.length;m++)if(d[m]!=Bfo)try{let h=c[m];h.write&&h.write(d[m],this)}catch(h){Tw(this.state,h)}if(p&&this.docView.updateSelection(!0),!u.viewportChanged&&this.measureRequests.length==0){if(this.viewState.editorHeight)if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,a=-1;continue}else{let h=(n<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(n).top)-a;if(h>1||h<-1){r=r+h,o.scrollTop=r/this.scaleY,a=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(i&&!i.empty)for(let s of this.state.facet(mjt))s(i)}get themeClasses(){return vjt+" "+(this.state.facet(Ljt)?Ggo:Hgo)+" "+this.state.facet(dit)}updateAttrs(){let e=zfo(this,vgo,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),i={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Oit)?"true":"false",class:"cm-content",style:`${oa.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(i["aria-readonly"]="true"),zfo(this,Kjt,i);let o=this.observer.ignore(()=>{let r=ljt(this.contentDOM,this.contentAttrs,i),n=ljt(this.dom,this.editorAttrs,e);return r||n});return this.editorAttrs=e,this.contentAttrs=i,o}showAnnouncements(e){let i=!0;for(let o of e)for(let r of o.effects)if(r.is(t.announce)){i&&(this.announceDOM.textContent=""),i=!1;let n=this.announceDOM.appendChild(document.createElement("div"));n.textContent=r.value}}mountStyles(){this.styleModules=this.state.facet($Ie);let e=this.state.facet(t.cspNonce);ak.mount(this.root,this.styleModules.concat(LVr).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let i=0;i<this.measureRequests.length;i++)if(this.measureRequests[i].key===e.key){this.measureRequests[i]=e;return}}this.measureRequests.push(e)}}plugin(e){let i=this.pluginMap.get(e);return(i===void 0||i&&i.spec!=e)&&this.pluginMap.set(e,i=this.plugins.find(o=>o.spec==e)||null),i&&i.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,i,o){return q_t(this,e,Sfo(this,e,i,o))}moveByGroup(e,i){return q_t(this,e,Sfo(this,e,i,o=>oVr(this,e.head,o)))}visualLineSide(e,i){let o=this.bidiSpans(e),r=this.textDirectionAt(e.from),n=o[i?o.length-1:0];return Fo.cursor(n.side(i,r)+e.from,n.forward(!i,r)?1:-1)}moveToLineBoundary(e,i,o=!0){return iVr(this,e,i,o)}moveVertically(e,i,o){return q_t(this,e,rVr(this,e,i,o))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,i=0){return this.docView.posFromDOM(e,i)}posAtCoords(e,i=!0){return this.readMeasured(),Pgo(this,e,i)}coordsAtPos(e,i=1){this.readMeasured();let o=this.docView.coordsAt(e,i);if(!o||o.left==o.right)return o;let r=this.state.doc.lineAt(e),n=this.bidiSpans(r),a=n[Gz.find(n,e-r.from,-1,i)];return Gjt(o,a.dir==wp.LTR==i>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(Sgo)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>OVr)return fgo(e.length);let i=this.textDirectionAt(e.from),o;for(let n of this.bidiCache)if(n.from==e.from&&n.dir==i&&(n.fresh||hgo(n.isolates,o=yfo(this,e))))return n.order;o||(o=yfo(this,e));let r=FUr(e.text,i,o);return this.bidiCache.push(new vit(e.from,e.to,i,o,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||oa.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{$fo(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,i={}){return nit.of(new nLe(typeof e=="number"?Fo.cursor(e):e,i.y,i.x,i.yMargin,i.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:i}=this.scrollDOM,o=this.viewState.scrollAnchorAt(e);return nit.of(new nLe(Fo.cursor(o.from),"start","start",o.top-e,i,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e=="boolean"?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return e1.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return e1.define(()=>({}),{eventObservers:e})}static theme(e,i){let o=ak.newName(),r=[dit.of(o),$Ie.of(Djt(`.${o}`,e))];return i&&i.dark&&r.push(Ljt.of(!0)),r}static baseTheme(e){return hE.lowest($Ie.of(Djt("."+vjt,e,Ygo)))}static findFromDOM(e){var i;let o=e.querySelector(".cm-content"),r=o&&z1.get(o)||z1.get(e);return((i=r==null?void 0:r.rootView)===null||i===void 0?void 0:i.view)||null}};Ir.styleModule=$Ie;Ir.inputHandler=xgo;Ir.scrollHandler=Igo;Ir.focusChangeEffect=Tgo;Ir.perLineTextDirection=Sgo;Ir.exceptionSink=Cgo;Ir.updateListener=mjt;Ir.editable=Oit;Ir.mouseSelectionStyle=wgo;Ir.dragMovesSelection=ygo;Ir.clickAddsSelectionRange=bgo;Ir.decorations=gLe;Ir.outerDecorations=Dgo;Ir.atomicRanges=Zjt;Ir.bidiIsolatedRanges=Ego;Ir.scrollMargins=Ago;Ir.darkTheme=Ljt;Ir.cspNonce=un.define({combine:t=>t.length?t[0]:""});Ir.contentAttributes=Kjt;Ir.editorAttributes=vgo;Ir.lineWrapping=Ir.contentAttributes.of({class:"cm-lineWrapping"});Ir.announce=Fs.define();var OVr=4096,Bfo={},vit=class t{constructor(e,i,o,r,n,a){this.from=e,this.to=i,this.dir=o,this.isolates=r,this.fresh=n,this.order=a}static update(e,i){if(i.empty&&!e.some(n=>n.fresh))return e;let o=[],r=e.length?e[e.length-1].dir:wp.LTR;for(let n=Math.max(0,e.length-10);n<e.length;n++){let a=e[n];a.dir==r&&!i.touchesRange(a.from,a.to)&&o.push(new t(i.mapPos(a.from,1),i.mapPos(a.to,-1),a.dir,a.isolates,!1,a.order))}return o}};function zfo(t,e,i){for(let o=t.state.facet(e),r=o.length-1;r>=0;r--){let n=o[r],a=typeof n=="function"?n(t):n;a&&sjt(a,i)}return i}var RVr=oa.mac?"mac":oa.windows?"win":oa.linux?"linux":"key";function _Vr(t,e){let i=t.split(/-(?!$)/),o=i[i.length-1];o=="Space"&&(o=" ");let r,n,a,s;for(let l=0;l<i.length-1;++l){let c=i[l];if(/^(cmd|meta|m)$/i.test(c))s=!0;else if(/^a(lt)?$/i.test(c))r=!0;else if(/^(c|ctrl|control)$/i.test(c))n=!0;else if(/^s(hift)?$/i.test(c))a=!0;else if(/^mod$/i.test(c))e=="mac"?s=!0:n=!0;else throw new Error("Unrecognized modifier name: "+c)}return r&&(o="Alt-"+o),n&&(o="Ctrl-"+o),s&&(o="Meta-"+o),a&&(o="Shift-"+o),o}function uit(t,e,i){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),i!==!1&&e.shiftKey&&(t="Shift-"+t),t}var jVr=hE.default(Ir.domEventHandlers({keydown(t,e){return Jgo(Kgo(e.state),t,e,"editor")}})),YO=un.define({enables:jVr}),Ffo=new WeakMap;function Kgo(t){let e=t.facet(YO),i=Ffo.get(e);return i||Ffo.set(e,i=zVr(e.reduce((o,r)=>o.concat(r),[]))),i}function Zgo(t,e,i){return Jgo(Kgo(t.state),e,t,i)}var U$=null,BVr=4e3;function zVr(t,e=RVr){let i=Object.create(null),o=Object.create(null),r=(a,s)=>{let l=o[a];if(l==null)o[a]=s;else if(l!=s)throw new Error("Key binding "+a+" is used both as a regular binding and as a multi-stroke prefix")},n=(a,s,l,c,d)=>{var u,p;let m=i[a]||(i[a]=Object.create(null)),h=s.split(/ (?!$)/).map(b=>_Vr(b,e));for(let b=1;b<h.length;b++){let y=h.slice(0,b).join(" ");r(y,!0),m[y]||(m[y]={preventDefault:!0,stopPropagation:!1,run:[w=>{let x=U$={view:w,prefix:y,scope:a};return setTimeout(()=>{U$==x&&(U$=null)},BVr),!0}]})}let f=h.join(" ");r(f,!1);let g=m[f]||(m[f]={preventDefault:!1,stopPropagation:!1,run:((p=(u=m._any)===null||u===void 0?void 0:u.run)===null||p===void 0?void 0:p.slice())||[]});l&&g.run.push(l),c&&(g.preventDefault=!0),d&&(g.stopPropagation=!0)};for(let a of t){let s=a.scope?a.scope.split(" "):["editor"];if(a.any)for(let c of s){let d=i[c]||(i[c]=Object.create(null));d._any||(d._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:u}=a;for(let p in d)d[p].run.push(m=>u(m,Pjt))}let l=a[e]||a.key;if(l)for(let c of s)n(c,l,a.run,a.preventDefault,a.stopPropagation),a.shift&&n(c,"Shift-"+l,a.shift,a.preventDefault,a.stopPropagation)}return i}var Pjt=null;function Jgo(t,e,i,o){Pjt=e;let r=dfo(e),n=Ry(r,0),a=QM(n)==r.length&&r!=" ",s="",l=!1,c=!1,d=!1;U$&&U$.view==i&&U$.scope==o&&(s=U$.prefix+" ",Rgo.indexOf(e.keyCode)<0&&(c=!0,U$=null));let u=new Set,p=g=>{if(g){for(let b of g.run)if(!u.has(b)&&(u.add(b),b(i)))return g.stopPropagation&&(d=!0),!0;g.preventDefault&&(g.stopPropagation&&(d=!0),c=!0)}return!1},m=t[o],h,f;return m&&(p(m[s+uit(r,e,!a)])?l=!0:a&&(e.altKey||e.metaKey||e.ctrlKey)&&!(oa.windows&&e.ctrlKey&&e.altKey)&&(h=gW[e.keyCode])&&h!=r?(p(m[s+uit(h,e,!0)])||e.shiftKey&&(f=N2e[e.keyCode])!=r&&f!=h&&p(m[s+uit(f,e,!1)]))&&(l=!0):a&&e.shiftKey&&p(m[s+uit(r,e,!0)])&&(l=!0),!l&&p(m._any)&&(l=!0)),c&&(l=!0),l&&d&&e.stopPropagation(),Pjt=null,l}var bLe=class t{constructor(e,i,o,r,n){this.className=e,this.left=i,this.top=o,this.width=r,this.height=n}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,i){return i.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,i,o){if(o.empty){let r=e.coordsAtPos(o.head,o.assoc||1);if(!r)return[];let n=qgo(e);return[new t(i,r.left-n.left,r.top-n.top,null,r.bottom-r.top)]}else return FVr(e,i,o)}};function qgo(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==wp.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}function Ufo(t,e,i,o){let r=t.coordsAtPos(e,i*2);if(!r)return o;let n=t.dom.getBoundingClientRect(),a=(r.top+r.bottom)/2,s=t.posAtCoords({x:n.left+1,y:a}),l=t.posAtCoords({x:n.right-1,y:a});return s==null||l==null?o:{from:Math.max(o.from,Math.min(s,l)),to:Math.min(o.to,Math.max(s,l))}}function FVr(t,e,i){if(i.to<=t.viewport.from||i.from>=t.viewport.to)return[];let o=Math.max(i.from,t.viewport.from),r=Math.min(i.to,t.viewport.to),n=t.textDirection==wp.LTR,a=t.contentDOM,s=a.getBoundingClientRect(),l=qgo(t),c=a.querySelector(".cm-line"),d=c&&window.getComputedStyle(c),u=s.left+(d?parseInt(d.paddingLeft)+Math.min(0,parseInt(d.textIndent)):0),p=s.right-(d?parseInt(d.paddingRight):0),m=fjt(t,o),h=fjt(t,r),f=m.type==JM.Text?m:null,g=h.type==JM.Text?h:null;if(f&&(t.lineWrapping||m.widgetLineBreaks)&&(f=Ufo(t,o,1,f)),g&&(t.lineWrapping||h.widgetLineBreaks)&&(g=Ufo(t,r,-1,g)),f&&g&&f.from==g.from&&f.to==g.to)return y(w(i.from,i.to,f));{let S=f?w(i.from,null,f):x(m,!1),T=g?w(null,i.to,g):x(h,!0),M=[];return(f||m).to<(g||h).from-(f&&g?1:0)||m.widgetLineBreaks>1&&S.bottom+t.defaultLineHeight/2<T.top?M.push(b(u,S.bottom,p,T.top)):S.bottom<T.top&&t.elementAtHeight((S.bottom+T.top)/2).type==JM.Text&&(S.bottom=T.top=(S.bottom+T.top)/2),y(S).concat(M).concat(y(T))}function b(S,T,M,I){return new bLe(e,S-l.left,T-l.top-.01,M-S,I-T+.01)}function y({top:S,bottom:T,horizontal:M}){let I=[];for(let A=0;A<M.length;A+=2)I.push(b(M[A],S,M[A+1],T));return I}function w(S,T,M){let I=1e9,A=-1e9,D=[];function E(v,k,P,O,_){let j=t.coordsAtPos(v,v==M.to?-2:2),B=t.coordsAtPos(P,P==M.from?2:-2);!j||!B||(I=Math.min(j.top,B.top,I),A=Math.max(j.bottom,B.bottom,A),_==wp.LTR?D.push(n&&k?u:j.left,n&&O?p:B.right):D.push(!n&&O?u:B.left,!n&&k?p:j.right))}let N=S!=null?S:M.from,R=T!=null?T:M.to;for(let v of t.visibleRanges)if(v.to>N&&v.from<R)for(let k=Math.max(v.from,N),P=Math.min(v.to,R);;){let O=t.state.doc.lineAt(k);for(let _ of t.bidiSpans(O)){let j=_.from+O.from,B=_.to+O.from;if(j>=P)break;B>k&&E(Math.max(j,k),S==null&&j<=N,Math.min(B,P),T==null&&B>=R,_.dir)}if(k=O.to+1,k>=P)break}return D.length==0&&E(N,S==null,R,T==null,t.textDirection),{top:I,bottom:A,horizontal:D}}function x(S,T){let M=s.top+(T?S.top:S.bottom);return{top:M,bottom:M,horizontal:[]}}}function UVr(t,e){return t.constructor==e.constructor&&t.eq(e)}var Ojt=class{constructor(e,i){this.view=e,this.layer=i,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),i.above&&this.dom.classList.add("cm-layer-above"),i.class&&this.dom.classList.add(i.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),i.mount&&i.mount(this.dom,e)}update(e){e.startState.facet(git)!=e.state.facet(git)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){this.layer.updateOnDocViewUpdate!==!1&&e.requestMeasure(this.measureReq)}setOrder(e){let i=0,o=e.facet(git);for(;i<o.length&&o[i]!=this.layer;)i++;this.dom.style.zIndex=String((this.layer.above?150:-1)-i)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:e,scaleY:i}=this.view;(e!=this.scaleX||i!=this.scaleY)&&(this.scaleX=e,this.scaleY=i,this.dom.style.transform=`scale(${1/e}, ${1/i})`)}draw(e){if(e.length!=this.drawn.length||e.some((i,o)=>!UVr(i,this.drawn[o]))){let i=this.dom.firstChild,o=0;for(let r of e)r.update&&i&&r.constructor&&this.drawn[o].constructor&&r.update(i,this.drawn[o])?(i=i.nextSibling,o++):this.dom.insertBefore(r.draw(),i);for(;i;){let r=i.nextSibling;i.remove(),i=r}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}},git=un.define();function Xgo(t){return[e1.define(e=>new Ojt(e,t)),git.of(t)]}var $go=!oa.ios,yLe=un.define({combine(t){return hx(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,i)=>Math.min(e,i),drawRangeCursor:(e,i)=>e||i})}});function Jjt(t={}){return[yLe.of(t),VVr,HVr,GVr,Mgo.of(!0)]}function e2o(t){return t.startState.facet(yLe)!=t.state.facet(yLe)}var VVr=Xgo({above:!0,markers(t){let{state:e}=t,i=e.facet(yLe),o=[];for(let r of e.selection.ranges){let n=r==e.selection.main;if(r.empty?!n||$go:i.drawRangeCursor){let a=n?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",s=r.empty?r:Fo.cursor(r.head,r.head>r.anchor?-1:1);for(let l of bLe.forRange(t,a,s))o.push(l)}}return o},update(t,e){t.transactions.some(o=>o.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let i=e2o(t);return i&&Vfo(t.state,e),t.docChanged||t.selectionSet||i},mount(t,e){Vfo(e.state,t)},class:"cm-cursorLayer"});function Vfo(t,e){e.style.animationDuration=t.facet(yLe).cursorBlinkRate+"ms"}var HVr=Xgo({above:!1,markers(t){return t.state.selection.ranges.map(e=>e.empty?[]:bLe.forRange(t,"cm-selectionBackground",e)).reduce((e,i)=>e.concat(i))},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||e2o(t)},class:"cm-selectionLayer"}),Rjt={".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}};$go&&(Rjt[".cm-line"].caretColor=Rjt[".cm-content"].caretColor="transparent !important");var GVr=hE.highest(Ir.theme(Rjt)),t2o=Fs.define({map(t,e){return t==null?null:e.mapPos(t)}}),iLe=B1.define({create(){return null},update(t,e){return t!=null&&(t=e.changes.mapPos(t)),e.effects.reduce((i,o)=>o.is(t2o)?o.value:i,t)}}),YVr=e1.fromClass(class{constructor(t){this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(t){var e;let i=t.state.field(iLe);i==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(t.startState.field(iLe)!=i||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:t}=this,e=t.state.field(iLe),i=e!=null&&t.coordsAtPos(e);if(!i)return null;let o=t.scrollDOM.getBoundingClientRect();return{left:i.left-o.left+t.scrollDOM.scrollLeft*t.scaleX,top:i.top-o.top+t.scrollDOM.scrollTop*t.scaleY,height:i.bottom-i.top}}drawCursor(t){if(this.cursor){let{scaleX:e,scaleY:i}=this.view;t?(this.cursor.style.left=t.left/e+"px",this.cursor.style.top=t.top/i+"px",this.cursor.style.height=t.height/i+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(iLe)!=t&&this.view.dispatch({effects:t2o.of(t)})}},{eventObservers:{dragover(t){this.setDropPos(this.view.posAtCoords({x:t.clientX,y:t.clientY}))},dragleave(t){(t.target==this.view.contentDOM||!this.view.contentDOM.contains(t.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function i2o(){return[iLe,YVr]}function Hfo(t,e,i,o,r){e.lastIndex=0;for(let n=t.iterRange(i,o),a=i,s;!n.next().done;a+=n.value.length)if(!n.lineBreak)for(;s=e.exec(n.value);)r(a+s.index,s)}function WVr(t,e){let i=t.visibleRanges;if(i.length==1&&i[0].from==t.viewport.from&&i[0].to==t.viewport.to)return i;let o=[];for(let{from:r,to:n}of i)r=Math.max(t.state.doc.lineAt(r).from,r-e),n=Math.min(t.state.doc.lineAt(n).to,n+e),o.length&&o[o.length-1].to>=r?o[o.length-1].to=n:o.push({from:r,to:n});return o}var wLe=class{constructor(e){let{regexp:i,decoration:o,decorate:r,boundary:n,maxLength:a=1e3}=e;if(!i.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=i,r)this.addMatch=(s,l,c,d)=>r(d,c,c+s[0].length,s,l);else if(typeof o=="function")this.addMatch=(s,l,c,d)=>{let u=o(s,l,c);u&&d(c,c+s[0].length,u)};else if(o)this.addMatch=(s,l,c,d)=>d(c,c+s[0].length,o);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=n,this.maxLength=a}createDeco(e){let i=new nk,o=i.add.bind(i);for(let{from:r,to:n}of WVr(e,this.maxLength))Hfo(e.state.doc,this.regexp,r,n,(a,s)=>this.addMatch(s,e,a,o));return i.finish()}updateDeco(e,i){let o=1e9,r=-1;return e.docChanged&&e.changes.iterChanges((n,a,s,l)=>{l>e.view.viewport.from&&s<e.view.viewport.to&&(o=Math.min(s,o),r=Math.max(l,r))}),e.viewportChanged||r-o>1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,i.map(e.changes),o,r):i}updateRange(e,i,o,r){for(let n of e.visibleRanges){let a=Math.max(n.from,o),s=Math.min(n.to,r);if(s>a){let l=e.state.doc.lineAt(a),c=l.to<s?e.state.doc.lineAt(s):l,d=Math.max(n.from,l.from),u=Math.min(n.to,c.to);if(this.boundary){for(;a>l.from;a--)if(this.boundary.test(l.text[a-1-l.from])){d=a;break}for(;s<c.to;s++)if(this.boundary.test(c.text[s-c.from])){u=s;break}}let p=[],m,h=(f,g,b)=>p.push(b.range(f,g));if(l==c)for(this.regexp.lastIndex=d-l.from;(m=this.regexp.exec(l.text))&&m.index<u-l.from;)this.addMatch(m,e,m.index+l.from,h);else Hfo(e.state.doc,this.regexp,d,u,(f,g)=>this.addMatch(g,e,f,h));i=i.update({filterFrom:d,filterTo:u,filter:(f,g)=>f<d||g>u,add:p})}}return i}},_jt=/x/.unicode!=null?"gu":"g",QVr=new RegExp(`[\0-\b
-\x7F-\x9F\xAD\u061C\u200B\u200E\u200F\u2028\u2029\u202D\u202E\u2066\u2067\u2069\uFEFF\uFFF9-\uFFFC]`,_jt),KVr={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"},$_t=null;function ZVr(){var t;if($_t==null&&typeof document<"u"&&document.body){let e=document.body.style;$_t=((t=e.tabSize)!==null&&t!==void 0?t:e.MozTabSize)!=null}return $_t||!1}var bit=un.define({combine(t){let e=hx(t,{render:null,specialChars:QVr,addSpecialChars:null});return(e.replaceTabs=!ZVr())&&(e.specialChars=new RegExp("	|"+e.specialChars.source,_jt)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,_jt)),e}});function qjt(t={}){return[bit.of(t),JVr()]}var Gfo=null;function JVr(){return Gfo||(Gfo=e1.fromClass(class{constructor(t){this.view=t,this.decorations=ra.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(bit)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new wLe({regexp:t.specialChars,decoration:(e,i,o)=>{let{doc:r}=i.state,n=Ry(e[0],0);if(n==9){let a=r.lineAt(o),s=i.state.tabSize,l=fW(a.text,s,o-a.from);return ra.replace({widget:new Bjt((s-l%s)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[n]||(this.decorationCache[n]=ra.replace({widget:new jjt(t,n)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(bit);t.startState.facet(bit)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations)}},{decorations:t=>t.decorations}))}var qVr="\u2022";function XVr(t){return t>=32?qVr:t==10?"\u2424":String.fromCharCode(9216+t)}var jjt=class extends mL{constructor(e,i){super(),this.options=e,this.code=i}eq(e){return e.code==this.code}toDOM(e){let i=XVr(this.code),o=e.state.phrase("Control character")+" "+(KVr[this.code]||"0x"+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,o,i);if(r)return r;let n=document.createElement("span");return n.textContent=i,n.title=o,n.setAttribute("aria-label",o),n.className="cm-specialChar",n}ignoreEvent(){return!1}},Bjt=class extends mL{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent="	",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}},Jyd=e1.fromClass(class{constructor(){this.height=1e3,this.attrs={style:"padding-bottom: 1000px"}}update(t){let{view:e}=t,i=e.viewState.editorHeight-e.defaultLineHeight-e.documentPadding.top-.5;i>=0&&i!=this.height&&(this.height=i,this.attrs={style:`padding-bottom: ${i}px`})}});function o2o(){return eHr}var $Vr=ra.line({class:"cm-activeLine"}),eHr=e1.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,i=[];for(let o of t.state.selection.ranges){let r=t.lineBlockAt(o.head);r.from>e&&(i.push($Vr.range(r.from)),e=r.from)}return ra.set(i)}},{decorations:t=>t.decorations});var zjt=2e3;function tHr(t,e,i){let o=Math.min(e.line,i.line),r=Math.max(e.line,i.line),n=[];if(e.off>zjt||i.off>zjt||e.col<0||i.col<0){let a=Math.min(e.off,i.off),s=Math.max(e.off,i.off);for(let l=o;l<=r;l++){let c=t.doc.line(l);c.length<=s&&n.push(Fo.range(c.from+a,c.to+s))}}else{let a=Math.min(e.col,i.col),s=Math.max(e.col,i.col);for(let l=o;l<=r;l++){let c=t.doc.line(l),d=iit(c.text,a,t.tabSize,!0);if(d<0)n.push(Fo.cursor(c.to));else{let u=iit(c.text,s,t.tabSize);n.push(Fo.range(c.from+d,c.from+u))}}}return n}function iHr(t,e){let i=t.coordsAtPos(t.viewport.from);return i?Math.round(Math.abs((i.left-e)/t.defaultCharacterWidth)):-1}function Yfo(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1),o=t.state.doc.lineAt(i),r=i-o.from,n=r>zjt?-1:r==o.length?iHr(t,e.clientX):fW(o.text,t.state.tabSize,i-o.from);return{line:o.number,col:n,off:r}}function oHr(t,e){let i=Yfo(t,e),o=t.state.selection;return i?{update(r){if(r.docChanged){let n=r.changes.mapPos(r.startState.doc.line(i.line).from),a=r.state.doc.lineAt(n);i={line:a.number,col:i.col,off:Math.min(i.off,a.length)},o=o.map(r.changes)}},get(r,n,a){let s=Yfo(t,r);if(!s)return o;let l=tHr(t.state,i,s);return l.length?a?Fo.create(l.concat(o.ranges)):Fo.create(l):o}}:null}function r2o(t){let e=(t==null?void 0:t.eventFilter)||(i=>i.altKey&&i.button==0);return Ir.mouseSelectionStyle.of((i,o)=>e(o)?oHr(i,o):null)}var rHr={Alt:[18,t=>!!t.altKey],Control:[17,t=>!!t.ctrlKey],Shift:[16,t=>!!t.shiftKey],Meta:[91,t=>!!t.metaKey]},nHr={style:"cursor: crosshair"};function n2o(t={}){let[e,i]=rHr[t.key||"Alt"],o=e1.fromClass(class{constructor(r){this.view=r,this.isDown=!1}set(r){this.isDown!=r&&(this.isDown=r,this.view.update([]))}},{eventObservers:{keydown(r){this.set(r.keyCode==e||i(r))},keyup(r){(r.keyCode==e||!i(r))&&this.set(!1)},mousemove(r){this.set(i(r))}}});return[o,Ir.contentAttributes.of(r=>{var n;return!((n=r.plugin(o))===null||n===void 0)&&n.isDown?nHr:null})]}var qIe="-10000px",Dit=class{constructor(e,i,o,r){this.facet=i,this.createTooltipView=o,this.removeTooltipView=r,this.input=e.state.facet(i),this.tooltips=this.input.filter(a=>a);let n=null;this.tooltipViews=this.tooltips.map(a=>n=o(a,n))}update(e,i){var o;let r=e.state.facet(this.facet),n=r.filter(l=>l);if(r===this.input){for(let l of this.tooltipViews)l.update&&l.update(e);return!1}let a=[],s=i?[]:null;for(let l=0;l<n.length;l++){let c=n[l],d=-1;if(c){for(let u=0;u<this.tooltips.length;u++){let p=this.tooltips[u];p&&p.create==c.create&&(d=u)}if(d<0)a[l]=this.createTooltipView(c,l?a[l-1]:null),s&&(s[l]=!!c.above);else{let u=a[l]=this.tooltipViews[d];s&&(s[l]=i[d]),u.update&&u.update(e)}}}for(let l of this.tooltipViews)a.indexOf(l)<0&&(this.removeTooltipView(l),(o=l.destroy)===null||o===void 0||o.call(l));return i&&(s.forEach((l,c)=>i[c]=l),i.length=s.length),this.input=r,this.tooltips=n,this.tooltipViews=a,!0}};function aHr(t){let{win:e}=t;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}var ejt=un.define({combine:t=>{var e,i,o;return{position:oa.ios?"absolute":((e=t.find(r=>r.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((i=t.find(r=>r.parent))===null||i===void 0?void 0:i.parent)||null,tooltipSpace:((o=t.find(r=>r.tooltipSpace))===null||o===void 0?void 0:o.tooltipSpace)||aHr}}}),Wfo=new WeakMap,Xjt=e1.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(ejt);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new Dit(t,j2e,(i,o)=>this.createTooltip(i,o),i=>{this.resizeObserver&&this.resizeObserver.unobserve(i.dom),i.dom.remove()}),this.above=this.manager.tooltips.map(i=>!!i.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(i=>{Date.now()>this.lastTransaction-50&&i.length>0&&i[i.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let i=e||t.geometryChanged,o=t.state.facet(ejt);if(o.position!=this.position&&!this.madeAbsolute){this.position=o.position;for(let r of this.manager.tooltipViews)r.dom.style.position=this.position;i=!0}if(o.parent!=this.parent){this.parent&&this.container.remove(),this.parent=o.parent,this.createContainer();for(let r of this.manager.tooltipViews)this.container.appendChild(r.dom);i=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);i&&this.maybeMeasure()}createTooltip(t,e){let i=t.create(this.view),o=e?e.dom:null;if(i.dom.classList.add("cm-tooltip"),t.arrow&&!i.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let r=document.createElement("div");r.className="cm-tooltip-arrow",i.dom.appendChild(r)}return i.dom.style.position=this.position,i.dom.style.top=qIe,i.dom.style.left="0px",this.container.insertBefore(i.dom,o),i.mount&&i.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(i.dom),i}destroy(){var t,e,i;this.view.win.removeEventListener("resize",this.measureSoon);for(let o of this.manager.tooltipViews)o.dom.remove(),(t=o.destroy)===null||t===void 0||t.call(o);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(i=this.intersectionObserver)===null||i===void 0||i.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect(),e=1,i=1,o=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:r}=this.manager.tooltipViews[0];if(oa.gecko)o=r.offsetParent!=this.container.ownerDocument.body;else if(r.style.top==qIe&&r.style.left=="0px"){let n=r.getBoundingClientRect();o=Math.abs(n.top+1e4)>1||Math.abs(n.left)>1}}if(o||this.position=="absolute")if(this.parent){let r=this.parent.getBoundingClientRect();r.width&&r.height&&(e=r.width/this.parent.offsetWidth,i=r.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:i}=this.view.viewState);return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((r,n)=>{let a=this.manager.tooltipViews[n];return a.getCoords?a.getCoords(r.pos):this.view.coordsAtPos(r.pos)}),size:this.manager.tooltipViews.map(({dom:r})=>r.getBoundingClientRect()),space:this.view.state.facet(ejt).tooltipSpace(this.view),scaleX:e,scaleY:i,makeAbsolute:o}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let s of this.manager.tooltipViews)s.dom.style.position="absolute"}let{editor:i,space:o,scaleX:r,scaleY:n}=t,a=[];for(let s=0;s<this.manager.tooltips.length;s++){let l=this.manager.tooltips[s],c=this.manager.tooltipViews[s],{dom:d}=c,u=t.pos[s],p=t.size[s];if(!u||u.bottom<=Math.max(i.top,o.top)||u.top>=Math.min(i.bottom,o.bottom)||u.right<Math.max(i.left,o.left)-.1||u.left>Math.min(i.right,o.right)+.1){d.style.top=qIe;continue}let m=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,h=m?7:0,f=p.right-p.left,g=(e=Wfo.get(c))!==null&&e!==void 0?e:p.bottom-p.top,b=c.offset||lHr,y=this.view.textDirection==wp.LTR,w=p.width>o.right-o.left?y?o.left:o.right-p.width:y?Math.min(u.left-(m?14:0)+b.x,o.right-f):Math.max(o.left,u.left-f+(m?14:0)-b.x),x=this.above[s];!l.strictSide&&(x?u.top-(p.bottom-p.top)-b.y<o.top:u.bottom+(p.bottom-p.top)+b.y>o.bottom)&&x==o.bottom-u.bottom>u.top-o.top&&(x=this.above[s]=!x);let S=(x?u.top-o.top:o.bottom-u.bottom)-h;if(S<g&&c.resize!==!1){if(S<this.view.defaultLineHeight){d.style.top=qIe;continue}Wfo.set(c,g),d.style.height=(g=S)/n+"px"}else d.style.height&&(d.style.height="");let T=x?u.top-g-h-b.y:u.bottom+h+b.y,M=w+f;if(c.overlap!==!0)for(let I of a)I.left<M&&I.right>w&&I.top<T+g&&I.bottom>T&&(T=x?I.top-g-2-h:I.bottom+h+2);if(this.position=="absolute"?(d.style.top=(T-t.parent.top)/n+"px",d.style.left=(w-t.parent.left)/r+"px"):(d.style.top=T/n+"px",d.style.left=w/r+"px"),m){let I=u.left+(y?b.x:-b.x)-(w+14-7);m.style.left=I/r+"px"}c.overlap!==!0&&a.push({left:w,top:T,right:M,bottom:T+g}),d.classList.toggle("cm-tooltip-above",x),d.classList.toggle("cm-tooltip-below",!x),c.positioned&&c.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=qIe}},{eventObservers:{scroll(){this.maybeMeasure()}}}),sHr=Ir.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),lHr={x:0,y:0},j2e=un.define({enables:[Xjt,sHr]}),Eit=un.define({combine:t=>t.reduce((e,i)=>e.concat(i),[])}),Ait=class t{static create(e){return new t(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new Dit(e,Eit,(i,o)=>this.createHostedView(i,o),i=>i.dom.remove())}createHostedView(e,i){let o=e.create(this.view);return o.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(o.dom,i?i.dom.nextSibling:this.dom.firstChild),this.mounted&&o.mount&&o.mount(this.view),o}mount(e){for(let i of this.manager.tooltipViews)i.mount&&i.mount(e);this.mounted=!0}positioned(e){for(let i of this.manager.tooltipViews)i.positioned&&i.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let i of this.manager.tooltipViews)(e=i.destroy)===null||e===void 0||e.call(i)}passProp(e){let i;for(let o of this.manager.tooltipViews){let r=o[e];if(r!==void 0){if(i===void 0)i=r;else if(i!==r)return}}return i}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}},cHr=j2e.compute([Eit],t=>{let e=t.facet(Eit);return e.length===0?null:{pos:Math.min(...e.map(i=>i.pos)),end:Math.max(...e.map(i=>{var o;return(o=i.end)!==null&&o!==void 0?o:i.pos})),create:Ait.create,above:e[0].above,arrow:e.some(i=>i.arrow)}}),Fjt=class{constructor(e,i,o,r,n){this.view=e,this.source=i,this.field=o,this.setHover=r,this.hoverTime=n,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:e,lastMove:i}=this,o=e.docView.nearest(i.target);if(!o)return;let r,n=1;if(o instanceof pLe)r=o.posAtStart;else{if(r=e.posAtCoords(i),r==null)return;let s=e.coordsAtPos(r);if(!s||i.y<s.top||i.y>s.bottom||i.x<s.left-e.defaultCharacterWidth||i.x>s.right+e.defaultCharacterWidth)return;let l=e.bidiSpans(e.state.doc.lineAt(r)).find(d=>d.from<=r&&d.to>=r),c=l&&l.dir==wp.RTL?-1:1;n=i.x<s.left?-c:c}let a=this.source(e,r,n);if(a!=null&&a.then){let s=this.pending={pos:r};a.then(l=>{this.pending==s&&(this.pending=null,l&&!(Array.isArray(l)&&!l.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(l)?l:[l])}))},l=>Tw(e.state,l,"hover tooltip"))}else a&&!(Array.isArray(a)&&!a.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(a)?a:[a])})}get tooltip(){let e=this.view.plugin(Xjt),i=e?e.manager.tooltips.findIndex(o=>o.create==Ait.create):-1;return i>-1?e.manager.tooltipViews[i]:null}mousemove(e){var i,o;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:r,tooltip:n}=this;if(r.length&&n&&!dHr(n.dom,e)||this.pending){let{pos:a}=r[0]||this.pending,s=(o=(i=r[0])===null||i===void 0?void 0:i.end)!==null&&o!==void 0?o:a;(a==s?this.view.posAtCoords(this.lastMove)!=a:!uHr(this.view,a,s,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:i}=this;if(i.length){let{tooltip:o}=this;o&&o.dom.contains(e.relatedTarget)?this.watchTooltipLeave(o.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(e){let i=o=>{e.removeEventListener("mouseleave",i),this.active.length&&!this.view.dom.contains(o.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};e.addEventListener("mouseleave",i)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}},pit=4;function dHr(t,e){let i=t.getBoundingClientRect();return e.clientX>=i.left-pit&&e.clientX<=i.right+pit&&e.clientY>=i.top-pit&&e.clientY<=i.bottom+pit}function uHr(t,e,i,o,r,n){let a=t.scrollDOM.getBoundingClientRect(),s=t.documentTop+t.documentPadding.top+t.contentHeight;if(a.left>o||a.right<o||a.top>r||Math.min(a.bottom,s)<r)return!1;let l=t.posAtCoords({x:o,y:r},!1);return l>=e&&l<=i}function a2o(t,e={}){let i=Fs.define(),o=B1.define({create(){return[]},update(r,n){if(r.length&&(e.hideOnChange&&(n.docChanged||n.selection)?r=[]:e.hideOn&&(r=r.filter(a=>!e.hideOn(n,a))),n.docChanged)){let a=[];for(let s of r){let l=n.changes.mapPos(s.pos,-1,V4.TrackDel);if(l!=null){let c=Object.assign(Object.create(null),s);c.pos=l,c.end!=null&&(c.end=n.changes.mapPos(c.end)),a.push(c)}}r=a}for(let a of n.effects)a.is(i)&&(r=a.value),a.is(s2o)&&(r=[]);return r},provide:r=>Eit.from(r)});return[o,e1.define(r=>new Fjt(r,t,o,i,e.hoverTime||300)),cHr]}function $jt(t,e){let i=t.plugin(Xjt);if(!i)return null;let o=i.manager.tooltips.indexOf(e);return o<0?null:i.manager.tooltipViews[o]}var s2o=Fs.define(),qyd=s2o.of(null);var Qfo=un.define({combine(t){let e,i;for(let o of t)e=e||o.topContainer,i=i||o.bottomContainer;return{topContainer:e,bottomContainer:i}}});function Pse(t,e){let i=t.plugin(l2o),o=i?i.specs.indexOf(e):-1;return o>-1?i.panels[o]:null}var l2o=e1.fromClass(class{constructor(t){this.input=t.state.facet(kse),this.specs=this.input.filter(i=>i),this.panels=this.specs.map(i=>i(t));let e=t.state.facet(Qfo);this.top=new O2e(t,!0,e.topContainer),this.bottom=new O2e(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(i=>i.top)),this.bottom.sync(this.panels.filter(i=>!i.top));for(let i of this.panels)i.dom.classList.add("cm-panel"),i.mount&&i.mount()}update(t){let e=t.state.facet(Qfo);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new O2e(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new O2e(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let i=t.state.facet(kse);if(i!=this.input){let o=i.filter(l=>l),r=[],n=[],a=[],s=[];for(let l of o){let c=this.specs.indexOf(l),d;c<0?(d=l(t.view),s.push(d)):(d=this.panels[c],d.update&&d.update(t)),r.push(d),(d.top?n:a).push(d)}this.specs=o,this.panels=r,this.top.sync(n),this.bottom.sync(a);for(let l of s)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let o of this.panels)o.update&&o.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>Ir.scrollMargins.of(e=>{let i=e.plugin(t);return i&&{top:i.top.scrollMargin(),bottom:i.bottom.scrollMargin()}})}),O2e=class{constructor(e,i,o){this.view=e,this.top=i,this.container=o,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let i of this.panels)i.destroy&&e.indexOf(i)<0&&i.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let i=this.container||this.view.dom;i.insertBefore(this.dom,this.top?i.firstChild:null)}let e=this.dom.firstChild;for(let i of this.panels)if(i.dom.parentNode==this.dom){for(;e!=i.dom;)e=Kfo(e);e=e.nextSibling}else this.dom.insertBefore(i.dom,e);for(;e;)e=Kfo(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}};function Kfo(t){let e=t.nextSibling;return t.remove(),e}var kse=un.define({enables:l2o}),hL=class extends HO{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}};hL.prototype.elementClass="";hL.prototype.toDOM=void 0;hL.prototype.mapMode=V4.TrackBefore;hL.prototype.startSide=hL.prototype.endSide=-1;hL.prototype.point=!0;var yit=un.define(),pHr={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>x0.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},lLe=un.define();function Rit(t){return[c2o(),lLe.of(Object.assign(Object.assign({},pHr),t))]}var Ujt=un.define({combine:t=>t.some(e=>e)});function c2o(t){let e=[mHr];return t&&t.fixed===!1&&e.push(Ujt.of(!0)),e}var mHr=e1.fromClass(class{constructor(t){this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=t.state.facet(lLe).map(e=>new Nit(t,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!t.state.facet(Ujt),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}update(t){if(this.updateGutters(t)){let e=this.prevViewport,i=t.view.viewport,o=Math.min(e.to,i.to)-Math.max(e.from,i.from);this.syncGutters(o<(i.to-i.from)*.8)}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(Ujt)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&this.dom.remove();let i=x0.iter(this.view.state.facet(yit),this.view.viewport.from),o=[],r=this.gutters.map(n=>new Hjt(n,this.view.viewport,-this.view.documentPadding.top));for(let n of this.view.viewportLineBlocks)if(o.length&&(o=[]),Array.isArray(n.type)){let a=!0;for(let s of n.type)if(s.type==JM.Text&&a){Vjt(i,o,s.from);for(let l of r)l.line(this.view,s,o);a=!1}else if(s.widget)for(let l of r)l.widget(this.view,s)}else if(n.type==JM.Text){Vjt(i,o,n.from);for(let a of r)a.line(this.view,n,o)}else if(n.widget)for(let a of r)a.widget(this.view,n);for(let n of r)n.finish();t&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(t){let e=t.startState.facet(lLe),i=t.state.facet(lLe),o=t.docChanged||t.heightChanged||t.viewportChanged||!x0.eq(t.startState.facet(yit),t.state.facet(yit),t.view.viewport.from,t.view.viewport.to);if(e==i)for(let r of this.gutters)r.update(t)&&(o=!0);else{o=!0;let r=[];for(let n of i){let a=e.indexOf(n);a<0?r.push(new Nit(this.view,n)):(this.gutters[a].update(t),r.push(this.gutters[a]))}for(let n of this.gutters)n.dom.remove(),r.indexOf(n)<0&&n.destroy();for(let n of r)this.dom.appendChild(n.dom);this.gutters=r}return o}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:t=>Ir.scrollMargins.of(e=>{let i=e.plugin(t);return!i||i.gutters.length==0||!i.fixed?null:e.textDirection==wp.LTR?{left:i.dom.offsetWidth*e.scaleX}:{right:i.dom.offsetWidth*e.scaleX}})});function Zfo(t){return Array.isArray(t)?t:[t]}function Vjt(t,e,i){for(;t.value&&t.from<=i;)t.from==i&&e.push(t.value),t.next()}var Hjt=class{constructor(e,i,o){this.gutter=e,this.height=o,this.i=0,this.cursor=x0.iter(e.markers,i.from)}addElement(e,i,o){let{gutter:r}=this,n=(i.top-this.height)/e.scaleY,a=i.height/e.scaleY;if(this.i==r.elements.length){let s=new kit(e,a,n,o);r.elements.push(s),r.dom.appendChild(s.dom)}else r.elements[this.i].update(e,a,n,o);this.height=i.bottom,this.i++}line(e,i,o){let r=[];Vjt(this.cursor,r,i.from),o.length&&(r=r.concat(o));let n=this.gutter.config.lineMarker(e,i,r);n&&r.unshift(n);let a=this.gutter;r.length==0&&!a.config.renderEmptyElements||this.addElement(e,i,r)}widget(e,i){let o=this.gutter.config.widgetMarker(e,i.widget,i);o&&this.addElement(e,i,[o])}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let i=e.elements.pop();e.dom.removeChild(i.dom),i.destroy()}}},Nit=class{constructor(e,i){this.view=e,this.config=i,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let o in i.domEventHandlers)this.dom.addEventListener(o,r=>{let n=r.target,a;if(n!=this.dom&&this.dom.contains(n)){for(;n.parentNode!=this.dom;)n=n.parentNode;let l=n.getBoundingClientRect();a=(l.top+l.bottom)/2}else a=r.clientY;let s=e.lineBlockAtHeight(a-e.documentTop);i.domEventHandlers[o](e,s,r)&&r.preventDefault()});this.markers=Zfo(i.markers(e)),i.initialSpacer&&(this.spacer=new kit(e,0,0,[i.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let i=this.markers;if(this.markers=Zfo(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let r=this.config.updateSpacer(this.spacer.markers[0],e);r!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[r])}let o=e.view.viewport;return!x0.eq(this.markers,i,o.from,o.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}},kit=class{constructor(e,i,o,r){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,i,o,r)}update(e,i,o,r){this.height!=i&&(this.height=i,this.dom.style.height=i+"px"),this.above!=o&&(this.dom.style.marginTop=(this.above=o)?o+"px":""),hHr(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,i){let o="cm-gutterElement",r=this.dom.firstChild;for(let n=0,a=0;;){let s=a,l=n<i.length?i[n++]:null,c=!1;if(l){let d=l.elementClass;d&&(o+=" "+d);for(let u=a;u<this.markers.length;u++)if(this.markers[u].compare(l)){s=u,c=!0;break}}else s=this.markers.length;for(;a<s;){let d=this.markers[a++];if(d.toDOM){d.destroy(r);let u=r.nextSibling;r.remove(),r=u}}if(!l)break;l.toDOM&&(c?r=r.nextSibling:this.dom.insertBefore(l.toDOM(e),r)),c&&a++}this.dom.className=o,this.markers=i}destroy(){this.setMarkers(null,[])}};function hHr(t,e){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++)if(!t[i].compare(e[i]))return!1;return!0}var fHr=un.define(),R2e=un.define({combine(t){return hx(t,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,i){let o=Object.assign({},e);for(let r in i){let n=o[r],a=i[r];o[r]=n?(s,l,c)=>n(s,l,c)||a(s,l,c):a}return o}})}}),cLe=class extends hL{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}};function tjt(t,e){return t.state.facet(R2e).formatNumber(e,t.state)}var gHr=lLe.compute([R2e],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(fHr)},lineMarker(e,i,o){return o.some(r=>r.toDOM)?null:new cLe(tjt(e,e.state.doc.lineAt(i.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet(R2e)!=e.state.facet(R2e),initialSpacer(e){return new cLe(tjt(e,Jfo(e.state.doc.lines)))},updateSpacer(e,i){let o=tjt(i.view,Jfo(i.view.state.doc.lines));return o==e.number?e:new cLe(o)},domEventHandlers:t.facet(R2e).domEventHandlers}));function d2o(t={}){return[R2e.of(t),c2o(),gHr]}function Jfo(t){let e=9;for(;e<t;)e=e*10+9;return e}var bHr=new class extends hL{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},yHr=yit.compute(["selection"],t=>{let e=[],i=-1;for(let o of t.selection.ranges){let r=t.doc.lineAt(o.head).from;r>i&&(i=r,e.push(bHr.range(r)))}return x0.of(e)});function u2o(){return yHr}var qfo=new Map;function wHr(t){let e=qfo.get(t);return e||qfo.set(t,e=ra.mark({attributes:t==="	"?{class:"cm-highlightTab"}:{class:"cm-highlightSpace","data-display":t.replace(/ /g,"\xB7")}})),e}function p2o(t){return e1.define(e=>({decorations:t.createDeco(e),update(i){this.decorations=t.updateDeco(i,this.decorations)}}),{decorations:e=>e.decorations})}var Xyd=p2o(new wLe({regexp:/\t| +/g,decoration:t=>wHr(t[0]),boundary:/\S/}));var $yd=p2o(new wLe({regexp:/\s+$/g,decoration:ra.mark({class:"cm-trailingSpace"}),boundary:/\S/}));var CHr=0,CLe=class{constructor(e,i){this.from=e,this.to=i}},Fl=class{constructor(e={}){this.id=CHr++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=R5.match(e)),i=>{let o=e(i);return o===void 0?null:[this,o]}}};Fl.closedBy=new Fl({deserialize:t=>t.split(" ")});Fl.openedBy=new Fl({deserialize:t=>t.split(" ")});Fl.group=new Fl({deserialize:t=>t.split(" ")});Fl.isolate=new Fl({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});Fl.contextHash=new Fl({perNode:!0});Fl.lookAhead=new Fl({perNode:!0});Fl.mounted=new Fl({perNode:!0});var B2e=class{constructor(e,i,o){this.tree=e,this.overlay=i,this.parser=o}static get(e){return e&&e.props&&e.props[Fl.mounted.id]}},xHr=Object.create(null),R5=class t{constructor(e,i,o,r=0){this.name=e,this.props=i,this.id=o,this.flags=r}static define(e){let i=e.props&&e.props.length?Object.create(null):xHr,o=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new t(e.name||"",i,e.id,o);if(e.props){for(let n of e.props)if(Array.isArray(n)||(n=n(r)),n){if(n[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");i[n[0].id]=n[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let i=this.prop(Fl.group);return i?i.indexOf(e)>-1:!1}return this.id==e}static match(e){let i=Object.create(null);for(let o in e)for(let r of o.split(" "))i[r]=e[o];return o=>{for(let r=o.prop(Fl.group),n=-1;n<(r?r.length:0);n++){let a=i[n<0?o.name:r[n]];if(a)return a}}}};R5.none=new R5("",Object.create(null),0,8);var z2e=class t{constructor(e){this.types=e;for(let i=0;i<e.length;i++)if(e[i].id!=i)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let i=[];for(let o of this.types){let r=null;for(let n of e){let a=n(o);a&&(r||(r=Object.assign({},o.props)),r[a[0].id]=a[1])}i.push(r?new R5(o.name,r,o.id,o.flags):o)}return new t(i)}},_it=new WeakMap,m2o=new WeakMap,m2;(function(t){t[t.ExcludeBuffers=1]="ExcludeBuffers",t[t.IncludeAnonymous=2]="IncludeAnonymous",t[t.IgnoreMounts=4]="IgnoreMounts",t[t.IgnoreOverlays=8]="IgnoreOverlays"})(m2||(m2={}));var ab=class t{constructor(e,i,o,r,n){if(this.type=e,this.children=i,this.positions=o,this.length=r,this.props=null,n&&n.length){this.props=Object.create(null);for(let[a,s]of n)this.props[typeof a=="number"?a:a.id]=s}}toString(){let e=B2e.get(this);if(e&&!e.overlay)return e.tree.toString();let i="";for(let o of this.children){let r=o.toString();r&&(i&&(i+=","),i+=r)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(i.length?"("+i+")":""):i}cursor(e=0){return new TLe(this.topNode,e)}cursorAt(e,i=0,o=0){let r=_it.get(this)||this.topNode,n=new TLe(r);return n.moveTo(e,i),_it.set(this,n._tree),n}get topNode(){return new ck(this,0,0,null)}resolve(e,i=0){let o=xLe(_it.get(this)||this.topNode,e,i,!1);return _it.set(this,o),o}resolveInner(e,i=0){let o=xLe(m2o.get(this)||this.topNode,e,i,!0);return m2o.set(this,o),o}resolveStack(e,i=0){return THr(this,e,i)}iterate(e){let{enter:i,leave:o,from:r=0,to:n=this.length}=e,a=e.mode||0,s=(a&m2.IncludeAnonymous)>0;for(let l=this.cursor(a|m2.IncludeAnonymous);;){let c=!1;if(l.from<=n&&l.to>=r&&(!s&&l.type.isAnonymous||i(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&o&&(s||!l.type.isAnonymous)&&o(l),!l.nextSibling();){if(!l.parent())return;c=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let i in this.props)e.push([+i,this.props[i]]);return e}balance(e={}){return this.children.length<=8?this:aBt(R5.none,this.children,this.positions,0,this.children.length,0,this.length,(i,o,r)=>new t(this.type,i,o,r,this.propValues),e.makeTree||((i,o,r)=>new t(R5.none,i,o,r)))}static build(e){return SHr(e)}};ab.empty=new ab(R5.none,[],[],0);var eBt=class t{constructor(e,i){this.buffer=e,this.index=i}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new t(this.buffer,this.index)}},W$=class t{constructor(e,i,o){this.buffer=e,this.length=i,this.set=o}get type(){return R5.none}toString(){let e=[];for(let i=0;i<this.buffer.length;)e.push(this.childString(i)),i=this.buffer[i+3];return e.join(",")}childString(e){let i=this.buffer[e],o=this.buffer[e+3],r=this.set.types[i],n=r.name;if(/\W/.test(n)&&!r.isError&&(n=JSON.stringify(n)),e+=4,o==e)return n;let a=[];for(;e<o;)a.push(this.childString(e)),e=this.buffer[e+3];return n+"("+a.join(",")+")"}findChild(e,i,o,r,n){let{buffer:a}=this,s=-1;for(let l=e;l!=i&&!(g2o(n,r,a[l+1],a[l+2])&&(s=l,o>0));l=a[l+3]);return s}slice(e,i,o){let r=this.buffer,n=new Uint16Array(i-e),a=0;for(let s=e,l=0;s<i;){n[l++]=r[s++],n[l++]=r[s++]-o;let c=n[l++]=r[s++]-o;n[l++]=r[s++]-e,a=Math.max(a,c)}return new t(n,a,this.set)}};function g2o(t,e,i,o){switch(t){case-2:return i<e;case-1:return o>=e&&i<e;case 0:return i<e&&o>e;case 1:return i<=e&&o>e;case 2:return o>e;case 4:return!0}}function xLe(t,e,i,o){for(var r;t.from==t.to||(i<1?t.from>=e:t.from>e)||(i>-1?t.to<=e:t.to<e);){let a=!o&&t instanceof ck&&t.index<0?null:t.parent;if(!a)return t;t=a}let n=o?0:m2.IgnoreOverlays;if(o)for(let a=t,s=a.parent;s;a=s,s=a.parent)a instanceof ck&&a.index<0&&((r=s.enter(e,i,n))===null||r===void 0?void 0:r.from)!=a.from&&(t=s);for(;;){let a=t.enter(e,i,n);if(!a)return t;t=a}}var Bit=class{cursor(e=0){return new TLe(this,e)}getChild(e,i=null,o=null){let r=h2o(this,e,i,o);return r.length?r[0]:null}getChildren(e,i=null,o=null){return h2o(this,e,i,o)}resolve(e,i=0){return xLe(this,e,i,!1)}resolveInner(e,i=0){return xLe(this,e,i,!0)}matchContext(e){return tBt(this,e)}enterUnfinishedNodesBefore(e){let i=this.childBefore(e),o=this;for(;i;){let r=i.lastChild;if(!r||r.to!=i.to)break;r.type.isError&&r.from==r.to?(o=i,i=r.prevSibling):i=r}return o}get node(){return this}get next(){return this.parent}},ck=class t extends Bit{constructor(e,i,o,r){super(),this._tree=e,this.from=i,this.index=o,this._parent=r}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,i,o,r,n=0){for(let a=this;;){for(let{children:s,positions:l}=a._tree,c=i>0?s.length:-1;e!=c;e+=i){let d=s[e],u=l[e]+a.from;if(g2o(r,o,u,u+d.length)){if(d instanceof W$){if(n&m2.ExcludeBuffers)continue;let p=d.findChild(0,d.buffer.length,i,o-u,r);if(p>-1)return new Ose(new iBt(a,d,e,u),null,p)}else if(n&m2.IncludeAnonymous||!d.type.isAnonymous||nBt(d)){let p;if(!(n&m2.IgnoreMounts)&&(p=B2e.get(d))&&!p.overlay)return new t(p.tree,u,e,a);let m=new t(d,u,e,a);return n&m2.IncludeAnonymous||!m.type.isAnonymous?m:m.nextChild(i<0?d.children.length-1:0,i,o,r)}}}if(n&m2.IncludeAnonymous||!a.type.isAnonymous||(a.index>=0?e=a.index+i:e=i<0?-1:a._parent._tree.children.length,a=a._parent,!a))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,i,o=0){let r;if(!(o&m2.IgnoreOverlays)&&(r=B2e.get(this._tree))&&r.overlay){let n=e-this.from;for(let{from:a,to:s}of r.overlay)if((i>0?a<=n:a<n)&&(i<0?s>=n:s>n))return new t(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,i,o)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}};function h2o(t,e,i,o){let r=t.cursor(),n=[];if(!r.firstChild())return n;if(i!=null){for(let a=!1;!a;)if(a=r.type.is(i),!r.nextSibling())return n}for(;;){if(o!=null&&r.type.is(o))return n;if(r.type.is(e)&&n.push(r.node),!r.nextSibling())return o==null?n:[]}}function tBt(t,e,i=e.length-1){for(let o=t.parent;i>=0;o=o.parent){if(!o)return!1;if(!o.type.isAnonymous){if(e[i]&&e[i]!=o.name)return!1;i--}}return!0}var iBt=class{constructor(e,i,o,r){this.parent=e,this.buffer=i,this.index=o,this.start=r}},Ose=class t extends Bit{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,i,o){super(),this.context=e,this._parent=i,this.index=o,this.type=e.buffer.set.types[e.buffer.buffer[o]]}child(e,i,o){let{buffer:r}=this.context,n=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.context.start,o);return n<0?null:new t(this.context,this,n)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,i,o=0){if(o&m2.ExcludeBuffers)return null;let{buffer:r}=this.context,n=r.findChild(this.index+4,r.buffer[this.index+3],i>0?1:-1,e-this.context.start,i);return n<0?null:new t(this.context,this,n)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,i=e.buffer[this.index+3];return i<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new t(this.context,this._parent,i):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,i=this._parent?this._parent.index+4:0;return this.index==i?this.externalSibling(-1):new t(this.context,this._parent,e.findChild(i,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],i=[],{buffer:o}=this.context,r=this.index+4,n=o.buffer[this.index+3];if(n>r){let a=o.buffer[this.index+1];e.push(o.slice(r,n,a)),i.push(0)}return new ab(this.type,e,i,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}};function b2o(t){if(!t.length)return null;let e=0,i=t[0];for(let n=1;n<t.length;n++){let a=t[n];(a.from>i.from||a.to<i.to)&&(i=a,e=n)}let o=i instanceof ck&&i.index<0?null:i.parent,r=t.slice();return o?r[e]=o:r.splice(e,1),new oBt(r,i)}var oBt=class{constructor(e,i){this.heads=e,this.node=i}get next(){return b2o(this.heads)}};function THr(t,e,i){let o=t.resolveInner(e,i),r=null;for(let n=o instanceof ck?o:o.context.parent;n;n=n.parent)if(n.index<0){let a=n.parent;(r||(r=[o])).push(a.resolve(e,i)),n=a}else{let a=B2e.get(n.tree);if(a&&a.overlay&&a.overlay[0].from<=e&&a.overlay[a.overlay.length-1].to>=e){let s=new ck(a.tree,a.overlay[0].from+n.from,-1,n);(r||(r=[o])).push(xLe(s,e,i,!1))}}return r?b2o(r):o}var TLe=class{get name(){return this.type.name}constructor(e,i=0){if(this.mode=i,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof ck)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let o=e._parent;o;o=o._parent)this.stack.unshift(o.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,i){this.index=e;let{start:o,buffer:r}=this.buffer;return this.type=i||r.set.types[r.buffer[e]],this.from=o+r.buffer[e+1],this.to=o+r.buffer[e+2],!0}yield(e){return e?e instanceof ck?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,i,o){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,i,o,this.mode));let{buffer:r}=this.buffer,n=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.buffer.start,o);return n<0?!1:(this.stack.push(this.index),this.yieldBuf(n))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,i,o=this.mode){return this.buffer?o&m2.ExcludeBuffers?!1:this.enterChild(1,e,i):this.yield(this._tree.enter(e,i,o))}parent(){if(!this.buffer)return this.yieldNode(this.mode&m2.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&m2.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:i}=this.buffer,o=this.stack.length-1;if(e<0){let r=o<0?0:this.stack[o]+4;if(this.index!=r)return this.yieldBuf(i.findChild(r,this.index,-1,0,4))}else{let r=i.buffer[this.index+3];if(r<(o<0?i.buffer.length:i.buffer[this.stack[o]+3]))return this.yieldBuf(r)}return o<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let i,o,{buffer:r}=this;if(r){if(e>0){if(this.index<r.buffer.buffer.length)return!1}else for(let n=0;n<this.index;n++)if(r.buffer.buffer[n+3]<this.index)return!1;({index:i,parent:o}=r)}else({index:i,_parent:o}=this._tree);for(;o;{index:i,_parent:o}=o)if(i>-1)for(let n=i+e,a=e<0?-1:o._tree.children.length;n!=a;n+=e){let s=o._tree.children[n];if(this.mode&m2.IncludeAnonymous||s instanceof W$||!s.type.isAnonymous||nBt(s))return!1}return!0}move(e,i){if(i&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,i=0){for(;(this.from==this.to||(i<1?this.from>=e:this.from>e)||(i>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,i););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,i=null,o=0;if(e&&e.context==this.buffer)e:for(let r=this.index,n=this.stack.length;n>=0;){for(let a=e;a;a=a._parent)if(a.index==r){if(r==this.index)return a;i=a,o=n+1;break e}r=this.stack[--n]}for(let r=o;r<this.stack.length;r++)i=new Ose(this.buffer,i,this.stack[r]);return this.bufferNode=new Ose(this.buffer,i,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,i){for(let o=0;;){let r=!1;if(this.type.isAnonymous||e(this)!==!1){if(this.firstChild()){o++;continue}this.type.isAnonymous||(r=!0)}for(;r&&i&&i(this),r=this.type.isAnonymous,!this.nextSibling();){if(!o)return;this.parent(),o--,r=!0}}}matchContext(e){if(!this.buffer)return tBt(this.node,e);let{buffer:i}=this.buffer,{types:o}=i.set;for(let r=e.length-1,n=this.stack.length-1;r>=0;n--){if(n<0)return tBt(this.node,e,r);let a=o[i.buffer[this.stack[n]]];if(!a.isAnonymous){if(e[r]&&e[r]!=a.name)return!1;r--}}return!0}};function nBt(t){return t.children.some(e=>e instanceof W$||!e.type.isAnonymous||nBt(e))}function SHr(t){var e;let{buffer:i,nodeSet:o,maxBufferLength:r=1024,reused:n=[],minRepeatType:a=o.types.length}=t,s=Array.isArray(i)?new eBt(i,i.length):i,l=o.types,c=0,d=0;function u(S,T,M,I,A,D){let{id:E,start:N,end:R,size:v}=s,k=d;for(;v<0;)if(s.next(),v==-1){let B=n[E];M.push(B),I.push(N-S);return}else if(v==-3){c=E;return}else if(v==-4){d=E;return}else throw new RangeError(`Unrecognized record size: ${v}`);let P=l[E],O,_,j=N-S;if(R-N<=r&&(_=g(s.pos-T,A))){let B=new Uint16Array(_.size-_.skip),V=s.pos-_.size,G=B.length;for(;s.pos>V;)G=b(_.start,B,G);O=new W$(B,R-_.start,o),j=_.start-S}else{let B=s.pos-v;s.next();let V=[],G=[],Q=E>=a?E:-1,H=0,q=R;for(;s.pos>B;)Q>=0&&s.id==Q&&s.size>=0?(s.end<=q-r&&(h(V,G,N,H,s.end,q,Q,k),H=V.length,q=s.end),s.next()):D>2500?p(N,B,V,G):u(N,B,V,G,Q,D+1);if(Q>=0&&H>0&&H<V.length&&h(V,G,N,H,N,q,Q,k),V.reverse(),G.reverse(),Q>-1&&H>0){let U=m(P);O=aBt(P,V,G,0,V.length,0,R-N,U,U)}else O=f(P,V,G,R-N,k-R)}M.push(O),I.push(j)}function p(S,T,M,I){let A=[],D=0,E=-1;for(;s.pos>T;){let{id:N,start:R,end:v,size:k}=s;if(k>4)s.next();else{if(E>-1&&R<E)break;E<0&&(E=v-r),A.push(N,R,v),D++,s.next()}}if(D){let N=new Uint16Array(D*4),R=A[A.length-2];for(let v=A.length-3,k=0;v>=0;v-=3)N[k++]=A[v],N[k++]=A[v+1]-R,N[k++]=A[v+2]-R,N[k++]=k;M.push(new W$(N,A[2]-R,o)),I.push(R-S)}}function m(S){return(T,M,I)=>{let A=0,D=T.length-1,E,N;if(D>=0&&(E=T[D])instanceof ab){if(!D&&E.type==S&&E.length==I)return E;(N=E.prop(Fl.lookAhead))&&(A=M[D]+E.length+N)}return f(S,T,M,I,A)}}function h(S,T,M,I,A,D,E,N){let R=[],v=[];for(;S.length>I;)R.push(S.pop()),v.push(T.pop()+M-A);S.push(f(o.types[E],R,v,D-A,N-D)),T.push(A-M)}function f(S,T,M,I,A=0,D){if(c){let E=[Fl.contextHash,c];D=D?[E].concat(D):[E]}if(A>25){let E=[Fl.lookAhead,A];D=D?[E].concat(D):[E]}return new ab(S,T,M,I,D)}function g(S,T){let M=s.fork(),I=0,A=0,D=0,E=M.end-r,N={size:0,start:0,skip:0};e:for(let R=M.pos-S;M.pos>R;){let v=M.size;if(M.id==T&&v>=0){N.size=I,N.start=A,N.skip=D,D+=4,I+=4,M.next();continue}let k=M.pos-v;if(v<0||k<R||M.start<E)break;let P=M.id>=a?4:0,O=M.start;for(M.next();M.pos>k;){if(M.size<0)if(M.size==-3)P+=4;else break e;else M.id>=a&&(P+=4);M.next()}A=O,I+=v,D+=P}return(T<0||I==S)&&(N.size=I,N.start=A,N.skip=D),N.size>4?N:void 0}function b(S,T,M){let{id:I,start:A,end:D,size:E}=s;if(s.next(),E>=0&&I<a){let N=M;if(E>4){let R=s.pos-(E-4);for(;s.pos>R;)M=b(S,T,M)}T[--M]=N,T[--M]=D-S,T[--M]=A-S,T[--M]=I}else E==-3?c=I:E==-4&&(d=I);return M}let y=[],w=[];for(;s.pos>0;)u(t.start||0,t.bufferStart||0,y,w,-1,0);let x=(e=t.length)!==null&&e!==void 0?e:y.length?w[0]+y[0].length:0;return new ab(l[t.topID],y.reverse(),w.reverse(),x)}var f2o=new WeakMap;function jit(t,e){if(!t.isAnonymous||e instanceof W$||e.type!=t)return 1;let i=f2o.get(e);if(i==null){i=1;for(let o of e.children){if(o.type!=t||!(o instanceof ab)){i=1;break}i+=jit(t,o)}f2o.set(e,i)}return i}function aBt(t,e,i,o,r,n,a,s,l){let c=0;for(let h=o;h<r;h++)c+=jit(t,e[h]);let d=Math.ceil(c*1.5/8),u=[],p=[];function m(h,f,g,b,y){for(let w=g;w<b;){let x=w,S=f[w],T=jit(t,h[w]);for(w++;w<b;w++){let M=jit(t,h[w]);if(T+M>=d)break;T+=M}if(w==x+1){if(T>d){let M=h[x];m(M.children,M.positions,0,M.children.length,f[x]+y);continue}u.push(h[x])}else{let M=f[w-1]+h[w-1].length-S;u.push(aBt(t,h,f,x,w,S,M,null,l))}p.push(S+y-n)}}return m(e,i,o,r,0),(s||l)(u,p,a)}var zit=class{constructor(){this.map=new WeakMap}setBuffer(e,i,o){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(i,o)}getBuffer(e,i){let o=this.map.get(e);return o&&o.get(i)}set(e,i){e instanceof Ose?this.setBuffer(e.context.buffer,e.index,i):e instanceof ck&&this.map.set(e.tree,i)}get(e){return e instanceof Ose?this.getBuffer(e.context.buffer,e.index):e instanceof ck?this.map.get(e.tree):void 0}cursorSet(e,i){e.buffer?this.setBuffer(e.buffer.buffer,e.index,i):this.map.set(e.tree,i)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}},Rse=class t{constructor(e,i,o,r,n=!1,a=!1){this.from=e,this.to=i,this.tree=o,this.offset=r,this.open=(n?1:0)|(a?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,i=[],o=!1){let r=[new t(0,e.length,e,0,!1,o)];for(let n of i)n.to>e.length&&r.push(n);return r}static applyChanges(e,i,o=128){if(!i.length)return e;let r=[],n=1,a=e.length?e[0]:null;for(let s=0,l=0,c=0;;s++){let d=s<i.length?i[s]:null,u=d?d.fromA:1e9;if(u-l>=o)for(;a&&a.from<u;){let p=a;if(l>=p.from||u<=p.to||c){let m=Math.max(p.from,l)-c,h=Math.min(p.to,u)-c;p=m>=h?null:new t(m,h,p.tree,p.offset+c,s>0,!!d)}if(p&&r.push(p),a.to>u)break;a=n<e.length?e[n++]:null}if(!d)break;l=d.toA,c=d.toA-d.toB}return r}},F2e=class{startParse(e,i,o){return typeof e=="string"&&(e=new rBt(e)),o=o?o.length?o.map(r=>new CLe(r.from,r.to)):[new CLe(0,0)]:[new CLe(0,e.length)],this.createParse(e,i||[],o)}parse(e,i,o){let r=this.startParse(e,i,o);for(;;){let n=r.advance();if(n)return n}}},rBt=class{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,i){return this.string.slice(e,i)}};var d4d=new Fl({perNode:!0});var MHr=0,Jz=class t{constructor(e,i,o){this.set=e,this.base=i,this.modified=o,this.id=MHr++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let i=new t([],null,[]);if(i.set.push(i),e)for(let o of e.set)i.set.push(o);return i}static defineModifier(){let e=new Hit;return i=>i.modified.indexOf(e)>-1?i:Hit.get(i.base||i,i.modified.concat(e).sort((o,r)=>o.id-r.id))}},IHr=0,Hit=class t{constructor(){this.instances=[],this.id=IHr++}static get(e,i){if(!i.length)return e;let o=i[0].instances.find(s=>s.base==e&&LHr(i,s.modified));if(o)return o;let r=[],n=new Jz(r,e,i);for(let s of i)s.instances.push(n);let a=vHr(i);for(let s of e.set)if(!s.modified.length)for(let l of a)r.push(t.get(s,l));return n}};function LHr(t,e){return t.length==e.length&&t.every((i,o)=>i==e[o])}function vHr(t){let e=[[]];for(let i=0;i<t.length;i++)for(let o=0,r=e.length;o<r;o++)e.push(e[o].concat(t[i]));return e.sort((i,o)=>o.length-i.length)}function Git(t){let e=Object.create(null);for(let i in t){let o=t[i];Array.isArray(o)||(o=[o]);for(let r of i.split(" "))if(r){let n=[],a=2,s=r;for(let u=0;;){if(s=="..."&&u>0&&u+3==r.length){a=1;break}let p=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(s);if(!p)throw new RangeError("Invalid path: "+r);if(n.push(p[0]=="*"?"":p[0][0]=='"'?JSON.parse(p[0]):p[0]),u+=p[0].length,u==r.length)break;let m=r[u++];if(u==r.length&&m=="!"){a=0;break}if(m!="/")throw new RangeError("Invalid path: "+r);s=r.slice(u)}let l=n.length-1,c=n[l];if(!c)throw new RangeError("Invalid path: "+r);let d=new U2e(o,a,l>0?n.slice(0,l):null);e[c]=d.sort(e[c])}}return C2o.add(e)}var C2o=new Fl,U2e=class{constructor(e,i,o,r){this.tags=e,this.mode=i,this.context=o,this.next=r}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}};U2e.empty=new U2e([],2,null);function dBt(t,e){let i=Object.create(null);for(let n of t)if(!Array.isArray(n.tag))i[n.tag.id]=n.class;else for(let a of n.tag)i[a.id]=n.class;let{scope:o,all:r=null}=e||{};return{style:n=>{let a=r;for(let s of n)for(let l of s.set){let c=i[l.id];if(c){a=a?a+" "+c:c;break}}return a},scope:o}}function DHr(t,e){let i=null;for(let o of t){let r=o.style(e);r&&(i=i?i+" "+r:r)}return i}function x2o(t,e,i,o=0,r=t.length){let n=new lBt(o,Array.isArray(e)?e:[e],i);n.highlightRange(t.cursor(),o,r,"",n.highlighters),n.flush(r)}var lBt=class{constructor(e,i,o){this.at=e,this.highlighters=i,this.span=o,this.class=""}startSpan(e,i){i!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=i)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,i,o,r,n){let{type:a,from:s,to:l}=e;if(s>=o||l<=i)return;a.isTop&&(n=this.highlighters.filter(m=>!m.scope||m.scope(a)));let c=r,d=EHr(e)||U2e.empty,u=DHr(n,d.tags);if(u&&(c&&(c+=" "),c+=u,d.mode==1&&(r+=(r?" ":"")+u)),this.startSpan(Math.max(i,s),c),d.opaque)return;let p=e.tree&&e.tree.prop(Fl.mounted);if(p&&p.overlay){let m=e.node.enter(p.overlay[0].from+s,1),h=this.highlighters.filter(g=>!g.scope||g.scope(p.tree.type)),f=e.firstChild();for(let g=0,b=s;;g++){let y=g<p.overlay.length?p.overlay[g]:null,w=y?y.from+s:l,x=Math.max(i,b),S=Math.min(o,w);if(x<S&&f)for(;e.from<S&&(this.highlightRange(e,x,S,r,n),this.startSpan(Math.min(S,e.to),c),!(e.to>=w||!e.nextSibling())););if(!y||w>o)break;b=y.to+s,b>i&&(this.highlightRange(m.cursor(),Math.max(i,y.from+s),Math.min(o,b),"",h),this.startSpan(Math.min(o,b),c))}f&&e.parent()}else if(e.firstChild()){p&&(r="");do if(!(e.to<=i)){if(e.from>=o)break;this.highlightRange(e,i,o,r,n),this.startSpan(Math.min(o,e.to),c)}while(e.nextSibling());e.parent()}}};function EHr(t){let e=t.type.prop(C2o);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}var Jr=Jz.define,Fit=Jr(),Q$=Jr(),y2o=Jr(Q$),w2o=Jr(Q$),K$=Jr(),Uit=Jr(K$),sBt=Jr(K$),Zz=Jr(),_se=Jr(Zz),Qz=Jr(),Kz=Jr(),cBt=Jr(),SLe=Jr(cBt),Vit=Jr(),Si={comment:Fit,lineComment:Jr(Fit),blockComment:Jr(Fit),docComment:Jr(Fit),name:Q$,variableName:Jr(Q$),typeName:y2o,tagName:Jr(y2o),propertyName:w2o,attributeName:Jr(w2o),className:Jr(Q$),labelName:Jr(Q$),namespace:Jr(Q$),macroName:Jr(Q$),literal:K$,string:Uit,docString:Jr(Uit),character:Jr(Uit),attributeValue:Jr(Uit),number:sBt,integer:Jr(sBt),float:Jr(sBt),bool:Jr(K$),regexp:Jr(K$),escape:Jr(K$),color:Jr(K$),url:Jr(K$),keyword:Qz,self:Jr(Qz),null:Jr(Qz),atom:Jr(Qz),unit:Jr(Qz),modifier:Jr(Qz),operatorKeyword:Jr(Qz),controlKeyword:Jr(Qz),definitionKeyword:Jr(Qz),moduleKeyword:Jr(Qz),operator:Kz,derefOperator:Jr(Kz),arithmeticOperator:Jr(Kz),logicOperator:Jr(Kz),bitwiseOperator:Jr(Kz),compareOperator:Jr(Kz),updateOperator:Jr(Kz),definitionOperator:Jr(Kz),typeOperator:Jr(Kz),controlOperator:Jr(Kz),punctuation:cBt,separator:Jr(cBt),bracket:SLe,angleBracket:Jr(SLe),squareBracket:Jr(SLe),paren:Jr(SLe),brace:Jr(SLe),content:Zz,heading:_se,heading1:Jr(_se),heading2:Jr(_se),heading3:Jr(_se),heading4:Jr(_se),heading5:Jr(_se),heading6:Jr(_se),contentSeparator:Jr(Zz),list:Jr(Zz),quote:Jr(Zz),emphasis:Jr(Zz),strong:Jr(Zz),link:Jr(Zz),monospace:Jr(Zz),strikethrough:Jr(Zz),inserted:Jr(),deleted:Jr(),changed:Jr(),invalid:Jr(),meta:Vit,documentMeta:Jr(Vit),annotation:Jr(Vit),processingInstruction:Jr(Vit),definition:Jz.defineModifier(),constant:Jz.defineModifier(),function:Jz.defineModifier(),standard:Jz.defineModifier(),local:Jz.defineModifier(),special:Jz.defineModifier()},m4d=dBt([{tag:Si.link,class:"tok-link"},{tag:Si.heading,class:"tok-heading"},{tag:Si.emphasis,class:"tok-emphasis"},{tag:Si.strong,class:"tok-strong"},{tag:Si.keyword,class:"tok-keyword"},{tag:Si.atom,class:"tok-atom"},{tag:Si.bool,class:"tok-bool"},{tag:Si.url,class:"tok-url"},{tag:Si.labelName,class:"tok-labelName"},{tag:Si.inserted,class:"tok-inserted"},{tag:Si.deleted,class:"tok-deleted"},{tag:Si.literal,class:"tok-literal"},{tag:Si.string,class:"tok-string"},{tag:Si.number,class:"tok-number"},{tag:[Si.regexp,Si.escape,Si.special(Si.string)],class:"tok-string2"},{tag:Si.variableName,class:"tok-variableName"},{tag:Si.local(Si.variableName),class:"tok-variableName tok-local"},{tag:Si.definition(Si.variableName),class:"tok-variableName tok-definition"},{tag:Si.special(Si.variableName),class:"tok-variableName2"},{tag:Si.definition(Si.propertyName),class:"tok-propertyName tok-definition"},{tag:Si.typeName,class:"tok-typeName"},{tag:Si.namespace,class:"tok-namespace"},{tag:Si.className,class:"tok-className"},{tag:Si.macroName,class:"tok-macroName"},{tag:Si.propertyName,class:"tok-propertyName"},{tag:Si.operator,class:"tok-operator"},{tag:Si.comment,class:"tok-comment"},{tag:Si.meta,class:"tok-meta"},{tag:Si.invalid,class:"tok-invalid"},{tag:Si.punctuation,class:"tok-punctuation"}]);var uBt,V2e=new Fl;function IBt(t){return un.define({combine:t?e=>e.concat(t):void 0})}var Zit=new Fl,gE=class{constructor(e,i,o=[],r=""){this.data=e,this.name=r,vd.prototype.hasOwnProperty("tree")||Object.defineProperty(vd.prototype,"tree",{get(){return xf(this)}}),this.parser=i,this.extension=[Z$.of(this),vd.languageData.of((n,a,s)=>{let l=T2o(n,a,s),c=l.type.prop(V2e);if(!c)return[];let d=n.facet(c),u=l.type.prop(Zit);if(u){let p=l.resolve(a-l.from,s);for(let m of u)if(m.test(p,n)){let h=n.facet(m.facet);return m.type=="replace"?h:h.concat(d)}}return d})].concat(o)}isActiveAt(e,i,o=-1){return T2o(e,i,o).type.prop(V2e)==this.data}findRegions(e){let i=e.facet(Z$);if((i==null?void 0:i.data)==this.data)return[{from:0,to:e.doc.length}];if(!i||!i.allowsNesting)return[];let o=[],r=(n,a)=>{if(n.prop(V2e)==this.data){o.push({from:a,to:a+n.length});return}let s=n.prop(Fl.mounted);if(s){if(s.tree.prop(V2e)==this.data){if(s.overlay)for(let l of s.overlay)o.push({from:l.from+a,to:l.to+a});else o.push({from:a,to:a+n.length});return}else if(s.overlay){let l=o.length;if(r(s.tree,s.overlay[0].from+a),o.length>l)return}}for(let l=0;l<n.children.length;l++){let c=n.children[l];c instanceof ab&&r(c,n.positions[l]+a)}};return r(xf(e),0),o}get allowsNesting(){return!0}};gE.setState=Fs.define();function T2o(t,e,i){let o=t.facet(Z$),r=xf(t).topNode;if(!o||o.allowsNesting)for(let n=r;n;n=n.enter(e,i,m2.ExcludeBuffers))n.type.isTop&&(r=n);return r}var Yit=class t extends gE{constructor(e,i,o){super(e,i,[],o),this.parser=i}static define(e){let i=IBt(e.languageData);return new t(i,e.parser.configure({props:[V2e.add(o=>o.isTop?i:void 0)]}),e.name)}configure(e,i){return new t(this.data,this.parser.configure(e),i||this.name)}get allowsNesting(){return this.parser.hasWrappers()}};function xf(t){let e=t.field(gE.state,!1);return e?e.tree:ab.empty}var fBt=class{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,i){let o=this.cursorPos-this.string.length;return e<o||i>=this.cursorPos?this.doc.sliceString(e,i):this.string.slice(e-o,i-o)}},MLe=null,gBt=class t{constructor(e,i,o=[],r,n,a,s,l){this.parser=e,this.state=i,this.fragments=o,this.tree=r,this.treeLen=n,this.viewport=a,this.skipped=s,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,i,o){return new t(e,i,[],ab.empty,0,o,[],null)}startParse(){return this.parser.startParse(new fBt(this.state.doc),this.fragments)}work(e,i){return i!=null&&i>=this.state.doc.length&&(i=void 0),this.tree!=ab.empty&&this.isDone(i!=null?i:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var o;if(typeof e=="number"){let r=Date.now()+e;e=()=>Date.now()>r}for(this.parse||(this.parse=this.startParse()),i!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>i)&&i<this.state.doc.length&&this.parse.stopAt(i);;){let r=this.parse.advance();if(r)if(this.fragments=this.withoutTempSkipped(Rse.addTree(r,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=(o=this.parse.stoppedAt)!==null&&o!==void 0?o:this.state.doc.length,this.tree=r,this.parse=null,this.treeLen<(i!=null?i:this.state.doc.length))this.parse=this.startParse();else return!0;if(e())return!1}})}takeTree(){let e,i;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(i=this.parse.advance()););}),this.treeLen=e,this.tree=i,this.fragments=this.withoutTempSkipped(Rse.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let i=MLe;MLe=this;try{return e()}finally{MLe=i}}withoutTempSkipped(e){for(let i;i=this.tempSkipped.pop();)e=S2o(e,i.from,i.to);return e}changes(e,i){let{fragments:o,tree:r,treeLen:n,viewport:a,skipped:s}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((c,d,u,p)=>l.push({fromA:c,toA:d,fromB:u,toB:p})),o=Rse.applyChanges(o,l),r=ab.empty,n=0,a={from:e.mapPos(a.from,-1),to:e.mapPos(a.to,1)},this.skipped.length){s=[];for(let c of this.skipped){let d=e.mapPos(c.from,1),u=e.mapPos(c.to,-1);d<u&&s.push({from:d,to:u})}}}return new t(this.parser,i,o,r,n,a,s,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let i=this.skipped.length;for(let o=0;o<this.skipped.length;o++){let{from:r,to:n}=this.skipped[o];r<e.to&&n>e.from&&(this.fragments=S2o(this.fragments,r,n),this.skipped.splice(o--,1))}return this.skipped.length>=i?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,i){this.skipped.push({from:e,to:i})}static getSkippingParser(e){return new class extends F2e{createParse(i,o,r){let n=r[0].from,a=r[r.length-1].to;return{parsedPos:n,advance(){let l=MLe;if(l){for(let c of r)l.tempSkipped.push(c);e&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,e]):e)}return this.parsedPos=a,new ab(R5.none,[],[],a-n)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let i=this.fragments;return this.treeLen>=e&&i.length&&i[0].from==0&&i[0].to>=e}static get(){return MLe}};function S2o(t,e,i){return Rse.applyChanges(t,[{fromA:e,toA:i,fromB:e,toB:i}])}var LLe=class t{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let i=this.context.changes(e.changes,e.state),o=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),i.viewport.to);return i.work(20,o)||i.takeTree(),new t(i)}static init(e){let i=Math.min(3e3,e.doc.length),o=gBt.create(e.facet(Z$).parser,e,{from:0,to:i});return o.work(20,i)||o.takeTree(),new t(o)}};gE.state=B1.define({create:LLe.init,update(t,e){for(let i of e.effects)if(i.is(gE.setState))return i.value;return e.startState.facet(Z$)!=e.state.facet(Z$)?LLe.init(e.state):t.apply(e)}});var E2o=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(E2o=t=>{let e=-1,i=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(i):cancelIdleCallback(e)});var pBt=typeof navigator<"u"&&(!((uBt=navigator.scheduling)===null||uBt===void 0)&&uBt.isInputPending)?()=>navigator.scheduling.isInputPending():null,AHr=e1.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let i=this.view.state.field(gE.state).context;(i.updateViewport(e.view.viewport)||this.view.viewport.to>i.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(i)}scheduleWork(){if(this.working)return;let{state:e}=this.view,i=e.field(gE.state);(i.tree!=i.context.tree||!i.context.isDone(e.doc.length))&&(this.working=E2o(this.work))}work(e){this.working=null;let i=Date.now();if(this.chunkEnd<i&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=i+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:o,viewport:{to:r}}=this.view,n=o.field(gE.state);if(n.tree==n.context.tree&&n.context.isDone(r+1e5))return;let a=Date.now()+Math.min(this.chunkBudget,100,e&&!pBt?Math.max(25,e.timeRemaining()-5):1e9),s=n.context.treeLen<r&&o.doc.length>r+1e3,l=n.context.work(()=>pBt&&pBt()||Date.now()>a,r+(s?0:1e5));this.chunkBudget-=Date.now()-i,(l||this.chunkBudget<=0)&&(n.context.takeTree(),this.view.dispatch({effects:gE.setState.of(new LLe(n.context))})),this.chunkBudget>0&&!(l&&!s)&&this.scheduleWork(),this.checkAsyncSchedule(n.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(i=>Tw(this.view.state,i)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Z$=un.define({combine(t){return t.length?t[0]:null},enables:t=>[gE.state,AHr,Ir.contentAttributes.compute([t],e=>{let i=e.facet(t);return i&&i.name?{"data-language":i.name}:{}})]}),Wit=class{constructor(e,i=[]){this.language=e,this.support=i,this.extension=[e,i]}};var NHr=un.define(),G2e=un.define({combine:t=>{if(!t.length)return"  ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(i=>i!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function vLe(t){let e=t.facet(G2e);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function Y2e(t,e){let i="",o=t.tabSize,r=t.facet(G2e)[0];if(r=="	"){for(;e>=o;)i+="	",e-=o;r=" "}for(let n=0;n<e;n++)i+=r;return i}function Jit(t,e){t instanceof vd&&(t=new jse(t));for(let o of t.state.facet(NHr)){let r=o(t,e);if(r!==void 0)return r}let i=xf(t.state);return i.length>=e?kHr(t,i,e):null}var jse=class{constructor(e,i={}){this.state=e,this.options=i,this.unit=vLe(e)}lineAt(e,i=1){let o=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:n}=this.options;return r!=null&&r>=o.from&&r<=o.to?n&&r==e?{text:"",from:e}:(i<0?r<e:r<=e)?{text:o.text.slice(r-o.from),from:r}:{text:o.text.slice(0,r-o.from),from:o.from}:o}textAfterPos(e,i=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:o,from:r}=this.lineAt(e,i);return o.slice(e-r,Math.min(o.length,e+100-r))}column(e,i=1){let{text:o,from:r}=this.lineAt(e,i),n=this.countColumn(o,e-r),a=this.options.overrideIndentation?this.options.overrideIndentation(r):-1;return a>-1&&(n+=a-this.countColumn(o,o.search(/\S|$/))),n}countColumn(e,i=e.length){return fW(e,this.state.tabSize,i)}lineIndent(e,i=1){let{text:o,from:r}=this.lineAt(e,i),n=this.options.overrideIndentation;if(n){let a=n(r);if(a>-1)return a}return this.countColumn(o,o.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}},LBt=new Fl;function kHr(t,e,i){let o=e.resolveStack(i),r=o.node.enterUnfinishedNodesBefore(i);if(r!=o.node){let n=[];for(let a=r;a!=o.node;a=a.parent)n.push(a);for(let a=n.length-1;a>=0;a--)o={node:n[a],next:o}}return A2o(o,t,i)}function A2o(t,e,i){for(let o=t;o;o=o.next){let r=OHr(o.node);if(r)return r(bBt.create(e,i,o))}return 0}function PHr(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function OHr(t){let e=t.type.prop(LBt);if(e)return e;let i=t.firstChild,o;if(i&&(o=i.type.prop(Fl.closedBy))){let r=t.lastChild,n=r&&o.indexOf(r.name)>-1;return a=>k2o(a,!0,1,void 0,n&&!PHr(a)?r.from:void 0)}return t.parent==null?RHr:null}function RHr(){return 0}var bBt=class t extends jse{constructor(e,i,o){super(e.state,e.options),this.base=e,this.pos=i,this.context=o}get node(){return this.context.node}static create(e,i,o){return new t(e,i,o)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let i=this.state.doc.lineAt(e.from);for(;;){let o=e.resolve(i.from);for(;o.parent&&o.parent.from==o.from;)o=o.parent;if(_Hr(o,e))break;i=this.state.doc.lineAt(o.from)}return this.lineIndent(i.from)}continue(){return A2o(this.context.next,this.base,this.pos)}};function _Hr(t,e){for(let i=e;i;i=i.parent)if(t==i)return!0;return!1}function jHr(t){let e=t.node,i=e.childAfter(e.from),o=e.lastChild;if(!i)return null;let r=t.options.simulateBreak,n=t.state.doc.lineAt(i.from),a=r==null||r<=n.from?n.to:Math.min(n.to,r);for(let s=i.to;;){let l=e.childAfter(s);if(!l||l==o)return null;if(!l.type.isSkipped)return l.from<a?i:null;s=l.to}}function N2o({closing:t,align:e=!0,units:i=1}){return o=>k2o(o,e,i,t)}function k2o(t,e,i,o,r){let n=t.textAfter,a=n.match(/^\s*/)[0].length,s=o&&n.slice(a,a+o.length)==o||r==t.pos+a,l=e?jHr(t):null;return l?s?t.column(l.from):t.column(l.to):t.baseIndent+(s?0:t.unit*i)}var P2o=t=>t.baseIndent;function qit({except:t,units:e=1}={}){return i=>{let o=t&&t.test(i.textAfter);return i.baseIndent+(o?0:e*i.unit)}}var BHr=200;function O2o(){return vd.transactionFilter.of(t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let i=t.newDoc,{head:o}=t.newSelection.main,r=i.lineAt(o);if(o>r.from+BHr)return t;let n=i.sliceString(r.from,o);if(!e.some(c=>c.test(n)))return t;let{state:a}=t,s=-1,l=[];for(let{head:c}of a.selection.ranges){let d=a.doc.lineAt(c);if(d.from==s)continue;s=d.from;let u=Jit(a,d.from);if(u==null)continue;let p=/^\s*/.exec(d.text)[0],m=Y2e(a,u);p!=m&&l.push({from:d.from,to:d.from+p.length,insert:m})}return l.length?[t,{changes:l,sequential:!0}]:t})}var zHr=un.define(),vBt=new Fl;function R2o(t){let e=t.firstChild,i=t.lastChild;return e&&e.to<i.from?{from:e.to,to:i.type.isError?t.to:i.from}:null}function FHr(t,e,i){let o=xf(t);if(o.length<i)return null;let r=o.resolveStack(i,1),n=null;for(let a=r;a;a=a.next){let s=a.node;if(s.to<=i||s.from>i)continue;if(n&&s.from<e)break;let l=s.type.prop(vBt);if(l&&(s.to<o.length-50||o.length==t.doc.length||!UHr(s))){let c=l(s,t);c&&c.from<=i&&c.from>=e&&c.to>i&&(n=c)}}return n}function UHr(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function Qit(t,e,i){for(let o of t.facet(zHr)){let r=o(t,e,i);if(r)return r}return FHr(t,e,i)}function _2o(t,e){let i=e.mapPos(t.from,1),o=e.mapPos(t.to,-1);return i>=o?void 0:{from:i,to:o}}var Xit=Fs.define({map:_2o}),DLe=Fs.define({map:_2o});function j2o(t){let e=[];for(let{head:i}of t.state.selection.ranges)e.some(o=>o.from<=i&&o.to>=i)||e.push(t.lineBlockAt(i));return e}var Bse=B1.define({create(){return ra.none},update(t,e){t=t.map(e.changes);for(let i of e.effects)if(i.is(Xit)&&!VHr(t,i.value.from,i.value.to)){let{preparePlaceholder:o}=e.state.facet(DBt),r=o?ra.replace({widget:new yBt(o(e.state,i.value))}):M2o;t=t.update({add:[r.range(i.value.from,i.value.to)]})}else i.is(DLe)&&(t=t.update({filter:(o,r)=>i.value.from!=o||i.value.to!=r,filterFrom:i.value.from,filterTo:i.value.to}));if(e.selection){let i=!1,{head:o}=e.selection.main;t.between(o,o,(r,n)=>{r<o&&n>o&&(i=!0)}),i&&(t=t.update({filterFrom:o,filterTo:o,filter:(r,n)=>n<=o||r>=o}))}return t},provide:t=>Ir.decorations.from(t),toJSON(t,e){let i=[];return t.between(0,e.doc.length,(o,r)=>{i.push(o,r)}),i},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let i=0;i<t.length;){let o=t[i++],r=t[i++];if(typeof o!="number"||typeof r!="number")throw new RangeError("Invalid JSON for fold state");e.push(M2o.range(o,r))}return ra.set(e,!0)}});function Kit(t,e,i){var o;let r=null;return(o=t.field(Bse,!1))===null||o===void 0||o.between(e,i,(n,a)=>{(!r||r.from>n)&&(r={from:n,to:a})}),r}function VHr(t,e,i){let o=!1;return t.between(e,e,(r,n)=>{r==e&&n==i&&(o=!0)}),o}function B2o(t,e){return t.field(Bse,!1)?e:e.concat(Fs.appendConfig.of(U2o()))}var HHr=t=>{for(let e of j2o(t)){let i=Qit(t.state,e.from,e.to);if(i)return t.dispatch({effects:B2o(t.state,[Xit.of(i),z2o(t,i)])}),!0}return!1},GHr=t=>{if(!t.state.field(Bse,!1))return!1;let e=[];for(let i of j2o(t)){let o=Kit(t.state,i.from,i.to);o&&e.push(DLe.of(o),z2o(t,o,!1))}return e.length&&t.dispatch({effects:e}),e.length>0};function z2o(t,e,i=!0){let o=t.state.doc.lineAt(e.from).number,r=t.state.doc.lineAt(e.to).number;return Ir.announce.of(`${t.state.phrase(i?"Folded lines":"Unfolded lines")} ${o} ${t.state.phrase("to")} ${r}.`)}var YHr=t=>{let{state:e}=t,i=[];for(let o=0;o<e.doc.length;){let r=t.lineBlockAt(o),n=Qit(e,r.from,r.to);n&&i.push(Xit.of(n)),o=(n?t.lineBlockAt(n.to):r).to+1}return i.length&&t.dispatch({effects:B2o(t.state,i)}),!!i.length},WHr=t=>{let e=t.state.field(Bse,!1);if(!e||!e.size)return!1;let i=[];return e.between(0,t.state.doc.length,(o,r)=>{i.push(DLe.of({from:o,to:r}))}),t.dispatch({effects:i}),!0};var F2o=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:HHr},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:GHr},{key:"Ctrl-Alt-[",run:YHr},{key:"Ctrl-Alt-]",run:WHr}],QHr={placeholderDOM:null,preparePlaceholder:null,placeholderText:"\u2026"},DBt=un.define({combine(t){return hx(t,QHr)}});function U2o(t){let e=[Bse,ZHr];return t&&e.push(DBt.of(t)),e}function V2o(t,e){let{state:i}=t,o=i.facet(DBt),r=a=>{let s=t.lineBlockAt(t.posAtDOM(a.target)),l=Kit(t.state,s.from,s.to);l&&t.dispatch({effects:DLe.of(l)}),a.preventDefault()};if(o.placeholderDOM)return o.placeholderDOM(t,r,e);let n=document.createElement("span");return n.textContent=o.placeholderText,n.setAttribute("aria-label",i.phrase("folded code")),n.title=i.phrase("unfold"),n.className="cm-foldPlaceholder",n.onclick=r,n}var M2o=ra.replace({widget:new class extends mL{toDOM(t){return V2o(t,null)}}}),yBt=class extends mL{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return V2o(e,this.value)}},KHr={openText:"\u2304",closedText:"\u203A",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1},ILe=class extends hL{constructor(e,i){super(),this.config=e,this.open=i}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let i=document.createElement("span");return i.textContent=this.open?this.config.openText:this.config.closedText,i.title=e.state.phrase(this.open?"Fold line":"Unfold line"),i}};function H2o(t={}){let e=Object.assign(Object.assign({},KHr),t),i=new ILe(e,!0),o=new ILe(e,!1),r=e1.fromClass(class{constructor(a){this.from=a.viewport.from,this.markers=this.buildMarkers(a)}update(a){(a.docChanged||a.viewportChanged||a.startState.facet(Z$)!=a.state.facet(Z$)||a.startState.field(Bse,!1)!=a.state.field(Bse,!1)||xf(a.startState)!=xf(a.state)||e.foldingChanged(a))&&(this.markers=this.buildMarkers(a.view))}buildMarkers(a){let s=new nk;for(let l of a.viewportLineBlocks){let c=Kit(a.state,l.from,l.to)?o:Qit(a.state,l.from,l.to)?i:null;c&&s.add(l.from,l.from,c)}return s.finish()}}),{domEventHandlers:n}=e;return[r,Rit({class:"cm-foldGutter",markers(a){var s;return((s=a.plugin(r))===null||s===void 0?void 0:s.markers)||x0.empty},initialSpacer(){return new ILe(e,!1)},domEventHandlers:Object.assign(Object.assign({},n),{click:(a,s,l)=>{if(n.click&&n.click(a,s,l))return!0;let c=Kit(a.state,s.from,s.to);if(c)return a.dispatch({effects:DLe.of(c)}),!0;let d=Qit(a.state,s.from,s.to);return d?(a.dispatch({effects:Xit.of(d)}),!0):!1}})}),U2o()]}var ZHr=Ir.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}}),H2e=class t{constructor(e,i){this.specs=e;let o;function r(s){let l=ak.newName();return(o||(o=Object.create(null)))["."+l]=s,l}let n=typeof i.all=="string"?i.all:i.all?r(i.all):void 0,a=i.scope;this.scope=a instanceof gE?s=>s.prop(V2e)==a.data:a?s=>s==a:void 0,this.style=dBt(e.map(s=>({tag:s.tag,class:s.class||r(Object.assign({},s,{tag:null}))})),{all:n}).style,this.module=o?new ak(o):null,this.themeType=i.themeType}static define(e,i){return new t(e,i||{})}},wBt=un.define(),G2o=un.define({combine(t){return t.length?[t[0]]:null}});function mBt(t){let e=t.facet(wBt);return e.length?e:t.facet(G2o)}function ELe(t,e){let i=[JHr],o;return t instanceof H2e&&(t.module&&i.push(Ir.styleModule.of(t.module)),o=t.themeType),e!=null&&e.fallback?i.push(G2o.of(t)):o?i.push(wBt.computeN([Ir.darkTheme],r=>r.facet(Ir.darkTheme)==(o=="dark")?[t]:[])):i.push(wBt.of(t)),i}var CBt=class{constructor(e){this.markCache=Object.create(null),this.tree=xf(e.state),this.decorations=this.buildDeco(e,mBt(e.state)),this.decoratedTo=e.viewport.to}update(e){let i=xf(e.state),o=mBt(e.state),r=o!=mBt(e.startState),{viewport:n}=e.view,a=e.changes.mapPos(this.decoratedTo,1);i.length<n.to&&!r&&i.type==this.tree.type&&a>=n.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=a):(i!=this.tree||e.viewportChanged||r)&&(this.tree=i,this.decorations=this.buildDeco(e.view,o),this.decoratedTo=n.to)}buildDeco(e,i){if(!i||!this.tree.length)return ra.none;let o=new nk;for(let{from:r,to:n}of e.visibleRanges)x2o(this.tree,i,(a,s,l)=>{o.add(a,s,this.markCache[l]||(this.markCache[l]=ra.mark({class:l})))},r,n);return o.finish()}},JHr=hE.high(e1.fromClass(CBt,{decorations:t=>t.decorations})),EBt=H2e.define([{tag:Si.meta,color:"#404740"},{tag:Si.link,textDecoration:"underline"},{tag:Si.heading,textDecoration:"underline",fontWeight:"bold"},{tag:Si.emphasis,fontStyle:"italic"},{tag:Si.strong,fontWeight:"bold"},{tag:Si.strikethrough,textDecoration:"line-through"},{tag:Si.keyword,color:"#708"},{tag:[Si.atom,Si.bool,Si.url,Si.contentSeparator,Si.labelName],color:"#219"},{tag:[Si.literal,Si.inserted],color:"#164"},{tag:[Si.string,Si.deleted],color:"#a11"},{tag:[Si.regexp,Si.escape,Si.special(Si.string)],color:"#e40"},{tag:Si.definition(Si.variableName),color:"#00f"},{tag:Si.local(Si.variableName),color:"#30a"},{tag:[Si.typeName,Si.namespace],color:"#085"},{tag:Si.className,color:"#167"},{tag:[Si.special(Si.variableName),Si.macroName],color:"#256"},{tag:Si.definition(Si.propertyName),color:"#00c"},{tag:Si.comment,color:"#940"},{tag:Si.invalid,color:"#f00"}]),qHr=Ir.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),Y2o=1e4,W2o="()[]{}",Q2o=un.define({combine(t){return hx(t,{afterCursor:!0,brackets:W2o,maxScanDistance:Y2o,renderMatch:eGr})}}),XHr=ra.mark({class:"cm-matchingBracket"}),$Hr=ra.mark({class:"cm-nonmatchingBracket"});function eGr(t){let e=[],i=t.matched?XHr:$Hr;return e.push(i.range(t.start.from,t.start.to)),t.end&&e.push(i.range(t.end.from,t.end.to)),e}var tGr=B1.define({create(){return ra.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let i=[],o=e.state.facet(Q2o);for(let r of e.state.selection.ranges){if(!r.empty)continue;let n=WO(e.state,r.head,-1,o)||r.head>0&&WO(e.state,r.head-1,1,o)||o.afterCursor&&(WO(e.state,r.head,1,o)||r.head<e.state.doc.length&&WO(e.state,r.head+1,-1,o));n&&(i=i.concat(o.renderMatch(n,e.state)))}return ra.set(i,!0)},provide:t=>Ir.decorations.from(t)}),iGr=[tGr,qHr];function K2o(t={}){return[Q2o.of(t),iGr]}var oGr=new Fl;function xBt(t,e,i){let o=t.prop(e<0?Fl.openedBy:Fl.closedBy);if(o)return o;if(t.name.length==1){let r=i.indexOf(t.name);if(r>-1&&r%2==(e<0?1:0))return[i[r+e]]}return null}function TBt(t){let e=t.type.prop(oGr);return e?e(t.node):t}function WO(t,e,i,o={}){let r=o.maxScanDistance||Y2o,n=o.brackets||W2o,a=xf(t),s=a.resolveInner(e,i);for(let l=s;l;l=l.parent){let c=xBt(l.type,i,n);if(c&&l.from<l.to){let d=TBt(l);if(d&&(i>0?e>=d.from&&e<d.to:e>d.from&&e<=d.to))return rGr(t,e,i,l,d,c,n)}}return nGr(t,e,i,a,s.type,r,n)}function rGr(t,e,i,o,r,n,a){let s=o.parent,l={from:r.from,to:r.to},c=0,d=s==null?void 0:s.cursor();if(d&&(i<0?d.childBefore(o.from):d.childAfter(o.to)))do if(i<0?d.to<=o.from:d.from>=o.to){if(c==0&&n.indexOf(d.type.name)>-1&&d.from<d.to){let u=TBt(d);return{start:l,end:u?{from:u.from,to:u.to}:void 0,matched:!0}}else if(xBt(d.type,i,a))c++;else if(xBt(d.type,-i,a)){if(c==0){let u=TBt(d);return{start:l,end:u&&u.from<u.to?{from:u.from,to:u.to}:void 0,matched:!1}}c--}}while(i<0?d.prevSibling():d.nextSibling());return{start:l,matched:!1}}function nGr(t,e,i,o,r,n,a){let s=i<0?t.sliceDoc(e-1,e):t.sliceDoc(e,e+1),l=a.indexOf(s);if(l<0||l%2==0!=i>0)return null;let c={from:i<0?e-1:e,to:i>0?e+1:e},d=t.doc.iterRange(e,i>0?t.doc.length:0),u=0;for(let p=0;!d.next().done&&p<=n;){let m=d.value;i<0&&(p+=m.length);let h=e+p*i;for(let f=i>0?0:m.length-1,g=i>0?m.length:-1;f!=g;f+=i){let b=a.indexOf(m[f]);if(!(b<0||o.resolveInner(h+f,1).type!=r))if(b%2==0==i>0)u++;else{if(u==1)return{start:c,end:{from:h+f,to:h+f+1},matched:b>>1==l>>1};u--}}i>0&&(p+=m.length)}return d.done?{start:c,matched:!1}:null}var Z2o=Object.create(null),SBt=[R5.none],x4d=new z2e(SBt),I2o=[],L2o=Object.create(null),J2o=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])J2o[t]=q2o(Z2o,e);var MBt=class{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),J2o)}resolve(e){return e?this.table[e]||(this.table[e]=q2o(this.extra,e)):0}},T4d=new MBt(Z2o);function hBt(t,e){I2o.indexOf(t)>-1||(I2o.push(t),console.warn(e))}function q2o(t,e){let i=[];for(let s of e.split(" ")){let l=[];for(let c of s.split(".")){let d=t[c]||Si[c];d?typeof d=="function"?l.length?l=l.map(d):hBt(c,`Modifier ${c} used at start of tag`):l.length?hBt(c,`Tag ${c} used as modifier`):l=Array.isArray(d)?d:[d]:hBt(c,`Unknown highlighting tag ${c}`)}for(let c of l)i.push(c)}if(!i.length)return 0;let o=e.replace(/ /g,"_"),r=o+" "+i.map(s=>s.id),n=L2o[r];if(n)return n.id;let a=L2o[r]=R5.define({id:SBt.length,name:o,props:[Git({[o]:i})]});return SBt.push(a),a.id}function X2o(t){return t.length<=4096&&/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/.test(t)}function $2o(t){for(let e=t.iter();!e.next().done;)if(X2o(e.value))return!0;return!1}function aGr(t){let e=!1;return t.iterChanges((i,o,r,n,a)=>{!e&&$2o(a)&&(e=!0)}),e}var v2o=un.define({combine:t=>t.some(e=>e)});var S4d=e1.fromClass(class{constructor(t){this.always=t.state.facet(v2o)||t.textDirection!=wp.LTR||t.state.facet(Ir.perLineTextDirection),this.hasRTL=!this.always&&$2o(t.state.doc),this.tree=xf(t.state),this.decorations=this.always||this.hasRTL?D2o(t,this.tree,this.always):ra.none}update(t){let e=t.state.facet(v2o)||t.view.textDirection!=wp.LTR||t.state.facet(Ir.perLineTextDirection);if(!e&&!this.hasRTL&&aGr(t.changes)&&(this.hasRTL=!0),!e&&!this.hasRTL)return;let i=xf(t.state);(e!=this.always||i!=this.tree||t.docChanged||t.viewportChanged)&&(this.tree=i,this.always=e,this.decorations=D2o(t.view,i,e))}},{provide:t=>{function e(i){var o,r;return(r=(o=i.plugin(t))===null||o===void 0?void 0:o.decorations)!==null&&r!==void 0?r:ra.none}return[Ir.outerDecorations.of(e),hE.lowest(Ir.bidiIsolatedRanges.of(e))]}});function D2o(t,e,i){let o=new nk,r=t.visibleRanges;i||(r=sGr(r,t.state.doc));for(let{from:n,to:a}of r)e.iterate({enter:s=>{let l=s.type.prop(Fl.isolate);l&&o.add(s.from,s.to,lGr[l])},from:n,to:a});return o.finish()}function sGr(t,e){let i=e.iter(),o=0,r=[],n=null;for(let{from:a,to:s}of t)if(!(n&&n.to>a&&(a=n.to,a>=s)))for(o+i.value.length<a&&(i.next(a-(o+i.value.length)),o=a);;){let l=o,c=o+i.value.length;if(!i.lineBreak&&X2o(i.value)&&(n&&n.to>l-10?n.to=Math.min(s,c):r.push(n={from:l,to:Math.min(s,c)})),c>=s)break;o=c,i.next()}return r}var lGr={rtl:ra.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"rtl"},bidiIsolate:wp.RTL}),ltr:ra.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"ltr"},bidiIsolate:wp.LTR}),auto:ra.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"auto"},bidiIsolate:null})};var cGr=t=>{let{state:e}=t,i=e.doc.lineAt(e.selection.main.from),o=RBt(t.state,i.from);return o.line?dGr(t):o.block?pGr(t):!1};function Fse(t,e){return({state:i,dispatch:o})=>{if(i.readOnly)return!1;let r=t(e,i);return r?(o(i.update(r)),!0):!1}}var dGr=Fse(_Bt,0),P4d=Fse(_Bt,1),O4d=Fse(_Bt,2),uGr=Fse(tot,0),R4d=Fse(tot,1),_4d=Fse(tot,2),pGr=Fse((t,e)=>tot(t,e,hGr(e)),0);function RBt(t,e){let i=t.languageDataAt("commentTokens",e);return i.length?i[0]:{}}var ALe=50;function mGr(t,{open:e,close:i},o,r){let n=t.sliceDoc(o-ALe,o),a=t.sliceDoc(r,r+ALe),s=/\s*$/.exec(n)[0].length,l=/^\s*/.exec(a)[0].length,c=n.length-s;if(n.slice(c-e.length,c)==e&&a.slice(l,l+i.length)==i)return{open:{pos:o-s,margin:s&&1},close:{pos:r+l,margin:l&&1}};let d,u;r-o<=2*ALe?d=u=t.sliceDoc(o,r):(d=t.sliceDoc(o,o+ALe),u=t.sliceDoc(r-ALe,r));let p=/^\s*/.exec(d)[0].length,m=/\s*$/.exec(u)[0].length,h=u.length-m-i.length;return d.slice(p,p+e.length)==e&&u.slice(h,h+i.length)==i?{open:{pos:o+p+e.length,margin:/\s/.test(d.charAt(p+e.length))?1:0},close:{pos:r-m-i.length,margin:/\s/.test(u.charAt(h-1))?1:0}}:null}function hGr(t){let e=[];for(let i of t.selection.ranges){let o=t.doc.lineAt(i.from),r=i.to<=o.to?o:t.doc.lineAt(i.to),n=e.length-1;n>=0&&e[n].to>o.from?e[n].to=r.to:e.push({from:o.from+/^\s*/.exec(o.text)[0].length,to:r.to})}return e}function tot(t,e,i=e.selection.ranges){let o=i.map(n=>RBt(e,n.from).block);if(!o.every(n=>n))return null;let r=i.map((n,a)=>mGr(e,o[a],n.from,n.to));if(t!=2&&!r.every(n=>n))return{changes:e.changes(i.map((n,a)=>r[a]?[]:[{from:n.from,insert:o[a].open+" "},{from:n.to,insert:" "+o[a].close}]))};if(t!=1&&r.some(n=>n)){let n=[];for(let a=0,s;a<r.length;a++)if(s=r[a]){let l=o[a],{open:c,close:d}=s;n.push({from:c.pos-l.open.length,to:c.pos+c.margin},{from:d.pos-d.margin,to:d.pos+l.close.length})}return{changes:n}}return null}function _Bt(t,e,i=e.selection.ranges){let o=[],r=-1;for(let{from:n,to:a}of i){let s=o.length,l=1e9,c=RBt(e,n).line;if(c){for(let d=n;d<=a;){let u=e.doc.lineAt(d);if(u.from>r&&(n==a||a>u.from)){r=u.from;let p=/^\s*/.exec(u.text)[0].length,m=p==u.length,h=u.text.slice(p,p+c.length)==c?p:-1;p<u.text.length&&p<l&&(l=p),o.push({line:u,comment:h,token:c,indent:p,empty:m,single:!1})}d=u.to+1}if(l<1e9)for(let d=s;d<o.length;d++)o[d].indent<o[d].line.text.length&&(o[d].indent=l);o.length==s+1&&(o[s].single=!0)}}if(t!=2&&o.some(n=>n.comment<0&&(!n.empty||n.single))){let n=[];for(let{line:s,token:l,indent:c,empty:d,single:u}of o)(u||!d)&&n.push({from:s.from+c,insert:l+" "});let a=e.changes(n);return{changes:a,selection:e.selection.map(a,1)}}else if(t!=1&&o.some(n=>n.comment>=0)){let n=[];for(let{line:a,comment:s,token:l}of o)if(s>=0){let c=a.from+s,d=c+l.length;a.text[d-a.from]==" "&&d++,n.push({from:c,to:d})}return{changes:n}}return null}var NBt=uL.define(),fGr=uL.define(),gGr=un.define(),sbo=un.define({combine(t){return hx(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,i)=>i},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,i)=>(o,r)=>e(o,r)||i(o,r)})}}),jBt=B1.define({create(){return zse.empty},update(t,e){let i=e.state.facet(sbo),o=e.annotation(NBt);if(o){let l=QO.fromTransaction(e,o.selection),c=o.side,d=c==0?t.undone:t.done;return l?d=eot(d,d.length,i.minDepth,l):d=ubo(d,e.startState.selection),new zse(c==0?o.rest:d,c==0?d:o.rest)}let r=e.annotation(fGr);if((r=="full"||r=="before")&&(t=t.isolate()),e.annotation(_y.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let n=QO.fromTransaction(e),a=e.annotation(_y.time),s=e.annotation(_y.userEvent);return n?t=t.addChanges(n,a,s,i,e):e.selection&&(t=t.addSelection(e.startState.selection,a,s,i.newGroupDelay)),(r=="full"||r=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new zse(t.done.map(QO.fromJSON),t.undone.map(QO.fromJSON))}});function BBt(t={}){return[jBt,sbo.of(t),Ir.domEventHandlers({beforeinput(e,i){let o=e.inputType=="historyUndo"?lbo:e.inputType=="historyRedo"?kBt:null;return o?(e.preventDefault(),o(i)):!1}})]}function iot(t,e){return function({state:i,dispatch:o}){if(!e&&i.readOnly)return!1;let r=i.field(jBt,!1);if(!r)return!1;let n=r.pop(t,i,e);return n?(o(n),!0):!1}}var lbo=iot(0,!1),kBt=iot(1,!1),bGr=iot(0,!0),yGr=iot(1,!0);function cbo(t){return function(e){let i=e.field(jBt,!1);if(!i)return 0;let o=t==0?i.done:i.undone;return o.length-(o.length&&!o[0].changes?1:0)}}var j4d=cbo(0),B4d=cbo(1),QO=class t{constructor(e,i,o,r,n){this.changes=e,this.effects=i,this.mapped=o,this.startSelection=r,this.selectionsAfter=n}setSelAfter(e){return new t(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,i,o;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(i=this.mapped)===null||i===void 0?void 0:i.toJSON(),startSelection:(o=this.startSelection)===null||o===void 0?void 0:o.toJSON(),selectionsAfter:this.selectionsAfter.map(r=>r.toJSON())}}static fromJSON(e){return new t(e.changes&&KM.fromJSON(e.changes),[],e.mapped&&hW.fromJSON(e.mapped),e.startSelection&&Fo.fromJSON(e.startSelection),e.selectionsAfter.map(Fo.fromJSON))}static fromTransaction(e,i){let o=dk;for(let r of e.startState.facet(gGr)){let n=r(e);n.length&&(o=o.concat(n))}return!o.length&&e.changes.empty?null:new t(e.changes.invert(e.startState.doc),o,void 0,i||e.startState.selection,dk)}static selection(e){return new t(void 0,dk,void 0,void 0,e)}};function eot(t,e,i,o){let r=e+1>i+20?e-i-1:0,n=t.slice(r,e);return n.push(o),n}function wGr(t,e){let i=[],o=!1;return t.iterChangedRanges((r,n)=>i.push(r,n)),e.iterChangedRanges((r,n,a,s)=>{for(let l=0;l<i.length;){let c=i[l++],d=i[l++];s>=c&&a<=d&&(o=!0)}}),o}function CGr(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((i,o)=>i.empty!=e.ranges[o].empty).length===0}function dbo(t,e){return t.length?e.length?t.concat(e):t:e}var dk=[],xGr=200;function ubo(t,e){if(t.length){let i=t[t.length-1],o=i.selectionsAfter.slice(Math.max(0,i.selectionsAfter.length-xGr));return o.length&&o[o.length-1].eq(e)?t:(o.push(e),eot(t,t.length-1,1e9,i.setSelAfter(o)))}else return[QO.selection([e])]}function TGr(t){let e=t[t.length-1],i=t.slice();return i[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),i}function ABt(t,e){if(!t.length)return t;let i=t.length,o=dk;for(;i;){let r=SGr(t[i-1],e,o);if(r.changes&&!r.changes.empty||r.effects.length){let n=t.slice(0,i);return n[i-1]=r,n}else e=r.mapped,i--,o=r.selectionsAfter}return o.length?[QO.selection(o)]:dk}function SGr(t,e,i){let o=dbo(t.selectionsAfter.length?t.selectionsAfter.map(s=>s.map(e)):dk,i);if(!t.changes)return QO.selection(o);let r=t.changes.map(e),n=e.mapDesc(t.changes,!0),a=t.mapped?t.mapped.composeDesc(n):n;return new QO(r,Fs.mapEffects(t.effects,e),a,t.startSelection.map(n),o)}var MGr=/^(input\.type|delete)($|\.)/,zse=class t{constructor(e,i,o=0,r=void 0){this.done=e,this.undone=i,this.prevTime=o,this.prevUserEvent=r}isolate(){return this.prevTime?new t(this.done,this.undone):this}addChanges(e,i,o,r,n){let a=this.done,s=a[a.length-1];return s&&s.changes&&!s.changes.empty&&e.changes&&(!o||MGr.test(o))&&(!s.selectionsAfter.length&&i-this.prevTime<r.newGroupDelay&&r.joinToEvent(n,wGr(s.changes,e.changes))||o=="input.type.compose")?a=eot(a,a.length-1,r.minDepth,new QO(e.changes.compose(s.changes),dbo(e.effects,s.effects),s.mapped,s.startSelection,dk)):a=eot(a,a.length,r.minDepth,e),new t(a,dk,i,o)}addSelection(e,i,o,r){let n=this.done.length?this.done[this.done.length-1].selectionsAfter:dk;return n.length>0&&i-this.prevTime<r&&o==this.prevUserEvent&&o&&/^select($|\.)/.test(o)&&CGr(n[n.length-1],e)?this:new t(ubo(this.done,e),this.undone,i,o)}addMapping(e){return new t(ABt(this.done,e),ABt(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,i,o){let r=e==0?this.done:this.undone;if(r.length==0)return null;let n=r[r.length-1],a=n.selectionsAfter[0]||i.selection;if(o&&n.selectionsAfter.length)return i.update({selection:n.selectionsAfter[n.selectionsAfter.length-1],annotations:NBt.of({side:e,rest:TGr(r),selection:a}),userEvent:e==0?"select.undo":"select.redo",scrollIntoView:!0});if(n.changes){let s=r.length==1?dk:r.slice(0,r.length-1);return n.mapped&&(s=ABt(s,n.mapped)),i.update({changes:n.changes,selection:n.startSelection,effects:n.effects,annotations:NBt.of({side:e,rest:s,selection:a}),filter:!1,userEvent:e==0?"undo":"redo",scrollIntoView:!0})}else return null}};zse.empty=new zse(dk,dk);var zBt=[{key:"Mod-z",run:lbo,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:kBt,preventDefault:!0},{linux:"Ctrl-Shift-z",run:kBt,preventDefault:!0},{key:"Mod-u",run:bGr,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:yGr,preventDefault:!0}];function W2e(t,e){return Fo.create(t.ranges.map(e),t.mainIndex)}function qz(t,e){return t.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function KO({state:t,dispatch:e},i){let o=W2e(t.selection,i);return o.eq(t.selection,!0)?!1:(e(qz(t,o)),!0)}function oot(t,e){return Fo.cursor(e?t.to:t.from)}function pbo(t,e){return KO(t,i=>i.empty?t.moveByChar(i,e):oot(i,e))}function _5(t){return t.textDirectionAt(t.state.selection.main.head)==wp.LTR}var mbo=t=>pbo(t,!_5(t)),hbo=t=>pbo(t,_5(t));function fbo(t,e){return KO(t,i=>i.empty?t.moveByGroup(i,e):oot(i,e))}var IGr=t=>fbo(t,!_5(t)),LGr=t=>fbo(t,_5(t));var z4d=typeof Intl<"u"&&Intl.Segmenter?new Intl.Segmenter(void 0,{granularity:"word"}):null;function vGr(t,e,i){if(e.type.prop(i))return!0;let o=e.to-e.from;return o&&(o>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}function rot(t,e,i){let o=xf(t).resolveInner(e.head),r=i?Fl.closedBy:Fl.openedBy;for(let l=e.head;;){let c=i?o.childAfter(l):o.childBefore(l);if(!c)break;vGr(t,c,r)?o=c:l=i?c.to:c.from}let n=o.type.prop(r),a,s;return n&&(a=i?WO(t,o.from,1):WO(t,o.to,-1))&&a.matched?s=i?a.end.to:a.end.from:s=i?o.to:o.from,Fo.cursor(s,i?-1:1)}var DGr=t=>KO(t,e=>rot(t.state,e,!_5(t))),EGr=t=>KO(t,e=>rot(t.state,e,_5(t)));function gbo(t,e){return KO(t,i=>{if(!i.empty)return oot(i,e);let o=t.moveVertically(i,e);return o.head!=i.head?o:t.moveToLineBoundary(i,e)})}var bbo=t=>gbo(t,!1),ybo=t=>gbo(t,!0);function wbo(t){let e=t.scrollDOM.clientHeight<t.scrollDOM.scrollHeight-2,i=0,o=0,r;if(e){for(let n of t.state.facet(Ir.scrollMargins)){let a=n(t);a!=null&&a.top&&(i=Math.max(a==null?void 0:a.top,i)),a!=null&&a.bottom&&(o=Math.max(a==null?void 0:a.bottom,o))}r=t.scrollDOM.clientHeight-i-o}else r=(t.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:i,marginBottom:o,selfScroll:e,height:Math.max(t.defaultLineHeight,r-5)}}function Cbo(t,e){let i=wbo(t),{state:o}=t,r=W2e(o.selection,a=>a.empty?t.moveVertically(a,e,i.height):oot(a,e));if(r.eq(o.selection))return!1;let n;if(i.selfScroll){let a=t.coordsAtPos(o.selection.main.head),s=t.scrollDOM.getBoundingClientRect(),l=s.top+i.marginTop,c=s.bottom-i.marginBottom;a&&a.top>l&&a.bottom<c&&(n=Ir.scrollIntoView(r.main.head,{y:"start",yMargin:a.top-l}))}return t.dispatch(qz(o,r),{effects:n}),!0}var ebo=t=>Cbo(t,!1),PBt=t=>Cbo(t,!0);function J$(t,e,i){let o=t.lineBlockAt(e.head),r=t.moveToLineBoundary(e,i);if(r.head==e.head&&r.head!=(i?o.to:o.from)&&(r=t.moveToLineBoundary(e,i,!1)),!i&&r.head==o.from&&o.length){let n=/^\s*/.exec(t.state.sliceDoc(o.from,Math.min(o.from+100,o.to)))[0].length;n&&e.head!=o.from+n&&(r=Fo.cursor(o.from+n))}return r}var AGr=t=>KO(t,e=>J$(t,e,!0)),NGr=t=>KO(t,e=>J$(t,e,!1)),kGr=t=>KO(t,e=>J$(t,e,!_5(t))),PGr=t=>KO(t,e=>J$(t,e,_5(t))),OGr=t=>KO(t,e=>Fo.cursor(t.lineBlockAt(e.head).from,1)),RGr=t=>KO(t,e=>Fo.cursor(t.lineBlockAt(e.head).to,-1));function _Gr(t,e,i){let o=!1,r=W2e(t.selection,n=>{let a=WO(t,n.head,-1)||WO(t,n.head,1)||n.head>0&&WO(t,n.head-1,1)||n.head<t.doc.length&&WO(t,n.head+1,-1);if(!a||!a.end)return n;o=!0;let s=a.start.from==n.head?a.end.to:a.end.from;return i?Fo.range(n.anchor,s):Fo.cursor(s)});return o?(e(qz(t,r)),!0):!1}var jGr=({state:t,dispatch:e})=>_Gr(t,e,!1);function uk(t,e){let i=W2e(t.state.selection,o=>{let r=e(o);return Fo.range(o.anchor,r.head,r.goalColumn,r.bidiLevel||void 0)});return i.eq(t.state.selection)?!1:(t.dispatch(qz(t.state,i)),!0)}function xbo(t,e){return uk(t,i=>t.moveByChar(i,e))}var Tbo=t=>xbo(t,!_5(t)),Sbo=t=>xbo(t,_5(t));function Mbo(t,e){return uk(t,i=>t.moveByGroup(i,e))}var BGr=t=>Mbo(t,!_5(t)),zGr=t=>Mbo(t,_5(t));var FGr=t=>uk(t,e=>rot(t.state,e,!_5(t))),UGr=t=>uk(t,e=>rot(t.state,e,_5(t)));function Ibo(t,e){return uk(t,i=>t.moveVertically(i,e))}var Lbo=t=>Ibo(t,!1),vbo=t=>Ibo(t,!0);function Dbo(t,e){return uk(t,i=>t.moveVertically(i,e,wbo(t).height))}var tbo=t=>Dbo(t,!1),ibo=t=>Dbo(t,!0),VGr=t=>uk(t,e=>J$(t,e,!0)),HGr=t=>uk(t,e=>J$(t,e,!1)),GGr=t=>uk(t,e=>J$(t,e,!_5(t))),YGr=t=>uk(t,e=>J$(t,e,_5(t))),WGr=t=>uk(t,e=>Fo.cursor(t.lineBlockAt(e.head).from)),QGr=t=>uk(t,e=>Fo.cursor(t.lineBlockAt(e.head).to)),obo=({state:t,dispatch:e})=>(e(qz(t,{anchor:0})),!0),rbo=({state:t,dispatch:e})=>(e(qz(t,{anchor:t.doc.length})),!0),nbo=({state:t,dispatch:e})=>(e(qz(t,{anchor:t.selection.main.anchor,head:0})),!0),abo=({state:t,dispatch:e})=>(e(qz(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),KGr=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),ZGr=({state:t,dispatch:e})=>{let i=not(t).map(({from:o,to:r})=>Fo.range(o,Math.min(r+1,t.doc.length)));return e(t.update({selection:Fo.create(i),userEvent:"select"})),!0},JGr=({state:t,dispatch:e})=>{let i=W2e(t.selection,o=>{var r;let n=xf(t).resolveStack(o.from,1);for(let a=n;a;a=a.next){let{node:s}=a;if((s.from<o.from&&s.to>=o.to||s.to>o.to&&s.from<=o.from)&&(!((r=s.parent)===null||r===void 0)&&r.parent))return Fo.range(s.to,s.from)}return o});return e(qz(t,i)),!0},qGr=({state:t,dispatch:e})=>{let i=t.selection,o=null;return i.ranges.length>1?o=Fo.create([i.main]):i.main.empty||(o=Fo.create([Fo.cursor(i.main.head)])),o?(e(qz(t,o)),!0):!1};function NLe(t,e){if(t.state.readOnly)return!1;let i="delete.selection",{state:o}=t,r=o.changeByRange(n=>{let{from:a,to:s}=n;if(a==s){let l=e(n);l<a?(i="delete.backward",l=$it(t,l,!1)):l>a&&(i="delete.forward",l=$it(t,l,!0)),a=Math.min(a,l),s=Math.max(s,l)}else a=$it(t,a,!1),s=$it(t,s,!0);return a==s?{range:n}:{changes:{from:a,to:s},range:Fo.cursor(a,a<n.head?-1:1)}});return r.changes.empty?!1:(t.dispatch(o.update(r,{scrollIntoView:!0,userEvent:i,effects:i=="delete.selection"?Ir.announce.of(o.phrase("Selection deleted")):void 0})),!0)}function $it(t,e,i){if(t instanceof Ir)for(let o of t.state.facet(Ir.atomicRanges).map(r=>r(t)))o.between(e,e,(r,n)=>{r<e&&n>e&&(e=i?n:r)});return e}var Ebo=(t,e,i)=>NLe(t,o=>{let r=o.from,{state:n}=t,a=n.doc.lineAt(r),s,l;if(i&&!e&&r>a.from&&r<a.from+200&&!/[^ \t]/.test(s=a.text.slice(0,r-a.from))){if(s[s.length-1]=="	")return r-1;let c=fW(s,n.tabSize),d=c%vLe(n)||vLe(n);for(let u=0;u<d&&s[s.length-1-u]==" ";u++)r--;l=r}else l=jy(a.text,r-a.from,e,e)+a.from,l==r&&a.number!=(e?n.doc.lines:1)?l+=e?1:-1:!e&&/[\ufe00-\ufe0f]/.test(a.text.slice(l-a.from,r-a.from))&&(l=jy(a.text,l-a.from,!1,!1)+a.from);return l}),OBt=t=>Ebo(t,!1,!0);var Abo=t=>Ebo(t,!0,!1),Nbo=(t,e)=>NLe(t,i=>{let o=i.head,{state:r}=t,n=r.doc.lineAt(o),a=r.charCategorizer(o);for(let s=null;;){if(o==(e?n.to:n.from)){o==i.head&&n.number!=(e?r.doc.lines:1)&&(o+=e?1:-1);break}let l=jy(n.text,o-n.from,e)+n.from,c=n.text.slice(Math.min(o,l)-n.from,Math.max(o,l)-n.from),d=a(c);if(s!=null&&d!=s)break;(c!=" "||o!=i.head)&&(s=d),o=l}return o}),kbo=t=>Nbo(t,!1),XGr=t=>Nbo(t,!0),$Gr=t=>NLe(t,e=>{let i=t.lineBlockAt(e.head).to;return e.head<i?i:Math.min(t.state.doc.length,e.head+1)});var eYr=t=>NLe(t,e=>{let i=t.moveToLineBoundary(e,!1).head;return e.head>i?i:Math.max(0,e.head-1)}),tYr=t=>NLe(t,e=>{let i=t.moveToLineBoundary(e,!0).head;return e.head<i?i:Math.min(t.state.doc.length,e.head+1)});var iYr=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=t.changeByRange(o=>({changes:{from:o.from,to:o.to,insert:$d.of(["",""])},range:Fo.cursor(o.from)}));return e(t.update(i,{scrollIntoView:!0,userEvent:"input"})),!0},oYr=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=t.changeByRange(o=>{if(!o.empty||o.from==0||o.from==t.doc.length)return{range:o};let r=o.from,n=t.doc.lineAt(r),a=r==n.from?r-1:jy(n.text,r-n.from,!1)+n.from,s=r==n.to?r+1:jy(n.text,r-n.from,!0)+n.from;return{changes:{from:a,to:s,insert:t.doc.slice(r,s).append(t.doc.slice(a,r))},range:Fo.cursor(s)}});return i.changes.empty?!1:(e(t.update(i,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function not(t){let e=[],i=-1;for(let o of t.selection.ranges){let r=t.doc.lineAt(o.from),n=t.doc.lineAt(o.to);if(!o.empty&&o.to==n.from&&(n=t.doc.lineAt(o.to-1)),i>=r.number){let a=e[e.length-1];a.to=n.to,a.ranges.push(o)}else e.push({from:r.from,to:n.to,ranges:[o]});i=n.number+1}return e}function Pbo(t,e,i){if(t.readOnly)return!1;let o=[],r=[];for(let n of not(t)){if(i?n.to==t.doc.length:n.from==0)continue;let a=t.doc.lineAt(i?n.to+1:n.from-1),s=a.length+1;if(i){o.push({from:n.to,to:a.to},{from:n.from,insert:a.text+t.lineBreak});for(let l of n.ranges)r.push(Fo.range(Math.min(t.doc.length,l.anchor+s),Math.min(t.doc.length,l.head+s)))}else{o.push({from:a.from,to:n.from},{from:n.to,insert:t.lineBreak+a.text});for(let l of n.ranges)r.push(Fo.range(l.anchor-s,l.head-s))}}return o.length?(e(t.update({changes:o,scrollIntoView:!0,selection:Fo.create(r,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}var rYr=({state:t,dispatch:e})=>Pbo(t,e,!1),nYr=({state:t,dispatch:e})=>Pbo(t,e,!0);function Obo(t,e,i){if(t.readOnly)return!1;let o=[];for(let r of not(t))i?o.push({from:r.from,insert:t.doc.slice(r.from,r.to)+t.lineBreak}):o.push({from:r.to,insert:t.lineBreak+t.doc.slice(r.from,r.to)});return e(t.update({changes:o,scrollIntoView:!0,userEvent:"input.copyline"})),!0}var aYr=({state:t,dispatch:e})=>Obo(t,e,!1),sYr=({state:t,dispatch:e})=>Obo(t,e,!0),lYr=t=>{if(t.state.readOnly)return!1;let{state:e}=t,i=e.changes(not(e).map(({from:r,to:n})=>(r>0?r--:n<e.doc.length&&n++,{from:r,to:n}))),o=W2e(e.selection,r=>{let n;if(t.lineWrapping){let a=t.lineBlockAt(r.head),s=t.coordsAtPos(r.head,r.assoc||1);s&&(n=a.bottom+t.documentTop-s.bottom+t.defaultLineHeight/2)}return t.moveVertically(r,!0,n)}).map(i);return t.dispatch({changes:i,selection:o,scrollIntoView:!0,userEvent:"delete.line"}),!0};function cYr(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let i=xf(t).resolveInner(e),o=i.childBefore(e),r=i.childAfter(e),n;return o&&r&&o.to<=e&&r.from>=e&&(n=o.type.prop(Fl.closedBy))&&n.indexOf(r.name)>-1&&t.doc.lineAt(o.to).from==t.doc.lineAt(r.from).from&&!/\S/.test(t.sliceDoc(o.to,r.from))?{from:o.to,to:r.from}:null}var dYr=Rbo(!1),uYr=Rbo(!0);function Rbo(t){return({state:e,dispatch:i})=>{if(e.readOnly)return!1;let o=e.changeByRange(r=>{let{from:n,to:a}=r,s=e.doc.lineAt(n),l=!t&&n==a&&cYr(e,n);t&&(n=a=(a<=s.to?s:e.doc.lineAt(a)).to);let c=new jse(e,{simulateBreak:n,simulateDoubleBreak:!!l}),d=Jit(c,n);for(d==null&&(d=fW(/^\s*/.exec(e.doc.lineAt(n).text)[0],e.tabSize));a<s.to&&/\s/.test(s.text[a-s.from]);)a++;l?{from:n,to:a}=l:n>s.from&&n<s.from+100&&!/\S/.test(s.text.slice(0,n))&&(n=s.from);let u=["",Y2e(e,d)];return l&&u.push(Y2e(e,c.lineIndent(s.from,-1))),{changes:{from:n,to:a,insert:$d.of(u)},range:Fo.cursor(n+1+u[1].length)}});return i(e.update(o,{scrollIntoView:!0,userEvent:"input"})),!0}}function FBt(t,e){let i=-1;return t.changeByRange(o=>{let r=[];for(let a=o.from;a<=o.to;){let s=t.doc.lineAt(a);s.number>i&&(o.empty||o.to>s.from)&&(e(s,r,o),i=s.number),a=s.to+1}let n=t.changes(r);return{changes:r,range:Fo.range(n.mapPos(o.anchor,1),n.mapPos(o.head,1))}})}var pYr=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=Object.create(null),o=new jse(t,{overrideIndentation:n=>{let a=i[n];return a==null?-1:a}}),r=FBt(t,(n,a,s)=>{let l=Jit(o,n.from);if(l==null)return;/\S/.test(n.text)||(l=0);let c=/^\s*/.exec(n.text)[0],d=Y2e(t,l);(c!=d||s.from<n.from+c.length)&&(i[n.from]=l,a.push({from:n.from,to:n.from+c.length,insert:d}))});return r.changes.empty||e(t.update(r,{userEvent:"indent"})),!0},_bo=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(FBt(t,(i,o)=>{o.push({from:i.from,insert:t.facet(G2e)})}),{userEvent:"input.indent"})),!0),jbo=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(FBt(t,(i,o)=>{let r=/^\s*/.exec(i.text)[0];if(!r)return;let n=fW(r,t.tabSize),a=0,s=Y2e(t,Math.max(0,n-vLe(t)));for(;a<r.length&&a<s.length&&r.charCodeAt(a)==s.charCodeAt(a);)a++;o.push({from:i.from+a,to:i.from+r.length,insert:s.slice(a)})}),{userEvent:"delete.dedent"})),!0),mYr=t=>(t.setTabFocusMode(),!0);var hYr=[{key:"Ctrl-b",run:mbo,shift:Tbo,preventDefault:!0},{key:"Ctrl-f",run:hbo,shift:Sbo},{key:"Ctrl-p",run:bbo,shift:Lbo},{key:"Ctrl-n",run:ybo,shift:vbo},{key:"Ctrl-a",run:OGr,shift:WGr},{key:"Ctrl-e",run:RGr,shift:QGr},{key:"Ctrl-d",run:Abo},{key:"Ctrl-h",run:OBt},{key:"Ctrl-k",run:$Gr},{key:"Ctrl-Alt-h",run:kbo},{key:"Ctrl-o",run:iYr},{key:"Ctrl-t",run:oYr},{key:"Ctrl-v",run:PBt}],fYr=[{key:"ArrowLeft",run:mbo,shift:Tbo,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:IGr,shift:BGr,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:kGr,shift:GGr,preventDefault:!0},{key:"ArrowRight",run:hbo,shift:Sbo,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:LGr,shift:zGr,preventDefault:!0},{mac:"Cmd-ArrowRight",run:PGr,shift:YGr,preventDefault:!0},{key:"ArrowUp",run:bbo,shift:Lbo,preventDefault:!0},{mac:"Cmd-ArrowUp",run:obo,shift:nbo},{mac:"Ctrl-ArrowUp",run:ebo,shift:tbo},{key:"ArrowDown",run:ybo,shift:vbo,preventDefault:!0},{mac:"Cmd-ArrowDown",run:rbo,shift:abo},{mac:"Ctrl-ArrowDown",run:PBt,shift:ibo},{key:"PageUp",run:ebo,shift:tbo},{key:"PageDown",run:PBt,shift:ibo},{key:"Home",run:NGr,shift:HGr,preventDefault:!0},{key:"Mod-Home",run:obo,shift:nbo},{key:"End",run:AGr,shift:VGr,preventDefault:!0},{key:"Mod-End",run:rbo,shift:abo},{key:"Enter",run:dYr},{key:"Mod-a",run:KGr},{key:"Backspace",run:OBt,shift:OBt},{key:"Delete",run:Abo},{key:"Mod-Backspace",mac:"Alt-Backspace",run:kbo},{key:"Mod-Delete",mac:"Alt-Delete",run:XGr},{mac:"Mod-Backspace",run:eYr},{mac:"Mod-Delete",run:tYr}].concat(hYr.map(t=>({mac:t.key,run:t.run,shift:t.shift}))),Use=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:DGr,shift:FGr},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:EGr,shift:UGr},{key:"Alt-ArrowUp",run:rYr},{key:"Shift-Alt-ArrowUp",run:aYr},{key:"Alt-ArrowDown",run:nYr},{key:"Shift-Alt-ArrowDown",run:sYr},{key:"Escape",run:qGr},{key:"Mod-Enter",run:uYr},{key:"Alt-l",mac:"Ctrl-l",run:ZGr},{key:"Mod-i",run:JGr,preventDefault:!0},{key:"Mod-[",run:jbo},{key:"Mod-]",run:_bo},{key:"Mod-Alt-\\",run:pYr},{key:"Shift-Mod-k",run:lYr},{key:"Shift-Mod-\\",run:jGr},{key:"Mod-/",run:cGr},{key:"Alt-A",run:uGr},{key:"Ctrl-m",mac:"Shift-Alt-m",run:mYr}].concat(fYr),aot={key:"Tab",run:_bo,shift:jbo};var gYr="#e5c07b",Bbo="#e06c75",bYr="#56b6c2",yYr="#ffffff",sot="#abb2bf",VBt="#7d8799",wYr="#61afef",CYr="#98c379",zbo="#d19a66",xYr="#c678dd",TYr="#21252b",Fbo="#2c313a",Ubo="#282c34",UBt="#353a42",SYr="#3E4451",Vbo="#528bff";var MYr=Ir.theme({"&":{color:sot,backgroundColor:Ubo},".cm-content":{caretColor:Vbo},".cm-cursor, .cm-dropCursor":{borderLeftColor:Vbo},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:SYr},".cm-panels":{backgroundColor:TYr,color:sot},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:Ubo,color:VBt,border:"none"},".cm-activeLineGutter":{backgroundColor:Fbo},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:UBt},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:UBt,borderBottomColor:UBt},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:Fbo,color:sot}}},{dark:!0}),IYr=H2e.define([{tag:Si.keyword,color:xYr},{tag:[Si.name,Si.deleted,Si.character,Si.propertyName,Si.macroName],color:Bbo},{tag:[Si.function(Si.variableName),Si.labelName],color:wYr},{tag:[Si.color,Si.constant(Si.name),Si.standard(Si.name)],color:zbo},{tag:[Si.definition(Si.name),Si.separator],color:sot},{tag:[Si.typeName,Si.className,Si.number,Si.changed,Si.annotation,Si.modifier,Si.self,Si.namespace],color:gYr},{tag:[Si.operator,Si.operatorKeyword,Si.url,Si.escape,Si.regexp,Si.link,Si.special(Si.string)],color:bYr},{tag:[Si.meta,Si.comment],color:VBt},{tag:Si.strong,fontWeight:"bold"},{tag:Si.emphasis,fontStyle:"italic"},{tag:Si.strikethrough,textDecoration:"line-through"},{tag:Si.link,color:VBt,textDecoration:"underline"},{tag:Si.heading,fontWeight:"bold",color:Bbo},{tag:[Si.atom,Si.bool,Si.special(Si.variableName)],color:zbo},{tag:[Si.processingInstruction,Si.string,Si.inserted],color:CYr},{tag:Si.invalid,color:yYr}]),lot=[MYr,ELe(IYr)];var YBt=class t{constructor(e,i,o,r,n,a,s,l,c,d=0,u){this.p=e,this.stack=i,this.state=o,this.reducePos=r,this.pos=n,this.score=a,this.buffer=s,this.bufferBase=l,this.curContext=c,this.lookAhead=d,this.parent=u}toString(){return`[${this.stack.filter((e,i)=>i%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,i,o=0){let r=e.parser.context;return new t(e,[],i,o,o,0,[],0,r?new cot(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,i){this.stack.push(this.state,i,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var i;let o=e>>19,r=e&65535,{parser:n}=this.p;this.reducePos<this.pos-25&&this.setLookAhead(this.pos);let a=n.dynamicPrecedence(r);if(a&&(this.score+=a),o==0){this.pushState(n.getGoto(this.state,r,!0),this.reducePos),r<n.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,4,!0),this.reduceContext(r,this.reducePos);return}let s=this.stack.length-(o-1)*3-(e&262144?6:0),l=s?this.stack[s-2]:this.p.ranges[0].from,c=this.reducePos-l;c>=2e3&&!(!((i=this.p.parser.nodeSet.types[r])===null||i===void 0)&&i.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=l,this.p.lastBigReductionSize=c));let d=s?this.stack[s-1]:0,u=this.bufferBase+this.buffer.length-d;if(r<n.minRepeatTerm||e&131072){let p=n.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(r,l,p,u+4,!0)}if(e&262144)this.state=this.stack[s];else{let p=this.stack[s-3];this.state=n.getGoto(p,r,!0)}for(;this.stack.length>s;)this.stack.pop();this.reduceContext(r,l)}storeNode(e,i,o,r=4,n=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let a=this,s=this.buffer.length;if(s==0&&a.parent&&(s=a.bufferBase-a.parent.bufferBase,a=a.parent),s>0&&a.buffer[s-4]==0&&a.buffer[s-1]>-1){if(i==o)return;if(a.buffer[s-2]>=i){a.buffer[s-2]=o;return}}}if(!n||this.pos==o)this.buffer.push(e,i,o,r);else{let a=this.buffer.length;if(a>0&&this.buffer[a-4]!=0)for(;a>0&&this.buffer[a-2]>o;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,r>4&&(r-=4);this.buffer[a]=e,this.buffer[a+1]=i,this.buffer[a+2]=o,this.buffer[a+3]=r}}shift(e,i,o,r){if(e&131072)this.pushState(e&65535,this.pos);else if((e&262144)==0){let n=e,{parser:a}=this.p;(r>this.pos||i<=a.maxNode)&&(this.pos=r,a.stateFlag(n,1)||(this.reducePos=r)),this.pushState(n,o),this.shiftContext(i,o),i<=a.maxNode&&this.buffer.push(i,o,r,4)}else this.pos=r,this.shiftContext(i,o),i<=this.p.parser.maxNode&&this.buffer.push(i,o,r,4)}apply(e,i,o,r){e&65536?this.reduce(e):this.shift(e,i,o,r)}useNode(e,i){let o=this.p.reused.length-1;(o<0||this.p.reused[o]!=e)&&(this.p.reused.push(e),o++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(i,r),this.buffer.push(o,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,i=e.buffer.length;for(;i>0&&e.buffer[i-2]>e.reducePos;)i-=4;let o=e.buffer.slice(i),r=e.bufferBase+i;for(;e&&r==e.bufferBase;)e=e.parent;return new t(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,o,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,i){let o=e<=this.p.parser.maxNode;o&&this.storeNode(e,this.pos,i,4),this.storeNode(0,this.pos,i,o?8:4),this.pos=this.reducePos=i,this.score-=190}canShift(e){for(let i=new WBt(this);;){let o=this.p.parser.stateSlot(i.state,4)||this.p.parser.hasAction(i.state,e);if(o==0)return!1;if((o&65536)==0)return!0;i.reduce(o)}}recoverByInsert(e){if(this.stack.length>=300)return[];let i=this.p.parser.nextStates(this.state);if(i.length>8||this.stack.length>=120){let r=[];for(let n=0,a;n<i.length;n+=2)(a=i[n+1])!=this.state&&this.p.parser.hasAction(a,e)&&r.push(i[n],a);if(this.stack.length<120)for(let n=0;r.length<8&&n<i.length;n+=2){let a=i[n+1];r.some((s,l)=>l&1&&s==a)||r.push(i[n],a)}i=r}let o=[];for(let r=0;r<i.length&&o.length<4;r+=2){let n=i[r+1];if(n==this.state)continue;let a=this.split();a.pushState(n,this.pos),a.storeNode(0,a.pos,a.pos,4,!0),a.shiftContext(i[r],this.pos),a.reducePos=this.pos,a.score-=200,o.push(a)}return o}forceReduce(){let{parser:e}=this.p,i=e.stateSlot(this.state,5);if((i&65536)==0)return!1;if(!e.validAction(this.state,i)){let o=i>>19,r=i&65535,n=this.stack.length-o*3;if(n<0||e.getGoto(this.stack[n],r,!1)<0){let a=this.findForcedReduction();if(a==null)return!1;i=a}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(i),!0}findForcedReduction(){let{parser:e}=this.p,i=[],o=(r,n)=>{if(!i.includes(r))return i.push(r),e.allActions(r,a=>{if(!(a&393216))if(a&65536){let s=(a>>19)-n;if(s>1){let l=a&65535,c=this.stack.length-s*3;if(c>=0&&e.getGoto(this.stack[c],l,!1)>=0)return s<<19|65536|l}}else{let s=o(a,n+1);if(s!=null)return s}})};return o(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let i=0;i<this.stack.length;i+=3)if(this.stack[i]!=e.stack[i])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,i){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(i)))}reduceContext(e,i){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(i)))}emitContext(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let i=new cot(this.curContext.tracker,e);i.hash!=this.curContext.hash&&this.emitContext(),this.curContext=i}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}},cot=class{constructor(e,i){this.tracker=e,this.context=i,this.hash=e.strict?e.hash(i):0}},WBt=class{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let i=e&65535,o=e>>19;o==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(o-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],i,!0);this.state=r}},QBt=class t{constructor(e,i,o){this.stack=e,this.pos=i,this.index=o,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,i=e.bufferBase+e.buffer.length){return new t(e,i,i-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new t(this.stack,this.pos,this.index)}};function kLe(t,e=Uint16Array){if(typeof t!="string")return t;let i=null;for(let o=0,r=0;o<t.length;){let n=0;for(;;){let a=t.charCodeAt(o++),s=!1;if(a==126){n=65535;break}a>=92&&a--,a>=34&&a--;let l=a-32;if(l>=46&&(l-=46,s=!0),n+=l,s)break;n*=46}i?i[r++]=n:i=new e(n)}return i}var Q2e=class{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}},Hbo=new Q2e,KBt=class{constructor(e,i){this.input=e,this.ranges=i,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=Hbo,this.rangeIndex=0,this.pos=this.chunkPos=i[0].from,this.range=i[0],this.end=i[i.length-1].to,this.readNext()}resolveOffset(e,i){let o=this.range,r=this.rangeIndex,n=this.pos+e;for(;n<o.from;){if(!r)return null;let a=this.ranges[--r];n-=o.from-a.to,o=a}for(;i<0?n>o.to:n>=o.to;){if(r==this.ranges.length-1)return null;let a=this.ranges[++r];n+=a.from-o.to,o=a}return n}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let i of this.ranges)if(i.to>e)return Math.max(e,i.from);return this.end}peek(e){let i=this.chunkOff+e,o,r;if(i>=0&&i<this.chunk.length)o=this.pos+e,r=this.chunk.charCodeAt(i);else{let n=this.resolveOffset(e,1);if(n==null)return-1;if(o=n,o>=this.chunk2Pos&&o<this.chunk2Pos+this.chunk2.length)r=this.chunk2.charCodeAt(o-this.chunk2Pos);else{let a=this.rangeIndex,s=this.range;for(;s.to<=o;)s=this.ranges[++a];this.chunk2=this.input.chunk(this.chunk2Pos=o),o+this.chunk2.length>s.to&&(this.chunk2=this.chunk2.slice(0,s.to-o)),r=this.chunk2.charCodeAt(0)}}return o>=this.token.lookAhead&&(this.token.lookAhead=o+1),r}acceptToken(e,i=0){let o=i?this.resolveOffset(i,-1):this.pos;if(o==null||o<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=o}acceptTokenTo(e,i){this.token.value=e,this.token.end=i}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:i}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=i,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),i=this.pos+e.length;this.chunk=i>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,i){if(i?(this.token=i,i.start=e,i.lookAhead=e+1,i.value=i.extended=-1):this.token=Hbo,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,i){if(e>=this.chunkPos&&i<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,i-this.chunkPos);if(e>=this.chunk2Pos&&i<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,i-this.chunk2Pos);if(e>=this.range.from&&i<=this.range.to)return this.input.read(e,i);let o="";for(let r of this.ranges){if(r.from>=i)break;r.to>e&&(o+=this.input.read(Math.max(r.from,e),Math.min(r.to,i)))}return o}},q$=class{constructor(e,i){this.data=e,this.id=i}token(e,i){let{parser:o}=i.p;Kbo(this.data,e,i,this.id,o.data,o.tokenPrecTable)}};q$.prototype.contextual=q$.prototype.fallback=q$.prototype.extend=!1;var K2e=class{constructor(e,i,o){this.precTable=i,this.elseToken=o,this.data=typeof e=="string"?kLe(e):e}token(e,i){let o=e.pos,r=0;for(;;){let n=e.next<0,a=e.resolveOffset(1,1);if(Kbo(this.data,e,i,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(n||r++,a==null)break;e.reset(a,e.token)}r&&(e.reset(o,e.token),e.acceptToken(this.elseToken,r))}};K2e.prototype.contextual=q$.prototype.fallback=q$.prototype.extend=!1;var Vse=class{constructor(e,i={}){this.token=e,this.contextual=!!i.contextual,this.fallback=!!i.fallback,this.extend=!!i.extend}};function Kbo(t,e,i,o,r,n){let a=0,s=1<<o,{dialect:l}=i.p.parser;e:for(;(s&t[a])!=0;){let c=t[a+1];for(let m=a+3;m<c;m+=2)if((t[m+1]&s)>0){let h=t[m];if(l.allows(h)&&(e.token.value==-1||e.token.value==h||vYr(h,e.token.value,r,n))){e.acceptToken(h);break}}let d=e.next,u=0,p=t[a+2];if(e.next<0&&p>u&&t[c+p*3-3]==65535){a=t[c+p*3-1];continue e}for(;u<p;){let m=u+p>>1,h=c+m+(m<<1),f=t[h],g=t[h+1]||65536;if(d<f)p=m;else if(d>=g)u=m+1;else{a=t[h+2],e.advance();continue e}}break}}function Gbo(t,e,i){for(let o=e,r;(r=t[o])!=65535;o++)if(r==i)return o-e;return-1}function vYr(t,e,i,o){let r=Gbo(i,o,e);return r<0||Gbo(i,o,t)<r}var bE=typeof process<"u"&&process.env&&/\bparse\b/.test(process.env.LOG),HBt=null;function Ybo(t,e,i){let o=t.cursor(m2.IncludeAnonymous);for(o.moveTo(e);;)if(!(i<0?o.childBefore(e):o.childAfter(e)))for(;;){if((i<0?o.to<e:o.from>e)&&!o.type.isError)return i<0?Math.max(0,Math.min(o.to-1,e-25)):Math.min(t.length,Math.max(o.from+1,e+25));if(i<0?o.prevSibling():o.nextSibling())break;if(!o.parent())return i<0?0:t.length}}var ZBt=class{constructor(e,i){this.fragments=e,this.nodeSet=i,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?Ybo(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?Ybo(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let i=this.trees.length-1;if(i<0)return this.nextFragment(),null;let o=this.trees[i],r=this.index[i];if(r==o.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let n=o.children[r],a=this.start[i]+o.positions[r];if(a>e)return this.nextStart=a,null;if(n instanceof ab){if(a==e){if(a<this.safeFrom)return null;let s=a+n.length;if(s<=this.safeTo){let l=n.prop(Fl.lookAhead);if(!l||s+l<this.fragment.to)return n}}this.index[i]++,a+n.length>=Math.max(this.safeFrom,e)&&(this.trees.push(n),this.start.push(a),this.index.push(0))}else this.index[i]++,this.nextStart=a+n.length}}},JBt=class{constructor(e,i){this.stream=i,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(o=>new Q2e)}getActions(e){let i=0,o=null,{parser:r}=e.p,{tokenizers:n}=r,a=r.stateSlot(e.state,3),s=e.curContext?e.curContext.hash:0,l=0;for(let c=0;c<n.length;c++){if((1<<c&a)==0)continue;let d=n[c],u=this.tokens[c];if(!(o&&!d.fallback)&&((d.contextual||u.start!=e.pos||u.mask!=a||u.context!=s)&&(this.updateCachedToken(u,d,e),u.mask=a,u.context=s),u.lookAhead>u.end+25&&(l=Math.max(u.lookAhead,l)),u.value!=0)){let p=i;if(u.extended>-1&&(i=this.addActions(e,u.extended,u.end,i)),i=this.addActions(e,u.value,u.end,i),!d.extend&&(o=u,i>p))break}}for(;this.actions.length>i;)this.actions.pop();return l&&e.setLookAhead(l),!o&&e.pos==this.stream.end&&(o=new Q2e,o.value=e.p.parser.eofTerm,o.start=o.end=e.pos,i=this.addActions(e,o.value,o.end,i)),this.mainToken=o,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let i=new Q2e,{pos:o,p:r}=e;return i.start=o,i.end=Math.min(o+1,r.stream.end),i.value=o==r.stream.end?r.parser.eofTerm:0,i}updateCachedToken(e,i,o){let r=this.stream.clipPos(o.pos);if(i.token(this.stream.reset(r,e),o),e.value>-1){let{parser:n}=o.p;for(let a=0;a<n.specialized.length;a++)if(n.specialized[a]==e.value){let s=n.specializers[a](this.stream.read(e.start,e.end),o);if(s>=0&&o.p.parser.dialect.allows(s>>1)){(s&1)==0?e.value=s>>1:e.extended=s>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,i,o,r){for(let n=0;n<r;n+=3)if(this.actions[n]==e)return r;return this.actions[r++]=e,this.actions[r++]=i,this.actions[r++]=o,r}addActions(e,i,o,r){let{state:n}=e,{parser:a}=e.p,{data:s}=a;for(let l=0;l<2;l++)for(let c=a.stateSlot(n,l?2:1);;c+=3){if(s[c]==65535)if(s[c+1]==1)c=yW(s,c+2);else{r==0&&s[c+1]==2&&(r=this.putAction(yW(s,c+2),i,o,r));break}s[c]==i&&(r=this.putAction(yW(s,c+1),i,o,r))}return r}},qBt=class{constructor(e,i,o,r){this.parser=e,this.input=i,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new KBt(i,r),this.tokens=new JBt(e,this.stream),this.topTerm=e.top[1];let{from:n}=r[0];this.stacks=[YBt.start(this,e.top[0],n)],this.fragments=o.length&&this.stream.end-n>e.bufferLength*4?new ZBt(o,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,i=this.minStackPos,o=this.stacks=[],r,n;if(this.bigReductionCount>300&&e.length==1){let[a]=e;for(;a.forceReduce()&&a.stack.length&&a.stack[a.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let a=0;a<e.length;a++){let s=e[a];for(;;){if(this.tokens.mainToken=null,s.pos>i)o.push(s);else{if(this.advanceStack(s,o,e))continue;{r||(r=[],n=[]),r.push(s);let l=this.tokens.getMainToken(s);n.push(l.value,l.end)}}break}}if(!o.length){let a=r&&DYr(r);if(a)return bE&&console.log("Finish with "+this.stackID(a)),this.stackToTree(a);if(this.parser.strict)throw bE&&r&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+i);this.recovering||(this.recovering=5)}if(this.recovering&&r){let a=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,n,o);if(a)return bE&&console.log("Force-finish "+this.stackID(a)),this.stackToTree(a.forceAll())}if(this.recovering){let a=this.recovering==1?1:this.recovering*3;if(o.length>a)for(o.sort((s,l)=>l.score-s.score);o.length>a;)o.pop();o.some(s=>s.reducePos>i)&&this.recovering--}else if(o.length>1){e:for(let a=0;a<o.length-1;a++){let s=o[a];for(let l=a+1;l<o.length;l++){let c=o[l];if(s.sameState(c)||s.buffer.length>500&&c.buffer.length>500)if((s.score-c.score||s.buffer.length-c.buffer.length)>0)o.splice(l--,1);else{o.splice(a--,1);continue e}}}o.length>12&&o.splice(12,o.length-12)}this.minStackPos=o[0].pos;for(let a=1;a<o.length;a++)o[a].pos<this.minStackPos&&(this.minStackPos=o[a].pos);return null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,i,o){let r=e.pos,{parser:n}=this,a=bE?this.stackID(e)+" -> ":"";if(this.stoppedAt!=null&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let c=e.curContext&&e.curContext.tracker.strict,d=c?e.curContext.hash:0;for(let u=this.fragments.nodeAt(r);u;){let p=this.parser.nodeSet.types[u.type.id]==u.type?n.getGoto(e.state,u.type.id):-1;if(p>-1&&u.length&&(!c||(u.prop(Fl.contextHash)||0)==d))return e.useNode(u,p),bE&&console.log(a+this.stackID(e)+` (via reuse of ${n.getName(u.type.id)})`),!0;if(!(u instanceof ab)||u.children.length==0||u.positions[0]>0)break;let m=u.children[0];if(m instanceof ab&&u.positions[0]==0)u=m;else break}}let s=n.stateSlot(e.state,4);if(s>0)return e.reduce(s),bE&&console.log(a+this.stackID(e)+` (via always-reduce ${n.getName(s&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let c=0;c<l.length;){let d=l[c++],u=l[c++],p=l[c++],m=c==l.length||!o,h=m?e:e.split(),f=this.tokens.mainToken;if(h.apply(d,u,f?f.start:h.pos,p),bE&&console.log(a+this.stackID(h)+` (via ${(d&65536)==0?"shift":`reduce of ${n.getName(d&65535)}`} for ${n.getName(u)} @ ${r}${h==e?"":", split"})`),m)return!0;h.pos>r?i.push(h):o.push(h)}return!1}advanceFully(e,i){let o=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>o)return Wbo(e,i),!0}}runRecovery(e,i,o){let r=null,n=!1;for(let a=0;a<e.length;a++){let s=e[a],l=i[a<<1],c=i[(a<<1)+1],d=bE?this.stackID(s)+" -> ":"";if(s.deadEnd&&(n||(n=!0,s.restart(),bE&&console.log(d+this.stackID(s)+" (restarted)"),this.advanceFully(s,o))))continue;let u=s.split(),p=d;for(let m=0;u.forceReduce()&&m<10&&(bE&&console.log(p+this.stackID(u)+" (via force-reduce)"),!this.advanceFully(u,o));m++)bE&&(p=this.stackID(u)+" -> ");for(let m of s.recoverByInsert(l))bE&&console.log(d+this.stackID(m)+" (via recover-insert)"),this.advanceFully(m,o);this.stream.end>s.pos?(c==s.pos&&(c++,l=0),s.recoverByDelete(l,c),bE&&console.log(d+this.stackID(s)+` (via recover-delete ${this.parser.getName(l)})`),Wbo(s,o)):(!r||r.score<s.score)&&(r=s)}return r}stackToTree(e){return e.close(),ab.build({buffer:QBt.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let i=(HBt||(HBt=new WeakMap)).get(e);return i||HBt.set(e,i=String.fromCodePoint(this.nextStackID++)),i+e}};function Wbo(t,e){for(let i=0;i<e.length;i++){let o=e[i];if(o.pos==t.pos&&o.sameState(t)){e[i].score<t.score&&(e[i]=t);return}}e.push(t)}var XBt=class{constructor(e,i,o){this.source=e,this.flags=i,this.disabled=o}allows(e){return!this.disabled||this.disabled[e]==0}},GBt=t=>t,dot=class{constructor(e){this.start=e.start,this.shift=e.shift||GBt,this.reduce=e.reduce||GBt,this.reuse=e.reuse||GBt,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}},uot=class t extends F2e{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let i=e.nodeNames.split(" ");this.minRepeatTerm=i.length;for(let s=0;s<e.repeatNodeCount;s++)i.push("");let o=Object.keys(e.topRules).map(s=>e.topRules[s][1]),r=[];for(let s=0;s<i.length;s++)r.push([]);function n(s,l,c){r[s].push([l,l.deserialize(String(c))])}if(e.nodeProps)for(let s of e.nodeProps){let l=s[0];typeof l=="string"&&(l=Fl[l]);for(let c=1;c<s.length;){let d=s[c++];if(d>=0)n(d,l,s[c++]);else{let u=s[c+-d];for(let p=-d;p>0;p--)n(s[c++],l,u);c++}}}this.nodeSet=new z2e(i.map((s,l)=>R5.define({name:l>=this.minRepeatTerm?void 0:s,id:l,props:r[l],top:o.indexOf(l)>-1,error:l==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(l)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=1024;let a=kLe(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let s=0;s<this.specializerSpecs.length;s++)this.specialized[s]=this.specializerSpecs[s].term;this.specializers=this.specializerSpecs.map(Qbo),this.states=kLe(e.states,Uint32Array),this.data=kLe(e.stateData),this.goto=kLe(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(s=>typeof s=="number"?new q$(a,s):s),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,i,o){let r=new qBt(this,e,i,o);for(let n of this.wrappers)r=n(r,e,i,o);return r}getGoto(e,i,o=!1){let r=this.goto;if(i>=r[0])return-1;for(let n=r[i+1];;){let a=r[n++],s=a&1,l=r[n++];if(s&&o)return l;for(let c=n+(a>>1);n<c;n++)if(r[n]==e)return l;if(s)return-1}}hasAction(e,i){let o=this.data;for(let r=0;r<2;r++)for(let n=this.stateSlot(e,r?2:1),a;;n+=3){if((a=o[n])==65535)if(o[n+1]==1)a=o[n=yW(o,n+2)];else{if(o[n+1]==2)return yW(o,n+2);break}if(a==i||a==0)return yW(o,n+1)}return 0}stateSlot(e,i){return this.states[e*6+i]}stateFlag(e,i){return(this.stateSlot(e,0)&i)>0}validAction(e,i){return!!this.allActions(e,o=>o==i?!0:null)}allActions(e,i){let o=this.stateSlot(e,4),r=o?i(o):void 0;for(let n=this.stateSlot(e,1);r==null;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=yW(this.data,n+2);else break;r=i(yW(this.data,n+1))}return r}nextStates(e){let i=[];for(let o=this.stateSlot(e,1);;o+=3){if(this.data[o]==65535)if(this.data[o+1]==1)o=yW(this.data,o+2);else break;if((this.data[o+2]&1)==0){let r=this.data[o+1];i.some((n,a)=>a&1&&n==r)||i.push(this.data[o],r)}}return i}configure(e){let i=Object.assign(Object.create(t.prototype),this);if(e.props&&(i.nodeSet=this.nodeSet.extend(...e.props)),e.top){let o=this.topRules[e.top];if(!o)throw new RangeError(`Invalid top rule name ${e.top}`);i.top=o}return e.tokenizers&&(i.tokenizers=this.tokenizers.map(o=>{let r=e.tokenizers.find(n=>n.from==o);return r?r.to:o})),e.specializers&&(i.specializers=this.specializers.slice(),i.specializerSpecs=this.specializerSpecs.map((o,r)=>{let n=e.specializers.find(s=>s.from==o.external);if(!n)return o;let a=Object.assign(Object.assign({},o),{external:n.to});return i.specializers[r]=Qbo(a),a})),e.contextTracker&&(i.context=e.contextTracker),e.dialect&&(i.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(i.strict=e.strict),e.wrap&&(i.wrappers=i.wrappers.concat(e.wrap)),e.bufferLength!=null&&(i.bufferLength=e.bufferLength),i}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let i=this.dynamicPrecedences;return i==null?0:i[e]||0}parseDialect(e){let i=Object.keys(this.dialects),o=i.map(()=>!1);if(e)for(let n of e.split(" ")){let a=i.indexOf(n);a>=0&&(o[a]=!0)}let r=null;for(let n=0;n<i.length;n++)if(!o[n])for(let a=this.dialects[i[n]],s;(s=this.data[a++])!=65535;)(r||(r=new Uint8Array(this.maxTerm+1)))[s]=1;return new XBt(e,o,r)}static deserialize(e){return new t(e)}};function yW(t,e){return t[e]|t[e+1]<<16}function DYr(t){let e=null;for(let i of t){let o=i.p.stoppedAt;(i.pos==i.p.stream.end||o!=null&&i.pos>o)&&i.p.parser.stateFlag(i.state,2)&&(!e||e.score<i.score)&&(e=i)}return e}function Qbo(t){if(t.external){let e=t.extend?1:0;return(i,o)=>t.external(i,o)<<1|e}return t.get}var EYr=312,Zbo=1,AYr=2,NYr=3,kYr=4,PYr=313,OYr=315,RYr=316,_Yr=5,jYr=6,BYr=0,ezt=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Jbo=125,zYr=59,tzt=47,FYr=42,UYr=43,VYr=45,HYr=60,GYr=44,YYr=63,WYr=46,QYr=new dot({start:!1,shift(t,e){return e==_Yr||e==jYr||e==OYr?t:e==RYr},strict:!1}),KYr=new Vse((t,e)=>{let{next:i}=t;(i==Jbo||i==-1||e.context)&&t.acceptToken(PYr)},{contextual:!0,fallback:!0}),ZYr=new Vse((t,e)=>{let{next:i}=t,o;ezt.indexOf(i)>-1||i==tzt&&((o=t.peek(1))==tzt||o==FYr)||i!=Jbo&&i!=zYr&&i!=-1&&!e.context&&t.acceptToken(EYr)},{contextual:!0}),JYr=new Vse((t,e)=>{let{next:i}=t;if(i==UYr||i==VYr){if(t.advance(),i==t.next){t.advance();let o=!e.context&&e.canShift(Zbo);t.acceptToken(o?Zbo:AYr)}}else i==YYr&&t.peek(1)==WYr&&(t.advance(),t.advance(),(t.next<48||t.next>57)&&t.acceptToken(NYr))},{contextual:!0});function $Bt(t,e){return t>=65&&t<=90||t>=97&&t<=122||t==95||t>=192||!e&&t>=48&&t<=57}var qYr=new Vse((t,e)=>{if(t.next!=HYr||!e.dialectEnabled(BYr)||(t.advance(),t.next==tzt))return;let i=0;for(;ezt.indexOf(t.next)>-1;)t.advance(),i++;if($Bt(t.next,!0)){for(t.advance(),i++;$Bt(t.next,!1);)t.advance(),i++;for(;ezt.indexOf(t.next)>-1;)t.advance(),i++;if(t.next==GYr)return;for(let o=0;;o++){if(o==7){if(!$Bt(t.next,!0))return;break}if(t.next!="extends".charCodeAt(o))break;t.advance(),i++}}t.acceptToken(kYr,-i)}),XYr=Git({"get set async static":Si.modifier,"for while do if else switch try catch finally return throw break continue default case":Si.controlKeyword,"in of await yield void typeof delete instanceof":Si.operatorKeyword,"let var const using function class extends":Si.definitionKeyword,"import export from":Si.moduleKeyword,"with debugger as new":Si.keyword,TemplateString:Si.special(Si.string),super:Si.atom,BooleanLiteral:Si.bool,this:Si.self,null:Si.null,Star:Si.modifier,VariableName:Si.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":Si.function(Si.variableName),VariableDefinition:Si.definition(Si.variableName),Label:Si.labelName,PropertyName:Si.propertyName,PrivatePropertyName:Si.special(Si.propertyName),"CallExpression/MemberExpression/PropertyName":Si.function(Si.propertyName),"FunctionDeclaration/VariableDefinition":Si.function(Si.definition(Si.variableName)),"ClassDeclaration/VariableDefinition":Si.definition(Si.className),PropertyDefinition:Si.definition(Si.propertyName),PrivatePropertyDefinition:Si.definition(Si.special(Si.propertyName)),UpdateOp:Si.updateOperator,"LineComment Hashbang":Si.lineComment,BlockComment:Si.blockComment,Number:Si.number,String:Si.string,Escape:Si.escape,ArithOp:Si.arithmeticOperator,LogicOp:Si.logicOperator,BitOp:Si.bitwiseOperator,CompareOp:Si.compareOperator,RegExp:Si.regexp,Equals:Si.definitionOperator,Arrow:Si.function(Si.punctuation),": Spread":Si.punctuation,"( )":Si.paren,"[ ]":Si.squareBracket,"{ }":Si.brace,"InterpolationStart InterpolationEnd":Si.special(Si.brace),".":Si.derefOperator,", ;":Si.separator,"@":Si.meta,TypeName:Si.typeName,TypeDefinition:Si.definition(Si.typeName),"type enum interface implements namespace module declare":Si.definitionKeyword,"abstract global Privacy readonly override":Si.modifier,"is keyof unique infer":Si.operatorKeyword,JSXAttributeValue:Si.attributeValue,JSXText:Si.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":Si.angleBracket,"JSXIdentifier JSXNameSpacedName":Si.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":Si.attributeName,"JSXBuiltin/JSXIdentifier":Si.standard(Si.tagName)}),$Yr={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,extends:54,this:58,true:66,false:66,null:78,void:82,typeof:86,super:102,new:136,delete:148,yield:157,await:161,class:166,public:229,private:229,protected:229,readonly:231,instanceof:250,satisfies:253,in:254,const:256,import:290,keyof:345,unique:349,infer:355,is:391,abstract:411,implements:413,type:415,let:418,var:420,using:423,interface:429,enum:433,namespace:439,module:441,declare:445,global:449,for:468,of:477,while:480,with:484,do:488,if:492,else:494,switch:498,case:504,try:510,catch:514,finally:518,return:522,throw:526,break:530,continue:534,debugger:538},eWr={__proto__:null,async:123,get:125,set:127,declare:189,public:191,private:191,protected:191,static:193,abstract:195,override:197,readonly:203,accessor:205,new:395},tWr={__proto__:null,"<":187},qbo=uot.deserialize({version:14,states:"$=dO%TQ^OOO%[Q^OOO'_Q`OOP(lOWOOO*zQ?NdO'#CiO+RO!bO'#CjO+aO#tO'#CjO+oO!0LbO'#D^O.QQ^O'#DdO.bQ^O'#DoO%[Q^O'#DwO0fQ^O'#EPOOQ?Mr'#EX'#EXO1PQWO'#EUOOQO'#Em'#EmOOQO'#Ih'#IhO1XQWO'#GpO1dQWO'#ElO1iQWO'#ElO3hQ?NdO'#JmO6[Q?NdO'#JnO6uQWO'#F[O6zQ&jO'#FsOOQ?Mr'#Fe'#FeO7VO,YO'#FeO7eQ7[O'#FzO9RQWO'#FyOOQ?Mr'#Jn'#JnOOQ?Mp'#Jm'#JmO9WQWO'#GtOOQU'#KZ'#KZO9cQWO'#IUO9hQ?MxO'#IVOOQU'#JZ'#JZOOQU'#IZ'#IZQ`Q^OOO`Q^OOO9pQMnO'#DsO9wQ^O'#D{O:OQ^O'#D}O9^QWO'#GpO:VQ7[O'#CoO:eQWO'#EkO:pQWO'#EvO:uQ7[O'#FdO;dQWO'#GpOOQO'#K['#K[O;iQWO'#K[O;wQWO'#GxO;wQWO'#GyO;wQWO'#G{O9^QWO'#HOO<nQWO'#HRO>VQWO'#CeO>gQWO'#H_O>oQWO'#HeO>oQWO'#HgO`Q^O'#HiO>oQWO'#HkO>oQWO'#HnO>tQWO'#HtO>yQ?MyO'#HzO%[Q^O'#H|O?UQ?MyO'#IOO?aQ?MyO'#IQO9hQ?MxO'#ISO?lQ?NdO'#CiO@nQ`O'#DiQOQWOOO%[Q^O'#D}OAUQWO'#EQO:VQ7[O'#EkOAaQWO'#EkOAlQpO'#FdOOQU'#Cg'#CgOOQ?Mp'#Dn'#DnOOQ?Mp'#Jq'#JqO%[Q^O'#JqOOQO'#Jt'#JtOOQO'#Id'#IdOBlQ`O'#EdOOQ?Mp'#Ec'#EcOOQ?Mp'#Jx'#JxOChQ?NQO'#EdOCrQ`O'#ETOOQO'#Js'#JsODWQ`O'#JtOEeQ`O'#ETOCrQ`O'#EdPErO#@ItO'#CbPOOO)CDx)CDxOOOO'#I['#I[OE}O!bO,59UOOQ?Mr,59U,59UOOOO'#I]'#I]OF]O#tO,59UO%[Q^O'#D`OOOO'#I_'#I_OFkO!0LbO,59xOOQ?Mr,59x,59xOFyQ^O'#I`OG^QWO'#JoOI]QrO'#JoO+}Q^O'#JoOIdQWO,5:OOIzQWO'#EmOJXQWO'#KOOJdQWO'#J}OJdQWO'#J}OJlQWO,5;ZOJqQWO'#J|OOQ?Mv,5:Z,5:ZOJxQ^O,5:ZOLvQ?NdO,5:cOMgQWO,5:kONQQ?MxO'#J{ONXQWO'#JzO9WQWO'#JzONmQWO'#JzONuQWO,5;YONzQWO'#JzO!#PQrO'#JnOOQ?Mr'#Ci'#CiO%[Q^O'#EPO!#oQrO,5:pOOQQ'#Ju'#JuOOQO-E<f-E<fO9^QWO,5=[O!$VQWO,5=[O!$[Q^O,5;WO!&_Q7[O'#EhO!'xQWO,5;WO!'}Q^O'#DvO!(XQ`O,5;aO!(aQ`O,5;aO%[Q^O,5;aOOQU'#FS'#FSOOQU'#FU'#FUO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bOOQU'#FY'#FYO!(oQ^O,5;sOOQ?Mr,5;x,5;xOOQ?Mr,5;y,5;yOOQ?Mr,5;{,5;{O%[Q^O'#IlO!*rQ?MxO,5<gO!&_Q7[O,5;bO!+aQ7[O,5;bO!-RQ7[O'#EZO%[Q^O,5;vOOQ?Mr,5;z,5;zO!-YQ&jO'#FiO!.VQ&jO'#KSO!-qQ&jO'#KSO!.^Q&jO'#KSOOQO'#KS'#KSO!.rQ&jO,5<ROOOS,5<_,5<_O!/TQ^O'#FuOOOS'#Ik'#IkO7VO,YO,5<PO!/[Q&jO'#FwOOQ?Mr,5<P,5<PO!/{Q!LQO'#CvOOQ?Mr'#Cz'#CzO!0`QWO'#CzO!0eO!0LbO'#DOO!1RQ7[O,5<dO!1YQWO,5<fO!2uQ$ISO'#GVO!3SQWO'#GWO!3XQWO'#GWO!4wQ$ISO'#G[O!5sQ`O'#G`OOQO'#Gk'#GkO!+hQ7[O'#GjOOQO'#Gm'#GmO!+hQ7[O'#GlO!6fQ!LQO'#JgOOQ?Mr'#Jg'#JgO!6pQWO'#JfO!7OQWO'#JeO!7WQWO'#CuOOQ?Mr'#Cx'#CxOOQ?Mr'#DS'#DSOOQ?Mr'#DU'#DUO1SQWO'#DWO!+hQ7[O'#F}O!+hQ7[O'#GPO!7`QWO'#GRO!7eQWO'#GSO!3XQWO'#GYO!+hQ7[O'#G_O!7jQWO'#EnO!8XQWO,5<eOOQ?Mp'#Cr'#CrO!8aQWO'#EoO!9ZQ`O'#EpOOQ?Mp'#J|'#J|O!9bQ?MxO'#K]O9hQ?MxO,5=`O`Q^O,5>pOOQU'#Jc'#JcOOQU,5>q,5>qOOQU-E<X-E<XO!;aQ?NdO,5:_O!9UQ`O,5:]O!=zQ?NdO,5:gO%[Q^O,5:gO!@bQ?NdO,5:iOOQO,5@v,5@vO!ARQ7[O,5=[O!AaQ?MxO'#JdO9RQWO'#JdO!ArQ?MxO,59ZO!A}Q`O,59ZO!BVQ7[O,59ZO:VQ7[O,59ZO!BbQWO,5;WO!BjQWO'#H^O!COQWO'#K`O%[Q^O,5;|O!9UQ`O,5<OO!CWQWO,5=wO!C]QWO,5=wO!CbQWO,5=wO9hQ?MxO,5=wO;wQWO,5=gOOQO'#Cv'#CvO!CpQ`O,5=dO!CxQ7[O,5=eO!DTQWO,5=gO!DYQpO,5=jO!DbQWO'#K[O>tQWO'#HTO9^QWO'#HVO!DgQWO'#HVO:VQ7[O'#HXO!DlQWO'#HXOOQU,5=m,5=mO!DqQWO'#HYO!ESQWO'#CoO!EXQWO,59PO!EcQWO,59PO!GhQ^O,59POOQU,59P,59PO!GxQ?MxO,59PO%[Q^O,59PO!JTQ^O'#HaOOQU'#Hb'#HbOOQU'#Hc'#HcO`Q^O,5=yO!JkQWO,5=yO`Q^O,5>PO`Q^O,5>RO!JpQWO,5>TO`Q^O,5>VO!JuQWO,5>YO!JzQ^O,5>`OOQU,5>f,5>fO%[Q^O,5>fO9hQ?MxO,5>hOOQU,5>j,5>jO# UQWO,5>jOOQU,5>l,5>lO# UQWO,5>lOOQU,5>n,5>nO# rQ`O'#D[O%[Q^O'#JqO# |Q`O'#JqO#!kQ`O'#DjO#!|Q`O'#DjO#%_Q^O'#DjO#%fQWO'#JpO#%nQWO,5:TO#%sQWO'#EqO#&RQWO'#KPO#&ZQWO,5;[O#&`Q`O'#DjO#&mQ`O'#ESOOQ?Mr,5:l,5:lO%[Q^O,5:lO#&tQWO,5:lO>tQWO,5;VO!A}Q`O,5;VO!BVQ7[O,5;VO:VQ7[O,5;VO#&|QWO,5@]O#'RQ(CYO,5:pOOQO-E<b-E<bO#(XQ?NQO,5;OOCrQ`O,5:oO#(cQ`O,5:oOCrQ`O,5;OO!ArQ?MxO,5:oOOQ?Mp'#Eg'#EgOOQO,5;O,5;OO%[Q^O,5;OO#(pQ?MxO,5;OO#({Q?MxO,5;OO!A}Q`O,5:oOOQO,5;U,5;UO#)ZQ?MxO,5;OPOOO'#IY'#IYP#)oO#@ItO,58|POOO,58|,58|OOOO-E<Y-E<YOOQ?Mr1G.p1G.pOOOO-E<Z-E<ZO#)zQpO,59zOOOO-E<]-E<]OOQ?Mr1G/d1G/dO#*PQrO,5>zO+}Q^O,5>zOOQO,5?Q,5?QO#*ZQ^O'#I`OOQO-E<^-E<^O#*hQWO,5@ZO#*pQrO,5@ZO#*wQWO,5@iOOQ?Mr1G/j1G/jO%[Q^O,5@jO#+PQWO'#IfOOQO-E<d-E<dO#*wQWO,5@iOOQ?Mp1G0u1G0uOOQ?Mv1G/u1G/uOOQ?Mv1G0V1G0VO%[Q^O,5@gO#+eQ?MxO,5@gO#+vQ?MxO,5@gO#+}QWO,5@fO9WQWO,5@fO#,VQWO,5@fO#,eQWO'#IiO#+}QWO,5@fOOQ?Mp1G0t1G0tO!(XQ`O,5:rO!(dQ`O,5:rOOQQ,5:t,5:tO#-VQYO,5:tO#-_Q7[O1G2vO9^QWO1G2vOOQ?Mr1G0r1G0rO#-mQ?NdO1G0rO#.rQ?NbO,5;SOOQ?Mr'#GU'#GUO#/`Q?NdO'#JgO!$[Q^O1G0rO#1hQrO'#JrO%[Q^O'#JrO#1rQWO,5:bOOQ?Mr'#D['#D[OOQ?Mr1G0{1G0{O%[Q^O1G0{OOQ?Mr1G1e1G1eO#1wQWO1G0{O#4]Q?NdO1G0|O#4dQ?NdO1G0|O#6zQ?NdO1G0|O#7RQ?NdO1G0|O#9YQ?NdO1G0|O#9pQ?NdO1G0|O#<gQ?NdO1G0|O#<nQ?NdO1G0|O#?OQ?NdO1G0|O#?]Q?NdO1G0|O#AWQ?NdO1G0|O#DWQ07bO'#CiO#FRQ07bO1G1_O#FYQ07bO'#JnO#FmQ?NdO,5?WOOQ?Mp-E<j-E<jO#GaQ?NdO1G0|OOQ?Mr1G0|1G0|O#IiQ7[O'#JwO#IsQWO,5:uO#IxQ?NdO1G1bO#JlQ&jO,5<VO#JtQ&jO,5<WO#J|Q&jO'#FnO#KeQWO'#FmOOQO'#KT'#KTOOQO'#Ij'#IjO#KjQ&jO1G1mOOQ?Mr1G1m1G1mOOOS1G1x1G1xO#K{Q07bO'#JmO#LVQWO,5<aO!(oQ^O,5<aOOOS-E<i-E<iOOQ?Mr1G1k1G1kO#L[Q`O'#KSOOQ?Mr,5<c,5<cO#LdQ`O,5<cOOQ?Mr,59f,59fO!&_Q7[O'#DQOOOO'#I^'#I^O#LiO!0LbO,59jOOQ?Mr,59j,59jO%[Q^O1G2OO!7eQWO'#InO#LtQ7[O,5<xOOQ?Mr,5<u,5<uO!+hQ7[O'#IqO#MdQ7[O,5=UO!+hQ7[O'#IsO#NVQ7[O,5=WO!&_Q7[O,5=YOOQO1G2Q1G2QO#NaQpO'#CrO#NtQ$ISO'#EoO$ sQ`O'#G`O$!aQpO,5<qO$!hQWO'#KWO9WQWO'#KWO$!vQWO,5<sO!+hQ7[O,5<rO$!{QWO'#GXO$#^QWO,5<rO$#cQpO'#GUO$#pQpO'#KXO$#zQWO'#KXO!&_Q7[O'#KXO$$PQWO,5<vO$$UQ`O'#GaO!5nQ`O'#GaO$$gQWO'#GcO$$lQWO'#GeO!3XQWO'#GhO$$qQ?MxO'#IpO$$|Q`O,5<zOOQ?Mv,5<z,5<zO$%TQ`O'#GaO$%cQ`O'#GbO$%kQ`O'#GbO$%pQ7[O,5=UO$&QQ7[O,5=WOOQ?Mr,5=Z,5=ZO!+hQ7[O,5@QO!+hQ7[O,5@QO$&bQWO'#IuO$&mQWO,5@PO$&uQWO,59aO$'iQ!LSO,59rOOQ?Mr'#Jk'#JkO$([Q7[O,5<iO$(}Q7[O,5<kO@fQWO,5<mOOQ?Mr,5<n,5<nO$)XQWO,5<tO$)^Q7[O,5<yO$)nQWO'#JzO!$[Q^O1G2PO$)sQWO1G2PO9WQWO'#J}O9WQWO'#EqO%[Q^O'#EqO9WQWO'#IwO$)xQ?MxO,5@wOOQU1G2z1G2zOOQU1G4[1G4[OOQ?Mr1G/y1G/yOOQ?Mr1G/w1G/wO$+zQ?NdO1G0ROOQU1G2v1G2vO!&_Q7[O1G2vO%[Q^O1G2vO#-bQWO1G2vO$.OQ7[O'#EhOOQ?Mp,5@O,5@OO$.YQ?MxO,5@OOOQU1G.u1G.uO!ArQ?MxO1G.uO!A}Q`O1G.uO!BVQ7[O1G.uO$.kQWO1G0rO$.pQWO'#CiO$.{QWO'#KaO$/TQWO,5=xO$/YQWO'#KaO$/_QWO'#KaO$/mQWO'#I}O$/{QWO,5@zO$0TQrO1G1hOOQ?Mr1G1j1G1jO9^QWO1G3cO@fQWO1G3cO$0[QWO1G3cO$0aQWO1G3cOOQU1G3c1G3cO!DTQWO1G3RO!&_Q7[O1G3OO$0fQWO1G3OOOQU1G3P1G3PO!&_Q7[O1G3PO$0kQWO1G3PO$0sQ`O'#G}OOQU1G3R1G3RO!5nQ`O'#IyO!DYQpO1G3UOOQU1G3U1G3UOOQU,5=o,5=oO$0{Q7[O,5=qO9^QWO,5=qO$$lQWO,5=sO9RQWO,5=sO!A}Q`O,5=sO!BVQ7[O,5=sO:VQ7[O,5=sO$1ZQWO'#K_O$1fQWO,5=tOOQU1G.k1G.kO$1kQ?MxO1G.kO@fQWO1G.kO$1vQWO1G.kO9hQ?MxO1G.kO$4OQrO,5@|O$4]QWO,5@|O9WQWO,5@|O$4hQ^O,5={O$4oQWO,5={OOQU1G3e1G3eO`Q^O1G3eOOQU1G3k1G3kOOQU1G3m1G3mO>oQWO1G3oO$4tQ^O1G3qO$8xQ^O'#HpOOQU1G3t1G3tO$9VQWO'#HvO>tQWO'#HxOOQU1G3z1G3zO$9_Q^O1G3zO9hQ?MxO1G4QOOQU1G4S1G4SOOQ?Mp'#G]'#G]O9hQ?MxO1G4UO9hQ?MxO1G4WO$=fQWO,5@]O!(oQ^O,5;]O9WQWO,5;]O>tQWO,5:UO!(oQ^O,5:UO!A}Q`O,5:UO$=kQ07bO,5:UOOQO,5;],5;]O$=uQ`O'#IaO$>]QWO,5@[OOQ?Mr1G/o1G/oO$>eQ`O'#IgO$>oQWO,5@kOOQ?Mp1G0v1G0vO#!|Q`O,5:UOOQO'#Ic'#IcO$>wQ`O,5:nOOQ?Mv,5:n,5:nO#&wQWO1G0WOOQ?Mr1G0W1G0WO%[Q^O1G0WOOQ?Mr1G0q1G0qO>tQWO1G0qO!A}Q`O1G0qO!BVQ7[O1G0qOOQ?Mp1G5w1G5wO!ArQ?MxO1G0ZOOQO1G0j1G0jO%[Q^O1G0jO$?OQ?MxO1G0jO$?ZQ?MxO1G0jO!A}Q`O1G0ZOCrQ`O1G0ZO$?iQ?MxO1G0jOOQO1G0Z1G0ZO$?}Q?NdO1G0jPOOO-E<W-E<WPOOO1G.h1G.hOOOO1G/f1G/fO$@XQpO,5<gO$@aQrO1G4fOOQO1G4l1G4lO%[Q^O,5>zO$@kQWO1G5uO$@sQWO1G6TO$@{QrO1G6UO9WQWO,5?QO$AVQ?NdO1G6RO%[Q^O1G6RO$AgQ?MxO1G6RO$AxQWO1G6QO$AxQWO1G6QO9WQWO1G6QO$BQQWO,5?TO9WQWO,5?TOOQO,5?T,5?TO$BfQWO,5?TO$)nQWO,5?TOOQO-E<g-E<gOOQQ1G0^1G0^OOQQ1G0`1G0`O#-YQWO1G0`OOQU7+(b7+(bO!&_Q7[O7+(bO%[Q^O7+(bO$BtQWO7+(bO$CPQ7[O7+(bO$C_Q?NdO,5=UO$EgQ?NdO,5=WO$GoQ?NdO,5=UO$I}Q?NdO,5=WO$L]Q?NdO,59rO$NbQ?NdO,5<iO%!jQ?NdO,5<kO%$rQ?NdO,5<yOOQ?Mr7+&^7+&^O%'QQ?NdO7+&^O%'tQ^O'#IbO%(RQWO,5@^O%(ZQrO,5@^OOQ?Mr1G/|1G/|O%(eQWO7+&gOOQ?Mr7+&g7+&gO%(jQ07bO,5:cO%[Q^O7+&yO%(tQ07bO,5:_O%)RQ07bO,5:gO%)]Q07bO,5:iO%)gQ7[O'#IeO%)qQWO,5@cOOQ?Mr1G0a1G0aOOQO1G1q1G1qOOQO1G1r1G1rO%)yQtO,5<YO!(oQ^O,5<XOOQO-E<h-E<hOOQ?Mr7+'X7+'XOOOS7+'d7+'dOOOS1G1{1G1{O%*UQWO1G1{OOQ?Mr1G1}1G1}O%*ZQpO,59lOOOO-E<[-E<[OOQ?Mr1G/U1G/UO%*bQ?NdO7+'jOOQ?Mr,5?Y,5?YO%+UQpO,5?YOOQ?Mr1G2d1G2dP!&_Q7[O'#InPOQ?Mr-E<l-E<lO%+tQ7[O,5?]OOQ?Mr-E<o-E<oO%,gQ7[O,5?_OOQ?Mr-E<q-E<qO%,qQpO1G2tO%,xQpO'#CrO%-`Q7[O'#J}O%-gQ^O'#EqOOQ?Mr1G2]1G2]O%-qQWO'#ImO%.VQWO,5@rO%.VQWO,5@rO%._QWO,5@rO%.jQWO,5@rOOQO1G2_1G2_O%.xQ7[O1G2^O!+hQ7[O1G2^O%/YQ$ISO'#IoO%/gQWO,5@sO!&_Q7[O,5@sO%/oQpO,5@sOOQ?Mr1G2b1G2bOOQ?Mp,5<{,5<{OOQ?Mp,5<|,5<|O$)nQWO,5<|OCcQWO,5<|O!A}Q`O,5<{OOQO'#Gd'#GdO%/yQWO,5<}OOQ?Mp,5=P,5=PO$)nQWO,5=SOOQO,5?[,5?[OOQO-E<n-E<nOOQ?Mv1G2f1G2fO!5nQ`O,5<{O%0RQWO,5<|O$$gQWO,5<}O!5nQ`O,5<|O!+hQ7[O'#IqO%0uQ7[O1G2pO!+hQ7[O'#IsO%1hQ7[O1G2rO%1rQ7[O1G5lO%1|Q7[O1G5lOOQO,5?a,5?aOOQO-E<s-E<sOOQO1G.{1G.{O!9UQ`O,59tO%[Q^O,59tOOQ?Mr,5<h,5<hO%2ZQWO1G2XO!+hQ7[O1G2`O%2`Q?NdO7+'kOOQ?Mr7+'k7+'kO!$[Q^O7+'kO%3SQWO,5;]OOQ?Mp,5?c,5?cOOQ?Mp-E<u-E<uO%3XQpO'#KYO#&wQWO7+(bO4UQrO7+(bO$BwQWO7+(bO%3cQ?NbO'#CiO%3vQ?NbO,5=QO%4hQWO,5=QOOQ?Mp1G5j1G5jOOQU7+$a7+$aO!ArQ?MxO7+$aO!A}Q`O7+$aO!$[Q^O7+&^O%4mQWO'#I|O%5UQWO,5@{OOQO1G3d1G3dO9^QWO,5@{O%5UQWO,5@{O%5^QWO,5@{OOQO,5?i,5?iOOQO-E<{-E<{OOQ?Mr7+'S7+'SO%5cQWO7+(}O9hQ?MxO7+(}O9^QWO7+(}O@fQWO7+(}OOQU7+(m7+(mO%5hQ?NbO7+(jO!&_Q7[O7+(jO%5rQpO7+(kOOQU7+(k7+(kO!&_Q7[O7+(kO%5yQWO'#K^O%6UQWO,5=iOOQO,5?e,5?eOOQO-E<w-E<wOOQU7+(p7+(pO%7eQ`O'#HWOOQU1G3]1G3]O!&_Q7[O1G3]O%[Q^O1G3]O%7lQWO1G3]O%7wQ7[O1G3]O9hQ?MxO1G3_O$$lQWO1G3_O9RQWO1G3_O!A}Q`O1G3_O!BVQ7[O1G3_O%8VQWO'#I{O%8kQWO,5@yO%8sQ`O,5@yOOQ?Mp1G3`1G3`OOQU7+$V7+$VO@fQWO7+$VO9hQ?MxO7+$VO%9OQWO7+$VO%[Q^O1G6hO%[Q^O1G6iO%9TQ?MxO1G6hO%9_Q^O1G3gO%9fQWO1G3gO%9kQ^O1G3gOOQU7+)P7+)PO9hQ?MxO7+)ZO`Q^O7+)]OOQU'#Kd'#KdOOQU'#JO'#JOO%9rQ^O,5>[OOQU,5>[,5>[O%[Q^O'#HqO%:PQWO'#HsOOQU,5>b,5>bO9WQWO,5>bOOQU,5>d,5>dOOQU7+)f7+)fOOQU7+)l7+)lOOQU7+)p7+)pOOQU7+)r7+)rO%:UQ`O1G5wO%:jQ07bO1G0wO%:tQWO1G0wOOQO1G/p1G/pO%;PQ07bO1G/pO>tQWO1G/pO!(oQ^O'#DjOOQO,5>{,5>{OOQO-E<_-E<_OOQO,5?R,5?ROOQO-E<e-E<eO!A}Q`O1G/pOOQO-E<a-E<aOOQ?Mv1G0Y1G0YOOQ?Mr7+%r7+%rO#&wQWO7+%rOOQ?Mr7+&]7+&]O>tQWO7+&]O!A}Q`O7+&]OOQO7+%u7+%uO$?}Q?NdO7+&UOOQO7+&U7+&UO%[Q^O7+&UO%;ZQ?MxO7+&UO!ArQ?MxO7+%uO!A}Q`O7+%uO%;fQ?MxO7+&UO%;tQ?NdO7++mO%[Q^O7++mO%<UQWO7++lO%<UQWO7++lOOQO1G4o1G4oO9WQWO1G4oO%<^QWO1G4oOOQQ7+%z7+%zO#&wQWO<<K|O4UQrO<<K|O%<lQWO<<K|OOQU<<K|<<K|O!&_Q7[O<<K|O%[Q^O<<K|O%<tQWO<<K|O%=PQ?NdO,5?]O%?XQ?NdO,5?_O%AaQ?NdO1G2^O%CoQ?NdO1G2pO%EwQ?NdO1G2rO%HPQrO,5>|O%[Q^O,5>|OOQO-E<`-E<`O%HZQWO1G5xOOQ?Mr<<JR<<JRO%HcQ07bO1G0rO%JjQ07bO1G0|O%JqQ07bO1G0|O%LrQ07bO1G0|O%LyQ07bO1G0|O%NkQ07bO1G0|O& RQ07bO1G0|O&#cQ07bO1G0|O&#jQ07bO1G0|O&%eQ07bO1G0|O&%rQ07bO1G0|O&'mQ07bO1G0|O&(QQ?NdO<<JeO&)VQ07bO1G0|O&*xQ07bO'#JgO&,{Q07bO1G1bO&-YQ07bO1G0RO&-dQ7[O,5?POOQO-E<c-E<cO!(oQ^O'#FpOOQO'#KU'#KUOOQO1G1t1G1tO&-nQWO1G1sO&-sQ07bO,5?WOOOS7+'g7+'gOOOO1G/W1G/WOOQ?Mr1G4t1G4tO!+hQ7[O7+(`O&0TQrO'#CiO&0_QWO,5?XO9WQWO,5?XOOQO-E<k-E<kO&0mQWO1G6^O&0mQWO1G6^O&0uQWO1G6^O&1QQ7[O7+'xO&1bQpO,5?ZO&1lQWO,5?ZO!&_Q7[O,5?ZOOQO-E<m-E<mO&1qQpO1G6_O&1{QWO1G6_OOQ?Mp1G2h1G2hO$)nQWO1G2hOOQ?Mp1G2g1G2gO&2TQWO1G2iO!&_Q7[O1G2iOOQ?Mp1G2n1G2nO!A}Q`O1G2gOCcQWO1G2hO&2YQWO1G2iO&2bQWO1G2hO&3UQ7[O,5?]OOQ?Mr-E<p-E<pO&3wQ7[O,5?_OOQ?Mr-E<r-E<rO!+hQ7[O7++WOOQ?Mr1G/`1G/`O&4RQWO1G/`OOQ?Mr7+'s7+'sO&4WQ7[O7+'zO&4hQ?NdO<<KVOOQ?Mr<<KV<<KVO&5[QWO1G0wO!&_Q7[O'#IvO&5aQWO,5@tO&7cQrO<<K|O!&_Q7[O1G2lOOQU<<G{<<G{O!ArQ?MxO<<G{O&7jQ?NdO<<IxOOQ?Mr<<Ix<<IxOOQO,5?h,5?hO&8^QWO,5?hO&8cQWO,5?hOOQO-E<z-E<zO&8qQWO1G6gO&8qQWO1G6gO9^QWO1G6gO@fQWO<<LiOOQU<<Li<<LiO&8yQWO<<LiO9hQ?MxO<<LiOOQU<<LU<<LUO%5hQ?NbO<<LUOOQU<<LV<<LVO%5rQpO<<LVO&9OQ`O'#IxO&9ZQWO,5@xO!(oQ^O,5@xOOQU1G3T1G3TO%-gQ^O'#JqOOQO'#Iz'#IzO9hQ?MxO'#IzO&9cQ`O,5=rOOQU,5=r,5=rO&9jQ`O'#EdO&:OQWO7+(wO&:TQWO7+(wOOQU7+(w7+(wO!&_Q7[O7+(wO%[Q^O7+(wO&:]QWO7+(wOOQU7+(y7+(yO9hQ?MxO7+(yO$$lQWO7+(yO9RQWO7+(yO!A}Q`O7+(yO&:hQWO,5?gOOQO-E<y-E<yOOQO'#HZ'#HZO&:sQWO1G6eO9hQ?MxO<<GqOOQU<<Gq<<GqO@fQWO<<GqO&:{QWO7+,SO&;QQWO7+,TO%[Q^O7+,SO%[Q^O7+,TOOQU7+)R7+)RO&;VQWO7+)RO&;[Q^O7+)RO&;cQWO7+)ROOQU<<Lu<<LuOOQU<<Lw<<LwOOQU-E<|-E<|OOQU1G3v1G3vO&;hQWO,5>]OOQU,5>_,5>_O&;mQWO1G3|O9WQWO7+&cO!(oQ^O7+&cOOQO7+%[7+%[O&;rQ07bO1G6UO>tQWO7+%[OOQ?Mr<<I^<<I^OOQ?Mr<<Iw<<IwO>tQWO<<IwOOQO<<Ip<<IpO$?}Q?NdO<<IpO%[Q^O<<IpOOQO<<Ia<<IaO!ArQ?MxO<<IaO&;|Q?MxO<<IpO&<XQ?NdO<= XO&<iQWO<= WOOQO7+*Z7+*ZO9WQWO7+*ZOOQUANAhANAhO&<qQrOANAhO!&_Q7[OANAhO#&wQWOANAhO4UQrOANAhO&<xQWOANAhO%[Q^OANAhO&=QQ?NdO7+'xO&?`Q?NdO,5?]O&AhQ?NdO,5?_O&CpQ?NdO7+'zO&FOQrO1G4hO&FYQ07bO7+&^O&HZQ07bO,5=UO&J_Q07bO,5=WO&JoQ07bO,5=UO&KPQ07bO,5=WO&KaQ07bO,59rO&MdQ07bO,5<iO' dQ07bO,5<kO'#dQ07bO,5<yO'%VQ07bO7+'jO'%dQ07bO7+'kO'%qQWO,5<[OOQO7+'_7+'_O'%vQ7[O<<KzOOQO1G4s1G4sO'%}QWO1G4sO'&YQWO1G4sO'&hQWO7++xO'&hQWO7++xO!&_Q7[O1G4uO'&pQpO1G4uO'&zQWO7++yOOQ?Mp7+(S7+(SO$)nQWO7+(TO''SQpO7+(TOOQ?Mp7+(R7+(RO$)nQWO7+(SO''ZQWO7+(TO!&_Q7[O7+(TOCcQWO7+(SO''`Q7[O<<NrOOQ?Mr7+$z7+$zO''jQpO,5?bOOQO-E<t-E<tO''tQ?NbO7+(WOOQUAN=gAN=gO9^QWO1G5SOOQO1G5S1G5SO'(UQWO1G5SO'(ZQWO7+,RO'(ZQWO7+,RO9hQ?MxOANBTO@fQWOANBTOOQUANBTANBTOOQUANApANApOOQUANAqANAqO'(cQWO,5?dOOQO-E<v-E<vO'(nQ07bO1G6dOOQO,5?f,5?fOOQO-E<x-E<xOOQU1G3^1G3^O%-gQ^O,5<}OOQU<<Lc<<LcO!&_Q7[O<<LcO&:OQWO<<LcO'(xQWO<<LcO%[Q^O<<LcOOQU<<Le<<LeO9hQ?MxO<<LeO$$lQWO<<LeO9RQWO<<LeO')QQ`O1G5RO')]QWO7+,POOQUAN=]AN=]O9hQ?MxOAN=]OOQU<= n<= nOOQU<= o<= oO')eQWO<= nO')jQWO<= oOOQU<<Lm<<LmO')oQWO<<LmO')tQ^O<<LmOOQU1G3w1G3wO>tQWO7+)hO'){QWO<<I}O'*WQ07bO<<I}OOQO<<Hv<<HvOOQ?MrAN?cAN?cOOQOAN?[AN?[O$?}Q?NdOAN?[OOQOAN>{AN>{O%[Q^OAN?[OOQO<<Mu<<MuOOQUG27SG27SO!&_Q7[OG27SO#&wQWOG27SO'*bQrOG27SO4UQrOG27SO'*iQWOG27SO'*qQ07bO<<JeO'+OQ07bO1G2^O',qQ07bO,5?]O'.qQ07bO,5?_O'0qQ07bO1G2pO'2qQ07bO1G2rO'4qQ07bO<<KVO'5OQ07bO<<IxOOQO1G1v1G1vO!+hQ7[OANAfOOQO7+*_7+*_O'5]QWO7+*_O'5hQWO<= dO'5pQpO7+*aOOQ?Mp<<Ko<<KoO$)nQWO<<KoOOQ?Mp<<Kn<<KnO'5zQpO<<KoO$)nQWO<<KnOOQO7+*n7+*nO9^QWO7+*nO'6RQWO<= mOOQUG27oG27oO9hQ?MxOG27oO!(oQ^O1G5OO'6ZQWO7+,OO&:OQWOANA}OOQUANA}ANA}O!&_Q7[OANA}O'6cQWOANA}OOQUANBPANBPO9hQ?MxOANBPO$$lQWOANBPOOQO'#H['#H[OOQO7+*m7+*mOOQUG22wG22wOOQUANEYANEYOOQUANEZANEZOOQUANBXANBXO'6kQWOANBXOOQU<<MS<<MSO!(oQ^OAN?iOOQOG24vG24vO$?}Q?NdOG24vO#&wQWOLD,nOOQULD,nLD,nO!&_Q7[OLD,nO'6pQrOLD,nO'6wQ07bO7+'xO'8jQ07bO,5?]O':jQ07bO,5?_O'<jQ07bO7+'zO'>]Q7[OG27QOOQO<<My<<MyOOQ?MpANAZANAZO$)nQWOANAZOOQ?MpANAYANAYOOQO<<NY<<NYOOQULD-ZLD-ZO'>mQ07bO7+*jOOQUG27iG27iO&:OQWOG27iO!&_Q7[OG27iOOQUG27kG27kO9hQ?MxOG27kOOQUG27sG27sO'>wQ07bOG25TOOQOLD*bLD*bOOQU!$(!Y!$(!YO#&wQWO!$(!YO!&_Q7[O!$(!YO'?RQ?NdOG27QOOQ?MpG26uG26uOOQULD-TLD-TO&:OQWOLD-TOOQULD-VLD-VOOQU!)9Et!)9EtO#&wQWO!)9EtOOQU!$(!o!$(!oOOQU!.K;`!.K;`O'AaQ07bOG27QO!(oQ^O'#DwO1PQWO'#EUO'CSQrO'#JmO'CZQMnO'#DsO'CbQ^O'#D{O'CiQrO'#CiO'FPQrO'#CiO!(oQ^O'#D}O'FaQ^O,5;WO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O'#IlO'HdQWO,5<gO'HlQ7[O,5;bO'JVQ7[O,5;bO!(oQ^O,5;vO!&_Q7[O'#GjO'HlQ7[O'#GjO!&_Q7[O'#GlO'HlQ7[O'#GlO1SQWO'#DWO1SQWO'#DWO!&_Q7[O'#F}O'HlQ7[O'#F}O!&_Q7[O'#GPO'HlQ7[O'#GPO!&_Q7[O'#G_O'HlQ7[O'#G_O!(oQ^O,5:gO'J^Q`O'#D[O!(oQ^O,5@jO'FaQ^O1G0rO'JhQ07bO'#CiO!(oQ^O1G2OO!&_Q7[O'#IqO'HlQ7[O'#IqO!&_Q7[O'#IsO'HlQ7[O'#IsO'JrQpO'#CrO!&_Q7[O,5<rO'HlQ7[O,5<rO'FaQ^O1G2PO!(oQ^O7+&yO!&_Q7[O1G2^O'HlQ7[O1G2^O!&_Q7[O'#IqO'HlQ7[O'#IqO!&_Q7[O'#IsO'HlQ7[O'#IsO!&_Q7[O1G2`O'HlQ7[O1G2`O'FaQ^O7+'kO'FaQ^O7+&^O!&_Q7[OANAfO'HlQ7[OANAfO'KVQWO'#ElO'K[QWO'#ElO'KdQWO'#F[O'KiQWO'#EvO'KnQWO'#KOO'KyQWO'#J|O'LUQWO,5;WO'LZQ7[O,5<dO'LbQWO'#GWO'LgQWO'#GWO'LlQWO,5<eO'LtQWO,5;WO'L|Q07bO1G1_O'MTQWO,5<rO'MYQWO,5<rO'M_QWO,5<tO'MdQWO,5<tO'MiQWO1G2PO'MnQWO1G0rO'MsQ7[O<<KzO'MzQ7[O<<KzO7eQ7[O'#FzO9RQWO'#FyOAaQWO'#EkO!(oQ^O,5;sO!3XQWO'#GWO!3XQWO'#GWO!3XQWO'#GYO!3XQWO'#GYO!+hQ7[O7+(`O!+hQ7[O7+(`O%,qQpO1G2tO%,qQpO1G2tO!&_Q7[O,5=YO!&_Q7[O,5=Y",stateData:"( O~O'wOS'xOSTOS'yRQ~OPYOQYOSfOY!VOaqOdzOeyOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![XO!fuO!iZO!lYO!mYO!nYO!pvO!rwO!uxO!y]O#t!PO$V|O%e}O%g!QO%i!OO%j!OO%k!OO%n!RO%p!SO%s!TO%t!TO%v!UO&S!WO&Y!XO&[!YO&^!ZO&`![O&c!]O&i!^O&o!_O&q!`O&s!aO&u!bO&w!cO(OSO(QTO(TUO([VO(j[O(yiO~OWtO~P`OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$V!kO(O!dO(QTO(TUO([VO(j[O(yiO~Oa!wOp!nO!P!oO!_!yO!`!vO!a!vO!y:lO#Q!pO#R!pO#S!xO#T!pO#U!pO#X!zO#Y!zO(P!lO(QTO(TUO(`!mO(j!sO~O'y!{O~OP]XR]X[]Xa]Xo]X}]X!P]X!Y]X!i]X!m]X#O]X#P]X#]]X#hfX#k]X#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#u]X#w]X#y]X#z]X$P]X'u]X([]X(m]X(t]X(u]X~O!d%PX~P(qO_!}O(Q#PO(R!}O(S#PO~O_#QO(S#PO(T#PO(U#QO~Ou#SO!R#TO(]#TO(^#VO~OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$V!kO(O:pO(QTO(TUO([VO(j[O(yiO~O!X#ZO!Y#WO!V(cP!V(qP~P+}O!Z#cO~P`OPYOQYOSfOd!jOe!iOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$V!kO(QTO(TUO([VO(j[O(yiO~Om#mO!X#iO!y]O#f#lO#g#iO(O:qO!h(nP~P.iO!i#oO(O#nO~O!u#sO!y]O%e#tO~O#h#uO~O!d#vO#h#uO~OP$]OR#zO[$cOo$QO}#yO!P#{O!Y$`O!i#xO!m$]O#O$SO#k$OO#l$PO#m$PO#n$PO#o$RO#p$SO#q$SO#r$bO#s$SO#u$TO#w$VO#y$XO#z$YO([VO(m$ZO(t#|O(u#}O~Oa(aX'u(aX's(aX!h(aX!V(aX![(aX%f(aX!d(aX~P1qO#P$dO#]$eO$P$eOP(bXR(bX[(bXo(bX}(bX!P(bX!Y(bX!i(bX!m(bX#O(bX#k(bX#l(bX#m(bX#n(bX#o(bX#p(bX#q(bX#r(bX#s(bX#u(bX#w(bX#y(bX#z(bX([(bX(m(bX(t(bX(u(bX![(bX%f(bX~Oa(bX'u(bX's(bX!V(bX!h(bXs(bX!d(bX~P4UO#]$eO~O$[$hO$^$gO$e$mO~OSfO![$nO$h$oO$j$qO~Oh%WOm%XOo$uOp$tOq$tOw%YOy%ZO{%[O!P$|O![$}O!f%aO!i$yO#g%bO$V%_O$r%]O$t%^O$w%`O(O$sO(QTO(TUO([$vO(t%OO(u%QOg(XP~O!i%cO~O!P%fO![%gO(O%eO~O!d%kO~Oa%lO'u%lO~O}%pO~P%[O(P!lO~P%[O%k%tO~P%[Oh%WO!i%cO(O%eO(P!lO~Oe%{O!i%cO(O%eO~O#s$SO~O}&QO![%}O!i&PO%g&TO(O%eO(P!lO(QTO(TUO`)SP~O!u#sO~O%p&VO!P)OX![)OX(O)OX~O(O&WO~O!r&]O#t!PO%g!QO%i!OO%j!OO%k!OO%n!RO%p!SO%s!TO%t!TO~Od&bOe&aO!u&_O%e&`O%x&^O~P;|Od&eOeyO![&dO!r&]O!uxO!y]O#t!PO%e}O%i!OO%j!OO%k!OO%n!RO%p!SO%s!TO%t!TO%v!UO~Ob&hO#]&kO%g&fO(P!lO~P=RO!i&lO!r&pO~O!i#oO~O![XO~Oa%lO't&xO'u%lO~Oa%lO't&{O'u%lO~Oa%lO't&}O'u%lO~O's]X!V]Xs]X!h]X&W]X![]X%f]X!d]X~P(qO!_'[O!`'TO!a'TO(P!lO(QTO(TUO~Op'RO!P'QO!X'UO(`'PO!Z(dP!Z(sP~P@YOk'_O![']O(O%eO~Oe'dO!i%cO(O%eO~O}&QO!i&PO~Op!nO!P!oO!y:lO#Q!pO#R!pO#T!pO#U!pO(P!lO(QTO(TUO(`!mO(j!sO~O!_'jO!`'iO!a'iO#S!pO#X'kO#Y'kO~PAtOa%lOh%WO!d#vO!i%cO'u%lO(m'mO~O!m'qO#]'oO~PCSOp!nO!P!oO(QTO(TUO(`!mO(j!sO~O![XOp(hX!P(hX!_(hX!`(hX!a(hX!y(hX#Q(hX#R(hX#S(hX#T(hX#U(hX#X(hX#Y(hX(P(hX(Q(hX(T(hX(`(hX(j(hX~O!`'iO!a'iO(P!lO~PCrO'z'uO'{'uO'|'wO~O_!}O(Q'yO(R!}O(S'yO~O_#QO(S'yO(T'yO(U#QO~Ou#SO!R#TO(]#TO(^'}O~O!X(PO!V'SX!V'YX!Y'SX!Y'YX~P+}O!Y(RO!V(cX~OP$]OR#zO[$cOo$QO}#yO!P#{O!Y(RO!i#xO!m$]O#O$SO#k$OO#l$PO#m$PO#n$PO#o$RO#p$SO#q$SO#r$bO#s$SO#u$TO#w$VO#y$XO#z$YO([VO(m$ZO(t#|O(u#}O~O!V(cX~PGfO!V(WO~O!V(pX!Y(pX!d(pX!h(pX(m(pX~O#](pX#h#aX!Z(pX~PIiO#](XO!V(rX!Y(rX~O!Y(YO!V(qX~O!V(]O~O#]$eO~PIiO!Z(^O~P`OR#zO}#yO!P#{O!i#xO([VOP!ka[!kao!ka!Y!ka!m!ka#O!ka#k!ka#l!ka#m!ka#n!ka#o!ka#p!ka#q!ka#r!ka#s!ka#u!ka#w!ka#y!ka#z!ka(m!ka(t!ka(u!ka~Oa!ka'u!ka's!ka!V!ka!h!kas!ka![!ka%f!ka!d!ka~PKPO!h(_O~O!d#vO#](`O(m'mO!Y(oXa(oX'u(oX~O!h(oX~PMlO!P%fO![%gO!y]O#f(eO#g(dO(O%eO~O!Y(fO!h(nX~O!h(hO~O!P%fO![%gO#g(dO(O%eO~OP(bXR(bX[(bXo(bX}(bX!P(bX!Y(bX!i(bX!m(bX#O(bX#k(bX#l(bX#m(bX#n(bX#o(bX#p(bX#q(bX#r(bX#s(bX#u(bX#w(bX#y(bX#z(bX([(bX(m(bX(t(bX(u(bX~O!d#vO!h(bX~P! YOR(jO}(iO!i#xO#P$dO!y!xa!P!xa~O!u!xa%e!xa![!xa#f!xa#g!xa(O!xa~P!#ZO!u(nO~OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![XO!fuO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$V!kO(O!dO(QTO(TUO([VO(j[O(yiO~Oh%WOm%XOo$uOp$tOq$tOw%YOy%ZO{;YO!P$|O![$}O!f<jO!i$yO#g;`O$V%_O$r;[O$t;^O$w%`O(O(rO(QTO(TUO([$vO(t%OO(u%QO~O#h(tO~O!X(vO!h(fP~P%[O(`(xO(j[O~O!P(zO!i#xO(`(xO(j[O~OP:kOQ:kOSfOd<fOe!iOmkOo:kOpkOqkOwkOy:kO{:kO!PWO!TkO!UkO![!eO!f:nO!iZO!l:kO!m:kO!n:kO!p:oO!r:rO!u!hO$V!kO(O)YO(QTO(TUO([VO(j[O(y<dO~O!Y$`Oa$oa'u$oa's$oa!h$oa!V$oa![$oa%f$oa!d$oa~O#t)`O~P!&_Oh%WOm%XOo$uOp$tOq$tOw%YOy%ZO{%[O!P$|O![$}O!f%aO!i$yO#g%bO$V%_O$r%]O$t%^O$w%`O(O(rO(QTO(TUO([$vO(t%OO(u%QO~Og(kP~P!+hO})eO!d)dO![$]X$Y$]X$[$]X$^$]X$e$]X~O!d)dO![(vX$Y(vX$[(vX$^(vX$e(vX~O})eO~P!-qO})eO![(vX$Y(vX$[(vX$^(vX$e(vX~O![)gO$Y)kO$[)fO$^)fO$e)lO~O!X)oO~P!(oO$[$hO$^$gO$e)sO~Ok$xX}$xX!P$xX#P$xX(t$xX(u$xX~OgjXg$xXkjX!YjX#]jX~P!/gOp)uO~Ou)vO(])wO(^)yO~Ok*SO}){O!P)|O(t%OO(u%QO~Og)zO~P!0pOg*TO~Oh%WOm%XOo$uOp$tOq$tOw%YOy%ZO{;YO!P*VO![*WO!f<jO!i$yO#g;`O$V%_O$r;[O$t;^O$w%`O(QTO(TUO([$vO(t%OO(u%QO~O!X*ZO(O*UO!h(zP~P!1_O#h*]O~O!i*^O~Oh%WOm%XOo$uOp$tOq$tOw%YOy%ZO{;YO!P$|O![$}O!f<jO!i$yO#g;`O$V%_O$r;[O$t;^O$w%`O(O*`O(QTO(TUO([$vO(t%OO(u%QO~O!X*cO!V({P~P!3^Oo*oO!P*gO!_*mO!`*fO!a*fO!i*^O#X*nO%]*iO(P!lO(`!mO~O!Z*lO~P!5RO#P$dOk(ZX}(ZX!P(ZX(t(ZX(u(ZX!Y(ZX#](ZX~Og(ZX#}(ZX~P!5zOk*tO#]*sOg(YX!Y(YX~O!Y*uOg(XX~O(O&WOg(XP~O!i*|O~O(O(rO~Om+QO!P%fO!X#iO![%gO!y]O#f#lO#g#iO(O%eO!h(nP~O!d#vO#h+RO~O!P%fO!X+TO!Y(YO![%gO(O%eO!V(qP~Op'XO!P+VO!X+UO(QTO(TUO(`(xO~O!Z(sP~P!8uO!Y+WOa)PX'u)PX~OP$]OR#zO[$cOo$QO}#yO!P#{O!i#xO!m$]O#O$SO#k$OO#l$PO#m$PO#n$PO#o$RO#p$SO#q$SO#r$bO#s$SO#u$TO#w$VO#y$XO#z$YO([VO(m$ZO(t#|O(u#}O~Oa!ga!Y!ga'u!ga's!ga!V!ga!h!gas!ga![!ga%f!ga!d!ga~P!9mOR#zO}#yO!P#{O!i#xO([VOP!oa[!oao!oa!Y!oa!m!oa#O!oa#k!oa#l!oa#m!oa#n!oa#o!oa#p!oa#q!oa#r!oa#s!oa#u!oa#w!oa#y!oa#z!oa(m!oa(t!oa(u!oa~Oa!oa'u!oa's!oa!V!oa!h!oas!oa![!oa%f!oa!d!oa~P!<TOR#zO}#yO!P#{O!i#xO([VOP!qa[!qao!qa!Y!qa!m!qa#O!qa#k!qa#l!qa#m!qa#n!qa#o!qa#p!qa#q!qa#r!qa#s!qa#u!qa#w!qa#y!qa#z!qa(m!qa(t!qa(u!qa~Oa!qa'u!qa's!qa!V!qa!h!qas!qa![!qa%f!qa!d!qa~P!>kOh%WOk+aO![']O%f+`O~O!d+cOa(WX![(WX'u(WX!Y(WX~Oa%lO![XO'u%lO~Oh%WO!i%cO~Oh%WO!i%cO(O%eO~O!d#vO#h(tO~Ob+nO%g+oO(O+kO(QTO(TUO!Z)TP~O!Y+pO`)SX~O[+tO~O`+uO~O![%}O(O%eO(P!lO`)SP~Oh%WO#]+zO~Oh%WOk+}O![$}O~O![,PO~O},RO![XO~O%k%tO~O!u,WO~Oe,]O~Ob,^O(O#nO(QTO(TUO!Z)RP~Oe%{O~O%g!QO(O&WO~P=RO[,cO`,bO~OPYOQYOSfOdzOeyOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO!fuO!iZO!lYO!mYO!nYO!pvO!uxO!y]O%e}O(QTO(TUO([VO(j[O(yiO~O![!eO!r!gO$V!kO(O!dO~P!EkO`,bOa%lO'u%lO~OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!u!hO$V!kO(O!dO(QTO(TUO([VO(j[O(yiO~Oa,hO!rwO#t!OO%i!OO%j!OO%k!OO~P!HTO!i&lO~O&Y,nO~O![,pO~O&k,rO&m,sOP&haQ&haS&haY&haa&had&hae&ham&hao&hap&haq&haw&hay&ha{&ha!P&ha!T&ha!U&ha![&ha!f&ha!i&ha!l&ha!m&ha!n&ha!p&ha!r&ha!u&ha!y&ha#t&ha$V&ha%e&ha%g&ha%i&ha%j&ha%k&ha%n&ha%p&ha%s&ha%t&ha%v&ha&S&ha&Y&ha&[&ha&^&ha&`&ha&c&ha&i&ha&o&ha&q&ha&s&ha&u&ha&w&ha's&ha(O&ha(Q&ha(T&ha([&ha(j&ha(y&ha!Z&ha&a&hab&ha&f&ha~O(O,xO~Oh!bX!Y!OX!Z!OX!d!OX!d!bX!i!bX#]!OX~O!Y!bX!Z!bX~P# ZO!d,}O#],|Oh(eX!Y#eX!Y(eX!Z#eX!Z(eX!d(eX!i(eX~Oh%WO!d-PO!i%cO!Y!^X!Z!^X~Op!nO!P!oO(QTO(TUO(`!mO~OP:kOQ:kOSfOd<fOe!iOmkOo:kOpkOqkOwkOy:kO{:kO!PWO!TkO!UkO![!eO!f:nO!iZO!l:kO!m:kO!n:kO!p:oO!r:rO!u!hO$V!kO(QTO(TUO([VO(j[O(y<dO~O(O;fO~P##_O!Y-TO!Z(dX~O!Z-VO~O!d,}O#],|O!Y#eX!Z#eX~O!Y-WO!Z(sX~O!Z-YO~O!`-ZO!a-ZO(P!lO~P#!|O!Z-^O~P'_Ok-aO![']O~O!V-fO~Op!xa!_!xa!`!xa!a!xa#Q!xa#R!xa#S!xa#T!xa#U!xa#X!xa#Y!xa(P!xa(Q!xa(T!xa(`!xa(j!xa~P!#ZO!m-kO#]-iO~PCSO!`-mO!a-mO(P!lO~PCrOa%lO#]-iO'u%lO~Oa%lO!d#vO#]-iO'u%lO~Oa%lO!d#vO!m-kO#]-iO'u%lO(m'mO~O'z'uO'{'uO'|-rO~Os-sO~O!V'Sa!Y'Sa~P!9mO!X-wO!V'SX!Y'SX~P%[O!Y(RO!V(ca~O!V(ca~PGfO!Y(YO!V(qa~O!P%fO!X-{O![%gO(O%eO!V'YX!Y'YX~O#]-}O!Y(oa!h(oaa(oa'u(oa~O!d#vO~P#+eO!Y(fO!h(na~O!P%fO![%gO#g.RO(O%eO~Om.WO!P%fO!X.TO![%gO!y]O#f.VO#g.TO(O%eO!Y']X!h']X~OR.[O!i#xO~Oh%WOk._O![']O%f.^O~Oa#`i!Y#`i'u#`i's#`i!V#`i!h#`is#`i![#`i%f#`i!d#`i~P!9mOk<pO}){O!P)|O(t%OO(u%QO~O#h#[aa#[a#]#[a'u#[a!Y#[a!h#[a![#[a!V#[a~P#.aO#h(ZXP(ZXR(ZX[(ZXa(ZXo(ZX!i(ZX!m(ZX#O(ZX#k(ZX#l(ZX#m(ZX#n(ZX#o(ZX#p(ZX#q(ZX#r(ZX#s(ZX#u(ZX#w(ZX#y(ZX#z(ZX'u(ZX([(ZX(m(ZX!h(ZX!V(ZX's(ZXs(ZX![(ZX%f(ZX!d(ZX~P!5zO!Y.lO!h(fX~P!9mO!h.oO~O!V.qO~OP$]OR#zO}#yO!P#{O!i#xO!m$]O([VO[#jia#jio#ji!Y#ji#O#ji#l#ji#m#ji#n#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji'u#ji(m#ji(t#ji(u#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#k#ji~P#1|O#k$OO~P#1|OP$]OR#zO}#yO!P#{O!i#xO!m$]O#k$OO#l$PO#m$PO#n$PO([VO[#jia#ji!Y#ji#O#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji'u#ji(m#ji(t#ji(u#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~Oo#ji~P#4kOo$QO~P#4kOP$]OR#zOo$QO}#yO!P#{O!i#xO!m$]O#k$OO#l$PO#m$PO#n$PO#o$RO([VOa#ji!Y#ji#u#ji#w#ji#y#ji#z#ji'u#ji(m#ji(t#ji(u#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O[#ji#O#ji#p#ji#q#ji#r#ji#s#ji~P#7YO[$cO#O$SO#p$SO#q$SO#r$bO#s$SO~P#7YOP$]OR#zO[$cOo$QO}#yO!P#{O!i#xO!m$]O#O$SO#k$OO#l$PO#m$PO#n$PO#o$RO#p$SO#q$SO#r$bO#s$SO#u$TO([VO(u#}Oa#ji!Y#ji#y#ji#z#ji'u#ji(m#ji(t#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#w$VO~P#:WO#w#ji~P#:WOP$]OR#zO[$cOo$QO}#yO!P#{O!i#xO!m$]O#O$SO#k$OO#l$PO#m$PO#n$PO#o$RO#p$SO#q$SO#r$bO#s$SO#u$TO([VOa#ji!Y#ji#y#ji#z#ji'u#ji(m#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#w#ji(t#ji(u#ji~P#<uO#w$VO(t#|O(u#}O~P#<uOP$]OR#zO[$cOo$QO}#yO!P#{O!i#xO!m$]O#O$SO#k$OO#l$PO#m$PO#n$PO#o$RO#p$SO#q$SO#r$bO#s$SO#u$TO#w$VO#y$XO([VO(t#|O(u#}O~Oa#ji!Y#ji#z#ji'u#ji(m#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~P#?jOP]XR]X[]Xo]X}]X!P]X!i]X!m]X#O]X#P]X#]]X#hfX#k]X#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#u]X#w]X#y]X#z]X$P]X([]X(m]X(t]X(u]X!Y]X!Z]X~O#}]X~P#BQOP$]OR#zO[;SOo:vO}#yO!P#{O!i#xO!m$]O#O:xO#k:tO#l:uO#m:uO#n:uO#o:wO#p:xO#q:xO#r;RO#s:xO#u:yO#w:{O#y:}O#z;OO([VO(m$ZO(t#|O(u#}O~O#}.sO~P#D_O#P$dO#];TO$P;TO#}(bX!Z(bX~P! YOa'`a!Y'`a'u'`a's'`a!h'`a!V'`as'`a!['`a%f'`a!d'`a~P!9mOP#jiR#ji[#jia#jio#ji!Y#ji!i#ji!m#ji#O#ji#k#ji#l#ji#m#ji#n#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji'u#ji([#ji(m#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~P#.aO!Y.wOg(kX~P!0pOg.yO~Oa$Oi!Y$Oi'u$Oi's$Oi!V$Oi!h$Ois$Oi![$Oi%f$Oi!d$Oi~P!9mO$[.zO$^.zO~O$[.{O$^.{O~O!d)dO#].|O![$bX$Y$bX$[$bX$^$bX$e$bX~O!X.}O~O![)gO$Y/PO$[)fO$^)fO$e/QO~O!Y;PO!Z(aX~P#D_O!Z/RO~O!d)dO$e(vX~O$e/TO~Ou)vO(])wO(^/WO~O!V/[O~P!&_O(t%OOk%^a}%^a!P%^a(u%^a!Y%^a#]%^a~Og%^a#}%^a~P#L{O(u%QOk%`a}%`a!P%`a(t%`a!Y%`a#]%`a~Og%`a#}%`a~P#MnO!YfX!dfX!hfX!h$xX(mfX~P!/gO!X/eO!Y(YO(O/dO!V(qP!V({P~P!1_Oo*oO!_*mO!`*fO!a*fO!i*^O#X*nO%]*iO(P!lO~Op'XO!P/fO!X+UO!Z*lO(QTO(TUO(`;cO!Z(sP~P$ XO!h/gO~P#.aO!Y/hO!d#vO(m'mO!h(zX~O!h/mO~O!P%fO!X*ZO![%gO(O%eO!h(zP~O#h/oO~O!V$xX!Y$xX!d%PX~P!/gO!Y/pO!V({X~P#.aO!d/rO~O!V/tO~Oh%WOo/xO!d#vO!i%cO(m'mO~O(O/zO~O!d+cO~Oa%lO!Y0OO'u%lO~O!Z0QO~P!5RO!`0RO!a0RO(P!lO(`!mO~O!P0TO(`!mO~O#X0UO~Og%^a!Y%^a#]%^a#}%^a~P!0pOg%`a!Y%`a#]%`a#}%`a~P!0pO(O&WOg'iX!Y'iX~O!Y*uOg(Xa~Og0_O~OR0`O}0`O!P0aO#P$dOkza(tza(uza!Yza#]za~Ogza#}za~P$&zO}){O!P)|Ok$qa(t$qa(u$qa!Y$qa#]$qa~Og$qa#}$qa~P$'sO}){O!P)|Ok$sa(t$sa(u$sa!Y$sa#]$sa~Og$sa#}$sa~P$(fO#h0dO~Og%Ra!Y%Ra#]%Ra#}%Ra~P!0pO!d#vO~O#h0gO~O!Y+WOa)Pa'u)Pa~OR#zO}#yO!P#{O!i#xO([VOP!oi[!oio!oi!Y!oi!m!oi#O!oi#k!oi#l!oi#m!oi#n!oi#o!oi#p!oi#q!oi#r!oi#s!oi#u!oi#w!oi#y!oi#z!oi(m!oi(t!oi(u!oi~Oa!oi'u!oi's!oi!V!oi!h!ois!oi![!oi%f!oi!d!oi~P$*TOh%WOo$uOp$tOq$tOw%YOy%ZO{;YO!P$|O![$}O!f<jO!i$yO#g;`O$V%_O$r;[O$t;^O$w%`O(QTO(TUO([$vO(t%OO(u%QO~Om0pO(O0oO~P$,kO!d+cOa(Wa![(Wa'u(Wa!Y(Wa~O#h0vO~O[]X!YfX!ZfX~O!Y0wO!Z)TX~O!Z0yO~O[0zO~Ob0|O(O+kO(QTO(TUO~O![%}O(O%eO`'qX!Y'qX~O!Y+pO`)Sa~O!h1PO~P!9mO[1SO~O`1TO~O#]1WO~Ok1ZO![$}O~O(`(xO!Z)QP~Oh%WOk1dO![1aO%f1cO~O[1nO!Y1lO!Z)RX~O!Z1oO~O`1qOa%lO'u%lO~O(O#nO(QTO(TUO~O#P$dO#]$eO$P$eOP(bXR(bX[(bXo(bX}(bX!P(bX!Y(bX!i(bX!m(bX#O(bX#k(bX#l(bX#m(bX#n(bX#o(bX#p(bX#q(bX#r(bX#u(bX#w(bX#y(bX#z(bX([(bX(m(bX(t(bX(u(bX~O#s1tO&W1uOa(bX~P$2RO#]$eO#s1tO&W1uO~Oa1wO~P%[Oa1yO~O&a1|OP&_iQ&_iS&_iY&_ia&_id&_ie&_im&_io&_ip&_iq&_iw&_iy&_i{&_i!P&_i!T&_i!U&_i![&_i!f&_i!i&_i!l&_i!m&_i!n&_i!p&_i!r&_i!u&_i!y&_i#t&_i$V&_i%e&_i%g&_i%i&_i%j&_i%k&_i%n&_i%p&_i%s&_i%t&_i%v&_i&S&_i&Y&_i&[&_i&^&_i&`&_i&c&_i&i&_i&o&_i&q&_i&s&_i&u&_i&w&_i's&_i(O&_i(Q&_i(T&_i([&_i(j&_i(y&_i!Z&_ib&_i&f&_i~Ob2SO!Z2QO&f2RO~P`O![XO!i2UO~O&m,sOP&hiQ&hiS&hiY&hia&hid&hie&him&hio&hip&hiq&hiw&hiy&hi{&hi!P&hi!T&hi!U&hi![&hi!f&hi!i&hi!l&hi!m&hi!n&hi!p&hi!r&hi!u&hi!y&hi#t&hi$V&hi%e&hi%g&hi%i&hi%j&hi%k&hi%n&hi%p&hi%s&hi%t&hi%v&hi&S&hi&Y&hi&[&hi&^&hi&`&hi&c&hi&i&hi&o&hi&q&hi&s&hi&u&hi&w&hi's&hi(O&hi(Q&hi(T&hi([&hi(j&hi(y&hi!Z&hi&a&hib&hi&f&hi~O!V2[O~O!Y!^a!Z!^a~P#D_Op!nO!P!oO!X2bO(`!mO!Y'TX!Z'TX~P@YO!Y-TO!Z(da~O!Y'ZX!Z'ZX~P!8uO!Y-WO!Z(sa~O!Z2iO~P'_Oa%lO#]2rO'u%lO~Oa%lO!d#vO#]2rO'u%lO~Oa%lO!d#vO!m2vO#]2rO'u%lO(m'mO~Oa%lO'u%lO~P!9mO!Y$`Os$oa~O!V'Si!Y'Si~P!9mO!Y(RO!V(ci~O!Y(YO!V(qi~O!V(ri!Y(ri~P!9mO!Y(oi!h(oia(oi'u(oi~P!9mO#]2xO!Y(oi!h(oia(oi'u(oi~O!Y(fO!h(ni~O!P%fO![%gO!y]O#f2}O#g2|O(O%eO~O!P%fO![%gO#g2|O(O%eO~Ok3UO![']O%f3TO~Oh%WOk3UO![']O%f3TO~O#h%^aP%^aR%^a[%^aa%^ao%^a!i%^a!m%^a#O%^a#k%^a#l%^a#m%^a#n%^a#o%^a#p%^a#q%^a#r%^a#s%^a#u%^a#w%^a#y%^a#z%^a'u%^a([%^a(m%^a!h%^a!V%^a's%^as%^a![%^a%f%^a!d%^a~P#L{O#h%`aP%`aR%`a[%`aa%`ao%`a!i%`a!m%`a#O%`a#k%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#u%`a#w%`a#y%`a#z%`a'u%`a([%`a(m%`a!h%`a!V%`a's%`as%`a![%`a%f%`a!d%`a~P#MnO#h%^aP%^aR%^a[%^aa%^ao%^a!Y%^a!i%^a!m%^a#O%^a#k%^a#l%^a#m%^a#n%^a#o%^a#p%^a#q%^a#r%^a#s%^a#u%^a#w%^a#y%^a#z%^a'u%^a([%^a(m%^a!h%^a!V%^a's%^a#]%^as%^a![%^a%f%^a!d%^a~P#.aO#h%`aP%`aR%`a[%`aa%`ao%`a!Y%`a!i%`a!m%`a#O%`a#k%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#u%`a#w%`a#y%`a#z%`a'u%`a([%`a(m%`a!h%`a!V%`a's%`a#]%`as%`a![%`a%f%`a!d%`a~P#.aO#hzaPza[zaazaoza!iza!mza#Oza#kza#lza#mza#nza#oza#pza#qza#rza#sza#uza#wza#yza#zza'uza([za(mza!hza!Vza'szasza![za%fza!dza~P$&zO#h$qaP$qaR$qa[$qaa$qao$qa!i$qa!m$qa#O$qa#k$qa#l$qa#m$qa#n$qa#o$qa#p$qa#q$qa#r$qa#s$qa#u$qa#w$qa#y$qa#z$qa'u$qa([$qa(m$qa!h$qa!V$qa's$qas$qa![$qa%f$qa!d$qa~P$'sO#h$saP$saR$sa[$saa$sao$sa!i$sa!m$sa#O$sa#k$sa#l$sa#m$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#u$sa#w$sa#y$sa#z$sa'u$sa([$sa(m$sa!h$sa!V$sa's$sas$sa![$sa%f$sa!d$sa~P$(fO#h%RaP%RaR%Ra[%Raa%Rao%Ra!Y%Ra!i%Ra!m%Ra#O%Ra#k%Ra#l%Ra#m%Ra#n%Ra#o%Ra#p%Ra#q%Ra#r%Ra#s%Ra#u%Ra#w%Ra#y%Ra#z%Ra'u%Ra([%Ra(m%Ra!h%Ra!V%Ra's%Ra#]%Ras%Ra![%Ra%f%Ra!d%Ra~P#.aOa#`q!Y#`q'u#`q's#`q!V#`q!h#`qs#`q![#`q%f#`q!d#`q~P!9mO!X3^O!Y'UX!h'UX~P%[O!Y.lO!h(fa~O!Y.lO!h(fa~P!9mO!V3aO~O#}!ka!Z!ka~PKPO#}!ga!Y!ga!Z!ga~P#D_O#}!oa!Z!oa~P!<TO#}!qa!Z!qa~P!>kOg'XX!Y'XX~P!+hO!Y.wOg(ka~OSfO![3uO$c3vO~O!Z3zO~Os3{O~P#.aOa$lq!Y$lq'u$lq's$lq!V$lq!h$lqs$lq![$lq%f$lq!d$lq~P!9mO!V3|O~P#.aO}){O!P)|O(u%QOk'ea(t'ea!Y'ea#]'ea~Og'ea#}'ea~P%+]O}){O!P)|Ok'ga(t'ga(u'ga!Y'ga#]'ga~Og'ga#}'ga~P%,OO(m$ZO~P#.aO!VfX!V$xX!YfX!Y$xX!d%PX#]fX~P!/gO(O;lO~P!1_OmkO(O4OO~P.iO!P%fO!X4QO![%gO(O%eO!Y'aX!h'aX~O!Y/hO!h(za~O!Y/hO!d#vO!h(za~O!Y/hO!d#vO(m'mO!h(za~Og$zi!Y$zi#]$zi#}$zi~P!0pO!X4YO!V'cX!Y'cX~P!3^O!Y/pO!V({a~O!Y/pO!V({a~P#.aO!d#vO#s4bO~Oo4eO!d#vO(m'mO~O(t%OOk%^i}%^i!P%^i(u%^i!Y%^i#]%^i~Og%^i#}%^i~P%0^O(u%QOk%`i}%`i!P%`i(t%`i!Y%`i#]%`i~Og%`i#}%`i~P%1POg(Yi!Y(Yi~P!0pO#]4lOg(Yi!Y(Yi~P!0pO!h4oO~Oa$mq!Y$mq'u$mq's$mq!V$mq!h$mqs$mq![$mq%f$mq!d$mq~P!9mO!V4sO~O!Y4tO![(|X~P#.aOa$xX![$xX%Z]X'u$xX!Y$xX~P!/gO%Z4wOalXklX}lX!PlX![lX'ulX(tlX(ulX!YlX~O%Z4wO~Ob4}O%g5OO(O+kO(QTO(TUO!Y'pX!Z'pX~O!Y0wO!Z)Ta~O[5SO~O`5TO~Oa%lO'u%lO~P#.aO![$}O~P#.aO!Y5]O#]5_O!Z)QX~O!Z5`O~Op!nO!P5aO!_!yO!`!vO!a!vO!y:lO#Q!pO#R!pO#S!pO#T!pO#U!pO#X5fO#Y!zO(P!lO(QTO(TUO(`!mO(j!sO~O!Z5eO~P%6ZOk5kO![1aO%f5jO~Oh%WOk5kO![1aO%f5jO~Ob5rO(O#nO(QTO(TUO!Y'oX!Z'oX~O!Y1lO!Z)Ra~O(QTO(TUO(`5tO~O`5xO~O#s5{O&W5|O~PMlO!h5}O~P%[Oa6PO~Oa6PO~P%[Ob2SO!Z6UO&f2RO~P`O!d6WO~O!d6YOh(ei!Y(ei!Z(ei!d(ei!i(ei~O!Y#ei!Z#ei~P#D_O#]6ZO!Y#ei!Z#ei~O!Y!^i!Z!^i~P#D_Oa%lO#]6dO'u%lO~Oa%lO!d#vO#]6dO'u%lO~O!Y(oq!h(oqa(oq'u(oq~P!9mO!Y(fO!h(nq~O!P%fO![%gO#g6kO(O%eO~O![']O%f6nO~Ok6rO![']O%f6nO~O#h'eaP'eaR'ea['eaa'eao'ea!i'ea!m'ea#O'ea#k'ea#l'ea#m'ea#n'ea#o'ea#p'ea#q'ea#r'ea#s'ea#u'ea#w'ea#y'ea#z'ea'u'ea(['ea(m'ea!h'ea!V'ea's'eas'ea!['ea%f'ea!d'ea~P%+]O#h'gaP'gaR'ga['gaa'gao'ga!i'ga!m'ga#O'ga#k'ga#l'ga#m'ga#n'ga#o'ga#p'ga#q'ga#r'ga#s'ga#u'ga#w'ga#y'ga#z'ga'u'ga(['ga(m'ga!h'ga!V'ga's'gas'ga!['ga%f'ga!d'ga~P%,OO#h$ziP$ziR$zi[$zia$zio$zi!Y$zi!i$zi!m$zi#O$zi#k$zi#l$zi#m$zi#n$zi#o$zi#p$zi#q$zi#r$zi#s$zi#u$zi#w$zi#y$zi#z$zi'u$zi([$zi(m$zi!h$zi!V$zi's$zi#]$zis$zi![$zi%f$zi!d$zi~P#.aO#h%^iP%^iR%^i[%^ia%^io%^i!i%^i!m%^i#O%^i#k%^i#l%^i#m%^i#n%^i#o%^i#p%^i#q%^i#r%^i#s%^i#u%^i#w%^i#y%^i#z%^i'u%^i([%^i(m%^i!h%^i!V%^i's%^is%^i![%^i%f%^i!d%^i~P%0^O#h%`iP%`iR%`i[%`ia%`io%`i!i%`i!m%`i#O%`i#k%`i#l%`i#m%`i#n%`i#o%`i#p%`i#q%`i#r%`i#s%`i#u%`i#w%`i#y%`i#z%`i'u%`i([%`i(m%`i!h%`i!V%`i's%`is%`i![%`i%f%`i!d%`i~P%1PO!Y'Ua!h'Ua~P!9mO!Y.lO!h(fi~O#}#`i!Y#`i!Z#`i~P#D_OP$]OR#zO}#yO!P#{O!i#xO!m$]O([VO[#jio#ji#O#ji#l#ji#m#ji#n#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji#}#ji(m#ji(t#ji(u#ji!Y#ji!Z#ji~O#k#ji~P%HpO#k:tO~P%HpOP$]OR#zO}#yO!P#{O!i#xO!m$]O#k:tO#l:uO#m:uO#n:uO([VO[#ji#O#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji#}#ji(m#ji(t#ji(u#ji!Y#ji!Z#ji~Oo#ji~P%JxOo:vO~P%JxOP$]OR#zOo:vO}#yO!P#{O!i#xO!m$]O#k:tO#l:uO#m:uO#n:uO#o:wO([VO#u#ji#w#ji#y#ji#z#ji#}#ji(m#ji(t#ji(u#ji!Y#ji!Z#ji~O[#ji#O#ji#p#ji#q#ji#r#ji#s#ji~P%MQO[;SO#O:xO#p:xO#q:xO#r;RO#s:xO~P%MQOP$]OR#zO[;SOo:vO}#yO!P#{O!i#xO!m$]O#O:xO#k:tO#l:uO#m:uO#n:uO#o:wO#p:xO#q:xO#r;RO#s:xO#u:yO([VO(u#}O#y#ji#z#ji#}#ji(m#ji(t#ji!Y#ji!Z#ji~O#w:{O~P& iO#w#ji~P& iOP$]OR#zO[;SOo:vO}#yO!P#{O!i#xO!m$]O#O:xO#k:tO#l:uO#m:uO#n:uO#o:wO#p:xO#q:xO#r;RO#s:xO#u:yO([VO#y#ji#z#ji#}#ji(m#ji!Y#ji!Z#ji~O#w#ji(t#ji(u#ji~P&#qO#w:{O(t#|O(u#}O~P&#qOP$]OR#zO[;SOo:vO}#yO!P#{O!i#xO!m$]O#O:xO#k:tO#l:uO#m:uO#n:uO#o:wO#p:xO#q:xO#r;RO#s:xO#u:yO#w:{O#y:}O([VO(t#|O(u#}O~O#z#ji#}#ji(m#ji!Y#ji!Z#ji~P&&POa#{y!Y#{y'u#{y's#{y!V#{y!h#{ys#{y![#{y%f#{y!d#{y~P!9mOk<qO}){O!P)|O(t%OO(u%QO~OP#jiR#ji[#jio#ji!i#ji!m#ji#O#ji#k#ji#l#ji#m#ji#n#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji#}#ji([#ji(m#ji!Y#ji!Z#ji~P&(tO#P$dOP(ZXR(ZX[(ZXk(ZXo(ZX}(ZX!P(ZX!i(ZX!m(ZX#O(ZX#k(ZX#l(ZX#m(ZX#n(ZX#o(ZX#p(ZX#q(ZX#r(ZX#s(ZX#u(ZX#w(ZX#y(ZX#z(ZX#}(ZX([(ZX(m(ZX(t(ZX(u(ZX!Y(ZX!Z(ZX~O#}$Oi!Y$Oi!Z$Oi~P#D_O#}!oi!Z!oi~P$*TOg'Xa!Y'Xa~P!0pO!Z7UO~O!Y'`a!Z'`a~P#D_OP]XR]X[]Xo]X}]X!P]X!V]X!Y]X!i]X!m]X#O]X#P]X#]]X#hfX#k]X#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#u]X#w]X#y]X#z]X$P]X([]X(m]X(t]X(u]X~O!d%WX#s%WX~P&-}O!d#vO(m'mO!Y'aa!h'aa~O!Y/hO!h(zi~O!Y/hO!d#vO!h(zi~Og$zq!Y$zq#]$zq#}$zq~P!0pO!V'ca!Y'ca~P#.aO!d7]O~O!Y/pO!V({i~P#.aO!Y/pO!V({i~O!V7aO~O!d#vO#s7fO~Oo7gO!d#vO(m'mO~O}){O!P)|O(u%QOk'fa(t'fa!Y'fa#]'fa~Og'fa#}'fa~P&2mO}){O!P)|Ok'ha(t'ha(u'ha!Y'ha#]'ha~Og'ha#}'ha~P&3`O!V7iO~Og$|q!Y$|q#]$|q#}$|q~P!0pOa$my!Y$my'u$my's$my!V$my!h$mys$my![$my%f$my!d$my~P!9mO!d6YO~O!Y4tO![(|a~O![']OP$SaR$Sa[$Sao$Sa}$Sa!P$Sa!Y$Sa!i$Sa!m$Sa#O$Sa#k$Sa#l$Sa#m$Sa#n$Sa#o$Sa#p$Sa#q$Sa#r$Sa#s$Sa#u$Sa#w$Sa#y$Sa#z$Sa([$Sa(m$Sa(t$Sa(u$Sa~O%f6nO~P&5iOa#`y!Y#`y'u#`y's#`y!V#`y!h#`ys#`y![#`y%f#`y!d#`y~P!9mO[7nO~Ob7pO(O+kO(QTO(TUO~O!Y0wO!Z)Ti~O`7tO~O(`(xO!Y'lX!Z'lX~O!Y5]O!Z)Qa~O!Z7}O~P%6ZOp!nO!P8OO(QTO(TUO(`!mO(j!sO~O![1aO~O![1aO%f8QO~Ok8TO![1aO%f8QO~O[8YO!Y'oa!Z'oa~O!Y1lO!Z)Ri~O!h8^O~O!h8_O~O!h8bO~O!h8bO~P%[Oa8dO~O!d8eO~O!h8fO~O!Y(ri!Z(ri~P#D_Oa%lO#]8nO'u%lO~O!Y(oy!h(oya(oy'u(oy~P!9mO!Y(fO!h(ny~O%f8qO~P&5iO![']O%f8qO~O#h$zqP$zqR$zq[$zqa$zqo$zq!Y$zq!i$zq!m$zq#O$zq#k$zq#l$zq#m$zq#n$zq#o$zq#p$zq#q$zq#r$zq#s$zq#u$zq#w$zq#y$zq#z$zq'u$zq([$zq(m$zq!h$zq!V$zq's$zq#]$zqs$zq![$zq%f$zq!d$zq~P#.aO#h'faP'faR'fa['faa'fao'fa!i'fa!m'fa#O'fa#k'fa#l'fa#m'fa#n'fa#o'fa#p'fa#q'fa#r'fa#s'fa#u'fa#w'fa#y'fa#z'fa'u'fa(['fa(m'fa!h'fa!V'fa's'fas'fa!['fa%f'fa!d'fa~P&2mO#h'haP'haR'ha['haa'hao'ha!i'ha!m'ha#O'ha#k'ha#l'ha#m'ha#n'ha#o'ha#p'ha#q'ha#r'ha#s'ha#u'ha#w'ha#y'ha#z'ha'u'ha(['ha(m'ha!h'ha!V'ha's'has'ha!['ha%f'ha!d'ha~P&3`O#h$|qP$|qR$|q[$|qa$|qo$|q!Y$|q!i$|q!m$|q#O$|q#k$|q#l$|q#m$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#u$|q#w$|q#y$|q#z$|q'u$|q([$|q(m$|q!h$|q!V$|q's$|q#]$|qs$|q![$|q%f$|q!d$|q~P#.aO!Y'Ui!h'Ui~P!9mO#}#`q!Y#`q!Z#`q~P#D_O(t%OOP%^aR%^a[%^ao%^a!i%^a!m%^a#O%^a#k%^a#l%^a#m%^a#n%^a#o%^a#p%^a#q%^a#r%^a#s%^a#u%^a#w%^a#y%^a#z%^a#}%^a([%^a(m%^a!Y%^a!Z%^a~Ok%^a}%^a!P%^a(u%^a~P&FgO(u%QOP%`aR%`a[%`ao%`a!i%`a!m%`a#O%`a#k%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#u%`a#w%`a#y%`a#z%`a#}%`a([%`a(m%`a!Y%`a!Z%`a~Ok%`a}%`a!P%`a(t%`a~P&HkOk<qO}){O!P)|O(u%QO~P&FgOk<qO}){O!P)|O(t%OO~P&HkOR0`O}0`O!P0aO#P$dOPza[zakzaoza!iza!mza#Oza#kza#lza#mza#nza#oza#pza#qza#rza#sza#uza#wza#yza#zza#}za([za(mza(tza(uza!Yza!Zza~O}){O!P)|OP$qaR$qa[$qak$qao$qa!i$qa!m$qa#O$qa#k$qa#l$qa#m$qa#n$qa#o$qa#p$qa#q$qa#r$qa#s$qa#u$qa#w$qa#y$qa#z$qa#}$qa([$qa(m$qa(t$qa(u$qa!Y$qa!Z$qa~O}){O!P)|OP$saR$sa[$sak$sao$sa!i$sa!m$sa#O$sa#k$sa#l$sa#m$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#u$sa#w$sa#y$sa#z$sa#}$sa([$sa(m$sa(t$sa(u$sa!Y$sa!Z$sa~OP%RaR%Ra[%Rao%Ra!i%Ra!m%Ra#O%Ra#k%Ra#l%Ra#m%Ra#n%Ra#o%Ra#p%Ra#q%Ra#r%Ra#s%Ra#u%Ra#w%Ra#y%Ra#z%Ra#}%Ra([%Ra(m%Ra!Y%Ra!Z%Ra~P&(tO#}$lq!Y$lq!Z$lq~P#D_O#}$mq!Y$mq!Z$mq~P#D_O!Z9OO~O#}9PO~P!0pO!d#vO!Y'ai!h'ai~O!d#vO(m'mO!Y'ai!h'ai~O!Y/hO!h(zq~O!V'ci!Y'ci~P#.aO!Y/pO!V({q~O!V9VO~P#.aO!V9VO~Og(Yy!Y(Yy~P!0pO!Y'ja!['ja~P#.aOa%Yq![%Yq'u%Yq!Y%Yq~P#.aO[9[O~O!Y0wO!Z)Tq~O#]9`O!Y'la!Z'la~O!Y5]O!Z)Qi~P#D_O![1aO%f9dO~O(QTO(TUO(`9iO~O!Y1lO!Z)Rq~O!h9lO~O!h9mO~O!h9nO~O!h9nO~P%[O#]9qO!Y#ey!Z#ey~O!Y#ey!Z#ey~P#D_O%f9vO~P&5iO![']O%f9vO~O#}#{y!Y#{y!Z#{y~P#D_OP$ziR$zi[$zio$zi!i$zi!m$zi#O$zi#k$zi#l$zi#m$zi#n$zi#o$zi#p$zi#q$zi#r$zi#s$zi#u$zi#w$zi#y$zi#z$zi#}$zi([$zi(m$zi!Y$zi!Z$zi~P&(tO}){O!P)|O(u%QOP'eaR'ea['eak'eao'ea!i'ea!m'ea#O'ea#k'ea#l'ea#m'ea#n'ea#o'ea#p'ea#q'ea#r'ea#s'ea#u'ea#w'ea#y'ea#z'ea#}'ea(['ea(m'ea(t'ea!Y'ea!Z'ea~O}){O!P)|OP'gaR'ga['gak'gao'ga!i'ga!m'ga#O'ga#k'ga#l'ga#m'ga#n'ga#o'ga#p'ga#q'ga#r'ga#s'ga#u'ga#w'ga#y'ga#z'ga#}'ga(['ga(m'ga(t'ga(u'ga!Y'ga!Z'ga~O(t%OOP%^iR%^i[%^ik%^io%^i}%^i!P%^i!i%^i!m%^i#O%^i#k%^i#l%^i#m%^i#n%^i#o%^i#p%^i#q%^i#r%^i#s%^i#u%^i#w%^i#y%^i#z%^i#}%^i([%^i(m%^i(u%^i!Y%^i!Z%^i~O(u%QOP%`iR%`i[%`ik%`io%`i}%`i!P%`i!i%`i!m%`i#O%`i#k%`i#l%`i#m%`i#n%`i#o%`i#p%`i#q%`i#r%`i#s%`i#u%`i#w%`i#y%`i#z%`i#}%`i([%`i(m%`i(t%`i!Y%`i!Z%`i~O#}$my!Y$my!Z$my~P#D_O#}#`y!Y#`y!Z#`y~P#D_O!d#vO!Y'aq!h'aq~O!Y/hO!h(zy~O!V'cq!Y'cq~P#.aO!V:PO~P#.aO!Y0wO!Z)Ty~O!Y5]O!Z)Qq~O![1aO%f:WO~O!h:ZO~O%f:`O~P&5iOP$zqR$zq[$zqo$zq!i$zq!m$zq#O$zq#k$zq#l$zq#m$zq#n$zq#o$zq#p$zq#q$zq#r$zq#s$zq#u$zq#w$zq#y$zq#z$zq#}$zq([$zq(m$zq!Y$zq!Z$zq~P&(tO}){O!P)|O(u%QOP'faR'fa['fak'fao'fa!i'fa!m'fa#O'fa#k'fa#l'fa#m'fa#n'fa#o'fa#p'fa#q'fa#r'fa#s'fa#u'fa#w'fa#y'fa#z'fa#}'fa(['fa(m'fa(t'fa!Y'fa!Z'fa~O}){O!P)|OP'haR'ha['hak'hao'ha!i'ha!m'ha#O'ha#k'ha#l'ha#m'ha#n'ha#o'ha#p'ha#q'ha#r'ha#s'ha#u'ha#w'ha#y'ha#z'ha#}'ha(['ha(m'ha(t'ha(u'ha!Y'ha!Z'ha~OP$|qR$|q[$|qo$|q!i$|q!m$|q#O$|q#k$|q#l$|q#m$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#u$|q#w$|q#y$|q#z$|q#}$|q([$|q(m$|q!Y$|q!Z$|q~P&(tOg%b!Z!Y%b!Z#]%b!Z#}%b!Z~P!0pO!Y'lq!Z'lq~P#D_O!Y#e!Z!Z#e!Z~P#D_O#h%b!ZP%b!ZR%b!Z[%b!Za%b!Zo%b!Z!Y%b!Z!i%b!Z!m%b!Z#O%b!Z#k%b!Z#l%b!Z#m%b!Z#n%b!Z#o%b!Z#p%b!Z#q%b!Z#r%b!Z#s%b!Z#u%b!Z#w%b!Z#y%b!Z#z%b!Z'u%b!Z([%b!Z(m%b!Z!h%b!Z!V%b!Z's%b!Z#]%b!Zs%b!Z![%b!Z%f%b!Z!d%b!Z~P#.aOP%b!ZR%b!Z[%b!Zo%b!Z!i%b!Z!m%b!Z#O%b!Z#k%b!Z#l%b!Z#m%b!Z#n%b!Z#o%b!Z#p%b!Z#q%b!Z#r%b!Z#s%b!Z#u%b!Z#w%b!Z#y%b!Z#z%b!Z#}%b!Z([%b!Z(m%b!Z!Y%b!Z!Z%b!Z~P&(tOs(aX~P1qO}%pO~P!(oO(P!lO~P!(oO!VfX!YfX#]fX~P&-}OP]XR]X[]Xo]X}]X!P]X!Y]X!YfX!i]X!m]X#O]X#P]X#]]X#]fX#hfX#k]X#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#u]X#w]X#y]X#z]X$P]X([]X(m]X(t]X(u]X~O!dfX!h]X!hfX(mfX~P'CvOP:kOQ:kOSfOd<fOe!iOmkOo:kOpkOqkOwkOy:kO{:kO!PWO!TkO!UkO![XO!f:nO!iZO!l:kO!m:kO!n:kO!p:oO!r:rO!u!hO$V!kO(O)YO(QTO(TUO([VO(j[O(y<dO~O!Y;PO!Z$oa~Oh%WOm%XOo$uOp$tOq$tOw%YOy%ZO{;ZO!P$|O![$}O!f<kO!i$yO#g;aO$V%_O$r;]O$t;_O$w%`O(O(rO(QTO(TUO([$vO(t%OO(u%QO~O#t)`O~P'HlOo!bX(m!bX~P# ZO!Z]X!ZfX~P'CvO!VfX!V$xX!YfX!Y$xX#]fX~P!/gO#h:sO~O!d#vO#h:sO~O#];TO~O#s:xO~O#];dO!Y(rX!Z(rX~O#];TO!Y(pX!Z(pX~O#h;eO~Og;gO~P!0pO#h;mO~O#h;nO~O!d#vO#h;oO~O!d#vO#h;eO~O#};pO~P#D_O#h;qO~O#h;rO~O#h;wO~O#h;xO~O#h;yO~O#h;zO~O#};{O~P!0pO#};|O~P!0pO#P#Q#R#T#U#X#f#g#r(y$r$t$w%Z%e%f%g%n%p%s%t%v%x~'yT#l!U'w(P#mp#k#no}'x$['x(O$^(`~",goto:"$2y)XPPPPPP)YPP)]P)nP+O/PPPPP5wPP6_PP<U?kP@OP@OPPP@OPBOP@OP@OP@OPBSPBXPBvPGoPPPGsPPPPGsJuPPPJ{KwPGsPGsPPNVGsPPPGsPGsP!!^GsP!%s!&x!'RP!'u!'y!'u!+VPPPPPPP!+v!&xPP!,W!-QP!/tGsGs!/y!3U!7l!7l!;jPPP!;rGsPPPPPPPPPPP!?QP!@_PPGs!ApPGsPGsGsGsGsGsPGs!CSP!F]P!IbP!If!Ip!It!ItP!FYP!Ix!IxP!L}P!MRGsGs!MX#!]BS@OP@OP@O@OP##i@O@O#%s@O#(c@O#*g@O@O#+V#-c#-c#-h#-q#-c#-zP#-cP@O#.d@O#2T@O@O5wPPP#5zPPP#6e#6eP#6eP#6{#6ePP#7RP#6xP#6x#7f#6x#8Q#8W5t)]#8Z)]P#8b#8b#8bP)]P)]P)]P)]PP)]P#8h#8kP#8k)]P#8oP#8rP)]P)]P)]P)]P)]P)])]PP#8x#9O#9Z#9a#9g#9m#9s#:R#:X#:c#:i#:s#:y#;Z#;a#<R#<e#<k#<q#=P#=f#?T#?c#?j#AO#A^#Bx#CW#C^#Cd#Cj#Ct#Cz#DQ#D[#Dn#DtPPPPPPPPPP#DzPPPPPPP#Eo#Hv#JV#J^#JfPPP$ lP$ u$$m$+V$+Y$+]$+x$+{$,S$,[P$,b$,eP$-R$-V$-}$/]$/b$/xPP$/}$0T$0XP$0[$0`$0d$1Y$1q$2Y$2^$2a$2d$2j$2m$2q$2uR!|RoqOXst!Z#d%k&o&q&r&t,k,p1|2PY!vQ']-]1a5dQ%rvQ%zyQ&R|Q&g!VS'T!e-TQ'c!iS'i!r!yU*f$}*W*kQ+i%{Q+v&TQ,[&aQ-Z'[Q-e'dQ-m'jQ0R*mQ1k,]R;b:o%QdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Y$`$e%k%r&P&h&k&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)z+R+V,h,k,p-a-i-w-}.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3^5a5k5{5|6P6d8O8T8d8nS#q]:l!r)[$[$n'U)o,|-P.}2b3u5_6Z9`9q:k:n:o:r:s:t:u:v:w:x:y:z:{:|:};O;P;T;b;d;e;g;o;p;y;z<gU*y%[;Y;ZQ+n%}Q,^&dQ,e&lQ0m+aQ0q+cQ0|+oQ1s,cQ3Q._Q4}0wQ5r1lQ6p3UQ7p5OR8t6r'OkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$`$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)z+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5_5a5k5{5|6P6Z6d6r8O8T8d8n9`9q:k:n:o:r:s:t:u:v:w:x:y:z:{:|:};O;P;T;b;d;e;g;o;p;y;z<gt!nQ!r!v!y!z'T'[']'i'j'k-T-Z-]-m1a5d5f$z$ti#v$b$c$d$y$|%P%R%]%^%b)v)|*O*Q*S*V*]*c*s*t+`+c+z+}.^.w/]/e/o/p/r0V0X0d1W1Z1c3T3}4Y4b4l4t4w5j6n7]7f8Q8q9P9d9v:W:`;R;S;U;V;W;X;[;];^;_;`;a;h;i;j;k;m;n;q;r;s;t;u;v;w;x;{;|<d<l<m<p<qQ&U|Q'R!eU'X%g*W-WQ+n%}Q,^&dQ0c*|Q0|+oQ1R+uQ1r,bQ1s,cQ4}0wQ5W1TQ5r1lQ5u1nQ5v1qQ7p5OQ7s5TQ8]5xQ9_7tR9j8YrnOXst!V!Z#d%k&f&o&q&r&t,k,p1|2PR,`&h&x^OPXYstuvwz!Z!`!g!j!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$`$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(R(X(`(t(v(z)o)z+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5_5a5k5{5|6P6Z6d6r8O8T8d8n9`9q:k:n:o:r:s:t:u:v:w:x:y:z:{:|:};O;P;T;b;d;e;g;o;p;y;z<f<g[#]WZ#W#Z'U(P!b%hm#h#i#l$y%c%f(Y(d(e(f*V*Z*^+T+U+W,g,}-{.R.S.T.V/e/h2U2|2}4Q6Y6kQ%uxQ%yyS&O|&TQ&[!TQ'`!hQ'b!iQ(m#sS+h%z%{Q+l%}Q,V&_Q,Z&aS-d'c'dQ.a(nQ0u+iQ0{+oQ0}+pQ1Q+tQ1f,WS1j,[,]Q2n-eQ4|0wQ5Q0zQ5V1SQ5q1kQ7o5OQ7r5SQ9Z7nR:R9[!O${i$d%P%R%]%^%b*O*Q*]*s*t.w/o0V0X0d3}4l9P<d<l<m!S%wy!i!u%y%z%{'S'b'c'd'h'r*e+h+i-Q-d-e-l/y0u2g2n2u4dQ+b%uQ+{&XQ,O&YQ,Y&aQ.`(mQ1e,VU1i,Z,[,]Q3V.aQ5l1fS5p1j1kQ8X5q#[<h#v$b$c$y$|)v)|*S*V*c+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4t4w5j6n7]7f8Q8q9d9v:W:`;U;W;[;^;`;h;j;m;q;s;u;w;{<p<qo<i;R;S;V;X;];_;a;i;k;n;r;t;v;x;|W%Ui%W*u<dS&X!Q&fQ&Y!RQ&Z!SR+y&V${%Ti#v$b$c$d$y$|%P%R%]%^%b)v)|*O*Q*S*V*]*c*s*t+`+c+z+}.^.w/]/e/o/p/r0V0X0d1W1Z1c3T3}4Y4b4l4t4w5j6n7]7f8Q8q9P9d9v:W:`;R;S;U;V;W;X;[;];^;_;`;a;h;i;j;k;m;n;q;r;s;t;u;v;w;x;{;|<d<l<m<p<qT)w$v)xV*y%[;Y;ZW'X!e%g*W-WS(y#y#zQ+]%pQ+s&QS.Y(i(jQ1[,PQ4m0`R7x5]'OkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$`$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)z+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5_5a5k5{5|6P6Z6d6r8O8T8d8n9`9q:k:n:o:r:s:t:u:v:w:x:y:z:{:|:};O;P;T;b;d;e;g;o;p;y;z<g$i$_c#Y#e%o%q%s(O(U(p(u(})O)P)Q)R)S)T)U)V)W)X)Z)])c)m+^+r-R-p-u-z-|.k.n.r.t.u.v/X0e2]2`2p2w3]3b3c3d3e3f3g3h3i3j3k3l3m3n3q3r3y4q4z6]6c6h6w6x7R7S7z8h8l8v8|8}9s:T:[:m<ZT#TV#U'PkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$`$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)z+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5_5a5k5{5|6P6Z6d6r8O8T8d8n9`9q:k:n:o:r:s:t:u:v:w:x:y:z:{:|:};O;P;T;b;d;e;g;o;p;y;z<gQ'V!eR2c-Tv!nQ!e!r!v!y!z'T'[']'i'j'k-T-Z-]-m1a5d5fU*e$}*W*kS/y*f*mQ0S*nQ1^,RQ4d0RR4g0UnqOXst!Z#d%k&o&q&r&t,k,p1|2PQ&v!^Q's!xS(o#u:sQ+f%xQ,T&[Q,U&^Q-b'aQ-o'lS.j(t;eS0f+R;oQ0s+gQ1`,SQ2T,rQ2V,sQ2_-OQ2l-cQ2o-gS4r0g;yQ4x0tS4{0v;zQ6[2aQ6`2mQ6e2tQ7m4yQ8i6^Q8j6aQ8m6fR9p8f$d$^c#Y#e%q%s(O(U(p(u(})O)P)Q)R)S)T)U)V)W)X)Z)])c)m+^+r-R-p-u-z-|.k.n.r.u.v/X0e2]2`2p2w3]3b3c3d3e3f3g3h3i3j3k3l3m3n3q3r3y4q4z6]6c6h6w6x7R7S7z8h8l8v8|8}9s:T:[:m<ZS(k#p'fQ({#zS+[%o.tS.Z(j(lR3O.['OkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$`$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)z+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5_5a5k5{5|6P6Z6d6r8O8T8d8n9`9q:k:n:o:r:s:t:u:v:w:x:y:z:{:|:};O;P;T;b;d;e;g;o;p;y;z<gS#q]:lQ&q!XQ&r!YQ&t![Q&u!]R1{,nQ'^!hQ+_%uQ-`'`S.](m+bQ2j-_W3S.`.a0l0nQ6_2kW6l3P3R3V4vU8p6m6o6qU9u8r8s8uS:^9t9wQ:f:_R:i:gU!wQ']-]T5b1a5d!Q_OXZ`st!V!Z#d#h%c%k&f&h&o&q&r&t(f,k,p.S1|2P]!pQ!r']-]1a5dT#q]:l%[{OPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Y$`$e%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)z+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5a5k5{5|6P6d6r8O8T8d8nS(y#y#zS.Y(i(j!s<Q$[$n'U)o,|-P.}2b3u5_6Z9`9q:k:n:o:r:s:t:u:v:w:x:y:z:{:|:};O;P;T;b;d;e;g;o;p;y;z<gU$fd)[,eS(l#p'fU*r%S(s3pU0b*x.f6}Q4v0mQ6m3QQ8s6pR9w8tm!tQ!r!v!y!z']'i'j'k-]-m1a5d5fQ'q!uS(b#g1vS-k'h'tQ/k*YQ/w*eQ2v-nQ4U/lS4_/x0SQ7X4PS7d4e4gQ9R7YR9Y7gQ#wbQ'p!uS(a#g1vS(c#m+QQ+S%dQ+d%vQ+j%|U-j'h'q'tQ.O(bQ/j*YQ/v*eQ/|*hQ0r+eQ1g,XS2s-k-nQ2{.WS4T/k/lS4^/w0SQ4a/{Q4c/}Q5n1hQ6g2vQ7W4PQ7[4US7`4_4gQ7e4fQ8V5oS9Q7X7YQ9U7aQ9W7dQ9g8WQ9}9RQ:O9VQ:Q9YQ:Y9hQ:b:PQ<T<OQ<`<XR<a<YV!wQ']-]%[aOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Y$`$e%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)z+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5a5k5{5|6P6d6r8O8T8d8nS#wz!j!r;}$[$n'U)o,|-P.}2b3u5_6Z9`9q:k:n:o:r:s:t:u:v:w:x:y:z:{:|:};O;P;T;b;d;e;g;o;p;y;z<gR<T<f%[bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Y$`$e%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)z+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5a5k5{5|6P6d6r8O8T8d8nQ%dj!S%vy!i!u%y%z%{'S'b'c'd'h'r*e+h+i-Q-d-e-l/y0u2g2n2u4dS%|z!jQ+e%wQ,X&aW1h,Y,Z,[,]U5o1i1j1kS8W5p5qQ9h8X!r<O$[$n'U)o,|-P.}2b3u5_6Z9`9q:k:n:o:r:s:t:u:v:w:x:y:z:{:|:};O;P;T;b;d;e;g;o;p;y;z<gQ<X<eR<Y<f%OeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Y$`$e%k%r&P&h&k&o&q&r&t&x'Q'_'o(R(X(`(t(v(z)z+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5a5k5{5|6P6d6r8O8T8d8nY#bWZ#W#Z(P!b%hm#h#i#l$y%c%f(Y(d(e(f*V*Z*^+T+U+W,g,}-{.R.S.T.V/e/h2U2|2}4Q6Y6kQ,f&l!p<P$[$n)o,|-P.}2b3u5_6Z9`9q:k:n:o:r:s:t:u:v:w:x:y:z:{:|:};O;P;T;b;d;e;g;o;p;y;z<gR<S'UU'Y!e%g*WR2e-W%QdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Y$`$e%k%r&P&h&k&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)z+R+V,h,k,p-a-i-w-}.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3^5a5k5{5|6P6d8O8T8d8n!r)[$[$n'U)o,|-P.}2b3u5_6Z9`9q:k:n:o:r:s:t:u:v:w:x:y:z:{:|:};O;P;T;b;d;e;g;o;p;y;z<gQ,e&lQ0m+aQ3Q._Q6p3UR8t6r!b$Uc#Y%o(O(U(p(u)W)X)])c+r-p-u-z-|.k.n/X0e2p2w3]3n4q4z6c6h6w8l9s:m!P:z)Z)m-R.t2]2`3b3l3m3q3y6]6x7R7S7z8h8v8|8}:T:[<Z!f$Wc#Y%o(O(U(p(u)T)U)W)X)])c+r-p-u-z-|.k.n/X0e2p2w3]3n4q4z6c6h6w8l9s:m!T:|)Z)m-R.t2]2`3b3i3j3l3m3q3y6]6x7R7S7z8h8v8|8}:T:[<Z!^$[c#Y%o(O(U(p(u)])c+r-p-u-z-|.k.n/X0e2p2w3]3n4q4z6c6h6w8l9s:mQ3}/cz<g)Z)m-R.t2]2`3b3q3y6]6x7R7S7z8h8v8|8}:T:[<ZQ<l<nR<m<o'OkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$`$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)z+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5_5a5k5{5|6P6Z6d6r8O8T8d8n9`9q:k:n:o:r:s:t:u:v:w:x:y:z:{:|:};O;P;T;b;d;e;g;o;p;y;z<gS$oh$pR3v.|'VgOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$`$e$n$p%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)z+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.|.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5_5a5k5{5|6P6Z6d6r8O8T8d8n9`9q:k:n:o:r:s:t:u:v:w:x:y:z:{:|:};O;P;T;b;d;e;g;o;p;y;z<gT$kf$qQ$ifS)f$l)jR)r$qT$jf$qT)h$l)j'VhOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$`$e$n$p%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)z+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.|.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5_5a5k5{5|6P6Z6d6r8O8T8d8n9`9q:k:n:o:r:s:t:u:v:w:x:y:z:{:|:};O;P;T;b;d;e;g;o;p;y;z<gT$oh$pQ$rhR)q$p%[jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Y$`$e%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)z+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5a5k5{5|6P6d6r8O8T8d8n!s<e$[$n'U)o,|-P.}2b3u5_6Z9`9q:k:n:o:r:s:t:u:v:w:x:y:z:{:|:};O;P;T;b;d;e;g;o;p;y;z<g#elOPXZst!Z!`!o#S#d#o#{$n%k&h&k&l&o&q&r&t&x'Q'_(z)o+V+a,h,k,p-a._.}/f0a1d1t1u1w1y1|2P2R3U3u5a5k5{5|6P6r8O8T8d!O%Si$d%P%R%]%^%b*O*Q*]*s*t.w/o0V0X0d3}4l9P<d<l<m#[(s#v$b$c$y$|)v)|*S*V*c+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4t4w5j6n7]7f8Q8q9d9v:W:`;U;W;[;^;`;h;j;m;q;s;u;w;{<p<qQ*}%`Q/Y){o3p;R;S;V;X;];_;a;i;k;n;r;t;v;x;|!O$zi$d%P%R%]%^%b*O*Q*]*s*t.w/o0V0X0d3}4l9P<d<l<mQ*_${U*h$}*W*kQ+O%aQ/}*i#[<V#v$b$c$y$|)v)|*S*V*c+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4t4w5j6n7]7f8Q8q9d9v:W:`;U;W;[;^;`;h;j;m;q;s;u;w;{<p<qn<W;R;S;V;X;];_;a;i;k;n;r;t;v;x;|Q<[<hQ<]<iQ<^<jR<_<k!O%Si$d%P%R%]%^%b*O*Q*]*s*t.w/o0V0X0d3}4l9P<d<l<m#[(s#v$b$c$y$|)v)|*S*V*c+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4t4w5j6n7]7f8Q8q9d9v:W:`;U;W;[;^;`;h;j;m;q;s;u;w;{<p<qo3p;R;S;V;X;];_;a;i;k;n;r;t;v;x;|noOXst!Z#d%k&o&q&r&t,k,p1|2PS*b$|*VQ,y&{Q,z&}R4X/p$z%Ti#v$b$c$d$y$|%P%R%]%^%b)v)|*O*Q*S*V*]*c*s*t+`+c+z+}.^.w/]/e/o/p/r0V0X0d1W1Z1c3T3}4Y4b4l4t4w5j6n7]7f8Q8q9P9d9v:W:`;R;S;U;V;W;X;[;];^;_;`;a;h;i;j;k;m;n;q;r;s;t;u;v;w;x;{;|<d<l<m<p<qQ+|&YQ1Y,OQ5Z1XR7w5[V*j$}*W*kU*j$}*W*kT5c1a5dU/{*g/f5aT4f0T8OQ+d%vQ/|*hQ0r+eQ1g,XQ5n1hQ8V5oQ9g8WR:Y9h!O%Pi$d%P%R%]%^%b*O*Q*]*s*t.w/o0V0X0d3}4l9P<d<l<mr*O$w)a*P*q+P/n0Z0[3s4V4p7V7h9|<U<b<cS0V*p0W#[;U#v$b$c$y$|)v)|*S*V*c+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4t4w5j6n7]7f8Q8q9d9v:W:`;U;W;[;^;`;h;j;m;q;s;u;w;{<p<qn;V;R;S;V;X;];_;a;i;k;n;r;t;v;x;|!^;h(q)_*X*a.b.e.i/U/Z/c/s0k1V1X3Y4W4[5Y5[6s6v7^7b7j7l9T9X:a<n<o`;i3o6y6|7Q8w9x9{:jS;s.d3ZT;t6{8z!O%Ri$d%P%R%]%^%b*O*Q*]*s*t.w/o0V0X0d3}4l9P<d<l<mv*Q$w)a*R*p+P/_/n0Z0[3s4V4h4p7V7h9|<U<b<cS0X*q0Y#[;W#v$b$c$y$|)v)|*S*V*c+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4t4w5j6n7]7f8Q8q9d9v:W:`;U;W;[;^;`;h;j;m;q;s;u;w;{<p<qn;X;R;S;V;X;];_;a;i;k;n;r;t;v;x;|!b;j(q)_*X*a.c.d.i/U/Z/c/s0k1V1X3W3Y4W4[5Y5[6s6t6v7^7b7j7l9T9X:a<n<od;k3o6z6{7Q8w8x9x9y9{:jS;u.e3[T;v6|8{rnOXst!V!Z#d%k&f&o&q&r&t,k,p1|2PQ&c!UR,h&lrnOXst!V!Z#d%k&f&o&q&r&t,k,p1|2PR&c!UQ,Q&ZR1U+ysnOXst!V!Z#d%k&f&o&q&r&t,k,p1|2PQ1b,VS5i1e1fU8P5g5h5lS9c8R8SS:U9b9eQ:c:VR:h:dQ&j!VR,a&fR5u1nS&O|&TR0}+pQ&o!WR,k&pR,q&uT1},p2PR,u&vQ,t&vR2W,uQ'v!{R-q'vSsOtQ#dXT%ns#dQ#OTR'x#OQ#RUR'z#RQ)x$vR/V)xQ#UVR'|#UQ#XWU(S#X(T-xQ(T#YR-x(UQ-U'VR2d-UQ.m(uS3_.m3`R3`.nQ-]']R2h-]Y!rQ']-]1a5dR'g!rQ.x)aR3t.xU#_W%f*VU(Z#_([-yQ([#`R-y(VQ-X'YR2f-Xt`OXst!V!Z#d%k&f&h&o&q&r&t,k,p1|2PS#hZ%cU#r`#h.SR.S(fQ(g#jQ.P(cW.X(g.P2y6iQ2y.QR6i2zQ)j$lR/O)jQ$phR)p$pQ$acU)^$a-t;QQ-t:mR;Q)mQ/i*YW4R/i4S7Z9SU4S/j/k/lS7Z4T4UR9S7[$X)}$w(q)_)a*X*a*p*q*z*{+P.d.e.g.h.i/U/Z/_/a/c/n/s0Z0[0k1V1X3W3X3Y3o3s4V4W4[4h4j4p5Y5[6s6t6u6v6{6|7O7P7Q7V7^7b7h7j7l8w8x8y9T9X9x9y9z9{9|:a:j<U<b<c<n<oQ/q*aU4Z/q4]7_Q4]/sR7_4[S*k$}*WR0P*kr*P$w)a*p*q+P/n0Z0[3s4V4p7V7h9|<U<b<c!^.b(q)_*X*a.d.e.i/U/Z/c/s0k1V1X3Y4W4[5Y5[6s6v7^7b7j7l9T9X:a<n<oU/`*P.b6ya6y3o6{6|7Q8w9x9{:jQ0W*pQ3Z.dU4i0W3Z8zR8z6{v*R$w)a*p*q+P/_/n0Z0[3s4V4h4p7V7h9|<U<b<c!b.c(q)_*X*a.d.e.i/U/Z/c/s0k1V1X3W3Y4W4[5Y5[6s6t6v7^7b7j7l9T9X:a<n<oU/b*R.c6ze6z3o6{6|7Q8w8x9x9y9{:jQ0Y*qQ3[.eU4k0Y3[8{R8{6|Q*v%VR0^*vQ4u0kR7k4uQ+X%iR0j+XQ5^1[S7y5^9aR9a7zQ,S&[R1_,SQ5d1aR7|5dQ1m,^S5s1m8ZR8Z5uQ0x+lW5P0x5R7q9]Q5R0{Q7q5QR9]7rQ+q&OR1O+qQ2P,pR6T2PYrOXst#dQ&s!ZQ+Z%kQ,j&oQ,l&qQ,m&rQ,o&tQ1z,kS1},p2PR6S1|Q%mpQ&w!_Q&z!aQ&|!bQ'O!cQ'n!uQ+Y%jQ+f%xQ+x&UQ,`&jQ,w&yW-h'h'p'q'tQ-o'lQ0O*jQ0s+gS1p,a,dQ2X,vQ2Y,yQ2Z,zQ2o-gW2q-j-k-n-pQ4x0tQ5U1RQ5X1VQ5m1gQ5w1rQ6R1{U6b2p2s2vQ6e2tQ7m4yQ7u5WQ7v5YQ7{5cQ8U5nQ8[5vS8k6c6gQ8m6fQ9^7sQ9f8VQ9k8]Q9r8lQ:S9_Q:X9gQ:]9sR:e:YQ%xyQ'a!iQ'l!uU+g%y%z%{Q-O'SU-c'b'c'dS-g'h'rQ/u*eS0t+h+iQ2a-QS2m-d-eQ2t-lQ4`/yQ4y0uQ6^2gQ6a2nQ6f2uR7c4dS$xi<dR*w%WU%Vi%W<dR0]*uQ$wiS(q#v+cS)_$b$cQ)a$dQ*X$yS*a$|*VQ*p%PQ*q%RQ*z%]Q*{%^Q+P%bQ.d;UQ.e;WQ.g;[Q.h;^Q.i;`Q/U)vS/Z)|/]Q/_*OQ/a*QQ/c*SQ/n*]S/s*c/eQ0Z*sQ0[*th0k+`.^1c3T5j6n8Q8q9d9v:W:`Q1V+zQ1X+}Q3W;hQ3X;jQ3Y;mS3o;R;SQ3s.wQ4V/oQ4W/pQ4[/rQ4h0VQ4j0XQ4p0dQ5Y1WQ5[1ZQ6s;qQ6t;sQ6u;uQ6v;wQ6{;VQ6|;XQ7O;]Q7P;_Q7Q;aQ7V3}Q7^4YQ7b4bQ7h4lQ7j4tQ7l4wQ8w;nQ8x;iQ8y;kQ9T7]Q9X7fQ9x;rQ9y;tQ9z;vQ9{;xQ9|9PQ:a;{Q:j;|Q<U<dQ<b<lQ<c<mQ<n<pR<o<qQ*x%[Q.f;YR6};ZnpOXst!Z#d%k&o&q&r&t,k,p1|2PQ!fPS#fZ#oQ&y!`U'e!o5a8OQ'{#SQ(|#{Q)n$nS,d&h&kQ,i&lQ,v&xQ,{'QQ-_'_Q.p(zQ/S)oS0h+V/fQ0n+aQ1x,hQ2k-aQ3R._Q3x.}Q4n0aQ5h1dQ5y1tQ5z1uQ6O1wQ6Q1yQ6V2RQ6q3UQ7T3uQ8S5kQ8`5{Q8a5|Q8c6PQ8u6rQ9e8TR9o8d#YcOPXZst!Z!`!o#d#o#{%k&h&k&l&o&q&r&t&x'Q'_(z+V+a,h,k,p-a._/f0a1d1t1u1w1y1|2P2R3U5a5k5{5|6P6r8O8T8dQ#YWQ#eYQ%ouQ%qvS%sw!gS(O#W(RQ(U#ZQ(p#uQ(u#xQ(}$OQ)O$PQ)P$QQ)Q$RQ)R$SQ)S$TQ)T$UQ)U$VQ)V$WQ)W$XQ)X$YQ)Z$[Q)]$`Q)c$eW)m$n)o.}3uQ+^%rQ+r&PS-R'U2bQ-p'oS-u(P-wQ-z(XQ-|(`Q.k(tQ.n(vQ.r:kQ.t:nQ.u:oQ.v:rQ/X)zQ0e+RQ2],|Q2`-PQ2p-iQ2w-}Q3].lQ3b:sQ3c:tQ3d:uQ3e:vQ3f:wQ3g:xQ3h:yQ3i:zQ3j:{Q3k:|Q3l:}Q3m;OQ3n.sQ3q;TQ3r;bQ3y;PQ4q0gQ4z0vQ6];dQ6c2rQ6h2xQ6w3^Q6x;eQ7R;gQ7S;oQ7z5_Q8h6ZQ8l6dQ8v;pQ8|;yQ8};zQ9s8nQ:T9`Q:[9qQ:m#SR<Z<gR#[WR'W!el!tQ!r!v!y!z']'i'j'k-]-m1a5d5fS'S!e-TS-Q'T'[R2g-ZR(w#xQ!fQT-[']-]]!qQ!r']-]1a5dQ#p]R'f:lR)b$dY!uQ']-]1a5dQ'h!rS'r!v!yS't!z5fS-l'i'jQ-n'kR2u-mT#kZ%cS#jZ%cS%im,gU(c#h#i#lS.Q(d(eQ.U(fQ0i+WQ2z.RU2{.S.T.VS6j2|2}R8o6kd#^W#W#Z%f(P(Y*V+T-{/er#gZm#h#i#l%c(d(e(f+W.R.S.T.V2|2}6kS*Y$y*^Q/l*ZQ1v,gQ2^,}Q4P/hQ6X2UQ7Y4QQ8g6YT<R'U+UV#aW%f*VU#`W%f*VS(Q#W(YU(V#Z+T/eS-S'U+UT-v(P-{V'Z!e%g*WQ$lfR)t$qT)i$l)jR3w.|T*[$y*^T*d$|*VQ0l+`Q3P.^Q5g1cQ6o3TQ8R5jQ8r6nQ9b8QQ9t8qQ:V9dQ:_9vQ:d:WR:g:`nqOXst!Z#d%k&o&q&r&t,k,p1|2PQ&i!VR,`&ftmOXst!U!V!Z#d%k&f&o&q&r&t,k,p1|2PR,g&lT%jm,gR1],PR,_&dQ&S|R+w&TR+m%}T&m!W&pT&n!W&pT2O,p2P",nodeNames:"\u26A0 ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:376,context:QYr,nodeProps:[["isolate",-8,5,6,14,34,36,48,50,52,""],["group",-26,9,17,19,65,204,208,212,213,215,218,221,231,233,239,241,243,245,248,254,260,262,264,266,268,270,271,"Statement",-34,13,14,29,32,33,39,48,51,52,54,59,67,69,73,77,79,81,82,107,108,117,118,135,138,140,141,142,143,144,146,147,166,167,169,"Expression",-23,28,30,34,38,40,42,171,173,175,176,178,179,180,182,183,184,186,187,188,198,200,202,203,"Type",-3,85,100,106,"ClassItem"],["openedBy",23,"<",35,"InterpolationStart",53,"[",57,"{",70,"(",159,"JSXStartCloseTag"],["closedBy",24,">",37,"InterpolationEnd",47,"]",58,"}",71,")",164,"JSXEndTag"]],propSources:[XYr],skippedNodes:[0,5,6,274],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$h&j(U!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(U!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$h&j(RpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(RpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$h&j(Rp(U!b'w0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(S#S$h&j'x0/lO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c07[.n_$h&j(Rp(U!b'x0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)3p/x`$h&j!m),Q(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW1V`#u(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW2d_#u(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At3l_(Q':f$h&j(U!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$h&j(U!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$h&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$c`$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$c``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$c`$h&j(U!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(U!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$c`(U!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$h&j(Rp(U!bOY%ZYZ&cZq%Zqr<Srs&}st%ZtuCruw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr(r<__WS$h&j(Rp(U!bOY<SYZ&cZr<Srs=^sw<Swx@nx!^<S!^!_Bm!_#O<S#O#P>`#P#o<S#o#pBm#p;'S<S;'S;=`Cl<%lO<S(Q=g]WS$h&j(U!bOY=^YZ&cZw=^wx>`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXWS$h&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSWSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS(U!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]WS$h&j(RpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWWS(RpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYWS(Rp(U!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l<S%9[C}i$h&j(j%1l(Rp(U!bOY%ZYZ&cZr%Zrs&}st%ZtuCruw%Zwx(rx!Q%Z!Q![Cr![!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr%9[EoP;=`<%lCr07[FRk$h&j(Rp(U!b$[#t(O,2j(`$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr+dHRk$h&j(Rp(U!b$[#tOY%ZYZ&cZr%Zrs&}st%ZtuGvuw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Gv![!^%Z!^!_*g!_!c%Z!c!}Gv!}#O%Z#O#P&c#P#R%Z#R#SGv#S#T%Z#T#oGv#o#p*g#p$g%Z$g;'SGv;'S;=`Iv<%lOGv+dIyP;=`<%lGv07[JPP;=`<%lEr(KWJ_`$h&j(Rp(U!b#m(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWKl_$h&j$P(Ch(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,#xLva(u+JY$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sv%ZvwM{wx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWNW`$h&j#y(Ch(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At! c_(T';W$h&j(RpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b'l!!i_$h&j(RpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b&z!#mX$h&jOw!#hwx6cx!^!#h!^!_!$Y!_#o!#h#o#p!$Y#p;'S!#h;'S;=`!$r<%lO!#h`!$]TOw!$Ywx7]x;'S!$Y;'S;=`!$l<%lO!$Y`!$oP;=`<%l!$Y&z!$uP;=`<%l!#h'l!%R]$c`$h&j(RpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r!Q!&PZ(RpOY!%zYZ!$YZr!%zrs!$Ysw!%zwx!&rx#O!%z#O#P!$Y#P;'S!%z;'S;=`!']<%lO!%z!Q!&yU$c`(RpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)r!Q!'`P;=`<%l!%z'l!'fP;=`<%l!!b/5|!'t_!i/.^$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#&U!)O_!h!Lf$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z-!n!*[b$h&j(Rp(U!b(P%&f#n(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!+d{!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW!+o`$h&j(Rp(U!b#k(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;x!,|`$h&j(Rp(U!bo+4YOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,$U!.Z_!Y+Jf$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!/ec$h&j(Rp(U!b}.2^OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!0p!P!Q%Z!Q![!3Y![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!0ya$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!2O!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!2Z_!X!L^$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!3eg$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!3Y![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S!3Y#S#X%Z#X#Y!4|#Y#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!5Vg$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!6n|}%Z}!O!6n!O!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!6wc$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!8_c$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!9uf$h&j(Rp(U!b#l(ChOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcxz!;Zz{#-}{!P!;Z!P!Q#/d!Q!^!;Z!^!_#(i!_!`#7S!`!a#8i!a!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z?O!;fb$h&j(Rp(U!b!U7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z>^!<w`$h&j(U!b!U7`OY!<nYZ&cZw!<nwx!=yx!P!<n!P!Q!Eq!Q!^!<n!^!_!Gr!_!}!<n!}#O!KS#O#P!Dy#P#o!<n#o#p!Gr#p;'S!<n;'S;=`!L]<%lO!<n<z!>Q^$h&j!U7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!?Td$h&j!U7`O!^&c!_#W&c#W#X!>|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&c7`!@hX!U7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;'S!@c;'S;=`!CQ<%lO!@c7`!AYW!U7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;'S!Ar;'S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;'S!Ar;'S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;'S!@c;'S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c<z!C][$h&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#O!CW#O#P!DR#P#Q!=y#Q#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DWX$h&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DvP;=`<%l!CW<z!EOX$h&jOY!=yYZ&cZ!^!=y!^!_!@c!_#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!EnP;=`<%l!=y>^!Ezl$h&j(U!b!U7`OY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}8r!GyZ(U!b!U7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;'S!Gr;'S;=`!J|<%lO!Gr8r!Hse(U!b!U7`OY'}Zw'}x#O'}#P#W'}#W#X!Hl#X#Z'}#Z#[!Hl#[#]'}#]#^!Hl#^#a'}#a#b!Hl#b#g'}#g#h!Hl#h#i'}#i#j!Hl#j#k!Hl#k#m'}#m#n!Hl#n;'S'};'S;=`(f<%lO'}8r!JZX(U!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;'S!JU;'S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$h&j(U!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!<n#Q#o!KS#o#p!JU#p;'S!KS;'S;=`!LV<%lO!KS>^!LYP;=`<%l!KS>^!L`P;=`<%l!<n=l!Ll`$h&j(Rp!U7`OY!LcYZ&cZr!Lcrs!=ys!P!Lc!P!Q!Mn!Q!^!Lc!^!_# o!_!}!Lc!}#O#%P#O#P!Dy#P#o!Lc#o#p# o#p;'S!Lc;'S;=`#&Y<%lO!Lc=l!Mwl$h&j(Rp!U7`OY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#W(r#W#X!Mn#X#Z(r#Z#[!Mn#[#](r#]#^!Mn#^#a(r#a#b!Mn#b#g(r#g#h!Mn#h#i(r#i#j!Mn#j#k!Mn#k#m(r#m#n!Mn#n#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r8Q# vZ(Rp!U7`OY# oZr# ors!@cs!P# o!P!Q#!i!Q!}# o!}#O#$R#O#P!Bq#P;'S# o;'S;=`#$y<%lO# o8Q#!pe(Rp!U7`OY)rZr)rs#O)r#P#W)r#W#X#!i#X#Z)r#Z#[#!i#[#])r#]#^#!i#^#a)r#a#b#!i#b#g)r#g#h#!i#h#i)r#i#j#!i#j#k#!i#k#m)r#m#n#!i#n;'S)r;'S;=`*Z<%lO)r8Q#$WX(RpOY#$RZr#$Rrs!Ars#O#$R#O#P!B[#P#Q# o#Q;'S#$R;'S;=`#$s<%lO#$R8Q#$vP;=`<%l#$R8Q#$|P;=`<%l# o=l#%W^$h&j(RpOY#%PYZ&cZr#%Prs!CWs!^#%P!^!_#$R!_#O#%P#O#P!DR#P#Q!Lc#Q#o#%P#o#p#$R#p;'S#%P;'S;=`#&S<%lO#%P=l#&VP;=`<%l#%P=l#&]P;=`<%l!Lc?O#&kn$h&j(Rp(U!b!U7`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#W%Z#W#X#&`#X#Z%Z#Z#[#&`#[#]%Z#]#^#&`#^#a%Z#a#b#&`#b#g%Z#g#h#&`#h#i%Z#i#j#&`#j#k#&`#k#m%Z#m#n#&`#n#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z9d#(r](Rp(U!b!U7`OY#(iZr#(irs!Grsw#(iwx# ox!P#(i!P!Q#)k!Q!}#(i!}#O#+`#O#P!Bq#P;'S#(i;'S;=`#,`<%lO#(i9d#)th(Rp(U!b!U7`OY*gZr*grs'}sw*gwx)rx#O*g#P#W*g#W#X#)k#X#Z*g#Z#[#)k#[#]*g#]#^#)k#^#a*g#a#b#)k#b#g*g#g#h#)k#h#i*g#i#j#)k#j#k#)k#k#m*g#m#n#)k#n;'S*g;'S;=`+Z<%lO*g9d#+gZ(Rp(U!bOY#+`Zr#+`rs!JUsw#+`wx#$Rx#O#+`#O#P!B[#P#Q#(i#Q;'S#+`;'S;=`#,Y<%lO#+`9d#,]P;=`<%l#+`9d#,cP;=`<%l#(i?O#,o`$h&j(Rp(U!bOY#,fYZ&cZr#,frs!KSsw#,fwx#%Px!^#,f!^!_#+`!_#O#,f#O#P!DR#P#Q!;Z#Q#o#,f#o#p#+`#p;'S#,f;'S;=`#-q<%lO#,f?O#-tP;=`<%l#,f?O#-zP;=`<%l!;Z07[#.[b$h&j(Rp(U!b'y0/l!U7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z07[#/o_$h&j(Rp(U!bT0/lOY#/dYZ&cZr#/drs#0nsw#/dwx#4Ox!^#/d!^!_#5}!_#O#/d#O#P#1p#P#o#/d#o#p#5}#p;'S#/d;'S;=`#6|<%lO#/d06j#0w]$h&j(U!bT0/lOY#0nYZ&cZw#0nwx#1px!^#0n!^!_#3R!_#O#0n#O#P#1p#P#o#0n#o#p#3R#p;'S#0n;'S;=`#3x<%lO#0n05W#1wX$h&jT0/lOY#1pYZ&cZ!^#1p!^!_#2d!_#o#1p#o#p#2d#p;'S#1p;'S;=`#2{<%lO#1p0/l#2iST0/lOY#2dZ;'S#2d;'S;=`#2u<%lO#2d0/l#2xP;=`<%l#2d05W#3OP;=`<%l#1p01O#3YW(U!bT0/lOY#3RZw#3Rwx#2dx#O#3R#O#P#2d#P;'S#3R;'S;=`#3r<%lO#3R01O#3uP;=`<%l#3R06j#3{P;=`<%l#0n05x#4X]$h&j(RpT0/lOY#4OYZ&cZr#4Ors#1ps!^#4O!^!_#5Q!_#O#4O#O#P#1p#P#o#4O#o#p#5Q#p;'S#4O;'S;=`#5w<%lO#4O00^#5XW(RpT0/lOY#5QZr#5Qrs#2ds#O#5Q#O#P#2d#P;'S#5Q;'S;=`#5q<%lO#5Q00^#5tP;=`<%l#5Q05x#5zP;=`<%l#4O01p#6WY(Rp(U!bT0/lOY#5}Zr#5}rs#3Rsw#5}wx#5Qx#O#5}#O#P#2d#P;'S#5};'S;=`#6v<%lO#5}01p#6yP;=`<%l#5}07[#7PP;=`<%l#/d)3h#7ab$h&j$P(Ch(Rp(U!b!U7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;ZAt#8vb$Y#t$h&j(Rp(U!b!U7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z'Ad#:Zp$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#U%Z#U#V#?i#V#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#<jk$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#>j_$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#?rd$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#A]f$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Bzc$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Dbe$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#E|g$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Gpi$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x#Il_!d$b$h&j#})Lv(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#Jv_al$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f#LS^h#)`#O-<U(Rp(U!b(y7`OY*gZr*grs'}sw*gwx)rx!P*g!P!Q#MO!Q!^*g!^!_#Mt!_!`$ f!`#O*g#P;'S*g;'S;=`+Z<%lO*g(n#MXX$j&j(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El#M}Z#o(Ch(Rp(U!bOY*gZr*grs'}sw*gwx)rx!_*g!_!`#Np!`#O*g#P;'S*g;'S;=`+Z<%lO*g(El#NyX$P(Ch(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El$ oX#p(Ch(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g*)x$!ga#]*!Y$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a$#l!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(K[$#w_#h(Cl$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x$%Vag!*r#p(Ch$e#|$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`$&[!`!a$'f!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$&g_#p(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$'qa#o(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`!a$(v!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$)R`#o(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(Kd$*`a(m(Ct$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!a%Z!a!b$+e!b#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$+p`$h&j#z(Ch(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`$,}_!y$Ip$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f$.X_!P0,v$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(n$/]Z$h&jO!^$0O!^!_$0f!_#i$0O#i#j$0k#j#l$0O#l#m$2^#m#o$0O#o#p$0f#p;'S$0O;'S;=`$4i<%lO$0O(n$0VT_#S$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#S$0kO_#S(n$0p[$h&jO!Q&c!Q![$1f![!^&c!_!c&c!c!i$1f!i#T&c#T#Z$1f#Z#o&c#o#p$3|#p;'S&c;'S;=`&w<%lO&c(n$1kZ$h&jO!Q&c!Q![$2^![!^&c!_!c&c!c!i$2^!i#T&c#T#Z$2^#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$2cZ$h&jO!Q&c!Q![$3U![!^&c!_!c&c!c!i$3U!i#T&c#T#Z$3U#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$3ZZ$h&jO!Q&c!Q![$0O![!^&c!_!c&c!c!i$0O!i#T&c#T#Z$0O#Z#o&c#p;'S&c;'S;=`&w<%lO&c#S$4PR!Q![$4Y!c!i$4Y#T#Z$4Y#S$4]S!Q![$4Y!c!i$4Y#T#Z$4Y#q#r$0f(n$4lP;=`<%l$0O#1[$4z_!V#)l$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$6U`#w(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;p$7c_$h&j(Rp(U!b([+4QOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$8qk$h&j(Rp(U!b(O,2j$^#t(`$I[OY%ZYZ&cZr%Zrs&}st%Ztu$8buw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$8b![!^%Z!^!_*g!_!c%Z!c!}$8b!}#O%Z#O#P&c#P#R%Z#R#S$8b#S#T%Z#T#o$8b#o#p*g#p$g%Z$g;'S$8b;'S;=`$<l<%lO$8b+d$:qk$h&j(Rp(U!b$^#tOY%ZYZ&cZr%Zrs&}st%Ztu$:fuw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$:f![!^%Z!^!_*g!_!c%Z!c!}$:f!}#O%Z#O#P&c#P#R%Z#R#S$:f#S#T%Z#T#o$:f#o#p*g#p$g%Z$g;'S$:f;'S;=`$<f<%lO$:f+d$<iP;=`<%l$:f07[$<oP;=`<%l$8b#Jf$<{X![#Hb(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g,#x$=sa(t+JY$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$+e#q;'S%Z;'S;=`+a<%lO%Z(Kd$?V_!Z(Cds`$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z?O$@a_!n7`$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$Aq|$h&j(Rp(U!b'w0/l$[#t(O,2j(`$I[OX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$h&j(Rp(U!b'x0/l$[#t(O,2j(`$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[ZYr,JYr,qYr,2,3,4,5,6,7,8,9,10,11,12,13,14,KYr,new K2e("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOu~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!R~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(^~~",141,335),new K2e("j~RQYZXz{^~^O'{~~aP!P!Qd~iO'|~~",25,318)],topRules:{Script:[0,7],SingleExpression:[1,272],SingleClassItem:[2,273]},dialects:{jsx:0,ts:14769},dynamicPrecedences:{77:1,79:1,91:1,167:1,196:1},specialized:[{term:322,get:t=>$Yr[t]||-1},{term:338,get:t=>eWr[t]||-1},{term:92,get:t=>tWr[t]||-1}],tokenPrec:14793});var mot=class{constructor(e,i,o){this.state=e,this.pos=i,this.explicit=o,this.abortListeners=[]}tokenBefore(e){let i=xf(this.state).resolveInner(this.pos,-1);for(;i&&e.indexOf(i.name)<0;)i=i.parent;return i?{from:i.from,to:this.pos,text:this.state.sliceDoc(i.from,this.pos),type:i.type}:null}matchBefore(e){let i=this.state.doc.lineAt(this.pos),o=Math.max(i.from,this.pos-250),r=i.text.slice(o-i.from,this.pos-i.from),n=r.search(syo(e,!1));return n<0?null:{from:o+n,to:this.pos,text:r.slice(n)}}get aborted(){return this.abortListeners==null}addEventListener(e,i){e=="abort"&&this.abortListeners&&this.abortListeners.push(i)}};function Xbo(t){let e=Object.keys(t).join(""),i=/\w/.test(e);return i&&(e=e.replace(/\w/g,"")),`[${i?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function iWr(t){let e=Object.create(null),i=Object.create(null);for(let{label:r}of t){e[r[0]]=!0;for(let n=1;n<r.length;n++)i[r[n]]=!0}let o=Xbo(e)+Xbo(i)+"*$";return[new RegExp("^"+o),new RegExp(o)]}function hzt(t){let e=t.map(r=>typeof r=="string"?{label:r}:r),[i,o]=e.every(r=>/^\w+$/.test(r.label))?[/\w*$/,/\w+$/]:iWr(e);return r=>{let n=r.matchBefore(o);return n||r.explicit?{from:n?n.from:r.pos,options:e,validFor:i}:null}}function ayo(t,e){return i=>{for(let o=xf(i.state).resolveInner(i.pos,-1);o;o=o.parent){if(t.indexOf(o.name)>-1)return null;if(o.type.isTop)break}return e(i)}}var hot=class{constructor(e,i,o,r){this.completion=e,this.source=i,this.match=o,this.score=r}};function X$(t){return t.selection.main.from}function syo(t,e){var i;let{source:o}=t,r=e&&o[0]!="^",n=o[o.length-1]!="$";return!r&&!n?t:new RegExp(`${r?"^":""}(?:${o})${n?"$":""}`,(i=t.flags)!==null&&i!==void 0?i:t.ignoreCase?"i":"")}var fzt=uL.define();function oWr(t,e,i,o){let{main:r}=t.selection,n=i-r.from,a=o-r.from;return Object.assign(Object.assign({},t.changeByRange(s=>s!=r&&i!=o&&t.sliceDoc(s.from+n,s.from+a)!=t.sliceDoc(i,o)?{range:s}:{changes:{from:s.from+n,to:o==r.from?s.to:s.from+a,insert:e},range:Fo.cursor(s.from+n+e.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}var $bo=new WeakMap;function rWr(t){if(!Array.isArray(t))return t;let e=$bo.get(t);return e||$bo.set(t,e=hzt(t)),e}var fot=Fs.define(),PLe=Fs.define(),rzt=class{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let i=0;i<e.length;){let o=Ry(e,i),r=QM(o);this.chars.push(o);let n=e.slice(i,i+r),a=n.toUpperCase();this.folded.push(Ry(a==n?n.toLowerCase():a,0)),i+=r}this.astral=e.length!=this.chars.length}ret(e,i){return this.score=e,this.matched=i,this}match(e){if(this.pattern.length==0)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:i,folded:o,any:r,precise:n,byWord:a}=this;if(i.length==1){let y=Ry(e,0),w=QM(y),x=w==e.length?0:-100;if(y!=i[0])if(y==o[0])x+=-200;else return null;return this.ret(x,[0,w])}let s=e.indexOf(this.pattern);if(s==0)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let l=i.length,c=0;if(s<0){for(let y=0,w=Math.min(e.length,200);y<w&&c<l;){let x=Ry(e,y);(x==i[c]||x==o[c])&&(r[c++]=y),y+=QM(x)}if(c<l)return null}let d=0,u=0,p=!1,m=0,h=-1,f=-1,g=/[a-z]/.test(e),b=!0;for(let y=0,w=Math.min(e.length,200),x=0;y<w&&u<l;){let S=Ry(e,y);s<0&&(d<l&&S==i[d]&&(n[d++]=y),m<l&&(S==i[m]||S==o[m]?(m==0&&(h=y),f=y+1,m++):m=0));let T,M=S<255?S>=48&&S<=57||S>=97&&S<=122?2:S>=65&&S<=90?1:0:(T=JIe(S))!=T.toLowerCase()?1:T!=T.toUpperCase()?2:0;(!y||M==1&&g||x==0&&M!=0)&&(i[u]==S||o[u]==S&&(p=!0)?a[u++]=y:a.length&&(b=!1)),x=M,y+=QM(S)}return u==l&&a[0]==0&&b?this.result(-100+(p?-200:0),a,e):m==l&&h==0?this.ret(-200-e.length+(f==e.length?0:-100),[0,f]):s>-1?this.ret(-700-e.length,[s,s+this.pattern.length]):m==l?this.ret(-900-e.length,[h,f]):u==l?this.result(-100+(p?-200:0)+-700+(b?0:-1100),a,e):i.length==2?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,i,o){let r=[],n=0;for(let a of i){let s=a+(this.astral?QM(Ry(o,a)):1);n&&r[n-1]==a?r[n-1]=s:(r[n++]=a,r[n++]=s)}return this.ret(e-o.length,r)}},nzt=class{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length<this.pattern.length)return null;let i=e.slice(0,this.pattern.length),o=i==this.pattern?0:i.toLowerCase()==this.folded?-200:null;return o==null?null:(this.matched=[0,i.length],this.score=o+(e.length==this.pattern.length?0:-100),this)}},gx=un.define({combine(t){return hx(t,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:nWr,filterStrict:!1,compareCompletions:(e,i)=>e.label.localeCompare(i.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,i)=>e&&i,closeOnBlur:(e,i)=>e&&i,icons:(e,i)=>e&&i,tooltipClass:(e,i)=>o=>eyo(e(o),i(o)),optionClass:(e,i)=>o=>eyo(e(o),i(o)),addToOptions:(e,i)=>e.concat(i),filterStrict:(e,i)=>e||i})}});function eyo(t,e){return t?e?t+" "+e:t:e}function nWr(t,e,i,o,r,n){let a=t.textDirection==wp.RTL,s=a,l=!1,c="top",d,u,p=e.left-r.left,m=r.right-e.right,h=o.right-o.left,f=o.bottom-o.top;if(s&&p<Math.min(h,m)?s=!1:!s&&m<Math.min(h,p)&&(s=!0),h<=(s?p:m))d=Math.max(r.top,Math.min(i.top,r.bottom-f))-e.top,u=Math.min(400,s?p:m);else{l=!0,u=Math.min(400,(a?e.right:r.right-e.left)-30);let y=r.bottom-e.bottom;y>=f||y>e.top?d=i.bottom-e.top:(c="bottom",d=e.bottom-i.top)}let g=(e.bottom-e.top)/n.offsetHeight,b=(e.right-e.left)/n.offsetWidth;return{style:`${c}: ${d/g}px; max-width: ${u/b}px`,class:"cm-completionInfo-"+(l?a?"left-narrow":"right-narrow":s?"left":"right")}}function aWr(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(i){let o=document.createElement("div");return o.classList.add("cm-completionIcon"),i.type&&o.classList.add(...i.type.split(/\s+/g).map(r=>"cm-completionIcon-"+r)),o.setAttribute("aria-hidden","true"),o},position:20}),e.push({render(i,o,r,n){let a=document.createElement("span");a.className="cm-completionLabel";let s=i.displayLabel||i.label,l=0;for(let c=0;c<n.length;){let d=n[c++],u=n[c++];d>l&&a.appendChild(document.createTextNode(s.slice(l,d)));let p=a.appendChild(document.createElement("span"));p.appendChild(document.createTextNode(s.slice(d,u))),p.className="cm-completionMatchedText",l=u}return l<s.length&&a.appendChild(document.createTextNode(s.slice(l))),a},position:50},{render(i){if(!i.detail)return null;let o=document.createElement("span");return o.className="cm-completionDetail",o.textContent=i.detail,o},position:80}),e.sort((i,o)=>i.position-o.position).map(i=>i.render)}function izt(t,e,i){if(t<=i)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let r=Math.floor(e/i);return{from:r*i,to:(r+1)*i}}let o=Math.floor((t-e)/i);return{from:t-(o+1)*i,to:t-o*i}}var azt=class{constructor(e,i,o){this.view=e,this.stateField=i,this.applyCompletion=o,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let r=e.state.field(i),{options:n,selected:a}=r.open,s=e.state.facet(gx);this.optionContent=aWr(s),this.optionClass=s.optionClass,this.tooltipClass=s.tooltipClass,this.range=izt(n.length,a,s.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",l=>{let{options:c}=e.state.field(i).open;for(let d=l.target,u;d&&d!=this.dom;d=d.parentNode)if(d.nodeName=="LI"&&(u=/-(\d+)$/.exec(d.id))&&+u[1]<c.length){this.applyCompletion(e,c[+u[1]]),l.preventDefault();return}}),this.dom.addEventListener("focusout",l=>{let c=e.state.field(this.stateField,!1);c&&c.tooltip&&e.state.facet(gx).closeOnBlur&&l.relatedTarget!=e.contentDOM&&e.dispatch({effects:PLe.of(null)})}),this.showOptions(n,r.id)}mount(){this.updateSel()}showOptions(e,i){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,i,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var i;let o=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),o!=r){let{options:n,selected:a,disabled:s}=o.open;(!r.open||r.open.options!=n)&&(this.range=izt(n.length,a,e.state.facet(gx).maxRenderedOptions),this.showOptions(n,o.id)),this.updateSel(),s!=((i=r.open)===null||i===void 0?void 0:i.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!s)}}updateTooltipClass(e){let i=this.tooltipClass(e);if(i!=this.currentClass){for(let o of this.currentClass.split(" "))o&&this.dom.classList.remove(o);for(let o of i.split(" "))o&&this.dom.classList.add(o);this.currentClass=i}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),i=e.open;if((i.selected>-1&&i.selected<this.range.from||i.selected>=this.range.to)&&(this.range=izt(i.options.length,i.selected,this.view.state.facet(gx).maxRenderedOptions),this.showOptions(i.options,e.id)),this.updateSelectedOption(i.selected)){this.destroyInfo();let{completion:o}=i.options[i.selected],{info:r}=o;if(!r)return;let n=typeof r=="string"?document.createTextNode(r):r(o);if(!n)return;"then"in n?n.then(a=>{a&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(a,o)}).catch(a=>Tw(this.view.state,a,"completion info")):this.addInfoPane(n,o)}}addInfoPane(e,i){this.destroyInfo();let o=this.info=document.createElement("div");if(o.className="cm-tooltip cm-completionInfo",e.nodeType!=null)o.appendChild(e),this.infoDestroy=null;else{let{dom:r,destroy:n}=e;o.appendChild(r),this.infoDestroy=n||null}this.dom.appendChild(o),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let i=null;for(let o=this.list.firstChild,r=this.range.from;o;o=o.nextSibling,r++)o.nodeName!="LI"||!o.id?r--:r==e?o.hasAttribute("aria-selected")||(o.setAttribute("aria-selected","true"),i=o):o.hasAttribute("aria-selected")&&o.removeAttribute("aria-selected");return i&&lWr(this.list,i),i}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let i=this.dom.getBoundingClientRect(),o=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),n=this.space;if(!n){let a=this.dom.ownerDocument.defaultView||window;n={left:0,top:0,right:a.innerWidth,bottom:a.innerHeight}}return r.top>Math.min(n.bottom,i.bottom)-10||r.bottom<Math.max(n.top,i.top)+10?null:this.view.state.facet(gx).positionInfo(this.view,i,r,o,n,this.dom)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,i,o){let r=document.createElement("ul");r.id=i,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),r.setAttribute("aria-label",this.view.state.phrase("Completions"));let n=null;for(let a=o.from;a<o.to;a++){let{completion:s,match:l}=e[a],{section:c}=s;if(c){let p=typeof c=="string"?c:c.name;if(p!=n&&(a>o.from||o.from==0))if(n=p,typeof c!="string"&&c.header)r.appendChild(c.header(c));else{let m=r.appendChild(document.createElement("completion-section"));m.textContent=p}}let d=r.appendChild(document.createElement("li"));d.id=i+"-"+a,d.setAttribute("role","option");let u=this.optionClass(s);u&&(d.className=u);for(let p of this.optionContent){let m=p(s,this.view.state,this.view,l);m&&d.appendChild(m)}}return o.from&&r.classList.add("cm-completionListIncompleteTop"),o.to<e.length&&r.classList.add("cm-completionListIncompleteBottom"),r}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}};function sWr(t,e){return i=>new azt(i,t,e)}function lWr(t,e){let i=t.getBoundingClientRect(),o=e.getBoundingClientRect(),r=i.height/t.offsetHeight;o.top<i.top?t.scrollTop-=(i.top-o.top)/r:o.bottom>i.bottom&&(t.scrollTop+=(o.bottom-i.bottom)/r)}function tyo(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function cWr(t,e){let i=[],o=null,r=c=>{i.push(c);let{section:d}=c.completion;if(d){o||(o=[]);let u=typeof d=="string"?d:d.name;o.some(p=>p.name==u)||o.push(typeof d=="string"?{name:u}:d)}},n=e.facet(gx);for(let c of t)if(c.hasResult()){let d=c.result.getMatch;if(c.result.filter===!1)for(let u of c.result.options)r(new hot(u,c.source,d?d(u):[],1e9-i.length));else{let u=e.sliceDoc(c.from,c.to),p,m=n.filterStrict?new nzt(u):new rzt(u);for(let h of c.result.options)if(p=m.match(h.label)){let f=h.displayLabel?d?d(h,p.matched):[]:p.matched;r(new hot(h,c.source,f,p.score+(h.boost||0)))}}}if(o){let c=Object.create(null),d=0,u=(p,m)=>{var h,f;return((h=p.rank)!==null&&h!==void 0?h:1e9)-((f=m.rank)!==null&&f!==void 0?f:1e9)||(p.name<m.name?-1:1)};for(let p of o.sort(u))d-=1e5,c[p.name]=d;for(let p of i){let{section:m}=p.completion;m&&(p.score+=c[typeof m=="string"?m:m.name])}}let a=[],s=null,l=n.compareCompletions;for(let c of i.sort((d,u)=>u.score-d.score||l(d.completion,u.completion))){let d=c.completion;!s||s.label!=d.label||s.detail!=d.detail||s.type!=null&&d.type!=null&&s.type!=d.type||s.apply!=d.apply||s.boost!=d.boost?a.push(c):tyo(c.completion)>tyo(s)&&(a[a.length-1]=c),s=c.completion}return a}var szt=class t{constructor(e,i,o,r,n,a){this.options=e,this.attrs=i,this.tooltip=o,this.timestamp=r,this.selected=n,this.disabled=a}setSelected(e,i){return e==this.selected||e>=this.options.length?this:new t(this.options,iyo(i,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,i,o,r,n){let a=cWr(e,i);if(!a.length)return r&&e.some(l=>l.state==1)?new t(r.options,r.attrs,r.tooltip,r.timestamp,r.selected,!0):null;let s=i.facet(gx).selectOnOpen?0:-1;if(r&&r.selected!=s&&r.selected!=-1){let l=r.options[r.selected].completion;for(let c=0;c<a.length;c++)if(a[c].completion==l){s=c;break}}return new t(a,iyo(o,s),{pos:e.reduce((l,c)=>c.hasResult()?Math.min(l,c.from):l,1e8),create:hWr,above:n.aboveCursor},r?r.timestamp:Date.now(),s,!1)}map(e){return new t(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}},lzt=class t{constructor(e,i,o){this.active=e,this.id=i,this.open=o}static start(){return new t(pWr,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:i}=e,o=i.facet(gx),n=(o.override||i.languageDataAt("autocomplete",X$(i)).map(rWr)).map(s=>(this.active.find(c=>c.source==s)||new Xz(s,this.active.some(c=>c.state!=0)?1:0)).update(e,o));n.length==this.active.length&&n.every((s,l)=>s==this.active[l])&&(n=this.active);let a=this.open;a&&e.docChanged&&(a=a.map(e.changes)),e.selection||n.some(s=>s.hasResult()&&e.changes.touchesRange(s.from,s.to))||!dWr(n,this.active)?a=szt.build(n,i,this.id,a,o):a&&a.disabled&&!n.some(s=>s.state==1)&&(a=null),!a&&n.every(s=>s.state!=1)&&n.some(s=>s.hasResult())&&(n=n.map(s=>s.hasResult()?new Xz(s.source,0):s));for(let s of e.effects)s.is(cyo)&&(a=a&&a.setSelected(s.value,this.id));return n==this.active&&a==this.open?this:new t(n,this.id,a)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:uWr}};function dWr(t,e){if(t==e)return!0;for(let i=0,o=0;;){for(;i<t.length&&!t[i].hasResult;)i++;for(;o<e.length&&!e[o].hasResult;)o++;let r=i==t.length,n=o==e.length;if(r||n)return r==n;if(t[i++].result!=e[o++].result)return!1}}var uWr={"aria-autocomplete":"list"};function iyo(t,e){let i={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":t};return e>-1&&(i["aria-activedescendant"]=t+"-"+e),i}var pWr=[];function czt(t,e){if(t.isUserEvent("input.complete")){let i=t.annotation(fzt);if(i&&e.activateOnCompletion(i))return"input"}return t.isUserEvent("input.type")?"input":t.isUserEvent("delete.backward")?"delete":null}var Xz=class t{constructor(e,i,o=-1){this.source=e,this.state=i,this.explicitPos=o}hasResult(){return!1}update(e,i){let o=czt(e,i),r=this;o?r=r.handleUserEvent(e,o,i):e.docChanged?r=r.handleChange(e):e.selection&&r.state!=0&&(r=new t(r.source,0));for(let n of e.effects)if(n.is(fot))r=new t(r.source,1,n.value?X$(e.state):-1);else if(n.is(PLe))r=new t(r.source,0);else if(n.is(lyo))for(let a of n.value)a.source==r.source&&(r=a);return r}handleUserEvent(e,i,o){return i=="delete"||!o.activateOnTyping?this.map(e.changes):new t(this.source,1)}handleChange(e){return e.changes.touchesRange(X$(e.startState))?new t(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new t(this.source,this.state,e.mapPos(this.explicitPos))}},got=class t extends Xz{constructor(e,i,o,r,n){super(e,2,i),this.result=o,this.from=r,this.to=n}hasResult(){return!0}handleUserEvent(e,i,o){var r;let n=this.result;n.map&&!e.changes.empty&&(n=n.map(n,e.changes));let a=e.changes.mapPos(this.from),s=e.changes.mapPos(this.to,1),l=X$(e.state);if((this.explicitPos<0?l<=a:l<this.from)||l>s||!n||i=="delete"&&X$(e.startState)==this.from)return new Xz(this.source,i=="input"&&o.activateOnTyping?1:0);let c=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos);return mWr(n.validFor,e.state,a,s)?new t(this.source,c,n,a,s):n.update&&(n=n.update(n,a,s,new mot(e.state,l,c>=0)))?new t(this.source,c,n,n.from,(r=n.to)!==null&&r!==void 0?r:X$(e.state)):new Xz(this.source,1,c)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new Xz(this.source,0):this.map(e.changes)}map(e){return e.empty?this:(this.result.map?this.result.map(this.result,e):this.result)?new t(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new Xz(this.source,0)}};function mWr(t,e,i,o){if(!t)return!1;let r=e.sliceDoc(i,o);return typeof t=="function"?t(r,i,o,e):syo(t,!0).test(r)}var lyo=Fs.define({map(t,e){return t.map(i=>i.map(e))}}),cyo=Fs.define(),fL=B1.define({create(){return lzt.start()},update(t,e){return t.update(e)},provide:t=>[j2e.from(t,e=>e.tooltip),Ir.contentAttributes.from(t,e=>e.attrs)]});function gzt(t,e){let i=e.completion.apply||e.completion.label,o=t.state.field(fL).active.find(r=>r.source==e.source);return o instanceof got?(typeof i=="string"?t.dispatch(Object.assign(Object.assign({},oWr(t.state,i,o.from,o.to)),{annotations:fzt.of(e.completion)})):i(t,e.completion,o.from,o.to),!0):!1}var hWr=sWr(fL,gzt);function pot(t,e="option"){return i=>{let o=i.state.field(fL,!1);if(!o||!o.open||o.open.disabled||Date.now()-o.open.timestamp<i.state.facet(gx).interactionDelay)return!1;let r=1,n;e=="page"&&(n=$jt(i,o.open.tooltip))&&(r=Math.max(2,Math.floor(n.dom.offsetHeight/n.dom.querySelector("li").offsetHeight)-1));let{length:a}=o.open.options,s=o.open.selected>-1?o.open.selected+r*(t?1:-1):t?0:a-1;return s<0?s=e=="page"?0:a-1:s>=a&&(s=e=="page"?a-1:0),i.dispatch({effects:cyo.of(s)}),!0}}var fWr=t=>{let e=t.state.field(fL,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestamp<t.state.facet(gx).interactionDelay?!1:gzt(t,e.open.options[e.open.selected])},gWr=t=>t.state.field(fL,!1)?(t.dispatch({effects:fot.of(!0)}),!0):!1,bWr=t=>{let e=t.state.field(fL,!1);return!e||!e.active.some(i=>i.state!=0)?!1:(t.dispatch({effects:PLe.of(null)}),!0)},dzt=class{constructor(e,i){this.active=e,this.context=i,this.time=Date.now(),this.updates=[],this.done=void 0}},yWr=50,wWr=1e3,CWr=e1.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of t.state.field(fL).active)e.state==1&&this.startQuery(e)}update(t){let e=t.state.field(fL),i=t.state.facet(gx);if(!t.selectionSet&&!t.docChanged&&t.startState.field(fL)==e)return;let o=t.transactions.some(n=>(n.selection||n.docChanged)&&!czt(n,i));for(let n=0;n<this.running.length;n++){let a=this.running[n];if(o||a.updates.length+t.transactions.length>yWr&&Date.now()-a.time>wWr){for(let s of a.context.abortListeners)try{s()}catch(l){Tw(this.view.state,l)}a.context.abortListeners=null,this.running.splice(n--,1)}else a.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(n=>n.effects.some(a=>a.is(fot)))&&(this.pendingStart=!0);let r=this.pendingStart?50:i.activateOnTypingDelay;if(this.debounceUpdate=e.active.some(n=>n.state==1&&!this.running.some(a=>a.active.source==n.source))?setTimeout(()=>this.startUpdate(),r):-1,this.composing!=0)for(let n of t.transactions)czt(n,i)=="input"?this.composing=2:this.composing==2&&n.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(fL);for(let i of e.active)i.state==1&&!this.running.some(o=>o.active.source==i.source)&&this.startQuery(i)}startQuery(t){let{state:e}=this.view,i=X$(e),o=new mot(e,i,t.explicitPos==i),r=new dzt(t,o);this.running.push(r),Promise.resolve(t.source(o)).then(n=>{r.context.aborted||(r.done=n||null,this.scheduleAccept())},n=>{this.view.dispatch({effects:PLe.of(null)}),Tw(this.view.state,n)})}scheduleAccept(){this.running.every(t=>t.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(gx).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],i=this.view.state.facet(gx);for(let o=0;o<this.running.length;o++){let r=this.running[o];if(r.done===void 0)continue;if(this.running.splice(o--,1),r.done){let a=new got(r.active.source,r.active.explicitPos,r.done,r.done.from,(t=r.done.to)!==null&&t!==void 0?t:X$(r.updates.length?r.updates[0].startState:this.view.state));for(let s of r.updates)a=a.update(s,i);if(a.hasResult()){e.push(a);continue}}let n=this.view.state.field(fL).active.find(a=>a.source==r.active.source);if(n&&n.state==1)if(r.done==null){let a=new Xz(r.active.source,0);for(let s of r.updates)a=a.update(s,i);a.state!=1&&e.push(a)}else this.startQuery(n)}e.length&&this.view.dispatch({effects:lyo.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(fL,!1);if(e&&e.tooltip&&this.view.state.facet(gx).closeOnBlur){let i=e.open&&$jt(this.view,e.open.tooltip);(!i||!i.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:PLe.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:fot.of(!1)}),20),this.composing=0}}}),xWr=typeof navigator=="object"&&/Win/.test(navigator.platform),TWr=hE.highest(Ir.domEventHandlers({keydown(t,e){let i=e.state.field(fL,!1);if(!i||!i.open||i.open.disabled||i.open.selected<0||t.key.length>1||t.ctrlKey&&!(xWr&&t.altKey)||t.metaKey)return!1;let o=i.open.options[i.open.selected],r=i.active.find(a=>a.source==o.source),n=o.completion.commitCharacters||r.result.commitCharacters;return n&&n.indexOf(t.key)>-1&&gzt(e,o),!1}})),dyo=Ir.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xB7\xB7\xB7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'\u0192'"}},".cm-completionIcon-class":{"&:after":{content:"'\u25CB'"}},".cm-completionIcon-interface":{"&:after":{content:"'\u25CC'"}},".cm-completionIcon-variable":{"&:after":{content:"'\u{1D465}'"}},".cm-completionIcon-constant":{"&:after":{content:"'\u{1D436}'"}},".cm-completionIcon-type":{"&:after":{content:"'\u{1D461}'"}},".cm-completionIcon-enum":{"&:after":{content:"'\u222A'"}},".cm-completionIcon-property":{"&:after":{content:"'\u25A1'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\u{1F511}\uFE0E'"}},".cm-completionIcon-namespace":{"&:after":{content:"'\u25A2'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),uzt=class{constructor(e,i,o,r){this.field=e,this.line=i,this.from=o,this.to=r}},pzt=class t{constructor(e,i,o){this.field=e,this.from=i,this.to=o}map(e){let i=e.mapPos(this.from,-1,V4.TrackDel),o=e.mapPos(this.to,1,V4.TrackDel);return i==null||o==null?null:new t(this.field,i,o)}},mzt=class t{constructor(e,i){this.lines=e,this.fieldPositions=i}instantiate(e,i){let o=[],r=[i],n=e.doc.lineAt(i),a=/^\s*/.exec(n.text)[0];for(let l of this.lines){if(o.length){let c=a,d=/^\t*/.exec(l)[0].length;for(let u=0;u<d;u++)c+=e.facet(G2e);r.push(i+c.length-d),l=c+l.slice(d)}o.push(l),i+=l.length+1}let s=this.fieldPositions.map(l=>new pzt(l.field,r[l.line]+l.from,r[l.line]+l.to));return{text:o,ranges:s}}static parse(e){let i=[],o=[],r=[],n;for(let a of e.split(/\r\n?|\n/)){for(;n=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(a);){let s=n[1]?+n[1]:null,l=n[2]||n[3]||"",c=-1,d=l.replace(/\\[{}]/g,u=>u[1]);for(let u=0;u<i.length;u++)(s!=null?i[u].seq==s:d&&i[u].name==d)&&(c=u);if(c<0){let u=0;for(;u<i.length&&(s==null||i[u].seq!=null&&i[u].seq<s);)u++;i.splice(u,0,{seq:s,name:d}),c=u;for(let p of r)p.field>=c&&p.field++}r.push(new uzt(c,o.length,n.index,n.index+d.length)),a=a.slice(0,n.index)+l+a.slice(n.index+n[0].length)}a=a.replace(/\\([{}])/g,(s,l,c)=>{for(let d of r)d.line==o.length&&d.from>c&&(d.from--,d.to--);return l}),o.push(a)}return new t(o,r)}},SWr=ra.widget({widget:new class extends mL{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),MWr=ra.mark({class:"cm-snippetField"}),Z2e=class t{constructor(e,i){this.ranges=e,this.active=i,this.deco=ra.set(e.map(o=>(o.from==o.to?SWr:MWr).range(o.from,o.to)))}map(e){let i=[];for(let o of this.ranges){let r=o.map(e);if(!r)return null;i.push(r)}return new t(i,this.active)}selectionInsideField(e){return e.ranges.every(i=>this.ranges.some(o=>o.field==this.active&&o.from<=i.from&&o.to>=i.to))}},_Le=Fs.define({map(t,e){return t&&t.map(e)}}),IWr=Fs.define(),OLe=B1.define({create(){return null},update(t,e){for(let i of e.effects){if(i.is(_Le))return i.value;if(i.is(IWr)&&t)return new Z2e(t.ranges,i.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>Ir.decorations.from(t,e=>e?e.deco:ra.none)});function bzt(t,e){return Fo.create(t.filter(i=>i.field==e).map(i=>Fo.range(i.from,i.to)))}function LWr(t){let e=mzt.parse(t);return(i,o,r,n)=>{let{text:a,ranges:s}=e.instantiate(i.state,r),l={changes:{from:r,to:n,insert:$d.of(a)},scrollIntoView:!0,annotations:o?[fzt.of(o),_y.userEvent.of("input.complete")]:void 0};if(s.length&&(l.selection=bzt(s,0)),s.some(c=>c.field>0)){let c=new Z2e(s,0),d=l.effects=[_Le.of(c)];i.state.field(OLe,!1)===void 0&&d.push(Fs.appendConfig.of([OLe,NWr,kWr,dyo]))}i.dispatch(i.state.update(l))}}function uyo(t){return({state:e,dispatch:i})=>{let o=e.field(OLe,!1);if(!o||t<0&&o.active==0)return!1;let r=o.active+t,n=t>0&&!o.ranges.some(a=>a.field==r+t);return i(e.update({selection:bzt(o.ranges,r),effects:_Le.of(n?null:new Z2e(o.ranges,r)),scrollIntoView:!0})),!0}}var vWr=({state:t,dispatch:e})=>t.field(OLe,!1)?(e(t.update({effects:_Le.of(null)})),!0):!1,DWr=uyo(1),EWr=uyo(-1);var AWr=[{key:"Tab",run:DWr,shift:EWr},{key:"Escape",run:vWr}],oyo=un.define({combine(t){return t.length?t[0]:AWr}}),NWr=hE.highest(YO.compute([oyo],t=>t.facet(oyo)));function qM(t,e){return Object.assign(Object.assign({},e),{apply:LWr(t)})}var kWr=Ir.domEventHandlers({mousedown(t,e){let i=e.state.field(OLe,!1),o;if(!i||(o=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let r=i.ranges.find(n=>n.from<=o&&n.to>=o);return!r||r.field==i.active?!1:(e.dispatch({selection:bzt(i.ranges,r.field),effects:_Le.of(i.ranges.some(n=>n.field>r.field)?new Z2e(i.ranges,r.field):null),scrollIntoView:!0}),!0)}});var RLe={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Hse=Fs.define({map(t,e){let i=e.mapPos(t,-1,V4.TrackAfter);return i==null?void 0:i}}),yzt=new class extends HO{};yzt.startSide=1;yzt.endSide=-1;var pyo=B1.define({create(){return x0.empty},update(t,e){if(t=t.map(e.changes),e.selection){let i=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:o=>o>=i.from&&o<=i.to})}for(let i of e.effects)i.is(Hse)&&(t=t.update({add:[yzt.range(i.value,i.value+1)]}));return t}});function myo(){return[OWr,pyo]}var ozt="()[]{}<>";function hyo(t){for(let e=0;e<ozt.length;e+=2)if(ozt.charCodeAt(e)==t)return ozt.charAt(e+1);return JIe(t<128?t:t+1)}function fyo(t,e){return t.languageDataAt("closeBrackets",e)[0]||RLe}var PWr=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),OWr=Ir.inputHandler.of((t,e,i,o)=>{if((PWr?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let r=t.state.selection.main;if(o.length>2||o.length==2&&QM(Ry(o,0))==1||e!=r.from||i!=r.to)return!1;let n=_Wr(t.state,o);return n?(t.dispatch(n),!0):!1}),RWr=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let o=fyo(t,t.selection.main.head).brackets||RLe.brackets,r=null,n=t.changeByRange(a=>{if(a.empty){let s=jWr(t.doc,a.head);for(let l of o)if(l==s&&bot(t.doc,a.head)==hyo(Ry(l,0)))return{changes:{from:a.head-l.length,to:a.head+l.length},range:Fo.cursor(a.head-l.length)}}return{range:r=a}});return r||e(t.update(n,{scrollIntoView:!0,userEvent:"delete.backward"})),!r},gyo=[{key:"Backspace",run:RWr}];function _Wr(t,e){let i=fyo(t,t.selection.main.head),o=i.brackets||RLe.brackets;for(let r of o){let n=hyo(Ry(r,0));if(e==r)return n==r?FWr(t,r,o.indexOf(r+r+r)>-1,i):BWr(t,r,n,i.before||RLe.before);if(e==n&&byo(t,t.selection.main.from))return zWr(t,r,n)}return null}function byo(t,e){let i=!1;return t.field(pyo).between(0,t.doc.length,o=>{o==e&&(i=!0)}),i}function bot(t,e){let i=t.sliceString(e,e+2);return i.slice(0,QM(Ry(i,0)))}function jWr(t,e){let i=t.sliceString(e-2,e);return QM(Ry(i,0))==i.length?i:i.slice(1)}function BWr(t,e,i,o){let r=null,n=t.changeByRange(a=>{if(!a.empty)return{changes:[{insert:e,from:a.from},{insert:i,from:a.to}],effects:Hse.of(a.to+e.length),range:Fo.range(a.anchor+e.length,a.head+e.length)};let s=bot(t.doc,a.head);return!s||/\s/.test(s)||o.indexOf(s)>-1?{changes:{insert:e+i,from:a.head},effects:Hse.of(a.head+e.length),range:Fo.cursor(a.head+e.length)}:{range:r=a}});return r?null:t.update(n,{scrollIntoView:!0,userEvent:"input.type"})}function zWr(t,e,i){let o=null,r=t.changeByRange(n=>n.empty&&bot(t.doc,n.head)==i?{changes:{from:n.head,to:n.head+i.length,insert:i},range:Fo.cursor(n.head+i.length)}:o={range:n});return o?null:t.update(r,{scrollIntoView:!0,userEvent:"input.type"})}function FWr(t,e,i,o){let r=o.stringPrefixes||RLe.stringPrefixes,n=null,a=t.changeByRange(s=>{if(!s.empty)return{changes:[{insert:e,from:s.from},{insert:e,from:s.to}],effects:Hse.of(s.to+e.length),range:Fo.range(s.anchor+e.length,s.head+e.length)};let l=s.head,c=bot(t.doc,l),d;if(c==e){if(ryo(t,l))return{changes:{insert:e+e,from:l},effects:Hse.of(l+e.length),range:Fo.cursor(l+e.length)};if(byo(t,l)){let p=i&&t.sliceDoc(l,l+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:l,to:l+p.length,insert:p},range:Fo.cursor(l+p.length)}}}else{if(i&&t.sliceDoc(l-2*e.length,l)==e+e&&(d=nyo(t,l-2*e.length,r))>-1&&ryo(t,d))return{changes:{insert:e+e+e+e,from:l},effects:Hse.of(l+e.length),range:Fo.cursor(l+e.length)};if(t.charCategorizer(l)(c)!=Im.Word&&nyo(t,l,r)>-1&&!UWr(t,l,e,r))return{changes:{insert:e+e,from:l},effects:Hse.of(l+e.length),range:Fo.cursor(l+e.length)}}return{range:n=s}});return n?null:t.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function ryo(t,e){let i=xf(t).resolveInner(e+1);return i.parent&&i.from==e}function UWr(t,e,i,o){let r=xf(t).resolveInner(e,-1),n=o.reduce((a,s)=>Math.max(a,s.length),0);for(let a=0;a<5;a++){let s=t.sliceDoc(r.from,Math.min(r.to,r.from+i.length+n)),l=s.indexOf(i);if(!l||l>-1&&o.indexOf(s.slice(0,l))>-1){let d=r.firstChild;for(;d&&d.from==r.from&&d.to-d.from>i.length+l;){if(t.sliceDoc(d.to-i.length,d.to)==i)return!1;d=d.firstChild}return!0}let c=r.to==e&&r.parent;if(!c)break;r=c}return!1}function nyo(t,e,i){let o=t.charCategorizer(e);if(o(t.sliceDoc(e-1,e))!=Im.Word)return e;for(let r of i){let n=e-r.length;if(t.sliceDoc(n,e)==r&&o(t.sliceDoc(n-1,n))!=Im.Word)return n}return-1}function yyo(t={}){return[TWr,fL,gx.of(t),CWr,VWr,dyo]}var wzt=[{key:"Ctrl-Space",run:gWr},{key:"Escape",run:bWr},{key:"ArrowDown",run:pot(!0)},{key:"ArrowUp",run:pot(!1)},{key:"PageDown",run:pot(!0,"page")},{key:"PageUp",run:pot(!1,"page")},{key:"Enter",run:fWr}],VWr=hE.highest(YO.computeN([gx],t=>t.facet(gx).defaultKeymap?[wzt]:[]));var Tyo=[qM("function ${name}(${params}) {\n	${}\n}",{label:"function",detail:"definition",type:"keyword"}),qM("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n	${}\n}",{label:"for",detail:"loop",type:"keyword"}),qM("for (let ${name} of ${collection}) {\n	${}\n}",{label:"for",detail:"of loop",type:"keyword"}),qM("do {\n	${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),qM("while (${}) {\n	${}\n}",{label:"while",detail:"loop",type:"keyword"}),qM(`try {
	\${}
} catch (\${error}) {
	\${}
}`,{label:"try",detail:"/ catch block",type:"keyword"}),qM("if (${}) {\n	${}\n}",{label:"if",detail:"block",type:"keyword"}),qM(`if (\${}) {
	\${}
} else {
	\${}
}`,{label:"if",detail:"/ else block",type:"keyword"}),qM(`class \${name} {
	constructor(\${params}) {
		\${}
	}
}`,{label:"class",detail:"definition",type:"keyword"}),qM('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),qM('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],HWr=Tyo.concat([qM("interface ${name} {\n	${}\n}",{label:"interface",detail:"definition",type:"keyword"}),qM("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),qM("enum ${name} {\n	${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),wyo=new zit,Syo=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function jLe(t){return(e,i)=>{let o=e.node.getChild("VariableDefinition");return o&&i(o,t),!0}}var GWr=["FunctionDeclaration"],YWr={FunctionDeclaration:jLe("function"),ClassDeclaration:jLe("class"),ClassExpression:()=>!0,EnumDeclaration:jLe("constant"),TypeAliasDeclaration:jLe("type"),NamespaceDeclaration:jLe("namespace"),VariableDefinition(t,e){t.matchContext(GWr)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function Myo(t,e){let i=wyo.get(e);if(i)return i;let o=[],r=!0;function n(a,s){let l=t.sliceString(a.from,a.to);o.push({label:l,type:s})}return e.cursor(m2.IncludeAnonymous).iterate(a=>{if(r)r=!1;else if(a.name){let s=YWr[a.name];if(s&&s(a,n)||Syo.has(a.name))return!1}else if(a.to-a.from>8192){for(let s of Myo(t,a.node))o.push(s);return!1}}),wyo.set(e,o),o}var Cyo=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,Iyo=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function WWr(t){let e=xf(t.state).resolveInner(t.pos,-1);if(Iyo.indexOf(e.name)>-1)return null;let i=e.name=="VariableName"||e.to-e.from<20&&Cyo.test(t.state.sliceDoc(e.from,e.to));if(!i&&!t.explicit)return null;let o=[];for(let r=e;r;r=r.parent)Syo.has(r.name)&&(o=o.concat(Myo(t.state.doc,r)));return{options:o,from:i?e.from:t.pos,validFor:Cyo}}var Gse=Yit.define({name:"javascript",parser:qbo.configure({props:[LBt.add({IfStatement:qit({except:/^\s*({|else\b)/}),TryStatement:qit({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:P2o,SwitchBody:t=>{let e=t.textAfter,i=/^\s*\}/.test(e),o=/^\s*(case|default)\b/.test(e);return t.baseIndent+(i?0:o?1:2)*t.unit},Block:N2o({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":qit({except:/^{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),vBt.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":R2o,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),Lyo={test:t=>/^JSX/.test(t.name),facet:IBt({commentTokens:{block:{open:"{/*",close:"*/}"}}})},QWr=Gse.configure({dialect:"ts"},"typescript"),KWr=Gse.configure({dialect:"jsx",props:[Zit.add(t=>t.isTop?[Lyo]:void 0)]}),ZWr=Gse.configure({dialect:"jsx ts",props:[Zit.add(t=>t.isTop?[Lyo]:void 0)]},"typescript"),vyo=t=>({label:t,type:"keyword"}),Dyo="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(vyo),JWr=Dyo.concat(["declare","implements","private","protected","public"].map(vyo));function yot(t={}){let e=t.jsx?t.typescript?ZWr:KWr:t.typescript?QWr:Gse,i=t.typescript?HWr.concat(JWr):Tyo.concat(Dyo);return new Wit(e,[Gse.data.of({autocomplete:ayo(Iyo,hzt(i))}),Gse.data.of({autocomplete:WWr}),t.jsx?$Wr:[]])}function qWr(t){for(;;){if(t.name=="JSXOpenTag"||t.name=="JSXSelfClosingTag"||t.name=="JSXFragmentTag")return t;if(t.name=="JSXEscape"||!t.parent)return null;t=t.parent}}function xyo(t,e,i=t.length){for(let o=e==null?void 0:e.firstChild;o;o=o.nextSibling)if(o.name=="JSXIdentifier"||o.name=="JSXBuiltin"||o.name=="JSXNamespacedName"||o.name=="JSXMemberExpression")return t.sliceString(o.from,Math.min(o.to,i));return""}var XWr=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),$Wr=Ir.inputHandler.of((t,e,i,o,r)=>{if((XWr?t.composing:t.compositionStarted)||t.state.readOnly||e!=i||o!=">"&&o!="/"||!Gse.isActiveAt(t.state,e,-1))return!1;let n=r(),{state:a}=n,s=a.changeByRange(l=>{var c;let{head:d}=l,u=xf(a).resolveInner(d-1,-1),p;if(u.name=="JSXStartTag"&&(u=u.parent),!(a.doc.sliceString(d-1,d)!=o||u.name=="JSXAttributeValue"&&u.to>d)){if(o==">"&&u.name=="JSXFragmentTag")return{range:l,changes:{from:d,insert:"</>"}};if(o=="/"&&u.name=="JSXStartCloseTag"){let m=u.parent,h=m.parent;if(h&&m.from==d-2&&((p=xyo(a.doc,h.firstChild,d))||((c=h.firstChild)===null||c===void 0?void 0:c.name)=="JSXFragmentTag")){let f=`${p}>`;return{range:Fo.cursor(d+f.length,-1),changes:{from:d,insert:f}}}}else if(o==">"){let m=qWr(u);if(m&&m.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(a.doc.sliceString(d,d+2))&&(p=xyo(a.doc,m,d)))return{range:l,changes:{from:d,insert:`</${p}>`}}}}return{range:l}});return s.changes.empty?!1:(t.dispatch([n,a.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});function Bp(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,i=arguments[1];if(i&&typeof i=="object"&&i.nodeType==null&&!Array.isArray(i)){for(var o in i)if(Object.prototype.hasOwnProperty.call(i,o)){var r=i[o];typeof r=="string"?t.setAttribute(o,r):r!=null&&(t[o]=r)}e++}for(;e<arguments.length;e++)Eyo(t,arguments[e]);return t}function Eyo(t,e){if(typeof e=="string")t.appendChild(document.createTextNode(e));else if(e!=null)if(e.nodeType!=null)t.appendChild(e);else if(Array.isArray(e))for(var i=0;i<e.length;i++)Eyo(t,e[i]);else throw new RangeError("Unsupported child node: "+e)}var Ayo=typeof String.prototype.normalize=="function"?t=>t.normalize("NFKD"):t=>t,eee=class{constructor(e,i,o=0,r=e.length,n,a){this.test=a,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(o,r),this.bufferStart=o,this.normalize=n?s=>n(Ayo(s)):Ayo,this.query=this.normalize(i)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Ry(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let i=JIe(e),o=this.bufferStart+this.bufferPos;this.bufferPos+=QM(e);let r=this.normalize(i);for(let n=0,a=o;;n++){let s=r.charCodeAt(n),l=this.match(s,a,this.bufferPos+this.bufferStart);if(n==r.length-1){if(l)return this.value=l,this;break}a==o&&n<i.length&&i.charCodeAt(n)==s&&a++}}}match(e,i,o){let r=null;for(let n=0;n<this.matches.length;n+=2){let a=this.matches[n],s=!1;this.query.charCodeAt(a)==e&&(a==this.query.length-1?r={from:this.matches[n+1],to:o}:(this.matches[n]++,s=!0)),s||(this.matches.splice(n,2),n-=2)}return this.query.charCodeAt(0)==e&&(this.query.length==1?r={from:i,to:o}:this.matches.push(1,i)),r&&this.test&&!this.test(r.from,r.to,this.buffer,this.bufferStart)&&(r=null),r}};typeof Symbol<"u"&&(eee.prototype[Symbol.iterator]=function(){return this});var Oyo={from:-1,to:-1,match:/.*/.exec("")},Lzt="gm"+(/x/.unicode==null?"":"u"),xot=class{constructor(e,i,o,r=0,n=e.length){if(this.text=e,this.to=n,this.curLine="",this.done=!1,this.value=Oyo,/\\[sWDnr]|\n|\r|\[\^/.test(i))return new Sot(e,i,o,r,n);this.re=new RegExp(i,Lzt+(o!=null&&o.ignoreCase?"i":"")),this.test=o==null?void 0:o.test,this.iter=e.iter();let a=e.lineAt(r);this.curLineStart=a.from,this.matchPos=Mot(e,r),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let i=this.matchPos<=this.to&&this.re.exec(this.curLine);if(i){let o=this.curLineStart+i.index,r=o+i[0].length;if(this.matchPos=Mot(this.text,r+(o==r?1:0)),o==this.curLineStart+this.curLine.length&&this.nextLine(),(o<r||o>this.value.to)&&(!this.test||this.test(o,r,i)))return this.value={from:o,to:r,match:i},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length<this.to)this.nextLine(),e=0;else return this.done=!0,this}}},Czt=new WeakMap,Tot=class t{constructor(e,i){this.from=e,this.text=i}get to(){return this.from+this.text.length}static get(e,i,o){let r=Czt.get(e);if(!r||r.from>=o||r.to<=i){let s=new t(i,e.sliceString(i,o));return Czt.set(e,s),s}if(r.from==i&&r.to==o)return r;let{text:n,from:a}=r;return a>i&&(n=e.sliceString(i,a)+n,a=i),r.to<o&&(n+=e.sliceString(r.to,o)),Czt.set(e,new t(a,n)),new t(i,n.slice(i-a,o-a))}},Sot=class{constructor(e,i,o,r,n){this.text=e,this.to=n,this.done=!1,this.value=Oyo,this.matchPos=Mot(e,r),this.re=new RegExp(i,Lzt+(o!=null&&o.ignoreCase?"i":"")),this.test=o==null?void 0:o.test,this.flat=Tot.get(e,r,this.chunkEnd(r+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,i=this.re.exec(this.flat.text);if(i&&!i[0]&&i.index==e&&(this.re.lastIndex=e+1,i=this.re.exec(this.flat.text)),i){let o=this.flat.from+i.index,r=o+i[0].length;if((this.flat.to>=this.to||i.index+i[0].length<=this.flat.text.length-10)&&(!this.test||this.test(o,r,i)))return this.value={from:o,to:r,match:i},this.matchPos=Mot(this.text,r+(o==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Tot.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}};typeof Symbol<"u"&&(xot.prototype[Symbol.iterator]=Sot.prototype[Symbol.iterator]=function(){return this});function eQr(t){try{return new RegExp(t,Lzt),!0}catch{return!1}}function Mot(t,e){if(e>=t.length)return e;let i=t.lineAt(e),o;for(;e<i.to&&(o=i.text.charCodeAt(e-i.from))>=56320&&o<57344;)e++;return e}function xzt(t){let e=String(t.state.doc.lineAt(t.state.selection.main.head).number),i=Bp("input",{class:"cm-textfield",name:"line",value:e}),o=Bp("form",{class:"cm-gotoLine",onkeydown:n=>{n.keyCode==27?(n.preventDefault(),t.dispatch({effects:Iot.of(!1)}),t.focus()):n.keyCode==13&&(n.preventDefault(),r())},onsubmit:n=>{n.preventDefault(),r()}},Bp("label",t.state.phrase("Go to line"),": ",i)," ",Bp("button",{class:"cm-button",type:"submit"},t.state.phrase("go")));function r(){let n=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(i.value);if(!n)return;let{state:a}=t,s=a.doc.lineAt(a.selection.main.head),[,l,c,d,u]=n,p=d?+d.slice(1):0,m=c?+c:s.number;if(c&&u){let g=m/100;l&&(g=g*(l=="-"?-1:1)+s.number/a.doc.lines),m=Math.round(a.doc.lines*g)}else c&&l&&(m=m*(l=="-"?-1:1)+s.number);let h=a.doc.line(Math.max(1,Math.min(a.doc.lines,m))),f=Fo.cursor(h.from+Math.max(0,Math.min(p,h.length)));t.dispatch({effects:[Iot.of(!1),Ir.scrollIntoView(f.from,{y:"center"})],selection:f}),t.focus()}return{dom:o}}var Iot=Fs.define(),Nyo=B1.define({create(){return!0},update(t,e){for(let i of e.effects)i.is(Iot)&&(t=i.value);return t},provide:t=>kse.from(t,e=>e?xzt:null)}),tQr=t=>{let e=Pse(t,xzt);if(!e){let i=[Iot.of(!0)];t.state.field(Nyo,!1)==null&&i.push(Fs.appendConfig.of([Nyo,iQr])),t.dispatch({effects:i}),e=Pse(t,xzt)}return e&&e.dom.querySelector("input").select(),!0},iQr=Ir.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),oQr={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},Ryo=un.define({combine(t){return hx(t,oQr,{highlightWordAroundCursor:(e,i)=>e||i,minSelectionLength:Math.min,maxMatches:Math.min})}});function _yo(t){let e=[lQr,sQr];return t&&e.push(Ryo.of(t)),e}var rQr=ra.mark({class:"cm-selectionMatch"}),nQr=ra.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function kyo(t,e,i,o){return(i==0||t(e.sliceDoc(i-1,i))!=Im.Word)&&(o==e.doc.length||t(e.sliceDoc(o,o+1))!=Im.Word)}function aQr(t,e,i,o){return t(e.sliceDoc(i,i+1))==Im.Word&&t(e.sliceDoc(o-1,o))==Im.Word}var sQr=e1.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.selectionSet||t.docChanged||t.viewportChanged)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=t.state.facet(Ryo),{state:i}=t,o=i.selection;if(o.ranges.length>1)return ra.none;let r=o.main,n,a=null;if(r.empty){if(!e.highlightWordAroundCursor)return ra.none;let l=i.wordAt(r.head);if(!l)return ra.none;a=i.charCategorizer(r.head),n=i.sliceDoc(l.from,l.to)}else{let l=r.to-r.from;if(l<e.minSelectionLength||l>200)return ra.none;if(e.wholeWords){if(n=i.sliceDoc(r.from,r.to),a=i.charCategorizer(r.head),!(kyo(a,i,r.from,r.to)&&aQr(a,i,r.from,r.to)))return ra.none}else if(n=i.sliceDoc(r.from,r.to),!n)return ra.none}let s=[];for(let l of t.visibleRanges){let c=new eee(i.doc,n,l.from,l.to);for(;!c.next().done;){let{from:d,to:u}=c.value;if((!a||kyo(a,i,d,u))&&(r.empty&&d<=r.from&&u>=r.to?s.push(nQr.range(d,u)):(d>=r.to||u<=r.from)&&s.push(rQr.range(d,u)),s.length>e.maxMatches))return ra.none}}return ra.set(s)}},{decorations:t=>t.decorations}),lQr=Ir.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),cQr=({state:t,dispatch:e})=>{let{selection:i}=t,o=Fo.create(i.ranges.map(r=>t.wordAt(r.head)||Fo.cursor(r.head)),i.mainIndex);return o.eq(i)?!1:(e(t.update({selection:o})),!0)};function dQr(t,e){let{main:i,ranges:o}=t.selection,r=t.wordAt(i.head),n=r&&r.from==i.from&&r.to==i.to;for(let a=!1,s=new eee(t.doc,e,o[o.length-1].to);;)if(s.next(),s.done){if(a)return null;s=new eee(t.doc,e,0,Math.max(0,o[o.length-1].from-1)),a=!0}else{if(a&&o.some(l=>l.from==s.value.from))continue;if(n){let l=t.wordAt(s.value.from);if(!l||l.from!=s.value.from||l.to!=s.value.to)continue}return s.value}}var uQr=({state:t,dispatch:e})=>{let{ranges:i}=t.selection;if(i.some(n=>n.from===n.to))return cQr({state:t,dispatch:e});let o=t.sliceDoc(i[0].from,i[0].to);if(t.selection.ranges.some(n=>t.sliceDoc(n.from,n.to)!=o))return!1;let r=dQr(t,o);return r?(e(t.update({selection:t.selection.addRange(Fo.range(r.from,r.to),!1),effects:Ir.scrollIntoView(r.to)})),!0):!1},X2e=un.define({combine(t){return hx(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new Izt(e),scrollToMatch:e=>Ir.scrollIntoView(e)})}});var Lot=class{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||eQr(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(i,o)=>o=="n"?`
`:o=="r"?"\r":o=="t"?"	":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new Szt(this):new Tzt(this)}getCursor(e,i=0,o){let r=e.doc?e:vd.create({doc:e});return o==null&&(o=r.doc.length),this.regexp?q2e(this,r,i,o):J2e(this,r,i,o)}},vot=class{constructor(e){this.spec=e}};function J2e(t,e,i,o){return new eee(e.doc,t.unquoted,i,o,t.caseSensitive?void 0:r=>r.toLowerCase(),t.wholeWord?pQr(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function pQr(t,e){return(i,o,r,n)=>((n>i||n+r.length<o)&&(n=Math.max(0,i-2),r=t.sliceString(n,Math.min(t.length,o+2))),(e(Dot(r,i-n))!=Im.Word||e(Eot(r,i-n))!=Im.Word)&&(e(Eot(r,o-n))!=Im.Word||e(Dot(r,o-n))!=Im.Word))}var Tzt=class extends vot{constructor(e){super(e)}nextMatch(e,i,o){let r=J2e(this.spec,e,o,e.doc.length).nextOverlapping();return r.done&&(r=J2e(this.spec,e,0,i).nextOverlapping()),r.done?null:r.value}prevMatchInRange(e,i,o){for(let r=o;;){let n=Math.max(i,r-1e4-this.spec.unquoted.length),a=J2e(this.spec,e,n,r),s=null;for(;!a.nextOverlapping().done;)s=a.value;if(s)return s;if(n==i)return null;r-=1e4}}prevMatch(e,i,o){return this.prevMatchInRange(e,0,i)||this.prevMatchInRange(e,o,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,i){let o=J2e(this.spec,e,0,e.doc.length),r=[];for(;!o.next().done;){if(r.length>=i)return null;r.push(o.value)}return r}highlight(e,i,o,r){let n=J2e(this.spec,e,Math.max(0,i-this.spec.unquoted.length),Math.min(o+this.spec.unquoted.length,e.doc.length));for(;!n.next().done;)r(n.value.from,n.value.to)}};function q2e(t,e,i,o){return new xot(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:t.wholeWord?mQr(e.charCategorizer(e.selection.main.head)):void 0},i,o)}function Dot(t,e){return t.slice(jy(t,e,!1),e)}function Eot(t,e){return t.slice(e,jy(t,e))}function mQr(t){return(e,i,o)=>!o[0].length||(t(Dot(o.input,o.index))!=Im.Word||t(Eot(o.input,o.index))!=Im.Word)&&(t(Eot(o.input,o.index+o[0].length))!=Im.Word||t(Dot(o.input,o.index+o[0].length))!=Im.Word)}var Szt=class extends vot{nextMatch(e,i,o){let r=q2e(this.spec,e,o,e.doc.length).next();return r.done&&(r=q2e(this.spec,e,0,i).next()),r.done?null:r.value}prevMatchInRange(e,i,o){for(let r=1;;r++){let n=Math.max(i,o-r*1e4),a=q2e(this.spec,e,n,o),s=null;for(;!a.next().done;)s=a.value;if(s&&(n==i||s.from>n+10))return s;if(n==i)return null}}prevMatch(e,i,o){return this.prevMatchInRange(e,0,i)||this.prevMatchInRange(e,o,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g,(i,o)=>o=="$"?"$":o=="&"?e.match[0]:o!="0"&&+o<e.match.length?e.match[o]:i)}matchAll(e,i){let o=q2e(this.spec,e,0,e.doc.length),r=[];for(;!o.next().done;){if(r.length>=i)return null;r.push(o.value)}return r}highlight(e,i,o,r){let n=q2e(this.spec,e,Math.max(0,i-250),Math.min(o+250,e.doc.length));for(;!n.next().done;)r(n.value.from,n.value.to)}},zLe=Fs.define(),vzt=Fs.define(),$$=B1.define({create(t){return new BLe(Mzt(t).create(),null)},update(t,e){for(let i of e.effects)i.is(zLe)?t=new BLe(i.value.create(),t.panel):i.is(vzt)&&(t=new BLe(t.query,i.value?Dzt:null));return t},provide:t=>kse.from(t,e=>e.panel)});var BLe=class{constructor(e,i){this.query=e,this.panel=i}},hQr=ra.mark({class:"cm-searchMatch"}),fQr=ra.mark({class:"cm-searchMatch cm-searchMatch-selected"}),gQr=e1.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field($$))}update(t){let e=t.state.field($$);(e!=t.startState.field($$)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return ra.none;let{view:i}=this,o=new nk;for(let r=0,n=i.visibleRanges,a=n.length;r<a;r++){let{from:s,to:l}=n[r];for(;r<a-1&&l>n[r+1].from-500;)l=n[++r].to;t.highlight(i.state,s,l,(c,d)=>{let u=i.state.selection.ranges.some(p=>p.from==c&&p.to==d);o.add(c,d,u?fQr:hQr)})}return o.finish()}},{decorations:t=>t.decorations});function FLe(t){return e=>{let i=e.state.field($$,!1);return i&&i.query.spec.valid?t(e,i):zyo(e)}}var Aot=FLe((t,{query:e})=>{let{to:i}=t.state.selection.main,o=e.nextMatch(t.state,i,i);if(!o)return!1;let r=Fo.single(o.from,o.to),n=t.state.facet(X2e);return t.dispatch({selection:r,effects:[Ezt(t,o),n.scrollToMatch(r.main,t)],userEvent:"select.search"}),Byo(t),!0}),Not=FLe((t,{query:e})=>{let{state:i}=t,{from:o}=i.selection.main,r=e.prevMatch(i,o,o);if(!r)return!1;let n=Fo.single(r.from,r.to),a=t.state.facet(X2e);return t.dispatch({selection:n,effects:[Ezt(t,r),a.scrollToMatch(n.main,t)],userEvent:"select.search"}),Byo(t),!0}),bQr=FLe((t,{query:e})=>{let i=e.matchAll(t.state,1e3);return!i||!i.length?!1:(t.dispatch({selection:Fo.create(i.map(o=>Fo.range(o.from,o.to))),userEvent:"select.search.matches"}),!0)}),yQr=({state:t,dispatch:e})=>{let i=t.selection;if(i.ranges.length>1||i.main.empty)return!1;let{from:o,to:r}=i.main,n=[],a=0;for(let s=new eee(t.doc,t.sliceDoc(o,r));!s.next().done;){if(n.length>1e3)return!1;s.value.from==o&&(a=n.length),n.push(Fo.range(s.value.from,s.value.to))}return e(t.update({selection:Fo.create(n,a),userEvent:"select.search.matches"})),!0},Pyo=FLe((t,{query:e})=>{let{state:i}=t,{from:o,to:r}=i.selection.main;if(i.readOnly)return!1;let n=e.nextMatch(i,o,o);if(!n)return!1;let a=[],s,l,c=[];if(n.from==o&&n.to==r&&(l=i.toText(e.getReplacement(n)),a.push({from:n.from,to:n.to,insert:l}),n=e.nextMatch(i,n.from,n.to),c.push(Ir.announce.of(i.phrase("replaced match on line $",i.doc.lineAt(o).number)+"."))),n){let d=a.length==0||a[0].from>=n.to?0:n.to-n.from-l.length;s=Fo.single(n.from-d,n.to-d),c.push(Ezt(t,n)),c.push(i.facet(X2e).scrollToMatch(s.main,t))}return t.dispatch({changes:a,selection:s,effects:c,userEvent:"input.replace"}),!0}),wQr=FLe((t,{query:e})=>{if(t.state.readOnly)return!1;let i=e.matchAll(t.state,1e9).map(r=>{let{from:n,to:a}=r;return{from:n,to:a,insert:e.getReplacement(r)}});if(!i.length)return!1;let o=t.state.phrase("replaced $ matches",i.length)+".";return t.dispatch({changes:i,effects:Ir.announce.of(o),userEvent:"input.replace.all"}),!0});function Dzt(t){return t.state.facet(X2e).createPanel(t)}function Mzt(t,e){var i,o,r,n,a;let s=t.selection.main,l=s.empty||s.to>s.from+100?"":t.sliceDoc(s.from,s.to);if(e&&!l)return e;let c=t.facet(X2e);return new Lot({search:((i=e==null?void 0:e.literal)!==null&&i!==void 0?i:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:(o=e==null?void 0:e.caseSensitive)!==null&&o!==void 0?o:c.caseSensitive,literal:(r=e==null?void 0:e.literal)!==null&&r!==void 0?r:c.literal,regexp:(n=e==null?void 0:e.regexp)!==null&&n!==void 0?n:c.regexp,wholeWord:(a=e==null?void 0:e.wholeWord)!==null&&a!==void 0?a:c.wholeWord})}function jyo(t){let e=Pse(t,Dzt);return e&&e.dom.querySelector("[main-field]")}function Byo(t){let e=jyo(t);e&&e==t.root.activeElement&&e.select()}var zyo=t=>{let e=t.state.field($$,!1);if(e&&e.panel){let i=jyo(t);if(i&&i!=t.root.activeElement){let o=Mzt(t.state,e.query.spec);o.valid&&t.dispatch({effects:zLe.of(o)}),i.focus(),i.select()}}else t.dispatch({effects:[vzt.of(!0),e?zLe.of(Mzt(t.state,e.query.spec)):Fs.appendConfig.of(xQr)]});return!0},Fyo=t=>{let e=t.state.field($$,!1);if(!e||!e.panel)return!1;let i=Pse(t,Dzt);return i&&i.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:vzt.of(!1)}),!0},Uyo=[{key:"Mod-f",run:zyo,scope:"editor search-panel"},{key:"F3",run:Aot,shift:Not,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:Aot,shift:Not,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:Fyo,scope:"editor search-panel"},{key:"Mod-Shift-l",run:yQr},{key:"Mod-Alt-g",run:tQr},{key:"Mod-d",run:uQr,preventDefault:!0}],Izt=class{constructor(e){this.view=e;let i=this.query=e.state.field($$).query.spec;this.commit=this.commit.bind(this),this.searchField=Bp("input",{value:i.search,placeholder:yE(e,"Find"),"aria-label":yE(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Bp("input",{value:i.replace,placeholder:yE(e,"Replace"),"aria-label":yE(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=Bp("input",{type:"checkbox",name:"case",form:"",checked:i.caseSensitive,onchange:this.commit}),this.reField=Bp("input",{type:"checkbox",name:"re",form:"",checked:i.regexp,onchange:this.commit}),this.wordField=Bp("input",{type:"checkbox",name:"word",form:"",checked:i.wholeWord,onchange:this.commit});function o(r,n,a){return Bp("button",{class:"cm-button",name:r,onclick:n,type:"button"},a)}this.dom=Bp("div",{onkeydown:r=>this.keydown(r),class:"cm-search"},[this.searchField,o("next",()=>Aot(e),[yE(e,"next")]),o("prev",()=>Not(e),[yE(e,"previous")]),o("select",()=>bQr(e),[yE(e,"all")]),Bp("label",null,[this.caseField,yE(e,"match case")]),Bp("label",null,[this.reField,yE(e,"regexp")]),Bp("label",null,[this.wordField,yE(e,"by word")]),...e.state.readOnly?[]:[Bp("br"),this.replaceField,o("replace",()=>Pyo(e),[yE(e,"replace")]),o("replaceAll",()=>wQr(e),[yE(e,"replace all")])],Bp("button",{name:"close",onclick:()=>Fyo(e),"aria-label":yE(e,"close"),type:"button"},["\xD7"])])}commit(){let e=new Lot({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:zLe.of(e)}))}keydown(e){Zgo(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?Not:Aot)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),Pyo(this.view))}update(e){for(let i of e.transactions)for(let o of i.effects)o.is(zLe)&&!o.value.eq(this.query)&&this.setQuery(o.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(X2e).top}};function yE(t,e){return t.state.phrase(e)}var wot=30,Cot=/[\s\.,:;?!]/;function Ezt(t,{from:e,to:i}){let o=t.state.doc.lineAt(e),r=t.state.doc.lineAt(i).to,n=Math.max(o.from,e-wot),a=Math.min(r,i+wot),s=t.state.sliceDoc(n,a);if(n!=o.from){for(let l=0;l<wot;l++)if(!Cot.test(s[l+1])&&Cot.test(s[l])){s=s.slice(l);break}}if(a!=r){for(let l=s.length-1;l>s.length-wot;l--)if(!Cot.test(s[l-1])&&Cot.test(s[l])){s=s.slice(0,l);break}}return Ir.announce.of(`${t.state.phrase("current match")}. ${s} ${t.state.phrase("on line")} ${o.number}.`)}var CQr=Ir.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),xQr=[$$,hE.low(gQr),CQr];var Azt=class{constructor(e,i,o){this.from=e,this.to=i,this.diagnostic=o}},Yse=class t{constructor(e,i,o){this.diagnostics=e,this.panel=i,this.selected=o}static init(e,i,o){let r=e,n=o.facet(wW).markerFilter;n&&(r=n(r,o));let a=ra.set(r.map(s=>s.from==s.to||s.from==s.to-1&&o.doc.lineAt(s.from).to==s.from?ra.widget({widget:new Nzt(s),diagnostic:s}).range(s.from):ra.mark({attributes:{class:"cm-lintRange cm-lintRange-"+s.severity+(s.markClass?" "+s.markClass:"")},diagnostic:s,inclusive:!0}).range(s.from,s.to)),!0);return new t(a,i,$2e(a))}};function $2e(t,e=null,i=0){let o=null;return t.between(i,1e9,(r,n,{spec:a})=>{if(!(e&&a.diagnostic!=e))return o=new Azt(r,n,a.diagnostic),!1}),o}function Gyo(t,e){let i=e.pos,o=e.end||i,r=t.state.facet(wW).hideOn(t,i,o);if(r!=null)return r;let n=t.startState.doc.lineAt(e.pos);return!!(t.effects.some(a=>a.is(Rot))||t.changes.touchesRange(n.from,Math.max(n.to,o)))}function Yyo(t,e){return t.field(wE,!1)?e:e.concat(Fs.appendConfig.of(PQr))}function TQr(t,e){return{effects:Yyo(t,[Rot.of(e)])}}var Rot=Fs.define(),Pzt=Fs.define(),Wyo=Fs.define(),wE=B1.define({create(){return new Yse(ra.none,null,null)},update(t,e){if(e.docChanged&&t.diagnostics.size){let i=t.diagnostics.map(e.changes),o=null,r=t.panel;if(t.selected){let n=e.changes.mapPos(t.selected.from,1);o=$2e(i,t.selected.diagnostic,n)||$2e(i,null,n)}!i.size&&r&&e.state.facet(wW).autoPanel&&(r=null),t=new Yse(i,r,o)}for(let i of e.effects)if(i.is(Rot)){let o=e.state.facet(wW).autoPanel?i.value.length?ULe.open:null:t.panel;t=Yse.init(i.value,o,e.state)}else i.is(Pzt)?t=new Yse(t.diagnostics,i.value?ULe.open:null,t.selected):i.is(Wyo)&&(t=new Yse(t.diagnostics,t.panel,i.value));return t},provide:t=>[kse.from(t,e=>e.panel),Ir.decorations.from(t,e=>e.diagnostics)]});var SQr=ra.mark({class:"cm-lintRange cm-lintRange-active",inclusive:!0});function MQr(t,e,i){let{diagnostics:o}=t.state.field(wE),r=[],n=2e8,a=0;o.between(e-(i<0?1:0),e+(i>0?1:0),(l,c,{spec:d})=>{e>=l&&e<=c&&(l==c||(e>l||i>0)&&(e<c||i<0))&&(r.push(d.diagnostic),n=Math.min(l,n),a=Math.max(c,a))});let s=t.state.facet(wW).tooltipFilter;return s&&(r=s(r,t.state)),r.length?{pos:n,end:a,above:t.state.doc.lineAt(n).to<a,create(){return{dom:Qyo(t,r)}}}:null}function Qyo(t,e){return Bp("ul",{class:"cm-tooltip-lint"},e.map(i=>Jyo(t,i,!1)))}var IQr=t=>{let e=t.state.field(wE,!1);(!e||!e.panel)&&t.dispatch({effects:Yyo(t.state,[Pzt.of(!0)])});let i=Pse(t,ULe.open);return i&&i.dom.querySelector(".cm-panel-lint ul").focus(),!0},Vyo=t=>{let e=t.state.field(wE,!1);return!e||!e.panel?!1:(t.dispatch({effects:Pzt.of(!1)}),!0)},LQr=t=>{let e=t.state.field(wE,!1);if(!e)return!1;let i=t.state.selection.main,o=e.diagnostics.iter(i.to+1);return!o.value&&(o=e.diagnostics.iter(0),!o.value||o.from==i.from&&o.to==i.to)?!1:(t.dispatch({selection:{anchor:o.from,head:o.to},scrollIntoView:!0}),!0)};var Kyo=[{key:"Mod-Shift-m",run:IQr,preventDefault:!0},{key:"F8",run:LQr}],C3d=e1.fromClass(class{constructor(t){this.view=t,this.timeout=-1,this.set=!0;let{delay:e}=t.state.facet(wW);this.lintTime=Date.now()+e,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,e)}run(){clearTimeout(this.timeout);let t=Date.now();if(t<this.lintTime-10)this.timeout=setTimeout(this.run,this.lintTime-t);else{this.set=!1;let{state:e}=this.view,{sources:i}=e.facet(wW);i.length&&Promise.all(i.map(o=>Promise.resolve(o(this.view)))).then(o=>{let r=o.reduce((n,a)=>n.concat(a));this.view.state.doc==e.doc&&this.view.dispatch(TQr(this.view.state,r))},o=>{Tw(this.view.state,o)})}}update(t){let e=t.state.facet(wW);(t.docChanged||e!=t.startState.facet(wW)||e.needsRefresh&&e.needsRefresh(t))&&(this.lintTime=Date.now()+e.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,e.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),wW=un.define({combine(t){return Object.assign({sources:t.map(e=>e.source).filter(e=>e!=null)},hx(t.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(e,i)=>e?i?o=>e(o)||i(o):e:i}))}});function Zyo(t){let e=[];if(t)e:for(let{name:i}of t){for(let o=0;o<i.length;o++){let r=i[o];if(/[a-zA-Z]/.test(r)&&!e.some(n=>n.toLowerCase()==r.toLowerCase())){e.push(r);continue e}}e.push("")}return e}function Jyo(t,e,i){var o;let r=i?Zyo(e.actions):[];return Bp("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},Bp("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage(t):e.message),(o=e.actions)===null||o===void 0?void 0:o.map((n,a)=>{let s=!1,l=p=>{if(p.preventDefault(),s)return;s=!0;let m=$2e(t.state.field(wE).diagnostics,e);m&&n.apply(t,m.from,m.to)},{name:c}=n,d=r[a]?c.indexOf(r[a]):-1,u=d<0?c:[c.slice(0,d),Bp("u",c.slice(d,d+1)),c.slice(d+1)];return Bp("button",{type:"button",class:"cm-diagnosticAction",onclick:l,onmousedown:l,"aria-label":` Action: ${c}${d<0?"":` (access key "${r[a]})"`}.`},u)}),e.source&&Bp("div",{class:"cm-diagnosticSource"},e.source))}var Nzt=class extends mL{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return Bp("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}},Oot=class{constructor(e,i){this.diagnostic=i,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=Jyo(e,i,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}},ULe=class t{constructor(e){this.view=e,this.items=[];let i=r=>{if(r.keyCode==27)Vyo(this.view),this.view.focus();else if(r.keyCode==38||r.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(r.keyCode==40||r.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(r.keyCode==36)this.moveSelection(0);else if(r.keyCode==35)this.moveSelection(this.items.length-1);else if(r.keyCode==13)this.view.focus();else if(r.keyCode>=65&&r.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:n}=this.items[this.selectedIndex],a=Zyo(n.actions);for(let s=0;s<a.length;s++)if(a[s].toUpperCase().charCodeAt(0)==r.keyCode){let l=$2e(this.view.state.field(wE).diagnostics,n);l&&n.actions[s].apply(e,l.from,l.to)}}else return;r.preventDefault()},o=r=>{for(let n=0;n<this.items.length;n++)this.items[n].dom.contains(r.target)&&this.moveSelection(n)};this.list=Bp("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:i,onclick:o}),this.dom=Bp("div",{class:"cm-panel-lint"},this.list,Bp("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>Vyo(this.view)},"\xD7")),this.update()}get selectedIndex(){let e=this.view.state.field(wE).selected;if(!e)return-1;for(let i=0;i<this.items.length;i++)if(this.items[i].diagnostic==e.diagnostic)return i;return-1}update(){let{diagnostics:e,selected:i}=this.view.state.field(wE),o=0,r=!1,n=null;for(e.between(0,this.view.state.doc.length,(a,s,{spec:l})=>{let c=-1,d;for(let u=o;u<this.items.length;u++)if(this.items[u].diagnostic==l.diagnostic){c=u;break}c<0?(d=new Oot(this.view,l.diagnostic),this.items.splice(o,0,d),r=!0):(d=this.items[c],c>o&&(this.items.splice(o,c-o),r=!0)),i&&d.diagnostic==i.diagnostic?d.dom.hasAttribute("aria-selected")||(d.dom.setAttribute("aria-selected","true"),n=d):d.dom.hasAttribute("aria-selected")&&d.dom.removeAttribute("aria-selected"),o++});o<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)r=!0,this.items.pop();this.items.length==0&&(this.items.push(new Oot(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),r=!0),n?(this.list.setAttribute("aria-activedescendant",n.id),this.view.requestMeasure({key:this,read:()=>({sel:n.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:a,panel:s})=>{let l=s.height/this.list.offsetHeight;a.top<s.top?this.list.scrollTop-=(s.top-a.top)/l:a.bottom>s.bottom&&(this.list.scrollTop+=(a.bottom-s.bottom)/l)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function i(){let o=e;e=o.nextSibling,o.remove()}for(let o of this.items)if(o.dom.parentNode==this.list){for(;e!=o.dom;)i();e=o.dom.nextSibling}else this.list.insertBefore(o.dom,e);for(;e;)i()}moveSelection(e){if(this.selectedIndex<0)return;let i=this.view.state.field(wE),o=$2e(i.diagnostics,this.items[e].diagnostic);o&&this.view.dispatch({selection:{anchor:o.from,head:o.to},scrollIntoView:!0,effects:Wyo.of(o)})}static open(e){return new t(e)}};function Pot(t,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${e}>${encodeURIComponent(t)}</svg>')`}function kot(t){return Pot(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${t}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}var vQr=Ir.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:kot("#d11")},".cm-lintRange-warning":{backgroundImage:kot("orange")},".cm-lintRange-info":{backgroundImage:kot("#999")},".cm-lintRange-hint":{backgroundImage:kot("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});function Hyo(t){return t=="error"?4:t=="warning"?3:t=="info"?2:1}var kzt=class extends hL{constructor(e){super(),this.diagnostics=e,this.severity=e.reduce((i,o)=>Hyo(i)<Hyo(o.severity)?o.severity:i,"hint")}toDOM(e){let i=document.createElement("div");i.className="cm-lint-marker cm-lint-marker-"+this.severity;let o=this.diagnostics,r=e.state.facet(Rzt).tooltipFilter;return r&&(o=r(o,e.state)),o.length&&(i.onmouseover=()=>EQr(e,i,o)),i}};function DQr(t,e){let i=o=>{let r=e.getBoundingClientRect();if(!(o.clientX>r.left-10&&o.clientX<r.right+10&&o.clientY>r.top-10&&o.clientY<r.bottom+10)){for(let n=o.target;n;n=n.parentNode)if(n.nodeType==1&&n.classList.contains("cm-tooltip-lint"))return;window.removeEventListener("mousemove",i),t.state.field(kQr)&&t.dispatch({effects:Ozt.of(null)})}};window.addEventListener("mousemove",i)}function EQr(t,e,i){function o(){let a=t.elementAtHeight(e.getBoundingClientRect().top+5-t.documentTop);t.coordsAtPos(a.from)&&t.dispatch({effects:Ozt.of({pos:a.from,above:!1,create(){return{dom:Qyo(t,i),getCoords:()=>e.getBoundingClientRect()}}})}),e.onmouseout=e.onmousemove=null,DQr(t,e)}let{hoverTime:r}=t.state.facet(Rzt),n=setTimeout(o,r);e.onmouseout=()=>{clearTimeout(n),e.onmouseout=e.onmousemove=null},e.onmousemove=()=>{clearTimeout(n),n=setTimeout(o,r)}}function AQr(t,e){let i=Object.create(null);for(let r of e){let n=t.lineAt(r.from);(i[n.from]||(i[n.from]=[])).push(r)}let o=[];for(let r in i)o.push(new kzt(i[r]).range(+r));return x0.of(o,!0)}var x3d=Rit({class:"cm-gutter-lint",markers:t=>t.state.field(NQr)}),NQr=B1.define({create(){return x0.empty},update(t,e){t=t.map(e.changes);let i=e.state.facet(Rzt).markerFilter;for(let o of e.effects)if(o.is(Rot)){let r=o.value;i&&(r=i(r||[],e.state)),t=AQr(e.state.doc,r.slice(0))}return t}}),Ozt=Fs.define(),kQr=B1.define({create(){return null},update(t,e){return t&&e.docChanged&&(t=Gyo(e,t)?null:Object.assign(Object.assign({},t),{pos:e.changes.mapPos(t.pos)})),e.effects.reduce((i,o)=>o.is(Ozt)?o.value:i,t)},provide:t=>j2e.from(t)}),T3d=Ir.baseTheme({".cm-gutter-lint":{width:"1.4em","& .cm-gutterElement":{padding:".2em"}},".cm-lint-marker":{width:"1em",height:"1em"},".cm-lint-marker-info":{content:Pot('<path fill="#aaf" stroke="#77e" stroke-width="6" stroke-linejoin="round" d="M5 5L35 5L35 35L5 35Z"/>')},".cm-lint-marker-warning":{content:Pot('<path fill="#fe8" stroke="#fd7" stroke-width="6" stroke-linejoin="round" d="M20 6L37 35L3 35Z"/>')},".cm-lint-marker-error":{content:Pot('<circle cx="20" cy="20" r="15" fill="#f87" stroke="#f43" stroke-width="6"/>')}}),PQr=[wE,Ir.decorations.compute([wE],t=>{let{selected:e,panel:i}=t.field(wE);return!e||!i||e.from==e.to?ra.none:ra.set([SQr.range(e.from,e.to)])}),a2o(MQr,{hideOn:Gyo}),vQr],Rzt=un.define({combine(t){return hx(t,{hoverTime:300,markerFilter:null,tooltipFilter:null})}});var _ot=[d2o(),u2o(),qjt(),BBt(),H2o(),Jjt(),i2o(),vd.allowMultipleSelections.of(!0),O2o(),ELe(EBt,{fallback:!0}),K2o(),myo(),yyo(),r2o(),n2o(),o2o(),_yo(),YO.of([...gyo,...Use,...Uyo,...zBt,...F2o,...wzt,...Kyo])],k3d=[qjt(),BBt(),Jjt(),ELe(EBt,{fallback:!0}),YO.of([...Use,...zBt])];var Wse=`// \u5F53\u524D\u4E3A\u65E9\u671F\u5F00\u53D1\u9636\u6BB5\uFF0C\u4EE5\u4E0B\u6240\u4F7F\u7528\u4E4B API \u63A5\u53E3\u5E76\u975E\u6700\u7EC8\u7248\u672C
// \u53EF\u80FD\u8DDF\u968F\u5F00\u53D1\u5468\u671F\u53D1\u751F\u7834\u574F\u6027\u66F4\u6539\uFF0C\u8BF7\u4EC5\u7528\u4E8E\u5F00\u53D1\u6D4B\u8BD5
// \u8C03\u7528\u5609\u7ACB\u521B EDA \u4E13\u4E1A\u7248\u6269\u5C55 API \u793A\u4F8B\u4EE3\u7801
eda.sys_MessageBox.showConfirmationMessage('\u4F60\u662F\u5426\u8981\u83B7\u53D6\u5F53\u524D\u8BED\u8A00\uFF1F', '\u83B7\u53D6\u5F53\u524D\u8BED\u8A00', '\u8981\u7684\u8981\u7684', '\u6211\u4E0D\u8981\uFF01', async mainButtonClicked => {
	if (mainButtonClicked) {
		eda.sys_MessageBox.showInformationMessage(await eda.sys_I18n.getCurrentLanguage(), '\u5F53\u524D\u8BED\u8A00');
	} else {
		eda.sys_ToastMessage.showMessage('\u4E0D\u8981\u5C31\u4E0D\u8981', 2);
	}
});
`;var qyo=L($de()),bx=L(z());var OQr=t=>{let e=be.bind(_zt.default.locals);Ae(_zt.default);let{containerId:i}=t,o=J(),[r,n]=(0,ZO.useState)(Wse),a=[{key:"save",text:o({context:"extensionApi",value:"Save Script"}),show:!0},{key:"delete",text:o({context:"extensionApi",value:"Delete Selected"}),show:!0}],s=[{key:"run",text:o({context:"extensionApi",value:"Run Script"}),show:!0},{key:"close",text:o({context:"extensionApi",value:"Close"}),show:!0}],l=(0,ZO.useRef)(null),c=(0,ZO.useRef)(null),d=(0,ZO.useRef)(null);(0,ZO.useEffect)(()=>{let g={key:"Ctrl-s",run:({state:b,dispatch:y})=>(p(),!0)};return WM.userScriptEditor=new Ir({state:vd.create({extensions:[lot,_ot,YO.of([...Use,aot,g]),yot(),vd.allowMultipleSelections.of(!1),vd.tabSize.of(4),vd.readOnly.of(!1),Ir.editable.of(!0)],doc:r}),parent:l.current}),()=>{WM.userScriptEditor.destroy()}},[r]),(0,ZO.useEffect)(()=>(c.current.addEventListener("keydown",g=>{g.stopPropagation()},!1),()=>{try{c.current.removeEventListener("keydown",g=>{g.stopPropagation()},!1)}catch{}}),[]),Ce(Xm),Ce(WM);let u=(0,ZO.useMemo)(()=>[{key:"userScriptName",width:.6,name:o({context:"extensionApi",value:"Script Name"}),sortable:!0,filter:!0},{key:"userScriptKey",width:.4,name:o({context:"extensionApi",value:"Script ID"})}],[]);function p(){let g=d.current.value,b=WM.userScriptEditor.state.doc.toString();if(C.extensionApiMessageBus2.publish("extensionApi.userScript",{operation:"save",userScript:b,userScriptName:g}),g){let y=(0,qyo.default)(g);Xm.setLine({userScriptName:g,userScriptKey:y,userScript:b}),Xm.selectedStandaloneScript={userScriptName:g,userScriptKey:y,userScript:b}}}function m(g){switch(g){case"save":p();break;case"delete":Xm.selectedStandaloneScript&&(C.extensionApiMessageBus2.publish("extensionApi.userScript",{operation:"delete",userScriptKey:Xm.selectedStandaloneScript.userScriptKey}),Xm.deleteLine(Xm.selectedStandaloneScript.userScriptKey),Xm.selectedStandaloneScript=void 0,Xm.selectedCol=void 0);break}}function h(g){switch(g){case"run":C.extensionApiMessageBus2.publish("extensionApi.userScript",{operation:"run",userScript:WM.userScriptEditor.state.doc.toString()});break;case"close":Xm.selectedStandaloneScript=void 0,Xm.selectedCol=void 0,le.close(i);break}}function f(g){if(Xm.selectedStandaloneScript=g.row,Xm.selectedCol=g.clickObj.colKey,Xm.selectedStandaloneScript&&Xm.selectedCol){for(let b of Xm.standaloneScriptList)b.userScriptKey===Xm.selectedStandaloneScript.userScriptKey&&(Xm.selectedStandaloneScript.userScript=b.userScript);d.current.value=Xm.selectedStandaloneScript.userScriptName,n(Xm.selectedStandaloneScript.userScript)}}return(0,bx.jsxs)("div",{children:[(0,bx.jsx)("div",{className:e("pop-content-wrapper"),children:(0,bx.jsx)(xi,{index:"userScriptName",height:WM.tableHeight,rows:Xm.standaloneScriptList,columns:u,rowHeight:WM.rowHeight,headHeight:WM.headHeight,border:!0,stockade:!0,moveAble:!0,resize:!1,onClick:g=>f(g)})}),(0,bx.jsxs)("div",{className:e("pop-footer-wrapper dialog-button"),style:{textAlign:"right",marginBottom:"16px"},children:[(0,bx.jsx)("span",{style:{width:"86px",display:"inline-flex"},children:o({context:"extensionApi",value:"Script Name"})}),(0,bx.jsx)("input",{ref:d,style:{width:"300px"},type:"text"}),(0,bx.jsx)("span",{style:{width:"50px",display:"inline-flex"}}),a.map((g,b)=>{let{key:y,text:w,show:x}=g;if(!x)return null;let S={};switch(y){case"save":S={marginRight:"16px"};break;case"delete":S={background:"#fff",color:" #1890ff",border:"1px solid #d9d9d9",outline:"none"};break}return(0,bx.jsx)(Me,{type:"primary",style:S,onClick:()=>m(y),children:w},b)})]}),(0,bx.jsxs)("div",{className:e("pop-content-wrapper"),children:[(0,bx.jsx)("div",{style:{marginBottom:"16px"},children:(0,bx.jsx)("span",{children:o({context:"extensionApi",value:"Please enter or double-click to select the script content you want to edit/execute, and call the EDA Professional Extension API."})})}),(0,bx.jsx)("div",{ref:c,style:{maxHeight:201,overflow:"auto"},children:(0,bx.jsx)("div",{ref:l})})]}),(0,bx.jsx)("div",{className:e("pop-footer-wrapper dialog-button"),style:{textAlign:"right"},children:s.map((g,b)=>{let{key:y,text:w,show:x}=g;if(!x)return null;let S={};switch(y){case"run":S={marginRight:"16px"};break;case"close":S={background:"#fff",color:" #1890ff",border:"1px solid #d9d9d9",outline:"none"};break}return(0,bx.jsx)(Me,{type:"primary",style:S,onClick:()=>h(y),children:w},b)})})]})},Xyo=OQr;var t4o=L(z()),$yo=async function(t,e){let i=bt[t],{containerId:o,title:r,width:n,closed:a,mask:s,esc:l}=i;le.open({id:o,title:r,width:n,closed:a,mask:s,esc:l,children:(0,t4o.jsx)(Xyo,{containerId:o})})};async function e4o(){Xm.selectedStandaloneScript=void 0,Xm.selectedCol=void 0,await ii("extapi_standalone_script",{})}var fwo=L(Se());var TE=L(Se());var K3o=L(CW());var Bot=class extends C7{constructor(){super()}async whenRowItemChange(e,i){this.hightlightIds=[],this.symbolItem=null,this.isShowLoading=!0,await this.getSymbolItemRes(e,i),this.isShowLoading=!1}async getSymbolItemRes(e,i){try{try{this.symbolItem=await Ze.getSymbol({isProject:i===C.currentProject.projectId,path:i,uuid:e})}catch(o){this.symbolItem=null,o!=null&&o.message&&De({type:"warn",msg:o.message})}}catch{De({type:"error",msg:"Failed to get data"})}}};var zot=class extends eB{constructor(){super()}};var Fot=class extends b1e{constructor(){super(),this.d3ModelItemId="",this.isCouldLoadIframe=!0}async whenRowItemChange(e,i){this.isShowLoading=!0,this.isCouldLoadIframe||(this.isCouldLoadIframe=!0),this.d3ModelItemId=e,await this.getD3ModelItemRes(e),this.d3modelTransform=i,this.isShowLoading=!1}async getD3ModelItemRes(e){let i=await As.fetchD3ModelItemHandle(e);i?this.d3modelItem=i:(this.d3modelItem=null,i||De({type:"warn",msg:"Data not found"}))}};var Uot=class extends qe{constructor(i){super();this._rawTableData=null;this._tableData=null;this._tableSearceValue="";this._currentClickRowData=null;this._rawTableData=i,this._currentClickRowData=i.find(o=>o.checked===!0),this._tableData=i.map(o=>this._currentClickRowData&&this._currentClickRowData.rowUniqueFlag===o.rowUniqueFlag?{...o,bgColor:"var(--bg-color-selected-tr)"}:{...o,bgColor:"var(--bg-color-table-row)"}),this._tableSearceValue=""}set rawTableData(i){this._rawTableData=i}get rawTableData(){return this._rawTableData}set tableData(i){this._tableData=i,this.notify()}get tableData(){return this._tableData}set currentClickRowData(i){this._currentClickRowData=i,this.notify()}get currentClickRowData(){return this._currentClickRowData}get tableSearceValue(){return this._tableSearceValue}set tableSearceValue(i){if(this._tableSearceValue=i,this._tableSearceValue&&this._rawTableData){let o=new Map,r=this._tableSearceValue.toUpperCase(),n=["displayDesignator","displayComment","displayFootprint"];this._rawTableData.forEach(s=>{n.forEach(l=>{s[l]&&s[l]!==""&&s[l].toUpperCase().includes(r)&&(o.has(s.rowUniqueFlag)||o.set(s.rowUniqueFlag,s))})});let a=[];o.forEach(s=>{a.push(s)}),this._tableData=a}else this._tableData=this._rawTableData;this.notify()}};var G3o=L(Vi()),Y3o=L(H3o());var GQr={children:[{id:"Milimeter_kilogram_second",title:"Milimeter_kilogram_second"},{id:"Meter_kilogram_second",title:"Meter_kilogram_second"},{id:"Milimeter_gram_second",title:"Milimeter_gram_second"}]},YQr={children:[{id:"exa",title:"exa"},{id:"peta",title:"peta"},{id:"tera",title:"tera"},{id:"giga",title:"giga"},{id:"mega",title:"mega"},{id:"kilo",title:"kilo"},{id:"hecto",title:"hecto"},{id:"deca",title:"deca"},{id:"deci",title:"deci"},{id:"centi",title:"centi"},{id:"milli",title:"milli"},{id:"micro",title:"micro"},{id:"nano",title:"nano"},{id:"pico",title:"pico"},{id:"femto",title:"femto"},{id:"atto",title:"atto"}]},WQr={children:[{id:"metre,m",title:"metre,m"},{id:"gram,g",title:"gram,g"},{id:"second,s",title:"second,s"},{id:"ampere,A",title:"ampere,A"},{id:"kelvin,K",title:"kelvin,K"},{id:"mole,mol",title:"mole,mol"},{id:"candela,cd",title:"candela,cd"},{id:"radian,rad",title:"radian,rad"},{id:"steradian,sr",title:"steradian,sr"},{id:"hertz,Hz",title:"hertz,Hz"},{id:"newton,N",title:"newton,N"},{id:"pascal,Pa",title:"pascal,Pa"},{id:"joule,J",title:"joule,J"},{id:"watt,W",title:"watt,W"},{id:"coulomb,C",title:"coulomb,C"},{id:"volt,V",title:"volt,V"},{id:"farad,F",title:"farad,F"},{id:"ohm,\u03A9",title:"ohm,\u03A9"},{id:"siemens,S",title:"siemens,S"},{id:"weber,Wb",title:"weber,Wb"},{id:"tesla,T",title:"tesla,T"},{id:"henry,H",title:"henry,H"},{id:"degree_celsius",title:"degree_celsius"},{id:"lumen,lm",title:"lumen,lm"},{id:"lux,lx",title:"lux,lx"},{id:"becquerel,Bq",title:"becquerel,Bq"},{id:"gray,Gy",title:"gray,Gy"},{id:"sievert,Sv",title:"sievert,Sv"},{id:"meter second,ms",title:"meter second,ms"},{id:"gray per second",title:"gray per second"},{id:"metre per square second",title:"metre per square second"},{id:"radian per square second",title:"radian per square second"},{id:"gram square metre per second",title:"gram square metre per second"},{id:"radian per second",title:"radian per second"},{id:"square metre",title:"square metre"},{id:"gram per square metre",title:"gram per square metre"},{id:"newton radian",title:"newton radian"},{id:"joule per mole",title:"joule per mole"},{id:"ampere per square metre",title:"ampere per square metre"},{id:"pascal metre",title:"pascal metre"},{id:"coulomb per cubic metre",title:"coulomb per cubic metre"},{id:"coulomb per square metre",title:"coulomb per square metre"},{id:"volt per metre",title:"volt per metre"},{id:"ohm metre",title:"ohm metre"},{id:"joule per cubic metre",title:"joule per cubic metre"},{id:"joule per kelvin",title:"joule per kelvin"},{id:"watt per square metre",title:"watt per square metre"},{id:"meter per cubic second",title:"meter per cubic second"},{id:"gram per metre",title:"gram per metre"},{id:"ampere per metre",title:"ampere per metre"},{id:"gram per cubic metre",title:"gram per cubic metre"},{id:"mole per cubic metre",title:"mole per cubic metre"},{id:"joule per mole",title:"joule per mole"},{id:"joule per kelvin per mole",title:"joule per kelvin per mole"},{id:"gram square metre",title:"gram square metre"},{id:"gram metre per second",title:"gram metre per second"},{id:"henry per metre",title:"henry per metre"},{id:"farad per metre",title:"farad per metre"},{id:"watt per square metre per steradian",title:"watt per square metre per steradian"},{id:"watt per steradian",title:"watt per steradian"},{id:"mole per cubic metre per second",title:"mole per cubic metre per second"},{id:"per henry",title:"per henry"},{id:"joule per gram",title:"joule per gram"},{id:"joule per kelvin per gram",title:"joule per kelvin per gram"},{id:"cubic metre per gram",title:"cubic metre per gram"},{id:"gram square metre per second",title:"gram square metre per second"},{id:"newton per metre",title:"newton per metre"},{id:"joule per square metre",title:"joule per square metre"},{id:"kelvin per metre",title:"kelvin per metre"},{id:"watt per kelvin",title:"watt per kelvin"},{id:"watt per metre per kelvin",title:"watt per metre per kelvin"},{id:"kelvin per watt",title:"kelvin per watt"},{id:"kelvin metre per watt",title:"kelvin metre per watt"},{id:"metre per second",title:"metre per second"},{id:"cubic metre",title:"cubic metre"},{id:"cubic metre per second",title:"cubic metre per second"},{id:"newton metre",title:"newton metre"}]},QQr={children:[{id:"NPTH_through_hole",title:"NPTH_through_hole"},{id:"PTH_through_hole",title:"PTH_through_hole"},{id:"Blind_via",title:"Blind_via"},{id:"Buried_via",title:"Buried_via"}]},KQr={children:[{id:"R",title:"R"},{id:"B",title:"B"},{id:"G",title:"G"},{id:"J",title:"J"},{id:"J1",title:"J1"},{id:"I",title:"I"},{id:"L",title:"L"},{id:"L1",title:"L1"},{id:"F",title:"F"},{id:"T",title:"T"},{id:"PF",title:"PF"},{id:"N",title:"N"},{id:"Y",title:"Y"},{id:"NG",title:"NG"},{id:"NI",title:"NI"},{id:"NT",title:"NT"}]},ZQr={children:[{id:"Class 0",title:"Class 0"},{id:"Class 1A",title:"Class 1A"},{id:"Class 1B",title:"Class 1B"},{id:"Class 1C",title:"Class 1C"},{id:"Class 2",title:"Class 2"},{id:"Class 3A",title:"Class 3A"},{id:"Class 3B",title:"Class 3B"}]},JQr={children:[{id:"Class C1",title:"Class C1"},{id:"Class C2",title:"Class C2"},{id:"Class C3",title:"Class C3"},{id:"Class C4",title:"Class C4"},{id:"Class C5",title:"Class C5"},{id:"Class C6",title:"Class C6"},{id:"Class C7",title:"Class C7"}]},qQr={children:[{id:"WSL_W0",title:"WSL_W0"},{id:"WSL_W1",title:"WSL_W1"},{id:"WSL_W2",title:"WSL_W2"},{id:"WSL_W3",title:"WSL_W3"},{id:"WSL_W4",title:"WSL_W4"},{id:"WSL_W5",title:"WSL_W5"},{id:"WSL_W6",title:"WSL_W6"},{id:"WSL_W7",title:"WSL_W7"},{id:"WSL_W8",title:"WSL_W8"},{id:"WSL_W9",title:"WSL_W9"},{id:"PSL_R0",title:"PSL_R0"},{id:"PSL_R1",title:"PSL_R1"},{id:"PSL_R2",title:"PSL_R2"},{id:"PSL_R3",title:"PSL_R3"},{id:"PSL_R4",title:"PSL_R4"},{id:"PSL_R5",title:"PSL_R5"},{id:"PSL_R6",title:"PSL_R6"},{id:"PSL_R7",title:"PSL_R7"},{id:"PSL_R8",title:"PSL_R8"},{id:"PSL_R9",title:"PSL_R9"}]},XQr={children:[{id:"Level1",title:"Level1"},{id:"Level2",title:"Level2"},{id:"Level2a",title:"Level2a"},{id:"Level3",title:"Level3"},{id:"Level4",title:"Level4"},{id:"Level5",title:"Level5"},{id:"Level5a",title:"Level5a"},{id:"Level6",title:"Level6"}]},$Qr={children:[{id:"Centigrade_125_for_24_hrs",title:"Centigrade_125_for_24_hrs"},{id:"Centigrade_45_for_192_hrs",title:"Centigrade_45_for_192_hrs"}]},eKr={children:[{id:"Centigrade_60",title:"Centigrade_60"},{id:"Centigrade_80",title:"Centigrade_80"}]},tKr={children:[{id:"EIA481",title:"EIA481"},{id:"JEDEC",title:"JEDEC"},{id:"Other",title:"Other"}]},iKr={children:[{id:"Tape_reel",title:"Tape_reel"},{id:"Tube",title:"Tube"},{id:"Hard_tray",title:"Hard_tray"},{id:"Soft_tray",title:"Soft_tray"},{id:"Braided_tape",title:"Braided_tape"},{id:"Bulk",title:"Bulk"},{id:"Other",title:"Other"}]},oKr={children:[{id:"Position1",title:"Position1"},{id:"Position2",title:"Position2"},{id:"Position3",title:"Position3"},{id:"Position4",title:"Position4"}]},rKr={children:[{id:"Vacumn85",title:"Vacumn85"},{id:"Vacumn45",title:"Vacumn45"},{id:"Other",title:"Other"}]},nKr={children:[{id:"RH_lower_than_20",title:"RH_lower_than_20"},{id:"RH_higher_equal_20_lower_equal_70",title:"RH_higher_equal_20_lower_equal_70"},{id:"RH_higher_than_70",title:"RH_higher_than_70"}]},aKr={children:[{id:"Lower_than_-10_C",title:"Lower_than_-10_C"},{id:"Higher_equal_-10_C_lower_equal_35_C",title:"Higher_equal_-10_C_lower_equal_35_C"},{id:"Higher_than_35_C",title:"Higher_than_35_C"}]},sKr={children:[{id:"12months",title:"12months"},{id:"18months",title:"18months"},{id:"24months",title:"24months"},{id:"36months",title:"36months"}]},tbe={Unit_system_enum:GQr,SI_prefix_enum:YQr,Unit_enum:WQr,Hole_type_enum:QQr,Packaging_enum:KQr,HBM_enum:ZQr,CDM_enum:JQr,Temperature_sensitivity_enum:qQr,Moisture_sensitivity_enum:XQr,Baking_requirement_enum:$Qr,Long_term_heat_resistance_enum:eKr,Packing_standard_enum:tKr,Packing_type_enum:iKr,Pin1_position_enum:oKr,Packing_vacumn_degree_enum:rKr,Storage_humidity_level_enum:nKr,Storage_temperature_level_enum:aKr,Storage_time_limit_enum:sKr},YLe=new Set(Object.keys(tbe));var MW=(t,e,i)=>{for(let o in t){let r=t[o];if(typeof r=="object"){let n=MW(r,e,i);if(n)return n}else if(o==e&&r==i)return t}};var WLe=(t,e)=>{let i=jd(e);i=i.split(" ");let o,r=[];return i.forEach(n=>{let a=new RegExp(n,"ig");o?(r=[...new Set(r)],r.forEach(s=>{o=o.replace(s,"^|^")}),o=o.replace(a,s=>s?`<span style="background-color: var(--common-bg-color-highLight-item)">${s}</span>`:""),r.forEach(s=>{o=o.replace("^|^",s)})):o=t&&t.replace(a,s=>(s&&r.push(`<span style="background-color:var(--common-bg-color-highLight-item)">${s}</span>`),s?`<span style="background-color: var(--common-bg-color-highLight-item)">${s}</span>`:""))}),o||t};function Zzt(t,e=[]){let i=o=>{let r=[];return o.forEach(n=>{var a;r.push(n),n!=null&&n.children&&((a=n.children)==null?void 0:a.length)>0&&e.includes(n.id)&&r.push(...i(n.children))}),r};return i([t])}var W3o=(()=>{if(!window.FileReader)return()=>{Dt({icon:"warning",closed:!0,content:"Your browser cannot run this function."})};let t={multiple:!1,accept:".xml",fileFilter:function(i){return/\.(xml)$/i.test(i.name)},onValidate:function(i){i||Dt({icon:"warning",closed:!0,content:"Please select xml files."})},onSelectFiles:i=>{lKr(i)}},e;return()=>{e||(e=nu.instance((0,G3o.default)("<br>")).config(t)),e.openSelect()}})(),lKr=t=>{let e=t[0];if(!e)return;let i=new FileReader;i.readAsText(e),i.onload=function(o){let r=o.target.result;if(!r){De({type:"error",msg:"Imported file is empty!"});return}Y3o.parseString(r,{mergeAttrs:!0,explicitArray:!1,trim:!0},(n,a)=>{if(n)return;let s=a[D6e],l=JO.parseImportXmlData(s,structuredClone(Ll.ipcDac2552AttrTreeRender[0].children));Ll.ipcDac2552AttrTreeRender=[],Ll.ipcDac2552AttrTreeRender.push({children:l,id:y0,title:y0}),Ll.setIpc2552Data(Ll.ipcDac2552AttrTreeRender)})}},Jzt=(t,e=0)=>{let i=" ".repeat(e),o="";for(let r of t.children)r.children&&r.children.length>0?r.children.some(n=>n.displayValue!=="")&&(r.type&&!YLe.has(r.type)&&r.selectData&&r.displayValue?o+=`${i}    <${r.title}  xsi:type="${r.displayValue}">
`:o+=`${i}    <${r.title}>
`,o+=Jzt({title:"",children:r.children.filter(a=>a.displayValue!=="")},e+4),o+=`${i}    </${r.title}>
`):r.displayValue&&(o+=`${i}    <${r.title}>${r.displayValue}</${r.title}>
`);return o},qzt=t=>{if(!t.children)return t.displayValue===""?null:t;let e=t.children.map(i=>qzt(i)).filter(i=>i!==null);return e.length===0&&!t.displayValue?null:{...t,children:e}};var cKr={children:[{title:"Derived",check:"boolean",default:"false"},{title:"Value_with_deviation",type:"Value_with_deviation"},{title:"Value_with_limit",type:"Value_with_limit"},{title:"Value_with_percentage",type:"Value_with_percentage"}]},dKr={children:[{title:"Shape_geometry",type:"Geometry_pointer"},{title:"Positioning_geometry",type:"Geometry_pointer",maxOccurs:"2"},{title:"Body_components",type:"Body_components_type",maxOccurs:"unbounded",minOccurs:"0"},{title:"BGA_composition",type:"BGA_composition"},{title:"Leadframe_composition",type:"Leadframe_composition"},{title:"Other_substrate_composition",type:"Other_substrate_composition"},{title:"Connector_composition",type:"Connector_composition"},{title:"Optical_device_composition",type:"Optical_device_composition"}]},uKr={children:[{title:"Package_keepout_area_and_height",type:"Package_keepout_area_and_height"},{title:"Package_keepout_space_3D",type:"Package_keepout_space_3D"}]},pKr={children:[{title:"Rectangular_pattern",type:"Rectangular_pattern"},{title:"Circular_pattern",type:"Circular_pattern"},{title:"General_pattern",type:"General_pattern"}]},mKr={children:[{title:"Lead_index_mapping_standard",type:"Lead_index_mapping_standard"},{title:"Lead_index_mapping_table",type:"Lead_index_mapping_table"}]},hKr={children:[{title:"SMT_technology",type:"SMT_technology"},{title:"THT_technology",type:"THT_technology"},{title:"Hotbar_technology",type:"Hotbar_technology"},{title:"Pressfit_technology",type:"Pressfit_technology"},{title:"Screw_assembly_technology",type:"Screw_assembly_technology"}]},ibe={Toleranced_value:cKr,Body_composition_type:dKr,Package_keepout_space_type:uKr,Pattern:pKr,Lead_index_mapping_type:mKr,Technology_requirement_by_mounting:hKr},QLe=new Set(Object.keys(ibe));var Q3o=[{title:"Physical_composition",type:"Physical_composition_type"},{title:"Design_constraint_geometry",type:"Design_constraint_geometry_type"},{title:"Unit_system",type:"Unit_system_enum"},{title:"Size_and_tolerance",type:"Size_and_tolerance_type"},{title:"Geometry_labels",type:"Geometry_labels_type"},{title:"Weight",type:"Weight_type"},{title:"Packaging",type:"Packaging_enum"},{title:"Technology_requirement",type:"Technology_requirement_by_mounting"},{title:"Risk_sensitive_information",type:"Risk_sensitive_info_type"},{title:"Packing",type:"Packing_type"},{title:"Environment_information",type:"Environment_info_type"},{title:"Storage",type:"Storage_info_type"},{title:"Supplier",type:"Supplier_info_type"},{title:"Device_landpad",check:"string",minOccurs:"0",maxOccurs:"1"}];var fKr={children:[{title:"Device_length",type:"Toleranced_value"},{title:"Device_width",type:"Toleranced_value"},{title:"Device_height",type:"Toleranced_value"},{title:"Lead_coplanar_tolerance",type:"Float_with_unit"},{title:"Lead_position_tolerance",type:"Float_with_unit"},{title:"Device_standoff",type:"Toleranced_value"}]},gKr={children:[{title:"X",type:"Toleranced_value"},{title:"Y",type:"Toleranced_value"}]},bKr={children:[{title:"X",type:"Toleranced_value"},{title:"Y",type:"Toleranced_value"},{title:"Z",type:"Toleranced_value"}]},yKr={children:[{title:"Location",type:"Cartesian_point"},{title:"Axis",type:"Direction"},{title:"Ref_direction",type:"Direction"}]},wKr={children:[{title:"Name",check:"string",minOccurs:"0"},{title:"Coordinates",check:"float",minOccurs:"1",maxOccurs:"3"}]},CKr={children:[{title:"Value_with_tolerance",type:"Toleranced_value"},{title:"SI_prefix",type:"SI_prefix_enum",minOccurs:"0"},{title:"Unit",type:"Unit_enum"}]},xKr={children:[{title:"Value",check:"float"},{title:"SI_prefix",type:"SI_prefix_enum",minOccurs:"0"},{title:"Unit",type:"Unit_enum"}]},TKr={children:[{title:"Name",check:"string",minOccurs:"0"},{title:"Direction_ratios",check:"float",minOccurs:"2",maxOccurs:"3"}]},SKr={children:[{title:"Theoretic_value",check:"float"},{title:"Upper_deviation",check:"float"},{title:"Lower_deviation",check:"float"}]},MKr={children:[{title:"Theoretic_value",check:"float",minOccurs:"0"},{title:"Upper_limit",check:"float"},{title:"Lower_limit",check:"float"}]},IKr={children:[{title:"Theoretic_value",check:"float"},{title:"Upper_percentage",check:"float"},{title:"Lower_percentage",check:"float"}]},LKr={children:[{title:"Substrate",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"RDL",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Die",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Interposer",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Die_attach",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Underfill",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Bump",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Lid",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Lid_attach",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Molding",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"TIM",type:"Geometry_and_material",maxOccurs:"unbounded"}]},vKr={children:[{title:"Leadframe",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Die",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Die_attach",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Molding",type:"Geometry_and_material",maxOccurs:"unbounded"}]},DKr={children:[{title:"Substrate",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Die",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Molding",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"EMC_shielding",type:"Geometry_and_material",maxOccurs:"unbounded"}]},EKr={children:[{title:"Housing",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Picking_up_cap",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Cage",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Embedded_nuts",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Screw",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Cable",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Golden_finger",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Organizer",type:"Geometry_and_material",maxOccurs:"unbounded"}]},AKr={children:[{title:"FPC",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Adhesive_for_strengthening",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Positioning_hole",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Vias_for_solder_wicking",type:"Geometry_and_material",maxOccurs:"unbounded"},{title:"Plate",type:"Geometry_and_material",maxOccurs:"unbounded"}]},NKr={children:[{title:"Name",check:"string"},{title:"Composition",type:"Geometry_and_material",maxOccurs:"unbounded"}]},kKr={children:[{title:"Geometry",type:"Geometry_pointer"},{title:"Material",type:"Material_type",minOccurs:"0"}]},PKr={children:[{title:"Area",type:"Geometry_pointer"},{title:"Height",type:"Float_with_unit"}]},OKr={children:[{title:"Space_3D",type:"Geometry_pointer"}]},RKr={children:[{title:"Virtual_installation_plane",type:"Geometry_pointer"},{title:"Package_keepin_areas",type:"Geometry_pointer",maxOccurs:"unbounded"},{title:"Package_keepout_space",type:"Package_keepout_space_type",maxOccurs:"unbounded"},{title:"Route_keepin_areas",type:"Geometry_pointer",maxOccurs:"unbounded"},{title:"Route_keepout_areas",type:"Geometry_pointer",maxOccurs:"unbounded"},{title:"Hole_keepin_areas",type:"Geometry_pointer",maxOccurs:"unbounded"},{title:"Hole_keepout_areas",type:"Hole_keepout_area_list"},{title:"Height_limit_space",type:"Geometry_pointer"},{title:"Flux_keepout_area",type:"Geometry_pointer",maxOccurs:"unbounded"},{title:"Reserved_assembly_space",type:"Geometry_pointer"},{title:"Recommended_board_outline",type:"Geometry_pointer"},{title:"Recommended_opening",type:"Geometry_pointer",maxOccurs:"unbounded"},{title:"Stencil_design",type:"Geometry_pointer",maxOccurs:"unbounded"},{title:"Pad_design",type:"Geometry_pointer",maxOccurs:"unbounded"},{title:"Other_constraint_geometries",type:"Design_constraint_geometry_list"}]},_Kr={children:[{title:"Leads_composition",type:"Leads_composition_type"},{title:"Body_composition",type:"Body_composition_type"}]},jKr={children:[{title:"Lead_body",type:"Geometry_and_material"},{title:"Lead_plating",type:"Geometry_and_material",minOccurs:"0"}]},BKr={children:[{title:"Displacement",type:"Axis2_placement_3d"},{title:"Spacing",type:"Toleranced_value"},{title:"Row_direction",type:"Direction"},{title:"Number_of_rows",check:"integer",minOccurs:"0"},{title:"Number_of_columns",check:"integer"},{title:"Row_spacing",type:"Toleranced_value",minOccurs:"0"},{title:"Row_layout_direction",type:"Direction",minOccurs:"0"}]},zKr={children:[{title:"Displacement",type:"Axis2_placement_3d"},{title:"Angle_increment",check:"float"},{title:"Number_of_item",check:"integer"},{title:"Base_diameter",type:"Toleranced_value"},{title:"Relative_rotation",check:"float"}]},FKr={children:[{title:"Displacement",type:"Axis2_placement_3d"},{title:"Replicate_location",type:"Axis2_placement_3d",minOccurs:"1",maxOccurs:"unbounded"}]},UKr={children:[{title:"Standard_name",check:"string"}]},VKr={children:[{title:"Lead_mapping_table",type:"Lead_mapping_table"}]},HKr={children:[{title:"Lead_index_mapping",type:"Lead_index_mapping_type"},{title:"Lead_groups",type:"Lead_group_list"}]},GKr={children:[{title:"Proportional_limit",type:"Float_with_unit"},{title:"Elasticity_limit",type:"Float_with_unit"},{title:"Yield_limit",type:"Float_with_unit"},{title:"Strength_limit",type:"Float_with_unit"},{title:"Interpolation_tables",minOccurs:"0",type:"Interpolation_table_list"}]},YKr={children:[{title:"Name",check:"string"},{title:"Density",type:"Float_with_unit",minOccurs:"0"},{title:"Elasticity_modulus",type:"Float_with_unit",minOccurs:"0"},{title:"Stress_strain_diagram",type:"Stress_strain_property",minOccurs:"0"},{title:"Poissons_ratio",type:"Float_with_unit",minOccurs:"0"},{title:"CTE",type:"Float_with_unit",minOccurs:"0"}]},WKr={children:[{title:"Description",check:"string"},{title:"Geometry_ref",type:"Geometry_pointer"}]},QKr={children:[{title:"Deformable_part_label",type:"Label_item",minOccurs:"0",maxOccurs:"unbounded"},{title:"Polarity_label",type:"Label_item",minOccurs:"0",maxOccurs:"unbounded"},{title:"Orientation_label",type:"Label_item",minOccurs:"0",maxOccurs:"unbounded"},{title:"Conductive_area_label",type:"Label_item",minOccurs:"0",maxOccurs:"unbounded"},{title:"Other_label",type:"Label_item",minOccurs:"0",maxOccurs:"unbounded"}]},KKr={children:[{title:"Calculated_weight",type:"Float_with_unit",minOccurs:"0"},{title:"Nominal_weight",type:"Float_with_unit",minOccurs:"0"}]},ZKr={children:[{title:"Name",check:"string",minOccurs:"0"},{title:"Geometry_object",check:"string",minOccurs:"1",maxOccurs:"unbounded"}]},JKr={children:[{title:"Thermal_warpage",type:"Float_with_unit"},{title:"Max_soldering_times",check:"integer"},{title:"Is_J-STD-020_conformed",check:"boolean"},{title:"Max_temperature",type:"Float_with_unit"},{title:"Max_duration_for_SMT_soldering",type:"Float_with_unit"},{title:"Solder_melting_temperature",type:"Float_with_unit"},{title:"Duration_above_melting_temperature",type:"Float_with_unit"},{title:"Max_temperature_for_manual_soldering",type:"Float_with_unit"},{title:"Max_duration_for_manual_soldering",type:"Float_with_unit"},{title:"Is_flatness_of_absorbable_area_qualified",check:"boolean"},{title:"Absorbable_area",type:"Float_with_unit"},{title:"Absorption_pressure_threashold",type:"Float_with_unit"},{title:"Is_solderability_test_passed",check:"boolean"},{title:"Is_tin_whisker_test_passed",check:"boolean"},{title:"Is_fusibility_test_passed",check:"boolean"}]},qKr={children:[{title:"Lead_spacing",type:"Toleranced_value"},{title:"Standoff",type:"Toleranced_value"},{title:"Lead_length",type:"Toleranced_value"},{title:"Lead_diameter",type:"Toleranced_value"},{title:"Max_temperature_for_manual_soldering",type:"Float_with_unit"},{title:"Max_duration_for_manual_soldering",type:"Float_with_unit"},{title:"Is_lead_temperature_resistance_qualified",check:"boolean"},{title:"Is_body_temperature_resistance_qualified",check:"boolean"},{title:"Max_soldering_times",check:"integer"},{title:"Is_solderability_test_passed",check:"boolean"},{title:"Is_fusibility_test_passed",check:"boolean"}]},XKr={children:[{title:"Is_temperature_resistance_qualified",check:"boolean"},{title:"Max_soldering_times",check:"integer"},{title:"FPC_bending_radius",type:"Float_with_unit"},{title:"Max_number_of_FPC_bending",check:"integer"},{title:"Is_solderability_test_passed",check:"boolean"}]},$Kr={children:[{title:"Overall_pressing-in_force",type:"Float_with_unit"},{title:"Overall_retention_force",type:"Float_with_unit"},{title:"Lead_true_position_horizontal",type:"Float_with_unit"},{title:"Lead_true_position_vertical",type:"Float_with_unit"},{title:"Lead_true_position_PCB_thickness",type:"Float_with_unit"},{title:"Lead_true_position_residual_thickness",type:"Float_with_unit"},{title:"Overall_inserting_force",type:"Float_with_unit"},{title:"Overall_pulling-out_force",type:"Float_with_unit"},{title:"Contact_force",type:"Float_with_unit"},{title:"Guiding_capacity",type:"Float_with_unit"},{title:"Guiding_angle",type:"Float_with_unit"},{title:"Contact_depth",type:"Float_with_unit"}]},eZr={children:[{title:"Screw_torque",type:"Float_with_unit"},{title:"Contact_area",type:"Float_with_unit"}]},tZr={children:[{title:"Compressive",type:"Stress_type",minOccurs:"0"},{title:"Tensile",type:"Stress_type",minOccurs:"0"},{title:"Shear",type:"Stress_type",minOccurs:"0"},{title:"Bending",type:"Stress_type",minOccurs:"0"},{title:"Torsional",type:"Stress_type",minOccurs:"0"}]},iZr={children:[{title:"Transient",type:"Float_with_unit",minOccurs:"0",defaultSelect:!1},{title:"Longterm",type:"Float_with_unit",minOccurs:"0",defaultSelect:!0}]},oZr={children:[{title:"Cleaning",type:"Process_conditions_type"},{title:"Coating",type:"Process_conditions_type"}]},rZr={children:[{title:"Is_allowed",check:"boolean"},{title:"Recommended_condition",check:"string",maxOccurs:"unbounded"},{title:"Rejected_condition",check:"string",maxOccurs:"unbounded"}]},nZr={children:[{title:"ESD_classification",type:"ESD_classification_type"},{title:"Friction_voltage ",type:"Float_with_unit"}]},aZr={children:[{title:"HBM",type:"HBM_enum"},{title:"CDM",type:"CDM_enum"}]},sZr={children:[{title:"Temperature_sensitivity",type:"Temperature_sensitivity_enum"},{title:"Moisture_sensitivity",type:"Moisture_sensitivity_enum"},{title:"Stress_sensitivity",type:"Stress_sensitivity_type"},{title:"Chemical_compatibility",type:"Chemical_compatibility_type"},{title:"ESD_requirement",type:"ESD_requirement_type"}]},lZr={children:[{title:"Packing_standard",type:"Packing_standard_enum"},{title:"Packing_type",type:"Packing_type_enum"},{title:"Tray_length",type:"Float_with_unit",minOccurs:"0"},{title:"Tray_width",type:"Float_with_unit",minOccurs:"0"},{title:"Tray_height",type:"Float_with_unit",minOccurs:"0"},{title:"Pin1_position",type:"Pin1_position_enum",minOccurs:"0"},{title:"Tape_hole_pitch",type:"Float_with_unit"},{title:"Tape_cavity_pitch",type:"Float_with_unit"},{title:"Tape_width",type:"Float_with_unit"},{title:"Tape_peeling_strength",type:"Float_with_unit"},{title:"Is_ASTM_F1249_conformed",check:"boolean",minOccurs:"0"},{title:"Is_vacumed_and_moisture_proof",check:"boolean"},{title:"Packing_vacumn_degree",type:"Packing_vacumn_degree_enum"},{title:"Is_packing_anti_sulfur",check:"boolean"},{title:"Is_min_packing_marked_with_Ag_sign",check:"boolean"},{title:"Is_min_packing_marked_with_Sn_sign",check:"boolean"},{title:"Is_min_packing_marked_with_moisture_grade_sign",check:"boolean"},{title:"Is_min_packing_has_humidity_indicator_and_desiccative",check:"boolean"},{title:"Is_humidity_indicator_has_qualified_identification",check:"boolean"},{title:"Heat_resistance_for_baking",type:"Baking_requirement_enum"},{title:"Long_term_heat_resistance",type:"Long_term_heat_resistance_enum"},{title:"Requirement_on_ESD",type:"Packing_requirement_on_ESD"}]},cZr={children:[{title:"Is_ESD_alert_sign_existed",check:"boolean"},{title:"Requirement_for_intermediate_packing",type:"ESD_requirement_for_intermediate_packing"},{title:"Requirement_for_direct_packing_material",type:"ESD_requirement_for_direct_packing_material"}]},dZr={children:[{title:"Is_electrostatic_shielding_qualified",check:"boolean"},{title:"Shield_residual_voltage",type:"Float_with_unit"},{title:"Coupling_energy",type:"Float_with_unit"},{title:"Internal_and_external_surfaces_resistance",type:"Float_with_unit"}]},uZr={children:[{title:"Surface_resistance",type:"Float_with_unit"},{title:"Volume_resistance",type:"Float_with_unit"},{title:"Peeling_voltage",type:"Float_with_unit"},{title:"Friction_voltage",type:"Float_with_unit"}]},pZr={children:[{title:"Is_ROHS_conformed",check:"boolean"},{title:"Is_REACH_conformed",check:"boolean"},{title:"Other_certificate",check:"string",minOccurs:"0",maxOccurs:"unbounded"}]},mZr={children:[{title:"Storage_humidity_level",type:"Storage_humidity_level_enum"},{title:"Storage_temperature_level",type:"Storage_temperature_level_enum"},{title:"Storage_time_limit",type:"Storage_time_limit_enum"},{title:"Is_packing_meet_storage_time_limit",check:"boolean"}]},hZr={children:[{title:"Supplier_name",check:"string"},{title:"Supplier_model",check:"string"}]},fZr={title:"Hole_keepout_area",minOccurs:"1",maxOccurs:"unbounded",children:[{title:"Hole_keepout_area",type:"Hole_keepout_area"}]},gZr={children:[{title:"Hole_type",type:"Hole_type_enum"},{title:"Geometry_ref",type:"Geometry_pointer"}]},bZr={title:"Design_constraint_geometry",minOccurs:"1",maxOccurs:"unbounded",children:[{title:"Design_constraint_geometry",type:"Design_constraint_geometry"}]},yZr={children:[{title:"Name",check:"string"},{title:"Geometry_ref",type:"Geometry_pointer"}]},wZr={title:"Lead_group",minOccurs:"1",maxOccurs:"unbounded",children:[{title:"Lead_group",type:"Lead_group"}]},CZr={children:[{title:"Lead_group_index",check:"integer"},{title:"Single_lead",type:"Single_lead_type"},{title:"Lead_pattern",type:"Pattern"}]},xZr={title:"Lead_mapping_item",minOccurs:"1",maxOccurs:"unbounded",children:[{title:"Lead_mapping_item",type:"Lead_mapping_item"}]},TZr={children:[{title:"Lead_index",check:"string"},{title:"Group_index",check:"integer"},{title:"Pattern_index_1",check:"integer"},{title:"Pattern_index_2",check:"integer",minOccurs:"0"}]},SZr={title:"Point",minOccurs:"2",maxOccurs:"unbounded",children:[{title:"Point",type:"Point"}]},MZr={children:[{title:"X",check:"float"},{title:"Y",check:"float"}]},IZr={title:"Interpolation_table",minOccurs:"1",maxOccurs:"unbounded",children:[{title:"Interpolation_table",type:"Interpolation_table"}]},LZr={children:[{title:"Description",check:"string"},{title:"Interpolation_points",type:"Point_list",minOccurs:"2",maxOccurs:"unbounded"}]},Zse={...tbe,...ibe,Size_and_tolerance_type:fKr,Size_2D:gKr,Size_3D:bKr,Axis2_placement_3d:yKr,Cartesian_point:wKr,Toleranced_value_with_unit:CKr,Float_with_unit:xKr,Direction:TKr,Value_with_deviation:SKr,Value_with_limit:MKr,Value_with_percentage:IKr,BGA_composition:LKr,Leadframe_composition:vKr,Other_substrate_composition:DKr,Connector_composition:EKr,Optical_device_composition:AKr,Body_components_type:NKr,Geometry_and_material:kKr,Package_keepout_area_and_height:PKr,Package_keepout_space_3D:OKr,Design_constraint_geometry_type:RKr,Physical_composition_type:_Kr,Single_lead_type:jKr,Rectangular_pattern:BKr,Circular_pattern:zKr,General_pattern:FKr,Lead_index_mapping_standard:UKr,Lead_index_mapping_table:VKr,Lead_mapping_item:TZr,Leads_composition_type:HKr,Stress_strain_property:GKr,Material_type:YKr,Label_item:WKr,Geometry_labels_type:QKr,Weight_type:KKr,Geometry_pointer:ZKr,SMT_technology:JKr,THT_technology:qKr,Hotbar_technology:XKr,Pressfit_technology:$Kr,Screw_assembly_technology:eZr,Stress_sensitivity_type:tZr,Stress_type:iZr,Chemical_compatibility_type:oZr,Process_conditions_type:rZr,ESD_requirement_type:nZr,ESD_classification_type:aZr,Risk_sensitive_info_type:sZr,Packing_type:lZr,Packing_requirement_on_ESD:cZr,ESD_requirement_for_intermediate_packing:dZr,ESD_requirement_for_direct_packing_material:uZr,Environment_info_type:pZr,Storage_info_type:mZr,Supplier_info_type:hZr,Hole_keepout_area_list:fZr,Hole_keepout_area:gZr,Design_constraint_geometry_list:bZr,Design_constraint_geometry:yZr,Lead_group_list:wZr,Lead_group:CZr,Lead_mapping_table:xZr,Point_list:SZr,Point:MZr,Interpolation_table_list:IZr,Interpolation_table:LZr};var obe=class obe{static getIpc2552TreeItem(e,i=void 0,o=void 0){let r=this,n=[];return e.forEach(a=>{if(a!=null&&a.type){let s=r.getChildrenData(a,i,o);n.push(s)}else n.push({id:Mt(),displayValue:"",lastLevel:!0,domType:"inputDom",...a})}),n}static getChildrenData(e,i,o){var n,a,s,l,c,d,u,p,m,h,f;let r=this;if(e!=null&&e.type){if(YLe.has(e.type))return{id:Mt(),title:(n=e==null?void 0:e.title)!=null?n:"",displayValue:"",lastLevel:!0,domType:"selectDom",type:e.type,selectData:tbe[e.type].children};if(QLe.has(e.type))return{id:Mt(),title:(a=e==null?void 0:e.title)!=null?a:"",displayValue:"",lastLevel:!0,domType:"selectDom",type:e.type,selectData:ibe[e.type].children};if((s=Zse[e.type])!=null&&s.children)return{id:Mt(),title:(l=e==null?void 0:e.title)!=null?l:"",type:e.type,lastLevel:!1,minOccurs:(c=e==null?void 0:e.minOccurs)!=null?c:i,maxOccurs:(d=e==null?void 0:e.maxOccurs)!=null?d:o,children:r.getIpc2552TreeItem(Zse[e.type].children,(u=Zse[e.type])==null?void 0:u.minOccurs,(p=Zse[e.type])==null?void 0:p.maxOccurs)}}return{id:Mt(),title:(m=e==null?void 0:e.title)!=null?m:"",domType:"inputDom",displayValue:"",lastLevel:!0,minOccurs:(h=e==null?void 0:e.minOccurs)!=null?h:i,maxOccurs:(f=e==null?void 0:e.maxOccurs)!=null?f:o}}static generateIpcDac2552AttrTree(){let e=[],i=[];return Q3o.forEach(o=>{if(YLe.has(o.type))i.push({id:o.title,title:o.title,displayValue:"",lastLevel:!0,domType:"selectDom",type:o.type,selectData:tbe[o.type].children});else if(QLe.has(o.type))i.push({id:o.title,title:o.title,displayValue:"",lastLevel:!0,domType:"selectDom",type:o.type,selectData:ibe[o.type].children});else if(o.type&&Zse[o.type].children){let r=this.getIpc2552TreeItem(Zse[o.type].children);i.push({id:o.title,title:o.title,children:r})}else i.push({id:o.title,title:o.title,displayValue:"",lastLevel:!0,domType:"inputDom"})}),e.push({children:i,id:y0,title:y0}),e}static parseImportXmlData(e,i){let o=obe;return it(e,(r,n)=>{this.ignoreImportXmlKey.includes(r)||i.forEach(a=>{let s=MW(a,"title",r);if(s)if(Array.isArray(n))s!=null&&s.children?(s.children.forEach(l=>{l.title===r&&(l.displayValue=n[0],n.splice(0,1))}),n.length>0&&n.forEach(l=>{s.children.push({...s.children.find(c=>c.title===r),id:Mt(),title:r,displayValue:l})})):s.children=n.map(l=>({id:Mt(),title:r,displayValue:l,lastLevel:!0,domType:"inputDom"}));else if(ue.isPlainObject(n))if(n[o.xsiTypeFlag]){s!=null&&s.children&&delete s.children,s.displayValue=n[o.xsiTypeFlag];let l=s.selectData.find(u=>u.title===n[o.xsiTypeFlag]).type,c={id:Mt(),title:l,type:l},{children:d}=obe.getChildrenData(c,s.minOccurs,s.maxOccurs);s.children=d,delete n[o.xsiTypeFlag],o.parseImportXmlData(n,s.children)}else o.parseImportXmlData(n,s.children);else typeof n=="string"&&(s.displayValue=n)})}),i}};obe.ignoreImportXmlKey=["xmlns:xsi"],obe.xsiTypeFlag="xsi:type";var JO=obe;var Xzt=class extends qe{constructor(){super(...arguments);this.openCallScenType=null;this.ipcDac2552AttrTreeRender=[];this.whenRowItemChangeTimer=null}async tableRowClick(i){let o=[];o=i.tableData.map(n=>(i.row.rowUniqueFlag===n.rowUniqueFlag?n.bgColor=ms.activeTheme==="light"?"#e6f7ff":"#434950":n.bgColor=ms.activeTheme==="light"?"#ffffff":"#3b3b3b",n)),this.compenentListStore.currentClickRowData=i.row,i.row.ipcDac2552?this.ipcDac2552AttrTreeRender=JSON.parse(i.row.ipcDac2552):(this.ipcDac2552AttrTreeRender=JO.generateIpcDac2552AttrTree(),i.row.ipcDac2552=JSON.stringify(this.ipcDac2552AttrTreeRender)),this.compenentListStore.tableData=o;let r=this;this.whenRowItemChangeTimer&&clearTimeout(this.whenRowItemChangeTimer),this.whenRowItemChangeTimer=setTimeout(async()=>{let{symbolUuid:n,path:a,footprintItem:s,d3ModelUuid:l,d3ModelTransform:c,sourceSCHCanvasSymbolParts:d}=this.compenentListStore.currentClickRowData;n&&(await r.symbolViewsSectionStore.whenRowItemChange(n,a),r.openCallScenType==="SCH"&&d&&(r.symbolViewsSectionStore.sourceSCHCanvasSymbolParts=d)),s&&Object.keys(s).length&&(r.footprintViewsSectionStore.footprintItem=s,r.footprintViewsSectionStore.needLockMask=!1),l&&await r.d3ModelViewsSectionStore.whenRowItemChange(l,c)},16.67)}async initDialog(i){this.compenentListStore=new Uot(i),this.symbolViewsSectionStore=new Bot,this.footprintViewsSectionStore=new zot,this.d3ModelViewsSectionStore=new Fot;let{currentClickRowData:o}=this.compenentListStore;if(o){let r=this;setTimeout(async()=>{let{symbolUuid:n,path:a,footprintItem:s,d3ModelTransform:l,d3ModelUuid:c,sourceSCHCanvasSymbolParts:d}=o;n&&(await r.symbolViewsSectionStore.whenRowItemChange(n,a),r.openCallScenType==="SCH"&&d&&(r.symbolViewsSectionStore.sourceSCHCanvasSymbolParts=d)),s&&Object.keys(s).length&&(r.footprintViewsSectionStore.footprintItem=s,r.footprintViewsSectionStore.needLockMask=!1),c&&await r.d3ModelViewsSectionStore.whenRowItemChange(c,l)},16.67),o!=null&&o.ipcDac2552?this.ipcDac2552AttrTreeRender=JSON.parse(o.ipcDac2552):this.ipcDac2552AttrTreeRender=JO.generateIpcDac2552AttrTree()}}closeDialog(){this.symbolViewsSectionStore=null,this.footprintViewsSectionStore=null,this.d3ModelViewsSectionStore=null,this.whenRowItemChangeTimer&&(this.whenRowItemChangeTimer=null),this.ipcDac2552AttrTreeRender.length>0&&(this.ipcDac2552AttrTreeRender=[])}setIpcDac2552AttrTreeRender(i){this.ipcDac2552AttrTreeRender=i,this.notify()}setIpc2552Data(i){let{currentClickRowData:o}=this.compenentListStore;if(o){let{rowUniqueFlag:r}=o;this.compenentListStore.tableData=this.compenentListStore.tableData.map(n=>(n.rowUniqueFlag===r&&(n.ipcDac2552=JSON.stringify(i)),n)),this.compenentListStore.rawTableData=this.compenentListStore.rawTableData.map(n=>(n.rowUniqueFlag===r&&(n.ipcDac2552=JSON.stringify(i)),n)),this.ipcDac2552AttrTreeRender=i}}},Ll=new Xzt;var oee=L(z()),$zt=be.bind(K3o.default.locals),DZr=()=>{var m;let{compenentListStore:t}=Ll;Ce(t);let e=J(),i=(0,TE.useRef)(null),[o,r]=(0,TE.useState)(null),[n,a]=(0,TE.useState)(null),[s,l,c]=La(),d=(0,TE.useRef)(null),u=(0,TE.useMemo)(()=>[{key:"displayDesignator",name:e("Designator"),width:.2,align:"center",sortable:!0},{key:"displayComment",name:e("Comment"),width:.3,sortable:!0},{key:"displayFootprint",name:e("Footprint"),width:.5,sortable:!0}],[]),p=h=>{i.current&&i.current===JSON.stringify(h.clickObj)||Ll.tableRowClick(h)};return(0,TE.useEffect)(()=>(l(d.current),()=>{c()}),[d.current]),(0,TE.useEffect)(()=>{if(s){let{height:h,width:f}=s;r(h),a(f)}},[s]),(0,oee.jsxs)("fieldset",{className:$zt("compenentList-container"),children:[(0,oee.jsx)("legend",{children:e("Components List")}),(0,oee.jsx)("div",{className:$zt("filter-input"),children:(0,oee.jsx)(Ws,{placeholder:e("Filter"),initShowValue:t.tableSearceValue,onUpdateInputValue:h=>{t.tableSearceValue=h.trim()}})}),(0,oee.jsx)("div",{className:$zt("compenentList-content"),ref:d,children:o&&(0,oee.jsx)(xi,{index:"rowUniqueFlag",border:!0,fixedHeader:!0,openRowSelectedBgColor:!1,moveAble:!0,isCtrlSelect:!1,isShiftSelect:!1,columns:u,width:n,height:o,rows:(m=t.tableData)!=null?m:[],searchValue:t.tableSearceValue,onClick:h=>{p(h)}})})]})},Z3o=(0,TE.memo)(DZr);var j5=L(Se());var ewo=L(CW());var ree=L(Se());var q3o=L(z()),J3o=(0,ree.memo)(t=>{let{selectValueProps:e,handleSelectChange:i,selectList:o=[]}=t,[r,n]=(0,ree.useState)(e),a=(0,ree.useMemo)(()=>o.length>0?o.map(s=>({value:s.title,text:s.title,showOriginalText:!0})):[],[o]);return(0,ree.useEffect)(()=>{n(e)},[e]),(0,q3o.jsx)(xt,{list:a,containerStyle:{width:"90%",display:"flex",alignItems:"center"},listMaxHeight:300,value:r,virtualScroll:!0,onChange:s=>{n(s),i(s)}})});var nee=L(Se());var $3o=L(z()),X3o=(0,nee.memo)(t=>{let{selectValueProps:e,handleSelectChange:i}=t,[o,r]=(0,nee.useState)(e),n=(0,nee.useMemo)(()=>[{value:"true",text:"true",showOriginalText:!0},{value:"false",text:"false",showOriginalText:!0}],[]);return(0,nee.useEffect)(()=>{r(e)},[e]),(0,$3o.jsx)(xt,{list:n,containerStyle:{width:"90%",display:"flex",alignItems:"center"},listMaxHeight:300,value:o,virtualScroll:!0,onChange:a=>{r(a),i(a)}})});var ju=L(z()),Jse=be.bind(ewo.default.locals),EZr=()=>{var R,v,k,P;let{compenentListStore:t}=Ll;Ce(Ll),Ce(t);let e=J(),i=ca(),[o,r]=(0,j5.useState)(""),[n,a]=(0,j5.useState)({curNum:0,totalNum:0}),[s,l]=(0,j5.useState)({rawClickTree:null,key:"",value:""}),[c,d]=(0,j5.useState)(Ll.ipcDac2552AttrTreeRender),[u,p]=(0,j5.useState)([y0]),[m,h]=(0,j5.useState)(""),f=(0,j5.useRef)(null),g=(0,j5.useRef)(0),b=g.current,y=(O,_)=>{let{lastLevel:j=void 0,minOccurs:B=void 0,maxOccurs:V=void 0,check:G=void 0,title:Q,displayValue:H=""}=O;return(0,ju.jsx)(ju.Fragment,{children:j?G&&(V||B)?(0,ju.jsxs)("span",{style:{display:"flex",alignItems:"center",height:"16px"},children:[(0,ju.jsx)("span",{dangerouslySetInnerHTML:{__html:WLe(Q+"",o)}}),(0,ju.jsx)("span",{children:"\xA0\xA0\xA0\xA0=\xA0\xA0\xA0\xA0"}),(0,ju.jsx)("span",{dangerouslySetInnerHTML:{__html:H},style:{marginRight:"16px"}}),(0,ju.jsx)(ec,{addButton:!!(V&&V!=="1"),addDisabled:!1,deleteButton:!!(B&&B!=="0"||V&&V!=="1"),deleteDisabled:!1,upButton:!1,upDisabled:!1,downButton:!1,downDisabled:!1,onClick:q=>{q==="delete"?E(O,_):q==="add"&&N(O,_)}})]}):(0,ju.jsxs)("span",{children:[(0,ju.jsx)("span",{dangerouslySetInnerHTML:{__html:WLe(Q+"",o)}}),(0,ju.jsx)("span",{children:"\xA0\xA0\xA0\xA0=\xA0\xA0\xA0\xA0"}),(0,ju.jsx)("span",{dangerouslySetInnerHTML:{__html:H}})]}):V||B?(0,ju.jsxs)("span",{style:{display:"flex",alignItems:"center",height:"16px"},children:[(0,ju.jsx)("span",{style:{marginRight:"16px"},dangerouslySetInnerHTML:{__html:WLe(Q+"",o)}}),(0,ju.jsx)(ec,{addButton:!!(V&&V!=="1"),addDisabled:!1,deleteButton:!!(B&&B!=="0"||V&&V!=="1"),deleteDisabled:!1,upButton:!1,upDisabled:!1,downButton:!1,downDisabled:!1,onClick:q=>{q==="delete"?E(O,_):q==="add"&&N(O,_)}})]}):(0,ju.jsx)("span",{dangerouslySetInnerHTML:{__html:WLe(Q+"",o)}})})},w=(O,_)=>{_!=null&&_.lastLevel?l(j=>{var B;return{rawClickTree:_,key:_.title,value:(B=_==null?void 0:_.displayValue)!=null?B:""}}):s.rawClickTree&&l(j=>({rawClickTree:null,key:"",value:""}))},x=O=>{l(_=>({..._,value:O.trim()}))},S=()=>{if(s.rawClickTree){let O=Ll.ipcDac2552AttrTreeRender.map(_=>{let j=MW(_,"id",s.rawClickTree.id);return j.displayValue=s.value,_});Ll.setIpc2552Data(O)}},T=O=>{if(s.rawClickTree)if(QLe.has(s.rawClickTree.type)){let _=Ll.ipcDac2552AttrTreeRender.map(j=>{var V;let B=MW(j,"id",s.rawClickTree.id);if(B){B.displayValue=O,B!=null&&B.children&&delete B.children;let G={id:Mt(),title:O,type:(V=B.selectData.find(H=>H.title===O).type)!=null?V:O},{children:Q}=JO.getChildrenData(G,B.minOccurs,B.maxOccurs);B.children=Q}return j});Ll.setIpc2552Data(_)}else{let _=Ll.ipcDac2552AttrTreeRender.map(j=>{let B=MW(j,"id",s.rawClickTree.id);return B&&(B.displayValue=O),j});Ll.setIpc2552Data(_)}},M=(O,_)=>{let j=Array.from(new Set(u));_.expand?j.push(O.id):j.includes(O.id)&&(j=j.filter(B=>B!==O.id)),p(B=>[...j])},I=()=>{d(O=>Ll.ipcDac2552AttrTreeRender),p(O=>[y0]),a(O=>({curNum:0,totalNum:0})),h("")},A=(O,_,j)=>{if(O==="prev"&&!_){let B=n.curNum-1;h(f.current[B-1].id),a(V=>(V.curNum=B,{...V})),D(f.current[B-1].id)}if(O==="next"&&!j){let B=n.curNum+1;h(f.current[n.curNum].id),a(V=>(V.curNum=B,{...V})),D(f.current[n.curNum].id)}},D=O=>{if(f.current.length>0){let B=Zzt(c[0],u),V=B.length,G=26*V,Q=Math.ceil(534/26),H=b,q=Math.min(534+H,G),U=Math.floor(H/26)||0,F=Math.floor(q/26),K=Math.ceil(534/26/2),te=B.findIndex(ae=>ae.id===O);!~te&&(te=1),(U>te||te>F)&&(te<K?g.current=0:V-te<=K?g.current=Math.max(V-Q,0)*26:g.current=(te-K)*26),b===g.current&&(g.current+=.1),i()}},E=(O,_)=>{let j=Ll.ipcDac2552AttrTreeRender.map(B=>{let V=MW(B,"id",_.parent.id);return V&&(V.children=V.children.filter(G=>G.id!==O.id)),B});Ll.setIpc2552Data(j)},N=(O,_)=>{let j=Ll.ipcDac2552AttrTreeRender.map(B=>{let V=MW(B,"id",_.parent.id);if(V){let{children:G=void 0}=O;if(G){let Q=G.map(U=>({...U,displayValue:"",id:Mt()})),H=_.parent.sourceData.children.map((U,F)=>U.title===O.title?F:-1).filter(U=>U!==-1),q=H.length>0?H[H.length-1]:-1;q>-1?V.children.splice(q,0,{...O,children:Q,id:Mt()}):V.children=V.children.concat({...O,children:Q,id:Mt()})}else V.children=V.children.concat({...O,id:Mt(),displayValue:""})}return B});Ll.setIpc2552Data(j)};return(0,j5.useEffect)(()=>{t.currentClickRowData&&s.key.length>0&&l(O=>({rawClickTree:null,key:"",value:""}))},[t.currentClickRowData]),(0,j5.useEffect)(()=>{Ll.ipcDac2552AttrTreeRender.length>0&&(d(Ll.ipcDac2552AttrTreeRender),h(""))},[Ll.ipcDac2552AttrTreeRender]),(0,j5.useEffect)(()=>{let O=new Set,_=(j,B)=>{let V=[];return j.forEach(G=>{var H;let Q=G.title;if(((H=G==null?void 0:G.children)==null?void 0:H.length)>0){let q=_(G.children,B);if(q.length>0){let U=Object.assign({},G);U.children=q,V.push(U),!O.has(G.id)&&O.add(G.id)}else if(Q.search(new RegExp(jd(B),"i"))!=-1){let U=Object.assign({},G);delete U.children,V.push(U),!O.has(G.id)&&O.add(G.id)}}else Q.search(new RegExp(jd(B),"i"))!=-1&&(V.push(G),!O.has(G.id)&&O.add(G.id))}),V};if(o){let j=_(Ll.ipcDac2552AttrTreeRender,o),B=Array.from(O),V=Zzt(j[0],B).filter(G=>(G==null?void 0:G.title.search(new RegExp(jd(o),"i")))!=-1).filter(Boolean);p(G=>B),a(G=>(V.length>0?(G.curNum=1,G.totalNum=V.length,h(V[0].id)):(G.curNum=0,G.totalNum=0),{...G})),f.current=V}else p(j=>[y0]),a(j=>({curNum:0,totalNum:0})),h("")},[o]),(0,ju.jsxs)("fieldset",{className:Jse("ipcDacList-container"),children:[(0,ju.jsx)("legend",{children:e("IPC/DAC-2552 Properties")}),(0,ju.jsxs)("div",{className:Jse("ipcDacList-content"),children:[(0,ju.jsx)("div",{className:Jse("ipcDaclist-content-select"),children:(0,ju.jsx)(i4,{hasClearButton:!0,hasZoomBotton:!0,enterTriggerBlur:!0,showFilterResult:n.totalNum!==0,value:o,onChange:O=>{r(O.trim())},resultValue:n,clickPrevNextCb:PI(A,200),clickClearCb:I,style:{height:"24px",width:"100%"}})}),(0,ju.jsx)("div",{className:Jse("ipcDacList-attr"),children:c.length>0&&(0,ju.jsx)(Bd,{data:c,showTagLine:!0,showExpandBtn:!0,isVirtualList:!0,extendIconType:"tree-extends-box",initContainerScrollTop:(R=g.current)!=null?R:0,expandedIds:u,hoverNodeId:m,disabledExpand:n.totalNum>0,containerHeight:"534px",topBufferSize:10,bottomBufferSize:10,multiSelect:!1,contentUnderline:!1,itemRender:y,onClick:w,onExpand:M,onVirtualScroll:O=>{g.current=O.scrollTop}})}),(0,ju.jsxs)("div",{className:Jse("ipcDacList-input"),children:[(0,ju.jsxs)("div",{className:Jse("ipcDacList-input-content"),children:[(0,ju.jsx)("span",{children:e("Key")}),(0,ju.jsx)(Kt,{readOnly:!0,disabled:!0,value:s.key,style:{width:"90%"}})]}),(0,ju.jsxs)("div",{className:Jse("ipcDacList-input-content"),children:[(0,ju.jsx)("span",{children:e("Value")}),((v=s.rawClickTree)==null?void 0:v.domType)==="selectDom"&&(0,ju.jsx)(J3o,{selectList:s.rawClickTree.selectData,selectValueProps:s.rawClickTree.displayValue,handleSelectChange:T}),((k=s.rawClickTree)==null?void 0:k.domType)==="inputDom"?((P=s.rawClickTree)==null?void 0:P.check)==="boolean"?(0,ju.jsx)(X3o,{selectValueProps:s.rawClickTree.displayValue,handleSelectChange:T}):(0,ju.jsx)(Kt,{disabled:s.key.length===0,value:s.value,onChange:x,style:{width:"90%"},onBlur:S,enterTriggerBlur:!0}):null]})]})]})]})},two=(0,j5.memo)(EZr);var cwo=L(Se());var dwo=L(CW());var srt=L(Se());var iwo=L(CW());var aee=L(z()),art=be.bind(iwo.default.locals),owo=t=>{let{tableHeader:e}=t,{symbolViewsSectionStore:i}=Ll;Ce(i);let o=(0,srt.useRef)(null),[r,n]=(0,srt.useState)([]),a=u=>{i.hightlightIds=u.hightlightIds},s=u=>{i.hightlightIds=[]},l=u=>{let p=u.map(m=>({rowUniqueFlag:m.$id,hightlightIds:m.hightlightIds,serialNum:m.pinNumber})).sort((m,h)=>Number(m.serialNum)>Number(h.serialNum)?1:-1);n(m=>p)},c=(u,p)=>{Da.open({data:[{title:"Recover",cmd:"RECOVER"}],position:{x:u,y:p},onClick(m,h,f,g){m.cmd==="RECOVER"&&o.current.recoverImageViews()},onEnterConfirm(m,h,f){m[0]==="RECOVER"&&o.current.recoverImageViews()}})},d=Gr(u=>{navigator.clipboard.writeText(u.row.serialNum).then(()=>{De({type:"success",msg:"Copy number successfully!"})})},260);return(0,aee.jsx)("div",{className:art("symbol-container"),ref:o,children:(0,aee.jsxs)("div",{className:art("symbol-content"),children:[(0,aee.jsx)("div",{className:art("symbol-content-view"),children:(0,aee.jsx)(B3,{$ref:o,symbolItem:i.symbolItem,selectPosition:"top",enableThumbImageDraggable:!0,enableThumbImageScalable:!0,needGrayMask:!0,initSetShowLoading:i.isShowLoading,initHightLightIds:i.hightlightIds,sourceSCHCanvasSymbolParts:i.sourceSCHCanvasSymbolParts,useSCHCanvasSymbolDataPriority:!0,activeTabId:gi(),onPinListCreated:l,onImageSectionContextmenu:c})}),(0,aee.jsx)("div",{className:art("symbol-content-table"),children:(0,aee.jsx)(xi,{index:"rowUniqueFlag",border:!0,openRowHoverBgColor:!0,fixedHeader:!0,height:210,openRowSelectedBgColor:!1,resize:!1,columns:e,rows:r,onClick:d,onRowMouseEnter:a,onRowMouseLeave:s})})]})})};var rwo=L(Se());var nwo=L(CW());var see=L(z()),lrt=be.bind(nwo.default.locals),awo=t=>{let{tableHeader:e}=t,{footprintViewsSectionStore:i,d3ModelViewsSectionStore:o}=Ll;Ce(i);let[r,n]=(0,rwo.useState)([]),a=(d,u)=>{let p=u.map(m=>({rowUniqueFlag:m.number,serialNum:m.index}));n(m=>p)},s=d=>{i.hightlightIds=[d.rowUniqueFlag]},l=d=>{i.hightlightIds=[]},c=Gr(d=>{navigator.clipboard.writeText(d.row.serialNum).then(()=>{De({type:"success",msg:"Copy number successfully!"})})},260);return(0,see.jsx)("div",{className:lrt("footprint-container"),children:(0,see.jsxs)("div",{className:lrt("footprint-content"),children:[(0,see.jsx)("div",{className:lrt("footprint-content-view"),children:(0,see.jsx)(sI,{footprintItem:i.footprintItem,initSetShowLoading:i.isShowLoading,needLockMask:i.needLockMask,onPadDimensionListReady:a,initHightLightIds:i.hightlightIds,onIframeLoaded:d=>{i.iframeId=d}})}),(0,see.jsx)("div",{className:lrt("footprint-content-table"),children:(0,see.jsx)(xi,{index:"rowUniqueFlag",border:!0,openRowHoverBgColor:!0,fixedHeader:!0,height:230,openRowSelectedBgColor:!1,resize:!1,columns:e,rows:r,onClick:c,onRowMouseEnter:s,onRowMouseLeave:l})})]})})};var qse=L(Se());var swo=L(CW());var lee=L(z()),crt=be.bind(swo.default.locals),lwo=t=>{let{tableHeader:e}=t,{d3ModelViewsSectionStore:i}=Ll;Ce(i);let[o,r]=(0,qse.useState)([]),n=(0,qse.useRef)(null),a=(0,qse.useRef)(null),s=()=>{var p;if(i.iframeId&&i.d3ModelItemId){if(n.current&&n.current===i.d3ModelItemId)return;n.current=i.d3ModelItemId;let m=document.querySelector(`[uuid="${i.iframeId}"]`);if((p=i.d3modelItem)!=null&&p.dataStr&&m){let h=m.querySelector("iframe");a.current=h,C.windowBridge.rpcCall("/pcb/3d/getAssemblyID",i.d3modelItem.dataStr,h.contentWindow).then(f=>{f.message&&r(g=>f.message)})}}},l=(0,qse.useMemo)(()=>o.length>0?o.map(p=>({rowUniqueFlag:p,serialNum:p})):[],[o]),c=Gr(p=>{navigator.clipboard.writeText(p.row.serialNum).then(()=>{De({type:"success",msg:"Copy number successfully!"})})},260),d=p=>{a.current&&C.windowBridge.rpcCall("/pcb/3d/highLightAssembly",[i.d3modelItem.dataStr,p.serialNum],a.current.contentWindow)},u=()=>{a.current&&C.windowBridge.rpcCall("/pcb/3d/highLightAssembly",[i.d3modelItem.dataStr,""],a.current.contentWindow)};return(0,lee.jsx)("div",{className:crt("d3-container"),children:(0,lee.jsxs)("div",{className:crt("d3-content"),children:[(0,lee.jsx)("div",{className:crt("d3-content-view"),children:(0,lee.jsx)(SA,{d3modelItem:i.d3modelItem,isCouldLoadIframe:i.isCouldLoadIframe,initSetShowLoading:i.isShowLoading,d3modelTransform:i.d3modelTransform,d3ModelItemId:i.d3ModelItemId,onIframeLoaded:p=>{i.iframeId=p},onCanvasRenderEnd:s})}),(0,lee.jsx)("div",{className:crt("d3-content-table"),children:(0,lee.jsx)(xi,{index:"rowUniqueFlag",openRowSelectedBgColor:!1,border:!0,fixedHeader:!0,height:196,openRowHoverBgColor:!0,resize:!1,columns:e,rows:l,onClick:c,onRowMouseEnter:d,onRowMouseLeave:u})})]})})};var rbe=L(z()),AZr=be.bind(dwo.default.locals),NZr=()=>{let t=J(),e=(0,cwo.useMemo)(()=>[{key:"serialNum",name:t("No."),width:1,align:"center",sortable:!0}],[]);return(0,rbe.jsxs)("div",{className:AZr("componentModelShow-container"),children:[(0,rbe.jsx)(owo,{tableHeader:e}),(0,rbe.jsx)(awo,{tableHeader:e}),(0,rbe.jsx)(lwo,{tableHeader:e})]})},uwo=NZr;var iFt=L(CW());var pwo=L(Se());var mwo=L(CW());var IW=L(z()),eFt=be.bind(mwo.default.locals),hwo=(0,pwo.memo)(t=>{let{containerId:e,onDialogConfirm:i}=t,{compenentListStore:o}=Ll,r=J(),n=()=>{var l;let{ipcDac2552AttrTreeRender:s}=Ll;if(s.length>0&&((l=s[0])==null?void 0:l.children.length)>0){let c=qzt(ue.deepClone(s[0]));if(c!=null&&c.children){let d=`<?xml version="1.0" encoding="utf-8"?>

<${D6e} xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
${Jzt({children:c.children})}</${D6e}>`;ya(new Blob([d],{type:"text/xml"}),`ipc-2552_${o.currentClickRowData.displayDevice}.xml`)}else De({type:"warn",msg:"Undefined\xA0IPC/DAC-2552 properties"})}else De({type:"warn",msg:"Please select one component"})},a=je();return(0,IW.jsxs)("div",{className:eFt("footer"),children:[(0,IW.jsxs)("div",{className:eFt("footer-left"),children:[(0,IW.jsx)(Me,{disabled:a,onClick:()=>{Ll.ipcDac2552AttrTreeRender.length===0?Dt({icon:"warning",closed:!0,content:"Please select one component"}):W3o()},style:{marginRight:"8px"},children:r("Import XML")}),(0,IW.jsx)(Me,{disabled:a,onClick:n,children:r("Export XML")})]}),(0,IW.jsxs)("div",{className:eFt("footer-right"),children:[(0,IW.jsx)(Me,{type:"primary",style:{marginRight:"8px"},disabled:a,onClick:async()=>{let{compenentListStore:s}=Ll,{currentClickRowData:l}=s;if(!l){Dt({title:"Information",content:"Please select one component",confirmText:"Confirm",closed:!0,height:130,isHtml:!1});return}i&&await i(Ll)},children:"Confirm"}),(0,IW.jsx)(Me,{onClick:()=>{Ll.closeDialog(),le.close(e)},children:"Cancel"})]})]})});var LW=L(z()),tFt=be.bind(iFt.default.locals),kZr=t=>{let{containerId:e,onDialogConfirm:i}=t;return Ae(iFt.default),Bt(()=>{Ll.closeDialog()}).close(e),(0,LW.jsxs)("div",{className:tFt("dialog-container"),children:[(0,LW.jsxs)("div",{className:tFt("dialog-container-content"),children:[(0,LW.jsx)(Z3o,{}),(0,LW.jsx)(two,{}),(0,LW.jsx)(uwo,{})]}),(0,LW.jsx)("div",{className:tFt("dialog-footer"),children:(0,LW.jsx)(hwo,{containerId:e,onDialogConfirm:i})})]})},gwo=(0,fwo.memo)(kZr);function bwo(t){let e=t.attrs,i=Object.keys(e),o="-";for(let r=0;r<i.length;r++)if(/\=\{(.*)\}/gi.test(e[i[r]]))try{let n=/\=\{(.*)\}/gi.exec(e[i[r]]);if(n&&n[1]){switch(n[1]){case"Symbol":{e[i[r]]=t.displaySymbolName||o;break}case"Footprint":{e[i[r]]=t.displayFootPrint||o;break}case"3D Model":{e[i[r]]=e["3D Model Title"]||o;break}default:e[i[r]]=e[n[1]]||t.displayDevice||o}/\=\{(.*)\}/gi.test(e[i[r]])&&(e[i[r]]=t.displayDevice||o);continue}e[i[r]]=o}catch{e[i[r]]=o}return e}function OZr(t,e){return lo(ol(t)?t:e)}function ywo(t){for(let e=0;e<t.length;e++)if(t[e].attrs.Footprint)return t[e].attrs.Footprint;return""}function RZr(t=[]){let e=t.filter(r=>r.errorType==mc.NO_FOOTPRINT.type||r.errorType==mc.NO_FOOTPRINT_DATA.type)||[],i=t.filter(r=>r.errorType==mc.NOT_MATCH.type)||[],o=t.filter(r=>r.errorType==mc.NORMAL.type)||[];return e.sort((r,n)=>r.designator>n.designator?1:-1),i.sort(LSe(["designator","footprintItemTitle"],!0)),o.sort(LSe(["designator","footprintItemTitle"],!0)),[...e,...i,...o]}function _Zr(t){let e=[],i=0;for(let o=0;o<t.length;o++){let r="assoic_"+ ++i,n=[];for(let a=0;a<t[o].length;a++){let s=t[o][a],l=s.symbolId,c=typeof s.partNO<"u"?+s.partNO-1:0;s.symbolId=s.attrs.Symbol,s.attrs=bwo(t[o][a]),s.disabledRow=typeof s.disabledRow<"u"?!!s.disabledRow:!1,s.partIndex=c<=0?0:c,s._partAssoicId=r,s._sourceSymbolCanvasElementId=l,n.push(s)}e.push(n)}return e}async function jZr(t,e){let i=he.getTopActiveSchematicId(),o=(await C.windowBridge.rpcCall("getAllSymbolPathPermissionBySchUuid",i,ko())).message||{},r=R7.checkTopSchematicInVariantView(i);for(let n=0;n<t.length;n++){let a=t[n].sheetPath;if(o&&typeof o[a]=="boolean"){let s=Object.values(t[n].mapTabId2Path);if(t[n].disabledCheckbox=t[n].disabledRow=s.filter(l=>o[l]).length===s.length||r,t[n].disabledRow){t[n].checked=!1;let l=e.indexOf(t[n].$id);l>=0&&e.splice(l,1);continue}}}}async function BZr(t,e,i,o,r,n){let a=[],s=!1,l=[],c=Object.values(o||{});for(let f=0;f<c.length;f++){let g=Object.values(c[f]);for(let b=0;b<g.length;b++){if(typeof g[b]=="string"){l.push(String(g[b]));continue}g[b].cmdKey==="part"&&l.push(g[b].id)}}let d=new Map,u=new Map,p=new Set;for(let f=0;f<t.length;f++){let g=t[f],b=ywo(g);if(b&&!p.has(b)){p.add(b);try{let y=await Ze.getFootprint({isProject:!0,path:C.currentProject.projectId,uuid:b});if(y){u.set(b,y);let{padList:w}=await ue.getFootprintPadInfo(y.uuid,y.path);d.set(b,w);continue}d.set(b,[])}catch{}}}let m=[],h={};for(let f=0;f<t.length;f++){vt(r+f*(n/t.length),"CALL_FOOTPRINTMANAGER_DIALOG");let g=t[f],b=g[0],y=mc.NORMAL.type,w={},x="",S="",T=b.displayDevice||"[Unname]",M=b.displaySymbolName||"",I=b.displayFootPrint||"",A=b.symbolId,D="",E=!1,N=!1,R="",v="",k=b.path,P=b.partIndex,O=b._partAssoicId,_=!1,j={},B={},V=[];x=b.attrs.Designator?b.attrs.Designator:"";let G=ywo(g),Q=u.get(G)||null,H=(d.get(G)||[]).map(ae=>ae.num),q="",U="",F=null;V.length=0;let K=g.length>=2;for(let ae=0;ae<g.length;ae++){let pe=g[ae],Z=pe.path,ee=ol(Z)?Z:pe.sheetUuid,ce=pe.instanceValue;q=ee||i;let ne=`${ee}${"@_"}${pe._sourceSymbolCanvasElementId}`;!E&&e.includes(ne)&&(E=!0),!s&&E&&(s=!0),S+=pe.symbolId+(ae<g.length-1?";":""),U+=pe._sourceSymbolCanvasElementId+(ae<g.length-1?";":""),pe.partId||(pe.partId="1");let oe=pe.pins||[],re=JSON.parse(JSON.stringify(oe));if(ce)for(let X=0;X<oe.length;X++){let ie=re[X].id;ce.attr[ie]&&typeof ce.attr[ie]["Pin Number"]<"u"&&(re[X].num=ce.attr[ie]["Pin Number"])}w[pe.partId]=re.map(X=>{let ie=X.attrs||{};return{$id:X.id,pinName:X.name||ie.Name,pinNumber:X.num||ie.NUMBER||ie["Pin Number"],pinSimName:null,pinNgName:null,hightlightIds:[]}});let Y=OZr(Z,q);j[Y]||(j[Y]=[]),j[Y].push(pe._sourceSymbolCanvasElementId),V.push({displaySymbolName:pe.displaySymbolName+(K?`.${pe.partNO}`:""),symbolId:pe._sourceSymbolCanvasElementId,sheetUuid:pe.sheetUuid}),B[Y]||(B[Y]=""),B[Y]=Z}let te=b.attrs;if(S&&typeof q<"u"&&(S=`${q}${"@_"}${S}`,S=f+"$_"+S),v=T,v=te&&AX(te)||T,l.length){let ae=U.split(";");for(let pe=0;pe<ae.length;pe++)if(l.indexOf(ae[pe])>=0&&q===i){E=!0,s=!0;break}}h[O]!==!0&&(h[O]=E),h[O]&&m.push(S),a.push({callScenType:"SCH_CANVAS",$id:S,checked:h[O],disabledRow:_,disabledCheckbox:_,designator:x,comment:v,information:D,partPinMatchMap:{},pinHashtable:w,padNumberList:H,partIndex:P,deviceItemTitle:T,fetchSymbolItemOnSelected:!0,symbolItem:F,symbolItemTitle:F?F.display_title:M,symbolItemIdInit:A,footprintItem:Q,footprintItemTitle:Q?Q.display_title:I,footprintItemIdInit:G,d3modelItem:null,d3modelItemTitle:b?b.attrs["3D Model Title"]:"",d3modelItemTransform:"",d3modelItemIdInit:"",simmodelItem:null,simmodelItemTitle:"",simmodelItemIdInit:"",isError:N,errorType:y,bgColor:R,mapTabId2DomId:j,mapTabId2Path:B,sourceSCHCanvasSymbolParts:[...V],attributes:te,sheetPath:k,path:C.currentProject.projectId,deviceHtmlDomIdInSCH:U,_partAssoicId:O})}for(let f=0;f<a.length;f++)a[f].checked=h[a[f]._partAssoicId],a[f].checked&&m.indexOf(a[f].$id)<=-1&&m.push(a[f].$id);return h=void 0,{isSetSelected:s,deviceList:a,deviceListSelectedIds:m}}async function drt(){var e,i;let t=0;try{vt(.01,"CALL_FOOTPRINTMANAGER_DIALOG");let o,n=he.getActiveTab().split("@")[0],a=he.getTopActiveSchematicId(),s=(await C.windowBridge.rpcCall("getAllSymbolMultipartBySchUuid",a,ko())).message;vt(.1,"CALL_FOOTPRINTMANAGER_DIALOG");let l=[];o=n;let c=((i=(e=bD)==null?void 0:e.data)==null?void 0:i.target)||{},d=Object.keys(c);d.length&&(o=d[0].split("@")[0]);for(let b of d)c[b].forEach(w=>{l.push(`${b.split("@")[0]}${"@_"}${w}`)});let u=_Zr(s);vt(.2,"CALL_FOOTPRINTMANAGER_DIALOG");let p=(await C.messageBus.rpcCall("getAttrTarget")).message;t=performance.now();let{deviceList:m=[],isSetSelected:h=!1,deviceListSelectedIds:f=[]}=await BZr(u,l,o,p,.2,.85-.2);CO(m),vt(.9,"CALL_FOOTPRINTMANAGER_DIALOG");let g=RZr(m);return await jZr(g,f),vt(1,"CALL_FOOTPRINTMANAGER_DIALOG"),{deviceListOriginal:m,deviceListSorted:g,deviceListSelectedIds:f}}catch(o){return console.warn(o),vt(1,"CALL_FOOTPRINTMANAGER_DIALOG"),{deviceListOriginal:[],deviceListSorted:[],deviceListSelectedIds:[]}}}async function wwo(){let{deviceListSorted:t}=await drt(),e=XB(),i=null;e.length>0&&(i=e.filter(r=>r.cmdKey==="part").map(r=>r.id)[0]);let o=[];t.length>0&&(o=t.map(r=>{var n,a,s,l,c,d,u,p,m,h,f,g,b;return{rowUniqueFlag:r.$id,rawDeviceListItem:r,checked:i?i===r.deviceHtmlDomIdInSCH:!1,displayDesignator:(n=r.designator)!=null?n:"",displayComment:(s=(a=r==null?void 0:r.comment)!=null?a:r==null?void 0:r.deviceItemTitle)!=null?s:"",displayFootprint:(l=r==null?void 0:r.footprintItemTitle)!=null?l:"",displayDevice:(c=r==null?void 0:r.deviceItemTitle)!=null?c:"",footprintItem:(d=r==null?void 0:r.footprintItem)!=null?d:Pg.createEmptyFootprintItem(),d3ModelUuid:(p=(u=r==null?void 0:r.attributes)==null?void 0:u["3D Model"])!=null?p:"",d3ModelTransform:(m=r==null?void 0:r.d3modelItemTransform)!=null?m:"",symbolUuid:(f=(h=r==null?void 0:r.attributes)==null?void 0:h.Symbol)!=null?f:"",path:r.path,sourceSCHCanvasSymbolParts:r==null?void 0:r.sourceSCHCanvasSymbolParts,ipcDac2552:(b=(g=r==null?void 0:r.attributes)==null?void 0:g[y0])!=null?b:""}})),await cee({callScenType:"SCH",tableRes:o,onDialogConfirm(r){var u;let{compenentListStore:n,ipcDac2552AttrTreeRender:a}=r,{currentClickRowData:s}=n,l=gi(),c=JSON.stringify(a),d={[l]:{[s.rawDeviceListItem.deviceHtmlDomIdInSCH]:{[y0]:{value:c}}}};(u=s==null?void 0:s.rawDeviceListItem.attributes)!=null&&u[y0]?C.messageBus.publish("sch/setProperty",{data:d,notRender:!0}):(s.rawDeviceListItem.attributes[y0]=c,C.messageBus.publish("sch/addProperty",{data:d})),setTimeout(()=>{De({type:"success",msg:"Update Success!"})},50)}})}var Xse=(t,e)=>{if(/\=\{(.*)\}/gi.test(t)){let i=/\=\{(.*)\}/gi.exec(t);if(i&&i[1])return e[i[1]]||""}return t||""};var Cwo=async()=>{let t=await ei(),e=(await C.windowBridge.rpcCall("getAllComponentWithSelectionState","",t.contentWindow)).message,i=[];(e==null?void 0:e.length)>0&&(e=e.sort((o,r)=>{var n,a,s,l;return ue.naturalCompare((a=(n=o==null?void 0:o.attributes)==null?void 0:n.Designator)!=null?a:"",(l=(s=r==null?void 0:r.attributes)==null?void 0:s.Designator)!=null?l:"")}),await Ro(e,async(o,r)=>{var s,l,c,d,u,p,m,h,f,g,b;let n=null;if(r!=null&&r.footprintUUID){let y=await Ze.getFootprint({uuid:r.footprintUUID,path:C.currentProject.projectId,isProject:!0});n=y!=null?y:null}let a=await Ze.getDevice({uuid:r.deviceUUID,path:C.currentProject.projectId,isProject:!0});i.push({rowUniqueFlag:r.ID,rawDeviceListItem:r,checked:(s=r==null?void 0:r.isSelected)!=null?s:!1,displayDesignator:(c=(l=r==null?void 0:r.attributes)==null?void 0:l.Designator)!=null?c:"",displayComment:Xse((d=r==null?void 0:r.attributes)==null?void 0:d.Name,r==null?void 0:r.attributes)||(a==null?void 0:a.display_title)||"",displayFootprint:(u=r==null?void 0:r.attributes.Footprint)!=null?u:"",displayDevice:(p=r==null?void 0:r.attributes.Device)!=null?p:"",d3ModelUuid:(m=r==null?void 0:r.attributes["3D Model"])!=null?m:"",d3ModelTransform:(h=r==null?void 0:r.attributes["3D Model Transform"])!=null?h:"",footprintItem:n!=null?n:Pg.createEmptyFootprintItem(),symbolUuid:(f=a==null?void 0:a.attributes.Symbol)!=null?f:"",path:C.currentProject.projectId,ipcDac2552:(b=(g=r==null?void 0:r.attributes)==null?void 0:g[y0])!=null?b:""})})),await cee({callScenType:"PCB",tableRes:i,async onDialogConfirm(o){let{compenentListStore:r,ipcDac2552AttrTreeRender:n}=o,{currentClickRowData:a}=r,s=await ei();C.windowBridge.rpcCall("modifyIPC2552",{data:JSON.stringify(n),ids:[a.rowUniqueFlag]},s.contentWindow).then(()=>{De({type:"success",msg:"Update Success!"})}).catch(l=>{De({type:"error",msg:"Update failed!"})})}})};var $se=L(Vi());var lb=L(Se());function zZr(t){let e={},i=t.attributes||{},{symbolItem:o,footprintItem:r}=t;return e.path=t.path,e.title=t.deviceItemName.trim(),e.images=t.imageUrl,t.isFromProject&&(t.categoryShowString?e.custom_tags=JSON.stringify(t.categoryShowString.split(":")):e.custom_tags="[]"),e.tags=[],t.categoryTags&&t.categoryTags instanceof Array&&(t.categoryTags[0]&&e.tags.push(t.categoryTags[0]),t.categoryTags[1]&&e.tags.push(t.categoryTags[1])),e.description=t.description||"",e.owner=t.userIdSelected,e.attributes=i,e.attributes.Symbol||(e.attributes.Symbol=""),e.attributes.Footprint||(e.attributes.Footprint=""),o&&(e.symbol_type=+o.docType),r&&(e.footprint_type=+r.docType),e}async function xwo(t){let e=zZr(t),i=Mt(Math.random());try{let o=await Ze.createDevice({path:e.path,isProject:e.path===C.currentProject.projectId,device:{data:{title:e.title,description:e.description,images:e.images,attributes:e.attributes,tags:e.tags}}});return o?{code:0,success:!0,result:o}:{code:-1,success:!1,result:null,msg:"Server Error.",requestId:i}}catch{return{code:-9,success:!1,result:null,requestId:i,msg:"[CreateDeviceItem] RemoteFetch Error."}}}function Two(t,e){let i=Object.keys(t);for(let o=0;o<i.length;o++)e[i[o]]=t[i[o]];typeof e.attributes=="object"&&(typeof t.footprintItemId<"u"&&(e.attributes.Footprint=t.footprintItemId),typeof t.symbolItemId<"u"&&(e.attributes.Symbol=t.symbolItemId),typeof t.d3modelItemId<"u"&&(e.attributes["3D Model"]=t.d3modelItemId),typeof t.d3modelItemName<"u"&&(e.attributes["3D Model Title"]=t.d3modelItemName))}var Swo=[{text:"Confirm",type:"primary",style:{marginRight:"8px"},disabled:!1,command:"confirm"},{text:"Cancel",command:"cancel"}];var Mwo=[{value:"theSameNameDoc",label:"Use the existed library"},{value:"copySameNameDoc",label:"Create new and auto rename"},{value:"replaceSameNameDoc",label:"Use the existed library and replace the content"}],Iwo=t=>[{key:"title",name:t("Same Name"),width:.33},{key:"currentVersion",name:t("Document Type"),width:.33},{key:"lastestVersion",name:t("Linked Device"),width:.33}],urt=t=>[{key:"attrName",name:t("Property"),width:154},{key:"sameNameValue",name:t("Document with The Same Name"),width:154},{key:"targetValue",name:t("Target Document"),width:154}];var rFt=L(vwo());var Qn=L(z()),FZr=({containerId:t,formData:e,params:i})=>{let o=J(),r=be.bind(rFt.default.locals);Ae(rFt.default);let n=(0,lb.useRef)(null),a=(0,lb.useRef)(null),s=(0,lb.useRef)(null),l=(0,lb.useRef)(null),c=(0,lb.useRef)(null),d=(0,lb.useRef)(null),u=(0,lb.useRef)(null),p=(0,lb.useRef)(null),m=(0,lb.useRef)(null),h=(0,lb.useRef)(null),f=(0,lb.useRef)(null),g=(0,lb.useRef)(null),{deviceManager:b,newFootPrint:y,oldFootPrint:w,newSymbol:x,oldSymbol:S,new3DModel:T,old3DModel:M,onConfirm:I,onCancel:A,createDevice:D=!0,LINK_SYMBOL_COMPONENT:E,LINK_FOOTPRINT_COMPONENT:N,EASY_DEVICE_SAVE_AS_INFO:R}=i,[v,k]=(0,lb.useState)([]),[P,O]=(0,lb.useState)([]),[_,j]=(0,lb.useState)([0]),[B,V]=(0,lb.useState)(!1),[G,Q]=(0,lb.useState)("theSameNameDoc");(0,lb.useEffect)(()=>{let Y=[];if(x)for(let X=0;X<x.length;X++){let ie=x[X];Y.push({index:X,title:ie.display_title,uuid:ie.uuid,currentVersion:S.docType==se.FOOTPRINT?o("Footprint"):o("Symbol"),lastestVersion:e["device-name"]})}if(y)for(let X=0;X<y.length;X++){let ie=y[X];Y.push({index:X,title:ie.display_title,uuid:ie.uuid,currentVersion:w.docType==se.FOOTPRINT?o("Footprint"):o("Symbol"),lastestVersion:e["device-name"]})}if(T)for(let X=0;X<T.length;X++){let ie=T[X];Y.push({index:X,title:ie.display_title,uuid:ie.uuid,currentVersion:o("3D Model"),lastestVersion:e["device-name"]})}k(Y),q({row:Y[0]})},[]);let H=async Y=>{switch(Y){case"confirm":try{le.close(t);let X=E;if(X!=null)return X.confirmSameNameMethod(G,S,x[0]).then(fe=>{le.close(t)});let ie=N;if(ie!=null)return ie.confirmSameNameMethod(G,w,y[0]).then(fe=>{le.close(t)});let de={};if(G=="theSameNameDoc"){if(y&&y.length)for(let fe of y)SE("footprintItemName","footprintItemId",fe.display_title,fe.uuid,de);else w&&SE("footprintItemName","footprintItemId",w.display_title,w.uuid,de);if(x&&x.length)for(let fe of x)SE("symbolItemName","symbolItemId",fe.display_title,fe.uuid,de);else S&&SE("symbolItemName","symbolItemId",S.display_title,S.uuid,de);if(T&&T.length)for(let fe of T)SE("d3modelItemName","d3modelItemId",fe.display_title,fe.uuid,de);else M&&SE("d3modelItemName","d3modelItemId",M.display_title,M.uuid,de)}else if(G=="replaceSameNameDoc"){if(y&&y.length)for(let fe of y)await Ze.updateFootprint({footprint:{uuid:w.uuid,path:w.path,isProject:!1,override:{title:fe.display_title,docType:w.docType,tags:wre(fe.tags),description:fe.description}},uuid:fe.uuid,path:e["device-lib"],isProject:e["device-lib"]===C.currentProject.projectId}),SE("footprintItemName","footprintItemId",fe.display_title,fe.uuid,de);if(x&&x.length)for(let fe of x)await Ze.updateSymbol({symbol:{uuid:S.uuid,path:S.path,isProject:!1,override:{title:fe.display_title,docType:S.docType,tags:wre(fe.tags),description:fe.description}},uuid:fe.uuid,path:e["device-lib"],isProject:e["device-lib"]===C.currentProject.projectId}),SE("symbolItemName","symbolItemId",fe.display_title,fe.uuid,de);if(T&&T.length)for(let fe of T){let ye=e["device-lib"];await Ze.updateD3Model({path:ye,isProject:ye===C.currentProject.projectId,uuid:fe.uuid,d3model:{path:ye,isProject:ye===C.currentProject.projectId,uuid:fe.uuid,override:{title:fe.display_title,description:fe.description,tags:wre(fe.tags)}}}),SE("d3modelItemName","d3modelItemId",fe.display_title,fe.uuid,de)}}else if(G=="copySameNameDoc"){let fe,ye,Le;if(w){fe=await dee(w,"footprint",e["device-owner"],e["device-lib"]);let Re={"file-owner":e["device-owner"],"file-name":fe,"file-describe":w.description,"file-category":wre(w.tags),dataString:w.dataStr,"file-lib":e["device-lib"]},Ne=await ZLe(Re,w);SE("footprintItemName","footprintItemId",Ne.display_title,Ne.uuid,de)}if(S){ye=await dee(S,"symbol",e["device-owner"],e["device-lib"]);let Re={"file-owner":e["device-owner"],"file-name":ye,"file-describe":S.description,"file-category":wre(S.tags),dataString:S.dataStr,"file-lib":e["device-lib"]},Ne=await ZLe(Re,S);SE("symbolItemName","symbolItemId",Ne.display_title,Ne.uuid,de)}if(M){Le=await dee(M,"model",e["device-owner"],e["device-lib"]);let Re={"file-owner":e["device-owner"],"file-name":Le,"file-describe":M.description,"file-category":wre(M.tags),dataString:M.dataStr,"file-lib":e["device-lib"]},Ne=await ZLe(Re,M);SE("d3modelItemName","d3modelItemId",Ne.display_title,Ne.uuid,de)}}if(Two(de,i.confirmRes),I==null||I(de),D){let fe=await xwo(i.confirmRes);if(fe.code!==0)return Dt({icon:"error",closed:!0,content:fe.msg||fe||me.i18n("System Error")}),!1;De({type:"success",msg:me.i18n("Update successfully!")})}}catch(X){typeof X.msg<"u"&&Ut({type:"warn",message:X.msg}),typeof X.message<"u"&&Ut({type:"warn",message:X.message});return}break;case"cancel":le.close(t),A==null||A();break}},q=async Y=>{let{row:X}=Y,ie;if(X.currentVersion==o("Footprint")){if(y)for(let de of y)X.uuid==de.uuid&&(ie=de);!ie.dataStr&&!ie.dataStrId&&(ie=await Ze.getFootprint({isProject:ie.owner.uuid===C.currentProject.projectId,path:ie.owner.uuid,uuid:ie.uuid})),u.current.style.display="flex",p.current.style.display="none",m.current.style.display="none",await te(ie,w),await pe(ie,w,"footprint")}else if(X.currentVersion==o("Symbol")){if(x)for(let de of x)X.uuid==de.uuid&&(ie=de);!ie.dataStr&&!ie.dataStrId&&(ie=await Ze.getSymbol({isProject:ie.owner.uuid===C.currentProject.projectId,path:ie.owner.uuid,uuid:ie.uuid})),u.current.style.display="none",p.current.style.display="flex",m.current.style.display="none",await Z(ie,S),await pe(ie,S,"symbol")}else if(X.currentVersion==o("3D Model")){if(T)for(let de of T)X.uuid==de.uuid&&(ie=de);u.current.style.display="none",p.current.style.display="none",m.current.style.display="flex",await U(ie,M),await pe(ie,M,"3dModel")}},U=async(Y,X)=>{await F(Y,c),await F(X,d)},F=async(Y,X)=>{if(Y&&Y.uuid){let ie=Y.uuid.split("|"),de=ie[1]||Vm();if(Tn&&dfe()||!Je){let fe=await Ze.getD3Model({isProject:!1,path:de,uuid:ie[0]});await K(ie[0],fe,Y.transform3D,de,!0,X)}else(Ko||Tn&&!dfe())&&Y.uuid.includes("|")&&await K(Y.uuid.replace(/[\\|\/]+/,"|"),null,Y.transform3D,de,!0,X)}},K=async(Y,X,ie="0,0,0,0,0,0,0,0,0",de,fe,ye)=>{let Le=X&&X.dataStr||JSON.stringify({model:Y,unit:"mm"});de=X&&X.path||de;let Re=ye.current.querySelector("iframe");if(Re){let Te=ye.current.querySelector("div");Te&&(Te.style.display="block"),setTimeout(async()=>{await Ne(Re,Le,ie,de,fe)},100)}else{let Te=g1(ye.current,Y,se.VIEW3D);Te.onload=async function(){await Ne(Te,Le,ie,de,fe)}}async function Ne(Te,Pe,Oe,Ue,Ve){let ze="";await C.windowBridge.rpcCall("/pcb/3d/load/model",{dataStr:Pe,path:Ue},Te.contentWindow),await C.windowBridge.rpcCall("/pcb/3d/model/update",Oe,Te.contentWindow),await C.windowBridge.rpcCall("/pcb/3d/model/closeEditMode","",Te.contentWindow),await C.windowBridge.publish("toggle3DView",{cmd:"refresh"},Te.contentWindow);let He={key:"attr-silk-technology",value:"standardSilk"};C.windowBridge.publish("3DViewModifyAttr",He,Te.contentWindow)}},te=(Y,X)=>{let ie=["DOCTYPE","ATTR","CANVAS","LAYER","LAYER_PHYS","ACTIVE_LAYER","NET","PRIMITIVE","GROUP","SILK_OPTS","CONNECT","PAD_NET","DEVICE","RULE_TEMPLATE","RULE","RULE_SELECTOR","FONT","PREFERENCE","PANELIZE","PANELIZE_STAMP","PANELIZE_SIDE","PANELIZE_STAMP"],de={};JLe(Y.dataStr||"",Re=>{let Ne=JSON.parse(Re);if(ie.includes(Ne[0]))return;ae(Ne);let Te=Ne.slice(0,2).join(","),Pe=Ne.slice(3).join(",");de[Te]={id:Ne[1],value:Pe}});let fe={};JLe(X.dataStr||"",Re=>{let Ne=JSON.parse(Re);if(ie.includes(Ne[0]))return;ae(Ne);let Te=Ne.slice(0,2).join(","),Pe=Ne.slice(3).join(",");fe[Te]={id:Ne[1],value:Pe}});let ye=[],Le=[];it(fe,(Re,Ne)=>{de.hasOwnProperty(Re)?(Ne.value!==de[Re].value&&(ye.push(de[Re].id),Le.push(Ne.id)),delete de[Re]):Le.push(Ne.id)}),it(de,(Re,Ne)=>{ye.push(Ne.id)}),uee(Y,ye,(0,$se.default)(n.current)),uee(X,Le,(0,$se.default)(a.current))},ae=Y=>{if(Y[0]=="PAD"){if(Y[10][0]=="RECT"){let X=0;for(;Y[10].length<4;)Y[10][X]==null&&Y[10].push(0),X++}if(Y[9]==null&&(Y[14]=null),Y.length<27){let X=0;for(;Y.length<27;){if(Y[X]==null)Y.push(null);else if(typeof Y[X]=="number"){let ie=String(Y[X]).indexOf(".")+1,de=String(Y[X]).length-ie;ie>0&&de>3&&(Y[X]=Y[X].toFixed(3))}X++}}}},pe=(Y,X,ie)=>{let de=Y.display_title===X.display_title,fe=Y.description===X.description,ye,Le;if(Je)ye=X.parent_tag_name?X.parent_tag_name+":"+(X.child_tag_name||""):"",Le=Y.parent_tag_name?Y.parent_tag_name+":"+(Y.child_tag_name||""):"";else if(ye=X.tags?[Oe(X.tags.parent_tag),Oe(X.tags.child_tag)].filter(Boolean).join(":"):"",Y.project_uuid)try{Le=JSON.parse(Y.custom_tags).join(":")}catch{}else Le=Y.tags.parent_tag.name?Oe(Y.tags.parent_tag)+":"+Oe(Y.tags.child_tag):"";let Re=ye===Le,Ne=[{attrName:o("name"),sameNameValue:Y.display_title,targetValue:X.display_title,order:de?1:0,bgColor:de?"var(--bg-color-table-row)":"red"},{attrName:o("Category"),sameNameValue:Le,targetValue:ye,order:Re?1:0,bgColor:Re?"var(--bg-color-table-row)":"red"},{attrName:o("description"),sameNameValue:Y.description||"",targetValue:X.description||"",order:fe?1:0,bgColor:Re?"var(--bg-color-table-row)":"red"}],Te={},Pe={};switch(ie){case"footprint":JLe(Y.dataStr||"",ze=>{if(ze.startsWith('["ATTR"')){let He=JSON.parse(ze),Ye=He[7],ke=He[8];if(["Footprint"].includes(Ye))return;Te[Ye]={value:ke,class:"redFont"}}}),JLe(X.dataStr||"",ze=>{if(ze.startsWith('["ATTR"')){let He=JSON.parse(ze),Ye=He[7],ke=He[8];if(["Footprint"].includes(Ye))return;Pe[Ye]={value:ke,class:"redFont"}}});break;case"symbol":let Ue=g.current.parts[0].getAttr(),Ve=f.current.parts[0].getAttr();it(Ue,(ze,He)=>{["Symbol"].includes(He.key)||(Te[He.key]={value:He.value,class:"redFont"})}),it(Ve,(ze,He)=>{["Symbol"].includes(He.key)||(Pe[He.key]={value:He.value,class:"redFont"})});break;case"3dModel":break}it(Pe,(Ue,Ve)=>{Te.hasOwnProperty(Ue)&&Te[Ue].value===Ve.value?(Te[Ue].class="",Ve.class=""):Te.hasOwnProperty(Ue)||(Te[Ue]={value:"",class:"redFont"});let ze={attrName:Ue=="3D Model Title"?Ue:o(Ue),sameNameValue:Te[Ue].value,targetValue:Ve.value,order:Ve.class==="redFont"?0:1,bgColor:Ve.class==="redFont"?"red":"var(--bg-color-table-row)"};Ne.findIndex(He=>He.attrName==ze.attrName)==-1&&Ne.push(ze),delete Te[Ue]}),it(Te,(Ue,Ve)=>{let ze={attrName:Ue=="3D Model Title"?Ue:o(Ue),sameNameValue:Ve.value,targetValue:"",order:0,bgColor:"red"};Ne.findIndex(He=>He.attrName==ze.attrName)==-1&&Ne.push(ze)}),Ne.sort((Ue,Ve)=>Ue.order-Ve.order),O(Ne);function Oe(Ue){let Ve=me.curr==="zh-hans";return Ue&&(Ve&&Ue.name_cn||Ue.name)||""}},Z=async(Y,X)=>{if(!Y||!X)return;(await C.messageBus.rpcCall("Decompress",{data:Y,cb:de=>{g.current=de}})).message,(await C.messageBus.rpcCall("Decompress",{data:X,cb:de=>{f.current=de}})).message,await ee(Y,g.current,X,f.current,"symbolCompareData")},ee=async(Y,X,ie,de,fe,ye)=>{var Ue,Ve;let Le=X.parts,Re=de.parts,Ne=ye||(Le?(Ue=Le[0])==null?void 0:Ue.partId:void 0),Te=ye||(Re?(Ve=Re[0])==null?void 0:Ve.partId:void 0);X.parts=Le=Le==null?void 0:Le.filter(ze=>ze.partId===Ne),de.parts=Re=Re.filter(ze=>ze.partId===Te);let[Pe,Oe]=await ce(X.parts?X.parts[0]:void 0,de.parts[0]);Y.docType===se.PART&&!X.parts.length?(0,$se.default)(s.current).html("").css("background-color","#e2e2e2"):(Y.svgStr=await Cr("getPartSvgStr",{partIndex:0,component:Y}),Rf(Y,{hightLightIds:Pe}).then(ze=>{let He=(0,$se.default)(s.current);He.length&&(He.css("background-color",ze.bg),He.html(`<img style="width:100%;height:100%;background:${ze.bg};transform:translate(0,0) scale(1)" src="${ze.src}">`))})),ie.docType===se.PART&&!de.parts.length?(0,$se.default)(l.current).html("").css("background-color","#e2e2e2"):(ie.svgStr=await Cr("getPartSvgStr",{partIndex:0,component:ie}),Rf(ie,{hightLightIds:Oe}).then(ze=>{let He=(0,$se.default)(l.current);He.length&&(He.css("background-color",ze.bg),He.html(`<img style="width:100%;height:100%;background:${ze.bg};transform:translate(0,0) scale(1)" src="${ze.src}">`))}))},ce=(Y={},X={})=>{let ie=[],de=[],fe=Y.getAttr(),ye=X.getAttr();return it(ye,(Le,Re)=>{let Ne=Re.id,Te=Y.getAttr(Re.key);if(Te){let Pe=!0;Pe=ne(Te.attributes,Re.attributes),!Pe&&de.push(Ne)&&ie.push(Ne),fe=fe.filter(Oe=>Oe.id!==Te.id)}else de.push(Ne)}),ie=fe&&ie.concat(fe.map(Le=>Le.id))||ie,[ie,de]},ne=(Y,X)=>{delete Y.id,delete X.id;let ie=["strikeout"];for(let de in X)if(de in Y)if(Object.prototype.toString.call(X[de])==="[object Object]")if(ne(Y[de],X[de]))delete Y[de];else return!1;else if(ie.includes(de)){let fe=oe(de,Y[de],X[de]);return fe&&delete Y[de],fe}else{if(JSON.stringify(Y[de])!==JSON.stringify(X[de]))return!1;delete Y[de]}else return!1;return JSON.stringify(Y)==="{}"},oe=(Y,X,ie)=>{switch(Y){case"strikeout":if(!!X!=!!ie)return!1;break}return!0},re=()=>{V(!B)};return(0,Qn.jsxs)(Qn.Fragment,{children:[(0,Qn.jsx)("div",{id:"dlgSymbolFootPrintSaveAs",ref:h,className:r("dlgSymbolFootPrintSaveAs"),children:(0,Qn.jsxs)("div",{className:r("tabContainer"),children:[(0,Qn.jsxs)("div",{className:r("leftContent"),children:[(0,Qn.jsxs)("div",{children:[(0,Qn.jsx)("div",{"data-test":"The name of the libraries you binding or save as already existed at current library owner, please select the option and continue:",style:{marginBottom:"16px"},children:o("The name of the libraries you binding or save as already existed at current library owner, please select the option and continue:")}),(0,Qn.jsx)("div",{className:r("operationOnSameNameDoc"),children:(0,Qn.jsx)($i,{layoutVertical:!0,options:Mwo,value:G,onChange:Y=>Q(Y)})})]}),(0,Qn.jsx)("div",{style:{marginTop:"16px",height:"60%"},children:(0,Qn.jsx)(xi,{index:"uuid",selectedRowNumbers:_,border:!0,columns:Iwo(o),stockade:!0,rows:v,onClick:Y=>q(Y)})})]}),(0,Qn.jsxs)("div",{className:r("rightContent"),children:[(0,Qn.jsxs)("div",{className:r("footPrintCompareData"),ref:u,style:{display:"none"},children:[(0,Qn.jsxs)("div",{className:r(`footPrintpreview ${B?"zoonInPreview":""}`),children:[(0,Qn.jsxs)("div",{className:r("sameNameDoc"),children:[(0,Qn.jsx)("div",{"data-test":"Document with The Same Name",className:r("title"),children:o("Document with The Same Name")}),(0,Qn.jsx)("div",{className:r("ftp-op-resize"),onClick:()=>re(),children:(0,Qn.jsx)("div",{className:r(`${B?"ftp-op-resize-full":"ftp-op-resize-normal"}`)})}),(0,Qn.jsx)("div",{className:r("content"),children:(0,Qn.jsx)("div",{className:r("view"),ref:n})})]}),(0,Qn.jsxs)("div",{className:r("targetDoc"),children:[(0,Qn.jsx)("div",{"data-test":"Target Document",className:r("title"),children:o("Target Document")}),(0,Qn.jsx)("div",{className:r("ftp-op-resize"),onClick:()=>re(),children:(0,Qn.jsx)("div",{className:r(`${B?"ftp-op-resize-full":"ftp-op-resize-normal"}`)})}),(0,Qn.jsx)("div",{className:r("content"),children:(0,Qn.jsx)("div",{className:r("view"),ref:a})})]})]}),(0,Qn.jsx)("div",{className:r("differentData"),children:(0,Qn.jsx)(xi,{index:"attrName",border:!0,columns:urt(o),rows:P})})]}),(0,Qn.jsxs)("div",{className:r("symbolCompareData"),ref:p,style:{display:"none"},children:[(0,Qn.jsxs)("div",{className:r(`symbolPreview ${B?"zoonInPreview":""}`),children:[(0,Qn.jsxs)("div",{className:r("sameNameDoc"),children:[(0,Qn.jsx)("div",{"data-test":"Document with The Same Name",className:r("title"),children:o("Document with The Same Name")}),(0,Qn.jsx)("div",{className:r("ftp-op-resize"),onClick:()=>re(),children:(0,Qn.jsx)("div",{className:r(`${B?"ftp-op-resize-full":"ftp-op-resize-normal"}`)})}),(0,Qn.jsx)("div",{className:r("content"),children:(0,Qn.jsx)("div",{className:r("view"),onWheel:Y=>z2(Y),onMouseDown:Y=>Wf(Y),ref:s})})]}),(0,Qn.jsxs)("div",{className:r("targetDoc"),children:[(0,Qn.jsx)("div",{"data-test":"Target Document",className:r("title"),children:o("Target Document")}),(0,Qn.jsx)("div",{className:r("ftp-op-resize"),onClick:()=>re(),children:(0,Qn.jsx)("div",{className:r(`${B?"ftp-op-resize-full":"ftp-op-resize-normal"}`)})}),(0,Qn.jsx)("div",{className:r("content"),children:(0,Qn.jsx)("div",{className:r("view"),onWheel:Y=>z2(Y),onMouseDown:Y=>Wf(Y),ref:l})})]})]}),(0,Qn.jsx)("div",{className:r("differentData"),children:(0,Qn.jsx)(xi,{index:"attrName",border:!0,columns:urt(o),stockade:!0,rows:P})})]}),(0,Qn.jsxs)("div",{className:r("d3ModelCompareData"),ref:m,style:{display:"none"},children:[(0,Qn.jsxs)("div",{className:r(`d3Modelpreview ${B?"zoonInPreview":""}`),children:[(0,Qn.jsxs)("div",{className:r("sameNameDoc"),children:[(0,Qn.jsx)("div",{"data-test":"Document with The Same Name",className:r("title"),children:o("Document with The Same Name")}),(0,Qn.jsx)("div",{className:r("ftp-op-resize"),onClick:()=>re(),children:(0,Qn.jsx)("div",{className:r(`${B?"ftp-op-resize-full":"ftp-op-resize-normal"}`)})}),(0,Qn.jsx)("div",{className:r("content"),children:(0,Qn.jsx)("div",{className:r("view"),ref:c})})]}),(0,Qn.jsxs)("div",{className:r("targetDoc"),children:[(0,Qn.jsx)("div",{"data-test":"Target Document",className:r("title"),children:o("Target Document")}),(0,Qn.jsx)("div",{className:r("ftp-op-resize"),onClick:()=>re(),children:(0,Qn.jsx)("div",{className:r(`${B?"ftp-op-resize-full":"ftp-op-resize-normal"}`)})}),(0,Qn.jsx)("div",{className:r("content"),children:(0,Qn.jsx)("div",{className:r("view"),ref:d})})]})]}),(0,Qn.jsx)("div",{className:r("differentData"),children:(0,Qn.jsx)(xi,{index:"attrName",border:!0,columns:urt(o),rows:P})})]})]})]})}),(0,Qn.jsx)("div",{style:{marginTop:"16px",textAlign:"right"},children:Swo.map((Y,X)=>(0,Qn.jsx)(Me,{"data-test":Y.text,type:Y.type,style:Y.style,disabled:Y.disabled,onClick:()=>H(Y.command),children:(0,Qn.jsx)("span",{"data-test":Y.text,children:o(Y.text)})},`bottom-btn-${X}`))})]})},Dwo=FZr;var Ewo=L(z());async function vW(t,e,i){let o=bt[t],{containerId:r,title:n,width:a,height:s,closed:l}=o,{newFootPrint:c,oldFootPrint:d,newSymbol:u,oldSymbol:p}=i;await le.open({id:r,title:n,width:a,height:s,closed:l,onClose:()=>{var m;(m=i.onClose)==null||m.call(i)},onKeyup:m=>{var h;m.keyCode==27&&((h=i.onClose)==null||h.call(i))},children:(0,Ewo.jsx)(Dwo,{containerId:r,formData:e,params:i})})}async function UZr(t,e){var w,x;let{path:i,componentItem:o}=t,{display_title:r,uuid:n,description:a,docType:s,dataStr:l,owner:c,source:d}=o,u=!0,p=o,m=n,h=r,f=yr(o),g=yr(e);if(f!==g){let S=((x=(w=await ts.queryComponentsByTitle(g===C.currentProject.projectId,r,g,s,g))==null?void 0:w.result)==null?void 0:x.filter(T=>yr(T)===g))||[];if(S.length<=0)try{let T=e.path===C.currentProject.projectId||e.isProject,M=o.path===o.project_uuid;p=await Ze.createFootprint({path:g,isProject:T,footprint:{isProject:M,uuid:o.uuid,path:o.path}}),m=p.uuid,h=p.display_title,De({type:"info",msg:"Apply successfully!"})}catch(T){console.error(T)}else u=await new Promise(async(T,M)=>{await vW("save-as-same-name-symbol-footprint",{"device-name":e.display_title,"device-lib":g},{newFootPrint:S,oldFootPrint:o,confirmRes:e,onConfirm:I=>{m=I.footprintItemId,h=I.footprintItemName,T(!0)},onCancel:()=>{T(!1)},onClose:()=>{T(!1)},createDevice:!1})});if(!u)return!1}e.attributes.Footprint=m,e.footprint={display_title:h,title:h.toLocaleLowerCase(),uuid:m};let b=he.getActiveTab();return await C.messageBus.rpcCall("sch/setFootprintDetail",{tabId:b,footprintUuid:m}),await ei()&&(C.messageBus.publish("sch/renderSymbolPropertyPanel"),he.setTabUnSaved(b,!0)),!0}var nbe={};async function Awo(t,e,i){let o=t&&typeof t=="object"&&t.attributes&&typeof t.attributes=="object"?t.attributes.Designator:"-",r=typeof t=="string"?t:e.deviceId||t.uuid,n;if(typeof t=="string"?n=await Ze.getDevice({isProject:nbe.path===C.currentProject.projectId,path:nbe.path,uuid:t}):n=t,!n){De({type:"info",msg:"Device details data does not exist"});return}let a=e,s={};if(a)try{let h=(await cI(a)).selectList;for(let f=0;f<h.length;f++){let g=h[f];s[g.value]=(await lI(a,f)).pinList}}catch(m){console.error(m)}let l=[],c=null;n.attributes.Footprint&&(c=await Ze.getFootprint({isProject:i===C.currentProject.projectId,path:i,uuid:n.attributes.Footprint}),c&&c.dataStr&&(l=[]));let d=Mt(r||String(Math.random())),u=[d],p=[{$id:d,callScenType:"SYMBOL_EDIT",deviceId:r,path:i,checked:!0,designator:o,information:mc.NORMAL.msg(),partPinMatchMap:{},pinHashtable:s,padNumberList:l,comment:"",partIndex:0,footprintItem:c,footprintItemTitle:(c||{}).display_title||"",symbolItem:a,symbolItemTitle:a?a.display_title:"",d3modelItem:null,d3modelItemTitle:"",d3modelItemTransform:"",simmodelItem:null,simmodelItemTitle:"",simmodelItemIdInit:"",deviceItemTitle:"",isError:!1,errorType:mc.NORMAL.type,bgColor:Pc().bgColor,d3ModelId:"",d3ModelItemTitle:""}];CO(p),await jX({callScenType:"SYMBOL_EDIT",path:"",searchInputValue:"",deviceList:p,deviceListSelectedIds:u,wantSelectedLibItemId:"",isFromProject:!1,windowInstance:dl.value,onDialogOpen(){},onDialogCancel(){},onDialogClose(){},onDialogClosed(){},async onDialogConfirm(m){return await UZr(m,n)}})}async function Nwo(t,e,i){let o=t&&typeof t=="object"&&t.attributes&&typeof t.attributes=="object"?t.attributes.Designator:"-",r=typeof t=="string"?t:e.deviceId||t.uuid,n;if(typeof t=="string"?n=await Ze.getDevice({isProject:nbe.path===C.currentProject.projectId,path:nbe.path,uuid:t}):n=t,!n){De({type:"info",msg:"Device details data does not exist"});return}let a=e,s={};if(a){let m=(await cI(a)).selectList;for(let h=0;h<m.length;h++){let f=m[h];s[f.value]=(await lI(a,h)).pinList}}let l=[],c=null;n.attributes.Footprint&&(c=await Ze.getFootprint({isProject:i===C.currentProject.projectId,path:i,uuid:n.attributes.Footprint}),c&&c.dataStr&&(l=[]));let u=[{$id:Mt(r||String(Math.random())),callScenType:"SYMBOL_EDIT",deviceId:r,path:i,checked:!0,designator:o,information:mc.NORMAL.msg(),partPinMatchMap:{},pinHashtable:s,padNumberList:l,comment:"",partIndex:0,footprintItem:c,footprintItemTitle:(c||{}).display_title||"",symbolItem:a,symbolItemTitle:a?a.display_title:"",d3modelItem:null,d3modelItemTitle:n.attributes["3D Model Title"]||"",d3modelItemTransform:n.attributes["3D Model Transform"]||"",simmodelItem:null,simmodelItemTitle:"",simmodelItemIdInit:"",deviceItemTitle:"",isError:!1,errorType:mc.NORMAL.type,bgColor:Pc().bgColor,d3ModelId:n.attributes["3D Model"]||"",d3ModelItemTitle:n.attributes["3D Model Title"]||""}];return CO(u),u}var kwo=async()=>{var n,a,s,l,c,d,u,p,m,h,f;let t=gi(),e=(await C.messageBus.rpcCall("sch/getDeviceDetail",t)).message;if(!e){De({type:"info",msg:"Select the associated device"});return}let i=(await C.messageBus.rpcCall("sch/getSymbolDetail",t)).message,o=await Nwo(e,i,yr(e)),r=[];if(o&&e){let g=o[0];r.push({rowUniqueFlag:g.$id,rawDeviceListItem:e,checked:!0,displayDesignator:(n=g==null?void 0:g.designator)!=null?n:"",displayComment:Xse((a=e==null?void 0:e.attributes)==null?void 0:a.Name,e==null?void 0:e.attributes)||(e==null?void 0:e.display_title)||"",displayFootprint:(s=g==null?void 0:g.footprintItemTitle)!=null?s:"",displayDevice:(l=g==null?void 0:g.deviceItemTitle)!=null?l:"",d3ModelUuid:(c=g==null?void 0:g.d3ModelId)!=null?c:"",d3ModelTransform:(d=g==null?void 0:g.d3modelItemTransform)!=null?d:"",footprintItem:(u=g==null?void 0:g.footprintItem)!=null?u:Pg.createEmptyFootprintItem(),symbolUuid:(m=(p=e==null?void 0:e.attributes)==null?void 0:p.Symbol)!=null?m:"",path:g.path||"",ipcDac2552:(f=(h=e==null?void 0:e.attributes)==null?void 0:h[y0])!=null?f:JSON.stringify(JO.generateIpcDac2552AttrTree())})}await cee({callScenType:"Part",tableRes:r,async onDialogConfirm(g){var M,I;let{compenentListStore:b,ipcDac2552AttrTreeRender:y}=g,{currentClickRowData:w}=b,x=gi(),S=JSON.stringify(y),T={[x]:{g1:{[y0]:{value:S}}}};(I=(M=w==null?void 0:w.rawDeviceListItem)==null?void 0:M.attributes)!=null&&I[y0]?C.messageBus.publish("sch/setSymbolDocProperty",{data:T,notRender:!0}):(w.rawDeviceListItem.attributes[y0]=S,C.messageBus.publish("sch/addSymbolDocProperty",{data:T})),setTimeout(()=>{De({type:"success",msg:"Update Success!"})},50)}})};var Pwo=async t=>{var i,o,r,n,a,s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M,I,A,D,E,N,R;let e=[];if(t){let{path:v,initDeviceItem:k}=t,P="",O="",_="",j=await Ze.getDevice({isProject:v===C.currentProject.projectId,path:v,uuid:k.uuid});j?(P=(n=(r=(i=j.attributes)==null?void 0:i.Designator)!=null?r:(o=t.initDeviceItem.attributes)==null?void 0:o.Designator)!=null?n:"",_=(s=Xse((a=j==null?void 0:j.attributes)==null?void 0:a.Name,j==null?void 0:j.attributes)||(j==null?void 0:j.display_title))!=null?s:"",O=(p=(u=(l=j.attributes)==null?void 0:l[y0])!=null?u:(d=(c=t.initDeviceItem)==null?void 0:c.attributes)==null?void 0:d[y0])!=null?p:""):(P=(h=(m=t.initDeviceItem.attributes)==null?void 0:m.Designator)!=null?h:"",_=Xse((g=(f=t.initDeviceItem)==null?void 0:f.attributes)==null?void 0:g.Name,(b=t.initDeviceItem)==null?void 0:b.attributes)||((y=t.initDeviceItem)==null?void 0:y.display_title)||"",O=(S=(x=(w=t.initDeviceItem)==null?void 0:w.attributes)==null?void 0:x[y0])!=null?S:""),e.push({rowUniqueFlag:t.path,rawDeviceListItem:j!=null?j:t.initDeviceItem,checked:!0,displayDesignator:P,displayComment:_,displayFootprint:(M=(T=t.initFootprintItem)==null?void 0:T.display_title)!=null?M:"",displayDevice:(A=(I=t.initDeviceItem)==null?void 0:I.display_title)!=null?A:"",d3ModelUuid:(D=t.initDeviceItem.attributes["3D Model"])!=null?D:"",d3ModelTransform:(E=t.initDeviceItem.attributes["3D Model Transform"])!=null?E:"",footprintItem:(N=t.initFootprintItem)!=null?N:Pg.createEmptyFootprintItem(),symbolUuid:(R=t.initDeviceItem.attributes.Symbol)!=null?R:"",ipcDac2552:O,bgColor:"#e6f7ff"}),await cee({callScenType:"deviceEditManagerDialogContainer",tableRes:e,async onDialogConfirm(B){let{compenentListStore:V,ipcDac2552AttrTreeRender:G}=B,{currentClickRowData:Q}=V,H={"device-id":Q.rawDeviceListItem.uuid,attributes:{...Q.rawDeviceListItem.attributes,[y0]:JSON.stringify(structuredClone(G))}};try{await Ze.updateDevice({isProject:v===C.currentProject.projectId,path:v,uuid:Q.rawDeviceListItem.uuid,device:{data:{attributes:{...Q.rawDeviceListItem.attributes,[y0]:JSON.stringify(structuredClone(G))}}}}),De({type:"success",msg:"Update Success!"})}catch(q){De({type:"error",msg:q.message||"[CreateDeviceItem] RemoteFetch Error."})}}})}};var _wo=L(z()),Owo=async t=>{if(t!=null&&t.containerId&&t.containerId==="deviceEditManagerDialogContainer"){await Pwo(t);return}switch(dt()){case se.SCH:{await wwo();break}case se.PCB:{await Cwo();break}case se.PART:{await kwo();break}default:break}};async function Rwo(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s,mask:l,esc:c}=i,{tableRes:d,onDialogConfirm:u,callScenType:p}=t;return Ll.openCallScenType=p,await Ll.initDialog(d),le.open({id:o,title:r,width:n,closed:s,mask:l,esc:c,height:a,children:(0,_wo.jsx)(gwo,{containerId:o,onDialogConfirm:u})}),le}var cee=async t=>await ii("ipc_dac_2552",{...t});var qO=L(Se());var aFt=L(Bwo());var zwo="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/Info_batch-devices_template-UEAO3PLQ.xlsx";var Qwo=L(Ure());var Fwo=L(Se());var nFt=class extends qe{constructor(){super(...arguments);this.libPathList=[];this.selectPath=""}setLibPathList(i){this.libPathList=i,this.notify()}setSelectPath(i){this.selectPath=i,this.notify()}async updateLibPath(i){let r=(await R2()).filter(n=>!bT(n.uuid)).map(n=>({title:n.nickname,value:n.uuid}));if(this.setLibPathList(r),r.length){let n=i;r.some(({value:a})=>n==a)||(n=r[0].value),this.setSelectPath(n)}}},pee=new nFt;var ele=L(z());function Uwo(t){let{disabled:e,initSelectValue:i,onOwnerChange:o}=t,r=J(),n=pee.selectPath,a=pee.libPathList,s=a.find(l=>l.value===n)||a[0]||{title:"",value:""};return Ce(pee),(0,Fwo.useEffect)(()=>{pee.updateLibPath(i)},[]),(0,ele.jsxs)("div",{style:{height:"24px",width:"100%",display:"flex"},children:[(0,ele.jsx)("div",{style:{width:"371px"},children:(0,ele.jsx)(ld,{disabled:e,selectedValue:s.value,selectedText:s.title,onItemChange:l=>{pee.setSelectPath(l),o(l)},searchAble:!0,children:pee.libPathList.map(l=>(0,ele.jsx)(lc,{value:l.value,title:l.title,children:l.title},l.value))})}),(0,ele.jsx)("span",{style:{margin:"4px 0 0 8px",textDecoration:"none",outline:"none",color:"#1890ff",cursor:"pointer"},"data-test":"Create Component library",onClick:async l=>{l.preventDefault(),Gg(async c=>{await pee.updateLibPath(c),o(c)})},children:r("Create Component library")})]})}var hrt=100;async function Vwo(t,e,i){let o=[],r=[],n=!1;if(!(t!=null&&t.length))return{successList:o,errorList:r};for(let a=0;a<(t==null?void 0:t.length);a++){let s=t[a];if(await os(hrt),n)return{successList:o,errorList:r};try{let l=await Ze.createSymbol({path:e,isProject:C.currentProject.projectId===e,symbol:{path:e,isProject:e===C.currentProject.projectId,data:{...s}}});o.push(l)}catch{r.push(s)}n=i(a)}return{successList:o,errorList:r}}async function Hwo(t,e,i){let o=[],r=[],n=!1;if(!(t!=null&&t.length))return{successList:o,errorList:r};for(let a=0;a<(t==null?void 0:t.length);a++){let s=t[a];if(await os(hrt),n)return{successList:o,errorList:r};try{let l=await Ze.createFootprint({path:e,isProject:C.currentProject.projectId===e,footprint:{path:e,isProject:e===C.currentProject.projectId,data:{...s}}});o.push(l)}catch{r.push(s)}n=i(a)}return{successList:o,errorList:r}}async function Gwo(t,e,i){let o=[],r=[],n=!1;if(!(t!=null&&t.length))return{successList:o,errorList:r};for(let a=0;a<(t==null?void 0:t.length);a++){let s=t[a];if(await os(hrt),n)return{successList:o,errorList:r};try{let l=await Ze.createDevice({path:e,isProject:C.currentProject.projectId===e,device:{path:e,isProject:e===C.currentProject.projectId,data:{...s}}});o.push(l)}catch{r.push(s)}n=i(a)}return{successList:o,errorList:r}}async function Ywo(t,e,i){var a;let o=[],r=[],n=!1;if(!(t!=null&&t.length))return{successList:o,errorList:r};for(let s=0;s<(t==null?void 0:t.length);s++){let l=t[s],c=typeof l.images=="string"?[l.images]:(a=l.images)!=null?a:[],d=await sn.getCategoryNamesByTags(l.tags,e,[Yi.DEVICE]);if(await os(hrt),n)return{successList:o,errorList:r};try{let u=await Ze.updateDevice({path:e,isProject:C.currentProject.projectId===e,uuid:l.uuid,device:{data:{title:l.display_title,description:l.description,attributes:l.attributes,images:c,tags:d}}});o.push(u)}catch{r.push(l)}n=i(s)}return{successList:o,errorList:r}}var Bu=L(z()),HZr=["Designator","Add into BOM","Convert to PCB","Name","Symbol","Footprint"],Wwo=["Device","Symbol","Footprint","3D Model","Primary Category","Secondary Category","tags","Description"],GZr=["isExist","symbolId","footprintId","3D Model ID"];var YZr=t=>{let{containerId:e,params:i}=t,o=be.bind(aFt.default.locals);Ae(aFt.default);let r=J(),n=(0,qO.useRef)(null),[a,s]=(0,qO.useState)(i.selectedId),[l,c]=(0,qO.useState)(!1),[d,u]=(0,qO.useState)(!1),[p,m]=(0,qO.useState)(""),[h,f]=(0,qO.useState)([]),g=(0,qO.useRef)(null),b="BATCH_CREATE_DEVICE_PROGRESS",y=!1,w=()=>{le.close(e)},x=Q=>{let H=[];return Q["Primary Category"]&&H.push(Q["Primary Category"]),Q["Primary Category"]&&Q["Secondary Category"]&&H.push(Q["Secondary Category"]),H},S=(Q=[],H=[],q=[],U=[],F)=>{let K=tm("Log");K.groupStart(),F.updateSuccessNames.length&&Ot("info",`<span class="i18n" i18n-params-nums="${F.updateSuccessNames.length}">{nums} devices update successfully</span>:`+F.updateSuccessNames.join(", "),void 0,!1),F.updateSameDeviceNames.length&&Ot("info",`<span class="i18n" i18n-params-nums="${F.updateSameDeviceNames.length}">{nums} devices content is the same and has not been updated</span>:`+F.updateSameDeviceNames.join(", "),void 0,!1),F.updateErrorNames.length&&Ot("warn",`<span class="i18n" i18n-params-nums="${F.updateErrorNames.length}">{nums} devices update failed</span>:`+F.updateErrorNames.join(", "),void 0,!1),F.createDeviceSuccess.length&&Ot("info",`<span class="i18n" i18n-params-nums="${F.createDeviceSuccess.length}">{nums} devices import successfully</span>:`+F.createDeviceSuccess.join(", "),void 0,!1),Q.length&&Ot("warn",`<span class="i18n" i18n-params-nums="${Q.length}">{nums} devices import failed, has duplicated content at the sheet \u201CDevice\u201D columns</span>:`+Q.join(", "),void 0,!1),F.sameDeviceNames.length&&Ot("warn",`<span class="i18n" i18n-params-nums="${F.sameDeviceNames.length}">{nums} devices import failed, have the same name</span>:`+F.sameDeviceNames.join(", "),void 0,!1),F.createDeviceError.length&&Ot("warn",`<span class="i18n" i18n-params-nums="${F.createDeviceError.length}">{nums} devices import failed</span>:`+F.createDeviceError.join(", "),void 0,!1),H.length&&Ot("warn",`<span class="i18n" i18n-params-nums="${H.length}">{nums} devices binding symbol failed, the symbol doesn't exist</span>:`+H.join(", "),void 0,!1),q.length&&Ot("warn",`<span class="i18n" i18n-params-nums="${q.length}">{nums} devices binding footprint failed, the footprint doesn't exist</span>:`+q.join(", "),void 0,!1),U.length&&Ot("warn",`<span class="i18n" i18n-params-nums="${U.length}">{nums} devices binding 3d model failed, the 3d model doesn't exist</span>:`+U.join(", "),void 0,!1),K.groupEnd()},T=async(Q,H,q)=>{let U=[];if(y)return{device1:Q,errorSymbolName:U};let F={},K=[];Q.forEach(ae=>{ae.Symbol&&!K.includes(ae.Symbol)&&K.push(ae.Symbol)});let te=await aD([...K],se.PART,a);if(te&&Object.keys(te).length)for(let ae in te){let pe=te[ae][0];F[ae]=pe.uuid}if(l){let ae=[];for(let Z of K)F[Z]||ae.push({title:Z,description:"",docType:se.PART,tags:[]});let pe=await Vwo(ae,a,Z=>(vt(H+(q-H)*(Z/ae.length),b),y));pe.successList.length&&pe.successList.forEach(Z=>{F[Z.display_title]=Z.uuid})}return Q.forEach(ae=>{ae.Symbol&&F[ae.Symbol]?ae.symbolId=F[ae.Symbol]:!l&&ae.Symbol&&!F[ae.Symbol]&&U.push(ae.Device)}),{device1:Q,errorSymbolName:U}},M=async(Q,H,q)=>{let U=[];if(y)return{device2:Q,errorFootprintName:U};let F={},K=[];Q.forEach(ae=>{ae.Footprint&&!K.includes(ae.Footprint)&&K.push(ae.Footprint)});let te=await aD([...K],se.FOOTPRINT,a);if(te&&Object.keys(te).length)for(let ae in te){let pe=te[ae][0];F[ae]=pe.uuid}if(l){let ae=[];for(let Z of K)F[Z]||ae.push({title:Z,description:"",docType:se.FOOTPRINT,tags:[]});let pe=await Hwo(ae,a,Z=>(vt(H+(q-H)*(Z/ae.length),b),y));pe.successList.length&&pe.successList.forEach(Z=>{F[Z.display_title]=Z.uuid})}return Q.forEach(ae=>{ae.Footprint&&F[ae.Footprint]?ae.footprintId=F[ae.Footprint]:!l&&ae.Footprint&&!F[ae.Footprint]&&U.push(ae.Device)}),{device2:Q,errorFootprintName:U}},I=async(Q,H,q)=>{let U=[];if(y)return{device3:Q,errorD3ModelName:U};let F={},K=[];Q.forEach(ae=>{ae["3D Model"]&&!K.includes(ae["3D Model"])&&K.push(ae["3D Model"])});let te=await aD([...K],se.PCBLIB3D,a);if(te)for(let ae in te){let pe=te[ae][0];F[ae]=pe}return Q.forEach(ae=>{ae["3D Model"]&&F[ae["3D Model"]]?(ae["3D Model Title"]=ae["3D Model"],ae["3D Model ID"]=Je?`${F[ae["3D Model"]].fileName}|${F[ae["3D Model"]].lib}`:F[ae["3D Model"]].uuid):ae["3D Model"]&&!F[ae["3D Model"]]&&U.push(ae.Device)}),{device3:Q,errorD3ModelName:U}},A=async(Q,H,q)=>{if(y){let re=Q.map(Y=>Y&&Y.Device);return{createDeviceSuccess:[],createDeviceError:re,updateSuccessNames:[],updateErrorNames:[],sameDeviceNames:[],updateSameDeviceNames:[]}}let U=[],F=[];Q.forEach(re=>{re.Device&&!F.includes(re.Device)&&F.push(re.Device)});let K=[],te=[],ae=[],pe=[],Z=[],ee=[],ce=await aD([...F],se.DEVICE,a);ce&&Object.keys(ce).length&&Q.forEach((re,Y)=>{for(let X in ce)re.Device===X&&(U.push({tableDevice:re,editorDevice:ce[X][0]}),re.isExist=!0,!d&&Z.push(X))});let ne=R(Q.filter(re=>!re.isExist));function oe(re){return vt(H+re/Q.length*(q-H),b),y}if(ne.length){let re=await Gwo(ne,a,oe);re.successList.length&&re.successList.forEach(Y=>{K.push(Y.display_title)}),re.errorList.length&&re.errorList.forEach(Y=>{te.push(Y.title)})}if(d){let re=[];U.forEach(X=>{let ie=V(X.tableDevice,X.editorDevice);ie?re.push(ie):ee.push(X.tableDevice.Device)});let Y=await Ywo(re,a,oe);Y.successList.length&&Y.successList.forEach(X=>{ae.push(X.display_title)}),Y.errorList.length&&Y.successList.forEach(X=>{pe.push(X.display_title)})}return{createDeviceSuccess:K,createDeviceError:te,updateSuccessNames:ae,updateErrorNames:pe,updateSameDeviceNames:ee,sameDeviceNames:Z}},D=()=>{y=!0},E=async()=>{if(!await jv(a,Yr.Team_Component_Add,"Permission Dend")||!h.length)return;y=!1;let Q=0,H=.01;vt(H,b,String(u0.BLANK),D);let q=h,{device:U,tableSameDeviceNameArr:F}=k(q);q=U,!y&&vt(.05,b,String(u0.BLANK),D),Q=.05,H=.2;let{device1:K,errorSymbolName:te}=await T(q,Q,H);q=K,!y&&vt(H,b,String(u0.BLANK),D),Q=.2,H=.25;let{device2:ae,errorFootprintName:pe}=await M(q,Q,H);q=ae,!y&&vt(H,b,String(u0.BLANK),D),Q=.25,H=.3;let{device3:Z,errorD3ModelName:ee}=await I(q,Q,H);if(q=Z,!y&&vt(H,b,String(u0.BLANK),D),Q=.3,H=.99,y){let ne=q.map(oe=>oe.Device);Ot("info",`<span class="i18n" i18n-params-nums="${q.length}">{nums} devices import failed</span>:`+ne.join(", "),void 0,!1)}let ce=await A(q,Q,H);vt(1,b),S(F,te,pe,ee,ce),w()},N=Q=>{s(Q)},R=Q=>{let H=[];for(let q of Q){let U=Object.create({});U.attributes={},U.title=q.Device,U.tags=q.tags,U.description=q.Description||"";for(let F in q)if(!Wwo.includes(F))switch(F){case"symbolId":{U.attributes.Symbol=q[F];break}case"footprintId":{U.attributes.Footprint=q[F];break}case"3D Model ID":{q[F]&&(U.attributes["3D Model"]=q[F]);break}default:{U.attributes[F]=q[F];break}}H.push(U)}return H},v=(Q,H)=>{let q=Object.create({});return H.length&&H.forEach((U,F)=>{let K=Q[F];HZr.includes(U)?(U==="Designator"&&!K&&(K="U?"),(U==="Add into BOM"||U==="Convert to PCB")&&(K?(K=K.toLocaleLowerCase(),K!=="yes"&&K!=="no"&&(K="yes")):K="yes"),q[U]=K):K&&(q[U]=K)}),q.symbolId="",q.footprintId="",q["3D Model ID"]="",q.tags=x(q),q},k=Q=>{let H=[],q=[],U=[];return Q.forEach((F,K)=>{U.indexOf(F.Device)===-1?U.push(F.Device):q.push(F.Device)}),Q.forEach(F=>{q!=null&&q.includes(F.Device)||H.push(F)}),{device:H,tableSameDeviceNameArr:q}},P=Q=>!(Q.length<1||Q.length>128),O=Q=>(Q=Q.map(H=>{var q,U;return typeof H=="string"?H.trim():(q=H.richText)!=null&&q.length?H.richText.map(K=>{var te;return((te=K.text)==null?void 0:te.trim())||""}).join(""):(U=H.text)!=null&&U.length?H.text.trim():String(H)}),Q),_=async Q=>{let H=Q.target.files[0];if(!H||!/\.xlsx$/i.test(H.name)){De({type:"error",msg:me.i18n("Please select xlsx format file."),timer:3}),g.current.value="";return}let q=!0,U=[];var F=new Qwo.Workbook;let K=new FileReader;K.readAsArrayBuffer(H),K.onload=async()=>{let te=K.result,ae;(await F.xlsx.load(te)).eachSheet((Z,ee)=>{Z.eachRow({includeEmpty:!0},(ce,ne)=>{let oe=O(ce.values);if(ne===1){if(!j(oe)){q=!1;return}ae=oe}else{if(!ae)return;if(oe.length){let re=v(oe,ae);if(!re.Device){De({type:"error",msg:`Import failed! The columns "Device" has empty content or doesn't exist`}),q=!1;return}if(!P(re.Device)||re.Symbol&&!P(re.Symbol)||re.Footprint&&!P(re.Footprint)){De({type:"error",msg:"The title length must be between 1~128 characters!"}),q=!1;return}U.push(re)}}})}),q&&m(H.name),f(U)},g.current.value=""},j=Q=>{if(!Q.includes("Device"))return De({type:"error",msg:`Import failed! The columns "Device" has empty content or doesn't exist`}),!1;for(let H=1;H<Q.length;H+=1){let q=Q[H];if(!(!q&&q!==0)&&(q.indexOf("$")>-1||q.indexOf(".")>-1))return De({type:"error",msg:'Import failed! The property name cannot appear charater "." and "$"'}),!1}return!0};async function B(){let Q="Info_batch-devices_template",H=await fetch(zwo,{method:"GET"});if(!H.ok)throw new Error("Download device template error");let q=await H.blob();if(wi){cd(q,Q,"xlsx");return}let U=URL.createObjectURL(q),F=document.createElement("a");F.download=`${Q}.xlsx`,F.href=U,F.click(),URL.revokeObjectURL(U)}function V(Q,H){let q=H;q.title=q.display_title;let U=!1;return Object.keys(Q).forEach(F=>{var K,te,ae,pe,Z;switch(F){case"Symbol":{((K=H.attributes)==null?void 0:K.Symbol)!==Q.symbolId&&(U=!0,q.attributes.Symbol=Q.symbolId);break}case"Footprint":{((te=H.attributes)==null?void 0:te.Footprint)!==Q.footprintId&&(U=!0,q.attributes.Footprint=Q.footprintId);break}case"3D Model":{((ae=H.attributes)==null?void 0:ae["3D Model"])!==Q["3D Model ID"]&&(U=!0,H.attributes["3D Model"]=Q["3D Model ID"]);break}case"tags":{let ee=(pe=H.tags)==null?void 0:pe.parent_tag,ce=(Z=H.tags)==null?void 0:Z.child_tag;((ee==null?void 0:ee.name_cn)!==Q.tags[0]&&(ee==null?void 0:ee.name)!==Q.tags[0]||(ce==null?void 0:ce.name_cn)!==Q.tags[1]&&(ce==null?void 0:ce.name)!==Q.tags[1])&&(U=!0),H.tags=Q.tags;break}case"Description":{H.description!==Q.Description&&(U=!0,H.description=Q.Description);break}default:{!Wwo.includes(F)&&!GZr.includes(F)&&H.attributes[F]!==Q[F]&&(U=!0,H.attributes[F]=Q[F]);break}}}),U?q:null}let G=(0,qO.useCallback)(()=>{g.current&&g.current.click()},[g.current]);return(0,Bu.jsxs)("div",{className:o("batch-create-device"),children:[(0,Bu.jsxs)("div",{className:o("wrapper"),children:[(0,Bu.jsx)("div",{className:o("owner-wrap"),children:(0,Bu.jsx)("table",{style:{width:"100%"},children:(0,Bu.jsxs)("tbody",{children:[Je&&(0,Bu.jsxs)("div",{className:o("select-file-wrap"),children:[(0,Bu.jsx)("span",{className:o("select-file-title"),"data-test":"Library",title:r("Library"),children:r("Library")}),(0,Bu.jsx)(Uwo,{initSelectValue:a,onOwnerChange:Q=>{N(Q)}})]}),!Je&&(0,Bu.jsx)(du,{defaultSelectId:a,ref:n,notFolder:!0,onOwnerChange:Q=>{N(Q)}})]})})}),(0,Bu.jsxs)("div",{className:o("select-file-wrap"),children:[(0,Bu.jsx)("span",{className:o("select-file-title"),children:r("Select Files")}),(0,Bu.jsxs)("div",{style:{width:"66%",height:"24px"},children:[(0,Bu.jsx)(ea,{value:p,placeholder:r("Click here to select file"),hasClearButton:!1,hasThreePoint:!0,openDialog:G}),(0,Bu.jsx)("input",{ref:g,type:"file",className:o("file-selected"),accept:".xlsx",onChange:_})]})]}),(0,Bu.jsxs)("div",{className:o("select-checked-wrap"),children:[(0,Bu.jsx)(qt,{checked:l,style:{marginRight:"4px"},onChange:Q=>{c(Q)}}),(0,Bu.jsx)("span",{"data-test":"Create doesn't exist Symbol and Footprint automatically",children:r("Create doesn't exist Symbol and Footprint automatically")})]}),(0,Bu.jsxs)("div",{className:o("select-checked-wrap"),children:[(0,Bu.jsx)(qt,{checked:d,style:{marginRight:"4px"},onChange:Q=>{u(Q)}}),(0,Bu.jsx)("span",{"data-test":"Automatically update existing devices with the same name",children:r("Automatically update existing devices with the same name")})]}),(0,Bu.jsxs)("div",{className:o("tips-wrap"),children:[(0,Bu.jsx)("p",{children:r("Notice:")}),(0,Bu.jsx)("p",{children:r("1. Please follow the template xlsx file to edit and then import.")}),(0,Bu.jsx)("p",{children:r("2. Please create the Symbol/Footprint/3D Model libraries first at the corresponding owner library, when create devices, the editor will binding with the same name Symbol/Footprint/3D Model libraries automatically.")}),(0,Bu.jsx)("p",{children:r(`3. The first columns "Device" of the template file is the must item, the content can't be duplicated. The columns title cannot appear charater "." and "$"`)}),(0,Bu.jsx)("p",{children:r("4. Suggest no more than 2000 devices in per time importing.")})]})]}),(0,Bu.jsxs)("div",{className:o("pop-footer-wrapper"),children:[(0,Bu.jsx)("div",{className:o("btn-left"),children:(0,Bu.jsx)(Me,{type:"default",onClick:()=>B(),children:r("Export Template")})}),(0,Bu.jsxs)("div",{className:o("btn-right"),children:[(0,Bu.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>E(),children:"Confirm"}),(0,Bu.jsx)(Me,{type:"default",onClick:()=>{w()},children:"Cancel"})]})]})]})},Kwo=YZr;var qwo=L(z()),Zwo=async function(t,e){let i=bt[t],{containerId:o,title:r,width:n,closed:a,mask:s,esc:l}=i;le.open({id:o,title:r,width:n,closed:a,mask:s,esc:l,children:(0,qwo.jsx)(Kwo,{containerId:o,params:e})})};async function Jwo(t){await ii("batch-create-device",t)}var DW=L(Se());var Trt=L(abe());var fCo=L(Se());var rCo=L(Se());var tle={MAST:"master",DIVIDE:"Separate sub-picture",MERGED:"Merge into main image"},XO={cancelBtnTitle:{normal:"Cancel",progress:"Cancel"},updateIntoNowPCBBtnTitle:{normal:"Update into current PCB",progress:"Processing"},createPartitionBtnTitle:{normal:"Separate sub-picture",progress:"Processing"},mergeToMainBtnTitle:{normal:"Merge into main image",progress:"Processing"},deletePartitionBtnTitle:{normal:"Delete",progress:"Deleting"}};var grt=class extends qe{constructor(e){super(),this.parent=e,this._cancelBtnTitle=XO.cancelBtnTitle.normal,this._cancelBtnDisabled=!1,this._cancelBtnReadonly=!1,this._cancelBtnVisible=!0,this._updateIntoNowPCBBtnTitle=XO.updateIntoNowPCBBtnTitle.normal,this._updateIntoNowPCBBtnDisabled=!0,this._updateIntoNowPCBBtnReadonly=!1,this._updateIntoNowPCBBtnVisible=!0,this._createPartitionBtnTitle=XO.createPartitionBtnTitle.normal,this._createPartitionBtnDisabled=!0,this._createPartitionBtnReadonly=!1,this._createPartitionBtnVisible=!0,this._mergeToMainBtnTitle=XO.mergeToMainBtnTitle.normal,this._mergeToMainBtnDisabled=!0,this._mergeToMainBtnReadonly=!1,this._mergeToMainBtnVisible=!0,this._deletePartitionBtnTitle=XO.deletePartitionBtnTitle.normal,this._deletePartitionBtnDisabled=!0,this._deletePartitionBtnReadonly=!1,this._deletePartitionBtnVisible=!0}async inital(e){e==="MAIN"||e==="CHILD"&&(this.deletePartitionBtnVisible=!1,this.mergeToMainBtnVisible=!1,this.createPartitionBtnVisible=!1)}get cancelBtnTitle(){return this._cancelBtnTitle}set cancelBtnTitle(e){this._cancelBtnTitle=e,this.notify()}get cancelBtnDisabled(){return this._cancelBtnDisabled}set cancelBtnDisabled(e){this._cancelBtnDisabled=e,this.notify()}get cancelBtnReadonly(){return this._cancelBtnReadonly}set cancelBtnReadonly(e){this._cancelBtnReadonly=e,this.notify()}get cancelBtnVisible(){return this._cancelBtnVisible}set cancelBtnVisible(e){this._cancelBtnVisible=e,this.notify()}get updateIntoNowPCBBtnTitle(){return this._updateIntoNowPCBBtnTitle}set updateIntoNowPCBBtnTitle(e){this._updateIntoNowPCBBtnTitle=e,this.notify()}get updateIntoNowPCBBtnDisabled(){return this._updateIntoNowPCBBtnDisabled}set updateIntoNowPCBBtnDisabled(e){this._updateIntoNowPCBBtnDisabled=e,this.notify()}get updateIntoNowPCBBtnReadonly(){return this._updateIntoNowPCBBtnReadonly}set updateIntoNowPCBBtnReadonly(e){this._updateIntoNowPCBBtnReadonly=e,this.notify()}get updateIntoNowPCBBtnVisible(){return this._updateIntoNowPCBBtnVisible}set updateIntoNowPCBBtnVisible(e){this._updateIntoNowPCBBtnVisible=e,this.notify()}get createPartitionBtnTitle(){return this._createPartitionBtnTitle}set createPartitionBtnTitle(e){this._createPartitionBtnTitle=e,this.notify()}get createPartitionBtnDisabled(){return this._createPartitionBtnDisabled}set createPartitionBtnDisabled(e){this._createPartitionBtnDisabled=e,this.notify()}get createPartitionBtnReadonly(){return this._createPartitionBtnReadonly}set createPartitionBtnReadonly(e){this._createPartitionBtnReadonly=e,this.notify()}get createPartitionBtnVisible(){return this._createPartitionBtnVisible}set createPartitionBtnVisible(e){this._createPartitionBtnVisible=e,this.notify()}get mergeToMainBtnTitle(){return this._mergeToMainBtnTitle}set mergeToMainBtnTitle(e){this._mergeToMainBtnTitle=e,this.notify()}get mergeToMainBtnDisabled(){return this._mergeToMainBtnDisabled}set mergeToMainBtnDisabled(e){this._mergeToMainBtnDisabled=e,this.notify()}get mergeToMainBtnReadonly(){return this._mergeToMainBtnReadonly}set mergeToMainBtnReadonly(e){this._mergeToMainBtnReadonly=e,this.notify()}get mergeToMainBtnVisible(){return this._mergeToMainBtnVisible}set mergeToMainBtnVisible(e){this._mergeToMainBtnVisible=e,this.notify()}get deletePartitionBtnTitle(){return this._deletePartitionBtnTitle}set deletePartitionBtnTitle(e){this._deletePartitionBtnTitle=e,this.notify()}get deletePartitionBtnDisabled(){return this._deletePartitionBtnDisabled}set deletePartitionBtnDisabled(e){this._deletePartitionBtnDisabled=e,this.notify()}get deletePartitionBtnReadonly(){return this._deletePartitionBtnReadonly}set deletePartitionBtnReadonly(e){this._deletePartitionBtnReadonly=e,this.notify()}get deletePartitionBtnVisible(){return this._deletePartitionBtnVisible}set deletePartitionBtnVisible(e){this._deletePartitionBtnVisible=e,this.notify()}setMasterRowOnlySelected(){if(this.parent.pcbSubType==="MAIN"){this.deletePartitionBtnDisabled=!0,this.mergeToMainBtnDisabled=!0,this.createPartitionBtnDisabled=!0,this.updateIntoNowPCBBtnDisabled=!0;return}if(this.parent.pcbSubType==="CHILD"){this.deletePartitionBtnDisabled=!0,this.mergeToMainBtnDisabled=!0,this.createPartitionBtnDisabled=!0,this.updateIntoNowPCBBtnDisabled=!1;return}}setMergedRowsOnlySelected(){if(this.parent.pcbSubType==="MAIN"){this.deletePartitionBtnDisabled=!1,this.mergeToMainBtnDisabled=!0,this.createPartitionBtnDisabled=!1,this.updateIntoNowPCBBtnDisabled=!0;return}if(this.parent.pcbSubType==="CHILD"){this.deletePartitionBtnDisabled=!0,this.mergeToMainBtnDisabled=!0,this.createPartitionBtnDisabled=!0,this.updateIntoNowPCBBtnDisabled=!0;return}}setDividedRowsOnlySelected(){if(this.parent.pcbSubType==="MAIN"){this.deletePartitionBtnDisabled=!1,this.mergeToMainBtnDisabled=!1,this.createPartitionBtnDisabled=!1,this.updateIntoNowPCBBtnDisabled=!1;return}if(this.parent.pcbSubType==="CHILD"){let e=this.parent.partitionTable.selectedIds;if(e.length>=2){this.deletePartitionBtnDisabled=!0,this.mergeToMainBtnDisabled=!0,this.createPartitionBtnDisabled=!0,this.updateIntoNowPCBBtnDisabled=!0;return}if(e.length===1){if(e[0]===this.parent.nowDocumentUuid){this.deletePartitionBtnDisabled=!0,this.mergeToMainBtnDisabled=!0,this.createPartitionBtnDisabled=!0,this.updateIntoNowPCBBtnDisabled=!0;return}this.deletePartitionBtnDisabled=!0,this.mergeToMainBtnDisabled=!0,this.createPartitionBtnDisabled=!0,this.updateIntoNowPCBBtnDisabled=!1;return}return}}setMutiRowsOnlySelected(){if(this.parent.pcbSubType==="MAIN"){this.deletePartitionBtnDisabled=!1,this.mergeToMainBtnDisabled=!1,this.createPartitionBtnDisabled=!1,this.updateIntoNowPCBBtnDisabled=!1;return}if(this.parent.pcbSubType==="CHILD"){this.deletePartitionBtnDisabled=!0,this.mergeToMainBtnDisabled=!0,this.createPartitionBtnDisabled=!0,this.updateIntoNowPCBBtnDisabled=!1;return}}setEmptyRowsOnlySelected(){this.deletePartitionBtnDisabled=!0,this.mergeToMainBtnDisabled=!0,this.createPartitionBtnDisabled=!0,this.updateIntoNowPCBBtnDisabled=!0}};function $wo(){return[{key:"title",name:"Title",sortable:!1,width:.5},{key:"statusText",name:"Status",sortable:!1,width:.5}]}var brt=class extends qe{constructor(e){super(),this.parent=e,this._selectedRowNumbers=[],this._tableCols=$wo(),this._tableData=[],this._renderTableData=[],this._selectedIds=[],this._showMask=!0}async inital(){await this.refreshList()}set showMask(e){this._showMask=e,this.notify()}get showMask(){return this._showMask}set selectedRowNumbers(e){this._selectedRowNumbers=e,this.notify()}get selectedRowNumbers(){return this._selectedRowNumbers}set tableCols(e){this._tableCols=e,this.notify()}get tableCols(){return this._tableCols}set tableData(e){this._tableData=e}get tableData(){return this._tableData}set renderTableData(e){this._renderTableData=e,this.notify()}get renderTableData(){return this._renderTableData}set selectedIds(e){this._selectedIds=e,this.notify()}get selectedIds(){return this._selectedIds}async refreshList(e=!0){let i=await Qd.getInstance().getPartitionList(this.parent.masterRowUuid,this.parent.masterRowPath);if(i.unshift(this.createMasterRow()),this.tableData=this.filterList(this.initList(i)),e)this.selectedIds=[],this.selectedRowNumbers=[];else{this.selectedIds=[];let o=[];this.tableData.forEach((r,n)=>{this.selectedRowNumbers.indexOf(n)>=0&&(r.checked=!0,o.push(r.primitiveId))}),this.selectedIds=o,this.selectedRowNumbers=[...this.selectedRowNumbers]}this.updateRenderTable()}updateRenderTable(){this.tableData.forEach(e=>{if(this.selectedIds.indexOf(e.primitiveId)>=0){e.checked=!0;return}e.checked=!1}),this.renderTableData=this.tableData.map(e=>({...e}))}async whenListRowItemSinglyClicked(e){let{row:i,selectedRowNumbers:o,tableData:r=[]}=e,n=[],a=o.map(s=>+s);a.sort((s,l)=>s-l),a.forEach(s=>{let l=r[s];l&&n.push(l.primitiveId)}),this.selectedRowNumbers=a,this.selectedIds=n,this.updateRenderTable(),await this.parent.whePartitionTableRowSelectedChanged()}whenListRowItemDoublyClicked(e){let{clickObj:i,selectedRowNumbers:o,row:r}=e;this.parent.pcbSubType!=="MAIN"||this.selectedIds[0]===this.parent.masterRowPrimitiveId||i.colKey==="title"&&(this.tableData=this.filterList(ue.deepClone(this.tableData),(n,a)=>{a===i.rowNumber&&(n.titleEditing=!0)}),this.updateRenderTable())}whenRowInputInteractived(e,i,o,r){let n=r.trim(),a=null;if(e==="changed"){this.tableData=this.filterList(ue.deepClone(this.tableData),(s,l)=>{s.primitiveId===i&&(this.inputItem(s,o,n),s.titleEditing=!0,a=s)},!1);return}if(e==="blured"){let s=this.tableData.filter(d=>d.primitiveId!==i).map(d=>this.getEigenValue(d)),l,c;this.tableData=this.filterList(ue.deepClone(this.tableData),(d,u)=>{if(d.primitiveId===i){let p;l=d[`${o}Old`],!n||!n.trim()?p=l:p=n.trim();let m=JSON.parse(JSON.stringify(d));this.updateItem(m,o,p);let h=this.getEigenValue(m);p===""?p=l:p.length>30?(p=p.substring(0,30),De({type:"error",msg:me.i18n("Cannot enter more than 30 characters!")})):s.includes(h)&&(p=l,De({type:"error",msg:me.i18n("Name already exists, please modify")})),c=p,this.updateItem(d,o,p),d.titleEditing=!1,a=d}},!0),this.updateRenderTable(),a&&this.applyPatitionTitleChanged(a);return}}getSelectedType(){let e={master:0,divide:0,merged:0};for(let i=0;i<this.selectedIds.length;i++){let o=Ft(this.tableData,"primitiveId",this.selectedIds[i]);if(!(o.index<=-1))switch(o.data.status){case"MAST":{e.master++;break}case"DIVIDE":{e.divide++;break}case"MERGED":{e.merged++;break}}}return e}getCouldDeletedItemNames(){let e=[],i=[...this.selectedRowNumbers],o=this.tableData;for(let r=0;r<i.length;r++){let n=o[i[r]];if(n.status!=="MAST"){if(n.status==="MERGED"){e.push(n.title);continue}if(n.status==="DIVIDE"){e.push(n.title);continue}}}return e}initList(e){let i=[];for(let o=0;o<e.length;o++){let r=e[o];i[o]={...r,checked:!1,statusText:me.i18n(tle[r.status])},i[o].titleOld=i[o].title,i[o].titleEditing=!1,i[o].isRepeat=!1}return i}filterList(e,i,o){let r=[];for(let a=0;a<e.length;a++)r.push({...e[a]}),r[a].titleEditing=!1,i&&i(r[a],a);if(o===!1)return r;let n={};for(let a=0;a<r.length;a++){let s=this.getEigenValue(r[a]);typeof n[s]>"u"?n[s]=a:(r[a].isRepeat=!0,r[n[s]].isRepeat=!0)}return r}getEigenValue(e){return e.title}updateItem(e,i,o){let r=o;switch(i){case"title":{e.titleOld=e.title=r;break}}}inputItem(e,i,o){switch(i){case"title":{e.title=o;break}}}createMasterRow(){return{title:"Master",status:"MAST",primitiveId:this.parent.masterRowPrimitiveId,fileUuid:this.parent.masterRowUuid,filePath:this.parent.masterRowPath}}async applyPatitionTitleChanged(e){await Qd.getInstance().updatePartitionItemTitle(this.parent.masterRowUuid,this.parent.masterRowPath,e)&&this.parent.thumbView.updateNowViewData()}};var yrt=class extends qe{constructor(e){super(),this.parent=e,this._loadStartTiming=0,this._loadCompletedTiming=0,this._nowViewData=null,this._updaterViewData=null,this._nowViewThumbComponentIframeId="",this._updaterViewThumbComponentIframeId="",this._nowViewThumbComponentName="NOW_VIEW",this._updaterViewThumbComponentName="UPDATER_VIEW",this._nowViewThumbCouldLoadIframe=!0,this._updaterViewThumbCouldLoadIframe=!0,this._nowViewThumbLoading=!1,this._updaterViewThumbLoading=!1,this._nowViewThumbRendering=!1,this._updaterViewThumbRendering=!1,this._nowViewThumbMask=!0,this._updaterViewThumbMask=!0,this._nowViewThumbMaskText=me.i18n("loading..."),this._updaterViewThumbMaskText=me.i18n("loading..."),this._nowViewThumbHeadTitle=me.i18n("Current version"),this._updaterViewThumbHeadTitle=me.i18n("Updated version"),this._nowViewThumbIframeLoaded=!1,this._updaterViewThumbIframeLoaded=!1,this._allIframesLoadedCallbacks=[]}async inital(){this._loadStartTiming=performance.now(),await os(1/60)}set allIframesLoadedCallbacks(e){this._allIframesLoadedCallbacks=e,this.notify()}get allIframesLoadedCallbacks(){return this._allIframesLoadedCallbacks}set nowViewThumbComponentIframeId(e){this._nowViewThumbComponentIframeId=e}get nowViewThumbComponentIframeId(){return this._nowViewThumbComponentIframeId}set updaterViewThumbComponentIframeId(e){this._updaterViewThumbComponentIframeId=e}get updaterViewThumbComponentIframeId(){return this._updaterViewThumbComponentIframeId}get nowViewThumbComponentName(){return this._nowViewThumbComponentName}get updaterViewThumbComponentName(){return this._updaterViewThumbComponentName}set nowViewThumbCouldLoadIframe(e){this._nowViewThumbCouldLoadIframe=e,this.notify()}get nowViewThumbCouldLoadIframe(){return this._nowViewThumbCouldLoadIframe}set updaterViewThumbCouldLoadIframe(e){this._updaterViewThumbCouldLoadIframe=e,this.notify()}get updaterViewThumbCouldLoadIframe(){return this._updaterViewThumbCouldLoadIframe}set nowViewThumbLoading(e){this._nowViewThumbLoading=e,this.notify()}get nowViewThumbLoading(){return this._nowViewThumbLoading}set updaterViewThumbLoading(e){this._updaterViewThumbLoading=e,this.notify()}get updaterViewThumbLoading(){return this._updaterViewThumbLoading}set nowViewThumbRendering(e){this._nowViewThumbRendering=e,this.notify()}get nowViewThumbRendering(){return this._nowViewThumbRendering}set updaterViewThumbRendering(e){this._updaterViewThumbRendering=e,this.notify()}get updaterViewThumbRendering(){return this._updaterViewThumbRendering}set nowViewThumbMask(e){this._nowViewThumbMask=e,this.notify()}get nowViewThumbMask(){return this._nowViewThumbMask}set updaterViewThumbMask(e){this._updaterViewThumbMask=e,this.notify()}get updaterViewThumbMask(){return this._updaterViewThumbMask}set nowViewThumbMaskText(e){this._nowViewThumbMaskText=e,this.notify()}get nowViewThumbMaskText(){return this._nowViewThumbMaskText}set updaterViewThumbMaskText(e){this._updaterViewThumbMaskText=e,this.notify()}get updaterViewThumbMaskText(){return this._updaterViewThumbMaskText}set nowViewThumbHeadTitle(e){this._nowViewThumbHeadTitle=e,this.notify()}get nowViewThumbHeadTitle(){return this._nowViewThumbHeadTitle}set updaterViewThumbHeadTitle(e){this._updaterViewThumbHeadTitle=e,this.notify()}get updaterViewThumbHeadTitle(){return this._updaterViewThumbHeadTitle}set nowViewThumbIframeLoaded(e){this._nowViewThumbIframeLoaded=e,this.notify()}get nowViewThumbIframeLoaded(){return this._nowViewThumbIframeLoaded}set updaterViewThumbIframeLoaded(e){this._updaterViewThumbIframeLoaded=e,this.notify()}get updaterViewThumbIframeLoaded(){return this._updaterViewThumbIframeLoaded}set nowViewData(e){this._nowViewData=e,this.notify()}get nowViewData(){return this._nowViewData}set updaterViewData(e){this._updaterViewData=e,this.notify()}get updaterViewData(){return this._updaterViewData}setMasterRowOnlySelected(){if(this.parent.pcbSubType==="MAIN"){this.nowViewThumbMask=!1,this.nowViewThumbMaskText="",this.updaterViewThumbMask=!0,this.updaterViewThumbMaskText=me.i18n("No data"),this.setNowViewAdaptPrimitive();return}if(this.parent.pcbSubType==="CHILD"){this.nowViewThumbMask=!1,this.nowViewThumbMaskText="",this.whePartitionTableRowSelectedChanged();return}}setMergedRowsOnlySelected(){if(this.parent.pcbSubType==="MAIN"){this.nowViewThumbMask=!1,this.nowViewThumbMaskText="",this.updaterViewThumbMask=!0,this.updaterViewThumbMaskText=me.i18n("No data"),this.whePartitionTableRowSelectedChanged();return}if(this.parent.pcbSubType==="CHILD"){this.nowViewThumbMask=!1,this.nowViewThumbMaskText="",this.updaterViewThumbMask=!0,this.updaterViewThumbMaskText=me.i18n("No data"),this.whePartitionTableRowSelectedChanged();return}}setDividedRowsOnlySelected(){if(this.parent.pcbSubType==="MAIN"){this.nowViewThumbMask=!1,this.nowViewThumbMaskText="",this.whePartitionTableRowSelectedChanged();return}if(this.parent.pcbSubType==="CHILD"){this.nowViewThumbMask=!1,this.nowViewThumbMaskText="",this.whePartitionTableRowSelectedChanged();return}}setMutiRowsOnlySelected(){if(this.parent.pcbSubType==="MAIN"){this.nowViewThumbMask=!1,this.nowViewThumbMaskText="",this.whePartitionTableRowSelectedChanged();return}if(this.parent.pcbSubType==="CHILD"){this.nowViewThumbMask=!1,this.nowViewThumbMaskText="",this.whePartitionTableRowSelectedChanged();return}}setEmptyRowsOnlySelected(){this.nowViewThumbMask=!1,this.nowViewThumbMaskText="",this.updaterViewThumbMask=!0,this.updaterViewThumbMaskText=me.i18n("No partition selected")}whenIframeLoaded(e,i){i===this.nowViewThumbComponentName&&(this.nowViewThumbIframeLoaded=!0,this.nowViewThumbComponentIframeId=e,this.syncPerferencesToIframeCanvas(this.nowViewThumbComponentIframeId)),i===this.updaterViewThumbComponentName&&(this.updaterViewThumbIframeLoaded=!0,this.updaterViewThumbComponentIframeId=e,this.syncPerferencesToIframeCanvas(this.updaterViewThumbComponentIframeId)),this.nowViewThumbIframeLoaded===!0&&this.updaterViewThumbIframeLoaded===!0&&this.whenAllIframeReady()}async updateNowViewData(e=!1){this.parent.nowDocumentUuid&&(e||this.nowViewData.uuid!=this.parent.nowDocumentUuid)&&(this.nowViewData={uuid:this.parent.nowDocumentUuid})}async whePartitionTableRowSelectedChanged(){let e=this.parent.partitionTable.selectedIds,i=+this.parent.partitionTable.selectedRowNumbers[0],o=this.parent.partitionTable.tableData[i];if(e[0]===this.parent.nowDocumentUuid){this.updaterViewThumbMask=!0,this.updaterViewThumbMaskText=me.i18n("No data"),this.setNowViewAdaptPrimitive();return}if(!o){this.updaterViewThumbMask=!0,this.updaterViewThumbMaskText=me.i18n("No data"),this.setNowViewAdaptPrimitive();return}if(o.status==="MERGED"||o.fileUuid===""){this.updaterViewThumbMask=!0,this.updaterViewThumbMaskText=me.i18n("No data"),this.setNowViewAdaptPrimitive();return}if(this.parent.pcbSubType==="MAIN"&&o.status==="MAST"){this.updaterViewThumbMask=!0,this.updaterViewThumbMaskText=me.i18n("No data"),this.setNowViewAdaptPrimitive();return}this.updaterViewThumbMask=!1,this.updaterViewThumbMaskText="",this.modifyUpdaterView(o),this.setNowViewAdaptPrimitive()}async setNowViewAdaptPrimitive(){let e=+this.parent.partitionTable.selectedRowNumbers[0],i=this.parent.partitionTable.tableData[e];if(!i)return;let o=i,{fileUuid:r,filePath:n,primitiveId:a,status:s}=o,l=Qd.getInstance().getTruthPrimitiveId(a),c=document.getElementById(this._nowViewThumbComponentIframeId);if(!c)return;let d=s=="MAST"||s=="MERGED"?"MAIN":"CHILD";await C.windowBridge.rpcCall("AdaptPrimitive",{primitiveId:l,fileUuid:r,pcbLevelType:d},c.contentWindow)}async modifyUpdaterView(e,i=!1){var a;let{fileUuid:o,filePath:r,primitiveId:n}=e;if(!o){this.updaterViewData=null;return}(i||((a=this._updaterViewData)==null?void 0:a.uuid)!=o)&&(this.updaterViewData={uuid:o})}async syncPerferencesToIframeCanvas(e){let i=document.getElementById(e);if(!i)return;let o=i.getAttribute("sid");o&&C.messageBus.publish("updateSystemConfig2",{tabId:o,data:d0()})}whenAllIframeReady(){this._loadCompletedTiming=performance.now(),this.parent.partitionTable.showMask=!1,this.allIframesLoadedCallbacks.forEach(e=>{e&&e()}),this.allIframesLoadedCallbacks.length=0}};var eCo={INIT_COMMON_DB:"initCommonDB"},tCo=(()=>{let t="/multi/",e={};for(let i in eCo){let o=eCo[i];e[i]=t+o}return e})();var iCo=L(Se());var eF=L(z());function WZr(t,e,i,o={checkbox:!1}){let{checkbox:r}=o,n=t({value:"You are trying to delete the following partitions and sub-picture. This operation can not be recovered. Please be careful!",options:{xxx:e}});return r&&(n+=`<p class="checkbox-text-wrap">
		<label>
			<input type="checkbox" class="delReply" name="delReply" id="delReply" />
			<span class="i18n">I got it, continue to delete. </span>
		</label>
	</p>`),n+='<br /><div style="overflow: auto;height:100px;">'+i.map(a=>`<span class="content" style="display: inline-block;padding: 8px;color: #1890ff;">${a}</span>`).join("\u3001")+"</div>",n}var oCo=t=>{let{type:e,title:i,onClick:o}=t,n=WZr(Rr,e,[i]),s=Dt({height:240,closed:!0,esc:!0,title:"Warning",isHtml:!0,content:n,footer:(0,eF.jsx)(()=>{let[l,c]=(0,iCo.useState)(!1);return(0,eF.jsxs)(eF.Fragment,{children:[(0,eF.jsx)(qt,{style:{float:"left"},onChange:()=>{c(!l)},children:"I got it, continue to delete."}),(0,eF.jsxs)("div",{children:[(0,eF.jsx)(Me,{size:"md",disabled:!l,type:"primary",onClick:()=>{o(),le.destroy(s)},children:"Delete"}),(0,eF.jsx)(Me,{style:{marginLeft:"5px"},size:"md",onClick:()=>{le.destroy(s)},children:"Cancel"})]})]})},{}),footerStyle:{display:"flex",justifyContent:"space-between"}})};async function nCo(t){let e=new sFt(t);return await e.initial(),e}var sFt=class extends qe{constructor(e){super();let{nowDocumentUuid:i,nowDocumentPath:o}=e;this._dialogProps=null,this._dialogReady=!1,this.operations=new grt(this),this.partitionTable=new brt(this),this.thumbView=new yrt(this),this._pcbSubType="MAIN",this._partitionTableSelectedChangedExecTimer=null,this._masterRowPrimitiveId="@master",this._masterRowUuid="",this._masterRowPath="",this._nowDocumentUuid=i,this._nowDocumentPath=o,this._loadStartTiming=0,this._loadCompletedTiming=0}set dialogReady(e){this._dialogReady=e}get dialogReady(){return this._dialogReady}set dialogProps(e){this._dialogProps=e}get dialogProps(){return this._dialogProps}set masterRowPrimitiveId(e){this._masterRowPrimitiveId=e}get masterRowPrimitiveId(){return this._masterRowPrimitiveId}set masterRowUuid(e){this._masterRowUuid=e}get masterRowUuid(){return this._masterRowUuid}set masterRowPath(e){this._masterRowPath=e}get masterRowPath(){return this._masterRowPath}set nowDocumentUuid(e){this._nowDocumentUuid=e}get nowDocumentUuid(){return this._nowDocumentUuid}set nowDocumentPath(e){this._nowDocumentPath=e}get nowDocumentPath(){return this._nowDocumentPath}set pcbSubType(e){this._pcbSubType=e}get pcbSubType(){return this._pcbSubType}async initial(){this.dialogReady=!0,this._loadStartTiming=performance.now();let e=await Qd.getInstance().getPCBLevelTypeFromProjectTree(this.nowDocumentUuid);if(this.pcbSubType=e||"MAIN",this.pcbSubType==="MAIN")this.masterRowUuid=this.nowDocumentUuid,this.masterRowPath=this.nowDocumentPath;else if(this.pcbSubType==="CHILD"){let o=await Qd.getInstance().getParentPCBUuid(this.nowDocumentUuid,this.nowDocumentPath);if(!o)throw new Error("error in obtaining parent pcb uuid.");let r=ue.splitComponentId2FolderAndFilenameMixin(o);this.masterRowUuid=r.componentTitleOrId,this.masterRowPath=r.path||""}await this.thumbView.inital(),await this.partitionTable.inital(),await this.operations.inital(this.pcbSubType);let i=this.thumbView.allIframesLoadedCallbacks;i.push(()=>{this.setEmptyRowsOnlySelected(),this.thumbView.updateNowViewData(!0),this._loadCompletedTiming=performance.now(),console.log(`[PartitionManager] full loaded: ${this._loadCompletedTiming-this._loadStartTiming}ms`)}),this.thumbView.allIframesLoadedCallbacks=[...i]}whenWidgetsPropsUpdate(e,i=!1){this.dialogProps=e}async whenDialogBottomBtnClicked(e){let i=this;switch(e){case"createPartition":{await this.doDivideChildItems();break}case"updateIntoNowPCB":{await this.pullUpdate();break}case"mergeToMain":{await this.mergeToMain();break}case"deletePartition":{let o=this.partitionTable.getCouldDeletedItemNames();oCo({type:me.i18n("partition"),title:o.join(", "),async onClick(){await i.deletePartitions()}});break}}}async whePartitionTableRowSelectedChanged(){window.clearTimeout(this._partitionTableSelectedChangedExecTimer),this._partitionTableSelectedChangedExecTimer=window.setTimeout(()=>{let e=this.partitionTable.getSelectedType(),{master:i,divide:o,merged:r}=e;if(i<=0&&o<=0&&r<=0){this.setEmptyRowsOnlySelected();return}if(i>0&&o<=0&&r<=0){this.setMasterRowOnlySelected();return}if(i<=0&&o<=0&&r>0){this.setMergedRowsOnlySelected();return}if(i<=0&&o>0&&r<=0){this.setDividedRowsOnlySelected();return}this.setMutiRowsOnlySelected()},1/60)}setMasterRowOnlySelected(){this.operations.setMasterRowOnlySelected(),this.thumbView.setMasterRowOnlySelected()}setMergedRowsOnlySelected(){this.operations.setMergedRowsOnlySelected(),this.thumbView.setMergedRowsOnlySelected()}setDividedRowsOnlySelected(){this.operations.setDividedRowsOnlySelected(),this.thumbView.setDividedRowsOnlySelected()}setMutiRowsOnlySelected(){this.operations.setMutiRowsOnlySelected(),this.thumbView.setMutiRowsOnlySelected()}setEmptyRowsOnlySelected(){this.operations.setEmptyRowsOnlySelected(),this.thumbView.setEmptyRowsOnlySelected()}async getDuplicateFiles(){let e=this.partitionTable.selectedRowNumbers,i=[];for(let o=0;o<e.length;o++){if(e[o]<=0)continue;let r=this.partitionTable.tableData[e[o]],n=await Qd.getInstance().sameTitleChildren(r.title,this.masterRowUuid,this.masterRowPath);i.push(...n)}return i}async deletePartitions(){if(this.pcbSubType!=="MAIN")return;vt(.01,"DELETE_PARTITION");let e=[...this.partitionTable.selectedRowNumbers],i=ue.deepClone(this.partitionTable.tableData),o=[];for(let n=0;n<e.length;n++){let a=i[e[n]];if(a.status==="MAST"){vt(.1+.8*(n/(e.length-1)),"DELETE_PARTITION");continue}if(a.status==="MERGED"){o.push(e[n]),await Qd.getInstance().deleteMergedPartitionByPrimitiveId(this.masterRowUuid,this.masterRowPath,a),vt(.1+.8*(n/(e.length-1)),"DELETE_PARTITION");continue}if(a.status==="DIVIDE"){o.push(e[n]),await Qd.getInstance().deleteDividedPartitionByPrimitiveId(this.masterRowUuid,this.masterRowPath,a),vt(.1+.8*(n/(e.length-1)),"DELETE_PARTITION");continue}vt(.1+.8*(n/(e.length-1)),"DELETE_PARTITION")}let r=i.filter((n,a)=>o.indexOf(a)<=-1);this.partitionTable.tableData=[...r],this.partitionTable.updateRenderTable(),vt(1,"DELETE_PARTITION"),await this.thumbView.updateNowViewData(),this.whePartitionTableRowSelectedChanged(),C.messageBus.rpcCall(tCo.realTimeUpdateData)}async doDivideChildItems(){let e=await this.getDuplicateFiles();if(!e.length){await this.divideChildItems();return}let i=me.i18n("The following partitions already has a sub-picture, whether to overwrite the latest partition to the sub-picture:")+`
`+e.map(o=>o.displayTitle).sort().join(", ");Dt({content:i,showCancel:!0,onConfirm:async()=>{for(let o of e)await C.messageBus.rpcCall(Ei.DOCUMENT.DELETE,{projectId:C.currentProject.projectId,uuid:o.uuid,docType:se.PCB});await this.divideChildItems()}})}async divideChildItems(){if(this.pcbSubType!=="MAIN")return;vt(.1,"DIVIDE_CHILDS"),this.operations.mergeToMainBtnReadonly=!0,this.operations.createPartitionBtnReadonly=!0,this.operations.deletePartitionBtnDisabled=!0,this.operations.createPartitionBtnTitle=XO.createPartitionBtnTitle.progress;let e=[...this.partitionTable.selectedRowNumbers],i=ue.deepClone(this.partitionTable.tableData);for(let o=0;o<e.length;o++){let r=i[e[o]];(r.status==="MERGED"||r.status==="DIVIDE")&&(await Qd.getInstance().divideChildItem(this.masterRowUuid,this.masterRowPath,r),r.status="DIVIDE",r.statusText=me.i18n(tle[r.status])),vt(.1+.7*(o/(e.length-1)),"DIVIDE_CHILDS")}this.partitionTable.tableData=[...i],this.partitionTable.refreshList(!1),await this.thumbView.updateNowViewData(),this.whePartitionTableRowSelectedChanged(),this.operations.mergeToMainBtnReadonly=!1,this.operations.createPartitionBtnReadonly=!1,this.operations.deletePartitionBtnDisabled=!1,this.operations.createPartitionBtnTitle=XO.createPartitionBtnTitle.normal,window.setTimeout(()=>{vt(1,"DIVIDE_CHILDS")},1e3)}async mergeToMain(){if(this.pcbSubType!=="MAIN")return;vt(.01,"MERGETO_MAIN"),this.operations.mergeToMainBtnReadonly=!0,this.operations.createPartitionBtnReadonly=!0,this.operations.deletePartitionBtnDisabled=!0,this.operations.mergeToMainBtnTitle=XO.mergeToMainBtnTitle.progress;let e=[...this.partitionTable.selectedRowNumbers],i=ue.deepClone(this.partitionTable.tableData);for(let o=0;o<e.length;o++){let r=i[e[o]];if(r.status==="MAST"||r.status==="MERGED"){vt(.1+.8*(o/(e.length-1)),"MERGETO_MAIN");continue}if(r.status==="DIVIDE"){await Qd.getInstance().mergeToMain(this.masterRowUuid,this.masterRowPath,r),r.status="MERGED",r.statusText=me.i18n(tle[r.status]),r.filePath="",r.fileUuid="",vt(.1+.8*(o/(e.length-1)),"MERGETO_MAIN");continue}vt(.1+.8*(o/(e.length-1)),"MERGETO_MAIN")}this.partitionTable.tableData=[...i],this.partitionTable.updateRenderTable(),vt(1,"MERGETO_MAIN"),await this.thumbView.updateNowViewData(),this.whePartitionTableRowSelectedChanged(),this.operations.mergeToMainBtnReadonly=!1,this.operations.createPartitionBtnReadonly=!1,this.operations.deletePartitionBtnDisabled=!1,this.operations.mergeToMainBtnTitle=XO.mergeToMainBtnTitle.normal}async pullUpdate(){vt(.01,"PULL_UPDATE");let e=[...this.partitionTable.selectedRowNumbers],i=ue.deepClone(this.partitionTable.tableData);if(this.pcbSubType==="MAIN")for(let o=0;o<e.length;o++){let r=i[e[o]];if(r.fileUuid===this.nowDocumentUuid){vt(.1+.8*(o/(e.length-1)),"PULL_UPDATE");continue}if(r.status==="MAST"||r.status==="MERGED"){vt(.1+.8*(o/(e.length-1)),"PULL_UPDATE");continue}if(r.status==="DIVIDE"){let n=ue.splitComponentId2FolderAndFilenameMixin(r.fileUuid);await Qd.getInstance().pullUpdate(r.primitiveId,this.masterRowUuid,this.masterRowPath,n.componentTitleOrId||"",n.path||""),r.statusText=me.i18n(tle[r.status]),vt(.1+.8*(o/(e.length-1)),"PULL_UPDATE");continue}vt(.1+.8*(o/(e.length-1)),"PULL_UPDATE")}if(this.pcbSubType==="CHILD")for(let o=0;o<e.length;o++){let r=i[e[o]];if(r.fileUuid===this.nowDocumentUuid){vt(.1+.8*(o/(e.length-1)),"PULL_UPDATE");continue}if(r.status==="MERGED"){vt(.1+.8*(o/(e.length-1)),"PULL_UPDATE");continue}if(r.status==="MAST"||r.status==="DIVIDE"){let n=ue.splitComponentId2FolderAndFilenameMixin(r.fileUuid);await Qd.getInstance().pullUpdate(r.primitiveId,this.masterRowUuid,this.masterRowPath,n.componentTitleOrId||"",n.path||""),r.statusText=me.i18n(tle[r.status]),vt(.1+.8*(o/(e.length-1)),"PULL_UPDATE");continue}vt(.1+.8*(o/(e.length-1)),"PULL_UPDATE")}this.partitionTable.tableData=[...i],this.partitionTable.updateRenderTable(),vt(1,"PULL_UPDATE"),await this.thumbView.updateNowViewData(),this.whePartitionTableRowSelectedChanged()}},pk=(0,rCo.createContext)(void 0);var gCo=L(abe());var yx=L(Se());var aCo=L(abe());var tF=L(z()),{locals:lFt}=aCo.default;function QZr(){let t=J(),[e,i]=(0,yx.useState)(250),o=(0,yx.useRef)(null),r=(0,yx.useRef)(""),n=(0,yx.useRef)(-1),a=(0,yx.useRef)(null),s=(0,yx.useRef)(null),l=(0,yx.useRef)(0),c=(0,yx.useRef)(null),d=`display-flex flex-direct-column flex-main-axis-stretch ${lFt["table-section"]}`,u=(0,yx.useContext)(pk);Ce(u.partitionTable);let p=`${lFt["table-mask"]} ${u.partitionTable.showMask?lFt["table-mask-show"]:""}`,m=u.partitionTable.whenRowInputInteractived.bind(u.partitionTable),h=u.partitionTable.whenListRowItemSinglyClicked.bind(u.partitionTable),f=u.partitionTable.whenListRowItemDoublyClicked.bind(u.partitionTable),g=u.partitionTable.tableCols.map(x=>({...x,name:me.i18n(x.name),render(S){let{rowNumber:T,colKey:M}=S,I=S.row,A=I.isRepeat?{color:"rgba(255, 0, 0, 1)"}:{},D=this,E=k=>{let P=k.target,O=P.getAttribute("data-id"),_=P.getAttribute("data-row"),j=P.getAttribute("data-col");+_===n.current&&window.clearTimeout(a.current),typeof P.select<"u"&&P.select()},N=k=>{let P=k.target;k.keyCode===13&&P.blur()},R=async k=>{let P=k.target,O=P.value,_=P.getAttribute("data-id"),j=P.getAttribute("data-row"),B=P.getAttribute("data-col");m("changed",_,B,O)},v=async k=>{let P=k.target,O=P.value,_=P.getAttribute("data-id"),j=P.getAttribute("data-row"),B=P.getAttribute("data-col");a.current=window.setTimeout(()=>{m("blured",_,B,O)},50),window.clearInterval(s.current)};switch(D.key){case"title":return I.titleEditing?(0,tF.jsx)("div",{children:(0,tF.jsx)("input",{type:"text",name:"title",defaultValue:I.title,style:{display:"block",width:"100%"},onFocus:E,onKeyUp:N,onChange:R,onBlur:v,"data-id":I.primitiveId,"data-row":T,"data-col":"title"})}):(0,tF.jsx)("div",{"data-primitive-id":I.primitiveId,"data-file-uuid":I.fileUuid,"data-file-path":I.filePath,"data-row":T,style:A,children:I.title});default:return(0,tF.jsx)("div",{"data-primitive-id":I.primitiveId,"data-file-uuid":I.fileUuid,"data-file-path":I.filePath,"data-row":T,style:A,children:I[D.key]})}}})),b=x=>{let{clickObj:S,selectedRowNumbers:T,row:M}=x;if(l.current++,(!S||r.current!==S.colKey||n.current!==S.rowNumber)&&(l.current=1),r.current=S.colKey,n.current=S.rowNumber,window.clearTimeout(c.current),c.current=window.setTimeout(()=>{l.current=0},300),l.current>=2){f(x);return}h(x)},y=async(x,S,T)=>{T.isTriggerByRowsUpdate||T.isTriggerByCheckListUpdate||(u.partitionTable.selectedRowNumbers=S,u.partitionTable.selectedIds=x.map(M=>M.primitiveId),u.partitionTable.updateRenderTable(),await u.whePartitionTableRowSelectedChanged())},w=x=>{let S={};for(let I=0;I<x.length;I++)S[x[I].primitiveId]=x[I];let T=u.partitionTable.tableData,M=[];for(let I=0;I<T.length;I++)S[T[I].primitiveId]&&(T[I].checked=!!S[T[I].primitiveId].checked),M.push(T[I]);u.partitionTable.tableData=M};return(0,yx.useEffect)(()=>{window.setTimeout(()=>{if(o.current){let x=o.current.getBoundingClientRect().toJSON();i(+x.height),u.partitionTable.updateRenderTable()}},500)},[]),(0,yx.useEffect)(()=>{let x=null;return o.current&&(x=new MutationObserver(S=>{for(let T=0;T<S.length;T++){let M=S[T].target;if(!M)continue;let I=Array.from(M.querySelectorAll(`[data-row="${n.current}"]`)),A=null;for(let D=0;D<I.length;D++)if(I[D].getAttribute("data-col")===r.current){A=I[D];break}A&&A.focus()}}),x.observe(o.current,{childList:!0,subtree:!0})),()=>{x&&x.disconnect()}},[]),(0,tF.jsx)("div",{className:d,children:(0,tF.jsxs)("div",{ref:o,style:{height:"100%",width:"100%",overflowY:"hidden",border:"1px solid var(--border-color-panel-divider)",overflowX:"auto",position:"relative"},children:[(0,tF.jsx)(xi,{name:"PCBPartitionTable",index:"primitiveId",border:!0,checkbox:!0,height:e,columns:g,multiSelect:!0,showCustomHeadSettingOnHeadContextmenu:!1,openHeadContentMenu:!1,rows:u.partitionTable.renderTableData,openVirtualScroll:!1,selectedRowNumbers:u.partitionTable.selectedRowNumbers,onChange:w,onClick:b,onCheckRow:y}),(0,tF.jsx)("div",{className:p})]})})}var sCo=yx.default.memo(QZr);var ile=L(Se());var uCo=L(abe());var cFt=L(Vi()),Cx=L(Se());var dFt=L(cCo());var mee="normal",qLe="full",XLe={[mee]:{classNameKey:"pv-op-resize-itemfull",text:"Zoom Out",nowKey:mee,nextKey:qLe},[qLe]:{classNameKey:"pv-op-resize-itemnormal",text:"Zoom In",nowKey:qLe,nextKey:mee}};function fg(t){let e=`frame_${t}`;return document.getElementById(e)}async function sbe(t,e,i){let o=await Qd.getInstance().getPCBLevelTypeFromProjectTree(t,e),r;if(o==="MAIN")r=t;else{let s=await Qd.getInstance().getParentPCBUuid(t,e);r=ue.splitComponentId2FolderAndFilenameMixin(s).componentTitleOrId}let n=await Qd.getInstance().getPartitionList(r,void 0),a=n.map(s=>({primitiveId:s.primitiveId.split(Qd.getInstance().primitiveIdSplitTag)[0],newTitle:s.title}));for(let s=0;s<n.length;s++){let l=n[s];if(l.fileUuid!==t)continue;let c=i||fg(dq(l.fileUuid,e));if(!c)continue;(await C.windowBridge.rpcCall("updatePartitionItemTitle",a,c.contentWindow)).message&&C.messageBus.rpcCall("save","")}}var wx=L(z()),{locals:hk}=dFt.default;function KZr(t){let{PCBContentItem:e,couldLoadIframe:i=!1,initSetShowLoading:o=!1,initViewSizeModeKey:r=mee,componentName:n="",initShowMask:a=!1,headTitle:s="",initMaskText:l="",optionProfile:c={},onViewSizeModeKeyUpdate:d,onIframeLoaded:u,onCanvasRenderStart:p,onCanvasRenderEnd:m}=t,h=J(),f=(0,Cx.useRef)(null),g=(0,Cx.useRef)(null),b=(0,Cx.useRef)({componentIframeId:void 0,loadStatus:"INITIAL",loadStartTiming:0,loadCompletedTiming:0}),y=(0,Cx.useRef)(null),[w,x]=(0,Cx.useState)(Mt(Math.random()+new Date().getTime())),[S,T]=(0,Cx.useState)(null),[M,I]=(0,Cx.useState)(!!o),[A,D]=(0,Cx.useState)(r),E=XLe[A].nextKey,N=XLe[E],R=`${hk["pv-opresize-wrapper"]}`,v=hk[N.classNameKey],k=`${hk["areawindow-loading"]} ${M?hk["areawindow-loading-show"]:""}`,P=`rotation ${hk["areawindow-loading-content"]}`,O=`${hk["mask-wrapper"]} ${a?hk["mask-wrapper-show"]:""}`,_=()=>{let j=XLe[A].nextKey,B=XLe[j];D(B.nowKey),d&&d(j),window.setTimeout(()=>{g.current})};return(0,Cx.useEffect)(()=>{I(!!o)},[o]),(0,Cx.useEffect)(()=>{r!==A&&(D(r),g.current)},[r]),(0,Cx.useEffect)(()=>{if(y.current!==e){if(y.current=e,!y.current)return;S&&(p instanceof Function&&p(),ase({uuid:y.current.uuid,dataStr:"",project_uuid:C.currentProject.projectId},(0,cFt.default)(f.current),()=>{},()=>{},!1,se.PCB,c.isPartitionDlg).then(async j=>{await sbe(y.current.uuid,C.currentProject.projectId,S),m instanceof Function&&m()}))}},[e,S]),(0,Cx.useEffect)(()=>{f.current&&b.current.loadStatus==="INITIAL"&&i&&(b.current.loadStatus="LOADING",b.current.loadStartTiming=performance.now(),ase({uuid:w,dataStr:"",project_uuid:C.currentProject.projectId},(0,cFt.default)(f.current),()=>{},()=>{},!1,se.PCB,c.isPartitionDlg).then(j=>{b.current.loadCompletedTiming=performance.now(),T((g.current=j.iframe,g.current)),b.current.componentIframeId=j.iframeId,b.current.loadStatus="LOADED",u&&u(b.current.componentIframeId,n)}))},[i]),(0,wx.jsxs)("section",{style:{width:"100%",height:"100%"},children:[(0,wx.jsx)("style",{children:String(dFt.default)}),(0,wx.jsxs)("div",{className:hk["pv-container"],children:[(0,wx.jsxs)("div",{className:hk["pv-head-wrapper"],children:[(0,wx.jsx)("div",{className:R,onClick:_,children:(0,wx.jsx)("div",{className:v,title:h(N.text)})}),(0,wx.jsx)("span",{children:s})]}),(0,wx.jsxs)("div",{className:hk["pv-body-wrapper"],children:[(0,wx.jsx)("div",{className:hk["pv-thumb-wrapper"],children:(0,wx.jsx)("div",{className:hk["pv-thumb-content-wrapper"],ref:f})}),(0,wx.jsx)("div",{className:O,children:(0,wx.jsx)("span",{children:l||""})}),(0,wx.jsx)("div",{className:k,children:(0,wx.jsx)("div",{className:P,children:(0,wx.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})]})]})]})}var dCo=Cx.default.memo(KZr);var ZZr=dCo,uFt=ZZr;var hee=L(z()),{locals:wrt}=uCo.default;function JZr(){let t=J(),e=`display-flex flex-main-axis-center ${wrt["thumb-section"]}`,i=(0,ile.useContext)(pk),[o,r]=(0,ile.useState)({position:"relative"}),[n,a]=(0,ile.useState)(mee);Ce(i.thumbView);let s=p=>{if(a(p),p===qLe){r({...o,position:"static"});return}if(p===mee){r({...o,position:"relative"});return}},l=()=>{i.thumbView.nowViewThumbRendering=!0},c=()=>{i.thumbView.nowViewThumbRendering=!1,window.setTimeout(()=>{i.thumbView.setNowViewAdaptPrimitive()},100)},d=()=>{i.thumbView.updaterViewThumbRendering=!0},u=()=>{i.thumbView.updaterViewThumbRendering=!1};return(0,hee.jsx)("div",{className:e,style:o,children:(0,hee.jsxs)("div",{className:wrt["thumb-wrapper"],children:[(0,hee.jsx)("div",{className:wrt["thumb-item-wrapper"],style:{padding:"0 4px 0 0"},children:(0,hee.jsx)(uFt,{componentName:i.thumbView.nowViewThumbComponentName,PCBContentItem:i.thumbView.nowViewData,couldLoadIframe:i.thumbView.nowViewThumbCouldLoadIframe,initSetShowLoading:i.thumbView.nowViewThumbLoading,initShowMask:i.thumbView.nowViewThumbMask,initMaskText:i.thumbView.nowViewThumbMaskText,headTitle:i.thumbView.nowViewThumbHeadTitle,optionProfile:{isPartitionDlg:!0},initViewSizeModeKey:n,onViewSizeModeKeyUpdate:s,onIframeLoaded:i.thumbView.whenIframeLoaded.bind(i.thumbView),onCanvasRenderStart:l,onCanvasRenderEnd:c})}),(0,hee.jsx)("div",{className:wrt["thumb-item-wrapper"],style:{padding:"0 0 0 4px"},children:(0,hee.jsx)(uFt,{componentName:i.thumbView.updaterViewThumbComponentName,PCBContentItem:i.thumbView.updaterViewData,couldLoadIframe:i.thumbView.updaterViewThumbCouldLoadIframe,initSetShowLoading:i.thumbView.updaterViewThumbLoading,initShowMask:i.thumbView.updaterViewThumbMask,initMaskText:i.thumbView.updaterViewThumbMaskText,headTitle:i.thumbView.updaterViewThumbHeadTitle,optionProfile:{isPartitionDlg:!0},initViewSizeModeKey:n,onViewSizeModeKeyUpdate:s,onIframeLoaded:i.thumbView.whenIframeLoaded.bind(i.thumbView),onCanvasRenderStart:d,onCanvasRenderEnd:u})})]})})}var pCo=ile.default.memo(JZr);var Crt=L(Se());var mCo=L(abe()),pFt=L(z()),{locals:qZr}=mCo.default;function XZr(){let t=J(),e=`display-flex flex-direct-column flex-main-axis-stretch ${qZr["tips-section"]}`,i=(0,Crt.useContext)(pk);return(0,pFt.jsx)("div",{className:e,children:(0,pFt.jsx)("span",{children:t("Tips: When merged into the main picture state, the main picture can operate the partition; after the sub-picture is separated, the main picture can not operate the partition, only the sub-picture can be operated")})})}var hCo=Crt.default.memo(XZr);var fee=L(z()),{locals:mFt}=gCo.default;function $Zr(t){let e=(0,fCo.useContext)(pk),i=`display-flex flex-nowrap ${mFt["content-container"]}`;return(0,fee.jsxs)("div",{className:i,children:[(0,fee.jsx)("div",{className:mFt["left-wrapper"],children:(0,fee.jsx)(sCo,{})}),(0,fee.jsxs)("div",{className:mFt["right-wrapper"],children:[(0,fee.jsx)(pCo,{}),(0,fee.jsx)(hCo,{})]})]})}var bCo=$Zr;var xrt=L(Se());var iF=L(z());function eJr(t){let e=J(),{handleBtnEvent:i}=t,o=(0,xrt.useContext)(pk);return Ce(o.operations),(0,iF.jsxs)(iF.Fragment,{children:[o.operations.deletePartitionBtnVisible?(0,iF.jsx)(Me,{onClick:()=>i("deletePartition"),"data-tagtitle":o.operations.deletePartitionBtnTitle,disabled:o.operations.deletePartitionBtnDisabled,style:{marginRight:"8px"},readonly:o.operations.deletePartitionBtnReadonly,children:e(o.operations.deletePartitionBtnTitle)}):null,o.operations.mergeToMainBtnVisible?(0,iF.jsx)(Me,{onClick:()=>i("mergeToMain"),"data-tagtitle":o.operations.mergeToMainBtnTitle,type:"primary",disabled:o.operations.mergeToMainBtnDisabled,style:{marginRight:"8px"},readonly:o.operations.mergeToMainBtnReadonly,children:e(o.operations.mergeToMainBtnTitle)}):null,o.operations.createPartitionBtnVisible?(0,iF.jsx)(Me,{onClick:()=>i("createPartition"),"data-tagtitle":o.operations.createPartitionBtnTitle,type:"primary",disabled:o.operations.createPartitionBtnDisabled,style:{marginRight:"8px"},readonly:o.operations.createPartitionBtnReadonly,children:e(o.operations.createPartitionBtnTitle)}):null,o.operations.updateIntoNowPCBBtnVisible?(0,iF.jsx)(Me,{onClick:()=>i("updateIntoNowPCB"),"data-tagtitle":o.operations.updateIntoNowPCBBtnTitle,type:"primary",disabled:o.operations.updateIntoNowPCBBtnDisabled,style:{marginRight:"8px"},readonly:o.operations.updateIntoNowPCBBtnReadonly,children:e(o.operations.updateIntoNowPCBBtnTitle)}):null,o.operations.cancelBtnVisible?(0,iF.jsx)(Me,{onClick:()=>i("cancel"),"data-tagtitle":o.operations.cancelBtnTitle,disabled:o.operations.cancelBtnDisabled,readonly:o.operations.cancelBtnReadonly,children:e(o.operations.cancelBtnTitle)}):null]})}var yCo=xrt.default.memo(eJr);var XM=L(z()),{locals:$Le}=Trt.default,wCo=null,tJr=t=>{let e=J(),{containerId:i,dialogId:o,nowDocumentUuid:r,nowDocumentPath:n,onDialogOpen:a,onDialogCancel:s,onDialogClose:l,onDialogClosed:c}=t,d=(0,DW.useRef)(null),[u,p]=(0,DW.useState)(null),m=(0,DW.useRef)(null);m.current=u;let h=`pop-content-wrapper display-flex flex-nowrap ${$Le["main-container"]}`,f=`pop-footer-wrapper ${$Le["dialog-btns-wrapper"]}`,g=`${$Le["view-loading-wrapper"]}`,b=`${$Le["view-loading"]}`,y=`rotation ${$Le["view-loading-rotation"]}`,w=async x=>{if(x==="cancel")s&&s();else{m.current.whenDialogBottomBtnClicked(x);return}await oo({action:x,dialogId:o,formData:{}}),l&&l(),le.close()};return(0,DW.useEffect)(()=>{m.current&&m.current.dialogProps!==t&&m.current.whenWidgetsPropsUpdate(t)},[t]),(0,DW.useLayoutEffect)(()=>(window.clearTimeout(wCo),wCo=window.setTimeout(()=>{nCo(t).then(x=>{p(x),x.whenWidgetsPropsUpdate(t,!0),a&&a()})},30),()=>{m.current=null,c&&c()}),[]),m.current?(0,XM.jsxs)("div",{className:"pop-content-container",children:[(0,XM.jsx)("style",{children:String(Trt.default)}),(0,XM.jsxs)(pk.Provider,{value:u,children:[(0,XM.jsx)("div",{className:h,children:(0,XM.jsx)(bCo,{...t})}),(0,XM.jsx)("div",{className:f,children:(0,XM.jsx)(yCo,{handleBtnEvent:w})})]})]}):(0,XM.jsxs)("div",{className:"pop-content-container",children:[(0,XM.jsx)("style",{children:String(Trt.default)}),(0,XM.jsx)("div",{className:g,children:(0,XM.jsx)("div",{className:b,children:(0,XM.jsx)("div",{className:y,children:(0,XM.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})]})},CCo=tJr;var SCo=L(z());async function xCo(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i,s=t;return le.open({id:o,title:r,width:n,closed:a,esc:!0,folded:!1,children:(0,SCo.jsx)(CCo,{containerId:o,dialogId:t.dialogId,...s})}),le}async function TCo(t){return await ii("partitionManager",{...t})}var lbe=L(Se());var $O=L(z()),iJr=({containerId:t,dialogId:e,position:i})=>{(0,lbe.useLayoutEffect)(()=>{let s=document.querySelector(`#${t}`);s.style.opacity="0",r.current.closeMsgBus=C.messageBus.subscribe(`close_${t}`,()=>{a("close")}),r.current.keyboardMsgBus=C.messageBus.subscribe(`keyboard_${t}`,l=>{!l.altKey&&!l.ctrlKey&&!l.shiftKey&&(l.key=="Escape"&&a("cancel"),l.key=="Enter"&&a("confirm"))})},[]),(0,lbe.useEffect)(()=>{n()},[]);let o=J(),r=(0,lbe.useRef)({}),n=()=>{let s=document.querySelector(`#${t}`),l=s.querySelector(`.${ICo("lc_modal_dialog_box")}`),c=l.offsetHeight,d=l.offsetWidth,u=document.documentElement.clientWidth,p=document.documentElement.clientHeight,h=Vr("frame_"+he.getActiveTab()).getBoundingClientRect(),{x:f,y:g,error:b}=i;f+=h.left,g+=h.top;let y={left:(u-d)/2,top:(p-c)/2},w=y.left-b,x=y.left+d+b,S=y.top-b,T=y.top+c+b,M=!0,I=0;f>w&&f<x&&g>S&&g<T&&(I=f-w,I>x-f&&(I=f-x),Math.abs(I)>g-S&&(I=g-S,M=!1),Math.abs(I)>T-g&&(I=g-T,M=!1));let A=y.left,D=y.top;M?A+=I:D+=I,D=Math.max(D,p*.1),D=Math.min(D,p*.9-c),A=Math.max(A,u*.1),A=Math.min(A,u*.9-d),A-=y.left,D-=y.top,l.style.position="relative",l.style.top=D+"px",l.style.left=A+"px",s.style.opacity="1",s.tabIndex=0,s.focus()},a=async s=>{await oo({action:s,dialogId:e,formData:{}}),le.destroy(t),r.current.closeMsgBus.cancel(),r.current.keyboardMsgBus.cancel()};return(0,$O.jsxs)("div",{className:"pop-content-container",style:{height:"auto"},children:[(0,$O.jsxs)("div",{style:{position:"relative",marginBottom:"16px"},children:[(0,$O.jsx)("div",{className:"messager-icon messager-warning"}),(0,$O.jsx)("div",{children:(0,$O.jsx)("p",{children:o("The selected starting point is within the prohibited track region.Do you want to ignore DRC and continue?")})})]}),(0,$O.jsx)("div",{className:"pop-footer-wrapper",style:{display:"flex",justifyContent:"flex-end"},children:(0,$O.jsxs)("div",{children:[(0,$O.jsx)(Me,{type:"primary",onClick:()=>a("confirm"),style:{marginRight:"5px",minWidth:"76px"},children:"Yes"}),(0,$O.jsx)(Me,{onClick:()=>a("close"),style:{minWidth:"76px"},children:"No"})]})})]})},MCo=iJr;var vCo=L(z());async function LCo(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i,l=t.data.position;le.open({id:o,title:r,width:n,height:a,closed:s,children:(0,vCo.jsx)(MCo,{containerId:o,dialogId:t.dialogId,position:l})})}var ole=L(Se());var hFt=L(ECo());var $M=L(z()),oJr=t=>{let{locals:e}=hFt.default,i=be.bind(e);Ae(hFt.default);let[o,r]=(0,ole.useState)([]),[n,a]=(0,ole.useState)(""),[s,l]=(0,ole.useState)(0),[c,d]=(0,ole.useState)(!1),u=J();(0,ole.useEffect)(()=>{async function h(){let f=(await C.messageBus.rpcCall("getSchData")).message,{currentSheetData:g}=(await C.messageBus.rpcCall("getCurrentSchematicPageInfo")).message,b=(await C.messageBus.rpcCall("sch/hasSelected")).message;if(f.length>0){let x=[{value:0,text:"All Schematics"},{value:1,text:"Current Page"}];b&&x.push({value:2,text:"Current Page Selected Items"}),f.forEach(S=>{let{boardName:T,schName:M,schId:I}=S;x.push({value:I,text:`${T?T+":"+M:M}`})}),r(x)}let y=new Date,w=y.getFullYear()+"-"+(y.getMonth()+1)+"-"+y.getDate();l(g.parentSchematicUuid),a(`DXF_${g.parentSchematicName}_${w}`)}h()},[gi()]);let p=async h=>{l(h);let f=new Date,g=f.getFullYear()+"-"+(f.getMonth()+1)+"-"+f.getDate();switch(h){case 0:{let{message:b}=await C.messageBus.rpcCall($e.PROJECT.GET,[C.currentProject.projectId]);a(`DXF_${b==null?void 0:b.title}_${g}`);break}case 1:case 2:{let{currentSheetData:b}=(await C.messageBus.rpcCall("getCurrentSchematicPageInfo")).message;a(`DXF_${b.name}_${b.parentSchematicName}_${g}`);break}default:{let y=o.find(x=>x.value===h).text.split(":"),w=y.length>1?y[1]:y[0];a(`DXF_${w}_${g}`);break}}},m=async()=>{let h=(await C.messageBus.rpcCall("sch/getAllJunctions")).message,f={pcbs:[],footprints:[]},g=[];switch(s){case 0:break;case 1:{let w=gi(),x=(await C.messageBus.rpcCall("getModelSheetUuid",w)).message;f.sheets=[{uuid:x}];break}case 2:{let w=gi(),x=(await C.messageBus.rpcCall("getModelSheetUuid",w)).message;g=(await C.messageBus.rpcCall("sch/getSelectedIds")).message,f.sheets=[{uuid:x}];break}default:(await C.messageBus.rpcCall("sch/getSheetsBySchematicId",s)).message.forEach(w=>{f.sheets||(f.sheets=[]),f.sheets.push({uuid:w})});break}let b={keepOptions:f,junctions:h};sD("dxf",C.currentProject.projectId,void 0,{decodingOptions:{decodingType:"easyeda-pro-2",decodingData:[],decoderOptions:b},encodingOptions:{encodingType:"dxf",encoderOptions:{containPage:c,selectedIds:g}}}).then(y=>{y!=null&&y.result&&y.success&&BAi(y.result,n,s),le.close()})};return(0,$M.jsxs)("div",{className:i("wrap"),children:[(0,$M.jsxs)("div",{className:i("container"),children:[(0,$M.jsxs)("div",{className:i("left"),children:[(0,$M.jsxs)("span",{children:[u("Range"),":"]}),(0,$M.jsx)("span",{children:u("File Name:")})]}),(0,$M.jsxs)("div",{className:i("right"),children:[(0,$M.jsx)("div",{children:(0,$M.jsx)(xt,{value:s,list:o,disabled:!1,onChange:p})}),(0,$M.jsx)(qt,{onChange:h=>{d(h)},children:(0,$M.jsx)("span",{children:u("Contain pages")})})]})]}),(0,$M.jsxs)("div",{className:i("footer"),children:[(0,$M.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:m,children:u("Export")}),(0,$M.jsx)(Me,{onClick:()=>{le.close()},children:u("Cancel")})]})]})},ACo=oJr;var PCo=L(z());async function NCo(){await ii("exportDxf",{})}function kCo(t){let e=bt[t],{containerId:i,title:o,width:r,closed:n}=e;return le.open({id:i,title:o,width:r,closed:n,esc:!0,folded:!1,children:(0,PCo.jsx)(ACo,{containerId:i})}),le}var h2=L(Se()),fFt=L(RCo());var _Co=[{text:"Confirm",type:"primary",style:{marginRight:"8px"},command:"confirm"},{text:"Cancel",command:"cancel"}];var Bc=L(z());var rJr=t=>{let{containerId:e,params:i,dialogId:o}=t,{extra:r}=i;Ae(fFt.default);let n=be.bind(fFt.default.locals),a=J(),{templateInfos:s,allReuseIDList:l,allNotMatch:c,idMapMatchListObj:d}=r.templateData,u=s,[p,m]=(0,h2.useState)(!1),[h,f]=(0,h2.useState)(!1),[g,b]=(0,h2.useState)(u),[y,w]=(0,h2.useState)(""),[x,S]=(0,h2.useState)(""),[T,M]=(0,h2.useState)(u),[I,A]=(0,h2.useState)([]),[D,E]=(0,h2.useState)(null),[N,R]=(0,h2.useState)(null),[v,k]=(0,h2.useState)(new Set(l)),[P,O]=(0,h2.useState)(!0),[_,j]=(0,h2.useState)(!0),B=(0,h2.useRef)(0),V=(0,h2.useRef)(0),G=(0,h2.useRef)(0),Q=(0,h2.useRef)(0),H=new Map(Object.entries(d)),q=new Map;for(let[oe,re]of H)q.set(oe,new Set(re));function U(oe){P&&(G.current=B.current,B.current=0,O(!1)),oe.target.value===""?(Z("left"),m(!1)):m(!0),w(oe.target.value);let re=u.filter(Y=>Y.tag.toLowerCase().includes(oe.target.value.toLowerCase()));b(re)}function F(oe){_&&(Q.current=V.current,V.current=0,j(!1)),oe.target.value===""?(Z("right"),f(!1)):f(!0),S(oe.target.value);let Y=T.filter(X=>X.id==D.id)[0].matchList.filter(X=>X.tag.toLowerCase().includes(oe.target.value.toLowerCase()));A(Y)}async function K(oe){R(null),E(oe);let re=T.filter(Y=>Y.id==oe.id);A(re[0].matchList),C.messageBus.publish("highlightItems",{globalIndexArr:[oe.id,oe.match.id]})}async function te(oe){R(oe),C.messageBus.publish("highlightItems",{globalIndexArr:[oe.id]})}function ae(){if(D){let oe=D.match,re=g.filter(ie=>ie.id==D.id?ie.match={id:"",tag:"",channelId:""}:ie);b(re),k(ie=>{let de=new Set(ie);return de.add(oe.id),de});let Y=T.filter(ie=>(q.get(ie.id)==null||q.get(ie.id).has(oe.id)&&ie.matchList.unshift(oe),ie));M(Y);let X=T.filter(ie=>ie.id==D.id);A(X[0].matchList)}}function pe(){if(N){R(null);let oe=g.filter(re=>{if(re.id==D.id)if(re.match.id==""&&re.match.tag==""){v.has(N.id)&&(re.match.id=N.id,re.match.tag=N.tag,k(X=>{let ie=new Set(X);return ie.delete(N.id),ie}));let Y=T.filter(X=>{if(q.get(X.id)==null)return X;if(q.get(X.id).has(N.id)){let ie=0;for(let de of X.matchList){if(de.id==N.id){X.matchList.splice(ie,1);break}ie++}}return X});M(Y)}else{let Y=JSON.parse(JSON.stringify(re.match));v.has(N.id)&&(re.match.id=N.id,re.match.tag=N.tag,k(ie=>{let de=new Set(ie);return de.delete(N.id),de.add(Y.id),de}));let X=T.filter(ie=>{if(q.get(ie.id).has(N.id)){ie.matchList.unshift(Y);let de=0;for(let fe of ie.matchList)fe.id==N.id&&ie.matchList.splice(de,1),de++}return ie});M(X)}return re});b(oe)}}function Z(oe){oe==="left"?(B.current=G.current,G.current=0,O(!0)):(V.current=Q.current,Q.current=0,j(!0))}function ee(oe){if(oe=="left")w(""),m(!1),b(u);else{S(""),f(!1);let re=T.filter(Y=>{if(Y.id==D.id)return Y.matchList});A(re[0].matchList)}Z(oe)}async function ce(oe){let{left:re,top:Y}=BCo(),X=gm();X&&(X.style.top="0px",X.style.left="0px",X.style.width="unset",X.style.height="unset");let ie=bt.reuse_layout_route;switch(ie.newDialogPostionLeft=re,ie.newDialogPostionTop=Y,oe){case"confirm":await oo({action:oe,dialogId:o,formData:{templateInfo:s,allNotMatch:c}});break;case"close":await oo({action:oe,dialogId:o});break;case"cancel":await oo({action:oe,dialogId:o});break}C.messageBus.publish("highlightItems",{globalIndexArr:[]}),le.close(e)}Bt(()=>{ce("close")}).close(e);let ne=({data:oe,handleClick:re,source:Y,currentTop:X})=>{var Ve;let[ie,de]=(0,h2.useState)(X),fe=(0,h2.useRef)(null),ye=((Ve=fe.current)==null?void 0:Ve.clientHeight)||300,Le=30,Re=(ze,He)=>{let Ye=Math.ceil(ye/He),ke=Math.floor(ze/He),Be=ke+Ye;return{startIndex:ke,endIndex:Be}},{startIndex:Ne,endIndex:Te}=Re(ie,Le),Pe=oe.slice(Ne,Te),Oe=oe.length*Le,Ue=Ne*Le;return(0,h2.useLayoutEffect)(()=>{fe.current.scrollTop=X},[X]),(0,Bc.jsx)("div",{ref:fe,style:{height:"300px",overflowY:"auto",position:"relative"},onScroll:ze=>{Y==="template"?B.current=ze.currentTarget.scrollTop:V.current=ze.currentTarget.scrollTop,de(ze.currentTarget.scrollTop)},children:(0,Bc.jsx)("div",{style:{height:`${Oe}px`},children:(0,Bc.jsx)("div",{style:{position:"absolute",top:Ue,width:"100%",marginTop:"10px"},children:Pe.map((ze,He)=>{let Ye;return Y==="template"?Ye=ze.match&&ze.match.id!==""?ze.match.tag:a("Not matched"):Ye=ze.tag,Y==="template"?(0,Bc.jsx)("div",{className:n(D&&D.id==ze.id?"seleted list":"list"),onClick:()=>re(ze),children:`${ze.tag} -> ${Ye}`},`${He}`):(0,Bc.jsx)("div",{className:n(N&&N==ze?"seleted list":"list"),onClick:()=>re(ze),children:`${Ye}`},`${He}`)})})})})};return(0,Bc.jsxs)("div",{className:n("pop-content-container"),style:{height:"100%"},children:[(0,Bc.jsx)("p",{className:n("tips"),children:a({context:"Tip",value:"Tip: No exact matching components were found. You can select matching partial components for reuse below"})}),(0,Bc.jsxs)("div",{className:n("reuse-layout-route"),children:[(0,Bc.jsxs)("fieldset",{children:[(0,Bc.jsx)("legend",{"date-set":"Template Component",children:a({context:"Template Component",value:"Template Component"})}),(0,Bc.jsx)("div",{className:"templateList",children:(0,Bc.jsx)("div",{className:n("comm-fittinginput-container"),children:(0,Bc.jsxs)("div",{className:n("comm-fittinginput-wrapper"),children:[(0,Bc.jsx)("input",{type:"text",className:n("comm-fittinginput-input"),placeholder:a("Filter"),value:y,onChange:oe=>U(oe)}),(0,Bc.jsx)("span",{className:n(p?"comm-fittinginput-clear":"comm-fittinginput-clear-hidden"),onClick:()=>ee("left"),children:(0,Bc.jsx)("i",{className:n("icon-eda-x-circle-small"),style:{fontSize:"1.5rem"}})}),(0,Bc.jsx)("span",{className:n("comm-fittinginput-search"),children:(0,Bc.jsx)("i",{className:n("icon-eda-zoom-small")})})]})})}),(0,Bc.jsx)(ne,{data:g,handleClick:K,source:"template",currentTop:B.current})]}),(0,Bc.jsxs)("div",{className:n("middle-buttons"),children:[(0,Bc.jsx)("div",{className:n(D&&D.match.id!==""?"active":"disabled"),onClick:ae,children:(0,Bc.jsx)("i",{children:">"})}),(0,Bc.jsx)("div",{className:n(N?"active":"disabled"),onClick:pe,children:(0,Bc.jsx)("i",{children:"<"})})]}),(0,Bc.jsxs)("fieldset",{children:[(0,Bc.jsx)("legend",{"date-set":"Matchable component",children:a({context:"Matchable component",value:"Matchable component"})}),(0,Bc.jsx)("div",{className:"templateList",children:(0,Bc.jsx)("div",{className:n("comm-fittinginput-container"),children:(0,Bc.jsxs)("div",{className:n("comm-fittinginput-wrapper"),children:[(0,Bc.jsx)("input",{type:"text",className:n("comm-fittinginput-input"),placeholder:a("Filter"),value:x,onChange:F}),(0,Bc.jsx)("span",{className:n(h?"comm-fittinginput-clear":"comm-fittinginput-clear-hidden"),onClick:()=>ee("right"),children:(0,Bc.jsx)("i",{className:n("icon-eda-x-circle-small"),style:{fontSize:"1.5rem"}})}),(0,Bc.jsx)("span",{className:n("comm-fittinginput-search"),children:(0,Bc.jsx)("i",{className:n("icon-eda-zoom-small")})})]})})}),(0,Bc.jsx)(ne,{data:I,handleClick:te,source:"reuse",currentTop:V.current})]})]}),(0,Bc.jsx)("div",{className:n("pop-footer-wrapper"),children:_Co.map((oe,re)=>(0,Bc.jsx)(Me,{type:oe.type,style:oe.style,onClick:()=>ce(oe.command),children:(0,Bc.jsx)("span",{"data-test":oe.text,children:a(oe.text)})},`bottom-btn-${re}`))})]})},jCo=rJr;var FCo=L(z());async function zCo(t,e={}){let i=bt[t],{containerId:o,title:r,width:n,height:a,closed:s,newDialogPostionLeft:l,newDialogPostionTop:c}=i;le.open({id:o,title:r,width:n,height:a,closed:s,mask:!1,left:l,top:c,children:(0,FCo.jsx)(jCo,{containerId:o,dialogId:e.dialogId,params:e})})}var yee=L(Se());var wFt=L(eve());var z5=L(Se());var VCo=L(eve()),gee=L(z()),gFt=be.bind(VCo.default.locals),nJr=({setComponentClickState:t,componentValue:e})=>{let i=J(),[o,r]=(0,z5.useState)(null),[n,a]=(0,z5.useState)(null),[s,l]=(0,z5.useState)(null),[c,d]=(0,z5.useState)([]),[u,p,m]=La(),h=(0,z5.useRef)(null),[f,g]=(0,z5.useState)(""),b=(0,z5.useMemo)(()=>[{key:"componentName",name:i("Component Name"),width:1,sortable:!0}],[]);(0,z5.useEffect)(()=>{if(e.length>0){let x=[];e.forEach((S,T)=>{let M=S.designator,I=S.name||S.value||S.deviceName,A=S.footName,D={index:T,hashId:S.hashId,designator:M,componentName:`${M}_${I}_${A}`,pads:S.pads,bgColor:"initial"};x.push(D)}),l(x),d(x)}},[e]);let y=x=>{t({clickState:x})},w=x=>{let S=s.filter(T=>T.componentName.toLowerCase().includes(x.toLowerCase()));d(S)};return(0,z5.useEffect)(()=>(p(h.current),()=>{m()}),[h.current]),(0,z5.useEffect)(()=>{if(u){let{height:x,width:S}=u;r(x),a(S)}},[u]),(0,gee.jsxs)("fieldset",{className:gFt("compenentList-container"),children:[(0,gee.jsx)("legend",{children:i("Component")}),(0,gee.jsx)("div",{className:gFt("filter-input"),children:(0,gee.jsx)(Ws,{placeholder:i("Filter"),initShowValue:f,onUpdateInputValue:x=>{g(x),w(x)}})}),(0,gee.jsx)("div",{className:gFt("compenentList-content"),ref:h,children:o&&(0,gee.jsx)(xi,{index:"index",showHeader:!1,columns:b,width:n,height:o,rows:c,moveAble:!0,onClick:x=>{y(x)}})})]})},HCo=(0,z5.memo)(nJr);var f2=L(Se());var YCo=L(eve());var bee=L(z()),bFt=be.bind(YCo.default.locals);function GCo(t,e=1){let i=Math.pow(10,e);return Math.round(t*i+1e-10)/i}var aJr=t=>{let{containerId:e,unit:i,updateTablePadLen:o,componentclickState:r,setShowData:n}=t,a=J(),[s,l]=(0,f2.useState)(null),[c,d]=(0,f2.useState)(null),[u,p]=(0,f2.useState)([]),[m,h]=(0,f2.useState)([]),[f,g]=(0,f2.useState)([]),[b,y,w]=La(),x=(0,f2.useRef)(null),[S,T]=(0,f2.useState)(new Set),[M,I]=(0,f2.useState)(null),[A,D]=(0,f2.useState)(""),[E,N]=(0,f2.useState)([]),[R,v]=(0,f2.useState)(!1),[k,P]=(0,f2.useState)(!1);Bt(U=>{console.log("res",U);let F=U.key.toLowerCase();U.ctrlKey&&F==="c"&&G(),U.ctrlKey&&F==="v"&&Q()}).keyboard(e),(0,f2.useEffect)(()=>{if(r){v(!1),T(new Set),P(ae=>!ae);let U=r.clickState.tableData,F=r.clickState.selectedRowNumbers,K=[],te=0;for(let ae=0;ae<F.length;ae++){let pe=F[ae];for(let Z=0;Z<U.length;Z++)if(pe===Z){let ee=U[Z].designator;U[Z].pads.forEach(ne=>{let oe=ee+":"+ne.num,re=ne.padLen;re&&(re=i=="mil"?GCo(re,1).toString()+i:GCo(re,3).toString()+i),K.push({index:te,hashId:ne.hashId,designator:ee,padNumber:oe,pinlength:re}),te++})}}p(K),A.length>0?V(A,K):h(K),g([{key:"padNumber",name:a("Pad Number"),width:.5,sortable:!0},{key:"pinlength",name:a("Pin Length"),width:.5,sortable:!0,editable:!je(),unitConversion:!0}])}},[r,o]);let O=U=>{let F=U.target.closest("tr"),K=U.target.closest("td"),te=F==null?void 0:F.rowIndex,ae=K==null?void 0:K.cellIndex;if(U.button==0)F&&K&&(I({rowIndex:Number(te),colIndex:Number(ae)}),T(new Set));else if(F&&K&&!S.has(`${te}-${ae}`)){let pe=new Set;pe.add(`${te}-${ae}`),T(pe)}},_=(0,f2.useCallback)(U=>{if(M){let F=U.target.closest("tr"),K=U.target.closest("td");if(x&&x.current.querySelectorAll("td").forEach(te=>{te.style.userSelect="none"}),F&&K){let te=F.rowIndex,ae=K.cellIndex,pe={rowIndex:Number(te),colIndex:Number(ae)},Z=new Set,ee=Math.min(M.rowIndex,pe.rowIndex),ce=Math.max(M.rowIndex,pe.rowIndex),ne=Math.min(M.colIndex,pe.colIndex),oe=Math.max(M.colIndex,pe.colIndex);for(let re=ee;re<=ce;re++)for(let Y=ne;Y<=oe;Y++)Z.add(`${re}-${Y}`);T(Z)}}},[M]),j=(0,f2.useCallback)(()=>{I(null)},[]),B=U=>{var F,K;if(((K=(F=U.clickObj)==null?void 0:F.e)==null?void 0:K.button)==0){let te=U.clickObj.rowNumber,ae=U.clickObj.colKey,pe=f.findIndex(ee=>ee.key==ae),Z=new Set;Z.add(`${te}-${pe}`),T(Z)}},V=(U,F)=>{let K=F.filter(te=>te.padNumber.toLowerCase().includes(U.toLowerCase())||te.pinlength.toString().includes(U));h(K)},G=async()=>{let U=[],F=[];R?F=E:F=m;for(let te=0;te<F.length;te++){let ae=[];for(let pe=0;pe<f.length;pe++)if(S.has(`${te}-${pe}`)){let Z=f[pe].key,ee=F[te][Z];ae.push(ee)}ae.length>0&&U.push(ae.join("	"))}let K=U.join(`
`);await navigator.clipboard.writeText(K).then(()=>{K.length>0&&new Fi({type:"success",msg:"Copy Success!"})})},Q=async()=>{if(!S)return;let U=await navigator.clipboard.readText(),F=/^-?\d+(\.\d+)?(mil|mm|inch)?$/i,[K,te]=Array.from(S)[0].split("-").map(Number),ae=U.split(`\r
`).map(Z=>Z.split("	")).filter(Z=>Z.length>1||Z.length===1&&Z[0]!==""),pe=[...m];ae.forEach((Z,ee)=>{Z.forEach((ce,ne)=>{if(!F.test(ce.trim()))return;let oe=K+ee,re=te+ne,Y=x.current.querySelector(`tr[data-content-rowindex="${oe}"]`);if(!Y||re>f.length-1)return;let X=f[re].key;Y.querySelector(`td[data-col-key="${X}"]`)&&f[re].editable&&(pe[oe]||(pe[oe]={}),pe[oe][X]=RRe(ce,pe[oe][X]))})}),h(pe),n(pe)},H=U=>{switch(U){case"copy":G();break;case"paste":Q();break;default:break}},q=U=>{U.stopPropagation(),U.preventDefault(),Da.open({data:[{cmd:"copy",title:me.i18n("Copy")},{cmd:"paste",title:me.i18n("Paste")}],position:{x:U.pageX-5,y:U.pageY-5},onClick(F,K,te,ae){H(F.cmdlink.join(":"))},onEnterConfirm(F,K,te){H(F.join(":"))}})};return(0,f2.useEffect)(()=>(y(x.current),()=>{w()}),[x.current]),(0,f2.useEffect)(()=>{if(b){let{height:U,width:F}=b;l(U),d(F)}},[b]),(0,f2.useEffect)(()=>{x&&(x.current.querySelectorAll("td").forEach(U=>{U.style.color="",U.style.backgroundColor=""}),S.forEach(U=>{let[F,K]=U.split("-").map(Number),te=x.current.querySelector(`tr[data-content-rowindex="${F}"] td[data-col-key="${f[K].key}"]`);if(te){let ae=te;ae.style.color="var(--font-color-selected-tr)",ae.style.backgroundColor="var(--bg-color-selected-tr)"}}))},[S]),(0,bee.jsxs)("fieldset",{className:bFt("padList-container"),children:[(0,bee.jsx)("legend",{children:a("Pad")}),(0,bee.jsx)("div",{className:bFt("filter-input"),children:(0,bee.jsx)(Ws,{placeholder:a("Filter"),initShowValue:A,onUpdateInputValue:U=>{D(U),V(U,u)}})}),(0,bee.jsx)("div",{className:bFt("padList-content"),ref:x,onMouseDown:O,onMouseOver:_,onMouseUp:j,children:s&&(0,bee.jsx)(xi,{index:"index",border:!0,fixedHeader:!0,isChangeSortStatus:k,openRowSelectedBgColor:!1,columns:f,width:c,height:s,rows:m,moveAble:!1,isCtrlSelect:!1,isShiftSelect:!1,onClick:U=>{B(U)},onContextMenu:(U,F)=>{q(F)},onChange:(U,F,K)=>{F?n(U):(N(U),v(!0))}})})]})},WCo=aJr;var QCo=L(Vi()),KCo=L(Se());var ZCo=L(eve());var EW=L(z()),yFt=be.bind(ZCo.default.locals),sJr=/^[,\s]*$/,JCo=(0,KCo.memo)(t=>{let{containerId:e,componentValue:i,setImportCSVData:o,handleBtnEvent:r,componentclickState:n}=t;console.log("componentclickState",n);let a=je(),s=d=>{let u=d[0];if(!u)return;let p=new FileReader;p.readAsText(u),p.onload=function(m){let h=m.target.result;if(!h){De({type:"error",msg:"Imported file is empty!"});return}let g=h.replace(/\r\n/g,`
`).split(`
`).map(S=>S.replace(/"/g,"")).filter(S=>{let T=S.trim();return sJr.test(T)?!1:T.length>0}),b=["Designator","Pad Number","Pin Length"],y=g[0].split(",");if(b.filter(S=>!y.includes(S)).length>0||y.length>3){Ut({type:"error",message:"The imported file format incorrect or doesn't match current type, please re-select and import."});return}let x=[];for(let S=1;S<g.length;S++){let M=g[S].split(","),I=y.reduce((D,E,N)=>(D[E]=M[N],D),{});for(let D of Object.keys(I))if(I[D]===void 0||I[D]===""){Ut({type:"error",message:"The imported file format incorrect or doesn't match current type, please re-select and import."});return}if(!/^-?\d+(\.\d+)?(mil|mm|inch)?$/i.test(I["Pin Length"].trim())){Ut({type:"error",message:"The imported file format incorrect or doesn't match current type, please re-select and import."});return}x.push(I)}o(x),console.log("Parsed data:",x)}},l=(()=>{if(!window.FileReader)return()=>{Dt({icon:"warning",closed:!0,content:"Your browser cannot run this function."})};let d={multiple:!1,accept:".csv",fileFilter:function(p){return/\.(csv)$/i.test(p.name)},onValidate:function(p){p||Ut({type:"error",message:"The imported file format incorrect or doesn't match current type, please re-select and import."})},onSelectFiles:p=>{s(p)}},u;return()=>{u||(u=nu.instance((0,QCo.default)("<br>")).config(d)),u.openSelect()}})(),c=()=>{ii("exportPinDelay",{componentValue:i,componentclickState:n})};return(0,EW.jsxs)("div",{className:yFt("footer"),children:[(0,EW.jsxs)("div",{className:yFt("footer-left"),children:[(0,EW.jsx)(Me,{onClick:l,style:{marginRight:"8px"},disabled:a,children:"Import"}),(0,EW.jsx)(Me,{onClick:c,disabled:a,children:"Export"})]}),(0,EW.jsxs)("div",{className:yFt("footer-right"),children:[(0,EW.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>r("confirm"),disabled:a,children:"Confirm"}),(0,EW.jsx)(Me,{onClick:()=>r("cancel"),children:"Cancel"})]})]})});function qCo(t){var s;let e=Goe(),i=/(\d+(\.\d+)?)(\s*(mil|mm|inch))?/i,o=t.match(i);if(!o)throw new Error("Invalid input");let r=parseFloat(o[1]),n=((s=o[4])==null?void 0:s.toLowerCase())||e,a=ue.unitConversion.conversion(n,e,r);return e==="mil"?a=Math.round(a*10)/10:e==="mm"&&(a=Math.round(a*1e3)/1e3),a}var wee=L(z()),tve=[],lJr=t=>{let{containerId:e,dialogId:i,componentValue:o,unit:r}=t,[n,a]=(0,yee.useState)(null),[s,l]=(0,yee.useState)(!0),[c,d]=(0,yee.useState)(null),[u,p]=(0,yee.useState)([]);Ae(wFt.default);let m=be.bind(wFt.default.locals),h=J(),f=async g=>{if(g==="confirm"){let b={unit:Goe(),value:tve};await oo({action:g,dialogId:i,formData:g==="confirm"?{value:b}:{}})}tve=[],le.close(e)};return Bt(()=>{f("close")}).close(e),Bt(({code:g})=>{g==="Escape"&&f("close")}).keyboard(e),(0,yee.useEffect)(()=>{u.forEach((g,b)=>{let y=g.padNumber.split(":")[1],w=g.hashId,x=typeof g.pinlength=="string"?parseFloat(g.pinlength.match(/^\d+(\.\d+)?/)[0]):g.pinlength,S=o.filter(R=>R.pads.some(v=>v.hashId===w))[0],T=S.hashId,M=S.designator,I=S.name,A=S.value,D=S.deviceName,E=S.footName,N=S.pads;N.forEach(R=>{y===R.num&&w===R.hashId&&x!==R.padLen&&(R.padLen=x,tve.push({hashId:T,designator:M,name:I,value:A,deviceName:D,footName:E,pads:N}))})}),console.log("updateData",tve),console.log("componentValue",o)},[u]),(0,yee.useEffect)(()=>{if(c){let g=[],b=[],y=[],w=new Set;for(let x=0;x<c.length;x++){let S=c[x].Designator,T=c[x]["Pad Number"],M=S+":"+T;o.some(A=>A.designator===S)?o.filter(D=>D.designator===S).some(D=>D.pads.some(N=>N.num==T))?w.has(M)?g.push(M):w.add(M):b.push(M):y.push(S)}if(g.length>0){let x=Ti("The following pad number are repeated")+"\uFF1A"+g.toString();Ot("warn",x)}if(b.length>0){let x=Ti("The following pad not found")+"\uFF1A"+b.toString();Ot("warn",x)}if(y.length>0){let x=Ti("The following component not found")+"\uFF1A"+y.toString();Ot("warn",x)}if(g.length>0||b.length>0||y.length>0){co.handleClick("log");return}c.forEach(x=>{let S=x.Designator,T=x["Pad Number"],M=qCo(x["Pin Length"]);o.forEach(I=>{let A=I.hashId,D=I.designator,E=I.name,N=I.value,R=I.deviceName,v=I.footName,k=I.pads;D===S&&k.forEach(P=>{P.num===T&&(P.padLen=M,tve.push({hashId:A,designator:D,name:E,value:N,deviceName:R,footName:v,pads:k}))})})}),l(x=>!x)}},[c]),(0,wee.jsxs)("div",{className:m("dialog-container"),children:[(0,wee.jsxs)("div",{className:m("dialog-container-content"),children:[(0,wee.jsx)(HCo,{setComponentClickState:a,componentValue:o}),(0,wee.jsx)(WCo,{containerId:e,unit:r,updateTablePadLen:s,componentclickState:n,setShowData:p})]}),(0,wee.jsx)("div",{className:m("dialog-footer"),children:(0,wee.jsx)(JCo,{containerId:e,componentValue:o,setImportCSVData:d,handleBtnEvent:f,componentclickState:n})})]})},XCo=lJr;var exo=L(z());async function $Co(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s,mask:l}=i;le.open({id:o,title:r,width:n,height:a,closed:s,mask:l,children:(0,exo.jsx)(XCo,{containerId:o,dialogId:t.dialogId,componentValue:t.value.data,unit:t.value.unit})})}var cbe=L(Se());var xFt=L(CFt());var Sw=L(Se());var oxo=L(CFt()),ME=L(z()),ixo=be.bind(oxo.default.locals),cJr=({designatorData:t,setSelectDesignators:e,clickState:i})=>{let o=(0,Sw.useMemo)(()=>t.map(M=>({designator:M.designator,hashId:M.hashId,displayValue:M.designator})),[t]),r=J(),[n,a]=(0,Sw.useState)(""),[s,l]=(0,Sw.useState)(!0),[c,d]=(0,Sw.useState)(!1),[u,p]=(0,Sw.useState)({}),[m,h]=(0,Sw.useState)(o),[f,g]=(0,Sw.useState)(null),b=(0,Sw.useRef)(null),y=(0,Sw.useRef)(null),w=M=>{let I=o.filter(A=>A.designator.toLowerCase().includes(M.toLowerCase()));h(I)},x=()=>{l(!s)},S=M=>{d(M);let I={};o.forEach(A=>{I[A.hashId]=M}),p(I)},T=(M,I)=>{p(A=>({...A,[M]:I}))};return(0,Sw.useEffect)(()=>{if(m.length===0){d(!1);return}let M=m.every(I=>u[I.hashId]);d(M),e(u)},[m,u,e]),(0,Sw.useEffect)(()=>{var M;if(i){let I=i.selectedRowNumbers,A=i.tableData,D=Math.min(...I),E=(M=A[D])==null?void 0:M.hashId;g(E||null);let N={};I.forEach(R=>{let v=A[R].hashId;N[v]=!0}),p(R=>({...R,...N}))}},[i]),(0,Sw.useEffect)(()=>{let M=b.current,I=y.current;if(M&&I&&M.scrollHeight>M.clientHeight){let D=I.offsetTop-M.offsetTop;M.scrollTop=D}},[f]),(0,ME.jsxs)("div",{children:[(0,ME.jsx)("div",{style:{padding:"8px"},children:(0,ME.jsx)(Ws,{placeholder:r("Filter"),initShowValue:n,onUpdateInputValue:M=>{a(M),w(M)}})}),(0,ME.jsxs)("div",{ref:b,style:{height:"354px",overflowY:"auto"},children:[(0,ME.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,ME.jsx)("span",{title:r(s?"Collapse":"Expand"),"data-test":s?"tree-expanded":"tree-collapsed",className:ixo(s?"tree-expanded":"tree-collapsed"),onClick:x}),(0,ME.jsx)("div",{children:(0,ME.jsx)(qt,{disabled:!s,checked:c,onChange:M=>S(M),children:"Designator"})})]}),s&&m.map(M=>(0,ME.jsxs)("div",{ref:f===M.hashId?y:null,style:{display:"flex",alignItems:"center"},children:[(0,ME.jsx)("div",{style:{width:"20px"}}),(0,ME.jsx)(qt,{checked:!!u[M.hashId],onChange:I=>T(M.hashId,I),children:M.designator})]},M.hashId))]})]})},rxo=(0,Sw.memo)(cJr);function nxo(t){let e=Object.keys(t[0]),i=[];return i.push(e.join(",")),t.forEach(r=>{let n=e.map(a=>`"${(""+r[a]).replace(/"/g,'""')}"`);i.push(n.join(","))}),i.join(`
`)}var IE=L(z()),dJr=t=>{let{containerId:e,data:i,clickState:o}=t,[r,n]=(0,cbe.useState)({}),[a,s]=(0,cbe.useState)(!1),[l,c]=(0,cbe.useState)("pin delay");Ae(xFt.default);let d=be.bind(xFt.default.locals),u=J(),p=async m=>{if(m==="confirm"){let h=[];for(let[b,y]of Object.entries(r))y===!0&&h.push(b);let f=[];h.forEach(b=>{i.forEach(y=>{let w=y.designator,x=y.hashId,S=y.pads;x===b&&S.forEach(T=>{f.push({Designator:w,"Pad Number":T.num,"Pin Length":T.padLen})})})});let g=nxo(f);ya(new Blob([g],{type:"text/csv"}),`${l+".CSV"}`)}le.close(e)};return(0,cbe.useEffect)(()=>{let m=Object.values(r).some(h=>h===!0);s(m)},[r]),(0,IE.jsxs)("div",{className:d("dialog-container"),children:[(0,IE.jsxs)("div",{className:d("firstRow"),children:[(0,IE.jsx)("span",{"data-test":"filename:",className:d("fileName"),children:u("Filename:")}),(0,IE.jsx)(Kt,{style:{width:"70%"},defaultValue:l,onChange:m=>{c(m)}}),(0,IE.jsx)("div",{className:d("fileExtension"),children:".CSV"})]}),(0,IE.jsx)("fieldset",{style:{height:"86%",border:"1px solid var(--common-border-color-1)"},children:(0,IE.jsx)(rxo,{designatorData:i,setSelectDesignators:n,clickState:o==null?void 0:o.clickState})}),(0,IE.jsx)("div",{className:d("dialog-footer"),children:(0,IE.jsxs)("div",{className:d("footer-right"),children:[(0,IE.jsx)(Me,{type:"primary",disabled:!a,style:{marginRight:"8px"},onClick:()=>{p("confirm")},children:"Confirm"}),(0,IE.jsx)(Me,{onClick:()=>{p("cancel")},children:"Cancel"})]})})]})},axo=dJr;var lxo=L(z());async function sxo(t={},e){let i=bt[e];console.log("test",i);let{containerId:o,title:r,width:n,height:a,closed:s,mask:l,esc:c}=i;le.open({id:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,children:(0,lxo.jsx)(axo,{containerId:o,data:t.componentValue,clickState:t.componentclickState})})}var bxo=L(Se());var SFt=L(rle());var uJr={operationType:"Add",layer:"All",allowedWithinComponent:!1,removeExisting:!1,ignoreDRC:!1},pJr={singleLayer:!0,numberPrefix:"TP",shape:"ELLIPSE",diaMeter:"24",width:"24",height:"24",ratio:"0",rotationAngle:"0",holeDiaMeter:"12",isFollowRule:!0,topSolder:"0",bottomSolder:"0",solder:"0",paste:"0"};var TFt=class extends qe{constructor(){super(...arguments);this._quantity="1";this._tableSearceValue="";this._filteredNetLists=null}async initDialog(i){var r;this.unit=i.unit;let o=mt.getCacheObj("AutoPlaceTestPad");this.commonOptions={...uJr,...o==null?void 0:o.commonOptions},this.testPointOptions={...pJr,...o==null?void 0:o.testPointOptions},this._netLists=(r=i.netLists)!=null?r:{},this._tableSearceValue=""}closeDialog(){this.commonOptions=null,this.testPointOptions=null,this._netLists=null,this._quantity=null,this._tableSearceValue=null,this._filteredNetLists=null}setCommonOptions(i,o){this.commonOptions[i]=o,this.notify()}setTestPointOptions(i,o){this.testPointOptions[i]=o,this.notify()}get netLists(){return this._filteredNetLists||this._netLists}setNetLists(i,o,r){this.netLists[i][o]=r,this.notify()}convertNetsToArray(){return Object.keys(this.netLists).map(i=>({id:i,net:i,...this.netLists[i]}))}parseNets(i){if(this._tableSearceValue)for(let o of i){let{net:r,checked:n,requiredQuantity:a}=o;this._filteredNetLists[r]&&(this._netLists[r].checked=n,this._netLists[r].requiredQuantity=a,this._filteredNetLists[r].checked=n,this._filteredNetLists[r].requiredQuantity=a)}else{let o=i.reduce((r,n)=>{let{id:a,net:s,checked:l,requiredQuantity:c}=n;return r[s]={checked:l,requiredQuantity:Number(c)},r},{});this._netLists=o}this.notify()}get filteredNetLists(){return this._filteredNetLists||this.netLists}get quantity(){return this._quantity}set quantity(i){this._quantity=i,this.notify()}get tableSearceValue(){return this._tableSearceValue}set tableSearceValue(i){this._tableSearceValue=i,this.searchNetLists(),this.notify()}searchNetLists(){if(this._tableSearceValue){let i=this._tableSearceValue.toUpperCase();this._filteredNetLists=Object.keys(this._netLists).reduce((o,r)=>(r.toUpperCase().includes(i)&&(o[r]=this._netLists[r]),o),{})}else this._filteredNetLists=null}toJSON(){return{unit:this.unit,commonOptions:this.commonOptions,testPointOptions:this.testPointOptions,netLists:this.convertNetsToArray()}}},sl=new TFt;var gg=L(z()),{locals:mJr}=SFt.default,dxo=t=>{Ae(SFt.default),Ce(sl);let e=be.bind(mJr),i=J(),o=t.FormItem,{operationType:r,layer:n,allowedWithinComponent:a,removeExisting:s,ignoreDRC:l}=sl.commonOptions,c=r=="Remove",d=(u,p)=>{sl.setCommonOptions(u,p)};return(0,gg.jsx)(gg.Fragment,{children:(0,gg.jsx)("div",{className:e("optionsComponent"),style:{width:"100%",overflow:"hidden"},children:(0,gg.jsxs)("div",{className:e("container"),children:[(0,gg.jsx)("div",{className:e("options"),"data-test":"Options",children:(0,gg.jsx)("span",{children:i("Option")})}),(0,gg.jsxs)("div",{className:e("content"),style:{display:"flex",flexDirection:"column"},children:[(0,gg.jsx)(o,{title:i("Operation Type"),children:(0,gg.jsxs)($i,{dataTest:"operationType",value:r,gap:0,subRadioStyle:{paddingLeft:"16px"},translate:!1,onChange:u=>d("operationType",u),children:[(0,gg.jsx)(nn,{value:"Add",children:i("Add")}),(0,gg.jsx)(nn,{value:"Remove",children:i("Remove")})]})}),(0,gg.jsx)(o,{title:i("Layer"),children:(0,gg.jsxs)($i,{dataTest:"layer",value:n,gap:0,subRadioStyle:{paddingLeft:"16px"},translate:!1,onChange:u=>d("layer",u),children:[(0,gg.jsx)(nn,{value:"All",style:{paddingLeft:"39px"},children:i("All")}),(0,gg.jsx)(nn,{value:"Only Top",children:i("Only Top")}),(0,gg.jsx)(nn,{value:"Only Bottom",children:i("Only Bottom")})]})}),(0,gg.jsxs)("div",{className:e("checkBoxContainer"),children:[(0,gg.jsx)(qt,{dataTest:"allowedWithinComponent",checked:a,disabled:c,onChange:u=>d("allowedWithinComponent",u),children:i("AllowedWithinComponent")}),(0,gg.jsx)(qt,{dataTest:"removeExisting",checked:s,disabled:c,onChange:u=>d("removeExisting",u),children:i("Remove existing test points and regenerate")}),(0,gg.jsx)(qt,{dataTest:"ignoreDRC",checked:l,disabled:c,onChange:u=>d("ignoreDRC",u),children:i("ignoreDRC")})]})]})]})})})};var uxo=L(Se());var MFt=L(rle());var Dd=L(z()),{locals:hJr}=MFt.default,pxo=t=>{Ae(MFt.default),Ce(sl);let e=be.bind(hJr),i=J(),o=mt.getLanguage()=="en",r=t.FormItem,{singleLayer:n,numberPrefix:a,shape:s,rotationAngle:l,isFollowRule:c}=sl.testPointOptions,{operationType:d}=sl.commonOptions,u=d=="Remove",[p,m]=(0,uxo.useState)(l),h=(b,y)=>{sl.setTestPointOptions(b,y)},f=(b,y)=>{let{width:w,height:x,ratio:S,diaMeter:T,holeDiaMeter:M,isFollowRule:I}=y,A=i("Follow Rule"),E={width:{value:w,marginLeft:o?"78px":"71px"},height:{value:x,marginLeft:o?"74px":"71px"},ratio:{value:S,marginLeft:o?"0px":"23px"},diaMeter:{value:T,marginLeft:"59px"},holeDiaMeter:{value:M,marginLeft:o?"38px":"35px"},solder:{value:y.solder,marginLeft:o?"32px":"36px"},paste:{value:y.paste,marginLeft:"36px"},topSolder:{value:y.topSolder,marginLeft:o?"52px":"13px"},bottomSolder:{value:y.bottomSolder,marginLeft:o?"33px":"13px"}}[b]||{value:"",marginLeft:"0px"},N=I&&["solder","paste","topSolder","bottomSolder"].includes(b);return{value:N?A:E.value,marginLeft:E.marginLeft,disabled:N}},g=(b,y,w)=>{let{value:x,marginLeft:S,disabled:T}=f(w,b.testPointOptions);return(0,Dd.jsxs)("div",{className:e("flex"),children:[(0,Dd.jsxs)("span",{children:[i(y),"\uFF1A"]}),(0,Dd.jsx)(or,{style:{width:"40%",marginLeft:S},value:x,disabled:T||u,inputUnit:b.unit,onChange:M=>h(w,M)})]})};return(0,Dd.jsx)(Dd.Fragment,{children:(0,Dd.jsx)("div",{className:e("testPointComponent"),style:{width:"100%",overflow:"hidden"},children:(0,Dd.jsxs)("div",{className:e("tp-container"),children:[(0,Dd.jsx)("div",{className:e("tp-options"),"data-test":"TestPointAttributes",children:(0,Dd.jsx)("span",{children:i("Test Point Property")})}),(0,Dd.jsxs)("div",{className:e("tp-content"),children:[(0,Dd.jsxs)($i,{dataTest:"layer",value:n?"single":"multi",gap:16,subRadioStyle:{paddingLeft:"16px"},translate:!1,disabled:u,onChange:b=>h("singleLayer",b=="single"),children:[(0,Dd.jsx)(nn,{value:"single",children:i("Single")}),(0,Dd.jsx)(nn,{value:"multi",children:i("Multi")})]}),(0,Dd.jsxs)("div",{className:e("flex"),children:[(0,Dd.jsxs)("span",{children:[i("NumberPrefix"),"\uFF1A"]}),(0,Dd.jsx)(Kt,{value:a,disabled:u,style:{width:"40%",marginLeft:o?"37px":"35px"},onChange:b=>h("numberPrefix",b)})]}),(0,Dd.jsxs)("div",{className:e("flex"),children:[(0,Dd.jsxs)("span",{children:[i("Shape"),"\uFF1A"]}),(0,Dd.jsx)(xt,{containerStyle:{width:"40%",marginLeft:o?"74px":"59px"},value:s,disabled:u,list:[{value:"ELLIPSE",text:i("Circle")},{value:"RECT",text:i("Rect")},{value:"OVAL",text:i("Oval")}],onChange:b=>h("shape",b)})]}),s==="ELLIPSE"&&g(sl,"Diameter","diaMeter"),s==="RECT"&&(0,Dd.jsxs)(Dd.Fragment,{children:[g(sl,"Width","width"),g(sl,"Height","height"),g(sl,"Corner Radius Ratio","ratio")]}),s==="OVAL"&&(0,Dd.jsxs)(Dd.Fragment,{children:[g(sl,"Width","width"),g(sl,"Height","height")]}),(0,Dd.jsxs)("div",{className:e("flex"),children:[(0,Dd.jsxs)("span",{children:[i("Rotation"),":"]}),(0,Dd.jsx)(Kt,{style:{width:"40%",marginLeft:o?"73px":"44px"},value:p,disabled:u,onChange:b=>m(b),onBlur:()=>{if(isNaN(Number(p))){m("0"),h("rotationAngle","0");return}h("rotationAngle",p)}})]}),!n&&g(sl,"holeDiaMeter","holeDiaMeter"),(0,Dd.jsx)(r,{title:i("Solder/Paste Mask Expansion"),children:(0,Dd.jsxs)($i,{dataTest:"Unit",value:c?"Rule":"Custom",gap:0,style:{paddingBottom:"4px"},disabled:u,translate:!1,onChange:b=>h("isFollowRule",b=="Rule"),children:[(0,Dd.jsx)(nn,{value:"Rule",style:{paddingLeft:"18px"},children:i("Fellow Rule")}),(0,Dd.jsx)(nn,{value:"Custom",style:{paddingLeft:"10px"},children:i("Custom")})]})}),n?(0,Dd.jsxs)(Dd.Fragment,{children:[g(sl,"Solder Mask Expansion","solder"),g(sl,"Paste Mask Expansion","paste")]}):(0,Dd.jsxs)(Dd.Fragment,{children:[g(sl,"Top Solder","topSolder"),g(sl,"Bottom Solder","bottomSolder")]})]})]})})})};var IFt=L(rle());var AW=L(z()),fJr=()=>{let t=J();return Ce(sl),(0,AW.jsxs)("div",{className:"input-wrap",children:[(0,AW.jsxs)("span",{style:{flexShrink:"0",height:"24px",lineHeight:"24px"},children:[t("RequiredQuantity"),"\uFF1A"]}),(0,AW.jsx)(Kt,{type:"text",value:sl.quantity,onChange:e=>{sl.quantity=e}})]})},{locals:gJr}=IFt.default,mxo=()=>{Ce(sl),Ae(IFt.default);let t=be.bind(gJr),e=J(),i=sl.convertNetsToArray(),o=i.every(n=>!n.checked),r=()=>{o||le.open({id:"setQuantity",title:e("SetQuantity"),width:248,closed:!0,remove:!0,children:(0,AW.jsx)(fJr,{}),footer:!0,onCancel:()=>{le.close("setQuantity")},onOk:()=>{i.forEach(n=>{n.checked&&(n.requiredQuantity=Number(sl.quantity))}),sl.parseNets(i),le.close("setQuantity")}})};return(0,AW.jsxs)("div",{className:t("filter-component"),style:{display:"flex",height:"30px"},children:[(0,AW.jsx)(Ws,{placeholder:e("Filter"),initShowValue:sl.tableSearceValue,onUpdateInputValue:n=>{sl.tableSearceValue=n.trim()}}),(0,AW.jsx)(Me,{class:t("filter-component-btn"),dataTest:"SetQuantity",style:{height:"24px",lineHeight:"24px",marginLeft:"4px"},disabled:o,onClick:r,children:e("SetQuantity")})]})};var LFt=L(rle());var gL=L(z()),bJr="id",{locals:yJr}=LFt.default,hxo=()=>{Ae(LFt.default),Ce(sl);let t=be.bind(yJr),e=J(),i=mt.getLanguage()=="en",o=sl.convertNetsToArray(),r=o.every(c=>c.checked),n=[{key:"checked",name:e("Priority"),width:.2,nameRender(){return(0,gL.jsx)(qt,{checked:r,onChange:c=>{o.forEach(d=>d.checked=c),sl.parseNets(o)}})},render(c){var d;return(0,gL.jsx)(qt,{checked:(d=c.row)==null?void 0:d.checked,onChange:u=>{var p;sl.setNetLists((p=c.row)==null?void 0:p.net,"checked",u)}})}},{key:"net",name:e("Net"),sortable:!0,width:.5},{key:"requiredQuantity",name:e("RequiredQuantity"),width:.3,i18n:!0,editable:!0}],a="18px 18px 21px 18px",l=(c=>{switch(c){case"ELLIPSE":return 360;case"RECT":return 420;default:return 390}})(sl.testPointOptions.shape)+(sl.testPointOptions.singleLayer?0:30)+(i?24:0);return(0,gL.jsx)(gL.Fragment,{children:(0,gL.jsx)("div",{style:{width:"100%"},children:(0,gL.jsxs)("div",{className:t("net-container"),style:{padding:a},children:[(0,gL.jsx)("div",{className:t("applyScope"),"data-test":"ApplyScope",children:(0,gL.jsx)("span",{children:e("Range")})}),(0,gL.jsxs)("div",{className:"content",style:{display:"flex",flexDirection:"column"},children:[(0,gL.jsx)(mxo,{}),(0,gL.jsx)(xi,{index:bJr,columns:n,rows:o,border:!0,height:l,openVirtualScroll:!0,onChange:c=>{sl.parseNets(c)}})]})]})})})};var DFt=L(rle());var fxo=L(Se());var vFt=L(rle());var nle=L(z()),{locals:wJr}=vFt.default,gxo=t=>{let e=be.bind(wJr);Ae(vFt.default),Ce(sl);let i=J(),{dialogId:o}=t,[r,n]=(0,fxo.useState)(!1),a=async s=>{if(s==="cancel"){sl.closeDialog(),le.close();return}n(!0);let l=sl.toJSON();await oo({action:s,dialogId:o,formData:l});let{commonOptions:c,testPointOptions:d}=l;mt.setCacheObj("AutoPlaceTestPad",{commonOptions:c,testPointOptions:d}),await mt.saveToServer(),sl.closeDialog(),await le.close(),C.windowBridge.publish("closeDialogAndRebuildCopper","",await Ra()),setTimeout(()=>{n(!1)},1200)};return(0,nle.jsxs)(nle.Fragment,{children:[(0,nle.jsx)(Me,{type:"primary",class:"addTearDrop",style:{marginRight:"8px"},onClick:()=>a("confirm"),disabled:r,dataTest:"Generate",children:i("Generate")}),(0,nle.jsx)(Me,{dataTest:"Cancel",onClick:()=>a("cancel"),children:i("Cancel")})]})};var LE=L(z()),{locals:CJr}=DFt.default,xJr=t=>{let e=be.bind(CJr);Ae(DFt.default),Ce(sl);let{containerId:i,dialogId:o}=t,r=(0,bxo.useCallback)(n=>{let{title:a,children:s}=n;return(0,LE.jsxs)("div",{className:e("form-item"),children:[(0,LE.jsx)("span",{className:e("form-title"),title:a,children:`${a}:`}),n_(s,{className:e("form-content")},!0)]})},[]);return Bt(()=>{sl.closeDialog()}).close(i),(0,LE.jsxs)("div",{className:"pop-content-container tear-drop-dialog",children:[(0,LE.jsxs)("div",{className:"pop-content-wrapper",style:{overflow:"hidden"},children:[(0,LE.jsxs)("div",{style:{float:"left",width:"52%"},children:[(0,LE.jsx)(dxo,{FormItem:r}),(0,LE.jsx)(pxo,{FormItem:r})]}),(0,LE.jsx)("div",{style:{float:"left",width:"46.5%",marginLeft:"8px"},children:(0,LE.jsx)(hxo,{})})]}),(0,LE.jsx)("div",{className:"pop-footer-wrapper",children:(0,LE.jsx)(gxo,{dialogId:o})})]})},yxo=xJr;var Cxo=L(z());async function wxo(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;return await sl.initDialog(t),le.open({id:o,title:r,width:n,closed:a,esc:!0,folded:!1,children:(0,Cxo.jsx)(yxo,{containerId:o,dialogId:t.dialogId})}),{origin:"react"}}var Cee=L(Se());var EFt=L(Txo());var H4=L(z()),oF=be.bind(EFt.default.locals),Sxo=t=>{let{containerId:e}=t;Ae(EFt.default);let i=J(),[o,r]=(0,Cee.useState)("No"),[n,a]=(0,Cee.useState)("No"),s=(0,Cee.useRef)(null),l=async()=>{s.current&&clearTimeout(s.current),NC.fromCompontMaskSetStyle=!0,await Qc({menuSelected:"OBJECT"}),s.current=setTimeout(()=>{NC.fromCompontMaskSetStyle=!1},500)},c=async()=>{le.close(e),await et("enter_component_mask",{addIntoBom:o==="Yes",convertToPcb:n==="Yes"})};return Bt(({key:d})=>{d==="Enter"&&c()}).keyboard(e),(0,Cee.useEffect)(()=>{o==="Yes"?NC.addIntoBom=!0:NC.addIntoBom=!1},[o]),(0,Cee.useEffect)(()=>{n==="Yes"?NC.convertToPcb=!0:NC.convertToPcb=!1},[n]),(0,H4.jsxs)("div",{className:oF("container"),children:[(0,H4.jsxs)("div",{className:oF("content"),children:[(0,H4.jsxs)("div",{className:oF("content-item"),children:[(0,H4.jsxs)("span",{className:oF("title"),children:[i("Add into BOM"),":"]}),(0,H4.jsx)($i,{defaultValue:o,options:[{value:"Yes"},{value:"No"}],gap:16,onChange:d=>{r(d)}})]}),(0,H4.jsxs)("div",{className:oF("content-item"),children:[(0,H4.jsxs)("span",{className:oF("title"),children:[i("Convert to PCB"),":"]}),(0,H4.jsx)($i,{style:{marginLeft:"2px"},defaultValue:n,options:[{value:"Yes"},{value:"No"}],gap:16,onChange:d=>{a(d)}})]}),(0,H4.jsxs)("div",{className:oF("tips"),children:[(0,H4.jsx)("div",{children:i('You can select or box select the component after clicking\xA0"OK" button, and you can press the TAB key to popup current dialog.')}),(0,H4.jsx)("div",{children:i("Holding Shift key can temporarily change the setting rules.")})]})]}),(0,H4.jsxs)("div",{className:oF("footer"),children:[(0,H4.jsx)("div",{className:oF("footer-left"),children:(0,H4.jsx)(Me,{onClick:l,children:"Set Style"})}),(0,H4.jsxs)("div",{className:oF("footer-right"),children:[(0,H4.jsx)(Me,{type:"primary",onClick:c,children:"Confirm"}),(0,H4.jsx)(Me,{style:{marginLeft:"8px"},onClick:()=>{le.close(e)},children:"Cancel"})]})]})]})};var Ixo=L(z());async function Mxo(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a,mask:s,esc:l,folded:c}=i;return NC.fromCompontMaskSetStyle=!1,le.open({id:o,title:r,width:n,closed:a,children:(0,Ixo.jsx)(Sxo,{containerId:o}),mask:s,esc:l,folded:c}),le}var Art=L(Se()),Dxo=L(Vi());var ale=L(z()),TJr=function(t){let e=J(),{title:i,content:o}=t,r=i.value=="Project Title"?o.value:e(o.value),n={flex:"0 0 125px",textAlign:"left",wordBreak:"break-word",fontWeight:i.isBold?"bolder":400},a={width:"100%",paddingLeft:"25px",fontWeight:400};return(0,ale.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:{padding:"5px 0"},children:[(0,ale.jsx)("div",{title:e(i.value),style:n,children:(0,ale.jsx)("span",{"data-test":i.value,children:e(i.value)})}),(0,ale.jsx)("div",{title:r,style:a,children:(0,ale.jsx)("span",{"data-test":r,children:r})})]})},ive=TJr;var ove={createOuterListsTextString(t){let e="";return t.forEach((i,o)=>{e+=this.createInnerListsTextString(i)}),e},createInnerListsTextString(t){let e="";return t.forEach((i,o)=>{e+=this.createInnerListsItemTextString(i)+`\r
`}),e+`\r
`},createInnerListsItemTextString(t){let e=t.title||{},i=t.content||{};return`${me.i18n(String(e.value))}: 		${me.i18n(String(i.value))}`}};var rve=L(vxo());var xee=new um,Tee="performanceDiagnostics";var Ert=t=>{let e=document.getElementById(t);e&&e.remove()};var $u=L(z());var SJr=t=>{let e=J(),{containerId:i,data:o,pcbDataRes:r}=t;function n(V,G,Q=!0,H=!1){return{title:{isBold:Q,value:e(V)},content:{isBold:H,value:G}}}function a(V,G,Q){let H=V.length,q=be.bind(rve.default.locals);return Ae(rve.default),(0,$u.jsxs)("table",{className:q("common-table-wrpper"),style:{width:"100%"},children:[(0,$u.jsx)("thead",{children:(0,$u.jsx)("tr",{children:["Layer",...V].map((U,F)=>(0,$u.jsx)("th",{style:{width:1/(V.length+1)},children:e(U)}))})}),(0,$u.jsx)("tbody",{children:G.map((U,F)=>(0,$u.jsxs)("tr",{children:[(0,$u.jsx)("td",{children:e(U)}),V.map((K,te)=>{let ae=Q[F*H+te];return(0,$u.jsx)("td",{style:{width:1/(V.length+1)},children:ae})})]}))})]})}function s(V,G){let Q=G[0],H=be.bind(rve.default.locals);return Ae(rve.default),(0,$u.jsxs)("table",{className:H("common-table-wrpper"),style:{width:"100%"},children:[(0,$u.jsx)("thead",{children:(0,$u.jsx)("tr",{children:V.map((q,U)=>(0,$u.jsx)("th",{style:{width:1/V.length},children:e(q)}))})}),(0,$u.jsx)("tbody",{children:Q.map((q,U)=>(0,$u.jsx)("tr",{children:G.map((F,K)=>(0,$u.jsx)("td",{children:F[U]}))}))})]})}function l(V){let G=e(V);return G!=V&&is.lang!="en"?G.toString().length*2:G.toString().length}function c(V,G,Q){let H=V.length,q=new Array,U=l("Layer");for(let F of G)U=Math.max(U,l(F));q.push(U);for(let F=0;F<H;F++){let K=0;K=Math.max(K,l(V[F]));for(let te=0;te<G.length;te++){let ae=Q[te*H+F];K=Math.max(K,ae.toString().length)}q.push(K)}return q}function d(V,G){let Q=e(V);if(Q!=V)if(is.lang!="en"){let H=G-Q.toString().length;return Q.toString().padEnd(H," ")}else return Q.toString().padEnd(G," ");else return Q.toString().padEnd(G," ")}function u(V,G,Q){let H=c(V,G,Q),q=d("Layer",H[0]);q+=",";let U=V.length,F=0;for(let K of V)q+=d(K,H[F+1]),q+=",",F++;q+=`\r
`;for(let K=0;K<G.length;K++){let te=H[0];q+=d(G[K],te),q+=",";for(let ae=0;ae<U;ae++){let pe=Q[K*U+ae];q+=pe.toString().padEnd(H[ae+1]," "),q+=","}q+=`\r
`}return q}function p(V,G){var U;let Q=new Array;for(let F of G){let K=0;for(let te of F)K=Math.max(K,te.toString().length);Q.push(K)}for(let F=0;F<V.length;F++)Q[F]=Math.max(Q[F],V[F].toString().length);let H=((U=G[0])==null?void 0:U.length)||0,q="";for(let F=0;F<V.length;F++)q+=V[F].toString().padEnd(Q[F]," "),q+=",";q+=`\r
`;for(let F=0;F<H;F++){let K=0;for(let te of G)q+=te[F].toString().padEnd(Q[K]," "),q+=",",K++;q+=`\r
`}return q}let m=(0,Art.useRef)(null),h="",f=async V=>{var G;if(V==="export"){let Q=(G=Xo)==null?void 0:G.getValueFromCacheUser("username");Hme(m.current.value,`Performance_${r.display_title||"Project"}_${Q||""}_${Rs(new Date,"yyyy-MM-dd")}`);return}if(V==="copy"){m.current&&document.execCommand("copy")&&(m.current.select(),document.execCommand("copy"),De({type:"warn",msg:"Content copied to clipboard",timer:2.5}));return}await oo({action:V,dialogId:i,formData:{}}),le.close(i),window.setTimeout(Ert,0,i)},g=new Array,b=navigator.userAgent,y=navigator.plugins,w=new Array;if(y!=null){let V=0;for(;;){let G=y==null?void 0:y.item(V);if(G!=null)w.push(G==null?void 0:G.name);else break;V++}}let{availHeight:x,availWidth:S}=screen,T=window.devicePixelRatio,M=navigator.hardwareConcurrency;function I(){let V=document.createElement("canvas"),G=V.getContext("webgl")||V.getContext("experimental-webgl");if(!G){console.log("WebGL not supported.");return}let Q=G.getExtension("WEBGL_debug_renderer_info");if(!Q){console.log("WEBGL_debug_renderer_info extension not supported.");return}let H=G.getParameter(Q.UNMASKED_RENDERER_WEBGL),q=G.getParameter(Q.UNMASKED_VENDOR_WEBGL);return{GPU:H,VENDOR:q}}let{GPU:A,VENDOR:D}=I();g.push([n("System",b),n("Plugins",w.join(",")),n("Screen Info",`${S}X${x},${T}`),n("Core Processor",`${M}`),n("GPU",A.toString()),n("Supplier",D.toString())]);let E=(0,Dxo.default)('meta[name="editorMainDate"]').attr("content"),[N,R,v]=E.split("/"),k=C.lastestVersion,P=au.getCurrentVersion(),O=`${v}-${N}-${R}`,_=Xr?"JLCEDA Professional Edition":"EasyEDA Professional Edition",j="";wi?(_="JLCEDA Pro",Uw&&(j=` ${e("Client")}(${e("Full Online Mode")})`),Sb&&(j=` ${e("Client")}(${e("Full Offline Mode")})`),Af&&(j=` ${e("Client")}(${e("Half Offline Mode")})`)):j=e("Browser");let B=hn("SAVE");if(g.push([n("Editor",`${_},V${k||P},${O},${e(j)}`),n("Save Config",`${e("Auto save:")}(${B.isAutoSave}/${B.autoSaveMin}min),${e("Auto backup:")}(${B.isAutoBackup}/${B.autoBackupMin}min),${e("Maximum backup:")}(${B.autoBackupNum})`)]),(0,Art.useEffect)(()=>{xee.clearEvent("dialogFootBtnClicked",Tee),xee.on("dialogFootBtnClicked",({action:V})=>{f(V)},Tee)},[]),r.pcbName!=null){r.projectName!=null?g.push([n("PCB Information",`${r.projectName},${r.boardName},${r.pcbName}`),n("Borard Size",`${o.BoardSize||""}`)]):g.push([n("PCB Information",`${r.pcbName}`),n("Borard Size",`${o.BoardSize||""}`)]);let V=o.render||{};g.push([n("Engine",`${V.engine||""},fps(${V.fps||0}),${e("Object")}(${V.ptNum||0})`)]);let G=o.realTimeInfo||{},Q=new Array;for(let ne in G)Q.push(n(ne,G[ne]));g.push(Q);let H=n(`${e("Layer")}/${e("Primitive")}`,""),q=o.LayerAndShape||{},U=q.rowKeys||[],F=q.colKeys||[],K=q.data||[],te=n("Network primitives",""),ae=o.net||{},pe=ae.nets||[],Z=ae.colors||[],ee=ae.counts||[];h=ove.createOuterListsTextString(g),h=h+ove.createInnerListsItemTextString(H)+`\r
`+u(U,F,K)+`\r
`+ove.createInnerListsItemTextString(te)+`\r
`+p(["Net","Net Color...","Total"],[pe,Z,ee]);let ce=0;return(0,$u.jsx)("div",{className:"pop-content-container",children:(0,$u.jsxs)("div",{className:"pop-content-wrapper",style:{overflowY:"auto"},children:[g.map(ne=>(0,$u.jsx)("div",{style:{padding:"10px 0"},children:ne.map(oe=>(0,$u.jsx)(ive,{title:oe.title,content:oe.content},ce++))})),(0,$u.jsxs)("div",{children:[(0,$u.jsx)(ive,{title:H.title,content:H.content}),(0,$u.jsxs)("div",{children:[" ",a(U,F,K)]})]}),(0,$u.jsxs)("div",{children:[(0,$u.jsx)(ive,{title:te.title,content:te.content}),(0,$u.jsxs)("div",{children:[" ",s(["Net","Net Color...","Total"],[pe,Z,ee])]})]}),(0,$u.jsx)("textarea",{ref:m,name:"performanceTextarea",value:h,style:{width:"100%",height:"100%",position:"absolute",left:"-10000px",top:"-10000px"},children:h})]})})}else return h=ove.createOuterListsTextString(g),(0,$u.jsx)("div",{className:"pop-content-container",children:(0,$u.jsxs)("div",{className:"pop-content-wrapper",children:[g.map(V=>(0,$u.jsx)("div",{style:{padding:"10px 0"},children:V.map(G=>(0,$u.jsx)(ive,{title:G.title,content:G.content}))})),(0,$u.jsx)("textarea",{ref:m,name:"performanceTextarea",value:h,style:{width:"100%",height:"100%",position:"absolute",left:"-10000px",top:"-10000px"},children:h})]})})},Exo=SJr;var dbe=L(z());function Axo(){let t=e=>{xee.emit("dialogFootBtnClicked",{action:e},Tee)};return(0,dbe.jsxs)("div",{style:{padding:"15px 0 0 0"},children:[(0,dbe.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>t("export"),children:"Export"}),(0,dbe.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>t("copy"),children:"Copy"}),(0,dbe.jsx)(Me,{onClick:()=>t("cancel"),children:"Cancel"})]})}var AFt=L(z());async function Nxo(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;return xee.clearNameSpace(Tee),le.open({id:o,title:r,width:n,footer:(0,AFt.jsx)(Axo,{}),closed:a,esc:!0,folded:!1,centered:!0,children:(0,AFt.jsx)(Exo,{containerId:o,data:t.data,pcbDataRes:t.pcbDataRes}),onClose:()=>{xee.clearNameSpace(Tee),window.setTimeout(Ert,0,o)}}),{origin:"react"}}var Xl=L(z()),ube=class t extends qe{constructor(){super(...arguments);this.refPoint={x:0,y:0};this.confirm=()=>{le.close(this.id),C.messageBus.publish("schMoveConfirm",this.getEndPoint())};this.cancel=()=>{le.close(this.id)};this.preview=()=>{C.messageBus.publish("schMovePreview",this.getEndPoint())};this.moveType="relative";this.moveTypeOptions=[{value:"relative",label:"Relative Move"},{value:"absolute",label:"Absolute Position"}];this.onXYChange=(i,o)=>{let r=Vo(),n=yd(String(i),r),a=new ws(n,r);o==="x"?this.x=a.toJSON():o==="y"&&(this.y=a.toJSON())};this.main=()=>{let i=J();return Ce(this),(0,Xl.jsx)("div",{style:{width:"100%",height:"100%",padding:"16px",border:"1px solid var(--common-border-color)",boxSizing:"border-box"},children:(0,Xl.jsxs)("div",{className:"hasborder",children:[(0,Xl.jsx)("div",{className:"wrapper-ul",children:(0,Xl.jsxs)("div",{className:"content-layer",style:{display:"flex",alignItems:"center"},children:[(0,Xl.jsxs)("div",{className:"layer-title attr-title",style:{width:"76px",textAlign:"left"},children:[(0,Xl.jsx)("span",{"data-test":"The Origin Position of Reference Point",children:i("The Origin Position of Reference Point")}),":"]}),(0,Xl.jsx)("ul",{className:"layer-main",children:(0,Xl.jsx)("div",{className:"inline-content",style:{alignItems:"center"},children:(0,Xl.jsxs)("div",{style:{display:"flex",gap:"6px",alignItems:"center"},children:[[this.refPoint.x,this.refPoint.y].map(o=>{let r=Vo(),n=new ws(io(o,"px",r),r).toString();return(0,Xl.jsx)(Kt,{disabled:!0,value:n})}),(0,Xl.jsx)("div",{style:{color:"#1890ff",fontSize:"12px",cursor:"pointer",lineHeight:1}})]})})})]})}),(0,Xl.jsx)("div",{className:"wrapper-ul",children:(0,Xl.jsxs)("div",{className:"content-layer",style:{paddingTop:"16px",display:"flex",alignItems:"center"},children:[(0,Xl.jsxs)("div",{className:"layer-title attr-title",style:{width:"76px",textAlign:"left"},children:[(0,Xl.jsx)("span",{"data-test":"Move Type",children:i("Move Type")}),":"]}),(0,Xl.jsx)("ul",{className:"layer-main",children:(0,Xl.jsx)("div",{className:"inline-content",style:{alignItems:"center"},children:(0,Xl.jsx)($i,{style:{width:"100%"},value:this.moveType,gap:0,subRadioStyle:o=>({display:"inline-block",width:"33.3333%"}),translate:!0,onChange:o=>{this.setMoveType(o)},options:this.moveTypeOptions})})})]})}),(0,Xl.jsx)("div",{className:"wrapper-ul",children:(0,Xl.jsxs)("div",{className:"content-layer",style:{paddingTop:"16px",display:"flex",alignItems:"center"},children:[(0,Xl.jsxs)("div",{className:"layer-title attr-title",style:{width:"76px",textAlign:"left"},children:[(0,Xl.jsx)("span",{"data-test":"X",children:"X"}),":"]}),(0,Xl.jsx)("ul",{className:"layer-main",children:(0,Xl.jsx)("div",{className:"inline-content",style:{alignItems:"center"},children:(0,Xl.jsx)("div",{style:{width:"180px"},children:(0,Xl.jsx)(E1,{value:+this.x.value,unit:this.x.unit,onChange:o=>{this.onXYChange(o,"x")}})})})})]})}),(0,Xl.jsx)("div",{className:"wrapper-ul",children:(0,Xl.jsxs)("div",{className:"content-layer",style:{paddingTop:"16px",display:"flex",alignItems:"center"},children:[(0,Xl.jsxs)("div",{className:"layer-title attr-title",style:{width:"76px",textAlign:"left"},children:[(0,Xl.jsx)("span",{"data-test":"Y",children:"Y"}),":"]}),(0,Xl.jsx)("ul",{className:"layer-main",children:(0,Xl.jsx)("div",{className:"inline-content",style:{alignItems:"center"},children:(0,Xl.jsx)("div",{style:{width:"180px"},children:(0,Xl.jsx)(E1,{value:+this.y.value,unit:this.y.unit,onChange:o=>{this.onXYChange(o,"y")}})})})})]})})]})})};this.footer=()=>(0,Xl.jsxs)("footer",{className:"netlabel-tab-footer",style:{width:"100%",display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,Xl.jsx)("div",{children:(0,Xl.jsx)(Me,{class:"confirm-btn",onClick:this.preview,style:{marginRight:"16px"},children:"Preview"})}),(0,Xl.jsxs)("div",{children:[(0,Xl.jsx)(Me,{type:"primary",class:"confirm-btn",onClick:this.confirm,style:{marginRight:"16px"},children:"Confirm"}),(0,Xl.jsx)(Me,{class:"cancel-btn",onClick:this.cancel,children:"Cancel"})]})]})}static get instance(){return this._instance||(this._instance=new t)}modifyRefPoint(){le.close(this.id),C.messageBus.publish("schMoveModifyRefPoint")}setMoveType(i){this.moveType=i,this.notify()}init(i,o){this.id=i,this.refPoint=o,this._x=_m(new ws(0,"inch"),Vo()).toJSON(),this._y=_m(new ws(0,"inch"),Vo()).toJSON()}get x(){return this._x}set x(i){this._x=i}get y(){return this._y}set y(i){this._y=i}getEndPoint(){let i={x:0,y:0},o=io(this.x.value,this.x.unit,"px"),r=io(this.y.value,this.x.unit,"px");return this.moveType==="relative"?(i.x=this.refPoint.x+o,i.y=this.refPoint.y+r):this.moveType==="absolute"&&(i.x=o,i.y=r),i}};async function nve(t){let e=bt["sch-move-tab"],{containerId:i,title:o,width:r,height:n,closed:a}=e,{refPoint:s}=t;ube.instance.init(i,s),le.open({id:i,title:o,width:r,closed:a,centered:!0,openCallback(){},footer:(0,Xl.jsx)(ube.instance.footer,{}),folded:!0,children:(0,Xl.jsx)(ube.instance.main,{}),esc:!0,onKeyup(l){l.key==="Enter"&&setTimeout(()=>{ube.instance.confirm()})}})}var Pxo=L(Se());var PFt=L(NFt());var dNd=L(NFt()),xx=L(z()),ave=be.bind(PFt.default.locals),kFt="CreartNewSimulation",MJr=t=>{let{cmd:e,args:i}=t,o=!0,r=["Simulide  (Entry-level simulation, supporting real-time analysis)","NGspice  (Advanced simulation, supporting various analyses such as transient and AC)"],[n,a]=(0,Pxo.useState)(r[0]),s=je()||!o;Ae(PFt.default);let l=J(),c=p=>{a(p.target.value)},d=()=>{n===r[1]?(C.messageBus.publish("doCommand",["new_ngspice",i]),le.close(kFt)):n===r[0]&&(C.messageBus.publish("doCommand",["new_simulide",i]),le.close(kFt))},u=()=>{let p=C.HelpURL.sim_introduction,m=window.open(p,"_blank");m==null||m.focus(),le.close(kFt)};return(0,xx.jsxs)(xx.Fragment,{children:[(0,xx.jsx)("div",{className:ave("modal-container"),children:(0,xx.jsxs)("div",{className:ave("content-wrapper"),children:[(0,xx.jsxs)("div",{className:ave("content"),children:[(0,xx.jsx)("span",{className:ave("messager-warning messager-icon")}),(0,xx.jsx)("span",{style:{fontSize:"12px"},children:l("Please select the corresponding engine according to the type of analysis")})]}),(0,xx.jsx)("div",{className:ave("radio-group"),children:r.map((p,m)=>(0,xx.jsxs)("div",{children:[(0,xx.jsx)("input",{type:"radio",id:`engine${m}`,name:"engine",value:p,checked:n===p,onChange:c}),(0,xx.jsx)("label",{htmlFor:`engine${m}`,children:l(p)})]},m))})]})}),(0,xx.jsxs)("div",{style:{display:"flex",gap:"10px",justifyContent:"flex-end",marginTop:"10px"},children:[(0,xx.jsx)(Me,{onClick:u,children:"look for Engine introduct"}),(0,xx.jsx)(Me,{disabled:s,type:"primary",onClick:()=>{d()},children:"Confirmation"})]})]})},Oxo=MJr;var _xo=L(z());async function Rxo(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s,mask:l,esc:c}=i;return le.open({id:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,children:(0,_xo.jsx)(Oxo,{cmd:t.Cmd,args:t.Args})}),le}var e0=L(Se());var _Ft=L(Bxo());var krt=[".lib",".sub",".txt"],zxo=[".zip"],F5={"":"",A:"A",B:"B",C:"C",D:"D",E:"E",F:"F",G:"G",H:"H",I:"I",J:"J",K:"K",L:"L",M:"M",N:"N",O:"O",P:"P",Q:"Q",R:"R",S:"S",T:"T",U:"U",V:"V",W:"W",X:"X",Y:"Y",Z:"Z",Probe:"Probe",XAM:"XAM",GND:"GND"},Fxo={"":"","And Gate":"And Gate",BcdToDec:"BcdToDec",BcdTo7S:"BcdTo7S",Battery:"Battery",Buffer:"Buffer",BJT:"BJT",Capacitor:"Capacitor",Clock:"Clock",Counter:"Counter",Csource:"Csource","Current Source":"Current Source",DecToBcd:"DecToBcd",Demux:"Demux",Diac:"Diac",Diode:"Diode","Fixed Volt":"Fixed Volt","Fixed Voltage":"Fixed Voltage",FlipFlopD:"FlipFlopD",FlipFlopJK:"FlipFlopJK",FlipFlopRS:"FlipFlopRS",FlipFlopT:"FlipFlopT",FullAdder:"FullAdder",Ground:"Ground",Inductor:"Inductor",Lamp:"Lamp",LatchD:"LatchD",Led:"Led",Lm555:"Lm555",Mosfet:"Mosfet",Mux:"Mux",MuxAnalog:"MuxAnalog","Or Gate":"Or Gate",opAmp:"opAmp",Probe:"Probe","Probe-Wire":"Probe-Wire",Potentiometer:"Potentiometer",Push:"Push",Rail:"Rail",Resistor:"Resistor","7-Seg BCD":"7-Seg BCD",SCR:"SCR","Seven Segment":"Seven Segment",ShiftReg:"ShiftReg",Subcircuit:"Subcircuit",Switch:"Switch",Transformer:"Transformer",Triac:"Triac",WaveGen:"WaveGen",Wire:"Wire","Xor Gate":"Xor Gate",Zener:"Zener"};var sve=class{static parse(e){let i=[],o=[],r=null,n=null,a=!1,s=!1,l=e.split(/\r?\n|\r/);for(let c of l){let d=c.replace(/\s*[\*;].*$/,"").replace(/^[ \t]+/,"").replace(/[ \t]+$/,"");if(d){if(/^\.MODEL\s+/i.test(d)){r&&i.push(r);let u=this._parseModelLine(d);r={name:u.name,type:u.type,category:this._determineCategory(u.type),pins:this._determinePins(u.type),parameters:{...u.params},technologyNode:null},s=u.inParens,a=!0;continue}else if(/^\.SUBCKT\s+/i.test(d)){let u=this._parseSubcktStart(d);return n={type:"SUBCKT",category:this._determineCategory("SUBCKT"),name:u.name,pins:u.pins},o.push(n),o}if(a&&r){if(s&&d.includes(")")&&(s=!1,a=!1),a){let u=this._parseParameters(d,s);Object.assign(r.parameters,u);let p=/([\d.]+)(n|u|µ|p)?m\b/i.exec(d);if(p){let m=parseFloat(p[1]),h=(p[2]||"u").toLowerCase();h==="n"?m*=1:h==="p"&&(m*=.001),r.technologyNode=m<100?`${m}nm`:`${m}um`}}!s&&!/^\s*\+/.test(d)&&(a=!1);continue}}}return r&&i.push(r),i.map(c=>{if(!c.technologyNode&&c.parameters.VTH0){let d=Math.abs(parseFloat(c.parameters.VTH0));d<.35?c.technologyNode="5-16nm":d<.5?c.technologyNode="22-28nm":d<.7?c.technologyNode="45-65nm":c.technologyNode=">90nm"}return c})}static _parseModelLine(e){let i=e.replace(/^\.model\s+/i,"").trim(),o=[],r="",n=!1,a="";for(let d=0;d<i.length;d++){let u=i[d];if(['"',"'"].includes(u)){n?u===a&&(n=!1,o.push(`"${r}"`),r=""):(n=!0,a=u,r="");continue}if(!n&&/\s/.test(u)){r&&o.push(r),r="";continue}r+=u}if(r&&o.push(r),o.length<2)throw new Error(`\u65E0\u6548\u7684\u6A21\u578B\u5B9A\u4E49: ${e}`);let s=o[1].toUpperCase();o.some(d=>d.includes("("))&&o[2]&&(s=o[1],o.splice(1,1));let c={name:o[0],type:s.replace(/\(.*$/,"").toUpperCase(),params:{},inParens:!1};if(o.slice(1).join(" ").includes("(")){c.inParens=!0;let d=o.slice(1).join(" ").replace(/^.*?\(/,"").replace(/\s*\)$/,""),u=this._parseParameters(d,!0);Object.assign(c.params,u)}return c}static _parseParameters(e,i){let o=e.trim().replace(/^\(/,"").replace(/\);?$/,""),r={},n="",a=!1,s="",l=0;for(let c=0;c<o.length;c++){let d=o[c];if(['"',"'"].includes(d)&&(a?d===s&&(a=!1,s=""):(a=!0,s=d)),!a&&(d==="("||d===")")&&(l+=d==="("?1:-1,l<0&&(l=0)),!a&&l===0&&(d===" "||c===o.length-1)){c===o.length-1&&(n+=d);let[u,p]=this._splitParam(n);u&&(r[u.toUpperCase()]=this._parseValue(p)),n="";continue}n+=d}return r}static _splitParam(e){let i=e.match(/(\w+)\s*=\s*(["'].+?["'])/);if(i)return[i[1],i[2]];let o=e.match(/(\w+)\s+([-+]?\d*\.?\d+(?:[eE][-+]?\d+)?\s*[a-zA-Z]?)/);if(o&&!e.includes("="))return[o[1],o[2]];let r=e.indexOf("=");if(r!==-1){let n=e.slice(0,r).trim(),a=e.slice(r+1).trim();return[n,a]}return e.trim()?[e,"true"]:[null,null]}static _parseValue(e){var o;if(/^["'].*["']$/.test(e))return e.slice(1,-1);let i=e.match(/^([-+]?\d+\.?\d*)(?:[eE]([-+]?\d+))?\s*([a-zA-Z]+)?$/);if(i){let r=parseFloat(i[1]||"0"),n=i[2]&&parseInt(i[2])||0,a=(o=i[3])==null?void 0:o.toLowerCase(),s={f:1e-15,p:1e-12,n:1e-9,u:1e-6,\u03BC:1e-6,m:.001,k:1e3,meg:1e6,g:1e9,t:1e12},l=Math.pow(10,n);return a&&s[a]&&(l*=s[a]),r*l}return e==="1"||e.toUpperCase()==="TRUE"?!0:e==="0"||e.toUpperCase()==="FALSE"?!1:e}static _determineCategory(e){switch(e.toLowerCase()){case"npn":case"pnp":return F5.Q;case"pjf":case"njf":return F5.J;case"nmf":case"pmf":return F5.Z;case"nmos":case"pmos":return F5.M;case"d":return F5.D;case"r":return F5.R;case"c":return F5.C;case"l":return F5.L;case"subckt":return F5.X;case"gain":case"summer":case"mult":case"divide":case"limit":case"climit":case"pwl":case"pwlts":case"filesource":case"multi_input_pwl":case"aswitch":case"pswitch":case"zener":case"sidiode":case"ilimit":case"hyst":case"d_dt":case"int":case"s_xfer":case"cm_xfer":case"slew":case"lcouple":case"core":case"sine":case"triangle":case"square":case"oneshot":case"cmeter":case"lmeter":case"memristor":case"table2d":case"table3D":case"delay":case"potentiometer":case"dac_bridge":case"adc_bridge":case"bidi_bridge":case"d_osc":case"d_pwm":case"d_buffer":case"d_inverter":case"d_and":case"d_nand":case"d_or":case"d_nor":case"d_xor":case"d_xnor":case"d_tristate":case"d_pullup":case"d_pulldown":case"d_dff":case"d_jkff":case"d_tff":case"d_srff":case"d_dlatch":case"d_srlatch":case"d_state":case"d_fdiv":case"d_ram":case"d_source":case"d_lut":case"d_genlut":case"d_process":case"d_cosim":return F5.A;default:return""}}static _determinePins(e){switch(e.toLowerCase()){case"npn":case"pnp":return["C","B","E"];case"njf":case"pjf":case"nmf":case"pmf":return["D","G","S"];case"nmos":case"pmos":return["D","G","S","B"];case"b":case"c":case"d":case"i":case"l":case"r":case"v":case"w":return["+","-"];case"e":case"g":case"s":return["OUT1","OUT2","CNTL1","CNTL2"];case"f":case"h":return["OUT1","OUT2","VNAME"];case"t":case"o":return["IN1","IN2","OUT1","OUT2"];case"k":return["KXX","LXX"];case"u":return["IN1","OUT1","GND"];case"y":return["IN1","GND","OUT1"];case"p":return["IN1","IN2","IN3","IN4","IN5","IN6","IN7","IN8"];case"gain":case"pwl":case"hyst":case"d_dt":case"int":case"s_xfer":case"cm_xfer":case"slew":case"cmeter":case"lmeter":case"d_buffer":case"d_inverter":return["IN1","OUT1"];case"divide":case"limit":return["IN1","IN2","OUT1"];case"summer":case"mult":case"d_and":case"d_nand":case"d_or":case"d_nor":case"d_xor":case"d_xnor":return["IN1_VE","IN2_VE","OUT1"];case"climit":return["IN1","IN1_CNTL_UPPER","IN1_CNTL_LOWER","OUT1"];case"pwlts":case"d_pullup":case"d_pulldown":return["OUT1"];case"multi_input_pwl":return["IN1_VE","IN2_VE","IN3_VE","IN4_VE","OUT1","OUT2"];case"aswitch":return["CNTL_IN1","OUT1_GD","OUT2_GD"];case"pswitch":return["CNTL_IN1_GD","CNTL_IN2_GD","OUT1_GD","OUT2_GD"];case"zener":return["Z1_GD","Z2_GD"];case"ilimit":return["IN1","POS_PWR","NWG_PWR","OUT1"];case"lcouple":return["L1_HD","L2_HD","MMF_OUT1_HD","MMF_OUT2_HD"];case"core":return["MC1_GD","MC2_GD"];case"sine":case"triangle":case"square":case"d_osc":case"d_pwm":return["CNTL_IN1","OUT1"];case"oneshot":return["IN1","IN2","CLEAR","OUT1"];case"memristor":return["MEMRIS1_GD","MEMRIS2_GD"];case"table2d":return["INX","INY","OUT1"];case"table3d":return["INX","INY","INZ"];case"sidiode":return["DS1_GD","DS2_GD"];case"delay":return["IN1","OUT1","CNTRL"];case"potentiometer":return["R0","WIPER","R1"];case"dac_bridge":case"adc_bridge":return["IN1_VE","OUT1_VE"];case"bidi_bridge":return["A_VE","D_VE","DIR_VE"];case"d_tristate":return["IN1","ENABLE","OUT1"];case"d_dff":return["DATA","CLK","SET","RESET","OUT1","NOUT1"];case"d_jkff":return["J","K","CLK","SET","RESET","OUT1","NOUT1"];case"d_tff":return["T","CLK","SET","RESET","OUT1","NOUT1"];case"d_srff":return["S","R","CLK","SET","RESET","OUT1","NOUT1"];case"d_dlatch":return["DATA","ENABLE","SET","RESET","OUT1","NOUT1"];case"d_srlatch":return["S","R","ENABLE","SET","RESET","OUT1","NOUT1"];case"d_state":return["IN1_VE","IN2_VE","IN3_VE","IN4_VE","CLK","RESET","OUT1_VE","OUT2_VE","OUT3_VE","OUT4_VE","OUT5_VE","OUT6_VE","OUT7_VE","OUT8_VE"];case"d_fdiv":return["FREQ_IN1","FREQ_OUT1"];case"d_ram":return["DATA_IN1_VE","DATA_IN2_VE","DATA_IN3_VE","DATA_IN4_VE","DATA_OUT1_VE","DATA_OUT2_VE","DATA_OUT3_VE","DATA_OUT4_VE","ADDRESS1_VE","ADDRESS2_VE","ADDRESS3_VE","ADDRESS4_VE","ADDRESS5_VE","ADDRESS6_VE","ADDRESS7_VE","ADDRESS8_VE","WRITE_EN","SELECT1_VE","SELECT2_VE","SELECT3_VE"];case"d_source":return["OUT1_VE","OUT2_VE","OUT3_VE","OUT4_VE","OUT5_VE","OUT6_VE","OUT7_VE","OUT8_VE","OUT9_VE","OUT10_VE","OUT11_VE","OUT12_VE","OUT13_VE","OUT14_VE","OUT15_VE","OUT16_VE"];case"d_lut":return["IN1_VE","IN2_VE","IN3_VE","IN4_VE","OUT1"];case"d_process":return["IN1_VE","CLK","RESET","OUT1_VE","OUT2_VE","OUT3_VE","OUT4_VE"];case"d_cosim":return["D_IN1_VE","D_OUT1_VE","D_INOUT1_VE"];default:return[]}}static _parseSubcktStart(e){let i=e.replace(/^\.SUBCKT\s+/i,"").trim(),o=[],r=[];o=i.split(/\s+/);for(let a=1;a<o.length;a++){let s=o[a];if(s.includes("=")){let l=r[r.length-1];l&&o[a]==="="&&l===o[a-1]&&(r.pop(),a++);continue}if(/^params:/i.test(s))break;r.push(s)}return{name:o[0]||"",pins:r,parameters:{}}}};var OFt=L(Vxo()),e6=L(z()),rF=be.bind(OFt.default.locals),IJr=t=>{Ae(OFt.default);let e=J(),i=()=>{le.close("spcieRuleWarnning")};return(0,e6.jsx)("div",{className:rF("modal-container"),children:(0,e6.jsxs)("div",{className:rF("content"),children:[(0,e6.jsxs)("div",{className:rF("cell"),children:[(0,e6.jsx)("div",{className:rF("column_left"),children:(0,e6.jsx)("span",{className:rF("messager-warning messager-icon")})}),(0,e6.jsx)("div",{className:rF("column_right"),children:(0,e6.jsx)("span",{style:{fontSize:"14px"},children:e("Warn:")})})]}),(0,e6.jsxs)("div",{className:rF("cell"),style:{flex:1},children:[(0,e6.jsx)("div",{className:rF("column_left")}),(0,e6.jsx)("div",{className:rF("column_right"),style:{alignItems:"flex-start"},children:(0,e6.jsx)("span",{style:{fontSize:"14px"},children:e("Model data must be in . Subckt or .Model, followed by the simulation name and type, otherwise the model data may be empty, causing the simulation to fail!")})})]}),(0,e6.jsx)("div",{className:rF("button"),children:(0,e6.jsx)(Me,{type:"primary",style:{marginLeft:"8px"},onClick:()=>{i()},children:"OK"})})]})})},Hxo=IJr;var Wxo=L(z());async function Gxo(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;return le.open({id:o,title:r,width:n,height:a,closed:s,children:(0,Wxo.jsx)(Hxo,{containerId:o})}),le}async function Yxo(){return await ii("spcie_rule_warnning")}var Qxo=L(hS());var vs=L(z()),t1=be.bind(_Ft.default.locals),RFt="CreartNewSimModel",LJr=t=>{let{params:e}=t,{orgUuid:i=C.workspace,defaultOwnerId:o}=e,r=["NGSpice","Simulide"];Ae(_Ft.default);let n=(0,e0.useRef)(C.workspace),[a,s]=(0,e0.useState)(o||""),[l,c]=(0,e0.useState)(""),[d,u]=(0,e0.useState)({engine:r[0],categoryName:e["file-category-name"]||"",simCategory:"",simName:"",simPins:"",simModelData:"",description:""}),p=(0,e0.useRef)(null),m=(0,e0.useRef)(null),h=(0,e0.useRef)(null),[f,g]=(0,e0.useState)(null),[b,y]=(0,e0.useState)(!1),[w,x]=(0,e0.useState)(!1),[S,T]=(0,e0.useState)(!1),[M,I]=(0,e0.useState)(!1),[A,D]=(0,e0.useState)(!0),[E,N]=(0,e0.useState)(!0),R=J(),v=(0,e0.useMemo)(()=>!!e.uuid,[]),k=(0,e0.useMemo)(()=>kZi(),[]);(0,e0.useEffect)(()=>{(async()=>{if(v){let ee={uuid:e.uuid,path:Je?On.selectPath:e.defaultOwnerId,isProject:!1},ce=await Ze.getSimModel(ee),ne=r[0];ce.docType===ve.SIMULIDE_MODEL&&(ne=r[1]);let oe="";oe=P(ce.tags);let re;try{re=JSON.parse(ce.dataStr)}catch{De({type:"error",msg:"Model data parsing error!"});return}u({engine:ne,categoryName:oe,simCategory:re.Category,simName:re.Name,simPins:re.Pins,simModelData:re.modelData,description:re.description})}else u({engine:"NGSpice",categoryName:"",simCategory:"",simName:"",simPins:"",simModelData:"",description:""})})()},[v]);function P(Z){var ne,oe;if(!Z)return"";let ee=((ne=Z.parent_tag)==null?void 0:ne.name)||"",ce=((oe=Z.child_tag)==null?void 0:oe.name)||"";return!ee&&!ce?"":ce&&ce?`${ee}:${ce}`:ee}let O=(0,e0.useMemo)(()=>{let Z="";return typeof e.defaultOwnerId<"u"&&(Z=e.defaultOwnerId),e.selectedUserInfo&&e.selectedUserInfo.uuid&&(Z=e.selectedUserInfo.uuid),s(Z),Z},[]),_=(0,e0.useCallback)((Z,ee)=>{s(Z),c(ee.args.owner)},[]),j=Z=>{u(ee=>({...ee,engine:Z.target.value}))},B=()=>{let Z=C.HelpURL.sim_name_and_unit_description,ee=window.open(Z,"_blank");ee==null||ee.focus()},V=()=>{let Z=C.HelpURL.sim_spice_number_and_pin_number,ee=window.open(Z,"_blank");ee==null||ee.focus()},G=(0,e0.useCallback)(Z=>{Z.stopPropagation(),m.current&&m.current.click()},[]),Q=(0,e0.useCallback)(Z=>{Z.stopPropagation(),h.current&&h.current.click()},[]),H=(0,e0.useCallback)(async Z=>{var oe;let ee=Z.target.files,ce=ee==null?void 0:ee[0];if(Z.target.value="",((oe=ce.name.split(".").pop())==null?void 0:oe.toLowerCase())!=="zip"){De({type:"error",msg:"\u8BF7\u4E0A\u4F20ZIP\u683C\u5F0F\u7684\u538B\u7F29\u6587\u4EF6"});return}Ts();try{let Y=await new Qxo.default().loadAsync(ce),X=Object.keys(Y.files).filter(Te=>!Y.files[Te].dir&&krt.includes("."+Te.split(".").pop().toLowerCase()));if(X.length===0){Zr(),De({type:"warn",msg:"\u538B\u7F29\u5305\u4E2D\u6CA1\u6709\u652F\u6301\u7684\u6587\u4EF6\u7C7B\u578B"});return}let ie=d.categoryName,de=d.engine,fe=Je?On.selectPath:l,ye=X.map(Te=>q(Te,Y.files[Te],de,ie,fe)),Le=await Promise.allSettled(ye),Re=[],Ne=[];for(let Te of Le)Te.status==="fulfilled"&&Te.value.success?Re.push(Te.value.fileName):Ne.push({fileName:Te.status==="fulfilled"?Te.value.fileName:"unknown",error:Te.status==="rejected"?Te.reason:Te.value.error});De({type:Re.length>0?"success":"warn",msg:R("The batch import is complete: ")+Re.length+R(" succeed")+Ne.length+R(" fail")}),Ne.length>0&&console.error("File import error details:",Ne),Re.length>0&&_s(l,"modelSimLib")}catch(re){De({type:"error",msg:`Batch import failed: ${re.message||"Unknown error"}`})}finally{Zr(),le.close(RFt)}},[l,d]),q=async(Z,ee,ce,ne,oe)=>{var re;try{let Y,X,ie=[],de={},fe=await ee.async("text"),ye=sve.parse(fe)[0];if(!(ye!=null&&ye.name)||!((re=ye==null?void 0:ye.pins)!=null&&re.length))return{fileName:Z,success:!1,error:"Invalid model data!"};let Le=ye.pins.map((Ne,Te)=>`${Te+1}=${Ne}`).join(",");if(ce==="NGSpice")X=oT.NGSpcie;else if(ce==="Simulide")X=oT.Simulide;else{C.messageBus.publish("message",{type:"alert",message:"Please choose the engine!"});return}let Re={data:{owner:oe,title:ye.name,docType:X===oT.NGSpcie?ve.NGSPICE_MODEL:ve.SIMULIDE_MODEL,dataStr:JSON.stringify({Category:ye.category,Name:ye.name,Pins:Le,modelData:fe,description:""}),tags:ne?ne.split(":"):[]}};try{Y=await Ze.createSimModel({simModel:Re,path:oe,isProject:!1})}catch(Ne){Ne._action==="SIM_MODEL_SAME_NAMA_EXISTS"&&De({type:"error",msg:R("Modelling duplication")})}if(Y)v?Wa(Y,2):Wa(Y,1);else if(Y.message.code===Pm.DUPLICATE_DATA)ie.push(Y.message.name);else{let Ne=Y.message;de[Ne]||(de[Ne]=[]),de[Ne].push(Y.message.name)}}catch(Y){return console.error("Process file error:",Z,Y),{fileName:Z,success:!1,error:Y}}return{fileName:Z,success:!0}},U=(0,e0.useCallback)(Z=>{var re;let ee=Z.target.files,ce=ee==null?void 0:ee[0];if(!ce)return;Z.target.value="";let ne=(re=ce.name.split(".").pop())==null?void 0:re.toLocaleLowerCase();if(!ne||!krt.includes(`.${ne}`)){g(`Unsupported file type: .${ne}`);return}g(null),Ts();let oe=new FileReader;oe.onload=async Y=>{var X;try{let ie="",de=(X=Y.target)==null?void 0:X.result,fe=sve.parse(de)[0];if(!fe||!fe.name||!fe.category||!fe.pins||!(fe.pins.length>0)){await Yxo();return}for(let ye=0;ye<fe.pins.length;ye++)ie+=`${ye+1}=${fe.pins[ye]}`,ye<fe.pins.length-1&&(ie+=",");u(ye=>({...ye,simName:fe.name,simCategory:fe.category,simPins:ie,simModelData:de,description:""}))}catch(ie){console.error("File processing error:",ie)}finally{Zr()}},oe.onerror=()=>{Zr(),g("Error reading file")},oe.readAsText(ce)},[]),F=async Z=>{let ee,ce,ne=[],oe={},re=Je?On.selectPath:l,Y=e.messageToken,X=d.categoryName?d.categoryName.split(":"):[];if(!re){C.messageBus.publish("message",{type:"alert",message:"Please choose the owner!"}),Zr();return}let ie=JSON.stringify({Category:d.simCategory,Name:d.simName,Pins:d.simPins,modelData:d.simModelData,description:d.description});if(d.engine==="NGSpice")ce=oT.NGSpcie;else if(d.engine==="Simulide")ce=oT.Simulide;else{C.messageBus.publish("message",{type:"alert",message:"Please choose the engine!"});return}let fe={simModel:{data:{owner:re,title:d.simName,docType:ce===oT.NGSpcie?ve.NGSPICE_MODEL:ve.SIMULIDE_MODEL,dataStr:ie,tags:X}},path:re,isProject:!1};if(v)ee=await Ze.updateSimModel({...fe,uuid:e.uuid});else try{ee=await Ze.createSimModel(fe)}catch(ye){ye._action==="SIM_MODEL_SAME_NAMA_EXISTS"&&De({type:"error",msg:R("Modelling duplication")})}if(ee)v?(Wa(ee,2),_3("modelSimLib",ee.uuid,ee)):(Wa(ee,1),_s(ee.owner.uuid,"modelSimLib")),De({type:"success",msg:v?"Model Update successfully!":"Model Created successfully!"});else if(ee.message.code===Pm.DUPLICATE_DATA)ne.push(ee.message.name);else{let ye=ee.message;oe[ye]||(oe[ye]=[]),oe[ye].push(ee.message.name)}le.close(RFt)};(0,e0.useEffect)(()=>{let{simCategory:Z,simName:ee,simPins:ce}=d;I(!!Z),x(!!ee),T(!!ce),y(!!Z&&!!ee&&!!ce)},[d.simCategory,d.simName,d.simPins]);let K=(0,e0.useCallback)(Z=>{D(!1)},[]),te=(0,e0.useCallback)(Z=>{D(!0)},[]),ae=(0,e0.useCallback)(Z=>{N(!1)},[]),pe=(0,e0.useCallback)(Z=>{N(!0)},[]);return(0,vs.jsxs)("div",{className:t1("container"),children:[(0,vs.jsxs)("div",{className:t1("modal-container"),children:[Je&&(0,vs.jsx)(Wb,{selectChange:()=>{}}),!Je&&(0,vs.jsx)(du,{style:{height:"10%"},displayNone:!1,ref:p,orgUuid:i,defaultSelectId:O,notFolder:!0,folderTreeSelectDisabled:!!v,onOwnerChange:_,onWorkSpaceChange:Z=>n.current=Z}),(0,vs.jsxs)("div",{className:t1("cell"),style:{height:"10%"},children:[(0,vs.jsx)("div",{className:t1("column_left"),"data-test":"Text",children:R("Model Type")}),(0,vs.jsx)("div",{className:t1("column_right"),children:r.map((Z,ee)=>(0,vs.jsxs)("div",{className:t1("radio-option"),children:[(0,vs.jsx)("input",{type:"radio",id:`engine${ee}`,name:"engine",value:Z,checked:d.engine===Z,onChange:j,disabled:(v||!k)&&d.engine!==Z}),(0,vs.jsx)("label",{htmlFor:`engine${ee}`,style:{color:(v||!k)&&d.engine!==Z?"var(--font-color-disabled-drop-down-menuItem)":"var(--common-font-color)"},children:Z})]},ee))})]}),(0,vs.jsx)(Ep,{inputValue:d.categoryName,categoryType:Yi.MODELSIM,ownerSelectId:a,clientLibPath:On.selectPath,openDialogCallback:(Z,ee)=>{u(ce=>({...ce,categoryName:Z}))},clearClick:()=>{u(Z=>({...Z,categoryName:""}))}}),(0,vs.jsxs)("div",{className:t1("cell"),style:{height:"10%"},children:[(0,vs.jsxs)("div",{className:t1("column_left"),"data-test":"Text",children:[!w&&(0,vs.jsx)("span",{style:{color:"red",marginRight:"5px",alignItems:"center"},children:"*"}),R("Model")]}),(0,vs.jsxs)("div",{className:t1("column_right"),children:[(0,vs.jsx)(Kt,{style:{width:"81.3%"},value:d.simName,type:"text",onChange:Z=>{u(ee=>({...ee,simName:Z}))}}),(0,vs.jsx)("span",{className:t1("manageGategories"),"data-test":"Load From The File",title:R("Load From The File"),onClick:G,children:R("Load From The File")}),(0,vs.jsx)("input",{type:"file",ref:m,style:{display:"none"},accept:krt.join(","),onChange:U})]})]}),(0,vs.jsxs)("div",{className:t1("cell"),style:{height:"10%"},children:[(0,vs.jsxs)("div",{className:t1("column_left"),"data-test":"Text",children:[!M&&(0,vs.jsx)("span",{style:{color:"red",marginRight:"5px",alignItems:"center"},children:"*"}),R("Model Category")]}),(0,vs.jsxs)("div",{className:t1("column_right"),children:[(0,vs.jsx)(ld,{height:"24px",width:"calc(81.3% - 2px)",searchAble:!1,selectedValue:d.simCategory,selectedText:d.simCategory,isTranslateForSelectedText:!1,onItemChange:Z=>{u(ee=>({...ee,simCategory:Z}))},children:Object.entries(d.engine===r[1]?Fxo:F5).map(([Z,ee])=>{if(!(!k&&[F5.Probe,F5.XAM,F5.GND].includes(ee)))return(0,vs.jsx)(lc,{value:ee,title:ee,isTranslate:!1,children:ee},`switch-brightness-${Z}`)})}),(0,vs.jsx)("span",{className:t1("pointBtn icon-eda-ask-question icon-color-blue"),onMouseEnter:K,onMouseLeave:te,onClick:B}),(0,vs.jsx)("div",{className:t1("accuracyTip none",{hidden:A}),"data-test":"It must comply with the Spice model specification, otherwise the simulation will fail! Click for details.",children:R("It must comply with the Spice model specification, otherwise the simulation will fail! Click for details.")})]})]}),(0,vs.jsxs)("div",{className:t1("cell"),style:{height:"10%"},children:[(0,vs.jsxs)("div",{className:t1("column_left"),"data-test":"Text",children:[!S&&(0,vs.jsx)("span",{style:{color:"red",marginRight:"5px",alignItems:"center"},children:"*"}),R("Model Pin")]}),(0,vs.jsxs)("div",{className:t1("column_right"),children:[(0,vs.jsx)(Kt,{style:{width:"81.3%"},value:d.simPins,type:"text",onChange:Z=>{u(ee=>({...ee,simPins:Z}))}}),(0,vs.jsx)("span",{className:t1("pointBtn icon-eda-ask-question icon-color-blue"),onMouseEnter:ae,onMouseLeave:pe,onClick:V}),(0,vs.jsx)("div",{className:t1("accuracyTip none",{hidden:E}),"data-test":"Click to view the pin naming specification.",style:{top:"302px"},children:R("Click to view the pin naming specification.")})]})]}),(0,vs.jsxs)("div",{className:t1("cell"),style:{height:"10%"},children:[(0,vs.jsx)("div",{className:t1("column_left"),"data-test":"Text",children:R("Description")}),(0,vs.jsx)("div",{className:t1("column_right"),children:(0,vs.jsx)(Kt,{style:{width:"81.3%"},value:d.description,type:"text",onChange:Z=>{u(ee=>({...ee,description:Z}))}})})]}),(0,vs.jsxs)("div",{className:t1("cell"),children:[(0,vs.jsx)("div",{className:t1("column_left"),"data-test":"Text",children:R("ModelData")}),(0,vs.jsx)("div",{className:t1("column_right"),style:{flex:1},children:(0,vs.jsx)("textarea",{className:t1("custom-textarea"),value:d.simModelData,onChange:Z=>{u(ee=>({...ee,simModelData:Z.target.value}))}})})]})]}),(0,vs.jsx)("input",{type:"file",ref:h,style:{display:"none"},accept:zxo.join(","),onChange:H}),(0,vs.jsxs)("div",{style:{display:"flex",gap:"10px",justifyContent:"flex-end",marginTop:"16px",flex:1},children:[(0,vs.jsx)(Me,{type:"primary",onClick:Z=>F(Z),disabled:!b,children:v?"Update":"Confirmation"}),(0,vs.jsx)(Me,{onClick:()=>{le.close(RFt)},children:"Cancel"}),k&&(0,vs.jsx)(vs.Fragment,{children:(0,vs.jsx)(Me,{onClick:Q,children:"\u6279\u91CF\u5BFC\u5165"})})]})]})},Kxo=LJr;var Jxo=L(z());async function Zxo(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s,mask:l,esc:c}=i;return le.open({id:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,children:(0,Jxo.jsx)(Kxo,{containerId:o,params:t})}),le}var Vrt=L(Se());var pbe=L(Se());var $xo=L(Se());var qxo=L(Se());async function Xxo(){return new jFt}var jFt=class extends qe{constructor(){super(),this._changeModules=new Set,this._bottomRestoreBtnDisabled=!1,this._bottomConfirmBtnLoading=!1,this._bottomConfirmBtnText="Run",this._waitForSaveTagsSet=new Set,this._currentMenuId=void 0,this._simRunBottonDisabled={DC:!0,AC:!1,tr:!1}}get changeModules(){return this._changeModules}set changeModules(e){this._changeModules=e}get bottomRestoreBtnDisabled(){return this._bottomRestoreBtnDisabled}set bottomRestoreBtnDisabled(e){this._bottomRestoreBtnDisabled=e,this.notify()}get bottomConfirmBtnLoading(){return this._bottomConfirmBtnLoading}set bottomConfirmBtnLoading(e){this._bottomConfirmBtnLoading=e,this.notify()}get bottomConfirmBtnText(){return this._bottomConfirmBtnText}set bottomConfirmBtnText(e){this._bottomConfirmBtnText=e,this.notify()}get waitForSaveTagsSet(){return this._waitForSaveTagsSet}set waitForSaveTagsSet(e){this._waitForSaveTagsSet=e,this.notify()}get currentMenuId(){return this._currentMenuId}set currentMenuId(e){this._currentMenuId=e}get simRunBottonDisabled(){var e;return(e=this._simRunBottonDisabled[this._currentMenuId])!=null?e:!0}set simRunBottonDisabled(e){this._simRunBottonDisabled[this._currentMenuId]=e,this.notify()}getMultiSimRunBottonDisabled(){return{...this._simRunBottonDisabled}}whenDialogMounted(){this.bottomConfirmBtnLoading=!1,this.bottomConfirmBtnText="Confirm"}setBottomBtnSubmiting(){this.bottomRestoreBtnDisabled=!0,this.bottomConfirmBtnText="Saving",this.bottomConfirmBtnLoading=!0}setBottomBtnSubmited(){this.bottomConfirmBtnText="Confirm",this.bottomConfirmBtnLoading=!1}},b7d=(0,qxo.createContext)(void 0);var Prt=(o=>(o.DEC="Decade",o.LIN="Linear",o.OCT="Octave",o))(Prt||{}),vJr={startAndStopTime:"The end time must be greater than the start time",timeStepTotal:"(Stop time - Start time) / timestep must be less than 10w"},DJr={startAndStopFre:"The stop frequency must be greater than the start frequency"},EJr={startAndStopV:"The stop value must be greater than the start value"},Su={TrErrorMessage:vJr,AcErrorMessage:DJr,DcErrorMessage:EJr,IllegalCharacters:"The input contains invalid characters. Please check and re-enter",lessThanZreo:"This parameter must be a positive number",nullValue:"This parameter cannot be empty, Please enter a value"};var Ort=class{constructor(){this.ACreset()}set freMult(e){this._freMult=e}get freMult(){return this._freMult}set startFrequency(e){this._startFrequency=e}get startFrequency(){return this._startFrequency}set stopFrequency(e){this._stopFrequency=e}get stopFrequency(){return this._stopFrequency}set acfreMultErrorMes(e){this._acFreMultErrorMes=e}get acfreMultErrorMes(){return this._acFreMultErrorMes}set acstartFreErrorMes(e){this._acStartFreErrorMes=e}get acstartFreErrorMes(){return this._acStartFreErrorMes}set acstopFreErrorMes(e){this._acStopFreErrorMes=e}get acstopFreErrorMes(){return this._acStopFreErrorMes}set acAnalysisType(e){this._acAnalysisType=e}get acAnalysisType(){return this._acAnalysisType}ACreset(){this.freMult="10",this.startFrequency="500",this.stopFrequency="5G",this.acfreMultErrorMes="",this.acstartFreErrorMes="",this.acstopFreErrorMes="",this.acAnalysisType="Decade"}getACConfig(){return{acAnalysisType:this.getAcAnaysisType(this.acAnalysisType),freMult:this.freMult,startFrequency:this.startFrequency,stopFrequency:this.stopFrequency}}setACConfig(e){this.setAcAnaysisType(e.acAnalysisType),this.freMult=e.freMult,this.startFrequency=e.startFrequency,this.stopFrequency=e.stopFrequency}getButtonDisable(){return!(!this.acfreMultErrorMes&&!this.acstartFreErrorMes&&!this.acstopFreErrorMes)}setAcAnaysisType(e){switch(e){case"DEC":this.acAnalysisType="Decade";break;case"LIN":this.acAnalysisType="Linear";break;case"OCT":this.acAnalysisType="Octave";break}}getAcAnaysisType(e){let i;switch(e){case"Decade":i="DEC";break;case"Linear":i="LIN";break;case"Octave":i="OCT";break;default:i="DEC";break}return i}setDescriptionOfData(e){let i;switch(e){case"Decade":i="Decade Frequency Number Of Points";break;case"Linear":i="Data Points";break;case"Octave":i="Eight Frequency Number Of Points";break;default:break}return i}};var Rrt=class{set dcSourceData1(e){this._dcSourceData1=e}get dcSourceData1(){return this._dcSourceData1}set dcSourceData2(e){this._dcSourceData2=e}get dcSourceData2(){return this._dcSourceData2}set sourceStatus(e){this._sourceStatus=e}get sourceStatus(){return this._sourceStatus}set dcSourceData1ErrorMes(e){this._dcSourceData1ErrorMes=e}get dcSourceData1ErrorMes(){return this._dcSourceData1ErrorMes}set dcSourceData2ErrorMes(e){this._dcSourceData2ErrorMes=e}get dcSourceData2ErrorMes(){return this._dcSourceData2ErrorMes}constructor(){this.DCinital()}DCinital(){this.sourceStatus=!1;let e={increment:"",sourceName:"",startValue:"",stopValue:""};this.dcSourceData1=e,this.dcSourceData2=e;let i={increment:"",startValue:"",stopValue:""};this.dcSourceData1ErrorMes=i,this.dcSourceData2ErrorMes=i}reSetSourceData2(){let e={increment:"",sourceName:"",startValue:"",stopValue:""};this.dcSourceData2=e;let i={increment:"",startValue:"",stopValue:""};this.dcSourceData2ErrorMes=i}getDCConfig(){return{dcSourceData1:this.dcSourceData1,dcSourceData2:this.dcSourceData2,sourceStatus:this.sourceStatus}}setDCConfig(e){this.sourceStatus=e.sourceStatus,this.dcSourceData1=e.dcSourceData1,this.dcSourceData2=e.dcSourceData2}getButtonDisable(){if(this.sourceStatus){if(!this.dcSourceData1ErrorMes.increment&&!this.dcSourceData1ErrorMes.startValue&&!this.dcSourceData1ErrorMes.stopValue&&!this.dcSourceData2ErrorMes.increment&&!this.dcSourceData2ErrorMes.startValue&&!this.dcSourceData2ErrorMes.stopValue&&this.dcSourceData1.sourceName.length!=0&&this.dcSourceData2.sourceName.length!=0)return!1}else if(!this.dcSourceData1ErrorMes.increment&&!this.dcSourceData1ErrorMes.startValue&&!this.dcSourceData1ErrorMes.stopValue&&this.dcSourceData1.sourceName.length!=0)return!1;return!0}};var _rt=class{constructor(){this.TransientReset()}set timeStep(e){this._timeStep=e}get timeStep(){return this._timeStep}set stopTime(e){this._stopTime=e}get stopTime(){return this._stopTime}set startTime(e){this._startTime=e}get startTime(){return this._startTime}set maxTimeStep(e){this._maxTimeStep=e}get maxTimeStep(){return this._maxTimeStep}set trTimeStepErrorMes(e){this._trTimeStepErrorMes=e}get trTimeStepErrorMes(){return this._trTimeStepErrorMes}set trStopTimeErrorMes(e){this._trStopTimeErrorMes=e}get trStopTimeErrorMes(){return this._trStopTimeErrorMes}set trStartTimeErrorMes(e){this._trStartTimeErrorMes=e}get trStartTimeErrorMes(){return this._trStartTimeErrorMes}set trMaxTimeStepErrorMes(e){this._trMaxTimeStepErrorMes=e}get trMaxTimeStepErrorMes(){return this._trMaxTimeStepErrorMes}TransientReset(){this.timeStep="5u",this.stopTime="25m",this.startTime="0",this.maxTimeStep="",this.trTimeStepErrorMes="",this.trMaxTimeStepErrorMes="",this.trStartTimeErrorMes="",this.trStopTimeErrorMes=""}getTRConfig(){return{maxTimeStep:this.maxTimeStep,startTime:this.startTime,stopTime:this.stopTime,timeStep:this.timeStep}}setTRConfig(e){this.timeStep=e.timeStep,this.startTime=e.startTime,this.stopTime=e.stopTime,this.maxTimeStep=e.maxTimeStep}getButtonDisable(){return!(!this.trTimeStepErrorMes&&!this.trMaxTimeStepErrorMes&&!this.trStartTimeErrorMes&&!this.trStopTimeErrorMes)}};async function eTo(){let t=new BFt;await t.initial();let{message:e}=await C.messageBus.rpcCall("fetchNGCurrentSetting");return e&&(t.frameStore.currentMenuId=e),t}var BFt=class{constructor(){this.sourceConfig=[]}async initial(){this.frameStore=await Xxo(),this.acSetting=new Ort,this.dcSetting=new Rrt,this.trSetting=new _rt,this.initSourceConfig();let{message:e}=await C.messageBus.rpcCall("fetchNGSimulationSetting");e&&this.setNGSetting(e),this.dialogReady=!0}creatNGSetting(){return{acSetting:this.acSetting.getACConfig(),dcSetting:this.dcSetting.getDCConfig(),trSetting:this.trSetting.getTRConfig(),startDisable:this.frameStore.getMultiSimRunBottonDisabled()}}setNGSetting(e){let{acSetting:i,dcSetting:o,trSetting:r}=e;this.acSetting.setACConfig(i),this.dcSetting.setDCConfig(o),this.trSetting.setTRConfig(r)}setButtonDisable(){switch(this.frameStore.currentMenuId){case"TR":return this.trSetting.getButtonDisable();case"AC":return this.acSetting.getButtonDisable();case"DC":return this.dcSetting.getButtonDisable();default:return!1}}async initSourceConfig(){let e={title:"",displayId:""};this.sourceConfig.push(e);let i=(await C.messageBus.rpcCall("getAllSymbolMultipartBySimUuid",he.getTopActiveSchematicId())).message;Object.entries(i).forEach(([r,n])=>{let a=n;if(a.cmdKey==="part"&&a.attrs.Designator&&a.attrs.Designator.toLowerCase().startsWith("v")){let s={title:"V"+a.attrs.Designator,displayId:a.displayId};this.sourceConfig.push(s)}})}},bL=(0,$xo.createContext)(void 0);var Iee=L(z());function AJr(t){let e=(0,pbe.useContext)(bL);Ce(e.frameStore);let i=J(),{handleBtnEvent:o}=t,r=(0,pbe.useRef)(null),n=a=>{window.setTimeout(r.current),r.current=window.setTimeout(()=>{o(a)})};return(0,Iee.jsxs)(Iee.Fragment,{children:[(0,Iee.jsx)(Me,{type:"primary",style:{marginRight:"8px"},disabled:e.frameStore.simRunBottonDisabled,readonly:e.frameStore.bottomConfirmBtnLoading,onClick:()=>n("Run"),children:e.frameStore.bottomConfirmBtnText}),(0,Iee.jsx)(Me,{onClick:()=>n("confirm"),disabled:e.frameStore.simRunBottonDisabled,style:{marginRight:"8px"},type:"primary",children:"Confirm"}),(0,Iee.jsx)(Me,{onClick:()=>n("cancel"),children:"Cancel"})]})}var tTo=pbe.default.memo(AJr);var YFt=L(Brt());var hbe=L(Se()),dTo=L(Brt());var NW=L(Se());function oTo(){let t=[{title:"Transient Analysis",id:"TR",dataTest:"TR",showAsterisk:!1,itemStyleObject:{paddingLeft:"20px"}},{title:"AC scanning",id:"AC",dataTest:"AC",showAsterisk:!1,itemStyleObject:{paddingLeft:"20px"}},{title:"DC scanning",id:"DC",dataTest:"DC",showAsterisk:!1,itemStyleObject:{paddingLeft:"20px"}}].reduce((e,i)=>(e.set(i.id,i),e),new Map);return Array.from(t.values())}var lve=L(z());function rTo(t){let e=(0,NW.useContext)(bL);Ce(e.frameStore);let{menuSelected:i="TR",onMenuSelected:o}=t,[r,n]=(0,NW.useState)([i]),[a,s]=(0,NW.useState)([]),[l,c]=(0,NW.useState)([]),d=(u,p,m,h,f)=>{o(m.id)};return(0,NW.useEffect)(()=>{o(r[0]),e.frameStore.currentMenuId=r[0]},[r]),(0,NW.useEffect)(()=>{let u=oTo(),p=D_(u);s(u),c(p)},[]),(0,lve.jsx)(lve.Fragment,{children:(0,lve.jsx)(Bd,{extendIconType:"tree-extends-triangle",selectedIds:r,treeWidgetItemWidth:"18px",contentUnderline:!1,multiSelect:!1,showTagLine:!1,showExpandBtn:!0,expandedIds:l,isVirtualList:!1,onClick:d,data:a})})}var uTo=L(Brt());var yL=L(Se()),HFt=L(Frt());var vE=L(Se()),zFt=L(Frt());var T0=L(z()),Tf=be.bind(zFt.default.locals),eR={freMult:"Frequency Mult",startFrequency:"Start Frequency",stopFrequency:"Stop Frequency"},aTo=()=>{Ae(zFt.default);let t=J(),e=(0,vE.useContext)(bL),[i,o]=(0,vE.useState)(e.acSetting.acAnalysisType),[r,n]=(0,vE.useState)(e.acSetting.freMult),[a,s]=(0,vE.useState)(e.acSetting.startFrequency),[l,c]=(0,vE.useState)(e.acSetting.stopFrequency),[d,u]=(0,vE.useState)(""),[p,m]=(0,vE.useState)(""),[h,f]=(0,vE.useState)("");(0,vE.useEffect)(()=>{u(Lee(r,eR.freMult)),m(Lee(a,eR.startFrequency)),f(Lee(l,eR.stopFrequency,e.acSetting.startFrequency))},[]),(0,vE.useEffect)(()=>{e.frameStore.simRunBottonDisabled=e.setButtonDisable()},[d,p,h]);let g=M=>{n(M),e.acSetting.freMult=M},b=M=>{s(M),e.acSetting.startFrequency=M},y=M=>{Lh(M)>1e11||(c(M),e.acSetting.stopFrequency=M)},w=(M,I)=>{let A=Lee(r,eR.freMult);u(A),e.acSetting.acfreMultErrorMes=A,A?I&&I(e.acSetting.freMult):e.acSetting.freMult=r},x=(M,I)=>{let A=Lee(a,eR.startFrequency);m(A),e.acSetting.acstartFreErrorMes=A;let D=Lee(l,eR.stopFrequency,a);f(D),e.acSetting.acstopFreErrorMes=D,!A&&!D?e.acSetting.startFrequency=a:I&&I(e.acSetting.startFrequency)},S=(M,I)=>{let A=Lee(l,eR.stopFrequency,a);f(A),e.acSetting.acstopFreErrorMes=A,A?I&&I(e.acSetting.stopFrequency):e.acSetting.stopFrequency=l},T=()=>{e.acSetting.ACreset(),o(e.acSetting.acAnalysisType),n(e.acSetting.freMult),s(e.acSetting.startFrequency),c(e.acSetting.stopFrequency),u(""),m(""),f("")};return(0,T0.jsxs)("div",{className:Tf("content-sub-container"),children:[(0,T0.jsx)("div",{className:Tf("content-sub-title"),children:t("AC analysis parameter settings")}),(0,T0.jsxs)("div",{className:Tf("content-sub-wrapper"),children:[(0,T0.jsxs)("div",{className:Tf("cell"),children:[(0,T0.jsx)("div",{className:Tf("column_left"),"data-test":"Text",children:t("description type")}),(0,T0.jsx)("div",{className:Tf("column_middle"),children:(0,T0.jsx)(ld,{height:"22px",width:"100%",searchAble:!1,selectedValue:i,selectedText:i,onItemChange:M=>{o(M),e.acSetting.acAnalysisType=M},children:Object.entries(Prt).map(([M,I])=>(0,T0.jsx)(lc,{value:I,title:M,children:I},`switch-brightness-${M}`))})})]}),(0,T0.jsxs)("div",{className:Tf("cell"),children:[(0,T0.jsx)("div",{className:Tf("column_left"),"data-test":"Text",children:t(e.acSetting.setDescriptionOfData(i))}),(0,T0.jsx)("div",{className:Tf("column_middle"),children:(0,T0.jsxs)("div",{className:Tf("input-container"),children:[(0,T0.jsx)(Kt,{style:{alignItems:"center",borderColor:d?"red":void 0},maxLength:10,value:r,onBlur:w,type:"text",onChange:M=>{g(M)}}),d&&(0,T0.jsx)("div",{className:Tf("error-message"),children:t(d)})]})})]}),(0,T0.jsxs)("div",{className:Tf("cell"),children:[(0,T0.jsx)("div",{className:Tf("column_left"),"data-test":"Text",children:t("Start Frequency")}),(0,T0.jsx)("div",{className:Tf("column_middle"),children:(0,T0.jsxs)("div",{className:Tf("input-container"),children:[(0,T0.jsx)(Kt,{style:{alignItems:"center",borderColor:p?"red":void 0},maxLength:10,value:a,onBlur:x,type:"text",onChange:M=>{b(M)}}),p&&(0,T0.jsx)("div",{className:Tf("error-message"),children:t(p)})]})}),(0,T0.jsx)("div",{className:Tf("column_right"),"data-test":"Text",children:"Hz"})]}),(0,T0.jsxs)("div",{className:Tf("cell"),children:[(0,T0.jsx)("div",{className:Tf("column_left"),"data-test":"Text",children:t("Stop Frequency")}),(0,T0.jsx)("div",{className:Tf("column_middle"),children:(0,T0.jsxs)("div",{className:Tf("input-container"),children:[(0,T0.jsx)(Kt,{style:{alignItems:"center",borderColor:h?"red":void 0},maxLength:10,value:l,onBlur:S,type:"text",onChange:M=>{y(M)}}),h&&(0,T0.jsx)("div",{className:Tf("error-message"),children:t(h)})]})}),(0,T0.jsx)("div",{className:Tf("column_right"),"data-test":"Text",children:"Hz"})]}),(0,T0.jsx)("div",{className:Tf("bottom-btn"),children:(0,T0.jsx)(Me,{size:"sm",type:"default",onClick:T,children:"reset default vale"})})]})]})};var g2=L(Se()),FFt=L(Frt());var ua=L(z()),zc=be.bind(FFt.default.locals),t6={increment1:"Increment1",startValue1:"Start Value1",stopValue1:"Stop Value1",increment2:"Increment2",startValue2:"Start Value2",stopValue2:"Stop Value2"},sTo=()=>{Ae(FFt.default);let t=J(),e=(0,g2.useContext)(bL),[i,o]=(0,g2.useState)(e.dcSetting.dcSourceData1.sourceName),[r,n]=(0,g2.useState)(e.dcSetting.dcSourceData1.increment),[a,s]=(0,g2.useState)(e.dcSetting.dcSourceData1.startValue),[l,c]=(0,g2.useState)(e.dcSetting.dcSourceData1.stopValue),[d,u]=(0,g2.useState)(e.dcSetting.dcSourceData2.sourceName),[p,m]=(0,g2.useState)(e.dcSetting.dcSourceData2.increment),[h,f]=(0,g2.useState)(e.dcSetting.dcSourceData2.startValue),[g,b]=(0,g2.useState)(e.dcSetting.dcSourceData2.stopValue),[y,w]=(0,g2.useState)(""),[x,S]=(0,g2.useState)(""),[T,M]=(0,g2.useState)(""),[I,A]=(0,g2.useState)(""),[D,E]=(0,g2.useState)(""),[N,R]=(0,g2.useState)(""),[v,k]=(0,g2.useState)(e.dcSetting.sourceStatus),P=Z=>{o(Z),e.dcSetting.dcSourceData1.sourceName=Z},O=Z=>{s(Z),e.dcSetting.dcSourceData1.startValue=Z},_=Z=>{c(Z),e.dcSetting.dcSourceData1.stopValue=Z},j=Z=>{n(Z),e.dcSetting.dcSourceData1.increment=Z},B=Z=>{u(Z),e.dcSetting.dcSourceData2.sourceName=Z},V=Z=>{f(Z),e.dcSetting.dcSourceData2.startValue=Z},G=Z=>{b(Z),e.dcSetting.dcSourceData2.stopValue=Z},Q=Z=>{m(Z),e.dcSetting.dcSourceData2.increment=Z},H=Z=>{k(Z),e.dcSetting.sourceStatus=Z},q=Z=>{let ee=Lh(Z);return Z?isNaN(ee)?Su.IllegalCharacters:ee<=0?Su.lessThanZreo:"":Su.nullValue},U=(Z,ee)=>{let ce=q(r);w(ce),e.dcSetting.dcSourceData1ErrorMes.increment=ce,ce?ee&&ee(e.dcSetting.dcSourceData1.increment):e.dcSetting.dcSourceData1.increment=r},F=(Z,ee)=>{let ce=DE(a,t6.startValue1);S(ce),e.dcSetting.dcSourceData1ErrorMes.startValue=ce;let ne=DE(e.dcSetting.dcSourceData1.stopValue,t6.stopValue1,a);M(ne),e.dcSetting.dcSourceData1ErrorMes.stopValue=ne,!ce&&!ne?e.dcSetting.dcSourceData1.startValue=a:ee&&ee(e.dcSetting.dcSourceData1.startValue)},K=(Z,ee)=>{let ce=DE(l,t6.stopValue1,e.dcSetting.dcSourceData1.startValue);M(ce),e.dcSetting.dcSourceData1ErrorMes.stopValue=ce,ce?ee&&ee(e.dcSetting.dcSourceData1.stopValue):e.dcSetting.dcSourceData1.stopValue=l},te=(Z,ee)=>{let ce=q(p);A(ce),e.dcSetting.dcSourceData2ErrorMes.increment=ce,ce?ee&&ee(e.dcSetting.dcSourceData2.increment):e.dcSetting.dcSourceData2.increment=p},ae=(Z,ee)=>{let ce=DE(h,t6.startValue2);E(ce),e.dcSetting.dcSourceData2ErrorMes.startValue=ce;let ne=DE(e.dcSetting.dcSourceData2.stopValue,t6.stopValue2,h);R(ne),e.dcSetting.dcSourceData2ErrorMes.stopValue=ne,!ce&&!ne?e.dcSetting.dcSourceData2.startValue=h:ee&&ee(e.dcSetting.dcSourceData2.startValue)},pe=(Z,ee)=>{let ce=DE(g,t6.stopValue2,e.dcSetting.dcSourceData2.startValue);R(ce),e.dcSetting.dcSourceData2ErrorMes.stopValue=ce,ce?ee&&ee(e.dcSetting.dcSourceData2.stopValue):e.dcSetting.dcSourceData2.stopValue=g};return(0,g2.useEffect)(()=>{if(v){let Z=q(p),ee=DE(h,t6.startValue2),ce=DE(g,t6.stopValue2);A(Z),e.dcSetting.dcSourceData2ErrorMes.increment=Z,E(ee),e.dcSetting.dcSourceData2ErrorMes.startValue=ee,R(ce),e.dcSetting.dcSourceData2ErrorMes.stopValue=ce}else u(""),f(""),b(""),m(""),A(""),E(""),R(""),e.dcSetting.reSetSourceData2()},[v]),(0,g2.useEffect)(()=>{let Z=q(r),ee=DE(a,t6.startValue1),ce=DE(l,t6.stopValue1),ne=q(p),oe=DE(h,t6.startValue2),re=DE(g,t6.stopValue2);w(Z),e.dcSetting.dcSourceData1ErrorMes.increment=Z,S(ee),e.dcSetting.dcSourceData1ErrorMes.startValue=ee,M(ce),e.dcSetting.dcSourceData1ErrorMes.stopValue=ce,v&&(A(ne),e.dcSetting.dcSourceData2ErrorMes.increment=ne,E(oe),e.dcSetting.dcSourceData2ErrorMes.startValue=oe,R(re),e.dcSetting.dcSourceData2ErrorMes.stopValue=re)},[]),(0,g2.useEffect)(()=>{e.frameStore.simRunBottonDisabled=e.setButtonDisable()},[y,x,T,I,D,N,e.dcSetting.dcSourceData1.sourceName,e.dcSetting.dcSourceData2.sourceName]),(0,ua.jsxs)("div",{className:zc("content-sub-container"),children:[(0,ua.jsx)("div",{className:zc("content-sub-title"),children:t("DC scanning parameter settings")}),(0,ua.jsxs)("div",{style:{height:"218px"},children:[(0,ua.jsx)("div",{className:zc("content-sub-Half-title"),style:{marginLeft:"16px"},children:t("Source1")}),(0,ua.jsxs)("div",{className:zc("content-sub-Half-wrapper"),children:[(0,ua.jsxs)("div",{className:zc("cell"),style:{marginTop:"16px"},children:[(0,ua.jsx)("div",{className:zc("column_left"),"data-test":"Text",children:t("Source")}),(0,ua.jsx)("div",{className:zc("column_middle"),children:(0,ua.jsx)(ld,{height:"24px",width:"100%",searchAble:!1,selectedValue:i,selectedText:i,onItemChange:Z=>{P(Z)},children:Object.entries(e.sourceConfig).map(([Z,ee])=>{if(!(ee.title===d&&ee.title!==""))return(0,ua.jsx)(lc,{value:ee.title,title:t(ee.displayId),children:ee.title},`switch-brightness-${Z}`)})})})]}),(0,ua.jsxs)("div",{className:zc("cell"),children:[(0,ua.jsx)("div",{className:zc("column_left"),"data-test":"Text",children:t("Start Value")}),(0,ua.jsx)("div",{className:zc("column_middle"),children:(0,ua.jsx)(Kt,{style:{alignItems:"center",borderColor:x?"red":void 0},maxLength:10,value:a,onBlur:F,type:"text",onChange:Z=>{O(Z)}})}),(0,ua.jsxs)("div",{className:zc("column_right"),"data-test":"Text",children:[(0,ua.jsx)("div",{children:t("V")}),x&&(0,ua.jsx)("div",{style:{color:"red",marginLeft:"14px",fontSize:"11px"},children:t(x)})]})]}),(0,ua.jsxs)("div",{className:zc("cell"),children:[(0,ua.jsx)("div",{className:zc("column_left"),"data-test":"Text",children:t("Stop Value")}),(0,ua.jsx)("div",{className:zc("column_middle"),children:(0,ua.jsx)(Kt,{style:{alignItems:"center",borderColor:T?"red":void 0},value:l,maxLength:10,onBlur:K,type:"text",onChange:Z=>{_(Z)}})}),(0,ua.jsxs)("div",{className:zc("column_right"),"data-test":"Text",children:[(0,ua.jsx)("div",{children:t("V")}),T&&(0,ua.jsx)("div",{style:{color:"red",marginLeft:"14px",fontSize:"11px"},children:t(T)})]})]}),(0,ua.jsxs)("div",{className:zc("cell"),children:[(0,ua.jsx)("div",{className:zc("column_left"),"data-test":"Text",children:t("Increment")}),(0,ua.jsx)("div",{className:zc("column_middle"),children:(0,ua.jsx)(Kt,{style:{alignItems:"center",borderColor:y?"red":void 0},value:r,maxLength:10,onBlur:U,type:"text",onChange:Z=>{j(Z)}})}),(0,ua.jsxs)("div",{className:zc("column_right"),"data-test":"Text",children:[(0,ua.jsx)("div",{children:t("V")}),y&&(0,ua.jsx)("div",{style:{color:"red",marginLeft:"14px",fontSize:"11px"},children:t(y)})]})]})]})]}),(0,ua.jsxs)("div",{style:{height:"218px",marginBottom:"16px"},children:[(0,ua.jsxs)("div",{className:zc("content-sub-Half-title"),style:{marginLeft:"16px"},children:[t("Source2"),(0,ua.jsx)(qt,{style:{marginLeft:"8px"},defaultChecked:!1,checked:v,onChange:H})]}),(0,ua.jsxs)("div",{className:zc("content-sub-Half-wrapper"),children:[(0,ua.jsxs)("div",{className:zc("cell"),style:{marginTop:"16px"},children:[(0,ua.jsx)("div",{className:zc(v?"column_left":"column_disable_left"),"data-test":"Text",children:t("Source")}),(0,ua.jsx)("div",{className:zc("column_middle"),children:(0,ua.jsx)(ld,{height:"24px",disabled:!v,searchAble:!1,selectedValue:d,selectedText:d,onItemChange:Z=>{B(Z)},children:e.sourceConfig.map((Z,ee)=>{if(!(Z.title===i&&Z.title!==""))return(0,ua.jsx)(lc,{value:Z.title,title:t(Z.displayId),children:Z.title},`switch-brightness-${ee}`)})})})]}),(0,ua.jsxs)("div",{className:zc("cell"),children:[(0,ua.jsx)("div",{className:zc(v?"column_left":"column_disable_left"),"data-test":"Text",children:t("Start Value")}),(0,ua.jsx)("div",{className:zc("column_middle"),children:(0,ua.jsx)(Kt,{disabled:!v,style:{alignItems:"center",borderColor:D?"red":void 0},value:h,maxLength:10,onBlur:ae,type:"text",onChange:Z=>{V(Z)}})}),(0,ua.jsxs)("div",{className:zc("column_right"),"data-test":"Text",children:[(0,ua.jsx)("div",{children:t("V")}),D&&(0,ua.jsx)("div",{style:{color:"red",marginLeft:"14px",fontSize:"11px"},children:t(D)})]})]}),(0,ua.jsxs)("div",{className:zc("cell"),children:[(0,ua.jsx)("div",{className:zc(v?"column_left":"column_disable_left"),"data-test":"Text",children:t("Stop Value")}),(0,ua.jsx)("div",{className:zc("column_middle"),children:(0,ua.jsx)(Kt,{disabled:!v,maxLength:10,style:{alignItems:"center",borderColor:N?"red":void 0},value:g,onBlur:pe,type:"text",onChange:Z=>{G(Z)}})}),(0,ua.jsxs)("div",{className:zc("column_right"),"data-test":"Text",children:[(0,ua.jsx)("div",{children:t("V")}),N&&(0,ua.jsx)("div",{style:{color:"red",marginLeft:"14px",fontSize:"11px"},children:t(N)})]})]}),(0,ua.jsxs)("div",{className:zc("cell"),children:[(0,ua.jsx)("div",{className:zc(v?"column_left":"column_disable_left"),"data-test":"Text",children:t("Increment")}),(0,ua.jsx)("div",{className:zc("column_middle"),children:(0,ua.jsx)(Kt,{disabled:!v,maxLength:10,style:{alignItems:"center",borderColor:I?"red":void 0},value:p,onBlur:te,type:"text",onChange:Z=>{Q(Z)}})}),(0,ua.jsxs)("div",{className:zc("column_right"),"data-test":"Text",children:[(0,ua.jsx)("div",{children:t("V")}),I&&(0,ua.jsx)("div",{style:{color:"red",marginLeft:"14px",fontSize:"11px"},children:t(I)})]})]})]})]})]})};function Lh(t){let e=/^\s*([+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\s*([munpkMGTP]?)\s*$/,i=String(t).trim().match(e);if(!i)return NaN;let o=parseFloat(i[1]);if(isNaN(o))return NaN;let r=i[2],n;switch(r){case"m":n=.001;break;case"u":case"\xB5":n=1e-6;break;case"n":n=1e-9;break;case"p":n=1e-12;break;case"":n=1;break;case"k":n=1e3;break;case"M":n=1e6;break;case"G":n=1e9;break;case"T":n=1e12;break;case"P":n=1e15;break;default:return NaN}return o*n}function VFt(t,e){if(typeof t!="number"||isNaN(t))return"NaN";let i=t<0,o=Math.abs(t);if(o<1e-9)return"0.0000";let n=[{upperBound:1e-15,unit:"f",multiplier:1e-15},{upperBound:1e-12,unit:"p",multiplier:1e-12},{upperBound:1e-9,unit:"n",multiplier:1e-9},{upperBound:1e-6,unit:"\xB5",multiplier:1e-6},{upperBound:.001,unit:"m",multiplier:.001},{upperBound:1,unit:"",multiplier:1},{upperBound:1e3,unit:"k",multiplier:1e3},{upperBound:1e6,unit:"M",multiplier:1e6},{upperBound:1e9,unit:"G",multiplier:1e9},{upperBound:1e12,unit:"T",multiplier:1e12},{upperBound:1e15,unit:"P",multiplier:1e15}],a=n[0];for(let c of n){let d=o/c.multiplier;if(Math.floor(d).toString().length<=3){a=c;break}}let s=o/a.multiplier,l=UFt(s,e==null?void 0:e.decimalPlaces);if(e!=null&&e.fixedUint){let c=n.find(d=>d.unit===e.fixedUint);if(c){let d=o/c.multiplier,u=UFt(d,e.decimalPlaces);return`${i?"-":""}${u}${e.spaceBeforeUnit?" ":""}${c.unit}`}}return`${i?"-":""}${l}${e!=null&&e.spaceBeforeUnit?" ":""}${a.unit}`}function UFt(t,e){let o=e!=null?e:5;if(o<=0)return Math.round(t).toString();let r=t.toString(),[n,a=""]=r.split(".");if(r.includes("e"))return UFt(Number(t.toFixed(10)),e);if(n.length>o)return n.slice(0,o);let s=Math.max(0,o-n.length),l=a.padEnd(s,"0").slice(0,s);return s>0?`${n}.${l}`:n}function mbe(t){let e="",i;if(t)i=Lh(t);else return Su.nullValue;return i<0?e=Su.lessThanZreo:isNaN(i)&&(e=Su.IllegalCharacters),e}function Lee(t,e,i){let o,r=Lh(t),n=0;if(i&&(n=Lh(i)),r>=0||!t)switch(o="",e){case eR.freMult:t||(o=Su.nullValue);break;case eR.startFrequency:t||(o=Su.nullValue);break;case eR.stopFrequency:r>=0&&r<=n?o=Su.AcErrorMessage.startAndStopFre:t||(o=Su.nullValue);break}else r<0?o=Su.lessThanZreo:o=Su.IllegalCharacters;return o}function DE(t,e,i){let o,r=Lh(t),n=0;if(i&&(n=Lh(i)),isNaN(r))t?o=Su.IllegalCharacters:o=Su.nullValue;else switch(o="",e){case t6.stopValue1:case t6.stopValue2:r<=n&&(o=Su.DcErrorMessage.startAndStopV);break}return o}var Mu=L(z()),vm=be.bind(HFt.default.locals),EE={timeStep:"Time Step",stopTime:"Stop Time",startTime:"Start Time",maxTimeStep:"Max Time Step"},lTo=()=>{Ae(HFt.default);let t=J(),e=(0,yL.useContext)(bL),[i,o]=(0,yL.useState)(e.trSetting.timeStep),[r,n]=(0,yL.useState)(e.trSetting.stopTime),[a,s]=(0,yL.useState)(e.trSetting.startTime),[l,c]=(0,yL.useState)(e.trSetting.maxTimeStep),[d,u]=(0,yL.useState)(""),[p,m]=(0,yL.useState)(""),[h,f]=(0,yL.useState)(""),[g,b]=(0,yL.useState)(""),y=(N,R)=>{let v=mbe(N),k,P,O;if(a&&(k=Lh(a)),r&&(P=Lh(r)),i&&(O=Lh(i)),!v)switch(R){case EE.startTime:case EE.stopTime:k>P?v=Su.TrErrorMessage.startAndStopTime:k<P&&(m(""),e.trSetting.trTimeStepErrorMes=""),(P-k)/O>1e5&&(v=Su.TrErrorMessage.timeStepTotal);break;case EE.maxTimeStep:case EE.timeStep:(P-k)/O>1e5&&(v=Su.TrErrorMessage.timeStepTotal);break}return R===EE.maxTimeStep&&v===Su.nullValue&&(v=""),v};(0,yL.useEffect)(()=>{u(y(i,EE.timeStep)),m(y(r,EE.stopTime)),f(y(a,EE.startTime)),b(y(l,EE.maxTimeStep))},[]),(0,yL.useEffect)(()=>{e.frameStore.simRunBottonDisabled=e.setButtonDisable()},[d,p,h,g]);let w=N=>{o(N),e.trSetting.timeStep=N},x=N=>{n(N),e.trSetting.stopTime=N},S=N=>{s(N),e.trSetting.startTime=N},T=N=>{c(N),e.trSetting.maxTimeStep=N},M=(N,R)=>{let v=mbe(i),k,P,O;a&&(k=Lh(a)),r&&(P=Lh(r)),i&&(O=Lh(i)),(P-k)/O>1e5&&!v&&(v=Su.TrErrorMessage.timeStepTotal),u(v),e.trSetting.trTimeStepErrorMes=v,v?R&&R(e.trSetting.timeStep):e.trSetting.timeStep=i},I=(N,R)=>{let v=mbe(r);if(!v){let k,P,O;a&&(k=Lh(a)),r&&(P=Lh(r)),i&&(O=Lh(i)),k>P?v=Su.TrErrorMessage.startAndStopTime:k<P&&(m(""),e.trSetting.trTimeStepErrorMes=""),(P-k)/O>1e5&&(v=Su.TrErrorMessage.timeStepTotal)}v===Su.TrErrorMessage.timeStepTotal?(u(v),e.trSetting.trTimeStepErrorMes=v):(m(v),e.trSetting.trStopTimeErrorMes=v),d===Su.TrErrorMessage.timeStepTotal&&!v&&(u(v),e.trSetting.trTimeStepErrorMes=v),v?R&&R(e.trSetting.stopTime):e.trSetting.stopTime=r},A=(N,R)=>{let v=mbe(a);if(!v){let k,P,O;a&&(k=Lh(a)),r&&(P=Lh(r)),i&&(O=Lh(i)),k>P?v=Su.TrErrorMessage.startAndStopTime:k<P&&(m(""),e.trSetting.trTimeStepErrorMes=""),(P-k)/O>1e5&&(v=Su.TrErrorMessage.timeStepTotal)}v===Su.TrErrorMessage.timeStepTotal?(u(v),e.trSetting.trTimeStepErrorMes=v):v===Su.TrErrorMessage.startAndStopTime?(m(v),e.trSetting.trStopTimeErrorMes=v):(f(v),e.trSetting.trStartTimeErrorMes=v),d===Su.TrErrorMessage.timeStepTotal&&!v&&(u(v),e.trSetting.trTimeStepErrorMes=v),p===Su.TrErrorMessage.startAndStopTime&&!v&&(m(v),e.trSetting.trStopTimeErrorMes=v),v?R&&R(e.trSetting.startTime):e.trSetting.startTime=a},D=(N,R)=>{let v=mbe(l);if(!v){let k,P,O;a&&(k=Lh(a)),r&&(P=Lh(r)),i&&(O=Lh(i)),(P-k)/O>1e5&&(v=Su.TrErrorMessage.timeStepTotal)}v===Su.nullValue&&(v=""),b(v),e.trSetting.trMaxTimeStepErrorMes=v,v?R&&R(e.trSetting.maxTimeStep):e.trSetting.maxTimeStep=l},E=()=>{e.trSetting.TransientReset(),o(e.trSetting.timeStep),n(e.trSetting.stopTime),s(e.trSetting.startTime),c(e.trSetting.maxTimeStep),u(""),m(""),f(""),b("")};return(0,Mu.jsxs)("div",{className:vm("content-sub-container"),children:[(0,Mu.jsx)("div",{className:vm("content-sub-title"),children:t("Transient analysis parameter settings")}),(0,Mu.jsxs)("div",{className:vm("content-sub-wrapper"),children:[(0,Mu.jsxs)("div",{className:vm("cell"),children:[(0,Mu.jsx)("div",{className:vm("column_left"),"data-test":"Text",children:t(EE.timeStep)}),(0,Mu.jsx)("div",{className:vm("column_middle"),children:(0,Mu.jsxs)("div",{className:vm("input-container"),children:[(0,Mu.jsx)(Kt,{style:{alignItems:"center",borderColor:d?"red":void 0},onBlur:M,maxLength:10,value:i,type:"text",onChange:N=>{w(N)}}),d&&(0,Mu.jsx)("div",{className:vm("error-message"),children:t(d)})]})}),(0,Mu.jsx)("div",{className:vm("column_right"),"data-test":"Text",children:"s"})]}),(0,Mu.jsxs)("div",{className:vm("cell"),children:[(0,Mu.jsx)("div",{className:vm("column_left"),"data-test":"Text",children:t(EE.stopTime)}),(0,Mu.jsx)("div",{className:vm("column_middle"),children:(0,Mu.jsxs)("div",{className:vm("input-container"),children:[(0,Mu.jsx)(Kt,{style:{alignItems:"center",borderColor:p?"red":void 0},value:r,maxLength:10,onBlur:I,type:"text",onChange:N=>{x(N)}}),p&&(0,Mu.jsx)("div",{className:vm("error-message"),children:t(p)})]})}),(0,Mu.jsx)("div",{className:vm("column_right"),"data-test":"Text",children:"s"})]}),(0,Mu.jsxs)("div",{className:vm("cell"),children:[(0,Mu.jsx)("div",{className:vm("column_left"),"data-test":"Text",children:t(EE.startTime)}),(0,Mu.jsx)("div",{className:vm("column_middle"),children:(0,Mu.jsxs)("div",{className:vm("input-container"),children:[(0,Mu.jsx)(Kt,{style:{alignItems:"center",borderColor:h?"red":void 0},value:a,maxLength:10,onBlur:A,type:"text",onChange:N=>{S(N)}}),h&&(0,Mu.jsx)("div",{className:vm("error-message"),children:t(h)})]})}),(0,Mu.jsx)("div",{className:vm("column_right"),"data-test":"Text",children:t("s (The available options default to zero.)")})]}),(0,Mu.jsxs)("div",{className:vm("cell"),children:[(0,Mu.jsx)("div",{className:vm("column_left"),"data-test":"Text",children:t(EE.maxTimeStep)}),(0,Mu.jsx)("div",{className:vm("column_middle"),children:(0,Mu.jsxs)("div",{className:vm("input-container"),children:[(0,Mu.jsx)(Kt,{style:{alignItems:"center",borderColor:g?"red":void 0},onBlur:D,value:l,maxLength:10,type:"text",onChange:N=>{T(N)}}),g&&(0,Mu.jsx)("div",{className:vm("error-message"),children:t(g)})]})}),(0,Mu.jsx)("div",{className:vm("column_right"),"data-test":"Text",children:t("s (Optional, default (Tstop-Tstart)/50)")})]}),(0,Mu.jsx)("div",{className:vm("bottom-btn"),children:(0,Mu.jsx)(Me,{size:"sm",type:"default",onClick:E,children:"reset default vale"})})]})]})};var cve=L(z());function cTo(t){let e=null;switch(t){case"TR":{e=(0,cve.jsx)(lTo,{});break}case"AC":{e=(0,cve.jsx)(aTo,{});break}case"DC":{e=(0,cve.jsx)(sTo,{});break}default:e=(0,cve.jsx)("div",{style:{color:"red"}})}return e}var sle=L(z()),n9d=be.bind(uTo.default.locals),{locals:GFt}=dTo.default;function NJr(t){let{menuId:e}=t;return cTo(e)}function kJr(){let t=(0,hbe.useContext)(bL),e=`${GFt["main-container"]}`,i=`${GFt["menu-wrapper"]}`,o=`${GFt["content-wrapper"]}`,[r,n]=(0,hbe.useState)(t.frameStore.currentMenuId),a=s=>{n(s),t.frameStore.currentMenuId=s};return(0,sle.jsxs)("section",{className:e,children:[(0,sle.jsx)("div",{className:i,children:(0,sle.jsx)(rTo,{menuSelected:t.frameStore.currentMenuId,onMenuSelected:a})}),(0,sle.jsx)("section",{className:o,children:(0,sle.jsx)(NJr,{menuId:r})})]})}var pTo=(0,hbe.forwardRef)(kJr);var fk=L(z()),{locals:Urt}=YFt.default,PJr=t=>{Ae(YFt.default);let{containerId:e}=t,i=J(),[o,r]=(0,Vrt.useState)(null),n=`pop-footer-wrapper ${Urt["dialog-btns-wrapper"]}`,a=`${Urt["view-loading-wrapper"]}`,s=`${Urt["view-loading"]}`,l=`rotation ${Urt["view-loading-rotation"]}`,c=async d=>{let u=o.creatNGSetting();if(d=="cancel")le.close();else if(d=="confirm"){if(u&&C.messageBus.publish("saveNGSimulationSetting",u),o.frameStore.currentMenuId){C.messageBus.publish("setNGCurrentSetting",o.frameStore.currentMenuId);let p=o.frameStore.currentMenuId,m=o.frameStore.getMultiSimRunBottonDisabled();et("setNGAnalysis",{menuId:p,startDisable:m})}le.close()}else if(d=="Run"){if(u&&C.messageBus.publish("saveNGSimulationSetting",u),o.frameStore.currentMenuId){C.messageBus.publish("setNGCurrentSetting",o.frameStore.currentMenuId);let p=o.frameStore.currentMenuId,m=o.frameStore.getMultiSimRunBottonDisabled();et("setNGAnalysis",{menuId:p,startDisable:m})}et("start_sim"),le.close()}};return Bt(()=>{c("cancel")}).close(e),(0,Vrt.useLayoutEffect)(()=>{eTo().then(d=>{r(d)})},[]),o?(0,fk.jsx)("div",{className:"pop-content-container",style:{height:"calc(100% - 46px)"},children:(0,fk.jsxs)(bL.Provider,{value:o,children:[(0,fk.jsx)(pTo,{}),(0,fk.jsx)("div",{className:n,children:(0,fk.jsx)(tTo,{handleBtnEvent:c})})]})}):(0,fk.jsx)("div",{className:"pop-content-container",style:{height:"100%"},children:(0,fk.jsx)("div",{className:a,children:(0,fk.jsx)("div",{className:s,children:(0,fk.jsx)("div",{className:l,children:(0,fk.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})})},mTo=PJr;var fTo=L(z());async function hTo(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s}=i;return le.open({id:o,title:r,width:n,height:a,closed:s,children:(0,fTo.jsx)(mTo,{containerId:o})}),le}var wTo=L(Se());var QFt=L(yTo());var WFt=class extends qe{constructor(){super();this.hasSelect=!1;this.netOptions=[];this.config=new dve}updateView(i){this.hasSelect=i.hasSelect,this.netOptions=i.netOptions,this.notify()}initData(i){this.config=new dve,this.cacheConfig&&(this.config.InSideD=this.cacheConfig.InSideD,this.config.objSpace=this.cacheConfig.objSpace,this.config.lineSpace=this.cacheConfig.lineSpace,this.config.viaSpace=this.cacheConfig.viaSpace,this.config.outSideD=this.cacheConfig.outSideD,this.config.InSideD=this.cacheConfig.InSideD,this.config.net=this.cacheConfig.net,this.config.rowCount=this.cacheConfig.rowCount,this.config.ignoreDrc=this.cacheConfig.ignoreDrc),this.hasSelect=i.hasSelect,this.netOptions=i.netOptions,this.config.outSideD=this.config.outSideD!=null?this.config.outSideD:i.outSideD,this.config.InSideD=this.config.InSideD!=null?this.config.InSideD:i.inSideD,this.notify()}cacheData(){this.cacheConfig=new dve,this.cacheConfig.InSideD=this.config.InSideD,this.cacheConfig.objSpace=this.config.objSpace,this.cacheConfig.lineSpace=this.config.lineSpace,this.cacheConfig.viaSpace=this.config.viaSpace,this.cacheConfig.outSideD=this.config.outSideD,this.cacheConfig.InSideD=this.config.InSideD,this.cacheConfig.net=this.config.net,this.cacheConfig.rowCount=this.config.rowCount,this.cacheConfig.ignoreDrc=this.config.ignoreDrc}set unit(i){this._unit=i}get net(){return this.config.net||""}set net(i){this.config.net=i.toUpperCase(),this.notify()}get unit(){return this._unit}get objSpace(){return x4(this.config.objSpace.toString(),this.unit)}set objSpace(i){let o=i+this.unit;this.config.objSpace=x4(o,"mil"),this.notify()}get lineSpace(){return x4(this.config.lineSpace.toString(),this.unit)}set lineSpace(i){let o=i+this.unit;this.config.lineSpace=x4(o,"mil"),this.notify()}get viaSpace(){return x4(this.config.viaSpace.toString(),this.unit)}set viaSpace(i){let o=i+this.unit;this.config.viaSpace=x4(o,"mil"),this.notify()}set outSideD(i){let o=i+this.unit;this.config.outSideD=x4(o,"mil"),this.notify()}set inSideD(i){let o=i+this.unit;this.config.InSideD=x4(o,"mil"),this.notify()}getConfig(){return this.config}get outSideD(){let i=this.config.outSideD==null?0:this.config.outSideD;return x4(i.toString(),this.unit)}get inSideD(){let i=this.config.InSideD==null?0:this.config.InSideD;return x4(i.toString(),this.unit)}get rowCount(){return this.config.rowCount}set rowCount(i){this.config.rowCount=i,this.notify()}get ignoreDrc(){return this.config.ignoreDrc}set ignoreDrc(i){this.config.ignoreDrc=i,this.notify()}},dve=class{constructor(){this.objSpace=np.convert(1,39.37,1),this.lineSpace=this.objSpace,this.viaSpace=this.lineSpace,this.rowCount=1,this.ignoreDrc=!1}},Hrt=new WFt;var S0=L(z());var RJr=[{text:"yes",value:"yes"},{text:"no",value:"no"}],CTo=t=>{let e=t.containerId,i=J(),o=be.bind(QFt.default.locals);Ae(QFt.default);let r=Hrt;(0,wTo.useEffect)(()=>{r.initData(t);let c=C.messageBus.subscribe("pcbviaFenceUpdate",d=>{r.updateView(d)});return l("modify"),()=>{c.cancel()}},[]),Ce(r);function n(c){switch(c){case"Object Space":return r.objSpace;case"Line Space":return r.lineSpace;case"Via Space":return r.viaSpace;case"Outside Diameter":return r.outSideD;case"Inside Diameter":return r.inSideD}}function a(c,d){switch(c){case"Object Space":r.objSpace=d,l("modify");break;case"Line Space":r.lineSpace=d;break;case"Via Space":r.viaSpace=d;break;case"Outside Diameter":r.outSideD=d;break;case"Inside Diameter":r.inSideD=d;break}}function s(c){switch(c){case"Object Space":return"line-objspace";case"Line Space":return"line-linespace";case"Via Space":return"line-viaspace";case"Outside Diameter":return"line-outside";case"Inside Diameter":return"line-inside"}}Bt(c=>{c&&(c.code==="Escape"&&l("cancel"),["Enter","NumpadEnter"].includes(c.code)&&r.hasSelect&&l("confirm"))}).keyboard(e);function l(c){let d=t.dialogId,u={};if(c!="cancel"){let p=r.getConfig();u={outSideD:p.outSideD,inSideD:p.InSideD,objSpace:p.objSpace,lineSpace:p.lineSpace,viaSpace:p.viaSpace,net:r.net,rowCount:p.rowCount,ignoreDrc:p.ignoreDrc,type:c}}oo({action:"confirm",dialogId:d,formData:u}),!(c=="preview"||c=="modify")&&(c=="confirm"&&r.cacheData(),le.close(e))}return(0,S0.jsxs)("div",{className:o("oneLineOneInputDlg"),children:[(0,S0.jsx)("div",{className:o("pop-content-wrapper"),children:(0,S0.jsxs)("div",{className:o("content border"),children:[(0,S0.jsx)("div",{className:o("content-left"),children:(0,S0.jsx)("div",{className:o("viafence-icon")})}),(0,S0.jsxs)("div",{className:o("content-right"),children:[["Object Space","Line Space","Via Space","Inside Diameter","Outside Diameter"].map(c=>{let d=`line ${s(c)}`;return(0,S0.jsxs)("div",{className:o(d),children:[(0,S0.jsx)("div",{className:o("name"),title:i(c),"data-test":c,children:i(c)}),(0,S0.jsx)("div",{className:o("value"),children:(0,S0.jsx)("div",{children:(0,S0.jsx)(or,{value:n(c),inputUnit:r.unit,originUnit:r.unit,onChange:u=>{a(c,Number(u))}})})})]},c)}),(0,S0.jsxs)("div",{className:o("line"),children:[(0,S0.jsx)("div",{className:o("name"),title:i("Net")+":","data-test":"Net",children:i("Net")}),(0,S0.jsx)("div",{className:o("value"),children:(0,S0.jsx)("div",{className:o("filetype"),children:(0,S0.jsx)(_1e,{value:r.net,selectList:ue.naturalSort(r.netOptions,"value").map(c=>c.value),clear:!0,onClearClick:()=>{r.net!=""&&(r.net="")},onChange:c=>{r.net=c},showDropDownIcon:!0})})})]}),(0,S0.jsxs)("div",{className:o("line"),children:[(0,S0.jsx)("div",{className:o("name"),title:i("Row Count")+":","data-test":"Row Count",children:i("Row Count")}),(0,S0.jsx)("div",{className:o("value"),children:(0,S0.jsx)("div",{className:o("filetype"),children:(0,S0.jsx)(or,{value:r.rowCount.toString(),inputUnit:r.unit,originUnit:r.unit,hiddenUnit:!0,positive:!0,onChange:c=>{let d=$s(c).toString(),u=Math.round(parseFloat(d));r.rowCount=u}})})})]}),(0,S0.jsxs)("div",{className:o("line"),children:[(0,S0.jsx)("div",{className:o("name"),title:i("Ignore DRC")+":","data-test":"Ignore DRC",children:i("Ignore DRC")}),(0,S0.jsx)("div",{className:o("value"),children:(0,S0.jsx)("div",{className:o("filetype"),children:(0,S0.jsx)(xt,{list:RJr,value:r.ignoreDrc?"yes":"no",onChange:c=>{r.ignoreDrc=c=="yes"},style:{width:"100%"}})})})]})]})]})}),(0,S0.jsxs)("div",{className:o("pop-footer-wrapper dialog-foot dialog-button"),children:[(0,S0.jsx)(Me,{style:{marginRight:"8px",position:"absolute",left:0,top:0},onClick:()=>l("preview"),disabled:!r.hasSelect,dataTest:"Preview",children:i("Preview")}),(0,S0.jsx)(Me,{type:"primary",style:{marginRight:"8px"},disabled:!r.hasSelect,onClick:()=>l("confirm"),dataTest:"Apply",children:i("Apply")}),(0,S0.jsx)(Me,{onClick:()=>l("cancel"),dataTest:"Cancel",children:i("Cancel")})]})]})};var TTo=L(z()),xTo=async function(t,e){let i=bt[t],{containerId:o,title:r,width:n,closed:a,mask:s,esc:l}=i,c=Hrt;c.unit=e.unit,le.open({id:o,title:r,width:n,closed:a,mask:s,esc:l,children:(0,TTo.jsx)(CTo,{containerId:o,...e}),onClose:()=>{oo({action:"confirm",dialogId:e.dialogId,formData:{type:"cancel"}}),le.close(o)}})};var Eee=L(Se());var LTo=L(fbe());var KFt=class extends qe{constructor(){super(...arguments);this.headerDeleteDialogContainerId="headerDeleteDialogContainer";this._scriptListData=null;this._showScriptListData=null;this._selectListItemIndex=new Set;this._searchValue=""}get selectListItemIndex(){return this._selectListItemIndex}get showScriptListData(){return this._showScriptListData||[]}get searchValue(){return this._searchValue}set searchValue(i){if(this._searchValue=i,i){let o=new RegExp(this.regEncode(i),"i");this._showScriptListData=this._scriptListData.filter(r=>r.name.search(o)!=-1)}else this._showScriptListData=this._scriptListData;this._selectListItemIndex.clear(),this.notify()}addScriptList(i){this._scriptListData=this._scriptListData.concat(i),this._showScriptListData=this._showScriptListData.concat(i),this.notify()}updateScriptList(i){i.forEach(o=>{let r=this._scriptListData.find(a=>a.name===o.name);r&&(r.script=o.script);let n=this._showScriptListData.find(a=>a.name===o.name);n&&(n.script=o.script)})}addListItemIndex(i,o=!0){this._selectListItemIndex.add(i),o&&this.notify()}deleteListItemIndex(i){this._selectListItemIndex.delete(i),this.notify()}hasListItemIndex(i){return this._selectListItemIndex.has(i)}clearListItemIndex(){this._selectListItemIndex.clear()}get maxAndMinSelectIndex(){if(this._selectListItemIndex.size>0)return this._selectListItemIndex.size===1?{onlyOneSelectIndex:Array.from(this._selectListItemIndex)[0]}:{firstSelectIndex:Array.from(this._selectListItemIndex).shift(),lastSelectIndex:Array.from(this._selectListItemIndex).pop()}}async exportScriptList(){let i=[];this._selectListItemIndex.forEach(o=>{i.push(this._scriptListData[o].name)});try{await C.extensionApiMessageBus2.rpcCall("extensionApi.exportStandaloneScripts",i)}catch(o){console.error(o,"extensionApi.exportStandaloneScripts\u63A5\u53E3\u62A5\u9519")}}async deleteScriptList(){let i=[];this._selectListItemIndex.forEach(o=>{i.push(this._scriptListData[o].name)});try{await C.extensionApiMessageBus2.rpcCall("extensionApi.deleteStandaloneScripts",i),i.forEach(o=>{this._scriptListData=this._scriptListData.filter(r=>r.name!==o),this._showScriptListData=this._showScriptListData.filter(r=>r.name!==o)}),this.selectListItemIndex.clear(),this.notify()}catch(o){console.error(o,"extensionApi.deleteStandaloneScripts\u63A5\u53E3\u62A5\u9519")}}async runScriptListItem(){if(this._selectListItemIndex.size===0||this._selectListItemIndex.size>1)return De({type:"info",msg:"Please select a script"});if(this._selectListItemIndex.size===1){let i=this._scriptListData[Array.from(this._selectListItemIndex)[0]];await C.extensionApiMessageBus2.rpcCall("extensionApi.runStandaloneScript",{scriptName:i.name,scriptCode:i.script})}}undateScriptName(i,o){let r=this._scriptListData.find(n=>n.name===i);r.name=o,this.notify()}async initDialog(){try{let i=await C.extensionApiMessageBus2.rpcCall("extensionApi.getAllStandaloneScripts");i&&(this._scriptListData=i,this._showScriptListData=this._scriptListData)}catch(i){console.error(i,"extensionApi.getAllStandaloneScripts\u63A5\u53E3\u62A5\u9519")}}regEncode(i){let o=/[\[\(\$\^\.\]\*\\\?\+\{\}\\|\)]/gi;return i.replace(o,r=>`\\${r}`)}closeDialog(){this._scriptListData=null,this._showScriptListData=null,this._selectListItemIndex.clear(),this._searchValue=""}async refreshDialog(){this._scriptListData=null,this._showScriptListData=null,await this.initDialog(),this.notify()}},za=new KFt;var ZFt=class extends qe{constructor(){super(...arguments);this.createNewScriptDialogContainerId="createNewScriptDialogContainer";this.notSaveTipsDialogContainerId="notSaveTipsDialogContainer";this.runScriptWithScriptMangerId="runScriptWithScriptManger";this.userScriptEditor=void 0;this._userScript=Wse;this._scriptTitle="New Script";this._isSaveAsIcon=!1;this.notifySetUseScript=0;this._docContentChange=!1}get isSaveAsIcon(){return this._isSaveAsIcon}set isSaveAsIcon(i){this._isSaveAsIcon=i}get userScript(){return this._userScript}set userScript(i){this._userScript=i,this.notifySetUseScript++,this.notify()}get scriptTitle(){return this._scriptTitle}get docContentChange(){return this._docContentChange}set docContentChange(i){this._docContentChange=i}setScriptTitle(i,o=!0){this._scriptTitle=i,o&&this.notify()}async runScriptItem(i){try{await C.extensionApiMessageBus2.rpcCall("extensionApi.runStandaloneScript",i)}catch(o){console.error(o,"extensionApi.runStandaloneScript\u63A5\u53E3\u62A5\u9519")}}async saveCreateNewScirptDialog(i,o=!1){try{let r=this.userScriptEditor.state.doc.toString();await C.extensionApiMessageBus2.rpcCall("extensionApi.saveStandaloneScript",{scriptName:i,scriptCode:r,replace:o}),this._isSaveAsIcon&&(await za.refreshDialog(),this._docContentChange=!1)}catch(r){console.error(r,"extensionApi.saveStandaloneScript\u63A5\u53E3\u62A5\u9519")}}initDialog(i){i.scriptCode&&(this._userScript=i.scriptCode),i.scriptName&&(this._isSaveAsIcon=!0,this._scriptTitle=i.scriptName),this._docContentChange=!1}closeDialog(){this._userScript=Wse,this.userScriptEditor=void 0,this._scriptTitle="New Script",this._isSaveAsIcon=!1,this._docContentChange=!1}},Fa=new ZFt;var MTo=L(Se());var qFt=L(fbe());var nF=L(z()),JFt=be.bind(qFt.default.locals),Dee=t=>{let{saveCb:e,dialogTitle:i,inputValue:o}=t;le.open({id:Fa.createNewScriptDialogContainerId,title:i,width:400,closed:!0,mask:!0,esc:!0,children:(0,nF.jsx)(_Jr,{saveCb:e,inputValue:o})})},_Jr=t=>{Ae(qFt.default);let{saveCb:e,inputValue:i}=t,[o,r]=(0,MTo.useState)(i!=null?i:""),n=J();return(0,nF.jsxs)("div",{className:JFt("newScript-cotainer"),children:[(0,nF.jsxs)("div",{className:JFt("main"),children:[(0,nF.jsxs)("span",{children:[n("Name"),":"]}),(0,nF.jsx)(Kt,{value:o?ue.htmlDecode(o):"",style:{width:"90%"},autoFocus:!0,onChange:a=>{r(s=>ue.htmlEncode(a))}})]}),(0,nF.jsxs)("div",{className:JFt("footer"),children:[(0,nF.jsx)(Me,{style:{marginRight:"8px"},type:"primary",onClick:async()=>{if(o.trim().length===0){De({type:"info",msg:"Please Input Name"});return}e&&await e(o),le.close(Fa.createNewScriptDialogContainerId)},children:"Save"}),(0,nF.jsx)(Me,{onClick:()=>{le.close(Fa.createNewScriptDialogContainerId)},children:"Cancel"})]})]})};var uve=L(z()),ITo=be.bind(LTo.default.locals),vTo=()=>{Ce(Fa);let t=(0,Eee.useRef)(null),e=(0,Eee.useRef)(null),i=(0,Eee.useMemo)(()=>Ir.theme({"&":{height:"100%"}}),[]);return(0,Eee.useEffect)(()=>{if(!e.current)return;let o={key:"Ctrl-s",run:({state:n,dispatch:a})=>(Dee({dialogTitle:"Create New Script",saveCb:async s=>{Fa.setScriptTitle(s),await Fa.saveCreateNewScirptDialog(s)}}),!0)},r=Fa.userScript;return Fa.userScriptEditor=new Ir({state:vd.create({extensions:[lot,_ot,YO.of([...Use,aot,o]),yot(),vd.allowMultipleSelections.of(!1),vd.tabSize.of(4),vd.readOnly.of(!1),Ir.editable.of(!0),i,Ir.updateListener.of(n=>{n.docChanged&&(n.state.doc.toString()!==r?Fa.docContentChange=!0:Fa.docContentChange=!1)})],doc:Fa.userScript}),parent:e.current}),()=>{Fa.userScriptEditor&&Fa.userScriptEditor.destroy()}},[Fa.notifySetUseScript]),(0,Eee.useEffect)(()=>{if(t.current)return t.current.addEventListener("keydown",o=>{o.stopPropagation()},!1),()=>{try{t.current&&t.current.removeEventListener("keydown",o=>{o.stopPropagation()},!1)}catch(o){console.error(o)}}},[]),(0,uve.jsxs)("div",{ref:t,className:ITo("editor"),children:[(0,uve.jsx)("style",{children:`
				/* \u8BBE\u7F6E CodeMirror \u7F16\u8F91\u5668\u7684\u5B57\u4F53\u4E3A Courier New */
				.cm-scroller {
					font-family: 'Courier New', Courier, monospace !important;
				}
               `}),(0,uve.jsx)("div",{ref:e,className:ITo("editor-edit")})]})};var DTo=L(Se()),ETo=L(fbe());var gbe=L(z()),Yrt=be.bind(ETo.default.locals),ATo=()=>{Ce(Fa);let t=J(),{scriptTitle:e}=Fa,i=(0,DTo.useMemo)(()=>Fa.isSaveAsIcon?[{key:"save",iconClassName:"icon-eda-save",hoverTitle:"Save"},{key:"saveAs",iconClassName:"icon-eda-save-as",hoverTitle:"Save As"}]:[{key:"save",iconClassName:"icon-eda-save",hoverTitle:"Save"}],[Fa.isSaveAsIcon]),o=async r=>{switch(r){case"save":Fa.isSaveAsIcon?await Fa.saveCreateNewScirptDialog(e,!0):Dee({dialogTitle:"Create New Script",saveCb:async n=>{Fa.setScriptTitle(n),await Fa.saveCreateNewScirptDialog(n)}}),Fa.docContentChange=!1;break;case"saveAs":Dee({dialogTitle:"Create New Script",saveCb:async n=>{Fa.setScriptTitle(n),await Fa.saveCreateNewScirptDialog(n)}});break;default:break}};return(0,gbe.jsxs)("div",{className:Yrt("header"),children:[(0,gbe.jsx)("div",{className:Yrt("header-left"),children:i.map(r=>(0,gbe.jsx)("div",{className:Yrt("header-icon-item",r.iconClassName),title:t(r.hoverTitle),onClick:async()=>{await o(r.key)}},r.key))}),(0,gbe.jsx)("div",{className:Yrt("header-right"),children:t(e)})]})};var XFt=L(Se()),NTo=L(Vi()),kTo=L(fbe());var AE=L(z()),bbe=be.bind(kTo.default.locals),jJr=(()=>{if(!window.FileReader)return()=>{Dt({icon:"warning",closed:!0,content:"Your browser cannot run this function."})};let t={multiple:!1,accept:".js",fileFilter:function(i){return/\.(js)$/i.test(i.name)},onValidate:function(i){i||Dt({icon:"warning",closed:!0,content:"Please select js files."})},onSelectFiles:i=>{let o=i[0];if(!o)return;let r=new FileReader;r.readAsText(o),r.onload=n=>{let a=n.target.result;if(!a){De({type:"error",msg:"Imported file is empty!"});return}Fa.userScript=a,Fa.setScriptTitle(o.name.replace(/\.[^/.]+$/,""))}}},e;return()=>{e||(e=nu.instance((0,NTo.default)("<br>")).config(t)),e.openSelect()}})(),PTo=t=>{let{containerId:e}=t,i=J(),o=(0,XFt.useMemo)(()=>[{key:"Import",btnType:"default",children:"Import",class:bbe("footer-item-btn"),dataTest:"Import"},{key:"Export",btnType:"default",children:"Export",dataTest:"Export"}],[]),r=(0,XFt.useMemo)(()=>[{key:"Run",btnType:"primary",children:`${i("Run")}(F9)`,class:bbe("footer-item-btn"),dataTest:"Run"},{key:"Cancel",btnType:"default",children:"Cancel",class:bbe("footer-item-btn"),dataTest:"Cancel"},{key:"Help",btnType:"default",children:"Help",dataTest:"Help"}],[]),n=async a=>{switch(a){case"Import":jJr();break;case"Export":let s=Fa.userScriptEditor.state.doc.toString();s.trim().length>0?await C.extensionApiMessageBus2.rpcCall("extensionApi.exportStandaloneScript",{scriptName:Fa.scriptTitle,scriptCode:s}):De({type:"info",msg:"No Data!"});break;case"Run":let l={scriptCode:Fa.userScriptEditor.state.doc.toString()};Fa.scriptTitle&&(l.scriptName=Fa.scriptTitle),await Fa.runScriptItem(l);break;case"Cancel":Fa.docContentChange?Dt({id:Fa.notSaveTipsDialogContainerId,content:"Your script hasn't been saved. Would you like to save it now?",footer:(0,AE.jsxs)(AE.Fragment,{children:[(0,AE.jsx)(Me,{type:"primary",size:"md",onClick:async()=>{await Fa.saveCreateNewScirptDialog(Fa.scriptTitle,!0),le.close(Fa.notSaveTipsDialogContainerId)},children:"Save"}),(0,AE.jsx)(Me,{type:"primary",size:"md",onClick:()=>{le.close(Fa.notSaveTipsDialogContainerId),Fa.userScriptEditor&&Fa.userScriptEditor.destroy(),Fa.closeDialog(),le.close(e)},children:"Don't Save"}),(0,AE.jsx)(Me,{size:"md",onClick:()=>{le.close(Fa.notSaveTipsDialogContainerId)},children:"Cancel"})]}),onClose:()=>{le.close(Fa.notSaveTipsDialogContainerId)}}):(Fa.userScriptEditor&&Fa.userScriptEditor.destroy(),Fa.closeDialog(),le.close(e));break;case"Help":vo&&window.open("https://prodocs.easyeda.com/en/api/guide/","_blank"),Xr&&window.open("https://prodocs.lceda.cn/cn/api/guide/","_blank");break;default:break}};return Bt(({key:a})=>{a==="F9"&&n("Run")}).keyboard(e),Bt(async()=>{await n("Cancel")}).close(e),(0,AE.jsxs)("div",{className:bbe("footer"),children:[(0,AE.jsx)("div",{className:bbe("footer-left"),children:o.map(a=>{var s;return(0,AE.jsx)(Me,{type:a.btnType,class:(s=a.class)!=null?s:"",size:"md",dataTest:a.dataTest,onClick:async()=>{await n(a.key)},children:a.children},a.key)})}),(0,AE.jsx)("div",{className:bbe("footer-right"),children:r.map(a=>{var s;return(0,AE.jsx)(Me,{type:a.btnType,size:"md",class:(s=a.class)!=null?s:"",dataTest:a.dataTest,onClick:async()=>{await n(a.key)},children:a.children},a.key)})})]})};var $Ft=L(fbe());var ybe=L(z()),BJr=be.bind($Ft.default.locals),zJr=t=>{Ae($Ft.default);let{containerId:e}=t;return(0,ybe.jsxs)("div",{className:BJr("container"),children:[(0,ybe.jsx)(ATo,{}),(0,ybe.jsx)(vTo,{}),(0,ybe.jsx)(PTo,{containerId:e})]})},eUt=zJr;var tUt=L(z()),OTo=async function(t,e){let i=bt[t],{containerId:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,resize:d}=i;Fa.initDialog(e),le.open({id:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,resize:d,children:(0,tUt.jsx)(eUt,{containerId:o})})},Wrt=async t=>{let e=bt.run_script,{title:i,width:o,height:r,closed:n,mask:a,esc:s,resize:l}=e;Fa.initDialog(t),le.open({id:Fa.runScriptWithScriptMangerId,title:i,width:o,height:r,closed:n,mask:a,esc:s,resize:l,remove:!1,visibilityChange:c=>{c&&(Fa.userScript=t.scriptCode)},children:(0,tUt.jsx)(eUt,{containerId:Fa.runScriptWithScriptMangerId})})};var pve=L(Se());var iUt=L(eC());var wL=L(z()),FJr=({option:t})=>{let{containerId:e,dialogId:i,docType:o,uuid:r=gi(),onConfirm:n,onCancel:a,unOpen:s,isActive:l}=t,c=J(),d=o===ve.PCB,[u,p]=(0,pve.useState)([]),[m,h]=(0,pve.useState)("new"),f=async()=>{let w=null,x=null,S=null,T=C.currentProject.projectId;vt(.01,"auto pcb");try{let M=u.filter(A=>A.uuid===m)[0],I=m==="new"?u[0].board:u[0].board||M.board;if(d)if(m==="new"){let{message:A}=await C.messageBus.rpcCall("createNew_InSCH",{cmd:"new_schematic",args:{projectId:T,pcbUuid:r},options:{unOpen:!0,isActive:l}});w=A.sheet.uuid,S=A.schematic.uuid,await C.messageBus.rpcCall("set_as_new_Board",{schematicUuid:S,pcbUuid:r,boardName:A.schematic.display_name,forceBoardUuid:I})}else S=M.uuid,await C.messageBus.rpcCall("set_as_new_Board",{schematicUuid:M.uuid,pcbUuid:r,boardName:M.currentDisplayTitle,forceBoardUuid:I}),w=M.sheetUuid;else if(m==="new"){let{message:A}=await C.messageBus.rpcCall("createNew_InSCH",{cmd:"new_PCB",args:{projectId:T,schematicId:r,board:u[0].board,unOpen:s},options:{isActive:l}});x=A.pcb.uuid,await C.messageBus.rpcCall("set_as_new_Board",{schematicUuid:u[0].currentSchematicId,pcbUuid:A.pcb.uuid,boardName:A.pcb.display_title,forceBoardUuid:I})}else await C.messageBus.rpcCall("set_as_new_Board",{schematicUuid:M.currentSchematicId,pcbUuid:M.uuid,board:M.board,boardName:M.currentDisplayTitle,forceBoardUuid:I}),x=M.uuid;vt(.4,"auto pcb"),await C.messageBus.rpcCall("passProjectEnd"),n({pcbUuid:x,sheetUuid:w,schematicId:S})}finally{le.close(e),vt(1,"auto pcb")}},g=async()=>{a(),le.close(e)};Bt(({code:w})=>{w==="Escape"&&g()}).keyboard(e),(0,pve.useEffect)(()=>{(async()=>{let x=[],S=null,T=new Map,{schematicInfo:M,pcbInfo:I,boards:A,currentSchematicId:D,currentPcbUuid:E,sheetUuid:N}=(await C.messageBus.rpcCall("getAllBoardTitlebyTabId",r)).message;it(A,(R,v)=>{let{sch:k,pcb:P,name:O,uuid:_}=v;T.set(_,O),(k===D||P===E)&&(S=_)}),d?it(M,(R,v)=>{D===R&&(S=v.board);let k=T.get(v.board);x.push({uuid:R,label:v.displayTitle+(k?"."+k:""),board:v.board,pcb:v.pcb,currentPcbUuid:E,currentSchematicId:D,sheetUuid:v.sheetUuid,currentDisplayTitle:v.displayTitle})}):it(I,(R,v)=>{E===R&&(S=v.board);let k=T.get(v.board);x.push({uuid:R,label:v.displayTitle+(k?"."+k:""),board:v.board,schematicId:v.pcb,currentPcbUuid:E,currentSchematicId:D,currentDisplayTitle:v.displayTitle})}),x=ue.naturalSort(x,"board"),x.unshift({uuid:"new",label:d?"Create a new schematic and place it on the same board":"Create a new PCB and place it on the same board",currentPcbUuid:E,currentSchematicId:D,board:S}),p(x)})()},[]),Ae(iUt.default);let y=be.bind(iUt.default.locals)(d?"icon-eda-schematic icon-color-blue":"icon-eda-pcb icon-color-green");return(0,wL.jsxs)("div",{className:"pop-content-container",style:{height:"auto"},children:[(0,wL.jsxs)("div",{style:{position:"relative",marginBottom:"16px",width:"100%"},children:[(0,wL.jsx)("div",{className:"messager-icon messager-error"}),(0,wL.jsxs)("div",{style:{minHeight:0},children:[(0,wL.jsx)("p",{className:"i18n",children:c("The schematic diagram and PCB need to be under the same board to use this feature.")}),(0,wL.jsx)("p",{children:d?`${c("Select the schematics that need to be placed on the same board")}:`:`${c("Select the PCB that need to be placed on the same board")}:`})]}),(0,wL.jsx)($i,{value:m,onChange:(w,x)=>h(w),layoutVertical:!0,subRadioStyle:{lineHeight:"24px",marginTop:"8px",marginBottom:0},style:{maxHeight:"200px",overflow:"auto",paddingLeft:"25px"},children:u.map(w=>(0,wL.jsxs)(nn,{value:w.uuid,children:[(0,wL.jsx)("span",{className:`${y} tree-icon`,style:{width:"16px",height:"16px",margin:"0 4px"}}),c(w.label)]},w.uuid))})]}),(0,wL.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,wL.jsx)(ml,{type:"primary",style:{marginRight:"8px"},class:"i18n",onClick:()=>f(),children:"Confirm"}),(0,wL.jsx)(ml,{onClick:()=>g(),class:"i18n",children:"Cancel"})]})]})},RTo=FJr;var jTo=L(z());async function _To(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i,s,l=new Promise(d=>s=d),c={...t,onConfirm:d=>{var u;(u=t.onConfirm)==null||u.call(t,d),s({confirm:!0,sheetUuid:d.sheetUuid||null,pcbUuid:d.pcbUuid||null,schematicId:d.schematicId||null})},onCancel:()=>{var d;(d=t.onCancel)==null||d.call(t),s({confirm:!1,sheetUuid:null,pcbUuid:null})}};return le.open({id:o,title:r,width:n,closed:a,children:(0,jTo.jsx)(RTo,{option:c})}),l}var nUt=L(wbe());var VTo=L(Se()),HTo=L(wbe());var zTo=L(Se()),FTo=L(wbe());var Tx=L(z()),tR=be.bind(FTo.default.locals),UJr=t=>{let{scriptNameList:e}=t,i=J(),[o,r]=(0,zTo.useState)(!1);return(0,Tx.jsxs)("div",{className:tR("header-delete-dialog-container"),children:[(0,Tx.jsxs)("div",{className:tR("main"),children:[(0,Tx.jsxs)("div",{className:tR("tip"),children:[(0,Tx.jsx)("span",{className:tR("tip-icon")}),(0,Tx.jsx)("span",{className:tR("tip-content"),children:i("You are trying to delete the document as below, this operation cannot be undone, please be careful!")})]}),(0,Tx.jsxs)("div",{className:tR("delete-list-data"),children:[(0,Tx.jsxs)("div",{className:tR("left"),children:[i("Script"),":"]}),(0,Tx.jsx)("div",{className:tR("right"),children:e.join("\u3001")})]})]}),(0,Tx.jsxs)("div",{className:tR("footer"),children:[(0,Tx.jsx)("div",{className:tR("footer-left"),children:(0,Tx.jsx)(qt,{checked:o,onChange:n=>{r(n)},children:i("I got it, continue to delete.")})}),(0,Tx.jsxs)("div",{className:tR("footer-right"),children:[(0,Tx.jsx)(Me,{type:"primary",style:{marginRight:"8px"},disabled:!o,onClick:async()=>{await za.deleteScriptList(),le.close(za.headerDeleteDialogContainerId)},children:"Delete"}),(0,Tx.jsx)(Me,{onClick:()=>{le.close(za.headerDeleteDialogContainerId)},children:"Cancel"})]})]})]})},UTo=t=>{le.open({id:za.headerDeleteDialogContainerId,title:"Warning",width:450,mask:!0,children:(0,Tx.jsx)(UJr,{scriptNameList:t})})};var Qrt=L(z()),oUt=be.bind(HTo.default.locals),GTo=()=>{Ce(za);let t=J(),e=(0,VTo.useMemo)(()=>{let{selectListItemIndex:o}=za;return[{key:"add",iconClass:"icon-eda-folder-new",hoverTitle:"Add To",disable:!1},{key:"delete",iconClass:"icon-eda-delete-trash",hoverTitle:"Delete",disable:o.size===0},{key:"modify",iconClass:"icon-eda-edit",hoverTitle:"Modify",disable:o.size===0||o.size>1},{key:"edit",iconClass:"icon-eda-code",hoverTitle:"Edit",disable:o.size===0||o.size>1},{key:"export",iconClass:"icon-eda-export",hoverTitle:"Export",disable:o.size===0}]},[za.selectListItemIndex.size]),i=async o=>{switch(o){case"add":Dee({dialogTitle:"Create New Script",saveCb:async s=>{try{if(za.showScriptListData.findIndex(d=>d.name===s)!==-1){De({type:"error",msg:"Save failed, already exist the same name script"});return}if(await C.extensionApiMessageBus2.rpcCall("extensionApi.saveStandaloneScript",{scriptName:s,scriptCode:Wse,replace:!1})){let d=await C.extensionApiMessageBus2.rpcCall("extensionApi.getStandaloneScript",s);za.addScriptList([d]),za.clearListItemIndex(),za.addListItemIndex(za.showScriptListData.findIndex(u=>u.name===s)),await i("edit")}}catch(l){console.error(l,"extensionApi.saveStandaloneScript\u6216\u8005extensionApi.getStandaloneScript\u63A5\u53E3\u62A5\u9519")}}});break;case"delete":let r=[];za.selectListItemIndex.forEach(s=>{r.push(za.showScriptListData[s].name)}),UTo(r);break;case"modify":let n=za.showScriptListData[Array.from(za.selectListItemIndex)[0]];Dee({dialogTitle:"Modify Script",inputValue:n.name,saveCb:async s=>{if(!s){new Fi({type:"warn",msg:"The name can not be empty!"});return}try{if(n.name===s){new Fi({type:"info",msg:"The name already exists, please modify"});return}await C.extensionApiMessageBus2.rpcCall("extensionApi.modifyStandaloneScriptName",{originScriptName:n.name,scriptName:s})&&za.undateScriptName(n.name,s)}catch(l){console.error(l,"extensionApi.modifyStandaloneScriptName\u63A5\u53E3\u62A5\u9519")}}});break;case"edit":let a=za.showScriptListData[Array.from(za.selectListItemIndex)[0]];await Wrt({scriptName:a.name,scriptCode:a.script});break;case"export":await za.exportScriptList();break;default:break}};return(0,Qrt.jsx)("div",{className:oUt("header"),children:e.map(o=>(0,Qrt.jsx)("div",{className:oUt("header-icon-item",{disabled:o.disable}),title:t(o.hoverTitle),onClick:async()=>{o.disable||await i(o.key)},children:(0,Qrt.jsx)("span",{className:oUt(o.iconClass)})},o.key))})};var YTo=L(Se()),WTo=L(wbe());var aF=L(z()),mve=be.bind(WTo.default.locals),QTo=()=>{Ce(za);let t=J();return(0,aF.jsxs)("div",{className:mve("script-list"),children:[(0,aF.jsx)("div",{className:mve("search"),children:(0,aF.jsx)(Ws,{onUpdateInputValue:e=>{za.searchValue=e},onConfirm:e=>{za.searchValue=e}})}),(0,aF.jsxs)("div",{className:mve("list-data"),children:[za.showScriptListData.length>0&&(0,aF.jsx)(Gtt,{itemCount:za.showScriptListData.length,onLastShow:()=>{},getChildHeight:e=>24,Item:({index:e})=>(0,aF.jsx)(VJr,{listItemIndex:e,...za.showScriptListData[e]},e)}),za.showScriptListData.length===0&&(0,aF.jsx)("div",{className:mve("no-data"),children:t("No Data!")})]})]})},VJr=t=>{let{name:e,listItemIndex:i}=t,o=(0,YTo.useRef)(null),r=()=>{za.clearListItemIndex(),za.addListItemIndex(i)},n=()=>{za.hasListItemIndex(i)?za.deleteListItemIndex(i):za.addListItemIndex(i)},a=()=>{let l=za.maxAndMinSelectIndex;if(l){let{onlyOneSelectIndex:c,firstSelectIndex:d,lastSelectIndex:u}=l;if(c)za.showScriptListData.forEach((p,m)=>{i>=c?m>c&&m<i&&za.addListItemIndex(m,!1):m>i&&m<c&&za.addListItemIndex(m,!1)}),za.addListItemIndex(i);else{if(u<d){let h=d;d=u,u=h}u=i>Math.max(d,u)?d:u;let[p,m]=[u,i].sort((h,f)=>h-f);za.clearListItemIndex(),Array.from({length:m-p}).forEach((h,f)=>{za.addListItemIndex(p+f,!1)}),za.addListItemIndex(i)}}else r()},s=async l=>{if(o.current&&clearTimeout(o.current),l.stopPropagation(),l.detail===2){za.hasListItemIndex(i)||za.addListItemIndex(i);let c=za.showScriptListData[i];await Wrt({scriptName:c.name,scriptCode:c.script})}else o.current=setTimeout(()=>{l.ctrlKey?n():l.shiftKey?a():r(),o.current=null},200)};return(0,aF.jsx)("div",{className:mve("script-item",{selected:za.hasListItemIndex(i)}),onClick:s,onPointerDown:l=>{l.shiftKey&&l.preventDefault()},children:nAt(e,za.searchValue)},e)};var KTo=L(Vi()),ZTo=L(wbe());var kW=L(z()),rUt=be.bind(ZTo.default.locals),HJr=(()=>{if(!window.FileReader)return()=>{Dt({icon:"warning",closed:!0,content:"Your browser cannot run this function."})};let t={multiple:!0,accept:".js",fileFilter:function(i){return/\.(js)$/i.test(i.name)},onValidate:function(i){i||Dt({icon:"warning",closed:!0,content:"Please select js files."})},onSelectFiles:async i=>{try{let o=await C.extensionApiMessageBus2.rpcCall("extensionApi.importStandaloneScriptFiles",i);if(o.length>0){let r=o.filter(a=>a.status==="saved");if(r.length>0){let a=[];await Ro(r,async(s,l)=>{let c=await C.extensionApiMessageBus2.rpcCall("extensionApi.getStandaloneScript",l.name);a.push(c)}),za.addScriptList(a)}let n=o.filter(a=>a.status==="replaced");if(n.length>0){let a=[];await Ro(n,async(s,l)=>{let c=await C.extensionApiMessageBus2.rpcCall("extensionApi.getStandaloneScript",l.name);a.push(c)}),za.updateScriptList(a)}}}catch(o){console.error(o,"extensionApi.importStandaloneScriptFiles\u63A5\u53E3\u62A5\u9519")}}},e;return()=>{e||(e=nu.instance((0,KTo.default)("<br>")).config(t)),e.openSelect()}})(),JTo=t=>{let{containerId:e}=t,i=async o=>{switch(o){case"Import":HJr();break;case"Run":await za.runScriptListItem();break;case"Cancel":za.closeDialog(),le.close(e);break;case"Help":vo&&window.open("https://prodocs.easyeda.com/en/api/guide/","_blank"),Xr&&window.open("https://prodocs.lceda.cn/cn/api/guide/","_blank");break;default:break}};return(0,kW.jsxs)("div",{className:rUt("footer"),children:[(0,kW.jsx)("div",{className:rUt("footer-left"),children:(0,kW.jsx)(Me,{onClick:async()=>{await i("Import")},children:"Import"})}),(0,kW.jsxs)("div",{className:rUt("footer-right"),children:[(0,kW.jsx)(Me,{style:{marginRight:"8px"},onClick:async()=>{await i("Run")},type:"primary",children:"Run"}),(0,kW.jsx)(Me,{style:{marginRight:"8px"},onClick:async()=>{await i("Cancel")},children:"Cancel"}),(0,kW.jsx)(Me,{onClick:async()=>{await i("Help")},children:"Help"})]})]})};var Cbe=L(z()),GJr=be.bind(nUt.default.locals),YJr=t=>{Ae(nUt.default);let{containerId:e}=t;return Bt(()=>{za.closeDialog(),le.close(e)}).close(e),(0,Cbe.jsxs)("div",{className:GJr("container"),children:[(0,Cbe.jsx)(GTo,{}),(0,Cbe.jsx)(QTo,{}),(0,Cbe.jsx)(JTo,{containerId:e})]})},qTo=YJr;var $To=L(z()),XTo=async function(t,e){let i=bt[t],{containerId:o,title:r,width:n,height:a,closed:s,mask:l}=i;await za.initDialog(),le.open({id:o,title:r,width:n,height:a,closed:s,mask:l,children:(0,$To.jsx)(qTo,{containerId:o})})};var cUt=L(t5o());var i5o=[{text:"Confirm",type:"primary",style:{marginRight:"8px"},command:"confirm"},{text:"Cancel",command:"cancel"}];var a5o=L(Hr());var U5=L(Se());var lUt=L(r5o());var aUt=L(Vi());var sUt=class{constructor(){this.mediaRecorder=null;this.stream=null;this.recordedChunks=[];this.isRecording=!1}async startRecording(){return new Promise(async(e,i)=>{try{try{this.stream=await navigator.mediaDevices.getDisplayMedia({video:{displaySurface:"window"},audio:!0})}catch{this.stream=await navigator.mediaDevices.getDisplayMedia({video:!0,audio:!0})}let o={mimeType:"video/mp4;codecs=avc1"};try{this.mediaRecorder=new MediaRecorder(this.stream,o)}catch(r){console.warn("MP4\u4E0D\u652F\u6301\uFF0C\u5C1D\u8BD5WebM:",r);try{this.mediaRecorder=new MediaRecorder(this.stream,{mimeType:"video/webm"})}catch(n){console.warn("WebM\u4E5F\u4E0D\u652F\u6301\uFF0C\u4F7F\u7528\u6D4F\u89C8\u5668\u9ED8\u8BA4\u683C\u5F0F:",n),this.mediaRecorder=new MediaRecorder(this.stream)}}this.recordedChunks=[],this.mediaRecorder.ondataavailable=r=>{r.data.size>0&&this.recordedChunks.push(r.data)},this.mediaRecorder.onstop=()=>{this.stopRecording(),this.downloadVideo(),this.handleClose&&this.handleClose()},this.mediaRecorder.start(),e()}catch(o){i(o)}})}stopRecording(){if(this.mediaRecorder&&this.stream){this.mediaRecorder.stop();for(let e of this.stream.getTracks())e.stop()}}getFileInfo(e){let i=new Blob(this.recordedChunks,{type:this.recordedChunks[0].type}),o=URL.createObjectURL(i),r=document.createElement("a");r.href=o;let n=au.getCurrentVersion(),a=new Date,s=a.getFullYear(),l=this.padStart(a.getMonth()+1),c=this.padStart(a.getDate()),d=this.padStart(a.getHours()),u=this.padStart(a.getMinutes()),p=`${s}${l}${c}_${d}${u}`,m=`${e}_V${n}_${p}`,h=this.recordedChunks[0].type.includes("mp4")?".mp4":".webm";r.download=m+h,r.click(),URL.revokeObjectURL(o)}padStart(e){return e.toString().padStart(2,"0")}downloadVideo(){Zde||b8?this.getClientUserName().then(e=>{let i=e==null?"capture":e.username;this.getFileInfo(i)}):aUt.default.get(C.apis.others.userInfo,{timeout:1e4}).then(e=>{let i=e.success?e.result.username:"capture";this.getFileInfo(i)})}async getClientUserName(){let e=C.apis.client.activationInfo,i=await aUt.default.get(e,{});return i&&i.success&&i.result?{username:i.result.username}:null}},iR=new sUt;var oR=L(z()),WJr=()=>{let[t,e]=(0,U5.useState)({x:363,y:140}),i=(0,U5.useRef)({x:0,y:0}),[o,r]=(0,U5.useState)("00:00"),[n,a]=(0,U5.useState)(!1),[s,l]=(0,U5.useState)(!1),c=(0,U5.useRef)(null),d=(0,U5.useRef)(0),u=(0,U5.useRef)(null),[p,m]=(0,U5.useState)([]),h=0,f=J(),g=be.bind(lUt.default.locals);Ae(lUt.default);let b=()=>{d.current+=1;let T=String(Math.floor(d.current/60)).padStart(2,"0"),M=String(d.current%60).padStart(2,"0");r(`${T}:${M}`)};(0,U5.useEffect)(()=>{l(!0),c.current=setInterval(b,1e3)},[]),(0,U5.useEffect)(()=>(n?(window.addEventListener("mousemove",y),window.addEventListener("mouseup",x)):(window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",x)),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",x)}),[n]),(0,U5.useEffect)(()=>{let T=new Set,M=C.messageBus.subscribe("recordingIframeKeyDown",({event:R,formDoctype:v})=>{E(R)}),I=C.messageBus.subscribe("recordingIframeKeyUp",({event:R,formDoctype:v})=>{N(R)}),A=C.messageBus.subscribe("transferToVideotool",()=>{T.clear()}),D=C.messageBus.subscribe("keyDowntransferToVideotool",R=>{E(R)}),E=R=>{let v;R.key!=="Process"?v=R.key.toUpperCase():v=R.code.replace("Key",""),T.has(v)||T.add(v);let k=Array.from(T).join(" + ");m(P=>[...P,{id:++h,text:k}]),setTimeout(()=>{m(P=>P.slice(1))},1200)},N=R=>{T.clear()};return window.addEventListener("keydown",E),window.addEventListener("keyup",N),()=>{M.cancel(),I.cancel(),A.cancel(),D.cancel(),window.removeEventListener("keydown",E),window.removeEventListener("keyup",N)}},[]),(0,U5.useEffect)(()=>{let T=u.current;if(!T)return;let M=T.getContext("2d");if(!M)return;T.width=window.innerWidth,T.height=window.innerHeight;let I=async()=>{let v=(await ei()).getBoundingClientRect();return{frameLeft:v.x,frameTop:v.y}},A=C.messageBus.subscribe("recordingIframeMouseUp",({event:R,formDoctype:v})=>{x()}),D=C.messageBus.subscribe("recordingIframeMouseDown",({event:R,formDoctype:v})=>{I().then(k=>{E(R.clientX+k.frameLeft,R.clientY+k.frameTop)})}),E=(R,v)=>{let k=0,P=40,O=1/P,_=()=>{M.clearRect(0,0,T.width,T.height),M.beginPath(),M.arc(R,v,k,0,Math.PI*2),M.fillStyle=`rgba(24, 144, 255, ${1-k*O})`,M.fill(),k<P&&(k+=2,requestAnimationFrame(_))};_()},N=R=>{E(R.clientX,R.clientY)};return window.addEventListener("mousedown",N),()=>{A.cancel(),D.cancel(),window.removeEventListener("mousedown",N)}},[]);let y=T=>{n&&e({x:T.clientX-i.current.x,y:T.clientY-i.current.y})},w=T=>{a(!0),i.current={x:T.clientX-t.x,y:T.clientY-t.y}},x=()=>{a(!1)},S=()=>{l(!1),a(!1),c.current&&clearInterval(c.current),De({type:"success",msg:"Video Capture Finish"}),iR.stopRecording()};return(0,oR.jsxs)("div",{children:[s&&(0,oR.jsxs)("div",{id:"toolbar",className:g("toolbar"),onMouseDown:w,style:{top:`${t.y}px`,left:`${t.x}px`},children:[(0,oR.jsx)("div",{className:g("icon-eda-capture-stop icon"),onClick:S}),(0,oR.jsx)("span",{className:g("separator"),children:" | "}),(0,oR.jsx)("span",{id:"timer",className:g("timer"),children:o})]}),n&&(0,oR.jsx)("div",{className:g("drag-mask")}),(0,oR.jsx)("div",{className:g("key-bubble-container"),children:p.map((T,M)=>(0,oR.jsx)("div",{className:g("key-bubble"),style:{animationDelay:`${M*.8}s`},children:T.text},T.id))}),(0,oR.jsx)("canvas",{ref:u,className:g("circle")})]})},n5o=WJr;var l5o=L(z());function s5o(){let t=document.createElement("div");document.body.appendChild(t);let e=a5o.default.createRoot(t);iR.handleClose=()=>{e.unmount(),document.body.removeChild(t),iR.isRecording=!1},iR.startRecording().then(()=>{e.render((0,l5o.jsx)(n5o,{})),iR.isRecording=!0}).catch(i=>{console.log(i),iR.handleClose()})}var lle=L(z()),QJr=t=>{let{containerId:e}=t,i=be.bind(cUt.default.locals),o=J();Ae(cUt.default);let r=n=>{switch(n){case"confirm":s5o();break;case"close":break;case"cancel":break}le.close(e)};return Bt(()=>{r("close")}).close(e),(0,lle.jsxs)("div",{className:i("pop-content-container"),style:{height:"100%"},children:[(0,lle.jsx)("p",{className:i("tips"),children:o({context:"Tip",value:"Tip: Please select the currect screen to capture the video to reproduce the issue, and then send the video to technical support."})}),(0,lle.jsx)("div",{className:i("pop-footer-wrapper"),children:i5o.map((n,a)=>(0,lle.jsx)(Me,{type:n.type,style:n.style,onClick:()=>r(n.command),children:(0,lle.jsx)("span",{"data-test":n.text,children:o(n.text)})},`bottom-btn-${a}`))})]})},c5o=QJr;var u5o=L(z());async function d5o(t,e={}){let i=bt[t],{containerId:o,title:r,width:n,height:a,closed:s}=i;le.open({id:o,title:r,width:n,height:a,closed:s,mask:!0,children:(0,u5o.jsx)(c5o,{containerId:o,dialogId:e.dialogId,params:e})})}var kee=L(Se());var dUt=L(cle());var m5o=L(Se());var h5o=L(cle());var gk=L(z()),{locals:PW}=h5o.default;function f5o({onUpdate:t}){let e=J(),i=(0,m5o.useContext)(RC);return Ce(i.store.universalStore),(0,gk.jsxs)("div",{className:PW["profileline-wrapper"],children:[(0,gk.jsx)("div",{className:PW["profileline-label-wrapper"],children:(0,gk.jsx)("span",{title:e("Project library name duplication"),"data-test":"Project library name duplication",i18n:"Project library name duplication",children:e("Project library name duplication")})}),(0,gk.jsxs)("div",{className:PW["profileline-content-wrapper"],children:[(0,gk.jsxs)("label",{className:PW["profileline-content-item-wrapper"],children:[(0,gk.jsx)("input",{"data-input-type":"radio","data-attritem-input":"allowRename",name:"allowRename1",type:"radio",value:"true",className:PW["profile-input-radio"],onChange:()=>{t("allowLibRename",!0)},checked:i.store.universalStore.allowLibRename}),(0,gk.jsx)("span",{title:e("Allow duplicated"),i18n:"Allow duplicated","data-test":"Allow duplicated",className:PW["profile-input-tips"],children:e("Allow duplicated")})]}),(0,gk.jsxs)("label",{className:PW["profileline-content-item-wrapper"],children:[(0,gk.jsx)("input",{"data-input-type":"radio","data-attritem-input":"allowRename",name:"allowRename2",type:"radio",value:"false",className:PW["profile-input-radio"],onChange:()=>{t("allowLibRename",!1)},checked:!i.store.universalStore.allowLibRename}),(0,gk.jsx)("span",{title:e("Rename automatically(_number)"),i18n:"Rename automatically(_number)","data-test":"Rename automatically(_number)",className:PW["profile-input-tips"],children:e("Rename automatically(_number)")})]})]})]})}var g5o=L(Se());var b5o=L(cle());var bk=L(z()),{locals:OW}=b5o.default;function y5o({onUpdate:t}){let e=J(),i=(0,g5o.useContext)(RC);return Ce(i.store.universalStore),(0,bk.jsxs)("div",{className:OW["profileline-wrapper"],children:[(0,bk.jsx)("div",{className:OW["profileline-label-wrapper"],children:(0,bk.jsx)("span",{title:e("Default Netname"),"data-test":"Default Netname",i18n:"Default Netname",children:e("Default Netname")})}),(0,bk.jsxs)("div",{className:OW["profileline-content-wrapper"],children:[(0,bk.jsxs)("label",{className:OW["profileline-content-item-wrapper"],children:[(0,bk.jsx)("input",{"data-input-type":"radio","data-attritem-input":"defaultNetName",name:"defaultNetName1",type:"radio",value:"true",className:OW["profile-input-radio"],onChange:()=>{t("defaultNetName",!0)},checked:i.store.universalStore.defaultNetName}),(0,bk.jsx)("span",{title:e("Wire ID"),i18n:"Wire ID","data-test":"Wire ID",className:OW["profile-input-tips"],children:e("Wire ID")})]}),(0,bk.jsxs)("label",{className:OW["profileline-content-item-wrapper"],children:[(0,bk.jsx)("input",{"data-input-type":"radio","data-attritem-input":"defaultNetName",name:"defaultNetName2",type:"radio",value:"false",className:OW["profile-input-radio"],onChange:()=>{t("defaultNetName",!1)},checked:!i.store.universalStore.defaultNetName}),(0,bk.jsx)("span",{title:e("Designator + Pin Number"),i18n:"Designator + Pin Number","data-test":"Designator + Pin Number",className:OW["profile-input-tips"],children:e("Designator + Pin Number")})]})]})]})}var w5o=L(Se());var C5o=L(cle());var yk=L(z()),{locals:xbe}=C5o.default;function x5o({onUpdate:t}){let e=J(),i=(0,w5o.useContext)(RC);Ce(i.store.universalStore);let o=[{headTitle:"Net",content:"NetFlag cross layer connection",onChange(r){t("netFlagCrossLayerConnection",!!r.checked)},checked:i.store.universalStore.netFlagCrossLayerConnection},{headTitle:"",content:"NetLabel cross Page connection",onChange(r){t("netLabelCrossPageConnection",!!r.checked)},checked:i.store.universalStore.netLabelCrossPageConnection},{headTitle:"",content:"Bus generate Net Class",onChange(r){t("busGenerateNetClass",!!r.checked)},checked:i.store.universalStore.busGenerateNetClass}];return(0,yk.jsx)(yk.Fragment,{children:o.map(({headTitle:r,content:n,onChange:a,checked:s})=>(0,yk.jsxs)("div",{className:xbe["profileline-wrapper"],children:[(0,yk.jsx)("div",{className:xbe["profileline-label-wrapper"],children:(0,yk.jsx)("span",{title:e(r),"data-test":r,i18n:r,children:e(r)})}),(0,yk.jsx)("div",{className:xbe["profileline-content-wrapper"],children:(0,yk.jsxs)("label",{className:xbe["profileline-content-item-wrapper"],children:[(0,yk.jsx)("input",{"data-input-type":"checkbox","data-attritem-input":n,name:n,type:"checkbox",value:"true",className:xbe["profile-input-checkbox"],onChange:l=>a(l.target),checked:s}),(0,yk.jsx)("span",{title:e(n),i18n:n,"data-test":n,className:xbe["profile-input-tips"],children:e(n)})]})})]},n))})}var T5o=L(Se());var S5o=L(cle());var CL=L(z()),{locals:RW}=S5o.default;function M5o({onUpdate:t}){let e=J(),i=(0,T5o.useContext)(RC);Ce(i.store.universalStore);let o="Wire Multiple Net",r="Allowed",n="(Flexible; The habit of Std Edition or Altium Designer)",a="Prohibited";return(0,CL.jsxs)("div",{className:RW["profileline-wrapper2"],children:[(0,CL.jsx)("div",{className:RW["profileline-label-wrapper2"],children:(0,CL.jsx)("span",{title:e(o),"data-test":o,i18n:o,children:e(o)})}),(0,CL.jsxs)("div",{className:RW["profileline-content-wrapper2"],children:[(0,CL.jsxs)("label",{className:RW["profileline-content-item-wrapper2"],children:[(0,CL.jsx)("input",{"data-input-type":"radio","data-attritem-input":"net_select_method",name:"net_select_method1",type:"radio",value:"true",className:RW["profile-input-radio"],onChange:()=>{t("wireMultipleNet",!0)},checked:i.store.universalStore.wireMultipleNet}),(0,CL.jsx)("span",{title:e(r),i18n:r,"data-test":r,className:RW["profile-input-tips"],children:e(r)}),(0,CL.jsx)("span",{style:{color:"red",marginLeft:"8px"},children:e(n)})]}),(0,CL.jsxs)("label",{className:RW["profileline-content-item-wrapper2"],children:[(0,CL.jsx)("input",{"data-input-type":"radio","data-attritem-input":"net_select_method",name:"net_select_method2",type:"radio",value:"false",className:RW["profile-input-radio"],onChange:()=>{t("wireMultipleNet",!1)},checked:!i.store.universalStore.wireMultipleNet}),(0,CL.jsx)("span",{title:e(a),i18n:a,"data-test":a,className:RW["profile-input-tips"],children:e(a)}),(0,CL.jsx)("span",{style:{color:"red",marginLeft:"8px"},children:e("(Strict; The habit of PADS or OrCAD)")})]})]})]})}var L5o=L(cle());var Mw=L(z()),{locals:I5o}=L5o.default;function v5o({store:t}){let e=J();Ce(t);let i=[{title:"General",children:(0,Mw.jsx)(Mw.Fragment,{children:(0,Mw.jsx)(f5o,{onUpdate:(o,r)=>{t.onUpdate(o,r)}})})},{title:"Schematic",children:(0,Mw.jsxs)(Mw.Fragment,{children:[(0,Mw.jsx)(y5o,{onUpdate:(o,r)=>{t.onUpdate(o,r)}}),(0,Mw.jsx)(M5o,{onUpdate:(o,r)=>{t.onUpdate(o,r)}}),(0,Mw.jsx)(x5o,{onUpdate:(o,r)=>{t.onUpdate(o,r)}}),(0,Mw.jsx)(C_e,{rowType:{getValue(){return t.relevanceDisplayRow},update(o){t.onUpdate("relevanceDisplayRow",o)}},belongSchPage:{getValue(){return t.relevanceBelongSchPage},update(o){t.onUpdate("relevanceBelongSchPage",o)}},locationArea:{getValue(){return t.relevanceLocation},update(o){t.onUpdate("relevanceLocation",o)}},cssClassMap:I5o}),(0,Mw.jsx)(iYe,{onUpdate:(o,r)=>{t.onUpdate(o,r)},storage:t,cssClassMap:I5o})]})}];return(0,Mw.jsx)(Mw.Fragment,{children:i.map(o=>(0,Mw.jsxs)("div",{children:[(0,Mw.jsx)("h6",{style:{fontSize:"14px",fontWeight:700},title:e(o.title),children:e(o.title)}),(0,Mw.jsx)("div",{style:{padding:"10px 10px 0px 14px"},children:o.children})]},o.title))})}var Tbe=L(Se());var dle=L(z());function D5o(){let t=(0,Tbe.useContext)(RC);Ce(t.store.schOrSheetStore);let[e,i]=(0,Tbe.useState)(!0);return(0,Tbe.useEffect)(()=>{t.store.schOrSheetStore.loadDrawingPresetting().then(()=>{i(!1)})},[]),e?(0,dle.jsx)(dle.Fragment,{}):(0,dle.jsx)(dle.Fragment,{children:(0,dle.jsx)(WHe,{isProjectPresetting:!0,onDrawingEdited:()=>{t.store.cancel()}})})}var bg=L(z()),{locals:Nee}=dUt.default;function E5o(t){Ae(dUt.default);let[e,i]=(0,kee.useState)(null);if((0,kee.useLayoutEffect)(()=>{let o=mOi(t);return o.store.selectedTreeItemId=t.selectedTreeItemId,i(o),()=>{}},[]),!e){let o=`${Nee["view-loading-wrapper"]}`,r=`${Nee["view-loading"]}`,n=`rotation ${Nee["view-loading-rotation"]}`;return(0,bg.jsx)("div",{className:"pop-content-container",children:(0,bg.jsx)("div",{className:o,children:(0,bg.jsx)("div",{className:r,children:(0,bg.jsx)("div",{className:n,children:(0,bg.jsx)("i",{className:"icon-eda-loading",style:{fontSize:"36px",color:"rgb(38,44,50)"}})})})})})}return(0,bg.jsx)("div",{className:"pop-content-container",children:(0,bg.jsxs)(RC.Provider,{value:e,children:[(0,bg.jsx)(ZJr,{}),(0,bg.jsx)(KJr,{})]})})}function KJr(){let t=(0,kee.useContext)(RC),e=`pop-footer-wrapper ${Nee["dialog-btns-wrapper"]}`;return(0,bg.jsxs)("footer",{className:e,children:[(0,bg.jsx)(Me,{type:"primary",style:{marginRight:"8px"},disabled:!1,readonly:t.store.confirmWaitingLoading,onClick:()=>{t.store.apply()},children:"Apply"}),(0,bg.jsx)(Me,{type:"primary",style:{marginRight:"8px"},disabled:!1,readonly:t.store.confirmWaitingLoading,onClick:()=>{t.store.confirm()},children:"Confirm"}),(0,bg.jsx)(Me,{onClick:()=>{t.store.cancel()},children:"Cancel"})]})}function ZJr(){let t=(0,kee.useContext)(RC);Ce(t.store);let e=`${Nee["main-container"]}`,i=`${Nee["menu-wrapper"]}`,o=`${Nee["content-wrapper"]}`,r=`${Nee["content-sub-wrapper"]}`,n=()=>{switch(t.store.selectedTreeItemId){case t.store.universalStore.id:return(0,bg.jsx)(v5o,{store:t.store.universalStore});case t.store.schOrSheetStore.id:return(0,bg.jsx)(D5o,{})}};return(0,bg.jsxs)("section",{className:e,children:[(0,bg.jsx)("div",{className:i,children:(0,bg.jsx)(JJr,{})}),(0,bg.jsx)("section",{className:o,children:(0,bg.jsx)("div",{className:r,children:n()})})]})}function JJr(){let t=(0,kee.useContext)(RC);Ce(t.store);let e=(o,r,n,a,s)=>{t.store.selectedTreeItemId=o[0]},i=(o,r)=>{switch(o.id){case t.store.universalStore.id:break;case t.store.schOrSheetStore.id:break}return!0};return(0,bg.jsx)(Bd,{extendIconType:"tree-extends-triangle",selectedIds:[t.store.selectedTreeItemId],treeWidgetItemWidth:"18px",contentUnderline:!1,multiSelect:!1,showTagLine:!1,showExpandBtn:!0,isVirtualList:!1,onClick:e,onMousesDown:i,data:t.store.leftSideBarTreeList})}var A5o=L(z());function hve(t=Object()){var s;if(!((s=C.currentProject)!=null&&s.projectId)){let l=me.i18n("Please Open a project at first!");De({type:"info",msg:l});return}let e=bt.projectSettingManager,{containerId:i,title:o,width:r,closed:n}=e,a={...t,containerId:t.containerId||i,projectSettingManager:t.projectSettingManager||C.currentProject.settings};return le.open({id:a.containerId,title:o,width:r,closed:n,esc:!0,folded:!1,children:(0,A5o.jsx)(E5o,{...a})}),le}var Xrt=L(Se()),uUt=L(k5o());var V5=L(z()),_W=be.bind(uUt.default.locals),qJr=["Pin Type","Pin Shape","NO_CONNECT","pinLength","pinColor"],XJr=t=>{Ae(uUt.default);let{containerId:e,pinAttrData:i,cmdToken:o}=t,r=J(),n=ca(),a=(0,Xrt.useMemo)(()=>{let s=[];return qJr.forEach(l=>{let c=i.find(d=>d.propertyKey===l);c&&s.push(c)}),s},[]);return(0,V5.jsxs)("div",{className:_W("container"),children:[(0,V5.jsx)("div",{className:_W("main"),children:a.map(s=>{var u,p,m;let{propertyKey:l,value:c,valueOptions:d}=s;return l==="pinColor"?(0,V5.jsxs)("div",{className:_W("row-item"),children:[(0,V5.jsxs)("div",{className:_W("row-title"),children:[r((u=C.PropertyKey[l])==null?void 0:u.title),":"]}),(0,V5.jsx)(vp,{style:{width:"100%"},defaultColor:s.defaultValue,color:s.value,onChange:h=>{s.value=h}})]},s.propertyKey):l==="pinLength"?(0,V5.jsxs)("div",{className:_W("row-item"),children:[(0,V5.jsxs)("div",{className:_W("row-title"),children:[r((p=C.PropertyKey[l])==null?void 0:p.title),":"]}),(0,V5.jsx)(or,{value:c,inputUnit:Vo(),onChange:h=>{s.value=h,n()}})]},s.propertyKey):(0,V5.jsxs)("div",{className:_W("row-item"),children:[(0,V5.jsxs)("div",{className:_W("row-title"),children:[r((m=C.PropertyKey[l])==null?void 0:m.title),":"]}),(0,V5.jsx)(xt,{value:c,list:d,onChange:h=>{s.value=h,n()}})]},s.propertyKey)})}),(0,V5.jsxs)("div",{className:_W("footer"),children:[(0,V5.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>{let s=[];ue.deepClone(a).forEach(l=>{s.push({propertyKey:l.propertyKey,value:l.value})}),C.messageBus.publish("sch/changePlaceMultiPinAttr",{cmdToken:o,tabPinAttrData:s}),le.close(e)},children:"Confirm"}),(0,V5.jsx)(Me,{onClick:()=>{le.close(e)},children:"Cancel"})]})]})},P5o=(0,Xrt.memo)(XJr);var R5o=L(z());async function O5o(t,e){let i=bt[t],{containerId:o,title:r,width:n,closed:a,mask:s,esc:l}=i,{cmdToken:c,pinAttrData:d}=e;c==="place_part(line_pins)"&&(r="Line Pins"),c==="place_part(rect_pins)"&&(r="Rect Pins"),le.open({id:o,title:r,width:n,closed:a,mask:s,esc:l,children:(0,R5o.jsx)(P5o,{containerId:o,pinAttrData:d,cmdToken:c})})}var z5o=L(Se());var $rt=L(Se());var pUt=class{constructor(e){this.mousePosition=null;this.sensitivityThreshold=1e-5,this.dataPoints=[],this.canvas=this.getCanvasElement(e.canvasId);let i=this.canvas.getContext("2d");this.ctx=i,this.bufferLength=this.canvas.width,this.amplitudeScale=0,this.centerY=this.canvas.height/2,this.canvas.addEventListener("mousemove",this.handleMouseMove.bind(this)),this.canvas.addEventListener("mouseleave",this.handleMouseLeave.bind(this))}getCanvasElement(e){let i=document.getElementById(e);if(!i||!(i instanceof HTMLCanvasElement))throw new Error(`Canvas with id "${e}" not found or is not a canvas element.`);return i}handleMouseLeave(){this.mousePosition=null,this.render()}handleMouseMove(e){let i=this.canvas.getBoundingClientRect();this.mousePosition={x:e.clientX-i.left,y:e.clientY-i.top},this.render()}updateAmplitudeDisplay(){let e=document.getElementById(this.amplitudeDisplayId),i=this.dataPoints,o=Math.min(...i),r=Math.max(...i),n=(r-o)/2;e&&(e.textContent=`${this.amplitudeDisplayId}: ${r}V`)}bulkUpdate(e){console.error(e),this.dataPoints=e.map(i=>i[1]),this.autoAdjustAmplitude(),this.render()}autoAdjustAmplitude(){let e=this.dataPoints,i=Math.min(...e),o=Math.max(...e),r=o-i||1;if(r<this.sensitivityThreshold)return;let n=r*1.2;this.amplitudeScale=this.canvas.height*.8/n,this.centerY=this.canvas.height/2+(o+i)/2*this.amplitudeScale}render(){let e=this.canvas.width,i=this.canvas.height,o=e/(this.dataPoints.length-1||1);this.ctx.fillStyle="black",this.ctx.fillRect(0,0,e,i),this.ctx.lineWidth=2,this.ctx.strokeStyle="limegreen",this.ctx.beginPath();for(let r=0;r<this.dataPoints.length;r++){let n=r*o,a=this.centerY-this.dataPoints[r]*this.amplitudeScale;r===0?this.ctx.moveTo(n,a):this.ctx.lineTo(n,a)}if(this.ctx.stroke(),this.mousePosition){let r=-1,n=1/0;for(let a=0;a<this.dataPoints.length;a++){let s=a*o,l=Math.abs(s-this.mousePosition.x);l<n&&(n=l,r=a)}if(r!==-1&&n<10){let a=r*o,s=this.centerY-this.dataPoints[r]*this.amplitudeScale;this.ctx.fillStyle="red",this.ctx.beginPath(),this.ctx.arc(a,s,5,0,Math.PI*2),this.ctx.fill(),this.ctx.fillStyle="white",this.ctx.font="12px Arial",this.ctx.fillText(`(${this.dataPoints[r].toFixed(3)}) V`,a+10,s)}}}},_5o=pUt;var ule=class t{constructor(){this.oscilloscopes=new Map}static getInstance(){return this._instance||(this._instance=new t),this._instance}createOscilloscope(e,i){if(this.oscilloscopes.has(e))throw new Error(`Oscilloscope with id ${e} already exists.`);let o=new _5o(i);return this.oscilloscopes.set(e,o),o}getOscilloscope(e){return this.oscilloscopes.get(e)}clearOscilloscopes(){this.oscilloscopes.clear()}removeOscilloscope(e){if(!this.oscilloscopes.has(e))throw new Error(`Oscilloscope with id ${e} does not exist.`);this.oscilloscopes.delete(e)}};var B5o=L(z()),$Jr=({id:t,onOscilloscopeReady:e})=>{let i=ule.getInstance(),o=(0,$rt.useRef)(null);return(0,$rt.useEffect)(()=>{if(!o.current)return;let n=ule.getInstance().createOscilloscope("osc1",{canvasId:t});return e(n),()=>{i.clearOscilloscopes()}},[t,e]),(0,B5o.jsx)("canvas",{ref:o,id:t,width:600,height:400,style:{border:"1px solid black"}})},j5o=$Jr;var Sbe=L(z()),eqr=({canvasId:t})=>{let e=(0,z5o.useRef)(null),i=r=>{e.current=r},o=()=>{let r=[28571428571428562e-31,28571428571428562e-31,28571428571428562e-31,28571428571428562e-31,28571428571428562e-31,28571428571428562e-31,3.5714285714285743,3.5714285714285743,3.5714285714285743,3.5714285714285743,3.5714285714285743,3.5714285714285743];ule.getInstance().getOscilloscope("osc1").bulkUpdate(r)};return(0,Sbe.jsxs)("div",{children:[(0,Sbe.jsx)("h2",{children:"\u793A\u6CE2\u5668\u914D\u7F6E"}),(0,Sbe.jsx)(j5o,{id:t,onOscilloscopeReady:i}),(0,Sbe.jsx)("button",{onClick:o,children:"Update Data Points"})]})},F5o=eqr;var V5o=L(z());async function U5o(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s,mask:l,esc:c}=i,d=L$();le.open({id:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,children:(0,V5o.jsx)(F5o,{canvasId:d})})}var $l=L(z()),Mbe=class t extends qe{constructor(){super(...arguments);this.refPoint={x:0,y:0};this.confirm=async()=>{let i=this.getEndPoint();await this.handleBtnEvent({action:"confirm",formData:{position:i}})};this.cancel=async()=>{await this.handleBtnEvent({action:"cancel",formData:{}})};this.preview=async()=>{let i=this.getEndPoint();await this.handleBtnEvent({action:"apply",formData:{position:i}})};this.moveType="relative";this.moveTypeOptions=[{value:"relative",label:"Relative Move"},{value:"absolute",label:"Absolute Position"}];this.onXYChange=(i,o)=>{let r=eA(),n=yd(String(i),r),a=new ws(n,r);o==="x"?this.x=a.toJSON():o==="y"&&(this.y=a.toJSON())};this.main=()=>{let i=J();return Ce(this),(0,$l.jsx)("div",{style:{width:"100%",height:"100%",padding:"16px",border:"1px solid var(--common-border-color)",boxSizing:"border-box"},children:(0,$l.jsxs)("div",{className:"hasborder",children:[(0,$l.jsx)("div",{className:"wrapper-ul",children:(0,$l.jsxs)("div",{className:"content-layer",style:{display:"flex",alignItems:"center"},children:[(0,$l.jsxs)("div",{className:"layer-title attr-title",style:{width:"76px",textAlign:"left"},children:[(0,$l.jsx)("span",{"data-test":"The Origin Position of Reference Point",children:i("The Origin Position of Reference Point")}),":"]}),(0,$l.jsx)("ul",{className:"layer-main",children:(0,$l.jsx)("div",{className:"inline-content",style:{alignItems:"center"},children:(0,$l.jsxs)("div",{style:{display:"flex",gap:"6px",alignItems:"center"},children:[[this.refPoint.x,this.refPoint.y].map(o=>{let r=eA(),n=new ws(io(o,"pixel",r),r).toString();return(0,$l.jsx)(Kt,{disabled:!0,value:n})}),(0,$l.jsx)("div",{style:{color:"#1890ff",fontSize:"12px",cursor:"pointer",lineHeight:1},"data-test":"Modify Reference Point",onClick:()=>{this.modifyRefPoint()},children:i("Modify Reference Point")})]})})})]})}),(0,$l.jsx)("div",{className:"wrapper-ul",children:(0,$l.jsxs)("div",{className:"content-layer",style:{paddingTop:"16px",display:"flex",alignItems:"center"},children:[(0,$l.jsxs)("div",{className:"layer-title attr-title",style:{width:"76px",textAlign:"left"},children:[(0,$l.jsx)("span",{"data-test":"Move Type",children:i("Move Type")}),":"]}),(0,$l.jsx)("ul",{className:"layer-main",children:(0,$l.jsx)("div",{className:"inline-content",style:{alignItems:"center"},children:(0,$l.jsx)($i,{style:{width:"100%"},value:this.moveType,gap:0,subRadioStyle:o=>({display:"inline-block",width:"33.3333%"}),translate:!0,onChange:o=>{this.setMoveType(o)},options:this.moveTypeOptions})})})]})}),(0,$l.jsx)("div",{className:"wrapper-ul",children:(0,$l.jsxs)("div",{className:"content-layer",style:{paddingTop:"16px",display:"flex",alignItems:"center"},children:[(0,$l.jsxs)("div",{className:"layer-title attr-title",style:{width:"76px",textAlign:"left"},children:[(0,$l.jsx)("span",{"data-test":"X",children:"X"}),":"]}),(0,$l.jsx)("ul",{className:"layer-main",children:(0,$l.jsx)("div",{className:"inline-content",style:{alignItems:"center"},children:(0,$l.jsx)("div",{style:{width:"180px"},children:(0,$l.jsx)(E1,{value:+this.x.value,unit:this.x.unit,onChange:o=>{this.onXYChange(o,"x")}})})})})]})}),(0,$l.jsx)("div",{className:"wrapper-ul",children:(0,$l.jsxs)("div",{className:"content-layer",style:{paddingTop:"16px",display:"flex",alignItems:"center"},children:[(0,$l.jsxs)("div",{className:"layer-title attr-title",style:{width:"76px",textAlign:"left"},children:[(0,$l.jsx)("span",{"data-test":"Y",children:"Y"}),":"]}),(0,$l.jsx)("ul",{className:"layer-main",children:(0,$l.jsx)("div",{className:"inline-content",style:{alignItems:"center"},children:(0,$l.jsx)("div",{style:{width:"180px"},children:(0,$l.jsx)(E1,{value:+this.y.value,unit:this.y.unit,onChange:o=>{this.onXYChange(o,"y")}})})})})]})})]})})};this.footer=()=>(0,$l.jsxs)("footer",{className:"netlabel-tab-footer",style:{width:"100%",display:"flex",justifyContent:"space-between",alignItems:""},children:[(0,$l.jsx)("div",{children:(0,$l.jsx)(Me,{class:"confirm-btn",onClick:this.preview,style:{marginRight:"16px"},children:"Preview"})}),(0,$l.jsxs)("div",{children:[(0,$l.jsx)(Me,{type:"primary",class:"confirm-btn",onClick:this.confirm,style:{marginRight:"16px"},children:"Confirm"}),(0,$l.jsx)(Me,{class:"cancel-btn",onClick:this.cancel,children:"Cancel"})]})]})}static get instance(){return this._instance||(this._instance=new t)}async modifyRefPoint(){await this.handleBtnEvent({action:"close",formData:{action:"SelectRefer"}})}setMoveType(i){this.moveType=i,this.notify()}async handleBtnEvent(i){let o=this.id,{action:r,formData:n}=i;await oo({action:r,dialogId:o,formData:n}),r!="apply"&&le.close()}init(i,o){this.id=i,this.refPoint=o;let r=eA();this._x=_m(new ws(0,r),eA()).toJSON(),this._y=_m(new ws(0,r),eA()).toJSON()}get x(){return this._x}set x(i){this._x=i}get y(){return this._y}set y(i){this._y=i}getEndPoint(){let i={x:0,y:0},o=io(this.x.value,this.x.unit,"pixel"),r=io(this.y.value,this.x.unit,"pixel");return this.moveType==="relative"?(i.x=this.refPoint.x+o,i.y=this.refPoint.y+r):this.moveType==="absolute"&&(i.x=o,i.y=r),i}};async function mUt(t){let e=bt["pcb-move-tab"],{containerId:i,title:o,width:r,height:n,closed:a}=e,{refPoint:s}=t,l=t.dialogId;Mbe.instance.init(l,s),le.open({id:i,title:o,width:r,closed:a,centered:!0,openCallback(){},footer:(0,$l.jsx)(Mbe.instance.footer,{}),folded:!0,children:(0,$l.jsx)(Mbe.instance.main,{}),esc:!0,onKeyup(c){c.key==="Enter"&&setTimeout(()=>{Mbe.instance.confirm()})}})}var int=L(Se()),bUt=L(tnt());var hUt=[{text:"Fatal Error",value:"Fatal Error"},{text:"Error",value:"Error"},{text:"Warning",value:"Warning"},{text:"Note",value:"Note"},{text:"Ignore",value:"Ignore"}],fUt=(r=>(r[r["Fatal Error"]=0]="Fatal Error",r[r.Error=1]="Error",r[r.Warning=2]="Warning",r[r.Note=3]="Note",r[r.Ignore=4]="Ignore",r))(fUt||{});var gUt=class extends qe{constructor(){super(...arguments);this.displayData=new Map;this._activeTabKey="Component";this._forceIndex=0}get activeTabKey(){return this._activeTabKey}set activeTabKey(i){this._activeTabKey=i,this.notify()}get forceIndex(){return this._forceIndex}set forceIndex(i){this._forceIndex=i,this.notify()}async initDialog(){let i=(await C.messageBus.rpcCall("getSimDesignRuleDisplayData")).message;this.setDisplayData(i,!1)}closeDialog(){this.displayData.clear(),this._forceIndex=0,this._activeTabKey="Component"}setDisplayData(i,o=!0){let r=[],n=[];i.forEach(a=>{a.CheckSch==="Component"&&r.push(a),a.CheckSch==="Simulation"&&n.push(a)}),this.displayData.set("Component",r),this.displayData.set("Simulation",n),o&&this.notify()}},vh=new gUt;var wk=L(Se()),Y5o=L(tnt());var Ibe=L(z()),tqr=be.bind(Y5o.default.locals),iqr=()=>{let t=J();Ce(vh);let e=(0,wk.useMemo)(()=>hUt.filter(r=>r.value!=="Ignore"),[]),i=(0,wk.useMemo)(()=>[{key:"No",name:t("No."),width:.06,align:"center"},{key:"designRule",name:t("Design Rule"),width:.72},{key:"messageLevel",name:t("Message Level"),width:.22,render(r){let{row:n,setRowData:a}=r;return(0,Ibe.jsx)(oqr,{value:n.messageLevel,list:e,onChange:s=>{a({rowIndex:n.rowUniqueFlag,colKey:this.key,value:s})}})}}],[]),o=(0,wk.useMemo)(()=>{let r=[];return vh.displayData.size>0&&["Component","Simulation"].includes(vh.activeTabKey)&&(r=vh.displayData.get(vh.activeTabKey).filter(n=>dt()===ve.SIMULIDE?!["NEEDPOINTS","ONLYVOLT","NEEDACSOURCE"].includes(n.RuleKey):dt()===ve.NGSPICE?!["NONETLAVBLE","NONETIDENTIFIERS"].includes(n.RuleKey):!0).map((n,a)=>({rowUniqueFlag:a+1+"#",No:a+1,checked:n.enforce,Checks:t(n.CheckSch),designRule:t(n.designRuleSch),messageLevel:hUt[n.level].value,CheckSch:n.CheckSch,designRuleSch:n.designRuleSch,RuleKey:n.RuleKey}))),r},[vh.forceIndex,vh.activeTabKey]);return(0,Ibe.jsx)("div",{className:tqr("table-container"),children:(0,Ibe.jsx)(xi,{index:"rowUniqueFlag",columns:i,rows:o,border:!0,fixedHeader:!0,checkbox:!0,openRowHoverBgColor:!1,openRowSelectedBgColor:!1,onChange:r=>{vh.displayData.set(vh.activeTabKey,r.map(n=>({enforce:n.checked,RuleKey:n.RuleKey,level:Number(fUt[n.messageLevel]),CheckSch:n.CheckSch,designRuleSch:n.designRuleSch})))}})})},oqr=t=>{let{value:e,list:i,onChange:o}=t,[r,n]=(0,wk.useState)(!1),a=J(),s=(0,wk.useRef)(null);return(0,wk.useEffect)(()=>{let l=c=>{n&&c.target.closest("div.table-select-wrapper")!==s.current&&n(!1)};return document.addEventListener("pointerup",l),()=>{document.removeEventListener("pointerup",l)}},[]),(0,Ibe.jsx)("div",{className:"table-select-wrapper",ref:s,onClick:()=>{n(!0)},children:(0,Ibe.jsx)(xt,{value:e,list:i,style:{width:"100%",height:"90%"},onChange:l=>{o(l),n(!1)}})})},W5o=(0,wk.memo)(iqr);var Q5o=L(Se()),K5o=L(tnt());var Pee=L(z()),rqr=be.bind(K5o.default.locals),nqr=t=>{let{dialogId:e}=t,i=async()=>{let n=(await C.messageBus.rpcCall("setDefaultSimDesignRule")).message;vh.setDisplayData(n,!1),vh.forceIndex++},o=async()=>{let n=[];vh.displayData.forEach(a=>{n=n.concat(a)}),await C.messageBus.rpcCall("saveSimDesignRule",{displayTableData:n}),vh.closeDialog(),le.close(e)},r=async()=>{let n={};vh.displayData.forEach(a=>{a.forEach(s=>{n[s.RuleKey]={level:s.level,enforce:s.enforce}})}),await C.messageBus.rpcCall("prevSimVeifyNowHandler",{prevSimVeifyNowHandlerData:n}),C.messageBus.publish("doCommand",["checkSimERC"])};return(0,Pee.jsx)("div",{className:rqr("footer-container"),children:(0,Pee.jsxs)("div",{children:[(0,Pee.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:i,children:"Restore Default"}),(0,Pee.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:r,children:"Verify Now"}),(0,Pee.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:o,children:"Confirm"}),(0,Pee.jsx)(Me,{onClick:()=>{vh.closeDialog(),le.close(e)},children:"Cancel"})]})})},Z5o=(0,Q5o.memo)(nqr);var Lbe=L(z()),aqr=be.bind(bUt.default.locals),sqr=t=>{Ae(bUt.default),Ce(vh);let{containerId:e}=t,i=(0,int.useMemo)(()=>[{key:"Component",title:"Component",dataTest:"Component",tabStyle:{width:"80px",padding:"5px 0",borderBottom:"1px solid var(--border-color-panel-tab)",backgroundColor:"var(--bg-color-tab)"}},{key:"Simulation",title:"Simulation",dataTest:"Simulation",tabStyle:{width:"80px",padding:"5px 0",borderBottom:"1px solid var(--border-color-panel-tab)",backgroundColor:"var(--bg-color-tab)"}}],[]);return Bt(()=>{vh.closeDialog()}).close(e),(0,Lbe.jsxs)("div",{className:aqr("container"),children:[(0,Lbe.jsx)(yl,{activeTabStyle:{backgroundColor:"var(--bg-color-selected-panel-tab)",borderBottom:"none"},tabsStyle:{margin:"0"},tabBoxStyle:{width:"160px",top:"1px",border:"1px solid var(--border-color-panel-tab)",borderBottom:"none"},lists:i,direction:"bottom",type:"normal",defaultActiveKey:vh.activeTabKey,onClick:o=>{vh.activeTabKey=o}}),["Component","Simulation"].includes(vh.activeTabKey)&&(0,Lbe.jsx)(W5o,{}),(0,Lbe.jsx)(Z5o,{dialogId:e})]})},J5o=(0,int.memo)(sqr);var X5o=L(z());async function q5o(t={},e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,resize:d}=i;await vh.initDialog(),le.open({id:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,resize:d,children:(0,X5o.jsx)(J5o,{containerId:o})})}var pnt=L(Se());var aSo=L(Se());var fve=(a=>(a.nS="ns",a.uS="us",a.mS="ms",a.S="s",a.KS="KS",a.MS="MS",a))(fve||{}),sF=(s=>(s.pV="pv",s.nv="nv",s.uV="uv",s.mV="mv",s.V="v",s.KV="kv",s.MV="Mv",s))(sF||{});var $5o="icon-eda-sim-rising-edge",eSo="icon-eda-sim-falling-edge",tSo="icon-eda-eye",iSo="eye-hidden",oSo="eda-sort-sim-up-arrow",rSo="eda-sort-sim-down-arrow";var ple=class extends qe{constructor(){super(),this._auto=!0,this._y_axis="0",this._unit="v",this._scale="1"}set currentChannel(e){this._currentChannel=e}get currentChannel(){return this._currentChannel}set auto(e){this._auto=e,this.notify()}get auto(){return this._auto}set scale(e){this._scale=e,this.notify()}get scale(){return this._scale}set unit(e){this._unit=e,this.notify()}get unit(){return this._unit}set y_axis(e){this._y_axis=e,this.notify()}get y_axis(){return this._y_axis}getChannelConfig(){}};var ont=class extends qe{constructor(){super(),this._displayRatioMode=this.createTableRatioColsProfile(),this._displayAdderMode=this.createTableAdderColsProfile(),this._x_axis="0",this._unit="MS",this._scale="10",this._displayMes="Y/T"}set displayRatioMode(e){this._displayRatioMode=e}get displayRatioMode(){return this._displayRatioMode}set displayAdderMode(e){this._displayAdderMode=e}get displayAdderMode(){return this._displayAdderMode}set scale(e){this._scale=e,this.notify()}get scale(){return this._scale}set unit(e){this._unit=e,this.notify()}get unit(){return this._unit}set x_axis(e){this._x_axis=e,this.notify()}get x_axis(){return this._x_axis}set displayMes(e){this._displayMes=e,this.notify()}get displayMes(){return this._displayMes}createTableRatioColsProfile(){return[{value:"A/B",label:"A/B",isvisable:!0},{value:"B/A",label:"B/A",isvisable:!0},{value:"A/C",label:"A/C",isvisable:!0},{value:"C/A",label:"C/A",isvisable:!0},{value:"A/D",label:"A/D",isvisable:!0},{value:"D/A",label:"D/A",isvisable:!0},{value:"B/C",label:"B/C",isvisable:!0},{value:"C/B",label:"C/B",isvisable:!0},{value:"B/D",label:"B/D",isvisable:!0},{value:"D/B",label:"D/B",isvisable:!0},{value:"C/D",label:"C/D",isvisable:!0},{value:"D/C",label:"D/C",isvisable:!0}]}createTableAdderColsProfile(){return[{value:"A+B",label:"A+B",isvisable:!0},{value:"A+C",label:"A+C",isvisable:!0},{value:"A+D",label:"A+D",isvisable:!0},{value:"B+C",label:"B+C",isvisable:!0},{value:"B+D",label:"B+D",isvisable:!0},{value:"C+D",label:"C+D",isvisable:!0}]}getXAxissConfig(){return{scale:this.scale,unit:this.unit,X_axis_offset:this.x_axis,displayMes:this.displayMes}}setXAxissConfig(e){let{scale:i,unit:o,X_axis_offset:r,displayMes:n}=e;this.scale=i,this.unit=o,this.x_axis=r,this.displayMes=n}};var rnt=class extends qe{constructor(){super(),this._tableCols=this.createTableColsProfile(),this._tableData=this.initTableData(),this._selectedIds=[],this._tableSelectedRowNumbers=[],this._sourceList=[],this._isPadSize=!1}set tableCols(e){this._tableCols=e,this.notify()}get tableCols(){return this._tableCols}set tableData(e){this._tableData=e,this.notify()}get tableData(){return this._tableData}set selectedIds(e){this._selectedIds=e,this.notify()}get selectedIds(){return this._selectedIds}set tableSelectedRowNumbers(e){this._tableSelectedRowNumbers=e,this.notify()}get tableSelectedRowNumbers(){return this._tableSelectedRowNumbers}set sourceList(e){this._sourceList=e,this.notify()}get sourceList(){return this._sourceList}set isPadSize(e){this._isPadSize=e}get isPadSize(){return this._isPadSize}createTableColsProfile(){return[{key:"display_time",name:"Time",sortable:!0,width:.2},{key:"display_channelA",name:"channelA",sortable:!0,width:.2},{key:"display_channelB",name:"channelB",sortable:!0,width:.2},{key:"display_channelC",name:"channelC",sortable:!0,width:.2},{key:"display_channelD",name:"channelD",sortable:!0,width:.2}]}initTableData(){return[{currentTime:"0.000",channelData_A:"0.000",channelData_B:"0.000",channelData_C:"0.000",channelData_D:"0.000"},{currentTime:"0.000",channelData_A:"0.000",channelData_B:"0.000",channelData_C:"0.000",channelData_D:"0.000"},{currentTime:"0.000",channelData_A:"0.000",channelData_B:"0.000",channelData_C:"0.000",channelData_D:"0.000"}]}setTableData(e){this.tableData=ue.deepClone(e)}};var nnt=class extends qe{constructor(){super(),this.triggerMode=1,this.currentTriggerSource="",this.level="0",this.unit="v",this.triggerMechanism=1,this.triggerSourceList={}}set triggerMode(e){this._triggerMode=e,this.notify()}get triggerMode(){return this._triggerMode}set triggerMechanism(e){this._triggerMechanism=e,this.notify()}get triggerMechanism(){return this._triggerMechanism}set currentTriggerSource(e){this._currentTriggerSource=e,this.notify()}get currentTriggerSource(){return this._currentTriggerSource}set unit(e){this._unit=e,this.notify()}get unit(){return this._unit}set triggerSourceList(e){this._triggerSourceList=Object.keys(e).reduce((i,o)=>(i[o]=String(e[o]),i),{}),this.notify()}get triggerSourceList(){return{...this._triggerSourceList}}set level(e){this._level=e,this.notify()}get level(){return this._level}getTriggerConfig(){return{triggerMechanism:this.triggerMechanism,tiggerMode:this.triggerMode,unit:this.unit,exteriorSource:this.currentTriggerSource,level:this.level}}setTriggerConfig(e){let{triggerMechanism:i,tiggerMode:o,unit:r,exteriorSource:n,level:a}=e;this.triggerMechanism=i,this.triggerMode=o,this.unit=r,this.currentTriggerSource=n,this.level=a}addTriggerItem(e,i){this._triggerSourceList[e]=i,this.notify()}};async function sSo(){return new yUt}var yUt=class{constructor(){this.SampleRate=1,this.channelsSettingDatas=[new ple,new ple,new ple,new ple],this.xAxisSetting=new ont,this.cursorList=new rnt,this.triggerSetting=new nnt,this.displayWays=new wUt,this.channelViews={1:{isEnable:!0,isView:!0,net:[]},2:{isEnable:!0,isView:!0,net:[]},3:{isEnable:!0,isView:!0,net:[]},4:{isEnable:!0,isView:!0,net:[]},5:{isEnable:!1,isView:!1,net:[]},6:{isEnable:!1,isView:!1,net:[]}},this._tableDatas=this.createTableColsProfile(),this.activeChannel="1",C.messageBus.subscribe("updateCursorList",e=>{this.cursorList.tableData=ue.deepClone(e)}),C.messageBus.subscribe("updateOscilloscopeConfig",e=>{this.setConfig(ue.deepClone(e))})}set tableDatas(e){this._tableDatas=e}get tableDatas(){return this._tableDatas}set uniqueId(e){this._uniqueId=e}get uniqueId(){return this._uniqueId}set activeChannel(e){this._activeChannel=e}get activeChannel(){return this._activeChannel}createTableColsProfile(){return[{title:"CH1",key:"1",disabled:!1,titleStyle:{}},{title:"CH2",key:"2",disabled:!1,titleStyle:{}},{title:"CH3",key:"3",disabled:!1,titleStyle:{}},{title:"CH4",key:"4",disabled:!1,titleStyle:{}}]}async initStore(e){this.uniqueId=e.uniqueId;let i=(await C.messageBus.rpcCall("getAllSymbolMultipartBySimUuid",he.getTopActiveSchematicId())).message;Object.entries(i).forEach(([s,l])=>{let c=l;if(c.uuid&&c.uuid==e.uniqueId){let d=c.purepins;d&&this.setchannelViews(d)}});for(let s in this.channelViews){let l=parseInt(s,10);this.tableDatas[l-1]&&(this.channelViews[s].isEnable?(this.tableDatas[l-1].disabled=!1,this.tableDatas[l-1].titleStyle={}):(this.tableDatas[l-1].disabled=!0,this.tableDatas[l-1].titleStyle={color:"#bfbfbf"}))}let r=this.uniqueId,{message:n}=await C.messageBus.rpcCall("fetchOscilloscopeConfig",{oscilloscopeUniqueId:r});if(n)this.setConfig(n);else for(let s=0;s<4;s++)this.channelsSettingDatas[s].auto=!0,this.channelsSettingDatas[s].currentChannel=(s+1).toString(),this.channelsSettingDatas[s].scale="0",this.channelsSettingDatas[s].unit="v",this.channelsSettingDatas[s].y_axis="0";for(let s in this.channelViews)if(this.channelViews[s].isEnable){this.activeChannel=s;break}let a=this.creatConfig();if(a){let s=this.uniqueId;C.messageBus.publish("setOscilloscopeConfig",{uniqueId:s,oscilloscopeConfig:a})}}setchannelViews(e){e.forEach(i=>{if(i.net.length===0)this.channelViews[i.num].isEnable=!1;else if(this.channelViews[i.num].isEnable=!0,this.channelViews[i.num].net=i.net,i.num!=="5"){let o=i.num==="6"?"EXT":`CH${i.num}`;this.triggerSetting.addTriggerItem(i.num,o)}})}setConfig(e){let{channelsConfig:i,xAxissConfig:o,triggerConfig:r,displayWay:n}=e;this.displayWays.displayWay=n,this.setChannelsConfig(i),this.xAxisSetting.setXAxissConfig(o),this.triggerSetting.setTriggerConfig(r)}creatConfig(){return{displayWay:this.displayWays.displayWay,activeChannel:this.activeChannel,ChannelIsView:this.channelViews,channelsConfig:this.getChannelsConfig(),xAxissConfig:this.xAxisSetting.getXAxissConfig(),triggerConfig:this.triggerSetting.getTriggerConfig()}}getChannelsConfig(){let e=[];return this.channelsSettingDatas.forEach(i=>{let o={isAuto:i.auto,currentChannel:i.currentChannel,unit:i.unit,scale:i.scale,Y_axis_offset:i.y_axis};e.push(o)}),e}setChannelsConfig(e){for(let i=0;i<this.channelsSettingDatas.length;i++)this.channelsSettingDatas[i].auto=e[i].isAuto,this.channelsSettingDatas[i].currentChannel=e[i].currentChannel,this.channelsSettingDatas[i].scale=e[i].scale,this.channelsSettingDatas[i].unit=e[i].unit,this.channelsSettingDatas[i].y_axis=e[i].Y_axis_offset}updataConfig(){let e=this.creatConfig(),i=this.uniqueId;C.messageBus.publish("setOscilloscopeConfig",{uniqueId:i,oscilloscopeConfig:e})}},wUt=class extends qe{constructor(){super(),this._displayWay=0}get displayWay(){return this._displayWay}set displayWay(e){this._displayWay!==e&&(this._displayWay=e,this.notify())}},H5=(0,aSo.createContext)(void 0);var FW=L(Se()),PUt=L(jW());var mle=L(Se()),xUt=L(jW());var dSo=L(Se());var CUt=L(z()),cSo=be.bind(xUt.default.locals);function uqr(){let t=(0,mle.useRef)(null),e=(0,dSo.useContext)(H5),i=L$(),[o,r]=(0,mle.useState)(!1);Ae(xUt.default);let n=(0,mle.useRef)(!1);return(0,mle.useEffect)(()=>{n.current||(n.current=!0,C.messageBus.rpcCall("initScope",{OSCid:e.uniqueId}))},[]),(0,CUt.jsx)("div",{className:cSo("oscilloscope-canvans"),children:(0,CUt.jsx)("div",{className:cSo("canvas"),id:"canvas-osc1"})})}var uSo=uqr;var MUt=L(jW());var Ck=L(Se()),TUt=L(mSo());var Iu=L(z()),BW=be.bind(TUt.default.locals),pqr=()=>{let t=(0,Ck.useContext)(H5);Ae(TUt.default),Ce(t.cursorList),Ce(t.xAxisSetting);let e=J(),[i,o]=(0,Ck.useState)([]),[r,n]=(0,Ck.useState)({A:t.channelViews[1].isView,B:t.channelViews[2].isView,C:t.channelViews[3].isView,D:t.channelViews[4].isView}),[a,s]=(0,Ck.useState)(!0),[l,c]=(0,Ck.useState)(!1),[d,u]=(0,Ck.useState)([{key:"A",label:"Channel A",visible:t.channelViews[1].isEnable},{key:"B",label:"Channel B",visible:t.channelViews[2].isEnable},{key:"C",label:"Channel C",visible:t.channelViews[3].isEnable},{key:"D",label:"Channel D",visible:t.channelViews[4].isEnable}]);(0,Ck.useEffect)(()=>{o(t.cursorList.tableData)},[t.cursorList.tableData]),(0,Ck.useEffect)(()=>{t.xAxisSetting.displayMes==="Y/T"?(s(!0),c(!1)):t.xAxisSetting.displayMes.includes("/")&&t.xAxisSetting.displayMes!=="Y/T"?(!a&&!l&&f(),s(!1),c(!1)):t.xAxisSetting.displayMes.includes("+")&&(c(!0),s(!0))},[t.xAxisSetting.displayMes]),(0,Ck.useEffect)(()=>{f()},[a,l]);let p=g=>{switch(g.currentTarget.getAttribute("data-attritem-clcik")){case"left1":C.messageBus.publish("updataCorsor",["curosr1",-1]);break;case"left2":C.messageBus.publish("updataCorsor",["curosr2",-1]);break;case"right1":C.messageBus.publish("updataCorsor",["curosr1",1]);break;case"right2":C.messageBus.publish("updataCorsor",["curosr2",1]);break}},m=g=>{switch(g){case"A":t.channelViews[1].isView=!t.channelViews[1].isView;break;case"B":t.channelViews[2].isView=!t.channelViews[2].isView;break;case"C":t.channelViews[3].isView=!t.channelViews[3].isView;break;case"D":t.channelViews[4].isView=!t.channelViews[4].isView;break}n(b=>({...b,[g]:!b[g]})),t.updataConfig()},h=d.sort((g,b)=>g.visible===b.visible?0:g.visible?-1:1),f=()=>{let g=t.xAxisSetting.displayMes.split(""),b=[{key:"A",label:"Channel A",visible:t.channelViews[1].isEnable},{key:"B",label:"Channel B",visible:t.channelViews[2].isEnable},{key:"C",label:"Channel C",visible:t.channelViews[3].isEnable},{key:"D",label:"Channel D",visible:t.channelViews[4].isEnable}];a?(b.sort((y,w)=>y.visible===w.visible?0:y.visible?-1:1),u(b)):(b.map(y=>{[g[0],g[2]].includes(y.key)||(y.visible=!1)}),b.sort((y,w)=>y.visible===w.visible?0:y.visible?-1:1),u(b))};return(0,Iu.jsxs)("table",{className:BW("custom-table"),children:[(0,Iu.jsx)("thead",{children:(0,Iu.jsxs)("tr",{children:[(0,Iu.jsx)("th",{style:{width:"24%"},children:a?e("Time"):""}),!l&&d.map(g=>(0,Iu.jsx)("th",{style:{width:"19%"},children:g.visible?(0,Iu.jsxs)("div",{className:BW("header-container"),children:[e(g.label),a&&(0,Iu.jsx)("div",{className:BW("icon-positioner"),onClick:()=>m(g.key),children:(0,Iu.jsx)("span",{className:r[g.key]?`${tSo}`:`${iSo}`})})]}):null},g.key)),l&&(0,Iu.jsxs)(Iu.Fragment,{children:[(0,Iu.jsx)("th",{style:{width:"19%"},children:e("Channel")+t.xAxisSetting.displayMes},"A"),(0,Iu.jsx)("th",{children:null}),(0,Iu.jsx)("th",{children:null}),(0,Iu.jsx)("th",{children:null})]})]})}),(0,Iu.jsx)("tbody",{children:i.map((g,b)=>(0,Iu.jsxs)("tr",{children:[(0,Iu.jsx)("td",{children:(0,Iu.jsxs)("div",{className:BW("flex-container"),children:[(0,Iu.jsxs)("div",{className:BW("left-content"),children:[b<2?(0,Iu.jsx)("div",{children:`T${b+1}`}):(0,Iu.jsx)("div",{children:"T2-T1"}),b<2&&(0,Iu.jsxs)("div",{className:BW("cursor-icon-container"),children:[(0,Iu.jsx)("span",{className:BW(`cursor-icon ${rSo}`),"data-attritem-clcik":`left${b+1}`,onClick:p}),(0,Iu.jsx)("span",{className:BW(`cursor-icon ${oSo}`),"data-attritem-clcik":`right${b+1}`,onClick:p})]})]}),(0,Iu.jsx)("div",{className:BW("center-content"),children:`${a?g.currentTime:""}${a?" s":""}`})]})}),!l&&d.map(y=>(0,Iu.jsx)("td",{children:y.visible&&r[y.key]?g[`channelData_${y.key}`]+" v":null},y.key)),l&&(0,Iu.jsxs)(Iu.Fragment,{children:[(0,Iu.jsx)("td",{children:g.channelData_A+" v"},t.xAxisSetting.displayMes),(0,Iu.jsx)("td",{children:null}),(0,Iu.jsx)("td",{children:null}),(0,Iu.jsx)("td",{children:null})]})]},b))})]})},hSo=pqr;var SUt=L(z()),Pzd=be.bind(MUt.default.locals);function mqr(){return Ae(MUt.default),(0,SUt.jsx)("div",{style:{display:"flex",width:"100%",height:"100%"},children:(0,SUt.jsx)(hSo,{})})}var fSo=mqr;var NE=L(Se());var vUt=L(jW());var LUt=L(bSo()),IUt=L(z()),hqr=be.bind(LUt.default.locals),fqr=t=>{let e=J();Ae(LUt.default);let{isToggled:i,onToggle:o,toggleBtnStyle:r,iconStyle:n}=t,a=i?"icon-eda-sim-toggleButton-on":"icon-eda-sim-toggleButton-off";return(0,IUt.jsx)("div",{className:hqr("toggle-btn"),style:r,"data-sensors":"true",onClick:s=>{o(!i)},children:(0,IUt.jsx)("span",{className:`${a}`,style:n})})},ySo=fqr;function cnt(t,e){let i=0,o=0,r=1,n=[1,2,5];for(;i<=t*10;){for(let a of n)if(o=i,i=a*r,t>=o&&t<=i)if(e.deltaY<0){if(i>=1e12)return;if(t===i)continue;return i}else{if(o<=1)return 1;if(t===o){let s=n[n.indexOf(a)-1];return s===void 0?o/2:s*r}else return o}r*=10}return-1}function hle(t,{allowNegative:e=!0,allowDecimal:i=!0}={}){var l;let o=t,r="^";e&&(r+="-?"),r+="\\d*",i&&(r+="(\\.\\d*)?"),r+="$";let n=new RegExp(r),a=e&&o==="-"||i&&o===".";if(!n.test(o)&&!a)return!1;let s=o.length-1;return!(i&&((((l=o.match(/\./g))==null?void 0:l.length)||0)>1||o.endsWith(".")&&s>=0&&new RegExp(`\\.${e?"|-":""}`).test(o)&&isNaN(Number(o))))}var zy=L(z()),xL=be.bind(vUt.default.locals);function gqr(){let t=(0,NE.useContext)(H5);Ae(vUt.default);let e=J(),i=()=>{for(let M in t.channelViews)if(t.channelViews[M].isEnable)switch(M){case"1":return"1";case"2":return"2";case"3":return"3";case"4":return"4"}return"1"},[o,r]=(0,NE.useState)(i()),[n,a]=(0,NE.useState)(t.channelsSettingDatas.find(M=>o===M.currentChannel).auto),[s,l]=(0,NE.useState)("v"),[c,d]=(0,NE.useState)("1"),[u,p]=(0,NE.useState)("0"),m=(0,NE.useRef)({isFocus:!1,valueFocus:{}}),h=(0,NE.useRef)(0);Ce(t.channelsSettingDatas.find(M=>o===M.currentChannel),()=>{let M=t.channelsSettingDatas.find(I=>o===I.currentChannel);return a(M.auto),l(M.unit),d(M.scale),p(M.y_axis),!0});let f=(M,I)=>{switch(M){case"scale":{if(I.length>3)return;t.channelsSettingDatas.map(A=>{o===A.currentChannel&&(A.scale=I)}),d(I);break}case"sy":{t.channelsSettingDatas.map(A=>{o===A.currentChannel&&(A.y_axis=I)}),p(I);break}}},g=M=>{t.channelsSettingDatas.map(I=>{o===I.currentChannel&&(I.auto=M)}),a(M),t.updataConfig()},b=M=>{let I=M.currentTarget,A=I.value,D="0",E=I.getAttribute("data-attritem-input")||"";if(hle(A)){if(E==="scale"){let N=parseInt(A,10);D=isNaN(N)?"1":N.toString(),D.length>3&&(D=D.slice(0,3))}else if(E==="sy"){let N=parseFloat(A);if(N>999||N<-999)return;D=A}f(E,D),t.channelsSettingDatas.forEach(N=>{N.auto&&(N.auto=!1)}),t.updataConfig()}},y=M=>{m.current.isFocus=!1;let I=M.target,A=I.value.trim(),D=I.getAttribute("data-attritem-input");f(D,A)},w=M=>{let I=M.target;M.keyCode===13&&I.blur()},x=M=>{m.current.isFocus=!0;let I=M.target;I.select&&I.select();let A=I.value.trim(),D=I.getAttribute("data-attritem-input");m.current.valueFocus[D]=A},S=M=>{if(!m.current.isFocus)return;let I=M.target,A=I.getAttribute("data-attritem-input"),D=parseFloat(I.value),E,N;if(A==="sy"){if(M.deltaY<0?E=D+.2:E=D-.2,E<-99||E>99)return;E=parseFloat(E.toFixed(1))}else A==="scale"&&(E=cnt(D,M),E===1e3&&s!=="Mv"?(E=1,T(0)):E===1&&s!=="pv"&&(h.current++,h.current===2&&(E=500,h.current=0,T(1))));N=E.toString(),f(A,N),t.channelsSettingDatas.map(R=>{o===R.currentChannel&&(R.auto=!1)}),t.updataConfig()},T=M=>{let I=Object.values(sF),A=I.indexOf(s),D;M===0?D=(A+1)%I.length:M===1&&(D=(A-1)%I.length),l(I[D]),t.channelsSettingDatas.map(E=>{o===E.currentChannel&&(E.unit=I[D])})};return(0,NE.useEffect)(()=>{let M=t.channelsSettingDatas.find(I=>o===I.currentChannel);M&&(a(M.auto),l(M.unit),f("scale",M.scale),f("sy",M.y_axis))},[o,t.channelsSettingDatas]),(0,zy.jsxs)("div",{className:xL("oscilloscope-channel"),children:[(0,zy.jsx)(yl,{lists:t.tableDatas,direction:"top",activeKey:o,type:"card",tabsStyle:{display:"flex",width:"100%",height:"24px",borderColor:"var(--common-border-color)",minWidth:"0",padding:"0"},tabBoxStyle:{width:"100%"},onClick:M=>{t.tableDatas.map(I=>{I.key===M&&(I.disabled||(r(M),t.activeChannel=M,t.updataConfig()))})}}),(0,zy.jsxs)("div",{className:xL("content"),children:[(0,zy.jsxs)("div",{className:xL("cell"),style:{height:"34%"},children:[(0,zy.jsx)("div",{className:xL("column_left"),children:e("Auto")}),(0,zy.jsx)("div",{className:xL("column_middle"),children:(0,zy.jsx)(ySo,{isToggled:n,onToggle:g,toggleBtnStyle:{height:"24px",width:"24px"},iconStyle:{backgroundSize:"24px 24px",height:"24px",width:"24px"}})})]}),(0,zy.jsxs)("div",{className:xL("cell"),style:{height:"34%"},children:[(0,zy.jsx)("div",{className:xL("column_left"),children:e("Scale")}),(0,zy.jsxs)("div",{className:xL("column_middle"),children:[(0,zy.jsx)("input",{className:xL("inputStyle"),"data-attritem-input":"scale",type:"text",maxLength:6,value:c,step:.2,disabled:!1,onChange:b,onFocus:x,onBlur:y,onWheel:S,onKeyUp:w}),(0,zy.jsx)(ld,{height:"22px",width:"32%",style:{marginLeft:"5px"},searchAble:!1,selectedValue:s,selectedText:s,onItemChange:M=>{l(M),t.channelsSettingDatas.map(I=>{o===I.currentChannel&&(I.unit=M)}),t.updataConfig()},children:Object.entries(sF).map(([M,I])=>(0,zy.jsx)(lc,{value:I,title:M,children:I},`switch-brightness-${M}`))})]}),(0,zy.jsx)("div",{className:xL("column_right"),children:"/Div"})]}),(0,zy.jsxs)("div",{className:xL("cell"),style:{height:"33%"},children:[(0,zy.jsx)("div",{className:xL("column_left"),children:e("Y-axis(grid)")}),(0,zy.jsx)("div",{className:xL("column_middle"),children:(0,zy.jsx)("input",{className:xL("inputStyle"),"data-attritem-input":"sy",maxLength:6,type:"text",value:u,step:.2,disabled:!1,onFocus:x,onBlur:y,onWheel:S,onKeyUp:w,onChange:b})})]})]})]})}var CSo=gqr;var lF=L(Se()),DUt=L(jW());var t0=L(z()),Fy=be.bind(DUt.default.locals);function bqr(){let t=(0,lF.useContext)(H5);Ae(DUt.default);let e=J();Ce(t.displayWays,()=>(t.displayWays.displayWay!==0?(o(0),n(0)):(o(t.triggerSetting.triggerMechanism),n(t.triggerSetting.triggerMode)),!0));let[i,o]=(0,lF.useState)(t.triggerSetting.triggerMechanism),[r,n]=(0,lF.useState)(t.triggerSetting.triggerMode),[a,s]=(0,lF.useState)(t.triggerSetting.level),[l,c]=(0,lF.useState)(t.triggerSetting.unit),[d,u]=(0,lF.useState)(t.triggerSetting.currentTriggerSource);(0,lF.useEffect)(()=>{t.updataConfig()},[a,l,d,i,r]);let p=g=>{switch(g.target.getAttribute("data-attritem-clcik")){case"single":{t.triggerSetting.triggerMode=2,n(2);break}case"normal":{t.triggerSetting.triggerMode=3,n(3);break}case"none":{t.triggerSetting.triggerMode=1,n(1);break}}},m=(g,b)=>{if(!hle(g))return;let y=parseFloat(g);y>999||y<-999||(t.triggerSetting.level=g,s(g),t.updataConfig())},h=g=>{let b=g.target,y=0;if(!hle(b.value))return;b.value==="-"?y=0:y=parseFloat(b.value);let w,x;g.deltaY<0?y===999&&l!=="Mv"?(w=1,f(0)):y===-1&&l!=="pv"?(w=-999,f(1)):w=y+1:y===1&&l!=="pv"?(w=999,f(1)):y===-999&&l!=="Mv"?(w=-1,f(0)):w=y-1,w=parseFloat(w.toFixed(0)),x=w.toString(),t.triggerSetting.level=x,s(x),t.updataConfig()},f=g=>{let b=Object.values(sF),y=b.indexOf(l),w;g===0?w=(y+1)%b.length:g===1&&(w=(y-1)%b.length),c(b[w]),t.triggerSetting.unit=b[w]};return(0,t0.jsx)("div",{className:Fy("oscilloscope-tigger"),children:(0,t0.jsxs)("fieldset",{className:Fy("fieldset"),children:[(0,t0.jsx)("legend",{"data-test":"Available Items",style:{marginLeft:"16px"},children:e("Trigger")}),(0,t0.jsxs)("div",{className:Fy("cell"),style:{height:"25%"},children:[(0,t0.jsx)("div",{className:Fy("column_left"),children:e("edge")}),(0,t0.jsxs)("div",{className:Fy("column_middle"),style:{flex:"0 0 40%"},children:[(0,t0.jsx)("div",{className:Fy(`bottom-item ${i===1?"active":""}`),title:`${e("Rising edge")}`,onClick:()=>{i!==0&&(t.triggerSetting.triggerMechanism=1,o(1)),t.updataConfig()},children:(0,t0.jsx)("span",{className:`${$5o}`})}),(0,t0.jsx)("div",{className:Fy(`bottom-item ${i===2?"active":""}`),title:`${e("Falling edge")}`,onClick:()=>{i!==0&&(t.triggerSetting.triggerMechanism=2,o(2)),t.updataConfig()},children:(0,t0.jsx)("span",{className:`${eSo}`,style:{transform:"scaleX(-1)"}})})]}),(0,t0.jsxs)("div",{className:Fy("column_right"),style:{flex:"0 0 calc(30% - 5px)"},children:[e("Ext"),(0,t0.jsx)("div",{className:Fy(`circle ${t.triggerSetting.triggerSourceList[6]?"blue":"gray"}`)})]})]}),(0,t0.jsxs)("div",{className:Fy("cell"),style:{height:"25%"},children:[(0,t0.jsx)("div",{className:Fy("column_left"),children:e("level")}),(0,t0.jsx)("div",{className:Fy("column_middle"),style:{flex:"0 0 40%"},children:(0,t0.jsx)(Kt,{style:{alignItems:"center"},value:a,disabled:t.displayWays.displayWay!==0,type:"text",onChange:m,onWheel:h})}),(0,t0.jsx)("div",{className:Fy("column_right"),style:{flex:"0 0 calc(30% - 5px)"},children:(0,t0.jsx)(ld,{height:"22px",width:"69%",searchAble:!1,disabled:t.displayWays.displayWay!==0,selectedValue:l,selectedText:l,onItemChange:g=>{t.triggerSetting.unit=g,c(g),t.updataConfig()},children:Object.entries(sF).map(([g,b])=>(0,t0.jsx)(lc,{value:b,title:g,children:b},`switch-brightness-${g}`))})})]}),(0,t0.jsxs)("div",{className:Fy("cell"),style:{height:"25%"},children:[(0,t0.jsx)("div",{className:Fy("column_left"),style:{flex:"0 0 50%"},children:e("Trigger")}),(0,t0.jsx)("div",{className:Fy("column_right"),style:{flex:"0 0 calc(50% - 5px)"},children:(0,t0.jsx)(ld,{height:"22px",width:"80%",style:{marginLeft:"2px",textAlign:"left"},searchAble:!1,disabled:t.displayWays.displayWay!==0,selectedValue:d,selectedText:d,onItemChange:g=>{t.triggerSetting.currentTriggerSource=g,u(g),t.updataConfig()},children:Object.entries(t.triggerSetting.triggerSourceList).map(([g,b])=>(0,t0.jsx)(lc,{value:b,title:g,children:b},`switch-brightness-${g}`))})})]}),(0,t0.jsxs)("div",{className:Fy("cell"),style:{height:"25%"},children:[(0,t0.jsx)("div",{className:Fy("button_column_left"),children:(0,t0.jsx)(Me,{size:"sm",style:{justifyContent:"center",width:"54px"},type:r===0?"forbidden":r===2?"primary":"default","data-attritem-clcik":"single",onClick:p,children:e("Once")})}),(0,t0.jsx)("div",{className:Fy("button_column_middle"),children:(0,t0.jsx)(Me,{size:"sm",style:{justifyContent:"center",width:"54px"},type:r===0?"forbidden":r===3?"primary":"default","data-attritem-clcik":"normal",onClick:p,children:e("Normal")})}),(0,t0.jsx)("div",{className:Fy("button_column_right"),children:(0,t0.jsx)(Me,{size:"sm",style:{justifyContent:"center",width:"54px"},type:r===0?"forbidden":r===1?"primary":"default","data-attritem-clcik":"none",onClick:p,children:e("None")})})]})]})})}var TSo=bqr;var xk=L(Se()),kUt=L(jW());var AUt=L(MSo());var EUt=L(z()),ISo=be.bind(AUt.default.locals),yqr=({options:t,isClicked:e,data_attritem_clcik:i,onClick:o})=>{let r=a=>{e||a.preventDefault()},n={backgroundColor:e?"#1890ff":"",color:e?"white":"var(--font-color-hover-tab)"};return Ae(AUt.default),(0,EUt.jsx)("select",{className:ISo("customSelect"),style:n,onClick:o,"data-attritem-clcik":i,onMouseDown:r,children:t.map(a=>a.isvisable&&(0,EUt.jsx)("option",{className:ISo("option"),value:a.value,children:a.label},a.value))})},NUt=yqr;var yg=L(z()),i6=be.bind(kUt.default.locals);function wqr(){let t=(0,xk.useContext)(H5);Ce(t.xAxisSetting,()=>(r(t.xAxisSetting.unit),a(t.xAxisSetting.scale),l(t.xAxisSetting.x_axis),!0));let e=J();Ae(kUt.default);let i=(0,xk.useRef)({isFocus:!1,valueFocus:{}}),[o,r]=(0,xk.useState)(t.xAxisSetting.unit),[n,a]=(0,xk.useState)(t.xAxisSetting.scale),[s,l]=(0,xk.useState)(t.xAxisSetting.x_axis),[c,d]=(0,xk.useState)(t.xAxisSetting.displayRatioMode),[u,p]=(0,xk.useState)(t.xAxisSetting.displayAdderMode),[m,h]=(0,xk.useState)(t.displayWays.displayWay),f=(0,xk.useRef)(0),g=(I,A)=>{switch(I){case"scale":{if(A.length>3)return;t.xAxisSetting.scale=A,a(A);break}case"sx":{t.xAxisSetting.x_axis=A,l(A);break}}},b=I=>{let A=I.currentTarget,D=A.value,E="0",N=A.getAttribute("data-attritem-input")||"";if(hle(D)){if(N==="scale"){let R=parseInt(D,10);E=isNaN(R)?"1":R.toString(),E.length>3&&(E=E.slice(0,3))}else if(N==="sx"){let R=parseFloat(D);if(R>999||R<-999)return;E=D}g(N,E),t.channelsSettingDatas.forEach(R=>{R.auto&&(R.auto=!1)}),t.updataConfig()}},y=I=>{i.current.isFocus=!1;let A=I.target,D=A.value.trim(),E=A.getAttribute("data-attritem-input");g(E,D)},w=I=>{let A=I.target;I.keyCode===13&&A.blur()},x=I=>{i.current.isFocus=!0;let A=I.target;A.select&&A.select();let D=A.value.trim(),E=A.getAttribute("data-attritem-input");i.current.valueFocus[E]=D},S=I=>{if(!i.current.isFocus)return;let A=I.target,D=A.getAttribute("data-attritem-input"),E=parseFloat(A.value),N,R;if(D==="sx"){if(I.deltaY<0?N=E+.2:N=E-.2,N<-10||N>10)return;N=parseFloat(N.toFixed(1))}else D==="scale"&&(N=cnt(E,I),N===1e3&&o!=="MS"?(N=1,M(0)):N===1&&o!=="ns"&&(f.current++,f.current===2&&(N=500,f.current=0,M(1))));R=N.toString(),g(D,R),t.channelsSettingDatas.map(v=>{v.auto===!0&&(v.auto=!1)}),t.updataConfig()},T=I=>{let A=I.target,D=A.value,E=A.getAttribute("data-attritem-clcik");switch(t.xAxisSetting.displayMes=D,E){case"A+B":{t.displayWays.displayWay=2,h(2);break}case"A/B":{t.displayWays.displayWay=1,h(1);break}case"Y/T":{t.displayWays.displayWay=0,h(0),t.xAxisSetting.displayMes=E;break}}t.updataConfig()},M=I=>{let A=Object.values(fve),D=A.indexOf(o),E;I===0?E=(D+1)%A.length:I===1&&(E=(D-1)%A.length),r(A[E]),t.xAxisSetting.unit=A[E]};return(0,yg.jsx)("div",{className:i6("oscilloscope-xaxis"),children:(0,yg.jsxs)("fieldset",{className:i6("fieldset"),children:[(0,yg.jsx)("legend",{"data-test":"Available Items",style:{marginLeft:"16px"},children:e("Time basic")}),(0,yg.jsxs)("div",{className:i6("cell"),style:{height:"33%"},children:[(0,yg.jsx)("div",{className:i6("column_left"),children:m!==0?e("Range"):e("Scale")}),(0,yg.jsxs)("div",{className:i6("column_middle"),children:[(0,yg.jsx)("input",{className:i6("inputStyle"),"data-attritem-input":"scale",type:"text",maxLength:6,value:n,step:.2,disabled:!1,onChange:b,onFocus:x,onBlur:y,onWheel:S,onKeyUp:w}),m===0&&(0,yg.jsx)(ld,{height:"22px",width:"32%",style:{marginLeft:"5px"},searchAble:!1,selectedValue:o,selectedText:o,onItemChange:I=>{r(I),t.xAxisSetting.unit=I},children:Object.entries(fve).map(([I,A])=>(0,yg.jsx)(lc,{value:A,title:I,children:A},`switch-brightness-${I}`))})]}),m===0&&(0,yg.jsx)("div",{className:i6("column_right"),children:"/Div"})]}),(0,yg.jsxs)("div",{className:i6("cell"),style:{height:"33%"},children:[(0,yg.jsx)("div",{className:i6("column_left"),children:e("X-axis(grid)")}),(0,yg.jsx)("div",{className:i6("column_middle"),children:(0,yg.jsx)("input",{className:i6("inputStyle"),"data-attritem-input":"sx",type:"text",maxLength:6,value:s,step:.2,disabled:m!==0,onChange:b,onFocus:x,onBlur:y,onWheel:S,onKeyUp:w})})]}),(0,yg.jsxs)("div",{className:i6("cell"),style:{height:"36%"},children:[(0,yg.jsx)("div",{className:i6("button_column_left"),children:(0,yg.jsx)(Me,{size:"sm","data-attritem-clcik":"Y/T",style:{width:"54px"},type:m===0?"primary":"default",onClick:T,children:"Y/T"})}),(0,yg.jsx)("div",{className:i6("button_column_middle"),children:(0,yg.jsx)(NUt,{data_attritem_clcik:"A/B",options:c,isClicked:m===1,onClick:T},1)}),(0,yg.jsx)("div",{className:i6("button_column_right"),children:(0,yg.jsx)(NUt,{data_attritem_clcik:"A+B",options:u,isClicked:m===2,onClick:T},2)})]})]})})}var LSo=wqr;var rR=L(z()),unt=be.bind(PUt.default.locals);function Cqr(){Ae(PUt.default);let t=(0,FW.useRef)(null),e=(0,FW.useRef)(null),[i,o]=(0,FW.useState)(!1),r=(0,FW.useContext)(H5);return(0,FW.useLayoutEffect)(()=>{if(!(!r||!t.current))return e.current=new ResizeObserver(n=>{for(let a of n){let{width:s}=a.contentRect;s<800?o(!0):s>805&&o(!1)}}),e.current.observe(t.current),()=>{e.current&&e.current.disconnect()}},[r]),(0,rR.jsxs)("div",{ref:t,className:unt("top-section"),children:[(0,rR.jsxs)("div",{className:unt(i?"oscilloscope-fullCanvans":"left-component"),children:[(0,rR.jsx)(uSo,{}),(0,rR.jsx)("div",{className:unt("oscilloscope-cursor",{hidden:i}),children:(0,rR.jsx)(fSo,{})})]}),(0,rR.jsxs)("div",{className:unt("right-component",{hidden:i}),children:[(0,rR.jsx)(CSo,{}),(0,rR.jsx)(LSo,{}),(0,rR.jsx)(TSo,{})]})]})}var vSo=Cqr;var Oee=L(Se());var RUt=L(jW()),vbe=L(z()),OUt=be.bind(RUt.default.locals);function xqr(t){let e=(0,Oee.useContext)(H5),{handleBtnEvent:i}=t;Ae(RUt.default);let[o,r]=(0,Oee.useState)(!1),n=(0,Oee.useRef)(null),a=async s=>{window.setTimeout(n.current),n.current=window.setTimeout(()=>{i(s)})};return(0,vbe.jsxs)("div",{className:OUt("buttonflex"),children:[(0,vbe.jsx)("div",{className:OUt("left-content")}),(0,vbe.jsx)("div",{className:OUt("right-content"),children:(0,vbe.jsx)(Me,{style:{marginLeft:"8px"},type:"primary",onClick:()=>a("cancel"),children:"Cancel"})})]})}var DSo=Oee.default.memo(xqr);var _Ut=L(jW());var Ree=L(z()),ESo=be.bind(_Ut.default.locals),ASo=null,Tqr=t=>{let[e,i]=(0,pnt.useState)(null);Ae(_Ut.default);let{uniqueId:o,symbolDeviceId:r,containerId:n}=t,a={symbolDeviceId:r,uniqueId:o};(0,pnt.useLayoutEffect)(()=>{window.clearTimeout(ASo),ASo=window.setTimeout(()=>{sSo().then(async l=>{await l.initStore(a),i(l)})},30)},[]);let s=async l=>{switch(l){case"cancel":{let c=e.creatConfig();if(c){let d=e.uniqueId;C.messageBus.publish("setOscilloscopeConfig",{uniqueId:d,oscilloscopeConfig:c}),C.messageBus.publish("closeScope")}le.close()}break;case"confirm":{let c=e.creatConfig();if(c){let d=e.uniqueId;C.messageBus.publish("setOscilloscopeConfig",{uniqueId:d,oscilloscopeConfig:c}),C.messageBus.publish("closeScope")}}break;case"copyPhoto":break;case"loadPhoto":break;case"playPhoto":break;default:le.close();break}};return Bt(()=>{s("confirm"),le.close()}).close(n),e?(0,Ree.jsx)("div",{className:ESo("container"),children:(0,Ree.jsxs)(H5.Provider,{value:e,children:[(0,Ree.jsx)(vSo,{}),(0,Ree.jsx)("div",{className:ESo("bottom-section"),children:(0,Ree.jsx)(DSo,{handleBtnEvent:s})})]})}):(0,Ree.jsx)("div",{})},NSo=Tqr;var OSo=L(z());async function kSo(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s,resize:l,mask:c,esc:d}=i,u=t.dialogTitle||r,p=t.id||o;return le.open({id:p,title:u,width:n,height:a,closed:s,children:(0,OSo.jsx)(NSo,{containerId:p,symbolDeviceId:t.symbolDeviceId,uniqueId:t.uniqueId}),resize:l,mask:c,esc:d}),le}async function PSo(t){return await ii("simulation_Oscilloscope",{...t})}var RSo=L(Se());var _So=L(eC());var kE=L(z()),Sqr=({option:t})=>{let{containerId:e,onConfirm:i,onCancel:o,reuseBlocks:r=[]}=t,n=J(),[a,s]=(0,RSo.useState)(!1),l=async()=>{await d("2"),i("2"),le.close(e)},c=async()=>{await d("1"),i("1"),le.close(e)},d=async m=>{if(a)await new Promise(async(h,f)=>{Ut({type:"info",message:Ti("By checking \u201CDo not prompt\u201D, the next operation will be executed automatically according to \u201CNon-Copy\u201D, and there will be no more prompts, which can be modified in {position}.",{params:{position:`<span style="color:#3399ff" }>${me.i18n("Settings-System-General")}</span>`}}),isHtml:!0,showCancel:!1,textOK:"Confirm",closable:!1,onConfirm:()=>{let g=Wi("SYSTEM","copyReuseBlocks",{readValueKey:!1});g.value=m,mt.savePreference("commSystemSetting",sc(),!0,!0),h(!0)},onCancel:()=>{h(!0)}})});else return!0},u=async()=>{o(),le.close(e)},p=async m=>{s(m)};return Bt(({code:m})=>{m==="Escape"&&u()}).keyboard(e),Ae(_So.default),(0,kE.jsxs)("div",{className:"pop-content-container",style:{height:"auto"},children:[(0,kE.jsxs)("div",{style:{position:"relative",marginBottom:"16px",width:"100%",minHeight:"100px"},children:[(0,kE.jsx)("div",{className:"messager-icon messager-info"}),(0,kE.jsxs)("div",{style:{minHeight:0},children:[(0,kE.jsx)("p",{className:"i18n",style:{wordWrap:"break-word",whiteSpace:"pre-wrap"},children:n("The copied content uses the following reuse blocks. Please select whether to also copy the reuse blocks?")}),(0,kE.jsxs)("p",{className:"i18n",style:{wordWrap:"break-word",whiteSpace:"pre-wrap"},children:[n("Reuse Block"),": ",[...new Set(r)].join(",")]})]})]}),(0,kE.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,kE.jsx)(qt,{style:{position:"absolute",left:"8px"},dataTest:"Don't show again",onChange:p,children:"Don't show again"}),(0,kE.jsx)(ml,{type:"primary",size:"md",style:{marginRight:"8px"},onClick:()=>c(),class:"i18n",children:"Non-Copy"}),(0,kE.jsx)(ml,{type:"primary",size:"md",style:{marginRight:"8px"},onClick:()=>l(),class:"i18n",children:"Copy"}),(0,kE.jsx)(ml,{type:"default",size:"md",onClick:()=>u(),class:"i18n",children:"Cancel"})]})]})},jSo=Sqr;var zSo=L(z());async function BSo(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i,s,l=new Promise(d=>s=d),c={...t,containerId:o,onConfirm:d=>{s(d)},onCancel:()=>{s(!1)}};return le.open({id:o,title:r,width:n,closed:a,children:(0,zSo.jsx)(jSo,{option:c}),onClose:()=>{s(!1)}}),l}var BUt=L(jUt());var ZUd=L(jUt()),G5=L(z()),cF=be.bind(BUt.default.locals),USo="Engine_detecton",Mqr=()=>{Ae(BUt.default);let t=J(),e=()=>{let o=C.HelpURL.clientDownload,r=window.open(o,"_blank");r==null||r.focus(),le.close(USo)},i=()=>{let o=C.HelpURL.sim_introduction,r=window.open(o,"_blank");r==null||r.focus(),le.close(USo)};return(0,G5.jsxs)("div",{className:cF("modal-container"),children:[(0,G5.jsxs)("div",{className:cF("content"),children:[(0,G5.jsxs)("div",{className:cF("cell"),children:[(0,G5.jsx)("div",{className:cF("column_left"),children:(0,G5.jsx)("span",{className:cF("messager-warning messager-icon")})}),(0,G5.jsx)("div",{className:cF("column_right"),children:(0,G5.jsx)("span",{style:{fontSize:"14px"},children:t("You have downloaded the Jialichuang simulation plug-in, whether to download the installation package now?")})})]}),(0,G5.jsxs)("div",{className:cF("cell"),children:[(0,G5.jsx)("div",{className:cF("column_left")}),(0,G5.jsx)("div",{className:cF("column_right"),children:(0,G5.jsx)("span",{style:{fontSize:"14px",color:"#999999"},children:t("After the download is complete, click the Start Simulation button again to use it.")})})]})]}),(0,G5.jsxs)("div",{className:cF("button"),children:[(0,G5.jsx)(Me,{type:"primary",style:{marginLeft:"8px"},onClick:e,children:"Download Immediately"}),(0,G5.jsx)(Me,{type:"default",onClick:i,children:"look for Engine introduct"})]})]})},VSo=Mqr;var GSo=L(z());async function HSo(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s,mask:l,esc:c}=i;return le.open({id:o,title:r,width:n,height:a,closed:s,mask:l,esc:c,children:(0,GSo.jsx)(VSo,{})}),le}var QSo=L(Se());var zUt=L(WSo());var UW=L(z()),Iqr=t=>{let{containerId:e,dialogId:i,expansion:o,canvasUnitName:r,type:n,targetIds:a}=t,s=10,l=ru(r||"mm"),c=l==1?1:3,d="Expansion Distance",u="";y(o)?u=w(o,s).toString():u=w(.1,39.37).toString();let p=J(),m=be.bind(zUt.default.locals);Ae(zUt.default),Bt(S=>{S&&(S.code==="Escape"&&b("close"),["Enter","NumpadEnter"].includes(S.code)&&b("confirm"))}).keyboard(e),Bt(()=>{b("close")}).close(e);let[h,f]=(0,QSo.useState)(u);function g(S){S=S.trim();let T=li.toFixed(parseFloat(S),c);y(T)&&f(T.toString())}function b(S){let T=S==="confirm",M={type:n,targetIds:a,expansion:x(parseFloat(h)),clearCache:!T};oo({action:S,dialogId:i,formData:M}),le.close(e)}function y(S){return typeof S=="number"&&!isNaN(S)}function w(S,T){return li.toFixed(np.convert(S,T,l),c)}function x(S){return np.convert(S,l,s)}return(0,UW.jsxs)("div",{className:m("container"),children:[(0,UW.jsxs)("div",{className:m("content"),children:[(0,UW.jsx)("span",{className:m("title"),title:p(d),"data-test":d,children:p(d)}),(0,UW.jsx)(or,{value:h,inputUnit:r,originUnit:r,onChange:S=>{g(S.toString())}})]}),(0,UW.jsxs)("div",{className:m("footer"),children:[(0,UW.jsx)(Me,{type:"primary",onClick:()=>b("confirm"),children:"Confirm"}),(0,UW.jsx)(Me,{onClick:()=>b("cancel"),children:"Cancel"})]})]})},KSo=Iqr;var JSo=L(z());async function ZSo(t,e){let i=bt[e];t||(t={});let{dialogId:o,containerId:r,title:n,width:a,closed:s}=i,l=Object.assign({dialogId:o,containerId:r},t);await le.open({id:r,title:n,width:a,closed:s,children:(0,JSo.jsx)(KSo,{...l})})}var qSo={encodingType:"panel",optionUnit:39.37,scale:1,strokeWidth:.1},XSo=[{text:"Print Layer",value:1},{text:"Opacity Control Layer",value:2},{text:"Board Outline Layer",value:3},{text:"Slot Hole Layer",value:4},{text:"Glue Cutout Layer",value:5},{text:"Lighting Simulation Layer",value:6}];var $So={coordinate:1};var hnt={encodingType:"pcb",optionUnit:39.37,scale:1,strokeWidth:.1,isMergePoly:!0,defaultLayer:{layerType:"Top",layerOrder:0}},eMo="dxf-preview";function tMo(t,e=!1){let i,o=0;if(t>=15&&t<=46?(i=e?"Plane":"Signal",o=t-15+1):t>=71&&t<=270?(i="Custom",o=t-71+1):t>=361&&(i="Substrate",o=t-361+1),o>0)return{layerType:i,layerOrder:o};switch(t){case 1:i="Top";break;case 3:i="TopSilk";break;case 5:i="TopSolderMask";break;case 7:i="TopPasteMask";break;case 9:i="TopAssembly";break;case 2:i="Bottom";break;case 4:i="BottomSilk";break;case 6:i="BottomSolderMask";break;case 8:i="BottomPasteMask";break;case 10:i="BottomAssembly";break;case 11:i="BoardOutline";break;case 12:i="Multi";break;case 13:i="Document";break;case 14:i="Mechanical",o=1;break;case 47:i="Hole";break;case 48:i="ComponentShape";break;case 49:i="ComponentMarking";break;case 50:i="PinSoldering";break;case 51:i="PinFloating";break;case 52:i="ComponentModel";break;case 53:i="D3ShellOutline";break;case 54:i="D3ShellTop";break;case 55:i="D3ShellBottom";break;case 56:i="DrillDrawing";break;case 57:i="Ratline";break;case 58:i="StiffenerTop";break;case 59:i="StiffenerBottom";break;default:i="Custom",o=1;break}return{layerType:i,layerOrder:o}}var iMo="dxfDecodingData";var jee=class extends qe{constructor(i){super();this.dxfDecodingType="dxf";this.dxfEncodingType="easyeda-pro-2";this._dxfReferencePoint="dxfOrigin";this.dxfEncoderOptions=null;this._dxfApplyUnitName="Follow DXF";this.modifyingDxfLayerName=new Set;this.lastDxfScaleRatio=1;this.lastDxfApplyUnitName=null;this.cacheDxfParseOtions=ue.deepClone(i);let{optionUnit:o,scale:r,strokeWidth:n,encodingType:a}=i;this._dxfTarget=a,this._dxfOptionUnit=o,this._dxfScaleRatio=r,this._dxfLineWidthValue=n}get dxfFileName(){return this._dxfFileName}get dxfOptionUnit(){return this._dxfOptionUnit}get dxfUnitName(){return this._dxfUnitName}get dxfWidth(){return this._dxfWidth}get dxfHeight(){return this._dxfHeight}get dxfReferencePoint(){return this._dxfReferencePoint}get dxfUnit(){return this._dxfUnit}set dxfReferencePoint(i){this._dxfReferencePoint!=i&&(this._dxfReferencePoint=i,this.notify())}get dxfScaleRatio(){return this._dxfScaleRatio}set dxfScaleRatio(i){this._dxfScaleRatio!=i&&(this._dxfScaleRatio=i,this.notify())}get dxfLineWidthValue(){return this._dxfLineWidthValue}set dxfLineWidthValue(i){i!==this._dxfLineWidthValue&&(this._dxfLineWidthValue=i)}get dxfApplyUnitName(){return this._dxfApplyUnitName==="Follow DXF"?this._dxfUnitName:this._dxfApplyUnitName}set dxfApplyUnitName(i){i!==this._dxfApplyUnitName&&(this._dxfApplyUnitName=i,this.notify())}get currentPcbLayerInfoMap(){return this._currentPcbLayerInfoMap}set currentPcbLayerInfoMap(i){this._currentPcbLayerInfoMap=i}async resetCurrentPcbLayerInfoMap(){let i={onlyPolyLayer:!0},o=await Pt(kt.Pcb.GetLayerInfoMap,i);this.currentPcbLayerInfoMap=o||{}}getCurrentPcbLayerSelectList(){let i=this.currentPcbLayerInfoMap,o=[];return Pp(i,(r,n)=>{o.push({value:n,text:r.layerName})}),o}getCurrentPcbSupportedLayers(){let i=this.currentPcbLayerInfoMap,o=[];return Pp(i,(r,n)=>{let a=+n,{layerType:s,layerOrder:l}=tMo(a,r.isPlane),c={layerType:s,layerOrder:l},d={layerName:r.layerName,layerColor:r.layerColor,isVisible:r.isVisible};o.push({pcbLayer:c,pcbLayerConfig:d})}),o}get dxfLayerInfoMap(){return this._dxfLayerInfoMap}set dxfLayerInfoMap(i){this._dxfLayerInfoMap=i}get dxfLayerNameToPcbLayerMap(){return this._dxfLayerNameToPcbLayerMap}set dxfLayerNameToPcbLayerMap(i){this._dxfLayerNameToPcbLayerMap=i}get dxfLayerNameToPanelLayerMap(){return this._dxfLayerNameToPanelLayerMap}set dxfLayerNameToPanelLayerMap(i){this._dxfLayerNameToPanelLayerMap=i}resetDxfLayerNameToPcbLayerMap(){var s;let i=this.currentPcbLayerInfoMap,o=this._dxfLayerInfoMap,r={},n=1,a=((s=nD(i,n.toString()))==null?void 0:s.layerName)||"";Pp(o,(l,c)=>{r[c]={layerId:n,layerName:a,checked:l.isVisible}}),this.dxfLayerNameToPcbLayerMap=r}getPcbDxfLayerTableRow(){let i=this.dxfLayerNameToPcbLayerMap,o=[];return Pp(i,(r,n)=>{o.push({dxf_layer:n,import_layer:r.layerId.toString(),checked:r.checked})}),o}updateDxfLayerNameToPcbLayerMap(i){let o=this.currentPcbLayerInfoMap,r=this.dxfLayerNameToPcbLayerMap,n={};this.modifyingDxfLayerName.clear(),Kb(i,a=>{var p;let s=a.dxf_layer,l=a.import_layer,c=((p=nD(o,l))==null?void 0:p.layerName)||"",d={layerId:+l,layerName:c,checked:a.checked};n[s]=d;let u=nD(r,s);(u.layerName!=d.layerName||u.checked!=d.checked)&&this.modifyingDxfLayerName.add(s)}),this.modifyingDxfLayerName.size>0&&(this.dxfLayerNameToPcbLayerMap=n,this.notify())}resetDxfLayerNameToPanelLayerMap(){let i=this._dxfLayerInfoMap,o={},r=1,n="Print Layer";Pp(i,(a,s)=>{o[s]={layerId:r,layerName:n,checked:a.isVisible}}),this.dxfLayerNameToPanelLayerMap=o}getPanelDxfLayerTableRow(){let i=this.dxfLayerNameToPanelLayerMap,o=[];return Pp(i,(r,n)=>{o.push({dxf_layer:n,import_layer:r.layerId.toString(),checked:r.checked})}),o}updateDxfLayerNameToPanelLayerMap(i){let o=this.dxfLayerNameToPanelLayerMap,r={};this.modifyingDxfLayerName.clear(),Kb(i,n=>{let a=n.dxf_layer,s=n.import_layer,l=bq[s],c={layerId:+s,layerName:l,checked:n.checked};r[a]=c;let d=nD(o,a);(d.layerName!=c.layerName||d.checked!=c.checked)&&this.modifyingDxfLayerName.add(a)}),this.modifyingDxfLayerName.size>0&&(this.dxfLayerNameToPanelLayerMap=r,this.notify())}updateDxfLineWidthValue(i){i===this._dxfLineWidthValue&&(this._dxfLineWidthValue=i)}async importDxf(i=!1){try{let o=await xj({fileType:this.dxfDecodingType});if(!o||o.length==0)return;this.cacheFileData=await yA(o,{decodingType:this.dxfEncodingType,encoding:["utf8","gbk"]});let r=await this.handleFormatConversion(this.cacheFileData,this.getDecodeDxfOptions());this.modifyingDxfLayerName.size>0&&this.modifyingDxfLayerName.clear();let n=this.handleChameleonRes(r);return!n&&this.failToastMsg(),i&&this.notify(),n}catch{return this.failToastMsg(),!1}}async handleFormatConversion(i,o){let r=await RT({decodingOptions:{decodingType:this.dxfDecodingType,decodingData:i.decodingData,decoderOptions:o},encodingOptions:{encodingType:"easyeda-pro-2",encoderOptions:this.dxfEncoderOptions},projectName:i.fileTitle});if(r.success&&r.result){let n=r.result,{project:a,extension:s={}}=n,{decodingData:l={}}=s,{config:c,dataStr:d}=a,u=new __().start(d),{sheets:p,pcbs:m,panels:h}=u;return this.cacheParseOptions=o,{sheets:p,pcbs:m,panels:h,decodingData:l,fileName:c.title}}else return}getDecodeDxfOptions(){if(this._dxfScaleRatio=this.cacheDxfParseOtions.scale,this._dxfLineWidthValue=this.cacheDxfParseOtions.strokeWidth,this._dxfApplyUnitName="Follow DXF",this.lastDxfApplyUnitName=null,this.lastDxfScaleRatio=1,this._dxfTarget=="pcb"){let i=Object.assign({},hnt);return i.supportedLayers=this.getCurrentPcbSupportedLayers(),i}return{encodingType:this._dxfTarget,optionUnit:this._dxfOptionUnit,scale:this._dxfScaleRatio,strokeWidth:this._dxfLineWidthValue}}handleChameleonRes(i,o=!1){try{let{sheets:r,pcbs:n,panels:a,decodingData:s}=i,l=s?s[iMo]:null;if(!l)return!1;if(l){let{dxfUnit:c,dxfUnitName:d,dxfDocWidth:u,dxfDocHeight:p,dxfLayerInfoMap:m}=l;this._dxfUnitName=d,this._dxfWidth=u,this._dxfHeight=p,this._dxfUnit=c,this.dxfLayerInfoMap=m}switch(this._dxfTarget){case"panel":let c=Object.keys(a);if(c.length>0&&c.length===1){this.resetDxfLayerNameToPanelLayerMap();let p=a[c[0]];this.dxfPreviewerStr=p==null?void 0:p.canvas,this._dxfFileName=p==null?void 0:p.title}break;case"pcb":let d=Object.keys(n);if(d.length>0&&d.length===1){this.resetDxfLayerNameToPcbLayerMap();let p=n[d[0]];this.dxfPreviewerStr=p==null?void 0:p.canvas,this._dxfFileName=p==null?void 0:p.title}break;case"sch":let u=Object.keys(r);if(u.length>0&&u.length===1){let p=r[u[0]];this.dxfPreviewerStr=p==null?void 0:p.canvas,this._dxfFileName=p==null?void 0:p.title}break;default:break}return o&&this.notify(),!0}catch{return!1}}failToastMsg(){De({type:"error",msg:me.i18n("File parsing failed!"),timer:3})}};var Tve=L(Se());var gve=L(z()),Dbe=t=>{let{handleImport:e=()=>{},handleCancel:i=()=>{},disableImportBtn:o=!1}=t;return(0,gve.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,gve.jsx)(Me,{type:"primary",disabled:o,style:{marginRight:"8px"},onClick:e,children:"Import"}),(0,gve.jsx)(Me,{onClick:i,children:"Cancel"})]})};var rMo=L(nR()),Ebe=L(z()),UUt=be.bind(rMo.default.locals),Abe=t=>{let{fileName:e,clickOpenFile:i}=t,o=J();return(0,Ebe.jsxs)("div",{className:UUt("line"),children:[(0,Ebe.jsx)("span",{className:UUt("title"),title:o("Filename:"),"data-i18n-attr":"title","data-test":"Filename:",children:o("Filename:")}),(0,Ebe.jsx)(Kt,{readOnly:!0,style:{width:"calc(100% - 90px)",cursor:"pointer"},type:"text",name:"file_name",value:e+".dxf",onClick:i}),(0,Ebe.jsx)("span",{className:UUt("file-icon"),onClick:i,children:"..."})]})};var aMo=L(nR()),bve=L(z()),nMo=be.bind(aMo.default.locals),Nbe=t=>{let{dxfUnitName:e,contentStyle:i={},containerStyle:o={}}=t,r=J();return(0,bve.jsxs)("div",{className:nMo("line"),style:{...o},children:[(0,bve.jsx)("span",{className:nMo("title"),title:r("DXF Unit:"),"data-i18n-attr":"title","data-test":"DXF Unit:",children:r("DXF Unit:")}),(0,bve.jsx)("span",{style:{...i},children:e})]})};var lMo=L(nR()),VW=L(z()),sMo=be.bind(lMo.default.locals),kbe=t=>{let{width:e=0,height:i=0,unitName:o,scale:r,containerStyle:n={}}=t,a=J();return(0,VW.jsxs)("div",{className:sMo("line"),style:{...n},children:[(0,VW.jsx)("span",{className:sMo("title"),title:a("Import Size(Width * Height):"),"data-i18n-attr":"title","data-test":"Import Size(Width * Height):",children:a("Import Size(Width * Height):")}),(0,VW.jsx)("span",{children:li.toFixed(e*r,2)}),(0,VW.jsx)("span",{children:o}),(0,VW.jsx)("span",{children:"\xA0x\xA0"}),(0,VW.jsx)("span",{children:li.toFixed(i*r,2)}),(0,VW.jsx)("span",{children:o})]})};var dMo=L(nR()),HW=L(z()),cMo=be.bind(dMo.default.locals),Pbe=t=>{let{width:e=0,height:i=0,unitName:o,containerStyle:r={}}=t,n=J();return(0,HW.jsxs)("div",{className:cMo("line"),style:{...r},children:[(0,HW.jsx)("span",{className:cMo("title"),title:n("DXF Size(Width * Height):"),"data-i18n-attr":"title","data-test":"DXF Size(Width * Height):",children:n("DXF Size(Width * Height):")}),(0,HW.jsx)("span",{children:li.toFixed(e,2)}),(0,HW.jsx)("span",{children:o}),(0,HW.jsx)("span",{children:"\xA0x\xA0"}),(0,HW.jsx)("span",{children:li.toFixed(i,2)}),(0,HW.jsx)("span",{children:o})]})};var pMo=L(Se());var mMo=L(nR());var yve=L(z()),uMo=be.bind(mMo.default.locals),Obe=t=>{let{dxfReferencePointValue:e,radioChange:i}=t,o=J(),r=(0,pMo.useMemo)(()=>[{value:"dxfOrigin",label:o("DXF Origin")},{value:"graphicCenter",label:o("Graphics Center")}],[]);return(0,yve.jsxs)("div",{className:uMo("line"),children:[(0,yve.jsx)("span",{className:uMo("title"),title:o("Reference Point:"),"data-i18n-attr":"title","data-test":"Reference Point:",children:o("Reference Point:")}),(0,yve.jsx)($i,{value:e+"",options:r,onChange:n=>{i(n)}})]})};var hMo=L(nR()),aR=L(z()),wve=be.bind(hMo.default.locals),Rbe=t=>{let{scaleValue:e,scaleChange:i,scaleInputBlur:o,handleRefreshClick:r=()=>{},lineWidthEle:n=(0,aR.jsx)(aR.Fragment,{})}=t,a=J();return(0,aR.jsxs)("div",{className:wve("line"),children:[(0,aR.jsx)("span",{className:wve("title"),title:a("Scaling Ratio:"),"data-i18n-attr":"title","data-test":"Scaling Ratio:",children:a("Scaling Ratio:")}),(0,aR.jsx)(Kt,{type:"text",name:"unit_value",value:e,enterTriggerBlur:!0,style:{width:"80px"},onChange:s=>{i(s)},onBlur:s=>{o(s.target.value)}}),(0,aR.jsx)("span",{className:wve("title"),style:{width:"60px",minWidth:"60px",marginLeft:"16px"},title:a("Stroke Width:"),"data-i18n-attr":"title","data-test":"Stroke Width:",children:a("Stroke Width:")}),(0,aR.jsx)("div",{className:wve("line-width-container"),children:n}),(0,aR.jsx)("i",{title:a("Update Preview"),"data-i18n-attr":"title",className:wve("icon-eda-refresh refresh"),onClick:r})]})};var Bee=L(Se());function ci(t,e=39.37,i=10){return li.toFixed(np.convert(t,e,i),5)}var fMo=L(z()),bnt=t=>{let{dxfStore:e,onStrokeWidthChange:i}=t,{dxfLineWidthValue:o,dxfApplyUnitName:r}=e,n=(0,Bee.useRef)(o+r),[a,s]=(0,Bee.useState)(n.current),l=(0,Bee.useRef)(null),c=(0,Bee.useRef)(1e4);return(0,Bee.useEffect)(()=>{let u=parseFloat(n.current);if(u){let p=n.current.match(/[a-z]*$/i)[0].toLocaleLowerCase();u!==o&&(u=o);let h=ci(u,ru(p),ru(r))+r;l.current=h,s(f=>h)}},[r]),(0,fMo.jsx)(Kt,{style:{width:"80px"},value:a,enterTriggerBlur:!0,onChange:u=>{s(p=>(l.current=p,u))},onBlur:u=>{let p=u.target.value;if(p===l.current)return;let m=parseFloat(p);if(!d(m)){s(g=>n.current);return}if(m<=0||m>c.current){s(g=>n.current);return}let h=p.match(/[a-z]*$/i)[0].toLocaleLowerCase()||r;if(ci(m,ru(h),1)>c.current){s(g=>n.current);return}else{let g=ci(m,ru(h),ru(r));n.current=g+r,s(b=>n.current),i&&i(g)}}});function d(u){return typeof u=="number"&&!Number.isNaN(u)&&isFinite(u)}};var gMo=L(Se());var VUt=L(z()),ynt=t=>{let{tableRows:e,importLayerSelectList:i,onChange:o}=t,r=J(),n=(0,gMo.useMemo)(()=>[{key:"dxf_layer",width:.5,name:r("DXF Layer"),ellipsis:!0},{key:"import_layer",width:.5,name:r("Import Layer"),ellipsis:!0,i18n:!0,selectList:i}],[]);return(0,VUt.jsx)("div",{style:{margin:"0 16px"},children:(0,VUt.jsx)(xi,{index:"dxf_layer",columns:n,rows:e,height:200,border:!0,stockade:!0,checkbox:!0,onChange:a=>{o(a)}})})};var CMo=L(Vi()),TL=L(Se());var wnt=(o=>(o[o.sm=16]="sm",o[o.md=36]="md",o[o.lg=48]="lg",o))(wnt||{});var HUt=L(yMo()),wMo=L(eC()),_be=L(z()),{locals:Dqr}=HUt.default,Eqr="Loading...",Aqr=({IconType:t,loadingStyle:e,loadingIconStyle:i,description:o=Eqr,size:r="md",children:n})=>{Ae(HUt.default);let a=J(),s=be.bind(Dqr),l=be.bind(wMo.default.locals);return(0,_be.jsxs)("section",{className:s("loading-warp"),style:{...e},children:[t!=="none"&&(0,_be.jsx)("i",{className:s("rotation",l("icon-eda-loading")),style:{display:"block",marginBottom:"8px",width:wnt[r],height:wnt[r],...i}}),o?(0,_be.jsx)("p",{children:a(o)}):"",n?(0,_be.jsx)("div",{children:typeof n=="string"?a(n):n}):""]})},zee=Aqr;var Cve=L(z()),xMo=(0,TL.forwardRef)((t,e)=>{let{dialogId:i,dxfStore:o}=t,{dxfPreviewerStr:r,modifyingDxfLayerName:n,dxfLayerInfoMap:a,dxfLayerNameToPanelLayerMap:s}=o,[l,c]=(0,TL.useState)(null),[d,u]=(0,TL.useState)(!1),p=(0,TL.useRef)(null),m=()=>{(0,CMo.default)(`#${i}`).find("img").css({transform:"translate(0, 0) scale(1)",width:"100%",height:"100%",left:0,top:0})},h=()=>{u(!0),Pt(kt.Panel.DxfPreviewForLatestParam).then(g=>{g&&(g&&c("data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(g)))),m())}),u(!1)};(0,TL.useImperativeHandle)(e,()=>({regenerateSvg:h}));let f=PI(async g=>{try{if(p.current){let{dataStr:b}=g;u(!0);let y=await Pt(kt.Panel.DxfInitPreview,[{dataStr:b}]);y&&y&&c(w=>"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(y)))),u(!1)}}catch(b){console.error(b)}},200);return(0,TL.useEffect)(()=>{let g=!0;return g&&r&&f({dataStr:r}),()=>{g=!1}},[r]),(0,TL.useEffect)(()=>{l&&m()},[l]),(0,TL.useEffect)(()=>{if(!p.current||!l||n.size===0)return;let g=[];n.forEach(b=>{let y=nD(a,b),w=y==null?void 0:y.shapeIds,x=nD(s,b);if(!w||!x)return;let S={shapeIds:w,layerId:x.layerId,isVisible:x.checked};g.push(S)}),g.length>0&&(u(!0),Pt(kt.Panel.DxfLayerDataChange,[{panelBatchUpdateShapeStateOptsArr:g}]).then(b=>{b&&b&&c(y=>"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(b))))}),u(!1))},[s]),(0,TL.useEffect)(()=>(p.current&&(p.current.addEventListener("wheel",z2),p.current.addEventListener("mousedown",Wf),p.current.addEventListener("contextmenu",gC)),()=>{p.current&&(p.current.removeEventListener("wheel",z2),p.current.removeEventListener("mousedown",Wf),p.current.removeEventListener("contextmenu",gC))}),[p]),(0,Cve.jsxs)("div",{ref:p,style:{width:"calc(50% - 10px)",height:"453px",overflow:"hidden",backgroundColor:"#e0e0e0"},children:[d&&(0,Cve.jsx)(zee,{IconType:"loading",description:""}),l&&(0,Cve.jsx)(MA,{imageItem:l})]})});var GUt=L(nR());var xnt=L(Se());var SMo=L(nR()),xve=L(z()),TMo=be.bind(SMo.default.locals),jbe=t=>{let{selectChange:e,containerStyle:i={}}=t,o=J(),[r,n]=(0,xnt.useState)("Follow DXF"),a=(0,xnt.useMemo)(()=>[{value:"Follow DXF",text:"Follow DXF"},{value:"mm",text:"mm"},{value:"mil",text:"mil"},{value:"inch",text:"inch"}],[]);return(0,xve.jsxs)("div",{className:TMo("line"),style:{...i},children:[(0,xve.jsx)("span",{className:TMo("title"),title:o("Apply Unit:"),"data-i18n-attr":"title","data-test":"Apply Unit:",children:o("Apply Unit:")}),(0,xve.jsx)(xt,{value:r,name:"stroke-width",style:{width:"100px"},list:a,onChange:s=>{n(s),e(s)}})]})};var Iw=L(z()),MMo=be.bind(GUt.default.locals),IMo=t=>{Ae(GUt.default);let{dialogId:e,store:i}=t;Ce(i);let[o,r]=(0,Tve.useState)(i.dxfScaleRatio+""),[n,a]=(0,Tve.useState)(Mt()),s=(0,Tve.useRef)(null),l=m=>{let{dxfScaleRatio:h,dxfUnit:f,dxfUnitName:g,dxfApplyUnitName:b}=i;i.lastDxfApplyUnitName=b;let{lastDxfApplyUnitName:y}=i;BJ(y)&&(y=g),m==="Follow DXF"&&(m=g);let w=ru(y)||f,x=ci(1,ru(m),w),S=h*x;Pt(kt.Panel.DxfUpdateParameter,{scale:S}),i.dxfApplyUnitName=m},c=m=>{let h=parseFloat(m);if(h>0&&h<=1e4&&i.dxfScaleRatio!==h){i.dxfScaleRatio=h;let f=i.lastDxfScaleRatio,g=h/f;if(g==1)return;Pt(kt.Panel.DxfUpdateParameter,{scale:g}),i.lastDxfScaleRatio=h}r(i.dxfScaleRatio+"")},d=m=>{i.dxfLineWidthValue=m,Pt(kt.Panel.DxfUpdateParameter,{strokeWidth:ci(m,ru(i.dxfApplyUnitName),10)})},u=async()=>{s.current&&await s.current.regenerateSvg()},p=()=>{Ca("panel/dxf/import",{origin:i.dxfReferencePoint=="graphicCenter"}),setTimeout(()=>{le.close(e)},60)};return Bt(()=>{Ca("panel/dxf/close")}).close(e),(0,Iw.jsxs)("div",{className:"pop-content-container",children:[(0,Iw.jsxs)("div",{style:{width:"100%",marginBottom:"16px",display:"flex",justifyContent:"space-between",overflow:"hidden",fontSize:"12px"},children:[(0,Iw.jsxs)("div",{style:{width:"50%",border:"1px solid var(--common-border-color)"},children:[(0,Iw.jsx)(Abe,{fileName:i.dxfFileName,clickOpenFile:async()=>{await i.importDxf(!0)&&Yn(()=>{a(Mt()),r(i.dxfScaleRatio+"")})}}),(0,Iw.jsxs)("div",{className:MMo("line"),style:{paddingLeft:0,paddingRight:0},children:[(0,Iw.jsx)(Nbe,{contentStyle:{display:"inline-block",width:"100px"},containerStyle:{paddingRight:0},dxfUnitName:i.dxfUnitName}),(0,Iw.jsx)(Pbe,{containerStyle:{paddingRight:0},width:i.dxfWidth,height:i.dxfHeight,unitName:i.dxfUnitName})]}),(0,Iw.jsxs)("div",{className:MMo("line"),style:{paddingLeft:0,paddingRight:0},children:[(0,Iw.jsx)(jbe,{containerStyle:{paddingRight:0},selectChange:l}),(0,Iw.jsx)(kbe,{containerStyle:{paddingRight:0},width:i.dxfWidth,height:i.dxfHeight,scale:i.dxfScaleRatio,unitName:i.dxfApplyUnitName})]}),(0,Iw.jsx)(Obe,{dxfReferencePointValue:i.dxfReferencePoint,radioChange:m=>{i.dxfReferencePoint=m}}),(0,Iw.jsx)(Rbe,{scaleValue:o,scaleChange:m=>{r(m)},scaleInputBlur:c,handleRefreshClick:u,lineWidthEle:(0,Iw.jsx)(bnt,{onStrokeWidthChange:d,dxfStore:i})}),(0,Iw.jsx)(ynt,{tableRows:i.getPanelDxfLayerTableRow(),importLayerSelectList:XSo,onChange:m=>{i.updateDxfLayerNameToPanelLayerMap(m)}})]},n+"$DxfInfoPanel"),(0,Iw.jsx)(xMo,{ref:s,dxfStore:i,dialogId:e})]}),(0,Iw.jsx)(Dbe,{disableImportBtn:!1,handleImport:p,handleCancel:()=>{Ca("panel/dxf/close"),le.close(e)}})]})};var vMo=L(z());async function LMo(t){let{id:e,title:i,width:o,height:r,closed:n}=t,a=qSo,s=new jee(a),l=$So;s.dxfEncoderOptions=l,await s.importDxf()&&le.open({id:e,title:i,width:o,height:r,closed:n,children:(0,vMo.jsx)(IMo,{store:s,dialogId:e})})}var fle=L(Se());var sR=L(Se());var Sve=L(z()),DMo=(0,sR.forwardRef)((t,e)=>{let{store:i,setDisableImportBtn:o}=t,{dxfPreviewerStr:r,modifyingDxfLayerName:n,dxfLayerNameToPcbLayerMap:a,dxfLayerInfoMap:s}=i,[l,c]=(0,sR.useState)(!1),d=(0,sR.useRef)(null),u=()=>{let m=p();m&&C.windowBridge.publish("adaptAll","",m.contentWindow)};(0,sR.useImperativeHandle)(e,()=>({getPcbPreviewerIframe:p,handleResetPreviewPosition:u})),(0,sR.useEffect)(()=>{let m=d.current;if(!(!m||!r))try{c(!0),o(!0);let h=eMo,f=ve.FOOTPRINT,g={docType:f,tabId:h,hideDxfLoading:!0,dataStr:r,commSystemSetting:hn(),isPreview:!0,isOldDataString:!1,currOpenProjectId:C.currentProject.projectId},b=m.querySelector("iframe");b?C.windowBridge.rpcCall("loadFootprint",g,b.contentWindow).then(()=>{c(!1),o(!1)}):(b=g1(m,h,f),b.onload=async()=>{await C.windowBridge.rpcCall("rpcInitFrameInfo",g,b.contentWindow).then(()=>{c(!1),o(!1)}),C.windowBridge.publish("adaptAll","",b.contentWindow)})}catch{c(!1),o(!1)}},[d,r]),(0,sR.useEffect)(()=>{if(n.size===0)return;let m=p();m&&n.forEach(h=>{let f=nD(s,h),g=f==null?void 0:f.shapeIds,b=nD(a,h);if(!g||!b)return;let y={shapeIds:g,layerId:b.layerId,isVisible:b.checked};g.length!=0&&C.windowBridge.rpcCall(kt.Pcb.BatchUpdateShapeState,y,m.contentWindow)})},[a]);let p=()=>{let m=d.current;if(!m||!r)return null;let h=m.querySelector("iframe");return h||null};return(0,Sve.jsxs)("div",{style:{position:"relative",width:"calc(50% - 10px)",height:"453px",overflow:"hidden"},children:[(0,Sve.jsx)(cfe,{visible:l}),(0,Sve.jsx)("div",{ref:d,style:{width:"100%",height:"100%"}})]})});var YUt=L(nR());var Lw=L(z()),EMo=be.bind(YUt.default.locals),AMo=t=>{Ae(YUt.default);let{dialogId:e,store:i}=t;Ce(i);let[o,r]=(0,fle.useState)(i.dxfScaleRatio+""),[n,a]=(0,fle.useState)(!1),[s,l]=(0,fle.useState)(Mt()),c=(0,fle.useRef)(null),d=(0,fle.useRef)(null),u=f=>{var b;let g=(b=c.current)==null?void 0:b.getPcbPreviewerIframe();if(g){d.current&&(clearTimeout(d.current),d.current=null),a(!0);let{dxfScaleRatio:y,dxfUnit:w,dxfUnitName:x,dxfApplyUnitName:S,dxfLayerInfoMap:T}=i;i.lastDxfApplyUnitName=S;let{lastDxfApplyUnitName:M}=i;BJ(M)&&(M=x),f==="Follow DXF"&&(f=x);let I=ru(M)||w,A=ci(1,ru(f),I),D=y*A,E={shapeIds:[],scale:D};if(Pp(T,N=>{E.shapeIds=E.shapeIds.concat(N.shapeIds)}),E.shapeIds.length==0)return;d.current=setTimeout(()=>{C.windowBridge.rpcCall(kt.Pcb.BatchUpdateShapeState,E,g.contentWindow).then(N=>{a(!1),i.dxfApplyUnitName=f})})}},p=f=>{var b;let g=parseFloat(f);if(g>0&&g<=1e4&&i.dxfScaleRatio!==g){i.dxfScaleRatio=g;let y=(b=c.current)==null?void 0:b.getPcbPreviewerIframe();if(y){d.current&&(clearTimeout(d.current),d.current=null),a(!0);let w=i.lastDxfScaleRatio,x=g/w;if(x==1)return;let S=i.dxfLayerInfoMap,T={shapeIds:[],scale:x};if(Pp(S,M=>{T.shapeIds=T.shapeIds.concat(M.shapeIds)}),T.shapeIds.length==0)return;d.current=setTimeout(()=>{C.windowBridge.rpcCall(kt.Pcb.BatchUpdateShapeState,T,y.contentWindow).then(M=>{a(!1),i.lastDxfScaleRatio=g})})}}r(i.dxfScaleRatio+"")},m=f=>{var b;let g=(b=c.current)==null?void 0:b.getPcbPreviewerIframe();if(g){d.current&&(clearTimeout(d.current),d.current=null),a(!0);let y=i.dxfLayerInfoMap;i.dxfLineWidthValue=f;let w={shapeIds:[],strokeWidth:ci(f,ru(i.dxfApplyUnitName),10)};if(Pp(y,x=>{w.shapeIds=w.shapeIds.concat(x.shapeIds)}),w.shapeIds.length==0)return;d.current=setTimeout(()=>{C.windowBridge.rpcCall(kt.Pcb.BatchUpdateShapeState,w,g.contentWindow).then(x=>{a(!1)})})}},h=async()=>{var g;let f=(g=c.current)==null?void 0:g.getPcbPreviewerIframe();if(f){let b={shapeIds:[],isRemove:!0},{dxfLayerInfoMap:y,dxfLayerNameToPcbLayerMap:w,dxfReferencePoint:x}=i;Pp(w,(T,M)=>{var I;if(!T.checked){let A=(I=nD(y,M))==null?void 0:I.shapeIds;b.shapeIds=b.shapeIds.concat(A)}}),b.shapeIds.length>0&&await C.windowBridge.rpcCall(kt.Pcb.BatchUpdateShapeState,b,f.contentWindow);let S=(await C.windowBridge.rpcCall("FileSource","",f.contentWindow)).message;if(S){let T=x=="graphicCenter",M=Xi();C.windowBridge.publish("pcb/partSourseStr2Canvas",{dataStr:S,userBBoxCenter:T},M.contentWindow)}setTimeout(()=>{le.close("importDxf")},60)}};return(0,Lw.jsxs)("div",{className:"pop-content-container",children:[(0,Lw.jsxs)("div",{style:{width:"100%",marginBottom:"16px",display:"flex",justifyContent:"space-between",overflow:"hidden",fontSize:"12px"},children:[(0,Lw.jsxs)("div",{style:{width:"50%",border:"1px solid var(--common-border-color)"},children:[(0,Lw.jsx)(Abe,{fileName:i.dxfFileName,clickOpenFile:async()=>{await i.importDxf(!0)&&Yn(()=>{l(Mt()),r(i.dxfScaleRatio+"")})}}),(0,Lw.jsxs)("div",{className:EMo("line"),style:{paddingLeft:0,paddingRight:0},children:[(0,Lw.jsx)(Nbe,{contentStyle:{display:"inline-block",width:"100px"},containerStyle:{paddingRight:0},dxfUnitName:i.dxfUnitName}),(0,Lw.jsx)(Pbe,{containerStyle:{paddingRight:0},width:i.dxfWidth,height:i.dxfHeight,unitName:i.dxfUnitName})]}),(0,Lw.jsxs)("div",{className:EMo("line"),style:{paddingLeft:0,paddingRight:0},children:[(0,Lw.jsx)(jbe,{containerStyle:{paddingRight:0},selectChange:u}),(0,Lw.jsx)(kbe,{containerStyle:{paddingRight:0},width:i.dxfWidth,height:i.dxfHeight,scale:i.dxfScaleRatio,unitName:i.dxfApplyUnitName})]}),(0,Lw.jsx)(Obe,{dxfReferencePointValue:i.dxfReferencePoint,radioChange:f=>{i.dxfReferencePoint=f}}),(0,Lw.jsx)(Rbe,{scaleValue:o,scaleChange:f=>{r(f)},scaleInputBlur:p,handleRefreshClick:()=>{c.current&&c.current.handleResetPreviewPosition()},lineWidthEle:(0,Lw.jsx)(bnt,{dxfStore:i,onStrokeWidthChange:m})}),(0,Lw.jsx)(ynt,{tableRows:i.getPcbDxfLayerTableRow(),importLayerSelectList:i.getCurrentPcbLayerSelectList(),onChange:f=>{i.updateDxfLayerNameToPcbLayerMap(f)}})]},s+"$DxfInfoPanel"),(0,Lw.jsx)(DMo,{ref:c,store:i,setDisableImportBtn:a})]}),(0,Lw.jsx)(Dbe,{disableImportBtn:n,handleImport:h,handleCancel:()=>{le.close(e)}})]})};var kMo=L(z());async function NMo(t){let{id:e,title:i,width:o,height:r,closed:n}=t,a=hnt,s=new jee(a);await s.resetCurrentPcbLayerInfoMap(),await s.importDxf()&&le.open({id:e,title:i,width:o,height:r,closed:n,children:(0,kMo.jsx)(AMo,{store:s,dialogId:e})})}var Mve=L(Se());var Tnt=L(Se());var OMo=L(z()),PMo=t=>{let{selectChange:e}=t,[i,o]=(0,Tnt.useState)(1),r=(0,Tnt.useMemo)(()=>[{value:1,text:"1"},{value:2,text:"2"},{value:3,text:"3"},{value:4,text:"4"},{value:5,text:"5"},{value:6,text:"6"},{value:7,text:"7"},{value:8,text:"8"},{value:9,text:"9"},{value:10,text:"10"}],[]);return(0,OMo.jsx)(xt,{value:i,name:"stroke-width",style:{width:"80px"},list:r,onChange:n=>{o(n),e(n)}})};var RMo=L(Vi()),Tk=L(Se());var WUt=L(z()),_Mo=(0,Tk.forwardRef)((t,e)=>{let{dialogId:i,dxfStore:o}=t,{dxfPreviewerStr:r,dxfScaleRatio:n,dxfLineWidthValue:a,dxfOptionUnit:s,dxfUnitName:l}=o,[c,d]=(0,Tk.useState)(null),u=(0,Tk.useRef)(null),p=()=>{(0,RMo.default)(`#${i}`).find("img").css({transform:"translate(0, 0) scale(1)",width:"100%",height:"100%",left:0,top:0})},m=()=>{C.messageBus.rpcCall("sch/dxf/previewForLatestParam").then(h=>{if(h.message){let f=h.message;f&&d("data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(f)))),p()}})};return(0,Tk.useImperativeHandle)(e,()=>({regenerateSvg:m})),(0,Tk.useEffect)(()=>{let h=!0;return r&&(async()=>{try{if(u.current&&h){let g=(await C.messageBus.rpcCall("sch/dxf/initPreview",{dataStr:r,docType:ve.SCH})).message;g&&d("data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(g))))}}catch(g){console.error(g)}})(),()=>{h=!1}},[r]),(0,Tk.useEffect)(()=>{c&&p()},[c]),(0,Tk.useEffect)(()=>(u.current&&(u.current.addEventListener("wheel",z2),u.current.addEventListener("mousedown",Wf),u.current.addEventListener("contextmenu",gC)),()=>{u.current&&(u.current.removeEventListener("wheel",z2),u.current.removeEventListener("mousedown",Wf),u.current.removeEventListener("contextmenu",gC))}),[u]),(0,WUt.jsx)("div",{ref:u,style:{width:"calc(50% - 10px)",height:"453px",overflow:"hidden"},children:c&&(0,WUt.jsx)(MA,{imageItem:c})})});var QUt=L(nR());var Sx=L(z()),jMo=be.bind(QUt.default.locals),BMo=t=>{Ae(QUt.default);let{dialogId:e,store:i}=t;Ce(i);let[o,r]=(0,Mve.useState)(i.dxfScaleRatio+""),[n,a]=(0,Mve.useState)(Mt()),s=(0,Mve.useRef)(null),l=m=>{let{dxfScaleRatio:h,dxfUnit:f,dxfUnitName:g}=i,{lastDxfApplyUnitName:b}=i;BJ(b)&&(b=g),m==="Follow DXF"&&(m=g);let y=ru(b)||f,w=ci(1,ru(m),y),x=h*w;x!==1&&C.messageBus.rpcCall("sch/dxf/updateParameter",{scale:x}),i.dxfApplyUnitName=m,i.lastDxfApplyUnitName=i.dxfApplyUnitName},c=m=>{let h=parseFloat(m);if(h>0&&h<=1e4&&i.dxfScaleRatio!==h){i.dxfScaleRatio=h;let f=i.lastDxfScaleRatio,g=h/f;if(g==1)return;C.messageBus.rpcCall("sch/dxf/updateParameter",{scale:g}),i.lastDxfScaleRatio=h}r(i.dxfScaleRatio+"")},d=m=>{i.dxfLineWidthValue=m,C.messageBus.rpcCall("sch/dxf/updateParameter",{strokeWidth:m})},u=async()=>{s.current&&await s.current.regenerateSvg()},p=()=>{let{dxfPreviewerStr:m,dxfReferencePoint:h,dxfScaleRatio:f,dxfLineWidthValue:g,dxfApplyUnitName:b,dxfUnit:y}=i,w=h=="graphicCenter",x=ci(1,ru(b),y),S=ci(1,y,10),T=f*x*S;C.messageBus.publish("sch/dxf/pasteFromDataStr",{dataStr:m,docType:ve.SCH,origin:w?null:{x:0,y:0},scale:T,strokeWidth:g}),C.messageBus.publish("sch/dxf/import",{origin:h=="graphicCenter"}),setTimeout(()=>{le.close(e)},60)};return Bt(()=>{C.messageBus.publish("sch/dxf/close")}).close(e),(0,Sx.jsxs)("div",{className:"pop-content-container",children:[(0,Sx.jsxs)("div",{style:{width:"100%",marginBottom:"16px",display:"flex",justifyContent:"space-between",overflow:"hidden",fontSize:"12px"},children:[(0,Sx.jsxs)("div",{style:{width:"50%",border:"1px solid var(--common-border-color)"},children:[(0,Sx.jsx)(Abe,{fileName:i.dxfFileName,clickOpenFile:async()=>{await i.importDxf(!0)&&Yn(()=>{a(Mt()),r(i.dxfScaleRatio+"")})}}),(0,Sx.jsxs)("div",{className:jMo("line"),style:{paddingLeft:0,paddingRight:0},children:[(0,Sx.jsx)(Nbe,{contentStyle:{display:"inline-block",width:"100px"},containerStyle:{paddingRight:0},dxfUnitName:i.dxfUnitName}),(0,Sx.jsx)(Pbe,{containerStyle:{paddingRight:0},width:i.dxfWidth,height:i.dxfHeight,unitName:i.dxfUnitName})]}),(0,Sx.jsxs)("div",{className:jMo("line"),style:{paddingLeft:0,paddingRight:0},children:[(0,Sx.jsx)(jbe,{containerStyle:{paddingRight:0},selectChange:l}),(0,Sx.jsx)(kbe,{containerStyle:{paddingRight:0},width:i.dxfWidth,height:i.dxfHeight,scale:i.dxfScaleRatio,unitName:i.dxfApplyUnitName})]}),(0,Sx.jsx)(Obe,{dxfReferencePointValue:i.dxfReferencePoint,radioChange:m=>{i.dxfReferencePoint=m}}),(0,Sx.jsx)(Rbe,{scaleValue:o,scaleChange:m=>{r(m)},scaleInputBlur:c,handleRefreshClick:u,lineWidthEle:(0,Sx.jsx)(PMo,{selectChange:d})})]},n+"$DxfInfoPanel"),(0,Sx.jsx)(_Mo,{ref:s,dxfStore:i,dialogId:e})]}),(0,Sx.jsx)(Dbe,{disableImportBtn:!1,handleImport:p,handleCancel:()=>{C.messageBus.publish("sch/dxf/close"),le.close(e)}})]})};var FMo=L(z());async function zMo(t){let{id:e,title:i,width:o,height:r,closed:n}=t,a={encodingType:"sch",optionUnit:10,scale:1,strokeWidth:1},s=new jee(a);await s.importDxf()&&le.open({id:e,title:i,width:o,height:r,closed:n,children:(0,FMo.jsx)(BMo,{store:s,dialogId:e})})}var Nqr=async(t,e)=>{let i=bt[e],{containerId:o,width:r,height:n,title:a,closed:s}=i,l=dt();l===se.PANEL||l==se.PANEL_LIB?await LMo({id:o,width:r,height:n,title:a,closed:s}):NUe(l)?await NMo({id:o,width:r,height:n,title:a,closed:s}):await zMo({id:o,width:r,height:n,title:a,closed:s})},UMo=Nqr;var lR=L(Se());var VMo=L(Se());var Snt=class extends _X{constructor(){super(),this._tableCols=[],this._tableData=[],this.mySelectIds=new Set,this._isPadSize=!1}set tableCols(e){this._tableCols=e,this.notify()}get tableCols(){return this._tableCols}set tableData(e){this._tableData=e,this.notify()}get tableData(){return this._tableData}set isPadSize(e){this._isPadSize=e}get isPadSize(){return this._isPadSize}refreshPinList(e){e.forEach(o=>{o.pinNgName===""&&(o.pinNgName="Not Connected"),o.pinSimName===""&&(o.pinSimName="Not Connected")});let i=e?e.sort((o,r)=>{let n=Number(o.pinNumber),a=Number(r.pinNumber);return n>a?1:n<a?-1:0}).map((o,r)=>({...o,isError:!1})):this.tableData;this.tableData=ue.deepClone(i)}updateSortKeyValueList(e){super.updateSortKeyValueList(e,this.tableData)}sortTable(e,i,o){this.tableData=super.sortTableData(e,i,o,this.tableData)}};async function HMo(){return new KUt}var KUt=class{constructor(){this.pinList=new Snt,this.simPinList=[],this._symbolViewImage=null,this._simModelData=""}set symbolViewImage(e){this._symbolViewImage=e}get symbolViewImage(){return this._symbolViewImage}set simModelData(e){this._simModelData=e}get simModelData(){return this._simModelData}async initialStore(e){this.symbolViewImage=await Rf({svgStr:await Cr("getPartSvgStr",{partIndex:0,component:e.symbol})});let i=(await C.messageBus.rpcCall($e.DEVICE.GET,[e.deviceUuid,C.currentProject.projectId])).message,o=this.isNgspiceModel()?"NGSpice Model Title":"Sim Model Title",r=this.isNgspiceModel()?"NGspice Model Path":"Sim Model Path",n=this.isNgspiceModel()?ve.NGSPICE_MODEL:ve.SIMULIDE_MODEL;if(i.attributes[o]&&i.attributes[r]){let l=await uge(i.attributes[o],i.attributes[r],n);if(l)try{let c=JSON.parse(l.dataStr);this.simModelData=c.modelData!==null&&c.modelData!==void 0?c.modelData:"";let p=pqe(l&&l?l:null);this.simPinList=p}catch{De({type:"error",msg:"Model data parsing error!"})}else De({type:"error",msg:"Model data parsing error!"})}let a={tabId:e.tabId,targetId:e.targetId},s=(await C.messageBus.rpcCall("getSymbolPinListBytargetId",{...a})).message;s?this.pinList.refreshPinList(ue.deepClone(s)):De({type:"error",msg:"Failed to pull the symbol pin list!"})}isNgspiceModel(){return dt()===ve.NGSPICE}whenComponentListChange(e,i){this.pinList.sortTable(e,"$id",i)}},Ive=(0,VMo.createContext)(void 0);var qUt=L(ZUt());var Y5=L(Se());var JUt=L(Hr());var YMo=L(ZUt()),GW=L(z()),kqr=be.bind(YMo.default.locals);function Pqr(t){let e=J(),i=(0,Y5.useContext)(Ive);Ce(i.pinList);let o=(0,Y5.useRef)(null),r=(0,Y5.useRef)(null),[n,a]=(0,Y5.useState)(100),[s,l]=(0,Y5.useState)([-1]);(0,Y5.useEffect)(()=>{l(s.filter(h=>i.pinList.tableSelectedRowNumbers.includes(h)))},[i.pinList.tableSelectedRowNumbers]);let[c,d]=(0,Y5.useState)([]),u=(0,Y5.useMemo)(()=>{let h=i.pinList,f=i.simPinList,g=dt()===ve.SIMULIDE,b=[],y=[];return f.length>0?(y=f.map(w=>{let x=w.simPinName;return x==="Not Connected"||!x?null:{value:x,text:x,showOriginalText:!0}}).filter(Boolean),[...y,{value:"Not Connected",text:"Not Connected",showOriginalText:!0}]):(b=h.tableData.map(w=>{let x=g?w.pinSimName:w.pinNgName;return x==="Not Connected"||!x?null:{value:x,text:x,showOriginalText:!0}}).filter(Boolean),[...b,{value:"Not Connected",text:"Not Connected",showOriginalText:!0}])},[i.pinList.tableData,i.simPinList]),p=(h,f,g)=>{i.whenComponentListChange(h,g)};(0,Y5.useEffect)(()=>{r.current.cancelSortStatus(),i.pinList.sortTable(i.pinList.tableData,"$id","NORMAL")},[i.pinList.resetSortTag]),(0,Y5.useEffect)(()=>(o.current&&window.setTimeout(()=>{let h=o.current.getBoundingClientRect();a(h.height)},200),()=>{}),[]),(0,Y5.useEffect)(()=>{let h=[{key:UI["Pin Number"],name:e("No."),width:.3,sortable:!0,render(f){let{row:g}=f,b=g[UI["Pin Number"]];return(0,GW.jsx)("span",{title:b,children:b})}},{key:UI["Pin Name"],name:e("Name"),width:.3,sortable:!0,render(f){let{row:g}=f,b=g[UI["Pin Name"]];return(0,GW.jsx)("span",{title:b,children:b})}},{key:m(),name:e("SimName"),width:.4,sortable:!0,render(f){let g=i.pinList,{row:b,rowNumber:y,setRowData:w}=f,x=b[m()];return s.includes(y)?(0,GW.jsx)(xt,{value:x,list:u,onChange:S=>{i.pinList.tableData.forEach(M=>{M[m()]===S&&M.$id!==b.$id&&(M[m()]="Not Connected")}),b[m()]=S}}):(0,GW.jsx)("span",{children:x})}}];d(h)},[s,u]);let m=()=>dt()===ve.SIMULIDE?UI["Pin SimName"]:UI["Pin NgName"];return(0,GW.jsx)("div",{ref:o,className:kqr("table-content"),onClick:()=>{i.pinList.selectedIds=[],i.pinList.tableSelectedRowNumbers=[]},children:(0,GW.jsx)(xi,{index:"$id",border:!0,ref:r,height:n,columns:c,scrollXBaseBottom:5,onChange:p,rows:i.pinList.tableData,selectedRowNumbers:i.pinList.tableSelectedRowNumbers,onClick:({allSelectedRowIndexValues:h,editingRowNumbers:f,clickObj:g,row:b})=>{var w;let y=i.pinList;((w=g.e)==null?void 0:w.button)===0&&(!g.isCtrl&&!g.isShift&&(f.includes(g.rowNumber)||h.has(b.$id)&&y.mySelectIds.has(b.$id))&&l([g.rowNumber]),i.pinList.tableSelectedRowNumbers=[g.rowNumber],y.mySelectIds=new Set(h))},editingRowNumbers:s})})}function WMo(t){let{storeValue:e,rootElement:i=document.getElementById("symbol-pin-list-panel")}=t;try{if(!i||!e)return!1;let o=()=>i.innerHTML="";return o(),(0,JUt.createRoot)(i).render((0,GW.jsx)(Ive.Provider,{value:e,children:(0,GW.jsx)(Pqr,{})})),{cleanup:o,unmount:()=>(0,JUt.createRoot)(i).unmount()}}catch{return!1}}var G4=L(z()),QMo=null,Sk=be.bind(qUt.default.locals),Oqr=t=>{var p,m;let{containerId:e,params:i}=t,[o,r]=(0,lR.useState)(null),n=(0,lR.useRef)(null);n.current=o;let a=(0,lR.useRef)(null),s=(0,lR.useRef)({});Ae(qUt.default);let l=J(),[c,d]=(0,lR.useState)(!1);(0,lR.useLayoutEffect)(()=>{window.clearTimeout(QMo),QMo=window.setTimeout(()=>{HMo().then(async h=>{await h.initialStore(i),r(h),d(!0)})},30)},[]),(0,lR.useEffect)(()=>{let h=a.current;if(h&&o){let f=document.getElementById("symbol-pin-list-panel")||h,g=WMo({storeValue:o,rootElement:f});g&&(s.current=g)}return()=>{s.current.cleanup&&s.current.cleanup()}},[o]);let u=async h=>{if(h==="cancel")le.close();else if(h=="confirm"){let f=he.getActiveTab();o.pinList.tableData.forEach(g=>{let b={},y={},w={},x=g.$id;if(dt()==ve.NGSPICE){let S=g.pinNgName;S==="Not Connected"&&(S=""),y["NGspice Pin"]={value:S,keyName:"value"}}else{let S=g.pinSimName;S==="Not Connected"&&(S=""),y["Simulide Pin"]={value:S,keyName:"value"}}w[x]=y,b[f]=w,C.messageBus.publish("sch/setProperty",{data:b})}),le.close()}};return(0,G4.jsx)("div",{className:Sk("container"),children:(0,G4.jsxs)(Ive.Provider,{value:o,children:[(0,G4.jsxs)("div",{className:Sk("modal-container"),children:[(0,G4.jsxs)("div",{className:Sk("symbolMes-container"),children:[(0,G4.jsxs)("div",{className:Sk("symbolView_content"),"data-label":l("Preview"),children:[(0,G4.jsxs)("span",{className:Sk("text-container"),children:[" ",l("Symbol:")]}),(0,G4.jsx)("div",{className:Sk("symbolView_mes"),style:{background:((p=o==null?void 0:o.symbolViewImage)==null?void 0:p.bg)||"transparent"},children:((m=o==null?void 0:o.symbolViewImage)==null?void 0:m.src)&&(0,G4.jsx)("img",{src:o.symbolViewImage.src,style:{alignItems:"center",width:"100%",height:"100%"},alt:"Symbol preview"})})]}),(0,G4.jsxs)("div",{className:Sk("simulaton_model_content"),children:[(0,G4.jsxs)("span",{className:Sk("text-container"),children:[" ",l("Model:")]}),(0,G4.jsx)("div",{className:Sk("simulaton_model"),children:(o==null?void 0:o.simModelData)&&(0,G4.jsx)("textarea",{className:Sk("custom-textarea"),value:o.simModelData,readOnly:!0})})]})]}),(0,G4.jsx)("div",{className:Sk("pinTable-container"),"data-label":l("Pin mapping table"),children:(0,G4.jsx)("div",{ref:a,className:Sk("pinTable-content"),id:"pin-list-panel"})})]}),(0,G4.jsxs)("div",{style:{display:"flex",gap:"10px",justifyContent:"flex-end",marginTop:"16px",flex:1},children:[(0,G4.jsx)(ml,{type:"primary",onClick:()=>u("confirm"),children:"Confirmation"}),(0,G4.jsx)(ml,{onClick:()=>{le.close(e)},children:"Cancel"})]})]})})},KMo=Oqr;var qMo=L(z());async function ZMo(t,e){let i=bt[e],{containerId:o,title:r,width:n,height:a,closed:s,resize:l,mask:c,esc:d}=i,u=t.dialogTitle||r,p=t.id||o;return le.open({id:p,title:u,width:n,height:a,closed:s,children:(0,qMo.jsx)(KMo,{containerId:o,params:t}),resize:l,mask:c,esc:d}),le}async function JMo(t){return await ii("Editor_Simulation_Pins",{...t})}var Lnt=L(Se());var XUt=L($Mo());var vw=L(z());var e6o=t=>{let e=t.containerId,[i,o]=(0,Lnt.useState)(t.options),[r,n]=(0,Lnt.useState)(t.layerId),[a,s]=(0,Lnt.useState)(t.width),l=J(),c=be.bind(XUt.default.locals);Ae(XUt.default),Bt(u=>{u&&(u.code==="Escape"&&d("cancel"),["Enter","NumpadEnter"].includes(u.code)&&d("confirm"))}).keyboard(e);function d(u){if(u=="confirm"){let p=t.dialogId;oo({action:"confirm",dialogId:p,formData:{width:a,layerId:r}})}le.close(e)}return(0,vw.jsxs)("div",{className:c("oneLineOneInputDlg"),children:[(0,vw.jsx)("div",{className:c("pop-content-wrapper"),children:(0,vw.jsxs)("div",{className:c("content border"),children:[(0,vw.jsxs)("div",{className:c("line"),children:[(0,vw.jsx)("div",{className:c("name"),title:l("Layer"),"data-test":"Layer",children:l("Layer")}),(0,vw.jsx)("div",{className:c("value"),children:(0,vw.jsx)("div",{className:c("filetype"),children:(0,vw.jsx)(xt,{list:i,value:r,onChange:u=>{n(u)},style:{width:"100%"}})})})]}),(0,vw.jsxs)("div",{className:c("line"),children:[(0,vw.jsx)("div",{className:c("name"),title:l("Width"),"data-test":"Width",children:l("Width")}),(0,vw.jsx)("div",{className:c("value"),children:(0,vw.jsx)("div",{className:c("filetype"),children:(0,vw.jsx)(or,{value:a,inputUnit:t.unit,originUnit:t.unit,positive:!0,onChange:u=>{let p=$s(u).toString(),m=Math.round(parseFloat(p));s(m)}})})})]})]})}),(0,vw.jsxs)("div",{className:c("pop-footer-wrapper dialog-foot dialog-button"),children:[(0,vw.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>d("confirm"),dataTest:"Apply",children:l("Confirm")}),(0,vw.jsx)(Me,{onClick:()=>d("cancel"),dataTest:"Cancel",children:l("Cancel")})]})]})};var i6o=L(z()),t6o=async function(t,e){let i=bt[t],{containerId:o,title:r,width:n,closed:a,mask:s,esc:l}=i;le.open({id:o,title:r,width:n,closed:a,mask:s,esc:l,children:(0,i6o.jsx)(e6o,{containerId:o,...e}),onClose:()=>{oo({action:"cancel",dialogId:e.dialogId,formData:{type:"cancel"}}),le.close(o)}})};var eVt=L(Se());var tVt=L(r6o());var $Ut=class extends qe{},SL=new $Ut;async function Rqr(t){let{fileName:e,datas:i}=t,{devices:o,symbols:r,footprints:n,panelLibs:a}=i,s;if(o)try{s=await p3.deviceFile({name:e,datas:o})}catch(c){return{success:!1,message:c.message}}else if(r)try{s=await p3.symbolFile({name:e,datas:r})}catch(c){return{success:!1,message:c.message}}else if(n)try{s=await p3.footprintFile({name:e,datas:n})}catch(c){return{success:!1,message:c.message}}else if(a)try{s=await p3.panelLibFile({name:e,datas:a})}catch(c){return{success:!1,message:c.message}}else return{success:!1,message:"Please select data first!"};let l=new Blob([s]);return wi?await cd(l,s.name,Lo.ELIBZ2.replace(".","")):(ya(l,s.name+Lo.ELIBZ2),{success:!0})}async function _qr(t){let{fileName:e,datas:i}=t,{devices:o,symbols:r,footprints:n,panelLibs:a}=i,s;if(o)try{s=await p3.device({datas:o})}catch(A){return{success:!1,message:A.message}}else if(r)try{s=await p3.symbol({datas:r})}catch(A){return{success:!1,message:A.message}}else if(n)try{s=await p3.footprint({datas:n})}catch(A){return{success:!1,message:A.message}}else if(a)try{s=await p3.panelLib({datas:a})}catch(A){return{success:!1,message:A.message}}else return{success:!1,message:"Please select data first!"};let{dataStr:l}=s,c={dataStr:l},d="easyeda-pro",u=await vve(c,d);if(!u)return{success:!1,message:"conversion failed"};let{success:p,result:m}=u;if(!(p&&m))return{success:!1,message:"conversion failed"};let{project:h}=m,{json:f}=s,g,{devices:b,symbols:y,footprints:w,panelLibs:x}=h,{devices:S,symbols:T,footprints:M,panelLibs:I}=f;if(S&&Object.keys(S).length){let A={},D=A.SYMBOL={},E=A.FOOTPRINT={};for(let R of b||[])S[R.uuid]=Object.assign(S[R.uuid]||{},R);for(let R of y||[])D[`${R.uuid}${Lo.SYMBOL}`]=va(R.dataStr),delete R.dataStr,T[R.uuid]=Object.assign(T[R.uuid]||{},R);for(let R of w||[])E[`${R.uuid}${Lo.FOOTPRINT}`]=va(R.dataStr),delete R.dataStr,M[R.uuid]=Object.assign(M[R.uuid]||{},R);let N={devices:S,symbols:T,footprints:M};A[g8.DEVICE]=va(JSON.stringify(N,void 0,2)),g=new Blob([vb(A)])}else if(T&&Object.keys(T).length){let A={},D=A.SYMBOL={};for(let N of y||[])D[`${N.uuid}${Lo.SYMBOL}`]=va(N.dataStr),delete N.dataStr,T[N.uuid]=Object.assign(T[N.uuid]||{},N);let E={symbols:T};A[g8.SYMBOL]=va(JSON.stringify(E,void 0,2)),g=new Blob([vb(A)])}else if(M&&Object.keys(M).length){let A={},D=A.FOOTPRINT={};for(let N of w||[])D[`${N.uuid}${Lo.FOOTPRINT}`]=va(N.dataStr),delete N.dataStr,M[N.uuid]=Object.assign(M[N.uuid]||{},N);let E={footprints:M};A[g8.FOOTPRINT]=va(JSON.stringify(E,void 0,2)),g=new Blob([vb(A)])}else if(I&&Object.keys(I).length){let A={},D=A["panel-lib"]={};for(let N of x||[])D[`${N.uuid}${Lo.PANEL_LIB}`]=va(N.dataStr),delete N.dataStr,I[N.uuid]=Object.assign(I[N.uuid]||{},N);let E={"panel-lib":I};A[g8.PANEL_LIB]=va(JSON.stringify(E,void 0,2)),g=new Blob([vb(A)])}return g?wi?await cd(g,e,Lo.ELIBZ.replace(".","")):(ya(g,e+Lo.ELIBZ),{success:!0}):{success:!1,message:"No Data!"}}async function n6o(t,e=!0){let o=t.suffix==Lo.ELIBZ?await _qr(t):await Rqr(t);if(e)if(o.success===!0){let r="Library saves successfully!";new Fi({type:"success",msg:r})}else{let r=(o==null?void 0:o.message)||"",a=me.i18n("Library save as failure!")+` ${me.i18n(r)}`;new Fi({type:"error",msg:a})}return o}async function Lve(t,e,i,o){let r=i===C.currentProject.projectId,n=new Date,a=n.getFullYear(),s=(n.getMonth()+1).toString().padStart(2,"0"),l=n.getDate().toString().padStart(2,"0"),c,d=[];if(Array.isArray(e)?(c=`ProLib_${e.length}pcs_${a}-${s}-${l}`,e.forEach(u=>{d.push({path:i,uuid:u,isProject:r})})):(c=`ProLib_pc_${a}-${s}-${l}`,d=[{path:i,uuid:e,isProject:r}]),o==Lo.ELIBZ2){let u;if(t==="devices")try{return u=await p3.deviceFile({datas:d,name:c}),u}catch(p){return{success:!1,message:p.message}}else if(t==="symbols")try{return u=await p3.symbolFile({datas:d,name:c}),u}catch(p){return{success:!1,message:p.message}}else if(t==="footprints")try{return u=await p3.footprintFile({datas:d,name:c}),u}catch(p){return{success:!1,message:p.message}}else if(t==="panelLibs")try{return u=await p3.panelLibFile({datas:d,name:c}),u}catch(p){return{success:!1,message:p.message}}}else{let u;if(t==="devices")try{u=await p3.device({datas:d})}catch(R){return{success:!1,message:R.message}}else if(t==="symbols")try{u=await p3.symbol({datas:d})}catch(R){return{success:!1,message:R.message}}else if(t==="footprints")try{u=await p3.footprint({datas:d})}catch(R){return{success:!1,message:R.message}}else if(t==="panelLibs")try{u=await p3.panelLib({datas:d})}catch(R){return{success:!1,message:R.message}}let{dataStr:p}=u,m={dataStr:p},h="easyeda-pro",f=await vve(m,h);if(!f)return{success:!1,message:"conversion failed"};let{success:g,result:b}=f;if(!(g&&b))return{success:!1,message:"conversion failed"};let{project:y}=b,{json:w}=u,x,{devices:S,symbols:T,footprints:M,panelLibs:I}=y,{devices:A,symbols:D,footprints:E,panelLibs:N}=w;if(A&&Object.keys(A).length){let R={},v=R.SYMBOL={},k=R.FOOTPRINT={};for(let O of S||[])A[O.uuid]=Object.assign(A[O.uuid]||{},O);for(let O of T||[])v[`${O.uuid}${Lo.SYMBOL}`]=va(O.dataStr),delete O.dataStr,D[O.uuid]=Object.assign(D[O.uuid]||{},O);for(let O of M||[])k[`${O.uuid}${Lo.FOOTPRINT}`]=va(O.dataStr),delete O.dataStr,E[O.uuid]=Object.assign(E[O.uuid]||{},O);let P={devices:A,symbols:D,footprints:E};R[g8.DEVICE]=va(JSON.stringify(P,void 0,2)),x=new Blob([vb(R)])}else if(D&&Object.keys(D).length){let R={},v=R.SYMBOL={};for(let P of T||[])v[`${P.uuid}${Lo.SYMBOL}`]=va(P.dataStr),delete P.dataStr,D[P.uuid]=Object.assign(D[P.uuid]||{},P);let k={symbols:D};R[g8.SYMBOL]=va(JSON.stringify(k,void 0,2)),x=new Blob([vb(R)])}else if(E&&Object.keys(E).length){let R={},v=R.FOOTPRINT={};for(let P of M||[])v[`${P.uuid}${Lo.FOOTPRINT}`]=va(P.dataStr),delete P.dataStr,E[P.uuid]=Object.assign(E[P.uuid]||{},P);let k={footprints:E};R[g8.FOOTPRINT]=va(JSON.stringify(k,void 0,2)),x=new Blob([vb(R)])}else if(N&&Object.keys(N).length){let R={},v=R["panel-lib"]={};for(let P of I||[])v[`${P.uuid}${Lo.PANEL_LIB}`]=va(P.dataStr),delete P.dataStr,N[P.uuid]=Object.assign(N[P.uuid]||{},P);let k={"panel-lib":N};R[g8.PANEL_LIB]=va(JSON.stringify(k,void 0,2)),x=new Blob([vb(R)])}return x?new File([x],c+Lo.ELIBZ):{success:!1,message:"No Data!"}}}var o6=L(z()),jqr=()=>{let[t,e]=(0,eVt.useState)(!1),{locals:i}=tVt.default,o=be.bind(i);Ae(tVt.default);let r=J(),[n,a]=(0,eVt.useState)(Lo.ELIBZ2),s=c=>{c.key==="Enter"&&l()},l=async()=>{if(t)return;e(!0);let c="saveAsLocal-time";WA(c);let d=SL.datas,p={fileName:SL.saveAsLocalFileName,suffix:n,datas:d};await n6o(p,!0),SL.datas=null,le.close(),KP(c)};return Bt(()=>{SL.datas=null}).close("projectSaveAsLocalDialog"),(0,o6.jsxs)(o6.Fragment,{children:[(0,o6.jsxs)("div",{className:o("saveLibraryInfo"),children:[(0,o6.jsxs)("div",{className:o("firstRow"),children:[(0,o6.jsx)("span",{"data-test":"filename:",className:o("fileName"),children:r("Filename:")}),(0,o6.jsx)(Kt,{style:{width:"412px"},defaultValue:SL.saveAsLocalFileName,onChange:c=>{SL.saveAsLocalFileName=c}})]}),(0,o6.jsxs)("div",{className:o("firstRow"),children:[(0,o6.jsx)("span",{"data-test":"fileFormat:",className:o("fileFormat"),children:`${r("File\xA0Format")}:`}),(0,o6.jsx)($i,{value:n,options:[{value:Lo.ELIBZ2,label:`elibz2 (${r("V3 format")})`},{value:Lo.ELIBZ,label:`elibz (${r("V2 format")})`}],onChange:c=>{a(c)}})]})]}),(0,o6.jsxs)("div",{className:o("footer"),children:[(0,o6.jsx)(Me,{type:"primary",onClick:l,disabled:t,style:{marginLeft:"8px"},children:"Confirm"}),(0,o6.jsx)(Me,{onClick:()=>{le.close(),SL.datas=null},style:{marginLeft:"8px"},children:"Cancel"})]})]})},a6o=jqr;var s6o=L(z());async function iVt(t,e){let i=bt[t],{containerId:o,width:r,closed:n,height:a}=i,s=SL.dialogTitle;return le.open({id:o,title:s,width:r,height:a,closed:n,children:(0,s6o.jsx)(a6o,{})}),{origin:"react"}}var d6o=L(Vi()),Bbe=L(Se()),oVt=L(c6o());var ML=L(z()),YW=be.bind(oVt.default.locals),u6o=t=>{Ae(oVt.default);let e=J(),{containerId:i}=t,[o,r]=(0,Bbe.useState)([]),[n,a]=(0,Bbe.useState)(""),[s,l]=(0,Bbe.useState)(""),c=async p=>{try{let h=(await C.messageBus.rpcCall("getLayoutPinNumber",p)).message+"";h&&l(h)}catch(m){console.error(m)}},d=async p=>{a(p),await c(p)},u=async()=>{var p;try{let m=C.currentProject.title,h=o.find(S=>S.value===n),f=[],g=[];h.isBoardSchematic&&h.boardUuid?g.push(h.boardUuid):f.push(n);let b={name:m,uuid:C.currentProject.projectId};f.length>0&&(b.schematicIds=f),g.length>0&&(b.boardIds=g);let{message:y}=await C.messageBus.rpcCall(qr.EXPORT_DOCUMENT,{name:m,uuid:C.currentProject.projectId,...b}),w=(p=y==null?void 0:y.result)==null?void 0:p.file;if(!w){console.error("\u6570\u636E\u672A\u751F\u6210");return}let x=new FormData;x.append("project_name",m),x.append("pins",s),x.append("file",w),d6o.default.ajax({url:C.apis.others.layoutOrder,type:"post",contentType:!1,processData:!1,data:x}).then(S=>{var T;S&&S.success&&((T=S==null?void 0:S.result)!=null&&T.url)?(le.close(i),Dt({title:e("Order Layout Service"),content:e("Order data(schematic compress file) generated finish, please click OK button and continue."),closed:!0,showCancel:!0,confirmButtonType:"primary",onConfirm:()=>{let M=S.result.url;window.open(M,"_blank")}})):De({type:"error",msg:(S==null?void 0:S.message)||"\u8C03\u7528\u63A5\u53E3\u5931\u8D25"})})}catch(m){console.error(m)}};return(0,Bbe.useEffect)(()=>{let p=he.getActiveTab();C.messageBus.rpcCall("getBOMNetListSelectList",p).then(m=>{let{rangeSchList:h}=m.message,g=[...h].map(y=>{var w;return{value:y.value,text:y.text,isBoardSchematic:!!(y!=null&&y.boardName),boardUuid:(w=y==null?void 0:y.boardUuid)!=null?w:""}});r(g);let b=g[0].value;a(b),c(b)})},[]),(0,ML.jsxs)("div",{className:YW("container"),children:[(0,ML.jsxs)("div",{className:YW("main"),children:[(0,ML.jsxs)("div",{className:YW("row"),children:[(0,ML.jsxs)("div",{className:YW("title"),children:[e("Range"),":"]}),(0,ML.jsx)("div",{className:YW("content"),children:(0,ML.jsx)(xt,{list:o,value:n,onChange:d,containerStyle:{overflow:"hidden"}})})]}),(0,ML.jsxs)("div",{className:YW("row"),children:[(0,ML.jsxs)("div",{className:YW("title"),children:[e({context:"exportPickPlaceDialog",value:"Pins"}),":"]}),(0,ML.jsx)("div",{className:YW("content"),children:s})]})]}),(0,ML.jsxs)("div",{className:YW("footer"),children:[(0,ML.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:u,children:e({context:"topMenu",value:"Order"})}),(0,ML.jsx)(Me,{onClick:()=>{le.close(i)},children:"Cancel"})]})]})};var m6o=L(z());async function p6o(t={},e){let i=bt[e],{containerId:o,title:r,width:n,closed:a,mask:s}=i;le.open({id:o,title:r,width:n,closed:a,mask:s,children:(0,m6o.jsx)(u6o,{containerId:o})})}var Vee=L(Se());var sVt=L(f6o());var aVt=L(Dve());var C6o=L(Dve());var w6o=L(Se());var zbe={containerId:"leftFootprintWizard"},Cp={lastModeName:"",currentModeName:"",dataUnit:10,showUnit:1,inited:!1};var Ent={Yes:1,No:0},zp={ROUND:"ELLIPSE",RECTANGLE:"RECT",OCTAGONAL:"OVAL"},rVt={"Right Angle":0,Fillet:1,Chamfer:2},Ant={"Center of Pads":0,"First Pin":1};var Nnt={"Upper left":0,"Lower left":1},Sf={Resistance:"Resistance",Capacitance:"Capacitance","Polar Capacitance":"Polar Capacitance",Diode:"Diode",Inductance:"Inductance",Fuse:"Fuse",LED:"LED","Bidirectional Diode":"Bidirectional Diode","Crystal Oscillator":"Crystal Oscillator"},b6o=(l=>(l.Green="Green",l.Blue="Blue",l.Yellow="Yellow",l.White="White",l.Red="Red",l.Amber="Amber",l.Purple="Purple",l.Black="Black",l))(b6o||{}),Fee={expansionSize:{title:"Expansion Size",type:"number",defaultVal:0,unit:!0,un_negative:!0},corner:{title:"Corner",type:"select",options:rVt,defaultVal:rVt["Right Angle"]},thermalPadWidth:{title:"Width",type:"number",defaultVal:10,unit:!0,un_negative:!0},thermalPadHeight:{title:"Height",type:"number",defaultVal:10,unit:!0,un_negative:!0},hasThermalVias:{title:"Has ThermalVias",type:"select",options:Ent,defaultVal:Ent.Yes}},Fbe={Axial:{title:"Axial",options:{packageName:{defaultVal:"Axial"},componentType:{filter:["LED","Crystal Oscillator","Bidirectional Diode"]},padShape:{options:{Round:zp.ROUND,Rectangle:zp.RECTANGLE},defaultVal:zp.RECTANGLE},pinPitch:{defaultVal:ci(11.76)},bodyLength:{defaultVal:ci(8.5)},bodyWidth:{defaultVal:ci(2.5)},pinDiameter:{defaultVal:ci(.63)},footprintOrigin:{},footprintName:{},generate3D:{defaultVal:!0},height:{defaultVal:ci(2.5)}}},BGA:{title:"BGA",options:{packageName:{defaultVal:"BGA"},rowsPins:{defaultVal:11},columnsPins:{defaultVal:11},bodyLength:{defaultVal:[ci(5.8),ci(6.2)]},bodyWidth:{defaultVal:[ci(5.8),ci(6.2)]},pinDiameter:{defaultVal:ci(.3)},pinSpacing:{defaultVal:ci(.5)},pinPitch:{defaultVal:ci(.5)},customPasteMask:{defaultVal:!0,multiOptions:{expansionSize:Fee.expansionSize,corner:Object.assign({},Fee.corner,{defaultVal:rVt.Chamfer})}},firstPinAt:{},footprintOrigin:{},solderCharacteristic:{},footprintName:{},generate3D:{defaultVal:!0},height:{defaultVal:ci(1)}}},Chip:{title:"Chip",options:{packageName:{defaultVal:"Chip"},componentType:{filter:["Crystal Oscillator"]},bodyLength:{defaultVal:[ci(3),ci(3.4)]},bodyWidth:{defaultVal:[ci(1.4),ci(1.8)]},pinWidth:{defaultVal:[ci(.25),ci(.75)]},customPasteMask:{},footprintOrigin:{},footprintName:{},generate3D:{defaultVal:!0},height:{options:{hidden:0,switch:1},defaultVal:ci(.7)}}},ChipArray:{title:"ChipArray",options:{packageName:{defaultVal:"ChipArray"},componentType:{filter:["Polar Capacitance","Bidirectional Diode","Crystal Oscillator","Diode","Fuse"]},pins:{defaultVal:8},bodyLength:{defaultVal:[ci(4.78),ci(5.38)]},bodyWidth:{defaultVal:[ci(1.8),ci(2.4)]},pinLength:{defaultVal:[ci(.25),ci(.55)]},pinWidth:{defaultVal:[ci(.65),ci(.95)]},pinPitch:{title:"Pin Spacing",defaultVal:ci(1.27)},customPasteMask:{},firstPinAt:{},footprintOrigin:{},footprintName:{},generate3D:{defaultVal:!0},height:{defaultVal:ci(.7)}}},Cylindrical:{title:"Radial",options:{componentType:{options:{Capacitance:Sf.Capacitance,"Polar Capacitance":Sf["Polar Capacitance"],LED:Sf.LED}},padShape:{options:{Round:zp.ROUND,Rectangle:zp.RECTANGLE},defaultVal:zp.ROUND},bodyDiameter:{defaultVal:[ci(10.6),ci(11.2)]},pinDiameter:{defaultVal:ci(.6)},pinPitch:{defaultVal:ci(4.88)},padExpansion:{},footprintOrigin:{},footprintName:{},generate3D:{defaultVal:!0},height:{defaultVal:ci(11)},entityColour:{defaultVal:"Red"}}},DFN_4:{title:"DFN-4",options:{bodyLength:{defaultVal:[ci(1.15),ci(1.25)]},bodyWidth:{defaultVal:[ci(.75),ci(.8)]},pinLength:{defaultVal:ci(.35)},pinWidth:{defaultVal:ci(.25)},pinSpacing:{defaultVal:ci(.75)},pinPitch:{defaultVal:ci(.45)},customPasteMask:{},footprintOrigin:{},footprintName:{},generate3D:{defaultVal:!0},height:{defaultVal:ci(.4)}}},DIP:{title:"DIP",options:{packageName:{defaultVal:"DIP"},pins:{defaultVal:16,positive:!0,even:!0},padShape:{options:{Round:zp.OCTAGONAL,Rectangle:zp.RECTANGLE},defaultVal:zp.OCTAGONAL},leadSpan:{defaultVal:ci(7.62)},bodyLength:{defaultVal:ci(19.69)},bodyWidth:{defaultVal:[ci(6.6),ci(6.6)]},pinDiameter:{defaultVal:ci(.53)},pinPitch:{title:"Pin Spacing",defaultVal:ci(2.54)},firstPinAt:{},footprintOrigin:{},footprintName:{},generate3D:{defaultVal:!0},height:{defaultVal:ci(5.08)},height1:{defaultVal:ci(.38)},height2:{defaultVal:ci(2.4)},pinThickness:{defaultVal:ci(.12)}}},E_Cap:{title:"E-Cap",options:{packageName:{defaultVal:"E_Cap"},leadSpan:{defaultVal:[ci(10.8),ci(12.2)]},bodyLength:{defaultVal:[ci(10.1),ci(10.5)]},bodyWidth:{defaultVal:[ci(10.1),ci(10.5)]},pinLength:{defaultVal:[ci(3.3),ci(3.7)]},pinWidth:{defaultVal:[ci(.7),ci(1.1)]},customPasteMask:{},footprintOrigin:{},footprintName:{},generate3D:{defaultVal:!0},height:{defaultVal:ci(10.5)}}},HEADER_H:{title:"Header-H",options:{packageName:{defaultVal:"HEADER_H"},rowsPins:{defaultVal:2},columnsPins:{defaultVal:4},padShape:{options:{Rectangle:zp.RECTANGLE,Round:zp.ROUND},defaultVal:zp.ROUND},bodyLength:{defaultVal:[ci(10.16),ci(10.16)]},bodyWidth:{defaultVal:[ci(2.54),ci(2.54)]},pinDiameter:{defaultVal:[ci(.64),ci(.64)]},pinWidth1:{},pinPitch:{defaultVal:ci(2.54)},pinSpacing:{defaultVal:ci(2.54)},pinLength:{type:"number",defaultVal:ci(5.84)},footprintOrigin:{defaultVal:Ant["First Pin"]},footprintName:{},generate3D:{defaultVal:!0},height:{defaultVal:ci(5.56)},height1:{title:"Bottom Height",defaultVal:ci(3)}}},HEADER_V:{title:"Header-V",options:{packageName:{defaultVal:"HEADER_V"},rowsPins:{defaultVal:2},columnsPins:{defaultVal:4},padShape:{options:{Rectangle:zp.RECTANGLE,Round:zp.ROUND},defaultVal:zp.ROUND},bodyLength:{defaultVal:[ci(10.1),ci(10.5)]},bodyWidth:{defaultVal:[ci(5.08),ci(5.08)]},pinDiameter:{defaultVal:[ci(.64),ci(.64)]},pinPitch:{defaultVal:ci(2.54)},pinSpacing:{defaultVal:ci(2.54)},footprintOrigin:{defaultVal:Ant["First Pin"]},footprintName:{},generate3D:{defaultVal:!0},height:{defaultVal:ci(2.54)},height2:{title:"Top Height",defaultVal:ci(5.84)},height1:{title:"Bottom Height",defaultVal:ci(3)}}},QFN:{title:"QFN",options:{packageName:{defaultVal:"QFN"},rowsPins:{title:"Number of pins (left and right)",positive:!1,defaultVal:6},columnsPins:{title:"Number of pins (up and down)",positive:!1,defaultVal:8},padShape:{options:{Rectangle:zp.RECTANGLE,Oval:zp.OCTAGONAL},defaultVal:zp.OCTAGONAL},bodyLength:{defaultVal:[ci(4.9),ci(5.1)]},bodyWidth:{defaultVal:[ci(3.9),ci(4.1)]},pinLength:{defaultVal:[ci(.3),ci(.5)]},pinWidth:{defaultVal:[ci(.2),ci(.3)]},pinPitch:{defaultVal:ci(.5)},thermalPad:{defaultVal:!0,multiOptions:{thermalPadWidth:{defaultVal:ci(2)},thermalPadHeight:{defaultVal:ci(2)},hasThermalVias:{defaultVal:Ent.Yes}}},customPasteMask:{},firstPinAt:{defaultVal:Nnt["Upper left"]},footprintOrigin:{},footprintName:{},generate3D:{defaultVal:!0},height:{defaultVal:ci(1)}}},QFP:{title:"QFP",options:{packageName:{defaultVal:"QFP"},rowsPins:{title:"Number of pins (left and right)",positive:!1,defaultVal:16},columnsPins:{title:"Number of pins (up and down)",positive:!1,defaultVal:16},padShape:{options:{Rectangle:zp.RECTANGLE,Oval:zp.OCTAGONAL},defaultVal:zp.RECTANGLE},leadSpan:{abbreviation:"LS1",defaultVal:[ci(12.7),ci(13.1)]},leadSpan2:{abbreviation:"LS2",defaultVal:[ci(12.7),ci(13.1)]},bodyLength:{defaultVal:[ci(9.8),ci(10.2)]},bodyWidth:{defaultVal:[ci(9.8),ci(10.2)]},pinLength:{defaultVal:[ci(.78),ci(1.03)]},pinWidth:{defaultVal:[ci(.17),ci(.27)]},pinPitch:{defaultVal:ci(.5)},thermalPad:{defaultVal:!0,multiOptions:{thermalPadWidth:{defaultVal:ci(7)},thermalPadHeight:{defaultVal:ci(7)},hasThermalVias:{defaultVal:Ent.Yes}}},customPasteMask:{},firstPinAt:{defaultVal:Nnt["Upper left"]},footprintOrigin:{},footprintName:{},generate3D:{defaultVal:!0},height:{defaultVal:ci(1.2)},height1:{defaultVal:ci(.05)}}},SOD:{title:"SOD",options:{packageName:{defaultVal:"SOD"},padShape:{options:{Rectangle:zp.RECTANGLE,Oval:zp.OCTAGONAL},defaultVal:zp.RECTANGLE},leadSpan:{defaultVal:[ci(3.6),ci(3.9)]},bodyLength:{defaultVal:[ci(2.55),ci(2.85)]},bodyWidth:{defaultVal:[ci(1.8),ci(1.8)]},pinLength:{abbreviation:"PL",defaultVal:[ci(.25),ci(.32)]},pinWidth:{abbreviation:"PW",defaultVal:[ci(.55),ci(.75)]},customPasteMask:{},footprintOrigin:{},footprintName:{},generate3D:{defaultVal:!0},height:{defaultVal:ci(1.35)},height1:{defaultVal:ci(.15)}}},SOIC_SOP:{title:"SOIC_SOP",options:{packageName:{defaultVal:"SOIC_SOP"},pins:{defaultVal:20},padShape:{options:{Rectangle:zp.RECTANGLE,Oval:zp.OCTAGONAL},defaultVal:zp.RECTANGLE},leadSpan:{defaultVal:[ci(10),ci(10.65)]},bodyLength:{defaultVal:[ci(12.6),ci(13)]},bodyWidth:{defaultVal:[ci(7.4),ci(7.6)]},pinLength:{defaultVal:[ci(.4),ci(1.27)]},pinWidth:{defaultVal:[ci(.33),ci(.51)]},pinPitch:{defaultVal:ci(1.27)},thermalPad:{},customPasteMask:{},firstPinAt:{},footprintOrigin:{},footprintName:{},generate3D:{defaultVal:!0},height:{defaultVal:ci(2.65)},height1:{defaultVal:ci(.25)}}},SOT23:{title:"SOT23",options:{packageName:{defaultVal:"SOT23"},pins:{defaultVal:3},leadSpan:{defaultVal:[ci(2.3),ci(2.5)]},bodyLength:{defaultVal:[ci(2.8),ci(3)]},bodyWidth:{defaultVal:[ci(1.2),ci(1.4)]},pinLength:{defaultVal:[ci(.45),ci(.61)]},pinWidth:{defaultVal:[ci(.43),ci(.43)]},pinPitch:{defaultVal:ci(.95)},customPasteMask:{},firstPinAt:{},footprintOrigin:{},footprintName:{},generate3D:{defaultVal:!0},height:{defaultVal:ci(1.1)},height1:{defaultVal:ci(.1)}}},SOT223:{title:"SOT223",options:{packageName:{defaultVal:"SOT223"},pins:{defaultVal:4},leadSpan:{defaultVal:[ci(6.7),ci(7.3)]},bodyLength:{defaultVal:[ci(6.3),ci(6.7)]},bodyWidth:{defaultVal:[ci(3.3),ci(3.7)]},pinLength:{defaultVal:[ci(.7),ci(1.1)]},pinWidth:{defaultVal:[ci(.7),ci(.7)]},pinPitch:{defaultVal:ci(2.3)},pinWidth1:{title:"Pin Width",type:"number2",defaultVal:[ci(3),ci(3)]},customPasteMask:{},footprintOrigin:{},footprintName:{},generate3D:{defaultVal:!0},height:{defaultVal:ci(1.8)},height1:{defaultVal:ci(.1)}}},TO_DPAK:{title:"TO-DPAK",options:{packageName:{defaultVal:"TO_DPAK"},pins:{defaultVal:4},leadSpan:{defaultVal:[ci(10.41),ci(10.67)]},bodyLength:{defaultVal:[ci(8.27),ci(8.52)]},bodyWidth:{defaultVal:[ci(6.89),ci(7.14)]},pinLength:{defaultVal:[ci(1.59),ci(1.59)]},pinWidth:{defaultVal:[ci(.63),ci(.79)]},pinPitch:{defaultVal:ci(2.54)},pinLength1:{defaultVal:[ci(6.49),ci(6.49)]},pinWidth1:{title:"Pin Height",type:"number2",defaultVal:[ci(5.59),ci(5.59)]},customPasteMask:{},footprintOrigin:{},footprintName:{},generate3D:{defaultVal:!0},height:{defaultVal:ci(2.4)},pinLength2:{defaultVal:ci(1)}}}},Uee={packageName:{title:"Package Name",type:"text",defaultVal:""},componentType:{title:"Package Type",type:"select",options:Sf,defaultVal:Sf.Capacitance},pinPitch:{title:"Pin Spacing",type:"number",defaultVal:ci(.45),abbreviation:"PP",unit:!0,positive:!0},bodyLength:{title:"Body Length",type:"number2",defaultVal:[10,10],abbreviation:"BL",unit:!0,positive:!0},bodyWidth:{title:"Body Width",type:"number2",defaultVal:[10,10],abbreviation:"BW",unit:!0,positive:!0},pinDiameter:{title:"Pin Diameter",type:"number2",defaultVal:[1,1],abbreviation:"PD",unit:!0,positive:!0},footprintOrigin:{title:"Package Origin",type:"select",options:Ant,defaultVal:Ant["Center of Pads"]},generate3D:{title:"Generate 3D Model",type:"titleCheckBox",defaultVal:!0,positive:!0},height:{title:"Entity Height",abbreviation:"H",type:"number",defaultVal:ci(.7),unit:!0,un_negative:!0,options:{switch:1,hidden:0}},rowsPins:{title:"Rows Of Pin",type:"number",defaultVal:10,positive:!0},columnsPins:{title:"Columns Of Pin",type:"number",defaultVal:10,positive:!0},pinSpacing:{title:"Pin Vertical Spacing",type:"number",defaultVal:10,abbreviation:"PS",unit:!0,un_negative:!0},customPasteMask:{title:"Custom PasteMask",type:"radioMulti",defaultVal:!1,multiOptions:{expansionSize:Fee.expansionSize,corner:Fee.corner}},firstPinAt:{title:"FirstPin Position",type:"select",options:Nnt,defaultVal:Nnt["Lower left"]},pins:{title:"Pins Number",type:"number",defaultVal:10,positive:!0},pinWidth:{title:"Pin Width",type:"number2",defaultVal:[10,10],abbreviation:"PW",unit:!0,positive:!0},bodyDiameter:{title:"Body Diameter",type:"number2",defaultVal:[10,10],abbreviation:"BD",unit:!0,positive:!0},pinLength:{title:"Pin Length",type:"number2",defaultVal:[10,10],abbreviation:"PL",unit:!0,positive:!0},padShape:{title:"Pad Shape",type:"select",options:zp,defaultVal:zp.ROUND},padExpansion:{title:"Pad Expansion",type:"number",defaultVal:ci(.2),unit:!0,un_negative:!0},leadSpan:{title:"Lead Span",type:"number2",defaultVal:[10,10],abbreviation:"LS",unit:!0,positive:!0},height1:{title:"Lead Overhang",type:"number",options:{switch:1,hidden:0},defaultVal:ci(.38),abbreviation:"H1",unit:!0,positive:!0},height2:{title:"Bottom Height",abbreviation:"H2",type:"number",options:{switch:1,hidden:0},defaultVal:ci(3),unit:!0,positive:!0},pinThickness:{title:"Lead Thickness",type:"number",defaultVal:ci(.12),options:{switch:1,hidden:0},abbreviation:"PT",unit:!0,positive:!0},pinWidth1:{title:"Bending Spacing",abbreviation:"PW1",type:"number",defaultVal:ci(1.52),unit:!0,positive:!0},pinLength1:{title:"Pin Real Length",type:"number2",defaultVal:[10,10],abbreviation:"PL1",unit:!0,positive:!0},thermalPad:{title:"ThermalPad",type:"radioMulti",defaultVal:!1,multiOptions:{thermalPadWidth:Fee.thermalPadWidth,thermalPadHeight:Fee.thermalPadHeight,hasThermalVias:Fee.hasThermalVias}},leadSpan2:{title:"Lead Vertical Span",type:"number2",defaultVal:[10,10],abbreviation:"LS2",unit:!0,positive:!0},pinLength2:{title:"Pin Length",type:"number",defaultVal:ci(2.4),options:{switch:1,hidden:0},abbreviation:"PL2",unit:!0,positive:!0},footprintName:{title:"Footprint Name",type:"footprintName",defaultVal:"",positive:!0,select:!1},entityColour:{title:"Entity Colour",defaultVal:"Red",type:"select",options:b6o,positive:!0}};Object.assign(Uee,Fee);var y6o=["height","height1","height2","pinThickness","pinLength2","bodyA","entityColour"];var knt=class extends qe{constructor(){super(...arguments);this.keyIndex=0;this.modelName="";this.modelConfig={title:"",options:{}};this.dataUnit=10;this.showUnit=Cp.showUnit}notify(){super.notify(),this.showUnit=Cp.showUnit,this.keyIndex++}update(i,o){this.modelName=i,this.modelConfig=Rg(o),this.notify()}getOptions(i=(r=>(r=this.modelConfig)==null?void 0:r.options)(),o=!1){let n={packageName:this.modelName};if(!i)return n;for(let a in i){let s=i[a];s.multiOptions?s.defaultVal?n[a]=this.getOptions(s.multiOptions,o):n[a]=!1:n[a]=s.defaultVal}if(["DIP","TO_DPAK"].indexOf(n.packageName)>-1&&!o&&([n.bodyLength,n.bodyWidth]=[n.bodyWidth,n.bodyLength]),i.footprintName){let{select:a,defaultVal:s}=i.footprintName,l=a?s:null;n.footprintName=l}return n}async generate(){let i=this.getOptions(),o=i.footprintName;if(o){let n={},a=[];a.push({key:"Footprint",update:!0,value:o}),n["attr-array"]=a;let s=Xi();C.windowBridge.publish("attrUpdate",{body:{FOOTPRINT:n},head:{action:"modifyFootprintDataByPanel",primitive:["FOOTPRINT"]}},s.contentWindow)}let r=i?await ei():null;r&&(await C.windowBridge.rpcCall("pcb/generateFootprint",i,r.contentWindow)).message}async link3DModel(i,o){let r=this.getOptions(),n=r?await ei():null,a=Mb.ORIGIN;n&&(a=(await C.windowBridge.rpcCall("pcb/getFootprintOrigin",r,n.contentWindow)).message);let[s,l]=this.getOffset(r),c=(a.x+s)*10,d=(a.y+l)*10,{max_x:u,max_y:p,max_z:m,min_x:h,min_y:f,min_z:g}=o,b=ci((u+h)/2,39.37,1),y=ci((p+f)/2,39.37,1),w=ci(u-h,39.37,1),x=ci(p-f,39.37,1),S=ci(g,39.37,1),T=c+b,M=d+y,A=`${w},${x},${S},0,0,0,${T},${M},${S}`,D=i.createResult,E=D.uuid,N=he.getActiveTabData().data.owner,R=D.display_title,k={id:E+"|"+N,title:R,transf:A},P={};P["attr-array"]=[{key:"3D Model",showKey:!1,showValue:!1,update:!0,value:JSON.stringify(k)}];let O=gi();typeof G2[O]<"u"&&(G2[O]={...G2[O],...JSON.parse(JSON.stringify(P))});let _=Xi();C.windowBridge.publish("attrUpdate",{body:{FOOTPRINT:P},head:{action:"modifyFootprintDataByPanel",primitive:["FOOTPRINT"]}},_.contentWindow),De({type:"success",msg:"Bind 3D models successfully.",timer:3})}getOffset(i){let o=0,r=0;switch(i.packageName){case"TO_DPAK":let n=(i.leadSpan[0]+i.leadSpan[1])/2,a=(i.bodyLength[0]+i.bodyLength[1])/2;o=-(n-a-2*i.pinLength2)/2;break}return[o,r]}checkOptions(i){let o=i.packageName;if(o=="Axial"){let r=i.bodyWidth,n=i.bodyLength,a=i.pinPitch,s=i.pinDiameter,l=i.height,c=(r[0]+r[1])/2;if(l<c)return De({type:"warn",msg:"Entity height(H) must be greater than or equal to the body width(BW)."}),!1;if((a-n)/2-2*s<3.937||l-r/2-2*s<3.937)return De({type:"warn",msg:"Reduce the pin diameter value."}),!1}else if(o=="BGA"){let r=i.height,n=i.pinDiameter;if(r<n*.8)return De({type:"warn",msg:"Entity Height(H) is too small to generate a 3D model."}),!1}return!0}async generate3D(){let i=this.getOptions(this.modelConfig.options,!0);this.checkOptions(i)&&ii("new-3d-model",{options:i,callback:this.link3DModel.bind(this),defaultTitle:he.getActiveTabData().title})}};var Pnt=class extends qe{constructor(){super(...arguments);this.models=Fbe;this.currentModeName="";this.lastModeName=""}setModeName(i){let o=this.models[i];return o&&(this.lastModeName=this.currentModeName,this.currentModeName=i,this.notify()),o}notify(){super.notify()}};var Ont=class extends qe{constructor(){super();this.selectionIsShow=!0;this.selectionStore=new Pnt,this.editingStore=new knt}notify(){super.notify(),this.selectionStore.notify(),this.editingStore.notify()}showEditing(i){let o=this.selectionStore.setModeName(i);o&&(this.editingStore.update(i,o),this.selectionIsShow=!1,this.notify())}showSelection(){this.selectionIsShow||(this.selectionIsShow=!0,this.notify())}},WW=(0,w6o.createContext)(void 0);var Rnt=L(Se());var QW=L(z());function x6o(t){let e=be.bind(C6o.default.locals),i=J(),o=(0,Rnt.useContext)(WW),r=o.selectionStore;Ce(r);let n=e("current"),a=r.models||{},s=r.currentModeName,l=r.lastModeName,c=Object.keys(a);return(0,Rnt.useEffect)(()=>{var d;(d=k0(`.${n}`))==null||d.scrollIntoView({behavior:"smooth"})}),(0,QW.jsx)("div",{className:e("selection"),style:{display:o.selectionIsShow?"":"none"},children:c.map(function(d,u){let p=a[d],{title:m,options:h}=p;if(!h)return(0,QW.jsx)(QW.Fragment,{});let f=i(m);return(0,QW.jsxs)("div",{className:e(`item ${(s||l)===d?n:""}`),title:f,"model-name":d,onClick:()=>{o.showEditing(d)},children:[(0,QW.jsx)("span",{className:e(`${d.toLowerCase()} icon-wrap`)}),(0,QW.jsx)("span",{className:e("modelname"),"data-test":m,children:f})]},u)})})}var M6o=L(Dve());var I6o=L(Se());var nVt=L(Dve());var wg=L(Se());var Ua=L(z());function S6o(){let t=be.bind(nVt.default.locals),e=J(),o=(0,wg.useContext)(WW).editingStore;Ce(o);let r=(0,wg.useRef)(null),n=(0,wg.useRef)(null),a=o.modelConfig,[s,l]=(0,wg.useState)(0),[c,d]=(0,wg.useState)(0);(0,wg.useEffect)(()=>{n.current.scrollTop=s},[c]);let u=T=>{var M;(M=r.current)==null||M.update(T),d(c+1)},p=o.modelName,m=o.showUnit,h=o.dataUnit||10,f=m?mU(m):"",g=h?mU(h):"";m==10&&(f="pixel"),h==10&&(g="pixel");let b=Object.keys((a==null?void 0:a.options)||{}),y=!1,w=T=>{y||l(n.current.scrollTop)};return(0,Ua.jsx)("div",{className:t("params"),onScroll:w,ref:n,children:b.map(function(T,M){var E,N,R,v;let I=a==null?void 0:a.options[T],A=Uee[T];if(T==="footprintName")return(0,Ua.jsx)(zqr,{options:a,ref:r});if(y6o.indexOf(T)>=0){let k=(E=a==null?void 0:a.options.generate3D)!=null&&E.defaultVal?0:1;if((k||T=="entityColour"&&a.options.componentType.defaultVal!==Sf.LED)&&(A=null),(N=I.options)!=null&&N.switch&&(I.options.hidden=k),T=="height"){let P=(R=a.options.footprintName)==null?void 0:R.select;(v=I.options)!=null&&v.switch&&(I.options.hidden=P||!k?0:1),A=Uee[T]}}if(!A)return(0,Ua.jsx)(Ua.Fragment,{});let D=Object.assign({},A,I);return D?(a.options[T]=D,(0,Ua.jsx)(x,{optionName:T,item:D,itemIndex:M.toString()},M)):(0,Ua.jsx)(Ua.Fragment,{})})});function x(T){var ae,pe;let{optionName:M,item:I,itemIndex:A}=T,D=M.toLocaleLowerCase(),E=!1,N=I.title,R=I.abbreviation?"("+I.abbreviation+")":"",v=N+R,k=null;if((ae=I.options)!=null&&ae.hidden)return(0,Ua.jsx)(Ua.Fragment,{});let P=I.type,O=(0,Ua.jsx)(Ua.Fragment,{}),_=((pe=I==null?void 0:I.defaultVal)==null?void 0:pe.toString())||"",j="",B=[];switch(P){case"text":{M==="packageName"&&(E=!0);break}case"number":break;case"number2":{let Z="0",ee="0";I.defaultVal&&(Array.isArray(I.defaultVal)?(Z=I.defaultVal[0].toString(),ee=I.defaultVal[1].toString()):(Z=ee=I.defaultVal.toString(),I.defaultVal=[+Z,+ee])),_=Z,j=ee;break}case"select":{let Z=I.filter||[];for(let ee in I.options){if(Z.indexOf(ee)>=0)continue;let ce=I.options[ee];B.push({value:ce,text:ee})}break}case"radioMulti":{_||(E=!0);break}}let[V,G]=(0,wg.useState)(_),[Q,H]=(0,wg.useState)(j),[q,U]=(0,wg.useState)(!!I.defaultVal),[F,K]=(0,wg.useState)(!!(I!=null&&I.select)),te=`${P}-${o.keyIndex}-${A}`;switch(P){case"text":{O=(0,Ua.jsx)(Kt,{name:D,type:"text",value:V,onChange:Z=>{I.defaultVal=Z,G(Z),u({...a})}},te);break}case"number":{I.unit?O=(0,Ua.jsx)(or,{name:D,value:V,originUnit:g,inputUnit:f,onChange:Z=>{let ee=S(I,+Z);ee&&(I.defaultVal=ee.showVal,G(ee.showVal.toString()),u({...a}))}},te):O=(0,Ua.jsx)(Kt,{type:"text",value:V,onChange:Z=>{y=!0,G(Z)},onBlur:Z=>{y=!1;let ee=Z.target.value,ce=S(I,+ee);ce?(I.defaultVal=ce.realVal,G(ce.showVal.toString()),a.options[M].defaultVal=ce.realVal):G(I.defaultVal.toString()),u({...a})}},te);break}case"number2":{I.unit?O=(0,Ua.jsxs)(Ua.Fragment,{children:[(0,Ua.jsx)(or,{className:t("short"),name:D,value:V,originUnit:g,inputUnit:f,onChange:Z=>{let ee=S(I,+Z);ee&&(I.defaultVal[0]=ee.showVal,G(ee.showVal.toString()),u({...a}))}},te),(0,Ua.jsx)("span",{className:t("short"),children:" - "}),(0,Ua.jsx)(or,{className:t("short"),name:D,value:Q,originUnit:g,inputUnit:f,onChange:Z=>{let ee=S(I,+Z);ee&&(I.defaultVal[1]=ee.showVal,H(ee.showVal.toString()),u({...a}))}},te+"_2")]}):O=(0,Ua.jsxs)(Ua.Fragment,{children:[(0,Ua.jsx)(Kt,{className:t("short"),type:"text",value:V,onChange:Z=>{y=!0,G(Z)},onBlur:Z=>{y=!1;let ee=Z.target.value,ce=S(I,+ee);ce?(I.defaultVal=ce.realVal,G(ce.showVal.toString()),a.options[M].defaultVal=ce.realVal):G(I.defaultVal.toString()),u({...a})}},te),(0,Ua.jsx)("span",{className:t("short"),children:" - "}),(0,Ua.jsx)(Kt,{className:t("short"),type:"text",value:Q,onChange:Z=>{y=!0,G(Z)},onBlur:Z=>{y=!1;let ee=Z.target.value,ce=S(I,+ee);ce?(I.defaultVal=ce.realVal,G(ce.showVal.toString()),a.options[M].defaultVal=ce.realVal):G(I.defaultVal.toString()),u({...a})}},te+"_2")]});break}case"select":{O=(0,Ua.jsx)("select",{style:{width:"calc(100% - 16px)"},name:D,onFocus:()=>{y=!0},onChange:Z=>{let ee=Z.target.value;typeof I.defaultVal=="number"?I.defaultVal=Number(ee):I.defaultVal=ee,u({...a})},defaultValue:_,children:B.map(function(Z,ee){var ce;return(0,Ua.jsx)("option",{value:(ce=Z.value)==null?void 0:ce.toString(),"data-test":Z.text,children:e(Z.text)},te+ee)})},te);break}case"radioMulti":{let Z=Object.keys(I.multiOptions);O=(0,Ua.jsxs)(Ua.Fragment,{children:[(0,Ua.jsxs)("div",{className:t("line clear checkbox"),children:[(0,Ua.jsx)("div",{className:t("left txt_title")}),(0,Ua.jsxs)("div",{className:t("left txt_value"),children:[(0,Ua.jsx)(qt,{className:t("checkbox multi"),style:{width:"auto"},defaultChecked:q,onChange:ee=>{U(ee),I.defaultVal=ee}}),(0,Ua.jsx)("span",{className:t("multi-span")})]})]}),q&&Z.map(function(ee,ce){let ne=I.multiOptions[ee],oe=Uee[ee];if(!oe)return(0,Ua.jsx)(Ua.Fragment,{});let re=Object.assign({},oe,ne);return re?(I.multiOptions[ee]=re,(0,Ua.jsx)(x,{optionName:ee,item:re,itemIndex:A+"_multi"+ce},ce)):(0,Ua.jsx)(Ua.Fragment,{})})]});break}case"titleCheckBox":{k=(0,Ua.jsxs)("div",{className:t("left txt_title txt_checkbox_title"),children:[(0,Ua.jsx)("span",{children:(0,Ua.jsx)(qt,{className:t("checkbox"),style:{width:"auto",top:"-2px",marginRight:"5px"},defaultChecked:q,onChange:Z=>{U(Z),u({...a}),I.defaultVal=Z,o.notify()}})}),(0,Ua.jsx)("span",{"data-test":v,title:e(v),children:e(N)}),(0,Ua.jsx)("span",{className:t("abbr"),children:R})]});break}}return(0,Ua.jsxs)("div",{className:t("line clear"),style:{display:E?"none":""},children:[k||(0,Ua.jsxs)("div",{className:t("left txt_title"),children:[(0,Ua.jsx)("span",{"data-test":v,title:e(v),children:e(N)}),(0,Ua.jsx)("span",{className:t("abbr"),children:R})]}),(0,Ua.jsx)("div",{className:t("left txt_value"),children:O})]})}function S(T,M){if(isNaN(M))return null;if(T.even&&(M=Math.round(M),M%2!=0&&(M+=1)),T.positive){if(M=Math.abs(M),M==0)return null}else T.un_negative&&(M=Math.abs(M));return{realVal:T.unit?ci(M,m,h):M,showVal:M}}}var zqr=(0,wg.forwardRef)((t,e)=>{let i=be.bind(nVt.default.locals),o=J();if(!t)return(0,Ua.jsx)(Ua.Fragment,{});let n=(0,wg.useContext)(WW).editingStore,[a,s]=(0,wg.useState)((t==null?void 0:t.options)||{}),[l,c]=(0,wg.useState)(""),[d,u]=(0,wg.useState)(!1);return(0,wg.useImperativeHandle)(e,()=>({update:p=>{let m=T6o(p);s(p),c(m),t.options.options.footprintName.defaultVal=m}})),(0,wg.useEffect)(()=>{let p=t.options.options.footprintName,m=t.options.title,h=a.title;if(m!==h&&(u(!1),s(t.options)),p){let f=T6o(t==null?void 0:t.options);c(f)}},[t]),(0,Ua.jsxs)("div",{className:i("line clear"),style:{display:l?"":"none",width:"100%"},children:[(0,Ua.jsxs)("div",{className:i("left txt_title_btn"),title:o("Apply IPC-7351B Footprint Name"),children:[(0,Ua.jsx)(qt,{className:i("left checkbox multi"),style:{width:"auto"},checked:d,onChange:p=>{let{options:m,title:h}=t.options,f=m.footprintName;u(p),f.select=p,f.defaultVal=l;let{height:g,generate3D:b}=m;g.options.hidden=p||b.defaultVal?0:1,n.notify()}}),(0,Ua.jsx)("div",{className:i("txt_title_text"),children:o("Apply IPC-7351B Footprint Name")})]}),(0,Ua.jsx)("div",{className:i("left txt_input"),children:(0,Ua.jsx)(Kt,{name:l,type:"text",value:l,disabled:!0},l)})]})});function T6o(t){let{title:e,options:i}=t,{columnsPins:o,rowsPins:r,bodyLength:n,bodyWidth:a,pinSpacing:s,pinPitch:l,height:c,thermalPad:d,pins:u,leadSpan:p}=i;switch(e){case"BGA":{let g=r.defaultVal+"X"+o.defaultVal,b=Number(r.defaultVal)*Number(o.defaultVal),y="C",w=`${Ul(l.defaultVal)}P`,x=Ul(n.defaultVal),S=Ul(a.defaultVal),T=Ul(c.defaultVal);return`BGA${b}${y}${w}${g}_${x}X${S}X${T}`}case"Chip":return Fqr(i);case"ChipArray":return Uqr(i);case"DFN-4":{let g=Ul(n.defaultVal),b=Ul(a.defaultVal),y=Ul(c.defaultVal);return`DFNL${g}X${b}X${y}-4N`}case"DIP":{let g=Ul(l.defaultVal),b=Ul(p.defaultVal),y=Ul(c.defaultVal),w=u.defaultVal;return`DIP${g}P${b}X${y}-${w}N`}case"E-Cap":let m=Ul(n.defaultVal,!0),h=Ul(a.defaultVal,!0),f=Ul(c.defaultVal);return`CAPAE${m}${h}X${f}N`;case"QFN":{let g=Ul(l.defaultVal),b=Ul(a.defaultVal),y=Ul(n.defaultVal),w=Ul(c.defaultVal),x=Ul(d.multiOptions.thermalPadWidth.defaultVal),S=Ul(d.multiOptions.thermalPadHeight.defaultVal),T=2*o.defaultVal+2*r.defaultVal;return`QFN${g}P${b}X${y}X${w}-${T}N`}case"SOD":{let g=Ul(p.defaultVal,!0),b=Ul(a.defaultVal,!0),y=Ul(c.defaultVal);return`SOD${g}${b}X${y}N`}case"SOIC_SOP":{let g=Ul(l.defaultVal),b=g=="127"?"SOIC127P":"SOP"+g+"P",y=Ul(p.defaultVal),w=Ul(c.defaultVal),x=u.defaultVal;return`${b}${y}X${w}-${x}N`}case"SOT23":case"SOT223":{let g=Ul(l.defaultVal),b=Ul(p.defaultVal),y=Ul(c.defaultVal),w=u.defaultVal;return`SOT${g}P${b}X${y}-${w}N`}case"TO-DPAK":{let g=Ul(l.defaultVal),b=Ul(p.defaultVal),y=Ul(c.defaultVal),w=u.defaultVal;return`TO${g}P${b}X${y}-${w}N`}}return""}function Ul(t,e=!1){let i=0;if(t instanceof Array?i=(t[0]+t[1])/.2:i=t*10,i=io(i,"mil","mm"),e){i=Math.round(i*10)/10;let[r,n]=i.toString().split("."),a=r;return n?a=a+n[0]:a=a+"0",a}return i=Math.round(i*100),i.toString()}function Fqr(t){let{height:e,bodyLength:i,bodyWidth:o,componentType:r}=t,n=r.defaultVal,a="RESC";switch(n){case Sf.Resistance:a="RESC";break;case Sf.Inductance:a="INDC";break;case Sf.Capacitance:a="CAPC";break;case Sf["Polar Capacitance"]:a="CAPCP";break;case Sf.Diode:a="DIOC";break;case Sf.LED:let d=Ul(i.defaultVal),u=Ul(o.defaultVal),p=Ul(e.defaultVal);return`LEDSC${d}X${u}X${p}-2N`;case Sf.Fuse:case Sf["Crystal Oscillator"]:case Sf["Bidirectional Diode"]:return""}let s=Ul(i.defaultVal,!0),l=Ul(o.defaultVal,!0),c=Ul(e.defaultVal);return`${a}${s}${l}X${c}N`}function Uqr(t){let{height:e,bodyLength:i,bodyWidth:o,pinPitch:r,pins:n,componentType:a}=t,s=a.defaultVal,l="RESCAV",c=n.defaultVal;switch(s){case Sf.Resistance:l="RESCAV";break;case Sf.Inductance:l="INDCAV";break;case Sf.Capacitance:l="CAPCAV";break;case Sf.LED:l="LEDSC";let h=Ul(r.defaultVal),f=Ul(i.defaultVal),g=Ul(o.defaultVal),b=Ul(e.defaultVal);return l+h+"P"+f+"X"+g+"X"+b+"-"+c+"N"}let d=Ul(r.defaultVal),u=Ul(i.defaultVal,!0),p=Ul(o.defaultVal,!0),m=Ul(e.defaultVal);return l+d+"P"+u+"X"+p+"X"+m+"-"+c+"N"}var W5=L(z());function L6o(t){var s;let e=be.bind(M6o.default.locals),i=J(),o=(0,I6o.useContext)(WW),r=o.editingStore;Ce(r);let n=r.modelConfig,a=r.modelName;return(0,W5.jsxs)("div",{className:e("editing"),style:{display:o.selectionIsShow?"none":""},children:[(0,W5.jsxs)("div",{className:e("nav"),children:[(0,W5.jsx)("span",{className:e("back"),"data-test":"Footprint Wizard",onClick:()=>{o.showSelection()},children:i("Footprint Wizard")}),(0,W5.jsx)("span",{className:e("blank"),children:">"}),(0,W5.jsx)("span",{children:i(n.title)})]}),(0,W5.jsx)("div",{className:e(`reference ${a.toLowerCase()}`),children:(0,W5.jsx)("div",{className:e("content"),onClick:()=>{o.showSelection()}})}),(0,W5.jsx)(S6o,{}),(0,W5.jsx)("div",{className:e("btns"),children:(0,W5.jsx)(Me,{type:"primary",style:{width:"100%"},onClick:()=>{r.generate()},children:"Generate Footprint"})}),(0,W5.jsx)("div",{className:e("btns"),children:(0,W5.jsx)(Me,{type:"primary",style:{width:"100%"},disabled:!((s=r.modelConfig.options.generate3D)!=null&&s.defaultVal),onClick:()=>{r.generate3D()},children:"Generate 3D Model"})}),(0,W5.jsx)("div",{className:e("notice"),children:(0,W5.jsx)("div",{"data-test":"notice-pad-size",children:i("The generated pads size will little bigger than input size, good for welding")})})]})}var Ube=L(z()),Vbe=new Ont;function v6o(t){let e=be.bind(aVt.default.locals),i=J();return Ae(aVt.default),Vbe.params=t,(0,Ube.jsx)(WW.Provider,{value:Vbe,children:(0,Ube.jsxs)("div",{className:e("footprint-wizard"),children:[(0,Ube.jsx)(x6o,{}),(0,Ube.jsx)(L6o,{})]})})}var Dw=L(z()),Eve=".step",Vqr=/.*\\(.*)$/;function D6o(t){Ae(sVt.default);let e=be.bind(sVt.default.locals),i=J(),{containerId:o,params:r}=t,[n,a]=(0,Vee.useState)(""),[s,l]=(0,Vee.useState)(""),[c,d]=(0,Vee.useState)(["path"]),[u,p]=(0,Vee.useState)(""),[m,h]=(0,Vee.useState)(!1);(0,Vee.useEffect)(()=>{let x=r.defaultTitle,S=r.clientLibs,T=r.libPaths,M=ue.splitComponentId2FolderAndFilenameMixin(he.getActiveTab()),I=M.componentTitleOrId,A=M.path,D=S.find(E=>E.uuid===A);if(D){let E=D.path.indexOf(D.uuid),N=D.path.slice(0,E-1);p(N),h(!1)}else T.length>0?(p(T[0]),h(!0)):(console.error("\u6CA1\u6709\u53EF\u7528\u7684\u5E93\u8DEF\u5F84\uFF0C\u65E0\u6CD5\u4FDD\u5B583D\u6A21\u578B"),p(""));l(x),a(I),d(T)},[]);let f=x=>{let S=0,T=0;switch(x.packageName){case"TO_DPAK":let M=(x.leadSpan[0]+x.leadSpan[1])/2,I=(x.bodyLength[0]+x.bodyLength[1])/2;S=-(M-I-2*x.pinLength2)/2;break}return[S,T]},g=async x=>{let S=Vbe.editingStore.getOptions(),T=await ei(),M=Mb.ORIGIN;T&&(M=(await C.windowBridge.rpcCall("pcb/getFootprintOrigin",S,T.contentWindow)).message);let[I,A]=f(S),D=(M.x+I)*10,E=(M.y+A)*10,{max_x:N,max_y:R,max_z:v,min_x:k,min_y:P,min_z:O}=x,_=ci((N+k)/2,39.37,1),j=ci((R+P)/2,39.37,1),B=ci(N-k,39.37,1),V=ci(R-P,39.37,1),G=ci(O,39.37,1),Q=D+_,H=E+j;return`${B},${V},${G},0,0,0,${Q},${H},${G}`},b=async(x,S,T)=>{let M=await g(T.bbox),I={},A=x+Eve,D=S.split(/\\|\//),E=D[D.length-1],N={id:A+"|"+E,title:A,transf:M};I["attr-array"]=[{key:"3D Model",showKey:!1,showValue:!1,update:!0,value:JSON.stringify(N)}];let R=gi();typeof G2[R]<"u"&&(G2[R]={...G2[R],...JSON.parse(JSON.stringify(I))});let v=Xi();C.windowBridge.publish("attrUpdate",{body:{FOOTPRINT:I},head:{action:"modifyFootprintDataByPanel",primitive:["FOOTPRINT"]}},v.contentWindow)},y=async(x,S)=>{let T=Eve,M=x+Eve,I=0,D=(await T0e({step_path:S})).map(E=>E.fileName);for(;D.includes(M);)I++,M=`${x}(${I})${T}`;return x+(I>0?`(${I})`:"")},w=async x=>{Ts();let S=s,T=r.options;if(!S){C.messageBus.publish("message",{type:"alert",message:"Please enter a name"}),Zr();return}let M=await ei();T.modelName=S;let{message:I}=(await C.windowBridge.rpcCall("pcb/generate3DModel",T,M.contentWindow)).message;if(!I||!I.step)return Zr(),De({type:"error",msg:"Failed to generate 3d preview data."});let A=await y(S,u),D=new Blob([I.step]),E=Vqr.exec(u)?"\\":"/",N=u+E+A+Eve,{message:R,success:v}=(await C.messageBus.rpcCall(Ei.CLIENT.EXPORT_FILE,{blob:D,title:A,extension:Eve,isExport:!1,path:N})).message;if(!v)return Zr(),De({type:"error",msg:R});await b(A,u,I),De({type:"success",msg:"Bind 3D models successfully.",timer:3}),Zr(),le.close(o)};return(0,Dw.jsxs)(Dw.Fragment,{children:[(0,Dw.jsxs)(z0,{children:[(0,Dw.jsxs)("tr",{className:e("form-item"),children:[(0,Dw.jsxs)("td",{className:e("label"),"data-test":"Model Name",title:i("Model Name"),children:[i("Model Name"),":"]}),(0,Dw.jsx)("td",{className:e("content"),style:{paddingBottom:"16px"},children:(0,Dw.jsx)("input",{type:"text",value:s,className:e("d3ModelName"),onChange:x=>{l(x.target.value)}})})]}),(0,Dw.jsxs)("tr",{className:e("form-item"),children:[(0,Dw.jsxs)("td",{className:e("label"),"data-test":"Save path",title:i("Save path"),children:[i("Save path"),":"]}),(0,Dw.jsx)("td",{className:e("content"),style:{paddingBottom:"16px"},children:(0,Dw.jsx)("select",{className:e("selectModelUnit"),style:{height:"24px"},value:u,onChange:x=>{p(x.target.value)},children:c.map(x=>(0,Dw.jsx)("option",{value:x,children:x},x))})})]})]}),(0,Dw.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"8px"},children:[(0,Dw.jsx)(ml,{type:"primary",onClick:x=>w(x),children:"Save"}),(0,Dw.jsx)(ml,{onClick:()=>le.close(o),children:"Cancel"})]})]})}var E6o=L(z());async function lVt(t={},e){let i=bt[e],{containerId:o,width:r,height:n,closed:a}=i,s="New 3D Model";t.uuid&&(s="Replace 3D Model");let l=await R2(),c=await wd();t.libPaths=c.libPath,t.clientLibs=l,le.open({id:o,title:s,width:r,height:n,closed:a,esc:!0,children:(0,E6o.jsx)(D6o,{containerId:o,params:t})})}var Hqr={"add-pcb-via-fence":async function(t={}){return xTo("add-pcb-via-fence",t)},"convert-board-to-line":async function(t={}){return t6o("convert-board-to-line",t)},"eda-about":async function(t={}){return w0o("eda-about",t)},"import-file":async function(t={}){return Guo("import-file",t)},"import-lib":async function(t={}){return nTt("import-lib",t)},"import-netlist":async function(t={}){return t9i("import-netlist",t)},"commonly-value-input":async function(t={}){return ato(t,"commonly-value-input")},"delete-target":async function(t={}){return Zui(t,"delete-target")},"attribute-for-2dline":async function(t={}){return pto(t,"attribute-for-2dline")},"attribute-for-pad":async function(t={}){return Fto(t,"attribute-for-pad")},"set-attr-text-position":async function(t={}){return Hkt(t,"set-attr-text-position")},"batch-modify-spacing":async function(t={}){return $eo(t,"batch-modify-spacing")},"clear-cache":async function(t={}){return dlo(t,"clear-cache")},"place-pcb-text":async function(t={}){return B4t(t,"place-pcb-text")},"renumber-pads":async function(t={}){return ltt(t,"renumber-pads")},"modify-pcb-text-suspension":async function(t={}){return g0i(t,"modify-pcb-text-suspension")},"place-independent-via":async function(t={}){return B4t(t,"place-independent-via")},"save-to-footprint-file":async function(t={}){return OZi(t,"save-to-footprint-file")},documentTemplateManager:async function(t={}){return e3i(t,"documentTemplateManager")},deviceEditManager:async function(t={}){return _Xi(t,"deviceEditManager")},symbolManager:async function(t={}){return yJi(t,"symbolManager")},footprintManager:async function(t={}){return nqi(t,"footprintManager")},d3modelManager:async function(t={}){return vNi(t,"d3modelManager")},pinDelayManager:async function(t={}){return $Co(t,"pinDelayManager")},exportPinDelay:async function(t={}){return sxo(t,"exportPinDelay")},"choose-device":async function(t={}){return A6o(t,"choose-device")},"choose-associate-device":async function(t={}){return oTi(t,"choose-associate-device")},"drawing-selector":async function(t){return t$i(t,"drawing-selector")},"design-rules":async function(t={}){return ueo(t,"design-rules")},"design-rules-sch":async function(t={}){return Reo(t,"design-rules-sch")},"export-design-rules-file":async function(t={}){return Veo(t,"export-design-rules-file")},"import-design-rules-file":async function(t={}){return Jeo(t,"import-design-rules-file")},"upload-image-dialog":async function(t={}){return bto(t,"upload-image-dialog")},"attribute-for-place-pad":async function(t={}){return Tto(t,"attribute-for-place-pad")},"attribute-for-place-ind-via":async function(t={}){return Wto(t,"attribute-for-place-ind-via")},"attribute-for-place-sut-via":async function(t={}){return Xto(t,"attribute-for-place-sut-via")},"attribute-auto-place-sut-via":async function(t={}){return oio(t,"attribute-auto-place-sut-via")},"tear-drap":async function(t={}){return yio(t,"tear-drap")},"insert-image-file":async function(t={}){return _io(t,"insert-image-file")},"display-overlap-primitive":async function(t={}){return Hio(t,"display-overlap-primitive")},"hover-canvas-primitive":async function(t={}){return Qio(t,"hover-canvas-primitive")},"copper-manager":async function(t={}){return uoo(t,"copper-manager")},systemSettingManager:async function(t={}){return JUi(t,"systemSettingManager")},projectSettingManager:async function(t=Object()){return hve(t)},"export-pick-place-file":async function(t={}){return xoo(t,"export-pick-place-file")},"pcb-information":async function(t={}){return Loo(t,"pcb-information")},"absolute-offset":async function(t={}){return koo(t,"absolute-offset")},"relative-offset":async function(t={}){return Boo(t,"relative-offset")},"set-part-elements":async function(t={}){return Goo(t,"set-part-elements")},"distribute-spacing":async function(t={}){return Qoo(t,"distribute-spacing")},"create-array":async function(t={}){return Xoo(t,"create-array")},"sch-create-array":async function(t={}){if(await tOt())return oro(t,"sch-create-array")},distribute:async function(t={}){return lro(t,"distribute")},"find-objects":async function(t={}){return Cro(t,"find-objects")},layerManager:async function(t={}){return Kno(Zno(t),"layerManager")},"electrical-rule":async function(t={}){return pao(t,"electrical-rule")},"pcb-check-DRC-custom":async function(t={}){return Mao(t,"pcb-check-DRC-custom")},"pcb-batch-fanout":async function(t={}){return jao(t,"pcb-batch-fanout")},"new-group":async function(t={}){return Uao(t,"new-group")},"join-group":async function(t={}){return Gao(t,"join-group")},"create-differentail-pair":async function(t){return A$i(t,"create-differentail-pair")},"auto-create-differentail-pair":async function(t={}){return Xao(t,"auto-create-differentail-pair")},"edit-smart-dimension":async function(t={}){return iso(t,"edit-smart-dimension")},"generate-3d-shell-outline":async function(t={}){return nso(t,"generate-3d-shell-outline")},"prompt-3d-window":async function(t={}){return fso(t,"prompt-3d-window")},"table-setting":async function(t={}){return h9i(t,"table-setting")},file_encrypted:async function(t={}){return dso(t,"file_encrypted")},"grid-range-setting":async function(t={}){return xso(t,"grid-range-setting")},"equal-length-tuning":async function(t={}){return vso(t,"equal-length-tuning")},"edit-netClass":async function(t={}){return kso(t,"edit-netClass")},"join-net-group":async function(t={}){return Qao(t,"join-net-group")},"action-for-locked-objects":async function(t={}){return _so(t,"action-for-locked-objects")},"confirm-pad-move-option":async function(t={}){return zso(t,"confirm-pad-move-option")},panelize:async function(t={}){return Wso(t,"panelize")},"remove-unused-pad":async function(t={}){return qso(t,"remove-unused-pad")},"pad-coordinate-file":async function(t={}){return rlo(t,"pad-coordinate-file")},"new-library":async function(t={}){return FZi(t,"new-library")},"netlabel-tab":async function(t={}){return MIe(t)},"sch-move-tab":async function(t={}){return nve(t)},"pcb-move-tab":async function(t={}){return mUt(t)},"netport-tab":async function(t={}){return()=>{}},"netflag-tab":async function(t={}){return()=>{}},"netline-drawing-prop-conf":async function(t={}){return()=>{}},"client-setting":async function(t={}){return ylo(t,"client-setting")},"netlabel-name-merge":async function(t={}){return()=>{}},"edit-pads-group":async function(t={}){return Mlo(t,"edit-pads-group")},"delete-element":async function(t={}){return Alo(t,"delete-element")},"route-via-violate-drc":async function(t={}){return Plo(t,"route-via-violate-drc")},"route-prohibit-violate-drc":async function(t={}){return LCo(t,"route-prohibit-violate-drc")},"hotkey-setting":async function(t={}){return Ulo(t,"hotkey-setting")},"ocr-wizard":async function(t){return wPt(t,"ocr-wizard")},"fan-out-netlabel-or-noConnect":async function(t={}){return yIe(t)},"reuse-template-dialog":async function(t){return DPt(t,"reuse-template-dialog")},"prepass-bom-standard-check":async function(t){return lco("prepass-bom-standard-check",t)},"export-bom":async function(t){return bco(t,"export-bom")},"batch-rename":async function(t){return Tco("batch-rename",t)},"dlg-find":async function(t){return Gco(t,"dlg-find")},"find-similar":async function(t){return hdo(t,"find-similar")},"place-symbol-tab":async function(t){return Cdo(t,"place-symbol-tab")},"sch-new-combination":async function(t){return xdo(t,"sch-new-combination")},"replace-device":async function(t){return await Wdo(t,"replace-device")},"export-test-point-report":async function(t){return Jdo(t,"export-test-point-report")},"set-origin":async function(t){return euo(t,"set-origin")},"drawing-attr-text-new":function(t){return nuo("drawing-attr-text-new",t)},"export-3d-shell-file":function(t){return cOt({},"export-3d-shell-file")},"confirm-close":function(){return pOt("confirm-close",{})},"sch-set-attr-position":function(t){return wuo(t,"sch-set-attr-position")},"export-3d-file":function(t){return SOt("export-3d-file",t)},"new-3d-model":function(t){return Ko||Tn?lVt(t,"new-3d-model"):kOt(t,"new-3d-model")},"export-netlist":async function(t){return I0o(t,"export-netlist")},"verify-now":async function(t){return E0o(t,"verify-now")},projectSaveAsLocalDialog:function(t){return _Ot("projectSaveAsLocalDialog",{})},librarySaveAsLocalDialog:function(t){return iVt("librarySaveAsLocalDialog",{})},cbb_save_as_local:function(t){return Juo(t,"cbb_save_as_local")},cbb_save_as_cloud:function(t){return P0o(t,"cbb_save_as_cloud")},noticeCompVUpdatedDlg:function(){return GOt("noticeCompVUpdatedDlg",{})},"renumber-pins":function(t){return ltt(t,"renumber-pins")},extapi_dialog_information_message:async function(t){return $0o("extapi_dialog_information_message",t)},extapi_dialog_confirmation_message:async function(t){return npo("extapi_dialog_confirmation_message",t)},sch_delete:function(t){return ppo(t,"sch_delete")},extapi_standalone_script:async function(t){return $yo("extapi_standalone_script",t)},extapi_extensions_manager_new:async function(t){return Rho("extapi_extensions_manager_new",t)},extapi_extension_change_version:async function(t){return m1o("extapi_extension_change_version",t)},ipc_dac_2552:async function(t){return Rwo(t,"ipc_dac_2552")},"batch-create-device":async function(t){return Zwo("batch-create-device",t)},partitionManager:async function(t={}){return xCo(t,"partitionManager")},exportDxf:function(){return kCo("exportDxf")},reuse_layout_route:function(t={}){return zCo("reuse_layout_route",t)},componentMask:function(t={}){return Mxo(t,"componentMask")},"auto-place-test-pad":async function(t={}){return wxo(t,"auto-place-test-pad")},performanceDiagnostics:async function(t={}){return Nxo(t,"performanceDiagnostics")},new_Simulation:async function(t={}){return Rxo(t,"new_Simulation")},new_SimModel:async function(t={}){return Zxo(t,"new_SimModel")},sim_Model_Manager:async function(t={}){return xXi(t,"sim_Model_Manager")},ng_sim_setting:async function(t={}){return hTo(t,"ng_sim_setting")},sim_electrical_rule:async function(t={}){return q5o(t,"sim_electrical_rule")},spcie_rule_warnning:async function(t={}){return Gxo(t,"spcie_rule_warnning")},run_script:async function(t){return OTo("run_script",t)},autoBoard:function(t={}){return _To(t,"autoBoard")},script_manager:async function(t={}){return XTo("script_manager",t)},video_capture:async function(t={}){return d5o("video_capture",t)},placeMultiPinTab:async function(t){return await O5o("placeMultiPinTab",t)},ngspice_waveform:async function(t={}){return await U5o(t,"ngspice_waveform")},simulation_Oscilloscope:async function(t={}){return await kSo(t,"simulation_Oscilloscope")},Editor_Simulation_Pins:async function(t={}){return await ZMo(t,"Editor_Simulation_Pins")},copyReuseBlocks:async function(t){return BSo(t,"copyReuseBlocks")},libImportManager:async function(t={}){return Xwi(t,"libImportManager")},analysisImportManager:async function(t={}){return Awi(t,"analysisImportManager")},newProjectImportManager:async function(t={}){return ECi(t,"newProjectImportManager")},fileDescrImportManager:async function(t={}){return R3i(t,"fileDescrImportManager")},engine_detecton:async function(t={}){return HSo(t,"engine_detecton")},importDxf:async function(t={}){return UMo(t,"importDxf")},"cutout-to-avoid-dialog":async function(t={}){return ZSo(t,"cutout-to-avoid-dialog")},batchSave:async function(t){return await gGi("batchSave",t)},orderJlcPcbLayoutService:async function(t={}){return await p6o(t,"orderJlcPcbLayoutService")}};async function ii(t,e={}){return await Hqr[t](e)}async function tOt(){let{data:t}=he.getActiveTabData();return ty(t.doctype)&&C.messageBus.publish("sch/gVars.actionRunner.start"),t.doctype===ve.PANEL&&Pt(kt.Panel.PauseDateMerge),!0}async function LA(t="RUNNING_MODE"){try{let e=await Yqr();t&&(e.tag=t),await ii("client-setting",e)}catch(e){console.warn(e)}}var Gqr={systemOnlineType:{value:M9,disabled:!1},libPath:{value:[],disabled:!1},projectPath:{value:[],disabled:!1},onlinePrjBackupPath:{value:"",disabled:!1},autoCheckVersionUpdate:{value:!0,disabled:!0}},Yqr=async()=>{let t=await wd(),e=JSON.parse(JSON.stringify(Gqr));if(t){let{projectPath:i,cbbPath:o,libPath:r,onlinePrjBackupPath:n}=t;e.libPath.value=r,e.projectPath.value=i,e.onlinePrjBackupPath.value=n}return e};var Ave=class{constructor(){this.map=new Map;this._items=new Array;this.addList=new Set;this.delList=new Set}get items(){return this._items}set items(e){this._items=e}add(e,i){return this.map.set(e,i),this.addList.add(e),this.delList.delete(e),i}del(e){this.map.delete(e),this.delList.add(e),this.addList.delete(e)}get(e){return this.map.get(e)}getAll(){let e=new Array(this.map.size),i=this.map.values(),o=0;for(let r of i)e[o]=r,o++;return e}iterator(e){this.map.forEach((i,o)=>{e(i,o)})}clear(){this.items.length=0,this.map.clear(),this.addList.clear(),this.delList.clear()}count(){return this.map.size}};var gle=class gle extends Ave{static getInstance(){return gle.tool==null&&(gle.tool=new gle),gle.tool}constructor(){super()}};gle.tool=null;var Q5=gle;var _nt=class extends uhi{constructor(){super(...arguments);this.hooks={onUniversalChange:AS,onRemoteChange:AS}}onUniversal(i,o,r,n){this.hooks.onUniversalChange(i),(!n||r!==this.consistencyManager.getClient())&&this.hooks.onRemoteChange(i)}dispose(){this.destroy().then(()=>{this.dataBus=null,this.wsBus=null})}};var Wqr={universal:{allowLibRename:void 0,defaultNetName:void 0,wireMultipleNet:void 0,netFlagCrossLayerConnection:void 0,netLabelCrossPageConnection:void 0,busGenerateNetClass:void 0,relevanceDisplayRow:void 0,relevanceBelongSchPage:void 0,relevanceLocation:void 0,multipartCrossLayer:void 0}};function N6o(){var e;let t=(e=C.profileSetting)==null?void 0:e.commSystemSetting;return t||(console.warn("\u6CA1\u6709\u627E\u5230\u7CFB\u7EDF\u8BBE\u7F6E\u6570\u636E\uFF0C\u8BF7\u68C0\u67E5!"),hn())}function k6o(t,e){return{universal:{get allowLibRename(){var o,r;let{universal:i}=t.pureData;return Kr(i.allowLibRename)?((r=(o=e.SYSTEM)==null?void 0:o.allowRename)==null?void 0:r.value)==="true":i.allowLibRename},get defaultNetName(){var o,r;let{universal:i}=t.pureData;return Kr(i.defaultNetName)?((r=(o=e.CANVAS)==null?void 0:o.defaultNetname)==null?void 0:r.value)==="true":i.defaultNetName},get wireMultipleNet(){var o,r;let{universal:i}=t.pureData;return Kr(i.wireMultipleNet)?((r=(o=e.CANVAS)==null?void 0:o.wireMultipleNet)==null?void 0:r.value)==="true":i.wireMultipleNet},get netFlagCrossLayerConnection(){var o,r;let{universal:i}=t.pureData;return Kr(i.netFlagCrossLayerConnection)?String((r=(o=e.CANVAS)==null?void 0:o.netFlagCrossLayerConnection)==null?void 0:r.value)==="true":i.netFlagCrossLayerConnection},get netLabelCrossPageConnection(){var o,r;let{universal:i}=t.pureData;return Kr(i.netLabelCrossPageConnection)?String((r=(o=e.CANVAS)==null?void 0:o.netLabelCrossPageConnection)==null?void 0:r.value)==="true":i.netLabelCrossPageConnection},get busGenerateNetClass(){var o,r;let{universal:i}=t.pureData;return Kr(i.busGenerateNetClass)?String((r=(o=e.CANVAS)==null?void 0:o.busGenerateNetClass)==null?void 0:r.value)==="true":i.busGenerateNetClass},get relevanceDisplayRow(){var o,r;let{universal:i}=t.pureData;return Kr(i.relevanceDisplayRow)?(r=(o=e.CANVAS)==null?void 0:o.relevanceDisplayRow)==null?void 0:r.value:i.relevanceDisplayRow},get relevanceBelongSchPage(){var o,r;let{universal:i}=t.pureData;return Kr(i.relevanceBelongSchPage)?(r=(o=e.CANVAS)==null?void 0:o.relevanceBelongSchPage)==null?void 0:r.value:i.relevanceBelongSchPage},get relevanceLocation(){var o,r;let{universal:i}=t.pureData;return Kr(i.relevanceLocation)?(r=(o=e.CANVAS)==null?void 0:o.relevanceLocation)==null?void 0:r.value:i.relevanceLocation},get multipartCrossLayer(){let{universal:i}=t.pureData;return Kr(i.multipartCrossLayer)?C.profileSetting.commSystemSetting.CANVAS.multipartCrossLayer.value:i.multipartCrossLayer}}}}function P6o(t,e){for(let i in e)Xs(t,i)?ue.isPlainObject(t[i])&&P6o(t[i],e[i]):t[i]=ue.deepClone(e[i]);return t}var ble=class{constructor(e){this.projectUuid=e;this._pureData=Object();this.data=k6o(this,N6o());this.consistencyManager=new _nt(e,new Uoe(!1)),this.consistencyManager.hooks.onUniversalChange=i=>{this.pureData.universal=i||Object()},this.consistencyManager.hooks.onRemoteChange=()=>{C.messageBus.publish("projectSetting/onChange",{projectUuid:e})}}get pureData(){return this._pureData}async init(){let{success:e,message:i}=await this.consistencyManager.init();return P6o(this._pureData,Wqr),this}upload(e){let i=e.universal||this._pureData.universal||Object();this.consistencyManager.uploadUniversal(i)}async save(...e){this.upload(...e);let{success:i,message:o}=await this.consistencyManager.save();return{success:i,message:i?"Save preferences successfully!":"Save preferences failed!"}}existUnsetConfig(){return Object.values(this.pureData).some(e=>Object.values(e).some(Kr))}dispose(){this.consistencyManager.dispose(),this.consistencyManager=null}};async function O6o(t){let e=new ble(t);try{await e.init();let i=ue.deepClone(k6o(e,N6o()));await e.save(i)}finally{e.dispose(),e=null}}var Nve=class{constructor(e,i,o={}){this.uuid=e;this.cPath=i;this._time=null;this.isOpening=!1;this._isClosing=!1;this.closeTimer=null;this.lastId=o.lastId||C.currentProject.projectId||null,this.options={needProgress:!0,...o};let r={needProgress:this.options.needProgress,progressTip:"Open project...",cur:0,total:12};this.progress=new Xht(r)}get time(){return this._time}set time(e){this._time=e}get isClosing(){return this._isClosing}set isClosing(e){this._isClosing=e,e?(this.closeTimer&&clearTimeout(this.closeTimer),this.closeTimer=setTimeout(()=>{this._isClosing=!1,this.closeTimer=null},6e4)):(this.closeTimer&&clearTimeout(this.closeTimer),this.closeTimer=null)}get data(){return this._data}set data(e){this._data=e}messager(){Ut({title:"Notice",type:"confirm",textOK:"Change Mode",textCancel:"Cancel",message:`The desktop client full online mode doesn't support to open "eprj" and "eprj2" project file, please open it at half-offline mode or full offline mode.`,onConfirm:()=>{LA()}})}async check(){try{if(!this.uuid)throw new Error(`invalid project uuid: ${this.uuid}`);return!br()&&!await kve(this.uuid)?(N0&&this.messager(),console.log("[OPEN PROJECT] Unlogged status"),{success:!1,code:uU.NOT_LOGGED_IN,message:jht(uU.NOT_LOGGED_IN)}):(console.log("[OPEN PROJECT] Wait for the worker to be ready"),await C.messageBus.rpcCall("waitWorkerReady",void 0),{success:!0})}catch(e){return{success:!1,message:e}}}async closeLast(){try{let i=Q5.getInstance().get(this.lastId);if(this.lastId&&i){let o={uuid:this.uuid,options:{choose:"continueopenproject",...this.options}};console.log("[OPEN PROJECT]  Start closing the previous project. Project uuid:"+this.lastId);let r=await i.close(o);return r.success===!0?(this.lastId=null,{success:!0,...r}):(console.log("[OPEN PROJECT] Failed to close the previous project!"+r.message),{success:!1,...r})}return{success:!0}}catch(e){return{success:!1,message:e}}}async connect(){if(Je&&this.cPath){let e=await L6(this.cPath);if(e.success===!1)return{success:!1,message:e.message};this.uuid=e.result.uuid}return{success:!0}}async preAdjust(){this.time=performance.now(),C.messageBus.publish(s0.ADD_HASH,this.uuid),C.worker.publish("lockProject",this.uuid)}async open(){var e,i;try{if(console.time("\u6253\u5F00\u5DE5\u7A0B\u7684\u524D\u7F6E"),console.log("[OPEN PROJECT] Start open project"),Q5.getInstance().get(this.uuid))return console.log("[OPEN PROJECT] The designated project has been opened"),C.messageBus.publish(s0.OPENED_PROJECT,this.uuid),{success:!0};this.isOpening=!0,this.progress.update(),console.log("[OPEN PROJECT] Start connect");let r=await this.connect();if(r.success===!1)return console.log("[OPEN PROJECT] End connect",r.message),this.onFailed(),{success:!1,...r};console.log("[OPEN PROJECT] Start check");let n=await this.check();if(!n.success)return console.log("[OPEN PROJECT] End check",n),this.onFailed(),{success:!1,...n};this.progress.update(),console.log("[OPEN PROJECT] Start closeLast");let a=await this.closeLast();if(a.success===!1)return console.log("[OPEN PROJECT] End closeLast",a.message),this.onFailed(),{success:!1,...a};console.log("[OPEN PROJECT] Preprocessing"),await this.preAdjust(),console.timeEnd("\u6253\u5F00\u5DE5\u7A0B\u7684\u524D\u7F6E"),console.time("\u6253\u5F00\u5DE5\u7A0B MGR"),this.progress.update(),console.log("[OPEN PROJECT] Start open the project in MGR");let s={uuid:this.uuid,cPath:this.cPath,options:this.options},{message:l}=await C.messageBus.rpcCall(Xy.OPEN,s,30*6e4);return console.log("[OPEN PROJECT] End open the project in MGR",l.message),console.timeEnd("\u6253\u5F00\u5DE5\u7A0B MGR"),console.log("[OPEN PROJECT] setRenderTicket"),C.license!==((e=l==null?void 0:l.result)==null?void 0:e.license)&&(C.license=(i=l==null?void 0:l.result)==null?void 0:i.license,t4.setRenderTicket()),l.success?(console.log("[OPEN PROJECT] onSuccess"),await this.onSuccess(l.result),console.log("[OPEN PROJECT] The project has been successfully opened"),{success:!0,result:l.result}):(console.log("[OPEN PROJECT] onFailed",l.message),this.onFailed(),console.log("[OPEN PROJECT] Failed to open the project",l.message),{success:!1,...l})}catch(o){return this.onFailed(),{success:!1,message:o}}}async onSuccess(e){var c,d,u,p;this.data=e,Q5.getInstance().add(this.uuid,this);let{title:o,cbb_project:r}=e,n=(c=e.boss)==null?void 0:c.nickname;n||(n=((d=e.members.find(m=>m.role===1))==null?void 0:d.nickname)||"");let s=(p=(u=(await C.messageBus.rpcCall(Ei.BRANCH.LIST,{uuid:this.uuid,getStartNode:!0,isNotPage:"yes"})).message.result)==null?void 0:u.lists)==null?void 0:p.length,l={projectId:this.uuid,branchUuid:e.currentBranch,branchNum:s,title:o,isCBB:r,owner:e.owner.uuid,isPublic:e.public,ownerData:e.owner,isPublish:e.publish,settings:await new ble(this.uuid).init(),projectManagerName:n};C.currentProject=l,C.license!==e.license&&(C.license=e.license,t4.setRenderTicket()),C.isHistoryMode=!1,C.messageBus.publish("updateHistoryMode",!1),this.progress.update(!0),this.isOpening=!1,C.messageBus.publish(s0.ON_OPENED,{uuid:this.uuid,cPath:this.cPath,options:this.options,info:l,data:e})}onFailed(){var e,i;this.progress.update(!0),this.uuid===C.currentProject.projectId&&((i=(e=C.currentProject.settings)==null?void 0:e.dispose)==null||i.call(e),C.currentProject={},C.messageBus.publish(s0.REMOVE_HASH,this.uuid)),this.isOpening=!1,C.messageBus.publish(s0.ON_FAILED,this.uuid)}async close(e={},i,o){var s,l;console.log("[OPEN PROJECT] Start close project",this.uuid),this.isClosing=!0,console.log("[OPEN PROJECT] Check doc");let r=await this.checkDoc(e,i);if(!r.success)return this.isClosing=!1,{success:!1,...r};console.log("[OPEN PROJECT] Start close the project in MGR");let{message:n}=await C.messageBus.rpcCall(Xy.CLOSE,[this.uuid]);if(console.log("[OPEN PROJECT] End close the project in MGR"),!n.success)return this.isClosing=!1,{success:!1,...n};console.log("[OPEN PROJECT] Notify the network close project");let a=await this.notifyNet();return a.success?(console.log("[OPEN PROJECT] Next adjust"),await this.nextAdjust(),console.log("[OPEN PROJECT] Destory last project"),this.destory(),this.uuid===C.currentProject.projectId&&((l=(s=C.currentProject.settings)==null?void 0:s.dispose)==null||l.call(s),C.currentProject={}),C.messageBus.publish(s0.ON_CLOSED,[this.uuid,{toHome:o}]),console.log("[OPEN PROJECT] End close project",this.uuid),{success:!0}):(this.isClosing=!1,{success:!1,...a})}async nextAdjust(){C.messageBus.publish(s0.REMOVE_HASH,this.uuid),C.worker.publish("unlockProject",this.uuid),this.data=null,this.time=null,this.isClosing=!1}async checkDoc(e={},i){let{unsaveFileTabId:o,savedFileTabId:r}=ap(i,{projectId:e.uuid});if(o.length)return console.log("[OPEN PROJECT] There are unsaved pages!"),C.messageBus.publish(s0.HAS_UNSAVED,{current:{uuid:this.uuid,options:this.options},target:e}),{success:!1,code:uU.HAS_UNSAVED,message:jht(uU.HAS_UNSAVED)};let n=r.findIndex(a=>he.getActiveTab()===a);return n!==-1&&r.push(r.splice(n,1)[0]),console.log("[OPEN PROJECT] Close the saved page!"),await Ro(r,async(a,s)=>{jnt(s,e.uuid)||await he.closeTopTab(s)}),{success:!0}}async notifyNet(){return Je?(await C.messageBus.rpcCall(Ei.CLIENT.CLOSE_PROJECT,{uuid:this.uuid})).message:{success:!0}}destory(){let e=Q5.getInstance();e.get(this.uuid)&&e.del(this.uuid)}};var Qqr=[uU.HAS_UNSAVED,uU.IS_OPENING];async function Os(t){let{uuid:e,cPath:i,options:o,onhook:r}=t,n=await Kqr(i,r);if(n.success===!1)return{success:!1,message:n.message};n.result&&(i=n.result,e="");let a=Q5.getInstance();if(a.isOpening)return De({type:"warn",msg:"project is opening!",timer:3}),{success:!1,message:"project is opening!"};let s=a.get(e);s||(s=new Nve(e,i,o)),a.isOpening=!0;let l=await s.open();if(a.isOpening=!1,l.success===!1&&Qqr.indexOf(l.code)<0){let c;l.code===Pm.PARAMS_DATA_NOT_FOUND?c=[me.i18n("Project does not exist")]:c=(Array.isArray(l.message)?l.message:[l.message]).map(p=>me.i18n(p));let d=me.i18n("Failed to open project, {msg}",{msg:c});De({type:"error",msg:d,timer:3}),Ot("error",d)}return l}async function Kqr(t,e={}){return new Promise(async i=>{if(Je&&t&&t.endsWith(Ns.eprj))return e.onbefore&&e.onbefore(),Ut({type:"confirm",title:"Notice",isHtml:!0,closable:!0,btnAntiShake:!0,message:"The current project is a version below V3.Once opened, it will no longer be supported by clients V2.2 or lower. If you need to re-import the project into a V2.2 client after upgrading the project to V3, please save it as epro format and then import it. Are you sure you want to open this project?",onConfirm:async()=>{e.onconfirm&&e.onconfirm();let o=t.replace(Ns.eprj,Ns.eprj_backup),r=t.replace(Ns.eprj,Ns.eprj2),{message:n}=await C.messageBus.rpcCall(Ei.CLIENT.COPY_PROJECT,{path:t,toPaths:[o,r]});if(n.success===!1)return i({success:!1,message:n.message});let a,s,l=n.result;for(let d in l){let u=l[d];u.path===t&&(a=d),u.path.endsWith(Ns.eprj2)&&(s=u.path)}let{message:c}=await C.messageBus.rpcCall(Ei.CLIENT.CLOSE_PROJECT,{uuid:a,delete:!0});if(c.success===!1)return i({success:!1,message:c.message});i({success:!0,result:s})},onCancel:()=>{e.oncancel&&e.oncancel(),i({success:!1})},onClose:()=>{e.onclose&&e.onclose(),i({success:!1})}});i({success:!0})})}async function Xg(t,e={},i,o=!0){let n=Q5.getInstance().get(t);if(!n)throw new Error("Close an illegal project!");return Pr.clear(),await n.close(e,i,o)}function mJ(t=C.currentProject.projectId){return!!Q5.getInstance().get(t)}function Bnt(t=C.currentProject.projectId){return Q5.getInstance().get(t)}function R6o(){return Q5.getInstance().count()}async function U6o(){if(location.search.includes("cardCmd=new_project")){et("new_project");let o=new URL(location.href);o.search="",history.replaceState(null,"",o);return}C.urlCmd=Jqr("cmd");let t=cn.getBatchExportIds("batchExport");(!t||t.length<=0)&&(t=cn.getBatchExportIds("export"));let e=cn.getBatchExportIds("export-close");qqr("cmd"),V6o();let i;try{let o=cn.extractFileId(),r=[],n=[],a=cn.getImportPrj("importprj"),s=a==null?void 0:a[1];i=cn.extractProjectId()||s;let l;if(C.smt=cn.extractSmt(),C.wel=cn.extractWel(),Je&&!i){let c=location.hash.match(/\#prjPath=(.+\.(eprj2|eprj))/);try{l=c?decodeURIComponent(c[1]):""}catch(d){console.warn(d)}}if(o.forEach(c=>{let d=!1;if(c.includes("*")&&(d=!0),c.includes("!")&&r.push(c),n.push(c),d){let{uuid:u,path:p}=cn.parseURLTabId(c)||{},m=lo(u,p);sessionStorage.setItem("activeTab",m)}}),C.sessionStorageTabs=new Set(n),i)if(i.includes("+"))C.messageBus.publish("openArchiveProject",i.slice(1));else{let c=await _6o({uuid:i});i=c==null?void 0:c.uuid,i&&await kve(i)&&!br()&&De({type:"info",msg:"You didn't logged\xA0yet, you can't do the operations such as save as etc. , please login first",timer:2.5})}else if(l){let c=await _6o({cPath:l});i=c==null?void 0:c.uuid,i&&await kve(i)&&!br()&&De({type:"info",msg:"You didn't logged\xA0yet, you can't do the operations such as save as etc. , please login first",timer:2.5})}else he.isOpenProjectDoc=!0,C.urlCmd=null;if(!i&&(t!=null&&t.length)){let c=cn.getExtractHistory("extractHistory");await new h0e(t,c).todo(),cn.removeBatchExport("batchExport"),cn.removeBatchExport("export"),cn.removeExtractHistory("extractHistory")}else!i&&(e!=null&&e.length)&&(await new h0e(e).todo(!0),cn.removeBatchExport("export-close"));if(s&&i){await wC("proeda","URL");let c=Oa.getInstance();c.urlFrom="oshwhub",cn.removeImportPrj("importprj")}else if(a){await wC("proeda","URL");let c=Oa.getInstance();c.urlFrom="oshwhub",cn.removeImportPrj("importprj")}r&&r.length?(await Xqr(r),he.isOpenOtherDoc=!0,he.restoreLayout()):he.isOpenOtherDoc=!0}catch(o){console.warn(o)}finally{return Ove(),i}}function _6o(t){return new Promise(async e=>{let{uuid:i,cPath:o}=t,r={};if(i||o){let n=cn.getHash("version");if(n){r.branchUuid=n;let a=await Rl.getVersion(n,i);a&&Pr.switchVersion(a)}}if(i){let n=(await Os({uuid:i,options:r})).result;e(n)}else if(o){let a=(await Os({cPath:o,options:r,onhook:{onbefore:()=>{Ove()},confirm:()=>{V6o()}}})).result;e(a)}Zqr(),e(null)})}function Zqr(){C.cmdFromUserCenter&&(C.cmdFromUserCenter.saveAsLocal?(et("projectSaveAsLocal"),C.cmdFromUserCenter.saveAsLocal=!1):C.cmdFromUserCenter.saveAsCloud&&(et("projectSaveAsCloud"),C.cmdFromUserCenter.saveAsCloud=!1))}function Jqr(t){var e=new URLSearchParams(window.location.search);return e.get(t)}var qqr=t=>{if(!(!t||typeof window>"u"))try{let e=new URL(location.href);if(!["http:","https:"].includes(e.protocol)){console.warn(`removeURLParam: \u8DF3\u8FC7\u975EHTTP\u534F\u8BAE (${e.protocol})`);return}e.searchParams.delete(t);let i=e.toString();history.replaceState(null,"",i)}catch(e){console.error("removeURLParam \u64CD\u4F5C\u5931\u8D25:",e)}};function V6o(){(0,Pve.default)(".modal").css("display","block")}function Ove(){(0,Pve.default)(".modal").css("display","none")}async function Xqr(t){if(!(!Array.isArray(t)||!t.length))for(let e=0,i=t.length;e<i;e++){t[e].match(/^(_|__)/)&&(cn.removeFileId(t[e]),t[e]=t[e].replace(/^(_|__)/,"!"));let o=cn.parseURLTabId(t[e]),{uuid:r,path:n,deviceUuid:a}=o;if(r.includes("_"))continue;let s=o.isActive&&!he.initContainerTree;await yn({uuid:r,path:n,lazy:!s,deviceUuid:a,checkOpenMultiTab:!1})}}function nje(t,e,i){if(!window.FileReader)return function(){Ut({type:"warn",message:"Your browser cannot run this function."})};var o={multiple:!1,accept:t,fileFilter:function(n){return e.test(n.name)},onValidate:function(n){n||(t==".svg"?Ut({type:"warn",message:"Please select a SVG file."}):t.includes("image/")?Ut({type:"warn",message:"Please select an image file."}):Ut({type:"warn",message:"Bad file type"}))},onSelectFiles:i},r=nu.instance((0,Pve.default)("<br>")).config(o);r.openSelect()}var DC=class{constructor(e,i,o=(n,a)=>console.error(n),r=!1){let n=e.split(",");n=n.map(s=>s.trim().replace(".",""));let a={multiple:r,accept:e,fileFilter:function(s){return!e||e.indexOf(".")<0?!0:new RegExp(`\\.(${n.join("|")})$`,"i").test(s.name)},onValidate:function(s){if(!s){let l="",c="",d=e.split(",");d=d.map(p=>p.replace(".","")),d.length>1?(c=d.slice(0,-1).join(", "),l=d[d.length-1].trim()):l+=e;let u=d.length>1?"Please select {fileExts} or {fileExt} files.":"Please select {fileExt} file.";o&&o(u,{fileExt:l,fileExts:c})}return s},onSelectFiles:i};this.fs=nu.instance((0,Pve.default)("<br>")).config(a),this.run()}run(){this.fs.openSelect()}};function znt(t){let e=Math.min(t.length,2048),i=[0,1,2,3,4,5,6,7,8,11,12,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31],o=5,r=0;for(let n=0;n<e;n++){let a=t[n];if(i.includes(a)&&(r++,r>=o))return!0}return r>=5||t.length<512&&r>0}function Rve(t){return t?t.replace(/\.\w+$/,"")||t:""}function H6o(t,e=!1){if(!t)return"";let i=t.match(/\.([^.]+)$/);return i?(e?".":"")+i[1]:""}async function j6o(t,e){return new Promise((o,r)=>{let n=new FileReader,a=t instanceof File?t.name:"",s=Rve(a),l=t.size>=536870912;n.onload=function(c){let d=c.target.result;if(typeof d!="string"){let u=cVt.Buffer.from(d);if(l||znt(u))return o({name:a,title:s,content:u,decoding:""});e=e||"GB2312";try{n.readAsText(t,e)}catch{e!="utf8"&&(e="utf8"),n.readAsText(t,e)}return}return o({name:a,title:s,content:d,decoding:e})},n.onerror=function(){r(`Failed to read file ${ue.htmlEncode(a)}`)},n.readAsArrayBuffer(t)})}async function xH(t,e,i){if(t.size>=536870912)return{fileRes:await j6o(t),error:null};(!e||e.length==0)&&(e=["utf8"]);let n=await $qr(t);if(n){let c=t instanceof File?t.name:"",d=Rve(c);return{fileRes:{name:c,title:d,content:n.fileSource,decoding:n.decoding},error:null}}let a=null,s=null,l=1/0;return await Ro(e,async(c,d)=>{if(l==0)return;let u=await j6o(t,d).catch(m=>{s=m});if(!u)return;if(typeof u.content!="string"){l=0,a=u;return}if(i&&i(u.content)){l=0,a=u;return}let p=u.content.match(/\ufffd/g);p?p.length<l&&(a=u,l=p.length):(l=0,a=u)}),{fileRes:a,error:s}}function G6o(t,e,i,o){return new Promise(r=>{let n={decodeFileName:function(a){return new TextDecoder("gbk").decode(a)},createFolders:!0};Y6o(t,e,t.name,i,n,void 0,o).then(a=>{let s={},l=[];for(let c of a){for(let d in c.files)s[`${c.title}/${d}`]=c.files[d];c.errors.forEach(d=>{l.push(`${c.title}/${d}`)})}r({files:s,errors:l})})})}function B6o(t,e){if(!t||!e||!e.length)return!1;for(let i of e)if(t.endsWith(i))return!0;return!1}async function Y6o(t,e,i,o,r,n,a){let s=[],l=await new z6o.default().loadAsync(t,r),c=[],d=e?e.split(",").map(f=>f.trim()):null;for(let f in l.files)(!d||B6o(f,d))&&c.push(f);let u=c.length;if(n&&n(u+1,!1),u===0)return n&&n(1,!0),s;let p=0,m={files:{},errors:[],name:i,title:Rve(i)};s.push(m);for(let f of c){n&&n();let g=l.file(f);if(!g){++p;continue}let b=await g.async("arraybuffer");if(B6o(f,[".zip"])){let x=await Y6o(b,e,f,o,r);s.push(...x);continue}let y=cVt.Buffer.from(b);if(znt(y)){if(m.files[f]={fileSource:y,decoding:"",byteSize:y.byteLength},++p>=u)return n&&n(),s}else{let x=await g.async("blob");if(x instanceof Blob){let S=Array.isArray(o)?o:o?[o]:["utf8"],{fileRes:T,error:M}=await xH(x,S,a);if(T){if(m.files[f]={fileSource:T.content,decoding:T.decoding,byteSize:x.size},++p>=u)return n&&n(),s}else h(u,p,f)}else h(u,p,f)}}function h(f,g,b){if(m.errors.push(b),g>=f)return n&&n(),s}return n&&n(),s}async function $qr(t){let e=await t.arrayBuffer(),i=new Uint8Array(e,0,Math.min(e.byteLength,64*1024));try{let o=F6o.default.analyse(i);if(!o)return null;let r=o.sort((s,l)=>{if(s.confidence!==l.confidence)return l.confidence-s.confidence;let c=s.name==="UTF-8",d=s.name==="UTF-8";return c?-1:d?1:s.lang==="zh"?-1:0})[0];if(r&&!(r.confidence>=90))return null;let n=r.name;return{fileSource:eXr(n,e),decoding:n}}catch(o){console.warn(o)}return null}function eXr(t,e){let i=new TextDecoder(t),o=1024*1024,r=[],n=e.byteLength;for(let a=0;a<n;a+=o){let s=Math.min(a+o,n),l=new Uint8Array(e,a,s-a);r.push(i.decode(l,{stream:!0}))}return r.push(i.decode()),r.join("")}var Fnt=class{constructor(e,i){this.separator="/";e=e.replace(/(^\/)|(\/$)/g,"").replace(/\\/g,this.separator),i&&(e&&i.push(e),e=i.join(this.separator));let o=e.split(this.separator);this.path=o[o.length-1]||"",this.dirs=o.slice(0,o.length-1)}get fullDir(){return[...this.dirs].join(this.separator)}get fullPath(){return[...this.dirs,this.path].join(this.separator)}get suffix(){let e=this.path.split(".");return e.length>1?e[e.length-1]:""}};function Q6o(){var n,a,s;let t=10,e=(s=(a=(n=C.profileSetting)==null?void 0:n.commSystemSetting)==null?void 0:a.OBJECT)==null?void 0:s.theme,i={color:"#000000",strokeWidth:1,strokeStyle:"solid",fontFamily:"Arial",fontSize:8,fontStyleBold:!1,fontStyleItalic:!1,fontStyleUnderline:!1,fontStyleStrikeout:!1,fillColor:null,fillStyle:"solid",tableTextColor:"#000000",tableTextLineSpacing:1.2,tableTextHAlignment:0,tableTextVAlignment:0},o={};if(e){let l=e.activeTheme,c=e[l];if(c){let{color:d,strokeWidth:u,strokeStyle:p,fontFamily:m,fontSize:h,fontStyleBold:f,fontStyleItalic:g,fontStyleUnderline:b,fontStyleStrikeout:y,fillColor:w,fillStyle:x,tableTextColor:S,tableTextLineSpacing:T,tableTextHAlignment:M,tableTextVAlignment:I}=i,{color:A,fillColor:D,fontStyle:E,shape:N}=c;Pp(A,(R,v)=>{if(R=W6o(R),R==d)return;let k=Unt(v);if(!k)return;let P=o[k];P||(P=o[k]={}),P.color=R}),Pp(D,(R,v)=>{if(R=W6o(R),R==w)return;let k=Unt(v);if(!k)return;let P=o[k];P||(P=o[k]={}),P.fillColor=R}),Pp(E,(R,v)=>{let k=Unt(v);if(!k)return;let P=o[k];P||(P=o[k]={});let{fontFamily:O,fontSize:_,fontItalic:j,fontWeight:B,fontUnderline:V,fontLineThrough:G,fontColor:Q,lineHeight:H,textAlign:q,verticalAlign:U}=R;O&&O!=m&&(P.fontFamily=O);let F=+_;F&&F!=h&&(P.fontSize=F);let K=j=="1";K!=g&&(P.fontStyleItalic=K);let te=B=="1";te!=f&&(P.fontStyleBold=te);let ae=V=="1";ae!=b&&(P.fontStyleUnderline=ae);let pe=G=="1";pe!=y&&(P.fontStyleStrikeout=pe),Q&&Q!=S&&(P.tableTextColor=Q),H&&H!=T&&(P.tableTextLineSpacing=H);let Z=oXr(q);Z&&Z!=M&&(P.tableTextHAlignment=Z);let ee=rXr(U);ee&&ee!=I&&(P.tableTextVAlignment=ee)}),Pp(N,(R,v)=>{let k=Unt(v);if(!k)return;let P=o[k];P||(P=o[k]={});let{width:O,dash:_,fillStyle:j}=R,B=parseFloat(O);B&&B!=u&&(P.strokeWidth=B);let V=tXr(_);V&&V!=p&&(P.strokeStyle=V);let G=iXr(j);G&&G!=x&&(P.fillStyle=G)})}}return{dataUnit:t,defaultTheme:i,themeMap:o}}function Unt(t){switch(t){case"background":return"background";case"rulerBackgroundColor":case"rulerStringColor":return null;case"canvas":return"canvas";case"grid":return"grid";case"select":return"selection";case"highlight":return"hover";case"unusualHint":return"unusualHint";case"updateTips":return"tip";case"notAddIntoBomOrNotConvertToPcb":return"notAddBom";case"bus":return"bus";case"wire":return"wire";case"arc":return"arc";case"rect":return"rect";case"circle":return"circle";case"ellipse":return"ellipse";case"bezier":return"bezier";case"line":case"line":return"line";case"polygon":return null;case"pin":return"pin";case"name":return null;case"property":return"symbolProperty";case"text":return"text";case"table":return"table";case"maskRegion":return"maskRegion";case"annotation":return"annotation";case"symbol":return"symbol";case"reuseBlockSymbol":return"reuseBlock";case"netName":return"netFlag";case"symbolProperty":return"symbolProperty";case"blockSymbolProperty":return"reuseBlockProperty";case"netProperty":return"netProperty";case"pinProperty":return"pinProperty";case"pinName":return"pinName";case"symbolName":return"symbolName";case"blockSymbolName":return"reuseBlockName";case"junction":return"junction";case"noConnectPoint":return"unconnectedPoint";case"noConnectFlag":return"unconnectedFlag";case"diffPairsFlag":return"differentialPairsFlag";default:return null}}function W6o(t){return!t||t=="none"?null:t}function tXr(t){switch(t){case"0":return"solid";case"6,6":return"dashed";case"3,10":return"dotted";case"4,2,1,2":return"dashed-dotted";default:return null}}function iXr(t){switch(t){case"0":return"none";case"1":return"solid";case"2":return"grid";case"3":return"horizontal-line";case"4":return"vertical-line";case"5":return"diamond-grid";case"6":return"left-slash";case"7":return"right-slash";default:return null}}function oXr(t){switch(t){case"left":return 0;case"center":return 1;case"right":return 2;default:return null}}function rXr(t){switch(t){case"top":return 0;case"middle":return 1;case"bottom":return 2;default:return null}}var dVt=L(txe());async function xj(t){if(!t)return null;let e=t.fileType,i={fileType:e,fileExtensions:F3i(e)};t=Object.assign({},i,t);let{fileExtensions:o,multiple:r,invalidCall:n}=t;return o?new Promise(a=>{new DC(o,async s=>{a(s)},n,r)}):(console.error("Please specify the file type"),null)}async function yA(t,e){if(!t)return null;let i=e.decodingType,o=U3i(i),r={decodingType:i,ignoreFilePathInZip:i!=="kicad",maxFileSize:V3i,encoding:o==null?void 0:o.encoding,encodingDetectionCall:o==null?void 0:o.encodingMatchCall};e=Object.assign({},r,e);let{ignoreFilePathInZip:n,maxFileSize:a,encoding:s,encodingDetectionCall:l,failedCall:c}=e,d=0;if(t.forEach(S=>d+=S.size),x(d))return null;let p=t[0],m=p.name,h=Rve(m),f=Array.isArray(s)?s:s?[s]:["utf8"],b=[Lo.ZIP,Lo.PRJ,Lo.PRJ2,Lo.ELIBZ,Lo.ELIBZ2].some(S=>m.endsWith(S)),y={fileTitle:h,fileName:m,decodingData:[]},{decodingData:w}=y;if(b){let S=await G6o(p,void 0,f,l);if(!S)return null;let{files:T,errors:M}=S,I=0;for(let D in T){let E=T[D],{fileSource:N,decoding:R,byteSize:v}=E,k=new Fnt(D),P=n?k.path:D;w.push({fileName:P,dirs:k.dirs,source:N,decoding:R}),I+=v||0}if(x(I)){w.length=0;return}(M==null?void 0:M.length)>0}else{let{fileRes:S,error:T}=await xH(p,f,l);if(S){let{content:M,decoding:I}=S,A={fileName:m,source:M,decoding:I};w.push(A)}else T&&(c?c(T):console.error(T))}return y;function x(S){if(!(a>0||S>0)||S/1024<=a)return!1;let M="Exceeded the maximum allowed file size: {size}!";return c?c(M):Ut({type:"error",message:M,params:{size:Math.round(a/1024)+"MB"}}),!0}}async function uVt(t){let{decodingOptions:e}=t,{decodingType:i,decodingData:o}=e;if(i!="altium"||nXr())return o;if(!o)return e.decodingData=null,null;let n=Object.values(KCe),a=[],s=[];if(o.forEach(y=>{let w=y.source,x=y.fileName,S=H6o(x,!0);n.includes(S)&&w instanceof dVt.Buffer&&znt(w)?s.push(y):a.push(y)}),s.length==0)return o;if(!aXr())return a.length==0?(Dt({id:"convert-error",title:"Error",icon:"error",content:"Do not support binary files!"}),e.decodingData=null,null):(e.decodingData=a,a);let c="Conversion altium binary file in server";j6(0,c),Dt({title:"Notice",content:"The Altium is converting, please wait......"});let d=.05;j6(d,c);let u="/api/chameleon/ad/bin2ascii/add",p=C.globalVariableCookieData.userInfo.uuid||"",m=await b(u,{data:s,userId:p,time:Date.now()});if(!(m&&m.success&&m.code==1))return setTimeout(()=>{Vnt(),j6(1,c),Dt({id:"convert-error",title:"Error",icon:"error",content:"The conversion of binary files failed!"})},0),e.decodingData=null,null;let h=m.id,f=0,g=6;for(;;){let y=await this.adPostJson(u,{id:h});if(!y.success){Vnt(),Dt({id:"convert-error",title:"Error",icon:"error",content:"The conversion of binary files failed!"}),j6(1,c);break}if(y.code==2){Vnt(),j6(1,c);let w=y.datas;w==null||w.forEach(x=>{a.push(x)});break}d<.96&&f==g-1&&(d+=.02,j6(d,c)),await os(1e3),f=(f+1)%6}return j6(1,c),e.decodingData=a,a;function b(y,w){let x=JSON.stringify(w);return new Promise(S=>{$.ajax({type:"POST",url:y,data:x,timeout:1e3*120,async:!1,success:T=>{T.success,S(T)},error:T=>{S({success:!1})},headers:{"Content-Type":"application/json"}})})}}function nXr(){return Xr||/\badBinary\b/.test(ko().location.search)}function aXr(){let t=Xr?wi?N0:!0:!1;return t&&!_t}function sXr(t){if(!t)return;let{decodingOptions:i,encodingOptions:o}=t,{decodingData:r}=i,{encodingType:n}=o,{encoderOptions:a}=o;if(!r||n!="easyeda-pro-2"||(a||(a={},o.encoderOptions=a),!BJ(a.useFlow)))return;let s=r.length>30,l=!1;if(!s){let c=0;r.forEach(d=>{let u=d.source;u instanceof dVt.Buffer?c+=u.byteLength:c+=u.length*2}),l=c>300*1024*1024}(s||l)&&(a.useFlow=!0)}async function RT(t,e){var a;if(!t)return null;let{decodingOptions:i,encodingOptions:o}=t,{decodingType:r}=i,{encodingType:n}=o;return r=="altium"&&await uVt(t),n=="easyeda-pro-2"&&sXr(t),(a=t.decodingOptions)!=null&&a.decodingData?Bf.formatConversion(t,e):null}function lXr(t){let e=[];if(!t)return e;let i=t.config;i||(i=t.config={title:""});let{title:o}=i;if(e.push({fileName:o+".json",source:JSON.stringify(i)}),Array.isArray(t.libs)){let{libs:r}=t;r.forEach(n=>{e.push(n)})}else{let{dataStr:r}=t;e.push({fileName:o+".epru",source:r})}return e}async function sD(t,e,i,o,r){if(e=e||C.currentProject.projectId,!i){let a;if(r){let c=uP(r),d={uuid:C.currentProject.projectId,name:C.currentProject.title,cbb_project:!1,datas:c};a=(await C.messageBus.rpcCall(qr.GET_PROJECT_BY_IN_LOCAL,d)).message}else a=(await C.messageBus.rpcCall(qr.GET_PROJECT_IN_LOCAL,{uuid:e})).message;let{success:s,result:l}=a||{};if(!s||!l)return De({type:"error",msg:"Project data acquisition failed!",timer:3}),null;i=l}let n=i.config.name;return n&&(i.config.title=n,delete i.config.name),z9("ExportProject",{color:"#d352d3"},i),vve(i,t,o)}async function qre(t,e,i){var f,g;let{uuid:o,path:r,docType:n,cbb_project:a}=e||{},s="";if(!o||!r){s=he.getActiveTab();let b=U0(s);o=b[0],r=b[1]||_o()}s||(s=Fp(o,r)),n||(n=dt());let l=t=="altium",c=n===ve.FOOTPRINT,d=r===C.currentProject.projectId,u=s?he.getTabTitle(s):"";u||(u=zje(new Date));let p={config:{uuid:r,title:u,cbb_project:a,editorVersion:"dev"},libs:[]},m=p.libs,h=o&&r&&await Fw.getProLibSource({uuid:o,path:r,docType:n,isProject:d});if(h.success){let b=u;m.push({fileName:b+(c?".efoo2":".esym2"),source:h.result})}else return De({type:"error",msg:"Library data acquisition failed!",timer:3}),null;if(!l){let b=(await C.messageBus.rpcCall("sch/getDeviceDetail",s)).message;if(b){let y=c?b.symbol:b.footprint,w=(y==null?void 0:y.uuid)||(c?(f=b.attributes)==null?void 0:f.Symbol:(g=b.attributes)==null?void 0:g.Footprint);if(w){let x=await Fw.getProLibSource({uuid:w,path:y&&y.path||r,docType:y&&y.docType||(c?b.symbol_type||ve.PART:ve.FOOTPRINT),isProject:d});if(x.success){let S=(y==null?void 0:y.display_title)||(y==null?void 0:y.title)||u;m.push({fileName:S+(c?".esym2":".efoo2"),source:x.result})}}}}if(l){i||(i={});let b=i.decodingOptions;b||(b=i.decodingOptions={decodingType:"easyeda-pro-2",decodingData:[]});let y=b.decoderOptions;y||(y=b.decoderOptions={}),y.librariesPlacing=l}return vve(p,t,i)}async function vve(t,e,i){var l,c,d,u;let o=lXr(t);i||(i={});let r={...i,decodingOptions:{decodingType:"easyeda-pro-2",decodingData:o,decoderOptions:(l=i.decodingOptions)==null?void 0:l.decoderOptions},encodingOptions:{encodingType:e,encoderOptions:(c=i.encodingOptions)==null?void 0:c.encoderOptions},projectName:(d=t.config)==null?void 0:d.title};(u=t.config)!=null&&u.cbb_project&&(r.projectType="cbb");let n=r.decodingOptions,a=n.decoderOptions;return a||(a=n.decoderOptions={}),a.schTheme||(a.schTheme=Q6o()),await Bf.formatConversion(r)}var Z6o=[".epro",".epro2"],cXr=[".json"],dXr=[".schdoc",".pcbdoc"],uXr=[".ebrd"],pXr=[".sch",".brd"],mXr=[".kicad_pcb",".pro",".kicad_pro",".sch",".kicad_sch"],hXr=[".asc",".txt"],fXr=[".sch",".pcb"],gXr=[".asc"],yPe=new Map([["JLCEDA(Professional)",Z6o],["JLCEDA(Standard)",cXr],["Altium Designer",dXr],["Allegro/Orcad",uXr],["EAGLE",pXr],["KiCad",mXr],["PADS",hXr],["Protel",fXr],["LTspice",gXr]]),bXr={"JLCEDA(Standard)":"easyeda","Altium Designer":"altium","Allegro/Orcad":"allegro",EAGLE:"eagle",KiCad:"kicad",PADS:"pads",Protel:"protel",LTspice:"ltspice"},yXr=new Map([["Altium Designer",[".schdoc",".pcbdoc"]],["KiCad",[".kicad_pcb",".kicad_sch"]],["JLCEDA(Standard)",[".json"]],["PADS",[".txt"]],["Allegro/Orcad",[".ebrd"]]]),pVt=class{constructor(){this.isViewerMode=!1}async entry(){if(this.isViewerMode){let{fileLink:e,urlSuffix:i,filename:o}=this.validateUrl();if(this.projectName=o,!e)return;let r=this.validateSuffix(i);if(r.length===0&&i!==".zip")return Dt({icon:"error",content:"This file type is not currently supported"});let n=null;try{n=await fetch(e,{method:"GET"})}catch{return Dt({icon:"error",content:"Failed to get file data!"})}if(!n)return;let a=await n.blob();this.files=[new File([a],o,{type:a.type})],i===".zip"?this.checkZipFileType():r.length>1?vyt():Z6o.includes(i)?this.openProject(this.files[0]):this.convertFile(r[0])}}validateViewerMode(){return this.isViewerMode=ko().top!==self&&location.href.includes("#viewer"),this.isViewerMode}convert2ProjectFile(e){let i=e,{project:o}=i||{};if(!o||!o.dataStr)return;let{config:r,dataStr:n}=o,a=r.title||this.projectName,s={cbb_project:r.cbb_project,title:r.title},l={"project2.json":va(JSON.stringify(s)),[a+Lo.EPRU]:va(n)},c=vb(l),d=new Blob([c]);return new File([d],a+Lo.PRJ2)}validateSuffix(e){let i=[];return yPe.forEach((o,r)=>{o.includes(e.toLowerCase())&&i.push(r)}),i}validateUrl(){var r,n,a;let e=(r=decodeURIComponent(window.location.href).match(/file=([^,]+)/)[1])==null?void 0:r.replace(/"/g,"");if(!e)return{};let i="."+((n=e.match(/\.([^\/\.?]+)(?:\?|$)/))==null?void 0:n[1])||"",o=(((a=e.match(/\/([^\/]+)\.[^\/\.?]+(?:\?|$)/))==null?void 0:a[1])||"")+i;return{fileLink:e,filename:o,urlSuffix:i}}async convertFile(e){var d;let i=bXr[e],o=await yA(this.files,{decodingType:i});if(!o)return;let r=null,n=o.decodingData,a="easyeda-pro-2",s=this.projectName,l=await RT({decodingOptions:{decodingType:i,decoderOptions:r,decodingData:n},encodingOptions:{encodingType:a,encoderOptions:{associate3D:!0}},projectName:s});if(!l||!l.success)return this.throwFileTypeError();let c=l.result;if(c){let{deviceSize:u=0,footprintSize:p=0,symbolSize:m=0,pcbSize:h=0,sheetSize:f=0}=((d=c.extension)==null?void 0:d.projectDataCount)||{};if(!u&&!p&&!h&&!f&&!m)return this.throwFileTypeError();let g=this.convert2ProjectFile(c);this.openProject(g),le.close()}}async checkZipFileType(){let e=await mVt(this.files[0]),i=Object.keys(e.files).map(o=>o.match(/(\.[^\.]+)$/)[1]);if(this.isProZipFile(i))return this.openProject(this.files[0]);for(let[o,r]of yXr)if(r.some(n=>i.includes(n))){this.convertFile(o);return}vyt()}throwFileTypeError(){Ut({type:"error",message:"The imported file format incorrect or doesn't match current type, please re-select and import."})}async openProject(e){let i=(await C.messageBus.rpcCall(qr.LOAD_FILE,e)).message}isProZipFile(e){return[".epru",".esym",".esch",".epcb"].some(i=>e.includes(i))}},ln=new pVt;async function cR(t=C.currentProject.projectId,e){return await zi.getPermissionList(t,e)}function Hd(t,e,i){return t?zi.hasPermission(t,e,i):!0}async function Mv(t=C.currentProject.projectId,e=!0){let i=Array.isArray(t)?t:await cR(t),o=i?zi.hasPermission(i,Io.Doc_Updating):!0,r=!1;if(!o&&e){let n={value:"No {0} permission,please contact project manager",options:{0:me.i18n("Edit Document")}},{isExamProject:a,endOfExam:s}=await zi.getExamProjectStatus(C.currentProject.projectId);r=a&&s,r&&(n="The exam has ended and cannot be edited"),zi.showNoPermission(n)}return{hasPermission:o,isExamProjectAndEnd:r}}async function Hnt(t=C.currentProject.projectId,e=!0){if(!Array.isArray(t)){let r=(await C.messageBus.rpcCall($e.PROJECT.GET,[t])).message;if(r.archive||r.store)return!1}let i=Array.isArray(t)?t:await cR(t),o=i?zi.hasPermission(i,Io.Doc_Adding):!0;if(!o&&e){let r={value:"No {0} permission,please contact project manager",options:{0:me.i18n("Create Document")}};zi.showNoPermission(r)}return o}function J6o(t=C.currentProject.projectId){let e=Array.isArray(t)?t:zi.getProjectPermissionCache(t),i=e?zi.hasPermission(e,Io.File_Importing):!0,o=e?zi.hasPermission(e,Io.Doc_Pasting):!0,r=e?zi.hasPermission(e,Io.Doc_Updating):!0,n=e?zi.hasPermission(e,Io.Library_Updating):!0,a=i||o||r||n,s=a?null:me.i18n("No {0} permission,please contact project manager",[me.i18n("Add Project Lib")]);return a||zi.showNoPermission(s),{hasPermission:a,errMsg:s}}function vQe(t=C.currentProject.projectId){let e=Array.isArray(t)?t:zi.getProjectPermissionCache(t);return e?zi.hasPermission(e,Io.Library_Updating):!0}function xQe(t=C.currentProject.projectId){let e=Array.isArray(t)?t:zi.getProjectPermissionCache(t);return e?zi.hasPermission(e,Io.Library_Deleting):!0}function Gnt(){let t=new Set,e=["PASTE","CUT","DUPLICATE","DUPLICATE_TO_CURSOR","MOVE","MOVE_SEQUENTIAL","DELETE","EDIT_BOUNDARY","FORMAT_BRUSH","ARRAYS","LOCKED","LOCKED_CANCEL","ADDWITH_TRACK","ADDWITH_VIA","ADDWITH_TESTPOINTER","ADD_FILLET","ADD_CHAMFER","ADDWITH_NODE","ADDWITH_TEARS","ADD_SOLDER_MASK","SETUP_WINDOWINGAREA","WIRING_AUTO","WIRING_CLEAR","DIVISION","INSERT_NODE","STRETCHING","ADDWITH_EQUALLENGTHTUNING","BATCH_FANOUT","UNROUTE_ATTACHED_SEGMENTS","UNROUTE_CONNECTIONS","COMBINATION_SELECT","COMBINATION_JOIN","COMBINATION_CANCEL","REUSE_LAYOUT_ROUTE","EXCHANGE_LOCATION","ATTR_LOCATION","TURNOVER","OFFSET","ROTATE","FLIP","ALIGNMENT","DISTRIBUTION","PACKAGE_REPLACE","PACKAGE_EDIT","DEVICE_EDIT","UPDATE_COMPONENT","GENERATE_D3_SHELL_OUTLINE","MERGE_AS_CLOSED_OBJECT","DISPERSED_AS_INDEPENDENT_LIEN","CONVERT_TO_SLOT_REGION","CONVERT_TO_FILL_REGION","CONVERT_TO_PAD","CONVERT_TO_2D_LINE","CONVERT_TO_COPPER_REGION","CONVERT_TO_PROHIBITED_REGION","CONVERT_TO_BOARD_OUTLINE","CONVERT_TO_CONSTRAINT_REGION","CONVERT_TO_D3_SHELL_OUTLINE","CONVERT_TO_D3_SHELL_SLOT_REGION","CONVERT_TO_D3_SHELL_ENTITY","CONVERT_TO_FPC_STIFFENER","boolAggregate","boolSubtraction","boolIntersection","boolExclusive","boolSplit","REBUILD_SELECTED","REBUILD_ALL","COPPER_MANAGER","EDIT_NODE","MOVE_NODE","DELETE_NODE","WIRING_CORNER","WIRING_WIDTH","VIA_SIZE","VIA_TYPE","WIRING_MODE","TABLE_SETTING","PLACE_BURIEDHOLE","REMOVE_LOOP","INCREASE_GAP","DECREASE_GAP","GAP_STEP_VALUE","EQUAL_LENGTH_TUNING_SETTING","NET_CLASS_LENGTH_TOLERANCE_RULE_SETTING","DIFFERENTIAL_PAIR_LENGTH_TOLERANCE_RULE_SETTING","IGNORE_DRC","toggleAdsorb","opensubmenu-boardshape","convertToBoard","convertToLineFromBoard","CONVERT_TO_TRACK","ADDVIA_FENCE","RECOVER_FOOTPRINT","NET_MENU","IPC2552","RAISE_PRIORITY","LOWER_PRIORITY","ANNOTATION","CUTOUT","SPLIT","COMBINATION","new-differentialPair","delete-differentialPair"],i=["CHECK_IN","CHECK_OUT"];if(je())for(let r of e)t.add(r);if(Er())for(let r of i)t.add(r);return Array.from(t)}function q6o(t=!1){zi.isVersionReadOnly=t}async function V3(t=C.currentProject.projectId,e,i){var l,c;if(Tn||Ko)return zi.setIsProjectReadOnly(!1,t),!1;if(ln.isViewerMode)return zi.setIsProjectReadOnly(!0,t),!0;if(!t)return;let o=e||await cR(t);if(i||(i=t===C.currentProject.projectId?(l=await C.messageBus.rpcCall($e.PROJECT.GET,[t]))==null?void 0:l.message:await Y4(t)),!i)return zi.setIsProjectReadOnly(!1,t),!1;if(C.archive||C.store)return zi.setIsProjectReadOnly(!0,t),!0;if(i.archive||i.store)return zi.setIsProjectReadOnly(!0,t),!1;let r=((c=i==null?void 0:i.creator)==null?void 0:c.uuid)==_o(),{isCbb:n,isTeam:a}=X6o(),s=n?a&&ym(void 0,Yr.Team_Module_Update)||r:o?zi.hasPermission(o,Io.Doc_Updating):!0;return zi.setIsProjectReadOnly(!s,t),!s}function X6o(){var i;let t=(i=C.currentProject)==null?void 0:i.isCBB,e=C.teams.find(o=>{var r;return o.uuid==((r=C.currentProject)==null?void 0:r.owner)&&o.uuid!==_o()});return{isCbb:t,isTeam:e}}function KW(t){var c,d;if(Je)return!0;let e=dt();if(!((c=he.getActiveTabData())!=null&&c.data))return!1;let{creator:i,owner:o,pid:r,isProjectLib:n}=(d=he.getActiveTabData())==null?void 0:d.data,a=C.teams.find(u=>u.uuid==o),s=i==_o()||o==_o(),l;return[se.FOOTPRINT,se.PART,se.DEVICE,se.PANEL_LIB,se.PCBLIB3D,se.SCHLIB3D,se.NETFLAG,se.NETPORT,se.OFF_PAGE_CONNECTOR,se.SHEET_SYMBOL].includes(e)?r==C.currentProject.projectId||n?C.currentProject.isCBB?l=a&&ym(a.permissions,gn([fn._val,fn.Module._val,t]))||s:l=hJ(void 0,gn([Ao._val,Ao.Library._val,t])):l=a&&ym(a.permissions,gn([fn._val,fn.Component._val,t]))||s:[se.BLOCK_SYMBOL].includes(e)?l=a&&ym(a.permissions,gn([fn._val,fn.Module._val,t]))||s:[se.SCH,se.PCB,se.PANEL,se.NGSPICE,se.SIMULIDE].includes(e)?C.currentProject.isCBB?l=a&&ym(a.permissions,gn([fn._val,fn.Module._val,t]))||s:l=hJ(void 0,gn([Ao._val,Ao.Document._val,t])):l=hJ(void 0,gn([Ao._val,Ao.Document._val,t])),l}function ym(t=C.currentProject.owner,e){let i=Array.isArray(t)?t:zi.getTeamPermissionCaches(t);return i?zi.hasPermission(i,e):!0}function hJ(t=C.currentProject.projectId,e){let i=Array.isArray(t)?t:zi.getProjectPermissionCache(t);return i?zi.hasPermission(i,e):!0}async function QZ(t,e){var l;if(Tn||Ko)return zi.setIsProjectReadOnly(!1),!1;if(C.isHistoryMode)return e?zi.isProjectReadOnly_noHistoryMode?0:!1:0;let i=await Y4(t);if(i.archive||i.store)return 0;let o=await cR(t),r=((l=i==null?void 0:i.creator)==null?void 0:l.uuid)==_o(),{isCbb:n,isTeam:a}=X6o();return(n?a&&ym(void 0,Yr.Team_Module_Update)||r:o?zi.hasPermission(o,Io.Doc_Updating):!0)?!1:1}async function jv(t,e,i){if(!C.teams.some(n=>n.uuid==t))return!0;let o=await zi.getTeamPermission(t);return(o?zi.hasPermission(o,e):!0)?!0:(i&&De({type:"error",msg:i,timer:3}),!1)}function $6o(t=!0){var n;if(!_t)return!0;let{creator:e,owner:i}=(n=he.getActiveTabData())==null?void 0:n.data,o=C.teams.find(a=>a.uuid===i),r=!0;if(C.currentProject.isCBB&&t){let a=e===_o();if(o){let s=zi.getTeamPermissionCaches(i);r=Hd(s,Yr.Team_Module_Download)}else r=a}else r=hJ(void 0,Io.File_Exporting);return r}var Hbe="dlgBranchOrNode";var Gbe=L(Se());var hVt=L(tIo()),Dm=L(z());var iIo={1:{title:"New Node"},2:{title:"New Branch"},3:{title:"New Branch"},4:{title:"Edit Node"},5:{title:"Edit Branch"}};function wXr(t){let{mode:e,name:i,description:o}=t,{locals:r}=hVt.default;Ae(hVt.default),Ce(Dh);let n=be.bind(r),a=J();Dh.mode!==e&&(Dh.mode=e);let[s,l]=(0,Gbe.useState)(i),[c,d]=(0,Gbe.useState)(i),[u,p]=(0,Gbe.useState)(o);return(0,Dm.jsxs)("div",{className:n("gray-dialog-border"),children:[(0,Dm.jsx)("div",{className:n("tips",{hidden:e!==3}),children:(0,Dm.jsx)("span",{children:a("Tips: To create a branch, you need to first create the version node")})}),(0,Dm.jsxs)("div",{className:n("grid-area"),children:[[1,4,3].indexOf(e)>=0?(0,Dm.jsxs)("div",{className:n("row"),children:[(0,Dm.jsxs)("div",{children:[(0,Dm.jsxs)("span",{"data-test":"Node Title:",children:[a("Node Name"),":"]}),(0,Dm.jsx)("span",{children:(0,Dm.jsx)("input",{type:"text",maxLength:256,spellCheck:!1,defaultValue:s,onChange:m=>{Dh.nodeName=m.target.value,l(m.target.value),Dh.nodeComment=m.target.value}})})]}),(0,Dm.jsx)("div",{className:n("comment",{"hidden-comment":!Dh.nodeComment}),children:Dh.nodeComment})]}):(0,Dm.jsx)(Dm.Fragment,{}),[2,5,3].indexOf(e)>=0?(0,Dm.jsxs)("div",{className:n("row"),children:[(0,Dm.jsxs)("div",{children:[(0,Dm.jsxs)("span",{"data-test":"Branch Title:",children:[a("Branch Name"),":"]}),(0,Dm.jsx)("span",{children:(0,Dm.jsx)("input",{type:"text",maxLength:256,spellCheck:!1,defaultValue:c,onChange:m=>{Dh.branchName=m.target.value,d(m.target.value),Dh.branchComment=m.target.value}})})]}),(0,Dm.jsx)("div",{className:n("comment",{"hidden-comment":!Dh.branchComment}),children:Dh.branchComment})]}):(0,Dm.jsx)(Dm.Fragment,{}),(0,Dm.jsx)("div",{className:n("row"),children:(0,Dm.jsxs)("div",{children:[(0,Dm.jsxs)("span",{className:n("description"),"data-test":"Description:",children:[a("Description"),":"]}),(0,Dm.jsx)("span",{children:(0,Dm.jsx)("textarea",{rows:3,defaultValue:u,onChange:m=>{Dh.description=m.target.value,p(m.target.value)}})})]})})]})]})}var oIo=Gbe.default.memo(wXr);var fVt=class extends qe{constructor(){super(...arguments);this._mode=1;this._nodeName="";this._branchName="";this._description="";this._nodeComment="";this._branchComment=""}get mode(){return this._mode}set mode(i){this._mode=i}get nodeName(){return this._nodeName}set nodeName(i){this._nodeName=i}get branchName(){return this._branchName}set branchName(i){this._branchName=i}get description(){return this._description}set description(i){this._description=i}get nodeComment(){return this._nodeComment}set nodeComment(i){let o=this.commentMsg(i,"Node Name");o!=this._nodeComment&&(this._nodeComment=o,this.notify())}get branchComment(){return this._branchComment}set branchComment(i){let o=this.commentMsg(i,"Branch Name");o!=this._branchComment&&(this._branchComment=o,this.notify())}commentMsg(i,o){let r="";return i.length<2||i.length>30?r=me.i18n("{name} must be between 2 and 30 characters",{name:me.i18n(o)}):Wnt(i)||(r=me.i18n("{name} can only include letters, numbers, Chinese characters, and dots, and -, and _",{name:me.i18n(o)})),r}clear(){this._mode=1,this._nodeName="",this._description="",this._branchName="",this._branchComment="",this._nodeComment=""}},Dh=new fVt;var dIo=L(z());var nIo="Created successfully!",aIo=_t||Fn?30:5;async function ZW(t){let e=t.uuid,i=t.historyUuid;if(!e)return;let o=t.mode;Pr.version.uuid===e&&(o===1||o===3||o===2)&&await xl({checkTicket:!0},!1);let r=iIo[t.mode];Dh.clear();let n=t.name||"",a=t.description||"";Dh.branchName=n,Dh.nodeName=n,Dh.description=a,le.open({id:Hbe,title:r.title,width:600,closed:!0,remove:!0,footer:!0,children:(0,dIo.jsx)(oIo,{mode:t.mode,name:n,description:a}),onCancel:()=>{le.close(Hbe)},onOk:async()=>{let s=C.currentProject.projectId,{branchName:l,description:c,nodeName:d,mode:u}=Dh;if(!xXr(c))return De({type:"warn",msg:"Description should be no more than 255 letters"});let p;switch(u){case 1:p={name:d,node:!0,description:c,parentUuid:e,historyUuid:i};break;case 2:p={name:l,node:!1,description:c,parentUuid:e,historyUuid:i};break;case 3:CXr(d,l)&&wVt(e,d,l,c,i);return;case 4:case 5:let g=4==u?d:l;if(Ybe(g))return De({type:"warn",msg:g.length<2?"Please enter a name with at least two characters.":"The input name length must not exceed 30 characters."});if(!Wnt(g))return De({type:"warn",msg:me.i18n("{name} can only include letters, numbers, Chinese characters, and dots, and -, and _",{name:me.i18n(4==u?"Node Name":"Branch Name")})});let b=(await C.messageBus.rpcCall(Ei.BRANCH.UPDATE,{uuid:s,branchUuid:e,name:g,description:c})).message;TXr(b);return}if(await sIo(p),!await lIo())return;let h=await bVt(p);if(!h)return!1;h.success?(Jv(s,h.result),De({type:"success",msg:nIo}),h.result.node||U5e({isNew:!0,row:h.result}),le.close(Hbe),Rl.update(),u===1&&C.worker.publish("autoBackup/restart","")):yVt(h.code,p.node)}})}function CXr(t,e){if(!t&&!e||Ybe(t)&&Ybe(e))Dh.nodeComment=t,Dh.branchComment=e,De({type:"error",msg:"Node and branch creation failed!"});else if(Ybe(t))Dh.nodeComment=t,De({type:"error",msg:"Node creation failed!"});else if(Ybe(e))Dh.branchComment=e,De({type:"error",msg:"Branch creation failed!"});else return!0;return!1}function xXr(t){return!(t.length>255)}async function TXr(t){if(t.success){let e=C.currentProject.projectId;Rl.update(e),Jv(e,t.result),(await Pr.getVersion()).uuid===t.result.uuid&&Pr.updateTagName(),De({type:"success",msg:"Edit Success!"}),le.close(Hbe)}else De({type:"error",msg:"Edit Failed!"})}async function sIo(t){try{let i=C.currentProject.projectId;await C.messageBus.rpcCall($e.PROJECT.AWAIT_UPLOAD_END,i,6e4)}catch{console.log("await upload timeout!!!")}finally{await Pr.getVersion();let i=Rl.lists.find(o=>o.uuid==t.parentUuid);i&&(t.historyUuid=i.history_uuid)}}async function bVt(t){if(t.node?Dh.nodeComment=t.name:Dh.branchComment=t.name,Ybe(t.name)){let r=t.node?"Node creation failed!":"Branch creation failed!";return De({type:"error",msg:r})}if(!Wnt(t.name)){De({type:"error",msg:me.i18n("{name} can only include letters, numbers, Chinese characters, and dots, and -, and _",{name:me.i18n(t.node?"Node Name":"Branch Name")})});return}let e=C.currentProject.projectId,i={method:"post",headers:new Headers({"Content-Type":"application/json"}),body:JSON.stringify(t)};return(await C.messageBus.rpcCall(Ei.BRANCH.CREATE,{uuid:e,name:t.name,description:t.description,parentUuid:t.parentUuid,historyUuid:t.historyUuid,node:t.node})).message}function rIo(){let t={value:"No {0} permission,please contact project manager",options:{0:me.i18n("New{tip}Version",{tip:""})}};De({type:"error",msg:t})}async function wVt(t,e,i,o,r,n=!1){let a={name:e,node:!0,description:o,parentUuid:t,historyUuid:r},s=[];if(await sIo(a),!await lIo())return;let c=await bVt(a);if(!c)return n&&rIo(),s;if(!c.success)return yVt(c.code,!0),n&&rIo(),s;s.push(c.result),a.name=i,a.node=!1,a.parentUuid=c.result.uuid,a.historyUuid=c.result.history_uuid;let d=await bVt(a);if(d!=null&&d.success)return Jv(C.currentProject.projectId,c.result),Jv(C.currentProject.projectId,d.result),De({type:"success",msg:nIo}),U5e({isNew:!0,row:d.result}),le.close(Hbe),s.push(d.result),s;d&&yVt(d.code,!1);let u=C.currentProject.projectId;return await SXr(u,c.result.uuid),[]}async function SXr(t,e,i){let o={method:"DELETE",body:JSON.stringify({specialDelete:"yes"}),headers:new Headers({"Content-Type":"application/json"})},r=(await C.messageBus.rpcCall(Ei.BRANCH.DELETE,{uuid:t,branchUuid:e,specialDelete:"yes"})).message;i&&i(r)}function Wnt(t){return/^[a-zA-Z0-9\u4e00-\u9fa5\-_\.]+$/.test(t)}function Ybe(t){return!t||t.length<2||t.length>30}async function lIo(){await Rl.update();let t=Rl.tableData;return new Set(t.map(r=>r.color)).size>=aIo?cIo():!0}function yVt(t,e=!0){let i=e?"Node creation failed!":"Branch creation failed!";if(t=="11000005")i=e?"Node name already exists!":"Branch name already exists!";else if(t=="11000001")i="parentUuid Failed";else if(t=="11000010")return cIo();De({type:"error",msg:i})}function cIo(){let t=aIo;return De({type:"error",msg:[{value:"You have created {num} version branches, reaching the creation limit. If you need to create more branches, please delete deprecated branches and clean up",options:{num:t+"/"+t}},{text:"the Recycle Bin.",call:"toProjectVersion",class:"space-btn-blue"}]}),!1}var Qnt=["#02a7f0","#F59A23","#D9001B","#95F204"],uIo=0;function CVt(){function t(){let o=e();for(;Qnt.indexOf(o)>=0;)o=e();return Qnt[Qnt.length]=o,o}function e(){let o="#",r=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];for(let n=0;n<6;n++){let a=Math.floor(Math.random()*r.length);o+=r[a]}return o}return Qnt[uIo++]||t()}var xVt=class extends qe{constructor(){super(...arguments);this.initNode=null;this._lists=[];this._data={};this._tree={};this._defaultLists=[];this._current=null;this._tableData=[];this._deleteLists=[];this._maxCol=0;this._selectRow=""}get lists(){return this._lists}set lists(i){this._lists=i}get data(){return this._data}set data(i){this._data=i}get tree(){return this._tree}set tree(i){this._tree=i}get defaultLists(){return this._defaultLists}set defaultLists(i){this._defaultLists=i}get current(){return this._current}set current(i){this._current=i}get tableData(){return this._tableData}set tableData(i){this._tableData=i}get deleteLists(){return this._deleteLists}set deleteLists(i){this._deleteLists=i}get maxCol(){return this._maxCol}set maxCol(i){this._maxCol=i}get selectRow(){return this._selectRow}set selectRow(i){this._selectRow=i,this.notify()}async getVersion(i,o=C.currentProject.projectId){return(await this.queryBranchData(o)).find(a=>a.uuid===i)}async queryBranchData(i=C.currentProject.projectId){let o=(await C.messageBus.rpcCall(Ei.BRANCH.LIST,{uuid:i,getStartNode:!0,isNotPage:"yes"})).message;if(o.success){let r=o.result.lists;return this.lists=r,this.lists}else throw new Error("Network error!!!")}async init(i=C.currentProject.projectId){if(i==null)return;let o=await this.queryBranchData(i);if(o.length==0&&(o=await this.initBranch()),o.length==0){Pr.hadNode=!1;return}Pr.hadNode=!0,this.lists=o,this.data=this.buildTree(o)}async initBranch(){return await wVt(null,"start","main","",null,!0)}async update(i=C.currentProject.projectId){let o=await this.queryBranchData(i);if(o.length===0){Pr.hadNode=!1,this.clear();return}Pr.hadNode=!0,this.data=this.buildTree(o),this.render(this.lists)}render(i){this.tree=this.getVisibleTree(this.data,i),this.getDefaultList(i),this.getDeleteList(i),this.initSelect();let{data:o,maxCol:r}=this.serialize(this.tree),n=[];i.forEach(a=>{o.find(s=>s.uuid===a.uuid)||a.delete_status==0&&n.push(a)}),this.sortNode(n),n.forEach((a,s)=>{r++,a.free=!0,a.row=s+1,a.prevCol=a.col=r,a.prevCol=r,a.color=CVt()}),o.forEach((a,s)=>{s>0&&(a.row+=n.length)}),o.splice(o.length-1,0,...n.reverse()),this.maxCol=r,this.tableData=o,uIo=0,this.notify()}serialize(i){let o=0,r=0,n=CVt(),a=[];i.prevCol=0,i.isRoot=!0,i.color=n;let s=(l,c)=>{a.push(l);let d=l.isEmpty;o=Math.max(c,o),l.row=d?r:r++,l.col=c;let u=l.color,p=[...l.children];this.sortDefaultVersion(p);for(let m=p.length-1;m>=0;m--){let h=p[m];h.prevCol=c,m>0?h.color=CVt():h.color=u,s(h,m+c)}};return s(i,0),a=a.filter(l=>!l.isEmpty).reverse(),a.length&&(a[0].isEnd=!0),{data:a,maxCol:o}}getDefaultList(i){let o=[],r=i.find(n=>n.default);for(this.current=r.uuid;r;)o.push(r),r=i.find(n=>n.uuid===r.prevUuid);return this.defaultLists=o,o}buildTree(i,o=null,r=null){let n=(o==null?void 0:o.uuid)||null,a=i.filter(s=>s.parent_uuid==n);if(this.sortNode(a),o==null){let s=a[0];return this.buildTree(i,s,null),s}if(a.length>0){let s=o.node;if(o.children||(o.children=[]),s)a.forEach(l=>{l.children=[],o.children.push(l),this.buildTree(i,l,o)});else{let l={},c=l;for(let p=0;p<a.length;p++){let m=a[p];this.buildTree(i,m);let h=m.children;l.children||(l.children=[]),l.children.unshift(m),l=m}l.children||(l.children=[]),l.children.unshift(o);let d=c.children[0],u=r.children.indexOf(o);r.children.splice(u,1,d)}}}getVisibleTree(i,o){i.prevUuid=null;let r=a=>{let s=a.children,l=[];return s.forEach(c=>{if(c.delete_status==0)c.prevUuid=a.uuid,l.push({...c,children:r(c)});else{!c.node&&this.checkParentBranch(c,a,o)&&(c.isEmpty=!0,l.push({...c,children:[]}));let u=r(c);c.prevUuid=a.uuid,u.forEach(p=>{p.prevUuid=a.uuid,l.push(p)})}}),l},n=r(i);return{...i,children:n}}checkParentBranch(i,o,r){let n=i.uuid,a=o.parent_uuid,s=!1;for(;a;){let l=r.find(c=>c.uuid==a);if(l.uuid==n){s=!0;break}a=l.parent_uuid}return s}sortNode(i){Vri(i,(o,r)=>{let n=new Date(o.created_at).getTime(),a=new Date(r.created_at).getTime();return n-a},0,i.length)}clear(){this.lists=[],this.tableData=[],this.initNode=null,this.selectRow=""}sortDefaultVersion(i){let o=-1;for(let r=0;r<i.length;r++)this.defaultLists.find(n=>n.uuid===i[r].uuid)&&(o=r);if(o>-1){let r=i.splice(o,1);i.unshift(...r)}}getDeleteList(i){let o=[],r=i.find(n=>n.default);for(o.push(r),this.current=r.uuid;r;)r.node&&o.push(r),r=i.find(n=>n.uuid===r.parent_uuid);return this._deleteLists=o,o}initSelect(){if(!this._selectRow){let i=this._tableData.find(o=>{var r;return o.uuid===((r=Pr.version)==null?void 0:r.uuid)});this._selectRow=i==null?void 0:i.uuid}}},TVt=class extends qe{constructor(){super(...arguments);this._openOtherBranch=!1;this._hadNode=!1;this._version=null}set openOtherBranch(i){this._openOtherBranch=i}get openOtherBranch(){return this._openOtherBranch}get hadNode(){return this._hadNode}set hadNode(i){this._hadNode=i}switchVersion(i){this.version=i,cn.setHash("version",i.uuid,!0)}set version(i){this._version=i,q6o(i==null?void 0:i.node)}get version(){return this._version||{}}async getVersion(){let i=this.version.uuid;return await this.syncVersion(i),this.version}async syncVersion(i){await Rl.queryBranchData();let o=Rl.lists,r=i?o.find(n=>n.uuid==i):o.find(n=>n.default);return r&&(this._version=r,await this.updateVersionList(r)),r}async updateVersionList(i){let r=PSt(i).map(n=>({cmd:"openRecentVersion",version:n}));Rc.setRecentVersion(r)}get name(){var i;return(i=this.version)==null?void 0:i.name}updateTagName(){this.notify()}clear(){this.openOtherBranch||(Rl.clear(),this.version=null,cn.removeHash("version")),this.openOtherBranch=!1}},Rl=new xVt,Pr=new TVt;function IKe(t){if(hIo(t.treeNodeType,["SHEET","SCH","BLOCK","BLOCK_SYMBOL","PANEL","BATCHBLOCKSYMBOL","NGSPICE","SIMULIDE"])){let e="";switch(ol(t.tabId||t.id)&&(e=" icon-color-red"),t.treeNodeType){case st.SCH:case st.BLOCK:return t.hasTopSymbol?"icon-eda-schematic-block icon-color-blue"+e:"icon-eda-schematic icon-color-blue"+e;case st.SHEET:return"icon-eda-page icon-color-blue"+e;case st.BLOCK_SYMBOL:return t.childrenLength>0?"icon-eda-reuse-block":"icon-eda-symbol-block";case st.PANEL:return"icon-eda-panel icon-color-primaryblue";case st.BATCHBLOCKSYMBOL:return"icon-eda-reuse-block icon-color-red";case st.NGSPICE:return"icon-eda-ngspice icon-color-blue-purple";case st.SIMULIDE:return"icon-eda-simulide icon-color-blue-purple"}}else switch(t.treeNodeType){case st.PRJ:return t.isPrjPublic?"icon-eda-project-open-source":"icon-eda-project-fill";case st.WIRE:case st.NET:case st.NETTREENODE:case st.NETCOLLECTNODE:return"icon-eda-wire";case st.BOARD:return Nt?"icon-ecad-board-fill":"icon-eda-board-fill";case st.SYMBOL:return"icon-eda-symbol";case st.BUS:case st.NETTREEBUSNODE:return"icon-eda-bus";case st.PINNODE:return"icon-eda-pin";case st.PCB:return Nt?"icon-ecad-pcb icon-color-green":"icon-eda-pcb icon-color-green";case st.CHILDPCB:return"icon-eda-partition icon-color-green";case st.NETPORT:return"icon-eda-wire";case st.NETFLAG:return"icon-eda-tree";case st.NETFLAGS:return"icon-eda-tree icon-color-orange";case st.SHORTSYMBOL:return"icon-eda-symbol-short";case st.SHORTSYMBOLS:return"icon-eda-symbol-short icon-color-orange";case st.REUSEBLOCKS:return"icon-eda-reuse-block icon-color-orange";case st.NETPORTS:return"icon-eda-netport-in icon-color-orange";case st.NETCLASS:return"icon-eda-project icon-color-red";case st.SYMBOLS:case st.SYMBOLCOLLECT:return"icon-eda-symbol icon-color-orange";case st.NETS:case st.NETCOLLECT:return"icon-eda-wire icon-color-orange";case st.MULTIPART:return"icon-eda-part";case st.MULTIPARTGROUP:return"icon-eda-symbol icon-color-red";case st.POLYLINE:return"icon-eda-line";case st.CIRCLE:return"icon-eda-circle";case st.RECT:return"icon-eda-rectangle";case st.ARC:return"icon-eda-arc";case st.TEXT:return"icon-eda-text";case st.IMAGE:return"icon-eda-image";case st.TABLE:return"icon-eda-table";case st.BEZIER:return"icon-eda-bezier-2";case st.ELLIPSE:return"icon-eda-ellipse";case st.OTHER:return"icon-eda-folder icon-color-orange";case st.NETLABELS:return"icon-eda-net-label icon-color-orange";case st.NETLABEL:return"icon-eda-net-label";case st.NONEELECSYMBOLS:return"icon-eda-non-electronic-flag icon-color-orange";case st.NONEELECSYMBOL:return"icon-eda-non-electronic-flag";case st.COMBINATIONS:case st.COMBINATION:return"icon-eda-group icon-color-orange";case st.OFFPAGECONNECTORS:return"icon-eda-offPageConnector-in icon-color-orange";case st.OFFPAGECONNECTOR:return"icon-eda-wire";case st.MASKREGIONS:return"icon-eda-place-mask-region icon-color-orange";case st.MASKREGION:return"icon-eda-place-mask-region";case st.DIFFPAIRFLAG:return"icon-eda-differential";default:return"icon-eda-symbol"}}function GZe(t){return t==="own"?"icon-eda-check-out":"icon-eda-checked-out"}var zMe=t=>hIo(t,["SYMBOLS","REUSEBLOCKS","NETPORTS","NETFLAGS","SHORTSYMBOLS","NONEELECSYMBOLS","NETS","COMBINATIONS","OTHER","NETLABELS","MASKREGIONS","OFFPAGECONNECTORS"]);function SVt(t,e){return t=ue.htmlEncode(t),e===st.TEXT&&t.length>20&&(t=t.substring(0,20)+"..."),t}var pIo=t=>{switch(t){case st.PRJ:return se.PRJ;case st.BOARD:case st.BLOCK:case st.SCH:case st.SHEET:return se.SCH;case st.PCB:return se.PCB;case st.PANEL:return se.PANEL;default:return se.SCH}};async function mIo(t){var O,_;let e=C.currentProject.projectId,i=C.currentProject.isCBB,o=C.teams.find(j=>j.uuid==C.currentProject.owner&&j.uuid!==_o());if(!e||Je)return t;let r=await zi.getPermissionList(e),n=await Y4(e),a=((O=n==null?void 0:n.creator)==null?void 0:O.uuid)==_o(),s=o?await zi.getTeamPermission(C.currentProject.owner):[];s!=null&&s.length&&!r&&(r=[],r.push(...s)),t=t||{};function l(j,B){return r?zi.hasPermission(r,j,B):!0}let c=l(Io.Project_Moving),d=l(Io.Doc_Adding),u=l(Io.Doc_Copying),p=l(Io.Doc_Deleting),m=l(Io.Doc_Updating),h=l(Io.Project_Viewing),f=l(Io.Project_Updating),g=l(Io.Project_Locking),b=l(Io.Project_Transfer),y=l(Io.Project_Delete),w=l(Io.Project_Downloading),x=n&&n.workspace_jump,S=n&&n.public,T=n&&n.members.find(j=>j.uuid==_o()),{inTheExam:M,correction_status:I}=await zi.getExamProjectStatus(e),A=l(Yr.Team_Module_Add),D=l(Yr.Team_Module_Copy),E=l(Yr.Team_Module_Download),N=l(Yr.Team_Module_Delete),R=l(Yr.Team_Module_Update),v={saveAsCloud:i?o?D:a:u,saveAsLocal:i?o?E:a:w,new_board:i?o&&R||a:d,new_schematic:i?o&&R||a:d,new_pcb:i?o&&R||a:d,new_page:i?o&&R||a:d,generateUpdateProjectPreviewImage:m,new_Panel:d,new_Simulation:d,set_as_new_Board:i?o&&R||a:m,remove_from_board:i?o&&R||a:m,move_up:i?o&&R||a:m,move_down:i?o&&R||a:m,pasteLeftTree:i?o&&R||a:m,modifyFile:i?o&&R||a:m,batchReName:i?o&&R||a:m,generate_update_block_symbol:i?o&&R||a:m,place_block_symbol:i?o&&R||a:m,clear_designator:i?o&&R||a:m,clone:i?o?D:a:u,deleteFile:i?o&&N||a:p,open_in_workspace:x,move_project:c,version_manager_container:!I,version_control:(_=Pr)==null?void 0:_.hadNode,new_CCB:o?A:d,cbb_saveAs_cloud:i?o?D:a:u,cbb_saveAs_local:i?o?E:a:w,view_schema:x&&h,edit:I?!1:x&&f,member:I||M||iT?!1:x&&h,attachment:x&&h,transfer:I||M||iT?!1:x&&b,share:n&&n.exam_info?!1:S?x:f,version_manager:x&&h,lock:I||M?!1:x&&g,unlock:x&&g,delete_project:I||M?!1:x&&y,quit_project:I||M?!1:x&&!!T,new_version:m,switch_version:m},k={view_schema:!0,edit:!0,member:!0,attachment:!0,transfer:!0,share:!_t,version_manager:!0,view_homePage:n&&!!n.public,lock:!n.archive,unlock:n.archive,delete_project:y,quit_project:I||M?!1:!y&&!!T,new_version:m,switch_version:m};for(let j in k)t[j]?t[j].visible=t[j].visible&&k[j]:t[j]={visible:k[j],disabled:!v[j]};for(let j in v)P(j,v[j]);return t;function P(j,B){t[j]?t[j].disabled=t[j].disabled||!B:t[j]={visible:!1,disabled:!B}}}var hIo=(t,e)=>Array.isArray(e)?e.some(i=>st[i]===t):t===st[e];var OIo=L(Wbe());var RIo=L(Wbe()),_Io=L(eC()),dR=L(Se());var gIo="Don't show again",bIo="Show the current version is later than the updated version of the update",yIo="Show updates to public library",wIo="Link selected associated block symbols, schematics and PCB",Knt=["All","Schematic","PCB","Block Symbol"];var CIo="dxdOrigin",xIo="dxdOrigin_updated";var JW={BelongPublicLib:"include those belonging to the public library",curLaterThanUpdated:"include the current version is later than the updated version",operateCarefully:"Please operate carefully",contentToUpdate:"The contents to be updated"};async function SIo(t=!0){let e=new LD;t&&await C.messageBus.rpcCall(Pd.PUBLIC.FORCE),await C.messageBus.rpcCall(Pd.PUBLIC.UPDATE_TEAM);let i=(await C.messageBus.rpcCall(Pd.SCHEMATIC.GET)).message.result,o=Object.keys(i).length,r=(await C.messageBus.rpcCall(Pd.PCB.GET)).message.result,n=Object.keys(r).length,a=(await C.messageBus.rpcCall(Pd.BLOCK_SYMBOL.GET)).message.result,s=Object.keys(a).length,l=o<=0&&n<=0&&s<=0,c=mt.getCacheObj("ui/updateReuseBlockDialog/showLaterCurVersion"),d=mt.getCacheObj("ui/updateReuseBlockDialog/linkSelect"),u=mt.getCacheObj("ui/updateReuseBlockDialog/publicLibUpdate"),p={};return p[C.currentProject.projectId]=await e.getImages(C.currentProject.projectId),await Ro(i,async(m,h,f)=>{let[g,b]=h.source.split("|");h.origin.uuid=g,h.origin.project_uuid=b,p[b]||(p[b]=await e.getImages(b))}),await Ro(r,async(m,h,f)=>{let[g,b]=h.source.split("|");h.origin.uuid=g,h.origin.project_uuid=b,p[b]||(p[b]=await e.getImages(b))}),await Ro(a,async(m,h,f)=>{let[g,b]=h.source.split("|");p[b]||(p[b]=await e.getImages(b))}),{canUpdate:!l,data:{sch:i,pcb:r,reuseblock:a},preference:{showLaterCurVersion:c,linkSelect:d,publicLibUpdate:u},previewImage:p}}function MIo({sch:t,pcb:e,reuseblock:i}){let o=[],r=[],n=[],a=[];for(let l in i){let c=i[l],d=ue.formatDate2(+c.version*1e3),u=ue.formatDate2(+c.updateTime*1e3),p={name:c.display_title,type:"Block Symbol",currentVersion:d,updateVersion:u,owner:c.owner?c.owner.nickname:"",docType:c.docType,value:c.uuid,id:c.uuid,source:c.source,updateTime:c.updateTime,uuid:c.uuid,version:c.version,isPublic:c.isPublic,isLaterCurVersion:c.isLaterCurVersion,tags:c.tags};c.isPublic&&c.isLaterCurVersion?o.push(p):c.isPublic?n.push(p):c.isLaterCurVersion?r.push(p):a.push(p)}for(let l in t){let c=t[l],d=[CIo,xIo].includes(c.version)?c.version:ue.formatDate2(+c.version*1e3),u=ue.formatDate2(+c.origin.updateTime*1e3),p={name:c.display_name,type:"Schematic",currentVersion:d,updateVersion:u,owner:c.origin.owner?c.origin.owner.nickname:"",value:c.uuid,id:c.uuid,isPublic:c.isPublic,isLaterCurVersion:c.isLaterCurVersion,docType:c.docType,source:c.source,updateTime:c.updateTime,uuid:c.uuid,version:c.version,tags:c.tags};c.isPublic&&c.isLaterCurVersion?o.push(p):c.isPublic?n.push(p):c.isLaterCurVersion?r.push(p):a.push(p)}for(let l in e){let c=e[l],d=ue.formatDate2(+c.version*1e3),u=ue.formatDate2(+c.origin.updateTime*1e3),p={name:c.display_title,type:"PCB",currentVersion:d,updateVersion:u,owner:c.origin.owner?c.origin.owner.nickname:"",value:c.uuid,id:c.uuid,uuid:c.uuid,isPublic:c.isPublic,isLaterCurVersion:c.isLaterCurVersion,docType:c.docType,source:c.source,updateTime:c.updateTime,version:c.version,tags:c.tags};c.isPublic&&c.isLaterCurVersion?o.push(p):c.isPublic?n.push(p):c.isLaterCurVersion?r.push(p):a.push(p)}let s=o.concat(n,r,a);return s.sort((l,c)=>ue.naturalSortComparator(ue.naturalSortSplitor(l.name),ue.naturalSortSplitor(c.name))),s}var MVt={type:function(t,e){return e==="All"?t:t.filter(i=>i.type===e)},name:function(t,e){let i="[\\^$.|?*+()",o="";for(let n=0;n<e.length;n++){let a=e[n];i.includes(a)?o+="\\"+a:o+=a}let r=new RegExp(o,"i");return e?t.filter(n=>r.test(n.name)):t},isShowByUpdateTime:function(t,{isShowPublicLibUpdate:e,isShowLaterCurVersion:i}){return e&&i?t.concat():e?Je?t.filter(o=>!o.isLaterCurVersion):t.filter(o=>!(o.isLaterCurVersion&&!o.isPublic)):i?t.filter(o=>!(o.isPublic&&!o.isLaterCurVersion)):t.filter(o=>!(o.isPublic||o.isLaterCurVersion))}};function IIo(t,{isShowPublicLibUpdate:e,isShowLaterCurVersion:i,name:o,type:r}){let n=t,a=MVt.isShowByUpdateTime(t,{isShowLaterCurVersion:i,isShowPublicLibUpdate:e});return a=MVt.name(a,o),a=MVt.type(a,r),a}function MXr(t){if(t){if(typeof t=="string")return JSON.parse(t).join(":");{let e="";return t.parent_tag&&t.parent_tag.name&&(e+=t.parent_tag.name),t.child_tag&&t.child_tag.name&&(e+=`:${t.child_tag.name}`),e}}}function IXr(t){if(!t)return;let e="";return t.parent_tag&&t.parent_tag.name_cn&&(e+=t.parent_tag.name_cn),t.child_tag&&t.child_tag.name_cn&&(e+=`:${t.child_tag.name_cn}`),e}function LXr(t){me.ext({"zh-hans":t})}var Qbe={Schematic:{getTableRows(t,e){let i=t.sch[e],{display_name:o,origin:r,localSheets:n,originSheets:a}=i,s=vXr({...a},{...n}),l=o===(r==null?void 0:r.display_name),c=[{property:"name",currentVersion:i.display_name,currentVersionUpdateTime:i.updateTime?ue.formatDate2(Number(i.updateTime)*1e3):"",updateVersion:r==null?void 0:r.display_name,updateVersionUpdateTime:r!=null&&r.updateTime?ue.formatDate2(Number(r.updateTime)*1e3):"",class:`${l?"":"redFont"}`,sortValue:l?1:0}],d=[];return s.forEach((u,p)=>{var h,f,g,b,y,w,x;let m=((h=u.local)==null?void 0:h.display_title)===((f=u.source)==null?void 0:f.display_title);d.push({sheets:u,type:"Page",property:Rr({value:"Page{i}",options:{i:p+1}}),currentVersion:(g=u.local)==null?void 0:g.display_title,currentVersionUpdateTime:(b=u.local)!=null&&b.updateTime?ue.formatDate2(Number(u.local.updateTime)*1e3):"",updateVersion:((y=u.source)==null?void 0:y.display_title)||((w=u.source)==null?void 0:w.title),updateVersionUpdateTime:(x=u.source)!=null&&x.updateTime?ue.formatDate2(Number(u.source.updateTime)*1e3):"",class:`${m?"":"redFont"}`,sortValue:m?1:0})}),c.concat(d)}},Page:{async getViewerData({local:t,source:e}){let i={};return t&&(i.curData=t),e&&(i.latestData=e),i}},PCB:{async getCompareData(t,e){let{message:i}=await C.messageBus.rpcCall($e.PCB.GET,[t,C.currentProject.projectId]);return{curData:i,latestData:e.pcb[t].origin}},getTableRows({curData:t,latestData:e}){let i=t.display_title===e.display_title,o=MXr(e.tags),r=IXr(e.tags);return r&&LXr({[o]:r}),[{property:"name",currentVersion:t.display_title,updateVersion:e.display_title,class:`${i?"":"redFont"}`,sortValue:i?1:0}]},async getViewerData({curData:t,latestData:e}){return{curData:(await C.messageBus.rpcCall($e.PCB.GET,[t.uuid,C.currentProject.projectId])).message,latestData:(await C.messageBus.rpcCall(Pd.PUBLIC.GET,["pcb",t.source])).message}}},"Block Symbol":{async getCompareData(t,e){let i=e.reuseblock[t],o=i.origin;return{curData:i,latestData:o}},async getViewerData({curData:t,latestData:e},i){let o=(i[t.project_uuid]||[]).find(l=>l.uuid===t.uuid),[r,n]=t.source.split("|"),a=(i[n]||[]).find(l=>l.uuid===r);if(o!=null&&o.url){let[l]=await Kq([o.url]);o.url=URL.createObjectURL(l)}if(a!=null&&a.url){let[l]=await Kq([a.url]);a.url=URL.createObjectURL(l)}return[{background:"",content:(o==null?void 0:o.url)||""},{background:"",content:(a==null?void 0:a.url)||""}]},getTableRows({curData:t,latestData:e}){let i=t.display_title===(e.display_name||e.name);return[{property:"name",currentVersion:t.display_title,updateVersion:e.display_name||e.name,class:`${i?"":"redFont"}`,sortValue:i?1:0}]}}};function LIo(t){return t.replace(/&/,"&amp;")}function vIo(t){for(let e of t)if(e[0].isPublic)return!0;return!1}function DIo(t){for(let e of t)if(e[0].isLaterCurVersion)return!0;return!1}var PE={sch:{},pcb:{}};function Znt(t){return!!(PE.sch[t]||PE.pcb[t])}function IVt(t,e){let i=[st.PCB,st.CHILDPCB].includes(t),o=Qqe(e);return i&&o}function vXr(t,e){let i=[];return it(e,o=>{let[r,n]=(e[o].source||"").split("|");t.hasOwnProperty(r)?(i.push({local:e[o],source:t[r]}),delete t[r]):i.push({local:e[o]})}),it(t,o=>{i.push({source:t[o]})}),i}var Jnt=L(Vi());var OE=L(Se());var AVt=L(LVt());var Hee=class{constructor(e){this.bheap=new Array;this.count=0;this.comp=e}size(){return this.count}add(e){this.count>0?this.siftUp(this.count,e):this.bheap[0]=e,this.count++}poll(){for(;;)if(this.count>0){this.count--;let e=this.bheap[0];return this.count>0&&this.siftDown(0,this.bheap[this.count]),e}else return null}siftUp(e,i){for(;e>0;){let o=e-1>>>1,r=this.bheap[o];if(this.comp(i,r)>=0)break;this.bheap[e]=r,e=o}this.bheap[e]=i}siftDown(e,i){let o=this.count>>>1;for(;e<o;){let r=(e<<1)+1,n=this.bheap[r],a=r+1;if(a<this.count){let s=this.bheap[a];this.comp(n,s)>0&&(r=a,n=s)}if(this.comp(i,n)<=0)break;this.bheap[e]=n,e=r}this.bheap[e]=i}};var Lk=L(Se());var AIo=L(LVt());var Mx=L(z()),vVt=be.bind(AIo.default.locals);function DVt(t){var u;let e=J(),[i,o]=(0,Lk.useState)(t.isFull);(0,Lk.useEffect)(()=>{o(t.isFull)},[t.isFull]);let r=(0,Lk.useMemo)(()=>!!(t.data&&t.isShowBtns),[t.isShowBtns,t.data]),[n,a]=(0,Lk.useState)([]);(0,Lk.useEffect)(()=>{let p=!1,m=(t.multiplePartSelectList||[]).map((h,f)=>(h.selected&&(p=!0),{...h,selected:!!h.selected}));p||m[0]&&(m[0].selected=!0),a(m)},[t.multiplePartSelectList]);let s=(0,Lk.useMemo)(()=>!1,[t.type,t.btns]),l=(0,Lk.useRef)(null),c=(0,Lk.useRef)({isStart:!1,translate:{x:0,y:0},scale:1}),d=ca({flush:"sync"});return(0,Mx.jsxs)("section",{className:t.className,style:{display:"flex",flexDirection:"column",flex:1,border:"1px solid var(--common-border-color)",backgroundColor:"var(--common-bg-color)"},children:[(0,Mx.jsxs)("div",{style:{position:"relative",display:"flex",alignItems:"center",width:"100%",height:"24px",padding:"0 3px",backgroundColor:r?"#f1f1f1":"transparent"},children:[(0,Mx.jsx)("span",{style:{width:"16px",height:"16px",cursor:"pointer",filter:"var(--common-icon-color)"},className:vVt(i?"ftp-op-resize-full":"ftp-op-resize-normal"),onClick:()=>{var m;let p=!i;o(p),(m=t.onFullChange)==null||m.call(t,p)}}),(0,Mx.jsx)("div",{style:{flex:1,textIndent:"0.5em"},children:(0,Mx.jsx)("span",{children:e(t.title)})}),(0,Mx.jsx)("div",{style:{position:"absolute",right:"8px",display:"flex",gap:"3px"},hidden:!r,children:t.btns.map((p,m)=>(0,Mx.jsx)("button",{className:vVt(["preview-check-btn",p.selected?"selected":""].join(" ")),onClick:()=>{let h=[...t.btns];h.forEach((f,g)=>f.selected=m===g),t.onViewTypeChange(h)},children:p.label},p.label))})]}),(0,Mx.jsxs)("div",{style:{position:"relative",display:"flex",flexDirection:"column",aspectRatio:"1.4",flex:1,padding:"3px"},children:[(0,Mx.jsx)("div",{className:vVt("componentlib-iframe-view-item"),style:{display:s?"block":"none",marginBottom:"2px",border:"1px solid var(--common-border-color)",flex:1}}),!s&&(0,Mx.jsx)("div",{dangerouslySetInnerHTML:{__html:""}}),s?(0,Mx.jsx)("div",{}):(0,Mx.jsx)("div",{ref:l,onWheel:p=>{p.stopPropagation(),c.current.scale+=(p.deltaY>0?-1:1)*.15,c.current.scale<=0?c.current.scale=.15:c.current.scale>1&&(c.current.scale=Number(c.current.scale.toFixed(2))),d()},onPointerDown:p=>{p.button===SK&&(c.current.isStart=!0)},onPointerMove:p=>{c.current.isStart&&(c.current.translate.x+=p.movementX,c.current.translate.y+=p.movementY,d())},onPointerUp:()=>{c.current.isStart=!1},style:{marginBottom:"2px",border:"1px solid var(--common-border-color)",flex:1,overflow:"hidden"},children:(0,Mx.jsx)("div",{style:{position:"relative",width:"100%",height:"100%"},children:typeof t.viewerChild=="function"?t.viewerChild({...c.current}):t.viewerChild})}),n!=null&&n.length?(0,Mx.jsx)("div",{children:(0,Mx.jsx)(xt,{value:(u=n.find(p=>p.selected))==null?void 0:u.value,onChange:p=>{var h;let m=[...n];a(m.map(f=>({...f,selected:p===f.value}))),(h=t.onPartChange)==null||h.call(t,p)},list:n.map(({value:p,selected:m,isNeedless:h})=>{let f=LIo(p),g={};return h&&(g.textDecoration="line-through"),{text:f,value:p,style:g,showOriginalText:!0}})})}):null]})]})}var vl=L(z()),vk=be.bind(AVt.default.locals);var EVt;function DXr(){let t=J(),[e,i]=(0,OE.useState)([]);(0,OE.useEffect)(()=>{let r=[{key:"name",name:t("Name"),sortable:!0,render(a){let{row:s,rowNumber:l,setRowData:c}=a,d=s.name;return(0,vl.jsx)("span",{children:d})}},{key:"type",name:t("Type"),sortable:!0,render(a){let{row:s,rowNumber:l,setRowData:c}=a,d=s.type;return(0,vl.jsx)("span",{"data-test":d,children:t(d)})}},{key:"currentVersion",name:t("Current Version"),sortable:!0,render(a){let{row:s,rowNumber:l,setRowData:c}=a,d=s.currentVersion,u=s.isLaterCurVersion?"redFont":"";return(0,vl.jsx)("span",{className:vk(u),children:d})}},{key:"updateVersion",name:t("Updated Version"),sortable:!0,render(a){let{row:s,rowNumber:l,setRowData:c}=a,d=s.updateVersion,u=s.isLaterCurVersion?"redFont":"";return(0,vl.jsx)("span",{className:vk(u),children:d})}},!Je&&{key:"owner",name:t("Owner"),sortable:!0,render(a){let{row:s,rowNumber:l,setRowData:c}=a,d=s.owner,u=s.isPublic?"redFont":"";return(0,vl.jsx)("span",{className:vk(u),children:d})}}].filter(Boolean),n=1/r.length;r.forEach(a=>a.width=n),i(r)},[Je]);let o=(0,OE.useRef)(null);return(0,OE.useEffect)(()=>{let r=Ds.rows.showing,n=[];r.forEach(c=>{Ds.initialSelectedUuids.includes(c.id)&&n.push(c.name)});let a=Object();r.forEach((c,d)=>{a[c.id]={row:c,index:d}});let s=new Hee((c,d)=>c.index-d.index);r.forEach(c=>{n.includes(c.name)&&s.add(a[c.id])});let l=[];for(;s.size();)l.push(s.poll().row);Ds.setCheckedRows(l),setTimeout(()=>{o.current.toSelectRow(l[0])},100)},[Ds.initialSelectedUuids]),(0,vl.jsx)(xi,{width:679,ref:o,multiSelect:!1,index:"id",columns:e,rows:Ds.rows.showing,border:!0,rowHeight:25,stockade:!0,fixedHeader:!0,onClick:({allSelectedRowIndexValues:r,editingRowNumbers:n,clickObj:a,row:s})=>{EVt=s.type==="Schematic",Ds.setPreviewRowInfo(r.has(s.id)?{uuid:s.id,type:s.type}:null)},onChange:r=>{},style:{height:"100%",overflow:"auto"},checkbox:!0,checkedList:Ds.checkedRows,onAllChecked:(r,n)=>{n?Ds.setCheckedRows(r):Ds.setCheckedRows([])},onCheckRow:(r,n,a)=>{if(!a.row){r.forEach(l=>{l.checked=!0});return}let s=[];Ds.linkSelect.checked?a.row.checked?(s=r,Ds.rows.showing.forEach(l=>{l.name===a.row.name&&!s.find(c=>c.uuid===l.uuid)&&s.push(l)})):r.forEach(l=>{l.name!==a.row.name&&s.push(l)}):s=r,s.forEach(l=>{l.checked=!0}),JSON.stringify(s)!==JSON.stringify(Ds.checkedRows)&&Ds.setCheckedRows(s)}})}function EXr(){let t=J(),e=(0,OE.useRef)(null);return(0,vl.jsxs)("section",{style:{display:"flex",flexDirection:"column",width:"704px",height:"100%"},children:[(0,vl.jsxs)("section",{style:{display:"flex",alignItems:"center",width:"100%",height:"35px",boxSizing:"border-box"},children:[(0,vl.jsxs)("div",{style:{display:"inline-flex",alignItems:"center"},children:[(0,vl.jsxs)("span",{"data-test":"Name",style:{whiteSpace:"nowrap",marginRight:"3px"},children:[t("Name"),":"]}),(0,vl.jsx)("input",{value:Ds.searchValue,type:"text",onInput:i=>{Ds.setSearchValue(i.target.value)}})]}),(0,vl.jsxs)("div",{style:{display:"inline-flex",alignItems:"center",marginLeft:"8px"},children:[(0,vl.jsxs)("span",{"data-test":"Type",style:{whiteSpace:"nowrap",marginRight:"3px"},children:[t("Type"),":"]}),(0,vl.jsx)(xt,{style:{width:"120px"},ref:e,value:Ds.selectType,list:Knt.map(i=>({text:t(i),value:i})),onChange:i=>{Ds.setSelectType(i)}})]})]}),(0,vl.jsx)("section",{style:{flex:1},children:(0,vl.jsx)("div",{style:{height:"100%",border:"1px solid var(--common-border-color)",boxSizing:"border-box"},children:(0,vl.jsx)(DXr,{})})})]})}function AXr(){var c,d;let t=J(),[e,i]=(0,OE.useState)([]);(0,OE.useEffect)(()=>{NXr(EVt,i,t)},[EVt]);let[o,r]=(0,OE.useState)({}),[n,a]=(0,OE.useState)(!1),s=u=>{a(u)};(0,OE.useEffect)(()=>{r(n?{position:"absolute",left:0,top:0,width:"100%",zIndex:1111,backgroundColor:"#fff"}:{})},[n]);let l=ca();return(0,vl.jsx)("section",{style:{display:"flex",flexDirection:"column",width:"536px",height:"100%"},children:(0,vl.jsxs)("section",{style:{display:"flex",flexDirection:"column",flex:1,height:"100%"},children:[(0,vl.jsx)("div",{style:{height:"215px",marginTop:"35px",marginBottom:"12px"},children:(0,vl.jsxs)("div",{style:{display:"flex",height:"100%",...o},children:[(0,vl.jsx)(DVt,{type:(c=Ds.previewRowInfo)==null?void 0:c.type,className:vk("current-version-viewer"),title:"Current Version",isFull:n,onFullChange:s,multiplePartSelectList:null,onPartChange:u=>{},btns:[],onViewTypeChange:u=>{},viewerChild:u=>{let{background:p,content:m}=Ds.previewData.current.viewer||{},h=m||"";return h.startsWith("/storage/image/")&&(h=m+"?"+Ds.openTime),(0,vl.jsx)("div",{id:"update-reuse-block-dialog-cur-preview",style:{width:"100%",height:"100%",transform:"translate(0,0) scale(1)",backgroundColor:p||"transparent",backgroundSize:Array(2).fill(u.scale*100+"%").join(" "),backgroundPosition:[u.translate.x,u.translate.y].map(f=>f+"px").join(" "),backgroundImage:`url(${h})`,backgroundRepeat:"no-repeat"}})}}),(0,vl.jsx)(DVt,{type:(d=Ds.previewRowInfo)==null?void 0:d.type,className:vk("latest-version-viewer"),title:"Updated Version",isFull:n,onFullChange:s,multiplePartSelectList:null,onPartChange:u=>{},btns:[],onViewTypeChange:u=>{},viewerChild:u=>{let{background:p,content:m,project_uuid:h}=Ds.previewData.latest.viewer||{},f=m||"";return f.startsWith("/storage/image/")&&(f=m+"?"+Ds.openTime),(0,vl.jsx)(vl.Fragment,{children:!m&&h?(0,vl.jsx)("div",{style:{width:"100%",height:"100%",backgroundColor:"#e2e2e2"},children:(0,vl.jsx)("div",{className:vk("cbb-tips"),children:(0,vl.jsx)("a",{onDoubleClick:g=>{g.stopPropagation(),Rv(h)},children:t("Double-click to view the reuse block project")})})}):(0,vl.jsx)("div",{style:{width:"100%",height:"100%",transform:"translate(0,0) scale(1)",backgroundColor:p||"transparent",backgroundSize:Array(2).fill(u.scale*100+"%").join(" "),backgroundPosition:[u.translate.x,u.translate.y].map(g=>g+"px").join(" "),backgroundImage:`url(${f})`,backgroundRepeat:"no-repeat"}})})}})]})}),(0,vl.jsx)("div",{style:{height:"100%"},children:(0,vl.jsx)(xi,{width:536,multiSelect:!1,index:"property",columns:e,rows:Ds.previewData.tableRows,rowHeight:25,border:!0,stockade:!0,fixedHeader:!0,style:{height:"100%",overflow:"auto"},onClick:({allSelectedRowIndexValues:u,editingRowNumbers:p,clickObj:m,row:h})=>{Ds.setPreviewRowInfo(u.has(h.property)?{sheets:h.sheets,type:h.type}:null)}})})]})})}function NIo(){Ae(AVt.default),Ce(Ds);let t=J();return(0,vl.jsxs)("section",{style:{position:"relative",display:"flex",gap:"8px",height:"100%"},children:[(0,vl.jsx)(EXr,{}),(0,vl.jsx)(AXr,{})]})}function NXr(t,e,i){if(t){let o=[{key:"Property",name:i("Property"),render(n){let{row:a,rowNumber:s,setRowData:l}=n,c=a.property;return(0,vl.jsx)("span",{"data-test":c,children:i(c)})}},{key:"Current Version",name:i("Current Version"),render(n){let{row:a,rowNumber:s,setRowData:l}=n,c=a.currentVersion,d=typeof a.class=="string"?a.class:a.class.current;return(0,vl.jsx)("span",{className:vk(d),children:c})}},{key:"Current Version Update Time",name:i("Current Version Update Time"),render(n){let{row:a,rowNumber:s,setRowData:l}=n,c=a.currentVersionUpdateTime,d=typeof a.class=="string"?a.class:a.class.current;return(0,vl.jsx)("span",{className:vk(d),children:c})}},{key:"Updated Version",name:i("Updated Version"),render(n){let{row:a,rowNumber:s,setRowData:l}=n,c=a.updateVersion,d=typeof a.class=="string"?a.class:a.class.latest;return(0,vl.jsx)("span",{className:vk(d),children:c})}},{key:"Update Version Update Time",name:i("Update Version Update Time"),render(n){let{row:a,rowNumber:s,setRowData:l}=n,c=a.updateVersionUpdateTime,d=typeof a.class=="string"?a.class:a.class.current;return(0,vl.jsx)("span",{className:vk(d),children:c})}}],r=1/o.length;o.forEach(n=>n.width=r),e(o)}else{let o=[{key:"Property",name:i("Property"),render(n){let{row:a,rowNumber:s,setRowData:l}=n,c=a.property;return(0,vl.jsx)("span",{"data-test":c,children:i(c)})}},{key:"Current Version",name:i("Current Version"),render(n){let{row:a,rowNumber:s,setRowData:l}=n,c=a.currentVersion,d=typeof a.class=="string"?a.class:a.class.current;return(0,vl.jsx)("span",{className:vk(d),children:c})}},{key:"Updated Version",name:i("Updated Version"),render(n){let{row:a,rowNumber:s,setRowData:l}=n,c=a.updateVersion,d=typeof a.class=="string"?a.class:a.class.latest;return(0,vl.jsx)("span",{className:vk(d),children:c})}}],r=1/o.length;o.forEach(n=>n.width=r),e(o)}}var Uy=L(z());function kIo(){let t=J();Ce(Ds);function e(){let o=Ds.getCheckedGridData(),r=[],n=vIo(o),a=DIo(o);return n&&r.push((0,Uy.jsxs)("div",{style:{padding:"8px 0"},children:[n&&a?"1.":"",(0,Uy.jsx)("span",{"data-test":JW.BelongPublicLib,children:t(JW.BelongPublicLib)})]})),a&&r.push((0,Uy.jsxs)("div",{style:{padding:"8px 0"},children:[n&&a?"2.":"",(0,Uy.jsx)("span",{"data-test":JW.curLaterThanUpdated,children:t(JW.curLaterThanUpdated)})]})),r}async function i(){if(Ds.confirmDiabled)return;let o=e();o.length?Dt({title:"Notice",icon:"none",closed:!0,id:"updateDataNotice",content:(0,Uy.jsxs)(Uy.Fragment,{children:[(0,Uy.jsxs)("div",{style:{fontWeight:700,padding:"8px 0"},"data-test":JW.contentToUpdate,children:[t(JW.contentToUpdate),":"]}),o,(0,Uy.jsx)("div",{style:{padding:"8px 0"},"data-test":JW.operateCarefully,children:t(JW.operateCarefully)})]}),isHtml:!1,showCancel:!0,height:"auto",onConfirm:()=>{Ds.confirmUpdate()}}):await Ds.confirmUpdate()}return(0,Uy.jsxs)("footer",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"},children:[(0,Uy.jsxs)("div",{children:[_t?"":(0,Uy.jsx)(qt,{checked:Ds.publicLibUpdate.checked,children:t(yIo),onChange:o=>{Ds.setPublicLibUpdateChecked(o)},style:{marginRight:"8px",display:Ds.publicLibUpdate.isShow?"inline-flex":"none"}}),(0,Uy.jsx)(qt,{checked:Ds.showLaterCurVersion.checked,children:t(bIo),onChange:o=>{Ds.setShowLaterCurVersionChecked(o)},style:{marginRight:"8px",display:Ds.publicLibUpdate.isShow?"inline-flex":"none"}}),(0,Uy.jsx)(qt,{checked:Ds.linkSelect.checked,children:t(wIo),onChange:o=>{Ds.setLinkSelectChecked(o)}})]}),(0,Uy.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,Uy.jsx)(qt,{style:{display:Ds.notShowAgain.isShow?"inline-flex":"none"},checked:Ds.notShowAgain.isChecked,children:t(gIo),onChange:o=>{Ds.handleNotShowAgain(o)}}),(0,Uy.jsx)(Me,{type:"primary",disabled:Ds.confirmDiabled,onClick:()=>{i()},style:{marginRight:"8px",marginLeft:"20px"},children:"Confirm"}),(0,Uy.jsx)(Me,{type:"default",disabled:!1,onClick:()=>{Ds.cancel()},children:"Cancel"})]})]})}var kVt=L(z()),NVt=class extends qe{constructor(){super();this.id="update-reuse-block-lib";this.checkedRows=[];this.rows={all:[],showing:[]};this.placeArgs=null;this.initialSelectedUuids=[];this.selectType=Knt[0];this.searchValue="";this.previewRowInfo=null;this.previewData={current:{viewer:{background:"",content:""}},latest:{viewer:{background:"",content:""}},tableRows:[]};this.handlePreviewData=async()=>{var i;(i=this.previewRowInfo)!=null&&i.type&&(this.resetPreviewData(this.previewRowInfo.type),await this.previewDataHandlers[this.previewRowInfo.type]()),this.notify()};this.previewDataHandlers={Schematic:async()=>{if(!this.previewRowInfo)return;let o=Qbe.Schematic.getTableRows(this.data,this.previewRowInfo.uuid);this.previewData.tableRows=o,await this.handleSchPagePreview(o[1].sheets)},Page:async()=>{if(!this.previewRowInfo)return;let i=Qbe.Page;await this.handleSchPagePreview(this.previewRowInfo.sheets)},PCB:async()=>{if(!this.previewRowInfo)return;let i=Qbe.PCB,o;o=await i.getCompareData(this.previewRowInfo.uuid,this.data);let{curData:r,latestData:n}=await i.getViewerData(o),a=r.thumb;if(!a){let c=(this.previewImage[r.project_uuid]||[]).find(d=>d.uuid===r.uuid);a=c==null?void 0:c.url,a||(a="",this.getPCBPng(r))}let s=n==null?void 0:n.thumb;if(!s&&(s="",r.source)){let[c,d]=r.source.split("|");if(d&&c){let u=(this.previewImage[d]||[]).find(p=>p.uuid===c);s=u==null?void 0:u.url}}if(a){let[c]=await Kq([a]);this.previewData.current.viewer.content=URL.createObjectURL(c)}if(s){let[c]=await Kq([s]);this.previewData.latest.viewer.content=URL.createObjectURL(c)}let l=i.getTableRows(o);this.previewData.tableRows=l},"Block Symbol":async()=>{if(!this.previewRowInfo)return;let i=Qbe["Block Symbol"],o;o=await i.getCompareData(this.previewRowInfo.uuid,this.data);let[r,n]=await i.getViewerData(o,this.previewImage);if(!r.content){let{curData:s}=o;r.content=await this.getSchPng(s)}this.previewData.current.viewer=r,this.previewData.latest.viewer=n;let a=i.getTableRows(o);this.previewData.tableRows=a}};this.publicLibUpdate={get isShow(){return!Je},checked:!0};this.showLaterCurVersion={isShow:!0,checked:!0};this.linkSelect={isShow:!0,checked:!0};this.notShowAgain={isChecked:!1,isShow:!1};this.previewImageTool=new LD}get confirmDiabled(){return this.checkedRows.length===0}setCheckedRows(i){this.checkedRows=i,this.notify()}setSelectType(i){i!==this.selectType&&(this.selectType=i,this.filterTableRows(),this.notify())}setSearchValue(i){i!==this.searchValue&&(this.searchValue=i,this.filterTableRows(),this.notify())}setPreviewRowInfo(i){i!==this.previewRowInfo&&(this.previewRowInfo=i,this.handlePreviewData())}resetPreviewData(i){this.previewData={current:{viewer:{background:"",content:""}},latest:{viewer:{background:"",content:""}},tableRows:i==="Page"?this.previewData.tableRows:[]}}async handleSchPagePreview(i){let{curData:o,latestData:r}=await Qbe.Page.getViewerData(i),n=o==null?void 0:o.thumb;if(!n){let s=(this.previewImage[o.project_uuid]||[]).find(l=>l.uuid===o.uuid);n=s==null?void 0:s.url,n||(n="",n=await this.getSchPng(o))}let a=r==null?void 0:r.thumb;if(!a&&(a="",o.source)){let[s,l]=o.source.split("|");if(l&&s){let c=(this.previewImage[l]||[]).find(d=>d.uuid===s);a=c==null?void 0:c.url}}if(n){let[s]=await Kq([n]);this.previewData.current.viewer.content=URL.createObjectURL(s)}if(a){let[s]=await Kq([a]);this.previewData.latest.viewer.content=URL.createObjectURL(s)}this.previewData.latest.viewer.project_uuid=r==null?void 0:r.project_uuid}setPublicLibUpdateChecked(i){mt.savePreference("ui/updateReuseBlockDialog/publicLibUpdate",i),i!==this.publicLibUpdate.checked&&(this.publicLibUpdate.checked=i,this.filterTableRows(),this.notify())}setShowLaterCurVersionChecked(i){mt.savePreference("ui/updateReuseBlockDialog/showLaterCurVersion",i),i!==this.showLaterCurVersion.checked&&(this.showLaterCurVersion.checked=i,this.filterTableRows(),this.notify())}setLinkSelectChecked(i){mt.savePreference("ui/updateReuseBlockDialog/linkSelect",i),i!==this.linkSelect.checked&&(this.linkSelect.checked=i,this.filterTableRows(),this.notify())}handleNotShowAgain(i){if(!this.notShowAgain.isShow)return;this.notShowAgain.isChecked=i,this.notify();let o=C.profileSetting.commSystemSetting,n=o.SYSTEM.isShowSymbol;if(i){let a=()=>{n.value=!1,mt.savePreference("commSystemSetting",o)},s=()=>{n.value=!0,this.notShowAgain.isChecked=!1,this.notify(),mt.savePreference("commSystemSetting",o)};Dt({id:"update-component-lib-notshowagain",title:"Notice",icon:"warning",content:"Open project will not check the library updated or not, you can enable it again at: Top Menu - Setting - System Setting.",onConfirm(){a()},onCancel(){s()},onClose(){s()}})}else n.value=!0,mt.savePreference("commSystemSetting",o)}filterTableRows(){this.rows.showing=IIo(this.rows.all,{isShowPublicLibUpdate:this.publicLibUpdate.checked,isShowLaterCurVersion:this.showLaterCurVersion.checked,name:this.searchValue,type:this.selectType});let i=new Set(this.checkedRows);this.rows.showing.forEach(o=>{i.has(o)?o.checked=!0:o.checked=!1})}async open(i){this.openCore(i).then(o=>{o&&le.open({id:Ds.id,width:1278,height:640,title:"Update Reuse Block",onKeyup(r){},onCancel(){},onOk(){},esc:!0,mask:!0,footer:(0,kVt.jsx)(kIo,{}),children:(0,kVt.jsx)(NIo,{}),folded:!0})})}async openCore({params:{needUpdateSymbolData:i=!0,silentIfNone:o=!1},args:r=ks}){this.openTime=Date.now();let{canUpdate:n,data:a,preference:s,previewImage:l}=await SIo(i);this.previewImage=l,s.showLaterCurVersion!==void 0&&(this.showLaterCurVersion.checked=s.showLaterCurVersion),s.publicLibUpdate!==void 0&&(this.publicLibUpdate.checked=s.publicLibUpdate),s.linkSelect!==void 0&&(this.linkSelect.checked=s.linkSelect),this.data=a,this.rows.all=MIo(a),this.filterTableRows();let c=!0;n?V_(this.rows.showing)&&o&&(De({type:"info",msg:"No libraries need to be updated",timer:3}),c=!1):(De({type:"info",msg:"No libraries need to be updated",timer:3}),c=!1),this.resetPreviewData();let d=(0,Jnt.default)(".current-version-viewer .componentlib-iframe-view-item"),u=(0,Jnt.default)(".latest-version-viewer .componentlib-iframe-view-item");return d.html(""),u.html(""),this.rows.all.some(p=>{if(p.isPublic)return Ot("warn",Ti("The contents to be updated include those belonging to the public library. Please operate carefully")),!0}),this.notShowAgain.isShow=!!r.initPrj,r.uuid&&(this.initialSelectedUuids=[r.uuid]),r.placeArgs&&(this.placeArgs=r.placeArgs),c}getCheckedGridData(){return this.checkedRows.map(i=>{let o=[];return o[2]=i.type,o[0]={id:i.id,uuid:i.id,isLaterCurVersion:i.isLaterCurVersion,isPublic:i.isPublic,source:i.source,updateTime:i.updateTime,docType:i.docType,dataStr:i.dataStr||"",name:i.name,tags:i.tags},o[5]=i.source,o[9]=i.updateTime,o[6]=i.docType,o[7]=i.dataStr||"",o[1]=i.name,o[11]=i.tags,i.docType===se.BLOCK_SYMBOL&&(o[12]=i.name),o})}async confirmUpdate(){let i=[],o=[],r=[];this.getCheckedGridData().forEach(l=>{switch(l[2]){case"Schematic":i.push(l);break;case"PCB":r.push(l);break;case"Block Symbol":o.push(l);break}});let a={};i.length&&(a.schematics=[],it(i,(l,c)=>{let d=c[0];a.schematics.push({uuid:d.uuid,title:d.name,source:d.source})})),r.length&&(a.pcbs=[],it(r,(l,c)=>{let d=c[0];a.pcbs.push({uuid:d.uuid,title:d.name,source:d.source})})),o.length&&(a.blockSymbols=[],it(o,(l,c)=>{let d=c[0];a.blockSymbols.push({uuid:d.uuid,title:d.name,source:d.source})})),Object.values(a||{}).length&&await C.messageBus.rpcCall(qr.UPDATE_REUSE_BLOCK,{uuid:C.currentProject.projectId,datas:a}),a.schematics&&a.schematics.length>0&&a.schematics.forEach(l=>{delete PE.sch[l.uuid]}),a.pcbs&&a.pcbs.length>0&&a.pcbs.forEach(l=>{delete PE.pcb[l.uuid]}),o.length&&o.forEach(l=>{let c=Fp(l[0].uuid,C.currentProject.projectId);he.getTabById(c)&&(he.closeTopTab(c,!0),yn({tabId:c}))}),this.close()}cancel(){this.close()}close(){if(le.close(this.id),Ds.notShowAgain.isChecked=!1,this.placeArgs){let[i,o,r,n,a,s]=this.placeArgs;eX(i,o,r,n,s,!1),this.placeArgs=null}}async getPCBPng(i){return new Promise(async o=>{let r=document.createElement("div");document.body.appendChild(r);let{message:n}=await C.messageBus.rpcCall($e.PCB.GET,[i.uuid,C.currentProject.projectId]);await ase(n,(0,Jnt.default)(r),void 0,async a=>{let s=await this.previewImageTool.generatePreviewImagePcbCore(Fp(i.uuid),C.currentProject.projectId,a,!0);document.body.removeChild(r);let l=document.getElementById("update-reuse-block-dialog-cur-preview");if(l.style.getPropertyValue("background-image")==='url("")'){let c=s||"";c.startsWith("/storage/image/")&&(c=s+"?"+Ds.openTime),l.style.setProperty("background-image",`url(${c})`)}o(s)})})}async getSchPng(i){if(!i)return"";let o=Fp(i.uuid,i.project_uuid);return await this.previewImageTool.generatePreviewImageSch(o,i.project_uuid,se.SCH,!0)}},Ds=new NVt;function qnt(t,e){e!=null&&e.needTipModal?Dt({title:"Warning",content:"This action will clear the history, You will not be able to undo/redo the previous action. Do you want to continue?",confirmText:"Yes",cancelText:"No",showCancel:!0,icon:"question",closed:!0,esc:!0,onConfirm:()=>{i()}}):i();function i(){Ds.open(t)}}var W4=L(z());function kXr(t,e){var i,o,r,n,a,s,l,c,d;switch(t.treeNodeType){case st.PRJ:case st.BOARDS:case st.SYMBOLS:case st.REUSEBLOCKS:case st.SHORTSYMBOLS:case st.NETPORTS:case st.NETFLAGS:case st.NONEELECSYMBOLS:case st.COMBINATIONS:case st.OTHER:case st.NETLABELS:case st.NETS:case st.MASKREGIONS:case st.OFFPAGECONNECTORS:return`${e(t.title)}`;case st.BOARD:return`${e(Nt?{context:"ECAD",value:"Box"}:"Board")}: ${t.title}`;case st.SCH:case st.BLOCK:return`${e("Schematic")}: ${t.title}`;case st.SHEET:{let{path:u,uuid:p}=t,m=l0.getSheetCheckOutType(p);return zU()||ol(u)||m!=="others"?`${e("Page")}: ${t.title}`:`${e("Page")}: ${t.title} 
${e("Checkout Person")}: ${Xnt(t)}`}case st.NGSPICE:case st.SIMULIDE:{let{path:u,uuid:p}=t,m=l0.getSheetCheckOutType(p);return zU()||m!=="others"?`${e("Simulation")}: ${t.title}`:`${e("Simulation")}: ${t.title} 
${e("Checkout Person")}: ${Xnt(t)}`}case st.MULTIPART:case st.SYMBOL:return C.leftProjectDesignActiveTab==="root"?`${t.title}`:`${e("Designator")}: ${((i=t.contentData)==null?void 0:i.designator)||t.text} 
 ID: ${(o=t.contentData)==null?void 0:o.ID} 
 ${e("Comment")}: ${(r=t.contentData)==null?void 0:r.comment} 
 ${e("Page")}: ${(n=t.contentData)==null?void 0:n.currentPage}`;case st.BLOCK_SYMBOL:return`${t.title}`;case st.NET:return`${e("NET")}: ${t.title}`;case st.BUS:return`${e("Bus")}: ${t.title}`;case st.PANEL:{let{path:u,uuid:p}=t,m=l0.getSheetCheckOutType(p);return zU()||m!=="others"?`${e("Panel")}: ${t.title}`:`${e("Panel")}: ${t.title} 
${e("Checkout Person")}: ${Xnt(t)}`}case st.PCB:case st.CHILDPCB:{let{uuid:u}=t,p=l0.getSheetCheckOutType(u);return zU()||p!=="others"?e(Nt?"Mounting plate":"PCB")+": "+t.title:`${e(Nt?"Mounting plate":"PCB")}: ${t.title} 
${e("Checkout Person")}: ${Xnt(t)}`}case st.RECT:case st.POLYLINE:case st.CIRCLE:case st.ARC:case st.IMAGE:case st.TEXT:case st.BEZIER:case st.ELLIPSE:case st.NETFLAG:case st.NETPORT:case st.SHORTSYMBOL:case st.NONEELECSYMBOL:case st.NETLABEL:return t.title;case st.NETTREENODE:return`${e("Wire Name")}: ${(a=t.contentData)==null?void 0:a.net} 
 ID: ${((s=t.contentData)==null?void 0:s.path)||t.text} 
 ${e("Global Net Name")}: ${((l=t.contentData)==null?void 0:l.globalNet)||((c=t.contentData)==null?void 0:c.nlNet)} 
 ${e("Page")}: ${(d=t.contentData)==null?void 0:d.currentPage}`}}function Xnt(t){let{uuid:e,path:i}=t,o="";if(ol(i))return o;if(l0.getSheetCheckOutType(e)==="others"){let n=l0.getLockUserBySheetId(e),{realName:a,nickName:s,userName:l}=l0.getLockUserData(n);a?o=a===l?a:a+`(${l})`:o=s===l?s:s+`(${l})`}return o}function jIo({item:t,index:e,hoverId:i,onMouseOver:o,onMouseLeave:r,onContextMenu:n,isReName:a,onMouseDown:s,onMouseMove:l,dragState:c,searchFilterValue:d="",startIndex:u,changeReNameStatus:p,activeTabType:m}){let{id:h,path:f,treeNodeType:g,title:b,text:y,marginSize:w,_childLen:x,expanded:S,selected:T,uuid:M,crossCheckStatus:I,contentData:A}=t;Ae(OIo.default),Ce(Pr);let D=J(),E=be.bind(RIo.default.locals),N=be.bind(_Io.default.locals),[R,v]=(0,dR.useState)(SVt(y,g)),[k,P]=(0,dR.useState)(1),O=(0,dR.useRef)(null),_=(0,dR.useRef)(null),j=(0,dR.useRef)(null),B=(0,dR.useRef)(!1),G=Array.from({length:w},(ye,Le)=>Le+1).map(ye=>(0,W4.jsx)("span",{className:E("tree-indent")},ye)),Q=(0,dR.useRef)(1),H=[st.SCH,st.PCB,st.BLOCK].includes(g)&&Znt(M),q=`${E("tree-indent")}  ${E("tree-join")}`,U=`${E("tree-hit")} ${E("tree-expanded")}`,F=`${E("tree-hit")} ${E("tree-collapsed")}`,K=`${E("tree-node")} ${T?E("tree-node-selected"):""}  ${g===st.SHEET?E("droppable12"):""} ${i&&i===f?E("tree-node-auto-hover"):""} ${E(c)}`,te=`${x<1?q:S?U:F}`,ae=N(IKe(t)),pe="none";A8(g,["SHEET","PCB","PANEL","CHILDPCB","NGSPICE","SIMULIDE"])&&!zU()&&(ol(f)?pe="none":pe=l0.getSheetCheckOutType(M));let Z=N(GZe(pe)),ee=N(`icon-eda-move-up ${IVt(g,h)?"disabled":""}`),ce=`${E("tree-title")} ${I?E("cross-check"):""}`,ne=A8(g,["SYMBOLS","REUSEBLOCKS","NETPORTS","NETFLAGS","SHORTSYMBOLS","NONEELECSYMBOLS","NETS","SYMBOLCOLLECT","NETTREENODE","COMBINATIONS","COMBINATIONROOTNODE","OTHER","NETLABELS","MASKREGIONS","OFFPAGECONNECTORS"])||m===ar.SYMBOLROOT&&g===st.SCH&&!a,oe=(ye,Le)=>{let Re=parseInt(u)+e;ye.detail===2?(clearTimeout(j.current),Le.treeNodeType===st.PCB||Le.treeNodeType===st.CHILDPCB?(C.leftTreeDbClickId.push(Le.id),Ud(Le.id,{isPartition:Le.treeNodeType==st.CHILDPCB})):Le.treeNodeType===st.PANEL?(C.leftTreeDbClickId.push(Le.id),yn({uuid:Le.id})):C.messageBus.publish("leftTreeDblclick",{index:Re}),ye.stopPropagation()):(clearTimeout(j.current),j.current=setTimeout(()=>{(0,PIo.default)(ye.target).has("input").length<1&&C.messageBus.publish("leftTreeClick",[ye.shiftKey&&ye.ctrlKey?"ctrl|shift":ye.shiftKey?"shift":ye.ctrlKey?"ctrl":"",Re])},260),ye.stopPropagation())},re=ye=>{let Le=parseInt(u)+e;C.messageBus.publish("leftTreeHitClick",Le),ye.stopPropagation()},Y=ye=>{let Le=ye.target.value,Re=Owe(Le),Ne=_.current.offsetWidth-O.current.offsetLeft-30;O.current.style.width=Math.min(Re,Ne)+"px",B.current=!0,v(Le)},X=ye=>{let Le=g===st.SHEET&&!B.current?ye.substring(ye.indexOf(".")+1):ye;return B.current?Le:Le.trim()},ie=ye=>ye?ye.length>15?ye.slice(0,15)+"...":ye:null,de=async ye=>{let Le=document.getElementById("lc-tips-modal-id");if(Le&&getComputedStyle(Le).visibility==="visible"&&getComputedStyle(Le).display!=="none")return!1;let Re=ye.target.value.trim(),Ne=C.currentProject.projectId,Te=A8(g,["SHEET"])?y.split(".")[0]:"",Pe=A8(g,["SHEET"])?`${Te}.${Re}`:Re;if(!dh(Re,1))return B.current=!1,p(""),!1;if(y!==Pe){let Oe=parseInt(u)+e;B.current=!0;let Ue=(await C.messageBus.rpcCall("leftTreeUpdataName",[Oe,Re,y,Ne])).message;v(A8(g,["SHEET"])?`${Te}.${Ue}`:Ue),B.current=!1}else v(Pe);C.messageBus.publish("leftTreeReName","")};(0,dR.useEffect)(()=>{var ye;if(a||(B.current=!1),B.current||(ye=O.current)==null||ye.select(),a){let Le=Owe(B.current?R:y),Re=_.current.offsetWidth-O.current.offsetLeft-30;O.current.style.width=Math.min(Le,Re)+"px"}},[a]);let fe=(ye,Le)=>{let Re=`${zMe(g)?D(ye):ye}`;if(Re.length>20&&g===st.TEXT&&(Re=Re.substring(0,20)+"..."),Le){if(Le){let Ne=Le.replace(/[\$\?\.\*\+\(\)\[\]\|\\]/g,Oe=>"\\"+Oe),Te=new RegExp(Ne,"i");return Re.replace(Te,Oe=>`<span class=${E("hightlight")}>${Oe}</span>`)}}else return Re};return(0,W4.jsx)("li",{ref:_,children:(0,W4.jsxs)("div",{className:K,"node-id":h,"data-path":f,"node-type":g,title:ue.htmlEncode(kXr(t,D)),onClick:ye=>{oe(ye,t)},onMouseLeave:ye=>r&&r(ye,t),onMouseOver:ye=>o&&o(ye,t),onMouseDown:ye=>s&&s(ye,t),onMouseMove:ye=>l&&l(ye,t),onContextMenu:ye=>n&&n(ye,t),children:[G,(0,W4.jsx)("span",{className:te,onClick:ye=>{re(ye)}}),pe!=="none"&&(0,W4.jsx)("span",{className:`${Z} tree-icon`}),(0,W4.jsx)("span",{className:`${ae} tree-icon`}),a?(0,W4.jsx)(Kt,{ref:O,value:X(B.current?R:y),onChange:ye=>{B.current=!0,v(ye),Q.current++},onClick:ye=>{ye.stopPropagation()},onBlur:ye=>de(ye),onkeydown:ye=>{if(B.current=!0,ye.keyCode===8||ye.keyCode===46){let Le=ye.target,{selectionStart:Re,selectionEnd:Ne,value:Te}=Le;if(Re!==Ne){let Pe=Te.substring(0,Re)+Te.substring(Ne);v(Pe),P(Oe=>Oe+1),Q.current++,setTimeout(()=>{O.current&&(O.current.focus(),Pe?O.current.select():O.current.setSelectionRange(0,0))},0),ye.preventDefault()}}else if(ye.keyCode===27){ye.preventDefault(),B.current=!1,p("");return}},onkeyup:ye=>{ye.keyCode===13?de(ye):ye.stopPropagation()},onContextMenu:ye=>{ye.stopPropagation()}},k):(0,W4.jsxs)(W4.Fragment,{children:[Pr.name&&g===st.PRJ?(0,W4.jsx)("span",{className:E("version-node"),title:Pr.name,children:ie(Pr.name)}):(0,W4.jsx)(W4.Fragment,{}),d?(0,W4.jsx)("span",{className:ce,"data-test":ue.htmlEncode(y),"data-text":ue.htmlEncode(y),dangerouslySetInnerHTML:{__html:fe(y,d)}}):(0,W4.jsx)("span",{className:ce,"data-test":ue.htmlEncode(y),"data-text":ue.htmlEncode(y),children:SVt(`${zMe(g)?D(y):y}`,g)})]}),(0,W4.jsxs)("span",{className:"number",children:[" ",ne?"("+((A==null?void 0:A.realPartLen)||x)+")":""," "]}),H&&(0,W4.jsx)("span",{className:ee,onClick:()=>{IVt(g,h)||qnt({params:{needUpdateSymbolData:!0,silentIfNone:!1},args:{uuid:M}},{needTipModal:!0})}})]})})}var PVt=class{constructor(){this.org_teams_PRJ_ConcurrentData={};this._isConcurrentStrictMode=!1;this.currentPRJOrgId="Personal";this.currentPRJTeamId="";this.teamBoss=null;this.orgBoss=null}get isConcurrentStrictMode(){return this._isConcurrentStrictMode}set isConcurrentStrictMode(e){this._isConcurrentStrictMode!==e&&(this._isConcurrentStrictMode=e,C.messageBus.publish("setConcurrentStrictMode",this.isConcurrentStrictMode),this.renderAll(),C.messageBus.publish("sch/renderPropertyPanel"))}updateCurrentPrjData(e){var i;this.teamBoss=e.teamBoss||{},this.orgBoss=e.orgBoss||{},this.currentPRJOrgId=e.org_uuid||C.workspace,this.currentPRJTeamId=(i=e.owner)==null?void 0:i.uuid,this.org_teams_PRJ_ConcurrentData={},this.org_teams_PRJ_ConcurrentData[e.uuid]=e.mode,this.org_teams_PRJ_ConcurrentData[this.currentPRJOrgId]=e.orgMode,this.org_teams_PRJ_ConcurrentData[this.currentPRJTeamId]=e.teamMode,C.projectMembers.map(o=>{l0.setLockUserData(o.uuid,{nickName:o.nickname,userName:o.username,realName:o.realname||""})}),this.updateConcurrentModeStatus(),C.messageBus.publish("setLockUsersData",l0.getLockUserData())}updateConcurrentModeStatus(){let e=this.org_teams_PRJ_ConcurrentData[C.currentProject.projectId]===3,i=this.org_teams_PRJ_ConcurrentData[this.currentPRJTeamId]===3,o=this.org_teams_PRJ_ConcurrentData[this.currentPRJOrgId]===3;this.isConcurrentStrictMode=Je?!1:e||i||o}async checkInAndOut(e,i=gi()){let o=i.split("@")[0],r=e==="check_out"?Ei.DOCUMENT.CHECK_OUT:Ei.DOCUMENT.CHECK_IN;e==="check_in"&&(he.isTabUnSaved(i)&&((await new Qm(i,{docType:he.getTabDocType(i)}).todo()).success||De({type:"error",msg:"Auto save files failed!"}),await C.messageBus.rpcCall("/pro-mgr/project/upload/force")),C.windowBridge.publish("draw_end",null,(await he.getTabIFrame(i)).contentWindow));let{message:n}=await C.messageBus.rpcCall(r,{projectId:C.currentProject.projectId,uuids:[o]});n&&n.success?(this.printCheckLog(i,e),Ut({type:"show",message:`${e=="check_in"?"checkIn":"checkOut"} success!`})):Ut({type:"show",message:n.message})}renderAll(e){t4.setRenderTicket();let i=e||he.containerIds.map(s=>{var l;return((l=It.getActiveTab(s))==null?void 0:l.tabId)||""}),o=[],r=[],n=[],a=[];i.forEach(s=>{switch(he.getTabDocType(s)){case se.SCH:r.push(s);break;case se.PANEL:o.push(s);break;case se.PCB:n.push(s);break;case se.SIMULIDE:case se.NGSPICE:a.push(s);default:break}}),C.messageBus.publish("renderAllConcurrentStatusSch",r.concat(a)),n.length>0&&Ro(n,async(s,l)=>{let{disable:c}=this.getIframeDisableStatusPanelPcb(l);C.windowBridge.publish("pcb/set-project-permission",{disable:c},(await he.getTabIFrame(l)).contentWindow)}),o.length>0&&Ro(o,async(s,l)=>{let{disable:c}=this.getIframeDisableStatusPanelPcb(l),{hideFlag:d,disableFlag:u}=fT("checkIn",l),{hideFlag:p,disableFlag:m}=fT("checkOut",l);C.windowBridge.publish("panel/set-project-permission",{disable:c,checkInDisableFlag:u,checkInHideFlag:d,checkOutHideFlag:p,checkOutDisableFlag:m},(await he.getTabIFrame(l)).contentWindow)}),o.length>0&&_l(st.PANEL_OBJECT_ROOT_NODE),C.messageBus.publish("updateProjectReadOnlyNoHistoryMode",""),Ai.updateToolConfigStatus(),Ai.updateRoutingModeStatus()}getIframeDisableStatusPanelPcb(e){var o;if((o=he.getTabData(e))==null?void 0:o.isReadOnlyMode)return{disable:!0};if(zi.getIsProjectReadOnly())return{disable:!0};if(Ga.isConcurrentStrictMode){let r=e.split("@")[0];return{disable:l0.getSheetCheckOutType(r)!=="own"}}else return{disable:!1}}async getTopTipsStatusPanel(e){e||console.error("missing tabId!");let i,o,r,n=he.getTabDocType(e);if(zU()||n===se.PANEL_LIB)return{noMessage:!0};let a=e.split("@")[0],s={},l=l0.getLockUserBySheetId(a);i=l0.getSheetCheckOutType(a);let c=l0.getLockUserData(l);if(o=(c==null?void 0:c.nickName)||"",r=(c==null?void 0:c.realName)||"",n==se.PANEL&&(s=(await C.messageBus.rpcCall($e.PANEL.GET_ALL_KV,[C.currentProject.projectId])).message[a]||{}),n==se.PCB){let{message:d}=await C.messageBus.rpcCall($e.PCB.GET,[a,C.currentProject.projectId]);s=d||{}}if(n===se.SIMULIDE||n===se.NGSPICE){let{message:d}=await C.messageBus.rpcCall($e.SIMULATION.GET,[a,C.currentProject.projectId]);s=d||{}}return{checkOutType:i,displayTitle:s.display_title,checkOutUserNickName:o,checkOutUserRealName:r}}async getPrintData(e){let i=e.split("@")[0],o={},r=l0.cacheLockUser[i],n=l0.getLockUserData(r),a=he.getTabDocType(e),s=(n==null?void 0:n.nickName)||"";if(a==se.PANEL&&(o=(await C.messageBus.rpcCall($e.PANEL.GET_ALL_KV,[C.currentProject.projectId])).message[i]||{}),a==se.PCB){let{message:l}=await C.messageBus.rpcCall($e.PCB.GET,[i,C.currentProject.projectId]);o=l||{}}if(a===se.SIMULIDE||a===se.NGSPICE){let{message:l}=await C.messageBus.rpcCall($e.SIMULATION.GET,[i,C.currentProject.projectId]);o=l||{}}return{displayTitle:o.display_title,checkOutUserNickName:s}}async printCheckLog(e,i){let{checkOutUserNickName:o,displayTitle:r}=await this.getPrintData(e),n=[],a=dt(),s;switch(a){case se.PANEL:s="Panel Name";break;case se.PCB:s="PCB Name";break;case se.SIMULIDE:case se.NGSPICE:s="Simulation Name";break;default:s="Undefined";break}n.push({[s]:r,"Check-out Person Nickname":o}),C.messageBus.rpcCall(Yo.LOG.SET,[{type:i==="check_in"?Nr.SIGNIN_SHEET:Nr.SIGNED_SHEET,content:n,project_uuid:C.currentProject.projectId}])}},Ga=new PVt;var $nt=class $nt{constructor(){this._permissionCaches={};this._projectInfo={};this._teamPermissionCaches={};this._clearTimer=null;this._isClearCache=!1;this._isProjectReadOnly=!1;this._isProjectReadOnly_noHistoryMode=!1;this._isVersionReadOnly=!1;this.noPermissionMsg="No permission, please contact project manager to enable permission, after enable please refresh the project list and try again"}static getInstance(){return this._instance?this._instance:this._instance=new $nt}async getPermissionList(e,i){let o=!i&&e&&this._permissionCaches[e];if(o)return o;if(!e||Je)return null;let{message:r}=await C.messageBus.rpcCall(Ei.PROJECT.GET,[e]);if(r&&r.success&&r.result){let n=r.result,a=n.permissions;return this.setProjectDetailCache(n,e),a||null}else return r&&r.message}setProjectDetailCache(e,i=e.uuid){let o=e==null?void 0:e.permissions;i&&(o&&(this._permissionCaches[i]=o),this._projectInfo[i]=e,this._isClearCache=!1,o&&V3(i,o,e))}getProjectDetailCache(e){return this._projectInfo[e]}delProjectDetailCache(e){delete this._projectInfo[e]}getProjectPermissionCache(e){return this._permissionCaches[e]}setIsProjectReadOnly(e,i,o){C.isHistoryMode&&(o?this._isProjectReadOnly_noHistoryMode=this._isProjectReadOnly:(this._isProjectReadOnly_noHistoryMode=e,e=!0)),this._isProjectReadOnly!==e&&(C.messageBus.publish("updateProjectReadOnly",e),this._isProjectReadOnly=e,i===C.currentProject.projectId&&Ga.renderAll(),C.messageBus.publish("sch/renderPropertyPanel"),C.messageBus.publish("updatePlaceBtnStatus"))}getIsProjectReadOnly(e=!1,i,o){var a;if(ln.isViewerMode)return!0;let r=this._isProjectReadOnly||this.isVersionReadOnly;return C.isHistoryMode?o?this._isProjectReadOnly_noHistoryMode:!0:e||r?r:(a=he.getTabData(i||he.getActiveTab()))==null?void 0:a.isReadOnlyMode}get isProjectReadOnly_noHistoryMode(){return this._isProjectReadOnly_noHistoryMode}get isVersionReadOnly(){return this._isVersionReadOnly}set isVersionReadOnly(e){this._isVersionReadOnly=e,C.messageBus.publish("sch/setIsVersionReadOnly",e)}isClearCache(){return this._isClearCache}setTeamsList(e){this._teams=e}async getTeamPermission(e){let i=[];if(C.workspace!=="Personal"){let r=_d.organization.find(n=>n.uuid==C.workspace);r!=null&&r.permissions?i.push(...r.permissions):console.error("getTeamPermission is error: ",r)}let o=this._teamPermissionCaches[e];if(o)i.push(...o);else{if(!this._teams){let n=!C.workspace||C.workspace==="Personal"?void 0:C.workspace,{message:a}=await C.messageBus.rpcCall(Ei.OTHER.TEAMS,{org_uuid:n,from:"editor",pageSize:1e4});a.success?this._teams=a.result.lists||[]:this._teams=[]}let r=this._teams.find(n=>n.uuid==e);r&&(i.push(...r.permissions),!i.includes("team.read")&&i.push("team.read"),this._teamPermissionCaches[e]=i)}return i}setTeamPermissionCaches(){var e;(e=this._teams)!=null&&e.length||(this._teams=C.teams);for(let i of C.teams)i.uuid!==_o()&&this.getTeamPermission(i.uuid)}getTeamPermissionCaches(e){return this._teamPermissionCaches[e]}getManageTeams(e){return new Promise((i,o)=>{if(!e)return o();$L("/api/org/{org_uuid}/getManageTeams",{org_uuid:e}).then(function(r){r&&r.success&&r.result?i(r.result):o(r&&r.message)}).catch(function(){o()})})}hasPermission(e,i,o=!1){return e?e.length==0?!1:Array.isArray(i)?o?!i.some(r=>!this.hasPermission(e,r,o)):i.some(r=>this.hasPermission(e,r,o)):e.indexOf(i)>=0:!0}async getExamProjectStatus(e){let i=this._projectInfo[e],o=!!(i&&i.exam_info);if(o){let c=await Y4(e);zi.setProjectDetailCache(c,e)}i=this._projectInfo[e];let r=i&&i.exam_info,n=r&&r.now_at?new Date(r.now_at).getTime():new Date().getTime(),a=r&&r.end_at&&n<new Date(r.end_at).getTime(),s=r&&r.end_at&&n>new Date(r.end_at).getTime(),l=r&&r.correction_status&&!a;return{nowAt:n,isExamProject:o,endOfExam:s,inTheExam:a,correction_status:l,examInfo:r}}showNoPermission(e){new Fi({type:"error",msg:e||this.noPermissionMsg})}clearCache(){this._permissionCaches={},this._projectInfo={},this._teams=void 0,this._isClearCache=!0,this.refreshCache()}refreshCache(){C.currentProject.projectId&&this.getPermissionList(C.currentProject.projectId),this.setTeamPermissionCaches()}autoClearCache(e){let i=this;this._clearTimer!==null&&(cancelAnimationFrame(this._clearTimer),this._clearTimer=null),e>0||(e=600);let o=e*1e3,r=0,n=async()=>{try{let{message:a}=await C.messageBus.rpcCall(T9.IsActive);if(a){let s=Date.now();s-r>=o&&(i.clearCache(),r=s)}}catch(a){console.error("Failed to check active state",a)}};i.clearCache(),r=Date.now(),i._clearTimer=requestAnimationFrame(n)}};$nt._instance=null;var OVt=$nt,zi=OVt.getInstance();zi.autoClearCache();var RVt="You don't have permission to save!";var yle=class{constructor(e,i={checkTicket:!0}){this.tabid=e;this.options=i;this.separator="_";if(!e)throw new Error("invalid tabid");let[o,r]=U0(e);if(this.uuid=o,!this.uuid)throw new Error("invalid uuid");if(this.path=this.options.path||r,!this.path||this.path==="undefined")throw new Error("invalid path");this.docType=this.options.docType||he.getTabDocType(e),this.projectId=this.options.projectId||he.getDocProject(e),!this.projectId&&[bo.getInstance().usedId].indexOf(this.path)<=-1&&(this.projectId=this.path),this.title=this.options.title||he.getTabText(e),this.edtFtType=Tfe(e,["edtfootprint-type"]),this.edtFtType&&typeof this.edtFtType["edtfootprint-type"]<"u"?this.isProjectData=!0:this.isProjectData=this.projectId===C.currentProject.projectId,[bo.getInstance().usedId].indexOf(this.path)>=0&&(this.isProjectData=!1),this.edtFtOid=Tfe(e,["edtfootprint-old-device-uuid"])}changeEdtFtOid(e){HV(this.tabid,{"edtfootprint-old-device-uuid":e,"edtfootprint-type":2});let i=Tfe(this.tabid,["edtfootprint-type","edtfootprint-old-device-uuid"]);this.edtFtOid=i["edtfootprint-old-device-uuid"],this.edtFtType=i["edtfootprint-type"]}profile(...e){let i=["[SAVE] [PCB]",`[${this.tabid}]`].concat(e).join(" ");console.profile(i)}async todo(e){try{let i;if(this.docType===se.PCB)i=await this.pcb(e);else if(this.docType===se.FOOTPRINT&&this.uuid.includes(this.separator))i=await this.customFootprint();else if(this.docType===se.FOOTPRINT)i=await this.footprint();else throw new Error("invalid docType");return i.success||!this.isProjectData&&(i.code===yO||i.code===x6e)&&await Ufe(this.tabid,"PERMISSIONS_MISSING",i),Promise.resolve(i)}catch(i){return console.error(i),{success:!1,message:i}}}async check(){if(!Je&&!br())return C.messageBus.publish("login"),{success:!1,message:"Not logged in yet, please log in and try again"};if(this.tabid&&!await he.getTabIFrame(this.tabid))return{success:!1,message:"The file hadn't opened which you expected to save!"};if(this.title&&(this.title.length<1||this.title.length>128))return{success:!1,message:"The title length must be between 1~128 characters!"};if(C.currentProject.projectId&&this.options.checkTicket){let{message:e}=await C.messageBus.rpcCall("checkDocs",[!0,[this.tabid]]);if(!e)return{success:!1,message:`Document ${this.title} version is inconsistent!`}}return this.docType===se.PCB?this.checkPcb():this.docType===se.FOOTPRINT&&this.uuid.includes(this.separator)?this.checkFootprint():this.checkFootprint()}async checkPcb(){let{message:e}=await C.messageBus.rpcCall("isArchive");if(e)return{success:!1};if(TS(this.tabid,this.docType,!0))return{success:!1,code:yO};let{hasPermission:i,isExamProjectAndEnd:o}=await Mv();return(N0||!wi)&&!i?{success:!1,message:RVt,code:o?0:yO}:{success:!0}}async checkFootprint(){if(this.isProjectData){let{message:r}=await C.messageBus.rpcCall("isArchive");if(r)return{success:!1};let{hasPermission:n}=await Mv();if((N0||!wi)&&!n)return{success:!1,message:RVt,code:yO}}let e=await he.getTabIFrame(this.tabid),{isPadNumDuplicated:i,padNums:o}=(await C.windowBridge.rpcCall("isPadNumDuplicated","",e.contentWindow)).message;if(i){let r=[];it(o,(a,s)=>{s.length>1&&r.push({attr:{id:s,pcbid:this.tabid},text:a})});let n=['<span class="i18n">Found the duplicated Pad Number in this footprint</span>: {',...eat(r,", "),"}"];return Ot("warn",n,"Log",!0),{success:!0}}return{success:!0}}async pcb(e){try{if(this.profile("checking pcb owner"),!this.isProjectData)return{success:!1,message:Ti("The document {title} you want to save does not belong to the current project!!",{params:{title:this.title}})};this.profile("recheck");let{success:i,message:o}=await this.check();if(!i)return{success:i,message:o};let{message:r}=await C.messageBus.rpcCall($e.PCB.GET,[this.uuid,C.currentProject.projectId]);if(r.display_title!==this.title){this.profile("send 2 indexedDB");let{message:s}=await C.messageBus.rpcCall($e.PCB.UPDATE,[{uuid:this.uuid,title:this.title},C.currentProject.projectId]);if(!s.success)return this.profile("save failed"),{success:!1,message:"Save failed!"}}let n=await he.getTabIFrame(this.tabid);this.profile("fetching footprint save");let a=await(await C.windowBridge.rpcCall("pcb/saveCompiler","",n.contentWindow)).message;return a.success?(e&&e({tabid:this.tabid}),this.profile("finished save pcb related"),await this.successPcb(),{success:!0}):(this.profile("save failed"),{success:!1,message:"Save failed!",code:a.code})}catch(i){return console.error(i),{success:!1,message:i}}}async successPcb(){await this.keepAlive(),EX(this.tabid),C.messageBus.publish("removeUpdateTabHighLight",{tabids:[this.tabid]}),await C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.SAVE,content:[{"PCB Name":this.title}],project_uuid:C.currentProject.projectId}]),setTimeout(()=>{new LD().generatePreviewImagePcb(this.tabid,this.projectId)},50)}async keepAlive(){var e,i;try{if(!_t)return;let o=mn.OTHER.ONLINE,r=["PCB"],n=await fetch(o,{method:"POST",body:JSON.stringify({modules:r}),headers:{"Content-Type":"application/json"}}),a=await n.json();if(a.success===!1){console.error("The keepalive interface failed when saving!",n);let s="online-registration-failed",l=localStorage.getItem(s),c=l?JSON.parse(l):{},{uuid:d,username:u}=((e=C.globalVariableCookieData)==null?void 0:e.userInfo)||{};if(d)c[d]=c[d]||[],c[d].push({modules:r,userName:u,updateTime:Number(new Date),message:a.message||""}),localStorage.setItem(s,JSON.stringify(c));else throw new Error(`Missing user uuid! userInfo: ${(i=C.globalVariableCookieData)==null?void 0:i.userInfo}`)}return a}catch(o){console.error("The keepalive interface failed when saving!",o)}}async footprint(){try{this.profile("recheck");let{success:e,message:i}=await this.check();return e?this.isProjectData?this.toProjectLib():this.toPersonLib():{success:e,message:i}}catch(e){return console.error(e),{success:!1,message:e}}}parseTags(e){var o,r;if(e==="")return[];let i=[];return e.parent_tag&&((o=e.parent_tag)!=null&&o.uuid)&&i.push(e.parent_tag.uuid),e.child_tag&&((r=e.child_tag)!=null&&r.uuid)&&i.push(e.child_tag.uuid),i}parseCustomTags(e){var i,o;if(e===""||JSON.stringify(e)==="[]"||JSON.stringify(e)==="{}")return"[]";if(typeof e=="string")return e;{let r=[],n=(i=e==null?void 0:e.parent_tag)==null?void 0:i.name,a=(o=e==null?void 0:e.child_tag)==null?void 0:o.name;return n&&r.push(n),a&&r.push(a),r.length?JSON.stringify(r):void 0}}async toProjectLib(){try{let e=await he.getTabIFrame(this.tabid),{message:i}=await C.windowBridge.rpcCall("getFootprintMetaData","",e.contentWindow);if(i.hasModified){let{name:n,category:a,describe:s,source:l,version:c}=i,d=this.parseCustomTags(a),u={uuid:this.uuid,title:n,custom_tags:d,description:s,source:l,version:c},{message:p}=await C.messageBus.rpcCall($e.FOOTPRINT.UPDATE,[u,C.currentProject.projectId]);if(!p||p.success===!1)return{success:!1,message:p.message};C.windowBridge.publish("changeDeviceHasModify",!1,e.contentWindow)}let o=(await C.windowBridge.rpcCall("pcb/saveCompiler","",e.contentWindow)).message;if(!o.success){let n=o.message||"The file save operation has timed out. Try again and check your Internet connection.";return this.profile("save failed",n),{success:!1,message:n}}let r={uuid:this.uuid,path:this.path,title:this.title,...i};return await this.onsuccessPrjFootprint(r),this.profile("save success"),{success:!0}}catch(e){return console.error(e),{success:!1,message:e}}}async onsuccessPrjFootprint(e){await this.keepAlive(),EX(this.tabid),_3("footprint",e.uuid,e),C.messageBus.publish("removeUpdateTabHighLight",{tabids:[this.tabid]}),this.profile("finished update footprint 2 pcb")}async toPersonLib(){try{let e=await he.getTabIFrame(this.tabid),{message:i}=await C.windowBridge.rpcCall("getFootprintMetaData","",e.contentWindow);if(i.hasModified){let{name:r,category:n,describe:a}=i,s=this.parseTags(n),l={uuid:this.uuid,title:r,tags:s,description:a,docType:se.FOOTPRINT};if((await Ze.getFootprint({isProject:!1,path:this.path,uuid:this.uuid})).display_title!==l.title){let u=(await Ze.getFootprintSearchList({isProject:this.path===C.currentProject.projectId,path:this.path,titles:[l.title]}))[l.title];if(u!=null&&u.length)return{code:-1000001,success:!1,message:me.i18n("Footprint {title} failed to update title! The footprint title cannot be duplicated.",{title:l.title})}}try{let d=await Ze.updateFootprint({uuid:this.uuid,path:this.path,isProject:!1,footprint:{data:{tags:ts.pickUpComponentTags2Names(n),title:l.title,docType:l.docType,description:l.description}}});C.windowBridge.publish("changeDeviceHasModify",!1,e.contentWindow)}catch(d){return d?[zo.UPDATE_FOOTPRINT_PERMISSIONS].includes(d.action)?{success:!1,message:d.message||zo.UPDATE_FOOTPRINT_PERMISSIONS,code:yO}:{success:!1,message:d.message||""}:{success:!1}}}let o=(await C.windowBridge.rpcCall("pcb/saveCompiler","",e.contentWindow)).message;if(!o.success){let r=o.message||"The file save operation has timed out. Try again and check your Internet connection.";return this.profile("save failed",r),this.onfailedPersFootprint(o),{success:!1,message:r,code:o.code}}return await this.onsuccessPersFootprint(i),this.profile("save success"),{success:!0}}catch(e){return console.error(e),{success:!1,message:e}}}async onsuccessPersFootprint(e){await this.keepAlive(),EX(this.tabid),_3("footprint",e.uuid,e),C.messageBus.publish("updateTabInfo",[this.tabid,{title:this.title,ticket:e.ticket,updateTime:e.updateTime,"real-title":this.title}]),C.messageBus.publish("removeUpdateTabHighLight",{tabids:[this.tabid]})}async onfailedPersFootprint(e){let i;if(e.code===Pm.REQUEST_PARAM_ILLEGAL||this.path===bo.getInstance().usedId&&e.code===Pm.UNAUTHORIZED){let o={tabid:this.tabid,isObserverSave:!0};i=[{text:"Footprint {title} failed to update title!",params:{title:this.title}},RVt]}else i=[{text:"Footprint {title} failed to update title!",params:{title:this.title}},e.message];this.profile("save failed",i)}async customFootprint(){try{let{success:e,message:i,code:o}=await this.check();if(!e)return{success:e,message:i,code:o};if(this.isProjectData){this.profile("fetching footprint save");let r=await he.getTabIFrame(this.tabid),n=await(await C.windowBridge.rpcCall("pcb/saveCompiler","",r.contentWindow)).message,[a,s]=this.uuid.split(this.separator),l=await he.getTabIFrame(Fp(a)),c=await(await C.windowBridge.rpcCall("pcb/saveCompiler","",l.contentWindow)).message;return n.success&&c.success?(await this.successCustomFootprint(),{success:!0}):{success:!1,message:"Save failed!"}}else return{success:!1,message:"Custom footprint must be an engineering library"}}catch(e){return{success:!1,message:e}}}async successCustomFootprint(){await this.keepAlive(),EX(this.tabid),C.messageBus.publish("removeUpdateTabHighLight",{tabids:[this.tabid]})}};var PXr=new hT(2),yO=422,x6e=1111111;var Qm=class{constructor(e,i={checkTicket:!0}){this.tabid=e;this.options=i;if(!e)throw new Error("invalid tabid");let[o,r]=wr(e);if(this.uuid=o,!this.uuid)throw new Error("invalid uuid");if(this.path=this.options.path||r,!this.path)throw new Error("invalid path");this.docType=this.options.docType||he.getTabDocType(e),this.type=this.verifyType(),this.projectId=this.options.projectId||he.getDocProject(e)||this.path,this.isProjectData=this.projectId===C.currentProject.projectId,this.title=this.options.title||he.getTabTitle(e)}profile(...e){let i=["[SAVE]",`[${this.tabid}]`].concat(e).join(" ");console.profile(i)}verifyType(){if(this.docType===ve.SCH)return 1;if(kl(this.docType))return 2;if(this.docType===ve.PCB)return 3;if(this.docType===ve.FOOTPRINT)return 4;if(this.docType===ve.PANEL)return 5;if(this.docType===ve.PANEL_LIB)return 6;if(this.docType===ve.BLANKTAB)return 0;if(this.docType===ve.NGSPICE)return 8;if(this.docType===ve.SIMULIDE)return 9;throw new Error("invalid docType")}async check(e){var n;if((n=he.getTabData(e))==null?void 0:n.isReadOnlyMode)return{success:!1};if(Je&&C.offLineClientReadOnly)return De({type:"error",msg:"The current project directory is read-only,please modify it before editing."}),{success:!1};let o=WZe();return o?(De({type:"warn",msg:o,timer:3}),{success:!1}):(await Hui(this.tabid,this.docType),{success:this.isProjectData?await uR(this.options):!0})}async todo(e,i){try{this.profile("rechecking");let{success:o,message:r}=await this.check(this.tabid);if(!o)return Promise.resolve({success:o,message:r,tabid:this.tabid});switch(this.type){case 0:{PXr.info("Blank document types do not need to be saved!");return}case 1:case 2:return this.sch(e,i);case 3:case 4:return this.pcb(e,i);case 5:case 6:return this.panel(e,i);case 9:case 8:return this.Simulation(e,i);default:throw new Error("invalid type")}}catch(o){return console.error(o),Promise.resolve({success:!1,message:o,tabid:this.tabid})}}async sch(e,i){var o;try{let{message:r}=await C.messageBus.rpcCall("/sch/save",{tabid:this.tabid,options:this.options});if(r.success){if(e&&await e(this.tabid),this.isProjectData){let n=new Date;await C.messageBus.rpcCall(Xy.UPDATE_PROJECT,[this.projectId,{timeOfOpenProject:n}])}this.docType===ve.SCH&&!Je&&(this.saveBomDataEventInSch(this.tabid,this.options.exportBomSchematicId),(o=C.currentProject)!=null&&o.isCBB&&i3i(this.projectId,this.path,2)),kl(this.docType)&&!Je&&p4(this.uuid,this.path,2,2)}return Promise.resolve(r)}catch(r){return console.error(r),Promise.resolve({success:!1,message:r,tabid:this.tabid})}}async Simulation(e,i){try{let{message:o}=await C.messageBus.rpcCall("/Simulation/save",{tabid:this.tabid,options:this.options});if(o.success&&(e&&await e(this.tabid),this.isProjectData)){let r=new Date;await C.messageBus.rpcCall(Xy.UPDATE_PROJECT,[this.projectId,{timeOfOpenProject:r}])}return Promise.resolve(o)}catch(o){return console.error(o),Promise.resolve({success:!1,message:o,tabid:this.tabid})}}saveBomDataEventInSch(e,i=null){setTimeout(async()=>{i!==null?i.map(o=>{C.messageBus.publish("saveBomDataEvent",{tabDocType:ve.SCH,uuid:o})}):(await C.messageBus.rpcCall("tabId2ParentSchematic",e)).message.map(r=>{C.messageBus.publish("saveBomDataEvent",{tabDocType:ve.SCH,uuid:r})})},200)}async pcb(e,i){try{let r=await new yle(this.tabid,this.options).todo();if(r.success){if(e&&await e(this.tabid),this.isProjectData){let n=new Date;await C.messageBus.rpcCall(Xy.UPDATE_PROJECT,[this.projectId,{timeOfOpenProject:n}])}this.docType===ve.PCB&&!Je&&this.saveBomDataEventInPcb(this.uuid),this.docType===ve.FOOTPRINT&&!Je&&p4(this.uuid,this.path,3,2)}return Promise.resolve(r)}catch(o){return console.error(o),Promise.resolve({success:!1,message:o,tabid:this.tabid})}}saveBomDataEventInPcb(e){setTimeout(async()=>{C.messageBus.publish("saveBomDataEvent",{tabDocType:ve.PCB,uuid:e})},200)}async panel(e,i){try{let o={...this.options,path:this.path},{message:r}=await C.messageBus.rpcCall("/panel/save",{tabid:this.tabid,options:o});if(r.success){if(e&&await e(this.tabid),this.isProjectData){let n=new Date;await C.messageBus.rpcCall(Xy.UPDATE_PROJECT,[this.projectId,{timeOfOpenProject:n}])}this.docType===ve.PANEL_LIB&&!Je&&p4(this.uuid,this.path,6,2)}return Promise.resolve(r)}catch(o){return console.error(o),Promise.resolve({success:!1,message:o,tabid:this.tabid})}}},_ve=!1;async function xl(t={checkTicket:!0},e=!0){var r;if(_ve)return console.profile("[SAVE] ignore duplicate save all"),Promise.resolve({success:!1,message:"Duplicate save"});console.profile("[SAVE] start save all");let i=OXr(),o;try{_ve=!0,i.start(),console.profile("[SAVE] checking conflict");let{success:n}=await _Xr(t);if(!n)return Promise.reject();let{unsaveFileTabId:a,clientunsaveFilePath:s,savedFileTabId:l}=ap();t.onlySaveDocument&&(a=a.filter(g=>{let b=he.getTabDocType(g);return[ve.SCH,ve.PCB,ve.PANEL,ve.NGSPICE,ve.SIMULIDE].includes(b)})),console.profile(`[SAVE] saving tabs ${JSON.stringify(a)}`);let c=[a,l].reduce((g,b)=>g+b.length,0);for(let g=0;g<a.length;g++){let b=a[g],y=he.getTabDocType(b);if(console.profile(`[SAVE] checking permission ${b}`),br()){let{success:w}=await jXr(b,y);if(!w)return Promise.reject()}}let d=[],u=[],p=[],{tabids:m,filePaths:h}=BXr(a,s),f=!1;console.profile(`[SAVE] reordered tabs ${JSON.stringify(m)}`),m.length&&(uc.showStatus="loading",uc.refreshView());for(let g=0;g<m.length;g++){let b=m[g];if((r=he.getTabData(b))==null?void 0:r.isReadOnlyMode)continue;let w=he.getTabDocType(b),x=h[g],S=[];if(w===ve.SCH){console.profile(`[SAVE] collecting block pages of ${b}`);let{message:A}=await C.messageBus.rpcCall("tabId2ParentSchematic",b);it(A,(D,E)=>{d.includes(E)||(S.push(E),d.push(E))})}console.profile(`[SAVE] start sync 2 indexedDB of ${b}`);let T={docType:w,path:x,checkTicket:!1,exportBomSchematicIdArr:S},I=await new Qm(b,T).todo();if(I&&I.success){let A=ue.splitComponentId2FolderAndFilenameMixin(b);Vm()===A.path&&_s(A.path,Ls())}else{he.setTabUnSaved(b,!0),u.push(b);let A=[yO,x6e].includes(I.code);if(!A&&I.message&&p.push(I.message),I.message==="pinNumRepeat"?f=!0:A||RXr(I.message,I.params,"fatalError"),I.code===901){await he.setTabActive(b);break}}}return console.profile("[SAVE] complete"),c?u.length?(!f&&e&&p&&p.length&&BIo(t.messageShowType,p,"error"),o="failed",console.log("save failed:","pin number repeat"),Promise.reject({tabids:u})):(a.length&&(o="success",e&&BIo(t.messageShowType,"Saved successfully!","success")),Promise.resolve({success:!0})):void 0}catch(n){return console.error(n),Ot("error",[Ti("Save failed!"),Ti(n)]),Promise.reject()}finally{_ve=!1,i.destory(),uc.showStatus=o,uc.refreshView()}}function BIo(t,e,i){switch(t){case"BOTTOM_LOG":{let o=Array.isArray(e)?e.map(r=>Ti(r)):[Ti(e)];Ot(i==="success"?"info":"error",o);break}case"TOAST":default:{De({type:i,msg:e,timer:3});break}}}function OXr(){let e;return e&&clearTimeout(e),{start:()=>{e=setTimeout(()=>{if(_ve)throw _ve=!1,new Error(`\u4FDD\u5B58\u9632\u6296\u6807\u8BC6\u5DF2\u8D85${6e4/1e3}\u79D2, \u8BF7\u6CE8\u610F\u5F02\u5E38\u60C5\u51B5!`)},6e4)},destory:()=>{clearTimeout(e)}}}async function RXr(t,e,i="error"){if(typeof t=="string"){if(e)return Ot(i,[Ti(t,{params:{title:e}})]);Ot(i,[Ti(t)])}else if(Array.isArray(t)){let o=[];it(t,(r,n)=>{typeof n=="string"?o.push(Ti(n)):o.push(Ti(n.text,{params:n.params}))}),Ot(i,o)}}async function _Xr(t={checkTicket:!0}){return{success:!0}}async function jXr(t,e){let i=he.getDocProject(t);if(!Je&&i===C.currentProject.projectId){if(await Wpe())return{success:!1};let{hasPermission:o,isExamProjectAndEnd:r}=await Mv();if(!o)return r||await Ufe(t,void 0),{success:!1}}return{success:!0}}async function uR(t){if(vo||b8)return!0;let{projectId:e=C.currentProject.projectId,checkPublish:i=!0}=t||{};if(!i||!e)return!0;let o=await zi.getPermissionList(e);if(!zi.hasPermission(o,Io.Project_Updating))return!0;let n=zi.getProjectDetailCache(e);return n&&n.publish?new Promise((s,l)=>{Ut({title:"Notice",icon:"info",type:"confirm",message:"The project has been published, but after editing, the project becomes unpublished. Do you want to continue?",textOK:"Continue",textCancel:"Cancel",onConfirm:async()=>{n&&(n.publish=!1),s(!0)},onCancel:()=>{l(!1)},onClose:()=>{l(!1)}})}):!0}function BXr(t,e){let i=[],o=[];for(let r=0;r<t.length;r++){let n=t[r];he.getTabDocType(n)===ve.FOOTPRINT&&(i.push(n),o.push(e[r]),t.splice(r,1),e.splice(r,1))}return t.unshift(...i),e.unshift(...o),{tabids:t,filePaths:e}}async function wle(t,e="",i){var o;try{return((o=he.getTabData(t))==null?void 0:o.isReadOnlyMode)||!he.isTabUnSaved(t)?(await he.closeTopTab(t,!1,e),!0):(await new Qm(t,i).todo()).success?(await he.closeTopTab(t,!1,e),!0):(he.simulateClick(t),!1)}catch{return!1}}var tat=class extends X9e{set deviceDetail(e){this._deviceDetail=e}get deviceDetail(){return this._deviceDetail}set footprintDetail(e){this._footprintDetail=e}get footprintDetail(){return this._footprintDetail}set footprintIsConnectDevice(e){this._footprintIsConnectDevice=e}get footprintIsConnectDevice(){return!!this._deviceDetail}constructor(e){super(),this.id=e}edit(){}async execute(){let[e,i]=wr(this.id);await new Qm(this.id,{path:i,docType:se.FOOTPRINT}).todo()}async addDeviceAttrToFootprint(){let e={};if(this.deviceDetail){let o=this.deviceDetail,r=o.attributes;it(r,(n,a)=>{var s,l;["Footprint"].includes(n)||(n==="Symbol"&&((s=o.symbol)!=null&&s.display_title)&&(a=(l=o.symbol)==null?void 0:l.display_title),e[n]=a)})}let i=await he.getTabIFrame(this.id);C.windowBridge.publish("updateDeviceAttr",e,i.contentWindow)}async refreshFootprintAttrPanelWithDevice({footprintDetail:e,deviceDetail:i}){e||(e=this.footprintDetail),this.footprintDetail=e,C.messageBus.publish("footprintIsConnectDevice",this.footprintIsConnectDevice),C.messageBus.publish("refreshFootprintAttrPanel","");let o=lo(e.uuid,e.path);he.isHasTabById(o)&&he.getTabText(o)!=e.display_title&&he.setTabText(o,e.display_title)}};var jve=class{constructor(){this._firstTime=!0}get firstTime(){return this._firstTime}set firstTime(e){this._firstTime=e}showDialog(e,i,o=()=>{}){let r=o,n=localStorage.getItem("promptToOpen3DViewWindow")||"false",a=JSON.parse(n);return!this.firstTime||i||JSON.parse(a)?r():(this.firstTime=!1,r(),gso({}))}};var _Vt={checked:!0},Bve={isSingleSide:!0,type:"line45",width:6,minHeight:1,startPoint:null,mouseXY:null,restrictLength:!1,additionalLength:0},oat={PCB_REALTIME_DRC:_Vt,EQUAL_LENGTH_TUNING:Bve,DIFF_PAIR_EQUAL_LENGTH_TUNING:Bve};var Cle=class Cle{constructor(e){this.previous=e;Cle.topic.length&&(Cle.topic.forEach(o=>o.cancel()),Cle.topic=[]);let i=this.subscribe("UPDATE_DIFF_PAIR_EQUAL_LENGTH_TUNING",this.update.bind(this));Cle.topic.push(i)}subscribe(e,i){return C.messageBus.subscribe(e,i)}async update(e){let i={},o={},r=["restrictLength","additionalLength"];for(let n in e)if(r.indexOf(n)>-1){let a=e[n];o[n]=a}else{let a=e[n];i[n]=a}await this.setValue(i,o)}async setValue(e,i){await this.previous.setItem("DIFF_PAIR_EQUAL_LENGTH_TUNING",e,i)}};Cle.topic=[];var zve=Cle;var xle=class xle{constructor(e){this.previous=e;xle.topic.length&&(xle.topic.forEach(o=>o.cancel()),xle.topic=[]);let i=this.subscribe("UPDATE_EQUAL_LENGTH_TUNING",this.update.bind(this));xle.topic.push(i)}subscribe(e,i){return C.messageBus.subscribe(e,i)}async update(e){let i={},o={},r=["restrictLength","additionalLength"];for(let n in e)if(r.indexOf(n)>-1){let a=e[n];o[n]=a}else{let a=e[n];i[n]=a}await this.setValue(i,o)}async setValue(e,i){await this.previous.setItem("EQUAL_LENGTH_TUNING",e,i)}};xle.topic=[];var Fve=xle;var Tle=class Tle{constructor(e){this.previous=e;Tle.topic.length&&(Tle.topic.forEach(o=>o.cancel()),Tle.topic=[]);let i=this.subscribe("TOGGLE_REALTIME_DRC",this.toggle.bind(this));Tle.topic.push(i)}subscribe(e,i){return C.messageBus.subscribe(e,i)}async toggle(e){await this.setValue(e)}async setValue(e){let i=this.previous.getItem("PCB_REALTIME_DRC");(i==null?void 0:i.checked)!==e&&await this.previous.setItem("PCB_REALTIME_DRC",{checked:e})}};Tle.topic=[];var Uve=Tle;var Sle=class{constructor(){this.pcbRealTimeDRC=new Uve(this),this.equalLengthTuning=new Fve(this),this.diffPairEqualLengthTuning=new zve(this)}getItem(e){return(mt.getCacheObj("PCB_CONFIG")||oat)[e]}async setItem(e,i,o){let r=mt.getCacheObj("PCB_CONFIG")||oat;r[e]=i,await this.setValue(r,o)}getValue(){let e=mt.getCacheObj("PCB_CONFIG");return e||(e=oat),e.PCB_REALTIME_DRC||(e.PCB_REALTIME_DRC=_Vt),e.EQUAL_LENGTH_TUNING||(e.EQUAL_LENGTH_TUNING=Bve),e.DIFF_PAIR_EQUAL_LENGTH_TUNING||(e.DIFF_PAIR_EQUAL_LENGTH_TUNING=Bve),e}async setValue(e,i){if(mt.setCacheObj("PCB_CONFIG",e),await mt.saveToServer(),e){let o=he.getAllTabId();for(let r of o){let n=he.getTabDocType(r);if([ve.PCB,ve.FOOTPRINT].includes(n)){let a=await he.getTabIFrame(r);a&&C.windowBridge.publish("UPDATE_PCB_CONFIG",{config:e},a.contentWindow)}}}if(i){let o=he.getActiveTab(),r=he.getTabDocType(o);if([ve.PCB,ve.FOOTPRINT].includes(r)){let n=await he.getTabIFrame(o);n&&C.windowBridge.publish("UPDATE_PCB_CONFIG",{others:i},n.contentWindow)}}}};var Mle=L(Se()),aat=L(Hr());var VVt=L(FIo());var KIo=L(Hr());var WIo=L(Se());var RE=class t extends qe{constructor(i){super();this.parent=i;this._currentId="";this._currentTabId="";this._currentRestoreId="";this._contrastUuids=new Array;this.rightTabId="";this._list=[];this._range="currentDocument";this._showContrast=!1;this.refreshView=ue.debounce(()=>{this.notify()},10);t._instance=this}static getStore(){return this._instance}get list(){return this._list}set list(i){this._list=i,this.refreshView()}get currentId(){return this._currentId}set currentId(i){this._currentId=i||""}get currentTabId(){return this._currentTabId}set currentTabId(i){this._currentTabId=i||""}get currentRestoreId(){return this._currentRestoreId}set currentRestoreId(i){this._currentRestoreId=i||""}get range(){return this._range}set range(i){this._range=i}get showContrast(){return this._showContrast}set showContrast(i){this._showContrast=i,this.refreshView()}get contrastUuids(){return this._contrastUuids}set contrastUuids(i){this._contrastUuids=i,C.messageBus.publish("updateContrastUuids","")}addToContrast(i){this._contrastUuids.includes(i)||(this._contrastUuids=[...this._contrastUuids,i])}async removeFromContrast(i){if(this._contrastUuids.includes(i))if(this.rightTabId){let o=this.rightTabId.split(Zc).slice(0,2).join(Zc);await he.closeTopTab(this.rightTabId.includes(i)?this.rightTabId:o)}else this._contrastUuids=this._contrastUuids.filter(o=>o!=i)}clear(){this.currentId="",this.range="currentDocument",this.currentRestoreId="",this.showContrast=!1,this.rightTabId=null,this.contrastUuids=[]}async showHistoryNode(i,o,r=this.currentId){if(o==r)return;let n=(await C.messageBus.rpcCall($e.PROJECT.GET_HISTORY_PROJECT,[{uuid:C.currentProject.projectId,current:r,target:o}])).message;if(n.success){let a=await he.getTabIFrame(i),l=new __().start(n.result);return await C.windowBridge.rpcCall("restoreHistoryNode",l,a.contentWindow)}}};var FVt=L(nat());var VIo=L(Se());var BVt=L(nat());var Yee=L(z());function HIo(){Ae(BVt.default);let{locals:t}=BVt.default,e=be.bind(t),i=J(),o=RE.getStore(),[r,n]=(0,VIo.useState)(dt());Ce(o);let a=[{key:"currentDocument",title:"Current Document",tabStyle:{width:"50&"}},{key:"currentProject",title:"Current Project",tabStyle:{width:"50&"}}];return C.messageBus.subscribe("/pro-ui/container/tab/onClick",s=>{s.containerId==he.belongContainer&&n(he.getDoctypeByTabId(s.tabId))}),(0,Yee.jsx)("div",{className:e("header"),children:(0,Yee.jsxs)("div",{children:[(0,Yee.jsx)(yl,{lists:[ve.PCB,ve.SCH].includes(r)?a:a.slice(1),direction:"top",type:"panel",activeKey:[ve.PCB,ve.SCH].includes(r)?o.range:"currentProject",isShowMarkLine:!0,onClick:s=>{o.range=s,o.refreshView()}}),o.range=="currentDocument"&&r==ve.PCB&&(0,Yee.jsxs)("div",{style:{display:"flex",justifyContent:"flex-end",margin:"8px",gap:"4px"},children:[(0,Yee.jsx)("span",{"data-test":"comparison",children:i("comparison")}),(0,Yee.jsx)(Gge,{size:"sm",checked:o.showContrast,onChange:async s=>{o.showContrast=s,s||await r6().exitContrast()}})]})]})})}var Q4=L(Se());var zVt=L(nat());var Vy=L(z());function GIo(){Ae(zVt.default);let{locals:t}=zVt.default,e=be.bind(t),i=J(),[o,r]=(0,Q4.useState)(300),n=RE.getStore(),[a,s]=(0,Q4.useState)([]),[l,c]=(0,Q4.useState)([]),[d,u]=(0,Q4.useState)([]),p=(0,Q4.useRef)(null),[m,h]=(0,Q4.useState)(!0),[f,g]=(0,Q4.useState)(n.contrastUuids),[b,y]=(0,Q4.useState)(zi.getIsProjectReadOnly(!1,void 0,!0)),w=(0,Q4.useRef)({}),[x,S]=(0,Q4.useState)(je(void 0,void 0,!0));(0,Q4.useEffect)(()=>{C.messageBus.subscribe("updateHistoricalNodeList",P=>{var O,_;p.current={},n.currentTabId=gi(),n.currentId=(O=P[0])==null?void 0:O.uuid,n.currentRestoreId=(_=P[0])==null?void 0:_.uuid,n.list=P,s(D(P)),c([]),w.current={}}),C.messageBus.subscribe("/pro-ui/container/tab/onClick",P=>{if(P.tabId=="tab_page1")r6().close();else if(P.containerId==he.belongContainer){let[O,_]=U0(P.tabId),j=Fp(O,_);n.currentTabId!==j&&(n.currentTabId=j,s(D(n.list)))}}),C.messageBus.subscribe("/pro-ui/container/tab/onDelete",async P=>{P.containerId==he.belongContainer&&w.current[P.tabId]&&w.current[P.tabId].clear()}),C.messageBus.subscribe("updateContrastUuids",()=>{g(n.contrastUuids)})},[]),(0,Q4.useEffect)(()=>{g(n.contrastUuids)},[n.contrastUuids]),(0,Q4.useEffect)(()=>{s(D(n.list))},[n.list,n.range,is.lang]),(0,Q4.useEffect)(()=>{if(a.length>0){let P=n.range=="currentProject"?C.currentProject.projectId:n.currentTabId;w.current[P]||(w.current[P]=new Set([a[0].id])),u([...w.current[P]])}},[a]),(0,Q4.useEffect)(()=>{n.showContrast?h(n.contrastUuids.length!=2):h(l.length!=1||b||n.range=="currentDocument"&&x)},[n.showContrast,n.contrastUuids.length,l.length,b,n.range,x]),(0,Q4.useEffect)(()=>{C.messageBus.subscribe("updateProjectReadOnlyNoHistoryMode",()=>{y(zi.getIsProjectReadOnly(!1,void 0,!0)),S(je(void 0,void 0,!0))})},[]);function T(P){if([ve.PCB,ve.SCH].includes(he.getDoctypeByTabId(n.currentTabId))||(n.range="currentProject"),n.range=="currentDocument"){let O=U0(n.currentTabId)[0],_=he.getDoctypeByTabId(n.currentTabId);return P.filter(B=>{if(_==ve.PCB){if(B.content.pcbs&&B.content.pcbs.find(V=>V.uuid==O))return!0}else if(_==ve.SCH&&B.content.sheets&&B.content.sheets.find(V=>V.uuid==O))return!0})}return P}function M(P){let O=Pr.version,_=new Date(O.created_at),j=P.length;for(let B=0;B<P.length;B++){let V=P[B].updateTime;if(_>=V){j=B;break}}return P.slice(0,j+1)}function I(P){let O={};if(P.content.pcbs)for(let j of P.content.pcbs)O[j.uuid]={id:`${j.uuid}@${P.uuid}`,title:`\u3010PCB\u3011 ${j.title}`,args:{modifier:P.nickname,nodeType:"histFileNode",fileId:j.uuid,histId:P.uuid,docType:ve.PCB}};let _={};if(P.content.sheets)for(let j of P.content.sheets)_[j.uuid]={id:`${j.uuid}@${P.uuid}`,title:`\u3010${i("Page")}\u3011 ${j.title}`,args:{modifier:P.nickname,nodeType:"histFileNode",fileId:j.uuid,histId:P.uuid,docType:ve.SCH}};return{id:P.uuid,title:A(P.updateTime),args:{nodeType:"histNode",modifier:P.nickname},itemStyleObject:{borderBottom:"1px solid var(--common-border-color-2)"},children:n.range=="currentProject"&&Object.keys(_).length+Object.keys(O).length>0?[...Object.values(_),...Object.values(O)]:null}}function A(P){let O=new Date(P);return`${O.toLocaleString(is.lang=="zh-hans"?"zh-CN":"en-US",{month:"long",day:"numeric",year:O.getFullYear()==new Date().getFullYear()?void 0:"numeric"})} ${O.toLocaleTimeString()}`}function D(P){P=M(T(JSON.parse(JSON.stringify(P))));let O={},_=new Array;for(let B of P){let V=E(B.updateTime);O[V]||(O[V]=[],_.push(V)),O[V].push(B)}let j=new Array;for(let B of _){let V=(p.current[B]||1)*20,G=new Array;for(let Q=0;Q<Math.min(O[B].length,V);Q++){let H=O[B][Q];G.push(I(H))}O[B].length>V&&G.push({id:`more|${B}|${n.range}}`,title:i("Expand more history"),args:{nodeType:"expandMoreHistory",timeType:B,maxNum:20}}),j.push({id:`${B}|${n.range}`,title:i(B),args:{nodeType:"timeType"},disabledSelect:!0,treeRowlineStyleObject:{borderBottom:"1px solid var(--common-border-color-2)",borderTop:"1px solid var(--common-border-color-2)",marginTop:"-1px"},children:G})}return j}function E(P){let O=new Date(P),_=new Date,j=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];for(let Q=0;Q<j.length;Q++){let H=new Date;if(H.setDate(H.getDate()-Q),H.toLocaleString().split(" ")[0]==O.toLocaleString().split(" ")[0])return Q==0?"Today":Q==1?"Yesterday":j[(_.getDay()+7-Q)%7]}let B=[{d:14,name:"A Week Ago"},{d:30,name:"Within 30 Days"}];for(let Q=0;Q<B.length;Q++){let H=B[Q],q=new Date;if(q.setDate(q.getDate()-H.d),O.getTime()>=q.getTime())return H.name}let V=["A Month Ago","Two Months Ago","Three Months Ago","Four Months Ago","Five Months Ago"];for(let Q=0;Q<V.length;Q++){let H=new Date;if(H.setMonth(H.getMonth()-Q-2),O.getTime()>=H.getTime())return V[Q]}let G=["Half A Year Ago","A Year Ago"];for(let Q=0;Q<G.length;Q++){let H=new Date;if(H.setFullYear(H.getFullYear()-Q-1),O.getTime()>=H.getTime())return G[Q]}return"Two Years Ago"}async function N(P,O,_,j){(await C.messageBus.rpcCall($e.PROJECT.GET_HISTORY_PROJECT,[{uuid:C.currentProject.projectId,current:n.currentId,target:P,replay:!0,replayDocs:j}])).message.success&&(n.currentId=P,O&&(_==ve.PCB?await Ud(O,{isActive:!0}):await C.messageBus.rpcCall("openDocByUuid",[O,C.currentProject.projectId])),C.messageBus.publish("restoreCanvasDefault",""))}function R(P){return P.args.nodeType==="timeType"?(0,Vy.jsx)("div",{style:{fontSize:"12px"},children:P.title}):(0,Vy.jsx)("div",{children:(0,Vy.jsxs)("div",{style:{display:"flex"},children:[n.showContrast&&n.range=="currentDocument"&&(0,Vy.jsx)(qt,{style:{marginRight:"8px",marginTop:"-2px"},checked:f.includes(P.id),disabled:f.length>=2&&!f.includes(P.id),onChange:async O=>{O?n.addToContrast(P.id):await n.removeFromContrast(P.id),g(n.contrastUuids)}}),(0,Vy.jsxs)("div",{children:[(0,Vy.jsx)("div",{style:{fontSize:"12px"},children:P.title}),P.args.modifier&&(0,Vy.jsxs)("div",{style:{fontSize:"12px",color:"#1890ff",display:"flex",alignItems:"center"},children:[(0,Vy.jsx)("span",{style:{width:"4px",height:"4px",background:"#1890ff",borderRadius:"50%",display:"inline-block",marginRight:"8px"}}),(0,Vy.jsx)("span",{style:{display:"inline-block"},children:P.args.modifier})]})]})]})})}let v=(P,O)=>{let _=n.range=="currentProject"?C.currentProject.projectId:n.currentTabId;w.current[_]||(w.current[_]=new Set),O.expand?w.current[_].add(O.id):w.current[_].delete(O.id)};async function k(P){var B,V;if(n.range=="currentDocument"){if(je(n.currentTabId,void 0,!0))return}else if(zi.getIsProjectReadOnly(!1,void 0,!0))return;let O=(V=(B=l[0])==null?void 0:B.split("@"))==null?void 0:V.at(-1);if(!O)return;if(n.currentRestoreId&&O==n.currentRestoreId){r6().close(),le.closeAll();return}let _=new Array;if(P)je(gi(),void 0,!0)&&_.push(he.getTabTitle());else{let G=new Map;for(let Q=0;Q<n.list.length;Q++){let H=n.list[Q];if(H.uuid==O)break;H.content.pcbs&&H.content.pcbs.forEach(q=>G.set(q.uuid,{title:q.title,doctype:ve.PCB})),H.content.schs&&H.content.schs.forEach(q=>G.set(q.uuid,{title:q.title,doctype:ve.SCH})),H.content.sheets&&H.content.sheets.forEach(q=>G.set(q.uuid,{title:q.title,doctype:ve.SCH}))}for(let[Q,H]of G)je(Fp(Q),H.doctype,!0)&&_.push(H.title)}if(_.length>0){await le.closeAll(),Ut({title:"Alert",type:"warn",message:me.i18n("The files to be restored do not have edit permissions")+": "+_.join(", ")});return}await N(l[0],void 0,void 0,P);let j=(await C.messageBus.rpcCall($e.PROJECT.SAVE_PEND_DATA,[{uuid:C.currentProject.projectId,docs:P}])).message;j&&j.success?(C.messageBus.publish("clearAllPcbHistory",!0),C.messageBus.publish("clearAllSchHistory",!0),De({type:"success",msg:i("Historical record has been successfully restored!"),timer:2.5}),r6().close()):De({type:"error",msg:i("Failed to restore historical record!"),timer:2.5}),le.closeAll()}return(0,Vy.jsxs)("div",{className:e("content"),style:{justifyContent:"space-between"},children:[(0,Vy.jsx)("div",{style:{overflow:"auto"},children:(0,Vy.jsx)(Bd,{treeWidgetItemWidth:"12px",showTagLine:!1,extendIconType:"tree-extends-triangle",selectedIds:l,containerHeight:`${o}px`,data:a,itemRender:R,onDoubleClick:async(P,O,_,j,B)=>{if(!(B.target.type=="checkbox"||n.rightTabId)){if(_.sourceData.args.nodeType=="histNode")await N(_.id);else if(_.sourceData.args.nodeType=="histFileNode"){let V=_.sourceData.args;await N(V.histId,V.fileId,V.docType)}}},onClick:(P,O,_)=>{if(_.sourceData.args.nodeType=="expandMoreHistory"){let j=_.sourceData.args.timeType,B=p.current[j]||1;p.current[j]=B+1;let V=`${j}|${n.range}`,G=a.find(Q=>Q.id===V);if(G){let Q=G.children.pop(),q=D(n.list).find(U=>U.id===V);for(let U=B*20;U<Math.min(q.children.length,p.current[j]*20);U++)G.children.push(q.children[U]);q.children.length>p.current[j]*20&&G.children.push(Q)}s([...a])}else["histNode","histFileNode"].includes(_.sourceData.args.nodeType)&&c([_.id])},expandedIds:d,onExpand:v,notAutoSelect:!0})}),(0,Vy.jsx)("div",{style:{display:"flex",flexDirection:"row-reverse",padding:"10px",position:"sticky",bottom:0},children:(0,Vy.jsx)(Me,{type:"primary",disabled:m,onClick:async()=>{if(n.showContrast){YIo();let P=await ei(),O=`${gi()}${Zc}${n.contrastUuids[1]}`;n.rightTabId=O;let _=G0(),j=gi(),B=A(n.list.find(H=>H.uuid==n.contrastUuids[0]).updateTime);he.setTabText(j,B);let V=A(n.list.find(H=>H.uuid==n.contrastUuids[1]).updateTime),G=U0()[0],Q={customTabId:O,uuid:G,path:C.currentProject.projectId,project_uuid:C.currentProject.projectId,docType:ve.PCB,title:V,display_title:V,ticket:"",updateTime:"",creator:C.currentProject.owner,lazy:!1,isReadOnlyMode:!0};qb(Q,C.currentProject.projectId,void 0).then(async H=>{await n.showHistoryNode(j,n.contrastUuids[0]),await n.showHistoryNode(O,n.contrastUuids[1]),await he.verticalBisectionTiling({leftTabId:j,rightTabId:O,leftAsMain:!0});let q=(await C.messageBus.rpcCall($e.PROJECT.GET_HISTORY_PROJECT,[{uuid:C.currentProject.projectId,current:n.contrastUuids[0],target:n.contrastUuids[1]}])).message,F=new __().start(q.result);It.setTabDisplayNone(co.id,"comparison-result",!1),co.handleClick("comparison-result"),await C.windowBridge.rpcCall("pcb/historyComparison",{diffCanvas:F.pcbs[G].canvas,leftTabId:j,rightTabId:O,tabTitle:_},P.contentWindow)})}else{if(!l[0])return;let P=n.list.findIndex(q=>q.uuid==l[0].split("@").at(-1)),O=n.list.findIndex(q=>q.uuid==n.currentRestoreId),_=!1,j=!1,B=!1,V=!1,G=!1,Q=U0(n.currentTabId)[0];for(let q=Math.min(P,O);q<Math.max(P,O);q++){let U=n.list[q];U.content.pcbs&&(B=!0),(U.content.schs||U.content.sheets)&&(V=!0),(U.content.footprints||U.content.symbols||U.content.devices)&&(G=!0);let F=[U.content.pcbs,U.content.schs,U.content.sheets].filter(Boolean).flat(1);F.some(K=>K.uuid==Q)&&(_=!0),(G||F.some(K=>K.uuid!=Q))&&(j=!0)}let H=[];G&&H.push(i("Project Library")),V&&H.push(i("SCH")),B&&H.push(i("PCB")),_&&!j?await k():Ut({icon:"warning",title:"Notice",type:"confirm",width:410,message:me.i18n("Other {0} changes exist after the current history. Do you want to restore all?",[H.join(", ")]),footer:(0,Vy.jsxs)("div",{children:[!G&&(0,Vy.jsx)(Me,{type:"primary",onClick:async()=>{let q=gi();await k([U0(q)[0]])},children:"Restore Current Document"}),(0,Vy.jsx)(Me,{type:"primary",style:{marginLeft:"10px"},onClick:async()=>k(),children:"Restore All"}),(0,Vy.jsx)(Me,{style:{marginLeft:"10px"},onClick:()=>le.closeAll(),children:"Cancel"})]})})}},style:{width:"72px"},children:n.showContrast?"Comparison":"Restore"})})]})}var Vve=L(z());function zXr(){let t=RE.getStore();Ce(t),Ae(FVt.default);let{locals:e}=FVt.default,i=be.bind(e);return(0,Vve.jsxs)("div",{className:i("container"),children:[(0,Vve.jsx)(HIo,{}),(0,Vve.jsx)(GIo,{})]})}var QIo=(0,WIo.memo)(zXr);var ZIo=L(z()),UVt=class t{static getInstance(){return this._instance||new t}constructor(){if(t._instance)throw new Error("HistoricalRecordsPanel: Repeat HistoricalRecordsPanel Instance");KIo.default.createRoot(document.getElementById(kS)).render((0,ZIo.jsx)(QIo,{})),this._store=RE.getStore()||new RE(this),this._store.clear(),t._instance=this}showTopTabTipAtTop(){return this._store.contrastUuids.length>=2&&this._store.rightTabId}async setTabActive(){await this.fetchRecordList(),Br.handleClick("historical-records",!0,!0),await Pn("layout_toggler_right",!1)}async fetchRecordList(){let e=(await C.messageBus.rpcCall($e.PROJECT.GET_HISTORY_NODE,[C.currentProject.projectId])).message;if(e.success){let i=e.result;Je||(_t?i=i.slice(0,150):i=i.slice(0,30));let o=i.sort((r,n)=>n.updateTime-r.updateTime);C.messageBus.publish("updateHistoricalNodeList",o)}else this._store.list=[]}async close(){this._store.contrastUuids.length&&await this.exitContrast();let e=await C.messageBus.rpcCall($e.PROJECT.REVOKE_PEND_DATA,[C.currentProject.projectId]);this._store.clear(),C.isHistoryMode=!1,Br.handleClick(dt()==ve.PCB?C.rightPanelActiveTab.PCB:C.rightPanelActiveTab.SCH),await V3(),C.messageBus.publish("updateHistoryMode",!1),t4.setRenderTicket()}async closeRightContrastTab(e){if(this._store.rightTabId&&this._store.rightTabId.startsWith(e)){let i=this._store.rightTabId;if(this._store.contrastUuids.length>=2){let o=this._store.rightTabId.split(Zc).slice(0,2).join(Zc),[r,n]=U0(o),{message:a}=await C.messageBus.rpcCall($e.PCB.GET,[r,C.currentProject.projectId]);await this._store.showHistoryNode(o,this._store.currentId,this._store.contrastUuids[0]),setTimeout(()=>{he.setTabText(o,a.display_title),he.simulateClick(o),t4.setRenderTicket()},200)}return this._store.contrastUuids=[this._store.contrastUuids[this._store.rightTabId==e?0:1]],this._store.rightTabId=null,It.setTabDisplayNone(co.id,"comparison-result",!0),C.messageBus.publish("pro-ui/clearComparisonResult"),co.handleClick("lib"),i}return this._store.contrastUuids.length==1&&(this._store.contrastUuids=[],this._store.showContrast=!1),e}async exitContrast(){await he.closeTopTab(this._store.rightTabId),this._store.contrastUuids=[]}};function r6(){return UVt.getInstance()}var IL=L(z());var HVt=t=>{let{tabId:e}=t,i=e;ol(e)&&C.messageBus.publish("sch/getModelTabId",{tabid:e,cb:f=>{i=f}}),Ae(VVt.default),Ce(t4);let o=be.bind(VVt.default.locals),r=J(),n=(0,Mle.useRef)(null),[a,s]=(0,Mle.useState)([]);(0,Mle.useEffect)(()=>{if(e==="tab_page1"){s([]);return}l()},[t4.renderTicket]),(0,Mle.useEffect)(()=>{let f=document.getElementById(`top_tab_tips_${e}`),g=new ResizeObserver(b=>{var y;for(let w of b){let x=he.getTabIframeSync(i);if(x){if(+x.getAttribute("c_doctype")!==se.SCH)return;let S=x.parentElement,T=24;for(let M of S.children)M!==x&&M.getAttribute("id")==="sub_tabbar"&&M.children.length>0&&(T+=24);T=(((y=document.getElementById(`top_tab_tips_${e}`))==null?void 0:y.getBoundingClientRect().height)||0)+T,x&&(x.style.height=`calc(100% - ${T}px`)}}});return f&&g.observe(f),()=>{g.disconnect()}},[n.current]);async function l(){let{message:f,highlightRedWords:g,highlightBlueWords:b,replaceWords:y}=await c(),w=r({value:f,options:y});b=b.map(I=>r(I)),g=g.map(I=>I===" "?I:r(I));let x=`(${b.concat(g).join("|")})`,S=new RegExp(x,"g");w=w.split(S);let T=w.map(I=>b.includes(I)?{type:"blue",word:I,cmd:M(I)}:g.includes(I)?{type:"red",word:I}:{type:"common",word:I});if(C.isHistoryMode){let I;r6().showTopTabTipAtTop()?I=e=="histRecords":(I=!!f,setTimeout(()=>{O4({record:!1,isResize:!0})},100)),I?T=[{type:"common",word:r("Historical Records"),cmd:null}]:T=[]}s([...T]),T.length?p():m();function M(I){switch(I){case r("check out"):return"check_out";case r("check out the top page"):return"check_out_top";case r("check out the template page"):return"check_out_temp";default:return""}}}async function c(){var x;let{isPublic:f,isPublish:g,projectManagerName:b}=C.currentProject,y={message:"",highlightBlueWords:[],highlightRedWords:[],replaceWords:{}},w=he.getTabDocType(e);if(vn(w)&&(w=(x=await he.getTabInfo(e))==null?void 0:x.docType),vn(w)||gi()!=e)return y;if(f&&g){let{license:S}=C;y.message="This project is an open source project(license: {license}). If you need to edit it, please save as a new project and continue.",y.replaceWords={license:S},y.highlightRedWords=[S||" "]}else if(zi.getIsProjectReadOnly(!0)){y.message="You do not have permission to edit the project,Contact the project owner {nickName} or administrator for edit project.";let S=await Pr.getVersion();S&&S.node&&(y.message="The currently opened version type is node. Editing is not supported."),y.replaceWords={nickName:b},y.highlightBlueWords=[b],C.archive&&C.role!="4"&&(y.message="The project has been locked,Contact the project owner {nickName} or administrator for edit project."),C.store&&(y.message="The project has been archived,Contact the project owner {nickName} or administrator for edit project.")}else switch(w){case se.SCH:{let S=(await C.messageBus.rpcCall("getTopTipsStatusSch",e)).message||{},{noMessage:T,isInstance:M,checkOutType:I,schematicName:A,sheetTitle:D,checkOutUserNickName:E,topSheetCheckOutData:N,rootSheetCheckOutData:R,checkOutUserRealName:v}=S;if(T||I==="own")return y;if(!M)I==="none"?(y.message="In strict collaboration mode, if you need to edit the page, please right-click on the page of the project design module, or right-click on the blank of the opened page, check out and edit the page.",y.highlightBlueWords=["check out"]):(y.message="{pageName} checked out by {nickName} ,unable to edit;Contact the checked out user or project owner for editing.",y.highlightRedWords=[`${A}.${D}`],y.highlightBlueWords=[`${E} ${v}`],y.replaceWords={pageName:`${A}.${D}`,nickName:`${E} ${v}`});else{let{checkOutType:k,schematicName:P,sheetTitle:O,checkOutUserNickName:_,checkOutUserRealName:j}=N,{checkOutType:B,schematicName:V,sheetTitle:G,checkOutUserNickName:Q,checkOutUserRealName:H}=R,q=`${P}.${O}`,U=`${_} ${j}`,F=`${V}.${G}`,K=`${Q} ${H}`,te=r("In strict collaboration mode,"),ae=d(B,F,K,"root",y),pe=d(k,q,U,"top",y);k==="own"&&B==="own"?y.message="":y.message=te+ae+pe}return y}case se.PCB:case se.PANEL:case se.SIMULIDE:case se.NGSPICE:{let S=await Ga.getTopTipsStatusPanel(e),{noMessage:T,checkOutType:M,displayTitle:I,checkOutUserRealName:A,checkOutUserNickName:D}=S;if(T||M==="own")return y;M==="none"?(y.message="In strict collaboration mode, if you need to edit the page, please right-click on the page of the project design module, or right-click on the blank of the opened page, check out and edit the page.",y.highlightBlueWords=["check out"]):(y.message="{pageName} checked out by {nickName} ,unable to edit;Contact the checked out user or project owner for editing.",y.highlightRedWords=[I],y.highlightBlueWords=[`${D} ${A}`],y.replaceWords={pageName:I,nickName:`${D} ${A}`});break}case se.BLANKTAB:{y.message="",y.highlightRedWords=[],y.replaceWords={};break}default:break}return y}function d(f,g,b,y,w){let x,{highlightBlueWords:S,highlightRedWords:T,replaceWords:M}=w,I=y==="top",A=I?"topPage":"rootPage",D=I?"topNickName":"rootNickName",E=I?"check out the top page":"check out the template page";return f==="own"?x="":f==="none"?(x=r(I?"To edit instance properties,Please check out the top page {topPage}.":"if you need to edit the diagram page,Please check out the template page{rootPage};"),M[A]=g,S.push(E),T.push(g)):(x=r(I?"top page {topPage} checked out by {topNickName} ,Contact the checked out user or project owner for edit instance properties.":"template page {rootPage} checked out by {rootNickName} ,Contact the checked out user or project owner for edit diagram page."),M[A]=g,M[D]=b,S.push(b),T.push(g)),x}function u(f){let g=dt();switch(f){case"check_out":{[se.PANEL,se.PCB,se.SIMULIDE,se.NGSPICE].includes(g)?Ga.checkInAndOut("check_out"):C.messageBus.publish("checkOutSch",{tabId:e,type:"common"});break}case"check_out_top":{C.messageBus.publish("checkOutSch",{tabId:e,type:"top"});break}case"check_out_temp":{C.messageBus.publish("checkOutSch",{tabId:e,type:"root"});break}default:break}}function p(){if(he.getTabDocType(e)==se.PCB){let g=Vr("frame_"+e);g&&(g.style.top=C.inExam?"40px":"20px")}}function m(){if(he.getTabDocType(e)==se.PCB){let g=Vr("frame_"+e);g&&(g.style.top=C.inExam?"20px":"0px")}}let h=()=>{if(m(),s([]),C.isHistoryMode){let f=Vr("frame_"+gi());f&&(f.style.top="0px"),r6().close()}};return a.length>0&&(0,IL.jsxs)(IL.Fragment,{children:[(0,IL.jsx)("div",{style:{height:C.inExam?20:0}}),(0,IL.jsxs)("div",{className:o("tips_content"),ref:n,children:[(0,IL.jsx)("span",{className:o("warning_tips_icon"),children:"!"}),(0,IL.jsx)("p",{children:a.map((f,g)=>{let{type:b,word:y,cmd:w}=f,x=o(b==="common"?"common":b==="blue"?"highlightBlue":"highlightRed");return g<a.length-1&&g!=0?(0,IL.jsx)("span",{className:x,style:{cursor:["check_out","check_out_top","check_out_temp"].includes(w)?"pointer":"default"},onClick:()=>{u(w)},children:y},g):y})}),(0,IL.jsx)("i",{className:o("clear"),onClick:h})]})]})};function Hve(t,e,i=!1){if(ln.isViewerMode)return;let o=he.getDoctypeByTabId(e);if(![se.SCH,se.PCB,se.PANEL,se.SIMULIDE,se.NGSPICE].includes(o)&&!i)return;t4.activeTabId=e;let r=document.createElement("div");r.setAttribute("id",`top_tab_tips_${e}`),r.setAttribute("class","topTabTip"),r.setAttribute("style","width:100%"),t.insertBefore(r,t.firstChild),aat.default.createRoot(r).render((0,IL.jsx)(HVt,{tabId:e},e))}function YIo(){let t="histRecords";if(document.getElementById(`top_tab_tips_${t}`))return;let i=document.getElementById("editorTabbar");t4.activeTabId=t;let o=document.createElement("div");o.setAttribute("id",`top_tab_tips_${t}`),o.setAttribute("style","width:100%"),i.insertBefore(o,i.firstChild),aat.default.createRoot(o).render((0,IL.jsx)(HVt,{tabId:t},t))}var JIo=!1;function FXr(t){if(!(ln.isViewerMode||C.isHistoryMode))if(JIo)t4.setRenderTicket();else{JIo=!0;let e=document.createElement("div");e.setAttribute("id","top_tab_tips_blank"),e.setAttribute("style","width:100%"),t.append(e),aat.default.createRoot(e).render((0,IL.jsx)(HVt,{tabId:"0"},0))}}document.addEventListener("DOMContentLoaded",()=>{C.messageBus.subscribe("editorCreated",t=>{let{tabId:e,docType:i,uuid:o}=t,r=he.getTabIframeSync(e);Hve(r.parentElement,e)}),C.messageBus.rpcService("openProjectInitCompleted",()=>{FXr(document.getElementById("project-blank-page"))})});async function sat(t,e){let i=(await C.messageBus.rpcCall($e.PCB.GET_ALL_ARR,[C.currentProject.projectId])).message||[],o=await Qd.getInstance().getPCBLevelTypeFromProjectTree(t,e),r;if(o==="MAIN")r=t;else if(o==="CHILD"){let s=await Qd.getInstance().getParentPCBUuid(t,e);r=ue.splitComponentId2FolderAndFilenameMixin(s).componentTitleOrId}let a=(await Qd.getInstance().getPartitionList(r,e)).filter(s=>!i.some(l=>l.parent_uuid==r&&l.uuid==s.fileUuid)).map(s=>s.fileUuid);C.messageBus.publish("removeFileUuids",a),C.messageBus.publish("refreshPcbItemView")}var GVt=L(z());var Zc="@";function Fp(t,e=C.currentProject.projectId){return!t||!e||t.includes(Zc)?t:t+Zc+e}function U0(t=he.getActiveTab()){return t?t.split(Zc):[t,""]}function rf(t){var e;return t.path||t.project_uuid||((e=t.ownerInfo||t.owner)==null?void 0:e.uuid)}async function YVt(t,e=[],i=void 0){var o=dt(),r=[];Fh(o)?(await C.messageBus.rpcCall("getProjectOpenTabs",[he.getDocProject(he.getActiveTab())])).message.forEach(async function(a){await he.getTabIFrame(a)&&(i?(r=[await C.messageBus.rpcCall("getAttrTarget",[a])],r=r.concat(e||[]),kr(t,r,a)):(e&&(Array.isArray(e)?r=m1(r,e):r.push(e)),kr(t,r,a)))}):kr(t,e)}function UXr(t){return t||(t="sheet-"),t.indexOf("sheet-")>-1}async function qIo(t,e){let i,o,r;if(e===ve.SCH?i="schematic":kl(e)?i="symbol":i="panel",o=(0,n6.default)("iframe[blankIframe="+i+"]"),o.length){r=o[0];let a=o.parent("div").attr("uuid");o.removeAttr("blankIframe");let s=(await C.messageBus.rpcCall("getModelTabId",t)).message;o.attr("c_dbid",s||""),o.attr("c_doctype",e),rn(Rd("#tabbar_bodies > div[uuid='"+a+"']"),"uuid",s),rn(Rd("#tabbar_bodies iframe.editframe[id='frame_"+a+"']"),"id","frame_"+s),rn(Rd("#rulerh_"+a),"id","rulerh_"+s),rn(Rd("#rulerCursorX_"+a),"id","rulerCursorX_"+s),rn(Rd("#rulerv_"+a),"id","rulerv_"+s),rn(Rd("#rulerCursorY_"+a),"id","rulerCursorY_"+s)}return r}function zme(t){return t===ve.SCH||kl(t)}function VXr(){let e=he.getFilterTabs(["tab_page1","0"]).filter(i=>{var o;return!((o=i==null?void 0:i.data)!=null&&o.isCloseing)}).filter(i=>!(i!=null&&i.data&&!zme(i.data.doctype)));if(e.length&&e.length>=11){let i=e[0],o=i.tabId,r=i.title;return{tabId:o,tabText:r}}return{}}async function qb(t,e=void 0,i=new Function,o){var v,k;[Ee.HOME,Ee.COMMON_BLANK].includes(k2())&&await O4({isHome:!1});let{isActive:r=!0,isPartition:n=!1}=o||{};C.messageBus.publish("showLoading");var a=n6.default.Deferred();let s=t.project_uuid||t.path||t.libPath||e,l=C.currentProject.projectId,c=s==l,d=t.customTabId||Fp(t.uuid,s),u=await he.getTabIFrame(d);if(u)return he.simulateClick(d,r),i(t),C.messageBus.publish("hideLoading"),t.highlightItems&&setTimeout(()=>{C.windowBridge.publish("highlightItems",{globalIndexArr:t.highlightItems,scrollElementsIntoView:!0},u.contentWindow)},300),a.resolve().promise();var p=t.docType||t.doctype||t.type,m=t.display_title||t.title;let h=t.isPreivew||!1;if(o!=null&&o.multiOpenTab){let{tabId:P,tabText:O}=VXr();await wle(P,d)}WA("createPcbEditorToRendered-time");let g="createIframe-time";WA(g);var b=p;o=o||{},m||(m=eLo(b),t.display_title=m);let y=!d;if(y?d=Wee():y=UXr(d),!he.isHasTabById(d)){if(!t.ticket&&c){let{uuid:P}=he.getUuidAndPathByTab(d),{message:O}=await C.messageBus.rpcCall($e.PCB.GET,[P,C.currentProject.projectId]);t.ticket=O?O.ticket:t.ticket}await ZT.createTab(d,p,m||Wee(),m,t.ticket,{pid:e,updateTime:t.updateTime,isProjectLib:(v=t.isProjectLib)!=null?v:t.project_uuid==C.currentProject.projectId,isPartition:n,openContainerId:o.openContainerId,isReadOnlyMode:t.isReadOnlyMode}),t.scope&&he.setTabData(d,{scope:t.scope})}if(t.lazy||o.lazy)return C.messageBus.publish("hideLoading"),a.resolve().promise();var w=ZP.create({tabId:d,docType:p});let x=new UVe(w.parentElement),S=d0();x.isShowPCBBottomLayersBar=S.isShowPCBBottomLayersBar,C.pcbAllLayersBars.push(x),wHe(w.parentElement,d,p);var T=(0,n6.default)(w);let M=C.windowBridge.rpcCall("isCheckedSelectAlignrefObject",null,ko()),I=C.windowBridge.rpcCall("isCheckedSelectAlignrefObjectForCenters",null,ko());KP(g);let A="loadFrame-time";WA(A),T[0].setAttribute("pcb-canvas","true");let D=new URLSearchParams(location.search),E=D.get("wire"),N=D.get("shove"),R=(k=await C.messageBus.rpcCall("getUserInfoFromCache",""))==null?void 0:k.message;return T[0].onload=async function(){var q,U,F,K,te,ae;let P=hn(),O=S$e(),_=new Sle().getValue(),j=await(await M.then()).message,B=await(await I.then()).message,V={docType:p,tabId:d,parent_uuid:t.parent_uuid,name:t.display_title,projectTitle:C.currentProject.title,saveFile:t.autoSave,highlightItems:t.highlightItems,commSystemSetting:P,pcbConfig:_,drcCustomSetting:O,isNew:y,owner:t.owner,customerCode:(q=C.globalVariableCookieData.userInfo)==null?void 0:q.customerCode,clientOnlineService:((U=(0,n6.default)('meta[name="clientOnlineService"]'))==null?void 0:U.attr("content"))||"",footprintIsConnectDevice:!!t.deviceId,alignNeedSelectRefObject:j,alignNeedSelectRefObjectForCenters:B,source:t.source||"",isReadOnlyMode:t&&Object.hasOwnProperty.call(t,"isReadOnlyMode")?t.isReadOnlyMode:je(d,p),isConcurrentStrictMode:Ga.isConcurrentStrictMode,unChangeRepairLineTool:!!E,isPlaceViasAutoShove:!!N,isPreview:h,user:R,currOpenProjectId:t.project_uuid||C.currentProject.projectId,isNeedInitRuleWhenCreatedByCBBTemplate:!!o.isNeedInitRuleWhenCreatedByCBBTemplate,isCheckedCrossProbeMode:mt.getKeyValue("isCheckedCrossProbeMode")};if(P!=null&&Ho.updateCustomMenuItem({gridSize:P.PCB_COMM_GRID_SIZE.commonlyList||[],trackWidth:P.PCB_COMM_TRACK_WIDTH.commonlyList||[]}),KP(A),p==ve.PCB&&c){let pe=await Qd.getInstance().getPCBLevelTypeFromProjectTree(t.uuid);V.pcbLevelType=pe}if(c){let pe=cn.getHashIdByFidAndType(d,p);p&&p!==ve.PCB&&await cn.addFileId(pe,p)}if(await ms.modifyRulerTheme(),await C.windowBridge.rpcCall("rpcInitFrameInfo",V,T[0].contentWindow),await ms.modifyRulerTheme(),p===ve.FOOTPRINT){let pe=new tat(d);dF.attach(pe)}C.pcbTo3DView[d]={dlgObj:new jve,isOpen:!1};let G=JSON.parse(localStorage.getItem("preferences"));C.messageBus.publish("updateAssociationPCBCanvasGridAndSnap",+G.isAssociationPCBCanvasGridAndSnap,w&&w.contentWindow),C.profileSetting&&(C.profileSetting.isAssociationPCBCanvasGridAndSnap=+G.isAssociationPCBCanvasGridAndSnap),C.messageBus.publish("updateAssociationPCBCanvasGridType",+G.isAssociationPCBCanvasGridType,w&&w.contentWindow),C.messageBus.publish("updateMaximumRadius",+G.MaximumRadius||100,w&&w.contentWindow),i(t),w.contentWindow.oldBox=w==null?void 0:w.getBoundingClientRect(),await he.setTabActive(d,r),C.pcbLayersBar=x,(F=T[0])!=null&&F.parentElement&&(Hve(T[0].parentElement,d),Ga.renderAll([d]));let Q;if(C.currentProject.isCBB){let pe=await Y4(C.currentProject.projectId);pe&&(Q=(K=pe.creator)==null?void 0:K.uuid)}let H={creator:((te=t.creator)==null?void 0:te.uuid)||Q,owner:((ae=t.owner)==null?void 0:ae.uuid)||C.currentProject.owner};return he.setTabData(d,H),await cat(C.currentProject.projectId),a.resolve()},a.promise()}function HXr(t){let e=dat(t);if(e)return`editor?entry=${e}`;console.error("no entry, plz check code")}var ZP=class t{constructor(e){this.tabbarBody=Vr("tabbar_bodies");this.tabId=he.getModelTabIdSync(e.tabId),this.docType=e.docType,this.hidden=e.hidden||!1}static create(e){return new t(e).create()}get needResize(){return!this.tabbarBody.querySelectorAll(".editframe").length}get isCreated(){return!!(0,n6.default)(`> div[uuid="${this.tabId}"]`,this.tabbarBody).length}get iframeSrc(){return HXr(this.docType)}create(){if(this.isCreated)return new Error;let e=this.iframeSrc;(0,n6.default)(document.body).toggleClass("none-docs",!1);let i="",o=n=>{let a=`
				<div
					class="tabbar-panel ruler-theme"
					uuid="${this.tabId}"
					style="position: absolute; top: 0; left: 0;${this.hidden?"visibility: hidden;":""}; overflow: hidden"
				>
					${i}
				</div>
			`;this.tabbarBody.insertAdjacentHTML("beforeend",a);let s=Vr(`frame_${this.tabId}`),l=n?n(s):s;return this.listenPanelEvent(l,s),s};if(e.endsWith("sch")||e.endsWith("symbol")||e.endsWith("ngspice")||e.endsWith("simulide"))return i+=`<div class="editframe" c_doctype="${this.docType}" id="frame_${this.tabId}" c_dbid="${this.tabId}"></div>`,o();{let a=this.hasRuler()?"ruler":"un_ruler";if(a){let{needResize:s}=this,l=(0,n6.default)(this.tabbarBody),c=s?document.body.clientWidth-394:l.width()-23,d=s?document.body.clientHeight-121:l.height()-23,u=18;i+=`<div class="ruler-origin" draggable="true"></div><div class="rulerhc ruler-theme" draggable="true" style="left:1px"><canvas height="${u}" width="${c+2}" class="rulerh" id="rulerh_${this.tabId}"></canvas><div class="ruler-cursor-x" id="rulerCursorX_${this.tabId}"></div><div class="ruler-auxiliary-box"></div></div><div class="rulervc ruler-theme" draggable="true" style="top:${this.docType===ve.PANEL?-2:0}px"><canvas height="${d+2}" width="${u}" class="rulerv" id="rulerv_${this.tabId}"></canvas><div class="ruler-cursor-y" id="rulerCursorY_${this.tabId}"></div><div class="ruler-auxiliary-box"></div></div>`}return i+=`<iframe class="editframe ${a}" c_doctype="${this.docType}" winzoom="100" src="${e}" id="frame_${this.tabId}" c_dbid="${this.tabId}" frameborder="0" border="0" style="" allow="clipboard-read; clipboard-write;"></iframe>`,o(s=>s.contentWindow)}}listenPanelEvent(e,i=e){e.addEventListener("pointerdown",function(o){C.clickWhat="other",C.windowBridge.publish("hideSidePanel","other",ko()),C.windowBridge.publish("closeNameInputSelect","",ko())}),(function(){e.addEventListener("pointerdown",o),e.addEventListener("mousemove",o),e.addEventListener("mouseup",r=>{C.messageBus.publish("canvasMouseUpEvent",r)}),e.addEventListener("keydown",o),e.addEventListener("mousedown",r=>{C.messageBus.publish("canvasMousedownEvent",r)});function o(){C.messageBus.publish("setLastMouseOrKeyBoardEventTime",new Date().getTime())}})(),e.addEventListener("pointerdown",async function(o){var s,l;let r=i;if(document.activeElement===r)return;let n=r==null?void 0:r.getAttribute("c_doctype"),a=(s=r==null?void 0:r.parentElement)==null?void 0:s.getAttribute("uuid");if(n&&[ve.VIEW3D,ve.PANEL3D,ve.PHOTOVIEW].includes(Number(n)))he.getActiveTab()!==a&&he.simulateClick(a,!0);else if(n&&[ve.PCB,ve.FOOTPRINT].includes(Number(n)))ASe(r);else if(n&&Number(n)===ve.SCH){let c=o.target.parentElement,d=c.getAttribute("id");if(!d)return;let u=d.replace("frame_",""),p=+c.getAttribute("c_doctype"),h=he.getTabByDataKey("data-model-sheet-uuid",U0(u)[0])[0].tabId;C.messageBus.publish("onDocFocus",{tabId:h,docType:p}),(l=document.activeElement.id)!=null&&l.includes("tableCellInput")&&o.button===2||document.activeElement.blur()}else C.messageBus.publish("onDocFocus",{tabId:a,docType:Number(n)}),document.activeElement.blur()})}hasRuler(){return C.profileSetting?kl(this.docType)?Wi("CANVAS","ruler"):[ve.PANEL,ve.PANEL_LIB].includes(this.docType)?Wi("PANEL_CANVAS","ruler"):!1:!1}};function GXr(t){let e=(0,n6.default)(`iframe[blankIframe="${t}"]`);if(e.length<=0){let i=Wee(),o=t==="schematic"?ve.SCH:t==="panel"?ve.PANEL:ve.PART,r=ZP.create({tabId:i,docType:o,hidden:!0});return(0,n6.default)(r).attr("blankIframe",t),(0,n6.default)(`.tabbar-bodies>div[uuid=${i}]`).addClass("blankIframeDiv"),(0,n6.default)(r)}return(0,n6.default)(e[0])}var YXr=["panel"];function XIo(){let t={};for(let e of YXr)t[e]=GXr(e);return t}function Ud(t,e){return new Promise(async(i,o)=>{let r=Fp(t,C.currentProject.projectId);if(Vr("frame_"+r)){setTimeout(()=>{he.setTabActive(r,e==null?void 0:e.isActive).then(s=>{i(!0)})},0);return}let a=!0;if((!e||vn(e.checkOpenMultiTab)||e.checkOpenMultiTab)&&(a=await v5e(r,ve.PCB,r)),!a)return i(!0);C.messageBus.rpcCall($e.PCB.GET,[t,C.currentProject.projectId]).then(({message:s})=>{if(!s)return i(!1);let l={uuid:s.uuid,parent_uuid:s.parent_uuid,path:C.currentProject.projectId,docType:ve.PCB,title:s.title,display_title:s.display_title,ticket:s.ticket,updateTime:s.updateTime,lazy:e==null?void 0:e.lazy,creator:s.creator};qb(l,C.currentProject.projectId,void 0,e).then(async c=>{if(e!=null&&e.unUpdatePartition)return i(!0);dt()==ve.PCB&&(await sat(l.uuid,l.path),await sbe(l.uuid,l.path)),i(!0),await cat(C.currentProject.projectId)}).catch(c=>{i(!0),console.log(c)})})})}function NMt(t,e,i){return new Promise(async(o,r)=>{if(!t)return o(!1);let n=C.currentProject.projectId,a=t.projectId,s=t.uuid;if(n==a){let u=await Ud(s,i);return o(u)}let l=Fp(s,a);if(Vr("frame_"+l)){setTimeout(()=>{he.setTabActive(l,i==null?void 0:i.isActive).then(u=>{o(!0)})},0);return}let d={uuid:s,path:a,project_uuid:a,docType:ve.PCB,title:e.title,display_title:e.display_title||e.title,ticket:e.ticket,updateTime:e.updateTime,creator:e.creator,lazy:i==null?void 0:i.lazy,pcbWorld:t,isReadOnlyMode:!0};qb(d,a,void 0,i).then(async u=>{o(!0)}).catch(u=>{console.log(u)})})}document.addEventListener("DOMContentLoaded",()=>{C.messageBus.subscribe("editorCreated",async t=>{let{tabId:e,docType:i,uuid:o}=t;(ve.SCH===i||kl(i))&&J9e(i,e)})});function ASe(t){var o;let e=t.getAttribute("id");e=e.replace("frame_",""),he.getActiveTab()!==e&&(C.messageBus.publish("changeSubThreadRuning",!0),he.simulateClick(e,!0));let i=ZT.getCurPcbLayerBarByIframe(e);(i==null?void 0:i.containerId)!==((o=C.pcbLayersBar)==null?void 0:o.containerId)&&(C.pcbLayersBar=i)}var lat="Exam is over";async function cat(t){function e(){C.worker.publish("autoSave/regist",[5,!1,!1])}function i(u){let p=me.i18n(". The system will automatically submit your exam when it ends, no manual submission required.");if(u<=0)return zi.clearCache(),null;u>=58001&&u<=59999&&xl({checkTicket:!0},!1).then();let m=Math.floor(u/(24*3600*1e3)),h=u%(24*3600*1e3),f=Math.floor(h/(3600*1e3)),g=h%(3600*1e3),b=Math.floor(g/(60*1e3)),y=g%(60*1e3),w=Math.round(y/1e3);return`${me.i18n("Exam remaining time")} `+(m==0?"":m+me.i18n("days"))+" "+(f==0?"":f+me.i18n("hours"))+" "+(b==0?"":b+me.i18n("minutes"))+" "+(w==0?"":w+me.i18n("seconds"))+" "+p}let{isExamProject:o,inTheExam:r,correction_status:n,endOfExam:a,examInfo:s}=await zi.getExamProjectStatus(t);if(!o)return;C.inExam=!0,tQe(sc());let l=document.querySelector("div.time-interval");if(!l){l=document.createElement("div"),l.className="time-interval";var c=(0,n6.default)("#editor-window-main")[0];c.appendChild(l);var d=(0,n6.default)(l);d.css("background","#fff9f5"),d.css("height","20px"),d.css("width","100%"),d.css("border","1px solid #ff8930"),d.css("color","#ff8930"),d.css("textAlign","center"),d.css("position","absolute"),d.css("top","24px"),d.css("zIndex","15")}if(a){let{hasPermission:u}=await Mv(t,!1);if(u){let m=await Y4(t);zi.setProjectDetailCache(m,t)}let p=me.i18n(lat);l.innerHTML=p}if(n){let u=me.i18n(lat);l.innerHTML=u}if(r){let u=s.now_at,p=u?new Date(u).getTime():new Date().getTime(),m=new Date(s.end_at).getTime(),h=m-p,f=i(h);f==null&&(clearInterval(C.projectInterval),clearInterval(C.projectUpdateInterval),f=me.i18n(lat)),l.innerHTML=f,(C.projectInterval==null||C.projectInterval==null)&&(C.projectInterval=setInterval(()=>{h-=1e3,f=i(h),f==null&&(Y4(t).then(g=>{zi.setProjectDetailCache(g,t)}),clearInterval(C.projectInterval),clearInterval(C.projectUpdateInterval),f=me.i18n(lat)),l.innerHTML=f},1e3)),(C.projectUpdateInterval==null||C.projectUpdateInterval==null)&&(C.projectUpdateInterval=setInterval(()=>{Y4(t).then(async g=>{zi.setProjectDetailCache(g,t);let b=await zi.getExamProjectStatus(t),y=b.examInfo.now_at;p=y?new Date(y).getTime():new Date().getTime(),m=new Date(b.examInfo.end_at).getTime(),h=m-p})},18e4)),e()}}function $Io(){if(he.getFilterTabs(["tab_page1","0"]).length<=0){C.inExam=!1;let e=document.querySelector("div.time-interval");clearInterval(C.projectInterval),clearInterval(C.projectUpdateInterval),C.projectInterval=null,C.projectUpdateInterval=null,e&&e.parentNode.removeChild(e)}}async function yn(t){let e=new Date().getTime();if(!await WXr(t)){console.warn("openDoc props error: ",t);return}let{data:i,docType:o,openContainer:r,checkOpenMultiTab:n=!0}=t,{tabId:a,uuid:s,path:l,isComponent:c,lazy:d,isActive:u=!0,deviceUuid:p,option:m={},hooks:h={}}=t,{beforeGetDocData:f=()=>{},afterGetDocData:g=()=>{},beforeCreateTab:b=()=>{},afterCreateTab:y=()=>{},beforeTabActive:w=()=>{},afterTabActive:x=()=>{}}=h,S=await KXr({tabId:a,uuid:s,path:l,docType:o});if(S)return o===void 0&&(o=+rn(S,"c_doctype")),gi()!==a&&await ZXr({tabId:a,docType:o}),!0;if(n&&(o=o||he.getTabDocType(a),!await v5e(a,o,s)))return!0;if(!i){if(f(t),i=await WVt({uuid:s,path:l,docType:o,isComponent:c,inProject:l===C.currentProject.projectId}),zh(i.docType)&&!na)return;if(!i){console.error("\u6CA1\u6709\u6570\u636E\uFF0C\u6253\u5F00\u6587\u6863\uFF0C\u5DF2\u7ECF\u7EC8\u6B62",i);return}i.tabId=a,g(i)}if(console.log("\u83B7\u53D6\u6587\u6863\u6570\u636E: ",new Date().getTime()-e,"ms"),i.tabId=a,p&&(i.deviceUuid=p),o===void 0&&(o=i.docType),o===se.FOOTPRINT)return(await C.messageBus.rpcCall("openFootprintDoc",[{...i,libPath:l},void 0,()=>{},{lazy:d,checkOpenMultiTab:n}])).message;let T=new Date().getTime();if(sLo(a,s)||(b(i),await hLo({tabId:a,docType:o,data:i,openContainer:r}),y(i),console.log("\u521B\u5EFATab: ",new Date().getTime()-T,"ms")),await cat(C.currentProject.projectId),!d){let M=new Date().getTime();await lLo({data:i,cb:h.beforeCreateEditor});let I=await pLo({data:i,tabId:a,docType:o});await cLo({data:i,cb:h.afterCreateEditor}),console.log("\u521B\u5EFAEditor: ",new Date().getTime()-M,"ms");let A=new Date().getTime();if(await dLo({data:i,cb:h.beforeImportDoc}),await mLo({data:i,tabId:a,docType:o,tabPanelContainerId:I.id}),await uLo({data:i,cb:h.afterImportDoc}),console.log("importDoc: ",new Date().getTime()-A,"ms"),u){let D=new Date().getTime();w(i),console.log("beforeTabActive: ",new Date().getTime()-D,"ms");let E=new Date().getTime();await he.setTabActive(a,u),console.log("setTabActive: ",new Date().getTime()-E,"ms");let N=new Date().getTime();x(i),await ms.modifyRulerTheme(),console.log("afterTabActive: ",new Date().getTime()-N,"ms"),C.messageBus.publish("openDocComplete",{tabId:a,docType:o})}XXr("\u6253\u5F00\u6587\u6863\u603B\u8017\u65F6: ",e)}return!0}async function rLo(t){let{props:e,canvasId:i}=t,{uuid:o,tabId:r,data:n,docType:a,openContainer:s,lazy:l,isActive:c=!0,hooks:d={}}=e;if(n.tabId=r,pr(a)||se.SCH===a||_we(a)){let u=Wi("CANVAS"),{gridStyle:{value:p}=Object(),unit:{value:m}=Object(),sch_gridSize:{value:h}=Object(),schAltSnapGridSize:{value:f}=Object(),schlib_gridSize:{value:g}=Object(),schlibAltSnapGridSize:{value:b}=Object(),ruler:{value:y}=Object(),snapToGrid:{value:w}}=u,x=pr(a)?+g:+h,S=pr(a)?+b:+f;await ms.modifyRulerTheme(),await C.messageBus.rpcCall("sim/createScope",{data:n,tabId:r,docType:a,tabPanelContainerId:i,systemSetting:{grid:{type:p,size:x,altSize:S,enableAdsorb:w},unit:m,ruler:y}})}return!0}async function nLo(t){let{uuid:e,tabId:i,data:o,docType:r,openContainer:n,lazy:a,isActive:s=!0,hooks:l={}}=t;o.tabId=i;let c=new Date().getTime();try{if(sLo(i,e)||(await qW(hLo({tabId:i,docType:r,data:o,openContainer:n}),5e3,"createTab"),console.log("\u521B\u5EFATab: ",new Date().getTime()-c,"ms")),!a){let d=new Date().getTime();await qW(lLo({data:o,cb:l.beforeCreateEditor}),5e3,"beforeCreateEditor");let u=await qW(pLo({data:o,tabId:i,docType:r}),5e3,"createEditor");await qW(cLo({data:o,cb:l.afterCreateEditor}),5e3,"afterCreateEditor"),await qW(ms.modifyRulerTheme(),5e3,"modifyRulerTheme"),console.log("\u521B\u5EFAEditor: ",new Date().getTime()-d,"ms");let p=new Date().getTime();if(await qW(dLo({data:o,cb:l.beforeImportDoc}),5e3,"beforeImportDoc"),await qW(mLo({data:o,tabId:i,docType:r,tabPanelContainerId:u.id}),5e3,"importDoc"),await qW(uLo({data:o,cb:l.afterImportDoc}),5e3,"afterImportDoc"),console.log("importDoc: ",new Date().getTime()-p,"ms"),s){let m=new Date().getTime();console.log("beforeTabActive: ",new Date().getTime()-m,"ms");let h=new Date().getTime();await qW(he.setTabActive(i,s),2e3,"setTabActive"),console.log("setTabActive: ",new Date().getTime()-h,"ms");let f=new Date().getTime();console.log("afterTabActive: ",new Date().getTime()-f,"ms"),C.messageBus.publish("openDocComplete",{tabId:i,docType:r})}}}catch(d){return console.error("Error in openWaveformDoc:",d),!1}return!0}async function qW(t,e,i){let o=new Promise((r,n)=>setTimeout(()=>n(new Error(`${i} operation timed out`)),e));return Promise.race([t,o])}async function WXr(t){let{data:e,tabId:i,uuid:o,path:r}=t;if(e)t.uuid=U0(e.uuid)[0],t.path=e.path||e.project_uuid;else if(i){let n=i.split(UT);t.uuid=t.uuid?U0(t.uuid)[0]:n[0],t.path=n[1]}if(!t.uuid)return!1;if(t.path||(t.path=C.currentProject.projectId),i||(t.tabId=lo(t.uuid,t.path)),ol(t.uuid)){let n=(await C.messageBus.rpcCall("getInstanceSheetUuid",t.uuid)).message;if(!n)return cn.removeFileId(t.tabId),!1;t.uuid=n}return!0}async function v5e(t,e,i){var s,l;let o=!1,r=[],n=[],a=hY.getInstance();try{let c={tabId:t,sheetUuid:i,projectId:C.currentProject.projectId,version:(l=(s=Pr)==null?void 0:s.version)==null?void 0:l.uuid},d={broadcastName:"OpenDocChecking",data:c},u=await a.requestBroadcast(d);if(it(u,(p,m)=>{let h=m.responser,f=m.data;f.hasOpened&&(r.push(h),n.push(f.tabId||t))}),r.length>0)if(qL){o=!1;let p={tabId:t,docType:e},m={broadcastName:"SwitchDocInOtherDoc",data:p,responser:r};await a.requestBroadcast(m)}else{let p="It is detected that the document is opened in another browser tab. Do you want to save and close the other document page and open it in the current page?";o=await new Promise(async(m,h)=>{Ut({type:"info",icon:"warning",message:p,isHtml:!0,showCancel:!0,textOK:"Yes",textCancel:"No",onConfirm:async()=>{let f={tabIds:n},g={broadcastName:"CloseDocInOtherDoc",data:f,responser:r};await a.requestBroadcast(g),m(!0)},onCancel:()=>{m(!0)},onClose:()=>{m(!0)}})})}else o=!0;return o}catch(c){return console.error("openTabCheckMultiOtherWin failed:",c),!0}}function aLo(){let t=hY.getInstance();t.subscribeBroadcast("OpenDocChecking",e),t.subscribeBroadcast("CloseDocInOtherDoc",i),t.subscribeBroadcast("SwitchDocInOtherDoc",o);function e(r){if(!r)return null;let{tabId:n,sheetUuid:a,projectId:s,version:l}=r,c=C.currentProject.projectId,d=Pr.version.uuid,u={hasOpened:!1,tabId:n};if(s!=c||d&&d!==l)return u;let p=he.getAllTabId();if(u.hasOpened=p.includes(n),!u.hasOpened){let m=he.getAllTabIdByDoctype(se.SCH);for(let h=0;h<m.length;h++)if(he.getModelSheetUuid(m[h])===a){u.hasOpened=!0,u.tabId=m[h];break}}return u}function i(r){if(!r)return!1;let{tabIds:n}=r;return Kb(n,a=>{a&&he.getTabById(a)&&wle(a)}),!0}async function o(r){return r?(window.electronAPI.focusWindow(),await yn(r)):!1}}async function WVt(t){t.isComponent===void 0&&t.docType!==void 0&&(t.isComponent=QXr(t.docType));let{uuid:e,path:i,docType:o,isComponent:r,inProject:n}=t,a;return t.inProject&&t.docType!==void 0?await s():await l(),a;async function s(){n?(pr(o)?a=(await C.messageBus.rpcCall($e.SYMBOL.GET,[e,C.currentProject.projectId])).message:o===se.FOOTPRINT?a=(await C.messageBus.rpcCall($e.FOOTPRINT.GET,[e,C.currentProject.projectId])).message:o===se.SCH?a=(await C.messageBus.rpcCall($e.SHEET.GET,[e,C.currentProject.projectId])).message:o===se.PCB?a=(await C.messageBus.rpcCall($e.PCB.GET,[e,C.currentProject.projectId])).message:o===se.PANEL?a=(await C.messageBus.rpcCall($e.PANEL.GET,[e,C.currentProject.projectId])).message:zh(o)&&(a=(await C.messageBus.rpcCall($e.SIMULATION.GET,[e,C.currentProject.projectId])).message),a||console.log("\u8BE5\u6587\u6863\u5728indexedDB\u67E5\u4E0D\u5230\uFF01")):(a=await tLo({uuid:e,path:i,isComponent:r}),a||console.log("\u8BE5\u6587\u6863\u5728\u540E\u7AEF\u67E5\u4E0D\u5230\uFF01"))}async function l(){n&&(r?(a=(await C.messageBus.rpcCall($e.SYMBOL.GET,[e,C.currentProject.projectId])).message,a||(a=(await C.messageBus.rpcCall($e.FOOTPRINT.GET,[e,C.currentProject.projectId])).message)):(a=(await C.messageBus.rpcCall($e.SHEET.GET,[e,C.currentProject.projectId])).message,a||(a=(await C.messageBus.rpcCall($e.PCB.GET,[e,C.currentProject.projectId])).message),a||(a=(await C.messageBus.rpcCall($e.SIMULATION.GET,[e,C.currentProject.projectId])).message),a||(a=(await C.messageBus.rpcCall($e.PANEL.GET,[e,C.currentProject.projectId])).message),a||(a=(await C.messageBus.rpcCall($e.SYMBOL.GET,[e,C.currentProject.projectId])).message),a||(a=(await C.messageBus.rpcCall($e.FOOTPRINT.GET,[e,C.currentProject.projectId])).message)),a||console.log("\u8BE5\u6587\u6863\u4E0D\u5728\u5DE5\u7A0B\u5185\uFF01")),a||(a=await tLo({uuid:e,path:i,isComponent:r}),a!=null&&a.project_uuid&&(a=null))}}async function tLo(t){let{uuid:e,path:i,isComponent:o}=t,r,n,a;if(t.isComponent!==void 0?await c():await d(),a.success&&a.result){let u=a.result;return Je&&(u.libPath=n.path),Array.isArray(u)&&(u=u[0]),u}async function s(){n={path:i,data:{component:e},options:{withSchematic:"on"}};let u=await Ze.getSymbol({uuid:e,path:i,isProject:i===C.currentProject.projectId});a={result:u,success:!!u}}async function l(){n={projectId:i,uuid:e},a=(await C.messageBus.rpcCall(Ei.DOCUMENT.GET,n)).message}async function c(){o?(await s(),a.success||console.log("\u67E5\u627Ecomponents\u7C7B\u578B\u6587\u6863\u5931\u8D25!")):(await l(),a.success||console.log("\u67E5\u627Edocuments\u7C7B\u578B\u6587\u6863\u5931\u8D25!"))}async function d(){await s(),a.success||await l()}}function QXr(t){return!!(pr(t)||se.FOOTPRINT===t||se.PANEL_LIB)}async function KXr(t){let{tabId:e,docType:i}=t;if(i===se.SCH||ol(e)){let o=(await C.messageBus.rpcCall("getModelTabId",e)).message;return Vr("frame_"+o)}return Vr("frame_"+e)}function sLo(t,e){if(he.getTabById(t))return!0;let i=he.getTabByDataKey("data-model-sheet-uuid",e);if(i.length>0){let o=he.getTabContainer(i[0].tabId);return It.updateTab({targetTab:{containerId:o,tabId:i[0].tabId},updateData:{tabId:t}}),!0}return!1}async function ZXr(t){let{tabId:e,docType:i}=t;se.SCH===i?(await C.messageBus.rpcCall("handleOpenedSch",{tabId:e})).message:await he.setTabActive(e)}async function lLo(t){[Ee.HOME,Ee.COMMON_BLANK].includes(k2())&&await O4({isHome:!1,needSelect:!0});let{data:e,cb:i}=t;await(i==null?void 0:i(e))}async function cLo(t){var s,l,c;let{data:e,cb:i}=t,{tabId:o,docType:r}=e,n;if(C.currentProject.isCBB){let d=await Y4(C.currentProject.projectId);d&&(n=(s=d.creator)==null?void 0:s.uuid)}let a={creator:((l=e.creator)==null?void 0:l.uuid)||n,owner:((c=e.owner)==null?void 0:c.uuid)||C.currentProject.owner};he.setTabData(o,a),C.messageBus.publish("editorCreated",{tabId:o,docType:r,uuid:e.uuid}),await(i==null?void 0:i(e))}async function dLo(t){let{data:e,cb:i}=t,{tabId:o,docType:r}=e;Rwe(r)&&await C.messageBus.rpcCall("associateDevice",e),await(i==null?void 0:i(e))}async function uLo(t){let{data:e,cb:i}=t;await(i==null?void 0:i(e))}function JXr(t){let{tabId:e,docType:i,data:o}=t,r,n=he.getModelTabIdSync(e);return new Promise(async(a,s)=>{r=await qIo(n,i),r||(r=ZP.create({tabId:n,docType:i})),r.contentWindow.loaded?a("used blank iframe already created"):(0,oLo.default)(r).one("editor_load",function(){a("used blank iframe created just now")})}).then(a=>(XIo(),r),a=>(console.error(a,"\u521B\u5EFA iframe \u5931\u8D25"),null))}async function pLo(t){let{docType:e}=t,i=dat(e),o;return i==="sch"||i==="symbol"||i==="ngspice"||i==="simulide"?o=ZP.create(t):o=await JXr(t),o}async function mLo(t){let{tabId:e,docType:i,data:o,tabPanelContainerId:r}=t;if(pr(i)||se.SCH===i||_we(i)){let n=Wi("CANVAS"),{gridStyle:{value:a}=Object(),unit:{value:s}=Object(),sch_gridSize:{value:l}=Object(),schAltSnapGridSize:{value:c}=Object(),schlib_gridSize:{value:d}=Object(),schlibAltSnapGridSize:{value:u}=Object(),ruler:{value:p}=Object(),snapToGrid:{value:m}}=n,h=pr(i)?+d:+l,f=pr(i)?+u:+c;await ms.modifyRulerTheme(),await C.messageBus.rpcCall("sch/createDoc",{data:o,tabId:e,docType:i,tabPanelContainerId:r,systemSetting:{grid:{type:a,size:h,altSize:f,enableAdsorb:m},unit:s,ruler:p}}),Ho.switchGridSizeBtn({value:h},!0),Ho.switchGridTypeBtn(a,!1,e)}else[se.PANEL,se.PANEL3D,se.PANEL_LIB].includes(i)&&(await C.messageBus.rpcCall("panel/createDoc",{data:o,tabId:e,docType:i})).message}async function hLo(t){let{tabId:e,docType:i,data:o,openContainer:r}=t,n=o.display_title||o.title,a=await qXr(i,n,o),s=o.ticket,l=(await C.messageBus.rpcCall("getSchematicDisplayTitleByTabId",{uuid:e})).message,c=!1;l&&(c=((await C.messageBus.rpcCall($e.SYMBOL.GET_BY_TITLE,[l,C.currentProject.projectId])).message||[]).length>0);let d={title:n,pid:o.project_uuid||o.projectId,version:o.version,openContainer:r,schematicName:l,sheet_order_id:o.sheet_id,"data-schematic-uuid":o.schematic_uuid,isBlockSymbolSheet:c,isProjectLib:o.isProjectLib};o.deviceUuid&&(d.deviceUuid=o.deviceUuid),await he.createTab(e,i,n,a,s,d)}async function qXr(t,e,i){if(t===se.SCH){let r=(await C.messageBus.rpcCall($e.SCHEMATIC.GET,[i.schematic_uuid,C.currentProject.projectId])).message.display_name;return o(r,e)}else return e;function o(r,n){return n+"."+r}}function XXr(t,e){let i=new Date().getTime()-e,o="#75de75";i>1e3?o="red":i>500&&(o="yellow"),console.log(`${t} \u8017\u65F6%c `+i+" ms ","color: "+o+"; font-size: 20px; background: #333;")}var uat=class{constructor(e,i,o,r,n,a){this._isSendRequest=!0;this._confirmCB=[];this.init(e,i,o,r,n,a)}set isSendRequest(e){this._isSendRequest=e}async init(e,i,o,r,n,a){var l;this._device=e,((l=e.footprint)==null?void 0:l.uuid)!=null&&(n=e.path||n,this._footprint=await Ze.getFootprint({isProject:n===C.currentProject.projectId,path:n,uuid:e.footprint.uuid}));let s=this.parseDeviceItem(e);this._dlg=await this.openNewD3ModelMgrDialog({searchValue:i,deviceList:[s],isProject:o,canvasUnit:r,path:n},a)}async openNewD3ModelMgrDialog(e,i){let{deviceList:o,isProject:r,path:n,searchValue:a}=e,s=[],l=[];for(let c=0;c<o.length;c++){let d=o[c];s.push(d.deviceId);let u=d.footprintId?d.footprintId:d.attrs.Footprint?d.attrs.Footprint:"",p=null;if(u){let f=u.split("|"),g=f[0],b=f[1]||n||bo.getInstance().usedId;p=await Ze.getFootprint({isProject:b===C.currentProject.projectId,path:b,uuid:g})}let m=null,h=_e.D3MVIEW_DEFAULT_TRANSFORM;l.push({$id:d.deviceId,deviceId:d.deviceId,checked:!0,designator:"-",information:d.designator,canvasOrigin:{x:0,y:0,z:0},symbolItem:null,symbolItemTitle:"",symbolItemIdInit:"",footprintItem:p,footprintItemTitle:(p||{}).display_title||"",footprintItemIdInit:p?p.uuid:"",d3modelItem:m,d3modelItemTitle:(m||{}).display_title||"",d3modelItemTransform:h,d3modelItemIdInit:m?m.uuid:"",simmodelItem:null,simmodelItemTitle:"",simmodelItemIdInit:"",deviceItemTitle:d.deviceName,isError:!1,path:n,attributes:d.attrs,errorType:$f.NORMAL.type,bgColor:Pc().bgColor})}return await aB({callScenType:"BOTTOM_TABLE_LINK_D3MODEL",path:n,searchInputValue:a,deviceList:l,deviceListSelectedIds:s,wantSelectedLibItemId:"",isFromProject:r,onDialogConfirm:async c=>{let{componentItem:d,libListSelectedIds:u,transform:p}=c,{d3modelItemId:m,d3modelItemName:h,d3modelItemPath:f,d3modelTransform:g,isLocaleFilenameMode:b}=sB(c),y=m,w=h,x={...this._device.attributes,"3D Model":y,"3D Model Title":w,"3D Model Transform":g};i?this._device=await Ze.updateDeviceAttributes({uuid:this._device.uuid,path:yr(this._device),isProject:C.currentProject.projectId?yr(this._device)===C.currentProject.projectId:!1,attributes:x}):this._device.attributes=x;for(let S of this._confirmCB)S(this._device);return!0}})}parseDeviceItem(e){var i,o,r,n,a,s;return{showTitle:e.display_title,designator:"",deviceName:e.display_title,deviceId:e.uuid,footprintName:((i=e.footprint)==null?void 0:i.display_title)||"",footprintId:((o=e.footprint)==null?void 0:o.uuid)||"",itemErrorType:"DEFAULT",i3DModelId:((r=e.attributes)==null?void 0:r["3D Model"])||"",i3DModelName:((n=e.attributes)==null?void 0:n["3D Model Title"])||"",isError:!1,isSelected:!0,information:"",transform:((a=e.attributes)==null?void 0:a["3D Model Transform"])||"",footprintDataStr:((s=this._footprint)==null?void 0:s.dataStr)||"",canvasOrigin:{x:0,y:0,z:0,hashed:0},attrs:e.attributes,comment:e.attributes&&AX(e.attributes)||e.display_title,symbolName:e.symbol&&typeof e.symbol=="object"?e.symbol.display_title:"",symbolId:e.symbol&&typeof e.symbol=="object"?e.symbol.uuid:""}}onConfirm(e){this._confirmCB.push(e)}destroy(){for(let e of Object.keys(this))this[e]=void 0}};async function Kbe(t,e,i){if(!t)return;let o=null;if(t){let a=(t.attributes||{}).Symbol;a&&(o=await Ze.getSymbol({isProject:e===C.currentProject.projectId,path:e,uuid:a}))}let r=null;if(t){let a=(t.attributes||{}).Footprint;a&&(r=await Ze.getFootprint({isProject:e===C.currentProject.projectId,path:e,uuid:a}))}if(o){let n=[he.getActiveTab()];if(n.includes(lo(o.uuid,o.path))){let a=await ei(),s=gi();a&&(await C.messageBus.rpcCall("sch/setDeviceDetail",{tabId:s,device:{...t,path:e}}),C.messageBus.publish("sch/renderSymbolPropertyPanel"),he.setTabUnSaved(n[0],!0))}}r&&await C.messageBus.rpcCall("refreshFootprintAttrPanelWithDevice",{deviceDetail:t,footprintDetail:r})}async function pat(t,e,i,o){!t||!e||await yn({uuid:t,deviceUuid:e,path:i,data:o})}function Zbe(t,e){let i="",o=t.deviceItemName;e===zo.SYMBOL_SAME_NAMA_EXISTS&&(o=t.symbolItemName),e===zo.FOOTPRINT_SAME_NAMA_EXISTS&&(o=t.footprintItemName);let r=C.loginedUserInfo||{},n=ue.findList(t.tabList,"id",t.userIdSelected);i=r.username&&n.data.title===r.username?me._context_i18n("lib","Personal",null):n.data.title,Dt({icon:"error",closed:!0,content:me.i18n("{libname} duplicate name or illegal name: {componentname}",{libname:i,componentname:o})})}function Dk(t,e,i,o,r,n,a,s,l,c,d,u,p){let m={title:i,display_title:i,tags:o.filter(h=>!!h),description:r,attributes:n,docType:a,owner:s,images:[l]};if(typeof p<"u"){let h=Object.keys(p);for(let f=0;f<h.length;f++)typeof m[h[f]]>"u"&&(m[h[f]]=p[h[f]])}return m}async function Jbe(t,e,i){let o=i||{},r=t||bo.getInstance().usedId,n=o.workSpaceSelected||C.workspace,a=o.userIdSelected||void 0,s=o.description||void 0,l=o.categoryTags||null,c=i.symbolItemId,d=i.footprintItemId,u=i.d3modelItemId,p="CALL_DEVICEEDTMANAGER_DIALOG",m={Footprint:!1,symbol:!1,d3DModel:!1},h=o?o.setAssociateNewDevice:"Common",f={symbolItemId:i.symbolItemId||null,footprintItemId:i.footprintItemId||null,d3modelItemId:i.d3modelItemId||null};vt(.01,p);let g=null;c&&(g=await Ze.getSymbol({uuid:c,path:r,isProject:e})),vt(.3,p);let b=null;d&&(b=await Ze.getFootprint({uuid:d,path:r,isProject:e})),vt(.6,p);let y=null;if(u){let _=eT(u,!0),j=_.path||_e.SYSTEMLIB_UUID;if(_.isLocaleFilenameMode)y=(await As.fetchD3ModelItemOnLocaleFolder(_.componentTitleOrId,j)).result;else{let B=await ts.fetchComponentItem(!1,_.componentTitleOrId,j,ve.PCBLIB3D);y=B&&B.result?B.result:null}}let w,x,S=!0,T=!1,M=!1,I=!1,A=!1,D="New",E=tr.ComponentSymbol;g&&(D="Associate",E=String(g.docType),T=!0,S=!1);let N="New Device";o.deviceItemName?x=o.deviceItemName:g?x=g.display_title:b?x=b.display_title:y&&(x=y.display_title);let R=y,v=y?y.uuid:void 0,k=y?y.display_title:void 0,P=_e.D3MVIEW_DEFAULT_TRANSFORM,O=eT(v,!0);return O.componentTitleOrId&&(v=O.componentTitleOrId+"|"+(O.path||bo.getInstance().usedId)),D==="New"&&!g&&!w&&h==="BySymbol"&&(w=x),vt(1,p),await VX({dialogTitle:N,callScenType:"DEVICE_ASSOCIA",path:r,isFromProject:e,initDeviceItem:null,initSymbolItem:g,initFootprintItem:b,initD3modelItem:R,initD3modelItemId:v,initD3modelItemTitle:k,initD3modelTransform:P,isShowSymbolOperationType:S,symbolTypeDisabled:T,symbolItemDisabled:M,footprintItemDisabled:I,d3modelItemDisabled:A,symbolOperationType:D,symbolType:E,symbolItemName:w,deviceItemName:x,description:s,categoryTags:l,workSpaceSelected:n,userIdSelected:a,userSelectDisabled:!1,isShowModeSwitchBtn:!1,hasIdButNotFound:m,windowInstance:dl.value,onDialogOpen(){},onDialogCancel(){},onDialogClose(){},onDialogClosed(){},async onDialogConfirm(_){let j=!0;try{if(!_.symbolItem&&!_.symbolItemName)return Dt({icon:"error",closed:!0,content:me.i18n("The symbol name can not be empty!")}),!1;let B=_.symbolItem&&_.isFromProject?!0:_.symbolOperationType==="New"&&_.symbolItemName&&!_.symbolItemId,V=await Ze.createDevice({isProject:!1,path:_.userIdSelected,device:{data:{...Dk(_.isFromProject,_.deviceItemId,_.deviceItemName,_.categoryTags,_.description||"",_.attributes,ve.DEVICE,_.userIdSelected,_.imageUrl,_.categoryShowString,_.symbolType),tags:_.categoryShowString?_.categoryShowString.split(":"):[]}},symbol:B?{data:{title:_.symbolItem||_.symbolItemName?_.symbolItemName:_.deviceItemName,path:_.userIdSelected,owner:_.userIdSelected,tags:[],description:_.description||"",symbol_type:+_.symbolType,docType:+_.symbolType}}:_.symbolItem?{uuid:_.symbolItem.uuid,path:_.symbolItem.path,isProject:!1}:null,footprint:_.footprintItem?{uuid:_.footprintItem.uuid,path:_.footprintItem.path,isProject:!1}:null}),G=await Ze.getSymbol({isProject:_.userIdSelected===C.currentProject.projectId,uuid:V.attributes.Symbol,path:_.userIdSelected});return B&&G&&(Wa(G,1),pat(G.uuid,V.uuid,_.userIdSelected,G)),De({type:"success",msg:me.i18n("Update successfully!")}),Promise.resolve().then(async()=>{["device"].includes(Ls())&&_s(a,Ls()),await Kbe(V,t,e),f.symbolItemId&&await u5e(ve.SHORT_SYMBOL,f.symbolItemId,a),f.footprintItemId&&await u5e(ve.FOOTPRINT,d,a),f.d3modelItemId}),!0}catch(B){return j=!(B&&B.action===zo.CROSS_BIND_EXIT),B?[zo.DEVICE_SAME_NAMA_EXISTS,zo.SYMBOL_SAME_NAMA_EXISTS,zo.FOOTPRINT_SAME_NAMA_EXISTS].includes(B.action)?(Zbe(_,B.action),!1):([zo.CROSS_BIND,zo.CROSS_BIND_EXIT].includes(B.action)||j&&Dt({icon:"error",closed:!0,content:B.message||B.msg||me.i18n("System Error")}),!1):(Dt({icon:"error",closed:!0,content:me.i18n("System Error")}),!1)}}})}async function qbe(t,e,i,o){let r=o||{},n="CALL_DEVICEEDTMANAGER_DIALOG",a=r.workSpaceSelected||C.workspace,{setPath:s,deviceItem:l,symbolItem:c,footprintItem:d,d3modelItem:u,hasIdButNotFound:p}=(o==null?void 0:o.componentGroup)||(await ts.fetchComponentItem(i,t,e,ve.DEVICE,{attachedDeviceBindingExtra:!0,isCheckD3ModelFileExist:i,eachProcessHook:E=>{vt(E,n)}})).result,m=l.owner||{},h=!0,f="",g=s;i&&(h=!1,f=C.currentProject.projectId,g=C.currentProject.projectId);let b="Edit Device";m.uuid&&!f&&(f=m.uuid);let y=u,w=l.attributes["3D Model"]?l.attributes["3D Model"]:u?u.uuid:void 0,x=ue.splitComponentId2FolderAndFilenameMixin(w,!0);x.componentTitleOrId&&(w=x.componentTitleOrId+"|"+(x.path||bo.getInstance().usedId));let S=l.attributes["3D Model Title"]?l.attributes["3D Model Title"]:u?u.display_title:void 0,T=l.attributes["Sim Model"]?l.attributes["Sim Model"]:void 0,M=l.attributes["Sim Model Title"]?l.attributes["Sim Model Title"]:void 0,I=l.attributes["NGSpice Model"]?l.attributes["NGSpice Model"]:void 0,A=l.attributes["NGSpice Model Title"]?l.attributes["NGSpice Model Title"]:void 0,D=l.attributes["3D Model Transform"]?l.attributes["3D Model Transform"]:void 0;return await VX({dialogTitle:b,callScenType:"DEVICE_EDITOR",path:g,isFromProject:i,symbolType:c?String(c.docType):tr.ComponentSymbol,symbolTypeDisabled:!!(i&&c&&c.uuid),projectLibOrigin:r.projectLibOrigin,workSpaceSelected:a,initDeviceItem:l,initSymbolItem:c,initFootprintItem:d,initD3modelItem:y,initD3modelItemId:w,initD3modelItemTitle:S,initD3modelTransform:D,initSimulideModelItemId:T,initSimulideModelItemName:M,initNGspiceModelItemId:I,initNGspiceModelItemName:A,isShowModeSwitchBtn:!1,isShowSymbolOperationType:!1,isShowOwnerSection:h,userIdSelected:f,hasIdButNotFound:p,windowInstance:dl.value,onDialogOpen(){},onDialogCancel(){},onDialogClose(){},onDialogClosed(){},async onDialogConfirm(E){let N=!0;try{let R=E.isFromProject?C.currentProject.projectId:E.userIdSelected;if(E.deviceItemName.trim()==="")throw new Error("The title length must be between 1~128 characters!");let v=await Ze.updateDevice({uuid:E.deviceItemId,path:R,isProject:E.isFromProject,device:{data:{...Dk(E.isFromProject,E.deviceItemId,E.deviceItemName,E.categoryTags,E.description||"",E.attributes,ve.DEVICE,R,E.imageUrl,E.categoryShowString,E.symbolType),tags:E.categoryShowString?E.categoryShowString.split(":"):[]}},symbol:E.symbolItem?{uuid:E.symbolItem.uuid,path:E.symbolItem.path,isProject:E.symbolItem.path===C.currentProject.projectId}:null,footprint:E.footprintItem?{uuid:E.footprintItem.uuid,path:E.footprintItem.path,isProject:E.footprintItem.path===C.currentProject.projectId}:null});{let k={code:0,msg:""},P=(E.categoryShowString||"").split(":")[0],O=(E.categoryShowString||"").split(":")[1],_=await sn.addCategoriesBatchByNameArray({categories:O?[{parentName:P,childName:O}]:[{parentName:P}],type:[+Yi.DEVICE],uuid:R}),j=_.allParentCreated[0]?_.allParentCreated[0].uuid:void 0,B=_.allChildCreated[0]?_.allChildCreated[0].uuid:void 0;E.categoryTags=B?[j,B]:[j]}return Promise.resolve().then(async()=>{if(Wa(v,2),["device","symbol","footprint"].includes(Ls())&&(x1(),C.messageBus.publish("refreshChooseDeviceList")),De({type:"success",msg:me.i18n("Update successfully!")}),E.isFromProject){C.messageBus.publish("sch/editDeviceAttributes",{deviceUuid:v.uuid,path:R,attributes:v.attributes});let P=he.getAllTabIdByDoctype(ve.PCB);if(P.length){if(!E||!E.deviceItemId){console.error("Invalid confirmRes or deviceItemId");return}if(!v.attributes.Footprint){console.warn("Device has no footprint attribute");return}let O=await Ze.getFootprint({uuid:v.attributes.Footprint,path:R,isProject:i});if(!O){console.warn(`Footprint not found for device: ${v.uuid}`);return}let _={device:[v],footprint:[O],modify:{[E.deviceItemId]:v.uuid}},j=P.map(async G=>{try{let Q=await he.getTabIFrame(G);return Q?(await C.windowBridge.rpcCall("editDeviceResult",{type:C.deviceType,data:_},Q.contentWindow),{tabId:G,success:!0}):{tabId:G,success:!1,error:"No iframe found"}}catch(Q){return console.error(`Failed to update PCB tab ${G}`,Q),{tabId:G,success:!1,error:Q}}}),B=await Promise.all(j),V=B.filter(G=>!G.success);V.length>0&&console.warn(`\u90E8\u5206 PCB \u753B\u5E03\u66F4\u65B0\u5931\u8D25: ${V.length}/${B.length}`)}}let k=he.getFilterTabs(["tab_page1"]);k==null||k.forEach(async P=>{var O;((O=P==null?void 0:P.data)==null?void 0:O.deviceUuid)===E.deviceItemId&&(await C.messageBus.rpcCall("sch/setDeviceDetail",{tabId:P.tabId,device:v}),P.tabId===he.currentTabId&&C.messageBus.publish("sch/renderPropertyPanel"))})}),!0}catch(R){return N=!(R&&R.action===zo.CROSS_BIND_EXIT),R?([zo.CROSS_BIND,zo.CROSS_BIND_EXIT].includes(R.action)||N&&Dt({icon:"error",closed:!0,content:R.message||R.msg||me.i18n("System Error")}),!1):(Dt({icon:"error",closed:!0,content:me.i18n("System Error")}),!1)}}})}async function mat(t,e,i,o){let r=o||{},n="CALL_DEVICEEDTMANAGER_DIALOG",a=r.workSpaceSelected||C.workspace,{setPath:s,deviceItem:l,symbolItem:c,footprintItem:d,d3modelItem:u,hasIdButNotFound:p}=(o==null?void 0:o.componentGroup)||(await ts.fetchComponentItem(i,t,e,ve.DEVICE,{attachedDeviceBindingExtra:!0,eachProcessHook:w=>{vt(w,n)}})).result,m=u,h=l.attributes["3D Model"]?l.attributes["3D Model"]:u?u.uuid:void 0,f=eT(h,!0);f.componentTitleOrId&&(h=f.componentTitleOrId+"|"+(f.path||bo.getInstance().usedId));let g=l.attributes["3D Model Title"]?l.attributes["3D Model Title"]:u?u.display_title:void 0,b=l.attributes["3D Model Transform"]?l.attributes["3D Model Transform"]:void 0;return await VX({dialogTitle:"Device Save as",callScenType:"DEVICE_SAVEAS",path:s,isFromProject:i,workSpaceSelected:a,initDeviceItem:l,initSymbolItem:c,initFootprintItem:d,initD3modelItem:m,initD3modelItemId:h,initD3modelItemTitle:g,initD3modelTransform:b,isShowModeSwitchBtn:!1,symbolType:c?String(c.docType):tr.ComponentSymbol,symbolTypeDisabled:!!l,windowInstance:dl.value,hasIdButNotFound:p,onDialogOpen(){},onDialogCancel(){},onDialogClose(){},onDialogClosed(){},async onDialogConfirm(w){delete w.deviceItemId;let x=!0;try{let S=C.currentProject.projectId,T=await Ze.createDevice({path:w.userIdSelected,isProject:!1,device:{data:{...Dk(w.isFromProject,w.deviceItemId,w.deviceItemName,w.categoryTags,w.description||"",w.attributes,ve.DEVICE,w.userIdSelected,w.imageUrl,w.categoryShowString,w.symbolType),tags:w.categoryShowString?w.categoryShowString.split(":"):[]}},symbol:w.symbolItem?{uuid:w.symbolItem.uuid,path:w.symbolItem.path,isProject:w.symbolItem.path===S}:{data:{title:w.symbolItemName,description:"",docType:ve.PART,tags:[]}},footprint:w.footprintItem?{uuid:w.footprintItem.uuid,path:w.footprintItem.path,isProject:w.footprintItem.path===S}:null});{let M={code:0,msg:""},I=(w.categoryShowString||"").split(":")[0],A=(w.categoryShowString||"").split(":")[1],D=await sn.addCategoriesBatchByNameArray({categories:A?[{parentName:I,childName:A}]:[{parentName:I}],type:[+Yi.DEVICE],uuid:w.userIdSelected}),E=D.allParentCreated[0]?D.allParentCreated[0].uuid:void 0,N=D.allChildCreated[0]?D.allChildCreated[0].uuid:void 0;w.categoryTags=N?[E,N]:[E]}return Wa(T,1),await $Xr(T),De({type:"success",msg:me.i18n("Update successfully!")}),Promise.resolve().then(async()=>{["device","symbol","footprint"].includes(Ls())&&_s(w.userIdSelected,Ls()),await Kbe(T,e,i)}),!0}catch(S){return x=!(S&&S.action===zo.CROSS_BIND_EXIT),S?[zo.DEVICE_SAME_NAMA_EXISTS,zo.SYMBOL_SAME_NAMA_EXISTS,zo.FOOTPRINT_SAME_NAMA_EXISTS].includes(S.action)?(Zbe(w,S.action),!1):([zo.CROSS_BIND,zo.CROSS_BIND_EXIT].includes(S.action)||x&&Dt({icon:"error",closed:!0,content:S.message||S.msg||me.i18n("System Error")}),!1):(Dt({icon:"error",closed:!0,content:me.i18n("System Error")}),!1)}}})}async function $Xr(t){let e=t.path,i=t.attributes.Symbol,o=t.attributes.Footprint;if(i){let r=await Ze.getSymbol({uuid:i,path:e,isProject:e===C.currentProject.projectId});Math.abs(t.createTime-r.createTime)<10?Wa(r,1):Math.abs(t.createTime-r.updateTime)<10&&Wa(r,2)}if(o){let r=await Ze.getSymbol({uuid:o,path:e,isProject:e===C.currentProject.projectId});Math.abs(t.createTime-r.createTime)<=1010?Wa(r,1):Math.abs(t.createTime-r.updateTime)<=1010&&Wa(r,2)}}function e$r(t,e){let i=[],o={},r=!1;return Object.values(t).forEach((n,a)=>{n instanceof Array&&i.push(...n)}),Object.keys(t).forEach((n,a)=>{if(t[n]instanceof Array){let s=t$r(t[n],e);o[n]=s,s||(r=!0)}}),{map:o,hasError:r}}function t$r(t=[],e=[]){for(let i=0;i<t.length;i++)if(e.indexOf(String(t[i].num))<=-1)return!1;return!0}var hat=class{constructor(e,i,o,r){this._sameNameComponentSaveAsMethod="unset";this._confirmCB=[];this._isSendRequest=!0;this.init(e,i,o,r)}set isSendRequest(e){this._isSendRequest=e}async init(e,i,o,r){this._device=e;let n=this.parseDeviceItem(e);this._dlg=await this.openNewFootprintMgrDialog({searchValue:i,deviceList:[n],isProject:o,path:r})}async openNewFootprintMgrDialog(e){var l;let{deviceList:i,isProject:o,path:r,searchValue:n}=e,a=[],s=[];for(let c=0;c<i.length;c++){let d=i[c];a.push(d.deviceId);let u=null,p={},m={};if(d.symbolId&&(u=await Ze.getSymbol({isProject:r===C.currentProject.projectId,path:r,uuid:d.symbolId}),u))try{let b=(await cI(u)).selectList;for(let y=0;y<b.length;y++){let w=b[y];p[w.value]=(await lI(u,y)).pinList,m[w.value]={isError:!1}}}catch(g){console.error(g)}let h=null,f=[];s.push({callScenType:"BOTTOM_TABLE_LINK_FOOTPRINT",$id:d.deviceId,deviceId:d.deviceId,path:r,checked:!0,designator:d.designator,information:d.information,partPinMatchMap:m,pinHashtable:p,padNumberList:f,comment:d.comment,partIndex:0,symbolItem:u,symbolItemTitle:u?u.display_title:"",symbolItemIdInit:u?u.uuid:"",footprintItem:h,footprintItemTitle:d.footprintName,footprintItemIdInit:h?h.uuid:"",d3modelItem:null,d3modelItemTitle:((l=d.attrs)==null?void 0:l["3D Model Title"])||"",d3modelItemTransform:"",d3modelItemIdInit:"",simmodelItem:null,simmodelItemTitle:"",simmodelItemIdInit:"",deviceItemTitle:d.deviceName,isError:!1,errorType:mc.NORMAL.type,bgColor:Pc().bgColor,d3ModelId:"",d3ModelItemTitle:""})}return CO(s),await jX({dialogId:"OpenFootprintManagerByLinkFootprint",callScenType:"BOTTOM_TABLE_LINK_FOOTPRINT",path:r,searchInputValue:n,deviceList:s,windowInstance:dl.value,deviceListSelectedIds:a,wantSelectedLibItemId:"",isFromProject:o,onDialogConfirm:async c=>{let{componentItem:d}=c,u=await this.modifyDevice(c.componentItem,c.componentItem.uuid,c.componentItem.path);for(let p of this._confirmCB)p(this._device);return De({type:"success",msg:"Operation success!",timer:2.5}),_s(r,Ls()),u&&le.closeAll(),u}})}parseDeviceItem(e){var n,a;let i={},o={},r=[];return{showTitle:e.display_title,deviceName:e.display_title,deviceId:e.uuid,designator:"",footprintName:"",footprintId:"",padNumberList:r,pinHashtable:i,partHastable:o,itemErrorType:"DEFAULT",partPinMatchMap:e$r(i,r),symbolId:(n=e.symbol)==null?void 0:n.uuid,symbolName:(a=e.symbol)==null?void 0:a.display_title,isError:!1,isSelected:!0,information:"",attrs:e.attributes,comment:e.attributes&&AX(e.attributes)||e.display_title}}async checkAndGetApplyFootprint(e){let i=yr(this._device);if(i===yr(e))return e;let r=(await Ze.getFootprintSearchList({isProject:i===C.currentProject.projectId,path:i,titles:[e.display_title]}))[e.display_title];if(r!=null&&r.length)return this.dealSameNameAndGetFootprint(e,r[0]);{let n=Object.values(e.tags||{}).filter(d=>(d==null?void 0:d.uuid)!=null).map(d=>me.curr=="en"?d.name:d.name_cn||d.name),a=n.join(":"),s=null,l=null;C.currentProject.projectId===i?l=JSON.stringify(n):s=await m4(i,Yi.FOOTPRINT,a);let c={...e,title:e.display_title,description:e.description,tags:s,custom_tags:l,docType:e.docType,dataStr:e.dataStr,owner:Je?"":i,source:this._device.project_uuid===C.currentProject.projectId?this._device.uuid:"",path:i,project_uuid:this._device.project_uuid===C.currentProject.projectId?this._device.project_uuid:""};return await Ze.createFootprint({isProject:i===C.currentProject.projectId,path:i,footprint:{data:c}})}}async dealSameNameAndGetFootprint(e,i){let o=yr(this._device);switch(this._sameNameComponentSaveAsMethod){case"theSameNameDoc":return i;case"replaceSameNameDoc":{let r=i.path;return await Ze.updateFootprint({isProject:r===C.currentProject.projectId,path:r,uuid:i.uuid,footprint:{data:e}})}case"copySameNameDoc":{let r=await dee({title:Qee(e.display_title)},"footprint",o,o),n=Object.values(e.tags||{}).filter(u=>(u==null?void 0:u.uuid)!=null).map(u=>me.curr=="en"?u.name:u.name_cn||u.name),a=n.join(":"),s=null,l=null;C.currentProject.projectId===o?l=JSON.stringify(n):s=await m4(o,Yi.FOOTPRINT,a);let c=this._device.project_uuid===C.currentProject.projectId,d={title:r,description:e.description,tags:s,custom_tags:l,docType:e.docType,dataStr:e.dataStr,owner:Je?"":o,source:this._device.project_uuid===C.currentProject.projectId?this._device.uuid:"",path:o};return await Ze.createFootprint({isProject:c,path:o,footprint:{data:d}})}case"unset":return this.sameNameMethodConfirmDlgProxy(e,i),null;default:throw new Error("unknown Same Name ComponentSaveAsMethod")}}async modifyDevice(e,i,o){if(this._isSendRequest){let r=[];this._device.tags.parent_tag&&r.push(this._device.tags.parent_tag.name),this._device.tags.child_tag&&r.push(this._device.tags.child_tag.name);let n=yr(this._device),a=i&&o&&o!==n?{isProject:o===C.currentProject.projectId,uuid:i,path:o}:null,s=await Ze.updateDevice({uuid:this._device.uuid,path:n,isProject:C.currentProject.projectId?n===C.currentProject.projectId:!1,device:{data:{...this._device,title:this._device.display_title||this._device.title,tags:r,images:this._device.images,attributes:{...this._device.attributes,Footprint:e.uuid,Symbol:this._device.attributes.Symbol}}},footprint:a});return this._device=s,!0}else throw new Error("LinkFootprint Error")}sameNameMethodConfirmDlgProxy(e,i){let o={"device-name":this._device.title},r={newFootPrint:[{...i,docType:ve.FOOTPRINT}],oldFootPrint:e,LINK_FOOTPRINT_COMPONENT:this};vW("save-as-same-name-symbol-footprint",o,r)}async confirmSameNameMethod(e,i,o){this._sameNameComponentSaveAsMethod=e;let r=await this.dealSameNameAndGetFootprint(i,o);await this.modifyDevice(r,void 0,void 0);for(let n of this._confirmCB)n(this._device);return De({type:"success",msg:"Operation success!",timer:2.5}),this._dlg.close(),r}onConfirm(e){this._confirmCB.push(e)}destroy(){for(let e of Object.keys(this))this[e]=void 0}};var fat=class{constructor(e,i,o,r,n){this._sameNameComponentSaveAsMethod="unset";this._confirmCB=[];this._isSendRequest=!0;this.init(e,i,o,r,n)}set isSendRequest(e){this._isSendRequest=e}async init(e,i,o,r,n){this._device=e,this._dlg=await this.openNewSymbolMgrDialog({searchValue:i,isProject:o,symbolType:r,path:n})}async openNewSymbolMgrDialog(e){let{device:i,searchValue:o,isProject:r,symbolType:n,path:a}=e;return await SJe({path:a,searchInputValue:o,wantSelectedLibItemId:"",isFromProject:r,componentItemId:"",onDialogConfirm:async s=>{let{path:l,componentItem:c}=s;if(c){let d=await this.checkAndGetApplySymbol(c);if(d==null)return!1;this.modifyDevice(d);for(let u of this._confirmCB)u(this._device);De({type:"success",msg:"Operation success!",timer:2.5})}return!0}})}async checkAndGetApplySymbol(e){let i=yr(this._device);if(i===yr(e))return e;let r=(await Ze.getSymbolSearchList({isProject:i===C.currentProject.projectId,path:i,titles:[e.display_title],docType:e.docType}))[e.display_title];if(r!=null&&r.length)return this.dealSameNameAndGetSymbol(e,r[0]);{let n=Object.values(e.tags||{}).filter(c=>(c==null?void 0:c.uuid)!=null).map(c=>me.curr=="en"?c.name:c.name_cn||c.name),a=n.join(":"),s,l;try{l=await Ze.createSymbol({path:i,isProject:i===C.currentProject.projectId,symbol:{isProject:e.path===C.currentProject.projectId,uuid:e.uuid,path:e.path,override:{title:e.display_title,description:e.description,tags:n,docType:e.docType}}})}catch{l=null}return l}}async dealSameNameAndGetSymbol(e,i){let o=yr(this._device);switch(this._sameNameComponentSaveAsMethod){case"theSameNameDoc":return i;case"replaceSameNameDoc":{let r=i.path;return Ze.updateSymbol({isProject:r===C.currentProject.projectId,path:r,uuid:i.uuid,symbol:{data:e}})}case"copySameNameDoc":{let r=await dee({title:Qee(e.display_title)},"symbol",o,o),n=Object.values(e.tags||{}).filter(d=>(d==null?void 0:d.uuid)!=null).map(d=>me.curr=="en"?d.name:d.name_cn||d.name),a=n.join(":"),s=null,l=null;C.currentProject.projectId===o?l=JSON.stringify(n):s=await m4(o,Yi.SYMBOL,a);let c={title:r,description:e.description,tags:s,custom_tags:l,docType:e.docType,dataStr:e.dataStr,source:"",owner:o,path:o,project_uuid:this._device.project_uuid===C.currentProject.projectId?this._device.project_uuid:""};return await Ze.createSymbol({isProject:o===C.currentProject.projectId,path:o,symbol:{data:c}})}case"unset":return this.sameNameMethodConfirmDlgProxy(e,i),null;default:throw new Error("unknown Same Name ComponentSaveAsMethod")}}async modifyDevice(e){if(this._isSendRequest){let i=yr(this._device);this._device=await Ze.updateDeviceAttributes({isProject:i===C.currentProject.projectId,path:i,uuid:this._device.uuid,attributes:{...this._device.attributes,Symbol:e.uuid}})}else this._device.attributes={...this._device.attributes,Symbol:e.uuid}}sameNameMethodConfirmDlgProxy(e,i){let o={"device-name":this._device.title},r={newSymbol:[{...i,docType:e.docType}],oldSymbol:e,LINK_SYMBOL_COMPONENT:this};vW("save-as-same-name-symbol-footprint",o,r)}async confirmSameNameMethod(e,i,o){this._sameNameComponentSaveAsMethod=e;let r=await this.dealSameNameAndGetSymbol(i,o);await this.modifyDevice(r);for(let n of this._confirmCB)n(this._device);return De({type:"success",msg:"Operation success!",timer:2.5}),this._dlg.close(),r}onConfirm(e){this._confirmCB.push(e)}destroy(){for(let e of Object.keys(this))this[e]=void 0}};var KVt=L(gLo());var Mf=L(z()),Xbe=be.bind(KVt.default.locals);function i$r(){Ae(KVt.default),Ce(K4);let t=J();return(0,Mf.jsx)("div",{style:{padding:"9px 16px"},className:Xbe("gray-dialog-border"),children:(0,Mf.jsx)("table",{style:{width:"100%"},cellSpacing:0,children:(0,Mf.jsxs)("tbody",{children:[(0,Mf.jsxs)("tr",{hidden:!K4.data.title.isShow,children:[(0,Mf.jsx)("td",{className:Xbe("form-label"),"data-test":"title",title:t("Title"),children:t("Title")}),(0,Mf.jsx)("td",{children:(0,Mf.jsx)(Kt,{autoFocus:!0,focusTriggerSelect:!0,id:"modify_title",maxLength:256,style:{width:"81%",height:"24px"},defaultValue:K4.data.title.value,onChange:e=>{let i={...K4.data};i.title.value=e,K4.setData(i)}})})]}),(0,Mf.jsxs)("tr",{hidden:!0,children:[(0,Mf.jsx)("td",{className:Xbe("form-label"),"data-test":"Project",title:t("Project"),children:t("Project")}),(0,Mf.jsx)("td",{children:(0,Mf.jsx)(xt,{style:{width:"81%"},list:[],onChange:()=>{}})})]}),(0,Mf.jsxs)("tr",{hidden:!K4.data.tags.isShow,children:[(0,Mf.jsx)("td",{className:Xbe("form-label"),"data-test":"Category",title:t("Category"),children:t("Category")}),(0,Mf.jsx)("td",{children:(0,Mf.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,Mf.jsx)(ea,{style:{width:"81%"},inputStyle:{width:"100%"},value:K4.data.tags.str,hasClearButton:!0,hasThreePoint:!0,onClearClick:()=>{K4.clearCategory()},openDialog:()=>{K4.modifyCategory()}}),(0,Mf.jsx)("a",{href:"javascript:void(0)",className:Xbe("manager-category"),onClick:()=>{K4.manageCategory()},children:t("Manage Categories")})]})})]}),(0,Mf.jsxs)("tr",{hidden:!K4.data.description.isShow,children:[(0,Mf.jsx)("td",{className:Xbe("form-label"),"data-test":"Description",title:t("Description"),children:t("Description")}),(0,Mf.jsx)("td",{children:(0,Mf.jsx)(Eme,{id:"modify_description",rows:3,style:{width:"81%",height:"64px",margin:"8px 0"},value:K4.data.description.value,enterTriggerBlur:!0,onInput:e=>{let i=e.target.value,o={...K4.data};o.description.value=i,K4.setData(o)}})})]})]})})})}var K4=new class extends qe{constructor(){super(...arguments);this.id="dlgModify";this.hasModifiedData=!1}setData(e){this.data=e,this.notify(),this.hasModifiedData=!0}manageCategory(){let{saveCommandParams:e}=this.data,i=(e==null?void 0:e.docType)===se.PCBLIB3D?Yi.MODEL3D:e==null?void 0:e.docType;Qc({menuSelected:"CATEGORY",isFromeProject:this.data.tags.manageCategory.isProject,initCategoryActiveTab:vv(i),initCategoryActiveLibId:e?e.owner:void 0})}setTagsValue(e,i){let o={...this.data};o.tags.id=e,o.tags.str=i,this.setData(o)}async modifyCategory(){var l,c;let{saveCommandParams:{docType:e,owner:i,path:o,tabType:r},projectLibOrigin:n}=this.data,a=Tr.classification.uuid===Yt.PROJECT;o=o||(a?(c=(l=I0e)==null?void 0:l.classificationMap[2])==null?void 0:c.uuid:Tr.classification.uuid);let s=await C1({docType:r,userId:i,path:o,isProjectLib:a,libOwnerId:n});if(s.confirm){let d=s.tag;this.setTagsValue(d.pathId,d.pathName)}}clearCategory(){this.setTagsValue("","")}close(){le.close(this.id)}modifyTitleInDataStr(e,i,o){return i.split(`
`).map(n=>{if(n.startsWith('["ATTR"')){let a;try{a=JSON.parse(n)}catch{return n}return e==se.FOOTPRINT?a[7]=="Footprint"&&(a[8]=o):a[3]=="Symbol"&&(a[4]=o),JSON.stringify(a)}else return n}).join(`
`)}async confirm(){let{hasModifiedData:e,data:{isProjectLib:i,saveCommandParams:o,title:{isShow:r,value:n,oldValue:a},description:{value:s},tags:{id:l,str:c},deviceSymbol:d}}=this,u={...o||{}};if(u.title=n,u.oldTitle=u.oldTitle||a,u.uuid&&!e){this.close();return}if(!dh(u.title,1))return;if(u.description=s,u.title!==u.oldTitle&&u.dataStr&&(u.dataStr=this.modifyTitleInDataStr(u.docType,u.dataStr,u.title)),_ft(u.docType))u.pid=0;else{if(i&&(c?(u.custom_tags=ue.htmlEncode(c),u.custom_tags=u.custom_tags?u.custom_tags.split(":"):[""]):u.custom_tags=[],u.custom_tags=JSON.stringify(u.custom_tags)),[se.PCBLIB3D].includes(u.docType)?u.tags=ue.htmlEncode(l):u.tags=ue.htmlEncode(c),u.tags&&u.tags.includes(";")){De({type:"error",msg:"Semicolons are not allowed in tags"});return}u.tags=u.tags?u.tags.split(":"):[""],u.link=[""]}let m;if(u.docType)if(u.docType==se.FOOTPRINT){let h,f,g=u.path||this.data.path,b=null,y="";try{b=await Ze.updateFootprint({uuid:u.uuid,path:g,isProject:g===C.currentProject.projectId,footprint:{data:{uuid:u.uuid||this.data.componentItem.uuid,...u,ignoreDuplicateNameCheck:"yes",path:g,tags:c?c.split(":"):[]}}})}catch(x){if(y=x.message||"Save failed!",x&&x.action===zo.FOOTPRINT_SAME_NAMA_EXISTS){let S=await d4(g);y=me.i18n("{libName} duplicate name or illegal name: {componentName}",{libName:S,componentName:u.title})}}let w=b?{code:0,success:!0,result:b}:{code:-1,success:!1,result:null};if(he.setTabText(u.uuid,u.title),!w||!w.success){De({type:"error",msg:Mp(w)||y||"Save failed!"});return}h=w.result.ticket,f=w.result.updateTime,C.messageBus.publish("saveFootprintDataSuccess",{id:`${u.uuid}@${u.path||u.owner}`,name:u.title,category:w.result.tags,describe:u.description}),await C.messageBus.rpcCall("refreshFootprintAttrPanelWithDevice",{deviceDetail:null,footprintDetail:w.result}),this.close(),De({type:"success",msg:"Saved successfully!"}),i&&(h&&C.messageBus.publish("setTabTicket",{tabids:[w.result.uuid],ticket:h}),f&&C.messageBus.publish("setTabUpdatedAt",{tabids:[w.result.uuid],updateTime:f}),await C.messageBus.rpcCall("/pro-mgr/project/sync/force")),Wa(w.result,2),_3("footprint",w.result.uuid,w.result)}else if(u.docType===se.PCBLIB3D){let h=await As.updateD3ModelItem(!1,u.uuid,u.path||u.owner,{uuid:u.uuid,...u});if(!h||!h.success){De({type:"warn",msg:"Saved failed!"});return}else{let f=h.result;f&&_3("model3D",f.uuid,f),f&&Wa(f,2),f&&C.messageBus.publish("change3DInfo",f)}this.close(),De({type:"success",msg:"Saved successfully!"})}else if(u.docType===se.PANEL_LIB){let h=await cc.updatePanelLib(u.uuid,u);if(h){_3("panelLib",h.uuid,h),this.close(),De({type:"success",msg:"Saved successfully!"}),Wa(h,2);let{uuid:f,path:g}=h,b=lo(f,g);fg(b)&&(C.messageBus.publish("setTabText",[b,h.display_title]),C.messageBus.publish("renderPanelPropertyPanel",[b]))}else De({type:"error",msg:"Save failed!"})}else if(u.docType===se.BLOCK_SYMBOL){if((await C.messageBus.rpcCall("ajaxModify",[u,i])).message){this.close();let{uuid:f,path:g}=u;he.setTabUnSaved(lo(f,g),!1)}}else{let h=u.path||this.data.path;try{let f=await Ze.updateSymbol({uuid:u.uuid,path:h,isProject:h===C.currentProject.projectId,symbol:{data:{uuid:u.uuid||this.data.componentItem.uuid,...u,ignoreDuplicateNameCheck:"yes",path:h,tags:c?c.split(":"):[]}}}),g=f?{code:0,success:!0,result:f}:{code:-1,success:!1,result:null};if(!g.success)return g;_3("symbol",g.result.uuid,g.result),p4(f.uuid,f.path,2,2),this.close();let{uuid:b,path:y,docType:w}=f,x=lo(b,y);fg(x)&&(C.messageBus.publish("setTabText",[x,f.display_title]),await C.messageBus.rpcCall("sch/setSymbolDetail",f),C.messageBus.publish("sch/renderSymbolPropertyPanel"))}catch(f){f.action==="SYMBOL_SAME_NAMA_EXISTS"?De({type:"error",msg:"Duplicated title"}):De({type:"error",msg:f.message||""})}}else try{let h=gi(),f=(await C.messageBus.rpcCall("sch/getDeviceDetail",gi())).message;f.uuid===u.uuid&&f.path===u.path&&he.isTabUnSaved(h)&&await et("file_save");let g=await Ze.updateDevice({isProject:u.path===C.currentProject.projectId,uuid:u.uuid,path:u.path,device:{data:{title:u.title,tags:u.tags,description:u.description}}});Wa(g,2);let b;if(mt.getSymbolLibManage()!="2"&&r){let y=d==null?void 0:d.path,w=d==null?void 0:d.uuid,x=await Ze.getSymbol({isProject:y===C.currentProject.projectId,path:y,uuid:w}),S=await Ze.updateSymbol({isProject:y===C.currentProject.projectId,path:y,uuid:w,symbol:{data:{title:u.title,description:x.description,tags:Nv(x.tags),docType:x.docType}}});if(S){let{uuid:T,ticket:M,updateTime:I,display_title:A}=S,D=lo(T,y);C.messageBus.publish("setTabText",[D,A]),C.messageBus.publish("setTabTitle",[D,A]);let E=(await C.messageBus.rpcCall("pro-sch/getActivePartId")).message;C.messageBus.publish("dlgModifyPartSymbolDlgHandler",{partId:E,forType:"part",newTitle:A}),M&&C.messageBus.publish("setTabTicket",{tabids:[T],ticket:M}),I&&C.messageBus.publish("setTabUpdatedAt",{tabids:[T],updateTime:I}),Wa(S,2)}}if(this.close(),De({type:"success",msg:"Saved successfully!"}),f.uuid===u.uuid&&f.path===u.path){f.title=g.title,f.display_title=g.display_title,f.description=g.description,f.attributes.Description=g.description,f.tags=g.tags,f.custom_tags=g.custom_tags,b!=null&&(b.docType,se.PART,he.setTabText(lo(b.uuid,b.path),b.display_title));let y=he.getActiveTab();await C.messageBus.rpcCall("sch/setDeviceDetail",{tabId:y,device:f}),C.messageBus.publish("sch/renderSymbolPropertyPanel")}}catch(h){h.action==="SYMBOL_SAME_NAMA_EXISTS"?De({type:"error",msg:"Duplicated title"}):De({type:"error",msg:h.message||""})}}};function bLo(t){K4.setData(t),K4.hasModifiedData=!1,le.open({id:K4.id,title:"Modify file info",width:628,mask:!0,footer:!0,folded:!0,esc:!0,children:(0,Mf.jsx)(i$r,{}),openCallback(){},onOk(){K4.confirm()},onCancel(){K4.close()},onKeyup(e){}})}var Gve=class extends hhi{constructor(i,o,r,n,a){super(r,n,new Uoe(!1));this.componentIds=new Set;this.componentIdMapDesignator=new Map;this.componentIdMapNumber=new Map;this.allFootprintParents=new Set;this.allFootprintUUIDs=new Set;this.componentIdMapDevice=new Map;this.key=i,this.valueUUID=o}onXSignalsGroup(i,o,r,n,a){}onDelXSignalsGroup(i,o,r,n){}onXSignals(i,o,r,n,a){}onDelXSignals(i,o,r,n){}onBoard(i,o,r,n){}onDelBoard(i,o,r){}init(i=!1,o=!1,r=!1,n=!1){return super.init(o,i,r,n)}canvasSelected(){return""}onSelectChange(i,o,r){}onSelectQuit(i,o){}onLayerFill(i,o,r,n,a){}onDelLayerFill(i,o,r,n){}onBlob(i,o,r,n,a){}onDelBlob(i,o,r,n){}onFont(i,o,r,n){}onDelFont(i,o,r,n){}onString(i,o,r,n,a,s){}onDelString(i,o,r,n){}onStringNum(i,o){}onAttr(i,o,r,n,a,s){a.key==this.key&&this.valueUUID.has(a.value)&&this.componentIds.add(a.parentId),a.key=="Footprint"&&(this.allFootprintParents.add(a.parentId),this.allFootprintUUIDs.add(a.value)),a.key=="Designator"&&this.componentIdMapDesignator.set(a.parentId,a.value),a.key=="Device"&&this.componentIdMapDevice.set(a.parentId,a.value)}onDelAttr(i,o,r,n){}onAttrNum(i,o){}onDelReuseBlock(i,o,r,n){}onPadNet(i,o,r,n){}onDelPadNet(){}onComponent(i,o,r,n,a,s){this.componentIdMapNumber.set(i,o)}onDelComponent(i,o,r,n){}onComponentNum(i,o){}onPanelizeSide(i,o,r,n){}onDelPanelizeSide(i,o,r,n){}onPanelizeStamp(i,o,r,n){}onDelPanelizeStamp(i,o,r,n){}onPanelize(i,o,r,n){}onDelPanelize(i,o,r){}onRuleSelector(i,o,r,n){}onDelRuleSelector(i,o,r,n){}onRule(i,o,r,n){}onDelRule(i,o,r,n,a){}onRuleTemplate(i,o,r,n){}onDimension(i,o,r,n,a,s){}onDelDimension(i,o,r,n){}onDimensionNum(i,o){}onBoss(i,o,r,n,a,s){}onDelBoss(i,o,r,n){}onBossNum(i,o){}onShellEntity(i,o,r,n,a,s){}onDelShellEntity(i,o,r,n){}onShellEntityNum(i,o){}onShellCut(i,o,r,n,a,s){}onDelShellCut(i,o,r,n){}onShellCutNum(i,o){}onCrease(i,o,r,n,a,s){}onDelCrease(i,o,r,n){}onCreaseNum(i,o){}onShell(i,o,r,n,a,s){}onDelShell(i,o,r,n){}onShellNum(i,o){}onFpcFill(i,o,r,n,a,s){}onDelFpcFill(i,o,r,n){}onFpcFillNum(i,o){}onTeardrop(i,o,r,n,a,s){}onDelTeardrop(i,o,r,n){}onTeardropNum(i,o){}onImage(i,o,r,n,a,s){}onDelImage(i,o,r,n){}onImageNum(i,o){}onPoured(i,o,r,n,a,s){}onDelPoured(i,o,r,n){}onPouredNum(i,o){}onPour(i,o,r,n,a,s){}onDelPour(i,o,r,n){}onPourNum(i,o){}onRegion(i,o,r,n,a,s){}onDelRegion(i,o,r,n){}onRegionNum(i,o){}onFill(i,o,r,n,a,s){}onDelFill(i,o,r,n){}onFillNum(i,o){}onPoly(i,o,r,n,a,s){}onDelPoly(i,o,r,n){}onPolyNum(i,o){}onEQLenGrp(i,o,r,n,a){}onDelEQLenGrp(i,o,r,n){}onDelProp(i,o,r,n){}onObj(i,o,r,n,a,s){}onDelObj(i,o,r,n){}onObjNum(i,o){}onArc(i,o,r,n,a,s){}onDelArc(i,o,r,n){}onArcNum(i,o){}onCArc(i,o,r,n,a,s){}onDelCArc(i,o,r,n){}onCArcNum(i,o){}onLine(i,o,r,n,a,s){}onDelLine(i,o,r,n){}onLineNum(i,o){}onPad(i,o,r,n,a,s){}onDelPad(i,o,r,n){}onPadNum(i,o){}onVia(i,o,r,n,a,s){}onDelVia(i,o,r,n){}onViaNum(i,o){}onDelConnect(i,o,r,n){}onPreference(i,o,r,n){}onSilkOpts(i,o,r,n,a){}onDelSilkOpts(i,o,r,n){}onGroup(i,o,r,n,a){}onDelGroup(i,o,r,n){}onPrimitive(i,o,r,n,a){}onDelPrimitive(i,o,r,n){}onNet(i,o,r,n,a){}onDelNet(i,o,r,n){}onPartition(i,o,r,n,a,s){}onDelPartition(i,o,r,n){}onPartitionNum(i,o){}onDocDetail(i,o,r,n){}onActiveLayer(i,o,r,n){}onLayerPhys(i,o,r,n,a){}onDelLayerPhys(i,o,r,n){}onLayer(i,o,r,n,a){}onDelLayer(i,o,r,n){}onCanvas(i,o,r,n){}};var yLo=t=>{r7({dialogTitle:"Device Save as",initCategoryName:n7(t),initCategoryType:Yi.DEVICE,onDialogSave:async e=>{let i=!1,{path:o,categoryName:r,ownerBelongId:n,ownerBelongName:a}=e;return await Ro(t,async(s,l)=>{await dze({originDevice:l,description:l.description,tags:r?r.split(":"):[],title:l.display_title,owner:n,ownerName:a,path:o,sameNameComponentSaveAsMethod:"unset"})&&(i=!0)}),i}})};var ZVt=(t,e)=>{r7({dialogTitle:"Document Save as",initCategoryName:n7(t),initCategoryType:Yi.SYMBOL,onDialogSave:async i=>{let o=!1,{path:r,categoryName:n}=i;return await Ro(t,async(a,s)=>{var c;await lBe(s.uuid,(c=s==null?void 0:s.path)!=null?c:e,r,{title:s.display_title,categoryName:n,description:s.description,docType:s.docType})&&(o=!0)}),o}})};var JVt=(t,e)=>{r7({dialogTitle:"Document Save as",initCategoryName:n7(t),initCategoryType:Yi.FOOTPRINT,onDialogSave:async i=>{let o=!1,{path:r,categoryName:n}=i;return await Ro(t,async(a,s)=>{var c;await hze(s.uuid,(c=s==null?void 0:s.path)!=null?c:e,r,{title:s.display_title,categoryName:n,description:s.description})&&(o=!0)}),o}})};var qVt=(t,e)=>{r7({dialogTitle:"Document Save as",initCategoryName:n7(t),initCategoryType:Yi.MODEL3D,onDialogSave:async i=>{let o=!1,{path:r,categoryName:n}=i;return await Ro(t,async(a,s)=>{var c;await mze(s.uuid,(c=s==null?void 0:s.path)!=null?c:e,r,{title:s.display_title,categoryName:n,description:s.description})&&(o=!0)}),o}})};var o$r=async(t,e,i)=>{let{uuid:o,title:r}=e,{categoryName:n,ownerUuid:a}=i,s={uuid:o};t&&Object.assign(s,{title:r});let l={cbb:s,info:{owner:{uuid:a},name:r,tags:n?n.split(":"):[],cbb_project:!0},options:{needDlg:!1}},c=(await C.messageBus.rpcCall(qr.CBB_AS_CLOUD,l)).message;return c.success?De({type:"success",msg:"Saved successfully!",timer:3}):De({type:"error",msg:"Project save as failure!",timer:3}),c},XVt=(t,e)=>{r7({dialogTitle:"Document Save as",initCategoryName:n7(e),initCategoryType:Yi.CBB,onDialogSave:async i=>{let o=!1,{path:r,categoryName:n}=i;return await Ro(e,async(a,s)=>{var u;let l=(u=s.title)!=null?u:s.name,c=t?s.project_uuid:s.uuid;await o$r(t,{uuid:c,title:l},{categoryName:n,ownerUuid:r})?o=!0:o=!1}),o}})};var TLo=L(CLo());var MLo=L(z()),yfu=be.bind(TLo.default.locals);var xLo=new class extends qe{constructor(){super(...arguments);this.id="dlgBatchModifyCategory";this.hasModifiedData=!1}setData(e){this.data=e,this.notify(),this.hasModifiedData=!0}setTags(e,i){let o={...this.data};o.tags.id=e,o.tags.str=i,this.setData(o)}async confirm(){let e={...this.data.saveCommandParams||{}},{isProjectLib:i,tags:{id:o,str:r}}=this.data,n=String(ue.htmlEncode(o));if(n.includes(";")){De({type:"error",msg:"Semicolons are not allowed in tags"});return}let a=n.split(":"),s=ue.htmlEncode(r),l=typeof s=="string"?s.split(":"):[""],c=d=>({tags:l,custom_tags:JSON.stringify(i&&r?l:[])});for(let d=0;d<e.infos.length;d+=1){let u=e.infos[d],{uuid:p,docType:m,display_title:h,description:f}=u,g=i?C.currentProject.projectId:this.data.path||e.path,b,y;if(m===se.FOOTPRINT)b=await Ze.updateFootprint({uuid:p,path:g,isProject:i,footprint:{data:{tags:l,title:h,docType:m,description:f}}}),b?(Wa(b,2),this.data.isProjectLib&&await C.messageBus.rpcCall("/pro-mgr/project/sync/force")):y=h;else if(m===se.PCBLIB3D){let w=await As.updateD3ModelItem(!1,p,g,{...u,title:h,description:f,tags:a});w.success?(b=w.result,Wa(b,2),this.data.isProjectLib&&await C.messageBus.rpcCall("/pro-mgr/project/sync/force")):y=h}else if(m===se.PANEL_LIB){let w={...u,...c(u)},x=await Ze.updatePanelLib({path:g,isProject:g===C.currentProject.projectId,uuid:w.uuid,panelLib:{data:w}});x?(b=x,Wa(b,2),this.data.isProjectLib&&await C.messageBus.rpcCall("/pro-mgr/project/sync/force")):y=h}else if(m===se.NGSPICE_MODEL||m===se.SIMULIDE){let w=await As.updateD3ModelItem(!1,p,g,{...u,title:h,description:f,tags:a});w.success?(b=w.result,Wa(b,2),this.data.isProjectLib&&await C.messageBus.rpcCall("/pro-mgr/project/sync/force")):y=h}else if(e.tabType===3)b=await Ze.updateDevice({isProject:i,uuid:p,path:g,device:{data:{tags:l,title:h,images:u.images,description:f,attributes:u.attributes}}}),b?(Wa(b,2),this.data.isProjectLib&&await C.messageBus.rpcCall("/pro-mgr/project/sync/force")):y=h;else if(e.tabType===1){let{uuid:w,path:x,name:S,content:T,description:M,display_title:I,title:A,docType:D}=e.infos[d],E=this.data.tags.id.split(":");if(i){let N=this.data.tags.str.split(":"),R=await Ze.updateSymbol({symbol:{data:{tags:N,description:M,title:I||A,docType:D}},uuid:w,path:x,isProject:i});R?(b=R,this.data.isProjectLib&&await C.messageBus.rpcCall("/pro-mgr/project/sync/force")):y=A}else{let{message:N}=await C.messageBus.rpcCall(Ei.PROJECT.UPDATE,{uuid:w,tags:E});N.success?(b=N.result,delete b.path,p4(w,w,4,2)):y=A}}else e.tabType===2?(b=await Ze.updateSymbol({isProject:i,uuid:p,path:g,symbol:{data:{tags:l,title:h,description:f,docType:m}}}),b?(Wa(b,2),this.data.isProjectLib&&await C.messageBus.rpcCall("/pro-mgr/project/sync/force")):y=h):(await C.messageBus.rpcCall("ajaxModify",[e.infos[d],i])).message||(y=h);b&&_3(Ls(),b.uuid,b),y?De({type:"error",msg:[{text:y,translate:!1},"Update failed!"],bottomBarMsg:{type:"error",msg:[y,Ti("Update failed!")]}}):De({type:"success",msg:"Update successfully!"})}ILo("cancelBatchModifyCategory")}close(){le.close(this.id)}async modifyCategory(){var a,s;let{tabType:e,owner:i,path:o}=this.data.saveCommandParams,r=Tr.classification.uuid===Yt.PROJECT;o=o||(r?(s=(a=I0e)==null?void 0:a.classificationMap[2])==null?void 0:s.uuid:Tr.classification.uuid);let n=await C1({docType:+e,userId:i,path:o,isProjectLib:r});if(n.confirm){let l=n.tag;this.setTags(l.pathId,l.pathName),await this.confirm()}}manageCategoryBtn(){let e=this.data.saveCommandParams.tabType,i=this.data.saveCommandParams.owner;Qc({menuSelected:"CATEGORY",isProject:this.data.tags.manageCategory.isProject,initCategoryActiveTab:vv(+e),initCategoryActiveLibId:i})}clearCategory(){this.setTags("","")}};function SLo(t){t.tags||(t.tags={id:"",str:"",manageCategory:{isProject:D5e()}}),xLo.data=t,xLo.modifyCategory()}async function afe(t,e,i,o,r,n,a){Je&&e.project_uuid!==C.currentProject.projectId&&o==="cbb"&&await vLo(e.project_uuid);let s=e?(e==null?void 0:e.path)||yr(e):Vm();e!=null&&(e=ue.deepClone(e)),a!=null&&(a=ue.deepClone(a)),$Vt({cmd:t,rowData:e,isProjectLib:i,libUuid:r,path:s,tableType:o,libType:n,origin:"bottomBar",rowDataArr:a,refresh:x1,refreshDeviceListRow:null,closeDlg:null,privateLibRefresh:x1})}async function $Vt(t){var g,b,y,w,x;let{cmd:e,rowData:i,isProjectLib:o,libUuid:r,tableType:n,origin:a,rowDataArr:s=[],libType:l,refresh:c,privateLibRefresh:d,refreshDeviceListRow:u,closeDlg:p}=t,m=t.path,h=i!=null&&i.origin?(b=(g=i.origin)==null?void 0:g.owner)==null?void 0:b.uuid:(y=i==null?void 0:i.owner)==null?void 0:y.uuid,f=s.length>1;switch(e){case"easyEditDevice":{p&&p(),await Ome(i,m,o),((w=i.symbol)==null?void 0:w.uuid)==null&&c();break}case"editDevice":GD(o,i,async()=>{qbe(i.uuid,m,o,{projectLibOrigin:h})});break;case"editSymbol":{let T=n==="device"?i.attributes.Symbol:i.uuid;await Vj(T,o,n==="device"?i:null,n==="device"?null:i.tags,m,n,r),p&&p();break}case"editFootprint":{let T,M={};n==="device"?(T=i.attributes.Footprint,M.deviceId=i.uuid):n==="footprint"&&(T=i.uuid),M.libPath=m;let I=await Ze.getFootprint({path:m,uuid:T,isProject:o});if(M={...M,...I},Object.keys(M).length<=1)return;M.isProjectLib=o,M.isFormBottomBar=!0,M.docType!==ve.FOOTPRINT&&(M.tags=i.tags),GD(o,M,()=>{GS(M,o,{},!0,A=>{var E;let D=he.getTabById(A);D&&((E=D==null?void 0:D.data)!=null&&E.isFormBottomBar)&&he.setTabData(A,{path:Vm()})})}),p&&p();break}case"link3DModel":{new uat(i,"",o,"mm",m,!0).onConfirm(T=>{Wa(T,2),c()});break}case"linkFootprint":{new hat(i,"",o,m).onConfirm(async T=>{Wa(T,2);let M=yr(T),I=lo(T.attributes.Symbol,M);await C.messageBus.rpcCall("sch/setFootprintDetail",{tabId:I,footprintUuid:T.attributes.Footprint}),c()});break}case"linkSymbol":{new fat(i,"",o,"all",m).onConfirm(T=>{Wa(T,2),c()});break}case"link2NewDevice":{let T,M=m;if(n==="model3D"){let E=ue.splitComponentId2FolderAndFilenameMixin(i.uuid,!0);M=E.path?E.path:M}let I,A={uuid:i.uuid,path:M,isProject:M===C.currentProject.projectId};switch(n){case"symbol":I=await Ze.getSymbol(A);break;case"footprint":I=await Ze.getFootprint(A);break;case"model3D":I=await Ze.getD3Model(A);break}i.fileName||(T=I.dataStr);let D={};I&&(D.userIdSelected=I.path,I.docType===ve.FOOTPRINT?(D.footprintItemId=I.uuid,D.setAssociateNewDevice="ByFootprint"):[ve.PART,ve.NETFLAG,ve.NETPORT,ve.OFF_PAGE_CONNECTOR,ve.DIFF_PAIRS_FLAG,ve.SHEET_SYMBOL,ve.NONEELEC_SYMBOL].indexOf(I.docType)>=0?(D.symbolItemId=I.uuid,D.setAssociateNewDevice="BySymbol"):(I.docType===ve.VIEW3D||I.docType===ve.PCBLIB3D)&&(D.d3modelItemId=I.uuid,D.setAssociateNewDevice="ByD3Model")),Jbe(M,o,D);break}case"linkToExistingDevice":{Hv({scenesType:"deviceList",componentId:i.uuid,doctype:i.docType,path:m,isFromProject:o});break}case"editSchematic":{Jq(i,o);break}case"editPcb":{Jq(i,o,!0);break}case"libDelete":f?TMe(s,n,o,l):await ew(i,n,o,!0,!1,m,void 0,void 0,void 0,o?[i.uuid]:[],a);break;case"refresh":a==="chooseDeviceDlg"?c():d();break;case"addOrRemoveFavorite":let S=a==="chooseDeviceDlg"?"chooseDeviceDlg":void 0;f?await rHt(s,S):await iHt(i,S);break;case"addIntoBasicLibrary":{if(f)await u$r(s,m,a,u);else{let T=Wi("BASE_LIBRARY",void 0,{defaultValue:[]}),M=fP(i.tags);i.isBasicLibrary=qq(i);let I="add";if(i.isBasicLibrary){for(let A=0;A<T.length;A++){let D=T[A];if(D.name===M){for(let E=0;E<D.data.length;E++)if(D.data[E].device===i.uuid){D.data.splice(E,1);break}D.data.length==0&&T.splice(A,1);break}}De({type:"success",msg:"Remove from Common Library Success"}),I="remove"}else{let A=0;if(T.map(N=>{A+=N.data.length}),A>=200){De({type:"error",msg:"Add common library failed! The devices limitation is 200"});break}let D=wat(i,m,M,A),E=!1;for(let N=0;N<T.length;N++){let R=T[N];if(R.name===D.category){R.data.push(D),E=!0;break}}E||T.push({name:D.category,data:[D]}),De({type:"success",msg:"Add into Common Library Success"})}a==="chooseDeviceDlg"&&u(i.uuid,I==="add"?"addBaseLibrary":"removeBaseLibrary"),await mt.savePreference("commSystemSetting",sc()),C.messageBus.publish("updateBaseLibrary",{deviceId:i.uuid,path:m,operate:I}),await hc.updateDeviceLibraryDataAlone(!1,!0)}break}case"modifyCbbInfo":case"modify":{xMe(i,{isProjectLib:o,projectLibOrigin:h});break}case"footprintSaveAs":case"symbolSaveAs":case"model3DSaveAs":case"saveAs":{let T=["device","symbol","footprint"].includes(n),M,I;if(Je&&(M=C.clientTeamList,I=M.length>0&&M.some(D=>!D.system),T&&!I)){Ut({type:"confirm",message:"The library does not exist yet, please create it first!",textOK:"OK",textCancel:"Cancel",onConfirm:()=>{Gg()}});return}if(f){switch(e){case"saveAs":switch(n){case"device":yLo(s);break;case"symbol":ZVt(s,m);break;case"footprint":JVt(s,m);break;case"model3D":qVt(s,m);break;case"cbb":XVt(o,s);break;default:break}break;case"footprintSaveAs":{let D=[];await Ro(s,async(E,N)=>{var R;try{let v=(R=N==null?void 0:N.attributes)==null?void 0:R.Footprint;if(!v)return;let k=await Ze.getFootprint({path:m,isProject:m===C.currentProject.projectId,uuid:v});k&&D.push(k)}catch(v){console.error(v,N==null?void 0:N.title)}}),JVt(s,m);break}case"symbolSaveAs":{let D=[];await Ro(s,async(E,N)=>{var R;try{let v=(R=N==null?void 0:N.attributes)==null?void 0:R.Symbol;if(!v)return;let k=await Ze.getSymbol({path:m,isProject:m===C.currentProject.projectId,uuid:v});k&&D.push(k)}catch(v){console.error(v,N==null?void 0:N.title)}}),ZVt(D,m);break}case"model3DSaveAs":{let D=[];await Ro(s,async(E,N)=>{try{let R=N.attributes["3D Model"].split("|"),v=R[0];if(m=R[1]||m,o&&(m=N.source.split("|")[1]||m),!v)return;let k=await Ze.getD3Model({path:m,isProject:m===C.currentProject.projectId,uuid:v});k&&D.push(k)}catch(R){console.error(R,N==null?void 0:N.title)}}),qVt(D,m);break}default:break}return}let A;if(n==="device"&&e=="saveAs"){A=i,mt.getSymbolLibManage()=="1"?Qve(A):mat(i.uuid,m,o);break}else{let D=i.uuid;switch(e){case"footprintSaveAs":D=i.attributes.Footprint;break;case"symbolSaveAs":D=i.attributes.Symbol;break;case"model3DSaveAs":{let E=i.attributes["3D Model"].split("|");D=E[0],m=E[1]||m,o&&(m=i.source.split("|")[1]||m);break}default:break}pr(i.docType)||e==="symbolSaveAs"?A=await Ze.getSymbol({isProject:m===C.currentProject.projectId,uuid:D,path:m}).catch(E=>null):e=="footprintSaveAs"||i.docType===ve.FOOTPRINT?A=await Ze.getFootprint({isProject:m===C.currentProject.projectId,uuid:D,path:m}).catch(E=>null):i.docType===ve.DEVICE?A=await Ze.getDevice({isProject:m===C.currentProject.projectId,uuid:D,path:m}).catch(E=>null):i.docType===ve.PCBLIB3D||e==="model3DSaveAs"?A=await Ze.getD3Model({isProject:m===C.currentProject.projectId,uuid:D,path:m}).catch(E=>null):(i.docType===ve.NGSPICE_MODEL||i.docType===ve.SIMULIDE_MODEL)&&(A=await Ze.getSimModel({isProject:m===C.currentProject.projectId,uuid:D,path:m}).catch(E=>null)),Yve(A,o,{rowDataArr:s})}break}case"saveAsLocal":{if(f)switch(n){case Tt.DEVICE:await L0e(s);break;case Tt.SYMBOL:await rZ(s);break;case Tt.FOOTPRINT:await xOe(s);break;case Tt.CBB:if(o)await rZ(s);else{let T={projectIds:null,projectTitles:null,isProjectLibrary:null,fromLibUuid:null},M=[],I=[];s.forEach(A=>{M.push(A.uuid),I.push(A.name||"")}),T.projectIds=M,T.projectTitles=I,T.isProjectLibrary=!1,T.fromLibUuid=m,await ii("cbb_save_as_local",T)}break;default:throw new Error(n)}else typeof i.docType>"u"&&n==="device"&&(i.docType=ve.DEVICE),i.fromLibUuid=t.libUuid,tHt(i,o);break}case"replace3DModel":{let T={uuid:i.uuid};et("new_3D_model",T);break}case"reportError":{let T=i.attributes["Supplier Part"];dY(T,dl.value||window);break}case"viewProductDetail":{let T=yat(i);(dl.value||window).open(T,"_blank");break}case"viewDatasheet":{let T=oHt(i);(dl.value||window).open(T,"_blank");break}case"editSimulationModel":{let T={uuid:i.uuid,defaultOwnerId:t.libUuid};et("new_Sim_Model",T);break}case"modifyCategory":{Vne(s,n,o,m);break}case"removeInRecent":{(x=pj[n])==null||x.remove(i),s==null||s.forEach(T=>{var M;return(M=pj[n])==null?void 0:M.remove(T)}),d==null||d(),c==null||c();break}default:break}}function dY(t,e=window){if(!t)return;let i=`${C.HelpURL.reportPartError}?code=${t}`;e.open(i,"_blank")}async function GD(t,e,i){t?(await Nq(e)).action==="yes"&&i():i()}async function Vj(t,e,i,o,r,n,a,s){var p;if(!t)return;r=r||(e?C.currentProject.projectId:Vm());let l={};i&&((p=i.attributes)==null?void 0:p.Symbol)===t&&(l.deviceDetail={...i,path:r});let c={},u=await Ze.getSymbol({uuid:t,path:r,isProject:r===C.currentProject.projectId});u.isProjectLib=e,o&&(u.tags=o),c={...c,...u},c.path||(c.path=r),l.symbolDetail=u,l.isFormBottomBar=!0,e?c.projectId=C.currentProject.projectId:c.docType&&Number(c.docType)===b0e&&(c.projectId=c.project_uuid),i!=null&&i.uuid&&(c.deviceId=i.uuid),c.isProjectLib&&(c.has_device=(await C.messageBus.rpcCall($e.DEVICE.BIND_SYMBOL,[c.uuid,c.path])).message),nbe.path=r,GD(e,c,()=>{s&&s(),DI(c,e,!0,n,a)})}async function dee(t,e,i,o){let r,n,a=0,s=t.display_title||t.title||t.display_name;do a++,n=await ts.queryComponentsByTitle(o===C.currentProject.projectId,s,o,t.docType,i),r=n.result.length,r&&(s=Qee(s));while(r&&a<=500);return s}async function ZLe(t,e){let i;return e.docType===ve.FOOTPRINT?i=await Ze.createFootprint({path:t["file-lib"],isProject:t["file-lib"]===C.currentProject.projectId,footprint:{uuid:e.uuid,path:yr(e),isProject:e.path===C.currentProject.projectId,override:{title:t["file-name"],description:t["file-describe"],tags:t["file-category"]||t["file-customTags"]||[]}}}):e.docType===ve.PCBLIB3D?i=await Ze.createD3Model({path:t["file-lib"],isProject:t["file-lib"]===C.currentProject.projectId,d3model:{uuid:e.uuid,path:yr(e),isProject:!1,override:{title:t["file-name"],description:t["file-describe"],tags:t["file-category"]||t["file-customTags"]||[]}}}):i=await Ze.createSymbol({path:t["file-lib"],isProject:t["file-lib"]===C.currentProject.projectId,symbol:{uuid:e.uuid,path:yr(e),isProject:e.path===C.currentProject.projectId,override:{title:t["file-name"],description:t["file-describe"],tags:t["file-category"]||t["file-customTags"]||[]}}}),i}function SE(t,e,i,o,r){r[t]=i,r[e]=o}async function DI(t,e,i,o,r,n){if(!t)return;let a=t.uuid;if(he.isHasTabById(a)){he.simulateClick(a);return}t.path||(e?t.path=C.currentProject.projectId:t.path=r||Vm()),await ms.modifyRulerTheme(),await yn({data:t,deviceUuid:t.deviceId,openContainer:n})}async function Jq(t,e,i=!1){let o=t.project_uuid,r=t.display_title||t.name;if(e)C.messageBus.publish("editSchPcb",{isProjectLib:e,displayTitle:r,project_uuid:o,isPcb:i});else{if(!i){let n=C.messageBus.subscribe("sch_gVars.projectMgr_complete",async()=>{await yn({uuid:t.uuid,path:o,docType:ve.SCH}),n.cancel()})}await C.messageBus.rpcCall("openProject",[o,{}]),i&&await Ud(t.uuid)}}async function mAt(t){let{message:e}=await C.messageBus.rpcCall($e.FOOTPRINT.GET_KEYS_BY_SOURCE,[t,C.currentProject.projectId]),i=new Array;if((e==null?void 0:e.length)>0){let{message:o}=await C.messageBus.rpcCall($e.PCB.GET_ALL_ARR,[C.currentProject.projectId]),r=new Array;for(let n=0;n<o.length;n++){let a=o[n];r.push({pcbid:a.uuid,projectId:a.project_uuid})}for(let n of r){let{pcbid:a,projectId:s}=n,l=new Gve("Footprint",new Set([t]),a,s);if((await l.init()).success)for(let d of e)l.allFootprintUUIDs.has(d)&&i.push(d);l.destroy()}}return i}async function a$r(t,e,i){i=i&&i==="project"?C.currentProject.projectId:i;let{message:o}=await C.messageBus.rpcCall($e.PCB.GET_ALL_ARR,[C.currentProject.projectId]),r=new Array;for(let u=0;u<o.length;u++){let p=o[u];r.push({pcbid:p.uuid,projectId:p.project_uuid})}let n={},a=await s(n,t,r,e);if(t==="Footprint"){let u=[],p=[...a];for(let m=0;m<p.length;m++){let h=p[m],{message:f}=await C.messageBus.rpcCall($e.DEVICE.GET,[h,C.currentProject.projectId]);f&&e.includes(f.attributes.Footprint)&&u.push(h)}u.length>0&&await s(n,"Device",r,u)}return Object.values(n);async function s(u,p,m,h){let f=new Set;for(let g of m){let{pcbid:b,projectId:y}=g,w=new Gve(p,new Set(h),b,y);if((await w.init()).success){for(let S of w.componentIds){let T=w.componentIdMapDesignator.get(S)||"",M=w.componentIdMapNumber.get(S);u[`${S}_${b}`]={designator:T,componentItemId:S,pcbid:b,componentNumber:M}}if(p=="Footprint"){for(let S of w.allFootprintParents)w.componentIdMapDevice.delete(S);for(let[,S]of w.componentIdMapDevice)f.add(S)}}w.destroy()}return f}function l(u,p){for(let m=0;m<u.length;m++){let f=u[m].split(",");f[0]==='["ATTR"'&&p(f)}}function c(u){let p=new Set;return l(u,m=>{d(m[7])==="Footprint"&&d(m[8]).length>32&&p.add(d(m[3]))}),p}function d(u){return(u[0]=='"'?"":u[0])+u.slice(1,-1)+(u.slice(-1)=='"'?"":u.slice(-1))}}async function YMe(t,e,i){let o=await a$r(t,e.uuid instanceof Array?e.uuid:[e.uuid],i),r=[];return o.length&&o.forEach(n=>{let a=n.designator?`${n.designator} (e${n.componentNumber})`:`e${n.componentNumber}`;r.push({attr:{id:n.componentItemId,pcbid:n.pcbid},text:a})}),r}async function WMe(t,e){let i=(await C.messageBus.rpcCall("getDeviceByUuid",{uuid:e.uuid,type:t})).message,o=[];return i.length&&await Ro(i,async(r,n)=>{let{sheetId:a,data:s}=n,{attrs:l,originSymbol:c}=s,{displayId:d,cmdKey:u,symbolId:p}=c,{Designator:m,Name:h}=l;h=(await C.messageBus.rpcCall("sch/getFormulaName",{cmdKey:u,Name:h,attrs:{...l,ID:d}})).message;let f=m?`${m}(${h||d})`:h||d;o.push({attr:{id:p,sheet:a},text:f})}),o}async function hAt(t,e=[]){let i=[],{message:o}=await C.messageBus.rpcCall($e.DEVICE.GET_ALL_ARR,[C.currentProject.projectId]);if(o.length)for(let r of o)!e.includes(r.uuid)&&r.attributes&&r.attributes.Footprint&&r.attributes.Footprint===t.uuid&&i.push(r.display_title);return i}async function ew(t,e,i,o=!0,r=!1,n,a,s,l,c=[],d){function u(h,f,g,b){if(!g.length)return;let y="",w=t.text?`<span class="i18n">${t.text}</span>`:`<span class="i18n">Delete ${b}</span> ${t.display_title} <span class="i18n">failed</span>.`;h=="linkedDevice"||h=="instanceOnCanvas"?y=`<span class="i18n">Delete ${b}</span> ${t.display_title} <span class="i18n">failed</span>.
					<span class="i18n">Found existing ${h=="linkedDevice"?"device":"component"}(s) referenced by this ${b.toLowerCase()}</span>: `:h=="linkedSpecialFootprint"&&(y=`${w}
					<span class="i18n">Found existing special ${b.toLowerCase()}(s) referenced by this ${b.toLowerCase()}</span>`,g=[]);let x="error",S=t.text||{value:`Delete ${b} {name} failed!`,options:{name:t.display_title}};De({type:"error",msg:[S,`Found existing ${h=="linkedDevice"?"device":"component"}(s) referenced by this ${b.toLowerCase()}`],bottomBarMsg:{type:x,msg:[y,...eat(g,";")]}})}async function p(h){var M,I,A,D,E,N,R,v,k,P;let f=h==null?void 0:h.isDelProjectSymbols,g=h==null?void 0:h.isDelProjectFootPrints,b=h==null?void 0:h.isDelProjectModel3Ds,y={},w,x=!1;e==="device"?(x=!0,y.devices=[t.uuid],y.path=n):e==="cbb"?(w=Ei.PROJECT.DELETE,y.uuid=t.uuid,y.path=n):(x=!0,e==="footprint"?y.footprints=[t.uuid]:e==="symbol"?y.symbols=[t.uuid]:t.docType==ve.NGSPICE_MODEL||t.docType==ve.SIMULIDE_MODEL?y.simLibs=[t.uuid]:[ve.PCBLIB3D].includes(t.docType)?y.pcb3dLibs=[t.uuid]:[ve.PANEL_LIB].includes(t.docType)&&(y.panelLibs=[t.uuid]),y.path=n);let S;if(x){let O=y.path===C.currentProject.projectId;try{(M=y.devices)==null||M.forEach(_=>{Ze.deleteDevice({uuid:_,path:y.path,isProject:O})}),(I=y.symbols)==null||I.forEach(_=>{Ze.deleteSymbol({uuid:_,path:y.path,isProject:O})}),(A=y.footprints)==null||A.forEach(_=>{Ze.deleteFootprint({uuid:_,path:y.path,isProject:O})}),(D=y.pcb3dLibs)==null||D.forEach(_=>{Ze.deleteD3Model({uuid:_,path:y.path,isProject:O})}),(E=y.simLibs)==null||E.forEach(_=>{Ze.deleteSimModel({uuid:_,path:y.path,isProject:O})}),(N=y.panelLibs)==null||N.forEach(_=>{Ze.deletePanelLib({uuid:_,path:y.path,isProject:O})}),S={success:!0}}catch{S={success:!1}}}else S=(await C.messageBus.rpcCall(w,y)).message;let T=!1;if(S&&S.success){let O=f.findIndex(_=>_===t.uuid);if(O>=0&&f.splice(O,1),O=g.findIndex(_=>_===t.uuid),O>=0&&g.splice(O,1),O=b.findIndex(_=>_===t.uuid),O>=0&&b.splice(O,1),Wa({path:(R=yr(t))!=null?R:n,...t},3),T=!0,Xb(lo(t.uuid,n)),e==="device"){let _=lo(t.attributes.Symbol,n);C.messageBus.rpcCall("sch/setDeviceDetail",{tabId:_,device:null})}if(!i&&t.schematic&&t.schematic.project_uuid===C.currentProject.projectId&&Xg(C.currentProject.projectId),f!=null&&f.length){for(let _=0;_<f.length;_+=1)if((v=t.symbol)!=null&&v.uuid&&t.symbol.uuid===f[_]){await ew(t.symbol,"symbol",i,!1,void 0,y.path?y.path:C.currentProject.projectId,f,g,b,c),f.splice(_,1);break}}if(g!=null&&g.length){for(let _=0;_<g.length;_+=1)if((k=t.footprint)!=null&&k.uuid&&t.footprint.uuid===g[_]){t.footprint.docType=ve.FOOTPRINT,await ew(t.footprint,"footprint",i,!1,void 0,y.path?y.path:C.currentProject.projectId,f,g,b,c);break}}if(b!=null&&b.length){for(let _=0;_<b.length;_+=1)if((P=t.model3D)!=null&&P.uuid&&t.model3D.uuid===b[_]){await ew(t.model3D,"model3D",i,!1,void 0,y.path?y.path:C.currentProject.projectId,f,g,b,c);break}}i&&(await C.messageBus.rpcCall("/pro-mgr/project/sync/force"),C.messageBus.publish("clearAllPcbHistory",""),C.messageBus.publish("clearAllSchHistory",""),e=="device"&&C.messageBus.publish("deleteDevice",t.uuid)),De({type:"success",msg:"Delete successfully!",timer:3})}else{T=!1;let O=S.message||"Delete component failed: {component}",_={component:t.name||t.uuid},j={value:O,options:_};De({type:"warn",msg:j,bottomBarMsg:{type:"warn",msg:Ti(O,{params:_})},timer:3})}T&&(e==="device"&&C.messageBus.publish("deleteDataChooseDeviceDlgCb",{path:n,uuid:t.uuid,type:"device"}),C.messageBus.publish("deleteDataBottomCb",{path:n,uuid:t.uuid}))}let m=!0;if(i)if(e=="device"){let h=await YMe("Device",t,n),f=await WMe("Device",t),g=[].concat(h,f);u("instanceOnCanvas",t.display_title,g,"Device"),m=g.length>0}else if(e=="footprint"){let h=await YMe("Footprint",t,n),f=await WMe("Footprint",t),g=await mAt(t.uuid),b=[].concat(h,f),y=await hAt(t,c);u("instanceOnCanvas",t.display_title,b,"Footprint"),u("linkedDevice",t.display_title,y,"Footprint"),u("linkedSpecialFootprint",t.display_title,g,"Footprint"),m=b.length>0||y.length>0||g.length>0}else if(e==="cbb"&&o){let h=[],f=[],g=[],b=[];if((await C.messageBus.rpcCall("getReferenceCbbByUuid",t)).message.length<1){let w={Boards:[],Schematic:[],Page:[],PCB:[],Panel:[],CBB:[],Simulation:[]},x={content:w,toDelSchs:[],toDelPcbs:[],toDelCBBs:[],boards:[],isDelInstance:!1,canDeleteSymbolTitle:[],unDeleteSymbolTitle:[],exceptDevices:c,justCheck:r,symbolData:t},S=(await C.messageBus.rpcCall($e.SCHEMATIC.GET_UUID_BY_NAME,[t.title,C.currentProject.projectId])).message,T=(await C.messageBus.rpcCall($e.PCB.GET_BY_TITLE,[t.title,C.currentProject.projectId])).message;h.push(`<span style="color: #1890ff;">${t.display_title}</span>`),f.push({display_title:t.display_title}),S&&x.toDelSchs.push({sch:S,displayTitle:t.display_title}),T!=null&&T.uuid&&x.toDelPcbs.push({pcb:T.uuid,displayTitle:T.display_title}),w.CBB.push({symbolUuid:t.uuid,displayTitle:t.display_title,lowerTitle:t.title,canDelete:!0,sch:S,pcb:(T==null?void 0:T.uuid)||""}),ii("sch_delete",x)}else C.messageBus.publish("projectLibRemove",{data:t,showConfirmDlg:o,justCheck:r,exceptDevices:c,tableType:e})}else C.messageBus.publish("projectLibRemove",{data:t,showConfirmDlg:o,justCheck:r,exceptDevices:c,tableType:e});else m=!1;if(m||r)return!1;if(o)Yq({tableType:e,rowData:[t],names:[t.display_title],libType:i?Yt.PROJECT:Yt.PERSONAL,res:{operationType:"batchDeleteConfirm",userId:C.loginedUserInfo.uuid},isProjectLib:i,path:n,origin:d});else return await p({isDelProjectSymbols:a,isDelProjectFootPrints:s,isDelProjectModel3Ds:l}),!0}function Yve(t,e,i){if(t.docType===b0e){let o=e?null:t.project_uuid,r=t.display_title,n=t.title;eHt(e,o,n,r,t,i)}else Wve(e,t,i)}var iTt;async function eHt(t,e,i,o,r,n){var a,s,l,c,d;if(n&&(n!=null&&n.rowDataArr)&&n.rowDataArr.length>1){XVt(t,n.rowDataArr);return}if(r)if(t){let u={};u.isProjectLibrary=t,u.blockSymbol={title:i,displayTitle:o,uuid:r.uuid,custom_tags:(ue.parseJSON(r.custom_tags)||[]).join(":"),description:r.description},await ii("cbb_save_as_cloud",u)}else{let u;r.tags&&((a=r.tags.child_tag)!=null&&a.uuid?u={name:`${r.tags.parent_tag.name}:${(s=r.tags.child_tag)==null?void 0:s.name}`,uuid:`${r.tags.parent_tag.uuid}:${(l=r.tags.child_tag)==null?void 0:l.uuid}`}:u={name:(c=r.tags.parent_tag)==null?void 0:c.name,uuid:(d=r.tags.parent_tag)==null?void 0:d.uuid}),A3({dlgType:"save_as",dlgTitle:"Save as...",projectName:o,tags:u,description:r.description}),iTt={isProjectLibrary:t,id:e,title:i}}}async function tHt(t,e){let i=yr(t),o=Tr.classification.uuid;switch(Je&&o!=="project"&&(i=o),t.docType){case b0e:{let r=e?null:t.project_uuid,n=t.title;if(e){let a={};a.isProjectLibrary=e,a.blockSymbol={title:n,uuid:t.uuid},a.fromLibUuid=t.fromLibUuid,await ii("cbb_save_as_local",a)}else{let a=e?C.currentProject.projectId:r,s=C.loginedUserInfo,l=e?{uuid:a,title:n,modifier:s}:{uuid:r};await C.messageBus.rpcCall(qr.DOWNLOAD_CBB,{uuid:a,fromLibUuid:t.fromLibUuid,...l})}break}case ve.FOOTPRINT:{await D0e(t.uuid,i);break}case ve.DEVICE:{await COe(t.uuid,i);break}default:{await v0e(t.uuid,i);break}}}async function xMe(t,{isProjectLib:e,symbolData:i,modifyType:o,projectLibOrigin:r}){var g,b,y,w;if(t.id=t.uuid,e&&(t.isProjectLib=!0),!t.id)return;let n=t.docType||t.doctype;if(n===ve.PRJ)return;t.description=ue.htmlDecode(t.description);let a=t.categoryTabType||XPe[Tr.tabType],s=t.treeNodeType,{tagsStr:l,tagsId:c}=(()=>{let x="",S="",T=t.custom_tags&&t.custom_tags!==""&&JSON.parse(t.custom_tags);if(t.isProjectLib&&T&&T[0]){let M=[];M.push(me.i18n(T[0])),T[1]&&M.push(me.i18n(T[1])),x=M.join(":")}else if(t.tags&&!Array.isArray(t.tags)){let M=[],I=[];it(t.tags,(A,D,E)=>{D.uuid&&(A==="parent_tag"?(M.unshift(ue.htmlDecode(D.name)),I.unshift(D.uuid)):(M.push(ue.htmlDecode(D.name)),I.push(D.uuid)))}),x=M.join(":"),S=I.join(":")}return{tagsStr:x,tagsId:S}})();async function d(){var x,S;if(t.docType===ve.BLOCK_SYMBOL){let T=t.isProjectLib?C.currentProject.projectId:((x=t.schematic)==null?void 0:x.project_uuid)||t.project_uuid,{message:M}=await C.messageBus.rpcCall($e.SCHEMATIC.GET_NAME_BY_UUID,[t.title,C.currentProject.projectId]),I=t.isProjectLib?M:(S=t.schematic)==null?void 0:S.uuid;return{project_uuid:T,schematic_uuid:I}}return null}async function u(){var x,S;return t.isProjectLib?(x=(await C.messageBus.rpcCall($e.PROJECT.GET,[C.currentProject.projectId])).message.owner)==null?void 0:x.uuid:(S=t.owner)==null?void 0:S.uuid}let[p,m]=await Promise.all([d(),u()]),h={uuid:t.id,docType:n,tabType:a,treeNodeType:s,owner:m,dataStr:t.dataStr,path:t.libPath||t.path,oldTitle:t.display_title||t.title||""},f={title:{isShow:Kr(o)?!0:o==="modify_title",value:t.display_title||t.title,oldValue:t.display_title||t.title},description:{isShow:Kr(o)?!0:o==="modify_description",value:(b=(g=t.attributes)==null?void 0:g.Description)!=null?b:t.description,oldValue:(w=(y=t.attributes)==null?void 0:y.Description)!=null?w:t.description},tags:{isShow:Kr(o)?Je?a!==XPe.cbb:!0:o==="modify_tags",id:c,str:l,manageCategory:{isProject:D5e()}},isProjectLib:t.isProjectLib,cbbSchematic:p,saveCommandParams:h,deviceSymbol:i,projectLibOrigin:r,path:Vm(),componentItem:t};bLo(f)}function iHt(t,e){DLo(t).then(function(i){e==="chooseDeviceDlg"?C.messageBus.publish("chooseDeviceDetailLibFav",{deviceId:t.uuid,status:!!i}):e==="chooseDialogCbb"?C.messageBus.publish("chooseCbbDetailFav",{uuid:t.uuid,status:!!i}):C.messageBus.publish("componentLibFav",{row:t,status:!!i})})}var fX=ue.debounce((t="Log")=>{switch(Zne(void 0,!0),t){case"Log":It.setTabHasMsg(co.id,"log",!1),hO("Log"),It.setActiveTab({containerId:co.id,tabId:"log"}),(0,XW.default)("#primaryLog").show().siblings().hide(),by({type:"Log",toEnd:!0});break;case"schDrcLog":It.setTabHasMsg(co.id,"schDrcResult",!1),hO("schDrcLog"),It.setActiveTab({containerId:co.id,tabId:"schDrcResult"}),(0,XW.default)("#schDrcPrimaryLog").show().siblings().hide(),by({type:"schDrcLog",toEnd:!0});break;case"panelDrcLog":It.setTabHasMsg(co.id,"panelDrcResult",!1),hO("panelDrcLog"),It.setActiveTab({containerId:co.id,tabId:"panelDrcResult"}),(0,XW.default)("#panelDrcPrimaryLog").show().siblings().hide(),by({type:"panelDrcLog",toEnd:!0});break;case"simErcLog":It.setTabHasMsg(co.id,"simErcResult",!1),hO("simErcLog"),It.setActiveTab({containerId:co.id,tabId:"simErcResult"}),(0,XW.default)("#simErcPrimaryLog").show().siblings().hide(),by({type:"simErcLog",toEnd:!0});break;default:break}},50),LLo=ue.debounce((t="log")=>{var o;if(((o=It.getActiveTab(co.id))==null?void 0:o.tabId)===t&&!(0,XW.default)("#layout_toggler_bottom").hasClass("close"))return;co.handleClick(t),i();function i(){switch(t){case"schDrcResult":{dt()!=ve.SCH;break}case"drcResult":{dt()!=ve.PCB;break}}}},50);async function Zne(t=0,e=!1){(0,XW.default)("#layout_toggler_bottom").hasClass("close")&&((0,XW.default)("#layout_toggler_bottom").data("allow-open",!0),C.openBottomPanel=!0,setTimeout(()=>{delete C.openBottomPanel},1500),await Pn("layout_toggler_bottom",!1,e),C.bottomBarStatus=t)}async function sy(t=0,e=!1){(0,XW.default)("#layout_toggler_bottom").hasClass("close")||(await Pn("layout_toggler_bottom",!0,e),C.bottomBarStatus=t)}function qq(t,e=sc().BASE_LIBRARY||[],i="device"){let o=[];for(let r=0;r<e.length;r++){let n=e[r];Array.isArray(n.data)&&(o=o.concat(n.data))}for(let r=0;r<o.length;r++)if(o[r][i]===t.uuid)return!0;return!1}function yat(t){var o;if(!t||typeof t!="object")return"";let e="",i=(o=t==null?void 0:t.attributes)==null?void 0:o["Product Link"];return i||(Xr?(e=t.attributes["Supplier Part"],e&&e.toUpperCase().includes("C")?i=`https://so.szlcsc.com/global.html?c=&k=${e}`:(e=t.attributes["Manufacturer Part"]||t.title,i=`https://so.szlcsc.com/global.html?c=&k=${e}`)):Nt?(e=t.attributes["Supplier Part"],i=`https://www.jlcfa.com/search?q=${e}`):(e=t.attributes["Supplier Part"],e&&e.toUpperCase().includes("C")?i=`https://lcsc.com/eda_search?q=${e}&&type=1`:(e=t.attributes["Manufacturer Part"]||t.title,i=`https://lcsc.com/search?q=${e}`))),i}function oHt(t){var i;let e=(i=t==null?void 0:t.attributes)==null?void 0:i.Datasheet;return e||(e=yat(t)),e}var s$r=async(t,e,i,o)=>{try{if(o){let r=(await C.messageBus.rpcCall(Ei.PROJECT.STAR,{uuid:t,path:e})).message;if(!r||!r.success)return Ut({type:"error",message:r&&r.message||"Add favorite failed!"}),!1}else i?i===ve.FOOTPRINT?await Ze.starFootprint({isProject:!1,path:e,uuid:t}):await Ze.starSymbol({isProject:!1,path:e,uuid:t}):await Ze.starDevice({isProject:!1,path:e,uuid:t});return De({type:"success",msg:"Add favorite successfully!"}),!0}catch{return De({type:"error",msg:"Add favorite failed!"}),!1}},l$r=async(t,e,i,o)=>{try{if(o){let r=(await C.messageBus.rpcCall(Ei.PROJECT.UNSTAR,{uuid:t,path:e})).message;if(!r||!r.success)return Ut({type:"error",message:r&&r.message||"Remove favorite failed!"}),!1}else i?i===ve.FOOTPRINT?await Ze.unstarFootprint({isProject:!1,path:e,uuid:t}):await Ze.unstarSymbol({isProject:!1,path:e,uuid:t}):await Ze.unstarDevice({isProject:!1,path:e,uuid:t});return De({type:"success",msg:"Remove favorite successully!",timer:1}),!1}catch{return De({type:"error",msg:"Remove favorite failed!",timer:1}),!1}},rHt=async(t,e)=>{await Ro(t,async(i,o)=>{var c,d;if(!o||!o.uuid)return;let r=(o==null?void 0:o.path)||((c=o==null?void 0:o.ownerInfo)==null?void 0:c.uuid)||((d=o==null?void 0:o.owner)==null?void 0:d.uuid)||o.owner_uuid,n=!!(o!=null&&o.cbb_project),a=o.uuid,s=o==null?void 0:o.docType,l;o.isFavorite?l=await l$r(a,r,s,n):l=await s$r(a,r,s,n),e==="chooseDeviceDlg"?C.messageBus.publish("chooseDeviceDetailLibFav",{deviceId:a,status:!!l}):e==="chooseDialogCbb"?C.messageBus.publish("chooseCbbDetailFav",{uuid:a,status:!!l}):C.messageBus.publish("componentLibFav",{row:o,status:!!l})})},TMe=async(t,e,i,o)=>{let r=[],n=[],a=[],s=t.map(async l=>{if(e===Tt.CBB){let c=e===Tt.CBB&&!i?l.display_title.title:l.display_title,d=[];if(C.currentProject.projectId&&(d=await Cr("getReferenceCbbByUuid",{...l,project_detail:null})),d.length<1){let u,p;C.currentProject.projectId&&(u=await Cr($e.SCHEMATIC.GET_UUID_BY_NAME,[c,C.currentProject.projectId]),p=await Cr($e.PCB.GET_BY_TITLE,[c,C.currentProject.projectId])),u&&n.push({schematicUuid:u,disPlayTitle:c}),p&&a.push({pcbUuid:p.uuid,disPlayTitle:c}),r.push(c)}else{let u="error",p=`
					${Ti("Delete Symbol")}
					${c}
					${Ti("failed")}.
					${Ti("Found existing component(s) referenced by this symbol")}: 
				`,m=d.map(h=>{let{sheetId:f,data:{symbolId:g,attrs:{Designator:b},displayId:y,displaySymbolName:w}}=h,x=b?`${b}(${w||y})`:w||y;return tw({text:x,attr:{id:g,sheet:f}})}).join(";");C.windowBridge.publish("ui/toastMsg",{type:u,msg:[{value:"Delete Symbol {name} failed!",options:{name:c}},"Found existing component(s) referenced by this symbol"],bottomBarMsg:{type:u,msg:[p,m,"."]}},ko())}}else r.push(l.display_title)});await Promise.all(s),Yq({tableType:e,rowData:t,names:r,cbb:{schs:n,pcbs:a},libType:o,res:{operationType:"batchDeleteConfirm",userId:C.loginedUserInfo.uuid},isProjectLib:i})},c$r=(t,e,i,o)=>{let r=0;if(t.map(s=>{r+=s.data.length}),r>=200){De({type:"error",msg:"Add common library failed! The devices limitation is 200"});return}let n=wat(e,i,o,r),a=!1;for(let s=0;s<t.length;s++){let l=t[s];if(l.name===n.category){l.data.push(n),a=!0;break}}a||t.push({name:n.category,data:[n]}),De({type:"success",msg:"Add into Common Library Success"})},d$r=(t,e,i)=>{for(let o=0;o<t.length;o++){let r=t[o];if(r.name===i){for(let n=0;n<r.data.length;n++)if(r.data[n].device===e.uuid){r.data.splice(n,1);break}r.data.length==0&&t.splice(o,1);break}}De({type:"success",msg:"Remove from Common Library Success"})},u$r=async(t,e,i,o)=>{await Ro(t,async(r,n)=>{let a=Wi("BASE_LIBRARY",void 0,{defaultValue:[]}),s=fP(n.tags);n.isBasicLibrary=qq(n);let l="add";n.isBasicLibrary?(d$r(a,n,s),l="remove"):c$r(a,n,e,s),i==="chooseDeviceDlg"&&o(n.uuid,l==="add"?"addBaseLibrary":"removeBaseLibrary"),C.messageBus.publish("updateBaseLibrary",{deviceId:n.uuid,path:e,operate:l}),await hc.updateDeviceLibraryDataAlone(!1,!0)}),await mt.savePreference("commSystemSetting",sc())},Vne=(t,e,i,o)=>{var u,p,m,h;if(t.length<=0){De({type:"info",msg:"Nothing selected",timer:3});return}let r=[],n=[],a=XPe[e];t.forEach(f=>{n.push(e===Tt.CBB&&!i?f.display_title.title:f.display_title),r.push(f.uuid)});let s,l;e===Tt.DEVICE?(s=Tt.DEVICE,Je||(l=(p=(u=t[0])==null?void 0:u.ownerInfo)==null?void 0:p.uuid)):(s=t[0].docType,Je||(l=(h=(m=t[0])==null?void 0:m.owner)==null?void 0:h.uuid));let c=[...t],d={isProjectLib:i,title:n.join(";"),saveCommandParams:{tabType:a,docType:s,owner:l,infos:c,oldTitle:""},tags:{id:"",str:"",manageCategory:{isProject:D5e()}},path:o};SLo(d)};var Kee=L(Se());var aHt=L(ALo());var Ew=L(z()),{locals:p$r}=aHt.default,{cbb_project:m$r,project:h$r,category:f$r,description:g$r,title:nHt,manage_category:b$r}=p$r,NLo=async t=>{let e=Rr,i=r=>{t={...t,...r}},o="modify_info";le.open({id:o,title:e("Modify info"),width:626,hasBorder:!0,children:(0,Ew.jsx)(y$r,{...t,setProps:i}),footer:!0,esc:!0,onOk:()=>{let r=t.name.trim();if(r.length<=0||r.length>128){Ut({type:"alert",message:"The title length must be between 1~128 characters!"});return}t.onConfirm(t),le.close(o)},onCancel:()=>{le.close(o)}})},y$r=t=>{let{path:e,name:i,tags:o,description:r,setProps:n,isProjectLib:a,data:s}=t,[l,c]=(0,Kee.useState)(t),[d,u]=(0,Kee.useState)(o),p=(0,Kee.useRef)(null);(0,Kee.useEffect)(()=>{u({...o})},[o]);let m=J();(0,Kee.useEffect)(()=>{p.current.focus(),p.current.select()},[]);let h=()=>{Qc({menuSelected:"CATEGORY",isFromProject:a,initCategoryActiveTab:vv(Yi.CBB),initCategoryActiveLibId:s.owner.uuid})};return(0,Ew.jsxs)(Ew.Fragment,{children:[(0,Ew.jsx)("style",{children:aHt.default.toString()}),(0,Ew.jsxs)("div",{className:m$r,children:[(0,Ew.jsxs)("div",{className:h$r,children:[(0,Ew.jsx)("span",{className:nHt,children:m("Project")}),(0,Ew.jsx)(Kt,{ref:p,defaultValue:i,onChange:f=>{let g={...l,name:f};c(g),n(g)},enterTriggerBlur:!0,style:{height:"24px",width:"70%"}})]}),Je?"":(0,Ew.jsxs)("div",{className:f$r,children:[(0,Ew.jsx)("span",{className:nHt,children:m("Category")}),(0,Ew.jsx)(ea,{value:fP(d),style:{height:"24px",width:"70%"},onClearClick:()=>{let f={...l,tags:{}};c(f),n(f),u({})},openDialog:async()=>{C1({docType:Yi.CBB,userId:s.owner.uuid,path:e,onConfirm:f=>{let g={parent_tag:{uuid:f.id,name:f.name,name_cn:f.name}};f.parentId&&(g.parent_tag={uuid:f.parentId,name:f.parentName,name_cn:f.parentName},g.child_tag={uuid:f.id,name:f.name,name_cn:f.name});let b={...l,tags:g};c(b),n(b),u({...g})},isProjectLib:a})}}),(0,Ew.jsx)("a",{href:"#","data-test":"Manage Categories",className:b$r,"data-click":"manageCategory",onClick:h,children:m("Manage Categories")})]}),(0,Ew.jsxs)("div",{className:g$r,children:[(0,Ew.jsx)("span",{className:nHt,children:m("Description")}),(0,Ew.jsx)(Eme,{value:r,enterTriggerBlur:!0,style:{width:"70%",height:"64px",margin:" 8px 0",padding:"4px 8px"},onBlur:f=>{let g={...l,description:f.target.value};c(g),n(g)}})]})]})]})};async function SMe(t,e,i,o,r,n,a){let{uuid:s,projectPath:l,path:c,dirPath:d,name:u,tags:p,description:m,project_detail:h,schUuidToCbbSymbolDetailMap:f}=e;if(a!=null&&(a=ue.deepClone(a)),i)afe(t,e,i,Tt.CBB,c,n,a);else switch(t){case"refresh":{o();break}case"openCbbProject":{Rv(s);break}case"viewCbbDetail":{MV(l);break}case"modifyCbbInfo":{NLo({path:c,name:u,tags:p,description:m,isProjectLib:i,data:e,onConfirm:async g=>{let{name:b,tags:y,description:w}=g,x;if(Je){let S={uuid:s,path:s,name:b,tags:Nv(y),content:w,description:w};x=(await C.messageBus.rpcCall(Ei.PROJECT.UPDATE,S)).message}else{let S={uuid:s,path:c,name:b,tags:Nv(y),content:w,description:w};x=(await C.messageBus.rpcCall(Ei.PROJECT.UPDATE,S)).message,x.success&&x.result&&p4(x.result.uuid,x.result.uuid,4,2)}x.success?o():C.windowBridge.publish("ui/toastMsg",{type:"error",msg:x.message,timer:3},ko())}});break}case"libDelete":{a&&a.length>1?await TMe(a,Tt.CBB,i,n):NQe({type:me.i18n("project"),title:u,onClick:async()=>{let{message:g}=await C.messageBus.rpcCall(Ei.PROJECT.DELETE,{uuid:s,path:c});g.success?(De({type:"success",msg:"Delete successfully!",timer:3}),p4(s,c,4,3),r==="chooseDeviceDialogContainer"?C.messageBus.publish("deleteDataBottomCb",{path:c,uuid:s}):C.messageBus.publish("deleteDataChooseDeviceDlgCb",{path:c,uuid:s,type:"cbb"})):De({type:"error",msg:g.message||"delete failed!",timer:3}),o()}});break}case"openDirectory":{let g=d;if(!g){let b=c.lastIndexOf("\\");g=c.slice(0,b)}Ol.get(C.apis.client.showItemInFolder,{path:g});break}case"saveAs":{await eHt(!1,s,u,u,{title:u,tags:p,description:m},{rowDataArr:a});break}case"saveAsLocal":{let g={projectIds:null,projectTitles:null,isProjectLibrary:null,fromLibUuid:null};if(a&&a.length>1)if(i)await rZ(a);else{let b=[],y=[];a.forEach(w=>{b.push(w.uuid),y.push(w.name||"")}),g.projectIds=b,g.projectTitles=y,g.isProjectLibrary=!1,g.fromLibUuid=c}else g.projectIds=[s],g.projectTitles=[u],g.isProjectLibrary=!1,g.fromLibUuid=c;await ii("cbb_save_as_local",g);break}case"addOrRemoveFavorite":{let g=r==="chooseDeviceDialogContainer"?"chooseDialogCbb":"bottom";a&&a.length>1?rHt(a,g):iHt(e,g);break}case"editSymbol":{let{tags:g,uuid:b}=h,{uuid:y}=f[s];await Vj(y,!0,null,g,b,Tt.CBB,c),r==="chooseDeviceDialogContainer"&&le.hide(r);break}case"editCbbSymbol":{let g=h.uuid,b=C.currentProject.projectId===g;if(!h.cbb_project||b)return SMe("editSymbol",e,i,o,r);let{uuid:y}=f[s];window.open(`${location.origin}/editor#id=${g},tab=*!${Fp(y,g)}`);break}case"editSchematic":{let g=h.schs.find(b=>b.schematic_uuid===s);Jq(g,g.project_uuid===C.currentProject.projectId),r==="chooseDeviceDialogContainer"&&le.hide(r);break}case"editPcb":{let g=h.pcb.find(b=>b.uuid===s);Jq(g,g.project_uuid===C.currentProject.projectId,!0),r==="chooseDeviceDialogContainer"&&le.hide(r);break}case"modifyCategory":{a&&a.length>0&&Vne(a,Tt.CBB,i,c);break}}}async function sHt(t,e,i,o,r,n,a,s){let l="device",c=a;(a==="recent"||!c)&&(c=e&&(e.path||e.project_uuid)),s.length>0&&(s=ue.deepClone(s)),$Vt({cmd:t,rowData:e,isProjectLib:i,libUuid:a,path:c,tableType:l,origin:"chooseDeviceDlg",refresh:o,refreshDeviceListRow:r,closeDlg:n,rowDataArr:s})}var Ile=class{static async getDeviceList(e,i=50,o,r,n,a,s){let l=Mt(String(Math.random()));o(l);let c=await _re({page:e,pageSize:i,searchValue:s,tabType:"device",tag:a,attributes:n},r==="sim"),d=[],u=0;return c.success&&(d=c.result.lists,u=c.result.count,d.map((p,m)=>{var g;let h=typeof p.updated_at=="string"?p.updated_at:typeof p.updated_at=="number"?Rs(new Date(p.updated_at)):"",f=typeof p.updateTime=="string"?p.updateTime:typeof p.updateTime=="number"?Rs(new Date(+p.updateTime*1e3)):"";return{...p,$id:String(m),numberIndex:m+1,ownerBelong:((g=p.owner)==null?void 0:g.nickname)||"",updateTimeString:h||f}})),{projectLibDeviceList:d,ListsCount:u,requestId:l}}static filterProjectLibCategory(e){let i=[],o=[],r=[],n={};for(let a in e){let s=e[a],l=[];for(let c in s.children){let d=s.children[c];l.push({id:d.uuid,title:d.name,titleAdditional:d.name_cn,parentId:s.uuid}),n[d.uuid]=s.uuid}i.push({id:s.uuid,title:s.name,titleAdditional:s.name_cn,children:l})}return i.unshift({title:_e.CATEGORY_ITEM_ALL_TITLE,id:_e.CATEGORY_ITEM_ALL_VALUE,titleAdditional:me.i18n(_e.CATEGORY_ITEM_ALL_TITLE)}),o.push(_e.CATEGORY_ITEM_ALL_VALUE),{treeData:i,selectedIds:o,categoryIds:r,childCategory2ParentCategoryMap:n,sourceCategoryList:[]}}static filtersProjectDeviceBySim(e){let i={};dt()==ve.SIMULIDE?i["Sim Model"]="":i["NGSpice Model"]="";let o=[];for(let r=0;r<(e==null?void 0:e.length);r++){let n=e[r];Object.entries(i).every(s=>n.attributes[s[0]])&&o.push(n)}return o}static async getCategory(e,i){let o=Mt(String(Math.random())),r=C.globalVariableCookieData||{};if(!(r.easyeda_user||r.userInfo))return new Promise((s,l)=>{s({code:0,success:!0,result:{},requestId:o})});i(o);let{message:a}=await C.messageBus.rpcCall($e.DEVICE.WITH_ORIGINS,[C.currentProject.projectId]);return a!=null&&a.length?(e==="sim"&&(a=this.filtersProjectDeviceBySim(a)),a=tI(a),new Promise((s,l)=>{s({code:0,success:!0,result:this.filterProjectLibCategory(a),requestId:o})})):new Promise((s,l)=>{s({code:0,success:!0,result:this.filterProjectLibCategory([]),requestId:o})})}};var kLo=L(Vi());var uF=class{static getSimFilterAttr(e,i){return e==="sim"?i===se.NGSPICE?{"NGSpice Model":1}:{"Sim Model":1}:{}}static adjustDeviceData(e,i,o){var n,a,s,l,c,d,u;let r=null;return!Ko&&o===bo.getInstance().usedId?e.attributes=JSON.parse(JSON.stringify(e.attributes,function(p,m){return d5e(p)?"":m})):(n=e.attributes)!=null&&n["JLCPCB Part Class"]&&(e.attributes["JLCPCB Part Class"]=me.i18n(e.attributes["JLCPCB Part Class"])),r={...e,$id:String(i),numberIndex:i+1,modifier_name:((a=e.modifier)==null?void 0:a.nickname)||((s=e.modifier)==null?void 0:s.username)||"",ownerBelong:((l=e.owner)==null?void 0:l.nickname)||((c=e.owner)==null?void 0:c.username)||"",category:Aj(e,o==C.currentProject.projectId),updated_at:Rs(new Date(e.updateTime)),symbol_name:((d=e.symbol)==null?void 0:d.display_title)||"",footprint_name:((u=e.footprint)==null?void 0:u.display_title)||"",versionTimeString:e.version?ue.formatDate2(+e.version*1e3):""},r}static formateDeviceItem(e){let{symbol:i,footprint:o,attributes:r}=e,{symbol_info:n,footprint_info:a}=e;return i&&!n&&r.Symbol&&(n={path:e.path,uuid:r.Symbol,docType:e.symbol_type,...i},e.symbol_info=n),o&&!a&&r.Footprint&&(a={path:e.path,uuid:r.Footprint,docType:se.FOOTPRINT,...o},e.footprint_info=a),e}static formateDeviceList(e,i,o="detail"){return e.map((r,n)=>((o="grid")&&(r=this.adjustDeviceData(r,n,i)),this.formateDeviceItem(r)))}static async getDeviceList(e,i,o,r=50,n=[],a,s,l,c={},d="detail"){if(e==C.currentProject.projectId)return new Promise(async(h,f)=>{let{projectLibDeviceList:g,ListsCount:b,requestId:y}=await Ile.getDeviceList(o,r,a,l,this.getSimFilterAttr(l,dt()),n,null),w={uid:e,count:b,page:o,pageSize:r,totalPage:1,lists:this.formateDeviceList(g,e,d)};h({code:200,success:!0,requestId:y,result:w})});let u=Mt(String(Math.random()));a(u);let p={},m={isProject:i===C.currentProject.projectId,uid:e,path:i,page:o,pageSize:r,tags:n,query:p,withPackage:!0};(0,kLo.isEmptyObject)(c)||(p.attributes=c),s&&(p.symbol_type=h5t[s]),l==="sim"&&(p.symbol_type=void 0,dt()===se.NGSPICE?p.bindType=se.NGSPICE_MODEL:p.bindType=se.SIMULIDE_MODEL),n.includes("@Uncategorized")&&(p.tagNotExists=!0);try{let h=await Ze.getDeviceList(m);return h.lists=this.formateDeviceList(h.lists,e,d),{success:!0,requestId:u,code:0,result:h}}catch(h){return{success:!1,requestId:u,msg:h.message,code:-1,result:null}}}static filterComponentListBySearch(e,i,o,r,n){let{lists:a,facets:s}=i,l={},c={};Object.keys(s).forEach(u=>{if(u===bo.getInstance().usedFacetsKey){let p=Ft(o,"id",bo.getInstance().usedId);p.index>=0&&(l[p.data.id]=s[u],c[p.data.id]=a[u]);return}if(u===_e.USERLIB_ALIAS){let p=Ft(o,"id",C.loginedUserInfo.uuid);p.index>=0&&(l[p.data.id]=s[u],c[p.data.id]=a[u]);return}l[u]=s[u],c[u]=a[u]}),n(l);let d=c[e]||[];return d=this.formateDeviceList(d,e,r),{...i,lists:{[e]:d},facets:l}}static filterComponentListBySearch1(e,i,o,r,n){let{lists:a,facets:s}=i,l={};Object.keys(s).forEach(d=>{if(d===bo.getInstance().usedFacetsKey){let u=Ft(o,"id",bo.getInstance().usedId);u.index>=0&&(l[u.data.id]=s[d]);return}if(d===_e.USERLIB_ALIAS){let u=Ft(o,"id",C.loginedUserInfo.uuid);u.index>=0&&(l[u.data.id]=s[d]);return}l[d]=s[d]}),n(l);let c=a||[];return c=this.formateDeviceList(c,e,r),{...i,lists:{[e]:c},facets:l}}static async getSearchDeviceList(e,i,o,r,n=50,a=[],s,l,c,d,u,p,m="detail"){if(C.extendLibStore.manager.hasLib(e)){let y=await uGi({libUuid:e,requestBody:{page:r,pageSize:n,query:{wd:i}}},w=>{s(w)});return y.result=this.filterComponentListBySearch(e,y.result,d,m,u),y}let h=dt();if(e==C.currentProject.projectId)return new Promise(async(y,w)=>{let{projectLibDeviceList:x,ListsCount:S,requestId:T}=await Ile.getDeviceList(r,n,s,c,this.getSimFilterAttr(c,h),a,i),M=await $q({uid:e,pageSize:n,page:r,wd:i},S),I={uid:e,wd:i,count:S,page:r,pageSize:n,totalPage:1,lists:{[e]:x},facets:M};y({code:200,success:!0,requestId:T,result:this.filterComponentListBySearch(e,I,d,m,u)})});let f=Mt(String(Math.random()));s(f);let g;g={isProject:o===C.currentProject.projectId,uid:e,pageSize:n,page:r,wd:i,path:o,tags:a,query:{attributes:p},withPackage:!0},l&&(g.query.symbol_type=h5t[l]),c==="sim"&&(g.query.symbol_type=void 0,dt()===se.NGSPICE?g.query.bindType=se.NGSPICE_MODEL:g.query.bindType=se.SIMULIDE_MODEL);let b=await BEt(i);try{let y=await Ze.getDeviceSearchList(g);y.facets[C.currentProject.projectId]=b,C.isOpenInternalLib&&(y.facets[_e.INTERNAL_LIB_ALIAS]=await lfe(i));for(let w of C.extendLibStore.manager.getLibs())w.isVisible({isSearch:!0,tabName:Tt.DEVICE,scene:x9.DIALOG})&&(y.facets[w.id]=await w.getAmountByWd(Tt.DEVICE,i));return{success:!0,requestId:f,code:0,...y,result:this.filterComponentListBySearch1(e,y,d,m,u)}}catch(y){return{success:!1,requestId:f,msg:y.message,code:-1,result:null}}}static getCategory(e,i,o,r){return new Promise(async(n,a)=>{let s=Mt();o(s);let l;if(e==="sim"&&(dt()===se.NGSPICE?l=[se.NGSPICE_MODEL]:l=[se.SIMULIDE_MODEL]),i==="star"){let c=await this.getDeviceList(i,i,dm.StarCategoryPageNumber,dm.StarCategoryPageSize,[],o,r,e),d=dm.getStarCategoryData(c.result.lists);n({code:200,success:!0,result:d,requestId:c.requestId})}else n({...await sn.fetchCategoryList(i,i,[Yi.DEVICE],l,!0),requestId:s})})}};var Lle=class{static getDeviceList(e,i=50,o=[],r=!0,n,a,s){let l=Mt(String(Math.random()));s(l);let c=`${C.apis.eda.productList}?`,d={catalog:o[0],currPage:e.toString(),pageSize:i.toString()},u=r?{needAggs:"true"}:{};return new Promise((p,m)=>{fetch(c+new URLSearchParams({...d,...u,...n,...a}),{method:"GET"}).then(async h=>{let f=await h.json();if(f.result){p({...f,result:f.result,requestId:l});return}p({...f,requestId:l,msg:f.result.toString()})}).catch(async h=>{if(h.status===200){let f=await h.json();p({...f,requestId:l,msg:f.msg});return}p({code:-1,success:!1,result:null,requestId:l,msg:"ChooseDevice.Store.FetchLcscComponentList RemoteFetch Error."})})})}static getSearchDeviceList(e,i,o,r=50,n=!0,a,s,l){let c=Mt(String(Math.random()));return l(c),new Promise(async(d,u)=>{let p={keyword:i,currPage:o,pageSize:r,path:e,needAggs:n?!0:void 0,...a,...s},m={path:encodeURI(e)},h=await Vc({url:C.apis.eda.productSearch,data:p,headers:m});if(h.result){d({...h,result:h.result,requestId:c});return}d({...h,requestId:c,msg:h.msg})})}static filterLcscCategory(e){var a,s,l;let i=[],o=[],r=[];e.forEach(c=>{var u;let d=[];r.push(String(c.catalogId)),(u=c.sonList)!=null&&u.length&&c.sonList.forEach(p=>{d.push({id:p.catalogId,title:p.catalogNameEn,titleAdditional:p.catalogName,parentId:String(p.parentId)}),r.push(String(p.catalogId))}),i.push({id:c.catalogId,title:c.catalogNameEn,titleAdditional:c.catalogName,children:d})});let n="";return(s=(a=i[0])==null?void 0:a.children[0])!=null&&s.id?n=String(i[0].children[0].id):(l=i[0])!=null&&l.id&&(n=String(i[0].id)),o.push(n),{childCategory2ParentCategoryMap:{},sourceCategoryList:[],languageHashtable:{},treeData:i,selectedIds:o,categoryIds:r}}static getCategory(e,i){let o=Mt(String(Math.random()));i(o);let r=`${C.apis.eda.catalogTree}?path=${e}`;return new Promise((n,a)=>{fetch(r,{method:"GET"}).then(async s=>{let l=await s.json();n({...l,result:this.filterLcscCategory(l.result),requestId:o})}).catch(async s=>{if(s.status===200){let l=await s.json();n({...l,result:null,requestId:o});return}n({code:-1,success:!1,result:null,requestId:o,msg:"ChooseDevice.Store.FetchLcscCategory RemoteFetch Error."})})})}};var Zee=class{static getDeviceList(e,i=50,o=[],r,n,a,s="detail"){let l=Mt(String(Math.random()));return r(l),new Promise(async(c,d)=>{let u={wd:n||void 0,page:e,pageSize:i,tags:n?void 0:o.length?o:void 0,...a},p=await S0e(u).catch(m=>null);s==="grid"&&(p.lists=this.formateDeviceList(p.lists)),c({code:p?0:-1,result:p,requestId:l,success:!!p})})}static filterInternalCategory(e){let i=[],o=[],r=[],n={};return e.forEach(a=>{var l;r.push(a.id);let s=[];(l=a.children)!=null&&l.length&&a.children.forEach(c=>{r.push(c.id),n[c.id]=c.parentId,s.push({id:c.id,title:c.name,titleAdditional:c.name_cn,parentId:c.parentId})}),i.push({id:a.id,title:a.name,titleAdditional:a.name_cn,children:s})}),i.unshift({title:_e.CATEGORY_ITEM_ALL_TITLE,id:_e.CATEGORY_ITEM_ALL_VALUE,titleAdditional:me.i18n(_e.CATEGORY_ITEM_ALL_TITLE)}),o.push(_e.CATEGORY_ITEM_ALL_VALUE),{treeData:i,selectedIds:o,categoryIds:r,childCategory2ParentCategoryMap:n,languageHashtable:{},sourceCategoryList:[]}}static getCategory(e){let i=Mt(String(Math.random()));return e(i),new Promise(async(o,r)=>{let n=await uOe().catch(a=>null);o({code:n?0:-1,success:!!n,result:n?this.filterInternalCategory(n):null,requestId:i,msg:n?null:"ChooseDevice.Store.FetchInternalCategory RemoteFetch Error."})})}static formateDeviceList(e){return e.map((i,o)=>this.adjustDeviceData(i,o))}static adjustDeviceData(e,i){var o,r,n,a,s,l,c;return{...e,$id:String(i),numberIndex:i+1,modifier_name:((o=e.modifier)==null?void 0:o.nickname)||((r=e.modifier)==null?void 0:r.username)||"",ownerBelong:((n=e.owner)==null?void 0:n.nickname)||((a=e.owner)==null?void 0:a.username)||"",category:Aj(e,!1),updated_at:Rs(new Date(e.updateTime)),symbol_name:((s=e.symbol)==null?void 0:s.display_title)||"",footprint_name:((l=e.footprint)==null?void 0:l.display_title)||"",versionTimeString:e.version?ue.formatDate2(+e.version*1e3):"",Price:((c=e.prices)==null?void 0:c[0].price)||"",Stock:e.stock||""}}};var $be=class{static filterOshwHubCategory(e){let i=[],o=[],r=[];return e.forEach(n=>{var s;r.push(n.uuid);let a=[];(s=n.children)!=null&&s.length&&n.children.forEach(l=>{a.push({id:l.uuid,title:l.name,parentId:l.uuid})}),i.push({id:n.uuid,title:n.name,children:a,disabledSelect:!0})}),i.unshift({title:_e.CATEGORY_ITEM_ALL_TITLE,id:_e.CATEGORY_ITEM_ALL_VALUE,titleAdditional:me.i18n(_e.CATEGORY_ITEM_ALL_TITLE)}),o.push(_e.CATEGORY_ITEM_ALL_VALUE),{treeData:i,selectedIds:o,categoryIds:r,languageHashtable:{},childCategory2ParentCategoryMap:{},sourceCategoryList:[]}}static getOshwhubLibCategory(e){let i=Mt(String(Math.random()));return e(i),new Promise((o,r)=>{fetch(C.apis.oshwhub.getCbbCategory,{method:"GET"}).then(async n=>{let a=await n.json();o({...a,result:this.filterOshwHubCategory(a.result),requestId:i})}).catch(async n=>{if(n.status===200){let a=await n.json();o({...a,result:null,requestId:i});return}o({code:-1,success:!1,result:null,requestId:i,msg:"ChooseDevice.Store.FetchOshwhubCategory RemoteFetch Error."})})})}static filterBlockSymbolProjectLibCategory(e){let i=[],o=[],r=[],n={};for(let a in e){let s=e[a],l=[];for(let c in s.children){let d=s.children[c];l.push({id:d.uuid,title:d.name,titleAdditional:d.name_cn,parentId:s.uuid}),n[d.uuid]=s.uuid}i.push({id:s.uuid,title:s.name,titleAdditional:s.name_cn,children:l})}return i.unshift({title:_e.CATEGORY_ITEM_ALL_TITLE,id:_e.CATEGORY_ITEM_ALL_VALUE,titleAdditional:me.i18n(_e.CATEGORY_ITEM_ALL_TITLE)}),o.push(_e.CATEGORY_ITEM_ALL_VALUE),{treeData:i,selectedIds:o,categoryIds:r,childCategory2ParentCategoryMap:n,sourceCategoryList:[],languageHashtable:{}}}static getBlockSymbolProjectLibCategory(e){let i=Mt(String(Math.random()));e(i);let o=C.globalVariableCookieData||{},r=o.easyeda_user||o.userInfo;return new Promise(async(n,a)=>{r||n({code:0,success:!0,result:this.filterBlockSymbolProjectLibCategory({}),requestId:i}),C.messageBus.rpcCall($e.SYMBOL.WITH_ORIGINS,[!0,C.currentProject.projectId]).then(({message:s})=>{s=tI(s),n({code:0,success:!0,result:this.filterBlockSymbolProjectLibCategory(s),requestId:i})},()=>{n({code:0,success:!0,result:this.filterBlockSymbolProjectLibCategory([]),requestId:i})}).catch(s=>{console.error(s),n({code:-1,success:!1,result:null,msg:"ChooseDevice.Store.FetchDeviceProjectLib RemoteFetch Error."})})})}static getCategory(e,i){return new Promise(async(o,r)=>{let n=Mt();if(i(n),e==="star"){let a=await cO(dm.StarCategoryPageNumber,dm.StarCategoryPageSize,[],n,"",!1,e),s=dm.getStarCategoryData(a.lists);o({code:200,success:!0,result:s,requestId:n})}o({...await sn.fetchCategoryList(e,e,[1],void 0,!0),requestId:n})})}};var xat=class extends L3{constructor(){super(),this.requestTypes=["3"]}setRequestId(e){this.categoryRequestId=e}async getCategoryData(e,i,o,r,n){let a=Object.create({});switch(e){case"lcsc":{a=await Lle.getCategory(i,this.setRequestId.bind(this));break}case"eda":{this.requestTypes=["3"],i===C.currentProject.projectId?a=await Ile.getCategory(r,this.setRequestId.bind(this)):i===_e.LIB_INTERNAL_KEY?a=await Zee.getCategory(this.setRequestId.bind(this)):a=await uF.getCategory(r,i,this.setRequestId.bind(this),n);break}case"block_symbol":{this.requestTypes=["1"],i==="oshwhub"?a=await $be.getOshwhubLibCategory(this.setRequestId.bind(this)):i===C.currentProject.projectId?a=await $be.getBlockSymbolProjectLibCategory(this.setRequestId.bind(this)):Je||(a=await $be.getCategory(i,this.setRequestId.bind(this)));break}}if(this.categoryRequestId===a.requestId&&(Wh(a)||console.error(a),a.result)){let s=o.cacheLibList.find(l=>l.id===i).key;this.renderCategoryList=ue.deepClone(a.result.treeData),!["system","favorite","public",Yt.INTERNAL,Yt.EXTEND].includes(s)&&!C.extendLibStore.manager.hasLib(s)&&this.renderCategoryList.splice(1,0,{id:"@Uncategorized",children:[],parentId:"",title:"Uncategorized",titleAdditional:me.i18n("Uncategorized")}),this.renderSelectedIds=a.result.selectedIds,this.categoryIds=a.result.categoryIds,this.childCategory2ParentCategoryMap=a.result.childCategory2ParentCategoryMap||{}}}filterBlockSymbolProjectLibCategory(e){let i=[],o=[],r=[],n={};for(let a in e){let s=e[a],l=[];for(let c in s.children){let d=s.children[c];l.push({id:d.uuid,title:d.name,titleAdditional:d.name_cn,parentId:s.uuid}),n[d.uuid]=s.uuid}i.push({id:s.uuid,title:s.name,titleAdditional:s.name_cn,children:l})}return i.unshift({title:_e.CATEGORY_ITEM_ALL_TITLE,id:_e.CATEGORY_ITEM_ALL_VALUE,titleAdditional:me.i18n(_e.CATEGORY_ITEM_ALL_TITLE)}),o.push(_e.CATEGORY_ITEM_ALL_VALUE),{treeData:i,selectedIds:o,categoryIds:r,childCategory2ParentCategoryMap:n,sourceCategoryList:[],languageHashtable:{}}}async fetchBlockSymbolProjectLib(){let e=Mt(String(Math.random()));this.categoryRequestId=e;let i=C.globalVariableCookieData||{},o=i.easyeda_user||i.userInfo;return new Promise(async(r,n)=>{o||r({code:0,success:!0,result:this.filterBlockSymbolProjectLibCategory({}),requestId:e}),C.messageBus.rpcCall($e.SYMBOL.WITH_ORIGINS,[!0,C.currentProject.projectId]).then(({message:a})=>{a=tI(a),r({code:0,success:!0,result:this.filterBlockSymbolProjectLibCategory(a),requestId:e})},()=>{r({code:0,success:!0,result:this.filterBlockSymbolProjectLibCategory([]),requestId:e})}).catch(a=>{console.error(a),r({code:-1,success:!1,result:null,msg:"ChooseDevice.Store.FetchDeviceProjectLib RemoteFetch Error."})})})}initSelectToDefault(e,i){var o;if(!this.renderCategoryList[0]){console.error("Category data not exist");return}e==="lcsc"&&((o=this.renderCategoryList[0].children)!=null&&o.length)?this.renderSelectedIds=[String(this.renderCategoryList[0].children[0].id)]:i===_e.LIB_INTERNAL_KEY?this.renderSelectedIds=[this.renderCategoryList[0].id?String(this.renderCategoryList[0].id):""]:this.renderSelectedIds=[_e.CATEGORY_ITEM_ALL_VALUE]}exit(){this.baseExit(),this.requestTypes=["3"]}};async function Tat(t){return(await C.messageBus.rpcCall("isAddedToBasicLibrary",["device",t])).message}function vle(t,e){let i,o;return e?Xr?i=`https://item.szlcsc.com/${t.id}.html`:i=`https://www.lcsc.com${t.url}`:t.attributes&&(t.attributes["Supplier Part"]&&t.attributes["Supplier Part"].indexOf("C")===0?(o=t.attributes["Supplier Part"],Xr?i=` https://so.szlcsc.com/global.html?c=&k=${o}`:i=` https://lcsc.com/eda_search?q=${o}&&type=1  `):(o=t.attributes["Manufacturer Part"]?t.attributes["Manufacturer Part"]:t.title,Xr?i=`https://so.szlcsc.com/global.html?c=&k=${o}`:i=`https://lcsc.com/search?q=${o}`)),i}function Dle(t,e){var o;let i="#!";return e?Xr?i=`https://list.szlcsc.com/brand/${t.brandId}.html`:i=`https://www.lcsc.com${t.mfrLink}`:(o=t.attributes)!=null&&o.Manufacturer&&(Xr?i=` https://so.szlcsc.com/global.html?c=&k=${t.attributes.Manufacturer}`:i=`https://lcsc.com/search?q=${t.attributes.Manufacturer}`),i}function Sat(t){let e=t.tags,i,o,r=me.curr==="zh-hans";return e!=null&&e.child_tag&&e.child_tag.length!==0?(i=r?e.child_tag.name_cn:e.child_tag.name,o=e.child_tag.uuid):e!=null&&e.parent_tag&&e.parent_tag.length!==0&&(i=r?e.parent_tag.name_cn:e.parent_tag.name,o=e.parent_tag.uuid),{name:i,id:o}}function Ele(t,e){var r,n,a,s;let i="",o;return e?o=t.model||t.name:o=((r=t.attribute)==null?void 0:r["Manufacturer Part"])||t.title,e&&t.pdfFileUrl?/^http/.test(t.pdfFileUrl)?i=t.pdfFileUrl:i=`https://atta.szlcsc.com${t.pdfFileUrl}`:e&&t.url?i=`https://lcsc.com${t.url}`:!e&&((n=t.attributes)!=null&&n.Datasheet)?i=(a=t.attributes)==null?void 0:a.Datasheet:!e&&((s=t.attributes)!=null&&s.link)?i=t.attributes.link:Xr?i=`https://so.szlcsc.com/global.html?c=&k=${o}`:i=`https://lcsc.com/search?q=${o}`,i}function Ale(t,e){var o,r,n,a,s,l;let i="";return e&&t.image?Xr||Nt?i=t.image.split("<$>")[0]:i=((o=t.image[0])==null?void 0:o["224x224"])||((r=t.image[0])==null?void 0:r["96x96"]):!e&&((n=t==null?void 0:t.images)!=null&&n[0])?i=t.images[0]:i=((s=(a=t.device_info)==null?void 0:a.symbol_info)==null?void 0:s.symbolImages)||((l=t.symbol_info)==null?void 0:l.symbolImages)||"",i}function Mat(t){var e;return((e=t.attributes)==null?void 0:e["Manufacturer Part"])||t.display_title}function Iat(t){var e;return((e=t.attributes)==null?void 0:e["LCSC Part Name"])||t.display_title}function eye(t,e,i,o=!1){let r={},n=["title","tags","footprint","brand","model","description","code","simModelTitle"];o&&(n=n.filter(a=>a!=="tags"));for(let a in t)if(n.includes(a)){let s=t[a]||"",l=a;a==="tags"?(s=t[a].name||"",l="tagName"):a==="brand"&&(s=t[a].name||"",l="brandName");let c=[];e!=null&&e.trim()?jd(e).split(" ").forEach(u=>{let p=new RegExp(u,"ig");r[l]?(c=[...new Set(c)],c.forEach(m=>{r[l]=r[l].replace(m,"^|^")}),r[l]=r[l].replace(p,m=>(m&&c.push(`<span class=${i("hightlight")}>${m}</span>`),m?`<span class=${i("hightlight")}>${m}</span>`:"")),c.forEach(m=>{r[l]=r[l].replace("^|^",m)})):r[l]=typeof s=="string"&&s.replace(p,m=>(m&&c.push(`<span class=${i("hightlight")}>${m}</span>`),m?`<span class=${i("hightlight")}>${m}</span>`:""))}):r[l]=s}return r}var Lat=class extends qe{constructor(){super(),this._optionBtn=[]}set optionBtn(e){this._optionBtn=e,this.notify()}get optionBtn(){return this._optionBtn}resetOptionBtn(e,i,o){switch(e){case"placeDevice":case"sim":{if(i==="lcsc"||i==="eda"&&o==="detail"){this.optionBtn=[];return}this.optionBtn=[{type:"placeDevice",text:"Place",disabled:!0,show:o==="grid"}];break}case"basicLibrary":{this.optionBtn=[{type:"addDeviceToBasicLibrary",text:"Select",disabled:!0,show:o==="grid"}];break}case"replaceDevice":{this.optionBtn=[{type:"Confirm",text:"Confirm",disabled:!0,show:o==="detail"&&i!=="block_symbol"},{type:"replaceDeviceSelect",text:"Choose",disabled:!0,show:o==="grid"}];break}case"smt":{this.optionBtn=[{type:"smtSelectDevice",text:"Choose",disabled:!0,show:o==="grid"}];break}case"DeviceStandardization":{this.optionBtn=[{type:"standardizationSelectDevice",text:"Choose",disabled:!0,show:o==="grid"}];break}case"replaceSheet":{this.optionBtn=[{type:"DoNotUseDrawings",text:"Do not use drawings",btnType:"default",disabled:!1,show:i!=="block_symbol"},{type:"Replace Sheet",text:"Choose",disabled:!0,show:o==="grid"}];break}case"assemblyVariant":{this.optionBtn=[{type:"assemblyVariantSelectDevice",text:"Choose",disabled:!0,show:o==="grid"}];break}default:break}}async updateButtonDisabledStatus(e,i){var r;let o=ue.deepClone(this.optionBtn);switch(e){case"placeDevice":case"sim":{o.forEach(n=>{n.type==="placeDevice"&&(n.disabled=i.disabled)});break}case"basicLibrary":{if(!i.deviceId)o.forEach(n=>{n.disabled=i.disabled});else{let n=await Tat(i.deviceId)||((r=i.addedBasicDevices)==null?void 0:r.includes(i.deviceId));o.forEach(a=>{a.disabled=i.disabled,i.operate?i.operate==="remove"?(a.text="Select",a.type="addDeviceToBasicLibrary"):(a.text="Remove from Common Library",a.type=" removeDeviceToBasicLibrary"):n?(a.text="Remove from Common Library",a.type=" removeDeviceToBasicLibrary"):(a.text="Select",a.type="addDeviceToBasicLibrary")})}break}case"replaceDevice":{o.forEach(n=>{(n.type==="replaceDeviceSelect"||n.type==="Confirm")&&(n.disabled=i.disabled),!i.deviceId&&i.operate==="click"&&(vo?(n.text="Request New Part",n.eventType="RequestNewPart"):(n.text="Request New Part",n.eventType="ApplyDrawing"))});break}case"smt":{o.forEach(n=>{n.type==="smtSelectDevice"&&(n.disabled=i.disabled)});break}case"DeviceStandardization":{o.forEach(n=>{n.type==="standardizationSelectDevice"&&(n.disabled=i.disabled)});break}case"replaceSheet":{o.forEach(n=>{n.type==="Replace Sheet"&&(n.disabled=i.disabled)});break}case"assemblyVariant":{o.forEach(n=>{n.type==="assemblyVariantSelectDevice"&&(n.disabled=i.disabled)});break}default:break}this.optionBtn=o,this.notify()}exit(){}};var Dat=class extends qe{constructor(){super();this._blockSymbolThumb="";this._isOldCbbProject=!1;this._blockSymbolViewData=null,this._schImgItem="",this._pcbImgItem="",this._blockSymbolSelectList=[],this._schSelectList=[],this._pcbSelectList=[],this._isSymbolShowLoading=!1,this._previewContentType={block_symbol:"Grey",sch:"Grey",pcb:"Grey"},this._bottomBtn=[{type:"Place Block Symbol",text:"Place Block Symbol",disabled:!0,show:!0},{type:"Place Block",text:"Place Block",disabled:!0,show:!0}],this._selectedRowData=null,this._selectedBlockSymbol="",this._selectedPcb="",this._selectedSch=null,this._placeBlockSymbolData=null,this._placeDocumentData=null,this.isProjectLib=!1}get isOldCbbProject(){return this._isOldCbbProject}set isOldCbbProject(i){this._isOldCbbProject=i,this.notify()}get placeBlockSymbolData(){return this._placeBlockSymbolData}set placeBlockSymbolData(i){this._placeBlockSymbolData=i}get placeDocumentData(){return this._placeDocumentData}set placeDocumentData(i){this._placeDocumentData=i}get selectedBlockSymbol(){return this._selectedBlockSymbol}set selectedBlockSymbol(i){this._selectedBlockSymbol=i}get selectedPcb(){return this._selectedPcb}set selectedPcb(i){this._selectedPcb=i}get selectedSch(){return this._selectedSch}set selectedSch(i){this._selectedSch=i,this.notify()}get selectedRowData(){return this._selectedRowData}set selectedRowData(i){this._selectedRowData=i}get bottomBtn(){return this._bottomBtn}set bottomBtn(i){this._bottomBtn=i}get previewContentType(){return this._previewContentType}set previewContentType(i){this._previewContentType=i,this.notify()}get blockSymbolViewData(){return this._blockSymbolViewData}set blockSymbolViewData(i){this._blockSymbolViewData=i,this.notify()}get blockSymbolThumb(){return this._blockSymbolThumb}set blockSymbolThumb(i){this._blockSymbolThumb=i,this.notify()}get schImgItem(){return this._schImgItem}set schImgItem(i){this._schImgItem=i,this.notify()}get pcbImgItem(){return this._pcbImgItem}set pcbImgItem(i){this._pcbImgItem=i,this.notify()}get schSelectList(){return this._schSelectList}set schSelectList(i){this._schSelectList=i}get pcbSelectList(){return this._pcbSelectList}set pcbSelectList(i){this._pcbSelectList=i}get blockSymbolList(){return this._blockSymbolSelectList}set blockSymbolList(i){this._blockSymbolSelectList=i}get isSymbolShowLoading(){return this._isSymbolShowLoading}set isSymbolShowLoading(i){this._isSymbolShowLoading=i}getSchSelectList(i,o){let r=[];return i.forEach(n=>{let a=[];o.forEach(s=>{s.schematic_uuid===n.uuid&&a.push(s)}),r.push({...n,sheets:a})}),r}updateBottomStatus(i,o){let r=ue.deepClone(this.bottomBtn);r.forEach((n,a)=>{if(i===n.type)switch(o){case"disabled":{n.disabled=!0;break}case"able":{n.show=!0,n.disabled=!1;break}case"show":{n.show=!0;break}case"hide":{n.show=!1;break}}}),this.bottomBtn=r}defaultPreviewStatus(i="Grey"){for(let o in this.previewContentType)this.previewContentType[o]=i;this.schImgItem="",this.pcbImgItem="",this.blockSymbolList=[],this.schSelectList=[],this.pcbSelectList=[],this.selectedPcb="",this.selectedSch=null,this.resetBlockSymbolPreviewData(),this.updateBottomStatus("Place Block","disabled")}async updatePcbPreview(i,o,r,n,a){let s,l,c;switch(i){case"pcb":{s=o.uuid,l=o.name,c=o.thumb;break}case"name":{for(let d of this.pcbSelectList)if(d.display_title===o.name){s=d.uuid,l=d.display_title,c=d.thumb;break}break}}if(s){if(this.selectedPcb===s)return;let{placeData:d,thumb:u}=await XDt(r,s,c,a,{uuid:n},l);this.pcbImgItem=u,this.pcbImgItem?this.previewContentType.pcb="Thumb":this.previewContentType.pcb="SelectGrey",this.selectedPcb=s,this.placePCbData=d}else this.pcbImgItem="",this.selectedPcb="",this.placePCbData="",this.previewContentType.pcb="SelectGrey"}async updateBtnBasedOnDoctype(){var o,r,n,a,s;let i=dt();i===se.PCB&&(this.selectedPcb?(this.updateBottomStatus("Place Block","able"),this.placeDocumentData=this.placePCbData):((o=this.selectedRowData)==null?void 0:o.display_title.type)===xr.PCB&&this.updateBottomStatus("Place Block","disabled"),this.updateBottomStatus("Place Block Symbol","hide")),i===se.SCH&&((r=this.selectedSch)!=null&&r.detail?(this.placeDocumentData=this.placeSchData,this.updateBottomStatus("Place Block","able")):(!((n=this.selectedSch)!=null&&n.detail)||((a=this.selectedRowData)==null?void 0:a.display_title.type)===xr.SCH||((s=this.selectedRowData)==null?void 0:s.display_title.type)===xr.SHEET)&&this.updateBottomStatus("Place Block","disabled"),this.updateBottomStatus("Place Block Symbol","show"))}async changeActiveDoctype(){var o,r,n,a,s;let i=dt();i===se.PCB&&(this.selectedPcb?(this.updateBottomStatus("Place Block","able"),this.placeDocumentData=this.placeSchData):((o=this.selectedRowData)==null?void 0:o.display_title.type)===xr.PCB&&this.updateBottomStatus("Place Block","disabled")),i===se.SCH&&((r=this.selectedSch)!=null&&r.detail?(this.placeDocumentData=this.placeSchData,this.updateBottomStatus("Place Block","able")):(!((n=this.selectedSch)!=null&&n.detail)||((a=this.selectedRowData)==null?void 0:a.display_title.type)===xr.SCH||((s=this.selectedRowData)==null?void 0:s.display_title.type)===xr.SHEET)&&this.updateBottomStatus("Place Block","disabled"))}async updateSchPreview(i,o,r,n,a){var d,u,p,m,h,f;let s=!1,l,c;switch(i){case"default":{for(let g of this.schSelectList)if(g.uuid===o.uuid){let b=g.sheets[0];b?(l=b,c=g.uuid,this.selectedSch={detail:g,sheetUuid:(d=g.sheets[0])==null?void 0:d.uuid}):console.error("sheetId error");break}break}case"sheet":{let g=null;for(let b of this.schSelectList)for(let y of b.sheets)if(o.uuid===y.uuid){g=b,c=g.uuid,l=y;break}((p=(u=this.selectedSch)==null?void 0:u.detail)==null?void 0:p.uuid)!==g.uuid&&(s=!0),this.selectedSch={detail:g,sheetUuid:o.uuid};break}case"name":{for(let g of this.schSelectList)if(g.display_name===o.name){((h=(m=this.selectedSch)==null?void 0:m.detail)==null?void 0:h.uuid)!==g.uuid&&(s=!0),l=g.sheets[0],c=g.uuid,this.selectedSch={detail:g,sheetUuid:g.sheets[0].uuid};break}break}}if(l!=null&&l.uuid){if(l.uuid===((f=this.placeSchData)==null?void 0:f.sheetIdMark))return;let{placeData:g,thumb:b}=await eEt(r,l.uuid,c,l.thumb,a,{uuid:n},l.title);this.schImgItem=b,this.placeSchData=g,this.placeSchData.sheetIdMark=l.uuid,this.previewContentType.sch=this.schImgItem?"Thumb":"SelectGrey"}else this.selectedSch={detail:null,sheetUuid:""},this.placeSchData="",this.schImgItem="",this.previewContentType.sch="SelectGrey";return s}resetBlockSymbolPreviewData(){this.placeBlockSymbolData="",this.selectedBlockSymbol="",this.blockSymbolViewData=null,this.isOldCbbProject=!1,this.blockSymbolThumb="",this.updateBottomStatus("Place Block Symbol","disabled")}getSchematicIdByBlockSymbolId(i){var n;let{schUuidToCbbSymbolDetailMap:o}=this.selectedRowData,r;for(let a of Object.keys(o))if(((n=o[a])==null?void 0:n.uuid)===i){r=a;break}return r}async updateBlockSymbolPreview(i,o,r){var n;switch(this.resetBlockSymbolPreviewData(),i){case"name":{let a=!1,s;for(let l of this.blockSymbolList)if(l.display_title===r.name&&(a=!0,s=l),a){let{schUuidToCbbSymbolDetailMap:c,project_detail:d,project_uuid:u}=this.selectedRowData,p=this.getSchematicIdByBlockSymbolId(s.uuid),{symbol:m,thumb:h,isOldCbb:f}=await IB(p,(n=c[p])==null?void 0:n.uuid,c[p],d,u,this.isProjectLib);m&&(f?(this.isOldCbbProject=!0,this.blockSymbolViewData=m):this.blockSymbolThumb=h,this.placeBlockSymbolData=m,this.previewContentType.block_symbol="Symbol",this.updateBottomStatus("Place Block Symbol","able"))}break}case"empty":break;case"autoCreate":{this.previewContentType.block_symbol="autoCreateSymbol",this.updateBottomStatus("Place Block Symbol","able");let{project_detail:a}=this.selectedRowData;this.placeBlockSymbolData=await qDt(a,this.selectedSch.detail.uuid,{uuid:o});break}case"symbol":{r.isOldCbb?(this.isOldCbbProject=!0,this.blockSymbolViewData=r.symbolItem):this.blockSymbolThumb=r.thumb,this.selectedBlockSymbol=r.blockSymbolId,this.previewContentType.block_symbol="Symbol",this.placeBlockSymbolData=r.symbolItem,this.updateBottomStatus("Place Block Symbol","able");break}case"selectGrey":break}}async getBlockSymbol(i,o){var s,l,c,d;if(i===((s=this.placeBlockSymbolData)==null?void 0:s.schematic_uuid))return;let r=dt()===se.SCH,n=this.selectedRowData.path,a="";if(this.isProjectLib)for(let u of this.blockSymbolList)u.display_title===((c=this.selectedSch.detail)==null?void 0:c.display_name)&&(a=u.uuid);else{let{schUuidToCbbSymbolDetailMap:u}=this.selectedRowData;a=(l=u[i])==null?void 0:l.uuid}if(!a)r?this.updateBlockSymbolPreview("autoCreate",o):this.updateBlockSymbolPreview("empty");else{this.isSymbolShowLoading=!0;let{schUuidToCbbSymbolDetailMap:u,project_detail:p,project_uuid:m}=this.selectedRowData,{symbol:h,thumb:f,isOldCbb:g}=await IB(i,(d=u[i])==null?void 0:d.uuid,u[i],p,m,this.isProjectLib);this.isSymbolShowLoading=!1,h?this.updateBlockSymbolPreview("symbol",o,{symbolItem:h,blockSymbolId:a,thumb:f,isOldCbb:g}):this.updateBlockSymbolPreview("selectGrey")}}async updatePreviewInfo(i,o){var c,d;this.isProjectLib=!1,this.selectedRowData=i;let{project_detail:r,display_title:n,uuid:a,schUuidToCbbSymbolDetailMap:s}=i,l=i.project_uuid||((c=i.project_detail)==null?void 0:c.uuid);if(r.block_symbol instanceof Array)this.blockSymbolList=r.block_symbol.map(u=>({...u,value:u.uuid}));else{let u=[];for(let p in r.block_symbol)for(let m in s)((d=s[m])==null?void 0:d.uuid)===p&&u.push({display_title:s[m].display_title,doctype:se.BLOCK_SYMBOL,project_uuid:r.uuid,title:s[m].title,uuid:p,value:p});this.blockSymbolList=u}if(this.schSelectList=this.getSchSelectList(r.schematics,r.schs),this.pcbSelectList=r.pcb.map(u=>({...u,value:u.uuid})),n){let{type:u,title:p}=n;u===xr.SCH?(await this.updateSchPreview("default",{uuid:a,name:p},r,o,l),await this.updatePcbPreview("name",{name:p},r,o,l),await this.getBlockSymbol(a,o)):u===xr.SHEET?await this.updateSchPreview("sheet",{thumb:i.thumb,uuid:a},r,o,l)?(await this.updatePcbPreview("name",{name:this.selectedSch.detail.display_name},r,o,l),await this.getBlockSymbol(this.selectedSch.detail.uuid,o)):this.selectedSch.detail||await this.updateBlockSymbolPreview("name",o,{name:this.selectedSch.detail.display_name}):u===xr.PCB?(await this.updatePcbPreview("pcb",{uuid:a,thumb:i.thumb,name:p},r,o,l),await this.updateSchPreview("name",{name:p},r,o,l)?await this.getBlockSymbol(this.selectedSch.detail.uuid,o):this.selectedSch.detail||await this.updateBlockSymbolPreview("name",o,{name:p})):this.defaultPreviewStatus("SelectGrey"),await this.updateBtnBasedOnDoctype()}}async updateProjectPreviewInfo(i,o,r){var f,g;let n=(await C.messageBus.rpcCall($e.SYMBOL.GET_ALL_ARR_BY_TYPE,[!0,i.project_uuid])).message,a=(await C.messageBus.rpcCall($e.SCHEMATIC.GET_ALL_ARR,[i.project_uuid])).message,s=(await C.messageBus.rpcCall($e.PCB.GET_ALL_ARR,[i.project_uuid])).message;(await C.messageBus.rpcCall($e.SHEET.GET_ALL_ARR,[void 0,i.project_uuid])).message.forEach(b=>{a.forEach(y=>{b.schematic_uuid===y.uuid&&(y.sheets||(y.sheets=[]),y.sheets.push(b))})}),this.isProjectLib=!0,i.path=i.project_uuid,o.block_symbol=n,o.schematics=a,o.pcb=s,i.project_detail=o;let{schUuidToCbbSymbolDetailMap:c,pcbUuidToCbbSymbolDetailMap:d}=oEt(o);i.schUuidToCbbSymbolDetailMap=c,i.pcbUuidToCbbSymbolDetailMap=d,this.selectedRowData=i,n!=null&&n.length&&(this.blockSymbolList=n.map(b=>({display_title:b.display_title,doctype:b.doctype,project_uuid:b.project_uuid,title:b.title,uuid:b.uuid,value:b.uuid})));let u=[];for(let b in a){let y=a[b],w=[];if((f=y.sheets)!=null&&f.length)for(let x of y.sheets)w.push({display_title:x.display_title,docType:x.docType,project_uuid:x.project_uuid,schematic_uuid:x.schematic_uuid,thumb:x.thumb,title:x.title,uuid:x.uuid});u.push({display_name:y.display_name,name:y.name,project_uuid:y.project_uuid,uuid:y.uuid,sheets:w})}this.schSelectList=u,s!=null&&s.length&&(this.pcbSelectList=s.map(b=>({display_title:b.display_title,docType:b.docType,project_uuid:b.project_uuid,schematic_uuid:b.schematic_uuid,thumb:b.thumb,title:b.title,uuid:b.uuid,value:b.uuid}))),await this.updateSchPreview("name",{name:i.display_title},i.project_detail,r,i.project_uuid),await this.updatePcbPreview("name",{name:i.display_title},i.project_detail,r,i.project_uuid),this.isSymbolShowLoading=!0;let{symbol:p,thumb:m,isOldCbb:h}=await IB(i.uuid,(g=c[i.uuid])==null?void 0:g.uuid,c[i.uuid],i.project_detail,i.project_uuid,!0);this.isSymbolShowLoading=!1,p?this.updateBlockSymbolPreview("symbol",void 0,{symbolItem:p,blockSymbolId:i.uuid,thumb:m,isOldCbb:h}):this.updateBlockSymbolPreview("selectGrey"),await this.updateBtnBasedOnDoctype()}exit(){this.defaultPreviewStatus()}};var Eat=class extends nf{get dataType(){return Tt.CBB}constructor(){super(),this._cbbTableData=[],this._selectedDeviceItem=null,this._isUpdateHeight=!1,this._selectedRowNumbers=[]}get refreshHash(){return this._refreshHash}set refreshHash(e){this._refreshHash=e}set cbbTableData(e){this._cbbTableData=e,this.notify()}get cbbTableData(){return this._cbbTableData}set selectedDeviceItem(e){this._selectedDeviceItem=e}get selectedDeviceItem(){return this._selectedDeviceItem}set selectedRowNumbers(e){this._selectedRowNumbers=e,this.notify()}get selectedRowNumbers(){return this._selectedRowNumbers}set isUpdateHeight(e){this._isUpdateHeight=e,this.notify()}get isUpdateHeight(){return this._isUpdateHeight}exit(){this.baseExit()}filterComponentList(e,i){let{lists:o}=e,r=o.map((n,a)=>this.adjustCbbData(n,a,i));return{...e,lists:r}}filterClientComponentList(e,i,o){var s;let r=[],n=0;for(let l of Object.keys(e||{}))if(e[l].isCbb&&e[l].dir.endsWith(i)){if(o){let c=e[l].name||((s=e[l].fileName)==null?void 0:s.split(".")[0]);if((c==null?void 0:c.search(o))===-1)continue}e[l].uuid=l,r.push(e[l])}n=r.length,r=r.slice((this.pageNumber-1)*this.pageSize,this.pageNumber*this.pageSize);let a=r.map((l,c)=>this.adjustCbbData(l,c,i));return{count:n,page:this.pageNumber,pageSize:this.pageSize,totalPage:n%this.pageSize+1,lists:o?{[i]:a}:a}}filterOshwHubComponentList(e,i,o){let{projects:r}=e,n=r.map((a,s)=>this.adjustCbbData(a,s,i,!0));return{count:e.total,page:this.pageNumber,pageSize:this.pageSize,totalPage:e.totalPage,lists:n}}async fetchComponentList(e,i,o,r=50,n=[],a){let s=Mt(String(Math.random()));this.componentListRequestId=s;let l={};if(e===C.currentProject.projectId)return new Promise(async(c,d)=>{let{lists:u,ListsCount:p,requestId:m}=await dGi(o,r,l,n,null,g=>{this.componentListRequestId=g}),h=u.length&&u.map((g,b)=>this.adjustProjectCbbData(g,b,e))||[];c({code:200,success:!0,requestId:m,result:{uid:e,count:p,page:o,pageSize:r,totalPage:1,lists:h}})});{let c,d={},u;return e==="oshwhub"?(c=`${C.apis.oshwhub.getCbb}?`,d.page=this.pageNumber,d.size=this.pageSize,n.length&&(d.filter=n[0]),a&&(d.wd=a),u=await(await fetch(c+new URLSearchParams({...d}),{method:"GET"})).json()):Je?(d={cbb:!0,refresh:"yes",tags:n},u=(await C.messageBus.rpcCall(Ei.CLIENT.GET_PROJECT_PATHS,d)).message):(d={user_uuid:i,page:o.toString(),pageSize:r.toString(),tags:n},n.includes("@Uncategorized")&&(d.tagNotExists=!0),d.isCbb=!0,u=(await C.messageBus.rpcCall(Ei.PROJECT.LIST,d)).message),u.success?u.result?{...u,result:e==="oshwhub"?this.filterOshwHubComponentList(u.result,e):Je?this.filterClientComponentList(u.result,e):this.filterComponentList(u.result,e),requestId:s}:{...u,requestId:s,msg:u.result.toString()}:u.code===200?{...u,requestId:s,msg:u.result.toString()}:{code:-1,success:!1,result:null,requestId:s,msg:"ChooseManager.Store.FetchCbbComponentList RemoteFetch Error."}}}getMap(e){let{block_symbol:i=[],schematics:o=[],pcb:r=[]}=e,n={};for(let l=0;l<i.length;l++){let{uuid:c,display_title:d}=i[l];n[d]=i[l]}let a={};for(let l=0;l<o.length;l++){let{uuid:c,display_name:d}=o[l];a[c]=n[d]}let s={};for(let l=0;l<r.length;l++){let{uuid:c,display_title:d}=r[l];s[c]=n[d]}return{schUuidToCbbSymbolDetailMap:a,pcbUuidToCbbSymbolDetailMap:s}}adjustCbbData(e,i,o,r){var s,l;let n=ue.deepClone(e);n.index=(this.pageNumber-1)*this.pageSize+i+1;let a="";if(e.name?a=e.name:e.fileName&&e.fileName.endsWith(Ns.eprj)?a=e.fileName.replace(Ns.eprj,""):e.fileName&&e.fileName.endsWith(Ns.eprj2)&&(a=e.fileName.replace(Ns.eprj2,"")),n.display_title={uuid:e.uuid,data:e,project_uuid:e.uuid,title:a,type:xr.PRJ,path:o},n.introduction=e.content||e.introduction,n.description=e.content||e.description,r)n.update_time=Rs(new Date(e.updated_at)),n.belong=((s=n==null?void 0:n.owner)==null?void 0:s.nickname)||"",n.last_modifier=n.modifier?n.modifier.nickname||e.modifier.username:"",n.projectPath=n.path,n.isOshwHubData=!0;else if(!Je){n.project_detail={...e};let{schUuidToCbbSymbolDetailMap:c,pcbUuidToCbbSymbolDetailMap:d}=this.getMap(e);n.schUuidToCbbSymbolDetailMap=c,n.pcbUuidToCbbSymbolDetailMap=d,n.category=Aj(e,o==C.currentProject.projectId),n.update_time=Rs(new Date(e.updated_at)),n.version_time=n.version?ue.formatDate2(n.version*1e3):"",n.belong=((l=n==null?void 0:n.owner)==null?void 0:l.nickname)||"",n.last_modifier=n.modifier?n.modifier.nickname||e.modifier.username:""}return n}adjustProjectCbbData(e,i,o){var n,a,s;let r=ue.deepClone(e);return r.index=(this.pageNumber-1)*this.pageSize+i+1,r.doc_type=me.i18n(tfe[`_${r.docType}`]),r.category=Aj(r,o==C.currentProject.projectId),r.update_time=wi?Rs(new Date(r.updated_at)):ue.formatDate2(r.updateTime*1e3),r.version_time=r.version?ue.formatDate2(r.version*1e3):"",r.belong=((n=r==null?void 0:r.owner)==null?void 0:n.nickname)||((a=r==null?void 0:r.creator)==null?void 0:a.nickname)||"",r.last_modifier=((s=r==null?void 0:r.modifier)==null?void 0:s.nickname)||"",r}formatProjectCbbData(e){return e.map((i,o)=>{var r,n,a;return i.index=o+1,i.doc_type=me.i18n(tfe[`_${i.docType}`]),i.category=Aj(i,!0),i.update_time=wi?Rs(new Date(i.updated_at)):ue.formatDate2(i.updateTime*1e3),i.version_time=i.version?ue.formatDate2(i.version*1e3):"",i.belong=((r=i==null?void 0:i.owner)==null?void 0:r.nickname)||((n=i==null?void 0:i.creator)==null?void 0:n.nickname)||"",i.last_modifier=((a=i==null?void 0:i.modifier)==null?void 0:a.nickname)||"",i})}filterComponentListBySearch(e,i,o=!1){let{count:r,page:n,pageSize:a,totalPage:s,lists:l,facets:c}=e;this.pageNumber=+n||1,this.totalPage=+s||1;let d={};Object.keys(l).forEach(h=>{if(h===bo.getInstance().usedFacetsKey){let f=Ft(this.libList,"id",bo.getInstance().usedId);f.index>=0&&(d[f.data.id]=l[h]);return}if(h===_e.USERLIB_ALIAS){let f=Ft(this.libList,"id",C.loginedUserInfo.uuid);f.index>=0&&(d[f.data.id]=l[h]);return}if(h==="user"){Ft(this.libList,"id",i).index>=0&&(d[h]=l[h]);return}d[h]=l[h]});let u=i,m=([bo.getInstance().usedId,C.loginedUserInfo.uuid,C.currentProject.projectId].includes(u)?d[u]||[]:d.user||[]).map((h,f)=>o?this.adjustProjectCbbData(h,f,i):this.adjustCbbData(h,f,i));return{...e,lists:{[u]:m}}}async refreshComponentGridList(e,i,o="",r=[],n,a){this.selectedLibIds=[e],this.facets={},this.componentListLoadStatus="Loading",r[0]===_e.CATEGORY_ITEM_ALL_VALUE&&(r=[]);let s=Mt(String(Math.random()));this.componentListRequestId=s;let l=e===C.currentProject.projectId,{lists:c,count:d,traceId:u}=await cO(this.pageNumber,this.pageSize,r,s,o,l,e,n,r.includes("@Uncategorized"));this.componentListRequestId===u&&(this.totalCount=d,this.totalPage=d%this.pageSize+1,this.cbbTableData=l?this.formatProjectCbbData(c):c,c.length>=1?this.componentListLoadStatus="":this.componentListLoadStatus="No Results!",a==null||a())}clearAllRemoteData(e=!1){this.clearSelectedRowsBase(),this.cbbTableData=[],e&&(this.pageNumber=1)}};async function C$r(t){let{project:e,extension:i}=t||{};if(!e||!e.dataStr)return;let{config:o,dataStr:r}=e,n=o.title,a={"project2.json":va(JSON.stringify(o)),[n+Lo.EPRU]:va(r)},s=vb(a);return new Blob([s])}async function Aat(t){let e=await C$r(t);if(!e)return;let i=t.project.config.title;return new File([e],i+Lo.PRJ2)}var Kve=class Kve{constructor(){this._now=performance.now();this._proProjectMap=new Map;this._init()}static getInstance(){var e;return this._instance=(e=this._instance)!=null?e:new Kve}_init(){this._loop()}_loop(){requestAnimationFrame(()=>{let e=performance.now();e-this._now>Kve.CACHE_LIFE_TIME&&(this._now=e,this._clear()),this._loop()})}_clear(){this._proProjectMap.clear()}setProProject(e,i){return this._now=performance.now(),this._proProjectMap.set(e,i),i}getProProject(e){return this._now=performance.now(),this._proProjectMap.get(e)}};Kve.CACHE_LIFE_TIME=2e3;var tye=Kve;function Nat(t,e){return`${t}FromSTD[${e}]`}function kat(t){var e;return(e=t.match(new RegExp("(?<=\\[)[^\\]]+")))==null?void 0:e[0]}function RLo(t,e,i,o){var c,d,u,p,m,h,f,g,b,y,w,x,S,T;let r=Nat("device",t.uuid),n=i?{...i,display_title:t.title,title:t.title.toLocaleLowerCase(),updateTime:t.updateTime,version:(c=t.updateTime)==null?void 0:c.toString(),source:"",owner:t.owner,uuid:t.uuid,path:_e.STD_PUBLIC_LIB_UUID}:void 0,{proFootprint:a,stdFootprint:s}=o||{},l=a?{...a,display_title:s.title,title:s.title.toLocaleLowerCase(),updateTime:s.updateTime,version:(d=s.updateTime)==null?void 0:d.toString(),source:"",owner:s.owner,uuid:s.uuid}:(p=(u=t.dataStr)==null?void 0:u.head)!=null&&p.puuid?{display_title:(f=(h=(m=t.dataStr)==null?void 0:m.head)==null?void 0:h.c_para)==null?void 0:f.package,title:(w=(y=(b=(g=t.dataStr)==null?void 0:g.head)==null?void 0:b.c_para)==null?void 0:y.package)==null?void 0:w.toLocaleLowerCase(),uuid:(S=(x=t.dataStr)==null?void 0:x.head)==null?void 0:S.puuid}:void 0;return e.attributes.Symbol=(n==null?void 0:n.uuid)||"",e.attributes.Footprint=(l==null?void 0:l.uuid)||"",{stdData:t,...e,display_title:t.title,title:t.title.toLocaleLowerCase(),description:t.description,tags:e.tag,owner:t.owner,modifier:t.owner,updateTime:t.updateTime,updated_at:t.updated_at,path:_e.STD_PUBLIC_LIB_UUID,symbol:n,footprint:l,custom_tags:"",creator:t.owner,created_at:void 0,createTime:void 0,project_uuid:void 0,ticket:void 0,symbol_type:i.docType||se.PART,version:(T=t.updateTime)==null?void 0:T.toString(),source:"",uuid:r}}function _Lo(t,e){var i;return{stdData:t,...e,display_title:t.title,title:t.title.toLocaleLowerCase(),description:t.description,tags:e.tags,owner:t.owner,modifier:t.owner,updateTime:t.updateTime,updated_at:t.updated_at,path:_e.STD_PUBLIC_LIB_UUID,custom_tags:"",creator:t.owner,created_at:void 0,createTime:void 0,project_uuid:void 0,ticket:void 0,version:(i=t.updateTime)==null?void 0:i.toString(),source:"",public:!0,type:3}}function x$r(t){let e=t.uuid,i=[],o=[],r=[],n=[],a=[],s=!1;if(t.docType===se.SCHMODULE){let l=Nat("schematic",t.uuid),c=Nat("sheet",t.uuid);i.push({name:t.title,sch:l,pcb:""}),o.push({display_name:t.title,name:t.title.toLocaleLowerCase(),project_uuid:e,uuid:l,create_at:t.updated_at,createtime:t.updateTime,sheet_count:1,sort:[{ticket:void 0,uuid:c}],ticket:void 0,updateTime:t.updateTime,update_at:t.updated_at}),r.push({uuid:c,display_title:t.title,title:t.title.toLocaleLowerCase(),docType:se.SCH,project_uuid:e,thumb:OLo(t.thumb),updateTime:t.updateTime,schematic_uuid:l,description:"",guest:void 0,create_at:t.updated_at,creator:t.owner,modifier:t.owner,pcb_id:void 0,ticket:void 0,update_at:t.updated_at,writable:void 0,dataStr:""})}else if(t.docType===se.PCBMODULE){let l=Nat("pcb",t.uuid);n.push({uuid:l,display_title:t.title,title:t.title.toLocaleLowerCase(),docType:se.PCB,project_uuid:e,thumb:OLo(t.thumb),updateTime:t.updateTime,description:"",guest:void 0,create_at:t.updated_at,creator:t.owner,modifier:t.owner,pcb_id:void 0,schematic_uuid:void 0,ticket:void 0,update_at:t.updated_at,writable:void 0,dataStr:""})}else throw Error(`quickStdComponent2ProProject: Error STDComponentResult doctype:${t.docType}`);return{uuid:e,cbb_project:s,boards:i,pcb:n,schematics:o,schs:r,block_symbol:a,tags:void 0,stdData:t,name:t.title,content:t.description,owner:{...t.owner,team:!1},modifier:t.owner,creator:t.owner,updated_at:t.updated_at,path:_e.STD_PUBLIC_LIB_UUID}}async function jLo(t){var p;let e=[];t.dataStr.shape||(t=await G8({uuid:t.uuid}));let{dataStr:i,packageDetail:o,title:r}=t;i!=null&&e.push({fileName:`${r}.json`,source:JSON.stringify(i)});let{dataStr:n,title:a}=o||{};i!=null&&e.push({fileName:`${a}.json`,source:JSON.stringify(n)});let s=Bf.useProgress;Bf.useProgress=!1;let l=(p=tye.getInstance().getProProject(t.uuid))!=null?p:tye.getInstance().setProProject(t.uuid,(await RT({decodingOptions:{decodingType:"easyeda",decodingData:e},encodingOptions:{encodingType:"easyeda-pro",encoderOptions:{associate3D:!0}}}).finally(()=>{Bf.useProgress=s})).result.project),c=l.devices.at(0),d=l.footprints.at(-1),u=l.symbols.at(-1);return RLo(t,c,u,{proFootprint:d,stdFootprint:o})}async function iye(t){var s;t.dataStr.shape||(t=await G8({uuid:t.uuid}));let{dataStr:e,title:i,docType:o}=t,r=Bf.useProgress;Bf.useProgress=!1;let n=(s=tye.getInstance().getProProject(t.uuid))!=null?s:tye.getInstance().setProProject(t.uuid,(await RT({decodingOptions:{decodingType:"easyeda",decodingData:[{fileName:`${i}.json`,source:JSON.stringify(e),decoding:"utf8"}]},encodingOptions:{encodingType:"easyeda-pro",encoderOptions:{associate3D:!0}}}).finally(()=>Bf.useProgress=r)).result.project),a=o==se.FOOTPRINT?n.footprints.at(-1):n.symbols.at(-1);return _Lo(t,a)}async function BLo(t){t.dataStr.shape||(t=await G8({uuid:t.uuid}));let{dataStr:e,title:i}=t,o=Bf.useProgress;Bf.useProgress=!1;let r=(await RT({decodingOptions:{decodingType:"easyeda",decodingData:[{fileName:`${i}.json`,source:JSON.stringify(e),decoding:"utf8"}]},encodingOptions:{encodingType:"easyeda-pro-2",encoderOptions:{associate3D:!0}},projectName:i}).finally(()=>Bf.useProgress=o)).result;return await Aat(r)}function zLo(t){return t.reduce((e,i)=>{var n;let o=i.title,r={...i};for(;e.has(o);)o=Qee(o);return i.title=o,(n=i.dataStr)!=null&&n.head.c_para.name&&(i.dataStr.head.c_para.name=o),i.dataStr.head.c_para.name=o,e.set(o,r),e},new Map)}async function FLo(t){if(!t.length)return[];let e=zLo(t),i=Bf.useProgress;Bf.useProgress=!1;let o=(await RT({decodingOptions:{decodingType:"easyeda",decodingData:t.map(r=>({fileName:`${r.title}.json`,source:JSON.stringify(r.dataStr),decoding:"utf8"}))},encodingOptions:{encodingType:"easyeda-pro",encoderOptions:{associate3D:!0}}}).finally(()=>{Bf.useProgress=i})).result;return o.project.devices.map(r=>{let n=e.get(r.title),a=o.project.symbols.find(s=>s.uuid===r.attributes.Symbol);return RLo(n,r,a)})}async function Pat(t,e){if(!t.length)return[];let i=zLo(t),o=Bf.useProgress;return Bf.useProgress=!1,(await RT({decodingOptions:{decodingType:"easyeda",decodingData:t.map(r=>({fileName:`${r.title}.json`,source:JSON.stringify(r.dataStr),decoding:"utf8"}))},encodingOptions:{encodingType:"easyeda-pro",encoderOptions:{associate3D:!0}}}).finally(()=>{Bf.useProgress=o})).result.project[e].map(r=>{let n=i.get(r.title);return _Lo(n,r)})}async function ULo(t){return t.map(e=>x$r(e))}function OLo(t){var e;return t&&((e=new URL(t,"https://image.lceda.cn"))==null?void 0:e.href)}var pF=class{static setImage(e,i){return new Promise(()=>{this.imgEleToImgSrcArr.push({imgEle:e,imgSrc:i}),this.executeLoadImage()})}static executeLoadImage(){if(this.currentLoadImageItem||this.imgEleToImgSrcArr.length===0)return;let e=this.imgEleToImgSrcArr.shift();this.currentLoadImageItem=e;let{imgEle:i,imgSrc:o}=e;i.src=o}static clearCurrentLoadImageItem(){this.currentLoadImageItem=null}static clearData(){this.imgEleToImgSrcArr.length=0,this.clearCurrentLoadImageItem()}};pF.currentLoadImageItem=null,pF.imgEleToImgSrcArr=new Array;var VLo=10,Oat=class extends nf{constructor(i){super();this.parent=i;this._currentClickComponentDetailListItem=null;this._detailListData=[],this._selectedDeviceId=null,this._componentDetailListLoadStatus=null,this._selectedDeviceItem=null,this._deviceComponentDetail=[],this._sizeOptions=[10,20,50],this.pageSize=VLo,this._currentClickComponentDetailListItem=null}get dataType(){return Tt.DEVICE}set detailListData(i){this._detailListData=i,this.notify()}get detailListData(){return this._detailListData}set selectedDeviceIds(i){this._selectedDeviceId=i,this.notify()}get selectedDeviceIds(){return this._selectedDeviceId}set componentDetailListLoadStatus(i){this._componentDetailListLoadStatus=i,this.notify()}get componentDetailListLoadStatus(){return this._componentDetailListLoadStatus}get sizeOptions(){return this._sizeOptions}set deviceComponentDetail(i){this._deviceComponentDetail=i,this.notify()}get deviceComponentDetail(){return this._deviceComponentDetail}set selectedDeviceItem(i){this._selectedDeviceItem=i}get selectedDeviceItem(){return this._selectedDeviceItem}get currentClickComponentDetailListItem(){return this._currentClickComponentDetailListItem}set currentClickComponentDetailListItem(i){var o,r,n;this._currentClickComponentDetailListItem=i,i&&((n=pj[this.dataType])==null||n.add((r=(o=i==null?void 0:i.device)==null?void 0:o.deviceInfo)!=null?r:i==null?void 0:i.device)),this.notify()}async updateSymbolFootprintData(i){if(!this.detailListData.length)return[];let o=[],r=[];this.detailListData.forEach(d=>{d.attributes&&(d.attributes.Symbol&&o.push(d.attributes.Symbol),d.attributes.Footprint&&r.push(d.attributes.Footprint))});let n=await this.fetchBatchComponentsData(!1,o,i),a=await this.fetchBatchComponentsData(!0,r,i),s=ue.deepClone(this.detailListData),l=[];s.forEach(d=>{let u={device_info:d};n!=null&&n.length&&n.forEach(p=>{var m;((m=d.attributes)==null?void 0:m.Symbol)===p.uuid&&(p.deviceId=d.uuid,u.device_info.symbol_info=p)}),a!=null&&a.length&&a.forEach(p=>{d.attributes.Footprint===p.uuid&&(p.deviceId=d.uuid,u.device_info.footprint_info=p)}),l.push(u)}),this.deviceComponentDetail=l;let c=ue.deepClone(this.detailListData);return c.forEach(d=>{l.forEach(u=>{d.uuid===u.device_info.uuid&&(d.device_info=u.device_info)})}),c}async getSymbolImg(i){var r,n,a;if(this.parent.libListModel.selectedIds.some(s=>C.extendLibStore.manager.hasLib(s)))return this.getExtendLibSymbolImg(i);let o=ue.deepClone(i);for(let s=0;s<o.length;s+=1){let l=((r=o[s].device_info)==null?void 0:r.symbol_info)||o[s].symbol_info;if(!(!l||JSON.stringify(l)==="{}"||(n=o[s].images)!=null&&n[0]||(a=o[s].image)!=null&&a[0]))try{l.svgStr=await Cr("getPartSvgStr",{partIndex:0,component:l});let c=await Rf(l);c!=null&&c.src&&(l.symbolImages=c.src)}catch(c){console.warn(c,`Get symbol image error${l.uuid}`)}}return o}async getExtendLibSymbolImg(i){var r;let o=[];for(let n=0;n<i.length;n+=1){let a=i[n].device_info||i[n];try{a.symbol_info.dataStr||(a.symbol_info=await((r=C.extendLibStore.manager.getLib(a.path).symbol)==null?void 0:r.getTransformedDetail(a.symbol_info.uuid)));let s=a.symbol_info;s.svgStr=await Cr("getPartSvgStr",{partIndex:0,component:s});let l=await Rf(s);l!=null&&l.src&&(s.symbolImages=l.src)}catch(s){console.warn(s,`Get symbol image error${a.symbol_info.uuid}`)}o.push({...i[n]})}return o}async getSTDSymbolImg(i){let o=[];for(let r=0;r<i.length;r+=1){let n=i[r].symbol_info=await iye(i[r].stdData);try{n.svgStr=await Cr("getPartSvgStr",{partIndex:0,component:n});let a=await Rf(n);a!=null&&a.src&&(n.symbolImages=a.src)}catch(a){console.warn(a,`Get symbol image error${n.uuid}`)}o.push({...i[r]})}return o}getDevicesCode(i,o,r){let n=[],a=/^C\d+$/gi;switch(o){case"lcsc_cn":{i.forEach(s=>{s.code&&n.push(s.code)});break}case"lcsc_en":{i.forEach(s=>{s.number&&n.push(s.number)});break}case"eda":{r!==bo.getInstance().usedId?i.forEach(s=>{s.attributes&&s.attributes["Supplier Part"]&&a.test(s.attributes["Supplier Part"])&&n.push(s.attributes["Supplier Part"])}):i.forEach(s=>{s.attributes&&s.attributes["Supplier Part"]&&n.push(s.attributes["Supplier Part"])});break}}return n}setRequestId(i){this.componentListRequestId=i}async fetchBatchDeviceData(i,o){let r={isProject:o===C.currentProject.projectId,uuids:i,path:o};return await Ze.getDeviceSearchList(r)}async combinationDevicesData(i,o){if(!this.detailListData.length)return[];let r=ue.deepClone(this.detailListData),n=[],a=[];if(i==="eda"){if(o===C.currentProject.projectId){r.forEach(c=>{c.attributes&&(c.attributes.Symbol&&n.push(c.attributes.Symbol),c.attributes.Footprint&&a.push(c.attributes.Footprint))});let s=await this.fetchBatchComponentsData(!1,n,o),l=await this.fetchBatchComponentsData(!0,a,o);r.forEach(c=>{s.forEach(d=>{var u;((u=c.attributes)==null?void 0:u.Symbol)===d.uuid&&(c.symbol_info=d)}),l.forEach(d=>{var u;((u=c.attributes)==null?void 0:u.Footprint)===d.uuid&&(c.footprint_info=d)})})}}else if(i==="lcsc"){let s=[],l=[];r.forEach(u=>{u.hasDevice&&s.push(u.hasDevice)}),l=await this.fetchBatchDeviceData(s,o),l.forEach(u=>{u.attributes&&(u.attributes.Symbol&&n.push(u.attributes.Symbol),u.attributes.Footprint&&a.push(u.attributes.Footprint))});let c=await this.fetchBatchComponentsData(!1,n,o),d=await this.fetchBatchComponentsData(!0,a,o);l.forEach(u=>{c.forEach(p=>{var m;((m=u.attributes)==null?void 0:m.Symbol)===p.uuid&&(u.symbol_info=p)}),d.forEach(p=>{var m;((m=u.attributes)==null?void 0:m.Footprint)===p.uuid&&(u.footprint_info=p)})}),r.forEach(u=>{l.forEach(p=>{u.hasDevice===p.uuid&&(u.device_info=p)})})}return r}async refreshComponentDetailList(i,o,r="",n=[],a,s,l,c,d,u,p){var b,y;pF.clearData();let m=i;this.facets={},this.componentDetailListLoadStatus="Loading";let h=[],f="";if(i===_e.LIB_INTERNAL_KEY){let w=await Zee.getDeviceList(this.pageNumber,this.pageSize,n,this.setRequestId.bind(this),r,l);if(Wh(w)||console.error(w),this.componentListRequestId!==w.requestId)return;w.success?(this.totalCount=w.result.count,this.detailListData=w.result.lists||[],this.detailListData.length?this.componentDetailListLoadStatus="":this.componentDetailListLoadStatus="Empty list",r!=null&&r.trim()&&(this.facets=await $q({uid:i,pageSize:this.pageSize,page:this.pageNumber,wd:r},this.totalCount),p&&p())):f="No Results!";return}function g(w,x){s&&u&&u({filterData:w,LoadStatus:x})}if(r!=null&&r.trim())if(a==="lcsc"){let w=await Lle.getSearchDeviceList(o,r,this.pageNumber,this.pageSize,s,l,c,this.setRequestId.bind(this));if(w.success||console.error(w),this.componentListRequestId!==w.requestId)return;if(w.result){this.totalCount=w.result.total;let{paramList:T,productList:M}=w.result;s&&(h=T||[],h.length?f="":f="Empty list"),this.detailListData=M||[],this.detailListData.length?this.componentDetailListLoadStatus="":this.componentDetailListLoadStatus="Empty list"}else this.totalCount=0,f="No Results!",this.componentDetailListLoadStatus="No Results!";s&&(g(h,f),this.facets=await $q({uid:i,pageSize:this.pageSize,page:this.pageNumber,wd:r},this.totalCount)),p&&p();let x=await this.combinationDevicesData(a,o);if(this.componentListRequestId!==w.requestId)return;this.detailListData=x;let S=await this.getSymbolImg(this.detailListData);if(this.componentListRequestId!==w.requestId)return;if(this.detailListData=S,!Ko&&this.detailListData.length){let T=vo?this.getDevicesCode(this.detailListData,"lcsc_en"):this.getDevicesCode(this.detailListData,"lcsc_cn"),M=await Cme(this.detailListData,T,"lcsc");if(this.componentListRequestId!==w.requestId)return;this.detailListData=M}}else{let w=await uF.getSearchDeviceList(i,r,o,this.pageNumber,this.pageSize,n,this.setRequestId.bind(this),(y=this.parent.dialogProps)==null?void 0:y.deviceType,d,this.libList,M=>{this.facets=M},l);if(Wh(w)||console.error(w),this.componentListRequestId!==w.requestId)return;if(w.result){this.totalCount=w.result.facets[m]?Number(w.result.facets[m]):0;let M=w.result.lists[m]||[];M.length>=1?(this.detailListData=M,this._componentDetailListLoadStatus=""):(this.detailListData=[],this._componentDetailListLoadStatus="Empty list")}else this.totalCount=0,this._componentDetailListLoadStatus="No Results!";let x=this;if(i==C.currentProject.projectId){let M=await this.updateSymbolFootprintData(o);if(this.componentListRequestId!==w.requestId)return;this.detailListData=M}p&&p();let S=await this.combinationDevicesData(a,o);if(this.componentListRequestId!==w.requestId)return;this.detailListData=S;let T=await this.getSymbolImg(this.detailListData);if(x.componentListRequestId!==w.requestId)return;if(x.detailListData=T,IP(i)&&d!=="sim"){let M=await FV(this.detailListData,"detail");if(x.componentListRequestId!==w.requestId)return;x.detailListData=M}}else{if(a==="lcsc"){let w=await Lle.getDeviceList(this.pageNumber,this.pageSize,n,s,l,c,this.setRequestId.bind(this));if(Wh(w)||console.error(w),this.componentListRequestId!==w.requestId)return;if(w.result){this.totalCount=w.result.total;let{paramList:T,productList:M}=w.result;s&&(h=T||[],h.length?f="":f="Empty list"),this.detailListData=M||[],this.detailListData.length?this.componentDetailListLoadStatus="":this.componentDetailListLoadStatus="Empty list"}else this.totalCount=0,f="No Results!",this.componentDetailListLoadStatus="No Results!";g(h,f);let x=await this.combinationDevicesData(a,o);if(this.componentListRequestId!==w.requestId)return;this.detailListData=x;let S=await this.getSymbolImg(this.detailListData);if(this.componentListRequestId!==w.requestId)return;if(this.detailListData=S,!Ko&&this.detailListData.length){let T=vo?this.getDevicesCode(this.detailListData,"lcsc_en"):this.getDevicesCode(this.detailListData,"lcsc_cn"),M=await Cme(this.detailListData,T,"lcsc");if(this.componentListRequestId!==w.requestId)return;this.detailListData=M}}else{let w=await uF.getDeviceList(i,o,this.pageNumber,this.pageSize,n,this.setRequestId.bind(this),(b=this.parent.dialogProps)==null?void 0:b.deviceType,d,l);if(w.success||console.error(w),this.componentListRequestId!==w.requestId)return;if(w.result){this.totalCount=w.result.count,this.pageNumber=w.result.page||1,this.totalPage=w.result.totalPage||1;let T=w.result.lists||[];T.length>=1?(this.detailListData=T,this.componentDetailListLoadStatus=""):(this.detailListData=[],this.componentDetailListLoadStatus="Empty list")}else this.totalCount=0,this.componentDetailListLoadStatus="No Results!";let x=await this.combinationDevicesData(a,o);if(this.componentListRequestId!==w.requestId)return;this.detailListData=x;let S=await this.getSymbolImg(this.detailListData);if(this.componentListRequestId!==w.requestId)return;if(this.detailListData=S,IP(i)&&d!=="sim"){let T=await FV(this.detailListData,"detail");if(this.componentListRequestId!==w.requestId)return;this.detailListData=T}}this.detailListData.length?this._componentDetailListLoadStatus="":this._componentDetailListLoadStatus="Empty list";return}}async fetchBatchComponentsData(i,o,r){if(!o.length)return[];let n={isProject:r===C.currentProject.projectId,path:r,uuids:o},a;return i?a=await Ze.getFootprintSearchList(n):a=await Ze.getSymbolSearchList(n),a}baseExit(){this.totalPage=1,this.totalCount=0,this.pageNumber=1,this.pageSize=VLo}clearRemoteData(i=!1){this.detailListData=[],i&&(this.totalCount=0,this.totalPage=1,this.pageNumber=1)}exit(){this.baseExit(),this._detailListData=[],this._selectedDeviceId=null}};var Rat=class extends nf{get dataType(){return Tt.DEVICE}constructor(){super(),this._originalFilterData=[],this._componentFilterListLoadStatus=null,this._filterConditionParams={},this._filterConditionStatus=!1,this._isUpdateExpandStatus=!1,this._filterItemLoadStatus=!1,this._catchFilterData=[],this._catchFilterTitleInfo=[],this._catchSelectedFilterData=[]}set catchSelectedFilterData(e){this._catchSelectedFilterData=e}get catchSelectedFilterData(){return this._catchSelectedFilterData}set catchFilterTitleInfo(e){this._catchFilterTitleInfo=e}get catchFilterTitleInfo(){return this._catchFilterTitleInfo}set filterData(e){this._originalFilterData=e,this.notify()}get filterData(){return this._originalFilterData}set catchFilterData(e){this._catchFilterData=e}get catchFilterData(){return this._catchFilterData}set filterConditionStatus(e){this._filterConditionStatus=e,this.notify()}get filterConditionStatus(){return this._filterConditionStatus}set isUpdateExpandStatus(e){this._isUpdateExpandStatus=e,this.notify()}get isUpdateExpandStatus(){return this._isUpdateExpandStatus}set filterConditionParams(e){this._filterConditionParams=e}get filterConditionParams(){return this._filterConditionParams}set filterItemLoadStatus(e){this._filterItemLoadStatus=e,this.notify()}get filterItemLoadStatus(){return this._filterItemLoadStatus}set componentFilterListLoadStatus(e){this._componentFilterListLoadStatus=e,this.notify()}get componentFilterListLoadStatus(){return this._componentFilterListLoadStatus}initLoadingStatus(){this.clearData(),this.componentFilterListLoadStatus="Loading"}initLcscFilterData(e){let i=[];return e!=null&&e.length&&(i=e.map(o=>{var n;let r=[];return(n=o.parameterValueList)!=null&&n.length&&(r=o.parameterValueList.map((a,s)=>{var l;return{name:a.split("$")[0]||a,value:a.split("$")[1]||a,id:(l=o.parameterIdList)==null?void 0:l[s],disabled:!1,selected:!1}})),{title:o.parameterName,key:o.parameterCode||o.parameterName,valueList:r}})),i}clearData(){this.filterConditionParams={},this.filterData=[],this.catchFilterData=[],this.catchFilterTitleInfo=[],this.catchSelectedFilterData=[],this.filterConditionParams={}}async fetchEDAFilterKey(e,i,o){let r=Mt(String(Math.random())),n={isProject:i===C.currentProject.projectId,uid:i,tags:e,path:o};try{return{success:!0,result:await Ze.getDeviceAttributesKeys(n),requestId:r}}catch(a){return{success:!1,message:a.message,requestId:r}}}async fetchEDAFilterAttr(e,i,o,r){let n=Mt(String(Math.random())),a={isProject:i===C.currentProject.projectId,uid:i,tags:e,key:r,path:o};return new Promise(async(s,l)=>{try{let c=await Ze.getDeviceAttributesValues(a);c.forEach((d,u)=>{(d==="Manufacturer Part"||d==="Supplier Part")&&c.splice(u,1)}),s({success:!0,result:c,requestId:n})}catch(c){s({success:!1,message:c.message,requestId:n})}})}async refreshComponentEDAFilterList(e,i,o){var a;let r=[],n=await this.fetchEDAFilterKey(e,i,o);if(!n.success){this.componentFilterListLoadStatus="No Results!";return}if((a=n.result)!=null&&a.length){let s=n.result||[];for(let u=0;u<s.length;u+=1)r.push({title:s[u],key:s[u],valueList:[]});this.filterData=r,this.componentFilterListLoadStatus="",this.filterItemLoadStatus=!0;let l=[],c=s.map(u=>this.fetchEDAFilterAttr(e,i,o,u)),d=await Promise.allSettled(c);for(let u=0;u<d.length;u++){let p=d[u];if(p.status==="fulfilled"){let m=s[u]==="JLCPCB Part Class",h=[],f=p.value.result;for(let g=0;g<(f==null?void 0:f.length);g+=1){let b=f[g];typeof b=="string"?h.push({name:m?me.i18n(b):b,value:b,disabled:!1,selected:!1}):h.push({name:b.display_title||b.title,value:b.uuid||b.title,disabled:!1,selected:!1})}l.push({title:s[u],key:s[u],valueList:h})}}this.filterItemLoadStatus=!1,this.filterData=l}else this.componentFilterListLoadStatus=""}filterInternalAttr(e){let i=[];return e!=null&&e.length&&(i=e.map(o=>{var n;let r=[];return(n=o.value)!=null&&n.length&&o.value.forEach(a=>{r.push({name:a,disabled:!1,selected:!1,value:a})}),{key:o.name,title:o.name_cn||o.name,valueList:r}})),i}fetchInternalDeviceAttr(e,i){let o=Mt(String(Math.random()));return this.componentListRequestId=o,new Promise(async(r,n)=>{let a=await M0e({wd:i||void 0,tags:e}).catch(s=>null);r({result:a?this.filterInternalAttr(a):null,requestId:o,code:a?0:-1,success:!!a})})}async getInternalLibDeviceAttr(e,i){var n;let o=[];this.filterItemLoadStatus=!0;let r=await this.fetchInternalDeviceAttr(e,i);r.success||(this.componentFilterListLoadStatus="No Results!",this.filterItemLoadStatus=!1),(n=r.result)!=null&&n.length&&(o=r.result),this.componentFilterListLoadStatus="",this.filterItemLoadStatus=!1,this.filterData=o}exit(){this.clearData()}};var _at=class extends qe{constructor(){super(),this._imageItem=null,this._symbolItem=null,this._d3ModelItem=null,this._footPrintItem=Pg.createEmptyFootprintItem(),this._isSymbolShowLoading=!1,this._isFootprintShowLoading=!1,this._isD3ModelShowLoading=!1,this._isImagesShowLoading=!1,this._footprintIframeId="",this._d3ModelInfo={id:"",transform:""},this._path="",this._footprintPreviewStr="",this._showD3preview=!1}set footprintPreviewStr(e){this._footprintPreviewStr=e,this.notify()}get footprintPreviewStr(){return this._footprintPreviewStr}set showD3preview(e){this._showD3preview=e,this.notify()}get showD3preview(){return this._showD3preview}set imageItem(e){this._imageItem=e,this.notify()}get imageItem(){return this._imageItem}set footPrintItem(e){this._footPrintItem=e,this.notify()}get footPrintItem(){return this._footPrintItem}set footprintIframeId(e){this._footprintIframeId=e,this.notify()}get footprintIframeId(){return this._footprintIframeId}set d3ModelInfo(e){this._d3ModelInfo=e,this.notify()}get d3ModelInfo(){return this._d3ModelInfo}set symbolItem(e){this._symbolItem=e,this.notify()}get symbolItem(){return this._symbolItem}set isSymbolShowLoading(e){this._isSymbolShowLoading=e,this.notify()}get isSymbolShowLoading(){return this._isSymbolShowLoading}set isFootprintShowLoading(e){this._isFootprintShowLoading=e,this.notify()}get isFootprintShowLoading(){return this._isFootprintShowLoading}set isD3ModelShowLoading(e){this._isD3ModelShowLoading=e,this.notify()}get isD3ModelShowLoading(){return this._isD3ModelShowLoading}set isImagesShowLoading(e){this._isImagesShowLoading=e,this.notify()}get isImagesShowLoading(){return this._isImagesShowLoading}set d3ModelItem(e){this._d3ModelItem=e,this.notify()}get d3ModelItem(){return this._d3ModelItem}set path(e){this._path=e,this.notify()}get path(){return this._path}setLoadingStatus(){this.symbolItem=null,this.footPrintItem=Pg.createEmptyFootprintItem(),this.d3ModelItem=null,this.imageItem=null,this.d3ModelInfo={id:"",transform:""},this.isSymbolShowLoading=!1,this.isFootprintShowLoading=!1,this.isImagesShowLoading=!1,this.isD3ModelShowLoading=!1,this.path="",this.footprintPreviewStr="",this.showD3preview=!1,this.footprintIframeId=""}exit(){this.setLoadingStatus()}};var jat=class extends D3{constructor(i){super();this._key=0;this.parent=i,this._model="detail",this.searchPlaceHolder="Search, at lease 2 charaters"}set key(i){this._key=i,this.notify()}get key(){return this._key}set searchEngine(i){this._searchEngine=i,this.notify()}get searchEngine(){return this._searchEngine}get searchHistoryType(){return this.searchEngine==="block_symbol"?Tt.CBB:Tt.DEVICE}set model(i){this._model=i,this.notify()}get model(){return this._model}resetSearchEngine(){var i;this.searchEngine=Ko||_t||Ej.includes((i=this.parent.dialogProps)==null?void 0:i.deviceType)||this.parent.dialogProps.scenesType==="replaceSheet"||this.parent.dialogProps.scenesType==="sim"?"eda":"lcsc"}exit(){this.resetSearchEngine(),this.key=0,this.baseExit("Search, at lease 2 charaters")}};var Bat=class extends qe{constructor(){super(),this._sortParams={}}set sortParams(e){this._sortParams=e}get sortParams(){return this._sortParams}exit(){this._sortParams={}}};var zat=class extends nf{constructor(i){super();this.getColKey=i=>{switch(i){case"index":return"numberIndex";case"owner":return"ownerBelong";case"tags":return"category";case"updateTime":return"updated_at";case"createTime":return"created_at";case"version":return"versionTimeString";case"modifier":return"modifier_name";default:return i}};this.parent=i,this._selectElementDisabled=!0,this._tableCols=[],this._deviceComponentDetail=null,this._selectedDeviceItem=null,this._partIndex=0,this._partValue=[""],this._isUpdateHeight=!1}get dataType(){return Tt.DEVICE}set deviceTableData(i){this._deviceTableData=i,this.notify()}get deviceTableData(){return this._deviceTableData}set selectElementDisabled(i){this._selectElementDisabled=i,this.notify()}get selectElementDisabled(){return this._selectElementDisabled}set deviceComponentDetail(i){this._deviceComponentDetail=i,this.notify()}get deviceComponentDetail(){return this._deviceComponentDetail}set partValue(i){this._partValue=i}get partValue(){return this._partValue}set isUpdateHeight(i){this._isUpdateHeight=i,this.notify()}get isUpdateHeight(){return this._isUpdateHeight}set partIndex(i){this._partIndex=i}get partIndex(){return this._partIndex}set tableCols(i){this._tableCols=i,this._tableCols.forEach(o=>{o.onCell=(r,n,a)=>{if(r.errorFootprint&&a==="footprint_name"||r.errorSymbol&&a==="symbol_name"||r.error3DModel&&a==="3D Model Title")return{style:{color:"red"}}}}),this.notify()}get tableCols(){return this._tableCols}set selectedDeviceItem(i){this._selectedDeviceItem=i}get selectedDeviceItem(){return this._selectedDeviceItem}exit(){this.baseExit(),this._selectElementDisabled=!1,this.tableCols=[]}updateTableColsProfile(i){let o=i||rV();return o=o.map(r=>({key:this.getColKey(r.id),name:r.value,sortable:!0,width:["index","numberIndex"].includes(r.id)?50:1/(o.length-1)})),o=this.findEmptyCol(o),o}setRequestId(i){this.componentListRequestId=i}async refreshComponentGridList(i,o,r="",n=[],a,s,l){var u,p;let c=i;if(this.selectedLibIds=[i],this.facets={},this.componentListLoadStatus="Loading",i===_e.LIB_INTERNAL_KEY){let m=await Zee.getDeviceList(this.pageNumber,this.pageSize,n,this.setRequestId.bind(this),r,a,"grid");if(Wh(m)||console.error(m),this.componentListRequestId!==m.requestId)return;m.success?(this.totalCount=m.result.count,this.pageNumber=m.result.page||1,this.totalPage=m.result.totalPage||1,this.deviceTableData=m.result.lists||[],this.deviceTableData.length?this.componentListLoadStatus="":this.componentListLoadStatus="No Results!",this.tableCols=this.updateTableColsProfile(),r!=null&&r.trim()&&(this.facets=await $q({uid:i,pageSize:this.pageSize,page:this.pageNumber,wd:r},this.totalCount),l&&l("search"))):this.componentListLoadStatus="No Results!";return}if(n[0]===_e.CATEGORY_ITEM_ALL_VALUE&&(n=[]),!r||!r.trim()){let m=await uF.getDeviceList(i,o,this.pageNumber,this.pageSize,n,this.setRequestId.bind(this),(u=this.parent.dialogProps)==null?void 0:u.deviceType,s,a,"grid");if(m.success||console.error(m),this.componentListRequestId!==m.requestId)return;if(m.result){this.totalCount=m.result.count,this.pageNumber=m.result.page||1,this.totalPage=m.result.totalPage||1;let h=m.result.lists||[];for(let f of h)f.attributes.Footprint&&f.footprint_info==null&&(f.footprint_name="Abnormal data!",f.errorFootprint=!0),f.attributes.Symbol&&f.symbol_info==null&&(f.symbol_name="Abnormal data!",f.errorSymbol=!0);h.length>=1?(this.deviceTableData=h,this.componentListLoadStatus=""):(this.deviceTableData=[],this.componentListLoadStatus="No Results!")}else this.totalCount=0,this.componentListLoadStatus="No Results!";if(this.tableCols=this.updateTableColsProfile(),IP(i)&&s==="sim"){let h=await FV(this.deviceTableData);this.componentListRequestId===m.requestId&&(this.deviceTableData=h)}this.tableCols=this.updateTableColsProfile();return}let d=await uF.getSearchDeviceList(i,r,o,this.pageNumber,this.pageSize,n,this.setRequestId.bind(this),(p=this.parent.dialogProps)==null?void 0:p.deviceType,s,this.libList,m=>{this.facets=m},a,"grid");if(d.success||console.error(d),this.componentListRequestId===d.requestId){if(d.result){this.totalCount=d.result.facets[c]?Number(d.result.facets[c]):0;let m=d.result.lists[c]||[];m.length>=1?(this.deviceTableData=m,this.componentListLoadStatus=""):(this.deviceTableData=[],this.componentListLoadStatus="No Results!")}else this.componentListLoadStatus="No Results!";if(this.tableCols=this.updateTableColsProfile(),l&&l("search"),IP(i)&&s==="sim"){let m=await FV(this.deviceTableData);this.componentListRequestId===d.requestId&&(this.deviceTableData=m)}this.tableCols=this.updateTableColsProfile()}}async fetchComponentItem(i,o,r,n){let a={code:-1,msg:"",success:!0,result:null},s=null;return n==="symbol"?s=await Ze.getSymbol({isProject:r===C.currentProject.projectId,uuid:o,path:r}).catch(l=>null):s=await Ze.getFootprint({isProject:r===C.currentProject.projectId,uuid:o,path:r}).catch(l=>null),s?(a.code=0,{...a,result:s}):a}async refreshComponentItem(i,o){let r={device:i,symbol:i.symbol_info,footprint:i.footprint_info};this.deviceComponentDetail=r,this.componentItemLoadStatus=r?"":"No Results!",this.notify(),o&&o(this.deviceComponentDetail)}findEmptyCol(i){let o=["LCSC Stock","LCSC Price","JLCPCB Stock","JLCPCB Price","JLCPCB Part Class"],r=c=>this.selectedLibIds[0]===bo.getInstance().usedId&&o.includes(c);if(!this.deviceTableData.length)return i;let n=i||this.tableCols,a=[];[...n].forEach(c=>{a.push(c.key),this.deviceTableData.forEach(d=>{(r(c.key)||(d!=null&&d.attributes[c.key]||d[this.getColKey(c.key)])&&a[a.indexOf(c.key)])&&a.splice(a.indexOf(c.key),1)})});let s=[...n].filter(c=>!a.includes(c.key));return s=(c=>{let d=[];return c.forEach(u=>{let p={key:u.key,name:u.name,width:["index","numberIndex"].includes(u.key)?50:1/(c.length-1),sortable:!0};d.push(p)}),d})(s),s}clearAllRemoteData(i=!1){this.clearSelectedRowsBase(),this.deviceTableData=[],this.componentItemId=null,this.deviceComponentDetail=null,this.selectElementDisabled=!0,i&&(this.pageNumber=1)}};var Fat=class extends dm{constructor(){super()}exit(){this.baseExit()}async initialLibList(e,i){this.initalLibList=await this.createInitLibList(e,this.isFromProject,this.path,i)}removeProjectLib(e){let i=Ft(e,"key","project");i.index>=0&&e.splice(i.index,1)}addInternalLib(e){if(Ft(e,"key",Yt.INTERNAL).index===-1){let o=Ft(e,"key",_e.LIB_SYSTEM_KEY).index;e.splice(o,0,{title:"Material Library",id:_e.LIB_INTERNAL_KEY,key:_e.LIB_INTERNAL_KEY})}}async createInitLibList(e,i,o,r){let n=[];if(e===Hs.Normal)return wi?N0?n=await BTe():Tn?n=await GZ():n=await Nje():n=await Rpe(),r&&this.removeProjectLib(n),C.isOpenInternalLib&&this.addInternalLib(n),n;if(e===Hs.Cbb)return!wi||N0?(n=await this.createSourceLibListInWebModeCbb(),r&&this.removeProjectLib(n),n):Tn?(n=await this.createSourceLibListByHalfofflineClientModeWithCbb(),n):(n=await this.createSourceLibListByOfflineClientModeWithCbb(),n)}async createSourceLibListInWebModeCbb(){let e=await _Te(),i=mt.getLanguage(),o=[{title:"System",id:bo.getInstance().usedId,key:"system"},{title:i==="en"?"OSHWLab":"OSHWHub",id:"oshwhub",key:"oshwhub"},{title:"Personal",id:"",key:"personal"},{title:"Project",id:"",key:"project"},{title:"Favorite",id:_e.FAVORITELIB_UUID,key:"favorite"}];if(_t){let r=Ft(o,"key","oshwhub");r.index>=0&&o.splice(r.index,1)}return[...o,...e]}async createSourceLibListByHalfofflineClientModeWithCbb(){let e=await wd();if(!e)return await GZ()[0];let i=[],{projectPath:o,cbbPath:r,libPath:n=[],onlinePrjBackupPath:a,autoCheckVersionUpdate:s}=e;return n.forEach(l=>{i.push({title:xV(l),id:l,key:l})}),i.splice(1,0,{title:"Project",id:"",key:"project"}),[...i]}async createSourceLibListByOfflineClientModeWithCbb(){let e=await wd();if(!e)return await GZ()[0];let i=[],{projectPath:o,cbbPath:r,libPath:n=[],onlinePrjBackupPath:a,autoCheckVersionUpdate:s}=e;return n.forEach(l=>{i.push({title:xV(l),id:l,key:l})}),i.splice(1,0,{title:"Project",id:"",key:"project"}),[...i]}isTeamsLib(e){let i=!1;return this.cacheLibList.forEach(o=>{if(o.id===e){i=o.key===_e.LIB_TEMAS_KEY;return}}),i}};var Uat=class extends Hb{constructor(){super();this._activeDoctype=null;this.getProjectReuseBlockByCbbRow=async i=>{var r,n;switch(this.getReuseBlockChildType(i)){case"pcb":{let{message:a}=await C.messageBus.rpcCall($e.PCB.GET_BY_TITLE,[i.title,C.currentProject.projectId]);return a}case"schematic":case"symbol":{let a=i.name||i.title,{message:s}=await C.messageBus.rpcCall($e.SCHEMATIC.GET_BY_NAME,[a,C.currentProject.projectId]),{message:l}=await C.messageBus.rpcCall($e.SYMBOL.GET_BY_TITLE,[a,C.currentProject.projectId]),c=(l||[]).find(d=>d.docType===se.BLOCK_SYMBOL);return c||s?{schematic:s,blockSymbol:c}:null}case"sheet":{let a=(n=(r=await Tpi({path:i.project_uuid,uuids:[i.schematic_uuid]}))==null?void 0:r[0])==null?void 0:n.name,{message:s}=await C.messageBus.rpcCall($e.SCHEMATIC.GET_BY_NAME,[a,C.currentProject.projectId]);if(!(s!=null&&s.uuid))return null;for(let{uuid:l}of s.sort){let c=(await C.messageBus.rpcCall($e.SHEET.GET,[l,C.currentProject.projectId])).message;if(c.title===i.title)return c.titleWithSchematic=`${a}.${c.title}`,c}return null}default:return console.warn("getProjectReuseBlockByCbbRow: error used"),null}};this.getReuseBlockChildType=i=>{if(!i.docType&&i.sheet_count!=null)return"schematic";switch(i.docType){case se.BLOCK_SYMBOL:return"symbol";case se.PCB:return"pcb";case se.SCH:return"sheet";default:throw new Error(`getReuseBlockChildType: can not read block type of ${i}`)}};this._dialogProps=null,this.libListModel=new Fat,this.componentSearchModel=new jat(this),this.categoryModel=new xat,this.componentTable=new zat(this),this.componentPreview=new _at,this.componentDetailList=new Oat(this),this.componentFilterList=new Rat,this.componentBottomButton=new Lat,this.componentSort=new Bat,this.componentCbbTable=new Eat,this.componentCbbPreview=new Dat}get dataType(){return this.componentSearchModel.searchEngine==="block_symbol"?Tt.CBB:Tt.DEVICE}set dialogProps(i){this._dialogProps=i}get dialogProps(){return this._dialogProps}set activeDoctype(i){i!==this._activeDoctype&&(this._activeDoctype=i,this.notify())}get activeDoctype(){return this._activeDoctype}updateNotify(){this.removeData(),this.notify()}initPageSize(){this.componentCbbTable.initPageSize(),this.componentTable.initPageSize(),this.componentDetailList.initPageSize("chart")}whenMounted(i){this.dialogReady=!0,this.activeDoctype=dt(),i&&this.notify(),this.libListModel.cacheLibList.length||this.libListModel.initialLibList(Hs.Normal,this.dialogProps.scenesType==="basicLibrary").then(()=>{this.initLibList(Hs.Normal)})}initLibList(i){this.initPageSize(),this.componentSceneType=i,this.libListModel.initialLibList(i,this.dialogProps.scenesType==="basicLibrary").then(()=>{this.libListModel.freshInitLibList([this.libListModel.getSelectedTruthLibIds()[0]||bo.getInstance().usedId],!0).then(async o=>{this.componentDetailList.libList=ue.deepClone(this.libListModel.cacheLibList),this.componentDetailList.facets=JSON.parse(JSON.stringify(this.libListModel.facets)),this.componentTable.libList=ue.deepClone(this.libListModel.cacheLibList),this.componentTable.facets=JSON.parse(JSON.stringify(this.libListModel.facets)),this.componentCbbTable.libList=ue.deepClone(this.libListModel.cacheLibList),await this.whenLibSelectedChanged()})})}async refreshLibList(){await uj(C.workspace),await NT(),this.componentSearchModel.searchEngine==="block_symbol"?this.initLibList(Hs.Cbb):this.initLibList(Hs.Normal)}async refresh(){if(!this.dialogReady)return;let i=this.libListModel.getSelectedTruthLibIds(),o=i[0];await this.libListModel.initialLibList(this.componentSceneType,this.dialogProps.scenesType==="basicLibrary"),await this.libListModel.freshInitLibList([i[0]||bo.getInstance().usedId],!0),this.componentDetailList.projectsIds=JSON.parse(JSON.stringify(this.libListModel.projectsIds)),this.componentDetailList.libList=ue.deepClone(this.libListModel.cacheLibList),this.componentDetailList.facets=JSON.parse(JSON.stringify(this.libListModel.facets)),this.componentTable.libList=ue.deepClone(this.libListModel.cacheLibList),this.componentTable.facets=JSON.parse(JSON.stringify(this.libListModel.facets)),this.componentCbbTable.libList=ue.deepClone(this.libListModel.cacheLibList),o!==i[0]&&await this.whenLibSelectedChanged()}whenUnmounted(i=!1){(i||!["placeDevice"].includes(this.dialogProps.scenesType))&&(this.libListModel.exit(),this.componentSearchModel.exit(),this.categoryModel.exit(),this.componentTable.exit(),this.componentPreview.exit(),this.componentDetailList.exit(),this.componentFilterList.exit(),this.componentCbbPreview.exit(),this.componentBottomButton.exit(),this.componentCbbTable.exit(),this.dialogProps=null,this.baseExit())}removeData(){this.libListModel.exit(),this.componentSearchModel.exit(),this.categoryModel.exit(),this.componentTable.exit(),this.componentPreview.exit(),this.componentDetailList.exit(),this.componentFilterList.exit()}async whenWidgetsPropsUpdate(i){this.componentPreview.setLoadingStatus(),this.dialogProps=i,this.dialogProps.wantSelectedLibItemId&&(this.libListModel.selectedIds=[this.dialogProps.wantSelectedLibItemId]),this.dialogProps.searchInputValue&&(this.componentSearchModel.searchValue=this.dialogProps.searchInputValue,this.componentSearchModel.isInSearchingStatus=!0),this.componentSearchModel.resetSearchEngine(),this.dialogProps.componentItemId&&(this.componentTable.componentItemId=this.dialogProps.componentItemId),this.dialogProps.scenesType&&this.resetBottomBtn(),await PQe()}isNeedPublicLib(){return this.componentSearchModel.searchEngine!=="block_symbol"&&!Je}resetBottomBtn(){this.componentBottomButton.resetOptionBtn(this.dialogProps.scenesType,this.componentSearchModel.searchEngine,this.componentSearchModel.model)}initBottomBtnDisabled(){this.componentTable.selectElementDisabled=!0,this.componentBottomButton.updateButtonDisabledStatus(this.dialogProps.scenesType,{disabled:!0})}async whenSwitchModel(){this.initPageSize(),this.isDetailModel()?this.componentDetailList.pageNumber=this.componentTable.pageNumber:this.componentTable.pageNumber=this.componentDetailList.pageNumber,this.resetBottomBtn(),this.componentDetailList.currentClickComponentDetailListItem&&(this.componentDetailList.currentClickComponentDetailListItem=null),await this.updateDeviceList(!1,!1)}isDetailModel(){return(this.componentSearchModel.model==="detail"||["lcsc"].includes(this.componentSearchModel.searchEngine))&&this.componentSearchModel.searchEngine!=="block_symbol"}async whenSwitchSearchEngine(i){if(this.componentSearchModel.searchEngine===i)return;let o=this.componentSearchModel.searchEngine;if(this.componentSearchModel.searchEngine=i,i==="block_symbol"){this.componentBottomButton.optionBtn=this.componentCbbPreview.bottomBtn,this.initLibList(Hs.Cbb);return}else if(o==="block_symbol"){this.resetBottomBtn(),this.initLibList(Hs.Normal);return}this.resetBottomBtn(),this.libListModel.selectedIds=[this.libListModel.cacheLibList[0].id],this.componentSearchModel.searchEngine==="lcsc"&&this.componentSort.exit(),await this.whenLibSelectedChanged()}updateLcscFilterData({filterData:i,componentFilterListLoadStatus:o}){this.componentFilterList.clearData();let r=this.componentFilterList.initLcscFilterData(i);this.componentFilterList.filterData=r,this.componentFilterList.componentFilterListLoadStatus=o}updateLibSearchNumber(){this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,this.isNeedPublicLib(),!1,!0,this.dataType),this.componentSearchModel.isInSearchingStatus,this.isDetailModel()?this.componentDetailList.facets:this.componentTable.facets)}searchVerify(){var i,o;if(((i=this.componentSearchModel.searchValue)==null?void 0:i.trim().length)>128){this.searchValueLengthVerify();return}if((o=this.componentSearchModel.searchValue)!=null&&o.trim()&&SQe(this.componentSearchModel.searchValue)&&this.componentSearchModel.searchEngine!=="block_symbol"&&this.componentSearchModel.searchEngine!=="eda"){this.whenSwitchSearchEngine("eda");return}}needUpdateFilterData(i,o=[]){return this.dialogProps.scenesType==="sim"||this.libListModel.getSelectedTruthLibIds()[0]===_e.RECENT_LIB_UUID?!1:i&&this.componentSearchModel.searchEngine==="lcsc"?!0:i&&!this.libListModel.projectLib&&o.length>0}async updateDeviceList(i=!1,o=!0){!this.componentSearchModel.searchValue||!this.componentSearchModel.isInSearchingStatus?this.clearSearchStatusData():(this.searchVerify(),this.categoryModel.renderCategoryList[0]&&(this.categoryModel.renderSelectedIds=[this.categoryModel.renderCategoryList[0].id.toString()]));let r=this.categoryModel.renderSelectedIds;this.componentSearchModel.searchEngine!=="lcsc"&&this.categoryModel.renderSelectedIds[0]===_e.CATEGORY_ITEM_ALL_VALUE?r=[]:this.categoryModel.childCategory2ParentCategoryMap[this.categoryModel.renderSelectedIds[0]]&&(r=[this.categoryModel.childCategory2ParentCategoryMap[this.categoryModel.renderSelectedIds[0]],this.categoryModel.renderSelectedIds[0]]);let n=this.needUpdateFilterData(i,r);if(n&&this.componentFilterList.initLoadingStatus(),this.isDetailModel()){this.componentDetailList.clearRemoteData(o);let a=this.componentSort.sortParams;Object.keys(a).forEach(l=>{a[l]||delete a[l]});let s=this.libListModel.getSelectedTruthLibIds();await this.componentDetailList.refreshComponentDetailList(s[0],s[0],this.componentSearchModel.isInSearchingStatus?this.componentSearchModel.searchValue:"",r,this.componentSearchModel.searchEngine,n,this.componentFilterList.filterConditionParams,a,this.dialogProps.scenesType,this.updateLcscFilterData.bind(this),this.componentSearchModel.isInSearchingStatus?this.updateLibSearchNumber.bind(this):void 0)}else if(this.componentSearchModel.searchEngine==="eda"){let a=this.libListModel.getSelectedTruthLibIds();this.componentPreview.exit(),this.componentTable.clearAllRemoteData(o),this.initBottomBtnDisabled(),await this.componentTable.refreshComponentGridList(a[0],a[0],this.componentSearchModel.isInSearchingStatus?this.componentSearchModel.searchValue:"",r,this.componentFilterList.filterConditionParams,this.dialogProps.scenesType,this.componentSearchModel.isInSearchingStatus?this.updateLibSearchNumber.bind(this):void 0)}else{let a=this.libListModel.getSelectedTruthLibIds();this.componentCbbPreview.defaultPreviewStatus(),this.updateBottomBtn(this.componentCbbPreview.bottomBtn),await this.componentCbbTable.refreshComponentGridList(a[0],a[0],this.componentSearchModel.isInSearchingStatus?this.componentSearchModel.searchValue:"",r,this.libListModel.isTeamsLib(a[0]),()=>{this.libListModel.cacheLibList=this.libListModel.updateLibListByLibItems(this.libListModel.cacheLibList,this.isNeedPublicLib(),!Je,!0,this.dataType)})}if(n&&this.componentSearchModel.searchEngine==="eda"){let a=this.libListModel.getSelectedTruthLibIds();a[0]===_e.LIB_INTERNAL_KEY?await this.componentFilterList.getInternalLibDeviceAttr(r,this.componentSearchModel.searchValue):await this.componentFilterList.refreshComponentEDAFilterList(this.categoryModel.getCategoryTagsName(r[0]),a[0],a[0])}}async getCategoryList(){this.categoryModel.searchValue="",await this.categoryModel.getCategoryData(this.componentSearchModel.searchEngine,this.libListModel.getSelectedTruthLibIds()[0],this.libListModel,this.dialogProps.scenesType,this.dialogProps.deviceType)}async whenCategorySelectedChanged(){this.componentSearchModel.isInSearchingStatus=!1,await this.updateDeviceList(!0)}clearSearchStatusData(){let i=!Je;this.libListModel.refreshLibListByFacets(this.libListModel.updateLibListByLibItems(this.libListModel.initalLibList,this.isNeedPublicLib(),i,!0,this.dataType),!1,{}),this.syncAsscociaPropsUpdate({kv:{facets:{}},targets:["componentDetailList","componentTable","componentCbbTable"]})}async whenExitSearchStatus(){this.categoryModel.initSelectToDefault(this.componentSearchModel.searchEngine,this.libListModel.getSelectedTruthLibIds()[0]),await this.updateDeviceList(this.componentSearchModel.searchEngine==="lcsc")}async whenLibSelectedChanged(){this.libListModel.projectLib=this.libListModel.isSelectedProject(),this.componentCbbTable.isFromProject=this.libListModel.projectLib,this.categoryModel.clearCategoryList(this.componentSearchModel.searchEngine==="lcsc"),this.componentTable.clearAllRemoteData(),this.componentDetailList.clearRemoteData(),this.componentSearchModel.searchEngine!=="lcsc"&&this.componentSort.exit(),this.libListModel.getSelectedTruthLibIds()[0]!==bo.getInstance().usedId&&["lcsc"].includes(this.componentSearchModel.searchEngine)&&(this.componentSearchModel.searchEngine="eda"),await this.getCategoryList(),await this.updateDeviceList(!0)}async whenComponentListPageChanged(){await this.updateDeviceList(!1,!1)}async whenClickCbbTableRow(i){await this.componentCbbPreview.updatePreviewInfo(i,this.libListModel.getSelectedTruthLibIds()[0]),this.updateBottomBtn(this.componentCbbPreview.bottomBtn)}async whenClickCbbProjectTableRow(i){let{message:o}=await C.messageBus.rpcCall($e.PROJECT.GET,[i.project_uuid]);await this.componentCbbPreview.updateProjectPreviewInfo(i,o,this.libListModel.getSelectedTruthLibIds()[0]),this.updateBottomBtn(this.componentCbbPreview.bottomBtn)}async whenComponentSortChanged(){await this.updateDeviceList(!1,!1)}getPath(i,o){if(this.componentSearchModel.searchEngine==="lcsc")return this.libListModel.getSelectedTruthLibIds()[0];let r;return this.isDetailModel()?this.componentDetailList.detailListData.forEach(n=>{n.uuid===i&&(r=n.path||n.project_uuid||n.owner.uuid)}):this.componentTable.deviceTableData.forEach(n=>{n.uuid===i&&(r=n.path||n.project_uuid||n.owner.uuid)}),o&&(r=o(r),r)?r:this.libListModel.getSelectedTruthLibIds()[0]}getSchematicIdByBlockSymbolId(i){var n;let{schUuidToCbbSymbolDetailMap:o}=this.componentCbbPreview.selectedRowData,r;for(let a of Object.keys(o))if(((n=o[a])==null?void 0:n.uuid)===i){r=a;break}return r}async whenChangeSelectedBlockSymbol(i){let{project_detail:o,project_uuid:r}=this.componentCbbPreview.selectedRowData,n=this.libListModel.getSelectedTruthLibIds()[0],a=o.block_symbol.filter(d=>d.uuid===i)[0],{symbol:s,thumb:l,isOldCbb:c}=await IB(this.getSchematicIdByBlockSymbolId(i),i,a,o,r,this.libListModel.projectLib);s&&(await this.componentCbbPreview.updateBlockSymbolPreview("symbol",n,{symbolItem:s,blockSymbolId:i,thumb:l,isOldCbb:c}),await this.componentCbbPreview.updatePcbPreview("name",{name:s.display_title},o,n,r),await this.componentCbbPreview.updateSchPreview("name",{name:s.display_title},o,n,r),await this.componentCbbPreview.updateBtnBasedOnDoctype()),this.updateBottomBtn(this.componentCbbPreview.bottomBtn)}async whenChangeSelectedSch(i){let o=null,r,n;for(let c of this.componentCbbPreview.schSelectList)for(let d of c.sheets)d.uuid===i&&(o=d,r=c.uuid,n=c.display_name);let{project_detail:a,project_uuid:s}=this.componentCbbPreview.selectedRowData;await this.componentCbbPreview.updateSchPreview("sheet",{uuid:i,thumb:o.thumb},a,this.libListModel.getSelectedTruthLibIds()[0],s)&&(this.componentCbbPreview.updatePcbPreview("name",{name:n},a,this.libListModel.getSelectedTruthLibIds()[0],s),await this.componentCbbPreview.getBlockSymbol(r,this.libListModel.getSelectedTruthLibIds()[0])),this.updateBottomBtn(this.componentCbbPreview.bottomBtn)}async whenChangeSelectedPcb(i){let o=null;for(let s of this.componentCbbPreview.pcbSelectList)if(s.uuid===i){o=s;break}let{project_detail:r,project_uuid:n}=this.componentCbbPreview.selectedRowData;await this.componentCbbPreview.updatePcbPreview("pcb",{uuid:i,thumb:o.thumb,name:o.display_title},r,this.libListModel.getSelectedTruthLibIds()[0],n),await this.componentCbbPreview.updateSchPreview("name",{name:o.display_title},r,this.libListModel.getSelectedTruthLibIds()[0],n)?await this.componentCbbPreview.getBlockSymbol(this.componentCbbPreview.selectedSch.detail.uuid,this.libListModel.getSelectedTruthLibIds()[0]):this.componentCbbPreview.selectedSch.detail||await this.componentCbbPreview.updateBlockSymbolPreview("name",this.libListModel.getSelectedTruthLibIds()[0],{name:o.display_title}),this.updateBottomBtn(this.componentCbbPreview.bottomBtn)}updateTableModelBottomBtn(i){if(!i)return;let o=dt();i.device&&(this.dialogProps.scenesType==="placeDevice"||this.dialogProps.scenesType==="sim")?i.symbol&&(o==se.SCH||o===se.NGSPICE||o===se.SIMULIDE)||i.footprint&&o===se.PCB?this.componentTable.selectElementDisabled=!1:this.componentTable.selectElementDisabled=!0:i.device?this.componentTable.selectElementDisabled=!1:this.componentTable.selectElementDisabled=!0,this.componentBottomButton.updateButtonDisabledStatus(this.dialogProps.scenesType,{disabled:this.componentTable.selectElementDisabled,addedBasicDevices:this.dialogProps.basicDevices,deviceId:this.componentTable.componentItemId})}async whenComponentListRowSelectedChanged(i){this.componentPreview.setLoadingStatus(),this.initBottomBtnDisabled();let o=r=>{var a,s;r.symbol?this.componentPreview.symbolItem=r.symbol:this.componentPreview.symbolItem=null;let n=r.device.images;n&&(Array.isArray(n)?this.componentPreview.imageItem=r.device.images[0]:this.componentPreview.imageItem=r.device.images),r.footprint&&(this.componentPreview.footPrintItem=r.footprint),(s=(a=r.device)==null?void 0:a.attributes)!=null&&s["3D Model"]&&(this.componentPreview.d3ModelInfo.id=r.device.attributes["3D Model"],this.componentPreview.d3ModelInfo.transform=r.device.attributes["3D Model Transform"]||"",this.componentPreview.path=this.libListModel.getSelectedTruthLibIds()[0])};await this.componentTable.refreshComponentItem(i,o),this.updateTableModelBottomBtn(this.componentTable.deviceComponentDetail)}async whenChangeFilterCondition(){await this.updateDeviceList(!1)}updateMultiPartInfo(i,o){this.componentTable.partIndex=i,this.componentTable.partValue=o}async setPlaceSymbolData(i){let o=this.isDetailModel()?0:this.componentTable.partIndex||0;i.svgStr=await Cr("getPartSvgStr",{partIndex:o,component:i})}updateBaseLibraryDevice(i,o,r){if(this.componentSearchModel.model==="grid"&&this.componentBottomButton.updateButtonDisabledStatus(this.dialogProps.scenesType,{disabled:this.componentTable.selectElementDisabled,addedBasicDevices:this.dialogProps.basicDevices,deviceId:this.componentTable.componentItemId,operate:o}),o==="add")this.dialogProps.basicDevices.push(i);else{let a=this._dialogProps.basicDevices.indexOf(i);this._dialogProps.basicDevices.splice(a,1)}let n={deviceId:i,operate:o,path:this.libListModel.getSelectedTruthLibIds()[0],tagName:r};C.messageBus.publish("updateBaseLibrary",n)}async smtSelectDevice(i){if(i){let o=n=>n!==null&&n.tagName==="IFRAME",r=document.getElementById("bomMatching");o(r)&&r.contentWindow&&r.contentWindow.postMessage({deviceInfo:i},"*"),this.closeDialog()}}standardizationSelectDevice(i){let o=this.libListModel.getSelectedTruthLibIds();C.messageBus.publish("openReplaceDeviceStandardizationDlgNew",{uuid:i,path:o[0],uid:o[0],isProject:this.libListModel.projectLib,isDeviceStandardization:!0,currentDeviceStandardizationRow:this.dialogProps.currentDeviceStandardizationRow}),this.closeDialog()}async assemblyVariantSelectDevice(i){let o=this.libListModel.getSelectedTruthLibIds(),{device:r,symbol:n,footprint:a}=i;try{let s=await Ze.createDevice({isProject:!0,path:C.currentProject.projectId,device:{uuid:r.uuid,path:o[0],isProject:o[0]===C.currentProject.projectId}});C.messageBus.publish("assembly_alterDevice",s)}catch{console.error("\u88C5\u914D\u53D8\u91CF \u65B0\u5EFAdevice\u5931\u8D25")}this.closeDialog()}async replaceDeviceSelect(i){var a;if(!i){De({type:"info",msg:"No data, please try again later!"});return}let{device:o}=i,{uuid:r}=o,n=this.getPath(r,s=>s);if(Ej.includes((a=this.dialogProps)==null?void 0:a.deviceType)){let s=await Oet(this.libListModel.projectLib,n,o,!1,!1);if(!s)De({type:"error",msg:"\u6DFB\u52A0\u5DE5\u7A0B\u5E93\u5931\u8D25"});else{let{device:l,symbol:c}=s,d=Km.getInstance().contentStore.tableData,u={};d.forEach(p=>{u[p.tabId]?u[p.tabId]=u[p.tabId].concat(p.id):u[p.tabId]=[p.id]}),await C.messageBus.rpcCall("sch/replaceNotDeviceType",{target:u,deviceUuid:l.uuid,symbolUuid:c.uuid}),C.messageBus.publish("sch/renderPropertyPanel",{renderUI:!0})}}else C.messageBus.publish("openReplaceDeviceDlgNew",{uuid:r,path:n,uid:this.libListModel.getSelectedTruthLibIds()[0],isProject:this.libListModel.projectLib});this.closeDialog()}async placeDevice(i){let o=dt();!i||o===se.SCH&&!i.symbol||o===se.PCB&&!i.footprint||(i.symbol&&await this.setPlaceSymbolData(i.symbol),await N4.placeDevice(i.device,this.libListModel.projectLib,dt(),i.symbol,i.footprint,this.getPath(i.device.uuid,r=>r||i.device.path)),this.closeDialog())}updateBottomBtn(i){this.componentBottomButton.optionBtn=i}async placeCBB(i){if(je())return;if(!Je&&!await tj()){De({type:"error",msg:"No permission or project does not exist"});return}let o=this.libListModel.projectLib,r=dt(),n=i==="blockSymbol"||o&&r===se.PCB?this.componentCbbPreview.placeBlockSymbolData:this.componentCbbPreview.placeDocumentData;if(!n)return;let a=n.title||n.name;if(o)!n&&!n.doctype&&(n=(await C.messageBus.rpcCall("judgeAndAddBlockSymbolBySchematic",n.uuid)).message),this.place(r,n);else if(r==se.PCB){let s=await this.getProjectReuseBlockByCbbRow(n);s?Que({title:a,type:"pcb",importAndPlace:async()=>{this.place(r,await this.importCBB(n,!0))},place:async()=>{this.place(r,s)}}):this.place(r,await this.importCBB(n))}else if(r===se.SCH){let s=await this.getProjectReuseBlockByCbbRow(n);if(!s)this.place(r,await this.importCBB(n));else{let l=s.docType===se.SCH?"sheet":s.schematic?"schematic":"symbol";Que({title:l==="sheet"?s.titleWithSchematic:a,type:l,importAndPlace:async()=>{this.place(r,await this.importCBB(n,!0))},place:async()=>{let c=this.getReuseBlockChildType(n);if(["schematic","symbol"].includes(c)){let{schematic:d,blockSymbol:u}=s;return d?u||(u=(await C.messageBus.rpcCall("judgeAndAddBlockSymbolBySchematic",d.uuid)).message):await C.messageBus.rpcCall("judgeAndAddSchematicByBlockSymbol",u.uuid),this.place(r,u)}this.place(r,s)}})}}this.closeDialog()}async placeCbbSheet(){var i,o,r;C.messageBus.publish("cbbSheet_place",{sheet:this.componentCbbPreview.placeDocumentData,sourceProjectId:(r=(o=(i=this.componentCbbPreview)==null?void 0:i.selectedRowData)==null?void 0:o.project_detail)==null?void 0:r.uuid}),this.closeDialog()}async place(i,o){var r,n,a,s,l,c,d,u,p;i==se.PCB?await GLo(o.title,(a=(n=(r=this.componentCbbPreview)==null?void 0:r.selectedRowData)==null?void 0:n.project_detail)==null?void 0:a.uuid):i===se.SCH&&(o.docType===se.BLOCK_SYMBOL?(o.multiPartIndex=0,o.multiPartIdArr=[""],N4.placeSymbol({symbolData:o,sourceProjectId:(c=(l=(s=this.componentCbbPreview)==null?void 0:s.selectedRowData)==null?void 0:l.project_detail)==null?void 0:c.uuid})):C.messageBus.publish("cbbSheet_place",{sheet:o,sourceProjectId:(p=(u=(d=this.componentCbbPreview)==null?void 0:d.selectedRowData)==null?void 0:u.project_detail)==null?void 0:p.uuid}))}async importCBB(i,o=!1){let r=this.getReuseBlockChildType(i),n=(await C.messageBus.rpcCall("cbbImport",{data:i,forceImport:o})).message;switch(r){case"schematic":{let a=(await C.messageBus.rpcCall($e.SCHEMATIC.GET_NAME_BY_UUID,[n.schematicMap[i.uuid],C.currentProject.projectId])).message;return((await C.messageBus.rpcCall($e.SYMBOL.GET_BY_TITLE,[a,C.currentProject.projectId])).message||[]).find(s=>s.docType===se.BLOCK_SYMBOL)}case"symbol":return(await C.messageBus.rpcCall($e.SYMBOL.GET,[n.symbolMap[i.uuid],C.currentProject.projectId])).message;case"sheet":return(await C.messageBus.rpcCall($e.SHEET.GET,[n.sheetMap[i.uuid],C.currentProject.projectId])).message;case"pcb":return(await C.messageBus.rpcCall($e.PCB.GET,[n.pcbMap[i.uuid],C.currentProject.projectId])).message;default:throw Error(`importCBB: invalid reuse block type: ${r}`)}}whenChangeFilterExpandStatus(){this.componentSearchModel.model==="grid"&&(this.componentTable.isUpdateHeight=!0,this.componentFilterList.isUpdateExpandStatus=!0)}getSelectedLibInfo(){let i,o;for(let r=0;r<this.libListModel.cacheLibList.length;r+=1){let n=this.libListModel.cacheLibList[r];if(n.id===this.libListModel.getSelectedTruthLibIds()[0]){this.componentSearchModel.searchEngine==="block_symbol"&&Je&&n.key!=="project"?i=Yt.PERSONAL:n.key==="favorite"?i=n.id:C.extendLibStore.manager.hasLib(n.id)?i=Yt.EXTEND:i=n.key,o=n.id;break}}return{type:i,uuid:o}}closeDialog(){["placeDevice"].includes(this.dialogProps.scenesType)?le.hide(this.dialogProps.componentItemId):le.close(this.dialogProps.componentItemId)}handelCloseDialog(i){le.hide(this.dialogProps.componentItemId)}refreshDeviceListRow(i,o,r){let n=this.getSelectedLibInfo(),a=this.isDetailModel()?ue.deepClone(this.componentDetailList.detailListData):ue.deepClone(this.componentTable.deviceTableData);for(let s=0;s<a.length;s+=1){let l=a[s];if(l.uuid===i)switch(o){case"delete":{a.splice(s,1);break}case"favorite":{n.type===Yt.STAR?a.splice(s,1):l.isFavorite=r;break}case"addBaseLibrary":{l.isBasicLibrary=!0;break}case"removeBaseLibrary":{l.isBasicLibrary=!1;break}}}this.isDetailModel()?this.componentDetailList.detailListData=a:(this.componentBottomButton.updateButtonDisabledStatus(this.dialogProps.scenesType,{deviceId:i}),this.componentTable.deviceTableData=a)}async refreshList(){await this.updateDeviceList(!1,!1),this.componentCbbTable.refreshHash=Math.random()}whenContextMenuItemClick(i,o=[]){let r=this.libListModel.getSelectedTruthLibIds();this.isDetailModel()?sHt(i,this.componentDetailList.selectedDeviceItem,this.libListModel.projectLib,this.refreshList.bind(this),this.refreshDeviceListRow.bind(this),this.closeDialog.bind(this),r[0],o):sHt(i,this.componentTable.selectedDeviceItem,this.libListModel.projectLib,this.refreshList.bind(this),this.refreshDeviceListRow.bind(this),this.closeDialog.bind(this),r[0],o)}applyNewParts(){yM("apply_new_parts")}cbbAddOrRemoveFavorites(i,o){var n;let r=ue.deepClone(this.componentCbbTable.cbbTableData);for(let a=0;a<r.length;a+=1){let s=r[a];s.uuid===i&&(s.isFavorite=o,(n=s.project_detail)!=null&&n.isFavorite&&(s.project_detail.isFavorite=o))}this.componentCbbTable.cbbTableData=r}async whenCbbContextMenuItemClick(i,o){SMe(i,o,this.libListModel.projectLib,this.refreshList.bind(this),"chooseDeviceDialogContainer")}async getDeviceDetail(i){let o=await Ze.getDevice({isProject:C.currentProject.projectId===this.libListModel.getSelectedTruthLibIds()[0],path:this.libListModel.getSelectedTruthLibIds()[0],uuid:i}).catch(r=>null);return!o.symbol_name&&o.symbol&&(o.symbol_name=o.symbol.display_title),!o.footprint_name&&o.footprint&&(o.footprint_name=o.footprint.display_title),o}syncAsscociaPropsUpdate({kv:i,targets:o}){o.forEach(r=>{let n=this[r];Object.keys(i).forEach(a=>{typeof n[a]<"u"&&(n[a]=i[a])})})}getDeviceOrigin(){switch(this.componentSearchModel.searchEngine){case"eda":return"eda";case"lcsc":return"lcsc";default:console.error("Error Device Origin")}}async replaceSheet(i,o=!1){this.dialogProps.onDialogConfirm&&await this.dialogProps.onDialogConfirm({deviceItem:o?null:i.device,path:this.libListModel.getSelectedTruthLibIds()[0]}),this.closeDialog()}},Hy=(0,HLo.createContext)(void 0);var Vat=L(Se());var YLo=L(E8());var dHt=L(z()),{locals:T$r}=YLo.default;function S$r(t){let e=J(),i=`${T$r["liblist-section"]}`,o=(0,Vat.useContext)(Hy);Ce(o.libListModel);let r=async s=>{o.libListModel.selectedIds=s,await o.whenLibSelectedChanged()},n=()=>{o.libListModel.searchValue=""},a=()=>{o.refreshLibList().then(()=>{o.componentSearchModel.searchValue?(o.componentSearchModel.isInSearchingStatus=!0,o.libListModel.isSearchStatus=!0,o.updateDeviceList(!0)):(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,o.whenExitSearchStatus())})};return(0,dHt.jsx)("section",{className:i,children:(0,dHt.jsx)(j3,{libList:o.libListModel.cacheLibList,selectedIds:o.libListModel.selectedIds,emptyLabel:o.libListModel.emptyLabel,selectedLibsAction:r,searchPlaceholder:o.libListModel.searchPlaceHolder,searchValue:o.libListModel.searchValue,clearSearchInputAction:n,libRefreshAction:a})})}var WLo=Vat.default.memo(S$r);var Hat=L(Se());var QLo=L(E8());var uHt=L(z()),{locals:M$r}=QLo.default;function I$r(t){let e=J(),i=`${M$r["category-section"]}`,o=(0,Hat.useContext)(Hy);Ce(o.categoryModel);let r=()=>{o.categoryModel.searchValue=""},n=async a=>{o.categoryModel.renderSelectedIds=a,await o.whenCategorySelectedChanged()};return(0,uHt.jsx)("section",{className:i,children:(0,uHt.jsx)(Gb,{selectedIds:o.categoryModel.renderSelectedIds,categoryList:o.categoryModel.renderCategoryList,searchPlaceholder:o.categoryModel.searchPlaceHolder,searchValue:o.categoryModel.searchValue,selectedCategoriesAction:n,clearSearchInputAction:r,libItemInfo:o.libListModel.currentSelectLibItem,initCategoryActiveTab:o.categoryModel.requestTypes[0],ownerSelectValue:o.libListModel.getSelectedTruthLibIds()[0],isUseOuterRefreshCallback:!0,outerRefreshCallback:o.getCategoryList.bind(o)})})}var KLo=Hat.default.memo(I$r);var LL=L(Se());var JLo=L(E8());function ZLo(){let t=[];return t.push({iconClassName:"icon-eda-refresh",type:"ITEM",title:me.i18n("Refresh"),cmd:"REFRESH"}),t}function oye(t,e,i){Au.open({position:{x:t,y:e},data:ZLo(),onClick(o,r,n,a){i&&i(o.cmdlink)},onEnterConfirm(o,r,n){i&&i(o)}})}var mR=L(z()),{locals:L$r}=JLo.default;function v$r(t){let e=J(),i=`display-flex flex-direct-column flex-main-axis-stretch ${L$r["table-section"]}`,o=(0,LL.useContext)(Hy);Ce(o),Ce(o.componentTable),Ce(o.categoryModel);let r=(0,LL.useRef)(null),[n,a]=(0,LL.useState)(0),s=(0,LL.useRef)([]),l=async f=>{let{selectedRowNumbers:g,tableData:b=[],clickObj:y}=f;if(b&&g&&(s.current&&s.current.length>0&&(s.current=[]),g.forEach(w=>s.current.push(b[w]))),y.clickCount===1){let w=b[g[g.length-1]];if(!w||o.componentTable.componentItemId===w.uuid)return;o.componentTable.componentItemId=w.uuid,o.componentTable.componentItem=w,await o.whenComponentListRowSelectedChanged(w)}else y.clickCount===2&&C.messageBus.publish("ComponentTableSection_DbClick")},c=async(f,g)=>{o.componentTable.pageNumber!==g&&(o.componentTable.pageNumber=+g,await o.whenComponentListPageChanged())},d=async f=>{o.componentTable.pageSize=+f,Vg("table",f,"chooseDeviceDlg"),await o.whenComponentListPageChanged()},u=f=>{["ArrowDown","ArrowUp"].includes(f.code)&&f.preventDefault()};(0,LL.useEffect)(()=>(document.addEventListener("keydown",u),document.addEventListener("keypress",u),()=>{document.removeEventListener("keydown",u),document.removeEventListener("keypress",u)}),[]),(0,LL.useEffect)(()=>(r.current&&window.setTimeout(()=>{if(!r.current)return;let f=r.current.getBoundingClientRect();a(f.height),o.componentTable.isUpdateHeight=!1},200),()=>{}),[o.categoryModel.renderSelectedIds,o.componentTable.isUpdateHeight]),(0,LL.useEffect)(()=>{o.dialogProps&&o.dialogProps.scenesType==="placeDevice"&&o.updateTableModelBottomBtn(o.componentTable.deviceComponentDetail)},[o.activeDoctype]),Bt(f=>{o.componentTable.tableCols=o.componentTable.updateTableColsProfile(f)}).key("chooseDeviceDlg_custom_head"),Bt(async({deviceId:f,status:g})=>{o.componentSearchModel.model==="grid"&&(o.libListModel.getSelectedTruthLibIds()[0]===_e.FAVORITELIB_UUID?await o.refreshList():o.refreshDeviceListRow(f,"favorite",g))}).key("chooseDeviceDetailLibFav"),Bt(()=>{o.componentTable.initPageSize(),o.refreshList()}).key("updateChooseDeviceTablePageSize"),Bt(()=>{o.refreshList()}).key("refreshChooseDeviceList");let p=f=>{o.whenContextMenuItemClick(f,s.current)},m=(f,g)=>{let b={type:o.getSelectedLibInfo()};o.componentTable.selectedDeviceItem=f,DB({pageX:g.pageX,pageY:g.pageY,windowInstance:window,node:(0,mR.jsx)(EB,{tabName:Tt.DEVICE,baseMenuSelected:o.getSelectedLibInfo(),row:f,onClick:p})})},h=f=>{oye(f.pageX,f.pageY,g=>{switch(g[0]){case"REFRESH":{o.refreshList();break}}})};return(0,LL.useEffect)(()=>{o.componentTable.deviceTableData.length>0&&o.componentTable.deviceTableData.forEach(f=>{f.errorFootprint&&(f.footprint_name=e(f.footprint_name)),f.errorSymbol&&(f.symbol_name=e(f.symbol_name)),f.error3DModel&&(f["3D Model Title"]=e(f["3D Model Title"]))})},[o.componentTable.deviceTableData]),(0,mR.jsx)("section",{className:i,onContextMenu:h,children:(0,mR.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-stretch",style:{width:"100%",height:"100%",position:"relative",overflowY:"hidden",overflowX:"auto"},children:[(0,mR.jsx)("div",{ref:r,style:{height:"100%",width:"100%",overflowY:"hidden",overflowX:"auto"},children:(0,mR.jsx)(xi,{name:"chooseDeviceDlg",index:"$id",border:!0,showStatus:!0,statusNode:(0,mR.jsx)("div",{style:{lineHeight:"50px",textAlign:"center"},children:(0,mR.jsx)("span",{children:e(o.componentTable.componentListLoadStatus)})}),stockade:!0,moveAble:!0,searchValue:o.componentSearchModel.searchValue,height:n,columns:o.componentTable.tableCols,openHeadContentMenu:!0,showCustomHeadSettingOnHeadContextmenu:!0,rows:o.componentTable.deviceTableData,onClick:l,onContextMenu:(f,g)=>{m(f,g)}})}),(0,mR.jsx)("div",{style:{width:"100%",height:"30px",overflow:"hidden",display:"flex",justifyContent:"flex-end",alignContent:"center",alignItems:"center",textAlign:"right",padding:"5px"},children:(0,mR.jsx)(cp,{simplify:!0,inputJump:!1,pageNumber:o.componentTable.pageNumber,countTotal:o.componentTable.totalCount,cutSize:o.componentTable.pageSize,cutSizeOptions:o.componentTable.cutSizeOptions,onPageNumberChange:c,onPageSizeChange:d,gDisabled:o.componentTable.paginationDisabled})})]})})}var qLo=LL.default.memo(v$r);var sye=L(Se());var fvo=L(E8());var _E=L(Se());var uvo=L(rye());var Zve=L(Se());var tvo=L(rye());var Nle=L(Se());var evo=L(rye());var qee=L(z()),{locals:D$r}=evo.default,$Lo=be.bind(D$r),nye=t=>{let{imgBackgroundColor:e,imgSrc:i,imgAltTitle:o}=t,[r,n]=(0,Nle.useState)(!!(i&&i.trim())),a=(0,Nle.useRef)(null),s=(0,Nle.useRef)(null),l=()=>{n(!1),Yn(()=>{pF.clearCurrentLoadImageItem(),pF.executeLoadImage()})};return(0,Nle.useEffect)(()=>{if(!a.current||!i)return;let c=new IntersectionObserver(([d])=>{d.isIntersecting&&a.current&&i&&!a.current.src&&pF.setImage(a.current,i).then(()=>{}).catch(u=>{console.error(u,"\u56FE\u7247\u52A0\u8F7D\u5931\u8D25",i)})},{rootMargin:"150px 0px",threshold:.01});return s.current=c,c.observe(a.current),()=>{s.current&&s.current.disconnect()}},[i]),(0,qee.jsxs)(qee.Fragment,{children:[(0,qee.jsx)("div",{className:$Lo("img-loading-wrap"),style:{opacity:r?"1":"0"},children:(0,qee.jsx)("span",{className:$Lo("rotation","img-loading"),children:" "})}),(0,qee.jsx)("img",{ref:a,alt:o,style:{backgroundColor:e},onLoad:l,onError:l})]})};var er=L(z()),{locals:E$r}=tvo.default,A$r=({device:t,btnDetail:e,libUuid:i,isExtraDeviceRequestPrivate:o,deviceBtnEvent:r,rightMenuEvent:n,imgBackgroundColor:a,heightLightStr:s,searchEngine:l})=>{var T,M,I,A,D,E,N;let[c,d]=(0,Zve.useState)({}),u=J(),p=be.bind(E$r),[m,h]=(0,Zve.useState)(null);if((0,Zve.useEffect)(()=>{if(!t)return;let R=eye(t,s,p);d(R)},[s,t]),!t)return(0,er.jsx)(er.Fragment,{});let f=(R,v)=>{v.disable||r(R,v.eventType)},g=()=>{var R;return(0,er.jsx)("ul",{className:p("three_nr"),children:(R=t.priceList)!=null&&R.length?t.priceList.map((v,k)=>{if(!(k>4))return(0,er.jsx)("li",{children:(0,er.jsxs)("div",{className:p("price-warp price-warp-local"),children:[(0,er.jsxs)("p",{className:p("ppbbz-p no-special"),children:[v.startNumber,"+ :"]}),(0,er.jsx)("span",{className:p("ccd ccd-ppbbz show-price-span"),children:`\uFFE5${String(v.price).replace(/^(.*\..{4}).*$/,"$1")}`})]})},k)}):(0,er.jsx)("li",{children:(0,er.jsx)("span",{className:p("ccd ccd-ppbbz no-price"),"data-test":"No Price",children:u("No Price")})})})},b=()=>i!==_e.LIB_INTERNAL_KEY?(0,er.jsxs)("div",{className:p("price-private-wrap"),children:[t.priceAttr&&(0,er.jsxs)("p",{className:p("price-text"),children:[u("Price:"),(0,er.jsx)("span",{title:t.priceAttr,children:t.priceAttr})]}),o&&(0,er.jsxs)("div",{children:[(0,er.jsx)("p",{className:p("price-text"),children:u("Real-time Price:")}),t.realTimePrice&&(0,er.jsx)("ul",{className:p("three_nr"),children:t.realTimePrice.map((R,v)=>{if(!(v>3))return(0,er.jsx)("li",{children:(0,er.jsxs)("div",{className:p("price-warp price-warp-local"),children:[(0,er.jsxs)("p",{className:p("ppbbz-p no-special"),children:[R.startNumber,"+ :"]}),(0,er.jsx)("span",{className:p("ccd ccd-ppbbz show-price-span"),children:`\uFFE5${String(R.price).replace(/^(.*\..{4}).*$/,"$1")}`})]})},v)})})]})]}):(0,er.jsx)("div",{children:t.priceList?(0,er.jsx)("ul",{className:p("three_nr"),children:t.priceList.map((R,v)=>{if(!(v>3))return(0,er.jsx)("li",{children:(0,er.jsxs)("div",{className:p("price-warp price-warp-local"),children:[(0,er.jsxs)("p",{className:p("ppbbz-p no-special"),children:[R.startNumber,"+ :"]}),(0,er.jsx)("span",{className:p("ccd ccd-ppbbz show-price-span"),children:`\uFFE5${String(R.price).replace(/^(.*\..{4}).*$/,"$1")}`})]})},v)})}):(0,er.jsx)("li",{children:(0,er.jsx)("span",{className:p("ccd ccd-ppbbz no-price"),"data-test":"No Price",children:u("No Price")})})}),y=()=>_t?(0,er.jsx)(b,{}):(0,er.jsx)(g,{}),w=()=>{var R;return(0,er.jsxs)("ul",{className:p("pan"),children:[(0,er.jsxs)("li",{className:p("pan_list"),children:[(0,er.jsx)("span",{className:p("text-flex-shrink"),"data-test":"LCSC Stock:",children:u("LCSC Stock:")}),(0,er.jsx)("span",{className:p("goldenrod"),title:t.lcscStock,children:t.lcscStock})]}),!Nt&&(0,er.jsxs)("li",{className:p("pan_list"),children:[(0,er.jsx)("span",{className:p("text-flex-shrink"),"data-test":"JLCPCB Stock:",children:u("JLCPCB Stock:")}),(0,er.jsx)("span",{className:p("goldenrod"),title:t.jlcPcbStock,children:t.jlcPcbStock})]}),((R=t.package)==null?void 0:R.number)&&(0,er.jsxs)("li",{className:p("pan_list"),children:[(0,er.jsx)("span",{className:p("goldenrod"),children:t.package.number}),(0,er.jsxs)("span",{children:[t.package.stockUnit,"/",t.package.packageUnit]})]})]})},x=()=>i!==_e.LIB_INTERNAL_KEY?(0,er.jsxs)("ul",{className:p("pan"),children:[t.stockAttr&&(0,er.jsxs)("li",{className:p("pan_list"),children:[(0,er.jsx)("span",{className:p("text-flex-shrink"),"data-test":"Stock:",children:u("Stock:")}),(0,er.jsx)("span",{className:p("goldenrod"),title:t.stockAttr,children:t.stockAttr||"80"})]}),o&&(0,er.jsxs)("li",{className:p("pan_list"),children:[(0,er.jsx)("span",{className:p("text-flex-shrink"),"data-test":"Real-time Stock:",children:u("Real-time Stock:")}),t.realTimeStock&&(0,er.jsx)("span",{className:p("goldenrod"),title:t.realTimeStock,children:t.realTimeStock})]})]}):(0,er.jsx)("ul",{className:p("pan"),children:(0,er.jsxs)("li",{className:p("pan_list"),children:[(0,er.jsx)("span",{className:p("text-flex-shrink"),"data-test":"Stock:",children:u("Stock:")}),t.stock&&(0,er.jsx)("span",{className:p("goldenrod"),title:String(t.stock),children:t.stock})]})}),S=()=>_t?(0,er.jsx)(x,{}):(0,er.jsx)(w,{});return(0,er.jsx)("div",{className:p("list-wrap"),style:{backgroundColor:((M=(T=ir.componentDetailList.currentClickComponentDetailListItem)==null?void 0:T.device)==null?void 0:M.deviceId)===t.deviceId?"var(--bg-color-choose-device-dialog-hover)":"transparent"},onClick:R=>{let{componentDetailList:v,componentBottomButton:k,dialogProps:P}=ir;v.currentClickComponentDetailListItem={device:t,btnDetail:e},m?(clearTimeout(m),h(null),C.messageBus.publish("chooseDevice_handleFooterBtnWithConfirm")):h(setTimeout(()=>{R.stopPropagation(),k.updateButtonDisabledStatus(P.scenesType,{disabled:e.disable,deviceId:t==null?void 0:t.deviceId,operate:"click"}),h(null)},250))},children:(0,er.jsxs)("div",{className:p("inside eda-product"),children:[(0,er.jsx)("div",{className:p("image-wrap"),children:(0,er.jsx)("a",{href:t.deviceLink,target:"_blank",children:(0,er.jsx)(nye,{imgBackgroundColor:a,imgAltTitle:t.title,imgSrc:t.images})})}),(0,er.jsxs)("div",{className:p("two"),children:[(0,er.jsxs)("div",{className:p("two-tit ellipsis"),children:[(0,er.jsx)("a",{target:"_blank",className:p("blue ellipsis product-name-link hightLightText"),href:t.deviceLink,title:t.title,dangerouslySetInnerHTML:{__html:c.title}}),((I=t.tags)==null?void 0:I.name)&&(0,er.jsx)("a",{title:t.tags.name,onClick:R=>{R.preventDefault(),r(null,"changeCategory",t.tags.uuid)},className:p("catalog ellipsis hightLightText"),href:"#",dangerouslySetInnerHTML:{__html:c.tagName}}),t.jlcPartClass&&(0,er.jsx)("div",{className:p("smt-flag"),title:`${u("JLCPCB SMT")}${u(t.jlcPartClass)}`,children:u(t.jlcPartClass)})]}),(0,er.jsxs)("div",{className:p("two_01"),children:[(0,er.jsxs)("ul",{className:p("l02_zb"),children:[(0,er.jsxs)("li",{className:p("li-ellipsis"),children:[(0,er.jsx)("span",{className:p("c9a9a9a"),children:u("Footprint:")}),(0,er.jsx)("span",{title:t.footprint,className:p("hightLightText"),dangerouslySetInnerHTML:{__html:c.footprint}})]}),(0,er.jsxs)("li",{className:p("band li-ellipsis"),children:[(0,er.jsx)("span",{className:p("c9a9a9a"),"data-test":"Brand:",children:u("Brand:")}),Nt&&((A=t.brand)==null?void 0:A.name)&&(0,er.jsx)("span",{className:p("hightLightText"),dangerouslySetInnerHTML:{__html:c.brandName}}),!Nt&&((D=t.brand)==null?void 0:D.name)&&(0,er.jsx)("a",{className:p("brand-name"),title:`${u("Click to view")}${t.brand.name}${u("'s brand information")}`,href:(E=t.brand)==null?void 0:E.link,target:"_blank",children:(0,er.jsx)("span",{className:p("hightLightText"),dangerouslySetInnerHTML:{__html:c.brandName}})})]}),(0,er.jsxs)("li",{className:p("li-ellipsis"),children:[(0,er.jsx)("span",{className:p("c9a9a9a"),"data-test":"LCSC Part Name:",children:u("LCSC Part Name:")}),(0,er.jsx)("span",{title:t.model,className:p("hightLightText"),dangerouslySetInnerHTML:{__html:c.model}})]}),(0,er.jsx)("li",{className:p("description-wrap"),children:(0,er.jsxs)("div",{className:p("multi-ellipsis ms"),children:[(0,er.jsx)("span",{className:p("c9a9a9a hightLightText"),"data-test":"Description:",children:u("Description:")}),(0,er.jsx)("span",{className:p("desc-text"),title:t.description,dangerouslySetInnerHTML:{__html:c.description}})]})})]}),(0,er.jsxs)("ul",{className:p("l02_yb"),children:[(0,er.jsxs)("li",{className:p("li-ellipsis hightLightText"),children:[(0,er.jsx)("span",{className:p("hightLightText"),"data-test":"LCSC Part#:",children:u("LCSC Part#:")}),(0,er.jsx)("span",{title:t.code,dangerouslySetInnerHTML:{__html:c.code}})]}),(0,er.jsx)("li",{className:p("btn-wrapper li-ellipsis data-sheet-btn"),children:(0,er.jsxs)("a",{className:p("blue"),href:t.dataSheetLink,target:"_blank",children:[(0,er.jsx)("span",{className:p("icon-eda-pdf-1")}),(0,er.jsx)("span",{"data-test":"Datasheet",children:u("Datasheet")})]})})]})]})]}),(0,er.jsx)("div",{className:p("three"),children:(0,er.jsx)(y,{})}),(0,er.jsx)("div",{className:p("ffour"),children:(0,er.jsx)(S,{})}),(0,er.jsxs)("div",{className:p("action-btn-wrap"),children:[i===_e.SYSTEMLIB_UUID&&String((N=t.deviceInfo)==null?void 0:N.symbol_type)==="2"&&(0,er.jsx)("span",{className:p("report-part-error"),onClick:()=>{var R,v;dY((v=(R=t.deviceInfo)==null?void 0:R.attributes)==null?void 0:v["Supplier Part"])},children:u("Report Error")}),(0,er.jsx)(Me,{size:"md",style:{width:"fit-content",whiteSpace:"nowrap"},onClick:R=>{R.stopPropagation(),f(t,e)},disabled:(e==null?void 0:e.disable)||!1,children:(e==null?void 0:e.text)||""})]}),t.deviceId&&(0,er.jsx)("span",{className:p("more-operations"),title:u("More Operations"),onClick:R=>{n(R.pageX,R.pageY,t.deviceId)},children:"..."})]})})},ivo=A$r;function ovo(t){var e,i;return{deviceId:t.hasDevice,deviceLink:Nt?t.linkUrl:vle(t,!0),title:t.model,code:t.code,images:Ale(t,!0),tags:{name:t.catalogName,uuid:t.catalogId},jlcPartClass:t["JLCPCB Part Class"],footprint:t.standard,brand:{name:t.brandName,link:Nt?"":Dle(t,!0)},model:t.name,description:t.highlightDesc,dataSheetLink:Nt?t.linkUrl:Ele(t,!0),priceList:t.priceList||[],lcscStock:t.stockNumber,jlcPcbStock:t["JLCPCB Stock"],package:{number:t.packageNumber,stockUnit:t.stockUnit,packageUnit:t.packageUnit},deviceInfo:t.device_info,symbolInfo:(e=t.device_info)==null?void 0:e.symbol_info,footprintInfo:(i=t.device_info)==null?void 0:i.footprint_info}}function rvo(t){var e,i,o,r;return{deviceId:t.hasDevice,code:t.number,images:Ale(t,!0),model:((i=(e=t.device_info)==null?void 0:e.attributes)==null?void 0:i["LCSC Part Name"])||t.mpn,deviceLink:vle(t,!0),title:t.mpn,brand:{name:t.manufacturer,link:Dle(t,!0)},footprint:t.package,dataSheetLink:Ele(t,!0),priceList:t.price||[],lcscStock:t.stock||0,jlcPcbStock:t["JLCPCB Stock"]||0,deviceInfo:t.device_info,symbolInfo:(o=t.device_info)==null?void 0:o.symbol_info,footprintInfo:(r=t.device_info)==null?void 0:r.footprint_info}}function nvo(t,e){var o,r,n,a,s,l,c,d,u,p;let i=Sat(t);return{deviceId:t.uuid,deviceLink:((o=t.attributes)==null?void 0:o["Product Link"])||vle(t,!1),title:Mat(t),code:(r=t.attributes)==null?void 0:r["Supplier Part"],images:Ale(t,!1),tags:{name:i.name,uuid:i.id},jlcPartClass:((n=t.attributes)==null?void 0:n["JLCPCB Part Class"])||"",footprint:((a=t.attributes)==null?void 0:a["Supplier Footprint"])||((s=t.footprint)==null?void 0:s.display_title)||"",brand:{name:((l=t.attributes)==null?void 0:l.Manufacturer)||"",link:Dle(t,!1)},model:Iat(t),description:t.description,dataSheetLink:Ele(t,!1),priceAttr:((c=t.attributes)==null?void 0:c.Price)||"",stockAttr:((d=t.attributes)==null?void 0:d.Stock)||"",realTimePrice:t.realTimePrice||[],realTimeStock:t.realTimeStock||"",priceList:e===_e.LIB_INTERNAL_KEY?t.prices:t.priceList||[],stock:e===_e.LIB_INTERNAL_KEY&&t.stock||0,lcscStock:t.stockNumber||"",jlcPcbStock:t["JLCPCB Stock"],package:{number:t==null?void 0:t.packageNumber,stockUnit:t==null?void 0:t.stockUnit,packageUnit:t==null?void 0:t.packageUnit},deviceInfo:t.device_info||t,symbolInfo:((u=t.device_info)==null?void 0:u.symbol_info)||(t==null?void 0:t.symbol_info),footprintInfo:((p=t.device_info)==null?void 0:p.footprint_info)||(t==null?void 0:t.footprint_info)}}var Jve=L(Se());var avo=L(rye());var ss=L(z()),{locals:N$r}=avo.default,k$r=({device:t,btnDetail:e,libUuid:i,deviceBtnEvent:o,rightMenuEvent:r,imgBackgroundColor:n,heightLightStr:a})=>{var h,f,g,b,y;let s=J(),l=be.bind(N$r),[c,d]=(0,Jve.useState)({}),[u,p]=(0,Jve.useState)(null);if((0,Jve.useEffect)(()=>{if(!t)return;let w=eye(t,a,l,!0);d(w)},[a,t]),!t)return(0,ss.jsx)(ss.Fragment,{});let m=(w,x)=>{x.disable||o(w,x.eventType)};return t?(0,ss.jsx)("div",{className:l("list-wrap"),style:{backgroundColor:((f=(h=ir.componentDetailList.currentClickComponentDetailListItem)==null?void 0:h.device)==null?void 0:f.deviceId)===t.deviceId?"var(--bg-color-choose-device-dialog-hover)":"transparent"},onClick:w=>{let{componentDetailList:x,componentBottomButton:S,dialogProps:T}=ir;x.currentClickComponentDetailListItem={device:t,btnDetail:e},u?(clearTimeout(u),p(null),C.messageBus.publish("chooseDevice_handleFooterBtnWithConfirm")):p(setTimeout(()=>{w.stopPropagation(),S.updateButtonDisabledStatus(T.scenesType,{disabled:e.disable,deviceId:t==null?void 0:t.deviceId,operate:"click"}),p(null)},250))},children:(0,ss.jsxs)("div",{className:l("inside"),children:[(0,ss.jsx)("div",{className:l("image-wrap"),children:(0,ss.jsx)("a",{href:t.deviceLink,target:"_blank",style:{position:"relative",display:"block"},children:(0,ss.jsx)(nye,{imgBackgroundColor:n,imgAltTitle:t.title,imgSrc:t.images})})}),(0,ss.jsxs)("div",{className:l("two"),children:[(0,ss.jsx)("div",{className:l("two-tit ellipsis"),children:(0,ss.jsx)("a",{target:"_blank",className:l("blue ellipsis product-name-link hightLightText"),href:t.deviceLink,title:t.title,dangerouslySetInnerHTML:{__html:c.title}})}),(0,ss.jsxs)("div",{className:l("two_01"),children:[(0,ss.jsxs)("ul",{className:l("l02_zb"),children:[(0,ss.jsxs)("li",{className:l("li-ellipsis"),children:[(0,ss.jsx)("span",{className:l("c9a9a9a"),children:s("Footprint:")}),(0,ss.jsx)("span",{title:t.footprint,className:l("hightLightText"),dangerouslySetInnerHTML:{__html:c.footprint}})]}),(0,ss.jsxs)("li",{className:l("band li-ellipsis"),children:[(0,ss.jsx)("span",{className:l("c9a9a9a"),"data-test":"Brand:",children:s("Brand:")}),((g=t.brand)==null?void 0:g.name)&&(0,ss.jsx)("a",{className:l("brand-name"),title:`${s("Click to view")}${t.brand.name}${s("'s brand information")}`,href:t.brand.link,target:"_blank",children:(0,ss.jsx)("span",{className:l("hightLightText"),dangerouslySetInnerHTML:{__html:c.brandName}})})]}),(0,ss.jsxs)("li",{className:l("li-ellipsis"),children:[(0,ss.jsx)("span",{className:l("c9a9a9a"),"data-test":"LCSC Part Name:",children:s("LCSC Part Name:")}),(0,ss.jsx)("span",{title:t.model,className:l("hightLightText"),dangerouslySetInnerHTML:{__html:c.model}})]})]}),(0,ss.jsxs)("ul",{className:l("l02_yb"),children:[(0,ss.jsxs)("li",{className:l("li-ellipsis hightLightText"),children:[(0,ss.jsx)("span",{className:l("c9a9a9a"),"data-test":"LCSC Part#:",children:s("LCSC Part#:")}),(0,ss.jsx)("span",{title:t.code,dangerouslySetInnerHTML:{__html:c.code}})]}),(0,ss.jsx)("li",{className:l("btn-wrapper li-ellipsis data-sheet-btn"),children:(0,ss.jsxs)("a",{className:l("blue"),href:t.dataSheetLink,target:"_blank",children:[(0,ss.jsx)("span",{className:l("icon-eda-pdf-1")}),(0,ss.jsx)("span",{"data-test":"Datasheet",children:s("Datasheet")})]})})]})]})]}),(0,ss.jsx)("div",{className:l("three"),children:(0,ss.jsx)("ul",{className:l("three_nr"),children:(b=t.priceList)!=null&&b.length?t.priceList.map((w,x)=>{if(!(x>4))return(0,ss.jsx)("li",{children:(0,ss.jsxs)("div",{className:l("price-warp price-warp-local"),children:[(0,ss.jsxs)("p",{className:l("ppbbz-p no-special"),children:[w[0],"+ :"]}),(0,ss.jsx)("span",{className:l("ccd ccd-ppbbz show-price-span"),children:`$${String(w[1]).replace(/^(.*\..{4}).*$/,"$1")}`})]})},x)}):(0,ss.jsx)("li",{children:(0,ss.jsx)("span",{className:l("ccd ccd-ppbbz no-price"),"data-test":"No Price",children:s("No Price")})})})}),(0,ss.jsx)("div",{className:l("ffour"),children:(0,ss.jsxs)("ul",{className:l("pan"),children:[(0,ss.jsxs)("li",{className:l("pan_list"),children:[(0,ss.jsx)("span",{className:l("text-flex-shrink"),"data-test":"LCSC Stock:",children:s("LCSC Stock:")}),(0,ss.jsx)("span",{className:l("goldenrod"),title:t.lcscStock,children:t.lcscStock})]}),(0,ss.jsxs)("li",{className:l("pan_list"),children:[(0,ss.jsx)("span",{className:l("text-flex-shrink"),"data-test":"JLCPCB Stock:",children:s("JLCPCB Stock:")}),(0,ss.jsx)("span",{className:l("goldenrod"),title:t.jlcPcbStock,children:t.jlcPcbStock})]})]})}),(0,ss.jsxs)("div",{className:l("action-btn-wrap"),children:[i===_e.SYSTEMLIB_UUID&&String((y=t.deviceInfo)==null?void 0:y.symbol_type)==="2"&&(0,ss.jsx)("span",{className:l("report-part-error"),onClick:()=>{var w,x;return dY((x=(w=t.deviceInfo)==null?void 0:w.attributes)==null?void 0:x["Supplier Part"])},children:s("Report Error")}),(0,ss.jsx)(Me,{size:"md",style:{width:"fit-content",whiteSpace:"nowrap"},onClick:w=>{w.stopPropagation(),m(t,e)},children:(e==null?void 0:e.text)||""})]}),t.deviceId&&(0,ss.jsx)("span",{className:l("more-operations"),title:s("More Operations"),onClick:w=>{r(w.pageX,w.pageY,t.deviceId)},children:"..."})]})}):(0,ss.jsx)(ss.Fragment,{})},svo=k$r;var qve=L(Se());var lvo=L(rye());var eu=L(z()),{locals:P$r}=lvo.default,O$r=({device:t,btnDetail:e,libUuid:i,deviceBtnEvent:o,rightMenuEvent:r,imgBackgroundColor:n,heightLightStr:a,searchEngine:s})=>{var f,g,b,y,w,x;let[l,c]=(0,qve.useState)({}),d=J(),u=be.bind(P$r),[p,m]=(0,qve.useState)(null);(0,qve.useEffect)(()=>{if(!t)return;let S=eye(t,a,u);c(S)},[a,t]);let h=(S,T)=>{T.disable||o(S,T.eventType)};return t?(0,eu.jsx)("div",{className:u("list-wrap"),style:{backgroundColor:((g=(f=ir.componentDetailList.currentClickComponentDetailListItem)==null?void 0:f.device)==null?void 0:g.deviceId)===t.deviceId?"var(--bg-color-choose-device-dialog-hover)":"transparent"},onClick:S=>{let{componentDetailList:T,componentBottomButton:M,dialogProps:I}=ir;T.currentClickComponentDetailListItem={device:t,btnDetail:e},p?(clearTimeout(p),m(null),C.messageBus.publish("chooseDevice_handleFooterBtnWithConfirm")):m(setTimeout(()=>{S.stopPropagation(),M.updateButtonDisabledStatus(I.scenesType,{disabled:e.disable,deviceId:t==null?void 0:t.deviceId,operate:"click"}),m(null)},250))},children:(0,eu.jsxs)("div",{className:u("inside eda-product"),children:[(0,eu.jsx)("div",{className:u("image-wrap"),children:(0,eu.jsx)("a",{href:t.deviceLink,target:"_blank",children:(0,eu.jsx)(nye,{imgBackgroundColor:n,imgAltTitle:t.title,imgSrc:t.images})})}),(0,eu.jsxs)("div",{className:u("two"),children:[(0,eu.jsxs)("div",{className:u("two-tit ellipsis"),children:[(0,eu.jsx)("a",{target:"_blank",className:u("blue ellipsis product-name-link hightLightText"),href:t.deviceLink,title:t.title,dangerouslySetInnerHTML:{__html:l.title}}),((b=t.tags)==null?void 0:b.name)&&(0,eu.jsx)("a",{title:t.tags.name,onClick:S=>{S.preventDefault(),o(null,"changeCategory",t.tags.uuid)},className:u("catalog ellipsis hightLightText"),href:"#",dangerouslySetInnerHTML:{__html:l.tagName}}),t.jlcPartClass&&(0,eu.jsx)("div",{className:u("smt-flag"),title:`${d("JLCPCB SMT")}${d(t.jlcPartClass)}`,children:d(t.jlcPartClass)})]}),(0,eu.jsx)("div",{className:u("two_01"),children:(0,eu.jsxs)("ul",{className:u("l02_zb"),children:[(0,eu.jsxs)("li",{className:u("li-ellipsis"),children:[(0,eu.jsx)("span",{className:u("c9a9a9a"),children:d({value:"Model:",context:"simTitle"})}),(0,eu.jsx)("span",{title:t.simModelTitle,className:u("hightLightText"),dangerouslySetInnerHTML:{__html:l.simModelTitle}})]}),(0,eu.jsxs)("li",{className:u("band li-ellipsis"),children:[(0,eu.jsx)("span",{className:u("c9a9a9a"),"data-test":"Brand:",children:d("Brand:")}),Nt&&((y=t.brand)==null?void 0:y.name)&&(0,eu.jsx)("span",{className:u("hightLightText"),dangerouslySetInnerHTML:{__html:l.brandName}}),!Nt&&((w=t.brand)==null?void 0:w.name)&&(0,eu.jsx)("a",{className:u("brand-name"),title:`${d("Click to view")}${t.brand.name}${d("'s brand information")}`,href:(x=t.brand)==null?void 0:x.link,target:"_blank",children:(0,eu.jsx)("span",{className:u("hightLightText"),dangerouslySetInnerHTML:{__html:l.brandName}})})]}),(0,eu.jsxs)("li",{className:u("li-ellipsis"),children:[(0,eu.jsx)("span",{className:u("c9a9a9a"),"data-test":"LCSC Part Name:",children:d("LCSC Part Name:")}),(0,eu.jsx)("span",{title:t.model,className:u("hightLightText"),dangerouslySetInnerHTML:{__html:l.model}})]}),(0,eu.jsx)("li",{className:u("description-wrap"),children:(0,eu.jsxs)("div",{className:u("multi-ellipsis ms"),children:[(0,eu.jsx)("span",{className:u("c9a9a9a hightLightText"),"data-test":"Description:",children:d("Description:")}),(0,eu.jsx)("span",{className:u("desc-text"),title:t.description,dangerouslySetInnerHTML:{__html:l.description}})]})})]})})]}),(0,eu.jsxs)("div",{className:u("action-btn-wrap"),children:[(0,eu.jsx)("span",{className:u("report-part-error"),onClick:()=>{var S,T;dY((T=(S=t.deviceInfo)==null?void 0:S.attributes)==null?void 0:T["Supplier Part"])},children:d("Report Error")}),(0,eu.jsx)(Me,{size:"md",style:{width:"fit-content",whiteSpace:"nowrap"},onClick:S=>{S.stopPropagation(),h(t,e)},disabled:(e==null?void 0:e.disable)||!1,children:(e==null?void 0:e.text)||""})]}),t.deviceId&&(0,eu.jsx)("span",{className:u("more-operations"),title:d("More Operations"),onClick:S=>{r(S.pageX,S.pageY,t.deviceId)},children:"..."})]})}):(0,eu.jsx)(eu.Fragment,{})},cvo=O$r;function dvo(t){var i,o,r,n,a,s,l,c,d,u;let e=Sat(t);return{deviceId:t.uuid,deviceLink:((i=t.attributes)==null?void 0:i["Product Link"])||vle(t,!1),title:Mat(t),code:(o=t.attributes)==null?void 0:o["Supplier Part"],images:Ale(t,!1),tags:{name:e.name,uuid:e.id},jlcPartClass:((r=t.attributes)==null?void 0:r["JLCPCB Part Class"])||"",footprint:((n=t.attributes)==null?void 0:n["Supplier Footprint"])||((a=t.footprint)==null?void 0:a.display_title)||"",brand:{name:((s=t.attributes)==null?void 0:s.Manufacturer)||"",link:Dle(t,!1)},model:Iat(t),simModelTitle:dt()===ve.NGSPICE?(l=t.attributes)==null?void 0:l["NGSpice Model Title"]:(c=t.attributes)==null?void 0:c["Sim Model Title"],description:t.description,dataSheetLink:Ele(t,!1),deviceInfo:t.device_info||t,symbolInfo:((d=t.device_info)==null?void 0:d.symbol_info)||(t==null?void 0:t.symbol_info),footprintInfo:((u=t.device_info)==null?void 0:u.footprint_info)||(t==null?void 0:t.footprint_info)}}var Xve=L(z()),R$r=t=>{let{deviceData:e,scenesType:i,isExtraDeviceRequestPrivate:o,addedBasicDevices:r,searchValue:n,searchEngine:a,libUuid:s,docType:l,deviceBtnEvent:c,rightMenuEvent:d}=t,[u,p]=(0,_E.useState)(a==="lcsc"),[m,h]=(0,_E.useState)(null),[f,g]=(0,_E.useState)(null),[b,y]=(0,_E.useState)(""),[w,x]=(0,_E.useState)(n);Ae(uvo.default),(0,_E.useEffect)(()=>{let I=a==="lcsc";p(I)},[a]),(0,_E.useEffect)(()=>{x(n)},[n]),(0,_E.useEffect)(()=>{let I=null;u?vo?I=rvo(e):I=ovo(e):i==="sim"?I=dvo(e):I=nvo(e,s),g(I)},[e]);let S=()=>{var D;let I=zb(),A=(D=I.activeTheme)!=null&&D.data?I.activeTheme.data:I.activeTheme;if(A){let{color:E}=I[A];y(E.canvas||"var(--common-bg-color)")}};(0,_E.useEffect)(()=>{S()},[]);let T=async()=>{var D,E;let I={text:null,disable:!0,eventType:"placeDevice"},A=u?e.hasDevice:e.uuid;switch(i){case"basicLibrary":{let N=await Tat(A)||r.includes(A);I.disable=!0,N?(I.text="Remove from Common Library",I.eventType=" removeDeviceToBasicLibrary",I.disable=!1):(I.text="Select",A?I.disable=!1:I.disable=!0,I.eventType="addDeviceToBasicLibrary");break}case"smt":{I.text="Choose",I.eventType="smtSelectDevice",!A&&u?(vo?(I.text="Request New Part",I.eventType="RequestNewPart"):(I.text="Request New Part",I.eventType="ApplyDrawing"),I.disable=!1):A?I.disable=!1:I.disable=!0;break}case"replaceDevice":{I.text="Choose",I.eventType="replaceDeviceSelect",I.disable=!1,A||(vo?(I.text="Request New Part",I.eventType="RequestNewPart"):(I.text="Request New Part",I.eventType="ApplyDrawing"),I.disable=!1);break}case"DeviceStandardization":{I.text="Choose",I.eventType="standardizationSelectDevice",I.disable=!1,A||(vo?(I.text="Request New Part",I.eventType="RequestNewPart"):(I.text="Request New Part",I.eventType="ApplyDrawing"),I.disable=!1);break}case"placeDevice":case"sim":{I.text="Place",I.eventType="placeDevice";let N=((D=e==null?void 0:e.device_info)==null?void 0:D.symbol_info)||(e==null?void 0:e.symbol_info),R=((E=e==null?void 0:e.device_info)==null?void 0:E.footprint_info)||(e==null?void 0:e.footprint_info);!A&&u?(vo?(I.text="Request New Part",I.eventType="RequestNewPart"):(I.text="Request New Part",I.eventType="ApplyDrawing"),I.disable=!1):A&&((l===se.SCH||l===se.NGSPICE||l===se.SIMULIDE)&&N&&Object.keys(N).length||l===se.PCB&&R&&Object.keys(R).length)?I.disable=!1:I.disable=!0;break}case"replaceSheet":{I.text="Choose",I.eventType="Replace Sheet",I.disable=!1,A||(vo?(I.text="Request New Part",I.eventType="RequestNewPart"):(I.text="Request New Part",I.eventType="ApplyDrawing"),I.disable=!1);break}case"assemblyVariant":{I.text="Choose",I.eventType="assemblyVariantSelectDevice",I.disable=!1,A||(vo?(I.text="Request New Part",I.eventType="RequestNewPart"):(I.text="Request New Part",I.eventType="ApplyDrawing"),I.disable=!1);break}default:break}h(I)};(0,_E.useEffect)(()=>{T()},[i,e,r,l]),(0,_E.useEffect)(()=>{(i=="placeDevice"||i=="sim")&&T()},[l]);let M=PI(async(I=null,A,D)=>{if(I){let E={deviceId:I.deviceId,device:I.deviceInfo,symbol:I.symbolInfo,footprint:I.footprintInfo,code:I.code||"",tagName:u&&I.tags?I.tags.name:""},N=ue.deepClone(m);A==="addDeviceToBasicLibrary"?(N.text="Remove from Common Library",N.eventType=" removeDeviceToBasicLibrary"):A===" removeDeviceToBasicLibrary"&&(N.text="Select",N.eventType="addDeviceToBasicLibrary"),await c(E,A),h(N)}else D&&await c(null,A,D)},200,{immediate:!0,trailing:!1});return(0,Xve.jsx)("div",{onContextMenu:I=>{I.stopPropagation(),I.preventDefault()},children:vo&&u?(0,Xve.jsx)(svo,{device:f,deviceBtnEvent:M,rightMenuEvent:d,libUuid:s,btnDetail:m,imgBackgroundColor:b,heightLightStr:w}):i==="sim"?(0,Xve.jsx)(cvo,{device:f,deviceBtnEvent:M,searchEngine:a,rightMenuEvent:d,btnDetail:m,libUuid:s,imgBackgroundColor:b,heightLightStr:w}):(0,Xve.jsx)(ivo,{device:f,deviceBtnEvent:M,searchEngine:a,rightMenuEvent:d,btnDetail:m,libUuid:s,imgBackgroundColor:b,heightLightStr:w,isExtraDeviceRequestPrivate:o})})},pvo=R$r;var pHt=L(hvo()),aye=L(z()),{locals:_$r}=pHt.default,j$r="No Data!";var B$r=({image:t,imageStyle:e,emptyWrapperStyle:i,description:o=j$r,children:r})=>{let n=J();Ae(pHt.default);let a=be.bind(_$r);return(0,aye.jsxs)("section",{className:a("empty-warp"),style:{...i},children:[t?(0,aye.jsx)("img",{src:JSON.parse(t),style:{...e}}):"",(0,aye.jsx)("p",{children:n({context:"home",value:o})}),r?(0,aye.jsx)("div",{children:typeof r=="string"?n(r):r}):""]})},Yat=B$r;var vL=L(z()),{locals:mHt}=fvo.default;function z$r(t){let e=J(),i=`display-flex flex-direct-column flex-main-axis-stretch ${mHt["detail-section"]}`,o=(0,sye.useContext)(Hy),[r,n]=(0,sye.useState)(null);Ce(o),Ce(o.componentDetailList);let a=async(h,f,g)=>{switch(f){case"addDeviceToBasicLibrary":{o.updateBaseLibraryDevice(h.deviceId,"add",h.tagName);break}case" removeDeviceToBasicLibrary":{o.updateBaseLibraryDevice(h.deviceId,"remove",h.tagName);break}case"smtSelectDevice":{await o.smtSelectDevice(h.device);break}case"standardizationSelectDevice":{o.standardizationSelectDevice(h.deviceId);break}case"replaceDeviceSelect":{await o.replaceDeviceSelect(h);break}case"placeDevice":{await o.placeDevice(h);break}case"assemblyVariantSelectDevice":{await o.assemblyVariantSelectDevice(h);break}case"changeCategory":{g=String(g);let b=o.categoryModel.categoryIds.filter(y=>y===g);o.categoryModel.renderSelectedIds[0]!==g&&b.length&&(o.categoryModel.renderSelectedIds=[g],await o.whenCategorySelectedChanged());break}case"ApplyDrawing":{window.open(`https://lceda.cn/page/apply-new-part?code=${h.code}`,"_blank");break}case"RequestNewPart":{o.applyNewParts();break}case"Replace Sheet":{await o.replaceSheet(h);break}default:break}},s=async(h,f)=>{o.componentDetailList.pageNumber!==f&&(o.componentDetailList.pageNumber=+f,await o.whenComponentListPageChanged())},l=async h=>{o.componentDetailList.pageSize=+h,Vg("chart",h,"chooseDeviceDlg"),await o.whenComponentListPageChanged()},c=h=>{o.whenContextMenuItemClick(h)},d=()=>{o.applyNewParts()},u=()=>{var b;let h=o.componentDetailList.detailListData,f=o.componentDetailList.componentDetailListLoadStatus,g=!Ej.includes((b=o.dialogProps)==null?void 0:b.deviceType)&&o.dialogProps&&o.dialogProps.scenesType!=="replaceSheet";if(!h.length&&f==="Empty list")return(0,vL.jsx)(Yat,{children:!_t&&g&&(0,vL.jsx)("div",{children:(0,vL.jsx)(Me,{class:mHt.apply_new_parts,size:"sm",style:{marginTop:"10px"},onClick:()=>d(),children:e("Request New Part")})})});if(!h.length&&f==="Loading")return(0,vL.jsx)(zee,{IconType:"none"});if(h.length)return(0,vL.jsx)("div",{children:h.map((y,w)=>{var S,T;let x=o.libListModel.getSelectedTruthLibIds();return(0,vL.jsx)(pvo,{libUuid:x[0],deviceData:y,searchValue:o.componentSearchModel.searchValue,searchEngine:o.componentSearchModel.searchEngine,scenesType:(S=o.dialogProps)==null?void 0:S.scenesType,docType:o.activeDoctype,addedBasicDevices:(T=o.dialogProps)==null?void 0:T.basicDevices,isExtraDeviceRequestPrivate:QCi(x[0]),deviceBtnEvent:a,rightMenuEvent:p},w)})})};Bt(({deviceId:h,status:f})=>{o.isDetailModel()&&(o.libListModel.getSelectedTruthLibIds()[0]===_e.FAVORITELIB_UUID?o.refreshList():o.refreshDeviceListRow(h,"favorite",f))}).key("chooseDeviceDetailLibFav");let p=async(h,f,g)=>{let b=o.getSelectedLibInfo(),y=o.componentSearchModel.searchEngine,w;o.componentDetailList.detailListData.forEach(x=>{y==="lcsc"?x.hasDevice===g&&(w=x.device_info):x.uuid===g&&(w=x)}),w&&(o.componentDetailList.selectedDeviceItem=w,DB({pageX:h,pageY:f,windowInstance:window,node:(0,vL.jsx)(EB,{tabName:Tt.DEVICE,baseMenuSelected:b,onClick:c,row:w})}))},m=h=>{oye(h.pageX,h.pageY,f=>{switch(f[0]){case"REFRESH":{o.refreshList();break}}})};return Bt(async()=>{var g;let{device:h,btnDetail:f}=o.componentDetailList.currentClickComponentDetailListItem;await a({deviceId:h.deviceId,device:h.deviceInfo,symbol:h.symbolInfo,footprint:h.footprintInfo,code:(g=h.code)!=null?g:"",tagName:o.componentSearchModel.searchEngine==="lcsc"&&h.tags?h.tags.name:""},f.eventType,void 0)}).key("chooseDevice_handleFooterBtnWithConfirm"),(0,vL.jsx)("section",{className:i,onContextMenu:m,children:(0,vL.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-stretch",style:{width:"100%",height:"100%",position:"relative",overflowY:"hidden",overflowX:"auto"},children:[(0,vL.jsx)("div",{id:"shop_list",className:mHt["deviceDetailList-wrapper"],children:u()}),(0,vL.jsx)("div",{style:{width:"100%",height:"30px",overflow:"hidden",display:"flex",justifyContent:"flex-end",alignContent:"center",alignItems:"center",textAlign:"right",padding:"5px"},children:(0,vL.jsx)(cp,{simplify:!0,inputJump:!1,pageNumber:o.componentDetailList.pageNumber,countTotal:o.componentDetailList.totalCount,cutSize:o.componentDetailList.pageSize,cutSizeOptions:o.componentDetailList.sizeOptions,onPageNumberChange:s,onPageSizeChange:l,gDisabled:o.componentDetailList.paginationDisabled})})]})})}var gvo=sye.default.memo(z$r);var Kat=L(Se());var xvo=L(E8());var Ak=L(Se()),wvo=L(Vi());var gHt=L(hHt());var kle=L(Se());var fHt=L(hHt());var DL=L(z()),{locals:Qat}=fHt.default,F$r=t=>{let e=J(),i=be.bind(Qat),{data:o,searchEngine:r,filterBoxHeight:n,filterText:a,fetchAttrStatus:s,handleItemClick:l,onUpdateCacheFilterTitleInfo:c}=t,[d,u]=(0,kle.useState)(o),[p,m]=(0,kle.useState)(a);Ae(fHt.default);let h=b=>{let y=ue.deepClone(d),w=[];b.trim()?w=o.valueList.filter(x=>x.name.toLocaleLowerCase().indexOf(b.toLocaleLowerCase())!==-1):w=o.valueList,y.valueList=w,u(y)};(0,kle.useEffect)(()=>{p!=null&&p.trim()?h(p):u(o)},[o,p]);let f=(b,y)=>{let w="add",x=d.valueList.filter(S=>S.selected===!0);b.disabled||r!=="lcsc"&&x.length||(b.selected&&(w="del"),b.selected=!b.selected,l(d.key,b,w))};function g(b){let{index:y,styleObject:w,rowHeight:x}=b,S={...w,lineHeight:x+"px",whiteSpace:"nowrap",height:x},T=d.valueList[y];if(T!=null&&T.value){let M=i("filter-item",{disabled:T.disabled,active:T.selected});return(0,DL.jsx)("div",{style:S,"data-row-height":x,onClick:()=>{f(T,y)},children:(0,DL.jsx)("div",{className:M,children:(T==null?void 0:T.name)||""})},y)}}return(0,DL.jsx)(DL.Fragment,{children:(0,DL.jsxs)("div",{className:Qat.select,children:[(0,DL.jsx)("h2",{children:r==="eda"?e({context:"attrs",value:d.title}):d.title}),(0,DL.jsx)("div",{className:Qat["sea-wrap"],children:(0,DL.jsx)(Ws,{isDisabled:s,placeholder:"Filter",initShowValue:a,onUpdateInputValue:b=>{c({key:d.key,value:b}),m(b),h(b)},onClearInputValue:()=>{}})}),(0,DL.jsx)("div",{className:Qat["name-scroll"],style:{height:n},children:s?(0,DL.jsx)(zee,{IconType:"none"}):(0,DL.jsx)(Z8,{estimatedRowHeight:20,containerHeight:n,countTotal:d.valueList.length,children:d.valueList.length&&g})})]})})},yvo=kle.default.memo(F$r);var F1=L(z()),{locals:Ek}=gHt.default,U$r=t=>{let e=J(),i=be.bind(Ek),{originalFetchFilterData:o,catchFilterData:r,catchFilterTitleInfo:n,catchSelectedFilterData:a,catchFilterPrams:s,searchEngine:l,categoryCatalog:c,fetchAttrKeysStatus:d,deviceCount:u,isSearchStatus:p,fetchAttrStatus:m,onClearFilter:h,onApplyFilter:f,onClickFilterItem:g,onClickExpandEvent:b,onUpdateCacheFilterDate:y,onUpdateCacheSelectedFilterData:w,onUpdateCacheFilterTitleInfo:x}=t,[S,T]=(0,Ak.useState)([]),[M,I]=(0,Ak.useState)([]),[A,D]=(0,Ak.useState)({}),[E,N]=(0,Ak.useState)(100),[R,v]=(0,Ak.useState)("expand");(0,Ak.useEffect)(()=>{T(r.length?r:ue.deepClone(o))},[r,o]),(0,Ak.useEffect)(()=>{D(s)},[s]),(0,Ak.useEffect)(()=>{I(a)},[a]);let k=()=>{I([]),D({}),h(),y([]),w([]),T(ue.deepClone(o))};function P(q,U,F){let K=ue.deepClone(M);U==="del"?K.forEach((te,ae)=>{te.key===q.key&&te.value===q.value&&K.splice(ae,1)}):K.push(q),I(K),w(K),O(K,F),K.length===0&&h()}function O(q,U){if(l==="lcsc"){let F={catalog:p?void 0:c},K=[],te=[],ae=[],pe=[],Z=[],ee=[],ce=[],ne=[],oe=[],re=[],Y=[];q.forEach((X,ie)=>{let de=X.key,fe=X.name,ye=X.value,Le=X.id;if(vo)de==="package"||de==="Package"?K.push(ye):de==="manufacturer"||de==="Manufacturer"?(te.push(ye),ae.push(Le)):de==="Categories"?ee.push(ye):Z.push(ye+"@"+de);else switch(de){case"querySmtLabel":ce.push(ye);break;case"queryProductStandard":K.push(ye);break;case"queryProductGradePlateId":te.push(ye);break;case"queryProductArrange":pe.push(ye);break;case"queryProductTypeCode":ee.push(ye);break;case"queryReferenceEncap":ne.push(ye);break;case"smt":oe.push(ye=="\u652F\u6301");break;case"queryPlaceProduction":re.push(ye);break;case"queryProductLabel":Y.push(ye);break;default:Z.push(ye+"@"+de)}}),ee.length&&(F.catalog=ee.join("$")),K.length&&(F.standard=K.join("$")),ne.length&&(F.queryReferenceEncap=ne.join("$")),te.length&&(F.brand=te.join("$"),vo&&(F.brandId=ae.join("$"))),pe.length&&(F.arrange=pe.join("$")),oe.length&&(F.canPaster=oe.join("$")),Z.length&&(F.param=Z.join("$")),ce.length&&(F.smtLabel=ce.join("$")),re.length&&(F.queryPlaceProduction=re.join("$")),Y.length&&(F.queryProductLabel=Y.join("$")),D(F),j(F,U)}else{let F={};q.forEach(K=>{let te=K.key,ae=K.value;F[te]=ae}),D(F),T(U),y(U)}}let _=async(q,U,F)=>{g();let K=G(q,U);P({key:q,name:U.name,value:U.value,id:U.id},F,K)},j=(q,U)=>{if(p){T(U),y(U);return}l==="lcsc"&&(!U&&(U=ue.deepClone(S)),wvo.default.getJSON(C.apis.eda.paramFilter,q||A,F=>{if(F.result){let K=F.result;U.forEach(te=>{K[te.key]&&te.valueList.forEach(ae=>{K[te.key].forEach(pe=>{(ae.value===(pe.code||pe.name)||Nt&&ae.name===pe.name)&&(ae.disabled=!pe.status)})})}),T(U),y(U)}else De({type:"error",msg:F.msg||F.message||"error!"})}))},B=q=>{let U=G(q.key,{name:q.name,value:q.value,disabled:!1,selected:!1});P(q,"del",U)},V=(q,U)=>{let F=ue.deepClone(S);F.forEach(K=>{K.key===q&&(K.valueList=U)}),T(F),y(F)},G=(q,U)=>{let F=ue.deepClone(S);return F.forEach(K=>{K.key===q&&K.valueList&&K.valueList.forEach(te=>{te.name===U.name&&(te.disabled=U.disabled,te.selected=U.selected)})}),F},Q=()=>{if(d==="Loading")return(0,F1.jsx)(zee,{IconType:"none",loadingStyle:{minHeight:"160px",marginLeft:"-12.5px"}});if(d==="Empty list")return(0,F1.jsx)(Yat,{emptyWrapperStyle:{minHeight:"160px"}})},H=()=>{let q,U;R==="expand"?(q="fold",U=200):(q="expand",U=100),v(q),N(U),b()};return(0,F1.jsxs)(F1.Fragment,{children:[(0,F1.jsx)("style",{children:String(gHt.default)}),(0,F1.jsx)("div",{className:Ek["filter-list-wrap"],children:(0,F1.jsxs)("div",{className:Ek["global-products"],"data-test":"global-products",style:{width:"100%"},children:[(0,F1.jsx)("button",{type:"button",title:e("Click To Expand"),className:Ek["select-resize"],onClick:()=>{H()},children:(0,F1.jsx)("span",{className:R==="expand"?"icon-eda-down":"icon-eda-up"})}),(0,F1.jsx)("div",{className:Ek["select-wrap"],children:S.length?S.map((q,U)=>{let F="";return n.length&&n.forEach(K=>{K.key===q.key&&(F=K.value)}),(0,F1.jsx)(yvo,{data:q,filterBoxHeight:E,filterText:F,fetchAttrStatus:m,handleItemClick:_,updateFilterValueListData:V,searchEngine:l,onUpdateCacheFilterTitleInfo:x},U)}):Q()}),(0,F1.jsx)("div",{className:Ek["key-word"],children:(0,F1.jsxs)("div",{className:Ek["key-word-wp"],id:"key-word-wrap",children:[(0,F1.jsx)("div",{className:Ek["key-word-text"],style:{marginBottom:M.length&&l==="lcsc"&&!Nt?"24px":""},children:M.map(q=>(0,F1.jsxs)("span",{children:[(0,F1.jsx)("span",{className:Ek["key-word-con"],children:q.name}),(0,F1.jsx)("a",{className:i("clear-one","icon-eda-cancel"),onClick:()=>{B(q)}})]},`${q.key}-${q.value}`))}),(0,F1.jsxs)("div",{className:Ek["operate-btn"],children:[(0,F1.jsx)(Me,{style:{minWidth:"76px",height:"25px",lineHeight:"25px"},class:i("clear-btn blue"),onClick:()=>{M.length&&k()},children:"Clear Filters"}),(0,F1.jsx)(Me,{style:{minWidth:"76px",height:"25px",lineHeight:"25px"},class:Ek["make-sure-btn"],"data-i18n-context":"searchDevice",onClick:()=>{M.length&&f(A)},children:"Apply Filters"})]})]})}),(0,F1.jsxs)("div",{className:i("results"),children:[(0,F1.jsx)("span",{"data-test":"Filter Result:","data-i18n-context":"searchDevice",children:e("Filter Result:")}),(0,F1.jsx)("span",{id:"totalNums",className:Ek.num,children:u})]})]})})]})},Cvo=Ak.default.memo(U$r);var bHt=L(z()),{locals:V$r}=xvo.default;function H$r(t){let e=J(),i=`${V$r["filter-section"]}`,o=(0,Kat.useContext)(Hy);if(Ce(o.componentFilterList),Ce(o.componentDetailList),Ce(o.componentTable),o.libListModel.getSelectedTruthLibIds()[0]===_e.RECENT_LIB_UUID)return null;let n=()=>{o.componentFilterList.filterConditionParams={},o.componentFilterList.filterConditionStatus=!1,o.whenChangeFilterCondition()},a=p=>{o.componentFilterList.filterConditionParams=p,o.whenChangeFilterCondition()},s=()=>{o.componentFilterList.filterConditionStatus=!0},l=()=>{o.whenChangeFilterExpandStatus()},c=p=>{o.componentFilterList.catchFilterData=p},d=p=>{o.componentFilterList.catchSelectedFilterData=p},u=p=>{if(!p){o.componentFilterList.catchFilterTitleInfo=[];return}let m=o.componentFilterList.catchFilterTitleInfo,h=m.length&&m.filter(f=>f.key===p.key);if(!m.length||!h.length)m.push(p);else for(let f=0;f<m.length;f+=1)m[f].key===p.key&&(m[f].value=p.value);o.componentFilterList.catchFilterTitleInfo=m};return(0,bHt.jsx)("section",{className:i,children:(0,bHt.jsx)(Cvo,{originalFetchFilterData:o.componentFilterList.filterData,catchFilterData:o.componentFilterList.catchFilterData,catchFilterTitleInfo:o.componentFilterList.catchFilterTitleInfo,catchSelectedFilterData:o.componentFilterList.catchSelectedFilterData,catchFilterPrams:o.componentFilterList.filterConditionParams,searchEngine:o.componentSearchModel.searchEngine,categoryCatalog:o.categoryModel.renderSelectedIds[0],deviceCount:o.isDetailModel()?o.componentDetailList.totalCount:o.componentTable.totalCount,fetchAttrKeysStatus:o.componentSearchModel.searchEngine==="lcsc"?o.componentDetailList.componentDetailListLoadStatus:o.componentSearchModel.searchEngine==="eda"&&o.componentFilterList.componentFilterListLoadStatus,fetchAttrStatus:o.componentSearchModel.searchEngine==="lcsc"?!1:o.componentFilterList.filterItemLoadStatus,isSearchStatus:o.componentSearchModel.isInSearchingStatus,onClearFilter:n,onApplyFilter:a,onClickFilterItem:s,onClickExpandEvent:l,onUpdateCacheFilterDate:c,onUpdateCacheSelectedFilterData:d,onUpdateCacheFilterTitleInfo:u})})}var Tvo=Kat.default.memo(H$r);var hR=L(Se());var Svo=L(E8());var yHt=L(Se());function KZ(t,e=1e3){let i=(0,yHt.useRef)(t);return i.current=t,(0,yHt.useRef)(ue.throttle(r=>{var n;return(n=i.current)==null?void 0:n.call(i,r)},e)).current}var Eh=L(z()),{locals:EL}=Svo.default;function G$r(t){let e=J(),i=be.bind(EL),o=`${EL["comprehensive-sort-section"]}`,r=(0,hR.useContext)(Hy);Ce(r.componentSort);let[n,a]=(0,hR.useState)(WCi),[s,l]=(0,hR.useState)(!1),[c,d]=(0,hR.useState)(!1),[u,p]=(0,hR.useState)(""),[m,h]=(0,hR.useState)(""),[f,g]=(0,hR.useState)(!1),b="\uFFE5",y=async(M,I)=>{let A=r.componentSort.sortParams;if(vo)I==="asc"||I==="desc"?(A.sortField=M,A.sortType=I):(A.sortField=void 0,A.sortType=void 0);else{let D;switch(M){case"price":{I==="asc"?D=1:I==="desc"?D=2:D=0;break}case"stock":{I==="asc"?D=9:I==="desc"?D=8:D=0;break}case"sales":{I==="desc"?D=6:D=0;break}}A.querySortBySign=D.toString()}r.componentSort.sortParams=A,await r.whenComponentSortChanged()},w=KZ(M=>{let I=ue.deepClone(n),A;I.forEach(D=>{D.key===M.key?(D.selected=!0,D.key==="sales"?D.type==="default"?A="desc":(D.selected=!1,A="default"):D.key==="price"?D.type==="default"?A="asc":D.type==="asc"?A="desc":(D.selected=!1,A="default"):D.type==="default"?A="desc":D.type==="desc"?A="asc":(D.selected=!1,A="default"),D.type=A):(D.selected=!1,D.type="default")}),y(M.key,A),a(I)},500),x=async(M,I)=>{let A=r.componentSort.sortParams;switch(M){case"discount":{l(I),A.isDiscount=I.toString();break}case"stock":{d(I),A.stock=I.toString();break}case"price":{if(f)A.queryBeginPrice=u,A.queryEndPrice=m;else{De({type:"error",msg:"Please enter correct price"});return}break}case"clearPrice":{A.queryBeginPrice="",A.queryEndPrice="";break}}r.componentSort.sortParams=A,await r.whenComponentSortChanged()},S=()=>{p(""),h(""),x("clearPrice")},T=M=>{let I=/^\d*(\.\d+)?$/.test(M);g(I),I||De({type:"error",msg:"Please enter correct price"})};return(0,Eh.jsxs)("section",{className:o,children:[(0,Eh.jsx)("div",{className:EL["tab-sort"],children:n.map(M=>{let I=i(`tab-item tab-${M.key}`,{"tab-selected":M.selected}),A=i("desc-icon",{selected:M.type==="desc"}),D=i("asc-icon",{selected:M.type==="asc",hidden:!M.hasSortType});return(0,Eh.jsxs)("div",{className:I,onClick:()=>w(M),children:[(0,Eh.jsx)("span",{children:e(M.title)}),(0,Eh.jsxs)("span",{className:EL["sort-triangle"],children:[(0,Eh.jsx)("i",{className:D}),(0,Eh.jsx)("i",{className:A})]})]},M.key)})}),!vo&&(0,Eh.jsxs)("div",{className:EL["price-wrap"],children:[(0,Eh.jsxs)("div",{className:EL["input-wrap"],children:[(0,Eh.jsx)(Kt,{placeholder:b,value:u,style:{width:"56px",height:"23px",lineHeight:"23px",color:"#999"}}),(0,Eh.jsx)("span",{className:EL["separation-icon"],children:"-"}),(0,Eh.jsx)(Kt,{placeholder:b,value:m,style:{width:"56px",height:"23px",lineHeight:"23px",color:"#999"}})]}),(0,Eh.jsxs)("div",{className:EL["hover-price"],children:[(0,Eh.jsxs)("div",{className:EL["input-wrap"],children:[(0,Eh.jsx)(Kt,{placeholder:b,value:u,style:{width:"56px",height:"23px",lineHeight:"23px",color:"#999"},onChange:M=>{p(M)},onBlur:M=>{T(M.target.value)}}),(0,Eh.jsx)("span",{className:EL["separation-icon"],children:"-"}),(0,Eh.jsx)(Kt,{placeholder:b,value:m,style:{width:"56px",height:"23px",lineHeight:"23px",color:"#999"},onChange:M=>{h(M)},onBlur:M=>{T(M.target.value)}})]}),(0,Eh.jsxs)("div",{className:EL["search-price-btn"],children:[(0,Eh.jsx)("span",{className:EL["clear-btn"],onClick:S,children:e("Clear")}),(0,Eh.jsx)("span",{className:EL["search-btn"],onClick:()=>{x("price")},children:e("Search")})]})]})]}),!vo&&(0,Eh.jsxs)("div",{className:EL["check-wrap"],children:[(0,Eh.jsx)(qt,{defaultChecked:c,style:{lineHeight:"normal"},onChange:M=>{x("stock",M)},children:e("4 Hours Delivery from Stock")}),(0,Eh.jsx)(qt,{defaultChecked:s,style:{lineHeight:"normal"},onChange:M=>{x("discount",M)},children:e("Discount")})]})]})}var Mvo=hR.default.memo(G$r);var Xee=L(Se());var Ivo=L(E8());var mF=L(z()),{locals:lye}=Ivo.default;function Y$r(t){var h;let e=J(),i=`display-flex flex-nowrap ${lye["component-search-section"]}`,o=(0,Xee.useContext)(Hy);Ce(o.componentSearchModel);let[r,n]=(0,Xee.useState)([]),a=()=>{var g,b;let f=[];if(_t)f=[{title:vo?"EasyEDA":"Device",key:"eda"}];else if(Ko)Ko&&(f=[{title:vo?"EasyEDA":"JLCEDA",key:"eda"}]);else{let y=(g=o.dialogProps)==null?void 0:g.scenesType;y==="replaceSheet"||y==="sim"?f=[{title:vo?"EasyEDA":"JLCEDA",key:"eda"}]:f=[{title:"LCSC Electronics",key:"lcsc"},{title:vo?"EasyEDA":"JLCEDA",key:"eda"}]}((b=o.dialogProps)==null?void 0:b.scenesType)==="placeDevice"&&f.push({title:"Reuse Block",key:"block_symbol"}),n(f)};(0,Xee.useEffect)(()=>{var f;(f=o.dialogProps)!=null&&f.scenesType&&a()},[(h=o.dialogProps)==null?void 0:h.scenesType]);let s=(f,g)=>{o.componentSearchModel.searchValue=f},l=async(f,g)=>{o.componentSearchModel.searchValue="",o.componentSearchModel.isInSearchingStatus&&(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,await o.whenExitSearchStatus())},c=async(f,g)=>{o.componentSearchModel.searchValue.trim()?(o.componentSearchModel.isInSearchingStatus=!0,o.libListModel.isSearchStatus=!0,await o.updateDeviceList(!0,!1)):o.componentSearchModel.isInSearchingStatus&&(o.componentSearchModel.isInSearchingStatus=!1,o.libListModel.isSearchStatus=!1,await o.updateDeviceList(!0))},d=()=>{yM("apply_new_parts")},u=f=>{o.whenSwitchSearchEngine(f)},p=async f=>{o.componentSearchModel.model=f,await o.whenSwitchModel()},m={lists:YCi,direction:"top",type:"btn",activeKey:o.componentSearchModel.model,onClick:p,tabsStyle:{width:"24px",padding:"unset",border:"1px solid var(--common-border-color)",background:"var(--bg-color-panel)",borderRadius:"3px",marginLeft:"4px"},activeTabStyle:{border:"1px solid var(--common-border-color)",borderRadius:"3px",background:"var(--bg-color-active-leftTreeSearch)"},commonIconStyle:{filter:"var(--common-icon-color)"},activeIconStyle:{filter:"var(--icon-color-selected-toolbar)"}};return(0,mF.jsxs)("section",{className:i,children:[o.dialogProps&&(0,mF.jsx)("div",{className:lye["search-engine-wrap"],children:r.map(f=>{let g=be(lye["search-engin-item"],{[lye.active]:f.key===o.componentSearchModel.searchEngine});return(0,mF.jsx)("span",{"data-test":f.title,className:g,onClick:()=>{u(f.key)},children:e(f.title)},f.key)})}),(0,mF.jsx)("div",{style:{flex:1},className:lye["input-border-radius-reset"],children:(0,mF.jsx)(vP,{searchHistoryType:o.componentSearchModel.searchHistoryType,initShowValue:o.componentSearchModel.searchValue,isDefaultFocus:!0,placeholder:o.componentSearchModel.searchPlaceHolder,onUpdateInputValue:s,onClearInputValue:l,onConfirm:c,isImmediatelyDoConfirmAtEndinput:!0},o.componentSearchModel.key)}),o.componentSearchModel.searchEngine!=="block_symbol"&&!_t&&o.dialogProps&&!Ej.includes(o.dialogProps.deviceType)&&o.dialogProps.scenesType!=="replaceSheet"&&(0,mF.jsx)(Me,{class:lye.apply_new_parts,size:"sm",onClick:()=>d(),children:e("Request New Part")}),o.componentSearchModel.searchEngine==="eda"&&(0,mF.jsx)("div",{style:{marginLeft:"4px"},children:(0,mF.jsx)(yl,{...m})})]})}var Lvo=Xee.default.memo(Y$r);var jE=L(Se());var vvo=L(E8());var fR=L(z()),{locals:W$r}=vvo.default;function Q$r(t){let e=J(),i=`display-flex flex-direct-column flex-main-axis-stretch ${W$r["cbb-table-section"]}`,o=(0,jE.useContext)(Hy);Ce(o.componentCbbTable);let r=(0,jE.useRef)(null),[n,a]=(0,jE.useState)(0),[s,l]=(0,jE.useState)([]),c=x=>[{key:"index",name:e("No."),sortable:!0,width:50},{key:"category",name:e("Category"),sortable:!0,width:x},{key:"description",name:e("Description"),sortable:!0,width:x},{key:"update_time",name:e("Update Time"),sortable:!0,width:x},{key:"belong",name:e("Belong"),sortable:!0,width:x},{key:"last_modifier",name:e("Last modified by"),sortable:!0,width:x}],d=()=>{if(Je)return[{key:"index",name:e("No."),sortable:!0,width:50},{key:"display_title",sortKey:["display_title","title"],name:e("Reuse Block"),sortable:!1,width:1/2,render:M=>(0,fR.jsx)(TV,{...M})},{key:"description",name:e("Description"),sortable:!0,width:1/2}];let x=1/6,S={key:"display_title",sortKey:["display_title","title"],name:e("Reuse Block"),sortable:!1,width:x,render:M=>(0,fR.jsx)(TV,{...M})},T=c(1/6);return T.splice(1,0,S),T},u=()=>{let S={key:"display_title",name:e("Symbol"),sortable:!0,width:.125},T={key:"doc_type",name:e("Document Type"),sortable:!0,width:.125},M={key:"version_time",name:e("Version"),sortable:!0,width:.125},I=c(.125);return I.splice(1,0,S,T,M),I},p=x=>{["ArrowDown","ArrowUp"].includes(x.code)&&x.preventDefault()};(0,jE.useEffect)(()=>(document.addEventListener("keydown",p),document.addEventListener("keypress",p),()=>{document.removeEventListener("keydown",p),document.removeEventListener("keypress",p)}),[]),(0,jE.useEffect)(()=>{let x;o.componentCbbTable.isFromProject?x=u():x=d(),x=kQe(x,o.componentCbbTable.cbbTableData),l(x)},[o.componentCbbTable.isFromProject,o.componentCbbTable.cbbTableData]);let m=(x,S,T,M)=>{let I={level:0,path:"",project_uuid:"",title:"",type:"",uuid:""},A,{bgColor:D,project_detail:E,noCheckbox:N,path:R,pcbUuidToCbbSymbolDetailMap:v,schUuidToCbbSymbolDetailMap:k}=x;if(M?I.level=2:I.level=1,I.path=R,I.project_uuid=R,T==="sch")for(let P of E.schematics)P.uuid===S&&(I.title=P.display_name,I.type=xr.SCH,I.uuid=S);else for(let P of E.pcb)P.uuid===S&&(I.title=P.display_title,I.type=xr.PCB,I.uuid=S);return{bgColor:D,display_title:I,noCheckbox:N,path:R,pcbUuidToCbbSymbolDetailMap:v,schUuidToCbbSymbolDetailMap:k,uuid:S,project_detail:E,thumb:A}},h=async x=>{var T;let S=x.row;if(S=await Bpe(S,yr(S)),o.componentCbbTable.isFromProject)o.whenClickCbbProjectTableRow(S);else{let M="";if(S.display_title){let{project_detail:I}=S;if(S.display_title.type===xr.PRJ)if((T=I.boards)!=null&&T.length){let A=S.project_detail.boards;A.sort((D,E)=>E.name.localeCompare(D.name)),A[0].sch?(M=A[0].sch,S=m(S,M,"sch",!0)):A[0].pcb&&(M=A[0].pcb,S=m(S,M,"pcb",!0))}else{let A=[...I.pcb,...I.schematics].sort((D,E)=>(E.display_title||E.display_name).localeCompare(D.display_title||D.display_name));if(A.length){M=A[0].uuid;let D=A[0].docType&&A[0].docType===se.PCB?"pcb":"sch";S=m(S,M,D,!0)}}else if(S.display_title.type===xr.BOARD){let A=S.project_detail.boards;for(let D of A)D.name===S.display_title.title&&(D.sch?(M=A[0].sch,S=m(S,M,"sch",!0)):D.pcb&&(M=D.pcb,S=m(S,M,"pcb",!0)))}}o.whenClickCbbTableRow(S)}},f=async(x,S)=>{o.componentCbbTable.pageNumber!==S&&(o.componentCbbTable.pageNumber=+S,await o.whenComponentListPageChanged())},g=async x=>{o.componentCbbTable.pageSize=+x,Vg("table",x,"chooseDeviceDlg"),await o.whenComponentListPageChanged()};Bt(({uuid:x,status:S})=>{o.libListModel.getSelectedTruthLibIds()[0]===_e.FAVORITELIB_UUID?o.refreshList():o.cbbAddOrRemoveFavorites(x,S)}).key("chooseCbbDetailFav"),Bt(()=>{o.componentCbbTable.initPageSize(),o.refreshList()}).key("updateChooseDeviceTablePageSize"),(0,jE.useEffect)(()=>(r.current&&window.setTimeout(()=>{let x=r.current.getBoundingClientRect();a(x.height),o.componentCbbTable.isUpdateHeight=!1},200),()=>{}),[o.componentCbbTable.isUpdateHeight]);let b=async(x,S)=>{o.whenCbbContextMenuItemClick(x,S)},y=(x,S)=>{DB({pageX:S.pageX,pageY:S.pageY,windowInstance:window,node:(0,fR.jsx)(EB,{tabName:Tt.CBB,baseMenuSelected:o.getSelectedLibInfo(),row:x,onClick:b})})};return(0,fR.jsx)("section",{className:i,onContextMenu:x=>{oye(x.pageX,x.pageY,S=>{switch(S[0]){case"REFRESH":{o.refreshList();break}}})},children:(0,fR.jsxs)("div",{className:"display-flex flex-direct-column flex-main-axis-stretch",style:{width:"100%",height:"100%",position:"relative",overflowY:"hidden",overflowX:"auto"},children:[(0,fR.jsx)("div",{ref:r,style:{height:"100%",width:"100%",overflowY:"hidden",overflowX:"auto"},children:(0,fR.jsx)(xi,{index:"uuid",border:!0,showStatus:!0,moveAble:!0,searchValue:o.componentSearchModel.searchValue,height:n,columns:s,rows:o.componentCbbTable.cbbTableData,onClick:h,selectedRowNumbers:o.componentCbbTable.selectedRowNumbers,onContextMenu:(x,S)=>{y(x,S)}},o.componentCbbTable.refreshHash)}),(0,fR.jsx)("div",{style:{width:"100%",height:"30px",overflow:"hidden",display:"flex",justifyContent:"flex-end",alignContent:"center",alignItems:"center",textAlign:"right",padding:"5px"},children:(0,fR.jsx)(cp,{simplify:!0,inputJump:!1,pageNumber:o.componentCbbTable.pageNumber,countTotal:o.componentCbbTable.totalCount,cutSize:o.componentCbbTable.pageSize,cutSizeOptions:o.componentCbbTable.cutSizeOptions,onPageNumberChange:f,onPageSizeChange:g,gDisabled:o.componentCbbTable.paginationDisabled})})]})})}var Dvo=jE.default.memo(Q$r);var gR=L(Se());var Evo=L(E8());var U1=L(z()),{locals:$ve}=Evo.default;function K$r(t){var f,g,b;let e=J(),i=`display-flex flex-main-axis-stretch ${$ve["cbb-preview-section"]}`,o=(0,gR.useContext)(Hy);Ce(o),Ce(o.componentCbbPreview);let r=(0,gR.useRef)(null),n=(0,gR.useRef)(null),a=(0,gR.useRef)(null);(0,gR.useEffect)(()=>{o.componentCbbPreview.updateBtnBasedOnDoctype().then(()=>{o.updateBottomBtn(o.componentCbbPreview.bottomBtn)})},[o.activeDoctype]);let s=(y,w)=>{Da.open({data:[{title:me.i18n("Recover"),cmd:"RECOVER"}],position:{x:y,y:w},onClick(x,S,T,M){x.cmd==="RECOVER"&&r.current&&r.current.recoverImageViews()},onEnterConfirm(x,S,T){x[0]==="RECOVER"&&r.current&&r.current.recoverImageViews()}})},l=()=>{o.libListModel.getSelectedTruthLibIds()[0]==="oshwhub"?MV(o.componentCbbPreview.selectedRowData.projectPath||o.componentCbbPreview.selectedRowData.project_detail.projectPath):Rv(o.componentCbbPreview.selectedRowData.project_detail.uuid)},c=y=>(0,U1.jsxs)("div",{style:{width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},onDoubleClick:w=>{y==="Grey"&&o.libListModel.selectedIds.some(x=>C.extendLibStore.manager.hasLib(x))||(w.stopPropagation(),l())},children:[y==="autoCreateSymbol"&&(0,U1.jsxs)("p",{children:[e("No module symbols"),(0,U1.jsx)("br",{}),e("Symbols are automatically generated when placed")]}),y!=="Grey"&&!o.componentCbbPreview.isProjectLib&&!o.libListModel.selectedIds.some(w=>C.extendLibStore.manager.hasLib(w))&&(0,U1.jsx)("a",{href:"#",children:e("Double-click to view the reuse block project")})]}),d=()=>{switch(o.componentCbbPreview.previewContentType.block_symbol){case"Symbol":return o.componentCbbPreview.isOldCbbProject?(0,U1.jsx)(B3,{$ref:r,enableThumbImageDraggable:!0,enableThumbImageScalable:!0,initSetShowLoading:o.componentCbbPreview.isSymbolShowLoading,symbolItem:o.componentCbbPreview.blockSymbolViewData,selectPosition:"bottom",needGrayMask:!0,showSelectedView:!1,onImageSectionContextmenu:s}):(0,U1.jsx)(Zje,{$ref:a,enableThumbImageScalable:!0,enableThumbImageDraggable:!0,imageURL:o.componentCbbPreview.blockSymbolThumb,isShowImage:!0});case"autoCreateSymbol":return c("autoCreateSymbol");case"SelectGrey":return c("SelectGrey");default:return c("Grey")}},u=y=>{let{type:w}=y,x,S;switch(w==="sch"?(x=o.componentCbbPreview.previewContentType.sch,S=o.componentCbbPreview.schImgItem):(x=o.componentCbbPreview.previewContentType.pcb,S=o.componentCbbPreview.pcbImgItem),x){case"Thumb":return(0,U1.jsx)(MA,{imageItem:S!=null?S:"",needGrayMask:!0});case"autoCreateSymbol":return c("autoCreateSymbol");case"SelectGrey":return c("SelectGrey");default:return c("Grey")}},p=async y=>{o.componentCbbTable.selectedRowNumbers=[],await o.whenChangeSelectedBlockSymbol(y)},m=async y=>{o.componentCbbTable.selectedRowNumbers=[],await o.whenChangeSelectedSch(y)},h=async y=>{o.componentCbbTable.selectedRowNumbers=[],await o.whenChangeSelectedPcb(y)};return(0,gR.useEffect)(()=>{var y,w;n.current&&(n.current.style.transform="scale(1) translate(0, 0)"),(w=(y=a==null?void 0:a.current)==null?void 0:y.recoverImageSizeView)==null||w.call(y)}),(0,U1.jsxs)("section",{className:i,children:[(0,U1.jsxs)("div",{style:{flex:1,height:"100%",overflow:"hidden"},children:[(0,U1.jsx)("div",{className:$ve["cbb-grey-preview-wrap"],children:(0,U1.jsx)(d,{})}),(0,U1.jsx)("div",{className:$ve["cbb-new-preview-wrap"],onWheel:y=>{n.current.childElementCount&&z2(y.nativeEvent)},onMouseDown:y=>{Wf(y.nativeEvent,window)},onContextMenu:y=>{gC(y.nativeEvent,window)}}),(0,U1.jsx)(xt,{list:o.componentCbbPreview.blockSymbolList.map(y=>({...y,showOriginalText:!0})),valueKey:"display_title",value:o.componentCbbPreview.selectedBlockSymbol,onChange:async(y,w)=>{await p(y)},style:{width:"100%",height:"24px"}})]}),(0,U1.jsxs)("div",{style:{flex:1,height:"100%",marginLeft:"8px"},children:[(0,U1.jsx)("div",{className:$ve["cbb-grey-preview-wrap"],children:(0,U1.jsx)(u,{type:"sch"})}),(0,U1.jsxs)("select",{value:((f=o.componentCbbPreview.selectedSch)==null?void 0:f.sheetUuid)||"",onChange:y=>m(y.target.value),children:[!((g=o.componentCbbPreview.selectedSch)!=null&&g.sheetUuid)&&(0,U1.jsx)("option",{}),((b=o.componentCbbPreview.schSelectList)==null?void 0:b.length)&&o.componentCbbPreview.schSelectList.map(y=>(0,U1.jsx)("optgroup",{label:y.display_name,children:y.sheets.map(w=>(0,U1.jsx)("option",{value:w.uuid,children:`${w.display_title}.${y.display_name}`},w.uuid))},y.uuid))]})]}),(0,U1.jsxs)("div",{style:{flex:1,height:"100%",marginLeft:"8px",position:"relative"},children:[(0,U1.jsx)("div",{className:$ve["cbb-grey-preview-wrap"],children:(0,U1.jsx)(u,{type:"pcb"})}),(0,U1.jsx)(xt,{list:o.componentCbbPreview.pcbSelectList.map(y=>({...y,showOriginalText:!0})),valueKey:"display_title",value:o.componentCbbPreview.selectedPcb,onChange:(y,w)=>{h(y)},style:{width:"100%",height:"24px"}})]})]})}var Avo=gR.default.memo(K$r);var i1=L(z()),{locals:Nvo}=kvo.default;function Z$r(t){Ce(ir.componentSearchModel),Ce(ir.categoryModel),Ce(ir.libListModel),Ce(ir.componentFilterList),Ce(ir.componentPreview);let e=(0,$W.useRef)(null),[i,o]=(0,$W.useState)("calc(100% - 239px)"),r=(0,$W.useRef)(null);(0,$W.useEffect)(()=>(r.current?window.setTimeout(()=>{if(!r.current)return;let a=r.current.getBoundingClientRect();o(`calc(100% - ${a.height}px)`),ir.componentFilterList.isUpdateExpandStatus=!1},200):o("100%"),()=>{}),[ir.componentFilterList.filterConditionStatus,ir.componentFilterList.isUpdateExpandStatus]),(0,$W.useLayoutEffect)(()=>{let a=new ResizeObserver(s=>{ir.componentTable.isUpdateHeight=!0,ir.componentCbbTable.isUpdateHeight=!0});e.current&&a.observe(e.current)},[e]);let n=(a,s)=>{ir.updateMultiPartInfo(a,s)};return Bt(async a=>{await ir.refresh()}).key("updateInternalLibStatus"),(0,i1.jsx)(i1.Fragment,{children:(0,i1.jsx)(Hy.Provider,{value:ir,children:(0,i1.jsxs)("div",{className:"display-flex flex-direct-column",style:{height:"100%",width:"100%"},children:[(0,i1.jsx)("div",{style:{width:"100%"},children:(0,i1.jsx)(Lvo,{})}),(0,i1.jsxs)("div",{className:"display-flex",style:{height:"calc(100% - 30px)"},children:[(0,i1.jsx)("div",{className:"display-flex flex-direct-column flex-main-axis-between flex-lateral-axis-stretch flex-nowrap",style:{width:"320px",overflow:"hidden",flexShrink:0},children:(0,i1.jsxs)("div",{className:"display-flex flex-nowrap",style:{height:"100%"},children:[(0,i1.jsx)(WLo,{}),(0,i1.jsx)(KLo,{})]})}),(0,i1.jsxs)("div",{ref:e,className:"display-flex flex-direct-column",style:{flex:1,margin:"0 0 0 5px",overflow:"hidden"},children:[ir.categoryModel.renderSelectedIds[0]!==_e.CATEGORY_ITEM_ALL_VALUE&&ir.libListModel.selectedIds[0]!=="star"&&ir.componentSearchModel.searchEngine!=="block_symbol"&&ir.dialogProps.scenesType!=="sim"&&!ir.libListModel.projectLib&&(0,i1.jsxs)("div",{className:Nvo["top-part-wrap"],children:[(0,i1.jsx)("div",{ref:r,children:(0,i1.jsx)(Tvo,{})}),ir.componentSearchModel.searchEngine==="lcsc"&&!Nt&&(0,i1.jsx)(Mvo,{})]}),ir.isDetailModel()?(0,i1.jsx)(gvo,{}):ir.componentSearchModel.searchEngine==="eda"?(0,i1.jsxs)("div",{className:"display-flex flex-direct-column",style:ir.categoryModel.renderSelectedIds[0]!==_e.CATEGORY_ITEM_ALL_VALUE&&!ir.libListModel.projectLib?{height:i}:{height:"100%"},children:[(0,i1.jsx)(qLo,{}),(0,i1.jsx)("div",{className:Nvo.devicePreview,children:(0,i1.jsx)(Oze,{symbolItem:ir.componentPreview.symbolItem,footPrintItem:ir.componentPreview.footPrintItem,imageItem:ir.componentPreview.imageItem,d3ModelInfo:ir.componentPreview.d3ModelInfo,path:ir.componentPreview.path,updateMultiPartInfo:n,isSymbolShowLoading:ir.componentPreview.isSymbolShowLoading,isFootprintShowLoading:ir.componentPreview.isFootprintShowLoading,isD3ModelShowLoading:ir.componentPreview.isD3ModelShowLoading,onD3ModelIframeLoadedAction:a=>{ir.componentPreview.isD3ModelShowLoading=!1}})})]}):(0,i1.jsxs)("div",{className:"display-flex flex-direct-column",style:{width:"100%",height:"100%"},children:[(0,i1.jsx)(Dvo,{}),(0,i1.jsx)(Avo,{})]})]})]})]})})})}var Pvo=Z$r;var eQ=L(z()),{locals:J$r}=wHt.default,ir=new Uat,q$r=t=>{let e=J(),i=t.containerId,{scenesType:o,onDialogOpen:r,onDialogCancel:n,onDialogClose:a,onDialogConfirm:s,onDialogClosed:l}=t.info,c=`pop-content-wrapper display-flex flex-nowrap ${J$r["main-container"]}`;Ce(ir.componentSearchModel),Ce(ir.componentBottomButton);let d=async u=>{let p=ir.libListModel.projectLib,m=ir.componentTable.deviceComponentDetail;switch(u){case"addDeviceToBasicLibrary":{ir.updateBaseLibraryDevice(m.device.uuid,"add");break}case" removeDeviceToBasicLibrary":{ir.updateBaseLibraryDevice(m.device.uuid,"remove");break}case"smtSelectDevice":{ir.smtSelectDevice(m.device);break}case"standardizationSelectDevice":{ir.standardizationSelectDevice(m.device.uuid);break}case"replaceDeviceSelect":{await ir.replaceDeviceSelect(m);break}case"placeDevice":{ir.placeDevice(m);break}case"assemblyVariantSelectDevice":{await ir.assemblyVariantSelectDevice(m);break}case"Place Block Symbol":{await Zq(ir.componentCbbPreview.placeBlockSymbolData,p,{beforePlaceCb:ir.closeDialog.bind(ir)});break}case"Place Block":{p&&dt()!==se.PCB?await ir.placeCbbSheet():await Zq(p&&dt()===se.PCB?ir.componentCbbPreview.placeBlockSymbolData:ir.componentCbbPreview.placeDocumentData,ir.libListModel.projectLib,{beforePlaceCb:ir.closeDialog.bind(ir)});break}case"Replace Sheet":{await ir.replaceSheet(m);break}case"DoNotUseDrawings":{await ir.replaceSheet(m,!0);break}case"cancel":{n&&n(),ir.closeDialog();break}case"Confirm":{if(!ir.componentDetailList.currentClickComponentDetailListItem){De({type:"info",msg:"Please select one component"});return}C.messageBus.publish("chooseDevice_handleFooterBtnWithConfirm")}default:break}};return(0,eDe.useEffect)(()=>{ir.whenWidgetsPropsUpdate(t.info)},[t]),(0,eDe.useEffect)(()=>(ir.whenMounted(),ir.dialogProps=t.info,r&&r(),()=>{ir.whenUnmounted(),l&&l()}),[]),Bt(async({path:u,uuid:p,type:m})=>{if(u===ir.libListModel.getSelectedTruthLibIds()[0]){let h=[];m==="device"?h=ir.isDetailModel()?ir.componentDetailList.detailListData:ir.componentTable.deviceTableData:h=ir.componentCbbTable.tableData,h.filter(g=>g.uuid===p).length&&await ir.refreshList()}}).key("deleteDataChooseDeviceDlgCb"),Bt(async()=>{var u;if((u=ir.componentBottomButton.optionBtn)!=null&&u.length){let p=ir.componentBottomButton.optionBtn.find(m=>!!(m!=null&&m.show));await d(p.type)}}).key("ComponentTableSection_DbClick"),Bt(u=>{ir.dialogProps.componentItemId&&(le.close(ir.dialogProps.componentItemId),ir.whenUnmounted(!0))}).key(s0.ON_CLOSED),(0,eDe.useLayoutEffect)(()=>{let u=C.messageBus.subscribe(`close_${i}`,()=>{ir.closeDialog()});return()=>{u.cancel()}},[]),(0,eQ.jsxs)("div",{className:"pop-content-container",children:[(0,eQ.jsx)("style",{children:String(wHt.default)}),(0,eQ.jsx)("div",{className:c,style:{height:"78vh"},children:(0,eQ.jsx)(Pvo,{...t.info})}),(0,eQ.jsxs)("div",{className:"pop-footer-wrapper",children:[ir.componentBottomButton.optionBtn.map(u=>(0,eQ.jsx)(Me,{type:u.btnType||"primary",style:{marginRight:"8px",display:u.show?"block":"none"},disabled:u.disabled,onClick:()=>d(u.type),children:u.text},u.type)),(0,eQ.jsx)(Me,{onClick:()=>d("cancel"),children:"Cancel"})]})]})},Ovo=q$r;var Rvo=L(z());function X$r(t){let e;switch(t){case"placeDevice":e="Device/Reuse Block";break;case"sim":e="Simulate Device";break;case"replaceSheet":e="Select Drawing";break;default:e="Device"}return e}async function A6o(t,e){let i=bt[e],{containerId:o,title:r,width:n,closed:a}=i;return r=X$r(t.scenesType),le.open({id:o,title:r,width:n,closed:a,esc:!0,remove:!["placeDevice"].includes(t.scenesType),children:(0,Rvo.jsx)(Ovo,{containerId:o,info:t})}),le}function $$r(t){return!ir.dialogProps.scenesType||t!=="sim"&&t!==ir.dialogProps.scenesType?!0:t!==ir.dialogProps.scenesType&&ir.activeDoctype!==dt()}async function CHt(t){var i;if((i=ir)!=null&&i.dialogProps){$$r(t.scenesType)&&(ir.removeData(),await ir.whenWidgetsPropsUpdate(t),ir.whenMounted(!0));let o=dt();o!==ir.activeDoctype&&(ir.activeDoctype=o),ir.componentSearchModel.key++}return await ii("choose-device",t)}async function $B(t,e=new Function,i=0){return CHt({scenesType:t.form,basicDevices:t.basicDevices,searchInputValue:t.searchValue,componentItemId:bt["choose-device"].containerId,currentDeviceStandardizationRow:t.currentDeviceStandardizationRow,deviceType:t.deviceType,onDialogOpen(){},onDialogCancel(){},onDialogClose(){},onDialogClosed(){},onDialogConfirm(o){}})}async function jgi(t){return CHt({componentItemId:bt["choose-device"].containerId,scenesType:t.form,deviceType:t.deviceType,onDialogConfirm(e){let{path:i,deviceItem:o}=e;t.onDialogConfirm({path:i,deviceDetail:o})}})}var Bvo=L(Se());var xHt=L(jvo()),Ix=L(z()),{locals:een}=xHt.default,{main:ten,image:ien,text:oen,line:ren,line_item:nen,desc:aen,button:sen}=een,zvo=t=>{let{uuid:e,path:i,img:o,name:r,owner:n,category:a,description:s,hasChoosed:l=!1,searchValue:c}=t;Ae(xHt.default);let d=J(),[u,p]=(0,Bvo.useState)(l),m=h=>{if(c){let f=[],g=h.split(c);for(let b=0;b<g.length;b++)f.push(g[b]),f.push((0,Ix.jsx)("span",{className:"hightlight",children:c}));return f.pop(),(0,Ix.jsxs)("div",{children:[d("Panel Lib")+":",f]})}else return(0,Ix.jsx)("div",{children:d("Panel Lib")+":"+h})};return(0,Ix.jsx)(Ix.Fragment,{children:(0,Ix.jsxs)("div",{className:ten,children:[(0,Ix.jsx)("img",{className:ien,src:o}),(0,Ix.jsxs)("div",{className:oen,children:[m(r),(0,Ix.jsxs)("div",{className:ren,children:[(0,Ix.jsx)("div",{className:nen,children:d("Owner")+":"+n}),(0,Ix.jsx)("div",{children:d("Category")+":"+a})]}),(0,Ix.jsx)("div",{className:aen,title:s,children:d("Description")+":"+s})]}),(0,Ix.jsx)("div",{className:sen,children:(0,Ix.jsx)(Me,{onClick:()=>{C.messageBus.publish("updatePanelLib",{uuid:e,path:i,display_title:r,category:a,operate:u?"delete":"add"}),p(!u)},style:{position:"absolute",bottom:"8px",right:"8px"},children:u?"Remove from Common Library":"Select"})})]})})};var qat=L(Se());var Gvo=L(z()),THt={title:"System",id:_e.SYSTEMLIB_UUID},Jat=()=>{var t;return{title:"Project",id:((t=C.currentProject)==null?void 0:t.projectId)||""}},len=()=>{var t;return{title:"Personal",id:((t=C.loginedUserInfo)==null?void 0:t.uuid)||""}},Fvo={title:"Favorite",id:"star"},HMu={title:"Public",id:_e.PUBLICLIB_ALIAS},cen=()=>_t?[THt,Jat(),Fvo]:[THt,Jat(),len(),Fvo],den=()=>[THt,Jat()],uen=()=>[Jat()];function pen(){let t=[];return((C.teamFolders&&C.teamFolders.length?C.teamFolders:void 0)||(C.teams&&C.teams.length?C.teams:void 0)||[]).forEach(i=>{t.push({title:i.nickname,id:i.uuid})}),t}function Uvo(){let t=[];return C.clientTeamList.forEach(i=>{t.push({title:i.nickname,id:i.uuid})}),t}function Vvo(){let t=pen();return[...cen(),...t]}function men(){return Vvo()}function hen(){let t=Uvo();return[...den(),...t]}function fen(){let t=Uvo();return[...uen(),...t]}function gen(t){if(!t)return t;switch(t){case _e.SYSTEMLIB_UUID:return _e.SYSTEMLIB_UUID_ALIAS;case C.loginedUserInfo.uuid:return _e.USERLIB_ALIAS;default:return t}}function ben(t,e){let i=[];return wi||(i=Vvo()),N0&&(i=men()),Tn&&(i=hen()),Je&&(i=fen()),e&&(i=i.filter(o=>!e.includes(o.id))),t&&(i=i.map(o=>({id:o.id,title:o.title+`(${t[gen(o.id)]||0})`}))),i}var Hvo=t=>{let{onChange:e,facets:i,blackList:o}=t,r=ben(i,o),[n,a]=(0,qat.useState)(r[0].id);return(0,qat.useEffect)(()=>{e([r[0].id],r[0])},[]),(0,Gvo.jsx)(j3,{libList:r,selectedIds:[n],selectedLibsAction:(l,c)=>{a(l[0]),e(l,c)}})};var bR=L(Se());var Ple=L(Se());var SHt=(a=>(a[a.device=3]="device",a[a.symbol=2]="symbol",a[a.footprint=4]="footprint",a[a.cbb=1]="cbb",a[a.model3D=5]="model3D",a[a.panelLib=29]="panelLib",a))(SHt||{});var tDe=L(z());function Yvo(t=[]){return t.map(e=>({id:e.id,title:e.showname,children:Yvo(e.extend),titleAdditional:me.i18n(e.showname)}))}var Wvo=t=>{var u;let{libUuid:e,tabName:i,onChange:o}=t,[r,n]=(0,Ple.useState)([]),[a,s]=(0,Ple.useState)(((u=r[0])==null?void 0:u.id)||""),[l,c]=(0,Ple.useState)([]);return(0,Ple.useEffect)(()=>{OTe({uid:e,path:e,tab:i,type:[SHt[i]]},!0).then(p=>{var h;me.ext({"zh-hans":p.languageHashtable});let{renderList:m}=p;n(Yvo(m)),s((h=m[0])==null?void 0:h.id)})},[e,i]),(0,Ple.useEffect)(()=>{a&&(a===RTe().id?o([]):o(l))},[a]),(0,tDe.jsx)(tDe.Fragment,{children:(0,tDe.jsx)(Gb,{selectedCategoriesAction:(p,m)=>{s(p[0]),c(m[p[0]].split(":"))},selectedIds:[a],categoryList:r,ownerSelectValue:e})})};var MHt=L(Kvo());var Z4=L(z()),{locals:yen}=MHt.default,{main:wen,content:Cen,lib:xen,category:Ten,info:Sen,pagination:Men}=yen,Zvo=()=>{let t=Rr,e="Panel Lib";le.open({id:e,title:t(e),width:1080,height:790,hasBorder:!0,children:(0,Z4.jsx)(Ien,{}),footer:(0,Z4.jsx)(Me,{size:"md",onClick:()=>{le.destroy(e)},children:"Cancel"}),esc:!0})},Ien=()=>{Ae(MHt.default);let[t,e]=(0,bR.useState)(""),[i,o]=(0,bR.useState)([]),[r,n]=(0,bR.useState)([]),[a,s]=(0,bR.useState)(1),[l,c]=(0,bR.useState)(10),[d,u]=(0,bR.useState)(""),[p,m]=(0,bR.useState)(null),h=(y,w)=>{s(w)},f=y=>{c(y)},g=async y=>{var x;let w=[];for(let S=0;S<y.length;S++){let T=y[S],M=await cc.panelLibPreview(T.uuid,{path:t}),I=(await C.messageBus.rpcCall("isAddedToBasicLibrary",["uuid",T.uuid])).message;w.push({uuid:T.uuid,path:t,img:M,name:T.display_title,owner:((x=T.owner)==null?void 0:x.nickname)||"",category:fP(T.tags),description:T.description,hasChoosed:I})}return w};(0,bR.useEffect)(()=>{let y={docType:[se.PANEL_LIB],page:1,pageSize:50,path:t,uid:t,tags:i};Yf({isSearch:!1,isProjectLib:!1,reqData:y}).then(async w=>{if(w.success){let{lists:x=[]}=w.result;n(await g(x))}})},[t,i]),(0,bR.useEffect)(()=>{if(!d){m(null);return}let y={page:a,pageSize:l,uid:t,path:t,wd:d,returnListStyle:"classifyarr",docType:[se.PANEL_LIB]};Ze.getPanelLibSearchList({...y,isProject:y===C.currentProject.projectId}).then(async w=>{if(w){let{lists:x,facets:S}=w;m(S),n([...await g(x)])}})},[d]);let b=(y,w)=>{let x=[];for(let S=0;S<y.length;S++)x.push((0,Z4.jsx)(zvo,{...y[S],searchValue:w},S));return x};return(0,Z4.jsx)(Z4.Fragment,{children:(0,Z4.jsxs)("div",{className:wen,children:[(0,Z4.jsx)(vP,{searchHistoryType:Tt.PANEL_LIB,placeholder:"Search",onConfirm:y=>{u(y)}}),(0,Z4.jsxs)("div",{className:Cen,children:[(0,Z4.jsx)("div",{className:xen,children:(0,Z4.jsx)(Hvo,{blackList:[C.currentProject.projectId],facets:p,onChange:y=>{e(y[0])}})}),(0,Z4.jsx)("div",{className:Ten,children:(0,Z4.jsx)(Wvo,{onChange:y=>{o(y)},tabName:Tt.PANEL_LIB,libUuid:t})}),(0,Z4.jsxs)("div",{className:Sen,children:[(0,Z4.jsx)("div",{style:{overflowY:"auto",overflowX:"hidden",height:"100%"},children:b(r.slice((a-1)*l,a*l),d)}),(0,Z4.jsx)("div",{className:Men,children:(0,Z4.jsx)(cp,{simplify:!0,inputJump:!1,pageNumber:a,countTotal:r.length,cutSize:l,onPageNumberChange:h,onPageSizeChange:f})})]})]})]})})};var kk=L(z()),$at,est;var Jvo="All",Len="0819f05c4eef4c71ace90d822a990e87",ven=we.SYSTEM.BASE_LIBRARY.CATEGORY,qvo=we.SYSTEM.BASE_LIBRARY.DEVICE,Den=we.SYSTEM.BASE_LIBRARY.COMMENT,Een=we.SYSTEM.BASE_LIBRARY.GROUP,Xvo=we.SYSTEM.BASE_LIBRARY.FOOTPRINT,Aen=we.SYSTEM.BASE_LIBRARY.SCHEMATIC,Nen=we.SYSTEM.BASE_LIBRARY.PCB,ken=we.SYSTEM.BASE_LIBRARY.PANEL_LIB,iDe=we.SYSTEM.BASE_LIBRARY.NGSPICE,oDe=we.SYSTEM.BASE_LIBRARY.SIMULIDE,$vo=({libData:t,type:e,setLibData:i,selectedRowNumber:o,setTableSelectedRowNumber:r,listSelectedIndex:n})=>{let a=J(),s=(0,Pk.useContext)(LHt),{currentType:l}=s,c=(0,Pk.useRef)(null),[d,u]=(0,Pk.useState)([]),[p,m]=(0,Pk.useState)(!1),[h]=kJ({callback:()=>{m(!p)}});(0,Pk.useEffect)(()=>{E().then(v=>{u(v)})},[t,n]);function f(){return n>=0?t[n].data||[]:Nk(t)}let g=v=>{let{editingRowNumbers:k,rowNumber:P,row:O}=v;if(k.includes(P)){let _=t.filter(j=>j.name!=="").map(j=>({value:j.name,text:j.name,showOriginalText:!0}));return(0,kk.jsx)(xt,{searchable:!0,createNewItem:!0,list:_,value:O.category,style:{height:"23px"},onChange:j=>{let{category:B}=O,V;if(n>=0?V=t[n].data[P]:V=Nk(t)[P],j===a(Jvo)||j===Jvo)return;V.category=j;let G=t.filter(H=>H.name===B)[0],Q=t.filter(H=>H.name===j)[0];e==="device"?G.data=G.data.filter(H=>H.device!==V.device||H.devicePath!==V.devicePath):e==="panel"&&(G.data=G.data.filter(H=>H.uuid!==V.uuid||H.path!==V.path)),Q?Q.data.push(V):t.push({data:[V],name:j}),i([...t])}})}};function b(v){return{key:"category",name:a(ven),width:v,render:g}}let y=v=>{var j;let{editingRowNumbers:k,rowNumber:P,row:O,clickObj:_}=v;if(k.includes(P))return(0,kk.jsx)(i4,{style:{border:"1px solid #d9d9d9",boxSizing:"content-box",height:"24px"},ref:c,hasClearButton:document.activeElement===((j=c==null?void 0:c.current)==null?void 0:j.getInputElement()),isAlwaysShowClearButton:!1,enterTriggerBlur:!0,defaultValue:O.group,selected:_.colKey==="group",onBlur:B=>{let V=B.target.value,G;if(n>=0){let Q=_.rowNumber;G=t[n].data[Q]}else{let{index:Q}=O;G=Nk(t)[Q]}G.group=V,O.group=V,i([...t])}})};function w(v){return{key:"group",name:a(Een),width:v,render:y}}let x=v=>{let{editingRowNumbers:k,rowNumber:P,row:O,clickObj:_}=v;if(k.includes(P))return(0,kk.jsx)(i4,{style:{border:"1px solid #d9d9d9",boxSizing:"content-box",height:"24px"},hasClearButton:!0,isAlwaysShowClearButton:!1,enterTriggerBlur:!0,defaultValue:O.comment,selected:_.colKey==="comment",onBlur:j=>{let B=j.target.value,V;if(n>=0){let G=_.rowNumber;V=t[n].data[G]}else{let{index:G}=O;V=Nk(t)[G]}V.comment=B,O.comment=B,i([...t])}})};function S(v){return{key:"comment",name:a(Den),width:v,render:x}}let T=v=>k=>{let{row:P}=k;return(0,kk.jsx)(qt,{onChange:(O,_)=>{_.stopPropagation();let j=_.target.checked,B,{index:V}=P;B=Nk(t)[V],j?B[v]="true":B[v]="false",P[v]=j?"true":"false",i([...t])},checked:P[v]==="true",disabled:P[v]==="disabled"})};function M(v){let k=v;return v==="pcb"?k=a(Nen):v==="sch"&&(k=a(Aen)),{key:v,name:k,width:.12,render:T(v)}}let I=(0,Pk.useMemo)(()=>na?[{key:"device",name:a(qvo),width:.1},S(.1),b(.1),w(.1),{key:"footprint",name:a(Xvo),width:.12},M("sch"),M("pcb"),M(iDe),M(oDe)]:[{key:"device",name:a(qvo),width:.12},S(.12),b(.2),w(.2),{key:"footprint",name:a(Xvo),width:.12},M("sch"),M("pcb")],[]);I[1].render=x,I[2].render=g,I[3].render=y,I[5].render=T("sch"),I[6].render=T("pcb"),na&&(I[7].render=T(iDe),I[8].render=T(oDe));let A=(0,Pk.useMemo)(()=>[{key:"panel",name:a(ken),width:.25},b(.25),w(.25),S(.25)],[]);A[1].render=g,A[2].render=y,A[3].render=x;async function D(v){let k=Object.assign({},v);if(k.device&&k.devicePath&&!k.deviceName){let P=await Ze.getDevice({isProject:k.devicePath===C.currentProject.projectId,path:k.devicePath,uuid:k.device});k.deviceName=P.display_title}if(e==="device"){let P={device:k.deviceName,comment:k.comment||"",category:k.category,group:k.group,footprint:k.footprintName||"",sch:k.sch,pcb:k.pcb,index:k.sortIndex,uuid:k.device};return na&&Object.assign(P,{[iDe]:k[iDe],[oDe]:k[oDe]}),P}else return{panel:k.display_title,category:k.category,group:k.group,comment:k.comment||"",index:k.sortIndex,uuid:k.uuid}}let E=async function(){let v=[];n>=0&&n<t.length?(v=t[n].data,v.sort((P,O)=>P.sortIndex-O.sortIndex)):v=Nk(t);let k=[];for(let P=0;P<v.length;P++)k.push(await D(v[P]));return k};function N(v){switch(v){case"add":{let O=Nk(t).map(_=>_.device);e==="device"?$B({form:"basicLibrary",basicDevices:O}):e==="panel"&&Zvo()}break;case"delete":{let O=[];if(n>=0)O=t[n].data,O.splice(o,1);else{let _=Nk(t)[o];P(_)}}break;case"up":k(-1);break;case"down":k(1);break;default:}["delete","up","down"].includes(v)&&i([...t]);function k(O){let _=[];n>=0?_=t[n].data:_=Nk(t);let j=_[o].sortIndex;_[o].sortIndex=_[o+O].sortIndex,_[o+O].sortIndex=j,r(o+O)}function P(O){for(let _=0;_<t.length;_++){let j=t[_];if(j.name===O.category){for(let B=0;B<j.data.length;B++)if(j.data[B].sortIndex==O.sortIndex){j.data.splice(B,1);break}break}}Nk(t)}}function R(){e==="device"?($at==null||$at.cancel(),$at=C.messageBus.subscribe("updateBaseLibrary",async v=>{await Pen(v,t,n)&&i([...t])})):e==="panel"&&(est==null||est.cancel(),est=C.messageBus.subscribe("updatePanelLib",v=>{IHt(v,t,n)&&i([...t])}))}return R(),(0,kk.jsxs)(kk.Fragment,{children:[(0,kk.jsx)(ec,{onClick:N,...Q9e(f(),o)}),(0,kk.jsx)("div",{style:{height:"461px"},ref:h,onClick:()=>{m(!p)},children:(0,kk.jsx)(xi,{index:"uuid",columns:e==="device"?I:A,rows:d,border:!0,stockade:!0,selectedRowNumbers:[o],editingRowNumbers:[-1],onClick:v=>{let{clickObj:k}=v;k&&r(k.rowNumber)},onChange:v=>{console.log(v)}})})]})};function eDo(t,e,i){let o=!1;for(let r=0;r<t.length;r++){let n=t[r];if(n.data||(n.data=[]),n.name===e.category){let a=!1;for(let s=0;s<n.data.length;s++)if(n.data[s][i]===e[i]){a=!0;break}a||n.data.push(e),o=!0;break}}o||t.push({name:e.category,data:[e]})}function tDo(t,e,i){for(let o=0;o<t.length;o++){let r=t[o];for(let n=0;n<(r.data||[]).length;n++)if(r.data[n][e]===i){r.data.splice(n,1);break}}}function Nk(t){let e=[];return t.map(i=>{e.push(...i.data||[])}),e.sort((i,o)=>i.sortIndex-o.sortIndex),e.map((i,o)=>{i.sortIndex=o}),e}function iDo(t){return Nk(t).length>=200?(De({type:"error",msg:"Add common library failed! The devices limitation is 200"}),!1):!0}async function Pen(t,e,i){if(!iDo(e))return!1;let{deviceId:o,path:r=Len,operate:n,tags:a}=t,s=e;if(n==="add"){let l=await Oen(o,r,a,i,e);l&&eDo(s,l,"device")}else tDo(s,"device",o);return!0}function IHt(t,e,i=-1){if(!iDo(e))return!1;let{uuid:o,path:r,display_title:n,category:a,operate:s}=t,l=e;if(s==="add"){let c=Ren({uuid:o,path:r,display_title:n,category:a},i,e);c&&eDo(l,c,"uuid")}else tDo(l,"uuid",o);return!0}function wat(t,e,i,o){var s,l,c,d,u,p,m,h;let r=(s=t==null?void 0:t.symbol)==null?void 0:s.display_title,n=(l=t==null?void 0:t.footprint)==null?void 0:l.display_title,a={device:t.uuid,deviceName:t.display_title,devicePath:e,category:i,group:"",symbol:(c=t.attributes)==null?void 0:c.Symbol,symbolName:r,footprint:(d=t.attributes)==null?void 0:d.Footprint,footprintName:n,sch:(u=t.attributes)!=null&&u.Symbol?"true":"disabled",pcb:(p=t.attributes)!=null&&p.Footprint?"true":"disabled",sortIndex:o,updateTime:t.updateTime,comment:""};return na&&Object.assign(a,{[iDe]:(m=t.attributes)!=null&&m["NGSpice Model"]?"true":"disabled",[oDe]:(h=t.attributes)!=null&&h["Sim Model"]?"true":"disabled"}),a}async function Oen(t,e,i,o,r){let n=await Ze.getDevice({path:e,uuid:t,isProject:e===C.currentProject.projectId});if(n){let a=n,s=i||fP(a.tags);return o>=0&&(s=r[o].name),wat(a,e,s,Nk(r).length)}return null}function Ren(t,e,i){let o=t.category;return e>=0&&(o=i[e].name),{...t,category:o,group:"",comment:""}}var vHt=L(eyt()),hF=L(z()),{locals:_en}=vHt.default,{list:jen,table:Ben,content:zen}=_en,tst={libData:{},isAddedToBasicLibrary:function(t,e){let i=this.libData,o=[];for(let r=0;r<i.length;r++){let n=i[r];Array.isArray(n.data)&&(o=o.concat(n.data))}for(let r=0;r<o.length;r++)if(o[r][t]===e)return!0;return!1}},DHt=t=>{Ae(vHt.default);let{data:e,syncData:i,type:o}=t,[r,n]=(0,cye.useState)(u(e)||[]),[a,s]=(0,cye.useState)(-2),[l,c]=(0,cye.useState)(0);(0,cye.useEffect)(()=>{n(u(e)||[])},[e]),tst.libData=r;function d(m){n(m),i(o,m)}function u(m=[]){let h=-1,f,g=new Set([]);for(let b=0;b<m.length;b++)m[b].name===""&&(h=b,m[b].data||(m[b].data=[]),f=m[b]),Xs(m[b],"data")||(m[b].data=[]),m[b].data=p(m[b].data,g);return h<0?f={name:"",data:[]}:m.splice(h,1),m.splice(0,0,f),m}function p(m,h){let f=[];return m.forEach(g=>{o==="panel"&&!h.has(g.uuid)?(f.push(g),h.add(g.uuid)):o==="device"&&!h.has(g.device)&&(f.push(g),h.add(g.device))}),f}return(0,hF.jsx)(hF.Fragment,{children:(0,hF.jsxs)("div",{className:zen,children:[(0,hF.jsx)("div",{className:jen,children:(0,hF.jsx)(Zci,{type:o,libData:r,setLibData:d,listSelectedIndex:a,setListSelectedIndex:s,setTableSelectedRowNumber:c})}),(0,hF.jsx)("div",{className:Ben,children:(0,hF.jsx)($vo,{type:o,libData:r,setLibData:d,listSelectedIndex:a+1,selectedRowNumber:l,setTableSelectedRowNumber:c})})]})})};var tQ=L(z());var LHt=(0,oDo.createContext)({}),UOi=t=>{let{data:e,store:i,onChange:o}=t,{activeTab:r}=i,n=[{title:we.SYSTEM.BASE_LIBRARY.DEVICE,key:"device"},{title:we.SYSTEM.BASE_LIBRARY.PANEL_LIB,key:"panel"}];function a(s,l){s==="device"?(e.BASE_LIBRARY=ue.deepClone(l),o("BASE_LIBRARY",e.BASE_LIBRARY)):(e.BASE_PANEL_LIB=ue.deepClone(l),o("BASE_PANEL_LIB",e.BASE_PANEL_LIB))}return(0,tQ.jsx)(LHt.Provider,{value:{currentType:r},children:(0,tQ.jsxs)("div",{children:[(0,tQ.jsx)(yl,{lists:n,direction:"top",activeKey:r,type:"card",tabsStyle:{minWidth:"81px"},onClick:s=>{i.activeTab=s}}),(0,tQ.jsx)("div",{style:{display:`${r==="device"?"":"none"}`},children:(0,tQ.jsx)(DHt,{type:"device",syncData:a,data:e.BASE_LIBRARY})}),(0,tQ.jsx)("div",{style:{display:`${r==="panel"?"":"none"}`},children:(0,tQ.jsx)(DHt,{type:"panel",syncData:a,data:e.BASE_PANEL_LIB})})]})})};var cDo=L(Vi());var rDo=L(Vi());function i0(t){return!t||Object.keys(t).length===0}async function ist(){let t=await rDo.default.ajax({type:"GET",url:C.apis.others.userInfo}),e=null;return t.success&&(e=JSON.parse(t.result.preference)),e.commSystemSetting}function nDo(){let t=dt();return t!==se.SIMULIDE&&(t=se.NGSPICE),t}function EHt(t,e){let i=[],o=ue.deepClone(t);if(e=="simulate"){let r=nDo();o.forEach(n=>{n.devices.length&&(n.devices=n.devices.filter(a=>{var s,l,c,d;return i0(a.deviceInfo)||!((s=a.deviceInfo.attributes)!=null&&s["NGSpice Model"])&&!((l=a.deviceInfo.attributes)!=null&&l["Sim Model"])?!1:r==se.NGSPICE&&((c=a.deviceInfo.attributes)!=null&&c["NGSpice Model"])&&a.NGspice==="true"?!0:!!(r==se.SIMULIDE&&((d=a.deviceInfo.attributes)!=null&&d["Sim Model"])&&a.SimulIDE==="true")})),n.devices.length&&i.push(n)})}else o.forEach(r=>{r.devices.length&&(r.devices=r.devices.filter(n=>{var a,s;return i0(n.deviceInfo)||(a=n.deviceInfo.attributes)!=null&&a["NGSpice Model"]||(s=n.deviceInfo.attributes)!=null&&s["Sim Model"]?!1:e==="sch"&&n.sch==="true"||e==="pcb"&&n.pcb==="true"})),r.devices.length&&i.push(r)});return i}function aDo(t){let e=[];return ue.deepClone(t).forEach(o=>{o.panels.length&&(o.panels=o.panels.filter(r=>!i0(r.detail))),o.panels.length&&e.push(o)}),e}function sDo(t,e){let i=!1;for(let o in t)for(let r of t[o])if(r.devices.filter(a=>{if(i0(a.deviceInfo))return!1;if(e==="sch"&&a.sch==="disabled")return!1;if(e==="pcb"&&a.pcb==="disabled")return!1;if(e==="simulate"){let s=nDo();if(s===se.SIMULIDE&&a.SimulIDE==="disabled")return!1;if(s===se.NGSPICE&&a.NGspice==="disabled")return!1}return!0}).length)return i=!0,i;return i}function ost(t){return t==="sch"||t==="simulate"}function lDo(){return au.getCurrentVersion()}function Fen(){return Ko?"OFFLINE":Tn?"HALF_OFFLINE":N0?"ONLINE":"IS_WEB"}async function Ole(t,e){let i=lDo();await C.messageBus.rpcCall(Yo.LIB.SET,[t,{libraryData:e,currentClientEnv:Fen(),editorVersion:i}])}async function rst(t,e){await C.messageBus.rpcCall(Yo.LIB.SET,[t,e])}async function yR(t){await C.messageBus.rpcCall(Yo.LIB.SET,[t,0])}async function Uen(t,e,i){let o=(await C.messageBus.rpcCall(t,[e])).message;return i?o==null?void 0:o[i]:o}async function Lx(t,e){return await Uen(Yo.LIB.GET,t,e)}function nst(t){if(!t)return!1;let e=lDo();if(!e)return console.error("getEditorVersion Error"),!1;let i=t.split("."),o=e.split(".");return!(i[0]!==o[0]||i[1]!==o[1])}async function uye(t){await rst(t.uuid,t)}async function rDe(t,e){if(e)return;let i=await Lx(t.uuid);if(!(!i||i.updateTime!==t.updateTime))return i}var ast=class extends qe{constructor(){super(),this._userList=null,this._systemList=null,this._indexDbSystemList=null,this._indexDbUserList=null,this._placeDeviceUserData=null,this._placeDeviceSystemData=null,this._isUseIndexDBUserData=!1,this._isUseIndexDBSystemData=!1}set isUseIndexDBUserData(e){this._isUseIndexDBUserData=e}get isUseIndexDBUserData(){return this._isUseIndexDBUserData}set isUseIndexDBSystemData(e){this._isUseIndexDBSystemData=e}get isUseIndexDBSystemData(){return this._isUseIndexDBSystemData}set placeDeviceUserData(e){this._placeDeviceUserData=e}get placeDeviceUserData(){return this._placeDeviceUserData}set placeDeviceSystemData(e){this._placeDeviceSystemData=e}get placeDeviceSystemData(){return this._placeDeviceSystemData}set userList(e){this._userList=e,this.notify()}get userList(){return this._userList}set systemList(e){this._systemList=e,this.notify()}get systemList(){return this._systemList}set indexDbSystemList(e){this._indexDbSystemList=e}get indexDbSystemList(){return this._indexDbSystemList}set indexDbUserList(e){this._indexDbUserList=e}get indexDbUserList(){return this._indexDbUserList}async getIndexDB(e,i=!0){if(i){let o=await Lx(e,"editorVersion");if(!nst(o))return null}switch(e){case"userBasicLibraryList":return this.indexDbUserList?this.indexDbUserList:await Lx(e,"libraryData");case"systemBasicLibraryList":return this.indexDbSystemList?this.indexDbSystemList:await Lx(e,"libraryData")}}async saveToIndexDB(e,i){switch(i[0]){case"userBasicLibraryList":this.indexDbUserList=this.userList;break;case"systemBasicLibraryList":this.indexDbSystemList=this.systemList;break}await C.messageBus.rpcCall(e,i)}filterData(e,i){if(!e)return;let o={},r=Object.keys(e);for(let s=0;s<r.length;s++){let l=r[s],c=e[l],d=[];for(var n=0;n<c.length;n++){let u=c[n];if(u){i==="system"&&(!u.devicePath||u.devicePath==="")&&(u.devicePath=_e.SYSTEMLIB_UUID);var a=d.findIndex(function(p){if(u.group.length!==0)return p.group===u.group});a!==-1?(d[a].devices.push({deviceId:u.device,devicePath:u.devicePath,deviceInfo:{},comment:u.comment,sch:u.sch,pcb:u.pcb,NGspice:u.NGspice,SimulIDE:u.SimulIDE}),d[a].orders.push(n)):d.push({category:u.category,group:u.group,devices:[{deviceId:u.device,devicePath:u.devicePath,deviceInfo:{},comment:u.comment,sch:u.sch,pcb:u.pcb,NGspice:u.NGspice,SimulIDE:u.SimulIDE}],orders:[n]})}}o[l]=d}return o}getDeviceIdPathMap(e){if(!e)return null;let i={};return Object.keys(e).forEach(r=>{e[r].forEach(a=>{a.devices.forEach(l=>{l.devicePath&&(i!=null&&i[l.devicePath])?i[l.devicePath].push(l.deviceId):l.devicePath&&(i[l.devicePath]=[l.deviceId])})})}),i}async batchGetDeviceDetail(e){let i=[];for(let o of Object.keys(e||{})){let r=await Ze.getDeviceSearchList({isProject:o===C.currentProject.projectId,uuids:e[o],path:o}).catch(n=>(console.error("GetDeviceDetail error",n),null));r&&i.push(...r)}return i}async batchGetComponentDetail(e,i=!1){let o=[];for(let r of Object.keys(e||{})){let n;if(i?n=await Ze.getSymbolSearchList({isProject:r===C.currentProject.projectId,uuids:e[r],path:r}).catch(a=>(console.error("batchGetComponentDetail error",a),null)):n=await Ze.getSymbolSearchList({isProject:r===C.currentProject.projectId,uuids:e[r],path:r}).catch(a=>(console.error("batchGetComponentDetail error",a),null)),n)for(let a of n)a.path=r,o.push(a)}return o}async batchGetDeviceInfo(e,i){var c,d;let o,r={},n={},a=[],s=[],l=await this.batchGetDeviceDetail(e);if(l.length&&l.forEach(u=>{var p,m;(p=u.attributes)!=null&&p.Symbol&&(r[u.path]?r[u.path].includes(u.attributes.Symbol)||r[u.path].push(u.attributes.Symbol):r[u.path]=[u.attributes.Symbol]),(m=u.attributes)!=null&&m.Footprint&&(n[u.path]?n[u.path].includes(u.attributes.Footprint)||n[u.path].push(u.attributes.Footprint):n[u.path]=[u.attributes.Footprint])}),a=await this.batchGetComponentDetail(r,!0),s=await this.batchGetComponentDetail(n),a.length){for(let u=0;u<l.length;u+=1)if((c=l[u].attributes)!=null&&c.Symbol){for(let p=0;p<a.length;p+=1)if(l[u].attributes.Symbol===a[p].uuid){l[u].symbolsInfo=a[p];break}}}if(s.length){for(let u=0;u<l.length;u+=1)if((d=l[u].attributes)!=null&&d.Footprint){for(let p=0;p<s.length;p+=1)if(l[u].attributes.Footprint===s[p].uuid){l[u].footprintInfo=s[p];break}}}return o=l,o}revisionData(e,i){if(!e)return;let o=Object.keys(e);for(let r=0;r<o.length;r+=1){let n=e[o[r]];for(let a=0;a<n.length;a+=1){let s=n[a].devices;for(let l=0;l<s.length;l+=1)for(let c=0;c<i.length;c+=1)s[l].deviceId===i[c].uuid&&(s[l].deviceInfo=i[c])}}return e}getPlaceDeviceData(e){let i=[],o=ue.deepClone(e),r=Object.keys(o);for(let n=0;n<r.length;n+=1){let a=o[r[n]];for(let s=0;s<a.length;s+=1){let l=a[s].devices;for(let c=0;c<l.length;c+=1)if(l[c].deviceInfo){let d=l[c].deviceInfo;d.footprintInfo&&d.footprintInfo.img&&delete d.footprintInfo.img,d.symbolsInfo&&d.symbolsInfo.img&&delete d.symbolsInfo.img,i.push({deviceDetail:d,symbolDetail:d.symbolsInfo,footprintDetail:d.footprintInfo})}}}return i}async getSystemLists(e){var s;let i=null,o=await this.getIndexDB("systemBasicLibraryList");if(o&&!e){this.indexDbSystemList=o,i=ue.deepClone(o),this.systemList=i,this.isUseIndexDBSystemData=!0,this.placeDeviceSystemData=this.getPlaceDeviceData(i);return}this.isUseIndexDBSystemData=!1;let r=null,n=await cDo.default.ajax({type:"GET",url:C.apis.others.lcscPreference}),a=n.success&&JSON.parse(n.result)||"";if(a){let l=(s=a.commSystemSetting)==null?void 0:s.BASE_LIBRARY;if(i0(l))this.systemList=null;else{let c=awt(l);r=this.filterData(c,"system");let d=this.getDeviceIdPathMap(r);if(d){let u=await this.batchGetDeviceInfo(d,"system"),p=this.revisionData(r,u);this.systemList=p,this.placeDeviceSystemData=this.getPlaceDeviceData(p)}}}}async getUserLists(e,i){var s,l,c;let o=null,r=await this.getIndexDB("userBasicLibraryList");if(r&&!e&&!i){this.indexDbUserList=r,o=ue.deepClone(r),this.userList=o,this.isUseIndexDBUserData=!0,this.placeDeviceUserData=this.getPlaceDeviceData(o);return}this.isUseIndexDBUserData=!1;let n=null,a=[];if(e||!((c=(l=(s=C)==null?void 0:s.profileSetting)==null?void 0:l.commSystemSetting)!=null&&c.BASE_LIBRARY)?a=(await ist()).BASE_LIBRARY:a=Wi("BASE_LIBRARY")||[],a.length){let d=awt(a);n=this.filterData(d,"system");let u=this.getDeviceIdPathMap(n);if(u){let p=await this.batchGetDeviceInfo(u,"system"),m=this.revisionData(n,p);this.userList=m,this.placeDeviceUserData=this.getPlaceDeviceData(m)}}else this.userList=null}async getLibraryData(e=!1,i){try{await this.getUserLists(e,i)}catch(o){console.warn("\u5E38\u7528\u5E93\u83B7\u53D6\u7528\u6237\u5E93\u6570\u636E\u5931\u8D25",o)}try{!i&&await this.getSystemLists(e)}catch(o){console.warn("\u5E38\u7528\u5E93\u83B7\u53D6\u7CFB\u7EDF\u5E93\u6570\u636E\u5931\u8D25",o)}}async updateIndexDBData(e,i,o,r=!0,n=!0){if((!this.isUseIndexDBUserData||o)&&(this.indexDbUserList=i,await Ole("userBasicLibraryList",this.indexDbUserList)),(!this.isUseIndexDBSystemData||o)&&(this.indexDbSystemList=e,await Ole("systemBasicLibraryList",this.indexDbSystemList)),r){let a=Wi("OBJECT","theme",{readValueKey:!1});await rst("schTheme",JSON.stringify(a))}if(n){let a=Wi("PCB_THEME");await rst("pcbTheme",JSON.stringify(a))}}filterBasicLibraryData(e,i){var n,a;if(i0(e))return{};let o=new RegExp(`${i}`,"i"),r={};if(i){let s=Object.keys(e);for(let l=0;l<s.length;l+=1){let c=[],d=e[s[l]];for(let u=0;u<d.length;u+=1){let p=d[u].devices,m=d[u].selectedDeviceId,h=!0,f=[];for(let g=0;g<p.length;g+=1){let b=p[g],y=b==null?void 0:b.deviceInfo;y&&i&&((n=y==null?void 0:y.display_title)!=null&&n.match(o)||(a=b.comment)!=null&&a.match(o))&&(f.push(b),m==b.deviceId&&(h=!1))}f.length&&c.push({...d[u],devices:f,selectedDeviceId:h?f[0].deviceId:m})}c.length&&(r=Object.assign(r,{[s[l]]:c}))}}return r}inputFilterBasicLibraryData(e){if(!e.trim()){this.userList=this.indexDbUserList,this.systemList=this.indexDbSystemList;return}this.userList=this.filterBasicLibraryData(this.indexDbUserList,e),this.systemList=this.filterBasicLibraryData(this.indexDbSystemList,e)}restoreBasicLibraryData(){i0(this.indexDbUserList)||(this.userList=this.indexDbUserList),i0(this.indexDbSystemList)||(this.systemList=this.indexDbSystemList)}async changeMultipartSelect(e,i,o){var s;let r=null,n;i==="system"?r=ue.deepClone(this.systemList):r=ue.deepClone(this.userList);let a=Object.keys(r);for(let l=0;l<a.length;l+=1){let c=r[a[l]];for(let d=0;d<c.length;d+=1){let u=c[d].devices;for(let p=0;p<u.length;p+=1)if((s=u[p])!=null&&s.deviceInfo&&u[p].deviceInfo.uuid===o&&u[p].deviceInfo.symbolsInfo){u[p].deviceInfo.symbolsInfo.svgStr=await Cr("getPartSvgStr",{partIndex:e.key,component:u[p].deviceInfo.symbolsInfo});let m=await Rf(u[p].deviceInfo.symbolsInfo);m.src&&(u[p].deviceInfo.symbolsInfo.bg=m.bg,u[p].deviceInfo.symbolsInfo.img=m.src,u[p].deviceInfo.symbolsInfo.partIndex=e.key),n=u[p].deviceInfo.symbolsInfo;break}}}return i==="system"?this.systemList=r:this.userList=r,{uuid:n.uuid,img:n.img}}changeGroupDeviceSelected(e,i,o){let{category:r,group:n}=e,a={},s={};o==="personal"?(a=this.userList,s=this.indexDbUserList):(a=this.systemList,s=this.indexDbSystemList);for(let l=0;l<a[r].length;l++)if(a[r][l].group===n){a[r][l].selectedDeviceId=i;break}for(let l=0;l<(s==null?void 0:s[r].length);l++)if(s[r][l].group===n){s[r][l].selectedDeviceId=i;break}}async updateDeviceData(e,i,o,r){let n,a={};a[o]=[e],n=await this.batchGetDeviceInfo(a);for(let s in i)for(let l of i[s])for(let c of l.devices)if(c.deviceId===e){l.deviceInfo=n;break}r==="mine"&&(this.userList=i,await Ole("userBasicLibraryList",this.userList),this.indexDbUserList=i)}clearData(){this.userList=null,this.systemList=null,this.indexDbSystemList=null,this.indexDbUserList=null}async clearIndexDBData(e,i){e==="launchClient"&&await Lx("systemBasicLibraryList","currentClientEnv")===i||(await yR("systemBasicLibraryList"),await yR("userBasicLibraryList"),await yR("pcbTheme"),await yR("schTheme"))}};var dDo=L(Vi());var lst=class extends qe{constructor(){super(),this._systemList=null,this._userList=null,this._indexDbUserList=null,this._indexDbSystemList=null,this._isUseIndexDBUserData=!1,this._isUseIndexDBSystemData=!1,this._isUpdateImg=!1}set isUpdateImg(e){this._isUpdateImg=e}get isUpdateImg(){return this._isUpdateImg}set isUseIndexDBUserData(e){this._isUseIndexDBUserData=e}get isUseIndexDBUserData(){return this._isUseIndexDBUserData}set isUseIndexDBSystemData(e){this._isUseIndexDBSystemData=e}get isUseIndexDBSystemData(){return this._isUseIndexDBSystemData}set systemList(e){this._systemList=e,this.notify()}get systemList(){return this._systemList}set indexDbSystemList(e){this._indexDbSystemList=e}get indexDbSystemList(){return this._indexDbSystemList}set userList(e){this._userList=e,this.notify()}get userList(){return this._userList}set indexDbUserList(e){this._indexDbUserList=e}get indexDbUserList(){return this._indexDbUserList}async getDataIndexDB(e){if(wi){let i=await Lx(e,"editorVersion");if(!nst(i))return null}switch(e){case"userPanelBasicLibraryList":return this.indexDbUserList?this.indexDbUserList:await Lx(e,"libraryData");case"systemPanelBasicLibraryList":return this.indexDbSystemList?this.indexDbSystemList:await Lx(e,"libraryData")}}clearData(){this.userList=null,this.systemList=null}filterPanelData(e,i){if(!e)return;let o=ue.deepClone(e),r=Object.keys(e);for(let s=0;s<r.length;s++){let l=r[s],c=e[l],d=[];for(var n=0;n<c.length;n++){let u=c[n];if(u){i==="system"&&(!u.path||u.path==="")&&(u.path=_e.SYSTEMLIB_UUID);var a=d.findIndex(function(p){if(u.group.length!==0)return p.group===u.group});a!==-1?d[a].panels.push({uuid:u.uuid,path:u.path,detail:{},comment:u.comment}):d.push({category:u.category,group:u.group,panels:[{uuid:u.uuid,path:u.path,detail:{},comment:u.comment}]})}}o[l]=d}return o}getPanelIdPathMap(e){if(!e)return null;let i={};return Object.keys(e).forEach(r=>{e[r].forEach(a=>{a.panels.forEach(l=>{l.path&&(i!=null&&i[l.path])?i[l.path].push(l.uuid):l.path&&(i[l.path]=[l.uuid])})})}),i}revisionPanelData(e,i){if(!e)return;let o=Object.keys(e);for(let r=0;r<o.length;r+=1){let n=e[o[r]];for(let a=0;a<n.length;a+=1){let s=n[a].panels;for(let l=0;l<s.length;l+=1)for(let c=0;c<i.length;c+=1)s[l].uuid===i[c].uuid&&(s[l].detail=i[c])}}return e}async getSystemPanelLists(e){var s;let i=null,o=await this.getDataIndexDB("systemPanelBasicLibraryList");if(o&&!e){this.indexDbSystemList=o,i=ue.deepClone(o),this.systemList=i;return}let r=null,n=await dDo.default.ajax({type:"GET",url:C.apis.others.lcscPreference}),a=n.success&&JSON.parse(n.result)||"";if(a){let l=(s=a.commSystemSetting)==null?void 0:s.BASE_PANEL_LIB;if(!i0(l)){let c=swt(l);r=this.filterPanelData(c,"system");let d=this.getPanelIdPathMap(r);if(d){let u=await this.batchGetComponentDetail(d);this.systemList=this.revisionPanelData(r,u)}}}else this.systemList=null}async batchGetComponentDetail(e,i){let o=[];for(let r of Object.keys(e||{}))await Ro(e[r],async(n,a)=>{let s=await Ze.getPanelLib({path:r,uuid:a,isProject:!1});s&&o.push(s)});return o}async getUserPanelLists(e,i){var s,l,c;let o=null,r=await this.getDataIndexDB("userPanelBasicLibraryList");if(r&&!e&&!i){this.indexDbUserList=r,o=ue.deepClone(r),this.userList=o,this.isUseIndexDBSystemData=!0;return}this.isUseIndexDBSystemData=!1;let n=null,a=[];if(e||!((c=(l=(s=C)==null?void 0:s.profileSetting)==null?void 0:l.commSystemSetting)!=null&&c.BASE_PANEL_LIB)?a=(await ist()).BASE_PANEL_LIB:a=Wi("BASE_PANEL_LIB")||[],a.length){let d=swt(a);n=this.filterPanelData(d,"system");let u=this.getPanelIdPathMap(n);if(u){let p=await this.batchGetComponentDetail(u);this.userList=this.revisionPanelData(n,p)}}else this.userList=null}async getLibraryData(e=!1,i){try{await this.getUserPanelLists(e,i)}catch(o){console.warn("\u5E38\u7528\u5E93\u83B7\u53D6\u9762\u677F\u7528\u6237\u5E93\u6570\u636E\u5931\u8D25",o)}try{await this.getSystemPanelLists(e)}catch(o){console.warn("\u5E38\u7528\u5E93\u83B7\u53D6\u9762\u677F\u7528\u6237\u5E93\u6570\u636E\u5931\u8D25",o)}}async updateIndexDBData(e,i,o){(!this.isUseIndexDBUserData||o)&&(this.indexDbUserList=i,await Ole("userPanelBasicLibraryList",this.indexDbUserList)),(!this.isUseIndexDBSystemData||o)&&(this.indexDbSystemList=e,await Ole("systemPanelBasicLibraryList",this.indexDbSystemList))}filterPanelBasicLibraryData(e,i){var n,a;if(i0(e))return{};let o=new RegExp(`${i}`,"i"),r={};if(i){let s=Object.keys(e);for(let l=0;l<s.length;l+=1){let c=e[s[l]],d=[];for(let u=0;u<c.length;u+=1){let p=[],m=c[u].panels,h=c[u].selectedPanelId,f=!0;for(let g=0;g<m.length;g+=1){let b=m[g],y=b==null?void 0:b.detail;y&&i&&((n=y==null?void 0:y.display_title)!=null&&n.match(o)||(a=b.comment)!=null&&a.match(o))&&(p.push(b),b.uuid===h&&(f=!1))}p.length&&d.push({...c[u],panels:p,selectedPanelId:f?p[0].uuid:h})}d.length&&(r=Object.assign(r,{[s[l]]:d}))}}return r}inputFilterPanelBasicLibraryData(e){if(!e.trim()){this.userList=this.indexDbUserList,this.systemList=this.indexDbSystemList;return}this.userList=this.filterPanelBasicLibraryData(this.indexDbUserList,e),this.systemList=this.filterPanelBasicLibraryData(this.indexDbSystemList,e)}restorePanelBasicLibraryData(){i0(this.indexDbUserList)||(this.userList=this.indexDbUserList),i0(this.indexDbSystemList)||(this.systemList=this.indexDbSystemList)}changeGroupPanelSelected(e,i,o){let{category:r,group:n}=e,a={},s={};o==="personal"?(a=this.userList,s=this.indexDbUserList):(a=this.systemList,s=this.indexDbSystemList);for(let l=0;l<a[r].length;l++)if(a[r][l].group===n){a[r][l].selectedPanelId=i;break}for(let l=0;l<(s==null?void 0:s[r].length);l++)if(s[r][l].group===n){s[r][l].selectedPanelId=i;break}}async clearIndexDBData(e,i){e==="launchClient"&&await Lx("systemPanelBasicLibraryList","currentClientEnv")===i||(await yR("systemPanelBasicLibraryList"),await yR("userPanelBasicLibraryList"))}};var cst=L(Vi());var pye=class extends qe{constructor(){super(),this._isUpdateImg=!1,this._userSymbolImagesMap={},this._userFootprintImagesMap={},this._systemSymbolImagesMap={},this._systemFootprintImagesMap={},this._userFootprintImagesMap={},this._schImagesBackgroundColor="",this._pcbImagesBackgroundColor=""}set schImagesBackgroundColor(e){this.notify(),this._schImagesBackgroundColor=e}get schImagesBackgroundColor(){return this._schImagesBackgroundColor}set pcbImagesBackgroundColor(e){this.notify(),this._pcbImagesBackgroundColor=e}get pcbImagesBackgroundColor(){return this._pcbImagesBackgroundColor}set systemFootprintImagesMap(e){this.notify(),this._systemFootprintImagesMap=e}get systemFootprintImagesMap(){return this._systemFootprintImagesMap}set systemSymbolImagesMap(e){this.notify(),this._systemSymbolImagesMap=e}get systemSymbolImagesMap(){return this._systemSymbolImagesMap}set userFootprintImagesMap(e){this.notify(),this._userFootprintImagesMap=e}get userFootprintImagesMap(){return this._userFootprintImagesMap}set userSymbolImagesMap(e){this.notify(),this._userSymbolImagesMap=e}get userSymbolImagesMap(){return this._userSymbolImagesMap}set isUpdateImg(e){this._isUpdateImg=e}get isUpdateImg(){return this._isUpdateImg}set systemSymbolPartMap(e){this._systemSymbolPartMap=e,this.notify()}get systemSymbolPartMap(){return this._systemSymbolPartMap}set userSymbolPartMap(e){this._userSymbolPartMap=e,this.notify()}get userSymbolPartMap(){return this._userSymbolPartMap}async isChangeTheme(e,i){let o=!1,r;return e==="sch"?r=await Lx("schTheme"):r=await Lx("pcbTheme"),r?o=await this.compareThemesChanges(r,e,i):o=!0,o}async compareThemesChanges(e,i,o){let r;return i==="sch"?r=JSON.stringify(Wi("OBJECT","theme",{readValueKey:!1})):r=JSON.stringify(Wi("PCB_THEME")),e!==r}async generateSymbolImg(e,i){let o=await rDe(e,i);if(o)return o;try{await Cr("createDocManager",{data:e,cb:n=>{let a=n.getPartByIndex(e.partIndex||0);e.svgStr=a.shapeManager.toModelSvg(a),e.multipartSelect=n.parts.map((s,l)=>({name:s.partTitle,partId:s.partId,key:l,icon:"eda-v-tick"})),n.dispose()}});let r=await Rf(e,{targetType:"PNG",h:200});r!=null&&r.src&&(e.img=r.src,uye(e))}catch(r){console.warn(r,`Get symbol image error${e.uuid}`)}return e}async generateFootprintImg(e,i){let o=await rDe(e,i);if(o)return o;let r=(0,cst.default)(".basic-iframe-wrap"),n="basicLibraryFootprintPreview";if((0,cst.default)("iframe",r).length==0){let s=g1(r[0],n,se.FOOTPRINT,!1);this.$iframe=(0,cst.default)(s);let l=this;return new Promise(c=>{this.$iframe[0].onload=async function(){let d={docType:se.FOOTPRINT,tabId:n,isFromBasicLibrary:!0,isPreview:!0,currOpenProjectId:C.currentProject.projectId,commSystemSetting:hn()};await C.windowBridge.rpcCall("rpcInitFrameInfo",d,l.$iframe[0].contentWindow),await l.generatePcbImg0(e),uye(e),c(e)}})}else return await this.generatePcbImg0(e),uye(e),e}async generatePcbImg0(e){let i={docType:se.FOOTPRINT,tabId:e.uuid+"@"+e.path,isPreview:!0};i.isFromBasicLibrary=!0,i.width=200,i.height=200;let r=(await C.windowBridge.rpcCall("getFootprintPng",i,this.$iframe[0].contentWindow)).message.data,n=null;if(r instanceof Uint8ClampedArray)n=r;else{n=new Uint8ClampedArray(4e4*4);for(let s in r)n[s]=r[s]}let a=document.createElement("canvas");return a.width=200,a.height=200,a.getContext("2d").putImageData(new ImageData(n,200,200),0,0),e.img=a.toDataURL("image/png"),e}symbolAndFootprintMap(e){let i=new Map;for(let o in e)e[o].forEach(r=>{r.devices.length&&r.devices.forEach(n=>{var a,s;(a=n.deviceInfo)!=null&&a.symbolsInfo&&i.set(n.deviceInfo.symbolsInfo.uuid,n.deviceInfo.symbolsInfo),(s=n.deviceInfo)!=null&&s.footprintInfo&&i.set(n.deviceInfo.footprintInfo.uuid,n.deviceInfo.footprintInfo)})});return i}clearData(e="all"){switch(e){case"sch":{this.userSymbolImagesMap={},this.systemSymbolImagesMap={},this.userSymbolPartMap={},this.systemSymbolPartMap={};break}case"pcb":{this.userFootprintImagesMap={},this.systemFootprintImagesMap={};break}default:this.userSymbolImagesMap={},this.systemSymbolImagesMap={},this.userFootprintImagesMap={},this.systemFootprintImagesMap={},this.userSymbolPartMap={},this.systemSymbolPartMap={}}}async generateImages(e,i,o,r,n){var u;let a=!1;r==="2"?a=await this.isChangeTheme(o,i):r==="3"&&(a=!0);let s={},l={},c={};i==="personal"?(s=this.userSymbolImagesMap,l=this.userFootprintImagesMap,c=this.userSymbolPartMap):(s=this.systemSymbolImagesMap,l=this.systemFootprintImagesMap,c=this.systemSymbolPartMap);let d=Object.keys(e);e:for(let p=0;p<d.length;p+=1){let m=d[p];for(let h=0;h<e[m].length;h+=1){let g=e[m][h].devices;for(let b=0;b<g.length;b+=1){if(C.interruptBasePreviewImage)break e;let y=g[b].deviceInfo.symbolsInfo,w=g[b].deviceInfo.footprintInfo;if(y&&o==="sch"){if(a||r==="1"||!y.img){if(y=await this.generateSymbolImg(y,a),g[b].deviceInfo.symbolsInfo=y,this.requestId!==n)return;this.isUpdateImg=!0}(!s[y.uuid]||s[y.uuid]!==y.img)&&(s[y.uuid]=y.img,i==="personal"?this.userSymbolImagesMap={...s}:this.systemSymbolImagesMap={...s}),(!c[y.uuid]||c[y.uuid].length!==((u=y.multipartSelect)==null?void 0:u.length))&&(c[y.uuid]=y.multipartSelect||[],i==="personal"?this.userSymbolPartMap={...c}:this.systemSymbolPartMap={...c})}if(w&&o==="pcb"){if(a||r==="1"||!w.img){if(w=await this.generateFootprintImg(w,a),g[b].deviceInfo.footprintInfo=w,this.requestId!==n)return;this.isUpdateImg=!0}(!l[w.uuid]||l[w.uuid]!==w.img)&&(l[w.uuid]=w.img,i==="personal"?this.userFootprintImagesMap={...l}:this.systemFootprintImagesMap={...l})}}}}}async generateImages2(e,i,o,r,n,a){var m;let s;a?s=!0:s=await this.isChangeTheme(o,i);let l=this.symbolAndFootprintMap(r),c=Object.keys(e),d={},u={},p={};i==="personal"?(d=this.userSymbolImagesMap,u=this.userFootprintImagesMap,p=this.userSymbolPartMap):(d=this.systemSymbolImagesMap,u=this.systemFootprintImagesMap,p=this.systemSymbolPartMap);e:for(let h=0;h<c.length;h+=1){let f=c[h];for(let g=0;g<e[f].length;g+=1){let b=e[f][g].devices;for(let y=0;y<b.length;y+=1){if(C.interruptBasePreviewImage)break e;let w=b[y].deviceInfo.symbolsInfo,x=b[y].deviceInfo.footprintInfo;if(w&&o==="sch"){if(s||!l.has(w.uuid)){if(w=await this.generateSymbolImg(w,s),this.requestId!==n)return;this.isUpdateImg=!0}else if(l.has(w.uuid)){let S=l.get(w.uuid);if(S.updateTime===w.updateTime&&S.img)w.img=S.img,w.multipartSelect=S.multipartSelect;else{if(w=await this.generateSymbolImg(w,s),this.requestId!==n)return;this.isUpdateImg=!0}}b[y].deviceInfo.symbolsInfo=w,(!d[w.uuid]||d[w.uuid]!==w.img)&&(d[w.uuid]=w.img,i==="personal"?this.userSymbolImagesMap={...d}:this.systemSymbolImagesMap={...d}),(!p[w.uuid]||p[w.uuid].length!==((m=w.multipartSelect)==null?void 0:m.length))&&(p[w.uuid]=w.multipartSelect||[],i==="personal"?this.userSymbolPartMap={...p}:this.systemSymbolPartMap={...p})}if(x&&o==="pcb"){if(s||!l.has(x.uuid)){if(x=await this.generateFootprintImg(x,s),this.requestId!==n)return;this.isUpdateImg=!0}else if(l.has(x.uuid)){let S=l.get(x.uuid);if(S.updateTime===x.updateTime&&S.img)x.img=S.img;else{if(x=await this.generateFootprintImg(x,s),this.requestId!==n)return;this.isUpdateImg=!0}}b[y].deviceInfo.footprintInfo=x,(!u[x.uuid]||u[x.uuid]!==x.img)&&(u[x.uuid]=x.img,i==="personal"?this.userFootprintImagesMap={...u}:this.systemFootprintImagesMap={...u})}}}}}async getDeviceImages(e,i,o,r=!1,n=!1){return i0(e)||(i==="personal"?(this.userSymbolImagesMap={},this.userFootprintImagesMap={}):(this.systemSymbolImagesMap={},this.systemFootprintImagesMap={}),await this.generateImages(e,i,"sch",r?"3":"1",o),await this.generateImages(e,i,"pcb",n?"3":"1",o)),e}async getDeviceImages2(e,i,o,r,n=!1,a=!1){if(i0(e))return e;switch(o){case"sch":{await this.generateImages(e,i,"sch",n?"3":"2",r);break}case"pcb":{await this.generateImages(e,i,"pcb",a?"3":"2",r);break}default:await this.generateImages(e,i,"sch",n?"3":"2",r),await this.generateImages(e,i,"pcb",a?"3":"2",r)}return e}async getDeviceImages3(e,i,o,r,n=!1,a=!1){return i0(e)||(await this.generateImages2(e,i,"sch",o,r,n),await this.generateImages2(e,i,"pcb",o,r,a)),e}async getDeviceImagesData(e,i,o,r,n,a,s="all",l,c=!1,d=!1){this.clearData(s),this.isUpdateImg=!1;let u={},p={};return r?p=await this.getDeviceImages2(e,"personal",s,l,c,d):i0(n)?p=await this.getDeviceImages(e,"personal",l,c,d):p=await this.getDeviceImages3(e,"personal",n,l,c,d),o?u=await this.getDeviceImages2(i,"system",s,l,c,d):i0(a)?u=await this.getDeviceImages(i,"system",l,c,d):u=await this.getDeviceImages3(i,"system",a,l,c,d),{indexDbSystemList:u,indexDbUserList:p,requestId:l}}};var dst=class extends qe{constructor(){super(),this._isUpdateImg=!1,this._systemPanelImagesMap={},this._userPanelImagesMap={}}set systemPanelImagesMap(e){this.notify(),this._systemPanelImagesMap=e}get systemPanelImagesMap(){return this._systemPanelImagesMap}set userPanelImagesMap(e){this.notify(),this._userPanelImagesMap=e}get userPanelImagesMap(){return this._userPanelImagesMap}set isUpdateImg(e){this._isUpdateImg=e}get isUpdateImg(){return this._isUpdateImg}clearData(){this.userPanelImagesMap={},this.systemPanelImagesMap={}}async getPanelImage(e){let i=await rDe(e,!1);if(i)return i;let o=await cc.getPanelLibSvg(e),r="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(o)));return this.isUpdateImg=!0,e.img=r,uye(e),e}panelInfoMap(e){let i=new Map;for(let o in e)e[o].forEach(r=>{r.panels.length&&r.panels.forEach(n=>{n.detail&&i.set(n.uuid,n.detail)})});return i}async getPanelImages(e,i,o){if(i0(e))return e;let r=Object.keys(e),n={};i==="personal"?n=this.userPanelImagesMap:n=this.systemPanelImagesMap;for(let a=0;a<r.length;a+=1){let s=r[a];for(let l=0;l<e[s].length;l+=1){let c=e[s][l].panels;for(let d=0;d<c.length;d+=1)c[d].detail&&((o===1||!c[d].detail.img)&&(c[d].detail=await this.getPanelImage(c[d].detail)),(!n[c[d].detail.uuid]||n[c[d].detail.uuid]!==c[d].detail.img)&&(n[c[d].detail.uuid]=c[d].detail.img,i==="personal"?this.userPanelImagesMap=ue.deepClone(n):this.systemPanelImagesMap=ue.deepClone(n)))}}return e}async getPanelImages2(e,i,o){if(i0(e))return e;let r={};i==="personal"?r=this.userPanelImagesMap:r=this.systemPanelImagesMap;let n=this.panelInfoMap(o),a=Object.keys(e);for(let s=0;s<a.length;s+=1){let l=a[s];for(let c=0;c<e[l].length;c+=1){let d=e[l][c].panels;for(let u=0;u<d.length;u+=1)if(d[u].detail){if(n.has(d[u].uuid)){let p=n.get(d[u].uuid);d[u].detail.updateTime===p.updateTime&&p.img?d[u].detail.img=p.img:d[u].detail=await this.getPanelImage(d[u].detail)}else d[u].detail=await this.getPanelImage(d[u].detail);(!r[d[u].detail.uuid]||r[d[u].detail.uuid]!==d[u].detail.img)&&(r[d[u].detail.uuid]=d[u].detail.img,i==="personal"?this.userPanelImagesMap=ue.deepClone(r):this.systemPanelImagesMap=ue.deepClone(r))}}}return e}async getPanelImagesData(e,i,o,r,n,a){this.isUpdateImg=!1;let s={},l={};return r?l=await this.getPanelImages(e,"personal",2):i0(n)?l=await this.getPanelImages(e,"personal",1):l=await this.getPanelImages2(e,"personal",n),o?s=await this.getPanelImages2(i,"system",2):i0(a)?s=await this.getPanelImages(i,"system",1):s=await this.getPanelImages2(i,"system",a),{indexDbSystemList:s,indexDbUserList:l}}};var ust=class extends qe{constructor(){super(),this._libTabType="sch",this._rowPage=Yue,this._isLoading=!0,this._filterVal="",this._updateFilterVal=!1}set updateFilterVal(e){this._updateFilterVal=e}get updateFilterVal(){return this._updateFilterVal}set filterVal(e){this._filterVal=e}get filterVal(){return this._filterVal}set isLoading(e){this._isLoading=e,this.notify()}get isLoading(){return this._isLoading}set libTabType(e){this._libTabType=e}get libTabType(){return this._libTabType}set rowPage(e){this._rowPage!==e&&(this._rowPage=e,this.notify())}get rowPage(){return this._rowPage}async setUserPreferBasicRowConfig(e,i=!0){e&&(mt.setCacheObj("basicLibraryRowNum",e),i&&await mt.saveToServer())}async changeRowPageNum(e){this.rowPage=e,await this.setUserPreferBasicRowConfig(e)}};var pst=class extends qe{constructor(){super(),this._imageWidth="50%",this._imageHeight="100%",this._renderImageSize=!1,this._imageBoxWidth=0}set imageBoxWidth(e){this._imageBoxWidth=e}get imageBoxWidth(){return this._imageBoxWidth}set imageWidth(e){this._imageWidth!==e&&(this._imageWidth=e,this.notify())}get imageWidth(){return this._imageWidth}set imageHeight(e){this._imageHeight!==e&&(this._imageHeight=e,this.notify())}get imageHeight(){return this._imageHeight}set renderImageSize(e){this._renderImageSize=e}get renderImageSize(){return this._renderImageSize}};var mst=class extends qe{constructor(){super(),this.deviceData=new ast,this.panelData=new lst,this.topData=new ust,this.deviceImgData=new pye,this.panelImgData=new dst,this.previewInfo=new pst,this._isShow=!1}set isShow(e){this._isShow=e}get isShow(){return this._isShow}showBasicLibraryByLeftTree(){this.isShow=!0,this.previewInfo.renderImageSize=!1}async updateDeviceLibraryData(e=!1,i){this.deviceImgData.requestId=Mt(String(Math.random())),await this.deviceData.getLibraryData(e,i),this.initImagesBackGround();let{indexDbSystemList:o,indexDbUserList:r,requestId:n}=await this.deviceImgData.getDeviceImagesData(this.deviceData.userList,this.deviceData.systemList,this.deviceData.isUseIndexDBSystemData,this.deviceData.isUseIndexDBUserData,this.deviceData.indexDbUserList,this.deviceData.indexDbSystemList,"all",this.deviceImgData.requestId);n===this.deviceImgData.requestId&&await this.deviceData.updateIndexDBData(o,r,this.deviceImgData.isUpdateImg)}async updatePanelLibraryData(e=!1,i){await this.panelData.getLibraryData(e,i);let{indexDbSystemList:o,indexDbUserList:r}=await this.panelImgData.getPanelImagesData(this.panelData.userList,this.panelData.systemList,this.panelData.isUseIndexDBSystemData,this.panelData.isUseIndexDBUserData,this.panelData.indexDbUserList,this.panelData.indexDbSystemList);await this.panelData.updateIndexDBData(o,r,this.panelImgData.isUpdateImg)}async initAllLibraryData(){if(!br()){this.topData.isLoading=!1,this.deviceData.clearData();return}this.initRowPageNum(),this.updateAllLibraryData()}initRowPageNum(){var i;let e=Yue;br()&&(e=((i=C.profileSetting)==null?void 0:i.basicLibraryRowNum)||Yue),this.changeImageBoxWidth(e),this.topData.rowPage=e}async updateAllLibraryData(e=!1,i){this.topData.isLoading=!0,await this.updateDeviceLibraryData(e,i),await this.updatePanelLibraryData(e,i),this.topData.isLoading=!1}async updatePanelLibraryDataAlone(e=!1,i){this.panelImgData.clearData(),this.topData.isLoading=!0,await this.updatePanelLibraryData(e,i),this.topData.isLoading=!1}async updateDeviceLibraryDataAlone(e=!1,i){this.deviceImgData.clearData(),this.topData.isLoading=!0,await this.updateDeviceLibraryData(e,i),this.topData.isLoading=!1}async isChangeTheme(e){if(e==="sch"){let i=JSON.stringify(Wi("OBJECT","theme",{readValueKey:!1})),o=await Lx("schTheme");if(i!==o)return!0}else{let i=JSON.stringify(Wi("PCB_THEME")),o=await Lx("pcbTheme");if(i!==o)return!0}return!1}async updateImages(e){if(!await this.isChangeTheme(e))return;this.deviceData.clearData(),this.topData.isLoading=!0,this.deviceImgData.clearData(e),this.initImagesBackGround(e),e==="sch"&&await yR("schTheme"),e==="pcb"&&await yR("pcbTheme"),this.deviceImgData.requestId=Mt(String(Math.random())),await this.deviceData.getLibraryData(!0,!1);let{indexDbSystemList:i,indexDbUserList:o,requestId:r}=await this.deviceImgData.getDeviceImagesData(this.deviceData.userList,this.deviceData.systemList,this.deviceData.isUseIndexDBSystemData,this.deviceData.isUseIndexDBUserData,this.deviceData.indexDbUserList,this.deviceData.indexDbSystemList,e,this.deviceImgData.requestId,e==="sch",e==="pcb");r!==this.deviceImgData.requestId||C.interruptBasePreviewImage||(await this.deviceData.updateIndexDBData(i,o,this.deviceImgData.isUpdateImg,e==="sch",e==="pcb"),this.topData.isLoading=!1)}initImagesBackGround(e="all"){var i,o,r,n,a,s,l,c,d,u;switch(e){case"sch":{let p=zb();this.deviceImgData.schImagesBackgroundColor=p[p.activeTheme].color.canvas||"#fff";break}case"pcb":{this.deviceImgData.pcbImagesBackgroundColor=((a=(n=(r=(o=(i=C.profileSetting)==null?void 0:i.commSystemSetting.PCB_THEME)==null?void 0:o.canvasPrimitiveSetting)==null?void 0:r.background)==null?void 0:n.color)==null?void 0:a.value)||"#000";break}default:{let p=zb();this.deviceImgData.schImagesBackgroundColor=p[p.activeTheme].color.canvas||"#fff",this.deviceImgData.pcbImagesBackgroundColor=((u=(d=(c=(l=(s=C.profileSetting)==null?void 0:s.commSystemSetting.PCB_THEME)==null?void 0:l.canvasPrimitiveSetting)==null?void 0:c.background)==null?void 0:d.color)==null?void 0:u.value)||"#000"}}}openBasicLibrarySettingPanel(){this.topData.libTabType!=="panel"?et("commonButtonsSetting(BASE_LIBRARY)"):et("commonButtonsSetting(BASE_LIBRARY)",{LibType:"panel"})}filterBasicLibraryData(){this.deviceData.inputFilterBasicLibraryData(this.topData.filterVal),this.panelData.inputFilterPanelBasicLibraryData(this.topData.filterVal)}restoreBasicLibraryData(){this.topData.filterVal="",this.deviceData.restoreBasicLibraryData(),this.panelData.restorePanelBasicLibraryData()}async changeMultipartSelect(e,i,o){let{uuid:r,img:n}=await this.deviceData.changeMultipartSelect(e,i,o),a=i==="system"?this.deviceImgData.systemSymbolImagesMap:this.deviceImgData.userSymbolImagesMap;a[r]=n,i==="system"?this.deviceImgData.systemSymbolImagesMap=ue.deepClone(a):this.deviceImgData.userSymbolImagesMap=ue.deepClone(a)}changeGroupDeviceSelected(e,i,o){this.deviceData.changeGroupDeviceSelected(e,i,o)}changeGroupPanelSelected(e,i,o){this.panelData.changeGroupPanelSelected(e,i,o)}async clearIndexDBData(e,i){this.deviceData.clearData(),this.deviceImgData.clearData(),this.panelData.clearData(),this.panelImgData.clearData(),this.topData.rowPage=Yue,await this.deviceData.clearIndexDBData(e,i),await this.panelData.clearIndexDBData(e,i)}placePanel(e){let i=dt(),{disable:o}=Ga.getIframeDisableStatusPanelPcb(he.getActiveTab());i!==se.PANEL||o||Ca("/panel/place_lib",[e])}async place(e,i,o){let r={...e.deviceDetail};i!=null&&i.index&&(r.extraInfo={partTitle:i.title}),await N4.placeDevice(r,!1,o,e.symbolDetail,e.footprintDetail,r.path),this.actionByAfterPlaceDevice()}async placeDevice(e,i,o,r){let n=[];i==="system"?n=this.deviceData.placeDeviceSystemData:n=this.deviceData.placeDeviceUserData;let a=n.filter(l=>l.deviceDetail.uuid===e)[0],s=dt();if(s===se.SCH)a.symbolDetail?await this.place(a,o,s):De({type:"error",msg:"Place Device failed, get symbol failed"});else if(s===se.PCB)a.footprintDetail?await this.place(a,o,s):De({type:"error",msg:"Place Device failed, get footprint failed"});else if(s===se.NGSPICE||s===se.SIMULIDE){if(r==="sch"||r==="pcb")return;a.symbolDetail?await this.place(a,o,s):De({type:"error",msg:"Place Device failed, get symbol failed"})}}async refreshBasicLibrary(){this.restoreBasicLibraryData(),this.topData.updateFilterVal=!this.topData.updateFilterVal,this.topData.libTabType==="panel"?await this.updatePanelLibraryDataAlone(!0):(this.deviceImgData.clearData(),await this.updateDeviceLibraryDataAlone(!0))}scrollChangeBelongType(e){C.messageBus.publish("scrollChangeBelongType",e)}onChangeBelongType(e){C.messageBus.publish("onChangeBelongType",e)}actionByAfterPlaceDevice(){jSe()}changeImageBoxWidth(e){this.previewInfo.imageWidth=`${100/e}%`,e==1?this.previewInfo.imageHeight="100%":this.previewInfo.imageHeight=`${this.previewInfo.imageBoxWidth/e}px`}renderImageSize(){this.previewInfo.renderImageSize=!0}},Z5=(0,uDo.createContext)(void 0);var rQ=L(Se());var fst=L(Se());var TR=L(Se());var hDo=L(eC());var hst=L(Se()),wR=L(Se());var AHt=L(eC());var Rle=L(z()),Ven=t=>{let e=(0,wR.useContext)(Z5);Ce(e.deviceImgData);let{componentUuid:i,title:o,imagesHeight:r,dataBelongType:n,dataLibType:a,deviceId:s}=t,[l,c]=(0,wR.useState)(""),[d,u]=(0,wR.useState)(0),[p,m]=(0,wR.useState)(""),[h,f]=(0,wR.useState)(!1),[g,b]=(0,wR.useState)([]),y=be.bind(CR);Ae(AHt.default);let w=be.bind(AHt.default.locals),x=M=>{M.stopPropagation(),M.preventDefault(),si.openMenu("basic-menu"+s,{x:M.pageX,y:M.pageY})};(0,wR.useEffect)(()=>{var I,A;if(!i)return;let M=[];n==="personal"?M=(I=e.deviceImgData.userSymbolPartMap)==null?void 0:I[i]:M=(A=e.deviceImgData.systemSymbolPartMap)==null?void 0:A[i],(M==null?void 0:M.length)>1?(f(!0),b(M)):f(!1)},[e.deviceImgData.systemSymbolPartMap,e.deviceImgData.userSymbolPartMap]);let S=async M=>{u(Number(M.key)),m(M.name),await e.changeMultipartSelect(M,n,s)};(0,wR.useEffect)(()=>{var M,I,A,D;if(!i){c("");return}ost(a)?n==="personal"?c((M=e.deviceImgData.userSymbolImagesMap)==null?void 0:M[i]):c((I=e.deviceImgData.systemSymbolImagesMap)==null?void 0:I[i]):n==="personal"?c((A=e.deviceImgData.userFootprintImagesMap)==null?void 0:A[i]):c((D=e.deviceImgData.systemFootprintImagesMap)==null?void 0:D[i])},[i,e.deviceImgData.userSymbolImagesMap,e.deviceImgData.userFootprintImagesMap,e.deviceImgData.systemSymbolImagesMap,e.deviceImgData.systemFootprintImagesMap]);let T=(0,hst.useCallback)(_b(async M=>{Is()||await mDo(async I=>{await e.placeDevice(M,n,{index:d,title:p},a)},3e3)}),[n,d,p,a]);return(0,Rle.jsxs)("div",{style:{width:"100%",height:r,display:"flex",alignItems:"center",justifyContent:"center",background:a==="pcb"?e.deviceImgData.pcbImagesBackgroundColor:e.deviceImgData.schImagesBackgroundColor},onClick:()=>{T(s)},children:[(0,Rle.jsx)("img",{"data-i18n-attr":"title",src:l||"",title:o,onMouseDown:M=>{M.preventDefault()},style:{maxWidth:"100%",maxHeight:"100%"}}),h&&a==="sch"&&(0,Rle.jsxs)("div",{className:y("dropdown-wrap"),children:[(0,Rle.jsx)("div",{className:y("dropdown"),onClick:x}),(0,Rle.jsx)(mv,{menuConfig:{menuId:"basic-menu"+s,defaultConfig:g.map(M=>M===null?null:{id:M.name,title:M.name,icon:{iconClassName:d===Number(M.key)?w(`icon-${M.icon}`):"",iconStyle:{backgroundSize:"12px 12px"}},callback:()=>{S==null||S(M)}})}})]})]})},pDo=hst.default.memo(Ven);var fDo=L(Se());var xR=L(z()),Hen=t=>{let e=(0,TR.useContext)(Z5),{deviceContainerInfo:i,dataLibType:o,dataBelongType:r,category:n}=t,[a,s]=(0,TR.useState)(null),[l,c]=(0,TR.useState)(null),[d,u]=(0,TR.useState)(""),[p,m]=(0,TR.useState)(""),h=be.bind(CR);Ae(hDo.default),Ce(e.topData),Ce(e.previewInfo);let f=b=>{var y,w;return b?b.comment?b.comment:(w=(y=b.deviceInfo)==null?void 0:y.footprintInfo)!=null&&w.display_title?`${b.deviceInfo.display_title}(${b.deviceInfo.footprintInfo.display_title})`:b.deviceInfo.display_title:""};(0,TR.useEffect)(()=>{let b=null;i&&n.selectedDeviceId?b=i.filter(y=>y.deviceId===n.selectedDeviceId)[0]:i&&(b=i[0]),s(b)},[n,i]),(0,TR.useEffect)(()=>{let b=f(a);u(b),m(a==null?void 0:a.deviceId)},[a]),(0,TR.useEffect)(()=>{if(a){let{symbolsInfo:b,footprintInfo:y}=a.deviceInfo;ost(o)&&b?c(b):o==="pcb"&&y?c(y):c(null)}},[a]);let g=b=>{let y=i.filter(w=>w.deviceId===b)[0];s(y),e.changeGroupDeviceSelected(n,b,r)};return(0,xR.jsx)(xR.Fragment,{children:(0,xR.jsx)("div",{className:h(`libitem multiple lib-${e.topData.rowPage}n`),style:{width:e.previewInfo.imageWidth,paddingBottom:e.topData.rowPage===1?"calc(50% - 1px)":"unset"},children:(0,xR.jsxs)("div",{className:h("content"),style:{position:e.topData.rowPage===1?"absolute":"unset"},children:[(0,xR.jsx)("div",{style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"center",height:"calc(100% - 24px)"},children:(0,xR.jsx)(pDo,{componentUuid:l==null?void 0:l.uuid,title:d,imagesHeight:e.previewInfo.imageHeight,dataBelongType:r,dataLibType:o,deviceId:p})}),(i==null?void 0:i.length)>1?(0,xR.jsx)(xt,{list:i.map((b,y)=>{let w=f(b);return{value:b.deviceId,text:w,key:y}}),value:p,onChange:g,containerStyle:{height:"24px"},optionsAutoWidth:!0,style:{border:"unset",borderRadius:"unset",borderTop:"1px solid var(--common-border-color-1)"}}):(0,xR.jsx)("div",{className:h("title"),title:d,children:d})]})})})},gDo=fDo.default.memo(Hen);var bDo=L(Se());var oQ=L(z()),Gen=t=>{let{categoryName:e,categoryData:i,dataBelongType:o,dataLibType:r}=t,[n,a]=(0,fst.useState)(i),s=J(),l=be.bind(CR);return(0,fst.useEffect)(()=>{let c=EHt(i,r);a(c)},[i]),Bt(c=>{let d=EHt(i,r);a(d)}).key("/pro-ui/container/tab/onActive"),(0,oQ.jsx)(oQ.Fragment,{children:n!=null&&n.length?(0,oQ.jsxs)("div",{className:l("category-wrap"),children:[(0,oQ.jsx)("div",{className:l("libgroupcaption"),"data-test":e||"Uncategorized",children:s(e||"Uncategorized")}),(0,oQ.jsx)("div",{style:{display:"flex",flexWrap:"wrap"},children:n.map((c,d)=>(0,oQ.jsx)(gDo,{category:c,deviceContainerInfo:c.devices,dataLibType:r,dataBelongType:o},d))})]}):""})},NHt=bDo.default.memo(Gen);var wDo=L(Se());var _le=L(z()),{locals:Yen}=yDo.default,kHt=be.bind(Yen),Wen=t=>{let{boxType:e}=t,i=(0,rQ.useContext)(Z5);Ce(i.deviceData);let o=(0,rQ.useRef)(null),r=(0,rQ.useRef)(null),n=(0,rQ.useRef)(null),a=(0,rQ.useRef)(!1),s=l=>{if(a.current||!n.current.offsetHeight){a.current=!1;return}l.target.scrollTop>n.current.offsetHeight?i.scrollChangeBelongType("system"):i.scrollChangeBelongType("personal")};return(0,rQ.useEffect)(()=>(o!=null&&o.current&&o.current.addEventListener("scroll",s),()=>(o==null?void 0:o.current)&&o.current.removeEventListener("scroll",s)),[]),Bt(l=>{a.current=!0,l==="personal"?o.current.scrollTo(0,0):o.current.scrollTo(0,n.current.offsetHeight-1)}).key("onChangeBelongType"),(0,_le.jsxs)("div",{ref:o,className:kHt("libType-context-wrap"),children:[(0,_le.jsx)("div",{ref:n,className:kHt("personLib-wrap"),children:!i0(i.deviceData.userList)&&Object.keys(i.deviceData.userList).map((l,c)=>(0,_le.jsx)(NHt,{categoryName:l,categoryData:i.deviceData.userList[l],dataBelongType:"personal",dataLibType:e},c))}),(0,_le.jsx)("div",{ref:r,className:kHt("systemLib-wrap"),children:!i0(i.deviceData.systemList)&&Object.keys(i.deviceData.systemList).map((l,c)=>(0,_le.jsx)(NHt,{categoryName:l,categoryData:i.deviceData.systemList[l],dataBelongType:"system",dataLibType:e},c))})]})},gst=wDo.default.memo(Wen);var LDo=L(_Ce());var aQ=L(Se());var IDo=L(Se()),bst=L(Se());var Ok=L(Se());var CDo=L(Se()),mye=L(Se());var TDo=L(z()),Qen=t=>{let e=(0,mye.useContext)(Z5);Ce(e.panelImgData);let{componentUuid:i,title:o,imagesHeight:r,dataBelongType:n}=t,[a,s]=(0,mye.useState)("");return(0,mye.useEffect)(()=>{var l,c;if(!i){s("");return}n==="personal"?s((l=e.panelImgData.userPanelImagesMap)==null?void 0:l[i]):s((c=e.panelImgData.systemPanelImagesMap)==null?void 0:c[i])},[i,e.panelImgData.userPanelImagesMap,e.panelImgData.systemPanelImagesMap]),(0,TDo.jsx)("img",{"data-i18n-attr":"title",src:a||"",title:o,onMouseDown:l=>{l.preventDefault()},style:{maxWidth:"100%",height:r}})},xDo=CDo.default.memo(Qen);var SDo=L(Se());var SR=L(z()),Ken=t=>{let e=(0,Ok.useContext)(Z5),{panelContainerInfo:i,dataLibType:o,dataBelongType:r,category:n}=t,[a,s]=(0,Ok.useState)(i[0]),[l,c]=(0,Ok.useState)(""),[d,u]=(0,Ok.useState)(""),p=be.bind(CR);Ce(e.topData),Ce(e.previewInfo);let m=(0,Ok.useRef)(null),h=b=>b?b.comment||b.detail.display_title:"";(0,Ok.useEffect)(()=>{s(i==null?void 0:i[0])},[i==null?void 0:i[0]]),(0,Ok.useEffect)(()=>{let b=null;i&&n.selectedPanelId?b=i.filter(y=>y.uuid===n.selectedPanelId)[0]:i&&(b=i[0]),s(b)},[n,i]),(0,Ok.useEffect)(()=>{let b=h(a);c(b),u(a==null?void 0:a.uuid)},[a]);let f=b=>{let y=i.filter(w=>w.uuid===b)[0];s(y),e.changeGroupPanelSelected(n,b,r)},g=b=>{e.placePanel(a.detail)};return(0,SR.jsx)(SR.Fragment,{children:(0,SR.jsx)("div",{ref:m,className:p(`libitem multiple lib-${e.topData.rowPage}n`),style:{width:e.previewInfo.imageWidth,paddingBottom:e.topData.rowPage===1?"calc(50% - 1px)":"unset"},children:(0,SR.jsxs)("div",{className:p("content"),style:{position:e.topData.rowPage===1?"absolute":"unset"},children:[(0,SR.jsx)("div",{style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"center",height:"calc(100% - 24px)"},onClick:()=>{g(d)},children:(0,SR.jsx)(xDo,{componentUuid:a==null?void 0:a.uuid,title:l,imagesHeight:e.previewInfo.imageHeight,dataBelongType:r})}),(i==null?void 0:i.length)>1?(0,SR.jsx)(xt,{list:i.map((b,y)=>{let w=h(b);return{value:b.detail.uuid,text:w,key:y}}),value:d,onChange:f,containerStyle:{height:"24px"},optionsAutoWidth:!0,style:{border:"unset",borderTop:"1px solid var(--common-border-color-1)"}}):(0,SR.jsx)("div",{className:p("title"),title:l,children:l})]})})})},MDo=SDo.default.memo(Ken);var nQ=L(z()),Zen=t=>{let{categoryName:e,categoryData:i,dataBelongType:o,dataLibType:r}=t,[n,a]=(0,bst.useState)(i),s=J(),l=be.bind(CR);return(0,bst.useEffect)(()=>{let c=aDo(i);a(c)},[i]),(0,nQ.jsx)(nQ.Fragment,{children:n.length?(0,nQ.jsxs)("div",{className:l("category-wrap"),children:[(0,nQ.jsx)("div",{className:l("libgroupcaption"),"data-test":e||"Uncategorized",children:s(e||"Uncategorized")}),(0,nQ.jsx)("div",{style:{display:"flex",flexWrap:"wrap"},children:n.map((c,d)=>(0,nQ.jsx)(MDo,{category:c,panelContainerInfo:c.panels,dataLibType:r,dataBelongType:o},d))})]}):""})},PHt=IDo.default.memo(Zen);var vDo=L(Se());var jle=L(z()),{locals:Jen}=LDo.default,OHt=be.bind(Jen),qen=t=>{let{boxType:e}=t,i=(0,aQ.useContext)(Z5);Ce(i.panelData);let o=(0,aQ.useRef)(null),r=(0,aQ.useRef)(null),n=(0,aQ.useRef)(null),a=(0,aQ.useRef)(!1),s=l=>{if(a.current||!n.current.offsetHeight){a.current=!1;return}l.target.scrollTop>n.current.offsetHeight?i.scrollChangeBelongType("system"):i.scrollChangeBelongType("personal")};return(0,aQ.useEffect)(()=>(o!=null&&o.current&&o.current.addEventListener("scroll",s),()=>(o==null?void 0:o.current)&&o.current.removeEventListener("scroll",s)),[]),Bt(l=>{a.current=!0,l==="personal"?o.current.scrollTo(0,0):o.current.scrollTo(0,n.current.offsetHeight-1)}).key("onChangeBelongType"),(0,jle.jsxs)("div",{ref:o,className:OHt("libType-context-wrap"),children:[(0,jle.jsx)("div",{ref:n,className:OHt("personLib-wrap"),children:!i0(i.panelData.userList)&&Object.keys(i.panelData.userList).map((l,c)=>(0,jle.jsx)(PHt,{categoryName:l,categoryData:i.panelData.userList[l],dataBelongType:"personal",dataLibType:e},c))}),(0,jle.jsx)("div",{ref:r,className:OHt("systemLib-wrap"),children:!i0(i.panelData.systemList)&&Object.keys(i.panelData.systemList).map((l,c)=>(0,jle.jsx)(PHt,{categoryName:l,categoryData:i.panelData.systemList[l],dataBelongType:"system",dataLibType:e},c))})]})},DDo=vDo.default.memo(qen);var sQ=L(Se());var EDo=L(_Ce());var ADo=L(Se());var AL=L(z()),RHt=[{title:"Schematic",key:"sch",tabStyle:{display:Nl?"flex":"none"}},{title:"PCB",key:"pcb",tabStyle:{display:Eu?"flex":"none"}},{title:"Panel",key:"panel",tabStyle:{display:Nt||!Vw?"none":"flex"}}],Xen=[{value:1,text:"1"},{value:2,text:"2"},{value:3,text:"3"},{value:4,text:"4"},{value:5,text:"5"}],{locals:NDo}=EDo.default,nDe=be.bind(NDo),$en=t=>{let{onClickLibType:e}=t,i=(0,sQ.useContext)(Z5),o=J();Ce(i.topData);let[r,n]=(0,sQ.useState)(RHt),[a,s]=(0,sQ.useState)([]),[l,c]=(0,sQ.useState)("personal");Bt(y=>{c(y)}).key("scrollChangeBelongType");let d=()=>{let y=!1;i.topData.libTabType==="panel"?y=!i0(i.panelData.userList):y=sDo(i.deviceData.userList,i.topData.libTabType);let w=[{title:"Personal",key:"personal"},{title:"System",key:"system"}];y?(c("personal"),i.onChangeBelongType("personal")):(w=[{title:"System",key:"system"}],c("system"),i.onChangeBelongType("system")),s(w)};(0,sQ.useEffect)(()=>{d()},[i.deviceData.userList,i.panelData.userList,i.topData.libTabType]);let u=y=>{e(y),d(),i.topData.libTabType=y},p=y=>{c(y),i.onChangeBelongType(y)},m=async y=>{i.changeImageBoxWidth(y),await i.topData.changeRowPageNum(y)},h=async()=>{await i.refreshBasicLibrary()},f=()=>{i.openBasicLibrarySettingPanel()},g=Gr(y=>{i.topData.filterVal=y,i.filterBasicLibraryData(),d()},400),b=()=>{i.restoreBasicLibraryData()};return(0,sQ.useEffect)(()=>{if(na){let y={title:"Simulate",key:"simulate",tabStyle:{display:"block"}};n([...RHt,y])}else n(RHt)},[]),(0,AL.jsxs)("div",{children:[(0,AL.jsx)("div",{className:nDe("libType-tab-wrap"),children:(0,AL.jsx)(yl,{lists:r,dataSensors:!0,direction:"top",type:"card",activeKey:i.topData.libTabType,isShowMarkLine:!0,onClick:y=>{u(y)},tabsStyle:{maxWidth:"72px",minWidth:"unset",flex:"1"}})}),(0,AL.jsx)("div",{style:{padding:"4px 4px 0"},children:(0,AL.jsx)(Ws,{initShowValue:i.topData.filterVal,placeholder:"Filter",onUpdateInputValue:g,onClearInputValue:b,isDisabled:i.topData.isLoading},i.topData.updateFilterVal.toString())}),(0,AL.jsxs)("div",{className:nDe("flex basic-lib-wrap"),children:[(0,AL.jsx)(yl,{lists:a,type:"normal",defaultActiveKey:l,activeKey:l,direction:"top",onClick:y=>{p(y)}}),(0,AL.jsxs)("div",{className:nDe("basic-lib-page-size flex"),children:[(0,AL.jsx)("div",{style:{minWidth:"40px",marginRight:"4px"},children:(0,AL.jsx)(xt,{value:i.topData.rowPage,list:Xen,onChange:y=>{m(y)}})}),(0,AL.jsx)("div",{className:nDe("icon-eda-refresh",NDo["refresh-basic-library"],{rotate:i.topData.isLoading}),title:o("Refresh"),onClick:h}),(0,AL.jsx)("div",{className:nDe("icon-eda-setting open-basic-setting"),title:o("Setting"),onClick:f})]})]})]})},kDo=ADo.default.memo($en);var lQ=L(Se());var a6=L(z()),{locals:CR}=_Ht.default,hc=new mst,etn=t=>{Ae(_Ht.default);let e=(0,lQ.useRef)(null),i=(0,lQ.useRef)(null),o=be.bind(CR),[r,n]=(0,lQ.useState)(hc.topData.libTabType),a=s=>{n(s)};return Bt(s=>{let{belong:l}=s;if(l!==he.belongContainer)return;let c=dt(),d="sch";c===se.SCH?d="sch":c===se.PCB?d="pcb":c===se.PANEL?d="panel":(c===se.NGSPICE||c===se.SIMULIDE)&&(d="simulate"),n(d),hc.topData.libTabType=d}).key("/pro-ui/container/tab/onActive"),(0,lQ.useEffect)(()=>(window.ResizeObserver&&(e!=null&&e.current)&&(i.current=new ResizeObserver(s=>{let l=s[0].contentRect.width;if(hc.topData.rowPage!==1){let c=`${l/hc.topData.rowPage}px`;(hc.previewInfo.renderImageSize||hc.previewInfo.imageHeight=="0px")&&(hc.previewInfo.imageHeight=c,hc.previewInfo.renderImageSize=!1)}else(hc.previewInfo.renderImageSize||hc.previewInfo.imageHeight=="0px")&&(hc.previewInfo.imageHeight="100%",hc.previewInfo.renderImageSize=!1);hc.previewInfo.imageBoxWidth=l}),i.current.observe(e.current)),()=>{i!=null&&i.current&&(e!=null&&e.current)&&i.current.unobserve(e.current)}),[e==null?void 0:e.current]),(0,a6.jsx)(Z5.Provider,{value:hc,children:(0,a6.jsxs)("div",{ref:e,className:o("basic-library-wrapper"),children:[(0,a6.jsx)(kDo,{onClickLibType:a}),(0,a6.jsx)("div",{className:o("basic-context-wrap",{show:r==="sch"}),children:(0,a6.jsx)(gst,{boxType:"sch"})}),(0,a6.jsx)("div",{className:o("basic-context-wrap",{show:r==="pcb"}),children:(0,a6.jsx)(gst,{boxType:"pcb"})}),(0,a6.jsx)("div",{className:o("basic-context-wrap",{show:r==="panel"}),children:(0,a6.jsx)(DDo,{boxType:"panel"})}),(0,a6.jsx)("div",{className:o("basic-context-wrap",{show:r==="simulate"}),children:(0,a6.jsx)(gst,{boxType:"simulate"})})]})})};function jHt(){let t=PDo.default.createRoot(document.querySelector("#basic-library"));hc.initAllLibraryData(),hc.topData.libTabType="sch",t.render((0,a6.jsx)(lQ.default.StrictMode,{children:(0,a6.jsx)(etn,{})}))}var aDe=class{constructor(e,i,o,r,n=""){this.deviceData=e,this.symbolData=o,this.footprintData=r,this.currentDoctype=i,this.path=n}async compareVersion(){var d,u,p,m,h,f,g,b,y,w,x,S,T,M,I,A,D;if(Wi("SYSTEM","placeDeviceType",{defaultValue:"new"})!=="show")return;let i=!1,o=!1,r={},n=Dn.publicLibUpdate.checked,a=Dn.showLaterCurVersion.checked,s=this.deviceData.uuid;if(s){let E=`${s}|${this.path}`,{message:N}=await C.messageBus.rpcCall($e.DEVICE.GET_LAST,[E,C.currentProject.projectId]),R=p1(((d=this.deviceData.updateTime)==null?void 0:d.toString())||""),v=p1((N==null?void 0:N.version.toString())||"");if(n&&a)i=i||N&&R!==v;else if(n){let k=N&&Ble(R,v)===1;i=i||k}else if(a){let k=N&&R!==v,{message:P}=await C.messageBus.rpcCall(Pd.PUBLIC.IS_PUBLIC,[(p=(u=this.deviceData)==null?void 0:u.owner)==null?void 0:p.uuid]);i=i||k&&!P}else{let k=N&&Ble(R,v)===1,{message:P}=await C.messageBus.rpcCall(Pd.PUBLIC.IS_PUBLIC,[(h=(m=this.deviceData)==null?void 0:m.owner)==null?void 0:h.uuid]);i=i||k&&!P}N&&(r.device=N.uuid)}let l=(f=this.symbolData)==null?void 0:f.uuid;if(l){let E=`${l}|${this.path}`,{message:N}=await C.messageBus.rpcCall($e.SYMBOL.GET_LAST,[E,C.currentProject.projectId]),R=p1(((g=this.symbolData.updateTime)==null?void 0:g.toString())||""),v=p1((N==null?void 0:N.version.toString())||"");if(n&&a)i=i||N&&R!==v;else if(n){let k=N&&Ble(R,v)===1;i=i||k}else if(a){let k=N&&R!==v,{message:P}=await C.messageBus.rpcCall(Pd.PUBLIC.IS_PUBLIC,[(y=(b=this.symbolData)==null?void 0:b.owner)==null?void 0:y.uuid]);i=i||k&&!P}else{let k=N&&Ble(R,v)===1,{message:P}=await C.messageBus.rpcCall(Pd.PUBLIC.IS_PUBLIC,[(x=(w=this.symbolData)==null?void 0:w.owner)==null?void 0:x.uuid]);i=i||k&&!P}N&&(r.symbol=N.uuid)}let c=(S=this.footprintData)==null?void 0:S.uuid;if(c){let E=`${c}|${this.path}`,{message:N}=await C.messageBus.rpcCall($e.FOOTPRINT.GET_LAST,[E,C.currentProject.projectId]),R=p1(((T=this.footprintData.updateTime)==null?void 0:T.toString())||""),v=p1((N==null?void 0:N.version.toString())||"");if(n&&a)i=i||N&&R!==v;else if(n){let k=N&&Ble(R,v)===1;i=i||k}else if(a){let k=N&&R!==v,{message:P}=await C.messageBus.rpcCall(Pd.PUBLIC.IS_PUBLIC,[(I=(M=this.footprintData)==null?void 0:M.owner)==null?void 0:I.uuid]);i=i||k&&!P}else{let k=N&&Ble(R,v)===1,{message:P}=await C.messageBus.rpcCall(Pd.PUBLIC.IS_PUBLIC,[(D=(A=this.footprintData)==null?void 0:A.owner)==null?void 0:D.uuid]);i=i||k&&!P}N&&(r["footprint "]=N.uuid)}if(i)return{uuids:r,laterCurVersion:o}}};var BHt=class{constructor(){this._placeDeviceRecords=[];this._continuousPlace=!1}handleLibTags(e){var r,n,a,s;let i=[];if(e&&e.tags){var o=me.curr==="en";(n=(r=e.tags)==null?void 0:r.parent_tag)!=null&&n.name&&i.push(o?e.tags.parent_tag.name:e.tags.parent_tag.name_cn||e.tags.parent_tag.name),(s=(a=e.tags)==null?void 0:a.child_tag)!=null&&s.name&&i.push(o?e.tags.child_tag.name:e.tags.child_tag.name_cn||e.tags.child_tag.name),e.custom_tags=JSON.stringify(i)}return i}_checkBeforePlaceOnPCB(e,i=!0){return e?!0:(i&&(Qh(null,"The device is not associated with a package"),Qh(null,"The device is not associated with a footprint")),!1)}_checkBeforePlaceOnSCH(e,i=!0){return e?!0:(i&&Qh(null,"The device is not associated with a symbol"),!1)}clearPlaceDeviceRecords(){this._placeDeviceRecords.length=0}setPlaceDeviceRecords(e){this._placeDeviceRecords.length>5&&this._placeDeviceRecords.shift(),this._placeDeviceRecords.push(e)}interruptContinuousPlace(){this._continuousPlace=!1}isContinuousPlaceSameDeviceOnSCH(e){var i,o,r;if(this._continuousPlace){let n=this._placeDeviceRecords[this._placeDeviceRecords.length-1],a=(i=n==null?void 0:n.device)==null?void 0:i.uuid;if(((r=(o=n==null?void 0:n.target)==null?void 0:o.data)==null?void 0:r["data-schematic-uuid"])===he.getActiveSchematicId()&&a===e.uuid)return!0}return!1}async internalLibCreateProjectDevice(e){if(e.libType!==Yt.INTERNAL)throw Error(`PlaceLibHelper.internalLibCreateProjectDevice: libType error:${e.libType}`);let{symbol_info:i,footprint_info:o}=e,r=Array.isArray(e.images)?e.images:e.images?[e.images]:[],n={data:{title:e.display_title||e.title,description:e.description,images:r,attributes:{...e.attributes},tags:Nv(e.tags)}},a={path:C.currentProject.projectId,isProject:!0,device:n},s=i?{uuid:i.uuid,path:rf(i),isProject:!1}:null;s&&(a.symbol=s);let l=o?{uuid:o.uuid,path:rf(o),isProject:!1}:null;return l&&(a.footprint=l),await Ze.createDevice(a)}async placeDevice(e,i,o,r,n,a,s=!0,l,c){let d=!1;if(!e)return Ut({type:"alert",message:"Please select a device for placement"}),{success:d};if(je())return{success:d};if(!Je&&!await tj())return De({type:"error",msg:"No permission or project does not exist"}),{success:d};if(this.handleLibTags(e),this.handleLibTags(r),this.handleLibTags(n),!i&&s){let b=await new aDe(e,o,r,n,a).compareVersion();if(b){l&&(C.messageBus.rpcCall("initSchToolBarSymbol"),C.messageBus.rpcCall("initSimToolBarSymbol"),C.messageBus.rpcCall("initNetportSymbol"));let y=[e,i,o,r,n,a],w=b;A$.initData(y,w),ii("noticeCompVUpdatedDlg");let x=await hc.deviceData.getIndexDB("userBasicLibraryList",!1),S=y[0].uuid,T=hc.deviceData.getDeviceIdPathMap(x);for(let M in T)if(T[M].includes(S)){await hc.deviceData.updateDeviceData(y[0].uuid,x,wi?y[0].pathId||y[0].project_uuid:y[0].pathId,"mine");break}try{await Dn.compareAndMarkToUpdatedSymbol()}catch{}return{success:d}}}(e.attributes.Footprint&&e.footprint&&!n||e.attributes.Footprint&&e.footprintInfo&&!n)&&(n=await Ze.getFootprint({isProject:a===C.currentProject.projectId,path:a,uuid:e.attributes.Footprint}));let u=async()=>{try{e.libType===Yt.INTERNAL?h=await this.internalLibCreateProjectDevice(e):h=await Ze.createDevice({isProject:!0,path:C.currentProject.projectId,device:{isProject:!1,uuid:e.uuid,path:a}});let{Symbol:g,Footprint:b}=h==null?void 0:h.attributes;p=g?await Ze.getSymbol({isProject:!0,uuid:g,path:C.currentProject.projectId}):null,m=b?await Ze.getFootprint({isProject:!0,uuid:b,path:C.currentProject.projectId}):null}catch(g){return new E2(D2.WARN).error("PlaceLibHelper.placeDevice: \u5F15\u5165\u5DE5\u7A0B\u5E93\u5931\u8D25",g),g&&g.message==="device"&&g.action==="CREATE_DEVICE"?new Fi({type:"warn",msg:"Get Device failed"}):new Fi({type:"warn",msg:"Create project component failed, can not place"}),{success:!1}}},p,m,h;if(c){let g=`${e.uuid}|${a}`,{message:b}=await C.messageBus.rpcCall($e.DEVICE.GET_LAST,[g]);b?(b.attributes.Symbol&&(p=(await C.messageBus.rpcCall($e.SYMBOL.GET,[b.attributes.Symbol])).message),b.attributes.Footprint&&(m=(await C.messageBus.rpcCall($e.FOOTPRINT.GET,[b.attributes.Footprint])).message),h=b):await u()}else i?(m=n,p=r,h=e):await u();let f=await this.updateCanvas(o,h,p,m,!0,a,e.extraInfo);return d=f.success,d&&(this._continuousPlace=!0,this.setPlaceDeviceRecords({symbol:p,footprint:m,device:h,target:he.getActiveTabData()})),{success:d,symbol:p,footprint:m,device:h,updateCanvasResult:f}}async updateCanvas(e,i,o,r,n,a,s={}){let l=await ei(),c={success:!1,deviceItemId:""};if(e==ve.PCB){if(i&&this._checkBeforePlaceOnPCB(r)){let d=(await C.windowBridge.rpcCall("placeDevice",{device:i,footprint:r},l.contentWindow)).message;c.success=d.success,c.deviceItemId=d.deviceItemId}}else i&&this._checkBeforePlaceOnSCH(o)&&(c.success=await this.placeSymbol({symbolData:o,device:i,placeInfo:s==null?void 0:s.placeInfo,partId:s==null?void 0:s.partId,partTitle:s==null?void 0:s.partTitle,isContinuousPlaceSameDeviceOnSCH:this.isContinuousPlaceSameDeviceOnSCH(i),hooks:s==null?void 0:s.hooks,modifyAttr:s==null?void 0:s.modifyAttr}));return c}async placeSymbol(e){return(await C.messageBus.rpcCall("sch/lib_place",e)).message}},N4=new BHt;var x1=ue.debounce(async(t,e,i=!1)=>{C.messageBus.publish("componentLibRefresh",{tabType:t,isProjectLib:e,doNotSearch:i})},100);function _3(t,e,i){var n,a;if(t!==Ls())return;let o=yr(i||{});if((i.project_uuid||o===C.currentProject.projectId)&&((n=ODo())==null?void 0:n.uuid)===Yt.PROJECT){C.messageBus.publish("componentLibRefresh",!0);return}o===((a=ODo())==null?void 0:a.uuid)&&C.messageBus.publish("componentLibRefresh",!0)}async function ttn(t,e,i=new Function,o=new Function,r=!1){if(!t)return;let{uuid:n,path:a,project_uuid:s}=t;i();let l=(0,fF.default)("iframe",e);if(l.length==0){let d=g1(e[0],n,se.FOOTPRINT,r);l=(0,fF.default)(d),l[0].onload=async function(){return await c(!0),Promise.resolve(!0)}}else return await c(!1),Promise.resolve(!0);async function c(d){let u={docType:se.FOOTPRINT,tabId:n+Zc+(a||s),commSystemSetting:hn(),unActive:!1,isPreview:!0,currOpenProjectId:C.currentProject.projectId};d?await C.windowBridge.rpcCall("rpcInitFrameInfo",u,l[0].contentWindow):C.windowBridge.rpcCall("loadFootprint",u,l[0].contentWindow),o()}}async function ase(t,e,i=new Function,o=new Function,r=!1,n=se.FOOTPRINT,a=!1){let{uuid:s,path:l,project_uuid:c}=t;return new Promise(async u=>{if(!t)return;i();let p=(0,fF.default)("iframe",e);if(p.length==0){let m=g1(e[0],s,n,r);p=(0,fF.default)(m),p[0].onload=async function(){await d(p,!0,a),u({iframe:p[0],iframeId:p[0].id,msg:""})}}else await d(p,!1,a),u({iframe:p[0],iframeId:p[0].id,msg:""})});async function d(u,p,m){let h={docType:se.PCB,tabId:s+Zc+(l||c),commSystemSetting:hn(),unActive:!1,isPreview:!0,isPartitionDlg:m,currOpenProjectId:C.currentProject.projectId};p?await C.windowBridge.rpcCall("rpcInitFrameInfo",h,u[0].contentWindow):await C.windowBridge.rpcCall("loadPCB",h,u[0].contentWindow),o(u[0])}}async function uee(t,e,i){return ttn(t,i,void 0,()=>{let r=(0,fF.default)("iframe",i);C.windowBridge.rpcCall("HighlightItemsInPreview",e,r[0].contentWindow)})}async function itn(t,e,i="0,0,0,0,0,0,0,0,0",o,r,n=new Function,a=!1){let s=e&&e.dataStr||JSON.stringify({model:e["3d_model_uuid"]||t,unit:"mm"}),l=e.path,c=(0,fF.default)("iframe",o);if(c.length==0){let u=g1(o[0],t,se.VIEW3D);u.onload=async function(){d(u,s,i,l,a)}}else d(c[0],s,i,l,a);async function d(u,p,m,h,f){let g="",b=(0,fF.default)("iframe",r);f&&b.length>0&&(g=(await C.windowBridge.rpcCall("/pcb/3d/source",{considerCanvasOrigin:!1,gnrBBoxOutlines:!0},b[0].contentWindow)).message),await C.windowBridge.rpcCall("/pcb/3d/load/data",g,u.contentWindow),await C.windowBridge.rpcCall("/pcb/3d/load/model",{dataStr:p,path:h},u.contentWindow),await C.windowBridge.rpcCall("/pcb/3d/model/update",m,u.contentWindow),await C.windowBridge.rpcCall("/pcb/3d/model/closeEditMode","",u.contentWindow),await C.windowBridge.publish("toggle3DView",{cmd:"refresh"},u.contentWindow);let y={key:"attr-silk-technology",value:"standardSilk"};C.windowBridge.publish("3DViewModifyAttr",y,u.contentWindow),n()}}async function zHt(t,e="0,0,0,0,0,0,0,0,0",i,o){if(t)return itn(t.uuid,t,e,i,o,void 0,!0)}async function eX(t,e,i,o,r,n=!0,a,s,l,c){let d=(0,fF.default)("#bottomBar");if(!t){Ut({type:"alert",message:"Please select a device for placement"});return}if(t.attributes.Footprint&&!a){let m=yr(t);try{a=await Ze.getFootprint({isProject:e,uuid:t.attributes.Footprint,path:m})}catch{a=null}}if(!a&&i===se.PCB||!o&&i===se.SCH){(0,fF.default)(".placeBtn",d).attr("disabled","disabled");return}let{success:u,footprint:p}=await N4.placeDevice(t,e,i,o,a,r,n,void 0,c);u&&t.symbol_type!=se.SHEET_SYMBOL&&sy(1)}function Ls(){return Tr.tabName}function ODo(){return Tr.classification}async function vLo(t){let e=await RDo(),i=e?e[t].path:"",o=await L6(i);if(!o.success)return Ut({type:"error",message:"Open Project failed"}),!1;let{uuid:r}=o.result;return!0}function dfe(){var e;let t=((e=Tr.classification)==null?void 0:e.type)===Yt.SYSTEM;return Je&&(t=bT(Tr.classification.uuid)),t}function otn(){let t=Tr.classification;return(t==null?void 0:t.title)==="Personal"?Xo.getValueFromCacheUser("uuid"):t==null?void 0:t.uuid}function rtn(){let t=Tr.classification;return t.title==="Personal"?Xo.getValueFromCacheUser("uuid"):["Project","Favorite","Public"].filter(i=>t.title===i).length!==0?"":t.uuid}function _s(t,e,i){let o=Ls(),r=rtn();!i&&r===t&&e===o&&x1()}function ntn(){switch(Tr.selectedDocType){case se.PART.toString():return[se.PART];case se.NETFLAG.toString():return[se.NETFLAG];case se.NETPORT.toString():return[se.NETPORT];case se.OFF_PAGE_CONNECTOR.toString():return[se.OFF_PAGE_CONNECTOR];case se.DIFF_PAIRS_FLAG.toString():return[se.DIFF_PAIRS_FLAG];case se.SHEET_SYMBOL.toString():return[se.SHEET_SYMBOL];case se.NONEELEC_SYMBOL.toString():return[se.NONEELEC_SYMBOL];case se.SHORT_SYMBOL.toString():return[se.SHORT_SYMBOL];case"all":default:return[se.NETFLAG,se.NETPORT,se.OFF_PAGE_CONNECTOR,se.DIFF_PAIRS_FLAG,se.SHEET_SYMBOL,se.NONEELEC_SYMBOL,se.PART,se.SHORT_SYMBOL]}}async function gEt(t,e,i){let o={uid:otn(),docType:[b0e],type:I0i,wd:t,pageSize:i,returnListStyle:"classifyarr",page:e,path:Vm()};for(let a of Tr.classificationList)if(a.selected&&a.type!="project"){o.uid=a.uuid;break}let n=await Yf({isSearch:!1,isProjectLib:!1,reqData:o});if(n&&n.result){let a=n.result,s=a.lists.filter(d=>d.title.toLowerCase().indexOf(t)>-1),l=(a.page-1)*a.pageSize,c=l+a.pageSize;return a.lists={[o.uid]:s.slice(l,c)},a.count=s.length,a.facets={[o.uid]:a.count},a.totalPage=Math.ceil(a.count/a.pageSize),a.uid=o.uid,a.wd=t,n}return{}}async function CMe(t,e){let i=Tr.tabName,o=Tr.classification,r={},n=Tr.selectedDocType;if(Je&&i==="cbb")return(await gEt(t,1,10)).result.facets;if(n===se.BLOCK_SYMBOL)return{};if(o.type!==Yt.INTERNAL&&C.isOpenInternalLib&&fOe.includes(i))try{let a=await lfe(t);r[Yt.INTERNAL]=a}catch{r[Yt.INTERNAL]=0}for(let a of C.extendLibStore.manager.getLibs())o.uuid!==a.id&&(r[a.id]=await a.getAmountByWd(i,t));if(![Yt.STAR,Yt.SYSTEM,Yt.PUBLIC,Yt.PERSONAL,Yt.TEAMS,Yt.USER].includes(o.type)){let a={uid:"user",wd:t,page:1,pageSize:1,returnListStyle:"classifyarr",path:bn,needStr:!1};e&&(a.docType=e);let{result:s}=await Yf({isProjectLib:!1,isSearch:!0,reqData:a});r={...r,...s.facets}}if(o.type!==Yt.PROJECT)if(!C.currentProject.projectId)r.project=0;else switch(i){case"model3D":{r.project=0;break}case"modelSimLib":return{...r,project:0};case"cbb":{let s=Object.values(await Yf({isProjectLib:!0,type:"blockSymbols"})).filter(l=>!(l.title.indexOf(t)<0)).length;r.project=s;break}case"device":{let a={page:1,pageSize:1,searchValue:t,symbol_type:n,tabType:Tr.tabName,tag:[]},{result:s}=await _re(a);r.project=s.count;break}case"symbol":{let a=Object.values(await Yf({isProjectLib:!0,type:"symbols"})),s=ntn(),l=a.filter(c=>s.indexOf(c.docType)===-1||c.uuid.includes("_")||n&&c.docType!==n?!1:!(c.title.indexOf(t)<0)).length;r.project=l;break}case"footprint":{let{message:a}=await C.messageBus.rpcCall($e.FOOTPRINT.WITH_ORIGINS,[C.currentProject.projectId]),s=a.filter(l=>!(l.title.indexOf(t)<0)&&!l.uuid.includes("_")).length;r.project=s;break}}return r}function OS(t,e){return i(t)||i(t.attributes||{})||t.footprint&&i(t.footprint)||!1;function i(o){let r=jd(e);for(let n of L0i)switch(n){case"tags":case"custom_tags":{let a=new RegExp(r,"i");if(Lci(o[n]).match(a))return!0;break}default:{if(o[n]&&o[n].match(new RegExp(r,"i")))return!0;break}}}}async function atn(t,e,i=!1){if(!t)return{success:!1,result:{lists:[],count:0}};let{tag:o=[],searchValue:r,page:n,pageSize:a,symbol_type:s,attributes:l,bindType:c}=e;l=l||{};let d=[];for(let p=0;p<t.length;p++){let m=t[p];if(m.attributes.Footprint){let{message:f}=await C.messageBus.rpcCall($e.FOOTPRINT.GET,[m.attributes.Footprint,C.currentProject.projectId]);f&&(m.footprint={display_title:f.display_title,title:f.title,uuid:f.uuid})}if(m.attributes.Symbol){let{message:f}=await C.messageBus.rpcCall($e.SYMBOL.GET,[m.attributes.Symbol,C.currentProject.projectId]);f&&(m.symbol={display_title:f.display_title,title:f.title,uuid:f.uuid,docType:f.docType})}if(Object.entries(l).every(f=>i&&(l[0]==="NGSpice Model"||l[0]==="Sim Model")?m.attributes[f[0]]:m.attributes[f[0]]==f[1])&&!(s&&m.symbol_type!=s)&&!(c===se.NGSPICE_MODEL&&!m.attributes["NGSpice Model"])&&!(c===se.SIMULIDE_MODEL&&!m.attributes["Sim Model"])){if(o.length&&!r)try{let f,g=dj(m);if(!g||!g.parent_tag){o.includes("@Uncategorized")&&d.push(m);continue}if(f=o.every((b,y)=>(y===0?g.parent_tag.uuid:g.child_tag.uuid)==b),!f)continue}catch{continue}r?OS(m,r)&&d.push(m):d.push(m)}}let u=d.length;return n&&(d=d.slice((n-1)*a,n*a)),{success:!0,result:{lists:d,count:u}}}async function _re(t,e=!1){let{message:i}=await C.messageBus.rpcCall($e.DEVICE.WITH_ORIGINS,[C.currentProject.projectId]);return await atn(i,t,e)}function ILo(t){C.messageBus.publish("setTableCheckBox",{isSet:!1})}function dj(t){let e,i=t.custom_tags&&JSON.parse(t.custom_tags);return i&&i[0]?i[1]?e={child_tag:{name:i[1],name_cn:me.i18n(i[1]),uuid:i[1]},parent_tag:{name:i[0],name_cn:me.i18n(i[0]),uuid:i[0]}}:i[0]&&(e={parent_tag:{name:i[0],name_cn:me.i18n(i[0]),uuid:i[0]}}):e=t.tags,e}async function GLo(t,e){var c;let i={},o=await(await C.messageBus.rpcCall($e.PCB.GET_BY_TITLE,[t,C.currentProject.projectId])).message;o==null&&C.messageBus.publish("ui/toastMsg",{type:"warn",msg:"Place content empty!"});let{uuid:r,docType:n,project_uuid:a}=o,s=a||C.currentProject.projectId||e;i[t]={uuid:r,docType:n,projectId:s,env:{tabId:r+Zc+s,windowTabId:(c=ko())==null?void 0:c._TAB_ID_}};let l=await Ra();C.windowBridge.publish("toggle",{command:"placePcb",module:i},l)}async function stn(t){let e=await Ze.getDevice({isProject:!0,uuid:t,path:C.currentProject.projectId}),[i,o]=e.source.split(FHt);await Ze.updateDevice({isProject:!0,uuid:t,path:C.currentProject.projectId,device:{uuid:i,path:o,isProject:!1}})}async function _Do(t){let e=new E2(D2.WARN);if(t){let i=t.length+1,o=0,r="Update Device";for(let n=0;n<t.length;n++){try{await stn(t[n])}catch(a){e.error(`\u7B2C${n+1}\u4E2A\u5668\u4EF6(${t[n]})\u66F4\u65B0\u5931\u8D25`,a)}vt(++o/i,r)}vt(++o/i,r)}}var J4=L(z());function jDo(){let t=J();Ce(Dn);function e(){let o=Dn.getCheckedGridData(),r=[],n=nci(o),a=aci(o);return n&&r.push((0,J4.jsxs)("div",{style:{padding:"8px 0"},children:[n&&a?"1.":"",(0,J4.jsx)("span",{"data-test":EU.BelongPublicLib,children:t(EU.BelongPublicLib)})]})),a&&r.push((0,J4.jsxs)("div",{style:{padding:"8px 0"},children:[n&&a?"2.":"",(0,J4.jsx)("span",{"data-test":EU.curLaterThanUpdated,children:t(EU.curLaterThanUpdated)})]})),r}async function i(){if(Dn.confirmDiabled)return;let o=e();o.length?Dt({title:"Notice",icon:"none",closed:!0,id:"updateDataNotice",content:(0,J4.jsxs)(J4.Fragment,{children:[(0,J4.jsxs)("div",{style:{fontWeight:700,padding:"8px 0"},"data-test":EU.contentToUpdate,children:[t(EU.contentToUpdate),":"]}),o,(0,J4.jsx)("div",{style:{padding:"8px 0"},"data-test":EU.operateCarefully,children:t(EU.operateCarefully)})]}),isHtml:!1,showCancel:!0,height:"auto",onConfirm:async()=>{await Dn.confirmUpdate()}}):await Dn.confirmUpdate()}return(0,J4.jsxs)("footer",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"},children:[(0,J4.jsxs)("div",{children:[(0,J4.jsx)(qt,{checked:Dn.publicLibUpdate.checked,children:t(Kli),onChange:o=>{Dn.setPublicLibUpdateChecked(o)},style:{marginRight:"8px",display:Dn.publicLibUpdate.isShow?"inline-flex":"none"}}),(0,J4.jsx)(qt,{checked:Dn.showLaterCurVersion.checked,children:t(Qli),onChange:o=>{Dn.setShowLaterCurVersionChecked(o)}})]}),(0,J4.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,J4.jsx)(qt,{style:{display:Dn.notShowAgain.isShow?"inline-flex":"none"},checked:Dn.notShowAgain.isChecked,children:t(Wli),onChange:o=>{Dn.handleNotShowAgain(o)}}),(0,J4.jsx)(Me,{type:"primary",disabled:Dn.confirmDiabled,onClick:async()=>{await i()},style:{marginRight:"8px",marginLeft:"20px"},children:"Confirm"}),(0,J4.jsx)(Me,{type:"default",disabled:!1,onClick:async()=>{await Dn.cancel()},children:"Cancel"})]})]})}var Dx=L(Se());var GHt=L(UHt());var J5=L(Se());var zDo=L(UHt());var vx=L(z()),VHt=be.bind(zDo.default.locals);function HHt(t){var p;let e=J(),[i,o]=(0,J5.useState)(t.isFull),r=(0,J5.useRef)(null);(0,J5.useEffect)(()=>{o(t.isFull)},[t.isFull]);let n=(0,J5.useMemo)(()=>!!(t.data&&t.isShowBtns),[t.isShowBtns,t.data]),[a,s]=(0,J5.useState)([]);(0,J5.useEffect)(()=>{function m(h){h.button===SK&&d.current.state===1&&gC(h),d.current.state=0}return document.body.addEventListener("pointerup",m),()=>document.body.removeEventListener("pointerup",m)}),(0,J5.useEffect)(()=>{let{backgroundImage:m}=t;m&&(r.current.innerHTML=`<img style="position: absolute;width:100%;height:100%;background:${m};transform:translate(0,0) scale(1)" src="${m}">`)},[t.backgroundImage]),(0,J5.useEffect)(()=>{let m=!1,h=(t.multiplePartSelectList||[]).map((f,g)=>(f.selected&&(m=!0),{...f,selected:!!f.selected}));m||h[0]&&(h[0].selected=!0),s(h)},[t.multiplePartSelectList]);let l=(0,J5.useMemo)(()=>{var m;return t.type==="Footprint"||t.type==="Device"&&[yS.F,yS.VIEW3D].includes((m=t.btns.find(h=>h.selected))==null?void 0:m.label)},[t.type,t.btns]);(0,J5.useEffect)(()=>{l&&setTimeout(()=>{var y;let m=[yS.VIEW3D].includes((y=t.btns.find(w=>w.selected))==null?void 0:y.label),h=m?"toggle3DView":"adaptAll",f=m?{cmd:"refresh"}:"",g=document.querySelector(".current-version-viewer .componentlib-iframe-view-item iframe"),b=document.querySelector(".latest-version-viewer .componentlib-iframe-view-item iframe");g&&C.windowBridge.publish(h,f,g.contentWindow),b&&C.windowBridge.publish(h,f,b.contentWindow)},100)},[t.isFull]);let c=(0,J5.useRef)(null),d=(0,J5.useRef)({state:0,translate:{x:0,y:0},scale:1}),u=ca({flush:"sync"});return(0,vx.jsxs)("section",{className:t.className,style:{display:"flex",flexDirection:"column",flex:1,border:"1px solid var(--common-border-color)",backgroundColor:"var(--common-bg-color)"},children:[(0,vx.jsxs)("div",{style:{position:"relative",display:"flex",alignItems:"center",width:"100%",height:"24px",padding:"0 3px",backgroundColor:n?_e.HEX_GRAY_COLOR1:"transparent"},children:[(0,vx.jsx)("span",{style:{width:"16px",height:"16px",cursor:"pointer",filter:"var(--common-icon-color)"},className:VHt(i?"ftp-op-resize-full":"ftp-op-resize-normal"),onClick:()=>{var h;let m=!i;o(m),(h=t.onFullChange)==null||h.call(t,m)}}),(0,vx.jsx)("div",{style:{flex:1,textIndent:"0.5em"},children:(0,vx.jsx)("span",{children:e(t.title)})}),(0,vx.jsx)("div",{style:{position:"absolute",right:"8px",display:"flex",gap:"3px"},hidden:!n,children:t.btns.map((m,h)=>(0,vx.jsx)("button",{className:VHt(["preview-check-btn",m.selected?"selected":""].join(" ")),onClick:()=>{let f=[...t.btns];f.forEach((g,b)=>g.selected=h===b),t.onViewTypeChange(f)},children:m.label},m.label))})]}),(0,vx.jsxs)("div",{style:{position:"relative",display:"flex",flexDirection:"column",aspectRatio:"1.4",flex:1,padding:"3px"},children:[(0,vx.jsx)("div",{className:VHt("componentlib-iframe-view-item"),style:{display:l?"block":"none",marginBottom:"2px",border:"1px solid var(--common-border-color)",flex:1}}),!l&&(0,vx.jsx)("div",{dangerouslySetInnerHTML:{__html:""}}),l?(0,vx.jsx)("div",{}):(0,vx.jsx)("div",{ref:c,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",background:t.backgroundColor},onWheel:m=>{c.current.childElementCount&&z2(m.nativeEvent)},onMouseDown:m=>{m.preventDefault(),Wf(m)},onContextMenu:m=>{gC(m)},children:(0,vx.jsx)("div",{ref:r,style:{overflow:"hidden"},"data-thumb":"symbol"})}),a!=null&&a.length?(0,vx.jsx)("div",{style:{width:"256px"},children:(0,vx.jsx)(xt,{value:(p=a.find(m=>m.selected))==null?void 0:p.value,onChange:m=>{var f;let h=[...a];s(h.map(g=>({...g,selected:m===g.value}))),(f=t.onPartChange)==null||f.call(t,m)},list:a.map(({value:m,text:h,selected:f,isNeedless:g})=>{h=rci(h==null?m:h);let b={};return g&&(b.textDecoration="line-through"),{text:h,value:m,style:b,showOriginalText:!0}})})}):null]})]})}var o0=L(z()),zle=be.bind(GHt.default.locals);function ltn(){let t=J(),[e,i]=(0,Dx.useState)([]);(0,Dx.useEffect)(()=>{let a=[{key:"name",name:t("Name"),sortable:!0,render(l){let{row:c,rowNumber:d,setRowData:u}=l,p=c.name;return(0,o0.jsx)("span",{children:p})}},{key:"type",name:t("Type"),sortable:!0,render(l){let{row:c,rowNumber:d,setRowData:u}=l,p=c.type;return(0,o0.jsx)("span",{"data-test":p,children:t(p)})}},{key:"currentVersion",name:t("Current Version"),sortable:!0,render(l){let{row:c,rowNumber:d,setRowData:u}=l,p=c.currentVersion,m=c.isLaterCurVersion?"redFont":"";return(0,o0.jsx)("span",{className:zle(m),children:p})}},{key:"updateVersion",name:t("Updated Version"),sortable:!0,render(l){let{row:c,rowNumber:d,setRowData:u}=l,p=c.updateVersion,m=c.isLaterCurVersion?"redFont":"";return(0,o0.jsx)("span",{className:zle(m),children:p})}},!Je&&{key:"owner",name:t("Owner"),sortable:!0,render(l){let{row:c,rowNumber:d,setRowData:u}=l,p=c.owner,m=c.isPublic?"redFont":"";return(0,o0.jsx)("span",{className:zle(m),children:p})}}].filter(Boolean),s=1/a.length;a.forEach(l=>l.width=s),i(a)},[Je]);let o=(0,Dx.useRef)(null),[r,n]=(0,Dx.useState)([]);return(0,Dx.useEffect)(()=>{let a=Dn.rows.showing,s=Object();a.forEach((d,u)=>{d.index=u,s[d.id]={row:d,index:u}});let l=new Hee((d,u)=>d.index-u.index);Dn.initialSelectedUuids.forEach(d=>{s[d]&&l.add(s[d])});let c=[];for(;l.size();)c.push(l.poll().row);n(c),setTimeout(()=>{o.current.toSelectRow(c[0])},100)},[Dn.initialSelectedUuids]),(0,o0.jsx)(xi,{width:679,ref:o,multiSelect:!1,index:"id",columns:e,rows:Dn.rows.showing,border:!0,rowHeight:25,stockade:!0,fixedHeader:!0,onClick:async({allSelectedRowIndexValues:a,editingRowNumbers:s,clickObj:l,row:c})=>{await Dn.setPreviewRowInfo(a.has(c.id)?{uuid:c.id,type:c.type}:null)},onChange:a=>{},style:{height:"100%",overflow:"auto"},checkbox:!0,moveAble:!0,checkedList:r,onAllChecked:()=>{},onCheckRow:(a,s)=>{Dn.setCheckedRows(a)}})}function ctn(){let t=J(),e=(0,Dx.useRef)(null);return Ce(Dn),(0,o0.jsxs)("section",{style:{display:"flex",flexDirection:"column",width:"704px",height:"100%"},children:[(0,o0.jsxs)("section",{style:{display:"flex",alignItems:"center",width:"100%",height:"35px",boxSizing:"border-box"},children:[(0,o0.jsxs)("div",{style:{display:"inline-flex",alignItems:"center"},children:[(0,o0.jsxs)("span",{"data-test":"Name",style:{whiteSpace:"nowrap",marginRight:"3px"},children:[t("Name"),":"]}),(0,o0.jsx)(Kt,{defaultValue:Dn.searchValue,onChange:i=>{Dn.setSearchValue(i.trim())}})]}),(0,o0.jsxs)("div",{style:{display:"inline-flex",alignItems:"center",marginLeft:"8px"},children:[(0,o0.jsxs)("span",{"data-test":"Type",style:{whiteSpace:"nowrap",marginRight:"3px"},children:[t("Type"),":"]}),(0,o0.jsx)(xt,{style:{width:"120px"},ref:e,value:Dn.selectType,list:f9e.map(i=>({text:t(i),value:i})),onChange:i=>{Dn.setSelectType(i)}})]})]}),(0,o0.jsx)("section",{style:{flex:1},children:(0,o0.jsx)("div",{style:{height:"100%",border:"1px solid var(--common-border-color)",boxSizing:"border-box"},children:(0,o0.jsx)(ltn,{})})})]})}function dtn(){var d,u,p,m;let t=J();Ce(Dn);let[e,i]=(0,Dx.useState)([]);(0,Dx.useEffect)(()=>{let h=[{key:"property",name:t("Property"),render(g){let{row:b,rowNumber:y,setRowData:w}=g,x=b.property;return(0,o0.jsx)("span",{"data-test":x,children:t(x)})}},{key:"currentVersion",name:t("Current Version"),render(g){let{row:b,rowNumber:y,setRowData:w}=g,x=b.currentVersion,S=typeof b.class=="string"?b.class:b.class.current;return(0,o0.jsx)("span",{className:zle(S),children:x})}},{key:"updateVersion",name:t("Updated Version"),render(g){let{row:b,rowNumber:y,setRowData:w}=g,x=b.updateVersion,S=typeof b.class=="string"?b.class:b.class.latest;return(0,o0.jsx)("span",{className:zle(S),children:x})}}],f=1/h.length;h.forEach(g=>g.width=f),i(h)},[]);let[o,r]=(0,Dx.useState)({}),[n,a]=(0,Dx.useState)(!1),s=h=>{a(h)};(0,Dx.useEffect)(()=>{r(n?{position:"absolute",left:0,top:0,width:"100%",zIndex:1111,backgroundColor:"var(--common-bg-color)"}:{})},[n]);let l=(0,Dx.useMemo)(()=>{var f;let h=(f=Dn.previewRowInfo)==null?void 0:f.type;return h==="Device"?Dn.previewType===yS.S:h==="Symbol"},[Dn.btns,Dn.previewRowInfo]),c=ca();return(0,Dx.useEffect)(()=>{Dn.switchDevicePreviewByType().then(()=>{c()})},[Dn.previewType]),(0,o0.jsx)("section",{style:{display:"flex",flexDirection:"column",width:"536px",height:"100%"},children:(0,o0.jsxs)("section",{style:{display:"flex",flexDirection:"column",flex:1,height:"100%"},children:[(0,o0.jsx)("div",{style:{height:"215px",marginTop:"35px",marginBottom:"12px"},children:(0,o0.jsxs)("div",{style:{display:"flex",gap:"8px",height:"100%",...o},children:[(0,o0.jsx)(HHt,{type:(d=Dn.previewRowInfo)==null?void 0:d.type,className:zle("current-version-viewer"),title:"Current Version",isFull:n,onFullChange:s,multiplePartSelectList:l?Dn.previewData.current.partIdList:null,onPartChange:h=>{Dn.setPreViewPartIdList(h)},btns:((u=Dn.previewRowInfo)==null?void 0:u.type)==="Device"?Dn.btns:[],onViewTypeChange:h=>Dn.setBtns(h),backgroundColor:Dn.previewData.current.viewer.background,backgroundImage:Dn.previewData.current.viewer.content}),(0,o0.jsx)(HHt,{type:(p=Dn.previewRowInfo)==null?void 0:p.type,className:zle("latest-version-viewer"),title:"Updated Version",isFull:n,onFullChange:s,multiplePartSelectList:l?Dn.previewData.latest.partIdList:null,onPartChange:h=>{Dn.setPreViewPartIdList(h)},btns:((m=Dn.previewRowInfo)==null?void 0:m.type)==="Device"?Dn.btns:[],onViewTypeChange:h=>Dn.setBtns(h),backgroundColor:Dn.previewData.latest.viewer.background,backgroundImage:Dn.previewData.latest.viewer.content})]})}),(0,o0.jsx)("div",{style:{flex:1},children:(0,o0.jsx)(xi,{width:536,multiSelect:!1,index:"property",columns:e,rows:Dn.previewData.tableRows,rowHeight:25,border:!0,stockade:!0,fixedHeader:!0,moveAble:!0,style:{height:"100%",overflow:"auto"}})})]})})}function FDo(){return Ae(GHt.default),Bt(()=>{C.messageBus.publish("sch/gVars.actionRunner.cancel")}).key("dialog_closeAll"),(0,o0.jsxs)("section",{style:{position:"relative",display:"flex",gap:"8px",height:"100%"},children:[(0,o0.jsx)(ctn,{}),(0,o0.jsx)(dtn,{})]})}var WHt=L(z()),YHt=class extends qe{constructor(){super(...arguments);this.id="update-component-lib";this.btns=[{label:yS.S,selected:!0},{label:yS.F,selected:!1},{label:yS.P,selected:!1},{label:yS.VIEW3D,selected:!1}];this.correlative={symbol:null,footprint:null};this.checkedRows=[];this.rows={all:[],showing:[]};this.placeArgs=null;this.initialSelectedUuids=[];this.selectType=f9e[0];this.searchValue="";this.previewRowInfo=null;this.previewData={current:{viewer:{background:"",content:""},partIdList:[]},latest:{viewer:{background:"",content:""},partIdList:[]},tableRows:[]};this.setPreViewPartIdList=UDo(async i=>{await this.switchPart(i),[this.previewData.current,this.previewData.latest].forEach(o=>{var r;(r=o.partIdList)==null||r.forEach(n=>{n.selected=i==n.value})}),this.notify()});this.handlePreviewData=async()=>{var i;(i=this.previewRowInfo)!=null&&i.type&&(this.resetPreviewLable(),this.resetPreviewData(),await this.previewDataHandlers[this.previewRowInfo.type]()),this.notify()};this.previewDataHandlers={Symbol:async()=>{await this.switchPart()},Footprint:async()=>{let i=NCe.Footprint,o=await i.getCompareData(this.previewRowInfo.uuid),{data:r,highlightSymbolAttrs:n}=await i.getViewerData(o);requestAnimationFrame(()=>{setTimeout(()=>{uee(r[0],n[0],(0,BE.default)(".current-version-viewer .componentlib-iframe-view-item")),uee(r[1],n[1],(0,BE.default)(".latest-version-viewer .componentlib-iframe-view-item"))},0)});let a=await i.getTableRows(o);this.previewData.tableRows=a},Device:async()=>{let i=await this.switchDevicePreviewByType();if(i){let o=await NCe.Device.getTableRows(i);this.previewData.tableRows=o}}};this.publicLibUpdate={get isShow(){return!Je},checked:!0};this.showLaterCurVersion={isShow:!0,checked:!1};this.notShowAgain={isChecked:!1,isShow:!1}}get previewType(){var i;return(i=this.btns.find(o=>o.selected))==null?void 0:i.label}setBtns(i){this.btns=i,this.notify()}get confirmDiabled(){return this.checkedRows.length===0}setCheckedRows(i){this.checkedRows=i,i.length||this.resetPreviewData(),this.notify()}setSelectType(i){i!==this.selectType&&(this.selectType=i,this.filterTableRows(),this.notify())}setSearchValue(i){i!==this.searchValue&&(this.searchValue=i,this.filterTableRows(),this.notify())}async setPreviewRowInfo(i){i!==this.previewRowInfo&&(this.previewRowInfo=i,await this.handlePreviewData())}resetPreviewData(){this.previewData={current:{viewer:{background:"",content:""},partIdList:[]},latest:{viewer:{background:"",content:""},partIdList:[]},tableRows:[]}}resetPreviewLable(){var i;switch((i=this.previewRowInfo)==null?void 0:i.type){case"Footprint":this.switchPreviewContainer();break;case"Symbol":let o=this.btns[0].selected,r=this.btns[2].selected;!o&&!r&&this.switchPreviewContainer();break}}switchPreviewContainer(){let i=(0,BE.default)(".current-version-viewer .componentlib-iframe-view-item"),o=(0,BE.default)(".latest-version-viewer .componentlib-iframe-view-item");i.html(""),o.html("")}async switchPart(i){if(!this.previewRowInfo)return;let o=NCe.Symbol,r;this.previewRowInfo.type==="Device"?r=structuredClone(this.correlative.symbol):r=await o.getCompareData(this.previewRowInfo.uuid);let[n,a]=o.getMultiplePartIdList(r);this.previewData.current.partIdList=n,this.previewData.latest.partIdList=a;let[s,l]=await o.getViewerData(r,{targetPartId:i});this.previewData.current.viewer=s,this.previewData.latest.viewer=l;let c=o.getTableRows(r);this.previewData.tableRows=c}async switchDevicePreviewByType(){if(!this.previewRowInfo)return;let i=NCe.Device;try{let o=await i.getCompareData(this.previewRowInfo.uuid);{let{curData:r,latestData:n}=o;switch(this.previewType){case yS.S:{let{correlative:a,data:s}=await oci(r,n);this.previewData.current=s[0],this.previewData.latest=s[1],this.correlative.symbol=a;break}case yS.F:{let{curFootprint:a,lastestFootprint:s}=await ici(r,n);requestAnimationFrame(()=>{setTimeout(()=>{let l=(0,BE.default)(".current-version-viewer .componentlib-iframe-view-item"),c=(0,BE.default)(".latest-version-viewer .componentlib-iframe-view-item");l.html(""),c.html(""),uee(a,[],l),uee(s,[],c)},0)}),this.correlative.footprint={curData:a,latestData:s};break}case yS.P:{let a=[r,n].map(s=>{var c;return{background:"",content:s&&((c=s.images)==null?void 0:c[0])||""}});this.previewData.current.viewer=a[0],this.previewData.latest.viewer=a[0];break}case yS.VIEW3D:{let a=(0,BE.default)(".current-version-viewer .componentlib-iframe-view-item"),s=(0,BE.default)(".latest-version-viewer .componentlib-iframe-view-item");a.html(""),s.html("");let l=r.attributes["3D Model"];if(l){let d=l.split("|"),u=await ts.fetchComponentItem(!1,d[0],Vm(),se.PCBLIB3D),p=u&&u.result?u.result:null;requestAnimationFrame(()=>{setTimeout(()=>{zHt({uuid:(p==null?void 0:p.uuid)||d[0],dataStr:p==null?void 0:p.dataStr,"3d_model_uuid":p==null?void 0:p["3d_model_uuid"]},r.attributes["3D Model Transform"],a,(0,BE.default)(document.createElement("div")))})})}let c=n?n.attributes["3D Model"]:null;if(c){let d=c.split("|"),u=await ts.fetchComponentItem(!1,d[0],Vm(),se.PCBLIB3D),p=u&&u.result?u.result:null;requestAnimationFrame(()=>{setTimeout(()=>{zHt({uuid:(p==null?void 0:p.uuid)||d[0],dataStr:p==null?void 0:p.dataStr,"3d_model_uuid":p==null?void 0:p["3d_model_uuid"]},n?n.attributes["3D Model Transform"]:"",s,(0,BE.default)(document.createElement("div")))})})}break}}}return o}catch{return}}setPublicLibUpdateChecked(i){i!==this.publicLibUpdate.checked&&(this.publicLibUpdate.checked=i,this.filterTableRows(),this.notify())}setShowLaterCurVersionChecked(i){i!==this.showLaterCurVersion.checked&&(this.showLaterCurVersion.checked=i,this.filterTableRows(),this.notify())}handleNotShowAgain(i){if(!this.notShowAgain.isShow)return;this.notShowAgain.isChecked=i,this.notify();let o=Wi("SYSTEM","isShowSymbol",{readValueKey:!1});if(i){let r=()=>{o.value=!1,mt.savePreference("commSystemSetting",sc())},n=()=>{o.value=!0,this.notShowAgain.isChecked=!1,this.notify(),mt.savePreference("commSystemSetting",sc())};Dt({id:"update-component-lib-notshowagain",title:"Notice",icon:"warning",content:"Open project will not check the library updated or not, you can enable it again at: Top Menu - Setting - System Setting.",onConfirm(){r()},onCancel(){n()},onClose(){n()}})}else o.value=!0,mt.savePreference("commSystemSetting",sc())}filterTableRows(){this.rows.showing=$li(this.rows.all,{isShowPublicLibUpdate:this.publicLibUpdate.checked,isShowLaterCurVersion:this.showLaterCurVersion.checked,name:this.searchValue,type:this.selectType}),this.setCheckedRows([])}open(i){return this.openCore(i).then(async o=>{if(o)try{C.messageBus.publish("sch/gVars.actionRunner.start"),await le.open({id:Dn.id,width:1278,height:640,title:"Update Project Library",onKeyup(r){r.key==="Escape"&&C.messageBus.publish("sch/gVars.actionRunner.cancel")},onClose(){C.messageBus.publish("sch/gVars.actionRunner.cancel")},esc:!0,mask:!0,footer:(0,WHt.jsx)(jDo,{}),children:(0,WHt.jsx)(FDo,{}),folded:!0})}catch{C.messageBus.publish("sch/gVars.actionRunner.cancel")}})}async openCore({params:{needUpdateSymbolData:i=!0,silentIfNone:o=!1},args:r=ks,notTip:n=!1}){let{canUpdate:a,data:s}=await qli(i);this.rows.all=Xli(s),this.filterTableRows();let l=!0;a?V_(this.rows.showing)&&o&&(!n&&De({type:"info",msg:"No libraries need to be updated",timer:3}),l=!1):(!n&&De({type:"info",msg:"No libraries need to be updated",timer:3}),l=!1),this.resetPreviewData(),this.notify();let c=(0,BE.default)(".current-version-viewer .componentlib-iframe-view-item"),d=(0,BE.default)(".latest-version-viewer .componentlib-iframe-view-item");c.html(""),d.html(""),this.rows.all.some(u=>{if(u.isPublic)return Ot("warn",Ti("The contents to be updated include those belonging to the public library. Please operate carefully")),!0}),this.notShowAgain.isShow=!!r.initPrj;{let u=new Set;if(r.selectedIds){let p=(await C.messageBus.rpcCall("getSelectSymbolUuid",r.selectedIds)).message;p&&p.forEach(m=>u.add(m))}if(r.uuids){let p=[];for(let m of r.uuids){let{device:h,symbol:f,footprint:g}=m;h&&p.push(h),f||(f=(await C.messageBus.rpcCall($e.DEVICE.GET_SYMBOL_UUID,[h,C.currentProject.projectId])).message),f&&p.push(f),g&&p.push(g)}p.forEach(m=>u.add(m))}this.initialSelectedUuids=[...u]}return r.placeArgs&&(this.placeArgs=r.placeArgs),l}getCheckedGridData(){return this.checkedRows.map(i=>{let o=[];return o[2]=i.type,o[0]={id:i.id,uuid:i.id,isLaterCurVersion:i.isLaterCurVersion,isPublic:i.isPublic,source:i.source,updateTime:i.updateTime,docType:i.docType,dataStr:i.dataStr||"",name:i.name,tags:i.tags},o[5]=i.source,o[9]=i.updateTime,o[6]=i.docType,o[7]=i.dataStr||"",o[1]=i.name,o[11]=i.tags,o})}async confirmUpdate(){C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.PROJECTLIB_UPDATE,content:{},project_uuid:C.currentProject.projectId}]);let i=[],o=[],r=[],n=this.getCheckedGridData();if(n.forEach(l=>{switch(l[2]){case"Symbol":i.push(l);break;case"Device":r.push(l);break;case"Footprint":o.push(l);break}}),i.length&&await C.messageBus.rpcCall("updateSymbols",i),o.length&&await s(),r.length){let l=[];r.forEach(c=>{let d=c[0];l.push(d.id)}),await _Do(l)}let a=!!this.placeArgs;await this.close(),a?await this.compareAndMarkToUpdatedSymbol():(await this.open({params:{needUpdateSymbolData:!0},notTip:!0}),this.notify());async function s(){let l=0,c=o.map(u=>{let{uuid:p,name:m,tags:h,docType:f,source:g}=u[0],[b,y]=g.split("|");return Ze.updateFootprint({footprint:{uuid:b,path:y,isProject:!1},uuid:p,path:C.currentProject.projectId,isProject:!0}).then(w=>(d(l++/n.length),w))});await Promise.all(c),d(1);function d(u){C.messageBus.publish("progressUpdate",[u,"Update Footprint",se.BLANKTAB])}}}async cancel(){await this.close()}async close(){if(await this.setPreviewRowInfo(null),await le.close(this.id),C.messageBus.publish("sch/gVars.actionRunner.end"),this.placeArgs){let[i,o,r,n,a,s]=this.placeArgs;await eX(i,o,r,n,s,!1),this.placeArgs=null}}async compareAndMarkToUpdatedSymbol(){let i=dt();if(!i||i===0||pr(i)||!hn("SYSTEM").isShowSymbol)return;let{message:r}=await C.messageBus.rpcCall(Pd.SYMBOL.GET);if(r.success){let n=r.result;if(n){let a=pbt(Object.values(n),{isShowLaterCurVersion:this.showLaterCurVersion.checked,isShowPublicLibUpdate:this.publicLibUpdate.checked});await C.messageBus.rpcCall("markToUpdatedSymbol",a)}}}async compareAndMarkToUpdatedFootprint(){if(!hn("SYSTEM").isShowSymbol)return;let{message:o}=await C.messageBus.rpcCall(Pd.FOOTPRINT.GET);if(o.success){let r=o.result;if(r){let n=pbt(Object.values(r),{isShowLaterCurVersion:this.showLaterCurVersion.checked,isShowPublicLibUpdate:this.publicLibUpdate.checked});C.messageBus.publish("needUpdateFootprint",Object.keys(n))}}}},Dn=new YHt;var QHt=class extends qe{constructor(){super(...arguments);this.dialogProps={};this.digTitleSet={};this.themeName="default";this._notCloseWhiteDialogArr=["lc-tips-modal-id","dlgChooseLibs","dlgExportBOM","browser-version","compareNetPortAndPin","openClientSettingDialogContainer","changeClientRunMode","confirm-close","unsupportedVBrowser","lowerVBrowser",bt["dlg-find"].containerId,bt["find-similar"].containerId,bt["choose-device"].containerId,bt["export-3d-file"].containerId,bt["d3-model-exception"].containerId,Dn.id];this._notCloseWhenCloseAllWhiteDialogArr=[]}get notCloseWhiteDialogArr(){return this._notCloseWhiteDialogArr}get notCloseWhenCloseAllWhiteDialogArr(){return this._notCloseWhenCloseAllWhiteDialogArr}setDialogProps(i,o){let r=this.dialogProps;r[i]=o,this.dialogProps=r,this.notify()}setDigTitle(i,o){this.digTitleSet[i]=o,this.notify()}setThemeName(i){this.themeName=i,this.notify()}setLatestDialogId(i){this.latestDialogId=i,this.notify()}addItemToNotCloseWhiteDialogArr(i){this._notCloseWhiteDialogArr.push(i)}removeItemToNotCloseWhiteDialogArr(i){let o=this._notCloseWhiteDialogArr.findIndex(r=>r===i);o>-1&&this._notCloseWhiteDialogArr.splice(o,1)}addItemToNotCloseWhenCloseAllWhiteDialogArr(i){this._notCloseWhenCloseAllWhiteDialogArr.push(i)}removeItemToNotCloseWhenCloseAllWhiteDialogArr(i){let o=this._notCloseWhenCloseAllWhiteDialogArr.findIndex(r=>r===i);o>-1&&this._notCloseWhenCloseAllWhiteDialogArr.splice(o,1)}},Np=new QHt;var xst=L(tbt());var KHt=class{constructor(){this.dialogScriptStore=new Map}insertScriptToDialog(e,i,o=[]){var r;this.dialogScriptStore.has(e)||this.dialogScriptStore.set(e,[]),(r=this.dialogScriptStore.get(e))==null||r.push({func:i,args:o})}async executeScriptsForDialog(e){let i=this.dialogScriptStore.get(e);if(i!=null&&i.length)for(let{func:o,args:r}of i)try{let n=`(${o.toString()})(${r.map(s=>{try{return s===void 0?"undefined":JSON.stringify(s)}catch{return"undefined"}}).join(",")});`,a=document.createElement("script");a.text=n,document.body.appendChild(a),a.remove()}catch(n){console.error(`\u811A\u672C\u6267\u884C\u9519\u8BEF [${e}]:`,n)}}},sDe=new KHt;var yc=L(z()),{locals:Fle}=xst.default,ICo=be.bind(Fle),ns=be.bind(Fle),ptn=28,yst="lcDialogDragProxy",VDo="lcDialogDragProxySub",gF=new Map,cQ=new Set,R0=new Map,lDe=new Set,pY=new Set,V1=null,Ule=!1,wst=new Map,HDo=(()=>{let t,e={},i={},o,r={},n,a=!1,s=!1,l,c,d,u,p,m,h,f,g,b,y,w,x,S=[],T={},M=!1,I=!1,A=!0,D,E=null,N=null,R={enableEnterFilter:!1},v=ke=>{R={...R,...ke}},k=ke=>{if(!a)return;let Be=R0.get(V1)||window;s=!0;let Xe=ke.pageX,Ge=ke.pageY;h=p+(Xe-d),f=m+(Ge-u);let Ke=Be.document.body.offsetWidth-l,pt=Be.document.body.offsetHeight-c;h=Math.min(Math.max(0,h),Ke),f=Math.min(Math.max(0,f),pt),n.style.cssText=`width:${l}px;height:${c}px;left:${h}px;top:${f}px`},P=()=>{let ke=R0.get(V1)||window,Be=ke.document.getElementById(VDo);if(Be==null||Be.remove(),n==null||n.remove(),ke.document.body.style.cssText="",!!a&&(a=!1,s)){s=!1;let Xe=gm().querySelector(`.${ns("lc_modal_dialog_box")}`);Xe.style.zIndex=getComputedStyle(ZHt()).zIndex,Xe.style.position="fixed",Xe.style.left=`${h}px`,Xe.style.top=`${f}px`}},O=ke=>{let Be=R0.get(V1)||window;ke?(Be.document.addEventListener("mousemove",k),Be.document.addEventListener("mouseup",P)):(Be.document.removeEventListener("mousemove",k),Be.document.removeEventListener("mouseup",P))},_=ke=>{let Be=gm().querySelector(`.${ns("lc_modal_dialog_box")}`),{right:Xe,bottom:Ge}=Be.getBoundingClientRect(),Ke=R0.get(V1)||window,pt=ke.pageX-g,ot=ke.pageY-b,Qe=0,ut=0,rt=()=>(Qe=Ke.document.body.offsetWidth-p-1-32,y=Math.min(Qe,Math.max(250,l+pt)),n.style.width=y+"px",!0),ht=()=>(ut=Ke.document.body.offsetHeight-m-1-32,w=Math.min(ut,Math.max(250,c+ot)),n.style.height=w+"px",!0),ct=()=>(Qe=Xe-1-32,y=Math.min(Qe,Math.max(250,l-pt)),n.style.width=y+"px",n.style.left=`${p-(y-l)}px`,!0),wt=()=>(ut=Ge-1-32,w=Math.min(ut,Math.max(250,c-ot)),n.style.height=w+"px",n.style.top=`${m-(w-c)}px`,!0);x==="e"&&rt(),x==="s"&&ht(),x==="w"&&ct(),x==="n"&&wt(),x==="ne"&&wt()&&rt(),x==="se"&&ht()&&rt(),x==="sw"&&ht()&&ct(),x==="nw"&&wt()&&ct()},j=()=>{let ke=R0.get(V1)||window;n==null||n.remove();let Be=gm().querySelector(`.${ns("lc_modal_dialog")}`),Xe=gm().querySelector(`.${ns("lc_modal_dialog_box")}`),Ge=gm().querySelector(`.${ns("lc_modal_dialog__body")}`);Ge.style.maxHeight="unset";let Ke=()=>(Be.style.width=y+"px",!0),pt=()=>(Be.style.height=w+"px",!0),ot=(ut=!0)=>(Be.style.width=y+"px",Xe.style.left=`${p-(y-l)}px`,ut&&(Xe.style.top=m+"px"),Xe.style.position="fixed",!0),Qe=(ut=!0)=>(Be.style.height=w+"px",Xe.style.top=`${m-(w-c)}px`,ut&&(Xe.style.left=p+"px"),Xe.style.position="fixed",!0);x==="e"&&Ke(),x==="s"&&pt(),x==="w"&&ot(),x==="n"&&Qe(),x==="ne"&&Qe()&&Ke(),x==="se"&&pt()&&Ke(),x==="sw"&&pt()&&ot(),x==="nw"&&Qe(!1)&&ot(!1),B(!1),ke.document.body.style.cssText=""},B=ke=>{let Be=R0.get(V1)||window;ke?(Be.document.addEventListener("mousemove",_),Be.document.addEventListener("mouseup",j)):(Be.document.removeEventListener("mousemove",_),Be.document.removeEventListener("mouseup",j))},V=!1,G=!1,Q=(ke,Be,Xe)=>{if(Be===V1&&ke.code==="Enter"&&(ke.isComposing&&(V=!0),R.enableEnterFilter&&ke.target instanceof HTMLElement)){let Ge=ke.target.tagName;(Ge=="INPUT"||Ge=="TEXTAREA")&&(G=!0)}},H=(ke,Be,Xe)=>{if(V||R.enableEnterFilter&&G){V=!1,G=!1;return}if(Be!==V1)return;let Ge=Xe.document.getElementById(Be);if(!Ge||ke.target!==document.body&&ke.target.isConnected&&!Ge.contains(ke.target))return;let Ke=Ge.getAttribute("esc");[...S].forEach(ot=>ot(ke)),C.messageBus.publish(`keyboard_${Be}`,{altKey:ke.altKey,code:ke.code,ctrlKey:ke.ctrlKey,key:ke.key,location:ke.location,shiftKey:ke.shiftKey}),JSON.parse(Ke)&&ke.key==="Escape"&&!ke.target._compositionstart&&(ke.stopPropagation(),ae(!1,Be),A?Ne(Be):Ue(Be))},q=ke=>{let Xe=gm().getAttribute("id"),Ge=ke.clipboardData,Ke={strings:[],files:[]};for(let pt=0;pt<Ge.items.length;pt++)try{let ot=Ge.items[pt];if(ot.kind==="string")ot.getAsString(Qe=>{Ke.strings.push(Qe)});else if(ot.kind==="file"){let Qe=ot.getAsFile(),ut=URL.createObjectURL(Qe);Ke.files.push({type:ot.type,name:Qe.name,size:Qe.size,objectUrl:ut})}}catch(ot){console.error(ot)}setTimeout(()=>{C.messageBus.publish(`paste_${Xe}`,Ke)},0)},U={},F={},K=(ke,Be,Xe)=>{let Ge=`${ke}-${Be.name}`;U[Ge]||(U[Ge]=pt=>{H(pt,ke,Be)});let Ke=U[Ge];return Xe&&delete U[Ge],Ke},te=(ke,Be,Xe)=>{let Ge=`${ke}-${Be.name}`;F[Ge]||(F[Ge]=pt=>{Q(pt,ke,Be)});let Ke=F[Ge];return Xe&&delete F[Ge],Ke},ae=(ke,Be)=>{let Xe=R0.get(Be)||window;ke?(Xe.addEventListener("keydown",te(Be,Xe)),Xe.addEventListener("keyup",K(Be,Xe))):(Xe.removeEventListener("keydown",te(Be,Xe,!0)),Xe.removeEventListener("keyup",K(Be,Xe,!0)),S.length=0)},pe=()=>{E=setInterval(()=>{V1=[...R0.keys()].at(-1),[...cQ.keys()].forEach(ke=>{[...gF.keys()].includes(ke)||X(ke)})},300)},Z=()=>{V1&&(N=setInterval(()=>{let ke=$ee();ae(cQ.has(ke),ke)},3e3))},ee=(ke,Be)=>{if(!ke)return;let Xe=typeof ke=="function"?ke:q,Ge=R0.get(V1)||window;Be?Ge.document.addEventListener("paste",Xe):Ge.document.removeEventListener("paste",Xe)},ce=()=>{let ke=ZHt();if(!ke)return;let{offsetWidth:Be,offsetHeight:Xe}=document.body,Ge=wst.get(t.id)||{},{onResize:Ke,onBeforeResize:pt}=Ge;pt&&pt(t);let{width:ot,height:Qe}=ke.getBoundingClientRect(),ut=t.querySelector(`.${ns("lc_modal_dialog_box")}`);ut.style.zIndex=getComputedStyle(ke).zIndex,ut.style.position="fixed",Be>=ot+32?(ut.style.left=`${(Be-ot)/2}px`,ut.style.maxWidth=`${ot}px`):(ut.style.maxWidth=`${Be-32}px`,ut.style.left="16px"),Xe>=Qe+32?(ut.style.top=`${(Xe-Qe)/2}px`,ut.style.maxHeight=`${Qe}px`):(ut.style.maxHeight=`${Xe-32}px`,ut.style.top="16px"),window.setTimeout(()=>{Ke&&Ke(t)})},ne=ke=>{let Be=R0.get(V1)||window;ke?Be.addEventListener("resize",ce):Be.removeEventListener("resize",ce)},oe=(ke,Be)=>{if(Be&&HDo.isOpen(Be)){let Ke=R0.get(Be)||window,pt=Ke.innerWidth,ot=Ke.innerHeight,{width:Qe,height:ut,top:rt,left:ht}=ke.getBoundingClientRect(),ct,wt,zt,gt;pt<Qe&&(Qe=pt-16,ct=Qe),ot<ut&&(ut=ot-16,wt=ut),pt<ht+Qe&&(zt=pt-Qe-16),ot<rt+ut&&(gt=ot-ut-16),(ct||wt||zt||gt)&&(ke.style.position="fixed",ct&&(ke.style.maxWidth=ct+"px"),wt&&(ke.style.maxHeight=wt+"px"),ke.style.left=zt?zt+"px":ht+"px",ke.style.top=gt?gt+"px":rt+"px")}},re=()=>{document.querySelectorAll('input[name="DontStopHotkey"]').forEach(Be=>Be.blur())},Y=async ke=>{let{id:Be,title:Xe="Dialog",width:Ge,height:Ke,mask:pt=!0,closed:ot=!0,windowInstance:Qe,onResize:ut,onBeforeResize:rt}=ke,{centered:ht=!0,left:ct,top:wt,dragged:zt=!0,children:gt,openCallback:Qt,visibilityChange:yt,onBeforeOpen:jt}=ke,ni=()=>{C.messageBus.publish("dialog/onBeforeOpen"),jt==null||jt()},{onOk:Ii,onCancel:Mo,okText:_i="Confirm",cancelText:So="Cancel",onClose:nr,onBeforeClose:Do,onMaximize:go,onFolded:Dr,footer:cr,hasBorder:Zn}=ke,{popup:Sa,maximize:es,folded:tu,esc:Mi=!0,remove:qi=!0,resize:Eo,onKeyup:Ct}=ke;Np.setDialogProps(Be,(gt==null?void 0:gt.props)||null),Np.setDigTitle(Be,Xe),Np.setLatestDialogId(Be),I=!1,V1=Be,A=qi,o=ke;let ti=wst.get(Be)||{};ti.onResize=ut,ti.onBeforeResize=rt,wst.set(Be,ti),pe(),Z(),R0.set(Be,Qe||dl.value||window);let hi=R0.get(Be);if(hi.name&&lDe.add(Be),!hi.name&&pY.add(Be),Ule=!!hi.name,cQ.add(Be),ne(!0),ee(ke.onPaste,!0),re(),Object.keys(T).includes(Be)){Dt({content:"The current pop-up window exists, please continue to operate or close!"});return}let ki=Uo=>{if((Do==null?void 0:Do())===!1)return;if(Ule=!!Uo.view.name,Uo.stopPropagation(),Object.keys(T).length>0){de(Be,!0);return}let ui=gm().getAttribute("id");wst.delete(ui),C.messageBus.publish(`close_${ui}`,i[Be]),V1=ui,yt&&yt(!1,V1),nr==null||nr()};D=C.messageBus.subscribe("closeDialogDidMount",Uo=>{setTimeout(()=>{X(Uo),yt&&yt(!1,Uo)},0)});let eo=(Uo,$t)=>{let ui=hi.document.getElementById(yst);ui&&ui.remove(),n=hi.document.createElement("div"),n.classList.add(Fle.lc_modal_proxy),n.id=yst,hi.document.body.appendChild(n);let fi=gm().querySelector(`.${ns("lc_modal_dialog_box")}`),{height:to,width:no,top:Lr,left:Pa}=fi.getBoundingClientRect();g=Uo.pageX,b=Uo.pageY,x=$t,l=no,c=to,p=Pa,m=Lr,B(!0),n.style.cssText=`width:${no}px;height:${to}px;left:${Pa}px;top:${Lr}px`,hi.document.body.style.cssText=`-webkit-user-select:none;user-select:none;cursor:${$t}-resize;`},Qo=Uo=>{if(!zt)return;let{className:$t,localName:ui}=Uo.target;if([Fle.header_right,Fle.header_right_close].includes($t)||ui==="i")return;O(!0),a=!0;let fi=hi.document.createElement("div");fi.id=VDo,fi.classList.add(Fle.lc_modal_proxy_sub),hi.document.body.appendChild(fi);let to=hi.document.getElementById(yst);to&&to.remove(),hi.getSelection().empty(),n=hi.document.createElement("div"),n.classList.add(Fle.lc_modal_proxy),n.id=yst,hi.document.body.appendChild(n),hi.document.body.style.cssText="-webkit-user-select:none;user-select:none;cursor:move;";let Lr=gm().querySelector(`.${ns("lc_modal_dialog_box")}`).getBoundingClientRect(),{left:Pa,top:Ss,width:Ms,height:zr}=Lr;d=Uo.pageX,u=Uo.pageY,p=Pa,m=Ss,l=Ms,c=zr,n.style.cssText=`width:${Ms}px;height:${zr}px;left:${Pa}px;top:${Ss}px`},dr=()=>{let Uo=t.querySelector(`.${ns("lc_modal_dialog__body")}`),$t=t.querySelector(`.${ns("lc_modal_dialog__footer")}`),ui=t.querySelector(`.${ns("lc_modal_dialog")}`),fi=!1;getComputedStyle(Uo).display==="none"?(Uo.style.display="block",$t&&($t.style.display="flex"),ui.style.height=Ke+"px"):(fi=!0,Uo.style.display="none",$t&&($t.style.display="none"),ui.style.height="auto");let to=t.querySelector(`.${ns("lc_modal_dialog_box")}`);if(Dr&&ui&&to){let no=Dr(fi),Lr=t.querySelector(`.${ns("header_left_title")}`);if(Lr&&no<=0&&(no=Lr.offsetWidth+82),no>0){let Pa=parseFloat(ui.style.width)||0,Ss=parseFloat(to.style.left)||0,Ms=Pa-no;ui.style.width=no+"px",to.style.left=Ss+Ms+"px"}}},sa=()=>{let Uo=t.querySelector(`.${ns("lc_modal_dialog")}`),$t=t.querySelector(`.${ns("lc_modal_dialog_box")}`);if(!(Uo.style.width==="100%"&&Uo.style.height==="100%"))Uo.dataset.originalStyles||(Uo.dataset.originalStyles=JSON.stringify({boxPosition:$t.style.position,boxTop:$t.style.top,boxLeft:$t.style.left,boxWidth:$t.style.width,boxHeight:$t.style.height,boxPadding:$t.style.padding,boxMargin:$t.style.margin,boxOverflow:$t.style.overflow,dialogWidth:Uo.style.width,dialogHeight:Uo.style.height,dialogTop:Uo.style.top,dialogLeft:Uo.style.left,dialogMargin:Uo.style.margin,dialogMaxWidth:Uo.style.maxWidth})),$t.style.position="fixed",$t.style.top="32px",$t.style.left="0",$t.style.width="100vw",$t.style.height="calc(100vh - 32px)",$t.style.padding="0",$t.style.margin="0",$t.style.overflow="auto",Uo.style.width="100%",Uo.style.height="100%",Uo.style.top="0",Uo.style.left="0",Uo.style.margin="0",Uo.style.maxWidth="none";else if(Uo.dataset.originalStyles){let fi=JSON.parse(Uo.dataset.originalStyles);$t.style.position=fi.boxPosition,$t.style.top=fi.boxTop,$t.style.left=fi.boxLeft,$t.style.width=fi.boxWidth,$t.style.height=fi.boxHeight,$t.style.padding=fi.boxPadding,$t.style.margin=fi.boxMargin,$t.style.overflow=fi.boxOverflow,Uo.style.width=fi.dialogWidth,Uo.style.height=fi.dialogHeight,Uo.style.top=fi.dialogTop,Uo.style.left=fi.dialogLeft,Uo.style.margin=fi.dialogMargin,Uo.style.maxWidth=fi.dialogMaxWidth}go==null||go()},Vn=Uo=>{if(hi.name==="componentLibWin"){console.error("\u7A97\u53E3\u4E2D\u7684\u5F39\u7A97\u4E0D\u5141\u8BB8\u6253\u5F00\u7A97\u53E3");return}if(Uo==="restore"){M=!0,setTimeout(()=>{de(Be)},0),Ve(Be);return}let $t=gm().querySelector(`.${ns("lc_modal_dialog_box")}`),{width:ui,height:fi}=$t.getBoundingClientRect(),to=(window.screen.availHeight-30-fi-32)/2,no=(window.screen.availWidth-10-ui-32)/2,Lr=`top=${to},left=${no},width=${ui+50},height=${fi+50},toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no`.replace(/\s|\r|\n/gm,"");T[Be]=window.open("",`pop_up_${Be}`,Lr),T[Be].onunload=()=>{M||Ne(Be),M=!1},window.onunload=()=>{fe()},T[Be].document.body.style.margin="0";let Pa=T[Be].document.createElement("div");Pa.classList.add(ns("lc_modal")),Pa.setAttribute("data-render","react"),Pa.style.zIndex=(self.UI.windowZIndex++).toString(),T[Be].document.body.appendChild(Pa);let Ss=Cst.default.createRoot(Pa);Ss.render((0,yc.jsx)(Ex.default.StrictMode,{children:(0,yc.jsx)(_r.Provider,{value:T[Be],children:(0,yc.jsx)(Cn,{dialogId:Be,winNoDrag:!0,winPopupStatus:"restore"})})})),gF.has(Be)||gF.set(Be,Ss),Ue(Be)},Cn=({dialogId:Uo,winNoDrag:$t,winPopupStatus:ui="popup",callback:fi})=>{let to=J(),no=new a9e;Ce(Np),Ae(xst.default);let Lr=(0,Ex.useRef)({hasBoundEvent:!1,element:null}),Pa=Np.digTitleSet[Be]||Xe,{window:Ss}=(0,Ex.useContext)(_r),[Ms,zr]=(0,Ex.useState)("open"),[dn,Kp]=(0,Ex.useState)("initialization"),a0=(0,Ex.useRef)(null),op=(0,Ex.useRef)(null);Bt(()=>{}).close(Be);let xp=()=>{if(!cr)return null;let Ma;return cr===!0?Ma=(0,yc.jsxs)(yc.Fragment,{children:[(0,yc.jsx)(Me,{"data-test":"Confirm",type:"primary",onClick:()=>Ii&&Ii(),children:_i}),(0,yc.jsx)(Me,{"data-test":"Cancel",onClick:()=>Mo&&Mo(),children:So})]}):typeof cr=="function"?Ma=cr():Ma=cr,(0,yc.jsx)("div",{className:ns("lc_modal_dialog__footer"),ref:a0,children:Ma})},Q1=()=>{let Ma=0;if(a0.current){let{height:d1}=a0.current.getBoundingClientRect();Ma=d1}return{maxHeight:typeof Ke=="number"?Ke-ptn-Ma:"unset"}},Zp=()=>{op.current&&(op.current.classList.remove(ns("entry-end")),op.current.classList.remove(ns("transition")),op.current.removeEventListener("transitionend",Zp))};return(0,Ex.useLayoutEffect)(()=>{op.current&&(Lr.current.element=op.current.parentElement,op.current.addEventListener("transitionend",Zp),window.setTimeout(()=>{op.current&&op.current.classList.remove(ns("entry-start")),Lr.current.hasBoundEvent||(Lr.current.element.addEventListener("contextmenu",JHt),Lr.current.hasBoundEvent=!0)},1),setTimeout(Zp,200))},[]),(0,Ex.useEffect)(()=>{Vle(ct)||Vle(wt)?Ac():setTimeout(()=>{let Ma=gm();if(Ma){let{width:Ag,height:d1}=Ma.querySelector(`.${ns("lc_modal_dialog_box")}`).getBoundingClientRect();Ma.style.top=`calc(50% - ${d1/2}px)`,Ma.style.left=`calc(50% - ${Ag/2}px)`,Ma.style.width="unset",Ma.style.height="unset"}},200),setTimeout(()=>{ae(!0,Be),Ss.focus()},200)},[]),(0,Ex.useEffect)(()=>{op.current&&sDe.executeScriptsForDialog(Uo);let Ma=new ResizeObserver(d1=>{window.requestAnimationFrame(()=>{var T2;oe((T2=d1[0])==null?void 0:T2.target,Uo)})}),Ag=Ss.document.getElementById(Uo+"_dialog_box");return Ag&&Ma.observe(Ag),()=>{Ma.disconnect(),Lr.current.hasBoundEvent&&(Lr.current.element.removeEventListener("contextmenu",JHt),Lr.current.element=null,Lr.current.hasBoundEvent=!1)}},[Uo]),(0,yc.jsxs)(WK.Provider,{value:no,children:[(0,yc.jsx)("style",{children:String(xst.default)}),pt&&(0,yc.jsx)("div",{className:ns("lc_modal_mask")}),(0,yc.jsxs)("div",{ref:op,id:Uo+"_dialog_box",className:ns("lc_modal_dialog_box transition entry-end entry-start"),children:[(0,yc.jsxs)("div",{ref:fi,className:ns("lc_modal_dialog"),style:{width:Ge,height:Ke},children:[(0,yc.jsxs)("div",{"data-dialog-tagitem":"lc_modal_dialog__header",className:ns("lc_modal_dialog__header"),style:{cursor:$t?"unset":""},onMouseDown:Ma=>{!$t&&Qo(Ma)},children:[(0,yc.jsx)("div",{className:ns("header_left"),children:(0,yc.jsx)("span",{"data-test":Pa,className:ns("header_left_title"),children:to(Pa)})}),(0,yc.jsxs)("div",{className:ns("header_right"),children:[Sa&&(0,yc.jsx)("i",{className:ns("icon_pop_up"),title:to(ebt[ui]),onClick:Ma=>{Ma.stopPropagation(),Vn(ui)}}),tu&&(0,yc.jsx)("i",{className:ns("icon_fold_up"),"data-test":"fold-up",style:{transform:`rotate(${Ms==="close"?270:90}deg)`},title:Ms==="close"?to("Expand"):to("Collapse"),onClick:Ma=>{Ma.stopPropagation(),zr(Ms==="close"?"open":"close"),dr()}}),es&&(0,yc.jsx)("i",{className:dn==="maximize"?ns("icon_maximize"):ns("icon_initialization"),title:dn==="maximize"?to("Initialization"):to("Maximize"),onClick:Ma=>{Ma.stopPropagation(),Kp(dn==="maximize"?"initialization":"maximize"),sa()}}),ot&&(0,yc.jsx)("div",{"data-test":"close",className:ns("header_right_close"),title:to("close"),onClick:ki,children:(0,yc.jsx)("i",{})})]})]}),(0,yc.jsx)("div",{"data-dialog-tagitem":"lc_modal_dialog__body",className:ns("lc_modal_dialog__body"),style:Q1(),children:Zn?(0,yc.jsx)("div",{className:ns("border"),children:gt}):gt}),xp()]}),Eo&&(0,yc.jsxs)(yc.Fragment,{children:[(0,yc.jsx)("div",{className:ns("e-resize"),onMouseDown:Ma=>eo(Ma,"e")}),(0,yc.jsx)("div",{className:ns("s-resize"),onMouseDown:Ma=>eo(Ma,"s")}),(0,yc.jsx)("div",{className:ns("w-resize"),onMouseDown:Ma=>eo(Ma,"w")}),(0,yc.jsx)("div",{className:ns("n-resize"),onMouseDown:Ma=>eo(Ma,"n")}),(0,yc.jsx)("div",{className:ns("ne-resize"),onMouseDown:Ma=>eo(Ma,"ne")}),(0,yc.jsx)("div",{className:ns("nw-resize"),onMouseDown:Ma=>eo(Ma,"nw")}),(0,yc.jsx)("div",{className:ns("se-resize"),onMouseDown:Ma=>eo(Ma,"se")}),(0,yc.jsx)("div",{className:ns("sw-resize"),onMouseDown:Ma=>eo(Ma,"sw")})]})]})]})},fa=()=>{typeof Ct=="function"&&S.push(Ct)},Ac=()=>{let Uo=hi.document.getElementById(Be+"_dialog_box");if(!Uo)return;Uo.style.position="absolute";let $t=Uo.offsetWidth,ui=Uo.offsetHeight,fi=hi||window,to=fi.innerWidth,no=fi.innerHeight,Lr={left:ct+$t>to?to-$t:ct,top:wt+ui>no?no-ui:wt};for(let Pa in Lr){let Ss=Lr[Pa];Kr(Ss)||(Uo.style[Pa]=Ss+"px")}};if(hi.document.getElementById(Be)){t=hi.document.getElementById(Be),t.style.zIndex=(self.UI.windowZIndex++).toString();let Uo=t.querySelector(`.${ns("lc_modal_dialog__body")}`);i[Be]=qi,!Uo||Uo.childNodes.length===0?(ni(),e[Be]=Cst.default.createRoot(t),e[Be].render((0,yc.jsx)(_r.Provider,{value:hi,children:(0,yc.jsx)(Cn,{dialogId:Be,callback:$t=>{$t&&Qt&&Qt({open:!0,contentElm:$t,elm:t})}})})),!gF.has(Be)&&gF.set(Be,e[Be])):setTimeout(()=>{ae(!0,Be),hi.focus()},200),r[Be]=gt==null?void 0:gt.props,t.style.display="flex",setTimeout(()=>{Vle(ct)||Vle(wt)||!ht?Ac():(!Uo||Uo.childNodes.length===0)&&GDo(),yt&&yt(!0,Be),fa()},50)}else t=hi.document.createElement("div"),t.classList.add(ns("lc_modal")),t.style.zIndex=(self.UI.windowZIndex++).toString(),t.setAttribute("id",Be),t.setAttribute("esc",Mi.toString()),t.setAttribute("mask",pt.toString()),t.setAttribute("data-render","react"),hi.document.body.appendChild(t),r[Be]=gt==null?void 0:gt.props,i[Be]=qi,ni(),e[Be]=Cst.default.createRoot(t),e[Be].render((0,yc.jsx)(Ex.default.StrictMode,{children:(0,yc.jsx)(_r.Provider,{value:hi,children:(0,yc.jsx)(Cn,{dialogId:Be,callback:Uo=>{Uo&&Qt&&Qt({open:!0,contentElm:Uo,elm:t})}})})})),!gF.has(Be)&&gF.set(Be,e[Be]),yt&&yt(!0,Be),fa()};async function X(ke){await os(1),P();let Be=R0.get(V1)||window;if(ke&&gF.has(ke)){let Xe=Be.document.getElementById(ke);Xe&&(Xe.style.display="none"),ie(),ae(!1,ke),cQ.delete(ke);try{gF.get(ke).unmount()}catch{}gF.delete(ke),Ule=!1,clearInterval(E),clearInterval(N)}ke&&lDe.has(ke)&&lDe.delete(ke),ke&&pY.has(ke)&&pY.delete(ke),ke&&R0.has(ke)&&R0.delete(ke)}function ie(){O(!1),ne(!1),ee((o==null?void 0:o.onPaste)||!0,!1)}let de=(ke,Be)=>{Object.keys(T).forEach(Xe=>{ke===Xe&&(T[Xe].close(),delete T[Xe],Be&&Ne(Xe))})},fe=()=>{Object.keys(T).forEach(ke=>{T[ke].close(),Ne(ke)})},ye=ke=>{let Be=ke&&ke.querySelector(`.${ns("lc_modal_dialog__body")}`),Xe;for(;Be&&(Xe=Be.children.item(0));)Xe.remove()},Le=ke=>!vn(i[ke])&&!i[ke]?(console.warn(`[dialogId:${ke}]The props of the current dialog "remove" is "false", please use \u201Cdialog.hide()\u201D.`),!1):!0,Re=()=>{dl.value&&(Ule=!!dl.value.name)},Ne=async(ke,Be)=>{let Xe=(Ge,Ke)=>{ye(Ge),ie(),ae(!1,Ke),X(Ke),de(Ke),Be==null||Be(!!Ge,Ge),Ge.style.display="none"};if(ke)if(Np.setDialogProps(ke,null),Le(ke)){let Ke=(R0.get(V1)||window).document.getElementById(ke);Ke&&Xe(Ke,ke)}else await Ue(ke);else{Re();let Ge=gm();if(Ge){let Ke=Ge.getAttribute("id");Le(Ke)&&Xe(Ge,Ke),!Le(Ke)&&await Ue(Ke)}}},Te=async()=>{let Be=(R0.get(V1)||window).document.querySelectorAll(`.${ns("lc_modal")}`);if(Be.length>0){ie(),D==null||D.cancel();let Xe=!1;for(let Ge=0;Ge<Be.length;Ge++){let Ke=Be[Ge],pt=Ke.getAttribute("id");if(Np.notCloseWhenCloseAllWhiteDialogArr.includes(pt)){Xe=!0;continue}ae(!1,pt),Le(pt)?(await X(pt),Ke.style.display="none",ye(Ke)):await Ue(pt)}Xe||(ie(),D==null||D.cancel()),C.messageBus.publish("dialog_closeAll")}},Pe=async(ke,Be)=>{let Xe=(Ge,Ke)=>{Ge.remove(),ie(),ae(!1,Ke),X(Ke),de(Ke),Be==null||Be(!!Ge)};if(ke&&Le(ke)){let Ke=(R0.get(V1)||window).document.getElementById(ke);Ke&&Xe(Ke,ke)}else{Re();let Ge=gm();if(Ge){let Ke=Ge.getAttribute("id");Le(Ke)&&Xe(Ge,Ke),!Le(Ke)&&await Ue(Ke)}}},Oe=async()=>{let Be=(R0.get(V1)||window).document.querySelectorAll(`.${ns("lc_modal")}`);Be.length>0&&(ie(),D==null||D.cancel(),Be.forEach(Xe=>{Xe.remove();let Ge=Xe.getAttribute("id");ae(!1,Ge),Le(Ge)?(X(Ge),de(Ge)):Ue(Ge)}))},Ue=async(ke,Be)=>{let Xe=(Ge,Ke)=>{Ge.style.display="none",ie(),ae(!1,Ke),Be==null||Be(!!Ge),cQ.delete(Ke),Ule=!1,clearInterval(E),clearInterval(N)};if(ke){let Ke=(R0.get(V1)||window).document.getElementById(ke);Ke&&Xe(Ke,ke)}else{Re();let Ge=gm();Ge&&Xe(Ge,Ge.getAttribute("id"))}},Ve=(ke,Be)=>{ke=ke!=null?ke:V1;let Xe=R0.get(ke)||window,Ge=(Ke,pt)=>{Ke.style.display="flex",Ke.style.zIndex=(self.UI.windowZIndex++).toString(),re(),Be==null||Be(!!Ke),O(!0),ne(!0),ae(!0,pt),pe(),Z(),Xe.focus(),cQ.add(Ke.getAttribute("id"))};if(ke){let Ke=Xe.document.getElementById(ke);Ke&&Ge(Ke,ke)}else Ge(t,ke)};return{open:Y,close:Ne,closeAll:Te,destroy:Pe,destroyAll:Oe,hide:Ue,show:Ve,isOpen:ke=>cQ.has(ke),hasDialogOpen:()=>cQ.size>0,hasMaskDialogOpen:()=>{let ke=R0.get(V1)||window;return!![...cQ].find(Xe=>{let Ge=ke.document.getElementById(Xe);return(Ge==null?void 0:Ge.getAttribute("mask"))=="true"})},cusotmModalConfig:v}})(),le=HDo;var cDe=be.bind(YDo.default.locals),gm=()=>{let t=Ule?Array.from(lDe).pop():Array.from(pY).pop(),i=(R0.get(t)||dl.value||window).document.querySelectorAll(`.${cDe("lc_modal")}`),o,r=0;return i.forEach(n=>{let a=getComputedStyle(n);+a.zIndex>r&&a.display==="flex"&&(r=+a.zIndex,o=n)}),o},XHt=()=>{let t=R0.get(V1)||window,e=gm().querySelector(`.${cDe("lc_modal_dialog_box")}`),{width:i,height:o}=e.getBoundingClientRect(),r=(t.document.body.offsetHeight-o)/2||0,n=(t.document.body.offsetWidth-i)/2||0;return{top:r,left:n}},BCo=()=>{let t=gm().querySelector(`.${cDe("lc_modal_dialog_box")}`),{left:e,top:i}=t.getBoundingClientRect();return{left:e,top:i}},ZHt=()=>{var t;return((t=gm())==null?void 0:t.querySelector(`.${cDe("lc_modal_dialog")}`))||null},qHt=()=>{var t;return((t=gm())==null?void 0:t.querySelector(`.${cDe("lc_modal_dialog_box")}`))||null},GDo=()=>{if(!qHt())return;let{top:t,left:e}=XHt();qHt().style.top=`${t}px`,qHt().style.left=`${e}px`};function $ee(){var n;let e=(R0.get(V1)||window).document.querySelectorAll(".panel.window"),i,o=0;e.forEach(a=>{let s=getComputedStyle(a);+s.zIndex>o&&s.display==="block"&&(o=+s.zIndex,i=a)});let r=0;return i&&(r=+getComputedStyle(i).zIndex),r&&self.UI.windowZIndex-1===r?i.querySelector(".window-body").id:(n=gm())==null?void 0:n.id}var mtn=["INPUT","TEXTAREA"];function JHt(t){let e=t.target;if(!e)return;let i=e.nodeName.toLocaleUpperCase();mtn.indexOf(i)>=0||t.preventDefault()}function Bt(t){return{close:r=>{let n=(0,ete.useRef)(null),a=Whe(t);(0,ete.useEffect)(()=>(n.current=C.messageBus.subscribe(`close_${r}`,s=>{$ee()===r&&(a.current({}),s&&C.messageBus.publish("closeDialogDidMount",r))}),()=>{n.current.cancel()}),[])},keyboard:r=>{let n=(0,ete.useRef)(null),a=Whe(t);(0,ete.useEffect)(()=>(n.current=C.messageBus.subscribe(`keyboard_${r}`,s=>{$ee()===r&&a.current(s)}),()=>{n.current.cancel()}),[])},key:r=>{let n=(0,ete.useRef)(null),a=Whe(t);(0,ete.useEffect)(()=>(n.current=C.messageBus.subscribe(r,s=>{a.current(s)}),()=>{n.current.cancel()}),[])}}}var $Ht=L(Se());var WDo=L(Se());function HA(t,e,i=0){let o=Gr(t,i);(0,WDo.useEffect)(o,e)}var QDo=L(Se());function Whe(t){let e=(0,QDo.useRef)(t);return e.current=t,e}var Hle=L(Se());function Q9(t){let e=(0,Hle.useRef)(t),i=(0,Hle.useRef)(t),[,o]=(0,Hle.useState)(0),r=(0,Hle.useCallback)(n=>{let a=typeof n=="function"?n(i.current):n;Object.is(a,i.current)||(i.current=a,o(s=>s+1))},[]);return Object.is(t,e.current)||(i.current=e.current=t),[i.current,r]}var KDo=L(z()),are=1e7,htn=(t,e)=>{let i=J(),o=(0,dQ.useRef)(null),{originUnit:r="",inputUnit:n="",name:a,disabled:s,hiddenUnit:l,dValue:c,onChange:d,style:u={},className:p="",dataTest:m="",multiSplit:h="",positive:f=!1,maxValue:g=are,customCheck:b,onFocus:y,validatedValue:w,onKeyDown:x=P=>{}}=t,{value:S}=t;S=S==null?0:S;let[T,M]=(0,dQ.useState)(S),I=(0,dQ.useRef)(!1),A=ca();(0,dQ.useImperativeHandle)(e,()=>({inputRef:o}));let D=S,E=T,N=r||(vC()?"mil":Wn()?"mm":"pixel");if(!I.current)if(S==="")E="",D="";else if(h&&S.toString().includes(h)){let P=S.toString().trim().split(h),O=[],_=[];P.forEach(j=>{if(!j.trim())return;let V=v(j,"");O.push(V.displayValue),_.push(V.numericalValue)}),O.length>0&&(D=_.join(h),E=O.join(h))}else{let P=v(S,T);D=P.numericalValue,E=P.displayValue}return(0,KDo.jsx)(Kt,{ref:o,dataTest:m,name:a||"",value:String(E),disabled:s,enterTriggerBlur:!0,clickTriggerSelect:!0,className:p,focusTriggerSelect:"SELECT_ALL",style:{height:"24px",borderRadius:"2px",...u},htmlAttrs:{"data-attr-key":a},onkeydown:x,onChange:P=>{let O=P.replace(/[.|。]+/g,".");M(O)},onFocus:P=>{A(),I.current=!0,M(n&&!isNaN(+D)?fo(+D,n):D),y&&y(P)},onBlur:P=>{let O=P.target,_=O.value||"",j=O.getAttribute("oldval")||O.getAttribute("oldVal");if(I.current=!1,_!==j){if(A(),h&&_.includes(h)){let B=_.trim().split(h),V=[];B.forEach(G=>{let Q=G.trim();Q&&R(Q,n,H=>{V.push(H)},H=>{V.push(H)})}),V.length>0&&d(V.join(h),P);return}R(_,n,B=>{S!==B&&d(B,P)},(B,V)=>{V!==void 0&&B!==V&&w&&w(V).isValid&&d(V,P)})}}});function R(P,O,_,j){let B=ul(P,O);if(k(B)){let G=io(+B,O,N);_(G)}else j(S,B)}function v(P,O){let _=P,j=O,B=+P;return!isNaN(B)?(_=Xci(B,N,n),j=_,l||(j=j+n),c!==void 0&&P===c&&(j+=i($A))):(j=P,_=P,l||(j=P+n)),{displayValue:j,numericalValue:_}}function k(P){let O=!1;return isNaN(P)||(b?O=b(P):f?O=P>0&&P<are:O=P<are),O}},or=(0,dQ.forwardRef)(htn);function be(...t){let e;return!Array.isArray(this)&&this&&typeof this=="object"&&this!==window&&(e=this),t.map(r=>{if(!r||typeof r=="string")return e?(r||"").split(/\s+/g).map(s=>e[s.trim()]||s).join(" "):r;if(Array.isArray(r))return be.call(this,...r);if(typeof r=="object"){let n=[];for(let a of Object.keys(r))r[a]&&n.push(be.call(this,a));return n.filter(a=>a).join(" ")}}).filter(r=>r).join(" ").trim().replace(/\s+/g," ")}var lV=(t,e)=>{let i=/^[\u4E00-\u9FCC\u3400-\u4DB5\uFA0E\uFA0F\uFA11\uFA13\uFA14\uFA1F\uFA21\uFA23\uFA24\uFA27-\uFA29]|[\ud840-\ud868][\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|[\ud86a-\ud86c][\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d]/,o=(t==null?void 0:t.toString())||"",r=(e==null?void 0:e.toString())||"";return(typeof t=="number"||!isNaN(t))&&(typeof e=="number"||!isNaN(e))?+t>+e?1:+t<+e?-1:0:!i.test(o)||!i.test(r)?o.localeCompare(r):o.localeCompare(r,"zh")};var oGt=L(qDo());var l6=L(Se());var iGt=L(eC());var tte=L(Se()),oEo=L(Hr());var tGt=L($Do());var Cg=L(z()),{locals:gtn}=tGt.default,{scroll_wrap:btn,sub_tabbar:ytn,sub_tab:eEo,sub_tabbar_wrap:wtn,range_bar_wrap:Ctn,active_tab:tEo,active_range_number:xtn,icon:iEo,range_bar:Ttn,range_tab:Stn,tabs:Mtn}=gtn,dDe=class extends qe{constructor(){super(...arguments);this.data=null;this.tabId=""}update(i){this.data=i,this.notify()}updateTabSelectedMap(i){this.data&&(this.data.tabSelectedMap=i.tabSelectedMap,this.notify())}},cb={},eGt={fontWeight:"bold"};function Itn(t,e){for(let i of Object.keys(t||{}))if(wr(i)[0].replace(/R\d+/g,"")===e&&t[i].length>0)return!0;return!1}function Ltn(t,e,i,o){var n;let r=i;if(e){let a=i.split("_");for(let s=1;s<a.length-1;s++)o[s-1]!=="-"&&(a[s]=a[s]+"R"+o[s-1]);r=a.join("_")}return((n=t[lo(r)])==null?void 0:n.length)>0}var vtn=t=>{let{sheetUuid:e,iframe:i=he.getTabIframeSync(lo(e))}=t;if(!(cb!=null&&cb[e]))return;let{data:o}=cb[e],r=(0,tte.useRef)(null),n=(0,tte.useRef)(null),[a,s]=(0,tte.useState)(0);Ce(cb[e]),Ce(cb.commonStore),Ae(tGt.default);let l=J();if((0,tte.useEffect)(()=>{var A,D;n!=null&&n.current&&((A=n.current.querySelector("[data-active='true']"))==null||A.scrollIntoView()),r!=null&&r.current&&((D=r.current.querySelector("[data-active='true']"))==null||D.scrollIntoView()),!(n!=null&&n.current)&&i.style.height==="calc(100% - 48px)"?i.style.height="calc(100% - 24px)":n!=null&&n.current&&i.style.height==="calc(100% - 24px)"&&(i.style.height="calc(100% - 48px)")}),(0,tte.useEffect)(()=>{if(he.getModelSheetUuid(gi())!==e)return;let D=n==null?void 0:n.current;return D&&h(D),()=>{s(.1)}},[cb.commonStore.tabId]),!o)return(0,Cg.jsx)(Cg.Fragment,{});let{sheetUuid:c,instances:d,activeSubTabId:u}=o;if(d.length<=0)return(0,Cg.jsx)(Cg.Fragment,{});let p=o.tabSelectedMap||{};function m(A){let{designators:D,activeRangeIndex:E,range:N,hasRepeatSymbol:R}=A,v=D[E].split("/"),k=[];for(let P=0;P<v.length;P++){let O=N[0][P],_=N[N.length-1][P];O!=="-"&&_!=="-"?k.push(v[P]+`(${O},${_})`):k.push(v[P])}return k.join("/")}function h(A,D){let E=A.scrollWidth,N=A.parentElement.getBoundingClientRect();if(E>N.width){let R=A.getBoundingClientRect().width,v=A.querySelectorAll("[data-active]"),k=[],P=D;v.forEach((V,G)=>{let Q=V.getBoundingClientRect().width;k.push(Q),V.getAttribute("data-active")==="true"&&!P&&(P=G)});let O=A.scrollLeft,_=O+R,j=k.reduce((V,G,Q)=>Q<=P?V+G:V),B=k.reduce((V,G,Q)=>Q<P?V+G:V,0);j>_?s(j-R):B<O&&s(B)}}let f=()=>{let A=[{key:c,name:"Template Page",icon:"icon-eda-page icon-color-blue"}],D=d.map(E=>({key:E.instanceTabId,name:m(E),icon:"icon-color-red icon-eda-page icon-color-blue"}));return A.concat(D)},g=()=>{var E;let A=[(0,Cg.jsxs)("div",{onClick:N=>{N.button===TK&&C.messageBus.publish("sch/setSubTabActive",{activeSubTabId:c})},className:be(eEo,u===c?tEo:""),"data-active":u===c,children:[(0,Cg.jsx)("span",{className:be("icon-eda-page icon-color-blue",iEo)}),(0,Cg.jsx)("span",{style:((E=p[lo(c)])==null?void 0:E.length)>0?eGt:{},children:l("Template Page")})]},c)];for(let N=0;N<d.length;N++){let{instanceTabId:R,hasRepeatSymbol:v,activeRangeIndex:k,range:P}=d[N],O=R.split("_"),_=[...O];for(let V=1;V<O.length-1;V++)P[k][V-1]!=="-"&&(_[V]=_[V]+"R"+P[k][V-1]);let j=_.slice(0,O.length-2).join("_")+"_"+O[O.length-2].match(/^\$[0-9a-z]+/)[0],B=O[O.length-2].replace(/^\$[0-9a-z]+\~/,"");A.push((0,Cg.jsxs)("div",{"data-active":u===R,onPointerDown:V=>{if(V.button===TK)C.messageBus.publish("sch/setSubTabActive",{activeSubTabId:R,activeRange:P[k].join("/"),hasRepeatSymbol:v});else if(V.button===SK){let G={menuId:"sub_tab_menu",defaultConfig:[{id:"locating_cbb",title:"Back to the Upper",command:"backToUpper",icon:{iconPath:lt.icon_eda_back_to_upper}}]};setTimeout(()=>{pl.open({menuConfig:G,position:{x:V.pageX-5,y:V.pageY-5}})})}},className:be(eEo,u===R?tEo:""),title:D(d[N]),children:[(0,Cg.jsx)("span",{className:be("icon-eda-page icon-color-red",iEo)}),(0,Cg.jsx)("span",{style:Itn(p,R)?eGt:{},children:m(d[N])})]},R))}return A;function D(N){let{designators:R,ids:v,position:k,activeRangeIndex:P}=N,O=l("Designator")+":"+R[P],_=l("ID")+":"+v[P],j=l("Instance Position")+":"+k[P];return O+`
`+_+`
`+j}},b=A=>{if(A.key===c)C.messageBus.publish("sch/setSubTabActive",{activeSubTabId:c}),s(.01);else{let D;for(let N=0;N<d.length;N+=1)if(d[N].instanceTabId===A.key){let{instanceTabId:R,hasRepeatSymbol:v,activeRangeIndex:k,range:P}=d[N];D=N,C.messageBus.publish("sch/setSubTabActive",{activeSubTabId:R,activeRange:P[k].join("/"),hasRepeatSymbol:v});break}let E=n==null?void 0:n.current;E&&h(E,D+1)}};function y(){let A={};for(let D=0;D<d.length;D++){let{instanceTabId:E}=d[D];E===u&&(A=d[D])}return A.hasRepeatSymbol}let w=()=>{if(u===c)return"";let A={};for(let R=0;R<d.length;R++){let{instanceTabId:v}=d[R];v===u&&(A=d[R])}let{hasRepeatSymbol:D,range:E,activeRangeIndex:N}=A;if(D){let R=[],v=[];for(let k=0;k<E.length;k++){let P=E[k].join("/");v.push(P),R.push((0,Cg.jsx)("div",{onClick:O=>{O.button===TK&&C.messageBus.publish("sch/setSubTabActive",{activeSubTabId:u,activeRange:P,hasRepeatSymbol:D})},className:be(Stn,N===k?xtn:""),"data-active":N===k,style:Ltn(p,D,u,E[k])?eGt:{},children:P},P))}return R}return""},x=()=>{let A={};for(let N=0;N<d.length;N++){let{instanceTabId:R}=d[N];R===u&&(A=d[N])}let{range:D}=A,E=[];for(let N=0;N<D.length;N++){let R=D[N].join("/");E.push({name:R,key:R})}return E},S=A=>{let D={};for(let N=0;N<d.length;N++){let{instanceTabId:R}=d[N];R===u&&(D=d[N])}let{hasRepeatSymbol:E}=D;C.messageBus.publish("sch/setSubTabActive",{activeSubTabId:u,activeRange:A.key,hasRepeatSymbol:E})},T=A=>{let D={};for(let R=0;R<d.length;R++){let{instanceTabId:v}=d[R];v===u&&(D=d[R])}let{activeRangeIndex:E,range:N}=D;si.setMenuSelectId(A+"-tab-menu",N[E].join("/"))},M=A=>{si.setMenuSelectId(A+"-tab-menu",u)},I=A=>{let D={};for(let _=0;_<d.length;_++){let{instanceTabId:j}=d[_];j===u&&(D=d[_])}let{activeRangeIndex:E}=D,N=A,R=N.getBoundingClientRect().height,k=x().length,P=k*28,O=R/28;if(R<P&&E+1>O){let _=O/2;k-(E+1)<_?N.scrollTop=N.scrollTop+(k-O)*28:N.scrollTop=N.scrollTop+_*28+(k-(E+1))*28}};return(0,Cg.jsxs)("div",{className:be(wtn),children:[y()?(0,Cg.jsxs)("div",{className:be(btn),children:[(0,Cg.jsx)("div",{className:be(Ctn),ref:r,onWheel:A=>{r.current.scrollLeft+=A.deltaY},children:(0,Cg.jsx)("div",{className:be(Ttn),style:{width:"fit-content"},children:w()})}),(0,Cg.jsx)(Koe,{type:"CbbBatchReuseTab",targetRef:r,styles:{top:"3px"},menuData:x(),menuCallBack:S,moveDistance:80,expandCallBack:T,menuOpenCallBack:I})]}):"",(0,Cg.jsxs)("div",{className:ytn,children:[(0,Cg.jsx)("div",{ref:n,className:be(Mtn,"sub_tabs"),style:{width:"fit-content"},onWheel:A=>{n.current.scrollLeft+=A.deltaY},children:g()}),(0,Cg.jsx)(Koe,{type:"CbbTab",styles:{top:"1px"},scrollLeft:a,menuData:f(),menuCallBack:b,expandCallBack:M,targetRef:n,initCallBack:h})]})]})};function Dtn(t,e,i){let o=document.createElement("div");t.appendChild(o),o.setAttribute("data-test","sub_tabbar"),o.setAttribute("id","sub_tabbar"),o.style.setProperty("transform","translateY(24px)");let r=oEo.default.createRoot(o);cb[e]=new dDe,r.render((0,Cg.jsx)(vtn,{sheetUuid:e,iframe:i},e))}function Sst(t,e){let i=Vr("frame_"+lo(t));if(i&&(Dtn(i.parentElement,t,i),e.length>0)){i.style.height="calc(100% - 48px)";let o=i.parentElement.querySelector('div[data-test="canvas-info"]');o.style.position="absolute",o.style.left="0",o.style.bottom="0",o.style.width="100%"}}document.addEventListener("DOMContentLoaded",()=>{C.messageBus.subscribe("editorCreated",async t=>{let{tabId:e,docType:i,uuid:o}=t;if(i===se.SCH){let r=(await C.messageBus.rpcCall("subTabbarInit",{tabId:e})).message;Sst(o,r)}})});var bF=L(z()),s6=be.bind(oGt.default.locals),Mst=null,Ist={};var Etn=[{key:"close_tab",name:"Close Tab"},{key:"close_other_tabs",name:"Close Other Tabs"},{key:"close_all_tabs",name:"Close All Tabs"},null],Zo=class Zo{static render(e){Zo.setActiveOrder(e.id,e.activeTabId),Zo.reactRoots[e.id].render((0,bF.jsx)(l6.default.StrictMode,{children:(0,bF.jsx)(Ntn,{...e})}))}static addTabBar(e,i){let o=Zo,{id:r,dom:n,isObserver:a,windowName:s,tabs:l=[],tabDock:c="top",tabAlign:d="head",styleType:u="page",tabSize:p=30}=e,{isPadding:m,borderSize:h,isBodyDrop:f}=e,g=s?ko().open("",s)||ko():ko(),b=g.document.getElementById(n);if(!b)return;if(b.style.position="relative",m)switch(c){case"top":b.style.paddingTop=`${p}px`;break;case"bottom":b.style.paddingBottom=`${p}px`;break;case"left":b.style.paddingLeft=`${p}px`;break;case"right":b.style.paddingRight=`${p}px`;break}let y=g.document.createElement("div");if(y.id=`tab-container-${r}`,y.classList.add(s6("tab-container")),y.classList.add(s6(c)),y.classList.add(s6(d)),y.classList.add(s6(u)),b.prepend(y),a){i=i||g.ResizeObserver;let x=new i(S=>{let T=Zo.containerInfo[r];if(!T)return;let M=S[0].target.getBoundingClientRect();T.domRect=Zo.handleDomRect(M,T.tabDock,T.tabSize,T.borderSize);let I={containerId:r,domRect:T.domRect};C.messageBus.publish("/pro-ui/container/resize",I)});x.observe(b,{flush:"async"}),Zo.resizeObserves[r]=x}let w=rEo.default.createRoot(y);if(e.tabDock=c,e.tabAlign=d,e.tabs=l,e.domRect=Zo.handleDomRect(b.getBoundingClientRect(),c,p,h),f){let x=g.document.createElement("div");x.style.position="fixed",x.style.display="none",x.style.left=e.domRect.left+"px",x.style.top=e.domRect.top+"px",x.style.width=e.domRect.width+"px",x.style.height=e.domRect.height+"px",x.addEventListener("drop",S=>{!bl.containerId||!bl.tabId||(S.stopPropagation(),!(!bl.containerId||!bl.tabId||bl.containerId===r)&&(Zo.handleDrop({containerId:bl.containerId,tabId:bl.tabId},{containerId:r,tabId:""},"back"),bl.containerId="",bl.tabId=""))}),b.prepend(x),Zo.coverEls[r]=x}o.containerFatherEls[r]=b,o.containerEls[r]=y,o.containerInfo[r]=e,o.reactRoots[r]=w,o.render(o.containerInfo[r])}static addTab(e){let i=Zo,o=i.containerInfo[e.container];if(!o)return;let{targetTabId:r,insertPosition:n="back"}=e,a;(r?o.tabs.find((l,c)=>l.tabId===r?(a=c,!0):!1):null)?a!==o.tabs.length-1?Array.isArray(e.tab)?(o.tabs.splice(n==="back"?a+1:a,0,...e.tab),e.tab.forEach(l=>{Zo.setActiveOrder(o.id,l.tabId)})):(o.tabs.splice(n==="back"?a+1:a,0,e.tab),Zo.setActiveOrder(o.id,e.tab.tabId)):Array.isArray(e.tab)?(n==="back"?o.tabs.push(...e.tab):o.tabs.splice(a,0,...e.tab),e.tab.forEach(l=>{Zo.setActiveOrder(o.id,l.tabId)})):(n==="back"?o.tabs.push(e.tab):o.tabs.splice(a,0,e.tab),Zo.setActiveOrder(o.id,e.tab.tabId)):Array.isArray(e.tab)?(o.tabs=n==="back"?[...o.tabs,...e.tab]:[...e.tab,...o.tabs],e.tab.forEach(l=>{Zo.setActiveOrder(o.id,l.tabId)})):(n==="back"?o.tabs.push(e.tab):o.tabs.unshift(e.tab),Zo.setActiveOrder(o.id,e.tab.tabId)),i.render(o)}static deleteTab(e){let{containerId:i,tabId:o}=e,r=Zo,n=r.containerInfo[i];if(!n)return;let a=Zo.getActiveOrder(i),s={tabId:"",containerId:i},l;if(n.findAnotherActive){let c=n.findAnotherActive(i,o,"delete");s.tabId=c.tabId||s.tabId,s.containerId=c.containerId||s.containerId,l=c.callback}else s.tabId=a[a.length-2<0?0:a.length-2]||"";if(n.tabs=n.tabs.filter(c=>c.tabId!==o),r.render(n),l&&l(),n.activeTabId===o&&s.tabId){let c={containerId:s.containerId,tabId:s.tabId,domRect:Zo.containerInfo[s.containerId].domRect};C.messageBus.publish("/pro-ui/container/tab/onClick",c)}}static judgeHasMode(e,i){let o=!1;return Array.isArray(i)?o=i.includes(e):o=e===i,o}static handleDomRect(e,i,o=30,r=0){let n={bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width,x:e.x,y:e.y,toJSON:e.toJSON};switch(i){case"top":n.bottom=e.bottom-r,n.height=e.height-o-r*2,n.left=e.left+r,n.right=e.right-r,n.top=e.top+o+r,n.width=e.width-r*2,n.x=e.x+r,n.y=e.y+o+r;break;case"bottom":n.height=e.height-o-r*2,n.bottom=e.bottom-o-r,n.left=e.left+r,n.right=e.right-r,n.top=e.top+r,n.width=e.width-r*2,n.x=e.x+r,n.y=e.y+r;break;case"left":n.height=e.height-r*2,n.bottom=e.bottom-r,n.top=e.top+r,n.width=e.width-o-r*2,n.left=e.top+o+r,n.right=e.right-r,n.x=e.x+o+r,n.y=e.y+r;break;case"right":n.width=e.width-o-r*2,n.right=e.right-o-r,n.height=e.height-r*2,n.bottom=e.bottom-r,n.left=e.left+r,n.top=e.top+r,n.x=e.x+r,n.y=e.y+r;break}return n}static setActiveTab(e){let{containerId:i,tabId:o}=e,r=Zo,n=r.containerInfo[i];if(n)if(cb.commonStore||(cb.commonStore=new dDe),cb.commonStore.tabId=o,cb.commonStore.notify(),n.activeTabId!==o)n.activeTabId=o,Ist[n.id+o]=e,r.render(n);else{let a=Zo.getTabData({containerId:i,tabId:o}),s={containerId:i,tabId:o,group:a==null?void 0:a.group,belong:n.belong};C.messageBus.publish("/pro-ui/container/tab/onActive",Object.assign(e,s))}}static updateTab(e){let{targetTab:i,updateData:o}=e,r=Zo,n=r.containerInfo[i.containerId];n&&(n.activeTabId===i.tabId&&o.tabId&&o.tabId!==i.tabId&&(n.activeTabId=o.tabId),n.tabs=n.tabs.map(a=>a.tabId===i.tabId?Object.assign(a,o):a),r.render(n))}static updateTabBar(e){let{containerId:i,updateData:o}=e,r=Zo,n=r.containerInfo[i];if(!n)return;let a=n.id;r.containerInfo[i]=Object.assign(n,o);let s=r.containerInfo[i].id;a!==s&&(r.containerInfo[s]=r.containerInfo[a],delete r.containerInfo[a],r.containerFatherEls[s]=r.containerFatherEls[a],delete r.containerFatherEls[a],r.coverEls[s]=r.coverEls[a],delete r.coverEls[a],r.containerEls[s]=r.containerEls[a],delete r.containerEls[a],r.reactRoots[s]=r.reactRoots[a],delete r.reactRoots[a],r.activeOrder[s]=r.activeOrder[a],delete r.activeOrder[a],r.resizeObserves[s]=r.resizeObserves[a],delete r.resizeObserves[a]),r.render(r.containerInfo[s])}static deleteTabBar(e){var i,o,r,n;(i=Zo.resizeObserves[e])==null||i.disconnect(),delete Zo.resizeObserves[e],(o=Zo.coverEls[e])==null||o.remove(),delete Zo.coverEls[e],(r=Zo.reactRoots[e])==null||r.unmount(),delete Zo.reactRoots[e],(n=Zo.containerEls[e])==null||n.remove(),delete Zo.containerEls[e],Zo.containerFatherEls[e].style.padding="unset",delete Zo.containerFatherEls[e],delete Zo.activeOrder[e],delete Zo.containerInfo[e]}static setContainerSelect(e,i){Zo.updateTabBar({containerId:e,updateData:{isSelect:i}})}static setContainerSelectStyle(e,i){Zo.updateTabBar({containerId:e,updateData:{activeTabStyle:i}})}static setTabUnSaved(e,i,o){if(C.isHistoryMode)return;let r=Zo,n=r.containerInfo[e];n&&(n.tabs.some(a=>a.tabId===i?(a.isUnSaved=o,!0):!1),r.render(n))}static setTabHighLight(e,i,o){let r=Zo,n=r.containerInfo[e];n&&(n.tabs.some(a=>a.tabId===i?(a.isHighLight=o,!0):!1),r.render(n))}static changePosition(e,i){let o=Zo,r=o.containerInfo[e];if(!r)return;let{tabDock:n,tabAlign:a}=i,l=(r.windowName?ko().open("",r.windowName)||ko():ko()).document.getElementById(`tab-container-${r.id}`);n&&(r.tabDock&&l.classList.remove(s6(r.tabDock)),l.classList.add(s6(n)),r.tabDock=n),a&&(r.tabAlign&&l.classList.remove(s6(r.tabAlign)),l.classList.add(s6(a)),r.tabAlign=a),(n||a)&&o.render(r)}static isActive(e){let{containerId:i,tabId:o}=e;return Zo.containerInfo[i].activeTabId===o}static tabMovePosition(e){var f;let{controlTab:i,targetTab:o,insertPosition:r="back"}=e,n=Zo,a=n.containerInfo[i.containerId],s=n.containerInfo[o.containerId];if(!a||!s)return;let l=a.tabs.find(g=>g.tabId===i.tabId);if(!l)return;let c=[l],d=n.isActive({containerId:i.containerId,tabId:i.tabId}),u=!((f=s.tabs)!=null&&f.length),p=Zo.getActiveOrder(i.containerId),m="",h;if(a.findAnotherActive){let g=a.findAnotherActive(i.containerId,i.tabId,"transfer");m=g.tabId,h=g.callback}else m=p[p.length-2<0?0:p.length-2]||"";l.group?(c=a.tabs.filter(g=>g.group===l.group),a.tabs=a.tabs.filter(g=>g.group!==l.group)):a.tabs=a.tabs.filter(g=>g.tabId!==l.tabId),n.render(a),n.addTab({container:s.id,tab:c,targetTabId:o.tabId,insertPosition:r}),h&&h(),(d||u)&&setTimeout(()=>{if(d&&m){let y={containerId:i.containerId,tabId:m,domRect:a.domRect};C.messageBus.publish("/pro-ui/container/tab/onClick",y)}let g=n.containerInfo[o.containerId]?o.containerId:Object.keys(n.containerInfo).find(y=>{var w;return(w=n.containerInfo[y])==null?void 0:w.tabs.find(x=>x.tabId===i.tabId)}),b={containerId:g,tabId:i.tabId,domRect:n.containerInfo[g].domRect};C.messageBus.publish("/pro-ui/container/tab/onClick",b)},20)}static changeContainerMode(e){let{containerId:i,mode:o,data:r}=e,n=Zo,a=n.containerInfo[i];if(a&&(a.currentMode=o,!(C.isHistoryMode&&a.activeTabId=="historical-records"))){if(a.getActiveByMode){let s=a.getActiveByMode(o,r),l=Zo.getTabData({containerId:i,tabId:s});if(s&&l){let c={containerId:i,tabId:s,group:l.group,domRect:n.containerInfo[i].domRect};C.messageBus.publish("/pro-ui/container/tab/onClick",c)}}n.render(a)}}static setActiveOrder(e,i){let o=Zo,r=o.containerInfo[e],n=o.activeOrder[e]||[];if(!r.notRecord&&i&&i!==n[n.length-1]){let a=n.filter(s=>s!==i);a.push(i),o.activeOrder[e]=a,o.setBelongActiveOrder(r.belong,i)}}static getActiveOrder(e){return Zo.activeOrder[e]=(Zo.activeOrder[e]||[]).filter(i=>{var o,r;return(r=(o=Zo.containerInfo[e])==null?void 0:o.tabs)==null?void 0:r.some(n=>n.tabId===i)}),Zo.activeOrder[e]||[]}static setBelongActiveOrder(e,i){let o=Zo.belongActiveOrder[e]||[];if(!Object.keys(Zo.containerInfo).some(n=>Zo.containerInfo[n].notRecord)&&i&&i!==o[o.length-1]){let n=o.filter(a=>a!==i);n.push(i),Zo.belongActiveOrder[e]=n}}static getBelongActiveOrder(e){let i=[];return Object.keys(Zo.containerInfo).forEach(o=>{Zo.containerInfo[o].belong===e&&i.push(o)}),Zo.belongActiveOrder[e]=(Zo.belongActiveOrder[e]||[]).filter(o=>i.some(r=>{var n,a;return(a=(n=Zo.containerInfo[r])==null?void 0:n.tabs)==null?void 0:a.some(s=>s.tabId===o)})),Zo.belongActiveOrder[e]||[]}static getActiveTab(e){let o=Zo.containerInfo[e];if(o)return o.tabs.find(r=>(r==null?void 0:r.tabId)===o.activeTabId)}static getTabData(e){let{containerId:i,tabId:o}=e,n=Zo.containerInfo[i];if(n)return n.tabs.find(a=>(a==null?void 0:a.tabId)===o)}static setTabExtraData(e,i,o){let r=Zo.containerInfo[e];r&&r.tabs.some(n=>n.tabId===i?(n.data={...(n==null?void 0:n.data)||{},...o},!0):!1)}static setTabHasMsg(e,i,o){Zo.containerInfo[e]&&(Zo.updateTab({targetTab:{containerId:e,tabId:i},updateData:{isHasMsg:o,icon:o?{iconClassName:s6("animateIcon")}:void 0}}),o&&(Mst&&clearTimeout(Mst),Mst=setTimeout(()=>{Zo.updateTab({targetTab:{containerId:e,tabId:i},updateData:{icon:void 0}}),Mst=null},3e3)))}static setPinStatus(e,i){let o=Zo,r=o.containerInfo[e];r&&r.pushpin&&(r.pushpin.isFixed=i,o.render(r))}static setTabDisplayNone(e,i,o){if(!C.isHistoryMode&&i=="historical-records"&&!o)return;let r=Zo;r.containerInfo[e]&&r.updateTab({targetTab:{containerId:e,tabId:i},updateData:{isDisplayNone:o}})}static setTabDisabled(e,i,o){let r=Zo;r.containerInfo[e]&&r.updateTab({targetTab:{containerId:e,tabId:i},updateData:{disabled:o}})}static judgeTabIsShow(e,i){let r=Zo.containerInfo[e];if(!r)return!1;let n=r.tabs.find(s=>(s==null?void 0:s.tabId)===i);if(!n)return!1;let a=!n.mode||Zo.judgeHasMode(r.currentMode,n.mode);return!n.isDisplayNone&&a}};Zo.containerInfo={},Zo.coverEls={},Zo.containerFatherEls={},Zo.containerEls={},Zo.activeOrder={},Zo.reactRoots={},Zo.belongActiveOrder={},Zo.resizeObserves={},Zo.handleDragStart=()=>{Object.keys(Zo.coverEls).forEach(e=>{let i=Zo.containerInfo[e],o=Zo.handleDomRect(Zo.containerFatherEls[e].getBoundingClientRect(),i.tabDock,i.tabSize,i.borderSize),r=Zo.coverEls[e];r.style.position="fixed",r.style.display="block",r.style.left=o.left+"px",r.style.top=o.top+"px",r.style.width=o.width+"px",r.style.height=o.height+"px",r.style.zIndex="10000"})},Zo.handleDragEnd=()=>{Object.keys(Zo.coverEls).forEach(e=>{let i=Zo.coverEls[e];i.style.display="none"})},Zo.isCanDrop=(e,i)=>{var n,a,s,l;let o=(a=(n=Zo.containerInfo)==null?void 0:n[e.containerId])==null?void 0:a.isDrop,r=(l=(s=Zo.containerInfo)==null?void 0:s[i.containerId])==null?void 0:l.isDrop;return!(o&&!o(i,e)||r&&!r(e,i))},Zo.handleDrop=(e,i,o)=>{if(Zo.handleDragEnd(),!!Zo.isCanDrop(e,i)){if(o=o||"back",e.containerId===i.containerId){let r=Zo.containerInfo[e.containerId];if(!r)return;let n=r.tabs.find(l=>l.tabId===e.tabId),a=[],s=i.tabId||r.tabs[r.tabs.length-1].tabId;if(s===e.tabId)return;o==="back"||!i.tabId?r.tabs.forEach(l=>{l.tabId!==e.tabId&&(l.tabId===s?(a.push(l),a.push(n)):a.push(l))}):r.tabs.forEach(l=>{l.tabId!==e.tabId&&(l.tabId===s&&a.push(n),a.push(l))}),Zo.updateTabBar({containerId:e.containerId,updateData:{tabs:a}});return}Zo.tabMovePosition({controlTab:e,targetTab:i,insertPosition:o})}};var It=Zo,Atn=(t,e)=>{if(e===co.id){let i=t.findIndex(s=>s.tabId==="schDrcImport"),o=gi(),r=oX.has(o);i>=0&&!r&&t.splice(i,1);let n=It.getActiveTab(co.id),a=dt();n.tabId==="schDrcImport"&&(a!==ve.PCB||t.findIndex(s=>s.tabId==="schDrcImport")<0)&&co.handleClick("lib")}},Ntn=t=>{Ae(oGt.default),Ae(iGt.default);let e=J(),i=be.bind(iGt.default.locals),{id:o,tabsStyle:r,tabDock:n,tabSize:a=30,isPadding:s,pushpin:l,tabs:c,currentMode:d,activeTabId:u,isShowMarkLine:p=!0,tabBoxStyle:m,activeTabStyle:h={}}=t,{dataSensors:f,isSelect:g,belong:b,styleType:y="page",tabContextMenu:w,blankContextMenu:x,callbackOnBlank:S,blankClick:T}=t,M=(0,l6.useRef)(u),I=d!==void 0?c.filter(j=>j.mode===void 0||It.judgeHasMode(d,j.mode)):c,A=(0,l6.useRef)(null);Atn(I,o);let[D,E]=(0,l6.useState)(0);(0,l6.useEffect)(()=>{if(M.current!==u){M.current=u;let j=It.getTabData({containerId:o,tabId:u}),B={containerId:o,tabId:u,group:j==null?void 0:j.group,belong:b},V=o+u;if(C.messageBus.publish("/pro-ui/container/tab/onActive",Object.assign(Ist[V]||{},B)),Ist[V]&&delete Ist[V],y==="page"){let G=A.current,Q=G.scrollWidth,H=G.parentElement.getBoundingClientRect();if(Q>H.width){let q=G.getBoundingClientRect().width,U=I.findIndex(Z=>Z.tabId===u),F=80,K=76,te=G.scrollLeft,ae=te+q,pe=U*F;if(pe>ae)E((U-1)*F+K-q);else if(te>(U-2)*F+K){let Z=te-((U-2)*F+K);E(te-Z)}else if(pe<ae&&te<(U-2)*F+K)return}}}},[u]),(0,l6.useEffect)(()=>{if(!s)return;let j=It.containerFatherEls[o];switch(n){case"top":j.style.padding=`${a}px 0 0 0`;break;case"bottom":j.style.padding=` 0 0 ${a}px 0`;break;case"left":j.style.padding=`0 0 0 ${a}px`;break;case"right":j.style.padding=`0 ${a}px 0 0`;break}},[n,a,o,s]),(0,l6.useEffect)(()=>{!I.length&&S&&setTimeout(()=>{S(o)})},[I,S,o]);let N=(0,l6.useCallback)(j=>{let B=It.getTabData({containerId:o,tabId:j}),V={containerId:o,tabId:j,group:B.group,isTrueClick:!0,domRect:It.containerInfo[o].domRect};C.messageBus.publish("/pro-ui/container/tab/onClick",V)},[o,b,g]),R=(0,l6.useCallback)(j=>{j!=="tab_page1"&&v(j)},[o,b,g]),v=(0,l6.useCallback)(j=>{let B=It.getTabData({containerId:o,tabId:j}),V={containerId:o,tabId:j,group:B.group};if(C.isHistoryMode){let G=RE.getStore().rightTabId;G&&G.startsWith(j)&&(V.tabId=G)}C.messageBus.publish("/pro-ui/container/tab/onDelete",V)},[o]),k=j=>{switch(j.key){case"close_tab":case"close_all_tabs":case"close_other_tabs":{et(j.key,{tabid:u});break}default:{N(j.key);break}}},P=()=>{let j=[];return I.forEach(B=>{let{title:V,tabId:G,icon:Q}=B;G!=="0"&&j.push({key:G,name:V,icon:Q.iconClassName})}),j.unshift(...Etn),j},O=j=>{y==="page"&&si.setMenuSelectId(j+"-tab-menu",gi())},_=j=>{if(y==="page"){let B=P(),V=j,G=V.getBoundingClientRect().height,Q=B.length,H=B.findIndex(F=>(F==null?void 0:F.key)===gi()),q=Q*28,U=G/28;if(G<q&&H+1>U){let F=U/2;Q-(H+1)<F?V.scrollTop=V.scrollTop+(Q-U)*28:V.scrollTop=V.scrollTop+F*28+(Q-(H+1))*28}}};return(0,bF.jsxs)("div",{className:s6("tab-container-body",{"has-tab-pin":!!l}),style:["top","bottom"].includes(n)?{height:a}:{width:a},children:[l&&(0,bF.jsx)("div",{className:s6("tab-pin"),style:{width:a,height:a},onClick:()=>l.onClick&&l.onClick(l.isFixed),title:l.isFixed?e("Auto Hide : Close"):e("Auto Hide : Open"),children:(0,bF.jsx)("i",{className:l.isFixed?s6("icon-eda-fixed"):s6("icon-eda-no-fixed")})}),(0,bF.jsx)("div",{className:s6("tabs-body",{"scroll-tabs-wrap":y==="page"}),ref:A,onWheel:j=>{y==="page"&&(A.current.scrollLeft+=j.deltaY)},children:(0,bF.jsx)(yl,{lists:I.map(j=>{let{title:B,notUseI18n:V,tabId:G,icon:Q,tabStyle:H={},titleStyle:q={},isUnSaved:U,isAbleDelete:F,draggable:K,isHighLight:te,isHasMsg:ae}=j,{isDisplayNone:pe,disabled:Z}=j,ee=Q!=null&&Q.iconClassName?i(Q==null?void 0:Q.iconClassName):Q==null?void 0:Q.iconClassName,ce=ae?be(s6("tab-msgs"),ee||""):ee;return{title:B,notUseI18n:V,dataTest:typeof B=="string"?B:(B==null?void 0:B.value)||"",key:G,icon:Q||ce||ae?{...Q||{},iconClassName:ce}:Q,tabStyle:{...H,...pe?{display:"none"}:{}},titleStyle:q,isUnSaved:U,isAbleDelete:F,draggable:K,disabled:Z,isHighLight:te}}),tabBoxStyle:m,dataSensors:f,tabsStyle:r,containerId:o,activeTabStyle:g?{background:"var(--bg-color-selected-tab)",...h}:h,isShowMarkLine:p,direction:t.tabDock,align:t.tabAlign,type:y,onClick:N,activeKey:t.activeTabId,dragEnd:It.handleDragEnd,dragStart:It.handleDragStart,onDrop:It.handleDrop,onDeleted:v,canDrop:It.isCanDrop,tabContextMenu:w?(j,B)=>w({containerId:o,tabId:B},j):void 0,blankContextMenu:x?j=>x(o,j):void 0,tabDoubleClick:R,blankClick:T?j=>T(j):void 0})}),y==="page"&&(0,bF.jsx)(Koe,{type:"TabPage",targetRef:A,containerId:o,menuData:P(),menuCallBack:k,styles:{top:"1px",zIndex:"9"},moveDistance:80,scrollLeft:D,expandCallBack:O,menuOpenCallBack:_})]})};var{locals:rGt}=lEo.default,nEo=null;async function O4(t={}){var _,j,B,V,G;let{layout:e=uO(),record:i=!1,isResize:o=!1,globalLayout:r,isHome:n=k2()===Ee.HOME,needSelect:a=!1}=t,s=ue.deepClone(e),l=5,c=he.getActiveTab()=="0",d=a||(await C.messageBus.rpcCall("leftTreeSelectedNodeBelongDOCTYPE")).message,u=0,p=24,m=24,h=ln.isViewerMode?0:24,f=(0,en.default)("#layout_toggler_left"),g=(0,en.default)("#layout_toggler_right"),b=(0,en.default)("#layout_toggler_bottom"),y=(0,en.default)("#layoutLeft"),w=(0,en.default)("#layoutRight"),x=(0,en.default)("#layoutBottom"),S=(0,en.default)("#editorTabbar"),T=(0,en.default)(".bottomBar-left"),M=(0,en.default)(".bottomBar-preview"),I=(0,en.default)("#top-wrap"),A=24,D=f.data("allow-close"),E=b.data("allow-open");if(ln.isViewerMode&&(b.css("display","none"),x.css("display","none"),I.css("display","none")),o){let Q=(0,en.default)("#layoutLeft").width(),H=(0,en.default)("#layoutRight").width(),q=(0,en.default)("#layoutBottom").height(),U=document.body.clientWidth,F=IY("bottom"),K=32;if(Q+H>U-K||(e.left.open?e.left.left:0)+(e.right.open?e.right.right:24)>U-K){let te=function(ae,pe,Z,ee,ce){let ne=1;return ae&&(pe=ee/(Q+H)*(U-K),ne=l5/pe,pe=Math.max(pe,l5)),Z=ne>1?U-K-pe:ce/(Q+H)*(U-K),[pe,Z]};Q-H>0?[e.right.right,e.left.left]=te(e.right.open,e.right.right,e.left.left,H,Q):[e.left.left,e.right.right]=te(e.left.open,e.left.left,e.right.right,Q,H)}q-F>0&&(e.bottom.bottom=F)}if(e&&Object.hasOwnProperty.call(e,"left")){if(e.left.left<jI&&(e.left.left=jI),f.css("left",e.left.left),f.removeClass("close"),!e.left.open&&!D&&!E&&e.left.left<=0&&((0,en.default)("#layoutLeft > div:last").toggle(!0),e.left.left=jI,f.css("left",e.left.left)),D&&f.data("allow-close",!1),e.left.open?Ho.setShowAction(!0,"leftbar"):(e.left.left=0,delete s.left,f.addClass("close"),Ho.setShowAction(!1,"leftbar")),e.left.left=e.left.left-u<=p?p:e.left.left-u,r){let Q=document.documentElement.clientWidth-(r.right.right+100);e.left.left>=Q&&(e.left.left=Q)}e.left.open&&e.left.left<jI&&(e.left.left=jI),f.css("left",e.left.left),y.width(e.left.left),hc.renderImageSize(),e.left.open&&setTimeout(sEo,100),It.setContainerSelectStyle($a.leftPanelTabBarId,{width:e.left.open?"calc(100% + 1px)":"100%"})}if(e&&Object.hasOwnProperty.call(e,"right")){e.right.right<l5&&(e.right.right=l5),g.css("right",e.right.right),g.removeClass("close");let Q=c&&!d||!e.right.open;if(Q){e.right.right=0,delete s.right,g.addClass("close"),Ho.setShowAction(!1,"rightbar");let H=parseFloat((_=window==null?void 0:window.getComputedStyle(w==null?void 0:w.get(0)))==null?void 0:_.borderLeftWidth);w.css({paddingRight:`${m-(H||1)}px`})}else Ho.setShowAction(!0,"rightbar"),w.css({paddingRight:"24px"});Q?w.addClass("right-panel-hide"):w.removeClass("right-panel-hide"),((j=e==null?void 0:e.left)==null?void 0:j.left)===jI&&((B=e==null?void 0:e.left)!=null&&B.open)&&e.right.open&&e.right.right===l5&&e.left.left+e.right.right>document.body.clientWidth?e.right.right=l5-11-(l5+jI-document.body.clientWidth):e.right.right=e.right.right-u-1<=m?m:e.right.right-u-1,(V=e==null?void 0:e.left)!=null&&V.open&&((G=e==null?void 0:e.right)!=null&&G.open)&&e.left.left+e.right.right+Ax>Gw.winWidth&&(e.left.left=IY("left",l5),y.css({width:e.left.left}),f.css("left",e.left.left),e.right.right=l5),w.css({width:e.right.right-1}),g.css("right",e.right.right),It.setContainerSelectStyle(Br.id,{width:e.right.open?"calc(100% + 1px)":"100%",marginLeft:e.right.open?"-1px":"0"})}if(e&&Object.hasOwnProperty.call(e,"bottom")){e.bottom.bottom<Vfe&&(e.bottom.bottom=Vfe),b.css("bottom",e.bottom.bottom-1),b.removeClass("close"),e.bottom.open?(Ho.setShowAction(!0,"bottombar"),x.css("border-top","1px solid var(--common-border-color)")):(e.bottom.open=0,e.bottom.bottom=A,b.addClass("close"),Ho.setShowAction(!1,"bottombar"),x.css("border-top","none")),n||f.hasClass("close")||setTimeout(sEo,100),E&&b.data("allow-open",!1),y.css({height:`calc(100% - ${ln.isViewerMode?0:e.bottom.bottom}px)`}),w.css({height:`calc(100% - ${ln.isViewerMode?0:e.bottom.bottom}px)`});let Q=e.bottom.bottom-1<=h&&!n?h:e.bottom.bottom-1,H=document.getElementById("bottomBarBox");if(e.bottom.open?(H.firstElementChild.style.visibility="visible",H.style.backgroundColor="transparent"):(H.firstElementChild.style.visibility="hidden",H.style.backgroundColor="#f0f0f0"),Q=!e.bottom.open&&n?1:Q,!e.bottom.open)b.css("bottom",`${h}px`),x.css("margin-top","0");else{let U=(0,en.default)("#bottomBar .footprintPreviewBox iframe"),F=U[0];if(F&&U.is(":visible")){let K=(0,en.default)("#canvas",F.contentDocument)[0];K!=null&&K.width==1&&K.height==1&&C.windowBridge.publish("adaptAll","",F.contentWindow),F.contentWindow.dispatchEvent(new Event("beforeResize"))}}let q=(0,en.default)("#top_tab_tips_histRecords")&&(0,en.default)("#top_tab_tips_histRecords").height()||0;S.height(`calc(100% - ${ln.isViewerMode?0:e.bottom.bottom+q}px)`),x.css("height",`${Q}px`),f.css("height",`calc(100% - ${e.bottom.bottom}px)`),g.css("height",`calc(100% - ${e.bottom.bottom}px)`),It.setContainerSelectStyle(co.id,{height:e.bottom.open?"calc(100% + 1px)":"100%",marginTop:e.bottom.open?"-1px":"0"})}if(e&&Object.hasOwnProperty.call(e,"bottomRight")){let Q=M.width(),H=mt.getCacheObj("version");(!H||au.compareVersion("1.9",H)>0)&&(e.bottomRight.right=e.bottomRight.right>=460?460:e.bottomRight.right);let q=(0,en.default)("#dlgbtmbarClassificationWrap").width()+(0,en.default)("#dlgbtmbarCategoryWrap").width()+9;q+Q>Gw.winWidth-Gfe-l||e.bottomRight.right+q>Gw.winWidth-Gfe-l?(M.width(Gw.winWidth-Gfe-q-l),T.css("width",`calc(100% - ${M.width()+l}px`),e.bottomRight.right=Gw.winWidth-Gfe-q-l):(M.css("width",e.bottomRight.right-l+"px"),T.css("width",`calc(100% - ${e.bottomRight.right}px`))}e&&Object.hasOwnProperty.call(e,"top")&&e.top.open&&(v1("toolbar_toggle(topbar)",!0),(0,en.default)("#toolbar-bottom").show());let N=Number(f.css("left").replace("px","")),R=n?0:Number(g.css("right").replace("px",""));var v=document.documentElement.getBoundingClientRect().width-N-R-2*u-1;let k=2*u,P=2*u+1,O=0;return S.css({width:v-O+"px","margin-left":k+"px","margin-right":P+"px"}),c?g.hasClass("close")&&g.css("right",`${O}px`):g.hasClass("close")&&g.css("right","24px"),lue(),window.clearTimeout(nEo),nEo=window.setTimeout(()=>{C.messageBus.publish("layoutRightAttributesModify")},1/60),s}function uO(){let t=sessionStorage.getItem("layout"),e=mt.getCacheObj("layout"),i=t&&JSON.parse(sessionStorage.getItem("layout"))||e&&JSON.parse(e);var o=(0,en.default)("#layout_toggler_left"),r=(0,en.default)("#layout_toggler_right"),n=r.width(),a=(0,en.default)("#layout_toggler_bottom"),s=(0,en.default)("#layout_toggler_part_symbol");if((!i||!Object.hasOwnProperty.call(i,"left")||!Object.hasOwnProperty.call(i,"right")||!Object.hasOwnProperty.call(i,"bottom")||!Object.hasOwnProperty.call(i,"partSymbol")||!Object.hasOwnProperty.call(i,"bottomRight"))&&(i={top:{open:1},left:{left:o.offset().left||220,open:1},right:{right:288,open:1},bottom:{bottom:window.innerHeight-(a.offset().top+a.height())||250,open:0},partSymbol:{top:s.offset().top/(0,en.default)("#editorTabbar").height()||.5,open:1},bottomRight:{right:250,open:1}},Sae(i)),i.left.open&&!i.left.left&&o.length&&(i.left.left=l(o.offset().left,200)),i.right.open&&!i.right.right&&r.length){let c=r.offset().left;i.right.right=l(c?Gw.winWidth-r.offset().left-n:0,270)}return ln.isViewerMode&&(i.bottom.open=0,i.bottom.bottom=0),i.bottom.open&&!i.bottom.bottom&&a.length&&(i.bottom.bottom=l(window.innerHeight-(a.offset().top+a.height()),250)),C.layoutCache||(C.layoutCache=i,C.messageBus.publish("setSchLayoutCache",i)),i;function l(c,d){return(!c||c<=0)&&(c=d),c}}function Sae(t,e=!1){C.layoutCache=t,C.messageBus.publish("setSchLayoutCache",t),t&&(sessionStorage.setItem("layout",JSON.stringify(t)),e&&mt.setCacheObj("layout",JSON.stringify(t))),C.messageBus.publish("syncGlobalData",{layoutCache:C.layoutCache})}async function Pn(t,e,i=!1,o){if(e&&(0,en.default)(`#${t}`).hasClass("close"))return;let r=dt(),n=await(async()=>o||(r||(r=(await C.messageBus.rpcCall("leftTreeSelectedNodeBelongDOCTYPE")).message),L9(r)))();n?n.match(/^sch/)?n="sch":n.match(/^pcb/)?n="pcb":n==="panel"?n="panel":n==="simulation"&&(n="simulation"):n="blank";let a=he.getAllTabId();var s=uO();if(t==="layout_toggler_left")s.left.open=e?0:1,v1("toolbar_toggle(leftbar)",!e),It.setContainerSelectStyle($a.leftPanelTabBarId,{width:e?"100%":"calc(100% + 1px)"});else if(t==="layout_toggler_right"){s.right.open=e?0:1,v1("toolbar_toggle(rightbar)",!e),It.setContainerSelectStyle(Br.id,{width:e?"100%":"calc(100% + 1px)",marginLeft:e?"0":"-1px"});let u;n==="sch"?u=(0,en.default)("#layoutRight #sch-right-panel"):n==="pcb"?u=(0,en.default)("#layoutRight #pcb-attribute-manager"):n==="panel"?u=(0,en.default)("#layoutRight #panel-attribute"):n==="2Dview"?u=(0,en.default)("#pcb-2dview-attribute-manager"):n==="3Dview"?u=(0,en.default)("#pcb-3dview-attribute-manager"):n==="panel3D"?u=(0,en.default)("#layoutRight #panel-attribute-3d"):n==="simulation"?u=(0,en.default)("#layoutRight #simulation-right-panel"):u=(0,en.default)("#layoutRight #blank-attr")}else t==="layout_toggler_bottom"?(C.bottomBarStatus=0,s.bottom.open=e?0:1,v1("toolbar_toggle(bottombar)",!e),It.setContainerSelectStyle(co.id,{height:e?"100%":"calc(100% + 1px)",marginTop:e?"0":"-1px"})):t==="layout_toggler_bottom_right"||t==="layout_toggler_bottom_right1"?(s.bottomRight.open=e?0:1,(0,en.default)("#layout_toggler_bottom").data("allow-open",!0)):t==="toolbar-bottom"&&(s.top.open=e?0:1,v1("toolbar_toggle(topbar)",!e));(0,en.default)("#"+t).toggleClass("close",e);let c={};if(t==="layout_toggler_left"){let u=IY("right",Math.max(s.left.left,jI)),p=(0,en.default)("#layout_toggler_right").hasClass("close");p||(s.right.right=s.right.right>u?Math.max(l5,u):s.right.right,c.right={right:s.right.right,open:s.right.open}),s.left.open&&u-l5<0&&!p&&(s.left.left=s.left.left-(l5-u)),c.left={left:s.left.left,open:s.left.open}}else if(t==="layout_toggler_right"){let u=IY("left",Math.max(s.right.right,l5)),p=(0,en.default)("#layout_toggler_left").hasClass("close");p||(s.left.left=s.left.left>u?Math.max(u,jI):s.left.left,c.left={left:s.left.left,open:s.left.open}),s.right.open&&u-jI<0&&!p&&(s.right.right=s.right.right-(jI-u)),c.right={right:s.right.right,open:s.right.open}}else if(t==="layout_toggler_bottom"){let u=IY("bottom",Math.max(s.bottom.bottom,Vfe));s.bottom.bottom=s.bottom.bottom>u?u:s.bottom.bottom,c={bottom:{bottom:s.bottom.bottom,open:s.bottom.open}}}let d=await O4({layout:c,record:i});if(i&&((t==="layout_toggler_left"||t==="layout_toggler_right")&&(s=Object.assign({},s,d)),Sae(s,!0)),t==="layout_toggler_bottom"&&(C.messageBus.publish("adjustPinTableHeight"),!e)){let u=It.getActiveTab(co.id),p=It.getTabData({containerId:co.id,tabId:u.tabId}).isHasMsg;switch(u.tabId){case"log":{by({type:"Log",toEnd:p});break}case"schDrcResult":{by({type:"schDrcLog",toEnd:p});break}case"panelDrcResult":{by({type:"panelDrcLog",toEnd:p});break}}}C.messageBus.publish("toggleSidebarStatusSetting",{id:t,close:e})}function uDe(t,e){let i=(0,en.default)("#modelogo"),o=i.data("needFixedPanel");if(o||(o={layout_toggler_bottom:!1,layout_toggler_right:!0,layout_toggler_left:!0},i.data("needFixedPanel",o)),e){for(let s in o)i.data(s,null);if(!t)return}if(t)return o;let r,n,a=uO();for(r in o){if(!Object.hasOwnProperty.call(o,r)||(n=i.data(r),n==null))continue;let s=a[r.replace("layout_toggler_","")];s&&!!s.open!=n&&Pn(r,!n,!0),i.data(r,null)}}function ktn(){document.addEventListener("pointerdown",function(t){let e=Wdi(t.target),i="other";(0,en.default)("#layoutLeft")[0]===e||(0,en.default)("#layoutLeft").find(e)[0]||(0,en.default)("#layout_toggler_left")[0]===e||(0,en.default)("#layout_toggler_left").find(e)[0]||(0,en.default)('[cmd="toolbar_toggle(leftbar)"]')[0]===e||(0,en.default)('[cmd="toolbar_toggle(leftbar)"]').find(e)[0]?i="left":(0,en.default)("#layoutRight")[0]===e||(0,en.default)("#layoutRight").find(e)[0]||(0,en.default)("#layout_toggler_right")[0]===e||(0,en.default)("#layout_toggler_right").find(e)[0]||(0,en.default)('[cmd="toolbar_toggle(rightbar)"]')[0]===e||(0,en.default)('[cmd="toolbar_toggle(rightbar)"]').find(e)[0]?i="right":(0,en.default)("#layoutBottom")[0]===e||(0,en.default)("#layoutBottom").find(e)[0]||(0,en.default)("#layout_toggler_bottom")[0]===e||(0,en.default)("#layout_toggler_bottom").find(e)[0]||(0,en.default)('[cmd="toolbar_toggle(bottombar)"]')[0]===e||(0,en.default)('[cmd="toolbar_toggle(bottombar)"]').find(e)[0]?i="bottom":((0,en.default)(e).hasClass("easyui-menu")||(0,en.default)(".easyui-menu").find(e)[0]||(0,en.default)(e).parent().hasClass(rGt["eda-menu-item-text"])||(0,en.default)(e).parent().hasClass(rGt["eda-menu-item"])||(0,en.default)(e).hasClass(rGt["eda-menu-item"]))&&(i="menu"),C.clickWhat=i,C.windowBridge.publish("hideSidePanel",i,ko())})}function nGt(){let t=hn("SYSTEM").sidePanelAutoHide;for(let e of Object.keys(t||{}))e==="leftPanel"?It.setPinStatus($a.leftPanelTabBarId,!t[e]):e==="rightPanel"?It.setPinStatus(Br.id,!t[e]):e==="bottomPanel"&&It.setPinStatus(co.id,!t[e])}var aEo=!1;function Lst(){aEo||(nGt(),Ptn(),ktn(),aEo=!0)}function Ptn(){(0,en.default)("#left_panel_pin, #right_panel_pin, #bottom_panel_pin").on("click",function(t){let i=(0,en.default)(t.currentTarget).find("i").hasClass("icon-eda-no-fixed"),o=t.currentTarget.id,r=Wi("SYSTEM","sidePanelAutoHide");o==="left_panel_pin"?r.leftPanel.value=!i:o==="right_panel_pin"?r.rightPanel.value=!i:o==="bottom_panel_pin"&&(r.bottomPanel.value=!i),mt.savePreference("commSystemSetting",sc()),Otn(o,i)})}function Otn(t,e){e?(0,en.default)(`[${t}]`).find("i").addClass("icon-eda-fixed").removeClass("icon-eda-no-fixed"):(0,en.default)(`[${t}]`).find("i").addClass("icon-eda-no-fixed").removeClass("icon-eda-fixed")}function iJe(){let t=(0,en.default)("#editor-start-page").height()>(0,en.default)("#tab_page1").height()?"34px":"18px";(0,en.default)(".float-bar-static").css("right",t)}function sEo(){if(!(0,en.default)("#treeMyProject-container").hasClass("hidden")&&(0,en.default)("#treeMyProject").children().length>0){let t=(0,en.default)("#treeMyProject-content").scrollTop();C.messageBus.publish("leftTreerenderToTree",t)}}function IY(t,e){let i=document.body.clientWidth,o=Number(e)||(0,en.default)("#layoutLeft").width(),r=Number(e)||(0,en.default)("#layoutRight").width();switch(t){case"left":return i-r-Ax;case"right":return i-o-Ax;case"bottom":{let n=(0,en.default)("#main").height(),a=he.getTabBarNumOnRow(),s=a*24+(a-1)*3;return n-s-Ax}}}var jI=255,l5=255,Vfe=130,Gfe=360,Ax=100;var yF=class{static async switchStatus(e){vn(e)?e=!si.getMenuStore("top-menu-view-Highlight_Net").checkboxGroup[this.cmd].value:si.getMenuStore("top-menu-view-Highlight_Net").setCheckboxGroup({[this.cmd]:e}),this.checked=e}};yF.cmd="hoverHighlightNet";var pEo=L(Se());var aGt=L(dEo());var Dst=L(Se());var o1=L(z()),Rtn=t=>{let e=be.bind(aGt.default.locals),i=J();Ae(aGt.default);let{device:o,symbol:r,showProjectPreSetting:n,showSchematics:a,showCurrentPage:s,pageNameAndSchematicName:l,schematicName:c}=t,d=async b=>{let y=!0;if(b==="confirm"&&o&&r){let w=null;u&&(w=(await C.messageBus.rpcCall("sch/projectSheetPreSetting",t)).message);let x=!0,S=[],T={};if(m==="all-schematic"){let{message:M}=await C.messageBus.rpcCall($e.SHEET.GET_ALL_ARR,[void 0,C.currentProject.projectId]);M&&M.forEach(I=>{I.uuid&&(S.push(lo(I.uuid)),T[lo(I.uuid)]={displayTitle:I.display_title,schematicId:I.schematic_uuid,sheetUuid:I.uuid})})}else if(m==="current-schematic"){let M=fne(),I=M?(await C.messageBus.rpcCall($e.SHEET.GET_ALL_ARR,[M,C.currentProject.projectId])).message:[];I&&I.forEach(A=>{A.uuid&&(S.push(lo(A.uuid)),T[lo(A.uuid)]={displayTitle:A.display_title,schematicId:A.schematic_uuid,sheetUuid:A.uuid})})}else if(m==="current-page"){let M=gi();M&&S.push(M)}else x=!1;if(x){let M={},I=o.attributes||{},A=["Device","Symbol","Footprint"],D=!1;for(let v in I)A.includes(v)||v.startsWith("@")||(M[v]={value:I[v]||""},D=!0);M.Drawing={extra:{deviceUuid:(w==null?void 0:w.deviceUuid)||o.uuid,path:(w==null?void 0:w.path)||yr(o)},value:o.display_title};let E={},N=[],R={};for(let v=0;v<S.length;v++){let k={},P=S[v];if(Ga.isConcurrentStrictMode){let{disable:O}=Ga.getIframeDisableStatusPanelPcb(P);if(O){let{schematicId:_,displayTitle:j,sheetUuid:B}=T[P],V=R[_];if(!V){let G=(await C.messageBus.rpcCall($e.SCHEMATIC.GET,[_,C.currentProject.projectId])).message;G&&(V=G.display_name,R[_]=G.display_name)}N.push(tw({text:`${j}.${V}`,attr:{id:B,sheet:B}}))}else k.g1=M,E[P]=k}else k.g1=M,E[P]=k}if(N.length>0){let v="Some content does not have editing privileges.";De({type:"error",msg:v,timer:3,bottomBarMsg:!0}),Ot("error",[i(v),":",N.join("\u3001")],"Log")}await C.messageBus.rpcCall("sch/setDrawing",E)}}if(p(!0),h(""),y){le.close("sheet-apply-scope");let w=bt.systemSettingManager.containerId;le.isOpen(w)&&le.close(w)}},[u,p]=(0,Dst.useState)(!0),[m,h]=(0,Dst.useState)(""),[f,g]=(0,Dst.useState)(!1);return(0,o1.jsxs)("div",{className:e("pop-content-container"),children:[(0,o1.jsxs)("div",{className:e("sheet-apply-scope"),children:[(0,o1.jsxs)("div",{className:e("infos"),children:[(0,o1.jsx)("div",{className:e("messager-icon messager-info")}),(0,o1.jsxs)("div",{className:e("messages"),children:[(0,o1.jsx)("div",{className:e("for-system-setting"),style:{display:n?"":"none"},"data-test":"messages-for-system-setting",children:i("The current settings are applied to the schematic of the new project.")}),(0,o1.jsx)("div",{className:e("for-presetting"),style:{display:n?"none":""},"data-test":"messages-for-presetting",children:i("The current setting will be applied to the new schematic.")}),(0,o1.jsx)("div",{"data-test":"messages-for-all",children:i("Does it need to be applied to the following scope?")})]})]}),(0,o1.jsxs)("div",{className:e("options"),children:[(0,o1.jsxs)("div",{className:e("item project"),style:{display:n?"":"none"},children:[(0,o1.jsx)(qt,{checked:u,onChange:b=>{p(b)}}),(0,o1.jsx)("span",{"data-test":"text-project-new-schematic",children:i("Current project new schematic")}),(0,o1.jsx)("div",{className:e("info"),children:i("The current project drawing presetting")})]}),(0,o1.jsxs)("div",{className:e("item schematics"),style:{display:a?"":"none"},children:[(0,o1.jsx)(nn,{checked:m=="all-schematic",value:"all-schematic",onChange:b=>b&&h("all-schematic")}),(0,o1.jsx)("span",{"data-test":"text-all-schematic",className:e("pointer"),onClick:b=>h("all-schematic"),children:i("All schematics of the current project")})]}),(0,o1.jsxs)("div",{className:e("item current-schematic"),style:{display:s?"":"none"},children:[(0,o1.jsx)(nn,{checked:m=="current-schematic",value:"current-schematic",onChange:b=>b&&h("current-schematic")}),(0,o1.jsx)("span",{"data-test":"text-current-schematic",className:e("pointer"),onClick:b=>h("current-schematic"),children:i({value:"Current schematic {scheamticname}",options:{scheamticname:c}})})]}),(0,o1.jsxs)("div",{className:e("item current-page"),style:{display:s?"":"none"},children:[(0,o1.jsx)(nn,{checked:m=="current-page",value:"current-page",onChange:b=>b&&h("current-page")}),(0,o1.jsx)("span",{"data-test":"text-current-page",className:e("pointer"),onClick:b=>h("current-page"),children:i({value:"Current sheet{pageNameAndSchematicName}",options:{pageNameAndSchematicName:l}})})]})]})]}),(0,o1.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,o1.jsx)(Me,{disabled:f,type:"primary",style:{marginRight:"8px"},onClick:async()=>{g(!0),await d("confirm"),g(!1)},children:"Confirm"}),(0,o1.jsx)(Me,{type:"default",onClick:()=>d("cancel"),children:"Cancel"})]})]})},uEo=Rtn;async function sGt(t){await le.open({id:t.id,title:t.title||"Tips",width:t.width||400,height:t.height,closed:t.closed,children:(0,pEo.createElement)(uEo,t)})}function _tn(t={},e={},i=null,o=null){let r={};t["device-id"]&&(r.device_id=t["device-id"]),r.title=t["device-name"],r.images=t["device-image"]?t["device-image"].split(";"):[""],t.isProject&&t["device-category"]!==""?r.custom_tags=t["device-category"]?JSON.stringify(t["device-category"].split(":")):"[]":t.isProject&&t["device-category"]===""&&(r.custom_tags="[]");let n=t["device-category-id"]?t["device-category-id"].split(":"):[];return r.tags=[],n[0]&&r.tags.push(n[0]),n[1]&&r.tags.push(n[1]),r.tags.length||(r.tags=[""]),r.description=t["device-describe"],r.owner=t["device-owner"],r.attributes={...e},t["device-symbol-id"]?r.attributes.Symbol=t["device-symbol-id"]:r.attributes.Symbol="",t["device-footprint-id"]?r.attributes.Footprint=t["device-footprint-id"]:r.attributes.Footprint="",t["device-3dmodel-id"]?r.attributes["3D Model"]=t["device-3dmodel-id"]:delete r.attributes["3D Model"],t["3dmodel-name"]?r.attributes["3D Model Title"]=t["3dmodel-name"]:delete r.attributes["3D Model Title"],t["device-3dmodel-transform"]?r.attributes["3D Model Transform"]=t["device-3dmodel-transform"]:delete r.attributes["3D Model Transform"],i&&+i.docType!==se.PART&&(delete r.attributes["Add into BOM"],delete r.attributes["Convert to PCB"]),typeof r.attributes["3D Model"]>"u"&&delete r.attributes["3D Model Transform"],r.symbol_type=t.symbol_type||t["symbol-type"],i&&(r.symbol_type=i.docType),o&&(r.footprint_type=o.docType),r.path=t.path||t["device-lib"],r.attributes["3D Model Title"]&&(r.attributes["3D Model Title"]=r.attributes["3D Model Title"]),r}async function mEo(t={},e={},i={}){let o=i.symbolDetail||null,r=i.footprintDetail||null,n=!!t["device-id"],a=t.path||t["device-owner"],s=_tn({...t,path:a,isProject:i.isProject},e,o,r);!i.isSaveAs&&i.isProject&&(C.deviceType=C.deviceType!=null?C.deviceType:2);try{return{ret:0,data:{...await Ze.createDevice({isProject:a===C.currentProject.projectId,path:a,device:{data:s}}),isModifyDevice:n},enMsg:""}}catch(l){return{msg:me.i18n(l.message),data:null,enMsg:l.message}}}var pDe="dlgBackup";var xg=L(Se());var r1=L(z()),jtn=t=>{let{orgUuid:e,defaultOwnerId:i,canSelectSymbolType:o=!0,formData:r,contentData:n,symbolDoctype:a,deviceDoctype:s,categoryId:l,symbolCategroyName:c,footprintCategroyName:d,importLibMap:u,fileContent:p}=t,{symbolName:m,categoryName:h,isObserverSave:f,closeTabId:g,messageToken:b="",fileStr:y}=t,{description:w,hideSymbolType:x,dlgType:S,importDataStr:T,importFootprint:M,hideImportRadio:I}=t;Ce(ku),Ce(On);let A=J(),D=(0,xg.useRef)(null),E=(0,xg.useRef)(C.workspace),[N,R]=(0,xg.useState)(i||""),[v,k]=(0,xg.useState)(""),[P,O]=(0,xg.useState)(""),[_,j]=(0,xg.useState)(m||""),[B,V]=(0,xg.useState)(m||""),[G,Q]=(0,xg.useState)(w||""),[H,q]=(0,xg.useState)(h||""),[U,F]=(0,xg.useState)(""),[K,te]=(0,xg.useState)(l||""),[ae,pe]=(0,xg.useState)(l||""),[Z,ee]=(0,xg.useState)(a||2),[ce,ne]=(0,xg.useState)(s||2),[oe,re]=(0,xg.useState)(!1),[Y,X]=(0,xg.useState)(!1),[ie,de]=(0,xg.useState)(M?"symbol_footprint_device":"symbol_device"),fe="Symbols need to be associated with components before they can be placed on the schematic page by placing components",ye=mt.getSymbolLibManage()=="2",Le=(0,xg.useMemo)(()=>[{value:M?"symbol_footprint_device":"symbol_device",label:M?"New symbol, footprint and device":"New symbol and new device"},{value:"device",label:"New devices only"},{value:"symbol",label:"New symbols only"}],[M]),Re=(0,xg.useCallback)((Pe,Oe)=>{R(Pe),k(Oe.args.owner),O(Oe.title)},[]),Ne=async(Pe,Oe,Ue)=>{let Ve="",[ze,He]=await m4(Ue,Oe,Pe);return ze&&(Ve=He?[ze,He].join(":"):ze),Ve},Te=async()=>{if(Y)return;let Pe=ie,Oe=Pe.includes("symbol"),Ue=Pe.includes("footprint"),Ve=Pe.includes("device");if(Ve&&!ch({title:{value:B,tipName:"Device"},categoryId:ae})||Oe&&!ch({ownerId:{value:N,isJudge:!Je},title:{value:_,tipName:"Symbol"},description:{value:G},categoryId:K}))return;X(!0);let ze=Number(Z),He,Ye,ke;Ye=K,Je?He=On.selectPath:He=v;let Be=ae.split(":")||[];if(H&&!K){let Xe=Yi.SYMBOL,[Ge,Ke]=await m4(He,Xe,H);Ge&&(Ye=Ke?[Ge,Ke].join(":"):Ge)}if(S==="import"){let Xe=T;if(Ue){let Ge=await Ne(c,Yi.SYMBOL,He),Ke=await Ne(d,Yi.FOOTPRINT,He),pt={dataStr:Xe,owner:Je?On.selectPath:v,title:_,tags:Ge?Ge.split(":"):[],description:G,docType:ze},ot={dataStr:M.dataStr,owner:Je?On.selectPath:v,title:M.title,tags:Ke?Ke.split(":"):[],description:G,docType:M.docType};await cBe(pt,ot,Ye?Ye.split(":"):[],He,u),le.close("creat-symbol-dialog");return}else if(Oe){let Ge="",pt=(await Ze.getSymbolSearchList({isProject:He===C.currentProject.projectId,path:He,titles:[_],docType:ze}))[ke.display_title],ot=Ve?await Ze.getDeviceSearchList({isProject:He===C.currentProject.projectId,path:He,titles:[B]}):null,Qe=(ot==null?void 0:ot[B])||[];if(pt.length>0&&Qe.length>0?Ge="Device library duplicate name or illegal name":pt.length>0?Ge="Symbol library duplicate name or illegal name":Qe.length>0&&(Ge="Symbol library, device library duplicate name or illegal name"),Ge){X(!1),De({type:"error",msg:Ge,timer:3});return}if(p){let ut=null,rt="Import successfully!",ht=!1;try{let ct=await la.importLibs({data:p,target:{isProject:!C.currentProject||!C.currentProject.projectId?!1:He===C.currentProject.projectId,path:He},override:{symbol:{tags:H?H.split(":"):[],title:_,description:G}}});if(ut=ct.successResult.symbols[0],ut=ut&&ut.result?ut.result:ut,ct&&ct.failedResult&&ct.failedResult.symbols.length)throw new Error(ct.failedResult.symbols[0].message||"Import failed!")}catch{ht=!0,rt="Import failed!"}if(ht)De({type:"error",msg:rt});else{if(ut){if(Ve){let ct=null,wt="",zt=!1;try{ct=await Ze.createDevice({path:He,isProject:He===C.currentProject.projectId,device:{isProject:He===C.currentProject.projectId,data:{title:B,description:G,images:[],tags:Be,attributes:{Symbol:ut.uuid}}}})}catch(gt){if(zt=!0,wt=gt.message||"Save failed!",gt&&gt.action===zo.DEVICE_SAME_NAMA_EXISTS){let Qt=await d4(He);wt=me.i18n(gt.message,{libName:Qt,componentName:B})}}zt?De({type:"error",msg:wt,timer:3}):De({type:"success",msg:me.i18n("Import successfully!")})}Ot("info",'<span class="i18n" i18n-params-nums="1">{nums} symbols import successfully</span>:'+_,void 0,!1),await yn({uuid:ut.uuid,path:He,isComponent:!0})}X(!1),_s(He,Ls()),!ht&&ut&&le.close("creat-symbol-dialog")}}}else{let Ge=null,Ke="",pt=!1;try{Ge=await Ze.createDevice({path:He,isProject:He===C.currentProject.projectId,device:{isProject:He===C.currentProject.projectId,data:{title:B,description:G,images:[],tags:Be,attributes:{}}}})}catch(ot){if(pt=!0,Ke=ot.message||"Save failed!",ot&&ot.action===zo.DEVICE_SAME_NAMA_EXISTS){let Qe=await d4(He);Ke=me.i18n(ot.message,{libName:Qe,componentName:B})}}pt?De({type:"error",msg:Ke,timer:3}):De({type:"success",msg:me.i18n("Import successfully!")}),X(!1),le.close("creat-symbol-dialog"),_s(He,Ls())}return}};return Bt(Pe=>{let{key:Oe}=Pe;Oe==="Enter"&&Te()}).keyboard("creat-symbol-dialog"),(0,r1.jsxs)(r1.Fragment,{children:[(0,r1.jsxs)(z0,{children:[Je&&(0,r1.jsx)(Wb,{selectChange:()=>{}}),!Je&&(0,r1.jsx)(du,{ref:D,orgUuid:e,defaultSelectId:N||i,notFolder:!0,onOwnerChange:Re,onWorkSpaceChange:Pe=>E.current=Pe}),(0,r1.jsxs)("div",{style:{display:ie.includes("symbol")?"block":"none"},children:[(0,r1.jsx)(yj,{name:"Symbol",inputValue:_,selectValue:Z,hideSelect:x,selectDisable:!o,inputChange:Pe=>j(Pe),selectChange:Pe=>ee(Pe)}),(0,r1.jsx)(Ep,{name:"Symbol Category",inputValue:H,ownerSelectId:N,clientLibPath:On.selectPath,categoryType:Yi.SYMBOL,openDialogCallback:(Pe,Oe)=>{q(Pe),te(Oe),re(!0)},clearClick:()=>{q(""),te("")}})]}),(0,r1.jsxs)("div",{style:{display:ie.includes("device")?"block":"none"},children:[(0,r1.jsx)(yj,{name:"Device",notFocus:!0,isDevice:!0,inputValue:B,selectValue:ce,hideSelect:x,selectDisable:!o,inputChange:Pe=>V(Pe),selectChange:Pe=>ne(Pe)}),(0,r1.jsx)(Ep,{name:"Device Category",inputValue:U,ownerSelectId:N,clientLibPath:On.selectPath,categoryType:Yi.DEVICE,openDialogCallback:(Pe,Oe)=>{F(Pe),pe(Oe)},clearClick:()=>{F(""),pe("")}})]}),(0,r1.jsx)(lh,{value:G,onChange:Pe=>Q(Pe)}),S==="import"&&ye&&!I&&(0,r1.jsxs)("tr",{style:{display:"flex"},children:[(0,r1.jsx)("td",{style:Kc,"data-test":"Import options:",children:A("Import options:")}),(0,r1.jsx)("td",{style:{width:"100%",display:"flex",alignItems:"center"},children:(0,r1.jsx)($i,{options:Le,value:ie,onChange:Pe=>de(Pe)})})]}),(0,r1.jsxs)("tr",{style:{display:"flex"},children:[(0,r1.jsx)("td",{style:Kc}),(0,r1.jsx)("td",{style:{display:"flex",alignItems:"center",width:"100%",height:"36px"},children:(0,r1.jsx)("p",{"data-test":fe,style:{color:"#f00"},children:A(fe)})})]})]}),(0,r1.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"8px"},children:[(0,r1.jsx)(Me,{disabled:Y,type:"primary",onClick:()=>Te(),children:"Save"}),(0,r1.jsx)(Me,{onClick:()=>le.close("creat-symbol-dialog"),children:"Cancel"})]})]})};function lGt(t){if(!Je&&!br()){Xo.login();return}CP(()=>{le.open({id:"creat-symbol-dialog",title:(t==null?void 0:t.dlgTitle)||"New Symbol",width:628,closed:!0,remove:!0,esc:!0,children:(0,r1.jsx)(jtn,{...t})})})}var q4=L(Se());async function hEo(t,e,i){var a,s,l,c,d,u,p,m,h,f,g,b;if((s=(a=t==null?void 0:t.failedResult)==null?void 0:a.symbols)!=null&&s.length){let y=t.failedResult.symbols[0],w=t.successResult.devices[0],S=Oa.getInstance().footprintAnd3DModelChecked["auto-associate-footprint"].checked;if(y.action===zo.SYMBOL_SAME_NAMA_EXISTS&&S){let T=[];w.tags.parent_tag&&T.push(w.tags.parent_tag.uuid),w.tags.child_tag&&T.push(w.tags.child_tag.uuid);let I=(await aD([y.title],ve.PART,i))[y.title][0].uuid,A=await Ze.updateDevice({uuid:w.uuid,path:i,isProject:!1,device:{data:{...w,title:w.display_title||w.title,tags:T,images:w.images,attributes:{...w.attributes,Footprint:w.attributes.Footprint,Symbol:I}}},symbol:{path:i,uuid:I,isProject:!1}});console.log(A)}else{let T=t.failedResult.symbols[0],M=T.message;T.action===zo.SYMBOL_SAME_NAMA_EXISTS&&(M=me.i18n(T.message,{libName:e,componentName:T.title}));let I=Ti("Import Symbol")+"\uFF1A"+T.title+Ti("failed")+"\uFF0C"+M;Ot("error",I)}}if((c=(l=t==null?void 0:t.failedResult)==null?void 0:l.footprints)!=null&&c.length){let y=t.failedResult.footprints[0],w=t.successResult.devices[0],S=Oa.getInstance().footprintAnd3DModelChecked["auto-associate-footprint"].checked;if(y.action===zo.FOOTPRINT_SAME_NAMA_EXISTS&&S){let T=[];w.tags.parent_tag&&T.push(w.tags.parent_tag.uuid),w.tags.child_tag&&T.push(w.tags.child_tag.uuid);let M=await aD([y.title],ve.FOOTPRINT,i);try{let I=M[y.title][0].uuid,A=await Ze.updateDevice({uuid:w.uuid,path:i,isProject:!1,device:{data:{...w,title:w.display_title||w.title,tags:T,images:w.images,attributes:{...w.attributes,Footprint:I,Symbol:w.attributes.Symbol}}},footprint:{path:i,uuid:I,isProject:!1}})}catch{}}else{let T=y.message;y.action===zo.FOOTPRINT_SAME_NAMA_EXISTS&&(T=me.i18n(y.message,{libName:e,componentName:y.title}));let M=Ti("Import Footprint")+"\uFF1A"+y.title+Ti("failed")+"\uFF0C"+T;Ot("error",M)}}if((u=(d=t==null?void 0:t.failedResult)==null?void 0:d.devices)!=null&&u.length){let y=t.failedResult.devices[0],w=y.message;y.action===zo.DEVICE_SAME_NAMA_EXISTS&&(w=me.i18n(y.message,{libName:e,componentName:y.title}));let x=Ti("Import Device")+"\uFF1A"+y.title+Ti("failed")+"\uFF0C"+w;Ot("error",x)}let o=(m=(p=t.successResult)==null?void 0:p.symbols)==null?void 0:m[0];o&&Ot("info",`<span class="i18n" i18n-params-nums="1">{nums} symbols import successfully</span>:${o.display_title||o.title} `,void 0,!1);let r=(f=(h=t.successResult)==null?void 0:h.footprints)==null?void 0:f[0];r&&Ot("info",`<span class="i18n" i18n-params-nums="1">{nums} footprints import successfully</span>:${r.display_title||o.title} `,void 0,!1);let n=(b=(g=t.successResult)==null?void 0:g.devices)==null?void 0:b[0];n&&Ot("info",`<span class="i18n" i18n-params-nums="1">{nums} devices import successfully</span>:${n.display_title||o.title} `,void 0,!1),_s(i,Ls()),le.close("import-component-dialog")}async function cGt(t,e){var i,o,r,n;if((o=(i=t.successResult)==null?void 0:i.devices)!=null&&o.length){let a=t.successResult.devices[0];Ot("info",'<span class="i18n">Device Import successfully:</span>'+a.title,void 0,!1),_s((r=a==null?void 0:a.owner)==null?void 0:r.uuid,"device",!1),le.close("import-component-dialog")}else{let a=(n=t.failedResult)==null?void 0:n.devices[0];if(a&&(a.action===zo.DEVICE_SAME_NAMA_EXISTS||a.action===zo.SYMBOL_SAME_NAMA_EXISTS||a.action===zo.FOOTPRINT_SAME_NAMA_EXISTS)){let s=me.i18n(a.message,{libName:e,componentName:a.title});De({type:"error",msg:s});return}Ot("error",'<span class="i18n">Device Import failed:</span>'+a.title+`\uFF0C<span class="i18n">${a==null?void 0:a.message}</span>`),le.close("import-component-dialog")}}async function fEo(t,e,i){var o,r,n;if((r=(o=t==null?void 0:t.failedResult)==null?void 0:o.symbols)!=null&&r.length){let a=(n=t==null?void 0:t.failedResult)==null?void 0:n.symbols[0],s=a.message||"Import failed!";if(a.action===zo.SYMBOL_SAME_NAMA_EXISTS){s=me.i18n(a.message,{libName:e,componentName:a.title}),De({type:"error",msg:s,timer:3});return}De({type:"error",msg:s,timer:3})}else{let a=t.successResult.symbols[0];_s(i,Ls()),Ot("info",'<span class="i18n" i18n-params-nums="1">{nums} symbols import successfully</span>:'+a.display_title,void 0,!1),await yn({uuid:a.uuid,path:i,isComponent:!0}),le.close("import-component-dialog")}}var Up=L(z());var Btn=t=>{var j,B,V;let{orgUuid:e,defaultOwnerId:i,fileContent:o,dlgType:r,importInfo:n}=t;Ce(ku),Ce(On);let a=J(),s=(0,q4.useRef)(null),l=(0,q4.useRef)(C.workspace),[c,d]=(0,q4.useState)(i||""),[u,p]=(0,q4.useState)(""),[m,h]=(0,q4.useState)(""),[f,g]=(0,q4.useState)(n.symbol.title||""),[b,y]=(0,q4.useState)(((j=n==null?void 0:n.device)==null?void 0:j.description)||""),[w,x]=(0,q4.useState)(r==="IMPORT_DEVICE"?(((B=n==null?void 0:n.device)==null?void 0:B.tags)||[]).join(":"):(((V=n==null?void 0:n.symbol)==null?void 0:V.tags)||[]).join(":")),[S,T]=(0,q4.useState)(""),[M,I]=(0,q4.useState)(n.symbol.docType||2),[A,D]=(0,q4.useState)(!1),[E,N]=(0,q4.useState)(r==="IMPORT_DEVICE"?"symbol_footprint_device":"symbol_device"),R="Symbols need to be associated with components before they can be placed on the schematic page by placing components",v=mt.getSymbolLibManage()=="2",k=(0,q4.useMemo)(()=>[{value:r==="IMPORT_DEVICE"?"symbol_footprint_device":"symbol_device",label:r==="IMPORT_DEVICE"?"New symbol, footprint and device":"New symbol and new device"},{value:"device",label:"New devices only"},{value:"symbol",label:"New symbols only"}],[r]),P=(0,q4.useCallback)((G,Q)=>{d(G),p(Q.args.owner),h(Q.title)},[]),O=(0,q4.useCallback)(()=>{le.close("creat-symbol-dialog").then(()=>{if(C.fileLibImportOption){C.fileLibImportOption=!1;let G=Qb.getInstance().project;Ut({icon:"question",title:"Confirm",type:"confirm",message:"Click Confirm to continue with the import",onConfirm:()=>{wP(G)}})}})},[]),_=async()=>{if(A||!ch({ownerId:{value:c,isJudge:!Je},title:{value:f,tipName:"Symbol"},description:{value:b},categoryId:S}))return;D(!0);let G=Je?On.selectPath:u,Q=Je?On.selectPath:m,H=w?w.split(":"):[];switch(E){case"symbol_footprint_device":{let q=await la.importLibs({data:o,target:{path:G,isProject:!1},override:{device:{title:f,tags:H,description:b},symbol:{title:f,tags:H,description:b},footprint:{}}});await hEo(q,Q,G);break}case"device":{if(r==="IMPORT_DEVICE"){let q=n.device,U=await la.importLibs({data:o,target:{path:G,isProject:!1},override:{devices:[{uuid:q.uuid,title:f,tags:H,description:b,attributes:q.attributes,images:q.images}]}});cGt(U,Q);break}if(r==="IMPORT_SYMBOL"){let q={successResult:{devices:[]},failedResult:{devices:[]}};try{let U=await Ze.createDevice({path:G,isProject:!1,device:{data:{title:f,tags:H,description:b,images:[],attributes:{Footprint:"",Symbol:"",Description:b||""}}}});q.successResult.devices.push(U)}catch(U){q.failedResult.devices.push({title:f,action:U.action,message:U.message})}cGt(q,Q)}break}case"symbol_device":case"symbol":{let q=await la.importLibs({data:o,target:{path:G,isProject:!1},override:{symbols:[{uuid:n.symbol.uuid,title:f,docType:n.symbol.docType,tags:H,description:b}]}});fEo(q,Q,G);break}}D(!1)};return Bt(G=>{let{key:Q}=G;Q==="Enter"&&_()}).keyboard("import-component-dialog"),(0,Up.jsxs)(Up.Fragment,{children:[(0,Up.jsxs)(z0,{children:[Je&&(0,Up.jsx)(Wb,{selectChange:()=>{}}),!Je&&(0,Up.jsx)(du,{ref:s,orgUuid:e,defaultSelectId:c||i,notFolder:!0,onOwnerChange:P,onWorkSpaceChange:G=>l.current=G}),E.includes("device")?(0,Up.jsxs)(Up.Fragment,{children:[(0,Up.jsx)(yj,{name:"Device",notFocus:!0,isDevice:!0,inputValue:f,selectValue:M,selectDisable:!0,inputChange:G=>g(G),selectChange:G=>I(Number(G))}),(0,Up.jsx)(Ep,{name:"Device Category",inputValue:w,ownerSelectId:c,clientLibPath:On.selectPath,categoryType:Yi.DEVICE,openDialogCallback:(G,Q)=>{x(G),T(Q)},clearClick:()=>{x(""),T("")}})]}):(0,Up.jsxs)(Up.Fragment,{children:[(0,Up.jsx)(yj,{name:"Symbol",inputValue:f,selectValue:M,selectDisable:!0,inputChange:G=>g(G),selectChange:G=>I(Number(G))}),(0,Up.jsx)(Ep,{name:"Symbol Category",inputValue:w,ownerSelectId:c,clientLibPath:On.selectPath,categoryType:Yi.SYMBOL,openDialogCallback:(G,Q)=>{x(G),T(Q)},clearClick:()=>{x(""),T("")}})]}),(0,Up.jsx)(lh,{value:b,onChange:G=>y(G)}),v&&(0,Up.jsxs)("tr",{style:{display:"flex"},children:[(0,Up.jsx)("td",{style:Kc,"data-test":"Import options:",children:a("Import options:")}),(0,Up.jsx)("td",{style:{width:"100%",display:"flex",alignItems:"center"},children:(0,Up.jsx)($i,{options:k,value:E,onChange:G=>N(G)})})]}),(0,Up.jsxs)("tr",{style:{display:"flex"},children:[(0,Up.jsx)("td",{style:Kc}),(0,Up.jsx)("td",{style:{display:"flex",alignItems:"center",width:"100%",height:"36px"},children:(0,Up.jsx)("p",{"data-test":R,style:{color:"#f00"},children:a(R)})})]})]}),(0,Up.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"8px"},children:[(0,Up.jsx)(Me,{disabled:A,type:"primary",onClick:()=>_(),children:"Save"}),(0,Up.jsx)(Me,{onClick:()=>le.close("import-component-dialog"),children:"Cancel"})]})]})};function dGt(t){if(!Je&&!br()){Xo.login();return}CP(()=>{le.open({id:"import-component-dialog",title:(t==null?void 0:t.dlgTitle)||"Import Component",width:628,closed:!0,remove:!0,esc:!0,children:(0,Up.jsx)(Btn,{...t})})})}function gEo(t,e){if(!t)return!1;for(let[i,o]of t)if(e(o,i,t))return!0;return!1}async function Cje(t,e){let{message:i}=await C.messageBus.rpcCall(Ei.PROJECT.GET_BACKUP,{uuid:t,branch_uuid:e}),o=new File([i],`${t}.epro`);bme([o],!0,"proeda")}async function myi(t,e){let i=await r(t),o=new File([i],t);bme([o],!0,"document");async function r(n){let{message:a}=await C.messageBus.rpcCall(Ei.CLIENT.GET_BACKUP,{name:n});return a.success?a.result:a}}async function mDe(t,e,i){let o=C.currentProject,{title:r,projectId:n}=o;if(!n)return console.warn("backup: no project backup.");let{message:a}=await C.messageBus.rpcCall($e.PROJECT.GET_BRANCH_DATA,[n]),{branch_uuid:s,branch_time:l,branch_name:c}=a;if(t=="yes"&&(new Date().getTime()-C.lastMouseOrKeyBoardEventTime>180*1e3||!await new Promise(async(y,w)=>{let x=setTimeout(()=>w(`${new Date(new Date().getTime())} auto backup getPermission time out`),3e4),S=await zi.getPermissionList(C.currentProject.projectId),T=S?zi.hasPermission(S,Io.Doc_Updating):!0,M=S?zi.hasPermission(S,Io.Version_Adding):!0;clearTimeout(x),y(T&&M)})||he.getUnsavedTabs("SCH").length+he.getUnsavedTabs("PCB").length+he.getUnsavedTabs("PANEL").length===0&&!(Je?await Ftn(n,s,l):await ztn(n,s,l))))return;let d="Auto backup project {title} successfully!",u="Auto backup project {title} failed!",p="Auto backup project {title} failed, code {code} !";switch(t){case"no":case"leftTree":e=e||"New Version",d="New project backup successfully!",u="New project backup failed!",p="New project backup failed, code {code} !";break;default:e=`${c}_Auto Backup`,d="Auto backup project {title} successfully!",u="Auto backup project {title} failed!",p="Auto backup project {title} failed, code {code} !";break}i=i||"";let m=mt.getCacheObj("saveConfig")?mt.getCacheObj("saveConfig").autoBackupNum:10,h={name:e,description:i,projectId:n,projectName:r,backupTime:ue.formatDate2(new Date),auto:t,limit:m,uuid:n,needProgress:t!=="yes"},{message:f}=await C.messageBus.rpcCall(qr.BACKUP,[h]);if(f!=null)if(f.success)Ot("info",Ti(d,{params:{title:r}}),"Log"),t!="yes"?(new Fi({type:"success",msg:{value:d,options:{title:r}}}),C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.PROJECT_BACKUPS_MANUAL,content:{"Project Backup Name":r},project_uuid:C.currentProject.projectId}]),le.close(pDe)):C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.PROJECT_BACKUPS_AUTO,content:{},project_uuid:C.currentProject.projectId}]);else{let g;[Pm.REQUEST_PARAM_ILLEGAL].includes(f.code)?g=f.message:g=Mp(f),Ot("error",g?Ti(g):Ti(p,{params:{title:r,code:f.code}}),"Log"),new E2(D2.WARN).error("\u5907\u4EFD\u5931\u8D25\uFF1A","\u5907\u4EFD\u6570\u636E\uFF1A",h,"\u5931\u8D25\u539F\u56E0\uFF1A",f.code,g),t!=="yes"&&new Fi({type:"error",msg:g?{value:g,options:{title:r,code:f.code}}:{value:p,options:{title:r,code:f.code}}})}else Ot("error",Ti(u,{params:{title:r}}),"Log"),t!=="yes"&&new Fi({type:"error",msg:{value:u,options:{title:r}}})}async function ztn(t,e,i){var a;let o=Number(new Date(i)),r,{message:n}=await C.messageBus.rpcCall(Ei.PROJECT.BACKUP_LIST,{uuid:t,branch_uuid:e});return n.success?r=(a=n.result.sort((s,l)=>Number(l.branch_time)-Number(s.branch_time))[0])==null?void 0:a.branch_time:r=null,r!=null&&o!=null&&+r==+o?(Ot("info",Ti("Backup project failed! The content is the same as that of the last backup."),"Log"),!1):!0}async function Ftn(t,e,i){var a;let o=Number(new Date(i)),r,{message:n}=await C.messageBus.rpcCall(Ei.PROJECT.BACKUP_LIST,{uuid:t,branch_uuid:e});return n.success?r=(a=n.result.sort((s,l)=>{Number(l.createTime)-Number(s.createTime)})[0])==null?void 0:a.createTime:r=null,r!=null&&o!=null&&+r==+o?(Ot("info",Ti("Backup project failed! The content is the same as that of the last backup."),"Log"),!1):!0}function uGt(t){let e=IEo()||{};e.gridStyle=e.gridStyle||"dot",e.sch_gridSize=e.sch_gridSize||"0.1",e.schlib_gridSize=e.schlib_gridSize||"0.1",e.cursor=o(e.cursor,!0),e.symbol=o(e.symbol,!0),e.top_tool=o(e.top_tool,!0),e.special_symbol=o(e.special_symbol,!0),e.ruler=o(e.ruler,!0),e.take_REFDES=ZU(e.take_REFDES),e.net_select_method=o(e.net_select_method,"single"),t&&pGt(e);let i=uO();return e.left_panel=!!i.left.open,e.right_panel=!!i.right.open,e.bottom_panel=!!i.bottom.open,e.layout=i,e;function o(r,n){return r==null?n:r}}function pGt(t){if(!t)return;t.ruler=t.ruler==null?!0:t.ruler;let e=sessionStorage.getItem("topbar");e?e==="hide"!==(0,ite.default)("#toolbar-bottom").hasClass("show-hide")&&et("toolbar_toggle(topbar)"):(0,ite.default)("#toolbar-bottom").hasClass("show-hide")==t.top_tool&&et("toolbar_toggle(topbar)"),yF.switchStatus(t.hover_highlight_netgroup)}function mGt(t){let e=uGt().gridStyle;t=t?typeof t=="string"?t:t.value:typeof e=="string"?e:e.value}async function Wve(t,e,i){var l,c,d,u,p,m,h,f,g,b;let{display_title:o,docType:r,description:n,tags:a}=e,s;if(t){if(e.custom_tags)s=Est(e.custom_tags,!0);else if((m=a==null?void 0:a.parent_tag)!=null&&m.name){let y=a.parent_tag.name_cn?a.parent_tag.name_cn:a.parent_tag.name,w=(h=a.child_tag)!=null&&h.name_cn?(f=a.child_tag)==null?void 0:f.name_cn:(g=a.child_tag)==null?void 0:g.name;s=(b=a.child_tag)!=null&&b.name?y+":"+w:y}}else if((l=a==null?void 0:a.parent_tag)!=null&&l.name){let y=a.parent_tag.name_cn?a.parent_tag.name_cn:a.parent_tag.name,w=(c=a.child_tag)!=null&&c.name_cn?(d=a.child_tag)==null?void 0:d.name_cn:(u=a.child_tag)==null?void 0:u.name;s=(p=a.child_tag)!=null&&p.name?y+":"+w:y}!e.docType||e.docType===ve.FOOTPRINT||e.docType===ve.PCBLIB3D||e.docType===ve.NGSPICE_MODEL||e.docType===ve.SIMULIDE_MODEL?await CP(()=>{zze({dlgDoctype:e.docType,dlgTitle:"Document Save as",nameValue:o,description:n,categoryName:s,detailData:e,isObserverSave:i==null?void 0:i.isObserverSave,closeTabId:i==null?void 0:i.tabid,triggeFrom:i==null?void 0:i.triggeFrom})}):yP({dlgTitle:"Document Save as",symbolDoctype:r||ve.PART,symbolName:o,description:n,hideSymbolType:!0,isObserverSave:i==null?void 0:i.isObserverSave,closeTabId:i==null?void 0:i.tabid,categoryName:s,detailData:e})}async function l3i(t,e,i=!0){var n;let o=!1,{message:r}=await C.messageBus.rpcCall(Ei.PROJECT.LIST,{isCbb:!0,user_uuid:e});return r.success&&(((n=r.result)==null?void 0:n.lists)||[]).forEach(s=>{s.cbb_project&&s.name===t&&(o=!0)}),o&&i&&C.messageBus.publish("message",{type:"error",title:"Error",message:"Duplicated title"}),o?"Duplicated title":""}async function wEo(){let t=dt(),e="";if([ve.PCB,ve.FOOTPRINT].includes(t)){let i=await ei();e=(await C.windowBridge.rpcCall("getCanvasParam","",i.contentWindow)).message.unit}[ve.SCH,ve.PART,ve.SCHLIB3D].includes(t)&&(e=Vo()),ii("set-origin",{unit:e})}function CEo(){mGt()}async function xEo(t){var f,g;let e=t.base||{};if(m(e,"device-name",e["symbol-name"]||""),!e["device-name"])return;let i=e["device-owner"]&&e["device-contributor"];if(!i){let b=C.globalVariableCookieData,y=b.easyeda_user||b.userInfo;e["device-contributor"]=y.username||y.nickname||"",e["device-owner"]=y.uuid}if(t.isDlg){let b=await iH([e["device-name"]],"device",void 0,void 0,e["device-owner"],t.path);if(b&&Object.keys(b).length>0&&((g=(f=Object.values(b)[0])==null?void 0:f.owner)==null?void 0:g.uuid)===i){Ut({type:"error",message:"Library duplicate name"});return}}let o;await C.messageBus.rpcCall("Decompress",{data:t.symbolDetail,cb:b=>{o=b}});let r=o.activePart.getAttr();e.extend=e.extend||[];let n=e.extend,a=["designator","device","name","number","catid","nameAlias","sourceId","spicePre","spiceSymbolName","timeStamp","package display"].map(b=>b.toLowerCase()),s={"smt type":"JLCPCB SMD Type","lcsc assembly":"JLCPCB SMD","resistance (ohms)":"Resistance","resistance(ohms)":"Resistance"},l={};if(r.forEach(b=>{let y=b.key,w=b.value,x=y.toLowerCase();if(!a.includes(x))switch(x){case"package":case"pkg_type":case"footprint":m(e,"footprint-name",w);break;case"pre":case"prefix":case"refdes":h(l,n,"Designator",w);break;case"add_into_bom":case"Add into BOM":m(l,"Add into BOM",w==="no"?"no":"yes");break;case"convert_to_pcb":case"Convert":m(l,"Convert to PCB",w==="no"?"no":"yes");break;default:s[x]&&(y=s[x]);let S=y.replace(/BOM_/gi,"");h(l,n,S,w);break}}),t.docType===ve.PART)h(l,n,"Name",""),h(l,n,"Designator","U?"),h(l,n,"Add into BOM","yes"),h(l,n,"Convert to PCB","yes");else if(t.docType===ve.NONEELEC_SYMBOL)h(l,n,"Name",""),h(l,n,"Add into BOM","yes"),h(l,n,"Convert to PCB","yes");else if(t.docType===ve.NETFLAG)h(l,n,"Name",""),h(l,n,"Global Net Name","");else if(t.docType===ve.SHEET_SYMBOL){let b=(await C.messageBus.rpcCall("SheetSystemLevelCustomAttrs")).message;it(b,(y,w,x)=>{let S="";w.startsWith("@")&&(S=me.i18n("<System Assignment>")),h(l,n,w,S)}),it(T_e,(y,w)=>{h(l,n,y,w)})}else t.docType===ve.NONEELEC_SYMBOL&&h(l,n,"Name","");let c="symbol-name",d="footprint-name",u=e[c]||e["device-symbol"],p=e[d];if(u&&!e["device-symbol-id"]){let b=await Ze.getSymbolSearchList({isProject:t.path===C.currentProject.projectId,path:t.path,titles:[u],docType:ve.PART});if(b){let y=b[u][0],w=y&&y.title,x=y&&y.uuid;w&&w==(u&&u.toLowerCase())&&x&&m(e,"device-symbol-id",x)}}if(p&&!e["device-footprint-id"]){let b=t.owner||_o(),y=await Ze.getFootprintSearchList({isProject:b===C.currentProject.projectId,path:b,titles:[p]});if(y){let w=y[p][0],x=w&&w.title,S=w&&w.uuid;x&&x==(p&&p.toLowerCase())&&S&&m(e,"device-footprint-id",S)}}return e["device-symbol-id"]||(e[c]=""),e["device-footprint-id"]||(e[d]=""),e.path||(e.path=t.path),e.symbol_type=t.docType,mEo(e,l,{symbolDetail:null,footprintDetail:null}).then(async b=>{var x;let y=b.data;if(!y&&b.message)return Ot("error",b.message,void 0,!1);if(y&&y.success){(!t.hasOwnProperty("isImport")||t.isImport)&&Ot("info",'<span class="i18n">Device Import successfully:</span>'+u,void 0,!1);let S=(x=y.result.owner)==null?void 0:x.uuid;_s(S,"device",y.isModifyDevice)}else(!t.hasOwnProperty("isImport")||t.isImport)&&Ot("warn",'<span class="i18n">Device Import failed:</span>'+u,void 0,!1);return y},b=>{if((!t.hasOwnProperty("isImport")||t.isImport)&&Ot("error",'<span class="i18n">Device Import failed:</span>'+u+`\uFF0C<span class="i18n">${b.msg}</span>`),t.isDlg){let y=me.i18n(b.ret===1000001?"Device {value} duplicate name":b.enMsg,{value:u})||b.msg,w=me.i18n("Creation failed! {message}",{message:y});De({type:"error",msg:w,timer:3})}});function m(b,y,w){(Object.is(b[y],void 0)||Object.is(b[y],""))&&(b[y]=w)}function h(b,y,w,x){y.includes(w)||y.push(w),m(b,w,x)}}async function Huo(){let t=Oa.getInstance(),e=Oa.getImportFile(),i=t.activeType,o=t.styleChecked,r=Dj(e),n=t.expansionChecked,a=t.boardChecked,s=t.fileName,l=t.forSmt,c=t.forEngine,d=t.importChecked,u="easyeda-pro-2",p=uu.checkIsLegalType(e);if(i=="proeda"){if(!p.success){Dt({icon:"error",closed:!0,content:me.i18n(p.message)});return}if(d==="lib"||uu.checkIsLegalJLCEDAProfessionalLibType(e).success){CC({files:e});return}await pse()}else{let m=i;l?u=t.smtChecked:c&&(u="smt-engine-preview");let h={borderSource:a};m==="dxf"&&u==="smt-engine-preview"&&(h.defaultLayer={layerType:"OUTLINE",layerIndex:0,checked:!0}),m==="allegro_orcad"&&(h.isImportNotes=t.notesChecked.import_notes);let f=await yA(e,{decodingType:m});if(!f)return;let g=f.decodingData,b={useDefaultStyle:o=="system",viaSolderExpansion:n,isSimple:mt.getSymbolLibManage()==="1"},y=this.projectName,w=await RT({decodingOptions:{decodingType:m,decoderOptions:h,decodingData:g},encodingOptions:{encodingType:u,encoderOptions:b},projectName:y});if(m=="altium"?Pl("13",s,!1):m=="kicad"?Pl("15",s,!1):m=="eagle"?Pl("14",s,!1):m=="pads"?Pl("16",s,!1):m=="protel"?Pl("17",s,!1):m=="ltspice"?Pl("18",s,!1):m=="easyeda-pro-2"?Pl("19",s,!1):m=="easyeda"?Pl("20",s,!1):m=="allegro_orcad"&&Pl("25",s,!1),!w){Ut({type:"error",message:"The imported file format incorrect or doesn't match current type, please re-select and import."});return}if(w.code=="conversion-interrupted")return;if(w.code!="success"){let S=me.i18n("Convert abnormalities, wrong code:")+w.code;Ut({type:"error",message:S});return}let x=w.result;l||c?Jtn(x):qtn(x)}}function pse(t){if(t&&(0,ite.default)(t).hasClass("disabled"))return;if(Oa.store.activeType==="proeda"){let g=Oa.getImportFile();if(Dj(g)||Ztn(g))return TEo()}var i=Oa.getInstance().importChecked;let o=Oa.getProjectConfig();if(!o)return Ut({type:"error",message:"No Result!"});let r=o.schematics,n=o.pcbs,a=Object.keys(r).length,s=n.length,l=a+s,c=o.symbols,d=o.footprints,u=c.length+d.length;if(!l&&u&&(i="lib"),i==="file"){if(l==0)return Ut({type:"error",message:"The imported file format incorrect or doesn't match current type, please re-select and import."});C.fileLibImportOption=!1,f(),wP(o),p()}else if(i==="lib"){if(u==0)return Ut({type:"error",message:"No library files are detected for extraction, please reselect and import."});CP(()=>{C.fileLibImportOption=!1,m(),p()})}else CP(()=>{C.fileLibImportOption=!0,h(),p()});function p(){Oa.closeDialog(),Oa.setProjectConfig(null)}function m(){let g={devices:o.devices.filter(b=>!(b.attributes.Footprint&&!b.attributes.Symbol)),symbols:c,footprints:d,project:o};Xtn(g)}function h(){var T,M,I;let g=ue.deepClone(o),b=((T=o.devices)==null?void 0:T.length)||0,y=((M=o.symbols)==null?void 0:M.length)||0,w=((I=o.footprints)==null?void 0:I.length)||0;if(b+y+w===0){new Fi({type:"warn",msg:"There is no available library"}),Ut({icon:"question",title:"Confirm",type:"confirm",message:"Click Confirm to continue with the import",onConfirm:()=>{wP(g)}});return}m();let S=Qb.getInstance();S.openFilesLater=!0,S.project=g}function f(){let g=o.devices||[],b=[],y=[],w={};o.symbols.concat(o.footprints).forEach(x=>{w[x.uuid]=x}),g.forEach(x=>{w[x.attributes.Symbol]&&(b.push(w[x.attributes.Symbol]),w[x.attributes.Symbol]=null),w[x.attributes.Footprint]&&(y.push(w[x.attributes.Footprint]),w[x.attributes.Footprint]=null)}),o.symbols=b,o.footprints=y}}async function fJ(t,e,i,o=!1){var h,f;let r=Oa.getInstance();if(!r.needBind)return;Oa.getInstance().needBind=!1;let n=r.activeType=="proeda",a=n?Utn(t):(h=t.extension)==null?void 0:h.recordDeviceBindFt3DInfo,s=e&&e.deviceMap||{},l=e&&e.pcbMap||{},c=e&&e.footprintMap||{},d=e&&e.symbolMap||{},u=n?await Ktn(t,c,i):(f=t.extension)==null?void 0:f.recordComponentBindFt3DInfo,p=r.footprintAnd3DModelChecked["auto-associate-footprint"].checked,m=r.footprintAnd3DModelChecked["auto-associate-3dModel"].checked;if(p||m){let g=t.devices||[],b=new Map;Vtn(p,m,g,a,b,s);let{fts:y,models:w,deviceData:x}=await Htn(b,i,u);await Ytn(y,i,o),await Wtn(x,b,w,y,a,s,i),await Qtn(m,t.pcbs||[],u,w,i,l)}}function Utn(t){var n;let{devices:e,symbols:i,footprints:o}=t,r={};if(!e)return r;for(let a of e){let s=i.find(c=>c.uuid==a.attributes.Symbol),l=((n=o.find(c=>c.uuid==a.attributes.Footprint))==null?void 0:n.title)||"";(s==null?void 0:s.type)!=ve.SHEET_SYMBOL&&(r[a.uuid]={footprintName:l,uuid_3d:a.attributes["3D Model"]||"",title_3d:a.attributes["3D Model Title"]||"",transform_3d:a.attributes["3D Model Transform"]||""})}return r}function Vtn(t,e,i,o,r,n){for(let a of i){if(t&&!a.attributes.Footprint){if(!(o!=null&&o[a.uuid]))continue;let{footprintName:s}=o[a.uuid];if(s){let l=r.get(n[a.uuid]);if(l){let c=Object.assign(l,{footprintName:s});r.set(n[a.uuid],c)}else n[a.uuid]&&r.set(n[a.uuid],{footprintName:s})}}if(e){if(!(o!=null&&o[a.uuid]))continue;let{footprintName:s,title_3d:l,uuid_3d:c,transform_3d:d}=o[a.uuid],u=[];l&&u.push(l),s&&u.push(s),a.title&&u.push(a.title);let p={"3D Model":c,"3D Model Title":u,"3D Model Transform":d},m=r.get(n[a.uuid]);if(m){let h=Object.assign(m,p);r.set(n[a.uuid],h)}else n[a.uuid]&&r.set(n[a.uuid],p);if(c){let h=ue.splitComponentId2FolderAndFilenameMixin(c,!0),f=!1;if(Je){if(!h.isLocaleFilenameMode)if(f=!0,m){let g=Object.assign(m,{...p,...h});r.set(n[a.uuid],g)}else n[a.uuid]&&r.set(n[a.uuid],{...p,...h})}else if(h.isLocaleFilenameMode){if(f=!0,h.componentTitleOrId){let g=h.componentTitleOrId.replace(/\.step/i,"");!p["3D Model Title"].includes(g)&&p["3D Model Title"].unshift(g)}if(m){let g=Object.assign(m,{...p,...h});r.set(n[a.uuid],g)}else n[a.uuid]&&r.set(n[a.uuid],{...p,...h})}!f&&(a.attributes["3D Model"]||a.attributes["3D Model Title"])&&r.delete(n[a.uuid])}}}}async function Htn(t,e,i){let o=new Set,r=new Set;for(let[l,c]of t.entries())if(c.footprintName&&o.add(c.footprintName),c["3D Model Title"])for(let d of c["3D Model Title"])d&&r.add(d);for(let l in i){let c=i[l];for(let d in c){let u=c[d],{footprintName:p,deviceName:m,title_3d:h}=u;for(let f of[h,p,m])if(f){let g=f.replace(/^.+?[\/\\]([^\/\\]+?)(\.[^\.\/\\]*?)?$/gi,"$1");r.add(g)}}}let n=await bEo(Array.from(o),ve.FOOTPRINT),a=await bEo(Array.from(r),ve.PCBLIB3D),s=await Gtn([...t.keys()],e);return{fts:n,models:a,deviceData:s}}async function bEo(t,e){let i={};if(!t.length)return i;let o=Tr.classificationList.map(r=>{let n=r.uuid;return r.uuid=="project"&&(n=C.currentProject.projectId||r.uuid),n});return i=await VFe(t,o,e),i}async function Gtn(t,e){let i=[];for(let o of t){let r=await Ze.getDevice({isProject:e===C.currentProject.projectId,path:e,uuid:o});i.push(r)}return i}async function Ytn(t,e,i=!1){for(let o in t){let r=t[o][0],n=r.owner.uuid,a=await Ze.getFootprint({isProject:n===C.currentProject.projectId,path:n,uuid:r.uuid}),s=a.dataStr,l={title:r.display_title,description:r.description,docType:r.docType||a.docType||ve.FOOTPRINT,dataStr:s,owner:i?e:r.owner.uuid,source:r.source,project_uuid:i?"":e,path:e};if(r){let c=await Ze.createFootprint({isProject:!0,path:e,footprint:{data:l}});t[o]=[c]}}}async function Wtn(t,e,i,o,r,n,a){var l;let s=[];if(t&&t.length)for(let[c,d]of e.entries()){let u;for(let h of d["3D Model Title"])if(i[h]&&i[h].length){u=i[h];break}let p=t.find(h=>h.uuid==c),m=!1;if(o[d.footprintName]&&(p.attributes.Footprint=o[d.footprintName][0].uuid,p.footprint=o[d.footprintName][0],m=!0),u)p.attributes["3D Model"]=Je?`${u[0].fileName}|${u[0].path}`:u[0].uuid,p.attributes["3D Model Title"]=Je?`${u[0].path}\\${u[0].fileName}`:u[0].display_title,m=!0;else if(!p.attributes["3D Model"]&&d["3D Model"]&&(p.attributes["3D Model"]=d["3D Model"],m=!0),!p.attributes["3D Model Title"]){let h=Object.keys(n).find(g=>n[g]==c),f;h&&(f=(l=r[h])==null?void 0:l.title_3d),f&&(p.attributes["3D Model Title"]=f,m=!0)}m&&(p.tags=Nv(p.tags),s.push(p))}if(s.length)for(let c of s)await Ze.updateDevice({isProject:!0,path:a,uuid:c.uuid,device:{data:c}})}async function Qtn(t,e,i,o,r,n){if(t){if(Object.keys(n).length===0)return;let a=e.map(c=>n[c.uuid]),s={docType:ve.PCB,uuids:a,projectId:r},{message:l}=await C.messageBus.rpcCall(Ei.DOCUMENT.LIST,s);if(l.success)for(let c of l.result){c.dataStr=(await C.messageBus.rpcCall("/pro-mgr/getDataStr",c)).message||"";let d=!1,u=c.uuid,p=c.dataStr&&c.dataStr.split(`
`);for(let f=0;f<p.length;f++){let g=p[f];if(!g)continue;let b=JSON.parse(g);if(b[0]=="COMPONENT"){let y=Object.keys(b[7]).includes("3D Model"),w=Object.keys(n).find(I=>n[I]===c.uuid);if(!i[w]||!i[w][b[1]])continue;let{footprintName:x,deviceName:S,title_3d:T}=i[w][b[1]],M;for(let I of[T,x,S])if(I){let A=I.replace(/^.+?[\/\\]([^\/\\]+?)(\.[^\.\/\\]*?)?$/gi,"$1");if(o[A]&&o[A].length){M=o[A];break}}if(!y)M&&(b[7]["3D Model"]=Je?`${M[0].fileName}|${M[0].path}`:M[0].uuid,b[7]["3D Model Title"]=Je?`${M[0].path}\\${M[0].fileName}`:M[0].display_title,d=!0);else{let I=ue.splitComponentId2FolderAndFilenameMixin(b[7]["3D Model"],!0);Je?I.isLocaleFilenameMode||M&&(b[7]["3D Model"]=`${M[0].fileName}|${M[0].path}`,b[7]["3D Model Title"]=`${M[0].path}\\${M[0].fileName}`,d=!0):I.isLocaleFilenameMode&&M&&(b[7]["3D Model"]=M[0].uuid,b[7]["3D Model Title"]=M[0].display_title,d=!0)}}p.splice(f,1,JSON.stringify(b))}let h={dataStr:p.join(`
`),uuid:u,projectId:r};if(d){let{message:f}=await C.messageBus.rpcCall(Ei.DOCUMENT.UPDATE,h);if(f.success){let g=lo(u);if(!he.getTabById(g))return;let{ticket:y="",updateTime:w=""}=f.result||{};he.setTabTicket([g],y),he.setTabUpdatedAt([g],w)}}}}}async function Ktn(t,e,i){var a,s,l,c,d,u;let o=t.pcbs||[],r={},n={};for(let p of o){let m=p.uuid;r[m]||(r[m]={});let h=p.dataStr&&p.dataStr.split(`
`);for(let f=0;f<h.length;f++){let g=h[f];if(!g)continue;let b=JSON.parse(g);if(b[0]=="COMPONENT"&&(r[m][b[1]]||(r[m][b[1]]={}),b[7]["3D Model"]&&(r[m][b[1]].uuid_3d=b[7]["3D Model"]),b[7]["3D Model Title"]&&(r[m][b[1]].title_3d=b[7]["3D Model Title"]),b[7]["3D Model Transform"]&&(r[m][b[1]].transform_3d=b[7]["3D Model Transform"])),b[0]=="ATTR"){if(r[m][b[3]]||(r[m][b[3]]={}),b[7]=="Footprint"){let y=t.footprints.find(x=>x.uuid==b[8]),w=y==null?void 0:y.title;w&&(r[m][b[3]].footprintName=w)}if(b[7]=="Device"){let y=t.devices.find(x=>x.uuid==b[8]),w=y==null?void 0:y.title;w&&(r[m][b[3]].deviceName=w),!r[m][b[3]].uuid_3d&&((a=y==null?void 0:y.attributes)!=null&&a["3D Model"])&&(r[m][b[3]].uuid_3d=(s=y==null?void 0:y.attributes)==null?void 0:s["3D Model"]),!r[m][b[3]].title_3d&&((l=y==null?void 0:y.attributes)!=null&&l["3D Model Title"])&&(r[m][b[3]].title_3d=(c=y==null?void 0:y.attributes)==null?void 0:c["3D Model Title"]),!r[m][b[3]].transform_3d&&((d=y==null?void 0:y.attributes)!=null&&d["3D Model Transform"])&&(r[m][b[3]].transform_3d=(u=y==null?void 0:y.attributes)==null?void 0:u["3D Model Transform"])}}}}return r}async function cBe(t,e,i,o,r){var f,g,b,y;let n=Yre(t,t.title);i&&(n.tags=i);let a=w=>{Ot("error",w.message)},s={schematicMap:{},symbolMap:{},pathMap:{},footprintMap:{},deviceMap:{},sheetMap:{},pcbMap:{},panelMap:{},copperPourMap:{},uuid:""},l,c=new Map,d=(await FJ([t],"component",o,void 0,a))[0];if(d)if(d.success)l=d.result.uuid,s.symbolMap={[t.uuid]:l},Ot("info",'<span class="i18n" i18n-params-nums="1">{nums} symbols import successfully</span>:'+d.result.display_title,void 0,!1);else if(d.code==Pm.DUPLICATE_DATA||d.code===Pm.DUPLICATE_DATA1){let w=await aD([t.title],ve.PART,t.owner);if(w&&typeof w=="object"){let x=(f=r==null?void 0:r.symbols[0])==null?void 0:f.uuid;l=w[t.title][0].uuid,s.symbolMap=x?{[x]:l}:{},c.set(t.title,n.display_title)}}else{let w=Ti(Mp(d)),x=Ti("Import Symbol")+"\uFF1A"+d.data.title+Ti("failed")+"\uFF0C"+w;Ot("error",x)}let u,p=(await FJ([e],"component",o,void 0,a))[0],m=new Map;if(p)if(p.success)u=p.result.uuid,s.footprintMap={[e.uuid]:u},Ot("info",'<span class="i18n" i18n-params-nums="1">{nums} footprints import successfully</span>:'+p.result.display_title,void 0,!1);else{let x=Oa.getInstance().footprintAnd3DModelChecked["auto-associate-footprint"].checked;if((p.code==Pm.DUPLICATE_DATA||p.code===Pm.DUPLICATE_DATA1)&&x){let S=await aD([e.title],ve.FOOTPRINT,e.owner);if(S&&typeof S=="object"){let T=(g=r==null?void 0:r.footprints[0])==null?void 0:g.uuid;u=S[e.title][0].uuid,s.footprintMap=T?{[T]:u}:{},m.set(e.title,n.display_title)}}else{let S=Ti(Mp(p)),T=Ti("Import Footprint")+"\uFF1A"+p.data.title+Ti("failed")+"\uFF0C"+S;Ot("error",T)}}if(!d.success&&!c.size)return;n.attributes=Object.assign(((b=r==null?void 0:r.devices[0])==null?void 0:b.attributes)||{},n.attributes,{Symbol:l,Footprint:u});let h=(await FJ([n],"device",o,void 0,a))[0];if(h)if(h.success){let w=(y=r==null?void 0:r.devices[0])==null?void 0:y.uuid;if(s.deviceMap=w?{[w]:h.result.uuid}:{},await fJ(r.project,s,o,!0),Ot("info",'<span class="i18n" i18n-params-nums="1">{nums} devices import successfully</span>:'+h.result.display_title,void 0,!1),m.size){let x="Already exist the same name footprint library {0},\xA0below\xA0device(s) binding with existed footprint:\xA0{1}";for(let[S,T]of m.entries())Ot("info",Ti(x,{params:{0:S,1:T}}))}if(c.size){let x="Already exist the same name symbol library {0},\xA0below\xA0device(s) binding with existed symbol:\xA0{1}";for(let[S,T]of c.entries())Ot("info",Ti(x,{params:{0:S,1:T}}))}}else{let w=Ti(Mp(h)),x=Ti("Import Device")+"\uFF1A"+h.data.title+Ti("failed")+"\uFF0C"+(h.code===Pm.DUPLICATE_DATA1?Ti("Library duplicate name"):w);Ot("error",x)}}function yme(t){if(!t)return!1;let e=t.match(/\.([^\.]+?)$/),i=Oa.getInstance();if(e){let o=e[1];if(["esym","efoo","epanl","edra","kicad_sym","kicad_mod","d","c","asy","lib","xml","mod"].includes(o))return i.updateImportRadioChecked("file"),i.updateImportRadioDisable("lib",!0),i.updateImportRadioDisable("file&amp;lib",!0),!0}return i.updateImportRadioDisable("lib",!1),i.updateImportRadioDisable("file&amp;lib",!1),!1}function Dj(t){if(!t)return!1;let i=Array.prototype.slice.call(t)[0].name;return i.indexOf(Lo.ZIP)>-1||i.indexOf(Lo.PRJ)>-1||i.indexOf(Lo.PRJ2)>-1||i.indexOf(Lo.ELIBZ)>-1||i.indexOf(Lo.ELIBZ2)>-1?(Oa.setImportFile(t),!0):!1}function Ztn(t){if(!t)return!1;let i=Array.prototype.slice.call(t)[0].name;return i.indexOf(Lo.SYMBOL)>-1||i.indexOf(Lo.FOOTPRINT)>-1||i.indexOf(Lo.PANEL_LIB)>-1?(Oa.setImportFile(t),!0):!1}async function TEo(t){if(t=t||Oa.getImportFile(),!t)return Ut({type:"error",message:"You have not selected a file to upload."});if(Array.isArray(t)){let n=0;t.forEach(s=>n+=s.size||0);let a=1*1024*1024;if(a>0&&n/1024>a)return Ut({type:"error",message:"Exceeded the maximum allowed file size: {size}!",params:{size:Math.round(a/1024)+"MB"}})}let e=Array.prototype.slice.call(t);if(!Dj(t)){await p5t(t,!0);return}let i=e[0].name,r=Oa.getInstance().importChecked;if(r!="lib")try{let n=(await C.messageBus.rpcCall("/pro-mgr/getFileNameArrByJSZip",t)).message,a=n.indexOf("device.json")>=0||n.indexOf("device2.json")>=0,s=n.indexOf("symbol.json")>=0||n.indexOf("symbol2.json")>=0,l=n.indexOf("footprint.json")>=0||n.indexOf("footprint2.json")>=0,c=n.indexOf("panel-lib.json")>=0||n.indexOf("panel-lib2.json")>=0;(a||s||l||c)&&(r="lib")}catch(n){console.warn("\u9884\u89E3\u6790\u538B\u7F29\u5305\u6587\u4EF6\u5931\u8D25:",n)}if(r==="file")C.fileLibImportOption=!1,bme(t);else{let c=function(){let u,p;return Je&&(u=C.clientTeamList,p=u.length>0&&u.some(m=>!m.system),!p)?(Ut({type:"confirm",message:"The library does not exist yet, please create it first!",showCancel:!0,onConfirm:()=>{Gg()}}),!1):!0},d=function(){var b,y,w;let u=ue.deepClone(s),p=((b=s.devices)==null?void 0:b.length)||0,m=((y=s.symbols)==null?void 0:y.length)||0,h=((w=s.footprints)==null?void 0:w.length)||0;if(p+m+h===0){new Fi({type:"warn",msg:"There is no available library"}),Ut({icon:"question",title:"Confirm",type:"confirm",message:"Click Confirm to continue with the import",onConfirm:()=>{wP(u)}});return}let g=Qb.getInstance();g.openFilesLater=!0,g.project=u,g.proFile=!0},n=e[0],a=(await C.messageBus.rpcCall(qr.UNZIP,{file:n})).message;if(!a.success)return Ot("error",a.message);let s=a.result,l=s.footprints;if(r==="lib"){if(!c())return}else{if(!c())return;C.fileLibImportOption=!0,d()}}Oa.closeDialog(),Oa.setImportFile(null)}async function wP(t){var c,d;if(!t)return;let e=t.schematics,i=t.pcbs,o=Object.keys(e).length,r=i.length,n=C.currentProject.projectId,a=await dEi(t),s=Qb.getInstance();if(s.proFile){c5e(t),s.proFile=!1;return}US({dlgType:"importOtherFormatData",projectName:t.config.title,projectData:t,dlgTitle:"Import Document"}),ku.setProjectMsg(((c=C.currentProject)==null?void 0:c.title)||"",((d=C.currentProject)==null?void 0:d.projectId)||"")}async function eTt(t,e,i){var h,f,g,b,y,w;if(!t)return;C.messageBus.publish("bottomBarLogGroupStart","");let o=(h=t.extension)==null?void 0:h.renameSymbols,r=e&&e.sheetMap||{},n=e&&e.pcbMap||{},a=(e==null?void 0:e.uuid)||"";if(o)for(let x in o){let S=o[x],T=[],M=!1,I="",A="";if(S.forEach(D=>{let E=r[D.pageUUid]||n[D.pageUUid];if(!E)return;M=!!r[D.pageUUid],I=D.libTitle,A=D.oldLibTitle;let N=M?{text:D.designator||D.componentId||D.libTitle,attr:{id:D.componentId,sheet:E,type:"rect",path:a}}:{text:D.designator||D.componentId||D.libTitle,attr:{id:D.componentId,pcbid:lo(E,C.currentProject.projectId),path:a}};T.push(N)}),T.length>0){let E=`Found that the ${M?"symbols":"footprints"} have the same name\xA0{0} but different shape, one of them have been renamed as {1}. Related devices are :`,v=[`<span class="i18n" ${` i18n-params-0="${A}"  i18n-params-1="${I}"`}>${E}</span>`];T.forEach((k,P)=>{v.push(P==0?" ":", ",k)}),Ot("warn",v,"Log",1)}}let s=(f=t.extension)==null?void 0:f.devicesOfRepeatPadNumber;if(s)for(let x in s){let S=s[x],T=[],M=!1;if(S.forEach(I=>{let A=r[I.pageUUid]||n[I.pageUUid];if(!A)return;M=!!r[I.pageUUid];let D=M?{text:I.designator||I.componentId,attr:{id:I.componentId,sheet:A,type:"rect",path:a}}:{text:I.designator||I.componentId,attr:{id:I.componentId,pcbid:lo(A,C.currentProject.projectId),path:a}};T.push(D)}),T.length>0){let D=['<span class="i18n">Found some component pads with the same number but different nets, after importing these pads will take one of these nets, please check:</span>'];T.forEach((E,N)=>{D.push(N==0?" ":", ",E)}),Ot("warn",D,"Log",1)}}let l=(g=t.extension)==null?void 0:g.componentLayerFixedMap;if(l)for(let x in l){let S=l[x],T=[],M=[],I=!1;if(S.forEach(A=>{let D=r[A.pageUUid]||n[A.pageUUid];if(!D)return;I=!!r[A.pageUUid];let E=I?{text:A.designator||A.componentId,attr:{id:A.componentId,sheet:D,type:"rect",path:a}}:{text:A.designator||A.componentId,attr:{id:A.componentId,pcbid:lo(D,C.currentProject.projectId),path:a}};(A.layerIsTop?T:M).push(E)}),T.length+M.length>0){if(T.length>0){let E=[`<span class="i18n">Found some components' layer is bottom layer but\xA0they inside object's layer is top layer, already fixed these components layer as top layer.</span>`];T.forEach((N,R)=>{E.push(R==0?" ":", ",N)}),Ot("warn",E,"Log",1)}if(M.length>0){let E=[`<span class="i18n">Found some components' layer is top layer but they inside object's layer is bottom layer, already fixed these components layer as bottom layer.</span>`];M.forEach((N,R)=>{E.push(R==0?" ":", ",N)}),Ot("warn",E,"Log",1)}}}let c=new Map,d=(b=t.extension)==null?void 0:b.componentMapOfPinNumbersReset,u=t.uuid;if(d)for(let x in d){let S=d[x],T=[],M=!1;for(let I=0;I<S.length;I++){let A=S[I],D=r[A.pageUUid]||n[A.pageUUid];if(!D)return;if(!c.get(D)){let{message:N}=await C.messageBus.rpcCall(Ei.DOCUMENT.GET,{uuid:D,projectId:u});N&&c.set(D,N.sheet_id)}M=!!r[A.pageUUid];let E=M?{text:`${A.designator||A.componentId}($${c.get(D)+A.componentId.slice(0,1).toUpperCase()+A.componentId.slice(2)})`,attr:{id:A.componentId,sheet:D,type:"rect",path:a}}:{text:`${A.designator||A.componentId}(${A.componentId})`,attr:{id:A.componentId,pcbid:lo(D,C.currentProject.projectId)}};T.push(E)}if(T.length>0){let D=['<span class="i18n">Found component(s) has empty pin number(s), already completed by pin name.</span>'];T.forEach((E,N)=>{D.push(N==0?" ":", ",E)}),Ot("warn",D,"Log",1)}}let p=(y=t.extension)==null?void 0:y.autoAddShortFlagsInfo;if(p)for(let x in p){let S=p[x],T=r[S.pageUUid];if(!T)return;if(!c.get(T)){let{message:M}=await C.messageBus.rpcCall(Ei.DOCUMENT.GET,{uuid:T,projectId:u});M&&c.set(T,M.sheet_id)}if(S.success.length){let M=[];for(let I of S.success){let A={text:`$${c.get(T)+"I"+I.replace(/[^\d]/g,"")}`,attr:{id:I,sheet:T,type:"rect",path:a}};M.push(A)}if(M.length>0){let D=['<span class="i18n">Found multiple net labels on the same wire, have add short flags to connect automatically.</span>'];M.forEach((E,N)=>{D.push(N==0?" ":", ",E)}),Ot("info",D,"Log",1)}}if(S.fail.length){let M=[];for(let I of S.fail)for(let A in I){let E={text:`${I[A]}($${c.get(T)+"N"+A.replace(/[^\d]/g,"")})`,attr:{id:A,sheet:T,type:"rect",path:a}};M.push(E)}if(M.length>0){let D=['<span class="i18n">Found multiple net labels on the same wire, failed to add short flags to connect automatically, please fix the connection manually.</span>'];M.forEach((E,N)=>{D.push(N==0?" ":", ",E)}),Ot("error",D,"Log",1)}}}(((w=t.extension)==null?void 0:w.logs)||[]).forEach(x=>{if(typeof x!="object"&&(x={type:"info",msg:x}),i&&x.type!=i)return;let S=`<span class="i18n">${x.msg}</span>`;Ot(x.type||"info",S,"Log",1)}),C.messageBus.publish("bottomBarLogGroupEnd","")}async function Ope(t,e){if(!t)return;let{pinCorrectionMap:i,layerCorrectionComponentMap:o,slotCorrectionMap:r,decodingData:n}=t,a=(e==null?void 0:e.footprintMap)||{},s=(e==null?void 0:e.sheetMap)||{},l=(e==null?void 0:e.pcbMap)||{},c=(e==null?void 0:e.uuid)||C.currentProject.projectId||"";if(C.messageBus.publish("bottomBarLogGroupStart",""),Pp(i,(d,u)=>{let p="",m=[];Kb(d,b=>{let{symbolId:y,pinName:w,pinNumber:x,shapeId:S}=b;p=b.symbolTitle,m.push({text:x,attr:{id:S,symbolid:lo(y,c),path:c}})});let h=m.length;if(!p||h==0)return;let g=[Ti("It was found that the symbol({symbolTitle}) had an empty or duplicate pin number. It has been automatically repaired or de-duplicated based on the pin name",{params:{symbolTitle:p}})];Kb(m,(b,y)=>{g.push(b),y!=h-1&&g.push(", ")}),Ot("warn",g,"Log",1)}),Pp(o,(d,u)=>{let p=[],m=[];if(Kb(d,h=>{let f=h.pageId,g=l[f]||f,b={text:h.designator||h.componentId,attr:{id:h.componentId,pcbid:lo(g,c),path:c}};(h.layerIsTop?p:m).push(b)}),p.length+m.length>0){if(p.length>0){let g=[`<span class="i18n">Found some components' layer is bottom layer but\xA0they inside object's layer is top layer, already fixed these components layer as top layer.</span>`];p.forEach((b,y)=>{g.push(y==0?" ":", ",b)}),Ot("warn",g,"Log",1)}if(m.length>0){let g=[`<span class="i18n">Found some components' layer is top layer but they inside object's layer is bottom layer, already fixed these components layer as bottom layer.</span>`];m.forEach((b,y)=>{g.push(y==0?" ":", ",b)}),Ot("warn",g,"Log",1)}}}),Pp(r,(d,u)=>{let p=new Map;Kb(d,m=>{let{footprintId:h,layerName:f,shapeId:g}=m,b=p.get(f);b||(b=[],p.set(f,b));let y={text:g,attr:{id:g,pcbid:lo(h,c),path:c}};b.push(y)}),gEo(p,(m,h)=>{let g=[Ti("The layer {layerName} exists abnormal Polygon\xA0Cutout data, already convert to\xA0Fill Region.",{params:{layerName:h}})],b=m.length;Kb(m,(y,w)=>{g.push(y),w!=b-1&&g.push(", ")}),Ot("warn",g,"Log",1)})}),n!=null&&n.errorSymbolData){let d=n.errorSymbolData.join(","),u=Ti("{number} symbols conversion failed[data compatible]:{symbolNames}.",{params:{number:n.errorSymbolData.length+"",symbolNames:d}});Ot("error",u,"Log",1)}C.messageBus.publish("bottomBarLogGroupEnd","")}function Jtn(t){if(!t){o();return}let e=t.files||[];if(typeof t.fingerprint=="object"){let r="fingerprints/";for(let n in t.fingerprint){let a=t.fingerprint[n],s=t.fileNameMap&&t.fileNameMap[n]||n+".json";t.files.push({fileName:r+s,source:JSON.stringify(a,void 0,2)})}}if(!e.length){o();return}let i=t.name||e[0].fileName.replace(/\.\w+$/,"");if(e.length===1)ya(e[0].source,e[0].fileName);else{let r=new yEo.default;e.forEach(n=>{r.file(n.fileName,n.source)}),r.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:9}}).then(function(n){let a=i+".zip";ya(n,a)})}Oa.closeDialog();function o(){Ut({type:"error",message:"Import data is empty!"}),Oa.closeDialog()}}async function SEo(t){var l;if(!t||!t.device||!t.symbol||!!!C.currentProject.projectId)return;let i=t.from==="system-setting",{message:o}=await C.messageBus.rpcCall($e.SHEET.GET_ALL_ARR,[void 0,C.currentProject.projectId]),r=o&&o.length>0,n=dt()===ve.SCH,a=n?Rr((l=he.getActiveTabData())==null?void 0:l.title):"",s=a?a.replace(/.*?\./,""):"";sGt({...t,id:"sheet-apply-scope",showProjectPreSetting:i,showSchematics:r,showCurrentPage:n,pageNameAndSchematicName:a,schematicName:s})}async function qtn(t){var o;let e=await Aat(t);if(!e)return;let i=(o=t==null?void 0:t.extension)==null?void 0:o.projectDataCount;i&&i.sheetSize+i.pcbSize==0&&i.symbolSize+i.footprintSize+i.deviceSize>0&&Oa.getInstance().changeImportChecked("lib"),await TEo([e])}function Xtn(t,e,i,o){var m,h,f,g;if(!t)return;let r=((m=t.devices)==null?void 0:m.length)||0,n=((h=t.symbols)==null?void 0:h.length)||0,a=((f=t.footprints)==null?void 0:f.length)||0,s=((g=t["panel-lib"])==null?void 0:g.length)||0,l=r+n+a;if(l===0&&s===0)return;if(r==0&&l==1){let b=a>0?t.footprints[0]:t.symbols[0];if(a>0)et("new_footprint",{fileInfo:{name:b.display_title||b.title,pre:b.pre||"",dataStr:b.dataStr,categoryName:Est(b.custom_tags),fileContent:o,action:"IMPORT"}});else{let y=Oa.getInstance(),w=Dj(Oa.getImportFile())||y.activeType=="proeda";lGt({dlgType:"import",dlgTitle:"Import Component",canSelectSymbolType:!1,symbolName:b.title,symbolDoctype:b.docType,importDataStr:b.dataStr,categoryName:Est(b.custom_tags),isProExport:w,importLibMap:t,fileContent:o})}return}if(r==1&&n==1&&a==1){let b=t.devices[0],y=t.symbols[0],w=t.footprints[0];if(b.attributes&&b.attributes.Symbol==y.uuid&&b.attributes.Footprint==w.uuid){dGt({dlgType:"IMPORT_DEVICE",importInfo:{symbol:t.symbols[0],device:t.devices[0],footprint:t.footprints[0]},fileContent:o});return}}let c=Qb.getInstance();c.loadDlgData(t,o);let d=c.chooseLibsTreeOption;switch(a==0&&d=="footprint"&&(c.chooseLibsTreeOption="device_symbol_footprint"),i){case"DEVICE":case"PROJECT":{c.chooseLibsTreeOption="device_symbol_footprint";break}case"SYMBOL":{c.chooseLibsTreeOption="symbol";break}case"FOOTPRINT":{c.chooseLibsTreeOption="footprint";break}}c.needShowSelect=!1;let p=Oa.getInstance().importChecked;(p=="lib"||p=="file&amp;lib")&&(c.needShowSelect=!1),i==="DEVICE"&&(c.needShowSelect=!1),C.fileLibImportOption?c.openFilesLater=!0:c.openFilesLater=!1,c.openDialog(),Zr(),c.importFileName=e}function I6e(){var t,e=0;(0,ite.default)(".easyui-dialog, .window-body").each(function(){var r=(0,ite.default)(this).closest(".window");if(r.is(":visible")){var n=Number(r.css("z-index")||0);n>e&&(t=(0,ite.default)(this),e=n)}});let i=gm(),o=i?(0,ite.default)(i):null;return $ee()?$ee()===(t==null?void 0:t.attr("id"))?t:o:t}function MEo(){ii("ocr-wizard")}var Ast=L(Se());var zE=L(z()),ote="",$tn=t=>{let e="messager-prompt-id",{content:i,defaultValue:o="",showConfirm:r=!0,showCancel:n=!0,showClose:a=!0,title:s,onConfirm:l,confirmText:c="Confirm",cancelText:d="Cancel",onCancel:u}=t;ote=o;let p=()=>{let h=J(),[f,g]=(0,Ast.useState)(ote);return(0,Ast.useEffect)(()=>{let b=C.messageBus.subscribe(`keyboard_${e}`,y=>{let{key:w}=y;w=="Enter"&&l(ote)!==!1&&le.close(e)});return()=>{b.cancel()}},[]),(0,zE.jsxs)(zE.Fragment,{children:[(0,zE.jsx)("div",{children:(0,zE.jsx)("span",{style:{marginLeft:"8px"},children:h(i)})}),(0,zE.jsx)(Kt,{defaultValue:o,value:f,onChange:b=>{b=b.trim(),g(b),(Number.isNaN(+b)||b==="")&&(b=sO("",b)?String(sO("",b)):ote),ote=b},onBlur:b=>{let y=b.target.value.trim();(Number.isNaN(+y)||y==="")&&(y=sO("",y)?String(sO("",y)):ote),ote=y,g(y)}})]})},m=()=>(0,zE.jsxs)("div",{children:[r&&(0,zE.jsx)(Me,{style:{minWidth:"72px",marginLeft:"8px"},type:"primary",onClick:()=>{l&&l(ote)!==!1&&le.close(e)},children:c}),n&&(0,zE.jsx)(Me,{style:{minWidth:"72px",marginLeft:"8px"},onClick:()=>{u&&u(),le.close(e)},children:d})]});return Dt({id:e,title:s,content:(0,zE.jsx)(p,{}),footer:(0,zE.jsx)(m,{}),closed:a})},vEo=$tn;async function tin(){try{let t=await ei(),e=await G0(),{message:i}=await C.windowBridge.rpcCall("FileSource","",t.contentWindow);wi?await C.messageBus.rpcCall(Ei.CLIENT.EXPORT_FILE,{blob:i,title:e,extension:Lo.FOOTPRINT,isExport:!1}):Hme(i.message,`${e}`,Lo.FOOTPRINT)}catch(t){console.warn(t)}}async function DEo(){let t=await cR(),e=Hd(t,Io.Doc_Adding),i=Rl.lists.length>0;if(e&&i){let{projectId:o,isCBB:r,title:n}=C.currentProject,{message:a}=await C.messageBus.rpcCall($e.PROJECT.COUNT_DOC,[o]);if(a)return;Ot("info",[Ti("The current project has no content and is creating a board for you.")]),r||await C.messageBus.rpcCall("new_board",{projectId:o,new_prj:!1,isCbb:r,title:n,isBlankPrj:!0}),await O6o(o)}else if(!e){let o={value:"No {0} permission,please contact project manager",options:{0:me.i18n("Create Document")}};De({type:"error",msg:o})}}async function yae(t,e,i){var l;let o=e?he.getTabById(e):he.getActiveTabData(),r=e||o.tabId,n=(l=o==null?void 0:o.data)==null?void 0:l.doctype,a=o.title;if((await C.messageBus.rpcCall("handleBeforeAsCloud",[n,r])).message)switch(t==="saveProjectFile"&&(n=ve.SCH),n){case ve.FOOTPRINT:if(await ei()){let{uuid:x,path:S}=he.getUuidAndPathByTab(r),T=S==C.currentProject.projectId,M=await Ze.getFootprint({isProject:T,path:S,uuid:x});if(!M)return Ot("error",Ti("Unable to get footprint data!"));Wve(T,M,{triggeFrom:i})}break;case ve.BLOCK_SYMBOL:A3({dlgTitle:"Save as...",projectName:a});break;case ve.BLANKTAB:case ve.SCH:case ve.PCB:case ve.PANEL:case ve.ASSEMBLY_VARIANT:case ve.NGSPICE:case ve.SIMULIDE:let{message:d}=await C.messageBus.rpcCall($e.PROJECT.GET,[C.currentProject.projectId]),{cbb_project:u,introduction:p,content:m,tags:h}=d,f=JSON.parse(uK({tags:h})).join(":");US({dlgType:"saveAs",dlgTitle:"Project Save as",projectName:C.currentProject.title+"_copy",isFrom:t,defaultIntroduction:p,defaultDescription:m,defaultTags:f,cbb_project:u});break;default:let{uuid:g,path:b}=he.getUuidAndPathByTab(r),y=b===C.currentProject.projectId,w=await Ze.getSymbol({isProject:y,path:b,uuid:g});if(!w)return Ot("error",Ti("Unable to get symbol data!"));yP({dlgTitle:"Document Save as",symbolDoctype:n||ve.PART,symbolName:a,hideSymbolType:!0,detailData:w});break}}async function wae(t,e,i){var a;let o=e?he.getTabById(e):he.getActiveTabData(),r=e||((a=o==null?void 0:o.data)==null?void 0:a.doctype),{projectId:n}=C.currentProject;switch(t==="saveProjectFile"&&(r=ve.SCH),r){case ve.SCH:case ve.PCB:case ve.PANEL:case ve.BLANKTAB:case ve.ASSEMBLY_VARIANT:case ve.NGSPICE:case ve.SIMULIDE:if(!n){De({type:"info",msg:"Please open the project first!"});return}let{message:s}=await C.messageBus.rpcCall($e.PROJECT.GET,[n]),l=qB(s.name,s.cbb_project);bw.saveAsLocalFileName=l,Je||(bw.dialogTitle="Project Save as (Local)",ii("projectSaveAsLocalDialog")),Je&&(bw.dialogTitle="Project Save as (Local)",ii("projectSaveAsLocalDialog"));break;case ve.FOOTPRINT:tin();break;default:rte();break}}async function W8(t){let{devices:e,symbols:i,footprints:o,panelLibs:r}=t,n=(e==null?void 0:e.length)||(i==null?void 0:i.length)||(o==null?void 0:o.length)||(r==null?void 0:r.length);SL.dialogTitle="Library Save as (Local)",SL.saveAsLocalFileName=`ProLib_${n}pcs_${ue.formatDate2(new Date,"y-m-d")}`,SL.datas=t,ii("librarySaveAsLocalDialog")}async function Nst(t){var o,r;let e=0,i="";if(t)if(e=t.boards.length+t.schematics.length+t.pcbs.length+t.panels.length+t.simulationIds.length+t.schs.reduce((n,a)=>n+a.sheets.length,0),e>1)i=C.currentProject.title;else if(e===1)t.boards.length&&(i=t.boards[0].name),!i&&t.schematics.length&&(i=t.schematics[0].name),!i&&t.pcbs.length&&(i=t.pcbs[0].name),!i&&t.panels.length&&(i=t.panels[0].name),!i&&t.schs.length&&(i=t.schs[0].sheets[0].name),!i&&t.simulationIds.length&&(i=t.simulationIds[0].name);else return;else{t={boards:[],schematics:[],schs:[],pcbs:[],panels:[],simulationIds:[]};let n=he.getActiveTabData(),a=n.tabId,s=(o=n==null?void 0:n.data)==null?void 0:o.doctype;if(!(await C.messageBus.rpcCall("handleBeforeAsCloud",[s,a])).message)return;switch(e=1,i=he.getTabTitle(a),s){case ve.SCH:let c=((n==null?void 0:n.data)||{})["data-schematic-uuid"],d=(r=n==null?void 0:n.data)==null?void 0:r.schematicName;t.schs.push({name:d,uuid:c,sheets:[{name:i,uuid:a}]});break;case ve.PCB:t.pcbs.push({name:i,uuid:a});break;case ve.PANEL:t.panels.push({name:i,uuid:a});break;case ve.SIMULIDE:case ve.NGSPICE:t.simulationIds.push({name:i,uuid:a});break;case ve.PANEL_LIB:{let{uuid:p,path:m}=he.getUuidAndPathByTab(a),h=m===C.currentProject.projectId,f=await Ze.getPanelLib({isProject:h,path:m,uuid:p});return f?et("open_create_panel_lib_dialog",{dlgTitle:"Document Save as",display_title:i,uuid:f.uuid,path:f.path,dlgType:"asCloud"}):Ot("error",Ti("Unable to get component data!"))}case ve.FOOTPRINT:if(await ei()){let{uuid:p,path:m}=he.getUuidAndPathByTab(a),h=m===C.currentProject.projectId,f=await Ze.getFootprint({isProject:h,path:m,uuid:p});if(!f)return Ot("error",Ti("Unable to get footprint data!"));Wve(h,f)}return;case ve.BLOCK_SYMBOL:A3({dlgTitle:"Document Save as",projectName:i});return;default:{let p=(await C.messageBus.rpcCall("sch/getDeviceDetail")).message;if(mt.getSymbolLibManage()=="1"&&(p!=null&&p.uuid))return Qve(p);let{uuid:m,path:h}=he.getUuidAndPathByTab(a),f=h===C.currentProject.projectId,g=await Ze.getSymbol({isProject:f,path:h,uuid:m});if(!g)return Ot("error",Ti("Unable to get symbol data!"));yP({dlgTitle:"Document Save as",symbolDoctype:s||ve.PART,symbolName:i,hideSymbolType:!0,hideImportRadio:!0,detailData:g});return}}}US({dlgType:"saveAs",dlgTitle:"Document Save as",projectName:i,relateData:t})}async function jfe(t){var l,c;let e=he.getActiveTabData(),i=e.tabId,o=(l=e==null?void 0:e.data)==null?void 0:l.doctype,r,{projectId:n}=C.currentProject,a=0,s="";if(t)if(a=t.boards.length+t.schematics.length+t.pcbs.length+t.panels.length+t.schs.reduce((d,u)=>d+u.sheets.length,0)+t.simulationIds.length,a>1)s=C.currentProject.title;else if(a===1)t.boards.length&&(s=t.boards[0].name),!s&&t.schematics.length&&(s=t.schematics[0].name),!s&&t.pcbs.length&&(s=t.pcbs[0].name),!s&&t.panels.length&&(s=t.panels[0].name),!s&&t.schs.length&&(s=t.schs[0].sheets[0].name),!s&&t.simulationIds.length&&(s=t.simulationIds[0].name);else return;else{t={boards:[],schematics:[],schs:[],pcbs:[],panels:[],simulationIds:[]},a=1,s=he.getTabTitle(i);let{uuid:d,path:u}=he.getUuidAndPathByTab(i);switch(o){case ve.SCH:let p;ol(d)?p=(await C.messageBus.rpcCall("getInstanceSheetUuid",d)).message:p=d;let m=((e==null?void 0:e.data)||{})["data-schematic-uuid"],h=(c=e==null?void 0:e.data)==null?void 0:c.schematicName;t.schs.push({name:h,uuid:m,sheets:[{name:s,uuid:p}]});break;case ve.PCB:t.pcbs.push({name:s,uuid:d});break;case ve.PANEL:t.panels.push({name:s,uuid:d});break;case ve.SIMULIDE:case ve.NGSPICE:t.simulationIds.push({name:s,uuid:d});break;case ve.PANEL_LIB:case ve.FOOTPRINT:default:return}}return{selectData:t,title:s}}function uP(t){let e={};return t.boards&&t.boards.length&&(e.boardIds=t.boards.map(i=>i.uuid)),t.schematics&&t.schematics.length&&(e.schematicIds=t.schematics.map(i=>i.uuid)),t.schs&&t.schs.length&&(e.schs=t.schs.map(i=>({uuid:i.uuid,sheets:i.sheets.map(o=>wr(o.uuid)[0])}))),t.pcbs&&t.pcbs.length&&(e.pcbIds=t.pcbs.map(i=>wr(i.uuid)[0])),t.panels&&t.panels.length&&(e.panelIds=t.panels.map(i=>wr(i.uuid)[0])),t.simulationIds&&t.simulationIds.length&&(e.simulationIds=t.simulationIds.map(i=>wr(i.uuid)[0])),e}async function kst(t){var n;let e=he.getActiveTabData(),i=e.tabId,o=(n=e==null?void 0:e.data)==null?void 0:n.doctype,r=he.getTabTitle(i);if(o===ve.PANEL_LIB)return rte(r);if(o===ve.FOOTPRINT)return rte(r);if([ve.PANEL_LIB,ve.FOOTPRINT].indexOf(o)>=0||pr(o)){let a=(await C.messageBus.rpcCall("sch/getDeviceDetail")).message;if(mt.getSymbolLibManage()=="1"&&(a!=null&&a.uuid)){let[s,l]=wr(he.getActiveTab());return COe(a.uuid,l)}return rte(r)}else{let{selectData:a,title:s}=await jfe(t);if(bw.dialogTitle="Document Save as (Local)",bw.docSaveAsLocalData=a,Je)bw.saveAsLocalFileName=s,ii("projectSaveAsLocalDialog");else{let l=ue.formatDate2(new Date,"y-m-d");bw.saveAsLocalFileName=`ProDoc_${s}_${l}`,ii("projectSaveAsLocalDialog")}}}async function GKi(t,e){return e=e.replace(/[*:;"|\/\\<>?\r\n\t]|\.\./g,"_"),await rte(e,void 0,t)}async function YKi(t,e,i=null){let o="saveAsLocal-time";return await rte(e,i,t)}async function rte(t,e,i,o=!1){var y;let r=he.getActiveTabData(),n=r.tabId,[a,s]=wr(n),l=(y=r==null?void 0:r.data)==null?void 0:y.doctype,c=t||he.getTabTitle(n),d=C.currentProject?C.currentProject.projectId===s:!1;if(l===ve.PANEL_LIB)return rfe(a,s);if(l===ve.FOOTPRINT)return D0e(a,s);if(pr(l))return v0e(a,s);e&&await C.messageBus.rpcCall("/pro-mgr/savePassword",[C.currentProject.projectId,e]);let{selectData:u,title:p}=await jfe(i),m=ue.formatDate2(new Date,"y-m-d"),h=t||`ProDoc_${p}_${m}`,f=uP(u),g={name:h,uuid:C.currentProject.projectId,analyzeReuseBlock:!0,...f};if(o){let{message:w}=await C.messageBus.rpcCall(qr.EXPORT_DOCUMENT,g);return w}let{message:b}=await C.messageBus.rpcCall(qr.DOWNLOAD_DOCUMENT,g).finally(()=>{vt(1,"")});if(b.success){let w=[];for(let x=0;x<u.schs.length;x++)for(let S=0;S<u.schs[x].sheets.length;S++)w.push({"Schematic Name":u.schs[x].name,"Sheet Name":u.schs[x].sheets[S].name});for(let x=0;x<u.schematics.length;x++)w.push({"Schematic Name":u.schematics[x].name});w.push(...u.panels.map(x=>({"Panel Name":x.name}))),w.push(...u.pcbs.map(x=>({"PCB Name":x.name}))),w.push(...u.boards.map(x=>({"Board Name":x.name}))),w.push(...u.simulationIds.map(x=>({"Simulation Name":x.name}))),C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.DOCUMENT_SAVEAS_LOCAL,content:w,project_uuid:C.currentProject.projectId}])}return b}async function hGt(t=!1){let e=he.getActiveTab(),[i]=wr(e),o=he.getTabDocType(e),r={};switch(o){case ve.BLANKTAB:{r.isProjectLibrary=!0,await ii("cbb_save_as_cloud",r);break}case ve.SCH:{let a=he.getActiveSchematicName(),s=(await C.messageBus.rpcCall("sch/getSchematicIdByActiveTabid",e)).message;r.isProjectLibrary=!0,r.sch={title:a,uuid:s},await ii("cbb_save_as_cloud",r);break}case ve.PCB:{let a=he.getTabTitle(e);r.isProjectLibrary=!0,r.onlySelected=t,r.pcb={title:a,uuid:i},await ii("cbb_save_as_cloud",r);break}case ve.BLOCK_SYMBOL:{let a=he.getDocProject(e)===C.currentProject.projectId,s=he.getTabTitle(e);r.isProjectLibrary=a,r.blockSymbol={title:s,uuid:i},await ii("cbb_save_as_cloud",r);break}}}async function fGt(t=!1){let e=he.getActiveTab(),[i]=wr(e),o=he.getTabDocType(e),r={};switch(o){case ve.BLANKTAB:{r.isProjectLibrary=!0,await ii("cbb_save_as_local",r);break}case ve.SCH:{let a=he.getActiveSchematicName(),s=(await C.messageBus.rpcCall("sch/getSchematicIdByActiveTabid",e)).message;r.isProjectLibrary=!0,r.sch={title:a,uuid:s},await ii("cbb_save_as_local",r);break}case ve.PCB:{let a=he.getTabTitle(e);r.isProjectLibrary=!0,r.onlySelected=t,r.pcb={title:a,uuid:i},await ii("cbb_save_as_local",r);break}case ve.BLOCK_SYMBOL:{let a=he.getDocProject(e)===C.currentProject.projectId,s=he.getTabTitle(e);r.isProjectLibrary=a,r.blockSymbol={title:s,uuid:i},await ii("cbb_save_as_local",r);break}}}function Qve(t){let e,i;if(Je&&(e=C.clientTeamList,i=e.length>0&&e.some(n=>!n.system),!i)){Ut({type:"confirm",message:"The library does not exist yet, please create it first!",showCancel:!0,textOK:"OK",textCancel:"Cancel",onConfirm:()=>{Gg()}});return}let o,r;if(t.custom_tags){let n=JSON.parse(t.custom_tags),a="";n[0]&&n[1]?a=n.join(":"):n[0]&&(a=n[0]),o=a}if(t.tags){let n=t.tags||{},a="",s="",l=!1,c=me.curr==="zh-hans",d=n.parent_tag,u=n.child_tag;if(d&&d.uuid&&(l=!0,a=c&&d.name_cn||d.name,s=d.uuid),l&&(u!=null&&u.uuid)){let p=c&&u.name_cn||u.name;a+=`:${p}`,s+=`:${u.uuid}`}a&&s&&(r=s,o=a)}gJ({symbolDoctype:t.symbol_type||ve.PART,deviceName:t.display_title,dlgTitle:"Device Save as",description:t.description,categoryName:o,categoryId:r,device:t})}async function EEo(t){if(Je){let e=await hDe(),i=await L6(e);if(i.success){let{uuid:o,name:r}=i.result;await dP.clone(t,{targetPrjId:o,targetPrjTitle:r})}}else et("openProject",{type:"clone",data:t})}async function oBe(){if(Je){let t=await hDe(),e=await L6(t);if(e.success){let{uuid:i,name:o}=e.result;ku.setProjectMsg(o,i)}}else et("openProject",{type:"import"})}function Pst(...t){ii("sch-create-array",{params:t[0]})}function Ut(t){let{id:e,type:i,message:o,replaceWords:r,errKey:n,params:a,isHtml:s=!1,onConfirm:l,defaultValue:c,onCancel:d,onClose:u,textOK:p,textCancel:m,width:h,height:f,esc:g,textOKClass:b,footer:y,confirmButtonDisable:w,showCancel:x=!1,showAgain:S=!1,defaultShowAgain:T=!1,onShowAgain:M}=t;n&&(o=me.i18n(o,{errKey:n}));let I=(r==null?void 0:r.map(A=>me.i18n(A)))||[];switch(o=me.i18n(o,a||I),i){case"error":case"warn":case"info":e=Dt({id:e,icon:i==="warn"?"warning":i,title:{error:"Error",warn:"Warning",info:"Info"}[i],closed:!0,content:o,height:f,isHtml:s,showCancel:x,confirmText:p,cancelText:m,onCancel:d,onClose:u,esc:g,showAgain:S,defaultShowAgain:T,onShowAgain:M,onConfirm(D){t.onConfirm?t.onConfirm(D):t.funcName&&C.messageBus.publish(t.funcName,t.funcArgs)}});break;case"show":De({type:"info",msg:o});break;case"alert":{let{icon:D="none",title:E="Alert",closable:N=!0}=t;e=Dt({id:e,isHtml:s,content:o,icon:D,title:E,closed:N,height:"auto",onConfirm:l,showAgain:S,defaultShowAgain:T,onShowAgain:M});break}case"confirm":{let{closable:D=!0,title:E,showCancel:N=!0,icon:R,btnAntiShake:v}=t;e=Dt({id:e,closed:D,title:E,content:o,confirmText:p,showCancel:N,cancelText:m,confirmTextClass:b,onConfirm:l,onCancel:d,onClose:u,esc:g,width:h,height:f,footer:y,isHtml:s,icon:R,confirmButtonDisable:w,showAgain:S,defaultShowAgain:T,onShowAgain:M,btnAntiShake:v});break}case"prompt":{let{showCancel:D=!0,icon:E,title:N}=t;e=vEo({icon:E,title:N,content:o,defaultValue:c,onConfirm:l,onCancel:d,showCancel:D});break}}return e}function j6(t,e,i,o,r,n,a,s){o=o||(()=>{}),typeof window<"u"?vt(t,e,i,o,r,n,a,s):console.log("progressUpdate...",t,e,i,o)}function AEo(t){t&&(t.closeFn=t.closeFn||(()=>{}),typeof window<"u"?vt(t.progress,t.title,t.tabid,t.closeFn,t.modal,t.proportion,t.showTitle,t.closable):console.log("progressUpdate...",t))}var kEo=L(hU());var fye=0;function Wee(){for(fye=(fye+1)%Number.MAX_SAFE_INTEGER;Vr("frame_sheet-"+fye);)fye=(fye+1)%Number.MAX_SAFE_INTEGER;return"sheet-"+fye}var wc=class{constructor(e,i){this.x=+e||0,this.y=+i||0}update(e,i){this.x=e||0,this.y=i||0}move(e,i){this.x+=e||0,this.y+=i||0}distance(e){return Math.sqrt((this.x-e.x)*(this.x-e.x)+(this.y-e.y)*(this.y-e.y))}toString(){return li.toFixed(this.x,4)+"_"+li.toFixed(this.y,4)}};function kCt(t,e,i){Array.from(window.frames).map(r=>r).filter(Boolean).forEach(r=>{t==="add"?r.addEventListener(e,i):r.removeEventListener(e,i)})}function kSe(t){return["SIGNAL","PLANE"].includes(t)}function xI(t){return[58,59].includes(t)}function eq(t){return t.sort((e,i)=>kSe(e.layerType)!==kSe(i.layerType)?e.layerType==="TOP"?-1:i.layerType==="TOP"?1:kSe(e.layerType)?-1:1:xI(e.layerId)!==xI(i.layerId)?xI(e.layerId)?10>=i.layerId?1:-1:e.layerId>10?1:-1:e.layerId>i.layerId?1:-1)}function gGt(t){return jEo(t)==="text"&&t.children[0]&&rn(t.children[0],"attr-key")}function PEo(t){return gGt(t)&&rn(t.children[0],"attr-key")==="Name"}function OEo(t,e){let i=document.createElementNS("http://www.w3.org/2000/svg",t);return e&&rn(i,e),i}async function Pt(t,e=[],i=he.getActiveTab()){let o=he.getDoctypeByTabId(i);if(!upi(t,o))throw new Error("\u6307\u5B9A\u7684\u4E3B\u9898\u6D88\u606F\u5728\u5BF9\u5E94\u7684\u753B\u5E03\u5185\u6CA1\u6709\u76F8\u5173\u8BA2\u9605");let r=await he.getTabIFrame(i),n=r&&r.contentWindow;return i==="0"||!n?null:(await C.windowBridge.rpcCall(t,e,r.contentWindow)).message}async function Ca(t,e,i){i||(i=he.getActiveTab()),e||(e=[]);let o=he.getDoctypeByTabId(i),r=await he.getTabIFrame(i),n=r&&r.contentWindow;if(!n)return null;C.windowBridge.publish(t,e,n)}function REo(t,e=1,i=128,o,r="Title"){return!dh(t,e,i,o,r)}function dh(t,e=1,i=128,o,r="Title"){t=t||"",t=t.trim();let n="";if(t.length<e||t.length>i)return r=me.i18n(r),n=me.i18n("The {0} length must be between {1}~{2} characters!",[r,e,i]),o||Ut({type:"alert",message:n}),o?n:!1;let a=bGt(t);return o?n:!a}function NTe(t,e="",i=1,o=128,r){t=t||"",t=t.trim();let n="";if(t.length<i||t.length>o)return n=me.i18n("The {0} length must be between {1}~{2} characters!",[e,i,o]),r||Ut({type:"alert",message:n}),r?n:!1;let a=bGt(t);return r?n:!a}function zA(t,e){var i={multiple:!1,accept:".json",fileFilter:function(r){return/\.json$/i.test(r.name)},onValidate:function(r){r||Ut({type:"warn",message:"Please upload json file"})},onSelectFiles:function(r){var n,a=r[0],s=new FileReader;s.onload=function(l){if(!l.target.result){Ut({type:"warn",message:"\u8BF7\u4E0A\u4F20\u6B63\u786E\u7684json\u6587\u4EF6"});return}n=JSON.parse(l.target.result.toString()),e(n,a.name)},s.readAsText(a)}},o=nu.instance(t).config(i);o.openSelect()}async function Cr(t,e){return(await C.messageBus.rpcCall(t,e)).message}function _Eo(t,e){let i=[],o=typeof e=="function";return document.querySelectorAll(t).forEach(r=>{let n=(0,NEo.default)(r);n.css("display")!="none"&&(i.push(n),o&&e(n))}),i}function jd(t){let e=/[\[\(\$\^\.\]\*\\\?\+\{\}\\|\)]/gi;return t.replace(e,i=>`\\${i}`)}var W2=(t,e)=>String.prototype.localeCompare.call(t||"",e||"","zh");function S4(t){let e=new RegExp("[\u4E00-\u9FA5]+"),i=[],o=[],r=[];return t.forEach(function(n){n.translate||(n.translate=me.i18n(n.key||n.propertyKey,"attrs")),["Reuse Block","Group ID","Channel ID"].includes(n.key||n.property)?r.push(n):e.test(n.translate)?i.push(n):o.push(n)}),i.sort(function(n,a){return n.translate.localeCompare(a.translate,"zh")}),o.sort(function(n,a){return n.translate.localeCompare(a.translate)}),t=i.concat(...o,...r),t}function _b(t){let e=!0;return async function(...i){if(e){e=!1;try{await t.call(this,...i)}catch(o){console.error("\u62A5\u9519\u5566~~",o)}finally{e=!0}}}}async function mDo(t,e,i){let o=new AbortController,{signal:r}=o,n=null,a=new Promise((s,l)=>{n=setTimeout(()=>{o.abort(),l(Object.assign(new Error("Task timeout"),{isTimeout:!0,defaultValue:i}))},e)});try{return{success:!0,result:await Promise.race([t(r),a])}}catch(s){return r.aborted?{success:!1,isTimeout:!0,result:i,error:new Error(`Task aborted after timeout of ${e}ms`)}:{success:!1,isTimeout:!1,error:s instanceof Error?s:new Error(String(s))}}finally{n&&clearTimeout(n)}}function nte(t){return self[t]=self[t]||new kEo.BroadcastChannelMessageBus(t)}function kCe(t){return t==null||t===""}function Est(t,e=!1){if(!t)return"";try{let i=JSON.parse(t),o="";return i[0]&&(o=e?me.i18n(i[0]):i[0]),i[1]&&(o+=`:${e?me.i18n(i[0]):i[1]}`),o}catch{return""}}function W3(t,e,i){let o=[];for(let n=0;n<t.length;n++)o.push({value:t[n],text:{value:r(t[n]),context:i}});return o;function r(n){var s;let a=(s=e==null?void 0:e[n])!=null?s:n;return["yes","no"].includes(a)&&(a=a.charAt(0).toUpperCase()+a.slice(1)),a}}function B8i(t){if(typeof t=="string"&&/^#[0-9A-Fa-f]{3}$/.test(t)&&(t="#"+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]),typeof t!="string"||!t.match(/#?([\da-f]{6})/i))return null;var e=parseInt(RegExp.$1,16),i=Math.min(255,Math.round(e>>16)),o=Math.min(255,Math.round(e>>8&255)),r=Math.min(255,Math.round(e&255));return[i,o,r]}function $Ue(t){if(/^[\w\u4e00-\u9fa5\uFF08-\uFF09\x20,.\-$$$$()（）【】。、？]+$/.test(t))return t;let i=/[^\w\u4e00-\u9fa5\uFF08-\uFF09\x20,.\-$$$$()（）【】。、？]/g;return t.replace(i,"")}function eVe(t){if(t.length===16)return t.repeat(2);if(t.length===32)return t;let e=t.repeat(2);return e.length>32?e.substring(0,32):e.length<32?e.padEnd(32,"0"):e}async function _vi(t,e=0){return e<0&&(e=0),new Promise(i=>{setTimeout(async()=>{let o=await t();i(o)},e)})}async function bIi(t,e={},i=5e3){let o=new AbortController,r=o.signal,n=setTimeout(()=>o.abort(),i);try{let a=await fetch(t,{...e,signal:r});return clearTimeout(n),a}catch(a){throw clearTimeout(n),a.name==="AbortError"?new Error("\u8BF7\u6C42\u8D85\u65F6"):a}}function Ffe(t){switch(t){case st.PANEL_OBJECT_ROOT_NODE:return{treeId:"treePanelObjects",rootType:st.PANEL_OBJECT_ROOT_NODE,treeManager:bae}}}var SY=class t{static getStart(){return t.start}static setStart(e){t.start=e}static async syncTreeSelected({dataModal:e}){let{selectedIdStore:i,panelTreeDataStore:o}=us,r=e.map(l=>l.id);for(let l=0;l<i.selectedIds.length;l++){let c=i.selectedIds[l],d=o.flattenData.find(u=>u.originId===c);if(d&&d.treeNodeType===st.PANEL_COMBINATION_ROOT_NODE){let{elements:u}=await Pt(kt.Panel.GetAllCombinationAndElesFromTop,[c]);u.length===0&&r.push(c)}}let n=await Pt(kt.Panel.GetEditCombinationId),a=await Pt(kt.Panel.GetEditingPathId),{treeManager:s}=Ffe(st.PANEL_OBJECT_ROOT_NODE);s&&(s.editCombinationId=n,s.editPathId=a,i.setSelect(r))}};async function _l(t,e={}){let i=await ei();switch(t){case st.NetComponents:case st.ALLNETROOT:case st.Nets:case st.RatlineNets:case st.NetClasses:case st.Differentials:case st.EqualLengthGroups:case st.PadsPairGroups:C.windowBridge.publish("getAllNets",t,i.contentWindow);break;case st.ObjectRoot:case st.ALLOBJROOT:case st.COMPONENTS:C.windowBridge.publish("getAllItems",e.nodeName,i.contentWindow);break;case st.ALLCOMPONENTROOT:C.windowBridge.publish("getAllComponents","",i.contentWindow);break;case st.ERRORS:C.windowBridge.rpcCall("getAllErrors",{isOpenDRCCustomCheck:e.isOpenDRCCustomCheck},i.contentWindow);break;case st.PANEL_OBJECT_ROOT_NODE:{if(i){let{isSwitchActiveTab:o,syncTreeSelected:r}=e;if(o){let{panelTreeDataStore:c}=us;c.initDataKeys()}let n="",a=(await C.windowBridge.rpcCall("getPanelInfo","",i.contentWindow)).message;if(a.docType===ve.PANEL_LIB){let{path:c,uuid:d}=a;Je?n=c:n=(await cc.getPanelLibData(d,null,{path:c})).owner.nickname}let s=(await C.windowBridge.rpcCall("/panel/getObjectTreeData","",i.contentWindow)).message,l=(await C.windowBridge.rpcCall("/panel/getCombinationData","",i.contentWindow)).message;s.push(l),lZi(s,r,n)}break}}(0,BEo.default)("#treeMyDesignDetail").html("")}var MR=L(Se()),UEo=L(Hr()),yGt=L(FEo());var jk=L(z()),{locals:iin}=yGt.default;var oin=[{icon:"icon_operate_add",key:"add_new_device",hoverTitle:"Link to New Device"},{icon:"icon-eda-link",key:"open_associate_device_dlg",hoverTitle:"Link to Existing Device"},{icon:"icon-eda-unlink",key:"cancel_associate_device",hoverTitle:"Disassociate Device"}],rin=t=>{Ae(yGt.default),Ce(BT);let{componentId:e,path:i,currentPage:o,totalPage:r,componentDetail:n}=BT,a=J(),s=be.bind(iin),l=[{key:"display_title",name:a("Device"),sortable:!0,width:.5,filter:!0,ellipsis:!0},{key:"ownerName",name:a("Owner"),sortable:!0,width:.5,filter:!0,ellipsis:!0}],[c,d]=(0,MR.useState)(!0),[u,p]=(0,MR.useState)([]),[m,h]=(0,MR.useState)(100),[f,g]=(0,MR.useState)([]),b=(0,MR.useRef)(null),y=(0,MR.useRef)(null),w=M=>{p(M);let I=[];for(let A of M)for(let D of f)if(A.uuid===D.uuid){I.push(A);break}g(I),I.length||d(!0)};(0,MR.useEffect)(()=>{w(BT.deviceTableData)},[BT.deviceTableData]);let x=M=>{let I=[];u.forEach((A,D)=>{M.selectedRowNumbers.forEach(E=>{D===E&&(A.title=A.display_title,I.push(A))})}),d(!1),g(I)};(0,MR.useEffect)(()=>(window.ResizeObserver&&(y!=null&&y.current)&&(b.current=new ResizeObserver(M=>{window.requestAnimationFrame(()=>{let I=M[0].target.getBoundingClientRect();h(I.height-60>0?I.height-60:0)})}),b.current.observe(y.current)),()=>{b!=null&&b.current&&(y!=null&&y.current)&&b.current.unobserve(y.current)}),[y==null?void 0:y.current]);let S=async M=>{switch(M){case"add_new_device":{let I=u instanceof Array&&u[0]||null,A=he.getActiveTabData(),D=ue.splitComponentId2FolderAndFilenameMixin(A.tabId);Jbe(i,i===C.currentProject.projectId,{setAssociateNewDevice:o==="footprint"?"ByFootprint":o==="symbol"?"BySymbol":"Common",symbolItemId:o==="symbol"?e:null,footprintItemId:o==="footprint"?e:null,d3modelItemId:null,deviceItemName:I?I.display_title:"",userIdSelected:I&&typeof I.owner_team=="object"?I.owner_team.uuid:D.path?D.path:void 0});break}case"open_associate_device_dlg":{Hv({scenesType:"deviceList",componentId:e,path:i,doctype:n.docType,isFromProject:i===C.currentProject.projectId});break}case"cancel_associate_device":{if(c||!f.length)return;KCi(f,i,n.docType).then(I=>{if(I.length){let A=u.filter(D=>!I.includes(D.uuid));g([]),p(A),d(!0)}});break}case"refresh_grid_data":{let I=await xme(o,e,i,1);w(I);break}}},T=async(M,I,A)=>{let D=BT.page;if(M-A<=I&&D<r){D+=1;let E=await xme(o,e,i,D);w(u.concat(E))}};return(0,jk.jsxs)("div",{className:s("associateDeviceModules"),ref:y,id:`${o}-associateDeviceModules`,children:[(0,jk.jsxs)("div",{className:s("device-manager-btn"),children:[(0,jk.jsx)("div",{children:oin.filter(M=>!(i===C.currentProject.projectId&&M.key==="add_new_device")).map(M=>{let I=M.key==="cancel_associate_device"&&c?"disabled":"";return(0,jk.jsx)("span",{title:a(M.hoverTitle),onClick:()=>{S(M.key)},children:(0,jk.jsx)("span",{className:s(`icon_operate ${M.icon} ${`${M.icon}-filter`} ${I}`)})},M.key)})}),(0,jk.jsx)("div",{title:a("Refresh"),onClick:()=>{S("refresh_grid_data")},children:(0,jk.jsx)("span",{className:s("icon_operate icon-eda-refresh icon-eda-refresh-w")})})]}),(0,jk.jsx)("div",{children:(0,jk.jsx)(xi,{name:"associatedDevicePanel",index:"uuid",border:!0,height:m,multiSelect:!0,columns:l,openHeadContentMenu:!0,rows:u,onClick:x,openVirtualScroll:!0,onTableScroll:T},m)})]})};async function fDe(){let t=dt(),e=pr(t)?"symbol":"footprint",i=e==="symbol"?"#associated-device":".treeContent[for-tabid=footprintDevices]",o=document.querySelector(i);if(o){let r=gi(),[n,a]=wr(r),s=await xme(e,n,a,1);BT.componentId=n,BT.componentDetail=await R3(e,n,a),BT.path=a,BT.currentPage=e,BT.deviceTableData=s,document.querySelector(`#${e}-associateDeviceModules`)||(o&&UEo.default.createRoot(o)).render((0,jk.jsx)(rin,{}))}}var di=null,VEo=(t,e)=>{di=t,di.index=e},HEo={menuId:"sch-context-menu-projectManager",defaultConfig:[{id:"view_schema",title:"View Schema",hotkeyCmd:"view_schema",subHotkeyId:"leftTreeMenu_view_schema",callback:t=>c6(t.id)},{id:"edit",title:"Edit",hotkeyCmd:"edit",subHotkeyId:"leftTreeMenu_edit",callback:t=>c6(t.id)},{id:"member",title:"Member",hotkeyCmd:"member",subHotkeyId:"leftTreeMenu_member",callback:t=>c6(t.id)},{id:"attachment",title:"Attachment",hotkeyCmd:"attachment",subHotkeyId:"leftTreeMenu_attachment",callback:t=>c6(t.id)},{id:"transfer",title:"Transfer",hotkeyCmd:"transfer",subHotkeyId:"leftTreeMenu_transfer",callback:t=>c6(t.id)},{id:"share",title:"Share",hotkeyCmd:"share",subHotkeyId:"leftTreeMenu_share",callback:t=>c6(t.id)},{id:"version_manager",title:"Backup Management",hotkeyCmd:"version_manager",subHotkeyId:"leftTreeMenu_version_manager",callback:t=>c6(t.id)},{id:"view_homePage",title:"View Homepage",hotkeyCmd:"view_homePage",subHotkeyId:"leftTreeMenu_view_homePage",callback:t=>c6(t.id)},{id:"lock",title:"Lock",hotkeyCmd:"lock",subHotkeyId:"leftTreeMenu_lock",callback:t=>c6(t.id)},{id:"unlock",title:"Unlock",hotkeyCmd:"unlock",subHotkeyId:"leftTreeMenu_unlock",callback:t=>c6(t.id)},{id:"delete_project",title:"Delete",hotkeyCmd:"delete_project",subHotkeyId:"leftTreeMenu_delete_project",callback:t=>c6(t.id)},{id:"quit_project",title:"Quit",hotkeyCmd:"quit_project",subHotkeyId:"leftTreeMenu_quit_project",callback:t=>c6(t.id)}]},nin=()=>{let t=zi.getProjectPermissionCache(C.currentProject.projectId),e=zi.getIsProjectReadOnly(!0)&&(C.archive||C.store),i=wi||!e&&!!zi.hasPermission(t,Io.Branch_Adding),o=Pr.version;return{menuId:"_Version Control",defaultConfig:[{id:"New Branch...",title:"New Branch...",hotkeyCmd:"new_branch",subHotkeyId:"leftTreeMenu_new_branch",icon:{iconPath:lt.icon_eda_new_branch},callback:()=>{et("new_branch")},disable:Je?!0:!i},{id:"New Node...",title:"New Node...",hotkeyCmd:"new_node",subHotkeyId:"leftTreeMenu_new_node",icon:{iconPath:lt.icon_eda_new_node},callback:()=>{et("new_node")},disable:Je?!0:!i||o.node},{id:"Version Management...",title:"Version Management...",hotkeyCmd:"version_management",subHotkeyId:"leftTreeMenu_version_management",callback:()=>{et("version_management")}}]}},GEo={menuId:"sch-tree-_Version Management",defaultConfig:[{id:"new_version",title:"New Backup...",hotkeyCmd:"new_version",subHotkeyId:"leftTreeMenu_new_version",callback:()=>{et("new_version",{from:"leftTree"})}},{id:"switch_version",title:"Switch Backup...",hotkeyCmd:"switch_version",subHotkeyId:"leftTreeMenu_switch_version",callback:t=>c6(t.id)},{id:"version_manager",title:"Backup Management",hotkeyCmd:"version_manager",subHotkeyId:"leftTreeMenu_version_manager",callback:t=>c6(t.id)}]},ain=t=>{let e=t===null;return{menuId:"sch_treeMenu_Project",defaultConfig:[{id:"refresh",title:"Refresh",icon:{iconClassName:"icon-eda-refresh"},hotkeyCmd:"refresh",subHotkeyId:"refresh",isTranslate:{},callback:i=>{let o=(di==null?void 0:di.index)||null;zi.clearCache(),C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"generateUpdateProjectPreviewImage",title:"Gererate/Update Preview Image",hotkeyCmd:"generateProjectSheetPreviewImage",isTranslate:{},callback:i=>{dHi(C.currentProject.projectId)}},{id:"open_selected",title:"Open Selected",isTranslate:{},hotkeyCmd:"open_selected",subHotkeyId:"leftTreeMenu_open_selected",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"open_all",title:"Open All",isTranslate:{},hotkeyCmd:"open_all",subHotkeyId:"leftTreeMenu_open_all",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"open",title:"Open",isTranslate:{},hotkeyCmd:"open",subHotkeyId:"leftTreeMenu_open",callback:i=>{switch(di==null?void 0:di.treeNodeType){case st.PCB:case st.CHILDPCB:Ud(di.id,{isPartition:di.treeNodeType==st.CHILDPCB});break;case st.PANEL:yn({uuid:di.id});break;case st.NGSPICE:yn({uuid:di.id});break;case st.SIMULIDE:yn({uuid:di.id});break;default:let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeDblclick",{index:o,toggleState:!1});break}}},{id:"open_in_new_window",title:"Open in New Window...",isTranslate:{},hotkeyCmd:"open_in_new_window",subHotkeyId:"open_in_new_window",callback:()=>{et("open_in_new_window",{tabid:(A8(di.treeNodeType,["SHEET","PANEL","PCB","CHILDPCB","PRJ","NGSPICE","SIMULIDE"])?ol(di.path)?di.path:di.id:di.firstSheetUuid)+"@"+C.currentProject.projectId,docType:pIo(di.treeNodeType)})}},{id:"open_project",title:"Open Project...",icon:{iconClassName:"icon-eda-project-fill",iconStyle:{filter:"none"}},isTranslate:{},hotkeyCmd:"openProject",subHotkeyId:"openProject",callback:()=>{et("openProject")}},null,{id:"set_as_root",title:"Set as an existing board",isTranslate:{},hotkeyCmd:"set_as_root",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:"setAsRoot"},e])}},{id:"set_as_new_Board",title:"Set as New Board",isTranslate:{},hotkeyCmd:"set_as_new_Board",subHotkeyId:"leftTreeMenu_set_as_new_Board",callback:i=>{let o=(di==null?void 0:di.index)||null;o?C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di.id},e]):console.error("leftTree - set_as_new_Board is error",di)}},{id:"remove_from_board",title:"Remove from Board",isTranslate:{},hotkeyCmd:"remove_from_board",subHotkeyId:"leftTreeMenu_remove_from_board",callback:i=>{let o=(di==null?void 0:di.index)||null;o?C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di.id},e]):console.error("leftTree - remove_from_board is error",di)}},null,{id:"new_board",title:Nt?"New Box":"New Board",icon:{iconClassName:Nt?"icon-ecad-board-new-fill":"icon-eda-board-new-fill",iconStyle:{filter:"none"}},isTranslate:{},disable:Pr.version.node,hotkeyCmd:"new_board",subHotkeyId:"new_board",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"new_schematic",title:"New Schematic",icon:{iconClassName:"icon-eda-schematic-new icon-color-blue",iconStyle:{filter:"invert(48%) sepia(54%) saturate(930%) hue-rotate(178deg) brightness(101%) contrast(102%) !important"}},isTranslate:{},disable:Pr.version.node,hotkeyCmd:"new_schematic",subHotkeyId:"new_schematic",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"new_pcb",title:"New PCB",icon:{iconClassName:Nt?"icon-ecad-pcb-new icon-color-green":"icon-eda-pcb-new icon-color-green",iconStyle:{filter:"invert(29%) sepia(93%) saturate(1905%) hue-rotate(97deg) brightness(96%) contrast(111%)"}},hotkeyCmd:"new_PCB",disable:Pr.version.node,subHotkeyId:"new_PCB",callback:i=>{let{projectId:o,title:r}=C.currentProject;et("new_PCB",{projectId:o,boardUuid:(di==null?void 0:di.treeNodeType)===st.BOARD?di.id:""})}},{id:"new_Panel",title:"New Panel",icon:{iconClassName:"icon-eda-panel-new icon-color-primaryblue",iconStyle:{filter:"invert(10%) sepia(99%) saturate(6389%) hue-rotate(247deg) brightness(89%) contrast(148%)"}},hotkeyCmd:"new_Panel",disable:Pr.version.node,subHotkeyId:"new_Panel",callback:()=>{let{projectId:i,title:o}=C.currentProject;et("new_Panel",{projectId:i,schematicId:""})}},{id:"new_Simulation",title:"New Simulation",icon:{iconClassName:"icon-eda-sim-new",iconStyle:{filter:"invert(30%) sepia(100%) saturate(1800%) hue-rotate(235deg) brightness(110%) contrast(100%)"}},hotkeyCmd:"new_Simulation",subHotkeyId:"new_Simulation",callback:()=>{let{projectId:i,title:o}=C.currentProject;et("new_Simulation",{projectId:i,schematicId:""})}},{id:"new_page",title:"New Page",icon:{iconClassName:"icon-eda-page-new icon-color-blue",iconStyle:{filter:"invert(48%) sepia(54%) saturate(930%) hue-rotate(178deg) brightness(101%) contrast(102%) !important"}},isTranslate:{},disable:Pr.version.node,hotkeyCmd:"new_page",subHotkeyId:"new_page",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},null,{id:"generate_update_block_symbol",title:"Generate/Update Block Symbol",icon:{iconClassName:"icon-eda-update-block-symbol"},isTranslate:{},hotkeyCmd:"generate_update_block_symbol",subHotkeyId:"leftTreeMenu_generate_update_block_symbol",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"place_block_symbol",title:"Place Block Symbol",icon:{iconClassName:"icon-eda-symbol-block"},isTranslate:{},hotkeyCmd:"place_block_symbol",subHotkeyId:"leftTreeMenu_place_block_symbol",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"place_block",title:"Place Block",isTranslate:{},hotkeyCmd:"open_all",subHotkeyId:"leftTreeMenu_place_block",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"cbb_saveAs_cloud",title:"Save as Reuse Block...",isTranslate:{},icon:{iconClassName:"eda-save"},hotkeyCmd:"cbb_saveAs_cloud",subHotkeyId:"",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"cbb_saveAs_local",title:"Save as Reuse Block (Local)...",isTranslate:{},icon:{iconClassName:"eda-save"},hotkeyCmd:"cbb_saveAs_local",subHotkeyId:"leftTreeMenu_cbb_saveAsLocal",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},null,{id:"move_up",title:"Move Up",isTranslate:{},hotkeyCmd:"move_up",subHotkeyId:"leftTreeMenu_move_up",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"move_down",title:"Move Down",isTranslate:{},hotkeyCmd:"move_down",subHotkeyId:"leftTreeMenu_move_down",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"update_reuse_block",title:"Update Reuse Block...",hotkeyCmd:"updateReuseBlock",callback:i=>{Dt({icon:"warning",closed:!0,content:"If this document is newly created after being referenced from a reused block library, this operation will force the current document to be refreshed to the latest reference library status, and the operation cannot be undo/redo, so please operate with caution!",onConfirm:async()=>{await C.messageBus.rpcCall(Pd.PUBLIC.FORCE);let{uuid:o,treeNodeType:r,text:n}=di;if(r===st.SCH||r===st.BLOCK){let a=PE.sch[o];if(!a)return;await C.messageBus.rpcCall(qr.UPDATE_REUSE_BLOCK,{uuid:C.currentProject.projectId,datas:{schematics:[{uuid:o,title:a.display_name||a.name,source:a.source}]}}),delete PE.sch[o]}else if(r===st.PCB){let a=PE.pcb[o];if(!a)return;await C.messageBus.rpcCall(qr.UPDATE_REUSE_BLOCK,{uuid:C.currentProject.projectId,datas:{pcbs:[{uuid:o,title:a.display_title||a.title,source:a.source}]}}),delete PE.pcb[o]}}})}},{id:"check_out",title:"Check Out",isTranslate:{},hotkeyCmd:"check_out",subHotkeyId:"leftTreeMenu_check_out",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"check_in",title:"Check In",isTranslate:{},hotkeyCmd:"check_in",subHotkeyId:"leftTreeMenu_check_in",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"check_out_all",title:"Check Out All",isTranslate:{},hotkeyCmd:"check_out_all",subHotkeyId:"leftTreeMenu_check_out_all",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"check_in_all",title:"Check In All",isTranslate:{},hotkeyCmd:"check_in_all",subHotkeyId:"leftTreeMenu_check_in_all",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"clear_unlock",title:"Clear Unlock",isTranslate:{},hotkeyCmd:"clear_unlock",subHotkeyId:"leftTreeMenu_clear_unlock",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},null,{id:"expand_lower",title:"Expand All",isTranslate:{},hotkeyCmd:"expand_lower",subHotkeyId:"leftTreeMenu_expand_lower",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"collapse_lower",title:"Collapse All",isTranslate:{},hotkeyCmd:"collapse_lower",subHotkeyId:"leftTreeMenu_collapse_lower",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},null,{id:"leftTreeGlobalHighlightNetSelected",title:"Highlight Net",isTranslate:{},hotkeyCmd:"globalHighlightNetSelected",subHotkeyId:"leftTreeMenu_globalHighlightNetSelected",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"leftTreeGlobalUnhighlightNetSelected",title:"Unhighlight Net",isTranslate:{},hotkeyCmd:"globalUnhighlightNetSelected",subHotkeyId:"leftTreeMenu_globalUnhighlightNetSelected",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},null,{id:"copyLeftTree",title:"Copy",icon:{iconClassName:"icon-eda-copy"},isTranslate:{},hotkeyCmd:"copyLeftTree",subHotkeyId:"leftTreeMenu_copyLeftTree",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"pasteLeftTree",title:"Paste",icon:{iconClassName:"icon-eda-paste"},isTranslate:{},hotkeyCmd:"leftTreeMenu_pasteLeftTree",subHotkeyId:"leftTreeMenu_pasteLeftTree",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"deleteFile",title:"Delete",icon:{iconClassName:"icon-eda-delete-trash"},disable:Pr.version.node,isTranslate:{},hotkeyCmd:"deleteFile",subHotkeyId:"leftTreeMenu_deleteFile",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"clone",title:"Clone...",isTranslate:{},hotkeyCmd:"clone",subHotkeyId:"clone",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"saveAsCloud",title:"Document Save as...",isTranslate:{},hotkeyCmd:"saveAsCloud",subHotkeyId:"leftTreeMenu_saveAsCloud",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"saveAsLocal",title:"Document Save as (Local)...",isTranslate:{},hotkeyCmd:"saveAsLocal",subHotkeyId:"leftTreeMenu_saveAsLocal",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"saveAsLocalZip",title:"Document Save as (.epro)...",isTranslate:{},hotkeyCmd:"saveAsLocalZip",subHotkeyId:"leftTreeMenu_saveAsLocalZip",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di==null?void 0:di.id},e])}},{id:"modifyFile",title:"Rename",icon:{iconClassName:"icon-eda-edit"},isTranslate:{},hotkeyCmd:"modifyFile",subHotkeyId:"modifyFile",callback:i=>{C.messageBus.publish("leftTreeReName",di.path)}},{id:"batchReName",title:"Batch Rename",icon:{iconClassName:"icon-eda-edit"},isTranslate:{},hotkeyCmd:"batchReName",subHotkeyId:"leftTreeMenu_batchReName",callback:()=>{ii("batch-rename")}},{id:"clear_designator",title:"Clear Designator...",isTranslate:{},hotkeyCmd:"clear_designator",subHotkeyId:"leftTreeMenu_clear_designator",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di.id},e])}},{id:"properties",title:"Properties",isTranslate:{},hotkeyCmd:"properties",subHotkeyId:"leftTreeMenu_properties",callback:i=>{let o=(di==null?void 0:di.index)||null;C.messageBus.publish("leftTreeMenuClick",[i.id,o,{id:di.id},e])}},{id:"move_project",title:"Move...",isTranslate:{},hotkeyCmd:"",subHotkeyId:"homepage_prj_menu_move_project",callback:i=>c6(i.id)},{id:"open_in_workspace",title:"Open in Workspace",isTranslate:{},hotkeyCmd:"open_in_workspace",subHotkeyId:"leftTreeMenu_open_in_workspace",callback:()=>{let{projectId:i,title:o}=C.currentProject;et("open_in_workspace",{projectId:i,title:o})}},{id:"project_manager",title:"Project Management",isTranslate:{},command:"project_manager",hotkeyCmd:"project_manager",subHotkeyId:"leftTreeMenu_project_manager",children:HEo},{id:"version_control",title:"Version Control",command:"__version-control",hotkeyCmd:"opensubmenu-versioncontrol",subHotkeyId:"opensubmenu-versioncontrol",isTranslate:{},children:nin(),disable:()=>!Rl||Rl.lists.length<=0},{id:"version_manager_container",title:"Backup Management",isTranslate:{},command:"version_manager_container",hotkeyCmd:"version_manager_container",subHotkeyId:"leftTreeMenu_version_manager_container",children:GEo},{id:"closeAll",title:"Close All",hotkeyCmd:"closeProject",subHotkeyId:"closeProject",callback:()=>{et("closeProject")}}]}};async function wGt(t,e=null){await V3();let i=await mIo(t),o=(await C.messageBus.rpcCall("getAstProjectBoards","")).message;it(HEo.defaultConfig,(n,a)=>{if(a!=null&&a.id){let{visible:s=!0,disabled:l=!1}=(i==null?void 0:i[a.id])||{};a.isHide=!s,a.disable=!!l}}),it(GEo.defaultConfig,(n,a)=>{if(a!=null&&a.id){let{disabled:s=!1}=(i==null?void 0:i[a.id])||{};a.isHide=!1,a.disable=!!s}});let r=ain(e);return it(r.defaultConfig,(n,a)=>{if(a!=null&&a.id){let{visible:s=!0,disabled:l=!1,hasChildren:c}=(i==null?void 0:i[a.id])||{};if(a.isHide=!s,a.disable=!!l,a.id==="set_as_root")if(c){let d=[];it(o,(u,{sch:p,pcb:m,name:h,uuid:f})=>{(p||m)&&e&&![p,m].includes(e.uuid)&&d.push({id:f,title:h,isTranslate:{title:!1,hotkey:!1},callback:async()=>{C.messageBus.publish("leftTreeMenuClick",["set_as_root",1,{id:f}])}})}),a.children={menuId:"set_as_root_children",defaultConfig:d.length>=1?d:[]},a.subHotkeyId="leftTreeMenu_set_as_root"}else a.children=null;a.id==="update_reuse_block"&&(a.disable||(a.disable=AP.hasReuseBlockChildPcb())),a.id==="version_control"&&Je&&(a.isHide=C.currentProject.branchNum<=2)}}),r}async function c6(t){let{projectId:e}=C.currentProject;switch(t){case"view_schema":up(e,"detail");break;case"edit":up(e,"setting");break;case"member":up(e,"members");break;case"attachment":up(e,"attachment");break;case"transfer":up(e,"detail","transfer"),qg(C.workspace);break;case"share":up(e,"detail","share");break;case"version_manager":up(e,"backups");break;case"view_homePage":if(e){let{message:a}=await C.messageBus.rpcCall($e.PROJECT.GET,[e]);a.path&&window.open(C.servicesUrlConfig.oshwhubIndex+"/"+a.path)}break;case"lock":up(e,"detail","lock");break;case"unlock":up(e,"detail","unlock");break;case"delete_project":up(e,"members","delete"),qg(C.workspace);break;case"quit_project":up(e,"members","remove"),qg(C.workspace);break;case"switch_version":yV({id:e,title:"Switch Backup"});break;case"move_project":let n=function(a){a.length>0&&a.forEach(s=>{s.projectList.includes(i.uuid)?o=s.uuid:n(s.children)})},{message:i}=await C.messageBus.rpcCall($e.PROJECT.GET,[C.currentProject.projectId]),o,r=!1;i.owner.team?C.teamFolders.forEach(a=>{a.uuid===i.owner.uuid&&(a.rootList.projectList.includes(i.uuid)?(o=a.uuid,r=!0):n(a.rootList.children))}):C.personFolders.projectList.includes(C.currentProject.projectId)?(r=!0,o=C.currentProject.ownerData.uuid):n(C.personFolders.children),Mme({projectName:i.title,projectUuid:i.uuid,parentFolder:r?void 0:o,defaultOwnerId:o,filterOption:{belongParentId:C.currentProject.ownerData.uuid},autoOpenSelect:!0});break}}async function gDe(t,e){di=null;let i=(await C.messageBus.rpcCall("getLeftTreeMenuStatus",{treeNode:null,index:0})).message,o=await wGt(i);pl.open({menuConfig:o,position:{x:t.pageX-5,y:t.pageY-5},windowInstance:e})}var o8o=L(Hr());var QEo=L(Se());function YEo(t){var e=new Uint8Array(t.length*2+2),i;e[0]=255,e[1]=254;for(var o=0;o<t.length;o++)i=t.charCodeAt(o),e[2+o*2+1]=(i&65280)>>8,e[2+o*2]=i&255;return e}var Rst=class extends qe{constructor(){super(...arguments);this.currentProjectId=null;this.netlist1=null;this.netlist2=null;this.fil1DocType=null;this.fil2DocType=null;this.checkNet=!0;this.filStatus1=null;this.filStatus2=null;this.caseinsensitiveNetName=!0;this.checkComponent=!0;this.canExport=!1;this.addItem={pkgMap:{},netMap:{},propertiesMap:{},netValue2key:{},pinMap:{},componentMap:{},fullCompareNetMap:{}};this.rowNetData=[];this.rowComponentData=[];this.removeItem={pkgMap:{},netMap:{},propertiesMap:{},netValue2key:{},pinMap:{},componentMap:{},fullCompareNetMap:{}}}setFile1Status(i){this.filStatus1=i,this.notify()}setFile2Status(i){this.filStatus2=i,this.notify()}setCheckNetHandler(i){this.checkNet=i,this.notify()}setCaseInsensitiveNetName(i){this.caseinsensitiveNetName=i,this.notify()}setCheckComponentHandler(i){this.checkComponent=i,this.notify()}setCheckAllHandler(i){this.checkComponent=i,this.checkNet=i,this.notify()}setCompareDataHandler(i,o){this.addItem=i,this.removeItem=o,this.canExport=!0;let r=[],n=[],a=new Set,s=new Set([...Object.keys(i.pkgMap),...Object.keys(o.pkgMap)]),l=m=>{let h=new Map;return it(m,(f,g)=>{let b=JSON.stringify(g);h.has(b)||h.set(b,f)}),h},c=l(i.netMap),d=l(o.netMap);for(let[m,h]of c)if(i.fullCompareNetMap[h]){let f=d.get(m);(!f||!o.fullCompareNetMap[f])&&a.add(h)}else i.fullCompareNetMap[h]||a.add(h);for(let[m,h]of d)if(o.fullCompareNetMap[h]){let f=c.get(m);(!f||!i.fullCompareNetMap[f])&&a.add(h)}else o.fullCompareNetMap[h]||a.add(h);let u=ue.naturalSort([...a]),p=ue.naturalSort([...s]);it(u,(m,h)=>{r.push({type:0,object:h,net1:i.netMap[h]||[],net2:o.netMap[h]||[],rowUuid:0+h})}),it(p,(m,h)=>{n.push({type:1,object:h,net1:i.pkgMap[h]||[],net2:o.pkgMap[h]||[],rowUuid:1+h})}),this.rowComponentData=n,this.rowNetData=r,this.notify()}clearTableDataHandler(){this.rowComponentData=[],this.rowNetData=[],this.notify()}resetAllData(){this.netlist1=null,this.netlist2=null,this.file1=null,this.file2=null,this.fileUuid1=null,this.fileUuid2=null,this.fil1DocType=null,this.fil2DocType=null,this.checkNet=!0,this.filStatus1=null,this.filStatus2=null,this.canExport=!1,this.checkComponent=!0,this.rowComponentData=[],this.rowNetData=[],this.addItemMap=null,this.removeItemMap=null,this.notify()}},wF=(0,QEo.createContext)(void 0);var d6=L(Se());var CGt=L(bDe());var gye=class{constructor(e){this._state=!1;this._map={"NET {":"Net"};this._source=e}decode(){this._netList=new w4;let e=this._source;if(!e){this._state=!1;return}this._state=!0;let o=e.replace(/(,\r?\n)(\s+|&nbsp;+)/g,(d,u,p)=>u=p=" ").split(/\r?\n/),r="",n=0,a=o.length,s="",l="",c={};for(;n<a&&this._state;){let d=o[n];if(d.indexOf("NET {")>-1){r=this._map["NET {"],n++;continue}else{switch(r){case"Net":this.resolveNetLine(d);break;default:break}n++}}return this._state?this._netList:null}resolveDesignatorAndNameLine(e){let i=e.split(" ").filter(s=>s.trim()!==""),o=this.autoStr(i[0]),r=this.autoStr(i[1])?i[1].split("@"):[],n=r.length?this.autoStr(r[0]):"",a=r.length?this.autoStr(r[1]):"";n&&!a&&(a=n,n=""),this._netList.add({uniqueId:o,props:{DeviceName:n,FootprintName:a,Designator:o},nets:{}})}resolveNetLine(e){let i=this,[o,r]=e.split(":"),n=r.trim().split(",").map(ue.naturalSortSplitor).sort(ue.naturalSortComparator).map(a=>a[a.length-1].toString());it(n,(a,s)=>{let[,l,c]=s.match(/(\w+)\((\w+)\)/);if(l){let d=this.autoStr(l),u=this.autoStr(c);if(!l||!u){i._state=!1;return}let p=i._netList.query(l);En(this._netList.netMap,o.trim()).push(`${d}.${u}`)}})}autoStr(e){return e?e.trim():""}attrKeyStr(e){return e.trim().replace(/"/g,"")}};var bye=class{constructor(e){this._state=!1;this._map={"*PART*":"Designator","*NET*":"Net"};this._net=null;this._source=e}decode(){this._netList=new w4;let e=this._source;if(!e){this._state=!1;return}this._state=!0;let o=e.replace(/(,\r?\n)(\s+|&nbsp;+)/g,(d,u,p)=>u=p=" ").split(/\r?\n/),r="",n=0,a=o.length,s="",l="",c={};for(;n<a&&this._state;){let d=o[n];if(d.indexOf("*PART*")>-1){r=this._map["*PART*"],n++;continue}else if(d.indexOf("*NET*")>-1){r=this._map["*NET*"],n++;continue}else if(d==="*MISC*      MISCELLANEOUS PARAMETERS"||d==="*END*     OF ASCII OUTPUT FILE"){r=d,n++;continue}else{switch(r){case"Designator":this.resolveDesignatorAndNameLine(d);break;case"Net":this.resolveNetLine(d);break;default:break}n++}}return this._state?this._netList:null}resolveDesignatorAndNameLine(e){let[i,o]=e.split(" ").filter(s=>!!s),r=this.autoStr(i),[n,a]=o.split("@");n&&!a&&(a=n,n=""),this._netList.add({uniqueId:r,props:{DeviceName:n,FootprintName:a,Designator:r},nets:{}})}resolveNetLine(e){let i=this;if(!e.trim().split(" ").length){i._state=!1;return}e.startsWith("*SIG*")?i._net=e.split(" ")[1]:e.trim()&&e.trim().split(" ").filter(n=>n).forEach(n=>{let a=I1e(n),s=this.autoStr(a[0]),l=this.autoStr(a[1]);if(!s||!l){i._state=!1;return}let c=i._netList.query(s);En(this._netList.netMap,i._net).push(n),c&&(c.nets[l]=this.autoStr(i._net))})}autoStr(e){return e?e.trim():""}};var X4=L(z());function sin(t){return t===void 0||t===""?"":/^[a-zA-Z0-9*]*$/m.test(t)||t.startsWith("'")?t:"'"+t.replace("'","''")+"'"}var JEo=(0,d6.forwardRef)(({},t)=>{var w;let e=(0,d6.useContext)(wF);Ce(e);let i=J();Ae(CGt.default);let o=be.bind(CGt.default.locals),[r,n]=(0,d6.useState)([]),[a,s]=(0,d6.useState)(e.fileUuid1||""),[l,c]=(0,d6.useState)(e.fileUuid2||"");e.currentProjectId=((w=C.currentProject)==null?void 0:w.projectId)||null;let d=C.currentProject.projectId,u=(0,d6.useRef)(null),p=(0,d6.useRef)(null);(0,d6.useImperativeHandle)(t,()=>({handleCompare:y})),(0,d6.useEffect)(()=>{let x=he.getActiveTab();C.messageBus.rpcCall("getBOMNetListSelectList",x).then(S=>{let{rangeSchList:T,rangePcbList:M}=S.message;T.forEach(A=>{A.showOriginalText=!0}),M.forEach(A=>{A.showOriginalText=!0}),M.length>0&&(M[0].style={borderTop:"1px solid var(--separator-color-drop-down-menu)"});let I=[...T,...M];if(n(I),C.currentProject.projectId){if(!e.fileUuid1){let A=I[0].value;s(A),e.file1=b(A,I),e.fileUuid1=A,e.setFile1Status(0)}}else e.resetAllData(),s(""),c("")})},[C.currentProject.projectId]);let m=x=>{let S=[".tel, .enet",".asc",".net",".rep",".txt",".ccf",".dnet"];new DC(S.join(","),function(T){let M=T[0];if(!M)return Ut({type:"warn",message:"Please open a file first."});xH(M,["GB2312","utf8"]).then(async({fileRes:I})=>{let A=HSe(I.name||I.title||""),D=null;switch(A){case"Allegro":case"Allegro_txt":D=new dB(I.content.toString()).decode();break;case"JLCEDA":case"EasyEDA":D=await new Y2(I.content.toString()).decode();break;case"PADS":D=new Sq(I.content.toString()).decode();break;case"Protel2":{I.content.toString().startsWith("$PACKAGES")?D=new dB(I.content.toString()).decode():D=new Mq(I.content.toString()).decode();break}case"zuken":{D=new gye(I.content.toString()).decode();break}case"PADS_Layout":{D=new bye(I.content.toString()).decode();break}case"DISA":{D=new D1e().decode(I.content.toString());break}default:Ut({type:"error",message:"Unsupported document type"});return}x==="select1"?(e.netlist1=D,s(I.name),e.setFile1Status(1),e.file1=I.name,e.fileUuid1=I.name,e.fil1DocType=null,u.current.setText(I.name)):(e.netlist2=D,e.setFile2Status(1),c(I.name),e.file2=I.name,e.fileUuid2=I.name,e.fil2DocType=null,p.current.setText(I.name))},function(I){Ut({type:"error",message:I})})})},h=async(x,S)=>{var M;if(r.filter(I=>x===I.id)[0].isPcb){let I=(await C.messageBus.rpcCall($e.PCB.GET,[x,C.currentProject.projectId])).message,A=C.currentProject.projectId,D=(await C.pcbMessageBus.rpcCall("pcb/decodePcbWorldInWorker",{uuid:x,docType:ve.PCB,projectId:A,options:{data:{title:I.title,pcbPageId:x,noUniqueId:!0}},env:{tabId:x+Zc+A,windowTabId:(M=ko())==null?void 0:M._TAB_ID_},decodeTopic:"exportNetList"})).message;return(D==null?void 0:D.netList)||(console.error("pcb \u7F51\u8868\u751F\u6210\u5931\u8D25",I.title),De({type:"error",msg:"Generate netlist failed!"})),S===1?e.fil1DocType=ve.PCB:e.fil2DocType=ve.PCB,D}else return S===1?e.fil1DocType=ve.SCH:e.fil2DocType=ve.SCH,(await C.messageBus.rpcCall("getCompareNetlist",x)).message},f=(x,S,T,M)=>{it(x.pkgMap,(A,D)=>{S.pkgMap[A]?(I(D,S.pkgMap[A],"pkgMap",A),delete S.pkgMap[A],delete x.pkgMap[A]):T("pkgMap",A,D)}),it(S.pkgMap,(A,D)=>{M("pkgMap",A,D)}),it(x.netMap,(A,D)=>{S.netMap[A]?(I(D,S.netMap[A],"netMap",A),delete S.netMap[A],delete x.netMap[A]):T("netMap",A,D,!0)}),it(S.netMap,(A,D)=>{M("netMap",A,D,!0)}),it(x.propertiesMap,(A,D)=>{S.propertiesMap[A]?(I(D,S.propertiesMap[A],"propertiesMap",A),delete S.propertiesMap[A],delete x.propertiesMap[A]):T("propertiesMap",A,D)}),it(S.propertiesMap,(A,D)=>{M("propertiesMap",A,D)});function I(A,D,E,N){let R=A.sort((P,O)=>ue.naturalSortComparator(ue.naturalSortSplitor(P),ue.naturalSortSplitor(O))),v=D.sort((P,O)=>ue.naturalSortComparator(ue.naturalSortSplitor(P),ue.naturalSortSplitor(O)));k(R,v);function k(P,O){let _=0,j=0;for(;!(_===O.length||j===P.length);){let B=ue.naturalSortComparator(ue.naturalSortSplitor(P[j]),ue.naturalSortSplitor(O[_]));B>0?(M(E,N,D[_]),_++):B<0?(T(E,N,A[j]),j++):(_++,j++)}for(;_<O.length;_++)M(E,N,D[_]);for(;j<P.length;j++)T(E,N,A[j])}}},g=x=>{var I;let S={pkgMap:{},netMap:{},propertiesMap:{},netValue2key:{},pinMap:{},componentMap:{},fullCompareNetMap:{}},T={},M=(x==null?void 0:x.componentPinIdMap)||{};return it(x.componentMap||((I=x.netList)==null?void 0:I.components)||x.getComponentMap(),(A,{nets:D,pins:E,props:N,uniqueId:R,source:v,pinInfoMap:k})=>{let P=N[jr.DESIGNATOR];k?it(k,(O,{net:_})=>{var B,V;let j=`${P}.${O}`;if(_){let G=e.caseinsensitiveNetName?_.toLocaleUpperCase():_;En(T,G).push(j);let Q=((B=v==null?void 0:v.pinIdMap)==null?void 0:B[j])||O;A in M&&(Q=M[A][O]);let H=((V=v==null?void 0:v.pinId2PageIdMap)==null?void 0:V[j])||(v==null?void 0:v.pageId);S.pinMap[j]={tabId:H,eId:Q}}}):it(D||E,(O,_)=>{var B,V;let j=`${P}.${O}`;if(_){let G=e.caseinsensitiveNetName?_.toLocaleUpperCase():_;En(T,G).push(j);let Q=((B=v==null?void 0:v.pinIdMap)==null?void 0:B[j])||O;A in M&&(Q=M[A][O]);let H=((V=v==null?void 0:v.pinId2PageIdMap)==null?void 0:V[j])||(v==null?void 0:v.pageId);S.pinMap[j]={tabId:H,eId:Q}}}),En(S.pkgMap,N.FootprintName).push(P),S.componentMap[P]={tabId:v==null?void 0:v.pageId,eId:v==null?void 0:v.componentId}}),Object.keys(T).length===0&&"netMap"in x&&it(x.netMap,(A,D)=>{let E=e.caseinsensitiveNetName?A.toLocaleUpperCase():A;T[E]=D}),it(T,(A,D)=>{A=sin(A);let E=D.sort((N,R)=>ue.naturalSortComparator(ue.naturalSortSplitor(N),ue.naturalSortSplitor(R)));S.netMap[A]=E,S.netValue2key[E.join("|")]=A}),S},b=(x,S)=>{let T=x;return it(S,(M,I)=>{if(I.value===x)return T=I.text,!1}),T},y=async()=>{var S,T;let x="Compare-netlist";try{if(vt(.01,x,void 0),e.filStatus1===0&&(e.netlist1=await h(a,1)),e.filStatus2===0&&(e.netlist2=await h(l,2)),e.netlist1&&e.netlist2){let M=g(e.netlist1),I=g(e.netlist2),A={pkgMap:{},netMap:{},propertiesMap:{},netValue2key:{},pinMap:M.pinMap,fullCompareNetMap:{},componentMap:M.componentMap},D={pkgMap:{},netMap:{},propertiesMap:{},netValue2key:{},pinMap:I.pinMap,fullCompareNetMap:{},componentMap:I.componentMap};vt(.8,x),f(M,I,(E,N,R,v=!1)=>{v&&(A.fullCompareNetMap[N]=!0),typeof R=="string"?En(A[E],N).push(R):Array.isArray(R)&&En(A[E],N).push(...R)},(E,N,R,v=!1)=>{v&&(D.fullCompareNetMap[N]=!0),typeof R=="string"?En(D[E],N).push(R):Array.isArray(R)&&En(D[E],N).push(...R)}),e.setCompareDataHandler(A,D),((S=e.rowComponentData)==null?void 0:S.length)===0&&((T=e.rowNetData)==null?void 0:T.length)===0&&De({type:"info",msg:i("There is no difference in the netlist"),timer:3})}else console.error("\u6CA1\u6709\u7F51\u8868\u6570\u636E")}finally{vt(1,x)}};return(0,X4.jsx)(X4.Fragment,{children:(0,X4.jsxs)("div",{className:o("import-container"),children:[(0,X4.jsxs)("div",{className:o("container-left"),children:[(0,X4.jsxs)("div",{className:o("import-line"),children:[(0,X4.jsx)("div",{className:o("import-title"),children:`${i("Netlist")}1:`}),d?(0,X4.jsx)(xt,{className:o("import-input"),value:a,ref:u,forceSetText:!0,containerStyle:{padding:"0 16px",flex:1,display:"flex",width:"calc(100% - 72px)"},onChange:x=>{let S=x.toString();s(S),e.setFile1Status(0),e.file1=b(S,r),e.fileUuid1=S},list:r}):(0,X4.jsx)(Kt,{className:o("import-input"),style:{marginRight:"16px"},value:a,disabled:!0}),(0,X4.jsx)("span",{className:o("import-button"),onClick:x=>{m("select1")},children:"..."})]}),(0,X4.jsxs)("div",{className:o("import-line"),children:[(0,X4.jsx)("div",{className:o("import-title"),children:`${i("Netlist")}2:`}),d?(0,X4.jsx)(xt,{className:o("import-input"),value:l,ref:p,containerStyle:{padding:"0 16px",flex:1,display:"flex",width:"calc(100% - 72px)"},forceSetText:!0,onChange:x=>{let S=x.toString();c(S),e.setFile2Status(0),e.file2=b(S,r),e.fileUuid2=S},list:r}):(0,X4.jsx)(Kt,{className:o("import-input"),style:{marginRight:"16px"},value:l,disabled:!0}),(0,X4.jsx)("span",{className:o("import-button"),onClick:x=>{m("select2")},children:"..."})]})]}),(0,X4.jsx)("div",{className:o("container-right"),children:(0,X4.jsx)(Me,{size:"sm",type:"primary",disabled:!e.fileUuid1||!e.fileUuid2,style:{height:"56px"},onClick:x=>{y()},children:i("comparison")})})]})})});var jst=L(Se());var yDe=L(z()),qEo=t=>{let{compareRef:e}=t,i=J(),o=(0,jst.useContext)(wF);Ce(o);let r=async()=>{var p;await((p=e==null?void 0:e.current)==null?void 0:p.handleCompare());let a=[],{file1:s,file2:l,rowComponentData:c,rowNetData:d}=o;a.push(["Type","key",s,l].join("	").replace(/BOM_/g,"").replace(/"/g,'\\"')),it(d,(m,h)=>{a.push(["NETS",h.object,h.net1||"",h.net2||""].join("	"))}),it(c,(m,h)=>{a.push(["FOOTPRINT",h.object,h.net1||"",h.net2||""].join("	"))});let u=new Blob([YEo(a.join(`
`))],{type:"text/csv"});ya(u,`${s} - ${l} \u7F51\u8868\u5BF9\u6BD4\u7ED3\u679C.csv`)},n=()=>{o.clearTableDataHandler()};return(0,jst.useEffect)(()=>{},[e]),(0,yDe.jsxs)("div",{children:[(0,yDe.jsx)(Me,{size:"md",style:{marginRight:"16px"},disabled:!o.canExport,onClick:a=>{r()},children:i("Export")}),(0,yDe.jsx)(Me,{size:"md",disabled:!o.canExport,onClick:a=>{n()},children:i("Clear")})]})};var NL=L(Se());var IGt=L(bDe());var CF=L(Se());var uQ=L(Se()),e8o=L(uT()),xGt=L($Eo());var Bk=L(z()),lin=t=>{let e=J();Ae(xGt.default);let i=be.bind(xGt.default.locals),{title:o=e("Notice"),children:r,className:n,position:a="t-l",triggerType:s="hover",content:l,rawHtml:c=!1,contentClick:d,contentDoubleClick:u,contentMouseOver:p,contentMouseOut:m}=t,[h,f]=(0,uQ.useState)(!1),[g,b]=(0,uQ.useState)(0),[y,w]=(0,uQ.useState)(0),[x,S]=(0,uQ.useState)(0),[T,M]=(0,uQ.useState)(0),[I,A]=(0,uQ.useState)("popover-t-l"),D=`${i("popover")} ${i(I)}`,E=(0,uQ.useRef)(null),N=(k,P)=>{if(f(O=>(O=P,O)),P){let _=v(k.target,"clickDiv").getBoundingClientRect();switch(a){case"t-l":w(_.left),b(_.top),M(-100),A("popover-t-l");break;case"t":b(_.top),w(_.left+_.width/2),S(-50),M(-100),A("popover-t");break}}},R=(k,P)=>{let _=v(k.target,"clickDiv").getBoundingClientRect();switch(a){case"t-l":w(_.left),b(_.top),M(-100),A("popover-t-l");break;case"t":b(_.top),w(_.left+_.width/2),S(-50),M(-100),A("popover-t");break}f(j=>(j=P,j))};function v(k,P){var O=null;function _(j,B){let V=j.parentNode.getAttribute("class"),G=j.parentNode;V?V&&V.indexOf(B)<0?_(G,B):V&&V.indexOf(B)>-1&&(O=G):_(G,B)}return _(k,P),O}return(0,Bk.jsx)(Bk.Fragment,{children:(0,Bk.jsxs)("div",{className:i("clickDiv"),onClick:k=>{s=="click"&&R(k,!0)},onMouseLeave:k=>{N(k,!1)},onMouseEnter:k=>{s=="hover"&&N(k,!0)},style:{position:"relative",height:"100%"},children:[document.body&&e8o.default.createPortal((0,Bk.jsx)(Bk.Fragment,{children:(0,Bk.jsxs)("div",{style:{display:h?"block":"none",top:`${g}px`,left:`${y}px`,transform:`translate(${x}% ,${T}%)`},className:D,ref:E,onMouseEnter:k=>{k.stopPropagation()},onClick:k=>{k.stopPropagation()},onDoubleClick:k=>{k.stopPropagation()},children:[(0,Bk.jsx)("div",{className:i("title"),children:o}),c?(0,Bk.jsx)("div",{className:`${i("container")} ${n}`,dangerouslySetInnerHTML:{__html:l},onClick:k=>{d&&d(k)},onDoubleClick:k=>{u&&u(k)},onMouseOver:k=>{p&&p(k)},onMouseOut:k=>{m&&m(k)}}):(0,Bk.jsx)("div",{className:i("container"),children:l})]})}),document.body),r]})})},t8o=lin;var wDe=L(bDe());var zk=L(z()),ate=t=>{let e=t.getAttribute("data-log-find-sheet"),i=t.getAttribute("data-log-find-id");return{tabId:e,eId:i}},yye=async(t,e,i,o)=>{if(!t||!e)return!1;let r=[];if(typeof e=="string"?r.push(e):r.push(...e),o===ve.SCH){let n=await he.getTabIFrame(t);n?t!==he.getActiveTab()&&(C.leftTreeDbClickId.push(t),await he.setTabActive(t)):(C.leftTreeDbClickId.push(t),await C.messageBus.rpcCall("openDocByUuid",[t,C.currentProject.projectId]),n=await he.getTabIFrame(t)),C.messageBus.publish("cancelSelect"),C.messageBus.publish("sch/selectByIds",{ids:r,tabId:t}),C.messageBus.publish("highlightItems",{ids:r,adaptSelectionView:i?!0:r.length>1,isLeftTree:!0,intoView:!0}),C.messageBus.publish("sch/renderPropertyPanel",{renderUI:!0});return}if(o===ve.PCB)if(he.getActiveTab()===t)C.messageBus.publish("highlightItems",{needAdaptAll:i,globalIndexArr:r});else if(he.isHasTabById(t))C.leftTreeDbClickId.push(t),he.setTabActive(t).then(()=>{let n=setInterval(()=>{he.getActiveTab()===t&&(C.messageBus.publish("highlightItems",{needAdaptAll:i,globalIndexArr:r}),clearInterval(n))},17);setTimeout(()=>{clearInterval(n)},2e3)});else{let[n,a]=U0(t);C.messageBus.rpcCall($e.PCB.GET,[n,C.currentProject.projectId]).then(({message:s})=>{let l={uuid:s.uuid,docType:ve.PCB,title:s.title,display_title:s.display_title,dataStr:s.dataStr,ticket:s.ticket,updateTime:s.updateTime,highlightItems:r};qb(l,C.currentProject.projectId)})}},TGt=async(t,e,i)=>{if(!t||!e)return!1;let o=[];if(typeof e=="string"?o.push(e):o=e,i===ve.SCH&&t===gi()&&C.messageBus.publish("sch/highlightItems",{ids:o,tabId:t}),i===ve.PCB){t===gi()&&C.messageBus.publish("pcb/tempHightLightItems",{ids:o,highlight:!0});return}},SGt=async(t,e,i)=>{if(!t||!e)return!1;let o=[];if(typeof e=="string"?o.push(e):o=e,i===ve.SCH&&t===gi()&&C.messageBus.publish("sch/unhighlightItems",{ids:o,tabId:t}),i===ve.PCB){C.messageBus.publish("pcb/tempHightLightItems",{ids:[],highlight:!0,cancelLastHighLight:!0});return}},cin=CF.default.memo(({content:t,fileDocType:e})=>{let i=J();Ae(wDe.default);let o=be.bind(wDe.default.locals);return(0,zk.jsx)(t8o,{className:"log",content:t,contentClick:r=>{let{tabId:n,eId:a}=ate(r.target);yye(n,a,!1,e)},contentDoubleClick:r=>{let{tabId:n,eId:a}=ate(r.target);yye(n,a,!0,e)},contentMouseOut:r=>{let{tabId:n,eId:a}=ate(r.target);SGt(n,a,e)},contentMouseOver:r=>{let{tabId:n,eId:a}=ate(r.target);TGt(n,a,e)},triggerType:"click",rawHtml:!0,children:(0,zk.jsx)("div",{className:o("table-item-detail"),children:i("Detail")})})}),din=t=>{let{props:e,isObject1:i,currentBgColor:o}=t,r=(0,CF.useContext)(wF);Ce(r);let n=J();Ae(wDe.default);let a=be.bind(wDe.default.locals),{row:s}=e,l=i?s.net1:s.net2,c=l.join("\u3001"),d=i?r.filStatus1:r.filStatus2,u=i?r.fil1DocType:r.fil2DocType,p={};if(d===0){let b=[];it(l,(y,w)=>{let x=s.type===1?r.addItem.componentMap[w]:r.addItem.pinMap[w];if(i||(x=s.type===1?r.removeItem.componentMap[w]:r.removeItem.pinMap[w]),x!=null&&x.tabId&&x.eId){let S=ePe(x==null?void 0:x.tabId);if(Array.isArray(x.eId))it(x.eId,(T,M)=>{let I=tw({text:w,attr:{sheet:S,id:M,type:"rect"},className:a("link")});En(p,S).push(M),b.push(I)});else{let T=tw({text:w,attr:{sheet:S,id:x.eId,type:"rect"},className:a("link")});En(p,S).push(x.eId),b.push(T)}}}),c=b.join("\u3001")}let m=(0,CF.useCallback)(b=>{let{tabId:y,eId:w}=ate(b.target);y&&w?yye(y,w,!1,u):it(p,(x,S)=>{yye(x,S,!1,u)})},[u]),h=(0,CF.useCallback)(b=>{let{tabId:y,eId:w}=ate(b.target);y&&w?yye(y,w,!0,u):it(p,(x,S)=>{yye(x,S,!0,u)})},[u]),f=(0,CF.useCallback)(b=>{let{tabId:y,eId:w}=ate(b.target);y&&w?TGt(y,w,u):it(p,(x,S)=>{TGt(x,S,u)})},[u]),g=(0,CF.useCallback)(b=>{let{tabId:y,eId:w}=ate(b.target);y&&w?SGt(y,w,u):it(p,(x,S)=>{SGt(x,S,u)})},[u]);return l.length>0?(0,zk.jsxs)("div",{className:a("table-row"),children:[(0,zk.jsx)("div",{className:`${a("table-top-item")} log`,style:{backgroundColor:o},dangerouslySetInnerHTML:{__html:c},onClick:m,onDoubleClick:h,onMouseOver:f,onMouseOut:g}),(0,zk.jsxs)("div",{className:`${a("table-bottom-item")}  ${d===0&&a("highlight")}`,style:{backgroundColor:o},children:[(0,zk.jsx)("div",{className:a("table-item-summary"),onClick:m,onDoubleClick:h,onMouseOver:f,onMouseOut:g,children:n({value:s.type===1?"{n} Components":"{n} Pins",options:{n:l.length}})}),(0,zk.jsx)(cin,{content:c,fileDocType:u})]})]}):(0,zk.jsx)(zk.Fragment,{})},MGt=CF.default.memo(din);var Nx=L(z()),uin=()=>{let t=(0,NL.useContext)(wF);Ce(t),Ce(ms);let e=J();Ae(IGt.default);let i=be.bind(IGt.default.locals),o=(0,NL.useRef)(null),r=(0,NL.useMemo)(()=>Pc().bgColor,[ms.activeTheme]),n=[{key:"type",name:e("Type"),width:.1,fixed:"left",i18n:!0,render:p=>{let{row:m}=p;return(0,Nx.jsx)("span",{style:{backgroundColor:r},children:e(m.type===1?"Component":"Net")})}},{key:"object",name:e("Objects"),width:.3,fixed:"left",i18n:!0,render:p=>{let{row:m}=p;return(0,Nx.jsx)("span",{className:`${i("table-object")}  ${[t.filStatus1,t.filStatus2].includes(0)&&i("highlight")}`,title:m.object,onClick:h=>{},onDoubleClick:()=>{},onMouseOver:()=>{},onMouseLeave:()=>{},children:m.object})}},{key:"Netlist1",name:`${e("Netlist")}1 ${e("Name")}`,width:.3,i18n:!0,render:p=>(0,Nx.jsx)(MGt,{props:p,isObject1:!0,currentBgColor:r})},{key:"Netlist2",name:`${e("Netlist")}2 ${e("Name")}`,width:.3,i18n:!0,render:p=>(0,Nx.jsx)(MGt,{props:p,isObject1:!1,currentBgColor:r})}],[a,s]=(0,NL.useState)(0),[l,c]=(0,NL.useState)([]),[d,u]=(0,NL.useState)(!1);return(0,NL.useEffect)(()=>{s(()=>document.querySelector("#layoutLeft").clientHeight-o.current.offsetTop-8);let p=new ResizeObserver(m=>{requestAnimationFrame(()=>{s(()=>document.querySelector("#layoutLeft").clientHeight-o.current.offsetTop-8)})});return p.observe(document.querySelector("#layoutLeft")),()=>{p.unobserve(document.querySelector("#layoutLeft"))}},[]),(0,NL.useEffect)(()=>{let p=t.rowNetData.length,m=t.rowComponentData.length;p+m>150?u(!0):u(!1)},[t.rowNetData,t.rowComponentData]),(0,NL.useEffect)(()=>{let p=[];t.checkNet&&p.push(...t.rowNetData),t.checkComponent&&p.push(...t.rowComponentData),c(p)},[t.checkComponent,t.checkNet,t.rowComponentData,t.rowNetData]),(0,Nx.jsxs)(Nx.Fragment,{children:[(0,Nx.jsx)("div",{className:i("checkStatusContainer"),children:(0,Nx.jsx)(qt,{className:i("checkItem"),checked:t.caseinsensitiveNetName,onChange:p=>{t.setCaseInsensitiveNetName(p)},children:e("Case-insensitive handling of net name")})}),(0,Nx.jsxs)("div",{className:i("checkStatusContainer"),children:[(0,Nx.jsx)(qt,{className:i("checkItem"),checked:t.checkComponent&&t.checkNet,onChange:p=>{t.setCheckNetHandler(p),t.setCheckComponentHandler(p)},children:e("All")}),(0,Nx.jsx)(qt,{className:i("checkItem"),checked:t.checkNet,onChange:p=>{t.setCheckNetHandler(p)},children:e("Net")}),(0,Nx.jsx)(qt,{className:i("checkItem"),checked:t.checkComponent,onChange:p=>{t.setCheckComponentHandler(p)},children:e("Component")})]}),(0,Nx.jsx)("div",{className:i("compareTable"),style:{width:"100%",height:a+"px"},ref:o,children:(0,Nx.jsx)(xi,{index:"rowUuid",height:a,fixedHeader:!0,showStatus:!0,columns:n,rows:l,border:!0,rowHeight:49,openHeadContentMenu:!0,showCustomHeadSettingOnHeadContextmenu:!1,openRowSelectedBgColor:!1,openVirtualScroll:d,name:"compareNetlistTable"})})]})},i8o=uin;var LGt=L(bDe());var r8o=L(Se()),IR=L(z()),zst=new Rst,pin=()=>{Ae(LGt.default);let t=be.bind(LGt.default.locals),e=(0,r8o.useRef)(null);return(0,IR.jsx)(IR.Fragment,{children:(0,IR.jsx)(wF.Provider,{value:zst,children:(0,IR.jsxs)("div",{className:t("netlist-comparsion-container"),children:[(0,IR.jsx)(JEo,{ref:e}),(0,IR.jsx)(qEo,{compareRef:e}),(0,IR.jsx)(i8o,{})]})})})},wye=null,min=document.querySelector("#netlist-comparsion");function CDe(){C.currentProject.projectId&&zst.currentProjectId&&C.currentProject.projectId!==zst.currentProjectId&&zst.resetAllData(),wye&&(wye.unmount(),wye=null),wye=o8o.default.createRoot(min),wye.render((0,IR.jsx)(pin,{}))}function n8o(){wye.unmount()}var ar={PROJECT_LIST:"project_list",PAGES:"pages",ROOT:"root",NETROOT:"netRoot",SYMBOLROOT:"symbolRoot",PCBOBJECT:"pcbObject",PCBCOMPONENT:"pcbComponent",PCBNET:"pcbNet",PART_ATTR:"part-attr",PART_TREE:"part-tree",PART_PINMANAGER:"pin-manager",PART_WIZARD:"pin-wizard",PANEL_OBJECT:"panelObject",PANEL_ATTR:"panelAttr",ASSOCIATED_DEVICE:"associated-device",SIM:"sim-attr",BASIC_LIBRARY:"basicLibrary",SHEET_WIZARD:"sheet-wizard",FOOTPRINT_ATTR:"footprintProperty",FOOTPRINT_PAD:"footprintPad",FOOTPRINT_WIZARD:"footprintWizard",FOOTPRINT_DEVICES:"footprintDevices"},Za={PROJECT_LIST:"project_list",PROJECT_DESIGN:"projectDesign",LIB_DESIGN:"libDesign",BASIC_LIBRARY:"basicLibrary",NETLIST_COMPARSION:"netlist-comparsion"},l8o,c8o,hin=[{tabId:Za.PROJECT_LIST,title:{value:"All Projects",context:"leftTree"},isDisplayNone:ln.isViewerMode},{tabId:Za.PROJECT_DESIGN,title:{value:"Project Design",context:"leftTree"},isDisplayNone:!((c8o=(l8o=C)==null?void 0:l8o.currentProject)!=null&&c8o.projectId)},{tabId:Za.LIB_DESIGN,title:{value:"Lib Design",context:"leftTree"},mode:[Ee.FOOTPRINT,Ee.PANEL_LIB,Ee.PART,Ee.BLOCK_SYMBOL,Ee.NETFLAG,Ee.NETPORT,Ee.SHEET_SYMBOL,Ee.NONEELEC_SYMBOL,Ee.OFF_PAGE_CONNECTOR,Ee.DIFF_PAIRS_FLAG,Ee.ASSEMBLYVARIANT],isDisplayNone:ln.isViewerMode},{tabId:Za.BASIC_LIBRARY,title:{value:"Common Library",context:"leftTree"},isDisplayNone:ln.isViewerMode},{tabId:Za.NETLIST_COMPARSION,title:{value:"Netlist Comparison",context:"leftTree"},isAbleDelete:!0,isDisplayNone:!C.showCompareNetTab}],d8o,u8o,fin=[{tabId:Za.PROJECT_DESIGN,title:{value:"Project Design",context:"leftTree"},isDisplayNone:!((u8o=(d8o=C)==null?void 0:d8o.currentProject)!=null&&u8o.projectId)}],gin=[{tabId:ar.PAGES,title:{value:"Page",context:"leftTree"}},{tabId:ar.NETROOT,title:{value:"Net",context:"leftTree"},mode:[Ee.SCH,Ee.CBB_SCH,Ee.SCH_INSTANCE,Ee.BLOCK_SCH,Ee.CBB_BLOCK_SCH]},{tabId:ar.SYMBOLROOT,title:{value:"Component",context:"leftTree"},mode:[Ee.SCH,Ee.CBB_SCH,Ee.SCH_INSTANCE,Ee.BLOCK_SCH,Ee.CBB_BLOCK_SCH]},{tabId:ar.ROOT,title:{value:"Object",context:"leftTree"},mode:[Ee.SCH,Ee.CBB_SCH,Ee.SCH_INSTANCE,Ee.BLOCK_SCH,Ee.CBB_BLOCK_SCH]},{tabId:ar.PCBNET,title:{value:"Net",context:"leftTree"},mode:[Ee.PCB]},{tabId:ar.PCBCOMPONENT,title:{value:"Component",context:"leftTree"},mode:[Ee.PCB]},{tabId:ar.PCBOBJECT,title:{value:"Object",context:"leftTree"},mode:[Ee.PCB]},{tabId:ar.PANEL_OBJECT,title:{value:"Object",context:"leftTree"},mode:Ee.PANEL}],bin=[{tabId:ar.PANEL_ATTR,title:{value:"Property",context:"leftTree"},mode:Ee.PANEL_LIB},{tabId:ar.PANEL_OBJECT,title:{value:"Object",context:"leftTree"},mode:Ee.PANEL_LIB},{tabId:ar.PART_ATTR,title:{value:"Property",context:"leftTree"},mode:[Ee.PART,Ee.BLOCK_SYMBOL,Ee.NETFLAG,Ee.NETPORT,Ee.SHEET_SYMBOL,Ee.NONEELEC_SYMBOL,Ee.OFF_PAGE_CONNECTOR,Ee.DIFF_PAIRS_FLAG,Ee.ASSEMBLYVARIANT]},{tabId:ar.PART_PINMANAGER,title:{value:"Pin",context:"leftTree"},mode:[Ee.PART,Ee.BLOCK_SYMBOL,Ee.NETFLAG,Ee.NETPORT,Ee.NONEELEC_SYMBOL,Ee.OFF_PAGE_CONNECTOR,Ee.ASSEMBLYVARIANT]},{tabId:ar.PART_WIZARD,title:{value:"Wizard",context:"leftTree"},mode:Ee.PART},{tabId:ar.ASSOCIATED_DEVICE,title:{value:"Devices",context:"leftTree"},mode:Ee.PART,isDisplayNone:!0},{tabId:ar.SIM,title:{value:"Sim",context:"leftTree"},mode:Ee.PART,isDisplayNone:!na},{tabId:ar.FOOTPRINT_ATTR,title:{value:"Property",context:"leftTree"},mode:Ee.FOOTPRINT},{tabId:ar.FOOTPRINT_PAD,title:{value:"Pad",context:"leftTree"},mode:Ee.FOOTPRINT},{tabId:ar.FOOTPRINT_WIZARD,title:{value:"Wizard",context:"leftTree"},mode:Ee.FOOTPRINT},{tabId:ar.FOOTPRINT_DEVICES,title:{value:"Devices",context:"leftTree"},mode:Ee.FOOTPRINT}];var xDe=(t,e)=>{var r,n,a,s,l;let i=[Za.PROJECT_LIST,Za.BASIC_LIBRARY];switch((r=C.currentProject)!=null&&r.projectId&&i.push(Za.PROJECT_DESIGN),t){case se.PCB:case se.SCH:i.push(Za.NETLIST_COMPARSION);break;case se.PART:case se.BLOCK_SYMBOL:case se.NETFLAG:case se.SHORT_SYMBOL:case se.NETPORT:case se.OFF_PAGE_CONNECTOR:case se.DIFF_PAIRS_FLAG:case se.SHEET_SYMBOL:case se.NONEELEC_SYMBOL:case se.PANEL_LIB:case se.FOOTPRINT:case se.PHOTOVIEW:case se.VIEW3D:case se.PANEL3D:i.push(Za.LIB_DESIGN);break}let o=It.containerInfo[$a.leftPanelTabBarId].currentMode;if(i.includes(e)&&((a=(n=It.containerInfo[$a.leftPanelTabBarId])==null?void 0:n.tabs)!=null&&a.some(c=>c.tabId===e&&!c.isDisplayNone&&(c.mode===void 0||It.judgeHasMode(o,c.mode)))))return e;{let c=zu.leftTreeInDoctype[t];return i.includes(c)&&((l=(s=It.containerInfo[$a.leftPanelTabBarId])==null?void 0:s.tabs)!=null&&l.some(d=>d.tabId===c&&!d.isDisplayNone&&(d.mode===void 0||It.judgeHasMode(o,d.mode))))?c:i.find(d=>{var u,p;return(p=(u=It.containerInfo[$a.leftPanelTabBarId])==null?void 0:u.tabs)==null?void 0:p.some(m=>m.tabId===d&&!m.isDisplayNone)})||i[0]}},a8o=(t,e)=>{var o,r;let i=[ar.PAGES];switch(t){case se.PCB:i=[ar.PAGES,ar.PCBNET,ar.PCBCOMPONENT,ar.PCBOBJECT];break;case se.SCH:i=[ar.PAGES,ar.NETROOT,ar.SYMBOLROOT,ar.ROOT];break;case se.PANEL:i=[ar.PAGES,ar.PANEL_OBJECT];break}return i.includes(e)&&((r=(o=It.containerInfo[$a.projectTabBarId])==null?void 0:o.tabs)!=null&&r.some(n=>n.tabId===e&&!n.isDisplayNone))?e:i.find(n=>{var a,s;return(s=(a=It.containerInfo[$a.projectTabBarId])==null?void 0:a.tabs)==null?void 0:s.some(l=>l.tabId===n&&!l.isDisplayNone)})||i[0]},p8o=t=>{let e=[];switch(t){case se.PART:e=[ar.PART_ATTR,ar.PART_TREE,ar.PART_PINMANAGER,ar.PART_WIZARD,ar.ASSOCIATED_DEVICE,ar.SIM];break;case se.BLOCK_SYMBOL:case se.NETFLAG:case se.SHORT_SYMBOL:case se.NETPORT:case se.OFF_PAGE_CONNECTOR:case se.NONEELEC_SYMBOL:e=[ar.PART_ATTR,ar.PART_PINMANAGER];break;case se.SHEET_SYMBOL:e=[ar.PART_ATTR];break;case se.DIFF_PAIRS_FLAG:e=[ar.PART_ATTR];break;case se.PANEL_LIB:e=[ar.PANEL_ATTR,ar.PANEL_OBJECT];break;case se.FOOTPRINT:e=[ar.FOOTPRINT_ATTR,ar.FOOTPRINT_PAD,ar.FOOTPRINT_WIZARD,ar.FOOTPRINT_DEVICES];break}return e},s8o=(t,e)=>{var o,r;let i=p8o(t);return i.includes(e)&&((r=(o=It.containerInfo[$a.libTabBarId])==null?void 0:o.tabs)!=null&&r.some(n=>n.tabId===e&&!n.isDisplayNone))?e:i.find(n=>{var a,s;return(s=(a=It.containerInfo[$a.libTabBarId])==null?void 0:a.tabs)==null?void 0:s.some(l=>l.tabId===n&&!l.isDisplayNone)})||i[0]};var Gle={[se.BLANKTAB]:"pages"},zu={leftTreeInDoctype:Gle,nowTabid:null,nextDoctype:null,nowDocType:null},$a=new class{constructor(){this.leftPanelTabBarId="leftPanelTab";this.projectTabBarId="leftProjectDesignTab";this.libTabBarId="leftLibDesignTab";this.docTabId=""}init(){var r,n,a,s,l,c;let t=JSON.parse(sessionStorage.getItem("activeLeftTabInDoc"));t&&(zu.leftTreeInDoctype=t);let e={id:this.leftPanelTabBarId,dom:"layoutLeft",tabs:ln.isViewerMode?fin:hin,tabDock:"left",styleType:"panel",tabsStyle:{minHeight:"72px"},tabBoxStyle:{padding:0},tabSize:24,activeTabId:Za.PROJECT_LIST,currentMode:Ee.HOME,dataSensors:!0,getActiveByMode:this.getLeftPanelActiveTabByMode,isShowMarkLine:!0,pushpin:{isFixed:!((c=(l=(s=(a=(n=(r=C)==null?void 0:r.profileSetting)==null?void 0:n.commSystemSetting)==null?void 0:a.SYSTEM)==null?void 0:s.sidePanelAutoHide)==null?void 0:l.leftPanel)!=null&&c.value),onClick:d=>{let u=Wi("SYSTEM","sidePanelAutoHide",{readValueKey:!1});u.leftPanel.value=d,mt.savePreference("commSystemSetting",sc()),It.setPinStatus(this.leftPanelTabBarId,!d)}},blankClick:async d=>{await Pn("layout_toggler_left",!(0,fl.default)("#layout_toggler_left").hasClass("close"),!0)}};It.addTabBar(e);let i={id:this.projectTabBarId,dom:"left-panel-projectAndLib-design-tab",tabs:gin,tabDock:"top",styleType:"panel",tabSize:24,tabsStyle:{maxWidth:"88px",flex:"1"},activeTabId:ar.PAGES,currentMode:Ee.HOME,dataSensors:!0,tabContextMenu:(d,u)=>{if([ar.PAGES,ar.SYMBOLROOT,ar.NETROOT,ar.ROOT].includes(C.leftProjectDesignActiveTab)){if(ln.isViewerMode)return;gDe(u)}},blankContextMenu:(d,u)=>{[ar.PAGES,ar.SYMBOLROOT,ar.NETROOT,ar.ROOT].includes(C.leftProjectDesignActiveTab)&&gDe(u)}};It.addTabBar(i);let o={id:this.libTabBarId,dom:"left-panel-projectAndLib-design-tab",tabs:bin,tabDock:"top",styleType:"panel",tabSize:24,tabsStyle:{maxWidth:"88px",flex:"1"},activeTabId:"",currentMode:Ee.HOME,dataSensors:!0};It.addTabBar(o),C.messageBus.subscribe("/pro-ui/container/tab/onClick",d=>{let{containerId:u,tabId:p,isTrueClick:m}=d;p==="footprintPad"&&Promise.resolve().then(()=>{C.messageBus.publish("layoutRightAttributesModify")}),u===$a.leftPanelTabBarId&&$a.leftPanelOnClick(p,m)}),C.messageBus.subscribe("/pro-ui/container/tab/onClick",d=>{let{containerId:u,tabId:p}=d;u===$a.projectTabBarId&&$a.projectDesignTabOnClick(p,!0)}),C.messageBus.subscribe("/pro-ui/container/tab/onClick",d=>{let{containerId:u,tabId:p}=d;u===$a.libTabBarId&&$a.libDesignTabOnClick(p,!0)}),C.messageBus.subscribe("/pro-ui/container/tab/onDelete",d=>{let{containerId:u,tabId:p}=d;if(u===this.leftPanelTabBarId&&p===Za.NETLIST_COMPARSION){C.showCompareNetTab=!1;let m=It.getActiveTab($a.leftPanelTabBarId);It.setTabDisplayNone($a.leftPanelTabBarId,Za.NETLIST_COMPARSION,!C.showCompareNetTab),n8o(),m.tabId===Za.NETLIST_COMPARSION&&$a.switchActiveLeftTabByDocType()}})}switchActiveLeftTabByDocType(){let t=It.getActiveOrder($a.leftPanelTabBarId),e=dt(),i=null;for(let o=t.length-2;o>=0;o--){let r=t[o],n=xDe(e,r);if(n===r){$a.leftPanelOnClick(r),i=r;break}o===0&&(i=Za.PROJECT_LIST,$a.leftPanelOnClick(n))}return i}setTabbarActive(t,e){(0,fl.default)(`#${t}> span[tabid=${e}]`).addClass("active").siblings("[tabid]").removeClass("active")}changeModeByDoc(t,e){this.docTabId=t,zu.nextDoctype=e;let i=k2({tabId:t,docType:e});It.changeContainerMode({containerId:this.leftPanelTabBarId,mode:i,data:{doctype:e,tabId:t}}),It.changeContainerMode({containerId:this.projectTabBarId,mode:i}),It.changeContainerMode({containerId:this.libTabBarId,mode:i})}getLeftPanelActiveTabByMode(t,e){let i="",o=(e==null?void 0:e.doctype)||AJ(t),r=e==null?void 0:e.tabId,[n,a]=wr(r);switch(o){case se.NGSPICE:case se.SIMULIDE:case se.SCH:if(C.leftTreeDbClickId.includes(n)||C.leftTreeDbClickId.includes(r)){C.leftTreeDbClickId=C.leftTreeDbClickId.filter(l=>![n,r].includes(l));break}C.leftTreeActiveTab===Za.PROJECT_DESIGN&&[ar.ROOT,ar.SYMBOLROOT,ar.NETROOT].includes(C.leftProjectDesignActiveTab)?[se.NGSPICE,se.SIMULIDE].includes(o)&&(i=Za.PROJECT_DESIGN):zu.leftTreeInDoctype&&zu.leftTreeInDoctype[o]?i=zu.leftTreeInDoctype[o]:i=Za.PROJECT_DESIGN;break;case se.PCB:if(C.leftTreeDbClickId.includes(n)||C.leftTreeDbClickId.includes(r)){C.leftTreeDbClickId=C.leftTreeDbClickId.filter(l=>![n,r].includes(l));break}o in zu.leftTreeInDoctype?$a.leftPanelOnClick(zu.leftTreeInDoctype[o]):$a.leftPanelOnClick(Za.PROJECT_DESIGN);break;case se.FOOTPRINT:i=Za.LIB_DESIGN;break;case se.PANEL:if(C.leftTreeDbClickId.includes(n)||C.leftTreeDbClickId.includes(r)){C.leftTreeDbClickId=C.leftTreeDbClickId.filter(l=>![n,r].includes(l));break}zu.leftTreeInDoctype&&zu.leftTreeInDoctype[o]?i=zu.leftTreeInDoctype[o]:i=Za.PROJECT_DESIGN;break;case se.PANEL_LIB:i=Za.LIB_DESIGN;break;case se.BLANKTAB:case se.PHOTOVIEW:case se.VIEW3D:case se.PANEL3D:i=xDe(o,Za.PROJECT_DESIGN);break;case se.HOME:i=xDe(o,zu.leftTreeInDoctype[o]);break;default:kl(o)?i=Za.LIB_DESIGN:(o||o===0)&&zu.leftTreeInDoctype&&zu.leftTreeInDoctype[o]&&(i=xDe(o,zu.leftTreeInDoctype[o]));break}return i}async leftPanelOnClick(t=Za.PROJECT_LIST,e){zu.nowTabid=t;var i=he.getTabDocType(gi());switch(!zu.nextDoctype&&zu.nextDoctype!=0&&i&&(zu.leftTreeInDoctype[i]=t,sessionStorage.setItem("activeLeftTabInDoc",JSON.stringify(zu.leftTreeInDoctype))),zu.nextDoctype&&(zu.leftTreeInDoctype[zu.nextDoctype]=t,sessionStorage.setItem("activeLeftTabInDoc",JSON.stringify(zu.leftTreeInDoctype))),zu.nextDoctype=null,e&&C.leftTreeActiveTab===t&&await Pn("layout_toggler_left",!(0,fl.default)("#layout_toggler_left").hasClass("close"),!0),e&&C.leftTreeActiveTab!==t&&(0,fl.default)("#layout_toggler_left").hasClass("close")&&await Pn("layout_toggler_left",!1,!0),t===Za.NETLIST_COMPARSION&&!e&&xDe(dt(),t)!==Za.NETLIST_COMPARSION&&(t=$a.switchActiveLeftTabByDocType()),t){case Za.PROJECT_LIST:{if(C.leftTreeActiveTab!==t){let r=C.workspace==="Personal"?{}:{org_uuid:C.workspace};tl({...r,refresh:!0})}break}case Za.PROJECT_DESIGN:{(0,fl.default)("#schLeftTree").show(),(0,fl.default)(`#tab-container-${this.projectTabBarId}`).show(),(0,fl.default)(`#tab-container-${this.libTabBarId}`).hide();let r=he.getTabDocType(gi()),n=ar.PAGES,a=sessionStorage.getItem("tabByDoctypeOnLeftPojectDesign"),s=a?JSON.parse(a):{};s&&s[r]&&(n=s[r]),n=a8o(r,n),this.projectDesignTabOnClick(n);break}case Za.LIB_DESIGN:{(0,fl.default)("#schLeftTree").hide(),(0,fl.default)(`#tab-container-${this.projectTabBarId}`).hide(),(0,fl.default)(`#tab-container-${this.libTabBarId}`).show();let r=he.getTabDocType(gi()),n="",a=sessionStorage.getItem("tabByDoctypeOnLeftLibDesign"),s=a?JSON.parse(a):{};s&&s[r]&&(n=s[r]),n=s8o(r,n),this.libDesignTabOnClick(n);break}case Za.BASIC_LIBRARY:{hc.showBasicLibraryByLeftTree(),(0,fl.default)("#schLeftTree").hide();break}case Za.NETLIST_COMPARSION:{CDe();break}}(0,fl.default)(".left-panel-content").hide(),(0,fl.default)(".left-panel-content").each((r,n)=>{(0,fl.default)(n).attr("for-tabid").split(" ").includes(t)&&(0,fl.default)(n).show()});let o={containerId:this.leftPanelTabBarId,tabId:t};It.setActiveTab(o),C.leftTreeActiveTab=t}async projectDesignTabOnClick(t=Za.PROJECT_LIST,e){(0,fl.default)("#netType").addClass("hidden"),(0,fl.default)("#componentType").addClass("hidden"),(0,fl.default)("#leftTreeSearch").addClass("hidden");let i=he.getTabDocType(gi()),o=sessionStorage.getItem("tabByDoctypeOnLeftPojectDesign"),r=o?JSON.parse(o):{};switch(r[i]=a8o(i,t),sessionStorage.setItem("tabByDoctypeOnLeftPojectDesign",JSON.stringify(r)),C.leftProjectDesignActiveTab=t,t){case ar.PCBOBJECT:case ar.PCBCOMPONENT:case ar.PCBNET:{let a=(0,fl.default)(this).attr("pcbUUID")==gi();(0,fl.default)("#schLeftTree").addClass("hidden");let s=!0;if(!a||s){switch(t){case ar.PCBOBJECT:_l(st.ALLOBJROOT),s=(0,fl.default)("#treeMyDesign li").length==0;break;case ar.PCBCOMPONENT:_l(st.ALLCOMPONENTROOT),s=(0,fl.default)("#treeMyDesignComponent li").length==0;break;case ar.PCBNET:(0,fl.default)('#netClassification > span[data-tabid="Net"]').hasClass("active")?((0,fl.default)("#treeMyDesignNet").show(),(0,fl.default)("#treeMyDesignNetComponent").hide(),_l(st.ALLNETROOT)):((0,fl.default)("#treeMyDesignNet").hide(),(0,fl.default)("#treeMyDesignNetComponent").show(),_l(st.NetComponents)),s=(0,fl.default)("#treeMyDesignNet li").length==0;break}(0,fl.default)(this).attr("pcbUUID",gi())}break}case ar.PANEL_ATTR:{(0,fl.default)("#schLeftTree").addClass("hidden");let a=wa();cc.mountLeftAttrData(a)}case ar.PANEL_OBJECT:{(0,fl.default)("#schLeftTree").addClass("hidden");let a=gi(),s=(0,fl.default)("#treePanelObjects"),l=s.attr("tab-uuid")==a,c=()=>(0,fl.default)("#treePanelObjects li").length<2,d=()=>s.data("treePanelExpired")===!0;(!l||c()||d())&&(s.attr("tab-uuid",a),s.removeData("treePanelExpired"),_l(st.PANEL_OBJECT_ROOT_NODE));break}case ar.NETROOT:case ar.ROOT:case ar.SYMBOLROOT:case ar.PAGES:{C.messageBus.publish("leftTreeTabClick",t),(0,fl.default)("#schLeftTree").removeClass("hidden");break}default:break}this.setTabbarActive("leftProjectDesignTab",t),(0,fl.default)("#left-panel-projectAndLib-design [for-tabid]").hide(),(0,fl.default)("#left-panel-projectAndLib-design [for-tabid]").each((a,s)=>{(0,fl.default)(s).attr("for-tabid").split(" ").includes(t)&&((0,fl.default)(s).show(),t==ar.SYMBOLROOT?(0,fl.default)("#componentType").removeClass("hidden"):t===ar.NETROOT&&(0,fl.default)("#netType").removeClass("hidden"))});let n={containerId:this.projectTabBarId,tabId:t};C.messageBus.rpcCall("/pro-ui/container/tab/active",n)}async libDesignTabOnClick(t=Za.PROJECT_LIST,e){let i=he.getTabDocType(gi());if(p8o(i).indexOf(t)<0)return;let r=sessionStorage.getItem("tabByDoctypeOnLeftLibDesign"),n=r?JSON.parse(r):{};switch(n[i]=s8o(i,t),sessionStorage.setItem("tabByDoctypeOnLeftLibDesign",JSON.stringify(n)),C.leftLibDesignActiveTab=t,t){case ar.PART_PINMANAGER:C.messageBus.publish("refreshPinManager");break;case ar.SIM:case ar.PART_ATTR:case ar.PART_TREE:case ar.PART_WIZARD:C.messageBus.publish("updateAttrPanel");break;case ar.PANEL_ATTR:{let s=wa();cc.mountLeftAttrData(s)}case ar.PANEL_OBJECT:{let s=gi(),l=(0,fl.default)("#treePanelObjects"),c=l.attr("tab-uuid")==s,d=()=>(0,fl.default)("#treePanelObjects li").length<2,u=()=>l.data("treePanelExpired")===!0;(!c||d()||u())&&(l.attr("tab-uuid",s),l.removeData("treePanelExpired"),_l(st.PANEL_OBJECT_ROOT_NODE));break}case ar.ASSOCIATED_DEVICE:{fDe();break}default:break}(0,fl.default)("#left-panel-projectAndLib-design [for-tabid]").hide(),(0,fl.default)("#left-panel-projectAndLib-design [for-tabid]").each((s,l)=>{(0,fl.default)(l).attr("for-tabid").split(" ").includes(t)&&(0,fl.default)(l).show()});let a={containerId:this.libTabBarId,tabId:t};C.messageBus.rpcCall("/pro-ui/container/tab/active",a)}};function h8o(){(0,m8o.default)(".treeWrap").on("contextmenu",t=>{C.leftTreeActiveTab===Za.PROJECT_DESIGN&&[ar.ROOT,ar.SYMBOLROOT,ar.NETROOT,ar.PAGES].includes(C.leftProjectDesignActiveTab)&&C.messageBus.publish("initTreeContextMenu",[t.pageX,t.pageY,null,null])})}var vGt,DGt;async function Fst(){let t=dt(),e,i=await zi.getPermissionList(C.currentProject.projectId),o=Io.Doc_Updating,r=i?zi.hasPermission(i,o):!0;if(!r)return!!r;if([se.PCB,se.FOOTPRINT].includes(t)){if(vGt==!0)return vGt;e=(await C.messageBus.rpcCall(Yo.CLIP_BOARD.IS_EXIST,["PCB_clipboard"])).message,vGt=e}else{if(DGt==!0)return DGt;e=(await C.messageBus.rpcCall(Yo.CLIP_BOARD.IS_EXIST,["domString"])).message,DGt=e}return e}function EGt(t,e,i,o){if(!t||!e)return;let r={};for(let n of t)switch(n){case"MOVE_BY_CENTER_POINT":case"MOVE_BY_ORIGIN_POINT":case"MOVE_BY_REFERENCE_POINT":r[n]=je();break;case"rotate":case"rotate_left":case"rotate_right":case"rotate_ccw":case"rotate_reference_point":r[n]=!e.canRotate;break;case"fliph":case"flipv":r[n]=!e.canFlip;break;case"align_left":case"align_horizontal_center":case"align_right":case"align_top":case"align_vertical_center":case"align_bottom":case"align":r[n]=!e.canAlign;break;case"align_horizontal_equidistant":case"align_vertical_equidistant":case"distribute_horizontal_equidistant":case"distribute_vertical_equidistant":r[n]=!e.canEqualDistant;break;case"copy":r[n]=!e.canCopy;break;case"copyAsSVG":case"copyAsPNG":r[n]=!e.canCopyAsImage;break;case"paste":case"pasteInPlace":r[n]=!e.canPaste;break;case"cut":r[n]=!e.canCut||!KW("update");break;case"repeat":{r[n]=!e.canRepeat;break}case"visible_grid":r[n]=e.visible_grid;break;case"snap_grid":r[n]=e.snap_grid;break;case"intelligentSize":r[n]=!1;break;case"editSubckt":r[n]=!e.canEditSubckt;break;case"align_grid":r[n]=!e.selected;break;case"crossProbe":r[n]=!1;break;case"placeTransfer":r[n]=!e.hasSelectComponent;break;case"editArray":r[n]=!e.canEditArray;break;case"filterAttr":r[n]=e.filterAttr;break;case"boolIntersection":case"boolExclusive":case"boolSubtraction":case"boolAggregate":r[n]=!e.canEditGraphicBool;break;case"globalHighlightNetSelected":r[n]=!e.selected;break;case"globalUnhighlightNetSelected":r[n]=!e.globalHighlighNet;break;case"groupSelected":Wn(+e.doctype)?r[n]=e.groupSelectedDisabled:r[n]=!e.selected;break;case"ungroupSelected":Wn(+e.doctype)?r[n]=e.selectedCombinationCount===0:r[n]=Xs(e,"ungroupSelected")&&!e.ungroupSelected;break;case"removeFromGroup":r[n]=Xs(e,"ungroupSelected")&&!e.ungroupSelected||!e.combinationCount||!e.selected;break;case"joinGroup":Wn(+e.doctype)?r[n]=e.joinGroupDisabled||!e.combinationCount:r[n]=!e.combinationCount||!e.selected;break;case"ungroupAllEmpty":Wn(+e.doctype)&&(r[n]=!e.emptyCombinationCount);break;case"ungroupAll":r[n]=!e.combinationCount;break;case"duplicateToCursor":r[n]=!e.duplicateToCursor;break;case"duplicatePaste":r[n]=!e.duplicatePaste;break;default:r[n]=o}i(r)}var yin=["MOVE_BY_CENTER_POINT","MOVE_BY_ORIGIN_POINT","MOVE_BY_REFERENCE_POINT","rotate_left","rotate_right","rotate_reference_point","fliph","flipv","align_left","align_horizontal_equidistant","align_right","align_grid","align_top","align_vertical_equidistant","raise_one_level","lower_one_level","bring_to_front","send_to_back","adaptSelectionView","editArray","align_horizontal_center","align_bottom","align_vertical_center","distribute_horizontal_equidistant","distribute_vertical_equidistant","distribute_left_side_edge_equidistant","distribute_top_side_edge_equidistant","distribute_horizontal_by_center_distance","distribute_vertical_by_center_distance","distribute_horizontal_by_edges_distance","distribute_vertical_by_edges_distance","distribute","delete","delete-selected","crossProbe","placeTransfer","boolIntersection","boolSubtraction","boolAggregate","boolExclusive","boolSplit","duplicateToCursor","duplicatePaste"],win=["adaptSelectionView","align_top","align_horizontal_center","align_bottom","align_left","align_vertical_center","align_right","align_grid","align_horizontal_equidistant","align_vertical_equidistant","flipv","flipv","rotate_left","rotate_right","rotate_ccw","rotate_reference_point","editArray","discon","raise_one_level","lower_one_level","bring_to_front","send_to_back","paste","cut","copy","delete","rotate","flipv","fliph","align_left","editArray","distribute_horizontal_equidistant","distribute_vertical_equidistant","distribute_left_side_edge_equidistant","distribute_top_side_edge_equidistant","distribute_horizontal_by_center_distance","distribute_vertical_by_center_distance","distribute_horizontal_by_edges_distance","distribute_vertical_by_edges_distance","distribute","boolIntersection","boolSubtraction","boolAggregate","boolExclusive","boolSplit"],Cin=["paste","pasteInPlace","cut","copy","copyAsSVG","copyAsPNG","repeat","delete","rotate","flipv","fliph","align","visible_grid","snap_grid","intelligentSize","editSubckt","globalHighlightNetSelected","globalUnhighlightNetSelected","groupSelected","ungroupSelected","joinGroup","ungroupAllEmpty","ungroupAll","removeFromGroup"];async function Ust(){var r;TDe();let t=he.getActiveTabData(),e,i=(r=t==null?void 0:t.data)==null?void 0:r.doctype;if(i===se.SCH||pr(i)||i===se.NGSPICE||i===se.SIMULIDE?e=(await C.messageBus.rpcCall(kt.Sch.GetDocStatus)).message:Wn(i)&&(e=await Pt(kt.Panel.GetDocStatus)),!e)return;$J(e.canUndo,e.canRedo);let o=!e.selected;EGt(yin,e,n=>{xin(n)},o),EGt(win,e,n=>{kL(n)},o),EGt(Cin,e,n=>{pQ(n)},o)}async function TDe(t){var R;t=t||{};let e=C.currentProject.projectId,i=C.currentProject.isCBB,o=C.teams.find(v=>v.uuid==C.currentProject.owner&&v.uuid!==_o()),r=await zi.getPermissionList(e),n=await Y4(e),a=(((R=n==null?void 0:n.creator)==null?void 0:R.uuid)||(n==null?void 0:n.creator_uuid))==_o(),s=o?await zi.getTeamPermission(C.currentProject.owner):[];s!=null&&s.length&&(!r&&(r=[]),r.push(...s));function l(v,k){return r?zi.hasPermission(r,v,k):!0}let c=l(Io.File_Exporting),d=l(Io.File_Importing),u=l(Io.Doc_Adding),p=l(Io.Doc_Updating),m=l(Io.Doc_Copying),h=l(Io.Project_Downloading),f=l(Io.Project_Copying),g=l(Yr.Team_Module_Add),b=l(Yr.Team_Module_Download),y=l(Yr.Team_Module_Copy),w=l(Yr.Team_Module_Update),x=l(Yr.Team_Component_Add),{inTheExam:S}=await zi.getExamProjectStatus(e),T={autoPinPlacement:!S,autoLayout:!S,"auto-routing":!S,importSpecctraSession:!S,importAutoRouteRes:!S,backup:p,paste:i?o&&w||a:p,switchVersion:p,historicalRecords:p,"export(altium)":i?o?b:a:h,"export(pads)":i?o?b:a:h,projectSaveAsLocal:i?o?b:a:h,docSaveAsLocal:i?o?b:a:h,bsSaveAsLocal:i?o?b:a:h,selectedBSSaveAsLocal:i?o?b:a:h,projectSaveAsCloud:i?o?y:a:f,docSaveAsCloud:i?o?y:a:m,bsSaveAsCloud:i?o?y:a:f,selectedBSSaveAsCloud:i?o?y:a:f},{isExamProject:M}=await zi.getExamProjectStatus(e),I=["importFile(easyeda)","importEDAPro","importFile(altium)","importFile(allegro_orcad)","importFile(eagle)","importFile(kicad)","importFile(pads)","importFile(protel)","importFile(ltspice)","importFile(smt-jlcjson)","importNetlist","padCoordinateFileDlg"];for(let v of I)T[v]=M?d:!0;let A=["exportBOM","pcb_fabrication","pcb_export_coordinate_file","export3DFile","export3DShellFile","exportPng","exportTestPointReport","export(filePdf)","openDxfExportDlg","exportSpecctraFile","viewPCBInformation","exportNetlist","export(panelProductionSVG)","exportManufacturingFilesForOneClick","pcb_odb++"],D=["bom_order_parts","orderPCB","order3DShell","panelProductionOrder","show_help_file(part_store)","show_help_file(pcb_manu_facturing)","show_help_file(3d_cnc)"],E=["printPDF"];for(let v of A.concat(...D,...E))T[v]=i?o?b:a:c;let N=["new_board","new_schematic","new_page","new_PCB","new_Panel","new_Simulation"];for(let v of N)T[v]=u;for(let v in T){let k=T[v];[se.PCB,se.FOOTPRINT].includes(dt())&&(k=k&&!Td.isCmdDisabled(v)),t[v]=!k}return pQ(t),kL(t),t}function pQ(t,e){if(!t)return;let i={};typeof t=="string"?i={[t]:e}:Object.prototype.toString.call(t)==="[object Object]"?i=ue.deepClone(t):Array.isArray(t)&&t.map(o=>{i[o]=e}),Gu.setDisableCmd(i)}function xin(t,e){if(!t)return;let i={};typeof t=="string"&&(i={[t]:e}),typeof t=="object"&&(i=ue.deepClone(t)),Gu.setDisableCmd(i)}function v1(t,e){A1e(t,e),e&&Ai.updateToolSelectStatus(t)}function f8o(t){let e=["PACKAGE_EDIT","DEVICE_EDIT"],i=["GRID","SNAP_SIZE"],o=["CHECK_IN","CHECK_OUT"];ln.isViewerMode&&Array.isArray(t)&&(t=t.filter(r=>r.cmd!=="REUSE_BLOCK"));for(let r of t){let n=r.cmd;if(e.includes(n)&&(vQe()||(r.disabled=!0)),n=="CUT"&&(KW("update")||(r.disabled=!0)),Gnt().includes(n))r.disabled=!0;else if(o.includes(n)){let{disableFlag:a}=fT(n=="CHECK_IN"?"checkIn":"checkOut");a&&(r.disabled=!0)}if(r.extend&&r.extend.length)for(let a of r.extend)i.includes(n)?Gnt().length&&!["GRID_SETTING","GRID_SNAP_KEEP_RATIO"].includes(a.cmd)&&(a.disabled=!0):Gnt().includes(a.cmd)&&(a.disabled=!0)}return t}function kL(t,e){if(!t)return;let i={};typeof t=="string"?i={[t]:e}:Object.prototype.toString.call(t)==="[object Object]"?i=ue.deepClone(t):Array.isArray(t)&&t.map(o=>{i[o]=e}),Gu.setDisableCmd(i)}function $J(t,e){kL({undo:!t,redo:!e}),pQ({undo:!t,redo:!e})}async function g8o(t){var e=await he.getTabIFrame(t==null?void 0:t.tabId);kr("abortReferencePointMode");var i=e.getBoundingClientRect(),o=t.clientX,r=t.clientY,n=i.left+o,a=i.top+r;let s=await Tin(t);if(!s)return;let l=2;pl.open({menuConfig:s,position:{x:n-l,y:a-l},menuClickCallback:async c=>{let d=c.args.cmd;if(d==="viewDatasheet"){let{message:u}=await C.messageBus.rpcCall("getModelAttrVal",{id:t.targetId,attrKey:"Datasheet"});if(!u){let{message:p}=await C.messageBus.rpcCall("getSelectedDevices"),m=await(await C.messageBus.rpcCall($e.DEVICE.GET,[p[0],C.currentProject.projectId])).message;u=oHt(m)}window.open(u);return}if(d==="viewProductLink"){let{message:u}=await C.messageBus.rpcCall("getModelAttrVal",{id:t.targetId,attrKey:"Product Link"});if(!u){let{message:p}=await C.messageBus.rpcCall("getSelectedDevices"),m=await(await C.messageBus.rpcCall($e.DEVICE.GET,[p[0],C.currentProject.projectId])).message;u=yat(m)}window.open(u)}d&&((d==="delete"||d==="delete-selected")&&(t||(t={}),t.range="selected",d="delete"),d==="generateOrUpdateBlockSymbol2"&&(t.owner=C.currentProject.owner),et(d,{...t,menuItem:c}))}})}async function Tin(t){var e=await Sin(t);if(e){for(let i of e.defaultConfig)if(i&&["editProjectSymbol","editProjectDevice","Edit Device","Edit Symbol"].includes(i.id)&&(!KW("update")||Er()?i.disable=!0:i.disable=!1),i&&i.id=="cut"&&(KW("update")||(i.disable=!0)),(i==null?void 0:i.id)==="createAnnotation"&&ln.isViewerMode&&(e.defaultConfig=e.defaultConfig.filter(o=>(o==null?void 0:o.id)!=="createAnnotation")),i&&i.id==="open_oscilloscope"){let o=(await C.messageBus.rpcCall($e.DEVICE.GET,[t.deviceUuid,C.currentProject.projectId])).message;(dt()!==se.SIMULIDE||o.display_title&&o.display_title!=="\u56DB\u901A\u9053\u793A\u6CE2\u5668_4 Chanel Oscilloscope")&&(i.isHide=!0)}return e}}async function Sin(t){let e=t.target,i=L9((t==null?void 0:t.docType)||dt()),o,r=[],n;if(i!=="sch"&&i!=="schlib"&&i!=="panel"&&i!=="simulation")return;await V3();let a=i=="panel",s=a?"panelMenuData":"menuData";if(e==="canvas")if(a&&t.selectsCount?n=(await C.messageBus.rpcCall(s,[{...t,objCount:t.selectsCount,absType:i}])).message:n=(await C.messageBus.rpcCall(s,[{...t,objCount:0,absType:i}])).message,n)r=n.canvas;else return null;else if(Array.isArray(e)){let u=(await C.messageBus.rpcCall(s,[{...t,objCount:t.selectsCount||e.length,absType:i,targetId:t.targetId}])).message,p=e[0];if(o=e[0],Wri(p)&&(o="sheet"),(o=="pimage"||o==="obj")&&(p=p.firstChild,o="image"),PEo(p)||t.textType==="name"?o="name":(gGt(p)||t.textType==="property")&&(o="property"),r=u[o||"canvas"]||[],o!=="pin"&&(r=r.filter(m=>m.cmd!=="renumberPins")),!r||!r.filter(function(m){return m!=="menu-sep"}).length)return}function l(u){let p=[];return u.forEach(m=>{let{text:h,label:f,forObject:g,forSelection:b,cmd:y,icon:w,hotkey:x,hotkeyCmd:S,menuHotkeyCmd:T,subHotKeyCmd:M}=m,{validator:I,disabled:A,i18nContext:D,filter:E,submenu:N,forSymbolLibMode:R}=m;if(m==="menu-sep"){p.push(null);return}let v=f||y||h,k={id:v,title:D?{value:h,context:D}:h,icon:{iconClassName:"icon-"+w},hotkeyCmd:S,subHotkeyId:M,disable:y==="Expand"?e.length>1:A,args:m,isTranslate:{title:m.translateTitle},children:N?{menuId:`editor-cavans-menu-${v}`,defaultConfig:l(N)}:void 0};p.push(k)}),p}let d="mm-editor-ctxmenu-"+(t.target=="canvas"?"canvas":t.cmdKey);return r&&r.length?{menuId:d,defaultConfig:l(r)}:void 0}var Vst=class{};var Min=["adaptAreaSelectionView","place_part(via)","draw(ROutline)","draw(COutline)","draw(POutline)","draw(RSlot)","draw(CSlot)","draw(PSlot)","draw(RCopper)","draw(CCopper)","draw(PCopper)","draw(RRegion)","draw(CRegion)","draw(PRegion)","draw(RProhibit)","draw(CProhibit)","draw(PProhibit)","draw(arcCenter)","draw(arc2)","draw(arc)","draw(Line)","draw(circle)","draw(rect)","showTextDialog_pcb","draw(dimension)","draw(protractor)","draw(radius)","draw(track)","draw(stretchtrack)","insertImage","MeasureDistance","PlaceSinglePad","place_part(polygonpad)","reuseLayoutRoute"],b8o={undo:["undo"],redo:["redo"],joinGroup:["joinGroup"],ungroupSelected:["ungroupSelected"],canCopy:["copy","copyToImage","copyToSvg","copyToPng","cut","rotate_left","rotate_right","rotate_reference_point"],hasSelected:["delete","absoluteOffset","relativeOffset","showSelectedObjRatline","hideSelectedObjRatline","align_grid","editArray","HIGHLIGHT_NET","HIGHLIGHT_COMPONENT","HIGHLIGHT_SELECTED_OBJECTS","HIGHLIGHT_CANCEL_NET","HIGHLIGHT_CANCEL_COMPONENT","HIGHLIGHT_CANCEL_SELECTED_OBJECTS","adaptSelectionView","flip2OppositeSide","groupSelected","selectedBSSaveAsCloud","selectedBSSaveAsLocal","convertToBoard"],hasMoreThanOneSelected:["align_left","align_right","align_top","align_bottom","align_horizontal_center","align_vertical_center","align_horizontal_equidistant","align_vertical_equidistant","distribute_horizontal_equidistant","distribute_vertical_equidistant","distribute_left_side_edge_equidistant","distribute_top_side_edge_equidistant","distribute_horizontal_by_center_distance","distribute_vertical_by_center_distance","distribute_horizontal_by_edges_distance","distribute_vertical_by_edges_distance","distribute"],canDupToOtherLayer:["duplicateToOtherLayer"],canDupToCursor:["duplicateToCursor"],onlyDevice:["copy","cut","delete","delete-all","duplicateToCursor","duplicateToOtherLayer","editArray"],twoDevice:["swapLocation"],flip:["fliptotop","fliptobottom"],canSplit:["Split"],has2DLine:["CONVERT_TO_PAD","CONVERT_TO_BOARD_OUTLINE","CONVERT_TO_COPPER_REGION","CONVERT_TO_SLOT_REGION","CONVERT_TO_FILL_REGION","CONVERT_TO_PROHIBITED_REGION","CONVERT_TO_CONSTRAINT_REGION","CONVERT_TO_D3_SHELL_OUTLINE","CONVERT_TO_D3_SHELL_SLOT_REGION","CONVERT_TO_D3_SHELL_ENTITY","CONVERT_TO_FPC_STIFFENER"],hasBoard:["convertToLineFromBoard"],hasPoly2DLine:["CONVERT_TO_TRACK"],canConvert2dLine:["CONVERT_TO_2D_LINE"],canDispersedLine:["dispersedAsIndependentLine"],hasMultiUnCloseLine:["mergeAsClosedLine"],hasSelectedDevice:["showSelectedComponentRatline","hideSelectedComponentRatline","updateSelectDeviceFootprint","updateSelectDevice","placeTransfer","component_distribute_by_region","reuseLayoutRoute"],onlyAbstractProfile:["ADD_FILLET","ADD_CHAMFER"],route:["unrouteClearNetwork","unrouteClearConnect"],isRoutingOrNotFollowRule:["^trackWidth(","trackWidthSetting(WIRING_WIDTH_INPUT)"],notDiffTrack:["routeLine(WIRING_CORNER_ARC45)","routeLine(WIRING_CORNER_ARC90)","routeMode(WIRING_MODE_PUSHAWAY)","routeMode(WIRING_MODE_SURROUND_AND_PUSHAWAY)","routeMode(WIRING_MODE_SURROUND)"],flipMenu:["fliph_reference_point","flipv_reference_point","fliph","flipv"],canPaste:["paste"],canIntersectionAggregate:["boolIntersection","boolAggregate"],canSubtractionExclusive:["boolSubtraction","boolExclusive"],canBooleanSplit:["boolSplit"],alwaysEnable:["ungroupAll"],canCutout:["draw(RCutout)","draw(CCutout)","draw(PCutout)"],canAvoidSlotsOrPads:["avoidSlots","avoidPads"]},Hst=class{constructor(){this.activeUUID=null;this.lastCheckItems=null;this.lastDisableItems=null;this.draw="";this.cache={};this.status=new Vst}updateCanvasInfo(e){this.status.canvasWidth=e.canvasWidth,this.status.canvasHeight=e.canvasHeight,this.status.mouseX=e.mouseX,this.status.mouseY=e.mouseY,this.status.sceneX=e.sceneX,this.status.sceneY=e.sceneY,this.status.tabId=e.tabId,this.status.doctype=e.doctype,this.status.unit=e.unit,this.status.scale=e.scale,this.status.adsrop=e.adsrop,this.status.mouseRealX=e.mouseRealX,this.status.mouseRealY=e.mouseRealY,this.status.gridType=e.gridType,this.status.coordinateType=e.coordinateType}updateMenuItemCheck(e){let i=gi();if(i!=this.activeUUID||this.lastCheckItems==null)this.updateItemCheck(e);else{let o={};for(let r in e){let{preCmd:n,arg:a}=this.getCmdAndArg(r);(e[r]!=this.lastCheckItems||n=="Grid"||n=="Snap"||n=="GridPolar"||n=="switchGridType"||n=="swithCoordinate")&&(o[r]=e[r])}this.updateItemCheck(o)}this.lastCheckItems=e,this.activeUUID=i}clear(){this.cache={}}isCmdDisabled(e){for(let[i,o]of Object.entries(b8o))if(o.includes(e))return!this.cache[i];return!1}updatePartialState(e){e.command&&(this.status.cmd=this.getCommand(e.command));let i={};for(let o in e)o!=="command"&&this.lastDisableItems[o]!==e[o]&&(i[o]=e[o],this.status[o]=e[o]);Object.keys(i).length>0&&(this.updateEnable(i),this.updateToolbar(this.status.cmd||"")),this.lastDisableItems={...this.lastDisableItems,...i}}async updateEnableMenuItem(e){let i=gi(),o=this.getCommand(e.command);if(this.status.cmd=o,delete e.command,i!=this.activeUUID||this.lastDisableItems==null)this.updateEnable(e),this.restoreToolbar();else{let n={};for(let a in e)e[a]!=this.lastDisableItems&&(n[a]=e[a]);this.updateEnable(n)}this.updateToolbar(o),this.lastDisableItems=e,this.activeUUID=i;let r=await this.getPasteStatus();this.lastDisableItems.canPaste=r,this.updateEnable({canPaste:r})}async getPasteStatus(){return await Fst()}restoreToolbar(){let e={};for(let i of Min)e[i]=!0;this.draw=""}getCommand(e){if(e==null)return"";if(typeof e=="string"){switch(e){case"place_part(pcbtext)":e="showTextDialog_pcb";break;case"DrawImage":e="insertImage";break;default:break}return e}else return""}updateToolbar(e){let i={};i[this.draw]=!0,i[e]=!1,Ho.setTopBarItemChecked(e),this.draw=e}updateItemCheck(e){for(let i in e){e.hasOwnProperty(i)&&v1(i,e[i]);let{preCmd:o,arg:r}=this.getCmdAndArg(i),n=this.cache[o];if(n==null||n!=r||o=="Grid"||o=="Snap"||o=="GridPolar"||o=="switchGridType")this.cache[o]=r;else continue}}updateEnable(e){e.alwaysEnable=!0;for(let[i,o]of Object.entries(b8o))if(e[i]!==void 0){let r=this.cache[i];if(r==null||r!=e[i])this.cache[i]=e[i];else continue;if(i=="onlyDevice"){Is()&&o.forEach(n=>{let a=e[i];a&&(pQ(n,a),kL(n,a))});continue}o.forEach(n=>{let a=e[i];pQ(n,!a),kL(n,!a)})}if(!KW("update")){let i=["cut"];for(let o of i)pQ(o,!0),kL(o,!0)}}getCmdAndArg(e){let i=e.match(/\((.*?)\)$/),o=e,r=null;return i&&(o=e.split(i[0])[0],r=i[1]),{preCmd:o,arg:r}}updateGridSnapKeepRatioStatus(e){si.setCheckboxStatus("top-menu-view-gridSizeMenu","gridSnapKeepRatio",e),si.setCheckboxStatus("top-menu-view-snapSizeMenu","gridSnapKeepRatio",e)}};var Gst=class{constructor(){this.tasks={}}attach(e){this.tasks[e.id]=e}async notify(){let e=Object.values(this.tasks);for(let i of e)await i.execute({__TRIGGER_BY_TASKMGR__:!0})}delete(e){delete this.tasks[e]}getTask(e){return this.tasks[e]}};var kx=L(Vi());var Yst=t=>{let e=t.value.trim(),i=e===""?t.getAttribute("data-old-value"):e;return e===""&&(t.value=i),i},Wst=class{constructor(){this.inputBoxes=[]}init(e,i){for(let o=0;o<e.length;o++){let{startPoint:r,cursorPoint:n,frameStartPoint:a,frameCursorPoint:s,info:l}=e[o],c=new Kst(r,n,a,s);l.type==="circle"?If.inputBoxes.push(new AGt(c,i,l,o)):["vertical","horizontal","distance","free"].indexOf(l.type)>=0&&If.inputBoxes.push(new NGt(c,i,l,o))}e.length>1&&(0,kx.default)("#editorTabbar").find(`#${If.inputBoxes[0].id}`).find(".tab-toggle-input-tip").show()}update(e,i){for(let o=0;o<this.inputBoxes.length;o++){let r,n;if(e&&e[o]&&Object.hasOwnProperty.call(e[o],"hide"))e[o].hide&&this.inputBoxes[o].hide();else{if(e&&e[o]){let{startPoint:a,cursorPoint:s,frameStartPoint:l,frameCursorPoint:c}=e[o];r=new Kst(a,s,l,c),n=e[o].info}this.inputBoxes[o].update(r,i,n)}}}hide(){for(let e=0;e<this.inputBoxes.length;e++)this.inputBoxes[e].hide()}removeRuler(){for(let e=0;e<this.inputBoxes.length;e++)this.inputBoxes[e].removeRuler();this.inputBoxes=[]}},Cye=class Cye{constructor(e,i,o,r){this.pcbId=he.getActiveTab(),this.positionInfo=e,this.inputBoxInfo=o,this.frameInfo=i,this.id=Cye.getId(),this.index=r,r===0&&(this.selected=!0)}async update(e,i,o){this.positionInfo=e||this.positionInfo,this.inputBoxInfo=o||this.inputBoxInfo,this.frameInfo=i||this.frameInfo,e||await this.positionInfo.update(),this.updateRuler()}static getId(){return Cye.globalIdIndex++,"floatingBox"+Cye.globalIdIndex}hide(){let e=k0("#"+this.id);e&&(e.style.display="none")}show(){let e=k0("#"+this.id);e&&(e.style.display="")}removeRuler(){let e=k0("#"+this.id);e&&e.parentElement.removeChild(e)}};Cye.globalIdIndex=0;var Qst=Cye,AGt=class extends Qst{constructor(i,o,r,n){super(i,o,r,n);this.offsetX=20;this.offsetY=-40;this.initRuler()}applyValueFunc(i){i.browserCursorPoint=this.positionInfo.browserCursorPoint,i.cursorPoint=this.positionInfo.pcbCursorPoint,i.startPoint=this.positionInfo.pcbStartPoint,i.type=this.inputBoxInfo.type,i.index=this.index;let o=Xi();C.windowBridge.publish("applyInputAtCursorValue",i,o.contentWindow)}initRuler(){this.createDom(),this.updateRuler();let i=k0("#"+this.id);i.style["pointer-events"]="none",this.addEventListener()}addEventListener(){let i=(0,kx.default)("#editorTabbar").find("#"+this.id);i[0].addEventListener("focus",()=>{i.select()});let o=(0,kx.default)(i).find("input");o.on("keydown",r=>{if(y8o(r.keyCode)||le.hasMaskDialogOpen()){r.target.blur();return}if(PGt(r.keyCode)){let n=ul(r.target.value,this.inputBoxInfo.unit);if(isNaN(n)){r.target.value="",r.target.value=r.target.getAttribute("oldval"),r.target.select(),this.exitEdit(r);return}this.applyValueFunc({value:n,keyCode:r.keyCode}),r.stopPropagation()}else if(OGt(r.keyCode)){if(r.preventDefault(),this.editing){let n=r.target.value,a=ul(Yst(r.target),this.inputBoxInfo.unit).toString();if(C8o(a))this.applyValueFunc({value:+a,locked:!0}),this.inputBoxInfo.isLocked||!this.inputBoxInfo.canNotLock&&!i.find(".icon-eda-lock").length&&(0,kx.default)('<span style="display: block; float: left; height:22px; width: 22px; filter:var(--common-icon-color); background-size: 20px 20px; background-color: var(--common-bg-color); border: 1px solid var(--common-border-color-1); filter: none;" class="icon-eda-lock"></span>').insertBefore(o);else{let s=+this.inputBoxInfo.value.toFixed(3);o.val(s).attr("data-old-value",s),this.applyValueFunc({unlocked:!0}),this.inputBoxInfo.isLocked||i.find(".icon-eda-lock").remove()}}this.editing=!1;for(let n=0;n<If.inputBoxes.length;n++){let a=If.inputBoxes[n];if(a.selected){a.selected=!1,(0,kx.default)("#editorTabbar").find(`#${a.id} .tab-toggle-input-tip`).hide();let s=(n+1)%If.inputBoxes.length;a=If.inputBoxes[s],a.selected=!0;let l=a.id,c=(0,kx.default)("#editorTabbar").find("#"+l);c.find("input").select(),If.inputBoxes.length>1&&c.find(".tab-toggle-input-tip").show();break}}if(If.inputBoxes.length>1)return!1}else if(w8o(r.keyCode)){if(kGt(r.keyCode)&&(0,kx.default)("#editorTabbar").find(`#${this.id} input`).val()){r.stopPropagation();return}this.edit()}else(r.ctrlKey||r.altKey||r.shiftKey)&&![16,17,18].includes(r.keyCode)?this.edit():r.preventDefault()}).on("blur",r=>{this.exitEdit(r)})}updateRuler(){let i=new wc(this.positionInfo.browserCursorPoint.x+this.offsetX,this.positionInfo.browserCursorPoint.y+this.offsetY);this.updateDom(i)}createDom(){let i=this.id,{value:o,tagName:r,unit:n,isLocked:a}=this.inputBoxInfo,s="";a&&(s='<span style="display: block; float: left; height:22px; width: 22px; background-size: 20px 20px; background-color: var(--common-bg-color); border: 1px solid var(--common-border-color-1); filter: none;" class="icon-eda-lock"></span>');let l="";r&&(l=`<span style="background-color: var(--common-bg-color); border: 1px solid var(--common-border-color-1); display: inline-block; width: wrap-content; min-width: 40px; height: 30px; text-align: center; line-height:30px;">${me.i18n(r)}:</span>`);let c=`<input name="DontStopHotkey" autocomplete="off" value="${o}" onfocus="this.select()" type="text" style="border: 1px solid var(--common-border-color-1); width: 80px; height: 30px; text-align: center;"></input>`,d="";n&&(d=`<span class="unit" style="background-color: var(--common-bg-color); border: 1px solid var(--common-border-color-1); display: inline-block; width: 40px; height: 30px; text-align: center; line-height:30px;">${n}</span>`);let u=`
			<div class="tab-toggle-input-tip" style="display: none; position: absolute; top: 100%; left: -1px; padding: 2px 4px; margin-top: 1.3px; background: var(--common-bg-color); white-space: nowrap; ">
				<span>${me.i18n("TAB key to switch input box")}</span>
			</div>
		`;(0,kx.default)("#editorTabbar").append(`<div id="${i}" style="display: none; position: fixed; left:0px; top:0px; z-index:2000;">`+s+l+c+d+u+"</div>")}updateDom(i){if(!i)return;let o=this.id,{value:r,unit:n}=this.inputBoxInfo,a=(0,kx.default)("#editorTabbar").find("#"+o);if(!a[0])return;let s=a.find("input");if(a.css("left",`${i.x}px`),a.css("top",`${i.y}px`),a.find(".unit").text(n),r!==void 0){let u=+r;n==="mm"?u=li.toFixed(u,3):n==="mil"&&(u=li.toFixed(u,1)),s.val(u).attr("data-old-value",u)}this.selected&&s.select();let c=this.frameInfo,d=this.positionInfo.browserCursorPoint;d.x>c.left+c.width||d.y>c.top+c.height||d.x<c.left||d.y<c.top?a.css("display","none"):a.css("display","")}edit(){this.editing=!0,this.applyValueFunc({editing:!0})}exitEdit(i){let o=ul(Yst(i.target),this.inputBoxInfo.unit);isNaN(o)||(i.target.value=o),this.editing=!1;let r=Xi();C.windowBridge.publish("restoreInputAtCursorValue","",r.contentWindow)}},NGt=class extends Qst{constructor(i,o,r,n){super(i,o,r,n);this.polylineLength=50;this.middleLineHeight=25;this.arrowWidth=20;this.arrowHeight=5.36;this.strokeWidth=1;this.inputHeight=22;this.polylineLength=r.polylineLength||this.polylineLength,this.middleLineHeight=r.middleLineHeight||this.middleLineHeight,this.initRuler()}initRuler(){this.createDom(),this.updateRuler();let i=k0("#"+this.id);i.style["pointer-events"]="none",this.addEventListener()}createDom(){let i=this.id,{value:o,unit:r,tagName:n,isLocked:a}=this.inputBoxInfo,s=`<path  d="M 0 0" fill="none" class="polyline1" stroke="white" stroke-width="${this.strokeWidth}px"></path>`,l=`<path  d="M 0 0" fill="none" class="polyline2" stroke="white" stroke-width="${this.strokeWidth}px"></path>`,c=`<path  d="M 0 0" fill="none" class="polyline3" stroke="white" stroke-width="${this.strokeWidth}px"></path>`,d=`<path  d="M 0 0" fill="none" class="polyline4" stroke="white" stroke-width="${this.strokeWidth}px"></path>`,u=`<path  d="M 0 0" fill="none" class="polyline5" stroke="white" stroke-width="${this.strokeWidth}px"></path>`,p="";a&&(p='<span style="display: block; float: left; height:22px; width: 22px; background-size: 20px 20px; background-color: var(--common-bg-color); border: 1px solid var(--common-border-color-1); filter: none;" class="icon-eda-lock"></span>');let m="";n&&(m=`<span style="background-color: var(--common-bg-color); border: 1px solid var(--common-border-color-1); display: inline-block; width: wrap-content; min-width: 40px; height: ${this.inputHeight}px; text-align: center; line-height:${this.inputHeight}px;">${me.i18n(n)}:</span>`);let h=`<input name="DontStopHotkey" value="${o}" type="text" style="width: 60px; height: ${this.inputHeight}px; text-align: center; padding: 0 3px;"></input>`,f="";r&&(f=`<span class="unit" style="background-color: var(--common-bg-color); border: 1px solid var(--common-border-color-1); display: inline-block; padding: 0 2px; height: ${this.inputHeight}px; text-align: center; line-height:${this.inputHeight}px;">${r}</span>`);let g=`
			<div class="tab-toggle-input-tip" style="display: none; position: absolute; top: 100%; left: -1px; padding: 2px 4px; margin-top: 1.3px; background: var(--common-bg-color); white-space: nowrap; ">
				<span>${me.i18n("TAB key to switch input box")}</span>
			</div>
		`;(0,kx.default)("#editorTabbar").append(`<div id="${i}" style="display: none;"><svg width="0" height="0" style="position: fixed; left: 0px; top: 0px; z-index: 2000;">`+s+l+c+d+u+'</svg><div class="input" style="position: fixed; left:0px; top:0px; z-index:2000; border: 1px solid var(--common-border-color);">'+p+m+h+f+g+"</div></div>")}updateRuler(){let i=this.getPositionInfo(),o=new Yw(this.frameInfo.left,this.frameInfo.left+this.frameInfo.width,this.frameInfo.top,this.frameInfo.top+this.frameInfo.height);if(!i)return;new Yw(this.svgRegion.leftTopPoint.x,this.svgRegion.rightBottomPoint.x,this.svgRegion.leftTopPoint.y,this.svgRegion.rightBottomPoint.y).isInside(o)?this.updateDom(i):this.hide()}updateDom(i){if(!i)return;let o=this.id,{value:r,unit:n}=this.inputBoxInfo,a=(0,kx.default)("#editorTabbar").find("#"+o);if(!a[0])return;a.css("display","");let s=a.find("svg"),l=a.find("input"),c=a.find(".unit"),d=a.find(".polyline1"),u=a.find(".polyline2"),p=a.find(".polyline3"),m=a.find(".polyline4"),h=a.find(".polyline5");if(c.text(n),r!==void 0){let T=+r;n==="mm"?T=li.toFixed(T,3):n==="mil"&&(T=li.toFixed(T,1)),T=Math.abs(T),l.val(T).attr("data-old-value",T)}this.selected&&l.select();let f=Math.abs(i.rightBorder-i.leftBorder),g=Math.abs(i.bottomBorder-i.topBorder),b=new wc(i.leftBorder+f/2,i.topBorder+g/2);if(s.attr("width",`${f}`),s.attr("height",`${g}`),s.css("left",`${i.leftBorder}px`),s.css("top",`${i.topBorder}px`),i&&Object.hasOwnProperty.call(i,"angle")){s.attr("transform",`rotate(${i.angle}, ${-f/2}, ${g/2})`);var y=s[0].getBoundingClientRect();if(y.left<this.frameInfo.left||y.top<this.frameInfo.top||y.right>this.frameInfo.left+this.frameInfo.width||y.bottom>this.frameInfo.top+this.frameInfo.height){a.css("display","none");return}b=new wc(y.left+y.width/2,y.top+y.height/2)}d.attr("d",`${i.polyline1Path}`),u.attr("d",`${i.polyline2Path}`),p.attr("d",`${i.polyline3Path}`),m.attr("d",`${i.polyline4Path}`),h.attr("d",`${i.polyline5Path}`);let w=a.find(".input"),x=w.outerWidth(),S=w.outerHeight();w.css("left",`${b.x-x/2}px`),w.css("top",`${b.y-S/2}px`)}getPositionInfo(){let i;return this.inputBoxInfo.type==="vertical"?i=this.getHeightPosition():this.inputBoxInfo.type==="horizontal"?i=this.getWidthPosition():this.inputBoxInfo.type==="distance"?Math.abs(this.positionInfo.browserCursorPoint.x-this.positionInfo.browserStartPoint.x)>Math.abs(this.positionInfo.browserCursorPoint.y-this.positionInfo.browserStartPoint.y)?i=this.getWidthPosition():i=this.getHeightPosition():this.inputBoxInfo.type==="free"&&(i=this.getPosition()),i}getWidthPosition(){let i=Math.abs(this.positionInfo.browserCursorPoint.x-this.positionInfo.browserStartPoint.x),o=new Wle(this.positionInfo.browserStartPoint,this.positionInfo.browserCursorPoint);this.svgRegion=new Wle(new wc(o.leftTopPoint.x,o.leftTopPoint.y-this.polylineLength),new wc(o.rightBottomPoint.x,o.leftTopPoint.y));let r=this.svgRegion,n=this.frameInfo;r.leftTopPoint.y<n.top&&(r.leftTopPoint=Yle(r.leftTopPoint,0,o.height+this.polylineLength),r.rightBottomPoint=Yle(r.rightBottomPoint,0,o.height+this.polylineLength));let a=Math.max(r.leftTopPoint.x,n.left),s=Math.max(r.leftTopPoint.y,n.top),l=Math.min(r.rightBottomPoint.x,n.left+n.width),c=Math.min(r.rightBottomPoint.y,n.top+n.height);function d(S,T){let M=r.leftTopPoint.x-a,I=r.leftTopPoint.y-s;return Yle(new wc(S,T),M,I)}let u=d(0,0),p=d(0,this.polylineLength),m=d(i,0),h=d(i,this.polylineLength),f=d(0,this.middleLineHeight),g=d(i,this.middleLineHeight),b=new wc(f.x+this.arrowWidth,f.y-this.arrowHeight),y=new wc(f.x+this.arrowWidth,f.y+this.arrowHeight),w=new wc(g.x-this.arrowWidth,g.y-this.arrowHeight),x=new wc(g.x-this.arrowWidth,g.y+this.arrowHeight);return{leftBorder:a,topBorder:s,rightBorder:l,bottomBorder:c,polyline1Path:`M ${u.x} ${u.y} L ${p.x} ${p.y}`,polyline2Path:`M ${m.x} ${m.y} L ${h.x} ${h.y}`,polyline3Path:`M ${f.x} ${f.y} L ${g.x} ${g.y}`,polyline4Path:`M ${b.x} ${b.y} L ${f.x} ${f.y} L ${y.x} ${y.y}`,polyline5Path:`M ${w.x} ${w.y} L ${g.x} ${g.y} L ${x.x} ${x.y}`}}getHeightPosition(){let i=Math.abs(this.positionInfo.browserCursorPoint.y-this.positionInfo.browserStartPoint.y),o=new Wle(this.positionInfo.browserStartPoint,this.positionInfo.browserCursorPoint);this.svgRegion=new Wle(new wc(o.rightBottomPoint.x,o.leftTopPoint.y),new wc(o.rightBottomPoint.x+this.polylineLength,o.rightBottomPoint.y)),this.inputBoxInfo.direction==="left"&&this.svgRegion.move(-this.svgRegion.width,0);let r=this.svgRegion,n=this.frameInfo;r.rightBottomPoint.x>n.left+n.width&&(r.leftTopPoint=Yle(r.leftTopPoint,-o.width-this.polylineLength,0),r.rightBottomPoint=Yle(r.rightBottomPoint,-o.width-this.polylineLength,0));let a=Math.max(r.leftTopPoint.x,n.left),s=Math.max(r.leftTopPoint.y,n.top),l=Math.min(r.rightBottomPoint.x,n.left+n.width),c=Math.min(r.rightBottomPoint.y,n.top+n.height);function d(S,T){let M=r.leftTopPoint.x-a,I=r.leftTopPoint.y-s;return Yle(new wc(S,T),M,I)}let u=d(0,0),p=d(this.polylineLength,0),m=d(0,i),h=d(this.polylineLength,i),f=d(this.middleLineHeight,0),g=d(this.middleLineHeight,i),b=new wc(f.x-this.arrowHeight,f.y+this.arrowWidth),y=new wc(f.x+this.arrowHeight,f.y+this.arrowWidth),w=new wc(g.x-this.arrowHeight,g.y-this.arrowWidth),x=new wc(g.x+this.arrowHeight,g.y-this.arrowWidth);return{leftBorder:a,topBorder:s,rightBorder:l,bottomBorder:c,polyline1Path:`M ${u.x} ${u.y} L ${p.x} ${p.y}`,polyline2Path:`M ${m.x} ${m.y} L ${h.x} ${h.y}`,polyline3Path:`M ${f.x} ${f.y} L ${g.x} ${g.y}`,polyline4Path:`M ${b.x} ${b.y} L ${f.x} ${f.y} L ${y.x} ${y.y}`,polyline5Path:`M ${w.x} ${w.y} L ${g.x} ${g.y} L ${x.x} ${x.y}`}}getPosition(){let i=this.positionInfo.browserCursorPoint.distance(this.positionInfo.browserStartPoint),o=new Mb(this.positionInfo.browserCursorPoint.x-this.positionInfo.browserStartPoint.x,this.positionInfo.browserCursorPoint.y-this.positionInfo.browserStartPoint.y),r=Nin(o),n=new wc((this.positionInfo.browserStartPoint.x+this.positionInfo.browserCursorPoint.x)/2,(this.positionInfo.browserStartPoint.y+this.positionInfo.browserCursorPoint.y)/2),a=new wc(this.positionInfo.browserStartPoint.x+i/2,this.positionInfo.browserStartPoint.y),s=new wc(n.x-a.x,n.y-a.y);this.svgRegion=new Wle(this.positionInfo.browserStartPoint,new wc(this.positionInfo.browserStartPoint.x+i,this.positionInfo.browserStartPoint.y-this.polylineLength));let l=this.svgRegion,c=this.frameInfo,d=l.leftTopPoint.x,u=l.leftTopPoint.y,p=l.rightBottomPoint.x,m=l.rightBottomPoint.y;function h(A,D){let E=l.leftTopPoint.x-d,N=l.leftTopPoint.y-u;return Yle(new wc(A,D),E,N)}let f=h(0,0),g=h(0,this.polylineLength),b=h(i,0),y=h(i,this.polylineLength),w=h(0,this.middleLineHeight),x=h(i,this.middleLineHeight),S=new wc(w.x+this.arrowWidth,w.y-this.arrowHeight),T=new wc(w.x+this.arrowWidth,w.y+this.arrowHeight),M=new wc(x.x-this.arrowWidth,x.y-this.arrowHeight),I=new wc(x.x-this.arrowWidth,x.y+this.arrowHeight);return{translate:s,angle:r,leftBorder:d,topBorder:u,rightBorder:p,bottomBorder:m,polyline1Path:`M ${f.x} ${f.y} L ${g.x} ${g.y}`,polyline2Path:`M ${b.x} ${b.y} L ${y.x} ${y.y}`,polyline3Path:`M ${w.x} ${w.y} L ${x.x} ${x.y}`,polyline4Path:`M ${S.x} ${S.y} L ${w.x} ${w.y} L ${T.x} ${T.y}`,polyline5Path:`M ${M.x} ${M.y} L ${x.x} ${x.y} L ${I.x} ${I.y}`}}applyValueFunc(i){i.type=this.inputBoxInfo.type,i.index=this.index,this.inputBoxInfo.value<0&&i.value!==void 0&&(i.value=-i.value);let o=Xi();C.windowBridge.publish("applyInputAtCursorValue",i,o.contentWindow)}addEventListener(){let i=this.id,o=(0,kx.default)("#editorTabbar").find("#"+i),r=o.find("input");r.on("keydown",n=>{if(n.ctrlKey&&n.keyCode===90){window.setTimeout(()=>{let a=Number(r.val());a&&(r.val(a),this.applyValueFunc({value:a,locked:!0}))});return}if(y8o(n.keyCode)||le.hasMaskDialogOpen()){n.target.blur();return}if(PGt(n.keyCode)){let a=ul(Yst(n.target),this.inputBoxInfo.unit);if(isNaN(a)||a===0){n.target.value=n.target.getAttribute("oldval"),n.target.select(),this.exitEdit(n);return}this.applyValueFunc({value:a,keyCode:n.keyCode,startPoint:this.positionInfo.pcbStartPoint,cursorPoint:this.positionInfo.pcbCursorPoint}),n.stopPropagation()}else if(OGt(n.keyCode)){if(n.preventDefault(),n.target.value==="0"){n.target.value="";return}if(this.editing){let a=n.target.value,s=ul(n.target.value,this.inputBoxInfo.unit).toString();n.target.value&&C8o(s)?(this.applyValueFunc({value:+s,locked:!0}),this.inputBoxInfo.isLocked||!this.inputBoxInfo.canNotLock&&!o.find(".icon-eda-lock").length&&(0,kx.default)('<span style="display: block; float: left; height:22px; width: 22px; background-size: 20px 20px; background-color: var(--common-bg-color); border: 1px solid var(--common-border-color-1); filter: none;" class="icon-eda-lock"></span>').insertBefore(r)):(r.val(Math.abs(+this.inputBoxInfo.value.toFixed(3))),this.applyValueFunc({unlocked:!0}),this.inputBoxInfo.isLocked||o.find(".icon-eda-lock").remove())}this.editing=!1;for(let a=0;a<If.inputBoxes.length;a++){let s=If.inputBoxes[a];if(s.selected){s.selected=!1,(0,kx.default)("#editorTabbar").find(`#${s.id} .tab-toggle-input-tip`).hide();let l=(a+1)%If.inputBoxes.length;s=If.inputBoxes[l],s.selected=!0;let c=s.id,d=(0,kx.default)("#editorTabbar").find("#"+c);d.find("input").select(),If.inputBoxes.length>1&&d.find(".tab-toggle-input-tip").show();break}}if(If.inputBoxes.length>1)return!1}else if(w8o(n.keyCode)){if(kGt(n.keyCode)&&(0,kx.default)("#editorTabbar").find(`#${this.id} input`).val()){n.stopPropagation();return}this.edit()}else(n.altKey||n.ctrlKey||n.shiftKey)&&![16,17,18].includes(n.keyCode)?this.edit():n.preventDefault()}).on("blur",n=>{this.exitEdit(n)})}edit(){this.editing=!0,this.applyValueFunc({editing:!0})}exitEdit(i){let o=ul(Yst(i.target),this.inputBoxInfo.unit);isNaN(o)||(i.target.value=o),this.editing=!1;let r=Xi();C.windowBridge.publish("restoreInputAtCursorValue","",r.contentWindow)}},Kst=class{constructor(e,i,o,r){e&&(this.pcbStartPoint=new wc(e.x,e.y)),i&&(this.pcbCursorPoint=new wc(i.x,i.y)),o&&(this.frameStartPoint=new wc(o.x,o.y)),r&&(this.frameCursorPoint=new wc(r.x,r.y)),this.updateBrowserPoint()}updateBrowserPoint(){let i=Xi().getBoundingClientRect();this.frameStartPoint&&(this.browserStartPoint=new wc(this.frameStartPoint.x+i.left,this.frameStartPoint.y+i.top)),this.frameCursorPoint&&(this.browserCursorPoint=new wc(this.frameCursorPoint.x+i.left,this.frameCursorPoint.y+i.top))}async update(){let e=await he.getTabIFrame(he.getActiveTab());if(this.pcbStartPoint){let i=(await C.windowBridge.rpcCall("getMousePosition",this.pcbStartPoint,e.contentWindow)).message;this.frameStartPoint=new wc(i.x,i.y)}if(this.pcbCursorPoint){let i=(await C.windowBridge.rpcCall("getMousePosition",this.pcbCursorPoint,e.contentWindow)).message;this.frameCursorPoint=new wc(i.x,i.y)}this.updateBrowserPoint()}},Wle=class{constructor(e,i){this.leftTopPoint=new wc(Math.min(e.x,i.x),Math.min(e.y,i.y)),this.rightBottomPoint=new wc(Math.max(e.x,i.x),Math.max(e.y,i.y)),this.width=this.rightBottomPoint.x-this.leftTopPoint.x,this.height=this.rightBottomPoint.y-this.leftTopPoint.y}update(e,i){this.leftTopPoint.update(Math.min(e.x,i.x),Math.min(e.y,i.y)),this.rightBottomPoint.update(Math.max(e.x,i.x),Math.max(e.y,i.y)),this.width=this.rightBottomPoint.x-this.leftTopPoint.x,this.height=this.rightBottomPoint.y-this.leftTopPoint.y}move(e,i){this.leftTopPoint.move(e,i),this.rightBottomPoint.move(e,i)}};function Yle(t,e,i){return new wc(e+t.x,i+t.y)}function Iin(t){return t>=96&&t<=105||t>=48&&t<=57}function Lin(t){return t===189||t===109}function vin(t){return t===171||t===107}function Din(t){return t===170||t===106}function Ein(t){return t===191||t===111}function Ain(t){return t===110||t===190}function kGt(t){return t===8}function PGt(t){return t===13}function OGt(t){return t===9}function y8o(t){return t===27}function w8o(t){return!!(Lin(t)||vin(t)||Din(t)||Ein(t)||Iin(t)||OGt(t)||kGt(t)||PGt(t)||Ain(t))}function C8o(t){return!!/^(\-)?\d+(\.\d+)?$/.test(t)}function Nin(t){if(t.length()<=0)return 0;let e=new Mb(1,0),i;return t.x===0?t.y>0?i=90:i=270:(i=Math.atan(t.y/t.x),i=i/Math.PI*180,t.x<0&&(i=180+i)),i}var Zst=class{constructor(){this.pcbChildList=new Map;this.leftTreeChildList=new Map}updatePartitionStatus(e){let{mainUuid:i,partitionData:o}=e;o.length?this.pcbChildList.set(i,o):this.pcbChildList.delete(i)}updateLeftTreeChildList(e){let{mainUuid:i,leftTreeChildData:o}=e;o.length?this.leftTreeChildList.set(i,o):this.leftTreeChildList.delete(i)}hasChildPcb(e){let i=this.leftTreeChildList.get(e),o=i;if(he.isHasTabById(Fp(e))){let r=this.pcbChildList.get(e),n=r==null?void 0:r.filter(a=>i==null?void 0:i.includes(a.fileUuid));o=n==null?void 0:n.map(a=>a.id)}return!!(o!=null&&o.length)}hasReuseBlockChildPcb(){let e=!1;return this.leftTreeChildList.forEach((i,o)=>{Znt(o)&&this.hasChildPcb(o)&&(e=!0)}),e}mainHasPartitionItem(e){return this.pcbChildList.has(e)}};var Td=new Hst,dF=new Gst,If=new Wst,YY;function jJ(t,e=!1){t&&(YY=Jc,YY.updateData(t,e))}var AP=new Zst;var xye={VALUE_CREATED:"created",VALUE_UPDATED:"updated",VALUE_DELETED:"deleted",VALUE_UNCHANGED:"unchanged",map(t,e,i=!0){if(Array.isArray(e))return e;let o={};Array.isArray(t)&&Array.isArray(e)&&(o=[]);let r,n;if(this.isFunction(t)||this.isFunction(e))throw"Invalid argument. Function given, Object expected.";if(this.isValue(t)||this.isValue(e)){let a=this.compareValues(t,e),s="";return s=a==this.VALUE_UPDATED?e:t,a==this.VALUE_UPDATED?s=e:s=t==null?e:t,i?{type:a,data:s}:s}for(r in t)this.isFunction(t[r])||(n=void 0,typeof e[r]<"u"&&(n=e[r]),o[r]=this.map(t[r],n,i));for(r in e)this.isFunction(e[r])||typeof o[r]<"u"||(o[r]=this.map(void 0,e[r],i));return o},compareValues(t,e){return String(t)===String(e)?this.VALUE_UNCHANGED:this.isDate(t)&&this.isDate(e)&&t.getTime()===e.getTime()?this.VALUE_UNCHANGED:typeof t>"u"?this.VALUE_CREATED:typeof e>"u"||e===null?this.VALUE_DELETED:this.VALUE_UPDATED},getTypes(){return[this.VALUE_UNCHANGED,this.VALUE_CREATED,this.VALUE_DELETED,this.VALUE_UPDATED]},isCompareValue(t){return typeof t!="object"?!1:Object.keys(t).length==2&&Object.hasOwnProperty.call(t,"data")&&Object.hasOwnProperty.call(t,"type")&&this.getTypes().includes(t.type)?!0:Object.values(t).some(e=>this.isCompareValue(e))},isFunction(t){return{}.toString.apply(t)==="[object Function]"},isArray(t){return{}.toString.apply(t)==="[object Array]"},isObject(t){return{}.toString.apply(t)==="[object Object]"},isDate(t){return{}.toString.apply(t)==="[object Date]"},isValue(t){return!this.isObject(t)&&!this.isArray(t)}};function Wvt(t){var o,r;let e="dragNetnameDefaultValue",i=((r=(o=C)==null?void 0:o.profileSetting)==null?void 0:r[e])||mt.getKeyValue(e);return i&&(t.drag_netname_mode.value=i),t}function kin(t){var e,i,o,r,n;((n=(r=(o=(i=(e=C)==null?void 0:e.profileSetting)==null?void 0:i.commSystemSetting)==null?void 0:o.SYSTEM)==null?void 0:r[W9])==null?void 0:n.value)!="0"&&(t.SYSTEM[W9].value="1")}var RGt=JSON.parse(JSON.stringify(cu)),qN=()=>(Wvt(RGt.CANVAS),kin(RGt),ue.deepClone(RGt));async function Yfe(t){t||(t=await e()),t.success?await i(t):o();async function e(){return new Promise(r=>{Ol.get(C.apis.others.userInfo,{},n=>{r(n)})})}async function i(r){if(x8o(),!r.success)return;let n={};try{n=JSON.parse(r.result.preference||"{}")}catch{}let a=qN();n.commSystemSetting||(n.commSystemSetting=a),C.profileSetting=n;let s=n.commSystemSetting,l=lY(a,s,n.version);BU(l);let c=d0();c&&Object.hasOwnProperty.call(c,"preferences")&&mt.deleteCacheObj("preferences"),C.messageBus.publish("updateSystemConfig",c),window.postMessage({action:"readySystemProfileSetting"},"*"),Td.updateGridSnapKeepRatioStatus(c.isAssociationPCBCanvasGridAndSnap)}function o(){x8o();let r=d0();window.postMessage({action:"readySystemProfileSetting"},"*"),Td.updateGridSnapKeepRatioStatus(r.isAssociationPCBCanvasGridAndSnap)}}function x8o(){let t=mt.getParsedPreferences();C.profileSetting=t,BU(qN()),typeof C.profileSetting.isAssociationPCBCanvasGridAndSnap>"u"&&(C.profileSetting.isAssociationPCBCanvasGridAndSnap=1,mt.setPreferences(t))}function Zhe(t){var n,a,s;let e=qN();t=t||e;let i=t.HOTKEY,o=xye.map(e,t),r=_Gt(o)||{};return(n=r.HOTKEY)==null||delete n.hotkeyCfg,(a=r.HOTKEY)==null||delete a.easyEDA,(s=r.HOTKEY)==null||delete s.altium,r.HOTKEY.hotkey=i.hotkey,r.HOTKEY.active=i.active,r.HOTKEY.menuHotkey=i.menuHotkey,r.HOTKEY.menuHotkeyCfg=i.menuHotkeyCfg,r||{}}function _Gt(t){if(typeof t!="object"||t==null||t instanceof Date)return t;if(Array.isArray(t)){let e=t.map(_Gt),i=!0;for(let o=0;o<e.length;o++)if(e[o]!==void 0){i=!1;break}return i?void 0:e}else{if(Object.keys(t).length===2&&t.type)return t.type==="unchanged"?void 0:t;let e={};for(let i in t)if(t.hasOwnProperty(i)){let o=_Gt(t[i]);if(o===void 0)continue;e[i]=o}return Object.keys(e).length<1?void 0:e}}function lY(t,e,i){let o;try{if(o=jGt(t,e,i),!o.PROPERTY||!o.PROPERTY.property){o.PROPERTY={};let r=HPt();r&&r.length&&(o.PROPERTY.property=JSON.stringify(r))}o.SYSTEM.symbolLibManage.value==null&&(o.SYSTEM.symbolLibManage.value="0")}catch(r){console.error(r),Ene(t)}return o}function jGt(t,e,i){var n,a,s,l,c,d,u,p,m,h,f,g,b,y;if(e==null)return t;if(Object.keys(e||{}).length===2&&e.type){if(e.type==="updated")return SDe(e.data);if(e.type==="created")return SDe(e.data);if(e.type==="deleted")return}if(t==null||{}.toString.apply(e)!=="[object Array]"&&{}.toString.apply(e)!=="[object Object]")return e;let o={};Array.isArray(e)&&Array.isArray(t)&&(o=[]);let r=ue.deepClone(t);for(let w in t){let x=e;if(w=="HOTKEY"){e[w]||(e[w]={}),e[w].hotkeyCfg=r[w].hotkeyCfg,e[w].menuHotkeyCfg=r[w].menuHotkeyCfg;let T=r[w].active;if((!e[w].menuHotkey||Array.isArray(e[w].menuHotkey))&&(e[w].menuHotkey=r[w].menuHotkey),e[w]&&e[w].hasOwnProperty("active")&&(typeof e[w].active=="string"?T=e[w].active:T=e[w].active.data,T=T==="JLCEDA"?"easyEDA":T,r[w].active=T,e[w].active=T),T.startsWith("from-")){let M=T.replace("from-","");M==="custom"&&(T="from-JLCEDA_PRO",M="JLCEDA_PRO"),e[w]&&(e[w].hotkey=T8o(r[w].hotkeyCfg[M],(n=e[w])==null?void 0:n.hotkey))}else e[w]&&(e[w].hotkey=T8o(r[w].hotkeyCfg.JLCEDA_PRO,(a=e[w])==null?void 0:a.hotkey));e[w].active=T;for(let M of Object.keys(e[w].hotkey||{}))e[w].hotkey[M].type&&e[w].hotkey[M].data&&(e[w].hotkey[M]=e[w].hotkey[M].data);e[w].menuHotkey=SDe((s=e[w])==null?void 0:s.menuHotkey),o[w]=e[w];continue}else if(w==="BASE_LIBRARY")e[w]&&Array.isArray(e[w])&&e[w].every(M=>(M.hasOwnProperty("data")||(M.data=[]),BGt(Ahi[0],M||{})))||(e[w]=r[w]);else if(w==="PROPERTY"){let T=C.systemAttrs||[];if(T.length>0&&((l=e[w])!=null&&l.property)){let M=e[w].property;typeof e[w].property=="object"&&Object.hasOwnProperty.call(e[w].property,"data")&&(M=e[w].property.data),M=JSON.parse(M),e[w].property=JSON.stringify(Tet(T,M))}}else if(w==="CUSTOM_TOOLBAR"){(c=e[w])!=null&&c.topShortCut?(o[w]||(o[w]={topShortCut:{}}),it(r[w].topShortCut,(T,M,I)=>{if(e[w].topShortCut&&!Object.hasOwnProperty.call(e[w].topShortCut,T)){o[w].topShortCut[T]=M;return}let A=e[w].topShortCut[T];if(typeof A=="object"){let D={};M.map((N,R)=>{N.key.startsWith("|")||(D[N.key]={index:R,show:N.show})}),Array.isArray(A)?it(A,(N,R,v)=>{if(R&&!Object.hasOwnProperty.call(R,"key"))throw new Error("\u9876\u90E8\u5DE5\u5177\u680F\u914D\u7F6E\uFF08\u6570\u7EC4\u7ED3\u6784\uFF09\u4E2D\u6CA1\u6709key\u5B57\u6BB5");!D[R.key]&&!R.key.startsWith("|")||(R&&Object.hasOwnProperty.call(R,"show")&&(D[R.key]?D[R.key].show=R.show:D[R.key]={key:R.key,show:R.show}),D[R.key].index=v)}):it(A,(N,R,v)=>{var k,P;D[N]&&((k=R.index)!=null&&k.data&&(D[N].index=R.index.data),(P=R.show)!=null&&P.data&&(D[N].show=R.show.data))});let E=[];it(D,(N,R,v)=>{E.push({key:N,show:R.show,index:R.index})}),E.sort((N,R)=>N.index-R.index),E=E.map(N=>({key:N.key,show:N.show})),e[w].topShortCut[T]=E}o[w].topShortCut[T]=Oin(r[w].topShortCut[T],e[w].topShortCut[T])})):o[w]=r[w];continue}else if(w==="PCB_THEME"){let T=(d=e[w])==null?void 0:d.canvasPrimitiveSetting;if(T)for(let M in T){let I=T[M];T[M].data&&(I=T[M].data),I&&((u=I.borderStyle)!=null&&u.isPour)&&M=="boardShape"&&delete T[M]}}else if(w==="CANVAS"){let T=(m=(p=e.CANVAS)==null?void 0:p.take_REFDES)==null?void 0:m.value;(T==null?void 0:T.data)!==void 0&&(T.data=ZU(T.data))}else if(w==="PCB_FOOTPRINT"){let T=(f=(h=e.PCB_FOOTPRINT)==null?void 0:h.isKeepRefdesPaste)==null?void 0:f.value;(T==null?void 0:T.data)!==void 0&&(T.data=ZU(T.data))}else if(w==="OBJECT"){let T=((g=t.OBJECT)==null?void 0:g.theme)||{},M=((b=e.OBJECT)==null?void 0:b.theme)||{},I=(M==null?void 0:M.activeTheme)||(T==null?void 0:T.activeTheme);I&&((y=M[I])==null?void 0:y.type)==="deleted"&&delete M[I]}else if(typeof e[w]<"u")if(Pin(w)){let T=x[w].commonlyList;x[w].commonlyList&&Object.hasOwnProperty.call(x[w].commonlyList,"value")&&(T=x[w].commonlyList.value),r[w].commonlyList.value=S8o(r[w].commonlyList.value,T,w),delete x[w].commonlyList.value}else Array.isArray(x[w])&&(r[w]=S8o(r[w],x[w],w),delete x[w]);let S=jGt(r[w],x&&x[w],i);S!==void 0&&(Array.isArray(o)?o.push(S):o[w]=S)}for(let w in e){if(typeof o[w]<"u")continue;let x=jGt(void 0,e[w],i);x!==void 0&&(Array.isArray(o)?o.push(x):o[w]=x)}return o}function SDe(t){if(xye.isCompareValue(t)&&[xye.VALUE_CREATED,xye.VALUE_UPDATED,xye.VALUE_DELETED].includes(t.type)){let{data:e,type:i}=t;return SDe(e)}if(typeof t=="object")for(let e of Object.keys(t||{}))t[e]=SDe(t[e]);return t}function BGt(t,e){if(typeof t!="object"&&typeof e!="object")return!0;let i=Object.keys(t||{}),o=Object.keys(e||{});if(!Array.isArray(t)&&Array.isArray(e)||Array.isArray(t)&&!Array.isArray(e))return!1;if(!Array.isArray(t)&&!Array.isArray(e)){if(i.length!==o.length)return!1;for(let r=0;r<i.length;r++){if(!t.hasOwnProperty(i[r]))return!1;let n=t[i[r]],a=e[i[r]];if(!BGt(n,a))return!1}}else if(Array.isArray(t)&&Array.isArray(e)&&t.length>0&&e.length>0&&!BGt(t[0],t[0]))return!1;return!0}function T8o(t,e){if(!e)return t;let i={};it(e,(n,a)=>{it(a,(s,l)=>{i[l.hotkeyCmd]=l})});let o=ue.deepClone(t),r={};return it(o,(n,a)=>{it(a,(s,l)=>{r[l.hotkeyCmd]=l})}),it(i,(n,a)=>{if(!r[n])return;let s=r[n],l=["subMenu","command"];for(let c of l)s[c]=a[c];s.hotkey=g3(a.hotkey)}),o}function Pin(t){return["PCB_COMM_GRID_SIZE","PCB_COMM_TRACK_WIDTH","PCB_COMM_VIA_SIZE"].indexOf(t)>=0}function S8o(t,e,i){let o=ue.deepClone(e);if(i==="canvasColorTheme"){for(let r=t.length-1;r>=0;r--)Ft(o,"name",t[r].name).index<=-1&&M8o(t,r,o);return o}for(let r=t.length-1;r>=0;r--)if(MDe(o,t[r])<0)M8o(t,r,o);else if(i=="Basic"){let n=Ft(o,"hotkey",t[r].hotkey);o[n.index].range=t[r].range}return o}function Oin(t,e){let i=[];for(let o=0;o<e.length;o++){let r=e[o];((r==null?void 0:r.key.replaceAll("|",""))===""||MDe(t,r,(n,a)=>n.key===a.key)>=0)&&i.push(ue.deepClone(r))}for(let o=0;o<t.length;o++)if(t[o].key.replaceAll("|","")!=""&&MDe(i,t[o],(r,n)=>r.key===n.key)<0){let r=-1;o!=0&&(r=MDe(i,t[o-1],(n,a)=>n.key===a.key)),i.splice(r+1,0,ue.deepClone(t[o]))}return i}function MDe(t=[],e,i){i||(i=I8o);for(let o=0;o<t.length;o++){if(e==null)return-1;if(t[o]!=null&&i(t[o],e))return o}return-1}function M8o(t,e,i=[]){let o=MDe(i,t[e]);o>0?i.splice(o,0,t[e]):i.splice(0,0,t[e])}function I8o(t,e){if(t===null||e===null)throw new Error("\u7CFB\u7EDF\u914D\u7F6E\u8FC7\u65E7\uFF0C\u4F7F\u7528\u65B0\u7684\u9ED8\u8BA4\u914D\u7F6E");if(t===void 0||e===void 0)return!1;if(t.id&&e.id&&t.id===e.id||t.funcE&&e.funcE&&t.funcE===e.funcE)return!0;if({}.toString.apply(t)!=="[object Array]"&&{}.toString.apply(t)!=="[object Object]"){if(t===e)return!0}else{for(let i in t){let o;if(typeof t[i]<"u"&&(o=t[i]),!I8o(e[i],o))return!1}return!0}}var Fk=L(Vi());var L8o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAAAICAYAAACiVULcAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKTWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQWaIQkgBhhBASQMWFiApWFBURnEhVxILVCkidiOKgKLhnQYqIWotVXDjuH9yntX167+3t+9f7vOec5/zOec8PgBESJpHmomoAOVKFPDrYH49PSMTJvYACFUjgBCAQ5svCZwXFAADwA3l4fnSwP/wBr28AAgBw1S4kEsfh/4O6UCZXACCRAOAiEucLAZBSAMguVMgUAMgYALBTs2QKAJQAAGx5fEIiAKoNAOz0ST4FANipk9wXANiiHKkIAI0BAJkoRyQCQLsAYFWBUiwCwMIAoKxAIi4EwK4BgFm2MkcCgL0FAHaOWJAPQGAAgJlCLMwAIDgCAEMeE80DIEwDoDDSv+CpX3CFuEgBAMDLlc2XS9IzFLiV0Bp38vDg4iHiwmyxQmEXKRBmCeQinJebIxNI5wNMzgwAABr50cH+OD+Q5+bk4eZm52zv9MWi/mvwbyI+IfHf/ryMAgQAEE7P79pf5eXWA3DHAbB1v2upWwDaVgBo3/ldM9sJoFoK0Hr5i3k4/EAenqFQyDwdHAoLC+0lYqG9MOOLPv8z4W/gi372/EAe/tt68ABxmkCZrcCjg/1xYW52rlKO58sEQjFu9+cj/seFf/2OKdHiNLFcLBWK8ViJuFAiTcd5uVKRRCHJleIS6X8y8R+W/QmTdw0ArIZPwE62B7XLbMB+7gECiw5Y0nYAQH7zLYwaC5EAEGc0Mnn3AACTv/mPQCsBAM2XpOMAALzoGFyolBdMxggAAESggSqwQQcMwRSswA6cwR28wBcCYQZEQAwkwDwQQgbkgBwKoRiWQRlUwDrYBLWwAxqgEZrhELTBMTgN5+ASXIHrcBcGYBiewhi8hgkEQcgIE2EhOogRYo7YIs4IF5mOBCJhSDSSgKQg6YgUUSLFyHKkAqlCapFdSCPyLXIUOY1cQPqQ28ggMor8irxHMZSBslED1AJ1QLmoHxqKxqBz0XQ0D12AlqJr0Rq0Hj2AtqKn0UvodXQAfYqOY4DRMQ5mjNlhXIyHRWCJWBomxxZj5Vg1Vo81Yx1YN3YVG8CeYe8IJAKLgBPsCF6EEMJsgpCQR1hMWEOoJewjtBK6CFcJg4Qxwicik6hPtCV6EvnEeGI6sZBYRqwm7iEeIZ4lXicOE1+TSCQOyZLkTgohJZAySQtJa0jbSC2kU6Q+0hBpnEwm65Btyd7kCLKArCCXkbeQD5BPkvvJw+S3FDrFiOJMCaIkUqSUEko1ZT/lBKWfMkKZoKpRzame1AiqiDqfWkltoHZQL1OHqRM0dZolzZsWQ8ukLaPV0JppZ2n3aC/pdLoJ3YMeRZfQl9Jr6Afp5+mD9HcMDYYNg8dIYigZaxl7GacYtxkvmUymBdOXmchUMNcyG5lnmA+Yb1VYKvYqfBWRyhKVOpVWlX6V56pUVXNVP9V5qgtUq1UPq15WfaZGVbNQ46kJ1Bar1akdVbupNq7OUndSj1DPUV+jvl/9gvpjDbKGhUaghkijVGO3xhmNIRbGMmXxWELWclYD6yxrmE1iW7L57Ex2Bfsbdi97TFNDc6pmrGaRZp3mcc0BDsax4PA52ZxKziHODc57LQMtPy2x1mqtZq1+rTfaetq+2mLtcu0W7eva73VwnUCdLJ31Om0693UJuja6UbqFutt1z+o+02PreekJ9cr1Dund0Uf1bfSj9Rfq79bv0R83MDQINpAZbDE4Y/DMkGPoa5hpuNHwhOGoEctoupHEaKPRSaMnuCbuh2fjNXgXPmasbxxirDTeZdxrPGFiaTLbpMSkxeS+Kc2Ua5pmutG003TMzMgs3KzYrMnsjjnVnGueYb7ZvNv8jYWlRZzFSos2i8eW2pZ8ywWWTZb3rJhWPlZ5VvVW16xJ1lzrLOtt1ldsUBtXmwybOpvLtqitm63Edptt3xTiFI8p0in1U27aMez87ArsmuwG7Tn2YfYl9m32zx3MHBId1jt0O3xydHXMdmxwvOuk4TTDqcSpw+lXZxtnoXOd8zUXpkuQyxKXdpcXU22niqdun3rLleUa7rrStdP1o5u7m9yt2W3U3cw9xX2r+00umxvJXcM970H08PdY4nHM452nm6fC85DnL152Xlle+70eT7OcJp7WMG3I28Rb4L3Le2A6Pj1l+s7pAz7GPgKfep+Hvqa+It89viN+1n6Zfgf8nvs7+sv9j/i/4XnyFvFOBWABwQHlAb2BGoGzA2sDHwSZBKUHNQWNBbsGLww+FUIMCQ1ZH3KTb8AX8hv5YzPcZyya0RXKCJ0VWhv6MMwmTB7WEY6GzwjfEH5vpvlM6cy2CIjgR2yIuB9pGZkX+X0UKSoyqi7qUbRTdHF09yzWrORZ+2e9jvGPqYy5O9tqtnJ2Z6xqbFJsY+ybuIC4qriBeIf4RfGXEnQTJAntieTE2MQ9ieNzAudsmjOc5JpUlnRjruXcorkX5unOy553PFk1WZB8OIWYEpeyP+WDIEJQLxhP5aduTR0T8oSbhU9FvqKNolGxt7hKPJLmnVaV9jjdO31D+miGT0Z1xjMJT1IreZEZkrkj801WRNberM/ZcdktOZSclJyjUg1plrQr1zC3KLdPZisrkw3keeZtyhuTh8r35CP5c/PbFWyFTNGjtFKuUA4WTC+oK3hbGFt4uEi9SFrUM99m/ur5IwuCFny9kLBQuLCz2Lh4WfHgIr9FuxYji1MXdy4xXVK6ZHhp8NJ9y2jLspb9UOJYUlXyannc8o5Sg9KlpUMrglc0lamUycturvRauWMVYZVkVe9ql9VbVn8qF5VfrHCsqK74sEa45uJXTl/VfPV5bdra3kq3yu3rSOuk626s91m/r0q9akHV0IbwDa0b8Y3lG19tSt50oXpq9Y7NtM3KzQM1YTXtW8y2rNvyoTaj9nqdf13LVv2tq7e+2Sba1r/dd3vzDoMdFTve75TsvLUreFdrvUV99W7S7oLdjxpiG7q/5n7duEd3T8Wej3ulewf2Re/ranRvbNyvv7+yCW1SNo0eSDpw5ZuAb9qb7Zp3tXBaKg7CQeXBJ9+mfHvjUOihzsPcw83fmX+39QjrSHkr0jq/dawto22gPaG97+iMo50dXh1Hvrf/fu8x42N1xzWPV56gnSg98fnkgpPjp2Snnp1OPz3Umdx590z8mWtdUV29Z0PPnj8XdO5Mt1/3yfPe549d8Lxw9CL3Ytslt0utPa49R35w/eFIr1tv62X3y+1XPK509E3rO9Hv03/6asDVc9f41y5dn3m978bsG7duJt0cuCW69fh29u0XdwruTNxdeo94r/y+2v3qB/oP6n+0/rFlwG3g+GDAYM/DWQ/vDgmHnv6U/9OH4dJHzEfVI0YjjY+dHx8bDRq98mTOk+GnsqcTz8p+Vv9563Or59/94vtLz1j82PAL+YvPv655qfNy76uprzrHI8cfvM55PfGm/K3O233vuO+638e9H5ko/ED+UPPR+mPHp9BP9z7nfP78L/eE8/sl0p8zAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAADZSURBVHjatFXbEcMwCJN63jUDZIBcBsgAmVb9aNOjLsakcfjyA3NCCExJAIB1218LAMs8EZWt2y57bv0BWP/Wub2n41u/Uecs49/Fs8zTZ11aiR77Kmnv3iYoB0gLWJYwu6fjF/n38HzZAx1b5om1UjzlBImNsAxhl63cBF4NudJRx7/tVpOlq0UpgxJn0McMqsggFhNtk2krReDtGLhExjsQT6rlFoknW0zeGEjPjIgIZ3YoAESn6rqZCJ25Kwc7va/Vk5bzvXJQr7MzSzggzo89AQAA//8DAGa6Z8mxXwtlAAAAAElFTkSuQmCC";var v8o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAABDCAYAAAChkEQkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6Q0EwRjM3NzhDQUI1MTFFN0I1NUJCNUE1ODk2NjFFQjAiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6Q0EwRjM3NzdDQUI1MTFFN0I1NUJCNUE1ODk2NjFFQjAiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmRpZDoxNzlBRDBCREI0Q0FFNzExODBGOEYwNDgyNTA3MEUzOSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxNzlBRDBCREI0Q0FFNzExODBGOEYwNDgyNTA3MEUzOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PsceSvUAAADtSURBVHjaYvz//z8DPsACIhp7Z2JVVV+czsjQ0DPjP8gUbBgkx8RAABBUwAgyCp8bGAn5gnw3wKwl7EiQXwn6gjJH4goDmDjcDeCIwaKICSaJyyQm5GDFpogFPeyRFREfF9iMhouRnKLQTSM9RSH7hLQUBdKFzTdM+AIKqyNhijBiEydADhRsgUXQF/BwgCUYDJ+gG43Mp1HuRk68IHFG6pdRdPQFLHSJiwt8xRDO7E9+SCInebxBDU+TJMcFes4aqLggPXcjmwDLl1jLKGw+GhK1HjMjr+T/g8fPNjhYmTRSXmcRLAbJciRAgAEA7PCEm64bDE4AAAAASUVORK5CYII=";var Aw=class Aw{static init(){let e=Aw;e.rulerDigitImageH=new Image(67,8),e.rulerDigitImageV=new Image(8,67),e.rulerDigitImageH.src=L8o,e.rulerDigitImageV.src=v8o,e.eventListener()}static eventListener(){(0,Fk.default)(document).on("click",".ruler-origin",()=>{et("place_auxiliary(crossLine)")}),(0,Fk.default)(document).on("dragstart",".ruler-origin",async e=>{e.originalEvent.dataTransfer.setDragImage(Aw.getDragIconImg(),0,0),et("place_auxiliary(crossLine)")}),(0,Fk.default)(document).on("click",".rulervc",()=>{et("place_auxiliary(verticalLine)")}),(0,Fk.default)(document).on("dragstart",".rulervc",e=>{e.originalEvent.dataTransfer.setDragImage(Aw.getDragIconImg(),0,0),et("place_auxiliary(verticalLine)")}),(0,Fk.default)(document).on("click",".rulerhc",()=>{et("place_auxiliary(horizontalLine)")}),(0,Fk.default)(document).on("dragstart",".rulerhc",e=>{e.originalEvent.dataTransfer.setDragImage(Aw.getDragIconImg(),0,0),et("place_auxiliary(horizontalLine)")})}static updateRulerData(e,i){let o=(0,Fk.default)('#tabbar_bodies [uuid="'+i+'"]'),r=o.data("rulerData");return r||o.data("rulerData",r={}),Fk.default.extend(r,e),r}static getRulerData(e){return(0,Fk.default)('[uuid="'+e+'"]').data("rulerData")||{}}static fixDNum(e){let i=e<1?(10+e+"").substr(1):e+"",o=i.search(/[1-9]/),r=i.match(/[1-9]\.?(\d?)/),n=+r[0].charAt(0),a=+r[1]||0;i=i.substring(0,o+1)+i.substr(o+1).replace(/\d/g,"0");let s=i.split(""),l,c,d=n*10+a,u=Math.sqrt(200),p=Math.sqrt(1e3),m=Math.sqrt(5e3);d>=10&&d<=u?l="1":d>u&&d<=p?l="2":d>p&&d<=m?l="5":d>m&&(l="1",c=!0),s[o]=l;let h=s.join("");return c&&(h+="0",h.indexOf(".")>=0&&(h=h.replace(/\.(\d)/,"$1."),h[0]=="0"&&(h=h.substr(1)))),h.indexOf(".")>=0&&(h=h.replace(/0+$/,"")),h}static round(e,i){if(i>0){let o=e<0;o&&(e=-e);let r=Math.round(e*Math.pow(10,i))+"";if(r=="0")return"0";for(;r.length<=i;)r="0"+r;return(o?"-":"")+r.substr(0,r.length-i)+"."+r.substr(r.length-i)}return Math.round(e)+""}static calTextWidth(e){let i=Aw,o=0;for(let r=0,n=e.length;r<n;r++){let a=i.fontConfig[e[r]];a&&(o+=a.w)}return o}static drawMarkers(e,i,o,r,n,a,s){let l=Aw;if(!e)return;let c=e.getContext("2d"),d=i=="h"?e.height:e.width,u=Math.round(d*.667),p=Math.round(d/3),m=i=="h"?e.width:e.height,h=+n*o/r,f=h/10,g=n.charAt(0)=="0"?n.length-2:0,b=(a-s)*o,y=b%h;b>0&&(y-=h);let w=(y-b)*+n/h,x=y,S=d-u,T=d-p,M,I,A,D=0;if(c.fillStyle=l.rulerColor,c.clearRect(0,0,e.width,e.height),i=="h")for(c.fillRect(0,e.height-1,e.width,1);x<m;){for(I=l.round(w,g),A=Math.round(x)+2,c.fillRect(Math.round(x),0,1,d),M=0;M<9;M++)x+=f,M==4?c.fillRect(Math.round(x),S,1,u):c.fillRect(Math.round(x),T,1,p);A>=D&&(l.drawNumber(c,I,A,"h"),D=A+l.calTextWidth(I)+12),x+=f,w+=+n}else for(c.fillRect(e.width-1,0,1,e.height);x<m;){for(!0?I=-l.round(w,g)+"":I=l.round(w,g),A=Math.round(x)+2,c.fillRect(0,Math.round(x),d,1),M=0;M<9;M++)x+=f,M==4?c.fillRect(S,Math.round(x),u,1):c.fillRect(T,Math.round(x),p,1);A>=D&&(l.drawNumber(c,I,A,"v"),D=A+l.calTextWidth(I)+12),x+=f,w+=+n}}static drawNumber(e,i,o,r){let n=Aw,a=n.rulerDigitImageH.height;for(let s=0,l=i.length;s<l;s++){let c=n.fontConfig[i[s]];c&&(o>=0&&(r=="h"?e.drawImage(n.rulerDigitImageH,c.x,0,c.w,a,o,1,c.w,a):e.drawImage(n.rulerDigitImageV,0,c.x,a,c.w,1,o,a,c.w)),o+=c.w)}}static redrawRuler(e,i){let o=Aw,r=Vr("rulerh_"+i),n=Vr("rulerv_"+i),a=e.originX||0,s=e.originY||0,l=e.unit,c=1,d=e.zoom||1;l=="mil"?c=10:l=="inch"?c=.01:l=="mm"&&(c=.254);let u=o.fixDNum(100/d*c);o.drawMarkers(r,"h",d,c,u,a,e.vbX),o.drawMarkers(n,"v",d,c,u,s,e.vbY)}static drawCursor(e,i){let o=Vr("rulerCursorX_"+i),r=Vr("rulerCursorY_"+i);o&&(o.style.transform="translateX("+e.clientX+"px)"),r&&(r.style.transform="translateY("+e.clientY+"px)")}static drawAuxiliary(e,i){var s,l;let o=k0(".ruler-auxiliary-box",(s=Vr(`rulerh_${i}`))==null?void 0:s.parentNode),r=k0(".ruler-auxiliary-box",(l=Vr(`rulerv_${i}`))==null?void 0:l.parentNode),{auxiliaryX:n=[],auxiliaryY:a=[]}=e;if(o!=null){let c="";for(let d of n)d.position>=0&&d.position<=o.parentElement.offsetWidth&&(c+=`<div style="transform:translateX(${d.position}px)">${d.content}</div>`);o.innerHTML=c}if(r!=null){let c="";for(let d of a)d.position>=0&&d.position<=r.parentElement.offsetHeight&&(c+=`<div style="transform:translateY(${d.position}px)">${d.content}</div>`);r.innerHTML=c}}static changeRulerVisible(e,i){if(!i){console.error("no tabid, you should pass tabid, Plz check code");return}let o=he.getTabDocType(i);if(!Aw.isAllow(o))return;let r=(0,Fk.default)(`#tabbar_bodies > div[uuid="${i}"] > iframe`);e?(r.addClass("ruler"),r.removeClass("un_ruler")):(r.addClass("un_ruler"),r.removeClass("ruler")),DA.setBtnSelection("showRuler",e)}static update(e,i,o){if(o=o||he.getTabDocType(i),!Aw.isAllow(o))return;let r=Aw,n;if(i=i||gi(),!i)return;let a;e&&(a=r.updateRulerData(e,i),n=(Object.hasOwnProperty.call(e,"clientX")||Object.hasOwnProperty.call(e,"clientY")||Object.hasOwnProperty.call(e,"auxiliaryX")||Object.hasOwnProperty.call(e,"auxiliaryY"))&&!r.rulerProps.some(function(s){return Object.hasOwnProperty.call(e,s)&&s!="clientX"&&s!="clientY"})),e&&(Object.hasOwnProperty.call(e,"clientX")||Object.hasOwnProperty.call(e,"clientY"))&&r.drawCursor(e,i),e&&(Object.hasOwnProperty.call(e,"auxiliaryX")||Object.hasOwnProperty.call(e,"auxiliaryY"))&&r.drawAuxiliary(e,i),e=a||r.getRulerData(i),n||r.redrawRuler(e,i)}static async updateRulerOnResize(e){let i=Aw;e===void 0&&(e=he.getActiveTab());let o=await he.getTabIFrame(e),r=o&&+(0,Fk.default)(o).attr("c_doctype")||void 0,n=Aw.isAllow(r);if(o&&n){let a=await Pt(kt.Panel.GetViewStatus,[],e);if(a&&a.viewBox){let s=a.viewBox.split(" ");i.update({vbX:+s[0],vbY:+s[1]},e,r)}}}static isAllow(e){return kl(e)||e===se.BLOCK_SYMBOL||Wn(e)}static getDragIconImg(){return document.createElement("img")}};Aw.rulerProps="zoom,unit,originX,originY,scrollX,scrollY,clientX,clientY".split(","),Aw.rulerColor="#999",Aw.fontConfig={0:{x:0,w:6},1:{x:6,w:5},2:{x:12,w:6},3:{x:18,w:6},4:{x:24,w:6},5:{x:30,w:6},6:{x:36,w:6},7:{x:42,w:6},8:{x:48,w:6},9:{x:54,w:6},".":{x:60,w:3},"-":{x:63,w:4}};var Uk=Aw;var ep=class ep{static async savePreferencesToRemote(e,i=new Function,o=!0){return e instanceof Function?new Promise(r=>{Tye.default.ajax({type:"GET",url:C.apis.others.userInfo}).then(n=>{let a=JSON.parse(n.result.preference||"{}"),s=e(a);if(!s){r(null);return}let l=JSON.stringify(s);Tye.default.ajax({type:"POST",url:C.apis.others.preference,data:{action:"setPreferences",preferences:l},dataType:"text"}).then(()=>{i&&i(JSON.parse(l)),o&&De({type:"success",msg:"Save preferences successfully!",timer:2}),ep.setPreferences(l),r(s)})})}):Promise.resolve(null)}static getCacheObj(e){var i,o=ue.parseJSON(Ob("preferences")||"{}");return o&&o[e]?o[e]:i}static setCacheObj(e,i){var o=ep.getParsedPreferences();o[e]=i,e=="themeConfig"&&(o.themeConfig={activeTheme:i.activeTheme,customize:i.customize}),ep.setPreferences(o)}static deleteCacheObj(e){var i=ep.getParsedPreferences();i&&Object.hasOwnProperty.call(i,e)&&delete i[e],ep.setPreferences(i)}static getParsedPreferences(){let e=ue.parseJSON(Ob(this.storageId)||"{}");return Array.isArray(e)?{}:e}static getKeyValue(e){var i=Ob(this.storageId);if(!i)return i;i=JSON.parse(i);var o=i[e];return o}static setPreferences(e){return typeof e!="string"&&(e=JSON.stringify(e)),y1("preferences",e)}static addKeyToUser(e,i){var o=localStorage.getItem("preferences");o=o?JSON.parse(o):{},o[e]=i,o=JSON.stringify(o),localStorage.setItem("preferences",o)}static getUserName(){var e=Xo.getValueFromCacheUser("username");return e.indexOf("@")>-1?e.split("@")[0]:e}static setLanguage(e){ep.setCacheObj("language",e),ep.saveToServer()}static async setCustomDeviceHeader(e,i="DEVICE_HEADER"){ep.setCacheObj(i,e),await ep.saveToServer()}static setPcbPdfPage(e,i=!0){ep.setCacheObj("PCB_PDF_PAGE",e),ep.saveToServer(i)}static getLanguage(){var e="",i=cn.getHash("lang"),o;return!wi&&(navigator.language==="zh-CN"||navigator.language==="zh")||Zde?e="zh-CN":b8&&(e="en"),o=i||ep.getCacheObj("language")||e,me.getProperLangCode(o.toLowerCase())}static getSymbolLibManage(e=!1){var o,r,n,a;let i=(a=(n=(r=(o=C.profileSetting)==null?void 0:o.commSystemSetting)==null?void 0:r.SYSTEM)==null?void 0:n[W9])==null?void 0:a.value;return i=="0"&&!e?"1":i}static toWorkSpaceNeedLang(){let e=ep.getLanguage();return e=e.includes("zh")?"zh-cn":e,e}static applyLanguage(){var e=ep.getLanguage();e&&et("set_language("+e+")")}static apply(){function e(r){r=r||+ep.getCacheObj("autoSaveInterval")||5,ep._autoSave_timer=setTimeout(async function(){ep._autoSave_timer&&(clearTimeout(ep._autoSave_timer),delete ep._autoSave_timer),e(r)},r*60*1e3)}if(zri){De({type:"info",msg:"Your browser doesn't support Auto Save, please try Chrome or Firefox!"});return}var i=ep.getCacheObj("autoSaveEnabled")!==!1,o=+ep.getCacheObj("autoSaveInterval")||5;o>0&&i&&e(o)}static async saveToServer(e=!0){let i=ep.getParsedPreferences()||{},o=await U2();return i.bomTemplates=JSON.stringify(o),Tye.default.ajax({type:"GET",url:C.apis.others.userInfo}).then(r=>{if(!r.success)br(),ep.apply();else{i.commSystemSetting||(i.commSystemSetting={}),i.commSystemSetting.LANGUAGE?i.commSystemSetting.LANGUAGE.language=i.language:i.commSystemSetting.LANGUAGE={language:i.language},i.version=au.getCurrentVersion();let n=JSON.stringify(i);return Tye.default.ajax({type:"POST",url:C.apis.others.preference,data:{action:"setPreferences",preferences:n},dataType:"text"}).then(function(a){var s=JSON.parse(a);return i.commSystemSetting=lY(qN(),i.commSystemSetting,i.version),C.profileSetting=i,s.success?e&&De({type:"success",msg:"Save config successfully"}):(br(),ep.apply()),!0},function(){e&&De({type:"error",msg:"Save config failed"})})}})}static settingApply(e){C.messageBus.publish("/panel/confirmPanelThemeHandler",e.PANEL_THEME),C.messageBus.publish("/panel/confirmPanelHandler",e.PANEL_CANVAS);let i=[...he.getAllTabIdByDoctype(se.PANEL),...he.getAllTabIdByDoctype(se.PANEL_LIB)];for(let o of i)Uk.changeRulerVisible(e.PANEL_CANVAS.ruler,o);Ai.updateToolConfigStatus(),C.messageBus.publish("updatePlaceDeviceSymbolBg",e.OBJECT.theme[e.OBJECT.theme.activeTheme].color.background),C.messageBus.publish("updateSnapLayerConfig",e.ADSORPTION["Snapping Key"].options.value)}static async savePreference(e,i,o=!0,r=!0){if(!br()){ep.setCacheObj(e,i);return}e!=="commSystemSetting"?ep.setCacheObj(e,i):ep.setCacheObj(e,Zhe(i)),C.profileSetting[e]=i,r&&C.messageBus.publish("updateSystemConfig",d0()),await ep.saveToServer(o)}};ep.storageId="preferences";var mt=ep;async function Jst(t){wi&&await fetch("app://api/system/toggleLanguage",{method:"post",body:JSON.stringify({language:t})}),t==="zh-cn"&&(t="zh-hans"),v1("set_language("+t+")",!0),cn.removeHash("lang"),(function(i){var o=i.match(/^zh-/)?"zh-cn":i;mt.addKeyToUser("language",o)})(t);let e=document.documentElement;e.classList.remove(me.curr),e.classList.add(t),me.curr!=t&&me.isSupportedLangCode(t)&&(me.load(t),mt.setLanguage(t)),(0,Tye.default)(".i18n-state").attr("i18n-state",t),zGt(),FGt(),C.messageBus.publish("updateLanguageSetting",{lang:t})}function IEo(){return hn("CANVAS")}function hn(t){let e=sc();if(!e){let i=mt.getParsedPreferences(),o=i.commSystemSetting,r=i.version;e=lY(qN(),o,r)}return e=jin(e),t?e[t]:e}function d0(){let t=mt.getParsedPreferences(),e=hn();return t.commSystemSetting=e,t}function jin(t){return t=ue.deepClone(t),it(t,(e,i)=>{["OBJECT","LANGUAGE","HOTKEY","PROPERTY","DESIGN","CUSTOM_TOOLBAR","PANEL_THEME"].indexOf(e)>-1||Object.keys(i||{}).forEach((o,r)=>{o!=="layout"&&(e==="PCB_COMM_GRID_SIZE"?(i[o].value=i[o].value,i[o].value2Polar=i[o].value2Polar):e==="SYSTEM"&&o==="sidePanelAutoHide"?Object.keys(i[o]).forEach(n=>{i[o][n]=i[o][n].value}):typeof i[o].value<"u"&&(i[o]=i[o].value))})}),t}function Bin(){let t=hn(),e=t&&t.PROPERTY&&t.PROPERTY.property;return e&&JSON.parse(e)}function Yki(t,e,i=!0){if(e=e||Bin(),!e)return{};let o={};return e.forEach(r=>{let n=r.property,a=r.object.split(","),s=r.showStatus,l=null,c=null;i&&s==="default"||t&&!a.includes("Common")&&!D8o(t,a)||(s&&s!="default"&&(s==="all"?(l={nameShow:!0,valueShow:!0},c={nameShow:!0,valueShow:!0}):s.split(",").forEach(d=>{let u=d.includes("Name"),p=d.includes("Value");d.includes("Schematic")?l={nameShow:u,valueShow:p}:d.includes("PCB")&&(c={nameShow:u,valueShow:p})})),o[n]={objects:a,name:n,on_SCH:l,on_PCB:c})}),o}function xHe(){let t=JSON.parse(localStorage.getItem("preferences"));return t.isAssociationPCBCanvasGridAndSnap?t.isAssociationPCBCanvasGridAndSnap=0:t.isAssociationPCBCanvasGridAndSnap=1,localStorage.setItem("preferences",JSON.stringify(t)),t.isAssociationPCBCanvasGridAndSnap}var A8o=L(Se());var Vp=L(z()),N8o="panel-image-settings-container",zin={display:"inline-block",width:"16px",height:"16px",margin:"0 1em",cursor:"pointer"};function E8o(){le.close(N8o)}function Fin(t){let e=+io(t.initWidth||0,"px","mm").toFixed(3),i=+io(t.initHeight||0,"px","mm").toFixed(3),o=e/i,[r,n]=(0,A8o.useState)({linked:!0,checkedImportType:t.isSvg?"group":"image",userW:e,userH:i,initRatio:o});function a(p,m,h){let f=h.target.value;if(m==="change"){n(p==="width"?b=>({...b,userW:f}):b=>({...b,userH:f}));return}let g=+f||0;if(g=Math.abs(g),p==="width"){g=g||e;let b=+(g/r.initRatio).toFixed(3);r.linked&&n(y=>({...y,userH:b})),n(y=>({...y,userW:g}));return}else{g=g||i;let b=+(g*r.initRatio).toFixed(3);r.linked&&n(y=>({...y,userW:b})),n(y=>({...y,userH:g}))}}let s=me.i18n("Image"),l=[r.linked?"icon-eda-link":"icon-eda-unlink"],c={width:"120px"},d={margin:"0 0 16px 0"},u=J();return(0,Vp.jsxs)(Vp.Fragment,{children:[(0,Vp.jsxs)("div",{style:{border:"1px solid var(--common-border-color)",padding:"16px",margin:"0 0 16px 0"},children:[(0,Vp.jsxs)("div",{style:d,className:"flex",children:[(0,Vp.jsxs)("div",{style:c,children:[s,":"]}),(0,Vp.jsxs)("div",{style:{flexGrow:1,position:"relative"},children:[(0,Vp.jsx)("input",{style:{width:"100%"},type:"text",value:t.fileName,readOnly:!0,onClick:()=>{et("insertImage")}}),(0,Vp.jsx)("span",{style:{position:"absolute",right:"1rem",top:0},children:"..."})]})]}),t.isSvg&&(0,Vp.jsxs)("div",{style:d,className:"flex",children:[(0,Vp.jsxs)("div",{style:c,children:[me.i18n("Import Type"),"\uFF1A"]}),(0,Vp.jsx)($i,{gap:"2em",value:r.checkedImportType,options:[{value:"group",label:"Shape"},{value:"image",label:"Image"}],onChange:p=>{n(m=>({...m,checkedImportType:p}))}})]}),(0,Vp.jsxs)("div",{style:d,className:"flex",children:[(0,Vp.jsxs)("div",{style:c,children:[me.i18n("Original Size(Width * Height)"),"\uFF1A"]}),(0,Vp.jsxs)("div",{children:[+io(t.initWidth||0,"px","mm").toFixed(3)," mm * ",+io(t.initHeight||0,"px","mm").toFixed(3)," mm"]})]}),(0,Vp.jsxs)("div",{style:d,className:"flex flex-lateral-axis-center",children:[(0,Vp.jsxs)("div",{style:c,children:[me.i18n("Import Size(Width * Height)"),"\uFF1A"]}),(0,Vp.jsxs)("div",{className:"display-inline-flex flex-lateral-axis-center",children:[(0,Vp.jsx)("input",{type:"number",value:r.userW,onBlur:a.bind(this,"width","blur"),onChange:a.bind(this,"width","change")}),(0,Vp.jsx)("span",{children:"mm"}),(0,Vp.jsx)("span",{onClick:()=>{n(p=>({...p,linked:!r.linked}))},style:zin,title:r.linked?u("Keep width/height ratio"):u("Not keep width/height ratio"),className:l.join(" ")}),(0,Vp.jsx)("input",{type:"number",value:r.userH,onBlur:a.bind(this,"height","blur"),onChange:a.bind(this,"height","change")}),(0,Vp.jsx)("span",{children:"mm"})]})]})]}),(0,Vp.jsxs)("div",{style:{display:"flex",gap:5,justifyContent:"flex-end"},children:[(0,Vp.jsx)(Me,{onClick:()=>{!r.userH||!r.userW||(t.onPlace({insertSvgAsPath:r.checkedImportType==="group",userH:io(r.userH,"mm","px"),userW:io(r.userW,"mm","px")}),E8o.call(this))},type:"primary",children:"Place"}),(0,Vp.jsx)(Me,{onClick:E8o.bind(this),children:"Cancel"})]})]})}function UGt(t){le.open({id:N8o,title:me.i18n("Image"),width:600,height:"auto",closed:!0,children:(0,Vp.jsx)(Fin,{...t}),esc:!0})}var FE=L(Se()),_8o=L(Hr());var HGt=L(P8o());var r0=L(z()),xF=be.bind(HGt.default.locals);var O8o="tableSettingToolbarConfig",Uin={"toolbar-table-setting":{right:459,top:242,defaultdisplay:!0,"expand-toolbar":!0}},qst=[{icon:"icon-eda-full-border",title:"Full Border",key:"FullBorder"},{icon:"icon-eda-outer-border",title:"Outer Border",key:"OuterBorder"},{icon:"icon-eda-inner-border",title:"Inner Border",key:"InnerBorder"},{icon:"icon-eda-no-border",title:"No Border",key:"NoBorder"},{icon:"icon-eda-left-border",title:"Left Border",key:"LeftBorder"},{icon:"icon-eda-right-border",title:"Right Border",key:"RightBorder"},{icon:"icon-eda-top-border",title:"Top Border",key:"TopBorder"},{icon:"icon-eda-bottom-border",title:"Bottom Border",key:"BottomBorder"}];function Vin(t){let e=J(),i=Cc.getDefaultTableStrokeColor(),o=Cc.contentBtnList.find(h=>h.cmd==="showBorderDropDownBox"),r=(0,FE.useRef)(null),[n,a]=(0,FE.useState)(!1),s=h=>{var f;a(h),(f=t.visibilityChange)==null||f.call(t,h)};(0,FE.useEffect)(()=>{a(t.isShow)},[t.isShow]);let l=h=>{let f=qst.find(y=>y.icon===h),g=[...Cc.contentBtnList],b=Cc.contentBtnList.find(y=>y.cmd==="showBorderDropDownBox");b.icon=h,b.title=f.title,Cc.setContentBtnList(g),t.onBorderTypeChange(d.color,f.key)};(0,FE.useEffect)(()=>{let h=f=>{rue(f.target,`#${DS}, [data-cmd="showBorderDropDownBox"]`)||s(!1)};return C.messageBus.subscribe("hideBorderDropDownBox",()=>{a(!1)}),window.document.addEventListener("click",h),()=>{window.document.removeEventListener("click",h)}},[]);let c=(0,FE.useRef)(null),[d,u]=(0,FE.useState)({color:Cc.strokeColor,content:Cc.strokeColor}),p=h=>{let f=h==="none"?"transparent":h;u({color:f,content:h});let g=[...Cc.contentBtnList],b=Cc.contentBtnList.find(y=>y.cmd==="showBorderDropDownBox");Cc.strokeColor=f,Cc.setContentBtnList(g),t.onColorChange(f,qst.find(y=>y.icon===b.icon).key)},m=()=>{let h=i,{curColorPickerId:f}=Wu,{doctype:g}=he.getActiveTabData().data||{},b=Wu.color[f];if(g!==se.SCH){let y=zb();h=y[y.activeTheme].color.symbol}b===h||b===void 0?p(h):Wu.setColor(f,h)};return(0,FE.useEffect)(()=>{},[]),(0,r0.jsxs)(r0.Fragment,{children:[(0,r0.jsxs)("section",{className:xF("table-setting-border-bar"),ref:r,style:{display:"flex",position:"absolute",left:"30px",top:"30px",padding:"4px",background:"var(--common-bg-color)",boxShadow:"0 0 1px #999",clipPath:n?"":"polygon(0 0)"},children:[(0,r0.jsx)("section",{style:{display:"flex",flexWrap:"wrap",width:"calc(28px * 4)",paddingRight:"4px"},children:qst.map(({icon:h,title:f})=>(0,r0.jsx)("div",{className:xF(`border-option ${o.icon===h?"selected":""}`),children:(0,r0.jsx)("div",{className:xF(`${h}`),"data-icon":h,"data-test":f,title:e(f),onClick:()=>{l(h)}})},f))}),(0,r0.jsxs)("section",{className:xF("border-color-picker"),ref:c,style:{width:"max-content",borderLeft:"1px solid #bbb",paddingLeft:"4px",overflow:"initial"},children:[(0,r0.jsx)("div",{style:{fontSize:"12px",textAlign:"center"},title:e("Border Color"),"data-test":"Border Color",children:e("Border Color")}),(0,r0.jsx)("div",{style:{textAlign:"center",padding:"4px 0"},children:(0,r0.jsx)(Q6,{style:{display:"inline-block",width:"15px",height:"15px"},defaultValue:d.color||_e.HEX_BLACK_COLOR,allowNone:!0,option:{value:i,text:"Default"},onChange:h=>{h&&p(h)},target:c})}),(0,r0.jsx)("div",{className:"border-color-content",style:{minWidth:"57px",border:"1px solid #aaa",flex:1,height:"15px",boxSizing:"border-box",padding:"0 4px",lineHeight:1.2,fontSize:"12px"},children:d.content})]}),(0,r0.jsx)("div",{className:xF("restore-color"),style:{display:"inline-flex",alignSelf:"flex-end",paddingLeft:"8px",paddingBottom:"5px",cursor:"pointer"},"data-test":"Restore Default",title:e("Restore Default"),onClick:m,children:(0,r0.jsx)("span",{className:xF("icon-eda-refresh-1"),style:{width:"12px",height:"12px"}})})]}),(0,r0.jsx)("i",{"data-icon-class":"dropdown-icon","data-button-icon":"true",onClick:()=>{s(!0)}})]})}var IDe={vertical:[{icon:"icon-eda-text-align-top",title:"Align Top",value:0},{icon:"icon-eda-text-align-vertical-center",title:"Align Vertical Centers",value:1},{icon:"icon-eda-text-align-bottom",title:"Align Bottom",value:2}],horizontal:[{icon:"icon-eda-text-align-left",title:"Align Left",value:0},{icon:"icon-eda-text-align-horizontal-center",title:"Align Horizontal Centers",value:1},{icon:"icon-eda-text-align-right",title:"Align Right",value:2}]};function R8o(t){let e=J(),i=t.cmd==="showAlignLeftDropDownBox"?"horizontal":"vertical",o=Cc.contentBtnList.find(d=>d.cmd===t.cmd),[r,n]=(0,FE.useState)(!1),a=d=>{var u;n(d),(u=t.visibilityChange)==null||u.call(t,d)},s=(0,FE.useRef)(null);(0,FE.useEffect)(()=>{s.current.parentElement.addEventListener("blur",()=>{a(!1)})},[]);let l=d=>{let u=IDe[i].find(h=>h.icon===d).title,p=[...Cc.contentBtnList],m=p.find(h=>h.cmd===t.cmd);m.icon=d,m.title=u,Cc.setContentBtnList(p)},c=d=>{var u;(u=t.onChange)==null||u.call(t,d)};return(0,r0.jsxs)(r0.Fragment,{children:[(0,r0.jsx)("section",{className:xF("table-setting-align-bar"),ref:s,style:{display:"flex",position:"absolute",left:"30px",top:"30px",padding:"4px",background:"var(--common-bg-color)",boxShadow:"0 0 1px #999",clipPath:r?"":"polygon(0 0)"},children:(0,r0.jsx)("section",{style:{width:"28px",padding:"1px 1px 0 1px"},children:IDe[i].map(({icon:d,title:u,value:p})=>(0,r0.jsx)("div",{className:xF(`align-option iconColor ${d} ${o.icon===d?"selected":""}`),"data-icon":d,style:{width:"28px",height:"28px",marginBottom:"1px",cursor:"pointer"},"data-test":u,title:e(u),onClick:()=>{l(d),c(p),a(!1)}},u))})}),(0,r0.jsx)("i",{"data-icon-class":"dropdown-icon",onClick:()=>{a(!0)}})]})}function Hin(){let t=J();Ae(HGt.default);let e=o=>{et(o)},i={"--table-setting-border-color":Cc.strokeColor};return(0,r0.jsx)("div",{className:xF("btns"),style:i,children:Cc.contentBtnList.map(o=>{let r=Object();return(0,r0.jsxs)("div",{"data-name":"toolbarbutton","data-cmd":o.cmd,"data-disabled":o.disabled,tabIndex:100,children:[(0,r0.jsx)("div",{title:t(o.title),"data-cmd":o.cmd,"data-test":o.title,className:xF(`${o.icon}`),"data-button-icon":!0,onClick:()=>{o.disabled||(o.triggerCmd?e(o.cmd):o.onclick&&o.onclick())},style:r}),o.children?typeof o.children=="function"?o.children():(0,r0.jsx)("span",{children:o.children}):null]},o.cmd)})})}var VGt=class extends qe{constructor(){super(...arguments);this.isReady=!1;this.getDefaultTableStrokeColor=()=>{let i=zb();return i[i.activeTheme].color.table}}get cfg(){return this._cfg||this.readConfig(),this._cfg}set cfg(i){this._cfg=i}readConfig(){let i=mt.getCacheObj(O8o)||"{}";i=ue.parseJSON(i);for(let o in i)o!=="toolbar-table-setting"?delete i[o]:i["toolbar-table-setting"]=Object.assign({},Uin["toolbar-table-setting"],i["toolbar-table-setting"]);return this.cfg=i,this.cfg}get isShow(){return this.isReady?(Kr(this._isShow)&&(this._isShow=String(this.cfg["toolbar-table-setting"].defaultdisplay)==="true"),this._isShow):!1}set isShow(i){this.isReady=!0,this._isShow=i,this.notify()}hide(){if(this.isShow){this.isShow=!1;let i=[...this.contentBtnList],o=i[8],r=i[9],n=i[10];o.isShow=!1,r.isShow=!1,n.isShow=!1,this.setContentBtnList(i)}}saveConfig(i){let o=this.cfg,r=Cs(o,"toolbar-table-setting");Object.assign(r,i),i&&!Object.hasOwnProperty.call(i,"defaultdisplay")&&delete r.defaultdisplay,mt.savePreference(O8o,JSON.stringify(o))}get width(){return Cs(this.cfg,"toolbar-table-setting").width}get right(){return Cs(this.cfg,"toolbar-table-setting").right}get top(){return Cs(this.cfg,"toolbar-table-setting").top}get strokeColor(){return this._strokeColor||(this._strokeColor=this.getDefaultTableStrokeColor()),this._strokeColor}set strokeColor(i){this._strokeColor=i}getAlignBtnListPartialItem(i){let o=zb(),{verticalAlign:r,textAlign:n}=o[o.activeTheme].fontStyle.table,a=(()=>{switch(i==="vertical"?r:n){case"left":case"top":return 0;case"right":case"bottom":return 2;case"center":case"middle":return 1;default:return 0}})(),s=IDe[i].find(l=>l.value===a);if(s)return{title:s.title,icon:s.icon}}get minWidth(){return 94}get maxWidth(){return this.contentBtnList.length?this.contentBtnList.length*28+12:210}get contentBtnList(){return this._contentBtnList||(this._contentBtnList=[{title:"Add Row Above",cmd:"topAddRowInTable",icon:"icon-eda-add-row-above",disabled:!0,triggerCmd:!0,children:""},{title:"Add Row Below",cmd:"bottomAddRowInTable",icon:"icon-eda-add-row-below",disabled:!0,triggerCmd:!0},{title:"Add Column Left",cmd:"leftAddColumnInTable",icon:"icon-eda-add-column-left",disabled:!0,triggerCmd:!0},{title:"Add Column Right",cmd:"rightAddColumnInTable",icon:"icon-eda-add-column-right",disabled:!0,triggerCmd:!0},{title:"Delete Row",cmd:"deleteTableRow",icon:"icon-eda-delete-row",disabled:!0,triggerCmd:!0},{title:"Delete Column",cmd:"deleteTableColumn",icon:"icon-eda-delete-column",disabled:!0,triggerCmd:!0},{title:"Merge Cell",cmd:"mergeCells",icon:"icon-eda-merge-cell",disabled:!0,triggerCmd:!0},{title:"Split Cell",cmd:"splitCells",icon:"icon-eda-split-cell",disabled:!0,triggerCmd:!0},{title:"Border",cmd:"showBorderDropDownBox",icon:"icon-eda-full-border",disabled:!0,isShow:!1,onclick:()=>{let{icon:i}=this.contentBtnList.find(r=>r.cmd==="showBorderDropDownBox"),o=qst.find(r=>r.icon===i).key;et("changeCellStrokeFromTableSetting",{strokeColor:this.strokeColor,strokeType:o})},children:()=>{let i=this.contentBtnList.find(o=>o.cmd==="showBorderDropDownBox");return(0,r0.jsx)(Vin,{isShow:i.isShow,onColorChange:(o,r)=>{et("changeCellStrokeFromTableSetting",{strokeColor:o,strokeType:r})},onBorderTypeChange:(o,r)=>{et("changeCellStrokeFromTableSetting",{strokeColor:o,strokeType:r})},visibilityChange:o=>{i.isShow=o}})}},{...this.getAlignBtnListPartialItem("vertical")||{title:"Vertical Align",icon:"icon-eda-text-align-top"},cmd:"showAlignTopDropDownBox",disabled:!1,isShow:!1,onclick:()=>{let{icon:i}=this.contentBtnList.find(o=>o.cmd==="showAlignTopDropDownBox");et("changeCellVerticalAlign",IDe.vertical.find(o=>o.icon===i).value)},children:()=>{let i=this.contentBtnList.find(o=>o.cmd==="showAlignTopDropDownBox");return(0,r0.jsx)(R8o,{cmd:"showAlignTopDropDownBox",isShow:i.isShow,visibilityChange:o=>{i.isShow=o},onChange:o=>{et("changeCellVerticalAlign",o)}})}},{cmd:"showAlignLeftDropDownBox",...this.getAlignBtnListPartialItem("horizontal")||{title:"Horizontal Align",icon:"icon-eda-text-align-left"},disabled:!1,isShow:!1,onclick:()=>{let{icon:i}=this.contentBtnList.find(o=>o.cmd==="showAlignLeftDropDownBox");et("changeCellHorizontalAlign",IDe.horizontal.find(o=>o.icon===i).value)},children:()=>{let i=this.contentBtnList.find(o=>o.cmd==="showAlignLeftDropDownBox");return(0,r0.jsx)(R8o,{cmd:"showAlignLeftDropDownBox",isShow:i.isShow,visibilityChange:o=>{i.isShow=o},onChange:o=>{et("changeCellHorizontalAlign",o)}})}}]),this._contentBtnList}setContentBtnList(i){this._contentBtnList=i,this.notify()}},Cc=new VGt;function Gin(t){return Ce(Cc),(0,r0.jsx)(Ape,{...t,title:"Table Setting",width:Cc.width,right:Cc.right,top:Cc.top,minWidth:Cc.minWidth,maxWidth:Cc.maxWidth,closeable:!0,maxminiable:!1,onClose:()=>{Cc.hide(),Cc.saveConfig({defaultdisplay:!1})},stretchable:!0,droppable:!0,children:()=>(0,r0.jsx)(Hin,{}),isShow:Cc.isShow,onStretchEnd:e=>{Cc.saveConfig({width:e.width,right:e.right,top:e.top})},onDropEnd:e=>{Cc.saveConfig({width:e.width,right:e.right,top:e.top})}})}function j8o(){let t=document.createElement("div");t.id="table-setting-float-toolbar",t.style.cssText="position: fixed;right: 0;top: 0;width: 0;height: 0;z-index: 100000;",document.body.append(t);let e=[],i=o=>o.every(r=>!e.includes(r));C.messageBus.subscribe("sch/tableCellSelectAreaChange",async o=>{if(V_(o))return;let r=i(o);e=o,Cc.isShow||(Cc.isShow=!0);let n=[...Cc.contentBtnList],a=n[8],s=n[9],l=n[10],c=n[0],d=n[2],u=n[1],p=n[3],m=n[6],h=n[7],f=n[4],g=n[5],b=o.length===1,{isRect:y,isAllRow:w,isAllColumn:x,hasMergeCell:S}=(await C.messageBus.rpcCall("getSelectCellInfo")).message,T=(await C.messageBus.rpcCall("checkCanMergeCell",{selectedIds:o})).message;[c,d,u,p].forEach(M=>{M.disabled=!y}),f.disabled=!y||w,g.disabled=!y||x,h.disabled=!y||!S,m.disabled=!T,a.disabled=b?!1:!T,(r||!T)&&(s.isShow=!1,l.isShow=!1),o!=null&&o.length||(a.isShow=!1),Cc.setContentBtnList(n)}),setTimeout(()=>{let o=(0,_8o.createRoot)(t),r={};o.render((0,r0.jsx)(Gin,{...r}))})}var B8o=L(Hr());var Sye=L(z());var GGt={"toolbar-connect":{right:359,top:142,width:185,defaultdisplay:!0,"expand-toolbar":!0}};function Yin(){let t=J();return(0,Sye.jsx)("div",{style:{display:"flex",flexWrap:"wrap",lineHeight:"initial"},children:Tg.contentBtnList.map(e=>(0,Sye.jsx)("div",{title:t(e.title),"data-cmd":e.cmd,"data-test":e.title,className:`${e.icon}`,"data-button-icon":!0,onClick:()=>{e.triggerCmd&&Tg.onBtnClick(e.cmd)},style:{boxSizing:"border-box",textAlign:"center",fontSize:"18px",border:"none",cursor:"pointer",display:"inline-block",width:"28px",height:"28px",backgroundPosition:"center",backgroundSize:"16px 16px"}},e.cmd))})}var YGt=class extends qe{constructor(i,o){super();this.toolbarId=i;this.preferenceKey=o;this.isReady=!1;this.id="sch-place-float-toolbar";this.getDefaultTableStrokeColor=()=>{let i=zb();return i[i.activeTheme].color.table};this.onBtnClick=_b(async i=>{let o=dt(),r=L9(o);if(!(o==se.PANEL3D||r=="3Dview")){if(["place_part(noconnect)","place_part(netlabel)","place_shortcut_device(test_point)"].includes(i))je()||!Je&&!await tj()||et(i);else{let[n,a]=await Promise.all([Cr("getSchToolBarDevice",i),Cr("getSchToolBarSymbol",i)]),s=bn,{success:l}=await N4.placeDevice(n,!1,se.SCH,a,null,s,!0,!0);l&&Ho.setTopBarItemChecked(i)}D1.add("toolbar-btn-click",{cmd:i||"",id:this.toolbarId})}})}get isMax(){let i=Cs(this.cfg,this.toolbarId)["expand-toolbar"];return Kr(i)?!0:i}set isMax(i){this.saveConfig({"expand-toolbar":i}),this.notify()}get cfg(){return this._cfg||this.readConfig(),this._cfg}set cfg(i){this._cfg=i}readConfig(){let i=ue.parseJSON(mt.getCacheObj(this.preferenceKey)||"{}");return it(i,(o,r)=>{if(TMt(r)){let n=GGt[o];n&&Object.entries(r).forEach(([a,s])=>{Kr(s)&&(r[a]=n[a])})}!r["expand-toolbar"]&&r.width&&(r.width=this.limitInWidthRange(r.width>>>1))}),this.cfg=Object.assign({},GGt,i)}get defaultIsShow(){let i=this.cfg[this.toolbarId].defaultdisplay;return Kr(i)?!0:String(i)==="true"}get isShow(){return Kr(this._isShow)&&(this._isShow=this.defaultIsShow),this._isShow}set isShow(i){this._isShow=i,v1("editTag",i),this.notify()}showForDocType(i){this.isReady=!0;let o=L9(i)==="sch";this.isShow=o&&this.defaultIsShow}hide(){this.isShow&&(this.isShow=!1)}toggle(i){Kr(i)?this.isShow=!this.isShow:this.isShow=i;let o={defaultdisplay:this.isShow};if(this.isShow){let r=Vr(this.id).firstElementChild.getBoundingClientRect(),n=new Yw(r.x,r.x+r.width,r.y,r.y+r.height);new Yw(0,window.innerWidth,0,window.innerHeight).isIntersect(n)||Object.assign(o,GGt[this.toolbarId])}this.saveConfig(o)}saveConfig(i){let o=this.cfg,r=Cs(o,this.toolbarId);Object.assign(r,i),i&&!Object.hasOwnProperty.call(i,"defaultdisplay")&&delete r.defaultdisplay,mt.savePreference(this.preferenceKey,JSON.stringify(o))}get width(){return parseFloat(Cs(this.cfg,this.toolbarId).width)}get right(){return parseFloat(Cs(this.cfg,this.toolbarId).right)}get top(){return parseFloat(Cs(this.cfg,this.toolbarId).top)}get minWidth(){return 94}get maxWidth(){return this.contentBtnList.length?this.contentBtnList.length*28+12:210}limitInWidthRange(i){let{minWidth:o,maxWidth:r}=this;return i<o?o:i>r?r:i}get strokeColor(){return this._strokeColor||(this._strokeColor=this.getDefaultTableStrokeColor()),this._strokeColor}set strokeColor(i){this._strokeColor=i}get contentBtnList(){return this._contentBtnList||(this._contentBtnList=[{title:"VCC",cmd:"place_part(netflag_VCC)",icon:"icon-eda-netflag-vcc",triggerCmd:!0},{title:"+5V",cmd:"place_part(netflag_5V)",icon:"icon-eda-netflag-5V",triggerCmd:!0},{title:"GND",cmd:"place_part(netflag_gnD)",icon:"icon-eda-netflag-gnd",triggerCmd:!0},{title:"PGND",cmd:"place_part(netflag_gNd)",icon:"icon-eda-netflag-pgnd",triggerCmd:!0},{title:"AGND",cmd:"place_part(netflag_GNd)",icon:"icon-eda-netflag-agnd",triggerCmd:!0},{title:"IN",cmd:"place_part(netport_IN)",icon:"icon-eda-netport-in",triggerCmd:!0},{title:"OUT",cmd:"place_part(netport_OUT)",icon:"icon-eda-netport-out",triggerCmd:!0},{title:"BI",cmd:"place_part(netport_BI)",icon:"icon-eda-netport-bi",triggerCmd:!0},{title:"IN",cmd:"place_part(offPageConnector_IN)",icon:"icon-eda-offPageConnector-in",triggerCmd:!0},{title:"OUT",cmd:"place_part(offPageConnector_OUT)",icon:"icon-eda-offPageConnector-out",triggerCmd:!0},{title:"BI",cmd:"place_part(offPageConnector_BI)",icon:"icon-eda-offPageConnector-bi",triggerCmd:!0},{title:"Net Label",cmd:"place_part(netlabel)",icon:"icon-eda-net-label",triggerCmd:!0},{title:"Short Flag",cmd:"place_part(short_symbol)",icon:"icon-eda-symbol-short",triggerCmd:!0},{title:"No Connect Flag",cmd:"place_part(noconnect)",icon:"icon-eda-no-connect-flag",triggerCmd:!0},{title:"Differential Pairs Flag",cmd:"place_part(diffPairsFlag)",icon:"icon-eda-differential",triggerCmd:!0},{title:"Test Point",cmd:"place_shortcut_device(test_point)",icon:"icon-eda-point-test",triggerCmd:!0}]),this._contentBtnList}setContentBtnList(i){this._contentBtnList=i,this.notify()}},Tg=new YGt("toolbar-connect","new_toolbarConfig");function Win(t){Ce(Tg);let e=ca();return(0,Sye.jsx)(Ape,{...t,title:"Floating Tool",width:Tg.width,right:Tg.right,top:Tg.top,minWidth:Tg.minWidth,maxWidth:Tg.maxWidth,closeable:!0,maxminiable:!0,isMax:Tg.isMax,onMaxMinChange:i=>{Tg.isMax=i},onClose:()=>{Tg.hide(),Tg.saveConfig({defaultdisplay:!1})},stretchable:!0,droppable:!0,children:()=>(0,Sye.jsx)(Yin,{}),isShow:Tg.isReady&&Tg.isShow,onStretchEnd:i=>{Tg.saveConfig({width:i.width,right:i.right,top:i.top}),e()},onDropEnd:i=>{Tg.saveConfig({width:i.width,right:i.right,top:i.top}),e()}})}function z8o(){let t=document.createElement("div");t.id=Tg.id,t.style.cssText="position: fixed;right: 0;top: 0;width: 0;height: 0;z-index: 1100;",ln.isViewerMode&&(t.style.display="none"),document.body.append(t),setTimeout(()=>{let e=(0,B8o.createRoot)(t),i={};e.render((0,Sye.jsx)(Win,{...i})),Ho.adjust()})}var F8o=L(Hr());var V8o=L(z());function U8o(){let t=document.createElement("div");t.id=Npe,t.style.cssText="position: fixed;right: 0;top: 0;width: 0;height: 0;z-index: 99999;",document.body.append(t),window.setTimeout(()=>{let e=(0,F8o.createRoot)(t),i={};e.render((0,V8o.jsx)(ryi,{...i}))})}var Qle=L(Se());var TF=L(z());var WGt=class extends qe{constructor(){super(...arguments);this._type="NOLICENSE"}get type(){return this._type}set type(i){i!==this._type&&(this._type=i,this.update())}update(){this.notify()}};async function H8o(){if(!_t)return;let t=null,e=null,i=new WGt;async function o(){var u,p;let c=Date.now();if((p=(u=C.globalVariableCookieData)==null?void 0:u.userInfo)==null?void 0:p.username){let{message:m}=await C.messageBus.rpcCall(T9.IsActive);if(m&&n(c,t)){let h=await pn("GET",C.apis.others.userOnline,void 0,void 0,!0);if(h.success)e&&await r();else{let f=h.code;f==9000006?(i.type=="NOACTICE"&&(i.type="NOLICENSE"),e||(e=a())):f==401&&Xo.logout(!0)}t=Date.now()}else m||(i.type=="NOLICENSE"&&(i.type="NOACTICE"),e||(e=a()))}requestAnimationFrame(()=>{o()})}async function r(){await le.close(e),e=null}function n(c,d){return!d||c-d>=5e3}function a(){return Dt({title:"Notice",closed:!1,showConfirm:!1,esc:!1,content:(0,TF.jsx)(s,{})})}let s=()=>{Ce(i);let[c,d]=(0,Qle.useState)(""),[u,p]=(0,Qle.useState)(null),[m,h]=(0,Qle.useState)(15);(0,Qle.useEffect)(()=>(f(),()=>{clearInterval(u)}),[]),(0,Qle.useEffect)(()=>{let g="";me.curr=="en"?g='Automatically request reconnection after <span style="color:#006bff">'+m+"s</span>":g='<span style="color:#006bff">'+m+"s </span> \u540E\u81EA\u52A8\u8BF7\u6C42\u91CD\u65B0\u8FDE\u63A5...",d(g)},[m]);let f=()=>{let g=15,b=setInterval(()=>{g--,g<0&&(g=15),h(g)},1e3);p(b)};return(0,TF.jsxs)("div",{children:[(0,TF.jsx)("div",{children:me.i18n(i.type==="NOLICENSE"?"The number of sumultaneous online accounts is full. Please contact other menbers to colse the Page and try again.":"The authorization has been revoked due to prolonged inactivity. Continuing the operation will attempt to reacquire authorization.")}),(0,TF.jsx)("div",{style:{height:30}}),i.type==="NOLICENSE"?(0,TF.jsx)("div",{dangerouslySetInnerHTML:{__html:c}}):(0,TF.jsx)(TF.Fragment,{})]})},l=o()}function kr(t,e=void 0,i=gi(),o){let r=he.getTabById(i),n=he.getUuidAndPathByTab(i).path,a=((r==null?void 0:r.data)||{})["data-model-sheet-uuid"],s=a?`${a}@${n}`:i;var c=(Vr("frame_"+s)||{}).contentWindow;try{if(!c||!c.document||c.document.readyState!=="complete")return}catch(u){console.error(u);return}if(c.callCommand&&c.callCommand.hooks&&Object.hasOwnProperty.call(c.callCommand.hooks,t))return c.callCommand.invoke.apply(c,[t,e]);try{if(t.indexOf(".")>-1){var d=t.split(".");return d.length===2?t=c[d[0]][d[1]]:d.length===3?t=c[d[0]][d[1]][d[2]]:d.length===4&&(t=c[d[0]][d[1]][d[2]][d[4]]),t.apply(c,e)}else return c[t].apply(c,e)}catch{console.warn("Invalid editorCall cmd: "+t)}}async function Ane(t,e=!1){if(t=t||s(),!t)return;let{isAutoSave:i,autoSaveMin:o,isAutoBackup:r,autoBackupMin:n,autoBackupNum:a}=t;if(mt.setCacheObj("saveConfig",t),i&&!ln.isViewerMode){let l=!1;e&&(l=await Hne("Detected that you enabled automatic save, whether to execute it immediately?",void 0,{id:"setting-auto-save-tip1"})),C.worker.publish("autoSave/regist",[o,l])}else C.worker.publish("autoSave/unRegist","");if(r&&!ln.isViewerMode){let l=!1;e&&(l=await Hne("Detected that you enabled automatic backup, whether to back up immediately?",void 0,{id:"setting-auto-save-tip2"})),C.worker.publish("autoBackup/regist",[n,l])}else C.worker.publish("autoBackup/unRegist","");function s(){let l=Wi("SAVE");return{autoBackupMin:c(l.autoBackupMin),autoBackupNum:c(l.autoBackupNum),autoSaveMin:c(l.autoSaveMin),isAutoBackup:c(l.isAutoBackup),isAutoSave:c(l.isAutoSave)};function c(d){return typeof d=="object"?d.value:d}}}function LEo(t){(0,pd.default)('#settingLanguage > li[val="'+t+'"]').trigger("click")}function G8o(){let t=mt.getKeyValue("language");LEo(t)}function Y8o(t){Rd('input[type="radio"], input[type="checkbox"]',t).forEach(i=>{i.nextElementSibling||i.parentNode.appendChild(document.createElement("span"))})}function W8o(){C.localStorageDisabled&&Ut({type:"warn",message:"Are you using Private Browsing Mode? Some features may not work properly."}),window.app&&window.app.onKeyEvent&&window.addEventListener("keyup",async function(e){if(!e.defaultPrevented){var i=e.keyCode;if(i>=112&&i<=123){let r={metaKey:e.metaKey,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,keyCode:e.keyCode};var{message:o}=await C.messageBus.rpcCall("parseKey",r);/^F\d+$/.test(o)&&window.app.onKeyEvent({type:e.type,keyStr:o})}}},!1),delete document.pageStartTime,(0,pd.default)("#categorySelectMenu").hide(),(0,pd.default)("#move-cross-icon-container").hide(),mt.apply();var t=mt.getLanguage();setTimeout(()=>{location.hash.includes("export-close")||m3(Vr("window-loading"))},20),(function(){var e=t.match(/^zh-/)?"zh-cn":t;pd.default.getJSON(C.apis.others.startPage_new,{l:e}).done(function(i){i.success&&i.result?Ipe.setMessageHtml(i.result):Ipe.setMessageHtml("")})})(),(function(){var e=t.match(/^zh-/)?"zh-cn":t;pd.default.getJSON(C.apis.others.update_notice,{l:e}).done(function(i){let o=(0,pd.default)("#sys-notice .content");i.success&&i.result&&(o.html(i.result),(0,pd.default)("#main").addClass("home_notice"),(0,pd.default)("#sys-notice").removeClass("hidden").find(".cancel-btn").on("click",r=>{(0,pd.default)("#sys-notice").hide(),(0,pd.default)("#main").removeClass("home_notice"),et("refreshMainHeight")}))})})(),window.app||(0,pd.default)('.menu [cmd="showSyncLogs"]').remove(),Ho.adjust(),!Nt&&z8o(),U8o(),j8o(),C.messageBus.publish("execHooks"),C.viewframe&&C.viewframe[0]&&(C.viewframe[0].style.visibility="hidden",C.viewframe[0].src="about:blank",C.viewframe[0].style.visibility=""),zGt(),FGt(),H8o(),cn.listenHashchange()}async function Q8o(t){var s,l;if(!he.isHasTabById(t))return;cn.removeTabCache(t);let e=he.getDoctypeByTabId(t),i=(l=(s=he.getActiveTabData())==null?void 0:s.data)==null?void 0:l.doNotShowAgain;(0,pd.default)('input[name="doNotShowAgain"]',(0,pd.default)("#dlgCrossWin")).prop("checked",!1),i&&t==wa()&&he.setTabData(he.getActiveTabData().tabId,{doNotShowAgain:""}),K8o(),rr.deleteExportCache(t),Ca("clearHistory",[],t),(e===ve.SCH||pr(e))&&C.messageBus.publish("sch/closeDoc",t);let o;e==ve.PCB||e==ve.FOOTPRINT?o=t:o=(await C.messageBus.rpcCall("getModelTabId",t)).message;let[r,n]=wr(o);if(he.removeTab(t),!he.getAllTabBySheetId(o)){let c=(0,pd.default)('#tabbar_bodies > div[uuid="'+o+'"]'),d=c.find("iframe");d.length>0&&(delete d[0].contentWindow.SCH,Object.keys(window).forEach(p=>{p.endsWith("-time-diff")&&delete window[p]}),e!==ve.PCB&&d[0].contentWindow.document.write(""),d[0].contentWindow.close(),d.remove()),c.remove()}delete C.pcbTo3DView[t];var a=await he.getTabInfo(o);cn.removeFileId(o)||a&&cn.removeFileId(a.datastrid),he.clearSchTopMenuStatus(t),C.messageBus.publish("sch/SubTabbarMapRemove",r),delete cb[r],e===ve.PANEL&&JSt(t)}async function Xb(t){var l,c;if(!he.isHasTabById(t))return;let e=he.getDoctypeByTabId(t),i=(c=(l=he.getActiveTabData())==null?void 0:l.data)==null?void 0:c.doNotShowAgain;(0,pd.default)('input[name="doNotShowAgain"]',(0,pd.default)("#dlgCrossWin")).prop("checked",!1),i&&t==wa()&&he.setTabData(he.getActiveTabData().tabId,{doNotShowAgain:""}),K8o(),rr.deleteExportCache(t);let o=await he.getTabIFrame(t),r;if(e==ve.PCB||e==ve.FOOTPRINT?r=t:r=(await C.messageBus.rpcCall("getModelTabId",t)).message,!o){let d=he.getTabData(t);d&&d.doctype===ve.SCH&&d["data-model-sheet-uuid"]&&(r=lo(d["data-model-sheet-uuid"]),o=await he.getTabIFrame(r))}o&&[ve.PCB,ve.FOOTPRINT,ve.FOOTPRINTVIEW].includes(e)&&await C.windowBridge.rpcCall("pcb/closePcbPage","",o.contentWindow),[ve.PANEL,ve.PANEL_LIB].includes(e)&&C.messageBus.publish("panel/closeDoc",t),Ca("clearHistory",[],t),e===ve.SCH&&await C.messageBus.rpcCall("sch/InstanceValue.beforeClosePage",t),(e===ve.SCH||pr(e)||_we(e))&&C.messageBus.publish("sch/closeDoc",t);let[n,a]=wr(r);if(he.removeTab(t),!he.getAllTabBySheetId(r)){let d=(0,pd.default)('#tabbar_bodies > div[uuid="'+r+'"]'),u=d.find("iframe");u.length>0&&(delete u[0].contentWindow.SCH,Object.keys(window).forEach(m=>{m.endsWith("-time-diff")&&delete window[m]}),e!==ve.PCB&&u[0].contentWindow.document.write(""),u[0].contentWindow.close(),u.remove()),d.remove()}delete C.pcbTo3DView[t];var s=await he.getTabInfo(r);cn.removeFileId(r)||s&&cn.removeFileId(s.datastrid),he.clearSchTopMenuStatus(t),C.messageBus.publish("sch/SubTabbarMapRemove",n),delete cb[n],e===ve.PANEL&&JSt(t)}function K8o(){localStorage.removeItem("checkRatlineNotShowAgain"),localStorage.removeItem("checkDrcNotShowAgain")}async function pre(t){let e,i;e=t.id;let o=t.attributes;if(o?i=o.updateTime:i=void 0,!e||!i){De({type:"warn",msg:"Please select the project first!"});return}let r=t.attributes.wholePath;Pr.clear(),Je?r&&Os({cPath:r}):e&&Os({uuid:e}),(0,pd.default)(`#${vT}`).length&&le.close(vT)}function up(t,e,i){let o=`${e}?project=${t}&folder=all`;i&&(o+=`&modal=${i}`);let r=mt.toWorkSpaceNeedLang();o+=`&from=editor&lang=${r}`,C.workspace&&C.workspace!=="Personal"&&(o+=`&orguuid=${C.workspace}`),wi?window.electronAPI.openWindow(`${location.origin}/account/user/projects/index/${o}`):window.open(`/account/user/projects/index/${o}`)}function MJ(t,e,i,o){let r=`${e}?team=${t}&type=${i}`;C.workspace&&C.workspace!=="Personal"&&(r+=`&orguuid=${C.workspace}`),o&&(r+=`&modal=${o}`),wi?window.electronAPI.openWindow(`${location.origin}/account/user/team/detail/${r}`):window.open(`/account/user/team/detail/${r}`)}async function OIi(t){var s,l,c,d;let e=t&&((s=t.args)==null?void 0:s.type),i=t&&((l=t.args)==null?void 0:l.iconCls.includes("team")),o=t&&t.id,r=e.includes("FOLDER")?t&&((c=t.args)==null?void 0:c.owner):o;if(!e||!o||Je)return;function n(u,p,m){let h=p?Object.keys(p):[],f=m?Object.keys(m):[];for(let g of u)if(g){for(let b of h)g.id==b&&(g.disable=!p[b]);for(let b of f)g.id==b&&(g.isHide=!m[b]);g.children&&n(g.children.defaultConfig,p,m)}}function a(u){let p=Hd(u,Yr.Team_Folder_Add),m=Hd(u,Yr.Team_Folder_Update),h=Hd(u,Yr.Team_Folder_Move),f=Hd(u,Yr.Team_Folder_Delete);return{team_Folder_Add:p,team_Folder_Update:m,team_Folder_Move:h,team_Folder_Delete:f}}if(e.includes("PROJECT")){let p=function(N,R){return u?zi.hasPermission(u,N,R):!0},u=await zi.getPermissionList(o),m=p(Io.Doc_Updating),h=p(Io.Project_Viewing),f=p(Io.Project_Updating),g=p(Io.Project_Locking),b=p(Io.Project_Transfer),y=p(Io.Project_Delete),w=p(Io.Project_Moving),x=zi.getProjectDetailCache(o),S=x&&x.workspace_jump,T=x&&x.public,M=x&&x.members.find(N=>N.uuid==_o()),{inTheExam:I,correction_status:A}=await zi.getExamProjectStatus(o),D={move_project:w,open_in_the_workspace:S,"Version Management":!A,view_schema:S&&h,edit:A?!1:S&&f,member:A||I||iT?!1:S&&h,attachment:S&&h,transfer:A||I||iT?!1:S&&b,share:x&&x.exam_info?!1:T?S:f,version_manager:S&&h,lock:A||I?!1:S&&g,unlock:S&&g,delete_project:A||I?!1:S&&y,quit_project:A||I?!1:S&&!!M,new_version:m,switch_version:m},E={view_schema:!0,edit:!0,member:!iT,attachment:!0,transfer:!iT,share:_t?!1:C.workspace==="Personal",version_manager:!0,view_homePage:x&&x.public,lock:!(x!=null&&x.archive),unlock:x==null?void 0:x.archive,delete_project:y,quit_project:A||I?!1:!y&&!!M};n(Lme.defaultConfig,D,E)}else if(e.includes("FOLDER")||e.includes("MINE")){let u=e.includes("MINE")?null:await zi.getTeamPermission(r),{team_Folder_Add:p,team_Folder_Update:m,team_Folder_Move:h,team_Folder_Delete:f}=a(u),g={create_new_folder:p,edit_folder:m,move_folder:h,delete_folder:f};n(Lme.defaultConfig,g)}else if(e.includes("TEAM")||e=="OWNER_MY_PARTICIPATED"&&i){let u=e=="OWNER_MY_PARTICIPATED"&&i,p=await zi.getTeamPermission(r),m=!0,h=!0,f=!0,g=!0,b=!0,y=!0;if(C.workspace!=="Personal"&&(m=!1),u){let D=a(p);h=D.team_Folder_Add,f=D.team_Folder_Update,g=D.team_Folder_Move,b=D.team_Folder_Delete}let w=Hd(p,Yr.Team_Update),x=Hd(p,Yr.Team_Read),S=Hd(p,Yr.Team_Check_All_Project),T=Hd(p,Yr.Team_Transfer),M=Hd(p,Yr.Team_Delete);y=u&&((d=t.args)==null?void 0:d.role);let I={create_new_folder:h,edit_folder:f,move_folder:g,delete_folder:b,fans_owner_team:x,edit_owner_team:w,members_owner_team:x,project_owner_team:S,assignment_owner_team:T,quit_owner_team:y},A={fans_owner_team:m,quit_owner_team:!M&&y,dissolve_owner_team:M};n(Lme.defaultConfig,I,A)}}function kIi(){let t="project_order",e={type:C.projectSortType,order:C.projectSortOrder};mt.setCacheObj(t,e),mt.saveToServer()}function Z8o(){let e=mt.getKeyValue("project_order");e&&(C.projectSortType=e.type,C.projectSortOrder=e.order,Dpe.setProjectSortType(e.type),Dpe.setProjectSortOrder(e.order))}function pP(t,e=!0){let{href:i,projectId:o}=t,r;if(o){let n=window.location.origin,a=window.location.pathname;r=`${n}${a}#id=${o}`}else if(i)r=i;else throw new Error("invaild url!");e?window.open(r,"_blank"):A2?setTimeout(()=>window.open(r,"_blank"),200):window.open(r,"_blank")}function RIi(t){if(!t)return{};let e=Ob("treeState."+t);var i=e?ue.parseJSON(e):{};return typeof i!="object"&&(i={}),i||{}}async function hDe(){let t=await pSt({filters:[{name:`${Ns.eprj},${Ns.eprj2}`,extensions:["eprj","eprj2"]},{name:"All Files",extensions:["*"]}]});if(t.path)return t.path}async function NT(){let t=C.workspace==="Personal"?{}:{org_uuid:C.workspace},e=(await pd.default.getJSON(C.apis.folders.getUserFolderAllData,{...t})).result,i=(await pd.default.getJSON(C.apis.folders.getTeamFolderAllData,{...t})).result;C.personFolders=e,C.teamFolders=i}async function kve(t){let e=await Y4(t);return e&&e.public}async function l1e(){let t=gi(),e=dt(),i=null;if(e!=null&&e==ve.PCB){let[o]=wr(t);i=(await C.messageBus.rpcCall("getSchematicIdByPcbId",o)).message}else e===ve.SCH&&(i=he.getActiveSchematicId());return i}async function LDe(t,e,i){let o=(await C.messageBus.rpcCall("getAttrTarget")).message;if(!t){C.messageBus.publish("editorCallMultiSheet",{cmd:"attrpanel_apply",args:[{"attr-href":""}],needTarget:!0}),e();return}if(!O7e(t)){Ut({type:"error",message:"Invalid image URL"});return}if(sje(t)!=t){Ut({type:"error",message:"Image URL contains special characters"});return}let n=t.startsWith("data:")&&t.startsWith("data:image/svg+xml;base64,"),a;if(n){let d=t.substr(t.indexOf(",")+1);try{if(a=eje(d),/[\x00-\x08]/.test(a)||!/<svg\s/.test(a)){Ut({type:"error",message:"Failed to load the image"});return}}catch{Ut({type:"error",message:"SVG image contains unsupported content"});return}if(a.includes("<script")||a.includes("<foreignObject")){Ut({type:"error",message:"SVG image contains unsupported content"});return}}var s=new Image;let l={success:async function(){var p;if(c(),!t)return;let d=Wn();if(n){let m=bTe(a);if(!m)return;let h=m.documentElement,f=rn(h,"width"),g=rn(h,"height"),b=(p=rn(h,"viewBox"))==null?void 0:p.split(" ");if(!f||!g)if(b){let[,,x,S]=b,T=x/S;g=150,f=Math.round(g*T)}else f=150,g=150;f+="",g+="",(!s.width||!s.height)&&(s.width=+f,s.height=+g);let y=x=>/(cm|mm|in|pt|pc|px)$/.test(x),w=x=>{let S=+x.slice(0,-2).trim(),T=x.slice(-2),M={cm:100/2.54,mm:100/25.4,in:100,pt:100/72,pc:100/6,px:100/96};return isNaN(S)||!M[T]?NaN:Math.round(S*M[T])};if(d){f=y(f)?f:f+"px",g=y(g)?g:g+"px";let x=w(f),S=w(g);!isNaN(x)&&!isNaN(S)&&(f=x,g=S,s.width=x,s.height=S)}if(s.width&&s.height){let x=a.search(/<svg\s/),S=a.indexOf(">",x),T=a.substring(x,S);/\s(width|height)=".*?"/.test(T)||(T+=` width="${s.width}" height="${s.height}">`,a=a.substring(0,x)+T+a.substring(S),t="data:image/svg+xml;base64,"+$_e(a))}}let{message:u}=await C.messageBus.rpcCall("getModifySrc",null);if(o&&u)C.messageBus.publish("editorCallMultiSheet",{cmd:"attrpanel_apply",args:[{"attr-href":t,"attr-width":s.naturalWidth,"attr-height":s.naturalHeight}],needTarget:!0});else{if(d){UGt({isSvg:n,...i,initWidth:s.width,initHeight:s.height,onPlace:({insertSvgAsPath:m,userW:h,userH:f})=>{Ca("storeImageData",[{src:t,width:s.width,height:s.height,insertSvgAsPath:m,userW:h,userH:f}]),Ca("setToolbarCmd",["draw(image)"])}});return}else if(ty()){et("draw(image)",{src:t,width:s.width,height:s.height});return}Ca("storeImageData",[{src:t,width:s.width,height:s.height,insertSvgAsPath:!1}]),Ca("setToolbarCmd",["draw(image)"])}e()},error:function(){c(),Ut({type:"error",message:"Failed to load the image"})}};s.onload=l.success,s.onerror=l.error,s.src=t;function c(){s.onload=null,s.onerror=null}}function ybi(){return!(Je||_t)}async function aje(t,e=!0){if(Je||_t)return!0;let i="image_"+Math.random()+".jpeg";if(typeof t=="string"){let r=new lre;await r.drawImageByUrl(t);let n=await r.readCanvasAsBlob();t=new File([n],i,{type:"image/jpeg"})}else{let r=t.type,n=await new B2().getImageType(t);i="image_"+Math.random()+(n?`.${n}`:""),e&&n&&(r=`image/${n}`),t=new File([t],i,{type:r})}let o=new FormData;return o.append("editormd-image-file",t,i),new Promise(async(r,n)=>{r1e({url:C.apis.others.pullImage,data:o,onError:()=>{De({type:"warn",msg:"The uploaded image failed the review, please confirm the image",timer:3}),r(!1)},onSuccess:()=>{r(!0)}})})}async function vme(t,e=!0){let i=!!t,o="app://api/client/changeCheckUpdate",n={method:"post",body:JSON.stringify({CHECK_UPADTE:i})},s=await(await fetch(o,n)).json();return e&&(s&&s.success?De({type:"success",msg:"Save config successfully",timer:2.5}):De({type:"error",msg:"Save config failed",timer:2.5})),s.success}async function RDo(t=!0){let{message:e}=await C.messageBus.rpcCall(Ei.CLIENT.GET_PROJECT_PATHS,{cbb:t,refresh:"yes"});return e&&e.success&&e.result?e.result:null}async function wd(){let[t,e]=await $ci(Ol.get(C.apis.client.config,{}));if(e&&e.success&&e.result){let i=e.result,o=i.projectDir instanceof Array?i.projectDir:[i.projectDir];return{basePath:i.appBaseDir,cbbPath:i.reuseBlock,libPath:i.systemLib,projectPath:o,onlinePrjBackupPath:i.appOnlineBackupDir,appBaseDir:i.appBaseDir,autoCheckVersionUpdate:!!i.checkUpdate,activation:i.activation,appTmpBackupDir:i.appTmpBackupDir,cacheDir:i.cacheDir,proxy:i.proxy,log:i.log}}else return Dt({icon:"error",title:"Error",content:"Failed to get project path"}),null}async function J8o(){if(!Je)return;let t=C.apis.client.activationInfo,e=await Ol.get(t,{});if(e&&e.success&&e.result){let i=e.result;return{company:i.company,customer_code:i.customer_code,email:i.email,license:i.license,phone:i.phone,username:i.username}}else return null}async function blo(t){var r;if(!wi)return;let i=await(await fetch(`${C.apis.client.readFileSync}?path=${t}`,{method:"get"})).blob();if(!i)return;let o=(r=t.match(/[^\/\\]+$/))==null?void 0:r[0];return new File([i],o)}async function MIi(t){var i;let{message:e}=await C.messageBus.rpcCall(Ei.CLIENT.OPEN_DIALOG,[t]);return e&&e.success&&((i=e.result)==null?void 0:i.code)}async function IIi(t){return wi?(await fetch(C.apis.client.clientOpenFolder,{method:"post",body:JSON.stringify({timeout:0,retryLimit:0,path:t})})).json():void 0}async function Av(t){let e={};if(!wi)return e;let{message:i}=await C.messageBus.rpcCall(Ei.CLIENT.SELECT_DIR,[t]);return!i||!i.success?(Dt({icon:"error",title:"Error",content:Mp(i)||"error."}),e):i.result}async function pSt(t){if(!Je)return;let e=t.filters||[],i={timeout:0,retryLimit:0,path:t.path,filters:e},{message:o}=await C.messageBus.rpcCall(Ei.CLIENT.SELECT_FILE,i);if(!o.success){Ut({type:"error",message:`${Mp(o)||"error."}`});return}return o.result}async function q8o(){if(!Je)try{let t=await Ol.get(C.apis.others.organizations,{});return t.success?(window.need_change_password&&(window.location.href="/account/user?orguuid="+t.result[0].uuid+"&from=editor"),t.result):null}catch(t){return console.log(t),null}}async function ETe(t){if(Je)return[];t=!t||t==="Personal"?void 0:t;let{message:e}=await C.messageBus.rpcCall(Ei.OTHER.TEAMS,{org_uuid:t,pageSize:1e4});if(!e.success)return;let i=e.result.lists||[],o=C.globalVariableCookieData.userInfo,r=o==null?void 0:o.username;return!o||!r?[]:(zi.setTeamsList(i),i)}async function uj(t){var n;if(Je)return[];t=!t||t==="Personal"?void 0:t;let{message:e}=await C.messageBus.rpcCall(Ei.OTHER.TEAMS,{org_uuid:t,pageSize:1e4}),i=C.globalVariableCookieData.userInfo,o=i==null?void 0:i.username;if(!i||!o)return[];if(!e.success)return[];let r=[];return r.push(...e.result.lists),C.teams=r,bo.getInstance().targetId=(n=e.result)==null?void 0:n.systemLibUuid,e.result.lists||[]}async function Fze(t){let e=await pd.default.getJSON(C.apis.folders.getTeamFolderAllData,{...t});return e.success?e.result:[]}async function Uze(t){let e=await pd.default.getJSON(C.apis.folders.getUserFolderAllData,{...t});return e.success?e.result:[]}async function Mje(t){try{let e=!t||t==="Personal"?{}:{org_uuid:t},i=await Ol.get(C.apis.folders.getTeamFolderAllData,e);return i.success?i.result:[]}catch(e){return console.log(e),[]}}async function xyi(){try{let t=await Ol.get(C.apis.folders.getUserFolderAllData,{});return t.success?t.result:{}}catch(t){return console.log(t),{}}}async function Y4(t){let{message:e}=await C.messageBus.rpcCall(Ei.PROJECT.GET,[t]);return e.result||null}function qg(t){var o;if(Je||!br())return;let e=t||"Personal";if(_t&&e==="Personal")return;C.workspace=e,wS.setWorkSpace(e),vpe.setWorkSpace(e);let i=e==="Personal"?{}:{org_uuid:e};(o=C.globalVariableCookieData)!=null&&o.userInfo&&(tl(i),ETe(e).then(r=>{r&&(C.teams=r,kme(!1))}))}async function zGt(){let t=await Kin(),{recentExam:e,recentTime:i}=Qin(t);if(!e)return;let o=i<=0,r=me.i18n("Your exam is about to start,"),n=me.i18n("Your exam is in progress,"),a=o?n:r,s=(0,pd.default)("#sys-notice .content"),l=me.i18n("click here to quickly take the exam")+">>",c=(0,pd.default)(`<span>${a}</span>`),d=(0,pd.default)(`<span>${l}</span>`);c.css("font-weight","700"),c.css("font-size","12px"),c.css("color","#333333"),d.addClass("to-exam"),d.on("click",u=>{let p=e.org_uuid,m=e.team_uuid,h=e.uuid,f=`/account/user/team/detail/exams/examDetail?team=${m}&orguuid=${p}&exam=${h}`;if(wi){window.electronAPI.openWindow(location.origin+f);return}window.open(f)}),s.html(""),s.append(c),s.append(d),(0,pd.default)("#main").addClass("home_notice"),(0,pd.default)("#sys-notice").css("height","32px").css("line-height","32px").css("display","flex").css("background-color","#ffeeba").css("font-family","-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif").removeClass("hidden").find(".cancel-btn").on("click",u=>{(0,pd.default)("#sys-notice").hide(),(0,pd.default)("#main").removeClass("home_notice"),et("refreshMainHeight")})}function Xst(t){return typeof t=="string"?new Date(t).getTime():t*1e3}function Qin(t){if((t==null?void 0:t.length)>0){let e=t[0],i=Xst(e.start_at)-Xst(e.now_time),o=!1;for(let r of t){let n=Xst(r.start_at),a=Xst(r.now_time),s=n-a;if(s>=0&&!o){i=s,e=r,o=!0;continue}o?s>0&&s<=i&&(i=s,e=r):s>=i&&(i=s,e=r)}return{recentExam:e,recentTime:i}}return{recentExam:null,recentTime:null}}async function Kin(){try{let t=await Ol.get("/api/org/getExamInfo",{});return t.success?t.result:null}catch(t){return console.log(t),null}}async function FGt(){_t&&Ol.get(C.apis.others.orgInfo,{}).then(t=>{if(t&&t.success){let{end_date:e}=t.result||{},o=new Date(e).getTime(),r=Date.now();if(o-r<7*864e5){let n=(0,pd.default)("#sys-notice .content"),a=me.i18n("The validity period of the authorization license is less than"),s=me.i18n("seven"),l=me.i18n("days")+me.i18n(", Please contact the administrator promptly to change the authorization file using the admin account."),c=(0,pd.default)("<span></span>"),d=(0,pd.default)(`<span style="color:red"> ${s} </span>`);c.css("font-weight","700"),c.css("font-size","12px"),c.css("color","#333333"),c.append(a),c.append(d),c.append(l),n.html(""),n.append(c),(0,pd.default)("#main").addClass("home_notice"),(0,pd.default)("#sys-notice").css("height","32px").css("line-height","32px").css("display","flex").css("background-color","#ffeeba").css("font-family","-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif").removeClass("hidden").find(".cancel-btn").css("line-height","30px").on("click",u=>{(0,pd.default)("#sys-notice").hide(),(0,pd.default)("#main").removeClass("home_notice"),et("refreshMainHeight")})}}})}function VJ(){let t=!0,e=hn();return e&&e.PCB_FOOTPRINT&&(t=e.PCB_FOOTPRINT.isUsedJLCColorSilk),t}function Eje(t=""){return!window.navigator.onLine&&Tn&&t===bn}function X8o(t){(0,pd.default)('a[iconcls="icon-eda-scale"] .l-btn-text span.m-btn-downarrow').text(t)}function KPe(){setTimeout(async()=>{try{if(ln.isViewerMode)return;let t=Wi("COMM_TYPEFACE","commonlyList");if(t&&t instanceof Array){let e=[];t=t.filter(o=>e.includes(o.title)?!1:(e.push(o.title),!0));let i=Wi("COMM_TYPEFACE","commonlyList",{readValueKey:!1});i.value=t}if(t&&t instanceof Array){let e=t.map(i=>i.title).filter(i=>!!i);e&&e.length>0&&e.forEach(i=>{i!=="default"&&QPe(i)})}if(C.localFontsName.length<=0){if(!("queryLocalFonts"in self))return!1;let e=await self.queryLocalFonts();if(e.length>0){let i=e.filter(function(o){return!o.fullName.match(/^Z@.*?/)});C.localFontsName=i.map(o=>o.fullName)}}}catch(t){console.error(t)}},0)}function gi(){return he.getActiveTab()}function $8o(){return he.getAssemblyVaiantTab()}function Pfi(){var t;return(t=wr(gi()))==null?void 0:t[1]}async function ei(){let t=he.getActiveTab();return C.isHistoryMode||he.getTabDocType(t)===se.SCH&&(t=(await C.messageBus.rpcCall("getModelTabId",t)).message),await he.getTabIFrame(t)}function Xi(){let t=he.getActiveTab();return he.getTabIframeSync(t)}async function lte(t=he.getActiveTab()){let e=await he.getTabIFrame(t);return e&&e.contentWindow}async function Ra(){let t=await ei();return t&&t.contentWindow}function dt(){let t=he.getActiveTab();return he.getTabDocType(t)}function QGi(){return kl(dt())}function wa(){return he.getActiveTab()}function G0(){return he.getTabTitle(he.getActiveTab())}function fne(){let t;return C.messageBus.publish("sch/getSchematicIdByTabId",e=>{t=e}),t}function Zj(){let t=gi();return ol(t)?t.split("_")[0]:fne()}function eAi(){let t;return C.messageBus.publish("sch/getSimulationIdByTabId",e=>{t=e}),t}function Ire(t,e=!1){var i="";switch(t){case se.SCH:i=e?"icon-eda-symbol":"coloricon-eda-symbol";break;case se.SHORT_SYMBOL:case se.SHEET_SYMBOL:case se.NETFLAG:case se.NETPORT:case se.OFF_PAGE_CONNECTOR:case se.DIFF_PAIRS_FLAG:case se.NONEELEC_SYMBOL:case se.SHORT_SYMBOL:case 3:i=e?"icon-eda-symbol":"coloricon-eda-symbol";break;case se.PART:i=e?"icon-eda-symbol":"coloricon-eda-symbol";break;case se.FOOTPRINT:i=e?"icon-eda-footprint":"coloricon-eda-footprint";break;case se.PRJ:i="icon-eda-project";break;case se.BLOCK_SYMBOL:i="icon-eda-schematic";break;case se.PHOTOVIEW:i="icon-eda-preview-2d icon-color-green";break;case se.VIEW3D:i="icon-eda-preview-3d-green";break;case se.PANEL3D:i="icon-eda-preview-3d-blue";break;case se.DEVICE:i="coloricon-eda-device";break;case se.PANEL:i="icon-eda-panel icon-color-primaryblue";break;case se.PANEL_LIB:i="icon-eda-panel";break;case 0:i="icon-eda-project-fill";break;default:console.warn("no icon of doctype: ",t);break}return i}function Jin(t){var e="";switch(t){case se.PRJ:e="New Project";break;case se.SCH:e="New Schematic Module";break;case se.PART:e="New Symbol";break;case se.BLOCK_SYMBOL:e="New Block Symbol";break;default:break}return e}function eLo(t){return Jin(t)}function _o(){var t,e;return((e=(t=C.globalVariableCookieData)==null?void 0:t.userInfo)==null?void 0:e.uuid)||""}function QGt(){var t=C.globalVariableCookieData.userInfo&&C.globalVariableCookieData.userInfo.avatar;return t||"/images/avatar-default.png"}async function eAo(){let t,e=_o(),{message:i}=await C.messageBus.rpcCall($e.PROJECT.GET,[C.currentProject.projectId]);return i?(i.members.forEach(r=>{r.uuid===e&&(t=r.role)}),t===kwe.OBSERVER):!0}async function tAo(){let{message:t}=await C.messageBus.rpcCall($e.PROJECT.GET,[C.currentProject.projectId]);if(!t)return!1;let e=_o(),o=t.members.filter(r=>r.uuid===e);return o.length&&o[0].role&&o[0].role<kwe.OBSERVER}async function Wpe(t=!1){let{message:e}=await C.messageBus.rpcCall($e.PROJECT.GET,[C.currentProject.projectId]);if(!t&&e&&!e.archive)return!1;let i="The project is locked, if you need to modify or save, please contact the project owner or manager.";De({type:"warn",msg:i}),Ot("warn",Ti(i));let o=await zi.getPermissionList(e.uuid);return Hd(o,Io.Project_Locking)&&qin(),!0}function qin(){Ut({type:"confirm",title:"Tips",message:"The project is locked, if you need to modify or save, please contact the project owner or manager.",textOK:"Unlock now",onConfirm:()=>{up(C.currentProject.projectId,"detail","unlock")}})}function jEo(t){let e=i(t);C.cmdToken&&C.cmdToken==="draw(origin)"&&(e="origin");function i(o){if(!o||!o.tagName||o==C.gCanvas||L6e(o,hri)||o.contains(C.gCanvas))return"";let r=o.parentNode;if(r&&r.id==="gControlDots")return"cdot";let n=rn(o,"c_partid"),a=s(n);if(a)return a;a=o.tagName;function s(l){return l?l==="part_text"?"text":l==="wire"?"wire":l==="bus"?"bus":l==="line"?"polyline":l==="obj"?"obj":l==="arc"?"arc":l==="earc"?"earc":l==="part_pin"?"pin":l==="part_junction"?"junction":l==="part_busentry"?"busentry":l==="part_netLabel_text"?"netlabel":l==="part"?"part":l==="block_symbol"?"block_symbol":l==="sheet"?"sheet":l==="short_symbol"?"short_symbol":l==="nonElectrical_symbol"?"nonElectrical_symbol":l==="netport"?"netport":l==="offPageConnector"?"offPageConnector":l==="netflag"?"netflag":l==="part_arrowhead"?"template":l==="noconnect"?"noconnect":l==="diffPairsFlag"?"diffPairsFlag":"":""}return a}return e}function iAo(t){if(!t)return;let e=t.members,i=_o();for(let o=0;o<e.length;o++){let r=e[o];if(r.uuid===i){C.role=r.role;break}}}function HZi(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}var hye=[u0.PART,u0.SHEET_SYMBOL,u0.NETFLAG,u0.NETPORT,u0.NONEELEC_SYMBOL,u0.SHORT_SYMBOL,u0.OFF_PAGE_CONNECTOR,u0.DIFF_PAIRS_FLAG],FWe=hye.concat([u0.BLOCK_SYMBOL]),UT="@",FHt="|";function Vle(t){return/^-?[0-9]*.?[0-9]*$/.test(t)}function V_(t){return Array.isArray(t)&&t.length===0}function vn(t){return t===void 0}function Kr(t){return t==null}function BA(t){return t===null}function Fh(t){return+t===u0.SCH||+t===u0.NGSPICE||+t===u0.WAVEFORM||+t===u0.SIMULIDE}function oAo(t){return+t===u0.NGSPICE}function rAo(t){return+t===u0.SIMULIDE}function KGt(t){return+t===u0.WAVEFORM}function NRe(t){return t===ve.PCB}function NUe(t){return[ve.PCB,ve.FOOTPRINT,ve.PCBMODULE,ve.PCBLIB3D].includes(t)}function goe(t=dt()){return!![ve.PANEL,ve.PANEL_LIB].includes(t)}function kl(t){return FWe.indexOf(t)>=0}function TFe(t){return FWe.indexOf(t)>=0&&t!==ve.SHEET_SYMBOL}async function NNi(){let t={unit:null,default:"mm"},e=document.querySelector("select.selectUnit");if(!await ei()||!e)return t;try{let o=/\(([^)]*)\)/i.exec(e.value);return t.unit=o[o.length-1],t}catch{return t}}function Rs(t=new Date,e="yyyy-MM-dd HH:ii:ss"){if(Number.isNaN(t.getTime()))return"-";let i={"M+":t.getMonth()+1,"d+":t.getDate(),"H+":t.getHours(),"h+":t.getHours(),"i+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));for(let o in i)new RegExp("("+o+")").test(e)&&(e=e.replace(RegExp.$1,RegExp.$1.length==1?i[o]:("00"+i[o]).substr((""+i[o]).length)));return e}function zje(t,e){function i(d){return d>=10?d:"0"+d}t instanceof Date?t.getTime().toString().length>13&&(t=new Date(t.getTime()/1e3)):Number.isNaN(Number(t))||t.toString().length>13&&(t=new Date(Number(t)/1e3));let o=new Date(t);if(Number.isNaN(o.getTime()))return"-";let r=o.getFullYear(),n=i(o.getMonth()+1),a=i(o.getDate()),s=i(o.getHours()),l=i(o.getMinutes()),c=i(o.getSeconds());return e==="downProject"?r+"-"+n+"-"+a:e==="migrateStandardProject"?r+"-"+n+"-"+a+"_"+s+"-"+l+"-"+c:e==="y-m-d"||e==="yyyy-MM-dd"?r+"-"+n+"-"+a:e==="y-m-d_h-m-s"?`${r}-${n}-${a}_${s}-${l}-${c}`:r+"-"+n+"-"+a+" "+s+":"+l+":"+c}function TXe(t){try{return JSON.parse(JSON.stringify(t))}catch{return null}}async function os(t=1e3){let e=t<0?1:t;return new Promise(i=>{window.setTimeout(()=>{i(void 0)},e)})}async function Yn(t,e=0){return new Promise(i=>{window.requestAnimationFrame(()=>{window.setTimeout(()=>{i(t())},e)})})}function LSe(t,e){return e==null?e=1:e=e?1:-1,function(i,o){for(let r=0;r<t.length;r++){let n=t[r];if(i[n]!=o[n])return i[n]>o[n]?+e*1:+e*-1}}}function xno(t,e){try{return me.i18n(t,e)}catch{return t}}function EXi(t,e){return typeof window.getComputedStyle<"u"?window.getComputedStyle(t,null)[e]:typeof t.currentStyle<"u"?t.currentStyle[e]:""}function nAo(t,e=500){let i=null;return function(){i||(i=window.setTimeout(()=>{i=null,t.apply(this,arguments)},e))}}function AXi(t,e=500){let i=0;return function(){let o=+new Date;o-i>e&&(t.apply(this,arguments),i=o)}}function L9t(t){return/^#[0-9a-fA-F]{6}$/.test(t)||/^#[0-9a-fA-F]{3}$/.test(t)}function yno(t){if(!L9t(t))throw new Error(`[fillFullHexColor]: illegal color value parameter, get <${t}>`);return t.split("#")[1].length===6?t:"#"+t.slice(t.startsWith("#")?1:0).split("").map(i=>i+i).join("")}function dq(t,e){let i=t;return e&&(i+=`@${e}`),i}function v_e(t){let e=t.getBoundingClientRect().toJSON().width,i=window.getComputedStyle(t,null),o=parseInt(i["outline-width"]),r=parseInt(i.marginLeft),n=parseInt(i.marginRight),a=parseInt(i.paddingLeft),s=parseInt(i.paddingRight);return e-o-r-n-a-s}function Z3(t,e=1,i=!1){t.value=t.value.replace(/[^\d.]/g,""),t.value=t.value.replace(/^\./g,""),t.value=t.value.replace(/\.{2,}/g,"."),t.value=t.value.replace(".","$#$").replace(/\./g,"").replace("$#$",".");let o="";e<=1&&(e=1),o+="^(\\-)*(\\d+)\\.(";for(let r=0;r<e;r++)o+="\\d";return o+=").*$",t.value=t.value.replace(new RegExp(o),"$1$2.$3"),t.value.indexOf(".")<0&&t.value!=""&&t.value.substr(0,1)=="0"&&t.value.length==2&&(t.value=parseFloat(t.value)),i&&(String(t.value).endsWith(".")||String(t.value).endsWith("0"))&&(t.value=String(parseFloat(t.value))),t}function lo(t,e=C.currentProject.projectId){return!t||!e||t.includes(UT)?t:t+UT+e}function wr(t=he.getActiveTab()){return t?t.split(UT):[t,""]}function rLt(t){if(!t)return null;let[e,i]=t.split(FHt);return{sourceId:e,sourcePath:i}}function yr(t){var e;return t.path||t.project_uuid||((e=t.ownerInfo||t.owner)==null?void 0:e.uuid)}function dat(t){switch(t){case ve.PCB:case ve.FOOTPRINT:return"pcb";case ve.VIEW3D:return"pcb3d";case ve.SCH:return"sch";case ve.PANEL_LIB:case ve.PANEL:return"panel";case ve.PANEL3D:return"panel3d";case ve.PART:case ve.BLOCK_SYMBOL:case ve.SHEET_SYMBOL:case ve.NETFLAG:case ve.NETPORT:case ve.NONEELEC_SYMBOL:case ve.SHORT_SYMBOL:case ve.OFF_PAGE_CONNECTOR:case ve.DIFF_PAIRS_FLAG:return"symbol";case ve.WAVEFORM:case ve.NGSPICE:return"ngspice";case ve.SIMULIDE:return"simulide"}}function vt(t,e,i=String(u0.BLANK),o,r=!0,n,a=!1,s=!0){return dre(t,e,i,o,r,n,a,s)}function af(t=String(u0.BLANK)){return ure(t)}function aAo(t){if(Je&&t){let e=t.lastIndexOf("\\"),i;t.endsWith(Ns.eprj)?i=t.indexOf(Ns.eprj):t.endsWith(Ns.eprj2)&&(i=t.indexOf(Ns.eprj2));let o=t.slice(0,e),r=t.slice(e+1,i);C.client.currentProjectPath=t,C.client.currentProjectDir=o,C.client.currentProjectName=r}}function Vnt(t){le.destroy(t||"lc-tips-modal-id")}async function Yf(t){let{isProjectLib:e,isSearch:i,type:o,reqData:r}=t;if(e){let n=$e.SYMBOL.GET_ALL_ARR_BY_TYPE,a=o!=="symbols";return C.messageBus.rpcCall(n,[a,C.currentProject.projectId]).then(s=>(s||{}).message)}else{let n,a=r.docType;try{a?a.includes(ve.PANEL_LIB)?n=await(i?Ze.getPanelLibSearchList(r):Ze.getPanelLibList(r)):a.includes(ve.FOOTPRINT)?n=await(i?Ze.getFootprintSearchList(r):Ze.getFootprintList(r)):a.includes(ve.PCBLIB3D)?n=await(i?Ze.getD3ModelSearchList(r):Ze.getD3ModelList(r)):r.docType.some(s=>[ve.SIMULIDE_MODEL,ve.NGSPICE_MODEL].includes(s))?n=await(i?Ze.getSimModelSearchList(r):Ze.getSimModelList(r)):r.docType.some(s=>kl(s))&&(n=await(i?Ze.getSymbolSearchList(r):Ze.getSymbolList(r))):n=await(i?Ze.getDeviceSearchList(r):Ze.getDeviceList(r))}catch{return{success:!0,result:{lists:[],count:0,page:0,pageSize:0,totalPage:0}}}return{success:!0,result:n}}}function Rv(t,e=!1){if(e){window.open(location.origin+"/editor#id="+t);return}C.currentProject.projectId?window.open(location.origin+"/editor#id="+t):Os({uuid:t,options:{isNew:!0}})}function MV(t){window.open(C.servicesUrlConfig.oshwhubIndex+"/"+t)}function nyi(t,e){return e.left<=t.left&&e.top<=t.top&&e.left+e.width>=t.left+t.width&&e.top+e.height>=t.top+t.height}function sAo(t,e){let i=[],o=new RegExp("^"+e+"[\\s_]*(\\d+)$","i"),r;for(let a=0,s=t.length;a<s;a++)(r=t[a].match(o))&&(r=r[1]*1,i.indexOf(r)===-1&&i.push(r));return i.sort((a,s)=>a-s),i.length?e+(i[i.length-1]+1):e+"1"}function YZ(t,e){let i=[];for(let o of e)i.push(o[t]);return i}function zci(t){if(!t)return null;let e=t;for(;e=e.parentElement,e;)if(e.scrollHeight>e.clientHeight)return e;return null}function fC(t,e=!1){let i=typeof t.updated_at=="string"?t.updated_at:typeof t.updated_at=="number"?Rs(new Date(t.updated_at*(e?1e3:1))):"";return(typeof t.updateTime=="string"?t.updateTime:typeof t.updateTime=="number"?Rs(new Date(+t.updateTime*(e?1e3:1))):"")||i}function Pc(){return ms.getActiveTheme()==="light"?Bxt.bgColor:ms.getActiveTheme()==="dark"?Jyi.bgColor:Bxt.bgColor}function yEt(){let t=document.styleSheets,e="";for(let i=0;i<t.length;i++)try{let o=t[i].cssRules;for(let r=0;r<o.length;r++)e+=o[r].cssText+`
`}catch{}return e}async function d4(t,e=!1,i=Hs.Normal){let o=C.loginedUserInfo||{},r=await iI(e,i,t,{isRemoveProjectLib:!1,isRemoveSystemLib:!1,isRemoveFavLib:!1}),n=ue.findList(r,"id",t);return o.username&&n.data.title===o.username?me._context_i18n("lib","Personal",null):n.data.title}function mlo(t){let i=t.replace(/[/\\]+/g,"/").replace(/\/+$/,""),o=i.split("/");return o[o.length-1]||i}function Xlo(t){return typeof t=="string"&&t.trim().length===0}function AS(t,e,i){}function Bme(t,e){if(Array.isArray(t)&&Array.isArray(e)&&t.length===e.length||Object.prototype.toString.call(t)==="[object Object]"&&Object.prototype.toString.call(e)==="[object Object]"&&Object.keys(t).length===Object.keys(e).length){for(let i in t)if(!Bme(t[i],e[i]))return!1;return!0}return Object.is(t,e)}function Vr(t){return!t||self.IN_WORKER?null:document.getElementById(t)}function Rd(t,e){if(!t||t=="#")return[];try{return t=t.replace(/[@]/g,"\\@"),(e||document).querySelectorAll(t)}catch{return[]}}function k0(t,e){if(!t||t=="#")return null;try{return t=t.replace(/[@]/g,"\\@"),(e||document).querySelector(t)}catch{return null}}function SD(t){return t?t.trim?t.trim():t.replace(/^\s+|\s+$/g,""):""}function L6e(t,e){if(!t)return!1;if(t.classList)return t.classList.contains(e);let i=typeof t.className=="object"?t.className.baseVal:t.className;return e&&i&&i.split(/\s+/).indexOf(e)>=0}function ype(t){return t.trim()}function VHe(t){let e=new Set,i=[];return t.forEach(o=>{let r=ype(o.value),n=ype(o.text);e.has(r)||(e.add(r),i.push({value:r,text:n}))}),i}function bTe(t,e){let i=parent,o=self;if(!t)return null;e=e===!0;try{let r=new DOMParser().parseFromString(t,"text/xml");return!r||r.querySelector("parsererror")?(!e&&(i.$||o.$).messager.error("ERROR: svg parsererror"),null):r}catch(r){return console.log(r),!e&&(i.$||o.$).messager.error("ERROR: svg parsererror"),null}}function sje(t){let e,i=t;for(;i!=e;)e=i,i=e.replace(/~|\^\^|#@\$|`|#sheet#/gi,"");return i}function lAo(t){return t.replace(/\\/g,"\\\\").replace(/:/g,"\\:")}function y8(t,e){if(!t||!e)return;let i=e?e.split(/\s+/):[],o;if(t.classList)for(o=0;o<i.length;o++)i[o]&&t.classList.add(i[o]);else{let r=typeof t.className=="object",n=r?t.className.baseVal:t.className,a=n?n.trim().split(/\s+/):[];for(o=0;o<i.length;o++)i[o]&&a.indexOf(i[o])<0&&a.push(i[o]);n=a.join(" "),r?t.className.baseVal=n:t.className=n}}function aue(t,e){let i=e?e.split(/\s+/):[];if(t.classList)for(let o=0;o<i.length;o++)i[o]&&t.classList.remove(i[o]);else{let o=typeof t.className=="object",r=o?t.className.baseVal:t.className,n=r?r.trim().split(/\s+/):[];for(let a=0;a<i.length;a++){let s=n.indexOf(i[a]);s>=0&&n.splice(s,1)}r=n.join(" "),o?t.className.baseVal=r:t.className=r}}function m3(t){if(t){if(t.length)return[].forEach.call(t,m3);if(t.parentNode)try{return t.parentNode.removeChild(t)}catch{}}}function Ble(t,e,i=!0){if(t=o(t),e=o(e),t===e)return 0;return t>e?1:-1;function o(r){return r instanceof Date?Number(r):i?$in(r):Number(r)}}function $in(t){return t=+t*1e3,t.toString().length>13&&(t/=1e3),t}function HU(t,e){let i=t instanceof Object,o=e instanceof Object;return!i||!o?t===e:Object.keys(t).length!==Object.keys(e).length?!1:Object.keys(t).every(n=>{let a=t[n]instanceof Object,s=e[n]instanceof Object;return a&&s?HU(t[n],e[n]):t[n]===e[n]})}function it(t,e){if(Array.isArray(t)){for(let i=0,o=t.length;i<o;i++)if(e(void 0,t[i],i)===!1)return}else{let i=0;for(let o in t)if(Object.prototype.hasOwnProperty.call(t,o)){let r=t[o];if(e(o,r,i)===!1)return;i++}}}async function Ro(t,e){if(Array.isArray(t)){for(let i=0,o=t.length;i<o;i++)if(await e(void 0,t[i],i)===!1)return}else{let i=0;for(let o in t)if(t.hasOwnProperty(o)){let r=t[o];if(await e(o,r,i)===!1)return;i++}}}function Qee(t){let e=t.split("_"),i=e.length-1,o=e[i];return e.length===1||isNaN(Number(o))?`${t}_1`:/^_+$/gim.test(t)?`${t}_1`:(e[i]=(Number(o)+1).toString(),e.join("_"))}function lO(t,e,i){let o=t[e];return o!==void 0||(o=i(e),t[e]=o),o}function En(t,e){return lO(t,e,()=>[])}function Cs(t,e){return lO(t,e,()=>({}))}function Kle(t,e,i,o,r){return r=r!==void 0?r:t[e],Array.isArray(o)&&(o=o.join("|")),`Type Error: The attribute ${e} of ${i} ${t.id||t.gId} should be ${o}, but the result is ${r}`}function cAo(t,e,i){return`Syntax Error: The ${e} ${i} is missing the key ${t} attribute`}function eon(t,e){let i=0;if(e){let o=e.length;for(let r=0;;){let n=t.indexOf(e,r);if(n>=0)r=n+o,i++;else break}}return i}function Mye(t){return e=>t.apply(t,Array.isArray(e)?e:[e])}function ol(t){let[e,i]=wr(t);return e&&eon(e,"_")>=2}function dAo(t,e){if(!t.includes(e))return!1;if(["0","1","2","3","4","5","6","7","8","9"].includes(e[e.length-1])){let i=t.replace(e,"");if(["0","1","2","3","4","5","6","7","8","9"].includes(i[0]))return!1}return!0}function ton(t,e){for(var i=e.split("."),o=t[i[0]],r=1;r<i.length;r++){if(typeof o!="object"&&r!=i.length-2)return;o=o[i[r]]}return o}function uAo(t,e,i,o,r){try{var n=Object.keys(t),a=n.length;if(!a){r&&r();return}Array.isArray(i)||(i=[i]),l(this,i,a,0,t,n,o,r)}catch(c){console.error(c)}function s(c,d,u){var p=[];return u.forEach(function(m){if(typeof m=="string"&&m[0]=="$"){m=="$"?p.push(c):m=="$.$"?p.push(d):p.push(ton(c,m.slice(2)));return}p.push(m)}),p}function l(c,d,u,p,m,h,f,g){var b=m[h[p]];f&&f(b);var y=s(b,h[p],d);e.apply(c,y).then(function(){if(p<u-1){++p,l(c,d,u,p,m,h,f,g);return}g&&g()},function(){throw new Error("request reject...")})}}function Ti(t,e={}){let i=document.createElement("span");if(i.classList.add("i18n"),i.innerHTML=ue.htmlEncode(t),e){let{context:o,attr:r,params:n}=e;o&&i.setAttribute("data-i18n-context",o),r&&i.setAttribute("data-i18n-attr",r),n&&it(n,(a,s)=>{i.setAttribute(`i18n-params-${a}`,s)})}return i.outerHTML}function qB(t,e,i){let o="";return o+=e?"ReuseBlock_":"ProPrj_",o+=t+"_",o+=i?ue.formatDate2(new Date(i),"downProject"):ue.formatDate2(new Date,"downProject"),o}function pAo(t){if(t){t='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">'+t.trim()+"</svg>";let e=bTe(t);if(e){let i=document.importNode(e.documentElement,!0);return i.removeChild(i.childNodes[0])}}console.warn(`parse fail. invalid svg.
`+t)}function eat(t,e){return t.reduce((i,o,r)=>(i.push(o),r<t.length-1&&i.push(e),i),[])}function JLe(t,e){let i=t.length,o=0;for(;o<i;){let r=t.indexOf(`
`,o);r<0&&(r=i);let n=t.substring(o,r);try{if(e(n)===!1)break}catch(a){console.error(a)}o=r+1}}function GFe(t){let e="",i=!1;for(let o of t)i&&(e+=`
`),e+=JSON.stringify(o),i=!0;return e}function oH(t){if(t.match(/^\[\[/))return JSON.parse(t);{let e=t.split(`
`,t.length),i=new Array;return e.forEach(o=>{if(o!=""){let r=JSON.parse(o);i.push(r)}}),i}}function mEi(t,e){let i=t.length,o=0;for(;o<i;){let r=t.indexOf(`
`,o);r<0&&(r=i);let n=t.substring(o,r);if(e(n)===!1)break;o=r+1}}function rSe(t,e="_"){if(!t)return e+"1";let i=1,o=/.\d+$/;return t.match(o)&&(i=+t.match(/\d+$/)[0]||0,i++),t.replace(o,"")+e+i}function zJ(t,e,i="_"){e=e||[];do t=rSe(t,i);while(e.includes(t));return t}function vMt(t,e){return e=e||[],e.includes(t)?zJ(t,e):t}function uEi(t,e){let i=rSe(t),o=/_\d+$/,r=+i.match(/\d+$/)[0]||0,n=i.replace(o,""),a=[i];for(let s=1;s<e;s++)++r,a.push(n+r);return a}function bGt(t){return t=t&&t.trim()||"",!!mAo(t)&&!!hAo(t)}function D8o(t,e){let i=!1;for(let o=0,r=t.length;o<r;o++)if(e&&e.includes(t[o])){i=!0;break}return i}function ZGt(t){return(e,i)=>{let o=!Object.is(i,void 0);return e?o?e.replace(t,i):t.test(e):o?"":!1}}var mAo=ZGt(/(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff]|[\u0023-\u0039]\ufe0f?\u20e3|\u3299|\u3297|\u303d|\u3030|\u24c2|\ud83c[\udd70-\udd71]|\ud83c[\udd7e-\udd7f]|\ud83c\udd8e|\ud83c[\udd91-\udd9a]|\ud83c[\udde6-\uddff]|\ud83c[\ude01-\ude02]|\ud83c\ude1a|\ud83c\ude2f|\ud83c[\ude32-\ude3a]|\ud83c[\ude50-\ude51]|\u203c|\u2049|[\u25aa-\u25ab]|\u25b6|\u25c0|[\u25fb-\u25fe]|\u00a9|\u00ae|\u2122|\u2139|\ud83c\udc04|[\u2600-\u26FF]|\u2b05|\u2b06|\u2b07|\u2b1b|\u2b1c|\u2b50|\u2b55|\u231a|\u231b|\u2328|\u23cf|[\u23e9-\u23f3]|[\u23f8-\u23fa]|\ud83c\udccf|\u2934|\u2935|[\u2190-\u21ff])/g),aWu=ZGt(/\s+/g),hAo=ZGt(/\ufffd/g);function JGt(t,e){return t=(t||"").trim(),[mAo,hAo].forEach(o=>{t=o(t,e)}),t.trim()}function z9(t,e={},...i){e=Object.assign({color:"#75de75","font-style":"italic","background-color":"#333",padding:"2px","font-size":"16px"},e),t.includes("%c")||(t="%c "+t),console.log(t,JSON.stringify(e).replace(/[\"\{\}]/g,"").replace(/,/g,";"),...i)}function Xdi(){if(typeof window<"u")return window;if(typeof self<"u")return self;if(typeof globalThis<"u")return globalThis;if(typeof global<"u")return global}function UDo(t){let e=null,i=null,o;return(...r)=>(o=r,e?(i||(i=(async()=>{try{await e,e=i,i=null,await t(...o)}finally{e=null}})()),i):(e=(async()=>{try{await t(...o)}finally{e=null}})(),e))}function HGi(t,e){if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}function yH(t,e){let i={same:[],more:[],less:[]};return t.forEach(o=>{e.includes(o)?i.same.push(o):i.less.push(o)}),e.forEach(o=>{t.includes(o)?!i.same.includes(o)&&i.same.push(o):i.more.push(o)}),i}function iA(t){let e={};return it(t,(i,o)=>{e[o]=i}),e}function ya(t,e){let i=document.createElement("a"),o=URL.createObjectURL(typeof t=="string"?new Blob([t]):t);i.download=e,i.href=o,i.click(),URL.revokeObjectURL(o)}function pfe(t){try{return[...t]}catch{return Array.from(t)}}async function Dci(t){return new Promise((e,i)=>{let o=new FileReader;o.onload=r=>{e(o.result)},o.onerror=r=>{i(r)},o.readAsDataURL(t)})}function vDe(t){return t?t.replace(/\.\w+$/,"")||t:""}function qGt(t,e){async function i(r){let{cmd:n,dataStr:a,title:s="",sheetTitle:l,unOpen:c,extendSch:d}=r||{},u=fAo.default.Deferred();if(!n)return u.resolve();let p={dataStr:a,title:vDe(JGt(s,"-")),sheetTitle:vDe(JGt(l,"-")),unOpen:c,extendSch:d};return await C.messageBus.rpcCall("createNew",{cmd:n,args:p}),u.resolve()}function o(r){let n="";switch(r.docType){case ve.PCB:n="new_PCB";break;case ve.FOOTPRINT:n="new_PCBLib";case ve.SCH:n="new_page";break;case ve.PART:n="new_schematicLib";default:console.error("\u4E0D\u652F\u6301\u7684\u6587\u6863\u7C7B\u578B",r.docType);break}r.cmd=n}C.messageBus.publish("startBatch",C.currentProject.projectId),uAo(t,i,["$"],o,()=>{e&&e(),C.messageBus.publish("initgVarsOption",{key:"import_schematicId",val:""}),C.messageBus.rpcCall("endBatch",C.currentProject.projectId)})}function VVe(t,e="UTF-8"){return new Promise((i,o)=>{var r=new FileReader,n=t.name,a=vDe(n);r.onload=function(s){i({name:n,title:a,content:s.target.result})},r.onerror=function(){o(me.i18n("Failed to read file [{file}]",{file:ue.htmlEncode(n)}))},r.readAsText(t,e)})}async function gAo(t,e){let{dialogOpenedFrom:i="COMMON"}=e||{},o=t,r="easyeda-pro-2",n=await xj({fileType:o});if(!(!n||n.length==0))return await nme({chameleonTarget:r,dialogOpenedFrom:i,fileSelectedFrom:"ChameleonSelector",files:n,fileSelectType:t,fileTypeListDisabled:!1,onDialogConfirm:async(a,s)=>await s5e(a,s)})}var qWu=(function(){function t(e,i,o,r,n){this.files=e,this.from=i,this.op=o,this._always=QP,this.messager=r,this.onlyCheck=n,setTimeout(this.run.bind(this),0)}return t.prototype.run=function(){var e=new FileReader;e.readAsText(this.files,"UTF-8"),e.onload=this.onLoad.bind(this),e.onerror=this.onFaild.bind(this)},t.prototype.onLoad=async function(e){let i=this,o=(await C.windowBridge.rpcCall(i.messager,{title:vDe(i.files.name||""),source:e.target.result,from:i.from,option:i.op,onlyCheck:i.onlyCheck},ko())).message;if(o.success)try{i._success(o)}finally{i._always()}else try{i._faild()}finally{i._always()}},t.prototype.onFaild=function(){try{this._faild()}finally{this._always()}},t.prototype.always=function(e){return this._always=e,this},t.prototype.then=function(e,i){return this._success=e,this._faild=i,this},t})();function QP(){}async function wC(t,e="",i=!1,o=null){if(!await uR())return;let n={easyeda:["Please compress schematic and PCB together as a zip file and then import it, if you only import the schematic you need to binding with the footprint manually.","The PCB text will use the editor new font family, the text maybe will appear a litte excursion.","Because of different file format and element design, the imported element may have some differences, please check carefully. The more information please refer the tutorials.","EasyEDA is not responsible for any losses caused by format conversion differences, if you do not agree, please do not import."],altium:[Xr?"Please compress schematic and PCB together as a zip file and then import it, if you only import the schematic you need to binding with the footprint manually. Recommended to save schematic and PCB as ASCII file format to import, otherwise, the importing may be failed or use too much time.":"Please compress schematic and PCB in ASCII format together as a zip file and then import it, if you only import the schematic you need to binding with the footprint manually.","The PCB text will use the editor new font family, the text maybe will appear a litte excursion.","Because of different file format and element design, the imported element may have some differences, please check carefully. The more information please refer the tutorials.","EasyEDA is not responsible for any losses caused by format conversion differences, if you do not agree, please do not import."],allegro_orcad:['Please follow the official tutorial to convert Allegro PCB file(*.brd) or footprint file(*.dra) as "ebrd" or "edra" suffix files; OrCad/ConceptHDL schematic as EDIF format, the schematic library export as XML format and and then import. Please compress schematic and PCB together as a zip file and then import it, if you only import the schematic you need to binding with the footprint manually.',"The PCB text will use the editor new font family, the text maybe will appear a litte excursion.","Because of different file format and element design, the imported element may have some differences, please check carefully. The more information please refer the tutorials.","EasyEDA is not responsible for any losses caused by format conversion differences, if you do not agree, please do not import."],eagle:["Please make sure the EAGLE file is saved in EAGLE v6.0 and higher version.","The PCB text will use the editor new font family, the text maybe will appear a litte excursion.","Because of different file format and element design, the imported element may have some differences, please check carefully. The more information please refer the tutorials.","EasyEDA is not responsible for any losses caused by format conversion differences, if you do not agree, please do not import."],kicad:["Please compress schematic and PCB together as a zip file by KiCad and then import it, if you only import the schematic you need to binding with the footprint manually.","The PCB text will use the editor new font family, the text maybe will appear a litte excursion.","Because of different file format and element design, the imported element may have some differences, please check carefully. The more information please refer the tutorials.","EasyEDA is not responsible for any losses caused by format conversion differences, if you do not agree, please do not import."],pads:["Please make sure the PADS file is exported as PADS 9.5 or PADS Pro VX 2.X ASCII format file.","Please compress schematic and PCB together as a zip file and then import it, if you only import the schematic you need to binding with the footprint manually.","The PCB text will use the editor new font family, the text maybe will appear a litte excursion.","Because of different file format and element design, the imported element may have some differences, please check carefully. The more information please refer the tutorials.","EasyEDA is not responsible for any losses caused by format conversion differences, if you do not agree, please do not import."],protel:["Please make sure the Protel file is exported as ASCII format file.","Please compress schematic and PCB together as a zip file and then import it, if you only import the schematic you need to binding with the footprint manually.","The PCB text will use the editor new font family, the text maybe will appear a litte excursion.","Because of different file format and element design, the imported element may have some differences, please check carefully. The more information please refer the tutorials.","EasyEDA is not responsible for any losses caused by format conversion differences, if you do not agree, please do not import."],ltspice:["Please compress the schematic and corresponding symbols together as a zip file and then import it.","Because of different file format and element design, the imported element may have some differences, please check carefully. The more information please refer the tutorials.","EasyEDA is not responsible for any losses caused by format conversion differences, if you do not agree, please do not import."],"disa-4001":["Please compress the schematic and corresponding symbols together as a zip file and then import it.","Because of different file format and element design, the imported element may have some differences, please check carefully. The more information please refer the tutorials.","EasyEDA is not responsible for any losses caused by format conversion differences, if you do not agree, please do not import."]},s={easyeda:"EasyEDA Std import tutorial",altium:"Altium Designer import tutorial",allegro_orcad:"Allegro/OrCad import tutorial",eagle:"EAGLE import tutorial",kicad:"KiCad import tutorial",pads:"PADS import tutorial",protel:"Protel import tutorial",ltspice:"LTspice import tutorial","disa-4001":"T/DISA 4001 import tutorial"}[t],l=n[t];if(!l){bAo(t,e,i);return}let c='<span class="i18n">Notice: </span>';if(l.forEach((d,u)=>{if(c+="<br/>",u===0&&s){let p=`<a class="i18n" href="${C.HelpURL["import_"+t]}" target="_blank">${s}</a>`;c+=`${u+1}.<span class="i18n">${d}</span>&ensp;${p}`}else c+=`${u+1}.<span class="i18n">${d}</span>`}),!br()){window.open("/login?from=editor");return}if(!window.FormData){Dt({icon:"error",closed:!0,content:"Your browser cannot run this function."});return}Dt({title:"Tips",icon:"warning",content:c,isHtml:!0,width:600,height:"auto",showConfirm:!0,showCancel:!0,closed:!0,onConfirm:()=>o instanceof Function?(o&&o(t,e,!0),!0):(bAo(t,e,!0),!0)})}function bAo(t,e="",i=!1){if(!br()){window.open("/login?from=editor");return}if(!window.FormData){Ut({type:"error",message:"Your browser cannot run this function."});return}if(e==="URL"){window.setTimeout(()=>{sze({dialogOpenedFrom:"URL"})},500);return}if(t){gAo(t);return}let o=Oa.getInstance();o.from=e,t!="proeda"&&Oa.setImportFile(null);let r=t==="unchage";r&&(t=o.activeType),o.activeType=t,Oa.setProjectConfig(null);let n=Oa.getImportFile(),a=!1;n&&(a=Array.prototype.slice.call(n)[0].name.indexOf("elibz")>-1),!Dj(n)||a?(o.updateImportRadioDisable("lib",!0),o.updateImportRadioDisable("file&amp;lib",!0)):(o.updateImportRadioDisable("lib",!1),o.updateImportRadioDisable("file&amp;lib",!1)),o.clear(),i=i||!(e=="select_change"||r||t==="proeda"),i?(Oa.closeDialog(),MOt()):ii("import-file",{})}async function T3i(t,e,i,o){var O,_,j,B;if(!t)return;let{fileName:r,owner:n,path:a}=e,s=((O=t.devices)==null?void 0:O.length)||0,l=((_=t.symbols)==null?void 0:_.length)||0,c=((j=t.footprints)==null?void 0:j.length)||0,d=t["panel-lib"].length||0,u=s+l+c;if(u===0&&d===0){De({type:"info",msg:"No items have been checked!"}),af();return}let p=new Map,m=new Map,h={},f={},g={},b=!1,y={total:u,success:0,fail:0},w=new Set,x=new Set,S=new Set,T=new Set,M=new Set,I=new Set,A={},D={},E={},N={schematicMap:{},symbolMap:{},pathMap:{},footprintMap:{},deviceMap:{},sheetMap:{},pcbMap:{},panelMap:{},copperPourMap:{},uuid:""};if((B=t.devices)==null||B.forEach(V=>{if(T.add(V.display_title||V.title),N.deviceMap[V.uuid]="",V.attributes){let G=V.attributes.Symbol,Q=V.attributes.Footprint;G&&(D[G]||(D[G]=[]),D[G].push(V)),Q&&(E[Q]||(E[Q]=[]),E[Q].push(V)),V.attributes.Symbol="",V.attributes.Footprint=""}Je?V.path=a:V.owner=n,delete V.symbol,delete V.footprint}),o)return;if(vt(.05,i,void 0,()=>{o=!0}),!o&&(l>0||c>0)||d){let V=[],G={},Q={},H=[],q={},U=[],F=(t.symbols||[]).concat(t.footprints||[],t["panel-lib"]||[]);await Ro(F,async(ee,ce)=>{let ne=await v(ce,I);ne&&H.push(ne);let oe=null,re=ce.display_title||ce.title;+ce.docType===ve.FOOTPRINT?(N.footprintMap[ce.uuid]="",S.add(re),oe=E[ce.uuid]):+ce.docType===ve.PANEL_LIB?x.add(re):(w.add(re),oe=D[ce.uuid]),oe&&(U.push(oe),q[H.length-1]=U.length-1)});let K=!o&&await FJ(H,"component",a,void 0,void 0,void 0,!0,ee=>(!o&&vt(.1+.4*ee,i,void 0,()=>{o=!0}),o))||[];if(o)return;let ae=Oa.getInstance().footprintAnd3DModelChecked["auto-associate-footprint"].checked,pe=new Map,Z=new Map;if(K.forEach((ee,ce)=>{var fe;let ne=ee.result;if(ee.success&&+ne.docType===ve.FOOTPRINT&&(N.footprintMap[Object.keys(N.footprintMap)[ce]]=ne.uuid),!ee.success&&(ee.code==Pm.DUPLICATE_DATA||ee.code===Pm.DUPLICATE_DATA1)){let ye=F[ce];if(ye.docType===ve.FOOTPRINT&&ae){let Le=E[ye.uuid],Re=ye.display_title||ye.title;Le==null||Le.forEach(Ne=>{var Oe;let Te=(Oe=t.project)==null?void 0:Oe.devices.find(Ue=>Ue.uuid==Ne.uuid),Pe=Te.display_title||Te.title;pe.set(Pe,Te),p.has(Re)?p.get(Re).push(Pe):p.set(Re,[Pe])})}if(ye.docType===ve.PART){let Le=D[ye.uuid],Re=ye.display_title||ye.title;Le==null||Le.forEach(Ne=>{var Oe;let Te=(Oe=t.project)==null?void 0:Oe.devices.find(Ue=>Ue.uuid==Ne.uuid),Pe=Te.display_title||Te.title;Z.set(Pe,Te),m.has(Re)?m.get(Re).push(Pe):m.set(Re,[Pe])})}}if(!ne)return k(ee,w,S,T);let oe=!1,re=ne.docType,Y=ne.display_title||ne.title,X=q[ce];X>=0&&((fe=U[X])==null||fe.forEach(ye=>{let Le=ye.attributes;Le&&(+ne.docType===ve.FOOTPRINT?(Le.Footprint=ne.uuid,oe=!0):(Le.Symbol=ne.uuid,oe=!0))}));let ie=Oa.getInstance(),de=Dj(Oa.getImportFile())||ie.activeType=="proeda";if(!oe&&re!=ve.FOOTPRINT&&!de){let ye=Yre(ne),Re=HFe(ne.dataStr,!0).Footprint||"",Ne="";t.devices||(t.devices=[]);let Te={attributes:{Symbol:ne.uuid,Footprint:""},description:Ne,images:[],tags:{parent_tag:[],child_tag:[]},title:Y,path:void 0,owner:void 0,symbol_type:ye.symbol_type||ye.docType};t.devices.push(Te),Je?Te.path=a:Te.owner=n,M.add(Y),Re&&(V.push(Re),En(G,Re.toLocaleLowerCase()).push(Y)),Q[Y]=Te}k(ee,w,S,T)}),o)return;if(pe.size&&!o){let ee=await oSe(Array.from(p.keys()),"footprint",ve.FOOTPRINT,"mine",n,a);if(vt(.5,i,void 0,()=>{o=!0}),ee&&typeof ee=="object")for(let ce in ee){let oe=ee[ce].uuid;oe&&p.has(ce)&&p.get(ce).forEach(re=>{pe.get(re).attributes.Footprint=oe})}}else vt(.5,i,void 0,()=>{o=!0});if(Z.size&&!o){let ee=await oSe(Array.from(m.keys()),"symbol",ve.PART,"mine",n,a);if(vt(.5,i,void 0,()=>{o=!0}),ee&&typeof ee=="object")for(let ce in ee){let oe=ee[ce].uuid;oe&&m.has(ce)&&m.get(ce).forEach(re=>{Z.get(re).attributes.Symbol=oe})}}else vt(.5,i,void 0,()=>{o=!0});if(V.length>0&&!o){let ee=await oSe(V,"footprint",ve.FOOTPRINT,"mine",n,a);if(vt(.6,i,void 0,()=>{o=!0}),ee&&typeof ee=="object")for(let ce in ee){let oe=ee[ce].uuid;oe&&G&&Object.hasOwnProperty.call(G,ce)&&G[ce].forEach(re=>{Q[re].attributes.Footprint=oe})}}else vt(.6,i,void 0,()=>{o=!0})}if(o)return;let R=await FJ(t.devices,"device",a,void 0,void 0,void 0,!0,V=>(!o&&vt(.6+.3*V,i,void 0,()=>{o=!0}),o))||[];if(o)return;R.forEach((V,G)=>{let Q=V.result,H=Q.display_title,q=V.data||V.result;if(q){if(Q.uuid&&(N.deviceMap[Object.keys(N.deviceMap)[G]]=Q.uuid),H&&(T.add(H),M.delete(H)),!V.success){for(let[U,F]of p.entries()){let K=F.indexOf(q.title);K>-1&&F.splice(K,1),F.length||p.delete(U)}for(let[U,F]of m.entries()){let K=F.indexOf(q.title);K>-1&&F.splice(K,1),F.length||m.delete(U)}}k(V,new Set,new Set,T)}}),await fJ(t.project,N,a,!0),P(I.size-R.length),aTt({completed:b,success_symbols:w,success_panel:x,success_footprints:S,errmsgs_symbols:h,errmsgs_footprints:f,sameNameFtMap:p,sameNameSbMap:m,success_devices:T,failed_device:M,errmsgs_devices:g}),vt(1,i);async function v(V,G){let Q=+V.docType;if(Q!=ve.SUBPART){A[V.title]=V.dataStr;let H={title:V.display_title||V.title,description:V.description||"",docType:Q,dataStr:V.dataStr,tags:V.tags,source:"",project_uuid:""};return Je?H.path=a:H.owner=n,G.add(V.title),H}}function k(V,G,Q,H){let q=V?V.data||V.result:null,U=q&&q.title;if(V.success)y.success++;else{y.fail++;let F="";V.code==Pm.DUPLICATE_DATA||V.code===Pm.DUPLICATE_DATA1?F=me.i18n("Library duplicate name"):V.code==422?F=me.i18n("Parameter error"):F=V.message||me.i18n("Unknown Mistakes"),G.has(U)?(En(h,F).push(U),G.delete(U)):Q.has(U)?(En(f,F).push(U),Q.delete(U)):H.has(U)&&(En(g,F).push(U),H.delete(U))}return Pl("19",r,!1),V}function P(V){V=V||0,isNaN(V)&&(V=0),V=Math.max(0,V),y.fail+=V}}function aTt(t){let{completed:e=!0,success_symbols:i,success_panel:o,success_footprints:r,errmsgs_symbols:n,errmsgs_footprints:a,sameNameFtMap:s,sameNameSbMap:l,success_devices:c,failed_device:d,errmsgs_devices:u}=t,p=!0;if(!e){C.messageBus.publish("bottomBarLogGroupStart",""),i.size&&Ot("info",`<span class="i18n" i18n-params-nums="${i.size}">{nums} symbols import successfully</span>:`+Array.from(i).join(", "),void 0,p),o.size&&Ot("info",`<span class="i18n" i18n-params-nums="${o.size}">{nums} panel libraries import successfully</span>:`+Array.from(o).join(", "),void 0,p),r.size&&Ot("info",`<span class="i18n" i18n-params-nums="${r.size}">{nums} footprints import successfully</span>:`+Array.from(r).join(", "),void 0,p);for(let m in n){let h=n[m];Ot("warn",`<span class="i18n" i18n-params-nums="${h.length}">{nums} symbols import failed</span>[${m}]:`+h.join(", "),void 0,p)}for(let m in a){let h=a[m];Ot("warn",`<span class="i18n" i18n-params-nums="${h.length}">{nums} footprints import failed</span>[${m}]:`+h.join(", "),void 0,p)}if(s.size){let m="Already exist the same name footprint library {0},\xA0below\xA0device(s) binding with existed footprint:\xA0{1}";for(let[h,f]of s.entries())Ot("info",Ti(m,{params:{0:h,1:f.join(", ")}}))}if(l.size){let m="Already exist the same name symbol library {0},\xA0below\xA0device(s) binding with existed symbol:\xA0{1}";for(let[h,f]of s.entries())Ot("info",Ti(m,{params:{0:h,1:f.join(", ")}}))}c.size>0&&Ot("info",`<span class="i18n" i18n-params-nums="${c.size}">{nums} devices import successfully</span>:`+Array.from(c).join(", "),void 0,p),d.size>0&&Ot("warn",`<span class="i18n" i18n-params-nums="${d.size}">{nums} devices import failed</span>:[<span class="i18n">Already exists</span>]`+Array.from(d).join(", "),void 0,p);for(let m in u){let h=u[m];Ot("warn",`<span class="i18n" i18n-params-nums="${h.length}">{nums} devices import failed</span>[${m}]:`+h.join(", "),void 0,p)}if(C.messageBus.publish("bottomBarLogGroupEnd",""),Qb.getInstance().openFilesLater){let m=Qb.getInstance().project;Ut({icon:"question",title:"Confirm",type:"confirm",message:"Click Confirm to continue with the import",onConfirm:()=>{wP(m)}})}Qb.getInstance().closeDialog(),Oa.closeDialog(),Zr()}De({type:"info",msg:"End of import"})}function mVt(t){return new Promise((e,i)=>{let o={},r=[];new yAo.default().loadAsync(t,{decodeFileName:function(n){return new TextDecoder("gbk").decode(n)}}).then(n=>{let a=[];for(let c in n.files)n.files[c].dir||a.push(c);let s=a.length;if(s===0)return e({files:o,errors:r});let l=0;a.forEach(c=>{n.file(c).async("string").then(function(d){o[c]=d,++l>=s&&e({files:o,errors:r})},d=>{r.push(c),++l>=s&&e({files:o,errors:r})})})})})}var CAo=L(Vi());var $st="panel/BoolOperation",wAo={boolAggregate(){Ca($st,["boolAggregate"]),_l(st.PANEL_OBJECT_ROOT_NODE)},boolIntersection(){Ca($st,["boolIntersection"]),_l(st.PANEL_OBJECT_ROOT_NODE)},boolExclusive(){Ca($st,["boolExclusive"]),_l(st.PANEL_OBJECT_ROOT_NODE)},boolSubtraction(){Ca($st,["boolSubtraction"]),_l(st.PANEL_OBJECT_ROOT_NODE)},locked(...t){Ca("doCommand",["locked"])},unlocked(...t){Ca("doCommand",["unlocked"])},visible(...t){Ca("doCommand",["visible"])},invisible(...t){Ca("doCommand",["invisible"])},Preview2D(...t){Wn(dt())&&Xre({type:"panelPreview",openCallback(){C.messageBus.publish("panel/doCommand",["panelPreview2D",[GJ]])}})},async Preview3D(){if(!Wn(dt()))return;Ts();let t=G0(),e=wa(),i=e+"-3d",r=`Panel_${t.replace(/[^\w\u0080-\uffff]+/g,"_")}_${ue.formatDate(new Date,"yyy-MM-dd")}`,n=kr("getJsonCache",[],e),{message:a}=await C.messageBus.rpcCall("/panel/3d/source",{tabId:e}),{dataStr:s,productionSvg:l}=a;if(!s){C.messageBus.publish("message",{type:"error",title:"Error",message:"Failed to generate 3d preview data."}),Zr();return}let c=await he.getTabIFrame(i);if(c)await C.windowBridge.rpcCall("toggleView(importChanges)",a,c.contentWindow),Zr(),he.simulateClick(i);else{await ZT.createTab(i,se.PANEL3D,t,t),c=ZP.create({tabId:i,docType:se.PANEL3D}),(0,CAo.default)(c).one("editor_load",async()=>{sy(0),wI.set(i,{viewStatus:"normal",explodeRatio:.1,explode:!1}),C.windowBridge.rpcCall("/panel/3d/setSrcTabId",e,c.contentWindow),await C.windowBridge.rpcCall("/panel/3d/loadData",a,c.contentWindow),C.messageBus.publish("/panel/3d/printMethodChanged",a.head.print),Zr(),he.simulateClick(i)});let u=c.contentWindow;u.addEventListener("keydown",ion,!0),u.addEventListener("mousemove",SLt,!0)}let d={gJsonCache:n,fileName:r,tabId:i,productionSvg:l};he.setTabData(i,{"panel-uuid":e,panelProductionCache:d}),mD("")},togglePanelD3ViewToolbarBar:async()=>{let t=+oj("isPanelD3ViewToolbarBarShow"),e=!t||t===0,i=!t||t===0?1:0;mC.storeHandler.isShowToolBar=e,si.setCheckboxStatus("mm-common-view","togglePanelD3ViewToolbarBar",e),await Ks({isPanelD3ViewToolbarBarShow:i})}};function XGt(t,...e){if(Xs(wAo,t))return wAo[t](...e);dt()==se.PANEL3D?C.messageBus.publish("/panel/3d/doCommand",[t,e]):C.messageBus.publish("panel/doCommand",[t,...e])}function ion(t){C.eventFn.keyDown(t)}var Iye=L(Se());var xAo=L(HAe());var u6=L(z()),b2=class b2{constructor(e,i,o,r,n=!0,a){this.datas=e;this.tabids=i;this.map=o;this.projectId=r;this.showDlg=n;this.tool=a;this.lightTabs(this.tabids)}lightTabs(e){he.setUpdateTabHighLight(e)}unhighlightTabs(e){he.removeUpdateTabHighLight(e)}async onOpen(){b2.opened=!0}onClose(){b2.opened=!1,b2.isCancel?b2.timer=performance.now():b2.timer=void 0,b2.isCancel=!0}async buildRows(){let e=[];return await Ro(this.datas,async(i,o)=>{var h,f;let{id:r,docType:n}=o,{uuid:a}=he.getUuidAndPathByTab(r),s,l,c,d,u="";if(n===se.SCH){s=(await C.messageBus.rpcCall($e.SHEET.GET,[a,C.currentProject.projectId])).message;let{message:g}=await C.messageBus.rpcCall($e.SCHEMATIC.GET_DISPLAY_NAME_BY_UUID,[s.schematic_uuid,C.currentProject.projectId]);l=`${s.display_title}.${g}`}else pr(n)?(s=(await C.messageBus.rpcCall($e.SYMBOL.GET,[a,C.currentProject.projectId])).message,l=s.display_title):n===se.PCB?(s=(await C.messageBus.rpcCall($e.PCB.GET,[a,C.currentProject.projectId])).message,l=s.display_title):n===se.FOOTPRINT?(s=(await C.messageBus.rpcCall($e.FOOTPRINT.GET,[a,C.currentProject.projectId])).message,l=s.display_title):n===se.PANEL&&(s=(await C.messageBus.rpcCall($e.PANEL.GET,[a,C.currentProject.projectId])).message,l=s.display_title);let p=he.getTabById(r);if(!p){let g=(h=he.getUuidAndPathByTab(a))==null?void 0:h.uuid,b=he.getFilterTabs([]).filter(y=>(y==null?void 0:y.data)&&y.data["data-model-sheet-uuid"]===g);b!=null&&b.length&&(p=b[0])}c=ue.formatDate2(new Date(Number((f=p==null?void 0:p.data)==null?void 0:f.updateTime)*1e3))||"",d=ue.formatDate2(new Date(s.updateTime*1e3)),Je?u="This computer":u=(s.modifier||{}).nickname;let m={id:r,Document:l,CurrentVersion:c,UpdatedVersion:d,Modifier:u,checked:!0,docType:n,data:s};e.push(m)}),e}async open(){if(!b2.opened){if(!this.showDlg&&b2.timer&&performance.now()-b2.timer<6e4)return;let e=await this.buildRows();this.onOpen(),le.open({id:b2.id,title:"Warning",width:600,closed:!0,esc:!0,mask:!1,children:(0,u6.jsx)(oon,{rows:e,_this:this})})}}close(){le.close(b2.id)}async save(e,i){if(b2.isCancel=!1,!e.length){De({type:"info",msg:"Please select data first!"});return}let o=[],r=[];await Ro(e,async(n,a)=>{let{id:s,docType:l}=a,c=i.map[s];!c||!c.length||await Ro(c,async(d,u)=>{(await new Qm(u,{docType:l,checkTicket:!1}).todo()).success?o.push(u):r.push(u)})}),i==null||i.unhighlightTabs(o),le.close(b2.id)}async refresh(e,i){if(b2.isCancel=!1,!e.length){De({type:"info",msg:"Please select data first!"});return}let o={uuid:i.projectId};await C.messageBus.rpcCall(qr.DOWNLOAD_PROJECT,o);let r=[],n=[];await Ro(e,async(a,s)=>{let{id:l,docType:c,data:d}=s,u=i.map[l];if(!u||!u.length)return;let p=u[0];await i.tool._loadDocJsonToEditor(p,d,u,c)?r=r.concat(u):n=n.concat(u)}),i.unhighlightTabs(r),le.close(b2.id)}cancel(){b2.isCancel=!0,le.close(b2.id)}};b2.opened=!1,b2.id="docTicketDlg",b2.isCancel=!0;var Lye=b2,oon=t=>{let{rows:e=[],_this:i}=Np.dialogProps[Lye.id]||t,o=J();Ce(Np);let r=(0,Iye.useRef)(null),n=(e.length+1)*25+2,a="The document has been updated. Please select the action you want.",s=(0,Iye.useRef)([]),l=[{key:"Document",name:o("Document"),width:.25},{key:"CurrentVersion",name:o("Current version"),width:.25},{key:"UpdatedVersion",name:o("Updated version"),width:.25},{key:"Modifier",name:o("modifier"),width:.25}],c=(0,Iye.useRef)(!1);return(0,Iye.useEffect)(()=>(c.current=!1,()=>{c.current=!0,requestAnimationFrame(()=>{c.current&&(i==null||i.onClose())})}),[]),(0,u6.jsxs)(u6.Fragment,{children:[(0,u6.jsxs)("div",{style:{display:"flex",alignItems:"center",marginBottom:"8px"},children:[(0,u6.jsx)("span",{style:{backgroundImage:"url("+xAo.default+")",filter:"invert(63%) sepia(81%) saturate(2292%) hue-rotate(14deg) brightness(113%) contrast(103%)",width:"20px",height:"20px",backgroundPosition:"center top",backgroundRepeat:"no-repeat",backgroundSize:"auto 100%"}}),(0,u6.jsx)("span",{style:{marginLeft:"4px"},"data-test":a,children:o(a)})]}),(0,u6.jsx)("div",{style:{width:"100%"},children:(0,u6.jsx)(xi,{ref:r,index:"id",height:n<500?n:500,columns:l,rows:e,openVirtualScroll:!1,border:!0,multiSelect:!0,checkbox:!0,onCheckRow:d=>{s.current=d},onClick:d=>{var u,p;d.clickObj.colKey!=="checkbox"&&((u=s.current)!=null&&u.find(m=>m.id===d.row.id)||(p=r.current)==null||p.checkedRow({row:d.row,checked:!0}))}})}),(0,u6.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"8px"},children:[(0,u6.jsx)(Me,{size:"md",type:"primary",onClick:()=>i==null?void 0:i.save(s.current,i),children:"Save the current version"}),(0,u6.jsx)(Me,{size:"md",type:"danger",onClick:()=>i==null?void 0:i.refresh(s.current,i),children:"Update to a new version"}),(0,u6.jsx)(Me,{onClick:()=>i==null?void 0:i.cancel(),children:"Cancel"})]})]})};var $Gt=class{async showDlg(e,i,o,r=!0){}async checkDocTicket(e){var g,b;let i=this;e=e||he.getActiveTab();let{uuid:o,path:r}=he.getUuidAndPathByTab(e);if(+e===se.BLANKTAB||(await C.messageBus.rpcCall("/pro-mgr/project/upload/processing")).message)return;let{docType:a,ticket:s,title:l}=await he.getTabInfo(e),c,d=l,u=[],p,m={};if(a===se.SCH){u.push(e);let y;if(ol(e)){y=(await C.messageBus.rpcCall("instanceToSheetId",e)).message;let w=(g=he.getUuidAndPathByTab(y))==null?void 0:g.uuid;if(he.getTabById(y)){u.push(y);let T=(await he.getTabInfo(y)).title;d+=`\u3001${T}`}let S=he.getTabByDataKey("data-model-sheet-uuid",w);for(let T=0;T<S.length;T++){let M=S[T].tabId;if(M&&M!==e){u.push(M);let I=(await he.getTabInfo(M)).title;d+=`\u3001${I}`}}}else{y=e;let w=(b=he.getUuidAndPathByTab(y))==null?void 0:b.uuid,x=he.getTabByDataKey("data-model-sheet-uuid",w);for(let S=0;S<x.length;S++){let T=x[S].tabId;if(T){u.push(T);let M=(await he.getTabInfo(T)).title;d+=`\u3001${M}`}}}c=(await C.messageBus.rpcCall($e.SHEET.GET,[o,C.currentProject.projectId])).message,p=[{id:y,docType:a}],m[y]=u}else pr(a)?(u.push(e),c=(await C.messageBus.rpcCall($e.SYMBOL.GET,[o,C.currentProject.projectId])).message,p=[{id:e,docType:a}],m[e]=u):a===se.PCB?(u.push(e),c=(await C.messageBus.rpcCall($e.PCB.GET,[o,C.currentProject.projectId])).message,p=[{id:e,docType:a}],m[e]=u):a===se.FOOTPRINT?(u.push(e),c=(await C.messageBus.rpcCall($e.FOOTPRINT.GET,[o,C.currentProject.projectId])).message,p=[{id:e,docType:a}],m[e]=u):a===se.PANEL&&(u.push(e),c=(await C.messageBus.rpcCall($e.PANEL.GET,[o,C.currentProject.projectId])).message,p=[{id:e,docType:a}],m[e]=u);let h=`
				<div style="lin">
					<p class="i18n">It is detected that the cloud document(s)\xA0different with local, refresh document(s) can update local same as cloud, this operation cannot be undone, do you want to to refresh? Document(s):</p>
					<p style="padding-top: 8px;color: #1890ff;">${d}</P>
				</div>	
			`,f=c?c.ticket:"";if(+s&&+f&&+s<+f){let y=!1,w=!1;for(let x=0;x<u.length;x++){let S=u[x];if(y=he.isTabUnSaved(S),y)break}y||(w=!0),w?await i._loadDocJsonToEditor(e,c,u,a):await this.showDlg(p,u,m,!0)}else C.messageBus.publish("removeUpdateTabHighLight",{tabids:u})}async _loadDocJsonToEditor(e,i,o,r){if(r===se.SCH||pr(r))return this.refreshSch(e,i,o);if(r===se.PCB||r===se.FOOTPRINT)return this.refreshPcb(o[0],i);if(r===se.PANEL)return this.refreshPanel(o[0],i)}refreshSch(e,i,o){return new Promise(r=>{let{dataStr:n,docType:a,uuid:s,ticket:l,updateTime:c}=i;C.messageBus.rpcCall("loadDocJsonToEditor",[n,{docType:a,tabId:e,notZoom:!0,notToggleTab:!0}]).then(()=>{C.messageBus.publish("removeUpdateTabHighLight",{tabids:o}),it(o,(d,u)=>{he.setTabUnSaved(u,!1),Ca("clearHistory",[],u)}),he.setTabTicket(o,l),he.setTabUpdatedAt(o,c),r(!0)},()=>{r(!1)})})}refreshPanel(e,i){return new Promise(o=>{let{dataStr:r,ticket:n,updateTime:a}=i;C.messageBus.rpcCall("panel/decode",[r,{tabid:e,title:i.title}]).then(()=>{C.messageBus.publish("removeUpdateTabHighLight",{tabids:[e]}),he.setTabUnSaved(e,!1),Ca("clearHistory",[],e),he.setTabTicket([e],n),he.setTabUpdatedAt([e],a),o(!0)},()=>{o(!1)})})}async refreshPcb(e,i){return new Promise(async o=>{await Xb(e),await qb(i,void 0,()=>{o(!0)}).then(()=>{o(!0)},()=>{o(!1)}),this.pcbDocNeedUpdate(e,!1)})}pcbDocNeedUpdate(e,i){e=e.includes(UT)?e:lo(e),he.getTabIFrame(e).then(o=>{o&&C.windowBridge.publish("docNeedUpdate",i,o.contentWindow)})}},ron=new $Gt,DDe=ron;var vye=class vye{constructor(e){this.cmd=e}async switchChecked(e,i=ks){let o="checkIfSelectAlignRefObject";vn(e)&&(e=si.getMenuStore("top-menu-layout-Align").checkboxGroup[o].value),EJ(o).forEach(n=>{si.setMenuCheck(o,e,n.menuId,n==null?void 0:n.groupName)}),this.checked=e,await mp.pcbIframes().sycnAlignMenuMgr(e),i.isSavePreference&&(mt.setCacheObj(vye.isSelectAlignRefObject,e),await mt.saveToServer(!1))}async switchCheckedForCenters(e,i=ks){let o="checkIfSelectAlignRefObjectForCenters";vn(e)&&(e=si.getMenuStore("top-menu-layout-Align").checkboxGroup[o].value),EJ(o).forEach(n=>{si.setMenuCheck(o,e,n.menuId,n==null?void 0:n.groupName)}),this.checked=e,await mp.pcbIframes().sycnAlignMenuMgrForCenters(e),i.isSavePreference&&(mt.setCacheObj(vye.isSelectAlignRefObjectForCenters,e),await mt.saveToServer(!1))}};vye.isSelectAlignRefObject="isSelectAlignRefObject",vye.isSelectAlignRefObjectForCenters="isSelectAlignRefObjectForCenters";var LR=vye,EDe=class EDe{static get isCheckedSelectAlignRefObject(){return EDe.tools.checkIfSelectAlignRefObject.checked}static get isCheckedSelectAlignRefObjectForCenters(){return EDe.tools.checkIfSelectAlignRefObjectForCenters.checked}static switch(e,i,o){return e=="checkIfSelectAlignRefObject"?this.tools[e].switchChecked(i,o):this.tools[e].switchCheckedForCenters(i,o)}};EDe.tools={checkIfSelectAlignRefObject:new LR("checkIfSelectAlignRefObject"),checkIfSelectAlignRefObjectForCenters:new LR("checkIfSelectAlignRefObjectForCenters")};var UE=EDe;globalThis.AlignMenuMgr=UE;var OAo=L(Se());var NAo=L(Vi()),Px=L(Se());var Ci=L(Vi());function eYt(t){return typeof t=="object"&&t!==null}function tYt(t,e){this.data=t,this.data.borderColor=this.data.borderColor||"var(--border-color-table-header)",this.data.border=this.data.border||"solid",this.container=e,this.columnLength=this.getColumnLength(),this.onFilterInputCallbackTimer=null,this.data.pageCount&&(this.page=1);var i=this;this.container.each(function(){Ci.default.extend(this,{grid:i})}),this._bindEvent(),this._renderGrid(),me.update(this.container)}tYt.prototype={minHeight:"30px",rowIndexAttrName:"data-row-index",columnIndexAttrName:"data-cell-index",updateTimer:null,updateData:function(t,e,i=!0){this.data.rows=t;var o="",r=this;this.data.rows.forEach(function(s,l){r._validRowData(s)&&(r.data.pageCount&&((r.page-1)*r.data.pageCount-1>=l||l>r.page*r.data.pageCount-1)||(o+=r._renderRow(s,l,!1)))}),e||r._clearSortData();var n=(0,Ci.default)(".q-grid.body",this.container);n.length?(o+=this._getPageControlHtml(),n.html(o),this._updateRowHeight()):(this.columnLength=this.getColumnLength(),this._renderGrid());var a=(0,Ci.default)(".q-grid-scroll",this.container);i&&a.scrollTop(0),this._initUi(),me.update(n)},fixView(){this._initUi()},_updateRowHeight:function(){var t=(0,Ci.default)(".q-grid.body",this.container);if(this.data.rows&&this.data.rows.length){if(this.data.rowHeight){var e;this.data.pageCount&&this.data.pageCount<this.data.rows.length?(this.data.rows.length-(this.page-1)*this.data.pageCount<=this.data.pageCount?e=this.data.rows.length-(this.page-1)*this.data.pageCount:e=this.data.pageCount,(this.data.showPage||this.data.showPage===void 0)&&(e+=1)):e=this.data.rows.length,t.css("grid-template-rows","repeat("+e+", "+this._numberToPx(this.data.rowHeight,"30px")+")")}}else t.css("grid-template-rows","")},_solveBorder:function(){var t=(0,Ci.default)(".q-grid.body",this.container);if(this.data.rows&&this.data.rows.length){var e=this.data.pageCount?this.data.rows.length>this.page*this.data.pageCount?this.page*this.data.pageCount:this.data.rows.length:this.data.rows.length,i=(0,Ci.default)(".cell["+this.rowIndexAttrName+'="'+(e-1)+'"]',t);if(i.length){var o=(0,Ci.default)(".q-grid.body",this.container).height()+(0,Ci.default)(".q-grid.header",this.container).height();this.container.height()<o||this.data.pageCount&&this.data.showPage!==!1?(i.css("border-bottom","none"),this.gridBox.css("border-bottom","1px "+this.data.border+" "+this.data.borderColor)):this.gridBox.css("border-bottom","none")}else this.gridBox.css("border-bottom","none")}else this.gridBox.css("border-bottom","none")},previousPage:function(){if(this.page--,this.page>0){if(this.data.onBeforePageChange&&!this.data.onBeforePageChange(this.page))return;this.updateData(this.data.rows),this.data.onPageChange&&this.data.onPageChange(this.page)}},nextPage:function(){if(this.page++,this.page<=Math.ceil(this.data.rows.length/this.data.pageCount)){if(this.data.onBeforePageChange&&!this.data.onBeforePageChange(this.page))return;this.updateData(this.data.rows),this.data.onPageChange&&this.data.onPageChange(this.page)}},jumpToPage:function(t){if(this.page=t*1,this.page>0&&this.page<=Math.ceil(this.data.rows.length/this.data.pageCount)){if(this.data.onBeforePageChange&&!this.data.onBeforePageChange(this.page))return;this.updateData(this.data.rows),this.data.onPageChange&&this.data.onPageChange(this.page)}},updateCellBackground(){var i,o;if((o=(i=this.data)==null?void 0:i.rows)!=null&&o.length)for(var t=(0,Ci.default)(".q-grid.body",this.container),e=0;e<this.data.rows.length;e++){let r=(0,Ci.default)(".cell["+this.rowIndexAttrName+'="'+e+'"]',t);e%2!=0?r.addClass("bg-gray"):r.removeClass("bg-gray")}},appendRow:function(t,e){if(this._validRowData(t)){this._clearSortData(),(e===void 0||e>this.data.rows.length)&&(e=this.data.rows.length),e<0&&(e=0);var i=(0,Ci.default)(".q-grid.body",this.container);this.data.rows.splice(e,0,t);var o=this._renderRow(t,e),r=this;if(e<this.data.rows.length&&(0,Ci.default)(".cell["+this.rowIndexAttrName+"]",i).each(function(){var a=+(0,Ci.default)(this).attr(r.rowIndexAttrName);a>=e&&(0,Ci.default)(this).attr(r.rowIndexAttrName,a+1)}),e===0)i.prepend(o);else if(e===this.data.rows.length)i.append(o);else{var n=(0,Ci.default)("["+this.rowIndexAttrName+'="'+(e-1)+'"]:last',i);n.after(o)}this._updateRowHeight(),me.update(i),this._initUi()}},deleteRow:function(t){this._clearSortData();var e=(0,Ci.default)(".q-grid.body",this.container);this.data.rows.splice(t,1);var i=this;(0,Ci.default)(".cell["+this.rowIndexAttrName+'="'+t+'"]',e).remove(),t<this.data.rows.length&&(0,Ci.default)(".cell["+this.rowIndexAttrName+"]",e).each(function(){var o=+(0,Ci.default)(this).attr(i.rowIndexAttrName);o>=t&&(0,Ci.default)(this).attr(i.rowIndexAttrName,o-1)}),this._updateRowHeight(),this._initUi()},updateRow:function(t,e){if(!(isNaN(e)||!this._validRowData(t)||e===void 0||e<0||e>this.data.rows.length-1)){e=+e;var i=(0,Ci.default)(".q-grid.body",this.container),o=(0,Ci.default)(".cell["+this.rowIndexAttrName+'="'+e+'"]',i).hasClass("selected");this.deleteRow(e),this.appendRow(t,e),o&&(0,Ci.default)(".cell["+this.rowIndexAttrName+'="'+e+'"]',i).addClass("selected"),this._solveBorder()}},_validRowData:function(t){if(!Ci.default.isArray(t))return!1;var e=this._getCellLength(t);if(this.isCheckboxCell(t[0])||(e=e+1),e>this.columnLength)return!1;for(var i=0;i<t.length;i++)if(t[i]==null&&(t[i]=""),typeof t[i]!="number"&&typeof t[i]!="string"&&typeof t[i]!="object")return!1;return!0},updateCell:function(t,e){this._clearSortData(),e=this._htmlEncode(e);var i=t.attr(this.rowIndexAttrName),o=t.attr(this.columnIndexAttrName),r=this.data.rows[i];r&&(this.isCheckboxCell(r[0])?typeof r[o]=="string"?r[o]=e:r[o].value=e:typeof r[o-1]=="string"?r[o-1]=e:r[o-1].value=e);var n=t.find(".txt").length?t.find(".txt"):t;!this._isContainTag(e)&&this.data.hoverTitle!==!1&&(typeof e=="string"?t.attr("title",e):e&&t.attr("title",e.value),n.hasClass("i18n")&&n.attr("data-i18n-attr","title")),n.hasClass("i18n")&&n.attr("i18n",e),n.html(e)},_isContainTag:function(t){return(t+"").match(/<(\S*?)\s*[^>]*>/)||(t+"").match(/&lt;(\S*?)\s*[^&gt;]*&gt;/)},_getColumnWidth:function(){var t=this,e=new Array(this.columnLength).fill("1fr"),i=this.isCheckboxCell(this.data.header[0]);return this.data.header.forEach(function(o,r){var n,a=t.getCacheColumnWidth(o.id);a!=null?n=a:o.width!==void 0&&o.width!=="auto"&&(n=o.width),n!=null&&(e[i?r:r+1]=n)}),e[0]=this.data.checkbox?"30px":"0px",e.join(" ")},_renderGrid:function(){this.container.empty().css("min-height",this._numberToPx(this.data.height,this.minHeight)),this.data.freezeHeader||(this.container.css({"overflow-y":"auto"}),this.container.css({"overflow-y":"overlay"})),this.gridStyles=[];var t=JSON.parse(localStorage.getItem("grid-column-width"))||{};let e="100%";t[this.data.tableName]&&t[this.data.tableName].wrapWidth&&(e=`${t[this.data.tableName].wrapWidth}px`);var i=[`width:${e};height: 100%`,"border-top:1px "+this.data.border+" "+this.data.borderColor];this.data.freezeHeader||i.push("overflow-y:overlay"),this.gridBox=(0,Ci.default)('<div class="q-grid-box" style="'+i.join(";")+'"></div>'),this.container.append(this.gridBox),this.columnLength=this.columnLength+1,this.gridStyles.push("grid-template-columns:"+this._getColumnWidth()),this.data.rowGap=this._numberToPx(this.data.rowGap,"0px"),this.gridStyles.push("grid-row-gap: "+this.data.rowGap),this.data.columnGap=this._numberToPx(this.data.columnGap,"0px"),this.gridStyles.push("grid-column-gap: "+this.data.columnGap),this.data.width=this._numberToPx(this.data.width,"100%"),this.gridStyles.push("width: "+this.data.width);var o;if(this.data.showHeader){var r=JSON.parse(JSON.stringify(this.data.header)),n='<input type="checkbox" class="check-all"/><span></span>';this.isCheckboxCell(r[0])&&r[0].type==="checkbox"?r[0].value=n:r.unshift({value:n,id:"id",type:"checkbox"}),o=(0,Ci.default)('<header class="q-grid header" style="'+this.gridStyles.join(";")+'"></header>'),o.append(this._renderRow(r,0,"header")),o.append(this._getFilterRow()),this.gridBox.append(o)}var a=JSON.parse(JSON.stringify(this.gridStyles));this.data.showHeader&&a.push("margin-top:-1px");var s=[];if((!this.data.width||this.data.width!=="100%")&&s.push("width: "+parseInt(this.data.width)+"px"),this.data.freezeHeader){let h=o?(o.outerHeight()||24)+3:0,f="";this.data.height&&this.data.height!=="auto"?f=`max-height:${parseInt(this.data.height)-h}px`:f=`max-height:calc(100% - ${h}px)`,s.push(`${f};overflow-y: auto;overflow-y:overlay;overflow-x:hidden`)}var l=(0,Ci.default)('<div style="'+s.join(";")+'" class="q-grid-scroll"></div>'),c=(0,Ci.default)('<div class="q-grid body" tabindex="1" style="'+a.join(";")+'"></div>');let d=this.data.isScroll;if(c.css("width",`${d?`calc(100% - ${this.data.extraWidth||0})`:"100%"}`),this.data.rows&&this.data.rows.length){var u="",p=this;this.data.rows.forEach(function(m,h){p.data.pageCount&&((p.page-1)*p.data.pageCount-1>=h||h>p.page*p.data.pageCount-1)||(u+=p._renderRow(m,h,!1))}),u+=this._getPageControlHtml(),c.append(u)}l.append(c),this.gridBox.append(l),this._updateRowHeight(),this._initUi()},_getPageControlHtml:function(){if(this.data.showPage===!1)return"";var t=this;function e(o,r,n){o=parseInt(o),r=parseInt(r);var a=6,s,l=o>1?n+(o-1):"javascript:void(0)",c=o<r?n+(o+1):"javascript:void(0)",d='<div class="pages">\u5171 <b>'+t.data.rows.length+'</b> \u6761\u8BB0\u5F55 <a page="'+l+'" '+(o>1?"":'class="no-link"')+">&lt;&lt;</a>";if(r<=a)for(s=1;s<=r;s++){var u=s==o?'<span class="act">'+o+"</span>":'<a page="'+n+s+'">'+s+"</a>";d+=u}else{s=o-a/2<2?2:o-a/2;var p=parseInt(o+a/2)>r-1?r-1:parseInt(o+a/2);for(d+=o==1?'<span class="act">1</span>':'<a page="'+n+'1">1</a> '+(s>2?"...":"");s<=p;s++){var u=s==o?'<span class="act">'+o+"</span>":'<a page="'+(n+s)+'">'+s+"</a>";d+=u}d+=(p<r-2?"...":"")+(o==r?'<span class="act">'+r+"</span>":' <a page="'+n+r+'">'+r+"</a>")}return d+='<a page="'+c+'" '+(o<r?"":'class="no-link"')+">&gt;&gt;</a></div>",d}var i="";return this.data.pageCount&&!isNaN(this.data.pageCount)&&this.data.pageCount<this.data.rows.length&&(i+='<div style="display: flex;align-items: center;justify-content: flex-end;grid-column-start: 1;grid-column-end: '+(this.columnLength+1)+";border: 1px "+this.data.border+" "+this.data.borderColor+';border-bottom: none">',i+=e(this.page,Math.ceil(this.data.rows.length/this.data.pageCount),""),i+="</div>"),i},_getFilterRow:function(){if(this.data.filter){var t='<input class="filter" placeholder="Filter" data-i18n-attr="placeholder" type="text"/><span class="filter-cancel icon-eda-x-circle" style="display:none;"></span>',e=new Array(this.columnLength-1).fill(t);return this._renderRow(e,"filterRow")}else return""},_initUi:function(){var t=(0,Ci.default)(".q-grid-scroll",this.container),e=(0,Ci.default)(".q-grid.header",this.container),i=t.scrollTop(),o=this;if(this._isFirefox()){var r=`calc(${this.data.width} - 8px)`;i>0?e.css("width",r):(t.scrollTop(10),t.scrollTop()>0?e.css("width",r):e.css("width",this.data.width),t.scrollTop(i))}if(this.data.rows&&this.data.rows.length){var n=!0;this.data.rows.forEach(function(s,l){o.isCheckboxCell(s[0])?(o.data.checkbox&&s[0].checked&&o.checkOne(l,{notTriggerEvent:!0}),o.data.selectable&&s[0].selected&&(0,Ci.default)(".q-grid.body .cell[data-row-index="+l+"]",o.container).addClass("selected"),s[0].disabled||(n=!1)):n=!1}),(0,Ci.default)(".check-all",this.container).prop("disabled",n)}this.data.header&&this.isCheckboxCell(this.data.header[0])&&this.data.header[0].checked===!0&&(0,Ci.default)(".check-all",this.container).prop("checked",!0).trigger("change");var a=e.height()+(0,Ci.default)(".q-grid.body",this.container).height();this.container.height()<a&&e.css("padding-right","10px"),this.updateCellBackground(),this._solveBorder()},_renderRow:function(t,e,i){var o="";if(!this._validRowData(t))return o;var r=this,n="",a=r.isCheckboxCell(t[0]),s=JSON.parse(JSON.stringify(t));i||(a?s[0].value='<input type="checkbox" '+(s[0].disabled?"disabled":"")+"/><span></span>":s.unshift(e==="filterRow"?"":{value:'<input type="checkbox" '+(s[0].disabled?"disabled":"")+"/><span></span>",id:e,type:"checkbox"})),r._getCellLength(s)<r.columnLength&&(s=s.concat(new Array(r.columnLength-s.length).fill("")));var l,c,d,u,p,m,h,f,g,b;return s.forEach(function(y,w){l=[],d=!1;let x=r.isCheckboxCell(r.data.header[0]);if(r.data.header&&(x?m=r.data.header[w]:m=w!==0&&r.data.header[w-1]),a&&w===0?n='data-id="'+s[0].id+'"':w!==0?n=m&&m.id?'data-id="'+m.id+'"':'data-id="'+w+'"':n='data-id="0"',i||l.push("margin-top: -1px"),r.data.checkbox?w!==0&&l.push("margin-left: -1px"):w!==1&&w!==0&&l.push("margin-left: -1px"),c=["cell",e%2!==0?"bg-gray":""],h="",g="",b="",eYt(y)&&(y.size&&l.push("grid-column-start: "+(w+1)+";grid-column-end: "+(w+1+y.size)),y.style&&l.push(y.style),y.align&&l.push("justify-content: "+(y.align==="right"?"flex-end":y.align)),y.class&&(c.push(y.class),y.class.indexOf("i18n")>-1&&(g="i18n")),y.attributes))for(var S in y.attributes)y.attributes.hasOwnProperty(S)&&(S.indexOf("data-i18n-context")>-1&&(b=S+'="'+y.attributes[S]+'"'),h+=" "+S+'="'+y.attributes[S]+'"');u="",f="",i&&m&&(m.sort&&(c.push("sort"),d=!0),m.resizeable&&(u='<span class="resizebar"></span>')),i&&r.data.filter&&!r.isCheckboxCell(y)&&(f='<span class="search-icon icon-eda-filter-small"></span>'),m&&parseInt(m.width)===0&&l.push("height:0"),w===0&&c.push("checkbox"),r.data.border||(r.data.border="solid"),p=eYt(y)?y.value:y,l.push("border: "+(r.data.border==="none"?"0":1)+"px "+r.data.border+" "+r.data.borderColor);var T=r.data.hoverTitle===!1||w===0||e==="filterRow"||r._isContainTag(p)?"":p,M=i||m&&m.ellipsis;e==="filterRow"&&!r.showFilter&&l.push("display:none"),o+="<div"+(M?"":h)+" "+n+' class="'+(M?c.join(" ").replace(g,""):c.join(" "))+(" "+y.appendClassName||"")+'" data-cell-index="'+w+'" data-row-index="'+e+'" style="'+l.join(";")+'" title="'+T+'" '+(g?'data-i18n-attr="title" ':" ")+(b||"")+`data-gridrow-uuid = ${s[0].id}>`,M?o+="<span"+(M?h:"")+' class="'+(e==="filterRow"?"contents ":" ")+(g||"")+" txt "+(m&&m.ellipsis?"ellipsis":"")+'">'+p+"</span> "+(d?'<span class="sort-icon" style="right: '+(f?"30px":"15px")+'"> </span>':""):o+=p,i&&((w!==s.length-1&&!r.data.dilatationResize||r.data.dilatationResize)&&(o+=u),o+=f),o+="</div>"}),o},_getCellLength:function(t){var e=0;return t.forEach(function(i){eYt(i)&&i.size&&i.size>1?e+=i.size:e++}),e},_htmlEncode:function(t){if(typeof t!="string")return t;let e={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"};function i(n){return e[n]}function o(n,a){let s;for(let l in a)if(a.hasOwnProperty(l)&&n.indexOf(l)!==-1){s=!0;break}return s}let r=o(t,e)?(t+"").replace(/[<>'"]/g,i):t;return r=r.replace(/&(?!lt;|gt;|quot;|apos;|amp;|#039;)/,"&amp;"),r},selectRow:function(t,e,i,o){if(!(t<0||t>this.data.rows.length-1)&&!this.isRowSelected(t)){e=e||{};var r=this,n=(0,Ci.default)(".body",r.container);if(!(r.data.onBeforeSelect&&r.data.onBeforeSelect(r.data.rows[parseInt(t)],e)===!1)){i||r.unSelectAll();var a=this.isCheckboxCell(this.data.rows[t][0]);a&&(this.data.rows[t][0].selected=!0),(0,Ci.default)('.cell[data-row-index="'+t+'"]',n).addClass("selected"),(!e||!e.notTriggerEvent)&&r.data.onSelect&&r.data.rows.length&&r.data.rows[parseInt(t)]&&r.data.onSelect(r.data.rows[parseInt(t)],t,!!o),r.data.onSelectAll&&((0,Ci.default)('.cell:not(".seleted")',n).length||r.data.onSelectAll(r.data.rows,!!o))}}},_toggleSelectById:function(t,e,i){var o=(0,Ci.default)('.cell[data-id="'+t+'"]',this.container),r=this;o.length&&o.each(function(){var n=+(0,Ci.default)(this).attr(r.rowIndexAttrName);r.data.selectable&&(e?r.selectRow:r.unSelectRow).call(r,n,{},i===void 0?r.data.multiSelect:i)})},selectRowById:function(t,e){this._toggleSelectById(t,!0,e)},unSelectRowById:function(t,e){this._toggleSelectById(t,!1,e)},unSelectRow:function(t,e,i=!1){if(this.isRowSelected(t)){var o=this.isCheckboxCell(this.data.rows[t][0]);o&&(this.data.rows[t][0].selected=!1),(0,Ci.default)('.q-grid.body .cell.selected[data-row-index="'+t+'"]',this.container).removeClass("selected"),!i&&this.data.onUnSelect&&this.data.onUnSelect(this.data.rows[parseInt(t)],t,!!e),this.data.onUnSelectAll&&((0,Ci.default)(".cell.seleted",(0,Ci.default)(".body",this.container)).length||this.data.onUnSelectAll(this.data.rows,!!e))}},selectAll:function(){var t={},e,i=this;(0,Ci.default)(".body .cell",this.container).each(function(){e=(0,Ci.default)(this).attr(i.rowIndexAttrName),t[e]||(i.selectRow(e,{},!0),t[e]=!0)})},unSelectAll:function(t,e=!1){var i={},o,r=this;(0,Ci.default)(".body .cell.selected",this.container).each(function(){o=(0,Ci.default)(this).attr(r.rowIndexAttrName),!(t&&t.length&&t.indexOf(+o)>-1)&&(i[o]||(r.unSelectRow(o,void 0,e),i[o]=!0))})},checkRowById:function(t){var e=(0,Ci.default)('.cell[data-id="'+t+'"]',this.container),i=this;e.length&&e.each(function(){var o=+(0,Ci.default)(this).attr(i.rowIndexAttrName);i.checkOne(o)})},checkAll:function(t){var e,i=this;this.data.header&&this.isCheckboxCell(this.data.header[0])&&(this.data.header[0].checked=!0),(0,Ci.default)(".body .checkbox input",this.container).each(function(){e=+(0,Ci.default)(this).closest(".cell").attr(i.rowIndexAttrName),i.checkOne(e,t)})},unCheckAll:function(t){var e,i=this;(0,Ci.default)(".check-all",this.container).prop("checked",!1),this.data.header&&this.isCheckboxCell(this.data.header[0])&&(this.data.header[0].checked=!1),(0,Ci.default)(".body .checkbox input",this.container).each(function(){e=+(0,Ci.default)(this).closest(".cell").attr(i.rowIndexAttrName),i.unCheckOne(e,t)})},isAllChecked:function(){let t=!0,e=(0,Ci.default)(".q-grid.body .checkbox input",this.container),i=e.length;for(var o=0;o<i;o++)if(!e.eq(o).prop("checked")){t=!1;break}return t},checkOne:function(t,e={}){var i=(0,Ci.default)('.q-grid.body .checkbox[data-row-index="'+t+'"] input',this.container),o=i.closest(".cell");if(!(o.css("display")==="none"||isNaN(t)||i.prop("checked")||e&&!e.notTriggerEvent&&i.prop("disabled"))){i.prop("checked",!0).attr("checked","checked");var r=this.isCheckboxCell(this.data.rows[t][0]);r&&(this.data.rows[t][0].checked=!0),this.isAllChecked()&&((0,Ci.default)(".check-all",this.container).prop("checked",!0).attr("checked","checked"),this.data.header&&this.isCheckboxCell(this.data.header[0])&&(this.data.header[0].checked=!0)),(!e||!e.notTriggerEvent)&&(this.data.onCheck&&this.data.rows.length&&this.data.rows[parseInt(t)]&&this.data.onCheck(this.data.rows[parseInt(t)],t),this.data.onCheckAll&&((0,Ci.default)('.cell.checkbox input:not(":checked")',(0,Ci.default)(".body",this.container)).length||this.data.onCheckAll(this.data.rows))),this.data.selectWhenCheck&&this.data.selectable&&this.selectRow(t,{notTriggerEvent:e&&e.notTriggerEvent},!!this.data.multiSelect,!0),this.data.editable&&this.endEdit()}},unCheckOne:function(t,e={}){var i=(0,Ci.default)('.q-grid.body .checkbox[data-row-index="'+t+'"] input',this.container),o=i.closest(".cell");if(!(o.css("display")==="none"||!i.prop("checked")||e&&!e.notTriggerEvent&&i.prop("disabled"))){i.prop("checked",!1).removeAttr("checked");var r=this.isCheckboxCell(this.data.rows[t][0]);r&&(this.data.rows[t][0].checked=!1),this.isAllChecked()||((0,Ci.default)(".check-all",this.container).prop("checked",!1).removeAttr("checked"),this.data.header&&this.isCheckboxCell(this.data.header[0])&&(this.data.header[0].checked=!1)),(!e||!e.notTriggerEvent)&&(this.data.onUnCheck&&this.data.onUnCheck(this.data.rows[parseInt(t)],t),this.data.onUnCheckAll&&((0,Ci.default)(".cell.checkbox input:checked",(0,Ci.default)(".body",this.container)).length||this.data.onUnCheckAll(this.data.rows))),this.data.selectWhenCheck&&this.unSelectRow(t,!0)}},isRowSelected:function(t){return!!(0,Ci.default)('.body .cell.checkbox.selected[data-row-index="'+t+'"]',this.container).length},_bindEvent:function(){var t=this;t.container.off("click").on("click",".body .cell",function(e){var i=+(0,Ci.default)(this).attr(t.rowIndexAttrName),o=+(0,Ci.default)(this).attr(t.columnIndexAttrName),r=this,n=(0,Ci.default)(e.target).closest(".cell");let a=n.hasClass("selected");n.hasClass("editing")||t.endEdit();let s=function(){if(!(isNaN(i)||e.target.tagName==="INPUT"||e.target.tagName==="SELECT"||n.hasClass("editing"))){if(n.hasClass("checkbox")){var l=(0,Ci.default)(e.target).closest(".cell").find("input");l.prop("disabled")||(l.prop("checked")===!0?t.unCheckOne(i,e):t.checkOne(i,e));return}if(t.data.onClick&&t.data.rows.length&&t.data.rows[i]){var c=t.isCheckboxCell(t.data.rows[i][0])?o:o-1;t.data.onClick(t.data.rows[i],t.data.rows[i][c]||"",e)}if(t.data.selectable&&!n.hasClass("checkbox")){if(e.shiftKey||(t.continuSelectStartRowNum=i),!e.ctrlKey&&!e.shiftKey||!t.data.multiSelect)t.unSelectAll(),a||t.selectRow(i,e);else if(e.ctrlKey)a?t.unSelectRow(i,e):t.selectRow(i,e,t.data.multiSelect);else if(e.shiftKey&&(t.getSelectedData().length||(t.continuSelectStartRowNum=i),t.data.multiSelect)){var d=[],u=[],p;if(typeof t.continuSelectStartRowNum>"u"){let m=t.getSelectedRowNumbers();t.continuSelectStartRowNum=m.length?m[m.length-1]:0}if(t.continuSelectStartRowNum>i)for(p=i;p<=t.continuSelectStartRowNum;p++)d.push(p);else for(p=t.continuSelectStartRowNum;p<=i;p++)d.push(p);t.unSelectAll(u),window.setTimeout(()=>{d.forEach(function(m){t.selectRow(m,e,!0)})})}}t.data.editable&&!(0,Ci.default)(r).hasClass("editing")&&t.data.editWhenClick?t.editCell((0,Ci.default)(r)):(0,Ci.default)(r).hasClass("editing")&&a&&t.selectRow(i,e)}};t.data.useMicrotaskOnCellClicked?Promise.resolve().then(s):t.shortTimer=window.setTimeout(s)}).off("focus.grid").on("focus.grid",".cell input.filter",function(){(0,Ci.default)(this).closest(".cell").find(".filter-cancel").show();let e=(0,Ci.default)(this).parents(".cell").data("cell-index");(0,Ci.default)(`.q-grid.header .cell[data-cell-index = ${e}]`,t.container).find(".search-icon").addClass("active")}).off("blur.grid").on("blur.grid",".cell input.filter",function(){var e=this;setTimeout(function(){if(!(0,Ci.default)(e).val()){(0,Ci.default)(e).closest(".cell").find(".filter-cancel").hide();let i=(0,Ci.default)(e).parents(".cell").data("cell-index");(0,Ci.default)(`.q-grid.header .cell[data-cell-index = ${i}]`,t.container).find(".search-icon").removeClass("active")}},100)}).on("click",".filter-cancel",function(){(0,Ci.default)(this).closest(".cell").find("input").val("").trigger("input");let e=(0,Ci.default)(this).parents(".cell").data("cell-index");(0,Ci.default)(`.q-grid.header .cell[data-cell-index = ${e}]`,t.container).find(".search-icon").removeClass("active"),(0,Ci.default)(this).hide(),window.setTimeout(()=>{t.data.onFilterCancel&&t.data.onFilterCancel()})}).on("click",".search-icon",function(){(0,Ci.default)('.cell[data-row-index="filterRow"]',t.container).toggle();var e=(0,Ci.default)(".q-grid.header",t.container).height(),i=(0,Ci.default)(".q-grid-scroll",t.container),o=i.attr("style"),r=o.replace(/max-height:\s?calc\(100%\s?-\s?\d+px\)(\s+!important)?;/,function(){return"max-height:calc(100% - "+e+"px) !important;"});i.css("cssText",r),t.showFilter===void 0?t.showFilter=!0:t.showFilter=!t.showFilter}).off("keyup.grid").on("keyup",".editting-ele",function(e){if(e.keyCode===13){var i=(0,Ci.default)(".cell.editing");i.each(function(){let o=(0,Ci.default)(this).closest(".q-grid-box").parent();o[0]&&o[0].grid.endEditOne((0,Ci.default)(this))})}}).on("keyup",function(e){e.keyCode===16&&t.container.removeClass("unselectable")}).off("keydown.grid").on("keydown.grid",function(e){e.keyCode===16&&t.container.addClass("unselectable")}).on("click.grid",".pages a",function(){var e=Number((0,Ci.default)(this).attr("page"));if(isNaN(e))return!1;if(t.page=e*1,!(t.data.onBeforePageChange&&!t.data.onBeforePageChange(t.page)))return t.updateData(t.data.rows),t.data.onPageChange&&t.data.onPageChange(t.page),!1}).off("keyup.grid").on("keyup.grid","input.filter",function(e){e.stopPropagation()}).off("input.grid").on("input.grid",".cell input.filter",function(){window.clearTimeout(t.onFilterInputCallbackTimer),(0,Ci.default)(".q-grid.body .cell["+t.rowIndexAttrName+"]",t.container).show();var e=(0,Ci.default)(".cell input.filter",t.container),i,o,r,n,a;t.data.rows.forEach(function(s,l){i=!0;for(var c=0;c<e.length;c++)if(o=Number(e.eq(c).closest(".cell").attr(t.columnIndexAttrName))-1,a=t.isCheckboxCell(s[0])?s[o+1]:s[o],a&&(a.class==="i18n"&&(a.value=me.i18n(a.value)),n=typeof a=="string"||typeof a=="number"?a+"":a.value),typeof a=="object"&&a.class&&a.class.split(" ").indexOf("i18n")>-1&&(n=me.i18n(n)),r=e.eq(c).val(),!!r&&n.toLowerCase().indexOf(r.toLowerCase())===-1){i=!1;break}i?(0,Ci.default)(".q-grid.body .cell["+t.rowIndexAttrName+'="'+l+'"]',t.container).show():(0,Ci.default)(".q-grid.body .cell["+t.rowIndexAttrName+'="'+l+'"]',t.container).hide()}),t.onFilterInputCallbackTimer=window.setTimeout(()=>{t.data.onFilterInput&&t.data.onFilterInput()},100)}).on("input.grid",".editting-ele",function(e){let i=(0,Ci.default)(this).val();(0,Ci.default)(this).parent().find(".clear").css("display",i?"inline-block":"none")}).on("click",".cell .clear",function(e){(0,Ci.default)(this).parent().find(".editting-ele").val(""),(0,Ci.default)(this).hide()}).on("click",".header .cell",function(e){var i=(0,Ci.default)(e.target).closest(".cell");if(i.hasClass("checkbox")){var o=(0,Ci.default)(e.target).closest(".cell").find("input");o.prop("disabled")||o.closest(".header").length&&(o.prop("checked")===!0?o.prop("checked",!1).removeAttr("checked").trigger("change"):o.prop("checked",!0).attr("checked","checked").trigger("change"))}}).off("mousedown.grid").on("mousedown.grid","header.q-grid .cell .resizebar",function(e){clearTimeout(t.shortTimer),t.container.addClass("noneselect");var i=(0,Ci.default)(this).parent(),o=i.offset().left,r=i.outerWidth(),n=Number(i.attr(t.columnIndexAttrName))-1,a=(0,Ci.default)(".q-grid.header",t.container),s=(0,Ci.default)(".q-grid.body",t.container),l=(0,Ci.default)(this),c=t._getColumnWidth().split(" "),d=e.pageX,u,p=0,m=36,h=500;l.addClass("isDraging");var f=t.gridBox.offset().left,g=(0,Ci.default)('<div class="resize-tip-line" style="left:'+(l.offset().left-f)+'px;"></div>');t.gridBox.append(g);var b;t.data.width?(t.data.width+"").match(/\d+%$/)?b=parseFloat(t.data.width)/100*t.container.outerWidth():b=parseFloat(t.data.width):b=t.container.outerWidth();var y=[],w;(0,Ci.default)('.q-grid.header .cell[data-row-index="0"]',t.container).each(function(M){w=(0,Ci.default)(this).outerWidth()-1;var I=t.data.header&&t.data.header[t.isCheckboxCell(t.data.header[0])?M:M-1];(M===0&&!t.data.checkbox||I&&!isNaN(parseFloat(I.width))&&parseFloat(I.width)===0)&&(w=0),y.push(w+"px")});var x=(0,Ci.default)("body"),S=x.css("cursor");x.attr("origin-cursor",S||"default").css("cursor","col-resize");var T=s.outerWidth();(0,Ci.default)(document).on("mousemove.grid",function(M){if(u=M.pageX,!(Math.abs(u-d)<3)){var I=u-o;if(t.data.dilatationResize){var A=0;if(I>m&&I<h)A=u-d;else if(I<m&&u-p>0){let R=g.offset().left;u>R&&(A=R-d)}else if(I>h&&u-p<0){let R=g.offset().left;u<R&&(A=R-d)}else u-p>0?A=h-r:u-p<0&&(A=m-r);A!==0&&(t._addColumnWidth(A,n+1,JSON.parse(JSON.stringify(y)),T,!0),g.css("left",l.offset().left-f+"px"))}else{I<=m?I=m:I>=h&&(I=h),t.data.border&&(I=I-1);var D=I/b*100+"%";if(c[n+1]=D,I>m&&I<h){var E=0,N;c.forEach(function(R,v){typeof R=="number"||!isNaN(R)?N=R*1:R.match(/\d+%$/)?N=parseFloat(R)/100*b:R.match(/\d+px$/)?N=parseFloat(R):N=m,E+=N>m||N===0?N:m}),E>b&&(I=b-(E-I),D=I/b*100+"%",c[n+1]=D),t.data.header[n].width=D}t.listenResize&&(t.gridBox.css("width","100%"),clearInterval(t.listenResize),t.listenResize=null),a.css("grid-template-columns",c.join(" ")),s.css("grid-template-columns",c.join(" ")),g.css("left",l.offset().left-f+"px")}p=M.pageX}}),(0,Ci.default)(document).on("mouseup.grid",function(M){(0,Ci.default)(document).off("mousemove.grid"),(0,Ci.default)(document).off("mouseup.grid"),x.css("cursor",x.attr("origin-cursor")),g.remove(),l.removeClass("isDraging"),t.container.removeClass("noneselect")})}).off("dblclick.grid").on("dblclick.grid","header.q-grid .cell .resizebar",function(e){var i=(0,Ci.default)(this).parent(),o=i.css("fontSize")||"12px",r=i.outerWidth(),n=Number(i.attr(t.columnIndexAttrName))-1;if(t.data.rows.length){var a=0,s="xxx",l=!1,c;t.data.rows.forEach(function(p){var m,h;c=t.isCheckboxCell(p[0])?p[n+1]:c=p[n],c&&(typeof c!="string"&&(l=(h=(m=c.class)==null?void 0:m.includes)==null?void 0:h.call(m,"i18n"),c=l?me.i18n(c.value+""):c.value),c=c+"",t._isContainTag(c)||c.length>a&&(a=c.length,s=c))});var d=(0,Ci.default)('<span style="font-size:'+o+'">'+s+"\u5360\u4F4D</span>");(0,Ci.default)("body").append(d);var u=d.width();(0,Ci.default)(d).remove(),t._addColumnWidth(u-r,n+1)}}).on("mousedown.grid","header.q-grid .cell.sort",function(e){if(!((0,Ci.default)(e.target).hasClass("search-icon")||(0,Ci.default)(e.target).hasClass("resizebar")||e.button!==0)){var i=this;t.endEdit(),t.shortTimer=setTimeout(function(){var o=Number((0,Ci.default)(i).attr(t.columnIndexAttrName))-1;if(!(0,Ci.default)(e.target).hasClass("resizebar")){var r=typeof t.data.header[t.isCheckboxCell(t.data.header[0])?o+1:o].sort=="function",n=typeof t.data.header[t.isCheckboxCell(t.data.header[0])?o+1:o].sortList=="function",a=t.data.onBeforeSort,s=t.data.onAfterSort;(0,Ci.default)(i).siblings(".sort").removeClass("sort-1").removeClass("sort-2");var l;if((0,Ci.default)(i).hasClass("sort-1")){(0,Ci.default)(i).removeClass("sort-1"),l=0;var c=t.container.data("originData");if(c){t.updateData(c,!0),t.data.onSort&&t.data.onSort(l),s&&s(c);return}}else(0,Ci.default)(i).hasClass("sort-2")?((0,Ci.default)(i).addClass("sort-1"),(0,Ci.default)(i).removeClass("sort-2"),l=2):((0,Ci.default)(i).addClass("sort-2"),l=1,t.container.data("originData",JSON.parse(JSON.stringify(t.data.rows))));if(t.data.sortByCloud)return t.data.header[t.isCheckboxCell(t.data.header[0])?o+1:o].sort(l);if(n)a&&a(),t.data.rows=t.data.header[o].sortList(t.data.rows,l);else{var d;a&&a(),t.data.rows.sort(function(u,p){var m=JSON.parse(JSON.stringify(u)),h=JSON.parse(JSON.stringify(p));if(t.isCheckboxCell(m[0])&&m.splice(0,1),t.isCheckboxCell(h[0])&&h.splice(0,1),r)d=t.data.header[o].sort(m[o],h[o]);else{var f=t.isCheckboxCell(u[0])?o+1:o,g=t.isCheckboxCell(p[0])?o+1:o,b=(typeof u[f]=="object"?u[f].value:u[f])+"",y=(typeof p[g]=="object"?p[g].value:p[g])+"";d=b.localeCompare(y)}return d*(l===1?-1:1)})}t.updateData(t.data.rows,!0),t.data.onSort&&t.data.onSort(l),s&&s(t.data.rows)}},200)}}).off("change").on("change",'.checkbox input[type="checkbox"]',function(e){var i=(0,Ci.default)(this).closest(".cell"),o=+i.attr(t.rowIndexAttrName);(0,Ci.default)(this).prop("checked")===!0?(0,Ci.default)(this).hasClass("check-all")?t.checkAll(!0):t.checkOne(o,!0):(0,Ci.default)(this).hasClass("check-all")?t.unCheckAll(!0):t.unCheckOne(o,!0)}).on("dblclick.grid",".body .cell",function(e){if(!(0,Ci.default)(this).hasClass("checkbox")&&!(e.target.tagName==="INPUT"||e.target.tagName==="SELECT"||e.target.tagName==="TEXTAREA")){clearTimeout(t.shortTimer);var i=+(0,Ci.default)(this).attr(t.rowIndexAttrName);if(t.data.editable){isNaN(i)||(0,Ci.default)('.q-grid.body .cell[data-row-index="'+i+'"]:not(.checkbox)',t.container).each(function(){t.editCell((0,Ci.default)(this),!0)});var o=(0,Ci.default)(e.target).closest(".cell"),r=o.find("input.editting-ele");if(r.length){var n=r.val();r.val("").focus().val(n).focus()}}if(t.data.onDblclick&&!isNaN(i)){var a=+(0,Ci.default)(this).attr(t.columnIndexAttrName),s=t.isCheckboxCell(t.data.rows[i][0])?a:a-1;t.data.onDblclick(t.data.rows[i],t.data.rows[i][s]||"",e)}}}).off("contextmenu").on("contextmenu",".body .cell",function(e){if(e.target.tagName!=="INPUT"){if(t.data.onContextmenu){var i=+(0,Ci.default)(this).attr(t.rowIndexAttrName),o=+(0,Ci.default)(this).attr(t.columnIndexAttrName),r=t.isCheckboxCell(t.data.rows[i][0])?o:o-1;t.data.onContextmenu(t.data.rows[i],t.data.rows[i][r]||"",e,i)}return!1}}).on("mousedown.grid",".body .cell",function(e){if(t.data.dragable){t.container.addClass("noneselect");var i=+(0,Ci.default)(this).attr(t.rowIndexAttrName),o=(0,Ci.default)('.body .cell[data-row-index="'+i+'"]',t.container),r=e.pageY-(0,Ci.default)(this).offset().top,n=!1,a=(0,Ci.default)(this),s={},l={},c;t.shortTimer=setTimeout(function(){var d;(0,Ci.default)(".body .cell",t.container).each(function(){d=(0,Ci.default)(this).attr(t.rowIndexAttrName),l[d]||(s[d]={top:(0,Ci.default)(this).offset().top,height:(0,Ci.default)(this).outerHeight()},l[d]=!0)});var u=(0,Ci.default)(o[o.length-1]),p=u.offset().top,m=u.clone(!0).empty();m.attr({class:"placeholder","data-row-index":"null"}).css({"grid-column":"1 / "+(t.columnLength+1),border:"none",background:"#ddd",height:u.outerHeight()}),u.after(m),c=(0,Ci.default)("<div></div>").css({width:a.parent().width(),height:"1px","border-top":"1px dotted rgb(228, 108, 108)",position:"fixed",top:p,"z-index":6}).attr("class","baseline"),u.after(c),o.each(function(){(0,Ci.default)(this).css({left:(0,Ci.default)(this).offset().left,width:(0,Ci.default)(this).outerWidth(),height:(0,Ci.default)(this).outerHeight(),opacity:.7,"z-index":5,top:p,cursor:"move"}).addClass("draging")}),o.css({position:"fixed"}),n=!0;var h=e.pageY,f,g=t.data.pageCount?t.page===Math.ceil(t.data.rows.length/t.data.pageCount)?t.data.rows.length-1:t.data.pageCount*t.page-1:t.data.rows.length-1;i===g&&(0,Ci.default)('.body .cell[data-row-index="'+(g-1)+'"]',t.container).css("border-bottom","1px "+t.data.border+" "+t.data.borderColor),(0,Ci.default)(document).on("mousemove.grid",function(b){if(n){if(f=b.pageY,f>s[g].top+s[g].height/2)c.css("top",s[g].top+s[g].height).attr("index",g);else for(var y in s)if(f-h>0){if(f<s[y].top+s[y].height/2){c.css("top",s[y].top).attr("index",+y>i?y-1:y);break}}else if(f<s[y].top+s[y].height/2){c.css("top",s[y].top).attr("index",y);break}o.each(function(){(0,Ci.default)(this).css({top:b.pageY-r})}),h=b.pageY}}),(0,Ci.default)(document).on("mouseup.grid",function(b){(0,Ci.default)(document).off("mousemove.grid"),(0,Ci.default)(document).off("mouseup.grid"),clearTimeout(t.shortTimer);var y=+c.attr("index"),w=100;m.remove(),(0,Ci.default)(".body .cell",t.container).each(function(){d=(0,Ci.default)(this).attr(t.rowIndexAttrName);var x=this;isNaN(d)||(d=+d,y>i?d>i&&d<=y&&(0,Ci.default)(this).animate({"margin-top":-u.outerHeight()},w,function(){(0,Ci.default)(x).css("margin-top","-1px")}):d>=y&&d<=i&&(0,Ci.default)(this).animate({"margin-bottom":-u.outerHeight()},w,function(){(0,Ci.default)(x).css("margin-bottom","0px")}))}),setTimeout(function(){if(o.each(function(){(0,Ci.default)(this).css({position:"relative",left:0,opacity:1,top:0,"z-index":0,cursor:"default",width:"",height:""}),(0,Ci.default)(this).removeClass("draging")}),i!==y){y<=0?(0,Ci.default)(".body .cell:first",t.container).before(o):(0,Ci.default)('.body .cell[data-row-index="'+(y>i?y:y-1)+'"]:last',t.container).after(o);var x;if((0,Ci.default)(".body .cell",t.container).each(function(){x=+(0,Ci.default)(this).attr(t.rowIndexAttrName),y-i>0?x>i&&x<=y&&(0,Ci.default)(this).attr(t.rowIndexAttrName,x-1):x>=y&&x<i&&(0,Ci.default)(this).attr(t.rowIndexAttrName,x+1)}),y-i>0||y-i<0){var S=t.data.rows[i];o.attr(t.rowIndexAttrName,y),t.data.rows.splice(i,1),t.data.rows.splice(y,0,S)}}c.remove(),t.container.removeClass("noneselect"),t._solveBorder(),n=!1},w)})},200)}}).on("mouseup.grid",".body .cell",function(e){t.container.removeClass("noneselect"),clearTimeout(t.shortTimer)}),(0,Ci.default)(document).off("mousedown.grid").on("mousedown.grid",function(e){if(!(0,Ci.default)(e.target).closest(".cell").length){var i=(0,Ci.default)(".cell.editing");i.each(function(){let o=(0,Ci.default)(this).closest(".q-grid-box").parent();o[0]&&o[0].grid.endEditOne((0,Ci.default)(this))})}})},_addColumnWidth:function(t,e,i,o,r){var n=this,a=(0,Ci.default)(".q-grid.header",n.container),s=(0,Ci.default)(".q-grid.body",n.container),l=n._getColumnWidth().split(" "),c,d=0;i?(i[e]=parseFloat(i[e])+t+"px",d+=o+t):(i=[],(0,Ci.default)('.cell[data-row-index="0"]',s).each(function(m){c=m===0&&n.data.checkbox?(0,Ci.default)(this).outerWidth():(0,Ci.default)(this).outerWidth()-1;var h=n.data.header&&n.data.header[n.isCheckboxCell(n.data.header[0])?m:m-1];(m===0&&!n.data.checkbox||h&&!isNaN(parseFloat(h.width))&&parseFloat(h.width)===0)&&(c=0),e===m&&(c+=t),d+=c,i.push(c+"px")}));let u=d-1;if(n.container.css({"overflow-x":"auto","overflow-y":"hidden","padding-bottom":"5px"}),n.gridBox.css("width",u+"px"),a.css("grid-template-columns",i.join(" ")),s.css("grid-template-columns",i.join(" ")),n.data.header[e-1].width=parseFloat(i[e])/u*100+"%",n.updateColumnWidthCache(r,e,i[e],u),!n.listenResize){var p=n.container.width();n.listenResize=setInterval(function(){n.container.width()!==p&&(n.gridBox.css("width","100%"),a.css("grid-template-columns",l.join(" ")),s.css("grid-template-columns",l.join(" ")),clearInterval(n.listenResize),n.listenResize=null)},30)}},updateColumnWidthCache:function(t,e,i,o){if(this.data.cacheColumnWidth){var r=JSON.parse(localStorage.getItem("grid-column-width"))||{},n=this.data.tableName||this.container.selector,a=r[n]||{},s=this.data.header[e-1].id;t?a[s]=i:delete a[s],r[n]=a,r[n].wrapWidth=o,localStorage.setItem("grid-column-width",JSON.stringify(r))}},getCacheColumnWidth:function(t){if(this.data.cacheColumnWidth){var e=JSON.parse(localStorage.getItem("grid-column-width"))||{},i=this.data.tableName||this.container.selector;return(e[i]||{})[t]}},endEditOne:function(t){var e=this,i=t.find(".txt").length?t.find(".txt"):t,o=i.find(".editting-ele");if(!o.length)return;e._clearSortData();var r=e._htmlEncode(o.val()||""),n=+t.attr(e.rowIndexAttrName),a=+t.attr(e.columnIndexAttrName),s=e.isCheckboxCell(e.data.rows[n][0])?a:a-1;let l=typeof e.data.rows[n][s]=="object";r.match(C.emojiReg)&&(r=l?e.data.rows[n][s].value:e.data.rows[n][s]);var c;if(e.data.rows[n]&&e.data.rows[n][s]!==void 0&&(l?c=e.data.rows[n][s].value:c=e.data.rows[n][s]),e.data.onBeforeEndEdit){if(e.data.onBeforeEndEdit(n,s,c,r)===!1)return;r=e._htmlEncode(o.val()||"")}if(e.data.onEndEdit){let d=e.data.onEndEdit(n,s,c,r);d!=null&&(r=d)}e.data.rows[n]&&e.data.rows[n][s]!==void 0&&(l?e.data.rows[n][s].value=r:e.data.rows[n][s]=r),i.html(r).removeClass("contents"),t.removeClass("editing"),!this._isContainTag(r)&&this.data.hoverTitle!==!1&&(t.attr("title",r),i.hasClass("i18n")&&i.attr("data-i18n-attr","title")),i.hasClass("i18n")&&i.attr("i18n",r),me.update(t)},endEdit:function(){var t=this;(0,Ci.default)(".body.q-grid .cell.editing",this.container).each(function(){t.endEditOne((0,Ci.default)(this))})},_clearSortData:function(){var t=this.container.data("originData");t&&this.container.data("originData",null),(0,Ci.default)(".cell.sort",this.container).removeClass("sort-1").removeClass("sort-2")},editCell:function(t,e){if(t.hasClass("editing")||t.hasClass("checkbox"))return;var i=t.find(".txt"),o=i.length?i:t,r=o.text()||"",n=this;let a=o.attr("i18n")||"",s="",l=o.hasClass("i18n");l&&(r=a||r),e||n.endEdit();var c=+t.attr(n.rowIndexAttrName),d=+t.attr(n.columnIndexAttrName),u=n.isCheckboxCell(n.data.rows[c][0])?d:d-1;if(n.data.onBeforeEdit){var p=n.data.onBeforeEdit(c,u,r);if(p===!1)return}var m="input",h="";if(n.data.rows[c]){var f;n.isCheckboxCell(n.data.rows[c][0])?f=n.data.rows[c][d]:f=n.data.rows[c][d-1],f&&typeof f!="string"&&f.editType&&(m=f.editType.type||"input",h=f.editType.options,s=f.editType.i18nContext)}t.addClass("editing"),i.addClass("contents");var g=t.css("justify-content"),b=g==="flex-end"?"right":g||"center";if(m==="input"||m==="inputNoClear")o.html(`<input class="editting-ele" value="" type="text" style="text-align:${b}"/>${m==="input"?'<i class="clear"></i>':""}`).find("input").val(l?me.i18n(r):r).trigger("input"),e||o.find("input").select().focus();else if(m==="select"){var y=(0,Ci.default)('<select class="editting-ele" style="width:100%;text-align-last:'+b+'"></select>');h&&Ci.default.isArray(h)&&(h.forEach(function(w,x){y.append('<option class="'+(l?"i18n":"")+'" value="'+w+'" '+(r===w?"selected ":"")+(s?'data-i18n-context="'+s+'"':"")+">"+w+"</option>"),h[x]=w+""}),h.indexOf(r)>-1&&y.val(r)),o.html("").append(y)}l&&me.update(t)},getData:function(){var t=JSON.parse(JSON.stringify(this.data.rows));return t},getRowsLength:function(){return this.data.rows.length},getRowDataById:function(t){return this.data.rows.filter(function(e){return typeof e[0]=="object"&&e[0].id===t})[0]},getRowDataByNum:function(t){return this.data.rows[t]},getSelectedRowNumbers:function(){var t={},e=[],i,o=this;return(0,Ci.default)(".q-grid.body .cell.selected",this.container).each(function(){i=(0,Ci.default)(this).attr(o.rowIndexAttrName),t[i]||(e.push(+i),t[i]=!0)}),e},getSelectedData:function(){let t=[],e={},i,o,r=this;return(0,Ci.default)(".q-grid.body .cell.selected",this.container).each(function(){i=(0,Ci.default)(this).attr(r.rowIndexAttrName),e[i]||(e[i]=!0,o=JSON.parse(JSON.stringify(r.data.rows[parseInt(i)])),t.push(o))}),t},getFilteredData:function(){let t=[],e={},i,o,r=this;return(0,Ci.default)(".q-grid.body .cell",this.container).each(function(){this.style.display!=="none"&&(i=(0,Ci.default)(this).attr(r.rowIndexAttrName),e[i]||(e[i]=!0,o=JSON.parse(JSON.stringify(r.data.rows[parseInt(i)])),t.push(o)))}),t},getCheckedData:function(t=!0){let e=[],i,o,r=this;return(0,Ci.default)(".q-grid.body .cell.checkbox",this.container).each(function(){(0,Ci.default)(this).find("input").prop("checked")===!0&&(i=(0,Ci.default)(this).attr(r.rowIndexAttrName),o=r.data.rows[parseInt(i)],o&&e.push(t?JSON.parse(JSON.stringify(o)):o))}),e},isCheckboxCell:function(t){return typeof t=="object"&&t.type==="checkbox"},getCell:function(t,e){return(0,Ci.default)(".body .cell["+this.rowIndexAttrName+'="'+t+'"]['+this.columnIndexAttrName+'="'+e+'"]',this.container)},getColumnLength:function(){var t=1;if(this.data.header&&this.data.header.length){var e=this.isCheckboxCell(this.data.header[0])?this.data.header.length-1:this.data.header.length;e>t&&(t=e)}var i=this;return this.data.rows&&this.data.rows.forEach(function(o){var r=o.length;o.forEach(function(n,a){a===0&&i.isCheckboxCell(n)&&(r=r-1),typeof n=="object"&&n.size&&(r+=n.size-1)}),r>t&&(t=r)}),t},_isFirefox:function(){return navigator.userAgent.indexOf("Firefox/")>-1},_numberToPx:function(t,e){return t?isNaN(t)?t:t+"px":e}};var rYt=L(SAo());var cte=L(z());function son(t){Ae(rYt.default);let{locals:e}=rYt.default,i=be.bind(e),o=J(),{onChoose:r}=t;return(0,cte.jsxs)("div",{className:i("container"),children:[(0,cte.jsxs)("div",{className:i("tip"),children:[o("Please select the symbol type after automatic pin grouping"),":"]}),(0,cte.jsxs)("div",{className:i("grid"),children:[(0,cte.jsx)("div",{className:i("item sop"),title:"sop","data-test":"sop",onClick:()=>{r("sop"),le.close("ChoosePlacePinType")}}),(0,cte.jsx)("div",{className:i("item qfn"),title:"qfn","data-test":"qfn",onClick:()=>{r("qfn"),le.close("ChoosePlacePinType")}})]})]})}async function ADe(t){le.open({id:"ChoosePlacePinType",title:"Select Type",width:400,closed:!0,onPaste:!0,children:(0,cte.jsx)(son,{...t})})}var MAo={L:"Left",R:"Right",T:"Top",B:"Bottom"};function IAo(t){let[e,i,o,r]=[0,0,0,0],n=Zle.indexOf("Side"),a=Zle.indexOf("Order");for(let s of t)switch(s[n].value){case"Left":{s[a].value=++e;break}case"Right":{s[a].value=++i;break}case"Top":{s[a].value=++r;break}case"Bottom":{s[a].value=++o;break}default:{console.error(`batchResetOrder: invalid side item:${s}`);break}}}async function LAo(t){var n,a;let e="Part",i=Zle.indexOf(e),o=await tne([{key:e,value:(a=(n=t==null?void 0:t[0])==null?void 0:n[i])==null?void 0:a.value,valueType:"input",showKey:"Part"}],{title:"Set Part"});if(o==null)return;let r=o.get(e);t.forEach(s=>{s[i].value=r})}async function vAo(t){var n,a;let e="Side",i=Zle.indexOf(e),o=await tne([{key:e,value:(a=(n=t==null?void 0:t[0])==null?void 0:n[i])==null?void 0:a.value,valueType:"select",showKey:"Side",selectList:W3(t[0][i].editType.options)}],{title:"Set Side"});if(o==null)return;let r=o.get(e);t.forEach(s=>{s[i].value=r})}async function DAo(t){var n,a;let e="Pin Type",i=Zle.indexOf(e),o=await tne([{key:e,value:(a=(n=t==null?void 0:t[0])==null?void 0:n[i])==null?void 0:a.value,valueType:"select",showKey:"Type",selectList:W3(t[0][i].editType.options,void 0,"pinType")}],{title:"Set Type"});if(o==null)return;let r=o.get(e);t.forEach(s=>{s[i].value=r})}async function EAo(t){var n,a;let e="PinShape",i=Zle.indexOf(e),o=await tne([{key:e,value:(a=(n=t==null?void 0:t[0])==null?void 0:n[i])==null?void 0:a.value,valueType:"select",showKey:"Shape",selectList:W3(t[0][6].editType.options)}],{title:"Set Shape"});if(o==null)return;let r=o.get(e);t.forEach(s=>{s[i].value=r})}function AAo(t){ADe({onChoose:e=>{let i=t.data.rows,o=i.reduce((n,a,s)=>(n.push({index:s,part:a[0].value,number:a[1].value,name:a[2].value}),n),[]);U$t(o,e).forEach(n=>{let a=i[n.index];a[4].value=n.order,a[3].value=MAo[n.side]}),t.updateData(i),De({type:"success",msg:"Pin auto placement finish"})}})}var n0=L(z()),kAo={id:"symbol-wizard-dlg",title:"Advanced Symbol Wizard",width:640,closed:!0,pinLen:.2};var Zle=["Part","Pin Number","Pin Name","Side","Order","Pin Type","PinShape"];var PL=null,lon=(0,Px.forwardRef)((t,e)=>{let{state:i,onStateChange:o,onConfirm:r}=t,n=J(),[a,s]=(0,Px.useState)(!1),[l,c]=(0,Px.useState)(!0);(0,Px.useEffect)(()=>{i!=="NORMAL"&&s(!1)},[]),(0,Px.useImperativeHandle)(e,()=>({setConfirmDisabled:p=>{c(p)}}),[]);let d=KS("div")`
		position: absolute;
		display: ${a?"flex":"none"};
		flex-direction: column;
		z-index: 99;
		top: 100%;
		right: 0;
		width: 100%;
		box-shadow: 0 0 10px var(--common-box-shadow-color);
		.button {
			text-align: left;
			border: none;
			&:hover {
				background-color: var(--bg-color-selected-drop-down-menuItem) !important;
				color: var(--font-color-hover-drop-down-menuItem) !important;
			}
		}
	`;function u(){switch(i){case"BATCH_RESET_SORT":return"Confirm";default:return"Next Step"}}return i==="NORMAL"?(0,n0.jsxs)("div",{style:{position:"relative",display:"flex",flexDirection:"column",right:0},onMouseLeave:()=>s(!1),children:[(0,n0.jsx)(Me,{size:"sm",onMouseEnter:()=>s(!0),dataTest:"Batch Operation",children:n("Batch Operation")+">>"}),(0,n0.jsxs)(d,{children:[(0,n0.jsx)(Me,{class:"button",size:"sm",style:{borderRadius:"0px"},onClick:()=>{s(!1),o(i,"BATCH_RESET_SORT")},dataTest:"Reset Sort",children:n("Reset Sort")}),(0,n0.jsx)(Me,{class:"button",size:"sm",style:{borderRadius:"0px"},onClick:()=>{s(!1),o(i,"BATCH_SET_PART")},dataTest:"Set Part",children:n("Set Part")+"..."}),(0,n0.jsx)(Me,{class:"button",size:"sm",style:{borderRadius:"0px"},onClick:()=>{s(!1),o(i,"BATCH_SET_SIDE")},dataTest:"Set Side",children:n("Set Side")+"..."}),(0,n0.jsx)(Me,{class:"button",size:"sm",style:{borderRadius:"0px"},onClick:()=>{s(!1),o(i,"BATCH_SET_TYPE")},dataTest:"Set Type",children:n("Set Type")+"..."}),(0,n0.jsx)(Me,{class:"button",size:"sm",style:{borderRadius:"0px"},onClick:()=>{s(!1),o(i,"BATCH_SET_SHAPE")},dataTest:"Set Shape",children:n("Set Shape")+"..."})]})]}):(0,n0.jsxs)("div",{style:{display:"flex",gap:"8px",position:"absolute",right:0,minWidth:"max-content"},children:[(0,n0.jsx)(Me,{disabled:l,type:"primary",size:"sm",onClick:r,dataTest:u(),children:n(u())}),(0,n0.jsx)(Me,{size:"sm",onClick:()=>{o(i,"NORMAL")},dataTest:"Cancel",children:n("Cancel")})]})}),con=t=>{let{id:e,rowData:i}=t.params,o=J(),r=xwt()||"inch",[n,a]=(0,Px.useState)(!1),[s,l]=(0,Px.useState)("NORMAL"),c=document.getElementById(e),d="pin-wizard-table",u=(0,Px.useRef)(null);(0,Px.useLayoutEffect)(()=>{me.update(c)},[]),(0,Px.useEffect)(()=>{var I;b((I=PL==null?void 0:PL.data)==null?void 0:I.rows)},[s]),(0,Px.useEffect)(()=>()=>{PL=null},[]);let p=async I=>{I=="import"?y():I==="export"?w():I==="confrim"?S():I==="cancel"&&T()};function m(){}function h(I){switch(I){case"R":{I="Right";break}case"L":{I="Left";break}case"T":{I="Top";break}case"B":{I="Bottom";break}}return I}function f(I){switch(I){case"Right":{I="R";break}case"Left":{I="L";break}case"Top":{I="T";break}case"Bottom":{I="B";break}}return I}function g(I){return I.forEach(A=>{A.forEach(D=>{var E;((E=D.editType)==null?void 0:E.type)==="select"&&(D.value=h(D.value),D.editType.options=D.editType.options.map(N=>h(N)),D.class="i18n",D.editType.i18nContext&&(D.attributes||(D.attributes={}),D.attributes["data-i18n-context"]=D.editType.i18nContext))})}),I}async function b(I){let A=(0,NAo.default)("#"+d),D=!0,E="i18n",N=[{value:"Part",id:"part",class:E,ellipsis:D},{value:"Pin Number",id:"pinNumber",class:E,ellipsis:D},{value:"Pin Name",id:"pinName",class:E,ellipsis:D},{value:"Side",id:"side",class:E,ellipsis:D},{value:"Order",id:"order",class:E,ellipsis:D},{value:"Pin Type",id:"pinType",class:E,ellipsis:D},{value:"PinShape",id:"pinShape",class:E,ellipsis:D}];I||(I=g((await C.messageBus.rpcCall("pro-sch/getConvertedPinData",i)).message));let R=I.length>9,v=ue.deepClone(I),k={showHeader:!0,header:N,freezeHeader:!0,editable:!0,multiSelect:!1,selectable:!1,selectWhenCheck:!0,editWhenClick:!0,border:"solid",rowGap:0,columnGap:0,width:"100%",height:310,rowHeight:"30px",isScroll:R,rows:I,checkbox:s!=="NORMAL",extraWidth:"1px",onBeforeEdit:function(){if(dt()===se.SHEET_SYMBOL)return!1},onCheck:()=>{u.current.setConfirmDisabled(!PL.getCheckedData(!1).length)},onUnCheck:()=>{u.current.setConfirmDisabled(!PL.getCheckedData(!1).length)}};PL=new tYt(k,A),me.update(A),A.on("change",".q-grid-scroll select,.q-grid-scroll input",async P=>{var O,_,j,B,V,G;if(((j=(_=(O=P.target)==null?void 0:O.parentNode)==null?void 0:_.parentNode)==null?void 0:j.getAttribute("data-id"))==="pinNumber"){let Q=(G=(V=(B=P.target)==null?void 0:B.parentNode)==null?void 0:V.parentNode)==null?void 0:G.getAttribute("data-row-index"),H=v[+Q][1].value,{value:q}=P.target;if(q.match(/^[0-9a-zA-Z,，]{0,}$/))v[+Q][1].value=q;else{I[+Q][1].value=H,PL.updateRow(I[+Q],+Q),C.messageBus.publish("ui/toastMsg",{type:"warn",msg:"Only letters and numbers can be entered for the Pin Number"});return}}PL.endEdit()})}function y(){C.messageBus.publish("pro-sch/schlibwizard_importTable",{call:I=>{I&&(I=g(I),PL.updateData(I))}})}async function w(){a(!0),await C.messageBus.rpcCall("pro-sch/schlibwizard_exportTable",{rows:x()}),a(!1)}function x(){let I=[];return PL&&(I=PL.data.rows.map(A=>A.map(({value:D})=>f(D)))),I}async function S(){var R,v,k;let I=(R=C.profileSetting.commSystemSetting)==null?void 0:R.CANVAS,A=(v=I.defaultPinLength)==null?void 0:v.value,D=(k=I.defaultPinDistance)==null?void 0:k.value,E=x();(await C.messageBus.rpcCall("pro-sch/schlibwizard_generateSymbol",{rows:E,pinLength:np.convert(A,ru(r),10),options:{isApplySCHLibWizard:!0,pinSpace:np.convert(D,ru(r),10)}})).message&&(T(),le.close(bt["ocr-wizard"].containerId))}function T(){return le.close(e)}async function M(I){switch(s){case"BATCH_RESET_SORT":{IAo(I);break}case"BATCH_SET_PART":{await LAo(I);break}case"BATCH_SET_SIDE":{await vAo(I);break}case"BATCH_SET_SHAPE":{await EAo(I);break}case"BATCH_SET_TYPE":{await DAo(I);break}default:throw new Error(`confirmBatchOperate: error use on this state:${s}`)}}return(0,n0.jsxs)("div",{className:"pop-content-container",children:[(0,n0.jsx)("div",{className:"pop-content-wrapper box",children:(0,n0.jsxs)("div",{className:"gray-dialog-border",style:{padding:"16px"},children:[(0,n0.jsxs)("ul",{className:"pin-wizard-content",children:[(0,n0.jsx)("li",{className:"content-layer",children:(0,n0.jsxs)("span",{className:"layer-title",style:{color:"#f00"},children:[(0,n0.jsx)("span",{className:"i18n",children:"Notice"}),":",(0,n0.jsx)("span",{className:"i18n",children:'The different "Part" will create the different parts of symbol'})]})}),(0,n0.jsx)("li",{className:"content-layer",style:{position:"relative"},children:(0,n0.jsxs)("div",{style:{position:"absolute",display:"flex",right:0,alignItems:"center",gap:"4px"},children:[s==="NORMAL"&&(0,n0.jsx)(Me,{size:"sm",onClick:I=>{AAo(PL)},children:o("Auto Pin Placement")}),(0,n0.jsx)(lon,{ref:u,onConfirm:async()=>{let I=PL.getCheckedData(!1);await M(I),l("NORMAL")},onStateChange:(I,A)=>{I!==A&&l(A)},state:s})]})})]}),(0,n0.jsx)("div",{id:d})]})}),(0,n0.jsxs)("div",{className:"pop-footer-wrapper",children:[(0,n0.jsxs)("div",{className:"comm-btn-left",style:{left:"0"},children:[(0,n0.jsx)(Me,{style:{marginRight:"5px"},onClick:()=>p("import"),children:"Import"}),(0,n0.jsx)(Me,{disabled:n,onClick:()=>p("export"),children:"Export"})]}),(0,n0.jsxs)("div",{className:"comm-btn-right",children:[(0,n0.jsx)(Me,{style:{marginRight:"5px"},type:"primary",onClick:()=>p("confrim"),children:"Confirm"}),(0,n0.jsx)(Me,{onClick:()=>p("cancel"),children:"Cancel"})]})]})]})},PAo=con;async function NDe(t){if(isNaN(t==null?void 0:t.pinLen)){let i=(await C.messageBus.rpcCall("pro-sch/schlibwizard_templatePinInfo")).message.pinLength||void 0;isNaN(i)||(i=np.convert(i,10,1e3),t||(t={}),t.pinLen=i)}let e=Object.assign({},kAo,t);return await le.open({id:e.id,title:e.title,width:e.width,height:e.height,closed:e.closed,children:(0,OAo.createElement)(PAo,{params:e})})}async function RAo(t,e){let{componentItem:i,path:o,deviceList:r,deviceListSelectedIds:n,libListSelectedIds:a,libList:s,padNumberList:l}=t,c=[...r];if(!n||!n.length){De({type:"info",msg:me.i18n("Please check at least one component."),timer:2.5});return}vt(.1,"FOOTPRINTMANAGER_DIALOG_CONFIRM");let d=null,u=!1,p=Ft(s,"id",a[0]),m=[];if(p.index>=0&&p.data.key==="project"&&(u=!0),u)d=i;else try{let y=(i==null?void 0:i.path)===C.currentProject.projectId,w=a[0];[_e.RECENT_LIB_UUID].includes(o)&&(w=yr(i)),d=i&&y?i:await Ze.createFootprint({path:C.currentProject.projectId,isProject:!0,footprint:{uuid:i.uuid,isProject:y,path:w}})}catch(b){console.error(b)}if(vt(.3,"FOOTPRINTMANAGER_DIALOG_CONFIRM"),!d||!d.uuid){vt(1,"FOOTPRINTMANAGER_DIALOG_CONFIRM");return}let h=(await C.windowBridge.rpcCall("getAllSymbolPathPermissionBySchUuid",he.getTopActiveSchematicId(),ko())).message||{},f=[],g={};for(let b=0;b<c.length;b++){let y=c[b];if(!y.$id||n.indexOf(y.$id)<=-1)continue;let w=Object.keys(y.mapTabId2DomId);for(let x=0;x<w.length;x++){let S=w[x];g[S]||(g[S]={});let T=y.mapTabId2Path[S];if(h[T]||y.disabledRow){let M=y.mapTabId2DomId[S];for(let I=0;I<M.length;I++){let A=M[I];m.push(tw({text:y.designator,attr:{sheet:ePe(w[x]),id:A,type:"rect"}}))}}else{let M=y.mapTabId2DomId[S];for(let I=0;I<M.length;I++){let A=M[I];g[S][A]||(g[S][A]={Footprint:{value:d.uuid,displayTitle:d.display_title}})}}}y.footprintItemTitle=d.display_title,y.footprintItem=d,y.padNumberList=l,y.isError=!1,y.information=mc.NORMAL.msg(),y.errorType=mc.NORMAL.type,f.push(y)}CO(f),vt(.6,"FOOTPRINTMANAGER_DIALOG_CONFIRM"),C.messageBus.publish("sch/setProperty",{data:g}),vt(.8,"FOOTPRINTMANAGER_DIALOG_CONFIRM"),C.messageBus.publish("ui/footprint/ftpdialog/refreshDeviceList",c),C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.FOOTPRINT_REPLACE,content:{},project_uuid:C.currentProject.projectId}]),window.setTimeout(()=>{m.length?(De({type:"error",msg:me.i18n("Some content does not have editing privileges."),timer:2.5,bottomBarMsg:"log",btnClickedCallback:b=>{b===1&&C.messageBus.publish("ui/footprint/ftpdialog/close",null)}}),Ot("error",Ti("Some content does not have editing privileges\uFF1A{checkoutLink}.",{params:{checkoutlink:m.join("\u3001")}}),"Log")):De({type:"success",msg:"Update successfully!",timer:2.5}),vt(1,"FOOTPRINTMANAGER_DIALOG_CONFIRM")})}var elt=!1;async function tlt(){if(elt)return;elt=!0;let{deviceListOriginal:t,deviceListSorted:e,deviceListSelectedIds:i}=await drt();return await jX({callScenType:"SCH_CANVAS",path:"",searchInputValue:"",deviceList:e,deviceListSelectedIds:i,wantSelectedLibItemId:"",isFromProject:!0,windowInstance:dl.value,onDialogOpen(){},onDialogCancel(){elt=!1},onDialogClose(){},onDialogClosed(){elt=!1},async onDialogConfirm(r){RAo(r,t)}})}var _Ao=L(Se());var mQ=L(z());function aYt(t,e){let i=[];for(let o of t)if(String(o.title).includes(e)){let r={id:o.id,title:o.title,children:[]};r.children=aYt(o.children,e),i.push(r)}else{let r=aYt(o.children,e);i.push(...r)}return i}var don=t=>{let{id:e,displayId:i,name:o}=t;return`${Rr("Combination")} ${(i||e).replace("e","")}`+(o?":"+o:"")};function jAo(t){for(let e of t)e.title=e.title||don(e),jAo(e.children);return t}var ilt="";function uon(t){let e=jAo(t.tree),[i,o]=(0,_Ao.useState)(e);ilt=i.length?i[0].id+"":"";let r={data:i,onClick(a,s,l){ilt=a[0]},selectedIds:[ilt]},n=J();return(0,mQ.jsxs)("div",{style:{maxHeight:"400px"},children:[(0,mQ.jsxs)("div",{style:{display:"flex",alignItems:"center",marginBottom:"1em"},children:[(0,mQ.jsx)("div",{style:{marginRight:"0.5em"},children:n("Group Name")}),(0,mQ.jsx)("div",{style:{flex:1},children:(0,mQ.jsx)(Ws,{onUpdateInputValue(a,s){let l=aYt(e,a);o(l)}})})]}),(0,mQ.jsx)(fxe,{...r})]})}var nYt="panel-combination-join-dialog";async function sYt(){let t=await Pt(kt.Panel.GetCombineData);le.open({id:nYt,title:"Join Group",width:400,height:"auto",closed:!0,children:(0,mQ.jsx)(uon,{tree:t}),esc:!0,folded:!0,footer:!0,onOk(){le.close(nYt),kr("joinGroup",[ilt])},onCancel(){le.close(nYt)}})}var lYt=class extends qe{constructor(){super(...arguments);this._isAdvanceMode=!1;this._row=3;this._column=4;this.cellProperty={isDrawMode:!0,height:{value:.4,default:.4,unit:"inch"},width:{value:.8,default:.8,unit:"inch"},strokeColor:{value:null,default:()=>this.theme.color.table},strokeWidth:{value:null,default:()=>+this.theme.shape.table.width},fillColor:{value:null,default:()=>{let i=dt();return i===ve.PART?this.theme.fillColor.symbol:pr(i)?"none":this.theme.fillColor.table}}};this.textProperty={color:{value:null,default:()=>this.theme.fontStyle.table.fontColor},fontSize:{value:null,default:()=>io(+this.theme.fontStyle.table.fontSize,"pixel","inch"),unit:"inch"},lineHeight:{value:null,default:()=>+this.theme.fontStyle.table.lineHeight},fontFamily:{value:null,default:()=>this.theme.fontStyle.table.fontFamily},fontWeight:{value:null,default:()=>!!+this.theme.fontStyle.table.fontWeight},italic:{value:null,default:()=>!!+this.theme.fontStyle.table.fontItalic},underline:{value:null,default:()=>!!+this.theme.fontStyle.table.fontUnderline},textAlign:{value:null,default:()=>{switch(this.theme.fontStyle.table.textAlign){case"left":return 0;case"center":return 1;case"right":return 2;default:return 0}}},verticalAlign:{value:null,default:()=>{switch(this.theme.fontStyle.table.verticalAlign){case"top":return 0;case"middle":return 1;case"right":return 2;default:return 0}}}};this.rowColumnValidator=i=>Number.isSafeInteger(i)&&this.minNumberWidthUnitValidator(i,1);this.cellWidthHeightValidator=i=>this.minNumberWidthUnitValidator(i,{value:.1,unit:"inch"});this.textFontSizeValidator=i=>this.minNumberWidthUnitValidator(i,{value:.05,unit:"inch"})}get isAdvanceMode(){return this._isAdvanceMode}set isAdvanceMode(i){this._isAdvanceMode=i,this.notify()}resetRowColumn(){this._row=3,this._column=4}get row(){return this._row}set row(i){this._row=i,this.notify()}get column(){return this._column}set column(i){this._column=i,this.notify()}set isDrawMode(i){this.cellProperty.isDrawMode=i,this.notify()}get cellWidth(){return fo(io(this.cellProperty.width.value,this.cellProperty.width.unit,Vo()),Vo())}set cellWidth(i){this.cellProperty.width.value=fo(io(i,Vo(),this.cellProperty.width.unit),this.cellProperty.width.unit),this.notify()}get cellHeight(){return fo(io(this.cellProperty.height.value,this.cellProperty.height.unit,Vo()),Vo())}set cellHeight(i){this.cellProperty.height.value=fo(io(i,Vo(),this.cellProperty.height.unit),this.cellProperty.height.unit),this.notify()}get cellStrokeColor(){return this.cellProperty.strokeColor.value||this.cellProperty.strokeColor.default()}set cellStrokeColor(i){this.cellProperty.strokeColor.value=i,this.notify()}get cellStrokeWidth(){return this.cellProperty.strokeWidth.value||this.cellProperty.strokeWidth.default()}set cellStrokeWidth(i){this.cellProperty.strokeWidth.value=i,this.notify()}get cellFillColor(){return this.cellProperty.fillColor.value||this.cellProperty.fillColor.default()}set cellFillColor(i){this.cellProperty.fillColor.value=i,this.notify()}get theme(){let i=zb();return i[i.activeTheme]}get fontStyleSelectList(){return[{class:"icon-eda-text-bold icon-span",active:this.textFontWeight,handler:i=>{this.textFontWeight=i}},{class:"icon-eda-text-italic icon-span",active:this.textItalic,handler:i=>{this.textItalic=i}},{class:"icon-eda-text-underline icon-span",active:this.textUnderline,handler:i=>{this.textUnderline=i}}]}get textAlign(){return Kr(this.textProperty.textAlign.value)?this.textProperty.textAlign.default():this.textProperty.textAlign.value}set textAlign(i){this.textProperty.textAlign.value=i,this.notify()}get verticalAlign(){return Kr(this.textProperty.verticalAlign.value)?this.textProperty.verticalAlign.default():this.textProperty.verticalAlign.value}set verticalAlign(i){this.textProperty.verticalAlign.value=i,this.notify()}get textColor(){return this.textProperty.color.value||this.textProperty.color.default()}set textColor(i){this.textProperty.color.value=i,this.notify()}get textFontSize(){let i=this.textProperty.fontSize.value||this.textProperty.fontSize.default();return fo(io(i,this.textProperty.fontSize.unit,Vo()),Vo())}set textFontSize(i){this.textProperty.fontSize.value=fo(io(i,Vo(),this.textProperty.fontSize.unit),this.textProperty.fontSize.unit),this.notify()}get textFontWeight(){return Kr(this.textProperty.fontWeight.value)?this.textProperty.fontWeight.default():this.textProperty.fontWeight.value}set textFontWeight(i){this.textProperty.fontWeight.value=i,this.notify()}get textItalic(){return Kr(this.textProperty.italic.value)?this.textProperty.italic.default():this.textProperty.italic.value}set textItalic(i){this.textProperty.italic.value=i,this.notify()}get textUnderline(){return Kr(this.textProperty.underline.value)?this.textProperty.underline.default():this.textProperty.underline.value}set textUnderline(i){this.textProperty.underline.value=i,this.notify()}get textLineHeight(){return this.textProperty.lineHeight.value||this.textProperty.lineHeight.default()}set textLineHeight(i){this.textProperty.lineHeight.value=i,this.notify()}get textFontFamily(){return this.textProperty.fontFamily.value||this.textProperty.fontFamily.default()}set textFontFamily(i){this.textProperty.fontFamily.value=i,this.notify()}minNumberWidthUnitValidator(i,o){let r=0,n="";return typeof o=="number"?r=o:(n=Vo(),r=fo(io(o.value,o.unit,n),n)),i<r?(C.messageBus.publish("ui/toastMsg",{type:"warn",msg:{text:"Please enter a value not less than {value}!",i18nParam:{value:r+n}},timer:3}),!1):!0}resetStyle(){this.textProperty.textAlign.value=null,this.textProperty.verticalAlign.value=null,this.textProperty.underline.value=null,this.textProperty.italic.value=null,this.textProperty.fontWeight.value=null,this.textProperty.fontSize.value=null,this.textProperty.fontFamily.value=null,this.textProperty.lineHeight.value=null,this.textProperty.color.value=null,this.cellProperty.isDrawMode=!0,this.cellProperty.width.value=this.cellProperty.width.default,this.cellProperty.height.value=this.cellProperty.height.default,this.cellProperty.fillColor.value=null,this.cellProperty.strokeWidth.value=null,this.cellProperty.strokeColor.value=null,this.resetRowColumn(),this.notify()}async confirm(){let i={isDrawMode:this.cellProperty.isDrawMode,row:this.row,column:this.column,cellProperty:{height:io(this.cellProperty.height.value,this.cellProperty.height.unit,"pixel"),width:io(this.cellProperty.width.value,this.cellProperty.width.unit,"pixel"),strokeColor:this.cellProperty.strokeColor.value,strokeWidth:this.cellProperty.strokeWidth.value,fillColor:this.cellProperty.fillColor.value},textProperty:{color:this.textProperty.color.value,lineHeight:this.textProperty.lineHeight.value,fontSize:this.textProperty.fontSize.value,fontFamily:this.textProperty.fontFamily.value,italic:this.textProperty.italic.value,fontWeight:this.textProperty.fontWeight.value,underline:this.textProperty.underline.value,textAlign:this.textProperty.textAlign.value,verticalAlign:this.textProperty.verticalAlign.value}},o=i.isDrawMode?"draw(table)":"place_part(table)";return et(o,i),!0}},An=new lYt;var BAo=L(Se());var VE=L(z());function cYt(){let t=J();return Ce(An),(0,VE.jsxs)("div",{className:["more-setting",An.isAdvanceMode?"advanced":""].join(" "),onClick:()=>{An.isAdvanceMode=!An.isAdvanceMode},style:{width:"max-content"},children:[(0,VE.jsx)("span",{"data-test":"More Setting",children:t("More Setting")}),(0,VE.jsx)("i",{})]})}function dYt(){let t=(0,BAo.useRef)(bt["sch-table"].containerId),e=J();Ce(An);let i=async()=>{await An.confirm()&&le.close(t.current)},o=()=>{le.close(t.current),C.messageBus.publish("selectedAction"),C.messageBus.publish("setTopBarItemChecked",[])},r=()=>{An.resetStyle()};return(0,VE.jsxs)("footer",{className:"sch-table-footer",style:{width:"100%",display:"flex",justifyContent:"space-between",alignItems:"center"},children:[!An.isAdvanceMode&&(0,VE.jsx)(cYt,{}),(0,VE.jsxs)("div",{style:{display:"flex",flex:1,justifyContent:"space-between"},children:[(0,VE.jsx)("div",{children:An.isAdvanceMode&&(0,VE.jsx)(Me,{class:"reset-btn",onClick:r,children:"Reset Default Style"})}),(0,VE.jsxs)("div",{children:[(0,VE.jsx)(Me,{type:"primary",class:"confirm-btn",onClick:i,style:{marginRight:"16px"},children:"Confirm"}),(0,VE.jsx)(Me,{class:"cancel-btn",onClick:o,children:"Cancel"})]})]})]})}var olt=L(Se());var zAo=L(Se());var Jle=L(z());function FAo(){let t=J();Ce(An);let e=(0,zAo.useMemo)(()=>[{title:"Rows",value:An.row,key:"row",focus:!0},{title:"Columns",value:An.column,key:"column"}],[An.row,An.column]);return(0,Jle.jsx)("div",{className:"div-layer border hasborder",children:e.map(({title:i,key:o,value:r,focus:n})=>(0,Jle.jsxs)("div",{className:"list-layer",children:[(0,Jle.jsx)("em",{className:"list-title",children:t(i)}),(0,Jle.jsx)("div",{className:"list-content","data-test":i,children:(0,Jle.jsx)(E1,{focus:n,value:+r,validator:An.rowColumnValidator,unit:"",onChange:a=>{An[o]=a}})})]},o))})}var kDe=L(Se());var UAo=L(z());function pon(t,e,i){let o=ue.deepClone(t);for(let r=0;r<o.length;r++)o[r].value===e&&(o[r].value=o[r].value+i,o[r].text=o[r].text+i);return o}var mon="(Default)";function dte(t){let e=J(),[i,o]=(0,kDe.useState)(t.value),[r,n]=(0,kDe.useState)(t.list),a=e(mon);return(0,kDe.useEffect)(()=>{let s=t.value,l=t.list;t.defaultValue!==void 0&&(l=pon(t.list,t.defaultValue,a),t.value===t.defaultValue&&(s=t.defaultValue+a)),o(s),n(l)},[t.value,t.defaultValue,t.list]),(0,UAo.jsx)(xt,{...t,value:i,list:r,onChange:s=>{var d;let l=s.lastIndexOf(a),c=!!~l;(d=t.onChange)==null||d.call(t,c?s.slice(0,l):s,c)}})}var n1=L(z());function VAo(){let t=J();Ce(An);let e=["1","2","3","4","5","6","7","8","9","10"].map(i=>({value:i,text:i}));return(0,n1.jsxs)("div",{className:"div-layer border fidldset-item",children:[(0,n1.jsx)("div",{className:"fidldset-legend",children:t("Cell Attributes")}),(0,n1.jsx)("div",{className:"list-layer",children:(0,n1.jsx)(qt,{checked:An.cellProperty.isDrawMode,onChange:i=>{An.isDrawMode=i},children:t("Mouse determines cell size")})}),(0,n1.jsxs)("div",{className:"layer-main cell-property-main",children:[(0,n1.jsxs)("div",{className:"list-layer",children:[(0,n1.jsx)("em",{className:"list-title",children:t("Row Height")}),(0,n1.jsx)("div",{className:"list-content","data-test":"row-height",children:(0,n1.jsx)(E1,{disabled:An.cellProperty.isDrawMode,value:An.cellHeight,unit:Vo(),validator:i=>An.cellWidthHeightValidator(i),onChange:i=>{An.cellHeight=+i}})})]}),(0,n1.jsxs)("div",{className:"list-layer",children:[(0,n1.jsx)("em",{className:"list-title",children:t("Column Width")}),(0,n1.jsx)("div",{className:"list-content","data-test":"column-width",children:(0,n1.jsx)(E1,{disabled:An.cellProperty.isDrawMode,value:An.cellWidth,unit:Vo(),validator:i=>An.cellWidthHeightValidator(i),onChange:i=>{An.cellWidth=+i}})})]}),(0,n1.jsxs)("div",{className:"list-layer",children:[(0,n1.jsx)("em",{className:"list-title",children:t("Color")}),(0,n1.jsx)("div",{className:"list-content","data-test":"color",children:(0,n1.jsx)(vp,{color:An.cellStrokeColor,defaultColor:An.cellProperty.strokeColor.default(),onChange:i=>{An.cellStrokeColor=i},needRefresh:!1})})]}),(0,n1.jsxs)("div",{className:"list-layer",children:[(0,n1.jsx)("em",{className:"list-title",children:t("Line Width")}),(0,n1.jsx)("div",{className:"list-content","data-test":"line-width",children:(0,n1.jsx)(dte,{defaultValue:String(An.cellProperty.strokeWidth.default()),value:String(An.cellStrokeWidth),list:e,onChange:(i,o)=>{An.cellStrokeWidth=o?null:+i}})})]}),(0,n1.jsxs)("div",{className:"list-layer",children:[(0,n1.jsx)("em",{className:"list-title",children:t("Fill Color")}),(0,n1.jsx)("div",{className:"list-content","data-test":"fill-color",children:(0,n1.jsx)(vp,{color:An.cellFillColor,defaultColor:An.cellProperty.fillColor.default(),onChange:i=>{An.cellFillColor=i},needRefresh:!1})})]})]})]})}var Dye=L(Se());var md=L(z()),hon=Array.from({length:11}).map((t,e)=>{let i=li.toFixed(1+e*.1,1)+"";return{value:i,text:i}});function fon(t){let[e,i]=(0,Dye.useState)(()=>t.list);return(0,Dye.useEffect)(()=>{i([...t.list])},[t.list]),(0,md.jsx)("div",{style:{display:"flex",width:"100%"},children:e.map((o,r)=>(0,md.jsx)("div",{className:[o.class,o.active?"selected":""].join(" "),style:{marginRight:"8px",backgroundPosition:"center center"},onMouseDown:n=>n.stopPropagation(),onClick:n=>{n.stopPropagation(),t.onChange(e,r)}},o.class))})}function HAo(){let t=J(),e=(0,Dye.useMemo)(()=>{let n=Wi("COMM_TYPEFACE","commonlyList");return Array.isArray(n)?n.map(({title:a})=>({value:a,text:a})):[]},[]);function i(n,a){n[a].handler(!n[a].active)}function o(n){An.textAlign=n}function r(n){An.verticalAlign=n}return Ce(An),(0,md.jsxs)("div",{className:"div-layer border fidldset-item",children:[(0,md.jsx)("div",{className:"fidldset-legend",children:t("Text Attributes")}),(0,md.jsxs)("div",{className:"layer-main cell-property-main",children:[(0,md.jsxs)("div",{className:"list-layer",children:[(0,md.jsx)("em",{className:"list-title",children:t("Color")}),(0,md.jsx)("div",{className:"list-content","data-test":"color",children:(0,md.jsx)(vp,{color:An.textColor,defaultColor:An.textProperty.color.default(),onChange:n=>{An.textColor=n},needRefresh:!1})})]}),(0,md.jsxs)("div",{className:"list-layer",children:[(0,md.jsx)("em",{className:"list-title",children:t("Row Sapcing")}),(0,md.jsx)("div",{className:"list-content","data-test":"row-sapcing",children:(0,md.jsx)(dte,{defaultValue:String(An.textProperty.lineHeight.default()),value:String(An.textLineHeight),list:hon,onChange:(n,a)=>{An.textLineHeight=a?null:+n}})})]}),(0,md.jsxs)("div",{className:"list-layer",children:[(0,md.jsx)("em",{className:"list-title",children:t("Font Size")}),(0,md.jsx)("div",{className:"list-content","data-test":"font-size",children:(0,md.jsx)(or,{originUnit:Vo(),dValue:String(An.textProperty.fontSize.default()),value:An.textFontSize.toString(),inputUnit:Vo(),validatedValue:n=>({isValid:An.textFontSizeValidator(n),value:n}),onChange:n=>{An.textFontSize=+n}})})]}),(0,md.jsxs)("div",{className:"list-layer",children:[(0,md.jsx)("em",{className:"list-title",children:t("Font Family")}),(0,md.jsx)("div",{className:"list-content","data-test":"font-family",children:(0,md.jsx)(dte,{defaultValue:String(An.textProperty.fontFamily.default()),value:String(An.textFontFamily),list:e,onChange:(n,a)=>{An.textFontFamily=a?null:n}})})]}),(0,md.jsxs)("div",{className:"list-layer",children:[(0,md.jsx)("em",{className:"list-title",children:t("Font Style")}),(0,md.jsx)("div",{className:"list-content","data-test":"font-style",children:(0,md.jsx)(fon,{list:An.fontStyleSelectList,onChange:i})})]}),(0,md.jsxs)("div",{className:"list-layer",children:[(0,md.jsx)("em",{className:"list-title list-title-null",children:t("")}),(0,md.jsx)("div",{className:"list-content"})]}),(0,md.jsxs)("div",{className:"list-layer",children:[(0,md.jsx)("em",{className:"list-title",children:t("Horizontal Align")}),(0,md.jsx)("div",{className:"list-content","data-test":"horizontal-align",children:(0,md.jsx)(dV,{value:An.textAlign,type:"horizontal",onChange:o})})]}),(0,md.jsxs)("div",{className:"list-layer",children:[(0,md.jsx)("em",{className:"list-title",children:t("Vertical Align")}),(0,md.jsx)("div",{className:"list-content","data-test":"vertical-align",children:(0,md.jsx)(dV,{value:An.verticalAlign,type:"vertical",onChange:r})})]})]})]})}var hQ=L(z());function gon(){let t=bt["sch-table"],{containerId:e,title:i,width:o,height:r,closed:n}=t,a=(0,olt.useRef)(An.isAdvanceMode),s=J();return Ce(An),(0,olt.useEffect)(()=>{if(a.current===An.isAdvanceMode)return;a.current=An.isAdvanceMode;let l=gm(),{left:c,top:d}=XHt();l.style.setProperty("left",c+"px"),l.style.setProperty("top",d+"px")},[An.isAdvanceMode]),(0,hQ.jsxs)("div",{children:[(0,hQ.jsx)(FAo,{}),An.isAdvanceMode&&(0,hQ.jsx)(cYt,{}),An.isAdvanceMode&&(0,hQ.jsx)(VAo,{}),An.isAdvanceMode&&(0,hQ.jsx)(HAo,{})]})}var bon={footer:()=>(0,hQ.jsx)(dYt,{}),main:()=>(0,hQ.jsx)(gon,{})},uYt=bon;async function pYt(t){let e=bt["sch-table"],{containerId:i,title:o,width:r,height:n,closed:a}=e;le.open({id:i,title:o,width:r,closed:a,footer:uYt.footer(),folded:!0,children:uYt.main(),esc:!0,onKeyup(s){s.key==="Enter"?setTimeout(()=>{An.confirm().then(l=>{l&&le.close()})}):s.key==="Escape"&&(C.messageBus.publish("selectedAction"),C.messageBus.publish("setTopBarItemChecked",[]))},visibilityChange(s){s?C.messageBus.publish("setTopBarItemChecked",[t]):C.messageBus.publish("selectedAction")},onClose(){C.messageBus.publish("setTopBarItemChecked",[])}})}function GAo(){let t=Ob("extensionApi.userScriptList");if(t){let e=JSON.parse(t);Xm.setNewList(e)}e4o()}async function YAo(){_ho()}function WAo(t){C.extensionApiMessageBus2.publish("extensionApi.callFunctionInExtension",t)}var ZAo=L(Se());var mYt=L(KAo());var OL=L(z()),hYt="dlgDeleteObjs-new";function yon(){le.close(hYt)}function won(t){Ae(mYt.default);let{locals:e}=mYt.default,i=J(),[o,r]=(0,ZAo.useState)(t.config);function n(){let l=[];for(let c of o)c.checked&&l.push(c.cmdkey);l=l.filter(c=>c!=="all"),C.messageBus.publish("deleteObjsHandler",l),le.close(hYt)}function a(l,c){let d;l==="all"&&(c&&(d=!0),c||(d=!1));for(let p of o){if(d===!0){p.checked=!0;continue}if(d===!1){p.checked=!1;continue}p.cmdkey===l&&(p.checked=c)}let u=!0;for(let p of o)p.cmdkey!=="all"&&(p.checked||(u=!1));o[0].checked=u,r([...o])}return(0,OL.jsxs)(OL.Fragment,{children:[(0,OL.jsx)("div",{style:{border:"1px solid var(--common-border-color-1)",padding:"16px",marginBottom:"16px"},children:o.map(l=>(0,OL.jsx)("div",{className:be(e["form-item"],{[e["border-bottom"]]:l.cmdkey==="all"}),children:(0,OL.jsxs)("label",{className:e.label,children:[(0,OL.jsx)($p,{defaultChecked:l.checked,onChange:c=>{a(l.cmdkey,c)}}),(0,OL.jsx)("span",{"data-test":l.i18n,children:i(l.i18n)})]})},l.cmdkey))}),(0,OL.jsxs)("div",{style:{display:"flex",gap:5,justifyContent:"flex-end"},children:[(0,OL.jsx)(Me,{type:"primary",onClick:n,children:"Confirm"}),(0,OL.jsx)(Me,{onClick:yon.bind(this),children:"Cancel"})]})]})}var Con=[{i18n:"Select All",cmdkey:"all",checked:!1},{i18n:"Symbol",cmdkey:"symbol",forWorking:[2,3,14,4,5,15,Ee.SCH_INSTANCE].join(","),checked:!1},{i18n:"Wire and Bus",cmdkey:"netGroup",forWorking:[2,3,14,4,5,15,Ee.SCH_INSTANCE].join(","),checked:!1},{i18n:"Text",cmdkey:"text",unForWorking:"1",checked:!1},{i18n:"Pin",cmdkey:"pin",forWorking:[Ee.PART,Ee.NETFLAG,Ee.NETPORT,Ee.NONEELEC_SYMBOL].join(","),checked:!1},{i18n:"Arc",cmdkey:"arc",unForWorking:"1",checked:!1},{i18n:"Rectangle",cmdkey:"rect",unForWorking:"1",checked:!1},{i18n:"Circle",cmdkey:"circle",unForWorking:"1",checked:!1},{i18n:"Polyline",cmdkey:"polyline",unForWorking:"1",checked:!1},{i18n:"Image",cmdkey:"image",unForWorking:"1",checked:!1}];function fYt(){let t={config:ue.deepClone(Con).filter(e=>e.forWorking?e.forWorking.split(",").includes(Po.workingMode):!0).filter(e=>e.unForWorking?!e.unForWorking.split(",").includes(Po.workingMode):!0)};le.open({id:hYt,title:"Delete Objects",width:300,height:"auto",closed:!0,children:(0,OL.jsx)(won,{...t}),esc:!0})}var Eye=L(Se());var bYt=L(qAo());var gYt=class extends qe{constructor(){super(...arguments);this._title="";this._description="";this._namePrefix="_";this.errorMsg=""}get usedTitle(){return`${this._namePrefix}${this._title}`}get title(){return this._title}set title(i){this._title=i,this.notify()}get description(){return this._description}set description(i){this._description=i,this.notify()}get namePrefix(){return this._namePrefix}async init(){Je?this._namePrefix="":this._namePrefix=`${Pr.name}_`}setTitleError(i){this.errorMsg=i,this.notify()}},Nw=new gYt;var q5=L(z());function Ton(){Ae(bYt.default);let{locals:t}=bYt.default,e=be.bind(t),i=J(),o=(0,Eye.useRef)(null);return Ce(Nw),(0,Eye.useEffect)(()=>{o==null||o.current.focus()},[]),(0,q5.jsx)("div",{className:e("gray-dialog-border"),children:(0,q5.jsxs)("div",{className:e("grid-area"),children:[(0,q5.jsxs)("span",{"data-test":"Title:",children:[i("Title"),":"]}),(0,q5.jsxs)("span",{className:e("title"),children:[Je?null:(0,q5.jsx)("span",{className:e("title-prefix"),title:Nw.namePrefix,children:Nw.namePrefix}),(0,q5.jsx)("input",{className:e("title-input"),ref:o,type:"text",spellCheck:!1,maxLength:50,defaultValue:Nw.title,onChange:r=>{let n=r.target.value.length;n!==0&&n<2||n>=50?Nw.setTitleError("Backup name length limit 2-50."):Nw.setTitleError(""),Nw.title=r.target.value}})]}),(0,q5.jsx)("span",{children:" "}),(0,q5.jsx)("span",{style:{color:"red",display:"inline-block",height:"16px",margin:"8px 0"},children:i(Nw.errorMsg?Nw.errorMsg:"")}),!Je&&(0,q5.jsxs)(q5.Fragment,{children:[(0,q5.jsxs)("span",{"data-test":"Description:",children:[i("Description"),":"]}),(0,q5.jsx)("span",{children:(0,q5.jsx)("textarea",{rows:3,defaultValue:Nw.description,onChange:r=>{Nw.description=r.target.value}})})]})]})})}var XAo=Eye.default.memo(Ton);var $Ao=L(z());async function Son(){if(!dh(Nw.title,1))return!1;if(!/^[a-zA-Z0-9\u4e00-\u9fa5\-_\.]+$/.test(Nw.title))return Nw.setTitleError("Backup Name can only include letters, numbers, and dots, and -, and _ ");let{message:e}=await C.messageBus.rpcCall($e.PROJECT.GET_BRANCH_DATA,[C.currentProject.projectId]),{branch_uuid:i}=e,{message:o}=await C.messageBus.rpcCall(Ei.PROJECT.BACKUP_LIST,{uuid:C.currentProject.projectId,branch_uuid:i});if(o.success)return o.result.filter(n=>!n.auto).length>=10?(De({type:"error",msg:"Backup\xA0by manually have reached 10 times, please delete some backups and then try again",timer:3}),!1):!0;throw Error("\u5907\u4EFD\u5931\u8D25\uFF0C\u65E0\u6CD5\u83B7\u53D6\u5907\u4EFD\u5217\u8868\u6765\u68C0\u67E5\u5907\u4EFD\u6570\u91CF\u662F\u5426\u8FBE\u5230\u4E0A\u9650")}async function yYt(t=!1){let e=!1;await Nw.init(),le.open({id:pDe,title:"New Backup",width:520,closed:!0,remove:!0,children:(0,$Ao.jsx)(XAo,{}),footer:!0,onCancel:()=>{le.close(pDe)},onOk:async()=>{if(e)return;if(e=!0,!await Son()){e=!1;return}let{usedTitle:i,description:o}=Nw;mDe(t?"leftTree":"no",i,o).finally(()=>{e=!1,C.messageBus.publish("hideLoading")})}})}var wYt=L(tNo()),slt=L(Se());var X5=L(z()),{locals:alt}=wYt.default;function Mon(t){Ae(wYt.default);let e=J(),[i,o]=(0,slt.useState)("");return(0,slt.useEffect)(function(){async function r(){let{message:n}=await C.messageBus.rpcCall(Ei.OTHER.GET_EDITOR_VERSION),a=n.result;a&&au.compareVersion(a,au.getCurrentVersion())>1&&o(a)}r()}),(0,X5.jsxs)("div",{className:alt.container,children:[(0,X5.jsxs)("div",{children:[(0,X5.jsx)("div",{className:alt["messager-icon"]+" "+alt["messager-info2"]}),(0,X5.jsxs)("div",{className:alt["icon-right-div"],children:[(0,X5.jsxs)("div",{children:[(0,X5.jsx)("span",{"data-test":"EasyEDA Pro",children:e("EasyEDA Pro")}),(0,X5.jsx)("span",{className:"version",dangerouslySetInnerHTML:{__html:i}}),(0,X5.jsx)("span",{"data-test":"is ready, do you want to upgrade it immediately?",children:e("is ready, do you want to upgrade it immediately?")})]}),(0,X5.jsx)("div",{style:{color:"#999"},children:e("Update immediately will save the document and reload the editor\xA0automatically.")})]})]}),(0,X5.jsxs)("div",{style:{display:"flex",gap:5,justifyContent:"flex-end",marginTop:"10px"},children:[(0,X5.jsx)(Me,{onClick:()=>{window.open(C.HelpURL.updateNote,"_blank")},children:"View Update Notice"}),(0,X5.jsx)(Me,{type:"primary",onClick:()=>{tJe()},children:"Upgrade Immediately"}),(0,X5.jsx)(Me,{onClick:()=>{le.close(iNo)},children:"Cancel"})]})]})}var iNo="version-update-dialog-react";function CYt(t){le.open({id:iNo,title:"Notice",width:450,height:"auto",closed:!0,children:(0,X5.jsx)(Mon,{...t}),footer:!1,esc:!0,openCallback(){}})}var Ox=L(Se());var MYt=L(rNo());var lXu=(()=>{let t=location.host;return t.includes("devpro")||t.includes("localpro")?Xr?"https://dev.lceda.cn":"https://dev.easyeda.com":t.includes("alphapro")?Xr?"https://alpha.lceda.cn":"https://alpha.easyeda.com":Xr?"https://lceda.cn":"https://easyeda.com"})(),Hk={projects:"/api/std/projects?document=true",user:"/api/user",symbolTags:"/api/std/components/tags?uid=personal&docType=2",footprintTags:"/api/std/components/tags?uid=personal&docType=4",symbol:"/api/std/components?docType=2&uid&type=3",foontprint:"/api/std/components?docType=4&uid&type=3",componentStr:"/api/std/components/",docStr:"/api/std/documents/"};var sNo=L(Vi());var RL=L(Se());var xYt=L(aNo());function llt(t,e){var n,a,s;let{successResult:i,failedResult:o}=t,{ownerName:r}=e;if(o.devices){let l={};for(let c of o.devices){let{message:d,title:u}=c;l[d]=l[d]||[],l[d].push(u)}for(let c in l){let u=l[c].map(m=>Ti(c,{params:{libname:r,componentname:m}})),p=[Ti("Device Import failed:"),u.join("\u3001")];Ot("error",p,void 0,!0)}}if((n=i.devices)!=null&&n.length){let l=i.devices.map(d=>d.display_title||d.title),c=`<span class="i18n" i18n-params-nums="${l.length}">{nums} devices import successfully</span>:`+l.join(", ");Ot("info",c,void 0,!1)}if(o.symbols){let l={};for(let c of o.symbols){let{message:d,title:u}=c;l[d]=l[d]||[],l[d].push(u)}for(let c in l){let u=l[c].map(m=>Ti(c,{params:{libname:r,componentname:m}})),p=[Ti("Symbol Import failed:"),u.join("\u3001")];Ot("error",p,void 0,!0)}}if((a=i.symbols)!=null&&a.length){let l=i.symbols.map(d=>d.display_title||d.title),c=`<span class="i18n" i18n-params-nums="${l.length}">{nums} symbols import successfully</span>:`+l.join(", ");Ot("info",c,void 0,!1)}if(o.footprints){let l={};for(let c of o.footprints){let{message:d,title:u}=c;l[d]=l[d]||[],l[d].push(u)}for(let c in l){let u=l[c].map(m=>Ti(c,{params:{libname:r,componentname:m}})),p=[Ti("Footprint Import failed:"),u.join("\u3001")];Ot("error",p,void 0,!0)}}if((s=i.footprints)!=null&&s.length){let l=i.footprints.map(d=>d.display_title||d.title),c=`<span class="i18n" i18n-params-nums="${l.length}">{nums} footprints import successfully</span>:`+l.join(", ");Ot("info",c,void 0,!1)}}var a1=L(z()),clt="mulMigrateSymbolDlg",Ion=t=>{let{importData:e}=t,{dataStr:i,libs:o,options:r}=e,{symbols:n,footprints:a,devices:s}=o;Ae(xYt.default);let l=be.bind(xYt.default.locals),c=J(),d=(0,RL.useMemo)(()=>n.map(k=>k.title),[e]),[u,p]=(0,RL.useState)(0),[m,h]=(0,RL.useState)(C.workspace),[,f]=(0,RL.useState)(""),[g,b]=(0,RL.useState)(""),[y,w]=(0,RL.useState)(""),[x,S]=(0,RL.useState)(!1),[T,M]=(0,RL.useState)(!1),I="Symbols need to be associated with components before they can be placed on the schematic page by placing components",A=jf.getSymbolMode()=="2",[D,E]=(0,RL.useState)("three"),N=(0,RL.useMemo)(()=>[{value:"three",label:"New symbol, footprint and device"},{value:"device",label:"New devices only"},{value:"symbol",label:"New symbols only"}],[]),R=(0,RL.useCallback)((k,P)=>{f(k),w(P.args.owner),b(P.title)},[]);Ce(jf,()=>{let k=mt.getSymbolLibManage()=="2";return Np.setDigTitle(clt,k?"Import Symbol":"Import Component"),k&&E("three"),!0});let v=async()=>{let k=g,P=y,O=D,_={symbols:n,footprints:a,devices:s};if(M(!0),O==="three"){let j={data:i,target:{path:P,isProject:!1},override:_},B=await la.importLibs(j);llt(B,{ownerName:k})}else if(O==="device"){let j={data:i,target:{path:P,isProject:!1},override:_,filter:{symbol:!0,footprint:!0}},B=await la.importLibs(j);llt(B,{ownerName:k})}else{let j={data:i,target:{path:P,isProject:!1},override:_,filter:{device:!0,footprint:!0}},B=await la.importLibs(j);llt(B,{ownerName:k})}le.close(clt)};return(0,a1.jsxs)("div",{className:l("mulMigrateSymbolDlg-wrap"),children:[(0,a1.jsx)("table",{className:l("table"),style:{width:"100%"},cellPadding:"0",cellSpacing:"0",children:(0,a1.jsxs)("tbody",{children:[(0,a1.jsxs)("tr",{children:[(0,a1.jsx)("td",{className:l("label"),"data-test":"Owner",children:c("Owner")}),(0,a1.jsxs)("td",{style:{display:"flex"},children:[(0,a1.jsx)("div",{style:{width:"81%",position:"relative"},children:(0,a1.jsx)(sj,{refreshTicket:u,org_uuid:C.workspace,notFolder:!0,onSelectChange:R,reFreshCallback:()=>S(!1)})}),(0,a1.jsx)("span",{className:l("icon-eda-refresh",{rotateIcon:x}),"data-i18n-attr":"title",title:c("Refresh"),style:{width:"12px",height:"12px",cursor:"pointer",margin:"6px 8px 0 5px"},onClick:()=>{x||(p(u+1),S(!0))}}),(0,a1.jsx)("a",{className:l("create-team-link"),"data-key":"owner",href:`/account/user/team/create?from=editor&lang=${mt.toWorkSpaceNeedLang()}${m!=="Personal"?`&orguuid=${m}`:""}`,target:"_blank",style:{margin:"4px 0 0 8px",textDecoration:"none"},"data-test":"Create Team",onClick:k=>{wi&&(k.preventDefault(),window.electronAPI.openWindow(`${location.origin}/account/user/team/create?from=editor&lang=${mt.toWorkSpaceNeedLang()}${m!=="Personal"?`&orguuid=${m}`:""}`))},children:c("Create Team")})]})]}),(0,a1.jsxs)("tr",{children:[(0,a1.jsx)("td",{className:l("label"),"data-test":"Name",children:c("Name")}),(0,a1.jsx)("td",{children:(0,a1.jsx)(Kt,{value:d.join("\u3001"),style:{width:"81%"},disabled:!0})})]}),A&&(0,a1.jsxs)("tr",{children:[(0,a1.jsx)("td",{className:l("label importOptionLabel"),"data-test":"Import options",children:c("Import options")}),(0,a1.jsxs)("td",{className:l("importOptionContainer"),children:[(0,a1.jsx)("div",{className:l("radioGroup"),children:(0,a1.jsx)($i,{options:N,value:D,onChange:k=>E(k)})}),(0,a1.jsx)("div",{className:l("tips"),children:(0,a1.jsx)("span",{"data-test":I,children:c(I)})})]})]})]})}),(0,a1.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"8px"},children:[(0,a1.jsx)(Me,{size:"md",type:"primary",disabled:T,onClick:v,children:"Confirm"}),(0,a1.jsx)(Me,{size:"md",onClick:()=>le.close(clt),children:"Cancel"})]})]})},TYt=t=>{let e=mt.getSymbolLibManage()=="2";le.open({title:e?"Import Symbol":"Import Component",id:clt,width:600,esc:!0,mask:!1,children:(0,a1.jsx)(Ion,{importData:t})})};async function vR(t,e,i){return sNo.default.ajax({url:t,data:i,type:e})}function SYt(t){return t.replace(/&/,"&amp;")}var an=new class extends qe{constructor(){super(...arguments);this.activeTab="Project";this.pageSizeConfig=[50,100,150,200];this.pageSizeConfig1=[50,100,150,200,500,1e3];this.ownerData=[];this.showTips=!1;this.symbolTags=[];this.footprintTags=[];this.projectAttr={data:[],search:"",owner:"All",total:void 0,pageSize:50,pageStart:1,tag:""};this.symbolAttr={data:[],search:"",owner:"All",tag:"",total:void 0,pageSize:50,pageStart:1};this.footprintAttr={data:[],search:"",owner:"All",tag:"",total:void 0,pageSize:50,pageStart:1}}recover(){an.projectAttr.data=[],an.projectAttr.owner="All",an.projectAttr.pageSize=50,an.projectAttr.pageStart=1,an.projectAttr.total=void 0,an.projectAttr.search="",an.symbolAttr.data=[],an.symbolAttr.owner=_o(),an.symbolAttr.pageSize=200,an.symbolAttr.pageStart=1,an.symbolAttr.total=void 0,an.symbolAttr.tag="All",an.symbolAttr.search="",an.footprintAttr.data=[],an.footprintAttr.owner=_o(),an.footprintAttr.pageSize=200,an.footprintAttr.pageStart=1,an.footprintAttr.total=void 0,an.footprintAttr.tag="All",an.footprintAttr.search=""}getActiveTabAttr(i){switch(i){case"Symbol":return this.symbolAttr;case"Footprint":return this.footprintAttr;default:return this.projectAttr}}setSearchValue(i,o){switch(o){case"Project":this.projectAttr.search=i;break;case"Symbol":this.symbolAttr.search=i;break;case"Footprint":this.footprintAttr.search=i;break}}setOwnerSelect(i,o){switch(o){case"Project":this.projectAttr.owner=i;break;case"Symbol":this.symbolAttr.owner=i;break;case"Footprint":this.footprintAttr.owner=i;break}this.notify()}setTagSelect(i,o){switch(o){case"Symbol":this.symbolAttr.tag=i;break;case"Footprint":this.footprintAttr.tag=i;break}this.notify()}setPageSize(i,o){switch(o){case"Project":this.projectAttr.pageSize=i;break;case"Symbol":this.symbolAttr.pageSize=i;break;case"Footprint":this.footprintAttr.pageSize=i;break}this.notify()}setPageStart(i,o){switch(o){case"Project":this.projectAttr.pageStart=i;break;case"Symbol":this.symbolAttr.pageStart=i;break;case"Footprint":this.footprintAttr.pageStart=i;break}this.notify()}async updateOwner(){let{message:i}=await C.messageBus.rpcCall(Ei.OTHER.TEAMS);if(!i.success){i&&!i.success&&(i.code,Pm.UNAUTHORIZED),this.ownerData=[],this.notify();return}let o=await vR(Hk.user,"GET"),r=o.success?[o.result]:[],n=i.result.lists.concat(r);this.ownerData=n,this.notify()}async updateTags(){let i=await vR(Hk.symbolTags,"GET");i.success&&(this.symbolTags=i.result.lists);let o=await vR(Hk.footprintTags,"GET");o.success&&(this.footprintTags=o.result.lists),this.notify()}async getPrjData(){let i={page:this.projectAttr.pageStart,pageSize:this.projectAttr.pageSize,search:this.projectAttr.search,owner:this.projectAttr.owner==="All"?void 0:this.projectAttr.owner},o=await vR(Hk.projects,"GET",i);if(!o.success)return;let r=o.result.lists,n=[];r.forEach((a,s)=>{a.text=SYt(a.title);let l={id:a.uuid,No:s+1,name:a.text,owner:a.owner.nickname,uuid:a.owner.uuid,time:a.updated_at,documents:a.documents};n.push(l)}),this.projectAttr.data=n,this.projectAttr.total=o.result.total,this.notify()}async getSymbolData(){let i={page:this.symbolAttr.pageStart,pageSize:this.symbolAttr.pageSize,search:this.symbolAttr.search,owner:this.symbolAttr.owner==="All"?void 0:this.symbolAttr.owner,tag:this.symbolAttr.tag==="All"?void 0:[this.symbolAttr.tag]},o=await vR(Hk.symbol.replace("&uid",this.symbolAttr.owner==="All"?"":"&uid="+this.symbolAttr.owner),"GET",i);if(!o.success)return;let r=o.result.lists,n=[];r.forEach((a,s)=>{a.text=SYt(a.title);let l={id:a.uuid,datastrid:a.datastrid,No:s+1,name:a.text,footprint:a.dataStr.head.c_para.package,owner:a.owner.nickname,uuid:a.owner.uuid,time:ue.formatDate2(new Date(a.updateTime*1e3)),tags:a.tags,dataStr:a.dataStr};n.push(l)}),this.symbolAttr.data=n,this.symbolAttr.total=o.result.count,this.notify()}async getFootprintData(){let i={page:this.footprintAttr.pageStart,pageSize:this.footprintAttr.pageSize,search:this.footprintAttr.search,owner:this.footprintAttr.owner==="All"?void 0:this.footprintAttr.owner,tag:this.footprintAttr.tag==="All"?void 0:this.footprintAttr.tag},o=await vR(Hk.foontprint.replace("&uid",this.footprintAttr.owner==="All"?"":"&uid="+this.footprintAttr.owner),"GET",i);if(!o.success)return;let r=o.result.lists,n=[];r.forEach((a,s)=>{a.text=SYt(a.title);let l={id:a.uuid,datastrid:a.datastrid,No:s+1,name:a.text,owner:a.owner.nickname,uuid:a.owner.uuid,time:ue.formatDate2(new Date(a.updateTime*1e3)),tags:a.tags,dataStr:a.dataStr};n.push(l)}),this.footprintAttr.data=n,this.footprintAttr.total=o.result.count,this.notify()}getTableHeader(i){let o=me.i18n("No."),r=i==="Project"?me.i18n("Project Name"):me.i18n("Library name"),n=i==="Project"?me.i18n("Project Owner"):me.i18n("Library Owner"),a=me.i18n("Update Time"),s=me.i18n("Footprint"),l;return i==="Symbol"?l=[{name:o,key:"No",width:.06},{name:r,key:"name",width:.28,ellipsis:!0},{name:s,key:"footprint",width:.28,ellipsis:!0},{name:n,key:"owner",width:.19,ellipsis:!0},{name:a,key:"time",width:.19,ellipsis:!0}]:l=[{name:o,key:"No",width:.06},{name:r,key:"name",width:.56,ellipsis:!0},{name:n,key:"owner",width:.19,ellipsis:!0},{name:a,key:"time",width:.19,ellipsis:!0}],l}getTabRows(i){switch(i){case"Symbol":return an.symbolAttr.data;case"Footprint":return an.footprintAttr.data;default:return an.projectAttr.data}}updateData(i){switch(i){case"Project":this.getPrjData();break;case"Symbol":this.getSymbolData();break;case"Footprint":this.getFootprintData();break}}async getPrjDoc(i){let o=[],r=!1,n=0,a=i.length;return await Ro(i,async(s,l)=>{if(C.messageBus.publish("progressUpdate",[++n/a*.7,"Loading"]),l.docType===se.SCH&&!r){r=!0;let c=await vR(Hk.docStr+l.uuid,"GET");if(c.success){let d=c.result;o.push({fileName:d.title+".json",source:JSON.stringify(d),uuid:l.uuid})}}else if(l.docType===se.PCB){let c=await vR(Hk.docStr+l.uuid,"GET");if(c.success){let d=c.result;o.push({fileName:d.title+".json",source:JSON.stringify(d.dataStr),uuid:l.uuid})}}}),o}async getSymbolDoc(i){let o=[],r=0,n=i.length,a={},s={};return await Ro(i,async(l,c)=>{C.messageBus.publish("progressUpdate",[++r/n*.7,"Loading"]);let d=c.id,u=c.datastrid,p=await vR(Hk.componentStr+`${d}?uuid=${d}&datastrid=${u}`,"GET");if(!p.success)return;let m=p.result,h=m.dataStr;m.subparts&&m.subparts.length&&m.subparts.forEach(g=>{o.push({fileName:g.title+".json",source:JSON.stringify(g.dataStr),uuid:d})}),o.push({fileName:m.title+".json",source:JSON.stringify(h),uuid:d}),s[d]=c.tags;let f=h.head.puuid;if(f){let g=await vR(Hk.componentStr+`${f}?uuid=${f}`,"GET");if(!g.success)return;let b=g.result;o.push({fileName:b.title+".json",source:JSON.stringify(b.dataStr),uuid:f}),s[f]=b.tags,a[b.title]=a[b.title]||[],a[b.title].push(m.title)}}),{data:o,fMaps:a,tags:s}}async getFootprintolDoc(i){let o=[],r=0,n=i.length,a={};return await Ro(i,async(s,l)=>{C.messageBus.publish("progressUpdate",[++r/n*.7,"Loading"]);let c=l.id,d=l.datastrid,u=await vR(Hk.componentStr+`${c}?uuid=${c}&datastrid=${d}`,"GET");if(!u.success)return;let p=u.result;o.push({fileName:p.title+".json",source:JSON.stringify(p.dataStr),uuid:c}),a[c]=l.tags}),{data:o,tags:a}}async getEasyEDAInfo(i,o){let r=[];if(i==="Project")for(let n=0;n<o.length;n++){let a=o[n],s=await this.getPrjDoc(a.documents),l={title:a.name,isProject:!0},c={title:a.name,data:s,options:l};r.push(c)}else if(i==="Symbol"){let{data:n,fMaps:a,tags:s}=await this.getSymbolDoc(o),l={title:"Symbol",isSymbol:!0,fMaps:a,tags:s},c={title:"Symbol",data:n,options:l};r.push(c)}else if(i==="Footprint"){let{data:n,tags:a}=await this.getFootprintolDoc(o),s={title:"Footprint",isFootprint:!0,tags:a},l={title:"Footprint",data:n,options:s};r.push(l)}return r}async migrateProject(i,o){if(!i)return Ot("info",[Ti("Please select data again!")]),Aye();let{project:r}=i,n=`${r.config.title}_${ue.formatDate2(new Date,"migrateStandardProject")}`;US({projectName:n,dlgType:"migrateProject",projectData:r})}async migrateSymbol(i,o){var p,m;if(!i)return Ot("info",[Ti("Please select data again!")]),Aye();let{extension:r,project:n}=i,{tags:a}=o,s=this.reEncode(n.dataStr,o),l=await la.extractLibInfo({data:s}),{symbols:c=[],footprints:d=[],devices:u=[]}=l;if(r.projectDataCount.symbolSize===1){let h=a[(p=c[0])==null?void 0:p.uuid],f=a[(m=d[0])==null?void 0:m.uuid];CC({dataStr:s,deviceCategoryTitles:h,footprintCategoryTitles:f,symbolCategoryTitles:h})}else if(r.projectDataCount.symbolSize>1){for(let h of c)h.tags=this.parseTags(h.uuid,a);for(let h of d)h.tags=this.parseTags(h.uuid,a);for(let h of u)h.tags=this.parseTags(h.attributes.Symbol,a);TYt({dataStr:s,libs:l,options:o})}}reEncode(i,o){let{fMaps:r}=o,n=new __,a=n.flowParseFull();a.update(i),a.end();let s=n.getProject(),{devices:l={}}=s,c={};for(let d in l){let u=l[d],p=r[u.title];if(p){for(let m of p)c[m]=u.attributes.Footprint;delete l[d]}}for(let d in l){let u=l[d];c[u.title]&&(u.attributes.Footprint=c[u.title])}return phi(s)}async migrateFootprint(i,o){var p,m;if(!i)return Ot("info",[Ti("Please select data again!")]),Aye();let{extension:r,project:n}=i,{dataStr:a}=n,{tags:s}=o,l=await la.extractLibInfo({data:a}),{symbols:c=[],footprints:d=[],devices:u=[]}=l;if(r.projectDataCount.footprintSize===1){let h=s[(p=c[0])==null?void 0:p.uuid],f=s[(m=d[0])==null?void 0:m.uuid];CC({dataStr:a,deviceCategoryTitles:h,footprintCategoryTitles:f,symbolCategoryTitles:h})}else if(r.projectDataCount.footprintSize>1){for(let h of c)h.tags=this.parseTags(h.uuid,s);for(let h of d)h.tags=this.parseTags(h.uuid,s);for(let h of u)h.tags=this.parseTags(h.attributes.Symbol,s);TYt({dataStr:a,libs:l,options:o})}}parseTags(i,o){if(o[i]){let r=o[i].join(","),n=r.indexOf(",");if(n>-1){let a=[r.substring(0,n)],s=r.substring(n+1);return s&&a.push(s),a}else if(r)return[r]}return[]}};var xc=L(z()),dlt="migrateStandardDlg",lNo=null,von=()=>{let t=be.bind(MYt.default.locals),e=J();Ae(MYt.default),Ce(an);let[i,o]=(0,Ox.useState)(""),[r,n]=(0,Ox.useState)(null),[a,s]=(0,Ox.useState)([]),[l,c]=(0,Ox.useState)([]),[d,u]=(0,Ox.useState)(!0),[p,m]=(0,Ox.useState)(an.activeTab),{total:h,pageSize:f,pageStart:g,tag:b,owner:y}=an.getActiveTabAttr(p),w=an.showTips,x=an.symbolTags,S=an.footprintTags,T=an.ownerData,M=an.projectAttr.total,I=an.symbolAttr.total,A=an.footprintAttr.total,D=(0,Ox.useMemo)(()=>{let j=[];return x.forEach(B=>{B.uuid===y&&B.tags&&j.push(...B.tags)}),j.filter((B,V,G)=>G.indexOf(B)===V)},[x,y]),E=(0,Ox.useMemo)(()=>{let j=[];return S.forEach(B=>{B.uuid===y&&B.tags&&j.push(...B.tags)}),j.filter((B,V,G)=>G.indexOf(B)===V)},[S,y]),N=(0,Ox.useMemo)(()=>[{title:e("Project")+(M!==void 0?`(${M})`:""),key:"Project"},{title:e("Component")+(I!==void 0?`(${I})`:""),key:"Symbol"},{title:e("Footprint")+(A!==void 0?`(${A})`:""),key:"Footprint"}],[M,I,A]),R=(0,Ox.useMemo)(()=>p==="Project"?"Project Name:":"Library name:",[p]),v=(0,Ox.useMemo)(()=>p==="Project"?"Project Owner:":"Library Owner:",[p]),k=(0,Ox.useMemo)(()=>{if(p==="Project"){let j=[{value:"All",text:"All",showOriginalText:!1}];return T.forEach(B=>{j.push({value:B.uuid,text:B.nickname,showOriginalText:!0})}),j}return T.map(j=>({value:j.uuid,text:j.nickname,showOriginalText:!0}))},[T,p]),P=(0,Ox.useMemo)(()=>p==="Footprint"?E.map(j=>({value:j,text:j,showOriginalText:j!=="All"})):D.map(j=>({value:j,text:j,showOriginalText:j!=="All"})),[D,E,p]);(0,Ox.useEffect)(()=>((async()=>{switch(an.recover(),await an.updateOwner(),await an.updateTags(),p){case"Project":await an.getPrjData(),an.getSymbolData(),an.getFootprintData();break;case"Symbol":await an.getSymbolData(),an.getPrjData(),an.getFootprintData();break;case"Footprint":await an.getFootprintData(),an.getPrjData(),an.getSymbolData();break}u(!1)})(),()=>{an.recover()}),[]);let O=(j,B)=>{o(j),window.clearTimeout(lNo),lNo=window.setTimeout(()=>{an.setSearchValue(j,B),an.updateData(B)},500)},_=async()=>{let j=p==="Project"?[r]:p==="Symbol"?a:l;if(!j.length)return;let B="Loading";C.messageBus.publish("progressUpdate",[0,B]);let V=await an.getEasyEDAInfo(p,j);C.messageBus.publish("progressUpdate",[.7,B]);let G=[],Q=Object.keys(V).length;for(let H of V){if(Q--,!H.data.length){Ot("error",[Ti("Project \u3010{name}\u3011 has no content and cannot be migrated",{params:{name:H.title}})],void 0,!0);continue}let{data:q,options:U,title:F}=H,K="easyeda",te=null,ae=q,pe="easyeda-pro-2";RT({decodingOptions:{decodingType:K,decoderOptions:te,decodingData:ae},encodingOptions:{encodingType:pe,encoderOptions:{associate3D:!0}},projectName:F}).then(ee=>{if(ee&&G.push(ee),Q==0&&G.length){le.close(dlt);let ce=[];G.forEach((ne,oe)=>{if(ne.success){let re=ne.result;ce.push(re)}else Ot("error",[Ti(ne.message)],void 0,!0)}),p==="Project"?an.migrateProject(ce[0],U):p==="Symbol"?an.migrateSymbol(ce[0],U):p==="Footprint"&&an.migrateFootprint(ce[0],U)}Q==0&&C.messageBus.publish("progressUpdate",[1,"Loading"])})}C.messageBus.publish("progressUpdate",[1,"Loading"])};return(0,xc.jsxs)("div",{style:{position:"relative"},children:[(0,xc.jsx)("div",{className:t("tab-wrap"),children:(0,xc.jsx)(yl,{lists:N,activeKey:p,direction:"top",type:"card",onClick:j=>{if(!br()){le.close(dlt),De({type:"info",msg:"Please login first!",timer:3e3});let V=setTimeout(()=>{clearTimeout(V),Xo.login()},3e3);return}m(j),o(an.getActiveTabAttr(j).search),an.activeTab=j}})}),(0,xc.jsxs)("div",{className:t("tabContainer"),children:[w&&(0,xc.jsxs)("div",{className:t("tips redFont"),children:[(0,xc.jsx)("span",{"data-test":"Notice\uFF1AHaven't login standard edition, please login",children:e("Notice\uFF1AHaven't login standard edition, please login")}),(0,xc.jsx)("a",{href:"#",className:t("blueFont"),"data-test":"the Standard Edition Editor",onClick:j=>{j.preventDefault(),wi?fetch("app://api/system/openNewEditorWindow",{method:"post",body:JSON.stringify({url:URL+"/editor",isEditorWin:!1})}):window.open(URL+"/editor")},children:e("the Standard Edition Editor")}),(0,xc.jsx)("span",{children:e("first, and then imagrate the data.")})]}),(0,xc.jsxs)("div",{className:t("filterContainer"),children:[(0,xc.jsxs)("div",{className:t("filterEl el1"),children:[(0,xc.jsx)("label",{className:t("text"),"data-test":R,children:e(R)}),(0,xc.jsx)("input",{style:{width:"124px"},type:"text",value:i,onChange:j=>{O(j.target.value,p)},onFocus:j=>j.target.select()}),(0,xc.jsx)("span",{className:t("icon searchIcon icon-eda-zoom")}),i&&(0,xc.jsx)("span",{className:t("icon comm-fittinginput-clear"),onClick:()=>{o(""),an.setSearchValue("",p),an.updateData(p)},children:(0,xc.jsx)("i",{className:t("icon-eda-x-circle-small"),style:{fontSize:"1.5rem"}})})]}),(0,xc.jsxs)("div",{className:t("filterEl el2"),children:[(0,xc.jsx)("label",{className:t("text"),"data-test":v,children:e(v)}),(0,xc.jsx)("div",{style:{display:"inline-block",width:"124px"},children:(0,xc.jsx)(xt,{style:{height:"22px"},value:y,list:k,optionsAutoWidth:!0,onChange:j=>{an.setOwnerSelect(j,p),an.setPageStart(1,p),an.updateData(p)}})})]}),p!=="Project"&&(0,xc.jsxs)("div",{className:t("filterEl"),children:[(0,xc.jsx)("label",{className:t("text"),"data-test":"Tags:",children:e("Tags:")}),(0,xc.jsx)("div",{style:{display:"inline-block",width:"124px"},children:(0,xc.jsx)(xt,{style:{height:"22px"},value:b,list:P,searchable:!0,onChange:j=>{an.setTagSelect(j,p),an.setPageStart(1,p),an.updateData(p)}})})]})]}),(0,xc.jsx)("div",{className:t("tableContainer"),children:d?(0,xc.jsx)("div",{className:t("window-loading"),children:(0,xc.jsx)("span",{className:t("rotation"),style:{display:"inline-block"},children:(0,xc.jsx)("i",{className:t("icon-eda-loading"),style:{width:"52px",height:"52px"}})})}):(0,xc.jsxs)("div",{"data-test":"migrateStandardTable",style:{position:"relative"},children:[(0,xc.jsx)("div",{style:{visibility:p==="Project"?"visible":"hidden",height:"450px"},children:(0,xc.jsx)(xi,{height:450,index:"id",rows:an.getTabRows("Project"),columns:an.getTableHeader("Project"),openVirtualScroll:!0,stockade:!0,border:!0,checkbox:p!=="Project",onClick:j=>n(j.row),multiSelect:!1,isCtrlSelect:!1,isShiftSelect:!1})}),(0,xc.jsx)("div",{style:{visibility:p==="Footprint"?"visible":"hidden",width:"100%",height:"450px",position:"absolute",left:0,top:0},children:(0,xc.jsx)(xi,{height:450,index:"id",rows:an.getTabRows("Footprint"),columns:an.getTableHeader("Footprint"),openVirtualScroll:!0,stockade:!0,border:!0,checkbox:!0,multiSelect:!1,isCtrlSelect:!1,isShiftSelect:!1,onCheckRow:j=>c(j)})}),(0,xc.jsx)("div",{style:{visibility:p==="Symbol"?"visible":"hidden",width:"100%",height:"450px",position:"absolute",left:0,top:0},children:(0,xc.jsx)(xi,{height:450,index:"id",rows:an.getTabRows("Symbol"),columns:an.getTableHeader("Symbol"),openVirtualScroll:!0,stockade:!0,border:!0,checkbox:!0,multiSelect:!1,isCtrlSelect:!1,isShiftSelect:!1,onCheckRow:j=>s(j)})}),(0,xc.jsx)("div",{className:t("pagination"),children:(0,xc.jsx)(cp,{pageNumber:g,countTotal:h||0,cutSize:f,cutSizeOptions:p==="Project"?an.pageSizeConfig:an.pageSizeConfig1,simplify:!0,onPageNumberChange:(j,B)=>{switch(j){case"REFRESH_PAGE":break;default:an.setPageStart(B,p),an.updateData(p)}},onPageSizeChange:j=>{an.setPageStart(1,p),an.setPageSize(j,p),an.updateData(p)}})})]})})]}),(0,xc.jsxs)("div",{style:{width:"100%",paddingTop:"16px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"8px"},children:[(0,xc.jsx)(Me,{size:"md",type:"primary",disabled:p=="Project"?!r:p==="Symbol"?!a.length:!l.length,onClick:_,children:"Confirm"}),(0,xc.jsx)(Me,{size:"md",onClick:()=>le.close(dlt),children:"Cancel"})]})]})},Aye=()=>{if(!br()){De({type:"info",msg:"Please login first!"});return}le.open({title:"Migrate Standard",id:dlt,width:800,esc:!0,mask:!1,children:(0,xc.jsx)(von,{})})};var hte="refDesignatorDlg",cNo=[{value:"current_schematic",label:"Current Schematic"},{value:"current_page",label:"Current Page"},{value:"selected_component",label:"Selected Components at Current Page"}],dNo=[{value:"all_components",label:"All components"},{value:"topLayer-components",label:"Top Layer Components"},{value:"bottomLayer-components",label:"Bottom Layer Components"},{value:"selected_component",label:"Selected Components"}];var IYt=class extends qe{constructor(){super(...arguments);this._orderMethod="horizontal_vertical";this._startNumber=1}get type(){return this._type}set type(i){this._type=i,this.notify()}get keepExistDesignator(){return this._keepExistDesignator}set keepExistDesignator(i){this._keepExistDesignator=i,this.notify()}get range(){return this._range}set range(i){this._range=i,this.notify()}get applyOnCBB(){return this._applyOnCBB}set applyOnCBB(i){this._applyOnCBB=i,this.notify()}get orderMethod(){return this._orderMethod}set orderMethod(i){this._orderMethod=i,this.notify()}get rule(){return this._rule}set rule(i){this._rule=i,this.notify()}get startNumber(){return this._startNumber}set startNumber(i){this._startNumber=i,this.notify()}refreshDialog(i){this._type=i.type,this._applyOnCBB=i.applyOnCBB||!1,this._keepExistDesignator=i.keepExistDesignator,this._orderMethod=i.orderMethod||"horizontal_vertical",this._rule=i.rule,this._startNumber=i.startNumber,this._range=i.range,this.notify()}},ls=new IYt;var qle=L(Se()),LYt=L(pNo());var Kn=L(z());function Non({type:t,containerId:e}){Ae(LYt.default);let{locals:i}=LYt.default,o=be.bind(i),r=J(),[n,a]=(0,qle.useState)("1"),s=!1,l="Assign instance\xA0Designator (which will overwrite the splice Designator generated from the template page)",c="Clear instance Designator (which will restore the splice Designator generated from the template page)",[d,u]=(0,qle.useState)(l);Ce(ls),(0,qle.useEffect)(()=>{ls.type==="clear"?u(c):u(l)},[ls.type]);let p=async h=>{if(s)return;s=!0;let{range:f,applyOnCBB:g,type:b,keepExistDesignator:y,orderMethod:w,rule:x,startNumber:S}=ls,T=g?"apply":"not_apply",M=b==="annotate"?y?"keep_designator":"re_designator":"clear_designator",I=w,A=x==="page_number",D=S||1,E=he.getActiveSheetId(),N=he.getActiveTab(),R=dt(),v=(await C.messageBus.rpcCall("getSchmaticBySheetUuid",[E])).message;if(M==="clear_designator"){if(R===ve.SCH)C.messageBus.rpcCall("clearDesignator",{tabId:N,sheetUuid:E,schUuid:v,range:f,hierarchical:T}).then(()=>{C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.CLEAR_DESIGNATOR,content:{},project_uuid:C.currentProject.projectId}]),h!=="apply"&&le.close(hte)});else if(R===ve.PCB){let k=await he.getTabIFrame(N);await C.windowBridge.rpcCall("pcbClearDesignator",{range:f},k.contentWindow),C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.CLEAR_DESIGNATOR,content:{},project_uuid:C.currentProject.projectId}]),h!=="apply"&&le.close(hte)}}else if(R===ve.SCH)C.messageBus.rpcCall("refDesignatorDlgHandler",{tabId:N,componentId:"",range:f,operation:M,hierarchical:T,order:I,initialRefdes:A?null:D}).then(k=>{C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.DESIGNATOR_ALLOCATION,content:{},project_uuid:C.currentProject.projectId}]),h!=="apply"&&le.close(hte)});else if(R===ve.PCB){let k=await he.getTabIFrame(N);await C.windowBridge.rpcCall("pcbRefDesignator",{range:f,operation:M,order:I,initialRefdes:D},k.contentWindow),C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.DESIGNATOR_ALLOCATION,content:{},project_uuid:C.currentProject.projectId}]),h!=="apply"&&le.close(hte)}s=!1};return(0,Kn.jsxs)(Kn.Fragment,{children:[(0,Kn.jsxs)("div",{className:o("container"),children:[(0,Kn.jsxs)("div",{className:o("line"),children:[(0,Kn.jsx)("div",{className:o("left"),"data-test":"Operation:",children:r({value:"Operation:",context:"designator"})}),(0,Kn.jsxs)("div",{className:o("right"),children:[(0,Kn.jsxs)("div",{className:o("item"),children:[(0,Kn.jsxs)("label",{children:[(0,Kn.jsx)(nn,{checked:ls.type==="annotate",value:"annotate",onChange:h=>{h&&(ls.type="annotate",ls.orderMethod||(ls.orderMethod="horizontal_vertical"),ls.startNumber||(ls.startNumber=1),ls.rule||(ls.rule="custom"))}}),(0,Kn.jsx)("span",{title:r({value:"Annotate Designator",context:"designator"}),"data-test":"Existing Designators",children:r({value:"Annotate Designator",context:"designator"})})]}),(0,Kn.jsxs)("label",{children:[(0,Kn.jsx)(qt,{checked:ls.keepExistDesignator,style:{marginRight:"4px"},disabled:ls.type==="clear",onChange:h=>{ls.keepExistDesignator=h}}),(0,Kn.jsx)("span",{title:r({value:"Existing Designators",context:"designator"}),"data-test":"Annotate Designator",children:r({value:"Existing Designators",context:"designator"})})]})]}),(0,Kn.jsx)("div",{className:o("item"),children:(0,Kn.jsxs)("label",{children:[(0,Kn.jsx)(nn,{checked:ls.type==="clear",value:"clear",onChange:h=>{h&&(ls.type="clear")}}),(0,Kn.jsx)("span",{title:r("Clear Designator"),"data-test":"Clear Designator",children:r("Clear Designator")})]})})]})]}),(0,Kn.jsxs)("div",{className:o("line"),children:[(0,Kn.jsx)("div",{className:o("left"),"data-test":"Range:",children:r({value:"Range:",context:"designator"})}),(0,Kn.jsx)("div",{className:o("right"),children:(0,Kn.jsx)($i,{value:ls.range,options:m(),onChange:h=>{ls.range=h}})})]}),t==="SCH"&&(0,Kn.jsxs)("div",{className:o("line"),children:[(0,Kn.jsx)("div",{className:o("left"),"data-test":"Hierarchical:",children:r({value:"Hierarchical:",context:"designator"})}),(0,Kn.jsx)("div",{className:o("right"),children:(0,Kn.jsxs)("label",{children:[(0,Kn.jsx)(qt,{checked:ls.applyOnCBB,style:{marginRight:"4px"},onChange:h=>{h&&(ls.rule="custom"),ls.applyOnCBB=h}}),(0,Kn.jsx)("span",{title:r({value:d,context:"designator"}),"data-test":"Apply",children:r({value:d,context:"designator"})})]})})]}),(0,Kn.jsxs)("div",{className:o("line"),children:[(0,Kn.jsx)("div",{className:o("left"),"data-test":"Order:",children:r({value:"Order:",context:"designator"})}),(0,Kn.jsxs)("div",{className:o("right"),children:[(0,Kn.jsxs)("div",{className:o("preview-control vertical"),children:[(0,Kn.jsxs)("label",{children:[(0,Kn.jsx)(nn,{disabled:ls.type==="clear",checked:ls.orderMethod==="horizontal_vertical",value:"horizontal_vertical",onChange:h=>{h&&(ls.orderMethod="horizontal_vertical")}}),(0,Kn.jsx)("span",{"data-test":"Across Then Down",children:r({value:"Across Then Down",context:"designator"})})]}),(0,Kn.jsxs)("label",{children:[(0,Kn.jsx)(nn,{disabled:ls.type==="clear",checked:ls.orderMethod==="vertical_horizontal",value:"vertical_horizontal",onChange:h=>{h&&(ls.orderMethod="vertical_horizontal")}}),(0,Kn.jsx)("span",{"data-test":"Down Then Across",children:r({value:"Down Then Across",context:"designator"})})]})]}),(0,Kn.jsxs)("div",{className:o("preview-control vertical"),children:[(0,Kn.jsxs)("label",{children:[(0,Kn.jsx)(nn,{disabled:ls.type==="clear",checked:ls.orderMethod==="horizontal_vertical_reverse",value:"horizontal_vertical_reverse",onChange:h=>{h&&(ls.orderMethod="horizontal_vertical_reverse")}}),(0,Kn.jsx)("span",{"data-test":"Across Then Up",children:r({value:"Across Then Up",context:"designator"})})]}),(0,Kn.jsxs)("label",{children:[(0,Kn.jsx)(nn,{disabled:ls.type==="clear",checked:ls.orderMethod==="vertical_horizontal_reverse",value:"vertical_horizontal_reverse",onChange:h=>{h&&(ls.orderMethod="vertical_horizontal_reverse")}}),(0,Kn.jsx)("span",{"data-test":"Up Then Across",children:r({value:"Up Then Across",context:"designator"})})]})]}),(0,Kn.jsx)("div",{className:o("preview"),"data-value":ls.orderMethod})]})]}),(0,Kn.jsxs)("div",{className:o("line"),children:[(0,Kn.jsx)("div",{className:o("left"),"data-test":"Designator Rule:",children:r({value:"Designator Rule:",context:"designator"})}),(0,Kn.jsxs)("div",{className:o("right vertical"),children:[t==="SCH"&&(0,Kn.jsx)("div",{className:o("item"),children:(0,Kn.jsxs)("label",{children:[(0,Kn.jsx)(nn,{disabled:ls.applyOnCBB||ls.type==="clear",checked:ls.rule==="page_number",value:"page_number",onChange:h=>{h&&(ls.rule="page_number")}}),(0,Kn.jsx)("span",{"data-test":"Add Page Number",children:r({value:"Add Page Number",context:"designator"})})]})}),(0,Kn.jsxs)("div",{className:o("item"),children:[(0,Kn.jsxs)("label",{children:[(0,Kn.jsx)(nn,{disabled:ls.type==="clear",checked:ls.rule==="custom",value:"custom",onChange:h=>{h&&(ls.rule="custom")}}),(0,Kn.jsx)("span",{"data-test":"Custom Starting Number",children:r({value:"Custom Starting Number",context:"designator"})})]}),(0,Kn.jsx)("input",{disabled:ls.type==="clear",type:"text",value:n===null?ls.startNumber:n,onChange:h=>{a(h.target.value)},onBlur:h=>{let f=Number(h.target.value);a(null),!(Number.isNaN(f)||f<1||f%1!=0)&&(f>=1e6?ls.startNumber=999999:ls.startNumber=f)}})]})]})]})]}),(0,Kn.jsxs)("div",{className:o("footer"),children:[(0,Kn.jsx)(ml,{"data-test":"apply",type:"primary",onClick:async()=>await p("apply"),children:"Apply"}),(0,Kn.jsx)(ml,{"data-test":"Confirm",type:"primary",onClick:async()=>{await p("confirm")},children:"Confirm"}),(0,Kn.jsx)(ml,{"data-test":"Cancel",onClick:()=>{le.close(e)},children:"Cancel"})]})]});function m(){switch(t){case"SCH":return cNo.map(h=>({...h,label:(0,Kn.jsx)("span",{"data-test":h.label,children:r({value:h.label,context:"designator"})})}));case"PCB":return dNo.map(h=>({...h,label:(0,Kn.jsx)("span",{"data-test":h.label,children:r({value:h.label,context:"designator"})})}));default:return[]}}}var mNo=qle.default.memo(Non);var hNo=L(z());function fte(t,e){le.open({id:hte,title:"Annotate Designator",width:"750px",closed:!0,remove:!0,children:(0,hNo.jsx)(mNo,{type:t,containerId:hte}),footer:!1,mask:!1,openCallback:()=>{ls.refreshDialog(e)}})}var vYt=L(vOt());var ult=L(Se());var fQ=L(z()),fNo=be.bind(vYt.default.locals);function gNo(){let t="newLocal3DModelDlg",e=()=>{le.close(t)};Dt({id:t,title:"Tips",icon:"warning",content:(0,fQ.jsx)(()=>{let[o,r]=(0,ult.useState)(null);Ae(vYt.default);let n=J();(0,ult.useEffect)(()=>{(async()=>{let l=await wd();r(l)})()});let a=async s=>{await C.messageBus.rpcCall(Ei.CLIENT.OPEN_DIALOG,[s]),e()};return(0,fQ.jsxs)(fQ.Fragment,{children:[(0,fQ.jsx)("div",{className:fNo("title"),children:n("Please move 3D Model files (*.step/*.stp) into paths below, libs are available after refresh")}),(0,fQ.jsx)("div",{className:fNo("content"),style:{color:"#1890ff",maxHeight:"100px",overflow:"auto"},children:o&&o.libPath.map((s,l)=>{let c=decodeURI(s);return(0,fQ.jsx)("div",{style:{cursor:"pointer"},onClick:d=>a(c),children:c},l)})})]})},{}),showCancel:!1,onConfirm:e,onClose:e,closed:!0,width:420,height:200})}var CNo=L(Se());var DYt=L(yNo());var HE=L(Se());var SF={routingRange:0,routingCorner:0,isKeep:!0,routingEffectPriority:1,routingNetPriority:0,layers:[1,2],ignoreNets:[],ignoreLayers:[]};var s1=L(z()),_on=t=>{let e=be.bind(DYt.default.locals),i=J();Ae(DYt.default),(0,HE.useEffect)(()=>{N().then(j=>{let B=SF.ignoreLayers||[];j.forEach(V=>{let G=V.layerId;B&&B.includes(G)&&(V.checked=!1)}),b(j)}),R().then(j=>{let B=[],V=[];j.forEach(G=>{var Q;(Q=o.ignoreNets)!=null&&Q.includes(G)?B.push({net:G}):V.push({value:G,text:G,showOriginalText:!0})}),x(B),T(V),I(M+1)})},[]);let o=Object.assign({},SF,t.routingConfig),r=310,[n,a]=(0,HE.useState)(o.routingRange.toString()),[s,l]=(0,HE.useState)(o.routingCorner.toString()),[c,d]=(0,HE.useState)(o.isKeep?"1":"0"),[u,p]=(0,HE.useState)(o.routingEffectPriority.toString()),[m,h]=(0,HE.useState)(o.routingNetPriority.toString()),f=D(),[g,b]=(0,HE.useState)([]),y=E(),[w,x]=(0,HE.useState)([]),[S,T]=(0,HE.useState)([]),[M,I]=(0,HE.useState)(0);return(0,HE.useEffect)(()=>()=>{SF.routingRange=n,SF.routingCorner=s,SF.isKeep=c==="1",SF.routingEffectPriority=u,SF.routingNetPriority=m,SF.ignoreLayers=g.map(j=>{let B=j.layerId;if(!j.checked&&!isNaN(B))return B}).filter(j=>j),SF.ignoreNets=w.map(j=>j.net)},[n,s,c,u,m,g,w]),(0,s1.jsxs)("div",{className:e("pop-content-container"),children:[(0,s1.jsxs)("div",{className:e("auto-router"),children:[A({text:"Routing Nets",value:n,options:[{value:0 .toString(),label:"All Nets"},{value:1 .toString(),label:"Selected Nets"},{value:2 .toString(),label:"Selected Component Nets"}],onChange:j=>a(j)}),A({text:"Routing corner",value:s,options:[{value:0 .toString(),label:"45 degrees"},{value:1 .toString(),label:"90 degrees"}],onChange:j=>l(j)}),A({text:"Existing tracks/vias",value:c,options:[{value:"1",label:"Keep"},{value:"0",label:"Remove"}],onChange:j=>d(j)}),A({text:"Effect priority",value:u,options:[{value:1 .toString(),label:"Completion first"},{value:0 .toString(),label:"Speed first"}],onChange:j=>p(j)}),A({text:"Nets priority",value:m,useSelect:!0,options:[{value:0 .toString(),text:"Default"},{value:1 .toString(),text:"Random"},{value:2 .toString(),text:"Custom net name first"},{value:3 .toString(),text:"Pads from more to less"},{value:4 .toString(),text:"Pads from less to more"},{value:5 .toString(),text:"Pads from far to near"},{value:6 .toString(),text:"Pads from near to far"}],onChange:j=>h(j)}),(0,s1.jsxs)("div",{className:e("export-row-container"),children:[(0,s1.jsxs)("fieldset",{className:e("fieldset"),style:{marginRight:"10px"},children:[(0,s1.jsx)("legend",{"data-test":"Routing layer",children:i("Routing layer")}),g.length>0?(0,s1.jsx)(xi,{index:"layerId",width:245,height:r,border:!0,stockade:!0,openRowSelectedBgColor:!1,checkbox:!0,columns:f,rows:g,onChange:j=>{b(j)}}):(0,s1.jsx)(s1.Fragment,{})]}),(0,s1.jsxs)("fieldset",{className:e("fieldset"),children:[(0,s1.jsx)("legend",{"data-test":"Routing layer",children:i("Ignore net")}),(0,s1.jsxs)("div",{className:e("auto-router-ignore-net"),style:{width:"100%",height:`${r}px`,overflow:"hidden"},children:[(0,s1.jsx)(xt,{containerStyle:{width:"230px",height:"24px",marginBottom:"8px"},value:"",list:S,searchable:!0,onChange:j=>{k(j)}},`select_${M}`),(0,s1.jsx)(xi,{index:"net",width:230,height:r-8,showHeader:!1,border:!1,stockade:!1,openRowSelectedBgColor:!1,checkbox:!1,columns:y,rows:w},`tab_${M}`)]})]})]})]}),(0,s1.jsxs)("div",{className:e("pop-footer-wrapper"),children:[(0,s1.jsx)("div",{className:e("comm-btn-left"),style:{left:"0px"},children:(0,s1.jsx)(Me,{style:{marginRight:"5px"},type:"primary",onClick:()=>O("openDesignRule"),children:"Design Rule"})}),(0,s1.jsxs)("div",{className:e("comm-btn-right"),children:[(0,s1.jsx)(Me,{type:"primary",style:{marginRight:"5px"},onClick:()=>O("run"),children:"Run"}),(0,s1.jsx)(Me,{onClick:()=>O("cancel"),children:"Cancel"})]})]})]});function A(j){return(0,s1.jsxs)("div",{className:e("ratio-item"),children:[(0,s1.jsx)("span",{className:e("ratio-label"),title:i(j.text),"data-test":j.text,children:i(j.text)}),j.useSelect?(0,s1.jsx)(xt,{style:{width:"218px"},className:e("ratio-select"),value:j.value,list:j.options,onChange:B=>j.onChange(B)}):(0,s1.jsx)($i,{className:e("ratio-options"),value:j.value,options:j.options,onChange:B=>j.onChange(B)})]})}function D(){return[{key:"layerName",width:1,name:i("All Layers"),i18n:!0}]}function E(){return[{key:"net",width:.9,name:i("Net"),i18n:!1},{key:"delete",width:.1,name:i("Delete"),i18n:!1,render:B=>(0,s1.jsx)("span",{className:e("l-btn-empty icon-eda-remove-circle"),style:{display:"inline-block",fontSize:"16px",width:"16px",height:"16px",cursor:"pointer"},onClick:V=>{let G=B.row.net;v(G)}})}]}async function N(){let j=await ei(),B=(await C.windowBridge.rpcCall("LayerConfigForAutoRouter",{copper:!0},j.contentWindow)).message,V=[];return B.forEach(G=>{V.push({checked:!0,layerId:G.layerId,layerName:G.layerName})}),V}async function R(){let j=await ei(),{nets:B}=(await C.windowBridge.rpcCall("pcb/getRouterNets","",j.contentWindow)).message;return B||[]}function v(j){if(!j)return;let B=!1,V=w.filter(G=>{let Q=G.net==j;return Q&&(B=!0),!Q});B&&(x([...V]),S.push({value:j,text:j,showOriginalText:!0}),T([...S.sort()]),I(M+1))}function k(j){if(!j)return;let B=!1,V=S.filter(G=>{let Q=G.value==j;return Q&&(B=!0),!Q});B&&(T([...V.sort()]),w.push({net:j}),x([...w]),I(M+1))}function P(){let j=[],B=[];g.forEach(G=>{let Q=G.layerId;G.checked&&!isNaN(Q)?j.push(Q):B.push(Q)});let V={routingRange:+n,routingCorner:+s,isKeep:c=="1",routingEffectPriority:+u,routingNetPriority:+m,layers:j,ignoreNets:w.map(G=>G.net),ignoreLayers:B};return z9("RoutingConfig",void 0,V),C.messageBus.publish("pcb/updateAutoRouterRule",{name:"",config:V,isDefault:!0}),V}function O(j){let B=!0,V=Xi();switch(j){case"openDesignRule":B=!1,C.windowBridge.publish("DesignRuler","",V.contentWindow);break;case"exportJson":B=!1,C.windowBridge.publish("pcb/exportAutoRouteJson",P(),V.contentWindow);break;case"run":C.windowBridge.publish("pcb/autoRouting",P(),V.contentWindow);break;case"cancel":P();break;default:break}B&&_()}function _(){le.close()}},wNo=_on;async function EYt(t){t.id=t.id||"auto-router",t.title=t.title||"Auto Route",await le.open({id:t.id,title:t.title,width:t.width||600,height:t.height||660,closed:t.closed,children:(0,CNo.createElement)(wNo,t)})}async function xNo(t){if(+t.symbolType==+tr.DrawingSymbol){let e=await sBe();return{isProject:!1,override:{title:t.symbolItemName||t.deviceItemName,tags:[],description:t.description||"",docType:+t.symbolType},uuid:e,path:bo.getInstance().usedId}}else return{data:{title:t.symbolItemName||t.deviceItemName,path:t.userIdSelected,owner:t.userIdSelected,tags:[],description:t.description||"",symbol_type:+t.symbolType,docType:+t.symbolType}}}async function TNo(t,e,i){let o=i||{},r=!!i.isCalledBySimplify||!1,n=t||o.userIdSelected||void 0,a=o.workSpaceSelected||C.workspace,s=o.userIdSelected||void 0,l=o.deviceItemName||void 0,c=o.description||void 0,d=o.categoryTags||null,u=o.symbolItemName||void 0,p=String(o.symbolType)||tr.ComponentSymbol,m="New Device",h={Footprint:!1,symbol:!1,d3DModel:!1};return await VX({dialogTitle:m,callScenType:"DEVICE_CREATOR",path:n,isFromProject:e,initDeviceItem:null,initSymbolItem:null,initFootprintItem:null,initD3modelItem:null,deviceItemName:l,description:c,categoryTags:d,symbolType:p,workSpaceSelected:a,userIdSelected:s,symbolItemName:u,hasIdButNotFound:h,windowInstance:dl.value,isCalledBySimplify:r,onDialogOpen(){},onDialogCancel(){},onDialogClose(){},onDialogClosed(){},async onDialogConfirm(f,g){let b=!0;try{if(!f.deviceItemName)return Dt({icon:"error",closed:!0,content:me.i18n("The title can not be empty!")}),!1;if(!f.symbolItem&&!f.symbolItemName)return Dt({icon:"error",closed:!0,content:me.i18n("The symbol name can not be empty!")}),!1;let y=f.symbolOperationType==="New"&&f.symbolItemName&&!f.symbolItemId;for(let I of Object.keys(f.attributes||{}))f.attributes[I]&&(f.attributes[I]=f.attributes[I].replaceAll(/\n/g,""));f.description&&(f.description=f.description.replaceAll(/\n/g,""));let w={...Dk(f.isFromProject,f.deviceItemId,f.deviceItemName,f.categoryTags,f.description||"",f.attributes,ve.DEVICE,f.userIdSelected,f.imageUrl,f.categoryShowString,f.symbolType),tags:f.categoryShowString?f.categoryShowString.split(":"):[]},x=y?await xNo(f):f.symbolItem?{uuid:f.symbolItem.uuid,path:f.symbolItem.path,isProject:!1}:null,S=f.footprintItem?{uuid:f.footprintItem.uuid,path:f.footprintItem.path,isProject:!1}:null,T=await Ze.createDevice({path:f.userIdSelected,isProject:!1,device:{data:w},symbol:x,footprint:S}),M=await Ze.getSymbol({isProject:f.userIdSelected===C.currentProject.projectId,path:f.userIdSelected,uuid:T.attributes.Symbol});return y&&M&&(Wa(M,1),pat(M.uuid,T.uuid,f.userIdSelected,M)),Wa(T,1),De({type:"success",msg:me.i18n("Update successfully!")}),Promise.resolve().then(async()=>{["device","symbol","footprint"].includes(Ls())&&_s(f.userIdSelected,Ls()),await Kbe(T,f.userIdSelected,e)}),!0}catch(y){return b=!(y&&y.action===zo.CROSS_BIND_EXIT),y?[zo.DEVICE_SAME_NAMA_EXISTS,zo.SYMBOL_SAME_NAMA_EXISTS,zo.FOOTPRINT_SAME_NAMA_EXISTS].includes(y.action)?(Zbe(f,y.action),!1):([zo.CROSS_BIND,zo.CROSS_BIND_EXIT].includes(y.action)||b&&De({type:"error",msg:y.message||y.msg||"System Error"}),!1):(Dt({icon:"error",closed:!0,content:me.i18n("System Error")}),!1)}}})}var AYt=L(MNo());var hlt=L(Se());var gte=L(z());function INo(t){let e=J(),[i,o]=(0,hlt.useState)([]);(0,hlt.useEffect)(()=>{o(t.list)},[t.list]);let r=a=>{let s=[...i];for(let l in a)s[l].select.value=a[l];o(s),t.onChange(s.map(l=>l.select.value))},n=KZ(a=>{r({[a]:i[a+1].select.value,[a+1]:i[a].select.value})},200);return(0,gte.jsx)("div",{style:{display:"flex",width:"100%"},children:i.map((a,s)=>(0,gte.jsxs)("div",{style:{display:"contents"},children:[(0,gte.jsxs)("div",{style:{flex:1},children:[(0,gte.jsx)("div",{"data-test":a.title,style:{marginBottom:"4px"},children:e(a.title)}),(0,gte.jsx)(xt,{...a.select,onChange:l=>{r({[s]:l})}})]},a.title),s!==i.length-1?(0,gte.jsx)("span",{className:"icon-eda-sort-bi-side",style:{alignSelf:"flex-end",display:"inline-block",width:"18px",height:"18px",margin:"0 4px 4px 4px",transform:"rotate(90deg)"},onClick:()=>{n(s)}}):""]},a.title))})}var $4=L(z()),LNo=be.bind(AYt.default.locals);function jon(){Ae(AYt.default),Ce(Fu);let t=J(),e=[{title:"The Name Of BusEntry",render(i){return(0,$4.jsx)(Sz,{value:Fu.busName.value,focus:!0,validator:o=>Fu.busName.validator(o),onChange:o=>{Fu.busName.setValue(o.toUpperCase())},selectList:Fu.busName.optionList})}},{style:{alignSelf:"flex-start"},title:"Fan Out Entry",render(i){let{start:o,end:r}=Fu.fanOutEntry;return(0,$4.jsx)(INo,{list:[{title:"Start Value",select:{value:o.value,list:o.optionList.map(n=>({text:n,value:n}))}},{title:"End Value",select:{value:r.value,list:r.optionList.map(n=>({text:n,value:n}))}}],onChange:n=>{Fu.onFanOutEntryChange(n)}})}},{title:"Spacing",render(i){let{value:o,unit:r}=Fu.spacing.showData;return(0,$4.jsx)(E1,{validator:n=>Fu.spacing.validator(n),value:o,unit:r,onChange:Fu.spacing.onChange})}},{title:"New Entry Length",render(i){let{value:o,unit:r}=Fu.newLength.showData;return(0,$4.jsx)(E1,{validator:n=>Fu.newLength.validator(n),value:o,unit:r,onChange:Fu.newLength.onChange})}},{title:"Entry Direction",render(i){var r;let o=(r=Fu.direction.find(n=>n.checked))==null?void 0:r.value;return(0,$4.jsx)($i,{subRadioStyle:{display:"inline-block",width:"80px"},name:"entry-direction",value:String(o),options:Fu.direction,onChange:n=>{Fu.onDirectionChange(n)}})}},{title:"Entry Position",render(i){var r;let o=(r=Fu.order.find(n=>n.checked))==null?void 0:r.value;return(0,$4.jsx)($i,{subRadioStyle:{display:"inline-block",width:"80px"},name:"entry-position",value:String(o),options:Fu.order,onChange:n=>{Fu.onOrderChange(n)}})}},{title:"Existing Entry",render(i){return(0,$4.jsx)(qt,{checked:Fu.notAddExistingBusEntry,onChange:o=>{Fu.setNotAddExistingBusEntry(o)},children:t("Existing Entry will not be added")})}}];return(0,$4.jsx)("ul",{className:LNo("content"),style:{listStyleType:"none"},children:Object.values(e).map(i=>(0,$4.jsxs)("div",{className:LNo("item-layer"),children:[(0,$4.jsxs)("span",{"data-test":i.title,style:{whiteSpace:"nowrap",...i.style||ks},children:[t(i.title),":"]}),(0,$4.jsx)("div",{children:i.render(i)})]},i.title))})}var Fu=new class extends qe{constructor(){super(...arguments);this.id="fan-out-busentry-dlg";this.title="Fan Out BusEntry";this.busName={value:"",optionList:[],validator:e=>{let i=!1;return C.messageBus.publish("sch/validateIsConformBusName",{value:e,cb:o=>{i=o}}),i},setValue:e=>{e!==this.busName.value&&(this.busName.value=e,this.setFanOutEntryDataByBusName(e),this.notify())}};this.fanOutEntry={start:{value:"",optionList:[]},end:{value:"",optionList:[]},getBusEntryNames:()=>{let{start:e,end:i}=this.fanOutEntry,[o,r]=[e,i].map(s=>s.optionList.findIndex(l=>l===s.value)),n=!1;r<o&&(o^=r,r^=o,o^=r,n=!0);let a=[];for(let s=o;s<=r;s++)a.push({order:s,value:e.optionList[s]});return n?a.reverse():a}};this.spacing={validator(e){return e>0},data:new ws(.1,"inch").toJSON(),onChange:e=>{let i=Vo(),o={value:io(yd(String(e),i),i,"inch"),unit:"inch"};o.value!==this.spacing.data.value&&(this.spacing.data=o,this.notify())},get showData(){let e=Vo();return{value:li.toFixed(io(+this.data.value,this.data.unit,e),2),unit:e}}};this.newLength={validator(e){return e>0},data:new ws(.3,"inch").toJSON(),onChange:e=>{let i=Vo(),o={value:io(yd(String(e),i),i,"inch"),unit:"inch"};o.value!==this.newLength.data.value&&(this.newLength.data=o,this.notify())},get showData(){let e=Vo();return{value:li.toFixed(io(+this.data.value,this.data.unit,e),2),unit:e}}};this.direction=[];this.order=[];this.notAddExistingBusEntry=!0}init(e){C.messageBus.publish("getFanOutBusEntryDataByBusId",{busId:e,getter:i=>{this.originData=i}}),this.syncByOriginData(),this.notify()}syncByOriginData(){this.busName.value=this.originData.name.value,this.busName.optionList=[...this.originData.name.optionList],this.setFanOutEntryDataByBusName(this.busName.value);let[e,i]=this.originData.points,o=Math.abs(e.angleD(i)%180)<=1,r=o?["Top","Bottom"]:["Left","Right"];this.direction=r.map((a,s)=>({checked:s===0,value:a}));let n=o?["From left to right","From right to left"]:["From top to bottom","From bottom to top"];this.order=n.map((a,s)=>({checked:s===0,value:a}))}setFanOutEntryDataByBusName(e){let i=new Array;C.messageBus.publish("getAllBusEntryNameCompatBusName",{name:e,getter(o){i.push(...o)}}),Object.assign(this.fanOutEntry.start,{value:i[0],optionList:[...i]}),Object.assign(this.fanOutEntry.end,{value:i.at(-1),optionList:[...i]})}getData(){return{groupId:this.originData.groupId,busId:this.originData.busId,busName:this.busName.value,busEntryNames:this.fanOutEntry.getBusEntryNames(),spacing:io(this.spacing.data.value,this.spacing.data.unit,"pixel"),newLength:io(this.newLength.data.value,this.newLength.data.unit,"pixel"),direction:this.direction.find(e=>e.checked).value,order:this.order.find(e=>e.checked).value,notAddExistingBusEntry:this.notAddExistingBusEntry}}preview(){let e=Object();C.messageBus.publish("previewFanOutBusEntry",{data:this.getData(),getter(n){e=n}});let{outOfRange:i,needGenerateButExistedBusEntryNames:o}=e,r=[];if(i.length){let n="Some busEntries were not generated because the length of the bus segment was exceeded: from {startName} to {endName}",a={startName:`${i[0]}`,endName:`${i.at(-1)}`};De({type:"warn",msg:{value:n,options:a},timer:3,bottomBarMsg:!0}),r.push(Ti(n,{params:a}))}if(o.length){let n="Some busEntries already exist but are not generated: {names}",a={names:o.map(s=>`${s}`).join(",")};De({type:"warn",msg:{value:n,options:a},bottomBarMsg:!0}),r.push(Ti(n,{params:a}))}r.length&&Ot("warn",r,"Log",!0)}onFanOutEntryChange(e){let i={...this.fanOutEntry};i.start.value=e[0],i.end.value=e[1],this.fanOutEntry=i,this.notify()}onDirectionChange(e){let i=[...Fu.direction];i.forEach(o=>o.checked=o.value===e),this.direction=i,this.notify()}onOrderChange(e){let i=[...Fu.order];i.forEach(o=>o.checked=o.value===e),this.order=i,this.notify()}setNotAddExistingBusEntry(e){e!==this.notAddExistingBusEntry&&(this.notAddExistingBusEntry=e,this.notify())}confirm(){this.preview(),C.messageBus.publish("confirmFanOutBusEntry"),this.close()}cancel(){C.messageBus.publish("cancelFanOutBusEntry"),this.close()}close(){le.close(this.id)}};function vNo({busId:t}){le.open({id:Fu.id,title:Fu.title,width:580,closed:!0,centered:!0,mask:!0,footer:()=>{let e=J();return(0,$4.jsxs)("div",{style:{width:"100%",height:"28px",textAlign:"right",overflow:"hidden"},children:[(0,$4.jsx)(Me,{type:"primary",style:{marginRight:"8px"},onClick:()=>Fu.confirm(),"data-test":"Confirm",children:"Confirm"}),(0,$4.jsx)(Me,{onClick:()=>Fu.cancel(),"data-test":"Cancel",children:"Cancel"}),(0,$4.jsx)("div",{style:{float:"left",margin:"0 8px 0 0"},children:(0,$4.jsx)(Me,{style:{minWidth:"72px"},onClick:()=>Fu.preview(),"data-test":"Preview",children:"Preview"})})]})},folded:!0,esc:!0,children:(0,$4.jsx)(jon,{}),onCancel(){Fu.cancel()},onClose(){Fu.cancel()},onOk(){Fu.confirm()},openCallback(e){},onKeyup(e){switch(e.key){case"Enter":{setTimeout(()=>{Fu.confirm()},100);break}case"Escape":{Fu.cancel();break}}}}),Fu.init(t)}var NYt=class{constructor(){this.helperId="tawkDragger";this.pageMaskId="tawkDraggerMask";this.hidden=!1;this.draggingData={}}init(){if(typeof vo!="boolean"||!vo||typeof _t!="boolean"||_t)return;let e=["position: absolute;","top: 4px;","right: 4px;","width: 14px;","height: 14px;","border-radius: 50%;","text-align: center;","line-height: 20px;","cursor: pointer;","font-size: 12px;","border: solid 1px rgb(255, 255, 255);"].join(""),i=["opacity: 0;","position: fixed;","top: 0;","left: 0;","width: 100%;","height: 100%;","background-color: #fff;","cursor: move;","z-index: 199;"].join(""),o=["position: fixed;","bottom: 41px;","right: 26px;","width: 100px;","height: 100px;","background-color: #5588ff;","display: flex;","flex-direction: column;","justify-content: center;","align-items: center;","cursor: move;","border-radius: 5px;","z-index: 200;","color: white;","font-size: 12px;","padding-bottom: 8px;","box-sizing: border-box"].join(""),r=["display: inline-block;","position:relative;","left:5px;","width: 60px;","height: 60px;","background-size: 60px;","background-position: center;"].join(""),n=`<div class="icon-eda-cancel-border" style="${e}"></div>`,a=`<span id="chat-icon" class="icon-eda-chat" style="${r}"></span>`,l=`<div id="${this.helperId}" style="${o}">${a}<span id="text-span">Online Chat</span>${n}</div>`,c=`<div id="${this.pageMaskId}" style="${i}"></div>`,d="mousedown",u="mousemove",p="mouseup";document.body.insertAdjacentHTML("beforeend",l),this.helperDiv=document.getElementById(this.helperId);let m=this.helperDiv.lastElementChild;this.listen(this.helperDiv,"mouseenter",f=>{this.setStyleProp(this.helperDiv,"background-color","#4874D9")}),this.listen(this.helperDiv,"mouseleave",f=>{this.setStyleProp(this.helperDiv,"background-color","#5588ff")}),this.listen(m,"click",f=>{this.setStyleProp(this.helperDiv,"display","none"),this.hidden=!0}),this.listen(this.helperDiv,d,f=>{if((f.buttons&1)!=1||this.helperDiv!=f.target&&f.target!==document.getElementById("text-span")||this.hidden)return;document.body.insertAdjacentHTML("beforeend",c);let g=document.getElementById(this.pageMaskId);this.setStyleProp(g,"zIndex",10000002);let b=this.helperDiv.style.right,y=this.helperDiv.style.bottom;this.draggingData={x:f.clientX,y:f.clientY,r0:b,b0:y,dX:18,dY:18,dragging:1}}),this.listen(document,u,f=>{let g=this.draggingData;if((f.buttons&1)!=1||!g.dragging){this.onDocMouseUp(f,this);return}if(this.hidden)return;let b=f.clientX-g.x,y=f.clientY-g.y;if(g.dragging){let w=this.helperDiv;(b!==0||y!==0)&&(this.setStyleProp(w,"right",parseInt(g.r0)-b+"px"),this.setStyleProp(w,"bottom",parseInt(g.b0)-y+"px"))}}),this.listen(document,p,f=>{this.onDocMouseUp(f,this)});let h=document.getElementById("chat-icon");this.listen(h,"click",()=>{window.open(C.HelpURL.tawkto,"_blank")})}show(){this.hidden&&(this.hidden=!1,this.setStyleProp(this.helperDiv,"display","flex"))}listen(e,i,o){e.addEventListener(i,o)}removeListen(e,i,o){e.removeEventListener(i,o)}onDocMouseUp(e,i){var d;if((e.buttons&1)==1||!i.draggingData.dragging)return;let o=document.getElementById(i.pageMaskId),r=i.helperDiv||document.getElementById(i.helperId),n=r.style;(d=o==null?void 0:o.parentNode)==null||d.removeChild(o);let a=document.body.clientWidth,s=document.body.clientHeight,l=Math.min(a-r.clientWidth,Math.max(2,parseInt(n.right,10))),c=Math.min(s-r.clientHeight,Math.max(2,parseInt(n.bottom,10)));i.draggingData={dragging:0},i.hidden||(this.setStyleProp(r,"right",l),i.setStyleProp(r,"bottom",c))}setStyleProp(e,i,o){e!=null&&e.style&&i&&(e.style[i]=o)}},flt=new NYt;var kNo=L(Vi()),PNo=L(Ure());var DNo=t=>t.includes("symbol_x")&&t.includes("symbol_y")&&t.includes("rotation");var ENo=t=>t.includes("X")&&t.includes("Y")&&t.includes("Orient.");var ANo=t=>t.includes("Center-X")&&t.includes("Center-Y")&&t.includes("Rotation");var NNo=t=>t.includes("Mid X")&&t.includes("Mid Y")&&t.includes("Rotation");var db=class db{static init(){let e;if(!window.FileReader)return()=>{De({type:"error",msg:"Your browser cannot run this function."})};let i={multiple:!0,accept:".csv,.txt,.xlsx",fileFilter:o=>/\.(txt|csv|xlsx)$/i.test(o.name),onValidate:o=>{o||De({type:"error",msg:"Please select csv, txt, or xlsx files."})},onSelectFiles:async o=>{if(o.length===1||o.length>2){De({type:"error",msg:"Please select two files."});return}await Ro(o,async(r,n)=>{let a=db.getFileType(n.name),s=await db.handleFileData(n,a);if(!s){De({type:"error",msg:`\u6587\u4EF6\u89E3\u6790\u5931\u8D25:${n.name}`});return}let{soft:l,splitIndex:c}=db.determineSoftwareType(s);switch(l){case"Allegro":{db.fileNameArr.push(n.name),db.parseAllegro(s,c,n.name);break}case"AD":{db.fileNameArr.push(n.name),db.parseAd(s,c,n.name);break}case"Pads":{db.fileNameArr.push(n.name),db.parsePads(s,c,n.name);break}case"EasyEda":{db.fileNameArr.push(n.name),db.parseEasyEda(s,c,n.name);break}default:De({type:"error",msg:`\u5BFC\u5165\u7684\u6587\u4EF6\u6709\u8BEF:${n.name}`});break}}),db.fileNameArr.length===2&&db.handleCompare()}};return(()=>{e||(e=nu.instance((0,kNo.default)("<br>")).config(i)),e.openSelect()})()}static async handleFileData(e,i){try{if(i==="txt"||i==="csv")return(await this.readFileContent(e)).map(r=>r.trim().split(/[,\t]/));if(i==="xlsx")return await this.readExcelFile(e)}catch{De({type:"error",msg:"File parsing failed!"})}}static handleCompare(){this.compareAllegro(),this.comparePads(),this.compareAd(),this.compareEasyEda(),this.compareRes.size>0?this.exportCsvFile():De({type:"warn",msg:"\u6587\u4EF6\u65E0\u5DEE\u5F02"}),this.clearData()}static exportCsvFile(){let e=this.fileNameArr[0],i=this.fileNameArr[1],r=(["Designator","key",e,i].join("	")+`
`).replace(/"/g,'"'),n="";this.compareRes.forEach((l,c)=>{l.forEach((d,u)=>{let p=[];u===0?p.push(c,d.key,d[e],d[i]):p.push(" ",d.key,d[e],d[i]),n+=p.join("	")+`
`})});let a=r+n,s=`${e}-${i} \u5750\u6807\u5BF9\u6BD4\u7ED3\u679C`;f1e(a,s)}static clearData(){this.parseAllegroRes.size>0&&this.parseAllegroRes.clear(),this.parsePadsRes.size>0&&this.parsePadsRes.clear(),this.parseAdRes.size>0&&this.parseAdRes.clear(),this.parseEasyEdaRes.size>0&&this.parseEasyEdaRes.clear(),this.compareRes.size>0&&this.compareRes.clear(),this.fileNameArr.length>0&&(this.fileNameArr.length=0)}static determineSoftwareType(e){let i=e.length,o=0,r;for(let n=0;n<i;n++){let a=e[n].join("");if(DNo(a)){o=n,r="Allegro";break}if(ENo(a)){o=n,r="Pads";break}if(ANo(a)){o=n,r="AD";break}if(NNo(a)){o=n,r="EasyEda";break}}return{splitIndex:o,soft:r}}static readFileContent(e){return new Promise((i,o)=>{let r=new FileReader;r.onload=n=>{let a=n.target.result;i(a.split(`
`))},r.onerror=n=>o(n),r.readAsText(e)})}static readExcelFile(e){return new Promise(async(i,o)=>{let r=new PNo.Workbook,n=new FileReader;n.readAsArrayBuffer(e);let a=[];n.onload=async()=>{try{let s=n.result;(await r.xlsx.load(s)).eachSheet(c=>{c.eachRow(d=>{let u=[];d.eachCell(p=>{u.push(p.value.toString())}),a.push(u)})}),i(a)}catch(s){o(s)}}})}static getFileType(e){let i=e.split(".").pop().toLowerCase();if(i==="txt"||i==="csv"||i==="xlsx")return i;De({type:"error",msg:"Please select csv, txt, or xlsx files."})}static parseAllegro(e,i,o){let r=e[i][0].split("!").map(d=>d.trim()),n=r.findIndex(d=>d==="#    refdes"),a=r.findIndex(d=>d==="symbol_x"),s=r.findIndex(d=>d==="symbol_y"),l=r.findIndex(d=>d==="rotation"),c=r.findIndex(d=>d==="symbol_name");e.forEach((d,u)=>{if(!(u<=i||d[0].length<2)){let p=d[0].split("!").map(m=>m.trim());p[a]&&this.parseAllegroRes.set(p[n],{Source:o,SoftType:"Allegro",PositionX:p[a],PositionY:p[s],Rotation:p[l],Footprint:p[c]})}})}static parsePads(e,i,o){let r=e[i],n=r.findIndex(d=>d==="RefDes"),a=r.findIndex(d=>d==="X"),s=r.findIndex(d=>d==="Y"),l=r.findIndex(d=>d==="Orient."),c=r.findIndex(d=>d==="PartDecal");e.forEach((d,u)=>{u<=i||d.length<2||d[a]&&this.parsePadsRes.set(d[n],{Source:o,SoftType:"Pads",PositionX:d[a],PositionY:d[s],Rotation:d[l],Footprint:d[c]})})}static parseAd(e,i,o){let r=e[i].map(d=>d.replace(/"/g,"").replace(/\([^)]*\)/g,"")),n=r.findIndex(d=>d==="Designator"),a=r.findIndex(d=>d==="Center-X"),s=r.findIndex(d=>d==="Center-Y"),l=r.findIndex(d=>d==="Rotation"),c=r.findIndex(d=>d==="Footprint");e.forEach((d,u)=>{if(!(u<=i||d.length<2)){let p=d.map(m=>(typeof m=="string"&&(m=m.replace(/"/g,"")),m));p[a]&&this.parseAdRes.set(p[n],{Source:o,SoftType:"AD",PositionX:p[a],PositionY:p[s],Rotation:p[l],Footprint:p[c]})}})}static parseEasyEda(e,i,o){let r=e[i],n=r.findIndex(d=>d==="Designator"),a=r.findIndex(d=>d==="Mid X"),s=r.findIndex(d=>d==="Mid Y"),l=r.findIndex(d=>d==="Rotation"),c=r.findIndex(d=>d==="Footprint");e.forEach((d,u)=>{if(!(u<=i||d.length<2)){let p=d.map(m=>(typeof m=="string"&&(m=m.replace(/"/g,"")),m));p[a]&&this.parseEasyEdaRes.set(p[n],{Source:o,SoftType:"EasyEda",PositionX:p[a],PositionY:p[s],Rotation:p[l],Footprint:p[c]})}})}static compareAllegro(){this.parseAllegroRes.size!==0&&this.parseAllegroRes.forEach((e,i)=>{let o=this.parseAdRes.get(i)||this.parsePadsRes.get(i)||this.parseEasyEdaRes.get(i);!this.compareRes.has(i)&&this.hanldeCompareItem(i,e,o)})}static comparePads(){this.parsePadsRes.size!==0&&this.parsePadsRes.forEach((e,i)=>{let o=this.parseAdRes.get(i)||this.parseAllegroRes.get(i)||this.parseEasyEdaRes.get(i);!this.compareRes.has(i)&&this.hanldeCompareItem(i,e,o)})}static compareAd(){this.parseAdRes.size!==0&&this.parseAdRes.forEach((e,i)=>{let o=this.parsePadsRes.get(i)||this.parseAllegroRes.get(i)||this.parseEasyEdaRes.get(i);!this.compareRes.has(i)&&this.hanldeCompareItem(i,e,o)})}static compareEasyEda(){this.parseEasyEdaRes.size!==0&&this.parseAdRes.forEach((e,i)=>{let o=this.parsePadsRes.get(i)||this.parseAllegroRes.get(i)||this.parseAdRes.get(i);!this.compareRes.has(i)&&this.hanldeCompareItem(i,e,o)})}static addCompareResItem(e,i){this.compareRes.has(e)?this.compareRes.set(e,this.compareRes.get(e).concat(i)):this.compareRes.set(e,[i])}static getCompareResItemKey(e,i,o){let r="",n="";switch(e){case"PositionX":i==="Allegro"&&(r="symbol_x"),o==="Allegro"&&(n="symbol_x"),i==="Pads"&&(r="X"),o==="Pads"&&(n="X"),i==="AD"&&(r="Center-X"),o==="AD"&&(n="Center-X"),i==="EasyEda"&&(r="Mid X"),o==="EasyEda"&&(n="Mid X");break;case"PositionY":{i==="Allegro"&&(r="symbol_y"),o==="Allegro"&&(n="symbol_y"),i==="Pads"&&(r="Y"),o==="Pads"&&(n="Y"),i==="AD"&&(r="Center-Y"),o==="AD"&&(n="Center-Y"),i==="EasyEda"&&(r="Mid Y"),o==="EasyEda"&&(n="Mid Y");break}case"Rotation":{i==="Allegro"&&(r="rotation"),o==="Allegro"&&(n="rotation"),i==="Pads"&&(r="Orient."),o==="Pads"&&(n="Orient."),i==="AD"&&(r="Rotation"),o==="AD"&&(n="Rotation"),i==="EasyEda"&&(r="Rotation"),o==="EasyEda"&&(n="Rotation");break}case"Footprint":{i==="Allegro"&&(r="symbol_name"),o==="Allegro"&&(n="symbol_name"),i==="Pads"&&(r="PartDecal"),o==="Pads"&&(n="PartDecal"),i==="AD"&&(r="Footprint"),o==="AD"&&(n="Footprint"),i==="EasyEda"&&(r="Footprint"),o==="EasyEda"&&(n="Footprint");break}default:break}return r&&n?`${r}/${n}`:r}static hanldeCompareItem(e,i,o){if(o)for(let r in i){let n={};if(!(r==="SoftType"||r==="Source")){if(i[r]!==o[r]){let a=i[r].match(/-?\d+(\.\d+)?/g),s=o[r].match(/-?\d+(\.\d+)?/g);if(a&&s){let l=a.join(),c=s.join(),d=0,u=this.countDecimalPlaces(l),p=this.countDecimalPlaces(c);if(u>=p){if(d=p,Number(this.fomatFloat(l,d))===Number(c))continue}else if(d=u,Number(this.fomatFloat(c,d))===Number(l))continue}n.key=this.getCompareResItemKey(r,i.SoftType,o.SoftType),n[i.Source]=i[r],n[o.Source]=o[r]}Object.keys(n).length>0&&this.addCompareResItem(e,n)}}else for(let r in i)r==="SoftType"||r==="Source"||this.addCompareResItem(e,{key:this.getCompareResItemKey(r,i.SoftType),[i.Source]:i[r]})}static fomatFloat(e,i){let o=parseFloat(e);if(isNaN(o))return!1;o=Math.round(Number(e)*Math.pow(10,i))/Math.pow(10,i);let r=o.toString(),n=r.indexOf(".");for(n<0&&(n=r.length,i>0&&(r+="."));r.length<n+i;)r+="0";return r}static countDecimalPlaces(e){return e.includes(".")?e.split(".")[1].length:0}};db.fileNameArr=[],db.parseAllegroRes=new Map,db.parsePadsRes=new Map,db.parseAdRes=new Map,db.parseEasyEdaRes=new Map,db.compareRes=new Map;var glt=db;var ONo=L($de()),RNo=L(hS());var kYt=class{constructor(){this.eda=window._EXTAPI_ROOT_;this.tempCodeMap=new Map;this.tempCode="C00000"}async entry(){let e=this;this.bindId&&await this.stopComparison();let i=0,o=!1,r=!1;this.eda.sys_Timer.setIntervalTimer("waitingOpenDFM",2e3,async()=>{i++,e.eda.sys_Message.showToastMessage(me.context("extensionApi").i18n("The DFM connection attempt is in progress..."),"info");try{if((await e.eda.sys_ClientUrl.request("http://localhost:56889/eda_server?type=test","GET",void 0,{headers:{"Content-Type":"application/json"}})).ok&&!r){r=!0,e.eda.sys_Timer.clearIntervalTimer("waitingOpenDFM"),e.eda.sys_Message.showToastMessage(me.context("extensionApi").i18n("The DFM client is successfully connected!"),"success"),e.startComparison();return}}catch{if(o===!1&&(e.eda.sys_Message.showToastMessage(me.context("extensionApi").i18n("Starting the DFM client"),"info"),window.location.href="dfmapp://open%20--start-mode=EDA",o=!0),i>=5){e.eda.sys_Timer.clearIntervalTimer("waitingOpenDFM"),e.tipDialog(),vt(1,"Order PCB...");return}}})}async startComparison(){let e=this,i=await this.getAllData(),o=await this.eda.dmt_SelectControl.getCurrentDocumentInfo();if(!o||o.documentType!==3){this.eda.sys_Message.showToastMessage(me.context("extensionApi").i18n("Do this on the PCB canvas!"),"error");return}this.bindId="check-dfm_"+o.uuid,await e.eda.sys_ClientUrl.request("http://localhost:56889/eda_server?type=push_task","POST",JSON.stringify({files:i,bind_id:e.bindId}),{headers:{"Content-Type":"application/json"}}),e.eda.sys_Timer.setTimeoutTimer("waitingLastBeginTimer",100,async()=>{await e.eda.sys_ClientUrl.request("http://localhost:56889/eda_server?type=begin_dfm_link_task","POST",JSON.stringify({bind_id:e.bindId}),{headers:{"Content-Type":"application/json"}})});async function r(a){let s=await e.eda.dmt_SelectControl.getCurrentDocumentInfo();if(!s||"check-dfm_"+s.uuid!==e.bindId){e.eda.sys_Message.showToastMessage(me.context("extensionApi").i18n("The current canvas change has been detected, and the linkage has stopped."),"info"),e.eda.sys_WebSocket.close("dfmLink"),e.eda.sys_ClientUrl.request("http://localhost:56889/eda_server?type=end_dfm_link_task","POST",JSON.stringify({bind_id:e.bindId}),{headers:{"Content-Type":"application/json"}}),e.bindId=void 0;return}let l=JSON.parse(a.data);if(l.type==="dfm_analysis_detail_location"&&l.data&&l.data.shapes&&l.data.open_layers_name&&Array.isArray(l.data.shapes)&&l.data.shapes.length>=1){console.log("[DEBUG] \u6536\u5230 DFM \u8054\u52A8\u63A8\u9001\u6570\u636E\uFF1A",l.data.shapes),e.eda.dmt_EditorControl.generateIndicatorMarkers(l.data.shapes,void 0,3,!1);let c=0,d=0,u=l.data.shapes[0];switch(u.type){case"point":case"circle":c=u.x,d=u.y;break;case"line":case"arc":c=(u.startX+u.endX)/2,d=(u.startY+u.endY)/2;break;case"rectangle":c=(u.left+u.right)/2,d=(u.top+u.bottom)/2;break}e.eda.pcb_Document.navigateToCoordinates(c,d)}l.type==="clear_picture"&&(console.log("[DEBUG] \u6536\u5230 DFM \u8054\u52A8\u6E05\u9664\u753B\u5E03\u6807\u8BC6"),e.eda.dmt_EditorControl.removeIndicatorMarkers())}let n=0;this.eda.sys_Timer.setIntervalTimer("waitingBeginDFMLink",1e3,async()=>{try{e.eda.sys_WebSocket.register("dfmLink","ws://localhost:56890",r,async()=>{e.eda.sys_Timer.clearIntervalTimer("waitingBeginDFMLink"),e.eda.sys_Message.showToastMessage(me.context("extensionApi").i18n("Compare linkage has begun!"),"success"),vt(1,"Order PCB...")})}catch{if(n++,n>=5){e.eda.sys_Timer.clearIntervalTimer("waitingBeginDFMLink"),e.eda.sys_Message.showToastMessage(me.context("extensionApi").i18n("The DFM WebSocket server failed to start!"),"error"),e.stopComparison();return}}})}async stopComparison(){this.eda.dmt_EditorControl.removeIndicatorMarkers(),this.eda.sys_WebSocket.close("dfmLink"),this.eda.sys_ClientUrl.request("http://localhost:56889/eda_server?type=end_dfm_link_task","POST",JSON.stringify({bind_id:this.bindId}),{headers:{"Content-Type":"application/json"}}),this.bindId=void 0,vt(1,"Order PCB...")}tipDialog(){Dt({title:me.i18n("Tip"),content:`
            <div>
                <div style="line-height: 20px;" class="i18n">You have not downloaded the JLCDFM client, whether to download the installation package immediately?</div>
                <div style="line-height: 20px;"><span class="i18n">After downloading and installing, click Check DFM function again to use it.</div>
            </div>
             `,icon:"info",confirmText:"View tool introduction",cancelText:"Download immediately",closed:!0,showCancel:!0,isHtml:!0,confirmButtonType:"default",cancelButtonType:"primary",onConfirm:()=>{window.open(C.HelpURL.dfm_tool_introduction_link)},onCancel:()=>{window.open(C.HelpURL.dfm_download_link)}})}async toBase64ByString(e,i){let o=new RNo.default;o.file(e,i);let r=await o.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:6}}),n=await this.toBase64ByBlob(r);return{mergeFileBefore:r,base64MergeFile:n}}async toBase64ByBlob(e){return new Promise((i,o)=>{let r=new FileReader;r.onloadend=()=>{if(r.readyState===2){let n=r.result.split(",")[1];i(n)}else o(new Error("Error reading Blob as Base64"))},r.onerror=o,r.readAsDataURL(e)})}getFileInfo(){var g,b;let e=Date.now(),i=Date.now(),o=((g=C.globalVariableCookieData.userInfo)==null?void 0:g.customerCode)||((b=C.globalVariableCookieData.userInfo)==null?void 0:b.uuid)||"";return{create_time:e,modify_time:i,modify_user:o,software:"lceda-pro",data_type:"EDA_DFM_CREATOR",customer_code:null,pcb_order:null,smt_order:null,version:"1.7.1",companyName:null,appName:null,appVersion:null,data_modify_time:null,customer_modify_time:null}}getCheckInfo(e){let i=0,o=0;for(let a of e)i=i+a.top.length,o=o+a.bottom.length;return{assembler_total_num:i+o,top_assembler_total_num:i,bot_assembler_total_num:o}}getCompInfo(e,i){let o={};if(e)for(let r of e)for(let n of r){let a=n.attrs,s=!a["Supplier Part"],l={is_base:null,proc:s?null:this.getSMDData(i,a["Supplier Part"]),mode:null,part_name:s?null:a["LCSC Part Name"]||null,lc_model:null,lc_pkg:s?null:a["Supplier Footprint"]||null,lc_ma:s?null:a.Manufacturer||null,q:null,is_temp_code:!1,code:a["Supplier Part"]||"",packageuuid:s?null:a.Device||null},c=a["Supplier Part"]||this.tempCode;s&&this.tempCodeMap.set(n.displayDevice,c),o[c]=l}return o}getSMDData(e,i){let o=null,r=e.result;if(r){let n=r.find(a=>a[14]==i);n&&(o=n[12]?n[12]=="Yes"?"SMT":"THT":null)}return o}getDesignatorInfo(e,i){let o=new Array,r=new Array,n=null,a=[{name:"default",x_offset:0,y_offset:0,ang:0}],s=e.result;if(s)for(let l=0;l<s.length;l++){let c=s[l],d=i.findIndex(p=>p.includes(c[0])),u=this.getItem(c,l,d);c[10]=="T"?o.push(u):r.push(u)}return[{name:n,set:a,top:o,bottom:r}]}getItem(e,i,o){let r=i+1,n=o+1,a=e[0],s=e[15],l=String(e[9]),c=e[13],d=e[14]||this.tempCode,u=!0,p=!1,m="lceda-pro",h=e[11],f={x:Number(e[3].replace("mm","")),y:Number(e[4].replace("mm","")),ang:Number(h)},g={x:e[3],y:e[4],rx:e[5],ry:e[6],px:e[7],py:e[8],ang:`${h}`};return{pick_index:r,bom_index:n,des:a,ft_name:s,ft_pins:l,cm:c,lc_code:d,is_mount:u,sel_mount:p,source:m,ec:f,oc:g,des_lock:!1}}getContent(e,i,o){let r=this.getFileInfo(),n=this.getCompInfo(e,i),a=this.getDesignatorInfo(i,o),s=this.getCheckInfo(a),c=JSON.stringify({file_info:r,check_info:s,comp_info:n,designator_info:a,product_info:null}),u={sum:(0,ONo.default)(c),data:c};return JSON.stringify(u,null,2)}async getAllData(){let e=VJ(),i=await aq({silk:e,checkDFM:!0}),{gerber:o,bom:r,coordinate:n}=i,a=i.gerberData,s=i.bomData,l=i.coordinateData,c=this.getContent(s==null?void 0:s.symbols,l==null?void 0:l.coordinateData,s==null?void 0:s.bomListIndexArr),d=await this.toBase64ByBlob(o),u=await this.toBase64ByBlob(r),p=await this.toBase64ByBlob(n),{mergeFileBefore:m,base64MergeFile:h}=await this.toBase64ByString("bom_merge.json",c);return[{file_name:a.fileName,file_type:"gerber",file_data:d,file_length:a.fileContent.size},{file_name:s.fileName+s.fileType,file_type:"bom",file_data:u,file_length:s.fileContent.size},{file_name:l.fileName+"."+l.fileType,file_type:"place",file_data:p,file_length:l.fileContent.size},{file_name:"bom_merge.json",file_type:"bom_merge",file_data:h,file_length:m.size}]}},_No=new kYt;var WNo=L(Hr());var GNo=L(Se());var bte=class{constructor(e,i){this._itemManger=i;this._processed=0;this.updateByData(e)}get uuid(){return this._uuid}get tabId(){return`${this._path}@${this.projectUuid}`}get processed(){return this._processed}set processed(e){this._processed=e}get projectUuid(){return this._projectUuid}get path(){return this._path}get objects(){return this._objects}get customArea(){return this._customArea}get items(){return this._itemManger.getItems(this._uuid)}get hasItems(){return this._itemManger.hasItems(this._uuid)}get replyItemId(){return this._replyItemId}set replyItemId(e){this._replyItemId=e}get replyItem(){return this._itemManger.getItem(this._replyItemId,this._uuid)}get lastCreateItemTime(){var e;return(e=this.items.pop())==null?void 0:e.createTime}get data(){var i;let e=!1;return(i=this.objects)!=null&&i.length&&(e=!0),{uuid:this.uuid,customArea:e?null:this.customArea,objects:e?this.objects:null,path:this.path,processed:this.processed,projectUuid:this.projectUuid}}updateByData(e){this._uuid=e.uuid,this._customArea=e.customArea,this._projectUuid=e.projectUuid,this._objects=e.objects,this._path=e.path,this._processed=e.processed}};var yte=class{constructor(e){this._isExpand=!1;this._uuid=e.uuid,this._owner=e.owner,this._belongUuid=e.belongUuid,this._content=e.content,this._owner=e.owner,this._createTime=e.createTime,this._updateTime=e.updateTime,this._projectUuid=e.projectUuid,this._replyUuid=e.replyUuid}get uuid(){return this._uuid}get owner(){return{...this.owner}}get ownerName(){var e,i;return((e=this._owner)==null?void 0:e.nickname)||((i=this._owner)==null?void 0:i.username)||me.i18n("User does not exist")}get ownerId(){return this._owner.uuid}get ownerAvatar(){var e;return((e=this._owner)==null?void 0:e.avatar)||"./images/avatar-default.png"}get content(){return this._content}get createTime(){return this._createTime}get displayCreateTime(){return ue.formatDate2(this._createTime*1e3)}get replyUuid(){return this._replyUuid}get belongUuid(){return this._belongUuid}get updateTime(){return this._updateTime}get displayUpdateTime(){return ue.formatDate2(this._updateTime*1e3)}get projectUuid(){return this._projectUuid}set isExpand(e){this._isExpand=e}get isExpand(){return this._isExpand}get needExpandBtn(){return this._content.length>120}};var blt=class{constructor(e){this.store=e;this._map=new Map;this._onAddCallbacks=new Set;this._onRemoveCallbacks=new Set;this._onUpdateCallbacks=new Set;this._onClearCallbacks=new Set}_getBlock(e){for(let i of this._map.values())if(i.has(e))return i.get(e);return null}async _addNotify(e){let i=lo(e.path,e.projectUuid),o=await lte(i);o&&C.windowBridge.publish("addAnnotation",e.data,o)}async _updateNotify(e){let i=lo(e.path,e.projectUuid),o=await lte(i);o&&C.windowBridge.publish("updateAnnotation",{[e.uuid]:e.data},o)}async _removeNotify(e){let i=lo(e.path,e.projectUuid),o=await lte(i);o&&C.windowBridge.publish("deleteAnnotation",e.uuid,o)}on(e,i){switch(e){case"add":this._onAddCallbacks.add(i);break;case"update":this._onUpdateCallbacks.add(i);break;case"remove":this._onRemoveCallbacks.add(i);break;case"clear":this._onClearCallbacks.add(i);break}}off(e,i){switch(e){case"add":this._onAddCallbacks.delete(i);break;case"update":this._onUpdateCallbacks.delete(i);break;case"remove":this._onRemoveCallbacks.delete(i);break;case"clear":this._onClearCallbacks.delete(i);break}}addBlock(e){this._map.has(e.path)||this._map.set(e.path,new Map),this._map.get(e.path).set(e.uuid,e),this._addNotify(e),this._onAddCallbacks.forEach(i=>i(e))}removeBlock(e,i){var r;i==null&&(i=(r=this._getBlock(e))==null?void 0:r.path);let o=this._map.get(i);if(o!=null&&o.has(e)){let n=o.get(e);this._removeNotify(n),this._onRemoveCallbacks.forEach(a=>a(n)),o.delete(e)}}updateBlock(e,i){var o;(o=this._map.get(i.path))==null||o.set(e,i),this._updateNotify(i),this._onUpdateCallbacks.forEach(r=>r(i))}getBlock(e,i){var o,r,n;return i!=null?(o=this._map.get(i))==null?void 0:o.get(e):(n=this._map.get((r=this._getBlock(e))==null?void 0:r.path))==null?void 0:n.get(e)}getBlocks(e,i){var o;if(i!=null){let r=((o=this._map.get(i))==null?void 0:o.values())||[];if(e==null)return Array.from(r);{let n=[];for(let a of r)a.processed===e&&n.push(a);return n}}else{let r=[];return this._map.forEach(n=>{n.forEach(a=>{(e==null||e==a.processed)&&r.push(a)})}),r}}getAllPath(){return Array.from(this._map.keys())}clear(){this._map=new Map,this._onClearCallbacks.forEach(e=>e())}getAll(){return this._map}};var ylt=class{constructor(){this._map=new Map}_getItem(e){for(let i of this._map.values())if(i.has(e))return i.get(e);return null}addItem(e){this._map.has(e.belongUuid)||this._map.set(e.belongUuid,new Map),this._map.get(e.belongUuid).set(e.uuid,e)}removeItem(e,i){var o,r,n;i!=null?(o=this._map.get(i))==null||o.delete(e):(n=this._map.get((r=this._getItem(e))==null?void 0:r.belongUuid))==null||n.delete(e)}updateItem(e,i){var o;(o=this._map.get(i.belongUuid))==null||o.set(e,i)}getItem(e,i){var o,r,n;return i!=null?(o=this._map.get(i))==null?void 0:o.get(e):(n=this._map.get((r=this._getItem(e))==null?void 0:r.belongUuid))==null?void 0:n.get(e)}getItems(e){var o;let i=(o=this._map.get(e))==null?void 0:o.values();return i?Array.from(i):[]}hasItems(e){var i;return!!((i=this._map.get(e))!=null&&i.size)}clear(){this._map=new Map}};var wlt={async hasViewPermission(t=C.currentProject.projectId){let e=await cR(t);return Hd(e,Io.Project_Viewing)},async hasEditPermission(t=C.currentProject.projectId){let e=await cR(t);return Hd(e,Io.Project_Viewing)},async hasDeletePermission(t=C.currentProject.projectId){let e=await cR(t);return Hd(e,Io.Endorse_Deleting)},async getAllPermission(t=C.currentProject.projectId){let e=await cR(t);return{view:Hd(e,Io.Project_Viewing),edit:Hd(e,Io.Project_Viewing),delete:Hd(e,Io.Endorse_Deleting)}}};var p6=class t extends qe{constructor(i){super();this.parent=i;this._refreshId=0;this._socketConnected=!1;this._isOperating=!1;this._type="unprocessed";this._range="currentProject";this._showCanvasAnnotation=!1;this.annotationBlockMgr=new blt(this);this.annotationItemMgr=new ylt;this._displayPathMap=new Map;this._displayObjectMap=new Map;this._httpRequestTimer=this._intervalByHttp();this._loadedBlockSize=MTe;this._permission={edit:!0,view:!0,delete:!0};this.refreshView=ue.debounce(i=>{(!this.isOperating||i!=null&&i.force)&&(this.refreshViewCfg=i,this.notify())},10);t._instance=this;let o=nte(`/${window._TAB_ID_}/notify`);C.messageBus.subscribe("astBuildedAfterProjectOpen",async()=>{var a;if(!_t||ln.isViewerMode)return!1;let r=C.currentProject.projectId,n=await J4t(r);this.reloadData(n.blocks,n.items),await C.messageBus.rpcCall("getSheetAllTitle",this.annotationBlockMgr.getAllPath().reduce((s,l)=>(s[l]=[],s),{})).then(s=>{let l=s.message||{};it(l,(c,d)=>{d!=null&&this._displayPathMap.set(c,{title:d.title,docType:d.docType})})}),await C.messageBus.rpcCall("getPcbAllTitle",this.annotationBlockMgr.getAllPath().reduce((s,l)=>(s[l]=[],s),{})).then(s=>{let l=s.message||{};it(l,(c,d)=>{d!=null&&this._displayPathMap.set(c,{title:d.title,docType:d.docType})})}),this._permission=await wlt.getAllPermission(),this.refreshView(),(a=this._socketSubscribeTask)==null||a.cancel(),this._socketSubscribeTask=o.subscribe(`/pro-mgr/notify/message/project/${r}/annotation`,({msg:s})=>{var l;switch(s==null?void 0:s.type){case 1:{let{block:c,item:d}=s||{};c&&!this.annotationBlockMgr.getBlock(c.uuid,c.path)&&this.annotationBlockMgr.addBlock(new bte(c,this.annotationItemMgr)),d&&!this.annotationItemMgr.getItem(d.uuid,d.belongUuid)&&this.annotationItemMgr.addItem(new yte(d));break}case 2:{let{block:c,item:d}=s||{};if(d){let u=d.uuid,p=(l=this.annotationItemMgr.getItem(u))==null?void 0:l.belongUuid,m=this.annotationBlockMgr.getBlock(p);this.annotationItemMgr.removeItem(u),m&&!m.items.length&&this.annotationBlockMgr.removeBlock(m.uuid,m.path)}c&&this.annotationBlockMgr.removeBlock(c.uuid);break}}this.refreshView(),this.socketConnected=!0})}),C.messageBus.subscribe(s0.ON_CLOSED,(r,n)=>{this.annotationBlockMgr.clear(),this.annotationItemMgr.clear(),this.refreshView()}),C.messageBus.subscribe("tabChange",({fromTab:r,tabId:n,docType:a})=>{(Fh(a)||NRe(a))&&this.range==="currentDocument"&&this.refreshView()}),C.messageBus.subscribe("sch/tabIdChange",r=>{var l,c;if(r.doctype!==ve.SCH||r.before===r.current)return;let n=r.current,a=(l=n==null?void 0:n.split(UT))==null?void 0:l[0],s=he.getTabIframeSync(n);s&&C.windowBridge.publish("initCanvasAnnotation",{showCanvasAnnotation:this.showCanvasAnnotation,blocks:((c=this.annotationBlockMgr.getBlocks(void 0,a))==null?void 0:c.map(d=>d.data))||[],selectedBlockId:this.selectedBlockId},s.contentWindow)}),o.subscribe("/pro-mgr/notify/established",()=>{this.socketConnected=!0}),o.subscribe("/pro-mgr/notify/closed",()=>{this.socketConnected=!1})}static getStore(){return this._instance}get refreshViewCfg(){return this._refreshViewCfg}set refreshViewCfg(i){this._refreshViewCfg=i}get refreshId(){return this._refreshId}set refreshId(i){this._refreshId=i,this.refreshView()}set socketConnected(i){this._socketConnected=i,i?(clearInterval(this._httpRequestTimer),this._httpRequestTimer=null):this._httpRequestTimer==null&&_t&&(this._httpRequestTimer=this._intervalByHttp())}get socketConnected(){return this._socketConnected}get newBlock(){return this._newBlock?{...this._newBlock}:this._newBlock}set newBlock(i){i?this._newBlock={...i}:this._newBlock=i}get isOperating(){return this._isOperating}set isOperating(i){this._isOperating=i}get type(){return this._type}set type(i){this._type=i}get status(){if(this._type==="all")return null;if(this._type==="processed")return 1;if(this._type==="unprocessed")return 0}get range(){return this._range}set range(i){this._range=i}get path(){if(this._range==="currentProject")return null;let i=gi();return wr(i)[0]}get showCanvasAnnotation(){return this._showCanvasAnnotation}set showCanvasAnnotation(i){this._showCanvasAnnotation=i,this.upDataAnnotation()}upDataAnnotation(){let i=this.showCanvasAnnotation;he.getOpenedTabsInfo([ve.PCB]).then(async o=>{for(let r of o)C.windowBridge.publish("changeShowCanvasAnnotation",{show:i},await lte(r.tabid))}),he.getOpenedTabsInfo([ve.SCH]).then(async o=>{for(let r of o)C.messageBus.publish("changeShowCanvasAnnotation",{show:i,tabId:r.tabid})})}get blocks(){return this.annotationBlockMgr.getBlocks(this.status,this.path).sort((i,o)=>o.lastCreateItemTime-i.lastCreateItemTime)}get selectedBlockId(){return this._selectedBlockId}set selectedBlockId(i){this._selectedBlockId=i}get selectedBlock(){return this.annotationBlockMgr.getBlock(this.selectedBlockId)}get loadedBlockSize(){let i=Math.min(this.annotationBlockMgr.getBlocks(this.status,this.path).length,this._loadedBlockSize);return this._loadedBlockSize!=i&&(this._loadedBlockSize=Math.max(i,MTe)),i}set loadedBlockSize(i){this._loadedBlockSize=i}get loadedBlocks(){return this.blocks.slice(0,this.loadedBlockSize)}get canView(){return this._permission.view}get canEdit(){return this._permission.edit}get canDelete(){return this._permission.delete}_intervalByHttp(){return setInterval(async()=>{let i=C.currentProject.projectId;i&&this._reloadDataByHttp(i)},3e4)}async _reloadDataByHttp(i,o=this.refreshId+1){let{blocks:r,items:n}=await J4t(i);o<=this.refreshId||(this.reloadData(r,n),this.refreshId=o)}reloadData(i,o){for(let r of i){let n=this.annotationBlockMgr.getBlock(r.uuid,r.path);n?n.updateByData(r):(this.annotationBlockMgr.addBlock(new bte(r,this.annotationItemMgr)),C.messageBus.publish("updateCreateAnnotation",r))}this.annotationItemMgr.clear();for(let r of o)this.annotationItemMgr.addItem(new yte(r))}getItemOrder(i,o){let r=0;for(let n of this.annotationItemMgr.getItems(o))if(r++,n.uuid===i)return r}getPathDocType(i){var o,r;return(r=(o=this._displayPathMap)==null?void 0:o.get(i))==null?void 0:r.docType}getDisplayObject(i,o){var r,n;return(n=(r=this._displayObjectMap)==null?void 0:r.get(i))==null?void 0:n.get(o)}getDisplayPath(i){var a;let o=(a=this._displayPathMap)==null?void 0:a.get(i);if(!o)return null;let r=(()=>{switch(o==null?void 0:o.docType){case ve.PCB:return"PCB";case ve.SCH:return i.includes("$")?"Instance Page":"Schematic"}return""})(),n=o==null?void 0:o.title;return[r,n]}getAnnotationType(i){var o,r;return(r=(o=this._displayPathMap)==null?void 0:o.get(i))==null?void 0:r.docType}updateDisplayObject(i,o){let r=this._displayObjectMap.get(i);r||(this._displayObjectMap.set(i,new Map),r=this._displayObjectMap.get(i));for(let n in o)r.set(n,o[n])}updateDisplayPath(i,o,r){this._displayPathMap.set(i,{title:o,docType:r})}isLastLoadedBlock(i){var o;return((o=this.loadedBlocks.at(-1))==null?void 0:o.uuid)===i}};var FYt=L(Nye());var zNo=L(Se());var RYt=L(Nye());var Gk=L(z());function FNo(){Ae(RYt.default);let{locals:t}=RYt.default,e=be.bind(t),i=J(),o=p6.getStore(),r=[{key:"currentProject",title:"Current Project",tabStyle:{width:"50&"}},{key:"currentDocument",title:"Current Document",tabStyle:{width:"50&"}}],n=[{value:"unprocessed",text:"Unprocessed"},{value:"processed",text:"Processed"},{value:"all",text:"All"}],[a,s]=(0,zNo.useState)(!1);return Ce(Po,()=>{let l=Po.workingMode===Ee.COMMON_BLANK;return l!==a&&(l&&(o.range="currentProject"),s(l)),!1}),(0,Gk.jsxs)("div",{className:e("header"),children:[!a&&(0,Gk.jsx)(yl,{lists:r,direction:"top",type:"panel",activeKey:o.range,isShowMarkLine:!0,onClick:l=>{o.range=l,o.refreshView()}}),(0,Gk.jsxs)("div",{style:{display:"flex",padding:"8px",justifyContent:"space-between",flexWrap:"wrap-reverse",rowGap:"4px"},children:[(0,Gk.jsx)("div",{style:{flexGrow:1},children:(0,Gk.jsx)(xt,{style:{width:"72px"},value:o.type,list:n,onChange:l=>{o.type=l,o.upDataAnnotation(),o.refreshView()}})}),(0,Gk.jsx)("div",{title:i("Export Annotation"),children:(0,Gk.jsx)(Me,{size:"sm",onClick:()=>{et("exportAnnotation")},style:{width:"72px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",margin:"0 4px"},children:"Export Annotation"})}),(0,Gk.jsxs)("div",{style:{display:"inline-flex",gap:"4px",alignItems:"center"},children:[(0,Gk.jsx)("span",{"data-test":"Canvas Display Annotions",children:i("Canvas Display Annotions")}),(0,Gk.jsx)(Gge,{checked:o.showCanvasAnnotation,onChange:l=>{o.showCanvasAnnotation=l}})]})]})]})}var zYt=L(Nye());var DR=L(Se());var jYt=L(Nye());var _Yt=L(Nye()),Yy=L(z());function UNo({itemId:t}){Ae(_Yt.default);let{locals:e}=_Yt.default,i=be.bind(e),o=J(),r=p6.getStore(),n=r.annotationItemMgr.getItem(t),a=r.annotationBlockMgr.getBlock(n.belongUuid),s=r.getItemOrder(n.uuid,n.belongUuid),l=r.annotationItemMgr.getItem(n.replyUuid,n.belongUuid),c=ca();return(0,Yy.jsxs)("div",{className:i("item"),children:[(0,Yy.jsx)("div",{className:i("item-avatar"),style:{backgroundImage:`url("${n.ownerAvatar}")`}}),(0,Yy.jsxs)("div",{className:i("item-info"),children:[(0,Yy.jsx)("span",{className:i("item-name"),title:n.ownerName,children:n.ownerName}),(0,Yy.jsx)("span",{className:i("item-date"),title:n.displayCreateTime,children:n.displayCreateTime}),r.canDelete&&(0,Yy.jsx)("a",{href:"#","data-test":"Delete",className:i("item-delete"),title:o("Delete"),onClick:async()=>{await Lpi({uuid:t,projectUuid:n.projectUuid}),r.annotationItemMgr.removeItem(t,n.belongUuid),a.items.length||r.annotationBlockMgr.removeBlock(a.uuid,a.path),r.refreshView()},children:o("Delete")}),r.canEdit&&(0,Yy.jsx)("a",{href:"#","data-test":"Reply",className:i("item-reply"),title:o("Reply"),onClick:()=>{a.replyItemId=n.uuid,r.refreshView({focusId:a.uuid})},children:o("Reply")})]}),(0,Yy.jsx)("div",{className:i("item-order"),children:s}),(0,Yy.jsxs)("figure",{children:[n.replyUuid&&(0,Yy.jsxs)("blockquote",{cite:n.replyUuid,children:[o("Reply")," ",l?r.getItemOrder(n.replyUuid,n.belongUuid)+":"+l.content:o("Deleted")]}),(0,Yy.jsx)("div",{className:i("item-content"),title:n.content,children:n.needExpandBtn?n.isExpand?(0,Yy.jsxs)(Yy.Fragment,{children:[n.content,(0,Yy.jsx)("a",{href:"#",onClick:()=>{n.isExpand=!1,c()},children:o("Collapse")})]}):(0,Yy.jsxs)(Yy.Fragment,{children:[n.content.slice(0,120),"...",(0,Yy.jsx)("a",{href:"#",onClick:()=>{n.isExpand=!0,c()},children:o("Expand")})]}):n.content})]})]})}var H1=L(z());function BYt({blockId:t}){var k,P,O,_;Ae(jYt.default);let{locals:e}=jYt.default,i=be.bind(e),o=J(),r=p6.getStore(),n=t===mre,a=n?null:r.annotationBlockMgr.getBlock(t),s=n?r.newBlock:a,l=!1,[c,d]=(0,DR.useState)(!1),[u,p]=(0,DR.useState)(!0),[m,h]=(0,DR.useState)(""),f=(0,DR.useRef)(null),g=(0,DR.useRef)(!1),b=ca();(0,DR.useEffect)(()=>{let j=new IntersectionObserver(B=>{if(B[0].intersectionRatio>0||B[0].isIntersecting){!n&&r.isLastLoadedBlock(a.uuid)&&(r.loadedBlockSize+=MTe,r.refreshView({force:!0}));let V={[s.path]:s.objects||[]};C.messageBus.rpcCall("getSheetAllTitle",V).then(G=>{let Q=G.message||{};it(Q,(H,q)=>{q!=null&&(r.updateDisplayPath(H,q.title,q.docType),r.updateDisplayObject(H,q.data||[]))}),b()})}});return f.current&&j.observe(f.current),()=>{j.disconnect()}},[f.current]),(0,DR.useEffect)(()=>{l||m.trim().length<1?p(!0):p(!1)},[l,m]);let y=200,w=!1;if((0,DR.useEffect)(()=>{setTimeout(()=>{w=!1},y)},[w]),!n&&!(a!=null&&a.hasItems))return(0,H1.jsx)(H1.Fragment,{});!n&&r.selectedBlockId===a.uuid&&((k=r.refreshViewCfg)==null?void 0:k.focusId)===a.uuid&&((O=(P=f==null?void 0:f.current)==null?void 0:P.querySelector("textarea"))==null||O.focus());let x=T(),S=M();function T(){let j=r.getDisplayPath((a||r.newBlock).path);if(j==null)return o("Document deleted");{let[B,V]=j;return`${o(B)}: ${V}`}}function M(){var B;let j=s.customArea;if((j==null?void 0:j.minX)!=null){let V;r.getPathDocType(s.path)===ve.PCB?V=eA():V=Vo();let G=fo(io(j.minX,"pixel",V),V),Q=fo(io(j.minY,"pixel",V),V),H=fo(io(j.maxX,"pixel",V),V),q=fo(io(j.maxY,"pixel",V),V);return`${o({value:"Region",context:"Annotation"})}: [${G} , ${Q} ; ${H} , ${q}] ${V}`}else{let V=(B=s.objects)==null?void 0:B.map(G=>r.getDisplayObject(s.path,G)).filter(G=>!!G);return V!=null&&V.length?V.join(","):o("Primitives deleted")}}function I(){let j=["block"];return r.selectedBlockId===t&&j.push("selected"),i(j.join(" "))}function A(){w||(D(r.selectedBlock),r.selectedBlockId=t,r.refreshView(),E())}function D(j){if(!n&&j){let B=he.getTabIframeSync(j.tabId)||top;B&&C.windowBridge.publish("unSelectAnnotation",r.selectedBlockId,B.contentWindow||top)}}async function E(){n||gi()===a.tabId&&C.windowBridge.publish("selectAnnotation",t,await Ra()||top)}async function N(){if(!n){if(he.getTabById(a.tabId))await he.setTabActive(a.tabId);else switch(r.getAnnotationType(a.path)){case ve.SCH:await C.messageBus.rpcCall("openDocByUuid",[a.path,a.projectUuid]);break;case ve.PCB:await Ud(a.path);break}C.windowBridge.publish("doubleSelectAnnotation",t,await lte(a.tabId)||top)}}async function R(){if(!u){if(l=!0,n){let j=await Mpi({...r.newBlock,projectUuid:r.newBlock.projectUuid,path:r.newBlock.path,content:m.trim()});r.annotationBlockMgr.getBlock(j.block.uuid,j.block.path)||r.annotationBlockMgr.addBlock(new bte(j.block,r.annotationItemMgr)),j.item.uuid&&!r.annotationItemMgr.getItem(j.item.uuid,j.block.uuid)&&r.annotationItemMgr.addItem(new yte(j.item)),r.selectedBlockId=j.block.uuid,r.newBlock=null,C.windowBridge.publish("confirmAnnotation",j.block,await Ra()||top)}else{let j=await Ipi({content:m.trim(),belongUuid:t,projectUuid:a.projectUuid,replyUuid:a.replyItemId||void 0});r.annotationItemMgr.addItem(new yte(j)),a.replyItemId=null,h("")}r.refreshView(),l=!1}}async function v(){if(n)r.newBlock=null,r.refreshView(),C.windowBridge.publish("cancelCreateAnnotation",{},await Ra()||top);else if(a.replyItemId){let j=a.replyItemId;a.replyItemId=null,h(""),j&&b()}else h(""),C.messageBus.publish("selectAnnotationBlock",{uuid:null})}return(0,H1.jsxs)("div",{ref:f,className:I(),onClick:j=>{["A"].includes(j.target.tagName)||setTimeout(A,y)},onDoubleClick:j=>{w=!0,!["A"].includes(j.target.tagName)&&(D(r.selectedBlock),r.selectedBlockId=t,r.refreshView(),N())},onMouseEnter:async()=>{!n&&gi()===a.tabId&&C.windowBridge.publish("highlightAnnotation",a.uuid,await Ra()||top)},onMouseLeave:async()=>{!n&&gi()===a.tabId&&C.windowBridge.publish("unHighlightAnnotation",a.uuid,await Ra()||top)},children:[(0,H1.jsxs)("div",{className:i("block-header"),children:[(0,H1.jsxs)("div",{children:[r.range==="currentProject"&&(0,H1.jsx)("div",{title:x,children:x}),(0,H1.jsx)("div",{title:S,children:S})]}),!n&&(0,H1.jsx)("a",{className:i(a.processed?"checked":"un-checked"),href:"#",title:a.processed?o("mark as open"):o("mark as done"),onClick:async()=>{if(c)return;d(!0);let j;a.processed==1?j=0:j=1;let B=await Spi({uuid:a.uuid,processed:j});r.annotationBlockMgr.updateBlock(t,new bte(B,r.annotationItemMgr)),d(!1),r.refreshView()},children:"\u2714"})]}),!n&&a.items.map(j=>(0,H1.jsx)(UNo,{itemId:j.uuid},j.uuid)),r.selectedBlockId===t&&(0,H1.jsxs)("div",{className:i("item"),children:[(0,H1.jsx)("div",{className:i("item-avatar"),style:{backgroundImage:`url("${qv.userAvatar}")`}}),(0,H1.jsx)("div",{className:i("item-info"),children:(0,H1.jsx)("span",{className:i("item-name"),title:qv.userName,children:qv.userName})}),(0,H1.jsx)("div",{}),(0,H1.jsxs)("figure",{children:[(a==null?void 0:a.replyItemId)&&(0,H1.jsxs)("blockquote",{cite:a.replyItemId,children:[o("Reply")," ",a.replyItem?r.getItemOrder(a.replyItemId,t)+":"+a.replyItem.content:o("Deleted")]}),(0,H1.jsx)("textarea",{autoFocus:n||((_=r.refreshViewCfg)==null?void 0:_.focusId)===t,maxLength:500,rows:3,placeholder:o("Please enter comment content"),value:m,onClick:j=>{j.stopPropagation()},onInput:j=>{let B=j.target.value;h(B)},onFocus:j=>{r.isOperating=!0},onBlur:j=>{r.isOperating=!1,n&&os(500).then(()=>{v()})},onKeyDown:j=>{g.current=!0,j.key==="Enter"&&!j.ctrlKey&&!j.altKey&&!j.shiftKey&&(j.stopPropagation(),j.preventDefault())},onKeyUp:j=>{if(g.current&&(g.current=!1,j.key==="Enter"))if(j.altKey||j.shiftKey||j.ctrlKey){if(!j.shiftKey){let B=j.target,{selectionStart:V,selectionEnd:G}=B;h(m.substring(0,V)+`
`+m.substring(G)),os(0).then(()=>{B.selectionStart=V+1,B.selectionEnd=V+1})}}else j.target.blur(),R()},children:m}),(0,H1.jsxs)("div",{style:{display:"flex",marginTop:"-4px"},children:[(0,H1.jsx)("span",{className:i("tip"),children:o("Ctrl / Shift / Alt + Enter for new line")}),(0,H1.jsxs)("span",{children:[m.trim().length,"/",500]})]}),(0,H1.jsxs)("div",{style:{display:"flex",flexDirection:"row-reverse",gap:"8px"},children:[(0,H1.jsx)(Me,{size:"md",type:"primary",disabled:u,onClick:j=>{R(),j.stopPropagation()},children:"Confirm"}),(0,H1.jsx)(Me,{size:"md",onClick:j=>{r.isOperating=!1,v(),j.stopPropagation()},children:"Cancel"})]})]})]})]})}var PDe=L(z());function HNo(){Ae(zYt.default);let{locals:t}=zYt.default,e=be.bind(t),i=p6.getStore();return(0,PDe.jsxs)("div",{className:e("content"),children:[i.newBlock&&(0,PDe.jsx)(BYt,{blockId:mre},mre),i.loadedBlocks.map((o,r)=>(0,PDe.jsx)(BYt,{blockId:o.uuid},o.uuid))]})}var ODe=L(z());function Fon(){let t=p6.getStore();Ce(t),Ae(FYt.default);let{locals:e}=FYt.default,i=be.bind(e);return(0,ODe.jsxs)("div",{className:i("container"),children:[(0,ODe.jsx)(FNo,{}),(0,ODe.jsx)(HNo,{})]})}var YNo=(0,GNo.memo)(Fon);var KNo=L(z()),xlt=class t{static getInstance(){return this._instance||new t}get showCanvasAnnotation(){return this._store.showCanvasAnnotation}get selectAnnotationBlockId(){return this._store.selectedBlockId}get annotationBlockMgr(){return this._store.annotationBlockMgr}getBlocks(){return this._store.blocks}constructor(){if(t._instance)throw new Error("AnnotationPanel: Repeat AnnotationPanel Instance");WNo.default.createRoot(document.getElementById(NS)).render((0,KNo.jsx)(YNo,{})),this._store=p6.getStore()||new p6(this),t._instance=this}async addAnnotationBlock(e){this.setTabActive(),this._store.newBlock=e,this._store.selectedBlockId=mre,this._store.refreshView()}selectAnnotationBlock(e,i=!0){i&&this.setTabActive(),this._store.selectedBlockId=e;let o={};if(e!=null){let r=this._store.annotationBlockMgr.getBlock(e);this._store.type!=="all"&&this._store.status!==r.processed&&(this._store.type="all");let n=this._store.blocks.indexOf(r,this._store.loadedBlockSize);n!=-1&&(this._store.loadedBlockSize=n+1),o.focusId=e,o.force=!0}this._store.refreshView(o)}async setTabActive(){Br.handleClick("annotation"),Pn("layout_toggler_right",!1)}getAllAnnotationBlock(e){return(this._store.annotationBlockMgr.getBlocks(void 0,e)||[]).map(o=>o.data)}getAllAnnotationData(){return this._store.annotationBlockMgr.getAll()}updateDisplayObject(e,i){this._store.updateDisplayObject(e,i),this._store.refreshView()}removeNewBlock(){this._store.newBlock=null,this._store.isOperating=!1,this._store.refreshView()}};function QNo(){if(!_t){console.error("annotationPanel: can not init annotationPanel in un-private context");return}globalThis.annotationPanel=xlt.getInstance()}function Rx(){if(!_t){console.error("annotationPanel: can not use annotationPanel in un-private context");return}return xlt.getInstance()}var RDe=class{static async handleExport(){let e=await this.handleData();e.length===0?De({type:"info",msg:"No Data!"}):this.handleExportCsvData(e)}static handleExportCsvData(e){let i=this.getCsvHeaderStr(this.csvHeaderArr),o=e.reduce((n,a)=>{let l=this.csvHeaderArr.map(c=>{if(["No.","Board","Document"].includes(c))return`${a[c]}`;if(c==="State")return a[c]?"\u5DF2\u5904\u7406":"\u672A\u5904\u7406";if(c==="Objects")return Array.isArray(a[c])?a[c].join():a[c];if(c==="Annotation"){let d=a[c].length;return a[c].filter(Boolean).map((p,m)=>`${m===0?'"':""}${m+1}\u3001${p.displayCreateTime}
${p.title}: ${p.content}${m<d-1?`
`:""}${m===d-1?'"':""}`).join("")}}).join("	")+`
`;return n+=l},""),r=i+o.replace(/"/g,'"');f1e(r,`Annotation_${C.currentProject.title}`)}static async handleData(){let e=Rx().getAllAnnotationData();if(e.size===0)return[];let i=Array.from(e.keys()),o=new Map,r=await this.getPcbTitleData(i);e.forEach((u,p)=>{u.forEach(m=>{m.objects.length>0&&(o.has(p)?o.set(p,o.get(p).concat(m.objects)):o.set(p,m.objects))})});let n=i.reduce((u,p)=>(o.has(p)?u[p]=o.get(p):u[p]=[],u),{}),a=await this.getSchTitleData(n),s=await this.getBoardName(i),l={};for(let u in r){let p=o.get(u);p&&(l[u]=p)}let c;Reflect.ownKeys(l).length>0&&(c=await this.getPcbObjectAnnotationInfo(l));let d=[];return e.forEach((u,p)=>{u.forEach(m=>{var y,w,x,S,T;let h=m.items,f=h.reduce((M,I)=>{let A={displayCreateTime:I.displayCreateTime,title:I.replyUuid?`${I.ownerName}(${Rr("Reply")} ${this.getItemOrder(I.replyUuid,h)})`:I.ownerName,content:I.content};return M.push(A),M},[]),g=[];if(m.objects.length>0)a[p]&&a[p].docType===ve.SCH&&(g=m.objects.map(M=>a[p].data[M])),c&&c[p]&&(g=m.objects.map(M=>c[p][M]));else{let M=((y=a[p])==null?void 0:y.docType)||((w=r[p])==null?void 0:w.docType);g=this.getBlockAnnotationInfo(M,m.customArea)}let b={State:!!m.processed,Board:(x=s[p])!=null?x:"",Document:((S=a[p])==null?void 0:S.title)||((T=r[p])==null?void 0:T.title)||"",Objects:g,Annotation:f,lastCreateItemTime:m.lastCreateItemTime};d.push(b)})}),d.sort((u,p)=>p.lastCreateItemTime-u.lastCreateItemTime).map((u,p)=>({"No.":p+1,...u}))}static getCsvHeaderStr(e){return(e.join("	")+`
`).replace(/"/g,'"')}static async getSchTitleData(e){return(await C.messageBus.rpcCall("getSheetAllTitle",e)).message}static async getPcbTitleData(e){return(await C.messageBus.rpcCall("getPcbAllTitle",e.reduce((i,o)=>(i[o]=[],i),{}))).message}static async getBoardName(e){return(await C.messageBus.rpcCall("getBoardByTabId",e)).message}static getItemOrder(e,i){let o=0;for(let r of i)if(o++,r.uuid===e)return o}static async getPcbObjectAnnotationInfo(e){let i={};return await Ro(e,async(o,r)=>{let n=(await C.pcbMessageBus.rpcCall("getPcbAnnotationInfo",{uuid:o,itemsId:r})).message;i[o]=n}),i}static getBlockAnnotationInfo(e,i){if((i==null?void 0:i.minX)!=null){let o;e===ve.PCB?o=eA():o=Vo();let r=fo(io(i.minX,"pixel",o),o),n=fo(io(i.minY,"pixel",o),o),a=fo(io(i.maxX,"pixel",o),o),s=fo(io(i.maxY,"pixel",o),o);return`${Rr({value:"Region",context:"Annotation"})}: [${r} , ${n} ; ${a} , ${s}] ${o}`}}};RDe.csvHeaderArr=["No.","State","Board","Document","Objects","Annotation"];function ZNo(t){let e={ret:0,msg:""};if(!t)return e.ret=-1,e.msg="Please choose a pcb file",e;let{display_title:i}=t;if(!i)return e.ret=-1,e.msg="Please choose a pcb file",e;let{type:o}=i;return(!o||o!==xr.PCB)&&(e.ret=-1,e.msg="Please choose a pcb file"),e}var Uon=0;async function JNo(){let{message:t}=await C.messageBus.rpcCall($e.PCB.GET_ALL_ARR,[C.currentProject.projectId]);if(!t||!(t instanceof Array))return"PCB"+ ++Uon;let e=[];for(let o=0;o<t.length;o++){let r=t[o];e.push(r.display_title)}return sAo(e,"PCB")}var Tlt=!1,Xle="IMPORT_CBBPCB_CURRPROJECT";async function qNo(t){var l;let e=((l=t.args)==null?void 0:l.boardUuid)||"",i=e.split("board_");if(e=i[i.length-1],Tlt)return;Tlt=!0;let o=await of(Fpe,()=>{}),r=await of(Upe,()=>{}),n=o.value===void 0||typeof o.value>"u",a=r.value,s=o.value;eBe({componentTableShowTypes:["pcb"],dialogTitle:me.i18n("New PCB by template"),initSelectedLibId:a,initSelectedCategoryId:s,isFromProject:!0,scene:"NEW_PCB",isNotExistSavedCategoryIdByLS:n,onDialogOpen(){},onDialogCancel(){Tlt=!1},onDialogClose(){},onDialogClosed(){Tlt=!1},async onDialogConfirm(c){let{action:d}=c;if(d==="empty_pcb"){C.messageBus.publish("doCommand",[t.cmd,t.args]);return}if(d==="new_tpl")return await le.closeAll(),await A3({dlgType:"normal",isCreateNewBoard:!1,isCreateNewPCB:!0,isCreateNewSCH:!1,isCreateNewPanel:!1}),!0;if(vt(.1,Xle),!c.reuseBlockFullComponentItem)return De({type:"warn",msg:me.i18n("Please choose a pcb file"),timer:2.5}),vt(1,Xle),!1;let u=ZNo(c.componentItem);if(u.ret!==0)return De({type:"warn",msg:me.i18n(u.msg),timer:2.5}),vt(1,Xle),!1;let p=(await C.messageBus.rpcCall(Og.GET_TARGET,{uuid:QTe(c.reuseBlockFullComponentItem.uuid),related:{pcbIds:[QTe(c.componentItem.uuid)]}})).message;if(!p.success)return De({type:"error",msg:me.i18n("Failed to obtain CBB data!"),timer:2.5}),vt(1,Xle),!1;delete p.result.config;for(let b of p.result.pcbs)e?b.board=e:delete b.board;p.result.pcbs=[p.result.pcbs[0]];let m=await JNo();p.result.pcbs[0].display_title=m,p.result.pcbs[0].title=m.toLocaleLowerCase(),vt(.5,Xle);let h=(await C.messageBus.rpcCall(qr.IMPORT_TARGET_PROJECT,{uuid:C.currentProject.projectId,datas:p.result,byUUID:!1,byVersion:!1,bySource:!1,rangeItemList:c.rangeItemList})).message;if(!h.success)return De({type:"error",msg:me.i18n("Import failed!"),timer:2.5}),vt(1,Xle),!1;De({type:"success",msg:me.i18n("Created successfully!"),timer:2.5}),vt(1,Xle);let f=h.result.map.pcbMap,g=Object.values(f);return Ud(g[0],{isPartition:!1,isNeedInitRuleWhenCreatedByCBBTemplate:!c.rangeItemList.includes("DesignRule")}),!0}})}var dWt=L(Hr());var uWt=L(Slt());var $le=class $le{static init(){let e=$le;C.messageBus.subscribe("/pro-ui/container/tab/onClick",i=>{let{containerId:o,tabId:r,isActive:n=!0}=i;he.containerIds.includes(o)&&r===cf&&(Mlt(o,ri.currentSchematicId,window,n),e.isActive||(e.isActive=!0))}),C.messageBus.subscribe("/pro-ui/container/tab/onActive",i=>{let{containerId:o,tabId:r,belong:n}=i;n===he.belongContainer&&[e.belongContainer,he.getTabContainer(cf)].includes(o)&&r!==cf&&(document.querySelector(`#${KJ}`).style.display="none",e.isActive=!1)}),C.messageBus.subscribe("/pro-ui/container/tab/onDelete",i=>{let{containerId:o,tabId:r,belong:n}=i;[e.belongContainer,he.getTabContainer(cf)].includes(o)&&r===cf&&(document.querySelector(`#${KJ}`).style.display="none",e.isActive=!1,It.deleteTab({containerId:he.getTabContainer(r),tabId:cf}),Zs.clear())}),C.messageBus.subscribe("/pro-ui/container/resize",i=>{let{containerId:o,domRect:r}=i;if([e.belongContainer,he.getTabContainer(cf)].includes(o)){let n=document.querySelector(`#${KJ}`);n.style.position="fixed",n.style.width=r.width+"px",n.style.height=r.height+"px",n.style.left=r.left+"px",n.style.top=r.top+"px"}}),C.messageBus.subscribe("/pro-ui/tab/changeContainer",i=>{let{tabId:o,containerId:r}=i;o===cf&&(e.belongContainer=r)}),C.messageBus.subscribe("initSortVariantEnd",()=>{let i=he.getActiveTab(),o=he.getTabDocType(i);se.SCH===o&&setTimeout(()=>{Rc.setVariantMenu(ri.getVariantMenu(he.getActiveSchematicId()))})}),he.$on(r2.CLOSE_TAB,function(i){let{tabid:o,doctype:r}=i;o===cf&&r===se.ASSEMBLY_VARIANT&&(document.querySelector(`#${KJ}`).style.display="none",e.isActive=!1,It.deleteTab({containerId:he.getTabContainer(o),tabId:cf}),Zs.clear())})}};$le.belongContainer="",$le.isActive=!1,$le._DEFAULT_PAGESIZE=10,$le.timer=null;var wte=$le;var vF=L(Se());var YYt=L(l7o()),WYt=L(Slt());var l1=L(Se());var jDe=L(Se());var UYt=L(_De());var $5=L(z()),Jon=t=>{let{name:e,cmd:i,description:o,cancelClickFn:r,zIndex:n,source:a=""}=t;Ae(UYt.default);let s=be.bind(UYt.default.locals),l=J(),c=ri.currentSchematicId,[d,u]=(0,jDe.useState)(e||XJ("Variant",c)),[p,m]=(0,jDe.useState)(o),h=(0,jDe.useRef)(null),f=async()=>{var g;if(d){let b=uH(c);if(i==="cloneNode")if(b.includes(d))console.error(`${d}\u5DF2\u5B58\u5728`),new Fi({type:"error",msg:{value:"{0} exist!",options:{0:d}}});else{let y=((g=ri.getComponentGroup(a))==null?void 0:g.data)||{},w=(await C.messageBus.rpcCall($e.VARIANT.ADD,[{title:d,description:p,schematicId:c,zIndex:n,groupData:y},C.currentProject.projectId])).message;w.success&&(Zs.save([[$e.VARIANT.ADD,{title:d,description:p,schematicId:c,zIndex:n,groupData:y},$e.VARIANT.BATCH_DELETE,[w.result.uuid]]]),r())}else if(b.includes(d))console.error(`${d}\u5DF2\u5B58\u5728`),new Fi({type:"error",msg:{value:"{0} exist!",options:{0:d}}});else{let y=(await C.messageBus.rpcCall($e.VARIANT.ADD,[{title:d,description:p,schematicId:c,zIndex:n},C.currentProject.projectId])).message;y.success&&(Zs.save([[$e.VARIANT.ADD,{title:d,description:p,schematicId:c,zIndex:n},$e.VARIANT.BATCH_DELETE,[y.result.uuid]]]),r())}}};return(0,$5.jsxs)($5.Fragment,{children:[(0,$5.jsxs)("div",{className:s("container"),children:[(0,$5.jsxs)("div",{className:s("line"),children:[(0,$5.jsx)("label",{className:s("line_label"),"data-test":"Variant Name",title:l("Variant Name"),children:`${l("Variant Name")}:`}),(0,$5.jsx)(Kt,{className:s("file-name"),ref:h,type:"text",focusTriggerSelect:!0,autoFocus:!0,value:d,onChange:g=>{u(g)},onBlur:g=>{var b;u(((b=g.target.value)==null?void 0:b.trim())||"")},onkeyup:g=>{g.keyCode===13&&(d!=null&&d.trim())&&f()}})]}),(0,$5.jsxs)("div",{className:s("line"),children:[(0,$5.jsx)("label",{className:s("line_label"),"data-test":"Description",title:l("Description"),children:`${l("Description")}:`}),(0,$5.jsx)(Kt,{className:s("file-name"),type:"text",value:p,onChange:g=>{m(g)},onBlur:g=>{var b;m(((b=g.target.value)==null?void 0:b.trim())||"")}})]})]}),(0,$5.jsxs)("div",{className:s("footer"),children:[(0,$5.jsx)(Me,{type:"primary",disabled:!(d!=null&&d.trim()),onClick:async()=>{await f()},children:"Confirm"}),(0,$5.jsx)(Me,{style:{marginLeft:"5px"},onClick:()=>{r()},children:"Cancel"})]})]})},Pye=t=>{let{name:e,cmd:i,description:o,zIndex:r,source:n}=t;le.open({id:"newVariant",title:i==="cloneNode"?"Clone Variant":"Create Variant",width:480,closed:!0,esc:!0,children:(0,$5.jsx)(Jon,{name:e,description:o,cmd:i,zIndex:r,source:n,cancelClickFn:le.close})})};var Llt=L(Se());var VYt=L(_De());var GE=L(z()),qon=t=>{let{name:e,type:i,source:o,cancelClickFn:r,parent:n=""}=t;Ae(VYt.default);let a=be.bind(VYt.default.locals),s=J(),l=ri.currentSchematicId,[c,d]=(0,Llt.useState)(e||XJ(i===0?"Variant":"Group",l,n)),u=(0,Llt.useRef)(null),p=i===0?"Variant Name":"Component Group Name",m=async()=>{i===0?uH(l).includes(c)&&c!==t.name||JJ.includes(c)?new Fi({type:"error",msg:{value:"{0} exist!",options:{0:c}}}):c&&((await C.messageBus.rpcCall($e.VARIANT.UPDATE_TITLE,[{title:c,uuid:o},C.currentProject.projectId])).message.success?(Zs.save([[$e.VARIANT.UPDATE_TITLE,{title:c,uuid:o},$e.VARIANT.UPDATE_TITLE,{title:e,uuid:o}]]),r()):new Fi({type:"error",msg:{value:"{0} exist!",options:{0:c}}})):i===1&&(qJ(l,n).includes(c)&&c!==t.name||JJ.includes(c)?new Fi({type:"error",msg:{value:"{0} exist!",options:{0:c}}}):c&&((await C.messageBus.rpcCall($e.COMPONENT_GROUP.UPDATE_TITLE,[{title:c,uuid:o},C.currentProject.projectId])).message.success?(Zs.save([[$e.COMPONENT_GROUP.UPDATE_TITLE,{title:c,uuid:o},$e.COMPONENT_GROUP.UPDATE_TITLE,{title:e,uuid:o}]]),r()):new Fi({type:"error",msg:{value:"{0} exist!",options:{0:c}}})))};return(0,GE.jsxs)(GE.Fragment,{children:[(0,GE.jsx)("div",{className:a("container"),children:(0,GE.jsxs)("div",{className:a("line"),children:[(0,GE.jsx)("label",{className:a("line_label"),"data-test":p,title:s(p),children:`${s(p)}:`}),(0,GE.jsx)(Kt,{className:a("file-name"),ref:u,type:"text",focusTriggerSelect:!0,autoFocus:!0,value:c,onChange:h=>{d(h)},onBlur:h=>{var f;d(((f=h.target.value)==null?void 0:f.trim())||"")},onkeyup:h=>{h.keyCode===13&&(c!=null&&c.trim())&&m()}})]})}),(0,GE.jsxs)("div",{className:a("footer"),children:[(0,GE.jsx)(Me,{type:"primary",disabled:!(c!=null&&c.trim()),onClick:async()=>{await m()},children:"Confirm"}),(0,GE.jsx)(Me,{style:{marginLeft:"5px"},onClick:()=>{r()},children:"Cancel"})]})]})},vlt=t=>{let{name:e,type:i,source:o,parent:r}=t;le.open({id:"newVariant",title:i===0?"Rename Variant":"Rename Component Group",width:480,closed:!0,esc:!0,children:(0,GE.jsx)(qon,{parent:r,name:e,type:i,source:o,cancelClickFn:le.close})})};var Cte=L(Se());var HYt=L(_De());var eS=L(z()),Xon=t=>{let{name:e,type:i,source:o,cancelClickFn:r,description:n}=t;Ae(HYt.default);let a=be.bind(HYt.default.locals),s=J(),l=ri.currentSchematicId,[c,d]=(0,Cte.useState)(e||XJ("Variant",l)),[u,p]=(0,Cte.useState)(n),m=(0,Cte.useRef)(null),h="Variant Name",[f,g]=(0,Cte.useState)(!0),b=async()=>{let y=uH(l);y.includes(c)&&c!==e||JJ.includes(c)?new Fi({type:"error",msg:{value:"{0} exist!",options:{0:c}}}):c&&(!y.includes(c)||c===e)&&((await C.messageBus.rpcCall($e.VARIANT.UPDATE_TITLE,[{title:c,uuid:o,description:u},C.currentProject.projectId])).message.success?(Zs.save([[$e.VARIANT.UPDATE_TITLE,{title:c,uuid:o,description:u},$e.VARIANT.UPDATE_TITLE,{title:e,uuid:o,description:n}]]),r()):new Fi({type:"error",msg:{value:"{0} exist!",options:{0:c}}}))};return(0,Cte.useEffect)(()=>{g(!(c!=null&&c.trim())||c===e&&n===u)},[c,u]),(0,eS.jsxs)(eS.Fragment,{children:[(0,eS.jsxs)("div",{className:a("container"),children:[(0,eS.jsxs)("div",{className:a("line"),children:[(0,eS.jsx)("label",{className:a("line_label"),"data-test":h,title:s(h),children:`${s(h)}:`}),(0,eS.jsx)(Kt,{className:a("file-name"),ref:m,type:"text",focusTriggerSelect:!0,autoFocus:!0,value:c,onChange:y=>{d(y)},onkeyup:y=>{y.keyCode===13&&!f&&b()}})]}),(0,eS.jsxs)("div",{className:a("line"),children:[(0,eS.jsx)("label",{className:a("line_label"),"data-test":"Description",title:s("Description"),children:`${s("Description")}:`}),(0,eS.jsx)(Kt,{className:a("file-name"),type:"text",value:u,onChange:y=>{p(y)},onBlur:y=>{var w;p(((w=y.target.value)==null?void 0:w.trim())||"")},onkeyup:y=>{y.keyCode===13&&!f&&b()}})]})]}),(0,eS.jsxs)("div",{className:a("footer"),children:[(0,eS.jsx)(Me,{type:"primary",disabled:f,onClick:async()=>{await b()},children:"Confirm"}),(0,eS.jsx)(Me,{style:{marginLeft:"5px"},onClick:()=>{r()},children:"Cancel"})]})]})},d7o=t=>{let{name:e,type:i,source:o,description:r}=t;le.open({id:"newVariant",title:"Edit Variant",width:480,closed:!0,esc:!0,children:(0,eS.jsx)(Xon,{name:e,type:i,source:o,cancelClickFn:le.close,description:r})})};var u7o=async(t,e)=>{let{uuid:i,title:o,description:r,type:n,parent:a}=t,s=ri.sortVariantData[ri.currentSchematicId],l=1;if(n==="customVariant"){let c=null,d=null,u=null,p=H0("","max",0);for(let m=0;m<s.length;m++){let h=s[m];if(h.uuid===i){l=h.zIndex;let f=e==="moveUp"?m-2:m+1,g=e==="moveUp"?m-1:m+2;c=s[f]||null,d=s[g]||null;break}}u=li.toFixed((((c==null?void 0:c.zIndex)||0)+((d==null?void 0:d.zIndex)||p))/2,7),u&&((await C.messageBus.rpcCall($e.VARIANT.BATCH_UPDATE_SORT,[[{uuid:i,zIndex:u}],C.currentProject.projectId])).message.success?(Zs.save([[$e.VARIANT.BATCH_UPDATE_SORT,[{uuid:i,zIndex:u}],$e.VARIANT.BATCH_UPDATE_SORT,[{uuid:i,zIndex:l}]]]),new Fi({type:"info",msg:"Update Success!"})):new Fi({type:"info",msg:"Update failed!"}))}else if(n==="referVariant"){let c=s.filter(d=>d.uuid===a)[0];if(c){let d=null,u=null,p=null;for(let h=0;h<c.componentGroupChildren.length;h++){let f=c.componentGroupChildren[h];if(f.uuid===i){l=f.zIndex;let g=e==="moveUp"?h-2:h+1,b=e==="moveUp"?h-1:h+2;d=c.componentGroupChildren[g]||null,u=c.componentGroupChildren[b]||null;break}}let m=H0(c.uuid,"sub",0);p=li.toFixed((((d==null?void 0:d.zIndex)||0)+((u==null?void 0:u.zIndex)||m))/2,3),p&&((await C.messageBus.rpcCall($e.COMPONENT_GROUP.BATCH_UPLOAD_VARIANT_INDEX,[[{groupId:i,variantId:a,zIndex:p}],C.currentProject.projectId])).message.success?(Zs.save([[$e.COMPONENT_GROUP.BATCH_UPLOAD_VARIANT_INDEX,[{groupId:i,variantId:a,zIndex:p}],$e.COMPONENT_GROUP.BATCH_UPLOAD_VARIANT_INDEX,[{groupId:i,variantId:a,zIndex:l}]]]),new Fi({type:"info",msg:"Update Success!"})):new Fi({type:"info",msg:"Update failed!"}))}}},ece=async t=>{let e=ri.variantSelectedAllData||[],i=ri.variantSelectedAllData===null||e.length===0;switch(t){case"moveUp":{await u7o(e[0],t);break}case"moveDown":{await u7o(e[0],t);break}case"createAbove":{if(i){let o=H0("","max",0);Pye({name:"",cmd:t,description:"",zIndex:o})}else{let o=e[0],r=1;o.type==="customVariant"?r=H0(o.uuid,"up",0):r=H0(o.uuid,"max",0),Pye({name:"",cmd:t,description:"",zIndex:r})}break}case"createBelow":{if(i){let o=H0("","max",0);Pye({name:"",cmd:t,description:"",zIndex:o})}else{let o=e[0],r=1;o.type==="customVariant"?r=H0(o.uuid,"down",0):r=H0(o.uuid,"max",0),Pye({name:"",cmd:t,description:"",zIndex:r})}break}case"cloneNode":{let{uuid:o,title:r,description:n,type:a,componentGroup:s,i18n:l}=e[0],c=l?Rr(r):r;Pye({cmd:t,name:c+"_Copy",description:n,zIndex:H0("","max",0),source:a==="customVariant"?s.uuid:o});break}case"deleteAllSubnode":{let o=[],r=[],n=[],a=[];if(it(e,(s,l)=>{let{type:c,uuid:d,children:u}=l;c==="customVariant"?it(u,(p,m)=>{m.type==="notGroup"?n.push(d):r.push({groupId:m.uuid,variantId:d})}):c==="variant"&&it(u,(p,m)=>{o.push(m.uuid),it(m.children,(h,f)=>{r.push({groupId:f.uuid,variantId:m.uuid})})})}),o.length>0){let s=(await C.messageBus.rpcCall($e.VARIANT.BATCH_DELETE,[o,C.currentProject.projectId])).message;s.success?(a.push([$e.VARIANT.BATCH_DELETE,o,$e.VARIANT.BATCH_DELETE,o]),ri.deleteVariantHandler(o),new Fi({msg:"successfully deleted!",type:"info"})):(console.error("\u5220\u9664\u53D8\u4F53\u5931\u8D25:",o,"-",s.message),new Fi({msg:"failed to delete!",type:"info"}))}if(n.length>0&&await Ro(n,async(s,l)=>{o.includes(l)||((await C.messageBus.rpcCall($e.VARIANT.UPDATE_NOT_GROUPED,[{uuid:l,notGrouped:!1},C.currentProject.projectId])).message.success?(a.unshift([[$e.VARIANT.UPDATE_NOT_GROUPED,{uuid:l,notGrouped:!1},$e.VARIANT.UPDATE_NOT_GROUPED,{uuid:l,notGrouped:!0}]]),new Fi({msg:"successfully deleted!",type:"info"})):(console.error("\u5220\u9664\u672A\u5F52\u7EC4\u5931\u8D25\uFF1A",l),new Fi({msg:"failed to delete!",type:"info"})))}),r.length>0){let s=(await C.messageBus.rpcCall($e.COMPONENT_GROUP.BATCH_DELETE_VARIANT_INDEX,[r,C.currentProject.projectId])).message;if(!s.success)console.error("\u5220\u9664\u53D8\u4F53\u5F15\u7528\u5931\u8D25\uFF1A",r,"-",s.message),new Fi({msg:"failed to delete!",type:"info"});else{a.unshift([[$e.COMPONENT_GROUP.BATCH_DELETE_VARIANT_INDEX,r,$e.COMPONENT_GROUP.BATCH_UPLOAD_VARIANT_INDEX,r]]);let l=r.map(c=>c.groupId);ri.deleteVariantHandler(l),new Fi({msg:"successfully deleted!",type:"info"})}}Zs.save(a);break}case"delete":{let o=[],r=[],n=[],a=[],s=[];if(it(e,(l,c)=>{let{type:d,uuid:u,children:p,parent:m}=c;d==="customVariant"?(o.push(u),it(p,(h,f)=>{a.push({groupId:f.uuid,variantId:u})})):d==="referVariant"?r.push({groupId:u,variantId:m}):d==="notGroup"&&n.push(u)}),o.length>0){let l=(await C.messageBus.rpcCall($e.VARIANT.BATCH_DELETE,[o,C.currentProject.projectId])).message;l.success?(s.push([$e.VARIANT.BATCH_DELETE,o,$e.VARIANT.BATCH_DELETE,o]),a.length>0&&((await C.messageBus.rpcCall($e.COMPONENT_GROUP.BATCH_DELETE_VARIANT_INDEX,[a,C.currentProject.projectId])).message.success?s.unshift([$e.COMPONENT_GROUP.BATCH_DELETE_VARIANT_INDEX,a,$e.COMPONENT_GROUP.BATCH_UPLOAD_VARIANT_INDEX,a]):console.error("\u6279\u91CF\u5220\u9664\u5F15\u7528\u5206\u7EC4 \u6392\u5E8F \u5931\u8D25")),ri.deleteVariantHandler(o),new Fi({msg:"successfully deleted!",type:"info"})):(console.error("\u5220\u9664\u53D8\u4F53\u5931\u8D25:",o,"-",l.message),new Fi({msg:"failed to delete!",type:"info"}))}if(r.length>0){let l=(await C.messageBus.rpcCall($e.COMPONENT_GROUP.BATCH_DELETE_VARIANT_INDEX,[r,C.currentProject.projectId])).message;if(!l.success)console.error("\u5220\u9664\u53D8\u4F53\u5F15\u7528\u5931\u8D25\uFF1A",r,"-",l.message),new Fi({msg:"failed to delete!",type:"info"});else{s.unshift([$e.COMPONENT_GROUP.BATCH_DELETE_VARIANT_INDEX,r,$e.COMPONENT_GROUP.BATCH_UPLOAD_VARIANT_INDEX,r]);let c=r.map(d=>d.groupId);ri.deleteVariantHandler(c),new Fi({msg:"successfully deleted!",type:"info"})}}n.length>0&&await Ro(n,async(l,c)=>{o.includes(c)||((await C.messageBus.rpcCall($e.VARIANT.UPDATE_NOT_GROUPED,[{uuid:c,notGrouped:!1},C.currentProject.projectId])).message.success?(s.unshift([[$e.VARIANT.UPDATE_NOT_GROUPED,{uuid:c,notGrouped:!1},$e.VARIANT.UPDATE_NOT_GROUPED,{uuid:c,notGrouped:!0}]]),new Fi({msg:"successfully deleted!",type:"info"})):(console.error("\u5220\u9664\u672A\u5F52\u7EC4\u5931\u8D25\uFF1A",c),new Fi({msg:"failed to delete!",type:"info"})))}),Zs.save(s);break}case"reName":{let o=e[0].title,{uuid:r,type:n}=e[0];if(n==="referVariant"){let a=ri.getComponentGroup(r);o=(a==null?void 0:a.title)||o,vlt({type:1,name:o,source:e[0].uuid})}else if(n==="customVariant"){let a=ri.getVariant(r);o=(a==null?void 0:a.title)||o,d7o({type:0,name:o,description:a.description,source:e[0].uuid})}break}case"exportBom":{let o=e[0];_t?ii("export-bom",{cmd:"exportBOM",schematicId:ri.currentSchematicId,variantUuid:o.uuid}):ii("prepass-bom-standard-check",{cmd:"exportBOM",schematicId:ri.currentSchematicId,variantUuid:o.uuid});break}}},$on=t=>{if(ri.variantContextMenuData===null)return!["createAbove","createBelow"].includes(t);let{id:e=null,expand:i,children:o,sourceData:r}=ri.variantContextMenuData||{},n=ri.variantSelectedAllData,{type:a=null,firstChild:s=null,lastChild:l=null}=r,c=!1;switch(t){case"moveUp":{n.length>1?c=!0:["customVariant","referVariant"].includes(a)&&!s?c=!1:c=!0;break}case"moveDown":{n.length>1?c=!0:["customVariant","referVariant"].includes(a)&&!l?c=!1:c=!0;break}case"createAbove":{n.length>1||a==="referVariant"?c=!0:c=!1;break}case"createBelow":{n.length>1||a==="referVariant"?c=!0:c=!1;break}case"cloneNode":{n.length>1||e===null||n.length===0||["variant","referVariant","basis","notGroup"].includes(a)?c=!0:c=!1;break}case"deleteAllSubnode":{e===null||["basis","referVariant"].includes(a)?c=!0:(o==null?void 0:o.length)>0?c=!1:c=!0;break}case"delete":["basis","variant"].includes(e)||e===null?c=!0:c=!1;break}return c},ern=()=>{let{id:t=null,expand:e,children:i,sourceData:o}=ri.variantContextMenuData||{},r=t===null;return{menuId:"variant-tree-context-menu",defaultConfig:[{id:"expandAll",title:"Expand All",disable:()=>r?!1:!!(e||(i==null?void 0:i.length)===0),callback:n=>ece(n.id)},{id:"collapseAll",title:"Collapse All",disable:()=>r?!1:!e&&(i==null?void 0:i.length)>0||(i==null?void 0:i.length)===0,callback:n=>ece(n.id)},...ZJ.filter(n=>n.id!=="createSubNode").map(n=>{let{id:a,title:s,icon:l}=n;return{id:a,title:s,callback:c=>ece(c.id),disable:()=>Er()?!0:$on(a)}}),{id:"reName",title:"Edit",hotkeyCmd:"",disable:()=>Er()||r||ri.variantSelectedAllData.length>1?!0:!!["basis","variant","notGroup"].includes(o==null?void 0:o.type),callback:n=>ece(n.id)},{id:"exportBom",title:"Export BOM",disable:()=>{var n;return(n=Gu.getDisableCmdStore("exportBOM"))!=null&&n.value||ri.variantListSelectAllData.length>1?!0:(o==null?void 0:o.type)!=="customVariant"},callback:n=>ece(n.id)}]}},GYt=(t,e)=>(ri.variantContextMenuData=e,ern());var YE=L(z()),p7o=()=>{let{currentSchematicId:t,sortVariantData:e,sortComponentGroupData:i}=ri;Ce(ri);let o=J();Ae(YYt.default),Ae(WYt.default);let r=be.bind(YYt.default.locals),n=be.bind(WYt.default.locals),a=(0,l1.useRef)(null),s=(0,l1.useRef)("basis"),l=(0,l1.useRef)(null),c=(0,l1.useMemo)(()=>new Object({expandIcon:r("tree-expand"),collapseIcon:r("tree-collapse")}),[]),[d,u]=(0,l1.useState)({}),[p,m]=(0,l1.useState)([]),[h,f]=(0,l1.useState)(["basis","variant"]),[g,b]=(0,l1.useState)(["basis"]),[y,w]=(0,l1.useState)(performance.now()),x=(0,l1.useRef)(h),[S,T]=(0,l1.useState)(!1),[M,I]=(0,l1.useState)(!1),[A,D]=(0,l1.useState)(!0),[E,N]=(0,l1.useState)(!0),[R,v]=(0,l1.useState)(!0),[k,P]=(0,l1.useState)(!0),[O,_]=(0,l1.useState)(!0),j=ae=>{if(Er())return!0;switch(ae){case"createAbove":return S;case"createBelow":return M;case"cloneNode":return A;case"deleteAllSubnode":return E;case"moveDown":return k;case"moveUp":return R;case"delete":return O}},B=ae=>{switch(ae){case"basis":case"variant":case"customVariant":return n("icon_eda_variant");case"referVariant":return n("icon_eda_customGroup");case"notGroup":return n("icon_eda_customGroup")}};(0,l1.useEffect)(()=>{let ae=C.messageBus.subscribe(tT.VARIANT.ON_ADD,ce=>{let{schematicId:ne,uuid:oe}=ce;ne===ri.currentSchematicId&&(b([oe]),l.current=oe)}),pe=C.messageBus.subscribe(tT.VARIANT.ON_DELETE,ce=>{let{schematicId:ne,uuid:oe}=ce;if(ne===ri.currentSchematicId){let re=H(["basis"]);ri.currentSelectTreeData=re[0],ri.variantSelectedAllData=re,b(["basis"])}}),Z=C.messageBus.subscribe(tT.VARIANT.ON_DELETE_COMPONENT_GROUP_INDEX_IN_VARIANT,ce=>{let{schematicId:ne,uuid:oe}=ce;if(ne===ri.currentSchematicId){let re=H(["basis"]);ri.currentSelectTreeData=re[0],ri.variantSelectedAllData=re,b(["basis"])}}),ee=C.messageBus.subscribe(tT.VARIANT.ON_UPLOAD_COMPONENT_GROUP_INDEX_IN_VARIANT,ce=>{let{schematicId:ne,uuid:oe,id:re,zIndex:Y}=ce;ne===ri.currentSchematicId&&(f(X=>[...X,re]),V(),w(performance.now()))});return()=>{ae.cancel(),ee.cancel(),pe.cancel(),Z.cancel()}},[]);let V=()=>{let ae=[],pe=!0;if(it(ri.variantSelectedAllData,(Z,ee)=>{var re;let{type:ce,id:ne}=ee;ae.push(ce);let oe=H([ne])[0];((re=oe==null?void 0:oe.children)==null?void 0:re.length)===0&&(pe=!1)}),ae.length>0&&ae.every(Z=>["customVariant","referVariant","notGroup"].includes(Z))?_(!1):_(!0),pe?ae.length===0?N(!0):N(!ae.every(Z=>["customVariant","variant"].includes(Z))):N(!0),ri.variantSelectedAllData.length>1||ae[0]==="referVariant"?(T(!0),I(!0)):(T(!1),I(!1)),ri.variantSelectedAllData.length>1||ri.variantSelectedAllData.length===0?D(!0):ae.every(Z=>["customVariant"].includes(Z))?D(!1):D(!0),ri.variantSelectedAllData.length>1||ri.variantSelectedAllData.length===0)P(!0),v(!0);else{let Z=ae[0];if(["basis","variant"].includes(Z))P(!0),v(!0);else{let ee=ri.variantSelectedAllData[0];if(ee){let ce=H([ee.id])[0];ce&&(v(ce.firstChild),P(ce.lastChild))}}}};(0,l1.useEffect)(()=>{x.current=h},[h]);let G=(ae,pe)=>{let Z=[],ee=!1,ce=[],ne=oe=>{it(oe,(re,Y)=>{var X;ce.push(Y),Y.expand&&((X=Y==null?void 0:Y.children)==null?void 0:X.length)>0&&ne(Y.children)})};return ne(a.current.getViewData()),it(ce,(oe,re)=>{re.id===ae||re.id===pe?(Z.push(re.id),ee=!ee):ee&&Z.push(re.id)}),Z},Q=(ae=[],pe=[])=>{let Z=ri.variantSelectedAllData;if(Z.length===1){let ee=Z[0];if("customVariant"===ee.type){let ce=ae.length,ne=ae.findIndex(oe=>ee.id===oe);ne===0?(v(!0),P(ce-1===0||ce===0)):ne===ce-1?(P(!0),v(!1)):(v(!1),P(!1))}else if("referVariant"===ee.type){for(let ce=0;ce<=pe.length;ce++)if(pe[ce].includes(ee.id)){let ne=pe[ce].length,oe=pe[ce].findIndex(re=>ee.id===re);oe===0?(v(!0),P(ne-1===0||ne===0)):oe===ne-1?(P(!0),v(!1)):(v(!1),P(!1));break}}}else v(!0),P(!0)},H=(ae,pe=d)=>{let Z=[];return it(ae,(ee,ce)=>{pe[ce]&&Z.push(pe[ce])}),Z},q=(0,l1.useMemo)(()=>{let ae={},pe=[],Z=[],ee=[],ce={id:"basis",title:"Basis",icon:"",children:[],i18n:!0,type:"basis",uuid:"basis"},ne={id:"variant",title:"Variants",children:[],icon:"",i18n:!0,type:"variant",uuid:"variant"};ae[ce.id]=ce,ae[ne.id]=ne,pe.push(ce),pe.push(ne);let oe=[ce,ne],re=(e==null?void 0:e[t])||[];if(it(re,(Y,X,ie)=>{let{uuid:de,title:fe,componentGroup:ye,description:Le,childComponentGroupData:Re,componentGroupChildren:Ne,notGrouped:Te=!1}=X,Pe=de;if(ye!=null&&ye.data){let Oe={id:de,uuid:de,title:fe,children:[],data:ye.data,componentGroup:ye,type:"customVariant",firstChild:ie===0,description:Le,parent:null,lastChild:ie===re.length-1};if(ae[de]=Oe,pe.push(Oe),Z.push(de),ne.children.push(Oe),Te){let Ve=`notGroup|${de}`,ze={id:Ve,uuid:de,title:"Not Grouping",children:[],data:{},i18n:!0,componentGroup:{},type:"notGroup",firstChild:!0,description:"",parent:Pe,lastChild:!0};ae[Ve]=ze,pe.push(ze),Oe.children.push(ze)}let Ue=[];it(Ne,(Ve,{uuid:ze},He)=>{let Ye=ri.getComponentGroup(ze);if(Ye){let ke=null;Ye.parent&&(ke=ri.getComponentGroup(Ye.parent).title);let Be=`${ze}|${Pe}`,Xe={firstChild:He===0,lastChild:He===Ne.length-1,id:Be,uuid:ze,title:ke?`${ke}_${Ye.title}`:Ye.title,children:[],data:Ye.data,description:Le,parent:Pe,type:"referVariant"};ae[Be]=Xe,pe.push(Xe),Oe.children.push(Xe),Ue.push(Be)}}),Ue.length>0&&ee.push(Ue)}}),u(ae),m(pe),Q(Z,ee),ri.variantSelectedAllData.length===0&&g.length>0)w(performance.now());else{let Y=H(g,ae);ri.variantSelectedAllData=Y}return oe},[t,e==null?void 0:e[t],i==null?void 0:i[t]]);(0,l1.useEffect)(()=>{let ae=H(g);ri.variantSelectedAllData=ae,ae.length>0&&g.length===1&&g.includes(l.current)&&(ri.currentSelectTreeData=ae[0]),V()},[g,t,y]);let U=(ae,pe,Z,ee,ce)=>{let ne;if(ce!=null&&ce.shiftKey)s.current==pe.id?ne=[pe.id]:ne=G(s.current,pe.id);else if(s.current=pe.id,!(ce!=null&&ce.ctrlKey))ne=[pe.id];else{let Y=g.indexOf(pe.id);Y>-1?ne=[].concat(g.slice(0,Y),g.slice(Y+1)):ne=[...g,pe.id]}b(ne);let oe=H([pe.id]);ri.currentSelectTreeData=oe[0];let re=H(ne);ri.variantSelectedAllData=re,V()},F=(ae,pe)=>{let Z=h.includes(ae.id),ee=pe.expand;ee&&!Z?f(ce=>[ae.id,...ce]):!ee&&Z&&f(ce=>ce.filter(ne=>ne!==ae.id))},K=(0,l1.useCallback)(async(ae,pe,Z,ee,ce)=>{ce.stopPropagation(),ce.preventDefault(),ae.includes(pe.id)?ri.variantSelectedAllData.some(oe=>oe.uuid===pe.id)||Z!=null&&Z.sourceData&&(ri.variantSelectedAllData=[Z==null?void 0:Z.sourceData]):(b([pe.id]),Z!=null&&Z.sourceData&&(ri.variantSelectedAllData=[Z==null?void 0:Z.sourceData])),pl.open({menuConfig:GYt(ae,Z),position:{x:ce.pageX-5,y:ce.pageY-5},menuClickCallback:ne=>{let oe=ri.variantSelectedAllData||[],re=x.current;switch(ne.id){case"expandAll":{let Y=[];it(oe,(X,ie)=>{!re.includes(ie.uuid)&&Y.push(ie.uuid),ie.type==="variant"&&it(ie.children,(de,fe)=>{!re.includes(fe.uuid)&&Y.push(fe.uuid)})}),f(X=>[...X,...Y]);break}case"collapseAll":{let Y=[];it(oe,(X,ie)=>{Y.push(ie.uuid),ie.type==="variant"&&it(ie.children,(de,fe)=>{Y.push(fe.uuid)})}),f(X=>X.filter(ie=>!Y.includes(ie)));break}}}}),V()},[d]),te=ae=>{let{type:pe,title:Z,i18n:ee}=ae,ce=B(pe),ne=ee?o(Z):Z;return(0,YE.jsxs)(YE.Fragment,{children:[(0,YE.jsx)("span",{className:ce,style:{marginRight:"4px",width:"16px",height:"16px"}}),(0,YE.jsx)("span",{"data-test":ae.title,style:{maxWidth:"250px",overflow:"hidden",textOverflow:"ellipsis"},title:ae.description?`${ne}(${ae.description})`:`${ne}`,children:ne})]})};return(0,YE.jsxs)("div",{className:r("container"),onContextMenu:ae=>{ae.stopPropagation(),ae.preventDefault(),pl.open({menuConfig:GYt(null,null),position:{x:ae.pageX-5,y:ae.pageY-5},menuClickCallback:pe=>{switch(pe.id){case"expandAll":{let Z=[];it(d,(ee,ce)=>{ce.children.length>0&&Z.push(ce.id)}),f(Z);break}case"collapseAll":{f([]);break}}}})},children:[(0,YE.jsx)("div",{className:r("menuToolContainer"),children:ZJ.filter(ae=>ae.id!=="createSubNode").map(ae=>{let pe=n(j(ae.id)?"disabled":""),Z=n(ae.icon);return(0,YE.jsx)("div",{className:r("menuToolItem"),onClick:async ee=>{if(Er())return!1;if(j(ae.id))return!1;await ece(ae.id)},title:o(ae.title),children:(0,YE.jsx)("span",{className:`${Z}  ${pe}  ${n("icon_operate")}`})},ae.id)})}),(0,YE.jsx)("div",{className:r("variantTreeContainer"),children:(0,YE.jsx)(Bd,{data:q,expandedIds:h,selectedIds:g,itemHeight:`${OUe}px`,showTagLine:!1,isVirtualList:!0,treeWidgetItemWidth:"16px",containerStyleObject:{userSelect:"none"},itemRender:te,extendIcon:c,isPropagationOnExtend:!0,onClick:U,notAutoSelect:!0,onExpand:F,onContextMenu:K,ref:a})})]})};var ZYt=L(h7o()),JYt=L(Slt());var Em=L(Se());var Oye=L(Se());var QYt=L(_De());var WE=L(z()),trn=t=>{let{name:e,cmd:i,cancelClickFn:o,zIndex:r,parent:n,source:a,groupData:s,schematicId:l}=t;Ae(QYt.default);let c=be.bind(QYt.default.locals),d=J();l=l||ri.currentSchematicId;let[u,p]=(0,Oye.useState)(e||XJ("Group",l,n)),m=(0,Oye.useRef)(null);(0,Oye.useEffect)(()=>{m.current.focus(),m.current.select()},[]);let h=async()=>{if(i==="cloneNode"){let f=a==="notGroup"?{parent:"",data:ri.getCurrentNoGroupNlSymbolData()}:ri.getComponentGroup(a),g=(f==null?void 0:f.data)||{};if(f){if(qJ(l,f.parent).includes(u)||JJ.includes(u))return console.error(`${u}\u5DF2\u5B58\u5728`),new Fi({type:"error",msg:{value:"{0} exist!",options:{0:u}}}),!1;{let y=(await C.messageBus.rpcCall($e.COMPONENT_GROUP.ADD,[{title:u,schematicId:l,zIndex:r,parent:f.parent,data:g},C.currentProject.projectId])).message;y.success&&(Zs.save([[$e.COMPONENT_GROUP.ADD,{title:u,schematicId:l,zIndex:r,parent:f.parent,data:g},$e.COMPONENT_GROUP.BATCH_DELETE,[y.result.uuid]]]),o())}}else console.error("\u672A\u627E\u5230\u5BF9\u5E94\u7684\u514B\u9686\u6570\u636E\uFF1A",a),new Fi({type:"error",msg:{value:"Update failed!",options:{0:u}}})}else{if(qJ(l,n).includes(u)||JJ.includes(u))return console.error(`${u}\u5DF2\u5B58\u5728`),new Fi({type:"error",msg:{value:"{0} exist!",options:{0:u}}}),!1;{let g=(await C.messageBus.rpcCall($e.COMPONENT_GROUP.ADD,[{title:u,schematicId:l,zIndex:r,parent:n,data:s},C.currentProject.projectId])).message;g.success&&(Zs.save([[$e.COMPONENT_GROUP.ADD,{title:u,schematicId:l,zIndex:r,parent:n,data:s},$e.COMPONENT_GROUP.BATCH_DELETE,[g.result.uuid]]]),o())}}};return(0,WE.jsxs)(WE.Fragment,{children:[(0,WE.jsx)("div",{className:c("container"),children:(0,WE.jsxs)("div",{className:c("line"),children:[(0,WE.jsx)("label",{className:c("line_label"),"data-test":"Group Name",title:d("Group Name"),children:`${d("Group Name")}:`}),(0,WE.jsx)(Kt,{className:c("file-name"),ref:m,type:"text",value:u,onChange:f=>{p(f)},onBlur:f=>{var g;p(((g=f.target.value)==null?void 0:g.trim())||"")},onkeyup:f=>{f.keyCode===13&&h()}})]})}),(0,WE.jsxs)("div",{className:c("footer"),children:[(0,WE.jsx)(Me,{type:"primary",disabled:!u,onClick:async()=>{await h()},children:"Confirm"}),(0,WE.jsx)(Me,{style:{marginLeft:"5px"},onClick:()=>{o()},children:"Cancel"})]})]})},gQ=t=>{let{name:e,cmd:i,parent:o,zIndex:r,source:n,groupData:a={},schematicId:s}=t;le.open({id:"newGroup",title:i==="cloneNode"?"Clone Group":"Create Group",width:480,closed:!0,esc:!0,children:(0,WE.jsx)(trn,{name:e,parent:o,cmd:i,zIndex:r,source:n,groupData:a,cancelClickFn:le.close,schematicId:s})})};var f7o=async(t,e)=>{let{uuid:i,title:o,description:r,type:n,parent:a}=t,s=1,l=ri.sortComponentGroupData[ri.currentSchematicId];if(n==="customGroup"){let c=null,d=null,u=null;for(let m=0;m<l.length;m++){let h=l[m];if(h.uuid===i){s=h.zIndex;let f=e==="moveUp"?m-2:m+1,g=e==="moveUp"?m-1:m+2;c=l[f]||null,d=l[g]||null;break}}let p=H0(i,"max",1);u=li.toFixed((((c==null?void 0:c.zIndex)||0)+((d==null?void 0:d.zIndex)||p))/2,3),u&&((await C.messageBus.rpcCall($e.COMPONENT_GROUP.BATCH_UPDATE_SORT,[[{uuid:i,zIndex:u}],C.currentProject.projectId])).message.success?(Zs.save([[$e.COMPONENT_GROUP.BATCH_UPDATE_SORT,[{uuid:i,zIndex:u}],$e.COMPONENT_GROUP.BATCH_UPDATE_SORT,[{uuid:i,zIndex:s}]]]),new Fi({type:"info",msg:"Update Success!"})):new Fi({type:"info",msg:"Update failed!"}))}else if(n==="customChildGroup"){let c=l.filter(d=>d.uuid===a)[0];if(c){let d=null,u=null,p=null;for(let h=0;h<c.children.length;h++){let f=c.children[h];if(f.uuid===i){s=f.zIndex;let g=e==="moveUp"?h-2:h+1,b=e==="moveUp"?h-1:h+2;d=c.children[g]||null,u=c.children[b]||null;break}}let m=H0(c.uuid,"sub",1);p=li.toFixed((((d==null?void 0:d.zIndex)||0)+((u==null?void 0:u.zIndex)||m))/2,3),p&&((await C.messageBus.rpcCall($e.COMPONENT_GROUP.BATCH_UPDATE_SORT,[[{uuid:i,zIndex:p}],C.currentProject.projectId])).message.success?(Zs.save([[$e.COMPONENT_GROUP.BATCH_UPDATE_SORT,[{uuid:i,zIndex:p}],$e.COMPONENT_GROUP.BATCH_UPDATE_SORT,[{uuid:i,zIndex:s}]]]),new Fi({type:"info",msg:"Update Success!"})):new Fi({type:"info",msg:"Update failed!"}))}}},Rye=async t=>{var o;let e=ri.componentGroupSelectAllData||[],i=ri.variantSelectedAllData===null||e.length===0;switch(t){case"moveUp":{await f7o(e[0],t);break}case"moveDown":{await f7o(e[0],t);break}case"createAbove":{if(i){let r=H0("","max",1);gQ({name:"",cmd:t,zIndex:r,parent:""})}else{let r=e[0],n=1,a="";r.type==="customGroup"?n=H0(r.uuid,"up",1):r.type==="customChildGroup"?(a=r.parent,n=H0(r.uuid,"up",1,a)):n=H0(r.uuid,"max",1),gQ({name:"",cmd:t,zIndex:n,parent:a})}break}case"createBelow":{if(i){let r=H0("","max",1);gQ({name:"",cmd:t,zIndex:r,parent:""})}else{let r=e[0],n=null,a="";r.type==="customGroup"?n=H0(r.uuid,"down",1):r.type==="customChildGroup"?(a=r.parent,n=H0(r.uuid,"down",1,a)):n=H0(r.uuid,"max",1),gQ({name:"",cmd:t,zIndex:n,parent:a})}break}case"cloneNode":{let{uuid:r,title:n,type:a,parent:s,i18n:l}=e[0],c=["customGroup","notGroup"].includes(a)?H0("","max",1):H0(s,"sub",1),d=l?Rr(n):n;gQ({cmd:t,name:d+"_Copy",zIndex:c,source:r,parent:s});break}case"createSubNode":{let r=e[0],n="",a=H0(r==null?void 0:r.uuid,"sub",1);(r==null?void 0:r.type)==="customGroup"&&(n=r.uuid),gQ({name:"",cmd:t,zIndex:a,parent:n});break}case"deleteAllSubnode":{let r=[],n=[],a=[],s=ri.getRefComponentGroup(),l=[],c=async()=>{let d=[...new Set(r.concat(n))],u=(await C.messageBus.rpcCall($e.COMPONENT_GROUP.BATCH_DELETE,[d,C.currentProject.projectId])).message;u.success?(ri.deleteComponentGroupHandler(r),l.push([$e.COMPONENT_GROUP.BATCH_DELETE,d,$e.COMPONENT_GROUP.BATCH_DELETE,d]),new Fi({msg:"successfully deleted!",type:"info"})):(console.error("\u5220\u9664\u5143\u4EF6\u5206\u7EC4\u5931\u8D25:",d,"-",u.message),new Fi({type:"error",msg:"delete failed!"})),Zs.save(l)};it(e,(d,u)=>{let{type:p,uuid:m,children:h}=u;p==="customGroup"?it(h,(f,g)=>{n.push(g.uuid),s.includes(g.uuid)&&a.push(g.uuid)}):p==="componentGroup"&&it(h,(f,g)=>{if(g.uuid!=="notGroup"){r.push(g.uuid),s.includes(g.uuid)&&a.push(g.uuid);let b=ri.getComponentGroup(g.uuid);it(b.childData,(y,w)=>{n.push(w.uuid),s.includes(w.uuid)&&a.push(w.uuid)})}})}),a.length>0?Ut({type:"warn",message:"Some groups are referenced, continue deletion?",showCancel:!0,textOK:"Yes",textCancel:"No",onConfirm:async()=>{await c()}}):await c();break}case"delete":{let r=[],n=ri.getRefComponentGroup(),a=[],s=[];it(e,(c,d)=>{let{type:u,uuid:p}=d;["customGroup","customChildGroup"].includes(u)&&(r.push(p),n.includes(p)&&a.push(p))}),a.length>0?Ut({type:"warn",message:"Some groups are referenced, continue deletion?",showCancel:!0,textOK:"Yes",textCancel:"No",onConfirm:async()=>{await l()}}):await l();async function l(){let c=(await C.messageBus.rpcCall($e.COMPONENT_GROUP.BATCH_DELETE,[r,C.currentProject.projectId])).message;c.success?(s.push([$e.COMPONENT_GROUP.BATCH_DELETE,r,$e.COMPONENT_GROUP.BATCH_DELETE,r]),ri.deleteComponentGroupHandler(r)):(console.error("\u5220\u9664\u5143\u4EF6\u5206\u7EC4\u5931\u8D25:",r,"-",c.message),new Fi({type:"error",msg:"delete failed!"})),Zs.save(s)}break}case"reName":{let{uuid:r,type:n,title:a,parent:s}=e[0],l=((o=ri.getComponentGroup(r))==null?void 0:o.title)||a;vlt({type:1,name:l,source:e[0].uuid,parent:s});break}}},irn=t=>{if(ri.componentGroupContextMenuData===null)return!["createAbove","createBelow"].includes(t);let{id:e,expand:i,children:o,sourceData:r}=ri.componentGroupContextMenuData||{},n=ri.componentGroupSelectAllData,{type:a,firstChild:s=null,lastChild:l=null}=r,c=!1;switch(t){case"moveUp":{n.length>1?c=!0:["customGroup","customChildGroup"].includes(a)&&!s?c=!1:c=!0;break}case"moveDown":{n.length>1?c=!0:["customGroup","customChildGroup"].includes(a)&&!l?c=!1:c=!0;break}case"createAbove":{n.length>1?c=!0:c=!1;break}case"createBelow":{n.length>1?c=!0:c=!1;break}case"cloneNode":{n.length>1||e===null||n.length===0?c=!0:["customChildGroup","customGroup","notGroup"].includes(a)?c=!1:c=!0;break}case"createSubNode":{n.length>1?c=!0:e===null||["componentGroup","customGroup"].includes(a)?c=!1:c=!0;break}case"deleteAllSubnode":{e===null||["basis","notGroup","customChildGroup"].includes(a)?c=!0:(o==null?void 0:o.length)>0&&o.filter(d=>d.id!=="notGroup").length>0?c=!1:c=!0;break}case"delete":["componentGroup","notGroup","basis"].includes(e)||e===null?c=!0:c=!1;break}return c},orn=()=>{let{id:t=null,expand:e,children:i,sourceData:o}=ri.componentGroupContextMenuData||{},r=t===null;return{menuId:"componentGroup-tree-context-menu",defaultConfig:[{id:"expandAll",title:"Expand All",disable:()=>r?!1:!!(e||i.length===0),callback:n=>Rye(n.id)},{id:"collapseAll",title:"Collapse All",hotkeyCmd:"collapse_all",subHotkeyId:"homepage_prj_menu_collapse_all",disable:()=>r?!1:!e&&i.length>0||i.length===0,callback:n=>Rye(n.id)},...ZJ.map(n=>{let{id:a,title:s,icon:l}=n;return{id:a,title:s,callback:c=>Rye(c.id),disable:()=>Er()?!0:irn(a)}}),{id:"reName",title:"Rename",hotkeyCmd:"",disable:()=>Er()||r||ri.componentGroupSelectAllData.length>1?!0:!!["basis","componentGroup","notGroup"].includes(o==null?void 0:o.type),callback:n=>Rye(n.id)}]}},KYt=(t,e)=>(ri.componentGroupContextMenuData=e,orn());var QE=L(z()),g7o=()=>{let{currentSchematicId:t,sortComponentGroupData:e}=ri;Ce(ri);let i=J();Ae(ZYt.default),Ae(JYt.default);let o=be.bind(ZYt.default.locals),r=be.bind(JYt.default.locals),n=(0,Em.useRef)(null),a=(0,Em.useRef)("basis"),s=(0,Em.useRef)(null),[l,c]=(0,Em.useState)({}),d=(0,Em.useMemo)(()=>new Object({display:"flex",padding:"0"}),[]),u=(0,Em.useMemo)(()=>new Object({expandIcon:o("tree-expand"),collapseIcon:o("tree-collapse")}),[]),[p,m]=(0,Em.useState)(["basis","componentGroup"]),[h,f]=(0,Em.useState)(["basis"]),[g,b]=(0,Em.useState)(performance.now()),y=(0,Em.useRef)(p);(0,Em.useEffect)(()=>{y.current=p},[p]);let[w,x]=(0,Em.useState)(!1),[S,T]=(0,Em.useState)(!1),[M,I]=(0,Em.useState)(!1),[A,D]=(0,Em.useState)(!0),[E,N]=(0,Em.useState)(!0),[R,v]=(0,Em.useState)(!0),[k,P]=(0,Em.useState)(!0),[O,_]=(0,Em.useState)(!0),j=ae=>{if(Er())return!0;switch(ae){case"createAbove":return w;case"createBelow":return S;case"cloneNode":return A;case"deleteAllSubnode":return E;case"moveDown":return k;case"moveUp":return R;case"delete":return O;case"createSubNode":return M}},B=ae=>{switch(ae){case"basis":case"componentGroup":return r("icon_eda_componentGroup");case"customGroup":case"notGroup":case"customChildGroup":return r("icon_eda_customGroup")}},V=()=>{var ee,ce,ne;let ae=[],pe=!0,Z=ri.componentGroupSelectAllData;if(it(Z,(oe,re)=>{var de;let{type:Y,id:X}=re;ae.push(Y);let ie=G([X])[0];((de=ie==null?void 0:ie.children)==null?void 0:de.length)===0&&(pe=!1)}),ae.length>0&&ae.every(oe=>["customChildGroup","customGroup"].includes(oe))?_(!1):_(!0),pe&&ae.length>0?N(!ae.every(oe=>["componentGroup","customGroup"].includes(oe))):N(!0),Z.length>1?(x(!0),T(!0)):(x(!1),T(!1)),Z.length>1||Z.length===0?D(!0):["customChildGroup","customGroup","notGroup"].includes((ee=Z[0])==null?void 0:ee.type)?D(!1):D(!0),Z.length>1||Z.length===0?I(!0):["componentGroup","customGroup"].includes((ce=Z[0])==null?void 0:ce.type)?I(!1):I(!0),Z.length>1||Z.length===0)P(!0),v(!0);else{let oe=(ne=Z[0])==null?void 0:ne.type;if(["basis","componentGroup","notGroup"].includes(oe))P(!0),v(!0);else{let re=Z[0];if(re){let Y=G([re.id])[0];Y&&(v(Y.firstChild),P(Y.lastChild))}}}},G=(ae,pe=l)=>{let Z=[];return it(ae,(ee,ce)=>{pe[ce]&&Z.push(pe[ce])}),Z},Q=(ae,pe)=>{let Z=[],ee=!1,ce=[],ne=oe=>{it(oe,(re,Y)=>{var X;ce.push(Y),Y.expand&&((X=Y==null?void 0:Y.children)==null?void 0:X.length)>0&&ne(Y.children)})};return ne(n.current.getViewData()),it(ce,(oe,re)=>{re.id===ae||re.id===pe?(Z.push(re.id),ee=!ee):ee&&Z.push(re.id)}),Z},H=(ae=[],pe=[])=>{let Z=ri.componentGroupSelectAllData;if(Z.length===1){let ee=Z[0];if("customGroup"===ee.type){let ce=ae.length,ne=ae.findIndex(oe=>ee.id===oe);ne===0?(v(!0),P(ce-1===0||ce===0)):ne===ce-1?(P(!0),v(!1)):(v(!1),P(!1))}else if("customChildGroup"===ee.type&&pe.length>0){for(let ce=0;ce<=pe.length;ce++)if(pe[ce]&&pe[ce].includes(ee.id)){let ne=pe[ce].length,oe=pe[ce].findIndex(re=>ee.id===re);oe===0?(v(!0),P(ne-1===0||ne===0)):oe===ne-1?(P(!0),v(!1)):(v(!1),P(!1));break}}}else v(!0),P(!0)},q=(0,Em.useMemo)(()=>{let ae={},pe=[],Z=[],ee={id:"basis",title:"Basis",icon:"",children:[],i18n:!0,type:"basis",uuid:"basis"},ce={id:"componentGroup",title:"Component Group",children:[],icon:"",i18n:!0,type:"componentGroup",uuid:"componentGroup"},ne={id:"notGroup",title:"Not Grouping",children:[],icon:"",i18n:!0,type:"notGroup",uuid:"notGroup"};ae[ee.id]=ee,ae.notGroup=ne,ae[ce.id]=ce,ce.children.push(ne);let oe=[ee,ce],re=(e==null?void 0:e[t])||[];if(it(re,(Y,X,ie)=>{let{uuid:de,title:fe,data:ye,children:Le,childData:Re}=X,Ne={id:de,uuid:de,title:fe,children:[],data:ye,type:"customGroup",firstChild:ie===0,description:(ye==null?void 0:ye.description)||"",lastChild:ie===re.length-1};ae[de]=Ne,ce.children.push(Ne),pe.push(de);let Te=[];it(Le,(Pe,{uuid:Oe},Ue)=>{let Ve=Re[Oe],ze={id:Ve.uuid,uuid:Ve.uuid,title:Ve.title,children:[],data:Re[Oe],parent:X.uuid,type:"customChildGroup",description:(ye==null?void 0:ye.description)||"",firstChild:Ue===0,lastChild:Ue===Le.length-1};Te.push(Ve.uuid),ae[Oe]=ze,Ne.children.push(ze)}),Te.length>0&&Z.push(Te)}),c(ae),ri.componentGroupSelectAllData.length===0&&h.length>0)b(performance.now());else{let Y=G(h,ae);ri.componentGroupSelectAllData=Y}return setTimeout(()=>{H(pe,Z)},0),oe},[t,e==null?void 0:e[t]]),U=(ae,pe,Z,ee,ce)=>{let ne;if(ce!=null&&ce.shiftKey)a.current==pe.id?ne=[pe.id]:ne=Q(a.current,pe.id);else if(a.current=pe.id,!(ce!=null&&ce.ctrlKey))ne=[pe.id];else{let Y=h.indexOf(pe.id);Y>-1?ne=[].concat(h.slice(0,Y),h.slice(Y+1)):ne=[...h,pe.id]}f(ne);let oe=G([Z.id]);ri.currentSelectTreeData=oe[0];let re=G(ne);ri.componentGroupSelectAllData=re,V()},F=(ae,pe)=>{let Z=p.includes(ae.id),ee=pe.expand;ee&&!Z?m(ce=>[ae.id,...ce]):!ee&&Z&&m(ce=>ce.filter(ne=>ne!==ae.id))},K=(0,Em.useCallback)(async(ae,pe,Z,ee,ce)=>{ce.stopPropagation(),ce.preventDefault(),ae.includes(pe.id)||(f([pe.id]),Z!=null&&Z.sourceData&&(ri.componentGroupSelectAllData=[Z==null?void 0:Z.sourceData])),pl.open({menuConfig:KYt(ae,Z),position:{x:ce.pageX-5,y:ce.pageY-5},menuClickCallback:ne=>{let oe=ri.componentGroupSelectAllData,re=y.current;switch(ne.id){case"expandAll":{let Y=[];it(oe,(X,ie)=>{!re.includes(ie.uuid)&&Y.push(ie.uuid),ie.type==="componentGroup"&&it(ie.children,(de,fe)=>{!re.includes(fe.uuid)&&Y.push(fe.uuid)})}),m(X=>[...X,...Y]);break}case"collapseAll":{let Y=[];it(oe,(X,ie)=>{Y.push(ie.uuid),ie.type==="componentGroup"&&it(ie.children,(de,fe)=>{Y.push(fe.uuid)})}),m(X=>X.filter(ie=>!Y.includes(ie)));break}}}}),V()},[l]),te=ae=>{let{type:pe,title:Z,i18n:ee}=ae,ce=B(pe),ne=ee?i(Z):Z;return(0,QE.jsxs)(QE.Fragment,{children:[(0,QE.jsx)("span",{className:ce,style:{marginRight:"4px",width:"16px",height:"16px"}}),(0,QE.jsx)("span",{"data-test":ae.title,style:{maxWidth:"250px",overflow:"hidden",textOverflow:"ellipsis"},title:ae.description?`${ne}(${ae.description})`:`${ne}`,children:ne})]})};return(0,Em.useEffect)(()=>{let ae=C.messageBus.subscribe(tT.VARIANT.ON_ADD_COMPONENT_GROUP,async Z=>{let{schematicId:ee,uuid:ce}=Z,{success:ne,result:oe}=(await C.messageBus.rpcCall($e.COMPONENT_GROUP.GET,[ce,C.currentProject.projectId])).message;ne&&oe!=null&&oe.parent&&m(re=>[...re,oe.parent]),s.current=ce,f([ce])}),pe=C.messageBus.subscribe(tT.VARIANT.ON_DELETE_COMPONENT_GROUP,Z=>{let{schematicId:ee,uuid:ce}=Z;if(ee===ri.currentSchematicId){let ne=G(["basis"]);ri.currentSelectTreeData=ne[0],ri.variantSelectedAllData=ne,f(["basis"])}});return()=>{ae.cancel(),pe.cancel()}},[l]),(0,Em.useEffect)(()=>{let ae=G(h);ri.componentGroupSelectAllData=ae,h.length===1&&h.includes(s.current)&&ae.length>0&&(ri.currentSelectTreeData=ae[0]),V()},[h,t,g]),(0,QE.jsxs)("div",{className:o("container"),onContextMenu:ae=>{ae.stopPropagation(),ae.preventDefault(),pl.open({menuConfig:KYt(null,null),position:{x:ae.pageX-5,y:ae.pageY-5},menuClickCallback:pe=>{switch(pe.id){case"expandAll":{let Z=[];it(l,(ee,ce)=>{ce.children.length>0&&Z.push(ce.id)}),m(Z);break}case"collapseAll":{m([]);break}}}})},children:[(0,QE.jsx)("div",{className:o("menuToolContainer"),children:ZJ.map(ae=>{let pe=r(ae.icon),Z=r(j(ae.id)?"disabled":"");return(0,QE.jsx)("div",{className:o("menuToolItem"),onClick:ee=>{if(Er())return!1;if(j(ae.id))return!1;Rye(ae.id),V()},title:i(ae.title),children:(0,QE.jsx)("span",{className:`${pe}  ${Z}  ${r("icon_operate")}`})},ae.id)})}),(0,QE.jsx)("div",{className:o("componentGroupContainer"),children:(0,QE.jsx)(Bd,{data:q,expandedIds:p,selectedIds:h,itemHeight:`${OUe}px`,showTagLine:!1,isVirtualList:!0,treeWidgetItemWidth:"16px",containerStyleObject:{userSelect:"none"},itemRender:te,extendIcon:u,isPropagationOnExtend:!0,onClick:U,notAutoSelect:!0,onExpand:F,onContextMenu:K,ref:n})})]})};var tS=L(Se());var lWt=L(Qk());var C7o=L(Se());var $Yt=L(Qk());var Dlt=L(Se());var qYt=L(Qk());var Tte=L(z()),MF=t=>{var c;let{notGroup:e=!1,isBasic:i=!1,componentGroup:o,component:r}=t;Ae(qYt.default);let n=be.bind(qYt.default.locals),a=d=>e||d==="yes"?!0:d!=="no",[s,l]=(0,Dlt.useState)(a((c=r==null?void 0:r.attrs)==null?void 0:c[jr.ADDINTOBOM]));return(0,Dlt.useEffect)(()=>{var d;if(o){let u=vn(o.assembly)?!0:a(o.assembly);l(u)}else if(i&&r){let u=a((d=r==null?void 0:r.attrs)==null?void 0:d[jr.ADDINTOBOM]);l(u)}},[o,r,i]),(0,Tte.jsx)(Tte.Fragment,{children:(0,Tte.jsxs)("div",{className:n("border1px"),style:{width:"49px",alignItems:"center",position:"relative"},children:[(0,Tte.jsx)(qt,{checked:s,disabled:Er()||e||i,style:{display:"flex",justifyContent:"center"},onChange:async d=>{var u,p;if(o){let{uuid:m,symbolId:h,path:f}=o,g=ri.getComponentGroup(m),b=((p=(u=g==null?void 0:g.data)==null?void 0:u[f])==null?void 0:p[h])||{};(await C.messageBus.rpcCall($e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,[{uuid:m,data:{[f]:{[h]:Object.assign({},b,{[jr.ADDINTOBOM]:d?"yes":"no"})}}},C.currentProject.projectId])).message.success?(Zs.save([[$e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,{uuid:m,data:{[f]:{[h]:Object.assign({},b,{[jr.ADDINTOBOM]:d?"yes":"no"})}}},$e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,{uuid:m,data:{[f]:{[h]:Object.assign({},b,{[jr.ADDINTOBOM]:d?"no":"yes"})}}}]]),l(d)):(console.error("\u88C5\u914D\u4FEE\u6539\u5931\u8D25",f,h,m),l(!0))}else i&&r&&(C.messageBus.publish("modifyBasicAssembly",{allPath:r.allPath,value:d?"yes":"no"}),l(d))}}),!e&&!i&&(0,Tte.jsx)("div",{className:n("assembly")})]},"assembly")})};var XYt=L(Qk()),Ste=L(z()),w7o=t=>{Ae(XYt.default);let e=be.bind(XYt.default.locals),{displayTitle:i,isInstanceValue:o=!0,noGroup:r=!1}=t;return(0,Ste.jsx)(Ste.Fragment,{children:(0,Ste.jsxs)("div",{style:{width:"120px",position:"relative"},children:[(0,Ste.jsx)("div",{className:e("cell_item"),title:i,style:o?{color:"#3399ff",display:"block"}:{display:"block"},onClick:n=>{r&&new Fi({type:"error",msg:"Not Grouping components cannot be set!"})},children:bQ(r?"":i)},"device"),o?(0,Ste.jsx)("div",{className:e("triangle")}):""]})})};var IF=L(z()),bQ=(t,e=void 0)=>{var a;if(e=e||ri.searchValue,!e||!t)return t;e=e.replace(/[\[\(\$\^\.\]\*\\\?\+\{\}\\|\)]/gi,s=>`\\${s}`);let i=new RegExp(e,"ig"),o=t==null?void 0:t.split(i),r=t==null?void 0:t.match(i),n=[];for(let s=0;s<(o==null?void 0:o.length)-.5;s+=.5)Math.floor(s)!==s?n.push((0,IF.jsx)("span",{className:"hightlight",children:r[Math.floor(s)]},s)):(a=o[s])!=null&&a.length&&n.push((0,IF.jsx)("span",{children:o[s]},s));return n},x7o=t=>{var n;let{component:e}=t.row;Ae($Yt.default);let i=be.bind($Yt.default.locals),[o,r]=(0,C7o.useState)(e.displayDevice);return(0,IF.jsx)(IF.Fragment,{children:(0,IF.jsxs)("div",{className:i("row_container"),children:[(0,IF.jsx)(MF,{isBasic:!0,component:e}),(0,IF.jsx)(w7o,{displayTitle:o,isInstanceValue:((n=e.attrs)==null?void 0:n[jr.DEVICE])!==e.originDevice})]})})};var eWt=L(Qk()),Mte=L(z()),T7o=t=>{let{component:e}=t.row;Ae(eWt.default);let i=be.bind(eWt.default.locals),o=e.cbbPath.slice().reverse().join("\\");return(0,Mte.jsx)(Mte.Fragment,{children:(0,Mte.jsxs)("div",{className:i("row_container"),children:[(0,Mte.jsx)("div",{className:`${i("border1px")} ${i("cell_item")}`,style:{width:"200px"},title:o,children:bQ(o)},"cbbPath"),(0,Mte.jsx)("div",{className:`${i("cell_item")}`,title:e.designator,style:{width:"80px"},children:bQ(e.designator)},"designator")]})})};var iWt=L(Qk());var tWt=L(Qk());var LF=L(z()),Ite=t=>{let{componentGroup:e,notGroup:i=!1,component:o}=t,{comment:r="",designator:n="",displayFootPrint:a=""}=o||{};Ae(tWt.default);let s=be.bind(tWt.default.locals),l=i?"":ri.getDeviceDisplayTitle(e==null?void 0:e.alterDevice)||"";return(0,LF.jsx)(LF.Fragment,{children:(0,LF.jsxs)("div",{style:{width:"120px",position:"relative"},children:[(0,LF.jsxs)("div",{className:s("cell_item"),onClick:c=>{if(Er())return!1;if(i)return new Fi({type:"error",msg:"Not Grouping components cannot be set!"}),!1;let d={form:"assemblyVariant",needRefresh:!0,deviceType:"part"},u=`${r}`.trim();n&&(n.startsWith("R")||n.startsWith("C")||n.startsWith("L")||n.startsWith("D"))&&(u=`${r} ${a}`.trim()),u&&(d.searchValue=u),ri.alterModifyNode=[{groupId:e.uuid,path:e.path,eId:e.symbolId}],C.messageBus.publish("openDeviceSelectDlg",d)},children:[(0,LF.jsx)("span",{className:s("content"),style:{overflow:"hidden",color:"#ff6600"},"data-uuid":`${e==null?void 0:e.alterDevice}`,"data-path":`${e==null?void 0:e.path}`,title:l,children:bQ(l)}),(0,LF.jsx)("span",{className:s("add"),children:"..."})]},"alternativeDevice"),(e==null?void 0:e.alterDevice)&&(0,LF.jsx)("div",{className:s("assembly")})]})})};var Lte=L(z()),S7o=t=>{Ae(iWt.default);let e=be.bind(iWt.default.locals);return(0,Lte.jsx)(Lte.Fragment,{children:(0,Lte.jsxs)("div",{className:e("row_container"),children:[(0,Lte.jsx)(MF,{assembly:!0,disabled:!0,notGroup:!0}),(0,Lte.jsx)(Ite,{notGroup:!0})]})})};var Nlt=L(Se());var rWt=L(Qk());var oWt=L(Qk()),vte=L(z()),Alt=t=>{Ae(oWt.default);let e=be.bind(oWt.default.locals),i=J(),o=Array.isArray(t.source)||t.isMultipart,r=Array.isArray(t.source)?t.source.join("\u3001"):t.source;return(0,vte.jsx)(vte.Fragment,{children:(0,vte.jsxs)("div",{className:`${e("cell_item")} ${e("border1px")}`,style:{width:"80px",height:"24px",color:"#ff6600",position:"relative",paddingLeft:"6px"},title:r,children:[o&&(0,vte.jsx)("div",{className:e("warning"),title:i("Error\uFF1AThe component is defined multiple times in the variant !")}),(0,vte.jsx)("div",{className:e("source"),style:{width:o?"60px":"70px"},children:bQ(r)})]},"variantSource")})};var yQ=L(z()),M7o=t=>{let{component:e}=t.row,i=t.currentComponentGroup;Ae(rWt.default);let o=be.bind(rWt.default.locals),[r,n]=(0,Nlt.useState)(e.attrs[jr.ADDINTOBOM]),[a,s]=(0,Nlt.useState)(e.attrs[jr.DEVICE]),[l,c]=(0,Nlt.useState)(e.displayDevice);return(0,yQ.jsx)(yQ.Fragment,{children:(0,yQ.jsxs)("div",{className:o("row_container"),children:[(0,yQ.jsx)(Alt,{source:i.source}),(0,yQ.jsx)(MF,{componentGroup:i,onChange:d=>{n(d)},notGroup:zP(i.uuid)}),(0,yQ.jsx)(Ite,{component:e,componentGroup:i,notGroup:zP(i.uuid)})]})})};var nWt=L(Qk());var Dte=L(z()),I7o=t=>{let e=t.currentComponentGroup,{component:i}=t.row;Ae(nWt.default);let o=be.bind(nWt.default.locals);return(0,Dte.jsx)(Dte.Fragment,{children:(0,Dte.jsxs)("div",{className:o("row_container"),children:[(0,Dte.jsx)(MF,{componentGroup:e,notGroup:zP(e.uuid)}),(0,Dte.jsx)(Ite,{component:i,componentGroup:e,notGroup:zP(e.uuid)})]})})};var klt=L(Se());var aWt=L(Qk());var wQ=L(z()),sWt=t=>{var d;let{component:e}=t.row,i=t.currentComponentGroup;Ae(aWt.default);let o=be.bind(aWt.default.locals),[r,n]=(0,klt.useState)(i==null?void 0:i.assembly),[a,s]=(0,klt.useState)(((d=i==null?void 0:i.attrs)==null?void 0:d[jr.DEVICE])||""),[l,c]=(0,klt.useState)((i==null?void 0:i.displayDevice)||"");return(0,wQ.jsx)(wQ.Fragment,{children:(0,wQ.jsxs)("div",{className:o("row_container"),children:[(0,wQ.jsx)(Alt,{source:i.source,isMultipart:i==null?void 0:i.multiPartSource}),(0,wQ.jsx)(MF,{assembly:r,componentGroup:i,onChange:u=>{n(u)},notGroup:zP(i.uuid)}),(0,wQ.jsx)(Ite,{component:e,componentGroup:i,notGroup:zP(i.uuid)})]})})};var L7o=(t,e,i,o)=>{let[r,n]=U0(e),a=[];return it(ri.sortComponentGroupData[t],(s,l)=>{let{data:c,childData:d,uuid:u}=l;u!==i&&it(c,(p,m)=>{p===r&&it(m,(h,f)=>{o.includes(h)&&a.push({groupId:u,path:p,eId:h,designator:""})})}),it(d,(p,m)=>{let{data:h,uuid:f}=m;f!==i&&it(h,(g,b)=>{g===r&&it(b,(y,w)=>{o.includes(y)&&a.push({groupId:f,path:g,eId:y,designator:""})})})})}),a},_ye=()=>{let t=ri.variantListSelectAllData,e=[];return it(t,(i,{componentGroup:o,customComponentGroup:r,variant:n,uniquePath:a,component:s})=>{let[l,c,...d]=a.split("|");if(o)e.push({groupId:o[0].uuid,path:l,eId:c,designator:s.designator,alterDevice:o[0].alterDevice});else if(r)e.push({groupId:r[0].uuid,path:l,eId:c,designator:s.designator,alterDevice:r[0].alterDevice});else if(n)e.push({groupId:n[0].uuid,path:l,eId:c,designator:s.designator,alterDevice:n[0].alterDevice});else if(s){let u=L7o(ri.currentSchematicId,l,"",[c]);u.length===0?e.push({groupId:"",path:l,eId:c,designator:s.designator,alterDevice:""}):e.push(...u)}}),e},v7o=(t,e)=>{let i=H0("","max",1);gQ({name:"",cmd:"createBelow",zIndex:i,parent:"",groupData:t,schematicId:e})},D7o=async(t,e,i)=>{if(!e||i.length===0)return;let[o,r]=U0(e),n=he.getTopActiveSchematicId();if(t==="null"){let d={};return it(i,(u,p)=>{Cs(d,o)[p]={}}),v7o(d,n),!1}let a=[],s=L7o(n,o,t,i),l=async()=>{let d=await Plt(s,n);a.push(...d);let u={},p=[];it(i,(h,f)=>{Cs(u,o)[f]={},p.push({pathId:o,eId:f,groupId:t})}),(await C.messageBus.rpcCall($e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,[{uuid:t,data:u},C.currentProject.projectId])).message.success?(a.push([[$e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,{uuid:t,data:u},$e.COMPONENT_GROUP.BATCH_DELETE_ATTR_DATA,p]]),new Fi({type:"success",msg:"Component Group Join successfully"})):(console.error("\u65B0\u589E\u5931\u8D25"),new Fi({type:"error",msg:"Component Group Join failed"}))},c=sessionStorage.getItem("removeAndJoinComponentShow")||"yes";if(s.length>0&&c==="yes"){let d="yes";Ut({type:"confirm",icon:"warning",message:"The selected components will be removed from parent and subset groupings under the source group and will be added to all group under destination group.",isHtml:!0,showAgain:!0,textOK:"Yes",textCancel:"No",onShowAgain:p=>{d=p?"no":"yes"},onConfirm:async()=>{sessionStorage.setItem("removeAndJoinComponentShow",d),await l()},onCancel:async()=>!1})}else await l()},nrn=async t=>{let e=_ye(),i=e.filter(a=>!!a.groupId),o=[],r=async()=>{let a={},s=[];it(e,(c,d)=>{let{groupId:u,path:p,eId:m}=d;Cs(a,p)[m]={},s.push({groupId:t,pathId:p,eId:m})}),(await C.messageBus.rpcCall($e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,[{uuid:t,data:a},C.currentProject.projectId])).message.success?(o.push([$e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,{uuid:t,data:a},$e.COMPONENT_GROUP.BATCH_DELETE_ATTR_DATA,s]),new Fi({type:"success",msg:"Component Group Join successfully"})):(console.error("\u65B0\u589E\u5931\u8D25"),new Fi({type:"error",msg:"Component Group Join failed"}))},n=sessionStorage.getItem("removeAndJoinComponentShow")||"yes";if(i.length>0&&n==="yes"){let a="yes";Ut({type:"confirm",icon:"warning",message:"The selected components will be removed from parent and subset groupings under the source group and will be added to all group under destination group.",isHtml:!0,showAgain:!0,textOK:"Yes",textCancel:"No",defaultShowAgain:!1,onShowAgain:l=>{a=l?"no":"yes"},onConfirm:async()=>{sessionStorage.setItem("removeAndJoinComponentShow",a);let l=await Plt(i);o.push(...l),await r(),Zs.save(o)},onCancel:async()=>!1})}else{let a=await Plt(i);o.push(...a),await r(),Zs.save(o)}},Plt=async(t,e="")=>{let i=[],o=[],r=[],n={};if(await Ro(t,async(a,s)=>{let{groupId:l,path:c,eId:d}=s;if(!["basis","notGroup"].includes(l)){let u=ri.getComponentGroup(l,e);l&&!o.includes(l)?(i.push({groupId:l,pathId:c,eId:d}),o.push(l)):i.push({groupId:l,pathId:c,eId:d}),n[l]=u.data;let p=u.parent?ri.getComponentGroup(u.parent):u;u.parent&&(o.includes(p.uuid)?i.push({groupId:p.uuid,pathId:c,eId:d}):(i.push({groupId:p.uuid,pathId:c,eId:d}),o.push(p.uuid),n[p.uuid]=p.data)),it(p.childData,(m,h)=>{o.includes(m)?i.push({groupId:m,pathId:c,eId:d}):(i.push({groupId:m,pathId:c,eId:d}),o.push(m),n[m]=h.data)})}}),i.length>0){let a=async()=>{(await C.messageBus.rpcCall($e.COMPONENT_GROUP.BATCH_DELETE_ATTR_DATA,[i,C.currentProject.projectId])).message.success?(r.push([$e.COMPONENT_GROUP.BATCH_DELETE_ATTR_DATA,i,null,null]),it(n,(c,d)=>{r.push([null,null,$e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,{uuid:c,data:d}])}),new Fi({type:"success",msg:"Execution Successful!"})):(console.error("\u79FB\u51FA\u5143\u4EF6\u5206\u7EC4\u5931\u8D25"),new Fi({type:"error",msg:"Execution Failed!"}))};if((sessionStorage.getItem("removeComponentShow")||"yes")==="yes"){let l="yes";Ut({type:"confirm",icon:"warning",message:"The selected components will be removed from parent and subset groupings.",isHtml:!0,showAgain:!0,textOK:"Yes",textCancel:"No",onShowAgain:d=>{l=d?"no":"yes"},onConfirm:async()=>{sessionStorage.setItem("removeComponentShow",l),await a()},onCancel:async()=>!1})}else await a()}return r},CQ=async(t,e,i)=>{let o=ri.variantListSelectAllData;switch(t){case"moveIntoGroup":{let r=i.groupUuid;await nrn(r);return}case"remove":{let r=_ye(),n=await Plt(r);Zs.save(n);break}case"setAltComponent":{let r={form:"assemblyVariant",needRefresh:!0,deviceType:"part"};if(o.length===1){let n=o[0],a=n.displayTitle;if(a&&(r.searchValue=a),n!=null&&n.variant){if(n.variant[0].uuid==="notGroup"){new Fi({type:"error",msg:"Not Grouping components cannot be set!"});return}}else if(n!=null&&n.customComponentGroup&&n.customComponentGroup[0].uuid==="notGroup"){new Fi({type:"error",msg:"Not Grouping components cannot be set!"});return}}ri.alterModifyNode=_ye(),C.messageBus.publish("openDeviceSelectDlg",r);break}case"setAsAssembly":{let r=_ye(),n={},a={};it(r,(c,d)=>{var h,f;let{groupId:u,path:p,eId:m}=d;if(u){let g=ri.getComponentGroup(u),b=((f=(h=g==null?void 0:g.data)==null?void 0:h[p])==null?void 0:f[m])||{},y=Cs(n,u),w=Cs(a,u);Cs(w,p)[m]=b,Cs(y,p)[m]=Object.assign({},b,{[jr.ADDINTOBOM]:"yes"})}});let s=[],l=[];it(n,(c,d)=>{let u=C.messageBus.rpcCall($e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,[{uuid:c,data:d},C.currentProject.projectId]).then(p=>{s.push([$e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,{uuid:c,data:d},$e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,{uuid:c,data:a[c]}]),console.log(p)});l.push(u)}),Promise.allSettled(l).then(()=>{Zs.save(s)});return}case"setAsNonAssembly":{let r=_ye(),n={},a={};it(r,(c,d)=>{var h,f;let{groupId:u,path:p,eId:m}=d;if(u){let g=ri.getComponentGroup(u),b=((f=(h=g==null?void 0:g.data)==null?void 0:h[p])==null?void 0:f[m])||{},y=Cs(n,u),w=Cs(a,u);Cs(w,p)[m]=b,Cs(y,p)[m]=Object.assign({},b,{[jr.ADDINTOBOM]:"no"})}});let s=[],l=[];it(n,(c,d)=>{let u=C.messageBus.rpcCall($e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,[{uuid:c,data:d},C.currentProject.projectId]).then(p=>{s.push([$e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,{uuid:c,data:d},$e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,{uuid:c,data:a[c]}]),console.log(p)});l.push(u)}),Promise.allSettled(l).then(()=>{Zs.save(s)});return}case"selectComponent":{let r={},n=null;it(ri.variantListSelectAllData,(a,s)=>{let{uniquePath:l}=s,[c,d,...u]=l.split("|"),p=Fp(c);n||(n=p),En(r,p).push(d)}),await Ro(r,async(a,s)=>{let l=await he.getTabIFrame(a);l?a!==he.getActiveTab()&&await C.messageBus.rpcCall("handleOpenedSch",{tabId:a}):(await yn({tabId:a}),l=await he.getTabIFrame(a)),C.messageBus.publish("sch/selectWithShowCrossCursorByIds",{ids:s,tabId:a})}),C.messageBus.publish("sch/renderPropertyPanel",{renderUI:!0});return}case"clearAltComponent":{let r={},n={};it(o,(s,{componentGroup:l,customComponentGroup:c,variant:d,uniquePath:u})=>{var g,b;let p=null,[m,h,...f]=u.split("|");if(l?p=l[0].uuid:c?p=c[0].uuid:d&&(p=d[0].uuid),p){let y=ri.getComponentGroup(p),w=((b=(g=y==null?void 0:y.data)==null?void 0:g[m])==null?void 0:b[h])||{},x=Cs(r,p),S=Cs(n,p);Cs(S,m)[h]=w,Cs(x,m)[h]=Object.assign({},w,{[jr.DEVICE]:""})}});let a=[];it(r,(s,l)=>{C.messageBus.rpcCall($e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,[{uuid:s,data:l},C.currentProject.projectId]).then(c=>{a.push([$e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,{uuid:s,data:l},$e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,{uuid:s,data:n[s]}]),console.log(c)})}),Zs.save(a);return}case"restoreBaseProperty":{let r=_ye(),n={},a={};it(r,(c,d)=>{var h,f;let{groupId:u,path:p,eId:m}=d;if(u){En(n,u).push({groupId:u,pathId:p,eId:m});let g=Cs(a,u),b=ri.getComponentGroup(u),y=((f=(h=b==null?void 0:b.data)==null?void 0:h[p])==null?void 0:f[m])||{};Cs(g,p)[m]=y}});let s=[],l=[];it(n,(c,d)=>{let u={};it(d,(m,{pathId:h,eId:f})=>{Cs(u,h)[f]={}});let p=C.messageBus.rpcCall($e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,[{uuid:c,data:u},C.currentProject.projectId]).then(m=>{s.push([$e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,{uuid:c,data:u},$e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,{uuid:c,data:a[c]}]),console.log(m)});l.push(p)}),Promise.allSettled(l).then(()=>{Zs.save(s)});return}default:console.log(t)}},E7o=(t,e)=>{let i=ri.variantListSelectAllData||[],o=ri.currentSchematicId,r=ri.sortComponentGroupData[o]||[],n=!1,a=!1,s=!1;return t.customComponentGroup?n=t.customComponentGroup.length>1:t.variant?n=t.variant.length>1:t.noGroup?s=!0:!t.customComponentGroup&&!t.componentGroup&&!t.variant&&(a=!0),{menuId:"variant-list-context-menu",defaultConfig:[{id:"moveIntoGroup",title:"Move Into Group",disable:()=>!!Er(),children:{menuId:"variant-list-group-menu",defaultConfig:(()=>{let c=[{id:"newGroup",title:"Create Group",callback:()=>{let u={};it(ri.variantListSelectAllData,(p,m)=>{let[h,f]=m.uniquePath.split("|");Cs(u,h)[f]={}}),v7o(u)}},null],d=r.map(u=>({id:u.uuid,title:u.title,callback:()=>CQ("moveIntoGroup",t,{groupUuid:u.uuid})}));return c.concat(...d)})()}},{id:"remove",title:"Remove",disable:()=>{var c;return Er()?!0:ri.currentSelectTreeData?["basis","notGroup"].includes((c=ri.currentSelectTreeData)==null?void 0:c.type):!0},callback:c=>CQ(c.id,t)},{id:"setAsAssembly",title:"Set As Assembly",hotkeyCmd:"",disable:()=>Er()||n||a||s,callback:c=>CQ(c.id,t)},{id:"setAsNonAssembly",title:"Set As Non-Assembly",disable:()=>Er()||n||a||s,callback:c=>CQ(c.id,t)},{id:"setAltComponent",title:"Set Alternative Component",hotkeyCmd:"",disable:()=>Er()||n||a||s,callback:c=>CQ(c.id,t)},{id:"clearAltComponent",title:"Clear Alternative Component",disable:()=>Er()||n||a||s,callback:c=>CQ(c.id,t)},{id:"restoreBaseProperty",title:"Restore Base Properties",hotkeyCmd:"",disable:()=>Er()||n||a||s,callback:c=>CQ(c.id,t)},{id:"invertSelection",title:"Invert Selection",disable:()=>!1,callback:c=>CQ(c.id,t)},{id:"selectComponent",title:"Go to Canvas And Select the Component",disable:()=>!1,callback:c=>CQ(c.id,t)}]}};var _x=L(z());var arn=(t,e)=>t.title+"_"+e.title,A7o=t=>{let e="",i=ri.getComponentGroup(t);if(i!=null&&i.parent){let o=ri.getComponentGroup(i.parent);e=(o?o.title+"_":"")+i.title}else e=(i==null?void 0:i.title)||e;return e},jye=t=>{if(t.uuid==="notGroup")return Rr("Not Grouping");if(t.belong)return ri.getVariant(t.belong).title;if(t.parent){let e=ri.getComponentGroup(t.parent);return e?arn(e,t):t.title}else return t.title},srn=t=>{let e=ri.getCurrentNlSymbol(),i={},o={},r={},n=[],a=t==null?void 0:t.uuid,s=!0,l=!1,c=[];if((t==null?void 0:t.type)==="customVariant"){s=!0;let p=ri.getVariant(a);p&&(l=p.notGrouped,c=t.children)}else s=!1,it(ri.variantSelectedAllData,(p,m)=>{(m==null?void 0:m.type)==="referVariant"?(c.push(m),a=m.parent):(m==null?void 0:m.type)==="notGroup"&&(l=!0)});let d=ri.getVariant(a),u=d==null?void 0:d.componentGroup;return u&&(s&&it(u==null?void 0:u.data,(p,m)=>{it(m,(h,f)=>{let g=Sd(p,h);o[g]=[u]})}),l&&it(ri.getCurrentNoGroupNlSymbol(),(p,m)=>{let{path:h,symbolId:f}=m,g=Sd(h,f);r[g]=[m]}),it(c,(p,m)=>{let{uuid:h,title:f,description:g,data:b,type:y}=m;if(y==="referVariant"){let w=ene(h);w&&it(w,(x,S)=>{it(S,(T,M)=>{let I=Sd(x,T),A=ri.getComponentGroup(m.uuid);A&&En(i,I).push({componentGroup:A,uuid:h})})})}}),it(e,(p,m)=>{var x,S,T,M,I,A,D;let{path:h,symbolId:f}=m,g=Sd(h,f),b=!0,w=(E=>{let N=0;return E in o&&N++,E in r&&N++,E in i&&(N+=i[E].length),N>1})(g);if(g in o){b=!1;let E=o[g][0];n.push({uniquePath:Sd(h,f,E.uuid),component:m,variant:[{title:"",assembly:(S=(x=E.data[h])==null?void 0:x[f])==null?void 0:S[jr.ADDINTOBOM],alterDevice:(M=(T=E.data[h])==null?void 0:T[f])==null?void 0:M[jr.DEVICE],displayTitle:(A=(I=E.data[h])==null?void 0:I[f])==null?void 0:A[jr.DEVICE],uuid:u.uuid,source:Rr("Variants"),symbolId:f,path:h,multiPartSource:w}]})}g in r&&(b=!1,n.push({uniquePath:Sd(h,f),component:m,variant:[{assembly:((D=m.attrs)==null?void 0:D[jr.ADDINTOBOM])||!0,alterDevice:"",displayTitle:"",title:"",uuid:"notGroup",source:Rr("Not Grouping"),symbolId:f,path:h,multiPartSource:w}]})),g in i&&(b=!1,it(i[g],(E,{uuid:N,componentGroup:R})=>{var k,P,O,_,j,B;let v=ene(N);v&&n.push({uniquePath:Sd(h,f,R.uuid),component:m,variant:[{title:R.title,assembly:(P=(k=v[h])==null?void 0:k[f])==null?void 0:P[jr.ADDINTOBOM],alterDevice:(_=(O=v[h])==null?void 0:O[f])==null?void 0:_[jr.DEVICE],displayTitle:(B=(j=v[h])==null?void 0:j[f])==null?void 0:B[jr.DEVICE],uuid:N,source:jye(R),path:h,symbolId:f,multiPartSource:w}]})})),b&&s&&n.push({uniquePath:Sd(h,f,t.componentGroup.uuid),component:m,variant:[{title:"",assembly:!0,alterDevice:"",displayTitle:"",device:"",uuid:u.uuid,source:"",symbolId:f,path:h}]})})),n},lrn=t=>{var s;let e=ri.getCurrentNlSymbol(),i=((s=ri.sortVariantData)==null?void 0:s[ri.currentSchematicId])||[],o=[],r=i.map(l=>l.uuid);if((t==null?void 0:t.type)==="variant")o=r;else{let l=ri.variantSelectedAllData.map(c=>c.uuid);it(r,(c,d)=>{l.includes(d)&&o.push(d)})}let n={};it(o,(l,c,d)=>{let u={},p=ri.getVariant(c);if(p.componentGroup){let{data:m,children:h,childData:f,uuid:g}=p.componentGroup;it(m,(b,y)=>{it(y,(w,x)=>{let S=Sd(b,w);En(u,S).push({componentGroup:p.componentGroup,uuid:g})})})}p.notGrouped&&it(ri.getCurrentNoGroupNlSymbol(),(m,h)=>{let{path:f,symbolId:g}=h,b=Sd(f,g);En(u,b).push({componentGroup:{...p.componentGroup,uuid:"notGroup"},uuid:"notGroup"})}),it(p.childComponentGroupData,(m,h)=>{let{uuid:f,title:g,data:b}=h,y=ene(f);y&&it(y,(w,x)=>{it(x,(S,T)=>{let M=Sd(w,S),I=ri.getComponentGroup(h.uuid);I&&En(u,M).push({componentGroup:I,uuid:f})})})}),it(u,(m,h)=>{let f=En(n,m);f[d]=h})});let a=[];return it(e,(l,c)=>{let{path:d,symbolId:u}=c,p=Sd(d,u),m=[];a.push({uniquePath:Sd(d,u),component:c,variant:m}),p in n?it(n[p],(h,f,g)=>{var b,y,w,x,S,T;if((f==null?void 0:f.length)>1){let M=f.map(A=>A.uuid),I=f.map(A=>jye(A.componentGroup));m.push({title:"",assembly:"",alterDevice:"",displayTitle:"",uuid:M,source:I,path:d,symbolId:u})}else if((f==null?void 0:f.length)===1){let{uuid:M,componentGroup:I}=f[0],A=I.data;m.push({title:I.title,assembly:(y=(b=A[d])==null?void 0:b[u])==null?void 0:y[jr.ADDINTOBOM],alterDevice:(x=(w=A[d])==null?void 0:w[u])==null?void 0:x[jr.DEVICE],displayTitle:(T=(S=A[d])==null?void 0:S[u])==null?void 0:T[jr.DEVICE],uuid:I.uuid,source:jye(I),path:d,symbolId:u})}else m.push({title:"",assembly:!0,alterDevice:"",displayTitle:"",device:"",uuid:"",source:"",symbolId:u,path:d})}):m.push({title:"",assembly:!0,alterDevice:"",displayTitle:"",device:"",uuid:"",source:"",symbolId:u,path:d})}),a},zDe=t=>{let e=new Set,i=new Set;return it(t,(o,r)=>{let{type:n,parent:a}=r;e.add(n),i.add(a)}),!(e.size>1||i.size>1)},N7o=()=>{let{currentSchematicId:t,sortVariantData:e,currentSelectTreeData:i,sortComponentGroupData:o,variantSelectedAllData:r,componentGroupSelectAllData:n,componentListData:a,componentListNoGroupData:s,searchValue:l}=ri;Ce(ri);let c=J();Ae(lWt.default);let d=be.bind(lWt.default.locals),[u,p]=(0,tS.useState)([]),[m,h]=(0,tS.useState)(null),f=(0,tS.useRef)(null),g=(0,tS.useRef)(null);(0,tS.useEffect)(()=>{t&&(async()=>{let H=(await C.messageBus.rpcCall("getAssemblyVariantNlsymbols",t)).message;ri.updateAssemblyNlSymbol(t,H),h(performance.now())})()},[t]);let b=(Q,H)=>{let q=0;return it(H,(U,F)=>{q+=F.width}),(0,_x.jsxs)("div",{className:d("list-header"),style:{lineHeight:"initial",position:"absolute",height:"48px",top:0,left:0,width:"100%"},children:[(0,_x.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"24px",width:`${q}px`,borderBottom:"1px solid var(--border-color-table-header)",padding:"0 6px"},title:c(Q),children:(0,_x.jsx)("span",{className:d("ellipsis"),children:c(Q)})}),(0,_x.jsx)("div",{style:{display:"flex"},children:H.map((U,F)=>(0,_x.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"24px",width:`${U.width}px`,borderRight:F===H.length-1?"none":"1px solid var(--border-color-table-header)",padding:"0 6px"},title:c(U.title),children:(0,_x.jsx)("span",{className:d("ellipsis"),children:c(U.title)})},U.key))})]})},y=Q=>{let H=[],q=[];return it(Q,(U,F)=>{let K=A7o(F.uuid);H.push(K),q.push(F.data)}),{colTitle:H,rowData:q}},w=Q=>{let H=[],q=[],U=Q;return H.push(U.title),q.push(U.data),it(U.childComponentGroupData,(F,K)=>{H.push(K.title),q.push(K.data)}),{colTitle:H,rowData:q}},x=[{key:"component",name:c("Component"),style:{height:"48px"},width:280,nameRender:()=>b("Component",[{title:"Hierarchical Position",key:"cbbPath",width:200},{title:"Designator",key:"designator",width:80}]),onCell(Q){return{style:{height:24,color:Q.used?"#FF0000":"",width:"280px",padding:0}}},render:Q=>{let H=Q.row;return(0,_x.jsx)(T7o,{row:H})}}],S=[{key:"Basis",name:c("Basis"),style:{height:"48px",width:"170px"},width:170,nameRender:()=>b("Basis",[{title:"Assembly",key:"assembly",width:50},{title:"Device",key:"device",width:120}]),onCell(Q){return{style:{height:24,color:Q.used?"#FF0000":"",width:"170px",padding:0}}},render:Q=>{let H=Q.row;return(0,_x.jsx)(x7o,{row:H})}}],T=[{key:"notGroup",name:c("Not Grouping"),style:{height:"48px"},width:170,nameRender:()=>b("Not Grouping",[{title:"Assembly",key:"assembly",width:50},{title:"Alternative Component",key:"alternativeDevice",width:120}]),onCell(Q){return{style:{height:24,color:Q.used?"#FF0000":"",width:"170px",padding:0}}},render:Q=>{let H=Q.row;return console.log(Q),(0,_x.jsx)(S7o,{row:H})}}],M=[{key:"variant",name:c("Variants"),style:{height:"48px",width:"210px"},width:250,nameRender:()=>b("Variant",[{title:"Variant Source",key:"variantSource",width:80},{title:"Assembly",key:"assembly",width:50},{title:"Alternative Component",key:"alternativeDevice",width:120}]),onCell(Q){return{style:{height:24,color:Q.used?"#FF0000":"",width:"250px",padding:0}}},render:Q=>{var q;let H=Q.row;return console.log(Q),(0,_x.jsx)(M7o,{row:H,currentComponentGroup:((q=H==null?void 0:H.customComponentGroup)==null?void 0:q[0])||{}})}}],I=Q=>{let H=[],q=ri.componentGroupSelectAllData.filter(U=>!["basis","componentGroup","notGroup"].includes(U.type));if(q.length>0){let U=new Set;it(q,(te,ae)=>{ae.parent?U.add(ae.parent):zP(ae.uuid)||U.add(ae.uuid)});let{colTitle:F,rowData:K}=y(U.size===1?q:[Q]);it(K,(te,ae,pe)=>{let Z=F[pe];H.push({key:"customComponentGroup"+Z,name:c("Not Grouping"),style:{height:"48px",width:"170px"},width:170,nameRender:()=>b(Z,[{title:"Assembly",key:"assembly",width:50},{title:"Alternative Component",key:"alternativeDevice",width:120}]),onCell(ee){return{style:{height:24,color:ee.used?"#FF0000":"",width:"170px",padding:0}}},render:ee=>{var ne;let{row:ce}=ee;return(0,_x.jsx)(I7o,{row:ce,currentComponentGroup:((ne=ce==null?void 0:ce.customComponentGroup)==null?void 0:ne[pe])||{}})}})})}return H},A=Q=>{var U,F;let H=[],q="";if(Array.isArray(Q)&&Q[0].type==="referVariant"){let[K,te]=ri.currentSelectTreeData.id.split("|");te?q=((U=ri.getVariant(te))==null?void 0:U.title)||q:q=ri.currentSelectTreeData.title}else{let K=Q.uuid;switch(Q.type){case"variant":q=((F=ri.getVariant(K))==null?void 0:F.title)||q;break;case"referVariant":q=A7o(K)||q;break;default:q=Q.title;break}}return H.push({key:"customVariant"+q,name:c("Variants"),style:{height:"48px"},width:250,nameRender:()=>b(q,[{title:"Variant Source",key:"variantSource",width:80},{title:"Assembly",key:"assembly",width:50},{title:"Alternative Component",key:"alternativeDevice",width:120}]),onCell(K){return{style:{height:24,color:K.used?"#FF0000":"",width:"250px",padding:0}}},render:K=>{var ae,pe;let{row:te}=K;return(0,_x.jsx)(sWt,{row:te,currentComponentGroup:((ae=te==null?void 0:te.customComponentGroup)==null?void 0:ae[0])||((pe=te==null?void 0:te.variant)==null?void 0:pe[0])||{}})}}),H},D=Q=>{let H=[],q=[];return Array.isArray(Q)?q=Q:q=Q.children,it(q,(U,F,K)=>{H.push({key:"Variant"+F.title,name:c("Variants"),style:{height:"48px"},width:250,nameRender:()=>b(F.title,[{title:"Variant Source",key:"variantSource",width:80},{title:"Assembly",key:"assembly",width:50},{title:"Alternative Component",key:"alternativeDevice",width:120}]),onCell(te){return{style:{height:24,color:te.used?"#FF0000":"",width:"250px",padding:0}}},render:te=>{var pe,Z;let{row:ae}=te;return(0,_x.jsx)(sWt,{row:ae,currentComponentGroup:((pe=ae==null?void 0:ae.customComponentGroup)==null?void 0:pe[K])||((Z=ae==null?void 0:ae.variant)==null?void 0:Z[K])||{}})}})}),H},E=(0,tS.useMemo)(()=>{if(!i)return[...x,...S];let{type:Q}=i;switch(Q){case"basis":return[...x,...S];case"componentGroup":return[...x,...S,...M];case"notGroup":return[...x,...S,...T];case"customGroup":return[...x,...S,...I(i)];case"customChildGroup":{let H=ri.variantSelectedAllData;return H.length>1&&zDe(H)?[...x,...S,...I(H)]:[...x,...S,...I(i)]}case"variant":return[...x,...S,...D(i)];case"customVariant":{let H=ri.variantSelectedAllData;return H.length>1&&zDe(H)?[...x,...S,...D(H)]:[...x,...S,...A(i)]}case"referVariant":{let H=ri.variantSelectedAllData;return H.length>1&&zDe(H)?[...x,...S,...A(H)]:[...x,...S,...A(i)]}default:return[...x,...S]}},[t,m,i,r,n,o==null?void 0:o[t],a==null?void 0:a[t],e==null?void 0:e[t]]),N=()=>{let Q=[];return it(ri.getCurrentNoGroupNlSymbol(),(H,q)=>{var te;let{path:U,allPath:F,symbolId:K}=q;Q.push({uniquePath:`${q.path}|${q.symbolId}`,component:q,noGroup:{assembly:((te=q.attrs)==null?void 0:te[jr.ADDINTOBOM])||!0,alterDevice:"",displayTitle:""}})}),Q},R=()=>{var U;let Q=i,H={},q=[];if((Q==null?void 0:Q.type)==="componentGroup"){let F=ri.getCurrentNlSymbol();it(((U=ri.sortComponentGroupData)==null?void 0:U[t])||[],(K,te)=>{let{data:ae,children:pe,childData:Z}=te;it(ae,(ee,ce)=>{it(ce,(ne,oe)=>{let re=Sd(ee,ne);En(H,re).push({componentGroup:te,uuid:te.uuid})})})}),it(F,(K,te)=>{let{path:ae,symbolId:pe}=te,Z=Sd(ae,pe);Z in H?it(H[Z],(ee,{uuid:ce,componentGroup:ne})=>{var ie,de,fe,ye,Le,Re;let{data:oe,childData:re,children:Y}=ne,X=[{title:ne.title,assembly:(de=(ie=oe[ae])==null?void 0:ie[pe])==null?void 0:de[jr.ADDINTOBOM],alterDevice:(ye=(fe=oe[ae])==null?void 0:fe[pe])==null?void 0:ye[jr.DEVICE],displayTitle:(Re=(Le=oe[ae])==null?void 0:Le[pe])==null?void 0:Re[jr.DEVICE],uuid:ce,path:ae,symbolId:pe,source:jye(ne)}];q.push({uniquePath:Sd(ae,pe,ne.uuid),component:te,customComponentGroup:X}),it(Y,(Ne,{uuid:Te,zIndex:Pe})=>{var ze,He,Ye,ke,Be,Xe;let Oe=re[Te],Ue=Oe.data,Ve=[{title:Oe.title,assembly:(He=(ze=Ue[ae])==null?void 0:ze[pe])==null?void 0:He[jr.ADDINTOBOM],alterDevice:(ke=(Ye=Ue[ae])==null?void 0:Ye[pe])==null?void 0:ke[jr.DEVICE],displayTitle:(Xe=(Be=Ue[ae])==null?void 0:Be[pe])==null?void 0:Xe[jr.DEVICE],uuid:Te,path:ae,symbolId:pe,source:jye(Oe)}];q.push({uniquePath:Sd(ae,pe,Oe.uuid),component:te,customComponentGroup:Ve})})}):q.push({uniquePath:Sd(ae,pe),component:te,customComponentGroup:[{title:"notGroup",assembly:"notGroup",alterDevice:"",displayTitle:"",uuid:"notGroup",path:ae,symbolId:pe,source:c("Not Grouping")}]})})}return q},v=()=>{let Q={},H=[];if((i==null?void 0:i.type)==="customGroup"){let q=ri.getCurrentNlSymbol(),U=ri.getComponentGroup(i.uuid);if(U){let{data:F,children:K,childData:te}=U;it(F,(ae,pe)=>{it(pe,(Z,ee)=>{let ce=Sd(ae,Z);En(Q,ce).push({componentGroup:U,uuid:U.uuid})})}),it(q,(ae,pe)=>{let{path:Z,symbolId:ee}=pe,ce=Sd(Z,ee);ce in Q&&it(Q[ce],(ne,{uuid:oe,componentGroup:re})=>{var X,ie,de,fe,ye,Le;let Y=[{title:re.title,assembly:(ie=(X=F[Z])==null?void 0:X[ee])==null?void 0:ie[jr.ADDINTOBOM],alterDevice:(fe=(de=F[Z])==null?void 0:de[ee])==null?void 0:fe[jr.DEVICE],displayTitle:(Le=(ye=F[Z])==null?void 0:ye[ee])==null?void 0:Le[jr.DEVICE],uuid:oe,path:Z,symbolId:ee}];it(K,(Re,{uuid:Ne,zIndex:Te})=>{var Ue,Ve,ze,He,Ye,ke;let Pe=te[Ne],Oe=Pe.data;Y.push({title:Pe.title,assembly:(Ve=(Ue=Oe[Z])==null?void 0:Ue[ee])==null?void 0:Ve[jr.ADDINTOBOM],alterDevice:(He=(ze=Oe[Z])==null?void 0:ze[ee])==null?void 0:He[jr.DEVICE],displayTitle:(ke=(Ye=Oe[Z])==null?void 0:Ye[ee])==null?void 0:ke[jr.DEVICE],uuid:Ne,path:Z,symbolId:ee})}),H.push({uniquePath:Sd(Z,ee),component:pe,customComponentGroup:Y})})})}}return H},k=()=>{let Q={},H=[],q=[],U=ri.componentGroupSelectAllData,F=new Set;if(it(U,(K,te)=>{te.parent?F.add(te.parent):F.add(te.uuid)}),F.size>1?q=[U]:q=ri.componentGroupSelectAllData,(i==null?void 0:i.type)==="customChildGroup"){let K=ri.getCurrentNlSymbol();it(q,(te,ae)=>{let pe=ri.getComponentGroup(ae.uuid);if(pe){let Z=ene(pe.uuid);it(Z,(ee,ce)=>{it(ce,(ne,oe)=>{let re=Sd(ee,ne);En(Q,re).push({componentGroup:pe,uuid:pe.uuid})})})}}),it(K,(te,ae)=>{let{path:pe,symbolId:Z}=ae,ee=Sd(pe,Z);if(ee in Q){let ce=[];it(Q[ee],(ne,{uuid:oe,componentGroup:re})=>{var X,ie,de,fe,ye,Le;let Y=re.data;ce.push({title:re.title,assembly:(ie=(X=Y[pe])==null?void 0:X[Z])==null?void 0:ie[jr.ADDINTOBOM],alterDevice:(fe=(de=Y[pe])==null?void 0:de[Z])==null?void 0:fe[jr.DEVICE],displayTitle:(Le=(ye=Y[pe])==null?void 0:ye[Z])==null?void 0:Le[jr.DEVICE],uuid:oe,path:pe,symbolId:Z})}),H.push({uniquePath:Sd(pe,Z),component:ae,customComponentGroup:ce})}})}return H},P=()=>srn(i),O=()=>lrn(i),_=()=>{let Q=ri.getCurrentNlSymbol(),H=[],q={};if((i==null?void 0:i.type)==="referVariant"){let U=ene(i.uuid);U&&(it(U,(F,K)=>{it(K,(te,ae)=>{let pe=Sd(F,te),Z=ri.getComponentGroup(i.uuid);Z&&En(q,pe).push({componentGroup:Z,uuid:i.uuid})})}),it(Q,(F,K)=>{let{path:te,symbolId:ae}=K,pe=Sd(te,ae);pe in q&&it(q[pe],(Z,{uuid:ee,componentGroup:ce})=>{var oe,re,Y,X,ie,de;let ne=ene(ee);ne&&H.push({uniquePath:Sd(te,ae,ce.uuid),component:K,variant:[{title:ce.title,assembly:(re=(oe=ne[te])==null?void 0:oe[ae])==null?void 0:re[jr.ADDINTOBOM],alterDevice:(X=(Y=ne[te])==null?void 0:Y[ae])==null?void 0:X[jr.DEVICE],displayTitle:(de=(ie=ne[te])==null?void 0:ie[ae])==null?void 0:de[jr.DEVICE],uuid:ee,source:jye(ce),path:te,symbolId:ae}]})})}))}return H};(0,tS.useEffect)(()=>{let Q=[];if(!t)p(Q);else{let H=ri.getCurrentNlSymbol();if(!i)it(H,(q,U)=>{Q.push({uniquePath:Sd(U.path,U.symbolId),component:U})}),p(Q);else{let{type:q}=i;switch(q){case"basis":{it(H,(U,F)=>{Q.push({uniquePath:Sd(F.path,F.symbolId),component:F})}),p(Q);break}case"componentGroup":{p(R);break}case"notGroup":{p(N);break}case"customChildGroup":{p(k);break}case"customGroup":{p(v);break}case"variant":{p(O);break}case"customVariant":{let U=ri.variantSelectedAllData;U.length>1&&zDe(U)?p(O):p(P);break}case"referVariant":{let U=ri.variantSelectedAllData;U.length>1&&zDe(U)?p(P):p(_);break}}}}},[t,m,i,o==null?void 0:o[t],a==null?void 0:a[t],e==null?void 0:e[t],s==null?void 0:s[t],l]),(0,tS.useEffect)(()=>{ri.variantListTableRows=u},[u]);let j=(0,tS.useCallback)(async(Q,H)=>{H.stopPropagation(),H.preventDefault(),pl.open({menuConfig:E7o(Q,H),position:{x:H.pageX-5,y:H.pageY-5},menuClickCallback:q=>{let{id:U}=q;switch(U){case"invertSelection":f.current.revertSelect();break}}})},[]),B=Q=>{let{allSelectedRowIndexValues:H,tableData:q}=Q,U=[];it(q,(K,te)=>{H.has(te.uniquePath)&&U.push(te)}),ri.variantListSelectAllData=U;let F={};it(U,(K,{component:te})=>{let{symbolId:ae,path:pe}=te,Z=Fp(pe);En(F,Z).push(ae)}),it(F,(K,te)=>{fg(K)&&C.messageBus.publish("sch/selectWithShowCrossCursorByIds",{ids:te,tabId:K})}),C.messageBus.publish("sch/renderPropertyPanel",{target:F,docType:1})},[V,G]=(0,tS.useState)(0);return(0,tS.useEffect)(()=>{let Q=document.querySelector("#assembly-variant-page");Q&&window.getComputedStyle(Q).display!=="none"&&G(()=>document.querySelector("#assembly-variant-page").clientHeight-g.current.offsetTop-10);let H=new ResizeObserver(q=>{requestAnimationFrame(()=>{let U=document.querySelector("#assembly-variant-page");U&&window.getComputedStyle(U).display!=="none"&&G(()=>document.querySelector("#assembly-variant-page").clientHeight-g.current.offsetTop-10)})});return H.observe(document.querySelector("#assembly-variant-page")),()=>{H.unobserve(document.querySelector("#assembly-variant-page"))}},[]),(0,_x.jsx)("div",{style:{width:"100%",height:V+"px"},ref:g,children:(0,_x.jsx)(xi,{name:"assemblyVariant",index:"uniquePath",rows:u,ref:f,columns:E,height:V,headHeight:50,resize:!1,border:!0,searchValue:ri.searchValue,fixedHeader:!0,onClick:B,onContextMenu:j,openVirtualScroll:!0,moveAble:!0})})};async function k7o(){let t={},e=null,i=ri.variantListTableRows.map(r=>r.uniquePath),o=ri.variantListSelectAllData.filter(r=>i.includes(r.uniquePath));if((o==null?void 0:o.length)===0)return!1;it(o,(r,n)=>{let{uniquePath:a}=n,[s,l,...c]=a.split("|"),d=Fp(s);e||(e=d),En(t,d).push(l)}),await Ro(t,async(r,n)=>{let a=await he.getTabIFrame(r);a?r!==he.getActiveTab()&&await C.messageBus.rpcCall("handleOpenedSch",{tabId:r}):(await yn({tabId:r}),a=await he.getTabIFrame(r)),C.messageBus.publish("sch/selectWithShowCrossCursorByIds",{ids:n,tabId:r})}),C.messageBus.publish("sch/renderPropertyPanel",{renderUI:!0})}async function P7o(){let i=`\u88C5\u914D\u53D8\u91CF_${(await C.messageBus.rpcCall("getSchData",[])).message.filter(g=>g.schId===ri.currentSchematicId)[0].schName||ri.currentSchematicId}`,o=new kp({name:i}),{sortVariantData:r,sortComponentGroupData:n,currentSchematicId:a}=ri,s=[{header:"Variation Name",key:"variantName",width:30},{header:"Group Name",key:"groupName",width:30},{header:"Sub Group Name",key:"subGroupName",width:30}],l=r[a],c=n[a],d=ri.getCurrentNlSymbolByUniquePath(),u=o.addSheet("Variation",{columns:s}),p=[];it(l,(g,b)=>{let{title:y,childComponentGroupData:w,componentGroupChildren:x,notGrouped:S}=b,T=y;p.push([T,"",""]),S&&p.push([T,me.i18n("Not Grouping"),""]),it(x,(M,{uuid:I})=>{let A=w[I],{parent:D,title:E}=A,N=E,R="";D&&(N=c.filter(v=>v.uuid===D)[0].title,R=E),p.push([T,N,R])})}),o.addRowsToSheet(u,p);let m=[{header:"Variation Name",key:"variantName",width:30},{header:"Group Name",key:"groupName",width:30},{header:"Sub Group Name",key:"subGroupName",width:30},{header:"Designator",key:"designator",width:30},{header:"Add into BOM",key:"addIntoBom",width:30}],h=o.addSheet("Group",{columns:m}),f=[];it(c,(g,b)=>{let{title:y,children:w,childData:x,data:S}=b,T=y;f.push(["",T,"","",""]),it(S,(M,I)=>{it(I,(A,D)=>{let E=Sd(M,A),N=d[E];if(N){let R=N.designator,v="";jr.ADDINTOBOM in D&&(v=D[jr.ADDINTOBOM]),f.push(["",T,"",R,v])}})}),it(w,(M,{uuid:I})=>{let A=x[I],{title:D,data:E}=A;f.push(["",T,D,"",""]),it(E,(N,R)=>{it(R,(v,k)=>{let P=Sd(N,v),O=d[P];if(O){let _=O.designator,j="";jr.ADDINTOBOM in k&&(j=k[jr.ADDINTOBOM]),f.push(["",T,D,_,j])}})})})}),it(l,(g,b)=>{let{data:y}=b.componentGroup;it(y,(w,x)=>{it(x,(S,T)=>{let M=Sd(w,S),I=d[M];if(I){let A=I.designator,D="";jr.ADDINTOBOM in T&&(D=T[jr.ADDINTOBOM]),f.push([b.title,"","",A,D])}})})}),o.addRowsToSheet(h,f),o.exportFile()}var Olt=(t,e)=>`${t}$_$${e}`;async function R7o(){let t=[".xlsx"];new DC(t.join(","),async e=>{let i=e[0];if(!i)return Ut({type:"warn",message:"Please open a file first."});let o={name:i.name,creator:"jlceda",lastModifiedBy:i.lastModified,created:new Date},r=new kp(o),n=new FileReader;n.readAsArrayBuffer(i),n.onload=async a=>{await r.workbook.xlsx.load(a.target.result);let l=r.workbook.worksheets,c=[],d=[],u=null,p=null;if(it(l,(m,h)=>{h.name==="Variation"?u=h:h.name==="Group"&&(p=h)}),p&&u){let{groupIndex:m,variantIndex:h,groupTreeResult:f}=drn(p);c=crn(u,m,h),d=f;let b=ri.getCurrentNlSymbol(),y=prn(b);urn(d,c,y)}else De({type:"error",msg:"Missing the following sheets",bottomBarMsg:{type:"error",msg:Ti("Missing the following sheets")+`: ${!p&&"Group"}${p?"":"\u3001"}${!u&&"Variation"}`},timer:3}),console.error("\u56FE\u9875\u7F3A\u5931\uFF1A",!p&&"Group",!u&&"Variation")}},(e,i)=>Ut({type:"warn",message:e,params:i}))}function crn(t,e,i){let o=[],r={},n=null,a=null,s=null;return t.eachRow((l,c)=>{if(!(c<=1)){for(let d=1;d<=l.cellCount;d++){let u=l.getCell(d);if(u&&u.value){let p=u.value;switch(d){case 1:n=p;break;case 2:a=p;break;case 3:s=p;break}}}if(n in r){let d=r[n];if(!s&&a)if(["\u672A\u5F52\u7EC4","Not Grouping"].includes(a))d.notGrouped=!0;else{let u=e[a];d.child.push(u)}else if(s&&a){let u=e[Olt(a,s)];d.child.push(u)}s=null,a=null}else{let d=lO(r,n,()=>{var p;let u=((p=i==null?void 0:i[n])==null?void 0:p.data)||{};return{title:n,child:[],data:u,notGrouped:!1}});o.push(d)}}}),o}function drn(t){let e={},i={},o=[],r=(n,a="")=>({title:n,parent:a,data:{},child:[]});return t.eachRow((n,a)=>{if(a<=1)return;let s=null,l=null,c=null,d="",u="";for(let p=1;p<=n.cellCount;p++){let m=n.getCell(p);if(m!=null&&m.value&&typeof m.value=="string"){let h=m.value;switch(p){case 1:s=h;break;case 2:l=h;break;case 3:c=h;break;case 4:d=h;break;case 5:u=h;break}}}if(l){let p=lO(e,l,()=>{let h=r(l);return o.push(h),h}),m=null;c?(c in e?m=e[c]:(m=lO(e,Olt(l,c),()=>r(c,l)),p.child.push(m)),d&&(m.data[d]=u)):d&&(p.data[d]=u)}if(s){let p=lO(i,s,()=>r(s));d&&(p.data[d]=u)}}),{groupIndex:e,variantIndex:i,groupTreeResult:o}}function O7o(t){t==null&&(t="");let e=t.split("_"),i=e.length-1,o=e[i];return e.length===1||isNaN(Number(o))?`${t}_1`:/^_+$/gim.test(t)?`${t}_1`:(e[i]=(Number(o)+1).toString(),e.join("_"))}async function urn(t,e,i){let o={},r=[],n=[],a={},s={},l=ri.currentSchematicId,c=H0("","max",1),d=H0("","max",0),u=qJ(l),p=uH(l),m=[],h=[];await Ro(t,async(g,b)=>{let{title:y,child:w,data:x}=b,S=y;for(;u.includes(S)||m.includes(S);)S=O7o(S);m.push(S);let{result:T,errNlSymbol:M}=cWt(x,i);c++;let I="";M.length>0&&(a[y]=M);let A=(await C.messageBus.rpcCall($e.COMPONENT_GROUP.ADD,[{title:S,schematicId:l,zIndex:c,data:T},C.currentProject.projectId])).message;A.success?(I=A.result.uuid,o[y]=I):(n.push(y),console.error("\u65B0\u5EFAgroup\u5931\u8D25"));let D=[];await Ro(w,async(E,N,R)=>{var V;let{title:v,child:k,data:P}=N,O=R+1,{result:_,errNlSymbol:j}=cWt(P,i);j.length>0&&(a[v]=j);let B=(await C.messageBus.rpcCall($e.COMPONENT_GROUP.ADD,[{title:v,schematicId:l,zIndex:O,parent:I,data:_},C.currentProject.projectId])).message;if(B.success){let G=((V=B.result)==null?void 0:V.uuid)||"";o[Olt(y,v)]=G,D.push({uuid:G,zIndex:O})}else n.push(v),console.log("\u65B0\u5EFA\u5B50group\u5931\u8D25")})});let f=[];await Ro(e,async(g,b)=>{let{title:y,child:w,data:x,notGrouped:S}=b,T=y;for(;p.includes(T)||h.includes(T);)T=O7o(T);h.push(T);let{result:M,errNlSymbol:I}=cWt(x,i);d++,I.length>0&&(s[y]=I);let A=(await C.messageBus.rpcCall($e.VARIANT.ADD,[{title:T,schematicId:l,zIndex:d,data:M},C.currentProject.projectId])).message;if(A.success){let D=A.result.uuid;it(w,(E,N,R)=>{let v=N.parent?Olt(N.parent,N.title):N.title,k=o[v];k&&f.push({groupId:k,variantId:D,zIndex:R+1})}),S&&((await C.messageBus.rpcCall($e.VARIANT.UPDATE_NOT_GROUPED,[{uuid:D,notGrouped:!0},C.currentProject.projectId])).message.success?console.log(`\u53D8\u4F53 ${T} -  ${D}  \u65B0\u589E\u672A\u5F52\u7EC4\u6210\u529F`):console.error(`\u53D8\u4F53 ${T} -  ${D}  \u65B0\u589E\u672A\u5F52\u7EC4\u5931\u8D25`))}else r.push(y),console.error("\u5BFC\u5165\u53D8\u4F53\u5931\u8D25\uFF1A",y);I.length>0}),f.length>0&&((await C.messageBus.rpcCall($e.COMPONENT_GROUP.BATCH_UPLOAD_VARIANT_INDEX,[f,C.currentProject.projectId])).message.success?console.log("\u65B0\u589E\u5F15\u7528\u53D8\u4F53 \u6392\u5E8F\u6210\u529F"):console.error("\u65B0\u589E\u5F15\u7528\u53D8\u4F53 \u6392\u5E8F\u5931\u8D25")),r.length>0&&t2({type:"error",msg:Ti("Varaint Import failed:")+r.join("\u3001")}),n.length>0&&t2({type:"error",msg:Ti("Component Group Import failed:")+n.join("\u3001")}),it(a,(g,b)=>{t2({type:"warn",msg:Ti("Components not found in Component Group {componentGroup}: {component}",{params:{componentGroup:g,component:b.join("\u3001")}})})}),it(s,(g,b)=>{t2({type:"warn",msg:Ti("Components not found in Variant {variant}: {component}",{params:{variant:g,component:b.join("\u3001")}})})})}function cWt(t,e){let i={},o=[];return it(t,(r,n)=>{let a=e[r];if((a==null?void 0:a.length)>0){let{path:s,allPath:l,symbolId:c}=a[0];l.length>1?it(l,(d,{path:u,symbolId:p})=>{Cs(i,u)[p]=n?{[jr.ADDINTOBOM]:n}:{}}):Cs(i,s)[c]=n?{[jr.ADDINTOBOM]:n}:{}}else o.push(r),console.error("\u672A\u5339\u914D\u5230\u5BF9\u5E94\u7684symbol:",r)}),{result:i,errNlSymbol:o}}function prn(t){let e={};return it(t,(i,o)=>{let{designator:r}=o;En(e,r).push(o)}),e}var ub=L(z()),Ete=be.bind(uWt.default.locals),_7o=t=>{var b;let{schematicId:e,needUpdateTabName:i}=t;Ae(uWt.default);let o=J(),{currentSchematicId:r,displayVariantComponent:n}=ri;Ce(ri);let[a,s]=(0,vF.useState)([]),[l,c]=(0,vF.useState)(r||null),[d,u]=(0,vF.useState)({curNum:0,totalNum:0}),[p,m]=(0,vF.useState)("");(0,vF.useEffect)(()=>{e&&(async()=>{let w=[],x=(await C.messageBus.rpcCall("getSchData",[])).message;it(x,(M,I)=>{w.push({text:I.schName,value:I.schId,icon:"icon-eda-schematic icon-color-blue"})}),s(w);let S=e||w[0].value;c(S),ri.currentSchematicId=S;let T=w.filter(M=>M.value===S)[0];he.setTabText(cf,`${(T==null?void 0:T.text)||""}_${o("Assembly Variants")}`)})()},[e]),(0,vF.useEffect)(()=>{c(r)},[r]);let h=ri.currentSchematicId;if(a&&h&&i){let y=a.filter(w=>w.value===h)[0];he.setTabText(cf,`${(y==null?void 0:y.text)||""}_${o("Assembly Variants")}`)}(0,vF.useEffect)(()=>{let y=C.messageBus.subscribe("ASTUpdate",async()=>{if(ri.currentSchematicId){let S=(await C.messageBus.rpcCall("getSchData",[])).message,T=[];await Ro(S,async(I,A)=>{let D=A.schId;T.push({text:A.schName,value:A.schId,icon:"icon-eda-schematic icon-color-blue"});let E=(await C.messageBus.rpcCall("getAssemblyVariantNlsymbols",D)).message;ri.updateAssemblyNlSymbol(D,E)}),s(T);let M=T.filter(I=>I.value===ri.currentSchematicId)[0];he.setTabText(cf,`${(M==null?void 0:M.text)||""}_${o("Assembly Variants")}`)}}),w=C.messageBus.subscribe(tT.VARIANT.ON_UPDATE_TITLE,S=>{let{schematicId:T,uuid:M,title:I,description:A}=S;ri.updateVariantTitle(T,M,I,A)}),x=C.messageBus.subscribe(tT.VARIANT.ON_UPDATE_COMPONENT_GROUP_TITLE,S=>{let{schematicId:T,uuid:M,title:I}=S;ri.updateComponentTitle(T,M,I)});return()=>{y.cancel(),w.cancel(),x.cancel()}},[]),(0,vF.useEffect)(()=>{let y=C.messageBus.subscribe("assembly_alterDevice",w=>{let x=ri.alterModifyNode,S={},T={},M=[];it(x,(D,E)=>{var k,P;let{groupId:N,path:R,eId:v}=E;if(N!=="notGroup"){let O=ri.getComponentGroup(N),_=((P=(k=O==null?void 0:O.data)==null?void 0:k[R])==null?void 0:P[v])||{},j=Cs(S,N),B=Cs(T,N);Cs(B,R)[v]=_,Cs(j,R)[v]=Object.assign({},_,{[jr.DEVICE]:(w==null?void 0:w.uuid)||""})}else M.push(E)});let I=[],A=[];it(S,(D,E)=>{let N=C.messageBus.rpcCall($e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,[{uuid:D,data:E},C.currentProject.projectId]).then(R=>{I.push([$e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,{uuid:D,data:E},$e.COMPONENT_GROUP.UPLOAD_ATTR_DATA,{uuid:D,data:T[D]}]),console.log(R)});A.push(N)}),M.length>0&&De({type:"error",msg:"Not Grouping components cannot be set assigned alternative components",bottomBarMsg:{type:"error",msg:Ti("Not Grouping components cannot be set assigned alternative components")+`: ${M.map(D=>D.designator).join("\u3001")}`},timer:3}),Promise.allSettled(A).then(()=>{Zs.save(I)})});return()=>{y.cancel()}});let f=async()=>{let y=ri.componentGroupSelectAllData.filter(x=>["customGroup","customChildGroup","notGroup"].includes(x.type));if(y.length<1)return new Fi({type:"warn",msg:"Please select the group to add to the variant."}),!1;let w=ri.variantSelectedAllData.filter(x=>x.type==="customVariant");if(w.length<1)return new Fi({type:"warn",msg:"Pre-select the variants to join."}),!1;w.length>0&&y.length>0&&await Ro(w,async(x,S)=>{var D;let T=S.uuid,M=((D=S.children[S.children.length-1])==null?void 0:D.zIndex)||1,I=[],A=null;if(it(y,(E,N)=>{N.uuid!=="notGroup"?I.push({groupId:N.uuid,variantId:T,zIndex:M++}):A=N}),I.length>0){let E=(await C.messageBus.rpcCall($e.COMPONENT_GROUP.BATCH_UPLOAD_VARIANT_INDEX,[I,C.currentProject.projectId])).message;if(E.success){let N=I.map(R=>({groupId:R.groupId,variantId:R.variantId}));Zs.save([[$e.COMPONENT_GROUP.BATCH_UPLOAD_VARIANT_INDEX,I,$e.COMPONENT_GROUP.BATCH_DELETE_VARIANT_INDEX,N]]),new Fi({type:"success",msg:"Execution Successful!"})}else console.error(E.message),new Fi({type:"error",msg:"Execution Failed!"})}if(A){let E=(await C.messageBus.rpcCall($e.VARIANT.UPDATE_NOT_GROUPED,[{uuid:T,notGrouped:!0},C.currentProject.projectId])).message;E.success?(Zs.save([[$e.VARIANT.UPDATE_NOT_GROUPED,{uuid:T,notGrouped:!0},$e.VARIANT.UPDATE_NOT_GROUPED,{uuid:T,notGrouped:!1}]]),new Fi({type:"success",msg:"Execution Successful!"})):(console.error(E.message),new Fi({type:"error",msg:"Execution Failed!"}))}})},g=y=>{m(y),ri.searchValue=y};return(0,ub.jsxs)("div",{style:{width:"100%",height:"100%",boxSizing:"border-box",padding:"10px",overflow:"auto"},children:[(0,ub.jsx)(aFe,{}),(0,ub.jsxs)("div",{className:Ete("variant_container"),children:[(0,ub.jsxs)("div",{className:Ete("variant_left_page"),children:[(0,ub.jsx)(xt,{className:Ete("selectList"),containerStyle:{width:"100%",height:"24px",marginBottom:"8px"},list:a,value:l,valueIcon:"icon-eda-schematic icon-color-blue",onChange:(y,w)=>{c(y),ri.currentSchematicId=y;let x=a.filter(S=>S.value===y)[0];he.setTabText(cf,`${(x==null?void 0:x.text)||""}_${o("Assembly Variants")}`)}}),(0,ub.jsx)(p7o,{}),(0,ub.jsx)(Me,{type:"primary",style:{margin:"8px 0"},id:"joinVariant",onClick:f,dataTest:"Join In Selected Variant",disabled:Er(),children:o("Join In Selected Variant")}),(0,ub.jsx)(g7o,{})]}),(0,ub.jsxs)("div",{className:Ete("variant_right_page"),children:[(0,ub.jsxs)("div",{className:Ete("right_top"),children:[(0,ub.jsx)("div",{className:Ete("right_top_left"),children:(0,ub.jsx)(i4,{value:p,placeholder:o("Search"),onChange:g,enterTriggerBlur:!0,hasClearButton:!0,style:{height:"24px",borderColor:"#9bd"}})}),(0,ub.jsxs)("div",{className:Ete("right_top_right"),children:[(0,ub.jsx)(Me,{size:"md",style:{marginRight:"8px",height:"24px",lineHeight:"24px"},onClick:y=>{P7o()},dataTest:"Export",disabled:(b=Gu.getDisableCmdStore("exportBOM"))==null?void 0:b.value,children:o("Export")}),(0,ub.jsx)(Me,{size:"md",style:{height:"24px",lineHeight:"24px"},onClick:y=>{R7o()},dataTest:"Import",disabled:Er(),children:o("Import")})]})]}),(0,ub.jsx)("div",{className:Ete("right_bottom"),children:(0,ub.jsx)(N7o,{})})]})]})]})},Bye=null,Mlt=(t,e,i=window,o=!0)=>{wte.belongContainer=t;let r=It.containerInfo[t].domRect,n=i.document.querySelector("#assembly-variant-page");if(ri.currentSchematicId=e,kL({crossProbe:!1}),n)n.style.position="fixed",n.style.display="block",n.style.width=r.width+"px",n.style.height=r.height+"px",n.style.left=r.left+"px",n.style.top=r.top+"px",Bye||(Bye=dWt.default.createRoot(n)),Bye.render((0,ub.jsx)(_7o,{schematicId:e,needUpdateTabName:!0}));else{let s=i.document.querySelector(`#${KJ}`),l=i.document.createElement("div");l.id=KJ,l.style.position="absolute",l.style.left="0px",l.style.width="100%",l.style.height=r.height+"px",l.style.overflow="hidden",l.style.zIndex="1",s.appendChild(l),Bye||(Bye=dWt.default.createRoot(n)),Bye.render((0,ub.jsx)(_7o,{schematicId:e,needUpdateTabName:!0}))}It.setActiveTab({containerId:he.getTabContainer(cf)||t,tabId:cf,isActive:o}),$J(Zs.canUndo(),Zs.canRedo());let a=()=>{he.getActiveTab()!==cf&&he.simulateClick(cf,!0)};n.removeEventListener("pointerdown",a),n.addEventListener("pointerdown",a),C.messageBus.publish("attrFnToggleProperty","Property")},j7o=()=>{let t=$8o(),e=gi(),i=ol(e)?e.split("_")[0]:fne();if(t){he.setTabActive(cf);let o=he.getTabContainer(t.tabId);Mlt(o,i)}else{let o=he.getTabContainer(gi());he.createTab(cf,se.ASSEMBLY_VARIANT,"Assembly Variant","Assembly Variant",{}),Mlt(o,i)}};var tce=L(Se());var mWt=L(Rlt());var J7o=L(Se());var pWt=L(Rlt());var pb=L(z()),q7o=t=>{let{version:e,childVersions:i}=t,o=()=>{let[a,s]=(0,J7o.useState)(!1);return(0,pb.jsxs)(pb.Fragment,{children:[(0,pb.jsx)(qt,{checked:a,style:{float:"left"},onChange:()=>{s(!a)},children:"I got it, continue to delete."}),(0,pb.jsxs)("div",{children:[(0,pb.jsx)(Me,{size:"md",type:"primary",disabled:!a,onClick:async()=>{let l=C.currentProject.projectId,d=(await Pr.getVersion()).uuid,u=[e.uuid,...i.map(f=>f.uuid)],p=[];for(let f=0;f<u.length;f++){let g=(await C.messageBus.rpcCall(Ei.BRANCH.DELETE,{uuid:l,branchUuid:u[f]})).message;p.push(g)}let m=[];if((await Promise.all(p)).forEach(f=>{f.success||(De({type:"error",msg:f.message}),m.push(f.message))}),m.length>0){le.close(n);return}else{if(Jv(l,e,!0),i.forEach(f=>Jv(l,f,!0)),De({type:"success",msg:"successfully deleted!"}),le.close(n),d===e.uuid||i.find(f=>f.uuid===d)){let f=Rl.tableData.find(b=>b.default),g=C.currentProject.projectId;Jv(g,f),await V5e(!1,g,f)}Rl.update()}},children:"Delete"}),(0,pb.jsx)(Me,{style:{marginLeft:"5px"},size:"md",onClick:()=>{le.destroy(n)},children:"Cancel"})]})]})},n=Dt({height:240,title:"Warning",content:(0,pb.jsx)(()=>{let{locals:a}=pWt.default;Ae(pWt.default);let s=be.bind(a),l=J();return(0,pb.jsxs)("div",{children:[(0,pb.jsx)("div",{children:l("You are trying to delete a version, so be careful!")}),(0,pb.jsxs)("div",{children:[(0,pb.jsxs)("span",{className:s(""),children:[l("Version"),":"]}),(0,pb.jsx)("span",{className:s("delete-version"),children:e.name})]}),i.length?(0,pb.jsxs)("div",{children:[(0,pb.jsxs)("span",{children:[l("Subversion"),":"]}),i.map((c,d)=>(0,pb.jsxs)("span",{className:s("delete-version"),children:[c.name,d===i.length-1?"":", "]}))]}):(0,pb.jsx)(pb.Fragment,{})]})},{}),footer:(0,pb.jsx)(o,{}),closed:!0,esc:!0,footerStyle:{display:"flex",justifyContent:"space-between"}})};var zn=L(z());function Mrn(t){let{locals:e}=mWt.default;Ae(mWt.default);let i=be.bind(e),o=J(),[r,n]=(0,tce.useState)(Rl.selectRow);Ce(Rl),Ce(Pr);let a=zi.getProjectPermissionCache(C.currentProject.projectId),s=zi.getIsProjectReadOnly(!0)&&(C.archive||C.store),l=wi||!s&&!!zi.hasPermission(a,Io.Branch_Adding),c=wi||!s&&!!zi.hasPermission(a,Io.Branch_Delete),d=wi||!s&&!!zi.hasPermission(a,Io.Branch_Updating),u=j=>{let B=j.row;n(B.uuid),Rl.selectRow=B.uuid},p=hWt(),m=[{key:"uuid",name:o("Version Tree"),width:213+Math.max(p,t.size),fixedWidth:!0,render:j=>{let{row:B,tableData:V}=j,G=r===B.uuid;return(0,zn.jsx)(M,{tableData:V,rowData:B,select:G})}},{key:"versionName",name:o("Version Name"),width:223.5,render:j=>{let{row:B}=j,{name:V,node:G,creator_nickname:Q,created_at:H,uuid:q}=B,U=r===q;return(0,zn.jsx)(I,{name:V,type:G,active:B.default,current:V===Pr.name,creator:Q,createTime:H,select:U})}},{key:"description",name:o("Description"),width:142.5,render:j=>{let{row:B}=j,V=r===B.uuid;return(0,zn.jsx)(A,{description:B.description,select:V})}},{key:"lastUpdate",name:o("Last Update"),width:120,render:j=>{let{row:B}=j,{modifier_nickname:V,updated_at:G,uuid:Q}=B;return(0,zn.jsx)(D,{modifier:V,updated:G,select:r===Q})}},{key:"operation",name:o("Operation"),width:125,fixedWidth:!0,render:j=>{let{row:B}=j,V=r===B.uuid;return(0,zn.jsx)(E,{row:B,active:V})}}],h=Rl.tableData,f=Rl.maxCol,[g,b]=(0,tce.useState)("");g?h=h.filter(j=>j.name.indexOf(g)>-1):h=Rl.tableData,(0,tce.useEffect)(()=>{Pr.getVersion().then(j=>{n(j.uuid)})},[]);let y=()=>h.findIndex(j=>j.uuid==r);function w(j){return new Date(j).toLocaleString().replaceAll("/","-")}let x=new Array(h.length),S=new Map,T=null;function M(j){let{tableData:B,rowData:V,select:G}=j,Q=G?"branch-circle-select":"branch-circle",H=B.indexOf(V);if(T!=B[0].uuid&&(T=B[0].uuid,x=new Array(h.length),S=new Map),g){let{node:ce,isEnd:ne,isRoot:oe,color:re}=V,Y=V.default;return ne?(0,zn.jsx)("div",{className:i("end-node icon-node-end")}):oe?(0,zn.jsxs)("div",{className:i("root-node"),children:[(0,zn.jsx)("div",{className:i("root-row")}),(0,zn.jsx)("div",{className:i("root-col")})]}):ce?(0,zn.jsx)("div",{className:i("node-circle"),style:{backgroundColor:re}}):(0,zn.jsx)("div",{className:i(Q),style:{backgroundColor:re},children:(0,zn.jsx)("div",{className:i("current",{hidden:!Y}),style:{backgroundColor:re}})})}if(B.length!==h.length)return;let q=B.indexOf(V),{row:U,col:F,prevCol:K,node:te}=V,ae=x[q];if(!ae){let ce=x[q-1];ce?ae=JSON.parse(JSON.stringify(ce)):ae=new Array(f+1),x[q]=ae;let ne=S.get(U+1);ne&&(ne.forEach(re=>ae[re]=null),S.delete(U+1)),ae.forEach(re=>{re&&(re.rootRow=U+1)}),ae[F]?(ae[F].prevCol=K,ae[F].row=U,ae[F].data=V,ae[F].color=V.color):ae[F]={col:F,prevCol:K,rootRow:null,row:U,data:V,color:V.color}}let pe=[],Z=[];ae.forEach(ce=>{if(ce){let ne=ce.prevCol,oe=ce.col,re=ce.color;if(ne!=oe){let Y=ce.data.prevUuid,X=B.find(ie=>ie.uuid===Y);if(X.row+1==U&&pe.push({start:ce.prevCol,end:ce.col,color:re}),X.row===U){Z.push({start:ce.prevCol,end:ce.col,color:re});let ie=S.get(U);ie||S.set(U,ie=new Set),ie.add(oe)}}}});function ee(ce){let{node:ne,isEnd:oe,isRoot:re,name:Y}=ce.row;return oe?(0,zn.jsx)("div",{className:i("end-node icon-node-end")}):re?(0,zn.jsxs)("div",{className:i("root-node"),children:[(0,zn.jsx)("div",{className:i("root-row")}),(0,zn.jsx)("div",{className:i("root-col")})]}):ne?(0,zn.jsx)("div",{className:i("node-circle"),style:{backgroundColor:V.color}}):(0,zn.jsx)("div",{className:i(Q),style:{backgroundColor:V.color},children:(0,zn.jsx)("div",{className:i("current",{hidden:Pr.name!==Y}),style:{backgroundColor:V.color}})})}return(0,zn.jsx)("div",{className:i("row node-box"),children:new Array(f+1).fill(1,0,f+1).map((ce,ne)=>{let oe=ae[ne],re=oe==null?void 0:oe.data,Y=!!oe,X=!0,ie=!V.isRoot,de=!(V.isEnd||!oe);Y&&oe.rootRow==null&&!Z.find(Re=>Re.start===ne)&&(de=!1);let fe=S.get(U),ye=!1;if(Z.filter(Re=>(ne-Re.start>0&&ne-Re.end<0&&(ye=!0),ne-Re.start>=0&&ne-Re.end<=0)).length&&fe&&fe.has(ne)&&(Y=!0,X=!1),ye&&(Y=!0,X=!1,de=!0),re!=null&&re.free){let Re=B.length-1-H;Re<re.row&&(Y=!1),Re==re.row&&(de=!1,ie=!1)}return pe.find(Re=>ne-Re.start>=0&&ne-Re.end<=0?(ie=!0,Y=!0,ae[ne]||(X=!1),!0):!1),(0,zn.jsxs)("div",{className:i("version-node",{hidden:!Y}),style:{left:ne*20+"px"},children:[(0,zn.jsxs)("div",{className:i("connect-top",{invisible:!de}),children:[(0,zn.jsx)("div",{className:i("line-connct",{invisible:!X}),style:ae[ne]?{backgroundColor:ae[ne].color}:{}}),Z.map(Re=>{let{start:Ne,end:Te}=Re;if(ne===Ne)return(0,zn.jsx)("div",{className:i("line-corner2-1"),style:{borderColor:Re.color}});if(ne===Te)return(0,zn.jsx)("div",{className:i("line-corner-1"),style:{borderColor:Re.color}});if(ne>Ne&&ne<Te)return(0,zn.jsx)("div",{className:i("line-corner3-1"),style:{borderColor:Re.color}})})]}),(0,zn.jsx)("div",{className:i("node",{invisible:!X}),children:F==ne?(0,zn.jsx)(ee,{row:V}):(0,zn.jsx)("div",{className:i("node-connect"),style:ae[ne]?{backgroundColor:ae[ne].color}:{}})}),(0,zn.jsxs)("div",{className:i("connect-bottom",{invisible:!ie}),children:[(0,zn.jsx)("div",{className:i("line-connct",{invisible:!X||pe.findIndex(Re=>ne==Re.end)>=0}),style:ae[ne]?{backgroundColor:ae[ne].color}:{}}),pe.map(Re=>{let{start:Ne,end:Te}=Re;if(ne===Ne)return(0,zn.jsx)("div",{className:i("line-corner2"),style:{borderColor:Re.color}});if(ne===Te)return(0,zn.jsx)("div",{className:i("line-corner"),style:{borderColor:Re.color}});if(ne>Ne&&ne<Te)return(0,zn.jsx)("div",{className:i("line-corner3"),style:{borderColor:Re.color}})})]})]})})})}function I(j){let{type:B,name:V,active:G=!1,select:Q,creator:H,createTime:q,current:U=!1}=j,F=G?"default{branch}":B?"node":"branch",K=w(q);return(0,zn.jsxs)("div",{className:i("row",{select:Q}),title:`${me.i18n(F,{branch:""})}  ${V} ${H} ${K}`,children:[(0,zn.jsxs)("div",{className:i("version-title"),children:[(0,zn.jsx)("span",{className:i("branch-icon"),children:B?(0,zn.jsx)("span",{className:i("icon icon-node",{"icon-node-active icon-active":Q})}):G?(0,zn.jsx)("span",{className:i("icon icon-branch-default",{"icon-branch-default-active icon-active":Q})}):(0,zn.jsx)("span",{className:i("icon icon-branch",{"icon-branch-active icon-active":Q})})}),(0,zn.jsx)("span",{className:i("version-name"),children:V}),(0,zn.jsxs)("span",{className:i("",{hidden:!U}),children:["\xA0\xA0(",me.i18n("Current"),")"]})]}),(0,zn.jsxs)("div",{className:i("title-tip"),children:[(0,zn.jsx)("span",{children:H||""}),(0,zn.jsxs)("span",{children:["\xA0\xA0",K]})]})]})}function A(j){let{description:B,select:V}=j;return(0,zn.jsx)("div",{className:i("row",{select:V}),title:B,children:B})}function D(j){let{modifier:B,updated:V,select:G}=j,Q=w(V);return(0,zn.jsxs)("div",{className:i("row",{select:G}),title:!wi||Uw?`${B} ${Q}`:Q,children:[(0,zn.jsx)("div",{className:i("username"),children:B||""}),(0,zn.jsx)("div",{children:Q})]})}function E(j){let{row:B,active:V}=j,{node:G,uuid:Q,name:H,description:q,history_uuid:U}=B,F=G?"New Branch":"New Node",{canOpen:K,canCreate:te,canUpdate:ae,canDel:pe}=P(B);function Z(ee){switch(console.log(j),ee){case"open":B.isRoot||FDe(B,!0);break;case"new":{if(te){let ce=G?2:1;ZW({mode:ce,uuid:Q,historyUuid:U})}break}case"edit":{if(ae){let ce=G?4:5;ZW({mode:ce,uuid:Q,name:H,description:q})}break}case"del":N(B);break}}return(0,zn.jsxs)("div",{className:i("row operation"),children:[(0,zn.jsx)("span",{className:i("open"),title:o("Open in New Window"),onClick:()=>{Z("open")},children:(0,zn.jsx)("span",{className:i("operation-icon icon-open icon-size",{"operation-disable":!K,active:K&&V})})}),(0,zn.jsx)("span",{className:i("new"),title:o(F),onClick:()=>{Z("new")},children:(0,zn.jsx)("span",{className:i("operation-icon icon-size",{"operation-disable":!te,"icon-new-node":!G,"icon-new-branch":G,active:te&&V})})}),(0,zn.jsx)("span",{className:i("edit"),title:o("Edit"),onClick:()=>{Z("edit")},children:(0,zn.jsx)("span",{className:i("operation-icon icon-edit",{"operation-disable":!ae,active:ae&&V})})}),(0,zn.jsx)("span",{className:i("del"),title:o("Delete"),onClick:()=>{Z("del")},children:(0,zn.jsx)("span",{className:i("operation-icon icon-del icon-size",{"operation-disable":!pe,active:pe&&V})})})]})}function N(j){if(R(j)){let Q=function(H,q){H.filter(U=>U.parent_uuid===q).forEach(U=>{U.uuid!==B.uuid&&U.delete_status===0&&G.push(U),Q(H,U.uuid)})},B=j,V=Rl.lists,G=[];B.node&&Q(V,B.uuid),q7o({version:B,childVersions:G})}}function R(j){return!(!c||Rl.deleteLists.find(B=>B.uuid==j.uuid))}async function v(j){if(d){let B=C.currentProject.projectId,V=j.uuid,{name:G,description:Q}=j,H={name:G,description:Q,default:!0},q={method:"post",headers:new Headers({"Content-Type":"application/json"}),body:JSON.stringify(H)};(await C.messageBus.rpcCall(Ei.BRANCH.UPDATE,{uuid:B,branchUuid:V,name:G,description:Q,default:!0})).message.success?(Pr.switchVersion(Pr.version),De({type:"success",msg:"Modified successfully!"}),Rl.update()):De({type:"error",msg:"Modified failed!"})}}function k(j,B){let{canOpen:V,canCreate:G,canUpdate:Q,canDel:H}=P(j),q=[{title:me.i18n("Open in Current Window"),cmd:"open",disabled:!V},{title:me.i18n("Open in New Window"),cmd:"open-new",disabled:!V,iconClassName:i("icon-open")}],U=[];j.node?U.push({title:`${me.i18n("New Branch")}...`,cmd:"new branch",disabled:!G,iconClassName:i("icon-new-branch")}):U.push({title:`${me.i18n("New Node")}...`,cmd:"new node",disabled:!G,iconClassName:i("icon-new-node")}),!j.default&&!j.node&&U.push({title:me.i18n("Set As Default Editing Branch"),cmd:"default",disabled:j.default||j.node||!Q}),U.push({title:`${me.i18n("Edit")}...`,cmd:"edit",disabled:!Q,iconClassName:i("icon-edit")}),j.isRoot||U.push({title:`${me.i18n("Delete")}...`,cmd:"delete",disabled:!R(j),iconClassName:i("icon-del")}),Au.open({data:[...q,...U],position:{x:B.clientX,y:B.clientY},onClick(F){switch(F.cmd){case"open":Pr.switchVersion(j),FDe(j,!1);break;case"open-new":FDe(j,!0);break;case"new node":{G&&ZW({mode:1,uuid:j.uuid,historyUuid:j.history_uuid});break}case"new branch":{G&&ZW({mode:2,uuid:j.uuid,historyUuid:j.history_uuid});break}case"default":{v(j);break}case"edit":{if(Q){let K=j.node?4:5;ZW({mode:K,uuid:j.uuid,name:j.name,description:j.description})}break}case"delete":N(j);break}}})}function P(j){let{isRoot:B}=j,V=Je?!1:!!(l&&!B),G=!!(d&&!B),Q=c&&!B?R(j):!1;return{canOpen:!B,canCreate:V,canUpdate:G,canDel:Q}}let O=Pr.name,_=Rl.defaultLists.find(j=>j.default).name;return(0,zn.jsxs)("div",{className:i("dialog-border"),children:[(0,zn.jsx)("span",{className:i("search"),children:(0,zn.jsx)(Ws,{placeholder:"Filter",onConfirm:j=>{b(j)},onClearInputValue:()=>{b("")}})}),(0,zn.jsxs)("span",{className:i("current-message"),title:O,children:[o("Current Version"),": ",O]}),(0,zn.jsxs)("span",{className:i("current-message"),title:_,children:[o("Default Editing Version"),": ",_]}),(0,zn.jsxs)("div",{className:i("table"),children:[(0,zn.jsx)(xi,{index:"uuid",fixedHeader:!0,headerBorder:!0,height:500,selectedRowNumbers:[y()],width:824+t.size,columns:m,rows:h,onContextMenu:k,onClick:u}),(0,zn.jsx)("div",{className:i("search-empty",{hidden:h.length}),children:o("Search result is empty!")})]})]})}async function FDe(t,e){let i=C.currentProject.projectId;Jv(i,t),await V5e(e,i,t)}var X7o=tce.default.memo(Mrn);var $7o=L(Se());var eko=L(Rlt()),UDe=L(z());function Irn(){let{locals:t}=eko.default,e=be.bind(t),i=J();Ce(Rl);let o=Rl.tableData.find(a=>a.uuid==Rl.selectRow&&!a.isRoot),r=()=>{o&&(FDe(o,!1),n())},n=()=>{Rl.clear(),le.close(fWt)};return(0,UDe.jsxs)("div",{className:e("dialog-footer"),children:[(0,UDe.jsx)(Me,{type:o?"primary":"default",onClick:r,dataTest:"Open",children:i("Open")}),(0,UDe.jsx)(Me,{style:{marginLeft:10},onClick:n,dataTest:"Cancel",children:i("Cancel")})]})}var tko=$7o.default.memo(Irn);var gWt=L(z()),fWt="versionManagement";async function iko(){await Rl.update();let t=hWt();le.open({id:fWt,title:"Version Management",width:910+t,closed:!0,remove:!0,children:(0,gWt.jsx)(X7o,{size:t}),footer:(0,gWt.jsx)(tko,{}),onClose:()=>{Rl.clear()}})}function hWt(){let t=Rl.tableData,e=0;for(let o of t)e<o.col&&(e=o.col);let i=0;return e>9&&(i=20*(e-9)),i}var Lrn={new_PCB:["PCB"],new_footprint:["PCB"],new_schematic:["SCH"],new_schematicLib:["SCH"],new_Panel:["PANEL"],open_create_panel_lib_dialog:["PANEL"]},_lt=class t{static getInstance(){var e;return(e=this._instance)!=null?e:this._instance=new t}_missLicenseTip(e){new Fi({type:"warn",msg:{value:"Missing {it} License",options:{it:e}}})}checkCommand(e,i=!0){var r;let o=(r=Lrn[e])!=null?r:[];for(let n of o)switch(n){case"PCB":{if(!Eu)return i&&this._missLicenseTip(n),!1;break}case"SCH":{if(!Nl)return i&&this._missLicenseTip(n),!1;break}case"PANEL":{if(!Vw)return i&&this._missLicenseTip(n),!1;break}default:throw Error(`LicenseChecker.checkCommand: invalid license_mode ${n}`)}return!0}};async function jlt(t){let{devices:e,symbols:i,footprints:o,changeDeviceAttributes:r,templateMap:n}=t,a=[];e&&e.length&&(a=a.concat(e)),i&&i.length&&(a=a.concat(i)),o&&o.length&&(a=a.concat(o));let{message:s}=await C.messageBus.rpcCall($e.PROJECT.COMPRESS,[C.currentProject.projectId,{docIds:a}]);CC({dataStr:s,localTypes:["DEVICE","SYMBOL","FOOTPRINT"],changeDeviceAttributes:r,templateMap:n})}var _L=class _L{static init(){let e=mt.getKeyValue(_L.preferenceKey);typeof e!="boolean"&&mt.setCacheObj(_L.preferenceKey,e=!0),_L.setChecked(e)}static async setChecked(e){let i=_L.cmd;typeof e!="boolean"&&(e=!si.getMenuStore("mm-common-design").checkboxGroup[i].value),EJ(i).forEach(r=>{si.setMenuCheck(i,e,r.menuId,r==null?void 0:r.groupName)}),_L.isChecked=e,C.messageBus.publish("isCheckedCrossProbeMode",e)}static async setCheckedAndSave(e){_L.setChecked(e),mt.setCacheObj(_L.preferenceKey,_L.isChecked),C.messageBus.publish("sch/switchCrossProbeMode",_L.isChecked),await mt.saveToServer(!1)}};_L.isChecked=!1,_L.cmd="switchCrossProbeMode",_L.preferenceKey="isCheckedCrossProbeMode";var Ate=_L;var yWt=L(rko()),nko=L(Se());var xQ=L(z()),{locals:bWt}=yWt.default,ako="Simulation Netlist";function vrn(t){Ae(yWt.default);let{sourceCode:e,title:i}=t,[o,r]=(0,nko.useState)(e);return(0,xQ.jsxs)("div",{className:bWt.container,children:[(0,xQ.jsx)("div",{className:bWt.wrapper,children:(0,xQ.jsx)("textarea",{readOnly:!0,value:o,className:bWt.textarea,spellCheck:"false",autoComplete:"off"})}),(0,xQ.jsxs)("div",{style:{display:"flex",gap:5,justifyContent:"flex-end",marginTop:"10px"},children:[(0,xQ.jsx)(Me,{type:"primary",onClick:()=>Drn(o,i),children:"Download"}),(0,xQ.jsx)(Me,{onClick:()=>{le.close(ako)},children:"Cancel"})]})]})}function wWt(t){let{width:e,height:i}=e1e({width:1e3,height:600});le.open({id:ako,title:"Simulation Netlist",width:e,height:i,closed:!0,children:(0,xQ.jsx)(vrn,{...t}),footer:!1,esc:!0,openCallback(){}})}async function Drn(t,e){if(!t||t.trim().length===0){De({type:"error",msg:"Simulation Netlist is empty, cannot download"});return}let o=`${e.replace(/\s+/g,"-").substring(0,100)}.net`;try{let r=new Blob([t],{type:"text/plain"}),n=document.createElement("a");n.href=URL.createObjectURL(r),n.download=o,document.body.appendChild(n),n.click(),setTimeout(()=>{document.body.removeChild(n),URL.revokeObjectURL(n.href)},100),De({type:"success",msg:"Download successfully!"})}catch{De({type:"error",msg:"Download Failed!"})}}var CWt=class{constructor(){this._isStart=!1;this.maxRetries=3;this.retryInterval=1500}get isStart(){return this._isStart}set isStart(e){this._isStart=e}showToast(e,i){i==="info"||i==="success"?De({type:i,msg:e}):console.error(`${i.toUpperCase()}: ${e}`)}startIntervalTimer(e,i){return window.setInterval(e,i)}stopTimer(e){e!==void 0&&(clearInterval(e),this.checkTimer=void 0)}async connectToSimulationEngine(){let e=0,i=!1,o=await this.checkSimulationServer();return o.success?(this.showToast("The simulation engine is successfully connected!","success"),o.data):(this.launchSimulationApp(),this.showToast("Starting the simulation engine...","info"),new Promise((r,n)=>{let a=async()=>{e++;try{let s=await this.checkSimulationServer();if(s.success){this.stopTimer(this.checkTimer),this.showToast("The simulation engine is successfully connected!","success"),r(s.data);return}}catch(s){console.warn(`\u8FDE\u63A5\u5C1D\u8BD5\u5931\u8D25 (#${e}): ${s}`)}e>=this.maxRetries?(this.stopTimer(this.checkTimer),this.showToast("\u65E0\u6CD5\u8FDE\u63A5\u5230\u4EFF\u771F\u5F15\u64CE","error"),n(new Error("\u8FDE\u63A5\u5931\u8D25\uFF0C\u5DF2\u8FBE\u5230\u6700\u5927\u91CD\u8BD5\u6B21\u6570"))):e===2&&this.launchSimulationApp()};this.checkTimer||(this.checkTimer=this.startIntervalTimer(a,this.retryInterval))}))}async launchSimulationApp(){try{window.location.href="lceda-sim://open"}catch(e){console.error("\u65E0\u6CD5\u542F\u52A8\u4EFF\u771F\u5E94\u7528:",e)}}async checkSimulationServer(e=2e3){let i=new AbortController,o=setTimeout(()=>i.abort(),e);try{this.showToast("The simulation connection attempt is in progress...","info");let r=await fetch("http://localhost:17965/eda_simulation_server?type=test",{method:"GET",headers:{Host:"localhost:17965","User-Agent":"LCEDA/3.2",Accept:"application/json",Connection:"close"},signal:i.signal});return r.statusText==="Forbidden"?{success:!1,error:new Error(`\u5B58\u5728\u672A\u5173\u95ED\u7684\u4EFF\u771F\u5F15\u64CE: ${r.status}`)}:(clearTimeout(o),r.ok?{success:!0,data:await r.json()}:{success:!1,error:new Error(`HTTP\u9519\u8BEF: ${r.status}`)})}catch(r){return clearTimeout(o),{success:!1,error:r}}}},Nte=new CWt;function vC(t=dt()){return t!=null&&(t===ve.PCB||t===ve.FOOTPRINT||t===ve.PHOTOVIEW||t===ve.VIEW3D)}function Is(t=gi()){var n,a,s,l;let e=!1,i=dt();if(i===ve.PANEL3D){let c=(a=(n=he.getActiveTabData())==null?void 0:n.data)==null?void 0:a.panelProductionCache;return((l=(s=c==null?void 0:c.gJsonCache)==null?void 0:s.head)==null?void 0:l.docType)===ve.PANEL_LIB}else if(i!=ve.PCB)return!1;let[o,r]=wr(t);return C.messageBus.publish("getSyncPCBLevelType",[o,c=>{e=c=="CHILD"}]),e}function uFe(){var e,i,o,r;if(dt()===ve.PANEL3D){let n=(i=(e=he.getActiveTabData())==null?void 0:e.data)==null?void 0:i.panelProductionCache;return((r=(o=n==null?void 0:n.gJsonCache)==null?void 0:o.head)==null?void 0:r.docType)===ve.PANEL_LIB}return!1}function Qqe(t=gi()){if(Is(t))return!0;{let[e,i]=wr(t);return AP.hasChildPcb(e)}}function zlt(t=dt()){return!![ve.WAVEFORM].includes(t)}function Wn(t=dt()){return!![ve.PANEL,ve.PANEL_LIB,ve.PANEL3D].includes(t)}function lko(t=dt()){return!![ve.PANEL_LIB].includes(t)}function ty(t=dt()){return!!Object.values(u0).includes(t)}var zye={};async function et(t,e=void 0){var p,m,h,f,g,b,y;let i=vC(),o=Wn(),r=ty();if(_lt.getInstance().checkCommand(t,!1))switch(t){case"toggleView(importChanges)":{Ts(),await C.windowBridge.rpcCall("toggleView(importChanges)","",await Ra()),Zr();break}case"fullScreen":if(wi)fetch("app://api/system/keyup",{method:"post",body:JSON.stringify({keyCode:122})});else{let ee=window.document;ee.fullscreenElement?ee.exitFullscreen():ee.body.requestFullscreen().catch(ce=>{})}break;case"delete-target":r?fYt():i&&Ic(t,e);break;case"openFootPrintManager":{await tlt();break}case"openDeviceManager":await ii("replace-device");break;case"new_library":Gg();break;case"check_in":C.messageBus.publish("stop_simulide"),Ga.checkInAndOut("check_in");break;case"check_out":Ga.checkInAndOut("check_out");break;case"new_device":if(!br()){Xo.login();return}let w,x;if(Je&&(w=C.clientTeamList,x=w.length>0&&w.some(ee=>!ee.system),!x)){Ut({type:"confirm",message:"The library does not exist yet, please create it first!",showCancel:!0,textCancel:"Cancel",onConfirm:()=>{Gg()}});return}let S=!0;Xs(e,"canSelectSymbolType")&&(S=e.canSelectSymbolType);let T=mt.getSymbolLibManage()=="2";if((hn("SYSTEM").newLibraryPopup==="complete"||(e==null?void 0:e.newLibraryPopup)==="complete")&&T){let ee={};if(ee.symbolType=String((e||{}).docType||tr.ComponentSymbol),e&&e.title&&(ee.deviceItemName=e.title,ee.symbolItemName=e.title),e&&e.description&&(ee.description=e.description),e&&e.workspace&&(ee.workSpaceSelected=e.workspace),e&&e.userId&&(ee.userIdSelected=e.userId),e&&e.defaultOwnerId&&(ee.userIdSelected=e.defaultOwnerId),e&&e.categoryId&&(ee.categoryTags=e.categoryId.split(":")),e&&e.isCalledBySimplify&&(ee.isCalledBySimplify=e.isCalledBySimplify),e&&!e.categoryId&&e.category&&!ee.categoryTags){let ce=e.category.split(":"),ne=await Dwe({uuid:e.userId,path:e.userId,types:[Yi.DEVICE],names:[{primary:ce[0],secondary:ce[1]}]});if(ne.success){let oe=ne.result.detail[0];oe&&(ee.categoryTags=[],oe.primary&&ee.categoryTags.push(oe.primary.uuid),oe.secondary&&ee.categoryTags.push(oe.secondary.uuid))}}TNo(void 0,!1,ee)}else gJ({symbolDoctype:e&&e.docType||ve.PART,canSelectSymbolType:S,description:((p=e==null?void 0:e.formData)==null?void 0:p["device-describe"])||"",categoryName:((m=e==null?void 0:e.formData)==null?void 0:m["device-category"])||"",formData:e==null?void 0:e.formData,contentData:e==null?void 0:e.contentData,defaultOwnerId:e==null?void 0:e.defaultOwnerId});break;case"placeDevice":let M="placeDevice",I=(e==null?void 0:e.docType)||dt();(I===ve.NGSPICE||I===ve.SIMULIDE)&&(M="sim"),$B({form:M},function(ee){ee.action=="afterSend"&&(De({type:"success",msg:"Operation success!"}),this.$close())});break;case"openBatchCreateDeviceDialog":Jwo(e);break;case"place_special_part(short_symbol)":case"place_special_part(netflag_VCC)":case"place_special_part(netflag_5V)":case"place_special_part(netflag_gnD)":case"place_special_part(netflag_GNd)":case"place_special_part(netflag_gNd)":case"place_special_part(netport_IN)":case"place_special_part(netport_OUT)":case"place_special_part(netport_BI)":case"place_special_part(offPageConnector_IN)":case"place_special_part(offPageConnector_OUT)":case"place_special_part(offPageConnector_BI)":case"place_part(diffPairsFlag)":case"place_shortcut_device(resistor)":case"place_shortcut_device(capacitor)":case"place_shortcut_device(inductor)":case"place_shortcut_device(diode)":case"place_shortcut_device(test_point)":case"place_shortcut_device(placeProbe/V)":case"place_shortcut_device(placeProbe/I)":case"place_shortcut_device(placeProbe/L)":case"place_shortcut_device(four_channel_oscilloscope)":case"place_shortcut_device(Multimeter)":t.indexOf("_special_")>-1&&(t=t.replace("_special_","_")),t.indexOf("_shortcut_")>-1&&(t=t.replace("_shortcut_","_"));let A=(await C.messageBus.rpcCall("getSchToolBarDevice",t)).message,D=(await C.messageBus.rpcCall("getSchToolBarSymbol",t)).message;zh(dt())&&(A=(await C.messageBus.rpcCall("getSimToolBarDevice",t)).message,D=(await C.messageBus.rpcCall("getSimToolBarSymbol",t)).message);let{success:E}=await N4.placeDevice(A,!1,ve.SCH,D,null,bn);E&&Ho.setTopBarItemChecked(t);break;case"toMyHomePage":var n=Xo.getValueFromCacheUser("username");if(n){if(_t){let ce=`/account/user/workaccount/basic?orguuid=${C.workspace}&from=editor&lang=${mt.toWorkSpaceNeedLang()}`;wi?window.electronAPI.openWindow(location.origin+ce):window.open(ce);return}let ee=window.open(C.servicesUrlConfig.oshwhubIndex+"/"+n);ee.sessionStorage.removeItem("tabIds"),ee.sessionStorage.removeItem("activeTab")}break;case"importDXF":await ii("importDxf");break;case"docSaveAsLocalLib":{let ee=he.getActiveTab(),ce=he.getActiveTabData();if(!ce)break;let{data:ne}=ce;if(!ne||typeof ne!="object")break;let oe=ue.splitComponentId2FolderAndFilenameMixin(ee),re=oe.componentTitleOrId,Y=oe.path,X=null;if(ne.doctype===ve.FOOTPRINT?X=await Ze.getFootprint({isProject:Y===C.currentProject.projectId,path:Y,uuid:re}):X=await Ze.getSymbol({isProject:Y===C.currentProject.projectId,path:Y,uuid:re}),!X)break;await Yve(X,!!ne.isProjectLib);break}case"toMyNotifications":if(Je)return;var n=Xo.getValueFromCacheUser("username");if(n){let ee=_t?`/account/user/workaccount/notify/basic-notify?orguuid=${C.workspace}&from=editor&lang=${mt.toWorkSpaceNeedLang()}`:`/account/user/notifications/basic?from=editor&lang=${mt.toWorkSpaceNeedLang()}`;wi?window.electronAPI.openWindow(location.origin+ee):window.open(ee)}break;case"toMyAccount":var n=Xo.getValueFromCacheUser("username");if(n){let ee=_t?`/account/user/workaccount/basic?orguuid=${C.workspace}&from=editor&lang=${mt.toWorkSpaceNeedLang()}`:`/account/user/account/setting/basic?from=editor&lang=${mt.toWorkSpaceNeedLang()}`;wi?window.electronAPI.openWindow(location.origin+ee):window.open(ee)}break;case"user_logout":C.messageBus.publish("user_logout");break;case"openProject":if(Je){let ee=await hDe();ee&&await Os({cPath:ee})}else{if(!br()){De({type:"info",msg:"Not logged in yet, please log in and try again"});return}let ee=e||{};sJ(ee==null?void 0:ee.type,ee==null?void 0:ee.data)}break;case"tutorials":{yM("tutorials");break}case"bom_order_parts_smt":case"bom_order_parts":{if(Fn){t==="bom_order_parts_smt"?window.open(C.HelpURL.order_smt,"_blank"):t==="bom_order_parts"&&window.open(C.HelpURL.order_bom,"_blank");return}let ee=dt();ee===ve.SCH||ee===ve.PCB?_t?ii("export-bom",{}):ii("prepass-bom-standard-check",{cmd:t}):ee===ve.HOME&&window.open(C.HelpURL.part_store,"_blank")}break;case"new_3D_model":if(!br()){Xo.login();return}Je?gNo():ii("new-3d-model",e);break;case"export3DFile":ii("export-3d-file");break;case"export3DShellFile":ii("export-3d-shell-file",{});break;case"exportTestPointReport":ii("export-test-point-report",{});break;case"checkDocTicket":DDe.checkDocTicket();break;case"openRecentProject":if(navigator.onLine&&!br()){De({type:"warn",msg:"Not logged in yet, please log in and try again",timer:3});return}if(e){let ee;if(Je){let ce=e.cPath||e.attr("cPath");ee=ce&&{cPath:ce}}ee||(ee={uuid:e.projectId||e.attr("projectId")}),Os(ee)}break;case"updateComponent":let{needTipModal:N=!0}=e;cW({params:{needUpdateSymbolData:!0,silentIfNone:!1},args:e},{needTipModal:N});break;case"updateReuseBlock":{qnt({params:{needUpdateSymbolData:!0,silentIfNone:!1},args:e},{needTipModal:!0});break}case"resetUniqueId":Ut({type:"confirm",message:`<div>
							<div class='i18n'>The component unique ID will be reset according to the component designator. Please notice: </div>
							<div style="text-indent:2em;" class='i18n'>1. Please make sure the component designators\xA0of the schematic and PCB are corresponding</div>
							<div style="text-indent:2em;" class='i18n'>2.\xA0Please reset the\xA0corresponding schematic or PCB too, when\xA0reset the schematic\xA0this operation will clear undo/redo\xA0histories</div>
							<div class='i18n'>Do you want to continue?</div>
						</div>`,isHtml:!0,showCancel:!0,textOK:"Yes",textCancel:"No",width:540,onConfirm:async()=>{let ee=dt(),ce=he.getActiveTab();if(ee===ve.SCH)C.messageBus.publish("schResetUniqueId",ce);else if(ee===ve.PCB){let ne=await he.getTabIFrame(ce);C.windowBridge.rpcCall("pcbResetUniqueId",{},ne.contentWindow)}C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.UNIQUE_ID_RESET,content:{},project_uuid:C.currentProject.projectId}])}});break;case"new_schematicLib":if(!br()){Xo.login();return}yP({symbolDoctype:(e==null?void 0:e.docType)||ve.PART,...e||{}});break;case"close_tab":let v=(e==null?void 0:e.tabid)||he.getActiveTab();await he.closeTopTab(v);break;case"open_in_new_window":if(!e||!e.tabid)break;let k=[ve.HOME,ve.BLANKTAB],P=window.location.origin,O=window.location.pathname,_=e.docType||he.getTabDocType(e.tabid),j=_==ve.PART||_==ve.FOOTPRINT?`!${e.tabid}`:e.tabid,B=_===ve.PRJ||k.includes(_)?"":`,tab=*${j}`,V=C.currentProject.projectId&&await Pr.getVersion(),G=V!=null&&V.uuid&&!(V!=null&&V.default)?`,version=${V.uuid}`:"",Q=window.location.hash.split(",")[0];_===ve.HOME?(Q="",G=""):!he.isProjectLibSymbolTab(e.tabid)&&![ve.SCH,ve.PCB,ve.PANEL,ve.NGSPICE,ve.SIMULIDE].includes(e.docType)&&(Q="#",G="");let H=`${P}${O}${Q}${G}${B}`,q=`${e.tabid}|${String(_)}|${Math.random()}`;k.includes(_)?zye[q]=window.open(H,q):(await he.closeTopTab(e.tabid,!1,void 0,()=>({openInNewWindow:!0})),he.isTabUnSaved(e.tabid)?_a.crossWindowNeedToOpen=H:zye[q]=window.open(H,q),zye[q]&&zye[q].addEventListener("DOMContentLoaded",function(ee){zye[q].addEventListener("unload",function(ce){let ne=this.name.split("|")[1],oe=this.name.split("|")[0];oe&&String(ne)===String(ve.FOOTPRINT)&&fAt([oe]),delete zye[this.name]})}));break;case"cacheRecovery":mZi();break;case"standard_edition_migration":Aye();break;case"close_other_tabs":{if(!e||!e.tabid)break;let{unsaveFileTabId:ee,savedFileTabId:ce}=ap(e.tabid);if(ee.length)ii("confirm-close"),_a.chose="closeOthers",_a.filterTabid=e.tabid;else for(let ne=0;ne<ce.length;ne++){let oe=ce[ne];await he.closeTopTab(oe)}break}case"close_all_tabs":{let{unsaveFileTabId:ee,savedFileTabId:ce}=ap();ee.length?(ii("confirm-close"),_a.chose="closeAll"):(await he.closeSavedTabs(),C.currentProject.projectId&&he.simulateClick("0"));break}case"closeProject":{if(mD({cmdToken:null}),mJ())await Xg(C.currentProject.projectId);else{let{unsaveFileTabId:ce}=ap();ce.length?(ii("confirm-close"),_a.chose="closeAll"):await he.closeSavedTabs()}await Pn("layout_toggler_right",!0);break}case"recycleBin":{let ee=C.workspace,ce=C.currentProject.owner,ne=`/account/user/recycles/team?orguuid=${ee}&team=${ce}`;!_t&&ee=="Personal"&&(ne="/account/user/recycles/personal"),wi?window.electronAPI.openWindow(location.origin+ne):window.open(ne);break}case"toProjectVersion":{let ee=C.workspace,ne=`account/user/projects/index/histories?project=${C.currentProject.projectId}&orguuid=${ee}`;wi?window.electronAPI.openWindow(location.origin+ne):window.open(ne);break}case"renumberPins":ii("renumber-pins");break;case"exportDxf_PCB":C.messageBus.publish("exportDxf_PCB");break;case"printPDF":if(o){lH({action:"print-2d-preview"});break}nq(one(dt()),"filePdf",!0);break;case"new_footprint":{if(!br()){Xo.login();return}CP(()=>{let ce=(C.globalVariableCookieData||{}).easyeda_user||{};WJe({fileInfo:e?e.fileInfo||{}:{},userInfo:ce,userId:e?e.userId:""},async(ne,oe,re)=>{let Y=oe.data.formData;if(re.action==="IMPORT"){let X=null,ie="Import successfully!",de=!1;try{let fe=await la.importLibs({data:re.fileContent,target:{isProject:!C.currentProject||!C.currentProject.projectId?!1:Y["file-owner"]===C.currentProject.projectId,path:Y["file-owner"]},override:{footprint:{tags:Y["file-category-name"],title:Y["file-name"],description:Y["file-describe"]}}});if(X=fe&&fe.successResult.footprints?fe.successResult.footprints[0]:null,X=X&&X.result?X.result:X,fe&&fe.failedResult&&fe.failedResult.footprints.length)throw new Error(fe.failedResult.footprints[0].message||"Import failed!")}catch{de=!0,ie="Import failed!"}ne.setButtonEnable(),de?De({type:"error",msg:ie}):De({type:"success",msg:ie}),X&&(Ot("info",'<span class="i18n" i18n-params-nums="1">{nums} footprints import successfully</span>:'+X.display_title,void 0,!1),ne.$close(),_s(Y["file-owner"],Ls()),await GS({...X,libPath:X.owner.uuid,isNew:!0},!1,{}));return}YJe(ne,oe,re).then(async X=>{let ie={...X,isNew:!0};X&&_s(X.owner.uuid,"footprint"),ie.libPath=X.owner.uuid,await GS(ie,!1,{}),e.fileInfo&&X&&Ot("info",'<span class="i18n" i18n-params-nums="1">{nums} footprints import successfully</span>:'+X.display_title,void 0,!1)}).catch(()=>{console.warn("Failed to create Footprint-Data")})})});break}case"OcrWizard":MEo();break;case"file_open":if(!br()){C.messageBus.publish("login");return}zCi();break;case"importEDAPro":if(zh(dt())&&C.messageBus.publish("stop_simulide"),!br()){C.messageBus.publish("login");return}eJ.loadFile((ee,ce)=>{lze(ce)});break;case"importFile(unchage)":{sze();break}case"BatchImportCBB":jCi();break;case"file_save":await C.messageBus.rpcCall("save","");break;case"save_all":xl();break;case"switchGridType(line)":case"switchGridType(dot)":case"switchGridType(not)":{let ee=t.match(/\((.*?)\)$/);ee&&ee[1]&&await Ho.switchGridTypeBtn(ee[1],!1);let ce=ee[1]=="not"?"none":"yes",ne={"attr-canvas-grid-style":ee[1],"attr-canvas-grid-visible":ce};C.messageBus.publish("modifyCanvas",{data:ne});break}case"importLibs":C.messageBus.publish("importLibs",".zip");break;case"old_new_project":C.messageBus.publish("newProject");break;case"new_project":US(e||{});break;case"showBottomBarLog":return fX(e);case"showBottomBarByType":return LLo(e);case"joinGroup":o?sYt():r?LT(t,e):i&&Ic(t,e);break;case"new_Panel":return await Ern(e);case"exportBOM":{let ee=dt();if(ee===ve.SCH||ee===ve.PCB)_t?ii("export-bom",{}):ii("prepass-bom-standard-check",{cmd:t});else if(ee===ve.ASSEMBLY_VARIANT){let ce=ri.currentSchematicId,ne=((h=ri.variantSelectedAllData[0])==null?void 0:h.uuid)||"basis";_t?ii("export-bom",{cmd:"exportBOM",schematicId:ce,variantUuid:ne}):ii("prepass-bom-standard-check",{cmd:"exportBOM",schematicId:ce,variantUuid:ne})}}break;case"exportNetlist":ii("export-netlist",{cmd:t});break;case"openRightBar":{(0,e3.default)("#layout_toggler_right").hasClass("close")&&et("toolbar_toggle(rightbar)");break}case"openPropertyPanel":{switch(et("openRightBar"),It.containerInfo[Br.id].currentMode){case ve.PANEL_LIB:case ve.PANEL:Br.handleClick("panel-attr");break;case ve.SCH:case ve.PART:case ve.BLOCK_SYMBOL:case ve.NETFLAG:case ve.NETPORT:case ve.SHEET_SYMBOL:case ve.NONEELEC_SYMBOL:case ve.SHORT_SYMBOL:case ve.OFF_PAGE_CONNECTOR:case ve.DIFF_PAIRS_FLAG:C.messageBus.publish("sch/renderPropertyPanel"),Br.handleClick("sch-attr");break}break}case"importChangesFromSch":await NB("sch2pcb"),C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.REFRESH_PCB_BY_SCH,content:{},project_uuid:C.currentProject.projectId}]);break;case"importChangesFromPcb":await NB("pcb2sch"),C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.REFRESH_SCH_BY_PCB,content:{},project_uuid:C.currentProject.projectId}]);break;case"auto-routing":EYt({id:"auto-router"});break;case"toolbar_toggle(topbar)":(0,e3.default)("#toolbar-bottom").toggleClass("show-hide");let U=(0,e3.default)("#toolbar-bottom").hasClass("show-hide"),F=(0,e3.default)("#main").hasClass("home_notice")?32:0;U?((0,e3.default)("#main").css("height",`calc(100% - ${32+F}px)`),sessionStorage.setItem("topbar","hide")):((0,e3.default)("#main").css("height",`calc(100% - ${64+F}px)`),sessionStorage.setItem("topbar","show")),A1e(t,!U),kte.switchTopMenuVisible();var a=uO();a.top.open=U?0:1,Sae(a);break;case"refreshMainHeight":{let ee=(0,e3.default)("#toolbar-bottom").hasClass("show-hide"),ce=(0,e3.default)("#main").hasClass("home_notice")?32:0;ee?(0,e3.default)("#main").css("height",`calc(100% - ${32+ce}px)`):(0,e3.default)("#main").css("height",`calc(100% - ${64+ce}px)`);break}case"toolbar_toggle(bottombar)":Ho.setTopBarItemChecked(t),Pn("layout_toggler_bottom",!(0,e3.default)("#layout_toggler_bottom").hasClass("close"),!0),C.openBottomPanel=!0,setTimeout(()=>{delete C.openBottomPanel},1500);break;case"toolbar_toggle(leftbar)":Ho.setTopBarItemChecked(t),Pn("layout_toggler_left",!(0,e3.default)("#layout_toggler_left").hasClass("close"),!0),C.openLeftPanel=!0,setTimeout(()=>{delete C.openLeftPanel},1500);break;case"toolbar_toggle(rightbar)":Ho.setTopBarItemChecked(t),Pn("layout_toggler_right",!(0,e3.default)("#layout_toggler_right").hasClass("close"),!0),C.openRightPanel=!0,setTimeout(()=>{delete C.openRightPanel},1500);break;case"switchNextDocByNatural":he.simulateClick(he.findNextTab(he.getActiveTab()));break;case"switchPreDocByNatural":he.simulateClick(he.findPrevTab(he.getActiveTab()));break;case"switchNextDoc":{he.setContainerRecord(!0);let ee=he.getActiveTab();he.simulateClick(he.historyNextTab(ee,["0"]));break}case"switchPreDoc":{he.setContainerRecord(!0);let ee=he.getActiveTab();he.simulateClick(he.historyPrevTab(ee,["0"]));break}case"ToolLink":Ho.setTopBarItemChecked(t);break;case"checkDRCCustom":await ii("pcb-check-DRC-custom");break;case"openElecRule":await ii("electrical-rule");break;case"openSimElecRule":await ii("sim_electrical_rule");break;case"online_chat":flt.show();break;case"show_about":case"show_about_1":if(Fi.testModel)return ini();C0o();break;case"show_performancetool":{let ee=dt(),ce={},ne={};if(ee==ve.PCB||ee==ve.FOOTPRINT){let oe=await Ra();if(ce=(await C.windowBridge.rpcCall("pcb/performanceData","",oe)).message,ee==ve.PCB){let re=await DIe(),Y=await EIe(),X=re.name||"",ie=Ft(re.boards||[],"pcb",Y.uuid),de=ie==null||ie.data==null?"":(ie==null?void 0:ie.data).name||"",fe=Y.display_title||Y.title||"";ne={projectName:X,boardName:de,pcbName:fe}}else{let re=he.getActiveTab(),{uuid:Y,path:X}=he.getUuidAndPathByTab(re),ie=C.currentProject.projectId,de=await Ze.getFootprint({uuid:Y,path:X,isProject:ie==X});ne={pcbName:de.display_title||de.title||""}}}ii("performanceDiagnostics",{data:ce,pcbDataRes:ne});break}case"versionUpdate":CYt({});break;case"backup":C.currentProject.projectId?await yYt():Ut({type:"info",message:"Please open the project before backing up."});break;case"new_version":C.currentProject.projectId?await yYt(e&&e.from==="leftTree"):Ut({type:"info",message:"Please open the project before backing up."});break;case"switchVersion":yV({id:"",title:"Switch Backup"});break;case"backup_project":{let{projectId:ee}=C.currentProject;Je?yV({id:ee,title:"Backup Management"}):up(C.currentProject.projectId,"backups");break}case"historicalRecords":{xl(void 0,!1).then(async()=>{if(C.isHistoryMode=!0,C.messageBus.publish("updateHistoryMode",!0),t4.setRenderTicket(),dt()==ve.PCB){let ee=await ei();C.windowBridge.publish("clearSelect","",ee.contentWindow)}zi.setIsProjectReadOnly(!0,C.currentProject.projectId,!0),await r6().setTabActive()},()=>{De({type:"error",msg:"Save failed!"})});break}case"new_branch":{let ee=await Pr.getVersion(),ce={uuid:ee==null?void 0:ee.uuid,mode:2,historyUuid:ee==null?void 0:ee.history_uuid};ee&&!ee.node&&(ce.mode=3),ZW(ce);break}case"new_node":{let ee=await Pr.getVersion(),ce={uuid:ee==null?void 0:ee.uuid,mode:1,historyUuid:ee==null?void 0:ee.history_uuid};ZW(ce);break}case"version_management":{iko();break}case"recovery":case"switch_version":yV({id:"",title:"Recovery Backup"});break;case"projectSaveAsCloud":yae(e&&e.isFrom);break;case"projectSaveAsLocal":wae();break;case"docSaveAsCloud":Nst();break;case"docSaveAsLocal":kst();break;case"bsSaveAsCloud":hGt();break;case"bsSaveAsLocal":fGt();break;case"selectedBSSaveAsCloud":hGt(!0);break;case"selectedBSSaveAsLocal":fGt(!0);break;case"clearRecentList":_Eo(".menu-top",ee=>{ee.hide()}),Ebi();break;case"log-tool":(0,e3.default)("#layout_toggler_bottom").hasClass("close")&&Pn("layout_toggler_bottom",!1,!0),co.handleClick("log");break;case"compareNetlist":{C.showCompareNetTab=!0,It.setTabDisplayNone($a.leftPanelTabBarId,Za.NETLIST_COMPARSION,!C.showCompareNetTab);let ee={containerId:"leftPanelTab",tabId:Za.NETLIST_COMPARSION,domRect:It.containerInfo.leftPanelTab.domRect,isTrueClick:!0};C.messageBus.publish("/pro-ui/container/tab/onClick",ee),CDe();break}case"insertImage":let K=dt();K===ve.SCH||pr(K)||zh(K)||Wn(K)?oje({isPcb:!1}).then(ee=>{ee.dataURL&&LDe(ee.dataURL,()=>{Ho.setTopBarItemChecked("insertImage")},{fileName:ee.file.name})}):(Ic(t,e),Ho.setTopBarItemChecked("insertImage"));break;case"importSVG":{dt()===ve.PANEL&&nje(".svg",/\.svg$/i,ce=>{var ne=new FileReader;ne.readAsDataURL(ce[0]),ne.onload=function(oe){LDe(this.result,()=>{Ho.setTopBarItemChecked("insertImage")})}});break}case"updateSchematicNetPort":{var s=he.getActiveSchematicName();C.messageBus.publish("checkNetPortsAndPins",[gi(),s,"netport"]);break}case"Expand":{if(e.target.length>1){Ut({type:"alert",message:"\u9009\u4E2D\u4E86\u4E24\u4E2A\u56FE\u5143\uFF01\u53EA\u80FD\u9009\u62E9\u4E00\u4E2A\u56FE\u5143\u8FDB\u884C\u5C55\u5F00\uFF01"});return}let ee=he.getActiveTab(),ce=he.getSheetOrderId(),{symbolName:ne,batchReuse:oe,id:re}=e.block_symbol_info;C.messageBus.publish("BlockSymbolExpand",[ee,re,ce,ne,oe]);break}case"checkDFM":{if(vo){window.open(C.HelpURL.checkDFM);return}ap().unsaveFileTabId.length&&await xl(),await _No.entry()}break;case"ref_designator_annotate":{let ee=dt(),ce=ee===ve.SCH?"SCH":ee===ve.PCB?"PCB":void 0;fte(ce,{type:"annotate",keepExistDesignator:!0,applyOnCBB:!0,range:ce==="SCH"?"current_page":"topLayer-components",orderMethod:ls.orderMethod,rule:"custom",startNumber:1})}break;case"pcb_design_rule":let te=(await C.messageBus.rpcCall("sch/getPcbDesignRuleData",gi())).message;_eo(te);break;case"user_register":Xo.register();break;case"user_lostPassword":Xo.lostPassword();break;case"user_changePassword":Xo.changepassword();break;case"user_login":Xo.login();break;case"user_account":Xo.register();break;case"editTable":{pYt(t);break}case"clearCbbRefdes":{let ee=dt(),ce=ee===ve.SCH?"SCH":ee===ve.PCB?"PCB":void 0;fte(ce,{type:"clear",keepExistDesignator:!1,applyOnCBB:!0,range:ce==="SCH"?"selected_component":"selected_component",orderMethod:ls.orderMethod,rule:"custom",startNumber:1});break}case"hierarchical_ref_designator_annotate":{let ee=dt(),ce=ee===ve.SCH?"SCH":ee===ve.PCB?"PCB":void 0;fte(ce,{type:"annotate",keepExistDesignator:!0,applyOnCBB:!0,range:ce==="SCH"?"selected_component":"selected_component",orderMethod:ls.orderMethod,rule:"custom",startNumber:1});break}case"editArray":i?Ic(t,e):Pst.apply(this,e);break;case"show_service_setting":Ut({type:"alert",message:"\u5F85\u5F00\u53D1"});break;case"go_bottom_component":(0,e3.default)("#layout_toggler_bottom").hasClass("close")&&Pn("layout_toggler_bottom",!1,!0),co.handleClick("lib");break;case"new_schematic":case"new_board":case"new_PCB":if(!await uR())return;if(Gc.status){let{message:ee}=await C.messageBus.rpcCall($e.PCB.GET_ALL_ARR),ce=Object.keys(ee).length;if(t==="new_board"){if((await C.messageBus.rpcCall("getAstProjectBoards","")).message.length>=1||ce>=1)return new Fi({type:"error",msg:"There can only be one PCB and board in one project"}),!1}else if(t==="new_PCB"){if(Object.keys(ee).length>=1)return new Fi({type:"error",msg:"There can only be one PCB and board in one project"}),!1}else return!1}if(t==="new_PCB"&&C.profileSetting.commSystemSetting.PCB_FOOTPRINT.isNewPCBUsingTemplate.value===!0){qNo({cmd:t,args:e});return}C.messageBus.publish("doCommand",[t,e]),t=="new_board"&&$a.leftPanelOnClick(Za.PROJECT_DESIGN);break;case"new_CBB":if(!await uR())return;A3(e);break;case"open_create_panel_lib_dialog":pze({dlgType:e.dlgType,dlgTitle:e.dlgTitle||"Create Panel Lib",defaultOwnerId:e==null?void 0:e.defaultOwnerId,panelName:e==null?void 0:e.display_title,data:e,description:e.description,categoryName:[(g=(f=e.tags)==null?void 0:f.parent_tag)==null?void 0:g.name,(y=(b=e.tags)==null?void 0:b.child_tag)==null?void 0:y.name].filter(ee=>ee).join(":")});break;case"command-tool":{if(!It.judgeTabIsShow("bottom-bar-container","pcbCommand")){let ce={container:"bottom-bar-container",tab:{tabId:"pcbCommand",title:"Command",mode:[Ee.PCB,Ee.FOOTPRINT],isAbleDelete:!0}};It.addTab(ce)}co.handleClick("pcbCommand"),mt.setCacheObj("pcbCommandTab",!0),mt.saveToServer(!1);break}case"fanOutBusEntry":{vNo({busId:e.targetId});break}case"highlightConnectedWires(bus)":case"highlightConnectedWires(wire)":let ae=e.target[0],pe=e.targetId;if(ae!=="wire"&&ae!=="bus")return;LT("selectWire",{tabId:e.tabId,id:pe,type:"singleGroup"});break;case"highlightConnectedWires(singleWire)":{let ee=e.target[0],ce=e.targetId;ee==="wire"&&LT("selectWire",{tabId:e.tabId,id:ce,type:"single"})}break;case"highlightConnectedWires(net)":(e.target[0]==="wire"||e.target[0]==="pin")&&(C.messageBus.publish("unSelect"),C.messageBus.publish("selectConnectedNet",{tabId:e.tabId,id:e.targetId||e.selectedIds[0]}));break;case"clearDesignator":{let ee=dt(),ce=ee===ve.SCH?"SCH":ee===ve.PCB?"PCB":void 0;fte(ce,{type:"clear",keepExistDesignator:!1,applyOnCBB:!1,range:ce==="SCH"?"selected_component":"selected_component",orderMethod:ls.orderMethod,rule:"custom",startNumber:1});break}case"annotateDesignator":{let ee=dt(),ce=ee===ve.SCH?"SCH":ee===ve.PCB?"PCB":void 0;fte(ce,{type:"annotate",keepExistDesignator:!0,applyOnCBB:!1,range:ce==="SCH"?"selected_component":"selected_component",orderMethod:ls.orderMethod,rule:"custom",startNumber:1});break}case"draw(origin)":i?Ic(t,e):[ve.PANEL,ve.PANEL_LIB].includes(dt())?!C.mousePlace.isInLeftPanel()&&C.messageBus.publish("panel/doCommand",["draw(origin)"]):pr(dt())&&C.messageBus.publish("doCommand",["draw(origin)"]);break;case"setOriginByCoordinate":dt()!==ve.SCH&&wEo();break;case"previewAdaptAll":{let ee=(0,e3.default)("#bottomBar"),ne=(0,e3.default)(".footprintPreviewBox iframe",ee)[0].contentWindow;C.windowBridge.publish("adaptAll","",ne);break}case"open_in_workspace":{let{title:ee,projectId:ce}=e;up(ce,"members")}break;case"filterAttr":switch(et("openRightBar"),It.containerInfo[Br.id].currentMode){case ve.PANEL_LIB:case ve.PANEL:Br.handleClick("panel-filter");break;case ve.SCH:case ve.PART:case ve.BLOCK_SYMBOL:case ve.NETFLAG:case ve.NETPORT:case ve.SHEET_SYMBOL:case ve.NONEELEC_SYMBOL:case ve.SHORT_SYMBOL:case ve.OFF_PAGE_CONNECTOR:case ve.DIFF_PAIRS_FLAG:Br.handleClick("sch-filter");break;case ve.PCB:case ve.FOOTPRINT:Br.handleClick("pcb-filter"),Br.clickedTabId="pcb-filter";break;case ve.PHOTOVIEW:break;case ve.VIEW3D:break;case ve.PANEL3D:break}break;case"projectSheetSetting":hve({selectedTreeItemId:"SCH_OR_SHEET"});break;case"copy":i?C.windowBridge.publish("tool","COPY",await Ra()):he.getTabIFrame().then(ee=>{o?C.messageBus.publish("panel/doCommand",[t,e]):C.messageBus.publish("doCommand",[t,e])});break;case"crossProbe":{if(r){C.messageBus.publish("NotifyPcbCrossProbe");return}if(i){let ee=await ei(),{rule:ce,hasSelected:ne}=(await C.windowBridge.rpcCall("getPcbCrossProbeToSchData","",ee.contentWindow)).message;if(!ne){Ic("crossProbeTool");return}let oe={isManualTrigger:!0};C.windowBridge.publish("cross-window",{selectObj:ce,otherData:oe,cmd:"crossProbeBetweenWindows"},ko())}break}case"start_sim":{await xl(),Ai.setSimStartStatus(!0);let ee=!1;if(Nte.isStart?ee=!0:ee=await Nte.connectToSimulationEngine().then(ce=>(console.log("\u4EFF\u771F\u6570\u636E:",ce),Nte.isStart=!0,!0)).catch(ce=>(console.error("\u8FDE\u63A5\u5931\u8D25:",ce),Ai.setSimStartStatus(!1),!1)),ee){let ce=(await C.messageBus.rpcCall("getCheckERCState")).message;if(ce){if(ce==="checkERC"&&(await C.messageBus.rpcCall("checkSimERC")).message.fatalError>0){De({type:"error",msg:"The REC check failed,please check the circuit!"});let oe=(await C.messageBus.rpcCall("checkSimERC")).message;return C.messageBus.publish("stop_simulide"),Nte.isStart=!1,Ai.setSimStartStatus(!1),!1}if(dt()===ve.NGSPICE)C.messageBus.publish("createNGspiceNetlist"),Nte.isStart=!1,Ai.setSimStartStatus(!1);else if(dt()===ve.SIMULIDE){let ne=De({type:"info",msg:"Simulation engine starting, please wait.",timer:0}),oe=await C.messageBus.rpcCall("createSimulideNetlist");if(ne.close(),oe.message){Ai.setSimStartStatus(!1),Ai.currentSimRunStatues.value||Ai.setCurrentSimRunStatues(!0);let re="pause",Y="icon-eda-sim-"+re;Ho.switchSimStatusTypeBtn(re),Ai.setSimStatusStyleValue(Y),Ai.setCurrentSimTimeStore(!1)}else{C.messageBus.publish("stop_simulide"),Ai.setSimStartStatus(!1);let re={type:"error",msg:Ti("Simulation calculation timed out. Please check the circuit connection for correctness."),tabType:"Log",openTab:!0};return t2(re),!1}}return!0}else return!1}else await ii("engine_detecton");break}case"pause_sim":{if(dt()===ve.SIMULIDE){let ee="start",ce="icon-eda-sim-"+ee;Ho.switchSimStatusTypeBtn(ee),ce&&Ai.setSimStatusStyleValue(ce),Ai.setCurrentSimTimeStore(!0),C.messageBus.publish("pause_simulide")}break}case"stop_sim":{let ee="start",ce="icon-eda-sim-"+ee;Ho.switchSimStatusTypeBtn(ee),ce&&Ai.setSimStatusStyleValue(ce),Ai.setCurrentSimTimeStore(!1),Ai.setCurrentSimRunStatues(!1),Ai.setCurrentSimulideTime("0.0000"),C.messageBus.publish("stop_simulide");break}case"placeTransfer":{if(i){let ee=await ei();C.windowBridge.publish("CheckAndNotifySchPlaceTransfer","",ee.contentWindow)}else C.messageBus.publish("checkAndNotifyPcbPlaceTransfer");break}case"ToastMsg":return De(e);case"orderPCB":{if(Fn){window.open(C.HelpURL.order_pcb,"_blank");return}dt()!==ve.PCB?window.open(C.HelpURL.pcb_manu_facturing,"_blank"):Ic(t,e);break}case"order3DShell":{if(Fn){window.open(C.HelpURL.order_3d_shell,"_blank");return}dt()!==ve.PCB?window.open(C.HelpURL.pcb_manu_facturing,"_blank"):Ic(t,e);break}case"globalHighlightNetSelected":{let ee=e==null?void 0:e.groupId,ce=ee?[ee].map(ne=>({id:ne,tabId:he.getActiveTab()})):null;C.messageBus.publish("globalHighlightNetSelected",ce);break}case"globalUnhighlightNetSelected":{let ee=e==null?void 0:e.groupId,ce=ee?[ee].map(ne=>({id:ne,tabId:he.getActiveTab()})):null;await C.messageBus.publish("globalUnhighlightNetSelected",ce);break}case"hoverHighlightNet":{let ee=e==null?void 0:e.isSelected;await yF.switchStatus(ee);break}case"switchCrossProbeMode":{Ate.setCheckedAndSave();break}case"checkIfSelectAlignRefObjectForCenters":case"checkIfSelectAlignRefObject":{let ee=si.getMenuStore("top-menu-layout-Align").checkboxGroup[t].value;await UE.switch(t,!ee,{isSavePreference:!0});break}case"editProjectSymbol":{let ee=(await C.messageBus.rpcCall($e.SYMBOL.GET,[e.symbolUuid,C.currentProject.projectId])).message;ee.has_device=!0,ee.projectId=C.currentProject.projectId,GD(!0,ee,async()=>{let ce=C.currentProject.projectId;ee.deviceId=e.deviceUuid,ee.clientLibPath=ce,e.activePartId&&(ee.activePartId=e.activePartId),DI(ee,!0,!0)});break}case"editSymbolOnlySelected":{let{symbolUuid:ee,deviceUuid:ce,activePartId:ne}=e,oe=(await C.messageBus.rpcCall($e.SYMBOL.GET,[ee,C.currentProject.projectId])).message,re=await eti(oe.display_title,async ie=>(await C.messageBus.rpcCall($e.SYMBOL.GET_BY_TITLE,[ie,C.currentProject.projectId])).message.length>0),X=`
        <div>
            <div style="line-height: 20px; font-weight: bolder;">${me.i18n("Edit Symbols - Apply Only Selected:")}</div>
            <div style="line-height: 20px;">${me.i18n("The selected symbols {xxx} will be replaced with the newly saved symbol {xxx_1}.",{xxx:oe.display_title,xxx_1:re})}</div>
            <div style="line-height: 20px;">${me.i18n("Do you want to continue?")}</div>
        </div>
    `;GD(!0,{msg:X,height:"unset"},async()=>{let ie=(await C.messageBus.rpcCall($e.SYMBOL.CLONE,[{source:oe.uuid,renameKey:!0,keepSource:!1},C.currentProject.projectId])).message;if(ie){ie.projectId=C.currentProject.projectId;let de=C.currentProject.projectId;ie.clientLibPath=de,ne&&(ie.activePartId=ne),await DI(ie,!0,!0),await C.messageBus.rpcCall("sch/editSymbolOnlySelected",{oldSymbolUuid:ee,newSymbolUuid:ie.uuid})}});break}case"generateSmtEnginePreview":{wC("unchage","engine");break}case"cncEditor":break;case"SCHLibWizard":{NDe();break}case"editProjectDevice":{let ee=(await C.messageBus.rpcCall($e.DEVICE.GET,[e.deviceUuid,C.currentProject.projectId])).message;GD(!0,ee,async()=>{qbe(e.deviceUuid,ee.project_uuid,!0,{openFrom:"canvas"})});break}case"saveToLibrary":{if(dt()===ve.SCH){let ce=(await C.messageBus.rpcCall("sch/getSelectedDeviceFootPrintSymbol")).message;jlt(ce)}break}case"open_oscilloscope":{let ee={symbolDeviceId:e.deviceUuid,uniqueId:e.targetId};await PSo(ee);break}case"editor_simualtion_pins":{let{symbolUuid:ee,deviceUuid:ce,targetId:ne,tabId:oe}=e,re=(await C.messageBus.rpcCall($e.SYMBOL.GET,[ee,C.currentProject.projectId])).message;await JMo({deviceUuid:ce,symbol:re,targetId:ne,tabId:oe})}case"panelProductionOrder":{if(vo){window.open(C.HelpURL.panelProductionOrder,"_blank");return}dt()==ve.PANEL?Xre({type:t,openCallback(){C.messageBus.publish("panel/doCommand",["panelPreview2D",[GJ,t]])}}):dt()==ve.PANEL3D&&C.messageBus.publish("/panel/3d/order");break}case"viewUpdateNotes":window.open(C.HelpURL.updateNote,"_blank");break;case"updateImmediately":tJe();break;case"openMenu(#mm-common-file)":case"openMenu(#mm-common-edit)":case"openMenu(#mm-common-view)":case"openMenu(#mm-common-place)":case"openMenu(#mm-common-design)":case"openMenu(#mm-common-route)":case"openMenu(#mm-common-layout)":case"openMenu(#mm-common-tools)":case"openMenu(#mm-common-fabrication2)":case"openMenu(#mm-common-order)":case"openMenu(#mm-common-settings)":case"openMenu(#mm-common-help)":case"openMenu(#mm-common-advanced)":case"openMenu(#mm-common-sim)":case"openMenu(#mm-common-simExample)":case"openMenu(#mm-common-simWaveform)":{t==="openMenu(#mm-common-fabrication2)"&&(t="openMenu(#mm-common-export)");var d=t.match(/\((.*?)\)$/);if(d){if(C.isMouseOnEditFrame){var l=await he.getTabIFrame(),c=l.getBoundingClientRect();e.clientX=c.left+e.clientX,e.clientY=c.top+e.clientY}else{let ne=(await C.messageBus.rpcCall("/ui/getMouseRecorder")).message;e.clientX=ne.clientX,e.clientY=ne.clientY,e.notFrame=!0}let ce=d[1].slice(1);si.openMenu(ce,{x:e.clientX+2,y:e.clientY+2})}break}case"openMenu(#top-menu-view-variantMenu)":{ga("top-menu-view-variantMenu",e);break}case"opensubmenu-boardshape":{ga(t,e);break}case"opensubmenu-new":{ga("top-menu-file-newFile",e);break}case"opensubmenu-import":{ga("top-menu-file-import",e);break}case"opensubmenu-panel-arc":{ga("top-menu-panel-arc",e);break}case"opensubmenu-move":{ga("top-menu-edit-move",e);break}case"opensubmenu-selectobj":{ga("top-menu-edit-Select_Objects",e);break}case"opensubmenu-gridsize":{ga("top-menu-view-girdSize_sch",e);break}case"opensubmenu-drawline":{ga("top-menu-place-line",e);break}case"opensubmenu-dimension":{ga("top-menu-place-Dimension",e);break}case"opensubmenu-dimension-panel":{ga("top-menu-panel-measure",e);break}case"opensubmenu-export":{ga("top-menu-file-export",e);break}case"opensubmenu-recent":{ga("mm-common-recentProjects",e);break}case"opensubmenu-pad":{ga("top-menu-place-place-Pad",e);break}case"opensubmenu-netflag":{ga("top-menu-place-Net Flag",e);break}case"opensubmenu-placepin":{ga("top-menu-place-pin",e);break}case"opensubmenu-duplicate":{ga("top-menu-edit-duplicate",e);break}case"opensubmenu-duplicate-panel":{ga("top-menu-edit-duplicate-panel",e);break}case"Cutout":{ga("top-menu-edit-cutout",e);break}case"opensubmenu-gridsize-pcb":{ga("top-menu-view-gridSizeMenu",e);break}case"opensubmenu-snapsize":{ga("top-menu-view-snapSizeMenu",e);break}case"opensubmenu-gridtype":{ga("top-menu-view-gridTypeMenu_sch",e);break}case"opensubmenu-gridtype-pcb":{ga("top-menu-view-gridTypeMenu",e);break}case"opensubmenu-ratline":{ga("top-menu-view-Ratline",e);break}case"opensubmenu-highlight-pcb":{ga("top-menu-view-Highlight_pcb",e);break}case"opensubmenu-highlight-sch":{ga("top-menu-view-Highlight_Net",e);break}case"opensubmenu-suturevias":{ga("top-menu-place-Suture_Vias",e);break}case"opensubmenu-testPad":{ga("top-menu-place-testPad",e);break}case"opensubmenu-boardoutline":{ga("top-menu-place-Board_Outline",e);break}case"copperRegion":{ga("top-menu-place-CopperRegion",e);break}case"fillRegion":{ga("top-menu-place-FillRegion",e);break}case"opensubmenu-fpcStiffener":{ga("top-menu-place-FPCStiffener",e);break}case"prohibitedRegion":{ga("top-menu-place-ProhibitedRegion",e);break}case"opensubmenu-slotRegion":{ga("top-menu-place-SlotRegion",e);break}case"opensunmenu-3dShellOutline":{ga("top-menu-place-3D_Shell_Outline",e);break}case"opensubmenu-3DShellSideSlotRegion":{ga("top-menu-place-SideSlotRegion",e);break}case"opensubmenu-3DShell-Top_Bottom-SlotRegion":{ga("top-menu-place-Top/BottomSlotRegion",e);break}case"opensubmenu-3DShell-SideEntity":{ga("top-menu-place-SideEntity",e);break}case"opensubmenu-3DShell-TopEntity":{ga("top-menu-place-Top/BottomEntity",e);break}case"opensubmenu-unroute":{ga("top-menu-route-Unroute",e);break}case"opensubmenu-offset":{ga("top-menu-layout-offset",e);break}case"opensubmenu-align":{ga("top-menu-layout-Align",e);break}case"opensubmenu-distribute":{ga("top-menu-layout-Distribute",e);break}case"opensubmenu-group":{ga("top-menu-layout-group",e);break}case"opensubmenu-rotate":{ga("top-menu-layout-Rotate",e);break}case"opensubmenu-flip":{ga("top-menu-layout-Flip",e);break}case"opensubmenu-level":{ga("top-menu-layout-Level",e);break}case"opensubmenu-canvasOrigin":{ga("top-menu-place-CanvasOrigin",e);break}case"opensubmenu-system":{ga("top-menu-setting-System",e);break}case"opensubmenu-schematic_symbol":{ga("top-menu-setting-Schematic/Symbol",e);break}case"opensubmenu-pcb_footprint":{ga("top-menu-setting-PCB/Footprint",e);break}case"opensubmenu-panel":{ga("top-menu-setting-Panel",e);break}case"opensubmenu-netPort":{ga("top-menu-place-NetPort",e);break}case"opensubmenu-offPageConnector":{ga("top-menu-place-OffPageConnector",e);break}case"opensubmenu-saveas":{ga("top-menu-file-saveas",e);break}case"opensubmenu-routingWidth":{ga("top-menu-view-trackWidthMenu",e);break}case"opensubmenu-shortcutDevice":{ga("top-menu-place-ShortcutDevice",e);break}case"opensubmenu-draw-dimension":{ga("top-menu-panel-dimension",e);break}case"opensubmenu-auxiliary":{ga("top-menu-place-auxiliary",e);break}case"copyToImage":{ga("copyToImage",e);break}case"opensubmenu-tabmenu":{let ee=he.getActiveTab(),ce=he.getDoctypeByTabId(ee);if(ce===ve.BLANKTAB)return;he.openTabbarMenu(t,ee,ce,e);break}case"horizontal_split_tab":{await he.horizontalSplit(e==null?void 0:e.tabid);break}case"vertical_split_tab":{await he.verticalSplit(e==null?void 0:e.tabid);break}case"horizontal_tile_tab":{he.horizontalTile();break}case"vertical_tile_tab":{he.verticalTile();break}case"tile_all__tab":{he.tileAll();break}case"merge_all_tab":{he.mergeAll();break}case"locating_cbb":{let{tabId:ee,symbolId:ce}=e;ee.split("_").length===2&&(ee=(await C.messageBus.rpcCall("getSheetUuid",ee)).message),ee=lo(ee,C.currentProject.projectId);let ne=await he.getTabIFrame(ee);ee!==he.getActiveTab()&&(await yn({tabId:ee}),ne=await he.getTabIFrame(ee)),C.messageBus.publish("sch/selectByIds",{tabId:ee,ids:[ce]}),C.messageBus.publish("sch/adaptSelectionView",{tabId:ee,ids:[ce]}),C.messageBus.publish("sch/renderPropertyPanel");break}case"linkFootprint":{let ee=(await C.messageBus.rpcCall("sch/getDeviceDetail",gi())).message,ce=(await C.messageBus.rpcCall("sch/getSymbolDetail",gi())).message;C.messageBus.publish("linkFootprint",{deviceId:ee.uuid,symbol:ce,path:yr(ee)});break}case"link3DModel":{let ee=(await C.messageBus.rpcCall("sch/getDeviceDetail",gi())).message;C.messageBus.publish("symbolAttrPanelLink3DModel",ee);break}case"showStandaloneScript":{GAo();break}case"showExtensionsManager":{YAo();break}case"place_auxiliary(horizontalLine)":{Wn()&&(Ca("setToolbarCmd",["place_auxiliary(horizontalLine)","horizontal"]),Ho.setTopBarItemChecked(t));break}case"place_auxiliary(verticalLine)":{Wn()&&(Ca("setToolbarCmd",["place_auxiliary(verticalLine)","vertical"]),Ho.setTopBarItemChecked(t));break}case"place_auxiliary(crossLine)":{Wn()&&(Ca("setToolbarCmd",["place_auxiliary(crossLine)","cross"]),Ho.setTopBarItemChecked(t));break}case"place_auxiliary(point)":{Wn()&&(Ca("setToolbarCmd",["place_auxiliary(point)"]),Ho.setTopBarItemChecked(t));break}case"createAnnotation":{vC()&&C.windowBridge.publish("createAnnotation",null,await Ra()),ty()&&C.messageBus.publish("createAnnotation",gi());break}case"exportAnnotation":{await RDe.handleExport();break}case"openIpcDac2552Dlg":{await Owo(e);break}case"OPEN_PARTITION_MANAGER":{let ne=(It.getActiveTab(ZT.containerId).tabId||"").split("@"),oe=ne[0]||"",re=ne[1]||"";await TCo({nowDocumentUuid:oe,nowDocumentPath:re});break}case"compareCoordinateFile":{glt.init();break}case"show_JLCFA_Parts":{window.open(C.HelpURL.JLCFA_Parts,"_blank");break}case"openPcbComparisonDlg":{ZFe();break}case"compareSchematic":{AKe();break}case"new_Simulation":{if(await ii("new_Simulation",{Cmd:t,Agrs:e}),!await uR())return;break}case"new_Sim_Model":{await ii("new_SimModel",e);break}case"commonButtonsNGSimSetting":{await ii("ng_sim_setting");break}case"export(SimulationList)":{let ee=await C.messageBus.rpcCall("getNGspiceNetlist");wWt(ee.message);break}case"setNGAnalysis":{let ee=e.menuId,ce=e.startDisable;v1(ee,!0);let ne=ce[ee];Ai.setNgSettingOfStartStatus(ne);break}case"runScript":{await ii("run_script");break}case"scriptManager":{await ii("script_manager");break}case"autoPinPlacement":{ADe({onChoose:async ee=>{let ce=(await C.messageBus.rpcCall("pro-sch/getPinData",gi())).message;it(ce,(oe,re)=>{let Y=re.reduce((ie,de,fe)=>(ie.push({index:fe,number:de[1],name:de[2]}),ie),[]);bht(Y,ee).forEach(ie=>{let de=re[ie.index];de[3]=ie.side,de[4]=ie.order})}),(await C.messageBus.rpcCall("pro-sch/schlibwizard_generateSymbol",{rows:Object.values(ce).flat(),pinLength:(await C.messageBus.rpcCall("pro-sch/schlibwizard_templatePinInfo")).message.pinLength||20,options:{isApplySCHLibWizard:!0}})).message&&De({type:"success",msg:"Pin auto placement finish"})}});break}case"openSetComponentMaskDialog":{await ii("componentMask");break}case"openAssemblyVariants":{j7o();break}case"show_videocapture":{let ee=navigator.userAgent,ce=/Windows NT (\d+\.\d+)/,ne=ee.match(ce);if(ne&&ne[1]==="6.1"){De({type:"info",msg:"Windows7 doesn't support video capture feature!"});return}if(iR.isRecording)return;await ii("video_capture");break}case"stop_video_capture":{iR.stopRecording();break}case"highlightNetsOfImportChanged":{if(!e||!Array.isArray(e))return;let[ee,ce]=e;if(!ee||ee.length==0)return;if(ce&&(ce.pcbPageId&&ce.source=="sch2pcb"||ce.source=="file2pcb")){await Ud(ce.pcbPageId,{isActive:!0,unUpdatePartition:!0});let ne=await he.getTabIFrame();C.windowBridge.publish("highlightNet",{nets:ee,needAdaptAll:!0,isHighlight:!1},ne.contentWindow);return}C.messageBus.publish("sch/highlightNets",ee);break}case"highlightNetsByDataName":{if(!e||!Array.isArray(e))return;let[ee,ce,ne]=e;if(!ce)return;if(ne&&(ne.pcbPageId&&ne.source=="sch2pcb"||ne.source=="file2pcb")){await Ud(ne.pcbPageId,{isActive:!0,unUpdatePartition:!0}),C.windowBridge.publish("highlightNetsByDataName",{dataTargetType:ee,name:ce,needAdaptAll:!0,isHighlight:!1},await Ra());return}ee=="DifferentialPair"?C.messageBus.publish("sch/highlightNetsByDPName",e):C.messageBus.publish("sch/highlightNetsByClassName",e);break}case"showAndUpdateCross":{if(!e)return;C.messageBus.publish("showAndUpdateCross2Pcb",e);break}case"openProjectSettingDialog":{hve();break}case"openDeviceStandardizationTab":{(0,e3.default)("#layout_toggler_bottom").hasClass("close")&&Pn("layout_toggler_bottom",!1,!0),co.handleClick("device-standardization");break}case"openJlcPcbLayoutServiceSelectDialog":{if(Fn){window.open(C.HelpURL.order_layout,"_blank");return}await ii("orderJlcPcbLayoutService");break}case"checkJLCPCBPersonCoupon":{if(!vo)break;fetch("/api/getJLCPCBPersonCouponsInfo").then(ee=>ee.json()).then(ee=>{var ce;ee.success&&((ce=ee.result)==null?void 0:ce.received_flag)===!1&&Ut({type:"info",message:"Exclusive JLCPCB offer<br/>$35 OFF your multilayer PCB order!",isHtml:!0,textOK:"Get coupon Now",onConfirm(){window.open("https://jlcpcb.com/resources/multi-layer-pcb?from=edaml","_blank")}})},ee=>{});break}default:var d=t==null?void 0:t.match(/\((.*?)\)$/);if(d){var u=t.split(d[0])[0];let ee=d[1];switch(u){case"runRegisteredExtensionFn":WAo(ee);break;case"show_help_file":yM(ee);break;case"set_language":t4.setRenderTicket(),Jst(ee);break;case"export":jAi(ee);break;case"commonButtonsSetting":if(ee=="CLIENT"){LA();break}Qc({menuSelected:ee,...e||{}},(e||{}).callback);break;case"partTree":el.partTreeCommand(ee);break;case"importFile":wC(ee);break;case"importFileForSmt":wC(ee,"smt");break;case"switchGridSizeBtn":{let ce=ee.replace("size_","");Ho.switchGridSizeBtn({value:ce});break}case"drawpartition":return Ic(t,e);case"setSchFilterPanelSelect":{Xv.changeCurrentSelected(ee);break}case"setSymbolFilterPanelSelect":{eD.changeCurrentSelected(ee);break}case"setSheetSymbolFilterPanelSelect":{$v.changeCurrentSelected(ee);break}case"setPanelFilterPanelSelect":{let ce=he.getActiveTab(),ne=wr(ce)[0];tD[ne].changeCurrentSelected(ee);break}case"setFootprintFilterPanelSelect":{kP.changeCurrentSelected(ee);break}case"setPCBFilterPanelSelect":{PP.changeCurrentSelected(ee);break}case"changeVariantViewMode":{R7.openTipsDialog(ee);break}case"joinComponentGroup":{ee&&D7o(ee,e.tabId,e.selectedIds);break}case"runScriptItem":{await Fa.runScriptItem({scriptName:ee});break}default:if(i){Ic(t,e);return}else return u=="toggleView"&&dt()==ve.PANEL3D?Ic(t,e):o?XGt(t,e):LT(t,e)}}else{if(t==="new_page"&&!await uR())return;if(dt()===ve.ASSEMBLY_VARIANT&&["undo","redo"].includes(t))return bSe(t),!1;if(i)Ic(t,e);else{if(o)return XGt(t,e);if(t==="generateOrUpdateBlockSymbol2"&&(e.owner=C.currentProject.owner),t==="openDxfExportDlg")return NCo();if(t==="differentialPairManager")return tVe();if(t==="netClassManager")return V$e();if(t==="equalLengthGroupManager")return H$e();C.messageBus.publish("doCommand",[t,e])}}break}}async function CP(t){if(!Je){t();return}await R2().then(e=>{let i=!e.length;e.length==1&&(i=bT(e[0].uuid)),i?Ut({type:"confirm",message:"The library does not exist yet, please create it first!",textOK:"OK",onConfirm:()=>{Gg()}}):t()})}async function Ern(t=!0){if(C.currentProject.isCBB)return!1;if(!await Hnt()){zi.showNoPermission();return}if(!await uR())return;let i={name:"Panel_1",material:"acrylic",thickness:"0.8",craft:"Transparent",print:"Bottom Side",cover:"white",desc:""},{message:o}=await C.messageBus.rpcCall("/panel/create/new",i),r;(c=>(c[c.titleError=422]="titleError",c[c.success=0]="success"))(r||(r={}));let{success:n,message:a}=o;if(n){let{result:s}=o;return Ga.isConcurrentStrictMode&&!Er()&&Ga.checkInAndOut("check_out",s.uuid),await C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.CREATE_SHEET,content:[{"Panel Name":s.display_title}],project_uuid:C.currentProject.projectId}]),t&&await yn({uuid:s.uuid}),s}else Ot("error",a,void 0,!0)}var cn=class t{static parseURLTabId(e){let[i,o]=wr(e),r=i.charAt(0)==="*";r&&(i=i.slice(1));let n=i.charAt(0)==="!";n&&(i=i.slice(1));let a="",s=i.match(/\(device\)([\w\d]+)/);return s&&(a=s[1],i=i.replace("(device)"+a,"")),{uuid:i,path:o,deviceUuid:a,isSymbol:n,isActive:r}}static extractFileId(){let e=t.getHash("tab"),i=[];return e&&(i=e.split("|")),i}static extractProjectId(){return t.getHash("id")}static extractSmt(){return t.getHash("smt")}static extractWel(){return t.getHash("wel")}static creatEditorByHash(e){let i=t.getHash("cmd"),o=t.getHash("cmd_for_project"),r=t.getHash("mode");r=r||"std",e=="hashchange"&&C.messageBus.publish("doCommand_ui",["changeMode",r]),i&&(o?C.messageBus.publish("doCommand_ui",[i,{project:o}]):C.messageBus.publish("doCommand_ui",[t.getHash("cmd")]),t.removeHash("cmd"),t.removeHash("cmd_for_project"))}static extractShareWith(){return t.getHash("from")}static async addFileId(e,i){if(!(!e||cko(e))&&!location.href.includes(e)){if(pr(i)){let[o,r]=wr(e),n=lo(o.replace("!",""),r);await he.getTabIFrame(n)&&C.messageBus.rpcCall("sch/getDeviceDetail",n).then(({message:s})=>{s&&(e=lo(o+`(device)${s.uuid}`,r)),t.addDoNext(e)})}else if(i===se.FOOTPRINT){let o=C.footprintMap[e.replace("!","")];o&&o.deviceDetail&&(e=e+`(device)${o.deviceDetail.uuid}`),t.addDoNext(e)}if(lko(i))return t.addDoNext(e)}}static addDoNext(e){let i=t.extractFileId();i=i.map(n=>n.replace("*",""));let o=i.indexOf(e);o<0?i.push("*"+e):i[o]="*"+i[o];let r=i.join("|").replace(/^\|+|\|+$/g,"").replace(/\|\|+/g,"|");t.replaceHash("tab",r)}static removeFileId(e){if(!e)return!1;let i=t.extractFileId();for(let r=0;r<i.length;r++)i[r]=i[r].replace("*",""),i[r]=i[r].split("-")[0],i[r]=i[r].replace(/\(device\)[\w\d]+/,"");let o=i.indexOf(e);if(o===-1&&(o=i.indexOf("!"+e)),o===-1&&(o=i.indexOf("~"+e)),o>=0){i=t.extractFileId(),i.splice(o,1);let r=i.join("|").replace(/^\|+|\|+$/g,"").replace(/\|\|+/g,"|");return this.setHash("tab",r,!0),!0}}static removeFileIds(e){if(!e||!e.length)return;let i=t.extractFileId();for(let r=0;r<e.length;r++){let n=i.indexOf(e[r]);n>=0&&i.splice(n,1)}let o=i.join("|").replace(/^\|+|\|+$/g,"").replace(/\|\|+/g,"|");t.replaceHash("tab",o)}static replaceFileId(e,i){if(e==i)return;let o=t.getHash("tab");o.includes(i)||t.replaceHash("tab",o.replace(e,i))}static handleDeviceFileId(e,i){if(e==i)return;let o=t.getHash("tab");o.includes(i)&&i.includes("(device)")||t.replaceHash("tab",o.replace(e,i))}static switchModeHash(e){e&&(e=e==="std"?"":e,t.setHash("mode",e,!0,!0))}static replaceHash(e,i){t.setHash(e,i,!0)}static setHash(e,i,o,r){let n=location.hash,a,s;if(a=new RegExp(`(,?${e})=([^,#&]*)`),s=n.match(a),s)n=n.replace(s[0],i?s[1]+"="+i:"");else{if(i==="")return;if(r)if(n[0]!="#")n=e+"="+i+n;else{let l=n.substr(1,n.length);l[0]!==","&&(l=","+l),n=e+"="+i+l}else n+=(!n||n&&n[n.length-1]==","?"":",")+e+"="+i}if(n[0]!="#"&&(n="#"+n),t.isSetByScript=!0,o&&n){let l=location.pathname+location.search+n;location.replace(l)}else location.hash=n;setTimeout(function(){t.isSetByScript=!1},50)}static getHash(e,i){let o=i||location.hash,r=new RegExp("\\b"+e+"=([^,#&]+)"),n=o.match(r);return n?decodeURIComponent(n[1]):""}static removeHash(e,i){let o=i||location.hash,r=new RegExp(",?\\b"+e+"=([^,#&]+)");o.replace(r,"")!=o&&(location.hash=o.replace(r,""))}static getBatchExportIds(e){let i=location.hash,o=new RegExp("\\b"+e+"=([^#&]+)"),r=i.match(o),n=r?decodeURIComponent(r[1]):"";return n?n.split(","):[]}static removeBatchExport(e){let i=location.hash,o=new RegExp(",?\\b"+e+"=([^#&]+)");i.replace(o,"")!=i&&(location.hash=i.replace(o,""))}static getExtractHistory(e){let i=location.hash,o=new RegExp("\\b&"+e+"=(true|false)"),r=i.match(o),n=r?decodeURIComponent(r[1]):"";return n&&!!n}static removeExtractHistory(e){let i=location.hash,o=new RegExp("&"+e+"=(true|false)");i.replace(o,"")!=i&&(location.hash=i.replace(o,""))}static getImportPrj(e){let i=location.hash,o=new RegExp(`\\b,?${e}=?([a-z\\d]+)?`);return i.match(o)}static removeImportPrj(e){let i=location.hash,o=new RegExp(`\\b,?${e}=?([a-z\\d]+)?`),r=i.match(o);if(r&&r[0]){let n=r[0],[a,s]=n.split("=");location.hash=i.replace(o,""),s&&t.addProjectId(s)}}static getHashIdPrefix(e){switch(e){case se.SCH:return"";case se.BLOCK_SYMBOL:case se.PART:case se.NETFLAG:case se.NETPORT:case se.OFF_PAGE_CONNECTOR:case se.DIFF_PAIRS_FLAG:case se.SHEET_SYMBOL:case se.NONEELEC_SYMBOL:case se.SHORT_SYMBOL:case se.FOOTPRINT:case se.FOOTPRINT:return"!";default:return""}}static getInfoByHashId(e){if(!e)return;let i=e.match(/^([^\da-zA-Z_\$]*)([\da-zA-Z_\$]+)(?:\/([\da-zA-Z_\$]+))?$/);if(!i||!i[2])return;let o;return i[1]===""?o={docType:se.SCH}:i[1]==="!"?o={docType:se.PART}:o={},o.hashId=e,o.fid=i[2],o.version=i[3]||"",o.datastrid=i[3]||"",o}static getHashIdByFidAndType(e,i){return!e||cko(e)?"":e.match(/^[^\da-zA-Z]/)?e:t.getHashIdPrefix(i)+e.replace(/^[^\da-zA-Z]+/,"")}static listenHashchange(){window.addEventListener("hashchange",async function(e){if(t.isSetByScript)return;t.creatEditorByHash("hashchange");let i=e.oldURL,o=e.newURL;if(i==o)return;let r=t.extractFileId(),n=await Ra();r.length&&r[0].startsWith("+")&&C.messageBus.publish("openArchiveProject",[r[0]],n),t.isSetByScript=!0,location.hash=location.hash.replace(/,{2,}/,","),t.isSetByScript=!1},!1)}static addProjectId(e,i){if(!e)return;let o=t.getProjectIdByHash();o&&o===e||location.href.includes("#id="+e)||t.setHash("id",e,!0,!0)}static getProjectIdByHash(){if(!location.hash.split("#")[1])return;let i,o=t.getHash("id").split("|");for(let r of o)if(/^[a-z0-9]+/i.test(r)){i=r;break}return i}static changeActivePage(e,i){var a;if(e===void 0||((a=he.getTabData(e))==null?void 0:a.isReadOnlyMode)||isNaN(i)||i===0)return;se.SCH===i?n(e):pr(i)||se.FOOTPRINT===i||se.PANEL_LIB===i?r(e,i):[se.PCB,se.PANEL,se.NGSPICE,se.SIMULIDE].includes(i)&&n(e);function r(s,l){let[c,d]=wr(s),u=window.location.href.replace(/\*/g,"").replaceAll(/\(device\)[\w\d]+/g,"");if(!u.includes(s)){t.addFileId("!"+s,l);return}u=window.location.href.replace(/\*/g,"").replace("!"+c,"*!"+c),window.location.href=u}async function n(s){let l=s.includes("_")?(await C.messageBus.rpcCall("getModelTabId",s)).message:s,c=window.location.href,d=c.replace(/\*/g,"");if(d.includes("tab=")){let u=!1,p=t.getHash("tab"),m=p.split("|");for(let h=0;h<m.length;h++){let f=m[h].replace("*","");if((f.includes("_")?(await C.messageBus.rpcCall("getModelTabId",f)).message:f)===l){p=p.replace(/\*/g,"").replace(f,"*"+s),u=!0;break}}if(u){t.setHash("tab",p,!0);return}else if(d.includes("|!")){let h=d.indexOf("|!"),f=d.substring(0,h),g=d.substring(h),b=`|*${s}`;d=f+b+g}else{let h=t.getHash("tab");t.setHash("tab",h+`|*${s}`,!0);return}}else{let u="",p=d;/id=/.test(p)?u=`,tab=*${s}`:p.endsWith("#")?u=`tab=*${s}`:u=`#tab=*${s}`,d=p+u}d!=c&&(window.location.href=d)}}static deletePage(e){let i=he.getDoctypeByTabId(e);(se.SCH===i||[se.PCB,se.PANEL].includes(i))&&o(e);function o(r){window.location.href=window.location.href.replace("|*"+r,"").replace("*"+r+"|","").replace("*"+r,"").replace("|"+r,"").replace(r+"|","").replace(r,""),(window.location.href.endsWith("tab=")||window.location.href.includes("tab=|!"))&&(window.location.href=window.location.href.replace(/,?tab=/,""))}}static listenTabChange(){C.messageBus.subscribe("onDocFocus",e=>{let{tabId:i,docType:o}=e;t.changeActivePage(i,o)})}static removeTabCache(e){let i=sessionStorage.getItem("activeTab");C.sessionStorageTabs instanceof Set&&C.sessionStorageTabs.has(e)&&C.sessionStorageTabs.delete(e),i===e&&sessionStorage.removeItem("activeTab")}};function cko(t){return t||(t="sheet-"),t.indexOf("sheet-")>-1}var VDe=L(uko()),Ult=L(z()),Arn=()=>(Ae(VDe.default),(0,Ult.jsx)("div",{style:{textAlign:"center",width:"36px",height:"36px",overflow:"hidden",margin:"0 auto",marginTop:"35px"},className:VDe.default.locals.rotation,children:(0,Ult.jsx)("i",{className:VDe.default.locals["icon-eda-loading"],style:{fontSize:"36px",color:"rgb(38,44,50)"}})})),Uye=null,Fye=null,Flt="rightBottomLoadingDialog",pko=t=>{Uye||Fye||le.isOpen(Flt)||($2t(VDe.default),Uye=setTimeout(()=>{Fye=le.open({id:Flt,width:150,height:150,title:t,mask:!1,centered:!0,dragged:!1,children:(0,Ult.jsx)(Arn,{})}),Uye=null,Fye.then(()=>Fye=null)},100))},mko=async()=>{Uye?(clearTimeout(Uye),Uye=null):(Fye&&await Fye,le.isOpen(Flt)&&le.close(Flt))};var i7t={_hooks:{},addHook:function(t,e){this._hooks[t]=e},removeHook:function(t){delete this._hooks[t]},execHooks:function(t){var e=Lft(),i=vft(),o=Gw.winWidth,r=Gw.winHeight;if(!(e==o&&i==r)){Gw.winWidth=e,Gw.winHeight=i;for(var n in this._hooks)Object.hasOwnProperty.call(this._hooks,n)&&this._hooks[n].call(null,e,i,o,r)}}},Ol=class{static base(e,i,o,r,n){typeof o=="function"&&(n=r,r=o,o=void 0);var a=e;e=="POSTJSON"&&(a="POST");var s={type:a,url:i,cache:!1,dataType:"json"};return e=="POSTJSON"&&(o=o||{},typeof o=="object"?o=JSON.stringify(o):o=o.toString(),s.contentType="application/json; charset=utf-8"),n=n||{},n&&(s.headers=n),o&&(o.timeout&&(s.timeout=o.timeout,delete o.timeout),o.dataType&&(s.dataType=o.dataType,delete o.dataType),s.data=o),this.wrap(r,s),ice.default.ajax(s)}static get(e,i,o,r){return this.base("GET",e,i,o,r)}static put(e,i,o,r){return this.base("PUT",e,i,o,r)}static post(e,i,o,r){this.base("POST",e,i,o,r)}static postJSON(e,i,o,r){return this.base("POSTJSON",e,i,o,r)}static wrap(e,i){e&&(i.success=function(o){i.dataType&&i.dataType!="json"||(o=o||{},o.error=o.error||{},o.error.message=o.error.message||""),e(o)},i.error=function(o,r,n){e({success:!1,error:{message:"Network Failure!"}})})}};Ts.count=0;Ts.id="editor-interval-progress";function Ts(){return Ts.count++,Tv.isOpen(Ts.id)||Tv.open({id:Ts.id,interval:10,showValue:!1,value:0,onClose:()=>Ts.count=0}),Zr}function Zr(){Ts.count--,Ts.count<0&&(Ts.count=0),Tv.isOpen(Ts.id)&&Ts.count===0&&Tv.close(Ts.id)}function hko(t){t=t||wi?"Saving":"Connecting to server",pko(t)}function EX(t){kr("updateSaveIndex",[],t),t&&he.setTabUnSaved(t,0)}function yM(t,e=window){C.HelpURL&&!Object.hasOwnProperty.call(C.HelpURL,t)&&(t="tutorials"),C.HelpURL[t]?e.open(C.HelpURL[t],"_blank"):console.error("HelpURL for this topic is not found")}var Nrn={shouldFixSize:!1,hightLightIds:[],customStyle:"",targetType:"SVG"};async function Rf(t,e=Nrn){let{shouldFixSize:i=!1,hightLightIds:o=[],customStyle:r="",targetType:n="SVG"}=e;var a=ice.default.Deferred();await s(t);async function s(l){var c=l.partSvgStr||l.svgStr;let d='g:not([c_partid="part_pin"])>text[c_partid="part_attr"]{display:none}',u=`${r||""}`;if(o){let g=Wi("OBJECT","theme",{readValueKey:!1}),b=g[g.activeTheme].color.select||"red";o.forEach((y,w)=>{let x=`[id="${y}"]`;u+=`
					${x} {
						stroke: ${b} !important;
					}
					${x} path {
						stroke: ${b} !important;
					}
					${x} text {
						stroke: none !important;
   	 					fill: ${b} !important;
					}
					${x} text[attr-key="Pin Name"] {
						stroke: none !important;
   	 					fill: ${b} !important;
					}
					${x} text[attr-key="Pin Number"] {
						stroke: none !important;
   	 					fill: ${b} !important;
					}
					${x} circle.pindot {
						stroke: ${b} !important;
					}
				`})}c=c.replace("><",`><style>${u}${d}</style><`);var p,m=(0,ice.default)("#get-bbox")[0];m||(m=OEo("svg",{id:"get-bbox",style:"position:absolute;left:-9999px;top:-9999px;"}),(0,ice.default)("body").append(m));var h=pAo(c);m.appendChild(h),setTimeout(async function(){p=h.getBBox()||{x:0,y:0,width:0,height:0},p.width=p.width||30,p.height=p.height||30,m3(h),f()},100);async function f(){var N,R;p.width|=0,p.height|=0;var g=0,b=0;i&&(p.width>p.height?(b=p.width-p.height,p.height=p.width):p.height>p.width&&(g=p.height-p.width,p.width=p.height));let y=p.width/8,w=p.height/8;p={x:p.x-y-g/2,y:p.y-w-b/2,width:p.width+y*2,height:p.height+w*2};let x=p.width,S=p.height;(e.w||e.h)&&(e.w&&e.h?(x=e.w,S=e.h):e.w?(x=e.w,S=S*(x/p.width)):e.h&&(S=e.h,x=x*(S/p.height)));let T=zb(),M=(R=(N=T[T.activeTheme])==null?void 0:N.color.canvas)!=null?R:"#ffffff",I=`<rect id="gridBg" pointer-events="none" x="${p.x}" y="${p.y}" width="100%" height="100%" fill="${M}" stroke="none" />`;c=c.replace("><style>",' width="'+p.width+'" height="'+p.height+'" viewBox="'+[p.x,p.y,p.width,p.height].join(" ")+`">${I}<style>`),c='<?xml version="1.0" encoding="utf-8" standalone="no"?>'+c;var A="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(c)));n==="PNG"&&(A=await ue.svg2png(A,{targetType:"dataURL",width:x,height:S}));let D=300,E=130;x>D&&(S=S*D/x|0,x=D),S>E&&(x=x*E/S|0,S=E),a.resolve({src:A,svg:c,w:x,h:S,bg:M})}}return a.promise()}function k2(t){let e=Ee,{tabId:i=gi(),docType:o=dt()}=t||{},r=o===se.HOME,n=C.currentProject.isCBB;return s();function s(){if(r)return e.HOME;if(!o||o===0)return n?e.CBB_BLANK:e.COMMON_BLANK;if(o===se.SCH){let m=i,h=he.isBlockSymbolSheet(m);return ol(m)?e.SCH_INSTANCE:n&&h?e.CBB_BLOCK_SCH:!n&&h?e.BLOCK_SCH:n&&!h?e.CBB_SCH:!n&&!h?e.SCH:n?e.CBB_SCH:e.SCH}if(o===se.NGSPICE){let m=i,h=he.isBlockSymbolSheet(m);return ol(m)?e.SCH_INSTANCE:n&&h?e.CBB_BLOCK_SCH:!n&&h?e.BLOCK_SCH:n&&!h?e.CBB_SCH:!n&&!h?e.NGSPICE:n?e.CBB_SCH:e.NGSPICE}if(o===se.WAVEFORM)return e.WAVEFORM;if(o===se.SIMULIDE)return e.SIMULIDE;switch(o){case se.PART:return e.PART;case se.BLOCK_SYMBOL:return e.BLOCK_SYMBOL;case se.NETFLAG:case se.SHORT_SYMBOL:return e.NETFLAG;case se.NETPORT:return e.NETPORT;case se.OFF_PAGE_CONNECTOR:return e.OFF_PAGE_CONNECTOR;case se.DIFF_PAIRS_FLAG:return e.DIFF_PAIRS_FLAG;case se.SHEET_SYMBOL:return e.SHEET_SYMBOL;case se.NONEELEC_SYMBOL:return e.NONEELEC_SYMBOL;case se.PCB:return e.PCB;case se.FOOTPRINT:return e.FOOTPRINT;case se.PHOTOVIEW:return e.PCB2D;case se.VIEW3D:return e.PCB3D;case se.PCBLIB3D:return e.PCB3D;case se.SCHMODULE:return e.SCHMODULE;case se.PCBMODULE:return e.PCBMODULE;case se.PANEL:return e.PANEL;case se.PANEL_LIB:return e.PANEL_LIB;case se.PANEL3D:return e.PANEL3D;case se.ASSEMBLY_VARIANT:return e.ASSEMBLYVARIANT;default:return e.OTHER}}}async function fko(t,e){if(!navigator.onLine||!(t||br()))return;let i=await mI.getProjectList();if(!i.success)return;let o=i.result;if(!o||!o.length){Rc.setRecentProject([]),(0,ice.default)("#recent_lists").html("");return}let r=0,n="",a=[];for(;r<o.length;r++)if(Je){let s=o[r],l=s.wholePath||"",c=s.updateTime,d=` cmd="openRecentProject" cPath="${l}"  updateTime="${c}" `,u=s.projectName,p="<li"+d+">"+u+"</li>";n+=p,a.push({text:u,cmd:"openRecentProject",cPath:l,updateTime:c})}else{let s=o[r],l=s.uuid||"",c=s.updateTime,d=` cmd="openRecentProject" projectId="${l}"  updateTime="${c}" `,u=s.owner,p=s.title+(u?" - "+u:""),m="<li"+d+">"+p+"</li>";n+=m,a.push({text:p,cmd:"openRecentProject",projectId:l,updateTime:c})}Rc.setRecentProject(a),(0,ice.default)("#recent_lists").html(n)}async function mFe(){let e=(await kSt(C.currentProject.projectId,5)).map(i=>({cmd:"openRecentVersion",version:i}));Rc.setRecentVersion(e)}async function uOt(t,e){let i=e.chose;if(delete e.chose,i){switch(i){case"closeProject":await Ote(t);break;case"closeOthers":await Ote(t,!1,{filterTabid:e.filterTabid||""});break;case"closeAll":await Ote(t,!1);break;case"newproject":{et("new_project");break}case"continueopenproject":{await Ote(t,!1);let{uuid:o,options:r}=_a.target;await Os({uuid:o,options:r}),_a.target={};break}case"importExistPrj":{await Ote(t,!1);let{uuid:o,options:r}=_a.target;await Os({uuid:o,options:r})&&r.importData&&ij({datas:r.importData,options:{projectId:o,projectTitle:r.projectTitle}}),SP.hasTask()&&await SP.flushTasks(),_a.target={};break}case"newcbb":{et("new_CBB");break}case"changeVersion":{await Ote(t,!1);let o=Q5.getInstance(),{uuid:r,options:n}=_a.target,a=o.get(r);a&&await a.close(),await Os({uuid:r,options:n})&&n.importData&&ij({datas:n.importData,options:{projectId:r,projectTitle:n.projectTitle}}),_a.target={};break}}_a.chose=void 0;return}if(t){let o=[se.PCB,se.SCH,se.PANEL],{tabid:r,beforeClose:n,doctype:a}=e;if([se.PCB,se.FOOTPRINT,se.FOOTPRINTVIEW].indexOf(+e.doctype)>=0){let s=!1;if(a==se.FOOTPRINT){let l=dF.getTask(r);l!=null&&(await l.execute(),await he.closeTopTab(r),s=!0)}s||(await new yle(r).todo()?(De({type:"success",msg:"Saved successfully!"}),o.includes(a)&&n&&await n(),he.setTabUnSaved(r,!1),await he.closeTopTab(r)):De({type:"error",msg:"Save failed!"}))}else(await new Qm(r,e).todo()).success?(De({type:"success",msg:"Saved successfully!"}),o.includes(e)&&n&&await n(),await he.closeTopTab(r)):De({type:"error",msg:"Save failed!"})}else{let{docType:o,tabid:r}=e;if(Fh(o)){await Xb(r),await C.messageBus.rpcCall("closeAndDontSaveSheet",r);let n=he.getAllTabIdByDoctype(se.SCH);C.messageBus.publish("closeUnExistInstancePage",n.filter(a=>ol(a)))}else Xb(gi())}}function jnt(t,e){var o;let i=((o=he.getTabById(t))==null?void 0:o.data)||{};return!!(pr(i.doctype)&&e&&i.pid===e)}async function Ote(t,e=!0,i={}){let{filterTabid:o}=i,{unsaveFileTabId:r,savedFileTabId:n}=ap(o),a=_a.target,s=mJ(),l;s?(C.messageBus.publish("/pro-mgr/project/sync/suspend"),C.messageBus.publish("startBatch",C.currentProject.projectId)):l={checkTicket:!1};try{it(r,(f,g)=>{let b=he.getTabById(g),y="edtfootprint-trigger-tabid";b!=null&&b.data&&b.data[y]&&he.deleteTabDataByKey(g,y)});async function c(f){for(let g=0;g<f.length;g++){let b=f[g];if(a&&jnt(b,a))continue;if(Fh(he.getTabDocType(b))&&await C.messageBus.rpcCall("syncSymbolsNets100",b),!t){await Xb(b);continue}if(!await wle(b,void 0,l))return!1}return!0}async function d(f){for(let g=0;g<f.length;g++){let b=f[g];a&&jnt(b,a)||await he.closeTopTab(b)}}let u=he.getActiveTab(),p=r.indexOf(u),m=n.indexOf(u);p>-1?r.push(r.splice(p,1)[0]):m>-1&&n.push(n.splice(m,1)[0]);for(let f=0;f<r.length;f++){let g=r[f],[b,y]=wr(g);if(hje.test(b)){let[w,x]=b.split("_"),S=lo(w),T=r.indexOf(S),M=n.indexOf(S);T>-1?r.push(r.splice(T,1)[0]):M>-1&&n.push(n.splice(M,1)[0])}}if(!await c(r))return!1;if(await d(n),s){await C.messageBus.rpcCall("/pro-mgr/project/upload/force");let{message:f}=await C.messageBus.rpcCall("/pro-mgr/project/upload/getStatus");if(t&&De({type:f?"error":"success",msg:f?"Save failed!":"Saved successfully! ",timer:3}),C.messageBus.publish("/pro-mgr/project/sync/resume"),await C.messageBus.rpcCall("/pro-mgr/project/sync/force"),!f&&e){let g=_a.current;Bnt(g.uuid)&&await Xg(g.uuid,void 0,void 0,!0)}}return!0}finally{s&&await C.messageBus.rpcCall("endBatch",C.currentProject.projectId),_a.chose=void 0}}var Rte=class Rte{static getAllWorkingEleObj(){let e=Rte;return{for:(0,xWt.default)(`*[${e.forAttr}]`),un_for:(0,xWt.default)(`*[${e.un_forAttr}]`)}}static getAttrArray(e){if(e=SD(e),!e)return[];let i=e.split(","),o=[],r;for(let n=0;n<i.length;n++)r=SD(i[n]),r&&o.push(r);return o}static isShow(e,i,o){if(i=SD(i),!i||!e)return!0;let n=Rte.getAttrArray(i).indexOf(e)>=0;return o?!n:n}static async switchTopMenuVisible(e=k2()){let i=Rte,o=i.getAllWorkingEleObj(),r=o.for,n=o.un_for,a=0,s,l,c,d=new Map;if(r&&r.length)for(a=0;a<r.length;a++)l=r[a],s=rn(l,i.forAttr),c=i.isShow(e,s),d.set(l,c);if(n&&n.length)for(a=0;a<n.length;a++)l=n[a],s=rn(l,i.un_forAttr),c=i.isShow(e,s,!0),d.set(l,c);d.forEach((u,p)=>{let m=u?"":"none";m!=p.style.display&&(p.style.display=m),d.delete(p)})}};Rte.workingClass="forWorking",Rte.forAttr="for-working",Rte.un_forAttr="un-for-working";var kte=Rte;var Vlt={lastCoordinate:"",lastViewType:""},Ho={nextGridStyle:{dot:"line",line:"not",not:"dot"},nextSimStatus:{pause:"start",start:"pause"},dataCmd:{home:"new_board",nowrap:"new_board",sch:"new_board",cbb0:"new_schematic",cbb1:"new_schematic",panel:"new_Panel",part:"partTree(newPart)"},isComply:!0,orderArray:[],cmdToToolBarMap:{boxselect:"adaptAreaSelectionView","draw(ROutline)":"draw(ROutline)","draw(COutline)":"draw(COutline)","draw(POutline)":"draw(POutline)","draw(RSlot)":"draw(RSlot)","draw(CSlot)":"draw(CSlot)","draw(PSlot)":"draw(PSlot)","draw(RCopper)":"draw(RCopper)","draw(CCopper)":"draw(CCopper)","draw(PCopper)":"draw(PCopper)","draw(RRegion)":"draw(RRegion)","draw(CRegion)":"draw(CRegion)","draw(PRegion)":"draw(PRegion)","draw(RProhibit)":"draw(RProhibit)","draw(CProhibit)":"draw(CProhibit)","draw(PProhibit)":"draw(PProhibit)","draw(arcCenter)":"draw(arcCenter)","draw(arc2)":"draw(arc2)","draw(arc)":"draw(arc)","draw(bezier)":"draw(bezier)","draw(Line)":"draw(Line)","draw(circle)":"draw(circle)","draw(ellipse)":"draw(ellipse)","draw(rect)":"draw(rect)","draw(dimension)":"draw(dimension)","draw(protractor)":"draw(protractor)","draw(radius)":"draw(radius)","place_part(short_symbol)":"place_special_part(short_symbol)","place_part(netflag_VCC)":"place_special_part(netflag_VCC)","place_part(netflag_5V)":"place_special_part(netflag_5V)","place_part(netflag_gnD)":"place_special_part(netflag_gnD)","place_part(netflag_GNd)":"place_special_part(netflag_GNd)","place_part(netflag_gNd)":"place_special_part(netflag_gNd)","place_part(netport_IN)":"place_special_part(netport_IN)","place_part(netport_OUT)":"place_special_part(netport_OUT)","place_part(netport_BI)":"place_special_part(netport_BI)","place_part(offPageConnector_IN)":"place_special_part(offPageConnector_IN)","place_part(offPageConnector_OUT)":"place_special_part(offPageConnector_OUT)","place_part(offPageConnector_BI)":"place_special_part(offPageConnector_BI)","place_part(diffPairsFlag)":"place_part(diffPairsFlag)","place_device(resistor)":"place_shortcut_device(resistor)","place_device(capacitor)":"place_shortcut_device(capacitor)","place_device(inductor)":"place_shortcut_device(inductor)","place_device(diode)":"place_shortcut_device(diode)","place_device(test_point)":"place_shortcut_device(test_point)"},adjust:function(t){let{tabId:e=gi(),docType:i=dt()}=t||{},o=k2({tabId:e,docType:i});kte.switchTopMenuVisible(o),Ho.switchMenuVisibleByAttr(o),Po.setWorkingMode(o)},async switchMenuVisibleByAttr(t=k2()){if(vo){let e="visible-attr",i="un-easyeda-",o=(0,HDe.default)(`*[${e}^="${i}"]`);for(let r=0;r<o.length;r++){let n=o[r];(rn(n,e).split(i)[1]||"").split(",").map(s=>s.trim()).includes(t)&&(0,HDe.default)(n).hide()}}},tabSwitchAction(t=dt()){J9e(t)},setTopBarItemChecked:function(t,e){var o;let i=Ho.cmdToToolBarMap[t];t==="toolbar_toggle(leftbar)"||t==="toolbar_toggle(rightbar)"||t==="toolbar_toggle(bottombar)"||t==="ToolLink"||t==="selectFilter"||t==="filterAttr"||t==="toggleAdsorb"||t==="showRuler"?e!=null?Ai.setSelectCmd({[i||t]:e}):Ai.setSelectCmd({[i||t]:!((o=Ai.selectCmdSet[i||t])!=null&&o.value)}):Ai.setOnlySelectCmd(i||t)},setShowAction:function(t,e){t&&!e?(Ai.setSelectCmd({"toolbar_toggle(leftbar)":!0,"toolbar_toggle(rightbar)":!0,"toolbar_toggle(bottombar)":!0}),si.setCheckboxStatus("mm-common-view","toolbar_toggle(leftbar)",!0),si.setCheckboxStatus("mm-common-view","toolbar_toggle(rightbar)",!0),si.setCheckboxStatus("mm-common-view","toolbar_toggle(bottombar)",!0)):(si.setCheckboxStatus("mm-common-view",`toolbar_toggle(${e})`,t),Ai.setSelectCmd({[`toolbar_toggle(${e})`]:t}))},switchViewBtn:function(t){t=t||"normal",Vlt.lastViewType!=t&&(Vlt.lastViewType=t,si.setRadioStatus("mm-common-view","switchView",`switchView(${t})`))},switchCoordinateBtn:function(t){if(t=t||"cartesian",Vlt.lastCoordinate==t)return;Vlt.lastCoordinate=t,si.setRadioStatus("top-menu-view-gridTypeMenu","coordinate",`swithCoordinate(${t})`);let e=hn();Td.status.coordinateType=t=="cartesian",Ho.updateCustomMenuItem({gridSize:e.PCB_COMM_GRID_SIZE.commonlyList||[],trackWidth:e.PCB_COMM_TRACK_WIDTH.commonlyList||[]})},switchGridTypeBtn:async function(t,e=!0,i=gi()){let o,r="icon-eda-grid-"+t,n;e?(o={grid:"line",outlets:"dot",none:"not"}[t]||(["line","dot","not"].includes(t)?t:"line"),r="icon-eda-grid-"+o,n="top-menu-view-gridTypeMenu"):n="top-menu-view-gridTypeMenu_sch",si.setRadioStatus(n,"GridType",`switchGridType(${t})`),r&&(Ai.setGridStyleValue(r),LC.hasItem(i)&&LC.getItem(i).canvasGridStyleStore.setValue(r))},switchSimStatusTypeBtn:async function(t,e=gi()){let i="icon_eda_sim_"+t,o;o="mm-common-sim",si.setRadioStatus(o,"SimStatusType",`switchSimStatusType(${t})`),i&&Ai.setSimStatusStyleValue(i)},switchGridSizeBtn:function({value:t},e){if(si.setRadioStatus("top-menu-view-girdSize_sch","customGrid",`switchGridSizeBtn(size_${t})`),t){let i=dt(),o=tP();i===ve.PANEL?Ai.setPanelGridSizeValue(t):Ai.setGridSizeValue(t),e||oyt({gridSize:t,unit:o})}},switchUnitBtn:function(t){let e=TT(t);if(e){let i=tP();if(si.setRadioStatus("top-menu-view-Unit","Unit",t),Ai.updateToolSelectStatus(t),i!==e){Ho.updateCustomGridItem(foe());let o=fo(io(Ai.gridSizeStore.value,i,e),e);Ho.switchGridSizeBtn({value:o},!0),C.messageBus.publish("setUnit",e)}}},updateCustomMenuItem:({gridSize:t,trackWidth:e})=>{if(t!==void 0){if(Td.status.coordinateType){let o=t.value.filter(r=>!!r).map(r=>({id:`${li.toFixed(r.gridXMm,3,!0)}, ${li.toFixed(r.gridYMm,3,!0)}mm | ${li.toFixed(r.gridXMil,1,!0)}, ${li.toFixed(r.gridYMil,1,!0)}mil`,title:`${li.toFixed(r.gridXMm,3,!0)}, ${li.toFixed(r.gridYMm,3,!0)}mm | ${li.toFixed(r.gridXMil,1,!0)}, ${li.toFixed(r.gridYMil,1,!0)}mil`,command:`Grid(${r.accuracyGridXMil}mil,${r.accuracyGridYMil}mil)`,optionType:{type:"radio",groupName:"gridSize"}}));Rc.setGridSizeMenu(o)}else{let o=t.value2Polar.filter(r=>!!r).map(r=>({id:`${li.toFixed(r.angle,1,!0)}\xB0, ${li.toFixed(r.mm,3,!0)}mm | ${li.toFixed(r.angle,1,!0)}\xB0, ${li.toFixed(r.mil,1,!0)}mil`,title:`${li.toFixed(r.angle,1,!0)}\xB0, ${li.toFixed(r.mm,3,!0)}mm | ${li.toFixed(r.angle,1,!0)}\xB0, ${li.toFixed(r.mil,1,!0)}mil`,command:`GridPolar(${parseFloat(r.angle)},${r.mil})`,optionType:{type:"radio",groupName:"gridSize"}}));Rc.setGridSizeMenu(o)}let i=t.value.filter(o=>!!o).map(o=>({id:`${li.toFixed(o.gridXMm,3,!0)}, ${li.toFixed(o.gridYMm,3,!0)}mm | ${li.toFixed(o.gridXMil,1,!0)}, ${li.toFixed(o.gridYMil,1,!0)}mil`,title:`${li.toFixed(o.gridXMm,3,!0)}, ${li.toFixed(o.gridYMm,3,!0)}mm | ${li.toFixed(o.gridXMil,1,!0)}, ${li.toFixed(o.gridYMil,1,!0)}mil`,command:`Snap(${parseFloat(o.accuracyGridXMil)}mil,${parseFloat(o.accuracyGridYMil)}mil)`,optionType:{type:"radio",groupName:"snapSize"},disabled:!Td.status.coordinateType}));Rc.setSnapSizeMenu(i)}if(e!==void 0){let i=(0,HDe.default)('#trackWidthMenu [cmd="trackWidthSetting(WIRING_WIDTH_INPUT)"]').attr("itemdisabled"),o=e.filter(r=>!!r).map(r=>({id:`${li.toFixed(r.trackWidthMm,3,!0)}mm | ${li.toFixed(r.trackWidthMil,1,!0)}mil`,title:`${li.toFixed(r.trackWidthMm,3,!0)}mm | ${li.toFixed(r.trackWidthMil,1,!0)}mil`,command:`trackWidth(${parseFloat(r.trackWidthMil)})`,optionType:{type:"radio",groupName:"trackWidth"},disabled:i==null?!0:i=="true"}));Rc.setTrackWidthMenu(o)}},updateCustomGridItem:t=>{let e,i=[{size:"10",cmdItem:"size_10"},{size:"5",cmdItem:"size_5"},{size:"2",cmdItem:"size_2"},{size:"1",cmdItem:"size_1"},{size:"0.5",cmdItem:"size_0.5"},{size:"0.1",cmdItem:"size_0.1"},{size:"0.05",cmdItem:"size_0.05"},{size:"0.01",cmdItem:"size_0.01"}];t==="sch"||t==="symbol"?(e=tP(),i=B_[e].map(r=>({size:String(r),cmdItem:`size_${r}`}))):e="mm";let o=i.map(r=>({id:`${r.size} ${e}`,title:`${r.size} ${e}`,command:`switchGridSizeBtn(${r.cmdItem})`,optionType:{type:"radio",groupName:"customGrid"}}));Rc.setGridSizeSchMenu(o)}};function gko(t,e=!1){let i="btn-bg";for(let o of t)(0,HDe.default)(`[cmd="${o}"]`).toggleClass(i,e),e?o&&Ai.setOnlySelectCmd(o):o===Ai.getOnlySelectCmd()&&Ai.setOnlySelectCmd("")}var wko=L(Vi());var TQ=L(z());async function bko(t={}){let e={action:"nonUpdate",data:t},i=`\u662F\u5426\u66F4\u65B0 ${t.fileTitle||""} \u6587\u4EF6\u4E2D\u6240\u6709 ${t.footprintName||"\u6B64"} \u5C01\u88C5\u7684\u5143\u4EF6\uFF1F`;return new Promise(async(o,r)=>{let n=()=>{let s=J();return(0,TQ.jsxs)(TQ.Fragment,{children:[(0,TQ.jsx)(Me,{type:"primary",size:"md",onClick:()=>{le.destroy(a),e.action="updateAll",o(e)},children:"Update All"}),(0,TQ.jsx)(Me,{size:"md",onClick:()=>{le.destroy(a),e.action="updateSelect",o(e)},children:"Update Selected"}),(0,TQ.jsx)(Me,{size:"md",onClick:()=>{le.destroy(a),e.action="nonUpdate",o(e)},children:"Do not Update"})]})},a=(await C.messageBus.rpcCall("messageSync",{type:"confirm",title:"Notice",isHtml:!0,message:i,footer:(0,TQ.jsx)(n,{}),closable:!0})).message})}function yko(t){if(he.isHasTabById(t)){he.removeTab(t);var e=(0,wko.default)("#tabbar_bodies > div[uuid="+t+"]");e.remove()}}async function Cko(t=new Function){var n;let e=he.getActiveTabData(),i=he.getActiveTab(),o=e.title,r=(n=e==null?void 0:e.data)==null?void 0:n.scope;if(r=="selectedDevice"){let a=await bko({footprintName:o,scope:r});if(a.action==="nonUpdate"){yko(i);return}C.messageBus.publish("source",""),C.messageBus.pull("sourceData",s=>{yko(i),C.messageBus.publish("editResult",{action:a.action,uuid:i,id:o,utime:new Date().getTime()/1e3,file:s})});return}}var Hlt=Symbol("objectElementKey"),Glt=Symbol("objectElementResizeListenerKey"),TWt=Symbol("lastTriggerTimeKey"),krn={display:"block",position:"absolute",top:"0",left:"0",width:"100%",height:"100%",border:"none",padding:"0",margin:"0",opacity:"0",zIndex:"-1000",pointerEvents:"none"},Ylt;(o=>{function t(r,n){let a=!1;return n.position!==""&&(n.position==="static"&&(r.style.setProperty("position","relative"),["top","right","bottom","left"].forEach(s=>{let l=n[s];l!=="auto"&&l.replace(/[^-\d\.]/g,"")!=="0"&&r.style.setProperty(s,"0")})),a=!0),a}function e(r,n,a){if(r[Hlt])return!1;let s=r.ownerDocument.defaultView.getComputedStyle(r),l=t(r,s),c=r.ownerDocument.createElement("object");return Object.entries(krn).forEach(([d,u])=>{c.style[d]=u}),c.tabIndex=-1,c.type="text/html",c.setAttribute("aria-hidden","true"),c.onload=()=>{l||t(r,s),c[Glt]=n,a(!0),c.contentDocument.defaultView.addEventListener("unload",()=>{a(!1)}),c.contentDocument.defaultView.addEventListener("resize",n),c.onload=null},c.data="about:blank",r.appendChild(c),r[Hlt]=c,r[TWt]=-1/0,!0}o.observe=e;function i(r){let n=r[Hlt];n&&(n.onload=null,n[Glt]&&(n.contentDocument.defaultView.removeEventListener("resize",n[Glt]),delete n[Glt]),n.remove(),delete r[Hlt])}o.unobserve=i})(Ylt||(Ylt={}));var SQ=class{constructor(e){this.watcher=e;this._observedTargets=new Set;this._asyncTriggerTargets=new Set;this.elapsedMS=1e3/60;this._triggerResizeSync=nAo(this._triggerResizeSyncCore,this.elapsedMS)}disconnect(){this._isDisconnected||(this._isDisconnected=!0,this._observedTargets.forEach(e=>{this._unobserve(e)}))}_triggerResizeAsync(e){this._asyncTriggerTargets.size||queueMicrotask(()=>{if(!this._isDisconnected){let i=[...this._asyncTriggerTargets];this._asyncTriggerTargets.clear(),this.watcher(i.map(o=>({target:o})))}}),this._asyncTriggerTargets.add(e)}_triggerResizeSyncCore(e){let i=performance.now();e[TWt]=i,this.watcher([{target:e}])}observe(e,{flush:i="sync"}=ks){if(!this._isDisconnected){let o=i==="async"?()=>{this._triggerResizeAsync(e)}:()=>{this._triggerResizeSync(e)};Ylt.observe(e,o,n=>{requestAnimationFrame(o)})&&this._observedTargets.add(e)}}_unobserve(e){Ylt.unobserve(e),delete e[TWt],this._observedTargets.delete(e),this._asyncTriggerTargets.delete(e)}unobserve(...e){this._isDisconnected||this._unobserve(...e)}};var r2={TOGGLE_TAB_ACTIVE:"TOGGLE_TAB_ACTIVE",CLOSE_TAB:"CLOSE_TAB",PANEL3D_TAB_ACTIVE:"PANEL3D_TAB_ACTIVE",SET_TAB_UNSAVED:"SET_TAB_UNSAVED",SET_TAB_SAVED:"SET_TAB_SAVED"};function q5e(t){return t==se.PCB||t==se.FOOTPRINT}function o8t(t){return wr(t)[0]}var tt=class tt{static init(){var i;let e=sessionStorage.getItem("editorContainerData")?JSON.parse(sessionStorage.getItem("editorContainerData")):null;(i=e==null?void 0:e.children)!=null&&i.length&&(tt.initContainerTree=e),tt.containerIndex=Number(sessionStorage.getItem("containerIndex")||"1"),sessionStorage.removeItem("editorContainerData"),sessionStorage.removeItem("containerIndex"),tt.$initialEvent(),tt.createTabBar(tt.belongContainer,[{title:"Start Page",tabId:"tab_page1",icon:{iconClassName:Nt?"icon-ecad-logo":"icon-eda-logo"},tabStyle:{width:"auto",minWidth:"76px"},isAbleDelete:!1,group:"start_blank",draggable:!0,data:{doctype:-1},isDisplayNone:ln.isViewerMode}],"tab_page1"),tt.activeContainer(tt.belongContainer),C.messageBus.subscribe("/pro-ui/container/tab/onActive",o=>{let{belong:r}=o;r===tt.belongContainer&&(C.messageBus.publish("/pro-ui/container/tab/tabbar/onActive",o),Object.keys(tt.tabActiveEvents).forEach(n=>tt.tabActiveEvents[n](o)))}),C.messageBus.subscribe("/pro-ui/container/tab/onClick",o=>{let{containerId:r,tabId:n}=o;tt.containerIds.includes(r)&&(C.messageBus.publish("/pro-ui/container/tab/tabbar/onClick",o),LC.hasItem(n)&&LC.getItem(n).canvasMousePositionStore.dispose())}),C.messageBus.subscribe("/pro-ui/container/tab/onDelete",o=>{let{containerId:r,tabId:n}=o;tt.containerIds.includes(r)&&(C.messageBus.publish("/pro-ui/container/tab/tabbar/onDelete",o),LC.hasItem(n)&&LC.removeItem(n),n===`${se.BLANKTAB}`&&It.deleteTab({containerId:tt.getTabContainer(n),tabId:`${se.BLANKTAB}`}),tt.tabCloseEvents[n]&&(tt.tabCloseEvents[n].forEach(a=>a()),tt.tabCloseEvents[n]=null))})}static addCloseEventListener(e,i){tt.tabCloseEvents[e]?tt.tabCloseEvents[e].push(i):tt.tabCloseEvents[e]=[i]}static createTabBar(e,i=[],o=""){let r={id:e,dom:e,belong:tt.belongContainer,tabDock:"top",tabSize:24,borderSize:0,styleType:"page",isObserver:!0,isBodyDrop:!0,isPadding:!0,tabs:i,activeTabId:o,isDrop:(n,a)=>tt.containerIds.includes(n.containerId),tabContextMenu:tt.tabContextMenu,findAnotherActive:tt.findAnotherActive,callbackOnBlank:tt.tileBlankContainer};It.addTabBar(r,SQ)}static findAnotherActive(e,i,o){var l,c;let r=!!tt.getFilterTabs(["tab_page1","0",i]).length||o==="transfer"||o==="split",n=tt.historyPrevTab(i,r?["0"]:[],e,!0),a,s=It.containerInfo[e];if(!n){let d=r?["0",i]:[i],u=((l=s==null?void 0:s.tabs)==null?void 0:l.filter(p=>!d.includes(p.tabId)))||[];n=((c=u[u.length-1])==null?void 0:c.tabId)||""}return o!=="split"&&!["tab_page1","0"].includes(s.activeTabId)&&["tab_page1","0"].includes(n)&&tt.containerIds.length>1&&(n="",a=()=>{C.messageBus.publish("/pro-ui/container/tab/onActive",{containerId:e,tabId:"",belong:tt.belongContainer}),tt.tileBlankContainer(e)}),{tabId:n,containerId:e,callback:a}}static saveContainerData(){let e=i=>{let o=It.containerInfo[i.id];o&&(i.tabs=o.tabs.map(r=>r.tabId),i.activeTab=o.activeTabId),i.children&&i.children.forEach(r=>e(r))};e(tt.containerTree),sessionStorage.setItem("editorContainerData",JSON.stringify(tt.containerTree)),sessionStorage.setItem("containerIndex",String(tt.containerIndex))}static activeContainer(e){tt.containerIds.forEach(i=>{It.setContainerSelect(i,i===e)})}static setTabData(e,i){let o=tt.getTabContainer(e);o&&It.setTabExtraData(o,e,i)}static deleteTabDataByKey(e,i){let o=tt.getTabContainer(e),r=It.containerInfo[o];r&&r.tabs.some(n=>n.tabId===e?(n.data&&n.data[i]&&delete n.data[i],!0):!1)}static getTabByDataKey(e,i){let o=[];return tt.containerIds.forEach(r=>{var n;(n=It.containerInfo[r])==null||n.tabs.forEach(a=>{a!=null&&a.data&&(a==null?void 0:a.data[e])===i&&o.push(a)})}),o}static getActiveTabData(){let e=tt.getActiveTab(),i=null;return tt.containerIds.some(o=>{var n;let r=(n=It.containerInfo[o])==null?void 0:n.tabs.find(a=>a.tabId===e);return r?(i=r,!0):!1}),i}static getTabById(e){let i=null;return tt.containerIds.some(o=>{var n;let r=(n=It.containerInfo[o])==null?void 0:n.tabs.find(a=>a.tabId===e);return r?(i=r,!0):!1}),i}static getFilterTabs(e=[],i){var r;let o=[];if(i){let n=(r=It.containerInfo[i])==null?void 0:r.tabs.filter(a=>!e.includes(a.tabId));n!=null&&n.length&&o.push(...n)}else tt.containerIds.forEach(n=>{var s;let a=(s=It.containerInfo[n])==null?void 0:s.tabs.filter(l=>!e.includes(l.tabId));a!=null&&a.length&&o.push(...a)});return o}static getTabContainer(e){return tt.containerIds.find(i=>!!It.getTabData({containerId:i,tabId:e}))||""}static getContainerInfo(e){return It.containerInfo[e]}static changeTabDock(e,i){let o=(0,rc.default)("#editorTabbar");switch(e){case"top":It.containerInfo[i].tabs.some(r=>r.tabId==="tab_page1"?(r.tabStyle={width:"auto",minWidth:"76px"},!0):!1),o.css({padding:"30px 0 0 0"});break;case"bottom":It.containerInfo[i].tabs.some(r=>r.tabId==="tab_page1"?(r.tabStyle={width:"auto",minWidth:"76px"},!0):!1),o.css({padding:"0 0 30px 0"});break;case"left":It.containerInfo[i].tabs.some(r=>r.tabId==="tab_page1"?(r.tabStyle={height:"auto",minHeight:"76px"},!0):!1),o.css({padding:"0 0 0 30px"});break;case"right":It.containerInfo[i].tabs.some(r=>r.tabId==="tab_page1"?(r.tabStyle={height:"auto",minHeight:"76px"},!0):!1),o.css({padding:"0 30px 0 0"});break}It.changePosition(i,{tabDock:e})}static getTabBarNumOnRow(){let e=i=>{var r,n;let o=0;return i.direction==="column"?(r=i==null?void 0:i.children)==null||r.forEach(a=>{let s=e(a);o+=s}):(n=i==null?void 0:i.children)==null||n.forEach(a=>{let s=e(a);s>o&&(o=s)}),o||1};return e(tt.containerTree)}static getContainerNum(e,i){let o=document.getElementById(e).getBoundingClientRect(),r=d=>{let u=tt.findByContainerTree(d,tt.containerTree);if(!u.fatherId)return d;let p=document.getElementById(u.fatherId).getBoundingClientRect();if(i==="row"){if(p.width>o.width)return d}else if(p.height>o.height)return d;return r(u.fatherId)},n=r(e),a=(d,u,p)=>{var f;let m=0,h=d.direction===u;return n&&d.id==n?m=h&&((f=d==null?void 0:d.children)==null?void 0:f.length)||0:d.children&&d.children.forEach(g=>{m+=a(g,u,h?1:0)}),m>p?m:p},s=document.getElementById(tt.belongContainer).getBoundingClientRect(),l=d=>{let u=document.getElementById(d).getBoundingClientRect();if(i==="row"){if(u.width===s.width)return d}else if(u.height===s.height)return d;let p=tt.findByContainerTree(d,tt.containerTree);return p.fatherId?l(p.fatherId):d},c=tt.findByContainerTree(l(e),tt.containerTree);return a(c,i,1)}static findByContainerTree(e,i){if(!e)return null;if(i.id===e)return i;if(i.children){let o=null;return i.children.some(r=>(o=tt.findByContainerTree(e,r),!!o)),o}return null}static createDivider(e,i,o,r){let n=document.createElement("div"),a=document.createElement("div");a.style.position="absolute",n.style.zIndex="3",n.classList.add("divider-toggler"),n.style.position="relative",n.style.flexShrink="0";let s=o.join("+");n.id=s,tt.dividerSet[s]={belong:o,el:n},i==="vertical"?(n.style.width="3px",a.style.width="5px",a.style.left="-1px",a.style.top="0px",n.style.height="100%",a.style.height="100%",n.style.cursor="col-resize",a.style.cursor="col-resize"):(n.style.height="3px",n.style.width="100%",a.style.width="100%",a.style.height="5px",a.style.left="0px",a.style.top="-1px",n.style.cursor="row-resize",a.style.cursor="row-resize"),r?e.insertBefore(n,r):e.appendChild(n),n.appendChild(a),a.addEventListener("mousedown",c=>{let d=(0,rc.default)(c.target).parent().attr("id"),u=tt.dividerSet[d];(0,rc.default)("#pagemask").show(),(0,rc.default)(a).addClass("divider-hightlight"),document.body.classList.add("unselectable"),(0,rc.default)("body").css("cursor",n.style.cursor),(0,rc.default)(document).on("mouseup.divider",function(p){(0,rc.default)(document).off("mouseup.divider"),(0,rc.default)(document).off("mousemove.divider"),(0,rc.default)("#pagemask").hide(),(0,rc.default)(a).removeClass("divider-hightlight"),(0,rc.default)("body").css("cursor","default"),document.body.classList.remove("unselectable"),p.stopPropagation&&p.stopPropagation()}),(0,rc.default)(document).on("mousemove.divider",async function(p){let m=document.getElementById(u.belong[0]),h=document.getElementById(u.belong[1]),f=tt.findByContainerTree(u.belong[0],tt.containerTree),g=tt.findByContainerTree(u.belong[1],tt.containerTree),b=document.getElementById(f.fatherId).getBoundingClientRect(),y=u.el.getBoundingClientRect();if(i==="vertical"){if(p.pageX>y.x){let w=(p.pageX-y.x)/b.width,x=b.width*(f.width+w),S=b.width*(g.width-w);if((x<Ax||S<Ax)&&(w=(b.width*g.width-Ax)/b.width),f.width===f.width+w)return;f.width=f.width+w,m.style.width=f.width*100+"%",g.width=g.width-w,h.style.width=g.width*100+"%"}if(p.pageX<y.x){let w=(y.x-p.pageX)/b.width,x=b.width*(f.width-w),S=b.width*(g.width+w);if((x<Ax||S<Ax)&&(w=(b.width*f.width-Ax)/b.width),f.width===f.width-w)return;f.width=f.width-w,m.style.width=f.width*100+"%",g.width=g.width+w,h.style.width=g.width*100+"%"}}else{if(p.pageY>y.y){let w=(p.pageY-y.y)/b.height,x=b.height*(f.height+w),S=b.height*(g.height-w);if((x<Ax||S<Ax)&&(w=(b.height*g.height-Ax)/b.height),f.height===f.height+w)return;f.height=f.height+w,m.style.height=f.height*100+"%",g.height=g.height-w,h.style.height=g.height*100+"%"}if(p.pageY<y.y){let w=(y.y-p.pageY)/b.height,x=b.height*(f.height-w),S=b.height*(g.height+w);if((x<Ax||S<Ax)&&(w=(b.height*f.height-Ax)/b.height),f.height===f.height-w)return;f.height=f.height-w,m.style.height=f.height*100+"%",g.height=g.height+w,h.style.height=g.height*100+"%"}}})});let l=null;a.addEventListener("mouseover",c=>{l=setTimeout(()=>{a.style.background="#3399ff",l=null},100)}),a.addEventListener("mouseout",c=>{l&&(clearTimeout(l),l=null),a.style.background="none"})}static getTileStatus(){var o;let e="",i=tt.containerTree;if((o=i==null?void 0:i.children)!=null&&o.length){let r=i.children.length,n=1/r;if(i.direction==="column"&&(i.children.some(s=>s.height!==n||!!s.children)||(e=r===2?"horizontal_all":"horizontal")),i.direction==="row"){let a,s,l;i.children.forEach((c,d,u)=>{var p;c.width!==n&&(a=!0),(p=c==null?void 0:c.children)!=null&&p.length?(s=!0,(c.children.length!==2||c.direction!=="column"||c.children.some(m=>m.height!==.5))&&(l=!0)):d+1!==u.length&&(l=!0)}),!a&&!s&&(e="vertical"),!a&&!l&&(e="all")}}return e}static getTabsByMerge(){let e=[],i=o=>{var r,n;if(Object.keys(tt.dividerSet).filter(a=>tt.dividerSet[a].belong.includes(o.id)).forEach(a=>{var s,l;(l=(s=tt.dividerSet[a])==null?void 0:s.el)==null||l.remove(),delete tt.dividerSet[a]}),o.children)o.children.forEach(a=>{i(a)}),delete o.children,o.fatherId&&((r=document.getElementById(o.id))==null||r.remove());else{e.push(...It.containerInfo[o.id].tabs),tt.containerIds=tt.containerIds.filter(s=>s!==o.id);let a={containerId:o.id,tabId:"",belong:tt.belongContainer};C.messageBus.publish("/pro-ui/container/tab/onActive",a),It.deleteTabBar(o.id),o.id!==tt.belongContainer&&((n=document.getElementById(o.id))==null||n.remove())}};return tt.containerIds.forEach(o=>{var r;return(r=It.resizeObserves[o])==null?void 0:r.disconnect()}),i(tt.containerTree),e}static renderContainerTree(e,i){let o=[],r=(a,s)=>{var c;if(a.id===tt.belongContainer){let d=document.getElementById(a.id);d.style.flexDirection=a.direction==="column"?"column":"row"}let l=a.fatherId?document.getElementById(a.fatherId):null;if(l){let d=a.id,u=document.createElement("div");if(u.id=d,a.children&&(u.style.display="flex"),a.children&&(u.style.flexDirection=a.direction==="column"?"column":"row"),u.style.width=`${a.width*100}%`,u.style.height=`${a.height*100}%`,l.appendChild(u),s){let p=l.style.flexDirection==="column"?"horizontal":"vertical";tt.createDivider(l,p,[d,s.id])}}if(a.children&&a.children.length)a.children.forEach((d,u)=>r(d,u<a.children.length-1?a.children[u+1]:void 0));else{let d=[];a.tabs.forEach(p=>{let m=i.find(h=>h.tabId===p);m&&d.push(m)}),tt.containerIds.push(a.id),tt.createTabBar(a.id,d);let u=d.some(p=>p.tabId===a.activeTab)?a.activeTab:(c=d[d.length-1])==null?void 0:c.tabId;u&&o.push(u)}};r(e);let n=sessionStorage.getItem("activeTab");setTimeout(()=>o.forEach(a=>tt.simulateClick(a,n===a)),20)}static activeAfterTile(){let e=tt.currentTabId,i=tt.getTabContainer(e);tt.activeContainer(i),tt.containerIds.forEach(o=>{let r=It.containerInfo[o].tabs.filter(a=>a.tabId!=="0"),n=r[r.length-1].tabId;if(r.some(a=>a.tabId===e))n=e;else if(n==="tab_page1"&&r.length>1){let a=r.filter(s=>s.tabId!=="tab_page1");n=a[a.length-1].tabId}tt.simulateClick(n,n===e)})}static async horizontalSplit(e){var g,b;let i=!!(0,rc.default)("div.time-interval")[0],o=tt.getTabContainer(e),r=It.containerFatherEls[o],n=tt.findByContainerTree(o,tt.containerTree),a=n.fatherId?tt.findByContainerTree(n.fatherId,tt.containerTree):null,s=It.containerInfo[o].activeTabId,l=s===e?(g=tt.findAnotherActive(o,e,"split"))==null?void 0:g.tabId:s,c=((b=It.containerInfo[o])==null?void 0:b.tabs)||[];if(i){let y=(0,rc.default)(".editframe.un_ruler");for(let w=0;w<y.length;w++){let x=y[w];if(x.id.indexOf(e)>=0){x.classList.remove("timePadding");break}}}if(a&&a.direction==="column"){let y=`${tt.belongContainer}-${++tt.containerIndex}`,w=document.createElement("div"),x=n.height/2;w.id=y,w.style.height=`${x*100}%`,w.style.width="100%";let S=document.getElementById(a.id),T={id:y,height:x,width:1,fatherId:a.id,relativeId:o};if(S.lastChild===r)tt.createDivider(S,"horizontal",[o,y]),S.appendChild(w),a.children.push(T);else{let M=r.nextSibling;if(S.insertBefore(w,M),tt.createDivider(S,"horizontal",[o,y],w),tt.dividerSet[M==null?void 0:M.id]){let A=tt.dividerSet[M==null?void 0:M.id].belong.findIndex(D=>D===o);A!==-1&&(tt.dividerSet[M.id].belong[A]=y)}let I=a.children.findIndex(A=>A.id===o);a.children.splice(I+1,0,T)}r.style.height=`${x*100}%`,n.height=x,It.containerInfo[o].tabs=c.filter(M=>M.tabId!==e),tt.containerIds.push(y),tt.createTabBar(y,c.filter(M=>M.tabId===e)),await new Promise((M,I)=>{setTimeout(()=>{tt.simulateClick(e,!1),tt.simulateClick(l,!1),s===tt.getActiveTab()&&tt.activeContainer(tt.getTabContainer(s)),M(!0)},20)});return}r.style.display="flex",r.style.flexDirection="column";let d=`${tt.belongContainer}-${++tt.containerIndex}`,u=`${tt.belongContainer}-${++tt.containerIndex}`,p=document.createElement("div");p.id=d,p.style.width="100%",p.style.height="50%";let m=document.createElement("div");m.id=u,m.style.width="100%",m.style.height="50%",n.direction="column",n.children?(n.children.push({id:d,width:1,height:.5,fatherId:o}),n.children.push({id:u,width:1,height:.5,fatherId:o})):n.children=[{id:d,width:1,height:.5,fatherId:o},{id:u,width:1,height:.5,fatherId:o}],r.appendChild(p),tt.createDivider(r,"horizontal",[d,u]),r.appendChild(m);let h=Object.assign({},It.containerInfo[o],{id:d,dom:`${d}`,tabs:c.filter(y=>y.tabId!==e)}),f=Object.assign({},It.containerInfo[o],{id:u,dom:`${u}`,tabs:c.filter(y=>y.tabId===e)});It.activeOrder[d]=It.activeOrder[o],tt.containerIds.push(d,u),tt.containerIds=tt.containerIds.filter(y=>y!==o),It.addTabBar(h,SQ),It.addTabBar(f,SQ),It.deleteTabBar(o),await new Promise((y,w)=>{setTimeout(()=>{tt.simulateClick(e,!1),tt.simulateClick(l,!1),s===tt.getActiveTab()&&tt.activeContainer(tt.getTabContainer(s)),y(!0)},20)})}static async verticalSplit(e){var f,g;let i=tt.getTabContainer(e),o=It.containerFatherEls[i],r=tt.findByContainerTree(i,tt.containerTree),n=r.fatherId?tt.findByContainerTree(r.fatherId,tt.containerTree):null,a=It.containerInfo[i].activeTabId,s=a===e?(f=tt.findAnotherActive(i,e,"split"))==null?void 0:f.tabId:a,l=((g=It.containerInfo[i])==null?void 0:g.tabs)||[];if(n&&n.direction==="row"){let b=`${tt.belongContainer}-${++tt.containerIndex}`,y=document.createElement("div"),w=r.width/2;y.id=b,y.style.width=`${w*100}%`,y.style.height="100%";let x=document.getElementById(n.id),S={id:b,width:w,height:1,fatherId:n.id,relativeId:i};if(x.lastChild===o)tt.createDivider(x,"vertical",[i,b]),x.appendChild(y),n.children.push(S);else{let T=o.nextSibling;if(x.insertBefore(y,T),tt.createDivider(x,"vertical",[i,b],y),tt.dividerSet[T==null?void 0:T.id]){let I=tt.dividerSet[T==null?void 0:T.id].belong.findIndex(A=>A===i);I!==-1&&(tt.dividerSet[T.id].belong[I]=b)}let M=n.children.findIndex(I=>I.id===i);n.children.splice(M+1,0,S)}o.style.width=`${w*100}%`,r.width=w,It.containerInfo[i].tabs=l.filter(T=>T.tabId!==e),tt.containerIds.push(b),tt.createTabBar(b,l.filter(T=>T.tabId===e)),await new Promise((T,M)=>{setTimeout(()=>{tt.simulateClick(e,!1),tt.simulateClick(s,!1),a===tt.getActiveTab()&&tt.activeContainer(tt.getTabContainer(a)),T(!0)},20)});return}o.style.display="flex",o.style.flexDirection="row";let c=`${tt.belongContainer}-${++tt.containerIndex}`,d=`${tt.belongContainer}-${++tt.containerIndex}`,u=document.createElement("div");u.id=d,u.style.width="50%",u.style.height="100%";let p=document.createElement("div");p.id=c,p.style.width="50%",p.style.height="100%",o.appendChild(p),tt.createDivider(o,"vertical",[c,d]),o.appendChild(u),r.direction="row",r.children?(r.children.push({id:c,width:.5,height:1,fatherId:i}),r.children.push({id:d,width:.5,height:1,fatherId:i})):r.children=[{id:c,width:.5,height:1,fatherId:i},{id:d,width:.5,height:1,fatherId:i}];let m=Object.assign({},It.containerInfo[i],{id:c,dom:`${c}`,tabs:l.filter(b=>b.tabId!==e)}),h=Object.assign({},It.containerInfo[i],{id:d,dom:`${d}`,tabs:l.filter(b=>b.tabId===e)});It.activeOrder[c]=It.activeOrder[i],tt.containerIds.push(c,d),tt.containerIds=tt.containerIds.filter(b=>b!==i),It.addTabBar(m,SQ),It.addTabBar(h,SQ),It.deleteTabBar(i),await new Promise((b,y)=>{setTimeout(()=>{tt.simulateClick(e,!1),tt.simulateClick(s,!1),a===tt.getActiveTab()&&tt.activeContainer(tt.getTabContainer(a)),b(!0)},20)})}static async horizontalTile(){var l,c,d;let e="tab_page1",i=!1;if(tt.getFilterTabs(["tab_page1","0"]).length>1){let u=tt.getTabContainer("tab_page1"),p=((c=(l=It.containerInfo[u])==null?void 0:l.tabs)==null?void 0:c.filter(h=>h.tabId!=="0"))||[],m=p.findIndex(h=>h.tabId==="tab_page1");m!==-1&&(p[m+1]?e=p[m+1].tabId:p[m-1]&&(e=(d=p[m-1])==null?void 0:d.tabId)&&(i=!0))}let o=tt.getTabsByMerge(),r=o.findIndex(u=>u.tabId===`${se.BLANKTAB}`),n=r>-1?o.splice(r,1):[];if(o.length>2){let u=o.findIndex(p=>p.tabId==="tab_page1");e==="tab_page1"&&(o[u+1]?e=o[u+1].tabId:e=o[u-1].tabId),n.unshift(...o.splice(u,1))}let a=o.length>tt.containerSize?tt.containerSize:o.length,s=document.getElementById(tt.belongContainer);s.style.display="flex",s.style.flexDirection="column",tt.containerTree.direction="column",tt.containerIndex=a;for(let u=1;u<=a;u++){let p=`${tt.belongContainer}-${u}`,m=document.createElement("div");m.id=p,m.style.height=`${100/a}%`,m.style.width="100%",s.appendChild(m),u<a&&tt.createDivider(s,"horizontal",[p,`${tt.belongContainer}-${u+1}`]);let h={id:p,height:1/a,width:1,fatherId:tt.belongContainer};tt.containerTree.children?tt.containerTree.children.push(h):tt.containerTree.children=[h],tt.containerIds.push(p);let f=a===u?o:o.splice(0,1),g=f.findIndex(b=>b.tabId===e);g!==-1&&f.splice(i?g+1:g,0,...n),tt.createTabBar(p,f)}await new Promise((u,p)=>{setTimeout(()=>{tt.activeAfterTile(),u(!0)},20)})}static async verticalTile(){var l,c,d;let e="tab_page1",i=!1;if(tt.getFilterTabs(["tab_page1","0"]).length>1){let u=tt.getTabContainer("tab_page1"),p=((c=(l=It.containerInfo[u])==null?void 0:l.tabs)==null?void 0:c.filter(h=>h.tabId!=="0"))||[],m=p.findIndex(h=>h.tabId==="tab_page1");m!==-1&&(p[m+1]?e=p[m+1].tabId:p[m-1]&&(e=(d=p[m-1])==null?void 0:d.tabId)&&(i=!0))}let o=tt.getTabsByMerge(),r=o.findIndex(u=>u.tabId===`${se.BLANKTAB}`),n=r>-1?o.splice(r,1):[];if(o.length>2){let u=o.findIndex(p=>p.tabId==="tab_page1");e==="tab_page1"&&(o[u+1]?e=o[u+1].tabId:e=o[u-1].tabId),n.unshift(...o.splice(u,1))}let a=o.length>tt.containerSize?tt.containerSize:o.length,s=document.getElementById(tt.belongContainer);s.style.display="flex",s.style.flexDirection="row",tt.containerTree.direction="row",tt.containerIndex=a;for(let u=1;u<=a;u++){let p=`${tt.belongContainer}-${u}`,m=document.createElement("div");m.id=p,m.style.width=`${100/a}%`,m.style.height="100%",s.appendChild(m),u<a&&tt.createDivider(s,"vertical",[p,`${tt.belongContainer}-${u+1}`]);let h={id:p,width:1/a,height:1,fatherId:tt.belongContainer};tt.containerTree.children?tt.containerTree.children.push(h):tt.containerTree.children=[h];let f=a===u?o:o.splice(0,1),g=f.findIndex(b=>b.tabId===e);g!==-1&&f.splice(i?g+1:g,0,...n),tt.containerIds.push(p),tt.createTabBar(p,f)}await new Promise((u,p)=>{setTimeout(()=>{tt.activeAfterTile(),u(!0)},20)})}static async verticalBisectionTiling(e){var h,f,g;let i="tab_page1",o=!1;if(tt.getFilterTabs(["tab_page1","0"]).length>1){let b=tt.getTabContainer("tab_page1"),y=((f=(h=It.containerInfo[b])==null?void 0:h.tabs)==null?void 0:f.filter(x=>x.tabId!=="0"))||[],w=y.findIndex(x=>x.tabId==="tab_page1");w!==-1&&(y[w+1]?i=y[w+1].tabId:y[w-1]&&(i=(g=y[w-1])==null?void 0:g.tabId)&&(o=!0))}let r=tt.getTabsByMerge(),n=r.findIndex(b=>b.tabId===`${se.BLANKTAB}`),a=n>=0?r.splice(n,1):[];if(r.length>2){let b=r.findIndex(y=>y.tabId==="tab_page1");b>=0&&(i==="tab_page1"&&(r[b+1]?i=r[b+1].tabId:i=r[b-1].tabId),a.unshift(...r.splice(b,1)))}let{leftTabId:s,rightTabId:l,leftAsMain:c}=e||{},d=[].concat(a),u=[];r.forEach(b=>{b.tabId==s?d.push(b):b.tabId==l?u.unshift(b):c?d.push(b):u.push(b)});let p=2,m=document.getElementById(tt.belongContainer);m.style.display="flex",m.style.flexDirection="row",tt.containerTree.direction="row",tt.containerIndex=p;for(let b=1;b<=p;b++){let y=`${tt.belongContainer}-${b}`,w=document.createElement("div");w.id=y,w.style.width=`${100/p}%`,w.style.height="100%",m.appendChild(w),b<p&&tt.createDivider(m,"vertical",[y,`${tt.belongContainer}-${b+1}`]);let x={id:y,width:1/p,height:1,fatherId:tt.belongContainer};tt.containerTree.children?tt.containerTree.children.push(x):tt.containerTree.children=[x],tt.containerIds.push(y),tt.createTabBar(y,b==1?d:u)}await new Promise((b,y)=>{setTimeout(()=>{c?(tt.simulateClick(l,!0),tt.simulateClick(s,!0)):(tt.simulateClick(s,!0),tt.simulateClick(l,!0)),b(!0)},20)})}static async tileAll(){var c,d,u;let e="tab_page1",i=!!(0,rc.default)("div.time-interval")[0],o=!1;if(tt.getFilterTabs(["tab_page1","0"]).length>1){let p=tt.getTabContainer("tab_page1"),m=((d=(c=It.containerInfo[p])==null?void 0:c.tabs)==null?void 0:d.filter(f=>f.tabId!=="0"))||[],h=m.findIndex(f=>f.tabId==="tab_page1");h!==-1&&(m[h+1]?e=m[h+1].tabId:m[h-1]&&(e=(u=m[h-1])==null?void 0:u.tabId)&&(o=!0))}let r=tt.getTabsByMerge(),n=r.findIndex(p=>p.tabId===`${se.BLANKTAB}`),a=n>-1?r.splice(n,1):[];if(r.length>2){let p=r.findIndex(m=>m.tabId==="tab_page1");e==="tab_page1"&&(r[p+1]?e=r[p+1].tabId:e=r[p-1].tabId),a.unshift(...r.splice(p,1))}let s=Math.ceil(r.length/2)>tt.containerSize?tt.containerSize:Math.ceil(r.length/2),l=document.getElementById(tt.belongContainer);l.style.display="flex",l.style.flexDirection="row",tt.containerTree.direction="row",tt.containerIndex=s;for(let p=1;p<=s;p++){let m=`${tt.belongContainer}-${p}`,h=document.createElement("div");h.id=m,h.style.width=`${100/s}%`,h.style.height="100%",l.appendChild(h),p<s&&tt.createDivider(l,"vertical",[m,`${tt.belongContainer}-${p+1}`]);let f={id:m,width:1/s,height:1,fatherId:tt.belongContainer,direction:"column"};if(tt.containerTree.children?tt.containerTree.children.push(f):tt.containerTree.children=[f],p===s&&r.length<=1){let M=r,I=M.findIndex(A=>A.tabId===e);I!==-1&&M.splice(o?I+1:I,0,...a),tt.containerIds.push(m),tt.createTabBar(m,M);break}let g=p===s?r:r.splice(0,2),b=g.splice(0,1);a.length&&b.find(M=>M.tabId===e)&&(o?b.push(...a):b.unshift(...a));let y=g;a.length&&y.find(M=>M.tabId===e)&&(o?y.push(...a):y.unshift(...a)),h.style.display="flex",h.style.flexDirection="column";let w=`${tt.belongContainer}-${++tt.containerIndex}`,x=`${tt.belongContainer}-${++tt.containerIndex}`,S=document.createElement("div");S.id=w,S.style.width="100%",S.style.height="50%";let T=document.createElement("div");if(T.id=x,T.style.width="100%",T.style.height="50%",f.children=[{id:w,width:1,height:.5,fatherId:m},{id:x,width:1,height:.5,fatherId:m}],h.appendChild(S),tt.createDivider(h,"horizontal",[w,x]),h.appendChild(T),tt.containerIds.push(w,x),tt.createTabBar(w,b),tt.createTabBar(x,y),i){let M=y[y.length-1].tabId,I=(0,rc.default)(".editframe.un_ruler");for(let A=0;A<I.length;A++){let D=I[A];if(D.id.indexOf(M)>=0){D.classList.remove("timePadding");break}}}}await new Promise((p,m)=>{setTimeout(()=>{tt.activeAfterTile(),p(!0)},20)})}static async mergeAll(){let e=!!(0,rc.default)("div.time-interval")[0],i=tt.getTabsByMerge();if(tt.containerIndex=1,It.activeOrder[tt.belongContainer]=It.belongActiveOrder[tt.belongContainer],tt.createTabBar(tt.belongContainer,i),tt.containerIds.push(tt.belongContainer),tt.activeContainer(tt.belongContainer),e){var o=(0,rc.default)(".editframe.un_ruler");for(let r=0;r<o.length;r++)o[r].classList.add("timePadding")}await new Promise((r,n)=>{setTimeout(()=>{tt.simulateClick(tt.currentTabId),r(!0)},20)})}static tileBlankContainer(e){var n,a,s,l,c;let i=((n=It.containerInfo[e])==null?void 0:n.tabs)||[];if(i.filter(d=>!["tab_page1","0"].includes(d.tabId)).length)return;let o=tt.findByContainerTree(e,tt.containerTree),r=o?tt.findByContainerTree(o.fatherId,tt.containerTree):null;if(r){It.deleteTabBar(e),(a=document.getElementById(e))==null||a.remove(),r.children=r.children.filter(u=>u.id!==e),tt.containerIds=tt.containerIds.filter(u=>u!==e);let d=Object.keys(tt.dividerSet).filter(u=>tt.dividerSet[u].belong.includes(e));if(d.length===1)(l=(s=tt.dividerSet[d[0]])==null?void 0:s.el)==null||l.remove(),delete tt.dividerSet[d[0]];else if(d.length===2){let u=tt.dividerSet[d[0]],p=tt.dividerSet[d[1]],m=u.belong;m[0]===e&&(m[0]=p.belong.filter(g=>g!=e)[0]),m[1]===e&&(m[1]=p.belong.filter(g=>g!=e)[0]);let h=m.join("+");u.el.id=h;let f={belong:m,el:u.el};p.el.remove(),delete tt.dividerSet[d[0]],delete tt.dividerSet[d[1]],tt.dividerSet[h]=f}if(r.children.length===1)if(r.children[0].children){let u=r.children[0].id,p=r.children[0].children,m=document.getElementById(r.id);m.style.flexDirection=document.getElementById(u).style.flexDirection,r.children=p,r.direction=m.style.flexDirection,p.forEach((h,f)=>{f===0&&i.length&&It.addTab({container:h.id,tab:i,insertPosition:"front"}),h.fatherId=r.id}),(0,rc.default)(`#${u}`).children().each(function(){(0,rc.default)(this).appendTo(`#${r.id}`)}),(0,rc.default)(`#${u}`).remove()}else{let u=r.children[0].id,p=Object.assign({},It.containerInfo[u],{id:r.id,dom:`${r.id}`});It.activeOrder[r.id]=It.activeOrder[u],tt.containerIds.push(r.id),tt.containerIds=tt.containerIds.filter(m=>m!==u),C.messageBus.publish("/pro-ui/tab/changeContainer",{tabId:p.activeTabId,containerId:p.id}),i.length>0&&p.tabs.unshift(...i),It.addTabBar(p,SQ),It.deleteTabBar(u),(c=document.getElementById(u))==null||c.remove(),delete r.children}else if(o.relativeId){let u=tt.findByContainerTree(o.relativeId,tt.containerTree);i.length&&It.addTab({container:u.id,tab:i,insertPosition:"front"});let p=document.getElementById(u.id);if(r.direction==="column"){let m=u.height+o.height;p.style.height=m*100+"%",u.height=m}else{let m=u.width+o.width;p.style.width=m*100+"%",u.width=m}}else{let u=r.children.length;r.children.forEach((p,m)=>{m===0&&i.length&&It.addTab({container:p.id,tab:i,insertPosition:"front"});let h=document.getElementById(p.id);r.direction==="column"?(h.style.height=`${100/u}%`,p.height=1/u):(h.style.width=`${100/u}%`,p.width=1/u)})}if(!tt.getTabContainer(tt.getActiveTab())){let u=It.getBelongActiveOrder(tt.belongContainer)||[],p=u[u.length-1];p&&setTimeout(()=>tt.simulateClick(p),20)}}}static restoreLayout(){var a;if(!tt.initContainerTree||!tt.isOpenProjectDoc||!tt.isOpenOtherDoc)return;let e=tt.initContainerTree;tt.initContainerTree=null;let i=tt.getFilterTabs([]),o=s=>{var u,p,m;let l=((u=s==null?void 0:s.children)==null?void 0:u.length)||0;if(s!=null&&s.children&&l){let h=[];s.children.forEach(f=>{d(f)||h.push(f.id)}),s.children=s.children.filter(f=>!h.includes(f.id))}let c=((p=s==null?void 0:s.children)==null?void 0:p.length)||0;if(s.children&&c===0)delete s.children;else if(s.children&&c===1){let h=s.children[0];s.tabs=h.tabs,s.activeTab=h.activeTab,s.direction=h.direction,s.children=h.children,(m=s==null?void 0:s.children)!=null&&m.length&&s.children.forEach(f=>f.fatherId=s.id)}else s.children&&s.children.length>1&&c!==l&&s.children.forEach(h=>{s.direction==="column"?h.height=1/s.children.length:s.direction==="row"&&(h.width=1/s.children.length)});function d(h){var f,g;return h.children&&o(h),(f=h==null?void 0:h.children)!=null&&f.length?!0:(g=h==null?void 0:h.tabs)!=null&&g.length?i.some(b=>h.tabs.includes(b.tabId)):!1}};if(o(e),!((a=e==null?void 0:e.children)!=null&&a.length)){let s=sessionStorage.getItem("activeTab");s&&tt.isHasTabById(s)?tt.simulateClick(s):tt.getFilterTabs(["tab_page1","0"]).length&&tt.simulateClick(i[i.length-1].tabId);return}let r=tt.getTabsByMerge();tt.renderContainerTree(e,r),tt.containerTree=e;let n=r.filter(s=>!tt.getTabContainer(s.tabId));It.addTab({container:tt.getTabContainer(tt.currentTabId),tab:n})}static async openTabbarMenu(e,i,o,r){var n=await tt.getTabIFrame(),a=n.getBoundingClientRect(),s=r.clientX,l=r.clientY,c=a.left+s,d=a.top+l;let u=2,p={x:c+u,y:d+u};tt.tabContextMenu({containerId:tt.getTabContainer(i),tabId:i},void 0,p)}static $initialEvent(){tt.eventHandlers||(tt.eventHandlers={})}static $on(e="",i=new Function){tt.$initialEvent(),tt.eventHandlers[e]||(tt.eventHandlers[e]=[]),tt.eventHandlers[e].push(i)}static $emit(e,i){if(tt.$initialEvent(),!e||!tt.eventHandlers[e])return;tt.eventHandlers[e].forEach((r,n)=>{typeof r=="function"&&r(i)})}static $clear(e){tt.$initialEvent(),!(!e||typeof tt.eventHandlers[e]>"u")&&delete tt.eventHandlers[e]}static async closeTopTab(e,i=!1,o="",r){var d,u;if(cn.removeTabCache(e),e==se.BLANKTAB){It.deleteTab({containerId:tt.getTabContainer(e),tabId:e});return}C.isHistoryMode&&(e=await r6().closeRightContrastTab(e));let n=tt.getActiveTabData(),a=(d=n==null?void 0:n.data)==null?void 0:d.doctype,s=(u=n==null?void 0:n.data)==null?void 0:u.scope,l=tt.getTabDocType(e);if(mD({cmdToken:null}),tt.isTabUnSaved(e)&&!i)await tt.simulateClick(e),[se.FOOTPRINT].indexOf(+a)>=0&&s?Cko():await ii("confirm-close");else{await Xb(e);let p=typeof r=="function"?r():{};tt.$emit(r2.CLOSE_TAB,{tabid:e,doctype:l,...p})}let{isExamProject:c}=C.currentProject.projectId?await zi.getExamProjectStatus(C.currentProject.projectId):{isExamProject:!1};c&&$Io()}static async createBlankTab(e){let i=tt.getTabContainer(`${se.BLANKTAB}`);if(i)It.updateTab({targetTab:{containerId:i,tabId:`${se.BLANKTAB}`},updateData:{title:e}});else{let r=tt.getTabContainer("tab_page1");It.addTab({container:r,tab:{tabId:`${se.BLANKTAB}`,title:e,icon:{iconClassName:"icon-eda-project-fill"},isDisplayNone:!0,tabStyle:{width:"115px"},isAbleDelete:!1,draggable:!1,group:"start_blank",data:{doctype:se.BLANKTAB}}})}gi()==="tab_page1"&&tt.simulateClick(`${se.BLANKTAB}`)}static async closeInstanceTab(e,i,o=""){let r=(await C.messageBus.rpcCall("getInstancePagePrefix",{tabid:e,eid:i})).message;await tt.closeInsTabByPrefix(r,o)}static async closeInsTabByPrefix(e,i=""){let o=tt.getFilterTabs([]);for(let r=0;r<o.length;r++){let n=o[r].tabId;dAo(n,e)&&await tt.closeTopTab(n,!0,i)}}static closeInstanceTabBySchName(e){tt.getTabByDataKey("schematicName",e).forEach(i=>{tt.closeTopTab(i.tabId,!0)})}static async closeSavedTabs(){let e=tt.getFilterTabs(["tab_page1",`${se.BLANKTAB}`]),i=e.findIndex(o=>tt.getActiveTab()===o.tabId);i!==-1&&e.push(e.splice(i,1)[0]);for(let o=0;o<e.length;o++)if(!e[o].isUnSaved){let r=e[o].tabId;r&&await tt.closeTopTab(r,!0)}}static getUnsavedTabs(e){let i=tt.getFilterTabs([`${se.BLANKTAB}`]);return e&&(i=i.filter(o=>{var r;return((r=o==null?void 0:o.data)==null?void 0:r.doctype)!==se[e.toUpperCase()]})),i.filter(o=>o.isUnSaved)}static getNewTabs(){return this.getFilterTabs([]).filter(e=>e.tabId.startsWith("sheet-"))}static getActiveTab(){return tt.currentTabId||""}static getAssemblyVaiantTab(){return tt.getTabById(cf)}static getActiveSheetId(){let e=tt.getActiveTabData(),i=e.tabId;return i&&i.split("_").length>2?((e==null?void 0:e.data)||{})["data-model-sheet-uuid"]:o8t(i)}static getActiveProject(){return C.currentProject.projectId}static getDocProject(e){var i,o;return((o=(i=tt.getTabById(e))==null?void 0:i.data)==null?void 0:o.pid)||""}static getProjectOpenTabs(e){let i=[];return tt.containerIds.forEach(o=>{var r;(r=It.containerInfo[o])==null||r.tabs.forEach(n=>{var a;((a=n==null?void 0:n.data)==null?void 0:a.pid)===e&&i.push(n.tabId)})}),i}static getActiveProjectTitle(){return C.currentProject.title}static setSchBindCBB(e){tt.getFilterTabs([]).filter(i=>(i==null?void 0:i.data)&&i.data["data-schematic-uuid"]===e).forEach(i=>{let o=i.tabId;tt.setTabData(o,{isBlockSymbolSheet:!0})})}static setTabActive(e,i=!0){return new Promise(async(o,r)=>{(!e||!tt.getTabContainer(e))&&r(!1),tt.getActiveTab()===e&&o(!0);let n=null,a=e+Date.now();tt.tabActiveEvents[a]=function(s){let{tabId:l}=s;l===e&&(n&&clearTimeout(n),n=null,delete tt.tabActiveEvents[a],o(!0))},n=setTimeout(()=>{n=null,delete tt.tabActiveEvents[a],r(!1)},3e5),tt.simulateClick(e,i)})}static simulateClick(e,i=!0){let o="";if(tt.containerIds.some(r=>It.getTabData({containerId:r,tabId:e})?(o=r,!0):!1),o){let r={containerId:o,tabId:e,domRect:It.containerInfo[o].domRect,isActive:i};return C.messageBus.publish("/pro-ui/container/tab/onClick",r),!0}return!1}static clearSchTopMenuStatus(e){let i=C.schTopMenuStatus;for(let o=0;o<i.length;o+=1)if(i[o].tabId===e){C.schTopMenuStatus.splice(o,1);break}}static updateWindowTitle(e,i){let o=C.currentProject.title,r=tt.getTabById(e);if(r){let n=r.notUseI18n?r==null?void 0:r.title:me.i18n(r.title);i&&(n=i),o&&e==="0"?(0,rc.default)("title").text(`${o} | ${C.originalTitle}`):o&&e!=="0"?(0,rc.default)("title").text(`${o} | ${n} | ${C.originalTitle}`):e!=="0"?(0,rc.default)("title").text(`${n} | ${C.originalTitle}`):(0,rc.default)("title").text(C.originalTitle)}}static onSelect(e){var a;var i=e===se.BLANKTAB?null:tt.getTabDocType(e);(i===se.HOME||i===null)&&le.destroyAll();let o=tt.getTabById(e);((o==null?void 0:o.data)||{})["smart-size-mode"]?(0,rc.default)("#exitSmartSizeTool").css("visibility","visible"):(0,rc.default)("#exitSmartSizeTool").css("visibility","hidden"),((o==null?void 0:o.data)||{})["edit-pad-shape-mode"]?(0,rc.default)("#exitPadShapeTool").css("visibility","visible"):(0,rc.default)("#exitPadShapeTool").css("visibility","hidden"),q5e(i)||tt.getTabIFrame(e).then(s=>{var l=s?kr("currZoom")||s.getAttribute("winzoom"):100;X8o(l+"%")}),Ho.adjust(),$j.showForDocType(i),Tg.showForDocType(i),(Wn(i)||Fh(i)||kl(i))&&Ust(),(0,rc.default)("#treeMyProject-container .treeWrap > [for-tabid]").filter((s,l)=>l.style.display!=="none").each(function(){let s=(0,rc.default)(this).attr("for-tabid");if(s==="device-standardization")return;(0,rc.default)(`#leftTreeTab > [tabid="${s}"]`).is(":hidden")&&(0,rc.default)(this).hide()});var r=!!i;let n=[...Np.notCloseWhiteDialogArr];return i&&n.push("dlgSelectFilter"),!n.includes(Np.latestDialogId)&&le.closeAll(),JFe(!1),!kl(i)&&e!=="0"&&e!=="tab_page1"&&!sessionStorage.getItem("layout")&&Pn("layout_toggler_right",!r),e==="tab_page1"&&Pn("layout_toggler_right",!0),(0,rc.default)("#attrlist-table-notice, #panel-coordinate-list").each(function(){(0,rc.default)("#attr-mouse-x, #attr-mouse-y",(0,rc.default)(this)).val("")}),kL("file_save",!tt.isTabUnSaved(e)),co.tabChangeByDoc(e,i),Wn(i)&&((a=lr.showTableData)==null?void 0:a.length)>0&&co.handleClick("lib"),zu.nowDocType=i,$a.changeModeByDoc(e,i),(!C.sessionStorageTabs||C.sessionStorageTabs.size<=0)&&sessionStorage.setItem("activeLeftTabInDoc",JSON.stringify(zu.leftTreeInDoctype)),(0,rc.default)("#layout_toggler_right .toggle").css("display",e==="tab_page1"?"none":""),e=="0"?ln.isViewerMode||ET.openProjectAttrPanel():(ET.clearPre(),BZ(i)),!0}static async getOpenedTabsInfo(e=[se.SCH]){let i=tt.getFilterTabs([]).filter(n=>{var a;return e.includes((a=n==null?void 0:n.data)==null?void 0:a.doctype)}),o=[];for(let n=0,a=i.length;n<a;n++){let s=i[n].tabId;var r=await tt.getTabInfo(s);r&&o.push(r)}return o}static async getTabInfo(e=this.getActiveTab()){var l;var i=(0,rc.default)(await tt.getTabIFrame(e)),o=i.attr("c_doctype");if(!i[0]||!o)return;var r=i.data("hashId")||"",n=r.split("/")[1]||"",a=i.data("filepath")||"";let s=((l=tt.getTabById(e))==null?void 0:l.data)||{};return{fid:i.attr("c_dbid")||0,datastrid:i.data("datastrid")||"",hashId:r,version:n,tabid:e,docType:+o,filepath:a,pathId:tt.getPath(e)||"",title:tt.getTabTitle(e),fromFile:!!i.attr("fromFile")||!1,pid:s.pid||"",ticket:s.ticket||"",schuuid:s["data-schematic-uuid"]||"",orderId:s.sheet_order_id}}static getTabData(e=this.getActiveTab()){var i;return((i=tt.getTabById(e))==null?void 0:i.data)||{}}static async updateTabInfo(e,i,o={}){let r=e,n=await tt.getTabIFrame(e);var a=(0,rc.default)(n);for(var s in i)if(Object.hasOwnProperty.call(i,s)){var l=i[s];switch(s){case"datastrid":a.data(s,l);break;case"hashId":if(i.docType&&i.docType!==se.SCH){var c=a.data(s),d=l;c?cn.replaceFileId(c,d):await cn.addFileId(d,i.docType),a.data(s,d)}break;case"filepath":a.data(s,l);break;case"docType":a.attr("c_doctype",l);break;case"title":tt.setTabTitle(e,l),tt.getTabDocType(e)==se.PCB&&n&&C.windowBridge.publish("pcb/updateTitle",l,n.contentWindow);break;case"text":tt.setTabText(e,l),e.indexOf("sheet-")<=-1&&!wi&&tt.updateWindowTitle(e,l);break;case"unSaved":ol(e)&&(r=(await C.messageBus.rpcCall("getModelSheetUuid",e)).message),rn(k0(`#frame_${r}`),"blankiframe")?tt.setTabUnSaved(i.fid,l):tt.setTabUnSaved(e,l);break;default:tt.setTabData(e,{[s]:l});break}}if(await tt.updateTicket(e,i.ticket,i.updateTime),i.hasOwnProperty("fid")){if(l=i.fid,a.attr("c_dbid",l||""),i.tabid){let u=tt.getTabContainer(e);It.updateTab({targetTab:{containerId:u,tabId:e},updateData:{tabId:i.tabid}})}rn(Rd("#tabbar_bodies > div[uuid='"+r+"']"),"uuid",l),rn(Rd("#tabbar_bodies .editframe[id='frame_"+r+"']"),"id","frame_"+l),rn(Rd("#rulerh_"+r),"id","rulerh_"+l),rn(Rd("#rulerCursorX_"+r),"id","rulerCursorX_"+l),rn(Rd("#rulerv_"+r),"id","rulerv_"+l),rn(Rd("#rulerCursorY_"+r),"id","rulerCursorY_"+l)}}static isHasTabById(e){return tt.containerIds.some(i=>{var o;return(((o=It.containerInfo[i])==null?void 0:o.tabs)||[]).some(r=>r.tabId===e)})}static getTabTitle(e=this.getActiveTab()){var o,r;let i=tt.getTabById(e);if(!tt.getTabById(e)){let n=(o=tt.getUuidAndPathByTab(e))==null?void 0:o.uuid,a=tt.getFilterTabs([]).filter(s=>(s==null?void 0:s.data)&&s.data["data-model-sheet-uuid"]===n);a!=null&&a.length&&(i=a[0])}return((r=i==null?void 0:i.data)==null?void 0:r.title)||(i==null?void 0:i.title)}static getTabText(e){let i="";return tt.containerIds.some(o=>{var n;let r=(n=It.containerInfo[o])==null?void 0:n.tabs.find(a=>a.tabId===e);return r?(i=r.title,!0):!1}),i}static getUuidAndPathByTab(e){let[i,o]=wr(e);return{uuid:i,path:o}}static setTabTitle(e,i){tt.setTabData(e,{title:i})}static setTabText(e,i){if(i===void 0)return;let o=tt.getTabContainer(e);o&&It.updateTab({targetTab:{containerId:o,tabId:e},updateData:{title:i}})}static setIconColor(e,i){tt.getTabByDataKey("data-model-sheet-uuid",e).forEach(r=>{var l;let n=(((l=r.icon)==null?void 0:l.iconClassName)||"").split(/\s+/g).filter(c=>c!=="icon-color-red"&&c!=="icon-color-blue"),a=be(n,{"icon-color-blue":i==="blue","icon-color-red":i==="red"}),s=tt.getTabContainer(r.tabId);It.updateTab({targetTab:{containerId:s,tabId:r.tabId},updateData:{icon:{...r.icon||{},iconClassName:a}}})})}static setTitleStyle(e){let{tabId:i,titleStyle:o}=e,r=tt.getTabById(i),n=tt.getTabContainer(r.tabId);It.updateTab({targetTab:{containerId:n,tabId:r.tabId},updateData:{titleStyle:o}})}static setTitleStyleBySheetUuid(e){let{sheetUuid:i,titleStyle:o}=e;tt.getTabByDataKey("data-model-sheet-uuid",i).forEach(n=>{let a=tt.getTabContainer(n.tabId);It.updateTab({targetTab:{containerId:a,tabId:n.tabId},updateData:{titleStyle:o}})})}static batchSetTitleStyle(e){tt.getAllTabId().forEach(o=>{let r=tt.getModelSheetUuid(o),n=!e[r]||e[r].length<=0?{}:{fontWeight:"bold"};tt.setTitleStyleBySheetUuid({sheetUuid:r,titleStyle:n})})}static modifyTabId(e,i,o=!1){tt.getTabByDataKey("data-model-sheet-uuid",e).forEach(n=>{tt.setTabData(n.tabId,{refreshSubTabbar:o}),cn.replaceFileId(n.tabId,i);let a=tt.getTabContainer(n.tabId);It.updateTab({targetTab:{containerId:a,tabId:n.tabId},updateData:{tabId:i}})})}static async updateTicket(e,i,o){if(!e)return;let r,n=tt.getTabDocType(e),a=[],{uuid:s}=tt.getUuidAndPathByTab(e),l=!!C.currentProject.projectId;if(n===se.PCB)r=l&&(await C.messageBus.rpcCall($e.PCB.GET,[s,C.currentProject.projectId])).message,i||(i=r?r.ticket:""),o||(o=r?r.updateTime:""),a.push(e);else if(n===se.FOOTPRINT)r=l&&(await C.messageBus.rpcCall($e.FOOTPRINT.GET,[s,C.currentProject.projectId])).message,i||(i=r?r.ticket:""),o||(o=r?r.updateTime:""),a.push(e);else if(kl(n))r=l&&(await C.messageBus.rpcCall($e.SYMBOL.GET,[s,C.currentProject.projectId])).message,i||(i=r?r.ticket:""),o||(o=r?r.updateTime:""),a.push(e);else if(n===se.PANEL)r=l&&(await C.messageBus.rpcCall($e.PANEL.GET,[s,C.currentProject.projectId])).message,i||(i=r?r.ticket:""),o||(o=r?r.updateTime:""),a.push(e);else if(ol(e)){let c=(await C.messageBus.rpcCall("instanceToSheetId",e)).message;s=tt.getUuidAndPathByTab(c).uuid,r=l&&(await C.messageBus.rpcCall($e.SHEET.GET,[s,C.currentProject.projectId])).message,i||(i=r?r.ticket:""),o||(o=r?r.updateTime:""),a.push(e),tt.getTabById(c)&&a.push(c);let u=tt.getFilterTabs([]).filter(p=>(p==null?void 0:p.data)&&(p==null?void 0:p.data["data-model-sheet-uuid"])===s);for(let p=0;p<u.length;p++){let h=u[p].tabId;h&&h!==e&&a.push(h)}}else{let c=e;s=tt.getUuidAndPathByTab(c).uuid,zh(n)?r=l&&(await C.messageBus.rpcCall($e.SIMULATION.GET,[s])).message:r=l&&(await C.messageBus.rpcCall($e.SHEET.GET,[s,C.currentProject.projectId])).message,i||(i=r?r.ticket:""),o||(o=r?r.updateTime:""),a.push(e);let d=tt.getFilterTabs([]).filter(u=>(u==null?void 0:u.data)&&(u==null?void 0:u.data["data-model-sheet-uuid"])===s);for(let u=0;u<d.length;u++){let m=d[u].tabId;m&&a.push(m)}}tt.setTabTicket(a,i),tt.setTabUpdatedAt(a,o)}static setTabTicket(e,i){it(e,(o,r)=>{r&&(r.includes(UT)||(r=lo(r,C.currentProject.projectId)),tt.isHasTabById(r)&&tt.setTabData(r,{ticket:i}))})}static setTabUpdatedAt(e,i=""){it(e,(o,r)=>{r&&(r.includes(UT)||(r=lo(r,C.currentProject.projectId)),tt.isHasTabById(r)&&tt.setTabData(r,{updateTime:i}))})}static setUpdateTabHighLight(e){it(e,(i,o)=>{if(o){let r=tt.getTabContainer(o);It.setTabHighLight(r,o,!0)}})}static removeUpdateTabHighLight(e){it(e,(i,o)=>{if(o){let r=tt.getTabContainer(o);It.setTabHighLight(r,o,!1)}})}static docNeedUpdate(e){var i;if(e=e||this.getActiveTab(),e)return!!((i=tt.getTabById(e))!=null&&i.isUnSaved)}static getTabDocType(e){var i,o;return(o=(i=tt.getTabById(e))==null?void 0:i.data)==null?void 0:o.doctype}static setTabDocType(e,i){tt.setTabData(e,{doctype:i})}static getProjectData(e){var n;let i=tt.getTabById(e);var o;if(!i){var r=tt.getDocProject(e);i=tt.getTabById(r)}return o=(n=i==null?void 0:i.data)==null?void 0:n.ajaxData,!o||!Object.keys(o).length?null:o}static updateProjectData(e,i){tt.setTabData(e,{ajaxData:i})}static async getTabIFrame(e=gi()){if(C.isHistoryMode)return Vr("frame_"+e);if(tt.getTabDocType(e)===se.SCH){let o=(await C.messageBus.rpcCall("getModelTabId",e)).message;return Vr("frame_"+o)||Vr("frame_"+e)}else return Vr("frame_"+e)}static getModelTabIdSync(e){let i=tt.getDoctypeByTabId(e);if(C.isHistoryMode&&i==se.PCB)return e;let o=e;return i===se.SCH&&C.messageBus.publish("getModelTabIdSync",{tabid:e,cb:r=>{o=r}}),o}static getTabIframeSync(e=gi()){let i=tt.getModelTabIdSync(e);return Vr("frame_"+i)||Vr("frame_"+e)}static getTabIdByIFrame(e){return((0,rc.default)(e).attr("id")||"").replace("frame_","")}static isTabUnSaved(e){var o;let i=tt.getTabContainer(e);return(((o=It.containerInfo[i])==null?void 0:o.tabs)||[]).some(r=>r.tabId===e&&r.isUnSaved)}static hasTabUnSaved(){return tt.containerIds.some(e=>{var i;return(((i=It.containerInfo[e])==null?void 0:i.tabs)||[]).some(o=>o.isUnSaved)})}static hasTabExistence(){return tt.getFilterTabs(["tab_page1","0"]).length>0}static setTabUnSaved(e,i){var r;if(!e)e=gi();else if(!tt.getTabById(e)){let n=tt.getModelSheetUuid(e),[a]=wr(n),s=(r=tt.getTabByDataKey("data-model-sheet-uuid",a))==null?void 0:r[0];e=s==null?void 0:s.tabId}if(!e)return;let o=tt.getTabContainer(e);It.setTabUnSaved(o,e,i),kL("file_save",!i)}static getSymbolIconByAssociateDevice(e,i){switch(e){case se.SHEET_SYMBOL:return`icon-eda-drawing${i?"-brown":""}`;case se.NETFLAG:return`icon-eda-netflag-gnd${i?"-brown":""}`;case se.NETPORT:return`icon-eda-netport-out${i?"-brown":""}`;case se.OFF_PAGE_CONNECTOR:return`icon-eda-offPageConnector-out${i?"-brown":""}`;case se.DIFF_PAIRS_FLAG:return`icon-eda-differential${i?"-brown":""}`;case se.NONEELEC_SYMBOL:return`icon-eda-non-electronic-flag${i?"-brown":""}`;case se.BLOCK_SYMBOL:return"icon-eda-reuse-block theme-symbol-icon-filter";default:return`icon-eda-symbol${i?"-brown":""} ${i?"theme-device-icon-filter":"theme-symbol-icon-filter"}`}}static changeIconByAssociateDevice(e){var s;let i=tt.getActiveTab(),o=tt.getTabById(i),r=tt.getDoctypeByTabId(tt.getActiveTab());if(!o||!kl(r)||tt.getSymbolIconByAssociateDevice(o.data.doctype,e)===((s=o==null?void 0:o.icon)==null?void 0:s.iconClassName))return;let a=tt.getTabContainer(i);It.updateTab({targetTab:{containerId:a,tabId:i},updateData:{icon:{iconClassName:tt.getSymbolIconByAssociateDevice(o.data.doctype,e)}}})}static async createTab(e,i,o,r,n="",a={}){if(!e&&+e!==se.BLANKTAB&&(a.uuid?e=lo(a.uuid,a.path):e=Wee()),tt.isHasTabById(e)||+e==se.BLANKTAB)return!1;let s="";ol(e)&&(s="icon-color-red");let l=tt.getActiveTab();if(l!=null&&l!=""){var c=tt.getTabDocType(l);C.messageBus.publish("updateIFrameState",{head:{doctype:c,from:"",to:l},body:{active:!1}})}var d=Fh(i),u=oAo(i),p=rAo(i),m=zlt(i),h=Ire(i,!0);i===se.BLOCK_SYMBOL?h="icon-eda-reuse-block":i===se.PCB?h=Nt?"icon-ecad-pcb":"icon-eda-pcb icon-color-green":kl(i)&&(h=tt.getSymbolIconByAssociateDevice(i,a.isSymbolAssociateDevice));let f=tt.getTabContainer(tt.currentTabId)||tt.containerIds[0];It.addTab({container:a.openContainer?a.openContainer:f,tab:{tabId:e,title:r,icon:{iconClassName:be(s,{"icon-eda-page icon-color-blue":d&&!u&&!p&&!m,"icon-eda-ngspice icon-color-blue-purple":u,"icon-eda-simulide icon-color-blue-purple":p,"icon-eda-waveform ":m,[h]:!d})},draggable:!0,isAbleDelete:!0,notUseI18n:i!==se.HOME}});let g=(await C.messageBus.rpcCall("getModelSheetUuid",e)).message;tt.setTabData(e,{containerId:tt.getTabContainer(e),doctype:i,ticket:n||"",updateTime:a.updateTime||"",isProjectLib:wi&&a.isProjectLib?a.isProjectLib:!1,"data-model-sheet-uuid":g,...a||{}});let b=a.updateTime||"";return(!n||!b)&&([se.SCH,se.PCB,se.FOOTPRINT].includes(i)||kl(i))&&tt.updateTicket(e),!0}static findNextTab(e){let i=tt.getTabById(e),o="tab_page1";if(!i)return o;let r=tt.getFilterTabs(["0"]),n="";return r.some((a,s)=>a.tabId===i.tabId?(s===r.length-1||(n=r[s+1].tabId),!0):!1),n||r[0].tabId}static findPrevTab(e){let i=tt.getTabById(e),o="tab_page1";if(!i)return o;let r=tt.getFilterTabs(["0"]),n="";return r.some((a,s)=>a.tabId===i.tabId?(s===0||(n=r[s-1].tabId),!0):!1),n||r[r.length-1].tabId}static historyNextTab(e,i,o,r){let n=o?It.getActiveOrder(o):It.getBelongActiveOrder(tt.belongContainer),a=i?n.filter(l=>!i.includes(l)):n,s=r?"":"tab_page1";return a.some((l,c)=>l===e?(s=c===a.length-1?r?"":a[0]:a[c+1],!0):!1),s}static historyPrevTab(e,i,o,r){let n=o?It.getActiveOrder(o):It.getBelongActiveOrder(tt.belongContainer),a=i?n.filter(l=>!i.includes(l)):n,s=r?"":"tab_page1";return a.some((l,c)=>l===e?(s=c===0?r?"":a[a.length-1]:a[c-1],!0):!1),s}static setContainerRecord(e){tt.containerIds.forEach(i=>{let o=It.containerInfo[i];o&&(o.notRecord=e)})}static isUseSwitchDocHotkey(e){let i=uci(e);if(tt.containerIds.some(r=>It.containerInfo[r].notRecord)&&(Ys.getHotkey("switchNextDoc").split("+")[0]===i||Ys.getHotkey("switchPreDoc").split("+")[0]===i)){tt.setContainerRecord(!1);let r=tt.getActiveTab();r&&It.setActiveOrder(tt.getTabContainer(r),r)}}static removeTab(e){cn.deletePage(e);let o={containerId:tt.getTabContainer(e),tabId:`${e}`};It.deleteTab(o)}static getFirstTab(){return tt.getFilterTabs(["tab_page1","0"])[0].tabId}static getLastTab(){let e=tt.getFilterTabs(["tab_page1","0"]);return e[e.length-1].tabId}static getAllTabId(){return tt.getFilterTabs(["tab_page1"]).map(e=>e.tabId)}static getAllTabIdByDoctype(e){let i=tt.getFilterTabs([]),o=[];return i.forEach(r=>{var n;((n=r==null?void 0:r.data)==null?void 0:n.doctype)===e&&o.push(r.tabId)}),o}static getActiveSchematicId(){let e=tt.getActiveTab();if(e.indexOf("_")>-1)return e.split("_")[0];let i;return C.messageBus.publish("schematicUuid",{tabId:e,cb:o=>{i=o}}),i}static getActiveSchematicId1(){let e=tt.getActiveTab(),i;return C.messageBus.publish("schematicUuid",{tabId:e,cb:o=>{i=o}}),i}static getActiveSchematicName(){let e;return C.messageBus.publish("schematicName",{tabId:tt.getActiveTab(),cb:i=>{e=i}}),e}static getTopActiveSchematicId(){let e=tt.getActiveTab();return tt.getTabDocType(e)===se.ASSEMBLY_VARIANT?ri.currentSchematicId:ol(e)?e.split("_")[0]:tt.getActiveSchematicId()}static isProjectLibSymbolTab(e=gi()){let[i,o]=e.split(UT);return o===C.currentProject.projectId}static getModelTabId(e){if(tt.getDoctypeByTabId(e)!==se.SCH)return e;let i;return C.messageBus.publish("sch/getModelSheetUuidSync",{tabid:e,cb:o=>{i=o}}),i?lo(i):e}static getModelSheetUuid(e){if(C.isHistoryMode&&tt.getDoctypeByTabId(e)!==se.SCH)return e;let i;return C.messageBus.publish("sch/getModelSheetUuidSync",{tabid:e,cb:o=>{i=o}}),i||e}static getVersion(e){var i,o;return(o=(i=tt.getTabById(e))==null?void 0:i.data)==null?void 0:o.version}static getPath(e){var i,o;return(o=(i=tt.getTabById(e))==null?void 0:i.data)==null?void 0:o.path}static getAllTabBySheetId(e){let[i,o]=wr(e),r=tt.getTabById(e);return((r==null?void 0:r.data)||{})["data-model-sheet-uuid"]===i?r.tabId:""}static getSheetOrderId(){let e=tt.getActiveTab();return tt.getSheetOrderIdByTabId(e)}static isBlockSymbolSheet(e){var i,o;return(o=(i=tt.getTabById(e))==null?void 0:i.data)==null?void 0:o.isBlockSymbolSheet}static getSheetOrderIdByTabId(e){let i;return C.messageBus.publish("sheetOrderId",{tabId:e,cb:o=>{i=o}}),i}static getDoctypeByTabId(e){var i,o;return(o=(i=tt.getTabById(e))==null?void 0:i.data)==null?void 0:o.doctype}static isExistTab(){return tt.getFilterTabs(["tab_page1"]).length}};tt.currentTabId="tab_page1",tt.belongContainer="editor-window-main",tt.containerIds=[tt.belongContainer],tt.containerTree={id:"editor-window-main",width:1,height:1},tt.containerSize=6,tt.initContainerTree=null,tt.isOpenProjectDoc=!1,tt.isOpenOtherDoc=!1,tt.dividerSet={},tt.containerIndex=1,tt.tabActiveEvents={},tt.tabCloseEvents={},tt.blankContextMenuConfig=(e,i)=>{let o={menuId:"center-tab-blank-contextMenu",defaultConfig:[{id:"head",title:"\u9996\u5BF9\u9F50",callback:()=>It.changePosition(e,{tabAlign:"head"})},{id:"tail",title:"\u5C3E\u5BF9\u9F50",callback:()=>It.changePosition(e,{tabAlign:"tail"})},{id:"top",title:"\u5438\u9644\u5230\u4E0A\u65B9",callback:()=>tt.changeTabDock("top",e)},{id:"bottom",title:"\u5438\u9644\u5230\u4E0B\u65B9",callback:()=>tt.changeTabDock("bottom",e)},{id:"left",title:"\u5438\u9644\u5230\u5DE6\u4FA7",callback:()=>tt.changeTabDock("left",e)},{id:"right",title:"\u5438\u9644\u5230\u53F3\u4FA7",callback:()=>tt.changeTabDock("right",e)}]},{tabDock:r="top",tabAlign:n="head"}=It.containerInfo[e],a={menuId:o.menuId,defaultConfig:o.defaultConfig.filter(s=>!(s.id===r||s.id===n))};pl.open({menuConfig:a,position:{x:i.clientX-5,y:i.clientY-5}})},tt.tabContextMenu=(e,i,o)=>{var m;let r=e.tabId,n=tt.getTabContainer(r),a=tt.getTabById(r),s=(m=a==null?void 0:a.data)==null?void 0:m.doctype,l=()=>{let h=!1;return[se.PCB,se.SCH,se.PART,se.FOOTPRINT].includes(s)&&(h=!0),s==se.FOOTPRINT&&wr(r)[0].includes("_")&&(h=!1),h},c={menuId:"center-tab-contextMenu",defaultConfig:[{id:"Open in New Window",title:"Open in New Window...",command:"open_in_new_window",args:{tabid:r}},null,{id:"Close Tab",title:"Close Tab",command:"close_tab",args:{tabid:r}},{id:"Close Other Tabs",title:"Close Other Tabs",command:"close_other_tabs",args:{tabid:r}},{id:"Close All Tabs",title:"Close All Tabs",command:"close_all_tabs",args:{tabid:r}},null,{id:"Horizontal Split",title:"Horizontal Split",command:"horizontal_split_tab",args:{tabid:r},disable:()=>tt.getFilterTabs(["0"],n).length<=1||tt.getContainerNum(n,"column")>=tt.containerSize},{id:"Vertical Split",title:"Vertical Split",command:"vertical_split_tab",args:{tabid:r},disable:()=>tt.getFilterTabs(["0"],n).length<=1||tt.getContainerNum(n,"row")>=tt.containerSize},null,{id:"Tile All",title:"Tile All",command:"tile_all__tab",args:{tabid:r},disable:()=>{var x,S,T,M;let h=tt.getTileStatus(),f=tt.getFilterTabs(["0"]).length<=1,g=h==="all"||h==="horizontal_all",b=(S=(x=tt.containerTree)==null?void 0:x.children)==null?void 0:S.length,y=b&&b>=tt.containerSize&&!!((M=(T=tt.containerTree)==null?void 0:T.children[b-1])!=null&&M.children),w=tt.containerIds.some((I,A)=>{var N,R,v;let D=A===tt.containerIds.length-1,E=(v=(R=(N=It.containerInfo[I])==null?void 0:N.tabs)==null?void 0:R.filter(k=>!["tab_page1","0"].includes(k.tabId)))==null?void 0:v.length;return E&&!(D&&y)&&E>1});return f||g&&!w}},{id:"Merge All",title:"Merge All",command:"merge_all_tab",args:{tabid:r},disable:()=>tt.containerIds.length<=1}]},d={menuId:"center-tab-contextMenu",defaultConfig:[{id:"Open in New Window",title:"Open in New Window",command:"open_in_new_window",args:{tabid:r}},{id:"Close All Tabs",title:"Close All Tabs",command:"close_all_tabs",args:{tabid:r}},null,{id:"Horizontal Split",title:"Horizontal Split",command:"horizontal_split_tab",args:{tabid:r},disable:()=>tt.getFilterTabs(["0"],n).length<=1||tt.getContainerNum(n,"column")>=tt.containerSize},{id:"Vertical Split",title:"Vertical Split",command:"vertical_split_tab",args:{tabid:r},disable:()=>tt.getFilterTabs(["0"],n).length<=1||tt.getContainerNum(n,"row")>=tt.containerSize},null,{id:"Tile All",title:"Tile All",command:"tile_all__tab",args:{tabid:r},disable:()=>{var x,S,T,M;let h=tt.getTileStatus(),f=tt.getFilterTabs(["0"]).length<=1,g=h==="all"||h==="horizontal_all",b=(S=(x=tt.containerTree)==null?void 0:x.children)==null?void 0:S.length,y=b&&b>=tt.containerSize&&!!((M=(T=tt.containerTree)==null?void 0:T.children[b-1])!=null&&M.children),w=tt.containerIds.some((I,A)=>{var N,R,v;let D=A===tt.containerIds.length-1,E=(v=(R=(N=It.containerInfo[I])==null?void 0:N.tabs)==null?void 0:R.filter(k=>!["tab_page1","0"].includes(k.tabId)))==null?void 0:v.length;return E&&!(D&&y)&&E>1});return f||g&&!w}},{id:"Merge All",title:"Merge All",command:"merge_all_tab",args:{tabid:r},disable:()=>tt.containerIds.length<=1}]},p=s===se.HOME||s===se.BLANKTAB?tt.getFilterTabs(["tab_page1",`${se.BLANKTAB}`]).length>0?d:{menuId:d.menuId,defaultConfig:d.defaultConfig.filter(h=>(h==null?void 0:h.id)!=="Close All Tabs")}:l()?c:{menuId:c.menuId,defaultConfig:c.defaultConfig.filter(h=>!h||(h==null?void 0:h.id)!=="Open in New Window")};pl.open({menuConfig:p,position:o||{x:i.clientX-5,y:i.clientY-5}})},tt.sheetTabOrder=[];var he=tt;async function xko(t="tab_page1",e=void 0,i=!0){var o=he.getTabDocType(t);let r=he.getActiveTab();var n=e===void 0?r:e,a=he.getTabDocType(n);let s=uDe(!0),l,c,d,u=[];for(c in s){if(!Object.hasOwnProperty.call(s,c))continue;d=s[c],l=(0,rc.default)("#"+c).hasClass("close"),(0,rc.default)("#modelogo").data(c,!l),d==l&&u.push({id:c,isClose:!d})}u.forEach(p=>{Pn(p.id,p.isClose)}),C.messageBus.publish("updateIFrameState",{head:{doctype:a,from:"",to:n},body:{active:!1}}),C.messageBus.publish("updateIFrameState",{head:{doctype:o,from:"",to:t},body:{active:!0}})}var Tko=L(Se());var MQ=L(z());function Sko(t={}){let{}=t,i=Dt({title:"Logout",content:"Something has not been saved.",footer:(0,MQ.jsx)(()=>{let o=J(),[r,n]=(0,Tko.useState)(!1),a=async l=>{switch(l){case"ignoreExit":{let c=he.getUnsavedTabs(),d=he.getNewTabs();await he.closeSavedTabs();for(let u of c){let p=u.tabId;await Xb(p)}C.messageBus.publish("logoutDlgHandler",d),s();break}case"saveExit":{n(!0),await xl(),n(!1),await C.messageBus.rpcCall("/pro-mgr/project/upload/force"),await C.messageBus.rpcCall("/pro-mgr/project/sync/force"),C.messageBus.publish("/pro-mgr/project/sync/suspend"),Xg(C.currentProject.projectId),Xo.logout(!0),s();break}case"cancel":{s();break}}},s=()=>{le.destroy(i)};return(0,MQ.jsxs)(MQ.Fragment,{children:[(0,MQ.jsx)(Me,{"data-test":"Ignore and exit",type:"primary",size:"md",disabled:r,onClick:()=>a("ignoreExit"),children:"Ignore and exit"}),(0,MQ.jsx)(Me,{"data-test":"Save and exit",type:"primary",size:"md",disabled:r,onClick:()=>a("saveExit"),children:"Save and exit"}),(0,MQ.jsx)(Me,{"data-test":"Cancel",size:"md",disabled:r,onClick:()=>a("cancel"),children:"Cancel"})]})},{})})}var Oko=L(Vi());var Prn=t=>{let e="",i=!0,o=s=>Object.prototype.toString.call(s).slice(8,-1).toLowerCase(),r=s=>encodeURIComponent(s).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]"),n=s=>o(s)==="object",a=(s,l)=>{let c=o(s);if(c==="array")s.forEach((d,u)=>{n(d)||(u=""),a(d,l+`%5B${u}%5D`)});else if(c==="object")for(let d in s)l?a(s[d],l+"%5B"+r(d)+"%5D"):a(s[d],r(d));else i||(e+="&"),i=!1,e+=l+"="+r(s)};return a(t,""),e},GDe=({url:t,method:e="GET",params:i,data:o,headers:r,withCredentials:n,cache:a=!1})=>new Promise((s,l)=>{let c=new XMLHttpRequest;e=e.toUpperCase(),c.open(e,t+(i?"?"+Prn(i):"")),c.setRequestHeader("Content-Type","application/json;charset=UTF-8"),a||(c.setRequestHeader("Cache-Control","no-cache, no-store, must-revalidate"),c.setRequestHeader("Pragma","no-cache"),c.setRequestHeader("Expires","0")),r&&Object.keys(r).forEach(d=>{c.setRequestHeader(d,r[d])}),c.withCredentials=!!n,c.send(o?JSON.stringify(o):null),c.onreadystatechange=()=>{try{c.readyState===4&&(c.status===200?s(JSON.parse(c.responseText)):c.responseText?l(JSON.parse(c.responseText)):l(new Error("HTTP error: "+c.status+" "+c.statusText)))}catch(d){l(d)}},c.onerror=()=>{l(new Error("Network error"))},c.ontimeout=()=>{l(new Error("Request timeout"))}});var Mko="/cas/sso",_te=(t=>(t[t.SUCCESS=200]="SUCCESS",t[t.FORBIDDEN=10403]="FORBIDDEN",t))(_te||{});var Kk=(t,e,i=!1)=>{let o=n=>{if(typeof n.data=="string")try{let a=JSON.parse(n.data);a.type===t&&(e&&e(a),i&&r())}catch{}};window.addEventListener("message",o);let r=()=>{window.removeEventListener("message",o)};return r},Iko=t=>t[t.length-1]==="/"?t.slice(0,-1):t,Lko=t=>{let e=new URL(window.location.href);e.searchParams.delete(t);let i=e.origin+e.pathname+e.search+e.hash;window.history.replaceState({},document.title,i)},vko=t=>t.split("&").reduce((e,i)=>{let[o,r]=i.split("=");try{r&&(e[o]=decodeURIComponent(r))}catch(n){console.log(n)}return e},{}),SWt=t=>t===""||t===null||t===void 0;var Klt={};X4e(Klt,{AccountState:()=>Wlt,ErrorCode:()=>jte,MessageEventTypeEnum:()=>jL,ModuleEnum:()=>YDe,UIEnum:()=>oce,UI_URL_CONFIG:()=>MWt,URL_AUTH_CODE_KEY:()=>Qlt,WINDOW_LOGIN_URL:()=>IWt});var oce=(t=>(t.PC="pc",t.MOBILE="mobile",t))(oce||{}),YDe=(t=>(t.LOGIN="login",t.REGISTER="register",t.BACK_PWD="back-pwd",t.MODIFY_PWD="modify-pwd",t.SET_PHONE="set-phone",t.MODIFY_PHONE="modify-phone",t.SET_EMAIL="set-email",t.MODIFY_EMAIL="modify-email",t.LOGOFF="logoff",t))(YDe||{}),MWt={pc:{login:"/login",register:"/register","back-pwd":"/back-pwd","modify-pwd":"/modify-pwd","set-phone":"/set-phone","modify-phone":"/modify-phone","set-email":"/set-email","modify-email":"/modify-email",logoff:"/logoff"},mobile:{login:"/m/login",register:"/m/register","back-pwd":"/m/back-pwd","modify-pwd":"/m/modify-pwd","set-phone":"/m/set-phone","modify-phone":"/m/modify-phone","set-email":"/m/set-email","modify-email":"/m/modify-email",logoff:"/m/logoff"}},IWt="/window/login",jL=(t=>(t.WINDOW_LOGIN_SUCCESS="JLC_CAS_WINDOW_LOGIN_SUCCESS",t.CLOSE_WINDOW_FROZEN="JLC_CAS_CLOSE_WINDOW_FROZEN",t.CLOSE_WINDOW_LOGIN="JLC_CAS_CLOSE_WINDOW_LOGIN",t.DOMContentLoaded="JLC_CAS_DOMContentLoaded",t.AUTO_LOGIN_SUCCESS="JLC_CAS_AUTO_LOGIN_SUCCESS",t.AUTO_LOGIN_FAIL="JLC_CAS_AUTO_LOGIN_FAIL",t.FROZEN_LOGOUT_SUCCESS="JLC_CAS_FROZEN_LOGOUT_SUCCESS",t.FROZEN_LOGIN_SUCCESS="JLC_CAS_FROZEN_LOGIN_SUCCESS",t.FROBIDDEN_LOGIN_OTHER_ACCOUNT="JLC_CAS_FROBIDDEN_LOGIN_OTHER_ACCOUNT",t))(jL||{}),Wlt=(t=>(t[t.NORMAL=0]="NORMAL",t[t.FORZEN=1]="FORZEN",t[t.LOGOFFED=2]="LOGOFFED",t))(Wlt||{}),jte=(t=>(t[t.DISABLED_COOKIE=1001]="DISABLED_COOKIE",t[t.DUPLICATE_TRY=1002]="DUPLICATE_TRY",t[t.FROZEN_LOGIN_FAIL=1003]="FROZEN_LOGIN_FAIL",t))(jte||{}),Qlt="code";var Dko="jlcCasBizParams",Eko=t=>{typeof window>"u"||localStorage.setItem(Dko,JSON.stringify(t))},LWt=()=>{if(typeof window>"u")return{};let t=localStorage.getItem(Dko);return(()=>{try{return t?JSON.parse(t):{}}catch{return{}}})()},Rrn=()=>{let t=LWt();Object.keys(t).forEach(e=>{let{expires:i}=t[e];i&&i<=Date.now()&&delete t[e]}),Eko(t)},Ako=t=>{if(!t)return{};let e={},i=LWt();return Object.keys(i).filter(o=>t[o]).forEach(o=>{let r=i[o];r.expires&&r.expires<=Date.now()||SWt(r)||typeof r.value=="object"&&Object.assign(e,r.value)}),e},rce=({key:t,value:e,expires:i,validator:o,validatorParams:r,radioKeys:n=[]})=>{if(!o||typeof o=="function"&&!o(r||e)||SWt(e))return;let a=LWt();n.filter(s=>s!==t).forEach(s=>{delete a[s]}),a[t]={value:e,expires:i},Eko(a)},Nko=t=>{Rrn();let e=()=>Date.now()+10080*60*1e3,{s:i,from:o,bd_vid:r,msclkid:n,clickid:a,tx_callback:s,bili_track_id:l}=vko(location.search.slice(1));i&&rce({key:"salesman",value:{s:i},validator:t==null?void 0:t.salesman}),o&&rce({key:"marketing",value:{from:o},expires:e(),validator:t==null?void 0:t.marketing});let c=["bing","oceanengine","bilibili","baidu","tencent"];n&&rce({key:"bing",value:{msclkid:n},expires:e(),radioKeys:c,validator:t==null?void 0:t.bing}),a&&rce({key:"oceanengine",value:{clickid:a},expires:e(),radioKeys:c,validator:t==null?void 0:t.oceanengine}),l&&rce({key:"bilibili",value:{bili_track_id:l},expires:e(),radioKeys:c,validator:t==null?void 0:t.bilibili}),r&&rce({key:"baidu",value:{baiduSourceUrl:location.href},expires:e(),radioKeys:c,validatorParams:{bd_vid:r},validator:t==null?void 0:t.baidu}),s&&rce({key:"tencent",value:{tx_callback:s},expires:e(),radioKeys:c,validator:t==null?void 0:t.tencent})};var _rn=Object.defineProperty,jrn=(t,e,i)=>e in t?_rn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,kw=(t,e,i)=>(jrn(t,typeof e!="symbol"?e+"":e,i),i),kko=(t=>(t.TRY_LOGIN_FAIL="JLC_TRY_LOGIN_FAIL",t))(kko||{}),WDe=class{constructor({ui:e,appId:i,casUrl:o,onLogin:r,loginByCode:n,wxAuthProxy:a,trackBizParam:s,bizParamRules:l,postTryLoginFailToUniApp:c=!1,needCheckThirdPartyCookie:d=!1,needCallbackAuthCode:u=!1,getBizExtendedParam:p}){kw(this,"casUrl"),kw(this,"loginState","init"),kw(this,"isTriedLogin",!1),kw(this,"outerLoginPromise"),kw(this,"onLogin"),kw(this,"loginByCode"),kw(this,"ui"),kw(this,"appId"),kw(this,"wxAuthProxy"),kw(this,"trackBizParam"),kw(this,"bizParamRules"),kw(this,"tryLoginPromise",null),kw(this,"postTryLoginFailToUniApp"),kw(this,"needCallbackAuthCode"),kw(this,"needCheckThirdPartyCookie"),kw(this,"checkThirdPartyCookiePromise",null),kw(this,"getBizExtendedParam"),kw(this,"api",{checkThirdPartyCookie:()=>GDe({method:"post",url:this.getApiUrl("/check-third-party-cookie"),withCredentials:!0}),checkLogin:m=>GDe({method:"post",url:this.getApiUrl("/check-login"),data:m,withCredentials:!0}),logout:()=>GDe({url:this.getApiUrl("/logout"),withCredentials:!0})}),this.ui=e,this.appId=i,this.onLogin=r,this.loginByCode=n,this.trackBizParam=s,this.bizParamRules=l,this.wxAuthProxy=a,this.casUrl=Iko(o),this.postTryLoginFailToUniApp=c,this.needCheckThirdPartyCookie=d,this.needCallbackAuthCode=u,this.getBizExtendedParam=p;try{if(typeof window<"u"){let m=new URL(this.casUrl).host.split(".").slice(-2),h=location.host.split(".").slice(-2);m.some((f,g)=>h[g]!==f)&&(this.needCheckThirdPartyCookie=!0,this.needCallbackAuthCode=!0)}}catch(m){console.log(m)}typeof window<"u"&&s&&this.takeQueryBizParams()}getUi(){return typeof this.ui=="string"?this.ui:this.ui()}getApiUrl(e){return`${this.casUrl}/api${Mko}${e}`}getAllBizParams(){let e={};return this.getBizExtendedParam&&Object.assign(e,this.getBizExtendedParam()),this.trackBizParam&&Object.assign(e,Ako(this.bizParamRules)),e}takeQueryBizParams(){return Nko(this.bizParamRules)}async openLoginWindow({redirectUrl:e,onLoginSuccess:i,onLoading:o,onLoaded:r,onLoadFail:n,loginFrameOptions:a}={}){if(this.loginState==="init"){this.loginState="loading",o&&o();try{await this.controlledCheckThirdPartyCookie()?this.createLoginFrame({...a,onClose:()=>{this.loginState="init",a!=null&&a.onClose&&a.onClose()},onLoaded:()=>{this.loginState="loaded",r&&r()},onLoginSuccess:()=>{this.loginState="init",i&&i()}}):(this.loginState="init",r&&r(),this.toLogin(e))}catch(s){this.loginState="init",n&&n(s)}}}createLoginFrame({onLoaded:e,onClose:i,onLoginSuccess:o,id:r="jlc-cas-login-window",redirectUrl:n,...a}){let s=IWt,l=this.getModuleUrlByPath(s,n),{iframe:c,removeFrame:d}=this.createFrame({...a,src:l,id:r,onLoaded:e,onRemoveFrame:()=>{p(),u()}}),u=Kk(jL.WINDOW_LOGIN_SUCCESS,()=>{d(),o&&o()},!0),p=Kk(jL.CLOSE_WINDOW_LOGIN,()=>{d(),i&&i()},!0);return c}createFrame({src:e,attrs:i={},closeable:o=!0,container:r,id:n="jlc-cas-window",zIndex:a=1e5,onLoaded:s,onRemoveFrame:l}){let c=document.createElement("iframe"),d="";o||(d+="&closeable=0");let u=e.includes("?")?"&":"?";e+=`${u}${d}`,c.src=e,c.id=n,c.style.position="fixed",c.style.top="0",c.style.left="0",c.style.width="100%",c.style.height="100%",c.style.zIndex=String(a)||"100000",c.style.border="none",Object.keys(i).forEach(h=>{c.setAttribute(h,i[h])});let p=Kk(jL.DOMContentLoaded,s,!0),m=r||document.body;return m.appendChild(c),{iframe:c,removeFrame:()=>{p(),l&&l(),m.removeChild(c)},iframeContainer:m}}crossCheckLogin(){return this.api.checkLogin({appId:this.appId}).then(e=>{if(e.code===_te.SUCCESS){let{status:i,isLogin:o,code:r}=e.data;if(i===Wlt.FORZEN){let{endTime:n,systemTime:a,applyTime:s,customerCode:l}=e.data;return this.openFrozenTips({endTime:n,systemTime:a,applyTime:s,customerCode:l})}else if(o&&r)return e.data.code}else e.code===_te.FORBIDDEN&&this.openForbiddenTips();return Promise.reject(e)})}getAuthCode(){return this.api.checkLogin({appId:this.appId}).then(e=>e.code===_te.SUCCESS&&e.data.isLogin&&e.data.isLogin?e.data.code:Promise.reject(e))}openFrozenTips({customerCode:e,applyTime:i,systemTime:o,endTime:r}){return new Promise((n,a)=>{let s=this.getUi()===oce.MOBILE?"/m/frozen":"/window/frozen",l=`customerCode=${e}&applyTime=${i}&systemTime=${o}&endTime=${r}`,c=`${this.getModuleUrlByPath(s)}&${l}`,{removeFrame:d}=this.createFrame({src:c,id:"jlc-cas-frozen",onRemoveFrame:()=>{u(),p(),m()}}),u=Kk(jL.FROZEN_LOGIN_SUCCESS,()=>{n(this.getAuthCode()),d()},!0),p=Kk(jL.FROZEN_LOGOUT_SUCCESS,()=>{d(),a({code:jte.FROZEN_LOGIN_FAIL,message:"[cas-sdk]: Interrupt freeze period login"})},!0),m=Kk(jL.CLOSE_WINDOW_FROZEN,()=>{d(),a({code:jte.FROZEN_LOGIN_FAIL,message:"[cas-sdk]: Interrupt freeze period login"})},!0)})}openForbiddenTips(){if(!this.onLogin)return;let e=this.getUi()===oce.MOBILE?"/m/forbidden":"/window/forbidden",i=`${this.getModuleUrlByPath(e)}`,{removeFrame:o}=this.createFrame({src:i,id:"jlc-cas-frobidden"});Kk(jL.FROBIDDEN_LOGIN_OTHER_ACCOUNT,()=>{o(),this.onLogin()},!0)}iframeAutoLogin(){return new Promise((e,i)=>{let o=`${this.casUrl}/by-pit?appId=${this.appId}`,r=document.createElement("iframe");r.src=o,r.style.display="none",Kk(jL.AUTO_LOGIN_SUCCESS,()=>{document.body.removeChild(r),e(this.getAuthCode())},!0),Kk(jL.AUTO_LOGIN_FAIL,()=>{document.body.removeChild(r),i()},!0),document.body.appendChild(r)})}toCheckLogin(e){let i=this.getModuleUrlByPath(this.getUi()===oce.MOBILE?"/m/login":"/login",e);location.href=`${this.getApiUrl("/check-login-location")}?redirectUrl=${encodeURIComponent(this.getRedirectUrl(e))}&appId=${this.appId}&frozenPageUrl=${encodeURIComponent(i)}`}tryLogin({onLogin:e,loginByCode:i,triggerLoginOnFail:o,redirectUrl:r,postTryFailToUniApp:n}){if(this.isTriedLogin)return this.outerLoginPromise||Promise.reject({code:jte.DUPLICATE_TRY,message:"[cas-sdk]: Duplicate tryLogin"});e&&(this.onLogin=e);let a=i||this.loginByCode;n=typeof n>"u"?this.postTryLoginFailToUniApp:n;let s=()=>{let{userAgent:m}=navigator,h=new URLSearchParams(location.search).get("clientType");return["MP-WEIXIN","APP-IOS","APP-ANDROID"].includes(h)||m.match(/Html5Plus|uni-app/i)||m.match(/miniProgram/i)||window.__wxjs_environment==="miniprogram"},l=()=>{window.uni.navigateBack(),window.uni.postMessage({data:{type:"JLC_TRY_LOGIN_FAIL"}})},c=()=>this.tryLoginPromise?this.tryLoginPromise.catch(m=>{if(o){if(!this.isTriedLogin)if(n&&s())l(),this.stopTryLogin();else{let h=this.onLogin();this.stopTryLogin(h)}if(this.outerLoginPromise instanceof Promise)return this.outerLoginPromise}return Promise.reject(m)}):this.tryLoginPromise,d=()=>(this.tryLoginPromise||(this.tryLoginPromise=this.crossCheckLogin().catch(m=>(m==null?void 0:m.code)===jte.FROZEN_LOGIN_FAIL?Promise.reject(m):this.iframeAutoLogin()).then(a).finally(()=>{this.tryLoginPromise=null})),c()),u=()=>{let m=new URLSearchParams(location.search).get(Qlt);return m&&m.startsWith("AC-")?(this.tryLoginPromise||(this.tryLoginPromise=a(m).finally(()=>{Lko(Qlt),this.tryLoginPromise=null})),c()):(o&&!this.isTriedLogin&&(this.isTriedLogin=!0,this.toLogin(r)),Promise.reject({code:jte.DISABLED_COOKIE,message:"[cas-sdk]: Tripartite cookies are not supported"}))},p=m=>m?d():u();return this.controlledCheckThirdPartyCookie().then(p)}stopTryLogin(e){let i=()=>this.resetTriedLogin();this.isTriedLogin=!0,e instanceof Promise&&(this.outerLoginPromise=e,this.outerLoginPromise.finally(i)),Kk(jL.CLOSE_WINDOW_LOGIN,i,!0),Kk(jL.WINDOW_LOGIN_SUCCESS,i,!0)}resetTriedLogin(){this.isTriedLogin=!1,this.outerLoginPromise=null}toLogin(e){location.href=this.getModuleUrl(YDe.LOGIN,e)}getModuleUrl(e,i){let o=Object.values(YDe);if(o.indexOf(e)===-1)throw new Error(`[cas-sdk]: moduleName parameter error, supports: ${o.join(", ")}`);let r=MWt[this.getUi()||oce.PC][e];return this.getModuleUrlByPath(r,i)}getModuleUrlByPath(e,i){let o=`${this.casUrl}${e}?appId=${this.appId}&redirectUrl=${encodeURIComponent(this.getRedirectUrl(i))}`;this.needCallbackAuthCode&&(o+="&backCode=1"),this.wxAuthProxy&&(o+=`&wxAuthProxy=${encodeURIComponent(this.wxAuthProxy)}`);let r=this.getAllBizParams();return Object.keys(r).length&&(o+=`&bizExtendedParam=${encodeURIComponent(JSON.stringify(r))}`),o}crossLogout(){return this.api.logout().then(e=>e.code===_te.SUCCESS?e:Promise.reject(e))}toLogout(e){location.href=`${this.getApiUrl("/logout-location")}?redirectUrl=${encodeURIComponent(e||location.href)}`}async checkThirdPartyCookie(){try{let e=await this.api.checkThirdPartyCookie();return e.code===_te.SUCCESS?e.data?!0:this.api.checkThirdPartyCookie().then(i=>i.code===_te.SUCCESS?i.data:!1):!1}catch{return!1}}controlledCheckThirdPartyCookie(){return navigator.cookieEnabled?this.needCheckThirdPartyCookie?(this.checkThirdPartyCookiePromise||(this.checkThirdPartyCookiePromise=this.checkThirdPartyCookie()),this.checkThirdPartyCookiePromise):Promise.resolve(!0):Promise.resolve(!1)}getRedirectUrl(e){return e||location.href}};var Brn=()=>{let{host:t}=self.location,e=t.search("alpha")!==-1,i=t.search("uat")!==-1,o=t.search("dev")!==-1||t.search("localhost")!==-1||!1;return e||i?"https://test-passport.jlc.com":o?"https://dev-passport.jlc.com":"https://passport.jlc.com"},Pko=new WDe({ui:Klt.UIEnum.PC,appId:"JLC_EDA_PRO",casUrl:Brn(),needCheckThirdPartyCookie:!0,needCallbackAuthCode:!0});var zrn=t=>Oko.default.getJSON("/login",{code:t,state:new Date().getTime(),from:"editor",type:"auto_login"}).then(async e=>(console.warn("loginByCode",t),e!=null&&e.success&&(e!=null&&e.result)?(Hfe(e==null?void 0:e.result),e):Promise.reject(e))),Rko=async()=>{try{return vo||_t?void 0:await Pko.tryLogin({loginByCode:zrn,onLogin:()=>{},triggerLoginOnFail:!1,postTryFailToUniApp:!1})}catch(t){t!=null&&t.success||console.error(t)}};function br(t="onlyStatus"){var e=Xo.getUserInfoFromCache(),i=e.username,o=!!(e&&i),r=o&&QGt(),n=e.nickname;if(i=o?decodeURIComponent(i||"").replace(/\+/g," "):"",window.app&&o&&!r&&(r="/avatar/0/0"),t=="onlyStatus")return o;var a={logined:(0,jx.default)("#userbar").hasClass("logined")};a.userName=a.logined?qv.userName:"",a.avatar=a.logined?qv.userAvatar:"";var s=o!=a.logined,l=s||i!=a.userName;return l&&(n||i?(_f.setLoginStatus(!0),Je||(qv.setUserName(n||i),Urn())):(_f.setLoginStatus(!1),_d.setOrganization([]),(0,jx.default)("#userbar .bell").addClass("hide")),oJe()),r!=a.avatar&&Wfe(r),Krn(o,s),o}async function Urn(){var e;let t=await q8o();t&&t.length&&(_d.setOrganization(t),_t&&(R5e((e=t==null?void 0:t[0])==null?void 0:e.uuid),qg(t[0].uuid),C.isOpenInternalLib=t[0].open_lib,Vrn(t[0].uuid),C.messageBus.publish("/pro-mgr/organization/init",[t[0].uuid])))}function Vrn(t){C.concurrentBus.subscribe(`/pro-mgr/notify/message/org/${t}/openLib`,e=>{C.isOpenInternalLib=e.msg.openLib,C.messageBus.publish("updateInternalLibStatus",e.msg.openLib)})}async function R5e(t){if(!t)return;var e=Xo.getUserInfoFromCache();if(t==="Personal"){t=e.uuid;return}let i=await vpi(t);C.watermarkConfig=i;let o=iy(i,"3");if(o!=null){let a=document.getElementById("waterMark-container"),s=document.getElementById("waterMark");s&&a.removeChild(s),a.appendChild(r(o.text,o.fontSize,`rgba(${o.color.join(",")})`,o.rowWithRowGap,o.columnWithColumnGap,o.deg))}function r(n,a,s,l,c,d){var u=document.createElement("canvas"),p=u.getContext("2d");u.id="waterMark",u.width=window.outerWidth*2,u.height=window.outerHeight*3;let m=Math.ceil(u.width/c),h=Math.ceil(u.height/l);for(let g=0;g<m;g++)for(let b=0;b<h;b++)d>0?f(p,g*c,b*l-(u.height-window.outerHeight)):f(p,g*c-(u.width-window.outerWidth)/2,b*l-(u.height-window.outerHeight)/2);function f(g,b,y){g.save(),g.rotate(d*Math.PI/180),g.font=a+"px serif",g.fillStyle=s,g.fillText(n,b,y),g.restore()}return u}}function vWt(t=new Function){return Ol.get(C.apis.others.userInfo,{timeout:1e4},async function(e){var o;let i;if(e.success){window.need_change_password=e.result.need_change_password,y1("isLogout","false"),eft.syncLoginedUserInfo({uuid:e.result.uuid}),_f.setLoginStatus(!0),Xo.setUserInfo(e.result);let r=br("ignoreDocTree");(o=e==null?void 0:e.result)!=null&&o.distinct_id&&C.messageBus.publish("sensorsLogin",e.result.distinct_id),e.avatar&&(C.userAvatar=e.avatar,Wfe(e.avatar)),(0,jx.default)("#userbar .bell").removeClass("hide"),i=e.result.preference&&jx.default.parseJSON(e.result.preference),i?(i.language=i.language?i.language:e.result.info.language,await VDi(i),mt.setPreferences(i),jx.default.each(i,function(n,a){if(n==="language"&&mt.applyLanguage(),n==="new_toolbarConfig"){let s=dt();Tg.showForDocType(s),$j.showForDocType(s)}}),Object.hasOwnProperty.call(i,zre)||mt.setCacheObj(zre,[]),Object.hasOwnProperty.call(i,LR.isSelectAlignRefObject)||mt.setCacheObj(LR.isSelectAlignRefObject,!1),Object.hasOwnProperty.call(i,LR.isSelectAlignRefObjectForCenters)||mt.setCacheObj(LR.isSelectAlignRefObjectForCenters,!0),Z8o(),uDe(!1,!0),G8o(),Grn(),Yrn(),Wrn(),Ate.init(),Nc.updateHotkeyConfig(),await DWt(),C.userPropertyKeys=e_e()):mt.setLanguage(mt.getLanguage()),uDe(!1,!0),C.loginedUserInfo=e.result}else C.globalVariableCookieData={},Hrn(),Rko();kTe("21"),t(e)})}async function Hrn(){if(!vo)return;let e=!1,i=e?"https://testonekey.jlcpcb.com/api/checkLogins":"https://passport.jlcpcb.com/checkLogins",o=!wi&&/^(alpha\.|beta\.)easyeda\.com$/.test(location.host);o&&(i="https://testpassport.jlcpcb.com/checkLogins"),jx.default.ajax({type:"post",url:i,xhrFields:{withCredentials:!0},crossDomain:!0,contentType:"application/json",data:JSON.stringify({from:"eda",client_id:e||o?"GHFGHFHGFGH":"739ad3c2c22d424b9b2173a3737481af",redirect_uri:location.href,state:new Date().getTime(),response_type:"code"}),dataType:"json",success:function(r){var n=r&&r.data&&r.data.code;n&&jx.default.getJSON("/login",{code:n,state:new Date().getTime(),from:"editor",type:"json"}).then(async function(a){a&&await Hfe(a)},function(a){console.warn(a)})},error:function(r){console.error(r)}})}function Grn(){let t=hn();t=t&&t.CANVAS,pGt(t),O4()}function Yrn(){let t=LR.isSelectAlignRefObject,e=mt.getKeyValue(t);UE.switch("checkIfSelectAlignRefObject",!!e)}function Wrn(){let t=LR.isSelectAlignRefObjectForCenters,e=mt.getKeyValue(t);UE.switch("checkIfSelectAlignRefObjectForCenters",!!e)}function DWt(){return Ol.get(C.apis.hw.systemAttrs,{timeout:1e4},function(t){if(C.systemAttrs=[],t.success){let e=t.result;C.systemAttrs=e.slice(),C.messageBus.publish("syncGlobalData",{systemAttrs:C.systemAttrs}),Qrn(),C.messageBus.publish("setCustomTableHeadDataAgain",!0)}})}function Qrn(){var o,r;let t=C.systemAttrs||[],e=(o=C.profileSetting)==null?void 0:o.commSystemSetting,i="PROPERTY";if(e&&t.length>0&&((r=e[i])!=null&&r.property)){let n=e[i].property;typeof e[i].property=="object"&&Object.hasOwnProperty.call(e[i].property,"data")&&(n=e[i].property.data),n=JSON.parse(n),e[i].property=JSON.stringify(Tet(t,n))}}function jko(){C.ToolAttrs=["Name","ID","Partition","SymbolName","DEVICE","PKG_TYPE","REFDES","MultiPartGroupID","MultiPartNo","MultiPartCount","Pin Name","Pin Type","Pin Number","Side","Reverse","Clock","Length","Text","Font","Bold","Italic","Underline","Origin","Line Width","Line Style","Color","Fill Color","Round Radius","Center X","Center Y","Radius","Image URL","X Location","Y Location","DrawingSymbol","Global Net Name","3D Model Transform","3D Model Title","3D Model","Description","Multi-Part No","Multi-Part Count","Multi-Part Group","Relevance"],C.messageBus.publish("syncGlobalData",{ToolAttrs:C.ToolAttrs})}function Wfe(t){t=t||"",qv.setUserAvatar(t)}function bSt(t){var e=[];t.forEach(function(i){var o=i.members?i.members.filter(function(r){return r.uuid===_o()}):[];i.members||e.push({value:i.uuid,text:i.nickname}),o.length&&+o[0].role>0&&+o[0].role<4&&e.push({value:i.uuid,text:i.nickname})}),Mre.getInstance().optionList=e,e.length&&(Mre.getInstance().optionSelect=e[0].value)}async function oJe(){var n;if(Je)return;var t=Xo.getUserInfoFromCache();if(!t||!t.username)return;let{message:e}=await C.messageBus.rpcCall(Ei.OTHER.TEAMS,{pageSize:1e4});if(!e.success){Ut({type:"error",message:Mp(e)||"Load team info fail! Please reload."});return}var i=e.result.lists||[],o=t.username;C.teams=ue.deepClone(i),bo.getInstance().targetId=(n=e.result)==null?void 0:n.systemLibUuid,i.unshift({nickname:o,username:o,uuid:_o(),avatar:t.avatar}),zi.setTeamPermissionCaches(),bSt(i);var r=br();r&&((0,jx.default)("#loginInfo").text(t.nickname||t.userName).attr("title",t.nickname||t.userName).toggleClass("i18n",!1),Wfe(QGt())),C.messageBus.publish("updateTeamsInfo")}function Krn(t,e){e&&(0,jx.default)("#userbar").toggleClass("logined",t)}function DLo(t){var n,a;let e=((n=t==null?void 0:t.ownerInfo)==null?void 0:n.uuid)||((a=t==null?void 0:t.owner)==null?void 0:a.uuid)||t.owner_uuid||t.path;if(!t||!t.uuid)return;var i=jx.default.Deferred();return t.isFavorite?Ut({type:"confirm",title:"Notice",icon:"question",message:"Whether if remove favorite?",esc:!0,onConfirm:()=>{r()},onCancel:()=>{i.reject()}}):o(),i.promise();async function o(){if(t.cbb_project){let s=(await C.messageBus.rpcCall(Ei.PROJECT.STAR,{uuid:t.uuid,path:t.path||e})).message;if(!s||!s.success)return Ut({type:"error",message:s&&s.message||"Add favorite failed!"}),i.reject(),i.reject()}else t.docType?t.docType===ve.FOOTPRINT?await Ze.starFootprint({isProject:!1,path:t.path||e,uuid:t.uuid}):await Ze.starSymbol({isProject:!1,path:t.path||e,uuid:t.uuid}):await Ze.starDevice({isProject:!1,path:t.path||e,uuid:t.uuid});De({type:"success",msg:"Add favorite successfully!"}),i.resolve(1)}async function r(){if(t.cbb_project){let s=(await C.messageBus.rpcCall(Ei.PROJECT.UNSTAR,{uuid:t.uuid,path:t.path||e})).message;if(!s||!s.success){Ut({type:"error",message:s&&s.message||"Remove favorite failed!"}),i.reject();return}}else t.docType?t.docType===ve.FOOTPRINT?await Ze.unstarFootprint({isProject:!1,path:t.path||e,uuid:t.uuid}):await Ze.unstarSymbol({isProject:!1,path:t.path||e,uuid:t.uuid}):await Ze.unstarDevice({isProject:!1,path:t.path||e,uuid:t.uuid});De({type:"success",msg:"Remove favorite successully!",timer:1}),i.resolve(0)}}var IQ=class IQ{static async register(){var e=mt.getLanguage();e.match(/^(?:zh|cn|zh-hans|zh-chs|zh-sg)$/i)&&(e="zh-cn");var i="/register?from=editor&l="+e;window.open(i,"_blank")}static lostPassword(){window.open("/lostpassword","_blank")}static async login(){if(!br())wi?window.electronAPI.openWindowSelf(`${location.origin}/login?from=editor`):window.open("/login?from=editor");else{var e=IQ.getValueFromCacheUser("username")||"",i=Ob("avatar")||"";e=decodeURIComponent(e||"").replace(/\+/g," "),C.loginHandle({username:e,avatar:i})}}static logout(e){var i;if(he.hasTabUnSaved()&&e!==!0){Sko();return}(i=C.currentProject)!=null&&i.projectId?C.messageBus.rpcCall("/pro-mgr/project/upload/needUpload").then(({message:o})=>{o?Ut({type:"confirm",message:"Found that some files are being saved one after another, do you interrupt and exit?",textOK:"Confirm",textCancel:"Cancel",showCancel:!0,onConfirm:()=>{C.logoutClearAll=!1,IQ.logoutCallback()}}):(C.logoutClearAll=!1,IQ.logoutCallback())}):(C.logoutClearAll=!1,IQ.logoutCallback())}static async logoutCallback(){await he.closeSavedTabs(),C.currentProject.projectId&&await Xg(C.currentProject.projectId),await Xrn();try{await fetch("/logout?from=editor&time=1")}catch(e){console.error(e)}Fko(),y1("isLogout","true"),y1("isLogin","false"),_f.setLoginStatus(!1),_d.setOrganization([]),(0,jx.default)("#userbar .bell").addClass("hide"),(0,jx.default)("#userbar").removeClass("logined"),Wfe(""),C.messageBus.publish("clearUserInfo"),(0,jx.default)("#layout_toggler_bottom").hasClass("close")||Pn("layout_toggler_bottom",!0),Rc.setRecentProject([]),(0,jx.default)("#recent_lists").html(""),M1.clearCurrentPrjs(),tl(C.workspace==="Personal"?{}:{org_uuid:C.workspace}),await hc.clearIndexDBData("logout")}static getValueFromCacheUser(e){var i=IQ.getUserInfoFromCache();return i&&Object.hasOwnProperty.call(i,e)?i[e]:""}static changepassword(){window.open("/account/password","_blank")}static getUserInfoFromCache(){var e=C.globalVariableCookieData.userInfo;return e?e||{}:{}}static setUserInfo(e){var i;C.globalVariableCookieData||(C.globalVariableCookieData={}),C.globalVariableCookieData.userInfo={username:e.username,nickname:e.nickname||"",avatar:e.avatar,uuid:e.uuid,customerCode:((i=e.cas_info)==null?void 0:i.customerCode)||""},C.messageBus.publish("setUserInfo",C.globalVariableCookieData.userInfo)}static get isLogined(){let e=IQ.getUserInfoFromCache();return!(!e||!e.username)}};IQ.logoutCount=0;var Xo=IQ,Zrn={};function EWt(t,e){try{if(!t||!t.file||!t.lineno||!t.colno||t.detail.indexOf("https://embed.tawk.to/")>0)return;var i=t.detail.match(/#file:.+\n#message:.+\n#stack:.*\n.*(?:\n.*)?/);if(i||(i=t.detail.match(/#file:.+\n#message:.+/)),!t.key&&i&&i[0]&&(t.key=(0,_ko.default)(i[0])),!t.key||Object.hasOwnProperty.call(Zrn,t.key)&&!e)return;var o={};e&&m1(o,e),m1(o,{keyId:t.key,file:t.file,detail:t.detail}),m1(o,{locale:me.curr,build:C.version+","+C.buildDate,login:br()?1:0}),m1(o,R7e()),Vc({url:C.apis.others.bugReport,data:{bugInfo:JSON.stringify(o)},timeout:6e4}).then(function(r){r&&r.success})}catch(r){console.error("submitJsError :: "+r.description)}}function Jrn(t){var e="",i=navigator,o=t.stack||t.error&&t.error.stack;typeof C=="object"&&(e+="#build: "+C.version+", "+C.buildDate+`;
`);var r=Qri();r&&(e+="#browser: "+r+`;
`),e+="#userAgent: "+i.userAgent+`;
`,i.platform&&(e+="#platform: "+i.platform+`;
`),i.language&&(e+="#language: "+i.language+";"),i.languages&&(e+=" langs:"+i.languages+";"),i.systemLanguage&&(e+=" sysLang:"+i.systemLanguage+";"),i.userLanguage&&(e+=" userLang:"+i.userLanguage+";"),i.browserLanguage&&(e+=" browserLang:"+i.browserLanguage+";"),e+=`
`,typeof me=="object"&&me&&me.curr&&(e+="#Locale._curr: "+me.curr+`;
`);var n=location.protocol+"//"+location.host;e+="#location: "+location.href.replace(n,"")+`;
`;try{if(window!=top)e+="#top.location: "+top.location.href.replace(n,"")+`;
`;else{var a=(0,jx.default)("#tabbar_bodies .editframe").toArray();a.length&&(e+="#iframes: "+a.map(function(y){return y.getAttribute("src")}).join("  ")+`
`)}}catch{}e+="#tostring: "+t.toString()+`;
`,t.toString()!=Object.prototype.toString.call(t)&&(e+="#tostring2: "+Object.prototype.toString.call(t)+`;
`),t.type&&(e+="#type: "+t.type+`;
`);var s=t.filename||t.fileName||t.error&&t.error.filename||t.error&&t.error.fileName||"";s=s.replace(/[^#?]+\//,"");var l=t.lineno||t.lineNumber||t.error&&t.error.lineno||t.error&&t.error.lineNumber||"",c=t.colno||t.columnNumber||t.error&&t.error.colno||t.error&&t.error.columnNumber||"";if(!s&&o&&(o.match(/\/([^\/]+):(\d+):(\d+)\)/)?(s=RegExp.$1,l=RegExp.$2,c=RegExp.$3):o.match(/\/([^\/]+):(\d+)\)/)&&(s=RegExp.$1,l=RegExp.$2)),e+="#file: "+s+"; #line:"+l+"; #col:"+c+`;
`,t.message?e+="#message: "+t.message+`;
`:t.description?e+="#message: "+t.description+`;
`:t.error&&t.error.message?e+="#message: "+t.error.message+`;
`:t.error&&t.error.description&&(e+="#message: "+t.error.description+`;
`),o&&(n=n.replace(/[\/:]/g,"\\$&"),o=o.replace(new RegExp(n,"g"),""),o=o.replace(/\n(\S)/g,`
  $1`),e+="#stack: "+o+`;
`,o.indexOf("this.get(...).querySelectorAll")>0)){let y=top;!y._querySelectorAll_err&&y.$&&(y._querySelectorAll_err=1,setTimeout(function(){typeof notifyReportBug=="function"?notifyReportBug():C.windowBridge.publish("notifyReportBug",void 0,ko())},500));for(var d=[[Element,"Element","innerHTML","__INNERHTML_DESCRIPTOR"],[Node,"Node","textContent","__TEXTCONTENT_DESCRIPTOR"]],u=0;u<d.length;u++){var p=d[u],m=p[1],h=p[2],f=window[p[3]];if(f)try{var g,b;g=Object.getOwnPropertyDescriptor(p.prototype,h),(!g||g.set!=f.set)&&(b={}.toString.call(g.set),e+=`-----------------------
`+m+" "+h+` set was overide:
`+b+`
`,b.indexOf("[native code]")<0&&Object.defineProperty(p.prototype,h,f))}catch{}}}return{detail:e,file:s,lineno:l,colno:c}}function Bko(t){if(!(!t||typeof t!="object"))try{var e=Jrn(t);e.file&&e.lineno&&e.colno&&EWt(e)}catch{}}function zko(t,e){br()&&JSON.stringify(t)!=="{}"&&C.messageBus.rpcCall(Yo.COMMON.INIT_DB,[E7e]);var i,o;if(jx.default.isPlainObject(t)&&(i=t,o=i.avatar,t=i.username),!br("onlyStatus")){r();return}C.userAvatar=o||"",!C.globalVariableCookieData.userInfo&&C.globalVariableCookieData.userInfo.username&&mt.addKeyToUser("displayName",t),br(""),vWt(async n=>{await M1.init(),n.success&&(C.messageBus.publish("getSystemAttrs"),C.messageBus.publish("updateRecentList"),M1.initProjectListAndRecentDesigns(),Yfe(n).then(()=>{e&&e(),C.messageBus.publish("updateSystemConfig",d0()),C.messageBus.rpcCall("initSchToolBarSymbol"),C.messageBus.rpcCall("initSimToolBarSymbol"),C.messageBus.rpcCall("initNetportSymbol"),Lst(),Ane(),hc.initAllLibraryData()}),ms.initThemePreference())});function r(){Ol.get(C.apis.others.userInfo,{timeout:200},function(n){n?n.success?(Xo.logoutCount++,Xo.logoutCount>=3?(De({type:"error",msg:"Logout failed! Please try again!"}),Xo.logoutCount=0):Xo.logout(!0)):(Xo.logoutCount=0,enn()):Xo.logoutCount=0})}}function qrn(){let t=document.cookie.match(/[^ =;]+(?=\=)/g);t&&t.forEach(e=>{document.cookie=e+"=0;path=/;expires="+new Date(0).toUTCString()})}function Fko(){C.globalVariableCookieData.userInfo={},C.userAvatar="",C.teams=[],y1("preferences","{}")}async function Xrn(){if(vo&&(!wi||Uw)&&!_t)wi?window.electronAPI.openWindowSelf(`${location.origin}/logout?from=editor&time=1`):window.open("/logout?from=editor&time=1");else if(Xr&&(!wi||Uw)&&!_t){let t=document.createElement("iframe"),e=crypto.randomUUID().replaceAll("-","");t.src=`editor?entry=logout&busId=${e}`,t.width="0px",t.height="0px",document.body.appendChild(t);let i=new BroadcastChannel(e);await new Promise(o=>{i.addEventListener("message",r=>{r.data==="logout false"?setTimeout(()=>{document.body.removeChild(t)},5e3):document.body.removeChild(t),o()})}),i.close()}}function Uko(){Je||(Fko(),C.logoutClearAll&&qrn(),_f.setLoginStatus(!1),_d.setOrganization([]),y1("isLogin","false"),br(),C.messageBus.publish("clearUserInfo"))}function AWt(){br()&&Ol.get(C.apis.others.userInfo,{timeout:200},function(t){t&&!t.success&&t.code===401&&v6e()})}function v6e(){C.logoutClearAll=!0,$rn(),Uko()}function $rn(){if(!Je&&C.globalVariableCookieData.userInfo){let{username:t}=C.globalVariableCookieData.userInfo;t&&new Fi({type:"error",msg:"Login has expired, please log in again"})}}function enn(){C.logoutClearAll=!0,Uko(),De({type:"success",msg:"Logout Successfully!"})}var XPo=L(Vi());var Lf=L(Vi());var Vye=L(Vi()),Zlt=L(hU());async function NWt(t="exportOdb",e,i={}){let o=(await C.messageBus.rpcCall($e.PCB.GET_ALL_KV,[C.currentProject.projectId])).message,r=e==null?void 0:e.ignoreHash;for(let n in o){let a=t=="exportGerber"?{pcbId:n,ignoreHash:r}:{pcbId:n};a=Object.assign(a,i),await Jlt(a,t)}}async function Jlt(t,e="exportOdb"){let{pcbId:i,fileName:o}=t;var r=Vye.default.Deferred();let n=new Zlt.MessageBus(!0),a=new Zlt.WindowMessageBridge(n),s=`frame_export_${i}`,l=document.getElementById(s);t.exportConfig!==!1&&(t.exportConfig=!0),l=null;let c=Object.assign(t,{fileName:o,isTestExport:!0,frameId:s}),d=e=="exportOdb"?"Export ODB++...":"Export Gerber...";if(l){let u=(0,Vye.default)(l);return await a.rpcCall(e,c,u[0].contentWindow),vt(1,d),r.resolve()}else{let u=await inn(se.PCB,s),p=await tnn(i),m=(0,Vye.default)(u);m[0].onload=async function(){return await a.rpcCall("rpcExportInitFrameInfo",p,m[0].contentWindow),await a.rpcCall(e,c,m[0].contentWindow),vt(1,d),r.resolve()}}return r.promise()}async function tnn(t){var u;let e=await(await C.messageBus.rpcCall($e.PCB.GET,[t,C.currentProject.projectId])).message,i=(await C.windowBridge.rpcCall("isCheckedSelectAlignrefObject",null,ko())).message,o=(await C.windowBridge.rpcCall("isCheckedSelectAlignrefObjectForCenters",null,ko())).message,r=hn(),n=S$e(),a=new Sle().getValue(),s=C.currentProject.projectId,l=e.uuid,c=e.display_title;return{tabId:l+Zc+s,docType:se.PCB,name:c,commSystemSetting:r,pcbConfig:a,drcCustomSetting:n,isNew:!1,customerCode:(u=C.globalVariableCookieData.userInfo)==null?void 0:u.customerCode,alignNeedSelectRefObject:i,alignNeedSelectRefObjectForCenters:o,isPreview:!1,currOpenProjectId:C.currentProject.projectId}}async function inn(t,e){let i=(0,Vye.default)("#tabbar_bodies");var o=100;let r=onn(t);var n='<div style="position: absolute; top: 0; left: 0;visibility: hidden;">',a=22;n+=`<iframe class="editframe un_ruler" c_doctype="${t}" winzoom="${o}" src="${r}" id="${e}" frameborder="0" border="0" style="top:${a}px;left:${a}px;width: ${a}px;height: ${a}px;visibility: hidden;"></iframe>`,n+="</div>",(0,Vye.default)(document.body).toggleClass("none-docs",!1),i.append(n);var l=document.getElementById(e).attributes.getNamedItem("style");return Vr(e)}function onn(t){var e;switch(t){case se.PCB:case se.FOOTPRINT:e="pcb";break;case se.VIEW3D:e="pcb3d";break;case se.SCH:e="sch";break;case se.PANEL_LIB:case se.PANEL:e="panel";break;case se.PANEL3D:e="panel3d";break;case se.PART:case se.BLOCK_SYMBOL:case se.SHEET_SYMBOL:case se.NETFLAG:case se.NETPORT:case se.OFF_PAGE_CONNECTOR:case se.DIFF_PAIRS_FLAG:case se.NONEELEC_SYMBOL:case se.SHORT_SYMBOL:e="symbol";break}if(e)return`editor?entry=${e}`;console.error("no entry, plz check code")}var Yye=L(Se()),Jko=L(Hr());var Hye=L(Se()),Hko=L(Se());async function Vko(){try{let t=he.getActiveTab(),e=he.getDoctypeByTabId(t),i=await he.getTabIFrame(t),[o,r]=wr(t),n=Yi.SYMBOL,a=r===C.currentProject.projectId;e===se.BLOCK_SYMBOL&&(n=Yi.CBB),Je&&r===C.currentProject.projectId&&(r=C.clientTeamListNoSort[0].uuid);let s=await C1({docType:n,userId:r,path:r,isProjectLib:a});if(s.confirm){let l=s.tag;i&&(await C.messageBus.rpcCall("sch/setSymbolCategory",{tabId:t,tags:HZ(l)}),he.setTabUnSaved(t,!0),C.messageBus.publish("sch/renderPropertyPanel"))}}catch(t){console.warn(t)}}var iS=L(z()),qlt=t=>{let{isAttrParaKey:e,propertyKey:i,value:o,style:r,valueDisabled:n,groupTitle:a}=t,{onChange:s,propertyPanelId:l,targetFilterBySelectedType:c,docType:d,symbolDetail:u,deviceDetail:p}=(0,Hko.useContext)(QDe),m=(0,Hye.useRef)(null),[h,f]=(0,Hye.useState)(null),g=y=>{let w=[C.PropertyKey.Name.key,C.PropertyKey.Designator.key,C.PropertyKey.Symbol.key,C.PropertyKey["Convert to PCB"].key,C.PropertyKey["Add into BOM"].key];d!==se.BLOCK_SYMBOL&&w.push(C.PropertyKey.Device.key);let x=e&&!w.includes(i),S=l+"menu",T={docType:d,target:c,propertyKey:i},M=[];x&&M.push({key:"remove_custom_property",name:"Delete Property"}),i===C.PropertyKey["3D Model"].key&&M.push({key:"restore2FootprintModel",name:"Restore to footprint model",disabled:p.attributes["3D Model"]==null}),M.length>0&&Au.open({data:M.map(I=>({title:me.i18n(I.name),cmd:I.key,disabled:I.disabled})),position:{x:y.pageX,y:y.pageY},onClick(I,A,D,E){et(I.cmdlink[0],T)},onEnterConfirm(I,A,D){et(I[0],T)}})},b=()=>{var y;switch(i){case C.PropertyKey.symbolCategory.key:return(0,iS.jsx)(ea,{value:o,hasClearButton:!0,style:r,onClearClick:()=>{s({[i]:{value:""}},{[i]:t})},openDialog:async()=>{await Vko()}});case C.PropertyKey.Device.key:return(0,iS.jsx)(ea,{value:o,hasClearButton:!1,hasThreePoint:uxe()||!p,style:r,openDialog:()=>{if(uxe()||!p){let w;p?w="associatedDeviceList":w="deviceList",Hv({scenesType:w,componentId:u.uuid,path:u.path,doctype:u.docType,isFromProject:rf(u)===C.currentProject.projectId,isUpdateAttrPanel:!0})}else C.messageBus.publish("showModifyDeviceItemDlg",[p,u,"modify_title"])}});case C.PropertyKey.Footprint.key:return(0,iS.jsx)(ea,{value:p?o:"<Footprint>",disabled:!p,hasClearButton:!0,style:r,onClearClick:()=>{s({[i]:{value:""}},{[i]:t})},openDialog:()=>{var w;C.messageBus.publish("linkFootprint",{deviceId:p,symbol:u,path:(p==null?void 0:p.project_uuid)||((w=p==null?void 0:p.owner)==null?void 0:w.uuid)})}});case C.PropertyKey["3D Model"].key:return(0,iS.jsx)(ea,{value:o,hasClearButton:!0,style:r,onClearClick:()=>{s({[i]:{value:""}},{[i]:t})},openDialog:()=>{C.messageBus.publish("symbolAttrPanelLink3DModel",p)}});case C.PropertyKey["Sim Model"].key:return(0,iS.jsx)(ea,{value:o,hasClearButton:!0,style:r,onClearClick:()=>{s({[i]:{value:""}},{[i]:t})},openDialog:()=>{var w;C.messageBus.publish("symbolAttrPanelLinkSimModel",{deviceId:p,symbol:u,path:(p==null?void 0:p.project_uuid)||((w=p==null?void 0:p.owner)==null?void 0:w.uuid),docType:se.SIMULIDE_MODEL})}});case C.PropertyKey["NGSpice Model"].key:return(0,iS.jsx)(ea,{value:o,hasClearButton:!0,style:r,onClearClick:()=>{s({[i]:{value:""}},{[i]:t})},openDialog:()=>{var w;C.messageBus.publish("symbolAttrPanelLinkSimModel",{deviceId:p,symbol:u,path:(p==null?void 0:p.project_uuid)||((w=p==null?void 0:p.owner)==null?void 0:w.uuid),docType:se.NGSPICE_MODEL})}});case C.PropertyKey.image.key:return(0,iS.jsx)(ea,{value:o==null?void 0:o[0],hasClearButton:!0,style:r,onClearClick:()=>{s({[i]:{value:""}},{[i]:t})},openDialog:()=>{C.messageBus.publish("symbolAttrPanelLinkImage",p)}});case C.PropertyKey.deviceDescription.key:return(0,iS.jsx)(ea,{value:o,hasClearButton:!0,style:r,onClearClick:()=>{s({[i]:{value:""}},{[i]:t})},openDialog:()=>{C.messageBus.publish("showModifyDeviceItemDlg",[p,u,"modify_description"])}});case C.PropertyKey.deviceCategory.key:return(0,iS.jsx)(ea,{value:o,hasClearButton:!0,style:r,onClearClick:()=>{s({[i]:{value:""}},{[i]:t})},openDialog:()=>{C.messageBus.publish("symbolAttrPanelSwitchDeviceCategory",p)}});case"Height":if(a==="More Properties")if(p){let x=x4(o,"mm");return(0,iS.jsx)(or,{name:i,disabled:n,...t,value:x,inputUnit:"mm",originUnit:"mm",onChange:(S,T)=>{S!==""&&+S<=0||(S+="mm",s({[i]:{value:S}},{[i]:t}))}})}else return(0,iS.jsx)(Kt,{disabled:!0,value:o});default:return(0,iS.jsx)(iS.Fragment,{children:(y=m.current)==null?void 0:y.defaultValueContent()})}};return(0,Hye.useEffect)(()=>{f(b())},[]),(0,iS.jsx)(ao,{...t,menu:g,valueContent:h,ref:m,onChange:s,propertyPanelId:l})};var OWt=L(Yko());var kWt=L(Qko());var nce=L(z()),{locals:rnn}=kWt.default,{tips:nnn,buttons:ann}=rnn,Kko=async()=>new Promise((t,e)=>{Dt({icon:"warning",title:"Warning",content:"Your file hasn't been saved. Would you like to save it now?",cancelButtonType:"primary",showCancel:!0,confirmText:"Save",cancelText:"Don't Save",onConfirm:()=>{let o=he.getActiveTab();new Qm(o).todo().then(n=>{n.success?(De({type:"success",msg:"Saved successfully!"}),t(!0)):(De({type:"error",msg:"Saved failed!"}),t(!1))})},onCancel:()=>{}})}),Zko=t=>{let{symbolDetail:e}=t;Ae(kWt.default);let i=J();return(0,nce.jsxs)("div",{className:nnn,children:[(0,nce.jsx)("span",{children:i("Symbols and footprint are only used to record graphics and attribute positions. Attribute values should be maintained in the device. You can associate and create new devices in the devices tab.")}),(0,nce.jsxs)("div",{className:ann,children:[(0,nce.jsx)(Me,{size:"sm",onClick:async function(){if((await C.messageBus.rpcCall("isTabUnSaved",lo(e.uuid,e.path))).message){await Kko()&&C.messageBus.publish("openDeviceDlg",{...e,updateAttrPanel:!0});return}C.messageBus.publish("openDeviceDlg",{...e,updateAttrPanel:!0})},children:i("New Device")}),(0,nce.jsx)(Me,{size:"sm",onClick:async function(){if((await C.messageBus.rpcCall("isTabUnSaved",lo(e.uuid,e.path))).message){await Kko()&&Hv({scenesType:"deviceList",componentId:e.uuid,path:e.path,doctype:e.docType,isFromProject:e.path===C.currentProject.projectId,isUpdateAttrPanel:!0});return}Hv({scenesType:"deviceList",componentId:e.uuid,path:e.path,doctype:e.docType,isFromProject:e.path===C.currentProject.projectId,isUpdateAttrPanel:!0})},children:i("Binding Device")})]})]})};var Hp=L(z()),{locals:snn}=OWt.default,{property_panel:lnn}=snn,PWt=class extends qe{constructor(){super(...arguments);this.data=null}update(i){this.data=i,this.notify()}},Gye="symbol_property_panel",ace=new PWt,QDe=(0,Yye.createContext)({}),cnn=()=>{Ae(OWt.default),Ce(ace);let{data:t}=ace,e=(0,Yye.useRef)(null);if((0,Yye.useEffect)(()=>{var m;if(t!=null&&t.focus&&t.focus.propertyPanelId===Gye&&(e!=null&&e.current)){let{propertyKey:h,propertyPanelId:f}=t.focus,g=(m=e==null?void 0:e.current)==null?void 0:m.querySelector(`input[name="${h}"]`),b=e.current.querySelector("#"+"More Properties".replace(" ","_"))||e.current.querySelector("#"+"Title Block".replace(" ","_"));b&&b.getAttribute("data-status")==="close"&&b.click(),setTimeout(()=>{var y;if(f===Gye){let w=(y=e==null?void 0:e.current)==null?void 0:y.querySelector(`input[name="${h}"]`);w&&w.focus()}})}}),!t)return(0,Hp.jsx)(Hp.Fragment,{});let{targetFilterBySelectedType:i,selectedTypes:o,focus:r,target:n,docType:a,symbolDetail:s,deviceDetail:l}=t,c=0;function d(m){m=ue.deepClone(m);let{headInfo:h,groups:f,target:g,targetFilterBySelectedType:b,selectedTypes:y,docType:w}=m;Array.isArray(f)&&(m.groups=f.filter(S=>S.title!=="Simulation Properties"&&S.title!=="Model Binding"));for(let S=0;S<f.length;S++){let{title:T,content:M}=f[S];switch(T){case"Before BasicProperties":{let{data:I}=M;f[S].content=(0,Hp.jsx)(Hp.Fragment,{children:x(I)});break}case"Basic Properties":{let{data:I}=M;f[S].content=(0,Hp.jsxs)(Hp.Fragment,{children:[w===se.BLOCK_SYMBOL||l?"":(0,Hp.jsx)(Zko,{symbolDetail:s}),x(I)]});break}case"Key Properties":{let{data:I}=M;f[S].content=(0,Hp.jsx)(Hp.Fragment,{children:x(I)});break}case"Title Block":case"More Properties":{let{data:I}=M;if(I.length>0){let A=I.findIndex(D=>D.valueType==="addParamSelector");if(A>=0){let{valueType:D,valueDisabled:E,valueOptions:N}=I[A];I.splice(A,1),f[S].content=(0,Hp.jsx)(Hp.Fragment,{children:x(I,T)}),f[S].after=(0,Hp.jsx)(Gf,{disabled:E,list:N,onAddProperty:p})}else f[S].content=(0,Hp.jsx)(Hp.Fragment,{children:x(I)})}else f[S].content=(0,Hp.jsx)(Hp.Fragment,{});break}case"Drawing Border":{let{data:I}=M,A=Vo();f[S].content=(0,Hp.jsxs)(Hp.Fragment,{children:[x(I.slice(0,3)),(0,Hp.jsx)(Zu,{disabled:I[3].valueDisabled&&I[4].valueDisabled,widthProperty:I[3],heightProperty:I[4],inputUnit:A,onChange:u}),x(I.slice(5))]});break}default:f[S].content=(0,Hp.jsx)(Hp.Fragment,{})}}return m;function x(S,T){let M=[];for(let I=0;I<S.length;I++)M.push((0,Hp.jsx)(qlt,{index:c,...S[I],groupTitle:T},I)),c++;return M}}let u=(m,h,f)=>{let g={};for(let b of Object.keys(n||{})){let y={$$root:m};g[b]=y}Object.hasOwnProperty.call(m[C.PropertyKey.Symbol.key]||{},"value")&&(f.notRender=!0),C.messageBus.publish("sch/setSymbolDocProperty",{docType:a,data:g,...f})},p=m=>{let h={};for(let f of Object.keys(n||{})){let g={$$root:m};h[f]=g}C.messageBus.publish("sch/addSymbolDocProperty",{data:h,focus:{propertyKey:Object.keys(m||{})[0],propertyPanelId:Gye}})};return(0,Hp.jsx)(QDe.Provider,{value:{onChange:u,onAddProperty:p,propertyPanelId:Gye,selectedTypes:o,docType:a,target:n,targetFilterBySelectedType:i,symbolDetail:s,deviceDetail:l},children:(0,Hp.jsx)("div",{className:lnn,id:Gye,children:(0,Hp.jsx)(tf,{propertyPanelId:Gye,...d(t),ref:e})})})};function dnn(){let t=document.querySelector("#symbol-property");Jko.default.createRoot(t).render((0,Hp.jsx)(cnn,{}))}function qko(){dnn()}function ect(t={}){return new Promise(async(e,i)=>{let o=C.globalVariableCookieData||{},r=o.easyeda_user||o.userInfo;if(Je)return e(null);if(!r||typeof t.type>"u"||String(t.type).trim()==""){e(null);return}t.userId||(t.userId=r.uuid),C.profileCatgory[t.userId]||(C.profileCatgory[t.userId]={}),C.profileCatgory[t.userId][t.type]={};let n={user_uuid:t.userId,types:[t.type],path:t.userId};try{let{message:a}=await C.messageBus.rpcCall(Ei.TAG.LIST,n),s={};a&&String(a.code)==="0"&&a.success&&(s=unn(a.result)),C.profileCatgory[t.userId][t.type]=s,e(C.profileCatgory)}catch{e(C.profileCatgory)}})}function unn(t){let e={};return t.forEach((i,o)=>{e[i.uuid]={...i}}),e}async function pnn(t,e,i){let{componentItem:o,transform:r}=t,{d3modelItemId:n,d3modelItemName:a,d3modelItemPath:s,d3modelTransform:l,isLocaleFilenameMode:c}=sB(t),d={...e.attributes,"3D Model":n,"3D Model Title":a,"3D Model Transform":l},u=e;if(i){let h=yr(e);u=await Ze.updateDevice({isProject:h===C.currentProject.projectId,path:h,uuid:this._device.uuid,device:{data:{attributes:d}}})}else u.attributes=d;let p=JSON.parse(JSON.stringify(u));for(let h in p.attributes)h.startsWith("3D Model")&&(e.attributes[h]=p.attributes[h]);let m=he.getActiveTab();await C.messageBus.rpcCall("sch/setDeviceAttributes",{tabId:m,attributes:e.attributes}),C.messageBus.publish("sch/renderSymbolPropertyPanel"),he.setTabUnSaved(m,!0)}async function Xko(t,e){let i=t.uuid,o=t.path,r=t.attributes||{},n=t.display_title,a,s;if(!r["3D Model"]&&r.Footprint){let g=yr(t),b=await ue.getFootprint3DInfo(r.Footprint,g,g===C.currentProject.projectId);b&&(s=b.d3modelItemId,a=b.d3modelItemTransform)}else a=r["3D Model Transform"],s=r["3D Model"];a=a||_e.D3MVIEW_DEFAULT_TRANSFORM;let l=await As.fetchD3ModelItemHandle(s),c=t.footprint?t.footprint.uuid:r.Footprint?r.Footprint:"",d=null;if(c){let g=ue.splitComponentId2FolderAndFilenameMixin(c),b=g.path||o||t.project_uuid||bo.getInstance().usedId;d=await Ze.getFootprint({uuid:g.componentTitleOrId,path:b,isProject:!!(C.currentProject&&C.currentProject.projectId===b)})}let u=t.symbol?t.symbol.uuid:r.Symbol?r.Symbol:"",p=null;if(u){let g=t.symbol;if(!g)try{g=await Ze.getSymbol({isProject:t.path===C.currentProject.projectId,path:o,uuid:u})}catch(b){console.log(b)}p={display_title:g.display_title||g.title,title:g.title,uuid:g.uuid}}let m=Mt(i||String(Math.random())),h=[m],f=[{$id:m,deviceId:i,checked:!0,attributes:r,designator:"-",information:$f.NORMAL.msg(),canvasOrigin:{x:0,y:0,z:0},path:o,symbolItem:p,symbolItemTitle:p?p.display_title:"",symbolItemIdInit:"",footprintItem:d,footprintItemTitle:(d||{}).display_title||"",footprintItemIdInit:d?d.uuid:"",d3modelItem:l,d3modelItemTitle:(l||{}).display_title||"",d3modelItemTransform:a,d3modelItemIdInit:l?l.uuid:"",simmodelItem:null,simmodelItemTitle:"",simmodelItemIdInit:"",deviceItemTitle:n,isError:!1,errorType:$f.NORMAL.type,bgColor:Pc().bgColor}];return await aB({callScenType:"SYMBOL_EDIT",path:"",searchInputValue:"",deviceList:f,deviceListSelectedIds:h,wantSelectedLibItemId:"",isFromProject:!1,onDialogOpen(){},onDialogCancel(){},onDialogClose(){},onDialogClosed(){},onDialogConfirm(g){pnn(g,t,e)}})}var _Wt=L(Se());var jWt=L(e9o());var Dl=L(z()),RWt=be.bind(jWt.default.locals);function mnn({isSetNetNameDrag:t,isSetSymbolLibManage:e}){let i=J();Ae(jWt.default);let[o,r]=(0,_Wt.useState)([{value:"Modify Netname",checked:!0},{value:"Adjust Property Position",checked:!1}]),n=c=>{let d=[...o];d.forEach((u,p)=>{u.checked=p===c}),r(d)},[a,s]=(0,_Wt.useState)([{value:"1",checked:!0},{value:"2",checked:!1}]),l=c=>{let d=[...a];d.forEach((u,p)=>{u.checked=p===c}),s(d)};return(0,Dl.jsx)("div",{title:i("Setting"),children:(0,Dl.jsxs)("div",{style:{padding:"16px",border:"1px solid var(--common-border-color)"},children:[(0,Dl.jsx)("p",{children:i("The editor adds new settings, please chose your preference as below. And you can change it at settings menu.")}),!t&&(0,Dl.jsxs)("section",{"data-type":"dragNetName",children:[(0,Dl.jsxs)("div",{style:{textAlign:"left",wordBreak:"break-word",margin:"10px 0 10px"},children:[(0,Dl.jsx)("span",{style:{fontWeight:"bold"},title:i("Via: Settings - Schematic - General"),children:i("Via: Settings - Schematic - General")}),":"]}),(0,Dl.jsx)("div",{className:RWt("display-flex flex-lateral-axis-start flex-main-axis-start flex-nowrap"),style:{marginTop:"16px",lineHeight:"24px"},children:(0,Dl.jsxs)("div",{style:{display:"flex"},children:[(0,Dl.jsxs)("div",{style:{width:"100px",minWidth:"90px",textAlign:"left",wordBreak:"break-word"},children:[(0,Dl.jsx)("span",{"data-test":"Drag Net Name",title:i("Drag Net Name"),children:i("Drag Net Name")}),":"]}),(0,Dl.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,Dl.jsxs)("label",{style:{paddingRight:"36px",position:"relative"},children:[(0,Dl.jsx)("input",{"data-input-type":"radio",name:"drag-netname-mode-radio",type:"radio",value:o[0].value,style:{verticalAlign:"middle",cursor:"pointer"},checked:o[0].checked,onClick:()=>n(0)}),(0,Dl.jsxs)("div",{style:{cursor:"pointer"},children:[(0,Dl.jsx)("span",{"data-test":"Modify Net Name",children:i("Modify Net Name")}),(0,Dl.jsx)("span",{style:{color:"red"},"data-test":"(Flexible; Std Edition or Altium net label behaviour)",children:i("(Flexible; Std Edition or Altium net label behaviour)")})]}),(0,Dl.jsx)("div",{style:{cursor:"pointer",color:"#bfbfbf"},"data-test":"Drag the net name away from the wire, the wire's net name will be changed; It doesn't impact previous designs",children:i("Drag the net name away from the wire, the wire's net name will be changed; It doesn't impact previous designs")})]}),(0,Dl.jsxs)("label",{style:{paddingTop:"15px",position:"relative"},children:[(0,Dl.jsx)("input",{"data-input-type":"radio",name:"drag-netname-mode-radio",type:"radio",value:o[1].value,style:{verticalAlign:"middle",cursor:"pointer"},checked:o[1].checked,onClick:()=>n(1)}),(0,Dl.jsxs)("div",{style:{cursor:"pointer"},children:[(0,Dl.jsx)("span",{"data-test":"Modify Property Position",children:i("Modify Property Position")}),(0,Dl.jsx)("span",{style:{color:"red"},"data-test":"(Strict; PADS or OrCAD net name behaviour)",children:i("(Strict; PADS or OrCAD net name behaviour)")})]}),(0,Dl.jsx)("div",{style:{cursor:"pointer",color:"#bfbfbf"},children:i("Drag the net name away from the wire, only changes the net name position, it doesn't change wire's net name")})]})]})]})})]}),!e&&(0,Dl.jsxs)("section",{"data-type":"symbolLibManage",children:[(0,Dl.jsxs)("div",{style:{textAlign:"left",wordBreak:"break-word",margin:"10px 0 10px"},children:[(0,Dl.jsx)("span",{style:{fontWeight:"bold"},title:i("Entry: Settings - System - General"),children:i("Entry: Settings - System - General")}),":"]}),(0,Dl.jsx)("div",{className:RWt("display-flex flex-lateral-axis-start flex-main-axis-start flex-nowrap"),style:{marginTop:"16px",lineHeight:"24px"},children:(0,Dl.jsxs)("div",{className:RWt("display-flex"),children:[(0,Dl.jsxs)("div",{style:{width:"100px",minWidth:"90px",textAlign:"left",wordBreak:"break-word"},children:[(0,Dl.jsx)("span",{"data-test":"Symbol library management",title:i("Symbol library management"),children:i("Symbol library management")}),":"]}),(0,Dl.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,Dl.jsxs)("label",{style:{paddingRight:"36px",position:"relative"},children:[(0,Dl.jsx)("input",{"data-input-type":"radio",name:"symbolLibManage",type:"radio",value:a[0].value,style:{verticalAlign:"middle",cursor:"pointer"},checked:a[0].checked,onClick:()=>l(0)}),(0,Dl.jsxs)("div",{style:{cursor:"pointer"},children:[(0,Dl.jsx)("span",{"data-test":"Easy Mode",children:i("Easy Mode")}),(0,Dl.jsx)("span",{style:{color:"red"},"data-test":"(Std Edition library creation behavior, easy to use)",children:i("(Std Edition library creation behavior, easy to use)")})]}),(0,Dl.jsx)("div",{style:{cursor:"pointer",color:"#bfbfbf"},"data-test":"Will create the schematic symbol automatically when create component library, don't need to think about the symbol reuse concept",children:i("Will create the schematic symbol automatically when create component library, don't need to think about the symbol reuse concept")})]}),(0,Dl.jsxs)("label",{style:{paddingTop:"15px",position:"relative"},children:[(0,Dl.jsx)("input",{"data-input-type":"radio",name:"symbolLibManage",type:"radio",value:a[1].value,style:{verticalAlign:"middle",cursor:"pointer"},checked:a[1].checked,onClick:()=>l(1)}),(0,Dl.jsxs)("div",{style:{cursor:"pointer"},children:[(0,Dl.jsx)("span",{"data-test":"Professional Mode",children:i("Professional Mode")}),(0,Dl.jsx)("span",{style:{color:"red"},"data-test":"Support the symbol reuse",children:i("(Support the symbol reuse)")})]}),(0,Dl.jsx)("div",{style:{cursor:"pointer",color:"#bfbfbf"},"data-test":"Support to bind with existed symbol when create component library, and independent symbol library management entry",children:i("Support to bind with existed symbol when create component library, and independent symbol library management entry")})]})]})]})})]})]})})}function t9o({isSetNetNameDrag:t,isSetSymbolLibManage:e}){if(t&&e)return;let i="preCfgDlg";le.open({id:i,title:"Setting",width:640,mask:!0,closed:!0,footer:!0,folded:!0,esc:!0,children:(0,Dl.jsx)(mnn,{isSetNetNameDrag:t,isSetSymbolLibManage:e}),onOk:async()=>{let o=ue.deepClone(C.profileSetting),{commSystemSetting:r}=o;if(!t){let n=document.getElementById(i).querySelectorAll('[name="drag-netname-mode-radio"]'),a=Array.from(n).find(s=>s.checked).value;r.CANVAS.drag_netname_mode={value:a,disabled:!1},o.isSCHDragNetnameModeConfigured=!0,o.dragNetnameDefaultValue=a}e||(r.SYSTEM[W9].value=document.getElementById(i).querySelector(`[name="${W9}"]:checked`).value),mt.setPreferences(o),await mt.saveToServer(),await DZ(d0()),le.destroy(i)},onCancel(){le.destroy(i)}})}var sce=class t{constructor(){this._isOpenProject=!1;this._isPreferenceInit=!1}static get instance(){return this._instance||(this._instance=new t)}tryShow({from:e}){e==="openProject"?this._isOpenProject=!0:e==="preferenceInit"&&(this._isPreferenceInit=!0),this._isOpenProject&&this._isPreferenceInit&&Xo.isLogined&&this.show()}show(){let e=mt.getKeyValue("isSCHDragNetnameModeConfigured")!==void 0,i=mt.getSymbolLibManage(!0)!="0";t9o({isSetNetNameDrag:e,isSetSymbolLibManage:i})}};var Gp=L(Se()),p9o=L(Hr());var m9o=L(Wbe());var Bx=L(Se());var KDe={DATA_SOURCE:"left-tree",CLASS_NAME:"left-tree-drag-indicator",STYLES:{height:"2px",background:"#999",position:"absolute",zIndex:"1000",opacity:"0.8",listStyle:"none",pointerEvents:"none",left:"24px"}},hnn=t=>{let e=document.createElement("div");return Object.assign(e.style,{...KDe.STYLES,width:`${t}px`}),e.setAttribute("data-drag-source",KDe.DATA_SOURCE),e.className=KDe.CLASS_NAME,e},i9o=t=>{if(!t)return!1;try{return t.getAttribute("data-drag-source")===KDe.DATA_SOURCE?(t.remove(),!0):(console.warn("Attempted to remove non-left-tree drag indicator"),!1)}catch(e){return console.warn("Failed to remove left-tree drag indicator:",e),!1}},fnn=()=>{try{let t=document.querySelectorAll(`[data-drag-source="${KDe.DATA_SOURCE}"]`),e=0;return t.forEach(i=>{i instanceof HTMLElement&&(i.remove(),e++)}),e>0&&console.log(`Cleaned up ${e} left-tree drag indicators`),e}catch(t){return console.warn("Failed to cleanup all left-tree drag indicators:",t),0}},o9o=({treeData:t,currentReNamePath:e,setHoverNodeId:i})=>{let[o,r]=(0,Bx.useState)(!1),[n,a]=(0,Bx.useState)(0),[s,l]=(0,Bx.useState)(null),[c,d]=(0,Bx.useState)([]),[u,p]=(0,Bx.useState)(null),m=(0,Bx.useRef)({x:-1,y:-1}),h=(0,Bx.useRef)(null),f=(0,Bx.useCallback)((T,M,I=!1)=>{var R,v;if(!M)return!1;let{treeNodeType:A,path:D}=M,{treeNodeType:E,path:N}=T;switch(A){case st.SHEET:if(E===A&&!ol(D)&&!ol(N))if(I){let k=/(.+)(\_\$\w+)$/g,P=(R=k.exec(N))==null?void 0:R[1];k.lastIndex=0;let O=(v=k.exec(D))==null?void 0:v[1];return P==O}else return!0;else return!1;case st.SCH:case st.BLOCK:return[st.SCH,st.BLOCK,st.BOARD].includes(E);case st.PCB:return[st.PCB,st.BOARD].includes(E);case st.BOARD:return E===A;default:return!1}},[]),g=(0,Bx.useCallback)((T,M,I)=>{let{treeNodeType:A}=I;if(A===st.SHEET)if(M.ctrlKey||M.shiftKey||I.selected)for(let D=0,E=T.length;D<E;D++){let N=T[D];if(N.selected)if(N.treeNodeType===st.SHEET&&I&&f(N,I,!0))d(R=>[...R,{id:N.id,path:N.path,treeNodeType:A}]);else{r(!1);break}}else d([I]);else d([I])},[f]),b=(0,Bx.useCallback)(()=>{r(!1),l(null),d([])},[]),y=(0,Bx.useCallback)((T,M)=>{var I,A;if(T.button===0&&!e&&!(((A=(I=T.target)==null?void 0:I.tagName)==null?void 0:A.toUpperCase())==="INPUT"||T.target.querySelector("input"))&&!zi.getIsProjectReadOnly())switch(m.current={x:T.clientX,y:T.clientY},r(!0),M.treeNodeType){case st.SHEET:case st.SCH:case st.BLOCK:case st.PCB:case st.BOARD:l({id:M.id,path:M.path,treeNodeType:M.treeNodeType===st.BLOCK?st.SCH:M.treeNodeType}),g(t,T,M);break;default:b();break}o&&i("")},[t,o,e,g,b,i]),w=(0,Bx.useCallback)((T,M,I)=>{let A=BA(M);if(!o||s.treeNodeType===st.SHEET&&A)return!1;if(!(T.buttons&1))return h.current&&(i9o(h.current),h.current=null),r(!1),l(null),p(null),d([]),!1;let{x:D,y:E}=m.current;if(Math.abs(D-T.clientX)>2||Math.abs(E-T.clientY)>2){if(!h.current&&(I!=null&&I.current)){let N=hnn(I.current.offsetWidth);document.body.appendChild(N),h.current=N}if(A)h.current&&(h.current.style.top=T.pageY+"px"),p({id:null,treeNodeType:null});else{let N=T.clientY-T.target.getBoundingClientRect().top;console.log("***e.clientY:",T.clientY,"---;top:",T.target.getBoundingClientRect().top,"$$;offsetY:",N),N<=12?a(0):(N=20-N,a(1)),h.current&&(h.current.style.top=T.pageY+"px"),M&&f(M,s)?p(M):p(null)}}},[o,s,f]),x=(0,Bx.useCallback)(async()=>{if(o){if(h.current&&(i9o(h.current),h.current=null),r(!1),u!=null&&u.id||BA(u==null?void 0:u.id))switch(s==null?void 0:s.treeNodeType){case st.BOARD:await C.messageBus.rpcCall("sch/boardDrop",{targetUuid:u.id,selected:c[0],moveDirect:n});break;case st.SCH:case st.BLOCK:case st.PCB:await C.messageBus.rpcCall("sch/schPcbDrop",{targetUuid:u.id,targetTreeNodeType:u.treeNodeType,selected:c[0]});break;case st.SHEET:await C.messageBus.rpcCall("sch/sheetDrop",{sheetUuid:u.id,selectedArr:c,moveDirect:n});break}l(null),p(null),d([])}},[o,u,s,c,n]),S=(0,Bx.useCallback)(T=>o&&h.current?f(T,s)&&T.path!==(s==null?void 0:s.path)&&((s==null?void 0:s.treeNodeType)===T.treeNodeType||[st.SCH,st.BLOCK].includes(T.treeNodeType)&&[st.SCH,st.BLOCK].includes(s==null?void 0:s.treeNodeType)||[st.SCH,st.PCB,st.BLOCK].includes(s==null?void 0:s.treeNodeType)&&T.treeNodeType===st.BOARD)?"move":"not-allowed":"",[o,s,f]);return{isDraging:o,dragOption:s,dragArr:c,dropEelement:u,moveDirect:n,treeNodeMouseDown:y,treeNodeMouseMove:w,cancelDrag:x,getDragState:S,cleanupAllDragIndicators:fnn}};var ict=L(Se());var r9o=({treeData:t,currentReNamePath:e,activeTabType:i,startIndex:o,treeHoverNodeId:r,setHoverNodeId:n,treeContainerRef:a})=>{let s=vM.getKeyboardStore(FD),l=(0,ict.useCallback)(u=>{let p={index:null,item:null};return t.forEach((m,h)=>{m.path===u&&(p.index=h,p.item=m)}),p},[t]),c=(0,ict.useCallback)((u,p)=>{let m={item:null,index:null};return t.forEach((h,f)=>{if(h.path===u){if(p==="prev"){let g=f-1>=0?f-1:0;m.index=g,m.item=t[g]}else if(p==="next"){let g=f+1>=t.length?f:f+1;m.index=g,m.item=t[g]}}}),m},[t]),d=(0,ict.useCallback)(async(u,p,m,h,f)=>{var S;let g=r.current,b=f.length&&f[0]||"",y=g||b||((S=t[0])==null?void 0:S.path);if(!y)return;let{index:w,item:x}=l(y);switch(u){case 38:{let{index:T,item:M}=c(y,"prev");if(x){let I=2;h?(I=10,M.selected&&x.selected&&(T=w)):[Sg.NETROOT,Sg.SYMBOLROOT,Sg.ROOT,Sg.PAGES].includes(i)&&(A8(M.treeNodeType,["NET","BUS","PINNODE","NETTREEBUSNODE","NETTREENODE",...ayt])?I=9:m&&(I=4)),h?C.messageBus.publish("leftTreeHotKey",[I,T+o]):C.messageBus.publish("leftTreeHotKey",[I,T+o]),r.current=M.path,n(M.path)}break}case 40:{let{index:T,item:M}=c(y,"next"),I=3;h?(I=10,M.selected&&x.selected&&(T=w)):[Sg.NETROOT,Sg.SYMBOLROOT,Sg.ROOT,Sg.PAGES].includes(i)&&(A8(M.treeNodeType,["NET","BUS","PINNODE","NETTREEBUSNODE","NETTREENODE",...ayt])?I=9:m&&(I=5)),h?C.messageBus.publish("leftTreeHotKey",[I,T+o]):C.messageBus.publish("leftTreeHotKey",[I,T+o]),r.current=M.path,n(M.path);break}case 37:{let T=y,M=w;if(x&&x.expanded&&x._childLen>0)C.messageBus.publish("leftTreeHotKey",[1,M+o]);else if(x){let I=x.marginSize;T=null;for(let A=w;A>=0;A--){let D=t[A];if(D.marginSize===I-1){M=A,T=D.path;break}}if(!T)try{T=(await C.messageBus.rpcCall("getHoverPath",["prev",y])).message}catch(A){console.error("Failed to get hover path:",A)}}T&&(n(T),r.current=T);break}case 39:{let T=y,M=w;if(x&&x.expanded&&x._childLen>0){let{item:I}=c(y,"next");if(I)T=I.path,n(T),r.current=T;else try{T=(await C.messageBus.rpcCall("getHoverPath",["next",y])).message,n(T),r.current=T}catch(A){console.error("Failed to get hover path:",A)}}else C.messageBus.publish("leftTreeHotKey",[0,M+o]),n(T),r.current=T;break}case 13:C.messageBus.publish("leftTreeHotKey",[9,w+o]),n(y),r.current=y;break;case 113:A8(x==null?void 0:x.treeNodeType,["SCH","SHEET","PCB","PANEL","CHILDPCB","BOARD","BLOCK"])&&(C.messageBus.publish("leftTreeHotKey",[8,w+o]),n(y),r.current=y);break;case 34:{let T=a.current.scrollTop+a.current.clientHeight;C.messageBus.publish("leftTreerenderToTree",T);break}case 33:{let T=a.current.scrollTop-a.current.clientHeight;T=T<0?0:T,C.messageBus.publish("leftTreerenderToTree",T);break}case 36:C.messageBus.publish("leftTreeHotKey",[14,w]);break;case 35:C.messageBus.publish("leftTreeHotKey",[15,w]);break;case 46:break}p==="Ctrl+C"?(n(y),r.current=y,C.messageBus.publish("leftTreeHotKey",[6,w+o])):p==="Ctrl+V"&&(n(y),r.current=y,C.messageBus.publish("leftTreeHotKey",[7,w+o]))},[t,i,o,l,c,n]);return Ce(s,()=>{if(e)return;vM.setTreeMousePosition(FD,vM.getTreeMousePosition(FD));let{keyCode:u,keyStr:p,isCtrl:m,isShift:h}=s.keyboardValue,f=!!m,g=!!h;if(!u||!C.mousePlace.isInLeftSchTree())return;let b=[];return t.forEach(y=>{y.selected&&b.push(y.path)}),d(u,p,f,g,b),!1}),{keyboardStore:s}};var KE=L(Se());var n9o=L(Wbe());var oct=L(z()),a9o=({children:t,contentHeight:e,containerHeight:i,scrollTop:o,prefixHeight:r,containerWidth:n,forceRefresh:a,currentReNamePath:s,setCurrentReNamePath:l,onScroll:c,onMouseMove:d,activeTabType:u,tabsData:p,treeContainerRef:m})=>{let h=be.bind(n9o.default.locals),f=(0,KE.useContext)(_r),g=(0,KE.useRef)(null),b=(0,KE.useRef)(null),y=(0,KE.useRef)(Number.MAX_SAFE_INTEGER),w=(0,KE.useRef)(null),[x,S]=(0,KE.useState)(!1),T=(0,KE.useRef)(!1),M=Gr(A=>{let D=A.target;if(!D||!m.current)return;let E=D.scrollLeft,N=m.current.scrollTop,R=Math.abs(N-o),v=Math.abs(E-y.current);R>5&&l(""),v<6?R>5&&(c==null||c(N)):y.current=E},10);(0,KE.useEffect)(()=>{if(!m.current)return;let A=m.current,D=getComputedStyle(A);if(D.display==="none")return;let E=parseInt(D.height);E?(g.current=E,A.scrollTop=o,w.current=o):E=g.current||0,b.current&&(e>=i?(b.current.style.height=e+"px",T.current||(S(!0),T.current=!0)):(b.current.style.height=A.clientHeight+"px",T.current&&(S(!1),T.current=!1))),o>e&&(A.scrollTop=0);let N=A.scrollHeight,R=A.clientHeight;N>E&&E>R&&b.current&&(b.current.style.height=E+"px")},[e,i,o,r,n,a]),(0,KE.useEffect)(()=>{if(!m.current)return;let A=m.current;if(getComputedStyle(A).display!=="none"&&o===0&&o!==w.current){let E=A.scrollTop;w.current!=null&&Math.abs((w.current||0)-E)<5?C.messageBus.publish("leftTreerenderToTree",E):w.current=o}},[o]);let I=[Sg.NETROOT,Sg.SYMBOLROOT].includes(u)?99:69;return(0,oct.jsxs)("div",{id:"treeMyProject-content",className:h("tree-content"),ref:m,onScroll:M,style:{height:`calc(100% - ${I}px)`,top:`${I}px`,overflowY:x?"auto":"hidden"},onContextMenu:async A=>{ln.isViewerMode||(A.stopPropagation(),A.preventDefault(),gDe(A,f))},onMouseMove:d,children:[(0,oct.jsx)("div",{id:"treeMyProject-phantom",ref:b,className:h("treeMyProject-phantom")}),t]})};var ER=L(Se());var l9o=L(z()),s9o=({activeTabType:t,onFilterChange:e})=>{let[i,o]=(0,ER.useState)(""),[r,n]=(0,ER.useState)("Filter"),[a,s]=(0,ER.useState)({curNum:0,totalNum:0}),l=(0,ER.useCallback)(async p=>{let m=p.trim();o(m);try{let h=await C.messageBus.rpcCall("leftTreeSearch",[m,r==="Filter"]),{curNum:f,totalNum:g}=h.message;s({curNum:f,totalNum:g}),e==null||e(m,r)}catch(h){console.error("Filter value change error:",h)}},[r,e]),c=(0,ER.useCallback)(async p=>{n(p);try{let m=await C.messageBus.rpcCall("leftTreeSearchChangeInit",p==="Filter"),{curNum:h,totalNum:f}=m.message;s({curNum:h,totalNum:f}),e==null||e(i,p)}catch(m){console.error("Filter mode change error:",m)}},[i,e]),d=(0,ER.useCallback)(async(p,m,h)=>{if(p==="prev"&&!m){let f=a.curNum-1;try{let g=await C.messageBus.rpcCall("leftTreeSearchClick",f),{curNum:b,totalNum:y}=g.message;s({curNum:b,totalNum:y})}catch(g){console.error("Previous search click error:",g)}}if(p==="next"&&!h){let f=a.curNum+1;try{let g=await C.messageBus.rpcCall("leftTreeSearchClick",f),{curNum:b,totalNum:y}=g.message;s({curNum:b,totalNum:y})}catch(g){console.error("Next search click error:",g)}}},[a.curNum]),u=(0,ER.useCallback)(async()=>{try{await C.messageBus.rpcCall("leftTreeSearchInit"),o(""),s({curNum:0,totalNum:0})}catch(p){console.error("Clear search error:",p)}},[]);return(0,ER.useEffect)(()=>{s({curNum:0,totalNum:0}),o(""),l("")},[t,l]),(0,l9o.jsx)(_B,{filterValue:i,handleInputChangeCb:l,handleModeChangeCb:c,resultValue:a,clickPrevNextCb:d,clickClearCb:u,style:{display:"flex",flex:1}})};var lce=L(Se());var c9o=L(Wbe());var ZDe=L(z()),d9o=({treeData:t,startIndex:e,activeTabType:i,hoverNodeId:o,scrollTop:r,prefixHeight:n,currentReNamePath:a,searchFilterValue:s,dragState:l,onMouseOver:c,onMouseLeave:d,onMouseDown:u,onMouseMove:p,onReNameStatusChange:m,windowContext:h,treeMyProjectRef:f})=>{let[g,b]=(0,lce.useState)([]),y=be.bind(c9o.default.locals),w=(0,lce.useCallback)(async(M,I,A)=>{if(!ln.isViewerMode){M.stopPropagation(),M.preventDefault();try{let E=(await C.messageBus.rpcCall("getLeftTreeMenuStatus",{treeNode:I,index:A+e})).message;VEo(I,A);let N=await wGt(E,I);pl.open({menuConfig:N,position:{x:M.pageX-5,y:M.pageY-5},windowInstance:h})}catch(D){console.error("Context menu error:",D)}}},[e,h]);Bt(M=>{m(M)}).key("leftTreeReName");let x=(0,lce.useCallback)(M=>[st.SCH,st.SHEET,st.PCB,st.PANEL,st.CHILDPCB,st.BOARD,st.BLOCK,st.NGSPICE,st.SIMULIDE].includes(M.treeNodeType)&&!!(a&&a===M.path),[a]);(0,lce.useEffect)(()=>{let M=[];it(t,(I,A)=>{A.selected&&M.push(A.path)}),b(M)},[t]);let S=t.map((M,I)=>(0,ZDe.jsx)(jIo,{item:M,index:I,startIndex:e,hoverId:o,onMouseOver:c,onMouseLeave:d,onMouseDown:u,onMouseMove:p,onContextMenu:A=>w(A,M,I),isReName:x(M),dragState:l(M),searchFilterValue:s,changeReNameStatus:()=>m(""),activeTabType:i},M.path+I)),T=(0,ZDe.jsx)("li",{className:y("tree-blank-row"),style:{height:"24px"}},"blank-row");return(0,ZDe.jsxs)("ul",{id:"treeMyProject",className:y("treeMyProject"),ref:f,style:{transform:`translate3d(0, ${r}px,0)`,top:-n},children:[S,T]})};var ZE=L(z()),Sg={PAGES:"pages",ROOT:"root",NETROOT:"netRoot",SYMBOLROOT:"symbolRoot"},JDe={NET:"Net",COMPONENT:"Component"},LQ={DESIGNATOR:"Designator",DEVICE:"Device",FOOTPRINT:"Footprint",NAME:"Name"},gnn=[{title:JDe.NET,key:JDe.NET},{title:JDe.COMPONENT,key:JDe.COMPONENT}],bnn=[{title:LQ.DESIGNATOR,key:LQ.DESIGNATOR},{title:LQ.NAME,key:LQ.NAME},{title:LQ.DEVICE,key:LQ.DEVICE},{title:LQ.FOOTPRINT,key:LQ.FOOTPRINT}];function ynn({treeData:t,startIndex:e,activeTabType:i,options:o}){let{contentHeight:r,containerHeight:n,scrollTop:a,prefixHeight:s,containerWidth:l,needRefresh:c=0}=o;isNaN(s)?s=0:isNaN(a)&&(a=0);let d=(0,Gp.useRef)(null),u=be.bind(m9o.default.locals),[p,m]=(0,Gp.useState)(""),[h,f]=(0,Gp.useState)(""),[g,b]=(0,Gp.useState)(JDe.NET),[y,w]=(0,Gp.useState)(LQ.DESIGNATOR),[x,S]=(0,Gp.useState)(c&&[Sg.NETROOT,Sg.SYMBOLROOT].includes(i)),[T,M]=(0,Gp.useState)(""),[I,A]=(0,Gp.useState)(0),[D,E]=(0,Gp.useState)(!1),N=(0,Gp.useRef)(!1),R=(0,Gp.useRef)(null),v=(0,Gp.useRef)(null),k=(0,Gp.useRef)(""),P=(0,Gp.useRef)(null),O=(0,Gp.useRef)({x:-1,y:-1}),_=(0,Gp.useContext)(_r),j=[];i===Sg.NETROOT?j=gnn:i===Sg.SYMBOLROOT&&(j=bnn);let B=o9o({treeData:t,currentReNamePath:h,setHoverNodeId:m});r9o({treeData:t,currentReNamePath:h,activeTabType:i,startIndex:e,treeHoverNodeId:k,setHoverNodeId:m,treeContainerRef:v});let V=(0,Gp.useCallback)(U=>{let F={index:null,item:null};return t.forEach((K,te)=>{K.path===U&&(F.index=te,F.item=K)}),F},[t]),G=(0,Gp.useCallback)(async(U,F)=>{O.current={x:-1,y:-1},await C.messageBus.rpcCall("leftTreeMouseLeave",[V(F.path).index+e,V(p).index+e]),k.current="",p!==void 0&&m(void 0)},[p,t,V,e]),Q=(0,Gp.useCallback)(async(U,F)=>{if(k.current===F.path)return;let K=U.pageX,te=U.pageY,{x:ae,y:pe}=O.current;if(te===pe&&K===ae)return;O.current={x:K,y:te};let Z=V(F.path).index+e;p!==F.path&&await C.messageBus.rpcCall("leftTreeMouseLeave",[Z,Z]),k.current=F.path,await C.messageBus.rpcCall("leftTreeMouseOver",{index:Z}),(U.movementX!==0||U.movementY!==0)&&p!==void 0&&m(void 0)},[p,t,V,e]);(0,Gp.useEffect)(()=>()=>{vM.deleteKeyboardStore(FD),B.cleanupAllDragIndicators()},[]),(0,Gp.useEffect)(()=>{c&&[Sg.NETROOT,Sg.SYMBOLROOT].includes(i)?S(!0):S(!1)},[j,c,i]);let H=(0,Gp.useCallback)((U,F)=>{M(U)},[]);Bt(({type:U})=>{U==="mouseup"&&B.isDraging&&B.cancelDrag()}).key("sch/iframeOperate"),Gs("mouseup",async()=>{await B.cancelDrag()});let q=(0,Gp.useCallback)(U=>{C.messageBus.publish("leftTreerenderToTree",U)},[]);return(0,Gp.useEffect)(()=>(R.current=new ResizeObserver(U=>{!(d!=null&&d.current)||h||(U[0].contentRect.height<d.current.clientHeight||r>U[0].contentRect.height?!N.current&&E(F=>(F=!0,N.current=!0,F)):N.current&&E(F=>(F=!1,N.current=!1,F)))}),d.current&&R.current.observe(d.current),()=>{R.current&&(R.current.disconnect(),R.current=null)}),[h]),(0,ZE.jsxs)(ZE.Fragment,{children:[(0,ZE.jsxs)("div",{style:{display:"flex",width:"100%"},children:[(0,ZE.jsx)(s9o,{activeTabType:i,onFilterChange:H}),x&&(0,ZE.jsx)("div",{style:{display:"flex",width:"20px",flexShrink:1,margin:"0 4px",alignItems:"center"},children:(0,ZE.jsx)("span",{className:`${u("tree-refresh")} ${c===2?u("active"):""}`,style:{cursor:"pointer"},onClick:()=>{C.messageBus.publish("sch/forceRefreshTree",i)}})})]}),j.length>0&&[Sg.NETROOT,Sg.SYMBOLROOT].includes(i)&&(0,ZE.jsx)(yl,{lists:j,direction:"top",type:"normal",activeKey:i===Sg.NETROOT?g:y,onClick:U=>{i===Sg.NETROOT?(b(U),C.messageBus.publish("leftTreeNetClick",U)):(w(U),C.messageBus.publish("leftTreeComponentClick",U))}}),(0,ZE.jsx)(a9o,{contentHeight:r,containerHeight:n,scrollTop:a,prefixHeight:s,containerWidth:l,forceRefresh:I,currentReNamePath:h,setCurrentReNamePath:f,onScroll:q,activeTabType:i,tabsData:j,onMouseMove:U=>B.treeNodeMouseMove(U,null,{current:v.current}),treeContainerRef:v,children:(0,ZE.jsx)(d9o,{treeData:t,startIndex:e,scrollTop:a,prefixHeight:s,activeTabType:i,hoverNodeId:p,currentReNamePath:h,searchFilterValue:T,dragState:B.getDragState,onMouseOver:Q,onMouseLeave:G,onMouseDown:B.treeNodeMouseDown,onMouseMove:(U,F)=>{B.treeNodeMouseMove(U,F,{current:v.current}),U.stopPropagation()},onReNameStatusChange:f,windowContext:_,treeMyProjectRef:d})})]})}var Wye=null,u9o=document.querySelector("#schLeftTree");function BWt(t,e,i=Sg.PAGES,o){let r=null;if(!u9o){console.error("Container for rendering is not available"),r=setTimeout(()=>{C.messageBus.publish("leftTreerenderToTree",0)},100);return}r&&clearTimeout(r),Wye||(Wye=p9o.default.createRoot(u9o||document.querySelector("#schLeftTree")));let n;try{n=(0,ZE.jsx)(ynn,{treeData:t,startIndex:e,activeTabType:i,options:o}),Wye.render(n)}catch{console.error("Error rendering LeftTree",o)}for(let a of t)if(a.treeNodeType==st.PCB){let s=a.id;C.messageBus.publish("getSyncChildList",[s,l=>{let c=l.map(d=>d.uuid);AP.updateLeftTreeChildList({mainUuid:s,leftTreeChildData:c})}])}}document.addEventListener("DOMContentLoaded",()=>{C.messageBus.subscribe(s0.ON_CLOSED,()=>{Wye&&Wye.unmount(),Wye=null})});var rct=class{constructor(e){this._confirmCB=[];this._device=e;let i=e.images;Array.isArray(i)&&(i=i[0]),ii("upload-image-dialog",{maxNumber:1,uploadName:"editormd-image-file",imageList:i?[{name:i.split("/").pop(),url:i}]:[],imageItemSize:{width:200,height:200},confirmCallback:this.dlgConfirmCallback.bind(this)})}async dlgConfirmCallback(e,i){let o=e.filter(a=>a.status==="uploaded").map(a=>a.remoteUrl),r=yr(this._device),n=await Ze.updateDevice({path:r,isProject:r===C.currentProject.projectId,uuid:this._device.uuid,device:{path:r,isProject:r===C.currentProject.projectId,uuid:this._device.uuid,override:{images:o}}});this._device=n;for(let a of this._confirmCB)a(this._device);De({type:"success",msg:"Operation success!",timer:2.5}),i&&i()}onConfirm(e){this._confirmCB.push(e)}destroy(){for(let e of Object.keys(this))this[e]=void 0}};var cce=L(z());async function h9o(t){return new Promise((e,i)=>{let o=()=>{let a=J(),s=()=>{le.destroy(n)},l=async d=>{e({action:d}),s()};return(0,cce.jsx)(cce.Fragment,{children:[{command:"yes",type:"primary",style:{marginRight:"8px"},text:"Yes"},{command:"no",text:"No"}].map((d,u)=>(0,cce.jsx)(Me,{type:d.type,size:"md",title:a(d.text),onClick:()=>l(d.command),children:(0,cce.jsx)("span",{"data-test":d.text,children:a(d.text)})},`bottom-btn-${u}`))})},n=Dt({title:"Warning",icon:"warning",mask:!0,closed:!0,content:(()=>{let a="";switch(t){case"syncViaConnectNet":a="Already change the via network,whether to change the network of the wire connected to the via synchronously?";break;case"flipComponent":a="This action will\xA0Make the component\xA0flip on the current layer,Do you want to continue?";break}return a})(),onClose:()=>{e({action:"no"})},footer:(0,cce.jsx)(o,{}),esc:!0})})}var b9o=L(g9o());var zWt=class extends qe{setSelectVal(e){this.selectedVal=e,this.notify()}},qDe=new zWt;var zx=L(z());async function y9o(t){return new Promise((e,i)=>{let o=be.bind(b9o.default.locals);qDe.setSelectVal(t[0]);let r=()=>{let s=J(),l=()=>{le.destroy(a)},c=async u=>{e({action:u,selectedVal:qDe.selectedVal}),l()};return(0,zx.jsx)(zx.Fragment,{children:[{command:"ok",type:"primary",style:{marginRight:"8px"},text:"OK"},{command:"cancel",text:"Cancel"}].map((u,p)=>(0,zx.jsx)(Me,{type:u.type,size:"md",onClick:()=>c(u.command),children:(0,zx.jsx)("span",{"data-test":u.text,children:s(u.text)})},`bottom-btn-${p}`))})},a=Dt({title:"Warning",icon:"warning",mask:!0,content:(0,zx.jsx)(()=>{let s=J(),l=[{value:t[0]},{value:t[1]}];return(0,zx.jsx)(zx.Fragment,{children:(0,zx.jsxs)("div",{children:[(0,zx.jsxs)("div",{children:[(0,zx.jsx)("span",{className:o("messager-icon messager-warning")}),(0,zx.jsx)("p",{style:{margin:"0 0 8px 8px"},children:s("Will merge these networks, please select a network as latest network after merged.")})]}),(0,zx.jsx)("div",{style:{margin:"0 0 8px 8px"},children:(0,zx.jsx)($i,{translate:!1,options:l,defaultValue:qDe.selectedVal,onChange:c=>qDe.setSelectVal(c)})})]})})},{}),footer:(0,zx.jsx)(r,{})})})}var UWt=L(C9o()),Zk=L(z()),Qye=be.bind(UWt.default.locals);function wnn(t){let e=J();Ae(UWt.default);let i=o=>{t.onChange(o)};return(0,Zk.jsx)("div",{style:{width:"100%",height:"100%",padding:"16px",border:"1px solid var(--common-border-color)",boxSizing:"border-box"},children:(0,Zk.jsx)("ul",{className:Qye("wrapper-ul"),children:(0,Zk.jsxs)("li",{className:Qye("content-layer"),style:{alignItems:"center"},title:e(bt["netflag-tab"].title),children:[(0,Zk.jsxs)("em",{className:Qye("layer-title attr-title"),children:[(0,Zk.jsx)("span",{children:e("Name")}),":"]}),(0,Zk.jsx)("ul",{className:Qye("layer-main"),children:(0,Zk.jsx)("div",{className:Qye("inline-content"),children:(0,Zk.jsx)(Sz,{blur:()=>{var o;(o=t.onBlur)==null||o.call(t)},onChange:i,focus:t.focus,value:t.data.value,validator:o=>o.length<=255&&t.validator(o),className:Qye("input-value"),style:{width:"100%"},selectList:t.data.selectList})})})]})})})}var FWt=class extends qe{constructor(i,o){super();this.data=i;this.focus=o}setFocus(i){this.focus=i,this.notify()}setData(i){this.data=i,this.notify()}confirm(){LT("updateWillPlaceNetNameInfo",{cmdKey:"netflag",data:this.data.value})}validator(i){let o=!1;return C.messageBus.publish("sch/validateIsConformWireName",{value:i,cb:r=>{o=r}}),o}},x9o=_b((t=ks)=>{let e=bt["netflag-tab"],{containerId:i,title:o,width:r,height:n,closed:a}=e;return new Promise(async(s,l)=>{let{globalNetName:c,netNameOptions:d=await Cr("getAllNetNamesInBoard")}=t,u=new FWt({value:c,selectList:d},!0);function p(){return Ce(u),(0,Zk.jsx)(wnn,{data:u.data,onChange:m=>{if(u.validator(m)){let f={...u.data};f.value=m,u.setData(f)}},onBlur:()=>{u.setFocus(!1)},focus:u.focus,validator:m=>u.validator(m)})}le.open({id:i,title:o,width:r,closed:a,folded:!0,footer:!0,children:(0,Zk.jsx)(p,{}),esc:!0,onKeyup(m){m.key==="Enter"?setTimeout(()=>{u.confirm(),le.destroy(i),s(!0)}):m.key==="Escape"&&s(!1)},onOk(){u.confirm(),le.destroy(i),s(!0)},onCancel(){le.destroy(i),s(!1)},visibilityChange(m){m||s(!1)}})})});var T9o=L(Se());var mb=L(z());var act={"":1,Netlabel:2,Netport:3,"Off Page Connector":4,Netflag:5,"Bus Entry":6,Bus:7};function Cnn(t,e){t=t.map(o=>{let r=Object();for(let a in o){let s=o[a];lO(r,s.value,()=>new Hee(({item:l},{item:c})=>act[c.desc]-act[l.desc])).add({index:a,item:s})}let n=Object();for(let a in r){let{index:s,item:l}=r[a].poll();n[s]=l}return n});let i=([,{desc:o,value:r}],[,{desc:n,value:a}])=>{let s=act[o];return act[n]-s||(r>a?1:-1)};return t.map(o=>{let r=Object.entries(o);return e?r.sort(i):r})}function xnn(t){let e=J(),i=ca(),o=(0,T9o.useRef)([]),r=(s,l)=>{o.current[s]=l,i(),t.onChange([...o.current])},n=()=>{let s=0;return t.data.map((l,c)=>{let d=l.map(([,{value:m}])=>m).join("\u3001"),u=()=>{let m=!1;return l.map(([h,f],g)=>{if(!f||!f.value)return;let b=o.current[c],y=!vn(b),w=!f.disabled&&(y?b===h:!m);w&&(o.current[c]=h,m=!0);let x=f.desc?e(f.desc):"";return(0,mb.jsx)("div",{style:{float:"left",margin:"0 16px 5px 0",lineHeight:1,position:"relative"},children:(0,mb.jsxs)("label",{children:[(0,mb.jsx)("input",{style:{position:"absolute",left:0,top:0},type:"radio",value:h,checked:w,disabled:f.disabled,"data-number":s,name:`net-choose-value-${s}`,onChange:S=>{r(c,h)}}),(0,mb.jsx)("span",{}),(0,mb.jsx)("span",{style:{wordBreak:"break-all"},children:f.value}),(0,mb.jsx)("span",{children:x?`(${x})`:""})]})},h+g)})};s++;let p=e({value:"Wires of {0} will merge, please choose one:",options:{0:d}});return(0,mb.jsxs)("li",{style:{listStyleType:"none",fontSize:"12px",marginTop:c===0?0:"16px"},children:[(0,mb.jsx)("p",{style:{margin:"0 0 10px",wordBreak:"break-all"},children:p}),(0,mb.jsx)("div",{style:{display:"flow-root"},children:u()})]},c+s+"")})};return(0,mb.jsxs)("section",{children:[(0,mb.jsx)("aside",{style:{paddingBottom:"8px"},children:e("Net Short Of Different Names Need Short Symbol In Special Symbols")}),(0,mb.jsx)("div",{style:{width:"100%",height:"100%",maxHeight:"440px",padding:"16px",border:"1px solid var(--common-border-color-1)",overflow:"auto",boxSizing:"border-box"},children:(0,mb.jsx)("ul",{children:n()})}),(0,mb.jsx)("div",{style:{alignItems:"center"}})]})}async function S9o(t=ks){let{data:e=D7e,needSort:i=!0}=t,o=Cnn(ue.deepClone(e),i),{title:r,containerId:n,modal:a,closed:s,enterConfirm:l,width:c}=bt["netlabel-name-merge"],d="netlabel-merge-dialog",u=o.map(p=>p.find(m=>!m[1].disabled)[0]);return new Promise((p,m)=>{let h=()=>{let f=[];o.forEach((g,b)=>{f.push({originGroups:g.reduce((y,[w,x])=>(y[w]=x.value,y),Object()),choose:u[b]||g[0][0]})}),p({success:!0,message:f}),le.close(d)};le.open({id:d,width:c,title:r,closed:s,esc:!0,folded:!0,children:(0,mb.jsx)(xnn,{data:o,onChange:f=>{u=f}}),footer:()=>{let f=J();return(0,mb.jsxs)("div",{children:[(0,mb.jsx)(Me,{style:{minWidth:"96px",background:"#1890ff",color:"#fff",border:"1px solid #1890ff"},onClick:async()=>{p({success:!1,message:"placeShortSymbol"}),le.close(d),et("place_special_part(short_symbol)")},"data-test":"Place Short Symbol",children:f("Place Short Symbol")}),(0,mb.jsx)(Me,{style:{minWidth:"96px",marginLeft:"8px",background:"#1890ff",color:"#fff",border:"1px solid #1890ff"},onClick:()=>{h()},"data-test":"Confirm",children:"Confirm"}),(0,mb.jsx)(Me,{style:{minWidth:"96px",marginLeft:"8px"},onClick:()=>{le.close(d),p({success:!1,message:"cancel"})},"data-test":"Cancel",children:"Cancel"})]})},onKeyup(f){l&&f.key==="Enter"?setTimeout(()=>{h()}):f.key==="Escape"&&setTimeout(()=>{p({success:!1,message:"cancel"})})},onCancel(){p({success:!1,message:"cancel"})},visibilityChange(f){f||p({success:!1,message:"cancel"})}})})}var Kye=L(Se());var VWt=L(I9o());var XDe=L(z()),Tnn=be.bind(VWt.default.locals);function HWt(t){let e=J();Ae(VWt.default);let[i,o]=(0,Kye.useState)(t.isMore);(0,Kye.useEffect)(()=>{o(t.isMore)},[t.isMore]);let r=(0,Kye.useMemo)(()=>t.style,[t.style]);return(0,XDe.jsxs)("div",{className:Tnn(["more-setting",i?"advanced":""].join(" ")),style:{...r},onClick:()=>{let n=!i;o(n),t.onChange(n)},children:[(0,XDe.jsx)("span",{"data-test":"More Setting",children:e("More Setting")}),(0,XDe.jsx)("i",{})]})}var lct={propConfOption:{strokeWidth:Array.from({length:10}).map((t,e)=>e+1),strokeDasharray:[{key:"solid",value:"0"},{key:"dashed",value:"6,6"},{key:"dotted",value:"3,10"},{key:"dotdashed",value:"4,2,1,2"}],followParts:[{name:"None",value:"",icon:"",checked:!0},{name:"Power Port",value:"netflag_VCC",icon:"icon-eda-netflag-vcc",checked:!1},{name:"ShortSymbol",value:"short_symbol",icon:"icon-eda-symbol-short",checked:!1},{name:"GND",value:"netflag_gnD",icon:"icon-eda-netflag-gnd",checked:!1},{name:"PGND",value:"netflag_gNd",icon:"icon-eda-netflag-pgnd",checked:!1},{name:"AGND",value:"netflag_GNd",icon:"icon-eda-netflag-agnd",checked:!1},{name:"IN",value:"netport_IN",icon:"icon-eda-netport-in",checked:!1},{name:"OUT",value:"netport_OUT",icon:"icon-eda-netport-out",checked:!1},{name:"BI",value:"netport_BI",icon:"icon-eda-netport-bi",checked:!1},{name:"IN",value:"offPageConnector_IN",icon:"icon-eda-offPageConnector-in",checked:!1},{name:"OUT",value:"offPageConnector_OUT",icon:"icon-eda-offPageConnector-out",checked:!1},{name:"BI",value:"offPageConnector_BI",icon:"icon-eda-offPageConnector-bi",checked:!1}]}};var Lu=L(z()),GWt=class extends qe{constructor(){super(...arguments);this.id="netline-draw-tab";this._isAdvanceMode=!1;this.prefixShouldFocus={common:!0,advanced:!0};this._isShowPropConfArea=!1;this.confirm=ue.debounce(async()=>{let{data:{compositionInfo:i,active:o,title:r},isShowPropConfArea:n}=this,a=r.toLowerCase(),{success:s,msg:l}=await Cr("validateNetComposedName",{nameInfo:i,type:a});if(!s)return De({type:"error",msg:l,timer:2.5});await C.messageBus.publish("netlineDrawingTabDlgConfirm",{composedName:i,propertySetting:n?o:{},isModifyProperty:n,type:r.toLocaleLowerCase()}),this.close()},100)}get data(){return this._data}set data(i){this._data=i,this.notify()}get isAdvanceMode(){return this._isAdvanceMode}set isAdvanceMode(i){this._isAdvanceMode=i,this.syncDlgSize(),this.setNetnameInputDocus(!0),this.notify()}setPrefixShouldFocusCommon(i){this.prefixShouldFocus.common=i}setPrefixShouldFocusAdvanced(i){this.prefixShouldFocus.advanced=i}setNetnameInputDocus(i){Ec.isAdvanceMode?Ec.setPrefixShouldFocusAdvanced(i):Ec.setPrefixShouldFocusCommon(i),this.notify()}get isShowPropConfArea(){return this._isShowPropConfArea}get isMax(){return this.isAdvanceMode||this.isShowPropConfArea}syncDlgSize(){if(this.contentElm){let i=this.isMax;this.contentElm.style.width=(i?cct.max:cct.min)+"px"}}set isShowPropConfArea(i){this._isShowPropConfArea=i,this.syncDlgSize(),this.notify()}get netNameInCommonMode(){let{prefix:i,suffix:o,willPlaceDigit:r}=this.data.compositionInfo;return[i,r,o].join("")}close(){this.contentElm=null,le.close(this.id)}},Ec=new GWt;function Snn(){Ce(Ec);let{isAdvanceMode:t,netNameInCommonMode:e}=Ec,{compositionInfo:i,separator:o,nameOptions:r}=Ec.data,n={focus:Ec.isAdvanceMode?Ec.prefixShouldFocus.advanced:Ec.prefixShouldFocus.common,composedName:i,selectList:r,isAdvanceMode:t,onChange:a=>{let s={...Ec.data};s.compositionInfo={...a},Ec.data=s},onBlur:()=>{Ec.setNetnameInputDocus(!1)},separator:o,netNameInCommonMode:e,onSwitch:a=>{Ec.isAdvanceMode=a}};return(0,Lu.jsxs)("div",{style:{position:"relative"},children:[(0,Lu.jsx)(Let,{...n}),Ec.isShowPropConfArea&&(0,Lu.jsx)(HWt,{isMore:Ec.isShowPropConfArea,onChange:a=>{Ec.isShowPropConfArea=a},style:{padding:"10px 0"}}),Ec.isShowPropConfArea&&(0,Lu.jsx)(Mnn,{})]})}function Mnn(){let t=J(),{default:{color:e,lineWidth:i,lineStyle:o},active:r}=Ec.data,{color:n=e,lineWidth:a=i,lineStyle:s=o,connection:l=""}=r||ks,c=m=>{let h={...Ec.data};h.active.color=m,Ec.data=h},d=m=>{let h={...Ec.data};h.active.lineWidth=m,Ec.data=h},u=m=>{let h={...Ec.data};h.active.lineStyle=m,Ec.data=h},p=m=>{let h={...Ec.data};h.active.connection=m,Ec.data=h};return(0,Lu.jsx)("div",{id:"net-property-set-dialog",style:{padding:"16px 16px 16px 50px",border:"1px solid var(--common-border-color)"},children:(0,Lu.jsxs)("div",{style:{fontSize:"12px",boxSizing:"border-box"},children:[(0,Lu.jsxs)("div",{style:{display:"flex",flex:1,margin:"0 0 10px"},children:[(0,Lu.jsxs)("span",{"data-test":"Color",style:{width:"76px",whiteSpace:"nowrap",lineHeight:"24px"},children:[t("Color"),":"]}),(0,Lu.jsx)("div",{style:{flex:1},children:(0,Lu.jsx)(vp,{color:n,defaultColor:e,onChange:m=>{c(m)},needRefresh:!0})})]}),(0,Lu.jsxs)("div",{style:{display:"flex",flex:1,margin:"0 0 10px"},children:[(0,Lu.jsxs)("span",{"data-test":"Line Width",style:{width:"76px",whiteSpace:"nowrap",lineHeight:"24px"},children:[t("Line Width"),":"]}),(0,Lu.jsx)("div",{style:{flexGrow:1},children:(0,Lu.jsx)(dte,{defaultValue:String(i),value:String(a),list:lct.propConfOption.strokeWidth.map(m=>({key:String(m),value:String(m),text:String(m)})),onChange:(m,h)=>{d(m)}})})]}),(0,Lu.jsxs)("div",{style:{display:"flex",flex:1,margin:"0 0 10px"},children:[(0,Lu.jsxs)("span",{"data-test":"Line Style",style:{width:"76px",whiteSpace:"nowrap",lineHeight:"24px"},children:[t("Line Style"),":"]}),(0,Lu.jsx)("div",{style:{flexGrow:1},children:(0,Lu.jsx)(dte,{defaultValue:o,value:s,list:lct.propConfOption.strokeDasharray.map(m=>({...m,text:m.key})),onChange:(m,h)=>{u(m)}})})]}),(0,Lu.jsxs)("div",{style:{display:"flex",alignItems:"flex-start"},children:[(0,Lu.jsxs)("span",{"data-test":"Connection",style:{width:"76px",whiteSpace:"nowrap",lineHeight:"24px"},children:[t("Connection"),":"]}),(0,Lu.jsx)("div",{style:{flexShrink:1e3,display:"flex",flexWrap:"wrap"},children:lct.propConfOption.followParts.map(({name:m,value:h,icon:f,checked:g})=>(0,Lu.jsxs)("label",{children:[(0,Lu.jsx)("input",{name:"symbol",type:"radio",value:h,checked:h===l,onChange:b=>{p(b.target.value)}}),(0,Lu.jsx)("span",{}),f&&(0,Lu.jsx)("span",{className:[f].join(" "),style:{display:"ineline-block",width:"16px",height:"16px",paddingRight:"2px",marginLeft:"4px"}}),(0,Lu.jsx)("span",{style:{cursor:"pointer"},"data-test":m,children:t(m)})]},h))})]})]})})}function Inn(){let t=J();return Ce(Ec),(0,Lu.jsxs)("div",{style:{width:"100%",display:"flex",justifyContent:"space-between",alignItems:"center"},children:[Ec.isShowPropConfArea?(0,Lu.jsx)("div",{style:{width:"20px"}}):(0,Lu.jsx)(HWt,{isMore:Ec.isShowPropConfArea,onChange:e=>{Ec.isShowPropConfArea=e},style:{padding:"10px 0"}}),(0,Lu.jsxs)("div",{children:[(0,Lu.jsx)(ml,{style:{background:"#1890ff",color:"#fff",border:"1px solid #1890ff"},onClick:()=>{Ec.confirm()},children:"Confirm"}),(0,Lu.jsx)(ml,{style:{marginLeft:"8px"},onClick:()=>{Ec.close()},children:"Cancel"})]})]})}var cct={min:400,max:510};async function L9o(t=ks){let{netlabelInfo:e,netNames:i=await Cr("getAllNetNamesInBoard"),separator:o=async c=>await Cr("separateNetLabelName",{netlabelName:c,type:r.toLowerCase()}),title:r,active:n,default:a,pointerPosition:s}=t,l={separator:o,compositionInfo:e,nameOptions:i,title:r,active:n||Object(),default:a};Ec.data=l,le.open({id:Ec.id,title:r,width:Ec.isMax?cct.max:cct.min,closed:!0,...s,centered:!1,esc:!0,folded:!0,children:(0,Lu.jsx)(Snn,{}),footer:Inn,onKeyup(c){c.key==="Enter"?Ec.confirm():c.key==="Escape"&&setTimeout(()=>{Ec.close()})},onCancel(){Ec.close()},openCallback(c){Ec.contentElm=c.contentElm,Ec.setNetnameInputDocus(!0)},visibilityChange(c){c||Ec.close()}})}var YWt=["\0","","","","","","","\x07","\b","\v","\f","","","","","","","","","","","","","","\x1B","","","","","\uD800","\uD801","\uD802","\uD803","\uD804","\uD805","\uD806","\uD807","\uD808","\uD809","\uD80A","\uD80B","\uD80C","\uD80D","\uD80E","\uD80F","\uD810","\uD811","\uD812","\uD813","\uD814","\uD815","\uD816","\uD817","\uD818","\uD819","\uD81A","\uD81B","\uD81C","\uD81D","\uD81E","\uD81F","\uD820","\uD821","\uD822","\uD823","\uD824","\uD825","\uD826","\uD827","\uD828","\uD829","\uD82A","\uD82B","\uD82C","\uD82D","\uD82E","\uD82F","\uD830","\uD831","\uD832","\uD833","\uD834","\uD835","\uD836","\uD837","\uD838","\uD839","\uD83A","\uD83B","\uD83C","\uD83D","\uD83E","\uD83F","\uD840","\uD841","\uD842","\uD843","\uD844","\uD845","\uD846","\uD847","\uD848","\uD849","\uD84A","\uD84B","\uD84C","\uD84D","\uD84E","\uD84F","\uD850","\uD851","\uD852","\uD853","\uD854","\uD855","\uD856","\uD857","\uD858","\uD859","\uD85A","\uD85B","\uD85C","\uD85D","\uD85E","\uD85F","\uD860","\uD861","\uD862","\uD863","\uD864","\uD865","\uD866","\uD867","\uD868","\uD869","\uD86A","\uD86B","\uD86C","\uD86D","\uD86E","\uD86F","\uD870","\uD871","\uD872","\uD873","\uD874","\uD875","\uD876","\uD877","\uD878","\uD879","\uD87A","\uD87B","\uD87C","\uD87D","\uD87E","\uD87F","\uD880","\uD881","\uD882","\uD883","\uD884","\uD885","\uD886","\uD887","\uD888","\uD889","\uD88A","\uD88B","\uD88C","\uD88D","\uD88E","\uD88F","\uD890","\uD891","\uD892","\uD893","\uD894","\uD895","\uD896","\uD897","\uD898","\uD899","\uD89A","\uD89B","\uD89C","\uD89D","\uD89E","\uD89F","\uD8A0","\uD8A1","\uD8A2","\uD8A3","\uD8A4","\uD8A5","\uD8A6","\uD8A7","\uD8A8","\uD8A9","\uD8AA","\uD8AB","\uD8AC","\uD8AD","\uD8AE","\uD8AF","\uD8B0","\uD8B1","\uD8B2","\uD8B3","\uD8B4","\uD8B5","\uD8B6","\uD8B7","\uD8B8","\uD8B9","\uD8BA","\uD8BB","\uD8BC","\uD8BD","\uD8BE","\uD8BF","\uD8C0","\uD8C1","\uD8C2","\uD8C3","\uD8C4","\uD8C5","\uD8C6","\uD8C7","\uD8C8","\uD8C9","\uD8CA","\uD8CB","\uD8CC","\uD8CD","\uD8CE","\uD8CF","\uD8D0","\uD8D1","\uD8D2","\uD8D3","\uD8D4","\uD8D5","\uD8D6","\uD8D7","\uD8D8","\uD8D9","\uD8DA","\uD8DB","\uD8DC","\uD8DD","\uD8DE","\uD8DF","\uD8E0","\uD8E1","\uD8E2","\uD8E3","\uD8E4","\uD8E5","\uD8E6","\uD8E7","\uD8E8","\uD8E9","\uD8EA","\uD8EB","\uD8EC","\uD8ED","\uD8EE","\uD8EF","\uD8F0","\uD8F1","\uD8F2","\uD8F3","\uD8F4","\uD8F5","\uD8F6","\uD8F7","\uD8F8","\uD8F9","\uD8FA","\uD8FB","\uD8FC","\uD8FD","\uD8FE","\uD8FF","\uD900","\uD901","\uD902","\uD903","\uD904","\uD905","\uD906","\uD907","\uD908","\uD909","\uD90A","\uD90B","\uD90C","\uD90D","\uD90E","\uD90F","\uD910","\uD911","\uD912","\uD913","\uD914","\uD915","\uD916","\uD917","\uD918","\uD919","\uD91A","\uD91B","\uD91C","\uD91D","\uD91E","\uD91F","\uD920","\uD921","\uD922","\uD923","\uD924","\uD925","\uD926","\uD927","\uD928","\uD929","\uD92A","\uD92B","\uD92C","\uD92D","\uD92E","\uD92F","\uD930","\uD931","\uD932","\uD933","\uD934","\uD935","\uD936","\uD937","\uD938","\uD939","\uD93A","\uD93B","\uD93C","\uD93D","\uD93E","\uD93F","\uD940","\uD941","\uD942","\uD943","\uD944","\uD945","\uD946","\uD947","\uD948","\uD949","\uD94A","\uD94B","\uD94C","\uD94D","\uD94E","\uD94F","\uD950","\uD951","\uD952","\uD953","\uD954","\uD955","\uD956","\uD957","\uD958","\uD959","\uD95A","\uD95B","\uD95C","\uD95D","\uD95E","\uD95F","\uD960","\uD961","\uD962","\uD963","\uD964","\uD965","\uD966","\uD967","\uD968","\uD969","\uD96A","\uD96B","\uD96C","\uD96D","\uD96E","\uD96F","\uD970","\uD971","\uD972","\uD973","\uD974","\uD975","\uD976","\uD977","\uD978","\uD979","\uD97A","\uD97B","\uD97C","\uD97D","\uD97E","\uD97F","\uD980","\uD981","\uD982","\uD983","\uD984","\uD985","\uD986","\uD987","\uD988","\uD989","\uD98A","\uD98B","\uD98C","\uD98D","\uD98E","\uD98F","\uD990","\uD991","\uD992","\uD993","\uD994","\uD995","\uD996","\uD997","\uD998","\uD999","\uD99A","\uD99B","\uD99C","\uD99D","\uD99E","\uD99F","\uD9A0","\uD9A1","\uD9A2","\uD9A3","\uD9A4","\uD9A5","\uD9A6","\uD9A7","\uD9A8","\uD9A9","\uD9AA","\uD9AB","\uD9AC","\uD9AD","\uD9AE","\uD9AF","\uD9B0","\uD9B1","\uD9B2","\uD9B3","\uD9B4","\uD9B5","\uD9B6","\uD9B7","\uD9B8","\uD9B9","\uD9BA","\uD9BB","\uD9BC","\uD9BD","\uD9BE","\uD9BF","\uD9C0","\uD9C1","\uD9C2","\uD9C3","\uD9C4","\uD9C5","\uD9C6","\uD9C7","\uD9C8","\uD9C9","\uD9CA","\uD9CB","\uD9CC","\uD9CD","\uD9CE","\uD9CF","\uD9D0","\uD9D1","\uD9D2","\uD9D3","\uD9D4","\uD9D5","\uD9D6","\uD9D7","\uD9D8","\uD9D9","\uD9DA","\uD9DB","\uD9DC","\uD9DD","\uD9DE","\uD9DF","\uD9E0","\uD9E1","\uD9E2","\uD9E3","\uD9E4","\uD9E5","\uD9E6","\uD9E7","\uD9E8","\uD9E9","\uD9EA","\uD9EB","\uD9EC","\uD9ED","\uD9EE","\uD9EF","\uD9F0","\uD9F1","\uD9F2","\uD9F3","\uD9F4","\uD9F5","\uD9F6","\uD9F7","\uD9F8","\uD9F9","\uD9FA","\uD9FB","\uD9FC","\uD9FD","\uD9FE","\uD9FF","\uDA00","\uDA01","\uDA02","\uDA03","\uDA04","\uDA05","\uDA06","\uDA07","\uDA08","\uDA09","\uDA0A","\uDA0B","\uDA0C","\uDA0D","\uDA0E","\uDA0F","\uDA10","\uDA11","\uDA12","\uDA13","\uDA14","\uDA15","\uDA16","\uDA17","\uDA18","\uDA19","\uDA1A","\uDA1B","\uDA1C","\uDA1D","\uDA1E","\uDA1F","\uDA20","\uDA21","\uDA22","\uDA23","\uDA24","\uDA25","\uDA26","\uDA27","\uDA28","\uDA29","\uDA2A","\uDA2B","\uDA2C","\uDA2D","\uDA2E","\uDA2F","\uDA30","\uDA31","\uDA32","\uDA33","\uDA34","\uDA35","\uDA36","\uDA37","\uDA38","\uDA39","\uDA3A","\uDA3B","\uDA3C","\uDA3D","\uDA3E","\uDA3F","\uDA40","\uDA41","\uDA42","\uDA43","\uDA44","\uDA45","\uDA46","\uDA47","\uDA48","\uDA49","\uDA4A","\uDA4B","\uDA4C","\uDA4D","\uDA4E","\uDA4F","\uDA50","\uDA51","\uDA52","\uDA53","\uDA54","\uDA55","\uDA56","\uDA57","\uDA58","\uDA59","\uDA5A","\uDA5B","\uDA5C","\uDA5D","\uDA5E","\uDA5F","\uDA60","\uDA61","\uDA62","\uDA63","\uDA64","\uDA65","\uDA66","\uDA67","\uDA68","\uDA69","\uDA6A","\uDA6B","\uDA6C","\uDA6D","\uDA6E","\uDA6F","\uDA70","\uDA71","\uDA72","\uDA73","\uDA74","\uDA75","\uDA76","\uDA77","\uDA78","\uDA79","\uDA7A","\uDA7B","\uDA7C","\uDA7D","\uDA7E","\uDA7F","\uDA80","\uDA81","\uDA82","\uDA83","\uDA84","\uDA85","\uDA86","\uDA87","\uDA88","\uDA89","\uDA8A","\uDA8B","\uDA8C","\uDA8D","\uDA8E","\uDA8F","\uDA90","\uDA91","\uDA92","\uDA93","\uDA94","\uDA95","\uDA96","\uDA97","\uDA98","\uDA99","\uDA9A","\uDA9B","\uDA9C","\uDA9D","\uDA9E","\uDA9F","\uDAA0","\uDAA1","\uDAA2","\uDAA3","\uDAA4","\uDAA5","\uDAA6","\uDAA7","\uDAA8","\uDAA9","\uDAAA","\uDAAB","\uDAAC","\uDAAD","\uDAAE","\uDAAF","\uDAB0","\uDAB1","\uDAB2","\uDAB3","\uDAB4","\uDAB5","\uDAB6","\uDAB7","\uDAB8","\uDAB9","\uDABA","\uDABB","\uDABC","\uDABD","\uDABE","\uDABF","\uDAC0","\uDAC1","\uDAC2","\uDAC3","\uDAC4","\uDAC5","\uDAC6","\uDAC7","\uDAC8","\uDAC9","\uDACA","\uDACB","\uDACC","\uDACD","\uDACE","\uDACF","\uDAD0","\uDAD1","\uDAD2","\uDAD3","\uDAD4","\uDAD5","\uDAD6","\uDAD7","\uDAD8","\uDAD9","\uDADA","\uDADB","\uDADC","\uDADD","\uDADE","\uDADF","\uDAE0","\uDAE1","\uDAE2","\uDAE3","\uDAE4","\uDAE5","\uDAE6","\uDAE7","\uDAE8","\uDAE9","\uDAEA","\uDAEB","\uDAEC","\uDAED","\uDAEE","\uDAEF","\uDAF0","\uDAF1","\uDAF2","\uDAF3","\uDAF4","\uDAF5","\uDAF6","\uDAF7","\uDAF8","\uDAF9","\uDAFA","\uDAFB","\uDAFC","\uDAFD","\uDAFE","\uDAFF","\uDB00","\uDB01","\uDB02","\uDB03","\uDB04","\uDB05","\uDB06","\uDB07","\uDB08","\uDB09","\uDB0A","\uDB0B","\uDB0C","\uDB0D","\uDB0E","\uDB0F","\uDB10","\uDB11","\uDB12","\uDB13","\uDB14","\uDB15","\uDB16","\uDB17","\uDB18","\uDB19","\uDB1A","\uDB1B","\uDB1C","\uDB1D","\uDB1E","\uDB1F","\uDB20","\uDB21","\uDB22","\uDB23","\uDB24","\uDB25","\uDB26","\uDB27","\uDB28","\uDB29","\uDB2A","\uDB2B","\uDB2C","\uDB2D","\uDB2E","\uDB2F","\uDB30","\uDB31","\uDB32","\uDB33","\uDB34","\uDB35","\uDB36","\uDB37","\uDB38","\uDB39","\uDB3A","\uDB3B","\uDB3C","\uDB3D","\uDB3E","\uDB3F","\uDB40","\uDB41","\uDB42","\uDB43","\uDB44","\uDB45","\uDB46","\uDB47","\uDB48","\uDB49","\uDB4A","\uDB4B","\uDB4C","\uDB4D","\uDB4E","\uDB4F","\uDB50","\uDB51","\uDB52","\uDB53","\uDB54","\uDB55","\uDB56","\uDB57","\uDB58","\uDB59","\uDB5A","\uDB5B","\uDB5C","\uDB5D","\uDB5E","\uDB5F","\uDB60","\uDB61","\uDB62","\uDB63","\uDB64","\uDB65","\uDB66","\uDB67","\uDB68","\uDB69","\uDB6A","\uDB6B","\uDB6C","\uDB6D","\uDB6E","\uDB6F","\uDB70","\uDB71","\uDB72","\uDB73","\uDB74","\uDB75","\uDB76","\uDB77","\uDB78","\uDB79","\uDB7A","\uDB7B","\uDB7C","\uDB7D","\uDB7E","\uDB7F","\uDB80","\uDB81","\uDB82","\uDB83","\uDB84","\uDB85","\uDB86","\uDB87","\uDB88","\uDB89","\uDB8A","\uDB8B","\uDB8C","\uDB8D","\uDB8E","\uDB8F","\uDB90","\uDB91","\uDB92","\uDB93","\uDB94","\uDB95","\uDB96","\uDB97","\uDB98","\uDB99","\uDB9A","\uDB9B","\uDB9C","\uDB9D","\uDB9E","\uDB9F","\uDBA0","\uDBA1","\uDBA2","\uDBA3","\uDBA4","\uDBA5","\uDBA6","\uDBA7","\uDBA8","\uDBA9","\uDBAA","\uDBAB","\uDBAC","\uDBAD","\uDBAE","\uDBAF","\uDBB0","\uDBB1","\uDBB2","\uDBB3","\uDBB4","\uDBB5","\uDBB6","\uDBB7","\uDBB8","\uDBB9","\uDBBA","\uDBBB","\uDBBC","\uDBBD","\uDBBE","\uDBBF","\uDBC0","\uDBC1","\uDBC2","\uDBC3","\uDBC4","\uDBC5","\uDBC6","\uDBC7","\uDBC8","\uDBC9","\uDBCA","\uDBCB","\uDBCC","\uDBCD","\uDBCE","\uDBCF","\uDBD0","\uDBD1","\uDBD2","\uDBD3","\uDBD4","\uDBD5","\uDBD6","\uDBD7","\uDBD8","\uDBD9","\uDBDA","\uDBDB","\uDBDC","\uDBDD","\uDBDE","\uDBDF","\uDBE0","\uDBE1","\uDBE2","\uDBE3","\uDBE4","\uDBE5","\uDBE6","\uDBE7","\uDBE8","\uDBE9","\uDBEA","\uDBEB","\uDBEC","\uDBED","\uDBEE","\uDBEF","\uDBF0","\uDBF1","\uDBF2","\uDBF3","\uDBF4","\uDBF5","\uDBF6","\uDBF7","\uDBF8","\uDBF9","\uDBFA","\uDBFB","\uDBFC","\uDBFD","\uDBFE","\uDBFF","\uDC00","\uDC01","\uDC02","\uDC03","\uDC04","\uDC05","\uDC06","\uDC07","\uDC08","\uDC09","\uDC0A","\uDC0B","\uDC0C","\uDC0D","\uDC0E","\uDC0F","\uDC10","\uDC11","\uDC12","\uDC13","\uDC14","\uDC15","\uDC16","\uDC17","\uDC18","\uDC19","\uDC1A","\uDC1B","\uDC1C","\uDC1D","\uDC1E","\uDC1F","\uDC20","\uDC21","\uDC22","\uDC23","\uDC24","\uDC25","\uDC26","\uDC27","\uDC28","\uDC29","\uDC2A","\uDC2B","\uDC2C","\uDC2D","\uDC2E","\uDC2F","\uDC30","\uDC31","\uDC32","\uDC33","\uDC34","\uDC35","\uDC36","\uDC37","\uDC38","\uDC39","\uDC3A","\uDC3B","\uDC3C","\uDC3D","\uDC3E","\uDC3F","\uDC40","\uDC41","\uDC42","\uDC43","\uDC44","\uDC45","\uDC46","\uDC47","\uDC48","\uDC49","\uDC4A","\uDC4B","\uDC4C","\uDC4D","\uDC4E","\uDC4F","\uDC50","\uDC51","\uDC52","\uDC53","\uDC54","\uDC55","\uDC56","\uDC57","\uDC58","\uDC59","\uDC5A","\uDC5B","\uDC5C","\uDC5D","\uDC5E","\uDC5F","\uDC60","\uDC61","\uDC62","\uDC63","\uDC64","\uDC65","\uDC66","\uDC67","\uDC68","\uDC69","\uDC6A","\uDC6B","\uDC6C","\uDC6D","\uDC6E","\uDC6F","\uDC70","\uDC71","\uDC72","\uDC73","\uDC74","\uDC75","\uDC76","\uDC77","\uDC78","\uDC79","\uDC7A","\uDC7B","\uDC7C","\uDC7D","\uDC7E","\uDC7F","\uDC80","\uDC81","\uDC82","\uDC83","\uDC84","\uDC85","\uDC86","\uDC87","\uDC88","\uDC89","\uDC8A","\uDC8B","\uDC8C","\uDC8D","\uDC8E","\uDC8F","\uDC90","\uDC91","\uDC92","\uDC93","\uDC94","\uDC95","\uDC96","\uDC97","\uDC98","\uDC99","\uDC9A","\uDC9B","\uDC9C","\uDC9D","\uDC9E","\uDC9F","\uDCA0","\uDCA1","\uDCA2","\uDCA3","\uDCA4","\uDCA5","\uDCA6","\uDCA7","\uDCA8","\uDCA9","\uDCAA","\uDCAB","\uDCAC","\uDCAD","\uDCAE","\uDCAF","\uDCB0","\uDCB1","\uDCB2","\uDCB3","\uDCB4","\uDCB5","\uDCB6","\uDCB7","\uDCB8","\uDCB9","\uDCBA","\uDCBB","\uDCBC","\uDCBD","\uDCBE","\uDCBF","\uDCC0","\uDCC1","\uDCC2","\uDCC3","\uDCC4","\uDCC5","\uDCC6","\uDCC7","\uDCC8","\uDCC9","\uDCCA","\uDCCB","\uDCCC","\uDCCD","\uDCCE","\uDCCF","\uDCD0","\uDCD1","\uDCD2","\uDCD3","\uDCD4","\uDCD5","\uDCD6","\uDCD7","\uDCD8","\uDCD9","\uDCDA","\uDCDB","\uDCDC","\uDCDD","\uDCDE","\uDCDF","\uDCE0","\uDCE1","\uDCE2","\uDCE3","\uDCE4","\uDCE5","\uDCE6","\uDCE7","\uDCE8","\uDCE9","\uDCEA","\uDCEB","\uDCEC","\uDCED","\uDCEE","\uDCEF","\uDCF0","\uDCF1","\uDCF2","\uDCF3","\uDCF4","\uDCF5","\uDCF6","\uDCF7","\uDCF8","\uDCF9","\uDCFA","\uDCFB","\uDCFC","\uDCFD","\uDCFE","\uDCFF","\uDD00","\uDD01","\uDD02","\uDD03","\uDD04","\uDD05","\uDD06","\uDD07","\uDD08","\uDD09","\uDD0A","\uDD0B","\uDD0C","\uDD0D","\uDD0E","\uDD0F","\uDD10","\uDD11","\uDD12","\uDD13","\uDD14","\uDD15","\uDD16","\uDD17","\uDD18","\uDD19","\uDD1A","\uDD1B","\uDD1C","\uDD1D","\uDD1E","\uDD1F","\uDD20","\uDD21","\uDD22","\uDD23","\uDD24","\uDD25","\uDD26","\uDD27","\uDD28","\uDD29","\uDD2A","\uDD2B","\uDD2C","\uDD2D","\uDD2E","\uDD2F","\uDD30","\uDD31","\uDD32","\uDD33","\uDD34","\uDD35","\uDD36","\uDD37","\uDD38","\uDD39","\uDD3A","\uDD3B","\uDD3C","\uDD3D","\uDD3E","\uDD3F","\uDD40","\uDD41","\uDD42","\uDD43","\uDD44","\uDD45","\uDD46","\uDD47","\uDD48","\uDD49","\uDD4A","\uDD4B","\uDD4C","\uDD4D","\uDD4E","\uDD4F","\uDD50","\uDD51","\uDD52","\uDD53","\uDD54","\uDD55","\uDD56","\uDD57","\uDD58","\uDD59","\uDD5A","\uDD5B","\uDD5C","\uDD5D","\uDD5E","\uDD5F","\uDD60","\uDD61","\uDD62","\uDD63","\uDD64","\uDD65","\uDD66","\uDD67","\uDD68","\uDD69","\uDD6A","\uDD6B","\uDD6C","\uDD6D","\uDD6E","\uDD6F","\uDD70","\uDD71","\uDD72","\uDD73","\uDD74","\uDD75","\uDD76","\uDD77","\uDD78","\uDD79","\uDD7A","\uDD7B","\uDD7C","\uDD7D","\uDD7E","\uDD7F","\uDD80","\uDD81","\uDD82","\uDD83","\uDD84","\uDD85","\uDD86","\uDD87","\uDD88","\uDD89","\uDD8A","\uDD8B","\uDD8C","\uDD8D","\uDD8E","\uDD8F","\uDD90","\uDD91","\uDD92","\uDD93","\uDD94","\uDD95","\uDD96","\uDD97","\uDD98","\uDD99","\uDD9A","\uDD9B","\uDD9C","\uDD9D","\uDD9E","\uDD9F","\uDDA0","\uDDA1","\uDDA2","\uDDA3","\uDDA4","\uDDA5","\uDDA6","\uDDA7","\uDDA8","\uDDA9","\uDDAA","\uDDAB","\uDDAC","\uDDAD","\uDDAE","\uDDAF","\uDDB0","\uDDB1","\uDDB2","\uDDB3","\uDDB4","\uDDB5","\uDDB6","\uDDB7","\uDDB8","\uDDB9","\uDDBA","\uDDBB","\uDDBC","\uDDBD","\uDDBE","\uDDBF","\uDDC0","\uDDC1","\uDDC2","\uDDC3","\uDDC4","\uDDC5","\uDDC6","\uDDC7","\uDDC8","\uDDC9","\uDDCA","\uDDCB","\uDDCC","\uDDCD","\uDDCE","\uDDCF","\uDDD0","\uDDD1","\uDDD2","\uDDD3","\uDDD4","\uDDD5","\uDDD6","\uDDD7","\uDDD8","\uDDD9","\uDDDA","\uDDDB","\uDDDC","\uDDDD","\uDDDE","\uDDDF","\uDDE0","\uDDE1","\uDDE2","\uDDE3","\uDDE4","\uDDE5","\uDDE6","\uDDE7","\uDDE8","\uDDE9","\uDDEA","\uDDEB","\uDDEC","\uDDED","\uDDEE","\uDDEF","\uDDF0","\uDDF1","\uDDF2","\uDDF3","\uDDF4","\uDDF5","\uDDF6","\uDDF7","\uDDF8","\uDDF9","\uDDFA","\uDDFB","\uDDFC","\uDDFD","\uDDFE","\uDDFF","\uDE00","\uDE01","\uDE02","\uDE03","\uDE04","\uDE05","\uDE06","\uDE07","\uDE08","\uDE09","\uDE0A","\uDE0B","\uDE0C","\uDE0D","\uDE0E","\uDE0F","\uDE10","\uDE11","\uDE12","\uDE13","\uDE14","\uDE15","\uDE16","\uDE17","\uDE18","\uDE19","\uDE1A","\uDE1B","\uDE1C","\uDE1D","\uDE1E","\uDE1F","\uDE20","\uDE21","\uDE22","\uDE23","\uDE24","\uDE25","\uDE26","\uDE27","\uDE28","\uDE29","\uDE2A","\uDE2B","\uDE2C","\uDE2D","\uDE2E","\uDE2F","\uDE30","\uDE31","\uDE32","\uDE33","\uDE34","\uDE35","\uDE36","\uDE37","\uDE38","\uDE39","\uDE3A","\uDE3B","\uDE3C","\uDE3D","\uDE3E","\uDE3F","\uDE40","\uDE41","\uDE42","\uDE43","\uDE44","\uDE45","\uDE46","\uDE47","\uDE48","\uDE49","\uDE4A","\uDE4B","\uDE4C","\uDE4D","\uDE4E","\uDE4F","\uDE50","\uDE51","\uDE52","\uDE53","\uDE54","\uDE55","\uDE56","\uDE57","\uDE58","\uDE59","\uDE5A","\uDE5B","\uDE5C","\uDE5D","\uDE5E","\uDE5F","\uDE60","\uDE61","\uDE62","\uDE63","\uDE64","\uDE65","\uDE66","\uDE67","\uDE68","\uDE69","\uDE6A","\uDE6B","\uDE6C","\uDE6D","\uDE6E","\uDE6F","\uDE70","\uDE71","\uDE72","\uDE73","\uDE74","\uDE75","\uDE76","\uDE77","\uDE78","\uDE79","\uDE7A","\uDE7B","\uDE7C","\uDE7D","\uDE7E","\uDE7F","\uDE80","\uDE81","\uDE82","\uDE83","\uDE84","\uDE85","\uDE86","\uDE87","\uDE88","\uDE89","\uDE8A","\uDE8B","\uDE8C","\uDE8D","\uDE8E","\uDE8F","\uDE90","\uDE91","\uDE92","\uDE93","\uDE94","\uDE95","\uDE96","\uDE97","\uDE98","\uDE99","\uDE9A","\uDE9B","\uDE9C","\uDE9D","\uDE9E","\uDE9F","\uDEA0","\uDEA1","\uDEA2","\uDEA3","\uDEA4","\uDEA5","\uDEA6","\uDEA7","\uDEA8","\uDEA9","\uDEAA","\uDEAB","\uDEAC","\uDEAD","\uDEAE","\uDEAF","\uDEB0","\uDEB1","\uDEB2","\uDEB3","\uDEB4","\uDEB5","\uDEB6","\uDEB7","\uDEB8","\uDEB9","\uDEBA","\uDEBB","\uDEBC","\uDEBD","\uDEBE","\uDEBF","\uDEC0","\uDEC1","\uDEC2","\uDEC3","\uDEC4","\uDEC5","\uDEC6","\uDEC7","\uDEC8","\uDEC9","\uDECA","\uDECB","\uDECC","\uDECD","\uDECE","\uDECF","\uDED0","\uDED1","\uDED2","\uDED3","\uDED4","\uDED5","\uDED6","\uDED7","\uDED8","\uDED9","\uDEDA","\uDEDB","\uDEDC","\uDEDD","\uDEDE","\uDEDF","\uDEE0","\uDEE1","\uDEE2","\uDEE3","\uDEE4","\uDEE5","\uDEE6","\uDEE7","\uDEE8","\uDEE9","\uDEEA","\uDEEB","\uDEEC","\uDEED","\uDEEE","\uDEEF","\uDEF0","\uDEF1","\uDEF2","\uDEF3","\uDEF4","\uDEF5","\uDEF6","\uDEF7","\uDEF8","\uDEF9","\uDEFA","\uDEFB","\uDEFC","\uDEFD","\uDEFE","\uDEFF","\uDF00","\uDF01","\uDF02","\uDF03","\uDF04","\uDF05","\uDF06","\uDF07","\uDF08","\uDF09","\uDF0A","\uDF0B","\uDF0C","\uDF0D","\uDF0E","\uDF0F","\uDF10","\uDF11","\uDF12","\uDF13","\uDF14","\uDF15","\uDF16","\uDF17","\uDF18","\uDF19","\uDF1A","\uDF1B","\uDF1C","\uDF1D","\uDF1E","\uDF1F","\uDF20","\uDF21","\uDF22","\uDF23","\uDF24","\uDF25","\uDF26","\uDF27","\uDF28","\uDF29","\uDF2A","\uDF2B","\uDF2C","\uDF2D","\uDF2E","\uDF2F","\uDF30","\uDF31","\uDF32","\uDF33","\uDF34","\uDF35","\uDF36","\uDF37","\uDF38","\uDF39","\uDF3A","\uDF3B","\uDF3C","\uDF3D","\uDF3E","\uDF3F","\uDF40","\uDF41","\uDF42","\uDF43","\uDF44","\uDF45","\uDF46","\uDF47","\uDF48","\uDF49","\uDF4A","\uDF4B","\uDF4C","\uDF4D","\uDF4E","\uDF4F","\uDF50","\uDF51","\uDF52","\uDF53","\uDF54","\uDF55","\uDF56","\uDF57","\uDF58","\uDF59","\uDF5A","\uDF5B","\uDF5C","\uDF5D","\uDF5E","\uDF5F","\uDF60","\uDF61","\uDF62","\uDF63","\uDF64","\uDF65","\uDF66","\uDF67","\uDF68","\uDF69","\uDF6A","\uDF6B","\uDF6C","\uDF6D","\uDF6E","\uDF6F","\uDF70","\uDF71","\uDF72","\uDF73","\uDF74","\uDF75","\uDF76","\uDF77","\uDF78","\uDF79","\uDF7A","\uDF7B","\uDF7C","\uDF7D","\uDF7E","\uDF7F","\uDF80","\uDF81","\uDF82","\uDF83","\uDF84","\uDF85","\uDF86","\uDF87","\uDF88","\uDF89","\uDF8A","\uDF8B","\uDF8C","\uDF8D","\uDF8E","\uDF8F","\uDF90","\uDF91","\uDF92","\uDF93","\uDF94","\uDF95","\uDF96","\uDF97","\uDF98","\uDF99","\uDF9A","\uDF9B","\uDF9C","\uDF9D","\uDF9E","\uDF9F","\uDFA0","\uDFA1","\uDFA2","\uDFA3","\uDFA4","\uDFA5","\uDFA6","\uDFA7","\uDFA8","\uDFA9","\uDFAA","\uDFAB","\uDFAC","\uDFAD","\uDFAE","\uDFAF","\uDFB0","\uDFB1","\uDFB2","\uDFB3","\uDFB4","\uDFB5","\uDFB6","\uDFB7","\uDFB8","\uDFB9","\uDFBA","\uDFBB","\uDFBC","\uDFBD","\uDFBE","\uDFBF","\uDFC0","\uDFC1","\uDFC2","\uDFC3","\uDFC4","\uDFC5","\uDFC6","\uDFC7","\uDFC8","\uDFC9","\uDFCA","\uDFCB","\uDFCC","\uDFCD","\uDFCE","\uDFCF","\uDFD0","\uDFD1","\uDFD2","\uDFD3","\uDFD4","\uDFD5","\uDFD6","\uDFD7","\uDFD8","\uDFD9","\uDFDA","\uDFDB","\uDFDC","\uDFDD","\uDFDE","\uDFDF","\uDFE0","\uDFE1","\uDFE2","\uDFE3","\uDFE4","\uDFE5","\uDFE6","\uDFE7","\uDFE8","\uDFE9","\uDFEA","\uDFEB","\uDFEC","\uDFED","\uDFEE","\uDFEF","\uDFF0","\uDFF1","\uDFF2","\uDFF3","\uDFF4","\uDFF5","\uDFF6","\uDFF7","\uDFF8","\uDFF9","\uDFFA","\uDFFB","\uDFFC","\uDFFD","\uDFFE","\uDFFF","\uFFFE","\uFFFF"],WWt=new Set(YWt),TC0=[...YWt,"&","<"],SC0=new RegExp(YWt.join("|"),"g");var QWt=class extends qe{constructor(){super();this._showMoreSetting=!1}get showMoreSetting(){return this._showMoreSetting}set showMoreSetting(i){this._showMoreSetting=i,this.notify()}async getBasicPropertyConfig(){return this.pinBasicPropertyConfig||(this.pinBasicPropertyConfig=(await C.messageBus.rpcCall("getPinBasicPropertyConfig")).message||[]),this.pinBasicPropertyConfig}},oS=new QWt;var qye=L(Se());var DQ=L(Se());var KWt=L($De());var vQ=L(Se());var D9o=L(z());function eEe(t){let{value:e,defaultValue:i=e,validator:o,onChange:r,unit:n=""}=t,[a,s]=(0,vQ.useState)(`${e+n}`),l=()=>{let u=a==="",p=u?0:yd(a,n);isFinite(p)&&(!o||o(p))?s(u&&!n?"":String(p)+n):(s(`${i+n}`),p=i),r&&r(u&&!n?a:String(p),n)};(0,vQ.useEffect)(()=>{s(document.activeElement!==c.current?t.value+n:String(t.value))},[t.value]);let c=(0,vQ.useRef)(null);(0,vQ.useEffect)(()=>{t.focus&&c.current.focus()},[t.focus]);let d=(0,vQ.useMemo)(()=>t.disabled,[t.disabled]);return(0,D9o.jsx)("input",{disabled:d,style:{width:"100%"},ref:c,type:"text",className:"fixed-length-input",value:a,onInput:u=>{s(SD(u.target.value))},onBlur:u=>{l()},onFocus:u=>{s(a.substring(0,a.lastIndexOf(n)))},onKeyDown:u=>{u.key==="Enter"&&l()}})}var Ah=L(z()),{locals:Lnn}=KWt.default,t3=be.bind(Lnn);function uct(t,e){let i,o,r=t.match(/\d+$/);return!r&&e&&(r=t.match(/\d+/)||[]),i=r==null?void 0:r[0],o=r==null?void 0:r.index,i?{prefix:i.length===t.length?"":t.slice(0,o),start:i,increment:"1",suffix:t.slice(o+i.length)}:{prefix:t,startValue:"",increment:"1",suffix:""}}function ZWt(t){Ae(KWt.default);let{data:e,pinTabSetting:i}=t,{formInfo:o}=e,{prefix:r="",start:n="",suffix:a="",increment:s="1"}=o[e.key],l=J(),[c,d]=(0,DQ.useState)(r+n+a),[u,p]=(0,DQ.useState)(r),[m,h]=(0,DQ.useState)(a),[f,g]=(0,DQ.useState)(0);(0,DQ.useEffect)(()=>{d(u+n+m)},[u,n,m]),(0,DQ.useEffect)(()=>{let{prefix:S="",start:T="",suffix:M="",increment:I="1"}=o[e.key];p(S),h(M)},[o[e.key]]);let b=(S,T)=>{let M=Number((+S).toFixed(5).slice(0,-1));return T!=M},y=t.data.key==="pinName"?"pinNameAdvance":"pinNumberAdvance",[w,x]=(0,DQ.useState)(i[y]||!1);return(0,Ah.jsxs)("tr",{className:t3("rowBox"),children:[(0,Ah.jsxs)("td",{className:t3("title"),title:e.title,children:[l(e.title),"\uFF1A"]}),(0,Ah.jsx)("td",{style:{flex:"1",display:w?"none":"block"},children:(0,Ah.jsx)("input",{type:"text",value:c,onInput:S=>{let T=S.target.value;t.data.formInfo[e.key]=uct(T,!0),d(T)},className:t3("firstInput")})}),(0,Ah.jsx)("td",{className:t3("rowInputContainer"),style:{display:w?"flex":"none"},children:(0,Ah.jsxs)("div",{className:t3("rowContainer"),children:[(0,Ah.jsxs)("div",{className:t3("row"),children:[(0,Ah.jsxs)("span",{className:t3("rowTitle"),children:[l("Prefix"),"\uFF1A"]}),(0,Ah.jsx)("input",{type:"text",value:u,onInput:S=>{o[e.key].prefix=S.target.value,p(o[e.key].prefix)},className:t3("rowInput")})]}),(0,Ah.jsxs)("div",{className:t3("row"),children:[(0,Ah.jsxs)("span",{className:t3("numberTitle"),children:[l("Digit"),"\uFF1A"]}),(0,Ah.jsxs)("div",{className:t3("rowInput"),children:[(0,Ah.jsxs)("div",{className:t3("inputContainer"),children:[(0,Ah.jsx)("span",{className:t3("childTitle"),children:l("Start Value")}),(0,Ah.jsx)(eEe,{value:n,unit:"",validator:S=>b(S,n),onChange:S=>{S!==""&&(S=Number((+S).toFixed(5).slice(0,-1))),o[e.key].start=S,g(f+1)}})]}),(0,Ah.jsxs)("div",{className:t3("inputContainer"),children:[(0,Ah.jsx)("span",{className:t3("childTitle"),children:l("Increment")}),(0,Ah.jsx)(eEe,{value:s,unit:"",validator:S=>b(S,s),onChange:S=>{S=Number((+S).toFixed(5).slice(0,-1)),o[e.key].increment=S,g(f+1)}})]})]})]}),(0,Ah.jsxs)("div",{className:t3("row"),children:[(0,Ah.jsxs)("span",{className:t3("rowTitle"),children:[l("Suffix"),"\uFF1A"]}),(0,Ah.jsx)("input",{type:"text",value:m,onInput:S=>{o[e.key].suffix=S.target.value,h(o[e.key].suffix)},className:t3("rowInput")})]})]})}),(0,Ah.jsx)("td",{children:(0,Ah.jsxs)("span",{onClick:()=>{i[y]=!w,x(i[y])},className:t3("moreSetting"),"data-test":"More Setting",children:[l("More Setting"),w?"-":"+"]})})]})}var XWt=L($De());var E9o=L($De()),Zye=L(z()),{locals:vnn}=E9o.default,JWt=be.bind(vnn);function Jye(t){let e=J(),{title:i,children:o}=t;return(0,Zye.jsx)("tr",{children:(0,Zye.jsxs)("td",{className:JWt("pinAttrRow"),children:[(0,Zye.jsxs)("span",{className:JWt("title"),children:[e(i),"\uFF1A"]}),(0,Zye.jsx)("div",{className:JWt("attrContainer"),children:o})]})})}var qWt=L(z());function A9o(t){let{formInfo:e}=t,i=Vo(),o=n=>{let a=!1,s=yd(String(n),i),l=0,c=WI(25,"inch",i);return(!s||s<l||s>c)&&(a=!0),!isNaN(s)&&!a},r=n=>{let a=yd(String(n),i);e.pinLength=WI(a,i,"pixel")};return(0,qWt.jsx)(Jye,{title:"Length",children:(0,qWt.jsx)(eEe,{validator:o,value:WI(+e.pinLength||20,"pixel",i),unit:i,onChange:r})})}var Fx=L(z()),{locals:Dnn}=XWt.default,pct=be.bind(Dnn),N9o={pinName:"Pin Name",pinNumber:"Pin Number"};function $Wt(t){Ae(XWt.default),Ce(oS);let[e,i]=(0,qye.useState)([]),[o,r]=(0,qye.useState)([]),n=J(),a=Wi("OBJECT","theme",{readValueKey:!1}),s=a[a.activeTheme].color.pin;(0,qye.useEffect)(()=>{let c=[];c.push({key:"pinName",title:N9o.pinName,formInfo:t.data}),c.push({key:"pinNumber",title:N9o.pinNumber,formInfo:t.data}),i(c)},[t.data]),(0,qye.useEffect)(()=>{oS.getBasicPropertyConfig().then(c=>{c.forEach(d=>{d.value=t.data[d.propertyKey]}),r(c)})},[oS.showMoreSetting]);let l=ca();return(0,Fx.jsxs)("section",{children:[(0,Fx.jsx)("table",{className:pct("tableContainer")+" pin-table",cellPadding:"0",cellSpacing:"0",children:(0,Fx.jsx)("tbody",{children:e.map((c,d)=>(0,Fx.jsx)(ZWt,{data:c,pinTabSetting:t.pinTabSetting},c.key))})}),oS.showMoreSetting&&(0,Fx.jsxs)("div",{children:[(0,Fx.jsxs)("div",{onClick:()=>{oS.showMoreSetting=!1},className:pct("pinMoreSetting"),"data-test":"More Setting",children:[n("More Setting"),(0,Fx.jsx)("span",{className:pct("arrow")})]}),(0,Fx.jsxs)("table",{className:pct("tableContainer tableMoreContainer")+" pin-table",cellPadding:"0",cellSpacing:"0",children:[(0,Fx.jsxs)("tbody",{children:[o.map((c,d)=>(0,Fx.jsx)(Jye,{data:c,title:c.title,children:(0,Fx.jsx)(xt,{value:t.data[c.propertyKey],list:c.valueOptions,onChange:u=>{t.data[c.propertyKey]=u,l()}})},c.title)),(0,Fx.jsx)(A9o,{formInfo:t.data}),(0,Fx.jsx)(Jye,{title:"Pin Color",children:(0,Fx.jsx)(vp,{style:{width:"100%"},defaultColor:s,color:t.data.pinColor,onChange:c=>{t.data.pinColor=c}})})]}),(0,Fx.jsx)("tfoot",{})]})]})]})}var k9o=L($De());var zte=L(z()),{locals:Enn}=k9o.default,eQt=be.bind(Enn);function tQt(t){Ce(oS);let e=J(),{confirmFn:i,onCancel:o}=t;return(0,zte.jsxs)("footer",{className:eQt("pinFooter"),children:[(0,zte.jsxs)("div",{children:[(0,zte.jsx)(ml,{type:"primary",class:"confirm-btn",onClick:i,style:{marginRight:"16px"},children:"Confirm"}),(0,zte.jsx)(ml,{class:"cancel-btn",onClick:o,children:"Cancel"})]}),!oS.showMoreSetting&&(0,zte.jsxs)("div",{onClick:()=>{oS.showMoreSetting=!0},className:eQt("pinMoreSetting"),"data-test":"More Setting",children:[e("More Setting"),(0,zte.jsx)("span",{className:eQt("arrow")})]})]})}var iQt=L(z());function P9o(t){let{prefix:e="",start:i="",suffix:o="",increment:r}=t;return e+i+o}var Ann=async(t,e)=>{let i=P9o(t.pinName),o=P9o(t.pinNumber);if(Nnn({pinName:i,pinNumber:o})){if(!oS.showMoreSetting){let{originData:r}=oS;r.pinName=t.pinName,r.pinNumber=t.pinNumber,t=r}switch(t.pinRotation){case"Right":{t.pinRotation=0;break}case"Top":{t.pinRotation=90;break}case"Left":{t.pinRotation=180;break}case"Bottom":{t.pinRotation=270;break}default:t.pinRotation=0;break}e.showMoreSetting=oS.showMoreSetting,e.pinNameAdvance||(t.pinName=uct(i,!1)),e.pinNumberAdvance||(t.pinNumber=uct(o,!1)),await C.messageBus.publish("drawingSymbolPinHandler",{data:t,pinTabSetting:e})}};function Nnn(t){let e=!0;{let r=t.pinNumber.replace(/，/g,",");r=r.replace(/^[,，]+(.*)[,，]+$/,"$1");let n=r.split(","),a=ue.naturalSort(n);t.pinNumber=a.join(",")}let i=t.pinName+"",o=t.pinNumber+"";return o.length<=0&&(C.messageBus.publish("message",{type:"alert",message:"Pin Number cannot be empty!"}),e=!1),(i.length>255||o.length>255)&&(C.messageBus.publish("message",{type:"alert",message:"The typing cannot over 255 charaters."}),e=!1),o.match(/^[0-9a-zA-Z,，\.]{0,}$/)||(C.messageBus.publish("ui/toastMsg",{type:"warn",msg:"Only letters and numbers can be entered for the Pin Number"}),e=!1),Array.from(i).some(r=>WWt.has(r))||Array.from(o).some(r=>WWt.has(r))?!1:e}function oQt(t){let e=bt["pin-placement-tab"],{containerId:i,title:o,width:r,height:n,closed:a}=e,{data:s,pinTabSetting:l}=t;oS.originData=ue.deepClone(s),oS.showMoreSetting=l.showMoreSetting;let c=async()=>{await Ann(s,l),le.close(i)},d=()=>{le.close(i)};le.open({id:i,title:o,width:r,closed:a,esc:!0,centered:!0,openCallback({elm:u}){setTimeout(()=>{var p;(p=u.querySelector("input"))==null||p.select()})},onCancel:d,onKeyup(u){u.key==="Enter"&&c()},footer:()=>(0,iQt.jsx)(tQt,{confirmFn:c,onCancel:d}),folded:!0,children:(0,iQt.jsx)($Wt,{data:s,pinTabSetting:l})})}var rQt=L(Se());var m6=L(z());function knn(t){let e=J(),i="Character(wire allows capital letters, numbers, and /_~+-.)",[o,r]=(0,rQt.useState)({prefix:"",start:0,step:1,suffix:""}),[n,a]=(0,rQt.useState)({prefix:"",start:0,step:1,suffix:""}),s=p=>{let m=!0;return p.length>255?m=!1:C.messageBus.publish("sch/validateIsConformWireName",{value:p,cb(h){m=h}}),m},l=()=>{let p,m={...n,prefix:n.prefix.toUpperCase()};a(m),s(m.prefix)?r(p={...o,prefix:m.prefix}):a(p={...n,prefix:o.prefix}),t.onChange({...p})},c=()=>{let p={...o,start:n.start};r(p),t.onChange(p)},d=()=>{let p={...o,step:n.step};r(p),t.onChange(p)},u=()=>{let p={...n,suffix:n.suffix.toUpperCase()};a(p);let m;s(p.suffix)?r(m={...o,suffix:p.suffix}):a(m={...n,suffix:o.suffix}),t.onChange({...m})};return(0,m6.jsxs)("div",{style:{border:"1px solid var(--common-border-color)",padding:"16px",fontSize:"12px"},children:[(0,m6.jsxs)("div",{style:{display:"flex",alignItems:"center",marginBottom:"1rem"},children:[(0,m6.jsxs)("span",{"data-test":"Prefix",style:{width:"40px",paddingRight:"1rem",textAlign:"right"},children:[e({context:"rename-wire",value:"Prefix"}),":"]}),(0,m6.jsx)("input",{value:n.prefix,name:"rename-prefix",style:{flexGrow:1,height:"22px"},type:"text",placeholder:e(i),onInput:p=>{a({...n,prefix:p.target.value})},onKeyDown:p=>{p.key==="Enter"&&(p.stopPropagation(),l())},onBlur:l})]}),(0,m6.jsxs)("div",{style:{display:"flex",alignItems:"center",marginBottom:"1rem"},children:[(0,m6.jsxs)("span",{style:{width:"40px",paddingRight:"1rem",textAlign:"right"},"data-test":"Start",children:[e("Start"),":"]}),(0,m6.jsx)("input",{name:"rename-start-number",style:{width:"10px",height:"22px",flexGrow:1},type:"number",value:n.start,onInput:p=>{a({...n,start:+p.target.value})},onKeyDown:p=>{p.key==="Enter"&&(p.stopPropagation(),c())},onBlur:c}),(0,m6.jsxs)("span",{"data-test":"Step",style:{margin:"0 1rem"},children:[e({context:"rename-wire",value:"Step"}),":"]}),(0,m6.jsx)("input",{name:"rename-step",style:{width:"10px",height:"22px",flexGrow:1},type:"number",value:n.step,onInput:p=>{a({...n,step:+p.target.value})},onBlur:d,onKeyDown:p=>{p.key==="Enter"&&(p.stopPropagation(),d())}})]}),(0,m6.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,m6.jsxs)("span",{"data-test":"Suffix",style:{width:"40px",paddingRight:"1rem",textAlign:"right"},children:[e({context:"rename-wire",value:"Suffix"}),":"]}),(0,m6.jsx)("input",{name:"rename-suffix",style:{flexGrow:1,height:"22px"},type:"text",placeholder:e(i),value:n.suffix,onInput:p=>{a({...n,suffix:p.target.value})},onKeyDown:p=>{p.key==="Enter"&&(p.stopPropagation(),u())},onBlur:u})]})]})}function O9o(){let t="rename-wire-dialog",e=Object({prefix:"",suffix:"",start:0,step:1}),i=()=>{LT("batchRenameWire",{prefix:e.prefix,start:e.start,step:e.step,suffix:e.suffix}),le.close(t)};le.open({id:t,title:"Batch rename wire",width:500,closed:!0,esc:!0,folded:!0,children:(0,m6.jsx)(knn,{onChange:o=>{e=o}}),footer:!0,onKeyup(o){o.key==="Enter"?setTimeout(()=>{i()}):o.key==="Escape"&&setTimeout(()=>{le.close(t)})},onOk(){i()},onCancel(){le.close(t)},visibilityChange(o){o||le.close(t)}})}var j9o=L(Se());var nQt=L(_9o());var rS=L(z()),Pnn=be.bind(nQt.default.locals);function Onn({tabIdList:t,current:e,onChange:i}){let o=J();Ae(nQt.default);let[r,n]=(0,j9o.useState)("");return(0,rS.jsx)("div",{style:{padding:"16px"},children:(0,rS.jsx)("div",{style:{padding:"0 20px"},children:(0,rS.jsxs)("table",{className:Pnn("to-specific-page-table"),cellSpacing:0,cellPadding:"0",children:[(0,rS.jsxs)("tr",{children:[(0,rS.jsx)("td",{"data-test":"Jump to target page",children:o("Jump to target page:")}),(0,rS.jsx)("td",{children:(0,rS.jsx)("input",{type:"number",value:r,style:{width:"60px"},min:"1",onChange:a=>{let s=String(parseInt(a.target.value));n(s),i==null||i(+s)}})})]}),(0,rS.jsxs)("tr",{children:[(0,rS.jsx)("td",{"data-test":"Current page",children:o("Current page:")}),(0,rS.jsx)("td",{"data-name":"currentPage",children:e})]}),(0,rS.jsxs)("tr",{children:[(0,rS.jsx)("td",{"data-test":"Total pages",children:o("Total pages:")}),(0,rS.jsx)("td",{"data-name":"totalPage",children:t.length})]})]})})})}function B9o({tabIdList:t,current:e}){let i="toSpecifiedPageDialog",o=()=>{le.close(i)},r,n=()=>{if(Kr(r)||!Number.isFinite(r)||r>t.length||r<1){De({type:"warn",msg:"Input error"});return}let a=t[r-1];C.messageBus.rpcCall("openDocByUuid",[a]),le.close(i)};le.open({id:i,title:"GoTo Page...",width:300,closed:!0,mask:!1,esc:!0,folded:!0,children:(0,rS.jsx)(Onn,{tabIdList:t,current:e,onChange:a=>{r=parseInt(String(a))}}),footer:!0,resize:!1,onKeyup(a){a.key==="Enter"?setTimeout(()=>{n()}):a.key==="Escape"&&setTimeout(()=>{o()})},onOk(){n()},onCancel(){o()},visibilityChange(a){a||o()}})}var U9o=L(F9o());function hct(t,e){let i=t;if(e=="SIGNAL"||e=="PLANE"){let o=t.match(/^Inner(\d+)$/);o&&(i=Rr({value:"Inner{number}",options:{number:o[1]}}))}else if(e=="CUSTOM"){let o=t.match(/^Custom(\d+)$/);o&&(i=Rr({value:"Custom{number}",options:{number:o[1]}}))}return i}function fct(t){rEi(t)||Pp(t,(e,i)=>{let{layerType:o,layerName:r}=e,n=o=="CUSTOM"?"custom":"inner",a=`Since an ${n} layer named {oldName} already exists, the new ${n} layer will be named {newName}`,s={oldName:hct(i,o),newName:hct(r,o)};t2({type:"info",msg:Ti(a,{params:s}),openTab:!0})})}var JE=L(z());async function V9o(t){return new Promise(async e=>{let i=be.bind(U9o.default.locals),o=a7e()=="zh-cn",r="",{mergedDisabledLayerTable:n,skipLayerEnable:a}=t,s={action:"close"},l=()=>{let d="The added object contains layers that are not currently enabled on the PCB. Do you want to enable the corresponding layers immediately?",u=[];Pp(n,m=>{let{layerType:h,layerName:f}=m;u.push(hct(f,h))});let p=u.join(o?"\u3001":", ");return(0,JE.jsxs)("div",{children:[(0,JE.jsxs)("div",{children:[(0,JE.jsx)("span",{className:i("messager-icon messager-warning")}),(0,JE.jsx)("p",{children:Rr(d)})]}),(0,JE.jsx)("div",{children:p})]})},c=()=>{let d=async p=>{if(p=="confirm"&&!a&&await ei()){let h=await Pt("pcb/editor/enablePcbLayers",n);h&&(s.layerIdReplacementTableByName=h.layerIdReplacementTableByName,fct(h.repeatedNameLayers))}s.action=p,e(s),le.destroy(r)},u=[{command:"confirm",type:"primary",style:{marginRight:"8px"},text:"Confirm"},{command:"cancel",type:"default",text:"Cancel"}];return(0,JE.jsx)(JE.Fragment,{children:u.map((p,m)=>(0,JE.jsx)(Me,{type:p.type,size:"md",onClick:()=>d(p.command),children:Rr(p.text)},`bottom-btn-${m}`))})};r=Dt({title:"Warning",icon:"warning",content:(0,JE.jsx)(l,{}),footer:(0,JE.jsx)(c,{}),closed:!0,onClose:()=>{e(s)},onKeyup:d=>{d.key==="Escape"&&(le.destroy(r),e(s))}})})}var H9o=L(Vi());var Rnn={0:"blank_tab"},_nn={1:"editor",3:"no_select_editor"},tEe=class tEe{static performCmd(e){if(!Rnn[e.range]||!_nn[e.scene])return!1;let i=e.function;return tEe.hooks[i]?tEe.hooks[i].call(null,{cmd:i,args:e.args,keyStr:e.keyStr,keyCode:e.keyCode}):console.warn("blank_tab_hotkey ",i+" does not exist!"),C.messageBus.publish("sensorsEventsReport",{eventName:"hotkey",eventData:{hotkey:e.keyStr,function:e.funcE}}),!0}};tEe.hooks={printPDF:function(e={}){et(e.cmd)},"openMenu(#mm-common-file)":function(e={}){i3(e)},"openMenu(#mm-common-sim)":function(e={}){i3(e)},"openMenu(#mm-common-simWaveform)":function(e={}){i3(e)},"opensubmenu-new":function(e={}){i3(e)},"opensubmenu-import":function(e={}){i3(e)},"opensubmenu-saveas":function(e={}){i3(e)},"opensubmenu-export":function(e={}){i3(e)},"opensubmenu-recent":function(e={}){i3(e)},"opensubmenu-system":function(e={}){i3(e)},"opensubmenu-schematic_symbol":function(e={}){i3(e)},"opensubmenu-pcb_footprint":function(e={}){i3(e)},"opensubmenu-panel":function(e={}){i3(e)},"opensubmenu-tabmenu":function(e={}){i3(e)},new_board:function(e={}){et(e.cmd)},new_schematic:function(e={}){et(e.cmd)},new_PCB:function(e={}){et(e.cmd)},new_Panel:function(e={}){et(e.cmd)},new_Simulation:function(e={}){et(e.cmd)},new_device:function(e={}){e.cmd="new_device",e.args={docType:se.PART},et(e.cmd,e.args)},new_NetFlag:function(e={}){e.cmd="new_device",e.args={docType:se.NETFLAG},et(e.cmd,e.args)},new_NetPort:function(e={}){e.cmd="new_device",e.args={docType:se.NETPORT},et(e.cmd,e.args)},new_OffPageConnector:function(e={}){e.cmd="new_device",e.args={docType:se.OFF_PAGE_CONNECTOR},et(e.cmd,e.args)},new_Drawing:function(e={}){e.cmd="new_device",e.args={docType:se.SHEET_SYMBOL},et(e.cmd,e.args)},"new_Non-Electronic":function(e={}){e.cmd="new_device",e.args={docType:se.NONEELEC_SYMBOL},et(e.cmd,e.args)},new_schematicLib:function(e={}){et(e.cmd)},new_footprint:function(e={}){et(e.cmd)},new_3D_model:function(e={}){et(e.cmd)},new_CBB:function(e={}){et(e.cmd)},switchVersion:function(e={}){et(e.cmd)},backup_project:function(e={}){et(e.cmd)},historicalRecords:function(e={}){et(e.cmd)},new_branch:function(e={}){et(e.cmd)},new_node:function(e={}){et(e.cmd)},version_management:function(e={}){et(e.cmd)},"show_help_file(part_store)":function(e={}){et(e.cmd)},"show_help_file(pcb_manu_facturing)":function(e={}){et(e.cmd)},"show_help_file(3d_cnc)":function(e={}){et(e.cmd)},standard_edition_migration:function(e={}){et(e.cmd)},projectSaveAsCloud:function(e={}){et(e.cmd)},projectSaveAsLocal:function(e={}){et(e.cmd)},backup:function(e={}){et(e.cmd)},recovery:function(e={}){et(e.cmd)},cacheRecovery:function(e={}){et(e.cmd)},"importFile(easyeda)":function(e={}){et(e.cmd)},file_open:function(e={}){et(e.cmd)},"importFile(altium)":function(e={}){et(e.cmd)},"importFile(eagle)":function(e={}){et(e.cmd)},"importFile(kicad)":function(e={}){et(e.cmd)},"importFile(pads)":function(e={}){et(e.cmd)},"importFile(protel)":function(e={}){et(e.cmd)},"importFile(ltspice)":function(e={}){et(e.cmd)},exportBOM:function(e={}){et(e.cmd)},"export(filePdf)":function(e={}){et(e.cmd)},exportNetlist:function(e={}){et(e.cmd)},"export(altium)":function(e={}){et(e.cmd)},"export(pads)":function(e={}){et(e.cmd)},exportDSN:function(e={}){et(e.cmd)},closeProject:function(e={}){et(e.cmd)},clearRecentList:function(e={}){et(e.cmd)},recycleBin:function(e={}){et(e.cmd)},"source(easyEDA)":function(e={}){et(e.cmd)},"toolbar_toggle(topbar)":function(e={}){et(e.cmd)},"commonButtonsSetting(SYSTEM)":function(e={}){et(e.cmd)},"commonButtonsSetting(CATEGORY)":function(e={}){et(e.cmd)},"commonButtonsSetting(BASE_LIBRARY)":function(e={}){et(e.cmd)},"commonButtonsSetting(CANVAS)":function(e={}){et(e.cmd)},"commonButtonsSetting(OBJECT)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_FOOTPRINT)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_THEME)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_COMM_GRID_SIZE)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_COMM_TRACK_WIDTH)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_COMM_VIA_SIZE)":function(e={}){et(e.cmd)},"commonButtonsSetting(ADSORPTION)":function(e={}){et(e.cmd)},"commonButtonsSetting(PANEL_CANVAS)":function(e={}){et(e.cmd)},"commonButtonsSetting(PANEL_THEME)":function(e={}){et(e.cmd)},"commonButtonsSetting(COMM_TYPEFACE)":function(e={}){et(e.cmd)},"commonButtonsSetting(DESIGN)":function(e={}){et(e.cmd)},"commonButtonsSetting(PROPERTY)":function(e={}){et(e.cmd)},"commonButtonsSetting(HOTKEY)":function(e={}){et(e.cmd)},"commonButtonsSetting(CUSTOM_TOOLBAR)":function(e={}){et(e.cmd)},"commonButtonsSetting(SAVE)":function(e={}){et(e.cmd)},"show_help_file(community)":function(e={}){et(e.cmd)},"show_help_file(contact)":function(e={}){et(e.cmd)},show_about:function(e={}){et(e.cmd)},"openMenu(#mm-common-tools)":function(e={}){i3(e)},"openMenu(#mm-common-view)":function(e={}){i3(e)},"openMenu(#mm-common-advanced)":function(e={}){i3(e)},"openMenu(#mm-common-order)":function(e={}){i3(e)},"openMenu(#mm-common-settings)":function(e={}){i3(e)},"openMenu(#mm-common-help)":function(e={}){i3(e)},openProject:function(e={}){et(e.cmd)},newProject:function(e={}){et("new_project")},full_screen:function(e={}){et("fullScreen",{keyCode:e.keyCode})},close_tab:function(){et("close_tab")},close_all_tabs:function(){et("close_all_tabs")},save_all:function(e={}){et("save_all")},"toolbar_toggle(leftbar)":function(e={}){et("toolbar_toggle(leftbar)")},"toolbar_toggle(rightbar)":function(e={}){et("toolbar_toggle(rightbar)")},operateBottomPanel:function(e={}){(0,H9o.default)("#layout_toggler_bottom").data("allow-open",!0),et("toolbar_toggle(bottombar)")},findObjects:function(e={}){et("findObjects")},findSimilar:function(e={}){et("findSimilar")},tutorials:function(){et("tutorials")},openPcbComparisonDlg:function(){et("openPcbComparisonDlg")},compareSchematic:function(){et("compareSchematic")},stop_video_capture:function(){et("stop_video_capture")},show_videocapture:function(){et("show_videocapture")},switchNextDoc:function(){},switchPreDoc:function(){}};var iEe=tEe;async function i3(t){let e=(await C.messageBus.rpcCall("/ui/getMouseRecorder")).message;e.notFrame=!0,et(t.cmd,e)}var gct=L(Vi());var Ute=class Ute{static performCmd(e){let i=dt(),o=jnn(i);if(e.range&&!e.range.includes(o))return!1;let r=e.function;return Ute.hooks[r]?Ute.hooks[r].call(null,{cmd:r,args:e.args,keyStr:e.keyStr,keyCode:e.keyCode}):console.warn("ui_hotkey ",r+" does not exist!"),C.messageBus.publish("sensorsEventsReport",{eventName:"hotkey",eventData:{hotkey:e.keyStr,function:e.funcE}}),!0}static leftTreeMenuCmd(e){let i={id:void 0,hidden:void 0};C.messageBus.publish("leftTreeMenuClick",[e,0,i])}};Ute.hooks={recycleBin:function(e={}){et("recycleBin")},switchNextDoc:function(e={}){et("switchNextDoc")},switchPreDoc:function(e={}){et("switchPreDoc")},switchNextDocByNatural:function(e={}){et("switchNextDocByNatural")},switchPreDocByNatural:function(e={}){et("switchPreDocByNatural")},setOriginByCoordinate:function(e={}){et("setOriginByCoordinate")},"draw(origin)":function(e={}){et("draw(origin)")},setOriginByCenter:function(e={}){et("setOriginByCenter")},"toolbar_toggle(leftbar)":function(e={}){et("toolbar_toggle(leftbar)")},"toolbar_toggle(rightbar)":function(e={}){et("toolbar_toggle(rightbar)")},operateBottomPanel:function(e={}){et("toolbar_toggle(bottombar)")},editTag:function(e={}){et("editTag")},"commonButtonsSetting(SYSTEM)":function(e={}){et(e.cmd)},"commonButtonsSetting(CATEGORY)":function(e={}){et(e.cmd)},"commonButtonsSetting(BASE_LIBRARY)":function(e={}){et(e.cmd)},"commonButtonsSetting(CANVAS)":function(e={}){et(e.cmd)},"commonButtonsSetting(OBJECT)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_FOOTPRINT)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_THEME)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_COMM_GRID_SIZE)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_COMM_TRACK_WIDTH)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_COMM_VIA_SIZE)":function(e={}){et(e.cmd)},"commonButtonsSetting(ADSORPTION)":function(e={}){et(e.cmd)},"commonButtonsSetting(PANEL_CANVAS)":function(e={}){et(e.cmd)},"commonButtonsSetting(PANEL_THEME)":function(e={}){et(e.cmd)},"commonButtonsSetting(COMM_TYPEFACE)":function(e={}){et(e.cmd)},"commonButtonsSetting(DESIGN)":function(e={}){et(e.cmd)},"commonButtonsSetting(PROPERTY)":function(e={}){et(e.cmd)},"commonButtonsSetting(HOTKEY)":function(e={}){et(e.cmd)},"commonButtonsSetting(CUSTOM_TOOLBAR)":function(e={}){et(e.cmd)},"commonButtonsSetting(SAVE)":function(e={}){et(e.cmd)},open_create_panel_lib_dialog:function(e={}){et(e.cmd,{})},"show_help_file(feedback)":function(e={}){et(e.cmd,{})},open_in_new_window:function(e={}){let i=he.getActiveTab();he.getDoctypeByTabId(i)===ve.BLANKTAB&&(i=C.currentProject.projectId),et(e.cmd,{tabid:i})},refresh:function(e={}){(0,gct.default)("#treeMyProject-content").is(":visible")&&Ute.leftTreeMenuCmd(e.cmd)},clone:function(e={}){(0,gct.default)("#treeMyProject-content").is(":visible")&&Ute.leftTreeMenuCmd(e.cmd)},modifyFile:function(e={}){(0,gct.default)("#treeMyProject-content").is(":visible")&&Ute.leftTreeMenuCmd(e.cmd)},AUTO_PIN_PLACEMENT:function(){et("autoPinPlacement")},stop_video_capture:function(){et("stop_video_capture")},show_videocapture:function(){et("show_videocapture")},showExtensionsManager:function(){et("showExtensionsManager")},runScript:function(){et("runScript")},scriptManager:function(){et("scriptManager")}};var Xye=Ute;function jnn(t){if(pr(t))return 3;switch(t){case ve.PANEL:return 6;case ve.SCH:return 2;case ve.PANEL_LIB:return 10;case ve.PCB:return 4;case ve.FOOTPRINT:return 5;case ve.BLANKTAB:return 0;case ve.VIEW3D:return 7;case ve.PHOTOVIEW:return 8;case ve.PANEL3D:return 9;case ve.ASSEMBLY_VARIANT:return 11;default:return 1}}var Bnn={panelConfig(t){if(!t)return"";let e=t.systemConfig,i=[],o=t.operation,r=t.doctype,n=t.selected,a=mt.getCacheObj("filterConfig");r==se.PCB?i=(a==null?void 0:a.pcb)||{}:r==se.FOOTPRINT?i=(a==null?void 0:a.footprint)||{}:r==se.SCH&&(i=(a==null?void 0:a.sch)||{});let s=!1,l=t.defaultValue,c={};return e[l]?(c[l]=e[l],delete e[l]):i[l]&&(s=!0,c[l]=i[l],delete i[l]),`
			<div 
				class="filterConfig"
				style="display: flex; justify-content: space-around; position: sticky;position: -webkit-sticky;top: 0;z-index: 10; background-color: white;"
			>
				<select 
					name="config" 
					style="margin: 8px 0px 3px 0px; height: 24px; width: 60%;"
				>
					${p(c,s)+p(e)+p(i,!0)+p(o)}
				</select>
				<a 
					name="reset" 
					class="i18n" 
					i18n="Reset" 
					style="height: 16px; line-height: 16px; width: 8%; min-width: 30px; text-align: center; color: #1890ff; border: 1px solid #d9d9d9; padding:3px 18px; margin: 8px 0px 3px 0px; cursor: pointer;"
				>
					${me.i18n("Reset")}
				</a>
			</div>
		`;function p(m,h=!1){let f=[],g,b,y,w=Object.entries(m);for(let x=0;x<w.length;x++){if(g=w[x][0],b=w[x][0],y=w[x][1],b=="undefined")continue;b==="ALL"&&(b=uTe);let S="";h?S=`<option 
						${n==g?'selected="selected"':""} 
						class="${x==w.length-1?"bottom-line":""} i18n"
						${t.defaultValue==g?'i18n-params-value = "(Default)"':'i18n-params-value = ""'} 
						data-i18n-context="${pV}"
						value="${g}" 
						${y.disabled?"disabled":""}
						>${(n==g&&t.unSaved?"* ":"")+b+"{value}"}
						</option>`:S=`<option 
						${n==g?'selected="selected"':""} 
						class="${x==w.length-1?"bottom-line":""} i18n" 
						value="${g}" 
						i18n-params-key = "${b}"
						data-i18n-context="${pV}"
						${y.disabled?"disabled":""}
						>${(n==g&&t.unSaved?"* ":"")+"{key}"+(t.defaultValue==g?"(Default)":"")}
						</option>`,f.push(S)}return f.join(`
`)}},panelHeader(t=[],e="All"){let i=!0,o=!0,r=t.filter((s,l)=>s.isForAllWithCheck),n=t.filter((s,l)=>s.isForAllWithVisible);r.length?i=!(typeof r.find(s=>s.isChecked==!1)<"u"):i=!1,n.length?o=!(typeof n.find(s=>s.isVisible==!1)<"u"):o=!1;let a=`
            <div 
				class="display-flex flex-nowrap"
				style="margin: 8px 0 3px 0; padding: 4px 10px; border-bottom: 1px solid var(--border-color-panel-divider);" 
				group="${e}"
			>
                <input 
                    class="pcb-pick-all"
                    data-controlitem="toggle-pick-all-elements" 
                    type="checkbox" 
                    style="cursor: pointer;" 
                    ${i?'checked="checked"':""} 
                />
                <span></span>
                <div 
                    data-controlitem="toggle-dis-all-elements"
                    class="display-block ${o?"filter-primitive-visible":"filter-primitive-hidden"}">
                </div>
                <span data-controlitem="to-toggle-pick" class="i18n" style="cursor: pointer;">All</span>
            </div>
        `;return{isAllChecked:i,isAllVisible:o,htmlString:a}},panelContent(t="",e=[],i="",o){let r="";e.length>0&&e[0].title=="All"&&(e=e.slice(1,e.length));let n=t!="Other"&&t!="Status",a=this.panelHeader(e,t),s=a.htmlString,l=a.isAllChecked,c=a.isAllVisible;return r+='<div data-tagitem="element-items-wrapper">',e.forEach((d,u)=>{r+=`
                <div 
					data-tagvalue="${d.value}" 
					class="display-flex flex-nowrap" 
					style="margin: 3px 0; padding: 4px 10px; box-sizing: border-box;"
				>
                    <input 
                        data-controlitem="toggle-pick-elements"
                        type="checkbox" 
                        ${d.isChecked===void 0?"disabled":d.isChecked?'checked="checked"':""}
                    />
                    <span></span>
                    <div 
                        data-controlitem="toggle-dis-elements"
                        class="display-block ${d.isVisible===void 0?"":d.isVisible?"filter-primitive-visible":"filter-primitive-hidden"}">
                    </div>
                    <span 
						data-controlitem="to-toggle-pick" 
						class="i18n" 
						style="cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;"
						i18n="${d.title}"
						data-i18n-attr="title"
						title="${d.title}"
					>${me.i18n(d.title)}
					</span>
                </div>
            `}),r+="</div>",{isAllChecked:l,isAllVisible:c,htmlString:`
				<div 
					data-accordion-wrapper="${t}" 
					class="element-main-attrs-content"
				>
					<div 
						data-accordion="${t}" 
						style="display: block;"
					>
						<header class="f-weight title i18n ${o?"collapsed":""}">${t}</header>
						<section data-accordion-content="${t}" ${o?'style="display:none"':""}>
							${n?s:""}
							${r}
						</section>
					</div>
				</div>
				`}},panelAllControlInput(t={}){return`
			<div class="display-flex flex-nowrap" style="margin: 4px 0 3px 0; padding: 4px 10px; border-bottom: 1px solid var(--border-color-panel-divider);">
				<input 
					class="pcb-pick-all" 
					data-controlitem="toggle-pick-all-group" 
					type="checkbox" 
					style="cursor: pointer;" 
					${t.isAllGroupChecked?'checked="checked"':""} 
				/>
				<span></span>
				<div 
					data-controlitem="toggle-dis-all-group" 
					class="display-block ${t.isAllGroupVisible?"filter-primitive-visible":"filter-primitive-hidden"} ">
				</div>
				<span  
					data-controlitem="to-toggle-pick"
					class="i18n" style="cursor: pointer;" 
					i18n="All">${me.i18n("All")}
				</span>
			</div>
		`}},G9o=Bnn;var Y9o=L(Vi());var $ye=class{constructor(){this.split="."}async compare(e){let o=(await C.messageBus.rpcCall($e.PROJECT.GET,[e])).message.editorVersion,r=(0,Y9o.default)('meta[name="editorMainVersion"]').attr("content")||"";!r||o===r||(o&&r&&this.greaterThanAB(o,r)?Ut({type:"warn",closable:!0,message:"You are trying to open a later version document, it may fail to open or an exception may be displayed. It is recommended to use the latest editor version to open it. ",showCancel:!0,title:"Warning"}):await C.messageBus.rpcCall(Ei.PROJECT.UPDATE,{uuid:e,editorVersion:r}))}greaterThanAB(e,i){let o=e.split(this.split),r=i.split(this.split),n=Math.min(o.length,r.length,2);for(let a=0;a<n;a++){let s=Number(o[a]),l=Number(r[a]);if(isNaN(s)||isNaN(l))return!1;if(s>l)return!0;if(s<l)return!1}return!1}};async function W9o(t){let e=(await C.messageBus.rpcCall("getSchToolBarDevice",t)).message,i=(await C.messageBus.rpcCall("getSchToolBarSymbol",t)).message;return await Ze.createDevice({isProject:!0,path:C.currentProject.projectId,device:e,symbol:i})}var aQt=L(Vi());var znn={rect:"Rectangle",ellipse:"Ellipse",obj:"Image",text:"Text",group:"Shape",arc:"Arc"},sQt=class{constructor(){this.id="panel-select-overlap"}getWrap(){return document.getElementById(this.id)}getHtml(e){let i=[];for(let o of e){let{cmd:r,position:{x:n,y:a},layerName:s,eid:l}=o;r=me.i18n(znn[r]),s=me.i18n(s),i.push(`
                <li class='select-item' data-eid="${l}">
                        <span style="width: 100px">${r}</span>
                        <span style="width: 200px;font-family: monospace;">(${n}, ${a})</span>
                        <span style="width: 100px">${s}</span>
                </li>
            `)}return i.join("")}},lQt=new sQt;function Q9o(t,e=[]){let i="panel-select-overlap",o=document.getElementById(i),{x:r,y:n}=t;m3(o),e.length!==0&&setTimeout(()=>{let a=document.createElement("ul");a.id=i,a.tabIndex=0,a.classList.add(i),document.body.appendChild(a),o=document.getElementById(i),o.innerHTML=lQt.getHtml(e);let s=(0,aQt.default)("iframe.editframe").filter(function(){let d=(0,aQt.default)(this).parent();return d.is(":visible")&&d.get(0).style.visibility==="visible"}).eq(0),{left:l,top:c}=s.offset()||{left:0,top:0};o.style.position="fixed",o.style.left=l+r+"px",o.style.top=c+n+"px",o.style.zIndex="10",r+o.clientWidth>s.width()&&(o.style.left=l+r-o.clientWidth+"px"),n+o.clientHeight>s.height()&&(o.style.top=c+n-o.clientHeight+"px"),o.focus(),o.addEventListener("mouseover",bct),o.addEventListener("mouseout",bct),o.addEventListener("click",bct),o.addEventListener("blur",bct)},0)}function bct(t){let{type:e}=t;switch(e){case"click":m3(lQt.getWrap());break;case"blur":Promise.resolve().then(r=>{m3(lQt.getWrap())});break;case"mouseout":break}let o=t.target.dataset.eid;o&&Ca("panel/show-element-control",[o,e])}var t4e=L(Se());var Nh=L(z()),yct={display:"flex",margin:"0 0 16px 0"},e4e;function Fnn(t){let e=J(),i={width:"100px"},o={flex:1},[r,n]=(0,t4e.useState)(t.name),[a,s]=(0,t4e.useState)(t.type),[l,c]=(0,t4e.useState)(t.size+"mm"),d=t.hide||[];t.overed&&(a="Annotation");function u(m){m.target.select()}(0,t4e.useEffect)(()=>{let m=C.messageBus.subscribe(`keyboard_${wct}`,f=>{let{key:g}=f;switch(g){case"Enter":e4e();break;case"Escape":e4e(!0);break;default:break}}),h=C.messageBus.subscribe(`close_${wct}`,()=>{e4e(!0)});return()=>{m.cancel(),h.cancel()}},[]),e4e=(m=!1)=>{let h={name:r,size:l,type:a,cancel:m,id:t.id,created:t.created};l=l.replace("mm","");try{let f=Kue(l);h.size=f+""}catch{h.size=t.size}Ca("panel/place-dimension",[h]),le.close(wct,(f,g)=>{g==null||g.remove()})},a==="Annotation"&&(l=t.size+"mm");function p(){let m=t.object.start.name||"";if(m&&(m=e(":")+m),t.object.start.gId===t.object.end.gId)return e(t.object.primitiveTypeStart)+"_"+t.object.start.id.substring(1)+m;let h=t.object.end.name||"";return h&&(h=e(":")+h),e(t.object.primitiveTypeStart)+"_"+t.object.start.id.substring(1)+m+`\r
`+e(t.object.primitiveTypeEnd)+"_"+t.object.end.id.substring(1)+h}return(0,Nh.jsxs)("div",{children:[(0,Nh.jsxs)("div",{style:{border:"1px solid var(--common-border-color)",padding:"16px 16px 0 16px",margin:"0 0 16px 0"},children:[!d.includes("name")&&(0,Nh.jsxs)("div",{style:yct,children:[(0,Nh.jsxs)("div",{style:i,children:[e("Name"),":"]}),(0,Nh.jsx)("div",{style:o,children:(0,Nh.jsx)(Kt,{value:r,onChange:m=>n(m),style:{height:"24px"}})})]}),!d.includes("obj")&&(0,Nh.jsxs)("div",{style:yct,children:[(0,Nh.jsxs)("div",{style:i,children:[e("Object"),":"]}),(0,Nh.jsx)("div",{style:o,children:(0,Nh.jsx)("textarea",{readOnly:!0,disabled:!0,value:p(),name:"",id:"",style:{width:"100%",height:"50px"}})})]}),!d.includes("category")&&(0,Nh.jsxs)("div",{style:yct,children:[(0,Nh.jsx)("div",{style:i,children:e("Type:")}),(0,Nh.jsx)("div",{style:o,children:(0,Nh.jsx)($i,{value:a,onChange:m=>s(m),options:[{label:"Constraint",value:"Constraint",disabled:t.overed},{label:"Annotation",value:"Annotation"}],translate:m=>e({context:"dimensionType",value:m})})})]}),(0,Nh.jsxs)("div",{style:{...yct,alignItems:"center"},children:[(0,Nh.jsxs)("div",{style:i,children:[e("Length"),":"]}),(0,Nh.jsx)("div",{style:{...o,display:"flex",alignItems:"center"},children:(0,Nh.jsx)("div",{style:{flex:1},children:(0,Nh.jsx)(Kt,{disabled:a==="Annotation",type:"text",autoFocus:!0,selected:!0,value:l,onClick:u,onChange:m=>c(m),onFocus:m=>{m.target.value=l.replace("mm",""),m.target.select(),c(m.target.value)},onBlur:m=>{let h=m.target.value.replace(/mm$/,"");if(Number.isNaN(+h)){let f=sO("",h);c(f?+f+"mm":t.size+"mm");return}c(+h+"mm")},style:{height:"24px"}})})})]})]}),(0,Nh.jsxs)("div",{style:{display:"flex",gap:5,justifyContent:"flex-end"},children:[(0,Nh.jsx)(Me,{type:"primary",size:"md",onClick:()=>e4e(),children:t.created?"Place":"OK"}),(0,Nh.jsx)(Me,{type:"default",size:"md",onClick:()=>e4e(!0),children:"Cancel"})]})]})}var wct="panel-smart-dimension-dialog";function cQt(t){le.open({id:wct,title:"Smart Dimension",width:400,height:"auto",closed:!0,children:(0,Nh.jsx)(Fnn,{...t}),esc:!1,folded:!0})}function dQt(t){Ut({type:"warn",message:"There are locked objects, do you want to unlock them?",showCancel:!0,onConfirm(){kr("unlock",[t.ids||null])}})}var K9o=L(Se());var Jk=L(z()),Unn=({content:t,params:e,inputWriting:i,confirmText:o,cancelText:r,onConfirm:n,onCancel:a})=>{t=me.i18n(t,e),Dt({content:t,footer:(0,Jk.jsx)(()=>{let[l,c]=(0,K9o.useState)(!1),d=J(),u=p=>{let m=ue.deepClone(sc());m.PANEL_CANVAS.designCheckWarn.value=p,Ks({commSystemSetting:m},!0)};return(0,Jk.jsxs)(Jk.Fragment,{children:[(0,Jk.jsxs)("label",{style:{position:"absolute",left:0,bottom:0},children:[(0,Jk.jsx)("input",{type:"checkbox",checked:l,onChange:p=>{c(p.target.checked)}}),(0,Jk.jsx)("span",{children:d(i)})]}),(0,Jk.jsxs)("div",{children:[(0,Jk.jsx)(Me,{type:"primary",size:"md",style:{marginRight:"8px"},onClick:async()=>{await le.destroy("lc-tips-modal-id").then(p=>{n&&n()}),l&&u(!l)},children:o}),(0,Jk.jsx)(Me,{size:"md",onClick:async()=>{await le.destroy("lc-tips-modal-id").then(p=>{a&&a()}),l&&u(!l)},children:r})]})]})},{})})},Z9o=Unn;var J9o={"-docNeedUpdate"(t){return he.docNeedUpdate(t)},"panel/show-select-element":Q9o,toggleLinkbuttonActive:gko,"-getProfileSetting":d0,getDefaultTheme:({getter:t})=>t(P_e()),"-getUserSchTheme":t=>zb(t),updateCursorIcon:mD,"-anotherAddLibToProject":async t=>await W9o(t),"panel/active-layer":vki,"panel/open-smart-dimension-dialog":cQt,"panel/updateTreeActiveElements":bO,openPanelDialog:dQt,"panel/design-rule-warn":Z9o,"-getActiveLayerSetting":Mki};var i4e=L(z());function Vnn({store:t}){Ce(t);let{compositionInfo:e,separator:i,nameOptions:o}=t.data,r={composedName:e,selectList:o,isAdvanceMode:t.isAdvanceMode,onChange:n=>{let a={...t.data};a.compositionInfo={...n},t.data=a},onBlur:()=>{t.isAdvanceMode?t.setPrefixShouldFocusAdvanced(!1):t.setPrefixShouldFocusCommon(!1)},separator:i,netNameInCommonMode:t.netNameInCommonMode,onSwitch:n=>{t.isAdvanceMode=n,t.isAdvanceMode?t.setPrefixShouldFocusAdvanced(!0):t.setPrefixShouldFocusCommon(!0)},focus:t.isAdvanceMode?t.prefixShouldFocus.advanced:t.prefixShouldFocus.common};return(0,i4e.jsx)(i4e.Fragment,{children:(0,i4e.jsx)(Let,{...r})})}var Cct=class extends qe{constructor(i){super();this.options=i;this.prefixShouldFocus={common:!0,advanced:!0};this._isAdvanceMode=!1}setPrefixShouldFocusCommon(i){this.prefixShouldFocus.common=i}setPrefixShouldFocusAdvanced(i){this.prefixShouldFocus.advanced=i}get isAdvanceMode(){return this._isAdvanceMode}set isAdvanceMode(i){this._isAdvanceMode=i,this.notify()}get netNameInCommonMode(){let{prefix:i,suffix:o,willPlaceDigit:r}=this.data.compositionInfo;return[i,r,o].join("")}get data(){return this._data}set data(i){this._data=i,this.notify()}async confirm(){var r;let{success:i,msg:o}=await Cr("validateNetComposedName",{type:this.options.cmdKey,nameInfo:this.data.compositionInfo});if(!i)return De({type:"error",msg:o,timer:2.5});LT("updateWillPlaceNetNameInfo",{cmdKey:this.options.cmdKey,data:this.data.compositionInfo}),await((r=this.options.onConfirm)==null?void 0:r.call(this)),this.close()}close(){le.close(this.options.config.id)}};async function q9o(t,e=ks){let{composedNameInfo:i,nameOptions:o=await Cr("getAllNetNamesInBoard"),separator:r=async a=>await Cr("separateNetLabelName",{netlabelName:a,type:"wire"})}=e,n={nameOptions:o,separator:r,compositionInfo:i};return t.data=n,t.prefixShouldFocus.common=!0,t.prefixShouldFocus.advanced=!0,new Promise(a=>{let s=()=>{t.close(),a(!1)},l=ue.debounce(()=>t.confirm().then(()=>a(!0)),100);le.open({...t.options.config,children:(0,i4e.jsx)(Vnn,{store:t}),footer:!0,onKeyup(c){c.key==="Enter"?setTimeout(()=>{l()}):c.key==="Escape"&&setTimeout(()=>{s()})},onOk(){l()},onCancel(){s()},visibilityChange(c){c||s()}})})}var Hnn=new Cct({config:{title:"Net Port",id:"netport-tab-dlg",width:600,closed:!0,esc:!0,folded:!0,resize:!0},cmdKey:"netport"});async function X9o(t){return q9o(Hnn,t)}var Gnn=new Cct({config:{title:"Off Page Connector",id:"offPageConnector-tab-dlg",width:600,closed:!0,esc:!0,folded:!0,resize:!0},cmdKey:"offPageConnector"});async function $9o(t){return q9o(Gnn,t)}var Tct=L(Se());var oPo=L(tPo());async function iPo(t,e,i,o,r,n,a){let s=r.split("@"),l=s[s.length-1],c=i,d={},u=C.currentProject?o===C.currentProject.projectId:!1,p=null;t&&(p=await As.fetchD3ModelItemHandle(t));let m=null;if(i){let b={componentTitleOrId:i,path:"",isLocaleFilenameMode:!1};i.indexOf("@")>0&&(b=eT(i));let y=u?C.currentProject.projectId:o||bo.getInstance().usedId;m=await Ze.getFootprint({isProject:u,path:y,uuid:b.componentTitleOrId})}let h=Mt(c||String(Math.random())),f=[h],g=[{$id:h,deviceId:c,checked:!0,attributes:d,designator:"-",information:$f.NORMAL.msg(),canvasOrigin:{x:0,y:0,z:0},path:l,symbolItem:null,symbolItemTitle:"",symbolItemIdInit:"",footprintItem:m,footprintItemTitle:(m||{}).display_title||"",footprintItemIdInit:m?m.uuid:"",d3modelItem:p,d3modelItemTitle:(p||{}).display_title||n||"",d3modelItemTransform:e,d3modelItemIdInit:p?p.uuid:"",simmodelItem:null,simmodelItemTitle:"",simmodelItemIdInit:"",deviceItemTitle:"",isError:!1,errorType:$f.NORMAL.type,bgColor:Pc().bgColor}];return await aB({callScenType:"SYMBOL_EDIT",path:"",searchInputValue:"",deviceList:g,deviceListSelectedIds:f,wantSelectedLibItemId:"",isFromProject:u,onDialogOpen(){},onDialogCancel(){},onDialogClose(){},onDialogClosed(){},onDialogConfirm(b){a(b)}})}var qE=L(z()),{locals:Ynn}=oPo.default,{property_panel:Wnn}=Ynn,uQt=class extends qe{constructor(){super(...arguments);this.data=null}update(i){i!==void 0&&(this.data=i),this.notify()}},Vte="footprint_property_panel",o4e=new uQt,Qnn=(0,Tct.createContext)({}),hS0=se.FOOTPRINT,rPo=t=>{Ce(o4e);let e=t||o4e.data;o4e.data=e;let i=J(),o=(0,Tct.useRef)(null),r=he.getActiveTab(),n=ue.splitComponentId2FolderAndFilenameMixin(he.getActiveTab()),a=n.componentTitleOrId,s=n.path;if(!e)return(0,qE.jsx)(qE.Fragment,{});let l=0;function c(b){b.data&&(b=b.data);let{body:y,head:w}=b;y.FOOTPRINT&&(y=y.FOOTPRINT);let{category:x,describe:S}=y,{doctype:T,from:M}=w,{value:I}=y["attr-array"],A=I.filter(B=>B.key==="Footprint")[0],D=I.filter(B=>B.key!=="Footprint"),E=[],[N,R]=wr(M),v=(0,qE.jsx)(ao,{propertyPanelId:Vte,propertyKey:"Footprint",propertyTitle:"Footprint",value:A.value,keyCheckBox:!0,keyChecked:A.showKey,valueCheckBox:!0,valueChecked:A.showValue,index:0,onChange:p},0),k=(0,qE.jsx)(ao,{propertyPanelId:Vte,propertyKey:"Category",propertyTitle:"Category",value:fP(x.value),keyCheckBox:!1,valueCheckBox:!1,valueType:"openDialog",onChange:p,openDialog:async()=>{let[B,V]=wr(),G=V===C.currentProject.projectId,Q=await C1({docType:se.FOOTPRINT,userId:V,path:V,isProjectLib:G});if(Q.confirm){let H=Q.tag,{id:q,name:U,parentId:F,parentName:K,pathId:te,pathName:ae}=H,pe={parent_tag:{uuid:"",name:""},child_tag:{uuid:"",name:""}};F?(pe.parent_tag.uuid=F,pe.parent_tag.name=K,pe.child_tag.uuid=q,pe.child_tag.name=U):(pe.parent_tag.uuid=q,pe.parent_tag.name=U),p({Category:{value:pe}},{Category:{propertyKey:"Category",value:pe}})}}},1),P=(0,qE.jsx)(ao,{propertyPanelId:Vte,propertyKey:"Describe",propertyTitle:"Describe",value:ue.htmlDecode(S.value),keyCheckBox:!1,valueCheckBox:!1,valueType:"textArea",noTips:!0,onChange:p},2),O=[];T===se.FOOTPRINT&&N.includes("_")?O=[v]:O=[v,k,P],E.push({title:"",noHead:!0,content:O});let _=[];for(let B=0;B<D.length;B++){let{key:V,value:G,showKey:Q,showValue:H}=D[B],q=G,U=ue.htmlDecode(V),F=`<${U}>`;if(U==="3D Model"){let te=G?JSON.parse(G):{},ae=te.id,pe=te.title||F,Z=te.transf||_e.D3MVIEW_DEFAULT_TRANSFORM;_.push((0,qE.jsx)(ao,{propertyPanelId:Vte,propertyKey:V,propertyTitle:U,value:pe,keyCheckBox:!0,keyChecked:Q,valueCheckBox:!0,valueChecked:H,valueDisabled:!1,valueReadOnly:!0,valueType:"openDialog",hasClearButton:pe!==F,onChange:(ee,ce,ne)=>{let oe={};for(let re in ce)oe[re]={...ce[re],value:q};p(ee,oe,ne)},openDialog:ee=>{iPo(ae,Z,a,s,r,pe===F?"":pe,ce=>{let{d3modelItemId:ne,d3modelItemName:oe,d3modelItemPath:re,d3modelTransform:Y,isLocaleFilenameMode:X}=sB(ce);p({"3D Model":{keyName:"value",value:JSON.stringify({id:ne,title:oe,transf:Y}),valueChecked:H,keyChecked:Q}},{"3D Model":{...ee}},{callScene:"ATTR_PANEL"})})},onClear:()=>{p({"3D Model":{keyName:"value",value:JSON.stringify({id:"",title:"",transf:""}),valueChecked:H,keyChecked:Q}},{"3D Model":{...t}},{callScene:"ATTR_PANEL"})},menu:ee=>{u(ee,V,!ae)}},B));continue}let K=G||F;_.push((0,qE.jsx)(ao,{propertyPanelId:Vte,propertyKey:V,propertyTitle:U,value:K,keyCheckBox:!0,keyChecked:Q,valueCheckBox:!0,valueChecked:H,valueDisabled:!1,hasClearButton:K!==F,onChange:p,menu:te=>{u(te,V)}},B))}let j=I.map(B=>B.key);return E.push({title:"More Properties",content:_,after:(0,qE.jsx)(Gf,{sceneType:["Footprint"],excludedList:j,onAddProperty:h})}),{groups:E}}function d(b,y){let w={key:y,update:!1};switch(y==="3D Model"&&(w.value=JSON.stringify({id:"",title:"",transf:""})),b){case"remove_custom_property":{let x=Xi();C.windowBridge.publish("attrUpdate",{body:{FOOTPRINT:{"attr-array":[w]}},head:{action:"modifyFootprintDataByPanel",primitive:["FOOTPRINT"]}},x.contentWindow)}}}async function u(b,y,w=!1){Da.open({position:{x:b.pageX,y:b.pageY},data:[{title:me.i18n("Delete Property"),cmd:"remove_custom_property",disabled:w}],onClick(x,S,T,M){d(x.cmdlink.join(":"),y)},onEnterConfirm(x,S,T){d(x.join(":"),y)}})}let p=(b,y,w)=>{let x={},S=[];for(let I of Object.keys(b)){let A=ue.htmlDecode(I),D=b[I].value;if(D=typeof D=="string"?ue.htmlEncode(D):D,A==="Category")x.category=ue.htmlDecode(D);else if(A==="Describe")x.describe=ue.htmlDecode(D);else{let{valueChecked:E,keyChecked:N,value:R}=y[I];E=E==null?!1:E,N=N==null?!1:N,S.push({key:A,showKey:b[I]&&Object.hasOwnProperty.call(b[I],"keyChecked")?b[I].keyChecked:N,showValue:b[I]&&Object.hasOwnProperty.call(b[I],"valueChecked")?b[I].valueChecked:E,update:!0,value:typeof b[I]=="object"&&typeof b[I].value<"u"?b[I].value:R}),A==="Footprint"&&he.setTabText(gi(),typeof b[I]=="object"&&typeof b[I].value<"u"?b[I].value:R),b[I].value=ue.htmlDecode(b[I].value)}}S.length>0&&(x["attr-array"]=S);let T=gi();typeof G2[T]<"u"&&(G2[T]={...G2[T],...JSON.parse(JSON.stringify(x))});let M=Xi();C.windowBridge.publish("attrUpdate",{body:{FOOTPRINT:x},head:{action:"modifyFootprintDataByPanel",primitive:["FOOTPRINT"]}},M.contentWindow)},m=b=>{},h=b=>{p(b,b)},f=()=>{},g=()=>{};return(0,qE.jsx)(Qnn.Provider,{value:{onChange:p,onSelectedTypeChange:m,onAddProperty:h,propertyPanelId:Vte},children:(0,qE.jsx)("div",{className:Wnn,id:Vte,children:(0,qE.jsx)(tf,{propertyPanelId:Vte,...c(e),ref:o})})})};function nPo(t=dt()){se.SCH===t||pr(t)?C.messageBus.publish("sch/renderPropertyPanel",{renderUI:!0}):se.FOOTPRINT===t?o4e.update():se.PCB===t?da.update():[se.PANEL,se.PANEL_LIB].includes(t)?$N():se.PANEL3D===t&&C.messageBus.publish("/panel/3d/updateLayerPanel")}async function aPo(t=dt()){return new Promise((e,i)=>{let o=C.messageBus.subscribe("propertyPanelComplete",()=>{e(!0),o==null||o.cancel()});se.SCH===t||pr(t)?C.messageBus.publish("sch/renderPropertyPanel"):se.FOOTPRINT===t?o4e.update():se.PCB===t?da.update():e(!0)})}var Hte=L(Se()),uPo=L(Hr());var sPo=L(Se());var lPo=L(z()),pQt=t=>{let{isAttrParaKey:e,propertyKey:i,value:o,style:r}=t,{onChange:n,propertyPanelId:a,targetFilterBySelectedType:s,docType:l}=(0,sPo.useContext)(mQt),c=Vo();return(0,lPo.jsx)(ao,{...t,colorPickerRestoreAction:()=>{n({[i]:{value:null}},{[i]:t})},menu:u=>{let p=e&&![C.PropertyKey.Name.key,C.PropertyKey.Designator.key,C.PropertyKey.Device.key,C.PropertyKey.Symbol.key,C.PropertyKey["Convert to PCB"].key,C.PropertyKey["Add into BOM"].key,C.PropertyKey["Pin Number"].key,C.PropertyKey["Pin Name"].key,C.PropertyKey["Pin Type"].key].includes(i),m=a+"menu",h={docType:l,target:s,propertyKey:i},f=[];p&&f.push({key:"remove_custom_property",name:"Delete Property"}),f.length>0&&Au.open({data:f.map(g=>({title:me.i18n(g.name),cmd:g.key})),position:{x:u.pageX,y:u.pageY},onClick(g,b,y,w){et(g.cmdlink[0],h)},onEnterConfirm(g,b,y){et(g[0],h)}})},onChange:n,propertyPanelId:a,inputUnit:c})};var fQt=L(dPo());var Ed=L(z()),{locals:Knn}=fQt.default,{property_panel:Znn}=Knn,hQt=class extends qe{constructor(){super(...arguments);this.data=null}update(i){this.data=i,this.notify()}},Mct=new hQt,dce="symbol_content_property_panel",mQt=(0,Hte.createContext)({}),Jnn=()=>{Ae(fQt.default),Ce(Mct);let{data:t}=Mct,e=(0,Hte.useRef)(null);if((0,Hte.useEffect)(()=>{var m;if(t!=null&&t.focus&&t.focus.propertyPanelId===dce&&(e!=null&&e.current)){let{propertyKey:h,propertyPanelId:f}=t.focus,g=(m=e==null?void 0:e.current)==null?void 0:m.querySelector(`input[name="${h}"]`),b=e.current.querySelector("#"+"More Properties".replace(" ","_"));b&&b.getAttribute("data-status")==="close"&&b.click(),setTimeout(()=>{var y;if(f===dce){let w=(y=e==null?void 0:e.current)==null?void 0:y.querySelector(`input[name="${h}"]`);w&&w.focus()}})}}),!t)return(0,Ed.jsx)(Ed.Fragment,{});let{targetFilterBySelectedType:i,selectedTypes:o,target:r,docType:n}=t,a=0;function s(m,h){m=ue.deepClone(m);let{groups:f,selectedTypes:g}=m;for(let y=0;y<f.length;y++){let{title:w,content:x}=f[y];switch(w){case"Select Object":{let{types:S,selectedType:T}=x;f[y].content=(0,Ed.jsx)(kq,{types:S,selectedTypes:T,onSelectedTypeChange:c});break}case"Basic Properties":{let{data:S}=x;if(g!=null&&g.includes("table")&&g.length===1){a++;let T=Vo();f[y].content=(0,Ed.jsx)(Ed.Fragment,{children:(0,Ed.jsx)(Zu,{widthProperty:S[0],heightProperty:S[1],inputUnit:T,onChange:l,needExchange:!1,beforeInputChildren:()=>(0,Ed.jsx)(M3,{propertyPanelId:dce})})});break}if(g!=null&&g.includes("ellipse")&&g.length===1){let T=Vo();f[y].content=(0,Ed.jsxs)(Ed.Fragment,{children:[b(S.slice(0,2)),(0,Ed.jsx)(Zu,{widthProperty:S[2],heightProperty:S[3],inputUnit:T,onChange:l,needExchange:!1}),b(S.slice(4))]});break}f[y].content=(0,Ed.jsx)(Ed.Fragment,{children:b(S)});break}case"Cell Attributes":{let{data:S}=x,T=Vo();f[y].content=(0,Ed.jsxs)(Ed.Fragment,{children:[(0,Ed.jsx)(Zu,{widthProperty:S[0],heightProperty:S[1],inputUnit:T,onChange:l,needExchange:!1}),S.slice(2).map((M,I)=>(0,Ed.jsx)(pQt,{index:a++,...M},I))]});break}case"Text Attributes":{let{data:S}=x;f[y].content=(0,Ed.jsx)(Ed.Fragment,{children:b(S)});break}case"More Properties":{let{data:S}=x;if(S.length>0){let T=S.findIndex(M=>M.valueType==="addParamSelector");if(T>=0){let{valueType:M,valueDisabled:I,valueOptions:A}=S[T];S.splice(T,1),f[y].content=(0,Ed.jsx)(Ed.Fragment,{children:b(S)}),f[y].after=(0,Ed.jsx)(Gf,{disabled:I,list:A,onAddProperty:p})}else f[y].content=(0,Ed.jsx)(Ed.Fragment,{children:b(S)})}else f[y].content=(0,Ed.jsx)(Ed.Fragment,{});break}default:f[y].content=(0,Ed.jsx)(Ed.Fragment,{})}}return m;function b(y){let w=[];for(let x=0;x<y.length;x++){let{valueType:S,valueDisabled:T}=y[x];S==="button"?w.push((0,Ed.jsx)(Me,{onClick:()=>{T||h()},style:{margin:"0 8px 8px",width:"calc(100% - 16px)"},disabled:T,children:"Reset Default Style"},S+"-"+x)):w.push((0,Ed.jsx)(pQt,{index:a,...y[x]},x)),a++}return w}}let l=(m,h,f)=>{let g={};for(let b of Object.keys(i||{})){let y={};for(let w=0;w<i[b].length;w++){let x=i[b][w];y[x]=m}g[b]=y}C.messageBus.publish("sch/setProperty",{target:r,docType:n,selectedTypes:o,data:g,...f})},c=m=>{C.messageBus.publish("sch/renderPropertyPanel",{selectedTypes:m,target:r,docType:n,isSelectedTypeChange:!0})},d=()=>{let{groups:m}=t,h={},f={};for(let g=0;g<m.length;g++)switch(m[g].title){case"Basic Properties":case"Cell Attributes":case"Text Attributes":{let b=m[g].content.data;for(let y=0;y<b.length;y++)b[y]&&Object.hasOwnProperty.call(b[y],"defaultValue")&&(h[b[y].propertyKey]={value:null},f[b[y].propertyKey]=b[g]);break}}l(h,f)},u=()=>{let{groups:m,selectedTypes:h}=t;if(h!=null&&h.includes("table")&&h.length===1)d();else for(let f=0;f<m.length;f++)if(m[f].title==="Basic Properties"){let g=m[f].content.data,b={},y={};for(let w=0;w<g.length;w++)g[w]&&Object.hasOwnProperty.call(g[w],"defaultValue")&&(b[g[w].propertyKey]={value:null},y[g[w].propertyKey]=g[f]);l(b,y);break}},p=m=>{let h={};for(let f of Object.keys(i||{})){let g={};for(let b=0;b<i[f].length;b++){let y=i[f][b];g[y]=m}h[f]=g}C.messageBus.publish("sch/addProperty",{data:h,focus:{propertyKey:Object.keys(m||{})[0],propertyPanelId:dce},docType:n,selectedType:o})};return(0,Ed.jsx)(mQt.Provider,{value:{onChange:l,onSelectedTypeChange:c,onAddProperty:p,propertyPanelId:dce,selectedTypes:o,target:r,docType:n,targetFilterBySelectedType:i},children:(0,Ed.jsx)("div",{className:Znn,id:dce,children:(0,Ed.jsx)(tf,{propertyPanelId:dce,...s(t,u),ref:e})})})};function qnn(){let t=document.querySelector("#sch-right-panel .symbol-attribute-property");uPo.default.createRoot(t).render((0,Ed.jsx)(Hte.default.StrictMode,{children:(0,Ed.jsx)(Jnn,{})}))}function pPo(){qnn()}var Xnn="_";function mPo(t,e){for(let i=0;i<e.length;i++){let{uuid:o}=cn.parseURLTabId(e[i]);if(o!==t&&o.startsWith(t)&&e[i].split(Xnn).length===2)return!0}return!1}var uce=L(z()),hPo=()=>{Dt({id:"cacheStorageFailWaringDialog",content:(0,uce.jsx)(()=>{let e=J();return(0,uce.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,uce.jsx)("div",{children:e("Unable to access CacheStorage, unable to run editor properly.")}),(0,uce.jsx)("div",{style:{paddingTop:"16px"},children:e("1.Please use the latest Google or Firefox browser.")}),(0,uce.jsx)("div",{children:e("2.If using Firefox browser, please do not open the editor in privacy mode.")})]})},{}),showCancel:!1})};var fPo=(i=>(i.CREATE_SUCCEEDED="/pro-mgr/project/create/succeeded",i.CREATE_FAILED="/pro-mgr/project/create/failed",i))(fPo||{}),gPo=(t=>t)(gPo||{}),bPo=(t=>t)(bPo||{}),yPo=(t=>t)(yPo||{}),wPo=(t=>t)(wPo||{}),CPo=(t=>t)(CPo||{}),xPo=(t=>t)(xPo||{}),TPo=(t=>t)(TPo||{}),SPo=(t=>t)(SPo||{}),MPo=(t=>t)(MPo||{}),IPo=(t=>t)(IPo||{}),LPo=(e=>(e.UPDATE_TICKET="/pro-mgr/other/updateTicket",e))(LPo||{}),$nn={PROJECT:fPo,SCHEMATIC:gPo,DOCUMENT:bPo,DEVICE:yPo,COMPONENT:wPo,TAG:CPo,COPPER:xPo,FONT:TPo,BLOB:SPo,ATTR:MPo,CLIENT:IPo,OTHER:LPo},Ict=$nn;var Lct=class{constructor(e,i,o){this.uuid=e;this.path=i;this.lib_type=o;this._count=0}get number(){return this._count}add(){this._count++}toJSON(){return{uuid:this.uuid,path:this.path,lib_type:this.lib_type,number:this.number}}};async function vPo(t,e,i,o){e!==C.currentProject.projectId&&_t&&(Je||await Dpi({lib_uuid:t,path:e,lib_type:i,number:o}))}var oEe=class oEe{constructor(){this.map=new Map;this._startTime=performance.now();this._startLoopUpload(),window.addEventListener("beforeunload",()=>{this.stopLoopUpload()})}static getInstance(){return this._instance||(this._instance=new oEe),this._instance}_upload(){this.map.forEach(e=>{vPo(e.uuid,e.path,e.lib_type,e.number)}),this.map.clear()}async _loopToUpload(){performance.now()-this._startTime>=oEe.LOOP_TIME&&(this._upload(),this._startTime=performance.now()),this._rafId=requestAnimationFrame(this._loopToUpload.bind(this))}_startLoopUpload(){this._rafId=requestAnimationFrame(this._loopToUpload.bind(this))}stopLoopUpload(e=!0){e&&this._upload(),cancelAnimationFrame(this._rafId),this._rafId=null}getOrAddItem(e){if(this.map.has(e.uuid))return this.map.get(e.uuid);{let i=new Lct(e.uuid,e.path,e.lib_type);return this.map.set(i.uuid,i),i}}getOrAddItemBySource(e,i){let[o,r]=e.split("|");return this.getOrAddItem({uuid:o,path:r,lib_type:i})}};oEe.LOOP_TIME=18e4;var vct=oEe;var gQt=["#FF0000","#00FF00","#0000FF","#FFFF00","#FF00FF","#00FFFF","#800000","#008000","#000080","#808000","#800080","#008080","#C0C0C0","#808080","#9999FF","#FF9999","#99FF99","#FF99FF","#99FFFF","#FFCC99","#3366FF","#33FF66","#FF6633","#66FF33","#FF3366","#6633FF","#33FFCC","#FF33CC","#CCFF33","#FFCC33","#33CCFF","#CC33FF","#33FF99","#FF9933","#9933FF","#33FF33","#FF3333","#3333FF","#33FF66","#FF66CC","#66CCFF","#CC66FF","#66FFCC","#FF66FF","#CCFF66","#FFCC66","#66FF66","#FF6666"];var bQt=class extends qe{constructor(){super(...arguments);this.userInfo=new Map;this.userTimeColorData=[];this.oneSelfClients=new Set}assignUserColor(i){var s,l;let{uuid:o,client:r,user:n,userTimeColorData:a}=i;if(!this.userInfo.get(o)&&C.loginedUserInfo.uuid!==o){if(a.length<=this.userTimeColorData.length&&a.length!==1){let d=this.hasUserColor(o);return this.userInfo.set(o,{color:d.color,clients:new Set([r]),userInfo:n}),this.notify()}let c=this.hasUserColor(o);c?this.userInfo.set(o,{clients:new Set([r]),color:c.color,userInfo:n}):(a.find(u=>u.uuid===C.loginedUserInfo.uuid)?a.length>this.userTimeColorData.length&&(this.userTimeColorData=a):(this.userTimeColorData.length===1||a.length===1)&&(this.userTimeColorData=this.userTimeColorData.concat(a)),this.userTimeColorData.sort((u,p)=>u.timestamp-p.timestamp),this.userInfo.set(o,{color:"#000000",clients:new Set([r]),userInfo:n}),this.userTimeColorData.forEach((u,p)=>{let{uuid:m}=u;this.userTimeColorData[p].color=gQt[p],this.userInfo.get(m)&&(this.userInfo.get(m).color=gQt[p])})),this.notify()}else C.loginedUserInfo.uuid===o?this.oneSelfClients.add(r):(l=(s=this.userInfo.get(o))==null?void 0:s.clients)==null||l.add(r);this.notify()}getUserColor(i){var o;return(o=this.userInfo.get(i))==null?void 0:o.color}deleteUserColor(i,o){let r=this.userInfo.get(i);if(r){let n=r.clients;n.delete(o),n.size===0&&(this.userInfo.delete(i),this.notify())}else C.loginedUserInfo.uuid===i&&this.oneSelfClients.delete(o)}clearUserInfo(){this.userInfo.clear(),this.notify()}hasUserColor(i){return this.userTimeColorData.find(o=>o.uuid===i)}},o3=new bQt;var Gte=class extends rwt{constructor(e,i,o,r){super(e,i,o),this._timestamp=r}onSelected(e,i,o){o3.assignUserColor({uuid:e.uuid,client:i,userTimeColorData:JSON.parse(o),user:e})}getSelect(){return JSON.stringify(o3.userTimeColorData)}onDestroy(e,i){o3.deleteUserColor(e,i)}};async function DPo(t,e,i){let o=new Date().getTime();!o3.hasUserColor(i.uuid)&&o3.userTimeColorData.push({uuid:i.uuid,timestamp:o,color:"#000000"});let r=await Pr.getVersion();Gte.selectedRepeaterInstance=new Gte((r==null?void 0:r.uuid)||t,(r==null?void 0:r.uuid)||t,i,JSON.stringify(o3.userTimeColorData)),await Gte.selectedRepeaterInstance.init()}var pce=L(Se()),NPo=L(Hr());var wQt=L(APo());var Va=L(z()),{locals:tan}=wQt.default,{property_panel:ian}=tan;var r4e="sch_property_panel",oan=t=>{let{data:e}=t;Ae(wQt.default),(0,pce.useEffect)(()=>{bD.data=e},[e]);let i=(0,pce.useRef)(null),o=J();if((0,pce.useEffect)(()=>{if(i!=null&&i.current&&e!=null&&e.focus){let{propertyKey:w,propertyPanelId:x}=e.focus,S=JSON.parse(localStorage.getItem("propertyPanel"))||{};if(!S.morePropertiesShow){let T=i.current.querySelector("#"+"More Properties".replace(" ","_"));T&&(T.click(),S.morePropertiesShow=!0,localStorage.setItem("propertyPanel",JSON.stringify(S)))}setTimeout(()=>{var T;if(x===r4e){let M=(T=i==null?void 0:i.current)==null?void 0:T.querySelector(`input[name="${w}"]`);M&&M.focus()}})}}),!e)return(0,Va.jsx)(Va.Fragment,{});let{targetFilterBySelectedType:r,selectedTypes:n,focus:a,target:s,treeTarget:l,isFromTree:c,docType:d}=e,u=0;function p(w,x,S){w=ue.deepClone(w);let{headInfo:T,groups:M=[],target:I,targetFilterBySelectedType:A,selectedTypes:D,docType:E}=w;D!=null&&(D.includes("part")?w.groups=M.filter(R=>R.title==="Simulation Properties"):D.includes("pin")&&(w.groups=M.filter(R=>R.title==="Basic Properties"||"More Properties"))),M=w.groups;for(let R=0;R<M.length;R++){let{title:v,content:k}=M[R];switch(v){case"Select Object":{let{types:P,selectedType:O}=k;M[R].content=(0,Va.jsx)(kq,{types:P,selectedTypes:O,onSelectedTypeChange:h});break}case"Basic Properties":{let{data:P}=k;if(P=nan(P),D!=null&&D.includes("table")&&D.length===1){let O=Vo();M[R].content=(0,Va.jsx)(Va.Fragment,{children:(0,Va.jsx)(Zu,{disabled:P[0].valueDisabled&&P[1].valueDisabled,widthProperty:P[0],heightProperty:P[1],inputUnit:O,onChange:m,needExchange:!1,beforeInputChildren:()=>(0,Va.jsx)(M3,{propertyPanelId:r4e})})});break}if(D!=null&&D.includes("ellipse")&&D.length===1){let O=Vo();M[R].content=(0,Va.jsxs)(Va.Fragment,{children:[N(v,P.slice(0,2)),(0,Va.jsx)(Zu,{disabled:P[2].valueDisabled&&P[3].valueDisabled,widthProperty:P[2],heightProperty:P[3],inputUnit:O,onChange:m,needExchange:!1}),N(v,P.slice(4))]});break}M[R].content=(0,Va.jsx)(Va.Fragment,{children:N(v,P)});break}case"Cell Attributes":{let{data:P}=k,O=Vo();M[R].content=(0,Va.jsxs)(Va.Fragment,{children:[(0,Va.jsx)(Zu,{disabled:P[0].valueDisabled&&P[1].valueDisabled,widthProperty:P[0],heightProperty:P[1],inputUnit:O,onChange:m,needExchange:!1}),P.slice(2).map((_,j)=>(0,Va.jsx)(gD,{..._,groupTitle:v},j))]});break}case"Text Attributes":{let{data:P}=k;M[R].content=(0,Va.jsx)(Va.Fragment,{children:N(v,P)});break}case"Drawing":{let{data:P}=k;if(P.length===1)M[R].content=(0,Va.jsx)(Va.Fragment,{children:N(v,P)});else{let O=Vo();M[R].content=(0,Va.jsxs)(Va.Fragment,{children:[N(v,P.slice(0,2)),(0,Va.jsx)(Zu,{disabled:P[2].valueDisabled&&P[3].valueDisabled,widthProperty:P[2],heightProperty:P[3],inputUnit:O,onChange:m})]})}break}case"Drawing Border":{let{data:P}=k,O=Vo();M[R].content=(0,Va.jsxs)(Va.Fragment,{children:[N(v,P.slice(0,3)),(0,Va.jsx)(Zu,{disabled:P[3].valueDisabled&&P[4].valueDisabled,widthProperty:P[3],heightProperty:P[4],inputUnit:O,onChange:m}),N(v,P.slice(5))]});break}case"Title Block":{let{data:P}=k,O=P.find(j=>j.propertyKey==="@Assembly Variant");O&&(O.value=o(O.value));let _=P.findIndex(j=>j.valueType==="addParamSelector");if(_>=0){let{valueType:j,valueDisabled:B,valueOptions:V}=P[_];P.splice(_,1),M[R].content=(0,Va.jsx)(Va.Fragment,{children:N(v,P)}),M[R].after=(0,Va.jsx)(Gf,{disabled:B,list:V,onAddProperty:f})}else M[R].content=(0,Va.jsx)(Va.Fragment,{children:N(v,P)});break}case"Key Properties":{let{data:P}=k;M[R].content=(0,Va.jsx)(Va.Fragment,{children:N(v,P)});break}case"Simulation Properties":{let{data:P}=k;M[R].content=(0,Va.jsx)(Va.Fragment,{children:N(v,P)});break}case"More Properties":{let{data:P}=k;if(P.length>0){let O=P.findIndex(_=>_.valueType==="addParamSelector");if(O>=0){let{valueType:_,valueDisabled:j,valueOptions:B}=P[O];P.splice(O,1),S4(P),M[R].content=(0,Va.jsx)(Va.Fragment,{children:N(v,P)}),M[R].after=(0,Va.jsx)(Gf,{disabled:j,list:B,onAddProperty:f})}else P=S4(P),M[R].content=(0,Va.jsx)(Va.Fragment,{children:N(v,P)})}else M[R].content=(0,Va.jsx)(Va.Fragment,{});break}case"Group":{let{data:P}=k;M[R].content=(0,Va.jsx)(Va.Fragment,{children:N(v,P)});break}case"Reuse Block":{let{data:P}=k;M[R].content=(0,Va.jsx)(Va.Fragment,{children:N(v,P)});break}default:M[R].content=(0,Va.jsx)(Va.Fragment,{});break}}return w;function N(R,v){let k=[];for(let P=0;P<v.length;P++){let{valueType:O,valueDisabled:_}=v[P];O==="button"?v[P].value==="Editor Simulation Pins"?k.push((0,Va.jsx)(Me,{onClick:()=>{_||S(A)},style:{margin:"0 8px 8px",width:"calc(100% - 16px)"},disabled:_,children:"Editor Simulation Pins"},O+"-"+P)):k.push((0,Va.jsx)(Me,{onClick:()=>{_||x()},style:{margin:"0 8px 8px",width:"calc(100% - 16px)"},disabled:_,children:"Reset Default Style"},O+"-"+P)):k.push((0,Va.jsx)(gD,{index:u,...v[P],groupTitle:R},P)),u++}return k}}let m=(w,x,S)=>{let T={};for(let M of Object.keys(r||{})){let I={};for(let A=0;A<r[M].length;A++){let D=r[M][A];I[D]=w}T[M]=I}C.messageBus.publish("sch/setProperty",{target:s,docType:d,treeTarget:l,selectedTypes:n,isFromTree:c,data:T,...S})},h=w=>{C.messageBus.publish("sch/renderPropertyPanel",{target:s,docType:d,treeTarget:l,isFromTree:c,selectedTypes:w,isSelectedTypeChange:!0})},f=w=>{let x={};for(let S of Object.keys(r||{})){let T={};for(let M=0;M<r[S].length;M++){let I=r[S][M];T[I]=w}x[S]=T}C.messageBus.publish("sch/addProperty",{selectedType:n,target:s,docType:d,treeTarget:l,isFromTree:c,data:x,focus:{propertyKey:Object.keys(w||{})[0],propertyPanelId:r4e}})},g=async w=>{let x=w[gi()][0],S=await C.messageBus.rpcCall("getSimulationPinSelectData",x);et("editor_simualtion_pins",S.message)},b=()=>{let{groups:w}=e,x={},S={};for(let T=0;T<w.length;T++)switch(w[T].title){case"Basic Properties":case"Cell Attributes":case"Text Attributes":{let M=w[T].content.data;for(let I=0;I<M.length;I++)Xs(M[I],"defaultValue")&&(x[M[I].propertyKey]={value:null},S[M[I].propertyKey]=M[T]);break}}m(x,S)},y=()=>{let{groups:w,selectedTypes:x}=e;if(x!=null&&x.includes("table")&&x.length===1)b();else for(let S=0;S<w.length;S++)switch(w[S].title){case"Basic Properties":{let T=w[S].content.data,M={},I={};for(let A=0;A<T.length;A++)Xs(T[A],"defaultValue")&&(M[T[A].propertyKey]={value:null},I[T[A].propertyKey]=T[S]);m(M,I);break}}};return(0,Va.jsx)(XP.Provider,{value:{onChange:m,onSelectedTypeChange:h,onAddProperty:f,propertyPanelId:r4e,selectedTypes:n,docType:d,target:s,targetFilterBySelectedType:r},children:(0,Va.jsx)("div",{className:ian,id:r4e,children:(0,Va.jsx)(tf,{propertyPanelId:r4e,...p(e,y,g),ref:i})})})},yQt;function ran(t){let e=document.querySelector("#simulation-right-panel .ngspice-attribute-property");yQt=yQt||(0,NPo.createRoot)(e),yQt.render((0,Va.jsx)(pce.default.StrictMode,{children:(0,Va.jsx)(oan,{data:t})}))}async function Ect(t){ran(t)}function nan(t){t.sort((n,a)=>n.isAttrParaKey&&!a.isAttrParaKey?-1:!n.isAttrParaKey&&a.isAttrParaKey?1:0);let e=t.findIndex(n=>!n.isAttrParaKey),i=t.slice(0,e),o=t.slice(e);S4(i);let r=i.findIndex(n=>n.propertyKey==="Name");if(r>0){let n=i[r];i[r]=i[0],i[0]=n}return t=i.concat(o),t}var CQt=class{log(e,i){let{conflictNetsData:o,lackNetsData:r}=e;r.forEach(n=>{let a=me.i18n("Failed to {0} differential pair {DP}! Network {NW} does not exist.",[me._context_i18n("differential-pair",n.type),null]);t2({type:"error",msg:Ti(a,{params:{DP:n.name,NW:n.lackNets.join("\u3001")}})})}),o.forEach(n=>{let a=me.i18n("Failed to {0} differential pair {DP1}! {NW} network already exists in differential pair {DP2}.",[me._context_i18n("differential-pair",n.type,null)]);t2({type:"error",msg:Ti(a,{params:{DP1:n.name,NW:n.conflictNets.map(s=>IS.getLinkView({text:s,call:{cmd:"highlightNetsOfImportChanged",args:[[s],i]}})).join("\u3001"),DP2:IS.getLinkView({text:n.conflictDPName,call:{cmd:"highlightNetsByDataName",args:["DifferentialPair",n.conflictDPName,i]}})}})})})}},Act=new CQt;var n4e=class{static log(e,i){e.forEach(o=>{let{type:r,lackNets:n,conflictNets:a,name:s}=o,l=Object.keys(a),c=me.i18n(r);n.length>0&&t2({type:"error",msg:Ti("{Type} {Object1} failed to add net {Nets}! Net {Nets} does not exist.",{params:{Type:c,Object1:IS.getLinkView({text:s,call:{cmd:"highlightNetsByDataName",args:[r=="Net Class"?"NetClass":"EqualLengthNetGroup",s,i]}}),Nets:n.join("\u3001")}})}),l.forEach(d=>{t2({type:"error",msg:Ti("{Type} {Object1} failed to add net {Nets}! Net {Nets} already exists in {Type} {Object2}",{params:{Type:c,Object1:IS.getLinkView({text:s,call:{cmd:"highlightNetsByDataName",args:[r=="Net Class"?"NetClass":"EqualLengthNetGroup",s,i]}}),Nets:a[d].map(u=>IS.getLinkView({text:u,call:{cmd:"highlightNetsOfImportChanged",args:[[u],i]}})).join("\u3001"),Object2:IS.getLinkView({text:d,call:{cmd:"highlightNetsByDataName",args:[r=="Net Class"?"NetClass":"EqualLengthNetGroup",d,i]}})}})})})})}};function kPo(t){if(!t)return;let{commonComparedResApplyRes:e,env:i}=t;!e||Object.keys(e).length==0||(z9("commonComparedResApplyRes",void 0,e),aan(e.differentialPairCompared,i),san(e,i))}function aan(t,e){if(!t)return;let{more:i,less:o,changed:r}=t,n=[],a=[];i==null||i.forEach(s=>{let{notExistNets:l,netConflictMap:c,commonComparedItem:d}=s,u="add";if(l&&a.push({...d,type:u,lackNets:l,conflictNets:[],conflictDPName:""}),c){let p=a4e(c);for(let m in p){let h=p[m];n.push({...d,type:u,lackNets:[],conflictNets:h,conflictDPName:m})}}}),r==null||r.forEach(s=>{let{notExistNets:l,netConflictMap:c,commonComparedItem:d}=s,u="modify";if(l&&a.push({...d.oldItem,type:u,lackNets:l,conflictNets:[],conflictDPName:""}),c){let p=a4e(c);for(let m in p){let h=p[m];n.push({...d.oldItem,type:u,lackNets:[],conflictNets:h,conflictDPName:m})}}}),n.length+a.length>0&&Act.log({conflictNetsData:n,lackNetsData:a},e)}function san(t,e){if(!t)return;let{netClassCompared:i,equalLengthNetGroupCompared:o}=t,r=[],n="Net Class";if(i){let{more:a,less:s,changed:l}=i;a==null||a.forEach(c=>{let{notExistNets:d,netConflictMap:u,commonComparedItem:p}=c,m=a4e(u);r.push({...p,type:n,lackNets:d||[],conflictNets:m})}),l==null||l.forEach(c=>{let{notExistNets:d,netConflictMap:u,commonComparedItem:p}=c,m=a4e(u);r.push({...p.oldItem,type:n,lackNets:d||[],conflictNets:m})})}if(n="Equal length group",o){let{more:a,less:s,changed:l}=o;a==null||a.forEach(c=>{let{notExistNets:d,netConflictMap:u,commonComparedItem:p}=c,m=a4e(u);r.push({...p,type:n,lackNets:d||[],conflictNets:m})}),l==null||l.forEach(c=>{let{notExistNets:d,netConflictMap:u,commonComparedItem:p}=c,m=a4e(u);r.push({...p.oldItem,type:n,lackNets:d||[],conflictNets:m})})}r.length>0&&n4e.log(r,e)}function a4e(t){let e={};for(let i in t){let o=t[i];e[o]?e[o].push(i):e[o]=[i]}return e}var PPo=L(Vi());var lan={11:"assembly_tab"},can={1:"editor",3:"no_select_editor"},rEe=class rEe{static performCmd(e){if(!lan[e.range]||!can[e.scene])return!1;let i=e.function;return rEe.hooks[i]?rEe.hooks[i].call(null,{cmd:i,args:e.args,keyStr:e.keyStr,keyCode:e.keyCode}):console.warn("assembly_tab_hotkey ",i+" does not exist!"),C.messageBus.publish("sensorsEventsReport",{eventName:"hotkey",eventData:{hotkey:e.keyStr,function:e.funcE}}),!0}};rEe.hooks={compareNetlist:function(e={}){et("compareNetlist",e)},"log-tool":function(e={}){et(e)},"openMenu(#mm-common-tools)":function(e={}){Pw(e)},"openMenu(#mm-common-file)":function(e={}){Pw(e)},"openMenu(#mm-common-edit)":function(e={}){Pw(e)},"openMenu(#mm-common-sim)":function(e={}){Pw(e)},"openMenu(#mm-common-simWaveform)":function(e={}){Pw(e)},"opensubmenu-new":function(e={}){Pw(e)},"opensubmenu-import":function(e={}){Pw(e)},"opensubmenu-saveas":function(e={}){Pw(e)},"opensubmenu-export":function(e={}){Pw(e)},"opensubmenu-recent":function(e={}){Pw(e)},"opensubmenu-system":function(e={}){Pw(e)},"opensubmenu-schematic_symbol":function(e={}){Pw(e)},"opensubmenu-pcb_footprint":function(e={}){Pw(e)},"opensubmenu-panel":function(e={}){Pw(e)},"opensubmenu-tabmenu":function(e={}){Pw(e)},new_device:function(e={}){e.cmd="new_device",e.args={docType:se.PART},et(e.cmd,e.args)},new_NetFlag:function(e={}){e.cmd="new_device",e.args={docType:se.NETFLAG},et(e.cmd,e.args)},new_NetPort:function(e={}){e.cmd="new_device",e.args={docType:se.NETPORT},et(e.cmd,e.args)},new_Drawing:function(e={}){e.cmd="new_device",e.args={docType:se.SHEET_SYMBOL},et(e.cmd,e.args)},"new_Non-Electronic":function(e={}){e.cmd="new_device",e.args={docType:se.NONEELEC_SYMBOL},et(e.cmd,e.args)},new_schematicLib:function(e={}){et(e.cmd)},new_footprint:function(e={}){et(e.cmd)},new_3D_model:function(e={}){et(e.cmd)},new_CBB:function(e={}){et(e.cmd)},switchVersion:function(e={}){et(e.cmd)},"show_help_file(part_store)":function(e={}){et(e.cmd)},"show_help_file(pcb_manu_facturing)":function(e={}){et(e.cmd)},"show_help_file(3d_cnc)":function(e={}){et(e.cmd)},standard_edition_migration:function(e={}){et(e.cmd)},projectSaveAsCloud:function(e={}){et(e.cmd)},projectSaveAsLocal:function(e={}){et(e.cmd)},backup:function(e={}){et(e.cmd)},recovery:function(e={}){et(e.cmd)},cacheRecovery:function(e={}){et(e.cmd)},"importFile(easyeda)":function(e={}){et(e.cmd)},file_open:function(e={}){et(e.cmd)},"importFile(altium)":function(e={}){et(e.cmd)},"importFile(eagle)":function(e={}){et(e.cmd)},"importFile(kicad)":function(e={}){et(e.cmd)},"importFile(pads)":function(e={}){et(e.cmd)},"importFile(protel)":function(e={}){et(e.cmd)},"importFile(ltspice)":function(e={}){et(e.cmd)},exportBOM:function(e={}){et(e.cmd)},closeProject:function(e={}){et(e.cmd)},clearRecentList:function(e={}){et(e.cmd)},"source(easyEDA)":function(e={}){et(e.cmd)},"toolbar_toggle(topbar)":function(e={}){et(e.cmd)},"commonButtonsSetting(SYSTEM)":function(e={}){et(e.cmd)},"commonButtonsSetting(CATEGORY)":function(e={}){et(e.cmd)},"commonButtonsSetting(BASE_LIBRARY)":function(e={}){et(e.cmd)},"commonButtonsSetting(CANVAS)":function(e={}){et(e.cmd)},"commonButtonsSetting(OBJECT)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_FOOTPRINT)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_THEME)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_COMM_GRID_SIZE)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_COMM_TRACK_WIDTH)":function(e={}){et(e.cmd)},"commonButtonsSetting(PCB_COMM_VIA_SIZE)":function(e={}){et(e.cmd)},"commonButtonsSetting(ADSORPTION)":function(e={}){et(e.cmd)},"commonButtonsSetting(PANEL_CANVAS)":function(e={}){et(e.cmd)},"commonButtonsSetting(PANEL_THEME)":function(e={}){et(e.cmd)},"commonButtonsSetting(COMM_TYPEFACE)":function(e={}){et(e.cmd)},"commonButtonsSetting(DESIGN)":function(e={}){et(e.cmd)},"commonButtonsSetting(PROPERTY)":function(e={}){et(e.cmd)},"commonButtonsSetting(HOTKEY)":function(e={}){et(e.cmd)},"commonButtonsSetting(CUSTOM_TOOLBAR)":function(e={}){et(e.cmd)},"commonButtonsSetting(SAVE)":function(e={}){et(e.cmd)},"show_help_file(community)":function(e={}){et(e.cmd)},"show_help_file(contact)":function(e={}){et(e.cmd)},show_about:function(e={}){et(e.cmd)},"openMenu(#mm-common-view)":function(e={}){Pw(e)},"openMenu(#mm-common-settings)":function(e={}){Pw(e)},"openMenu(#mm-common-help)":function(e={}){Pw(e)},openProject:function(e={}){et(e.cmd)},newProject:function(e={}){et("new_project")},full_screen:function(e={}){et("fullScreen",{keyCode:e.keyCode})},close_tab:function(){et("close_tab")},close_all_tabs:function(){et("close_all_tabs")},save_all:function(e={}){et("save_all")},"toolbar_toggle(leftbar)":function(e={}){et("toolbar_toggle(leftbar)")},"toolbar_toggle(rightbar)":function(e={}){et("toolbar_toggle(rightbar)")},operateBottomPanel:function(e={}){(0,PPo.default)("#layout_toggler_bottom").data("allow-open",!0),et("toolbar_toggle(bottombar)")},findObjects:function(e={}){et("findObjects")},findSimilar:function(e={}){et("findSimilar")},tutorials:function(){et("tutorials")},openPcbComparisonDlg:function(){et("openPcbComparisonDlg")},switchNextDoc:function(){},switchPreDoc:function(){},redo:function(e){bSe(e.cmd)},undo:e=>{bSe(e.cmd)},crossProbe:()=>{k7o()}};var nEe=rEe;async function Pw(t){let e=(await C.messageBus.rpcCall("/ui/getMouseRecorder")).message;e.notFrame=!0,et(t.cmd,e)}var xQt=class{constructor(e){this.mousePosition=null;this.sensitivityThreshold=1e-5,this.dataPoints=[],this._canvasId=e.canvasId}get canvasId(){return this._canvasId}getCanvasElement(e){let i=document.getElementById(e);if(!i||!(i instanceof HTMLCanvasElement))throw new Error(`Canvas with id "${e}" not found or is not a canvas element.`);return i}handleMouseLeave(){this.mousePosition=null}handleMouseMove(e){let i=this.canvas.getBoundingClientRect();this.cursor.isSelected&&(this.cursor.move(e.movementX),this.cursor.draw())}handleMouseDown(e){this.isMouseDown=!0,this.longPressTimeout=window.setTimeout(()=>{this.isMouseDown&&this.cursor.isPointInside(e.offsetX,e.offsetY)&&this.cursor.toggleSelection()},this.longPressDuration)}handleMouseUp(e){this.isMouseDown=!1,this.cursor.toggleSelection(),this.longPressTimeout!==null&&(clearTimeout(this.longPressTimeout),this.longPressTimeout=null)}updateAmplitudeDisplay(){let e=document.getElementById(this.amplitudeDisplayId),i=this.dataPoints,o=Math.min(...i),r=Math.max(...i),n=(r-o)/2;e&&(e.textContent=`${this.amplitudeDisplayId}: ${r}V`)}bulkUpdate(e){console.error(e),this.dataPoints=e.map(i=>i[1]),this.autoAdjustAmplitude(),this.render()}autoAdjustAmplitude(){let e=this.dataPoints,i=Math.min(...e),o=Math.max(...e),r=o-i||1;if(r<this.sensitivityThreshold)return;let n=r*1.2;this.amplitudeScale=this.canvas.height*.8/n,this.centerY=this.canvas.height/2+(o+i)/2*this.amplitudeScale}render(){let e=window.devicePixelRatio||1,i=this.canvas.width,o=this.canvas.height,r=i/(this.dataPoints.length-1||1);this.ctx.fillStyle="black",this.ctx.fillRect(0,0,i,o),this.ctx.lineWidth=2/e,this.ctx.strokeStyle="limegreen",this.ctx.beginPath();for(let n=0;n<this.dataPoints.length;n++){let a=n*r,s=this.centerY-this.dataPoints[n]*this.amplitudeScale;n===0?this.ctx.moveTo(a,s):this.ctx.lineTo(a,s)}if(this.ctx.stroke(),this.mousePosition){let n=-1,a=1/0;for(let s=0;s<this.dataPoints.length;s++){let l=s*r,c=Math.abs(l-this.mousePosition.x);c<a&&(a=c,n=s)}if(n!==-1&&a<10){let s=n*r,l=this.centerY-this.dataPoints[n]*this.amplitudeScale;this.ctx.fillStyle="red",this.ctx.beginPath(),this.ctx.arc(s,l,5,0,Math.PI*2),this.ctx.fill(),this.ctx.fillStyle="white",this.ctx.font="12px Arial",this.ctx.fillText(`(${this.dataPoints[n].toFixed(3)}) V`,s+10,l)}}}},OPo=xQt;var Nct=class t{constructor(){this.oscilloscopes=new Map}static getInstance(){return this._instance||(this._instance=new t),this._instance}createOscilloscope(e,i){if(this.oscilloscopes.has(e))throw new Error(`Oscilloscope with id ${e} already exists.`);let o=new OPo(i);return this.oscilloscopes.set(e,o),o}getOscilloscope(e){return this.oscilloscopes.get(e)}clearOscilloscopes(){this.oscilloscopes.clear()}removeOscilloscope(e){if(!this.oscilloscopes.has(e))throw new Error(`Oscilloscope with id ${e} does not exist.`);this.oscilloscopes.delete(e)}};var mce=L(Se()),jPo=L(Hr());var SQt=L(_Po());var Uu=L(z()),{locals:dan}=SQt.default,{property_panel:uan}=dan;var s4e="waveform_property_panel",pan=t=>{let{data:e}=t;Ae(SQt.default),(0,mce.useEffect)(()=>{bD.data=e},[e]);let i=(0,mce.useRef)(null),o=J();if((0,mce.useEffect)(()=>{if(i!=null&&i.current&&e!=null&&e.focus){let{propertyKey:y,propertyPanelId:w}=e.focus,x=JSON.parse(localStorage.getItem("propertyPanel"))||{};if(!x.morePropertiesShow){let S=i.current.querySelector("#"+"More Properties".replace(" ","_"));S&&(S.click(),x.morePropertiesShow=!0,localStorage.setItem("propertyPanel",JSON.stringify(x)))}setTimeout(()=>{var S;if(w===s4e){let T=(S=i==null?void 0:i.current)==null?void 0:S.querySelector(`input[name="${y}"]`);T&&T.focus()}})}}),!e)return(0,Uu.jsx)(Uu.Fragment,{});let{targetFilterBySelectedType:r,selectedTypes:n,focus:a,target:s,treeTarget:l,isFromTree:c,docType:d}=e,u=0;function p(y,w){y=ue.deepClone(y);let{headInfo:x,groups:S=[],target:T,targetFilterBySelectedType:M,selectedTypes:I,docType:A}=y;for(let E=0;E<S.length;E++){let{title:N,content:R}=S[E];switch(N){case"Basic Properties":{let{data:v}=R;if(v=han(v),I!=null&&I.includes("table")&&I.length===1){let k=Vo();S[E].content=(0,Uu.jsx)(Uu.Fragment,{children:(0,Uu.jsx)(Zu,{disabled:v[0].valueDisabled&&v[1].valueDisabled,widthProperty:v[0],heightProperty:v[1],inputUnit:k,onChange:m,needExchange:!1,beforeInputChildren:()=>(0,Uu.jsx)(M3,{propertyPanelId:s4e})})});break}if(I!=null&&I.includes("ellipse")&&I.length===1){let k=Vo();S[E].content=(0,Uu.jsxs)(Uu.Fragment,{children:[D(N,v.slice(0,2)),(0,Uu.jsx)(Zu,{disabled:v[2].valueDisabled&&v[3].valueDisabled,widthProperty:v[2],heightProperty:v[3],inputUnit:k,onChange:m,needExchange:!1}),D(N,v.slice(4))]});break}S[E].content=(0,Uu.jsx)(Uu.Fragment,{children:D(N,v)});break}case"Text Attributes":{let{data:v}=R;S[E].content=(0,Uu.jsx)(Uu.Fragment,{children:D(N,v)});break}case"Simulation Properties":{let{data:v}=R;S[E].content=(0,Uu.jsx)(Uu.Fragment,{children:D(N,v)});break}case"More Properties":{let{data:v}=R;if(v.length>0){let k=v.findIndex(P=>P.valueType==="addParamSelector");if(k>=0){let{valueType:P,valueDisabled:O,valueOptions:_}=v[k];v.splice(k,1),S4(v),S[E].content=(0,Uu.jsx)(Uu.Fragment,{children:D(N,v)}),S[E].after=(0,Uu.jsx)(Gf,{disabled:O,list:_,onAddProperty:f})}else v=S4(v),S[E].content=(0,Uu.jsx)(Uu.Fragment,{children:D(N,v)})}else S[E].content=(0,Uu.jsx)(Uu.Fragment,{});break}default:S[E].content=(0,Uu.jsx)(Uu.Fragment,{});break}}return y;function D(E,N){let R=[];for(let v=0;v<N.length;v++){let{valueType:k,valueDisabled:P}=N[v];k==="button"?R.push((0,Uu.jsx)(Me,{onClick:()=>{P||w()},style:{margin:"0 8px 8px",width:"calc(100% - 16px)"},disabled:P,children:"Reset Default Style"},k+"-"+v)):R.push((0,Uu.jsx)(gD,{index:u,...N[v],groupTitle:E},v)),u++}return R}}let m=(y,w,x)=>{let S={};for(let T of Object.keys(r||{})){let M={};for(let I=0;I<r[T].length;I++){let A=r[T][I];M[A]=y}S[T]=M}C.messageBus.publish("sim/renderWaveformPropertyPanel",{target:s,docType:d,treeTarget:l,selectedTypes:n,isFromTree:c,data:S,...x})},h=y=>{C.messageBus.publish("sim/renderWaveformPropertyPanel",{target:s,docType:d,treeTarget:l,isFromTree:c,selectedTypes:y,isSelectedTypeChange:!0})},f=y=>{let w={};for(let x of Object.keys(r||{})){let S={};for(let T=0;T<r[x].length;T++){let M=r[x][T];S[M]=y}w[x]=S}C.messageBus.publish("sch/addProperty",{selectedType:n,target:s,docType:d,treeTarget:l,isFromTree:c,data:w,focus:{propertyKey:Object.keys(y||{})[0],propertyPanelId:s4e}})},g=()=>{let{groups:y}=e,w={},x={};for(let S=0;S<y.length;S++)switch(y[S].title){case"Basic Properties":case"Cell Attributes":case"Text Attributes":{let T=y[S].content.data;for(let M=0;M<T.length;M++)Xs(T[M],"defaultValue")&&(w[T[M].propertyKey]={value:null},x[T[M].propertyKey]=T[S]);break}}m(w,x)},b=()=>{let{groups:y,selectedTypes:w}=e;if(w!=null&&w.includes("table")&&w.length===1)g();else for(let x=0;x<y.length;x++)switch(y[x].title){case"Basic Properties":{let S=y[x].content.data,T={},M={};for(let I=0;I<S.length;I++)Xs(S[I],"defaultValue")&&(T[S[I].propertyKey]={value:null},M[S[I].propertyKey]=S[x]);m(T,M);break}}};return(0,Uu.jsx)(XP.Provider,{value:{onChange:m,onSelectedTypeChange:h,onAddProperty:f,propertyPanelId:s4e,selectedTypes:n,docType:d,target:s,targetFilterBySelectedType:r},children:(0,Uu.jsx)("div",{className:uan,id:s4e,children:(0,Uu.jsx)(tf,{propertyPanelId:s4e,...p(e,b),ref:i})})})},TQt;function man(t){let e=document.querySelector("#simulation-right-panel .waveform-attribute-property");TQt=TQt||(0,jPo.createRoot)(e),TQt.render((0,Uu.jsx)(mce.default.StrictMode,{children:(0,Uu.jsx)(pan,{data:t})}))}async function Pct(t){man(t)}function han(t){t.sort((n,a)=>n.isAttrParaKey&&!a.isAttrParaKey?-1:!n.isAttrParaKey&&a.isAttrParaKey?1:0);let e=t.findIndex(n=>!n.isAttrParaKey),i=t.slice(0,e),o=t.slice(e);S4(i);let r=i.findIndex(n=>n.propertyKey==="Name");if(r>0){let n=i[r];i[r]=i[0],i[0]=n}return t=i.concat(o),t}var aEe=class extends dae{static handleCompare(){it(this.originalDeviceStandardData,(e,i)=>{var n;let o=i["Supplier Part"],r=bh.supplierPartCache.get(o);if(o===""){if(i.deviceStandardizedRes="waitDistribution",i.recommendedDevices){let a=bh.supplierPartCache.get(i.recommendedDevices.matchComponentCode);a&&(a!=null&&a.attributes)?(i.recommendedDevices={...i.recommendedDevices,...a},i.recommendedDevices.Comment=i.recommendedDevices.attributes&&yfe(i.recommendedDevices.attributes.Name,i.recommendedDevices.attributes)||""):delete i.recommendedDevices}}else if(r){let a=r.attributes&&yfe(r.attributes.Name,r.attributes)||"";r.attributes&&(i.Comment===a||i.Comment===r.attributes.Value||i.Comment===r.attributes["Manufacturer Part"]||i.Comment===r.attributes.Device)&&i.Footprint===((n=r.footprint)==null?void 0:n.display_title)&&i.Manufacturer===r.attributes.Manufacturer&&i["Manufacturer Part"]===r.attributes["Manufacturer Part"]&&i.Supplier===r.attributes.Supplier&&(i.Value===""||!r.attributes.Value||r.attributes.Value&&i.Value!==""&&i.Value===r.attributes.Value)?(i.deviceStandardizedRes="perfetchMatch",i.recommendedDevices&&delete i.recommendedDevices):(i.deviceStandardizedRes="waitDetermined",i.recommendedDevices&&(i.recommendedDevices={...i.recommendedDevices,...r},i.recommendedDevices.Comment=a))}else if(i.deviceStandardizedRes="waitDetermined",i["Supplier Part"]!==""&&i.recommendedDevices){let a=bh.supplierPartCache.get(i.recommendedDevices.matchComponentCode);a&&(a!=null&&a.attributes)?i.recommendedDevices=a:delete i.recommendedDevices}if((i["Add into BOM"]==="no"||i.Check==="false")&&(i.deviceStandardizedRes="notCheck",i.recommendedDevices&&delete i.recommendedDevices),!i.designatorAndSymbolId){let a=[];it(i.Designator,(s,l,c)=>{a.push(`${l}#${c}#${i.symbolId[c]}#${i.tabIdArr[c]}`)}),i.designatorAndSymbolId=a}})}static async initData(e){It.getActiveTab(co.id).tabId==="device-standardization"&&(this.originalDeviceStandardData=e,this.handleCompare(),this.renderDom(),this.setAjaxSupplierPartData(),await this.getRecommendedDevicesData(),await this.getAjaxData(),this.handleCompare(),Cfe.setDevicesStandardizationRes(this.originalDeviceStandardData))}static async getDeviceStandardizationWaitDeterminedRes(e){try{let{data:i}=e;return this.originalDeviceStandardData=i,this.setAjaxSupplierPartData(),await bh.ajaxDeviceSearchByCode(this.ajaxSupplierPartData),this.handleCompare(),this.originalDeviceStandardData.filter(o=>o.deviceStandardizedRes==="waitDetermined")}catch(i){console.error(i)}}};function BPo(t=[]){for(let e=0;e<t.length;e++){let i=t[e];if(i.isError!==!0){if(!i.simmodelItemIdInit){i.isError=!0,i.bgColor=v3.bgColor,i.errorType=mH.NO_SIMMODEL.type,i.information=mH.NO_SIMMODEL.msg(i.designator);continue}i.isError=!1,i.bgColor=Pc().bgColor,i.errorType=mH.NORMAL.type,i.information=mH.NORMAL.msg()}}}async function fan(t,e,i,o){let{componentItem:r,pinList:n}=t,a={};if(o===ve.SIMULIDE_MODEL)a={...e.attributes,"Sim Model":r.uuid,"Sim Model Title":r.display_title,"Sim Model Path":r.path};else if(o===ve.NGSPICE_MODEL)a={...e.attributes,"NGSpice Model":r.uuid,"NGSpice Model Title":r.display_title,"NGspice Model Path":r.path};else{C.messageBus.publish("message",{type:"alert",message:"Dnt't have simModel Message!"});return}let s=e;if(i){let u=yr(e);s=await Ze.updateDevice({isProject:u===C.currentProject.projectId,path:u,uuid:e.uuid,device:{data:{attributes:a}}})}else s.attributes=a;let l=JSON.parse(JSON.stringify(s)),c=he.getActiveTab();n.forEach(u=>{let p={},m={},h={},f=u.$id;if(o===ve.NGSPICE_MODEL){let g=u.pinNgName;g==="Not Connected"&&(g=""),m["NGspice Pin"]={value:g,keyName:"value"}}else{let g=u.pinSimName;g==="Not Connected"&&(g=""),m["Simulide Pin"]={value:g,keyName:"value"}}h[f]=m,p[c]=h,C.messageBus.publish("sch/setProperty",{data:p})});for(let u in l.attributes)u.startsWith("Sim Model")&&(e.attributes[u]=l.attributes[u]),u.startsWith("NGSpice Model")&&(e.attributes[u]=l.attributes[u]);await C.messageBus.rpcCall("sch/setDeviceAttributes",{tabId:c,attributes:l.attributes}),await ei()&&(C.messageBus.publish("sch/renderSymbolPropertyPanel"),he.setTabUnSaved(c,!0))}var zPo={};async function FPo(t,e,i,o,r){let n=t&&typeof t=="object"&&t.attributes&&typeof t.attributes=="object"?t.attributes.Designator:"-",a=typeof t=="string"?t:e.deviceId||t.uuid,s;if(typeof t=="string"?s=await Ze.getDevice({isProject:zPo.path===C.currentProject.projectId,path:zPo.path,uuid:t}):s=t,!s){De({type:"info",msg:"Device details data does not exist"});return}let l=s.attributes||{},c=s.display_title,d=e,u={};if(d)try{let b=(await cI(d)).selectList;for(let y=0;y<b.length;y++){let w=b[y];u[w.value]=(await lI(d,y)).pinList}}catch(g){console.error(g)}let p=null;if(o===ve.NGSPICE_MODEL){let g=l["NGSpice Model Title"],b=l["NGspice Model Path"];p=await uge(g,b,o)}else if(o===ve.SIMULIDE_MODEL){let g=l["Sim Model Title"],b=l["Sim Model Path"];p=await uge(g,b,o)}let m=Mt(a||String(Math.random())),h=[m],f=[{$id:m,callScenType:"SYMBOL_EDIT",deviceId:a,checked:!0,designator:n,information:mH.NORMAL.msg(),partPinMatchMap:{},pinHashtable:u,comment:"",partIndex:1,footprintItem:null,footprintItemTitle:"",symbolItem:d,symbolItemTitle:"",d3modelItem:null,d3modelItemTitle:"",d3modelItemTransform:"",simmodelItem:p,simmodelItemTitle:(p||{}).display_title||"",simmodelItemIdInit:p?p.uuid:"",deviceItemTitle:c,isError:!1,errorType:mH.NORMAL.type,bgColor:Pc().bgColor}];BPo(f),await J7t({callScenType:"SYMBOL_EDIT",path:"",doctype:o,searchInputValue:"",deviceList:f,deviceListSelectedIds:h,wantSelectedLibItemId:"",isFromProject:!1,onDialogOpen(){},onDialogCancel(){},onDialogClose(){},onDialogClosed(){},async onDialogConfirm(g){fan(g,s,!1,o);let{componentItem:b}=g,y={id:b.uuid,name:b.display_title};r&&r(y)}})}var hce=L(Se()),HPo=L(Hr());var IQt=L(VPo());var Ha=L(z()),{locals:gan}=IQt.default,{property_panel:ban}=gan;var l4e="Simulide_property_panel",yan=t=>{let{data:e}=t;Ae(IQt.default),(0,hce.useEffect)(()=>{bD.data=e},[e]);let i=(0,hce.useRef)(null),o=J();if((0,hce.useEffect)(()=>{if(i!=null&&i.current&&e!=null&&e.focus){let{propertyKey:w,propertyPanelId:x}=e.focus,S=JSON.parse(localStorage.getItem("propertyPanel"))||{};if(!S.morePropertiesShow){let T=i.current.querySelector("#"+"More Properties".replace(" ","_"));T&&(T.click(),S.morePropertiesShow=!0,localStorage.setItem("propertyPanel",JSON.stringify(S)))}setTimeout(()=>{var T;if(x===l4e){let M=(T=i==null?void 0:i.current)==null?void 0:T.querySelector(`input[name="${w}"]`);M&&M.focus()}})}}),!e)return(0,Ha.jsx)(Ha.Fragment,{});let{targetFilterBySelectedType:r,selectedTypes:n,focus:a,target:s,treeTarget:l,isFromTree:c,docType:d}=e,u=0;function p(w,x,S){w=ue.deepClone(w);let{headInfo:T,groups:M=[],target:I,targetFilterBySelectedType:A,selectedTypes:D,docType:E}=w;D!=null&&(D.includes("part")?w.groups=M.filter(R=>R.title==="Simulation Properties"):D.includes("pin")&&(w.groups=M.filter(R=>R.title==="Basic Properties"||"More Properties"))),M=w.groups;for(let R=0;R<M.length;R++){let{title:v,content:k}=M[R];switch(v){case"Select Object":{let{types:P,selectedType:O}=k;M[R].content=(0,Ha.jsx)(kq,{types:P,selectedTypes:O,onSelectedTypeChange:h});break}case"Basic Properties":{let{data:P}=k;if(P=Can(P),D!=null&&D.includes("table")&&D.length===1){let O=Vo();M[R].content=(0,Ha.jsx)(Ha.Fragment,{children:(0,Ha.jsx)(Zu,{disabled:P[0].valueDisabled&&P[1].valueDisabled,widthProperty:P[0],heightProperty:P[1],inputUnit:O,onChange:m,needExchange:!1,beforeInputChildren:()=>(0,Ha.jsx)(M3,{propertyPanelId:l4e})})});break}if(D!=null&&D.includes("ellipse")&&D.length===1){let O=Vo();M[R].content=(0,Ha.jsxs)(Ha.Fragment,{children:[N(v,P.slice(0,2)),(0,Ha.jsx)(Zu,{disabled:P[2].valueDisabled&&P[3].valueDisabled,widthProperty:P[2],heightProperty:P[3],inputUnit:O,onChange:m,needExchange:!1}),N(v,P.slice(4))]});break}M[R].content=(0,Ha.jsx)(Ha.Fragment,{children:N(v,P)});break}case"Cell Attributes":{let{data:P}=k,O=Vo();M[R].content=(0,Ha.jsxs)(Ha.Fragment,{children:[(0,Ha.jsx)(Zu,{disabled:P[0].valueDisabled&&P[1].valueDisabled,widthProperty:P[0],heightProperty:P[1],inputUnit:O,onChange:m,needExchange:!1}),P.slice(2).map((_,j)=>(0,Ha.jsx)(gD,{..._,groupTitle:v},j))]});break}case"Text Attributes":{let{data:P}=k;M[R].content=(0,Ha.jsx)(Ha.Fragment,{children:N(v,P)});break}case"Drawing":{let{data:P}=k;if(P.length===1)M[R].content=(0,Ha.jsx)(Ha.Fragment,{children:N(v,P)});else{let O=Vo();M[R].content=(0,Ha.jsxs)(Ha.Fragment,{children:[N(v,P.slice(0,2)),(0,Ha.jsx)(Zu,{disabled:P[2].valueDisabled&&P[3].valueDisabled,widthProperty:P[2],heightProperty:P[3],inputUnit:O,onChange:m})]})}break}case"Drawing Border":{let{data:P}=k,O=Vo();M[R].content=(0,Ha.jsxs)(Ha.Fragment,{children:[N(v,P.slice(0,3)),(0,Ha.jsx)(Zu,{disabled:P[3].valueDisabled&&P[4].valueDisabled,widthProperty:P[3],heightProperty:P[4],inputUnit:O,onChange:m}),N(v,P.slice(5))]});break}case"Title Block":{let{data:P}=k,O=P.find(j=>j.propertyKey==="@Assembly Variant");O&&(O.value=o(O.value));let _=P.findIndex(j=>j.valueType==="addParamSelector");if(_>=0){let{valueType:j,valueDisabled:B,valueOptions:V}=P[_];P.splice(_,1),M[R].content=(0,Ha.jsx)(Ha.Fragment,{children:N(v,P)}),M[R].after=(0,Ha.jsx)(Gf,{disabled:B,list:V,onAddProperty:f})}else M[R].content=(0,Ha.jsx)(Ha.Fragment,{children:N(v,P)});break}case"Key Properties":{let{data:P}=k;M[R].content=(0,Ha.jsx)(Ha.Fragment,{children:N(v,P)});break}case"Simulation Properties":{let{data:P}=k;M[R].content=(0,Ha.jsx)(Ha.Fragment,{children:N(v,P)});break}case"More Properties":{let{data:P}=k;if(P.length>0){let O=P.findIndex(_=>_.valueType==="addParamSelector");if(O>=0){let{valueType:_,valueDisabled:j,valueOptions:B}=P[O];P.splice(O,1),S4(P),M[R].content=(0,Ha.jsx)(Ha.Fragment,{children:N(v,P)}),M[R].after=(0,Ha.jsx)(Gf,{disabled:j,list:B,onAddProperty:f})}else P=S4(P),M[R].content=(0,Ha.jsx)(Ha.Fragment,{children:N(v,P)})}else M[R].content=(0,Ha.jsx)(Ha.Fragment,{});break}case"Group":{let{data:P}=k;M[R].content=(0,Ha.jsx)(Ha.Fragment,{children:N(v,P)});break}case"Reuse Block":{let{data:P}=k;M[R].content=(0,Ha.jsx)(Ha.Fragment,{children:N(v,P)});break}default:M[R].content=(0,Ha.jsx)(Ha.Fragment,{});break}}return w;function N(R,v){let k=[];for(let P=0;P<v.length;P++){let{valueType:O,valueDisabled:_}=v[P];O==="button"?v[P].value==="Editor Simulation Pins"?k.push((0,Ha.jsx)(Me,{onClick:()=>{_||S(A)},style:{margin:"0 8px 8px",width:"calc(100% - 16px)"},disabled:_,children:"Editor Simulation Pins"},O+"-"+P)):k.push((0,Ha.jsx)(Me,{onClick:()=>{_||x()},style:{margin:"0 8px 8px",width:"calc(100% - 16px)"},disabled:_,children:"Reset Default Style"},O+"-"+P)):k.push((0,Ha.jsx)(gD,{index:u,...v[P],groupTitle:R},P)),u++}return k}}let m=(w,x,S)=>{let T={};for(let M of Object.keys(r||{})){let I={};for(let A=0;A<r[M].length;A++){let D=r[M][A];I[D]=w}T[M]=I}C.messageBus.publish("sch/setProperty",{target:s,docType:d,treeTarget:l,selectedTypes:n,isFromTree:c,data:T,...S})},h=w=>{C.messageBus.publish("sch/renderPropertyPanel",{target:s,docType:d,treeTarget:l,isFromTree:c,selectedTypes:w,isSelectedTypeChange:!0})},f=w=>{let x={};for(let S of Object.keys(r||{})){let T={};for(let M=0;M<r[S].length;M++){let I=r[S][M];T[I]=w}x[S]=T}C.messageBus.publish("sch/addProperty",{selectedType:n,target:s,docType:d,treeTarget:l,isFromTree:c,data:x,focus:{propertyKey:Object.keys(w||{})[0],propertyPanelId:l4e}})},g=()=>{let{groups:w}=e,x={},S={};for(let T=0;T<w.length;T++)switch(w[T].title){case"Basic Properties":case"Cell Attributes":case"Text Attributes":{let M=w[T].content.data;for(let I=0;I<M.length;I++)Xs(M[I],"defaultValue")&&(x[M[I].propertyKey]={value:null},S[M[I].propertyKey]=M[T]);break}}m(x,S)},b=async w=>{let x=w[gi()][0],S=await C.messageBus.rpcCall("getSimulationPinSelectData",x);et("editor_simualtion_pins",S.message)},y=()=>{let{groups:w,selectedTypes:x}=e;if(x!=null&&x.includes("table")&&x.length===1)g();else for(let S=0;S<w.length;S++)switch(w[S].title){case"Basic Properties":{let T=w[S].content.data,M={},I={};for(let A=0;A<T.length;A++)Xs(T[A],"defaultValue")&&(M[T[A].propertyKey]={value:null},I[T[A].propertyKey]=T[S]);m(M,I);break}}};return(0,Ha.jsx)(XP.Provider,{value:{onChange:m,onSelectedTypeChange:h,onAddProperty:f,propertyPanelId:l4e,selectedTypes:n,docType:d,target:s,targetFilterBySelectedType:r},children:(0,Ha.jsx)("div",{className:ban,id:l4e,children:(0,Ha.jsx)(tf,{propertyPanelId:l4e,...p(e,y,b),ref:i})})})},MQt;function wan(t){let e=document.querySelector("#simulation-right-panel .simulide-attribute-property");MQt=MQt||(0,HPo.createRoot)(e),MQt.render((0,Ha.jsx)(hce.default.StrictMode,{children:(0,Ha.jsx)(yan,{data:t})}))}async function Rct(t){wan(t)}function Can(t){t.sort((n,a)=>n.isAttrParaKey&&!a.isAttrParaKey?-1:!n.isAttrParaKey&&a.isAttrParaKey?1:0);let e=t.findIndex(n=>!n.isAttrParaKey),i=t.slice(0,e),o=t.slice(e);S4(i);let r=i.findIndex(n=>n.propertyKey==="Name");if(r>0){let n=i[r];i[r]=i[0],i[0]=n}return t=i.concat(o),t}var fce=L(Se()),WPo=L(Hr());var EQt=L(YPo());var h6=L(z()),{locals:xan}=EQt.default,{property_panel:Tan}=xan,DQt=class extends qe{constructor(){super(...arguments);this.data=null}update(i){this.data=i,this.notify()}updateOneproperty(i){if(i.hasOwnProperty("Simulation Speed")||i.hasOwnProperty("Current Speed")){let o=this.data.groups[0].content.data,r=Object.keys(i)[0],n=o.findIndex(a=>a.propertyKey===r);this.data.groups[0].content.data[n].value=i[r].value,QPo(this.data)}}};var LQt=new DQt,jct="Speed_property_panel";var San=t=>{let{data:e}=t;Ae(EQt.default),(0,fce.useEffect)(()=>{LQt.data=e});let i=(0,fce.useRef)(null),o=J();if((0,fce.useEffect)(()=>{if(i!=null&&i.current&&e!=null&&e.focus){let{propertyKey:y,propertyPanelId:w}=e.focus;setTimeout(()=>{var x;if(w===jct){let S=(x=i==null?void 0:i.current)==null?void 0:x.querySelector(`input[name="${y}"]`);S&&S.focus()}})}}),!e)return(0,h6.jsx)(h6.Fragment,{});let{targetFilterBySelectedType:r,selectedTypes:n,focus:a,target:s,treeTarget:l,isFromTree:c,docType:d}=e,u=0;function p(y,w){y=ue.deepClone(y);let{headInfo:x,groups:S=[],target:T,targetFilterBySelectedType:M,selectedTypes:I,docType:A}=y;for(let E=0;E<S.length;E++){let{title:N,content:R}=S[E];switch(N){case"SimConfigs":{let{data:v}=R;S[E].content=(0,h6.jsx)(h6.Fragment,{children:D(N,v)})}case"SimulationSettings":{let{data:v}=R;S[E].content=(0,h6.jsx)(h6.Fragment,{children:D(N,v)});break}}}return y;function D(E,N){let R=[];for(let v=0;v<N.length;v++){let{valueType:k,valueDisabled:P,propertyKey:O}=N[v];k==="button"?R.push((0,h6.jsx)(Me,{onClick:()=>{P||w()},style:{margin:"0 8px 8px",width:"calc(100% - 16px)"},disabled:P,children:"Reset Default Style"},k+"-"+v)):R.push((0,h6.jsx)(gD,{index:u,...N[v],groupTitle:E},v)),u++}return R}}let m=(y,w,x)=>{var S,T;C.messageBus.publish("setSpeed_simulide",y),y.hasOwnProperty("Simulation Speed")?(S=y["Simulation Speed"])!=null&&S.changed||LQt.updateOneproperty(y):y.hasOwnProperty("Current Speed")&&((T=y["Current Speed"])!=null&&T.changed||LQt.updateOneproperty(y))},h=y=>{},f=y=>{let w={};for(let x of Object.keys(r||{})){let S={};for(let T=0;T<r[x].length;T++){let M=r[x][T];S[M]=y}w[x]=S}},g=()=>{let{groups:y}=e,w={},x={};for(let S=0;S<y.length;S++)switch(y[S].title){case"Basic Properties":case"Cell Attributes":case"Text Attributes":{let T=y[S].content.data;for(let M=0;M<T.length;M++)Xs(T[M],"defaultValue")&&(w[T[M].propertyKey]={value:null},x[T[M].propertyKey]=T[S]);break}}m(w,x)},b=()=>{let{groups:y,selectedTypes:w}=e;if(w!=null&&w.includes("table")&&w.length===1)g();else for(let x=0;x<y.length;x++)switch(y[x].title){case"Basic Properties":{let S=y[x].content.data,T={},M={};for(let I=0;I<S.length;I++)Xs(S[I],"defaultValue")&&(T[S[I].propertyKey]={value:null},M[S[I].propertyKey]=S[x]);m(T,M);break}}};return(0,h6.jsx)(XP.Provider,{value:{onChange:m,onSelectedTypeChange:h,onAddProperty:f,propertyPanelId:jct,selectedTypes:n,docType:d,target:s,targetFilterBySelectedType:r},children:(0,h6.jsx)("div",{className:Tan,id:jct,children:(0,h6.jsx)(tf,{propertyPanelId:jct,...p(e,b),ref:i})})})},vQt;function QPo(t){let e=document.querySelector("#simulation-right-panel .simulide-config-property");vQt=vQt||(0,WPo.createRoot)(e),vQt.render((0,h6.jsx)(fce.default.StrictMode,{children:(0,h6.jsx)(San,{data:t})}))}async function Bct(t){QPo(t)}var AQt=class{constructor(){this.activeCount=0;this.mouseClickCount=0;this.keyPressCount=0;this._isActive=!0;this.timeout1=840*1e3;this.timeout2=900*1e3}get isActive(){return this._isActive}set isActive(e){this._isActive=e}initializeEventListeners(){let e=c=>{this.activity("mouse",`\u9F20\u6807\u79FB\u52A8: X=${c.clientX}, Y=${c.clientY}`)},i=c=>{let d=this.getMouseButtonName(c.button);this.mouseClickCount++,this.activity("mouse",`\u9F20\u6807\u6309\u4E0B: ${d}`),this.updateDisplay()},o=c=>{let d=this.getMouseButtonName(c.button);this.activity("mouse",`\u9F20\u6807\u91CA\u653E: ${d}`)},r=c=>{let d=c.deltaY>0?"\u5411\u4E0B":"\u5411\u4E0A";this.activity("mouse",`\u9F20\u6807\u6EDA\u8F6E: ${d}\u6EDA\u52A8`)},n=c=>{this.activity("mouse","\u5524\u8D77\u53F3\u952E\u83DC\u5355")},a=c=>{this.activity("mouse",`\u53CC\u51FB\u4E8B\u4EF6: X=${c.clientX}, Y=${c.clientY}`),this.updateDisplay()},s=c=>{this.keyPressCount++;let d=this.getKeyboardModifiers(c),u=d?`${d}+${c.key}`:c.key;this.activity("keyboard",`\u6309\u952E\u6309\u4E0B: ${u} (Code: ${c.code})`),this.updateDisplay()},l=c=>{let d=this.getKeyboardModifiers(c),u=d?`${d}+${c.key}`:c.key;this.activity("keyboard",`\u6309\u952E\u91CA\u653E: ${u}`)};return document.addEventListener("mousemove",e),document.addEventListener("mousedown",i),document.addEventListener("mouseup",o),document.addEventListener("wheel",r),document.addEventListener("contextmenu",n),document.addEventListener("dblclick",a),document.addEventListener("keydown",s),document.addEventListener("keyup",l),()=>{document.removeEventListener("mousemove",e),document.removeEventListener("mousedown",i),document.removeEventListener("mouseup",o),document.removeEventListener("wheel",r),document.removeEventListener("contextmenu",n),document.removeEventListener("dblclick",a),document.removeEventListener("keydown",s),document.removeEventListener("keyup",l)}}getMouseButtonName(e){switch(e){case 0:return"\u5DE6\u952E";case 1:return"\u4E2D\u952E";case 2:return"\u53F3\u952E";default:return`\u6309\u952E${e}`}}getKeyboardModifiers(e){let i=[];return e.ctrlKey&&i.push("Ctrl"),e.altKey&&i.push("Alt"),e.shiftKey&&i.push("Shift"),e.metaKey&&i.push("Meta"),i.length>0?i.join("+"):""}getTimestamp(){return new Date().toLocaleTimeString()}activity(e,i){if(!this.isMonitoring)return;let o=this.getTimestamp();this.isActive=!0,this.activeCount++,console.debug(`[\u7F16\u8F91\u5668\u8FDB\u5165\u6D3B\u8DC3\u72B6\u6001] - [${o}] ${e.toUpperCase()}: ${i}`,"\u6D3B\u8DC3\u6B21\u6570\u7EDF\u8BA1",this.activeCount),clearTimeout(this.timer1),clearTimeout(this.timer2),this.timer1=null,this.timer2=null,this.inactivity()}inactivity(){this.timer1=setTimeout(async()=>{console.log("[\u7F16\u8F91\u5668\u5373\u5C06\u8FDB\u5165\u5931\u6D3B\u72B6\u6001] - [\u5F3A\u5236\u4FDD\u5B58]"),await this.save()},this.timeout1),this.timer2=setTimeout(async()=>{this.isActive=!1,console.warn("[\u7F16\u8F91\u5668\u8FDB\u5165\u5931\u6D3B\u72B6\u6001]",this.isActive)},this.timeout2)}sleep(){}async save(){try{await xl().then(()=>{console.log("[\u5931\u6D3B\u524D\u7684\u4FDD\u5B58\u6210\u529F]")},e=>{console.error("[\u5931\u6D3B\u524D\u7684\u4FDD\u5B58\u5931\u8D25]",e)})}catch(e){console.error("[\u5931\u6D3B\u524D\u7684\u4FDD\u5B58\u5931\u8D25]",e.message)}}updateDisplay(){console.debug(`\u7EDF\u8BA1\u4FE1\u606F - \u9F20\u6807\u70B9\u51FB: ${this.mouseClickCount}, \u952E\u76D8\u6309\u952E: ${this.keyPressCount}, \u603B\u6D3B\u52A8: ${this.mouseClickCount+this.keyPressCount}`)}startMonitoring(){this.isMonitoring=!0,console.warn("\u8F93\u5165\u8BBE\u5907\u76D1\u542C\u5DF2\u542F\u52A8")}async init(){if(!_t)return;let e=await Ol.get(C.apis.others.orgInfo,{});if(e.success===!1)return;let{type:i}=e.result;i!=="static"&&(this.removeEventListener=this.initializeEventListeners(),this.startMonitoring(),this.inactivity())}stopMonitoring(){this.isMonitoring=!1,console.warn("\u8F93\u5165\u8BBE\u5907\u76D1\u542C\u5DF2\u505C\u6B62")}destory(){this.stopMonitoring(),this.removeEventListener(),clearTimeout(this.timer1),clearTimeout(this.timer2),this.timer1=null,this.timer2=null,this.activeCount=0,this.mouseClickCount=0,this.keyPressCount=0,console.log("\u7EDF\u8BA1\u5DF2\u6E05\u7A7A")}},c4e=new AQt;self.monitor=c4e;var Man={"-openDoc":yn,"-openWaveform":nLo,"-openscope":rLo,"-openPcbByUUid":async function(t){return await Ud(t.uuid,(t==null?void 0:t.options)||{})},onDocFocus:async function(t){var a;let{tabId:e,docType:i}=t,o=he.currentTabId,r=e=="tab_page1",n=he.getTabContainer(e);if(he.activeContainer(n),n&&It.setBelongActiveOrder(he.belongContainer,e),he.currentTabId!==e){he.currentTabId=e,r&&await xko(),lue(),wi||he.updateWindowTitle(e),C.messageBus.publish("updateSG"),[ve.PANEL3D,ve.VIEW3D,ve.PHOTOVIEW,ve.HOME].includes(i)||await O4(),i===ve.BLANKTAB&&C.messageBus.publish("applySelectFilter");let s=ZT.getCurPcbLayerBarByIframe(e);(s==null?void 0:s.containerId)!==((a=C.pcbLayersBar)==null?void 0:a.containerId)&&(C.pcbLayersBar=s),C.messageBus.publish("updateIFrameState",{head:{doctype:i,from:o,to:e},body:{active:!0}}),he.onSelect(e),he.$emit(r2.TOGGLE_TAB_ACTIVE,{tabid:e,docType:i}),i==ve.PANEL3D&&he.$emit(r2.PANEL3D_TAB_ACTIVE,{tabid:e,fromTab:o,docType:i}),C.messageBus.publish("tabChange",{fromTab:o,tabId:e,docType:i}),C.messageBus.publish("setSchTabActive",[e,o,i]),C.messageBus.publish("setPanelTabActive",{fromTab:o,tabId:e,docType:i}),C.messageBus.publish("setSimlationTabActive",[o,e,i]),C.messageBus.publish("setWaveformTabActive",[o,e,i]),Ga.renderAll()}},[s0.OPENED_PROJECT]:t=>{$a.leftPanelOnClick(Za.PROJECT_DESIGN)},[s0.ON_OPENED]:async t=>{var m;let{uuid:e,options:i,data:o}=t;if(await Rl.init(e),C.loginedUserInfo){let{uuid:h,nickname:f,username:g,avatar:b}=C.loginedUserInfo;DPo(e,e,{uuid:h,nickname:f,username:g,avatar:b})}if(ln.isViewerMode&&(!o.publish||!o.public))return Dt({title:"Notice",content:"The project doesn't exist or has no permission to preview.",showCancel:!1,showConfirm:!1,esc:!1,closed:!1});C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.PROJECT_OPEN,content:{},project_uuid:C.currentProject.projectId}]),C.messageBus.publish("sch/openProject",{...o}),C.messageBus.publish("openProjectInitCompleted",!0),uc.topMenuShow=!0,uc.refreshView();let{message:r}=await C.messageBus.rpcCall($e.PROJECT.GET,[C.currentProject.projectId]);wi&&!Je&&await PZ(void 0,r.name),r.archive!==C.archive&&(C.archive=r.archive),r.store!==C.store&&(C.store=r.store),Je&&(C.offLineClientReadOnly=!!o.readOnly),await V3(),zu.leftTreeInDoctype=Gle,sessionStorage.removeItem("activeLeftTabInDoc");let n=sessionStorage.getItem("activeTab");(!n||!location.href.includes(n))&&await he.createBlankTab(r.name),await new $ye().compare(C.currentProject.projectId),rdi(),It.setTabDisplayNone($a.leftPanelTabBarId,Za.PROJECT_DESIGN,!1),$a.leftPanelOnClick(Za.PROJECT_DESIGN),uAt(C.currentProject.title),await C.messageBus.rpcCall("prjInit",e),await DEo(),SP.hasTask()&&await SP.flushTasks();let l=hn("SYSTEM").isShowSymbol;C.messageBus.publish("setAbnormalDataTimer",0),l&&cW({params:{needUpdateSymbolData:!1,silentIfNone:!0},args:{initPrj:!0}}),(0,Lf.default)('#dlgbtmbarClassificationContainer [data-classification="System"]').trigger("click"),C.messageBus.publish("toggleBottomBarProjectLib",!0),C.messageBus.publish("updateBoardOption"),C.messageBus.publish("updateCursorIcon",{cmdToken:null}),C.messageBus.publish("updateRecentList"),(m=C.currentProject)!=null&&m.branchUuid&&C.messageBus.publish("updateRecentVersionList"),C.messageBus.publish("loadProjectCompleted",null);let c=[];C.sessionStorageTabs&&C.sessionStorageTabs.size>0&&(c=[...C.sessionStorageTabs]);let d=[],u=new Set;Ts(),c.length>0&&await O4({isHome:!1,needSelect:!0});for(let h of c){let f=cn.parseURLTabId(h),{uuid:g,path:b,deviceUuid:y,isSymbol:w}=f,x=f.isActive&&!he.initContainerTree;if((await C.messageBus.rpcCall($e.SHEET.GET,[g,C.currentProject.projectId])).message||ol(g)){Nl&&d.push(yn({uuid:g,path:b,lazy:!x,hooks:{afterTabActive:()=>{et("updateSchematicNetPort")}},checkOpenMultiTab:!1}));continue}let{message:T}=await C.messageBus.rpcCall($e.PCB.GET,[g,C.currentProject.projectId]);if(T){Eu&&d.push(Ud(g,{lazy:!(x||mPo(g,c)),checkOpenMultiTab:!1}));continue}let{message:M}=await C.messageBus.rpcCall($e.PANEL.GET,[g,C.currentProject.projectId]);if(M){Vw&&d.push(yn({uuid:g,lazy:!x,checkOpenMultiTab:!1}));continue}w?e===b&&d.push(yn({uuid:g,path:b,lazy:!x,deviceUuid:y,checkOpenMultiTab:!1})):d.push(yn({uuid:g,path:b,lazy:!x,checkOpenMultiTab:!1}))}Promise.all(d).finally(()=>{he.isOpenProjectDoc=!0,he.restoreLayout(),Zr(),ri.reset(),C.messageBus.publish("assemblyVariantInit"),wte.init(),C.urlCmd&&(p(C.urlCmd),C.urlCmd=null),sce.instance.tryShow({from:"openProject"})});function p(h){let f;switch(C.urlCmd){case"projectSaveAsCloud":f={isFrom:"saveProjectFile"};break}et(C.urlCmd,f)}},[s0.ON_CLOSED]:async()=>{Gte.selectedRepeaterInstance.destroy(),o3.clearUserInfo()},[Xy.ON_TEMP_OPENED]:async function(t){let{uuid:e,title:i,cbb_project:o}=t;C.currentProject={projectId:e,title:i,isCBB:o,settings:await new ble(e).init()},C.messageBus.publish("sch/openProject",{...t}),C.messageBus.publish("openProjectInitCompleted",!0),uc.topMenuShow=!0,uc.refreshView();let{message:r}=await C.messageBus.rpcCall($e.PROJECT.GET,[C.currentProject.projectId]);wi&&!Je&&await PZ(void 0,r.name),r.archive!==C.archive&&(C.archive=r.archive),r.store!==C.store&&(C.store=r.store),await V3(),zu.leftTreeInDoctype=Gle,sessionStorage.removeItem("activeLeftTabInDoc"),await he.createBlankTab(r.name),await new $ye().compare(C.currentProject.projectId),It.setTabDisplayNone($a.leftPanelTabBarId,Za.PROJECT_DESIGN,!1),$a.leftPanelOnClick(Za.PROJECT_DESIGN),uAt(C.currentProject.title),await C.messageBus.rpcCall("prjInit",e);let{firstFirstPageId:a,doctype:s}=(await C.messageBus.rpcCall("getFirstPageData")).message;s===ve.PCB?Ud(a,{checkOpenMultiTab:!1}):yn({uuid:a}),(0,Lf.default)('#dlgbtmbarClassificationContainer [data-classification="System"]').trigger("click"),C.messageBus.publish("toggleBottomBarProjectLib",!0),C.messageBus.publish("updateBoardOption"),C.messageBus.publish("updateCursorIcon",{cmdToken:null}),C.messageBus.publish("loadProjectCompleted",null),sce.instance.tryShow({from:"openProject"})},[Xy.ON_TEMP_CLOSED]:function(t){Gte.selectedRepeaterInstance.destroy(),o3.clearUserInfo()},panelMessage:async t=>{t&&(t.title=me.i18n(t.title)),De({type:"info",msg:t&&t.msg})},[Ict.PROJECT.CREATE_SUCCEEDED]:async t=>{let{ownerSelectId:e,ownerBelongId:i,uuid:o}=t;!Je&&e&&i&&e!==i&&Vc(C.apis.folders.addProject,{parent_uuid:e,project_uuid:o},r=>{if(!r.success){De({type:"error",msg:r.message,timer:2.5});return}})},[Ict.PROJECT.CREATE_FAILED]:async t=>{},"/PRJMGR/CHECK_UPDATE_PCB":async t=>{DDe.pcbDocNeedUpdate(t,!0)},"/PRJMGR/CHECK_UPDATE_FOOTPRINT":async t=>{DDe.pcbDocNeedUpdate(t,!0)},"/PRJMGR/CHECK_UPDATE_DOC":async t=>{},[tT.SYMBOL.ON_UPDATE]:async t=>{C.projectSheets?C.projectSheets[t]=(await C.messageBus.rpcCall($e.SYMBOL.GET,[t,C.currentProject.projectId])).message:C.messageBus.publish("getProjectSheetSymbol")},[tT.PROJECT.ON_UPDATE]:async({ops:t,projectId:e})=>{var i,o;if(e===C.currentProject.projectId&&(t=(t==null?void 0:t.project)||(t==null?void 0:t.initPrj)||t,t.hasOwnProperty("projectName")&&C.messageBus.publish("updateRecentList"),t.hasOwnProperty("defaultSheet")&&await C.messageBus.rpcCall(Ei.PROJECT.UPDATE,{uuid:e,default_sheet:t.defaultSheet}),t.title)){let r=(t==null?void 0:t.project)||(t==null?void 0:t.initPrj)||t;r.title&&r.title!==C.currentProject.title&&(C.currentProject.title=r.title),r.cbb_project!==void 0&&r.cbb_project!==C.currentProject.isCBB&&(C.currentProject.isCBB=r.cbb_project),r.owner!==void 0&&(typeof r.owner=="string"?(C.currentProject.owner=r.owner,C.currentProject.ownerData&&(C.currentProject.ownerData.uuid=r.owner)):Object.prototype.toString.call(r.owner)==="[object Object]"&&(C.currentProject.owner=r.owner.uuid,C.currentProject.ownerData={nickname:r.owner.nickname,uuid:r.owner.uuid})),r.isPublic!==void 0&&r.isPublic!==C.currentProject.isPublic&&(C.currentProject.isPublic=r.isPublic),r.isPublish!==void 0&&r.isPublish!==C.currentProject.isPublish&&(C.currentProject.isPublish=r.isPublish),C.license=t.license||"",C.projectMembers=t.members,t.archive!==C.archive&&(C.archive=t.archive);let n=(i=t.boss)==null?void 0:i.nickname;n||(n=((o=t.members.find(s=>s.role===1))==null?void 0:o.nickname)||""),C.currentProject.projectManagerName=n,t.store!==C.store&&(C.store=t.store),zi.setProjectDetailCache(t,C.currentProject.projectId),await V3(),C.teams.find(s=>s.uuid==t.owner.uuid)&&zi.setTeamPermissionCaches(),iAo(t),Ga.updateCurrentPrjData(t)}},saveImportData:t=>{let{success:e,data:i}=t,{docType:o,dataStr:r,title:n,pre:a,fileName:s}=i;e?o==ve.PART||ve.FOOTPRINT||C.messageBus.publish("updateBatchExportInfo",{failedSave:n}):C.messageBus.publish("updateBatchExportInfo",{failedConvert:s})},"-createNew":async t=>{let{cmd:e,args:i}=t;return i=i||{},i.projectId=i.projectId||C.currentProject.projectId,e==="new_page"?(i.schematicId||(i.schematicId=await l1e()||""),i.schematicId||(e="new_schematic"),await C.messageBus.rpcCall("createNew_InSCH",{cmd:e,args:i})):await C.messageBus.rpcCall("createNew_InSCH",{cmd:e,args:i})},doCommand_panel:t=>{et(t.cmd,t.args)},doCommand_sch:t=>{et(t.cmd,t.args)},"-getEditorMainVersion":t=>(0,Lf.default)('meta[name="editorMainVersion"]').attr("content"),"-ui/getAllEnableLayer":async t=>{let e=await ei(),i;return e&&(i=(await C.windowBridge.rpcCall("pcb/getAllEnableLayer",t,e.contentWindow)).message),i},copy:t=>{et("copy")},paste:t=>{et("paste")},cut:t=>{et("cut")},logPublishProxy:t=>{let{type:e,msg:i,tabType:o,openTab:r}=t;Ot(e,i,o,r)},logI18nLogView:t=>{let{type:e,msg:i,tabType:o,openTab:r}=t;Ot(e,i.map(n=>Ti(n)),o,r)},logI18nLogView1:t=>{let{type:e,msg:i,tabType:o,openTab:r,timeStamp:n,onlyTranslateText:a}=t,s;a?s=i.map(l=>typeof l=="string"?Ti(l):{...l,text:Ti(l.text)}):s=i.map(l=>Ti(l.text,l.args)),Ot(e,s,o,r,n)},"-newDeviceBySymbolDataStr":async t=>await xEo(t),"-createBulkLibs2ProOnly":async t=>await cEi(t),"-createDeviceByLib":async t=>await aEi(t.libInfo,t.sortBy,t.user_uuid),"-getDeviceByComponent":async t=>await sEi(t),"-newDeviceByLib":async({libInfo:t})=>await Qme(t),"-createDeviceInProByLib":async t=>await IMt(t),"-existLibsAjaxDetails":async t=>{let{titles:e,type:i,docType:o,sortBy:r,user_uuid:n,path:a}=t;return await iH(e,i,o,r,n,a)},saveToServer:function(t){mt.saveToServer(t)},"-getBomGridData":function(){if(C.bomGrid&&C.bomGrid.data&&C.bomGrid.data.rows)return C.bomGrid.data.rows},updateTeamsInfo:t=>{kme(t)},"-getPanelFilterConfig":async t=>{var a,s,l,c,d;let e=((s=(a=C.profileSetting)==null?void 0:a.filterConfig)==null?void 0:s.panel)||{},o={...(await C.messageBus.rpcCall("/panel/filterConfigs")).message,...e},r=((l=JSON.parse(sessionStorage.getItem("panelFilterPanel_currentSelected")))==null?void 0:l[t])||{};return Xs(o,r.configName)?r:(d=(c=JSON.parse(localStorage.getItem("preferences")))==null?void 0:c.filterConfig)==null?void 0:d.panelConfigDefault},"-getPanelFilterConfigDetail":async t=>{var s,l,c,d,u;let e=((l=(s=C.profileSetting)==null?void 0:s.filterConfig)==null?void 0:l.panel)||{},o={...(await C.messageBus.rpcCall("/panel/filterConfigs")).message,...e},r=((c=JSON.parse(sessionStorage.getItem("panelFilterPanel_currentSelected")))==null?void 0:c[t])||{},n=Xs(o,r.configName)?r:(u=(d=JSON.parse(localStorage.getItem("preferences")))==null?void 0:d.filterConfig)==null?void 0:u.panelConfigDefault;n=n||{};let a=JSON.parse(sessionStorage.getItem("panelFilterPanelStore")||"{}")[t];return a||(a=o[n.configName||"Common"]),a},renderAttributeFilterPanel:async t=>{var u,p,m,h,f;let{docType:e,tabId:i,systemConfig:o,userConfig:r,currentConfig:n,currentSelected:a,configName:s}=t,l=((u=C.profileSetting)==null?void 0:u.filterConfig)||{},c,d;if(e==ve.SCH)d={systemConfig:(await C.messageBus.rpcCall("schFilterConfigs")).message,userConfig:l.sch||{}},c=l.schConfigDefault,(c==null?void 0:c.configName)==="ALL"&&(c==null?void 0:c.configType)==="systemConfig"&&(c={configName:"Common",configType:"systemConfig"}),Xv.update({defSelected:c,config:d,docType:e});else if([ve.PANEL,ve.PANEL_LIB].includes(e)){let g=(await C.messageBus.rpcCall("/panel/filterConfigs")).message;!a&&s&&(a={configName:s,configType:g[s]?"systemConfig":"userConfig"}),n=n||JSON.parse(sessionStorage.getItem("panelFilterPanelStore")||"{}")[i],a=a||JSON.parse(sessionStorage.getItem("panelFilterPanel_currentSelected")||"{}")[i]||((m=(p=C.profileSetting)==null?void 0:p.filterConfig)==null?void 0:m.panelConfigCurrent)||((f=(h=C.profileSetting)==null?void 0:h.filterConfig)==null?void 0:f.panelConfigDefault),d={systemConfig:g,userConfig:l.panel||{}},c=l.panelConfigDefault,(c==null?void 0:c.configName)==="ALL"&&(c==null?void 0:c.configType)==="systemConfig"&&(c={configName:"Common",configType:"systemConfig"}),Ivi({defSelected:c,config:d,docType:e,currentConfig:n,currentSelected:a})}else if(sue(e))d={systemConfig:(await C.messageBus.rpcCall("symbolFilterConfig")).message,userConfig:l.symbol||{}},c=l.symbolConfigDefault,(c==null?void 0:c.configName)==="ALL"&&(c==null?void 0:c.configType)==="systemConfig"&&(c={configName:"Common",configType:"systemConfig"}),eD.update({defSelected:c,config:d,docType:e});else if(e===ve.SHEET_SYMBOL)d={systemConfig:(await C.messageBus.rpcCall("sheetSymbolFilterConfig")).message,userConfig:l.sheetSymbol||{}},c=l.sheetSymbolConfigDefault,(c==null?void 0:c.configName)==="ALL"&&(c==null?void 0:c.configType)==="systemConfig"&&(c={configName:"Common",configType:"systemConfig"}),$v.update({defSelected:c,config:d,docType:e});else if(e===ve.PCB){d={systemConfig:o,userConfig:r},c=l.pcbConfigDefault,typeof c=="string"&&(c={configName:"Common",configType:"systemConfig"});let g=null;if(n){g=[];let b=["indepent","f2dline","d3shell","other","status"];for(let y of b)g.push(n[y])}PP.update({defSelected:c,config:d,docType:e,currentConfig:g,currentSelected:a})}else if(e===ve.FOOTPRINT){d={systemConfig:o,userConfig:r},c=l.footprintConfigDefault,typeof c=="string"&&(c={configName:"Common",configType:"systemConfig"});let g=null;if(n){g=[];let b=["indepent","f2dline"];for(let y of b)g.push(n[y])}kP.update({defSelected:c,config:d,docType:e,currentConfig:g,currentSelected:a})}},["-getPhysicalStackingConfig"]:(t=[])=>{let e=["Layer","Type","Material","Thickness(mm)","Permittivity","Loss Tangent"],i=t.map(r=>Object.values(r)),o=[e,...i];return o=o.map(r=>r.map(n=>typeof n=="string"&&n.startsWith("Dielectric")?me._context_i18n("pcb-layers","Dielectric{number}",{number:n.slice(10)}):me.i18n(""+n))),o},openDxfExportDlg:()=>{une({id:"exportDxf",title:"Export DXF",width:"750px"})},UIswitch3dView:t=>{$j.switchViewType(ue.isPlainObject(t)?t.message:t)},openFontDialog:()=>{Qc({menuSelected:"COMM_TYPEFACE"})},"-getPcbInfoByUuid":async t=>(await C.messageBus.rpcCall($e.PCB.GET,[t,C.currentProject.projectId])).message,"-fixD3ModelInfoByFootprintItem":async t=>{var o;let{footprintItem:e,isNeedFetchD3ModelItem:i}=t;return(o=await ue.getFootprint3DInfo(e.uuid,e.path,e.path===C.currentProject.projectId,i))==null?void 0:o.d3modelItemName},notifyPcbCrossProbe:async t=>{let{tabid:e,rules:i,editorOps:o,otherData:r}=t;if(r!=null&&r.isManualTrigger){let a=he.getActiveTab(),s="";for(let m of o.allRelatedPcbUuid){let h=lo(m,C.currentProject.projectId),f=await he.getTabIFrame(h),g=Object.values(mp.pcbIframes().activeIframes).includes(h);f&&(!s||g)&&(s=m)}let l;qL&&(l={checkOpenMultiTab:!1});let c=s||o.uuid,d=lo(c,C.currentProject.projectId),u=!(r!=null&&r.isCrossProbeTool&&!i.pins.length&&!i.parts.length&&!i.nets.length);Vr("frame_"+d)?i.pcbPlaceTransfer?(u&&await he.setTabActive(d),n()):(n(),u&&await he.setTabActive(d)):(u&&await Ud(c,l),n()),r!=null&&r.isCrossProbeTool&&!(r!=null&&r.isSplitScreen)&&he.setTabActive(a,!0)}else n();function n(){if(o!=null&&o.allRelatedPcbUuid)for(let a of o==null?void 0:o.allRelatedPcbUuid){let s=lo(a,C.currentProject.projectId);he.getTabIFrame(s).then(l=>{l&&C.windowBridge.publish("pcbCrossProbe",{...i,otherData:r},l.contentWindow)})}}},notifyPcbPlaceTransfer:async t=>{let{tabid:e,info:i,editorOps:o}=t,r=he.isHasTabById(e),n=he.getActiveTab();t.isOpen=r,t.fromTabId=n,C.windowBridge.publish("cross-window",{selectObj:t,cmd:"placeTransfer"},ko())},schRenderFilterConfig:t=>{let e=(0,Lf.default)("#dlgSelectFilter");(0,Lf.default)(".filterConfig",e).remove();let i=(0,Lf.default)("#filterController"),o=G9o.panelConfig(t.config),r=(0,Lf.default)(o).insertBefore(i);r.on("change",'[name="config"]',function(n){n.preventDefault(),n.stopPropagation(),C.messageBus.publish("filterConfig",this.value)}),r.on("click",'[name="reset"]',function(n){n.preventDefault(),n.stopPropagation(),C.messageBus.publish("filterConfig","Default")})},"-/pcb/bom/matcher/data":async()=>{let t=gi(),[e,i]=wr(t),o=await he.getTabIFrame(t),r=(await C.windowBridge.rpcCall("getPcbCrossProbeData",e,ko())).message,n=(await C.windowBridge.rpcCall("/pcb/3d/source",{withModel:!1,needPanelize:!1,withShell:!1,isColorfulSilk:!1},o.contentWindow)).message,a=(await C.windowBridge.rpcCall("getBoardNameByPcb",e,ko())).message,s=(await C.windowBridge.rpcCall("/pcb/bomMerge/source",{board:a,pcbName:r.currPcbData.displayTitle},o.contentWindow)).message,l=mt.getLanguage();return{web:n,bom_merge:s,language:l}},"-canAddLib":J6o,"ui/toastMsg":t=>{if(Xs(t,"msg"))return typeof t.msg!="string"&&Xs(t.msg,"text")&&Xs(t.msg,"i18nParam")&&(t.msg={value:t.msg.text,options:t.msg.i18nParam},(typeof t.msg.dataTestContent>"u"||t.msg.dataTestContent.trim()==="")&&(t.msg.dataTestContent=t.msg.value)),typeof t.msg!="object"&&!t.dataTestContent&&(t.dataTestContent=t.msg),De(t)},exportTimeOut:()=>Zme(),"-openUnableLayerObjDialog":async t=>await V9o(t),"pro-ui/showRepeatedNameLayers":t=>fct(t),"-connectPadsToMergeNet":async t=>await y9o(t),"-tipsModalBackToPcb":async t=>await h9o(t),"cross-window":t=>{var e=he.getActiveProject();let i=Pr.version.uuid,o=t.selectObj,r=(o==null?void 0:o.fromActiveFileId)||wa(),n=he.getTabDocType(o==null?void 0:o.fromActiveFileId)||dt();o!=null&&o.fromActiveFileId&&(o==null||delete o.fromActiveFileId);let a=t.otherData;a||(a={}),a.isSplitScreen=he.containerIds.length>1;let s=t.cmd,l=t.ticket||performance.now();if(o&&r&&e&&(Fh(n)||n==ve.PCB||n==ve.PART||n==ve.FOOTPRINT)){let d={cmd:s,data:{fromActiveProjectId:e,fromActiveFileId:r,fromActiveFileType:n,selectObj:o,otherData:a,ticket:l,fromVersion:i}};var c=new CustomEvent("sendBroadcastMessage",{detail:d});window.dispatchEvent(c)}},syncTreeSelected:t=>{requestAnimationFrame(()=>{SY.syncTreeSelected(t)})},BOMUploadedAndWillOpenLCSCOrderPage:t=>{Pl(t?"28":"2")},BOMUploadedAndWillOpenLCSCERP:()=>{Pl("3")},exportPanelProductionSVG:()=>{Pl("9")},panelOrderingGeneratedAndWillOpenOrderPage:()=>{Pl("10")},switchSymbolLibManage:ue.debounce(t=>{si.menuRefresh("top-menu-file-newFile"),si.menuRefresh("mm-common-tools"),jf.symbolModeUpdate(),It.setTabDisplayNone($a.libTabBarId,ar.ASSOCIATED_DEVICE,t==="1");let e=C.leftTreeActiveTab,i=C.leftLibDesignActiveTab;t==="1"&&e===Za.LIB_DESIGN&&i===ar.ASSOCIATED_DEVICE&&$a.libDesignTabOnClick(ar.PART_ATTR)},50),"pro-ui/showSymbolWizardDlg":t=>{NDe(t)},bottomBarLog:t=>{t2(t)},bottomBarLogGroupStart:t=>{tm(t||"Log").groupStart()},bottomBarLogGroupEnd:t=>{tm(t||"Log").groupEnd()},selectMaskShowChange:({isShow:t,param:e})=>{e.cmdKey=="table"&&(Cc.isShow!==t&&(Cc.isShow=t),!t&&C.messageBus.publish("hideBorderDropDownBox"))},addAnnotationBlock:({projectUuid:t=C.currentProject.projectId,path:e,objects:i,customArea:o})=>{Rx().addAnnotationBlock({projectUuid:t,path:e,objects:i,customArea:o})},selectAnnotationBlock:({uuid:t})=>{Rx().selectAnnotationBlock(t,!!t)},["-getShowAnnotation"]:()=>Rx().showCanvasAnnotation,["-getAllAnnotationBlock"]:({path:t})=>Rx().getAllAnnotationBlock(t),["-removeNewAnnotationBlock"]:()=>Rx().removeNewBlock(),["-setAnnotationTabActive"]:()=>Rx().setTabActive(),updateAnnotationBlockName:async t=>{let{uuid:e,nameMap:i}=t;Rx().updateDisplayObject(e,i)},"-getLocalFontsName":()=>[...C.localFontsName],"-/pro-ui/judgePermission":async t=>{let e=!0,i=!1;if(!t)return e;let{projectId:o,type:r,showErrorMsg:n}=t,a=t.errorMsg||"";if(!o||!r)return e;let s=await zi.getPermissionList(o);if(r==="project_locked")return{hasPermission:await QZ(o)!==0};if(r==="copy")return{hasPermission:!0};if(r==="project_pastingOtherDocumentToCurrentProject"){if(C.currentProject.isCBB?e=KW("update"):e=s?zi.hasPermission(s,Io.Doc_Pasting):!0,!e){let{inTheExam:l,correction_status:c}=await zi.getExamProjectStatus(o);n&&!a&&(l?a="Forbidden cross -engineering paste during the exam":c?a="Forbidden cross -engineering paste during the correction":a=me.i18n("No {0} permission,please contact project manager",[me.i18n("Cross -engineering paste")]))}}else if(r==="project_document_update"){let l=await Mv(s,n!=null?n:!1);e=l.hasPermission,i=l.isExamProjectAndEnd}return a&&De({type:"error",msg:a}),{hasPermission:e,isExamProjectAndEnd:i}},"-/pro-ui/getImageInfoByFilesForSch":t=>JCt(t),"/pro-ui/setImage":async t=>{let{src:e}=(await JCt([t]))[0];LDe(e,()=>{Ho.setTopBarItemChecked("insertImage")},{fileName:t.name})},"-/pro-ui/generatePreviewImage":async(t,e,i)=>{let o=new LD;switch(i){case"sch":await o.generatePreviewImageSch(t,e);break;case"pcb":await o.generatePreviewImagePcb(t,e);break;case"panel":await o.generatePreviewImagePanel(t,e);break;default:throw new Error("generatePreviewImage type error")}},"-/pro-ui/openSaveAsDialog":async t=>{await Ufe(t,void 0)},"-/pro-ui/deletePreviewImage":async(t,e)=>{await lHi(t,e)},"/pro-ui/openHotkeySettingDlg":({hotkey:t,menuHotkey:e,hotkeyCmd:i})=>{e2e.openHotkeySettingDlg({hotkey:t,menuHotkey:e,hotkeyCmd:i})},"/pro-ui/container/tab/tabbar/onClick":async t=>{var o;let{tabId:e}=t;((o=document.activeElement)==null?void 0:o.tagName)==="IFRAME"&&document.activeElement.blur();let i=he.getTabData(e);await C.messageBus.publish("onTabbarClick",{props:t,tabData:i})},"/pro-ui/container/tab/tabbar/onActive":async t=>{let{tabId:e,isActive:i=!0}=t,o=he.getTabDocType(e);i&&e&&C.messageBus.publish("onDocFocus",{tabId:e,docType:o}),await C.messageBus.publish("onTabbarActive",{props:t})},"-exportOdbAutoTest":async function(t){t.projectId==C.currentProject.projectId||!t.pcbId?await NWt(void 0,void 0,t):await Jlt(t)},"-exportGerberAutoTest":async function(t){t.projectId==C.currentProject.projectId||!t.pcbId?await NWt("exportGerber",{ignoreHash:t.ignoreHash},t):await Jlt(t,"exportGerber")},"-exportNetListAutoTest":async function(t){await C.messageBus.rpcCall("testAllNetList",t)},"-ClosedWaveTab":async function(t){await he.closeTopTab(t)},"-href":function(){return window.location.href},bomMatchingFinishLoading:function(){vt(1,"smtUILoading")},solderingAssistanceFinishLoading:async function(){vt(1,"smtUILoading");let t=Vr("solderingAssistanceExport");if(t&&!t.getAttribute("export"))if(t.setAttribute("export","true"),Ts(),C.downloadFileForExtensionApi){C.downloadFileForExtensionApi=!1;let{fileName:e,fileData:i}=(await C.windowBridge.rpcCall("/pcb/export/htmlForApi",void 0,t.contentWindow)).message;C.messageBus.publish("pcb/getInteractiveBomFile",{fileName:e,fileData:i}),t.id="",Zr(),cn.removeHash("wel"),setTimeout(()=>{t.remove()},5e3)}else await C.windowBridge.rpcCall("/pcb/export/html",void 0,t.contentWindow),t.id="",Zr(),cn.removeHash("wel"),setTimeout(()=>{t.remove()},5e3)},canvasMousedownEvent:()=>{Au.closeActive()},openBomMatching:async function(){Ic("viewBomMatchingTool")},openSolderingAssistance:async function(){Ic("viewSolderingAssistance")},closeBomMatching:function(){(0,Lf.default)("#bomMatching").remove(),cn.removeHash("smt")},closeSolderingAssistance:function(){(0,Lf.default)("#solderingAssistance").remove(),cn.removeHash("wel")},switchViewBtn:Ho.switchViewBtn,switchCoordinateBtn:Ho.switchCoordinateBtn,switchGridTypeBtn:Ho.switchGridTypeBtn,switchGridSizeBtn:Ho.switchGridSizeBtn,showBatchDeleteDlg:function(t,e,i){Yq({tableType:t,rowData:[e],names:[e.display_title],libType:i?Yt.PROJECT:Yt.PERSONAL,res:{operationType:"batchDeleteConfirm",userId:C.loginedUserInfo.uuid},isProjectLib:i})},clickedCanvas:function(){(0,Lf.default)(document).trigger("click")},"-isEn":()=>me.curr=="en","-handleLibTags":t=>N4.handleLibTags(t),interruptContinuousPlace:()=>N4.interruptContinuousPlace(),failedInitDB:()=>(Ove(),Ut({type:"confirm",message:`
					<div>
						<div class='i18n'>Current browser environment doesn't support to run ${Xr?"JLCEDA":"EasyEDA"}(Professional), Recommended to use the latest Chrome or Firefox.</div>
						<div class='i18n'>If you are using Firefox, please don't open ${Xr?"JLCEDA":"EasyEDA"}(Professional) at incognito mode.</div>
					</div>
	               `,isHtml:!0,showCancel:!1,textOK:"Close the editor",closable:!1,onConfirm:()=>{window.open("about:blank","_self").close()}}),!1),"/ui/promptToOpen3DViewWindow":(t,e)=>{t=t||he.getActiveTab();let{isOpen:i,dlgObj:o}=C.pcbTo3DView[t];o.showDialog(t,i,e)},adjust:Ho.adjust,"-getHotkeyConfig":Ys.getAllHotkeys,"-getCmdToSubKeyMap":function(){return{}},setToolbarItemDisabled:kL,setMenuItemDisabled:pQ,showEditorContextMenu:g8o,editArray:t=>Pst(t),setTopBarItemChecked:Ho.setTopBarItemChecked,setCheckboxStatus:(t,e,i)=>si.setCheckboxStatus(t,e,i),"sch/togglePlaceToolBarShow":()=>{Tg.toggle()},"sch/ui/partTree":function(t){el.entry(t)},"sch/getPartTreeData":function(t){t(el.data[0])},"ui/sch/selectPinManager":function(...t){Cl.toggleSelect(t,!0)},"ui/sch/unSelectPinManager":function(...t){Cl.toggleSelect(t,!1)},"ui/sch/refreshPinManagerTable":function(){Cl.refresh()},systemSettingPropertyUpdate:()=>{nPo()},"-systemSettingPropertyUpdateSync":async()=>{await aPo()},"sch/getPinManagerRows":t=>{t([...Cl.rows])},"sch/getTemplatePinInfo":t=>{t(Cl.templatePinInfo)},"-isClosing":function(){var t;return(t=Bnt(C.currentProject.projectId))==null?void 0:t.isClosing},compareAndMarkToUpdatedSymbol:function(){return Dn.compareAndMarkToUpdatedSymbol()},compareAndMarkToUpdatedFootprint:function(){return Dn.compareAndMarkToUpdatedFootprint()},updateLocale:t=>{me.update((0,Lf.default)(t))},closeProjectAttrPanel:t=>{ET.closeProjectAttrPanel(t)},openProjectAttrPanel:()=>{ET.openProjectAttrPanel()},"-isOpenProjectAttrPanel":()=>ET.isOpen(),setTabTicket:function({tabids:t,ticket:e}){he.setTabTicket(t,e)},setTabUpdatedAt:function({tabids:t,updateTime:e}){he.setTabUpdatedAt(t,e)},[Ict.OTHER.UPDATE_TICKET]:function({tabid:t,ticket:e,updateTime:i}){return he.updateTicket(t,e,i)},"/PRJMGR/UPLOAD_SHEET":async t=>{await C.messageBus.rpcCall("/pro-mgr/project/upload/force",[t.project_uuid]),C.windowBridge.publish("cross-window",{selectObj:t,cmd:"save"},ko())},"/PRJMGR/UPLOAD_SYMBOL":async t=>{await C.messageBus.rpcCall("/pro-mgr/project/upload/force",[t.project_uuid]),C.windowBridge.publish("cross-window",{selectObj:t,cmd:"save"},ko())},"/PRJMGR/UPLOAD_BLOCK_SYMBOL_ATTR":t=>{},"/PRJMGR/UPLOAD_DEVICE":t=>{},"/PRJMGR/UPLOAD_FOOTPRINT":t=>{if(!he.isHasTabById(`${t.uuid}@${t.path}`))return null;C.messageBus.rpcCall("/pro-mgr/getDataStr",t).then(async i=>{let o=i.message||"";t.dataStr=o;let n={attrData:Tfe(t.uuid,["edtfootprint-type","edtfootprint-new-device-uuid","edtfootprint-old-device-uuid","edtfootprint-old-source","edtfootprint-trigger-tabid"]),indexdbDetailData:t,detailDataUuid:t.uuid};await C.messageBus.rpcCall("/pro-mgr/project/upload/force",[t.project_uuid]),C.windowBridge.publish("cross-window",{selectObj:n,cmd:"save"},ko())})},"/PRJMGR/UPLOAD_COPPER_POUR":t=>{},"/PRJMGR/UPLOAD_PANEL":t=>{},"-getSettingSchematic":uGt,"-userInfo":async function(){return C.globalVariableCookieData.userInfo},"-isObserver":function(){return eAo()},"-ui/hasDocCreatePermission":async function(t){return await Hnt(t==null?void 0:t.projectId,t==null?void 0:t.showMsg)},"-isProjectOperator":function(){return tAo()},"-isArchive":()=>Wpe(),setAttrPositionInSch:async()=>{await ii("sch-set-attr-position")},openBatchRenameDialog:()=>{ii("batch-rename")},closeBatchReNameDialog:()=>{le.close()},"ui/closeDialog":t=>{le.close(t)},changeRulerVisible(t,e){Uk.changeRulerVisible(t,e)},updateRulerOnResize:function(t){let{tabId:e}=t;Uk.updateRulerOnResize(e)},rulerUpdate:function(t,e){t&&he.getTabIFrame(t).then(i=>{i&&Uk.update.apply(i.contentWindow,e)})},"-saveAllFiles":function(){return xl()},iframeHotkey:function({event:t,fromDoctype:e}){C.eventFn.keyDown(t,{fromDoctype:e})},iframeHotkeyup:function({event:t,fromDoctype:e}){C.eventFn.keyUp(t,{fromDoctype:e})},"-home_hotkey":C6e.performCmd,"-blank_tab_hotkey":iEe.performCmd,"-assembly_tab_hotkey":nEe.performCmd,"-ui_hotkey":Xye.performCmd,"Pcb/ui_hotkey":Xye.performCmd,removeFileDom:function(t){Xb(t)},removePureFileDom:Q8o,"-newFileId":function(){return Wee()},triggerClick:function(t){t&&(0,Lf.default)(t).trigger("click")},closeDialog(t){for(let e of t)le.destroy(e)},tipsModal:Dt,message:Ut,"-messageSync":Ut,hideModal:function(){Ove()},getProjectOpenTabs1:function(){let t=he.getProjectOpenTabs(he.getDocProject(he.getActiveTab()));C.messageBus.push("getProjectOpenTabs",t)},"-getSheetOrderIdByTabId":he.getSheetOrderIdByTabId,"-getProjectOpenTabs":he.getProjectOpenTabs,setTabText:he.setTabText,"ui/renderSubTabbar":t=>{var e;cb[t.sheetUuid]||Sst(t.sheetUuid,t.instances),(e=cb[t.sheetUuid])==null||e.update(t)},"ui/renderSubTabbarTitleStyle":t=>{var e;cb[t.sheetUuid]||Sst(t.sheetUuid,t.instances),(e=cb[t.sheetUuid])==null||e.updateTabSelectedMap(t)},updatePanelLibGlobal:async function(t){IHt(t,Wi("BASE_PANEL_LIB"))&&(t.operate==="add"?De({type:"success",msg:"Add into Common Library Success"}):De({type:"success",msg:"Remove from Common Library Success"}),await mt.savePreference("commSystemSetting",sc()),await hc.updatePanelLibraryDataAlone(!1,!0))},renderPanelPropertyPanel:t=>{cc.mountLeftAttrData(t)},"-isOpenTab":function(t){return he.isHasTabById(t)},isOpenTab2:function({tabId:t,getter:e}){e(he.isHasTabById(t))},"-/ui/save":({tabid:t,options:e})=>new Qm(t,e).todo(),"-isTabUnSaved":he.isTabUnSaved,closeTopTab:he.closeTopTab,setTopMenuItemsChecked:function(t){it(t,(e,i)=>{v1(e,i)})},eleHide:function(t){t&&(0,Lf.default)(t).hide()},openDeviceDlg:function(t){var o;let e=t.info||t,i=!1;e.docType===4&&(i=!0),Jbe(t.path,t.path===C.currentProject.projectId,{setAssociateNewDevice:i?"ByFootprint":"BySymbol",symbolItemId:i?null:e.uuid,footprintItemId:i?e.uuid:null,userIdSelected:((o=t.owner)==null?void 0:o.uuid)||t.path,deviceItemName:t?t.display_title:""})},deviceSaveAsCloud:function({data:t,isProjectLib:e,unSaveFile:i}){mt.getSymbolLibManage()=="2"?mat(t.uuid,t.path,e):Qve(t)},saveAsCloud:async function({data:t,isProjectLib:e,opt:i,symbolId:o}){!t&&o&&(t=(await C.messageBus.rpcCall($e.SYMBOL.GET,[o,C.currentProject.projectId])).message),t?Yve(t,e,i):console.error("data \u65E0\u6570\u636E")},"-/pro-ui/docSaveAsLocalApi":rte,saveAsLocal:async function({symbolId:t,isProjectLib:e}){if(t){let i=(await C.messageBus.rpcCall($e.SYMBOL.GET,[t,C.currentProject.projectId])).message;i?tHt(i,e):console.error("data \u65E0\u6570\u636E")}else console.error("symbolId \u6570\u636E\u9519\u8BEF")},cbbSaveAsCloud:async t=>{await ii("cbb_save_as_cloud",t)},cbbSaveAsLocal:async t=>{await ii("cbb_save_as_local",t)},"ui/renderPCBPropertyPanel":t=>{Br.handleClick("pcb-attr"),da.update(t,"ATTR_PANEL")},linkFootprint(t){Awo(t.deviceId,t.symbol,t.path)},symbolAttrPanelLink3DModel:function(t){Xko(t,!1)},symbolAttrPanelLinkSimModel:function(t){FPo(t.deviceId,t.symbol,t.path,t.docType)},startRenderNGspiceWave:async({simdata:t})=>{Nct.getInstance().getOscilloscope("osc1").bulkUpdate(t)},NoSimError:async()=>{await ii("engine_detecton")},symbolAttrPanelLinkImage:function(t){new rct(t).onConfirm(i=>{let o=he.getActiveTab(),r=i.images;C.messageBus.publish("sch/setDeviceImages",{img:r}),C.messageBus.publish("sch/renderSymbolPropertyPanel"),he.setTabUnSaved(o,!0)})},"-getOpenedTabsInfo":he.getOpenedTabsInfo,"-getAllTabIdByDoctype":he.getAllTabIdByDoctype,"-setTabActive":he.setTabActive,"-closeInstanceTab":he.closeInstanceTab,"-closeInsTabByPrefix":async t=>{await he.closeInsTabByPrefix(t,"")},progressClose:(t=String(u0.BLANK))=>{af(t)},progressUpdate:j6,"/pro-ui/cacheStorageFailWaring":hPo,"/pro-ui/progressUpdate":t=>{AEo(t)},expandAndModifyProperties:function(){(0,Lf.default)("#layout_toggler_right").hasClass("close")&&Pn("layout_toggler_right",!1,!0);let t=dt(),e;t===ve.SCH||t===ve.PART?e=(0,Lf.default)("#sch-attribute-tabs"):t===ve.PANEL?e=(0,Lf.default)(".panel-attribute-property"):(t===ve.PCB||t===ve.FOOTPRINT)&&(e=(0,Lf.default)("#attribute-tabs-containter"));let i,o=(0,Lf.default)("textarea:visible:not(:disabled):not([readonly='readonly'])",e).eq(0),r=(0,Lf.default)("input[type=text]:visible:not(:disabled):not([readonly='readonly'])",e).eq(0);o.length?i=o:i=r,C.mousePlace.isInLeftPanel()||(i.select(),i.focus()),i.attr("enforceFocus",!0),C.enterEnforceFocus=!0,C.openRightPanel=!0,setTimeout(()=>{delete C.openRightPanel},1500)},showMessager:function(t){Ut(t)},showUpdateDlg:function({needUpdateSymbolData:t,silentIfNone:e,args:i}){cW({params:{needUpdateSymbolData:t,silentIfNone:e},args:i})},"-getActiveTab":he.getActiveTab,"-getTabById":function(t){return he.getTabById(t)},"-getAllTabId":he.getAllTabId,"-getActiveSchematicId":he.getActiveSchematicId,"-getActiveProjectTitle":he.getActiveProjectTitle,"-getActiveProject":he.getActiveProject,editSymbol:DI,updateMenuByDocStatus:Ust,"-awaitConfirm":function(...t){return Hne.apply(null,t)},"-getUserInfoFromCache":Xo.getUserInfoFromCache,"-getUserId":_o,"-openProject":function(t,e={}){return Os({uuid:t,options:e})},"-openFootprintDoc":function(t,e=void 0,i=new Function,o){return GS(t,e,o,!1,i)},handleDeviceFileId:function(t,e){cn.handleDeviceFileId(t,e)},"-notLegalTitle":REo,"-getActiveDoctype":function(){return dt()},submitJsError:EWt,openFootprintMgr:async()=>{await tlt()},"-isLogined":br,login:Xo.login,logout:Xo.logout,setPrjList:function(t){},user_logout:function(){Xo.logoutCount=0,Xo.logout()},initSaveDlg:function(t,e,i,o){console.warn("\u8BE5\u65B9\u6CD5\u5DF2\u5F03\u7528")},openCreateCbbProjectDialog:function(t){A3(t)},"-handleModelAndFootprint":async(t,e,i)=>await fJ(t,e,i),"-getAllFileTabids":(t,e)=>ap(t,e),"-ui/checkProjectPublish":async t=>await uR(t),"-tabbar_getProjectData":he.getProjectData,"-i18n":me.i18n,"-switchActiveLayer":ny.switchLayerById,"-getLanguage":mt.getLanguage,"-UserPreferencesGetCacheObj":mt.getCacheObj,"-setUsrPcbFootprintLoopSetting":t=>{var e;if(t!=null){let i=(e=C.profileSetting)==null?void 0:e.commSystemSetting;if(!i)return;let o=i.PCB_FOOTPRINT;o.selectLoopWindowRemovingLoop.value=t,mt.savePreference("commSystemSetting",i)}},"-getUsrPcbProcessConfigProfile":()=>akt(),toggleAndSaveUserPreferences:function(){xHe(),mt.savePreferencesToRemote(t=>{let e=JSON.parse(localStorage.getItem("preferences"));return{...t,isAssociationPCBCanvasGridAndSnap:e.isAssociationPCBCanvasGridAndSnap}},async t=>{let e=await ei();window.setTimeout(()=>{C.messageBus.publish("updateAssociationPCBCanvasGridAndSnap",+t.isAssociationPCBCanvasGridAndSnap,e&&e.contentWindow),C.profileSetting&&(C.profileSetting.isAssociationPCBCanvasGridAndSnap=+t.isAssociationPCBCanvasGridAndSnap),C.messageBus.publish("updateAssociationPCBCanvasGridType",+t.isAssociationPCBCanvasGridType,e&&e.contentWindow),C.windowBridge.publish("FlushAttrPlane",void 0,e.contentWindow),Td.updateGridSnapKeepRatioStatus(t.isAssociationPCBCanvasGridAndSnap)})})},"-UserPreferencesSetCacheObj":mt.setCacheObj,savePreference:mt.savePreference,"-getTabInfo":async function(t){return await he.getTabInfo(t)},setLastMouseOrKeyBoardEventTime:function(t){C.lastMouseOrKeyBoardEventTime=t},hideSidePanel:function(t="other"){C.clickTimer!=null&&clearTimeout(C.clickTimer),C.clickTimer=setTimeout(()=>{e()},1500);function e(){var o;if(C.clickWhat==="menu")return;let i=(o=hn("SYSTEM"))==null?void 0:o.sidePanelAutoHide;for(let r of Object.keys(i||{}))i[r]&&(r==="leftPanel"&&C.clickWhat!=="left"&&!C.mousePlace.isInLeftPanel()&&!C.openLeftPanel?Pn("layout_toggler_left",!0,!0):r==="rightPanel"&&C.clickWhat!=="right"&&!C.mousePlace.isInRightPanel()&&!C.openRightPanel?Pn("layout_toggler_right",!0,!0):r==="bottomPanel"&&C.clickWhat!=="bottom"&&!C.mousePlace.isInBottomPanel()&&!C.openBottomPanel&&Pn("layout_toggler_bottom",!0,!0))}},closeNameInputSelect:function(){let t=(0,Lf.default)(document.body).find('input[name="search-attr"]').parent();t[0]&&t.remove()},"-refreshFootprintAttrPanelWithDevice":async function({deviceDetail:t,footprintDetail:e}){if(e){let i=dF.getTask(lo(e.uuid,e.path));i&&await i.refreshFootprintAttrPanelWithDevice({deviceDetail:t,footprintDetail:e})}},closeInstanceTabBySchName:function(t){he.closeInstanceTabBySchName(t)},"-getTabTitle":function(t){return he.getTabTitle(t)},"-ui/getD3ModelItem":async function(t){let e=null;if(t.d3modelUuid&&(e=await As.fetchD3ModelItemHandle(t.d3modelUuid,t.d3modelPath)),!e&&t.footprintUuid&&t.footprintPath){let{compiler:i,d3modelItem:o,d3modelItemName:r,d3modelItemTransform:n,d3modelItemPath:a,d3modelItemId:s}=await ue.getFootprint3DInfo(t.footprintUuid,t.footprintPath,t.footprintPath===C.currentProject.projectId);e=o}return e},showRightBottomLoading:()=>{hko("")},closeRightBottomLoading:mko,hasMaskDialogOpen:t=>{let{cb:e}=t,i=le.hasMaskDialogOpen();e(i)},importPrjResult:t=>{let{message:e,res:i,needDlg:o,tip:r,projectId:n,failData:a}=t;if(o&&Ot("info",Ti(e)),i){let s;r.indexOf("Open the imported project")>-1||r.indexOf("Open the new project")>-1?o&&Ev(n):(s=r,o&&Lpe(n,"Notice",s,function(c){c&&Os({uuid:n})},void 0,!0))}else{NT();let s=[];if(it(a,(l,c)=>{if(c=[...new Set(c)],!c.length)return;let d=Ti(l)+" : "+[...new Set(c.map(u=>Array.isArray(u)?u.map(p=>Ti(p)).join(""):Ti(u)))].join("\u3001");s.push(d)}),Ot("error",[Ti(e),...s],"Log",!0),Je)return;C.messageBus.rpcCall(Ei.PROJECT.DELETE,{uuid:n})}if(Je){let s=C.workspace==="Personal"?{}:{org_uuid:C.workspace};tl(s)}},"/pro-mgr/import/new/onsucceed":t=>{let{projectId:e,needDlg:i,autoOpen:o}=t;if(R6o()?i&&Ev(e):o&&Os({uuid:e}),Je){let r=C.workspace==="Personal"?{}:{org_uuid:C.workspace};tl(r)}},"/pro-mgr/import/new/onfailed":()=>{if(NT(),Je){let t=C.workspace==="Personal"?{}:{org_uuid:C.workspace};tl(t)}},illegalPrj:({projectId:t,msg:e})=>{typeof window<"u"&&(wi&&Je?Ut({type:"alert",message:"Incorrect file format!"}):De({type:"info",msg:e,timer:3}),cn.removeHash("id")),C.messageBus.publish("progressUpdate",[1,""]),C.worker.publish("unlockProject",t)},"/pro-ui/hash/add/id":t=>{cn.addProjectId(t)},[s0.REMOVE_HASH]:t=>{typeof window<"u"&&cn.removeHash("id")},[`-${T9.IsActive}`]:()=>c4e.isActive,showFindObjDlg:async function(t){await ii("dlg-find",t),setTimeout(()=>{(0,Lf.default)("#dlgFind")&&(0,Lf.default)("#dlgFind .input-type input[type=text]").focus().select()},30)},popupNewWindowDialog:function(t){Ut({title:"information",type:"confirm",message:'Print\xA0data generated finish, please click "OK" and continue.',showCancel:!0,textOK:"OK",textCancel:"Cancel",onConfirm:()=>{window.open(t,"new_window","height="+window.innerHeight+", width="+window.innerWidth+", top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no")}})},showSimilarDlg:async function(t){await ii("find-similar",t)},"sch/showDlgFind":async function(){await ii("dlg-find")},updateSheetSuccessCb:function(t){he.setTabUnSaved(t,!1)},removeUpdateTabHighLight:function({tabids:t}){he.removeUpdateTabHighLight(t)},updateRecentList:function(t){fko(t)},updateRecentVersionList:function(){mFe()},updatePlaceDeviceSymbolBg:function(t){C.updateThemeBackGroundColor=!0},setTabUnSaved:he.setTabUnSaved,setTabTitle:he.setTabTitle,"ui/setIconColor":he.setIconColor,"-ui/modifyTabId":he.modifyTabId,storeDataInActiveTab:function(t){he.setTabData(gi(),{findResult:t})},updateTabInfo:he.updateTabInfo,refreshRow:function(t){_3(t.type,t.uuid,t.detail)},projectSaveAsCloud:function(t){yae(t)},projectSaveAsLocal:function(t){wae(t)},"-getTabDocType":he.getTabDocType,initViewDocSourceDlgAndOpen(t){let e=5e5,i=Rr("Content is too big to show, you can download it directly."),o=G0();INt({title:o,sourceCode:t,displayText:t.length<e?t:i})},translate:t=>{let{i18n:e,cb:i}=t,o=Rr(e);i(o)},openSheetMgrDlg:function(t){M_e(t)},showLoading(){Ts()},hideLoading(){Zr()},showCheckDRCDlg:function(){let t=me.i18n("Whether to check DRC\xA0immediately?");Ut({title:"Info",type:"confirm",icon:"info",message:t,showCancel:!0,textOK:"Yes",textCancel:"No",onConfirm:()=>{et("checkDRC")}})},reportError:Bko,privateLibRefresh:function(t,e){x1(t,e)},updateToolConfigStatus:function(){Ai.updateToolConfigStatus()},refreshNewThemeDialogColor:function(t,e){a2i(t,e)},initGridStyle:function(t){mGt(t)},leftTreeRender:BWt,leftTreeSetTabBarActive:function(t,e){$a.setTabbarActive(t,e)},"-getRenumberPinsOptions":function(){return WOt},setFileDataStr:function(t){C.FileDataStr=t},panel_updateAttrPanel:$N,showDrawingAttrDlg:function(t){["symbol","netflag","netlabel","pin","pin","origin","text"].includes(t)&&ii("drawing-attr-text-new")},"ui/showSheetApplyScopeDlg":SEo.bind(void 0),"ui/updateDeviceCode":async function(t){let e=he.getAllTabIdByDoctype(ve.SCH);for(let o=0;o<e.length;o++){let r=await he.getTabIFrame(e[o]);C.windowBridge.publish("sch/updateDeviceCode",t,r.contentWindow)}let i=he.getAllTabIdByDoctype(ve.PCB);for(let o=0;o<i.length;o++){let r=await he.getTabIFrame(i[o]);for(let n of Object.keys(t||{})){let a=(await C.windowBridge.rpcCall("getDeviceComponent",n,r.contentWindow)).message,s=[];for(let c=0;c<a.length;c++)s.push({"attr-array":[{key:"Supplier Part",value:t[n],update:!0}],"attr-id":a[c]});let l={body:{DEVICE:s},head:{action:"modifyPrimitiveDataByPanel",primitive:["DEVICE"]}};C.windowBridge.publish("attrUpdate",l,r.contentWindow)}}},showSymbolPinModifyDialog:function(t,e){oQt({data:t,pinTabSetting:e})},showMultiPinMotifyAttrDialog:async function(t){await ii("placeMultiPinTab",t)},"-checkMenuStatus":function(t){return fT(t)},renderTopTipsSch:function(t){if(document.getElementById(`top_tab_tips_${t}`))t4.setRenderTicket();else{let e=he.getTabIframeSync(t);e&&Hve(e.parentElement,t,!0)}},setFilterConfig:async function(){let t=await he.getTabIFrame();hI.unSavedConfig[1].lists.forEach(e=>{e.visible=!0});for(let e of hI.unSavedConfig[0].lists)e.visible=!0;hI.setUnSavedConfig([...hI.unSavedConfig]),C.windowBridge.publish("applyFilter",[hI.unSavedConfig],t.contentWindow)},syncActivePanelLayerContent:function(){bH()},"-/pcb/save":async function(t){return await new Qm(t,{docType:ve.PCB}).todo()},clonePages:t=>EEo(t),"ui/exportFileClient":async t=>{let e=await ei();e&&C.windowBridge.publish("pcb/exportFileClient",t,e.contentWindow)},"ui/rightPanelTabClick":t=>{Br.handleClick(t.tabId,t.isTrueClick,t.isFromRightButton)},showNetlineDrawingTabDialog:async function(t){L9o(t)},showFanOutNetlabelOrNoConnectFlagDlg:(...t)=>{yIe(...t)},showNetLabelPinModifyDialog:async function(t){await MIe({netlabelInfo:t})},showSchMoveConfigDialog:function(t){return nve(t)},openPartModifyDialog:async function(t){let{tabId:e,attrs:i,designator:o,maxDesignator:r,params:n}=t;await ii("place-symbol-tab",{tabId:e,attrs:i,designator:o,maxDesignator:r,partMasterParams:n,title:me.i18n("Device")})},showNetPortModifyDialog:async function(t){await X9o({composedNameInfo:t})},showOfPageConnectorModifyDialog:async function(t){await $9o({composedNameInfo:t})},showNetFlagModifyDialog:async function(t){await x9o({globalNetName:t})},"sch/showToSpecificPage":function(t){B9o(t)},showModifyDeviceItemDlg:function(t,e,i){t.libPath=yr(t),xMe(t,{isProjectLib:t.project_uuid&&t.project_uuid===C.currentProject.projectId,symbolData:e,modifyType:i})},"-showNetMergeDialog":async function(t,e){return S9o({data:t,needSort:e})},openRenameWireDlg:function(){O9o()},"-sch/getDeviceStandardizationWaitDeterminedRes":async t=>await aEe.getDeviceStandardizationWaitDeterminedRes(t),"sch/renderDeviceStandardizationDom":(...t)=>aEe.initData(t),attrFnToggleProperty:function(t){if(C.isHistoryMode)return;let e={Filter:"sch-filter",Property:"sch-attr",SimulationProperty:"simulation-attr"};It.setTabDisabled(Br.id,e[t],!1),e[t]!==It.getActiveTab(Br.id).tabId&&Br.handleClick(e[t])},attrFnDisProperty:function(t,e){let i={Filter:"sch-filter",Property:"sch-attr"};It.setTabDisabled(Br.id,i[t],e)},switchTopMenuVisible:function(){kte.switchTopMenuVisible()},setTitleStyle:he.setTitleStyle,batchSetTitleStyle:he.batchSetTitleStyle,updateSystemConfig:async function(t){await YVt("setLineScaleStyle"),setTimeout(function(){YVt("zoomLimitLineWidth")},100),Ho.updateCustomMenuItem({gridSize:t.commSystemSetting.PCB_COMM_GRID_SIZE.commonlyList||[],trackWidth:t.commSystemSetting.PCB_COMM_TRACK_WIDTH.commonlyList||[]});let e=idi();e==null||delete e.altSnapSize,e&&tdi(e),await ect({type:Yi.FOOTPRINT});let i=Wi("CANVAS","hover_highlight_netgroup");await yF.switchStatus(i),nGt(),Nc.updateHotkeyConfig(),C.messageBus.publish("switchSymbolLibManage",mt.getSymbolLibManage())},"-buildLayout":O4,closeOrOpenSidebar:Pn,"-closeSimSidebar":async function(){await Pn("layout_toggler_left",!0,!0),await Pn("layout_toggler_right",!0,!0),await Pn("layout_toggler_bottom",!0,!0)},showBottomBarLog:fX,"-reviseDatastrSymbolByTitle":t=>t?LMt(t.dataStr,t.title):"","-createPCBEditor":qb,dlgImport_pcbConfirm:function(t){t&&t.closePro&&C.currentProject.projectId?Xg(C.currentProject.projectId,{options:{dlgImport_pcbConfirm:!0}}).then(i=>{i&&pse()}):pse()},rollback:Cje,openFileFromArr:function(t){qGt(t.data,t.callback)},exportFileClientWay:function(t){let{fileData:e,fileTitle:i,extension:o}=t.data;cd(e,i,o)},scrollToRatlineTree:function(t){Pn("layout_toggler_left",!1),It.judgeTabIsShow($a.projectTabBarId,ar.PCBNET)&&($a.projectDesignTabOnClick(ar.PCBNET),setTimeout(function(){let i=(0,Lf.default)("#treeMyDesignNet-content"),o=i.find('div.tree-node[node-type="109"] .tree-hit');t&&t=="open"?o.hasClass("tree-expanded")||o.click():(i.scrollTop(i.find('div.tree-node[node-type="109"]').position().top),o.click()),i.find('div.tree-node[node-type="108"][node-id]:first').trigger("click")},50))},openDeviceSelectDlg:function(t){$B(t||{form:"replaceDevice"})},openReplaceDeviceDlgNew:async function(t){await ii("replace-device",t)},openReplaceDeviceStandardizationDlgNew:async function(t){if(t!=null&&t.isDeviceStandardization&&(t!=null&&t.currentDeviceStandardizationRow)){let e=structuredClone(t);if(dt()==ve.PCB)e.symbolSet=new Set(t.currentDeviceStandardizationRow[0].ids);else{let o=t.currentDeviceStandardizationRow[0].symbolId,n=t.currentDeviceStandardizationRow[0].tabIdArr.map((a,s)=>`${a}@${o[s]}`);e.symbolSet=new Set(n)}e.Comment=t.currentDeviceStandardizationRow[0].Comment,delete e.currentDeviceStandardizationRow,await ii("replace-device",e)}},openRecommendedDevicesDlg:async function(t){if(t!=null&&t.isRecommendedDevices&&(t!=null&&t.currentDeviceStandardizationRow)){let e=ue.deepClone(t);if(dt()==ve.PCB)e.symbolSet=new Set(e.currentDeviceStandardizationRow[0].ids);else{let o=t.currentDeviceStandardizationRow[0].symbolId,n=t.currentDeviceStandardizationRow[0].tabIdArr.map((a,s)=>`${a}@${o[s]}`);e.symbolSet=new Set(n)}e.Comment=e.currentDeviceStandardizationRow[0].Comment,e.path=_e.SYSTEMLIB_UUID,e.uuid=e.currentDeviceStandardizationRow[0].recommendedDevices.attributes.Device,e.isDeviceStandardization=!0,delete e.isRecommendedDevices,delete e.currentDeviceStandardizationRow,await ii("replace-device",{...e,isProject:!1})}},"-checkDocs":async function(t=!0,e){return!0},allowTitleLength:function(t){t=t||{},dh(t.title,t.min,t.max)},"commonButtonsSetting(PROPERTY)":()=>{Qc({menuSelected:"PROPERTY"})},"-allowDuplicateNames":({path:t}=ks)=>{var i,o;return(i=C.currentProject)!=null&&i.settings&&C.currentProject.settings.projectUuid===t?!!((o=C.currentProject.settings.data.universal)!=null&&o.allowLibRename):Wi("SYSTEM","allowRename")==="true"},clearForceCloseFlag:()=>{C.bottomBarStatus=0,C.placeDeviceDlgStatus=0},openPlaceClosedBottomBar:()=>{var e,i;let t=(i=(e=hn("SYSTEM"))==null?void 0:e.sidePanelAutoHide)==null?void 0:i.bottomPanel;C.bottomBarStatus===1&&!t&&setTimeout(()=>{Zne()})},openPlaceClosedPlaceDevice:()=>{C.placeDeviceDlgStatus===1&&setTimeout(()=>{$B({form:"placeDevice"})})},toggleAttrPanel2SCHView:()=>{BZ(ve.SCH)},schBindCBB:t=>{he.setSchBindCBB(t)},editor_load:t=>{var e=new Event("editor_load");document.getElementById(t).dispatchEvent(e)},removeLib:(t,e,i,o=!0,r=!1,n)=>{ew(t,e,i,o,r,n)},isCheckedHoverHighlightNet:t=>{t(yF.checked)},"-isCheckedSelectAlignrefObject":()=>UE.tools.checkIfSelectAlignRefObject.checked,"-isCheckedSelectAlignrefObjectForCenters":()=>UE.tools.checkIfSelectAlignRefObjectForCenters.checked,docSaveAsCloud:t=>{Nst(t)},docSaveAsLocal:t=>{kst(t)},"-getCacheRecoveryPermission":async()=>await new Promise(async(e,i)=>{let o=setTimeout(()=>e(null),3e4),r=await zi.getPermissionList(C.currentProject.projectId),n=r?zi.hasPermission(r,Io.Doc_Updating):!0;clearTimeout(o),e(n)}),"-ui/unSameBoardError":async(t,e,i=!1,o=!0)=>await kUe(t,e,i,o),symbolAttrPanelSwitchDeviceCategory:async t=>{var s;let e={docType:Yi.DEVICE,userId:((s=t.owner)==null?void 0:s.uuid)||_o(),path:yr(t)},i=he.getActiveTab(),[o,r]=wr(i),n=r===C.currentProject.projectId,a=await C1({...e,isProjectLib:n});if(a.confirm){let l=he.getActiveTab();await C.messageBus.rpcCall("sch/setDeviceCategory",{tabId:l,tags:HZ(a.tag)}),C.messageBus.publish("sch/renderSymbolPropertyPanel"),he.setTabUnSaved(l,!0)}},"ui/renderLeftPropertyPanel":t=>{ace.update(t),he.changeIconByAssociateDevice(!!(t!=null&&t.deviceDetail))},"ui/renderNgspiceRightPropertyPanel":t=>{let e=document.querySelector("#simulation-right-panel .simulide-attribute-property");e.style.display="none";let i=document.querySelector("#simulation-right-panel .ngspice-attribute-property");i.style.display="";let o=document.querySelector("#simulation-right-panel .waveform-attribute-property");o.style.display="none",Ect(t),Km.getInstance().loadData(t),Km.getInstance().refreshView()},"ui/renderWaveformRightPropertyPanel":t=>{let e=document.querySelector("#simulation-right-panel .simulide-attribute-property");e.style.display="none";let i=document.querySelector("#simulation-right-panel .ngspice-attribute-property");i.style.display="none";let o=document.querySelector("#simulation-right-panel .waveform-attribute-property");o.style.display="",Pct(t),Km.getInstance().loadData(t),Km.getInstance().refreshView()},"ui/renderSimulideRightPropertyPanel":t=>{let e=document.querySelector("#simulation-right-panel .simulide-attribute-property");e.style.display="";let i=document.querySelector("#simulation-right-panel .ngspice-attribute-property");i.style.display="none";let o=document.querySelector("#simulation-right-panel .waveform-attribute-property");o.style.display="none",Rct(t),Km.getInstance().loadData(t),Km.getInstance().refreshView()},"ui/renderSimulideRightSimulationSettings":t=>{Bct(t),Km.getInstance().loadData(t),Km.getInstance().refreshView()},"ui/renderSchPropertyList":t=>{Km.getInstance().loadData(t),Km.getInstance().refreshView()},"ui/renderSchRightPropertyPanel":t=>{let e=document.querySelector("#sch-right-panel .symbol-attribute-property");e.style.display="none";let i=document.querySelector("#sch-right-panel .sch-attribute-property");i.style.display="",RHe(t),Km.getInstance().loadData(t),Km.getInstance().refreshView()},"ui/renderSymbolRightPropertyPanel":t=>{let e=document.querySelector("#sch-right-panel .symbol-attribute-property");e.style.display="";let i=document.querySelector("#sch-right-panel .sch-attribute-property");i.style.display="none",Mct.update(t),Km.getInstance().loadData(t),Km.getInstance().refreshView()},"ui/groupCollapseChange":t=>{let{title:e,status:i}=t,o=dt();if(e==="More Properties"&&o===ve.SCH){localStorage.removeItem("sch.attrPanel");let r={};try{r=JSON.parse(localStorage.getItem("propertyPanel")),ue.isPlainObject(r)||(r={})}catch{r={}}r.morePropertiesShow=i==="open",localStorage.setItem("propertyPanel",JSON.stringify(r))}if(e==="More Properties"&&o===ve.PCB){let r={};try{r=JSON.parse(localStorage.getItem("sch.attrPanel")),ue.isPlainObject(r)||(r={})}catch{r={}}r.morePropertiesShow=i==="open",localStorage.setItem("sch.attrPanel",JSON.stringify(r))}},"-isAddedToBasicLibrary":tst.isAddedToBasicLibrary.bind(tst),showNewCombinationDialog:async function(t){ii("sch-new-combination",t)},updateSetAttrPositionInSch:async()=>{le.isOpen(bt["sch-set-attr-position"].containerId)&&await fw.initDialog()},"-sch/findTypeLog":t=>{lr.clickClearBtn(!1),lr.setRawData(t)},openRefDesignatorDialog:({type:t,data:e})=>{fte(t,e)},openSchDeleteDialog:t=>{ii("sch_delete",t)},"-getComposedNameItemByName":async t=>await zs.getComposedNameItemByName(t),"sch/switchToClickedRightTab":()=>{ty()&&Br.handleClick(Br.clickedTabId)},"sch/switchToClickedRightTabExceptAnnotation":()=>{ty()&&It.getActiveTab(Br.id).tabId!=="annotation"&&Br.handleClick(Br.clickedTabId)},logClear:Eb,"-reNameUpdatePartitionItemItem":async t=>{await Qd.getInstance().updateCanvasPartitionItemTitle(t.mainPcbUuid,t.mainPCBPath,t.fileUuid,t.title)},"-leftTreeMoveProjectPermission":async()=>{let t=await zi.getPermissionList(C.currentProject.projectId);function e(i,o){return t?zi.hasPermission(t,i,o):!0}return e(Io.Project_Moving)},"-nodeLeftTreePermission":async()=>Pr.version.node,syncPartitionItemsTitle:async t=>{await sat(t.pcbUuid,t.path),await sbe(t.pcbUuid,t.path)},updateAllSchSymbolPinAttrPosition:()=>{he.getFilterTabs([]).forEach(e=>{var i;(i=e.data)!=null&&i.sch&&kr("updateSymbolPinAttrPosition",void 0,e.tabId)})},"-exportExcel":async t=>{let{filename:e,dataStr:i,isGetBlob:o}=t;return await QDi(e,i,o)},"-exportBom":async t=>{let{template:e,fieldMap:i,data:o,filename:r,tableAttrKeys:n,onlyData:a}=t;return await KDi(e,i,o,r,n,a)},"-getBomTemplate":async()=>await U2(),[Pd.SCHEMATIC.NOTIFY]:async t=>{let e=(await C.messageBus.rpcCall(Pd.SCHEMATIC.GET)).message.result;it(e,(i,o,r)=>{let[n,a]=o.source.split("|");o.origin.uuid=n,o.origin.project_uuid=a}),PE.sch=e||{},C.messageBus.publish("render")},[Pd.PCB.NOTIFY]:async t=>{let e=(await C.messageBus.rpcCall(Pd.PCB.GET)).message.result;it(e,(i,o,r)=>{let[n,a]=o.source.split("|");o.origin.uuid=n,o.origin.project_uuid=a}),PE.pcb=e||{},C.messageBus.publish("render")},"-getIPCOrigination":function(t){let e=mt.getCacheObj("ipcOrigination");return e||(e={},mt.setCacheObj("ipcOrigination",{}),mt.saveToServer(!1)),e[t]},"-setIPCOrigination":function({key:t,value:e}){let i=mt.getCacheObj("ipcOrigination");i?i[t]=e:i={[t]:e},mt.setCacheObj("ipcOrigination",i),mt.saveToServer(!1)},"-getIPCVersion":function(){var r;let t=au.getCurrentVersion(),e="EasyEDA Pro "+t,i="UNKNOWN",o=R7e();return wi&&(i="lceda-pro-"+o.os+"-x"+(((r=o.platform)==null?void 0:r.slice(3))||64)+"-"+t+".exe"),{version:e,packageName:i,packageVersion:t}},"-compareNetList":async t=>{let{pcbId:e,schematicId:i}=t,o=gi(),r=he.getTabIframeSync(o),n=(await C.windowBridge.rpcCall("pcb/getNetList",{uniqueIdKey:"Unique ID",autoUniqueId:!1},r.contentWindow)).message,s=(await C.messageBus.rpcCall("sch/getNetlistBySchematicId",{schematicId:i,ingoreSchDrc:!0})).message,l=await new Y2(n==null?void 0:n.netList).decode(),c=await new Y2(s).decode();if(!l||!c)return!1;let d=new L1e(l.getValidMapForImportChanges().validMap,c.getValidMapForImportChanges().validMap),u=d.compare([]),p=await Pt(kt.Pcb.ModifyPartitionFlag,u.compareResMap),m=d.isInterrupt,h={};kC.importingDesignRules&&(h=cHe(l,c));let f=await kC.checkTableData(p,h);return!(m||!f.length)},updateSortVariant:async t=>{let{schematicId:e,sortVariantData:i}=t;await ri.updateSortVariant(e,i)},updateSortComponentGroup:async t=>{let{schematicId:e,sortComponentGroupData:i}=t;await ri.updateSortComponentGroup(e,i)},"ui/canvasInfo":t=>{let{tabId:e,scaleValue:i,unitValue:o}=t;if(LC.hasItem(e)){let r=LC.getItem(e),{canvasScaleStore:n,canvasUnitStore:a}=r;i&&i!==n.scale&&(n.scale=i),o&&o!==a.value&&(a.value=o)}},"-ui/getBottomLibUuid":async()=>{let t=[],e=[];return Je?((await oZ(void 0,"")).forEach(o=>t.push(o.nickname)),C.currentProject.projectId&&e.push(C.currentProject.projectId)):Tr.classificationList.filter(i=>!i.hidden).map(i=>{i.uuid=="project"?e.push(C.currentProject.projectId||i.uuid):t.push(i.uuid)}),{other:t,project:e}},"-uploadLogByDetail":async({detail:t,operate_type:e})=>{await Wa(t,e)},addUploadPlaceLibLog:({uuid:t,path:e,lib_type:i})=>{vct.getInstance().getOrAddItem({uuid:t,path:e,lib_type:i}).add()},"-getUserColor":t=>o3.getUserColor(t),"-getCurrVersion":async()=>{var t;return ln.isViewerMode?"":(t=await Pr.getVersion())==null?void 0:t.uuid},"-verticalBisectionTiling":async t=>{await he.verticalBisectionTiling(t)},openSchDifferentailDialog:t=>{ii("create-differentail-pair",t)},"ui/commonComparedResApplyRes":kPo,schDifferentailNetRepeatWarning:t=>{De({type:"info",msg:{value:"The network {0} already exists in the Differentail-pair {1}, Unable to added success.",options:{0:t[0],1:t[1]}},timer:3})},differentialPairErrorLog:t=>{Act.log(t)},netClassAndEQLGErrorLog:t=>{n4e.log(t)},autoSave:t=>{ln.isViewerMode||xl({checkTicket:!0},t).then(e=>{new E2(D2.INFO).info(new Date,"autoSaveInTime: \u4FDD\u5B58\u6210\u529F")},()=>{new E2(D2.INFO).info(new Date,"autoSaveInTime: \u4FDD\u5B58\u5931\u8D25")})},testUploadChangeFile:()=>{if(!C.currentProject.projectId){De({type:"error",msg:"\u5DE5\u7A0B\u6682\u672A\u6253\u5F00\uFF0C\u65E0\u6CD5\u4E0A\u4F20\uFF01\uFF01\uFF01",timer:2});return}let t=document.createElement("input");t.type="file",t.accept=".txt,.epru",t.style.display="none",document.body.appendChild(t),t.click(),t.addEventListener("change",e=>{let i=e.target.files[0];if(!i){t.remove();return}let o=new FileReader;o.onload=async r=>{let n=r.target.result;if(n&&n.startsWith("{")){let s=await nte(`/${window._TAB_ID_}/project/${C.currentProject.projectId}`).rpcCall("/mgr/projectWorker/uploadInlocal",[n]);De({type:s!=null&&s.success?"success":"error",msg:s!=null&&s.success?"\u4E0A\u4F20\u6210\u529F\uFF01\uFF01\uFF01":"\u4E0A\u4F20\u5931\u8D25\uFF01\uFF01\uFF01",timer:2})}else De({type:"error",msg:"\u4E0A\u4F20\u7684\u6570\u636E\u683C\u5F0F\u4E0D\u7B26\u5408\u8981\u6C42\uFF01\uFF01\uFF01",timer:2});t.remove()},o.onerror=()=>{De({type:"error",msg:"\u8BFB\u53D6\u6587\u4EF6\u5931\u8D25\uFF01\uFF01\uFF01",timer:2}),t.remove()},o.readAsText(i)})},autoBackup:async t=>{try{C.currentProject.projectId&&await mDe("yes")}catch(e){new E2(D2.WARN).error("AutoBackupService: \u81EA\u52A8\u5907\u4EFD\u5931\u8D25,\u4E00\u5206\u949F\u540E\u81EA\u52A8\u518D\u6B21\u5907\u4EFD",e),await os(6e4),C.currentProject.projectId&&await mDe("yes"),C.worker.publish("autoBackup/register",[t,!1])}},"ui/startFileSave":()=>{uc.showStatus="loading",uc.refreshView()},"ui/completeFileSave":({success:t,showToast:e=!0})=>{let i=t===!0?"success":"failed";if(uc.showStatus=i,uc.refreshView(),e){let o=t===!0?"success":"error";De({type:o,msg:t===!0?"Saved successfully!":"Save failed!",timer:3})}},"-ui/copyReuseBlocks":async({reuseBlocks:t})=>await ii("copyReuseBlocks",{reuseBlocks:t}),"ui/openProjectUploadFailed":()=>{Ut({type:"warn",title:"Warn",message:"Failed to save the project data. Please try saving it again or contact technical support.",textOK:"Save",onConfirm:async()=>{if(C.currentProject.projectId&&self._TAB_ID_){let e=await nte(`/${self._TAB_ID_}/project/${C.currentProject.projectId}`).rpcCall("/pro-mgr/project/uploadCloud");e!=null&&e.success&&De({type:"success",msg:"Saved successfully!"})}}})},openNetClassManager:()=>{V$e()},openDifferentialPairManager:()=>{tVe()},openEqualLengthGroupManager:()=>{H$e()},"-getAutoLayoutClickInfo":()=>new Promise(t=>{Ut({type:"confirm",title:"Notice",message:"The proportion of the available layout area is too small, which may result in layout failure. Do you want to proceed anyway?",textOK:"Continue",onConfirm:()=>{t(!0)},onCancel:()=>{t(!1)}})}),getSimulideCurrentTime:async({simCurrentTime:t})=>{let e=VFt(t,{spaceBeforeUnit:!0,decimalPlaces:5});Ai.setCurrentSimulideTime(e)},resetSimstatus:async function(){let e="start",i="icon-eda-sim-"+e;Ho.switchSimStatusTypeBtn(e),i&&Ai.setSimStatusStyleValue(i),Ai.setCurrentSimTimeStore(!1),Ai.setCurrentSimRunStatues(!1),Ai.setCurrentSimulideTime("0.0000"),Nte.isStart=!1},open_oscilloscope:({targetId:t})=>{et("open_oscilloscope",{targetId:t})},getSimulideCursorList:async({voltMes:t})=>{let e=!1,i=()=>({currentTime:"0.000 ",channelData_A:"0.000 ",channelData_B:"0.000 ",channelData_C:"0.000 ",channelData_D:"0.000 "}),o=[i(),i(),i()],r=(a,s=1)=>VFt(a*s,{spaceBeforeUnit:!0,decimalPlaces:5}),n={"Probe-1":"channelData_A","Probe-2":"channelData_B","Probe-3":"channelData_C","Probe-4":"channelData_D"};Object.entries(t).forEach(([a,s])=>{var m,h,f;let[l,c]=((m=t[a])==null?void 0:m.at(0))||[0,0],[d,u]=((h=t[a])==null?void 0:h.at(1))||[0,0],p=(f=Object.entries(n).find(([g])=>a.includes(g)))==null?void 0:f[1];p&&(o[0][p]=r(c),o[1][p]=r(u),o[2][p]=r(u-c),e||(e=!0,o[0].currentTime=r(l,1e-12),o[1].currentTime=r(d,1e-12),o[2].currentTime=r(d-l,1e-12)))}),C.messageBus.publish("updateCursorList",o)},getWatermarkConfig:function({type:t="1",getter:e=AS}=ks){e(iy(C.watermarkConfig,t))},"-pro-ui/getWatermarkConfig":t=>iy(C.watermarkConfig,t==null?void 0:t.watermarkType),"-pro-ui/editorRpcCall":async t=>{if(!t)return null;let{topic:e,params:i,tabId:o}=t||{};return e?await Pt(e,i,o):null}};function KPo(){let t=Object.assign({},Man,J9o);if(t){C.messageBus.subscribe("doCommand_ui",([e,i])=>{et(e,i)});for(let e of Object.keys(t))e.startsWith("-")?C.messageBus.rpcService(e.substring(1),Mye(t[e])):C.messageBus.subscribe(e,Mye(t[e]));C.messageBus.pull("renderBasicLibraryDom",async function(){C.systemCategoryTranslateStatus||Oxt(),jHt()})}}var ZPo=L(Vi());var Ian={integer(t){return Number.isInteger(+t)},plus(t){return+t>0},minus(t){return+t<0||t==="-"}};function Lan(t){let e=this,i,{inputMode:o=["minus","plus","integer"],originVal:r,inputValidator:n=h=>!0,debounceInterval:a,ilegalHandler:s=h=>i,suffix:l,max:c=1/0,min:d=-1/0,triggerEvent:u="input"}=t,p=async()=>{i=vn(r)?+(e.attr("originalval")||e.attr("oldval")||e.attr("value"))||"":+r;let h=e.val()===""?"":+e.val();!o.some(b=>Ian[b](h))&&h!==""&&(h=s(+h)),(h>Number.MAX_SAFE_INTEGER||h<Number.MIN_SAFE_INTEGER)&&(h=i),await n(+h)||(h=i),h>c?h=c:h<d&&(h=d),e.val(h),e.attr("originalval",h)},m=Number.isInteger(a)&&!["change","blur"].includes(u)?PI(p,a):p;return e.on(u,m),vn(l)||(e.on("focus",()=>{e.val(e.val().replace(l,""))}),e.on("blur",async()=>{await os(0),e.val(e.val()+l)})),e}function JPo(){ZPo.default.fn.extend({numberInput:Lan})}var sEe=L(Vi());var kh=L(Vi());var gce=class{constructor(){this.netLengthToBeUpdated=!1;he.$on(r2.CLOSE_TAB,e=>{this.update({show:!1})})}getTemplate(e,i){if(e=="netLengthCursorMsg")return`<div class="cursorMsg" id="${e}">
				<div style="display: flex">
					<div class="icon-eda-routing-single" style="background-color: white; width: 18px;height: 18px;margin-right: 5px;margin-bottom: 3px;"></div>
					<div class="cursorMsgInnerBox">
						<div class="diffPairLength">
							<div style="color: white;padding: 3px;background: black;">
								<span class="i18n">Differential Pair Length Tolerance:</span>
								<span class="realVal">${i.diffPairLength}</span>, 
								<span class="i18n">Rule:</span>
								<span class="drcMax">\xB1${i.diffPairLengthMax}</span>
							</div>
							<div class="indicatorBarTip">
								<div class="i18n">Less than Rule</div>
								<div class="i18n">Match the Rule</div>
								<div class="i18n">More than Rule</div>
							</div>
							<div class="indicatorBar">
								<div class="barSpliter"></div>
								<div class="barSpliter barSpliter2"></div>
								<div class="currentDrcPointer" style="width: 1%"></div>
							</div>
						</div>
						<div class="netLength">
							<div style="color: white; padding: 3px;background: black;">
								<span class="i18n">Net Length:</span>
								<span class="realVal">${i.netLength}</span><span class="doNotShowWhileZero">,</span> 
								<span class="i18n doNotShowWhileZero">Rule:</span> 
								<span class="drcMax doNotShowWhileZero">${i.netLengthMin} ~ ${i.netLengthMax}</span>	
							</div>
							<div class="indicatorBarTip doNotShowWhileZero">
								<div class="i18n">Less than Rule</div>
								<div class="i18n">Match the Rule</div>
								<div class="i18n">More than Rule</div>
							</div>
							<div class="indicatorBar doNotShowWhileZero">
								<div class="barSpliter"></div>
								<div class="barSpliter barSpliter2"></div>
								<div class="currentDrcPointer" style="width: 1%;"></div>
							</div>
						</div>
						<div class="netLengthTolerance">
							<div style="color: white; padding: 3px;background: black;">
								<span class="i18n">Net Length Tolerance:</span>
								<span class="realVal">${i.netLengthDiff}</span><span class="doNotShowWhileZero">,</span> 
								<span class="i18n doNotShowWhileZero">Rule:</span> 
								<span class="drcMax doNotShowWhileZero">\xB1${i.tolerance}</span>	
							</div>
							<div class="indicatorBarTip doNotShowWhileZero">
								<div class="i18n">Less than Rule</div>
								<div class="i18n">Match the Rule</div>
								<div class="i18n">More than Rule</div>
							</div>
							<div class="indicatorBar doNotShowWhileZero">
								<div class="barSpliter"></div>
								<div class="barSpliter barSpliter2"></div>
								<div class="currentDrcPointer" style="width: 1%;"></div>
							</div>
						</div>
						<div class="additionalLength">
							<div style="color: white; padding: 3px;background: black;">
								<span class="i18n">Additional Length:</span>
								<span class="drcMax">${i.additionalLength}</span>,
								<span class="i18n">Has Increased:</span>
								<span class="realVal">${i.hasIncreased}</span>
							</div>
							<div class="indicatorBar doNotShowWhileZero">
								<div class="currentDrcPointer" style="width: 1%;left: 0;"></div>
							</div>
						</div>
					</div>
				</div>
			</div>`;if(e=="textCursorMsg")return`
				<div 
					class="cursorMsg" 
					id="${e}" 
					style="pointer-events: none; position: absolute; top: 0; left: 0; background: var(--common-bg-color); padding: 5px 10px; display: none; z-index: 999;"
				>${i.text}
				</div>`}update(e){var n;if((n=e.data)!=null&&n.netLength)this.netLengthToBeUpdated=!0;else if(!e.show||gi()!=e.tabId){this.netLengthToBeUpdated=!1,C.messageBus.publish("updateSortByNetLength",""),(0,kh.default)(".cursorMsg").css("display","none");return}let i=(0,kh.default)("#"+e.id);if(e.id=="textCursorMsg")i.length==0?e.text&&(i=(0,kh.default)(this.getTemplate(e.id,{text:me.i18n(e.text)})),i.css("display","block"),document.body.appendChild(i[0])):(i[0].style.display!="none"||e.text)&&(i.css("display","block"),e.text&&i.text(me.i18n(e.text)));else if(e.id=="netLengthCursorMsg"){let a=e.data.diffPairLength,s=e.data.diffPairLengthMax,l=e.data.additionalLength,c=e.data.hasIncreased,d=e.data.netLength,u=e.data.netLengthMin,p=e.data.netLengthMax,m=e.data.netLengthDiff,h=e.data.tolerance;if(!((d!=null||l!=null||l!=null)&&e.showNetLength)&&!(a!=null&&e.showDiffLength))return;i.length==0&&(i=(0,kh.default)(this.getTemplate(e.id,{diffPairLength:a,diffPairLengthMax:s,netLength:d,netLengthMin:u,netLengthMax:p,tolerance:h,netLengthDiff:m})),document.body.appendChild(i[0])),(0,kh.default)(".diffPairLength",i).css("display",e.showDiffLength&&a!=null?"block":"none"),(0,kh.default)(".netLength",i).css("display",e.showNetLength&&d!=null&&l==null?"block":"none"),(0,kh.default)(".netLengthTolerance",i).css("display",e.showNetLength&&m!=null?"block":"none"),(0,kh.default)(".additionalLength",i).css("display",e.showNetLength&&l!=null?"block":"none"),a!=null&&e.showDiffLength&&((0,kh.default)(".diffPairLength .realVal",i).text((parseFloat(a)>0?"+":"")+a),(0,kh.default)(".diffPairLength .drcMax",i).text("\xB1"+s)),d!=null&&e.showNetLength&&l==null&&((0,kh.default)(".netLength .realVal",i).text(d),(0,kh.default)(".netLength .drcMax",i).text(`${u} ~ ${p}`),(0,kh.default)(".netLength .doNotShowWhileZero").css("display",parseFloat(u)<1e-6&&parseFloat(p)<1e-6?"none":"")),m!=null&&e.showNetLength&&((0,kh.default)(".netLengthTolerance .realVal",i).text(m),(0,kh.default)(".netLengthTolerance .drcMax",i).text("\xB1"+h)),l!=null&&e.showNetLength&&((0,kh.default)(".additionalLength .realVal",i).text(c),(0,kh.default)(".additionalLength .drcMax",i).text(l),(0,kh.default)(".additionalLength .doNotShowWhileZero").css("display",parseFloat(l)<1e-6?"none":"block")),i.css("display","block"),this.updatePointer(e.data,i),me.update(i)}let o=Vr("frame_"+gi()),r=(0,kh.default)(o).offset();e.pos&&i.css("left",e.pos.x+r.left+5+"px").css("top",e.pos.y+r.top-30+"px")}updatePointer(e,i){let o=parseFloat(e.diffPairLength),r=parseFloat(e.diffPairLengthMax),n=parseFloat(e.additionalLength),a=parseFloat(e.hasIncreased),s=parseFloat(e.netLength),l=parseFloat(e.netLengthMin),c=parseFloat(e.netLengthMax),d=parseFloat(e.netLengthDiff),u=parseFloat(e.tolerance);if(!isNaN(o)){let p=(0,kh.default)(".diffPairLength .currentDrcPointer",i);Math.abs(o)<=Math.abs(r)?p.css("background","#66FF00"):p.css("background",_e.HEX_RED_COLOR),r==0&&(r=.1);let m=Math.max(-.5,Math.min(o/(r*6),.5))*100;o>=0?p.css({left:"50%",width:m+"%"}):p.css({left:50+m+"%",width:-m+"%"}),Math.abs(m)<1&&p.css({left:"49.5%",width:"1%"})}if(!isNaN(s)){let p=(0,kh.default)(".netLength .currentDrcPointer",i);s<=c&&s>=l?p.css("background","#66FF00"):p.css("background",_e.HEX_RED_COLOR);let m=Math.min(s,l),h=s<l?0:Math.min(s,c)-l,f=s<c?0:Math.min(s,2*c)-c,g=l==0?1:m/l,b=c-l==0?s<l?0:1:h/(c-l),y=c==0?0:f/c,w=(g+b+y)/3*100;w>50?p.css({left:"50%",width:w-50+"%"}):p.css({left:w+"%",width:50-w+"%"}),Math.abs(w-50)<1&&p.css({left:"49.5%",width:"1%"})}if(!isNaN(d)){let p=(0,kh.default)(".netLengthTolerance .currentDrcPointer",i);d<=u&&d>=-u?p.css("background","#66FF00"):p.css("background","#ff0000");let m=Math.max(-.5,Math.min(d/(u*6),.5))*100;d>=0?p.css({left:"50%",width:m+"%"}):p.css({left:50+m+"%",width:-m+"%"}),Math.abs(m)<1&&p.css({left:"49.5%",width:"1%"})}if(!isNaN(n)){let p=(0,kh.default)(".additionalLength .currentDrcPointer",i);nT.greater(a,n)?p.css("background",_e.HEX_RED_COLOR):p.css("background","#66FF00");let m=Math.max(0,Math.min(a/n,1))*100;p.css({width:m+"%"})}}hideMsgAtCursor(){(0,kh.default)(".cursorMsg").css("display","none")}};function NQt(t,e){return C.messageBus.rpcService(t,async i=>Mye(e)(i))}function bce(t,e){return C.messageBus.subscribe(t,async i=>Mye(e)(i))}var IN0=new hT(1),LN0=new hT(2),vN0=new hT(3);function qPo(){NQt(s0.OPEN,async(t,e)=>await Os({uuid:t,options:e})),bce(s0.ON_OPENED,async({uuid:t,cPath:e,options:i})=>{var r;aAo(e),_t&&cyt(t),Je&&(await PZ(C.client.currentProjectDir,C.client.currentProjectName),C.client.currentProjectPath=i.filePath),sessionStorage.getItem("projectId")!==t&&sessionStorage.setItem("projectId",t),await ZNt();let o=await Y4(t);if(o&&(o.org_uuid&&C.workspace!==o.org_uuid&&(C.workspace=o.org_uuid,qg(o.org_uuid)),C.currentProject.owner=(r=o.owner)==null?void 0:r.uuid,C.currentProject.isPublic=o.public,zi.setProjectDetailCache(o,C.currentProject.projectId),Ga.updateCurrentPrjData(o),!(vo||b8)&&o.publish)){let n=await zi.getPermissionList(t);zi.hasPermission(n,Io.Project_Updating)&&Ut({title:"Notice",icon:"info",type:"info",message:"The project has been released and is currently in a read-only state. It is normal for some operations to prompt that there is no permission or an error. If you want to edit the project, you need to save the project as a draft box on the open source platform.",textOK:"I know"})}}),bce(s0.ON_FAILED,t=>{if(Je){let e=C.workspace==="Personal"?{refresh:!0}:{org_uuid:C.workspace,refresh:!0};tl(e)}}),bce(s0.HAS_UNSAVED,t=>{ii("confirm-close");let{current:e,target:i}=t;_a.current=e,_a.target=i;let o=i.options||{};_a.chose=o.choose||"closeProject",_a.dlgImport_pcbConfirm=o.dlgImport_pcbConfirm,_a.workspace=o.workspace,_a.org_uuid=o.org_uuid}),NQt(s0.CLOSE,async(t,e={},i,o)=>await Xg(t,e,i,o)),bce(s0.ON_CLOSED,(t,e)=>{var o,r,n;zu.leftTreeInDoctype=Gle,sessionStorage.removeItem("activeLeftTabInDoc"),(r=(o=C)==null?void 0:o.sessionStorageTabs)==null||r.clear(),(0,sEe.default)("#dlgFind").css("display")==="flex"&&C.messageBus.publish("close_dlgFind"),(0,sEe.default)("#find-similar").css("display")==="flex"&&C.messageBus.publish("close_find-similar"),C.messageBus.publish("toggleBottomBarProjectLib",!1);let i=((n=It.getActiveTab(co.id))==null?void 0:n.tabId)||"";["drcResult","findResult"].includes(i)&&co.handleClick("lib"),new gce().hideMsgAtCursor(),cn.removeHash("id"),C.projectSheets=null,C.messageBus.publish("clearCacheInSch"),C.messageBus.publish("setAbnormalDataTimer",-1),It.setTabDisplayNone($a.leftPanelTabBarId,Za.PROJECT_DESIGN,!0),C.leftTreeActiveTab===Za.PROJECT_DESIGN&&$a.leftPanelOnClick(Za.PROJECT_LIST),uc.topMenuShow=!1,uc.refreshView(),C.messageBus.publish("leftTreeclose",!0),C.messageBus.publish("updateAttrPanel",[{}]),he.isHasTabById(`${se.BLANKTAB}`)&&he.removeTab(`${se.BLANKTAB}`),Ho.tabSwitchAction(dt()),C.client.currentProjectPath="",C.client.currentProjectDir="",C.tempOpenProjectUuids.forEach(a=>{$ht(a)}),C.tempOpenProjectUuids.clear(),C.messageBus.publish("sch/closeProject",t),C.messageBus.publish("sch/clearAllInstanceValue"),C.messageBus.publish("sch/clearTarget"),C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.PROJECT_CLOSE,content:{},project_uuid:t}]),e.toHome&&he.simulateClick("tab_page1")}),bce(Xy.ON_TEMP_OPENED,async t=>{let{uuid:e}=t;Je&&await PZ(C.client.currentProjectDir,C.client.currentProjectName),sessionStorage.getItem("projectId")!==e&&sessionStorage.setItem("projectId",e),await ZNt()}),bce(Xy.ON_TEMP_CLOSED,t=>{var i,o,r;zu.leftTreeInDoctype=Gle,sessionStorage.removeItem("activeLeftTabInDoc"),(o=(i=C)==null?void 0:i.sessionStorageTabs)==null||o.clear(),(0,sEe.default)("#dlgFind").css("display")==="flex"&&C.messageBus.publish("close_dlgFind"),(0,sEe.default)("#find-similar").css("display")==="flex"&&C.messageBus.publish("close_find-similar"),C.messageBus.publish("toggleBottomBarProjectLib",!1);let e=((r=It.getActiveTab(co.id))==null?void 0:r.tabId)||"";["drcResult","findResult"].includes(e)&&co.handleClick("lib"),new gce().hideMsgAtCursor(),cn.removeHash("id"),C.projectSheets=null,C.messageBus.publish("clearCacheInSch"),C.messageBus.publish("setAbnormalDataTimer",-1),It.setTabDisplayNone($a.leftPanelTabBarId,Za.PROJECT_DESIGN,!0),C.leftTreeActiveTab===Za.PROJECT_DESIGN&&$a.leftPanelOnClick(Za.PROJECT_LIST),uc.topMenuShow=!1,uc.refreshView(),C.messageBus.publish("leftTreeclose",!0),C.messageBus.publish("updateAttrPanel",[{}]),he.isHasTabById(`${se.BLANKTAB}`)&&he.removeTab(`${se.BLANKTAB}`),Ho.tabSwitchAction(dt()),C.client.currentProjectPath="",C.client.currentProjectDir="",C.tempOpenProjectUuids.forEach(n=>{$ht(n)}),C.tempOpenProjectUuids.clear(),C.messageBus.publish("sch/closeProject",t),C.messageBus.publish("sch/clearAllInstanceValue"),C.messageBus.publish("sch/clearTarget"),C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.PROJECT_CLOSE,content:{},project_uuid:t}])})}var $Po=()=>{JPo(),KPo(),qPo(),AZi(),O4(),(0,XPo.default)("#treeMyProject-container").show().siblings().hide(),CEo()};function van(){let t=performance.now();return()=>performance.now()-t}function Dan(t){let e=0;return(...i)=>{e===0&&(e++,t(...i))}}var zct=new hT(0);function eOo(t){let e=[],i=new BroadcastChannel("openPrjChannel"),o={};i.onmessage=function(r){let n=r.data;n.alreadyOpen&&o[n.alreadyOpen]&&o[n.alreadyOpen](!0)},t.rpcService("checkPrjOpenState",r=>new Promise(n=>{zct.debug("checkPrjOpenState",r);let a=van();i.postMessage({id:r});let s=Dan(l=>{zct.info(l?"project already opend":"project not opend",r),delete o[r],n(l),zct.debug("detect prj open elapsed",a())});o[r]=s,setTimeout(()=>{s(!1)},C.prjOpenSyncTimeout)})),t.subscribe("workerReady",()=>{zct.debug("workerReady");for(let r of e)r();e=!0}),t.rpcService("waitWorkerReady",()=>e===!0?!0:new Promise(r=>{e.push(r)})),t.subscribe("windowFocus",r=>{MM.show()})}async function tOo(){let t={};Xr&&m1(t,{tutorials:"https://prodocs.lceda.cn",community:"https://www.jlc-bbs.com/eda",contact:"https://prodocs.lceda.cn/cn/faq/contact-us/index.html","convert-to-pcb":"https://prodocs.lceda.cn/cn/schematic/design-update-convert-schematic-to-pcb/index.html",useSingleLayerPCB:"https://prodocs.lceda.cn/cn/pcb/tools-layer-manager/index.html",part_store:"https://www.szlcsc.com",pcb_manu_facturing:"https://www.jlc.com",panel_manufacturing:"https://dos.szlcsc.com/dos/panel/print.html","3d_cnc":"https://www.jlc-3dp.cn/?href=lceda-pro-editor",updateNote:"https://pro.lceda.cn/page/update-record",zhibo:"https://client.lceda.cn/zhibo/index",apply_new_parts:"https://lceda.cn/page/apply-new-part",reportPartError:"https://lceda.cn/page/report-part-error",feedback:"https://lceda.cn/page/feedback?originPage=pro-editor",clientDownload:"https://lceda.cn/page/download?src=index",import_easyeda:"https://prodocs.lceda.cn/cn/import-export/import-lceda/index.html",import_altium:"https://prodocs.lceda.cn/cn/import-export/import-altium-designer/index.html",import_allegro_orcad:"https://prodocs.lceda.cn/cn/import-export/import-allegro-orcad/index.html",import_eagle:"https://prodocs.lceda.cn/cn/import-export/import-eagle/index.html",import_kicad:"https://prodocs.lceda.cn/cn/import-export/import-kicad/index.html",import_pads:"https://prodocs.lceda.cn/cn/import-export/import-pads/index.html",import_protel:"https://prodocs.lceda.cn/cn/import-export/import-protel/index.html",import_ltspice:"https://prodocs.lceda.cn/cn/import-export/import-ltspice/index.html",colorful_silkscreen_tutorial:"https://prodocs.lceda.cn/cn/pcb/other-draw-colorful-silkscreen/index.html",fpcThicknessCalc:"https://tools.jlc.com/jlcTools/#/calcGoldfingerPIThickness",layoutService:"https://www.jlc-layout.com?from=lceda-pro-editor",dfm_tool_introduction_link:"https://www.jlc-dfm.com/help_document/service_smt/dfm_funtion_introduction",dfm_download_link:"https://www.jlc-dfm.com/",about_files_note:"https://lceda.cn/page/contribute",panel_video:"https://www.bilibili.com/video/BV15h411M7KM/?spm_id_from=333.999.0.0",panel_document:"https://www.yuque.com/linjingru-rkyj0/qoltsk/fshfr22m2zrliylq?singleDoc#",sim_introduction:"https://prodocs.lceda.cn/cn/simulation/introduction",sim_name_and_unit_description:"https://prodocs.lceda.cn/cn/simulation/name-and-unit-description/",sim_spice_number_and_pin_number:"https://prodocs.lceda.cn/cn/simulation/spice-number-and-pin-number/"}),vo&&m1(t,{tutorials:"https://prodocs.easyeda.com",community:"https://oshwlab.com/forum",contact:"https://prodocs.easyeda.com/en/faq/contact-us/index.html","convert-to-pcb":"https://prodocs.easyeda.com/en/schematic/design-update-convert-schematic-to-pcb/index.html",useSingleLayerPCB:"https://prodocs.easyeda.com/en/pcb/tools-layer-manager/index.html",part_store:"https://lcsc.com?from=easyeda-pro-editor",pcb_manu_facturing:"https://jlcpcb.com?from=easyeda-pro-editor",panel_manufacturing:"https://dos.szlcsc.com/dos/panel/print.html","3d_cnc":"https://jlc3dp.com?href=easyeda-pro-editor",updateNote:"https://pro.easyeda.com/page/update-record",apply_new_parts:"https://easyeda.com/page/apply-new-part",reportPartError:"https://easyeda.com/page/report-part-error",feedback:"https://easyeda.com/forum",clientDownload:"https://easyeda.com/page/download?src=index",import_easyeda:"https://prodocs.easyeda.com/en/import-export/import-easyeda/index.html",import_altium:"https://prodocs.easyeda.com/en/import-export/import-altium-designer/index.html",import_allegro_orcad:"https://prodocs.easyeda.com/en/import-export/import-allegro-orcad/index.html",import_eagle:"https://prodocs.easyeda.com/en/import-export/import-eagle/index.html",import_kicad:"https://prodocs.easyeda.com/en/import-export/import-kicad/index.html",import_pads:"https://prodocs.easyeda.com/en/import-export/import-pads/index.html",import_protel:"https://prodocs.easyeda.com/en/import-export/import-protel/index.html",import_ltspice:"https://prodocs.easyeda.com/en/import-export/import-ltspice/index.html",colorful_silkscreen_tutorial:"https://prodocs.easyeda.com/en/pcb/other-draw-colorful-silkscreen/index.html",layoutService:"https://design.jlcpcb.com?from=easyeda-pro-editor",checkDFM:"https://www.jlcdfm.com?ref=easyeda-pro-editor",panelProductionOrder:"https://www.lcsc.com/front-panel?from=easyeda-pro-editor",tawkto:"https://tawk.to/chat/55cc624338ae2c4f66a7d31d/1hd1e0ugd",about_files_note:"https://easyeda.com/page/contribute",panel_video:"https://www.bilibili.com/video/BV15h411M7KM/?spm_id_from=333.999.0.0",panel_document:"https://prodocs.easyeda.com/en/panel/file-new-panel/",sim_introduction:"https://prodocs.easyeda.com/en/simulation/introduction",sim_name_and_unit_description:"https://prodocs.easyeda.com/en/simulation/name-and-unit-description/",sim_spice_number_and_pin_number:"https://prodocs.easyeda.com/en/simulation/spice-number-and-pin-number/"}),Nt&&m1(t,{JLCFA_Parts:"https://www.jlcfa.com",tutorials:"https://www.jlcfa.com/course?i=J4",about_files_note:"https://www.jlc-ecad.com/help/47951",community:"https://www.jlc-bbs.com/jlcecad",feedback:"https://www.jlc-ecad.com/help/47904",contact:"https://www.jlc-ecad.com/help/47933",apply_new_parts:"https://www.wjx.cn/vm/QmUu7dQ.aspx"}),Fn&&m1(t,{order_bom:"https://www.szlcsc.com/",order_smt:"https://www.jlc-smt.com/",order_pcb:"https://www.jlc.com/",order_layout:"https://www.jlc-layout.com",order_3d_shell:"https://www.jlc-3dp.cn/"}),C.HelpURL=t}var lEe=L(Vi());var Yte={0:"bottomLibList",1:"bottomCateContainer",2:"bottomLibTable",3:"drcTable",4:"findObjTable",5:"treeMyProject-content",6:"project_list",7:"openProjectTreeDialog",8:"projectTree",9:"treeMyDesignPage",10:"treeMyDesignNetPage",11:"treeMyDesignComponentPage",12:"layoutLeft",13:"layoutRight",14:"layoutBottom",15:"layout_toggler_left",16:"layout_toggler_right",17:"layout_toggler_bottom",18:"right_panel_range",19:"selectOptionKey"},kQt=(()=>{let t=new Map;for(let e in Yte)t.set(Yte[e],Number(e));return t})(),Fct=class{get place(){return this._place}constructor(){this.eventListener()}eventListener(){document.addEventListener("mousemove",e=>{let i=e.target;for(;i!=null;){let o=i.id||(0,lEe.default)(i).attr("data-id");if(kQt.has(o)){this._place=kQt.get(o);return}else if(o&&o.startsWith(gPe)){o=o.replace(/(_\d+)$/,"").trim(),this._place=kQt.get(o);return}i=i.parentElement}this._place=20},{capture:!0}),document.getElementById("tabbar_bodies").addEventListener("mouseover",()=>{this._place=20})}isInLeftPanel(){return!!((0,lEe.default)("#"+Yte[12]).find("#"+Yte[this._place])[0]||[12,15].includes(this._place))}isInRightPanel(){return!!((0,lEe.default)("#"+Yte[13]).find("#"+Yte[this._place])[0]||[13,16].includes(this._place))}isInBottomPanel(){return!!((0,lEe.default)("#"+Yte[14]).find("#"+Yte[this._place])[0]||[14,17].includes(this._place))}isInPreventDefaultUpDownPlace(){return[0,3,4,2,1].includes(this._place)}isInKeyPlace(e){switch(e){case 37:return this.isBottomSidePlace();case 38:return this.isBottomSidePlace();case 39:return this.isBottomSidePlace();case 40:return this.isBottomSidePlace()}return!1}isInKeyRangePlace(e){switch(e){case 37:case 38:case 39:case 40:return this._place==18}return!1}isBottomSidePlace(){return[0,1,2].includes(this._place)}isInLeftSchTree(){return[5].includes(this._place)}isInHomePageProjectTree(){return[6,7].includes(this._place)}isInLeftPanelProjectTree(){return[6].includes(this._place)}isInOpenDialogProjectTree(){return[7].includes(this._place)}isInDesignTree(){return[9,10,11].includes(this._place)}isInSelectCompent(){return[19].includes(this._place)}};function iOo(t,e){if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}function Ean(t,e){let i=new RegExp('^[^/:*?""<>|,;]+$'),o=/(\d{1,3}\.){3}\d{1,3}/;if(e){for(let r of t.projectPath.value)if(i.test(r)&&!o.test(r))return{ret:!1,path:r};for(let r of t.libPath.value)if(i.test(r)&&!o.test(r))return{ret:!1,path:r}}else if(i.test(t.onlinePrjBackupPath.value))return{ret:!1,path:t.onlinePrjBackupPath.value};return{ret:!0,path:""}}async function Aan(t){if(typeof t.projectPath>"u"){let s=Wi("CLIENT",void 0,{defaultValue:{}});t=JSON.parse(JSON.stringify(s))}let e=t.systemOnlineType.value!=="ONLINE",i=Ean(t,e);if(!i.ret)return Ut({type:"error",message:me.i18n("Invalid Path!")+i.path}),{code:-1,success:!1};if(e){if(!t.systemOnlineType.value||t.projectPath.value.length==0||t.libPath.value.length==0)return Ut({type:"error",message:"The path cannot be empty!"}),{code:-1,success:!1}}else if(!t.systemOnlineType.value||!t.onlinePrjBackupPath.value)return Ut({type:"error",message:"The path cannot be empty!"}),{code:-1,success:!1};let{projectPath:o,libPath:r,onlinePrjBackupPath:n}=await wd(),a=!1;return M9!==t.systemOnlineType.value&&(a=!0),e?(!iOo(o,t.projectPath.value)||!iOo(r,t.libPath.value))&&(a=!0):n!==t.onlinePrjBackupPath.value&&(a=!0),a?{code:1,success:!0}:{code:0,success:!1}}async function oOo(t){let e=await Aan(t);if(e.code!==1)return e.code;let i=t.systemOnlineType.value!=="ONLINE",o=Xr?"JLCEDA":"EasyEDA";if(await a()){let l=ap(),c=!0;if(l.unsaveFileTabId.length&&(c=await s()),c){let d={launchType:t.systemOnlineType.value};C.currentProject.projectId&&await Xg(C.currentProject.projectId),await hc.clearIndexDBData("launchClient",t.systemOnlineType.value),i?(d.LIB_DIR=t.libPath.value,d.APP_PROJECT_DIR=t.projectPath.value):d.ONLINE_BACKUP_DIR=t.onlinePrjBackupPath.value,fetch(C.apis.client.launchType,{method:"post",body:JSON.stringify(d)})}}let n=Array.from(document.getElementsByClassName("messager-window"));if(n.length){let l="changeClientRunMode",c=n[n.length-1];c.id=l,c.setAttribute("id",l)}return e.code;async function a(){return new Promise((l,c)=>{let d=me.i18n("After changing the operating mode and changing the path, you need to restart the program.")+me.i18n("Whether to restart the program immediately?");Ut({title:`${o}(Professional)`,type:"confirm",message:d,textOK:"Confirm",textCancel:"Cancel",onConfirm:()=>{l(!0)}})})}async function s(){return new Promise((l,c)=>{let d=`<p>${me.i18n("Some changes have not been saved.")}<p>
			${me.i18n("Are you sure you want to leave this page?")}`;Ut({title:"Confirm Close",type:"confirm",textOK:"Leave this page",textCancel:"Stay on this page",message:d,isHtml:!0,onConfirm:()=>{l(!0)}})})}}function rOo(){C.messageBus.subscribe("/pro-ui/setting/open",()=>{LA()}),C.messageBus.subscribe("/pro-ui/files/reLaunchClient",t=>{wi&&t.fromAction==="client-mode-update"&&window.setTimeout(async()=>{await oOo(dft.reLaunchClientData),delete dft.reLaunchClientData},500)}),C.messageBus.subscribe("/sch/enterComponentMask/shiftDown",()=>{NC.onShiftKeyDown()}),C.messageBus.subscribe("/sch/enterComponentMask/shiftUp",()=>{NC.onShiftKeyUp()})}var Mg=L(Se()),nOo=L(Hr());var PQt=L(CTe());var qk=L(z()),Nan=()=>{Ae(PQt.default);let{locals:t}=PQt.default,e=be.bind(t),i=(0,Mg.useContext)(_r),o=(0,Mg.useRef)(void 0),r=(0,Mg.useRef)(0),n=(0,Mg.useRef)(0),a=(0,Mg.useRef)([]),s=(0,Mg.useRef)({}),l=(0,Mg.useRef)(!1),c=(0,Mg.useRef)(0),[d,u]=(0,Mg.useState)([]),[p,m]=(0,Mg.useState)([]);c.current=p.length;let h=(0,Mg.useCallback)(()=>{let g=r.current||i.innerWidth,b=0,y=[],w=[];a.current.forEach((x,S,T)=>{let M=s.current[x.key]||32;b+=M;let I=g-b;I>=32||S===T.length-1&&!y.length&&I>=0?w.push(x):y.push(x)}),c.current!==y.length&&(m(y),u(w))},[]),f=(0,Mg.useCallback)(()=>{let g=AJ(Po.workingMode),b=DA.getConfigDataByDoctype(g)||[],y=[];b.forEach(x=>{if(x.startsWith("|"))y.push({key:"|"});else{let T=(ln.isViewerMode?RDi:oD).find(M=>M.key===x);T&&y.push(T)}}),n.current=n.current+1;let w=n.current;ivi(y).then(x=>{w===n.current&&(a.current=x,l.current=!0,u(x),m([]))})},[]);return(0,Mg.useLayoutEffect)(()=>{l.current&&(h(),l.current=!1)}),(0,Mg.useEffect)(()=>f(),[]),Ce(Po,()=>(f(),!1)),(0,Mg.useEffect)(()=>{let g=new i.ResizeObserver(b=>{r.current=b[0].contentRect.width,h()});return o.current&&g.observe(o.current),()=>{g.disconnect()}},[o.current,i]),Ce(Ai.toolConfigStatus,()=>(f(),!1)),Ce(is,()=>(Ai.toolConfigStatus.setValue(Ai.toolConfigStatus.value+1),l.current=!0,!0)),(0,qk.jsxs)("div",{ref:g=>{g&&(o.current=g)},className:e(`tool-bottom-container ${ln.isViewerMode?"viewerMode":""}`),children:[d.map((g,b)=>g!=null&&g.menuConfig?(0,qk.jsx)("div",{ref:y=>{var x;if(!y)return;let w=(x=y.getBoundingClientRect())==null?void 0:x.width;w&&(s.current[g.key]=w)},"data-name":g.key,children:(0,qk.jsx)(mMt,{...g==null?void 0:g.menuConfig})},`tool-bottom-${g.key}-${Ai.toolConfigStatus.value}`):g.children?(0,qk.jsx)("div",{ref:y=>{var x;if(!y)return;let w=(x=y.getBoundingClientRect())==null?void 0:x.width;w&&(s.current[g.key]=w)},"data-name":g.key,children:g.children},`tool-bottom-${g.key}-${Ai.toolConfigStatus.value}`):g.key==="|"?(0,qk.jsx)("div",{ref:y=>{var x;if(!y)return;let w=(x=y.getBoundingClientRect())==null?void 0:x.width;w&&(s.current[g.key]=w)},className:t["tool-bottom-menu-vlink"]},`tool-button-vlink-${b}`):(0,qk.jsx)("div",{ref:y=>{var x;if(!y)return;let w=(x=y.getBoundingClientRect())==null?void 0:x.width;w&&(s.current[g.key]=w)},"data-name":g.key,children:(0,qk.jsx)(pMt,{props:g})},`toolbar-bottom-${g.key}-${Ai.toolConfigStatus.value}`)),p.length>0&&(0,qk.jsx)(aDi,{configStatus:Ai.toolConfigStatus.value,buttonData:p},"tool-button-more")]})};function OQt(t){let e=t||document.querySelector("#toolbar-bottom");nOo.default.createRoot(e).render((0,qk.jsx)(Mg.default.StrictMode,{children:(0,qk.jsx)(Nan,{})}))}var COo=L(Hr());var tp=L(Se());var DF=L(Se());var RQt=L(sOo()),_Qt=L(z()),kan=()=>{let t=J(),{locals:e}=RQt.default;Ce(Po),Ae(RQt.default);let i=(0,DF.useRef)(null),o=(0,DF.useRef)(256),[r,n,a]=La(),[s,l]=(0,DF.useState)(""),c=(0,DF.useMemo)(()=>Po.workingMode==="1",[Po.workingMode]),d=b8?"EasyEDA Pro":"JLCEDA Pro";(0,DF.useEffect)(()=>{J8o().then(p=>l((p==null?void 0:p.username)||""))},[]),(0,DF.useEffect)(()=>(i.current&&n(i.current),()=>{a()}),[i.current]);let u=`${t(d)} - ${t("LicensedTo.licensedTo2")}${s?` - ${s}`:""}`;return Fn&&(u=t("EasyEDA Pro - Enterprise")),(0,_Qt.jsx)("div",{className:e["client-drag-area"],style:{position:"relative"},ref:i,children:c&&r&&r.width>o.current&&(0,_Qt.jsx)("div",{id:"client-activationInfo",className:e["client-activationInfo"],ref:p=>{var m,h;p&&(h=(m=p==null?void 0:p.getBoundingClientRect)==null?void 0:m.call(p))!=null&&h.width&&(o.current=p.getBoundingClientRect().width)},children:u})})},lOo=kan;var d4e=L(LSt());var Ph=L(z()),Pan=()=>{let{locals:t}=d4e.default;return(0,Ph.jsxs)("a",{href:"#",onClick:e=>{e.stopPropagation(),e.preventDefault(),Nt?window.open(C.servicesUrlConfig.ecadIndex):window.open(C.servicesUrlConfig.lcedaIndex)},id:"modelogo",children:[(0,Ph.jsx)("div",{className:"logos_zh",mode:"work",style:{display:"none"}}),Nt&&(0,Ph.jsx)("div",{className:t["ecad-logo"]}),Nt?"":vo?(0,Ph.jsx)("svg",{id:"logo-svg",width:"150",height:"30",viewBox:"0 0 150 30",className:t.logo,children:(0,Ph.jsx)("path",{id:"logo-path",d:z5e,fill:"white"})}):(0,Ph.jsx)("svg",{id:"logo-svg",width:"150",height:"30",viewBox:"0 0 1793 300",className:t.logo,style:{width:"108px"},children:(0,Ph.jsx)("path",{id:"logo-path",d:z5e,fill:"white"})})]})},Oan=()=>{let{locals:t}=d4e.default,e=(0,tp.useContext)(_r);Ce(uc);let i=(0,tp.useRef)({}),o=(0,tp.useRef)([]),r=(0,tp.useRef)(!1),n=(0,tp.useRef)(null),a=(0,tp.useRef)(0),s=(0,tp.useRef)(0),l=(0,tp.useRef)(!0),[c,d]=(0,tp.useState)([Yd[0]]),[u,p]=(0,tp.useState)([]);s.current=u.length;let m=(0,tp.useCallback)(()=>{let g=a.current>32?a.current:32,b=[],y=[],w=0;o.current.forEach((x,S,T)=>{let M=i.current[x.id]||70;if(b.some(A=>(A==null?void 0:A.id)===(x==null?void 0:x.id))||y.some(A=>(A==null?void 0:A.id)===(x==null?void 0:x.id)))return;w+=M;let I=g-w;I>=32||S===T.length-1&&!y.length&&I>=0?b.push(x):y.push(x)}),y.length!==s.current&&(uc.isAvatarMinWidth||o3.userInfo.size===0)&&(d(b),p(y),Z2.setMoreMenuByConfig(y))},[]),h=(0,tp.useCallback)(()=>{Z2.clear();let g=[];TDe().then(()=>{(ta[Po.workingMode]||ta[Yl]||[]).forEach(y=>{let w=Yd.find(x=>x.id===y);w&&!(w.isHide&&w.isHide())&&!g.some(x=>(x==null?void 0:x.id)===w.id)&&g.push(w)}),Z2.setTopMenuByConfig(g),o.current=g,r.current=!0,d(g),p([])})},[]);(0,tp.useEffect)(()=>{let g=new e.ResizeObserver(b=>{a.current=b[0].contentRect.width,m()});return n.current&&g.observe(n.current),()=>{g.disconnect()}},[n.current,e,m]),Ce(Po,()=>(h(),!1)),Ce(Rc.topMenuConfigStore,()=>(h(),!1)),(0,tp.useEffect)(()=>{h(),l.current=!1},[]),Ce(is,()=>(r.current=!0,d(o.current),p([]),!1)),(0,tp.useLayoutEffect)(()=>{if(!r.current)return;let g=0;o.current.forEach((b,y,w)=>{let x=i.current[b.id]||70;g+=x}),uc.menuWidth=g,uc.refreshView(),m(),r.current=!1}),(0,tp.useEffect)(()=>{m()},[uc.isAvatarMinWidth]);let f=(0,tp.useCallback)(g=>{var E,N,R,v,k,P,O,_,j,B,V,G;let{locals:b}=d4e.default,y=J(),w=(0,tp.useMemo)(()=>g.buttonData,[g.buttonData]),x=(0,tp.useMemo)(()=>{var Q;return(Q=w==null?void 0:w.menuItems)==null?void 0:Q.menuId},[w]);Ce(Z2.getMoreShowStatus());let S=(0,tp.useRef)(void 0),T=(0,tp.useRef)(void 0),M=((R=(N=(E=T.current)==null?void 0:E.getBoundingClientRect)==null?void 0:N.call(E))==null?void 0:R.width)||0,I=((P=(k=(v=S.current)==null?void 0:v.getBoundingClientRect)==null?void 0:k.call(v))==null?void 0:P.left)||0,A=e.innerWidth-8,D=(0,tp.useMemo)(()=>{let Q=I-M/2;return Q<0?4:Q+M>A?(A-M+8)/2:Q},[I,M,A]);return(0,Ph.jsxs)("div",{className:b["tool-bottom-menu-more"],onMouseLeave:()=>{setTimeout(()=>{si.judgeMenuShow(x)||Z2.setMoreShow(!1)},50)},"data-test":"More",children:[(0,Ph.jsx)("i",{ref:Q=>Q&&(S.current=Q),tabIndex:-1,onMouseEnter:()=>{S.current.focus(),Z2.setMoreShow(!0)},className:`icon-eda-move-down-line ${b["icon-eda-move-down-line"]}`,onClick:()=>Z2.setMoreShow(!1),title:y("More")}),(0,Ph.jsx)("div",{ref:Q=>Q&&(T.current=Q),className:b["tool-bottom-menu-more-container"],style:{maxWidth:`${A}px`,visibility:Z2.getMoreShowStatus().value?"visible":"hidden",left:D,top:(((j=(_=(O=S.current)==null?void 0:O.getBoundingClientRect)==null?void 0:_.call(O))==null?void 0:j.top)||0)+(((G=(V=(B=S.current)==null?void 0:B.getBoundingClientRect)==null?void 0:V.call(B))==null?void 0:G.height)||0)},children:w.map(Q=>Q.reactChild?(0,Ph.jsx)("div",{children:Q.reactChild},Q.id):(0,Ph.jsx)("div",{ref:H=>{H&&Z2.setMenuButtonPos(Q.id,H.getBoundingClientRect())},children:(0,Ph.jsx)(XV,{title:Q.title,menuConfig:Q.menuItems,menuMode:Po.workingMode,hotkeyCmd:Q.hotkeyCmd,onMouseEnter:(H,q)=>{if(si.judgeMenuShow(DSt)){Z2.closeOtherExpandTopMenu(Q.id);let U=q.getBoundingClientRect();si.openMenu(Q.menuItems.menuId,{x:U.left,y:U.top+U.height,width:0,height:(U==null?void 0:U.height)||0})}},menuCloseCallBack:()=>{setTimeout(()=>{si.judgeMenuShow(x)||Z2.setMoreShow(!1)},50)}})},Q.id))})]})},[]);return(0,Ph.jsxs)("div",{className:t["top-bar-menu-container"],ref:n,children:[(0,Ph.jsxs)("div",{className:t["top-bar-menu"],children:[c.map(g=>g.reactChild?(0,Ph.jsx)("div",{ref:b=>{b&&(l.current||(i.current[g.id]=b.getBoundingClientRect().width),Z2.setMenuButtonPos(g.id,b.getBoundingClientRect()))},children:g.reactChild},g.id):(0,Ph.jsx)("div",{ref:b=>{b&&(l.current||(i.current[g.id]=b.getBoundingClientRect().width),Z2.setMenuButtonPos(g.id,b.getBoundingClientRect()))},children:(0,Ph.jsx)(XV,{title:g.title,menuConfig:g.menuItems,menuMode:Po.workingMode,hotkeyCmd:g.hotkeyCmd,onMouseEnter:(b,y)=>{if(si.judgeMenuShow(DSt)){Z2.closeOtherExpandTopMenu(g.id,!0);let w=y.getBoundingClientRect();si.openMenu(g.menuItems.menuId,{x:w.left,y:w.top+w.height,width:0,height:(w==null?void 0:w.height)||0})}}})},g.id)),u.length>0&&(0,Ph.jsx)(f,{buttonData:u})]}),wi&&(0,Ph.jsx)(lOo,{})]})},Ran=()=>{let{locals:t}=d4e.default;return Ae(d4e.default),(0,Ph.jsxs)("div",{id:"toolbar-common",className:t["toolbar-common"],children:[(0,Ph.jsx)(Pan,{}),(0,Ph.jsx)(Oan,{})]})},cOo=tp.default.memo(Ran);var Ig=L(Se());var AR=L(jQt());var BQt="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/flags-NGE2WCVG.png";var fOo=L(jQt());var cEe=L(Se()),mOo=L(uT());var zQt=L(pOo()),dEe=L(z()),jan=({children:t,content:e})=>{Ae(zQt.default);let i=be.bind(zQt.default.locals),[o,r]=(0,cEe.useState)(!1),[n,a]=(0,cEe.useState)({x:0,y:0}),s=(0,cEe.useRef)(null),l=()=>{if(s.current){let d=s.current.getBoundingClientRect();a({x:d.left+d.width/2,y:d.bottom}),r(!0)}},c=()=>r(!1);return(0,dEe.jsxs)("div",{ref:s,className:i("tooltip-container"),onMouseEnter:l,onMouseLeave:c,children:[t,o&&mOo.default.createPortal((0,dEe.jsxs)("div",{className:i("tooltip-content"),style:{top:n.y,left:n.x},children:[e,(0,dEe.jsx)("div",{className:i("tooltip-arrow")})]}),document.body)]})},hOo=jan;var n3=L(Se());var r3=L(z()),gOo=()=>{Ce(o3),Ce(uc);let t=(0,n3.useContext)(_r),{locals:e}=fOo.default,i=be.bind(e),{userInfo:o}=o3,r=(0,n3.useRef)([]),[n,a]=(0,n3.useState)([]),[s,l]=(0,n3.useState)([]),[c,d]=(0,n3.useState)(!1),u=(0,n3.useRef)(0),[p,m]=(0,n3.useState)(0),h=(0,n3.useRef)(null),f=(0,n3.useCallback)(()=>{let y=[];TDe().then(()=>{(ta[Po.workingMode]||ta[Yl]||[]).forEach(x=>{let S=Yd.find(T=>T.id===x);S&&!(S.isHide&&S.isHide())&&!y.some(T=>(T==null?void 0:T.id)===S.id)&&y.push(S)}),r.current=y})},[]),g=(0,n3.useCallback)(()=>{let y=uc.menuWidth,w=Array.from(o.values()),x=[],S=document.body.clientWidth-y-500;S<300?(S=300,uc.isAvatarMinWidth=!0):uc.isAvatarMinWidth=!1,uc.refreshView();let T=Math.floor(S/34);w.length>T?(x=w.slice(T-1),w=w.slice(0,T),m(S)):m(o.size*34),a([...w]),l([...x])},[]),b=y=>{let w=y.target.getBoundingClientRect(),x={position:{x:w.left-5,y:w.bottom+2},menuMinWidth:100,data:[],onMenuClose:()=>{d(!1)},onMenuOpen:()=>{d(!0)}};x.data=s.map(S=>({title:(0,r3.jsx)(r3.Fragment,{children:(0,r3.jsxs)("section",{style:{display:"flex",padding:"0 8px"},children:[(0,r3.jsx)("img",{className:i("avatar-img"),src:S.userInfo.avatar,alt:""}),(0,r3.jsx)("span",{className:i("color-span"),style:{backgroundColor:S.color}}),(0,r3.jsx)("span",{style:{maxWidth:"220px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},title:S.userInfo.username||S.userInfo.nickname,children:S.userInfo.username||S.userInfo.nickname})]})}),isSetContentJSX:!0,isHideTips:!0,isHidePreTag:!0,isHideExt:!0})),Au.open(x)};return(0,n3.useEffect)(()=>{f()},[]),(0,n3.useEffect)(()=>{let y=new t.ResizeObserver(w=>{u.current=w[0].contentRect.width,g()});return y.observe(document.body),()=>{y.disconnect()}},[h.current,t]),(0,n3.useEffect)(()=>{m(o.size*34),g()},[Array.from(o.values()).length]),Ce(Po,()=>(f(),!1)),(0,n3.useEffect)(()=>{g()},[uc.menuWidth]),n.length>0&&(0,r3.jsx)("div",{className:i("avatar-wrap"),ref:h,style:{width:p+"px"},children:n.map((y,w)=>{let{color:x,userInfo:{avatar:S,username:T}}=y;return s.length>0&&w===n.length-1?(0,r3.jsxs)("div",{className:i("more-container"),onClick:b,children:[!c&&(0,r3.jsx)("p",{children:"+"+s.length}),c&&(0,r3.jsx)("p",{className:i("arr-icon")})]}):(0,r3.jsx)(r3.Fragment,{children:(0,r3.jsxs)("section",{style:{display:"flex"},children:[(0,r3.jsx)(hOo,{content:T,children:(0,r3.jsx)("img",{src:S,alt:""})}),(0,r3.jsx)("span",{style:{backgroundColor:x}})]})})})})};var ur=L(z()),Ban=()=>{switch(M9){case"HALF_OFFLINE":return"Half Offline";case"OFFLINE":return"Full Offline";case"ONLINE":return"Full Online"}},zan=()=>{let t=J(),{locals:e}=AR.default;Ae(AR.default),Ce(Po,()=>wi);let i=!0,o=au.getCurrentVersion().split("."),r="";for(let a=0;a<=2;a++){let s=o[a];if(s==null||s=="")break;a==0?r=`V${s}`:r+=`.${s}`}let n=Ban();return(0,ur.jsx)(ur.Fragment,{children:i&&(0,ur.jsx)("div",{className:e["version-info"],"data-test":"version-info",children:`${r}${wi?` | ${t(n)}`:""}`})})},Fan=()=>{let t=J(),{locals:e}=AR.default;Ce(uc,()=>!0);let i=()=>{let r=`icon ${e["icon-bg"]}`;return uc.showStatus==="failed"?r+=" icon-eda-sync-cloud-fill-dangerous":r+=" icon-eda-sync-cloud",r},o=()=>{let r=`icon ${e.icon}`;switch(uc.showStatus){case"loading":{r+=` icon-eda-sync-rotate ${e.rotation}`;break}case"failed":{r+=" icon-eda-sync-fail";break}case"success":default:{r+=" icon-eda-sync-finish";break}}return r};return(0,ur.jsx)(ur.Fragment,{children:(0,ur.jsxs)("div",{id:"uploadTool",style:{display:uc.topMenuShow?"block":"none"},className:e.uploadTool,onClick:()=>et("historicalRecords"),children:[(0,ur.jsx)("span",{className:i()}),(0,ur.jsx)("span",{className:o()})]})})},Uan=()=>{let t=J(),{locals:e}=AR.default;Ce(_f),Ce(_d),Ce(wS);let[i,o]=(0,Ig.useState)(!1),r=(0,Ig.useMemo)(()=>_f.loginStatus,[_f.loginStatus]),n=(0,Ig.useMemo)(()=>wS.workSpace,[wS.workSpace]),[a,s]=(0,Ig.useState)(0),l=(0,Ig.useMemo)(()=>{var p,m;if(n==="Personal"||!((m=(p=_d)==null?void 0:p.organization)!=null&&m.length))return"Personal";let u=_d.organization.find(h=>(h==null?void 0:h.uuid)===n);return`${u.name} (${u.applyName})`||""},[n,_d.organization]),c=(0,Ig.useMemo)(()=>_t?_d.organization:["Personal",..._d.organization],[_d.organization]);(0,Ig.useEffect)(()=>{n!==wS.workSpace&&s(a+1)},[]);let d=u=>{u!==n&&(qg(u),o(!1))};return(0,ur.jsx)(ur.Fragment,{children:r&&!_t?(0,ur.jsxs)("div",{className:e.userWorkSpace,onMouseEnter:()=>!_t&&o(!0),onMouseLeave:()=>!_t&&o(!1),children:[(0,ur.jsx)("div",{className:e.selectItem,"data-value":n,"data-test":l,children:t(l)}),(0,ur.jsx)("ul",{id:"workSpace-list",className:e["workSpace-list"],style:{display:i?"block":"none"},children:c.map(u=>u==="Personal"?(0,ur.jsx)("li",{className:n==="Personal"?e["selected-item"]:"","data-value":"Personal","data-test":"Personal",onClick:()=>d("Personal"),children:t("Personal")},u):(0,ur.jsx)("li",{className:n===u.uuid?e["selected-item"]:"","data-value":u.uuid,onClick:()=>d(u.uuid),children:`${u.name} (${u.applyName})`},u.uuid))})]}):(0,ur.jsx)(ur.Fragment,{})})},Van=()=>{Ce(is);let{locals:t}=AR.default,e=[{title:"\u7B80\u4F53\u4E2D\u6587",icon:"language_zh-hans",lang:"zh-hans"},{title:"English",icon:"language_en",lang:"en"}],[i,o]=(0,Ig.useState)(!1),r=(0,Ig.useMemo)(()=>{let n=e.find(a=>a.lang===is.lang);return(n==null?void 0:n.icon)||""},[is.lang]);return(0,ur.jsxs)("div",{id:"language",className:t.language,onClick:()=>{o(!0)},children:[is.lang==="en"?(0,ur.jsx)("div",{className:`${t["language-en-text"]} `,children:"EN"}):(0,ur.jsx)("div",{className:`${t.icon} ${t[r]}`,style:{backgroundImage:`url(${BQt})`}}),(0,ur.jsx)("div",{ref:n=>{n&&i&&n.focus()},className:t["language-list"],style:{display:i?"block":"none"},tabIndex:-1,onBlur:()=>o(!1),children:e.map(n=>(0,ur.jsxs)("div",{onClick:a=>{a.stopPropagation(),o(!1),et(`set_language(${n.lang})`)},children:[(0,ur.jsx)("span",{className:`${t[n.icon]} ${t["language-icon"]}`,style:{backgroundImage:`url(${BQt})`}}),(0,ur.jsx)("span",{children:n.title})]},n.title))})]})},Han=()=>{let t=J(),{locals:e}=AR.default;return(0,ur.jsx)(ur.Fragment,{children:!Je&&(0,ur.jsxs)("a",{className:e.bell+" bell",onClick:()=>et("toMyNotifications"),title:t("Notifications"),"data-test":"Notifications",children:[(0,ur.jsx)("span",{className:`icon-eda-bell ${e["icon-eda-bell"]}`}),(0,ur.jsx)("span",{id:"userNotification"})]})})},Gan=()=>{let{locals:t}=AR.default,e=J(),[i,o]=(0,Ig.useState)(!1),[r,n]=(0,Ig.useState)({inputValue:"",selectValue:""}),a=(0,Ig.useRef)(null),s=(0,Ig.useRef)(!1),l=be.bind(t),c=()=>{if(!r.inputValue){De({type:"warn",msg:"Please input search content",timer:3});return}let u="";r.selectValue==="OSHWLAB"&&(Xr&&(u=`https://oshwhub.com/search?wd=${r.inputValue}`),vo&&(u=`https://oshwlab.com/search?wd=${r.inputValue}`)),r.selectValue==="Tutorials"&&(Xr&&(u=`https://www4.bing.com/search?q=site:prodocs.lceda.cn+${r.inputValue}`),vo&&(u=`https://www.google.com/search?q=${r.inputValue}&as_sitesearch=prodocs.easyeda.com`)),o(p=>!p),window.open(u,"_blank")},d=[{value:"OSHWLAB",text:e({value:"OSHWLAB",context:"global-web-search"})},{value:"Tutorials",text:e({value:"Tutorials",context:"global-web-search"})}];return(0,Ig.useEffect)(()=>{n(u=>({...u,selectValue:d[0].value}))},[]),(0,ur.jsxs)("div",{className:l("global-search-wrapper"),children:[(0,ur.jsxs)("div",{className:l("global-search-wrapper-input",{hide:!i}),children:[(0,ur.jsx)("div",{onMouseDown:u=>{u.stopPropagation(),u.preventDefault()},children:(0,ur.jsx)(xt,{containerStyle:{width:"auto"},iconStyle:{borderLeftColor:"#fff",borderBottomColor:"#fff"},className:l("drop-select"),list:d,value:r.selectValue,optionsAutoWidth:!1,onChange:u=>{n(p=>({...p,selectValue:u}))}})}),(0,ur.jsx)("div",{onMouseDown:()=>{s.current&&(a.current&&a.current.setSelectionRange(null,null),s.current=!1)},children:(0,ur.jsx)(Kt,{ref:a,defaultValue:r.inputValue,className:l("custom-input"),onChange:u=>{n(p=>({...p,inputValue:u.trim()}))},onBlur:()=>{o(!1)},onkeydown:u=>{u.keyCode===13?c():u.keyCode===27&&o(!1)}})})]}),(0,ur.jsx)("span",{className:l("global-search-icon"),onMouseDown:u=>{u.preventDefault(),u.stopPropagation()},onClick:()=>{i?c():(o(!i),setTimeout(()=>{a.current.focus(),a.current.select(),s.current=!0}))},children:(0,ur.jsx)("i",{className:"icon-eda-zoom-small"})})]})},Yan=()=>{Ce(_me);let t=_me.versionUpdate,e=be("icon-eda-update");return(0,ur.jsx)("div",{id:"versionUpdate",className:be({hidden:!t}),onClick:()=>et("versionUpdate"),children:(0,ur.jsx)("span",{className:e})})},Wan=()=>{let t=J(),e=F5e.maxOrRestore;Ce(F5e);let{locals:i}=AR.default;return(0,ur.jsxs)("div",{className:i["app-window-controls"],"data-test":"app-window-controls",children:[(0,ur.jsx)("button",{type:"button","data-type":"_settings",onClick:()=>LA(),title:"\u8BBE\u7F6E","data-test":"Settings"}),(0,ur.jsx)("button",{type:"button","data-type":"_min",onClick:()=>Zv("_min"),title:"\u6700\u5C0F\u5316","data-test":"Minimize"}),(0,ur.jsx)("button",{type:"button","data-type":e,onClick:()=>Zv("_max"),title:"\u6700\u5927\u5316/\u8FD8\u539F","data-test":"Maximize/Restore"}),(0,ur.jsx)("button",{type:"button","data-type":"_close",onClick:()=>ESt(),title:"\u5173\u95ED","data-test":"Close"})]})},Qan=()=>{let t=J(),{locals:e}=AR.default;Ce(_f),Ce(_d),Ce(qv);let[i,o]=(0,Ig.useState)(!1),r=(0,Ig.useMemo)(()=>_f.loginStatus,[_f.loginStatus]),n=(0,Ig.useMemo)(()=>_d.organization,[_d.organization]),a=qv.userAvatar,s=qv.userName,l=async(c,d)=>{if(!wi){window.open(d);return}let u=`${window.location.protocol}//${window.location.host}${d}`;await C.messageBus.rpcCall(Ei.CLIENT.OPEN_URL,[u])};return(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsxs)("div",{id:"userAvatarBox",style:{display:r&&a?"inline-block":"none",width:"auto"},onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:[(0,ur.jsxs)("a",{title:t("Homepage"),"data-test":"Homepage",className:e["user-avatar"],onClick:()=>{Nt?et("toMyAccount"):et("toMyHomePage")},children:[(0,ur.jsx)("img",{alt:"Avatar",src:a,style:{verticalAlign:"middle",marginTop:"0px"}}),(0,ur.jsxs)("div",{id:"loginUsername",children:[(0,ur.jsx)("span",{children:s}),(0,ur.jsx)("i",{className:e.triangle,style:i?{top:"25px",border:"5px solid transparent",borderBottom:"5px solid #fff",borderTop:"none"}:{top:"25px",border:"5px solid transparent",borderTop:"5px solid #fff",borderBottom:"none"}})]})]}),(0,ur.jsx)("div",{style:i?{paddingTop:"6px"}:{paddingTop:"0px"},children:(0,ur.jsxs)("div",{id:"mm-common-user",style:{display:i?"unset":"none"},children:[(0,ur.jsxs)("div",{className:e["user-avatar"],onClick:()=>{Nt?et("toMyAccount"):et("toMyHomePage")},children:[(0,ur.jsx)("img",{alt:"Avatar",src:a}),(0,ur.jsx)("span",{id:"loginInfo",children:s})]}),(0,ur.jsxs)("div",{className:e["menu-item"],onClick:()=>et("toMyAccount"),children:[(0,ur.jsx)("i",{className:"icon-eda-person"}),(0,ur.jsx)("span",{"data-test":"Account",children:t("User Center")})]}),(0,ur.jsxs)("div",{id:"workSpace",children:[(0,ur.jsx)("span",{"data-test":"Work Space",style:{fontWeight:600,height:"24px",display:"block",padding:"5px 14px 0 16px",boxSizing:"border-box"},children:t("Work Space")}),(0,ur.jsxs)("div",{className:"workSpace",children:[!_t&&(0,ur.jsxs)("a",{href:"#",target:"_blank",style:{lineHeight:"32px"},onClick:c=>{l(c,`/account/user/projects/all?from=editor&lang=${mt.toWorkSpaceNeedLang()}`)},children:[(0,ur.jsx)("i",{className:"icon-eda-person"}),(0,ur.jsx)("span",{"data-test":"Personal Workspace",children:t("Personal Workspace")})]}),(0,ur.jsx)("ul",{className:"workSpaceList",children:n.map(c=>(0,ur.jsx)("li",{children:(0,ur.jsxs)("a",{href:"#",onClick:d=>{l(d,`/account/user?orguuid=${c.uuid}&from=editor&lang=${mt.toWorkSpaceNeedLang()}`)},target:"_blank",children:[(0,ur.jsx)("i",{className:"icon-eda-member"}),(0,ur.jsx)("span",{children:`${c.name} (${c.applyName})`})]})},c.uuid))})]})]}),(0,ur.jsxs)("div",{className:e["menu-item"],onClick:()=>et("user_logout"),children:[(0,ur.jsx)("i",{className:"icon-eda-exit-quit"}),(0,ur.jsx)("span",{"data-test":"Logout",children:t("Logout")})]})]})})]}),(0,ur.jsx)("a",{href:"#",id:"login-btn","data-test":"Login",title:t("Login"),style:{display:r?"none":"flex"},onClick:c=>{c.preventDefault(),c.stopPropagation(),et("user_login")},children:t("Login")}),(0,ur.jsx)("a",{href:"#",id:"register-btn","data-test":"Register",title:t("Register"),style:{display:r?"none":"flex"},onClick:c=>{c.preventDefault(),c.stopPropagation(),et("user_register")},children:t("Register")})]})},Kan=()=>(Ae(AR.default),Ce(o3),(0,ur.jsxs)("div",{id:"userbar",children:[!_t&&(0,ur.jsx)(Gan,{}),(0,ur.jsx)(zan,{}),!Je&&(0,ur.jsx)(Yan,{}),!Je&&(0,ur.jsx)(Uan,{}),!Je&&(0,ur.jsx)(Fan,{}),(0,ur.jsx)(Van,{}),(0,ur.jsx)(Zan,{}),!Je&&!iT&&(0,ur.jsx)(Han,{}),!Je&&o3.userInfo.size>0&&(0,ur.jsx)(gOo,{}),!Je&&(0,ur.jsx)(Qan,{}),wi&&(0,ur.jsx)(Wan,{})]})),bOo=Ig.default.memo(Kan);function Zan(){if(!_t)return(0,ur.jsx)(ur.Fragment,{});let t=1e3,e=1e3,i=Math.max((window.screen.availHeight-e)/2,0),r=`left=${Math.max(window.screenLeft+(window.screen.availWidth-t)/2,0)},top=${i},width=${t},height=${e}`,n=`//${location.host}/editor?entry=chat`;return(0,ur.jsx)("a",{className:"icon-eda-chat",onClick:()=>{console.log(r),window.open(n,"_blank",r)}})}var FQt=L(wOo());var u4e=L(z()),Jan=()=>{let{locals:t}=FQt.default,e=be.bind(t);return Ae(FQt.default),(0,u4e.jsxs)("div",{id:"top-bar-react",className:e(`top-wrap ${Nt?"ecadWrap":""}`),children:[(0,u4e.jsx)(cOo,{}),(0,u4e.jsx)(bOo,{})]})};function UQt(t){let e=t||document.querySelector("#top-wrap");COo.default.createRoot(e).render((0,u4e.jsx)(Jan,{}))}var Wct=L(Se()),vOo=L(Hr());var HQt=L(TOo());var VQt=L(MOo());var yce=L(z()),{locals:qan}=VQt.default,{tips:Xan,buttons:$an}=qan,IOo=()=>{Dt({icon:"warning",title:"Warning",content:"Your file hasn't been saved. Would you like to save it now?",cancelButtonType:"primary",showCancel:!0,confirmText:"Save",cancelText:"Don't Save",onConfirm:()=>{let e=he.getActiveTab();new Qm(e).todo().then(o=>{o.success?De({type:"success",msg:"Saved successfully!"}):De({type:"error",msg:"Saved failed!"})})},onCancel:()=>{}})},LOo=t=>{let{symbolDetail:e}=t;Ae(VQt.default);let i=J();return(0,yce.jsxs)("div",{className:Xan,children:[(0,yce.jsx)("span",{children:i("Symbols and footprint are only used to record graphics and attribute positions. Attribute values should be maintained in the device. You can associate and create new devices in the devices tab.")}),(0,yce.jsxs)("div",{className:$an,children:[(0,yce.jsx)(Me,{size:"sm",onClick:async function(){if((await C.messageBus.rpcCall("isTabUnSaved",lo(e.uuid,e.path))).message){IOo();return}C.messageBus.publish("openDeviceDlg",{...e,updateAttrPanel:!0})},children:i("New Device")}),(0,yce.jsx)(Me,{size:"sm",onClick:async function(){if((await C.messageBus.rpcCall("isTabUnSaved",lo(e.uuid,e.path))).message){IOo();return}Hv({scenesType:"deviceList",componentId:e.uuid,path:e.path,doctype:e.docType,isFromProject:e.path===C.currentProject.projectId,isUpdateAttrPanel:!0})},children:i("Binding Device")})]})]})};var y2=L(z()),{locals:esn}=HQt.default,{property_panel:tsn}=esn,p4e="symbol_property_panel",isn=()=>{Ae(HQt.default),Ce(ace);let{data:t}=ace,e=(0,Wct.useRef)(null);if((0,Wct.useEffect)(()=>{var m;if(t!=null&&t.focus&&t.focus.propertyPanelId===p4e&&(e!=null&&e.current)){let{propertyKey:h,propertyPanelId:f}=t.focus,g=(m=e==null?void 0:e.current)==null?void 0:m.querySelector(`input[name="${h}"]`),b=e.current.querySelector("#"+"More Properties".replace(" ","_"))||e.current.querySelector("#"+"Title Block".replace(" ","_"));b&&b.getAttribute("data-status")==="close"&&b.click(),setTimeout(()=>{var y;if(f===p4e){let w=(y=e==null?void 0:e.current)==null?void 0:y.querySelector(`input[name="${h}"]`);w&&w.focus()}})}}),!t)return(0,y2.jsx)(y2.Fragment,{});let{targetFilterBySelectedType:i,selectedTypes:o,focus:r,target:n,docType:a,symbolDetail:s,deviceDetail:l}=t,c=0;function d(m){m=ue.deepClone(m);let{headInfo:h,groups:f,target:g,targetFilterBySelectedType:b,selectedTypes:y,docType:w}=m;Array.isArray(f)&&(m.groups=f.filter(S=>S.title==="Simulation Properties"||S.title==="Model Binding"));for(let S=0;S<f.length;S++){let{title:T,content:M}=f[S];switch(T){case"Model Binding":{let{data:I}=M;f[S].content=(0,y2.jsxs)(y2.Fragment,{children:[w===se.BLOCK_SYMBOL||l?"":(0,y2.jsx)(LOo,{symbolDetail:s}),x(I)]});break}case"Simulation Properties":{let{data:I}=M;if(I.length>0){let A=I.findIndex(D=>D.valueType==="addParamSelector");if(A>=0){let{valueType:D,valueDisabled:E,valueOptions:N}=I[A];I.splice(A,1),f[S].content=(0,y2.jsx)(y2.Fragment,{children:x(I,T)}),f[S].after=(0,y2.jsx)(Gf,{disabled:E,list:N,onAddProperty:p})}else f[S].content=(0,y2.jsx)(y2.Fragment,{children:x(I)})}else f[S].content=(0,y2.jsx)(y2.Fragment,{});break}default:f[S].content=(0,y2.jsx)(y2.Fragment,{})}}return m;function x(S,T){let M=[];for(let I=0;I<S.length;I++)M.push((0,y2.jsx)(qlt,{index:c,...S[I],groupTitle:T},I)),c++;return M}}let u=(m,h,f)=>{let g={};for(let b of Object.keys(n||{})){let y={$$root:m};g[b]=y}m[C.PropertyKey.Symbol.key]&&Object.hasOwnProperty.call(m[C.PropertyKey.Symbol.key],"value")&&(f.notRender=!0),C.messageBus.publish("sch/setSymbolDocProperty",{docType:a,data:g,...f})},p=m=>{let h={};for(let f of Object.keys(n||{})){let g={$$root:m};h[f]=g}C.messageBus.publish("sch/addSymbolDocProperty",{data:h,focus:{propertyKey:Object.keys(m||{})[0],propertyPanelId:p4e}})};return(0,y2.jsx)(QDe.Provider,{value:{onChange:u,onAddProperty:p,propertyPanelId:p4e,selectedTypes:o,docType:a,target:n,targetFilterBySelectedType:i,symbolDetail:s,deviceDetail:l},children:(0,y2.jsx)("div",{className:tsn,id:p4e,children:(0,y2.jsx)(tf,{propertyPanelId:p4e,...d(t),ref:e})})})};function osn(){let t=document.querySelector("#Sim-property");vOo.default.createRoot(t).render((0,y2.jsx)(isn,{}))}function DOo(){osn()}async function EOo(t){let e=new E2(D2.DEBUG),i=null;await o();async function o(){t&&t!==i&&(i=t,C.disablePreference&&C.disablePreference(),C.setPreference=()=>{},C.getPreference={},C.disablePreference=null)}}var kOo=L(hS());var AOo=["/commSystemSetting/HOTKEY/menuHotkey"],NOo=["/commSystemSetting/HOTKEY/menuHotkey"];var Ji=class{static classOf(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}static isFunction(e){return this.classOf(e)==="function"}static isArray(e){return this.classOf(e)==="array"}static isObject(e){return this.classOf(e)==="object"}static isDate(e){return this.classOf(e)==="date"}static isUndefined(e){return this.classOf(e)==="undefined"}static isNull(e){return this.classOf(e)==="null"}static isRegexp(e){return this.classOf(e)==="regexp"}static isError(e){return this.classOf(e)==="error"}static isMap(e){return this.classOf(e)==="map"}static isWeakMap(e){return this.classOf(e)==="weakmap"}static isSet(e){return this.classOf(e)==="set"}static isWeakSet(e){return this.classOf(e)==="weakset"}static isSymbol(e){return this.classOf(e)==="symbol"}static isBigInt(e){return this.classOf(e)==="bigint"}static isEmpty(e){return this.isMap(e)||this.isWeakMap(e)||this.isSet(e)||this.isWeakSet(e)?e.size()<=0:this.isArray(e)?e.length<=0:this.isObject(e)?Object.keys(e).length<=0:!0}static isEmptyArray(e){return e.length<=0}static isEmptyObject(e){return Object.keys(e).length<=0}static isSameType(e,i){return this.classOf(e)===this.classOf(i)}static isPrimitiveValue(e){return!this.isObject(e)&&!this.isArray(e)}static compareValues(e,i){return e===i?this.TYPE_UNCHANGED:this.isDate(e)&&this.isDate(i)&&e.getTime()===i.getTime()?this.TYPE_UNCHANGED:typeof e>"u"?this.TYPE_CREATED:typeof i>"u"?this.TYPE_DELETED:this.TYPE_UPDATED}static exec(e,i){return GQt(e,i)}static resetOutput(){this.exec2Output={}}static exec2(e,i,o=!1){return this.resetOutput(),YQt(e,i,"",o),this.exec2Output}};Ji.TYPE_CREATED="CREATED",Ji.TYPE_UPDATED="UPDATED",Ji.TYPE_DELETED="DELETED",Ji.TYPE_UNCHANGED="UNCHANGED",Ji.KEY_TYPE="$$TYPE",Ji.KEY_NEW_DATA="$$NEW_NEW_DATA",Ji.KEY_OLD_DATA="$$NEW_OLD_DATA",Ji.KEY_NEW_CLASSOF="$$KEY_NEW_CLASSOF",Ji.KEY_OLD_CLASSOF="$$KEY_OLD_CLASSOF",Ji.KEY_PATH="$$KEY_PATH",Ji.exec2Output={};function GQt(t,e){let i={},o;if(Ji.isFunction(t)||Ji.isFunction(e))throw"Invalid argument. Function given, Object expected.";if(Ji.isPrimitiveValue(t)||Ji.isPrimitiveValue(e))return{[Ji.KEY_TYPE]:Ji.compareValues(t,e),[Ji.KEY_NEW_DATA]:e||void 0,[Ji.KEY_OLD_DATA]:t||void 0,[Ji.KEY_NEW_CLASSOF]:Ji.classOf(e),[Ji.KEY_OLD_CLASSOF]:Ji.classOf(t)};let r=!1;for(let n in t)Ji.isFunction(t[n])||(o=void 0,typeof e[n]<"u"&&(o=e[n]),r=!0,i[n]=GQt(t[n],o));for(let n in e)Ji.isFunction(e[n])||typeof i[n]<"u"||(r=!0,i[n]=GQt(void 0,e[n]));return r?(i[Ji.KEY_TYPE]=Ji.isSameType(t,e)?Ji.TYPE_UNCHANGED:Ji.TYPE_UPDATED,i[Ji.KEY_NEW_CLASSOF]=Ji.classOf(e),i[Ji.KEY_OLD_CLASSOF]=Ji.classOf(t),i):{[Ji.KEY_TYPE]:Ji.isSameType(t,e)?Ji.TYPE_UNCHANGED:Ji.TYPE_UPDATED,[Ji.KEY_NEW_DATA]:e||void 0,[Ji.KEY_OLD_DATA]:t||void 0,[Ji.KEY_NEW_CLASSOF]:Ji.classOf(e),[Ji.KEY_OLD_CLASSOF]:Ji.classOf(t)}}function YQt(t,e,i="",o=!1){let r={},n;if(Ji.isFunction(t)||Ji.isFunction(e))throw"Invalid argument. Function given, Object expected.";if(AOo.indexOf(i)>=0)return{[Ji.KEY_TYPE]:Ji.compareValues(t,e),[Ji.KEY_NEW_DATA]:e||void 0,[Ji.KEY_OLD_DATA]:t||void 0,[Ji.KEY_NEW_CLASSOF]:Ji.classOf(e),[Ji.KEY_OLD_CLASSOF]:Ji.classOf(t),[Ji.KEY_PATH]:i};if(Ji.isPrimitiveValue(t)||Ji.isPrimitiveValue(e))return{[Ji.KEY_TYPE]:Ji.compareValues(t,e),[Ji.KEY_NEW_DATA]:e||void 0,[Ji.KEY_OLD_DATA]:t||void 0,[Ji.KEY_NEW_CLASSOF]:Ji.classOf(e),[Ji.KEY_OLD_CLASSOF]:Ji.classOf(t),[Ji.KEY_PATH]:i};let a=!1,s=i;if(!o&&Ji.isArray(t)&&Ji.isArray(e))return t.length===1&&e.length===1&&t[0]===e[0]?{[Ji.KEY_TYPE]:Ji.TYPE_UNCHANGED,[Ji.KEY_NEW_DATA]:e||void 0,[Ji.KEY_OLD_DATA]:t||void 0,[Ji.KEY_NEW_CLASSOF]:Ji.classOf(e),[Ji.KEY_OLD_CLASSOF]:Ji.classOf(t),[Ji.KEY_PATH]:i}:Ji.isEmptyArray(t)&&Ji.isEmptyArray(e)?{[Ji.KEY_TYPE]:Ji.TYPE_UNCHANGED,[Ji.KEY_NEW_DATA]:e||void 0,[Ji.KEY_OLD_DATA]:t||void 0,[Ji.KEY_NEW_CLASSOF]:Ji.classOf(e),[Ji.KEY_OLD_CLASSOF]:Ji.classOf(t),[Ji.KEY_PATH]:i}:{[Ji.KEY_TYPE]:Ji.TYPE_UPDATED,[Ji.KEY_NEW_DATA]:e||void 0,[Ji.KEY_OLD_DATA]:t||void 0,[Ji.KEY_NEW_CLASSOF]:Ji.classOf(e),[Ji.KEY_OLD_CLASSOF]:Ji.classOf(t),[Ji.KEY_PATH]:i};for(let l in t)Ji.isFunction(t[l])||(n=void 0,typeof e[l]<"u"&&(n=e[l]),a=!0,s=i+"/"+l,r[l]=YQt(t[l],n,s,o),r[l][Ji.KEY_PATH]&&(Ji.exec2Output[r[l][Ji.KEY_PATH]]=r[l]));for(let l in e)Ji.isFunction(e[l])||typeof r[l]<"u"||(a=!0,s=i+"/"+l,r[l]=YQt(void 0,e[l],s,o),r[l][Ji.KEY_PATH]&&(Ji.exec2Output[r[l][Ji.KEY_PATH]]=r[l]));return a?(r[Ji.KEY_TYPE]=Ji.isSameType(t,e)?Ji.TYPE_UNCHANGED:Ji.TYPE_UPDATED,r[Ji.KEY_NEW_CLASSOF]=Ji.classOf(e),r[Ji.KEY_OLD_CLASSOF]=Ji.classOf(t),r):{[Ji.KEY_TYPE]:Ji.isSameType(t,e)?Ji.TYPE_UNCHANGED:Ji.TYPE_UPDATED,[Ji.KEY_NEW_DATA]:e||void 0,[Ji.KEY_OLD_DATA]:t||void 0,[Ji.KEY_NEW_CLASSOF]:Ji.classOf(e),[Ji.KEY_OLD_CLASSOF]:Ji.classOf(t),[Ji.KEY_PATH]:i}}function uEe(t){let e=Object.keys(t).sort(),i={};for(let o=0;o<e.length;o++)i[e[o]]=t[e[o]];return i}var Qct=class{constructor(){this.runtimeProfile=null,this.referenceProfile=null,this.zipInstance=null,this.directory={},this.allDiffResult={},this.zipFileName="perferenceUpradeRuntimeCode.zip",this.sameFilenameNumberTag=1,this.filenamesMapInFolder={},this.moduleRegisterFunctionImportPaths=[],this.rootRegisterFilename="rootRegister"}getRuntimeProfile(){return this.runtimeProfile}updateRuntimeProfile(e){this.runtimeProfile=e}getReferenceProfile(){return this.referenceProfile}updateReferenceProfile(e){this.referenceProfile=e}execDiff(){return Ji.exec(this.referenceProfile,this.runtimeProfile)}execDiff2(){this.allDiffResult={};let e={},i={},o={},r={};this.allDiffResult=Ji.exec2(this.referenceProfile,this.runtimeProfile,!1);let n=Object.keys(this.allDiffResult);for(let d=0;d<n.length;d++){let u=this.allDiffResult[n[d]];switch(u[Ji.KEY_TYPE]){case Ji.TYPE_UNCHANGED:{e[u[Ji.KEY_PATH]]=u;break}case Ji.TYPE_DELETED:{i[u[Ji.KEY_PATH]]=u;break}case Ji.TYPE_UPDATED:{o[u[Ji.KEY_PATH]]=u;break}case Ji.TYPE_CREATED:{r[u[Ji.KEY_PATH]]=u;break}}}let a=uEe(e),s=uEe(i),l=uEe(o),c=uEe(r);return{unchanged:a,unchangedSize:Object.keys(a).length,deleted:s,deletedSize:Object.keys(s).length,updated:l,updatedSize:Object.keys(l).length,created:c,createdSize:Object.keys(c).length}}async createDiffLocaleFile(){this.zipInstance=new kOo.default,this.directory={},this.moduleRegisterFunctionImportPaths=[];let e=Object.keys(this.allDiffResult),i=0;for(let r=0;r<e.length;r++){if(this.allDiffResult[e[r]].$$TYPE===Ji.TYPE_UNCHANGED)continue;let a=this.splitKey(e[r]),s=a.length-2,l=s<=0?0:s;this.createFolderLevel(i,this.zipInstance,a[0],0,l,e[r]),i++}this.zipInstance.file(this.rootRegisterFilename+".ts",this.createRootRegisterJSCodeString());let o=await this.zipInstance.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:9}});return this.downloadZipFile(o,this.zipFileName),o}createFolderLevel(e,i,o,r,n,a){if(!o||n<0)return;if(r<=0&&(this.moduleRegisterFunctionImportPaths[e]='import "./'),this.moduleRegisterFunctionImportPaths[e]+=`${o}/`,this.directory[o]||(this.directory[o]=i.folder(o),this.filenamesMapInFolder={},this.sameFilenameNumberTag=1),r+=1,r>=n){let l=this.allDiffResult[a],c=this.createJSFileName(a).toLocaleLowerCase();typeof this.filenamesMapInFolder[c]>"u"?this.filenamesMapInFolder[c]=c:c=`${c}_${this.sameFilenameNumberTag++}`,this.directory[o].file(c+".ts",this.createModulesJSCodeString(a,l.$$TYPE,new Array(r).fill("..").join("/"))),this.moduleRegisterFunctionImportPaths[e]+=`${c}"`;return}let s=this.splitKey(a)[r];return this.createFolderLevel(e,this.directory[o],s,r,n,a)}createModulesJSCodeString(e,i,o){return`import { upgradePreference } from '${o?`${o}/../utils/utils`:"../utils/utils"}';

upgradePreference('${e}', (type: string = '${i}', key: string = '${e}', data: { oldData: any, newData: any }): any => {})`}createRootRegisterJSCodeString(){let e="";for(let i=0;i<this.moduleRegisterFunctionImportPaths.length;i++)e+=this.moduleRegisterFunctionImportPaths[i]+`
`;return`${e}`}downloadZipFile(e,i){let o=document.createElement("a");o.download=i,o.style.display="none",o.href=URL.createObjectURL(e),document.body.appendChild(o),o.click(),document.body.removeChild(o)}splitKey(e){return e.split("/").filter(i=>!!i)}createJSFileName(e){return this.splitKey(e).join("_")}};async function POo(t=!1){return t?new Promise(e=>{window.fetch("/api/user",{method:"GET"}).then(i=>{i.json().then(o=>{e(o.result.preference)})})}):new Promise(e=>{window.fetch("/api/system/preference",{method:"GET"}).then(i=>{i.json().then(o=>{e(o.result)})})})}var pEe={};function yi(t,e){if(t in pEe)throw new Error("duplicate key");pEe[t]=e}function EF(t){for(let e of Object.keys(t||{}))yi(e,(i="UPDATED",o=e,r)=>{mEe(r,o)})}function mEe(t,e){let{oldData:i,newData:o}=t;if(o===void 0)return;let r=`${e}`,n=o;["updated","created"].includes(o==null?void 0:o.type)&&(n=o.data),C.setPreference(r,n)}yi("/attributePanelColumnWidth",(t="CREATED",e="/attributePanelColumnWidth",i)=>{let{oldData:o,newData:r}=i,n=`${e}`,a=r;C.setPreference(n,a)});yi("/basicLibraryRowNum",(t="CREATED",e="/basicLibraryRowNum",i)=>{let{oldData:o,newData:r}=i,n=`${e}`,a=r;C.setPreference(n,a)});yi("/BOM",(t="CREATED",e="/BOM",i)=>{let{oldData:o,newData:r}=i,n="/BOM/ATTR/value",a="/BOM/FILTER/value",s=r.ATTR,l=r.FILTER;C.setPreference(n,s),C.setPreference(a,l)});yi("/BomRule",(t="CREATED",e="/BomRule",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/commSystemSetting/ADSORPTION/Common/value/id",(t="DELETED",e="/commSystemSetting/ADSORPTION/Common/value/id",i)=>{});yi("/commSystemSetting/ADSORPTION/Common/value/options",(t="UPDATED",e="/commSystemSetting/ADSORPTION/Common/value/options",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/commSystemSetting/ADSORPTION/Layout/Route/value/id",(t="DELETED",e="/commSystemSetting/ADSORPTION/Layout/Route/value/id",i)=>{});yi("/commSystemSetting/ADSORPTION/Layout/Route/value/options",(t="UPDATED",e="/commSystemSetting/ADSORPTION/Layout/Route/value/options",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/commSystemSetting/ADSORPTION/Outline Object/value/id",(t="DELETED",e="/commSystemSetting/ADSORPTION/Outline Object/value/id",i)=>{});yi("/commSystemSetting/ADSORPTION/Outline Object/value/options",(t="UPDATED",e="/commSystemSetting/ADSORPTION/Outline Object/value/options",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});var rsn={"/commSystemSetting/CANVAS/wire_drawing_type/value":"rightClickEnd","/commSystemSetting/CANVAS/cursor/value":"Big","/commSystemSetting/CANVAS/schAlwaysDisplayCursor/value":!1,"/commSystemSetting/CANVAS/gridStyle/value":"line","/commSystemSetting/CANVAS/maxSymbolNum/value":150,"/commSystemSetting/CANVAS/sch_gridSize/value":"0.05","/commSystemSetting/CANVAS/schlib_gridSize/value":"0.1","/commSystemSetting/CANVAS/schAltSnapGridSize/value":"0.01","/commSystemSetting/CANVAS/schlibAltSnapGridSize/value":"0.05","/commSystemSetting/CANVAS/take_REFDES/value":"2","/commSystemSetting/CANVAS/ruler/value":!0,"/commSystemSetting/CANVAS/line_width_show/value":"0","/commSystemSetting/CANVAS/guide_line_display_way/value":"1","/commSystemSetting/CANVAS/drag_symbol_wire_follow_way/value":"0","/commSystemSetting/CANVAS/rotate_symbol_wire_follow_way/value":"1","/commSystemSetting/CANVAS/drag_netname_mode/value":"Adjust Property Position","/commSystemSetting/CANVAS/auto_annotate_refdes/value":"auto","/commSystemSetting/CANVAS/net_select_method/value":"single","/commSystemSetting/CANVAS/hover_highlight_netgroup/value":!1,"/commSystemSetting/CANVAS/auto_adjust_attr_after_rotation/value":!0,"/commSystemSetting/CANVAS/is_ctrl_drag_to_drag/value":!0,"/commSystemSetting/CANVAS/netname_selected_action/value":"selfFirst","/commSystemSetting/CANVAS/referencePoint_select_method/value":"default","/commSystemSetting/CANVAS/defaultNetname/value":"true","/commSystemSetting/CANVAS/netFlagCrossLayerConnection/value":!0,"/commSystemSetting/CANVAS/netLabelCrossPageConnection/value":!0,"/commSystemSetting/CANVAS/busGenerateNetClass/value":!0,"/commSystemSetting/CANVAS/relevanceDisplayRow/value":gZ.SINGLE,"/commSystemSetting/CANVAS/relevanceBelongSchPage/value":G6.NAME,"/commSystemSetting/CANVAS/relevanceLocation/value":$9.ZONE,"/commSystemSetting/CANVAS/wireMultipleNet/value":"true","/commSystemSetting/CANVAS/unit/value":"inch","/commSystemSetting/CANVAS/isAutoMoveCanvasDuringCrossProbe/value":!0,"/commSystemSetting/CANVAS/isAutoFitSelectionDuringCrossProbe/value":!1,"/commSystemSetting/CANVAS/isOtherObjectsDimDuringCrossProbe/value":!1,"/commSystemSetting/CANVAS/multipartCrossLayer/value":!0};EF(rsn);yi("/commSystemSetting/ADSORPTION/Snap Distance Key",(t="DELETED",e="/commSystemSetting/ADSORPTION/Snap Distance Key",i)=>{});yi("/commSystemSetting/ADSORPTION/Snapping Key",(t="DELETED",e="/commSystemSetting/ADSORPTION/Snapping Key",i)=>{});yi("/commSystemSetting/BASE_LIBRARY",(t="UPDATED",e="/commSystemSetting/BASE_LIBRARY",i)=>{mEe(i,e)});yi("/commSystemSetting/BASE_PANEL_LIB",(t="UPDATED",e="/commSystemSetting/BASE_PANEL_LIB",i)=>{mEe(i,e)});yi("/commSystemSetting/CLIENT/autoCheckVersionUpdate",(t="DELETED",e="/commSystemSetting/CLIENT/autoCheckVersionUpdate",i)=>{});yi("/commSystemSetting/CLIENT/cbbPath",(t="DELETED",e="/commSystemSetting/CLIENT/cbbPath",i)=>{});yi("/commSystemSetting/CLIENT/data",(t="CREATED",e="/commSystemSetting/CLIENT/data",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/commSystemSetting/CLIENT/libPath",(t="DELETED",e="/commSystemSetting/CLIENT/libPath",i)=>{});yi("/commSystemSetting/CLIENT/onlinePrjBackupPath",(t="DELETED",e="/commSystemSetting/CLIENT/onlinePrjBackupPath",i)=>{});yi("/commSystemSetting/CLIENT/projectPath",(t="DELETED",e="/commSystemSetting/CLIENT/projectPath",i)=>{});yi("/commSystemSetting/CLIENT/systemOnlineType",(t="DELETED",e="/commSystemSetting/CLIENT/systemOnlineType",i)=>{});yi("/commSystemSetting/CLIENT/type",(t="CREATED",e="/commSystemSetting/CLIENT/type",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/commSystemSetting/DESIGN",(t="DELETED",e="/commSystemSetting/DESIGN",i)=>{});yi("/commSystemSetting/LANGUAGE/language",(t="UPDATED",e="/commSystemSetting/LANGUAGE/language",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});var nsn={"/commSystemSetting/PANEL_CANVAS/cursor/value":"Big","/commSystemSetting/PANEL_CANVAS/schAlwaysDisplayCursor/value":!1,"/commSystemSetting/PANEL_CANVAS/gridStyle/value":"not","/commSystemSetting/PANEL_CANVAS/panel_gridSize/value":"0.1","/commSystemSetting/PANEL_CANVAS/panelAltSnapGridSize/value":"0.05","/commSystemSetting/PANEL_CANVAS/ruler/value":!0,"/commSystemSetting/PANEL_CANVAS/is_ctrl_drag_to_drag/value":!0,"/commSystemSetting/PANEL_CANVAS/referencePointPanelSelectMethod/value":"default"};EF(nsn);yi("/commSystemSetting/PCB_FOOTPRINT",(t="DELETED",e="/commSystemSetting/PCB_FOOTPRINT",i)=>{});yi("/commSystemSetting/PCB_THEME/canvasBackgroundColor",(t="DELETED",e="/commSystemSetting/PCB_THEME/canvasBackgroundColor",i)=>{});yi("/commSystemSetting/PCB_THEME/canvasColorTheme",(t="UPDATED",e="/commSystemSetting/PCB_THEME/canvasColorTheme",i)=>{});yi("/commSystemSetting/PCB_THEME/canvasColorThemeSelected",(t="DELETED",e="/commSystemSetting/PCB_THEME/canvasColorThemeSelected",i)=>{});yi("/commSystemSetting/PCB_THEME/canvasCursorColor",(t="DELETED",e="/commSystemSetting/PCB_THEME/canvasCursorColor",i)=>{});yi("/commSystemSetting/PCB_THEME/canvasGridColor",(t="DELETED",e="/commSystemSetting/PCB_THEME/canvasGridColor",i)=>{});yi("/commSystemSetting/PCB_THEME/defaultCanvasColorThemeName",(t="DELETED",e="/commSystemSetting/PCB_THEME/defaultCanvasColorThemeName",i)=>{});var OOo={"/commSystemSetting/PROPERTY/Customize/":[],"/commSystemSetting/PROPERTY/showStatus/@Create Date/":"Default","/commSystemSetting/PROPERTY/showStatus/@Page Count/":"Default","/commSystemSetting/PROPERTY/showStatus/@Page Name/":"Default","/commSystemSetting/PROPERTY/showStatus/@Page No/":"Default","/commSystemSetting/PROPERTY/showStatus/@Project Name/":"Default","/commSystemSetting/PROPERTY/showStatus/@Schematic Name/":"Default","/commSystemSetting/PROPERTY/showStatus/@Update Date/":"Default","/commSystemSetting/PROPERTY/showStatus/Capacitance/":"Default","/commSystemSetting/PROPERTY/showStatus/Company/":"Default","/commSystemSetting/PROPERTY/showStatus/Component Height/":"Default","/commSystemSetting/PROPERTY/showStatus/Datasheet/":"Default","/commSystemSetting/PROPERTY/showStatus/Description/":"Default","/commSystemSetting/PROPERTY/showStatus/Designator/":"Default","/commSystemSetting/PROPERTY/showStatus/Device/":"Default","/commSystemSetting/PROPERTY/showStatus/Drawed/":"Default","/commSystemSetting/PROPERTY/showStatus/Footprint/":"Default","/commSystemSetting/PROPERTY/showStatus/Frequency/":"Default","/commSystemSetting/PROPERTY/showStatus/Global Net Name/":"Default","/commSystemSetting/PROPERTY/showStatus/Inductance/":"Default","/commSystemSetting/PROPERTY/showStatus/Manufacturer/":"Default","/commSystemSetting/PROPERTY/showStatus/Manufacturer Part/":"Default","/commSystemSetting/PROPERTY/showStatus/Name/":"Default","/commSystemSetting/PROPERTY/showStatus/Page Size/":"Default","/commSystemSetting/PROPERTY/showStatus/Part Code/":"Default","/commSystemSetting/PROPERTY/showStatus/Part Number/":"Default","/commSystemSetting/PROPERTY/showStatus/Price/":"Default","/commSystemSetting/PROPERTY/showStatus/Resistance/":"Default","/commSystemSetting/PROPERTY/showStatus/Reviewed/":"Default","/commSystemSetting/PROPERTY/showStatus/Stock/":"Default","/commSystemSetting/PROPERTY/showStatus/Supplier Footprint/":"Default","/commSystemSetting/PROPERTY/showStatus/Supplier/":"Default","/commSystemSetting/PROPERTY/showStatus/Supplier Part/":"Default","/commSystemSetting/PROPERTY/showStatus/Symbol/":"Default","/commSystemSetting/PROPERTY/showStatus/Value/":"Default","/commSystemSetting/PROPERTY/showStatus/Version/":"Default"};yi("/commSystemSetting/PROPERTY/property",(t="CREATED",e="/commSystemSetting/PROPERTY/property",i)=>{let{oldData:o,newData:r}=i,n=`${e}`,a=r.data;console.log(n,a);let s=JSON.parse(a);console.log(s);let l=[];for(let c=0;c<s.length;c++){let d="/commSystemSetting/PROPERTY/showStatus/"+s[c].property+"/";OOo.hasOwnProperty(d)?OOo[d]!==s[c].showStatus&&C.setPreference(d,s[c].showStatus):l.push({object:s[c].object,property:s[c].property,showStatus:s[c].showStatus})}l.length>0&&C.setPreference("/commSystemSetting/PROPERTY/Customize/",l)});yi("/commSystemSetting/COMM_TYPEFACE/commonlyList/disabled",(t="DELETED",e="/commSystemSetting/COMM_TYPEFACE/commonlyList/disabled",i)=>{});yi("/commSystemSetting/COMM_TYPEFACE/commonlyList/value",(t="UPDATED",e="/commSystemSetting/COMM_TYPEFACE/commonlyList/value",i)=>{let{oldData:o,newData:r}=i,n=e,a=r;(a instanceof Array?a:[]).forEach(s=>{delete s.id,delete s.isAllowDelete}),C.setPreference(n,a)});yi("/commSystemSetting/CUSTOM_TOOLBAR/topShortCut/FOOTPRINT",(t="UPDATED",e="/commSystemSetting/TOP_TOOLBAR/FOOTPRINT",i)=>{let{oldData:o,newData:r}=i;if(C.setPreference){let n=$8(o,r,"/commSystemSetting/TOP_TOOLBAR/FOOTPRINT");for(let a of Object.keys(n||{}))C.setPreference(a,n[a])}});yi("/commSystemSetting/CUSTOM_TOOLBAR/topShortCut/PANEL",(t="UPDATED",e="/commSystemSetting/CUSTOM_TOOLBAR/topShortCut/PANEL",i)=>{let{oldData:o,newData:r}=i;if(C.setPreference){let n=$8(o,r,"/commSystemSetting/TOP_TOOLBAR/PANEL");for(let a of Object.keys(n||{}))C.setPreference(a,n[a])}});yi("/commSystemSetting/CUSTOM_TOOLBAR/topShortCut/PANEL_LIB",(t="UPDATED",e="/commSystemSetting/CUSTOM_TOOLBAR/topShortCut/PANEL_LIB",i)=>{let{oldData:o,newData:r}=i;if(C.setPreference){let n=$8(o,r,"/commSystemSetting/TOP_TOOLBAR/PANEL_LIB");for(let a of Object.keys(n||{}))C.setPreference(a,n[a])}});yi("/commSystemSetting/CUSTOM_TOOLBAR/topShortCut/PCB",(t="UPDATED",e="/commSystemSetting/CUSTOM_TOOLBAR/topShortCut/PCB",i)=>{let{oldData:o,newData:r}=i;if(C.setPreference){let n=$8(o,r,"/commSystemSetting/TOP_TOOLBAR/PCB");for(let a of Object.keys(n||{}))C.setPreference(a,n[a])}});yi("/commSystemSetting/CUSTOM_TOOLBAR/topShortCut/Schematic",(t="UPDATED",e="/commSystemSetting/CUSTOM_TOOLBAR/topShortCut/Schematic",i)=>{let{oldData:o,newData:r}=i;if(C.setPreference){let n=$8(o,r,"/commSystemSetting/TOP_TOOLBAR/Schematic");for(let a of Object.keys(n||{}))C.setPreference(a,n[a])}});yi("/commSystemSetting/CUSTOM_TOOLBAR/topShortCut/Symbol",(t="UPDATED",e="/commSystemSetting/CUSTOM_TOOLBAR/topShortCut/Symbol",i)=>{let{oldData:o,newData:r}=i;if(C.setPreference){let n=$8(o,r,"/commSystemSetting/TOP_TOOLBAR/Symbol");for(let a of Object.keys(n||{}))C.setPreference(a,n[a])}});var ROo="/commSystemSetting/HOTKEY/active";yi(ROo,(t="UPDATED",e=ROo,i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});var G1="/commSystemSetting/HOTKEY/hotkey",_Oo="/commSystemSetting/HOTKEY/menuHotkey";var Y1=["openMenu(#mm-common-file)","opensubmenu-new","newProject","new_board","new_schematic","new_page","new_PCB","new_Panel","new_device","new_NetFlag","new_NetPort","new_OffPageConnector","new_Drawing","new_Non_Electronic","new_schematicLib","new_footprint","new_3D_model","new_CBB","open_create_panel_lib_dialog","standard_edition_migration","openProject","file_save","save_all","opensubmenu-saveas","projectSaveAsCloud","projectSaveAsLocal","docSaveAsCloud","docSaveAsLocal","selectedBSSaveAsCloud","selectedBSSaveAsLocal","backup","switchVersion","backup_project","historicalRecords","new_branch","new_node","version_management","cacheRecovery","opensubmenu-import","importDXF","importSVG","insertImage","importFile(easyeda)","importEDAPro","importFile(altium)","importFile(eagle)","importFile(kicad)","importFile(pads)","importFile(protel)","importFile(ltspice)","importSes","importNetlist","openAssemblyVariants","compareNetlist","compareSchematic","openPcbComparisonDlg","opensubmenu-export","printPDF","closeProject","opensubmenu-recent","clearRecentList","recycleBin","source(easyEDA)","sheet(toPrevious)","sheet(toNext)","sheet(toPreviousPart)","sheet(toNextPart)","switchNextDoc","switchPreDoc","close_tab","close_all_tabs","openMenu(#mm-common-edit)","undo","redo","cut","copy","paste","opensubmenu-duplicate","opensubmenu-duplicate-panel","centerViewByCursor","duplicateToCursor","duplicatePaste","duplicateToOtherLayer","copySpecial","copyToImage","copyToSvg","copyToPng","opensubmenu-move","MOVE_BY_CENTER_POINT","MOVE_BY_ORIGIN_POINT","MOVE_BY_REFERENCE_POINT","opensubmenu-delete","Delete","delete-target","delete-all","opensubmenu-selectobj","select_all","continuousSelection","rectangleOutside","rectangleInside","polygonInside","polygonOutside","lineTouched","connectedCopper","editArray","ADD_FILLET","ADD_CHAMFER","boolAggregate","boolSubtraction","boolIntersection","boolExclusive","findObjects","findSimilar","unlockAll","openMenu(#mm-common-view)","openMenu(#mm-common-advanced)","Preview2D","Preview3D","Preview3DInNewWindow","zoom(in)","zoom(out)","fitview","adaptSelectionView","adaptAreaSelectionView","fitBoard","full_screen","switchView(normal)","switchView(outline)","brightness(0)","brightness(1)","brightness(2)","Flip Board","Unit","opensubmenu-gridsize-pcb","opensubmenu-gridsize","switchGridSizeBtn(size_0.1)","switchGridSizeBtn(size_0.05)","switchGridSizeBtn(size_0.01)","switchGridSizeBtn(size_1)","switchGridSizeBtn(size_0.5)","opensubmenu-snapsize","gridSnapKeepRatio","setGridSize","setGridRange","opensubmenu-gridtype-pcb","opensubmenu-gridtype","switchGridType(outlets)","switchGridType(grid)","switchGridType(none)","opensubmenu-ratline","showOrHideSelectedObjRatline","hideSelectedComponentRatline","hideAllRatline","showSelectedComponentRatline","showAllRatline","opensubmenu-highlight-pcb","opensubmenu-highlight-sch","highlightConnectedsByWire","HIGHLIGHT_COMPONENT","HIGHLIGHT_SELECTED_OBJECTS","UnhighlightSelectedObjects","HIGHLIGHT_CANCEL_COMPONENT","HIGHLIGHT_CANCEL_SELECTED_OBJECTS","scrollLeft","scrollRight","scrollUp","scrollDown","showOrHideNumberOrNetName","SwitchLayerBrightness","toolbar_toggle(topbar)","toolbar_toggle(leftbar)","toolbar_toggle(rightbar)","operateBottomPanel","editTag","open_in_new_window","opensubmenu-tabmenu","refresh","clone","modifyFile","openMenu(#mm-common-place)","placeDevice","opensubmenu-shortcutDevice","place_shortcut_device(resistor)","place_shortcut_device(capacitor)","place_shortcut_device(inductor)","place_shortcut_device(diode)","place_part(line_pins)","place_part(rect_pins)","draw(wire)","draw(bus)","place_part(netlabel)","place_special_part(short_symbol)","opensubmenu-netflag","place_special_part(netflag_VCC)","place_special_part(netflag_5V)","place_special_part(netflag_gnD)","place_special_part(netflag_GNd)","place_special_part(netflag_gNd)","opensubmenu-netPort","place_special_part(netport_IN)","place_special_part(netport_OUT)","place_special_part(netport_BI)","opensubmenu-offPageConnector","place_special_part(offPageConnector_IN)","place_special_part(offPageConnector_OUT)","place_special_part(offPageConnector_BI)","place_part(noconnect)","place_part(junction)","place_part(diffPairsFlag)","place_shortcut_device(test_point)","draw(block)","draw(pen)","opensubmenu-draw-dimension","draw(dimension-xy)","draw(dimension-x)","draw(dimension-y)","opensubmenu-drawline","opensubmenu-placepin","place_part(pin)","draw(arc)","draw(bezier)","draw(rect)","draw(circle)","draw(ellipse)","draw(polyline)","showTextDialog","opensubmenu-testPad","place_part(testPad)","place_part(autoTestPad)","showTextDialog_pcb","PlaceVia","opensubmenu-suturevias","draw(rectSutureVia)","draw(polygonSutureVia)","draw(lineSutureVia)","opensubmenu-pad","PlaceSinglePad","place_part(line_pads)","place_part(rect_pads)","opensubmenu-boardoutline","draw(ROutline)","draw(POutline)","draw(COutline)","copperRegion","draw(RCopper)","draw(CCopper)","draw(PCopper)","fillRegion","draw(RRegion)","draw(PRegion)","draw(CRegion)","opensubmenu-fpcStiffener","draw(RectFPCStiffener)","draw(CirFPCStiffener)","draw(PolyFPCStiffener)","opensubmenu-slotRegion","draw(RSlot)","draw(PSlot)","draw(CSlot)","prohibitedRegion","draw(RProhibit)","draw(PProhibit)","draw(CProhibit)","setOriginByCoordinate","setOriginByFirstPin","placeOriginPad","opensubmenu-canvasOrigin","draw(origin)","setOriginByCenter","placeOriginCenter","draw(arcCenter)","draw(arc2)","opensubmenu-dimension","draw(dimension)","draw(protractor)","draw(radius)","editTable","place_part(stack_table)","place_part(drill_table)","opensunmenu-3dShellOutline","draw(R3dShellOutline)","draw(C3dShellOutline)","draw(P3dShellOutline)","place_part(3dShellScrewPillar)","draw(3dShellSideSlotDatumLine)","opensubmenu-3DShellSideSlotRegion","draw(R3dShellSideSlotRegion)","draw(C3dShellSideSlotRegion)","draw(P3dShellSideSlotRegion)","opensubmenu-3DShell-Top_Bottom-SlotRegion","draw(R3dShellTopSlotRegion)","draw(C3dShellTopSlotRegion)","draw(P3dShellTopSlotRegion)","opensubmenu-3DShell-SideEntity","draw(R3dShellSideEntity)","draw(C3dShellSideEntity)","draw(P3dShellSideEntity)","opensubmenu-3DShell-TopEntity","draw(R3dShellTopBottomEntity)","draw(C3dShellTopBottomEntity)","draw(P3dShellTopBottomEntity)","place5V","openMenu(#mm-common-design)","backToUpper","generateOrUpdateBlockSymbol2","generateOrUpdateBlockSymbol","updateSchematicNetPort","openElecRule","pcb_DRC","checkERC","checkDRCCustom","clearErrors","toggleRealTimeDRC","ref_designator_annotate","pcb_design_rule","netClassManager","differentialPairManager","equalLengthGroupManager","EditPadsPairGroupDialog","updateComponent","resetUniqueId","projectSheetSetting","MeasureDistance","Command","crossProbe","placeTransfer","switchToThePreviousLayer","switchToTheNextLayer","importChangesFromSch","importChangesFromPcb","reuseTemplateLayoutAndRoute","toggleAdsorb","openMenu(#mm-common-route)","SingleRouting","draw(stretchtrack)","draw(difftrack)","equalLengthTuning","diffPairEqualLengthTuning","auto-routing","changeRoutingMode","RoutingCorner","opensubmenu-routingWidth","trackWidthSetting(WIRING_WIDTH_FOLLOWRULES)","trackWidthSetting(WIRING_WIDTH_RULESSETTING)","opensubmenu-unroute","unrouteClearConnect","unrouteClearNetwork","clearAllRoute","removeLoop","trackWidthSetting(WIRING_WIDTH_INPUT)","autoTrimSilkscreen","changeRoutingAngle","opensubmenu-auxiliary","place_auxiliary(crossLine)","place_auxiliary(verticalLine)","place_auxiliary(horizontalLine)","place_auxiliary(point)","openMenu(#mm-common-layout)","opensubmenu-group","groupSelected","ungroupSelected","joinGroup","removeFromGroup","reuseLayoutRoute","ungroupAll","autoLayout","set-attr-text-position","swapLocation","flip2OppositeSide","opensubmenu-offset","absoluteOffset","relativeOffset","opensubmenu-align","align_left","align_horizontal_center","align_right","align_top","align_vertical_center","align_bottom","align_grid","opensubmenu-distribute","align_horizontal_equidistant","align_vertical_equidistant","distribute_left_side_edge_equidistant","distribute_top_side_edge_equidistant","distribute_horizontal_by_center_distance","distribute_vertical_by_center_distance","distribute_horizontal_by_edges_distance","distribute_vertical_by_edges_distance","distribute","component_distribute_by_region","opensubmenu-rotate","rotate_ccw","rotate_left","rotate_right","rotate_reference_point","opensubmenu-flip","fliph","flipv","fliph_reference_point","flipv_reference_point","opensubmenu-level","bring_to_front","send_to_back","moveSelectedLeft","moveSelectedRight","moveSelectedUp","moveSelectedDown","switchToTheNextSignalLayer","switchToThePreviousSignalLayer","switchToLayer(1)","switchToLayer(2)","toggleLocked","openMenu(#mm-common-tools)","SCHLibWizard","OcrWizard","smartSize","checkDimension","renumberPads","renumberPins","teardrop","openPanelizeDlg","removeUnusedPad","prioritizeObjectSelection","log-tool","connectPads","creepageDistance","openFootPrintManager","openDeviceManager","openDeviceStandardizationTab","layerOptionsSet","viewCopperAreaManager","view3DModelManager","viewPinDelayManager","openPcbComparisonDlg","openMenu(#mm-common-fabrication2)","exportBOM","pcb_fabrication","pcb_export_coordinate_file","export3DFile","export3DShellFile","openDxfExportDlg","export(filePdf)","exportTestPointReport","exportNetlist","exportPng","exportManufacturingFilesForOneClick","export(altium)","exportDSN","viewPCBInformation","openMenu(#mm-common-order)","bom_order_parts","orderPCB","order3DShell","panelProductionOrder","show_help_file(part_store)","show_help_file(pcb_manu_facturing)","show_help_file(3d_cnc)","openMenu(#mm-common-settings)","opensubmenu-system","commonButtonsSetting(SYSTEM)","commonButtonsSetting(CATEGORY)","commonButtonsSetting(BASE_LIBRARY)","opensubmenu-schematic_symbol","commonButtonsSetting(CANVAS)","commonButtonsSetting(OBJECT)","opensubmenu-pcb_footprint","commonButtonsSetting(PCB_FOOTPRINT)","commonButtonsSetting(PCB_THEME)","commonButtonsSetting(PCB_COMM_GRID_SIZE)","commonButtonsSetting(PCB_COMM_TRACK_WIDTH)","commonButtonsSetting(PCB_COMM_VIA_SIZE)","commonButtonsSetting(ADSORPTION)","opensubmenu-panel","commonButtonsSetting(PANEL_CANVAS)","commonButtonsSetting(PANEL_THEME)","commonButtonsSetting(COMM_TYPEFACE)","commonButtonsSetting(DESIGN)","commonButtonsSetting(PROPERTY)","commonButtonsSetting(HOTKEY)","commonButtonsSetting(CUSTOM_TOOLBAR)","commonButtonsSetting(SAVE)","openMenu(#mm-common-help)","show_help_file(community)","tutorials","show_help_file(feedback)","show_help_file(contact)","show_about","select_net","decrease_routing_width","increase_routing_width","decrease_snap_size","increase_snap_size","move_selected_left_by_alt_grid","move_selected_right_by_alt_grid","move_selected_up_by_alt_grid","move_selected_down_by_alt_grid","specialPaste","ChangetoTopLayer","ChangetoBottomLayer","ChangetoInner1","ChangetoInner2","ChangetoInner3","ChangetoInner4","ChangetoInner5","ChangetoInner6","ChangeCopperZoneVisibleorInvisible","RebuildAllCopperArea","finish","draw_end","undoDraw","SelectOverlap","FilpPathWhileDrawing","show_drawing_attr_dlg","showSymbolPinModifyDialog","showMultiPinMotifyAttrDialog","showNetLabelPinModifyDialog","showSchMoveConfigDialog","showPartModifyDialog","showEditTableDialog","showNetPortModifyDialog","showOfPageConnectorModifyDialog","showNetFlagModifyDialog","switchSelectedRangeWhenObjectIsSelected","open_set_net_property_dialog","changeDiffPairFanOutMode","change_track_width_while_routing","increaseSnakeGap","decreaseSnakeGap","switch_common_track_width","switch_common_via_size","Absolute","Relative","RelativeX","RelativeY","ToggleLayer","DisplayLayer","DisplayAllLayers","expandAndModifyProperties","Find","WireWidth","displayRealTimeNetLengthAndLengthTolerance","Cutout","draw(RCutout)","draw(CCutout)","draw(PCutout)","avoidSlots","avoidPads","stop_video_capture","show_videocapture","openMenu(#mm-common-sim)","openMenu(#mm-common-simWaveform)"];var jOo="/commSystemSetting/HOTKEY/hotkey/Design";yi(jOo,(t="UPDATED",e=jOo,i)=>{let{oldData:o,newData:r}=i;if(!Array.isArray(r))return console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u6570\u636E\u5B58\u50A8\u683C\u5F0F\u4E0D\u6B63\u786E...");for(let n of r){let{hotkeyCmd:a,hotkey:s,command:l}=n;if(Y1.includes(a)){let c=`${G1}/${a}/value`,d=asn(n);C.setPreference(c,d)}else console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u5BF9\u5E94\u529F\u80FD\u5DF2\u79FB\u9664...cmd:",a)}});function asn(t){let{hotkeyCmd:e,hotkey:i="",command:o=""}=t;return{hotkey:i,command:o,updateTime:Number(new Date)}}var BOo="/commSystemSetting/HOTKEY/hotkey/Edit";yi(BOo,(t="UPDATED",e=BOo,i)=>{let{oldData:o,newData:r}=i;if(!Array.isArray(r))return console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u6570\u636E\u5B58\u50A8\u683C\u5F0F\u4E0D\u6B63\u786E...");for(let n of r){let{hotkeyCmd:a,hotkey:s,command:l}=n;if(Y1.includes(a)){let c=`${G1}/${a}/value`,d=ssn(n);C.setPreference(c,d)}else console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u5BF9\u5E94\u529F\u80FD\u5DF2\u79FB\u9664...cmd:",a)}});function ssn(t){let{hotkeyCmd:e,hotkey:i="",command:o=""}=t;return{hotkey:i,command:o,updateTime:Number(new Date)}}var zOo="/commSystemSetting/HOTKEY/hotkey/Export";yi(zOo,(t="UPDATED",e=zOo,i)=>{let{oldData:o,newData:r}=i;if(!Array.isArray(r))return console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u6570\u636E\u5B58\u50A8\u683C\u5F0F\u4E0D\u6B63\u786E...");for(let n of r){let{hotkeyCmd:a,hotkey:s,command:l}=n;if(Y1.includes(a)){let c=`${G1}/${a}/value`,d=lsn(n);C.setPreference(c,d)}else console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u5BF9\u5E94\u529F\u80FD\u5DF2\u79FB\u9664...cmd:",a)}});function lsn(t){let{hotkeyCmd:e,hotkey:i="",command:o=""}=t;return{hotkey:i,command:o,updateTime:Number(new Date)}}var FOo="/commSystemSetting/HOTKEY/hotkey/File";yi(FOo,(t="UPDATED",e=FOo,i)=>{let{oldData:o,newData:r}=i;if(!Array.isArray(r))return console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u6570\u636E\u5B58\u50A8\u683C\u5F0F\u4E0D\u6B63\u786E...");for(let n of r){let{hotkeyCmd:a,hotkey:s,command:l}=n;if(Y1.includes(a)){let c=`${G1}/${a}/value`,d=csn(n);C.setPreference(c,d)}else console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u5BF9\u5E94\u529F\u80FD\u5DF2\u79FB\u9664...cmd:",a)}});function csn(t){let{hotkeyCmd:e,hotkey:i="",command:o=""}=t;return{hotkey:i,command:o,updateTime:Number(new Date)}}var UOo="/commSystemSetting/HOTKEY/hotkey/Help";yi(UOo,(t="UPDATED",e=UOo,i)=>{let{oldData:o,newData:r}=i;if(!Array.isArray(r))return console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u6570\u636E\u5B58\u50A8\u683C\u5F0F\u4E0D\u6B63\u786E...");for(let n of r){let{hotkeyCmd:a,hotkey:s,command:l}=n;if(Y1.includes(a)){let c=`${G1}/${a}/value`,d=dsn(n);C.setPreference(c,d)}else console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u5BF9\u5E94\u529F\u80FD\u5DF2\u79FB\u9664...cmd:",a)}});function dsn(t){let{hotkeyCmd:e,hotkey:i="",command:o=""}=t;return{hotkey:i,command:o,updateTime:Number(new Date)}}var VOo="/commSystemSetting/HOTKEY/hotkey/Layout";yi(VOo,(t="UPDATED",e=VOo,i)=>{let{oldData:o,newData:r}=i;if(!Array.isArray(r))return console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u6570\u636E\u5B58\u50A8\u683C\u5F0F\u4E0D\u6B63\u786E...");for(let n of r){let{hotkeyCmd:a,hotkey:s,command:l}=n;if(Y1.includes(a)){let c=`${G1}/${a}/value`,d=usn(n);C.setPreference(c,d)}else console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u5BF9\u5E94\u529F\u80FD\u5DF2\u79FB\u9664...cmd:",a)}});function usn(t){let{hotkeyCmd:e,hotkey:i="",command:o=""}=t;return{hotkey:i,command:o,updateTime:Number(new Date)}}var HOo="/commSystemSetting/HOTKEY/hotkey/Order";yi(HOo,(t="UPDATED",e=HOo,i)=>{let{oldData:o,newData:r}=i;if(!Array.isArray(r))return console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u6570\u636E\u5B58\u50A8\u683C\u5F0F\u4E0D\u6B63\u786E...");for(let n of r){let{hotkeyCmd:a,hotkey:s,command:l}=n;if(Y1.includes(a)){let c=`${G1}/${a}/value`,d=psn(n);C.setPreference(c,d)}else console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u5BF9\u5E94\u529F\u80FD\u5DF2\u79FB\u9664...cmd:",a)}});function psn(t){let{hotkeyCmd:e,hotkey:i="",command:o=""}=t;return{hotkey:i,command:o,updateTime:Number(new Date)}}var GOo="/commSystemSetting/HOTKEY/hotkey/Other";yi(GOo,(t="UPDATED",e=GOo,i)=>{let{oldData:o,newData:r}=i;if(!Array.isArray(r))return console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u6570\u636E\u5B58\u50A8\u683C\u5F0F\u4E0D\u6B63\u786E...");for(let n of r){let{hotkeyCmd:a,hotkey:s,command:l}=n;if(Y1.includes(a)){let c=`${G1}/${a}/value`,d=msn(n);C.setPreference(c,d)}else console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u5BF9\u5E94\u529F\u80FD\u5DF2\u79FB\u9664...cmd:",a)}});function msn(t){let{hotkeyCmd:e,hotkey:i="",command:o=""}=t;return{hotkey:i,command:o,updateTime:Number(new Date)}}var YOo="/commSystemSetting/HOTKEY/hotkey/Place";yi(YOo,(t="UPDATED",e=YOo,i)=>{let{oldData:o,newData:r}=i;if(!Array.isArray(r))return console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u6570\u636E\u5B58\u50A8\u683C\u5F0F\u4E0D\u6B63\u786E...");for(let n of r){let{hotkeyCmd:a,hotkey:s,command:l}=n;if(Y1.includes(a)){let c=`${G1}/${a}/value`,d=hsn(n);C.setPreference(c,d)}else console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u5BF9\u5E94\u529F\u80FD\u5DF2\u79FB\u9664...cmd:",a)}});function hsn(t){let{hotkeyCmd:e,hotkey:i="",command:o=""}=t;return{hotkey:i,command:o,updateTime:Number(new Date)}}var WOo="/commSystemSetting/HOTKEY/hotkey/Route";yi(WOo,(t="UPDATED",e=WOo,i)=>{let{oldData:o,newData:r}=i;if(!Array.isArray(r))return console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u6570\u636E\u5B58\u50A8\u683C\u5F0F\u4E0D\u6B63\u786E...");for(let n of r){let{hotkeyCmd:a,hotkey:s,command:l}=n;if(Y1.includes(a)){let c=`${G1}/${a}/value`,d=fsn(n);C.setPreference(c,d)}else console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u5BF9\u5E94\u529F\u80FD\u5DF2\u79FB\u9664...cmd:",a)}});function fsn(t){let{hotkeyCmd:e,hotkey:i="",command:o=""}=t;return{hotkey:i,command:o,updateTime:Number(new Date)}}var QOo="/commSystemSetting/HOTKEY/hotkey/Settings";yi(QOo,(t="UPDATED",e=QOo,i)=>{let{oldData:o,newData:r}=i;if(!Array.isArray(r))return console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u6570\u636E\u5B58\u50A8\u683C\u5F0F\u4E0D\u6B63\u786E...");for(let n of r){let{hotkeyCmd:a,hotkey:s,command:l}=n;if(Y1.includes(a)){let c=`${G1}/${a}/value`,d=gsn(n);C.setPreference(c,d)}else console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u5BF9\u5E94\u529F\u80FD\u5DF2\u79FB\u9664...cmd:",a)}});function gsn(t){let{hotkeyCmd:e,hotkey:i="",command:o=""}=t;return{hotkey:i,command:o,updateTime:Number(new Date)}}var KOo="/commSystemSetting/HOTKEY/hotkey/Tools";yi(KOo,(t="UPDATED",e=KOo,i)=>{let{oldData:o,newData:r}=i;if(!Array.isArray(r))return console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u6570\u636E\u5B58\u50A8\u683C\u5F0F\u4E0D\u6B63\u786E...");for(let n of r){let{hotkeyCmd:a,hotkey:s,command:l}=n;if(Y1.includes(a)){let c=`${G1}/${a}/value`,d=bsn(n);C.setPreference(c,d)}else console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u5BF9\u5E94\u529F\u80FD\u5DF2\u79FB\u9664...cmd:",a)}});function bsn(t){let{hotkeyCmd:e,hotkey:i="",command:o=""}=t;return{hotkey:i,command:o,updateTime:Number(new Date)}}var ZOo="/commSystemSetting/HOTKEY/hotkey/View";yi(ZOo,(t="UPDATED",e=ZOo,i)=>{let{oldData:o,newData:r}=i;if(!Array.isArray(r))return console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u6570\u636E\u5B58\u50A8\u683C\u5F0F\u4E0D\u6B63\u786E...");for(let n of r){let{hotkeyCmd:a,hotkey:s,command:l}=n;if(Y1.includes(a)){let c=`${G1}/${a}/value`,d=ysn(n);C.setPreference(c,d)}else console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u5BF9\u5E94\u529F\u80FD\u5DF2\u79FB\u9664...cmd:",a)}});function ysn(t){let{hotkeyCmd:e,hotkey:i="",command:o=""}=t;return{hotkey:i,command:o,updateTime:Number(new Date)}}var JOo=["variant_view_mode","enterGroup","removeFromGroup","ref_designator_annotate","pcb_design_rule","opensubmenu-new","newProject","new_board","new_schematic","new_page","new_PCB","new_Panel","new_device","new_NetFlag","new_NetPort","new_OffPageConnector","new_Drawing","new_Non_Electronic","new_schematicLib","new_footprint","new_3D_model","new_CBB","open_create_panel_lib_dialog","standard_edition_migration","openProject","file_save","save_all","opensubmenu-saveas","projectSaveAsCloud","projectSaveAsLocal","docSaveAsCloud","docSaveAsLocal","backup","switchVersion","backup_project","historicalRecords","new_branch","new_node","version_management","cacheRecovery","opensubmenu-import","importDXF","importSVG","insertImage","importFile(easyeda)","importEDAPro","importFile(altium)","importFile(eagle)","importFile(kicad)","importFile(pads)","importFile(protel)","importFile(ltspice)","importSes","importNetlist","printPDF","closeProject","opensubmenu-recent","clearRecentList","recycleBin","source(easyEDA)","sheet(toPrevious)","sheet(toNext)","sheet(toPreviousPart)","sheet(toNextPart)","switchNextDoc","switchPreDoc","close_tab","close_other_tabs","close_all_tabs","undo","redo","cut","copy","paste","opensubmenu-duplicate","opensubmenu-duplicate-panel","specialPaste","centerViewByCursor","duplicateToCursor","duplicatePaste","duplicateToOtherLayer","copySpecial","copyToImage","copyToSvg","copyToPng","opensubmenu-move","MOVE_BY_CENTER_POINT","MOVE_BY_ORIGIN_POINT","MOVE_BY_REFERENCE_POINT","opensubmenu-delete","Delete","delete-target","delete-all","opensubmenu-selectobj","select_all","continuousSelection","rectangleOutside","rectangleInside","polygonInside","polygonOutside","lineTouched","connectedCopper","editArray","ADD_FILLET","ADD_CHAMFER","boolAggregate","boolSubtraction","boolIntersection","boolExclusive","findObjects","findSimilar","unlockAll","Preview2D","Preview3D","Preview3DInNewWindow","zoom(in)","zoom(out)","fitview","adaptSelectionView","adaptAreaSelectionView","fitBoard","full_screen","switchView(normal)","switchView(outline)","brightness(0)","brightness(1)","brightness(2)","Flip Board","Unit","opensubmenu-gridsize-pcb","opensubmenu-gridsize","switchGridSizeBtn(size_0.1)","switchGridSizeBtn(size_0.05)","switchGridSizeBtn(size_0.01)","switchGridSizeBtn(size_1)","switchGridSizeBtn(size_0.5)","opensubmenu-snapsize","gridSnapKeepRatio","setGridSize","setGridRange","opensubmenu-gridtype-pcb","opensubmenu-gridtype","switchGridType(outlets)","switchGridType(grid)","switchGridType(none)","opensubmenu-ratline","showOrHideSelectedObjRatline","hideSelectedComponentRatline","hideAllRatline","showSelectedComponentRatline","showAllRatline","opensubmenu-highlight-pcb","opensubmenu-highlight-sch","highlightConnectedsByWire","HIGHLIGHT_COMPONENT","HIGHLIGHT_SELECTED_OBJECTS","UnhighlightSelectedObjects","HIGHLIGHT_CANCEL_COMPONENT","HIGHLIGHT_CANCEL_SELECTED_OBJECTS","scrollLeft","scrollRight","scrollUp","scrollDown","showOrHideNumberOrNetName","SwitchLayerBrightness","toolbar_toggle(topbar)","toolbar_toggle(leftbar)","toolbar_toggle(rightbar)","operateBottomPanel","editTag","refresh","open_in_new_window","clone","modifyFile","leftTreeMenu_open_selected","leftTreeMenu_open_all","leftTreeMenu_open","leftTreeMenu_set_as_root","leftTreeMenu_set_as_new_Board","leftTreeMenu_remove_from_board","leftTreeMenu_generate_update_block_symbol","leftTreeMenu_place_block_symbol","leftTreeMenu_move_up","leftTreeMenu_move_down","leftTreeMenu_expand_lower","leftTreeMenu_collapse_lower","leftTreeMenu_globalHighlightNetSelected","leftTreeMenu_globalUnhighlightNetSelected","leftTreeMenu_copyLeftTree","leftTreeMenu_pasteLeftTree","leftTreeMenu_deleteFile","leftTreeMenu_saveAsCloud","leftTreeMenu_saveAsLocal","leftTreeMenu_batchReName","leftTreeMenu_clear_designator","leftTreeMenu_properties","leftTreeMenu_open_in_workspace","leftTreeMenu_project_manager","leftTreeMenu_version_manager_container","leftTreeMenu_view_schema","leftTreeMenu_edit","leftTreeMenu_member","leftTreeMenu_attachment","leftTreeMenu_transfer","leftTreeMenu_share","leftTreeMenu_version_manager","leftTreeMenu_view_homePage","leftTreeMenu_unlock","leftTreeMenu_lock","leftTreeMenu_delete_project","leftTreeMenu_quit_project","placeDevice","opensubmenu-shortcutDevice","place_shortcut_device(resistor)","place_shortcut_device(capacitor)","place_shortcut_device(inductor)","place_shortcut_device(diode)","place_part(line_pins)","place_part(rect_pins)","draw(wire)","draw(bus)","place_part(netlabel)","place_special_part(short_symbol)","opensubmenu-netflag","place_special_part(netflag_VCC)","place_special_part(netflag_5V)","place_special_part(netflag_gnD)","place_special_part(netflag_GNd)","place_special_part(netflag_gNd)","opensubmenu-netPort","place_special_part(netport_IN)","place_special_part(netport_OUT)","place_special_part(netport_BI)","opensubmenu-offPageConnector","place_special_part(offPageConnector_IN)","place_special_part(offPageConnector_OUT)","place_special_part(offPageConnector_BI)","place_part(noconnect)","place_part(junction)","place_part(diffPairsFlag)","place_shortcut_device(test_point)","draw(block)","draw(pen)","opensubmenu-drawline","opensubmenu-auxiliary","opensubmenu-placepin","place_part(pin)","draw(arc)","draw(bezier)","draw(rect)","draw(circle)","draw(ellipse)","draw(polyline)","showTextDialog","opensubmenu-testPad","place_part(testPad)","place_part(autoTestPad)","showTextDialog_pcb","PlaceVia","draw(rectSutureVia)","opensubmenu-suturevias","draw(polygonSutureVia)","draw(lineSutureVia)","opensubmenu-pad","PlaceSinglePad","place_part(line_pads)","place_part(rect_pads)","opensubmenu-boardoutline","draw(ROutline)","draw(POutline)","draw(COutline)","draw(RCopper)","copperRegion","draw(CCopper)","fillRegion","draw(RRegion)","draw(PRegion)","draw(CRegion)","Cutout","draw(RCutout)","draw(PCutout)","draw(CCutout)","avoidSlots","avoidPads","opensubmenu-fpcStiffener","draw(RectFPCStiffener)","draw(CirFPCStiffener)","draw(PolyFPCStiffener)","draw(RSlot)","opensubmenu-slotRegion","draw(PSlot)","draw(CSlot)","draw(RProhibit)","prohibitedRegion","draw(PProhibit)","draw(CProhibit)","groupSelected","ungroupSelected","setOriginByCoordinate","setOriginByFirstPin","placeOriginPad","opensubmenu-canvasOrigin","draw(origin)","setOriginByCenter","placeOriginCenter","draw(arcCenter)","draw(arc2)","opensubmenu-dimension","draw(dimension)","draw(protractor)","draw(radius)","draw(PCopper)","editTable","place_part(stack_table)","place_part(drill_table)","opensunmenu-3dShellOutline","draw(R3dShellOutline)","draw(C3dShellOutline)","draw(P3dShellOutline)","place_part(3dShellScrewPillar)","draw(3dShellSideSlotDatumLine)","opensubmenu-3DShellSideSlotRegion","draw(R3dShellSideSlotRegion)","draw(C3dShellSideSlotRegion)","draw(P3dShellSideSlotRegion)","opensubmenu-3DShell-Top_Bottom-SlotRegion","draw(R3dShellTopSlotRegion)","draw(C3dShellTopSlotRegion)","draw(P3dShellTopSlotRegion)","draw(R3dShellSideEntity)","opensubmenu-3DShell-SideEntity","draw(C3dShellSideEntity)","draw(P3dShellSideEntity)","opensubmenu-3DShell-TopEntity","draw(R3dShellTopBottomEntity)","draw(C3dShellTopBottomEntity)","draw(P3dShellTopBottomEntity)","place5V","backToUpper","generateOrUpdateBlockSymbol2","generateOrUpdateBlockSymbol","updateSchematicNetPort","openElecRule","pcb_DRC","checkERC","clearErrors","toggleRealTimeDRC","netClassManager","differentialPairManager","equalLengthGroupManager","EditPadsPairGroupDialog","updateComponent","resetUniqueId","projectSheetSetting","MeasureDistance","Command","crossProbe","placeTransfer","openFootPrintManager","openDeviceManager","openDeviceStandardizationTab","layerOptionsSet","switchToThePreviousLayer","switchToTheNextLayer","importChangesFromSch","importChangesFromPcb","reuseTemplateLayoutAndRoute","toggleAdsorb","SingleRouting","draw(stretchtrack)","draw(difftrack)","equalLengthTuning","diffPairEqualLengthTuning","auto-routing","changeRoutingMode","RoutingCorner","opensubmenu-routingWidth","trackWidthSetting(WIRING_WIDTH_FOLLOWRULES)","trackWidthSetting(WIRING_WIDTH_RULESSETTING)","opensubmenu-unroute","unrouteClearConnect","unrouteClearNetwork","clearAllRoute","removeLoop","trackWidthSetting(WIRING_WIDTH_INPUT)","autoTrimSilkscreen","changeRoutingAngle","opensubmenu-group","joinGroup","reuseLayoutRoute","ungroupAll","autoLayout","set-attr-text-position","swapLocation","flip2OppositeSide","opensubmenu-offset","absoluteOffset","relativeOffset","opensubmenu-distribute","distribute_left_side_edge_equidistant","distribute_top_side_edge_equidistant","distribute_horizontal_by_center_distance","distribute_vertical_by_center_distance","distribute_horizontal_by_edges_distance","distribute_vertical_by_edges_distance","distribute","component_distribute_by_region","rotate_right","rotate_reference_point","fliph_reference_point","flipv_reference_point","opensubmenu-level","bring_to_front","send_to_back","rotate_left","opensubmenu-align","align_left","align_horizontal_center","align_right","align_top","align_vertical_center","align_bottom","align_grid","align_horizontal_equidistant","align_vertical_equidistant","opensubmenu-flip","fliph","flipv","moveSelectedLeft","moveSelectedRight","moveSelectedUp","moveSelectedDown","switchToTheNextSignalLayer","switchToThePreviousSignalLayer","switchToLayer(1)","switchToLayer(2)","toggleLocked","SCHLibWizard","OcrWizard","smartSize","checkDimension","renumberPads","renumberPins","teardrop","openPanelizeDlg","removeUnusedPad","prioritizeObjectSelection","creepageDistance","log-tool","view3DModelManager","viewPinDelayManager","viewCopperAreaManager","opensubmenu-export","exportBOM","pcb_fabrication","pcb_export_coordinate_file","export3DFile","export3DShellFile","openDxfExportDlg","export(filePdf)","exportTestPointReport","exportNetlist","exportPng","exportManufacturingFilesForOneClick","export(altium)","exportDSN","viewPCBInformation","bom_order_parts","orderPCB","order3DShell","panelProductionOrder","show_help_file(part_store)","show_help_file(pcb_manu_facturing)","show_help_file(3d_cnc)","opensubmenu-system","commonButtonsSetting(SYSTEM)","commonButtonsSetting(CATEGORY)","commonButtonsSetting(BASE_LIBRARY)","opensubmenu-schematic_symbol","commonButtonsSetting(CANVAS)","commonButtonsSetting(OBJECT)","opensubmenu-pcb_footprint","commonButtonsSetting(PCB_FOOTPRINT)","commonButtonsSetting(PCB_THEME)","commonButtonsSetting(PCB_COMM_GRID_SIZE)","commonButtonsSetting(PCB_COMM_TRACK_WIDTH)","commonButtonsSetting(PCB_COMM_VIA_SIZE)","commonButtonsSetting(ADSORPTION)","opensubmenu-panel","commonButtonsSetting(PANEL_CANVAS)","commonButtonsSetting(PANEL_THEME)","commonButtonsSetting(COMM_TYPEFACE)","commonButtonsSetting(DESIGN)","commonButtonsSetting(PROPERTY)","commonButtonsSetting(HOTKEY)","commonButtonsSetting(CUSTOM_TOOLBAR)","commonButtonsSetting(SAVE)","show_help_file(community)","tutorials","show_help_file(feedback)","show_help_file(contact)","show_about","ChangetoTopLayer","ChangetoBottomLayer","ChangetoInner1","ChangetoInner2","ChangetoInner3","ChangetoInner4","ChangetoInner5","ChangetoInner6","ChangeCopperZoneVisibleorInvisible","RebuildAllCopperArea","finish","draw_end","undoDraw","SelectOverlap","FilpPathWhileDrawing","show_drawing_attr_dlg","showSymbolPinModifyDialog","showMultiPinMotifyAttrDialog","showNetLabelPinModifyDialog","showSchMoveConfigDialog","showPartModifyDialog","showEditTableDialog","showNetPortModifyDialog","showOfPageConnectorModifyDialog","showNetFlagModifyDialog","switchSelectedRangeWhenObjectIsSelected","open_set_net_property_dialog","changeDiffPairFanOutMode","change_track_width_while_routing","increaseSnakeGap","decreaseSnakeGap","switch_common_track_width","switch_common_via_size","Absolute","Relative","RelativeX","RelativeY","ToggleLayer","DisplayLayer","DisplayAllLayers","expandAndModifyProperties","Find","WireWidth","displayRealTimeNetLengthAndLengthTolerance","place_auxiliary(horizontalLine)","place_auxiliary(verticalLine)","place_auxiliary(crossLine)","place_auxiliary(point)","deleteCDotNode","raise_one_level","lower_one_level","rotate_ccw","convertStrokeToShape","convertBaseShapeToPath","combineShapes","breakShapeApart","joinPath","reversePath","checkDocTicket","openRightBar","openTemplatePage","sheet(toPage)","openRenameWireDlg","highlightConnectedWires(singleWire)","highlightConnectedWires(wire)","highlightConnectedWires(bus)","highlightConnectedWires(net)","globalHighlightNetSelected","globalUnhighlightNetSelected","hierarchical_ref_designator_annotate","clearCbbRefdes","annotateDesignator","clearDesignator","showFanOutNetlabelOrNoConnectFlagDlg","editProjectSymbol","editProjectDevice","viewProductDetail","viewDatasheet","opensubmenu_level","opensubmenu_rotate","opensubmenu_convert","ADAPT_BOARDOUTLINE","ADDWITH_ROUTING","ADDWITH_TESTPOINTER","ADDWITH_NODE","ADDWITH_ARC","ADDWITH_EQUALLENGTHTUNING","ADD_SOLDER_MASK","ALIGNMENT","COMBINATION","COMBINATION_JOIN","SECOND_COMBINATION","COMBINATION_MOVE_OUT","DISTRIBUTION","FLIP","GRID","SNAP_SIZE","GRIDTYPE","LOCKED","LOCKED_CANCEL","OFFSET","PACKAGE_EDIT_IN_PCB","PACKAGE_EDIT","PACKAGE_REPLACE","RECOVER_FOOTPRINT","PACKAGE_ATTR","UPDATE_COMPONENT","DEVICE_EDIT","SYMBOL_UPDATE","SYMBOL_EDIT","SYMBOL_REPLACE","ALL","PRIMITIV_COMPONENT","PRIMITIV_DEVICE_ATTR","PRIMITIV_PAD","PRIMITIV_TRACK","PRIMITIV_PADPAIR","PRIMITIV_VIA","PRIMITIV_SUTUREVIA","PRIMITIV_2DLINE","PRIMITIV_ALL","PRIMITIV_BOARD","PRIMITIV_SLOT","PRIMITIV_POUR","Default","Only Component","Only Component Attribute","Only Track","Only Via","Only Pad Pair","Only Net","Only Group","Only Pad","Only Line","PLACE_BURIEDHOLE","PAD_NUMBER","ROTATE","SETUP_WINDOWINGAREA","STRETCHING_PUSHAWAY","SINGlE_ROUTE","CHANGETRACK","TURNOVER","GAP_STEP_VALUE","DIFFERENTIAL_PAIR_LENGTH_TOLERANCE_RULE_SETTING","VIA_SIZE","VIA_SIZE_FOLLOWRULES","VIA_SIZE_RULESSETTING","VIA_SIZE_COMMONLY_SETTING","VIA_TYPE","VIA_TYPE_THROUGH_VIA","VIA_TYPE_RULESSETTING","HIDE_SELECTED_COPPER_FILLS","SHOW_SELECTED_COPPER_FILLS","REBUILD_SELECTED","COPPER_MANAGER","WIRING_AUTO","WIRING_AUTO_CONNECT","WIRING_AUTO_NET","WIRING_AUTO_ALL","WIRING_CLEAR","WIRING_CLEAR_CONNECT","WIRING_CLEAR_NET","WIRING_CLEAR_ALL","WIRING_CORNER_LINE45","WIRING_CORNER_LINE90","WIRING_CORNER_ARC90","WIRING_CORNER_ARC45","WIRING_CORNER_ARC","WIRING_CORNER_FREEANGLE","WIRING_MODE_PUSHAWAY","WIRING_MODE_SURROUND_AND_PUSHAWAY","WIRING_MODE_SURROUND","WIRING_MODE_IGNORE","WIRING_WIDTH","WIRING_WIDTH_FOLLOWRULES","WIRING_WIDTH_RULESSETTING","WIRING_WIDTH_COMMONLY_SSETTING","WIDTH","AUTO_TRIM_SILKSCREEN","MORE","TABLE_SETTING","ADSORBENT_CONFIG","FILTER","DISPLAY","LOOKUP","SELECT_PARENT","PLACETRANSFER","RENUMBER","REFRESH","SELECT","MOVE","MOVE_SEQUENTIAL","UNROUTE_ATTACHED_SEGMENTS","UNROUTE_CONNECTIONS","DETACHING_WIRES_FROM_DEVICES","UNROUTE_COMPONENT_CONNECTIONS","ATTRIBUTE","NET","DEVICE","SELECTED_ELEMENT","SELECTOVERLAP","CONNECT","NET_COLOR","INSERT_NODE","EDIT_BOUNDARY","GENERATE_D3_SHELL_OUTLINE","FORMAT_BRUSH","DIVISION","REPLACE_LAYER","REMOVE_LOOP","SELECT_NET","ADD_NODE","EDIT_NODE","MOVE_NODE","DELETE_NODE","COMMENT","EXPAND","MERGE_AS_CLOSED_OBJECT","DISPERSED_AS_INDEPENDENT_LIEN","Split","CONVERT_TO_PAD","MERGE_PADS","CONVERT_TO_SLOT_REGION","CONVERT_TO_FILL_REGION","CONVERT_TO_D3_SHELL_OUTLINE","CONVERT_TO_D3_SHELL_SLOT_REGION","CONVERT_TO_D3_SHELL_ENTITY","ONLY_SELECT","CURRENT_PCB","ALL_PROJECT","OPTIMIZA_NONE","OPTIMIZA_WEAK","OPTIMIZA_STRONG","OPTIMIZATION","bottomBar_refresh","bottomBar_editDevice","bottomBar_easyEditDevice","bottomBar_editSymbol","bottomBar_editFootprint","bottomBar_editPcb","bottomBar_replace3DModel","bottomBar_linkSymbol","bottomBar_linkFootprint","bottomBar_link3DModel","bottomBar_link2NewDevice","bottomBar_linkToExistingDevice","bottomBar_editSchematic","bottomBar_modify","bottomBar_libDelete","bottomBar_symbolSaveAs","bottomBar_footprintSaveAs","bottomBar_model3DSaveAs","bottomBar_reportError","bottomBar_saveAs","bottomBar_saveAsLocal","bottomBar_addOrRemoveFavorite","bottomBar_addIntoBasicLibrary","bottomBar_viewProductDetail","bottomBar_viewDatasheet","bottomBar_editBlockProject","bottomBar_editPanelLib","bottomBar_documentSaveAsCloud","bottomBar_documentSaveAsLocal","bottomBar_Category_expandAll","bottomBar_Category_collapseAll","bottomBar_recover","rightBar_pcb_DELETE_FEATURES","attrpanal_menu_remove_custom_attr","attrpanal_menu_delete_instance_attr","attrpanal_menu_delete_all_instance_attr","homepage_prj_menu_refresh","homepage_prj_menu_opensubmenu_sort","homepage_prj_menu_sticky_on_top","homepage_prj_menu_expand_all","homepage_prj_menu_collapse_all","homepage_prj_menu_open_all_projects","homepage_prj_menu_open_project","homepage_prj_menu_open_directory","homepage_prj_menu_open_in_the_newWindow","homepage_prj_menu_add_project_directory","homepage_prj_menu_create_new_project","homepage_prj_menu_create_new_folder","homepage_prj_menu_edit_folder","homepage_prj_menu_move_project","homepage_prj_menu_move_folder","homepage_prj_menu_open_in_the_workspace","homepage_prj_menu_delete_folder","homepage_prj_menu_opensubmenu_prjManagement","homepage_prj_menu_opensubmenu_version_management","homepage_prj_menu_opensubmenu_team_management","homepage_prj_sort_menu_sort_by_project_name","homepage_prj_sort_menu_sort_by_creation_time","homepage_prj_sort_menu_sort_by_modification_time","homepage_prj_sort_menu_ascending_order","homepage_prj_sort_menu_descending_order","homepage_prj_manager_menu_view_schema","homepage_prj_manager_menu_edit","homepage_prj_manager_menu_member","homepage_prj_manager_menu_attachment","homepage_prj_manager_menu_transfer","homepage_prj_manager_menu_share","homepage_prj_manager_menu_version_manager","homepage_prj_manager_menu_view_homePage","homepage_prj_manager_menu_lock","homepage_prj_manager_menu_unlock","homepage_prj_manager_menu_delete_project","homepage_prj_manager_menu_quit_project","homepage_ver_manager_menu_switch_version","homepage_ver_manager_menu_version_manager","homepage_team_manager_menu_edit_owner_team","homepage_team_manager_menu_project_owner_team","homepage_team_manager_menu_members_owner_team","homepage_team_manager_menu_fans_owner_team","homepage_team_manager_menu_assignment_owner_team","homepage_team_manager_menu_quit_owner_team","homepage_team_manager_menu_dissolve_owner_team","opensubmenu-draw-dimension","horizontal_split_tab","vertical_split_tab","horizontal_tile_tab","vertical_tile_tab","tile_all__tab","merge_all_tab","tab_window_arrangement","draw(dimension-xy)","draw(dimension-x)","draw(dimension-y)","stop_video_capture","show_videocapture"];var qOo="/commSystemSetting/HOTKEY/menuHotkey";yi(qOo,(t="UPDATED",e=qOo,i)=>{let{oldData:o,newData:r}=i;if(Array.isArray(r))return console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u6570\u636E\u5B58\u50A8\u683C\u5F0F\u4E0D\u6B63\u786E...");for(let n in r)if(JOo.includes(n)){let a=`${_Oo}/${n}/value`,s=r[n],l=wsn(s);C.setPreference(a,l)}else console.warn("\u4E2A\u4EBA\u504F\u597D-\u5FEB\u6377\u952E\u5BF9\u5E94\u529F\u80FD\u5DF2\u79FB\u9664...cmd:",n)});function wsn(t){let{hotkey:e=""}=t;return{hotkey:e,updateTime:Number(new Date)}}var Csn={"/commSystemSetting/OBJECT/theme/activeTheme":"lceda","/commSystemSetting/OBJECT/theme/customize/color/background":"#FFFFFF","/commSystemSetting/OBJECT/theme/customize/color/grid":"#CCCCCC","/commSystemSetting/OBJECT/theme/customize/color/select":"#FF0000","/commSystemSetting/OBJECT/theme/customize/color/highlight":"#FF0000","/commSystemSetting/OBJECT/theme/customize/color/updateTips":"#FF00FF","/commSystemSetting/OBJECT/theme/customize/color/wire":"#008800","/commSystemSetting/OBJECT/theme/customize/color/bus":"#008800","/commSystemSetting/OBJECT/theme/customize/color/junction":"#CC0000","/commSystemSetting/OBJECT/theme/customize/color/noConnectPoint":"#999999","/commSystemSetting/OBJECT/theme/customize/color/noConnectFlag":"#33CC33","/commSystemSetting/OBJECT/theme/customize/color/netName":"#0000FF","/commSystemSetting/OBJECT/theme/customize/color/netProperty":"#000080","/commSystemSetting/OBJECT/theme/customize/color/symbol":"#A00000","/commSystemSetting/OBJECT/theme/customize/color/symbolName":"#0000FF","/commSystemSetting/OBJECT/theme/customize/color/symbolProperty":"#000080","/commSystemSetting/OBJECT/theme/customize/color/pin":"#880000","/commSystemSetting/OBJECT/theme/customize/color/pinName":"#000000","/commSystemSetting/OBJECT/theme/customize/color/pinProperty":"#000000","/commSystemSetting/OBJECT/theme/customize/color/unusualHint":"#FF00FF","/commSystemSetting/OBJECT/theme/customize/color/line":"#000000","/commSystemSetting/OBJECT/theme/customize/color/rect":"#000000","/commSystemSetting/OBJECT/theme/customize/color/arc":"#000000","/commSystemSetting/OBJECT/theme/customize/color/bezier":"#000000","/commSystemSetting/OBJECT/theme/customize/color/circle":"#000000","/commSystemSetting/OBJECT/theme/customize/color/ellipse":"#000000","/commSystemSetting/OBJECT/theme/customize/color/text":"#000000","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbol/fontFamily":"Arial","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbol/fontSize":"10","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbol/fontItalic":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbol/fontWeight":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbol/fontUnderline":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbol/fontLineThrough":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/netName/fontFamily":"Arial","/commSystemSetting/OBJECT/theme/customize/fontStyle/netName/fontSize":"10","/commSystemSetting/OBJECT/theme/customize/fontStyle/netName/fontItalic":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/netName/fontWeight":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/netName/fontUnderline":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/netName/fontLineThrough":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbolName/fontFamily":"Arial","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbolName/fontSize":"10","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbolName/fontItalic":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbolName/fontWeight":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbolName/fontUnderline":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbolName/fontLineThrough":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/pinName/fontFamily":"Arial","/commSystemSetting/OBJECT/theme/customize/fontStyle/pinName/fontSize":"10","/commSystemSetting/OBJECT/theme/customize/fontStyle/pinName/fontItalic":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/pinName/fontWeight":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/pinName/fontUnderline":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/pinName/fontLineThrough":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/netProperty/fontFamily":"Arial","/commSystemSetting/OBJECT/theme/customize/fontStyle/netProperty/fontSize":"10","/commSystemSetting/OBJECT/theme/customize/fontStyle/netProperty/fontItalic":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/netProperty/fontWeight":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/netProperty/fontUnderline":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/netProperty/fontLineThrough":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbolProperty/fontFamily":"Arial","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbolProperty/fontSize":"10","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbolProperty/fontItalic":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbolProperty/fontWeight":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbolProperty/fontUnderline":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/symbolProperty/fontLineThrough":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/pinProperty/fontFamily":"Arial","/commSystemSetting/OBJECT/theme/customize/fontStyle/pinProperty/fontSize":"10","/commSystemSetting/OBJECT/theme/customize/fontStyle/pinProperty/fontItalic":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/pinProperty/fontWeight":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/pinProperty/fontUnderline":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/pinProperty/fontLineThrough":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/text/fontFamily":"Arial","/commSystemSetting/OBJECT/theme/customize/fontStyle/text/fontSize":"10","/commSystemSetting/OBJECT/theme/customize/fontStyle/text/fontItalic":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/text/fontWeight":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/text/fontUnderline":"0","/commSystemSetting/OBJECT/theme/customize/fontStyle/text/fontLineThrough":"0","/commSystemSetting/OBJECT/theme/customize/shape/bus/width":"2","/commSystemSetting/OBJECT/theme/customize/shape/bus/dash":"0","/commSystemSetting/OBJECT/theme/customize/shape/wire/width":"1","/commSystemSetting/OBJECT/theme/customize/shape/wire/dash":"0","/commSystemSetting/OBJECT/theme/customize/shape/arc/width":"1","/commSystemSetting/OBJECT/theme/customize/shape/arc/dash":"0","/commSystemSetting/OBJECT/theme/customize/shape/bezier/width":"1","/commSystemSetting/OBJECT/theme/customize/shape/bezier/dash":"0","/commSystemSetting/OBJECT/theme/customize/shape/rect/width":"1","/commSystemSetting/OBJECT/theme/customize/shape/rect/dash":"0","/commSystemSetting/OBJECT/theme/customize/shape/circle/width":"1","/commSystemSetting/OBJECT/theme/customize/shape/circle/dash":"0","/commSystemSetting/OBJECT/theme/customize/shape/ellipse/width":"1","/commSystemSetting/OBJECT/theme/customize/shape/ellipse/dash":"0","/commSystemSetting/OBJECT/theme/customize/shape/line/width":"1","/commSystemSetting/OBJECT/theme/customize/shape/line/dash":"0","/commSystemSetting/OBJECT/theme/customize/shape/symbol/width":"1","/commSystemSetting/OBJECT/theme/customize/shape/symbol/dash":"0"};EF(Csn);var xsn={"/commSystemSetting/PANEL_THEME/color/background":"none","/commSystemSetting/PANEL_THEME/color/grid":"#CCCCCC","/commSystemSetting/PANEL_THEME/color/select":"#FF9933","/commSystemSetting/PANEL_THEME/color/highlight":"#666666","/commSystemSetting/PANEL_THEME/color/arc":_e.HEX_BLACK_COLOR,"/commSystemSetting/PANEL_THEME/color/rect":_e.HEX_BLACK_COLOR,"/commSystemSetting/PANEL_THEME/color/circle":_e.HEX_BLACK_COLOR,"/commSystemSetting/PANEL_THEME/color/line":_e.HEX_BLACK_COLOR,"/commSystemSetting/PANEL_THEME/color/text":_e.HEX_BLACK_COLOR,"/commSystemSetting/PANEL_THEME/color/auxiliaryLine":"#00FFFF","/commSystemSetting/PANEL_THEME/color/dimensionConstraint":_e.HEX_BLACK_COLOR,"/commSystemSetting/PANEL_THEME/color/dimensionLabel":"#666666","/commSystemSetting/PANEL_THEME/fillColor/arc":_e.HEX_BLACK_COLOR,"/commSystemSetting/PANEL_THEME/fillColor/rect":_e.HEX_BLACK_COLOR,"/commSystemSetting/PANEL_THEME/fillColor/circle":_e.HEX_BLACK_COLOR,"/commSystemSetting/PANEL_THEME/fillColor/line":"","/commSystemSetting/PANEL_THEME/fillColor/auxiliaryPoint":"#FF00FF","/commSystemSetting/PANEL_THEME/fontStyle/text/fontFamily":"\u5B8B\u4F53","/commSystemSetting/PANEL_THEME/fontStyle/text/fontSize":"10","/commSystemSetting/PANEL_THEME/fontStyle/text/fontItalic":"0","/commSystemSetting/PANEL_THEME/fontStyle/text/fontWeight":"0","/commSystemSetting/PANEL_THEME/fontStyle/text/fontUnderline":"0","/commSystemSetting/PANEL_THEME/fontStyle/text/fontLineThrough":"0","/commSystemSetting/PANEL_THEME/shape/arc/width":"1","/commSystemSetting/PANEL_THEME/shape/arc/dash":"0","/commSystemSetting/PANEL_THEME/shape/rect/width":"0","/commSystemSetting/PANEL_THEME/shape/rect/dash":"0","/commSystemSetting/PANEL_THEME/shape/circle/width":"0","/commSystemSetting/PANEL_THEME/shape/circle/dash":"0","/commSystemSetting/PANEL_THEME/shape/line/width":"1","/commSystemSetting/PANEL_THEME/shape/line/dash":"0","/commSystemSetting/PANEL_THEME/shape/auxiliaryLine/width":"1","/commSystemSetting/PANEL_THEME/shape/auxiliaryLine/dash":"0"};EF(xsn);yi("/commSystemSetting/PCB_COMM_GRID_SIZE/commonlyList/activeCoordinate",(t="DELETED",e="/commSystemSetting/PCB_COMM_GRID_SIZE/commonlyList/activeCoordinate",i)=>{});yi("/commSystemSetting/PCB_COMM_GRID_SIZE/commonlyList/disabled",(t="DELETED",e="/commSystemSetting/PCB_COMM_GRID_SIZE/commonlyList/disabled",i)=>{});yi("/commSystemSetting/PCB_COMM_GRID_SIZE/commonlyList/value",(t="UPDATED",e="/commSystemSetting/PCB_COMM_GRID_SIZE/commonlyList/value",i)=>{let{oldData:o,newData:r}=i,n=`${e}`,a=(r instanceof Array?r:[]).map(s=>({accuracyGridXMil:s.accuracyGridXMil,accuracyGridXMm:s.accuracyGridXMm,accuracyGridYMil:s.accuracyGridYMil,accuracyGridYMm:s.accuracyGridYMm}));C.setPreference(n,a)});yi("/commSystemSetting/PCB_COMM_GRID_SIZE/commonlyList/value2Polar",(t="UPDATED",e="/commSystemSetting/PCB_COMM_GRID_SIZE/commonlyList/value2Polar",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=(r instanceof Array?r:[]).map(s=>({angle:s.angle,mil:s.mil,accuracyMil:s.accuracyMil,accuracyMm:s.accuracyMm,mm:s.mm,unit:s.unit}));C.setPreference(n,a)});yi("/commSystemSetting/PCB_COMM_TRACK_WIDTH/commonlyList/disabled",(t="DELETED",e="/commSystemSetting/PCB_COMM_TRACK_WIDTH/commonlyList/disabled",i)=>{});yi("/commSystemSetting/PCB_COMM_TRACK_WIDTH/commonlyList/value",(t="UPDATED",e="/commSystemSetting/PCB_COMM_TRACK_WIDTH/commonlyList/value",i)=>{let{oldData:o,newData:r}=i,n=`${e}`,a=(r instanceof Array?r:[]).map(s=>({trackWidthMil:s.trackWidthMil,trackWidthMm:s.trackWidthMm}));C.setPreference(n,a)});yi("/commSystemSetting/PCB_COMM_VIA_SIZE/commonlyList/disabled",(t="DELETED",e="/commSystemSetting/PCB_COMM_VIA_SIZE/commonlyList/disabled",i)=>{});yi("/commSystemSetting/PCB_COMM_VIA_SIZE/commonlyList/value",(t="UPDATED",e="/commSystemSetting/PCB_COMM_VIA_SIZE/commonlyList/value",i)=>{let{oldData:o,newData:r}=i,n=`${e}`,a=(r instanceof Array?r:[]).map(s=>({insideDiameterMil:s.insideDiameterMil,insideDiameterMm:s.insideDiameterMm,outersideDiameterMil:s.outersideDiameterMil,outersideDiameterMm:s.outersideDiameterMm}));C.setPreference(n,a)});yi("/commSystemSetting/PCB_FOOTPRINT/cursorSize/value",(t="UPDATED",e="/commSystemSetting/PCB_FOOTPRINT/cursorSize/value",i)=>{let{oldData:o,newData:r}=i,n=`${e}`,a=r;C.setPreference(n,a)});yi("/commSystemSetting/PCB_FOOTPRINT/gridType/value",(t="UPDATED",e="/commSystemSetting/PCB_FOOTPRINT/gridType/value",i)=>{let{oldData:o,newData:r}=i,n=`${e}`,a=r;C.setPreference(n,a)});yi("/commSystemSetting/PCB_FOOTPRINT/isAlwaysShowCrossCursor/disabled",(t="UPDATED",e="/commSystemSetting/PCB_FOOTPRINT/isAlwaysShowCrossCursor/disabled",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/commSystemSetting/PCB_FOOTPRINT/isShowRuler/value",(t="UPDATED",e="/commSystemSetting/PCB_FOOTPRINT/isShowRuler/value",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/commSystemSetting/PCB_FOOTPRINT/isUsedJLCColorSilk/value",(t="UPDATED",e="/commSystemSetting/PCB_FOOTPRINT/isUsedJLCColorSilk/value",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/commSystemSetting/PCB_FOOTPRINT/renderingEngine/value",(t="UPDATED",e="/commSystemSetting/PCB_FOOTPRINT/renderingEngine/value",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/commSystemSetting/SAVE/autoBackupMin",(t="DELETED",e="/commSystemSetting/SAVE/autoBackupMin",i)=>{let{oldData:o,newData:r}=i;if(r===void 0)return;let n=`${e}`,a=r;["updated","created"].includes(r==null?void 0:r.type)&&(a=r.data),console.log(n,a),C.setPreference(n,a)});yi("/commSystemSetting/SAVE/autoSaveMin/value",(t="DELETED",e="/commSystemSetting/SAVE/autoSaveMin/value",i)=>{let{oldData:o,newData:r}=i;if(r===void 0)return;let n=`${e}`,a=r;["updated","created"].includes(r==null?void 0:r.type)&&(a=r.data),console.log("/commSystemSetting/SAVE/autoSaveMin",a),C.setPreference("/commSystemSetting/SAVE/autoSaveMin",a)});yi("/commSystemSetting/SAVE/isAutoBackup/value",(t="DELETED",e="/commSystemSetting/SAVE/isAutoBackup/value",i)=>{let{oldData:o,newData:r}=i;if(r===void 0)return;let n=`${e}`,a=r;["updated","created"].includes(r==null?void 0:r.type)&&(a=r.data),console.log("/commSystemSetting/SAVE/isAutoBackup",a),C.setPreference("/commSystemSetting/SAVE/isAutoBackup",a)});yi("/commSystemSetting/SAVE/isAutoSave/value",(t="DELETED",e="/commSystemSetting/SAVE/isAutoSave/value",i)=>{let{oldData:o,newData:r}=i;if(r===void 0)return;let n=`${e}`,a=r;["updated","created"].includes(r==null?void 0:r.type)&&(a=r.data),console.log("/commSystemSetting/SAVE/isAutoSave",a),C.setPreference("/commSystemSetting/SAVE/isAutoSave",a)});var Tsn={"/commSystemSetting/SYSTEM/allowRename/value":"true","/commSystemSetting/SYSTEM/symbolLibManage/value":"0","/commSystemSetting/SYSTEM/canvasZoomType/value":"roller","/commSystemSetting/SYSTEM/newLibraryPopup/value":"simplify","/commSystemSetting/SYSTEM/placeDeviceType/value":"show","/commSystemSetting/SYSTEM/openProjectType/value":"new","/commSystemSetting/SYSTEM/isShowSymbol/value":!1,"/commSystemSetting/SYSTEM/sidePanelAutoHide/leftPanel/value":!1,"/commSystemSetting/SYSTEM/sidePanelAutoHide/rightPanel/value":!1,"/commSystemSetting/SYSTEM/sidePanelAutoHide/bottomPanel/value":!1,"/commSystemSetting/SYSTEM/dragMiddleMouseButton/value":"moveCanvas","/commSystemSetting/SYSTEM/autoPanning/type/value":cu.SYSTEM.autoPanning.type.value,"/commSystemSetting/SYSTEM/autoPanning/speed/value":cu.SYSTEM.autoPanning.speed.value,"/commSystemSetting/SYSTEM/autoPanning/step/value":cu.SYSTEM.autoPanning.step.value,"/commSystemSetting/SYSTEM/autoPanning/altStep/value":cu.SYSTEM.autoPanning.altStep.value};EF(Tsn);yi("/designRule",(t="CREATED",e="/designRule",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r,s={};Object.keys(r).forEach(l=>{let c=r[l];s[`${e}/${l}/value`]=c}),Object.keys(s).forEach(l=>{C.setPreference(l,s[l])})});yi("/DEVICE_HEADER",(t="CREATED",e="/DEVICE_HEADER",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/DLG_DEVICE_HEADER",(t="CREATED",e="/DLG_DEVICE_HEADER",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/dragNetnameDefaultValue",(t="CREATED",e="/dragNetnameDefaultValue",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/dxf_exportConfig",(t="CREATED",e="/dxf_exportConfig",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/exportPickPlace",(t="CREATED",e="/exportPickPlace",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/filterConfig",(t="CREATED",e="/filterConfig",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r,s={};Object.keys(r).forEach(l=>{let c=r[l];s[`${e}/${l}/value`]=c}),Object.keys(s).forEach(l=>{C.setPreference(l,s[l])})});yi("/gerber_exportConfig",(t="CREATED",e="/gerber_exportConfig",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/isAssociationPCBCanvasGridAndSnap",(t="CREATED",e="/isAssociationPCBCanvasGridAndSnap",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/isSCHDragNetnameModeConfigured",(t="CREATED",e="/isSCHDragNetnameModeConfigured",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/isSelectAlignRefObject",(t="CREATED",e="/isSelectAlignRefObject",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/isShowPCBBottomLayersBar",(t="CREATED",e="/isShowPCBBottomLayersBar",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/layout",(t="CREATED",e="/layout",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/linked-width-height",(t="CREATED",e="/linked-width-height",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/new_toolbarConfig",(t="CREATED",e="/new_toolbarConfig",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/pcbDRCCustomConfig",(t="CREATED",e="/pcbDRCCustomConfig",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r,s={};Object.keys(r).forEach(l=>{let c=r[l];s[`${e}/${l}/value`]=c}),Object.keys(s).forEach(l=>{C.setPreference(l,s[l])})});yi("/PCB_PDF_PAGE",(t="CREATED",e="/PCB_PDF_PAGE",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/saveConfig",(t="CREATED",e="/saveConfig",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/serviceConfig",(t="CREATED",e="/serviceConfig",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/sheetConfig",(t="CREATED",e="/sheetConfig",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/treeState.homeProjectTree",(t="CREATED",e="/treeState.homeProjectTree",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/treeState.projectTree",(t="CREATED",e="/treeState.projectTree",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/usrPanelLayerProfile",(t="CREATED",e="/usrPanelLayerProfile",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/usrPcbLayerColorProfile",(t="CREATED",e="/usrPcbLayerColorProfile",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/usrPcbLayerProfile",(t="CREATED",e="/usrPcbLayerProfile",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r.list||[];C.setPreference(n,a)});yi("/usrPcbProcessConfigProfile",(t="CREATED",e="/usrPcbProcessConfigProfile",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/usrPcbStackLayerPhyProfile",(t="CREATED",e="/usrPcbStackLayerPhyProfile",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});yi("/usrStackPhySettingDefaults",(t="CREATED",e="/usrStackPhySettingDefaults",i)=>{let{oldData:o,newData:r}=i,n=`${e}/value`,a=r;C.setPreference(n,a)});var Kct=new Qct;async function XOo(){console.log("%cSubmitChangedPerference Start","color: #ff0000; font-size: 24px;");let t=await POo(!0);Kct.updateRuntimeProfile(JSON.parse(t)),Kct.updateReferenceProfile({commSystemSetting:cu});let e=Kct.execDiff2();console.log(Kct),console.log(e);let i=Object.keys(pEe),o={...e.updated,...e.created,...e.deleted,...e.created};for(let a=0;a<i.length;a++){let s=i[a],l=pEe[s],c=o[s]?o[s][Ji.KEY_OLD_DATA]:void 0,d=o[s]?o[s][Ji.KEY_NEW_DATA]:void 0;try{o[s]&&l(o[s][Ji.KEY_TYPE],o[s][Ji.KEY_PATH],{oldData:c,newData:d})}catch(u){console.error(u);continue}}let r={...e.updated,...e.created},n=Object.keys(r);for(let a=0;a<n.length;a++){let s=n[a],l=r[s]?r[s][Ji.KEY_TYPE]:void 0,c=r[s]?r[s][Ji.KEY_OLD_DATA]:void 0,d=r[s]?r[s][Ji.KEY_NEW_DATA]:void 0;if(!l||NOo.includes(s))continue;if(typeof(C.getPreference(s)||C.getPreference(s+"/value"))>"u"&&typeof d<"u"){let p=d,m=s;m.endsWith("/value")||(m=m+"/value"),console.log(`%cSubmitChangedPerference:Supplement ${m}(${s})`,"color: #ff6600; font-size: 18px;"),C.setPreference(m,p)}}console.log("%cSubmitChangedPerference Finish","color: #ff0000; font-size: 24px;")}var $Oo=L(Se()),eRo=L(Hr());var WQt=L(z());function tRo(){let t=document.querySelector("#treePanelObjects-content");eRo.default.createRoot(t).render((0,WQt.jsx)($Oo.default.StrictMode,{children:(0,WQt.jsx)(dZi,{})}))}var m4e=L(Vi()),h4e=L(Hr());var w2=L(Se());var Wte="tree-expand-";var iRo={containerStyleObject:{},containerWidth:"100%",containerHeight:"100%",initContainerScrollTop:0,isVirtualList:!1,extendIconType:"tree-extends-box",data:[],treeWidgetItemWidth:"30px",itemStyleObject:{},showTagLine:!0,showExpandBtn:!0,emptyLabel:"Empty list",expandAll:void 0,leftTranslationalAlignment:!1,multiSelect:!1,itemHeight:"26px",contentUnderline:!1,selectedIds:[],expandedIds:new Set,onExpand:null,onClick:null,itemRender:null,onVirtualScroll:null,topBufferSize:30,bottomBufferSize:30,renderTicket:0};var oRo="zh-hans";var nRo=L(QQt());var Lg=L(z()),{locals:$k}=nRo.default;function aRo(t){let{lineKey:e,expand:i,lineData:o,selectedKeys:r,profile:n,expandAction:a}=t,{levels:s=[],sourceData:l}=o,{leftTranslationalAlignment:c=!1,itemStyleObject:d,showTagLine:u=!0,showExpandBtn:p=!0,extendIconType:m="tree-extends-box",contentUnderline:h,itemRender:f}=n,{isPropagationOnExtend:g,extendIcon:b}=n,y=J(),w=be({[$k["tree-content"]]:!0,[$k["tree-content-underline"]]:!!h,[$k["tree-content-disabled"]]:!!l.disabled}),x=$k["tree-blank"],S=$k["tree-extends"],T=be($k["tree-extends-icon"],{[$k[`${m}`]]:!b,[$k[`${m}-active`]]:!b&&!!i,[b&&(b==null?void 0:b.expandIcon)||""]:!!i&&!!b,[b&&(b==null?void 0:b.collapseIcon)||""]:!i&&!!b}),M=$k["tree-usertips-line"],I=$k["tree-usertips-line-middle"],A=$k["tree-usertips-line-turn"],D=$k["tree-usertips-line-fork"],E=[],N=(0,Lg.jsx)("div",{className:T,onClick:v=>{!g&&v.stopPropagation(),a&&a(o)}});s.forEach((v,k)=>{switch(v.stag){case-1:{if(c&&k===0){E.push((0,Lg.jsx)("span",{children:l.showAsterisk?(0,Lg.jsx)("em",{style:{transform:"translate3d(-1px, 3px, 10px)",color:"red"},children:"*"}):null},v.key));return}E.push((0,Lg.jsx)("span",{className:x,children:l.showAsterisk?(0,Lg.jsx)("em",{style:{transform:"translate3d(-1px, 3px, 10px)",color:"red"},children:"*"}):null},v.key));return}case 0:{if(!p){E.push((0,Lg.jsx)("span",{className:x},v.key));return}E.push((0,Lg.jsx)("span",{className:S,children:N},v.key));return}case 1:{if(!u){E.push((0,Lg.jsx)("span",{className:x},v.key));return}E.push((0,Lg.jsx)("span",{className:M},v.key));return}case 2:{if(!u){E.push((0,Lg.jsx)("span",{className:x,children:k===s.length-1&&l.showAsterisk?(0,Lg.jsx)("em",{style:{transform:"translate3d(-1px, 3px, 10px)",color:"red"},children:"*"}):null},v.key));return}E.push((0,Lg.jsx)("span",{className:I,children:k===s.length-1&&l.showAsterisk?(0,Lg.jsx)("em",{style:{transform:"translate3d(-1px, 3px, 10px)",color:"red"},children:"*"}):null},v.key));return}case 3:{if(!u){E.push((0,Lg.jsx)("span",{className:x},v.key));return}E.push((0,Lg.jsx)("span",{className:A},v.key));return}case 4:{if(!u){E.push((0,Lg.jsx)("span",{className:x},v.key));return}E.push((0,Lg.jsx)("span",{className:D},v.key));return}default:{E.push((0,Lg.jsx)("span",{className:x},v.key));return}}});let R=l.titleAdditional&&me.curr===oRo?String(l.titleAdditional):String(l.title);return E.push((0,Lg.jsx)("span",{"data-itemid":l.id,className:w,style:d,"data-test":l.dataTest||l.title,children:f?f(l,o,me):y(R)},e)),(0,Lg.jsx)(Lg.Fragment,{children:E})}var KQt=L(QQt());var e9=L(z()),{locals:hEe}=KQt.default,wce="|_|",Cce="|__|";function Msn(t,e){let i=J();Ae(KQt.default);let o={...iRo,...t},{data:r,containerStyleObject:n,containerWidth:a,containerHeight:s,initContainerScrollTop:l,treeWidgetItemWidth:c,multiSelect:d,visibleLockControl:u}=o,{expandAll:p,autoClickFirst:m,hoverNodeId:h,isVirtualList:f,itemHeight:g,emptyLabel:b,showTagLine:y}=o,{expandedIds:w,selectedIds:x,topBufferSize:S,bottomBufferSize:T,notAutoSelect:M}=o,{onExpand:I,onClick:A,onContextMenu:D,onMouseEnter:E,onMouseLeave:N,onVirtualScroll:R,onMousesDown:v}=o,k=(0,w2.useRef)(null),P=(0,w2.useRef)({}),O=(0,w2.useRef)({}),_=(0,w2.useRef)(!1),j=(0,w2.useRef)(null),[B,V]=Q9(w),[G,Q]=Q9(x),[H,q]=(0,w2.useState)(l||0),U=parseInt(g||""),F=(0,w2.useMemo)(()=>parseInt(s||""),[s]);(0,w2.useEffect)(()=>{let ot=new Set;p&&(ze(r,ot),V(ot))},[r,p]);let K=(0,w2.useMemo)(()=>r?Ve(r):0,[r,B]),te=(0,w2.useMemo)(()=>{let ot=Math.ceil(F/U),Qe=Math.floor(H/U);return[Math.max(Qe-S,0),Math.min(Qe+ot+T,K-1)]},[H,K]);(0,w2.useEffect)(()=>{m&&r[0]!=null&&A&&A(r.map(ot=>ot.id),r[0],null,{detail:1})},[r]);let ae=`${hEe["tree-container"]}`,pe=hEe["tree-rowline"],Z=hEe["tree-rowline-selected"],ee=` ${hEe["tree-rowline-can-hover"]}`,ce=` ${hEe["tree-rowline-hover"]}`,ne={},oe=(0,w2.useRef)(null);(0,w2.useImperativeHandle)(e,()=>({treeRef:oe,expandedKeys(){return B},getTreeNodeById:X,getNodeBetween:re}));function re(ot,Qe,ut=B){return Y(ot,Qe,r,{found:!1,list:[]},ut).list}function Y(ot,Qe,ut,rt,ht){for(let ct=0;ct<ut.length;ct++){let wt=ut[ct],zt=ke(wt),gt=typeof wt=="string"?null:wt.children,yt=!!(ht.has(zt)&&(gt!=null&&gt.length));if([ot,Qe].includes(zt)){if(rt.list.push(zt),rt.list.length>1)return rt.found=!0,rt}else rt.list.length&&rt.list.push(zt);if(yt){let jt=Y(ot,Qe,gt,rt,ht);if(jt&&jt.found)return jt}}return rt}(0,w2.useEffect)(()=>{k.current&&c&&k.current.style.setProperty("--tree-widget-item-width",c)},[r.length]),Gs("keyup",ot=>{de(ot)});function X(ot){let Qe=ot.split(wce),ut=r;for(let rt=1;rt<Qe.length;rt++){let ht=Qe.slice(0,rt+1).join(wce),ct=ut.find(wt=>wt.id==ht);if(!ct)return null;if(ct.id!=ot)if(ct.children&&typeof ct.children[0]=="string"){let wt=Cce+ot,zt=ct.children.find(gt=>gt.endsWith(wt));return{id:ot,title:zt.split(Cce)[0],args:{iconCls:ct.args.childIcon,treeNodeType:ct.args.childTreeNodeType}}}else ut=ct.children;else return ct}return null}function ie(ot){return X(ot.split(wce).slice(0,-1).join(wce))}let de=Gr(ot=>{var Qe,ut,rt;if(_.current&&!d)switch(ot.code){case"ArrowDown":{let ht=G.at(-1),ct=fe(ht);if(ct!=null){Te(ct,ot);let wt=(Qe=k0(`[data-itemid="${ct.id}"]`,k.current))==null?void 0:Qe.parentElement.parentElement.parentElement;(!wt||wt.offsetTop+wt.offsetHeight>j.current.scrollTop+k.current.clientHeight)&&j.current.scrollTo({top:(Math.ceil(j.current.scrollTop/U)+1)*U,behavior:"smooth"})}break}case"ArrowUp":{let ht=G[0],ct=ye(ht);if(ct!=null){Te(ct,ot);let wt=(ut=k0(`[data-itemid="${ct.id}"]`,k.current))==null?void 0:ut.parentElement.parentElement.parentElement;(!wt||wt.offsetTop<j.current.scrollTop)&&j.current.scrollTo({top:(Math.floor(j.current.scrollTop/U)-1)*U,behavior:"smooth"})}break}case"ArrowLeft":{let ht=G[0],ct=X(ht);if(B.has(ct.id))B.delete(ct.id),V(new Set([...B]));else{let wt=ie(ct.id);wt&&Te(wt,null)}break}case"ArrowRight":{let ht=G[0],ct=X(ht);B.has(ct.id)?(rt=ct.children)!=null&&rt.length&&Te(Be(ct.children[0]),null):(B.add(ct.id),V(new Set([...B])));break}case"Home":{let ht=r[0];ht!=null&&(Te(ht,null),j.current.scrollTo({top:0,behavior:"smooth"}));break}case"End":{let ht=r.at(-1);ht!=null&&(Te(ht,null),j.current.scrollTo({top:j.current.scrollHeight,behavior:"smooth"}));break}case"PageUp":{let ht=Math.max(0,j.current.scrollTop-F),ct=Le(ht);Te(ct,null),j.current.scrollTo({top:ht,behavior:"smooth"});break}case"PageDown":{let ht=Math.min(j.current.scrollHeight-F,j.current.scrollTop+F),ct=Le(ht);Te(ct,null),j.current.scrollTo({top:ht,behavior:"smooth"});break}}},100),fe=ot=>{var ht,ct;let Qe=X(ot);if((ht=Qe.args)!=null&&ht.editing)return;if(B.has(Qe.id)&&((ct=Qe.children)!=null&&ct.length))return Be(Qe.children[0]);let ut=Qe,rt=ie(Qe.id);for(;rt;){let wt=rt.children,zt;typeof wt[0]=="string"?zt=wt.findIndex(Qt=>ut.id==Qt.split(Cce).at(-1)):zt=wt.findIndex(Qt=>Qt.id==ut.id);let gt=wt[zt+1];if(gt)return Be(gt);ut=rt,rt=ie(rt.id)}return r[r.findIndex(wt=>wt.id==ut.id)+1]},ye=ot=>{var ct,wt;if((ct=X(ot).args)!=null&&ct.editing)return;let ut=ie(ot),rt=(ut==null?void 0:ut.children)||r,ht;if(typeof rt[0]=="string"?ht=rt.findIndex(zt=>ot==zt.split(Cce).at(-1)):ht=rt.findIndex(zt=>zt.id==ot),rt[ht-1]){let zt=Be(rt[ht-1]);return B.has(zt.id)&&((wt=zt.children)!=null&&wt.length)?Be(zt.children.at(-1)):zt}else return ut},Le=ot=>{let Qe=r[0],ut=0;for(;ut*U<ot;)ut++,Qe=fe(Qe.id);return Qe},Re=ot=>{if(M)return G;let Qe=[];return d?G.indexOf(ot)<=-1?Qe=[...G,ot]:Qe=G.filter(rt=>rt!==ot):Qe=[ot],Q(Qe),Qe},Ne=ot=>{let Qe={};return ot.forEach(ut=>{Qe[ut]=P[ut]}),Qe},Te=(ot,Qe)=>{if(O.current.blockClickAction)return;let ut=ot.id,rt=Re(ut),ht=Ne(rt);A&&A(rt,ot,ht,Qe)},Pe=(ot,Qe)=>{if(v instanceof Function&&v(ot,Qe)===!1){O.current.blockClickAction=!0;return}O.current.blockClickAction=!1},Oe=(ot,Qe)=>{let ut=ot.sourceData.id,rt=Re(ut),ht=Ne(rt);D&&D(rt,ot.sourceData,ot,ht,Qe)},Ue=ot=>{B.has(ot.id)?B.delete(ot.id):B.add(ot.id),V(new Set([...B]))};function Ve(ot){let Qe=0;for(let ut=0;ut<ot.length;ut++){Qe++;let rt=ot[ut],{children:ht,id:ct}=rt;!!(B.has(ct)&&(ht!=null&&ht.length))&&(Qe+=typeof ht[0]=="string"?ht.length:Ve(ht))}return Qe}function ze(ot,Qe){for(let ut=0;ut<ot.length;ut++){let rt=ot[ut],{children:ht,id:ct,isLeaf:wt}=rt;!wt&&(ht!=null&&ht.length)&&Qe.add(ct),ht!=null&&ht.length&&ze(ht,Qe)}}let He=1;function Ye(ot,Qe){if(typeof ot=="string"){let[ht,ct]=ot.split(Cce);return{id:ct,levels:Xe(ot),isLeaf:!0,children:[],sourceData:{id:ct,title:ht,args:{iconCls:Qe.args.childIcon,treeNodeType:Qe.args.childTreeNodeType}}}}return{id:ot.id,levels:Xe(ot),isLeaf:!ot.children,children:ot.children,sourceData:ot}}function ke(ot){return typeof ot=="string"?ot.split(Cce)[1]:ot.id}function Be(ot){if(typeof ot=="string"){let[Qe,ut]=ot.split(Cce);return{id:ut,title:Qe}}return ot}function Xe(ot){let Qe=[],ut=r,rt=ke(ot).split(wce);for(let ht=1;ht<rt.length-1;ht++){let ct=rt.slice(0,ht+1).join(wce),wt=ut.find(Qt=>ke(Qt)==ct),zt=ke(wt.children.at(-1)),gt=rt.slice(0,ht+2).join(wce)==zt;ht==rt.length-2?gt?Qe.push({key:`${Wte}${He++}`,stag:3}):Qe.push({key:`${Wte}${He++}`,stag:4}):gt?Qe.push({key:`${Wte}${He++}`,stag:-1}):Qe.push({key:`${Wte}${He++}`,stag:1}),ut=wt.children}return typeof ot!="string"&&ot.children&&ot.children.length>0?Qe.push({key:`${Wte}${He++}`,stag:0}):Qe.length>0?Qe.push({key:`${Wte}${He++}`,stag:2}):Qe.push({key:`${Wte}${He++}`,stag:-1}),Qe}let Ge=(ot,Qe)=>{let ut=new Array;return Ke(ut,Qe,ot,void 0),ut},Ke=(ot,Qe,ut,rt)=>{for(let ht=0;ht<ut.length;ht++){let ct=ut[ht],wt=ke(ct),zt=typeof ct=="string"?null:ct.children,gt=B.has(wt),Qt=G.indexOf(wt)>=0,yt=!!(gt&&(zt!=null&&zt.length));if(ot.length<Qe[0]||ot.length>Qe[1])ot.push(null);else{let jt=Ye(ct,rt),ni=be(pe,{[Z]:Qt,[ee]:h===void 0,[ce]:h!==void 0&&h===jt.id});P[wt]=P[rt==null?void 0:rt.id]?P[rt==null?void 0:rt.id]+":"+wt:wt,ot.push((0,e9.jsxs)("div",{className:ni,style:ne,onClick:Ii=>Te(jt.sourceData,Ii),onMouseDown:Ii=>Pe(jt,Ii),onContextMenu:Ii=>Oe(jt,Ii),onMouseEnter:Ii=>E&&E(jt,Ii),onMouseLeave:Ii=>N&&N(jt,Ii),children:[u&&u(jt.sourceData,jt,me),(0,e9.jsx)(aRo,{lineKey:ht,lineData:jt,profile:o,selectedKeys:G,expand:B.has(jt.id),expandAction:Ue})]},wt))}yt&&Ke(ot,Qe,zt,ct)}},pt=(0,w2.useMemo)(()=>Ge(r,te),[r,te,G]);return r.length?f&&s&&/\d+px$/i.test(String(s))?(0,e9.jsx)("section",{"data-tagitem":"tree-container","data-cc":o.renderTicket,className:ae,style:n,ref:k,onMouseEnter:()=>{_.current=!0},onMouseLeave:()=>{_.current=!1},children:(0,e9.jsx)(Z8,{containerElementRef:j,containerHeight:F,countTotal:K,estimatedRowHeight:U,initContainerScrollTop:l,topBufferSize:S,bottomBufferSize:T,countTotalNotScroll:!0,onScroll:ot=>{q(ot.scrollTop),R&&R(ot)},children:({index:ot,style:Qe})=>(0,e9.jsx)("div",{"data-index":ot,style:Qe,children:pt[ot]})})}):(0,e9.jsx)("section",{style:{width:"fit-content",minWidth:"100%"},children:(0,e9.jsx)("section",{"data-tagitem":"tree-container","data-cc":o.renderTicket,className:ae,style:n,ref:k,children:pt})}):(0,e9.jsx)("section",{style:{width:"fit-content",minWidth:"100%"},children:(0,e9.jsx)("section",{"data-tagitem":"tree-container","data-cc":o.renderTicket,style:{lineHeight:"25px",textAlign:"center",padding:"3px 0"},children:(0,e9.jsx)("span",{"data-test":b,children:i(b)})})})}var sRo=(0,w2.forwardRef)(Msn);var Isn=sRo,ZQt=Isn;var Yp=L(Se());var gEe=L(cRo());var Ad=L(z()),mo=class{static create(e){return e.filter(i=>i!=null).join(this.separator)}static get(e){if(e==null)return null;let i=e.split(this.separator);return i[i.length-1]}};mo.separator="|_|";var Lsn=mo.create(["DRCTab","Errors"]),JQt=24,{locals:XE}=gEe.default;var dRo={designPageTree:vsn,designNetPageTree:Dsn,designComponentPageTree:Esn,designComparisonResultTree:Nsn,designDRCTree:Asn};function pRo(){Object.values(dRo).forEach(t=>t()),C.messageBus.subscribe("RENDER_DESIGN_TREE",t=>{let e=t.treeType,i=dRo[e];i?i():console.warn(`No render function for tree: ${e}`)})}var $Qt=class extends qe{constructor(){super();this.isHighlight=!1;let i=mt.getCacheObj("PCB_SHOW_TREE")||{};i&&(this.isHighlight=i.leftTreeHight)}setHighlight(i){this.isHighlight=i,setTimeout(()=>{let o=mt.getCacheObj("PCB_SHOW_TREE")||{};o.leftTreeHight=f4e.isHighlight,mt.setCacheObj("PCB_SHOW_TREE",o),mt.saveToServer(!1)}),this.notify()}},f4e=new $Qt;function vsn(){h4e.default.createRoot(document.querySelector("#treeMyDesignPage")).render((0,Ad.jsx)(bEe,{treeType:Ni.ObjectRoot,containerId:"treeMyDesignPage",highlightStore:f4e}))}function Dsn(){h4e.default.createRoot(document.querySelector("#treeMyDesignNetPage")).render((0,Ad.jsx)(bEe,{treeType:Ni.Net,containerId:"treeMyDesignNetPage",highlightStore:f4e}))}function Esn(){h4e.default.createRoot(document.querySelector("#treeMyDesignComponentPage")).render((0,Ad.jsx)(bEe,{treeType:Ni.ComponentClassification,containerId:"treeMyDesignComponentPage",highlightStore:f4e}))}function Asn(){h4e.default.createRoot(document.querySelector("#treeMyDesignDRC-content")).render((0,Ad.jsx)(bEe,{treeType:Ni.Errors,containerId:"treeMyDesignDRC-content",highlightStore:f4e}))}function Nsn(){h4e.default.createRoot(document.querySelector("#pcb-comparison-result-tree")).render((0,Ad.jsx)(bEe,{treeType:Ni.PcbComparison,containerId:"pcb-comparison-result-tree",highlightStore:f4e}))}function bEe({treeType:t,containerId:e,highlightStore:i}){var Le,Re,Ne;Ae(gEe.default);let o=J(),r=(0,Yp.useRef)(null),[n,a]=(0,Yp.useState)([]),[s,l]=(0,Yp.useState)([]),c=(0,Yp.useRef)(null),d=(0,Yp.useRef)(null),[u,p]=(0,Yp.useState)("Designator"),m=(0,Yp.useRef)("Designator"),[h,f]=(0,Yp.useState)("Net"),g=(0,Yp.useRef)("Net"),[b,y]=(0,Yp.useState)(0),w=(0,Yp.useRef)(null),[x,S]=(0,Yp.useState)([]),T=(0,Yp.useRef)({}),M=(0,Yp.useRef)(null),[I,A]=(0,Yp.useState)(new Set),D=(0,Yp.useRef)(null),E=(0,Yp.useRef)({}),[N,R]=(0,Yp.useState)(!1),v=(0,Yp.useRef)(null),[k,P]=(0,Yp.useState)(1),[O,_]=(0,Yp.useState)(""),[j,B]=(0,Yp.useState)(""),V=be.bind(gEe.default.locals);Ce(i);let G=(Re=(Le=he.getActiveTabData())==null?void 0:Le.data)==null?void 0:Re.pid,Q=je()&&G&&G!=C.currentProject.projectId;(0,m4e.default)("#checkDRC").prop("disabled",Q),(0,Yp.useEffect)(()=>{let Te,Pe,Oe,Ue,Ve,ze,He,Ye,ke,Be,Xe;return t==Ni.ObjectRoot?(Te=C.messageBus.subscribe("getAllItemsBack",Ge=>{if(Ge[0].loading)l(Ge);else{if(l([]),!(c.current instanceof Array)&&Ge.length<=1)return;c.current=qQt(c.current,Ge),a(c.current)}}),He=C.messageBus.subscribe("toggleCopperEyeState",Ge=>{let Ke=mo.create(["ObjTab","Copper Region"]);for(let pt of[c.current,d.current]){if(!pt)continue;let ot=pt instanceof Array?pt.find(Qe=>Qe.id==Ke):null;if(!ot)return;ot.children.forEach(Qe=>{Qe.children.forEach(ut=>{let rt=mo.get(ut.id),ht=Ge[rt];ht!=null&&(ut.visible=ht,ut.args.eyeState=ht)})}),ot.children.forEach(Qe=>{let ut=Qe.children[0];Qe.children.every(ht=>ht.visible==ut.visible)&&(Qe.visible=ut.args.eyeState,Qe.args.eyeState=ut.args.eyeState)}),a([...d.current||c.current])}})):t==Ni.PcbComparison?(Te=C.messageBus.subscribe("pro-ui/pcbComparisonTreeData",Ge=>{var ht;let{pcbTabId1:Ke,pcbTabId2:pt,pcbName1:ot,pcbName2:Qe,pcbComparisonResult:ut}=Ge||{};_(Ke),B(pt),(0,m4e.default)("#clear-pcb-comparison-btn").data("comparisonTabId",{pcbTabId1:Ke,pcbTabId2:pt});let rt=ie(ut.comparisonResultMap);(rt.length==0||rt.length==1&&((ht=rt[0].children)==null?void 0:ht.length)==0)&&De({type:"info",msg:{value:"{pcb1} is the same as {pcb2}!",options:{pcb1:ot,pcb2:Qe}}}),a(rt),c.current=rt,M.current=!0,_sn(ut,{pcbTabId1:Ke,pcbTabId2:pt})}),Be=C.messageBus.subscribe("pro-ui/toggleComparisonResultVisible",({layerName:Ge,resultType:Ke,key:pt,visible:ot})=>{var wt;let Qe=mo.create(["pcb-comparison","diff",Ge,Ke]),ut=(wt=r.current)==null?void 0:wt.getTreeNodeById(Qe);if(!ut)return;let rt=ut.args.list||[],ht=!0,ct=!1;rt.some(zt=>{let{object1:gt,object2:Qt}=zt,yt=((gt==null?void 0:gt.id)||"")+"-"+((Qt==null?void 0:Qt.id)||"");return pt==yt?(zt.hidden=!ot,ct=!0):!zt.hidden!=ot&&(ht=!1),ct&&!ht}),ht&&(ut.args.eyeState=ot,K(Qe),M.current=!1,a([...c.current]))}),Xe=C.messageBus.subscribe("pro-ui/clearComparisonResult",async Ge=>{var Qe,ut;let Ke=(0,m4e.default)("#clear-pcb-comparison-btn").data("comparisonTabId");if(!Ke)return;let{pcbTabId1:pt,pcbTabId2:ot}=Ke;if(pt){let rt=(Qe=await he.getTabIFrame(pt))==null?void 0:Qe.contentWindow;rt&&C.windowBridge.publish("pcb/clearRectMasks",{tabId:pt},rt)}if(ot){let rt=(ut=await he.getTabIFrame(ot))==null?void 0:ut.contentWindow;rt&&C.windowBridge.publish("pcb/clearRectMasks",{tabId:ot},rt)}_(""),B(""),a([]),c.current=[],C.messageBus.publish("pro-ui/showComparisonResult",{pcbTabId1:pt,pcbTabId2:ot,comparisonResults:[]})})):t==Ni.Net?(Te=C.messageBus.subscribe("getAllNetsBack",Ge=>{var pt,ot,Qe,ut;if(!((pt=c.current)!=null&&pt.Net)&&!Ge.isCompleted)return;let Ke=X(Ge.Net);E.current[t]&&(d.current=ue.deepClone({Net:qQt(d.current.Net,q(E.current[t],Ke,!0)),Component:de(Ge.Component)})),c.current={Net:qQt((ot=c.current)==null?void 0:ot.Net,Ke),Component:de(Ge.Component)},a(((Qe=d.current)==null?void 0:Qe[g.current])||((ut=c.current)==null?void 0:ut[g.current]))}),Pe=C.messageBus.subscribe("updateNetColor",Ge=>{var Ke,pt,ot,Qe;if((Ke=c.current)!=null&&Ke.Net){for(let ut of[c.current.Net,(pt=d.current)==null?void 0:pt.Net])ut&&ut.forEach(rt=>{if(rt.id==mo.create(["NetTab","Nets"]))rt.children.forEach(ht=>{let ct=mo.get(ht.id),wt=Ge.nets[ct=="None"?"":ct];wt&&(ht.args.color=wt)});else if([mo.create(["NetTab","Net Classes"]),mo.create(["NetTab","Differential Pair"]),mo.create(["NetTab","Equal Length Group"])].includes(rt.id)){let ht=rt.id==mo.create(["NetTab","Net Classes"])?Ge.netClasses:rt.id==mo.create(["NetTab","Differential Pair"])?Ge.differentials:Ge.equalLengthGroups;rt.children.forEach(ct=>{let wt=mo.get(ct.id),zt=ht[wt];zt&&(ct.args.color=zt),ct.children.forEach(gt=>{let Qt=mo.get(gt.id),yt=Ge.nets[Qt];yt&&(gt.args.color=yt)})})}});g.current=="Net"&&a([...((ot=d.current)==null?void 0:ot.Net)||((Qe=c.current)==null?void 0:Qe.Net)])}}),Oe=C.messageBus.subscribe("updateNetLengthUnit",Ge=>{var Ke,pt,ot,Qe;if((Ke=c.current)!=null&&Ke.Net){for(let ut of[c.current.Net,(pt=d.current)==null?void 0:pt.Net]){if(!ut)continue;let rt={};ut.forEach(ht=>{ht.id==mo.create(["NetTab","Nets"])?ht.children.forEach(ct=>{let wt=mo.get(ct.id);ct.args.unit!=Ge&&(rt[wt]=Vh(ct.args.netLength*10,"mil",Ge),ct.args.unit=Ge,ct.title=[wt,`(${rt[wt]})`])}):[mo.create(["NetTab","Net Classes"]),mo.create(["NetTab","Equal Length Group"]),mo.create(["NetTab","Differential Pair"])].includes(ht.id)?ht.children.forEach(ct=>{ct.children.forEach(wt=>{let zt=mo.get(wt.id);wt.title=[zt,`(${rt[zt]})`]})}):mo.create(["NetTab","Pads Pair Group"])==ht.id&&ht.children.forEach(ct=>{ct.children.forEach(wt=>{let zt=mo.get(wt.id);if(wt.args.unit!=Ge){let gt=Vh(wt.args.netLength*10,"mil",Ge);wt.args.unit=Ge,wt.title=[zt,`(${gt})`]}})})})}g.current=="Net"&&a([...((ot=d.current)==null?void 0:ot.Net)||((Qe=c.current)==null?void 0:Qe.Net)])}}),Oe=C.messageBus.subscribe("updatePairPairLength",Ge=>{var Ke,pt,ot,Qe;if((Ke=c.current)!=null&&Ke.Net){for(let ut of[c.current.Net,(pt=d.current)==null?void 0:pt.Net])ut&&ut.forEach(rt=>{mo.create(["NetTab","Pads Pair Group"])==rt.id&&(rt.children.forEach(ht=>{let ct=mo.get(ht.id);Ge[ct]&&ht.children.forEach(wt=>{let zt=mo.get(wt.id);if(Ge[ct][zt]){let gt=Ge[ct][zt],Qt=Vh(gt.netLength*10,"mil",gt.unit);wt.title[1]=`(${Qt})`,wt.args.netLength=gt.netLength,wt.args.unit=gt.unit}})}),rt.children.forEach(ht=>{let ct=Z(ht);ct!=0&&ne(ht,ht,ct)}))});g.current=="Net"&&a([...((ot=d.current)==null?void 0:ot.Net)||((Qe=c.current)==null?void 0:Qe.Net)])}}),Oe=C.messageBus.subscribe("updateSortByNetLength",()=>{var Ge,Ke,pt,ot;if((Ge=c.current)!=null&&Ge.Net){for(let Qe of[c.current.Net,(Ke=d.current)==null?void 0:Ke.Net])Qe&&Qe.forEach(ut=>{[mo.create(["NetTab","Net Classes"]),mo.create(["NetTab","Equal Length Group"]),mo.create(["NetTab","Differential Pair"]),mo.create(["NetTab","Pads Pair Group"])].includes(ut.id)&&ut.children.forEach(rt=>{let ht=Z(rt);ht!=0&&ne(rt,rt,ht)})});g.current=="Net"&&a([...((pt=d.current)==null?void 0:pt.Net)||((ot=c.current)==null?void 0:ot.Net)])}}),Ue=C.messageBus.subscribe("updateNets",({addNet:Ge,deleteNet:Ke,updateNetLength:pt,unit:ot,red:Qe})=>{var ht,ct,wt,zt,gt,Qt,yt,jt,ni;if(!((ht=c.current)!=null&&ht.Net))return;let ut=new Set([...r.current.expandedKeys()]),rt=!1;if(Ge&&Ge.length>0)for(let Ii of[c.current.Net,(ct=d.current)==null?void 0:ct.Net]){if(!Ii)continue;let Mo=Ii==((wt=d.current)==null?void 0:wt.Net);Ii.forEach(_i=>{if(_i.id==mo.create(["NetTab","Nets"]))for(let So of Ge){if(_i.children.some(Dr=>Dr.title[0]==So.name))continue;Mo&&H(E.current[t],So.name)&&(_i.children.length>0&&!H(E.current[t],_i.children[0].title[0])&&(_i.children=[]),ut.has(_i.id)||(rt=!0,ut.add(_i.id)));let nr=_i.children.length;for(let Dr=0;Dr<_i.children.length;Dr++){let cr=mo.get(_i.children[Dr].id);if(cr!="None"&&ue.naturalSortComparator(ue.naturalSortSplitor(So.name),ue.naturalSortSplitor(cr))<0){nr=Dr;break}}let Do=Vh(So.netLength*10,"mil",ot),go={id:mo.create(["NetTab","Nets",So.name]),title:[So.name,`(${Do})`],args:{parentType:Ni.Nets,iconCls:Oh("ColorBox"),netLength:So.netLength,unit:ot,color:So.color,treeNodeType:Ni.Net}};_i.children.splice(nr,0,go),Mo||(_i.title=["Nets",`(${_i.children.length})`])}})}if(Ke&&Ke.length>0)for(let Ii of[c.current.Net,(zt=d.current)==null?void 0:zt.Net]){if(!Ii)continue;let Mo=Ii==((gt=d.current)==null?void 0:gt.Net);Ii.forEach(_i=>{for(let So of Ke)if(So!=""){if(_i.id==mo.create(["NetTab","Nets"])){let nr=_i.children.findIndex(Do=>mo.get(Do.id)==So);if(nr>=0&&(_i.children.splice(nr,1),Mo||(_i.title=["Nets",`(${_i.children.length})`])),Mo){let Do=_i.children.length==0;if(_i.children.length>0&&(Do=!H(E.current[t],So)),Do){ut.delete(_i.id);let go=c.current.Net.find(Dr=>Dr.id==_i.id);_i.children=ue.deepClone(go.children),rt=!0}}}if(_i.id==mo.create(["NetTab","Ratlines"])){let nr=_i.children.findIndex(Do=>mo.get(Do.id)==So);if(nr>=0&&(_i.children.splice(nr,1),Mo||(_i.title=["Ratlines",`(${_i.children.length})`])),Mo){let Do=_i.children.length==0;if(_i.children.length>0){let go=H(E.current[t],So),Zn=c.current.Net.find(Sa=>Sa.id==_i.id).children.find(Sa=>mo.get(Sa.id)==So).children.some(Sa=>{let es=mo.get(Sa.id);return H(E.current[t],es)});Do=!go&&!Zn}if(Do){ut.delete(_i.id);let go=c.current.Net.find(Dr=>Dr.id==_i.id);_i.children=ue.deepClone(go.children),rt=!0}}}if([mo.create(["NetTab","Net Classes"]),mo.create(["NetTab","Equal Length Group"])].includes(_i.id)){let nr=_i.children.filter(Do=>{let go=Do.children.findIndex(Dr=>mo.get(Dr.id)==So);if(go>=0&&Do.children.splice(go,1),Mo){let Dr=Do.children.length==0;if(Do.children.length>0&&(Dr=!H(E.current[t],So)),Dr)if(H(E.current[t],mo.get(Do.id))){ut.delete(Do.id);let Sa=c.current.Net.find(es=>es.id==_i.id).children.find(es=>es.id==Do.id);return Do.children=ue.deepClone(Sa.children),rt=!0,!0}else return!1;else return!0}});if(Mo&&nr.length==0){let Do=c.current.Net.find(go=>go.id==_i.id);_i.children=ue.deepClone(Do.children),ut.has(_i.id)&&(ut.delete(_i.id),rt=!0)}}if(_i.id==mo.create(["NetTab","Differential Pair"]))if(Mo){let nr=c.current.Net.find(go=>go.id==_i.id),Do=nr.children.filter(go=>{let Dr=_i.children.find(Zn=>Zn.id==go.id),cr=go.children.filter(Zn=>H(E.current[t],Zn.title[0]));return cr.length?(Dr.children=ue.deepClone(cr),!0):H(E.current[t],mo.get(go.id))?(Dr.children=ue.deepClone(go.children),ut.delete(go.id),rt=!0,!0):!1});Do.length!=nr.children.length&&(Do.length==0?(_i.children=ue.deepClone(nr.children),ut.delete(_i.id),rt=!0):_i.children=Do)}else{let nr=_i.children.filter(Do=>Do.children.every(go=>mo.get(go.id)!=So));nr.length!=_i.children.length&&(_i.children=nr,_i.title=["Differential Pair",`(${nr.length})`])}}})}if(pt)for(let Ii of[c.current.Net,(Qt=d.current)==null?void 0:Qt.Net])Ii&&Ii.forEach(Mo=>{let _i=mo.create(["NetTab","Nets"]);if(Mo.id==_i)for(let go=0;go<Mo.children.length;go++){let Dr=Mo.children[go],cr=mo.get(Dr.id),Zn=pt[cr];if(Zn!=null&&Dr.args.netLength!=Zn){Dr.args.netLength=Zn;let Sa=Vh(Zn*10,"mil",ot);Dr.title=`${cr} (${Sa})`}}let So=mo.create(["NetTab","Net Classes"]),nr=mo.create(["NetTab","Equal Length Group"]),Do=mo.create(["NetTab","Differential Pair"]);[So,nr,Do].includes(Mo.id)&&Mo.children.forEach(go=>{for(let Dr=0;Dr<go.children.length;Dr++){let cr=go.children[Dr],Zn=mo.get(cr.id),Sa=pt[Zn];if(Sa!=null){let es=Vh(Sa*10,"mil",ot);cr.args.netLength=Sa,cr.title=`${Zn} (${es})`}}})});if(Qe)for(let Ii of[c.current.Net,(yt=d.current)==null?void 0:yt.Net])Ii&&Ii.forEach(Mo=>{let _i=mo.create(["NetTab","Net Classes"]),So=mo.create(["NetTab","Equal Length Group"]);[_i,So].includes(Mo.id)&&Mo.children.forEach(nr=>{for(let Do=0;Do<nr.children.length;Do++){let go=nr.children[Do],Dr=mo.get(go.id);[_i,So].includes(Mo.id)&&Qe[Dr]!=null&&(go.args.red=Qe[Dr])}})});g.current=="Net"&&(a([...((jt=d.current)==null?void 0:jt.Net)||((ni=c.current)==null?void 0:ni.Net)]),rt&&A(new Set(ut)))}),ze=C.messageBus.subscribe("updateRatlineNet",Ge=>{var Ke,pt,ot,Qe;if((Ke=c.current)!=null&&Ke.Net){for(let ut of[c.current.Net,(pt=d.current)==null?void 0:pt.Net])ut&&ut.forEach(rt=>{if(rt.id==mo.create(["NetTab","Ratlines"])){let ht=[];for(let ct of rt.children){let wt=mo.get(ct.id);if(Ge[wt]!==!1)if(Ge[wt]!=null){let zt=Ge[wt],gt=Oh("");ht.push({id:mo.create([rt.id,wt]),title:wt,args:{iconCls:`icon-eda-eye ${zt.eyeState?"":"eye-hidden"}`,eyeState:zt.eyeState,treeNodeType:Ni.RatlineNet},children:zt.ratlines.map(Qt=>({id:mo.create([rt.id,wt,Qt.name]),title:Qt.name,args:{iconCls:gt,startNode:Qt.startNode,endNode:Qt.endNode,treeNodeType:Ni.Ratline}}))})}else ht.push(ct)}for(let ct in Ge){let wt=mo.create([rt.id,ct]);if(!ht.find(gt=>gt.id==wt)){let gt=ht.length-1;for(let yt=1;yt<ht.length;yt++)if(ue.naturalSortComparator(ue.naturalSortSplitor(ct),ue.naturalSortSplitor(ht[yt]))>0){gt=yt;break}let Qt=Ge[ct];if(Qt){let yt=Oh(""),jt={id:mo.create([rt.id,ct]),title:ct,args:{iconCls:`icon-eda-eye ${Qt.eyeState?"":"eye-hidden"}`,eyeState:Qt.eyeState,treeNodeType:Ni.RatlineNet},children:Qt.ratlines.map(ni=>({id:mo.create([rt.id,ct,ni.name]),title:ni.name,args:{iconCls:yt,startNode:ni.startNode,endNode:ni.endNode,treeNodeType:Ni.Ratline}}))};gt<0?ht.push(jt):ht.splice(gt,0,jt)}}}rt.children=ht,rt.title=["Ratlines",`(${rt.children.length})`],rt.args.eyeState=rt.children.length==0||rt.children.some(ct=>ct.args.eyeState)}});g.current=="Net"&&a([...((ot=d.current)==null?void 0:ot.Net)||((Qe=c.current)==null?void 0:Qe.Net)])}}),Ve=C.messageBus.subscribe("toggleSelectedRatlineNet",Ge=>{var Ke,pt,ot,Qe;if((Ke=c.current)!=null&&Ke.Net){for(let ut of[c.current.Net,(pt=d.current)==null?void 0:pt.Net])ut&&ut.forEach(rt=>{rt.id==mo.create(["NetTab","Ratlines"])&&(rt.children.forEach(ht=>{let ct=mo.get(ht.id),wt=Ge[ct];wt!=null&&(ht.args.eyeState=wt)}),rt.args.eyeState=rt.children.length==0||rt.children.some(ht=>ht.args.eyeState))});g.current=="Net"&&a([...((ot=d.current)==null?void 0:ot.Net)||((Qe=c.current)==null?void 0:Qe.Net)])}}),Ye=C.messageBus.subscribe("jumpToRatlineSubscribe",()=>{R(!0),g.current="Net"})):t==Ni.ComponentClassification?Te=C.messageBus.subscribe("getAllComponentsBack",Ge=>{var pt,ot;let Ke=fe(Ge);c.current=Ke,E.current[t]&&(d.current||(d.current={}),d.current[m.current]=q(E.current[t],Ke[m.current],!0)),a(((pt=d.current)==null?void 0:pt[m.current])||((ot=c.current)==null?void 0:ot[m.current]))}):t==Ni.Errors&&(Te=C.messageBus.subscribe("getAllErrorsBack",Ge=>{let Ke=he.getActiveTab(),pt=he.getTabById(Ke);pt.data.drcResult=Ge,(0,m4e.default)("#drcResult").data("forWhichTab",Ke),a(Ge),c.current=Ge,M.current=!0}),Be=C.messageBus.subscribe("toggleErrorNodeVisible",({errorType:Ge,errorObjType:Ke,globalIndex:pt,visibleMap:ot})=>{let Qe=mo.create(["DRCTab","Errors",Ge,Ke]),ut=r.current.getTreeNodeById(Qe);if(!ut)return;let rt=ot[pt];if(pt=="all"){ut.args.eyeState!=rt&&oe(ut);return}fEe(ut).every(wt=>!ot[wt.globalIndex])==ut.args.eyeState&&(ut.args.eyeState=rt,K(Qe),M.current=!1,a([...c.current]))}),ke=C.messageBus.subscribe("jumpToErrorSubscribe",Ge=>{if(!c.current||!c.current[0])return;let Ke,pt=[c.current[0]];for(;pt.length>0;){let ot=pt.pop();if(ot.children)pt.push(...ot.children);else if(ot.args.list&&ot.args.list.some(Qe=>Qe.globalIndex==Ge)){Ke=ot;break}}if(Ke){let ot=r.current.expandedKeys(),Qe=mo.separator,ut=Ke.id.split(Qe),rt=[];for(let Qt=2;Qt<ut.length;Qt++){let yt=ut.slice(0,Qt).join(Qe);rt.push(yt)}let ht=new Set([...ot,...rt]);A(ht),S([Ke.id]);let ct=r.current.getNodeBetween(mo.create(["DRCTab","Errors"]),Ke.id,ht);document.querySelector(`#${e} [data-tagitem="fixed-height-list-scrolling"]`).scrollTo({top:(ct.length-1)*JQt}),(0,m4e.default)("#layout_toggler_bottom").hasClass("close")&&Pn("layout_toggler_bottom",!1),It.getActiveTab(co.id).tabId!=="drcResult"&&co.handleClick("drcResult");let gt=fEe(Ke);C.messageBus.publish("getDRCTableData",{errs:gt,selectedId:Ge})}})),()=>{Te&&Te.cancel(),Oe&&Oe.cancel(),Ue&&Ue.cancel(),Pe&&Pe.cancel(),Ve&&Ve.cancel(),ze&&ze.cancel(),He&&He.cancel(),Ye&&Ye.cancel(),ke&&ke.cancel(),Be&&Be.cancel(),Xe==null||Xe.cancel()}},[]),(0,Yp.useEffect)(()=>{var Pe,Oe;let Te=((Pe=d.current)==null?void 0:Pe[g.current])||((Oe=c.current)==null?void 0:Oe[g.current]);Te&&a(Te)},[g.current]),(0,Yp.useEffect)(()=>{var Oe;if(!((Oe=c.current)!=null&&Oe.Net)&&g.current=="Net")return;let Te=d.current||c.current,Pe=mo.create(["NetTab","Ratlines"]);Te.Net.forEach(Ue=>{if(Ue.id==Pe&&Ue.children.length>0){let Ve=Ue.children[0],ze=Ve.children[0],He=r.current.expandedKeys(),Ye=new Set([...He,Pe,Ve.id]);A(Ye),S([ze.id]),F(x,!1);let ke=r.current.getNodeBetween(mo.create(["NetTab","Nets"]),ze.id,Ye),Be=document.querySelector(`#${e} [data-tagitem="fixed-height-list-scrolling"]`);Be&&Be.scrollTo({top:(ke.length-1)*22})}}),R(!1),a([...Te.Net])},[N&&((Ne=c.current)==null?void 0:Ne.Net)!=null&&g.current=="Net"]);function H(Te,Pe){return!Te||!Te.trim()?!0:(Te=Te.toLocaleLowerCase().trim(),Pe.toLowerCase().includes(Te))}function q(Te,Pe,Oe){if(!Te||!Te.trim())return D.current&&(A(D.current),D.current=null),Pe||[];Pe=ue.deepClone(Pe),Te=Te.toLocaleLowerCase().trim();let Ue=new Set,Ve=new Set;for(let Ye=0;Ye<Pe.length;Ye++)ze(Pe[Ye],[]);return D.current||(D.current=I),Oe&&A(Ue),Pe.filter(Ye=>He(Ye));function ze(Ye,ke){let Be,Xe;typeof Ye=="string"?[Be,Xe]=Ye.split("|__|"):(Be=uRo(Ye,me.i18n,!0),Xe=Ye.id);let Ge=Be.toString().toLowerCase().includes(Te);Ge&&(Ve.add(Xe),ke.forEach(Ke=>{Ke.show=!0,Ue.add(Ke.id)})),typeof Ye!="string"&&(Ye.show=Ge),Ye.children&&Ye.children.length>0&&Ye.children.forEach(Ke=>ze(Ke,[...ke,Ye]))}function He(Ye){return typeof Ye=="string"?Ve.has(Ye.split("|__|")[1]):Ye.show?(!(Ve.has(Ye.id)&&!Ue.has(Ye.id))&&Ye.children&&Ye.children.length>0&&(Ye.children=Ye.children.filter(Be=>He(Be))),!0):[Ni.ObjectRoot,Ni.Nets,Ni.RatlineNets,Ni.Ratline,Ni.NetClasses,Ni.Differentials,Ni.EqualLengthGroups,Ni.PadsPairGroups].includes(Ye.args.treeNodeType)}}return(0,Yp.useEffect)(()=>{let Te=document.getElementById(e).parentElement;return window.ResizeObserver&&Te&&(v.current=new ResizeObserver(Pe=>{P(Pe[0].contentRect.height-(t==Ni.Errors||t==Ni.PcbComparison?72:t==Ni.ObjectRoot?34:62))}),v.current.observe(Te)),()=>{v!=null&&v.current&&Te&&v.current.unobserve(Te)}},[e]),(0,Ad.jsxs)(Ad.Fragment,{children:[t!=Ni.Errors&&t!=Ni.PcbComparison&&(0,Ad.jsxs)("div",{className:gEe.default.locals.leftTreeSearch,children:[(0,Ad.jsx)("div",{className:V(`icon_wrap ${i.isHighlight?"active":""}`),children:(0,Ad.jsx)("span",{className:V(`icon icon-eda-highlight ${i.isHighlight?"active":""}`),"data-test":"Automatically Highlight Selection",title:o("Automatically Highlight Selection"),onClick:()=>{i.setHighlight(!i.isHighlight)}})}),(0,Ad.jsx)(Ws,{initShowValue:E.current[t],isImmediatelyDoConfirmAtEndinput:!0,onClearInputValue:()=>{E.current[t]="",d.current=null,a(q("",t==Ni.Net?c.current[h]:t==Ni.ComponentClassification?c.current[u]:c.current,!0))},onConfirm:Te=>{E.current[t]=Te,t==Ni.Net?(d.current||(d.current={}),d.current[h]=q(Te,c.current[h],!0),a(d.current[h])):t==Ni.ComponentClassification?(d.current||(d.current={}),d.current[u]=q(Te,c.current[u],!0),a(d.current[u])):(d.current=q(Te,c.current,!0),a(d.current))}})]}),t==Ni.Net&&(0,Ad.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,Ad.jsx)("div",{id:"netClassification",className:XE.netType,style:{display:"flex"},children:["Net","Component"].map((Te,Pe)=>(0,Ad.jsx)("span",{className:[Te,h==Te?`${XE.active} active`:""].join(" "),"data-tabid":Te,onClick:()=>{var Oe,Ue;f(Te),g.current=Te,a(((Oe=d.current)==null?void 0:Oe[Te])||((Ue=c.current)==null?void 0:Ue[Te]))},children:(0,Ad.jsx)("span",{"data-test":Te,children:o(Te)})},Pe))}),(0,Ad.jsx)("span",{className:XE.smallIcon+" icon-eda-refresh-small",onClick:()=>_l(h=="Net"?Ni.ALLNETROOT:Ni.NetComponents)})]}),t==Ni.ComponentClassification&&(0,Ad.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,Ad.jsx)("div",{className:XE.componentType,children:["Designator","Name","Device","Footprint"].map((Te,Pe)=>{var Oe;return(0,Ad.jsxs)("span",{className:[XE.componentTab,u==Te?XE.active:""].join(" "),"data-tabid":Te,onClick:()=>{var Ue,Ve;p(Te),m.current=Te,a(((Ue=d.current)==null?void 0:Ue[Te])||((Ve=c.current)==null?void 0:Ve[Te]))},children:[(0,Ad.jsx)("span",{"data-test":Te,children:o(Te)}),(0,Ad.jsxs)("span",{children:["(",((Oe=c.current)==null?void 0:Oe[Te].length)||0,")"]})]},Pe)})}),(0,Ad.jsx)("div",{className:XE.smallIcon+" icon-eda-refresh-small",onClick:()=>_l(Ni.ALLCOMPONENTROOT)})]}),(0,Ad.jsxs)("div",{className:XE.designTreeContent,style:t==Ni.Errors||t==Ni.PcbComparison?{width:"100%",height:"100%"}:t==Ni.Net||t==Ni.ComponentClassification?{height:"calc(100% - 88px)"}:{},children:[(0,Ad.jsx)("ul",{style:{left:"4px",right:0,top:0,bottom:0,zIndex:1,position:"absolute",display:s.length?"":"none"},children:(0,Ad.jsx)(ZQt,{treeWidgetItemWidth:"16px",showTagLine:!0,selectedIds:x,containerHeight:`${k}px`,itemHeight:`${JQt}px`,data:s,itemRender:pe,onClick:U,onContextMenu:ae,expandedIds:I,expandAll:(t==Ni.Errors||t==Ni.PcbComparison)&&M.current?!0:void 0,autoClickFirst:M.current,notAutoSelect:!0,isVirtualList:!0,renderTicket:b,ref:r})}),(0,Ad.jsx)("ul",{style:{left:"4px",right:0,top:0,bottom:0,zIndex:1,position:"absolute",display:s.length?"none":""},children:(0,Ad.jsx)(ZQt,{treeWidgetItemWidth:"16px",showTagLine:!0,selectedIds:x,containerHeight:`${k}px`,itemHeight:`${JQt}px`,data:n,itemRender:pe,onClick:U,onContextMenu:ae,expandedIds:I,expandAll:(t==Ni.Errors||t==Ni.PcbComparison)&&M.current?!0:void 0,autoClickFirst:M.current,notAutoSelect:!0,isVirtualList:!0,renderTicket:b,ref:r})})]})]});function U(Te,Pe,Oe,Ue){let Ve;if(Ue!=null&&Ue.shiftKey)w.current==Pe.id?Ve=[Pe.id]:Ve=r.current.getNodeBetween(w.current,Pe.id);else if(w.current=Pe.id,!(Ue!=null&&Ue.ctrlKey))Ve=[Pe.id];else{let ze=x.indexOf(Pe.id);ze>-1?Ve=[].concat(x.slice(0,ze),x.slice(ze+1)):Ve=[...x,Pe.id]}F(Ve,(Ue==null?void 0:Ue.detail)>1,u),S(Ve)}function F(Te,Pe,Oe){let Ue=Xi(),Ve=[],ze=[],He=[],Ye=[],ke=[],Be=[],Xe=[],Ge=[],Ke=[],pt=[];Te.forEach(ot=>{let Qe=r.current.getTreeNodeById(ot);if(!Qe)return;let ut=mo.get(ot);switch(Qe.args.treeNodeType){case Ni.RatlineNet:{Qe.args.eyeState&&He.push(ut);break}case Ni.Net:{ze.push(ut=="None"?"":ut);break}case Ni.EqualLengthGroup:{ke.push(ut);break}case Ni.NetClass:{Ye.push(ut);break}case Ni.Differential:{Be.push(ut);break}case Ni.Ratline:{Ve.push(Qe.args.startNode,Qe.args.endNode,{start:Qe.args.startNode,end:Qe.args.endNode,net:Qe.id.split(mo.separator).at(-2)});break}case Ni.Group:case Ni.Object:{Ve.push(ut);break}case Ni.Copper:{Ve.push({id:ut,visible:Qe.args.eyeState});break}case Ni.TrackNet:{Xe.push(ut==="None"?"":ut);break}case Ni.TestPadNet:{Ve.push(...Qe.children.map(rt=>mo.get(rt)));break}case Ni.ComponentClassification:{Ge.push(ut);break}case Ni.Errors:case Ni.ErrorType:case Ni.ErrorObjType:{let rt=fEe(Qe);K(Qe.id),C.messageBus.publish("getDRCTableData",{errs:rt});break}case Ni.PadsPairGroup:{pt.push(ut);break}case Ni.PadsPair:{Ke.push(ut);break}case Ni.PcbComparison:{let ht=function(ct){var zt,gt;if(!ct)return;let wt=(zt=ct.args)==null?void 0:zt.list;wt&&Array.isArray(wt)&&wt.forEach(Qt=>{rt.push(Qt)}),(gt=ct.children)==null||gt.forEach(Qt=>{ht(Qt)})},rt=[];ht(Qe),C.messageBus.publish("pro-ui/showComparisonResult",{pcbTabId1:O,pcbTabId2:j,comparisonResults:rt});break}case Ni.LayerPair:{for(let rt of Qe.children){let ht=ye(rt);Ve.push(...ht)}break}case Ni.Radiuse:{let rt=ye(Qe);Ve.push(...rt);break}}}),Ve.length>0&&C.windowBridge.publish("highlightItems",{globalIndexArr:Ve,needAdaptAll:Pe,isHighlight:i.isHighlight},Ue.contentWindow),ze.length>0&&C.windowBridge.publish("highlightNet",{nets:ze,needAdaptAll:Pe,isHighlight:i.isHighlight},Ue.contentWindow),He.length>0&&C.windowBridge.publish("highlightRatlineNet",{ratlineNets:He,needAdaptAll:Pe,isHighlight:i.isHighlight},Ue.contentWindow),Ye.length>0&&C.windowBridge.publish("highlightNetClass",{netClasses:Ye,needAdaptAll:Pe,isHighlight:i.isHighlight},Ue.contentWindow),ke.length>0&&C.windowBridge.publish("highlightEqualLengthGroup",{equalLengthGroups:ke,needAdaptAll:Pe,isHighlight:i.isHighlight},Ue.contentWindow),Be.length>0&&C.windowBridge.publish("highlightDifferentails",{netDifferentails:Be,needAdaptAll:Pe,isHighlight:i.isHighlight},Ue.contentWindow),Xe.length>0&&C.windowBridge.publish("highlightTrackInNets",{trackInNets:Xe,needAdaptAll:Pe,isHighlight:i.isHighlight},Ue.contentWindow),Ge.length>0&&C.windowBridge.publish("highlightComponentInClassification",{type:Oe,componentClassifications:Ge,needAdaptAll:Pe,isHighlight:i.isHighlight},Ue.contentWindow),Ke.length>0&&C.windowBridge.publish("highlightPadsPairNets",{padsPairNames:Ke,needAdaptAll:Pe,isHighlight:i.isHighlight},Ue.contentWindow),pt.length>0&&C.windowBridge.publish("highlightGroupPadsPairNets",{padsPairGroupName:pt,needAdaptAll:Pe,isHighlight:i.isHighlight},Ue.contentWindow)}function K(Te){let Pe=Te.split("|_|").slice(0,-1).join("|_|"),Oe=r.current.getTreeNodeById(Pe);if(!Oe)return;let Ue=Oe.children.every(Ve=>!Ve.args.eyeState);if(Oe.args.eyeState===Ue&&(Oe.args.eyeState=!Ue,K(Pe),Oe.id===Lsn&&Ue)){let Ve=Xi();C.windowBridge.publish("toggleAllDRCError",{visible:!1},Ve.contentWindow)}}function te(Te){return Te.filter(Pe=>{if(Pe.args.treeNodeType==Ni.Net){if(Pe.args.parentType!=Ni.Nets)return!1;let Oe=n[1].children||[];for(let Ue of Oe)for(let Ve of Ue.children)if(mo.get(Ve.id)==mo.get(Pe.id))return!1;return!0}return!1})}function ae(Te,Pe,Oe,Ue,Ve){if(ln.isViewerMode)return;Ve.stopPropagation(),Ve.preventDefault();let ze;Te.includes(Pe.id)?ze=x.map(ke=>r.current.getTreeNodeById(ke)):(U(Te,Pe,Ue,Ve),ze=[r.current.getTreeNodeById(Pe.id)]);let He={menuId:"design-tree-context-menu",defaultConfig:[{id:"new-net-class",title:"New Net Class",hotkeyCmd:"new-net-class",isHide:()=>te(ze).length==0&&ze.every(ke=>![Ni.NetClasses,Ni.NetClass].includes(ke.args.treeNodeType)),callback:()=>{let ke=te(ze).map(Xe=>mo.get(Xe.id)),Be=Xi();C.windowBridge.publish("showEditNetClassDlg",{type:"new-net-class",nets:ke},Be.contentWindow)},disable:je},{id:"edit-net-class",title:"Edit",hotkeyCmd:"edit-net-class",isHide:()=>Ni.NetClass!==Pe.args.treeNodeType,callback:()=>{if(Pe.args.treeNodeType==Ni.NetClass&&ze.length==1){let ke=Xi();C.windowBridge.publish("showEditNetClassDlg",{type:"edit-net-class",selectedNets:Pe.children.map(Be=>mo.get(Be.id)),netClassName:mo.get(Pe.id)},ke.contentWindow)}},disable:je},{id:"delete-net-class",title:"Delete",hotkeyCmd:"delete-net-class",isHide:()=>ze.some(ke=>Ni.NetClass!==ke.args.treeNodeType),callback:()=>Ut({type:"confirm",message:"Sure to delete net class?",onConfirm:()=>{let ke=Xi();C.windowBridge.publish("deleteNetClass",{type:"delete-net-class",names:ze.map(Be=>mo.get(Be.id))},ke.contentWindow)}}),disable:je},{id:"remove-from-net-class",title:"Remove From Net Class",hotkeyCmd:"remove-from-net-class",isHide:()=>ze.some(ke=>Ni.Net!==ke.args.treeNodeType||ke.args.parentType!=Ni.NetClass),callback:()=>Ut({type:"confirm",message:"Sure to remove this net from its net class?",onConfirm:()=>{let ke=Xi();C.windowBridge.publish("removeNetFromNetClass",{type:"remove-from-net-class",arr:ze.map(Be=>{let Ge=Be.id.split("|_|").slice(0,-1).join("|_|");return{netClassName:mo.get(Ge),netName:mo.get(Be.id)}})},ke.contentWindow)}}),disable:je},{id:"new-differentials",title:"New Differential Pair",hotkeyCmd:"new-differentials",isHide:()=>![Ni.Differentials,Ni.Differential].includes(Pe.args.treeNodeType),callback:async()=>{let ke=await ei(),Be=(await C.windowBridge.rpcCall("getDifferentailOptions","",ke.contentWindow)).message,Xe=(await C.windowBridge.rpcCall("getDifferentailTitle","",ke.contentWindow)).message,Ge=(await C.windowBridge.rpcCall("getDifferentailPairList","",ke.contentWindow)).message;VP({differentailPairName:Xe,differentailPairPositiveNet:"",differentailPairNegativeNet:"",differentailPairList:Ge,netOptions:Be})},disable:je},{id:"edit-differentials",title:"Edit",hotkeyCmd:"edit-differentials",isHide:()=>Ni.Differential!==Pe.args.treeNodeType,callback:async()=>{let ke=await ei(),Be=(await C.windowBridge.rpcCall("getDifferentailOptions","",ke.contentWindow)).message,Xe=(await C.windowBridge.rpcCall("getDifferentailPairList","",ke.contentWindow)).message,Ge=mo.get(Pe.id),Ke=mo.get(Pe.children.find(ot=>ot.args.isPositiveNet).id),pt=mo.get(Pe.children.find(ot=>!ot.args.isPositiveNet).id);VP({differentailPairName:Ge,differentailPairPositiveNet:Ke,differentailPairNegativeNet:pt,differentailPairList:Xe,netOptions:Be,isEdit:!0})},disable:je},{id:"delete-differentials",title:"Delete",hotkeyCmd:"delete-differentials",isHide:()=>ze.some(ke=>Ni.Differential!==ke.args.treeNodeType),callback:()=>Ut({type:"confirm",message:"Sure to delete differential-pair?",onConfirm:async()=>{let ke=await ei(),Be=ze.map(Xe=>mo.get(Xe.id));C.windowBridge.rpcCall("deleteDifferentail",Be,ke.contentWindow)}}),disable:je},{id:"new-equal-length-group",title:"New Equal Length Group",hotkeyCmd:"new-equal-length-group",isHide:()=>![Ni.EqualLengthGroups,Ni.EqualLengthGroup].includes(Pe.args.treeNodeType),callback:()=>{let ke=Xi();C.windowBridge.publish("showEditNetClassDlg",{type:"new-equal-length-group"},ke.contentWindow)},disable:je},{id:"edit-equal-length-group",title:"Edit",hotkeyCmd:"edit-equal-length-group",isHide:()=>Ni.EqualLengthGroup!==Pe.args.treeNodeType,callback:()=>{if(Pe.args.treeNodeType==Ni.EqualLengthGroup&&ze.length==1){let ke=Xi();C.windowBridge.publish("showEditNetClassDlg",{type:"edit-equal-length-group",selectedNets:Pe.children.map(Be=>mo.get(Be.id)),netClassName:mo.get(Pe.id)},ke.contentWindow)}},disable:je},{id:"delete-equal-length-group",title:"Delete",hotkeyCmd:"delete-equal-length-group",isHide:()=>ze.some(ke=>Ni.EqualLengthGroup!==ke.args.treeNodeType),callback:()=>Ut({type:"confirm",message:"Sure to delete equal length group?",onConfirm:()=>{let ke=Xi();C.windowBridge.publish("deleteNetClass",{type:"delete-equal-length-group",names:ze.map(Be=>mo.get(Be.id))},ke.contentWindow)}}),disable:je},{id:"remove-from-equal-length-group",title:"Remove From Equal Length Group",hotkeyCmd:"remove-from-equal-length-group",isHide:()=>ze.some(ke=>Ni.Net!==ke.args.treeNodeType||ke.args.parentType!=Ni.EqualLengthGroup),callback:()=>Ut({type:"confirm",message:"Sure to remove this net from its equal length group?",onConfirm:()=>{let ke=Xi();C.windowBridge.publish("removeNetFromNetClass",{type:"remove-from-equal-length-group",arr:ze.map(Be=>{let Ge=Be.id.split("|_|").slice(0,-1).join("|_|");return{netClassName:mo.get(Ge),netName:mo.get(Be.id)}})},ke.contentWindow)}}),disable:je},{id:"new-padspair-group",title:"New pad pair group",hotkeyCmd:"new-padspair-group",isHide:()=>![Ni.PadsPairGroups,Ni.PadsPairGroup].includes(Pe.args.treeNodeType),callback:()=>{let ke=Xi();C.windowBridge.publish("EditPadsPairGroupDialog",{isSettingAdding:!0},ke.contentWindow)},disable:je},{id:"edit-padspair-group",title:"Edit",hotkeyCmd:"edit-padspair-group",isHide:()=>Ni.PadsPairGroup!==Pe.args.treeNodeType,callback:()=>{if(Pe.args.treeNodeType==Ni.PadsPairGroup&&ze.length==1){let ke=Xi();C.windowBridge.publish("EditPadsPairGroupDialog",{isSettingEditing:!0,selectedGroupName:mo.get(Pe.id)},ke.contentWindow)}},disable:je},{id:"delete-padspair-group",title:"Delete",hotkeyCmd:"delete-padspair-group",isHide:()=>ze.some(ke=>Ni.PadsPairGroup!==ke.args.treeNodeType),callback:()=>Ut({type:"confirm",message:"Sure to delete pads pair group?",onConfirm:()=>{let ke=Xi();C.windowBridge.publish("DeletePadsPairGroup",{gropNames:ze.map(Be=>mo.get(Be.id))},ke.contentWindow)}}),disable:je},{id:"remove-from-padspair-group",title:"Remove from Pad Pair Group",hotkeyCmd:"remove-from-padspair-group",isHide:()=>ze.some(ke=>Ni.PadsPair!==ke.args.treeNodeType),callback:()=>Ut({type:"confirm",message:"Sure to delete pads pair?",onConfirm:()=>{let ke=Xi();C.windowBridge.publish("RemovePadsPairFromGroup",{itemNames:ze.map(Be=>{let Ge=Be.id.split("|_|").slice(0,-1).join("|_|");return{netClassName:mo.get(Ge),netName:mo.get(Be.id)}})},ke.contentWindow)}}),disable:je},{id:"expand_lower",title:"Expand All",hotkeyCmd:"expand_lower",isHide:()=>{var ke;return!((ke=Pe.children)!=null&&ke.length)},callback:ke=>{var Ge,Ke;M.current=!1;let Be=[Pe],Xe=new Array;for(;Be.length>0;){let pt=Be.pop();(Ge=pt.children)!=null&&Ge.length&&(Xe.push(pt.id),(Ke=pt.children)==null||Ke.forEach(ot=>Be.push(ot)))}A(new Set([...I,...Xe]))}},{id:"collapse_lower",title:"Collapse All",hotkeyCmd:"collapse_lower",isHide:()=>{var ke;return!((ke=Pe.children)!=null&&ke.length)},callback:ke=>{var Ge,Ke;M.current=!1;let Be=[Oe],Xe=new Array;for(;Be.length>0;){let pt=Be.pop();(Ge=pt.children)!=null&&Ge.length&&(Xe.push(pt.id),(Ke=pt.children)==null||Ke.forEach(ot=>Be.push(ot)))}Xe.forEach(pt=>I.delete(pt)),A(new Set([...I]))}}]};!He.defaultConfig.every(ke=>ke.isHide())&&!ln.isViewerMode&&pl.open({menuConfig:He,position:{x:Ve.pageX-5,y:Ve.pageY-5}})}function pe(Te,Pe){let Oe=[Ni.ObjectRoot,Ni.Nets,Ni.RatlineNets,Ni.NetClasses,Ni.Differentials,Ni.EqualLengthGroups,Ni.PadsPairGroups].includes(Te.args.treeNodeType),Ue=[Ni.NetClasses,Ni.Differentials,Ni.EqualLengthGroups,Ni.PadsPairGroups].includes(Te.args.treeNodeType),Ve=[Ni.NetClass,Ni.EqualLengthGroup,Ni.Differential,Ni.PadsPairGroup].includes(Te.args.treeNodeType);return(0,Ad.jsxs)(Ad.Fragment,{children:[(0,Ad.jsx)("span",{className:[XE.treeIcon,Te.args.iconCls.replace("eye-hidden",""),Te.args.eyeState===!1?"eye-hidden":""].join(" "),style:Te.args.iconCls==Oh("ColorBox")?{background:Te.args.color||"black",border:"1px solid var(--common-border-color)"}:null,onClick:ze=>oe(Te,ze)}),(0,Ad.jsx)("span",{className:XE.treeTitle,style:{color:Te.args.red?"red":null},children:uRo(Te,o)}),Oe&&(0,Ad.jsx)("span",{className:`${XE.smallIcon} ${Te.loading?"icon-eda-loading rotation":"icon-eda-refresh-small"}`,onClick:()=>_l(Te.args.treeNodeType,{nodeName:Te.args.type})}),Ve&&(0,Ad.jsx)("span",{className:XE.smallIcon+" "+ee(Z(Te)),onClick:()=>ce(Te,Pe)}),Ue&&(0,Ad.jsx)("span",{className:`icon-eda-add-circle ${je()&&XE.add_btn_disabled}`,style:{right:"15px",position:"absolute",fontSize:"15px",width:"16px",height:"16px",backgroundSize:"100% 100%"},onClick:()=>Psn(Te.args.treeNodeType)})]})}function Z(Te){if(![Ni.NetClass,Ni.EqualLengthGroup,Ni.Differential,Ni.PadsPairGroup].includes(Te.args.treeNodeType))return null;let Pe=T.current[`${Te.args.treeNodeType}-${mo.get(Te.id)}`];return Pe!=null?Pe:2}function ee(Te){switch(Te){case 0:return"icon-eda-sort-bi-side";case 1:return"icon-eda-sort-up-side";case 2:return"icon-eda-sort-down-side"}return""}function ce(Te,Pe){let Oe=[2,1,0],Ue=Oe[(Oe.indexOf(Z(Te))+1)%Oe.length];T.current[`${Te.args.treeNodeType}-${mo.get(Te.id)}`]=Ue,ne(Te,Pe,Ue)}function ne(Te,Pe,Oe){if(Oe==0)Te.children.sort((Ue,Ve)=>{let ze=mo.get(Ue.id),He=mo.get(Ve.id);return ue.naturalSortComparator(ue.naturalSortSplitor(ze),ue.naturalSortSplitor(He))}),Pe.children.sort((Ue,Ve)=>{let ze=mo.get(Ue.id),He=mo.get(Ve.id);return ue.naturalSortComparator(ue.naturalSortSplitor(ze),ue.naturalSortSplitor(He))});else{let Ue=Oe==2?-1:1;Te.children.sort((Ve,ze)=>(Ve.args.netLength-ze.args.netLength)*Ue),Pe.children.sort((Ve,ze)=>(Ve.args.netLength-ze.args.netLength)*Ue)}y(b+1)}async function oe(Te,Pe){let Oe=Xi();if(Te.args.iconCls==Oh("ColorBox")){Pe==null||Pe.stopPropagation();let Ue=mo.get(Te.id),Ve;Te.args.treeNodeType==Ni.Net?Ve=[Ue=="None"?"":Ue]:Ve=Te.children.map(Xe=>mo.get(Xe.id));let ze=document.querySelector(`[data-itemid="${lAo(Te.id)}"] > .${Oh("ColorBox")}`),{top:He,bottom:Ye,left:ke,right:Be}=ze.getBoundingClientRect();C.messageBus.publish("showColorPicker",{nets:Ve,color:Te.args.color,targetItemBoundingRect:{top:He,bottom:Ye,left:ke,right:Be}})}else if(Te.args.iconCls.includes("icon-eda-eye"))switch(Pe==null||Pe.stopPropagation(),Te.args.treeNodeType){case Ni.CopperLayer:{Te.args.eyeState=!Te.args.eyeState,Te.children.forEach(Ue=>Ue.args.eyeState=Te.args.eyeState),C.windowBridge.publish("toggleCopper",{ids:[mo.get(Te.id)],isLayer:!0,visible:Te.args.eyeState},Oe.contentWindow),C.windowBridge.publish("updateCopperStateByLeft",{},Oe.contentWindow),y(b+1);break}case Ni.Copper:{Te.args.eyeState=!Te.args.eyeState,C.windowBridge.publish("toggleCopper",{ids:[mo.get(Te.id)],isLayer:!1,visible:Te.args.eyeState},Oe.contentWindow),C.windowBridge.publish("updateCopperStateByLeft",{},Oe.contentWindow),y(b+1);break}case Ni.RatlineNets:{Te.args.eyeState=!Te.args.eyeState,Te.children.forEach(Ue=>Ue.args.eyeState=Te.args.eyeState),C.windowBridge.publish("toggleRatlineNet",{netName:"",visible:Te.args.eyeState},Oe.contentWindow);break}case Ni.RatlineNet:{Te.args.eyeState=!Te.args.eyeState,C.windowBridge.publish("toggleRatlineNet",{netName:mo.get(Te.id),visible:Te.args.eyeState},Oe.contentWindow);break}case Ni.Errors:case Ni.ErrorObjType:case Ni.ErrorType:{let Ue=!Te.args.eyeState;fEe(Te,Ue).forEach(Ve=>Ve.visible=Ue),C.windowBridge.publish("toggleDRCError",{item:Te,visible:Ue},Oe.contentWindow),S([Te.id]),F([Te.id.toString()],!1),y(b+1);break}case Ni.PcbComparison:{let Ue=!Te.args.eyeState,Ve=[];re(Te,Ve,Ue);let ze=[],He=[];Ve.forEach(ke=>{if(!ke.hidden==Ue)return;ke.hidden=!Ue;let{object1:Be,object2:Xe}=ke;Be&&O&&ze.push(Be.id),Xe&&j&&He.push(Xe.id)}),Te.args.eyeState=Ue,K(Te.id),S([Te.id]),F([Te.id.toString()],!1),y(b+1);let Ye=Ue?0:1;ze.length>0&&Y(O,ze,Ye),He.length>0&&Y(j,He,Ye);break}}}function re(Te,Pe,Oe){if(Te)return Te.args.eyeState=Oe,(Te.args.list||[]).forEach(Ue=>{Pe.push(Ue)}),Te.children&&Te.children.forEach(Ue=>{re(Ue,Pe,Oe)}),Pe}async function Y(Te,Pe,Oe){C.windowBridge.publish("pcb/updateMaskState",{tabId:Te,ids:Pe,state:Oe},(await he.getTabIFrame(Te)).contentWindow)}function X(Te){let Pe=[];if(Te[Ni.Nets]){let Oe=Object.values(Te[Ni.Nets]).sort((Ve,ze)=>Ve.name==""?-1:ze.name==""?1:ue.naturalSortComparator(ue.naturalSortSplitor(Ve.name),ue.naturalSortSplitor(ze.name))),Ue={id:mo.create(["NetTab","Nets"]),title:["Nets",`(${Oe.length})`],args:{iconCls:Oh("Track","orange"),treeNodeType:Ni.Nets},children:Oe.map(Ve=>{let ze=Ve.name?Ve.name:"None",He=Vh(Ve.netLength*10,"mil",Ve.unit);return{id:mo.create(["NetTab","Nets",ze]),title:[ze,`(${He})`],args:{parentType:Ni.Nets,iconCls:Oh("ColorBox"),netLength:Ve.netLength,unit:Ve.unit,color:Ve.color,treeNodeType:Ni.Net}}})};Pe.push(Ue)}if(Te[Ni.NetClasses]){let Oe=XQt(Te[Ni.NetClasses],Te[Ni.Nets]),Ue={id:mo.create(["NetTab","Net Classes"]),title:["Net Classes",`(${Oe.length})`],args:{iconCls:Oh("NetClass","orange"),treeNodeType:Ni.NetClasses},children:Oe.map(Ve=>({id:mo.create(["NetTab","Net Classes",Ve.name]),title:[Ve.name,`(${Ve.sub.length})`],args:{iconCls:Oh("ColorBox"),color:Ve.color,treeNodeType:Ni.NetClass},children:Ve.sub.map(ze=>{let He=Vh(ze.netLength*10,"mil",ze.unit);return{id:mo.create(["NetTab","Net Classes",Ve.name,ze.name]),title:[ze.name,`(${He})`],args:{parentType:Ni.NetClass,iconCls:Oh("ColorBox"),netLength:ze.netLength,unit:ze.unit,color:ze.color,treeNodeType:Ni.Net,red:ze.red}}}).sort((ze,He)=>He.args.netLength-ze.args.netLength)}))};Pe.push(Ue)}if(Te[Ni.RatlineNets]){let Oe=Te[Ni.RatlineNets],Ue={id:mo.create(["NetTab","Ratlines"]),title:["Ratlines",`(${Oe.length})`],args:{iconCls:"icon-eda-eye icon-color-orange",eyeState:Oe.length==0||Oe.some(Ve=>Ve.eyeState),treeNodeType:Ni.RatlineNets},children:Oe.map(Ve=>({id:mo.create(["NetTab","Ratlines",Ve.netName]),title:Ve.netName,args:{iconCls:`icon-eda-eye ${Ve.eyeState?"":"eye-hidden"}`,eyeState:Ve.eyeState,treeNodeType:Ni.RatlineNet},children:Ve.ratlines.map(ze=>({id:mo.create(["NetTab","Ratlines",Ve.netName,ze.name]),title:ze.name,args:{iconCls:Oh(""),startNode:ze.startNode,endNode:ze.endNode,treeNodeType:Ni.Ratline}}))}))};Pe.push(Ue)}if(Te[Ni.Differentials]){let Oe=XQt(Te[Ni.Differentials],Te[Ni.Nets]),Ue={id:mo.create(["NetTab","Differential Pair"]),title:["Differential Pair",`(${Oe.length})`],args:{iconCls:Oh("Differential","orange"),treeNodeType:Ni.Differentials},children:Oe.map(Ve=>({id:mo.create(["NetTab","Differential Pair",Ve.name]),title:Ve.name,args:{iconCls:Oh("Differential"),color:Ve.color,treeNodeType:Ni.Differential},children:Ve.sub.map((ze,He)=>{let Ye=Vh(ze.netLength*10,"mil",ze.unit);return{id:mo.create(["NetTab","Differential Pair",Ve.name,ze.name]),title:[ze.name,`(${Ye})`],args:{parentType:Ni.Differential,iconCls:Oh("ColorBox"),netLength:ze.netLength,unit:ze.unit,color:ze.color,treeNodeType:Ni.Net,isPositiveNet:He==0}}}).sort((ze,He)=>He.args.netLength-ze.args.netLength)}))};Pe.push(Ue)}if(Te[Ni.EqualLengthGroups]){let Oe=XQt(Te[Ni.EqualLengthGroups],Te[Ni.Nets]),Ue={id:mo.create(["NetTab","Equal Length Group"]),title:["Equal Length Group",`(${Oe.length})`],args:{iconCls:Oh("EqualLengthGroup","orange"),treeNodeType:Ni.EqualLengthGroups},children:Oe.map(Ve=>({id:mo.create(["NetTab","Equal Length Group",Ve.name]),title:[Ve.name,`(${Ve.sub.length})`],args:{iconCls:Oh("ColorBox"),color:Ve.color,treeNodeType:Ni.EqualLengthGroup},children:Ve.sub.map(ze=>{let He=Vh(ze.netLength*10,"mil",ze.unit);return{id:mo.create(["NetTab","Equal Length Group",Ve.name,ze.name]),title:`${ze.name} (${He})`,args:{parentType:Ni.EqualLengthGroup,iconCls:Oh("ColorBox"),netLength:ze.netLength,unit:ze.unit,color:ze.color,treeNodeType:Ni.Net,red:ze.red}}}).sort((ze,He)=>He.args.netLength-ze.args.netLength)}))};Pe.push(Ue)}if(Te[Ni.PadsPairGroups]){let Oe=Te[Ni.PadsPairGroups],Ue={id:mo.create(["NetTab","Pads Pair Group"]),title:["Pads Pair Group",`(${Oe.length})`],args:{iconCls:Oh("EqualLengthGroup","orange"),treeNodeType:Ni.PadsPairGroups},children:Oe.map(Ve=>({id:mo.create(["NetTab","Pads Pair Group",Ve.name]),title:[Ve.name,`(${Ve.sub.length})`],args:{iconCls:Oh("Pad"),color:Ve.color,treeNodeType:Ni.PadsPairGroup},children:Ve.sub.map(ze=>{let He=Vh(ze.netLength*10,"mil",ze.unit),Ye=ze.name.split("-"),ke=ze.padsPairId[Ye[0]],Be=ze.padsPairId[Ye[1]],Xe=`${ke}-${Be}`;return{id:mo.create(["NetTab","Pads Pair Group",Ve.name,ze.name]),title:[Xe,`(${He})`],args:{iconCls:Oh("Pad"),netLength:ze.netLength,unit:ze.unit,treeNodeType:Ni.PadsPair}}})}))};Pe.push(Ue)}return Pe}function ie(Te){let Pe=[];if(!Te)return Pe;let Oe={iconCls:"icon-eda-eye",eyeState:!0,treeNodeType:Ni.PcbComparison},Ue={};for(let Ye in Te){let ke=Te[Ye];for(let Be in ke){if(Be=="same")continue;ke[Be].forEach(Ge=>{let{object1:Ke,object2:pt}=Ge,ot=(pt==null?void 0:pt.layerName)||(Ke==null?void 0:Ke.layerName);if(!ot){console.warn("error data:",Ge);return}Ue[ot]||(Ue[ot]={}),Ue[ot][Be]||(Ue[ot][Be]=[]),Ue[ot][Be].push(Ge)})}}let Ve=[],ze=0;for(let Ye in Ue){let ke=Ue[Ye],Be=0,Xe=[];for(let Ge in ke){let Ke=ke[Ge];Xe.push({id:mo.create(["pcb-comparison","diff",Ye,Ge]),title:[He(Ge),`(${Ke.length})`],args:Object.assign({},Oe,{list:Ke})}),Be+=Ke.length}Ve.push({id:mo.create(["pcb-comparison","diff",Ye]),title:[Ye,`(${Be})`],args:Object.assign({},Oe),children:Xe}),ze+=Be}return Pe.push({id:mo.create(["pcb-comparison","diff"]),title:["All",`(${ze})`],args:Object.assign({},Oe),children:Ve}),Pe;function He(Ye){let ke="",Be="pcb-comparison";switch(Ye){case"same":ke="Same";break;case"less":ke="More";break;case"more":ke="Less";break;case"modify":ke="Modify";break}return o({value:ke,context:Be})}}function de(Te){return Te.map(Oe=>({id:mo.create(["Net Component",Oe.globalIndex]),title:Oe.name,args:{iconCls:Oh("Component","orange"),treeNodeType:Ni.Object},children:Oe.children.map(Ue=>({id:mo.create(["Net Component",Oe.globalIndex,Ue.globalIndex]),title:Ue.name,args:{iconCls:Oh("Pad"),treeNodeType:Ni.Object}}))}))}function fe(Te){let Pe={};for(let Oe in Te)Pe[Oe]=Te[Oe].map(Ue=>({id:mo.create([Oe,Ue.name]),title:[Ue.name,`(${Ue.amount})`],args:{iconCls:Oh("Component","orange"),treeNodeType:Ni.ComponentClassification},children:Ue.children.map(Ve=>({id:mo.create([Oe,Ue.name,Ve.globalIndex]),title:Ve.name,args:{iconCls:Oh("Component"),treeNodeType:Ni.Object}}))}));return Pe}function ye(Te){let Pe=[];for(let Oe of Te.children){let Ue=mo.get(Oe);Pe.push(Ue)}return Pe}}function qQt(t,e){if(!t||!t.length)return e;let i=[];for(let o of t){let r=!1;for(let n of e)if(mo.get(n.id)==mo.get(o.id)){i.push(n),r=!0;break}r||i.push(o)}return i}var ksn={Component:"icon-eda-symbol",Group:"icon-eda-group","Copper Region":"icon-eda-region-copper",Track:"icon-eda-wire","Board Outline":"icon-eda-board-outline","Slot Region":"icon-eda-region-slot","Fill Region":"icon-eda-region-fill","Prohibited Region":"icon-eda-region-prohibited","Constraint Region":"icon-eda-region-constraint",Line:"icon-eda-line",Text:"icon-eda-text","3D Shell - Outline":"icon-eda-3dshell-outline","3D Shell - Screw Pillar":"icon-eda-3dshell-screw-pillar","3D Shell - Side Datum Line":"icon-eda-3dshell-datum-line","3D Shell - Side Slot Region":"icon-eda-3dshell-side-region-slot","3D Shell - Top/Bottom Slot Region":"icon-eda-3dshell-top-region-slot","3D Shell - Side Entity":"icon-eda-3dshell-side-entity","3D Shell - Top/Bottom Entity":"icon-eda-3dshell-top-entity",Image:"icon-eda-image","Colorful Image":"icon-eda-image",Dimension:"icon-eda-dimension",Pad:"icon-eda-pad","Test Point":"icon-eda-point-test","FPC Stiffener":"icon-eda-fpc-stiffener",Via:"icon-eda-via",NetClass:"icon-eda-class-track",Differential:"icon-eda-routing-differential",EqualLengthGroup:"icon-eda-routing-tuning",Designator:"icon-eda-symbol",Device:"icon-eda-device",Footprint:"icon-eda-footprint",Teardrop:"icon-eda-teardrop",ColorBox:"tree-node-color-box"};function Oh(t,e){let i={orange:"icon-color-orange",primaryBlue:"icon-color-primaryblue"};return`${ksn[t]||"icon-eda-file"} ${i[e]||""}`}function fEe(t,e){if(t.args.treeNodeType===Ni.ErrorObjType)return e!=null&&(t.args.eyeState=e),t.args.list||[];let i=[];return e!=null&&(t.args.eyeState=e),t.children.forEach(o=>{i=[].concat(fEe(o,e),i)}),i}function XQt(t,e){return t.map(i=>{let o=_e.HEX_BLACK_COLOR,r=i.sub.filter(n=>e[n]!=null);if(r.length>0){let n=r[0];r.every(s=>e[n].color==e[s].color)&&(o=e[n].color)}return{color:o,name:i.name,sub:r.map(n=>({name:n,netLength:e[n].netLength,unit:e[n].unit,color:e[n].color,red:!!i.targetNet&&Math.abs(e[n].netLength-e[i.targetNet].netLength)>i.netLengthTolerance}))}})}function Psn(t){let e=Xi();switch(t){case Ni.NetClasses:C.windowBridge.publish("showEditNetClassDlg",{type:"new-net-class"},e.contentWindow);break;case Ni.Differentials:Rsn().then(i=>{let{options:o,newDifferentailTitle:r,differentailPairList:n}=i;VP({differentailPairName:r,differentailPairPositiveNet:"",differentailPairNegativeNet:"",differentailPairList:n,netOptions:o})});break;case Ni.EqualLengthGroups:C.windowBridge.publish("showEditNetClassDlg",{type:"new-equal-length-group"},e.contentWindow);break;case Ni.PadsPairGroups:C.windowBridge.publish("EditPadsPairGroupDialog",{isSettingAdding:!0},e.contentWindow);break}}function Osn(t){let e=!1;if([Ni.ObjectRoot,Ni.Nets,Ni.RatlineNets,Ni.Ratline,Ni.NetClasses,Ni.Differentials,Ni.EqualLengthGroups,Ni.PadsPairGroups,Ni.Errors,Ni.ErrorType,Ni.ErrorObjType,Ni.PcbComparison].includes(t.args.treeNodeType))e=!0;else if([Ni.CopperLayer].includes(t.args.treeNodeType)){let i=+mo.get(t.id);(!(i>=15&&i<=32)||/inner\d+/i.test(t.title))&&(e=!0)}return e}function uRo(t,e,i=!1){let o=Osn(t);if(i){let r=t.title instanceof Array?t.title[0]:t.title;return o?e(r):r}return t.title instanceof Array?t.title.map(r=>o?e(r):r).join(" "):o?e(t.title):t.title}async function Rsn(){let t=await ei(),e=(await C.windowBridge.rpcCall("getDifferentailOptions","",t.contentWindow)).message,i=(await C.windowBridge.rpcCall("getDifferentailTitle","",t.contentWindow)).message,o=(await C.windowBridge.rpcCall("getDifferentailPairList","",t.contentWindow)).message;return{options:e,newDifferentailTitle:i,differentailPairList:o}}async function _sn(t,e){let i=e.pcbTabId1,o=e.pcbTabId2,r=e.useLog,{comparisonResultMap:n}=t,a={},s={},l=0;for(let m in n){let h=n[m];for(let f in h)f!="same"&&h[f].forEach(g=>{let{object1:b,object2:y}=g;if(b){let w=b.id;a[w]=u(b,l)}if(y){let w=y.id;s[w]=u(y,l)}})}let c=Object.values(a);await p(c,i);let d=Object.values(s);await p(d,o),r&&c.length+d.length>0&&Ot("info",{text:Ti("Clear Mark"),call:{cmd:"clearRectMasks",args:[i,o]}},"Log");function u(m,h){if(m)return{id:m.id,state:h,bboxes:m.bboxes,links:[m.id]}}async function p(m,h){var g;if(!m||m.length==0)return;let f=(g=await he.getTabIFrame(h))==null?void 0:g.contentWindow;f&&C.windowBridge.publish("pcb/addRectMasks",{tabId:h,masks:m,adaptAll:!0},f)}}var aS=L(Se());var eKt=L(fRo());var bRo=L(Hr());var ip=L(z());var Bsn={left:{label:"Pins on Left"},right:{label:"Pins on Right"},top:{label:"Pins on Top"},bottom:{label:"Pins on Bottom"}},gRo={DIP:{left:!0,right:!0,top:!1,bottom:!1},QFP:{left:!0,right:!0,top:!0,bottom:!0},SIP:{left:!0,right:!1,top:!1,bottom:!1}},Wy=be.bind(eKt.default.locals);function zsn(){Ae(eKt.default);let t=J(),[e,i]=(0,aS.useState)([{value:"DIP",checked:!0},{value:"QFP",checked:!1},{value:"SIP",checked:!1}]),o=ca(),[r,n]=(0,aS.useState)(Vo());(0,aS.useEffect)(()=>{let y=C.messageBus.subscribe("setUnit",w=>{n(w),o()});return()=>y.cancel()},[]);let a=(0,aS.useMemo)(()=>e.find(y=>y.checked).value,[e]),[s,l]=(0,aS.useState)(()=>{let y=Object();return it(gRo[a],(w,x)=>{let{label:S}=Bsn[w];y[w]={label:S,count:6,isShow:x}}),y});(0,aS.useEffect)(()=>{let y={...s};it(gRo[a],(w,x)=>{y[w].isShow=x}),l(y)},[a]);let[c,d]=(0,aS.useState)([{label:"Center",value:"center",checked:!0},{label:"The First Pin",value:"firstPin",checked:!1}]),[u,p]=(0,aS.useState)([{label:"Counter Clockwise Round",value:"single",checked:!0},{label:"Left to Right, Top to Bottom",value:"around",checked:!0}]),m=(0,aS.useMemo)(()=>u.find(y=>y.checked).value,[u]),h=(0,aS.useMemo)(()=>c.find(y=>y.checked).value,[c]),f=(0,aS.useRef)({value:.1,unit:"inch"}),g=(0,aS.useRef)({value:.2,unit:"inch"}),b=()=>{let y=io(f.current.value,f.current.unit,"pixel"),w=io(g.current.value,g.current.unit,"pixel");if(y<=0){De({type:"error",msg:{value:"The {errKey} value is invalid!",options:{errKey:Rr("Pin Distance")}}});return}C.messageBus.publish("sch/generateSymbol",{type:a,pinCount:{left:s.left.count,right:s.right.count,top:s.top.count,bottom:s.bottom.count},pinDistance:y,pinLength:w,pinDirection:m,originType:h})};return(0,ip.jsxs)("section",{className:Wy("container"),children:[(0,ip.jsxs)("div",{className:Wy("m-form"),children:[(0,ip.jsxs)("div",{className:Wy("form-item"),style:{alignItems:"flex-start"},children:[(0,ip.jsxs)("span",{style:{flex:"0 0 40px"},"data-test":"Type",children:[t("Type"),":"]}),(0,ip.jsxs)("div",{className:Wy("vertical-radios"),children:[(0,ip.jsx)($i,{gap:8,name:"type-list",value:a,options:e.map(y=>y.value),layoutVertical:!0,onChange:y=>{let w=[...e];w.forEach(x=>{x.checked=x.value===y}),i(w)}}),(0,ip.jsx)("div",{className:Wy("type-preview-img"),"data-checked-type":a})]})]}),(0,ip.jsxs)("div",{className:Wy("form-item"),children:[(0,ip.jsxs)("div",{style:{flex:"0 0 60px"},"data-test":"Origin",children:[t("Origin"),":"]}),(0,ip.jsx)("div",{className:Wy("layer-content"),children:(0,ip.jsx)($i,{name:"origin-list",value:h,options:c,onChange:y=>{let w=[...c];w.forEach(x=>{x.checked=x.value===y}),d(w)}})})]}),Object.entries(s).map(([y,{label:w,count:x,isShow:S}])=>S?(0,ip.jsxs)("div",{className:Wy("form-item"),children:[(0,ip.jsxs)("div",{className:Wy("layer-title"),"data-test":w,children:[t(w),":"]}),(0,ip.jsx)("div",{className:Wy("layer-content"),children:(0,ip.jsx)(E1,{value:String(x),validator:T=>+T>=0&&Number.isInteger(+T),onChange:T=>{let M={...s},I=parseInt(T);M[y].count=isNaN(I)?0:I,l(M)},unit:""})})]},y):null),(0,ip.jsxs)("div",{className:Wy("form-item"),children:[(0,ip.jsxs)("div",{className:Wy("layer-title"),"data-test":"Pin Distance",children:[t("Pin Distance"),":"]}),(0,ip.jsx)("div",{className:Wy("layer-content"),children:(0,ip.jsx)(E1,{value:io(f.current.value,f.current.unit,r),unit:r,validator:y=>y>=0,onChange:(y,w)=>{f.current.value=io(parseFloat(y),w,f.current.unit),o()}})})]}),(0,ip.jsxs)("div",{className:Wy("form-item"),children:[(0,ip.jsxs)("div",{className:Wy("layer-title"),"data-test":"Pin Length",children:[t("Pin Length"),":"]}),(0,ip.jsx)("div",{className:Wy("layer-content"),children:(0,ip.jsx)(E1,{value:io(g.current.value,g.current.unit,r),unit:r,validator:y=>y>=0,onChange:(y,w)=>{g.current.value=io(parseFloat(y),w,g.current.unit),o()}})})]}),a==="DIP"&&(0,ip.jsxs)("div",{className:Wy("form-item"),style:{alignItems:"flex-start"},children:[(0,ip.jsxs)("div",{className:Wy("layer-title"),"data-test":"Pin Numbering",children:[t("Pin Numbering"),":"]}),(0,ip.jsx)("div",{className:Wy("layer-content vertical-radios"),children:(0,ip.jsx)($i,{name:"pin-numbering",options:u,value:m,layoutVertical:!0,onChange:y=>{let w=[...u];w.forEach(x=>{x.checked=x.value===y}),p(w)}})})]})]}),(0,ip.jsx)(Me,{type:"primary",class:Wy("generate-symbol fill"),"data-test":"Generate Symbol",onClick:()=>{b()},children:t("Generate Symbol")})]})}function yRo(){let t=document.getElementById("pin-wizard");(0,bRo.createRoot)(t).render((0,ip.jsx)(zsn,{}))}var Jct=class{static init(){C.messageBus.subscribe("setPanelTabActive",e=>{let{fromTab:i,tabId:o,docType:r}=e;if([se.PANEL,se.PANEL3D,se.PANEL_LIB].includes(r)){if(Wn(r)){bH({tabid:o,docType:r});let n=!he.getTabIframeSync(o).classList.contains("un_ruler");DA.setBtnSelection("showRuler",n),_l(st.PANEL_OBJECT_ROOT_NODE,{isSwitchActiveTab:!0})}switch(r){case se.PANEL:case se.PANEL_LIB:$N();break;case se.PANEL3D:C.messageBus.publish("/panel/3d/updateLayerPanel");break;default:break}}}),C.messageBus.subscribe("/pro-ui/container/tab/onDelete",async e=>{let{tabId:i,containerId:o}=e;if(!he.containerIds.includes(o))return;let r=he.getTabDocType(i);[se.PANEL,se.PANEL3D,se.PANEL_LIB].includes(r)&&await he.closeTopTab(i)})}};var qct=class{static init(){C.messageBus.subscribe("setSchTabActive",async e=>{let[i,o,r]=e;if(se.SCH!==r&&!pr(r)){Cc.hide(),le.close("dlg-find");return}if(pr(r)){let a=(await C.messageBus.rpcCall("rulerStatus",i)).message;Uk.changeRulerVisible(a,i)}if(r===se.SCH&&await Dn.compareAndMarkToUpdatedSymbol(),el.toggleTreeVisibility(r===se.PART&&i!==se.BLANKTAB+""),await he.getTabIFrame(i)){let a=r===se.PART;if(el.toggleTreeVisibility(a),pr(r)&&!a){let s=(await C.messageBus.rpcCall("sch/getPartIds")).message;Cl.setPartIds(s)}await Dn.compareAndMarkToUpdatedSymbol()}if(kr("canShwoTableSetting")?kr("publicCellSelectChange"):Cc.hide(),C.messageBus.publish("toggleFindShowContent",[!1]),se.SCH===r){let a=(await C.messageBus.rpcCall("getModelSheetUuid",i)).message,s=(await C.messageBus.rpcCall("getModelSheetUuid",o)).message;a!==s&&(C.messageBus.publish("sch/handleOpenDoc",i),C.messageBus.publish("sch/renderSchPropertyPanel"))}pr(r)?C.messageBus.publish("sch/renderSymbolPropertyPanel",[{isSelectedTypeChange:!0},i]):C.messageBus.publish("attrFnToggleProperty","Property"),C.messageBus.publish("renderAttributeFilterPanel",{docType:r})}),C.messageBus.subscribe("/pro-ui/container/tab/onActive",async e=>{let{tabId:i}=e,o=he.getTabDocType(i);se.SCH===o&&setTimeout(()=>{Rc.setVariantMenu(ri.getVariantMenu(he.getActiveSchematicId()))})}),C.messageBus.subscribe("/pro-ui/container/tab/onDelete",async e=>{let{tabId:i,containerId:o}=e;if(!he.containerIds.includes(o))return;let r=he.getTabDocType(i);se.SCH!==r&&!pr(r)||await he.closeTopTab(i)})}};var Xct=class{static init(){C.messageBus.subscribe("setSimlationTabActive",async e=>{let[i,o,r]=e;if(!zh(r)){Cc.hide(),le.close("dlg-find");return}if(zh(r)&&await Dn.compareAndMarkToUpdatedSymbol(),el.toggleTreeVisibility(r===se.PART&&i!==se.BLANKTAB+""),await he.getTabIFrame(i)){let a=r===se.PART;if(el.toggleTreeVisibility(a),pr(r)&&!a){let s=(await C.messageBus.rpcCall("sch/getPartIds")).message;Cl.setPartIds(s)}await Dn.compareAndMarkToUpdatedSymbol()}if(kr("canShwoTableSetting")?kr("publicCellSelectChange"):Cc.hide(),C.messageBus.publish("toggleFindShowContent",[!1]),zh(r)){let a=(await C.messageBus.rpcCall("getModelSheetUuid",i)).message,s=(await C.messageBus.rpcCall("getModelSheetUuid",o)).message;a!==s&&(C.messageBus.publish("sch/handleOpenDoc",i),r==se.SIMULIDE?C.messageBus.publish("sim/renderSimulidePropertyPanel"):C.messageBus.publish("sim/renderNgspicePropertyPanel"))}}),C.messageBus.subscribe("/pro-ui/container/tab/onActive",async e=>{let{tabId:i}=e,o=he.getTabDocType(i);zh(o)&&setTimeout(()=>{})}),C.messageBus.subscribe("/pro-ui/container/tab/onDelete",async e=>{let{tabId:i,containerId:o}=e;if(!he.containerIds.includes(o))return;let r=he.getTabDocType(i);zh(r)&&await he.closeTopTab(i)})}};async function wRo(){var e;let t=Wi("BASE_LIBRARY");for(let i=0;i<t.length;i++){let o=t[i].data||[];for(let r=0;r<o.length;r++){let n=o[r],a=n.device,s=n.devicePath;if(!Object.hasOwnProperty.call(n,"devicePath")||!Object.hasOwnProperty.call(n,"deviceName")||!Object.hasOwnProperty.call(n,"symbol")||!Object.hasOwnProperty.call(n,"footprint")||!Object.hasOwnProperty.call(n,"updateTime"))try{let l=await Ze.getDevice({isProject:s===C.currentProject.projectId,path:s,uuid:a});n.devicePath=s||((e=l.owner)==null?void 0:e.uuid),n.deviceName=l.display_title,n.updateTime=l.updateTime}catch{console.log("\u5668\u4EF6\u67E5\u4E0D\u5230")}}}}var CRo="https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/assets/ecad-favicon-J37AWPNY.ico";function xRo(){C.messageBus.rpcService("OpenSameNameSaveAsDlgService",async t=>{let{updateCache:e,formData:i,newFootPrint:o,oldFootPrint:r,newSymbol:n,oldSymbol:a,confirmRes:s}=t;return new Promise(async l=>{await vW("save-as-same-name-symbol-footprint",i,{newFootPrint:o,oldFootPrint:r,newSymbol:n,oldSymbol:a,confirmRes:s,onConfirm:c=>{l({action:"confirm",data:c})},onCancel:()=>{l({action:"cancel",data:null})},onClose:()=>{l({action:"close",data:null})},createDevice:!1})})})}var $ct=class{static init(){C.messageBus.subscribe("setWaveformTabActive",async e=>{let[i,o,r]=e;if(!KGt(r)){Cc.hide(),le.close("dlg-find");return}if(zlt(r)){let n=(await C.messageBus.rpcCall("getModelSheetUuid",i)).message,a=(await C.messageBus.rpcCall("getModelSheetUuid",o)).message;n!==a&&(C.messageBus.publish("sch/handleOpenDoc",i),C.messageBus.publish("sim/renderWaveformPropertyPanel"))}}),C.messageBus.subscribe("/pro-ui/container/tab/onDelete",async e=>{let{tabId:i,containerId:o}=e;if(!he.containerIds.includes(o))return;let r=he.getTabDocType(i);KGt(r)&&await he.closeTopTab(i)})}};function TRo(){C.messageBus.rpcService("I18nTranslateService",async t=>t.data?me.i18n(t.str,{...t.data}):me.i18n(t.str))}async function SRo(){let t=+oj("isPCBD3ViewToolbarBarShow");isNaN(t)&&(t=1,await Ks({isPCBD3ViewToolbarBarShow:t})),si.setCheckboxStatus("mm-common-view","togglePCBD3ViewToolbarBar",!!t);let e=+oj("isPanelD3ViewToolbarBarShow");isNaN(e)&&(e=1,await Ks({isPanelD3ViewToolbarBarShow:e})),si.setCheckboxStatus("mm-common-view","togglePCBD3ViewToolbarBar",!!e)}var yEe;(n=>{function t(a){var s,l,c;return{type:22,doctype:[ve.SCHMODULE,ve.PCBMODULE],uid:"user",returnListStyle:"classifyarr",wd:(s=a.query)==null?void 0:s.wd,page:(l=a.page)!=null?l:1,pageSize:(c=a.pageSize)!=null?c:50}}async function e(a){var s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M;return{uuid:a.uuid,name:a.name,description:a.content,classification:{primaryClassificationName:(u=(l=(s=a.tags)==null?void 0:s.parent_tag)==null?void 0:l.name_cn)!=null?u:(d=(c=a.tags)==null?void 0:c.parent_tag)==null?void 0:d.name,primaryClassificationUuid:(m=(p=a.tags)==null?void 0:p.parent_tag)==null?void 0:m.uuid,secondaryClassificationName:(y=(f=(h=a.tags)==null?void 0:h.child_tag)==null?void 0:f.name_cn)!=null?y:(b=(g=a.tags)==null?void 0:g.child_tag)==null?void 0:b.name,secondaryClassificationUuid:(x=(w=a.tags)==null?void 0:w.child_tag)==null?void 0:x.uuid},updateTime:Math.round(Number(new Date(a.updated_at))/1e3),createTime:Math.round(Number(new Date(a.updated_at))/1e3),creator:{name:(S=a.creator.nickname)!=null?S:a.creator.username,uuid:a.creator.uuid},modifier:{name:(T=a.modifier.nickname)!=null?T:a.modifier.username,uuid:a.modifier.uuid},owner:{name:(M=a.owner.nickname)!=null?M:a.owner.username,uuid:a.owner.uuid},schematics:a.schematics.map(I=>({uuid:I.uuid,name:I.name,updateTime:I.updateTime,description:"",createTime:I.createtime})),pcbs:a.pcb.map(I=>{var A,D;return{uuid:I.uuid,name:I.display_title,updateTime:I.updateTime,thumb:I.thumb,createTime:Math.round(Number(new Date(I.create_at))/1e3),creator:{name:(A=I.creator.nickname)!=null?A:I.creator.username,uuid:I.creator.uuid},modifier:{name:(D=I.creator.nickname)!=null?D:I.creator.username,uuid:I.creator.uuid},description:I.description}}),boards:a.boards.map(I=>({pcbUuid:I.pcb,schUuid:I.sch,name:I.name})),sheets:a.schs.map(I=>{var A,D;return{uuid:I.uuid,name:I.display_title,belongSchematicUuid:I.schematic_uuid,updateTime:I.updateTime,createTime:Math.round(Number(new Date(I.create_at))/1e3),thumb:I.thumb,creator:{name:(A=I.creator.nickname)!=null?A:I.creator.username,uuid:I.creator.uuid},modifier:{name:(D=I.modifier.nickname)!=null?D:I.modifier.username,uuid:I.modifier.uuid},description:I.description}})}}async function i(a,s,l){var u,p;let c=await ULo(a.lists.user),d=[];for(let m of c)d.push(await e(m));return{count:(p=(u=a.facets)==null?void 0:u.user)!=null?p:0,lists:d,page:s,pageSize:l,totalPage:a.totalPage}}async function o(a){var l;let s=await G8({uuid:(l=kat(a))!=null?l:a});return await BLo(s)}n.getDetail=o;async function r(a){var s,l,c;if((s=a.query)!=null&&s.wd){let d=t(a),u=await dxe(d);return await i(u,a.page,a.pageSize)}else if((l=a.query)!=null&&l.listByUuids){let d=[];for(let u of(c=a.query)==null?void 0:c.listByUuids)d.push(await o(u));return{count:d.length,lists:d,page:1,pageSize:1e8,totalPage:1}}else return{count:0,lists:[],page:1,pageSize:1,totalPage:0}}n.getList=r})(yEe||(yEe={}));var wEe;(n=>{function t(a){var s,l,c,d;return{type:3,doctype:((s=a.query)==null?void 0:s.symbolType)||[...hye],uid:"user",returnListStyle:"classifyarr",wd:(l=a.query)==null?void 0:l.wd,page:(c=a.page)!=null?c:1,pageSize:(d=a.pageSize)!=null?d:50}}function e(a){var l,c,d,u,p,m,h,f,g,b,y,w,x,S;let s={...a.attributes};return delete s.Symbol,delete s.Footprint,delete s["3D Model"],{uuid:a.uuid,name:a.display_title||a.title,description:a.description,symbol:a.symbol?{uuid:a.symbol.uuid,name:a.symbol.display_title,symbolType:a.symbol_type}:null,footprint:a.footprint?{uuid:a.footprint.uuid,name:a.footprint.display_title}:null,value:a.attributes.value,supplierPart:a.attributes["Supplier Part"],manufacturer:a.attributes.Manufacturer,updateTime:a.updateTime,createTime:a.createTime,classification:{primaryClassificationName:(p=(c=(l=a.tags)==null?void 0:l.parent_tag)==null?void 0:c.name_cn)!=null?p:(u=(d=a.tags)==null?void 0:d.parent_tag)==null?void 0:u.name,primaryClassificationUuid:(h=(m=a.tags)==null?void 0:m.parent_tag)==null?void 0:h.uuid,secondaryClassificationName:(w=(g=(f=a.tags)==null?void 0:f.child_tag)==null?void 0:g.name_cn)!=null?w:(y=(b=a.tags)==null?void 0:b.child_tag)==null?void 0:y.name,secondaryClassificationUuid:(S=(x=a.tags)==null?void 0:x.child_tag)==null?void 0:S.uuid},attributes:s}}async function i(a,s,l){var u,p;let c=[],d=await FLo(a.lists.user);for(let m of d)c.push(await e(m));return{count:(p=(u=a.facets)==null?void 0:u.user)!=null?p:0,lists:c,page:s,pageSize:l,totalPage:a.totalPage}}async function o(a){let s=kat(a),l=await jLo(await G8({uuid:s}));return e(l)}n.getDetail=o;async function r(a){var s,l,c;if((s=a.query)!=null&&s.wd){let d=t(a),u=await cxe(d);return await i(u,a.page,a.pageSize)}else if((l=a.query)!=null&&l.listByUuids){let d=[];for(let u of(c=a.query)==null?void 0:c.listByUuids)d.push(await o(u));return{count:d.length,lists:d,page:1,pageSize:1e8,totalPage:1}}else return{count:0,lists:[],page:1,pageSize:1,totalPage:0}}n.getList=r})(wEe||(wEe={}));var CEe;(n=>{function t(a){var s,l,c;return{type:3,doctype:[ve.FOOTPRINT],uid:"user",returnListStyle:"classifyarr",wd:(s=a.query)==null?void 0:s.wd,page:(l=a.page)!=null?l:1,pageSize:(c=a.pageSize)!=null?c:50}}function e(a){var s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M;return{uuid:a.uuid,name:a.display_title||a.title,description:a.description,classification:{primaryClassificationName:(u=(l=(s=a.tags)==null?void 0:s.parent_tag)==null?void 0:l.name_cn)!=null?u:(d=(c=a.tags)==null?void 0:c.parent_tag)==null?void 0:d.name,primaryClassificationUuid:(m=(p=a.tags)==null?void 0:p.parent_tag)==null?void 0:m.uuid,secondaryClassificationName:(y=(f=(h=a.tags)==null?void 0:h.child_tag)==null?void 0:f.name_cn)!=null?y:(b=(g=a.tags)==null?void 0:g.child_tag)==null?void 0:b.name,secondaryClassificationUuid:(x=(w=a.tags)==null?void 0:w.child_tag)==null?void 0:x.uuid},version:a.version,updateTime:a.updateTime,createTime:a.createTime,creator:{name:(S=a.creator.nickname)!=null?S:a.creator.username,uuid:a.creator.uuid},modifier:{name:(T=a.modifier.nickname)!=null?T:a.modifier.username,uuid:a.modifier.uuid},owner:{name:(M=a.owner.nickname)!=null?M:a.owner.username,uuid:a.owner.uuid},data:a.dataStr}}async function i(a,s,l){var u,p;let c=[],d=await Pat(a.lists.user,"footprints");for(let m of d)c.push(await e(m));return{count:(p=(u=a.facets)==null?void 0:u.user)!=null?p:0,lists:c,page:s,pageSize:l,totalPage:a.totalPage}}async function o(a){let s=await iye(await G8({uuid:a}));return e(s)}n.getDetail=o;async function r(a){var s,l,c;if((s=a.query)!=null&&s.wd){let d=t(a),u=await dxe(d);return await i(u,a.page,a.pageSize)}else if((l=a.query)!=null&&l.listByUuids){let d=[];for(let u of(c=a.query)==null?void 0:c.listByUuids)d.push(await o(u));return{count:d.length,lists:d,page:1,pageSize:1e8,totalPage:1}}else return{count:0,lists:[],page:1,pageSize:1,totalPage:0}}n.getList=r})(CEe||(CEe={}));var xEe;(n=>{function t(a){var s,l,c,d;return{type:3,doctype:((s=a.query)==null?void 0:s.symbolType)||[...hye],uid:"user",returnListStyle:"classifyarr",wd:(l=a.query)==null?void 0:l.wd,page:(c=a.page)!=null?c:1,pageSize:(d=a.pageSize)!=null?d:50}}function e(a){var s,l,c,d,u,p,m,h,f,g,b,y,w,x,S,T,M;return{uuid:a.uuid,name:a.display_title||a.title,description:a.description,classification:{primaryClassificationName:(u=(l=(s=a.tags)==null?void 0:s.parent_tag)==null?void 0:l.name_cn)!=null?u:(d=(c=a.tags)==null?void 0:c.parent_tag)==null?void 0:d.name,primaryClassificationUuid:(m=(p=a.tags)==null?void 0:p.parent_tag)==null?void 0:m.uuid,secondaryClassificationName:(y=(f=(h=a.tags)==null?void 0:h.child_tag)==null?void 0:f.name_cn)!=null?y:(b=(g=a.tags)==null?void 0:g.child_tag)==null?void 0:b.name,secondaryClassificationUuid:(x=(w=a.tags)==null?void 0:w.child_tag)==null?void 0:x.uuid},version:a.version,updateTime:a.updateTime,createTime:a.createTime,creator:{name:(S=a.creator.nickname)!=null?S:a.creator.username,uuid:a.creator.uuid},modifier:{name:(T=a.modifier.nickname)!=null?T:a.modifier.username,uuid:a.modifier.uuid},owner:{name:(M=a.owner.nickname)!=null?M:a.owner.username,uuid:a.owner.uuid},data:a.dataStr,symbolType:a.docType}}async function i(a,s,l){var u,p;let c=[],d=await Pat(a.lists.user,"symbols");for(let m of d)c.push(await e(m));return{count:(p=(u=a.facets)==null?void 0:u.user)!=null?p:0,lists:c,page:s,pageSize:l,totalPage:a.totalPage}}async function o(a){let s=await iye(await G8({uuid:a}));return e(s)}n.getDetail=o;async function r(a){var s,l,c;if((s=a.query)!=null&&s.wd){let d=t(a),u=await cxe(d);return await i(u,a.page,a.pageSize)}else if((l=a.query)!=null&&l.listByUuids){let d=[];for(let u of(c=a.query)==null?void 0:c.listByUuids)d.push(await o(u));return{count:d.length,lists:d,page:1,pageSize:1e8,totalPage:1}}else return{count:0,lists:[],page:1,pageSize:1,totalPage:0}}n.getList=r})(xEe||(xEe={}));async function MRo(){_t||Je||C.extendLibStore.manager.addLibWithId({id:_e.STD_PUBLIC_LIB_UUID,title:"Std Edition Public",position:1/0,isVisible:t=>!!t.isSearch,device:{getDetail:wEe.getDetail,getList:wEe.getList,getClassificationTree:null,getSupportedSymbolTypes:null,getSupportedPreviewTypes:null},symbol:{getDetail:xEe.getDetail,getList:xEe.getList,getClassificationTree:null,getSupportedSymbolTypes:null,getSupportedPreviewTypes:null},footprint:{getDetail:CEe.getDetail,getList:CEe.getList,getClassificationTree:null,getSupportedPreviewTypes:null},cbb:{getDetail:yEe.getDetail,getList:yEe.getList,getClassificationTree:null,getSupportedPreviewTypes:null}})}var tKt;(function(t){t.NAME="@jlc/track-sdk"})(tKt||(tKt={}));var sH0=`[${tKt.NAME}]:`,IRo,LRo,edt,tdt,vRo,DRo,ERo,ARo,NRo,kRo,PRo,ORo,RRo,_Ro,jRo,BRo,zRo,FRo,URo;(function(t){t.SESSION="JLC_TRACK_SDK_SESSION_ID",t.APP="JLC_TRACK_SDK_APP_ID"})(IRo||(IRo={})),(function(t){t.GET="GET",t.POST="POST",t.PUT="PUT",t.DELETE="DELETE"})(LRo||(LRo={})),(function(t){t.COMMON="common",t.ERROR="error",t.BEHAVIOR="behavior",t.PERFORMANCE="performance",t.CUSTOMER="customer"})(edt||(edt={})),(function(t){t.PAGE_VIEW="page_view",t.PAGE_LEAVE="page_leave",t.ELEMENT_CLICK="element_click",t.ELEMENT_EXPOSE="element_expose",t.ELEMENT_VIEW="element_view",t.ELEMENT_STAY="element_stay"})(tdt||(tdt={})),(function(t){t.VIEW="view",t.CLICK="click",t.EXPOSE="expose",t.KEY="KEY",t.INQUIRY="inquiry",t.CART="cart",t.BUY="buy",t.PAY="pay"})(vRo||(vRo={})),(function(t){t.JS="js",t.RS="resource",t.UJ="unhandledrejection",t.HP="http",t.CS="cors",t.VUE="vue",t.REACT="react"})(DRo||(DRo={})),(function(t){t.BEACON="beacon",t.IMG="img",t.GET="get",t.POST="post"})(ERo||(ERo={})),(function(t){t.LOG="log",t.INFO="info",t.WARN="warn",t.ERROR="error",t.ASSERT="assert"})(ARo||(ARo={})),(function(t){t.FETCH="fetch",t.XHR="xhr"})(NRo||(NRo={})),(function(t){t.FMP="fmp",t.FPS="fps",t.BASIC="basic",t.VITALS="vitals",t.RESOURCE="resource"})(kRo||(kRo={})),(function(t){t.HASH="hash",t.HISTORY="history"})(PRo||(PRo={})),(function(t){t.CUSTOMER="customer"})(ORo||(ORo={})),(function(t){t.LOCAL="local",t.SESSION="session",t.COOKIE="cookie",t.GLOBAL="global"})(RRo||(RRo={})),(function(t){t.LOAD="enter",t.UNLOAD="leave"})(_Ro||(_Ro={})),(function(t){t.MOBILE="mobile",t.PC="pc"})(jRo||(jRo={})),(function(t){t.BROWSER="browser",t.NODE="nodejs",t.WECHAT="wechat"})(BRo||(BRo={})),(function(t){t.ROUTE="Route",t.CLICK="UI.Click",t.CONSOLE="Console",t.XHR="Xhr",t.FETCH="Fetch",t.UNHANDLEDREJECTION="Unhandledrejection",t.RESOURCE="Resource",t.CODE_ERROR="CodeError",t.CUSTOMER="Customer",t.FRAMEWORK="Framework",t.LIFECYCLE="LifeCycle",t.CRASH="Crash"})(zRo||(zRo={})),(function(t){t.API="Api",t.ROUTE="Route",t.CLICK="UI.Click",t.ERROR="Error",t.LIFECYCLE="LifeCycle",t.CUSTOMER="Customer"})(FRo||(FRo={})),(function(t){t.JS="Js"})(URo||(URo={}));var Usn={dev:"https://dev-static.jlc.com/js/monitor-sdk/apps/dev/eda-pro-pc/pro-lceda-web/jlc-apm-sdk.js",fat:"https://fat-static.jlc.com/js/monitor-sdk/apps/fat/eda-pro-pc/pro-lceda-web/jlc-apm-sdk.js",uat:"https://test-static.jlc.com/js/monitor-sdk/apps/uat/eda-pro-pc/pro-lceda-web/jlc-apm-sdk.js",prod:"https://static.jlc.com/js/monitor-sdk/apps/prod/eda-pro-pc/pro-lceda-web/jlc-apm-sdk.js"},Vsn={dev:"https://dev-static-pub.jlcpcb.com/js/monitor-sdk/apps/dev/easyeda-pro-pc/pro-easyeda-web/jlc-apm-sdk.js",fat:"https://fat-static-pub.jlcpcb.com/js/monitor-sdk/apps/fat/easyeda-pro-pc/pro-easyeda-web/jlc-apm-sdk.js",uat:"https://test-static-pub.jlcpcb.com/js/monitor-sdk/apps/uat/easyeda-pro-pc/pro-easyeda-web/jlc-apm-sdk.js",prod:"https://static-pub.jlcpcb.com/js/monitor-sdk/apps/prod/easyeda-pro-pc/pro-easyeda-web/jlc-apm-sdk.js"},xce=class xce{static getInstance(){var e;try{return(e=xce._instance)!=null?e:xce._instance=new xce}catch(i){return this._logger.error(i),null}}get env(){let{host:e}=self.location;return e.search("alpha")!==-1||e.search("uat")!==-1?"uat":e.search("fat")!==-1?"fat":e.search("dev")!==-1||e.search("localhost")!==-1?"dev":"prod"}constructor(){this._init()}async _init(){let e=this._getSDKUrl();e&&(await Jri(e),this._client=self.jlcTrack.client)}_getSDKUrl(){return!_t&&Xr&&!Je?Usn[this.env]:!_t&&vo&&!Je?Vsn[this.env]:null}_getSPMMap(){return null}_getSPM(e){let i=this._getSPMMap();return i==null?void 0:i[e]}clickUpload(e,i){var r;let o=this._getSPM(e);if(!o){xce._logger.info(`TrackBrower: can not getSPM in this context![updoladType:${e}]`);return}(r=this._client)==null||r.notify({data_type:edt.BEHAVIOR,event_type:tdt.ELEMENT_CLICK,spm:o,event_detail:i})}};xce._logger=new E2(D2.WARN);var TEe=xce;function VRo(){c4e.init(),Gsn(),qLi(),_ci(),self.Locale=me,self.gVars=C,C.trackBrowser=TEe.getInstance(),me.load(mt.getLanguage()),C.messageBus=window._MSG_BUS_=window._MSG_BUS_||new Tce.MessageBus,C.windowBridge=window._MSG_BUS_WIN_=window._MSG_BUS_WIN_||new Tce.WindowMessageBridge(C.messageBus),C.pcbMessageBus=window._MSG_BUS_PCB_=window._MSG_BUS_PCB_||new Tce.MessageBus(!0),C.worker=new Tce.WorkerMessageBridge(C.messageBus,new Worker(`editor?entry=ui-worker.js&cll=${self.PRO_LOG_LEVEL}`,{name:"ui-worker"}));let t=window._MSG_BUS_ID_CHAMELEON=window._MSG_BUS_ID_CHAMELEON||"chameleon_bus_"+Mt();if(C.chameleonBus=nte(t),C.concurrentBus=nte(`/${window._TAB_ID_}/notify`),C.concurrentBus.subscribe("/pro-mgr/notify/established",()=>{$9e.connected=!0}),C.concurrentBus.rpcService("/pro-ui/loginUser/get",()=>{var i;let e=(i=C)==null?void 0:i.loginedUserInfo;return e?{uuid:e.uuid,nickname:e.nickname,username:e.username,avatar:e.avatar}:{}}),C.concurrentBus.rpcService("/pro-ui/libSource/getProLibSource",async e=>await Fw.getProLibSource(e)),C.concurrentBus.rpcService(T9.IsActive,()=>c4e.isActive),Nt){let e=document.querySelector("link[rel~='icon']");e.href=CRo}cn.listenTabChange(),Kte.default.ajaxSetup({success:function(e,i,o){e&&!e.success&&e.code===401&&AWt()},error:function(){},complete:function(e,i){try{let o=JSON.parse(e.responseText);!o.success&&o.code===401&&AWt()}catch{console.log(e.responseText)}},beforeSend:function(e){}}),ln.validateViewerMode(),ovi(),UQt(),OQt(),he.init(),cFe(he.containerIds[0]),$a.init(),Br.init(),co.init(),MRo(),e4i(),ZT.init(),qct.init(),Jct.init(),Xct.init(),$ct.init(),I9i(),!ln.isViewerMode&&hCi(),Ect(),Pct(),Rct(),Bct(),RHe(),pPo(),qko(),DOo(),yRo(),Vfi(),xvi(),_t&&QNo(),tRo(),eOo(C.messageBus),NZi(C.messageBus),aLo(),nYi(),Fui(),tOo(),vbi(),ms.initThemePreference(),!Je&&!_t&&C.messageBus.rpcCall(Ei.OTHER.GET_EDITOR_VERSION).then(({message:e})=>{e.success&&(C.lastestVersion=e.result)}),rOo(),tQi(),C.mousePlace=new Fct,C.loginHandle=e=>{zko(e)},(0,Kte.default)(document).ready(function(){ln.isViewerMode&&ln.entry(),Iki(),Nc.init(),$Po();let e=[C.messageBus.rpcCall(Yo.COMMON.INIT_DB,[E7e])];if(C.messageBus.rpcCall("sch/PropertyKey").then(o=>{C.PropertyKey=o.message}),Y8o(),vWt(async o=>{KWi(),await M1.init(),wte.init(),pRo(),!ln.isViewerMode&&(Je||!o.success?tl():!(o.success&&_t)&&tl(C.workspace==="Personal"?{}:{org_uuid:C.workspace})),o.success||(wi&&SJ.versionAutoCheck(!1),eQe())}).done((o,r,n)=>{var a,s;Yfe(o).then(()=>ms.updatePreference()).catch(()=>{ms.updatePreference()}),ect({type:Yi.FOOTPRINT}),new URLSearchParams(location.search).get("espm")==="true"&&EOo((s=(a=C)==null?void 0:a.loginedUserInfo)==null?void 0:s.uuid).then(XOo),of("usrStackPhySettingDefaults",()=>r$e),of("textAreaRelevanceHeightNetSpacingList",()=>58).then(l=>{C.profileSetting.textAreaRelevanceHeightNetSpacingList=l.value}),of("textAreaRelevanceHeightDistBorOutList",()=>58).then(l=>{C.profileSetting.textAreaRelevanceHeightDistBorOutList=l.value})}).then(async()=>{await wRo(),mt.getKeyValue("commSystemSetting")||mt.savePreference("commSystemSetting",sc(),!1).then(()=>ms.updatePreference()).catch(()=>{ms.updatePreference()}),C.attributePanelColumnWidth=mt.getCacheObj("attributePanelColumnWidth")||{},Ane();let r=d0();C.messageBus.publish("updateSystemConfig",r),C.messageBus.publish("initDesignRule"),C.messageBus.publish("initSimDesignRule"),KPe(),await C.messageBus.rpcCall("initSchToolBarSymbol"),await C.messageBus.rpcCall("initSimToolBarSymbol"),await C.messageBus.rpcCall("initNetportSymbol"),await ms.modifyRulerTheme();let n=await U6o();if(wi)SJ.versionAutoCheck(!!n);else if(!_t){let s=au.getCurrentVersion(),{message:l}=await C.messageBus.rpcCall(Ei.OTHER.GET_EDITOR_VERSION),c=l.result;au.compareVersion(c,s)>=1&&(C.hasOnlineUpdate=!0,_me.setVersionUpdate(!0))}n?(dP.uniqId=Mt(),dP.postMessage({name:`${dP.cmd}_${n}`,success:!0,uniqId:dP.uniqId})):dP.postMessage({name:`${dP.cmd}_${n}`,success:!1}),Lst();let a=typeof r.isShowPCBBottomLayersBar>"u"?!0:!!r.isShowPCBBottomLayersBar;si.setCheckboxStatus("top-menu-view-Window","toggleLayerBottomBar",a),mt.savePreference("isShowPCBBottomLayersBar",a,!1),T1e(r.commSystemSetting),await SRo(),Qd.getInstance(),C.messageBus.push("renderBasicLibraryDom",""),sce.instance.tryShow({from:"preferenceInit"})}).then(o=>new Promise(r=>{Promise.all(e).then(n=>r(n))}).then(r=>{M1.renderProjectListByType("Project"),C.messageBus.publish("updateRecentList"),C.messageBus.publish("sent_is_ecad",Nt),C.extensionApiMessageBus2.push("system.startupFinished",!0)})),W8o(),h8o(),Uk.init(),Jst(mt.getLanguage()),DWt(),jko(),xRo(),TRo(),Hsn(),!i()){let r=mt.getLanguage()==="zh-hans"?"block":"none";Ut({type:"confirm",message:`
						<div>
							<div style="line-height:20px;" class="i18n">Your browser doesn't support or version too low(less than v100) to use the editor, please try below methods to solve:</div>
							<div style="line-height:20px;"><span class="i18n">1. Download the latest desktop client, or use the latest Chrome, Firefox or Edge browser(over than v100), and enable the hardware acceleration at browser setting.  Edge browser: </span> <a href="https://www.microsoft.com/edge" target="_blank">https://www.microsoft.com/edge</a></div>
							<div style="line-height:20px;"><span class="i18n">2. Download the latest desktop client. Desktop client: </span> <a href="https://lceda.cn/page/download" target="_blank">https://lceda.cn/page/download</a></div>
							<div style="line-height:20px;display:${r};" class="i18n">3. If Jiali created an order assistant, please download the latest version (greater than v5.0)</div>
						</div>
				         `,width:500,isHtml:!0,showCancel:!1,textOK:"OK",onConfirm:()=>{window.open("about:blank","_self").close()}})}function i(){var o=navigator.userAgent.toLowerCase();let r="";if(o.indexOf("firefox")>0){let n=/firefox\/[\d.]+/gi;if(r=o.match(n)[0],r){let[a,s]=r.split("/");return s&&parseInt(s)>=100}}if(o.indexOf("chrome")>0){let n=/chrome\/[\d.]+/gi;if(r=o.match(n)[0],r){let[a,s]=r.split("/");return s&&parseInt(s)>=98}}return!1}}).ajaxError(function(e,i,o){if(i.status===404){let n=/\/api\/\w+\/(.*?)\?/.exec(o.url);if(n&&n.length>1){let a=n[1];C.sessionStorageTabs&&C.sessionStorageTabs.size&&C.sessionStorageTabs.has(a)&&C.sessionStorageTabs.delete(a)}}}),document.addEventListener("mousewheel",function(e){e.ctrlKey&&C.messageBus.publish("closeDialogByEvent",{whiteList:[bt["insert-image-file"].containerId]})},!1),(function(){Kte.default.ajaxTransport("+*",function(e){e.url.match(/^https?:/)&&e.url.indexOf(location.protocol+location.host+"/")!==0||e.url.match(/^\/(projects|components|document|)\//)}),Kte.default.ajaxPrefilter(function(e,i){let o=i.data;o&&e.url.match(/{.+?}/)&&(typeof o=="string"&&i.contentType&&i.contentType.indexOf("application/json")===0&&(o=ue.parseJSON(o),e.data=JSON.stringify(o)),o&&typeof o=="object"&&(e.url=e.url.replace(/{(.+?)}/g,function(n){let a=n.slice(1,-1);return Object.hasOwnProperty.call(o,a)?""+o[a]:o.get&&o.has&&o.has(a)?o.get(a):n}))),e.type.match(/post/i)&&e.url.startsWith("/")&&!e.url.startsWith("/servicecenter/")&&typeof e.data=="string"&&e.data.length>=C.autoGzipAjaxPostSize&&(m1(e,{data:Adi(new TextEncoder().encode(e.data),{level:1}),processData:!1}),e.headers=e.headers||{},m1(e.headers,{"Content-Encoding":"gzip"}));let r=e.type.toUpperCase();if(r!=="GET"&&r!=="HEAD"){let n=/XSRF-TOKEN=(\S+);?/.exec(document.cookie);n&&(e.headers=Object.assign(e.headers||{},{"X-XSRF-TOKEN":decodeURIComponent(n[1])}))}})})(),(function(){if(window.app)return;function e(a){a&&a.success&&a.result&&a.result.count?(0,Kte.default)("#userNotification").show():(0,Kte.default)("#userNotification").hide()}function i(){setTimeout(o,n)}async function o(){let{message:a}=await C.messageBus.rpcCall(T9.IsActive);if(document.visibilityState=="hidden"||!a||r<Date.now()-n)return i();Ol.get(C.apis.others.notification,function(s){e(s),i()})}let r=Date.now(),n=C.checkNotificationInterval;o(),(0,Kte.default)(document).on("mousemove keydown",function(){r=Date.now()})})(),(function(){let e=null;window.addEventListener("resize",()=>{window.clearTimeout(e),e=window.setTimeout(()=>{lue()},300)},!1)})(),setTimeout(iJe,100),setInterval(async()=>{let{message:e}=await C.messageBus.rpcCall(T9.IsActive);if(e&&br()&&!wi&&!_t){let i=au.getCurrentVersion(),{message:o}=await C.messageBus.rpcCall(Ei.OTHER.GET_EDITOR_VERSION),r=o.result;au.compareVersion(r,i)>=1&&(C.hasOnlineUpdate=!0,_me.setVersionUpdate(!0))}},3e5),he.$on(r2.CLOSE_TAB,function(e){String(e.doctype)===String(ve.PCB)&&oX.delete(e.tabid);let i=document.body.querySelectorAll(".suspension-container");Array.from(i).forEach(o=>{o.parentElement.removeChild(o)})}),flt.init(),wIi()}function Hsn(){C.messageBus.rpcService("LocaleCurrFetch",async()=>new Promise(async t=>{t(me.curr)}))}function Gsn(){let t=0,e=0,i=!1,o=!1;function r(){let n=window.outerWidth-window.innerWidth>160,a=window.outerHeight-window.innerHeight>160,s=/./;s.toString=function(){return o=!0,""},(n||a)&&(o=!0),!o&&i&&(i=!1),o=!1,setTimeout(r,1e3)}r(),document.addEventListener("keydown",function(n){if(n.key==="F12"){let a=new Date().getTime();if(a-e>600?t=1:t++,e=a,t>=3){i=!0,t=0;return}i||n.preventDefault()}})}var Udt=L(Vi());var C_o=L(Vi());var Nn={mode:{value:"COMMON",get(){return this.value},set(t){this.value=t}},activeTabItem:{value:"",get(){return this.value},set(t){this.value=t}},activeChildTabItemOfLayerTab:{value:"",get(){return this.value},set(t){this.value=t}},prevActiveTabItem:{value:"",get(){return this.value},set(t){this.value=t}},selectedLayerId:{value:{},get(t){return this.value[t]},set(t,e){this.value[t]=e}},layerList:{value:{},get(t){return this.value[t]},set(t,e){this.value[t]=e}},showedLayerList:{value:{},get(t){return this.value[t]},set(t,e){this.value[t]=e}},activeTabId:{value:"defaulttabkey",get(){return this.value},set(t){this.value=t},setDefault(){this.value="defaulttabkey"},getDefault(){return"defaulttabkey"}},primitiveTypeList:{value:{},get(t="defaulttabkey"){return this.value[t]},set(t,e="defaulttabkey"){this.value[e]=t},delete(t){!t||!this.value[t]||delete this.value[t]}},parsedPrimitiveAttrData:{value:{},get(){return this.value},set(t){this.value=t}},layerPresetHashtable:{value:{},get(){return this.value},set(t){this.value=t}},taskList:{value:[],get(){return this.value},clear(){this.value.length=0},push(t){this.value.push(t)}}};var w4e=L(Vi());var Wp={togglePrimitiveCheckedByPanel:{name:"togglePrimitiveCheckedByPanel",createResult(){return{primitiveStatus:Nn.primitiveTypeList.get(Nn.activeTabId.get())}}},modifyPrimitiveDataByPanel:{name:"modifyPrimitiveDataByPanel",createResult(t){let e={},i=Nn.parsedPrimitiveAttrData.get(),o=[];return Nn.primitiveTypeList.get(Nn.activeTabId.get()).forEach((r,n)=>{r.isChecked&&o.push(r.value)}),o.forEach((r,n)=>{e[r]=[],((i.idListOfPrimitive||{})[r]||[]).forEach((l,c)=>{e[r].push({"attr-id":l,...t})})}),{head:{deviceSinlgeSelected:o.length===1&&o[0]==="DEVICE"&&i.selectCount<=1,padSingleSelected:o.length===1&&o[0]==="PAD"&&i.selectCount<=1,primitive:o,action:"modifyPrimitiveDataByPanel"},body:{...e}}}},toggleLayerSelected:{name:"toggleLayerSelected",createResult(t){return{layerid:t.layerid}}},toggleLayerVisible:{name:"toggleLayerVisible",createResult(t){return{...t}}},toggleLayerLocked:{name:"toggleLayerLocked",createResult(t){return{...t}}},toggleElementFilter:{name:"toggleElementFilter",createResult(t){return{...t}}}},Qp={GetData:{name:"GetData",createResult(t,e){return{action:t,data:e}}},SetData:{name:"SetData",createResult(t,e){return{action:t,data:e}}},DrawCanvas:{name:"DrawCanvas",createResult(t,e){return{action:t,data:e}}}};var GRo=L(odt());var{locals:M0}=GRo.default,Ysn={createStatusLayerTableHtmlString(t){return{contentHtml:`
            <div style="width: 100%;">${me.i18n(t)}</div>
        `}},createListLayerTableHtmlString(t={}){let e=t.selectedLayerId,i=t.layerList,o="",r="";i.sort((c,d)=>c._gType-d._gType);let n=!0,a=!0;i.forEach((c,d)=>{c.isVisible||(n=!1),c.isLocked||(a=!1)});let s={},l=[Mn.LAYER_GROUP_TAG.TOP,Mn.LAYER_GROUP_TAG.BOTTOM,Mn.LAYER_GROUP_TAG.INNER,Mn.LAYER_GROUP_TAG.OTHER,Mn.LAYER_GROUP_TAG.COMPONENT,Mn.LAYER_GROUP_TAG.D3SHELL];return l.forEach((c,d)=>{let u=i.filter((p,m)=>p._gType==c.value);s[String(c.value)]={isGroupVisible:!0,isGroupLocked:!0},u.forEach((p,m)=>{p.isVisible||(s[String(c.value)].isGroupVisible=!1),p.isLocked||(s[String(c.value)].isGroupLocked=!1)})}),o+=`
            <div data-tagitem="layer-panel-row" class="${M0["layer-panel-row"]} display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap">
                <div class="${M0["active-toggle-btn"]}" style="background-color: transparent; transform: translateX(-18px);"></div>
				<div 
					data-controlitem="toggle-all-visible" 
					class="${M0["visible-toggle-btn"]} ${n?M0["visible-eye-tag"]:M0["hidden-eye-tag"]}" 
					style="transform: translateX(-18px);">
				</div>
				<div 
					class="i18n" 
					i18n="All" 
					style="width: 100%; transform: translateX(-18px);">${me.i18n("All")}
				</div>
				<div 
					data-controlitem="toggle-all-locked" 
					class="${a?M0["locked-toggle-btn"]:M0["unlock-toggle-btn"]}"
				>
                    <span style="display: block;"class="${a?M0["icon-eda-lock"]:M0["icon-eda-unlock"]}"></span>
                </div>
            </div>
        `,l.forEach((c,d)=>{let u=c.value===Mn.LAYER_GROUP_TAG.INNER.value,p=c.value===Mn.LAYER_GROUP_TAG.OTHER.value,m=i.filter((h,f)=>h._gType==c.value);m.forEach((h,f)=>{let g=(h.title||"").replace(/^(3D Shell )/gi,"").trim();if(p&&!Mn.LAYER_GROUP_TAG.OTHER.defautLayerIds.includes(+h.id)){let w=`Custom${+h.id-70}`;h._isNoTranslateI18n=h.title!==w}else if(u){let w=`Inner${+h.id-14}`;h._isNoTranslateI18n=h.title!==w}h._sliderOpened=!ndt.has(+h.id),f<=0&&(o+=`
                        <div data-tagitem="layer-panel-row" class="${M0["layer-panel-row"]} display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap">
							<div 
								data-controlitem="toggle-open-group" 
								data-layerid="${h.id}" 
								data-slider-open="${h._sliderOpened}" 
								class="${M0["active-toggle-btn"]} ${M0["group-slider"]} ${h._sliderOpened?"":M0["group-slider-collapsed"]}" 
								style="background-color: transparent; transform: translateX(-18px);">
							</div>
							<div 
								data-controlitem="toggle-group-visible" 
								data-group-id="${h._gType}" 
								class="${M0["visible-toggle-btn"]} ${s[String(h._gType)].isGroupVisible?M0["visible-eye-tag"]:M0["hidden-eye-tag"]}" 
								style="transform: translateX(-18px);">
							</div>
							<div 
								class="i18n" 
								i18n="${h._gTypeName}" 
								style="width: 100%; transform: translateX(-18px);" data-i18n-context="pcb-layers">${me._context_i18n("pcb-layers",h._gTypeName,null)}
							</div>
							<div 
								data-controlitem="toggle-group-locked" 
								data-group-id="${h._gType}" 
								class="${s[String(h._gType)].isGroupLocked?M0["locked-toggle-btn"]:M0["unlock-toggle-btn"]}"
							>
								<span 
									style="display: block;" 
									class="${s[String(h._gType)].isGroupLocked?M0["icon-eda-lock"]:M0["icon-eda-unlock"]}">
								</span>
                            </div>
                        </div>
                        <div class="layer-content-list" style="${h._sliderOpened?"":"display: none;"}">
                    `);let y=g;h.languageHashtable&&h.languageHashtable[g]&&me.curr==="zh-hans"&&(g=h.languageHashtable[g]),o+=`
					<div 
						data-tagitem="layer-panel-row"
						class="${M0["layer-panel-row"]} display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap ${h.id==e?M0["layer-panel-row-active"]:""}" 
						data-layerid="${h.id}" 
						data-group-id="${h._gType}"
						${h.id==e?'data-tagitem-active="layer-panel-row-active"':""}
					>
						<div 
							data-controlitem="toggle-selected"
							class="${M0["active-toggle-btn"]} ${h.id==e?"pencil3-icon":""}" 
							style="background-color: ${h.bgColor}; opacity: ${h.id==="7"?"0.9":"1"};">
						</div>
						<div 
							data-controlitem="toggle-visible" 
							class="${M0["visible-toggle-btn"]} ${h.isVisible?M0["visible-eye-tag"]:M0["hidden-eye-tag"]}">
						</div>
						<div 
							data-controlitem="toggle-selected" 
							class="${M0["layer-content-show"]}" 
							${h._isNoTranslateI18n?"":'data-i18n-attr="title"'}
						>
							<span>${h.id}</span>
							<span 
								class="${h._isNoTranslateI18n?"":"i18n"}"
								data-i18n-context="pcb-layers"
								${h._isNoTranslateI18n?'noi18n="true"':'i18n="'+y+'"'}>${h._isNoTranslateI18n?g:me._context_i18n("pcb-layers",g,null)}
							</span>							 
						</div>
						<div 
							data-controlitem="toggle-locked" 
							class="${h.isLocked?M0["locked-toggle-btn"]:M0["unlock-toggle-btn"]}"
						>
                            <span style="display: block;" class="${h.isLocked?M0["icon-eda-lock"]:M0["icon-eda-unlock"]}"></span>
                        </div>
                    </div>
                `,f>=m.length-1&&(o+="</div>")})}),r=`
            <div class="${M0["layer-panel-table"]}">${o}</div>
        `,{contentHtml:r}}},rdt=Ysn;function oKt(t,e,i){let o=Array.from(t.querySelectorAll('[data-tagitem="layer-type-tab"]')),r=Array.from(t.querySelectorAll('[data-tagitem="layer-type-panel"]'));for(let n=0;n<o.length;n++){if(n===e){o[n].classList.add(adt);continue}o[n].classList.remove(adt)}for(let n=0;n<r.length;n++){if(n===e){r[n].classList.add(iKt);continue}r[n].classList.remove(iKt)}i&&i(e)}function sdt(t){let e=Array.from(t.querySelectorAll('[data-tagitem="layer-type-tab"]'));for(let i=0;i<e.length;i++)if(e[i].classList.contains(adt))return i;return-1}function YRo(t,e,i){let o=Array.from(t.querySelectorAll('[data-tagitem="layer-type-panel"]'));for(let r=0;r<o.length;r++)if(r===e){o[r].innerHTML=i;break}}function WRo(t,e){let i=Array.from(t.querySelectorAll('[data-tagitem="layer-type-tab"]'));for(let o=0;o<i.length;o++)i[o].addEventListener("click",function(r){oKt(t,o),e.clickCallback&&e.clickCallback(r.currentTarget,o)},!1)}var KRo=L(odt()),{locals:QRo}=KRo.default;function t9(t,e){let i=JRo(t);if(!i)return typeof e>"u"?0:void 0;if(typeof e>"u")return i.scrollTop;i.scrollTop=e}function ZRo(t,e){let i,o=t.querySelector(`[data-layerid="${e}"]`),r=JRo(t),n=r.getBoundingClientRect().toJSON(),s=r.querySelector('[data-tagitem="layer-panel-row"]').getBoundingClientRect().toJSON(),l=o.getBoundingClientRect().toJSON();if(!(n.height<=l.height))return l.top>=n.top&&l.bottom<=n.bottom?r.scrollTop:((l.bottom<=n.top||l.top<n.top&&l.bottom>n.top)&&(i=Math.abs(l.top-s.top)),(l.top>=n.bottom||l.top<n.bottom&&l.bottom>n.bottom)&&(i=Math.abs(l.bottom-n.bottom)+l.height,r.scrollTop>0&&(i+=r.scrollTop)),i||r.scrollTop)}function JRo(t){let e=sdt(t),o=Array.from(t.querySelectorAll(`.${QRo["layer-tabpanel-item"]}`))[e];return o?o.querySelector(`.${QRo["layer-panel-table"]}`):null}var Ux={timeId:null,storage:{globalContainerElement:document.getElementById(`${Mn.attributesAreaContainerDomId}`)},createRender(t=0,e){let i=Nn.layerList.get(e)||[],o=Nn.selectedLayerId.get(e),r=sdt(this.storage.globalContainerElement);if(r<=-1)return;let n=Mn.LAYER_ITEM_PANEL_TITLE_ARR[r];Nn.activeChildTabItemOfLayerTab.set(n);let a=i.filter(c=>c.classification.indexOf(n)>=0),s={},l=[];if(a.length)if(n=="Copper"){let c=JSON.parse(JSON.stringify(a));c.forEach(d=>{Mn.LAYER_GROUP_TAG.OTHER.defautLayerIds.includes(+d.id)||(d._gType=1,d._gTypeName="Copper"),l.push({...d})}),c.sort((d,u)=>u.id=="2"?-1:0),s=rdt.createListLayerTableHtmlString({layerList:c,selectedLayerId:o})}else s=rdt.createListLayerTableHtmlString({layerList:a,selectedLayerId:o}),l=a.map(c=>({...c}));else s=rdt.createStatusLayerTableHtmlString("Load Empty");Nn.showedLayerList.set(e,l),YRo(this.storage.globalContainerElement,r,s.contentHtml),t9(this.storage.globalContainerElement,t)}};var qRo=(t="-")=>({layerSettingSaveAsConfig:{text:"Save As Config...",value:"save-as-config",disabled:!0},layerSettingRenameConfig:{text:"Rename Config...",value:"rename-config",disabled:!0},layerSettingSaveConfig:{text:"Save Config",value:"save-config",disabled:!0},layerSettingDeleteConfig:{text:"Delete Config",value:"delete-config",disabled:!0},layerSettingSaveAsDefault:{text:"Set as default config",value:"Set-as-default-config",disabled:!0},layerSettingBlankOption:{text:"Common",value:"-",disabled:!0},layerProfileSelectedName:t,usrPcbLayerProfile:[],sysPcbLayerProfile:[],isWaitToSave:!1,defaultPcbLayerProfile:t}),g4e={config:{setHidden:[48,49,50,51]}},XRo=[{name:"Top Assembly View",config:{setVisible:[3,5,11]}},{name:"Bottom Assembly View",config:{setVisible:[4,6,11]}},{name:"Only Top Side",config:{setVisible:[1,3,5,7,9,11]}},{name:"Only Bottom Side",config:{setVisible:[2,4,6,8,10,11]}}];function b4e(){let t=Nn.layerPresetHashtable.get()[this.storage.activeTabId],e={selected:t.layerProfileSelectedName,list:JSON.parse(JSON.stringify(t.usrPcbLayerProfile)),defaultPcbLayerProfile:t.defaultPcbLayerProfile};Ks({usrPcbLayerProfile:e})}var nKt=L(Vi());function $Ro(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}function i_o(t){if(!t)return;let e=C.pcbLayersBar;if($Ro(t)=="array"){let i={};t.forEach((r,n)=>{i[r.layerId]=r});let o=Nn.layerList.get(this.storage.activeTabId);o.forEach((r,n)=>{r.isVisible=(i[+r.id]||r).isVisible,rKt(e,r)}),Nn.layerList.set(this.storage.activeTabId,o);return}if($Ro(t)=="object"){let i=Nn.layerList.get(this.storage.activeTabId);t.setHidden&&i.forEach((o,r)=>{t.setHidden.includes(+o.id)?o.isVisible=!1:o.isVisible=!0,rKt(e,o)}),t.setVisible&&i.forEach((o,r)=>{t.setVisible.includes(+o.id)?o.isVisible=!0:o.isVisible=!1,rKt(e,o)}),Nn.layerList.set(this.storage.activeTabId,i);return}}function rKt(t,e){t&&(e.isVisible?t.deleteHiddenId(e.id):t.addHiddenId(e.id))}function o_o(){return Nn.layerList.get(this.storage.activeTabId).map((t,e)=>({layerId:t.id,isVisible:t.isVisible}))}function AF(t){let e=Nn.layerPresetHashtable.get()[this.storage.activeTabId],i=this.storage.globalContainerElement.querySelector('[data-tagitem-input="layer-setting"]'),o=e.sysPcbLayerProfile.map((p,m)=>({text:p.name,value:p.name})),r=e.usrPcbLayerProfile.map((p,m)=>({text:p.name,value:p.name}));t&&t.call(this,e);let n=e.defaultPcbLayerProfile;Wsn(e)||(e.layerProfileSelectedName=n);let s=[Object.assign({},e.layerSettingBlankOption)];s[0].attrs={"data-i18n-context":`${pV}`},s[0].text=uTe;let l=u(s,n);l||(l=u(o,n)),l||(l=u(r,n,!0));let c=l?l.defConf:[];o.length>0&&(o[o.length-1].attrs={style:"border-bottom: 1px solid var(--border-color-panel-divider)","data-i18n-context":`${pV}`}),r.length>0&&(it(r,(p,m)=>{m.text=m.text+"{value}",m.attrs={"data-i18n-context":`${pV}`,"i18n-params-value":""},m.params_i18n={value:""}}),r[r.length-1].attrs.style="border-bottom: 1px solid var(--border-color-panel-divider)");let d=Cno([...c,...s,...o,...r,e.layerSettingSaveAsConfig,e.layerSettingSaveAsDefault,e.layerSettingRenameConfig,e.layerSettingSaveConfig,e.layerSettingDeleteConfig],{offTranslation:!1},e.layerProfileSelectedName);i.innerHTML=d,me.update(i),i.removeAttribute("disabled");function u(p,m,h=!1){let f=Ft(p,"value",m);if(f.index!=-1){let g=p[f.index],b=g.text==="ALL"?uTe:g.text,y=p.splice(f.index,1),w=h?"{value}":"(Default)";return g.text=h?b+w:"{key}"+w,g.attrs=h?{style:"border-bottom: 1px solid var(--border-color-panel-divider)","i18n-params-value":"(Default)","data-i18n-context":`${pV}`}:{style:"border-bottom: 1px solid var(--border-color-panel-divider)","i18n-params-key":b,"data-i18n-context":`${pV}`},{defConf:[g],res:y}}return null}}function Wsn(t){let e=t.layerProfileSelectedName;if(e===t.layerSettingBlankOption.value)return!0;for(let i of t.usrPcbLayerProfile)if(e===i.name)return!0;for(let i of t.sysPcbLayerProfile)if(e===i.name)return!0;return!1}function Qsn(t){let e=Nn.layerPresetHashtable.get()[this.storage.activeTabId],i=Ft(e.usrPcbLayerProfile,"name",t);if(!(i.index<=-1))return e.usrPcbLayerProfile.splice(i.index,1),i}function i9(t){let e=this.storage.globalContainerElement.querySelector('[data-tagitem-input="layer-setting"]');e.value=t}function e_o(t,e){let i=Nn.layerPresetHashtable.get()[this.storage.activeTabId];i.layerProfileSelectedName=t,i.layerSettingSaveAsConfig.disabled=!1,i.layerSettingRenameConfig.disabled=!0,i.layerSettingDeleteConfig.disabled=!0,i.layerSettingSaveConfig.disabled=!0,AF.call(this),i_o.call(this,e),this.methodsGather.updateLayerPanel.call(this),this.methodsGather.dispatchEvent.call(this)}function Ksn(t,e){let i=Nn.layerPresetHashtable.get()[this.storage.activeTabId];i.layerProfileSelectedName=t,i.layerSettingSaveAsConfig.disabled=!1,i.layerSettingRenameConfig.disabled=!1,i.layerSettingDeleteConfig.disabled=!1,i.layerSettingSaveConfig.disabled=!0,AF.call(this),i_o.call(this,e),this.methodsGather.updateLayerPanel.call(this),this.methodsGather.dispatchEvent.call(this)}function y4e(){let t=Nn.layerPresetHashtable.get()[this.storage.activeTabId];t.isWaitToSave=!1;let i=this.storage.globalContainerElement.querySelector('[data-tagitem-input="layer-setting"]');if(i.setAttribute("disabled","disabled"),i.value==t.layerSettingBlankOption.value){e_o.call(this,t.layerSettingBlankOption.value,g4e.config);return}let o=Ft(t.usrPcbLayerProfile,"name",i.value);if(o.index>=0){Ksn.call(this,i.value,o.data.list);return}let r=Ft(t.sysPcbLayerProfile,"name",i.value);r.index>=0&&e_o.call(this,i.value,r.data.config)}function r_o(t){let e=Nn.layerPresetHashtable.get()[this.storage.activeTabId];switch(t.getAttribute("data-tagitem-btn")){case"reset":{y4e.call(this);break}default:}}function t_o(t,e,i=!1){if(t.setAttribute("disabled","disabled"),e.usrPcbLayerProfile.length>=5){Dt({icon:"error",closed:!0,content:me.i18n("No more than 5 custom configurations")}),i9.call(this,e.layerProfileSelectedName),t.removeAttribute("disabled");return}cB({forms:[{type:"input",title:me.i18n("Name"),key:"name",value:me.i18n("Custom Config")+"1",tips:""}]},o=>{let{formData:r}=o.data,n=(r.name||"").trim(),a=!0;if(n||(Dt({icon:"error",closed:!0,content:me.i18n("Please Input Name")}),a=!1),n.length>20&&(Dt({icon:"error",closed:!0,content:me.i18n("The typing cannot over {0} characters.",[20])}),a=!1),!a){i9.call(this,e.layerProfileSelectedName),t.removeAttribute("disabled"),e.isWaitToSave&&Sce.call(this);return}if(Ft(e.usrPcbLayerProfile,"name",n).index>=0){Dt({icon:"error",closed:!0,content:me.i18n("Name already exists")}),i9.call(this,e.layerProfileSelectedName),t.removeAttribute("disabled"),e.isWaitToSave&&Sce.call(this);return}e.usrPcbLayerProfile.push({name:n,list:o_o.call(this)}),e.layerSettingBlankOption.text="ALL",e.layerProfileSelectedName=n,i&&(e.defaultPcbLayerProfile=n),e.layerSettingSaveAsDefault.disable=!1,e.layerSettingSaveAsConfig.disabled=!1,e.layerSettingRenameConfig.disabled=!1,e.layerSettingDeleteConfig.disabled=!1,e.layerSettingSaveConfig.disabled=!0,AF.call(this),e.isWaitToSave=!1,b4e.call(this)},()=>{i9.call(this,e.layerProfileSelectedName),t.removeAttribute("disabled")})}function n_o(t){let e=Nn.layerPresetHashtable.get()[this.storage.activeTabId];switch(t.value){case"rename-config":{t.setAttribute("disabled","disabled"),cB({forms:[{type:"input",title:me.i18n("Name"),key:"name",value:e.layerProfileSelectedName,tips:""}]},i=>{let{formData:o}=i.data,r=(o.name||"").trim(),n=!0;if(r||(Dt({icon:"error",closed:!0,content:me.i18n("Please Input Name")}),n=!1),r.length>20&&(Dt({icon:"error",closed:!0,content:me.i18n("The typing cannot over {0} characters.",[20])}),n=!1),!n){i9.call(this,e.layerProfileSelectedName),t.removeAttribute("disabled"),this.storage.isWaitToSave&&Sce.call(this);return}let a=Qsn.call(this,e.layerProfileSelectedName);if(!a){i9.call(this,e.layerProfileSelectedName),t.removeAttribute("disabled");return}if(Ft(e.usrPcbLayerProfile,"name",r).index>=0){Dt({icon:"warning",closed:!0,content:me.i18n("Name already exists")}),i9.call(this,e.layerProfileSelectedName),t.removeAttribute("disabled"),e.usrPcbLayerProfile.splice(a.index,0,{...a.data});return}e.usrPcbLayerProfile.splice(a.index,0,{...a.data,name:r}),e.layerProfileSelectedName===e.defaultPcbLayerProfile&&(e.defaultPcbLayerProfile=r),e.layerProfileSelectedName=r,e.layerSettingSaveAsConfig.disabled=!1,e.layerSettingRenameConfig.disabled=!1,e.layerSettingDeleteConfig.disabled=!1,e.layerSettingSaveConfig.disabled=!0,AF.call(this),b4e.call(this)},()=>{i9.call(this,e.layerProfileSelectedName),t.removeAttribute("disabled")});break}case"save-as-config":{t_o.call(this,t,e);break}case"save-config":{i9.call(this,e.layerProfileSelectedName);let i=Ft(e.usrPcbLayerProfile,"name",e.layerProfileSelectedName);if(i.index<=-1)return;i.data.list=o_o.call(this),e.layerSettingBlankOption.text="ALL",e.layerSettingSaveAsConfig.disabled=!1,e.layerSettingRenameConfig.disabled=!1,e.layerSettingDeleteConfig.disabled=!1,e.layerSettingSaveConfig.disabled=!0,AF.call(this),e.isWaitToSave=!1,b4e.call(this);break}case"delete-config":{t.setAttribute("disabled","disabled"),Dt({icon:"warning",title:me.i18n("Tips"),closed:!0,showCancel:!0,content:me.i18n("Are you sure you want to delete?"),onConfirm:()=>{let i=Ft(e.usrPcbLayerProfile,"name",e.layerProfileSelectedName);if(i.index<=-1){i9.call(this,e.layerProfileSelectedName),y4e.call(this);return}e.usrPcbLayerProfile.splice(i.index,1),e.layerProfileSelectedName===e.defaultPcbLayerProfile&&(e.defaultPcbLayerProfile=e.layerSettingBlankOption.value),e.layerProfileSelectedName=e.defaultPcbLayerProfile,e.layerSettingSaveAsConfig.disabled=!1,e.layerSettingRenameConfig.disabled=!0,e.layerSettingDeleteConfig.disabled=!0,e.layerSettingSaveConfig.disabled=!0,AF.call(this),y4e.call(this),b4e.call(this)},onCancel:()=>{i9.call(this,e.layerProfileSelectedName),y4e.call(this)},onClose:()=>{i9.call(this,e.layerProfileSelectedName),y4e.call(this)}});break}case"Set-as-default-config":{e.isWaitToSave?t_o.call(this,t,e,!0):(e.defaultPcbLayerProfile=e.layerProfileSelectedName,b4e.call(this),AF.call(this));break}default:y4e.call(this)}}function a_o(){let t=Nn.layerPresetHashtable.get()[this.storage.activeTabId];t.layerSettingBlankOption.disabled=!1,t.usrPcbLayerProfile=JSON.parse(JSON.stringify((C.profileSetting.usrPcbLayerProfile||{}).list||[])),t.sysPcbLayerProfile.length||(t.sysPcbLayerProfile=XRo.map((i,o)=>({...i,text:me.i18n(i.name)}))),[...t.sysPcbLayerProfile.map((i,o)=>i.name),t.layerSettingBlankOption.value].includes(t.layerProfileSelectedName)?(t.layerSettingSaveAsConfig.disabled=!1,t.layerSettingSaveAsDefault.disabled=!1,t.layerSettingRenameConfig.disabled=!0,t.layerSettingDeleteConfig.disabled=!0,t.layerSettingSaveConfig.disabled=!0):(t.layerSettingSaveAsConfig.disabled=!1,t.layerSettingSaveAsDefault.disabled=!1,t.layerSettingRenameConfig.disabled=!1,t.layerSettingDeleteConfig.disabled=!1,t.layerSettingSaveConfig.disabled=!t.isWaitToSave),AF.call(this)}function s_o(){let t=Nn.layerPresetHashtable.get()[this.storage.activeTabId];return![...t.sysPcbLayerProfile.map((i,o)=>i.name),t.layerSettingBlankOption.value].includes(t.layerProfileSelectedName)}function Sce(){let t=Nn.layerPresetHashtable.get()[this.storage.activeTabId];t.isWaitToSave=!0;let i=this.storage.globalContainerElement.querySelector('[data-tagitem-input="layer-setting"]'),o=i.children[i.selectedIndex],r=o.textContent;if(o&&r[0]!="*"){o.textContent=`* ${o.textContent}`;let n=(0,nKt.default)(o).attr("i18n");n&&(0,nKt.default)(o).attr("i18n","* "+n)}}function aKt(t){let e=t.querySelectorAll('[tab-name="globalTab"]');Array.from(e).forEach((i,o)=>{let r=i.querySelector(".tabs-title");r.textContent=me.i18n(r.getAttribute("i18n")?r.getAttribute("i18n"):r.textContent)})}function l_o(t){if(!t)return;let e=t.querySelectorAll("ul.tabs .tabs-title");Array.from(e).forEach((o,r)=>{o.textContent=me._context_i18n("pcb-layers",o.getAttribute("i18n")?o.getAttribute("i18n"):o.textContent,null)});let i=t.querySelectorAll(".layer-content-show");Array.from(i).forEach((o,r)=>{let n=o.lastElementChild;n.getAttribute("noi18n")||(n.textContent=me._context_i18n("pcb-layers",n.getAttribute("i18n")?n.getAttribute("i18n"):n.textContent,null))})}var lKt=L(odt()),cKt=L(sKt());var d_o=L(sKt()),{locals:EQ}=d_o.default;function cdt(t,e,i=null,o=null,r=!1){let n=t;if(typeof t=="string"&&(n=document.querySelector(t)),!n||!e||typeof e!="string"||typeof arguments[2]>"u")return;let a=!!r,s=i,l=o;typeof i=="function"&&(l=i,a=!!o,s=null);let c=function(d){if(!s){l&&l.call(this,d);return}let u=Zsn(s,d.target,n);u&&l&&l.call(u,d,u)};return n.addEventListener(e,c,a),c}function Zsn(t,e,i){try{let o=Array.from(i.querySelectorAll(t));if(!o.length)return null;let r=e;for(;r;){if(r===i.parentElement)return null;if(o.includes(r))return r;r=r.parentElement}return r}catch(o){return console.warn("[ven$bindEvent]: Error finding Element element."),console.warn(o),null}}function Jsn(t,e,i){let o=t;typeof t=="string"&&(o=document.querySelector(t)),!(!o||!e||typeof e!="string"||typeof arguments[2]>"u"||!(i instanceof Function))&&o.removeEventListener(e,i)}var ddt=class{constructor(e){this._hostSelectElement=e,this._isOpened=!1,this._optionPanelClickAction=this.optionPanelClickAction.bind(this),this._optionPanelClickActionResult=null}init(){let e=this;cdt(this._hostSelectElement,"click",function(i){if(i.preventDefault(),e._isOpened){e._isOpened=!1,e.removeOptionView();return}e._isOpened=!0,e.renderOptionView()}),cdt(this._hostSelectElement,"mousedown",function(i){i.preventDefault(),this.focus()}),cdt(this._hostSelectElement,"blur",function(i){e._hostElementBlurTimer=window.setTimeout(()=>{e._isOpened=!1,e.removeOptionView()},150)})}bindPanelEvent(){let e=this._hostSelectElement.getAttribute("data-optionpanel-id"),i=document.getElementById(e);i&&(this._optionPanelClickActionResult=cdt(i,"click","li",this._optionPanelClickAction))}unbindPanelEvent(){let e=this._hostSelectElement.getAttribute("data-optionpanel-id"),i=document.getElementById(e);i&&Jsn(i,"click",this._optionPanelClickActionResult)}renderOptionView(){let e=Mt();this._hostSelectElement.setAttribute("data-optionpanel-id",e);let i=this._hostSelectElement.querySelectorAll("option"),o=this._hostSelectElement.value,r="";r+=`
            <div id="${e}" class="${EQ["presetlist-container"]}">
                <main class="${EQ["presetlist-wrapper"]}">
                    <ul class="${EQ["presetlist-ulist"]}">
        `;let n="";for(let c=0;c<i.length;c++){let d=i[c],u=bz(d.value||d.getAttribute("value")),p=bz(d.getAttribute("data-test")),m=bz(d.getAttribute("i18n")),h=typeof d.selected<"u"?!!d.selected:d.hasAttribute("selected"),f=typeof d.disabled<"u"?!!d.disabled:d.hasAttribute("disabled"),g=d.getAttribute("i18n-params-key"),b=d.getAttribute("data-i18n-context"),y=(typeof h>"u"||h===!1)&&typeof o<"u"&&o===u,w=d.style["border-bottom"]!=="";n+="<li",n+=` value="${u||""}" data-value="${u||""}"`,typeof p<"u"&&(n+=` data-test="${p}"`),typeof m<"u"&&(n+=` i18n="${m}"`),typeof g<"u"&&(n+=` i18n-params-key="${g}"`),typeof b<"u"&&(n+=` data-i18n-context="${b}"`);let x=`${EQ["presetlist-item"]}`;f===!0&&(x+=` ${EQ["presetlist-item-disabled"]}`),(h===!0||y===!0)&&(x+=` ${EQ["presetlist-item-selected"]}`),n+=` class="${x}">`,n+=`<div class="${EQ["presetlist-content"]}">${d.textContent}</div>`,n+="</li>",w&&(n+=`<li class="${EQ["presetlist-separator"]}"></li>`),d.style.display="none"}r+=n+"</ul></main></div>";let a=this._hostSelectElement.getBoundingClientRect().toJSON(),s=document.createRange().createContextualFragment(r);document.body.appendChild(s);let l=document.getElementById(e);l.style.left=`${a.left}px`,l.style.top=`${a.top+a.height}px`,l.style.width=`${a.width-2}px`,l.style.zIndex="9999",this.bindPanelEvent()}removeOptionView(){let e=this._hostSelectElement.getAttribute("data-optionpanel-id"),i=document.getElementById(e);i&&(this.unbindPanelEvent(),i.remove())}optionPanelClickAction(e,i){e.preventDefault();let o=i.getAttribute("value")||i.getAttribute("data-value");if(i.classList.contains(EQ["presetlist-item-disabled"])){window.clearTimeout(this._hostElementBlurTimer),this._hostSelectElement.focus();return}let r=new Event("change",{bubbles:!0});r.simulated=!0,this._hostSelectElement.value=o,this._hostSelectElement.dispatchEvent(r),window.setTimeout(()=>{this._isOpened=!1,this.removeOptionView()},100)}};var{locals:Nm}=lKt.default,{locals:qsn}=cKt.default,adt=Nm["layer-tabs-item-selected"],iKt=Nm["layer-tabpanel-item-selected"],ndt=new Set,vf={storage:{globalContainerElement:document.getElementById(`${Mn.attributesAreaContainerDomId}`),checkIsAllTabItemLayersLockedTimer:null,checkIsAllTabItemLayersVisibleTimer:null,layerPanelTableScrollTop:0,prevAction:""},createRender(){return{titleText:Mn.TAB_TITLE_HASHTABLE.LAYER_TITLE,contentHtml:`
                <!-- \u5C42\u63A7\u9762\u677F -->
				<style>${String(lKt.default)}</style>
				<style>${String(cKt.default)}</style>
                <div class="layer-main" style="width: 100%; height: 100%; position: relative;">	
					<div class="display-flex flex-nowrap" style="position: absolute; left: 0; top: 0; z-index: 9">
						<div style="padding: 8px 0 0 10px;">
							<select class="${qsn["selector-main"]}" data-tagitem-input="layer-setting" style="width: 135px; cursor: pointer;"></select>
						</div>
						<div style="padding: 11px 0 0 5px;">
							<a 
								data-tagitem-btn="reset"
								class="i18n ${Nm["layer-presets-reset-btn"]}" 
								data-test="Reset"
								i18n="Reset" 
							>${me.i18n("Reset")}</a>
						</div>
					</div>
					<div data-tagitem="layer-main-container" class="${Nm["layer-main-container"]}" style="padding-top: 30px;">
						<div class="${Nm["layer-tabheader"]}">
							<div class="${Nm["layer-tab-wrap"]}">
								<ul class="${Nm["layer-tabs-ulists"]}">
									<li 
										data-tagitem="layer-type-tab" 
										class="${Nm["layer-tabs-item"]}"
									>
										<span class="i18n ${Nm["layer-tabs-content"]}" 
											i18n="${Mn.LAYER_ITEM_PANEL_TITLE_ARR[0]}"
											data-test="${Mn.LAYER_ITEM_PANEL_TITLE_ARR[0]}"
											>${me.i18n(Mn.LAYER_ITEM_PANEL_TITLE_ARR[0])}
										</span>
									</li>
									<li 
										data-tagitem="layer-type-tab" 
										class="${Nm["layer-tabs-item"]}"
									>
										<span class="i18n ${Nm["layer-tabs-content"]}" 
											i18n="${Mn.LAYER_ITEM_PANEL_TITLE_ARR[1]}"
											data-test="${Mn.LAYER_ITEM_PANEL_TITLE_ARR[1]}"
											>${me.i18n(Mn.LAYER_ITEM_PANEL_TITLE_ARR[1])}
										</span>
									</li>
									<li 
										data-tagitem="layer-type-tab" 
										class="${Nm["layer-tabs-item"]}"
									>
										<span class="i18n ${Nm["layer-tabs-content"]}" 
											i18n="${Mn.LAYER_ITEM_PANEL_TITLE_ARR[2]}"
											data-test="${Mn.LAYER_ITEM_PANEL_TITLE_ARR[2]}"
											>${me.i18n(Mn.LAYER_ITEM_PANEL_TITLE_ARR[2])}
										</span>
									</li>
								</ul>
							</div>
						</div>
						<div class="${Nm["layer-tabpanel"]}">
							<div data-tagitem="layer-type-panel" class="${Nm["layer-tabpanel-item"]}"></div>
							<div data-tagitem="layer-type-panel" class="${Nm["layer-tabpanel-item"]}"></div>
							<div data-tagitem="layer-type-panel" class="${Nm["layer-tabpanel-item"]}"></div>
						</div>
					</div>
					<div style="position: absolute; right: -10px; top: -1px; display:${ln.isViewerMode?"none":"block"}">
						<span 
							data-controlitem="open-layer-mgr-dialog"
							class="${Nm["open-layermgr-btn"]}"
						>
						</span>
					</div>
                </div>
                <!-- /\u5C42\u63A7\u9762\u677F -->
            `}},initial(){oKt(this.storage.globalContainerElement.querySelector('[data-tagitem="layer-main-container"]'),0),window.setTimeout(()=>{Ux.createRender(this.storage.layerPanelTableScrollTop,this.storage.activeTabId),this.methodsGather.addI18nContextToTabheader.call(this)})},bindEvent(t=new Function){this.storage.callback=t;let e=this,i=this.storage.globalContainerElement.querySelector('[data-tagitem-input="layer-setting"]');new ddt(i).init();let o=this.storage.globalContainerElement.querySelector('[data-tagitem="layer-main-container"]');WRo(o,{clickCallback(){Ux.createRender(e.storage.layerPanelTableScrollTop,e.storage.activeTabId)}});let r=this.storage.globalContainerElement.querySelector(".layer-main");(0,w4e.default)(r).on("change","[data-tagitem-input]",async function(n){n_o.call(e,this)}),(0,w4e.default)(r).on("click","[data-tagitem-btn]",async function(n){r_o.call(e,this)}),(0,w4e.default)(r).on("click","[data-controlitem]",async function(n){let a=-1,s=this.parentElement,l=String(this.getAttribute("data-controlitem")),c=await ei(),d=!1,u=Nn.layerList.get(e.storage.activeTabId),p=Nn.showedLayerList.get(e.storage.activeTabId),m=p.map(f=>f.id);switch((await C.windowBridge.rpcCall("getCanvasParam","",c.contentWindow)).message.grayState==2&&(l==="toggle-visible"?l="toggle-selected":(l==="toggle-all-visible"||l==="toggle-group-visible")&&C.messageBus.publish("justSwitchToNormalBrightness","")),e.storage.prevAction=l,l){case"open-layer-mgr-dialog":{d=!1,Ic("layerOptionsSet");break}case"toggle-selected":{if(e.storage.layerPanelTableScrollTop=t9(e.storage.globalContainerElement),d=!1,a=s.getAttribute("data-layerid"),Nn.selectedLayerId.get(e.storage.activeTabId)===a)return;Array.from(s.parentElement.children).forEach((f,g)=>{f===s?f.classList.add("layer-panel-row-active"):f.classList.remove("layer-panel-row-active")}),Nn.selectedLayerId.set(e.storage.activeTabId,a),t(Qp.SetData.name,Qp.SetData.createResult(Wp.toggleLayerSelected.name,Wp.toggleLayerSelected.createResult({layerid:a})));break}case"toggle-open-group":{d=!1;let f=this.getAttribute("data-slider-open"),g=this.getAttribute("data-layerid"),b=this.parentElement.nextElementSibling;String(f)==="true"?(this.setAttribute("data-slider-open","false"),this.classList.add(Nm["group-slider-collapsed"]),u.forEach((y,w)=>{String(y.id)===String(g)&&(y._sliderOpened=!1)}),(0,w4e.default)(b).slideUp("fast"),ndt.add(+g)):(this.setAttribute("data-slider-open","true"),this.classList.remove(Nm["group-slider-collapsed"]),u.forEach((y,w)=>{String(y.id)===String(g)&&(y._sliderOpened=!0)}),(0,w4e.default)(b).slideDown("fast"),l_o(r),ndt.delete(+g));break}case"toggle-visible":{e.storage.layerPanelTableScrollTop=t9(e.storage.globalContainerElement),d=!0;let f=[];a=s.getAttribute("data-layerid"),u.forEach((g,b)=>{String(g.id)===String(a)&&(g.isVisible=!g.isVisible,f.push({id:a,isVisible:g.isVisible}));let y=C.pcbLayersBar;y&&(g.isVisible?y.deleteHiddenId(g.id):y.addHiddenId(g.id))}),t(Qp.SetData.name,Qp.SetData.createResult(Wp.toggleLayerVisible.name,Wp.toggleLayerVisible.createResult({layerids:[a],layeridarr:f}))),Ux.createRender(e.storage.layerPanelTableScrollTop,e.storage.activeTabId),e.methodsGather.clearTabPanleScrollTop.call(e);break}case"toggle-locked":{e.storage.layerPanelTableScrollTop=t9(e.storage.globalContainerElement),d=!1;let f=[];a=s.getAttribute("data-layerid"),u.forEach((g,b)=>{if(String(g.id)===String(a)){g.isLocked?f.push({id:a,isLocked:!1}):f.push({id:a,isLocked:!0}),g.isLocked=!g.isLocked;let y=C.pcbLayersBar;y&&y.updateLayerLocked(g.id,g.isLocked)}}),t(Qp.SetData.name,Qp.SetData.createResult(Wp.toggleLayerLocked.name,Wp.toggleLayerLocked.createResult({layerids:[a],layeridarr:f}))),Ux.createRender(e.storage.layerPanelTableScrollTop,e.storage.activeTabId),e.methodsGather.clearTabPanleScrollTop.call(e);break}case"toggle-group-visible":{e.storage.layerPanelTableScrollTop=t9(e.storage.globalContainerElement),d=!0;let f=null,g=null,b=[],y=[],w=Nn.activeChildTabItemOfLayerTab.get();f=!this.classList.contains(Nm["visible-eye-tag"]),g=this.getAttribute("data-group-id"),p.forEach((x,S)=>{if(m.indexOf(x.id)>=0){String(x._gType)===String(g)&&x.classification.indexOf(w)>=0&&(x.isVisible=f,b.push(String(x.id)),y.push({id:String(x.id),isVisible:f}));let T=C.pcbLayersBar;T&&(x.isVisible?T.deleteHiddenId(x.id):T.addHiddenId(x.id))}}),u.forEach((x,S)=>{b.indexOf(String(x.id))>=0&&(x.isVisible=f)}),t(Qp.SetData.name,Qp.SetData.createResult(Wp.toggleLayerVisible.name,Wp.toggleLayerVisible.createResult({layerids:b,layeridarr:y}))),Ux.createRender(e.storage.layerPanelTableScrollTop,e.storage.activeTabId),e.methodsGather.clearTabPanleScrollTop.call(e);break}case"toggle-group-locked":{e.storage.layerPanelTableScrollTop=t9(e.storage.globalContainerElement),d=!1;let f=null,g=null,b=[],y=[],w=Nn.activeChildTabItemOfLayerTab.get();f=!this.classList.contains(Nm["locked-toggle-btn"]),g=this.getAttribute("data-group-id"),p.forEach((x,S)=>{if(String(x._gType)===String(g)&&x.classification.indexOf(w)>=0){x.isLocked=f,b.push(String(x.id)),y.push({id:String(x.id),isLocked:f});let T=C.pcbLayersBar;T&&T.updateLayerLocked(x.id,x.isLocked)}}),u.forEach((x,S)=>{b.indexOf(String(x.id))>=0&&(x.isLocked=f)}),t(Qp.SetData.name,Qp.SetData.createResult(Wp.toggleLayerLocked.name,Wp.toggleLayerLocked.createResult({layerids:b,layeridarr:y}))),Ux.createRender(e.storage.layerPanelTableScrollTop,e.storage.activeTabId),e.methodsGather.clearTabPanleScrollTop.call(e);break}case"toggle-all-visible":{e.storage.layerPanelTableScrollTop=t9(e.storage.globalContainerElement),d=!0;let f=null,g=[],b=[];f=!this.classList.contains(Nm["visible-eye-tag"]),u.forEach((y,w)=>{if(m.indexOf(y.id)>=0){y.isVisible=f,g.push(String(y.id)),b.push({id:String(y.id),isVisible:f});let x=C.pcbLayersBar;x&&(y.isVisible?x.deleteHiddenId(y.id):x.addHiddenId(y.id))}}),t(Qp.SetData.name,Qp.SetData.createResult(Wp.toggleLayerVisible.name,Wp.toggleLayerVisible.createResult({layerids:g,layeridarr:b}))),Ux.createRender(e.storage.layerPanelTableScrollTop,e.storage.activeTabId),e.methodsGather.clearTabPanleScrollTop.call(e);break}case"toggle-all-locked":{e.storage.layerPanelTableScrollTop=t9(e.storage.globalContainerElement),d=!1;let f=null,g=[],b=[];f=!this.classList.contains(Nm["locked-toggle-btn"]),u.forEach((y,w)=>{if(m.indexOf(y.id)<=-1)return;y.isLocked=f,g.push(String(y.id)),b.push({id:String(y.id),isLocked:f});let x=C.pcbLayersBar;x&&x.updateLayerLocked(y.id,y.isLocked)}),t(Qp.SetData.name,Qp.SetData.createResult(Wp.toggleLayerLocked.name,Wp.toggleLayerLocked.createResult({layerids:g,layeridarr:b}))),Ux.createRender(e.storage.layerPanelTableScrollTop,e.storage.activeTabId),e.methodsGather.clearTabPanleScrollTop.call(e);break}default:}window.setTimeout(()=>{d&&(s_o.call(e)&&AF.call(e,f=>{f.layerSettingSaveConfig.disabled=!1}),Sce.call(e))})})},methodsGather:{addI18nContextToTabheader(){let t=this.storage.globalContainerElement.querySelector(".layer-main-content");if(!t||t&&!t.firstElementChild)return;let i=t.firstElementChild.querySelectorAll("li");Array.from(i).forEach((o,r)=>{o.querySelector("span").setAttribute("data-i18n-context","pcb-layers")})},updateLayerMgrIcon(){let t=this.storage.globalContainerElement.querySelector('[data-controlitem="open-layer-mgr-dialog"]');je()?t.classList.add(Nm["open-layermgr-btn-disabled"]):t.classList.remove(Nm["open-layermgr-btn-disabled"])},handleLayerList(t=[]){let e=this.storage.globalContainerElement.querySelector('[data-controlitem="open-layer-mgr-dialog"]');je()?e.classList.add(Nm["open-layermgr-btn-disabled"]):e.classList.remove(Nm["open-layermgr-btn-disabled"]);let i=[],o=t.filter((r,n)=>r[3]!=="Ratlines"&&r[4]!==0);return Sc.SINGLE_LAYERS=[],Sc.MULTI_LAYER=[],Sc.PLANE_LAYERS=[],o.forEach((r,n)=>{let a=cbi(r);a._isSignal&&Sc.SINGLE_LAYERS.push(a.id),a._isMulti&&Sc.MULTI_LAYER.push(a.id),a._isPlane&&Sc.PLANE_LAYERS.push(a.id),a._localeExt&&a.languageHashtable&&me.ext({"zh-hans":a.languageHashtable}),i.push(a)}),i},renderLayerPanel(t,e){var s,l;he.getDoctypeByTabId(e)===se.FOOTPRINT&&(t=t.filter(c=>Mn.LAYER_GROUP_TAG.D3SHELL.layerIds.indexOf(+c.id)<=-1)),this.storage.activeTabId=e;let o="";Nn.layerPresetHashtable.get()[e]?o=Nn.layerPresetHashtable.get()[e].defaultPcbLayerProfile:(o=(l=(s=C.profileSetting)==null?void 0:s.usrPcbLayerProfile)==null?void 0:l.defaultPcbLayerProfile,Nn.layerPresetHashtable.get()[e]=qRo(o)),a_o.call(this),Nn.layerList.set(e,t);let r=Nn.layerPresetHashtable.get()[e],n;if(o==r.layerSettingBlankOption.value)n=g4e.config;else{let c=Ft(r.usrPcbLayerProfile,"name",o);if(c.index>=0)n=c.data.list;else{let d=Ft(r.sysPcbLayerProfile,"name",o);d.index>=0&&(n=d.data.config)}}n||(n=g4e.config);let a=this.methodsGather.getCurrentConfig(r);this.methodsGather.setOpenLayerList.call(this,a||n,t),this.methodsGather.isNeedSetSelectViewWaitToSave.call(this)&&Sce.call(this),this.storage.layerPanelTableScrollTop=t9(this.storage.globalContainerElement),Ux.createRender(this.storage.layerPanelTableScrollTop,this.storage.activeTabId),this.methodsGather.clearTabPanleScrollTop.call(this)},setOpenLayerList(t,e){let i;Array.isArray(t)?i=e.find(o=>{let r=Number(o.id),n=t.find(a=>{let s=Number(a.layerId);if(r===s)return!0});if(n)return o.isVisible!==n.isVisible}):(t.setHidden&&t.setHidden.length&&(i=e.find(o=>{let r=Number(o.id),n=t.setHidden.includes(r);if(n&&o.isVisible)return!0;if(!n&&!o.isVisible)return!0})),t.setVisible&&t.setVisible.length&&(i=e.find(o=>{let r=Number(o.id),n=t.setVisible.includes(r);if(n&&!o.isVisible)return!0;if(!n&&o.isVisible)return!0}))),i&&Sce.call(this)},getCurrentConfig(t){for(let e of t.sysPcbLayerProfile)if(e.name===t.layerProfileSelectedName)return e.config;for(let e of t.usrPcbLayerProfile)if(e.name===t.layerProfileSelectedName)return e.list;return null},updateLayerPanel(){Ux.createRender(this.storage.layerPanelTableScrollTop,this.storage.activeTabId),this.methodsGather.clearTabPanleScrollTop.call(this)},dispatchEvent(){let t=Nn.layerList.get(this.storage.activeTabId),e=[],i=[];t.forEach((o,r)=>{i.push({id:o.id,isVisible:o.isVisible,isLocked:o.isLocked}),e.push(o.id)}),this.storage.callback(Qp.SetData.name,Qp.SetData.createResult(Wp.toggleLayerVisible.name,Wp.toggleLayerVisible.createResult({layerids:e,layeridarr:i}))),this.storage.callback(Qp.SetData.name,Qp.SetData.createResult(Wp.toggleLayerLocked.name,Wp.toggleLayerLocked.createResult({layerids:e,layeridarr:i})))},setOneLayerSelected(t,e){Nn.layerList.get(this.storage.activeTabId).forEach((i,o)=>{i.isActive=String(i.id)===t}),Nn.selectedLayerId.set(this.storage.activeTabId,t),e?this.storage.layerPanelTableScrollTop=ZRo(this.storage.globalContainerElement,t):this.storage.layerPanelTableScrollTop=t9(this.storage.globalContainerElement),this.storage.prevAction="toggle-selected",Ux.createRender(this.storage.layerPanelTableScrollTop,this.storage.activeTabId),this.methodsGather.clearTabPanleScrollTop.call(this)},setOneLayerDisplay(t,e){Nn.layerList.get(this.storage.activeTabId).forEach((i,o)=>{if(String(i.id)===t){let r=C.pcbLayersBar;r&&(e==="hide"?(i.isVisible=!1,r.addHiddenId(i.id)):(i.isVisible=!0,r.deleteHiddenId(i.id)))}}),Ux.createRender(this.storage.layerPanelTableScrollTop,this.storage.activeTabId)},setOneLayerLocked(t,e){Nn.layerList.get(this.storage.activeTabId).forEach((i,o)=>{if(String(i.id)===t){e==="locked"?i.isLocked=!0:e==="unlock"&&(i.isLocked=!1);let r=C.pcbLayersBar;r&&r.updateLayerLocked(i.id,i.isLocked)}}),Ux.createRender(this.storage.layerPanelTableScrollTop,this.storage.activeTabId)},setLayersDisplayLocked(t){for(let{layerId:e,show:i,locked:o}of t)Nn.layerList.get(this.storage.activeTabId).forEach((r,n)=>{if(String(r.id)===String(e)){let a=C.pcbLayersBar;a&&(i!=null&&(i?(r.isVisible=!0,a.deleteHiddenId(r.id,r.isLocked)):(r.isVisible=!1,a.addHiddenId(r.id,r.isLocked))),o!=null&&(o?r.isLocked=!0:r.isLocked=!1,a.updateLayerLocked(r.id,r.isLocked)))}});Ux.createRender(this.storage.layerPanelTableScrollTop,this.storage.activeTabId)},isNeedSetSelectViewWaitToSave(){let t=Nn.layerPresetHashtable.get()[this.storage.activeTabId],e=Nn.layerList.get(this.storage.activeTabId);if(t.layerProfileSelectedName==t.layerSettingBlankOption.value){for(let i=0;i<e.length;i++)if(!e[i].isVisible&&!g4e.config.setHidden.includes(+e[i].id))return!0;return!1}},triggerLayerShowStateUpdateByLayerId(t,e){let i=Nn.layerList.get(this.storage.activeTabId),o=this.storage.callback,r=[];i.forEach((n,a)=>{if(String(n.id)===String(t)){n.isVisible=e,r.push({id:t,isVisible:e});let s=C.pcbLayersBar;s&&(n.isVisible?s.deleteHiddenId(n.id):s.addHiddenId(n.id))}}),o(Qp.SetData.name,Qp.SetData.createResult(Wp.toggleLayerVisible.name,Wp.toggleLayerVisible.createResult({layerids:[t],layeridarr:r}))),Ux.createRender(this.storage.layerPanelTableScrollTop,this.storage.activeTabId),this.methodsGather.clearTabPanleScrollTop.call(this)},triggerLayerLockStateUpdateByLayerId(t,e){let i=Nn.layerList.get(this.storage.activeTabId),o=this.storage.callback,r=[];i.forEach((n,a)=>{if(String(n.id)===String(t)){r.push({id:t,isLocked:e}),n.isLocked=e;let s=C.pcbLayersBar;s&&s.updateLayerLocked(n.id,n.isLocked)}}),o(Qp.SetData.name,Qp.SetData.createResult(Wp.toggleLayerLocked.name,Wp.toggleLayerLocked.createResult({layerids:[t],layeridarr:r}))),Ux.createRender(this.storage.layerPanelTableScrollTop,this.storage.activeTabId),this.methodsGather.clearTabPanleScrollTop.call(this)},clearTabPanleScrollTop(){this.storage.layerPanelTableScrollTop=0}}};var Xsn={renderLayerPanel(t){let e=vf.methodsGather.handleLayerList.call(vf,t.array);return vf.methodsGather.renderLayerPanel.call(vf,e,t.tabid),!0},updateLayerMgrIcon(){return vf.methodsGather.updateLayerMgrIcon.call(vf),!0},setLayerSelected(t={}){return vf.methodsGather.setOneLayerSelected.call(vf,t.layerid,t.LayerBartoggleLayer),!0},setLayerDisplay(t={}){return vf.methodsGather.setOneLayerDisplay.call(vf,t.layerid,t.status),!0},setLayerLocked(t={}){return vf.methodsGather.setOneLayerLocked.call(vf,t.layerid,t.status),!0},setLayersDisplayLocked(t=[]){return vf.methodsGather.setLayersDisplayLocked.call(vf,t),!0}};async function AQ(t,e={},i=new Function){let o=Xsn[t];return o?o(e,i):Promise.reject({ret:-1,msg:"\u672A\u77E5\u7684 call.action \u6307\u4EE4",data:null,action:t})}var u_o={storage:{globalContainerElement:document.getElementById(`${Mn.attributesAreaContainerDomId}`)},createRender(){return{titleText:Mn.TAB_TITLE_HASHTABLE.SKETCHER_ATTR_TITLE,contentHtml:`
                <div class="attr-main" style="width: 100%;"></div>
            `}}};var m_o=L(Hr());var h_o=L(z()),p_o=!1,udt={storage:{globalContainerElement:document.getElementById(`${Mn.attributesAreaContainerDomId}`),attrMainElement:null},createRender(){return{titleText:Mn.TAB_TITLE_HASHTABLE.ATTR_TITLE,contentHtml:`
                <!-- \u5C5E\u6027\u9762\u677F -->
                <div class="attr-main" style="width: 100%;">
                    <div class="attr-main-select-content">
                        <!-- \u9009\u4E2D\u6570\u76EE\u63D0\u793A -->
                    </div>
                    <div class="attr-main-attrs-content" style="min-height: 300px;">
                        <!-- \u5C5E\u6027\u6298\u53E0\u9762\u677F -->
                    </div>
                </div>
                <!-- /\u5C5E\u6027\u9762\u677F -->
            `}},initial(){p_o||(this.storage.attrMainElement=this.storage.globalContainerElement.querySelector(".attr-main"),m_o.default.createRoot(this.storage.attrMainElement).render((0,h_o.jsx)(Cpe,{})),p_o=!0,this.storage.attrMainElement.addEventListener("scroll",this.methodsGather.attrMainScrollHandler.bind(this)))},bindEvent(t=new Function){},methodsGather:{attrMainScrollHandler(t){let e=document.activeElement;if(!e||!this.storage.attrMainElement.contains(e))return;e.getAttribute("data-attr-key")==="attr-select-net"&&e.blur()}}};var dKt=L(Hr());var uKt=L(z()),f_o=!1,C4e={storage:{setTwoColumnOnWidth:240,globalContainerElement:document.getElementById(`${Mn.attributesAreaContainerDomId}`),checkIsAllTabItemCheckedTimer:null,canvasTabHashtable:{}},createRender(){return{titleText:Mn.TAB_TITLE_HASHTABLE.ELEMENT_TITLE,contentHtml:`
                <!-- \u5143\u7D20\u9762\u677F -->
                <div class="element-main" style="width: 100%;">
                    <div class="element-main-content" style="width: 100%;" for-working="16"></div>
					<div class="element-main-content" style="width: 100%;" for-working="17"></div>
                </div>
                <!-- /\u5143\u7D20\u9762\u677F -->
            `}},initial(){if(!f_o){let t=this.storage.globalContainerElement.querySelector('.element-main-content[for-working="16"]'),e=dKt.default.createRoot(t);e.render((0,uKt.jsx)(Lvi,{})),t=this.storage.globalContainerElement.querySelector('.element-main-content[for-working="17"]'),e=dKt.default.createRoot(t),e.render((0,uKt.jsx)(Tvi,{})),f_o=!0}},bindEvent(t=new Function){},methodsGather:{execFilterCallback(t,e){e(Qp.SetData.name,Qp.SetData.createResult(Wp.toggleElementFilter.name,Wp.toggleElementFilter.createResult({primitive:t})))},resetElementItemsLayout(){let e=he.getActiveTab();if(!this.storage.isElementsListReady||!e)return;let i=this.storage.globalContainerElement.querySelector(".element-main"),o=i.parentElement,r=i.querySelectorAll('[data-tagitem="element-items-wrapper"]');i.removeAttribute("double-column"),Array.from(r).forEach(n=>{n.classList.remove("double-column")}),this.storage.canvasTabHashtable[e]=i.getBoundingClientRect().height,o.getBoundingClientRect().height-10<(this.storage.canvasTabHashtable[e]||0)&&o.clientWidth>=this.storage.setTwoColumnOnWidth&&(i.setAttribute("double-column","true"),Array.from(r).forEach(n=>{n.classList.add("double-column")}))}}};var Mce={tabId:""};var Qy={storage:{globalContainerElement:document.getElementById(`${Mn.attributesAreaContainerDomId}`),isInitialTrigger:!0},createRender(){let t=udt.createRender(),e=vf.createRender(),i=C4e.createRender(),o=u_o.createRender();hTe(this.storage.globalContainerElement,"pcb-layer",e.contentHtml,{tabName:Mn.globalTabTag}),hTe(this.storage.globalContainerElement,"pcb-filter",i.contentHtml,{tabName:Mn.globalTabTag}),hTe(this.storage.globalContainerElement,"pcb-attr",t.contentHtml,{tabName:Mn.globalTabTag}),hTe(this.storage.globalContainerElement,"pcb-sketcher-attr",o.contentHtml,{tabName:Mn.globalTabTag})},initial(){udt.initial(),vf.initial(),C4e.initial(),window.setTimeout(()=>{aKt(this.storage.globalContainerElement)})},bindEvent(t=new Function){let e=this;Br.PcbTabOnSelect=i=>{i!=="pcb-sketcher-attr"&&(Mce.tabId=i),e.storage.isInitialTrigger&&(e.storage.isInitialTrigger=!1,It.setTabDisplayNone(Br.id,"pcb-sketcher-attr",!0)),Nn.mode.get()==="COMMON"&&(It.setTabDisplayNone(Br.id,"pcb-sketcher-attr",!0),It.setTabDisplayNone(Br.id,"pcb-attr",!1),Nn.activeTabItem.set(i),Nn.prevActiveTabItem.set(i),aKt(e.storage.globalContainerElement),i==="pcb-filter"&&C4e.methodsGather.resetElementItemsLayout.call(C4e)),Nn.mode.get()==="MEASURE"&&(It.setTabDisplayNone(Br.id,"pcb-attr",!0),It.setTabDisplayNone(Br.id,"pcb-sketcher-attr",!1))},udt.bindEvent(t),vf.bindEvent(t),C4e.bindEvent(t)},methodsGather:{setAttrTabActive(){It.setTabDisplayNone(Br.id,"pcb-sketcher-attr",!0),Nn.activeTabItem.get()!=="pcb-attr"&&Br.handleClick("pcb-attr")},setLayerTabActive(){Nn.activeTabItem.get()!=="pcb-layer"&&Br.handleClick("pcb-layer")},setElementTabActive(){Nn.activeTabItem.get()!=="pcb-filter"&&Br.handleClick("pcb-filter")},setAnnotationTabActive(){var t;Nn.activeTabItem.get()!==Mn.TAB_TITLE_HASHTABLE.ANNOTATION_TITLE&&((t=Rx())==null||t.setTabActive())},setTargetTabActive(t){Nn.activeTabItem.get()!==t&&Br.handleClick(t)},updateAcoordinate(t=0,e=0,i=0,o=0,r=0,n=0,a=""){let s=document.getElementById("cordinateMouseX"),l=document.getElementById("cordinateMouseY"),c=document.getElementById("cordinateMouseDX"),d=document.getElementById("cordinateMouseDY"),u=document.getElementById("cordinateMouseRealXY");s.innerHTML=`${t}${a||""}`,l.innerHTML=`${e}${a||""}`,c.innerHTML=`${r}${a||""}`,d.innerHTML=`${n}${a||""}`,u.innerHTML=`${i}mil, ${o}mil`,s.setAttribute("value",`${t}${a||""}`),l.setAttribute("value",`${e}${a||""}`),c.setAttribute("value",`${r}${a||""}`),d.setAttribute("value",`${n}${a||""}`),u.setAttribute("realx",i.toString()),u.setAttribute("realy",o.toString())},updateS(t){t=Number(t*100).toFixed(0),document.getElementById("cordinateS").innerHTML=`${t+"%"}`},updateG(t,e,i){document.getElementById("cordinateG").innerHTML=`${t+", "+e}${i||""}`},setAllFormComponentDisabled(){let t=this.storage.globalContainerElement,e=Array.from(t.querySelectorAll("textarea[data-attritem-input]")),i=Array.from(t.querySelectorAll("input[data-attritem-input]")),o=Array.from(t.querySelectorAll("select[data-attritem-input]"));[...e,...i,...o].forEach((n,a)=>{n.setAttribute("disabled","disabled")})}}};function hb(){this.handlers={},this.collapseStatus={}}hb.prototype.initial=function(){Qy.createRender(),this.setLayerTabActive(),Qy.initial(),Qy.bindEvent((t,e)=>{this._emit(t,e)})};hb.prototype.setLayerTabActive=function(){Qy.methodsGather.setLayerTabActive.call(Qy)};hb.prototype.setAttrTabActive=function(){Qy.methodsGather.setAttrTabActive.call(Qy)};hb.prototype.setElementTabActive=function(){Qy.methodsGather.setElementTabActive.call(Qy)};hb.prototype.handleAction=function(t="",e={},i=new Function){if(t)return AQ(t,e,i)};hb.prototype.renderLayerPanel=function(t){return AQ("renderLayerPanel",t)};hb.prototype.updateLayerMgrIcon=function(){return AQ("updateLayerMgrIcon")};hb.prototype.setLayerSelected=function(t,e){String(t)&&AQ("setLayerSelected",{layerid:String(t),LayerBartoggleLayer:e}).catch(i=>{throw i})};hb.prototype.setLayerDisplay=function(t,e){String(t)&&AQ("setLayerDisplay",{layerid:String(t),status:e}).catch(i=>{throw i})};hb.prototype.setLayersDisplayLocked=function(t=[]){Array.isArray(t)&&AQ("setLayersDisplayLocked",t).catch(e=>{throw e})};hb.prototype.setLayerLocked=function(t,e){String(t)&&AQ("setLayerLocked",{layerid:String(t),status:e}).catch(i=>{throw i})};hb.prototype.updateAcoordinate=function(t=0,e=0,i=0,o=0,r=0,n=0,a,s=""){Qy.methodsGather.updateAcoordinate.call(Qy,t,e,i,o,r,n,s),Qy.methodsGather.updateS.call(Qy,a)};hb.prototype.updateSG=function(t,e,i,o=""){Qy.methodsGather.updateS.call(Qy,t),Qy.methodsGather.updateG.call(Qy,e,i,o)};hb.prototype.deletePrimitiveTypeListKey=function(t=""){Nn.primitiveTypeList.delete(t)};hb.prototype.setAllFormComponentDisabled=function(){Qy.methodsGather.setAllFormComponentDisabled.call(Qy)};hb.prototype.clearLayerSelectProfileCache=function(t){let e=Nn.layerPresetHashtable.get();Nn.layerPresetHashtable.set((delete e[t],e))};hb.prototype.triggerLayerShowStateUpdateByLayerId=function(t,e){vf.methodsGather.triggerLayerShowStateUpdateByLayerId.call(vf,t,e)};hb.prototype.triggerLayerLockStateUpdateByLayerId=function(t,e){vf.methodsGather.triggerLayerLockStateUpdateByLayerId.call(vf,t,e)};hb.prototype.on=function(t,e=new Function){!t||typeof e!="function"||(this.handlers[t]||(this.handlers[t]=[]),this.handlers[t].push(e))};hb.prototype._emit=function(){if(this.handlers[arguments[0]])for(let t=0;t<this.handlers[arguments[0]].length;t++)this.handlers[arguments[0]][t]&&this.handlers[arguments[0]][t].call(this,arguments[1])};var b_o=hb;function y_o(t,e={}){t&&(t.addEventListener("keydown",function(i){e.keydownAction&&e.keydownAction(i)},!0),t.addEventListener("keyup",function(i){e.keyupAction&&e.keyupAction(i)},!0))}var w_o=null;function x_o(){if(C.pcbMainAttrPanel){console.warn("An instance of the Attribute-Panel already exists");return}let t=new b_o;return C.pcbMainAttrPanel=t,t.initial(),C.messageBus.subscribe("userLanguageChanged",({lang:e})=>{let i=he.getActiveTabData();i&&(i.data.doctype===se.PCB||i.data.doctype===se.FOOTPRINT)&&da.data&&vZ(da.mapBlendedData[da.callScene]).then(o=>{da.update(o,da.callScene)})}),C.messageBus.subscribe("ui/groupCollapseChange",function(e){e.callScene==="ATTR_PANEL"&&(t.collapseStatus[e.title]=e)}),t.on("ClickEvent",async e=>{console.log("\u76D1\u542C: ClickEvent, \u83B7\u53D6\u53C2\u6570: ",e)}),t.on("DrawCanvas",e=>{console.log("\u76D1\u542C: DrawCanvas, \u83B7\u53D6\u53C2\u6570: ",e),C.messageBus.publish("buttomCommand",e)}),t.on("GetData",e=>{console.log("\u76D1\u542C: GetData, \u83B7\u53D6\u53C2\u6570: ",e)}),t.on("SetData",e=>{console.log("\u76D1\u542C: SetData, \u83B7\u53D6\u53C2\u6570: ",e);let i=Xi();if(e.action==="togglePrimitiveCheckedByPanel"){C.windowBridge.publish("togglePrimitiveCheckedByPanel",e.data,i.contentWindow);return}if(e.action==="modifyPrimitiveDataByPanel"){C.windowBridge.publish("attrUpdate",e.data,i.contentWindow);return}if(e.action==="toggleElementFilter"){C.windowBridge.publish("toggleElementFilter",e.data,i.contentWindow);return}if(e.action==="toggleLayerSelected"){C.windowBridge.publish("toggleLayerSelected",e.data,i.contentWindow);return}if(e.action==="toggleLayerVisible"||e.action==="toggleLayerLocked"){C.windowBridge.publish("toggleLayerState",e.data,i.contentWindow);return}C.windowBridge.publish("setData",e,i.contentWindow)}),C.messageBus.subscribe("attributePlane",e=>{window.clearTimeout(w_o),w_o=window.setTimeout(()=>{let i=he.getActiveTabData();if(i&&i.data&&[se.PCB,se.FOOTPRINT].indexOf(i.data.doctype)<=-1||(!da.hasBindCaptureEvent&&document.getElementById(sA)&&(da.hasBindCaptureEvent=!0,y_o(document.getElementById(sA),{keydownAction(n){n.keyCode===9&&(da.tabKeyPressed=!0)},keyupAction(n){da.tabKeyPressed=!1}})),console.warn(e,Mce.tabId),(0,C_o.default)("#pcb-attribute-manager").show(),ET.closeProjectAttrPanel(),R1e))return;let{blendedData:o,primitiveTypeList:r}=e;O2.updateTarget(r),Aq(e).then(n=>{var a;for(let s=0;s<n.groups.length;s++)n.groups[s].collapsed=(t.collapseStatus[n.groups[s].title]?t.collapseStatus[n.groups[s].title].status:"open")!=="open";if(da.update(n,"ATTR_PANEL"),It.setTabDisabled(Br.id,"pcb-attr",!1),o.triggerFrom!=="ATTR_PLANE_UPDATE"&&(da.bluredKey=""),Nn.mode.get()!=="COMMON"){window.setTimeout(Z6);return}if(o.Annotation){let s=o.Annotation.id;Rx().selectAnnotationBlock(s),window.setTimeout(Z6);return}if(_t&&((a=Rx())==null||a.selectAnnotationBlock(null,!1)),o.primitive.length===1&&o.primitive[0]==="PCB"){let s=e.activeTabId||Br.clickedTabId;It.setTabDisabled(Br.id,"pcb-attr",!1),It.setTabDisplayNone(Br.id,s,!1),Br.handleClick(s),window.setTimeout(Z6);return}(o.triggerFrom==="COMMON"||o.triggerFrom==="ATTR_PLANE_UPDATE")&&(It.setTabDisplayNone(Br.id,"pcb-attr",!1),Br.handleClick("pcb-attr")),window.setTimeout(Z6)})})}),C.messageBus.subscribe("mouseAcoordinate",e=>{C.messageBus.publish("ui/canvasMousePosition",{x:String(e.mouseX),y:String(e.mouseY),dx:String(e.deltaX),dy:String(e.deltaY),absX:e.realXMil.toFixed(2),absY:e.realYMil.toFixed(2),showUnit:e.unit})}),C.messageBus.subscribe("setSG",e=>{var i;vC()&&(C.messageBus.publish("ui/canvasInfo",{tabId:e.tabId,scaleValue:Number(e.scale*100).toFixed(0),unitValue:(i=`unit(${e.unit})`)!=null?i:"unit(mil)"}),C.messageBus.publish("ui/pcb/canvasGridSize",{gridX:e.gridX,gridY:e.gridY,polarAngleStep:e.polarAngleStep,polarRadiuStep:e.polarRadiuStep,unit:e.unit}))}),C.messageBus.subscribe("renderElementPanel",e=>{C.messageBus.publish("renderAttributeFilterPanel",{docType:e.config.doctype,systemConfig:e.config.systemConfig,userConfig:e.config.userConfig,currentConfig:e.data,currentSelected:e.config.selected})}),C.messageBus.subscribe("renderLayerPanel",async e=>{let i=d0();t.renderLayerPanel(e).then(r=>{}).catch(r=>{console.warn("renderLayerPanel error",r)});let o=C.pcbLayersBar;if(o){let r=[],n=[];e.array.forEach(a=>{[1,2].indexOf(+a[4])>=0&&(r.push({id:String(a[1]),title:String(a[3]),color:String(a[5]),layerType:a[2],isLock:a[9],isShow:a[4]===1}),a[4]!==1&&n.push(String(a[1])))}),o.updateLayerList(r),o.updateHiddenIds(n),window.setTimeout(()=>{T1e(i.commSystemSetting)})}}),C.messageBus.subscribe("updateLayerMgrIcon",()=>{t.updateLayerMgrIcon().then(e=>{}).catch(e=>{console.warn("updateLayerMgrIcon error",e)})}),C.messageBus.subscribe("setActive",async e=>{var i,o;e!==null&&typeof e=="object"?(t.setLayerSelected(e.activeLayer,e.LayerBartoggleLayer),(i=C.pcbLayersBar)==null||i.updateLayerSelected([String(e.activeLayer)])):(t.setLayerSelected(e),(o=C.pcbLayersBar)==null||o.updateLayerSelected([String(e)]))}),C.messageBus.subscribe("setLayerStatus",e=>{t.setLayerDisplay(e.layerId,e.status)}),C.messageBus.subscribe("setActiveTab",e=>{if(Ho.setTopBarItemChecked("toolbar_toggle(rightbar)"),typeof e=="string"){if(e==="LAYER"){t.setLayerTabActive();return}e==="ELEMENT"&&(Pn("layout_toggler_right",!1,!0),t.setElementTabActive(),C.openRightPanel=!0,setTimeout(()=>{delete C.openRightPanel},1500));return}if(typeof e=="object"){if(e.tabName==="LAYER"){t.setLayerTabActive(),e.determinedAsTruthClick&&(Br.clickedTabId="pcb-layer");return}e.tabName==="ELEMENT"&&(Pn("layout_toggler_right",!1,!0),t.setElementTabActive(),C.openRightPanel=!0,e.determinedAsTruthClick&&(Br.clickedTabId="pcb-filter"),setTimeout(()=>{delete C.openRightPanel},1500));return}}),C.messageBus.subscribe("layerStatus",e=>{t.setLayersDisplayLocked(e)}),C.messageBus.subscribe("editPageClose",e=>{t.deletePrimitiveTypeListKey(e.uuid)}),he.$on(r2.TOGGLE_TAB_ACTIVE,async function(e){var n;let{tabid:i}=e,o=he.getTabById(i),r=(n=o==null?void 0:o.data)==null?void 0:n.doctype;[String(se.PCB),String(se.FOOTPRINT)].includes(String(r))&&t.setAllFormComponentDisabled()}),he.$on(r2.CLOSE_TAB,function(e){t.clearLayerSelectProfileCache(e.tabid)}),C.messageBus.subscribe("setPCBAttributeLayerActive",function(){t&&t.setLayerTabActive(),Pn("layout_toggler_right",!1)}),t}var T_o=L(Hr());var S_o=L(z()),pKt;function mKt(t={}){return{storage:{$handleContainerElement:null,...t},createRender(e={}){return{contentHtml:`
                    <div class="attr-main" id="${this.storage.containerId}">
                    </div>
                `}},async render(e={}){},initial(e={}){if(!pKt){let i=document.getElementById(`${this.storage.containerId}`);pKt=T_o.default.createRoot(i)}pKt.render((0,S_o.jsx)(rPo,{data:e}))},bindEvent(){},methodsGather:{}}}var NQ=new um,x4e={DIALOG_BASE_ACTION:"ATTR_PANEL_BASEACTION"};function SEe(){this.handlers={}}SEe.prototype.$on=function(t,e){!t||typeof e!="function"||(this.handlers[t]||(this.handlers[t]=[]),this.handlers[t].push(e))};SEe.prototype.$onceOn=function(t,e){!t||typeof e!="function"||(this.handlers[t]||(this.handlers[t]=new Array(1)),this.handlers[t]=[e])};SEe.prototype.$emit=function(){if(this.handlers[arguments[0]])for(let t=0;t<this.handlers[arguments[0]].length;t++)this.handlers[arguments[0]][t]&&this.handlers[arguments[0]][t].call(this,arguments[1])};SEe.prototype.$clearEvent=function(t){!t||!this.handlers[t]||(this.handlers[t]=[])};var T4e=SEe;function hKt(t,e){let i=t.data,o={head:{action:t.action,primitive:t.primitive},body:{[t.primitive]:{[i.key]:i.value}}};e.$emit(t.action,o)}function S4e(t,e){let i=t.storage,o=t.methodsGather||{},r=e.$on.bind(e),n=e.$clearEvent.bind(e),a=e.$onceOn.bind(e);return{storage:i,methodsGather:o,$on:r,$onceOn:a,$clearEvent:n}}async function fKt(t={},e){let i=e,o={...t},r=mKt({eventBusNameSpace:i,containerId:"leftAttributePanelContainer"}),n=new T4e;return await r.render(o),NQ.clearNameSpace(i),NQ.on(x4e.DIALOG_BASE_ACTION,a=>{hKt({...a,primitive:o.head.primitive},n)},i),r.initial(o),r.bindEvent(),S4e(r,n)}var L_o=L(Hr());var Zte=L(Se());var kQ=L(z()),M_o=(t,e)=>{let i=document.getElementById(t);if(i){let o=i.getBoundingClientRect().toJSON();e(o)}},I_o=t=>{let{data:e,appContainerElementId:i}=t,{layerList:o,list:r}=e,[n,a]=(0,Zte.useState)(512),s=o.map(T=>({value:T.name,text:T.name})),l=y(o),c=iA(l),d=J(),[u,p]=(0,Zte.useState)(w()),[m,h]=(0,Zte.useState)(-1),[f,g]=(0,Zte.useState)([]),[b]=kJ({callback:()=>{h(-1)}});(0,Zte.useEffect)(()=>{p(w());let T=x(e.list);g(T),T.length<=0&&h(-1)},[e]);function y(T){let M={};for(let I=0;I<T.length;I++)M[T[I].id]=T[I].name;return M}function w(){let T=[];for(let M=0;M<r.length;M++){let{number:I,layerId:A,centerX:D,centerY:E,angle:N,id:R,padLen:v}=r[M];T.push({index:M,number:I,layer:l[A],centerX:D,centerY:E,angle:N,id:R,padLen:v})}return T}function x(T){let M=[];for(let I=0;I<T.length;I++)T[I].select&&M.push(I);return M}let S=[{key:"number",name:d("Number"),width:.15,render:T=>{let{editingRowNumbers:M,rowNumber:I,row:A,colKey:D,tableData:E,clickObj:N}=T;if(M.includes(I)){let{id:R}=A;return(0,kQ.jsx)(Kt,{enterTriggerBlur:!0,defaultValue:A.number,selected:N.colKey==="number",onBlur:(v,k)=>{let P=v.target.value;if(N.colKey!=="number"||P===A.number||!/^[a-zA-Z0-9.]+$/.test(String(P)))return;h(-1);let O=Xi();C.windowBridge.publish("panelModifyPad",{id:R,key:"number",value:String(P).toLocaleUpperCase()},O.contentWindow),A.number=P,k(P)}})}}},{key:"layer",name:d("Layer"),width:.15,i18n:!0,render:T=>{let{editingRowNumbers:M,rowNumber:I,row:A,colKey:D,tableData:E}=T;if(M.includes(I)){let{id:N}=A;return(0,kQ.jsx)(xt,{value:A.layer,list:s,onChange:R=>{let v=Xi();C.windowBridge.publish("panelModifyPad",{id:N,key:"layerId",value:+c[R]},v.contentWindow),A.layer=R,E[I]=A,p(E)}})}}},{key:"centerX",name:d("Center X"),width:.15,render:T=>{let{editingRowNumbers:M,rowNumber:I,row:A,colKey:D,tableData:E,clickObj:N}=T;if(M.includes(I)){let{id:R}=A;return(0,kQ.jsx)(Kt,{enterTriggerBlur:!0,defaultValue:A.centerX,selected:N.colKey==="centerX",onBlur:(v,k)=>{let P=$s(v.target.value);if(isNaN(P)||N.colKey!=="centerX"||P===A.centerX)return;h(-1);let O=Xi();C.windowBridge.publish("panelModifyPad",{id:R,key:"centerX",value:P},O.contentWindow),A.centerX=P,k(P)}})}}},{key:"centerY",name:d("Center Y"),width:.15,render:T=>{let{editingRowNumbers:M,rowNumber:I,row:A,colKey:D,tableData:E,clickObj:N}=T;if(M.includes(I)){let{id:R}=A;return(0,kQ.jsx)(Kt,{enterTriggerBlur:!0,defaultValue:A.centerY,selected:N.colKey==="centerY",onBlur:(v,k)=>{let P=$s(v.target.value);if(isNaN(P)||N.colKey!=="centerY"||P===A.centerY)return;h(-1);let O=Xi();C.windowBridge.publish("panelModifyPad",{id:R,key:"centerY",value:P},O.contentWindow),A.centerY=P,k(P)}})}}},{key:"angle",name:d("Angle"),width:.2,render:T=>{let{editingRowNumbers:M,rowNumber:I,row:A,colKey:D,tableData:E,clickObj:N}=T;if(M.includes(I)){let{id:R}=A;return(0,kQ.jsx)(Kt,{defaultValue:A.angle,enterTriggerBlur:!0,selected:N.colKey==="angle",onBlur:(v,k)=>{let P=$s(v.target.value);if(isNaN(P)||N.colKey!=="angle"||P===A.angle)return;h(-1);let O=P<0?P%360+360:P%360,_=Xi();C.windowBridge.publish("panelModifyPad",{id:R,key:"angle",value:O},_.contentWindow),A.angle=P,k(P)}})}}},{key:"padLen",name:d("Pin length"),width:.2,render:T=>{let{editingRowNumbers:M,rowNumber:I,row:A,colKey:D,tableData:E,clickObj:N}=T;if(M.includes(I)){let{id:R}=A;return(0,kQ.jsx)(Kt,{enterTriggerBlur:!0,defaultValue:A.padLen,selected:N.colKey==="padLen",onBlur:(v,k)=>{let P=$s(v.target.value);if(isNaN(P)||N.colKey!=="padLen"||P===A.padLen)return;h(-1);let O=Xi();C.windowBridge.publish("panelModifyPad",{id:R,key:"padLen",value:P},O.contentWindow),A.padLen=P,k(P)}})}}}];return(0,Zte.useEffect)(()=>{M_o(i,M=>{a(M.height)});let T=C.messageBus.subscribe("layoutRightAttributesModify",()=>{M_o(i,M=>{a(M.height)})});return()=>{T&&T.cancel()}},[]),(0,kQ.jsx)("div",{ref:b,onClick:()=>{h(-1)},children:(0,kQ.jsx)(xi,{editingRowNumbers:[m],selectedRowNumbers:f,height:n,style:{width:"100%",height:"100%"},stockade:!0,index:"index",columns:S,rows:u,border:!0,onClick:T=>{let{clickObj:M,row:I,selectedRowNumbers:A,tableData:D}=T;if(M.clickCount==1){let E=Xi();C.windowBridge.publish("panelSelectPad",A.map(N=>D[N].id),E.contentWindow),M.rowNumber!==m&&h(-1),f.includes(M.rowNumber)&&h(M.rowNumber),g(A)}else M.clickCount==2&&h(M.rowNumber)}})})};var v_o=L(z()),gKt;function bKt(t={}){return{storage:{$handleContainerElement:null,...t,selectFrom:"",selectRowNum:0,iframeInnerConatinerId:"padTable"},createRender(e={}){return{contentHtml:`
                    <div class="attr-main" id="${this.storage.containerId}" style="height: 100%; overflow-y: hidden;"></div>
                `}},async render(e={}){let i=document.getElementById(`${this.storage.containerId}`);i.style.width="100%",i.style.height="100%"},initial(e={}){},update(e={}){this.storage.componentContainerElement=document.getElementById(`${this.storage.containerId}`),gKt||(gKt=L_o.default.createRoot(this.storage.componentContainerElement)),gKt.render((0,v_o.jsx)(I_o,{data:e,appContainerElementId:this.storage.containerId}))},bindEvent(){},methodsGather:{}}}function yKt(t,e){e.$emit(t.action,t)}var pdt=null,M4e=null,wKt=!1;async function CKt(t={},e){let i={...JSON.parse(JSON.stringify({layerList:[{id:1,name:"Top Layer"},{id:2,name:"Bottom Layer"},{id:12,name:"Multi-Layer"}]})),...JSON.parse(JSON.stringify(t))},o=e;if(wKt)return;if(pdt)return M4e.update(i),pdt;wKt=!0,M4e=bKt({eventBusNameSpace:o,containerId:"leftPadListPanelContainer"});let r=new T4e;return await M4e.render(i),NQ.clearNameSpace(o),NQ.on(x4e.DIALOG_BASE_ACTION,n=>{yKt(n,r)},o),M4e.initial(i),M4e.bindEvent(),pdt=S4e(M4e,r),wKt=!1,pdt}var mdt=L(Vi());var Vx=L(Vi()),D_o=L(Hr());function Ice(t,e=39.37,i=10){return li.toFixed(np.convert(t,e,i),5)}var A_o=L(z()),$sn=function(t={}){};function xKt(t={}){return $sn(t),{storage:{$handleContainerElement:null,...t},createRender(e={}){return{contentHtml:`
                    <div id="${this.storage.containerId}">
                        ${this.methodsGather.createPanelHtml.apply(this)}
                    </div>
                `}},async render(e={}){let i=document.getElementById(`${this.storage.containerId}`);i.outerHTML=this.createRender({...this.storage,...e}).contentHtml},initial(e={}){if(this.methodsGather.isUseNewPropertyPanel()){let i=document.getElementById(`${this.storage.containerId}`);D_o.default.createRoot(i).render((0,A_o.jsx)(v6o,{}));return}this.storage.contentData=e,this.storage.$handleContainerElement=(0,Vx.default)(`#${this.storage.containerId}`)},bindEvent(){if(this.methodsGather.isUseNewPropertyPanel())return;let e=this;this.storage.$handleContainerElement.on("click",".selection .item",function(){let o=(0,Vx.default)(this).attr("model-name");Cp.currentModeName=o,e.methodsGather.changePanel.call(e,!1),Cp.lastModeName=o}).on("click",".reference, span.back",o=>{Cp.lastModeName=Cp.currentModeName,Cp.currentModeName="",e.methodsGather.changePanel.call(e,!0)}).on("input.multi",o=>{let r=(0,Vx.default)(o.target);if(!r.hasClass("multi"))return;let n=r.attr("checked");r.parent().parent().parent().find("div.line:not(.checkbox)").css("display",n?"":"none")}).on("click","span.multi-span",o=>{let r=(0,Vx.default)(o.target).parent().find("input.multi");if(!r.hasClass("multi"))return;let n=!r.prop("checked");r.prop("checked",n),r.parent().parent().parent().find("div.line:not(.checkbox)").css("display",n?"":"none")}).on("focus",'input[unit="true"], input[un_negative="true"], input[positive="true"], input[event="true"]',o=>{let r=(0,Vx.default)(o.target),n=r.val(),a=parseFloat(r.val());isNaN(a)||(r.attr("oldval",n),r.val(a))}).on("blur",'input[unit="true"], input[un_negative="true"], input[positive="true"], input[event="true"]',o=>{let r=(0,Vx.default)(o.target),n=r.val();if(!n)return;let a=r.attr("unit")=="true",s=r.attr("oldval")||"",l=a?r.attr("show_unit")||s.replace(/^\d+/,""):null,c=ul(n,l);r.attr("event")=="true"&&(c=Math.round(c),c%2!=0&&(c+=1));let u=r.attr("un_negative")=="true",p=r.attr("positive")=="true";if((u||p)&&(c=Math.abs(c)),p&&c==0&&(c=NaN),isNaN(c)){r.val(s);return}a?(r.attr("precise-value",j9(c,l)),r.val(fo(c,l)+l)):r.val(c)}).on("keyup",'input[unit="true"], input[un_negative="true"], input[positive="true"], input[event="true"]',o=>{o.key==="Enter"&&(0,Vx.default)(this).blur()}).on("click","button[action]:not(.common-btn-disabled)",async o=>{let r=(0,Vx.default)(o.target),n=r.attr("action"),a="common-btn-disabled";r.addClass(a),n==="generate"&&await e.methodsGather.generate.apply(e),r.removeClass(a)})},methodsGather:{createPanelHtml(){let e=this.methodsGather.createFWSelectionHtml.apply(this),i=this.methodsGather.createFWOptionsHtml.apply(this);return`<div class="container">${e}${i}</div>`},isUseNewPropertyPanel(){return!0},createFWSelectionHtml(){let e="",i=Cp.currentModeName?"hidden":"";for(let o in Fbe){let r=Fbe[o];if(!r.options)continue;let n=(Cp.currentModeName||Cp.lastModeName)===o?"current":"";e+=`<div class="item ${o.toLowerCase()} ${n}" title="${r.title}" model-name="${o}"><span class="i18n modelname" i18n="${r.title}">${r.title}</span></div>`}return`<div class="selection ${i}">${e}</div>`},createFWOptionsHtml(){let e=Cp.currentModeName,i=Fbe[e],o=`<div class="nav"><span class="i18n back" i18n="Footprint Wizard">Footprint Wizard</span><span class="blank">&gt;</span><span>${(i==null?void 0:i.title)||e}<span/></div>`,r=`<div class="reference ${e?e.toLowerCase():""}"><div class="content"></div></div>`,n="",a=i==null?void 0:i.options,s=Cp.showUnit,l="hidden";if(a&&typeof a=="object"){l="";for(let m in a){let h=a[m];n+=E_o({optionName:m,optionsItem:h,canvasUnit:s})}}let c=`<div class="params">${n}</div>`;return`<div class="options ${l}">${o}${r}${c}<div class="btns"><button class="i18n" i18n="Generate Footprint" action="generate">Generate Footprint</button></div>
				<div class="notice">
					<div class="i18n" style="" i18n="The generated pads size will little bigger than input size, good for welding">The generated pads size will little bigger than input size, good for welding</div>
				</div></div>`},getSelectionPanel(){return(0,Vx.default)(this.storage.$handleContainerElement.get(0)).find(".selection")},getOptionsPanel(){return(0,Vx.default)(this.storage.$handleContainerElement.get(0)).find(".options")},changePanel(){let e="hidden",i=this.methodsGather.getSelectionPanel.apply(this),o=this.methodsGather.getOptionsPanel.apply(this),r=Cp.currentModeName,n=!r,a=n?i:o,s=n?o:i,l=null;if(n){let c="current";a.find("."+c).removeClass(c),l=a.find(`.item[model-name="${Cp.lastModeName}"]`),l.addClass(c)}a.removeClass(e),s.addClass(e),r&&Cp.currentModeName!=Cp.lastModeName&&a.html(this.methodsGather.createFWOptionsHtml.apply(this)),me.update(void 0,Vr(zbe.containerId)),l&&l[0]&&l[0].scrollIntoView({behavior:"smooth"})},getOptions(){let i=this.storage.$handleContainerElement.find(".params > div.line > div.txt_value"),o={},r={};if(Object.keys(Uee).forEach(function(a){r[a.toLowerCase()]=a}),Array.from(i).forEach(function(a){let s=(0,Vx.default)(a).find("input[name], select[name]"),l=s.length;if(l==0)return;let c="",d=null;if(l==1)c=s.attr("name"),d=n(s,c);else if(l==2&&s.hasClass("short"))c=s.attr("name"),d=[n((0,Vx.default)(s[0])),n((0,Vx.default)(s[1]))];else{let u=Array.from(s),p=(0,Vx.default)(u.shift());c=p.attr("name"),p.attr("checked")?(d={},u.forEach(function(h){let f=(0,Vx.default)(h),g=f.attr("name");d[r[g]||g]=n(f,c)})):d=!1}!c||c==="use-cases"||(c=r[c]||c,c==="packageType"&&(o.polarity=d===Sf["Polar Capacitance"]?1:0,d===Sf["Polar Capacitance"]&&(d=Sf.Capacitance)),o[c]=d)}),o.packageName=Cp.currentModeName,o.packageName==="DIP"){let a=o.bodyLength;o.bodyLength=o.bodyWidth,o.bodyWidth=a}return o;function n(a,s){let l;if(a.attr("unit")=="true")l=a.attr("precise-value")||a.val(),l=Ice(parseFloat(l),Cp.showUnit,Cp.dataUnit);else{l=a.val();let c=s==="packagename"?l:parseFloat(l);isNaN(c)||(l=c)}return l}},async generate(){let e=this.methodsGather.getOptions.apply(this),i=e?await ei():null;i&&(await C.windowBridge.rpcCall("pcb/generateFootprint",e,i.contentWindow)).message}}}}function E_o(t){let{optionName:e,optionsItem:i,canvasUnit:o,lineStyle:r}=t,n=Uee[e];if(!n)return"";let a=Object.assign({},n,i);if(!a)return"";let s=e.toLocaleLowerCase(),l=a.title,c=a.abbreviation?"("+a.abbreviation+")":"",u='<span class="i18n" title="'+(l+c)+'" data-i18n-attr="title" i18n="'+a.title+'">'+l+'</span><span class="abbr">'+c+"</span>",p=a.type,m="",h=o?mU(o):"",f=a.unit?`unit="true" show_unit="${h}"`:"",g=a.un_negative?'un_negative="true"':"",b=a.event?'event="true"':"",y=a.positive?'positive="true"':"";(0,Vx.default)("#footprintWizard").data("current-unit",o),r=r||"";let w=Cp.dataUnit||10;switch(p){case"text":{let x=a.defaultVal;e==="packageName"&&(r="display: none;"),m='<input name="'+s+'" type="text" value="'+x+'"/>';break}case"number":{let x=f?fo(Ice(a.defaultVal,w,o),h)+h:a.defaultVal;m=`<input name="${s}" type="text" value="${x}" ${f} ${g} ${y} ${b} />`;break}case"number2":{let x="0",S="0";a.defaultVal&&(Array.isArray(a.defaultVal)?(x=a.defaultVal[0],S=a.defaultVal[1]):x=S=a.defaultVal,f&&(x=fo(Ice(+x,w,o),h)+h,S=fo(Ice(+S,w,o),h)+h)),m=`<input class="short" name="${s}" type="text" value="${x}" ${f} ${g} ${y} ${b} 
					/><span class="short"> - </span
					><input class="short" name="${s}" type="text" value="${S}" ${f} ${g} ${y} ${b} />`;break}case"select":{let x="",S=a.filter||[];for(let T in a.options){if(S.indexOf(T)>=0)continue;let M=a.options[T];x+='<option value="'+M+'" '+(M==a.defaultVal?'selected="selected"':"")+' class="i18n" i18n="'+T+'">'+T+"</option>"}m='<select name="'+s+'">'+x+"</select>";break}case"radioMulti":{let x=a.defaultVal?'checked="true"':"";x||(r="display: none;"),m+='<div class="line clear checkbox"><div class="left txt_title"></div><div class="left txt_value"><input class="checkbox multi" style="width: auto;" type="checkbox" name="'+s+'" '+x+'></input><span class="multi-span"></span></div></div>';for(let S in a.multiOptions)m+=E_o({optionName:S,optionsItem:a.multiOptions[S],canvasUnit:o,lineStyle:r});r="";break}}return'<div class="line clear" style="'+r+'" option-name="'+e+'"><div class="left txt_title">'+u+'</div><div class="left txt_value">'+m+"</div></div>"}function TKt(t,e){let i=t.data,o={head:{action:t.action,primitive:t.primitive},body:{[t.primitive]:{[i.key]:i.value}}};e.$emit(t.action,o)}async function SKt(t={},e){if(eln(t),Cp.inited)return;let i=e,o={...t},r=xKt({eventBusNameSpace:i,...zbe}),n=new T4e;return await r.render(o),NQ.clearNameSpace(i),NQ.on(x4e.DIALOG_BASE_ACTION,a=>{TKt({...a,primitive:o.head.primitive},n)},i),r.initial(o),r.bindEvent(),Cp.inited=!0,S4e(r,n)}function eln(t={}){var i;let e=Cp.showUnit;if(Cp.showUnit=((i=t==null?void 0:t.head)==null?void 0:i.unit)==="mm"?39.37:1,e!=Cp.showUnit&&(0,mdt.default)(`#${zbe.containerId} .selection`).hasClass("hidden")){let o=mU(Cp.showUnit)||"",r=(0,mdt.default)(`#${zbe.containerId} input[show_unit]`);for(let n=0;n<r.length;n++){let a=(0,mdt.default)(r[n]),s=a.attr("show_unit"),l=ru(s,1);a.attr("show_unit",o);let c=parseFloat(a.val())||0;a.val(fo(Ice(c,l,Cp.showUnit),o)+o)}}}async function MKt(t={},e){fDe()}var iln={"footprint-attribute":async function(t={}){return fKt(t,"footprint-attribute")},"footprint-pad":async function(t={}){return CKt(t,"footprint-pad")},"footprint-wizard":async function(t={}){return SKt(t,"footprint-wizard")},"footprint-associated-devices":async function(t={}){return MKt(t,"footprint-associated-devices")}};async function I4e(t,e={},i=new Function){return await iln[t](e,i)}function N_o(t){let{head:e,body:i}=t,{from:o}=e,n=i.FOOTPRINT["attr-array"].value,a=he.getTabTitle(o),s=Ft(n,"key","Footprint");s.index<=-1||a===s.data.value||(he.setTabText(o,s.data.value),he.setTabTitle(o,s.data.value))}function k_o(t){return!C.currentProject||!C.currentProject.projectId?!1:t.indexOf("@")>=0?ue.splitComponentId2FolderAndFilenameMixin(t).path===C.currentProject.projectId:t.indexOf("|")>=0?ue.splitComponentId2FolderAndFilenameMixin(t,!0).path===C.currentProject.projectId:!1}async function P_o(t={}){let e=t.head.from,i=t.body.FOOTPRINT;if(typeof G2[e]>"u"&&k_o(e)){G2[e]={};let o=ue.splitComponentId2FolderAndFilenameMixin(e),r=await Ze.getFootprint({isProject:o.path===C.currentProject.projectId,path:o.path,uuid:o.componentTitleOrId});if(r.custom_tags){let n=JSON.parse(r.custom_tags),a=i.category.value;n[0]?(a.parent_tag.name_cn=a.parent_tag.name=n[0],a.parent_tag.uuid=""):a.parent_tag=[],n[1]?(a.child_tag.name_cn=a.child_tag.name=n[1],a.child_tag.uuid=""):a.child_tag=[],G2[e]={category:JSON.parse(JSON.stringify(a))}}}G2[e]&&G2[e].category&&(i.category.value=JSON.parse(JSON.stringify(G2[e].category)))}function oln(t=[]){t.forEach(e=>{e.key=ue.htmlDecode(e.key)})}function rln(t=[]){t.forEach(e=>{e.key=ue.htmlEncode(e.key)})}async function O_o(t={}){try{let e=JSON.parse(JSON.stringify(t));if(!e.head.primitive)throw new Error("missing primitive");await P_o(e),N_o(e),e.body=e.body[e.head.primitive],rln((e.body["attr-array"]||{}).value);let o=await I4e("footprint-attribute",e);o&&o.$onceOn("modifyFootprintDataByPanel",r=>{var l,c,d,u,p,m,h,f,g,b,y,w,x,S;let n=r.body.FOOTPRINT;if(n&&n["attr-array"]&&n["attr-array"][0]&&n["attr-array"][0].key=="Footprint"&&n["attr-array"][0].value){let T=he.getActiveTab(),M=he.getTabTitle(T);he.setTabText(T,n["attr-array"][0].value)}n&&n["attr-array"]&&oln(n["attr-array"]);let a=dF.getTask(gi());if((l=a==null?void 0:a.footprintDetail)!=null&&l.isProjectLib)if((p=(u=(d=(c=r==null?void 0:r.body)==null?void 0:c.FOOTPRINT)==null?void 0:d.category)==null?void 0:u.parent_tag)!=null&&p.name){let T=[];T.push((f=(h=(m=r.body)==null?void 0:m.FOOTPRINT)==null?void 0:h.category.parent_tag)==null?void 0:f.name),(y=(b=(g=r.body)==null?void 0:g.FOOTPRINT)==null?void 0:b.category.child_tag)!=null&&y.name&&T.push((S=(x=(w=r.body)==null?void 0:w.FOOTPRINT)==null?void 0:x.category.child_tag)==null?void 0:S.name),a.footprintDetail.custom_tags=JSON.stringify(T)}else JSON.stringify(n.category)==="{}"&&(a.footprintDetail.custom_tags=JSON.stringify("[]"));let s=Xi();C.windowBridge.publish("attrUpdate",r,s.contentWindow)})}catch(e){console.warn(e)}}async function R_o(t={}){try{let e=await I4e("footprint-associated-devices",t);me.update(me.curr)}catch(e){console.warn(e)}}async function __o(t={}){try{let e=await I4e("footprint-pad",t);return e&&e.$onceOn("selectedRows",i=>{let o=Xi();C.windowBridge.publish("panelSelectPad",i.data.list,o.contentWindow)}),e&&e.$onceOn("modifyContent",i=>{let o=Xi();C.windowBridge.publish("panelModifyPad",i.data,o.contentWindow)}),e}catch(e){console.warn(e)}}async function j_o(t={}){try{return await I4e("footprint-wizard",t)}catch(e){console.warn(e)}}var B_o=L(Vi());var PQ=L(z());var hdt=class{constructor(){this.msgbox=null;C.messageBus.subscribe("msgboxPcbOpen",this.openMsgbox.bind(this))}openMsgbox(e){(0,B_o.default)(()=>{let{type:i,option:o={},id:r=Mt(),extra:n}=e;switch(o.msg instanceof Array&&(o.msg=o.msg.map(a=>me.i18n(a)).join(" ")),i){case 0:n&&n.token==="COPPER_MANAGER"&&(o.msg=me.i18n(o.msg)+` ${n.nameString}`),Dt({content:o.msg,onConfirm:()=>{let a=Xi();C.windowBridge.publish("msgboxClose",{action:"confirm",type:i},a.contentWindow)},onClose:()=>{let a=Xi();C.windowBridge.publish("msgboxClose",{action:"cancel",type:i},a.contentWindow)}});break;case 1:Dt({width:o.msgBoxWidth||400,content:o.msg,showCancel:!0,onConfirm:()=>{let a=Xi();C.windowBridge.publish("msgboxClose",{action:"confirm",type:i},a.contentWindow)},onClose:()=>{Z6();let a=Xi();C.windowBridge.publish("msgboxClose",{action:"cancel",type:i},a.contentWindow)},onCancel:()=>{Z6();let a=Xi();C.windowBridge.publish("msgboxClose",{action:"cancel",type:i},a.contentWindow)}});break;case 2:Dt({id:r,width:o.msgBoxWidth||400,title:o.title,content:o.contentText,footer:o.btns.map(a=>(0,PQ.jsx)(Me,{type:"primary",size:"md",onClick:()=>{let s=Xi();C.windowBridge.publish("msgboxClose",{action:a.actionTag,type:i},s.contentWindow),le.close(r)},children:a.text}))});break;case 3:pY.has(r)?le.show():Dt({id:r,width:o.msgBoxWidth||400,title:o.title,content:o.contentText,onClose:()=>{let a=Xi();C.windowBridge.publish("msgboxClose",{action:"close",type:i,checked:o.checked},a.contentWindow)},footer:(0,PQ.jsxs)(PQ.Fragment,{children:[(0,PQ.jsx)("div",{style:{flex:1,height:"28px",lineHeight:"28px"},children:(0,PQ.jsx)(qt,{children:me.i18n("Don't show again"),defaultChecked:o.checked,onChange:a=>{o.checked=a}})}),o.btns.map(a=>(0,PQ.jsx)(Me,{type:"primary",size:"md",onClick:()=>{let s=Xi();C.windowBridge.publish("msgboxClose",{action:a.actionTag,type:i,checked:o.checked},s.contentWindow),a.actionTag!="next"?le.close(r):le.hide(r)},children:a.text}))]})});break}this.msgbox!=null&&this.msgbox.then(a=>{let s=Xi();C.windowBridge.publish("msgboxClose",a,s.contentWindow),this.msgbox=null}).catch(a=>{console.warn(a)})})}};function z_o(t){let e=new Array,i=new Array,o=new Array,r=new Array;return i.push({content:{value:t.BoardSize,isBold:!1},title:{value:me.i18n("Borard Size"),isBold:!1}}),i.push({content:{value:`${me.i18n("Total")} ${t.TotalLayers}, ${me.i18n("Copper")} ${t.TotalCoppers}`,isBold:!1},title:{value:me.i18n("Layers"),isBold:!1}}),e.push(i),o.push({content:{value:t.Devices,isBold:!1},title:{value:me.i18n("Devices"),isBold:!1}}),o.push({content:{value:t.Footprints,isBold:!1},title:{value:me.i18n("Footprints"),isBold:!1}}),o.push({content:{value:`${me.i18n("Total")} ${t.TotalComponents},${me.i18n("Top Layer")} ${t.TopComponents},${me.i18n("Bottom Layer")} ${t.BottomComponents}`,isBold:!1},title:{value:me.i18n("Components"),isBold:!1}}),o.push({content:{value:`${me.i18n("Total")} ${t.TotalPads}, ${me.i18n("Top Side Table Stick")} ${t.TopSurface},${me.i18n("Bottom Side Table Stick")} ${t.BotSurface},${me.i18n("Metallized Hole")} ${t.Plated}, ${me.i18n("Nonmetallic Hole")} ${t.nonoPlated}`,isBold:!1},title:{value:me.i18n("Pads"),isBold:!1}}),o.push({content:{value:`${me.i18n("Total")} ${t.netTotal}, ${me.i18n("Unrouted")} ${t.unrouted}`,isBold:!1},title:{value:me.i18n("Nets"),isBold:!1}}),o.push({content:{value:`${me.i18n("Nets Total")} ${t.netTotal}, ${me.i18n("Has Testpoint Nets")} ${t.hasNet}, ${me.i18n("Testpoint Coverage")} ${t.testPointCoverage}%`,isBold:!1},title:{value:me.i18n("Test Point"),isBold:!1}}),o.push({content:{value:`${me.i18n("Total")} ${t.total}, ${me.i18n("Top Side Testpoints")} ${t.topPoint}, ${me.i18n("Bottom Side Testpoints")} ${t.bottomPoint}`,isBold:!1},title:{value:"",isBold:!1}}),e.push(o),r.push({content:{value:t.slot,isBold:!1},title:{value:me.i18n("Slot Region"),isBold:!1}}),r.push({content:{value:`${me.i18n("Total")} ${t.totalVias}, ${me.i18n("Through Vias")} ${t.ThroughVias}, ${me.i18n("Blind Or Buried Vais")} ${t.blindTotal}`,isBold:!1},title:{value:me.i18n("Vias"),isBold:!1}}),r.push({content:{value:t.copper,isBold:!1},title:{value:me.i18n("CopperAreas"),isBold:!1}}),r.push({content:{value:t.TrackLength,isBold:!1},title:{value:me.i18n("Length of Tracks"),isBold:!1}}),e.push(r),e}var G_o=L(Hr());var IKt=L(U_o()),Lce=L(z()),{locals:nln}=IKt.default,{property_panel:aln}=nln,V_o="F2dAttribute",H_o=t=>{let{data:e}=t;if(Ae(IKt.default),!e)return(0,Lce.jsx)(Lce.Fragment,{});async function i(a){for(let s in a)C.windowBridge.publish("modifyPhotoAttr",{key:s,value:a[s].value},(await ei()).contentWindow)}function o(a){let{data:s,status:l}=a;s["attr-board-material"].value=="substrate_fpc"&&(s["attr-pad-plating-color"].disabled=!0,s["attr-silk-technology"].disabled=!0);for(let d in s)switch(d){case"attr-board-material":s[d].options=[{text:{context:"pcb2DViewAttrMgrAttribute",value:"FR-4"},value:"substrate_yellow"},{text:{context:"pcb2DViewAttrMgrAttribute",value:"FPC"},value:"substrate_fpc"},{text:{context:"pcb2DViewAttrMgrAttribute",value:"Aluminum"},value:"aluminum"},{text:{context:"pcb2DViewAttrMgrAttribute",value:"Copper"},value:"substrate_coppery"},{text:{context:"pcb2DViewAttrMgrAttribute",value:"Ceramics"},value:"substrate_white"},{text:{context:"pcb2DViewAttrMgrAttribute",value:"Teflon"},value:"substrate_grey"}];break;case"attr-background-color":break;case"attr-board-color":s["attr-board-material"].value=="substrate_fpc"?s[d].options=[{text:"yellow",value:"yellow"},{text:"black",value:"black"},{text:"white",value:"white"}]:s[d].options=[{text:"green",value:"green"},{text:"blue",value:"blue"},{text:"red",value:"red"},{text:"white",value:"white"},{text:"yellow",value:"yellow"},{text:"black",value:"black"},{text:"purple",value:"purple"},{text:"coppery",value:"coppery"}];break;case"attr-pad-plating-color":s[d].options=[{text:"Golden",value:"gold"},{text:"Silver",value:"silver"}];break;case"attr-silk":break;case"attr-board-side":s[d].options=[{value:"topSide",text:"Top Side"},{value:"bottomSide",text:"Bottom Side"}];break;case"attr-silk-technology":s[d].options=[{value:"standardSilk",text:"Standard Silk Screen"},{value:"colorfulSilk",text:"Colorful Silk Screen"}];break;case"attr-top-side-board-color":case"attr-top-side-silkscreen-color":case"attr-bottom-side-board-color":case"attr-bottom-side-silkscreen-color":s[d].value==null&&(s[d].value="");break}}function r(a,s){let l={};a.forEach(p=>{l[p]=!0});let{status:c,data:d}=s;u("attr-top-side-board-color"),u("attr-top-side-silkscreen-color"),u("attr-bottom-side-board-color"),u("attr-bottom-side-silkscreen-color"),u("attr-board-color","standardSilk");function u(p,m="colorfulSilk"){d[p]&&l[p]&&(d["attr-silk-technology"]?d["attr-silk-technology"].value==m?l[p]=!0:l[p]=!1:l[p]=!0)}return l}function n(a){o(a);let{data:s,status:l,title:c}=a,d={"attr-board-material":"Board Material","attr-board-side":"Board Side","attr-silk-technology":"Silkscreen Technology","attr-background-color":"Background Color","attr-board-color":"Board Color","attr-top-side-board-color":"Top Side Board Color","attr-top-side-silkscreen-color":"Top Side Silkscreen Color","attr-bottom-side-board-color":"Bottom Side Board Color","attr-bottom-side-silkscreen-color":"Bottom Side Silkscreen Color","attr-pad-plating-color":"Pad Plating Color","attr-silk":"Silkscreen"},u=iA(d),p=["attr-board-material","attr-board-side","attr-silk-technology","attr-background-color","attr-board-color","attr-top-side-board-color","attr-top-side-silkscreen-color","attr-bottom-side-board-color","attr-bottom-side-silkscreen-color","attr-pad-plating-color","attr-silk"],m=["attr-background-color","attr-top-side-board-color","attr-top-side-silkscreen-color","attr-bottom-side-board-color","attr-bottom-side-silkscreen-color"],h=r(p,a),f=[],g=Wi("PCB_FOOTPRINT","isUsedJLCColorSilk");for(let y=0;y<p.length;y++){if(!h[p[y]])continue;let{value:x,disabled:S,options:T,defaultValue:M}=s[p[y]];p[y]==="attr-silk-technology"&&!g||f.push((0,Lce.jsx)(ao,{propertyKey:p[y],propertyTitle:d[p[y]],value:x,valueOptions:T,valueDisabled:S,valueType:m.includes(p[y])?"color":"select",translateContext:p[y]=="attr-board-material"?"pcb2DViewAttrMgrAttribute":void 0,defaultValue:M,groupTitle:c,onChange:(I,A)=>{i(I)}},y))}return{groups:[{title:c,content:f}]}}return(0,Lce.jsx)("div",{className:ns(aln),id:V_o,children:(0,Lce.jsx)(tf,{propertyPanelId:V_o,...n(e)})})};var Y_o=L(z());function LKt(t={}){return{storage:{...t},createRender(e={}){return{contentHtml:`
					<div id="${this.storage.containerId}" class="attr-main"></div>
                `}},async render(e={}){},initial(e={}){let i=document.getElementById(`${this.storage.containerId}`);G_o.default.createRoot(i).render((0,Y_o.jsx)(H_o,{data:e.attrlists[0]}))},bindEvent(){}}}function vKt(){this.handlers={}}vKt.prototype.$on=function(t,e){!t||typeof e!="function"||(this.handlers[t]||(this.handlers[t]=[]),this.handlers[t].push(e))};vKt.prototype.$emit=function(){if(this.handlers[arguments[0]])for(let t=0;t<this.handlers[arguments[0]].length;t++)this.handlers[arguments[0]][t]&&this.handlers[arguments[0]][t].call(this,arguments[1])};var gdt=vKt;function MEe(t,e){e.$emit(t.action,t)}function bdt(t,e){let i=t.storage,o=t.methodsGather||{},r=e.$on.bind(e);return{storage:i,methodsGather:o,$on:r}}var L4e=new um;async function DKt(t={},e){let i={...t},o=e,r=LKt({eventBusNameSpace:o,containerId:"f2DAttributeOuterContainer"}),n=new gdt;return await r.render(i),L4e.clearNameSpace(o),L4e.on("ATTR_PANEL_BASEACTION",a=>{MEe(a,n)},o),r.initial(i),r.bindEvent(),bdt(r,n)}var W_o=L(Vi()),sln={createCordinateHtmlString(t){return`
            <div class="line left line-left">
                <div class="left name"><span class="c-title i18n">S</span></div>
                <div class="left value"><span class="c-value" data-tagitem="attr-s" unit="true" id="cordinateS" style="white-space: nowrap;" >${t.s}</div>
            </div>
            <div class="line left line-right">
                <div class="left name"><span class="c-title i18n">G</span></div>
                <div class="left value"><span class="c-value" data-tagitem="attr-g" unit="true" id="cordinateG" style="white-space: nowrap;" >${t.gx+" "+t.gy}</div>
            </div>
            <div class="line left line-left">
                <div class="left name"><span class="c-title i18n">X</span></div>
                <div class="left value"><span class="c-value" data-tagitem="attr-mouse-x" unit="true" style="white-space: nowrap;" >${t.x}</div>
            </div>
            <div class="line left line-right">
                <div class="left name"><span class="c-title i18n">dX</span></div>
                <div class="left value"><span class="c-value" data-tagitem="attr-mouse-dx" unit="true" style="white-space: nowrap;" >${t.dx}</div>
            </div>
            <div class="line left line-left">
                <div class="left name"><span class="c-title i18n">Y</span></div>
                <div class="left value"><span class="c-value" data-tagitem="attr-mouse-y" unit="true" style="white-space: nowrap;" >${t.y}</div>
            </div>            
            <div class="line left line-right">
                <div class="left name"><span class="c-title i18n">dY</span></div>
                <div class="left value"><span class="c-value" data-tagitem="attr-mouse-dy" unit="true" style="white-space: nowrap;" >${t.dy}</div>
            </div>
        `}};function EKt(t={}){return{storage:{...t},createRender(e={}){return{contentHtml:`
					<div id="${this.storage.containerId}" class="attribute-coordinate-containter">
						<div id="cordinateContainer"></div>
					</div>
                `}},async render(e={}){let i=document.getElementById(`${this.storage.containerId}`);i.outerHTML=this.createRender({...this.storage,...e}).contentHtml},initial(e={}){this.storage.contentData=e,this.storage.componentContainerElement=document.getElementById(`${this.storage.containerId}`),this.storage.$componentContainerElement=(0,W_o.default)(this.storage.componentContainerElement),this.methodsGather.renderCoordinateView.call(this)},bindEvent(){},methodsGather:{renderCoordinateView(){let e=this.storage.componentContainerElement.querySelector("#cordinateContainer");e.innerHTML=sln.createCordinateHtmlString(this.storage.contentData.coordinate)}}}}async function AKt(t={},e){let i={...t},o=e,r=EKt({eventBusNameSpace:o,containerId:"f2DCoordinateOuterContainer"}),n=new gdt;return await r.render(i),L4e.clearNameSpace(o),L4e.on("ATTR_PANEL_BASEACTION",a=>{MEe(a,n)},o),r.initial(i),r.bindEvent(),bdt(r,n)}var cln={"f2d-attribute":async function(t={}){return DKt(t,"f2d-attribute")},coordinate:async function(t={}){return AKt(t,"coordinate")}};async function NKt(t,e={},i=new Function){return await cln[t](e,i)}async function Q_o(t={}){try{let e=await NKt("f2d-attribute",t);e&&e.$on("modifyAttr",async i=>{C.windowBridge.publish("modifyPhotoAttr",i.data,(await ei()).contentWindow)})}catch(e){console.warn(e)}}var K_o={pcbCanvasRangingResult:{output(t){let e=t.dx||"-",i=t.dy||"-",o=t.length||"-",r=t.angle||"-",n=Ti("DX: {0}, DY: {1}, Length: {2}, Angle: {3}",{params:{0:e,1:i,2:o,3:r}});Ot("info",n,"Log")}}};var ejo=L(Hr());var kKt=L(J_o());var vce=L(z()),{locals:dln}=kKt.default,{property_panel:uln}=dln,q_o="F3dAttribute",X_o={"attr-board-material":"Board Material","attr-silk-technology":"Silkscreen Technology","attr-background-color":"Background Color","attr-board-color":"Board Color","attr-pad-plating-color":"Pad Plating Color","attr-layer-expose":"Layer Expose","attr-substrate-height":"PCB Height From The Bottom Surface of Shell","attr-board-thickness":"Board Thickness","attr-top-side-board-color":"Top Side Board Color","attr-top-side-silkscreen-color":"Top Side Silkscreen Color","attr-bottom-side-board-color":"Bottom Side Board Color","attr-bottom-side-silkscreen-color":"Bottom Side Silkscreen Color"},HJ0=iA(X_o),pln=[["attr-board-material","attr-silk-technology","attr-background-color","attr-board-color","attr-pad-plating-color"],["attr-layer-expose","attr-substrate-height","attr-board-thickness","attr-thickness-table"]],mln=[["attr-board-material","attr-silk-technology","attr-background-color","attr-top-side-board-color","attr-top-side-silkscreen-color","attr-bottom-side-board-color","attr-bottom-side-silkscreen-color","attr-pad-plating-color"],["attr-layer-expose","attr-substrate-height","attr-board-thickness","attr-thickness-table"]];function hln(t){let e=t[0].data;return e["attr-silk-technology"]&&e["attr-silk-technology"].value==="colorfulSilk"?"colorfulSilk":"standardSilk"}var $_o=t=>{let{data:e}=t;if(Ae(kKt.default),!e)return(0,vce.jsx)(vce.Fragment,{});let i=J();async function o(a,s,l){for(let c of Object.keys(a||{})){let d=a[c].value<0?s[c].value:a[c].value;c==="attr-background-color"&&!d&&(d="#000000"),C.windowBridge.publish("3DViewModifyAttr",{key:c,value:d},(await ei()).contentWindow),window.setTimeout(async()=>{C.windowBridge.publish("refresh3DViewPanel",null,(await ei()).contentWindow)})}}function r(a){let{attrlists:s,status:l}=a;for(let c=0;c<s.length;c++){let{data:d,title:u}=s[c];for(let p of Object.keys(d||{}))p==="attr-board-material"?d[p].options=[{text:{context:"pcb3DViewAttrMgrAttribute",value:"FR-4"},value:"substrate_yellow"},{text:"FPC",value:"substrate_fpc"},{text:{context:"pcb3DViewAttrMgrAttribute",value:"Aluminum"},value:"aluminum"},{text:{context:"pcb3DViewAttrMgrAttribute",value:"Copper"},value:"substrate_coppery"},{text:{context:"pcb3DViewAttrMgrAttribute",value:"Ceramics"},value:"substrate_white"},{text:{context:"pcb3DViewAttrMgrAttribute",value:"Teflon"},value:"substrate_grey"}]:p==="attr-silk-technology"?d[p].options=[{value:"standardSilk",text:"Standard Silk Screen"},{value:"colorfulSilk",text:"Colorful Silk Screen"}]:p==="attr-board-color"?d["attr-board-material"].value=="substrate_fpc"?d[p].options=[{text:"yellow",value:"yellow"},{text:"black",value:"black"},{text:"white",value:"white"}]:d[p].options=[{text:"green",value:"green"},{text:"blue",value:"blue"},{text:"red",value:"red"},{text:"white",value:"white"},{text:"yellow",value:"yellow"},{text:"black",value:"black"},{text:"purple",value:"purple"},{text:"coppery",value:"coppery"}]:p==="attr-pad-plating-color"&&(d[p].options=d[p].options||[{text:"Golden",value:"gold"},{text:"Silver",value:"silver"}])}}function n(a){r(a);let s={},{attrlists:l,status:c}=a,d=[],u=Wi("PCB_FOOTPRINT","isUsedJLCColorSilk");for(let h=0;h<l.length;h++){let{data:f,title:g}=l[h];d.push({title:g,content:[]});let b=hln(a.attrlists)==="standardSilk"?pln:mln;for(let y=0;y<b[h].length;y++){let{value:w,disabled:x,options:S,unit:T}=f[b[h][y]],M=T,I=p(b[h][y],f[b[h][y]]);if(!(b[h][y]==="attr-silk-technology"&&!u)){if(I==="table"&&b[h][y]==="attr-thickness-table"&&(s.enableScrollX=!1,w={height:300,stockade:!0,index:"layer",border:!0,columns:[{key:"layer",name:i("Layer"),width:.5,i18n:!0},{key:"thickness",name:i("Thickness")+`(${T})`,width:.5}],rows:(()=>{let A=[];for(let D of Object.keys(w||{}))A.push({layer:D,thickness:w[D].value.toFixed(3)});return A})()}),b[h][y]=="attr-board-thickness"){let A=f["attr-thickness-table"].value,D=0;for(let E in A){let N=A[E];D+=N.value?N.value:0}w=typeof w>"u"||w===""?D:w,T=typeof T>"u"||T===""?"":T,M=f["attr-thickness-table"].unit}d[h].content.push((0,vce.jsx)(ao,{isShowPropertyKey:b[h][y]!=="attr-thickness-table",isShowValueCheckbox:b[h][y]!=="attr-thickness-table",propertyKey:b[h][y],propertyTitle:X_o[b[h][y]],value:w||0,valueOptions:S,valueDisabled:x,inputUnit:T,valueType:I,originUnit:M,translateContext:b[h][y]=="attr-board-material"?"pcb3DViewAttrMgrAttribute":void 0,defaultValue:m(b[h][y])?_e.HEX_BLACK_COLOR:void 0,groupTitle:g,tableOptions:s,onChange:o},y))}}}return{groups:d};function p(h,f){let{value:g,disabled:b,options:y,unit:w}=f;return y?"select":h==="attr-thickness-table"?"table":w?"unitInput":m(h)?"color":"input"}function m(h){return["attr-background-color","attr-top-side-board-color","attr-top-side-silkscreen-color","attr-bottom-side-board-color","attr-bottom-side-silkscreen-color"].indexOf(h)>=0}}return(0,vce.jsx)("div",{className:ns(uln),id:q_o,children:(0,vce.jsx)(tf,{propertyPanelId:q_o,...n(e)})})};var tjo=L(z());function PKt(t={}){return{storage:{...t},createRender(e={}){return{contentHtml:`
					<div id="${this.storage.containerId}" class="attr-main" style="width: 100%;"></div>
                `}},async render(e={}){},initial(e={}){let i=document.getElementById(`${this.storage.containerId}`);ejo.default.createRoot(i).render((0,tjo.jsx)($_o,{data:e})),i.style.width="100%"},bindEvent(){},methodsGather:{}}}function OKt(){this.handlers={}}OKt.prototype.$on=function(t,e){!t||typeof e!="function"||(this.handlers[t]||(this.handlers[t]=[]),this.handlers[t].push(e))};OKt.prototype.$emit=function(){if(this.handlers[arguments[0]])for(let t=0;t<this.handlers[arguments[0]].length;t++)this.handlers[arguments[0]][t]&&this.handlers[arguments[0]][t].call(this,arguments[1])};var v4e=OKt;function Dce(t,e){e.$emit(t.action,t)}function D4e(t,e){let i=t.storage,o=t.methodsGather||{},r=e.$on.bind(e);return{storage:i,methodsGather:o,$on:r}}var OQ=new um;async function RKt(t={},e){let i={...t},o=e,r=PKt({eventBusNameSpace:o,containerId:"f3DAttributeOuterContainer"}),n=new v4e;return await r.render(i),OQ.clearNameSpace(o),OQ.on("ATTR_PANEL_BASEACTION",a=>{Dce(a,n)},o),r.initial(i),r.bindEvent(),D4e(r,n)}var ijo=L(Vi()),fln={createCordinateHtmlString(t){return`
            <div class="line left line-left">
                <div class="left name"><span class="c-title i18n">S</span></div>
                <div class="left value"><span class="c-value" data-tagitem="attr-s" unit="true" id="cordinateS" />${t.s}</div>
            </div>
            <div class="line left line-right">
                <div class="left name"><span class="c-title i18n">G</span></div>
                <div class="left value"><span class="c-value" data-tagitem="attr-g" unit="true" id="cordinateG" />${t.gx+" "+t.gy}</div>
            </div>
            <div class="line left line-left">
                <div class="left name"><span class="c-title i18n">X</span></div>
                <div class="left value"><span class="c-value" data-tagitem="attr-mouse-x" unit="true" />${t.x}</div>
            </div>
            <div class="line left line-right">
                <div class="left name"><span class="c-title i18n">dX</span></div>
                <div class="left value"><span class="c-value" data-tagitem="attr-mouse-dx" unit="true" />${t.dx}</div>
            </div>
            <div class="line left line-left">
                <div class="left name"><span class="c-title i18n">Y</span></div>
                <div class="left value"><span class="c-value" data-tagitem="attr-mouse-y" unit="true" />${t.y}</div>
            </div>            
            <div class="line left line-right">
                <div class="left name"><span class="c-title i18n">dY</span></div>
                <div class="left value"><span class="c-value" data-tagitem="attr-mouse-dy" unit="true" />${t.dy}</div>
            </div>
        `}};function _Kt(t={}){return{storage:{...t},createRender(e={}){return{contentHtml:`
					<div id="${this.storage.containerId}" class="attribute-coordinate-containter">
						<div id="cordinateContainer"></div>
					</div>
                `}},async render(e={}){let i=document.getElementById(`${this.storage.containerId}`);i.outerHTML=this.createRender({...this.storage,...e}).contentHtml},initial(e={}){this.storage.contentData=e,this.storage.componentContainerElement=document.getElementById(`${this.storage.containerId}`),this.storage.$componentContainerElement=(0,ijo.default)(this.storage.componentContainerElement),this.methodsGather.renderCoordinateView.call(this)},bindEvent(){},methodsGather:{renderCoordinateView(){let e=this.storage.componentContainerElement.querySelector("#cordinateContainer");e.innerHTML=fln.createCordinateHtmlString(this.storage.contentData.coordinate)}}}}async function jKt(t={},e){let i={...t},o=e,r=_Kt({eventBusNameSpace:o,containerId:"f3DCoordinateOuterContainer"}),n=new v4e;return await r.render(i),OQ.clearNameSpace(o),OQ.on("ATTR_PANEL_BASEACTION",a=>{Dce(a,n)},o),r.initial(i),r.bindEvent(),D4e(r,n)}var Jte=L(Vi());var vg={selectedLayerId:{value:0,get(){return this.value},set(t){this.value=t}},itemLayerList:{value:[],get(){return this.value},set(t){this.value=t}},hasCollapsedGroupdLayerIdColls:{}};var gln={createStatusLayerTableHtmlString(t){return{contentHtml:`
            <div style="width: 100%;">${me.i18n(t)}</div>
        `}},createListLayerTableHtmlString(t={},e){let i=Mn.LAYER_GROUP_TAG,o=t.selectedLayerId,r=t.layerList,n="",a="";r.sort((d,u)=>d._gType-u._gType);let s=!0,l=!0;r.forEach((d,u)=>{d.isVisible||(s=!1),d.isLocked||(l=!1)});let c={};return Object.values(i).forEach((d,u)=>{let p=r.filter((m,h)=>m._gType==d.value);c[String(d.value)]={isGroupVisible:!0,isGroupLocked:!0},p.forEach((m,h)=>{m.isVisible||(c[String(d.value)].isGroupVisible=!1),m.isLocked||(c[String(d.value)].isGroupLocked=!1)})}),n+=`
            <div class="layer-panel-row display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap">
                <div class="active-toggle-btn" style="background-color: transparent; transform: translateX(-18px);"></div>
				<div 
					data-controlitem="toggle-all-visible" 
					class="visible-toggle-btn ${s?"visible-eye-tag":"hidden-eye-tag"}" 
					style="transform: translateX(-18px);">
				</div>
				<div 
					class="i18n" 
					i18n="All" 
					style="width: 100%; transform: translateX(-18px);">${me.i18n("All")}
				</div>
				<div 
					data-controlitem="toggle-all-locked" 
					class="${l?"locked-toggle-btn":"unlock-toggle-btn"}"
				>
                    <span style="display: block;"class="${l?"icon-eda-lock":"icon-eda-unlock"}"></span>
                </div>
            </div>
        `,Object.values(i).forEach((d,u)=>{let p=r.filter((m,h)=>m._gType==d.value);p.forEach((m,h)=>{let f="";if(/(Dielectric)(\d?)/g.test(m.title)){let g=m.title.replace(/(Dielectric)(\d?)/g,function(b,y,w){return me.i18n(y)+w});me.ext({"zh-hans":{[m.title]:g}}),f=`
						<span 
							i18n="${m.title}" 
							class="i18n">
							${me.i18n(m.title)}
						</span>
					`}else f=`
						<span 
							data-i18n-context="3d-view-layers"
							i18n="${m.title}" 
							class="i18n">
							${me._context_i18n("3d-view-layers",m.title,null)}
						</span>
					`;vg.hasCollapsedGroupdLayerIdColls[e]&&(m._sliderOpened=!vg.hasCollapsedGroupdLayerIdColls[e].has(+m.id)),h<=0&&(n+=`
                        <div class="layer-panel-row display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap">
							<div 
								data-controlitem="toggle-open-group" 
								data-layerid="${m.id}" 
								data-slider-open="${m._sliderOpened}" 
								class="active-toggle-btn group-slider ${m._sliderOpened?"":"group-slider-collapsed"}" 
								style="background-color: transparent; transform: translateX(-18px);">
							</div>
							<div 
								data-controlitem="toggle-group-visible" 
								data-group-id="${m._gType}" 
								class="visible-toggle-btn ${c[String(m._gType)].isGroupVisible?"visible-eye-tag":"hidden-eye-tag"}" 
								style="transform: translateX(-18px);">
							</div>
							<div 
								class="i18n" 
								i18n="${m._gTypeName}" 
								style="width: 100%; transform: translateX(-18px);">${me._context_i18n("3d-view-layers",m._gTypeName,null)}
							</div>
							<div 
								data-controlitem="toggle-group-locked" 
								data-group-id="${m._gType}" 
								class="${c[String(m._gType)].isGroupLocked?"locked-toggle-btn":"unlock-toggle-btn"}"
							>
								<span 
									style="display: block;" 
									class="${c[String(m._gType)].isGroupLocked?"icon-eda-lock":"icon-eda-unlock"}">
								</span>
                            </div>
                        </div>
                        <div class="layer-content-list" style="${m._sliderOpened?"":"display: none;"}">
                    `),n+=`
					<div 
						class="layer-panel-row display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap ${m.id==o?"layer-panel-row-active":""}" 
						data-layerid="${m.id}" 
						data-group-id="${m._gType}"
					>
						<div 
							data-controlitem="toggle-selected"
							class="active-toggle-btn" 
						>
						</div>
						<div 
							data-controlitem="toggle-visible" 
							class="visible-toggle-btn ${m.isVisible?"visible-eye-tag":"hidden-eye-tag"}">
						</div>
						<div 
							data-controlitem="toggle-selected" 
							class="layer-content-show" 
							data-i18n-attr="title"
						>
							<span>${m.id}</span>
							${f}
						</div>
						<div 
							data-controlitem="toggle-locked" 
							class="${m.isLocked?"locked-toggle-btn":"unlock-toggle-btn"}"
						>
                            <span style="display: block;" class="${m.isLocked?"icon-eda-lock":"icon-eda-unlock"}"></span>
                        </div>
                    </div>
                `,h>=p.length-1&&(n+="</div>")})}),a=`
            <div class="layer-panel-table">${n}</div>
        `,{contentHtml:a}}},ojo=gln;function rjo(t){vg.selectedLayerId.set(null),vg.itemLayerList.set([]),vg.hasCollapsedGroupdLayerIdColls[t]&&vg.hasCollapsedGroupdLayerIdColls[t].clear()}var BKt=!1;function zKt(t={}){return{storage:{...t},createRender(e={}){return{contentHtml:`
					<div data-tab="pcb3d-layer" id="${this.storage.containerId}" class="attr-main">
						<div id="${this.storage.layerContainerId}"></div>
					</div>
                `}},async render(e={}){let i=document.getElementById(`${this.storage.containerId}`),o=i.scrollTop;i.outerHTML=this.createRender({...this.storage,...e}).contentHtml;let r=this.methodsGather.handleLayerList.call(this,e.layerList);vg.itemLayerList.set(r),this.methodsGather.updatePanel.call(this,o)},initial(e={}){this.storage.contentData=e,this.storage.componentContainerElement=document.getElementById(`${this.storage.containerId}`),this.storage.$componentContainerElement=(0,Jte.default)(this.storage.componentContainerElement),this.storage.layerContainerElement=document.getElementById(`${this.storage.layerContainerId}`),this.storage.$layerContainerElement=(0,Jte.default)(this.storage.layerContainerElement),BKt||(BKt=!0,he.$on(r2.CLOSE_TAB,i=>{String(i.doctype)===String(ve.VIEW3D)&&(BKt=!1,rjo(i.tabid))}))},bindEvent(e=new Function){let i=this,o=this.storage.layerContainerElement;(0,Jte.default)(o).on("click","[data-controlitem]",function(r){let n=-1,a=this.parentElement,s=he.getActiveTab();switch(vg.hasCollapsedGroupdLayerIdColls[s]||(vg.hasCollapsedGroupdLayerIdColls[s]=new Set),String(this.getAttribute("data-controlitem"))){case"toggle-selected":{if(n=a.getAttribute("data-layerid"),vg.selectedLayerId.get()===n)return;let l=(0,Jte.default)(".layer-panel-row",(0,Jte.default)(a.parentElement.parentElement));Array.from(l).forEach((c,d)=>{c===a?c.classList.add("layer-panel-row-active"):c.classList.remove("layer-panel-row-active")}),vg.selectedLayerId.set(n),e(Qp.SetData.name,Qp.SetData.createResult(Wp.toggleLayerSelected.name,Wp.toggleLayerSelected.createResult({layerid:n})))}break;case"toggle-open-group":{let l=this.getAttribute("data-slider-open"),c=this.getAttribute("data-layerid"),d=this.parentElement.nextElementSibling;String(l)==="true"?(this.setAttribute("data-slider-open","false"),this.classList.add("group-slider-collapsed"),vg.itemLayerList.get().forEach((u,p)=>{String(u.id)===String(c)&&(u._sliderOpened=!1)}),(0,Jte.default)(d).slideUp("fast"),vg.hasCollapsedGroupdLayerIdColls[s].add(+c)):(this.setAttribute("data-slider-open","true"),this.classList.remove("group-slider-collapsed"),vg.itemLayerList.get().forEach((u,p)=>{String(u.id)===String(c)&&(u._sliderOpened=!0)}),(0,Jte.default)(d).slideDown("fast"),vg.hasCollapsedGroupdLayerIdColls[s].delete(+c))}break;case"toggle-visible":{let l=[];n=a.getAttribute("data-layerid"),vg.itemLayerList.get().forEach((c,d)=>{String(c.id)===String(n)&&(c.isVisible?l.push({id:n,isVisible:!1}):l.push({id:n,isVisible:!0}),c.isVisible=!c.isVisible)}),he.getTabIFrame(he.getActiveTab()).then(c=>{C.windowBridge.publish("3DViewLayerVisible",l,c.contentWindow),i.methodsGather.updatePanel.call(i)})}break;case"toggle-group-visible":{let l=null,c=null,d=[],u=[];l=!this.classList.contains("visible-eye-tag"),c=this.getAttribute("data-group-id"),vg.itemLayerList.get().forEach((p,m)=>{String(p._gType)===String(c)&&(p.isVisible=l,d.push(String(p.id)),u.push({id:String(p.id),isVisible:l}))}),he.getTabIFrame(he.getActiveTab()).then(p=>{C.windowBridge.publish("3DViewLayerVisible",u,p.contentWindow),i.methodsGather.updatePanel.call(i)})}break;case"toggle-all-visible":{let l=null,c=[],d=[];l=!this.classList.contains("visible-eye-tag"),vg.itemLayerList.get().forEach((u,p)=>{u.isVisible=l,c.push(String(u.id)),d.push({id:String(u.id),isVisible:l})}),he.getTabIFrame(he.getActiveTab()).then(u=>{C.windowBridge.publish("3DViewLayerVisible",d,u.contentWindow),i.methodsGather.updatePanel.call(i)})}break}})},methodsGather:{handleLayerList(e){let i=[],o=Mn.LAYER_GROUP_TAG;return e.forEach(r=>{let n=Object.assign({},r);n._sliderOpened=!0;let a=Number(n.id);if(o.TOP.layerIds.includes(a))n._gType=o.TOP.value,n._gTypeName=o.TOP.name;else if(o.BOTTOM.layerIds.includes(a))n._gType=o.BOTTOM.value,n._gTypeName=o.BOTTOM.name;else if(o.D3SHELL.layerIds.includes(a))n._gType=o.D3SHELL.value,n._gTypeName=o.D3SHELL.name;else if(o.INNER.layerIds.includes(a)){n._gType=o.INNER.value,n._gTypeName=o.INNER.name;let s=/^(Inner)(\d+)/gi.exec(n.title);s&&(n.languageHashtable={[n.title]:"\u5185\u5C42"+s[2]}),n._localeExt=!0}else{n._gType=o.OTHER.value,n._gTypeName=o.OTHER.name;let s=/^(Custom)(\d+)/gi.exec(n.title);s&&(n.languageHashtable={[n.title]:"\u7528\u6237\u81EA\u5B9A\u4E49\u5C42"+s[2]},n._localeExt=!0);let l=/^(Dielectric)(\d+)/gi.exec(n.title);l&&(n.languageHashtable={[n.title]:"\u4ECB\u7535"+l[2]},n._localeExt=!0)}i.push(n)}),i},updatePanel(e=void 0){let i=document.getElementById(`${this.storage.layerContainerId}`),o=vg.selectedLayerId.get(),r=vg.itemLayerList.get(),n=he.getActiveTab();i.innerHTML=ojo.createListLayerTableHtmlString({layerList:r,selectedLayerId:o},n).contentHtml,typeof e<"u"&&(i.parentElement.scrollTop=e),C.rightPanelActiveTab.PCB3D!=="pcb3d-layer"&&i.parentElement.classList.add("hidden")}}}}async function FKt(t={},e){let i={...t},o=e,r=zKt({eventBusNameSpace:o,containerId:"f3DLayerOuterContainer",layerContainerId:"model3DLayerContainer"}),n=new v4e;return await r.render(i),OQ.clearNameSpace(o),OQ.on("LAYER_PANEL_BASEACTION",a=>{Dce(a,n)},o),r.initial(i),r.bindEvent(),D4e(r,n)}var yln={"f3d-layer":async function(t={}){return FKt(t,"f3d-layer")},"f3d-attribute":async function(t={}){return RKt(t,"f3d-attribute")},coordinate:async function(t={}){return jKt(t,"coordinate")}};async function wdt(t,e={},i=new Function){return await yln[t](e,i)}async function njo(t={}){try{let e=await wdt("f3d-layer",t)}catch(e){console.warn(e)}}async function ajo(t={}){try{let e=await wdt("f3d-attribute",t);e&&e.$on("modifyAttr",async i=>{C.windowBridge.publish("3DViewModifyAttr",i.data,(await ei()).contentWindow),window.setTimeout(async()=>{C.windowBridge.publish("refresh3DViewPanel",null,(await ei()).contentWindow)})})}catch(e){console.warn(e)}}var sjo=L(Vi());var qte;async function ljo(t){let e=(0,sjo.default)(".window-mask"),i=!1;if(e.each((o,r)=>{r.style.display!=="none"&&(i=!0)}),i||![se.PCB,se.FOOTPRINT].includes(dt())){UKt();return}try{qte!=null&&(qte.$close(),qte=null);let{data:o,position:r}=t,n=new wc(r.x+10,r.y+10);qte=await ii("hover-canvas-primitive",{left:n.x,top:n.y,itemData:o}),qte.$on("closed",async a=>{})}catch(o){console.warn(o)}}function UKt(){qte==null||qte.$close()}function cjo(t){let{thicknessArr:e,bgColor:i,solderMaskColor:o,sprayColor:r,expose:n,unit:a,substrateHeight:s,topSilkBackgroundColor:l,topSilkDefaultColor:c,botSilkBackgroundColor:d,botSilkDefaultColor:u,silkTechnology:p,showSilk:m,flip:h,material:f,thicknessValue:g,isUsedJLCColorSilk:b}=t,y={},w=/(Dielectric|Multi|multi)(\d?)/g;return e.forEach(S=>{let T=S.layerName,M=!1;if(w.test(T)){let I=T.replace(w,function(A,D,E){return me.i18n(D)+E});me.ext({"zh-hans":{[T]:I}}),M=!0}y[T]={value:S.thickness,unit:S.unit||"mm",disabled:S.disabled||!1,isExtI18n:M}}),{status:JSON.parse(JSON.stringify(t)),attrlists:[{data:{"attr-board-material":{value:f,disabled:!1},"attr-background-color":{value:i,disabled:!1},"attr-board-color":{value:o,disabled:!1},"attr-pad-plating-color":{value:r,disabled:f=="substrate_fpc"},"attr-silk":{value:m,disabled:!1},"attr-board-side":{value:h===!1?"topSide":"bottomSilde",disabled:!1},"attr-silk-technology":{value:p,disabled:f=="substrate_fpc"},"attr-top-side-board-color":{value:l,disabled:!0},"attr-top-side-silkscreen-color":{value:c,disabled:!0},"attr-bottom-side-board-color":{value:d,disabled:!0},"attr-bottom-side-silkscreen-color":{value:u,disabled:!0}},title:"Property"},{data:{"attr-layer-expose":{value:n,unit:a,disabled:!1},"attr-substrate-height":{value:s,unit:a,disabled:!1},"attr-board-thickness":{value:g,unit:"mm",disabled:!0},"attr-thickness-table":{value:y,unit:"mm",disabled:!1}},title:"Layer Stacking"}]}}var NF=L(Vi());var wln=24;var VKt=class{constructor(){this.components={};this.parent=(0,NF.default)("#editor-window-main");this.initial()}update(e,i){this.isFontAppend(i,e.id)||this.render(e,i);let o=this.components[i][e.id].node;Object.keys(e).forEach(r=>{switch(r){case"transform":{(0,NF.default)(o).css({transform:this.transform(o,e.transform)});break}case"content":(0,NF.default)(o).children(".triangleToolFont-content").text(e.content)}})}delete(e,i){this.isFontAppend(e,i)&&((0,NF.default)(this.components[e][i].node).remove(),delete this.components[e][i])}render(e,i){if(this.components[e.id])return console.warn("TriangleToolFont: id duplicate");this.components[i]||(this.components[i]={});let o=this.components[i],r=o[e.id];if(!r){let n=this.createRender(e,i);r={node:n.children[0]},o[e.id]=r,this.parent.append(n)}}isFontAppend(e,i){return this.components[e]&&this.components[e][i]}transform(e,i){let[o,r,n]=i;switch(o){case"leftCenter":{n=n-e.offsetHeight/2;break}case"rightCenter":{r=r-e.offsetWidth,n=n-e.offsetHeight/2;break}case"topCenter":{r=r-e.offsetWidth/2;break}case"bottomCenter":{r=r-e.offsetWidth/2,n=n-e.offsetHeight;break}case"rightTop":{r=r-e.offsetWidth;break}case"rightBottom":{r=r-e.offsetWidth,n=n-e.offsetHeight;break}case"leftBottom":{n=n-e.offsetHeight;break}}return n+=wln,`translate(${r}px, ${n}px)`}initial(){let e=this;(0,NF.default)("#tabbar").on("click","[tabid] .icon-eda-cancel-3",function(){let o=(0,NF.default)(this).closest("[tabid]").attr("tabid");if(i(),!e.components[o])return;let r=e.components[o];Object.keys(r).forEach(n=>{this.delete(o,n)})}),(0,NF.default)("#tabbar").on("click",".tabbar-tab",i);function i(){Object.keys(e.components).forEach(o=>{let r=e.components[o]||{};Object.keys(r).forEach(n=>{(0,NF.default)(r[n].node).hide()})}),setTimeout(()=>{let o=he.getActiveTab(),r=e.components[o]||{};Object.keys(r).forEach(n=>{r[n]&&(0,NF.default)(r[n].node).show()})})}}createRender(e,i){let o=`
			<div 
				class="TriangleToolFont-${e.id}"
				style="
					position: absolute; 
					left: 0; 
					top: 0;
					z-index: 999;
					padding: 4px 9px;
					background-color: rgba(0, 0, 0, 0.9); 
					color: white;
					border: 1px solid rgb(80, 80, 80, 0.5); 
					box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 10px 5px; 
					letter-spacing: 1px;
					pointer-events: none;
					width: auto; 
					height: auto;
				"
				${i?'data-host-id="'+i+'"':""}
			>
				<span class="triangleToolFont-content">${e.content}</span>
			</div>
    	`;return document.createRange().createContextualFragment(o)}},djo=new VKt;function ujo(t){let e=he.getActiveTab(),i=Cln(e);t.options.forEach(o=>{if(o.transform){let[r,n,a]=o.transform;o.transform[1]=o.transform[1]+i.x,o.transform[2]=o.transform[2]+i.y}switch(o.operate){case"update":{djo.update(o,e);break}case"delete":{djo.delete(e,o.id);break}}})}function Cln(t){let e={x:0,y:0},i=document.getElementById("editorTabbar"),o=i.querySelector(`[uuid="${t}"]`);if(!o)return e;let r=o.getBoundingClientRect().toJSON(),n=i.getBoundingClientRect().toJSON();return e.x=r.left-n.x,e.y=r.top-n.y-24,e}var pjo=L(Hr());var mjo=L(z()),HKt=class extends um{constructor(){super();this.lastAction="";this._actionsMap={},this._apps=new Map,this._managers=new Map,this._rootFilbers=new Map}get actionsMap(){return this._actionsMap}set actionsMap(i){this._actionsMap=i}get apps(){return this._apps}set apps(i){this._apps=i}get managers(){return this._managers}set managers(i){this._managers=i}get rootFilbers(){return this._rootFilbers}set rootFilbers(i){this._rootFilbers=i}renderAttrViewApp(i,o,r,n){let a=i.header.action,s=!1;this.lastAction!==a&&(this.unmoutAttrViewApp(i,this.lastAction),this.lastAction=a),this.actionsMap[a]||(this.actionsMap[a]=Mt(),s=!0);let l=this.rootFilbers.get(a);l||(l=pjo.default.createRoot(o()),this.rootFilbers.set(a,l));let c=this.apps.get(a);c||(c=r(a),this.apps.set(a,c));let d=this.managers.get(a);d||(d=n(i.header,i.body),this.managers.set(a,d)),s?l.render((0,mjo.jsx)(c,{managerInstance:d})):d.updateView(i),d.bindUpdateAttrCallback((u,p)=>{this.emit("EMIT_UPDATEEVENT_TOOUT",{header:u,body:p})})}unmoutAttrViewApp(i,o){return o=o||i.header.action,this.actionsMap[o]?(this.managers.has(o)&&(this.managers.get(o).exit(),this.managers.delete(o)),this.rootFilbers.has(o)&&(this.rootFilbers.get(o).unmount(),this.rootFilbers.delete(o)),this.apps.has(o)&&this.apps.delete(o),this.actionsMap[o]=void 0,!0):!1}},Dg=new HKt;function kF(){let t=document.getElementById("attribute-tabs-containter"),e=t.querySelector('[data-tab="pcb-sketcher-attr"]'),i=Array.from(t.children);for(let r=0;r<i.length;r++){if(i[r]===e){i[r].classList.remove("hidden");continue}i[r].classList.add("hidden")}return e.querySelector(".attr-main")}function hjo(t){let e=t.header,i=t.body;return{header:e,body:i}}async function fjo({iHeader:t,iBody:e}){let i=t,o=e,r=await ei();return!i.tabId&&r&&(i.tabId=r.parentElement.getAttribute("uuid")),o.startTarget.layerId=+o.startTarget.layerId,o.endTarget.layerId=+o.endTarget.layerId,{header:i,body:o}}var o9=class{constructor(e,i){this._header=e,this._body=i,this._freshHandler=null,this._execupdateAttrCallbackTimer=null,this._updateAttrCallback=null}get header(){return this._header}set header(e){this._header=e}get body(){return this._body}set body(e){this._body=e}bindUpdateAttrCallback(e=null){this._updateAttrCallback=e}bindFreshHandleCallback(e=null){this._freshHandler=e}triggeUpdate(){this._freshHandler&&this._freshHandler(e=>e+1)}updateView(e){this.header=e.header,this.body=e.body,this.triggeUpdate()}updateAttr(e,i,o=!0){let r=e.split("."),n=this.body,a=r[r.length-1];for(let s=0;s<r.length-1;s++)if(n=n[r[s]],typeof n>"u")throw new Error("object cannot be undefined.");if(!n||typeof n[a]>"u")throw new Error("unable to locate specific key locations.");if(["keepResults","showRichInfo"].includes(a)){let s=localStorage.getItem("MeasureDistance"),l=s?JSON.parse(s):{};localStorage.setItem("MeasureDistance",JSON.stringify({...l,[a]:i}))}n[a]=i,o&&this.triggeUpdate(),window.clearTimeout(this._execupdateAttrCallbackTimer),this._execupdateAttrCallbackTimer=window.setTimeout(()=>{this._updateAttrCallback&&this._updateAttrCallback(this.header,this.body)})}baseExit(){this.header=null,this.body=null,this._freshHandler=null,this._updateAttrCallback=null}};var Cdt=class extends o9{constructor(e,i){super(e,i)}exit(){this.baseExit()}};var Ddt=L(Se());var xdt=L(Se());var Ky=L(z());function xln(t){let e=J(),{modeKey:i,modeValue:o,onAttrUpdate:r}=t,n=s=>{r(i,s)},a="";switch(i){case"showRichInfo":a="Show angle and unit converted value";break;default:throw Error("Unknown mode key")}return(0,Ky.jsx)("div",{style:{display:"flex",justifyContent:"space-between",width:"100%"},children:(0,Ky.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-center flex-nowrap",children:[(0,Ky.jsx)(qt,{checked:o,onChange:n}),(0,Ky.jsx)("span",{style:{paddingLeft:"5px"},children:e(a)})]})})}function GKt(t){let e=J(),{modeKey:i,isSelected:o,onSelectionChange:r}=t,n=()=>{r(i)},a="";switch(i){case"MeasureDistance":a="Measuring Distance";break;case"CreepageDistance":a="Creepage Distance";break;case"MeasureObjectDistance":a="Measuring Object";break;default:throw Error("Unknown mode key")}return(0,Ky.jsx)("div",{style:{display:"flex",justifyContent:"space-between",width:"100%"},children:(0,Ky.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-center flex-nowrap",children:[(0,Ky.jsx)(nn,{checked:o,onChange:n}),(0,Ky.jsx)("span",{style:{paddingLeft:"5px"},children:e(a)})]})})}function gjo(t){let e=J(),{measureMode:i,showRichInfo:o,onAttrUpdate:r,collapsed:n=!1,title:a="Mode",id:s=Mt()}=t,l=Mt(),c=Mt(),d=Mt(),u=Mt(),p=1,[m,h]=(0,xdt.useState)(i);(0,xdt.useEffect)(()=>{h(i)},[i]);let f=g=>{h(g),r("measureMode",g)};return(0,Ky.jsxs)(c0,{status:n?"close":"open",style:{backgroundColor:"var(--common-bg-color-panel-header)",marginBottom:"8px"},title:e(a),id:s,children:[(0,Ky.jsxs)("div",{style:{marginLeft:"18px"},children:[(0,Ky.jsx)(ao,{propertyPanelId:d,index:p,propertyKey:"",value:void 0,isShowPropertyKey:!1,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,Ky.jsx)(GKt,{modeKey:"MeasureDistance",isSelected:m==="MeasureDistance",onSelectionChange:f}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}}),(0,Ky.jsx)(ao,{propertyPanelId:l,index:p,propertyKey:"",value:void 0,isShowPropertyKey:!1,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,Ky.jsx)(GKt,{modeKey:"MeasureObjectDistance",isSelected:m==="MeasureObjectDistance",onSelectionChange:f}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}}),_t&&(0,Ky.jsx)(ao,{propertyPanelId:u,index:p,propertyKey:"",value:void 0,isShowPropertyKey:!1,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,Ky.jsx)(GKt,{modeKey:"CreepageDistance",isSelected:m==="CreepageDistance",onSelectionChange:f}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}})]}),(0,Ky.jsx)(ao,{propertyPanelId:c,index:p,propertyKey:"",value:void 0,isShowPropertyKey:!1,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,Ky.jsx)(xln,{modeKey:"showRichInfo",modeValue:o,onAttrUpdate:r}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}})]})}var bjo=L(z());function Tdt(t){let{unit:e,x:i,y:o}=t;return(0,bjo.jsxs)("div",{children:[i,e," / ",o,e]})}var c1=L(z());function Tln(t){let e=J(),{elementId:i,objectShowData:o={}}=t,r=e(o.DISTPLAY_TITLE||"-"),n=o.net||"",a=()=>n?(0,c1.jsxs)(c1.Fragment,{children:["(",(0,c1.jsx)("span",{children:n}),")"]}):null;return(0,c1.jsxs)("div",{children:[(0,c1.jsx)("span",{children:r}),(0,c1.jsx)(a,{}),":",(0,c1.jsx)("span",{children:i})]})}function Sln(t){let{isBeFilledType:e,positionKey:i,position:o,onAttrUpdate:r}=t,n=(a,s)=>{r(i,s.target.value)};return e?(0,c1.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap"},children:[(0,c1.jsx)(nn,{value:"EDGE",checked:o==="EDGE",children:"Edges",onChange:n}),(0,c1.jsx)(nn,{value:"CENTER",checked:o==="CENTER",children:"Center",onChange:n})]}):(0,c1.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap"},children:[(0,c1.jsx)("div",{style:{marginRight:"4px",marginBottom:"4px"},children:(0,c1.jsx)(nn,{value:"EDGE",checked:o==="EDGE",children:"Edges",onChange:n})}),(0,c1.jsx)("div",{children:(0,c1.jsx)(nn,{value:"CENTER",checked:o==="CENTER",children:"Line Center",onChange:n})})]})}function Sdt(t){let{elementId:e,layerIdKey:i,positionKey:o,objectShowData:r,position:n,layerId:a,layerOptions:s,isBeFilledType:l,unit:c,x:d,y:u,onAttrUpdate:p,hidePositionSelect:m=!1,disableLayerSelect:h=!1}=t,f=Mt(),g=1,b=Mt(),y=2,w=Mt(),x=3,S=Mt(),T=4,M=I=>{p(i,I.Layer.value)};return(0,c1.jsxs)(c1.Fragment,{children:[(0,c1.jsx)(ao,{propertyPanelId:f,index:g,propertyKey:"Object",value:void 0,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,c1.jsx)(Tln,{elementId:e,objectShowData:r}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}}),(0,c1.jsx)(ao,{propertyPanelId:b,index:y,propertyKey:"Layer",value:a,valueType:"select",valueOptions:s,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:M,labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"},disabled:h}),!m&&(0,c1.jsx)(ao,{propertyPanelId:w,index:x,propertyKey:"Position",value:void 0,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,c1.jsx)(Sln,{isBeFilledType:l,positionKey:o,position:n,onAttrUpdate:p}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}}),(0,c1.jsx)(ao,{propertyPanelId:S,index:T,propertyKey:`X/Y(${c})`,value:void 0,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,c1.jsx)(Tdt,{unit:c,x:d,y:u}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}})]})}var A4e=L(z());function Mdt(t){let{unit:e,x:i,y:o}=t,r=Mt();return(0,A4e.jsx)(A4e.Fragment,{children:(0,A4e.jsx)(ao,{propertyPanelId:r,index:1,propertyKey:"X/Y",value:void 0,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,A4e.jsx)(Tdt,{unit:e,x:i,y:o}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}})})}var Idt=L(z());function yjo(t){let e=J(),{selectedTargetType:i,elementId:o,objectShowData:r,layerId:n,layerOptions:a,position:s,isBeFilledType:l,unit:c,x:d,y:u,onAttrUpdate:p,collapsed:m=!1,title:h="Start",id:f=Mt()}=t,g=i==="CREEPAGE",b=!!o,w=i==="OBJECT"||i==="CREEPAGE"||g&&b;return(0,Idt.jsx)(c0,{status:m?"close":"open",style:{backgroundColor:"var(--common-bg-color-panel-header)",marginBottom:"8px"},title:e(h),id:f,onChange:x=>{console.log(x)},children:w?(0,Idt.jsx)(Sdt,{layerIdKey:"startTarget.layerId",positionKey:"startTarget.position",elementId:o,objectShowData:r,layerId:n,layerOptions:a,position:s,isBeFilledType:l,unit:c,x:d,y:u,onAttrUpdate:p,hidePositionSelect:g,disableLayerSelect:g}):(0,Idt.jsx)(Mdt,{unit:c,x:d,y:u})})}var Ldt=L(z());function wjo(t){let e=J(),{selectedTargetType:i,objectShowData:o,elementId:r,layerId:n,layerOptions:a,position:s,isBeFilledType:l,unit:c,x:d,y:u,onAttrUpdate:p,collapsed:m=!1,title:h="End",id:f=Mt()}=t;return(0,Ldt.jsx)(c0,{status:m?"close":"open",style:{backgroundColor:"var(--common-bg-color-panel-header)",marginBottom:"8px"},title:e(h),id:f,onChange:g=>{console.log(g)},children:i==="OBJECT"?(0,Ldt.jsx)(Sdt,{layerIdKey:"endTarget.layerId",positionKey:"endTarget.position",elementId:r,objectShowData:o,layerId:n,layerOptions:a,position:s,isBeFilledType:l,unit:c,x:d,y:u,onAttrUpdate:p}):(0,Ldt.jsx)(Mdt,{unit:c,x:d,y:u})})}var IEe=L(z());function LEe(t){let{content:e,bgColor:i,fontSize:o}=t,[r,n]=e.split("(");return(0,IEe.jsxs)("div",{children:[(0,IEe.jsx)("span",{style:{backgroundColor:i,fontSize:o},children:r}),n&&(0,IEe.jsxs)("span",{children:["(",n]})]})}var BL=L(z());function Cjo(t){let e=J(),{distance:i,dx:o,dy:r,angle:n,collapsed:a=!1,title:s=e("Result"),id:l=Mt(),creepageSpacing:c}=t,d=Mt(),u=1,p=Mt(),m=1,h=Mt(),f=1,g=Mt();return(0,BL.jsxs)(c0,{status:a?"close":"open",style:{backgroundColor:"var(--common-bg-color-panel-header)",marginBottom:"8px"},title:e(s),id:l,onChange:y=>{console.log(y)},children:[(0,BL.jsx)(ao,{propertyPanelId:d,index:u,propertyKey:"Distance",value:void 0,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,BL.jsx)(LEe,{content:String(i)}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}}),!c&&(0,BL.jsxs)(BL.Fragment,{children:[(0,BL.jsx)(ao,{propertyPanelId:p,index:m,propertyKey:"dX",value:void 0,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,BL.jsx)(LEe,{content:String(o)}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}}),(0,BL.jsx)(ao,{propertyPanelId:h,index:f,propertyKey:"dY",value:void 0,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,BL.jsx)(LEe,{content:String(r)}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}}),(0,BL.jsx)(ao,{propertyPanelId:g,index:1,propertyKey:"Angle",value:void 0,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,BL.jsx)(LEe,{content:String(n)}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}})]})]})}var vEe=L(z());function xjo(t){let e=J(),{propertyIndex:i,unitKey:o,unit:r,onAttrUpdate:n}=t,a=Mt(),s=[{value:"mm",text:"mm"},{value:"mil",text:"mil"}],l=c=>{n(o,c.Unit.value)};return(0,vEe.jsx)(vEe.Fragment,{children:(0,vEe.jsx)(ao,{propertyPanelId:a,index:i,propertyKey:"Unit",value:r,valueType:"select",valueOptions:s,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:l,labelSectionStyle:{width:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}})})}var N4e=L(Se());function vdt(t,e){let i={xRatio:1,yRatio:1},o=String(t).split(/,|，/),r=String(e).split(/,|，/);return o.length<=1&&(o[1]=o[0]),r.length<=1&&(r[1]=r[0]),i.xRatio=+o[0]/+r[0]||-1,i.yRatio=+o[1]/+r[1]||-1,i}function YKt(t,e,i,o,r,n){let a={gridSize:"",snapSize:""},s=t,l=r,{xRatio:c,yRatio:d}=e,u=YCt(i,n),p=YCt(o,n),m=+u.num1,h=+u.num2,f=+p.num1,g=+p.num2;return s==="attr-canvas-grid-size"?l&&c!==-1&&d!==-1?(f=m/c,g=h/d,a.gridSize=m===h?String(m):`${m},${h}`,a.snapSize=f===g?String(f):`${f},${g}`,a):(a.gridSize=m===h?String(m):`${m},${h}`,a):s==="attr-canvas-snap-size"?l&&c!==-1&&d!==-1?(m=f*c,h=g*d,a.gridSize=m===h?String(m):`${m},${h}`,a.snapSize=f===g?String(f):`${f},${g}`,a):(a.snapSize=f===g?String(f):`${f},${g}`,a):a}var Hx=L(z());function Tjo(t){let e=J(),{gridSizeKey:i,snapSizeKey:o,gridSize:r,snapSize:n,unit:a,onAttrUpdate:s}=t,[l,c]=(0,N4e.useState)(String(r)),[d,u]=(0,N4e.useState)(String(n)),[p,m]=(0,N4e.useState)(String(C.profileSetting.isAssociationPCBCanvasGridAndSnap)==="1"),h="i18n keep-width-height-ratio "+(p?"icon-eda-link":"icon-eda-unlink"),f=(0,N4e.useMemo)(()=>(r!==l&&c(r),n!==d&&u(n),vdt(r,n)),[r,n]),g=T=>{let M=T.target;M.select&&M.select()},b=T=>{let I=T.target.value;c(I)},y=T=>{let I=T.target.value;u(I)},w=T=>{let M=T.target,I=YKt("attr-canvas-grid-size",f,M.value,d,p,a);!I.gridSize||I.gridSize===r||(c(I.gridSize),s(i,I.gridSize),I.snapSize&&p&&(u(I.snapSize),s(o,I.snapSize)))},x=T=>{let M=T.target,I=YKt("attr-canvas-snap-size",f,l,M.value,p,a);!I.snapSize||I.snapSize===n||(u(I.snapSize),s(o,I.snapSize),I.snapSize&&p&&(c(I.gridSize),s(i,I.gridSize)))},S=async T=>{let M=!p;m(M),await Ks({isAssociationPCBCanvasGridAndSnap:M?1:0},!0)};return(0,Hx.jsx)("div",{style:{width:"100%"},children:(0,Hx.jsxs)("div",{style:{position:"relative"},children:[(0,Hx.jsxs)("div",{className:"display-flex flex-main-axis-between flex-lateral-axis-center flex-nowrap",children:[(0,Hx.jsx)("div",{className:"left txt_title f14 flex-none",style:{marginLeft:"25px",paddingLeft:"0",flex:"0 0 96px",width:"96px"},children:(0,Hx.jsx)("span",{className:"i18n",children:e("Grid Size")})}),(0,Hx.jsxs)("div",{className:"left txt_value",children:[(0,Hx.jsx)("input",{type:"text",name:"attr-canvas-grid-size",value:l,onChange:b,onBlur:w,onFocus:g,style:{width:"calc(100% - 45px)"}}),(0,Hx.jsx)("span",{style:{padding:"0 5px"},children:a})]})]}),(0,Hx.jsxs)("div",{className:"display-flex flex-main-axis-between flex-lateral-axis-center flex-nowrap",children:[(0,Hx.jsx)("div",{className:"left txt_title f14 flex-none",style:{marginLeft:"25px",paddingLeft:"0",flex:"0 0 96px",width:"96px"},children:(0,Hx.jsx)("span",{className:"i18n",children:e("Snap Size")})}),(0,Hx.jsxs)("div",{className:"left txt_value",children:[(0,Hx.jsx)("input",{type:"text",name:"attr-canvas-snap-size",value:d,onChange:y,onBlur:x,onFocus:g,style:{width:"calc(100% - 45px)"}}),(0,Hx.jsx)("span",{style:{padding:"0 5px"},children:a})]})]}),(0,Hx.jsx)("i",{className:h,"data-i18n-attr":"title",style:{right:"3px"},onClick:S})]})})}var Sjo=L(Se());var f6=L(z());function Mjo(t){let e=J(),{gridTypeKey:i,blodGridTypeKey:o,gridType:r,blodGridType:n,onAttrUpdate:a}=t,s=[{value:"grid",text:"Grid"},{value:"outlets",text:"Grid Dot"},{value:"none",text:"None"}],l=[{value:"grid",text:"Grid"},{value:"outlets",text:"Grid Dot"},{value:"none",text:"None"}],[c,d]=(0,Sjo.useState)(String(C.profileSetting.isAssociationPCBCanvasGridType)==="1"),u="i18n keep-width-height-ratio "+(c?"icon-eda-link":"icon-eda-unlink"),p=f=>{a(i,f),c&&a(o,f)},m=f=>{a(o,f),c&&a(i,f)},h=async f=>{let g=!c,b=await ei();d(g),await Ks({isAssociationPCBCanvasGridType:g?1:0},!0),C.messageBus.publish("updateAssociationPCBCanvasGridType",g?1:0,b&&b.contentWindow)};return(0,f6.jsx)("div",{style:{width:"100%"},children:(0,f6.jsxs)("div",{style:{position:"relative"},children:[(0,f6.jsxs)("div",{className:"display-flex flex-main-axis-between flex-lateral-axis-center flex-nowrap",children:[(0,f6.jsx)("div",{className:"left txt_title f14 flex-none",style:{marginLeft:"25px",paddingLeft:"0",flex:"0 0 96px",width:"96px"},children:(0,f6.jsx)("span",{className:"i18n",children:e("Grid Type")})}),(0,f6.jsx)("div",{className:"left txt_value",children:(0,f6.jsx)(xt,{list:s,value:r,onChange:p,name:"attr-canvas-grid-type",containerStyle:{width:"calc(100% - 18px)"},optionsAutoWidth:!0})})]}),(0,f6.jsxs)("div",{className:"display-flex flex-main-axis-between flex-lateral-axis-center flex-nowrap",children:[(0,f6.jsx)("div",{className:"left txt_title f14 flex-none",style:{marginLeft:"25px",paddingLeft:"0",flex:"0 0 96px",width:"96px"},children:(0,f6.jsx)("span",{className:"i18n",children:e("Bold Grid Type")})}),(0,f6.jsx)("div",{className:"left txt_value",children:(0,f6.jsx)(xt,{list:l,value:n,onChange:m,name:"attr-canvas-blodgrid-type",containerStyle:{width:"calc(100% - 18px)"},optionsAutoWidth:!0})})]}),(0,f6.jsx)("i",{className:u,"data-i18n-attr":"title",style:{right:"3px"},onClick:h})]})})}var DEe=L(z());function Ijo(t){let e=J(),{propertyIndex:i,snapKey:o,adsorb:r,onAttrUpdate:n}=t,a=Mt(),s=[{value:"yes",text:"yes"},{value:"no",text:"no"}],l=c=>{n(o,c.Snap.value)};return(0,DEe.jsx)(DEe.Fragment,{children:(0,DEe.jsx)(ao,{propertyPanelId:a,index:i,propertyKey:"Snap",value:r,valueType:"select",valueOptions:s,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:l,labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}})})}var Ece=L(z());function Ljo(t){let e=J(),{canvasUnit:i,canvasGridType:o,canvasBlodGridType:r,canvasGridSize:n,canvasSnapSize:a,canvasAdsorb:s,onAttrUpdate:l,collapsed:c=!1,title:d=e("Document"),id:u=Mt()}=t;return(0,Ece.jsxs)(c0,{status:c?"close":"open",style:{backgroundColor:"var(--common-bg-color-panel-header)",marginBottom:"8px"},title:e(d),id:u,onChange:g=>{console.log(g)},children:[(0,Ece.jsx)(xjo,{propertyIndex:1,unitKey:"canvas.unit",unit:i,onAttrUpdate:l}),(0,Ece.jsx)(Mjo,{propertyIndex:2,gridTypeKey:"canvas.gridType",blodGridTypeKey:"canvas.blodGridType",gridType:o,blodGridType:r,onAttrUpdate:l}),(0,Ece.jsx)(Tjo,{propertyIndex:3,gridSizeKey:"canvas.gridSize",snapSizeKey:"canvas.snapSize",gridSize:n,snapSize:a,unit:i,onAttrUpdate:l}),(0,Ece.jsx)(Ijo,{propertyIndex:4,snapKey:"canvas.adsorb",adsorb:s,onAttrUpdate:l})]})}var RQ=L(z());function vjo(){return function(e){let i=J(),{managerInstance:o}=e,[r,n]=(0,Ddt.useState)(0);o.bindFreshHandleCallback(n);let a=(s,l)=>{o.updateAttr(s,l)};return(0,Ddt.useEffect)(()=>()=>{o.exit()},[]),(0,RQ.jsxs)("section",{"data-fresh-trigger":r,children:[(0,RQ.jsx)("div",{style:{lineHeight:"30px",padding:"0 10px"},children:i("Measure Distance")}),(0,RQ.jsx)(gjo,{measureMode:o.body.measureMode,showRichInfo:o.body.showRichInfo,onAttrUpdate:a}),(0,RQ.jsx)(yjo,{selectedTargetType:o.body.startTarget.type,objectShowData:o.body.startTarget.elementShowData,layerId:String(o.body.startTarget.layerId),layerOptions:o.body.startTarget.layerOptions,position:o.body.startTarget.position,isBeFilledType:o.body.startTarget.isBeFilledType,elementId:o.body.startTarget.elementId,unit:o.body.canvas.unit,x:o.body.startTarget.x,y:o.body.startTarget.y,onAttrUpdate:a}),(0,RQ.jsx)(wjo,{selectedTargetType:o.body.endTarget.type,objectShowData:o.body.endTarget.elementShowData,layerId:String(o.body.endTarget.layerId),layerOptions:o.body.endTarget.layerOptions,position:o.body.endTarget.position,isBeFilledType:o.body.endTarget.isBeFilledType,elementId:o.body.endTarget.elementId,unit:o.body.canvas.unit,x:o.body.endTarget.x,y:o.body.endTarget.y,onAttrUpdate:a}),(0,RQ.jsx)(Cjo,{distance:o.body.measureResult.distance,dx:o.body.measureResult.dx,dy:o.body.measureResult.dy,angle:o.body.measureResult.angle,creepageSpacing:o.body.measureMode==="CreepageDistance"}),(0,RQ.jsx)(Ljo,{canvasUnit:o.body.canvas.unit,canvasGridType:o.body.canvas.gridType,canvasBlodGridType:o.body.canvas.blodGridType,canvasGridSize:o.body.canvas.gridSize,canvasSnapSize:o.body.canvas.snapSize,canvasAdsorb:o.body.canvas.adsorb,onAttrUpdate:a})]})}}function Djo(t){Dg.renderAttrViewApp(hjo(t),kF,vjo,(e,i)=>new Cdt(e,i)),Dg.clearEvent("EMIT_UPDATEEVENT_TOOUT"),Dg.on("EMIT_UPDATEEVENT_TOOUT",async({header:e,body:i})=>{let o=Xi();C.windowBridge.publish("UI2PCBAboutAttrDataUpdate",await fjo({iHeader:e,iBody:i}),o.contentWindow)})}function WKt(t={},e){if(!t||!e)return;let i=[],o=JSON.parse(JSON.stringify(t)),r=Object.keys(o);for(let n=0;n<r.length;n++){let a=o[r[n]],s=Mt(String(Math.random()));a.layerCount==2&&e[2]&&a.name==e[2].name&&i.push({list:a.list,id:s,layerCount:+a.layerCount})}return i}function Ejo(t){let e=t.header,i=t.body;return{header:e,body:i}}async function Ajo({iHeader:t,iBody:e}){let i=t,o=e,r=await ei();return!i.tabId&&r&&(i.tabId=r.parentElement.getAttribute("uuid")),{header:i,body:o}}var Ndt=L(Se());var _Q=L(z());function Njo(t){let e=J(),{propertyPanelId:i,propertyIndex:o,startTrackWidthKey:r,startTrackWidthVal:n,onAttrUpdate:a}=t,s=[{value:"rule",text:"Follow Rule"},{value:"last",text:"Customize"}],l=c=>{a(r,c["Start Track Width"].value)};return(0,_Q.jsxs)(_Q.Fragment,{children:[(0,_Q.jsx)(ao,{propertyPanelId:i,index:0,isShowValueCheckbox:!1,isShowKeyCheckbox:!1,valueContent:(0,_Q.jsx)(_Q.Fragment,{}),labelSectionStyle:{minHeight:0,height:0},style:{marginBottom:0,minHeight:0}}),(0,_Q.jsx)(ao,{propertyPanelId:i,index:o,propertyKey:"Start Track Width",value:n,valueType:"select",valueOptions:s,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:l,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})]})}var EEe=L(z());function kjo(t){let e=J(),{propertyIndex:i,startViaSizeKey:o,startViaSizeVal:r,onAttrUpdate:n}=t,a=Mt(),s=[{value:"rule",text:"Follow Rule"},{value:"last",text:"Customize"}],l=c=>{n(o,c["Start Via Size"].value)};return(0,EEe.jsx)(EEe.Fragment,{children:(0,EEe.jsx)(ao,{propertyPanelId:a,index:i,propertyKey:"Start Via Size",value:r,valueType:"select",valueOptions:s,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:l,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var AEe=L(z());function Pjo(t){let e=J(),{propertyIndex:i,attrAfterPlacingTheViaSwitch2LayerKey:o,attrAfterPlacingTheViaSwitch2Layer:r,onAttrUpdate:n}=t,a=Mt(),{options:s,value:l,activeLayerId:c,disabled:d}=r,u=async p=>{let m=p["After Placing The Via, Switch To The"].value;n(o,[c,m])};return(0,AEe.jsx)(AEe.Fragment,{children:(0,AEe.jsx)(ao,{propertyPanelId:a,index:i,propertyKey:"After Placing The Via, Switch To The",value:l,valueDisabled:d,valueType:"select",valueOptions:s,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:u,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var Xte=L(z());function Ojo(t){let e=J(),{propertyIndex:i,tracksGapKey:o,setAsRuleMiniumSpacingVal:r,unit:n,onAttrUpdate:a}=t,s=Mt(),l=t.tracksGapVal,c=u=>{a(o,u["Track Spacing"].value+"")},d=()=>{Number(l)!==Array.from(new Set(r))[0]&&a(o,r+"",!1)};return(0,Xte.jsxs)(Xte.Fragment,{children:[(0,Xte.jsx)(ao,{propertyPanelId:s,index:i,propertyKey:"Track Spacing",value:l,valueType:"unitInput",inputUnit:n,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:c,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}}),(0,Xte.jsx)("div",{style:{width:"100%",marginBottom:"8px"},children:(0,Xte.jsx)(Me,{type:"primary",onClick:d,style:{display:"block",margin:"0 auto"},children:e("Set as Rule Minium Spacing")})})]})}var NEe=L(z());function Rjo(t){let e=J(),{propertyIndex:i,trackWidthKey:o,trackWidth:r,unit:n,onAttrUpdate:a}=t,s=Mt(),l=c=>{a(o,c["Track Width"].value)};return(0,NEe.jsx)(NEe.Fragment,{children:(0,NEe.jsx)(ao,{propertyPanelId:s,index:i,propertyKey:"Track Width",value:r.value,valueType:"unitInput",inputUnit:n,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:l,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var kEe=L(z());function _jo(t){let e=J(),{propertyIndex:i,viaInsideDiameterKey:o,viaInsideDiameter:r,unit:n,onAttrUpdate:a}=t,s=Mt(),l=c=>{a(o,+c["Via Inside Diameter"].value)};return(0,kEe.jsx)(kEe.Fragment,{children:(0,kEe.jsx)(ao,{propertyPanelId:s,index:i,propertyKey:"Via Inside Diameter",value:r.value,valueType:"unitInput",inputUnit:n,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:l,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var PEe=L(z());function jjo(t){let e=J(),{propertyIndex:i,viaOutsideDiameterKey:o,viaOutsideDiameter:r,unit:n,onAttrUpdate:a}=t,s=Mt(),l=c=>{a(o,+c["Via Outside Diameter"].value)};return(0,PEe.jsx)(PEe.Fragment,{children:(0,PEe.jsx)(ao,{propertyPanelId:s,index:i,propertyKey:"Via Outside Diameter",value:r.value,valueType:"unitInput",inputUnit:n,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:l,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var Lln="wiringRightPanel";function zL(){let t=J();return(e,i=Lln)=>t({context:i,value:e,options:{}})}var PF=L(z());function Bjo(t){let e=zL(),{attrStartTrackWidth:i,attrTrackWidth:o,attrTracksGap:r,attrSetAsRuleMiniumSpacing:n,attrStartViaSize:a,attrAfterPlacingTheViaSwitch2Layer:s,attrViaOutsideDiameter:l,attrViaInsideDiameter:c,headerId:d,unit:u,onAttrUpdate:p,collapsed:m=!1,title:h=e("Track Property"),id:f=Mt()}=t;return(0,PF.jsxs)(c0,{status:m?"close":"open",style:{backgroundColor:"var(--common-bg-color-panel-header)",marginBottom:"8px"},title:e(h),id:f,onChange:M=>{console.log(M)},children:[(0,PF.jsx)(Njo,{propertyPanelId:d,propertyIndex:1,startTrackWidthKey:"trackProperty.startTrackWidth",startTrackWidthVal:i,onAttrUpdate:p}),(0,PF.jsx)(Rjo,{propertyIndex:2,trackWidthKey:"trackProperty.trackWidth.value",trackWidth:o,unit:u,onAttrUpdate:p}),d=="MULTI_WIRE"&&(0,PF.jsx)(Ojo,{propertyIndex:3,tracksGapKey:"trackProperty.tracksGap",tracksGapVal:r,setAsRuleMiniumSpacingKey:"trackProperty.setAsRuleMiniumSpacing",setAsRuleMiniumSpacingVal:n,unit:u,onAttrUpdate:p}),(0,PF.jsx)(kjo,{propertyIndex:4,startViaSizeKey:"trackProperty.startViaSize",startViaSizeVal:a,onAttrUpdate:p}),(0,PF.jsx)(jjo,{propertyIndex:5,viaOutsideDiameterKey:"trackProperty.viaOutsideDiameter.value",viaOutsideDiameter:l,unit:u,onAttrUpdate:p}),(0,PF.jsx)(_jo,{propertyIndex:6,viaInsideDiameterKey:"trackProperty.viaInsideDiameter.value",viaInsideDiameter:c,unit:u,onAttrUpdate:p}),s.visible==!0&&(0,PF.jsx)(Pjo,{propertyIndex:7,attrAfterPlacingTheViaSwitch2LayerKey:"trackProperty.afterPlacingTheViaSwitch2Layer.value",attrAfterPlacingTheViaSwitch2Layer:s,onAttrUpdate:p})]})}var jQ=L(z());function zjo(t){let e=J(),{propertyIndex:i,unitKey:o,unit:r,onAttrUpdate:n}=t,a=Mt(),s={minWidth:"24px",height:"24px",lineHeight:"24px",overflow:"hidden",textOverflow:"ellipsis",display:"flex",justifyContent:"center",whiteSpace:"nowrap",flex:"1 1 0%"},l=()=>{n(o,"mm")},c=()=>{n(o,"mil")};return(0,jQ.jsx)(jQ.Fragment,{children:(0,jQ.jsx)(ao,{propertyPanelId:a,index:i,propertyKey:"Unit",value:void 0,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,jQ.jsxs)("div",{style:{display:"flex",justifyContent:"start",width:"62%"},children:[(0,jQ.jsx)(Me,{style:{marginRight:"6%",...s},type:r=="mil"?"primary":"default",size:"sm",onClick:c,children:"mil"}),(0,jQ.jsx)(Me,{style:s,type:r=="mm"?"primary":"default",size:"sm",onClick:l,children:"mm"})]}),labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var Ace=L(Se());var Gx=L(z());function Fjo(t){let e=zL(),i=mt.getLanguage(),{propertyIndex:o,gridTypeKey:r,blodGridTypeKey:n,gridType:a,blodGridType:s,onAttrUpdate:l}=t,c=Mt(),[d,u]=(0,Ace.useState)("Grid"),[p,m]=(0,Ace.useState)("Grid Dot"),[h,f]=(0,Ace.useState)("None"),g=(0,Ace.useRef)(null),[b,y]=(0,Ace.useState)(String(C.profileSetting.isAssociationPCBCanvasGridType)==="1"),w="i18n keep-width-height-ratio "+(b?"icon-eda-link":"icon-eda-unlink"),x={overflow:"hidden",textOverflow:"ellipsis",display:"flex",justifyContent:"center",whiteSpace:"nowrap",flex:"1 1 0%"},S=()=>{l(r,"grid")},T=()=>{l(r,"outlets")},M=()=>{l(r,"none")},I=()=>{l(n,"grid")},A=()=>{l(n,"outlets")},D=()=>{l(n,"none")},E=async N=>{let R=!b,v=await ei();y(R),await Ks({isAssociationPCBCanvasGridType:R?1:0},!0),C.messageBus.publish("updateAssociationPCBCanvasGridType",R?1:0,v&&v.contentWindow)};return(0,Gx.jsxs)(Gx.Fragment,{children:[(0,Gx.jsx)(ao,{propertyPanelId:c,index:o,propertyKey:"Grid Type",value:void 0,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,Gx.jsxs)("div",{style:{display:"flex",justifyContent:"start",width:"calc(100% - 18px)"},children:[(0,Gx.jsx)(Me,{style:{marginRight:"4%",...x,flex:1},type:a=="grid"?"primary":"default",size:"sm",needCompressText:!0,onClick:S,children:e(d)}),(0,Gx.jsx)(Me,{style:{marginRight:"4%",...x,flex:1},type:a=="outlets"?"primary":"default",size:"sm",needCompressText:!0,onClick:T,children:e(p)}),(0,Gx.jsx)(Me,{style:{marginRight:"18px",...x,flex:1},type:a=="none"?"primary":"default",size:"sm",needCompressText:!0,onClick:M,children:e(h)})]}),labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}}),(0,Gx.jsx)(ao,{propertyPanelId:c,index:o,propertyKey:"Bold Grid Type",value:void 0,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,Gx.jsxs)("div",{ref:g,style:{display:"flex",justifyContent:"start",width:"calc(100% - 18px)"},children:[(0,Gx.jsx)(Me,{style:{marginRight:"4%",...x,flex:1},type:s=="grid"?"primary":"default",size:"sm",needCompressText:!0,onClick:I,children:e(d)}),(0,Gx.jsx)(Me,{style:{marginRight:"4%",...x,flex:1},type:s=="outlets"?"primary":"default",size:"sm",needCompressText:!0,onClick:A,children:e(p)}),(0,Gx.jsx)(Me,{style:{marginRight:"18px",...x,flex:1},type:s=="none"?"primary":"default",size:"sm",needCompressText:!0,onClick:D,children:e(h)})]}),labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}}),(0,Gx.jsx)("div",{style:{position:"relative"},children:(0,Gx.jsx)("i",{className:w,"data-test":"GridType",title:e(b?"Grid/Bold Grid Keep Type":"Not Grid/Bold Grid Keep Type"),style:{right:"10px",top:"-44px"},onClick:E})})]})}var OEe=L(z());function Ujo(t){let e=J(),{propertyIndex:i,blodGridRatioKey:o,blodGridRatio:r,onAttrUpdate:n}=t,a=Mt(),s=l=>{n(o,+l["Bold Grid Ratio"].value)};return(0,OEe.jsx)(OEe.Fragment,{children:(0,OEe.jsx)(ao,{propertyPanelId:a,index:i,propertyKey:"Bold Grid Ratio",value:r,valueType:"numberInput",isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:s,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var Edt=L(Se());var BQ=L(z());function Vjo(t){let e=J(),{propertyIndex:i,gridSizeKey:o,snapSizeKey:r,gridSize:n,snapSize:a,unit:s,onAttrUpdate:l}=t,c=Mt(),[d,u]=(0,Edt.useState)(String(C.profileSetting.isAssociationPCBCanvasGridAndSnap)==="1"),p="i18n keep-width-height-ratio "+(d?"icon-eda-link":"icon-eda-unlink"),m=(0,Edt.useMemo)(()=>vdt(n,a),[n,a]),h=async b=>{let y=!d;u(y),await Ks({isAssociationPCBCanvasGridAndSnap:y?1:0},!0)},f=b=>{d?(l(o,b["Grid Size"].value+""),l(r,b["Grid Size"].value+"")):l(o,b["Grid Size"].value+"")},g=b=>{d?(l(r,b["Snap Size"].value+""),l(o,b["Snap Size"].value+"")):l(r,b["Snap Size"].value+"")};return(0,BQ.jsxs)(BQ.Fragment,{children:[(0,BQ.jsx)(ao,{propertyPanelId:c,index:i,propertyKey:"Grid Size",value:n,valueType:"unitInput",inputUnit:s,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:f,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px",marginRight:"30px"}}),(0,BQ.jsx)(ao,{propertyPanelId:c,index:i,propertyKey:"Snap Size",value:a,valueType:"unitInput",inputUnit:s,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:g,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px",marginRight:"30px"}}),(0,BQ.jsx)("div",{style:{position:"relative"},children:(0,BQ.jsx)("i",{className:p,"data-test":"GridSize",title:e(d?"Grid/Snap Keep Ratio":"Not Keep Grid/Snap Ratio"),style:{right:"10px",top:"-44px"},onClick:h})})]})}var Adt=L(Se());var NR=L(z());function Hjo(t){let e=J(),{propertyIndex:i,snapKey:o,snapVal:r,onAttrUpdate:n}=t,a=Mt(),s=[{value:"allLayers",text:"All Layers"},{value:"currentLayer",text:"Current Layer"}],l=Wi("ADSORPTION","Snapping Key"),[c,d]=(0,Adt.useState)(l.options.value),u=m=>{C.profileSetting.commSystemSetting.ADSORPTION["Snapping Key"].value.options.value=m,d(m),mt.settingApply(hn()),DZ(d0())},p=()=>{Qc({menuSelected:"ADSORPTION"})};return(0,Adt.useEffect)(()=>{let m=C.messageBus.subscribe("updateSnapLayerConfig",h=>{h&&d(h)});return()=>{m.cancel()}},[]),(0,NR.jsxs)(NR.Fragment,{children:[(0,NR.jsx)(ao,{propertyPanelId:a,index:i,propertyKey:"Snap",propertyTitle:"Snap",value:void 0,keyCheckBox:!0,keyChecked:r.value,onChange:m=>{n(o,m.keyChecked)},isShowValueCheckbox:!1,valueContent:(0,NR.jsx)(NR.Fragment,{children:(0,NR.jsx)(xt,{name:"attr-canvas-grid-type",list:s,value:c,onChange:u})}),labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px",marginRight:"30px"}}),(0,NR.jsx)("div",{style:{position:"relative"},children:(0,NR.jsx)("i",{"data-test":"Snap Setting",title:e("Snap Setting"),className:be("icon-eda-setting"),style:{position:"absolute",display:"inline-block",top:"-28px",right:"10px",width:"16px",height:"16px",cursor:"pointer"},onClick:p})})]})}var REe=L(z());function Gjo(t){let e=J(),{propertyIndex:i,altSnapSizeKey:o,altSnapSize:r,unit:n,onAttrUpdate:a}=t,s=Mt(),l=c=>{a(o,c["Alt Snap Size"].value+"")};return(0,REe.jsx)(REe.Fragment,{children:(0,REe.jsx)(ao,{propertyPanelId:s,index:i,propertyKey:"Alt Snap Size",value:r,valueType:"unitInput",originUnit:n,inputUnit:n,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:l,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var zQ=L(z());function k4e(t){let e=J(),{context:i={}}=t,{keyPrefix:o="trackCanvas.",indexOffset:r=0,collapsed:n=!1,title:a=e("Document"),id:s=Mt()}=i,l=f=>`${o}${f}`,c=1+r,d=2+r,u=3+r,p=4+r,m=5+r,h=6+r;return(0,zQ.jsxs)(c0,{status:n?"close":"open",style:{backgroundColor:"var(--common-bg-color-panel-header)",marginBottom:"8px"},title:a,id:s,onChange:f=>console.log(f),children:[(0,zQ.jsx)(zjo,{propertyIndex:c,unitKey:l("unit"),unit:t.canvasUnit,onAttrUpdate:t.onAttrUpdate}),(0,zQ.jsx)(Fjo,{propertyIndex:d,gridTypeKey:l("gridType"),blodGridTypeKey:l("blodGridType"),gridType:t.canvasGridType,blodGridType:t.canvasBlodGridType,onAttrUpdate:t.onAttrUpdate}),(0,zQ.jsx)(Ujo,{propertyIndex:u,blodGridRatioKey:l("blodGridRatio"),blodGridRatio:t.canvasBlodGridRatio,onAttrUpdate:t.onAttrUpdate}),(0,zQ.jsx)(Vjo,{propertyIndex:p,gridSizeKey:l("gridSize"),snapSizeKey:l("snapSize"),gridSize:t.canvasGridSize,snapSize:t.canvasSnapSize,unit:t.canvasUnit,onAttrUpdate:t.onAttrUpdate}),(0,zQ.jsx)(Hjo,{propertyIndex:m,snapKey:l("snap.value"),snapVal:t.canvasSnap,onAttrUpdate:t.onAttrUpdate}),(0,zQ.jsx)(Gjo,{propertyIndex:h,altSnapSizeKey:l("altSnapSize"),altSnapSize:t.canvasAltSnapSize,unit:t.unit,onAttrUpdate:t.onAttrUpdate})]})}var _Ee=L(z());function Yjo(t){let e=J(),{propertyIndex:i,routingCornerKey:o,routingCornerVal:r,onAttrUpdate:n}=t,a=Mt(),s=[{value:"WIRING_CORNER_LINE45",text:"Line 45\xB0"},{value:"WIRING_CORNER_LINE90",text:"Line 90\xB0"},{value:"WIRING_CORNER_ARC45",text:"Arc 45\xB0"},{value:"WIRING_CORNER_ARC90",text:"Arc 90\xB0"},{value:"WIRING_CORNER_ARC",text:"Arc Free Angle"},{value:"WIRING_CORNER_FREEANGLE",text:"Line Free Angle"}],l=c=>{n(o,c["Routing Corner"].value)};return(0,_Ee.jsx)(_Ee.Fragment,{children:(0,_Ee.jsx)(ao,{propertyPanelId:a,index:i,propertyKey:"Routing Corner",value:r,valueType:"select",valueOptions:s,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:l,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var jEe=L(z());function Wjo(t){let e=zL(),{propertyIndex:i,maximumRadiusKey:o,maximumRadiusVal:r,unit:n,onAttrUpdate:a}=t,s=Mt(),l=async c=>{mt.setCacheObj("MaximumRadius",c["Maximum Radius"].value),a(o,c["Maximum Radius"].value)};return(0,jEe.jsx)(jEe.Fragment,{children:(0,jEe.jsx)(ao,{propertyPanelId:s,index:i,propertyKey:"Maximum Radius",value:r,valueType:"unitInput",inputUnit:n,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:l,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var BEe=L(z());function Qjo(t){let e=J(),{propertyIndex:i,routingModeKey:o,routingModeVal:r,onAttrUpdate:n}=t,a=Mt(),s=[{value:"WIRING_MODE_PUSHAWAY",text:"Push"},{value:"WIRING_MODE_SURROUND_AND_PUSHAWAY",text:"Around & Push"},{value:"WIRING_MODE_SURROUND",text:"Around"},{value:"WIRING_MODE_OBSTRUCT",text:"Block"},{value:"WIRING_MODE_IGNORE",text:"Ignore"}],l=c=>{n(o,c["Routing Mode"].value)};return(0,BEe.jsx)(BEe.Fragment,{children:(0,BEe.jsx)(ao,{propertyPanelId:a,index:i,propertyKey:"Routing Mode",value:r,valueType:"select",valueOptions:s,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:l,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var zEe=L(z());function Kjo(t){let e=J(),{propertyIndex:i,pushViaKey:o,pushViaVal:r,onAttrUpdate:n}=t,a=Mt(),s=[{value:"OPTIMIZA_OPEN",text:"On"},{value:"OPTIMIZA_NONE",text:"Off"}],l=c=>{n(o,c["Push Via"].value)};return(0,zEe.jsx)(zEe.Fragment,{children:(0,zEe.jsx)(ao,{propertyPanelId:a,index:i,propertyKey:"Push Via",value:r,valueType:"select",valueOptions:s,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:l,labelSectionStyle:{width:"95px",paddingLeft:"38px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var FEe=L(z());function Zjo(t){let e=J(),{pathOptimization4BePushedKey:i,pathOptimization4BePushedVal:o,propertyIndex:r,onAttrUpdate:n,title:a="Mode",id:s=Mt()}=t,l=Mt(),c=[{value:0,text:"Individual Segment"},{value:1,text:"Full Routing"},{value:2,text:"None"}],d=u=>{n(i,u["Be Pushed Track Path Optimization"].value)};return(0,FEe.jsx)(FEe.Fragment,{children:(0,FEe.jsx)(ao,{propertyPanelId:l,index:r,propertyKey:"Be Pushed Track Path Optimization",value:o,valueType:"select",valueOptions:c,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:d,labelSectionStyle:{width:"95px",paddingLeft:"38px"},contentSectionStyle:{width:"100%",overflow:"hidden",minWidth:"fit-content",paddingLeft:"18px"}})})}var UEe=L(z());function P4e(t){let e=J(),{checkboxKey:i,checkboxValue:o,title:r,onAttrUpdate:n}=t;return(0,UEe.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-center flex-nowrap",children:[(0,UEe.jsx)(qt,{checked:o,onChange:s=>{n(i,s)}}),(0,UEe.jsx)("span",{title:e(r),style:{paddingLeft:"5px",paddingRight:"5px",minWidth:"fit-content"},children:e(r)})]})}var fb=L(z());function Jjo(t){let e=zL(),{removeLoopKey:i,removeLoopVal:o,propertyIndex:r,onAttrUpdate:n}=t,a=Mt(),s=c=>{let d=[{value:c,text:"Remove Circuits Containing Vias"},{value:o.removeLoopOptions[1].value,text:"Remove Circuits Containing Vias"}];n("trackOptions.removeLoop.removeLoopOptions",d)},l=c=>{let d=[{value:o.removeLoopOptions[0].value,text:"Remove Circuits Containing Vias"},{value:c,text:"Remove Circuits Containing Vias"}];n("trackOptions.removeLoop.removeLoopOptions",d)};return(0,fb.jsxs)(fb.Fragment,{children:[(0,fb.jsx)(ao,{propertyPanelId:a,index:r,propertyKey:"",value:void 0,isShowPropertyKey:!1,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,fb.jsx)(fb.Fragment,{children:(0,fb.jsx)(P4e,{checkboxKey:i,checkboxValue:o.value,title:e("Remove Loops"),onAttrUpdate:n})}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}}),o.value==!0&&(0,fb.jsxs)(fb.Fragment,{children:[(0,fb.jsx)(ao,{propertyPanelId:a,index:r,propertyKey:"",value:void 0,isShowPropertyKey:!1,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,fb.jsxs)(fb.Fragment,{children:[(0,fb.jsx)(qt,{checked:o.removeLoopOptions[0].value,onChange:s}),(0,fb.jsx)("span",{style:{paddingLeft:"5px",paddingRight:"5px",minWidth:"fit-content"},children:e("Remove Loops With Vias")})]}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"38px"}}),(0,fb.jsx)(ao,{propertyPanelId:a,index:r,propertyKey:"",value:void 0,isShowPropertyKey:!1,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,fb.jsxs)(fb.Fragment,{children:[(0,fb.jsx)(qt,{checked:o.removeLoopOptions[1].value,onChange:l}),(0,fb.jsx)("span",{style:{paddingLeft:"5px",paddingRight:"5px",minWidth:"fit-content"},children:e("Remove Antenna")})]}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"38px"}})]})]})}var qjo=L(Se());var OF=L(z());function Xjo(t){let e=zL(),{propertyIndex:i,minimumTrackCornersKey:o,minimumTrackCornersVal:r,onAttrUpdate:n}=t,a=Mt(),[s,l]=(0,qjo.useState)(r.toString()),c=d=>{isNaN(Number(d))||n(o,d)};return(0,OF.jsx)(OF.Fragment,{children:(0,OF.jsx)(ao,{propertyPanelId:a,index:i,propertyKey:e("Minimum Track Corners"),value:void 0,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,OF.jsxs)(OF.Fragment,{children:[(0,OF.jsx)(Kt,{type:"text",style:{width:"calc(100% - 18px)"},value:s,onChange:d=>l(d),onBlur:d=>{let u=r.toString(),p=$s(d.target.value).toString();p!==""&&!isNaN(Number(p))?p=Math.floor(Number(p)).toString():p=u,YPi(u,p,m=>{l(m),c(m)},m=>!isNaN(parseInt(m,10)))},enterTriggerBlur:!0,focusTriggerSelect:!0}),(0,OF.jsx)("span",{title:e("Times Line Width"),style:{minWidth:"36px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e("Times Line Width")})]}),labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var $te=L(z());function $jo(t){let e=zL(),{isHideCopperRegionKey:i,isHideCopperRegion:o,propertyIndex:r,onAttrUpdate:n,title:a="Mode",id:s=Mt()}=t,l=Mt();return(0,$te.jsx)($te.Fragment,{children:(0,$te.jsx)(ao,{propertyPanelId:l,index:r,propertyKey:"",value:void 0,isShowPropertyKey:!1,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,$te.jsx)($te.Fragment,{children:(0,$te.jsx)(P4e,{checkboxKey:i,checkboxValue:o,title:e("Hide Copper Region"),onAttrUpdate:n})}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}})})}var VEe=L(z());function eBo(t){let e=J(),{currentPathOptimizationKey:i,currentPathOptimization:o,propertyIndex:r,onAttrUpdate:n,title:a="Mode",id:s=Mt()}=t,l=Mt(),c=[{value:"OPTIMIZA_STRONG",text:"Strong"},{value:"OPTIMIZA_WEAK",text:"Weak"},{value:"OPTIMIZA_NONE",text:"Off"}],d=u=>{n(i,u["Current Track Path Optimization"].value)};return(0,VEe.jsx)(VEe.Fragment,{children:(0,VEe.jsx)(ao,{propertyPanelId:l,index:r,propertyKey:"Current Track Path Optimization",value:o,valueType:"select",valueOptions:c,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:d,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",minWidth:"fit-content",paddingLeft:"18px"}})})}var g6=L(z());function tBo(t){let e=zL(),{optionRoutingCorner:i,optionMaximumRadius:o,optionRoutingMode:r,optionPushVia:n,optionPathOptimization4BePushed:a,currentPathOptimization:s,optionMinimumTrackCorners:l,optionRemoveLoop:c,isHideCopperRegion:d,unit:u,onAttrUpdate:p,collapsed:m=!1,title:h=e("Track Options"),id:f=Mt()}=t,g=1,b=2,y=3,w=4,x=5,S=6,T=7,M=8,I=9,A=["WIRING_MODE_PUSHAWAY","WIRING_MODE_SURROUND_AND_PUSHAWAY"].includes(r);return(0,g6.jsxs)(c0,{status:m?"close":"open",style:{backgroundColor:"var(--common-bg-color-panel-header)",marginBottom:"8px"},title:e(h),id:f,onChange:D=>{console.log(D)},children:[(0,g6.jsx)(Yjo,{propertyIndex:g,routingCornerKey:"trackOptions.routingCorner",routingCornerVal:i,onAttrUpdate:p}),(i=="WIRING_CORNER_ARC45"||i=="WIRING_CORNER_ARC90")&&(0,g6.jsx)(Wjo,{propertyIndex:b,maximumRadiusKey:"trackOptions.maximumRadius",maximumRadiusVal:o,unit:u,onAttrUpdate:p}),(0,g6.jsx)(Qjo,{propertyIndex:y,routingModeKey:"trackOptions.routingMode",routingModeVal:r,onAttrUpdate:p}),A&&(0,g6.jsxs)(g6.Fragment,{children:[(0,g6.jsx)(Kjo,{propertyIndex:w,pushViaKey:"trackOptions.pushVia",pushViaVal:n,onAttrUpdate:p}),(0,g6.jsx)(Zjo,{propertyIndex:x,pathOptimization4BePushedKey:"trackOptions.pathOptimization4BePushed",pathOptimization4BePushedVal:a,onAttrUpdate:p})]}),(0,g6.jsx)(eBo,{propertyIndex:S,currentPathOptimizationKey:"trackOptions.currentPathOptimization",currentPathOptimization:s,onAttrUpdate:p}),(0,g6.jsx)(Jjo,{propertyIndex:T,removeLoopKey:"trackOptions.removeLoop.value",removeLoopVal:c,onAttrUpdate:p}),(0,g6.jsx)(Xjo,{propertyIndex:M,minimumTrackCornersKey:"trackOptions.minimumTrackCorners",minimumTrackCornersVal:l,onAttrUpdate:p}),(0,g6.jsx)($jo,{propertyIndex:I,isHideCopperRegionKey:"trackOptions.isHideCopperRegion",isHideCopperRegion:d,onAttrUpdate:p})]})}var eie=L(z());function iBo(){return function(e){let i=J(),{managerInstance:o}=e,{trackProperty:r,trackOptions:n,trackCanvas:a}=o.body,[s,l]=(0,Ndt.useState)(0);o.bindFreshHandleCallback(l);let c=(u,p,m)=>{o.updateAttr(u,p,m)};(0,Ndt.useEffect)(()=>()=>{o.exit()},[]);let d=()=>{switch(o.header.id){case"SINGLE_WIRE":return"Single Routing";case"DIFF_WIRE":return"Differentail Pair Routing";case"MULTI_WIRE":return"Multiple Routing"}};return(0,eie.jsx)("div",{id:o.header.id,children:(0,eie.jsxs)("section",{"data-fresh-trigger":s,children:[(0,eie.jsx)("div",{style:{lineHeight:"30px",padding:"0 10px"},children:i(d())}),(0,eie.jsx)(Bjo,{attrStartTrackWidth:r.startTrackWidth,attrTrackWidth:r.trackWidth,attrTracksGap:r.tracksGap,attrSetAsRuleMiniumSpacing:r.setAsRuleMiniumSpacing,attrStartViaSize:r.startViaSize,attrViaOutsideDiameter:r.viaOutsideDiameter,attrViaInsideDiameter:r.viaInsideDiameter,attrAfterPlacingTheViaSwitch2Layer:r.afterPlacingTheViaSwitch2Layer,headerId:o.header.id,unit:o.header.unit,onAttrUpdate:c}),(0,eie.jsx)(tBo,{optionRoutingCorner:n.routingCorner,optionMaximumRadius:n.maximumRadius,optionRoutingMode:n.routingMode,optionPushVia:n.pushVia,optionPathOptimization4BePushed:n.pathOptimization4BePushed,currentPathOptimization:n.currentPathOptimization,optionMinimumTrackCorners:n.minimumTrackCorners,optionRemoveLoop:n.removeLoop,isHideCopperRegion:n.isHideCopperRegion,unit:o.header.unit,onAttrUpdate:c}),(0,eie.jsx)(k4e,{canvasUnit:a.unit,canvasGridType:a.gridType,canvasBlodGridType:a.blodGridType,canvasBlodGridRatio:a.blodGridRatio,canvasGridSize:a.gridSize,canvasSnapSize:a.snapSize,canvasSnap:a.snap,canvasAltSnapSize:a.altSnapSize,unit:o.header.unit,onAttrUpdate:c})]})})}}var kdt=class extends o9{constructor(e,i){super(e,i)}exit(){this.baseExit()}};function oBo(t){Dg.renderAttrViewApp(Ejo(t),kF,iBo,(e,i)=>new kdt(e,i)),Dg.clearEvent("EMIT_UPDATEEVENT_TOOUT"),Dg.on("EMIT_UPDATEEVENT_TOOUT",async({header:e,body:i})=>{C.windowBridge.publish("UI2PCBAboutAttrDataUpdate",await Ajo({iHeader:e,iBody:i}),await Ra())})}function QKt(t){Dg.unmoutAttrViewApp(t),Dg.clearEvent("EMIT_UPDATEEVENT_TOOUT")}var Pdt=L(Se());var rBo=L(Se());var tie=L(z());function nBo(t){let e=J(),{glossMode:i,propertyIndex:o,glossModeKey:r,onAttrUpdate:n}=t,[a]=(0,rBo.useState)(()=>[{value:"ShortestPath",title:"Shortest Path"},{value:"AverageSpacing",title:"Average Spacing"},{value:"PadCenter",title:"Pad Center"}]),s=Mt();return(0,tie.jsx)(tie.Fragment,{children:a.map(l=>(0,tie.jsx)(ao,{propertyPanelId:s,index:o,propertyKey:"",value:void 0,isShowPropertyKey:!1,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,tie.jsx)(tie.Fragment,{children:(0,tie.jsx)(nn,{checked:i==l.value,value:l.value,children:l.title,onChange:c=>{c&&n(r,l.value)}})}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}},l.value))})}var O4e=L(z());function aBo(t){let e=J(),{mode:i,collapsed:o=!1,title:r=e("Gloss Mode"),id:n=Mt(),onAttrUpdate:a}=t;return(0,O4e.jsx)(O4e.Fragment,{children:(0,O4e.jsx)(Gq,{status:o?"close":"open",style:{backgroundColor:"#eeeeee",marginBottom:"8px"},title:e(r),id:n,onChange:s=>{console.log(s)},children:(0,O4e.jsx)(nBo,{propertyIndex:1,glossMode:i,glossModeKey:"glossMode.mode",onAttrUpdate:a})})})}var RF=L(z());function sBo(t){let e=J(),{glossPush:i,propertyIndex:o,glossPushKey:r,onAttrUpdate:n}=t,a=Mt();return(0,RF.jsx)(RF.Fragment,{children:(0,RF.jsx)(ao,{propertyPanelId:a,index:o,propertyKey:"",value:void 0,isShowPropertyKey:!1,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,RF.jsxs)(RF.Fragment,{children:[(0,RF.jsx)(qt,{checked:i,onChange:s=>{n(r,s)}}),(0,RF.jsx)("span",{style:{paddingLeft:"5px",paddingRight:"5px",minWidth:"fit-content"},children:e(" Attempts to push adjacent track when gloss is not possible")})]}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}})})}var R4e=L(z());function lBo(t){let e=J(),{pushTrack:i,collapsed:o=!1,title:r=e("Gloss Option"),id:n=Mt(),onAttrUpdate:a}=t;return(0,R4e.jsx)(R4e.Fragment,{children:(0,R4e.jsx)(Gq,{status:o?"close":"open",style:{backgroundColor:"#eeeeee",marginBottom:"8px"},title:e(r),id:n,onChange:s=>{console.log(s)},children:(0,R4e.jsx)(sBo,{propertyIndex:1,glossPush:i,glossPushKey:"glossOption.pushTrack",onAttrUpdate:a})})})}var Nce=L(z());function cBo(){return function(e){let i=J(),{managerInstance:o}=e,{glossMode:r,glossOption:n,trackCanvas:a}=o.body,[s,l]=(0,Pdt.useState)(0);o.bindFreshHandleCallback(l);let c=(d,u,p)=>{o.updateAttr(d,u,p)};return(0,Pdt.useEffect)(()=>()=>{o.exit()},[]),(0,Nce.jsxs)("section",{"data-fresh-trigger":s,children:[(0,Nce.jsx)("div",{style:{lineHeight:"30px",padding:"0 10px"},children:i("Gloss Selected Track")}),(0,Nce.jsx)(aBo,{mode:r.mode,onAttrUpdate:c}),(0,Nce.jsx)(lBo,{pushTrack:n.pushTrack,onAttrUpdate:c}),(0,Nce.jsx)(k4e,{canvasUnit:a.unit,canvasGridType:a.gridType,canvasBlodGridType:a.blodGridType,canvasBlodGridRatio:a.blodGridRatio,canvasGridSize:a.gridSize,canvasSnapSize:a.snapSize,canvasSnap:a.snap,canvasAltSnapSize:a.altSnapSize,unit:o.header.unit,onAttrUpdate:c})]})}}var Odt=class extends o9{constructor(e,i){super(e,i)}exit(){this.baseExit()}};function dBo(t){let e=t.header,i=t.body;return{header:e,body:i}}async function uBo({iHeader:t,iBody:e}){let i=t,o=e,r=await ei();return!i.tabId&&r&&(i.tabId=r.parentElement.getAttribute("uuid")),{header:i,body:o}}function pBo(t){Dg.renderAttrViewApp(dBo(t),kF,cBo,(e,i)=>new Odt(e,i)),Dg.clearEvent("EMIT_UPDATEEVENT_TOOUT"),Dg.on("EMIT_UPDATEEVENT_TOOUT",async({header:e,body:i})=>{C.windowBridge.publish("UI2PCBAboutAttrDataUpdate",await uBo({iHeader:e,iBody:i}),await Ra())})}var nnp=[38,39,40,37,35,18,16,17],Eln=[38,39,40,37,35],KKt=[];function mBo(t){KKt.length=0;let e=he.getActiveTab(),o=Vr("frame_"+e).getBoundingClientRect().toJSON(),r=hBo(t.filter,[]);return{...t,data:r,position:{x:+t.left+o.left-2,y:+t.top+o.top-2},onKeydown(n,a,{hitCmd:s,confirmedItemBoundingRect:l}){if(n.stopPropagation(),n.preventDefault(),s){t.onClick({cmdKey:s,cmdLink:s,mouseInfo:null,data:null,targetItemBoundingRect:l||l_()}),window.setTimeout(()=>{a()},50);return}Eln.indexOf(n.keyCode)>=0||KKt.indexOf(n.key.toLocaleUpperCase())<=-1||window.setTimeout(()=>{a()},50)},onKeyup(n,a){},onClick(n,a,s,l){if(a.ctrlKey){let{menuHotKey:c,menuHotKeyCmd:d,menuUiAction:u}=n;return Nc.modifyHotkeyByDialog(u,d),window.setTimeout(()=>{l()},50),!1}t.onClick({cmdKey:n.cmdlink.join(":"),cmdLink:n.cmdlink,mouseInfo:{button:a.button,ctrlKey:a.ctrlKey,altKey:a.altKey,shiftKey:a.shiftKey,mouseX:a.clientX,mouseY:a.clientY},data:n.data,targetItemBoundingRect:n.clickedItemBoundingRect||l_(),optional:s})},onEnterConfirm(n,a,s){t.onClick({cmdKey:n.join(":"),cmdLink:n,mouseInfo:null,data:null,targetItemBoundingRect:a||l_(),optional:s})}}}function hBo(t,e){for(let i=0;i<t.length;i++){let r=!!(t[i].option||{}).disabledI18n,n={};n.type="ITEM",n.data={subHotKey:t[i].subHotKey,subHotKeyCmd:t[i].subHotKeyCmd,uiAction:t[i].uiAction};let a=r?t[i].name:Rr(t[i].name);switch(t[i].subHotKey&&(a+=` (${t[i].subHotKey})`,KKt.push(t[i].subHotKey.toLocaleUpperCase())),n.title=a,n.cmd=t[i].cmd,n.disabled=t[i].disabled,n.checked=t[i].selectedTag,n.tips=t[i].tips,n.checkedIconColor="#03ad29",n.menuHotKey=t[i].subHotKey||"",n.menuHotKeyCmd=t[i].subHotKeyCmd||"",n.menuUiAction=t[i].uiAction||"",n.disabledI18n=r,t[i].cmd){case"PASTE":{n.iconClassName="icon-eda-paste";break}case"COPY":{n.iconClassName="icon-eda-copy";break}case"CUT":{n.iconClassName="icon-eda-cut";break}case"DELETE":{n.iconClassName="icon-eda-delete-trash";break}case"ADAPT_SELECTED":{n.iconClassName="icon-eda-view-fit-selection";break}case"ADAPT_ALL":{n.iconClassName="icon-eda-view-fit-all";break}case"SPLIT":{n.iconClassName="icon-eda-split";break}case"CUTOUT":{n.iconClassName="icon-eda-cutout";break}}t[i].extend&&(n.subMenu=hBo(t[i].extend,[])),e.push(n),t[i].separate&&e.push({type:"SEPARATOR"})}return e}function fBo(t){let e=t.header,i=t.body;return{header:e,body:i}}async function gBo({iHeader:t,iBody:e}){let i=t,o=e,r=await ei();return!i.tabId&&r&&(i.tabId=r.parentElement.getAttribute("uuid")),{header:i,body:o}}var jdt=L(Se());var FQ=L(z());function ZKt(t){let e=J(),{labelTitle:i,selectList:o,selectKey:r,selectVal:n,onAttrUpdate:a}=t,s=Mt(),l=c=>{a(r,c[i].value)};return(0,FQ.jsxs)(FQ.Fragment,{children:[(0,FQ.jsx)(ao,{propertyPanelId:s,index:s,isShowValueCheckbox:!1,isShowKeyCheckbox:!1,valueContent:(0,FQ.jsx)(FQ.Fragment,{}),labelSectionStyle:{minHeight:0,height:0},style:{marginBottom:0,minHeight:0}}),(0,FQ.jsx)(ao,{propertyPanelId:s,index:s,propertyKey:i,value:n,valueType:"select",valueOptions:o,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:l,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})]})}var HEe=L(z());function GEe(t){let e=J(),{labelTitle:i,inputKey:o,inputVal:r,unit:n,onAttrUpdate:a}=t,s=Mt(),l=async c=>{a(o,c[i].value)};return(0,HEe.jsx)(HEe.Fragment,{children:(0,HEe.jsx)(ao,{propertyPanelId:s,index:s,propertyKey:i,value:r,valueType:"unitInput",inputUnit:n,isShowPropertyKey:!0,isShowKeyCheckbox:!1,positive:!0,isShowValueCheckbox:!1,onChange:l,validatedValue:c=>{let d=parseFloat(c),u=d>=0;return{isValid:u,value:u?d:""}},labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var bBo=L(Se());var YEe=L(z());function Rdt(t){let[e]=(0,bBo.useState)(`checkbox${Mt()}`),i=J(),o={padding:"0 27px 10px 27px"},{inputKey:r,inputVal:n,labelTitle:a,onAttrUpdate:s,containerStyle:l={}}=t,c=u=>{s(r,u)},d={...o,...l};return(0,YEe.jsxs)("div",{className:"display-flex flex-lateral-axis-center flex-main-axis-start flex-nowrap",style:d,children:[(0,YEe.jsx)(qt,{id:e,checked:n,onChange:c}),(0,YEe.jsx)("label",{htmlFor:e,title:i(a),style:{paddingLeft:"5px",paddingRight:"5px",minWidth:"fit-content",userSelect:"none",cursor:"pointer"},children:i(a)})]})}var kce=L(z());function yBo(t){let e=J(),{primitiveList:i,primitiveTypeVal:o,layerList:r,layerId:n,lineWidth:a,isKeepNetProfile:s,headerId:l,unit:c,onAttrUpdate:d,collapsed:u=!1,title:p=e("Copy As"),id:m=Mt()}=t;return(0,kce.jsxs)(c0,{status:u?"close":"open",style:{backgroundColor:"var(--common-bg-color-panel-header)",marginBottom:"8px"},title:e(p),id:m,onChange:h=>{console.log(h)},children:[(0,kce.jsx)(ZKt,{labelTitle:"Type",selectList:i,selectKey:"primitiveType",selectVal:o,unit:c,onAttrUpdate:d}),(0,kce.jsx)(ZKt,{labelTitle:"Layer",selectList:r,selectKey:"layerId",selectVal:n,unit:c,onAttrUpdate:d}),o==="Board Outline"||o==="Line"?(0,kce.jsx)(GEe,{labelTitle:"Line Width",inputKey:"lineWidth",inputVal:a,unit:c,onAttrUpdate:d}):null,(0,kce.jsx)(Rdt,{labelTitle:"Retain Network",inputKey:"isKeepNetProfile",inputVal:s,unit:c,onAttrUpdate:d})]})}var WEe=L(z());function wBo(t){let e=J(),{labelTitle:i,inputOptions:o,inputKey:r,inputVal:n,unit:a,onAttrUpdate:s}=t,l=Mt(),c=async d=>{s(r,d[i].value)};return(0,WEe.jsx)(WEe.Fragment,{children:(0,WEe.jsx)(ao,{propertyPanelId:l,index:l,propertyKey:"",value:n,valueType:"radio",valueOptions:o,inputUnit:a,isShowPropertyKey:!1,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:c,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var _dt=L(Se());var QEe=L(z());function CBo(t){let e=J(),{labelTitle:i,inputKey:o,inputVal:r,unit:n,onAttrUpdate:a}=t,[s,l]=(0,_dt.useState)(String(r||"")),c=Mt(),d=async p=>{l(p[i].value),a(o,p[i].value)},u=async p=>{a(o,s)};return(0,_dt.useEffect)(()=>{String(r)!==s&&l(String(r))},[r]),(0,QEe.jsx)(QEe.Fragment,{children:(0,QEe.jsx)(ao,{propertyPanelId:c,index:c,propertyKey:i,value:s,valueType:"numberInput",inputUnit:n,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,positive:!0,onChange:d,onBlur:u,isControlledInput:!0,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var iie=L(z());function xBo(t){let e=J(),{copyOperationType:i,zoomDist:o,zoomRatio:r,isRemoveSourceTarget:n,headerId:a,unit:s,onAttrUpdate:l,collapsed:c=!1,title:d=e("Copy Option"),id:u=Mt()}=t;return(0,iie.jsxs)(c0,{status:c?"close":"open",style:{backgroundColor:"var(--common-bg-color-panel-header)",marginBottom:"8px"},title:e(d),id:u,onChange:p=>{console.log(p)},children:[(0,iie.jsx)(wBo,{labelTitle:"",inputOptions:[{text:"Contract",value:"ZoomIntByDist"},{text:e({value:"Expand",context:"specialcopy"}),value:"ZoomOutByDist"},{text:"Specify Scale",value:"ZoomByRatio"}],inputKey:"copyOperationType",inputVal:i,unit:s,onAttrUpdate:l}),i==="ZoomOutByDist"?(0,iie.jsx)(GEe,{labelTitle:"Expand Distance",inputKey:"zoomDist",inputVal:o,unit:s,onAttrUpdate:l}):i==="ZoomIntByDist"?(0,iie.jsx)(GEe,{labelTitle:"Contract Distance",inputKey:"zoomDist",inputVal:o,unit:s,onAttrUpdate:l}):(0,iie.jsx)(CBo,{labelTitle:"Scaling Ratio",inputKey:"zoomRatio",inputVal:r,unit:s,onAttrUpdate:l}),(0,iie.jsx)(Rdt,{labelTitle:"Delete the original object after copying",inputKey:"isRemoveSourceTarget",inputVal:n,unit:s,onAttrUpdate:l})]})}var Pce=L(z());function TBo(){return function(e){let i=J(),{managerInstance:o}=e,{primitiveTypeList:r,primitiveType:n,layerList:a,layerId:s,lineWidth:l,isKeepNetProfile:c,copyOperationType:d,zoomDist:u,zoomRatio:p,isRemoveSourceTarget:m}=o.body,[h,f]=(0,jdt.useState)(0);o.bindFreshHandleCallback(f);let g=(y,w,x)=>{o.updateAttr(y,w,x)};(0,jdt.useEffect)(()=>()=>{o.exit()},[]);let b=i("Copy Special");return(0,Pce.jsx)("div",{id:o.header.id,children:(0,Pce.jsxs)("section",{"data-fresh-trigger":h,children:[(0,Pce.jsx)("div",{style:{lineHeight:"30px",padding:"0 10px"},children:b}),(0,Pce.jsx)(yBo,{primitiveList:r,primitiveTypeVal:n,layerList:a,layerId:s,lineWidth:l,isKeepNetProfile:c,headerId:o.header.id,unit:o.header.unit,onAttrUpdate:g}),(0,Pce.jsx)(xBo,{copyOperationType:d,zoomDist:u,zoomRatio:p,isRemoveSourceTarget:m,headerId:o.header.id,unit:o.header.unit,onAttrUpdate:g})]})})}}var Bdt=class extends o9{constructor(e,i){super(e,i)}exit(){this.baseExit()}};function SBo(t){Dg.renderAttrViewApp(fBo(t),kF,TBo,(e,i)=>new Bdt(e,i)),Dg.clearEvent("EMIT_UPDATEEVENT_TOOUT"),Dg.on("EMIT_UPDATEEVENT_TOOUT",async({header:e,body:i})=>{C.windowBridge.publish("UI2PCBAboutAttrDataUpdate",await gBo({iHeader:e,iBody:i}),await Ra())})}function MBo(t){let e=t.header,i=t.body;return{header:e,body:i}}async function IBo({iHeader:t,iBody:e}){let i=t,o=e,r=await ei();return!i.tabId&&r&&(i.tabId=r.parentElement.getAttribute("uuid")),{header:i,body:o}}var zdt=L(Se());var Aln="wiringRightPanel";function LBo(){let t=J();return(e,i=Aln)=>t({context:i,value:e,options:{}})}var oie=L(z());function vBo(t){let e=LBo(),{propertyPanelId:i,paste2CurrentActiveLayer:o,propertyIndex:r,onAttrUpdate:n}=t,a=async(s,l)=>{await hxt({paste2CurrentActiveLayer:l?1:0},!0),n(s,l)};return(0,oie.jsx)(oie.Fragment,{children:(0,oie.jsx)(ao,{propertyPanelId:i,index:r,propertyKey:"",value:void 0,isShowPropertyKey:!1,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,valueContent:(0,oie.jsx)(oie.Fragment,{children:(0,oie.jsx)(P4e,{checkboxKey:"PasteProperty.paste2CurrentActiveLayer",checkboxValue:o,title:e("paste2CurrentActiveLayer"),onAttrUpdate:a})}),labelSectionStyle:{width:"95px",minWidth:"95px"},contentSectionStyle:{width:"100%",overflow:"hidden"},style:{paddingLeft:"18px"}})})}var KEe=L(z());function DBo(t){let{inheritNetValue:e,propertyIndex:i,onAttrUpdate:o}=t,r=Mt(),n=async a=>{let s=a.net.value;o("PasteProperty.inheritNet",s)};return(0,KEe.jsx)(KEe.Fragment,{children:(0,KEe.jsx)(ao,{propertyPanelId:r,index:i,propertyKey:"net",value:e,valueDisabled:!1,valueType:"select",valueOptions:_Xe,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:n,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var ZEe=L(z());function EBo(t){let e=J(),{paste2CurrentActiveLayer:i,inheritNet:o,onAttrUpdate:r}=t;return(0,ZEe.jsxs)(c0,{status:"open",style:{backgroundColor:"var(--common-bg-color-panel-header)",marginBottom:"8px"},title:e("Paste Property"),id:Mt(),children:[(0,ZEe.jsx)(vBo,{propertyPanelId:Mt(),propertyIndex:1,paste2CurrentActiveLayer:i,onAttrUpdate:r}),(0,ZEe.jsx)(DBo,{propertyIndex:2,inheritNetValue:o,onAttrUpdate:r})]})}var JEe=L(z());function ABo(t){let{propertyIndex:e,X:i,unit:o,onAttrUpdate:r}=t,n=Mt(),a=s=>{r("PasteLayout.isCursorChange",!0),r("PasteLayout.mouseX",s.X.value)};return(0,JEe.jsx)(JEe.Fragment,{children:(0,JEe.jsx)(ao,{propertyPanelId:n,index:e,propertyKey:"X",value:i,valueType:"unitInput",inputUnit:o,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:a,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var qEe=L(z());function NBo(t){let{propertyIndex:e,Y:i,unit:o,onAttrUpdate:r}=t,n=Mt(),a=s=>{r("PasteLayout.isCursorChange",!0),r("PasteLayout.mouseY",s.Y.value)};return(0,qEe.jsx)(qEe.Fragment,{children:(0,qEe.jsx)(ao,{propertyPanelId:n,index:e,propertyKey:"Y",value:i,valueType:"unitInput",inputUnit:o,isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:a,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var XEe=L(z());function kBo(t){let e=J(),{propertyIndex:i,rotate:o,onAttrUpdate:r}=t,n=Mt(),a=s=>{r("PasteLayout.rotation",s.Rotation.value)};return(0,XEe.jsx)(XEe.Fragment,{children:(0,XEe.jsx)(ao,{propertyPanelId:n,index:i,propertyKey:"Rotation",value:o,valueType:"unitInput",isShowPropertyKey:!0,isShowKeyCheckbox:!1,isShowValueCheckbox:!1,onChange:a,labelSectionStyle:{width:"95px",paddingLeft:"18px"},contentSectionStyle:{width:"100%",overflow:"hidden",paddingLeft:"18px"}})})}var $Ee=L(z());function PBo(t){let{onAttrUpdate:e}=t;return(0,$Ee.jsx)($Ee.Fragment,{children:(0,$Ee.jsx)(ao,{...Cv({text:"Apply",button:{type:"primary",onClick:o=>{e("PasteLayout.isApply",!0)}},readonly:void 0})})})}var Oce=L(z()),OBo=({mouseX:t,mouseY:e,rotation:i,unit:o,onAttrUpdate:r,collapsed:n=!1})=>{let a=J();return(0,Oce.jsxs)(c0,{status:n?"close":"open",style:{backgroundColor:"var(--common-bg-color-panel-header)",marginBottom:"8px"},title:a({context:"pastePanel",value:"Location"}),id:Mt(),children:[(0,Oce.jsx)(ABo,{propertyIndex:1,X:t,unit:o,onAttrUpdate:r}),(0,Oce.jsx)(NBo,{propertyIndex:2,Y:e,unit:o,onAttrUpdate:r}),(0,Oce.jsx)(PBo,{propertyIndex:3,onAttrUpdate:r}),(0,Oce.jsx)(kBo,{propertyIndex:4,rotate:i,onAttrUpdate:r})]})};var rie=L(z());function RBo(){return function(e){let i=J(),{managerInstance:o}=e,r=o.body,{PasteProperty:n,PasteLayout:a,PasteCanvas:s}=r,[l,c]=(0,zdt.useState)(0);o.bindFreshHandleCallback(c);let d=(u,p,m)=>{o.updateAttr(u,p,m)};return(0,zdt.useEffect)(()=>()=>{o.exit()},[]),(0,rie.jsx)("div",{id:o.header.id,children:(0,rie.jsxs)("section",{"data-fresh-trigger":l,children:[(0,rie.jsx)("div",{style:{lineHeight:"30px",padding:"0 10px"},children:i("Paste")}),(0,rie.jsx)(EBo,{paste2CurrentActiveLayer:n.paste2CurrentActiveLayer,inheritNet:n.inheritNet,onAttrUpdate:d}),(0,rie.jsx)(OBo,{mouseX:a.mouseX,mouseY:a.mouseY,rotation:a.rotation,unit:o.header.unit,onAttrUpdate:d}),(0,rie.jsx)(k4e,{canvasUnit:s.unit,canvasGridType:s.gridType,canvasBlodGridType:s.blodGridType,canvasBlodGridRatio:s.blodGridRatio,canvasGridSize:s.gridSize,canvasSnapSize:s.snapSize,canvasSnap:s.snap,canvasAltSnapSize:s.altSnapSize,unit:o.header.unit,onAttrUpdate:d,context:{keyPrefix:"PasteCanvas."}})]})})}}var Fdt=class extends o9{constructor(e,i){super(e,i)}exit(){this.baseExit()}};function _Bo(t){Dg.renderAttrViewApp(MBo(t),kF,RBo,(e,i)=>new Fdt(e,i)),Dg.clearEvent("EMIT_UPDATEEVENT_TOOUT"),Dg.on("EMIT_UPDATEEVENT_TOOUT",async({header:e,body:i})=>{C.windowBridge.publish("UI2PCBAboutAttrDataUpdate",await IBo({iHeader:e,iBody:i}),await Ra())})}async function jBo(){CEi(),C.pcbAttributeManagerHandler=x_o(),window.addEventListener("message",function(n){let a=n.data;if(typeof a=="object"&&a.action==="HIDDEN_PCB_CONTEXTMENU"){let s=Xi();s&&C.windowBridge.publish("rightClickMenuCMD",{isClose:!0},s.contentWindow)}}),C.messageBus.subscribe("setPcbMenuItemChecked",n=>{vC()&&Td.updateMenuItemCheck(n)}),C.messageBus.subscribe("iframe2main/trigger-event",n=>{document.activeElement&&n&&(n.type==="mouseRightDown"||n.type==="mouseMiddleDown"||n.type==="mouseLeftDown")&&(Da.closeAll(),si.closeAllMenu())}),C.messageBus.subscribe("pcbCanvasINFO",n=>{if(Td.updateCanvasInfo(n),he.getActiveTab()!==Td.activeUUID){iLt();return}FSe(Td.status)}),C.messageBus.subscribe("showPcbSlideMsg",n=>{De({type:"info",msg:Array.isArray(n)?{value:n[0],options:n[1]}:n})}),C.messageBus.subscribe("showPreviewRightClickMenu",n=>{let a=document.getElementById(n.iframeElementId);if(a||(a=document.querySelector(`div[uuid="${n.iframeElementId}"] iframe`)),!a)return;let s=a.getBoundingClientRect();Da.open({data:[{title:me.i18n("Recover"),cmd:"RECOVER_CANVAS",tips:""}],position:{x:n.x+s.left,y:n.y+s.top},isEnableRemovableByBlur:!!n.isEnableRemovableByBlur,onClick(l,c){let d=+a.getAttribute("c_doctype")==se.VIEW3D;if(l.cmd==="RECOVER_CANVAS"){let u=a.contentWindow;d?C.windowBridge.publish("toggle3DView",{cmd:"refresh"},a.contentWindow):C.windowBridge.publish("adaptAll","",u)}}})}),C.messageBus.subscribe("PartialRefreshTopMenuState",async n=>{if(!vC())return;let a={};n.refreshPasteState&&(a={canPaste:await Fst()},delete n.refreshPasteState);let s={...n,...a};Object.keys(s).length>0&&(Td.updatePartialState(s),FSe(Td.status))}),C.messageBus.subscribe("enablePcbMenuItem",async n=>{vC()&&(FSe(Td.status),await Td.updateEnableMenuItem(n))}),C.messageBus.subscribe("syncPcbPartitionStatus",n=>{AP.updatePartitionStatus(n)}),C.messageBus.subscribe("editFootprint",n=>{iQi(n)}),C.messageBus.subscribe("updateComponent",n=>{cW({params:{needUpdateSymbolData:!0,silentIfNone:!1},args:{uuids:n.uuids,deviceApplyRange:String(n.type)}})}),C.messageBus.subscribe("saveToLibrary",async n=>{let{devices:a,footprints:s,changeDeviceAttributes:l}=n,c=[];for(let u of a){let{message:p}=await C.messageBus.rpcCall($e.DEVICE.GET_SYMBOL_UUID,[u,C.currentProject.projectId]);c.push(p)}let d={};for(let u of s)if(hje.test(u)){let{message:p}=await C.messageBus.rpcCall($e.FOOTPRINT.GET,[u,C.currentProject.projectId]);p.source&&(d[p.source]=u)}jlt({devices:a,symbols:c,footprints:s,templateMap:d,changeDeviceAttributes:l})}),C.messageBus.subscribe("openAttributePlane",n=>{Ho.setTopBarItemChecked("toolbar_toggle(rightbar)"),Pn("layout_toggler_right",!1,!0),C.pcbAttributeManagerHandler.setAttrTabActive(),C.openRightPanel=!0,setTimeout(()=>{delete C.openRightPanel},1500)});var t=null;C.messageBus.subscribe("updateFootprintAttributePlane",async n=>{var s,l,c,d;O_o(n.result),(s=n.params)!=null&&s.isUpdateDeviceData&&((d=(c=(l=n.result)==null?void 0:l.head)==null?void 0:c.from)!=null&&d.includes("_")||R_o(n.result)),t=await __o({list:n.list}),await j_o(n.result);let a=[];for(let u=0;u<n.list.length;u++)n.list[u].select&&a.push(u);C.messageBus.publish("selectRows",{rows:a,from:"canvas"})}),C.messageBus.subscribe("flushWizardOption",async n=>{Vbe.editingStore.notify()}),C.messageBus.subscribe("pasteImage",async({buffer:n,name:a,type:s,lastModified:l})=>{if(le.hasDialogOpen())return;let c=new File([n],a,{type:s,lastModified:l});await t7t(c)}),C.messageBus.subscribe("selectRows",n=>{let{rows:a,from:s}=n;t&&(typeof t.storage.nowActiveTabId<"u"&&(t.storage.nowActiveTabId,he.getActiveTab()),t.methodsGather.selectRows&&t.methodsGather.selectRows.call(t,a,s))}),C.messageBus.subscribe("MeasureDistance",n=>{K_o.pcbCanvasRangingResult.output(n)}),C.messageBus.subscribe("openSystemDialog",n=>{switch(n){case"PCB_FOOTPRINT":case"PCB_THEME":case"PCB_COMM_GRID_SIZE":case"PCB_COMM_TRACK_WIDTH":case"PCB_COMM_VIA_SIZE":case"COMM_TYPEFACE":case"ADSORPTION":Qc({menuSelected:n});break}}),C.messageBus.subscribe("rightClickPcbMenu",async n=>{if(n.__timeStamp=performance.now(),Da.addSettingCacheItem("rightClickPcbMenu",{timeStamp:n.__timeStamp}),n&&String(n.state)==="hide"){let s=Xi();Da.delSettingCacheItem("rightClickPcbMenu"),C.windowBridge.publish("rightClickMenuCMD",{isClose:!0},s.contentWindow);return}iLt(),await V3(),n.filter=f8o(n.filter);let a=mBo({tag:"cancel-adsorbent",onClick:s=>{let l=Xi();C.windowBridge.publish("rightClickMenuCMD",s,l.contentWindow)},...n});Da.closeAll(),Da.open(a,{key:"rightClickPcbMenu",value:a.__timeStamp})}),C.messageBus.subscribe("hideRightClickPcbMenu",async n=>{Da.closeActive()}),C.messageBus.subscribe("initPcbMenuItemCheck",n=>{for(let[a,s]of Object.entries(n))v1(a,s)}),C.messageBus.subscribe("showPcbAlertMsg",n=>{Array.isArray(n)?Ut({type:"alert",message:`<div class="content i18n" i18n="${me.i18n.apply(null,n)}">${me.i18n.apply(null,n)}</div>`,isHtml:!0}):Ut({type:"alert",message:n})}),C.messageBus.subscribe("confirmSplitWhenConvertPolygon",({type:n,cmd:a})=>{Dt({icon:"warning",title:"Tips",closed:!0,content:me.i18n(n)+" "+me.i18n(" does not support polygons with holes,do you want to split the shape?"),showCancel:!0,onConfirm:()=>{let s=Xi();C.windowBridge.publish("splitWhenConvertPolygon",a,s.contentWindow)}})});let e=new gce;C.messageBus.subscribe("showPcbMsgAtCursor",n=>{e.update(n)}),C.messageBus.subscribe("reInitDesignTree",n=>{}),C.messageBus.subscribe("forceRenderTree",n=>{_l(n)});let i=new Rqe;new hdt;let o=null;C.messageBus.subscribe("findResultSelected",n=>{YY&&(clearTimeout(o),o=setTimeout(()=>{YY.canvasSelected(n)},200))}),C.messageBus.subscribe("showFindItemInBottomBar",(n={})=>{if(!n||!n.data)return;let a=n.data||{};if(!a.valueArr||!a.valueArr.length){De({type:"info",msg:"Object not found!"}),jJ({valueArr:[],titleArr:[]});return}C.openBottomPanel=!0,n.doNotShowTable||((0,Udt.default)("#layout_toggler_bottom").hasClass("close")&&Pn("layout_toggler_bottom",!1),It.getActiveTab(co.id).tabId!=="findResult"&&co.handleClick("findResult")),he.setTabData(he.getActiveTab(),{findResult:a}),jJ(a,n.selectFirstRow),setTimeout(()=>{C.openBottomPanel=!1},1500)}),document.addEventListener("keydown",n=>{C.globalKeyCodeStorage.includes(n.keyCode)||C.globalKeyCodeStorage.push(n.keyCode)},!0),document.addEventListener("keyup",n=>{let a=C.globalKeyCodeStorage.indexOf(n.keyCode);a>=0&&C.globalKeyCodeStorage.splice(a,1);let s=C.globalKeyCodeCache.indexOf(n.keyCode);s>=0&&C.globalKeyCodeCache.splice(s,1)},!0);let r=null;C.messageBus.rpcService("save",async n=>{var p,m;let a=he.getActiveTab(),s=!1;typeof n=="string"?a=n||a:ue.isPlainObject(n)&&(a=n.tabId||a,s=Kr(n.noToastMsg)?s:n.noToastMsg);let l=he.getTabDocType(a),c=(m=(p=he.getActiveTabData())==null?void 0:p.data)==null?void 0:m.libPath,d=new Qm(a,{path:c,docType:l}),u="failed";try{uc.showStatus="loading",uc.refreshView();let h=await d.todo();if(h&&h.success){u="success",s||De({type:"success",msg:"Saved successfully!",timer:3});let f=ue.splitComponentId2FolderAndFilenameMixin(a);Vm()===f.path&&_s(f.path,Ls())}}catch(h){console.error(h)}finally{uc.showStatus=u,uc.refreshView()}}),C.messageBus.subscribe("saveAll",async()=>{await xl().catch(()=>{})}),C.messageBus.subscribe("operateBottomPanel",async()=>{et("toolbar_toggle(bottombar)")}),C.messageBus.subscribe("openPCBInfomationDlg",n=>{let a=z_o(JSON.parse(n).info);Duo({lists:a})}),C.messageBus.subscribe("pcbcoordinateFileData",n=>{BDi(n.head,n.result,n.fileName,n.fileType,n.separator)}),C.messageBus.subscribe("setPcbTabUnSaved",n=>{let[a,s]=n;he.setTabUnSaved(a,s)}),C.messageBus.subscribe("checkSetPcbTabSaved",n=>{let[a,s]=n;he.isTabUnSaved(a)&&he.setTabUnSaved(a,!s)}),C.messageBus.subscribe("tabbar",n=>{let{cmd:a,params:s}=n,l=he[a](...s);l!=null&&C.messageBus.push("tabbarResult",l)}),C.messageBus.subscribe("editDevice",n=>{let a=n.uuids[0];C.messageBus.rpcCall($e.DEVICE.GET,[a,C.currentProject.projectId]).then(async s=>{if(mt.getSymbolLibManage()=="1"){let l=s.message;Ome(l,l.path||l.project_uuid,!0)}else{let l=s.message,c=await Nq({...s,scope:n.type,uuid:a});c.action==="yes"&&(await jKe(se.DEVICE,c.data),C.deviceType=n.type,qbe(a,l.path||l.project_uuid,!0))}})}),window.onbeforeunload=()=>{delete C.defaultFont},C.messageBus.subscribe("pcbUpdateProgress",n=>{vt(n.ratio,n.descripte,n.tabid,n.closeFn)}),C.messageBus.subscribe("renderPhotoPanel",async n=>{await Q_o(n)}),C.messageBus.subscribe("renderPhotoCoord",async n=>{C.messageBus.publish("ui/canvasMousePosition",{x:n.x,y:n.y,dx:n.dx,dy:n.dy,absX:n.x,absY:n.y,showUnit:n.unit}),C.messageBus.publish("ui/canvasInfo",{tabId:n.tabId,scaleValue:Number(n.scale*100).toFixed(0)}),C.messageBus.publish("ui/pcb/canvasGridSize",{gridX:n.gridX,gridY:n.gridY,polarAngleStep:n.polarAngleStep,polarRadiuStep:n.polarRadiuStep,unit:n.unit})}),C.messageBus.subscribe("render3DViewLayerPanel",async n=>{await njo(n)}),C.messageBus.subscribe("render3DViewAttributePanel",async n=>{let a=cjo(n);if(await ajo(a),n.pcbDefaultThicknessArr.length==0){let s={2:{name:"Board Thickness0.11mm"}},l=await ei();if(!l)return;C.windowBridge.publish("getPcbCurrentDefaultThickness",[WKt(C.profileSetting.usrPcbStackLayerPhyProfile,C.profileSetting.usrStackPhySettingDefaults),WKt(n$e[2].concat(C.profileSetting.usrFPCStackLayerPhyProfile||[]),C.profileSetting.usrFPCStackPhySettingDefaults||s)],l.contentWindow)}}),C.messageBus.subscribe("render3DViewCoord",async n=>{}),C.messageBus.subscribe("Pcb/doCommand",n=>{typeof n=="string"?et(n):et(n.cmd,n.args)}),C.messageBus.subscribe("pcb_hotkey",async n=>{if(C.globalKeyCodeCache.indexOf(n.keyCode)<=-1&&C.globalKeyCodeCache.push(n.keyCode),n.keyCode==27&&I6e())C.messageBus.publish("closeLastDialog","");else{let a=await Ra();C.windowBridge.publish("keydown",{keyCode:n.keyCode,shiftKey:n.shiftKey,ctrlKey:n.ctrlKey,altKey:n.altKey,func:n.func,hotkeyCmd:n.hotkeyCmd,from:n.from||null,metaKey:n.metaKey},a)}}),C.messageBus.subscribe("editPageClose",n=>{if([se.FOOTPRINT,se.PCB].includes(n.doctype)){let a=he.getTabContainer(n.uuid);mp.pcbIframes().deleteIframe(a,n.uuid),dF.delete(n.uuid)}If.hide(),Td.status.cmd="",FSe(Td.status)}),C.messageBus.subscribe("showFloatingInputBox",async n=>{let{type:a,data:s,show:l,frameInfo:c}=n,d=Wi("PCB_FOOTPRINT","useDynamicInputBox");if(l&&d){If.type=a;let p=(await ei()).getBoundingClientRect(),{top:m,left:h}=p,{width:f,height:g}=c;c={width:f,height:g,top:m,left:h},!If.inputBoxes.length&&s?If.init(s,c):If.update(s,c)}else If.inputBoxes.length&&If.removeRuler()}),C.messageBus.subscribe("valueInput",n=>{let a=[{type:"text",title:n.title,value:"",tips:n.unit,key:"input-value",inputStatus:"focus"}];function s(l){let c;l&&l.action=="confirm"&&(c=l.data.formData["input-value"]);let d=Xi();C.windowBridge.publish("valueInputEnd",+c,d.contentWindow)}cB({forms:a},s,s)}),C.messageBus.subscribe("editPadShape",()=>{(0,Udt.default)("#exitPadShapeTool").css("visibility","visible")}),C.messageBus.subscribe("interuptEditPadMode",()=>{(0,Udt.default)("#exitPadShapeTool").css("visibility","hidden")}),C.messageBus.subscribe("openTableSetting",n=>{mHe(n)}),C.messageBus.subscribe("openDialogWithTest",n=>{ljo(n)}),C.messageBus.subscribe("RenderTriangleToolFont",n=>{ujo(n)}),C.messageBus.subscribe("closeDialogWithTest",n=>{UKt()}),C.messageBus.subscribe("delete-differential-pair",n=>{Ut({type:"confirm",message:me.i18n("Sure to delete differential pair(s) {0}?",[n]),onConfirm:async()=>{let a=await ei();C.windowBridge.rpcCall("deleteDifferentail",n,a.contentWindow)}})}),C.messageBus.subscribe("openDifferentailPairDlg",VP),C.messageBus.subscribe("remove-from-net-group",({isNetClass:n,nets:a})=>{Ut({type:"confirm",message:`Sure to remove this net from its ${n?"net class":"equal length group"}?`,onConfirm:async()=>{De({type:"info",msg:me.i18n(`Has removed {0} from its ${n?"net class":"equal length group"}`,[a.map(s=>s.netName).join(", ")]),timer:2.5}),C.windowBridge.publish("removeNetFromNetClass",{type:n?"remove-from-net-class":"remove-from-equal-length-group",arr:a},await Ra())}})}),C.messageBus.subscribe("openDifferentailDialog",async n=>{let{name:a,positiveNet:s,negativeNet:l,diffPairList:c,netOptions:d,isEdit:u,fromRule:p,oldData:m}=n,h=await ei(),f=c||(await C.windowBridge.rpcCall("getDifferentailPairList","",h.contentWindow)).message;VP({differentailPairName:a,differentailPairPositiveNet:s,differentailPairNegativeNet:l,differentailPairList:f,isEdit:u,netOptions:d,fromRule:p,oldData:m})}),C.messageBus.subscribe("rebuildCopperRegionDialog",n=>{Ut({title:"Notice",type:"confirm",message:n!==""?n:"Suture vias have been placed,do you want to rebuid the copper area?",textOK:"Yes",textCancel:"No",onConfirm:()=>{he.getTabIFrame(he.getActiveTab()).then(s=>{C.windowBridge.publish("rebuildCopper","",s.contentWindow),C.windowBridge.publish("rebuildPlane","",s.contentWindow)})}})}),C.messageBus.subscribe("deletePartitionItemAndSubPcb",async n=>{let{mainPcbUuid:a,subPcbUuid:s}=n,c=(await C.messageBus.rpcCall($e.PCB.GET_ALL_ARR,[C.currentProject.projectId])).message.filter(d=>d.parent_uuid==a&&s==d.uuid);if(c.length>0){let d={canDeleteSymbolTitle:[],content:{Boards:[],CBB:[],PCB:[{pcb:c[0].uuid,displayTitle:c[0].display_title}],Page:[],Panel:[],Schematic:[]},isDelInstance:!1,isDelPartition:!0,toDelCBBs:[],toDelPcbs:[],toDelSchs:[],unDeleteSymbolTitle:[]};ii("sch_delete",d)}else{let d=Xi();C.windowBridge.rpcCall("continueDeletePartitionItem",null,d.contentWindow)}}),C.messageBus.subscribe("cancelDifferentailSelect",async()=>{await U6e()}),C.messageBus.subscribe("gridRangeSetting",n=>{let{startAngle:a,endAngle:s,minRadius:l,maxRadius:c,unit:d}=n;jFe({startAngle:a,endAngle:s,minRadius:l,maxRadius:c,unit:d})}),C.messageBus.rpcService("createSubPcb",async n=>{if(n.oldSubPcbUuid){let{message:l}=await C.messageBus.rpcCall(Ei.DOCUMENT.DELETE,{projectId:C.currentProject.projectId,uuid:n.oldSubPcbUuid,docType:se.PCB})}let a={uuid:n.newSubPcbUuid,parent_uuid:n.mainPcbUuid,title:n.title},{message:s}=await C.messageBus.rpcCall($e.PCB.CREATE_SUB,[a,C.currentProject.projectId]);return s!=null&&s.success&&Ga.isConcurrentStrictMode&&!Er()&&Ga.checkInAndOut("check_out",n.newSubPcbUuid),s&&s.success}),C.messageBus.subscribe("PCB2UIAboutRenderSketcherAttrView",n=>{if(Nn.mode.set("MEASURE"),n.header.switchTab&&Br.handleClick("pcb-sketcher-attr"),n.header.action==="DIST_MEASURE"){Br.handleClick("pcb-sketcher-attr"),Djo(n);return}if(n.header.action==="COPY_SPECIAL"){Br.handleClick("pcb-sketcher-attr"),SBo(n);return}if(["SINGLE_WIRE","DIFF_WIRE","MULTI_WIRE"].includes(n.header.action)){oBo(n);return}if(n.header.action==="TRACK_OPTIMIZATION"){pBo(n);return}if(n.header.action==="PASTE"){_Bo(n);return}}),C.messageBus.subscribe("PCB2UIAboutExitSketcherAttrView",n=>{Nn.mode.set("COMMON"),Br.handleClick(Mce.tabId?Mce.tabId:"pcb-layer"),QKt(n)}),C.messageBus.rpcService("PCB2UIAboutUnmountedSketcherAttrView",n=>{QKt(n)}),C.messageBus.rpcService("getAnnotationAuthority",async()=>await wlt.hasViewPermission()),C.messageBus.subscribe("getPcbShowTiltleInAnnotation",async n=>{C.windowBridge.publish("getShowTitleInAnnotation",n,await Ra())}),C.messageBus.subscribe("updateCreateAnnotation",async n=>{C.windowBridge.publish("updatePcbAnnotation",n,await Ra())}),C.messageBus.rpcService("getPcbAllTitle",async n=>{let a=(await C.messageBus.rpcCall($e.PCB.GET_ALL_KV,[C.currentProject.projectId])).message,s={};for(let l in a){let c=a[l];s[l]={title:c.display_title,docType:se.PCB}}return s}),C.messageBus.subscribe("CheckInAndOut",n=>{Ga.checkInAndOut(n)}),C.messageBus.subscribe("pcb/exportFile/cancel",async n=>{C.windowBridge.publish("pcb/exportFile/cancel",n,await Ra())})}self.assert=(t,e)=>{t||(e=e||"assertion faild",console.error("%c"+e,"color: #03f;"))};self.assert_eq=(t,e,i)=>{assert(t===e,i)};self.assert_ne=(t,e,i)=>{assert(t!==e,i)};self.assert_gt=(t,e,i)=>{assert(t>e,i)};self.assert_gte=(t,e,i)=>{assert(t>=e,i)};self.assert_lt=(t,e,i)=>{assert(t<e,i)};self.assert_lte=(t,e,i)=>{assert(t<=e,i)};self.assert_def=(t,e)=>{assert(t!==void 0,e)};self.assert_notnull=(t,e)=>{assert(t!=null,e)};self.assert_undef=(t,e)=>{assert(t===void 0,e)};self.assert_null=(t,e)=>{assert(t===null,e)};self.assert_number=(t,e,i,o)=>{assert(typeof t=="number",Kle(e,i,o,"number"))};self.assert_boolean=(t,e,i,o)=>{assert(typeof t=="boolean",Kle(e,i,o,"boolean"))};self.assert_string=(t,e,i,o)=>{assert(typeof t=="string",Kle(e,i,o,"string"))};self.assert_finite=(t,e)=>{assert(isFinite(t),e)};self.assert_regex=(t,e,i)=>{assert(t.test(e),i)};self.assert_string_or_null=(t,e,i,o)=>{assert(typeof t=="string"||t===null,Kle(e,i,o,"string|null"))};self.assert_number_or_null=(t,e,i,o)=>{assert(typeof t=="number"||t===null,Kle(e,i,o,"number|null"))};self.assert_boolean_or_null=(t,e,i,o)=>{assert(typeof t=="boolean"||t===null,Kle(e,i,o,"boolean|null"))};self.assert_point_arr=(t,e,i,o)=>{for(let{x:r,y:n}of t)assert_number(r,e,"pointArr",o),assert_number(n,e,"pointArr",o)};self.assert_not_key=(t,e,i,o)=>{for(let r of i)e&&!Object.hasOwnProperty.call(e,r)&&cAo(r,t,e.id)};var BBo=L(Vi());var C2={};C2.gVars=C;C2.HISTORY=History;C2.$=BBo.default;C2.useJsonCacheVerify=!1;C2.extend=m1;C2.savePreference=qFe;C2.setCacheObj=mt.setCacheObj;C2.expireLogout=v6e;C2.resetSystemSetting=eQe;C2.usePreference=eVi;C2.windowZIndex=9e3;C2.tabBar=he;C2.Log=IS;C2.getActiveDoctype=dt;C2.concurrentDesign=Ga;C2[NS]=Rx;C2[kS]=r6;C2.importNetList=hne;C2.assembly=ri;C2.AlignMenuMgr=UE;C2.CrossProbeModeMenuMgr=Ate;self.UI=C2;var kln=[7,1,2,3,4,5,6],Pln=[4,7,1,2,3,5,6];function JKt(t="Bottom Side",e){let i=t=="Bottom Side"?Pln:kln;return e!="black"&&(i=i.filter(o=>o!=3)),i.map(o=>{let r=!0;return o===5&&(r=!1),{name:QIt[o],id:o,visible:r}})}function zBo(t){return{name:QIt[-1],id:-1,visible:t}}var UBo=L(Hr()),_4e=L(Se());var r9=L(z()),e8e;function VBo(t,e){e8e&&(e8e.unmount(),e8e=null),e8e=(0,UBo.createRoot)(t,{identifierPrefix:"panel-",onRecoverableError(i){console.error(i)}}),e8e.render((0,r9.jsx)(_4e.default.StrictMode,{children:(0,r9.jsx)(Oln,{data:e})}))}function Oln(t){let e=zBo(!t.data.some(r=>r.visible===!1)),[i,o]=(0,_4e.useState)(e);return Ca("/panel/3d/setLayerConfig",[t.data]),(0,_4e.useEffect)(()=>{let r=t.data.find(n=>n.id===5);Ca("/panel/3d/setLayerVisible",r)},[]),(0,r9.jsxs)("section",{id:"panel-layer-main-3d",className:"layer-panel-table",children:[(0,r9.jsx)(FBo,{data:i,onClick:r=>{for(let n of t.data)Ca("/panel/3d/setLayerVisible",{layer:n.id,visible:r.visible}),n.visible=r.visible;o({...i,visible:r.visible})}}),(0,r9.jsx)("div",{className:"layer-content-list",style:{borderTop:"1px solid var(--common-border-color-1)"},children:t.data.map((r,n)=>(0,r9.jsx)(FBo,{data:r,onClick:a=>{for(let s of t.data)if(s.id===a.layer){s.visible=a.visible;break}o({...i,visible:t.data.every(s=>s.visible)}),Ca("/panel/3d/setLayerVisible",a)}},n))})]})}function FBo(t){let{visible:e,id:i,name:o}=t.data,r=["visible-toggle-btn",e?"visible-eye-tag":"hidden-eye-tag"].join(" "),n=J();return(0,r9.jsxs)("div",{onClick:()=>{t.onClick({layer:i,visible:!e})},className:"layer-panel-row display-flex flex-lateral-axis-center flex-nowrap",style:{cursor:"pointer"},children:[(0,r9.jsx)("div",{className:r,style:{width:"20px"}}),(0,r9.jsx)("div",{children:(0,r9.jsx)("span",{"data-test":o,children:n(o)})})]})}var HBo=L(Se()),GBo=L(Hr());var Rce=L(z()),j4e={acrylic:{thickness:["0.8mm","1.0mm","1.5mm","2.0mm","2.5mm","3.0mm"],craft:["Transparent","Black Translucent"],coverColor:["white","black"]},PVC:{thickness:["0.175mm","0.2mm","0.3mm","0.4mm"],craft:["Glossy Transparent","Frosted Translucent"],coverColor:["white","black"]}},qKt;function XKt(){let t=document.getElementById("panel-attr-main-3d");C.messageBus.rpcCall("panel/3d/get-attr-data").then(e=>{qKt=qKt||(0,GBo.createRoot)(t),qKt.render((0,Rce.jsx)(HBo.default.StrictMode,{children:(0,Rce.jsx)(Rln,{...e.message},Date.now())}))})}function Rln(t){let{htmlItem:e,contentItem:i}=t,o=[];for(let r of e){let{attr:n}=r,a=[];for(let l in n){let c=n[l];l==="attr-thickness"&&(i["attr-material"]==="acrylic"?c.options=j4e.acrylic.thickness:i["attr-material"]==="PVC"&&(c.options=j4e.PVC.thickness)),l==="attr-craft"&&(i["attr-material"]==="acrylic"?c.options=j4e.acrylic.craft:i["attr-material"]==="PVC"&&(c.options=j4e.PVC.craft));let d={...c,value:i[l],name:l,onChange:_ln,beforeChange:[]};switch(l){case"attr-name":d.disabled=!0;break;case"attr-thickness":d.value=i[l].replace("mm","")+"mm";break;case"attr-layer-distance":d.beforeChange.push(sO),d.value=i[l].replace("mm",""),d.unit="mm";break;default:break}a.push(Jhe(c.type,d))}let{title:s}=r;o.push((0,Rce.jsx)(Gq,{title:s,children:a},s))}return(0,Rce.jsx)(Rce.Fragment,{children:o})}function _ln(t,e,i){var a,s,l,c,d;let o=(a=he.getActiveTabData())==null?void 0:a.data,r=o==null?void 0:o["panel-uuid"],n=u=>{r&&he.isHasTabById(r)&&(o.doctype===ve.SCH?C.messageBus.publish("modifyCanvas",{data:u,tabId:r}):Ca("modifyCanvas",[u,null,{notHistory:!1}],r))};switch(t){case"attr-material":{let u=e,p=(l=(s=j4e[e])==null?void 0:s.craft)==null?void 0:l[0],m=(d=(c=j4e[e])==null?void 0:c.thickness)==null?void 0:d[0];Ca("/panel/3d/attrApply",{name:t,value:{material:u,craft:p,thickness:m}}),n({[t]:e});break}case"attr-print":{Ca("/panel/3d/attrApply",{name:t,value:e}),C.messageBus.publish("/panel/3d/printMethodChanged",e),n({[t]:e});break}case"attr-cover-color":{Ca("/panel/3d/attrApply",{name:t,value:e}),C.messageBus.publish("/panel/3d/coverColorChanged",e),n({[t]:e});break}case"attr-background-color":{Ca("/panel/3d/attrApply",{name:t,value:e}),C.messageBus.publish("/panel/3d/backgroundColorChanged",e),n({[t]:e});break}case"attr-thickness":case"attr-craft":case"attr-layer-distance":{Ca("/panel/3d/attrApply",{name:t,value:e}),t!="attr-layer-distance"&&n({[t]:e});break}}setTimeout(()=>{XKt()},100)}async function $Kt(t){let e=document.querySelector(".panel-attribute-manager #panel-layer-3d");t&&VBo(e,t)}async function eZt(){let t=await YBo();if(t)$Kt(t);else{let e=await tZt(),i=JKt(e.print,e.coverColor);$Kt(i),Ca("/panel/3d/setLayerConfig",[i]),e.backgroundColor&&iZt(e.backgroundColor)}XKt()}async function YBo(){return await Pt(kt.Panel.LayerConfig)}async function tZt(){return await Pt(kt.Panel.GetHead)}async function WBo(t,e){let i=JKt(t,e),o=await YBo();i.forEach(r=>{let n=o&&o.find(a=>a.id==r.id);n&&(r.visible=n.visible)}),$Kt(i)}async function QBo(t){try{let e=await tZt();WBo(t,e.coverColor)}catch(e){console.warn(e)}}async function KBo(t){try{let e=await tZt();WBo(e.print,t)}catch(e){console.warn(e)}}async function iZt(t){try{Pt(kt.Engine.SetBackgroundColor,[t,1])}catch(e){console.warn(e)}}function ZBo(){he.$on(r2.PANEL3D_TAB_ACTIVE,eZt),C.messageBus.subscribe("/panel/3d/printMethodChanged",QBo),C.messageBus.subscribe("/panel/3d/coverColorChanged",KBo),C.messageBus.subscribe("/panel/3d/backgroundColorChanged",iZt),C.messageBus.subscribe("/panel/3d/updateLayerPanel",eZt)}var B4e=class{static getFontsList(){var i,o,r,n;let e=(n=(r=(o=(i=C.profileSetting)==null?void 0:i.commSystemSetting)==null?void 0:o.COMM_TYPEFACE)==null?void 0:r.commonlyList)==null?void 0:n.value;return e||[]}static async addFont(e){var o,r,n,a,s,l,c,d,u;let i=(a=(n=(r=(o=C.profileSetting)==null?void 0:o.commSystemSetting)==null?void 0:r.COMM_TYPEFACE)==null?void 0:n.commonlyList)==null?void 0:a.value;if(i)if(i.findIndex(m=>m.title===e)===-1){let m=structuredClone(i);m.push({id:Mt(),title:e,isAllowDelete:!0});let h={...sc(),COMM_TYPEFACE:{commonlyList:{disabled:(u=(d=(c=(l=(s=C.profileSetting)==null?void 0:s.commSystemSetting)==null?void 0:l.COMM_TYPEFACE)==null?void 0:c.commonlyList)==null?void 0:d.disabled)!=null?u:!1,value:m}}};if(!await Ene(h))return De({type:"error",msg:"Failed to add font!"}),!1;let g=Wi("COMM_TYPEFACE","commonlyList",{readValueKey:!1});return g.value=m,De({type:"success",msg:"Add font success!"}),!0}else return De({type:"error",msg:"Failed to add font!"}),!1;else return!1}static async deleteFont(e){var o,r,n,a,s,l,c,d,u;let i=(a=(n=(r=(o=C.profileSetting)==null?void 0:o.commSystemSetting)==null?void 0:r.COMM_TYPEFACE)==null?void 0:n.commonlyList)==null?void 0:a.value;if(i){if(i.findIndex(m=>m.title===e)===-1)return!1;{let m=structuredClone(i);m=m.filter(b=>b.title!==e);let h={...sc(),COMM_TYPEFACE:{commonlyList:{disabled:(u=(d=(c=(l=(s=C.profileSetting)==null?void 0:s.commSystemSetting)==null?void 0:l.COMM_TYPEFACE)==null?void 0:c.commonlyList)==null?void 0:d.disabled)!=null?u:!1,value:m}}};if(!await Ene(h))return!1;let g=Wi("COMM_TYPEFACE","commonlyList",{readValueKey:!1});return g.value=m,!0}}else return!1}};var kR=class{static getSelectedPrimitives_PrimitiveId(){return kr("getSelected")}static clearSelected(){return C.messageBus.publish("sch/unSelectAll",gi())}static async getAllSelectedPrimitives_PrimitiveId(){return(await C.messageBus.rpcCall("extensionApi/SCH_SelectControlUtil/getAllSelectedPrimitives_PrimitiveId")).message}static async getAllSelectedPrimitives(){return(await C.messageBus.rpcCall("extensionApi/SCH_SelectControlUtil/getAllSelectedPrimitives")).message}static async getSpecifiedPrimitive(e){let i=await ei();return await C.windowBridge.rpcCall("getElemAttr",{eles:[{id:e}]},i.contentWindow)}static async getObjParams(e){let i=await ei();return await C.windowBridge.rpcCall("getObjParams",e,i.contentWindow)}static doSelectPrimitives(e){C.messageBus.publish("sch/selectByIds",{tabId:gi(),ids:Array.isArray(e)?e:[e]})}static async getCurrentMousePosition(){return(await C.messageBus.rpcCall("extensionApi/SCH_SelectControlUtil/getCurrentMousePosition")).message}};var _ce=class{static async getNetlist(e){let i=he.getActiveSchematicId();return(await C.messageBus.rpcCall("sch/getSpecifiedTypeNetlistBySchematicId",{schematicId:i,netlistType:e})).message}static async setNetlist(e){await hne(e.type,e.netlist)}};var XBo=L(Se());var oZt=L(qBo()),PR=L(z()),jln=t=>{Ae(oZt.default);let e=be.bind(oZt.default.locals),{beforeContent:i,afterContent:o,value:r="",type:n,otherProperty:a,callbackFn:s}=t,l=(0,XBo.useRef)(r);return(0,PR.jsxs)("div",{children:[(0,PR.jsxs)("section",{children:[(0,PR.jsx)("div",{children:i}),(0,PR.jsx)(Kt,{style:{margin:"8px 0"},autoFocus:!0,defaultValue:r,type:n,...a,onChange:c=>{l.current=c}}),(0,PR.jsx)("div",{children:o})]}),(0,PR.jsxs)("section",{className:e("footer"),children:[(0,PR.jsx)(ml,{type:"primary",style:{marginRight:"10px"},onClick:()=>{s==null||s(l.current),le.close()},children:"Confirm"}),(0,PR.jsx)(ml,{onClick:()=>{s==null||s(void 0),le.close()},children:"Cancel"})]})]})};function $Bo(t){le.open({title:t.title,id:"Ext_api_input_Dlg",width:600,esc:!0,children:(0,PR.jsx)(jln,{...t}),onClose:()=>{var e;(e=t.callbackFn)==null||e.call(t,void 0)}})}var ezo=L(Se());var OR=L(z()),Bln=t=>{let{beforeContent:e,afterContent:i,options:o=[{value:"",displayContent:""}],defaultOption:r,multiple:n,callbackFn:a}=t;r=r||(typeof o[0]=="string"?o[0]:o[0].value);let s=(0,ezo.useRef)(r),l=[];return l=o==null?void 0:o.map(c=>typeof c=="string"?{value:c,text:c}:{value:c.value,text:c.displayContent}),(0,OR.jsxs)("div",{children:[(0,OR.jsxs)("section",{children:[(0,OR.jsx)("div",{children:e}),(0,OR.jsx)(xt,{style:{margin:"8px 0"},list:l,onChange:c=>{s.current=c},value:r,checkBox:n}),(0,OR.jsx)("div",{children:i})]}),(0,OR.jsxs)("section",{style:{marginTop:"16px",textAlign:"right"},children:[(0,OR.jsx)(Me,{type:"primary",style:{marginRight:"10px"},onClick:()=>{a==null||a(s.current),le.close()},children:"Confirm"}),(0,OR.jsx)(Me,{onClick:()=>{a==null||a(void 0),le.close()},children:"Cancel"})]})]})};function tzo(t){le.open({title:t.title,id:"Ext_api_select_Dlg",width:600,esc:!0,onClose:()=>{var e;(e=t.callbackFn)==null||e.call(t,void 0)},children:(0,OR.jsx)(Bln,{...t})})}var nie=class{static showInformationMessage(e){UO.setDialog(e),epo()}static showConfirmationMessage(e){k5.setDialog(e),apo()}static showInputDialog(e){$Bo(e)}static showSelectDialog(e){tzo(e)}static insertScriptToDialog(e){sDe.insertScriptToDialog(e.dialogId,e.scriptFunction,e.args),console.log("dialogScriptService",sDe)}};var rZt=class{constructor(){this.headerContextMenuStore=new Map;this.extensionUuidToMenuIdsStore=new Map}setMenu(e,i,o){this.headerContextMenuStore.set(e,i);let r=this.extensionUuidToMenuIdsStore.get(o)||new Set;r.add(e),this.extensionUuidToMenuIdsStore.set(o,r)}},aie=new rZt;var gb=new Set([]),t8e=class{static registerHeaderMenus(e){function i(o){let r=[];return o.forEach(n=>{let a={id:n.id,title:n.title,menuItems:void 0};n.menuItems&&(a.menuItems={menuId:ue.randomString(!1,32,32),defaultConfig:[]},n.menuItems.forEach(s=>{if(s){let l=a.menuItems.defaultConfig.push({id:s.id,title:s.title,command:s.registerFn?"runRegisteredExtensionFn("+s.registerFn+")":void 0,children:void 0})-1;s.menuItems&&(a.menuItems.defaultConfig[l].children={menuId:ue.randomString(!1,32,32),defaultConfig:[]},s.menuItems.forEach(c=>{c?a.menuItems.defaultConfig[l].children.defaultConfig.push({id:c.id,title:c.title,command:c.registerFn?"runRegisteredExtensionFn("+c.registerFn+")":void 0}):a.menuItems.defaultConfig[l].children.defaultConfig.push(null)}))}else a.menuItems.defaultConfig.push(null)})),r.push(a)}),r}if(C.extensionApiBackupForHeaderMenus===void 0){C.extensionApiBackupForHeaderMenus={configLength:void 0,modeConfigLengthList:[]},C.extensionApiBackupForHeaderMenus.configLength=Yd.length;for(let o in Ee)ta[Ee[o]]&&(C.extensionApiBackupForHeaderMenus.modeConfigLengthList[Ee[o]]=ta[Ee[o]].length)}else{Yd.splice(C.extensionApiBackupForHeaderMenus.configLength);for(let o in Ee)ta[Ee[o]]&&ta[Ee[o]].splice(C.extensionApiBackupForHeaderMenus.modeConfigLengthList[Ee[o]])}i(e.home).forEach(o=>{Yd.push(o),ta[Ee.HOME].push(o.id)}),i(e.blank).forEach(o=>{Yd.push(o),ta[Ee.COMMON_BLANK].push(o.id),ta[Ee.CBB_BLANK].push(o.id)}),i(e.sch).forEach(o=>{Yd.push(o),ta[Ee.SCH].push(o.id),ta[Ee.CBB_SCH].push(o.id),ta[Ee.CBB_SCH].push(o.id),ta[Ee.SCH_INSTANCE].push(o.id),ta[Ee.BLOCK_SCH].push(o.id),ta[Ee.CBB_BLOCK_SCH].push(o.id)}),i(e.symbol).forEach(o=>{Yd.push(o),ta[Ee.PART].push(o.id),ta[Ee.BLOCK_SYMBOL].push(o.id),ta[Ee.NETFLAG].push(o.id),ta[Ee.NETPORT].push(o.id),ta[Ee.OFF_PAGE_CONNECTOR].push(o.id),ta[Ee.DIFF_PAIRS_FLAG].push(o.id),ta[Ee.SHEET_SYMBOL].push(o.id),ta[Ee.NONEELEC_SYMBOL].push(o.id)}),i(e.pcb).forEach(o=>{Yd.push(o),ta[Ee.PCB].push(o.id)}),i(e.footprint).forEach(o=>{Yd.push(o),ta[Ee.FOOTPRINT].push(o.id)}),i(e.pcbView).forEach(o=>{Yd.push(o),ta[Ee.PCB2D].push(o.id),ta[Ee.PCB3D].push(o.id)}),i(e.panel).forEach(o=>{Yd.push(o),ta[Ee.PANEL].push(o.id),ta[Ee.PANEL_LIB].push(o.id)}),i(e.panelView).forEach(o=>{Yd.push(o),ta[Ee.PANEL3D].push(o.id)}),Rc.topMenuConfigUpdate()}static async removeSystemHeaderMenuItem({id:e,props:i}){return si.setMenuStatus(e[0],{childHidden:e[e.length-1],removeTheBeforeDivider:i.removeTheBeforeDivider,removeTheAfterDivider:i.removeTheAfterDivider}),!0}static async insertSystemHeaderMenuItem({env:e,id:i,props:o,extensionUuid:r}){var p,m;switch(e){case"home":gb.add(Ee.HOME);break;case"blank":gb.add(Ee.COMMON_BLANK);break;case"sch":gb.add(Ee.SCH);break;case"symbol":gb.add(Ee.PART),gb.add(Ee.BLOCK_SYMBOL),gb.add(Ee.NETFLAG),gb.add(Ee.NETPORT),gb.add(Ee.SHEET_SYMBOL),gb.add(Ee.NONEELEC_SYMBOL);break;case"pcb":gb.add(Ee.PCB);break;case"footprint":gb.add(Ee.FOOTPRINT);break;case"pcbView":gb.add(Ee.PCB2D),gb.add(Ee.PCB3D);break;case"panel":gb.add(Ee.PANEL);break;case"panelView":gb.add(Ee.PANEL3D);break;default:break}function n(){let h=c.findIndex(f=>f&&f.id===i[i.length-1]);c.splice(h,0,null);for(let f of gb){let g=d[f].findIndex(b=>b&&b===i[i.length-1]);d[f].splice(g,0,null)}}function a(){let h=c.findIndex(f=>f&&f.id===i[i.length-1])+1;c.splice(h,0,null);for(let f of gb){let g=d[f].findIndex(b=>b&&b===i[i.length-1])+1;d[f].splice(g,0,null)}}function s(){return{menuId:`${i[i.length-1]}|${o.title}`,defaultConfig:o.menuItems.map(f=>f===null?null:{id:f.id,title:f.title,icon:{iconPath:f.icon},command:"runRegisteredExtensionFn("+f.registerFn+")"})}}let l=Yd.find(h=>h.id===i[0]);if(!l||!l.menuItems)return;let c=(p=l.menuItems)==null?void 0:p.defaultConfig,d=(m=l.menuItems)==null?void 0:m.modeConfig;if(!Array.isArray(c)||!c||!d||(aie.setMenu(i[1],ue.deepClone(l),r),c.some(h=>h&&h.id===i[i.length-1])))return;let u={id:i[i.length-1],title:o.title,command:"runRegisteredExtensionFn("+o.registerFn+")",children:o.menuItems?s():void 0,isHide:()=>!gb.has(k2())};if(o.insertBefore){let h=c.findIndex(f=>f&&f.id===o.insertBefore);if(h!==-1){if(o.crossDividerWhenInsert){c[h-1]===null?c.splice(h-1,0,u):c.splice(h,0,u);for(let f of gb){let g=d[f].findIndex(b=>b===o.insertBefore);d[f][g-1]===null?d[f].splice(g-1,0,i[i.length-1]):d[f].splice(g,0,i[i.length-1])}}else{c.splice(h,0,u);for(let f of gb){let g=d[f].findIndex(b=>b===o.insertBefore);d[f].splice(g,0,i[i.length-1])}}o.insertDividerBefore&&n(),o.insertDividerAfter&&a()}else return}else{c.push(u);for(let h of gb)d[h].push(i[i.length-1]);o.insertDividerBefore&&n(),o.insertDividerAfter&&a()}return!0}};var Hdt=class{static async check(e){if(dt()!==se.SCH)throw new Error(`SCH_DrcUtil: doctype(${dt()}) not support check sch drc`);let{strict:i,userInterface:o}=e,r=!0,n=await Cr("checkERC",o);return(n!=null&&n.error||n!=null&&n.fatalError||n!=null&&n.warn&&i)&&(r=!1),r}};var sie=class{static showProgressBar(e){dre(e.progress,e.title)}static destroyProgressBar(){ure()}static showLoading(){Ts()}static destroyLoading(){Zr()}};var b6=class{static async openLeftPanel(e){await Pn("layout_toggler_left",!1),$a.leftPanelOnClick(e)}static closeLeftPanel(){Pn("layout_toggler_left",!0)}static toggleLeftPanelLockState(e){vn(e)?e=!Wi("SYSTEM","sidePanelAutoHide",{readValueKey:!1}).leftPanel.value:e=!e;let i=Wi("SYSTEM","sidePanelAutoHide",{readValueKey:!1});i.leftPanel.value=e,mt.savePreference("commSystemSetting",sc()),It.setPinStatus($a.leftPanelTabBarId,!e)}static isLeftPanelLocked(){return!Wi("SYSTEM","sidePanelAutoHide",{readValueKey:!1}).leftPanel.value}static async openRightPanel(e){await Pn("layout_toggler_right",!1),Br.handleClick(e)}static closeRightPanel(){Pn("layout_toggler_right",!0)}static toggleRightPanelLockState(e){vn(e)?e=!Wi("SYSTEM","sidePanelAutoHide",{readValueKey:!1}).rightPanel.value:e=!e;let i=Wi("SYSTEM","sidePanelAutoHide",{readValueKey:!1});i.rightPanel.value=e,mt.savePreference("commSystemSetting",sc()),It.setPinStatus(Br.id,!e)}static isRightPanelLocked(){return!Wi("SYSTEM","sidePanelAutoHide",{readValueKey:!1}).rightPanel.value}static async openBottomPanel(e){await Pn("layout_toggler_bottom",!1),e==="library"&&(e="lib"),co.handleClick(e)}static closeBottomPanel(){Pn("layout_toggler_bottom",!0)}static toggleBottomPanelLockState(e){vn(e)?e=!Wi("SYSTEM","sidePanelAutoHide",{readValueKey:!1}).bottomPanel.value:e=!e;let i=Wi("SYSTEM","sidePanelAutoHide",{readValueKey:!1});i.bottomPanel.value=e,mt.savePreference("commSystemSetting",sc()),It.setPinStatus(co.id,!e)}static isBottomPanelLocked(){return!Wi("SYSTEM","sidePanelAutoHide",{readValueKey:!1}).bottomPanel.value}};var n9=class t{static async createPcb(e){if(!C.currentProject.projectId)return;let{message:i}=await C.messageBus.rpcCall("getAstProjectAttr","boards"),o=i.find(a=>a.name===e);if(o!=null&&o.pcb||!o&&e)return;let r={projectId:C.currentProject.projectId,boardUuid:(o==null?void 0:o.uuid)||""},{message:n}=await C.messageBus.rpcCall("DMT_CreateNew",{cmd:"new_PCB",args:r,opt:{unOpen:!0}});return n.pcb.uuid}static async modifyPcbName(e){if(!C.currentProject.projectId)return;let{pcbUuid:i,value:o}=e,{message:r}=await C.messageBus.rpcCall("getLeftTreeContentData"),n=r.findIndex(l=>l.uuid===i);if(n===-1)return!1;let a=r[n].title,{message:s}=await C.messageBus.rpcCall("leftTreeUpdataName",[n,o,a,C.currentProject.projectId,!0]);return s!==a}static async getAllPcbsInfo(){if(!C.currentProject.projectId)return;let{message:e}=await C.messageBus.rpcCall("getAstProjectAttr","pcbs");return e=Object.values(e).map(i=>({itemType:"PCB",uuid:i.uuid,name:i.displayTitle,parentProjectUuid:C.currentProject.projectId,parentBoardName:i.board})),e}static async deletePcb(e){if(C.currentProject.projectId)return await C.messageBus.rpcCall("leftTreeDelete2",{toDelBoards:[],toDelCbbs:[],toDelPanels:[],toDelPcbs:[e],toDelSchs:[],toDelSheets:[]}),!0}static async copyPcb(e){if(!C.currentProject.projectId)return;let{message:i}=await C.messageBus.rpcCall("getAstProjectAttr","boards"),o=i.find(r=>r.name===e.boardName);if(!(o!=null&&o.pcb||!o&&e.boardName))return(await C.messageBus.rpcCall("copySchematicPcb",e)).message}static async getCurrentPcbInfo(){if(!C.currentProject.projectId)return;let e=he.getActiveSheetId();return(await t.getAllPcbsInfo()).find(o=>o.uuid===e)}};var kn={Star:"star",Project:"project",SystematicUuid:bn},W1=Object.values(kn);var km=class t{static async createPrimary({libraryUuid:e,libraryType:i,primaryClassificationName:o}){var a;if(W1.includes(e)||!o||!e||!i)return;let r=await t.getAllClassificationTree({libraryUuid:e,libraryType:i});if(!r.find(s=>s.name===o))try{let s=[{name:o,parent_uuid:void 0,type:[i],user_uuid:e,uuid:Mt(),order_no:r.length}],c=(a=(await sn.addCategoriesBatch(s)).result)==null?void 0:a.successList[0];if(c.success){let d=c.result;return{libraryUuid:d.user_uuid,libraryType:i,primaryClassificationUuid:d.uuid}}}catch{}}static async createSecondary({libraryUuid:e,libraryType:i,primaryClassificationUuid:o,secondaryClassificationName:r}){var l,c,d,u;if(!(e&&i&&o&&r)||W1.includes(e))return;let a=(await t.getAllClassificationTree({libraryUuid:e,libraryType:i})).find(p=>p.uuid===o);if(!a.children.find(p=>p.name===r))try{let p=[{name:r,parent_uuid:o,type:[i],user_uuid:e,uuid:Mt(),order_no:((l=a.children)==null?void 0:l.length)||0}],m=await sn.addCategoriesBatch(p);if(m.success)return{libraryUuid:(c=m.result.successList[0])==null?void 0:c.result.user_uuid,libraryType:i,secondaryClassificationUuid:(d=m.result.successList[0])==null?void 0:d.result.uuid,primaryClassificationUuid:(u=m.result.successList[0])==null?void 0:u.result.parent_uuid}}catch{}}static async getIndexByName({libraryUuid:e,libraryType:i,primaryClassificationName:o,secondaryClassificationName:r}){try{let n=await sn.fetchCategoryList(e,e,[i]);if(n.success){let a=n.result.treeData.find(l=>l.title===o);if(!a)return;let s;return r&&(s=a.children.find(l=>l.title===r)),{libraryUuid:e,libraryType:i,secondaryClassificationUuid:s==null?void 0:s.id,primaryClassificationUuid:a.id}}}catch{}}static async getNameByUuid({libraryUuid:e,libraryType:i,primaryClassificationUuid:o,secondaryClassificationUuid:r}){try{let n=await sn.fetchCategoryList(e,e,[i]);if(n.success){let a=n.result.treeData.find(l=>l.id===o);if(!a)return;let s;return r&&(s=a.children.find(l=>l.id===r)),{primaryClassificationName:a.title,secondaryClassificationName:s==null?void 0:s.title}}}catch{}}static async getAllClassificationTree({libraryUuid:e,libraryType:i}){try{let o=await sn.fetchCategoryList(e,e,[i]);if(o.success)return o.result.treeData.filter(n=>n.uuid!=="@all").map(n=>{var a;return{name:n.title,uuid:n.id,children:(a=n.children)==null?void 0:a.map(s=>({name:s.title,uuid:s.id}))}})}catch{}}static async deleteByUuid({libraryUuid:e,classificationUuid:i}){var o;if(W1.includes(e)||!e||!i)return!1;try{let r=[{uuid:i,user_uuid:e}];if((o=(await sn.deleteCategoriesBatch(r)).result)!=null&&o.successList.length)return!0}catch{}return!1}static async deleteByIndex({primaryClassificationUuid:e,libraryUuid:i,libraryType:o,secondaryClassificationUuid:r}){if(W1.includes(e)||!e||!i)return!1;let{getAllClassificationTree:n,deleteByUuid:a}=t;if(r)return a({libraryUuid:i,classificationUuid:r});{let l=(await n({libraryUuid:i,libraryType:o})).find(({uuid:c})=>c===e);return l?(await Promise.all((l.children||[]).map(({uuid:c})=>a({libraryUuid:i,classificationUuid:c}))),a({libraryUuid:i,classificationUuid:e})):!1}}};var Yx=class Yx{static async create({libraryUuid:e,deviceName:i,classification:o,association:r,description:n="",property:a}){var g,b,y,w,x;if([kn.Star,kn.SystematicUuid].includes(e))return;e===kn.Project&&(e=C.currentProject.projectId);let s=e===C.currentProject.projectId,l=ue.deepClone(Yx.json);l.description=n,l.deviceItemName=i,l.symbolItemName=i,l.symbolType=r.symbolType,l.userIdSelected=e,l.attributes.Designator=a.designator,l.attributes["Add into BOM"]=a.addIntoBom?"yes":"no",l.attributes["Convert to PCB"]=a.addIntoPcb?"yes":"no",l.workSpaceSelected=C.workspace,a.name&&(l.attributes.Name=a.name),a.manufacturer&&(l.attributes.Manufacturer=a.manufacturer),a.supplier&&(l.attributes.Supplier=a.supplier),a.manufacturerId&&(l.attributes["Manufacturer Part"]=a.manufacturerId),a.supplierId&&(l.attributes["Supplier Part"]=a.supplierId),a.net&&(l.attributes["Global Net Name"]=a.net);let c=["name","designator","addIntoBom","addIntoPcb","net","manufacturer","manufacturerId","supplier","supplierId"],d=a.otherProperty||{};for(let S in d)c.includes(S)||(l.attributes[S]=d[S]);let u={};(g=r.symbol)!=null&&g.uuid&&r.symbol.libraryUuid?(u.symbolUuid=r.symbol.uuid,u.libraryUuid=r.symbol.libraryUuid):r.symbolUuid&&(u.libraryUuid=e,u.symbolUuid=r.symbolUuid),ue.isEmptyObj(u)||await Yx.bindSymbol(u.symbolUuid,u.libraryUuid,l);let p={};(b=r.footprint)!=null&&b.uuid&&r.footprint.libraryUuid?(p.footprintUuid=r.footprint.uuid,p.libraryUuid=r.footprint.libraryUuid):r.footprintUuid&&(p.libraryUuid=e,p.footprintUuid=r.footprintUuid),ue.isEmptyObj(p)||await Yx.bindFootprint(p.footprintUuid,p.libraryUuid,l),(y=r.model3D)!=null&&y.uuid&&r.model3D.libraryUuid&&await Yx.bind3DModel(r.model3D.uuid,r.model3D.libraryUuid,l);let{primaryClassificationUuid:m,secondaryClassificationUuid:h}=o||{};if(o===null)l.categoryTags=[];else if(m!==void 0){let S=await km.getNameByUuid({libraryUuid:e,libraryType:"3",primaryClassificationUuid:m,secondaryClassificationUuid:h});l.categoryTags=[S.primaryClassificationName,S.secondaryClassificationName]}r.imageData&&(l.imageUrl=await Yx.uploadItemFile(r.imageData));let f=l.symbolOperationType==="New"&&l.symbolItemName&&!l.symbolItemId;try{let S=await Ze.createDevice({path:l.userIdSelected,isProject:s,device:{data:Dk(s,l.deviceItemId,l.deviceItemName,l.categoryTags,l.description||"",l.attributes,ve.DEVICE,l.userIdSelected,l.imageUrl,l.categoryShowString,l.symbolType)},symbol:f?{data:{title:l.deviceItemName,path:l.userIdSelected,owner:l.userIdSelected,tags:l.categoryTags||[],description:l.description||"",symbol_type:+l.symbolType,docType:+l.symbolType}}:(w=l.symbolItem)!=null&&w.uuid?{uuid:l.symbolItem.uuid,path:l.symbolItem.path,isProject:s}:null,footprint:(x=l.footprintItem)!=null&&x.uuid?{uuid:l.footprintItem.uuid,path:l.footprintItem.path,isProject:s}:null}),T=null,M=await Ze.getSymbol({path:l.userIdSelected,isProject:l.userIdSelected===C.currentProject.projectId,uuid:S.attributes.Symbol});return T=M||null,f&&T&&Wa(l.symbolItem,1),S.uuid}catch{return}}static async delete({deviceUuid:e,libraryUuid:i=bn}){if([kn.SystematicUuid,kn.Star].includes(i))return!1;let o=await Yx.getInfo({deviceUuid:e,libraryUuid:i});if(!o)return!1;let r=i==="project";return r&&(i=C.currentProject.projectId),await ew(o,"device",r,!1,!1,i,[],[],[],[e])}static async modify({deviceUuid:e,libraryUuid:i,deviceName:o,classification:r,association:n={},description:a,property:s={}}){var x,S,T,M,I,A,D,E;i===kn.Project&&(i=C.currentProject.projectId);let l=i===C.currentProject.projectId;if([bn,"star"].includes(i))return!1;let c=(await ts.fetchComponentItem(l,e,i,ve.DEVICE)).result,d=await R3("symbol",c.attributes.Symbol,i),u=ue.deepClone(Yx.json);u.symbolOperationType="Associate",u.attributes=c.attributes||{},u.description=c.description,u.deviceItemName=c.display_title,u.symbolItemName=d.display_title,u.symbolType=d.docType,u.userIdSelected=(x=c.owner)==null?void 0:x.uuid,u.deviceItemId=c.uuid,u.workSpaceSelected=C.workspace,u.categoryTags=[(T=(S=c.tags)==null?void 0:S.parent_tag)==null?void 0:T.name,(I=(M=c.tags)==null?void 0:M.child_tag)==null?void 0:I.name];let{symbol:p={},footprint:m={}}=c;p!=null&&p.uuid&&(u.symbolItem=p,u.symbolType=p.docType,u.symbolItemName=p.display_title,u.symbolOperationType="Associate",u.attributes.Symbol=p.uuid,u.symbolItemPath=rf(p)),m!=null&&m.uuid&&(u.footprintItem=m,u.footprintItemId=m.uuid,u.footprintItemName=m.display_title,u.footprintItemPath=rf(m),u.attributes.Footprint=m.uuid),o&&(u.deviceItemName=o),a&&(u.description=a),a&&(u.attributes.Description=a);let{primaryClassificationUuid:h,secondaryClassificationUuid:f}=r||{};if(r===null)u.categoryTags=[];else if(h!==void 0){let N=await km.getNameByUuid({libraryUuid:i,libraryType:"3",primaryClassificationUuid:h,secondaryClassificationUuid:f});u.categoryTags=[N.primaryClassificationName,N.secondaryClassificationName]}let g={};(A=n.symbol)!=null&&A.uuid&&n.symbol.libraryUuid?(g.symbolUuid=n.symbol.uuid,g.libraryUuid=n.symbol.libraryUuid):n.symbolUuid&&(g.libraryUuid=i,g.symbolUuid=n.symbolUuid),ue.isEmptyObj(g)||await Yx.bindSymbol(g.symbolUuid,g.libraryUuid,u);let b={};(D=n.footprint)!=null&&D.uuid&&n.footprint.libraryUuid?(b.footprintUuid=n.footprint.uuid,b.libraryUuid=n.footprint.libraryUuid):n.footprintUuid&&(b.libraryUuid=i,b.footprintUuid=n.footprintUuid),ue.isEmptyObj(b)||await Yx.bindFootprint(b.footprintUuid,b.libraryUuid,u),(E=n.model3D)!=null&&E.uuid&&n.model3D.libraryUuid&&await Yx.bind3DModel(n.model3D.uuid,n.model3D.libraryUuid,u),n.imageData&&(u.imageUrl=await Yx.uploadItemFile(n.imageData)),s.name&&(u.attributes.Name=s.name),s.designator&&(u.attributes.Designator=s.designator),s.addIntoBom!==void 0&&(u.attributes["Add into BOM"]=s.addIntoBom?"yes":"no"),s.addIntoPcb!==void 0&&(u.attributes["Convert to PCB"]=s.addIntoPcb?"yes":"no"),s.name&&(u.attributes.Name=s.name),s.manufacturer&&(u.attributes.Manufacturer=s.manufacturer),s.supplier&&(u.attributes.Supplier=s.supplier),s.manufacturerId&&(u.attributes["Manufacturer Part"]=s.manufacturerId),s.supplierId&&(u.attributes["Supplier Part"]=s.supplierId),s.net&&(u.attributes["Global Net Name"]=s.net);let y=["name","designator","addIntoBom","addIntoPcb","net","manufacturer","manufacturerId","supplier","supplierId"],w=(s==null?void 0:s.otherProperty)||{};for(let N in w)y.includes(N)||(u.attributes[N]=w[N]);try{let N=u.symbolOperationType==="New"&&u.symbolItemName&&!u.symbolItemId,R=l?C.currentProject.projectId:u.userIdSelected,v=await Ze.updateDevice({uuid:u.deviceItemId,path:R,isProject:l,device:{data:Dk(l,u.deviceItemId,u.deviceItemName,u.categoryTags,u.description||"",u.attributes,ve.DEVICE,R,u.imageUrl,u.categoryShowString,u.symbolType)},symbol:u.symbolItem?{uuid:u.symbolItem.uuid,path:u.symbolItem.path,isProject:u.symbolItem.path===C.currentProject.projectId}:null,footprint:u.footprintItem?{uuid:u.footprintItem.uuid,path:u.footprintItem.path,isProject:u.footprintItem.path===C.currentProject.projectId}:null});return!0}catch(N){return console.error(N),!1}}static async getInfo({deviceUuid:e,libraryUuid:i=bn}){if(e){i===kn.Project&&(i=C.currentProject.projectId);try{return await Ze.getDevice({path:i,uuid:e,isProject:i===C.currentProject.projectId})}catch{}}}static async get({deviceUuid:e,libraryUuid:i=bn}){var r,n,a,s,l,c;let o=await Yx.getInfo({deviceUuid:e,libraryUuid:i});if(o){let d={libraryType:"3",uuid:o.uuid,libraryUuid:o.owner.uuid,name:o.display_title,classification:{libraryUuid:o.owner.uuid,libraryType:"3",primaryClassificationUuid:o.tags.parent_tag.uuid,secondaryClassificationUuid:o.tags.child_tag.uuid},association:{symbolType:((r=o.symbol)==null?void 0:r.docType)||o.symbol_type,symbolUuid:((n=o.symbol)==null?void 0:n.uuid)||o.attributes.Symbol,symbol:{type:((a=o.symbol)==null?void 0:a.docType)||o.symbol_type,uuid:((s=o.symbol)==null?void 0:s.uuid)||o.attributes.Symbol,libraryUuid:o.owner.uuid},footprintUuid:((l=o.footprint)==null?void 0:l.uuid)||o.attributes.Footprint,footprint:{uuid:((c=o.footprint)==null?void 0:c.uuid)||o.attributes.Footprint,libraryUuid:o.owner.uuid},images:o.images},description:o.description,property:{name:o.display_title,designator:o.attributes.Designator,addIntoBom:o.attributes["Add into BOM"],addIntoPcb:o.attributes["Convert to PCB"],net:o.attributes["Global Net Name"],manufacturer:o.attributes.Manufacturer,manufacturerId:o.attributes["Manufacturer Part"],supplier:o.attributes.Supplier,supplierId:o.attributes["Supplier Part"],otherProperty:o.attributes}};return d.subPartNames=await Yx.getSubPartNames(o),d}}static async getSubPartNames(e){let i=await Ze.getSymbol({isProject:e.path===kn.Project,uuid:e.attributes.Symbol,path:e.path});return i?new Promise(async o=>{await Cr("createDocManager",{data:i,cb:async r=>{let n=r.parts.map(a=>a.partTitle);o(n)}})}):[]}static async copy({deviceUuid:e,libraryUuid:i,targetLibraryUuid:o,targetClassification:r,newDeviceName:n}){var p,m,h,f;if(W1.includes(i))return;i===kn.Project&&(i=C.currentProject.projectId);let s=await Ze.getDevice({path:i,uuid:e,isProject:!1});if(!s)return;let l=[s.tags.parent_tag.name,s.tags.child_tag.name],{primaryClassificationUuid:c,secondaryClassificationUuid:d}=r||{};if(r===null)l=[];else if(c!==void 0){let g=await km.getNameByUuid({libraryUuid:i,libraryType:"3",primaryClassificationUuid:c,secondaryClassificationUuid:d});l=[g.primaryClassificationName,g.secondaryClassificationName]}let u=await Ze.createDevice({path:o,isProject:!1,device:{data:Dk(!1,void 0,n||s.display_title,l,s.description||"",s.attributes,ve.DEVICE,o,s.images[0],"",s.symbol_type)},symbol:(p=s.attributes)!=null&&p.Symbol?{uuid:(m=s.attributes)==null?void 0:m.Symbol,path:i,isProject:!1}:null,footprint:(h=s.attributes)!=null&&h.Footprint?{uuid:(f=s.attributes)==null?void 0:f.Footprint,path:i,isProject:!1}:null});if(u)return u.uuid}static async search({key:e="",libraryUuid:i=bn,classification:o,symbolType:r,itemsOfPage:n,page:a}){let s;if(typeof e=="string"&&(e=e.trim()),i===kn.Project)s=await i8e({page:a,pageSize:n,searchValue:e,tabType:"device",tag:[],symbol_type:r,docTypes:[2,18,19,20,21,22],attributes:{}});else{let l={attributes:{},page:a,pageSize:n,path:i,symbol_type:r,uid:i,isProject:!1,returnListStyle:"classifyarr",wd:void 0};if(e==="")s={success:!0,result:await Ze.getDeviceList({path:l.uid,...l})};else{l.wd=e;let c=i===bn;s={success:!0,result:await t7({path:l.uid,...l},Tt.DEVICE,c,!1)}}}if(s.success)return await Yx.handleDeviceModel3D(s),Object.values(s.result.lists).flat(1).map((l,c)=>{var d,u,p,m,h,f,g,b,y,w,x;return{uuid:l.uuid,libraryUuid:l.owner_uuid||l.project_uuid||i,classification:{libraryUuid:i,libraryType:"3",primaryClassificationUuid:(u=(d=l.tags)==null?void 0:d.parent_tag)==null?void 0:u.uuid,secondaryClassificationUuid:(m=(p=l.tags)==null?void 0:p.child_tag)==null?void 0:m.uuid},ordinal:c,name:l.display_title,symbolName:(h=l.symbol)==null?void 0:h.display_title,symbolUuid:(f=l.symbol)==null?void 0:f.uuid,footprintName:(g=l.footprint)==null?void 0:g.display_title,footprintUuid:(b=l.footprint)==null?void 0:b.uuid,model3DName:(y=l.attributes)==null?void 0:y["3D Model Title"],model3DUuid:(x=(w=l.attributes)==null?void 0:w["3D Model"])==null?void 0:x.split("|")[0],imageUuid:Array.isArray(l.images)?l.images[0]:l.images,description:l.description,manufacturer:l.attributes.Manufacturer,manufacturerId:l.attributes["Manufacturer Part"],supplier:l.attributes.Supplier,supplierId:l.attributes["Supplier Part"],otherProperty:l.attributes}})}static async handleDeviceModel3D(e){for(let i of e.result.lists)if(i.attributes["3D Model Title"]===void 0&&i.attributes.Footprint&&i.footprint){let r=i.footprint;r.path||(r.path=i.path);let{d3modelItem:n,d3modelItemName:a,d3modelItemId:s,d3modelItemTransform:l}=await ue.getFootprint3DInfo(r.uuid,r.path,r.path===C.currentProject.projectId);(n||a&&s&&l)&&(i.attributes["3D Model Title"]=a,i.attributes["3D Model"]=s,i.attributes["3D Model Transform"]=l)}}static async bindSymbol(e,i,o){let r=await R3("symbol",e,i);o.symbolItem=r,o.symbolItemId=r.uuid,o.symbolType=r.docType,o.symbolOperationType="Associate",o.symbolItemName=r.display_title,o.symbolItemPath=i,o.attributes.Symbol=r.uuid}static async bindFootprint(e,i,o){let r=await R3("footprint",e,i);o.footprintItem=r,o.footprintItemId=r.uuid,o.footprintItemName=r.display_title,o.footprintItemPath=rf(r),o.attributes.Footprint=r.uuid}static async bind3DModel(e,i,o){let r=await ts.fetchComponentItem(!1,e,i,ve.PCBLIB3D);o.attributes["3D Model"]=o.d3modelItemId=e,o.d3modelItemPath=i,o.d3modelItem=r.result,o.attributes["3D Model Title"]=o.d3modelItemName=r.result.display_title}static async uploadItemFile(e){var a;let i=new File([e],new Date().toDateString()),o=new FormData;o.append("editormd-image-file",i,i.name);let n=(await EUe(o)).data;return(n==null?void 0:n.url)||((a=n==null?void 0:n.result)==null?void 0:a.url)}static async getByLcscIds({lcscIds:e,libraryUuid:i=bn,allowMultiMatch:o}){typeof e=="string"&&(e=[e]);let a=await(await fetch("/api/devices/searchByCodes",{method:"post",headers:{"Content-Type":"application/json;charset=utf-8;"},body:JSON.stringify({codes:e,path:i})})).json();return a.success?a.result.map((s,l)=>{var c,d,u,p,m,h,f,g,b,y,w;return{uuid:s.uuid,libraryUuid:s.owner_uuid||s.project_uuid||i,classification:{libraryUuid:i,libraryType:"3",primaryClassificationUuid:(d=(c=s.tags)==null?void 0:c.parent_tag)==null?void 0:d.uuid,secondaryClassificationUuid:(p=(u=s.tags)==null?void 0:u.child_tag)==null?void 0:p.uuid},ordinal:l,name:s.display_title,symbolName:(m=s.symbol)==null?void 0:m.display_title,symbolUuid:(h=s.symbol)==null?void 0:h.uuid,footprintName:(f=s.footprint)==null?void 0:f.display_title,footprintUuid:(g=s.footprint)==null?void 0:g.uuid,model3DName:(b=s.attributes)==null?void 0:b["3D Model Title"],model3DUuid:(w=(y=s.attributes)==null?void 0:y["3D Model"])==null?void 0:w.split("|")[0],imageUuid:Array.isArray(s.images)?s.images[0]:s.images,description:s.description,manufacturer:s.attributes.Manufacturer,manufacturerId:s.attributes["Manufacturer Part"],supplier:s.attributes.Supplier,supplierId:s.attributes["Supplier Part"],otherProperty:s.attributes}}):[]}};Yx.json={attributes:{"3D Model":"","3D Model Title":"","3D Model Transform":"0, 0, 0, 0, 0, 0, 0, 0, 0","Add into BOM":"","Convert to PCB":"",Designator:"",Footprint:"",Name:"",Symbol:""},callScenType:"DEVICE_CREATOR",categoryShowString:"",categoryTags:[],d3modelItem:null,d3modelItemId:"",d3modelItemName:"",d3modelItemPath:"",d3modelItemTransform:"0, 0, 0, 0, 0, 0, 0, 0, 0",description:"",deviceItemId:"",deviceItemName:"",footprintItem:null,footprintItemId:"",footprintItemName:"[Empty Footprint Component Item]",footprintItemPath:"0819f05c4eef4c71ace90d822a990e87",hasChangedDeviceProfile:!0,imageUrl:"",initialDeviceItemName:"",isFromProject:!1,path:"0819f05c4eef4c71ace90d822a990e87",symbolItem:"",symbolItemName:"",symbolItemPath:"0819f05c4eef4c71ace90d822a990e87",symbolOperationType:"New",symbolType:"",userIdSelected:"",workSpaceSelected:C.currentProject.projectId};var _F=Yx,i8e=async t=>{let e=t.tabType,i=t.attributes,o=t.page,r=t.pageSize;(e!==Tt.DEVICE||Object.keys(i).length<=0)&&delete t.attributes,[Tt.DEVICE,Tt.FOOTPRINT].includes(e)&&delete t.docTypes,[Tt.SYMBOL,Tt.FOOTPRINT].includes(e)&&delete t.symbol_type,await C.messageBus.rpcCall("/pro-mgr/project/upload/force");let n=await yQe(t,e);return{success:!0,result:{lists:Fne(e,C.currentProject.projectId,n.lists,o,r,()=>{})||[]}}};var UQ=class t{static getSystemLibraryUuid(){return bn}static async getPersonalLibraryUuid(){let i=(await t.allLibrariesList()).find(o=>o.type===Yt.PERSONAL);if(i)return i.uuid}static async getFavoriteLibraryUuid(){let i=(await t.allLibrariesList()).find(o=>o.type===Yt.STAR);if(i)return i.uuid}static async getProjectLibraryUuid(){let i=(await t.allLibrariesList()).find(o=>o.type===Yt.PROJECT);if(i)return i.uuid}static async allLibrariesList(){let e=Je?await t.getClientLibList():t.getLibList();return e=e.map(i=>(i.facetsKey==="lcsc"&&(i={...i,type:"system"}),i)),Ko&&(e=e.map(i=>(i={...i,facetsKey:i.uuid},i))),e}static async getAllLibrariesList(){let e=await t.allLibrariesList();return e=e.filter(i=>![Yt.SYSTEM,Yt.STAR,Yt.PERSONAL,Yt.PROJECT,Yt.PUBLIC].includes(i.type)&&!i.hidden),e.map(i=>({name:i.title,uuid:i.uuid}))}static getLibList(){let e=[...mOe],i=gOe(C.teams.filter(n=>n.uuid!==Xo.getValueFromCacheUser("uuid")));((C.workspace!=="Personal"?"nonPersonal":"personal")==="nonPersonal"||_t)&&(e=e.filter(n=>n.type!==Yt.PERSONAL));let r=e.findIndex(n=>n.type===Yt.STAR)+1;return e.splice(r,0,...i),e=e.map(n=>{var a;return n={...n,amount:null},n.type===Yt.PERSONAL&&(n={...n,uuid:(a=C.loginedUserInfo)==null?void 0:a.uuid}),n.type===Yt.PROJECT&&(n={...n,hidden:!C.currentProject.projectId}),n}),e}static async getClientLibList(){let e=await oZ(!0);return bOe(e,Tt.DEVICE)}static async registerExtendLibrary(e){let{title:i,libraryFunctions:o}=e;return o.model3d&&(o.model3D=o.model3d),await C.extendLibStore.manager.addLib({title:i,position:-1/0,isVisible:r=>r.scene===x9.BOTTOM_COMPONENT_LIB,...o})}};var Eg=class t{static async createSchematic(e){var r;if(!C.currentProject.projectId)return;let i={projectId:C.currentProject.projectId,notOpen:!0};if(e){let{message:n}=await C.messageBus.rpcCall("getAstProjectAttr","boards"),a=n.find(s=>s.name===e);if(!a||a.sch)return;i.boardUuid=a==null?void 0:a.uuid}let{message:o}=await C.messageBus.rpcCall("DMT_CreateNew",{cmd:"new_schematic",args:i});return(r=o.schematic)==null?void 0:r.uuid}static async createSchematicPage(e){var r;let i={projectId:C.currentProject.projectId,schematicId:e},{message:o}=await C.messageBus.rpcCall("DMT_CreateNew",{cmd:"new_page",args:i});return(r=o.sheet)==null?void 0:r.uuid}static async modifyName(e){if(!C.currentProject.projectId)return;let{uuid:i,value:o}=e,{message:r}=await C.messageBus.rpcCall("getLeftTreeContentData"),n=r.findIndex(l=>l.uuid===i);if(n===-1)return!1;let a=r[n].title,{message:s}=await C.messageBus.rpcCall("leftTreeUpdataName",[n,o,a,C.currentProject.projectId,!0]);return!!s}static async deleteSchematic(e){if(!C.currentProject.projectId||!e)return;let{message:i}=await C.messageBus.rpcCall("getSchematicInfo",e),{schData:o,isCBB:r}=i;if(!o)return!1;let n=[];r&&n.push(o.pcbUuid);let{message:a}=await C.messageBus.rpcCall("leftTreeDelete2",{toDelBoards:[],toDelCbbs:[],toDelPanels:[],toDelPcbs:n,toDelSchs:[e],toDelSheets:[]});return a}static async deleteSchematicPage(e){if(!C.currentProject.projectId)return;let{message:i}=await C.messageBus.rpcCall("getSchematicPageInfo",e),{schId:o,sheetData:r,schData:n}=i;if(!r||!n)return!1;let a=[],s=[],l=[];if(Object.keys(n.sheets).length>1)a=[{displayTitle:r.displayTitle,isLast:!1,sheetUuid:e}];else{a=[{displayTitle:r.displayTitle,isLast:!0,sheetUuid:e}],s=[o];let{message:d}=await C.messageBus.rpcCall($e.SYMBOL.GET_BY_TITLE,[n.title,C.currentProject.projectId]);(d||[]).length>0&&(l=[n.pcbUuid||""])}let{message:c}=await C.messageBus.rpcCall("leftTreeDelete2",{toDelBoards:[],toDelCbbs:[],toDelPanels:[],toDelPcbs:l,toDelSchs:s,toDelSheets:a});return c}static async copyBoard(e){var l;if(!C.currentProject.projectId)return;let{message:i}=await C.messageBus.rpcCall("getLeftTreeContentData"),{message:o}=await C.messageBus.rpcCall("getAstProjectAttr","schematics"),r=i.filter(c=>c.title===e&&c.treeNodeType==="3"),n=i.filter(c=>c.uuid===C.currentProject.projectId);if(!r.length)return;let a=[...o];await C.messageBus.rpcCall("copyLeftTree",r),await C.messageBus.rpcCall("pasteLeftTree",n);let{message:s}=await C.messageBus.rpcCall("getAstProjectAttr","schematics");return(l=s.find(c=>!a.find(d=>d.name===c.name)))==null?void 0:l.name}static async copySchematic(e){if(!C.currentProject.projectId)return;let{message:i}=await C.messageBus.rpcCall("copySchematicPcb",e);return i}static async copySchematicPage(e){if(!C.currentProject.projectId)return;let{message:i}=await C.messageBus.rpcCall("copySchematicPage",e);return i}static async getSchematicInfo(e){if(!C.currentProject.projectId)return;let{message:i}=await C.messageBus.rpcCall("getSchematicInfo",e),{schData:o,isCBB:r,symbol:n,sheetId2CanvasAttrs:a}=i;if(o)return t.getSchDetail(o,r,a,n)}static async getSchematicPageInfo(e){if(!C.currentProject.projectId)return;let{message:i}=await C.messageBus.rpcCall("getSchematicPageInfo",e),{schId:o,sheetData:r,sheetId2CanvasAttrs:n}=i;if(!r)return;let a={},s=r.typeSymbols.sheet,l=!0;if(s){let c=Object.values(s)[0],{uuid:d}=c,u=r.attrsForSearch[d];if(!u)return;for(let p of Object.keys(u)){let m=u[p];m&&(a[p]={showTitle:m.keyVisible,showValue:m.valueVisible,value:n[p]})}u[Qu]&&(l=u[Qu].value==="1")}return{itemType:"Schematic Page",uuid:r.uuid,name:r.title,parentSchematicUuid:o,titleBlockData:a,showTitleBlock:l}}static async getAllSchematicsInfo(){var a,s,l,c;if(!C.currentProject.projectId)return;let{message:e}=await C.messageBus.rpcCall("getAllAstSchematics"),{schematics:i,sheetId2CanvasAttrs:o}=e,r=[],n=Object.keys(i);for(let d of n){let u=i[d],{message:p}=await C.messageBus.rpcCall($e.SYMBOL.GET_BY_TITLE,[u.title,C.currentProject.projectId]);p=p.filter(b=>b.docType===se.BLOCK_SYMBOL);let m=(p||[]).length>0,h=[];it(u.sheets,(b,y)=>{var T,M;let w={},x=y.typeSymbols.sheet,S=!0;if(x){let I=Object.values(x)[0];for(let A of Object.keys(I.attrsForSearch||{})){let D=(T=I.attrsForSearch)==null?void 0:T[A];D&&(w[A]={showTitle:D.keyVisible,showValue:D.valueVisible,value:o[b][A]})}(M=I.attrsForSearch)!=null&&M[Qu]&&(S=I.attrsForSearch[Qu].value==="1")}h.push({itemType:"Schematic Page",uuid:b,name:y.title,parentSchematicUuid:u.uuid,showTitleBlock:S,titleBlockData:w})});let f,g=p[0];if(m&&g){let[b="",y=""]=(g.source||"").split("|");f={libraryType:"2",uuid:b||g.uuid,libraryUuid:void 0,cbbUuid:y,name:g.display_title,classification:{libraryUuid:void 0,libraryType:"1",primaryClassificationUuid:(s=(a=g.tags)==null?void 0:a[0])==null?void 0:s.uuid,secondaryClassificationUuid:(c=(l=g.tags)==null?void 0:l[1])==null?void 0:c.uuid},type:17,description:g.description}}r.push({itemType:m?"CBB Schematic":"Schematic",uuid:d,page:h,parentProjectUuid:C.currentProject.projectId,parentBoardUuid:u.board,name:u.title,cbbSymbol:f})}return r}static async getAllSchematicPagesInfo(){if(!C.currentProject.projectId)return;let{message:e}=await C.messageBus.rpcCall("getAllAstSchematics"),{schematics:i,sheetId2CanvasAttrs:o}=e,r=Object.keys(i),n=[];for(let a of r){let s=i[a];it(s.sheets,(l,c)=>{let d={},{attrsForSearch:u}=c,p=c.typeSymbols.sheet,m=!0;if(p){let h=Object.values(p)[0];if(!h)return;let f=u[h.uuid];for(let g of Object.keys(f)){let b=f[g];b&&(d[g]={showTitle:b.keyVisible,showValue:b.valueVisible,value:o[l][g]})}f[Qu]&&(m=f[Qu].value==="1")}n.push({titleBlockData:d,showTitleBlock:m,itemType:"Schematic Page",uuid:l,name:c.displayTitle,parentSchematicUuid:s.uuid})})}return n}static async getCurrentSchematicInfo(){if(dt()!==se.SCH||!C.currentProject.projectId)return;let{message:e}=await C.messageBus.rpcCall("getCurrentSchematicInfo"),{schData:i,isCBB:o,sheetId2CanvasAttrs:r}=e;if(!i)return;let{message:n}=await C.messageBus.rpcCall($e.SYMBOL.GET_BY_TITLE,[i.title,C.currentProject.projectId]);return n=n.filter(a=>a.docType===se.BLOCK_SYMBOL),t.getSchDetail(i,o,r,n[0])}static async getCurrentSchematicPageInfo(){if(dt()!==se.SCH)return;let{message:e}=await C.messageBus.rpcCall("getCurrentSchematicPageInfo"),{currentSheetData:i,sheetId2CanvasAttrs:o,astSheet:r}=e,n={},a=r.typeSymbols.sheet,s=!0;if(a){let l=Object.values(a)[0],c=r.attrsForSearch[l.uuid];for(let d of Object.keys(c)){let u=c==null?void 0:c[d];u&&(n[d]={showTitle:u.keyVisible,showValue:u.valueVisible,value:o[i.uuid][d]})}c[Qu]&&(s=c[Qu].value==="1")}return i.showTitleBlock=s,i.titleBlockData=n,i}static getSchDetail(e,i,o,r){var s,l,c,d;if(!C.currentProject.projectId)return;let n=[];it(e.sheets,(u,p)=>{let m={},h=p.typeSymbols.sheet,f=!0;if(h){let g=Object.values(h)[0],b=p.attrsForSearch[g.uuid];for(let y of Object.keys(b)){let w=b==null?void 0:b[y];w&&(m[y]={showTitle:w.keyVisible,showValue:w.valueVisible,value:o[u][y]})}b[Qu]&&(f=b[Qu].value==="1")}n.push({titleBlockData:m,showTitleBlock:f,itemType:"Schematic Page",uuid:u,name:p.title,parentSchematicUuid:e.uuid})});let a;if(i&&r){let[u="",p=""]=(r.source||"").split("|");a={libraryType:"2",uuid:u||r.uuid,libraryUuid:void 0,cbbUuid:p,name:r.display_title,classification:{libraryUuid:void 0,libraryType:"1",primaryClassificationUuid:(l=(s=r.tags)==null?void 0:s[0])==null?void 0:l.uuid,secondaryClassificationUuid:(d=(c=r.tags)==null?void 0:c[1])==null?void 0:d.uuid},type:17,description:r.description}}return{itemType:i?"CBB Schematic":"Schematic",uuid:e.uuid,page:n,parentProjectUuid:C.currentProject.projectId,parentBoardUuid:e.board,name:e.title,cbbSymbol:a}}static async reorderSchematicPages(e){if(!C.currentProject.projectId)return;let{schematicUuid:i,schematicPageItemsArray:o}=e;if(!i)return!1;let{message:r}=await C.messageBus.rpcCall("getSchematicInfo",i),{schData:n}=r;if(!n)return!1;let a=Object.keys(n.sheets),s=o.map(d=>d.uuid);if(a.length!==s.length)return!1;let l=!1;if(s.forEach(d=>{a.includes(d)||(l=!0)}),l)return!1;let c=1;for(let d of s){let u={uuid:d,zIndex:c},{message:p}=await C.messageBus.rpcCall($e.SHEET.UPDATE,[u,C.currentProject.projectId]);c+=c}return!0}static async getCurrentSchematicAllSchematicPagesInfo(){return C.currentProject.projectId?(await t.getCurrentSchematicInfo()).page:void 0}static async modifySchematicPageTitleBlock(e){if(!C.currentProject.projectId)return;let{showTitleBlock:i,titleBlockData:o}=e,{message:r}=await C.messageBus.rpcCall("getCurrentSchematicPageInfo"),{astSheet:n}=r,a=n.typeSymbols.sheet,s=Object.keys(a)[0],l=gi(),c={[l]:{[s]:{}}},d=c[l][s];if(vn(i)&&vn(o))return!1;if(vn(i)||(d[Qu]={valueVisible:i}),!vn(o))for(let u in o){let p=o[u],{showTitle:m,showValue:h,value:f}=p;vn(m)||(d[u]={keyVisible:m}),vn(h)||(d[u].valueVisible=h),vn(f)||(d[u].value=f)}return C.messageBus.publish("sch/setProperty",{data:c}),!0}};var FL=class t{static async createBoard({schematicUuid:e="",pcbUuid:i=""}){var a,s,l;if(!C.currentProject.projectId)return;let{message:o}=await C.messageBus.rpcCall("getAstProjectAttr","boards"),r=[...o];if(!e&&!i)await C.messageBus.rpcCall("DMT_CreateNew",{cmd:"new_board"});else{let c="";if(i){let p=(a=(await n9.getAllPcbsInfo()).find(m=>m.uuid===i))==null?void 0:a.name;c=/^PCB/i.test(p)?p.replace(/PCB/i,"Board"):p}if(e){let p=(s=(await Eg.getAllSchematicsInfo()).find(m=>m.uuid===e))==null?void 0:s.name;c=/^Schematic/i.test(p)?p.replace(/Schematic/i,"Board"):p}let{message:d}=await C.messageBus.rpcCall("set_as_new_Board",{schematicUuid:e,pcbUuid:i,boardName:c});return d}let{message:n}=await C.messageBus.rpcCall("getAstProjectAttr","boards");return(l=n.find(c=>!r.find(d=>d.name===c.name)))==null?void 0:l.name}static async modifyBoardName(e){if(!C.currentProject.projectId)return;let{rawName:i,value:o}=e,{message:r}=await C.messageBus.rpcCall("getLeftTreeContentData","boards"),n=r.findIndex(s=>s.treeNodeType==="3"&&s.title===i);if(n===-1)return!1;let{message:a}=await C.messageBus.rpcCall("leftTreeUpdataName",[n,o,i,C.currentProject.projectId,!0]);return a}static async getAllBoardsInfo(){if(!C.currentProject.projectId)return;let e=await n9.getAllPcbsInfo(),i=await Eg.getAllSchematicsInfo(),{message:o}=await C.messageBus.rpcCall($e.SYMBOL.GET_ALL_ARR,[C.currentProject.projectId]);o=o.filter(n=>n.docType===se.BLOCK_SYMBOL);let{message:r}=await C.messageBus.rpcCall("getAstProjectAttr","boards");return r.forEach(n=>{var a,s,l,c;if(n.pcb=e.find(d=>n.pcb===d.uuid),n.schematic=i.find(d=>n.sch===d.uuid),n.parentProjectUuid=C.currentProject.projectId,delete n.sch,n.schematic&&n.schematic.name){let d=o.find(p=>p.title.toLocaleLowerCase()===n.schematic.name.toLocaleLowerCase()),u;if(d){let[p="",m=""]=(d.source||"").split("|");u={libraryType:"2",uuid:p||d.uuid,libraryUuid:void 0,cbbUuid:m,name:d.display_title,classification:{libraryUuid:void 0,libraryType:"1",primaryClassificationUuid:(s=(a=d.tags)==null?void 0:a[0])==null?void 0:s.uuid,secondaryClassificationUuid:(c=(l=d.tags)==null?void 0:l[1])==null?void 0:c.uuid},type:17,description:d.description},n.cbbSymbol=u}}}),r}static async deleteBoard(e){if(!C.currentProject.projectId)return;let{message:i}=await C.messageBus.rpcCall("getAstProjectAttr","boards"),o=i.find(r=>r.name===e);return o?(await C.messageBus.rpcCall("leftTreeDelete2",{toDelBoards:[o],toDelCbbs:[],toDelPanels:[],toDelPcbs:[],toDelSchs:[],toDelSheets:[]}),!0):!1}static async copyBoard(e){var l;if(!C.currentProject.projectId)return;let{message:i}=await C.messageBus.rpcCall("getLeftTreeContentData"),{message:o}=await C.messageBus.rpcCall("getAstProjectAttr","boards"),r=i.filter(c=>c.title===e&&c.treeNodeType==="3"),n=i.filter(c=>c.uuid===C.currentProject.projectId);if(!r.length)return;let a=[...o];await C.messageBus.rpcCall("copyLeftTree",r),await C.messageBus.rpcCall("pasteLeftTree",n);let{message:s}=await C.messageBus.rpcCall("getAstProjectAttr","boards");return(l=s.find(c=>!a.find(d=>d.name===c.name)))==null?void 0:l.name}static async getCurrentBoardInfo(){if(!C.currentProject.projectId)return;let e=he.getActiveTabData(),i=e.data.doctype,o=e.tabId.split("@")[0];return i===se.SCH&&(o=e.data["data-schematic-uuid"]),(await t.getAllBoardsInfo()).find(a=>{if(i===se.SCH)return a.schematic.uuid===o;if(i===se.PCB)return a.pcb.uuid===o})}};var jF=class t{static async createPanel(e){let i=await et("new_Panel",!1);return i==null?void 0:i.uuid}static async modifyPanelName(e){let{panelUuid:i,value:o}=e,{message:r}=await C.messageBus.rpcCall("getLeftTreeContentData"),n=r.findIndex(l=>l.uuid===i);if(n===-1)return!1;let a=r[n].title,{message:s}=await C.messageBus.rpcCall("leftTreeUpdataName",[n,o,a,C.currentProject.projectId,!0]);return s!==a}static async getAllPanelsInfo(){let{message:e}=await C.messageBus.rpcCall("getAstProjectAttr","panels");return e=Object.values(e).map(i=>({itemType:"PANEL",uuid:i.uuid,name:i.title,parentProjectUuid:C.currentProject.projectId})),e}static async deletePanel(e){return await C.messageBus.rpcCall("leftTreeDelete2",{toDelBoards:[],toDelCbbs:[],toDelPanels:[e],toDelPcbs:[],toDelSchs:[],toDelSheets:[]}),!0}static async copyPanel(e){return(await C.messageBus.rpcCall("copyPanel",e)).message}static async getCurrentPanelInfo(){let e=he.getActiveSheetId();return(await t.getAllPanelsInfo()).find(o=>o.uuid===e)}static async getPanelInfo(e){return(await t.getAllPanelsInfo()).find(o=>o.uuid===e)}};function Fln(t){let e=o=>Math.min(255,Math.max(0,o)),i=o=>{let r=e(o).toString(16).toUpperCase();return r.length===1?`0${r}`:r};return`#${i(t.r)}${i(t.g)}${i(t.b)}`}var x2=class t{static openDocument(e){return new Promise(async(i,o)=>{let{projectId:r}=C.currentProject,{documentUuid:n,splitScreenId:a}=e,{docType:s}=await WVt({uuid:n,path:r,docType:void 0,isComponent:!1,inProject:!0});if([1,26].includes(s)){let l=(await C.messageBus.rpcCall("openTabAndCallback",{tabId:n,openContainer:a})).message;he.onSelect(n),i(l)}else if(s===3){let l=n+"@"+C.currentProject.projectId,c=he.getTabById(l);await Ud(n,{openContainerId:a}),c?i(l):(C.messageBus.subscribe("tabChange",()=>{i(Fp(n))}),i(Fp(n)))}else i(void 0)})}static async closeDocument(e){return C.messageBus.publish("closeAndDontSaveSheet",e),Xb(e),!0}static async activateDocument(e){return(await C.messageBus.rpcCall("isOpenTab",[e])).message?(await C.messageBus.rpcCall("setTabActive",[e]),!0):!1}static moveDocumentToSplitScreen(e){let{documentUuid:i,splitScreenId:o}=e,r=he.getTabContainer(i);return It.tabMovePosition({controlTab:{containerId:r,tabId:i},insertPosition:"back",targetTab:{containerId:o,tabId:""}}),!0}static async openLibraryDocument({libraryUuid:e,libraryType:i,uuid:o,splitScreenId:r}){e===kn.Project&&(e=C.currentProject.projectId);let n=e===C.currentProject.projectId;try{if(i==="2"){let a=await Cr("ajaxGetDocData",{uuid:"!"+o,path:e}),s=C.currentProject.projectId;a.has_device=!0,a.projectId=s,await DI(a,n,!1,void 0,e,r)}else if(i==="4"){let a,s={};a=o;let l=e;s.libPath=l;let c=await Ze.getFootprint({path:l,isProject:l===C.currentProject.projectId,uuid:a});if(c)s={...s,...c};else throw new Error("\u83B7\u53D6\u5931\u8D25");if(Object.keys(s).length<=1)return;let d=!1;if(s.isProjectLib=!1,s.isFormBottomBar=!1,s.docType===ve.FOOTPRINT){let u=await Ze.getFootprint({path:l,isProject:l===C.currentProject.projectId,uuid:a});u&&(s.tags=u.tags)}GD(d,s,()=>{GS(s,d,{},!1,u=>{})})}return new Promise(a=>{C.messageBus.subscribe("tabChange",()=>{a(Fp(o,e))})})}catch{}}static getSplitScreenTree(){let e=ue.deepClone(he.containerTree);return t.handleTreeData(e)}static handleTreeData(e){if(e.children)e.children.forEach(i=>{t.handleTreeData(i)});else{let i=he.getFilterTabs([],e.id).filter(o=>o.tabId!=="0");e.tabs=ue.deepClone(i)}return e.direction==="column"?e.direction="horizontal":e.direction==="row"&&(e.direction="vertical"),delete e.height,delete e.width,e}static async createSplitScreen(e){let{splitScreenType:i,tabId:o}=e,r=he.getTabContainer(o),n=t.getTabsBySplitScreenId(r).find(a=>a.tabId!==o);return i==="horizontal"?await et("horizontal_split_tab",{tabid:o}):et("vertical_split_tab",{tabid:o}),{sourceSplitScreenId:he.getTabContainer(n.tabId),newSplitScreenId:he.getTabContainer(o)}}static tileAllDocumentToSplitScreen(){return et("tile_all__tab"),!0}static mergeAllDocumentFromSplitScreen(){return et("merge_all_tab"),!0}static getSplitScreenIdByTabId(e){return he.getTabContainer(e)}static getTabsBySplitScreenId(e){let i=he.getFilterTabs([],e).filter(o=>o.tabId!=="0");return ue.deepClone(i)}static activateSplitScreen(e){let{activeTabId:i,tabs:o}=It.containerInfo[e]||{};if(!i||!o)return!1;let{data:{docType:r}}=o.find(a=>a.tabId===i);return C.messageBus.publish("onDocFocus",{tabId:i,docType:r}),he.getActiveTabData().tabId===i}static async zoomToSelectedPrimitives(e=he.getActiveTab()){let i=he.getTabById(e);if(!i)return!1;let{doctype:o}=i.data;if(o===ve.SCH||I6(o)){let{message:r}=await C.messageBus.rpcCall("adaptSelectionViewByTabId",e);return r}else if([ve.PANEL,ve.PANEL_LIB].includes(o)){let r=fg(e),{message:n}=await C.windowBridge.rpcCall("panelAdaptSelectionView",void 0,r.contentWindow);return t.PanelBboxToBounding(n)}else if([ve.PCB,ve.FOOTPRINT].includes(o)){let r=fg(e),{message:n}=await C.windowBridge.rpcCall("adaptSelectAndGetBbox","",r.contentWindow);return t.PcbBboxToBounding(n)}}static async zoomToAllPrimitives(e=he.getActiveTab()){let i=he.getTabById(e);if(!i)return!1;let{doctype:o}=i.data;if(o===ve.SCH||I6(o)){let{message:r}=await C.messageBus.rpcCall("SCHFitviewByTabId",e);return r}else if([ve.PANEL,ve.PANEL_LIB].includes(o)){let r=fg(e),{message:n}=await C.windowBridge.rpcCall("panelFitView",void 0,r.contentWindow);return t.PanelBboxToBounding(n)}else if([ve.PCB,ve.FOOTPRINT].includes(o)){let r=fg(e),{message:n}=await C.windowBridge.rpcCall("adaptAllAndGetBBox","",r.contentWindow);return t.PcbBboxToBounding(n)}}static async zoomToRegion({left:e,right:i,top:o,bottom:r,tabId:n=he.getActiveTab()}){let a=he.getTabById(n);if(!a)return!1;let{doctype:s}=a.data;if(s===ve.SCH||I6(s)){let{message:l}=await C.messageBus.rpcCall("SCHZoomToRegion",{left:e,right:i,top:o,bottom:r,tabId:n})}else if([ve.PANEL,ve.PANEL_LIB].includes(s)){let l=fg(n),c=io(e,"mm","pixel"),d=io(i,"mm","pixel"),u=io(-r,"mm","pixel"),p=io(-o,"mm","pixel"),m={x:c,y:p,width:d-c,height:u-p},{message:h}=await C.windowBridge.rpcCall("panelZoomToRegion",m,l.contentWindow)}else if([ve.PCB,ve.FOOTPRINT].includes(s)){let l=fg(n),c=io(e,"mil","pixel"),d=io(i,"mil","pixel"),u=io(o,"mil","pixel"),p=io(r,"mil","pixel"),{message:m}=await C.windowBridge.rpcCall("pcbZoomToRegion",{minX:c,maxX:d,maxY:u,minY:p},l.contentWindow)}return!0}static async zoomTo({x:e,y:i,scaleRatio:o,tabId:r=he.getActiveTab()}){let n=he.getTabById(r);if(!n)return!1;let{doctype:a}=n.data;if(a===ve.SCH||I6(a)){let{message:s}=await C.messageBus.rpcCall("SCHZoomTo",{x:e,y:i,scaleRatio:o,tabId:r}),{x:l,y:c,width:d,height:u}=s;return{left:l,right:l+d,top:-c,bottom:u-c}}else if([ve.PANEL,ve.PANEL_LIB].includes(a)){let s=fg(r);e=io(e,"mm","pixel"),i=io(i,"mm","pixel");let{message:l}=await C.windowBridge.rpcCall("panelZoomTo",{x:e,y:i,scaleRatio:o},s.contentWindow),{minX:c,maxX:d,minY:u,maxY:p}=l,m=io(c,"pixel","mm"),h=io(d,"pixel","mm"),f=io(u,"pixel","mm"),g=io(p,"pixel","mm");return{left:m,right:h,top:g,bottom:f}}else if([ve.PCB,ve.FOOTPRINT].includes(a)){let s=fg(r);e=io(e,"mil","px"),i=io(i,"mil","px");let{message:l}=await C.windowBridge.rpcCall("pcbZoomTo",{x:e,y:i,scaleRatio:o},s.contentWindow),{minX:c,maxX:d,minY:u,maxY:p}=l;return{left:c,right:d,top:p,bottom:u}}return!1}static async getCurrentRenderedAreaImage(e=he.getActiveTab()){let i=he.getTabById(e);if(!i)return;let{doctype:o}=i.data;if(o===ve.SCH||I6(o)){let{message:r}=await C.messageBus.rpcCall("getSCHCanvasImg",e);return r}else{if([ve.PANEL,ve.PANEL_LIB].includes(o))return t.getPanelImageData(e);if([ve.PCB,ve.FOOTPRINT].includes(o)){let r=fg(e);return t.getPcbImageData(r)}else if([ve.VIEW3D,ve.PHOTOVIEW].includes(o)){let r=fg(e);return t.getPcb3DImageData(r)}}}static async getPcbImageData(e){let i=(await C.windowBridge.rpcCall("getPCBCanvasImg","",e.contentWindow)).message;if(!i.data||!i.width||!i.height)return Promise.resolve();let o=i.data,r=null;if(o instanceof Uint8ClampedArray)r=o;else{r=new Uint8ClampedArray(i.width*i.height*4);for(let a in i.data)r[a]=i.data[a]}let n=document.createElement("canvas");return n.width=i.width,n.height=i.height,n.getContext("2d").putImageData(new ImageData(r,i.width,i.height),0,0),await new Promise(a=>{n.toBlob(s=>{a(s)},"image/png",1)})}static async getPcb3DImageData(e){let i=(await C.windowBridge.rpcCall("/pcb/3d/exportViewBox/png","",e.contentWindow)).message;if(!i.data)return Promise.resolve();let o=i.data,r=URL.createObjectURL(o),n=document.createElement("canvas"),a=n.getContext("2d");a.fillStyle=e.contentWindow.document.body.style.backgroundColor;let s=new Image;return s.src=r,await new Promise(l=>{s.onload=function(){n.width=s.width,n.height=s.height,a.fillRect(0,0,s.width,s.height),a.fill(),a.drawImage(s,0,0),URL.revokeObjectURL(r),n.toBlob(c=>{l(c)},"image/png",1)}})}static async getPanelImageData(e){let i=fg(e),{message:o}=await C.windowBridge.rpcCall("getPanelSvgRootImg","",i.contentWindow),r=document.createElement("img"),n=document.createElement("canvas"),a=n.getContext("2d");return r.src=o,await new Promise(s=>{r.onload=function(){n.width=r.width,n.height=r.height,a.drawImage(r,0,0,r.width,r.height),n.toBlob(l=>{s(l)},"image/png",1)}})}static async generateIndicatorMarkers(e){let{markers:i,color:o,lineWidth:r=1,zoom:n=!0,tabId:a=he.getActiveTab()}=e,s=he.getTabById(a);if(!s)return!1;let{doctype:l}=s.data;if(l===ve.SCH||I6(l)){let c={markers:i,color:o&&Fln(o),lineWidth:r,zoom:n};return(await C.messageBus.rpcCall("schGenerateIndicatorMarkers",c)).message}else{if([ve.PANEL,ve.PANEL_LIB].includes(l))return;if([ve.PCB,ve.FOOTPRINT].includes(l)){let c=fg(a);return await C.windowBridge.rpcCall("pcbGenerateIndicatorMarkers",{markers:i,color:o,lineWidth:r,zoom:n},c.contentWindow),!0}}}static async removeIndicatorMarkers(e=he.getActiveTab()){let i=he.getTabById(e);if(!i)return!1;let{doctype:o}=i.data;if(o===ve.SCH||I6(o))return(await C.messageBus.rpcCall("schRemoveIndicatorMarkers")).message;if([ve.PANEL,ve.PANEL_LIB].includes(o))return;if([ve.PCB,ve.FOOTPRINT].includes(o)){let r=fg(e);return await C.windowBridge.rpcCall("pcbRemoveIndicatorMarkers","",r.contentWindow),!0}}static PcbBboxToBounding(e){let{minX:i,minY:o,maxX:r,maxY:n}=e,a=io(i,"pixel","mil"),s=io(r,"pixel","mil"),l=io(o,"pixel","mil"),c=io(n,"pixel","mil");return{left:a,right:s,bottom:l,top:c}}static PanelBboxToBounding(e){let{minX:i,minY:o,maxX:r,maxY:n}=e,a=io(i,"pixel","mm"),s=io(r,"pixel","mm"),l=io(-n,"pixel","mm"),c=io(-o,"pixel","mm");return{left:a,right:s,bottom:l,top:c}}};var F4e=class{static getAllTeamsInfo(){if(Je)return Wr.getProjectDataStore(FS).projectData.map(o=>({itemType:"Team",name:o.title,uuid:o.path,identity:0}));if(C.workspace==="Personal"){let i=[{itemType:"Team",name:"Personal",uuid:C.loginedUserInfo.uuid,identity:0}];return i.push(...e()),i}else return e();function e(){return C.teams.filter(i=>{var r;function o(){for(let n of i.members)if(n.uuid===C.loginedUserInfo.uuid)return Number(n.role);return 0}return((r=i.boss)==null?void 0:r.uuid)===C.loginedUserInfo.uuid||o()===1}).map(i=>({itemType:"Team",name:i.nickname,uuid:i.uuid,identity:1}))}}static getAllInvolvedTeamInfo(){return Wr.getProjectDataStore(FS).projectData.find(r=>r.id==="Participated").children.map(r=>({itemType:"Team",name:r.title,uuid:r.id,identity:o(r.id)}));function o(r){let n=0;return C.teams.find(a=>{if(a.uuid===r){for(let s of a.members)if(s.uuid===C.loginedUserInfo.uuid)return n=Number(s.role),!0}}),n}}static getCurrentTeamInfo(){if(Je){let i=Wr.getProjectDataStore(FS),o=C.currentProject.projectId,r=i.projectData.find(n=>n.children.some(a=>a.id===o));return r?{itemType:"Team",name:r.title,uuid:r.path,identity:0}:void 0}let e=C.teams.find(i=>i.uuid===C.currentProject.owner);if(e){let i=function(){for(let o of e.members)if(o.uuid===C.loginedUserInfo.uuid)return Number(o.role);return 0};return{itemType:"Team",name:e.nickname,uuid:e.uuid,identity:i()}}else return C.currentProject.owner===C.loginedUserInfo.uuid?{itemType:"Team",name:"Personal",uuid:C.currentProject.owner,identity:0}:{itemType:"Team",name:C.currentProject.ownerData.nickname,uuid:C.currentProject.owner,identity:0}}};var U4e=class t{static getAllWorkspacesInfo(){let e=_d.organization.map(i=>({itemType:"Workspace",uuid:i.uuid,name:i.name}));return!_t&&e.unshift({itemType:"Workspace",uuid:"Personal",name:"Personal"}),e}static async toggleToWorkspace(e){try{await qg(e),await R5e(e)}finally{return C.workspace===e}}static getCurrentWorkspaceInfo(){return t.getAllWorkspacesInfo().find(e=>e.uuid===C.workspace)}};var Uln=new Set([ve.SCH,ve.PCB,ve.PHOTOVIEW,ve.VIEW3D,ve.PANEL,ve.PANEL3D]),Vln=new Set([ve.PART,ve.NETFLAG,ve.NETPORT,ve.SHEET_SYMBOL,ve.NONEELEC_SYMBOL,ve.SHORT_SYMBOL,ve.BLOCK_SYMBOL,ve.FOOTPRINT,ve.PANEL_LIB]),Gdt=class{static getCurrentDocumentInfo(){var r,n,a,s;let e=he.getActiveTabData(),i=(r=e.data)==null?void 0:r.doctype,o={documentType:i,uuid:(n=e.tabId)==null?void 0:n.split("@")[0],tabId:e.tabId};return Uln.has(i)?{...o,parentProjectUuid:(a=e.data)==null?void 0:a.pid}:Vln.has(i)?{...o,parentLibraryUuid:(s=e.data)==null?void 0:s.owner}:o}};var izo=L(Vi());var VQ=class{static async openProject(e){return(await Os({uuid:e})).success}static async createProject(e){var m;let{projectFriendlyName:i,projectName:o,teamUuid:r,folderUuid:n,description:a,collaborationMode:s=1}=e;if(!i)return;let l,c;if(c=(await C.messageBus.rpcCall("prjPinyin",o||i)).message,_t){if(!r||(l=C.teams.find(b=>b.uuid===r),!l))return;if(n){let w=function(x){if(x.length>0)x.forEach(S=>{b.push(S.uuid),w(S.children)});else return},b=[];b.push(l.uuid);let y=C.teamFolders.find(x=>x.uuid===r);if(w(y.rootList.children),!b.includes(n))return}let{mode:h,org_uuid:f}=l,{mode:g}=_d.organization.find(b=>b.uuid===f);(h===3||g===3)&&(s=1)}else if(r){if(l=C.teams.find(h=>h.uuid===r),!l)return}else if(!r&&C.workspace==="Personal")l=C.globalVariableCookieData.userInfo;else return;let d=o||`${l.username}/${c}`,u={name:i,description:a||"",public:!1,user_uuid:l.uuid,ownerSelectId:n||l.uuid,cbb_project:!1,project_path:d,editorVersion:"",mode:s,path:void 0},{message:p}=await C.messageBus.rpcCall(CK.CLOUD.CREATE,{project:u,options:{needTips:!1}});if(p.success)return tl(),(m=p==null?void 0:p.result.project)==null?void 0:m.uuid}static modifyProjectFriendlyName(e,i){}static async getCurrentProjectInfo(){var u;let{message:e}=await C.messageBus.rpcCall("getCurrentProjectInfo"),{boardsArr:i,pcbsArr:o,panelsArr:r,schsArr:n}=e,{message:a}=await C.messageBus.rpcCall($e.PROJECT.GET,[C.currentProject.projectId]);if(!a)return;let s;C.teamFolders.forEach(p=>{if(p.uuid===a.owner.uuid)if(p.rootList.projectList.includes(a.uuid))s=p.uuid;else{let m=function(h){h.length>0&&h.forEach(f=>{f.projectList.includes(a.uuid)?s=f.uuid:m(f.children)})};m(p.rootList.children)}});let l=n.filter(p=>p.parentBoardUuid===""),c=o.filter(p=>p.parentBoardUuid===""),d;if(Je){let p=Wr.getProjectDataStore(FS),m=C.currentProject.projectId,h=p.projectData.find(f=>f.children.some(g=>g.id===m));h&&(d=h.path)}return{itemType:a.cbb_project?"CBB Project":"Project",uuid:a.uuid,friendlyName:a.title,name:(((u=a.owner)==null?void 0:u.nickname)||"")+"/"+a.name,teamUuid:d||a.owner.uuid,folderUuid:s,description:a.content,data:[...i,...l,...c,...r],collaborationMode:a.mode}}static async getAllProjectsUuid({workspaceUuid:e,teamUuid:i,folderUuid:o}){if(!e&&!i&&!o||!i&&!o)return[];let r;function n(a){if(a.length>0)a.forEach(s=>{if(s.uuid===o)return r=s;n(s.children)});else return}if(Je){let a=(await $L(C.apis.client.projectPaths)).result,s=[];for(let[l,c]of Object.entries(a))c.dir===i&&s.push(l);return s}if(_t)return i&&!o||o===i?C.allProjectList.filter(s=>s.owner.uuid===i).map(s=>s.uuid):(C.teamFolders.forEach(a=>{n(a.rootList.children)}),r?r.projectList:[]);if(C.workspace===e||!e)if(C.workspace==="Personal"){let a=o||i;if(a===C.globalVariableCookieData.userInfo.uuid)return C.allProjectList.filter(l=>l.owner.uuid===a).map(l=>l.uuid);if(o)n(C.personFolders.children),r||C.teamFolders.forEach(s=>{n(s.rootList.children)});else if(i)return C.allProjectList.filter(l=>l.owner.uuid===i).map(l=>l.uuid);return r?r.projectList:[]}else return i&&!o||o===i?C.allProjectList.filter(s=>s.owner.uuid===i).map(s=>s.uuid):(C.teamFolders.forEach(a=>{n(a.rootList.children)}),r?r.projectList:[]);else{let a=await Mje(e);return i&&!o||o===i?C.allProjectList.filter(l=>l.owner.uuid===i).map(l=>l.uuid):(a.forEach(s=>{n(s.rootList.children)}),r?r.projectList:[])}}static async moveProjectToFolder(e){let{projectUuid:i,folderUuid:o}=e,r=await KU({path:i,uuid:i});if(!i||!r)return;let n=await zi.getPermissionList(i),{uuid:a}=r.owner,s=r.owner.team;function l(y,w){return n?zi.hasPermission(n,y,w):!0}if(!l(Io.Project_Moving))return!1;o||(o=a);let d=[];function u(y){y.forEach(w=>{d.push(w.uuid),u(w.children)})}if(s){let y=C.teamFolders.find(w=>(d.push(w.uuid),w.uuid===a));u(y.rootList.children)}else d.push(_o()),u(C.personFolders.children);if(!d.includes(o))return!1;let p="";s?C.teamFolders.forEach(y=>{y.uuid===r.owner.uuid&&(y.rootList.projectList.includes(r.uuid)?p=y.uuid:m(y.rootList.children))}):C.personFolders.projectList.includes(r.uuid)?p=a:m(C.personFolders.children);function m(y){y.length>0&&y.forEach(w=>{w.projectList.includes(r.uuid)?p=w.uuid:m(w.children)})}if(p===o)return!0;let h=!1,f="",g;if(s?h=C.teamFolders.some(y=>y.rootList.projectList.includes(i)):h=C.personFolders.projectList.includes(i),h)f=C.apis.folders.addProject,g={parent_uuid:o,project_uuid:i};else{let y=()=>{let S=C.teams||[],T=r.owner.team,M=T?C.apis.folders.loadTeamFolder:C.apis.folders.loadUserFolder,I=C.workspace,D={folder_uuid:p,...I==="Personal"?{}:{org_uuid:I}};return T&&(D.team_uuid=r.owner.uuid),izo.default.getJSON(M,D).then(function(E){if(E&&E.success&&E.result){let R=(E.result&&E.result.projects&&E.result.projects.lists||[]).find(function(k){return k.project_uuid==i});return R&&R.uuid}})},w=C.teams.find(S=>S.uuid===o),x=o===_o();f=w||x?C.apis.folders.deleteProject:C.apis.folders.moveProject,g={uuid:await y(),object_uuid:w||x?void 0:o}}let b=await Vc(f,g,y=>y.success?(tl(C.workspace==="Personal"?{}:{org_uuid:C.workspace}),!0):!1);return!!(b!=null&&b.success)}static async getProjectInfo(e){let i=await KU({uuid:e,path:e});if(!i)return;let o;return C.teamFolders.forEach(r=>{if(r.uuid===i.owner.uuid)if(r.rootList.projectList.includes(i.uuid))o=r.uuid;else{let n=function(a){a.length>0&&a.forEach(s=>{s.projectList.includes(i.uuid)?o=s.uuid:n(s.children)})};n(r.rootList.children)}}),{itemType:i.cbb_project?"CBB Project":"Project",uuid:e,friendlyName:i.title,folderUuid:o,teamUuid:i.owner.uuid}}};var Gln={0:"info",1:"warn",2:"error",3:"fatalError",info:"info",warn:"warn",error:"error",fatalError:"fatalError"},lie=class t{static clear(){Eb("Log")}static add({message:e,type:i}){t2({type:i,msg:e})}static export(e){if(!e)return C3("Log");let i=[];e.forEach(r=>{let n=tm("Log").getLogList(r);i=i.concat(n)});let o="";for(let r of i)o+=`${dAt(r.htmlContent)}
`;ya(o,`Log_${ue.formatDate(new Date,"yyyy-MM-dd")}.txt`)}static sort(e){let i=[];return e?(e.forEach(o=>{let r=tm("Log").getLogList(o).map(n=>({type:n.type,message:n.content,timestamp:n.timestamp}));i=i.concat(r)}),z8.setShowLogType(e.map(o=>Gln[o]).filter(o=>!!o)),fX()):i=tm("Log").getLogList("all").map(r=>({type:r.type,message:r.content,timestamp:r.timestamp})),i}static find({message:e,types:i}){if(!e)return[];let o=t.sort(i),r=o.filter(n=>n.message.indexOf(e)>-1);return o.filter(n=>n.message.indexOf(e)>-1)}};var V4e=class{static getShortcutKeys(e=!1){let i=[],o=Ys.getAllHotkeys();return it(o,(r,n)=>{var a,s;e?i.push({shortcutKey:((a=n.hotkey)==null?void 0:a.split("+"))||[],title:Rr(n.funcE),documentType:n.range,scene:n.scene}):n.isCustomize&&i.push({shortcutKey:((s=n.hotkey)==null?void 0:s.split("+"))||[],title:Rr(n.funcE),documentType:n.range,scene:n.scene})}),i}static registerShortcutKey(e){let{shortcutKey:i,title:o,callbackFn:r,documentType:n,scene:a}=e,s=i.join("+")+o+Math.random(),l={hotkey:i.join("+"),hotkeyCmd:s,range:n,scene:a,funcE:o,isCustomize:!0};return aet(l,i)?!1:(Ys.registHotkeys(s,l,r),!0)}static unregisterShortcutKey(e){let i=Ys.getAllHotkeys(),o=e.join("+"),r=!1;return it(i,(n,a)=>{a.hotkey===o&&a.isCustomize&&(delete i[n],r=!0)}),r}};var BF=class t{static async createFolder(e){let{folderName:i,teamUuid:o,parentFolderUuid:r,description:n}=e;if(!i||!o)return;let a=await Yln({title:i,description:n,parentFolderUuid:r,teamUuid:o});if(a!=null&&a.success)return tl(),a==null?void 0:a.result.uuid}static async modifyFolderName(e){let{teamUuid:i,folderUuid:o,folderName:r}=e;if(!i||!o||!r)return!1;let n=_o(),a=[];if(i===n)a=UL(C.personFolders.children);else{let d=C.teamFolders.find(u=>u.uuid===i);if(!d)return!1;a=UL(d.rootList.children)}if(!a.includes(o))return!1;let s=C.apis.folders.editFolder,c=await Vc(s,{name:r,folder_uuid:o});return NT(),tl(C.workspace==="Personal"?{}:{org_uuid:C.workspace}),!!(c!=null&&c.success)}static async modifyFolderDescription(e){let{teamUuid:i,folderUuid:o,description:r=""}=e;if(!i||!o)return!1;let n=_o(),a=[];if(i===n)a=UL(C.personFolders.children);else{let u=C.teamFolders.find(p=>p.uuid===i);if(!u)return!1;a=UL(u.rootList.children)}if(!a.includes(o))return!1;let s=t.getFolderInfo({teamUuid:i,folderUuid:o}),l=C.apis.folders.editFolder,c={name:s.name,description:r,folder_uuid:o},d=await Vc(l,c);return NT(),tl(C.workspace==="Personal"?{}:{org_uuid:C.workspace}),!!(d!=null&&d.success)}static async moveFolderToFolder(e){let{teamUuid:i,folderUuid:o,parentFolderUuid:r}=e;if(!i||!o)return;let n=_o(),a=[];if(i===n)a=UL(C.personFolders.children);else{let l=C.teamFolders.find(c=>c.uuid===i);if(!l)return!1;a=UL(l.rootList.children)}if(!a.includes(o)||r&&!a.includes(r))return!1;let s=await Vc(C.apis.folders.moveFolder,{uuid:o,object_uuid:r});return NT(),tl(C.workspace==="Personal"?{}:{org_uuid:C.workspace}),!!(s!=null&&s.success)}static getAllFoldersUuid(e){if(!e)return[];let i=[];if(e===_o())i=UL(C.personFolders.children);else{let o=C.teamFolders.find(r=>r.uuid===e);i=UL(o.rootList.children)}return i}static getFolderInfo(e){let{teamUuid:i,folderUuid:o}=e;if(!i||!o)return;let r=[],n;if(i===_o())r=UL(C.personFolders.children),n=C.personFolders.children;else{let l=C.teamFolders.find(c=>c.uuid===i);if(!l)return;r=UL(l.rootList.children),n=l.rootList.children}if(!r.includes(o))return;let a;UL(n,l=>{l.uuid===o&&(a=l)});let s=UL(a.children);return{itemType:"Folder",uuid:o,name:a.name,teamUuid:i,description:a.description,parentFolderUuid:a.parent_uuid||i,childrenFoldersUuid:s}}static async deleteFolder(e){let{teamUuid:i,folderUuid:o}=e;if(!i||!o)return!1;let r=_o(),n=[];if(i===r)n=UL(C.personFolders.children);else{let s=C.teamFolders.find(l=>l.uuid===i);if(!s)return!1;n=UL(s.rootList.children)}if(!n.includes(o))return!1;let a=await Vc(C.apis.folders.deleteUserFolder,{folder_uuid:o});return NT(),tl(C.workspace==="Personal"?{}:{org_uuid:C.workspace}),!!(a!=null&&a.success)}},Yln=t=>{let{title:e,description:i,parentFolderUuid:o,teamUuid:r}=t,n=r!==_o(),a=n?C.apis.folders.createTeamFolders:C.apis.folders.createUserFolders,s={name:e,description:i||"",team_uuid:n?r:void 0};return o&&(s.parent_uuid=o),Vc(a,s,l=>l)};function UL(t,e){let i=[];function o(r){r.forEach(n=>{e==null||e(n),i.push(n.uuid),o(n.children)})}return o(t),i}var HQ=class{static async create(e){return Li()?await Pt(kt.Pcb.ViaCreate,e):null}static async delete(e){return Li()?await Pt(kt.Pcb.ViaDelete,e):null}static async modify(e){return Li()?await Pt(kt.Pcb.ViaModify,e):null}static async getByIds(e){return Li()?await Pt(kt.Pcb.ViaGetByIds,e):null}static async getAll(e){return Li()?await Pt(kt.Pcb.ViaGetAll,e):null}static async getAdjacentPrimitives(e){return Li()?await Pt(kt.Pcb.ViaGetAdjacentPrimitives,e):null}};var zF=class{static async create(e){return Li()?await Pt(kt.Pcb.TrackCreate,e):null}static async delete(e){return Li()?await Pt(kt.Pcb.TrackDelete,e):null}static async modify(e){return Li()?await Pt(kt.Pcb.TrackModify,e):null}static async getByIds(e){return Li()?await Pt(kt.Pcb.TrackGetByIds,e):null}static async getAll(e){return Li()?await Pt(kt.Pcb.TrackGetAll,e):null}static async getAdjacentPrimitives(e){return Li()?await Pt(kt.Pcb.TrackGetAdjacentPrimitives,e):null}static async getEntireTrack(e){return Li()?await Pt(kt.Pcb.TrackGetEntireTrack,e):null}};var o8e=class{static async getPrimitiveTypeByPrimitiveId(e){let i=(await C.messageBus.rpcCall("extensionApi/SCH_PrimitiveUtil/getPrimitiveTypeByPrimitiveId",{id:e})).message;if(i)switch(i){case"arc":return"Arc";case"bus":return"Bus";case"circle":return"Circle";case"pin":return"Pin";case"polyline":return"Polygon";case"rect":return"Rectangle";case"text":return"Text";case"wire":return"Wire";case"part":case"netflag":case"netport":case"short_symbol":case"offPageConnector":case"nonElectrical_symbol":case"diffPairsFlag":case"block_symbol":return"Component";default:return i}}static async getPrimitivesBBox(e){let i=(await C.messageBus.rpcCall("extensionApi/SCH_PrimitiveUtil/getPrimitivesBBox",{ids:e})).message;if(i)return i}};var FF=class{static async create(e){return Li()?await Pt(kt.Pcb.ARCCreate,e):null}static async delete(e){return Li()?await Pt(kt.Pcb.ARCDelete,e):null}static async modify(e){return Li()?await Pt(kt.Pcb.ARCModify,e):null}static async getByIds(e){return Li()?await Pt(kt.Pcb.ARCGetByIds,e):null}static async getAll(e){return Li()?await Pt(kt.Pcb.ARCGetAll,e):null}static async getAdjacentPrimitives(e){return Li()?await Pt(kt.Pcb.ARCGetAdjacentPrimitives,e):null}static async getEntireTrack(e){return Li()?await Pt(kt.Pcb.ARCGetEntireTrack,e):null}};var GQ=class{static async create(e){return Li()?await Pt(kt.Pcb.PolylinesCreate,e):null}static async delete(e){return Li()?await Pt(kt.Pcb.PolylinesDelete,e):null}static async modify(e){return Li()?await Pt(kt.Pcb.PolylinesModify,e):null}static async getByIds(e){return Li()?await Pt(kt.Pcb.PolylinesGetByIds,e):null}static async getAll(e){return Li()?await Pt(kt.Pcb.PolylinesGetAll,e):null}static async convertToType(e){return Li()?await Pt(kt.Pcb.PolylinesConvertToTypel,e):null}};var Ydt=L(Se());var nZt=L(z()),VL=class VL{static async openIFrame({id:e,htmlFileName:i,width:o,height:r,extensionUuid:n,extensionIndexedDBUtils:a,props:s}){let{src:l,title:c}=await VL.getHtmlData(a,n,i);Np&&(Np.addItemToNotCloseWhiteDialogArr(e),Np.addItemToNotCloseWhenCloseAllWhiteDialogArr(e)),await VL.iframeDialog({id:e,src:l,title:c,width:o,height:r,extensionUuid:n,extensionIndexedDBUtils:a,htmlFileName:i,props:s})}static async iframeDialog({id:e,src:i,title:o,width:r,height:n,extensionUuid:a,extensionIndexedDBUtils:s,htmlFileName:l,props:c}){let d={border:0,width:"100%",height:"100%",boxSizing:"border-box",backgroundColor:c.grayscaleMask?"gray":""},u={};await le.open({id:e,title:c.title||o,width:r,height:n+28,closed:!0,mask:!1,maximize:c.maximizeButton,folded:c.minimizeButton,onClose(){Np&&(Np.removeItemToNotCloseWhiteDialogArr(e),Np.removeItemToNotCloseWhenCloseAllWhiteDialogArr(e)),URL.revokeObjectURL(i),c.buttonCallbackFn&&c.buttonCallbackFn("close")},onMaximize(){c.buttonCallbackFn&&c.buttonCallbackFn("maximize")},onFolded(f){return c.buttonCallbackFn&&c.buttonCallbackFn("minimize"),f&&c.minimizeStyle==="constricted"?0:r},onBeforeClose(){return c.onBeforeCloseCallFn?c.onBeforeCloseCallFn():!0},children:(0,nZt.jsx)(p,{src:i,extensionUuid:a,style:d})});function p(f){let{src:g,style:b={},extensionUuid:y}=f,{window:w}=(0,Ydt.useContext)(_r);return(0,Ydt.useLayoutEffect)(()=>{let x=document.getElementById("iframeContainer"+e);if(x.children.length>0)return;x.parentElement.style.padding="0px";let S=document.createElement("iframe");S.src=g;for(let I in b)S.style[I]=b[I];x.appendChild(S);let T=[];for(let I of Object.keys(window._EXTAPI_SCRIPT_SPACES_[y]))(I==="eda"||I.match(/^E[A-Z]{3}\_[A-Z]{1}[a-zA-Z0-9]+/))&&T.push(I);for(let I of T)S.contentWindow[I]=window._EXTAPI_SCRIPT_SPACES_[y][I];S.contentWindow.addEventListener("load",()=>{S.contentWindow.document.querySelectorAll("link").forEach(I=>{m(I,"href")})}),S.contentWindow.addEventListener("error",async function(I){m(I.target,"src"),m(I.target,"href"),h(I.target)},!0);let M=document.getElementById(e);M.addEventListener("mousedown",()=>{+M.style.zIndex<self.UI.windowZIndex-1&&(M.style.zIndex=(self.UI.windowZIndex++).toString())},!0),S.contentWindow.addEventListener("mousedown",()=>{+M.style.zIndex<self.UI.windowZIndex-1&&(M.style.zIndex=(self.UI.windowZIndex++).toString())},!0)},[]),(0,nZt.jsx)("div",{style:{width:"100%",height:"100%",overflow:"hidden"},id:"iframeContainer"+e})}async function m(f,g){var x,S;let b=window.location.origin,y=new RegExp("(?<=\\/).+\\..+"),w=f.getAttribute("src")||f[g];if(!Kr(w)&&!(w!=null&&w.startsWith("blob"))){let T=(x=w.match(y))==null?void 0:x[0];if(T||(T=(S=w.split(b))==null?void 0:S[1]),!T)return;if(u[T])return f.setAttribute(g,u[T]);let M=await VL.getFileData(s,a,T);M&&(u[T]=URL.createObjectURL(M)),u[T]&&f.setAttribute(g,u[T])}}function h(f){let g=f.src;if(f.tagName!=="SCRIPT"||!g||!g.startsWith("blob"))return;let b=document.createElement("script");b.src=g,f.parentElement.insertBefore(b,f),f.remove()}}static async getFileData(e,i,o){var c;let r=new RegExp("(?<=\\.)\\w+?$"),n=((c=o.match(r))==null?void 0:c[0])||"",a=VL.getBlobType(n),{source:s}=await e.get("extensionsObjectStorage",i+"|"+Wln(o))||{},l=new Blob([s],{type:a});return VL.changeLabelAddress(l,e,i)}static async getHtmlData(e,i,o){var c;let r=await VL.getFileData(e,i,o),a=(c=(await r.text()).match(new RegExp("(?<=<title>).*(?=<\\/title>)")))==null?void 0:c[0],s=await VL.changeLabelAddress(r,e,i);return{src:URL.createObjectURL(s),title:a}}static async changeLabelAddress(e,i,o){if(![VL.getBlobType("html"),VL.getBlobType("css")].includes(e.type))return e;let r=await e.text(),n={},a=new RegExp(`(?<=(src|href)=['"])\\/(.+?)(?=['"])`,"g"),s=new RegExp(`(?<=url\\(['"])\\/(.+?)(?=['"]\\))`,"g"),l=[...r.match(s)||[]];return l.push(...r.match(a)||[]),l=l.filter(c=>c),await Promise.all(l.map(async c=>{if(n[c])return n[c];let d=await VL.getFileData(i,o,c);d&&(n[c]=URL.createObjectURL(d))})),r=r.replace(a,function(c){return n[c]||c}),r=r.replace(s,function(c){return n[c]||c}),new Blob([r],{type:e.type})}static async closeIFrame({id:e}){Np&&(Np.removeItemToNotCloseWhiteDialogArr(e),Np.removeItemToNotCloseWhenCloseAllWhiteDialogArr(e)),await le.close(e)}static showIFrame({id:e}){let i=document.getElementById(e);return i?(i.style.display="flex",!0):!1}static hideIFrame({id:e}){let i=document.getElementById(e);return i?(i.style.display="none",!0):!1}static getBlobType(e){return VL.BlobTypes[e]||""}};VL.BlobTypes={jpeg:"image/jpeg",jpg:"image/jpeg",png:"image/png",gif:"image/gif",bmp:"image/bmp",webp:"image/webp",svg:"image/svg+xml",txt:"text/plain",html:"text/html",htm:"text/html",css:"text/css",csv:"text/csv",js:"text/javascript",xml:"text/xml",mp3:"audio/mpeg",wav:"audio/wav",ogg:"audio/ogg",weba:"audio/webm",mp4:"video/mp4",webm:"video/webm",ogv:"video/ogg",avi:"video/x-msvideo",json:"application/json",pdf:"application/pdf",zip:"application/zip",bin:"application/octet-stream",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",ttf:"font/ttf",woff:"font/woff",woff2:"font/woff2"};var jce=VL;function Wln(t){return(t.startsWith("./")||t.startsWith(".\\"))&&(t=t.substring(2)),(t.startsWith("/")||t.startsWith("\\"))&&(t=t.substring(1)),t}async function Wdt(t,e){t.deviceUUID=t.device,t._apiExtenceData={},t._apiExtenceData.truthTabId=e.componentTitleOrId,t._apiExtenceData.projectUuid=e.path,t._apiExtenceData.devicePath=e.path,t._apiExtenceData.footprint={path:e.path,uuid:t.footprintItemId},t._apiExtenceData["3dmodel"]={path:void 0,uuid:t.attrsMap["3D Model"]};let i=ue.splitComponentId2FolderAndFilenameMixin(t._apiExtenceData["3dmodel"].uuid,!0);t._apiExtenceData["3dmodel"].path=i.path||_e.SYSTEMLIB_UUID}var UF=class{static async create(e){if(!Li())return null;let{componentData:i}=e,{libraryUuid:o,uuid:r}=i,n=C.currentProject.projectId===o,{deviceItem:a,symbolItem:s,footprintItem:l}=await rK.fetchDeviceItem(n,r,o);if(!a||!l)return{primitiveId:null};let c="",d="";if(n)c=a.uuid,d=l.uuid;else if(s){let p=await Ze.createDevice({path:C.currentProject.projectId,isProject:!0,device:{isProject:!1,uuid:a.uuid?a.uuid:r,path:a.path?a.path:o},symbol:{isProject:!1,uuid:s.uuid,path:s.path},footprint:{isProject:!1,uuid:l.uuid,path:l.path}});c=p.uuid,d=p.attributes.Footprint}else{let p=await Ze.createDevice({path:C.currentProject.projectId,isProject:!0,device:{isProject:!1,uuid:a.uuid?a.uuid:r,path:a.path?a.path:o},footprint:{isProject:!1,uuid:l.uuid,path:l.path}});c=p.uuid,d=p.attributes.Footprint}return{...await Pt(kt.Pcb.ComponentCreate,{...e,deviceUuid:c,footprintUuid:d})}}static async delete(e){return Li()?await Pt(kt.Pcb.ComponentDelete,e):null}static async modify(e){return Li()?await Pt(kt.Pcb.ComponentModify,e):null}static async getByIds(e){if(!Li())return null;let i=he.getActiveTabData(),o=ue.splitComponentId2FolderAndFilenameMixin(i.tabId),r=await Pt(kt.Pcb.ComponentGetByIds,e);for(let n=0;n<r.length;n++)await Wdt(r[n],o);return r}static async getAll(e){if(!Li())return null;let i=he.getActiveTabData(),o=ue.splitComponentId2FolderAndFilenameMixin(i.tabId),r=await Pt(kt.Pcb.ComponentGetAll,e);for(let n=0;n<r.length;n++)await Wdt(r[n],o);return r}static async getAllPinsByPrimitiveId(e){return Li()?await Pt(kt.Pcb.ComponentGetAllPinsByPrimitiveId,e):null}static async setAttribute(e){return Li()?await Pt(kt.Pcb.ComponentSetAttribute,e):null}};var rzo=L(Vi());function sZt(t,e){switch(t){case"Safe Spacing":{for(let i in e){let o=e[i];if(o.editName&&o.unit&&o.isSetDefault!==null&&o.isSetDefault!==void 0&&o.column&&o.row&&o.status!==null&&o.status!==void 0&&o.tables){if(typeof o.editName!="string"||typeof o.unit!="string"||typeof o.isSetDefault!="boolean"||!Array.isArray(o.column)||!o.column.every(r=>typeof r=="string")||!Array.isArray(o.row)||!o.row.every(r=>typeof r=="string")||typeof o.status!="number"||typeof o.tables!="object")return!1;for(let r in o.tables)if(!Qln(o.tables[r]))return!1}else return!1}return!0}case"Other Spacing":{for(let i in e){let o=e[i];if(o.editName&&o.unit&&o.isSetDefault!==null&&o.isSetDefault!==void 0&&o.form){if(typeof o.editName!="string"||typeof o.unit!="string"||typeof o.isSetDefault!="boolean"||typeof o.form!="object"||!Kln(o.form))return!1}else return!1}return!0}case"Creepage Distance":{for(let i in e){let o=e[i];if(o.editName&&o.unit&&o.isSetDefault!==null&&o.isSetDefault!==void 0&&o.form){if(typeof o.editName!="string"||typeof o.unit!="string"||typeof o.isSetDefault!="boolean"||typeof o.form!="object"||!Zln(o.form))return!1}else return!1}return!0}case"Track":{for(let i in e){let o=e[i];if(o.editName&&o.unit&&o.isSetDefault!==null&&o.isSetDefault!==void 0&&o.form){if(typeof o.editName!="string"||typeof o.unit!="string"||typeof o.isSetDefault!="boolean"||typeof o.form!="object"||!ozo(o.form))return!1}else return!1}return!0}case"Net Length Range":{for(let i in e){let o=e[i];if(o.editName&&o.unit&&o.isSetDefault!==null&&o.isSetDefault!==void 0&&o.form){if(typeof o.editName!="string"||typeof o.unit!="string"||typeof o.isSetDefault!="boolean"||typeof o.form!="object"||!qln(o.form))return!1}else return!1}return!0}case"Net Length Tolerance":{for(let i in e){let o=e[i];if(o.editName&&o.unit&&o.isSetDefault!==null&&o.isSetDefault!==void 0&&o.form){if(typeof o.editName!="string"||typeof o.unit!="string"||typeof o.isSetDefault!="boolean"||typeof o.form!="object"||!Xln(o.form))return!1}else return!1}return!0}case"Differential Pair":{for(let i in e){let o=e[i];if(o.editName&&o.unit&&o.isSetDefault!==null&&o.isSetDefault!==void 0&&o.form){if(typeof o.editName!="string"||typeof o.unit!="string"||typeof o.isSetDefault!="boolean"||typeof o.form!="object"||!$ln(o.form))return!1}else return!1}return!0}case"Blind/Buried Via":{for(let i in e){let o=e[i];if(o.editName&&o.isSetDefault!==null&&o.isSetDefault!==void 0&&o.table){if(typeof o.editName!="string"||typeof o.isSetDefault!="boolean"||!ecn(o.table))return!1}else return!1}return!0}case"Via Size":{for(let i in e){let o=e[i];if(o.editName&&o.unit&&o.isSetDefault!==null&&o.isSetDefault!==void 0&&o.form){if(typeof o.editName!="string"||typeof o.unit!="string"||typeof o.isSetDefault!="boolean"||typeof o.form!="object"||!tcn(o.form))return!1}else return!1}return!0}case"Plane Zone":{for(let i in e){let o=e[i];if(o.editName&&o.unit&&o.isSetDefault!==null&&o.isSetDefault!==void 0&&o.form){if(typeof o.editName!="string"||typeof o.unit!="string"||typeof o.isSetDefault!="boolean"||typeof o.form!="object"||!aZt(o.form))return!1}else return!1}return!0}case"Copper Zone":{for(let i in e){let o=e[i];if(o.editName&&o.unit&&o.isSetDefault!==null&&o.isSetDefault!==void 0&&o.form){if(typeof o.editName!="string"||typeof o.unit!="string"||typeof o.isSetDefault!="boolean"||typeof o.form!="object"||!ocn(o.form))return!1}else return!1}return!0}case"Paste Mask Expansion":{for(let i in e){let o=e[i];if(o.editName&&o.unit&&o.isSetDefault!==null&&o.isSetDefault!==void 0&&o.form){if(typeof o.editName!="string"||typeof o.unit!="string"||typeof o.isSetDefault!="boolean"||typeof o.form!="object"||!rcn(o.form))return!1}else return!1}return!0}case"Solder Mask Expansion":{for(let i in e){let o=e[i];if(o.editName&&o.unit&&o.isSetDefault!==null&&o.isSetDefault!==void 0&&o.form){if(typeof o.editName!="string"||typeof o.unit!="string"||typeof o.isSetDefault!="boolean"||typeof o.form!="object"||!ncn(o.form))return!1}else return!1}return!0}default:return!1}}function Qln(t){if(t.status!==null&&t.status!==void 0&&t.content){if(typeof t.status!="number"||!Array.isArray(t.content)||t.content.length!==13)return!1;let e=[1,2,3,4,5,6,7,8,9,10,11,11,12];for(let i=0;i<e.length;i++)if(!Array.isArray(t.content[i])||t.content[i].length!==e[i]||!t.content[i].every(o=>typeof o=="number"))return!1;return!0}else return!1}function Kln(t){if(t.device2device!==null&&t.device2device!==void 0&&t.thru2Smd!==null&&t.thru2Smd!==void 0&&t.hole2Hole!==null&&t.hole2Hole!==void 0){if(typeof t.device2device!="number"||typeof t.thru2Smd!="number"||typeof t.hole2Hole!="number")return!1}else return!1;return!0}function Zln(t){if(t.creepageDistance!==null&&t.creepageDistance!==void 0&&t.ignoreLayer!==null&&t.ignoreLayer!==void 0){if(typeof t.creepageDistance!="number"||typeof t.ignoreLayer!="boolean")return!1}else return!1;return!0}function ozo(t){if(t.status!==null&&t.status!==void 0&&t.data){if(typeof t.status!="number"||typeof t.data!="object")return!1;for(let e in t.data){let i=t.data[e];if(i.minValue!==null&&i.minValue!==void 0&&i.defaultValue!==null&&i.defaultValue!==void 0&&i.maxValue!==null&&i.maxValue!==void 0){if(typeof i.minValue!="number"||typeof i.defaultValue!="number"||typeof i.maxValue!="number")return!1}else return!1}return!0}else return!1}function Jln(t){if(t.status!==null&&t.status!==void 0&&t.data){if(typeof t.status!="number"||typeof t.data!="object")return!1;for(let e in t.data){let i=t.data[e];if(i.minValue!==null&&i.minValue!==void 0&&i.defaultValue!==null&&i.defaultValue!==void 0){if(typeof i.minValue!="number"||typeof i.defaultValue!="number")return!1}else return!1}return!0}else return!1}function qln(t){if(t.netLengthMax!==null&&t.netLengthMax!==void 0&&t.netLengthMin!==null&&t.netLengthMin!==void 0){if(typeof t.netLengthMax!="number"||typeof t.netLengthMin!="number")return!1}else return!1;return!0}function Xln(t){if(t.netLengthTolerance!==null&&t.netLengthTolerance!==void 0){if(typeof t.netLengthTolerance!="number")return!1}else return!1;return!0}function $ln(t){return t.differentailPairLenTolerMax!==null&&t.differentailPairLenTolerMax!==void 0&&t.strokeWidthTables&&t.diffPairSpacingTables?!(typeof t.differentailPairLenTolerMax!="number"||typeof t.strokeWidthTables!="object"||typeof t.diffPairSpacingTables!="object"||!ozo(t.strokeWidthTables)||!Jln(t.diffPairSpacingTables)):!1}function ecn(t){if(!Array.isArray(t))return!1;if(t.length===0)return!0;for(let e of t){if(typeof e!="object"||e===null)return!1;if(e.name&&e.key&&e.startLayer!==null&&e.startLayer!==void 0&&e.endLayer!==null&&e.endLayer!==void 0&&e.used!==null&&e.used!==void 0){if(typeof e.name!="string"||typeof e.startLayer!="number"||typeof e.endLayer!="number"||typeof e.used!="boolean"||typeof e.key!="string")return!1}else return!1}return!0}function tcn(t){if(t.viaInnerdiameterDefault!==null&&t.viaInnerdiameterDefault!==void 0&&t.viaInnerdiameterMax!==null&&t.viaInnerdiameterMax!==void 0&&t.viaInnerdiameterMin!==null&&t.viaInnerdiameterMin!==void 0&&t.viaOuterdiameterDefault!==null&&t.viaOuterdiameterDefault!==void 0&&t.viaOuterdiameterMax!==null&&t.viaOuterdiameterMax!==void 0&&t.viaOuterdiameterMin!==null&&t.viaOuterdiameterMin!==void 0){if(typeof t.viaInnerdiameterDefault!="number"||typeof t.viaInnerdiameterMax!="number"||typeof t.viaInnerdiameterMin!="number"||typeof t.viaOuterdiameterDefault!="number"||typeof t.viaOuterdiameterMax!="number"||typeof t.viaOuterdiameterMin!="number")return!1}else return!1;return!0}function aZt(t){if(t.status!==null&&t.status!==void 0&&t.data){if(typeof t.status!="number"||typeof t.data!="object")return!1;for(let e in t.data){let i=t.data[e];if(i.connectMode!==null&&i.connectMode!==void 0&&i.lineAngle!==null&&i.lineAngle!==void 0&&i.lineClearance!==null&&i.lineClearance!==void 0&&i.lineWidth!==null&&i.lineWidth!==void 0){if(typeof i.connectMode!="number"&&typeof i.connectMode!="string"||typeof i.lineAngle!="number"||typeof i.lineClearance!="number"||typeof i.lineWidth!="number")return!1}else return!1}return!0}else return!1}function icn(t){if(t.status!==null&&t.status!==void 0&&t.data){if(typeof t.status!="number"||typeof t.data!="object")return!1;for(let e in t.data){let i=t.data[e];if(i.trackConnectMode!==null&&i.trackConnectMode!==void 0){if(typeof i.trackConnectMode!="number"&&typeof i.trackConnectMode!="string")return!1}else return!1}return!0}else return!1}function ocn(t){return t.singleLayerPadModel&&t.multiLayerPadModel&&t.trackConnectModel?!(typeof t.singleLayerPadModel!="object"||typeof t.multiLayerPadModel!="object"||typeof t.trackConnectModel!="object"||!aZt(t.singleLayerPadModel)||!aZt(t.multiLayerPadModel)||!icn(t.trackConnectModel)):!1}function rcn(t){if(t.padBottomlayerExpansion!==null&&t.padBottomlayerExpansion!==void 0&&t.padToplayerExpansion!==null&&t.padToplayerExpansion!==void 0&&t.testPointBottomlayerExpansion!==null&&t.testPointBottomlayerExpansion!==void 0&&t.testPointToplayerExpansion!==null&&t.testPointToplayerExpansion!==void 0){if(typeof t.padBottomlayerExpansion!="number"||typeof t.padToplayerExpansion!="number"||typeof t.testPointBottomlayerExpansion!="number"||typeof t.testPointToplayerExpansion!="number")return!1}else return!1;return!0}function ncn(t){if(t.padBottomlayerExpansion!==null&&t.padBottomlayerExpansion!==void 0&&t.padToplayerExpansion!==null&&t.padToplayerExpansion!==void 0&&t.viaBottomlayerExpansion!==null&&t.viaBottomlayerExpansion!==void 0&&t.viaToplayerExpansion!==null&&t.viaToplayerExpansion!==void 0&&t.testPointBottomlayerExpansion!==null&&t.testPointBottomlayerExpansion!==void 0&&t.testPointToplayerExpansion!==null&&t.testPointToplayerExpansion!==void 0){if(typeof t.padBottomlayerExpansion!="number"||typeof t.padToplayerExpansion!="number"||typeof t.viaBottomlayerExpansion!="number"||typeof t.viaToplayerExpansion!="number"||typeof t.testPointBottomlayerExpansion!="number"||typeof t.testPointToplayerExpansion!="number")return!1}else return!1;return!0}var Vl=class{static async check(e){let{strict:i,userInterface:o,includeVerboseError:r}=e;EMe();let n=await Pt(kt.Pcb.DRCCheck,e);return o&&((0,rzo.default)("#layout_toggler_bottom").hasClass("close")&&Pn("layout_toggler_bottom",!1),It.getActiveTab(co.id).tabId!=="drcResult"&&co.handleClick("drcResult")),n}static async getCurrentRuleConfigurationName(e){return(await Pt(kt.Pcb.GetCurrentRuleConfigurationName,e)).ruleTemplateName}static async getCurrentRuleConfiguration(e){return await Pt(kt.Pcb.GetCurrentRuleConfiguration,e)}static async getRuleConfiguration(e){let{configurationName:i}=e,o=await of("usrPcbProcessConfigProfile"),r=o.error?[]:o.value.config,n={index:-1,data:null};if(n=Ft(r,"name",i),n.index>=0)return ue.deepClone(n.data);let a=[...NY];return n=Ft(a,"name",i),n.index>=0?ue.deepClone(n.data):null}static async getAllRuleConfigurations(e){let{includeSystem:i}=e,o=await of("usrPcbProcessConfigProfile"),r=o.error?[]:o.value.config,n=[...NY];return i?[].concat(n,r):r}static async saveRuleConfiguration(e){let{ruleConfiguration:i,configurationName:o,allowOverwrite:r}=e,n=await Pt(kt.Pcb.GetCurrentRuleConfiguration,e),a={config:n.Rule,name:n.ruleTemplateName},s=await of("usrPcbProcessConfigProfile",()=>a);if(s.error)return!1;s.value||(s.value={config:[],selected:""}),s.value.config instanceof Array||(s.value.config=[]);let l=[{Spacing:["Safe Spacing","Other Spacing"]},{Physics:["Track","Net Length Range","Net Length Tolerance","Differential Pair","Blind/Buried Via","Via Size"]},{Plane:["Plane Zone","Copper Zone"]},{Expansion:["Paste Mask Expansion","Solder Mask Expansion"]}];for(let u=0;u<l.length;u++){let p=l[u],m=Object.keys(p)[0],h=p[m];for(let f=0;f<h.length;f++)if(i&&i[m]&&i[m][h[f]]){if(!sZt(h[f],i[m][h[f]]))return!1}else return!1}let c=Ft(s.value.config,"name",o);if(c.index>=0)return r?(c.data.name=o,c.data.config=i,await Ks({usrPcbProcessConfigProfile:s.value}),!0):!1;let d=Ft([...NY],"name",o);return d.index>=0?r?(d.data.name=o,d.data.config=i,await Ks({usrPcbProcessConfigProfile:s.value}),!0):!1:(s.value.config.push({config:i,name:o}),await Ks({usrPcbProcessConfigProfile:s.value}),!0)}static async renameRuleConfiguration(e){let{originalConfigurationName:i,configurationName:o}=e,r=await of("usrPcbProcessConfigProfile");if(r.error||!r.value)return!1;let n=Ft(r.value.config||[],"name",i);return n.index<=-1?!1:(n.data.name=o,await Ks({usrPcbProcessConfigProfile:r.value}),!0)}static async deleteRuleConfiguration(e){let{configurationName:i}=e,o=await of("usrPcbProcessConfigProfile");if(o.error||!o.value)return!1;let r=Ft(o.value.config||[],"name",i);return r.index<=-1?!1:(o.value.config.splice(r.index,1),await Ks({usrPcbProcessConfigProfile:o.value}),!0)}static async getDefaultRuleConfigurationName(e){let i=await of("usrPcbProcessConfigProfile");if(!(i.error||!i.value))return i.value.defaultPcbProcessConfigProfile}static async setAsDefaultRuleConfiguration(e){let{configurationName:i}=e,o=await of("usrPcbProcessConfigProfile");if(o.error||!o.value)return Ft([...NY],"name",i).index<=-1?!1:(o.value.defaultPcbProcessConfigProfile=i,o.value.selected=i,await Ks({usrPcbProcessConfigProfile:o.value}),!0);let r=Ft(o.value.config||[],"name",i),n=Ft([...NY],"name",i);return r.index<=-1&&n.index<=-1?!1:(o.value.defaultPcbProcessConfigProfile=i,o.value.selected=i,await Ks({usrPcbProcessConfigProfile:o.value}),!0)}static async overwriteCurrentRuleConfiguration(e){let o=(await Pt(kt.Pcb.GetCurrentRuleConfigurationName,e)).ruleTemplateName;if(Ft([...NY],"name",o).index>=0){let n=await acn(e.ruleConfiguration,"\u81EA\u5B9A\u4E49\u914D\u7F6E",!0),a={...e,configName:n};return await Pt(kt.Pcb.DRCOverwriteCurrentRuleConfiguration,a)}else return await Pt(kt.Pcb.DRCOverwriteCurrentRuleConfiguration,e)}static async getNetRules(e){return await Pt(kt.Pcb.DRCRules,e)}static async overwriteNetRules(e){return await Pt(kt.Pcb.DRCOverwriteNetRules,e)}static async getNetByNetRules(e){return await Pt(kt.Pcb.DRCGetNetByNetRules,e)}static async overwriteNetByNetRules(e){return await Pt(kt.Pcb.DRCOverwriteNetByNetRules,e)}static async getRegionRules(e){return await Pt(kt.Pcb.DRCGetRegionRules,e)}static async overwriteRegionRules(e){return await Pt(kt.Pcb.DRCOverwriteRegionRules,e)}static async createNetClass(e){return await Pt(kt.Pcb.DRCCreateNetClass,e)}static async deleteNetClass(e){return await Pt(kt.Pcb.DRCDeleteNetClass,e)}static async modifyNetClassName(e){return await Pt(kt.Pcb.DRCModifyNetClassName,e)}static async addNetToNetClass(e){return await Pt(kt.Pcb.DRCAddNetToNetClass,e)}static async removeNetFromNetClass(e){return await Pt(kt.Pcb.DRCRemoveNetFromNetClass,e)}static async getAllNetClasses(e){return await Pt(kt.Pcb.DRCGetAllNetClasses,e)}static async createDifferentialPair(e){let{differentialPairName:i,positiveNet:o,negativeNet:r}=e;if(typeof i!="string"||typeof o!="string"||typeof r!="string")return!1;let n=await ei(),a=(await C.windowBridge.rpcCall("getAllNetsList","",n.contentWindow)).message;if(!Euo(a,o,r))return!1;let s=(await C.windowBridge.rpcCall("getDifferentailPairList","",n.contentWindow)).message,l=[{"Differential Pair":"default",name:i,type:"netDifferentail",sub:[{"Differential Pair":"default",name:o,type:"net"},{"Differential Pair":"default",name:r,type:"net"}]}];s.forEach(p=>{l.push(ue.deepClone(p))});let c;for(let p=0;p<l.length;p++){let m=l[p].sub.every(f=>!f.name),h=l[p].sub.length==2&&l[p].sub.every(f=>f.name);if(!m&&!h)return c=me.i18n("Positive network and negative network cannot be empty!"),Dt({title:me.i18n("Tip"),content:c,icon:"info",confirmText:"Confirm",closed:!0}),!1;if(h&&l[p].sub[0].name==l[p].sub[1].name)return c=me.i18n("A positive network is not the same as a negative network"),Dt({title:me.i18n("Tip"),content:c,icon:"info",confirmText:"Confirm",closed:!0}),!1;m&&(l.splice(p,1),p--)}let d=await ei(),u=(await C.windowBridge.rpcCall("handleDifferentailManagerData",l,d.contentWindow)).message;return l.length>0}static async deleteDifferentialPair(e){let{differentialPairName:i}=e;if(typeof i!="string"||i.trim()=="")return!1;let o=await ei(),r=(await C.windowBridge.rpcCall("getDifferentailPairList","",o.contentWindow)).message;if(r.length<1)return!1;let n=[];r.forEach(l=>{l.name!==i&&n.push(ue.deepClone(l))});let a=await ei(),s=(await C.windowBridge.rpcCall("handleDifferentailManagerData",n,a.contentWindow)).message;return r.some(l=>l.name===i)}static async modifyDifferentialPairName(e){let{originalDifferentialPairName:i,differentialPairName:o}=e;if(typeof i!="string"||typeof o!="string"||o.trim()=="")return!1;let r=await ei(),n=(await C.windowBridge.rpcCall("getDifferentailPairList","",r.contentWindow)).message,a=[];n.forEach(c=>{if(c.name===i){a.push({...ue.deepClone(c),name:o});return}a.push(ue.deepClone(c))});let s=await ei(),l=(await C.windowBridge.rpcCall("handleDifferentailManagerData",a,s.contentWindow)).message;return!!n.some(c=>c.name===i)}static async modifyDifferentialPairPositiveNet(e){let{differentialPairName:i,positiveNet:o}=e;if(typeof i!="string"||typeof o!="string")return!1;let r=await ei();if((await C.windowBridge.rpcCall("getDifferentailOptions","",r.contentWindow)).message.map(p=>p.value).indexOf(o)<=-1)return!1;let s=(await C.windowBridge.rpcCall("getDifferentailPairList","",r.contentWindow)).message;if(!s.some(p=>p.name===i))return!1;let l=[],c=!0;s.forEach(p=>{if(p.name===i){let m=ue.deepClone(p);if(m.sub[0]){let h=[];s.forEach((f,g)=>{var b,y;(b=f.sub[0])!=null&&b.name?h.push(f.sub[0].name):f.sub.shift(),(y=f.sub[1])!=null&&y.name?h.push(f.sub[1].name):f.sub.pop()}),h.includes(o)?c=!1:m.sub[0].name=o}l.push(m);return}l.push(ue.deepClone(p))});let d=await ei(),u=(await C.windowBridge.rpcCall("handleDifferentailManagerData",l,d.contentWindow)).message;return!!c}static async modifyDifferentialPairNegativeNet(e){let{differentialPairName:i,negativeNet:o}=e;if(typeof i!="string"||typeof o!="string")return!1;let r=await ei();if((await C.windowBridge.rpcCall("getDifferentailOptions","",r.contentWindow)).message.map(p=>p.value).indexOf(o)<=-1)return!1;let s=(await C.windowBridge.rpcCall("getDifferentailPairList","",r.contentWindow)).message;if(!s.some(p=>p.name===i))return!1;let l=[],c=!0;s.forEach(p=>{if(p.name===i){let m=ue.deepClone(p);if(m.sub[1]){let h=[];s.forEach((f,g)=>{var b,y;(b=f.sub[0])!=null&&b.name?h.push(f.sub[0].name):f.sub.shift(),(y=f.sub[1])!=null&&y.name?h.push(f.sub[1].name):f.sub.pop()}),h.includes(o)?c=!1:m.sub[1].name=o}l.push(m);return}l.push(ue.deepClone(p))});let d=await ei(),u=(await C.windowBridge.rpcCall("handleDifferentailManagerData",l,d.contentWindow)).message;return!!c}static async getAllDifferentialPairs(e){let i=await ei();return(await C.windowBridge.rpcCall("getDifferentailPairList","",i.contentWindow)).message}static async createEqualLengthNetGroup(e){return await Pt(kt.Pcb.DRCCreateEqualLengthNetGroup,e)}static async deleteEqualLengthNetGroup(e){return await Pt(kt.Pcb.DRCDeleteEqualLengthNetGroup,e)}static async modifyEqualLengthNetGroupName(e){return await Pt(kt.Pcb.DRCModifyEqualLengthNetGroupName,e)}static async addNetToEqualLengthNetGroup(e){return await Pt(kt.Pcb.DRCAddNetToEqualLengthNetGroup,e)}static async removeNetFromEqualLengthNetGroup(e){return await Pt(kt.Pcb.DRCRemoveNetFromEqualLengthNetGroup,e)}static async getAllEqualLengthNetGroups(e){return await Pt(kt.Pcb.DRCGetAllEqualLengthNetGroups,e)}static async createPadPairGroup(e){return await Pt(kt.Pcb.DRCCreatePadPairGroup,e)}static async deletePadPairGroup(e){return await Pt(kt.Pcb.DRCDeletePadPairGroup,e)}static async modifyPadPairGroupName(e){return await Pt(kt.Pcb.DRCModifyPadPairGroupName,e)}static async addPadPairToPadPairGroup(e){return await Pt(kt.Pcb.DRCAddPadPairToPadPairGroup,e)}static async removePadPairFromPadPairGroup(e){return await Pt(kt.Pcb.DRCRemovePadPairFromPadPairGroup,e)}static async getAllPadPairGroups(e){return await Pt(kt.Pcb.DRCGetAllPadPairGroups,e)}static async getPadPairGroupMinWireLength(e){return await Pt(kt.Pcb.DRCGetPadPairGroupMinWireLength,e)}};async function acn(t,e,i=!1){let o={ruleConfiguration:t,configurationName:e,allowOverwrite:i},r=await Pt(kt.Pcb.GetCurrentRuleConfiguration,o),n={config:r.Rule,name:r.ruleTemplateName},a=await of("usrPcbProcessConfigProfile",()=>n);if(a.error)return!1;a.value||(a.value={config:[],selected:""}),a.value.config instanceof Array||(a.value.config=[]);let s=[{Spacing:["Safe Spacing","Other Spacing"]},{Physics:["Track","Net Length Range","Net Length Tolerance","Differential Pair","Blind/Buried Via","Via Size"]},{Plane:["Plane Zone","Copper Zone"]},{Expansion:["Paste Mask Expansion","Solder Mask Expansion"]}];for(let c=0;c<s.length;c++){let d=s[c],u=Object.keys(d)[0],p=d[u];for(let m=0;m<p.length;m++)if(t&&t[u]&&t[u][p[m]]){if(!sZt(p[m],t[u][p[m]]))return!1}else return!1}let l=scn(e,a.value.config);return a.value.config.push({config:t,name:l}),await Ks({usrPcbProcessConfigProfile:a.value}),l}function scn(t,e){let o=(s=>s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t),r=new RegExp(`^${o}(\\d+)?$`),n=[];for(let s of e){let l=s.name.match(r);if(l){let c=l[1]?parseInt(l[1],10):0;n.push(c)}}let a=t;if(n.length>0){let s=Math.max(...n);a=`${t}${s+1}`}return a}var bb=class{static async getAllPCBTabData(){let e=he.getAllTabId(),i=[];for(let o=0;o<e.length;o++){let r=he.getTabData(e[o]);if(r&&String(r.doctype)===String(se.PCB)){let n=ue.splitComponentId2FolderAndFilenameMixin(e[o]);i.push({dataStr:"",title:r["real-title"],uuid:n.componentTitleOrId})}}return i}static async importChanges(e){let{source:i}=e||{};i||(i="sch2pcb");let o=await NB(i);return C.messageBus.rpcCall(Yo.LOG.SET,[{type:Nr.REFRESH_PCB_BY_SCH,content:{},project_uuid:C.currentProject.projectId}]),o}static async importAutoRouteJsonFile(e){if(!Li())return!1;let i=await ei(),{message:o}=await C.windowBridge.rpcCall(kt.Pcb.ImportAutoRouteFile,e,i.contentWindow);return o}static async importAutoRouteSesFile(e){if(!Li())return!1;let i=await ei(),{message:o}=await C.windowBridge.rpcCall(kt.Pcb.ImportAutoRouteSesFile,e,i.contentWindow);return o}static async importAutoLayoutJsonFile(e){if(!Li())return!1;let i=await e.text(),o=await ei();return await C.windowBridge.rpcCall("importNewAutoLayoutJson",i,o.contentWindow),!0}static async save(e){return Li()?(await C.messageBus.rpcCall("save",""),!0):!1}static async getRatlineStatus(){return Li()?await Pt(kt.Pcb.GetRatlineStatus,{}):null}static async setRatlineStatus(e){return Li()?await Pt(kt.Pcb.SetRatlineStatus,e):!1}static async convertCanvasOriginToDataOrigin(e){return Li()?await Pt(kt.Pcb.ConvertCanvasOriginToDataOrigin,e):null}static async convertDataOriginToCanvasOrigin(e){return Li()?await Pt(kt.Pcb.ConvertDataOriginToCanvasOrigin,e):null}static async getCanvasOrigin(e){return Li()?await Pt(kt.Pcb.GetCanvasOrigin,e):null}static async setCanvasOrigin(e){return Li()?await Pt(kt.Pcb.SetCanvasOrigin,e):!1}static async navigateToCoordinates(e){return Li()?await Pt(kt.Pcb.NavigateToCoordinates,e):!1}static async navigateToRegion(e){return Li()?await Pt(kt.Pcb.NavigateToRegion,e):!1}static async getPrimitivesInRegion(e){return Li()?await Pt(kt.Pcb.GetPrimitivesInRegion,e):!1}static async getPrimitiveAtPoint(e){return Li()?await Pt(kt.Pcb.GetPrimitiveAtPoint,e):!1}static async zoomToBoardOutline(){return Li()?(Ic("fitBoard"),!0):!1}static async getCurrentFilterConfiguration(){return Li()?await Pt(kt.Pcb.GetCurrentFilterConfiguration,{}):!1}};var Qdt=class{static async save(){let e=gi(),o=await new Qm(e,{docType:he.getTabDocType(e)}).todo();return await C.messageBus.rpcCall("/pro-mgr/project/sync/force"),o.success}};var YQ=class{static async create(e){return Li()?await Pt(kt.Pcb.PadCreate,e):null}static async delete(e){return Li()?await Pt(kt.Pcb.PadDelete,e):null}static async modify(e){return Li()?await Pt(kt.Pcb.PadModify,e):null}static async getByIds(e){return Li()?await Pt(kt.Pcb.PadGetByIds,e):null}static async getAll(e){return Li()?await Pt(kt.Pcb.PadGetAll,e):null}static async getConnectedPrimitives(e){return Li()?await Pt(kt.Pcb.PadGetConnectedPrimitives,e):null}};var cie=class{static async create(e){return Li()?await Pt(kt.Pcb.ImageCreate,e):null}static async delete(e){return Li()?await Pt(kt.Pcb.ImageDelete,e):null}static async modify(e){return Li()?await Pt(kt.Pcb.ImageModify,e):null}static async getByIds(e){return Li()?await Pt(kt.Pcb.ImageGetByIds,e):null}static async getAll(e){return Li()?await Pt(kt.Pcb.ImageGetAll,e):null}};var die=class{static async create(e){return Li()?await Pt(kt.Pcb.DimensionCreate,e):null}static async delete(e){return Li()?await Pt(kt.Pcb.DimensionDelete,e):null}static async modify(e){return Li()?await Pt(kt.Pcb.DimensionModify,e):null}static async getByIds(e){return Li()?await Pt(kt.Pcb.DimensionGetByIds,e):null}static async getAll(e){return Li()?await Pt(kt.Pcb.DimensionGetAll,e):null}};var VF=class{static async getAllSelectedPrimitiveIds(){return Li()?await Pt(kt.Pcb.SelectcontrolGetAllSelectedPrimitiveIds):null}static async getAllSelectedPrimitives(){if(!Li())return null;let e=await Pt(kt.Pcb.SelectcontrolSelectcontrol);if(e.some(o=>o.pcbItemPrimitiveType==="Component")){let o=he.getActiveTabData(),r=ue.splitComponentId2FolderAndFilenameMixin(o.tabId);for(let n=0;n<e.length;n++)e[n].pcbItemPrimitiveType==="Component"&&await Wdt(e[n],r)}return e}static async doSelectPrimitives(e){return Li()?await Pt(kt.Pcb.SelectcontrolDoSelectPrimitives,{...e}):null}static async doCrossProbeSelect(e){return Li()?await Pt(kt.Pcb.SelectcontrolDoCrossProbeSelect,{...e}):null}static async doCrossProbeSelectByObject(e){return Li()?await Pt(kt.Pcb.SelectcontrolDoCrossProbeSelectByObject,{...e}):null}static async clearSelected(){return Li()?await Pt(kt.Pcb.SelectcontrolClearSelected):null}static async getCurrentMousePosition(){return Li()?await Pt(kt.Pcb.SelectcontrolGetCurrentMousePosition):null}};async function lcn(t,e,i,o,r){if(!e){let s=[];for(let l of i)s.push(l.title);return s.length&&Ot("info",`<span class="i18n" i18n-params-nums="${s.length}">{nums} projects import successfully</span>:`+s.join(", "),void 0,!1),Mc("refresh",!0),r&&t&&!mJ(t)&&await Os({uuid:t}),De({type:"success",msg:me.i18n("Import successfully!")}),t}let n=[],a=[];for(let s of o){n.push(s.title);let l=Array.isArray(s.message)?s.message.map(c=>me.i18n(c.message)).join(", "):s.message;a.push(l)}return n.length&&Ot("warn",`<span class="i18n" i18n-params-nums="${n.length}">{nums} projects import failed </span> `+n.join(", "),void 0,!0),Dt({icon:"error",closed:!0,content:`${me.i18n("Import failed!")}`}),!1}async function Kdt(t,e){let i=t!=null&&t.dataStr?t.dataStr:t;return await la.importExistProject({data:i,targetPath:e.existingProjectUuid,needTip:!1})}async function Zdt(t,e){var c,d;let i=t!=null&&t.dataStr?t.dataStr:t,o=(c=t==null?void 0:t.config)!=null&&c.editorVersion?t.config.editorVersion:"",r=(d=t==null?void 0:t.config)!=null&&d.title?t.config.title:(await la.extractProjectInfo({data:t})).title,n=e.newProjectFriendlyName?e.newProjectFriendlyName:r,a=(await C.messageBus.rpcCall("prjPinyin",n)).message,s=C.workspace&&C.workspace==="Personal"?C.loginedUserInfo.username:C.teams.filter(u=>u.uuid===e.newProjectOwnerTeamUuid).map(u=>u.username)[0];return await la.importNewProject({data:i,targetPath:e.newProjectOwnerTeamUuid,folder:e.newProjectOwnerFolderUuid?e.newProjectOwnerFolderUuid:void 0,title:n,projectLink:s+"/"+a,description:e.newProjectDescription,editorVersion:o,isCbb:!1,mode:e.newProjectCollaborationMode,progressId:"API_IMPORT_PROGRESS",needTip:!1,needDlg:!1})}async function Jdt(t,e){let i=[],o="";Array.isArray(t)?i=t:o=t;let r=[],n=[],a=[],s=[],l=new Set,c=new Set,d=[];if(i.length)for(let N=0;N<i.length;N++){let R=i[N],v=[],k=[],P=[],O=[];try{let _=await la.extractLibInfo({data:i[N]});v=_.devices,k=_.symbols,P=_.footprints,O=_.panelLibs}catch(_){console.error(_),Ot("error",'<span class="i18n">An error occurred while parsing the file</span> ',void 0,!0)}for(let _=0;_<v.length;_++){let j=`${R.name}_${Mt()}`;r.push({id:j,title:v[_].title,data:{localType:"DEVICE",docType:ve.DEVICE,isPlaceholder:!1,...v[_]},iconcls:"coloricon-eda-device"});let B=v[_].attributes||{};B.Symbol&&l.add(B.Symbol)}for(let _=0;_<k.length;_++){let j=`${R.name}_${Mt()}`;n.push({id:j,title:k[_].title,data:{localType:"SYMBOL",docType:ve.SCHLIB3D,isPlaceholder:!1,...k[_]},iconcls:"coloricon-eda-symbol"}),!l.has(k[_].uuid)&&!c.has(k[_].uuid)&&(c.add(k[_].uuid),d.push(k[_]))}for(let _=0;_<P.length;_++){let j=`${R.name}_${Mt()}`;a.push({id:j,title:P[_].title,data:{localType:"FOOTPRINT",docType:ve.FOOTPRINT,isPlaceholder:!1,...P[_]},iconcls:"coloricon-eda-footprint"})}for(let _=0;_<O.length;_++){let j=`${R.name}_${Mt()}`;s.push({id:j,title:O[_].title,data:{localType:"PANEL_LIB",docType:ve.PANEL_LIB,isPlaceholder:!1,...O[_]},iconcls:"icon-eda-panel"})}}else if(o){let N=[],R=[],v=[],k=[];try{let O=await la.extractLibInfo({data:o});N=O.devices,R=O.symbols,v=O.footprints,k=O.panelLibs}catch(O){console.error(O),Ot("error",'<span class="i18n">An error occurred while parsing the file</span> ',void 0,!0)}let P="defaultprefix";for(let O=0;O<N.length;O++){let _=`${P}_${Mt()}`;r.push({id:_,title:N[O].title,data:{localType:"DEVICE",docType:ve.DEVICE,isPlaceholder:!1,...N[O]},iconcls:"coloricon-eda-device"});let j=N[O].attributes||{};j.Symbol&&l.add(j.Symbol)}for(let O=0;O<R.length;O++){let _=`${P}_${Mt()}`;n.push({id:_,title:R[O].title,data:{localType:"SYMBOL",docType:ve.SCHLIB3D,isPlaceholder:!1,...R[O]},iconcls:"coloricon-eda-symbol"}),!l.has(R[O].uuid)&&!c.has(R[O].uuid)&&(c.add(R[O].uuid),d.push(R[O]))}for(let O=0;O<v.length;O++){let _=`${P}_${Mt()}`;a.push({id:_,title:v[O].title,data:{localType:"FOOTPRINT",docType:ve.FOOTPRINT,isPlaceholder:!1,...v[O]},iconcls:"coloricon-eda-footprint"})}for(let O=0;O<k.length;O++){let _=`${P}_${Mt()}`;s.push({id:_,title:k[O].title,data:{localType:"PANEL_LIB",docType:ve.PANEL_LIB,isPlaceholder:!1,...k[O]},iconcls:"icon-eda-panel"})}}let u=[...r,...n,...a,...s],{selectedIds:p,newComponentLists:m}=ccn(u,d,e.createDeviceForSingleSymbol);if(p.length<=0)return De({type:"warn",msg:me.i18n("Please select at least one import object")}),!1;let h=!1,f=[];for(let N=0;N<m.length;N++){let R=m[N];p.indexOf(R.id)>=0&&f.push(m[N])}let g=[],b=[],y=[],w=[],x=[],S=[],T=[],M=[],I=[],A=[],D=[],E=[];if(i&&i.length)for(let N=0;N<i.length;N++)try{let R=await la.importLibs({data:i[N],target:{isProject:!1,path:e.ownerTeamUuid},override:{info:{device:{tags:void 0},symbol:{tags:void 0},footprint:{tags:void 0},panelLib:{tags:void 0}},uuids:f.filter(v=>typeof v.data<"u"&&v.data.isPlaceholder===!1).map(v=>v.data.uuid)},createDeviceBySymbol:e.createDeviceForSingleSymbol?d.map(v=>v.uuid):void 0});for(let v=0;v<(R.successResult.devices||[]).length;v++)g.push(R.successResult.devices[v]);for(let v=0;v<(R.successResult.symbols||[]).length;v++)b.push(R.successResult.symbols[v]);for(let v=0;v<(R.successResult.footprints||[]).length;v++)y.push(R.successResult.footprints[v]);for(let v=0;v<(R.successResult.panelLibs||[]).length;v++)w.push(R.successResult.panelLibs[v]);for(let v=0;v<(R.failedResult.devices||[]).length;v++){if(R.failedResult.devices[v].action===zo.DEVICE_SAME_NAMA_EXISTS){x.push(R.failedResult.devices[v]);continue}I.push(R.failedResult.devices[v])}for(let v=0;v<(R.failedResult.symbols||[]).length;v++){if(R.failedResult.symbols[v].action===zo.SYMBOL_SAME_NAMA_EXISTS){S.push(R.failedResult.symbols[v]);continue}A.push(R.failedResult.symbols[v])}for(let v=0;v<(R.failedResult.footprints||[]).length;v++){if(R.failedResult.footprints[v].action===zo.FOOTPRINT_SAME_NAMA_EXISTS){T.push(R.failedResult.footprints[v]);continue}D.push(R.failedResult.footprints[v])}for(let v=0;v<(R.failedResult.panelLibs||[]).length;v++){if(R.failedResult.panelLibs[v].action===zo.PANELLIB_SAME_NAMA_EXISTS){M.push(R.failedResult.panelLibs[v]);continue}E.push(R.failedResult.panelLibs[v])}}catch(R){h=!0,console.error(R)}else if(o)try{let N=await la.importLibs({data:o,target:{isProject:!1,path:e.ownerTeamUuid},override:{info:{device:{tags:void 0},symbol:{tags:void 0},footprint:{tags:void 0},panelLib:{tags:void 0}},uuids:f.filter(R=>typeof R.data<"u"&&R.data.isPlaceholder===!1).map(R=>R.data.uuid)},createDeviceBySymbol:e.ownerTeamUuid?d.map(R=>R.uuid):void 0});for(let R=0;R<(N.successResult.devices||[]).length;R++)g.push(N.successResult.devices[R]);for(let R=0;R<(N.successResult.symbols||[]).length;R++)b.push(N.successResult.symbols[R]);for(let R=0;R<(N.successResult.footprints||[]).length;R++)y.push(N.successResult.footprints[R]);for(let R=0;R<(N.successResult.panelLibs||[]).length;R++)w.push(N.successResult.panelLibs[R]);for(let R=0;R<(N.failedResult.devices||[]).length;R++){if(N.failedResult.devices[R].action===zo.DEVICE_SAME_NAMA_EXISTS){x.push(N.failedResult.devices[R]);continue}I.push(N.failedResult.devices[R])}for(let R=0;R<(N.failedResult.symbols||[]).length;R++){if(N.failedResult.symbols[R].action===zo.SYMBOL_SAME_NAMA_EXISTS){S.push(N.failedResult.symbols[R]);continue}A.push(N.failedResult.symbols[R])}for(let R=0;R<(N.failedResult.footprints||[]).length;R++){if(N.failedResult.footprints[R].action===zo.FOOTPRINT_SAME_NAMA_EXISTS){T.push(N.failedResult.footprints[R]);continue}D.push(N.failedResult.footprints[R])}for(let R=0;R<(N.failedResult.panelLibs||[]).length;R++){if(N.failedResult.panelLibs[R].action===zo.PANELLIB_SAME_NAMA_EXISTS){M.push(N.failedResult.panelLibs[R]);continue}E.push(N.failedResult.panelLibs[R])}}catch(N){h=!0,console.error(N)}g.length&&Ot("info",`<span class="i18n" i18n-params-nums="${g.length}">{nums} devices import successfully</span>:`+g.map(N=>N.display_title).join(", "),void 0,!1),b.length&&Ot("info",`<span class="i18n" i18n-params-nums="${b.length}">{nums} symbols import successfully</span>:`+b.map(N=>N.display_title).join(", "),void 0,!1),y.length&&Ot("info",`<span class="i18n" i18n-params-nums="${y.length}">{nums} footprints import successfully</span>:`+y.map(N=>N.display_title).join(", "),void 0,!1),w.length&&Ot("info",`<span class="i18n" i18n-params-nums="${w.length}">{nums} panel libraries import successfully</span>:`+w.map(N=>N.display_title).join(", "),void 0,!1),x.length&&Ot("warn",`<span class="i18n" i18n-params-nums="${x.length}">{nums} devices import failed</span>, <span class="i18n">A library with the same name already exists</span>: `+x.map(N=>N.title).join(", "),void 0,!0),S.length&&Ot("warn",`<span class="i18n" i18n-params-nums="${S.length}">{nums} symbols import failed</span>, <span class="i18n">A library with the same name already exists</span>: `+S.map(N=>N.title).join(", "),void 0,!0),T.length&&Ot("warn",`<span class="i18n" i18n-params-nums="${T.length}">{nums} footprints import failed</span>, <span class="i18n">A library with the same name already exists</span>: `+T.map(N=>N.title).join(", "),void 0,!0),M.length&&Ot("warn",`<span class="i18n" i18n-params-nums="${M.length}">{nums} panel libraries import failed</span>, <span class="i18n">A library with the same name already exists</span>: `+M.map(N=>N.title).join(", "),void 0,!0),I.length&&Ot("error",`<span class="i18n" i18n-params-nums="${I.length}">{nums} devices import failed</span> `+I.map(N=>N.title).join(", "),void 0,!0),A.length&&Ot("error",`<span class="i18n" i18n-params-nums="${A.length}">{nums} symbols import failed</span> `+A.map(N=>N.title).join(", "),void 0,!0),D.length&&Ot("error",`<span class="i18n" i18n-params-nums="${D.length}">{nums} footprints import failed</span> `+D.map(N=>N.title).join(", "),void 0,!0),E.length&&Ot("error",`<span class="i18n" i18n-params-nums="${E.length}">{nums} panel libraries import failed</span> `+E.map(N=>N.title).join(", "),void 0,!0),Promise.resolve().then(async()=>{["device","symbol","footprint"].includes(Ls())&&_s(e.ownerTeamUuid,Ls())}),De({type:h?"warn":"success",msg:me.i18n("End of import"),timer:2.5})}function ccn(t,e,i=!0,o=["FOOTPRINT","COMPONENT"]){let r=new Set,n=[...t],a=[],s=[];if(i){for(let l=0;l<n.length;l++)n[l].data.isPlaceholder||a.push(n[l]);for(let l=0;l<e.length;l++){let c=`freeSymbolDevice_${Mt()}`;a.unshift({id:c,title:e[l].title,data:{localType:"DEVICE",docType:ve.DEVICE,isPlaceholder:!0,uuid:c,title:e[l].title,attributes:{Symbol:e[l].uuid}},iconcls:"coloricon-eda-device"}),s.push(c)}}else for(let l=0;l<n.length;l++)n[l].data.isPlaceholder||a.push(n[l]);for(let l=0;l<a.length;l++){let c=a[l],d=c.data.attributes||{},u=dcn(d.Symbol,a);c.data.localType==="DEVICE"&&(o.includes("DEVICE")||o.includes("COMPONENT")&&u&&String(u.data.docType)===tr.ComponentSymbol)&&r.add(c.id),c.data.localType==="SYMBOL"&&(o.includes("SYMBOL")?r.add(c.id):(o.includes("COMPONENT")&&String(c.data.docType)===tr.ComponentSymbol&&r.add(c.id),o.includes("NON_COMPONENT")&&String(c.data.docType)!==tr.ComponentSymbol&&r.add(c.id))),c.data.localType==="FOOTPRINT"&&(o.includes("FOOTPRINT")||o.includes("COMPONENT"))&&r.add(c.id),c.data.localType==="PANEL_LIB"&&o.includes("NON_COMPONENT")&&r.add(c.id)}for(let l=0;l<s.length;l++)r.add(s[l]);return{selectedIds:Array.from(r),newComponentLists:a}}function dcn(t,e){if(!t)return null;let i=null;for(let o=0;o<e.length;o++){let r=e[o];if(r.data.localType==="SYMBOL"&&r.data.uuid===t){i=r;break}}return i}function r8e(t){let e=t.lastIndexOf(".");return e>0?t.substring(0,e):t}var y6=class t{static async getProjectFile({fileName:e,password:i,origin:o="local",projectUuid:r=C.currentProject.projectId,fileType:n=Lo.PRJ2}){if(Tn||Ko)return await a();if($6o())return await a();throw new Error("\u9519\u8BEF\uFF1A\u6CA1\u6709\u4E0B\u8F7D\u5E93\u6743\u9650");async function a(){var c,d;if(!/[\u4e00-\u9fa5]|(^\s+)|(\s+$)/gi.test(i))if(n==Lo.PRJ2){i&&await C.messageBus.rpcCall("/pro-mgr/savePassword",[r,i]);let{message:u}=await C.messageBus.rpcCall(qr.EXPORT_ZIP,{uuid:r,name:e,suffix:Lo.PRJ2,flow:!1})||{};if(u!=null&&u.success)return(c=u.result)==null?void 0:c.file;throw new Error(u.message)}else if(o==="local"){let u=await xNt({fileName:e,suffix:Lo.PRJ,prjData:null,passwordValue:i,isDocument:!1});return new File([u],`${e||C.currentProject.title}${Lo.PRJ}`,{type:"zip"})}else{let{message:u}=await C.messageBus.rpcCall(qr.EXPORT_ZIP,{uuid:r,name:e,flow:!1})||{};if(u!=null&&u.success){let p=(d=u.result)==null?void 0:d.file;return await s(p)}else throw new Error(u.message)}}async function s(l){var g,b,y,w,x,S,T,M;let c="easyeda-pro-2",d="easyeda-pro",p=(await yA([l],{decodingType:c})).decodingData,h={decodingOptions:{decodingType:c,decodingData:p},encodingOptions:{encodingType:d,encoderOptions:{associate3D:!0}}},f=await Bf.formatConversion(h);if(f!=null&&f.success&&f.result){let I={},D=f.result.project,E={config:D.config,boards:{},devices:{},symbols:{},footprints:{},schematics:{},pcbs:{},panels:{}},N,R=E.boards;(g=D.boards)==null||g.forEach(Q=>{R[Q.name]={schematic:Q.sch||"",pcb:Q.pcb||""}}),N=I.BLOB={},(b=D.blobs)==null||b.forEach(Q=>{let{hash:H,fileName:q,dataStr:U}=Q,F=btoa(H)+Lo.BLOB,K=va(U);N[F]=K,delete Q.dataStr}),N=I.FONT={},N=I.SYMBOL={};let v=E.symbols;(y=D.symbols)==null||y.forEach(Q=>{let H=Q.uuid+Lo.SYMBOL,q=va(Q.dataStr);N[H]=q,delete Q.dataStr,v[Q.uuid]=Q}),N=I.FOOTPRINT={};let k=E.footprints;(w=D.footprints)==null||w.forEach(Q=>{let H=Q.uuid+Lo.FOOTPRINT,q=va(Q.dataStr);N[H]=q,delete Q.dataStr,k[Q.uuid]=Q});let P=E.devices;(x=D.devices)==null||x.forEach(Q=>{P[Q.uuid]=Q}),N=I.INSTANCE=kZe(D.block_symbol_attribute),N=I.SHEET={};let O=E.schematics,_=D.schematics||{};for(let Q in _){let H=_[Q],q=N[Q]={};O[Q]={name:H.name,sheets:[]};let U=O[Q].sheets;(S=H.sheets)==null||S.forEach(F=>{let K=F.sheet_id+Lo.SCH,te=va(F.dataStr);q[K]=te,delete F.dataStr,U.push({uuid:F.uuid,id:F.sheet_id,name:F.title,display_title:F.title})})}N=I.PCB={};let j=E.pcbs;(T=D.pcbs)==null||T.forEach(Q=>{let H=Q.uuid+Lo.PCB,q=va(Q.dataStr);N[H]=q,delete Q.dataStr,j[Q.uuid]=Q.title}),N=I.POUR={},N=I.PANEL={};let B=E.panels;(M=D.panels)==null||M.forEach(Q=>{let H=Q.uuid+Lo.PANEL,q=va(Q.dataStr);N[H]=q,delete Q.dataStr,B[Q.uuid]=Q.title}),I["project.json"]=va(JSON.stringify(E,void 0,2));let V=await PZe(new Blob([vb(I)]),i);return V?new File([V],`${e||C.currentProject.title}${Lo.PRJ}`,{type:"zip"}):{success:!1,message:"No Data!"}}}}static async getDocumentFile({fileName:e,password:i,fileType:o=Lo.PRJ2}){if(Tn||Ko)return await r();{let n=await zi.getPermissionList(C.currentProject.projectId);if(zi.hasPermission(n,Io.File_Exporting))return await r();throw new Error("\u9519\u8BEF\uFF1A\u6CA1\u6709\u6587\u4EF6\u5BFC\u51FA\u6743\u9650")}async function r(){var a,s,l,c,d,u,p;if(!/[\u4e00-\u9fa5]|(^\s+)|(\s+$)/gi.test(i))if(o===Lo.PRJ2){let{message:m}=await C.messageBus.rpcCall("/pro-ui/docSaveAsLocalApi",[e,i,void 0,!0])||{};if(m!=null&&m.success)return(a=m.result)==null?void 0:a.file;throw new Error(m.message)}else{let m=he.getActiveTabData(),h=(s=m.data)==null?void 0:s.doctype,f={};h==ve.PCB?f={boards:[],panels:[],pcbs:[{name:m.title,uuid:(l=m.tabId)==null?void 0:l.split("@")[0]}],schematics:[],schs:[]}:h==ve.SCH&&(f={boards:[],panels:[],pcbs:[],schematics:[],schs:[{name:(c=m.data)==null?void 0:c.schematicName,sheets:[{name:(d=m.data)==null?void 0:d.title,uuid:(u=m.data)==null?void 0:u["data-model-sheet-uuid"]}],uuid:(p=m.data)==null?void 0:p["data-schematic-uuid"]}]});let g=uP(f),b={uuid:C.currentProject.projectId,name:e,cbb_project:!1,datas:g},y=(await C.messageBus.rpcCall(qr.GET_PROJECT_BY_IN_LOCAL,b)).message;if(!y||!y.success||!y.result){new Fi({type:"error",msg:"Project data acquisition failed!"});return}let w=y.result,x=await xNt({fileName:e,suffix:Lo.PRJ,prjData:w,passwordValue:i,isDocument:!0});return new File([x],`${e||C.currentProject.title}${Lo.PRJ}`,{type:"zip"})}}}static async getDocumentSource(){var i;let{doctype:e}=((i=he.getActiveTabData())==null?void 0:i.data)||{};if([ve.PCB,ve.FOOTPRINT].includes(e)){let o=await ei();return C.windowBridge.rpcCall("FileSource","",o.contentWindow)}else{if([ve.PANEL,ve.PANEL_LIB].includes(e))return C.messageBus.rpcCall("/panel/getActiveCompressStr");if(pr(e)||e===ve.SCH)return C.messageBus.rpcCall("getActiveCompressStr")}}static async setDocumentSource({source:e}){try{return!!await vNt(e)}catch{return!1}}static async getDeviceFileByDeviceUuid({deviceUuid:e,libraryUuid:i,fileType:o=Lo.ELIBZ2}){var n;if(i===kn.Project&&(i=(n=C.currentProject)==null?void 0:n.projectId),Tn||Ko)return await r();{let a=C.teams.find(s=>s.uuid==C.currentProject.owner&&s.uuid!==_o());if(a){if(zi.hasPermission(a.permissions,Yr.Team_Component_Download))return await r();throw new Error("\u9519\u8BEF\uFF1A\u6CA1\u6709\u4E0B\u8F7D\u5E93\u6743\u9650")}else return await r()}async function r(){return await Lve("devices",e,i,o)}}static async getSymbolFileBySymbolUuid({symbolUuid:e,libraryUuid:i,fileType:o=Lo.ELIBZ2}){var n;if(i===kn.Project&&(i=(n=C.currentProject)==null?void 0:n.projectId),Tn||Ko)return await r();if(i){let a=C.teams.find(s=>s.uuid==C.currentProject.owner&&s.uuid!==_o());if(a){if(zi.hasPermission(a.permissions,Yr.Team_Component_Download))return await r();throw new Error("\u9519\u8BEF\uFF1A\u6CA1\u6709\u4E0B\u8F7D\u5E93\u6743\u9650")}else return await r()}else return await r();async function r(){return await Lve("symbols",e,i,o)}}static async getFootprintFileByFootprintUuid({footprintUuid:e,libraryUuid:i,fileType:o=Lo.ELIBZ2}){var n;if(i===kn.Project&&(i=(n=C.currentProject)==null?void 0:n.projectId),Tn||Ko)return await r();if(i){let a=C.teams.find(s=>s.uuid==C.currentProject.owner&&s.uuid!==_o());if(a){if(zi.hasPermission(a.permissions,Yr.Team_Component_Download))return await r();throw new Error("\u9519\u8BEF\uFF1A\u6CA1\u6709\u4E0B\u8F7D\u5E93\u6743\u9650")}else return await r()}else return await r();async function r(){return await Lve("footprints",e,i,o)}}static async getCbbFileByCbbUuid({cbbUuid:e,libraryUuid:i,props:o={}}){var s;let{fileName:r,password:n}=o;if(i===kn.Project&&(i=(s=C.currentProject)==null?void 0:s.projectId),Tn||Ko)await a();else if(i){let l=C.teams.find(c=>c.uuid==C.currentProject.owner&&c.uuid!==_o());if(l){if(zi.hasPermission(l.permissions,Yr.Team_Module_Download))return await a();throw new Error("\u9519\u8BEF\uFF1A\u6CA1\u6709\u4E0B\u8F7D\u6A21\u5757\u6743\u9650")}else return await a()}else return await a();async function a(){let{message:l}=await C.messageBus.rpcCall(Og.GET_EXPORT,{uuid:e}),c=l==null?void 0:l.result;if(c)c.cbb_project=!0;else return;let d=c.cbb_project,u=c.title;return r||(r=qB(u,d)),t.getProjectFile({projectUuid:e,fileName:r,password:n,origin:"cloud"})}}static async getPanelLibraryFileByPanelLibraryUuid({panelLibraryUuid:e,libraryUuid:i,fileType:o=Lo.ELIBZ2}){var n;if(i===kn.Project&&(i=(n=C.currentProject)==null?void 0:n.projectId),Tn||Ko)return await r();if(i){let a=C.teams.find(s=>s.uuid==C.currentProject.owner&&s.uuid!==_o());if(a){if(zi.hasPermission(a.permissions,Yr.Team_Component_Download))return await r();throw new Error("\u9519\u8BEF\uFF1A\u6CA1\u6709\u4E0B\u8F7D\u5E93\u6743\u9650")}else return await r()}else return await r();async function r(){return await Lve("panelLibs",e,i,o)}}static async importProjectByProjectFile({projectFile:e,fileType:i,props:o,saveTo:r,librariesImportSetting:n}){var u;e=structuredClone(e);let a=!1,s=new Array,l=new Array,c=i.toLowerCase();vt(.01,"API_IMPORT_PROGRESS");try{switch(c){case"jlceda pro":case"easyeda pro":if(o.importOption==="ImportDocument")if(r.operation==="New Project"){let g=await Zdt(e,r);s.push({uuid:g.uuid,title:g.name})}else{let g=await Kdt(e,r);s.push({uuid:r.existingProjectUuid,title:r8e(e.name)})}else if(o.importOption==="ExtractLibraries"){await Jdt([e],n),vt(1,"API_IMPORT_PROGRESS");return}else if(await Jdt([e],n),r.operation==="New Project"){let g=await Zdt(e,r);s.push({uuid:g.uuid,title:g.name})}else{let g=await Kdt(e,r);s.push({uuid:r.existingProjectUuid,title:r8e(e.name)})}break;case"orcad":case"allegro":case"altium designer":case"protel":case"pads":case"eagle":case"easyeda":case"jlceda":case"ltspice":case"kicad":let p;c==="orcad"||c==="allegro"?p="allegro_orcad":c==="altium designer"?p="altium":c==="protel"?p="protel":c==="pads"?p="pads":c==="eagle"?p="eagle":c==="easyeda"||c==="jlceda"?p="easyeda":c==="ltspice"?p="ltspice":c==="kicad"&&(p="kicad");let m=await eme({files:[e],fileSelectType:p,selectedViaSolderMaskExpansionType:o.viaSolderMaskExpansion?o.viaSolderMaskExpansion:"cover",selectedSchPrimitiveStyleType:o.schematicObjectStyle?o.schematicObjectStyle:"system",selectedBoardOutlineSourceType:o.boardOutlineSource?o.boardOutlineSource:"keepout",selectedDeviceNameSourceType:o.deviceNameSource?o.deviceNameSource:"design-item-id",isAutoAssoicaFootprint:!0,isAutoAssoicaD3Model:!0,isImportNotes:o.importFootprintNotesLayer!==void 0?o.importFootprintNotesLayer:!0,chameleonTarget:"easyeda-pro-2"},{tagName:"ANALYSIS_IMPORTFILE",range:[0,.75]});if(!m||!m.success){m.message&&Ut({type:"error",message:m.message}),vt(1,"ANALYSIS_IMPORTFILE"),vt(1,"API_IMPORT_PROGRESS");return}vt(1,"ANALYSIS_IMPORTFILE");let f=m.result.project;if(f.config.title=f.config.title?f.config.title:r8e(e.name),o.importOption==="ImportDocument")if(r.operation==="New Project"){let g=await Zdt(f,r);s.push({uuid:g.uuid,title:g.name})}else await Kdt(f,r),s.push({uuid:r.existingProjectUuid,title:r8e(e.name)});else if(o.importOption==="ExtractLibraries"){await Jdt(f.dataStr,n),vt(1,"API_IMPORT_PROGRESS");return}else if(await Jdt(f.dataStr,n),r.operation==="New Project"){let g=await Zdt(f,r);s.push({uuid:g.uuid,title:g.name})}else await Kdt(f,r),s.push({uuid:r.existingProjectUuid,title:r8e(e.name)});break;default:vt(1,"API_IMPORT_PROGRESS"),console.error("\u5BFC\u5165\u5931\u8D25,\u4E0D\u652F\u6301\u5BFC\u5165\u7684\u6587\u4EF6\u7C7B\u578B");return}}catch(p){vt(1,"API_IMPORT_PROGRESS"),console.error("\u5BFC\u5165\u5931\u8D25",p.message);return}vt(1,"API_IMPORT_PROGRESS");let d=r.operation==="New Project"?(u=s[0])==null?void 0:u.uuid:r.existingProjectUuid;return await lcn(d,a,s,l,!0)}static async extractProjectInfo(e){let i=structuredClone(e);return await la.extractProjectInfo({data:i})}static async extractLibInfo(e){return await la.extractLibInfo({data:e})}};var Wx=class{static async getAllNets(e){return Li()?await Pt(kt.Pcb.GetAllNetsInfo):null}static async getNet(e){if(!Li())return null;let{net:i}=e;return await Pt(kt.Pcb.GetNet,{net:i})}static async setNetColor(e){return Li()?await Pt(kt.Pcb.SetNetColor,e):null}static async getAllNetName(e){return Li()?await Pt(kt.Pcb.GetAllNets):null}static async getNetLength(e){return Li()?await Pt(kt.Pcb.GetNetLength,e):null}static async getAllPrimitivesByNet(e){return Li()?await Pt(kt.Pcb.GetAllPrimitivesByNet,e):null}static async selectNet(e){return Li()?await Pt(kt.Pcb.SelectNet,e):!1}static async unselectNet(e){return Li()?await Pt(kt.Pcb.UnselectNet,e):!1}static async unselectAllNets(){return Li()?await Pt(kt.Pcb.UnselectAllNets):!1}static async highlightNet(e){return Li()?await Pt(kt.Pcb.HighlightNet,e):!1}static async unhighlightNet(e){return Li()?await Pt(kt.Pcb.UnhighlightNet,e):!1}static async unhighlightAllNets(){return Li()?await Pt(kt.Pcb.UnhighlightAllNets):!1}static async getNetlist(e){return new Promise(async i=>{if(!Li()){i("");return}let o=await l2e(e),r=Object.keys(o);if(r.length==0){De({type:"error",msg:"Export Failed!"});return}else if(r.length==1){let n=o[r[0]].netList||"";i(n);return}else{let n=[];r.forEach((a,s)=>{let{netList:l,fileName:c=`NetList_PCB_${s}`}=o[a];l&&n.push(l)}),i(n);return}})}static async setNetlist(e){if(!Li())return!1;let{type:i,netlist:o}=e;return await hne(i,o),!0}};function ucn(t,e){let i=new FileReader;i.onload=function(o){e&&e(i.result,t)},i.onerror=function(o){e&&e(void 0,t)},i.readAsDataURL(t)}function pcn(t,e,i){let o=wXe(),r=1,n=document.createElement("canvas"),a=document.createElement("canvas"),s=n.getContext("2d"),l=a.getContext("2d"),c=Cm.getColorTolerance(+i.tolerance),d=Cm.getSimplifyTolerance(+i.simplification),u=Cm.getCornerThreshold(+i.smoothing),p=Cm.getDespeckleThreshold(+i.despeckling),m=i.antiphase,h=i.whiteAsTransparent;n.width-=0,a.width-=0,r=Math.sqrt(1600*1600/(e.sourceImageWidth*e.sourceImageHeight));let f=r*e.sourceImageWidth,g=r*e.sourceImageHeight;a.width=f,a.height=g,l.drawImage(t,0,0,f,g);let b=l.getImageData(0,0,f,g),y=Cm.data2blackWhite(b.data,parseInt(f),c,m,h);o.process(y,parseInt(f),parseInt(g),{alphamax:u,opttolerance:d,turdsize:p*r*r});let w=o.getPathDataArray();a.width-=0,l.beginPath(),w.forEach(function(I){Cm.drawPathData(I,l)}),l.fillStyle="#000",l.fill("evenodd"),s.drawImage(a,e.drawMarginLeft,e.drawMarginTop,e.drawImageWidth,e.drawImageHeight);let x=0,S=0,T={};w.length?(T=Cm.getBBoxOfBitMap(y,f),x=T.width/r,S=T.height/r):x=S=0;let M=w;return M.bbox=T,a=null,{pixelImageSize:{width:x,height:S},shapeLines:M}}function mcn(t){let{width:i,height:o}=t.pixelImageSize,r={width:WI(i,"mil","pixel"),height:WI(o,"mil","pixel")},n=t.pixelImageSize,a=t.shapeLines,s=r.width/n.width,l=[0,0,0,0],c=+l[0]+l[2]/2,d=+l[1]+l[3]/2,u,p=a.bbox;if(a[0]&&a[0][0]&&a[0][0].type){c-=p.width*s/2,d-=p.height*s/2,c=+li.toFixed(c,2),d=+li.toFixed(d,2);let m=function(g){return g*s+c},h=function(g){return g*s+d},f=a;f.forEach(function(g){Cm.changePathData(g,m,h)}),u=Cm.pathDataArrayToD(f)}else{let m=TXe(a);Cm.linesScale(m,s);let h=Cm.getMinMax(m);c-=(h.maxX-h.minX)/2,d-=(h.maxY-h.minY)/2,c=+li.toFixed(c,2),d=+li.toFixed(d,2),Cm.linesOffset(m,c,d),u=Cm.lines2PathDataString(m)}return{path:u||null,width:i,height:o,unit:"mil"}}var n8e=class{static async convertImageToComplexPolygon(e){return new Promise((i,o)=>{if(!Li()){i(null);return}let{imageBlob:r,imageWidth:n,imageHeight:a,tolerance:s,simplification:l,smoothing:c,despeckling:d,whiteAsBackgroundColor:u,inversion:p}=e,m={tolerance:s,simplification:l,smoothing:c,despeckling:d,whiteAsTransparent:u,antiphase:p},h={canvasWidth:n,canvasHeight:a,sourceMarginLeft:0,sourceMarginTop:0,sourceImageWidth:n,sourceImageHeight:a,drawMarginLeft:0,drawMarginTop:0,drawImageWidth:n,drawImageHeight:a};ucn(r,async(f,g)=>{if(!f){i(null);return}let{image:b}=await new B2().readUrlAsImage(f),y=pcn(b,h,m),w=mcn(y),x=await Pt(kt.Pcb.ConvertImageToComplexPolygon,{data:w});i(x)})})}static async getCenter(e){return Li()?await Pt(kt.Pcb.GetCenter,e):void 0}};var $E=class t{static async getAssemblyVariantsConfigs(){let e=await l1e();return ri.getVariantList(e)}static async getBomFile(e){if(!AIe())return null;let i=await t.handleGetBomParams(e);if(!i)return;if(e.template){let r=e.template,n=r.includes(".xlsx")?r:r+".xlsx",a=await U2(),s=[];if(a)if(s=a,s.map(c=>c.attr.name).includes(n))tH(n),delete e.template;else return null;else return null}vt(.01,"PCBMANUFACTUREDATA_GETBOMFILE");let o=await Cr("getExportBomFileHandler",{...i});return o?(vt(1,"PCBMANUFACTUREDATA_GETBOMFILE"),{file:o,__isError:!0}):(vt(1,"PCBMANUFACTUREDATA_GETBOMFILE"),{__isError:!0,__message:"get bom file error."})}static async getExportDocumentFile(e){try{await xl();let i=await t.getExportDocumentFileConfig(e);return new Promise((o,r)=>{C.messageBus.publish("sch/getExportFileData",{config:i,cb:(n,{data:a,fileName:s})=>{C.messageBus.publish("progressClose");let l;n&&(s=e.fileName?e.fileName+"."+s.split(".").at(-1):s,l=new File([a],s)),o(l)}})})}catch{C.messageBus.publish("progressClose")}}static async getExportDocumentFileConfig(e){let i={PDF:"filePdf",PNG:"fileImage",SVG:"fileSVG"},o={"All Schematic":"Project"},{fileType:r,typeSpecificParams:n={},object:a="Current Schematic",objectSpecificParams:s={}}=e,{theme:l="Default",lineWidth:c,displayAttributesAsMenu:d=!1,size:u={}}=n,{width:p,height:m,unit:h}=u,f;p&&m&&h&&(f={widht:io(p,h,"pixel"),height:io(m,h,"pixel")});let{range:g,outputMethod:b}=s,y=!0,w,x;Array.isArray(g)&&(y=!1,w=g[0],x=g[1]);let S=he.getActiveSchematicId(),T={exportObject:a==="Current Schematic"?S:o[a]||a,fileType:i[r],lineWidthCfg:c!=="Follow the Zoom Change"?"alwaysOne":"followZoom",language:"zh-hans",isMerge:b!=="Separated sheet",needMenu:d,onlyExportInDrawingFrame:!1,colorType:l,isAllRange:y,rangeStart:w,rangeEnd:x,size:f};return BUe(T).getConfig()}static async getBomTemplates(){let e=await U2(),i=[];return e&&(i=e),i.map(r=>r.attr.name)}static async uploadBomTemplateFile(e){let{templateFile:o,template:r}=e;if(!AIe())return;let n=o,a=n.type,s="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8",l=n.name.toLowerCase().endsWith(".xlsx");if(s.indexOf(a)<0&&!l){new Fi({type:"error",msg:"Please select xlsx format file."});return}let c=await U2();if(+(c==null?void 0:c.length)>=11){new Fi({type:"info",msg:"You can upload up to 10 BOM templates. Please delete the other templates before uploading."});return}let u=r?r.includes(".xlsx")?r:r+".xlsx":n.name;if(c.find(f=>f.attr.name===u)){new Fi({type:"info",msg:"The template has the same name. Please change the name of the file to be uploaded."});return}let m={name:u,creator:"jlceda",lastModifiedBy:"jlceda",created:new Date};return await new kp(m).loadFile(n,async f=>{f.attr=m,c.push(f),await $V(c),tH(u)}),u}static async getBomTemplateFile(e){if(!AIe()||!e)return;let i=e.includes(".xlsx")?e:e+".xlsx",r=(await U2()).find(n=>n.attr.name===i);if(r){r.attr.created=new Date(r.attr.created);let n=r.attr,a=new kp(n);tSe(r,a);let s=await a.getExportFileBlob("xlsx");return new File([s],i,{type:s.type})}}static async deleteBomTemplate(e){let i="\u5609\u7ACB\u521BEDA\u4E13\u4E1A\u7248BOM\u6A21\u677F.xlsx";if(!AIe())return!1;let o=await U2(),r=[];if(o)if(r=o,r.map(a=>a.attr.name).includes(e)&&e!==i){eSe(e);let a=mt.getCacheObj(rD);return e===a&&tH("None"),!0}else return!1;else return!1}static async getNetlistFile({netlistType:e,fileName:i}){let o=await _ce.getNetlist(e);Array.isArray(o)&&(o=o.join(""));let r=he.getActiveTab();if(!i){let{message:n}=await C.messageBus.rpcCall("getBOMNetListSelectList",r),{rangeSchList:a}=n,s=a[0],l=s.text;s.boardName&&(l=s.text.split(":")[1].trim()),i=`Netlist_${(l||"").replace(/\s+/g,"_")}_${ue.formatDate2(new Date,"yyyy-MM-dd")}`}switch(e){case"JLCEDA":i+=".enet";break;case"Allegro":i+=".tel";break;case"PADS":i+=".asc";break;case"Protel2":i+=".net";break;case"DISA":i+=".dnet";break}return o?new File([o],i,{type:"text/plain"}):void 0}static async placeComponentsOrder({interactive:e,ignoreWarning:i}){if(e)return ii("prepass-bom-standard-check",{cmd:"bom_order_parts"}),new Promise(o=>C.messageBus.subscribe("placeComponentsOrderState",r=>o(r)));if(i)return await this.bomExpandEvent(!1);{let o=await t.DeviceStandardization();return o&&await t.bomExpandEvent(!1),o}}static async placeSmtComponentsOrder({interactive:e,ignoreWarning:i}){if(e)return ii("prepass-bom-standard-check",{cmd:"bom_order_parts_smt"}),new Promise(o=>C.messageBus.subscribe("placeComponentsOrderState",r=>o(r)));if(i)return await this.bomExpandEvent(!0);{let o=await t.DeviceStandardization();return o&&await t.bomExpandEvent(!0),o}}static async bomExpandEvent(e){C.messageBus.rpcCall("getOrderData",[he.getActiveTab()]).then(o=>{C.messageBus.publish("bomExpandEvent",{ev:o.message.ev,uuid:o.message.uuid,type:"orderParts",isSmt:e,showDialog:!1})});let i=await new Promise(o=>C.messageBus.subscribe("getBomExpandEventState",r=>o(r)));return i.success?(window.open(i.result,"_blank"),C.messageBus.publish("BOMUploadedAndWillOpenLCSCOrderPage",!1),!0):!1}static async DeviceStandardization(){let{message:e=[]}=await C.messageBus.rpcCall("getDeviceStandardizationData",{});return e.some(i=>!["waitDetermined","waitDistribution"].includes(i.deviceStandardizedRes))}static async handleGetBomParams(e){let{fileName:i,fileType:o,filterOptions:r,statistics:n,property:a,columns:s,assemblyVariantsConfig:l}=e,c=i||"Export_BOM",d=c1e("sch"),u=he.getActiveTabData().data["data-schematic-uuid"],{cloneTableKeys:p,allRules:m,userFilterCache:h}=await(await C.messageBus.rpcCall("getExportBomData",{selectedFileInfo:{value:u,env:"sch"}})).message||{},f=m.filter(S=>![...pH].includes(S)),g=f,b=p.filter(S=>!pH.includes(S.value)),y=f.filter(S=>![...d,...d1e].includes(S)),w=await FL.getCurrentBoardInfo(),x={ev:"sch",selectedId:u,fileName:c,fileType:o,tableAttrKeys:[],boardName:(w==null?void 0:w.name)||"",assemblyVariant:l==null?void 0:l.value,filterRules:[{attr:"Add into BOM",rule:"no",checked:!0,isForbidDel:!0,selected:!1},{attr:"Convert to PCB",rule:"no",checked:!1,isForbidDel:!0,selected:!1}]};if(!(r&&!hcn(r,g,x))){if(n)for(let S of n){let T={title:S,value:S,order:0,key:0};gcn(S,T),x.tableAttrKeys.push(T)}if(a)for(let S of a){let T={title:S,value:S,order:0,key:0};x.tableAttrKeys.push(T)}if(x.tableAttrKeys.length<1?x.tableAttrKeys=b:x.tableAttrKeys=x.tableAttrKeys.map((S,T)=>({...S,orderWeight:x.tableAttrKeys.length-T})),s){let S=x.tableAttrKeys.map(T=>T.value);for(let T of s)if(S.includes(T.property)){if(!bcn(T,x.tableAttrKeys))return}else return}return x}}};function hcn(t,e,i){let o=!0;for(let r of t)if(r.property==="Add into BOM"||r.property==="Convert to PCB"){for(let n of i.filterRules)if(n.attr===r.property){let a=fcn(r.includeValue);if(a===void 0){o=!1;return}n.rule=a,n.checked=!0,n.isForbidDel=!0,n.selected=!1}}else e.includes(r.property)?(typeof r.includeValue!="string"&&(o=!1),i.filterRules.push({attr:r.property,rule:r.includeValue,checked:!0,isForbidDel:!1,selected:!1})):o=!1;return o}function nzo(t){return t=t.toLowerCase(),t==="asc"||t==="yes"?1:t==="desc"||t==="no"?2:void 0}function fcn(t){return typeof t=="string"?(t=t.toLowerCase(),t==="yes"?"yes":t==="no"?"no":void 0):typeof t=="boolean"?t?"yes":"no":void 0}function gcn(t,e){t==="No."?e.value="Number":t==="Pin Count"?e.key=2:(t==="Layer"||t==="Mounting Style")&&(e.key=1)}function bcn(t,e){for(let i of e)if(i.value===t.property){let o=t.title?t.title:i.title,r=t.sort?nzo(t.sort):i.order,n=t.group?nzo(t.group):i.key;return r===void 0||n===void 0?void 0:(i.title=o,i.order=r,i.key=n,!0)}}var qdt=class{static async getPrimitivesBBox(e){return Li()?await Pt(kt.Pcb.GetPrimitivesBBox,e):null}};var uie=class{static async create(e){if(!Li())return null;if(e.binaryData.startsWith("data:image")){let r=await new B2().compressImageByCanvas(e.binaryData,hV);e.binaryData=r}return await Pt(kt.Pcb.ObjectCreate,e)}static async delete(e){return Li()?await Pt(kt.Pcb.ObjectDelete,e):null}static async modify(e){return Li()?await Pt(kt.Pcb.ObjectModify,e):null}static async getByIds(e){return Li()?await Pt(kt.Pcb.ObjectGetByIds,e):null}static async getAll(e){return Li()?await Pt(kt.Pcb.ObjectGetAll,e):null}};var WQ=class t{static acceptType(e){return/.+\.(step|stp|zip|obj)$/i.test(e)}static async create({libraryUuid:e,modelFile:i,classification:o={},unit:r="mm"}){if(W1.includes(e))return;let n=i;if(!n)return;Ts();let a=n.name;if(!t.acceptType(a)){Zr();return}if(Number((n.size/Math.pow(1024,2)).toFixed(2))>=30){Zr();return}let l=new FileReader;l.readAsArrayBuffer(n);let c=await new Promise((d,u)=>{l.onload=async p=>{let m;if(p.target!==null){let y=p.target.result,{message:w}=await C.messageBus.rpcCall("handle3DModelFile",{file:a,data:y});m=w.message||[],m.forEach(x=>{let S=x.name.split("/"),M=S[S.length-1].split(".");M.splice(M.length-1,1),x.name=M.join("."),x.checked=!0})}let h={owner:e,docType:se.PCBLIB3D,tags:[],unit:["mm","cm","m","mil","inch"].includes(r)?r:"mm",models:m,uuid:null},{primaryClassificationUuid:f,secondaryClassificationUuid:g}=o;f&&(h.tags[0]=f,h.tags[1]=g);let{message:b}=await C.messageBus.rpcCall("newOrReplace3DModel",h);Zr(),d(b)}});if(c)return c.map(d=>{if(d.success)return d.createResult.uuid})}static async delete({modelUuid:e,libraryUuid:i}){if(W1.includes(i))return;let o=await t.getInfo({modelUuid:e,libraryUuid:i});if(!o)return!1;let r=i===kn.Project,n=rf(o);return ew(o,"model3D",r,!1,!1,n),!0}static async modify({modelUuid:e,libraryUuid:i,modelName:o,classification:r={},description:n}){var u,p,m,h;if(W1.includes(i))return;let a=await t.getInfo({modelUuid:e,libraryUuid:i}),s={description:a.description,tags:[(p=(u=a.tags)==null?void 0:u.parent_tag)==null?void 0:p.uuid,(h=(m=a.tags)==null?void 0:m.child_tag)==null?void 0:h.uuid],title:a.title,oldTitle:a.title},{primaryClassificationUuid:l,secondaryClassificationUuid:c}=r;return o&&(s.title=o),n&&(s.description=n),l&&(s.tags=[l,c]),!!await As.updateD3ModelItem(!1,e,i,{...a,title:s.title,description:s.description,tags:s.tags})}static async getInfo({modelUuid:e,libraryUuid:i}){return i===kn.Project?void 0:await Ze.getD3Model({path:i,isProject:i===C.currentProject.projectId,uuid:e})}static async get({modelUuid:e,libraryUuid:i}){var r,n,a,s;let o=await t.getInfo({modelUuid:e,libraryUuid:i});if(o)return{libraryType:"5",uuid:e,name:o.display_title,libraryUuid:o.owner.uuid,classification:{libraryUuid:o.owner.uuid,libraryType:"5",primaryClassificationUuid:(n=(r=o.tags)==null?void 0:r.parent_tag)==null?void 0:n.uuid,secondaryClassificationUuid:(s=(a=o.tags)==null?void 0:a.child_tag)==null?void 0:s.uuid},description:o.description}}static async copy({modelUuid:e,libraryUuid:i,targetLibraryUuid:o,targetClassification:r,newModelName:n}){if(!W1.includes(i))try{let a=await Ze.getD3Model({isProject:!1,uuid:e,path:i}),s;if(r===null)s=[];else if(r){let c={libraryUuid:o,libraryType:"5",primaryClassificationUuid:r.primaryClassificationUuid,secondaryClassificationUuid:r.secondaryClassificationUuid},{primaryClassificationName:d,secondaryClassificationName:u}=await km.getNameByUuid(c);s=[d,u]}else s=[a.tags.parent_tag.name,a.tags.child_tag.name];return(await Ze.createD3Model({path:o,isProject:!1,d3model:{isProject:!1,data:{title:n||a.title,description:a.description,tags:s,dataStr:a.dataStr,docType:se.PCBLIB3D}}})).uuid}catch{}}static async search({key:e="",libraryUuid:i=bn,classification:o,itemsOfPage:r,page:n}){if(i===kn.Project)return[];let a={docType:[se.PCBLIB3D],page:n,pageSize:r,path:i,type:3,uid:i},s=i===bn,l=i===kn.Project,c;return e===""?c=await Cr("privateLibSearch",{isSearch:!1,isProjectLib:l,reqData:a}):(a.wd=e,a.returnListStyle="classifyarr",c=await t7(a,Tt.MODEL3D,s,l)),c!=null&&c.lists?Object.values(c.lists).flat(1).map((d,u)=>{var p,m,h,f;return{uuid:d.uuid,libraryUuid:d.owner.uuid,classification:{libraryUuid:i,libraryType:"5",primaryClassificationUuid:(m=(p=d.tags)==null?void 0:p.parent_tag)==null?void 0:m.uuid,secondaryClassificationUuid:(f=(h=d.tags)==null?void 0:h.child_tag)==null?void 0:f.uuid},ordinal:(n-1)*r+u,name:d.title,type:d.docType,description:d.description,updateTimestamp:d.updateTime,ascription:d.owner.username,lastModifiedBy:d.modifier.username}}):[]}};var HL=class t{static async create({libraryUuid:e,symbolName:i,classification:o,symbolType:r=2,description:n}){if(W1.includes(e))return;let a="",{primaryClassificationUuid:s,secondaryClassificationUuid:l}=o||{};if(s!==void 0){let{primaryClassificationName:d,secondaryClassificationName:u}=await km.getNameByUuid({libraryUuid:e,libraryType:"2",primaryClassificationUuid:s,secondaryClassificationUuid:l});a=[d,u].filter(p=>p).join(":")}let c=await Ze.createSymbol({path:e,isProject:e===C.currentProject.projectId,symbol:await lTt(i,r,a,n)});if(c)return c.uuid}static async delete({symbolUuid:e,libraryUuid:i}){if(i===kn.Project&&(i=C.currentProject.projectId),[bn,kn.Star].includes(i))return!1;let o=await t.getInfo({symbolUuid:e,libraryUuid:i});if(!o)return!1;let r=i===kn.Project,n=rf(o);return await ew(o,"symbol",r,!1,!1,n,[],[],[],[e])}static async modify({symbolUuid:e,libraryUuid:i,symbolName:o,classification:r,description:n}){var d,u,p,m;if([kn.SystematicUuid,kn.Star].includes(i))return!1;i===kn.Project&&(i=C.currentProject.projectId);let a=await R3("symbol",e,i);if(!a.uuid)return!1;let s={dataStr:a.dataStr,description:a.description,docType:a.docType,oldTitle:a.title,owner:a.owner.uuid,path:a.path,tabType:a.docType,tags:[(u=(d=a.tags)==null?void 0:d.parent_tag)==null?void 0:u.name,(m=(p=a.tags)==null?void 0:p.child_tag)==null?void 0:m.name],title:a.title,treeNodeType:void 0,uuid:a.uuid};o&&(s.title=o),(n||n==="")&&(s.description=n);let{primaryClassificationUuid:l,secondaryClassificationUuid:c}=r;if(r===null)s.tags=[];else if(l!==void 0){let{primaryClassificationName:h,secondaryClassificationName:f}=await km.getNameByUuid({libraryUuid:i,libraryType:"2",primaryClassificationUuid:l,secondaryClassificationUuid:c});s.tags=[h,f]}try{return!!await Ze.updateSymbol({uuid:e,path:i,isProject:i===C.currentProject.projectId,symbol:{data:{...s,uuid:e,ignoreDuplicateNameCheck:"yes",path:i}}})}catch{return!1}}static async getInfo({symbolUuid:e,libraryUuid:i=bn}){return e?(i===kn.Project&&(i=C.currentProject.projectId),await R3("symbol",e,i)):void 0}static async get({symbolUuid:e,libraryUuid:i=bn}){var r,n,a,s;let o=await t.getInfo({symbolUuid:e,libraryUuid:i});if(o)return{name:o.title||o.display_title,libraryType:"2",uuid:e,libraryUuid:o.owner.uuid,classification:{libraryUuid:o.owner.uuid,libraryType:"2",primaryClassificationUuid:(n=(r=o.tags)==null?void 0:r.parent_tag)==null?void 0:n.uuid,secondaryClassificationUuid:(s=(a=o.tags)==null?void 0:a.child_tag)==null?void 0:s.uuid},type:o.docType,description:o.description,subPartNames:await t.getSubPartNames(o)}}static async getSubPartNames(e){return new Promise(async i=>{await Cr("createDocManager",{data:e,cb:async o=>{let r=o.parts.map(n=>n.partTitle);i(r)}})})}static async copy({symbolUuid:e,libraryUuid:i,targetLibraryUuid:o,targetClassification:r={},newSymbolName:n}){if(W1.includes(i))return;let a=await R3("symbol",e,i);if(!a)return;let s=[a.tags.parent_tag.name,a.tags.child_tag.name],{primaryClassificationUuid:l,secondaryClassificationUuid:c}=r||{};if(r===null)s=[];else if(l!==void 0){let{primaryClassificationName:d,secondaryClassificationName:u}=await km.getNameByUuid({libraryUuid:o,libraryType:"2",primaryClassificationUuid:l,secondaryClassificationUuid:c});s=[d,u].filter(p=>p)}try{return(await Ze.createSymbol({path:o,isProject:o===C.currentProject.projectId,symbol:{isProject:i===C.currentProject.projectId,uuid:e,path:i,override:{title:n||a.display_title,description:a.description,tags:s,docType:a.docType}}})).uuid}catch{}}static async search({key:e="",libraryUuid:i=bn,classification:o,symbolType:r,itemsOfPage:n,page:a}){let s;if(typeof e=="string"&&(e=e.trim()),i===kn.Project)s=(await i8e({page:a,pageSize:n,searchValue:e,tabType:"symbol",tag:[],symbol_type:r,docTypes:[2,18,19,20,21,22],attributes:{}})).result;else{let c={docType:r?[r]:[2,18,19,20,21,22],page:a,pageSize:n,path:i,returnListStyle:"classifyarr",symbol_type:r,type:3,wd:e,uid:i},d=i===bn,u=i===kn.Project;e===""?s=await Cr("privateLibSearch",{isSearch:!1,isProjectLib:u,reqData:c}):s=await t7(c,Tt.SYMBOL,d,u)}return s!=null&&s.lists?Object.values(s.lists).flat(1).map((l,c)=>{var d,u,p,m;return{uuid:l.uuid,libraryUuid:l.owner.uuid,classification:{libraryUuid:l.owner.uuid,libraryType:"2",primaryClassificationUuid:(u=(d=l.tags)==null?void 0:d.parent_tag)==null?void 0:u.uuid,secondaryClassificationUuid:(m=(p=l.tags)==null?void 0:p.child_tag)==null?void 0:m.uuid},ordinal:(a-1)*n+c,name:l.display_title,type:l.docType,description:l.description,updateTimestamp:l.updateTime}}):[]}static async openInEditor({symbolUuid:e,libraryUuid:i,splitScreenId:o}){if([kn.SystematicUuid,kn.Star].includes(i))return!1;let r=await R3("symbol",e,i);if(!r)return;let n=r.uuid;he.isHasTabById(n)?he.simulateClick(n):await yn({data:r,deviceUuid:r.deviceId,openContainer:o});let s=[...he.getFilterTabs([])].find(l=>l.tabId.split("@")[0]===e);return s==null?void 0:s.tabId}static async updateDocumentSource(e){return await C.messageBus.rpcCall("loadDocJsonByUuidAndPath",[e.documentSource,{uuid:e.symbolUuid,path:e.libraryUuid}]).then(i=>i.message!==!1)}static async getRenderImage(e){if(e&&e.symbolUuid&&e.libraryUuid){let i=new pye,o=e.libraryUuid===kn.Project,r=await Ze.getSymbol({uuid:e.symbolUuid,path:e.libraryUuid,isProject:o});if(e.subPartName!==void 0){let s=(await t.getSubPartNames(r)).findIndex(l=>l===e.subPartName);r.partIndex=s>=0?s:0}let n=await i.generateSymbolImg(r,!0);return new Promise(async a=>{let s=document.createElement("canvas"),l=new Image;l.src=n.img,l.onload=async()=>{s.width=l.width,s.height=l.height,s.getContext("2d").drawImage(l,0,0),s.toBlob(c=>{a(c)},"image/png",1)}})}}};var RR=class t{static async create({libraryUuid:e,cbbName:i,classification:o,description:r=""}){let{primaryClassificationUuid:n,secondaryClassificationUuid:a}=o||{};if(W1.includes(e))return;let s={name:i,description:r,public:!1,cbb_project:!0,tags:[n,a],editorVersion:"",user_uuid:e,notChangeClientCreatePrjPath:!0,path:""},l=(await C.messageBus.rpcCall(CK.CLOUD.PROJECT,{project:s})).message;if(l.success){let{uuid:c,name:d}=l.result.project;return await tBe({...l.result,owner:{uuid:e}},void 0,!0),c}}static async delete({cbbUuid:e,libraryUuid:i}){if([kn.SystematicUuid,kn.Star].includes(i))return!1;if(i===kn.Project){let r=await t.getInfo({cbbUuid:e,libraryUuid:i});if(!r)return!1;i=rf(r),ew(r,"cbb",!0,!1,!1,i,[],[],[],[e])}let{message:o}=await C.messageBus.rpcCall(Ei.PROJECT.DELETE,{uuid:e});return o.success?(C.messageBus.publish("deleteDataChooseDeviceDlgCb",{path:i,uuid:e,type:"cbb"}),!0):!1}static async modify({cbbUuid:e,libraryUuid:i,cbbName:o,classification:r,description:n}){if([kn.SystematicUuid,kn.Star].includes(i))return!1;let a=await t.getInfo({cbbUuid:e,libraryUuid:i});if(i===kn.Project)return await HL.modify({symbolUuid:e,libraryUuid:i,symbolName:o,classification:r,description:n});if(!a)return!1;let{name:s,tags:l,description:c}=a,d={uuid:e,path:i,name:o||s,tags:Nv(l),description:c};(n||n==="")&&(d.description=n);let{primaryClassificationUuid:u,secondaryClassificationUuid:p}=r;u!==void 0&&(d.tags=[u,p]);let{message:m}=await C.messageBus.rpcCall(Ei.PROJECT.UPDATE,d);return!(!m.success&&m.code===1000001)}static async getInfo({cbbUuid:e,libraryUuid:i}){if(!e)return;if(i===kn.Project){let r={},n=await Ze.getSymbol({path:i,isProject:i===C.currentProject.projectId,uuid:e});if(n){let a=await FL.getAllBoardsInfo(),s=[];a.forEach(l=>{s.push({itemType:"Board",name:l.name,schematic:l.schematic,pcb:l.pcb,parentProjectUuid:l.parentProjectUuid})}),r.boards=s}return{...n,...r}}let{message:o}=await C.messageBus.rpcCall(Ei.PROJECT.GET,[e]);if(o.success){let r=[];if(e===C.currentProject.projectId)(await FL.getAllBoardsInfo()).forEach(a=>{r.push({itemType:"Board",name:a.name,schematic:a.schematic.uuid,pcb:a.pcb.uuid,parentProjectUuid:a.parentProjectUuid})});else{let n=(await C.messageBus.rpcCall(Ei.PROJECT.GET_PROFILE,{uuid:e,branch_uuid:o.result.branch_uuid})).message;if(n.success&&n.result){let a=JSON.parse(n.result.structure);typeof a=="string"&&(a=JSON.parse(a));let{boards:s,schematics:l,pcbs:c}=a;it(l,(d,u)=>{let{board:p,uuid:m}=u;p&&(s[p].sch=m)}),it(c,(d,u)=>{let{board:p,uuid:m}=u;p&&(s[p].pcb=m)}),it(s,(d,u)=>{r.push({itemType:"Board",name:u.title,schematic:u.sch,pcb:u.pcb,parentProjectUuid:e})})}}return o.result.boards=r,o.result}}static async get({cbbUuid:e,libraryUuid:i}){var r,n;let o=await t.getInfo({cbbUuid:e,libraryUuid:i});if(o)return{libraryType:"1",uuid:e,libraryUuid:o.owner.uuid,name:o.name,description:o.content,classification:{libraryType:"1",libraryUuid:o.owner.uuid,primaryClassificationUuid:(r=o.tags.parent_tag)==null?void 0:r.uuid,secondaryClassificationUuid:(n=o.tags.child_tag)==null?void 0:n.uuid},boards:o.boards}}static async copy({cbbUuid:e,libraryUuid:i,targetLibraryUuid:o,targetClassification:r={},newCbbName:n}){var y,w;if(W1.includes(i))return;let a=await t.getInfo({cbbUuid:e,libraryUuid:i}),s,l=[(y=a.tags)==null?void 0:y.parent_tag.name,(w=a.tags)==null?void 0:w.child_tag.name].filter(x=>x).join(":"),{primaryClassificationUuid:c,secondaryClassificationUuid:d}=r;if(c!==void 0)s=[c,d];else if(l){let[x,S]=await m4(o,Yi.CBB,l);x&&(s=(S?[x,S].join(":"):x).split(":"))}let u={owner:{uuid:o},name:n||a.name,description:a.description||"",tags:s,path:Je?i:"",parent_uuid:o,cbb_project:!0},p=i===kn.Project,{uuid:m,title:h}=a,g={cbb:p?{title:h}:{uuid:m},info:u},{message:b}=await C.messageBus.rpcCall(qr.CBB_AS_CLOUD,g);return b.result.project.uuid}static async search({key:e="",libraryUuid:i=bn,classification:o,itemsOfPage:r,page:n}){let a=o&&[o==null?void 0:o.primaryClassificationUuid,o==null?void 0:o.secondaryClassificationUuid],s=Tr.classificationList.find(u=>u.uuid===i)||{},{lists:l=[],count:c,traceId:d}=await cO(n,r,a||[],0,e.trim(),i===kn.Project,i,s.type);return l.length?l.flat(1).map((u,p)=>{var m,h,f,g;return{uuid:u.uuid,libraryUuid:u.path,classification:{libraryUuid:u.path,libraryType:"1",primaryClassificationUuid:(h=(m=u.tags)==null?void 0:m.parent_tag)==null?void 0:h.uuid,secondaryClassificationUuid:(g=(f=u.tags)==null?void 0:f.child_tag)==null?void 0:g.uuid},ordinal:(n-1)*r+p,name:u.name||u.title,description:u.content||u.description,updateTimestamp:u.updatedTime||u.update_time}}):[]}static async openProjectInEditor({cbbUuid:e,libraryUuid:i}){return[kn.SystematicUuid,kn.Star].includes(i)?!1:(await Ote(!1,!1),(await Os({uuid:e,options:{isNew:!0}})).success)}static async openSymbolInEditor({cbbUuid:e,libraryUuid:i,splitScreenId:o}){if([kn.SystematicUuid,kn.Star].includes(i))return!1;let r=await t.getInfo({cbbUuid:e,libraryUuid:i});if(r){let n;if(i===kn.Project)n=e;else{let l=(await C.messageBus.rpcCall(Ei.PROJECT.GET_PROFILE,{uuid:e,branch_uuid:r.branch_uuid})).message;if(l.success){let c=JSON.parse(l.result.structure);n=Object.keys(c.blockSymbols||{})[0]}}if(!n)return;if(he.isHasTabById(n)){he.simulateClick(n);return}await yn({uuid:n,openContainer:o});let s=[...he.getFilterTabs([])].find(l=>l.tabId.split("@")[0]===n);return s==null?void 0:s.tabId}}};var azo=L(Vi());var a9=class t{static async create({libraryUuid:e,footprintName:i,classification:o,description:r}){if(W1.includes(e))return;let n={},a={data:{formData:{"file-category":[],"file-describe":r,"file-name":i,"file-owner":e}}},{primaryClassificationUuid:s,secondaryClassificationUuid:l}=o||{};if(o===null)a.data.formData["file-category"]=[];else if(s!==void 0){let d=await km.getNameByUuid({libraryUuid:e,libraryType:"4",primaryClassificationUuid:s,secondaryClassificationUuid:l});a.data.formData["file-category"]=[d.primaryClassificationName,d.secondaryClassificationName]}let c=await new Promise(async(d,u)=>{let p=(a.data||{}).formData||{};try{let m={title:p["file-name"],description:p["file-describe"],tags:p["file-category"]||[],docType:+se.FOOTPRINT},h=await Ze.createFootprint({path:p["file-owner"],isProject:p["file-owner"]===C.currentProject.projectId,footprint:{data:m}});Wa(h,1),d(h)}catch{u(null)}});if(c!=null&&c.uuid)return c.uuid}static async delete({footprintUuid:e,libraryUuid:i}){if(i===kn.SystematicUuid)return!1;let o=i==="Project";o&&(i=C.currentProject.projectId);let r=await R3("footprint",e,i);if(!r)return!1;let n=rf(r);return await ew(r,"footprint",o,!1,!1,n,[],[],[],[e])}static async modify({footprintUuid:e,libraryUuid:i,footprintName:o,classification:r={},description:n}){var h,f,g,b;if([kn.SystematicUuid,kn.Star].includes(i))return!1;let a=await R3("footprint",e,i);if(!a.uuid)return!1;let s={dataStr:a.dataStr,description:a.description,docType:a.docType,oldTitle:a.title,owner:a.owner.uuid,path:a.path,tabType:a.docType,tags:[(f=(h=a.tags)==null?void 0:h.parent_tag)==null?void 0:f.name,(b=(g=a.tags)==null?void 0:g.child_tag)==null?void 0:b.name],title:a.title,treeNodeType:void 0,uuid:a.uuid};(!s.owner||s.owner===bn)&&(s.owner=C.currentProject.owner),s.path===bn&&(s.path=C.currentProject.projectId);let{primaryClassificationUuid:l,secondaryClassificationUuid:c}=r;if(r===null)s.tags=[];else if(l!==void 0){let y=await km.getNameByUuid({libraryUuid:i,libraryType:"4",primaryClassificationUuid:l,secondaryClassificationUuid:c});s.tags=[y.primaryClassificationName,y.secondaryClassificationName]}let d=i===kn.Project;o&&(s.title=o),(n||n==="")&&(s.description=n);let u,p;s.title,s.oldTitle;let m=await Ze.updateFootprint({path:i,isProject:i===C.currentProject.projectId,uuid:e,footprint:{path:i,isProject:i===C.currentProject.projectId,uuid:e,override:{title:s.title,description:s.description,tags:s.tags}}});return m?(u=m.ticket,p=m.updateTime,C.messageBus.publish("saveFootprintDataSuccess",{id:`${s.uuid}@${s.path}`,name:s.title,category:m.tags,describe:s.description}),await C.messageBus.rpcCall("refreshFootprintAttrPanelWithDevice",{deviceDetail:null,footprintDetail:m}),d&&(u&&C.messageBus.publish("setTabTicket",{tabids:[m.uuid],ticket:u}),p&&C.messageBus.publish("setTabUpdatedAt",{tabids:[m.uuid],updateTime:p}),await C.messageBus.rpcCall("/pro-mgr/project/sync/force"),C.messageBus.publish("updateFootprintResult",{type:2,data:{modify:{[s.uuid]:s.uuid},footprint:[m]}})),C.messageBus.publish("updateOpenedSheetFootprintTitle",[s.uuid,s.title]),!0):!1}static async getInfo({footprintUuid:e,libraryUuid:i}){return e?(i===kn.Project&&(i=C.currentProject.projectId),await R3("footprint",e,i)):void 0}static async get({footprintUuid:e,libraryUuid:i}){var r,n,a,s;let o=await t.getInfo({footprintUuid:e,libraryUuid:i});if(o)return{libraryType:"4",uuid:e,libraryUuid:o.owner.uuid,name:o.display_title,classification:{libraryUuid:o.owner.uuid,libraryType:"4",primaryClassificationUuid:(n=(r=o.tags)==null?void 0:r.parent_tag)==null?void 0:n.uuid,secondaryClassificationUuid:(s=(a=o.tags)==null?void 0:a.child_tag)==null?void 0:s.uuid},description:o.description}}static async copy({footprintUuid:e,libraryUuid:i,targetLibraryUuid:o,targetClassification:r={},newFootprintName:n}){if(W1.includes(i))return;let a=await R3("footprint",e,i);if(!a)return;let s=[],{primaryClassificationUuid:l,secondaryClassificationUuid:c}=r||{};if(r===null)s=[];else if(l!==void 0){let u=await km.getNameByUuid({libraryUuid:o,libraryType:"4",primaryClassificationUuid:l,secondaryClassificationUuid:c});s=[u.primaryClassificationName,u.secondaryClassificationName]}return(await Ze.createFootprint({path:o,isProject:o===C.currentProject.projectId,footprint:{isProject:i===C.currentProject.projectId,uuid:e,path:i,override:{title:n||a.title,description:a.description,tags:s,docType:se.FOOTPRINT}}})).uuid}static async search({key:e="",libraryUuid:i=bn,classification:o,symbolType:r,itemsOfPage:n,page:a}){let s;if(typeof e=="string"&&(e=e.trim()),i===kn.Project)s=(await i8e({page:a,pageSize:n,searchValue:e,tabType:"footprint",tag:[],symbol_type:r,docTypes:[2,18,19,20,21,22],attributes:{}})).result;else{let c={docType:[se.FOOTPRINT],page:a,pageSize:n,path:i,type:3,uid:i},d=i===bn,u=i===kn.Project;e===""?s=await Cr("privateLibSearch",{isSearch:!1,isProjectLib:u,reqData:c}):(c.wd=e,c.returnListStyle="classifyarr",s=await t7(c,Tt.FOOTPRINT,d,u))}return s!=null&&s.lists?Object.values(s.lists).flat(1).map((c,d)=>{var u,p,m,h,f,g,b,y;return{uuid:c.uuid,libraryUuid:((u=c.owner)==null?void 0:u.uuid)||c.path||i,classification:{libraryUuid:((p=c.owner)==null?void 0:p.uuid)||c.path||i,libraryType:"4",primaryClassificationUuid:(h=(m=c.tags)==null?void 0:m.parent_tag)==null?void 0:h.uuid,secondaryClassificationUuid:(g=(f=c.tags)==null?void 0:f.child_tag)==null?void 0:g.uuid},ordinal:(a-1)*n+d,name:c.display_title,type:c.docType,description:c.description,updateTimestamp:c.updateTime,ascription:(b=c.owner)==null?void 0:b.username,lastModifiedBy:(y=c.modifier)==null?void 0:y.nickname}}):[]}static async openInEditor({footprintUuid:e,libraryUuid:i,splitScreenId:o}){if([kn.SystematicUuid,kn.Star].includes(i))return!1;let r=await R3("footprint",e,i);if(!r)return;let n=i===kn.Project;await GS(r,n,{openContainerId:o},!0,l=>{var d;let c=he.getTabById(l);c&&((d=c==null?void 0:c.data)!=null&&d.isFormBottomBar)&&he.setTabData(l,{path:Vm()})});let s=[...he.getFilterTabs([])].find(l=>l.tabId.split("@")[0]===e);return s==null?void 0:s.tabId}static async updateDocumentSource({footprintUuid:e,libraryUuid:i,documentSource:o}){var s;let r=Fp(e,i),n=QP,a=fg(r);if(!a){let l=(0,azo.default)(".preview-iframe-pcb-wrap");a=g1(l[0],r,se.FOOTPRINT),await new Promise(p=>{a.onload=function(){p(!0)}});let d=await R3("footprint",e,i),u={docType:se.FOOTPRINT,tabId:r,commSystemSetting:hn(),isPreview:!1,currOpenProjectId:C.currentProject.projectId,dataStr:d.history_uuid?"":d.dataStr,isOldDataString:(s=d.dataStr)==null?void 0:s.trim().startsWith("[")};await C.windowBridge.rpcCall("rpcInitFrameInfo",u,a.contentWindow),n=()=>{a.remove()}}return await C.windowBridge.rpcCall("pcb/decode",o,a.contentWindow).then(async l=>(await C.windowBridge.rpcCall("pcb/saveCompiler","",a.contentWindow),n(),!!l.message))}static async getRenderImage(e){if(e&&e.footprintUuid&&e.libraryUuid){let i=hc.deviceImgData,o=e.libraryUuid===kn.Project,r=await Ze.getFootprint({uuid:e.footprintUuid,path:e.libraryUuid,isProject:o}),n=await i.generateFootprintImg(r,!1);return new Promise(async a=>{let s=document.createElement("canvas"),l=new Image;l.src=n.img,l.onload=async()=>{s.width=l.width,s.height=l.height,s.getContext("2d").drawImage(l,0,0),s.toBlob(c=>{a(c)},"image/png",1)}})}}};var HF=class t{static async create({libraryUuid:e,panelLibraryName:i,classification:o,description:r}){if(W1.includes(e))return;let n={dataStr:void 0,desc:r,owner:e,path:"",tags:[],title:i},a=C.loginedUserInfo,{primaryClassificationUuid:s,secondaryClassificationUuid:l}=o||{};if(s!==void 0){let f=await km.getNameByUuid({libraryUuid:e,libraryType:"29",primaryClassificationUuid:s,secondaryClassificationUuid:l});n.tags=[f.primaryClassificationName,f.secondaryClassificationName]}let{title:c,desc:d,owner:u,path:p,tags:m}=n,h={title:c,description:d,docType:se.PANEL_LIB,owner:u,tags:m,path:C.loginedUserInfo.uuid};if(!(c.length<1||c.length>128))try{let f=await Ze.createPanelLib({path:e,isProject:e===C.currentProject.projectId,panelLib:{data:h}});return cc.setSaveAsDataStr(""),f.uuid}catch{}}static async delete({panelLibraryUuid:e,libraryUuid:i}){return W1.includes(i)?void 0:await cc.deletePanelLib(e,{path:i})?(he.closeTopTab(`${e}@${i}`),!0):!1}static async modify({panelLibraryUuid:e,libraryUuid:i,panelLibraryName:o,classification:r={},description:n}){var u,p;if(W1.includes(i))return;let a=await cc.getPanelLibData(e,null,{uuid:e,path:i}),s={uuid:e,path:i};if(!(a!=null&&a.uuid))return!1;s.title=a.title,s.tags=[(u=a.tags.parent_tag)==null?void 0:u.name,(p=a.tags.child_tag)==null?void 0:p.name],s.description=a.description,o&&(s.title=o),n&&(s.description=n);let{primaryClassificationUuid:l,secondaryClassificationUuid:c}=r;if(r===null)s.tags=[];else if(l!==void 0){let m=await km.getNameByUuid({libraryUuid:i,libraryType:"29",primaryClassificationUuid:l,secondaryClassificationUuid:c});s.tags=[m.primaryClassificationName,m.secondaryClassificationName]}return!!await cc.updatePanelLib(s.uuid,s)}static async getInfo({panelLibraryUuid:e,libraryUuid:i}){if(e)try{let o=await ts.fetchComponentItem(i===C.currentProject.projectId,e,i);return o?o.result:null}catch{}}static async get({panelLibraryUuid:e,libraryUuid:i}){var r,n,a,s;let o=await t.getInfo({panelLibraryUuid:e,libraryUuid:i});if(o)return{libraryType:"29",uuid:o.uuid,name:o.display_title,libraryUuid:o.owner.uuid,classification:{libraryUuid:o.owner.uuid,libraryType:"29",primaryClassificationUuid:(n=(r=o.tags)==null?void 0:r.parent_tag)==null?void 0:n.uuid,secondaryClassificationUuid:(s=(a=o.tags)==null?void 0:a.child_tag)==null?void 0:s.uuid},description:o.description}}static async copy({panelLibraryUuid:e,libraryUuid:i,targetLibraryUuid:o,targetClassification:r={},newPanelLibraryName:n}){if(W1.includes(i)||i==="project")return;let s=await Ze.getPanelLib({path:i,isProject:i===C.currentProject.projectId,uuid:e})||null;if(!s)return;let l={title:n||s.display_title,description:s.description,tags:[s.tags.parent_tag.uuid,s.tags.child_tag.uuid],docType:se.PANEL_LIB,owner:o,path:C.loginedUserInfo.uuid},{primaryClassificationUuid:c,secondaryClassificationUuid:d}=r||{};if(r===null)l.tags=[];else if(c!==void 0){let u=await km.getNameByUuid({libraryUuid:i,libraryType:"29",primaryClassificationUuid:c,secondaryClassificationUuid:d});l.tags=[u.primaryClassificationName,u.secondaryClassificationName]}n&&!(n.length<1||n.length>128)&&(l.title=n);try{let u=await Ze.createPanelLib({path:o,isProject:o===C.currentProject.projectId,panelLib:{data:l}});if(u&&s.path&&s.uuid){let{message:p}=await C.messageBus.rpcCall("copyPanelLib",{origin:{uuid:s.uuid,path:s.path},target:{uuid:u.uuid,path:u.path}})}return cc.setSaveAsDataStr(""),u.uuid}catch{}}static async search({key:e="",libraryUuid:i=bn,classification:o,itemsOfPage:r,page:n}){if(i===kn.Project)return[];let a={docType:[se.PANEL_LIB],page:n,pageSize:r,path:i,type:3,uid:i},{primaryClassificationUuid:s,secondaryClassificationUuid:l}=o||{};s!==void 0&&(a.tags=[s,l]);let c=i===bn,d=i===kn.Project,u;return e===""?u=await Cr("privateLibSearch",{isSearch:!1,isProjectLib:d,reqData:a}):(a.wd=e,a.returnListStyle="classifyarr",u=await t7(a,Tt.PANEL_LIB,c,d)),u!=null&&u.lists?Object.values(u.lists).flat(1).map((p,m)=>{var h,f,g,b;return{uuid:p.uuid,libraryUuid:p.owner.uuid,classification:{libraryUuid:i,libraryType:"29",primaryClassificationUuid:(f=(h=p.tags)==null?void 0:h.parent_tag)==null?void 0:f.uuid,secondaryClassificationUuid:(b=(g=p.tags)==null?void 0:g.child_tag)==null?void 0:b.uuid},ordinal:(n-1)*r+m,name:p.title,type:p.docType,description:p.description,updateTimestamp:p.updateTime}}):[]}static async openInEditor({panelLibraryUuid:e,libraryUuid:i,splitScreenId:o}){if([kn.SystematicUuid,kn.Star].includes(i))return!1;if(he.isHasTabById(e)){he.simulateClick(e);return}await yn({uuid:e,path:i,openContainer:o});let n=[...he.getFilterTabs([])].find(a=>a.tabId.split("@")[0]===e);return n==null?void 0:n.tabId}};var s9=class s9{static async netlistComparison(e){return await s9.handleCompare(e)}static async handleCompare({netlist1:e,netlist2:i}){if(!(!e||!i))try{if(e=await s9.getNetListData(e,1),i=await s9.getNetListData(i,2),e!=null&&e.repeatMap&&Object.keys(e==null?void 0:e.repeatMap).length>0||i!=null&&i.repeatMap&&Object.keys(i==null?void 0:i.repeatMap).length>0)return console.error("\u5668\u4EF6\u5B58\u5728\u91CD\u590D\u4F4D\u53F7\uFF0C\u751F\u6210\u7F51\u8868\u5931\u8D25"),!1;if(e&&i){let o=s9.convertCompareList(e),r=s9.convertCompareList(i),n={pkgMap:{},netMap:{},propertiesMap:{},netValue2key:{},pinMap:o.pinMap,componentMap:o.componentMap},a={pkgMap:{},netMap:{},propertiesMap:{},netValue2key:{},pinMap:r.pinMap,componentMap:r.componentMap},s=!1;return s9.compareTelNet(o,r,(l,c,d)=>{s=!0,typeof d=="string"?En(n[l],c).push(d):Array.isArray(d)&&En(n[l],c).push(...d)},(l,c,d)=>{s=!0,typeof d=="string"?En(a[l],c).push(d):Array.isArray(d)&&En(a[l],c).push(...d)}),s9.compareDataHandler(n,a)}else console.error("\u6CA1\u6709\u7F51\u8868\u6570\u636E")}catch{console.error("\u5BFC\u51FA\u7F51\u8868\u5931\u8D25")}}static compareTelNet(e,i,o,r){it(e.pkgMap,(a,s)=>{i.pkgMap[a]?(n(s,i.pkgMap[a],"pkgMap",a),delete i.pkgMap[a],delete e.pkgMap[a]):o("pkgMap",a,s)}),it(i.pkgMap,(a,s)=>{r("pkgMap",a,s)}),it(e.netMap,(a,s)=>{i.netMap[a]?(n(s,i.netMap[a],"netMap",a),delete i.netMap[a],delete e.netMap[a]):o("netMap",a,s)}),it(i.netMap,(a,s)=>{r("netMap",a,s)}),it(e.propertiesMap,(a,s)=>{i.propertiesMap[a]?(n(s,i.propertiesMap[a],"propertiesMap",a),delete i.propertiesMap[a],delete e.propertiesMap[a]):o("propertiesMap",a,s)}),it(i.propertiesMap,(a,s)=>{r("propertiesMap",a,s)});function n(a,s,l,c){let d=a.sort((m,h)=>ue.naturalSortComparator(ue.naturalSortSplitor(m),ue.naturalSortSplitor(h))),u=s.sort((m,h)=>ue.naturalSortComparator(ue.naturalSortSplitor(m),ue.naturalSortSplitor(h)));p(d,u);function p(m,h){let f=0,g=0;for(;!(f===h.length||g===m.length);){let b=ue.naturalSortComparator(ue.naturalSortSplitor(m[g]),ue.naturalSortSplitor(h[f]));b>0?(r(l,c,s[f]),f++):b<0?(o(l,c,a[g]),g++):(f++,g++)}for(;f<h.length;f++)r(l,c,s[f]);for(;g<m.length;g++)o(l,c,a[g])}}}static convertCompareList(e){let i={pkgMap:{},netMap:{},propertiesMap:{},netValue2key:{},pinMap:{},componentMap:{}},o={},r=(e==null?void 0:e.componentPinIdMap)||{};return it(e.componentMap||e.netList.components||e.getComponentMap(),(n,{nets:a,pins:s,props:l,uniqueId:c,source:d})=>{let u=l[jr.DESIGNATOR];it(a||s,(p,m)=>{var f;let h=`${u}.${p}`;if(m){En(o,m).push(h);let g=((f=d==null?void 0:d.pinIdMap)==null?void 0:f[h])||p;n in r&&(g=r[n][p]),i.pinMap[h]={tabId:d==null?void 0:d.pageId,eId:g}}}),En(i.pkgMap,l.FootprintName).push(u),i.componentMap[u]={tabId:d==null?void 0:d.pageId,eId:d==null?void 0:d.componentId}}),Object.keys(o).length===0&&"netMap"in e&&(o=e.netMap),it(o,(n,a)=>{n=ycn(n);let s=a.sort((l,c)=>ue.naturalSortComparator(ue.naturalSortSplitor(l),ue.naturalSortSplitor(c)));i.netMap[n]=s,i.netValue2key[s.join("|")]=n}),i}static getNetListData(e,i){if(e instanceof File)return xH(e,["GB2312","utf8"]).then(async({fileRes:o})=>{let r=HSe(o.name||o.title||""),n=null;switch(r){case"Allegro":case"Allegro_txt":n=new dB(o.content.toString()).decode();break;case"JLCEDA":case"EasyEDA":n=await new Y2(o.content.toString()).decode();break;case"PADS":n=new Sq(o.content.toString()).decode();break;case"Protel2":{o.content.toString().startsWith("$PACKAGES")?n=new dB(o.content.toString()).decode():n=new Mq(o.content.toString()).decode();break}case"zuken":{n=new gye(o.content.toString()).decode();break}case"PADS_Layout":{n=new bye(o.content.toString()).decode();break}default:return}return n});if(typeof e=="string")return s9.getNetlistByUuid(e,i)}static async getBOMNetListSelectList(){let e=he.getActiveTab();return await C.messageBus.rpcCall("getBOMNetListSelectList",e).then(i=>{let{rangeSchList:o,rangePcbList:r}=i.message;return o.forEach(a=>{a.showOriginalText=!0}),r.forEach(a=>{a.showOriginalText=!0}),r.length>0&&(r[0].style={borderTop:"1px solid #dcdcdc"}),[...o,...r]})}static compareDataHandler(e,i){let o=[],r=[],n=new Set([...Object.keys(e.netMap),...Object.keys(i.netMap)]),a=new Set([...Object.keys(e.pkgMap),...Object.keys(i.pkgMap)]),s=ue.naturalSort([...n]),l=ue.naturalSort([...a]);return it(s,(c,d)=>{o.push({type:"NET",object:d,net1:e.netMap[d]||[],net2:i.netMap[d]||[]})}),it(l,(c,d)=>{r.push({type:"COMPONENT",object:d,net1:e.pkgMap[d]||[],net2:i.pkgMap[d]||[]})}),[...o,...r]}};s9.getNetlistByUuid=async(e,i)=>{var n;if((await s9.getBOMNetListSelectList()).filter(a=>e===a.id)[0].isPcb){let a=(await C.messageBus.rpcCall($e.PCB.GET,[e,C.currentProject.projectId])).message,s=C.currentProject.projectId,l=(await C.pcbMessageBus.rpcCall("pcb/decodePcbWorldInWorker",{uuid:e,docType:ve.PCB,projectId:s,options:{data:{title:a.title,pcbPageId:e,noUniqueId:!0}},env:{tabId:e+Zc+s,windowTabId:(n=ko())==null?void 0:n._TAB_ID_},decodeTopic:"exportNetList"})).message;return(l==null?void 0:l.netList)||console.error("pcb \u7F51\u8868\u751F\u6210\u5931\u8D25",a.title),l}else return(await C.messageBus.rpcCall("getCompareNetlist",e)).message};var Xdt=s9;function ycn(t){return t===void 0||t===""?"":/^[a-zA-Z0-9*]*$/m.test(t)||t.startsWith("'")?t:"'"+t.replace("'","''")+"'"}var $dt=class{static async restoreDefault(){try{let e=await CDt();vr.clear(),Object.keys(e).forEach(n=>{vr.set(n,e[n])});let i=await QWe();i.frameStore.menuId;for(let n in po)i.frameStore.menuId=n,await KWe(po[n],i);let o=await fMe(i),r={action:"apply",result:o,nowMenuSelected:i.frameStore.menuId,changeModules:Object.values(po),waitForSaveTags:Object.values(po),data:o};return await xDt(r),ms.setThemePreference(aZ(i.systemAppStore.storage.themePreference)),!0}catch{return!1}}};var pie=class t{static async getAll(e){return(await C.messageBus.rpcCall("extensionApi/sch/circleAndArc/getAll",{cmd:e})).message||[]}static async create(e){e.y1=-e.y1,e.y2=-e.y2,e.y3=-e.y3;let i=(await C.messageBus.rpcCall("extensionApi/SCH_PrimitiveArcUtil3_create",e)).message;if(i)return i}static delete(e){return e?(C.messageBus.publish("deleteObjs",{ids:e}),!0):!1}static modify(e){let{id:i,modify:o}=e;o.y1.value=-o.y1.value,o.y2.value=-o.y2.value,o.y3.value=-o.y3.value;let r={};for(let n in o)o[n].value!==null&&(r[n]=o[n].value);C.messageBus.publish("extensionApi/SCH_PrimitiveArcUtil3_modify",{id:i,data:r})}static async get(e){let i=await t.getAll("arc");if(Array.isArray(e)){let o=[];return e.forEach(r=>{let n=i.find(a=>a.primitiveId===r);n&&o.push(n)}),o}else{let o=i.find(r=>r.primitiveId===e);if(o)return o}}};var mie=class t{static async getAll(e){return(await C.messageBus.rpcCall("extensionApi/sch/circleAndArc/getAll",{cmd:e})).message||[]}static async create(e){let i=(await C.messageBus.rpcCall("extensionApi/SCH_PrimitiveCircleUtil3_create",e)).message;if(i)return i}static delete(e){return C.messageBus.publish("deleteObjs",{ids:e}),!0}static modify(e){let{id:i,modify:o}=e,r={};for(let n in o)o[n].value!==null&&(r[n]=o[n].value);C.messageBus.publish("extensionApi/SCH_PrimitiveCircleUtil3_modify",{id:i,data:r})}static async get(e){let i=await t.getAll("circle");if(Array.isArray(e)){let o=[];return e.forEach(r=>{let n=i.find(a=>a.primitiveId===r);n&&o.push(n)}),o}else{let o=i.find(r=>r.primitiveId===e);if(o)return o}}};var Zy=class t{static async create({componentUuid:e,subLibraryId:i,x:o,y:r,libraryPath:n,rotation:a,mirror:s,addIntoBom:l,addIntoPcb:c,name:d}){return new Promise(async(u,p)=>{var y,w;let m=t,h,f=await Ze.getDevice({uuid:e,path:n,isProject:n===C.currentProject.projectId}),g,b;if(f){if((y=f.attributes)!=null&&y.Symbol){if(g=await Ze.getSymbol({uuid:f.attributes.Symbol,path:n,isProject:n===C.currentProject.projectId}),!g){De({type:"error",msg:"Device symbol doesn't exist"});return}}else{De({type:"error",msg:"Device symbol doesn't exist"});return}(w=f.attributes)!=null&&w.Footprint&&(b=await Ze.getFootprint({uuid:f.attributes.Footprint,path:n,isProject:n===C.currentProject.projectId}));let x={"Add into BOM":l?"yes":"no","Convert to PCB":c?"yes":"no"};d!==void 0&&(x.Name=d),h={...f,extraInfo:{partTitle:i,placeInfo:{x:o,y:r,rotation:a,isMirror:s},modifyAttr:x,hooks:{afterPlaced:T=>{u(T)}},autoConfigAttr:!0}};let S=await m.placeDevice(h,g,b,n);console.log(S)}})}static async createCbbSymbol(e){let{cbbSymbol:i,x:o,y:r,rotation:n,mirror:a}=e,{cbbUuid:s,uuid:l,name:c}=i;return new Promise(async(d,u)=>{try{C.messageBus.publish("sch/gVars.actionRunner.start",{name:"GeneralDrawOrPlace"}),await Zq({docType:ve.BLOCK_SYMBOL,uuid:l,name:c,project_uuid:s||C.currentProject.projectId},s==="",{placeInfo:{x:o,y:r,rotation:n,isMirror:a},hooks:{afterPlaced:p=>{C.messageBus.publish("sch/gVars.actionRunner.end"),d(p)}}})}catch(p){console.log(p),C.messageBus.publish("sch/gVars.actionRunner.end")}})}static async placeCbbSchematicPage(e){let{cbbSchematicPage:i,x:o,y:r}=e,{cbbUuid:n,uuid:a}=i;return new Promise(async(s,l)=>{C.messageBus.publish("sch/gVars.actionRunner.start",{name:"GeneralDrawOrPlace"});try{await Zq({docType:ve.SCH,uuid:a,project_uuid:n||C.currentProject.projectId},n==="",{placeInfo:{x:o,y:r},hooks:{afterPlaced:c=>{C.messageBus.publish("sch/gVars.actionRunner.end"),s(c)}}})}catch(c){console.log(c),C.messageBus.publish("sch/gVars.actionRunner.end")}})}static async placeComponentWithMouse(e){let{uuid:i,libraryUuid:o,subLibraryId:r}=e;return new Promise(async(n,a)=>{var p,m;let s=t,l,c=await s.getDeviceData({uuid:i,path:o}),d,u;if(c){if((p=c.attributes)!=null&&p.Symbol){if(d=await Ze.getSymbol({uuid:c.attributes.Symbol,path:o,isProject:o===C.currentProject.projectId}),!d){De({type:"error",msg:"Device symbol doesn't exist"});return}}else{De({type:"error",msg:"Device symbol doesn't exist"});return}(m=c.attributes)!=null&&m.Footprint&&(u=await Ze.getFootprint({uuid:c.attributes.Footprint,path:o,isProject:o===C.currentProject.projectId})),l={...c,extraInfo:{partTitle:r,hooks:{afterPlacing:()=>{n(!0)}},autoConfigAttr:!0}},await s.placeDevice(l,d,u,o)}})}static async getDeviceData({uuid:e,path:i}){let o=await Ze.getDevice({uuid:e,path:i,isProject:i===C.currentProject.projectId});if(!o)throw De({type:"error",msg:"Device data error"}),new Error("Device data error");return o}static async placeDevice(e,i,o,r){return await N4.placeDevice(e,!1,dt(),i,o,r,!0,!1)}static delete(e){return typeof e=="string"&&(e=[e]),C.messageBus.publish("deleteObjs",{ids:e}),!0}static get(e){typeof e=="string"&&(e=[e]);let i;return C.messageBus.publish("sch/component/get",{ids:e,cb:o=>{i=o}}),i}static getAll(e){let{componentType:i,allSchematicPages:o}=e,r;return C.messageBus.publish("sch/component/getAll",{cmdKey:i,allSchematicPages:o,cb:n=>{r=n}}),r}static getAllPrimitiveId(e){let{componentType:i,allSchematicPages:o}=e;return t.getAll({componentType:i,allSchematicPages:o}).map(n=>n.id)}static modify(e){let{id:i,position:o,attr:r}=e,n;return C.messageBus.publish("sch/component/modify",{id:i,position:o,attr:r,cb:a=>{n=a}}),n}};var hie=class{static getAllPrimitiveId(){let e;return C.messageBus.publish("extensionApi/SCH_PrimitivePin3_getPartJson",{cb:i=>{e=i}}),e==null?void 0:e.data}static getPinJson(e){let i;return C.messageBus.publish("extensionApi/SCH_PrimitivePin3_get",{pinId:e,cb:o=>{i=o}}),i==null?void 0:i.data}static delete(e){return C.messageBus.publish("deleteObjs",{ids:e}),!0}static async create(e){let i;return C.messageBus.publish("extensionApi/SCH_PrimitivePin3_create",{pin:e,cb:o=>{i=o}}),i==null?void 0:i.data}static modify(e){let i;return C.messageBus.publish("extensionApi/SCH_PrimitivePin3_modify",{pin:e,cb:o=>{i=o}}),i==null?void 0:i.data}};var Bce=class t{static async getAllPrimitiveId(){return(await C.messageBus.rpcCall("extensionApi/SCH_PrimitivePolylineUtil3_get")).message}static async create(e){return e.pointArr=t.converPointArr(e.pointArr),(await C.messageBus.rpcCall("extensionApi/SCH_PrimitivePolylineUtil3_create",e)).message}static delete(e){return C.messageBus.publish("deleteObjs",{ids:e}),!0}static modify(e){let{primitiveId:i,pointArr:o=null,color:r=null,fillColor:n=null,lineWidth:a=null,lineType:s=null}=e,l={},c;o&&(c=t.converPointArr(o)),c&&(l.pointArr=c),n&&(l.fillColor=n),r&&(l.strokeColor=r),a&&(l.strokeWidth=a),s&&(l.strokeStyle=s),C.messageBus.publish("extensionApi/SCH_PrimitivePolylineUtil3_modify",{id:i,data:l})}static converPointArr(e){return e.reduce((i,o,r,n)=>(r%2===0&&n[r+1]!==void 0&&i.push(new Mb(o,-n[r+1])),i),[])}};var zce=class{static async getAllPrimitivesJsonCache(){return(await C.messageBus.rpcCall("extensionApi/SCH_PrimitiveRectangleUtil3_get")).message}static async create(e){return(await C.messageBus.rpcCall("extensionApi/SCH_PrimitiveRectangleUtil3_create",{...e,tabId:C.tabId})).message}static delete(e){return C.messageBus.publish("deleteObjs",{ids:e}),!0}static modify(e){let{primitiveId:i,topLeftX:o,topLeftY:r,width:n,height:a,cornerRadius:s=null,rotation:l=null,color:c=null,fillColor:d=null,fillStyle:u=null,lineWidth:p=null,lineType:m=null}=e,h={};o!==null&&(h.x=o),r!==null&&(h.y=-r),n!==null&&(h.endX=o+Number(n)),a!==null&&(h.endY=-r+Number(a)),s!==null&&(h.cornerRatio=s),l!==null&&(h.rotation=l),c!==null&&(h.strokeColor=c),d!==null&&(h.fillColor=d),u!==null&&(h.fillStyle=u),p!==null&&(h.strokeWidth=p),m!==null&&(h.strokeStyle=m),C.messageBus.publish("extensionApi/SCH_PrimitiveRectangleUtil3_modify",{id:i,data:h})}};var w6=class t{static create(e,i,o){C.messageBus.publish("extensionApi.SCH_PrimitiveWireBusUtil3.create",{info:e,type:i,cb:r=>{o(r)}})}static delete(e){return typeof e=="string"&&(e=[e]),C.messageBus.publish("deleteObjs",{ids:e}),!0}static modify({primitiveId:e,...i},o,r){let{line:n,net:a,color:s,lineType:l,lineWidth:c}=i;[n,a,s,l,c].every(d=>vn(d))&&r(null),C.messageBus.rpcCall("extensionApi.SCH_PrimitiveWireBusUtil3.modify",{info:i,type:o,primitiveId:e,cb:d=>{r(d)}})}static get(e){typeof e=="string"&&(e=[e]);let i;return C.messageBus.publish("extensionApi.SCH_PrimitiveWireBusUtil3.get",{primitiveIds:e,cb:o=>{i=o}}),i==null?void 0:i.data}static getAllPrimitiveId(e,i){let o=[];return typeof i=="string"&&(i=[i]),Array.isArray(i)&&i.length>0?C.messageBus.publish("sch/getNetGroupInfoByNetName",{data:i,getter(r){r&&o.push(...r)}}):C.messageBus.publish("sch/getAllNetGroupIds",{type:e,getter(r){o.push(...r)}}),o}static getAll(e,i){let o=t.getAllPrimitiveId(e,i);return this.get(o).filter(Boolean)}};var _R=class{static async create(e){return Li()?await Pt(kt.Pcb.CopperCreate,e):null}static async delete(e){return Li()?await Pt(kt.Pcb.CopperDelete,e):null}static async modify(e){return Li()?await Pt(kt.Pcb.CopperModify,e):null}static async getByIds(e){return Li()?await Pt(kt.Pcb.CopperGetByIds,e):null}static async getCopperRegion(e){return Li()?await Pt(kt.Pcb.CopperGetCopperRegion,e):null}static async rebuildCopperRegion(e){return Li()?await Pt(kt.Pcb.RebuildCopperRegion,e):null}static async getAll(e){return Li()?await Pt(kt.Pcb.CopperGetAll,e):null}static async convertToType(e){return Li()?await Pt(kt.Pcb.CopperConvertToType,e):null}};var QQ=class{static async create(e){return Li()?await Pt(kt.Pcb.FillCreate,e):null}static async delete(e){return Li()?await Pt(kt.Pcb.FillDelete,e):null}static async modify(e){return Li()?await Pt(kt.Pcb.FillModify,e):null}static async getByIds(e){return Li()?await Pt(kt.Pcb.FillGetByIds,e):null}static async getAll(e){return Li()?await Pt(kt.Pcb.FillGetAll,e):null}static async convertToType(e){return Li()?await Pt(kt.Pcb.FillConvertToType,e):null}};var KQ=class{static async create(e){return Li()?await Pt(kt.Pcb.RegionCreate,e):null}static async delete(e){return Li()?await Pt(kt.Pcb.RegionDelete,e):null}static async modify(e){return Li()?await Pt(kt.Pcb.RegionModify,e):null}static async getByIds(e){return Li()?await Pt(kt.Pcb.RegionGetByIds,e):null}static async getAll(e){return Li()?await Pt(kt.Pcb.RegionGetAll,e):null}static async convertToType(e){return Li()?await Pt(kt.Pcb.RegionConvertToType,e):null}};var fie=class{static async create(e){return Li()?await Pt(kt.Pcb.StringCreate,e):null}static async delete(e){return Li()?await Pt(kt.Pcb.StringDelete,e):null}static async modify(e){return Li()?await Pt(kt.Pcb.StringModify,e):null}static async getByIds(e){return Li()?await Pt(kt.Pcb.StringGetByIds,e):null}static async getAll(e){return Li()?await Pt(kt.Pcb.StringGetAll,e):null}};var Fce=class{static async delete(e){return Li()?await Pt(kt.Pcb.AttributeDelete,e):null}static async modify(e){return Li()?await Pt(kt.Pcb.AttributeModify,e):null}static async getByIds(e){return Li()?await Pt(kt.Pcb.AttributeGetByIds,e):null}static async getAll(){return Li()?await Pt(kt.Pcb.AttributeGetAll):null}};var a8e=class{static async openUI({uiName:e,args:i}){await et(e,i)}static getCurrentTheme(){return ms.getActiveTheme()}};var gie=class{static async delete(e){return Li()?await Pt(kt.Pcb.PouredDelete,e):null}static async deletePourFills(e){return Li()?await Pt(kt.Pcb.PouredDeletePourFills,e):null}static async convertToFill(e){return Li()?await Pt(kt.Pcb.PouredConvertToFill,e):null}static async addSolderMaskFill(e){return Li()?await Pt(kt.Pcb.PouredAddSolderMaskFill,e):null}static async getAll(){return Li()?await Pt(kt.Pcb.PouredGetAll):null}};var eut=class{static setKeepProjectHasOnlyOneBoard(e){Gc.setStatus(e)}};var tut=class{static async changeMenu({menuId:e,menuItems:i,extensionUuid:o}){return vB.setMenu(e+"_"+o,i,o),!0}};var iut=class{static async getBottomComponentLibraryCurrentRowInfo(){let e;return C.messageBus.publish("componentLib/getCurrentSelectedRowInfo",i=>{e=i}),e}};var H4e=class{static async importChanges(e){let{source:i}=e||{};return i||(i="pcb2sch"),{success:await NB(i)}}static async autoRouting(e){return await C.messageBus.rpcCall("sch/autoWiring",e)}static async autoLayout(e){return await C.messageBus.rpcCall("sch/autoLayout",e)}};var s8e=class t{static showFollowMouseTip({tip:e,msTimeout:i}){var m;(m=t.removeFun)==null||m.call(t),t.currentTip=e;let o=document.createElement("div");o.innerHTML=e;let r=19,{clientX:n,clientY:a}=window.event;Object.assign(o.style,{position:"fixed",zIndex:"1111111",top:`${r}px`,left:"0",color:"white",backgroundColor:"#333",opacity:"0.7",borderRadius:"2px",padding:"6px",fontSize:"14px",pointerEvents:"none",transform:`translate(${n}px, ${a}px)`}),document.body.appendChild(o),document.addEventListener("mousemove",p),document.addEventListener("mouseleave",l),document.addEventListener("mouseenter",c);let s=function(){let h=[...document.querySelectorAll("iframe")];h.forEach(f=>f.contentWindow.document.removeEventListener("mousemove",p)),h.forEach(f=>f.contentWindow.document.addEventListener("mousemove",p)),h.forEach(f=>f.removeEventListener("mouseenter",d)),h.forEach(f=>f.addEventListener("mouseenter",d)),h.forEach(f=>f.removeEventListener("mouseleave",u)),h.forEach(f=>f.addEventListener("mouseleave",u))};s(),C.messageBus.subscribe("tabChange",()=>{s()}),t.removeFun=()=>{document.body.removeChild(o),s=function(){},t.removeFun=function(){},document.removeEventListener("mousemove",p),document.removeEventListener("mouseleave",l),document.removeEventListener("mouseenter",c);let h=[...document.querySelectorAll("iframe")];h.forEach(f=>f.contentWindow.document.removeEventListener("mousemove",p)),h.forEach(f=>f.removeEventListener("mouseenter",d)),h.forEach(f=>f.removeEventListener("mouseleave",u))},Vle(i)&&setTimeout(t.removeFun,i);function l(){o.style.visibility="hidden"}function c(){o.style.visibility="visible"}function d(h){var b,y;let{top:f=0,left:g=0}=((y=(b=h.currentTarget).getBoundingClientRect)==null?void 0:y.call(b))||{};o.style.top=`${f+r}px`,o.style.left=`${g}px`}function u(){o.style.top=`${0+r}px`,o.style.left="0px"}function p(h){let{clientX:f,clientY:g}=h;o.style.transform=`translate(${f}px, ${g}px)`}}static removeFollowMouseTip({tip:e}){e&&e!==t.currentTip||t==null||t.removeFun()}};var lZt=L(hS()),Uce=class t{static async convertAltiumDesignerLibrariesToEasyEDASingleFile(e){let i=await t.handleFile(e,"altium"),o=t.createDeviceByNotBindDeviceSymbolOrFootprint(i);return await t.buildFile(o)}static async convertAltiumDesignerLibrariesToEasyEDAMultiFiles(e){let i=await t.handleFile(e,"altium"),o=t.createDeviceByNotBindDeviceSymbolOrFootprint(i);return await t.buildFile2(o)}static async convertDisaLibrariesToEasyEDASingleFile(e){let i=await t.handleFile(e,"disa-4001"),o=t.createDeviceByNotBindDeviceSymbolOrFootprint(i);return await t.buildFile(o)}static async convertDisaLibrariesToEasyEDAMultiFiles(e){let i=await t.handleFile(e,"disa-4001"),o=t.createDeviceByNotBindDeviceSymbolOrFootprint(i);return await t.buildFile2(o)}static async handleFile(e,i){e=Array.isArray(e)?e:[e];let o="easyeda-pro-2",n=(await yA(e,{decodingType:i})).decodingData,s={decodingOptions:{decodingType:i,decodingData:n},encodingOptions:{encodingType:o,encoderOptions:{associate3D:!0}}};i==="altium"&&await uVt(s);let l=await Bf.formatConversion(s);return new __().start(l.result.project.dataStr)}static createDeviceByNotBindDeviceSymbolOrFootprint(e){let{devices:i,symbols:o,footprints:r}=e,n=[],a=[],s=new Set,l=new Set;for(let c in i){let d=i[c],u=d.attributes.Symbol;u||s.add(u),d.attributes.Footprint&&l.add(d.attributes.Footprint)}for(let c in o)!s.has(c)&&n.push(o[c]);for(let c in r)!l.has(c)&&a.push(r[c]);return n.forEach(c=>{let{uuid:d,title:u,creator:p,createTime:m,modifier:h,updateTime:f}=c,g=u+d,b={title:u,creator:p,createTime:m,images:[],source:"",modifier:h,tags:[],updateTime:f,uuid:g,attributes:{Symbol:d}};i[g]=b}),a.forEach(c=>{let{uuid:d,title:u,creator:p,createTime:m,modifier:h,updateTime:f}=c,g=u+d,b={title:u,creator:p,createTime:m,images:[],source:"",modifier:h,tags:[],updateTime:f,uuid:g,attributes:{Footprint:d}};i[g]=b}),e}static async buildFile(e){let{devices:i,symbols:o,footprints:r}=e,n="",a={};for(let h in i){a[h]={...i[h]};let f=i[h].attributes.Symbol;f&&(a[h].symbol_type=o[f].docType)}let s={};for(let h in o){s[h]={...o[h]},delete s[h].canvas;let{updateTime:f,version:g,title:b}=o[h],y={docType:"SYMBOL",client:"chameleon-client",uuid:h,updateTime:f,version:g||-1,user:{}},w={title:b,description:"",tags:[],docType:2,source:""};n+=`{"type":"DOCHEAD"}||${JSON.stringify(y)}|
`,n+=`{"type":"META","ticket":1,"id":"META"}||${JSON.stringify(w)}|
`,n+=o[h].canvas+`|
`}let l={};for(let h in r){l[h]={...r[h]},delete l[h].canvas;let{updateTime:f,version:g,title:b}=r[h],y={docType:"FOOTPRINT",client:"chameleon-client",uuid:h,updateTime:f,version:g||-1,user:{}},w={title:b,description:"",tags:[],docType:2,source:""};n+=`{"type":"DOCHEAD"}||${JSON.stringify(y)}|
`,n+=`{"type":"META","ticket":1,"id":"META"}||${JSON.stringify(w)}|
`,n+=r[h].canvas+`|
`}let c=new lZt.default,d=ue.formatDate(new Date,"yyyy-MM-dd"),u={devices:a,symbols:s,footprints:l};c.file("device2.json",JSON.stringify(u,void 0,4)),c.file(`ProLib_${Object.values(i).length}_${d}.elibu`,n.toString());let p=await c.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:9}}),m=`ProLib_${Object.values(i).length}pcs_${d}.elibz2`;return new File([p],m)}static async buildFile2(e){let i=[],{devices:o,symbols:r,footprints:n}=e;for(let a in o){let s={},l={},c={},d="",u=new lZt.default;s[a]={...o[a]};let p=o[a].attributes.Symbol,m=o[a].attributes.Footprint;if(p){l[p]={...r[p]},s[a].symbol_type=r[p].docType,delete l[p].canvas;let{updateTime:b,version:y,title:w}=r[p],x={docType:"SYMBOL",client:"chameleon-client",uuid:p,updateTime:b,version:y||-1,user:{}},S={title:w,description:"",tags:[],docType:2,source:""};d+=`{"type":"DOCHEAD"}||${JSON.stringify(x)}|
`,d+=`{"type":"META","ticket":1,"id":"META"}||${JSON.stringify(S)}|
`,d+=r[p].canvas+`|
`}if(m){c[m]={...n[m]},delete c[m].canvas;let{updateTime:b,version:y,title:w}=n[m],x={docType:"FOOTPRINT",client:"chameleon-client",uuid:m,updateTime:b,version:y||-1,user:{}},S={title:w,description:"",tags:[],docType:2,source:""};d+=`{"type":"DOCHEAD"}||${JSON.stringify(x)}|
`,d+=`{"type":"META","ticket":1,"id":"META"}||${JSON.stringify(S)}|
`,d+=n[m].canvas+`|
`}let h=ue.formatDate(new Date,"yyyy-MM-dd"),f={devices:s,symbols:l,footprints:c};u.file("device2.json",JSON.stringify(f,void 0,4)),u.file(`ProLib_1_${h}.elibu`,d.toString());let g=await u.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:9}});i.push(new File([g],o[a].title+".elibz2"))}return i}};var wcn={"unit(mm)":"mm","unit(inch)":"inch","unit(mil)":"mil"},out=class{static getFrontendDataUnit(){let e=Ai.selectUnitStore.value;return wcn[e]||e}};var Vce=class{static async get(e){return(await C.messageBus.rpcCall("extensionApi/SCH_PrimitiveAttribute_get",e)).message}static async getAllPrimitiveId(e){return e?(await C.messageBus.rpcCall("extensionApi/SCH_PrimitiveAttribute_getAllPrimitiveId",e)).message:[]}static async getAll(e){return e?(await C.messageBus.rpcCall("extensionApi/SCH_PrimitiveAttribute_getAll",e)).message:[]}static async modify(e){let{primitiveId:i}=e;if(i)return(await C.messageBus.rpcCall("extensionApi/SCH_PrimitiveAttribute_modify",e)).message}};var GF=class{static async create(e){if(e.binaryData.startsWith("data:image")){let r=await new B2().compressImageByCanvas(e.binaryData,hV);e.binaryData=r}return(await C.messageBus.rpcCall("extensionApi/SCH_PrimitiveObjectUtil_create",{...e})).message}static async delete(e){return(await C.messageBus.rpcCall("extensionApi/SCH_PrimitiveObjectUtil_delete",{...e})).message}static async modify(e){if(e.data.binaryData&&e.data.binaryData.startsWith("data:image")){let r=await new B2().compressImageByCanvas(e.data.binaryData,hV);e.data.binaryData=r}return(await C.messageBus.rpcCall("extensionApi/SCH_PrimitiveObjectUtil_modify",{...e})).message}static async getByIds(e){return(await C.messageBus.rpcCall("extensionApi/SCH_PrimitiveObjectUtil_getByIds",{...e})).message}static async getAll(e={}){return(await C.messageBus.rpcCall("extensionApi/SCH_PrimitiveObjectUtil_getAll",{...e})).message}static async get(e){return(await C.messageBus.rpcCall("extensionApi/SCH_PrimitiveObjectUtil_get",{...e})).message}static async getAllPrimitiveId(){return(await this.getByIds({primitiveIds:[]})).map(i=>i.globalIndex)}};var Ccn={"-extensionApi":{SYS_FontManager:{getFontsList:B4e.getFontsList,addFont:B4e.addFont,deleteFont:B4e.deleteFont},SYS_FormatConversion:{convertAltiumDesignerLibrariesToEasyEDASingleFile:Uce.convertAltiumDesignerLibrariesToEasyEDASingleFile,convertAltiumDesignerLibrariesToEasyEDAMultiFiles:Uce.convertAltiumDesignerLibrariesToEasyEDAMultiFiles,convertDisaLibrariesToEasyEDASingleFile:Uce.convertDisaLibrariesToEasyEDASingleFile,convertDisaLibrariesToEasyEDAMultiFiles:Uce.convertDisaLibrariesToEasyEDAMultiFiles},SYS_HeaderMenu:{removeSystemHeaderMenuItem:t8e.removeSystemHeaderMenuItem,insertSystemHeaderMenuItem:t8e.insertSystemHeaderMenuItem},SYS_Message:{showFollowMouseTip:s8e.showFollowMouseTip,removeFollowMouseTip:s8e.removeFollowMouseTip},SYS_RightClickMenu:{changeMenu:tut.changeMenu},SYS_Window:{openUI:a8e.openUI,getCurrentTheme:a8e.getCurrentTheme},SCH_Document:{save:xl,importChanges:H4e.importChanges,autoRouting:H4e.autoRouting,autoLayout:H4e.autoLayout},SCH_Netlist:{getNetlist:_ce.getNetlist,setNetlist:_ce.setNetlist},SCH_ManufactureData:{getAssemblyVariantsConfigs:$E.getAssemblyVariantsConfigs,getExportDocumentFile:$E.getExportDocumentFile,getBomFile:$E.getBomFile,getNetlistFile:$E.getNetlistFile,placeComponentsOrder:$E.placeComponentsOrder,placeSmtComponentsOrder:$E.placeSmtComponentsOrder,getBomTemplates:$E.getBomTemplates,uploadBomTemplateFile:$E.uploadBomTemplateFile,getBomTemplateFile:$E.getBomTemplateFile,deleteBomTemplate:$E.deleteBomTemplate},SCH_SelectControl:{getSelectedPrimitives_PrimitiveId:kR.getSelectedPrimitives_PrimitiveId,getSpecifiedPrimitive:kR.getSpecifiedPrimitive,doSelectPrimitives:kR.doSelectPrimitives,getAllSelectedPrimitives_PrimitiveId:kR.getAllSelectedPrimitives_PrimitiveId,getAllSelectedPrimitives:kR.getAllSelectedPrimitives,getObjParams:kR.getObjParams,getCurrentMousePosition:kR.getCurrentMousePosition},SCH_Drc:{check:Hdt.check},SCH_PrimitiveRectangle:{getAllPrimitivesJsonCache:zce.getAllPrimitivesJsonCache,create:zce.create,delete:zce.delete},SCH_PrimitiveComponent3:{placeCbbSchematicPage:Zy.placeCbbSchematicPage,createCbbSymbol:Zy.createCbbSymbol,create:Zy.create,getDeviceData:Zy.getDeviceData,delete:Zy.delete,get:Zy.get,getAll:Zy.getAll,getAllPrimitiveId:Zy.getAllPrimitiveId,modify:Zy.modify,placeComponentWithMouse:Zy.placeComponentWithMouse},SCH_PrimitiveComponent:{create:Zy.create,getDeviceData:Zy.getDeviceData,delete:Zy.delete,get:Zy.get,getAll:Zy.getAll,getAllPrimitiveId:Zy.getAllPrimitiveId,modify:Zy.modify},SCH_PrimitivePolygon:{getAllPrimitiveId:Bce.getAllPrimitiveId,create:Bce.create,delete:Bce.delete},SCH_PrimitiveCircle:{create:mie.create,get:mie.get,delete:mie.delete,getAll:mie.getAll},SCH_PrimitiveArc:{create:pie.create,get:pie.get,delete:pie.delete,getAll:pie.getAll},SCH_PrimitivePin:{getAllPrimitiveId:hie.getAllPrimitiveId,getPinJson:hie.getPinJson,delete:hie.delete,create:hie.create},SCH_Primitive:{getPrimitiveTypeByPrimitiveId:o8e.getPrimitiveTypeByPrimitiveId,getPrimitivesBBox:o8e.getPrimitivesBBox},SCH_PrimitiveAttribute:{get:Vce.get,getAllPrimitiveId:Vce.getAllPrimitiveId,getAll:Vce.getAll,modify:Vce.modify},SCH_PrimitiveObject:{create:GF.create,get:GF.get,delete:GF.delete,modify:GF.modify,getByIds:GF.getByIds,getAll:GF.getAll,getAllPrimitiveId:GF.getAllPrimitiveId},DMT_Board:{createBoard:FL.createBoard,modifyBoardName:FL.modifyBoardName,deleteBoard:FL.deleteBoard,getAllBoardsInfo:FL.getAllBoardsInfo,copyBoard:FL.copyBoard,getCurrentBoardInfo:FL.getCurrentBoardInfo},DMT_Pcb:{createPcb:n9.createPcb,modifyPcbName:n9.modifyPcbName,deletePcb:n9.deletePcb,getAllPcbsInfo:n9.getAllPcbsInfo,copyPcb:n9.copyPcb,getCurrentPcbInfo:n9.getCurrentPcbInfo},SYS_PanelControl:{isLeftPanelLocked:b6.isLeftPanelLocked,isRightPanelLocked:b6.isRightPanelLocked,isBottomPanelLocked:b6.isBottomPanelLocked},DMT_Schematic:{createSchematic:Eg.createSchematic,createSchematicPage:Eg.createSchematicPage,modifySchematicName:Eg.modifyName,modifySchematicPageName:Eg.modifyName,deleteSchematic:Eg.deleteSchematic,deleteSchematicPage:Eg.deleteSchematicPage,copySchematic:Eg.copySchematic,getSchematicInfo:Eg.getSchematicInfo,getSchematicPageInfo:Eg.getSchematicPageInfo,getAllSchematicsInfo:Eg.getAllSchematicsInfo,getAllSchematicPagesInfo:Eg.getAllSchematicPagesInfo,getCurrentSchematicInfo:Eg.getCurrentSchematicInfo,getCurrentSchematicPageInfo:Eg.getCurrentSchematicPageInfo,copySchematicPage:Eg.copySchematicPage,reorderSchematicPages:Eg.reorderSchematicPages,modifySchematicPageTitleBlock:Eg.modifySchematicPageTitleBlock,getCurrentSchematicAllSchematicPagesInfo:Eg.getCurrentSchematicAllSchematicPagesInfo},DMT_Panel:{copyPanel:jF.copyPanel,createPanel:jF.createPanel,deletePanel:jF.deletePanel,getPanelInfo:jF.getPanelInfo,modifyPanelName:jF.modifyPanelName,getAllPanelsInfo:jF.getAllPanelsInfo,getCurrentPanelInfo:jF.getCurrentPanelInfo},DMT_EditorControl:{openDocument:x2.openDocument,closeDocument:x2.closeDocument,activateDocument:x2.activateDocument,createSplitScreen:x2.createSplitScreen,getSplitScreenTree:x2.getSplitScreenTree,openLibraryDocument:x2.openLibraryDocument,activateSplitScreen:x2.activateSplitScreen,getTabsBySplitScreenId:x2.getTabsBySplitScreenId,getSplitScreenIdByTabId:x2.getSplitScreenIdByTabId,moveDocumentToSplitScreen:x2.moveDocumentToSplitScreen,tileAllDocumentToSplitScreen:x2.tileAllDocumentToSplitScreen,mergeAllDocumentFromSplitScreen:x2.mergeAllDocumentFromSplitScreen,zoomToAllPrimitives:x2.zoomToAllPrimitives,zoomToSelectedPrimitives:x2.zoomToSelectedPrimitives,zoomToRegion:x2.zoomToRegion,zoomTo:x2.zoomTo,getCurrentRenderedAreaImage:x2.getCurrentRenderedAreaImage,generateIndicatorMarkers:x2.generateIndicatorMarkers,removeIndicatorMarkers:x2.removeIndicatorMarkers},DMT_Team:{getAllTeamsInfo:F4e.getAllTeamsInfo,getCurrentTeamInfo:F4e.getCurrentTeamInfo,getAllInvolvedTeamInfo:F4e.getAllInvolvedTeamInfo},DMT_Workspace:{toggleToWorkspace:U4e.toggleToWorkspace,getAllWorkspacesInfo:U4e.getAllWorkspacesInfo,getCurrentWorkspaceInfo:U4e.getCurrentWorkspaceInfo},DMT_Project:{openProject:VQ.openProject,createProject:VQ.createProject,getCurrentProjectInfo:VQ.getCurrentProjectInfo,getAllProjectsUuid:VQ.getAllProjectsUuid,moveProjectToFolder:VQ.moveProjectToFolder,getProjectInfo:VQ.getProjectInfo},DMT_Folder:{createFolder:BF.createFolder,modifyFolderName:BF.modifyFolderName,modifyFolderDescription:BF.modifyFolderDescription,moveFolderToFolder:BF.moveFolderToFolder,getAllFoldersUuid:BF.getAllFoldersUuid,getFolderInfo:BF.getFolderInfo,deleteFolder:BF.deleteFolder},DMT_SelectControl:{getCurrentDocumentInfo:Gdt.getCurrentDocumentInfo},LIB_LibrariesList:{getSystemLibraryUuid:UQ.getSystemLibraryUuid,getPersonalLibraryUuid:UQ.getPersonalLibraryUuid,getFavoriteLibraryUuid:UQ.getFavoriteLibraryUuid,getAllLibrariesList:UQ.getAllLibrariesList,getProjectLibraryUuid:UQ.getProjectLibraryUuid,registerExtendLibrary:UQ.registerExtendLibrary},LIB_Device:{create:_F.create,delete:_F.delete,modify:_F.modify,get:_F.get,copy:_F.copy,search:_F.search,getByLcscIds:_F.getByLcscIds},LIB_Symbol:{create:HL.create,delete:HL.delete,modify:HL.modify,get:HL.get,copy:HL.copy,search:HL.search,openInEditor:HL.openInEditor,updateDocumentSource:HL.updateDocumentSource,getRenderImage:HL.getRenderImage},LIB_Footprint:{create:a9.create,delete:a9.delete,modify:a9.modify,get:a9.get,copy:a9.copy,search:a9.search,openInEditor:a9.openInEditor,updateDocumentSource:a9.updateDocumentSource,getRenderImage:a9.getRenderImage},LIB_Cbb:{create:RR.create,delete:RR.delete,modify:RR.modify,get:RR.get,copy:RR.copy,search:RR.search,openProjectInEditor:RR.openProjectInEditor,openSymbolInEditor:RR.openSymbolInEditor},LIB_PanelLibrary:{create:HF.create,delete:HF.delete,modify:HF.modify,get:HF.get,copy:HF.copy,search:HF.search,openInEditor:HF.openInEditor},LIB_3DModel:{create:WQ.create,delete:WQ.delete,modify:WQ.modify,get:WQ.get,copy:WQ.copy,search:WQ.search},LIB_Classification:{createPrimary:km.createPrimary,createSecondary:km.createSecondary,getIndexByName:km.getIndexByName,getNameByUuid:km.getNameByUuid,getAllClassificationTree:km.getAllClassificationTree,deleteByUuid:km.deleteByUuid,deleteByIndex:km.deleteByIndex},LIB_SelectControl:{getBottomComponentLibraryCurrentRowInfo:iut.getBottomComponentLibraryCurrentRowInfo},SYS_Log:{sort:lie.sort,find:lie.find},SYS_ShortcutKey:{getShortcutKeys:V4e.getShortcutKeys,registerShortcutKey:V4e.registerShortcutKey,unregisterShortcutKey:V4e.unregisterShortcutKey},SYS_FileSystem:{openReadFileDialog:jz.openReadFileDialog,saveFile:jz.saveFile,getEdaPath:jz.getEdaPath,saveFileToFileSystem:jz.saveFileToFileSystem},SYS_Tool:{netlistComparison:Xdt.netlistComparison},SYS_Unit:{getFrontendDataUnit:out.getFrontendDataUnit},SYS_Setting:{restoreDefault:$dt.restoreDefault},SYS_FileManager:{getProjectFile:y6.getProjectFile,getDocumentFile:y6.getDocumentFile,getDocumentSource:y6.getDocumentSource,setDocumentSource:y6.setDocumentSource,getDeviceFileByDeviceUuid:y6.getDeviceFileByDeviceUuid,getFootprintFileByFootprintUuid:y6.getFootprintFileByFootprintUuid,getCbbFileByCbbUuid:y6.getCbbFileByCbbUuid,getPanelLibraryFileByPanelLibraryUuid:y6.getPanelLibraryFileByPanelLibraryUuid,getSymbolFileBySymbolUuid:y6.getSymbolFileBySymbolUuid,importProjectByProjectFile:y6.importProjectByProjectFile,extractProjectInfo:y6.extractProjectInfo,extractLibInfo:y6.extractLibInfo},SYS_IFrame:{openIFrame:jce.openIFrame,closeIFrame:jce.closeIFrame,hideIFrame:jce.hideIFrame,showIFrame:jce.showIFrame},SYS_Environment:{setKeepProjectHasOnlyOneBoard:eut.setKeepProjectHasOnlyOneBoard},PCB_Primitive:{getPrimitivesBBox:qdt.getPrimitivesBBox},PCB_PrimitiveString:{create:fie.create,delete:fie.delete,modify:fie.modify,getByIds:fie.getByIds,getAll:fie.getAll},PCB_PrimitiveVia:{create:HQ.create,delete:HQ.delete,modify:HQ.modify,getByIds:HQ.getByIds,getAll:HQ.getAll,getAdjacentPrimitives:HQ.getAdjacentPrimitives},PCB_PrimitiveLine:{create:zF.create,delete:zF.delete,modify:zF.modify,getByIds:zF.getByIds,getAll:zF.getAll,getAdjacentPrimitives:zF.getAdjacentPrimitives,getEntireTrack:zF.getEntireTrack},PCB_PrimitiveArc:{create:FF.create,delete:FF.delete,modify:FF.modify,getByIds:FF.getByIds,getAll:FF.getAll,getAdjacentPrimitives:FF.getAdjacentPrimitives,getEntireTrack:FF.getEntireTrack},PCB_PrimitivePolyline:{create:GQ.create,delete:GQ.delete,modify:GQ.modify,getByIds:GQ.getByIds,getAll:GQ.getAll,convertToType:GQ.convertToType},PCB_PrimitiveComponent:{create:UF.create,delete:UF.delete,modify:UF.modify,getByIds:UF.getByIds,getAll:UF.getAll,getAllPinsByPrimitiveId:UF.getAllPinsByPrimitiveId,setAttribute:UF.setAttribute},PCB_PrimitiveAttribute:{delete:Fce.delete,modify:Fce.modify,getByIds:Fce.getByIds,getAll:Fce.getAll},PCB_Drc:{check:Vl.check,getCurrentRuleConfigurationName:Vl.getCurrentRuleConfigurationName,getCurrentRuleConfiguration:Vl.getCurrentRuleConfiguration,getRuleConfiguration:Vl.getRuleConfiguration,getAllRuleConfigurations:Vl.getAllRuleConfigurations,saveRuleConfiguration:Vl.saveRuleConfiguration,renameRuleConfiguration:Vl.renameRuleConfiguration,deleteRuleConfiguration:Vl.deleteRuleConfiguration,getDefaultRuleConfigurationName:Vl.getDefaultRuleConfigurationName,setAsDefaultRuleConfiguration:Vl.setAsDefaultRuleConfiguration,overwriteCurrentRuleConfiguration:Vl.overwriteCurrentRuleConfiguration,getNetRules:Vl.getNetRules,overwriteNetRules:Vl.overwriteNetRules,getNetByNetRules:Vl.getNetByNetRules,overwriteNetByNetRules:Vl.overwriteNetByNetRules,getRegionRules:Vl.getRegionRules,overwriteRegionRules:Vl.overwriteRegionRules,createNetClass:Vl.createNetClass,deleteNetClass:Vl.deleteNetClass,modifyNetClassName:Vl.modifyNetClassName,addNetToNetClass:Vl.addNetToNetClass,removeNetFromNetClass:Vl.removeNetFromNetClass,getAllNetClasses:Vl.getAllNetClasses,createDifferentialPair:Vl.createDifferentialPair,deleteDifferentialPair:Vl.deleteDifferentialPair,modifyDifferentialPairName:Vl.modifyDifferentialPairName,modifyDifferentialPairPositiveNet:Vl.modifyDifferentialPairPositiveNet,modifyDifferentialPairNegativeNet:Vl.modifyDifferentialPairNegativeNet,getAllDifferentialPairs:Vl.getAllDifferentialPairs,createEqualLengthNetGroup:Vl.createEqualLengthNetGroup,deleteEqualLengthNetGroup:Vl.deleteEqualLengthNetGroup,modifyEqualLengthNetGroupName:Vl.modifyEqualLengthNetGroupName,addNetToEqualLengthNetGroup:Vl.addNetToEqualLengthNetGroup,removeNetFromEqualLengthNetGroup:Vl.removeNetFromEqualLengthNetGroup,getAllEqualLengthNetGroups:Vl.getAllEqualLengthNetGroups,createPadPairGroup:Vl.createPadPairGroup,deletePadPairGroup:Vl.deletePadPairGroup,modifyPadPairGroupName:Vl.modifyPadPairGroupName,addPadPairToPadPairGroup:Vl.addPadPairToPadPairGroup,removePadPairFromPadPairGroup:Vl.removePadPairFromPadPairGroup,getAllPadPairGroups:Vl.getAllPadPairGroups,getPadPairGroupMinWireLength:Vl.getPadPairGroupMinWireLength},PCB_Document:{getAllPCBTabData:bb.getAllPCBTabData,importChanges:bb.importChanges,importAutoRouteSesFile:bb.importAutoRouteSesFile,importAutoRouteJsonFile:bb.importAutoRouteJsonFile,importAutoLayoutJsonFile:bb.importAutoLayoutJsonFile,save:bb.save,getRatlineStatus:bb.getRatlineStatus,setRatlineStatus:bb.setRatlineStatus,convertCanvasOriginToDataOrigin:bb.convertCanvasOriginToDataOrigin,convertDataOriginToCanvasOrigin:bb.convertDataOriginToCanvasOrigin,getCanvasOrigin:bb.getCanvasOrigin,setCanvasOrigin:bb.setCanvasOrigin,navigateToCoordinates:bb.navigateToCoordinates,navigateToRegion:bb.navigateToRegion,getPrimitivesInRegion:bb.getPrimitivesInRegion,getPrimitiveAtPoint:bb.getPrimitiveAtPoint,zoomToBoardOutline:bb.zoomToBoardOutline,getCurrentFilterConfiguration:bb.getCurrentFilterConfiguration},PCB_PrimitivePad:{create:YQ.create,delete:YQ.delete,modify:YQ.modify,getByIds:YQ.getByIds,getAll:YQ.getAll,getConnectedPrimitives:YQ.getConnectedPrimitives},PCB_PrimitiveImage:{create:cie.create,delete:cie.delete,modify:cie.modify,getByIds:cie.getByIds,getAll:cie.getAll},PCB_PrimitiveObject:{create:uie.create,delete:uie.delete,modify:uie.modify,getByIds:uie.getByIds,getAll:uie.getAll},PCB_PrimitiveDimension:{create:die.create,delete:die.delete,modify:die.modify,getByIds:die.getByIds,getAll:die.getAll},PCB_SelectControl:{getAllSelectedPrimitiveIds:VF.getAllSelectedPrimitiveIds,getAllSelectedPrimitives:VF.getAllSelectedPrimitives,doSelectPrimitives:VF.doSelectPrimitives,doCrossProbeSelect:VF.doCrossProbeSelect,doCrossProbeSelectByObject:VF.doCrossProbeSelectByObject,clearSelected:VF.clearSelected,getCurrentMousePosition:VF.getCurrentMousePosition},PCB_Layer:{selectLayerById:VM.selectLayerById,setLayerStatus:VM.setLayerStatus,setTheNumberOfCopperLayers:VM.setTheNumberOfCopperLayers,setLayerColorConfiguration:VM.setLayerColorConfiguration,setInactiveLayerTransparency:VM.setInactiveLayerTransparency,setPcbType:VM.setPcbType,addCustomLayer:VM.addCustomLayer,removeLayer:VM.removeLayer,modifyLayer:VM.modifyLayer,getAllLayers:VM.getAllLayers,setInactiveLayerDisplayMode:VM.setInactiveLayerDisplayMode,getTheNumberOfCopperLayers:VM.getTheNumberOfCopperLayers},PCB_Net:{getAllNets:Wx.getAllNets,getNet:Wx.getNet,getAllNetName:Wx.getAllNetName,getNetLength:Wx.getNetLength,getAllPrimitivesByNet:Wx.getAllPrimitivesByNet,selectNet:Wx.selectNet,unselectNet:Wx.unselectNet,unselectAllNets:Wx.unselectAllNets,highlightNet:Wx.highlightNet,unhighlightNet:Wx.unhighlightNet,unhighlightAllNets:Wx.unhighlightAllNets,getNetlist:Wx.getNetlist,setNetlist:Wx.setNetlist,setNetColor:Wx.setNetColor},PCB_ManufactureData:{getGerberFile:Xu.getGerberFile,get3DFile:Xu.get3DFile,get3DShellFile:Xu.get3DShellFile,getOrder3DShellFile:Xu.getOrder3DShellFile,getOrderPCB:Xu.getOrderPCB,getOrderSMT:Xu.getOrderSMT,getOrderComponents:Xu.getOrderComponents,getPickAndPlaceFile:Xu.getPickAndPlaceFile,getBomFile:Xu.getBomFile,getBomDefaultParams:Xu.getBomDefaultParams,getTestPointFile:Xu.getTestPointFile,getDxfFile:Xu.getDxfFile,getOpenDatabaseDoublePlusFile:Xu.getOpenDatabaseDoublePlusFile,getDsnFile:Xu.getDsnFile,getPcbInfoFile:Xu.getPcbInfoFile,getFlyingProbeTestFile:Xu.getFlyingProbeTestFile,getAutoRouteJson:Xu.getAutoRouteJson,getAutoRouteJsonForJR:Xu.getAutoRouteJsonForJR,getAutoLayoutJson:Xu.getAutoLayoutJson,getIPCFile:Xu.getIPCFile,getADFile:Xu.getADFile,getPADSFile:Xu.getPADSFile,getPDFFile:Xu.getPDFFile,getNetlistFile:Xu.getNetlistFile,getBomTemplates:Xu.getBomTemplates,deleteBomTemplate:Xu.deleteBomTemplate,uploadBomTemplateFile:Xu.uploadBomTemplateFile,getBomTemplateFile:Xu.getBomTemplateFile,getInteractiveBomFile:Xu.getInteractiveBomFile,getManufactureData:Xu.getManufactureData},PCB_MathPolygon:{convertImageToComplexPolygon:n8e.convertImageToComplexPolygon,getCenter:n8e.getCenter},PCB_PrimitiveRegion:{create:KQ.create,delete:KQ.delete,modify:KQ.modify,getByIds:KQ.getByIds,getAll:KQ.getAll,convertToType:KQ.convertToType},PCB_PrimitiveFill:{create:QQ.create,delete:QQ.delete,modify:QQ.modify,getByIds:QQ.getByIds,getAll:QQ.getAll,convertToType:QQ.convertToType},PCB_PrimitivePour:{create:_R.create,delete:_R.delete,modify:_R.modify,getByIds:_R.getByIds,getCopperRegion:_R.getCopperRegion,rebuildCopperRegion:_R.rebuildCopperRegion,getAll:_R.getAll,convertToType:_R.convertToType},PCB_PrimitivePoured:{delete:gie.delete,getAll:gie.getAll,deletePourFills:gie.deletePourFills,convertToFill:gie.convertToFill,addSolderMaskFill:gie.addSolderMaskFill},PNL_Document:{save:Qdt.save}},extensionApi:{SYS_MessageBox:{showInformationMessage:nie.showInformationMessage,showConfirmationMessage:nie.showConfirmationMessage,showInputDialog:nie.showInputDialog,showSelectDialog:nie.showSelectDialog,insertScriptToDialog:nie.insertScriptToDialog},SCH_PrimitiveWire:{create:({data:t,getter:e})=>{w6.create(t,"wire",e)},modify:({data:t,getter:e})=>{w6.modify(t,"wire",e)},delete:({data:t,getter:e})=>{e(w6.delete(t))},get:({data:t,getter:e})=>{e(w6.get(t))},getAll:({data:t,getter:e})=>{e(w6.getAll("wire",t))},getAllPrimitiveId:({data:t,getter:e})=>{e(w6.getAllPrimitiveId("wire",t))}},SCH_PrimitiveBus:{create:({data:t,getter:e})=>{w6.create(t,"bus",e)},modify:({data:t,getter:e})=>{w6.modify(t,"bus",e)},delete:({data:t,getter:e})=>{e(w6.delete(t))},get:({data:t,getter:e})=>{e(w6.get(t))},getAll:({data:t,getter:e})=>{e(w6.getAll("bus",t))},getAllPrimitiveId:({data:t,getter:e})=>{e(w6.getAllPrimitiveId("bus",t))}},SYS_LoadingAndProgressBar:{showProgressBar:sie.showProgressBar.bind(sie),destroyProgressBar:sie.destroyProgressBar,showLoading:sie.showLoading,destroyLoading:sie.destroyLoading},SCH_PrimitiveRectangle:{modify:zce.modify},SCH_PrimitivePolygon:{modify:Bce.modify},SCH_PrimitivePin:{modify:hie.modify},SCH_PrimitiveCircle:{modify:mie.modify},SCH_PrimitiveArc:{modify:pie.modify},SYS_PanelControl:{openLeftPanel:b6.openLeftPanel,closeLeftPanel:b6.closeLeftPanel,toggleLeftPanelLockState:b6.toggleLeftPanelLockState,openRightPanel:b6.openRightPanel,closeRightPanel:b6.closeRightPanel,toggleRightPanelLockState:b6.toggleRightPanelLockState,openBottomPanel:b6.openBottomPanel,closeBottomPanel:b6.closeBottomPanel,toggleBottomPanelLockState:b6.toggleBottomPanelLockState},SYS_Log:{clear:lie.clear,add:lie.add,export:lie.export},SCH_SelectControl:{clearSelected:kR.clearSelected}}};function szo(t,e){if(ue.isFn(e)){let i=t.join(".");i.startsWith("-")?C.extensionApiMessageBus2.rpcService(i.substring(1),e):C.extensionApiMessageBus2.subscribe(i,e);return}if(ue.isPlainObject(e))for(let i in e)szo([...t,i],e[i])}async function lzo(){let t=!!window.frameElement;C.extensionApiMessageBus2=window._MSG_BUS2_EXTAPI_,C.messageBus.subscribe("extensionApi.userScript",e=>{C.extensionApiMessageBus2.publish("extensionApi.userScript",{operation:"run",userScript:e})}),C.messageBus.subscribe("setUserInfo",e=>{C.extensionApiMessageBus2.rpcCall("user.setUserInfo",e)}),C.messageBus.subscribe("clearUserInfo",()=>{C.extensionApiMessageBus2.rpcCall("user.clearUserInfo")}),C.messageBus.subscribe("updateLanguageSetting",({lang:e})=>{C.extensionApiMessageBus2.rpcCall("user.changeLanguage")}),C.messageBus.subscribe("pcb/updateAutoRouterRule",({config:e})=>{C.extensionApiMessageBus2.rpcCall("extensionApi.PCB_ManufactureData.updateAutoRouteRule",e)}),C.messageBus.subscribe("cross-window-top",e=>{C.extensionApiMessageBus2.publish("extensionApi.PCB_Event.crossProbeSelectEvent",structuredClone(e))}),C.messageBus.subscribe("leftTree-net",e=>{C.extensionApiMessageBus2.publish("extensionApi.PCB_Event.netEvent",structuredClone(e))}),C.messageBus.subscribe("cross-window",e=>{let i;e.cmd==="crossProbeBetweenWindows"||e.cmd==="crossProbe"?i="selected":e.cmd==="clearSelected"&&(i="clearSelected"),i&&(C.extensionApiMessageBus2.publish("extensionApi.PCB_Event.mouseEvent",i),C.extensionApiMessageBus2.publish("extensionApi.SCH_Event.mouseEvent",i))}),C.extensionApiMessageBus2.subscribe("/pro-ui/topMenu/advanced/scriptListMenu",e=>{Rc.setScriptListMenu(e)}),C.extensionApiMessageBus2.subscribe("/pro-ui/topMenu/advanced/extensionListMenu",e=>{Rc.updateExtensionListMenu(e)}),C.extensionApiMessageBus2.subscribe("extensionApi.unloadExtension",({extensionUuid:e,needRemove:i})=>{var n,a,s,l,c;(n=i==null?void 0:i.registeredExtendLibrary)==null||n.forEach(d=>{C.extendLibStore.manager.deleteLib(d.libraryUuid)});let o=(a=vB)==null?void 0:a.extensionUuidToMenuIdsStore.get(e);o==null||o.forEach(d=>{var u,p;(u=vB)!=null&&u.rightContextMenuStore.has(d)&&((p=vB)==null||p.rightContextMenuStore.delete(d))}),(s=vB)==null||s.extensionUuidToMenuIdsStore.delete(e);let r=(l=aie)==null?void 0:l.extensionUuidToMenuIdsStore.get(e);r==null||r.forEach(d=>{var u,p,m;if((u=aie)!=null&&u.headerContextMenuStore.has(d)){let h=(p=aie)==null?void 0:p.headerContextMenuStore.get(d),f=Yd.find(g=>g.id===h.id);f.menuItems.defaultConfig=h.menuItems.defaultConfig,f.menuItems.modeConfig=h.menuItems.modeConfig,(m=aie)==null||m.headerContextMenuStore.delete(d)}}),(c=aie)==null||c.extensionUuidToMenuIdsStore.delete(e)}),szo([],Ccn)}function cZt(){let e=r();if(_t||e)return;let i=window.document.getElementsByTagName("head")[0];if(Xr)o(`
            var _hmt = _hmt || [];
            (function() {
              var hm = document.createElement("script");
			  hm.async = true
            \xA0 hm.src = "https://hm.baidu.com/hm.js?92ef6b788e22f9a4dc0ae93d68bb2193";
            \xA0 var s = document.getElementsByTagName("script")[0];\xA0
            \xA0 s.parentNode.insertBefore(hm, s);
            })();
        `);else if(vo){let a=o(`
        window.dataLayer = window.dataLayer || [];
        \xA0 function gtag(){dataLayer.push(arguments);}
        \xA0 gtag('js', new Date());
        \xA0 gtag('config', 'G-SBSVCM6H64');
        `);a.onload=function(){let s=document.createElement("script");s.async=!0,s.src="https://www.googletagmanager.com/gtag/js?id=G-SBSVCM6H64",i.appendChild(s)}}function o(n){let a=document.createElement("script"),s=new Blob([n],{type:"text/javascript"});return a.src=URL.createObjectURL(s),i.appendChild(a),a}function r(){let n=window.location.host;return["devpro","localpro","dev-pro","fat-pro","fat2-pro"].some(l=>n.includes(l))}}window.UI_INSTANCE=!0;VRo();ZBo();jBo();lzo();cZt();})();
/*! Bundled license information:

jquery/dist/jquery.js:
  (*!
   * jQuery JavaScript Library v3.7.1
   * https://jquery.com/
   *
   * Copyright OpenJS Foundation and other contributors
   * Released under the MIT license
   * https://jquery.org/license
   *
   * Date: 2023-08-28T13:37Z
   *)

react/cjs/react.production.min.js:
  (**
   * @license React
   * react.production.min.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   *)

is-buffer/index.js:
  (*!
   * Determine if an object is a Buffer
   *
   * @author   Feross Aboukhadijeh <https://feross.org>
   * @license  MIT
   *)

jszip/dist/jszip.min.js:
  (*!
  
  JSZip v3.10.1 - A JavaScript class for generating and reading zip files
  <http://stuartk.com/jszip>
  
  (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
  Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
  
  JSZip uses the library pako released under the MIT license :
  https://github.com/nodeca/pako/blob/main/LICENSE
  *)

scheduler/cjs/scheduler.production.min.js:
  (**
   * @license React
   * scheduler.production.min.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   *)

react-dom/cjs/react-dom.production.min.js:
  (**
   * @license React
   * react-dom.production.min.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   *)

react/cjs/react-jsx-runtime.production.min.js:
  (**
   * @license React
   * react-jsx-runtime.production.min.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   *)

ieee754/index.js:
  (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)

buffer/index.js:
  (*!
   * The buffer module from node.js, for the browser.
   *
   * @author   Feross Aboukhadijeh <https://feross.org>
   * @license  MIT
   *)

exceljs/dist/exceljs.min.js:
  (*! ExcelJS 19-10-2023 *)
  (*!
   * The buffer module from node.js, for the browser.
   *
   * @author   Feross Aboukhadijeh <https://feross.org>
   * @license  MIT
   *)
  (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
  (*!
  
  JSZip v3.10.1 - A JavaScript class for generating and reading zip files
  <http://stuartk.com/jszip>
  
  (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
  Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
  
  JSZip uses the library pako released under the MIT license :
  https://github.com/nodeca/pako/blob/main/LICENSE
  *)
  (*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
  (**
   * Character classes and associated utilities for the 5th edition of XML 1.0.
   *
   * @author Louis-Dominique Dubeau
   * @license MIT
   * @copyright Louis-Dominique Dubeau
   *)
  (**
   * Character classes and associated utilities for the 2nd edition of XML 1.1.
   *
   * @author Louis-Dominique Dubeau
   * @license MIT
   * @copyright Louis-Dominique Dubeau
   *)
  (**
   * Character class utilities for XML NS 1.0 edition 3.
   *
   * @author Louis-Dominique Dubeau
   * @license MIT
   * @copyright Louis-Dominique Dubeau
   *)

safe-buffer/index.js:
  (*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)

sax/lib/sax.js:
  (*! http://mths.be/fromcodepoint v0.1.0 by @mathias *)

lc-editor-common/dist/index.js:
  (*! Bundled license information:
  
  lc-protocol/dist/index.js:
    (*! Bundled license information:
    
    crypto-js/ripemd160.js:
      (** @preserve
      	(c) 2012 by Cédric Mesnil. All rights reserved.
      
      	Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
      
      	    - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
      	    - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
      
      	THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
      	*)
    
    crypto-js/mode-ctr-gladman.js:
      (** @preserve
       * Counter block mode compatible with  Dr Brian Gladman fileenc.c
       * derived from CryptoJS.mode.CTR
       * Jan Hruby jhruby.web@gmail.com
       *)
    *)
  *)

lc-protocol/dist/index.js:
  (*! Bundled license information:
  
  crypto-js/ripemd160.js:
    (** @preserve
    	(c) 2012 by Cédric Mesnil. All rights reserved.
    
    	Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
    
    	    - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
    	    - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
    
    	THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    	*)
  
  crypto-js/mode-ctr-gladman.js:
    (** @preserve
     * Counter block mode compatible with  Dr Brian Gladman fileenc.c
     * derived from CryptoJS.mode.CTR
     * Jan Hruby jhruby.web@gmail.com
     *)
  *)

@jlc/ai-livechat-sdk/dist/index.js:
  (*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE *)
*/
//# sourceMappingURL=https://modules.lceda.cn/pro-ui/3.2.131.59e7f548/js/ui.js.map
